@xmtp/wasm-bindings 0.0.7 → 0.0.8
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/dist/bindings_wasm.d.ts +261 -602
- package/dist/bindings_wasm.js +1176 -1034
- package/dist/bindings_wasm_bg.wasm +0 -0
- package/dist/bindings_wasm_bg.wasm.d.ts +247 -245
- package/package.json +1 -1
- /package/dist/snippets/{diesel-wasm-sqlite-36e85657e47f3be3 → sqlite-web-90f8afa7b0cd2303}/src/js/sqlite3-diesel.js +0 -0
- /package/dist/snippets/{diesel-wasm-sqlite-36e85657e47f3be3 → sqlite-web-90f8afa7b0cd2303}/src/js/sqlite3-opfs-async-proxy.js +0 -0
- /package/dist/snippets/{diesel-wasm-sqlite-36e85657e47f3be3 → sqlite-web-90f8afa7b0cd2303}/src/js/sqlite3.wasm +0 -0
package/dist/bindings_wasm.js
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { SQLite } from './snippets/
|
|
1
|
+
import { SQLite } from './snippets/sqlite-web-90f8afa7b0cd2303/src/js/sqlite3-diesel.js';
|
|
2
2
|
|
|
3
3
|
let wasm;
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
|
|
5
|
+
let WASM_VECTOR_LEN = 0;
|
|
8
6
|
|
|
9
7
|
let cachedUint8ArrayMemory0 = null;
|
|
10
8
|
|
|
@@ -15,26 +13,6 @@ function getUint8ArrayMemory0() {
|
|
|
15
13
|
return cachedUint8ArrayMemory0;
|
|
16
14
|
}
|
|
17
15
|
|
|
18
|
-
function getStringFromWasm0(ptr, len) {
|
|
19
|
-
ptr = ptr >>> 0;
|
|
20
|
-
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
function isLikeNone(x) {
|
|
24
|
-
return x === undefined || x === null;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
let cachedDataViewMemory0 = null;
|
|
28
|
-
|
|
29
|
-
function getDataViewMemory0() {
|
|
30
|
-
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
31
|
-
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
32
|
-
}
|
|
33
|
-
return cachedDataViewMemory0;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
let WASM_VECTOR_LEN = 0;
|
|
37
|
-
|
|
38
16
|
const cachedTextEncoder = (typeof TextEncoder !== 'undefined' ? new TextEncoder('utf-8') : { encode: () => { throw Error('TextEncoder not available') } } );
|
|
39
17
|
|
|
40
18
|
const encodeString = (typeof cachedTextEncoder.encodeInto === 'function'
|
|
@@ -89,6 +67,74 @@ function passStringToWasm0(arg, malloc, realloc) {
|
|
|
89
67
|
return ptr;
|
|
90
68
|
}
|
|
91
69
|
|
|
70
|
+
let cachedDataViewMemory0 = null;
|
|
71
|
+
|
|
72
|
+
function getDataViewMemory0() {
|
|
73
|
+
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || (cachedDataViewMemory0.buffer.detached === undefined && cachedDataViewMemory0.buffer !== wasm.memory.buffer)) {
|
|
74
|
+
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
75
|
+
}
|
|
76
|
+
return cachedDataViewMemory0;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available') } } );
|
|
80
|
+
|
|
81
|
+
if (typeof TextDecoder !== 'undefined') { cachedTextDecoder.decode(); };
|
|
82
|
+
|
|
83
|
+
function getStringFromWasm0(ptr, len) {
|
|
84
|
+
ptr = ptr >>> 0;
|
|
85
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
function addToExternrefTable0(obj) {
|
|
89
|
+
const idx = wasm.__externref_table_alloc();
|
|
90
|
+
wasm.__wbindgen_export_5.set(idx, obj);
|
|
91
|
+
return idx;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
function handleError(f, args) {
|
|
95
|
+
try {
|
|
96
|
+
return f.apply(this, args);
|
|
97
|
+
} catch (e) {
|
|
98
|
+
const idx = addToExternrefTable0(e);
|
|
99
|
+
wasm.__wbindgen_exn_store(idx);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
function isLikeNone(x) {
|
|
104
|
+
return x === undefined || x === null;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
const CLOSURE_DTORS = (typeof FinalizationRegistry === 'undefined')
|
|
108
|
+
? { register: () => {}, unregister: () => {} }
|
|
109
|
+
: new FinalizationRegistry(state => {
|
|
110
|
+
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b)
|
|
111
|
+
});
|
|
112
|
+
|
|
113
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
114
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
115
|
+
const real = (...args) => {
|
|
116
|
+
// First up with a closure we increment the internal reference
|
|
117
|
+
// count. This ensures that the Rust closure environment won't
|
|
118
|
+
// be deallocated while we're invoking it.
|
|
119
|
+
state.cnt++;
|
|
120
|
+
const a = state.a;
|
|
121
|
+
state.a = 0;
|
|
122
|
+
try {
|
|
123
|
+
return f(a, state.b, ...args);
|
|
124
|
+
} finally {
|
|
125
|
+
if (--state.cnt === 0) {
|
|
126
|
+
wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
|
|
127
|
+
CLOSURE_DTORS.unregister(state);
|
|
128
|
+
} else {
|
|
129
|
+
state.a = a;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
real.original = state;
|
|
134
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
135
|
+
return real;
|
|
136
|
+
}
|
|
137
|
+
|
|
92
138
|
function debugString(val) {
|
|
93
139
|
// primitive types
|
|
94
140
|
const type = typeof val;
|
|
@@ -130,7 +176,7 @@ function debugString(val) {
|
|
|
130
176
|
// Test for built-in
|
|
131
177
|
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
|
132
178
|
let className;
|
|
133
|
-
if (builtInMatches.length > 1) {
|
|
179
|
+
if (builtInMatches && builtInMatches.length > 1) {
|
|
134
180
|
className = builtInMatches[1];
|
|
135
181
|
} else {
|
|
136
182
|
// Failed to match the standard '[object ClassName]'
|
|
@@ -154,61 +200,37 @@ function debugString(val) {
|
|
|
154
200
|
return className;
|
|
155
201
|
}
|
|
156
202
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
// First up with a closure we increment the internal reference
|
|
167
|
-
// count. This ensures that the Rust closure environment won't
|
|
168
|
-
// be deallocated while we're invoking it.
|
|
169
|
-
state.cnt++;
|
|
170
|
-
const a = state.a;
|
|
171
|
-
state.a = 0;
|
|
172
|
-
try {
|
|
173
|
-
return f(a, state.b, ...args);
|
|
174
|
-
} finally {
|
|
175
|
-
if (--state.cnt === 0) {
|
|
176
|
-
wasm.__wbindgen_export_3.get(state.dtor)(a, state.b);
|
|
177
|
-
CLOSURE_DTORS.unregister(state);
|
|
178
|
-
} else {
|
|
179
|
-
state.a = a;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
};
|
|
183
|
-
real.original = state;
|
|
184
|
-
CLOSURE_DTORS.register(real, state, state);
|
|
185
|
-
return real;
|
|
186
|
-
}
|
|
187
|
-
function __wbg_adapter_46(arg0, arg1) {
|
|
188
|
-
wasm._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__ha602f13c6f6f57bd(arg0, arg1);
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
function __wbg_adapter_49(arg0, arg1, arg2) {
|
|
192
|
-
wasm.closure2327_externref_shim(arg0, arg1, arg2);
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
function takeFromExternrefTable0(idx) {
|
|
196
|
-
const value = wasm.__wbindgen_export_2.get(idx);
|
|
197
|
-
wasm.__externref_table_dealloc(idx);
|
|
198
|
-
return value;
|
|
203
|
+
function getArrayJsValueFromWasm0(ptr, len) {
|
|
204
|
+
ptr = ptr >>> 0;
|
|
205
|
+
const mem = getDataViewMemory0();
|
|
206
|
+
const result = [];
|
|
207
|
+
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
208
|
+
result.push(wasm.__wbindgen_export_5.get(mem.getUint32(i, true)));
|
|
209
|
+
}
|
|
210
|
+
wasm.__externref_drop_slice(ptr, len);
|
|
211
|
+
return result;
|
|
199
212
|
}
|
|
200
213
|
|
|
201
|
-
function
|
|
202
|
-
const
|
|
203
|
-
|
|
204
|
-
|
|
214
|
+
function passArrayJsValueToWasm0(array, malloc) {
|
|
215
|
+
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
216
|
+
const mem = getDataViewMemory0();
|
|
217
|
+
for (let i = 0; i < array.length; i++) {
|
|
218
|
+
mem.setUint32(ptr + 4 * i, addToExternrefTable0(array[i]), true);
|
|
219
|
+
}
|
|
220
|
+
WASM_VECTOR_LEN = array.length;
|
|
221
|
+
return ptr;
|
|
205
222
|
}
|
|
206
223
|
|
|
207
224
|
function _assertClass(instance, klass) {
|
|
208
225
|
if (!(instance instanceof klass)) {
|
|
209
226
|
throw new Error(`expected instance of ${klass.name}`);
|
|
210
227
|
}
|
|
211
|
-
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
function takeFromExternrefTable0(idx) {
|
|
231
|
+
const value = wasm.__wbindgen_export_5.get(idx);
|
|
232
|
+
wasm.__externref_table_dealloc(idx);
|
|
233
|
+
return value;
|
|
212
234
|
}
|
|
213
235
|
/**
|
|
214
236
|
* @param {string} host
|
|
@@ -240,15 +262,6 @@ export function createClient(host, inbox_id, account_address, db_path, encryptio
|
|
|
240
262
|
return ret;
|
|
241
263
|
}
|
|
242
264
|
|
|
243
|
-
function passArrayJsValueToWasm0(array, malloc) {
|
|
244
|
-
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
245
|
-
const mem = getDataViewMemory0();
|
|
246
|
-
for (let i = 0; i < array.length; i++) {
|
|
247
|
-
mem.setUint32(ptr + 4 * i, addToExternrefTable0(array[i]), true);
|
|
248
|
-
}
|
|
249
|
-
WASM_VECTOR_LEN = array.length;
|
|
250
|
-
return ptr;
|
|
251
|
-
}
|
|
252
265
|
/**
|
|
253
266
|
* @param {string} host
|
|
254
267
|
* @param {string} account_address
|
|
@@ -302,61 +315,126 @@ export function verifySignedWithPublicKey(signature_text, signature_bytes, publi
|
|
|
302
315
|
}
|
|
303
316
|
}
|
|
304
317
|
|
|
305
|
-
function
|
|
306
|
-
|
|
307
|
-
const mem = getDataViewMemory0();
|
|
308
|
-
const result = [];
|
|
309
|
-
for (let i = ptr; i < ptr + 4 * len; i += 4) {
|
|
310
|
-
result.push(wasm.__wbindgen_export_2.get(mem.getUint32(i, true)));
|
|
311
|
-
}
|
|
312
|
-
wasm.__externref_drop_slice(ptr, len);
|
|
313
|
-
return result;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
function handleError(f, args) {
|
|
317
|
-
try {
|
|
318
|
-
return f.apply(this, args);
|
|
319
|
-
} catch (e) {
|
|
320
|
-
const idx = addToExternrefTable0(e);
|
|
321
|
-
wasm.__wbindgen_exn_store(idx);
|
|
322
|
-
}
|
|
318
|
+
function __wbg_adapter_46(arg0, arg1, arg2) {
|
|
319
|
+
wasm.closure2502_externref_shim(arg0, arg1, arg2);
|
|
323
320
|
}
|
|
324
321
|
|
|
325
|
-
function
|
|
326
|
-
|
|
327
|
-
wasm.closure3395_externref_shim(arg0, arg1, arg2, arg3);
|
|
322
|
+
function __wbg_adapter_569(arg0, arg1, arg2, arg3) {
|
|
323
|
+
wasm.closure3596_externref_shim(arg0, arg1, arg2, arg3);
|
|
328
324
|
}
|
|
329
325
|
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
326
|
+
/**
|
|
327
|
+
* @enum {0 | 1 | 2}
|
|
328
|
+
*/
|
|
329
|
+
export const ConsentEntityType = Object.freeze({
|
|
330
|
+
GroupId: 0, "0": "GroupId",
|
|
331
|
+
InboxId: 1, "1": "InboxId",
|
|
332
|
+
Address: 2, "2": "Address",
|
|
333
|
+
});
|
|
334
|
+
/**
|
|
335
|
+
* @enum {0 | 1 | 2}
|
|
336
|
+
*/
|
|
337
|
+
export const ConsentState = Object.freeze({
|
|
338
|
+
Unknown: 0, "0": "Unknown",
|
|
339
|
+
Allowed: 1, "1": "Allowed",
|
|
340
|
+
Denied: 2, "2": "Denied",
|
|
341
|
+
});
|
|
342
|
+
/**
|
|
343
|
+
* @enum {0 | 1 | 2}
|
|
344
|
+
*/
|
|
345
|
+
export const ConversationType = Object.freeze({
|
|
346
|
+
Dm: 0, "0": "Dm",
|
|
347
|
+
Group: 1, "1": "Group",
|
|
348
|
+
Sync: 2, "2": "Sync",
|
|
349
|
+
});
|
|
350
|
+
/**
|
|
351
|
+
* @enum {0 | 1 | 2}
|
|
352
|
+
*/
|
|
353
|
+
export const DeliveryStatus = Object.freeze({
|
|
354
|
+
Unpublished: 0, "0": "Unpublished",
|
|
355
|
+
Published: 1, "1": "Published",
|
|
356
|
+
Failed: 2, "2": "Failed",
|
|
357
|
+
});
|
|
358
|
+
/**
|
|
359
|
+
* @enum {0 | 1 | 2}
|
|
360
|
+
*/
|
|
361
|
+
export const GroupMembershipState = Object.freeze({
|
|
362
|
+
Allowed: 0, "0": "Allowed",
|
|
363
|
+
Rejected: 1, "1": "Rejected",
|
|
364
|
+
Pending: 2, "2": "Pending",
|
|
365
|
+
});
|
|
366
|
+
/**
|
|
367
|
+
* @enum {0 | 1}
|
|
368
|
+
*/
|
|
369
|
+
export const GroupMessageKind = Object.freeze({
|
|
370
|
+
Application: 0, "0": "Application",
|
|
371
|
+
MembershipChange: 1, "1": "MembershipChange",
|
|
372
|
+
});
|
|
373
|
+
/**
|
|
374
|
+
* @enum {0 | 1 | 2}
|
|
375
|
+
*/
|
|
376
|
+
export const GroupPermissionsOptions = Object.freeze({
|
|
377
|
+
AllMembers: 0, "0": "AllMembers",
|
|
378
|
+
AdminOnly: 1, "1": "AdminOnly",
|
|
379
|
+
CustomPolicy: 2, "2": "CustomPolicy",
|
|
380
|
+
});
|
|
381
|
+
/**
|
|
382
|
+
* @enum {0 | 1 | 2 | 3}
|
|
383
|
+
*/
|
|
384
|
+
export const MetadataField = Object.freeze({
|
|
385
|
+
GroupName: 0, "0": "GroupName",
|
|
386
|
+
Description: 1, "1": "Description",
|
|
387
|
+
ImageUrlSquare: 2, "2": "ImageUrlSquare",
|
|
388
|
+
PinnedFrameUrl: 3, "3": "PinnedFrameUrl",
|
|
389
|
+
});
|
|
390
|
+
/**
|
|
391
|
+
* @enum {0 | 1 | 2}
|
|
392
|
+
*/
|
|
393
|
+
export const PermissionLevel = Object.freeze({
|
|
394
|
+
Member: 0, "0": "Member",
|
|
395
|
+
Admin: 1, "1": "Admin",
|
|
396
|
+
SuperAdmin: 2, "2": "SuperAdmin",
|
|
397
|
+
});
|
|
398
|
+
/**
|
|
399
|
+
* @enum {0 | 1 | 2 | 3 | 4 | 5}
|
|
400
|
+
*/
|
|
401
|
+
export const PermissionPolicy = Object.freeze({
|
|
402
|
+
Allow: 0, "0": "Allow",
|
|
403
|
+
Deny: 1, "1": "Deny",
|
|
404
|
+
Admin: 2, "2": "Admin",
|
|
405
|
+
SuperAdmin: 3, "3": "SuperAdmin",
|
|
406
|
+
DoesNotExist: 4, "4": "DoesNotExist",
|
|
407
|
+
Other: 5, "5": "Other",
|
|
408
|
+
});
|
|
409
|
+
/**
|
|
410
|
+
* @enum {0 | 1 | 2 | 3 | 4}
|
|
411
|
+
*/
|
|
412
|
+
export const PermissionUpdateType = Object.freeze({
|
|
413
|
+
AddMember: 0, "0": "AddMember",
|
|
414
|
+
RemoveMember: 1, "1": "RemoveMember",
|
|
415
|
+
AddAdmin: 2, "2": "AddAdmin",
|
|
416
|
+
RemoveAdmin: 3, "3": "RemoveAdmin",
|
|
417
|
+
UpdateMetadata: 4, "4": "UpdateMetadata",
|
|
418
|
+
});
|
|
419
|
+
/**
|
|
420
|
+
* @enum {0 | 1 | 2 | 3}
|
|
421
|
+
*/
|
|
422
|
+
export const SignatureRequestType = Object.freeze({
|
|
423
|
+
AddWallet: 0, "0": "AddWallet",
|
|
424
|
+
CreateInbox: 1, "1": "CreateInbox",
|
|
425
|
+
RevokeWallet: 2, "2": "RevokeWallet",
|
|
426
|
+
RevokeInstallations: 3, "3": "RevokeInstallations",
|
|
427
|
+
});
|
|
428
|
+
/**
|
|
429
|
+
* @enum {0 | 1}
|
|
430
|
+
*/
|
|
431
|
+
export const SortDirection = Object.freeze({
|
|
432
|
+
Ascending: 0, "0": "Ascending",
|
|
433
|
+
Descending: 1, "1": "Descending",
|
|
434
|
+
});
|
|
355
435
|
|
|
356
436
|
const __wbindgen_enum_LogLevel = ["off", "error", "warn", "info", "debug", "trace"];
|
|
357
437
|
|
|
358
|
-
const __wbindgen_enum_ReadableStreamReaderMode = ["byob"];
|
|
359
|
-
|
|
360
438
|
const __wbindgen_enum_ReadableStreamType = ["bytes"];
|
|
361
439
|
|
|
362
440
|
const __wbindgen_enum_RequestCredentials = ["omit", "same-origin", "include"];
|
|
@@ -388,6 +466,30 @@ export class Client {
|
|
|
388
466
|
const ptr = this.__destroy_into_raw();
|
|
389
467
|
wasm.__wbg_client_free(ptr, 0);
|
|
390
468
|
}
|
|
469
|
+
/**
|
|
470
|
+
*
|
|
471
|
+
* * Get the client's inbox state.
|
|
472
|
+
* *
|
|
473
|
+
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
474
|
+
* * Otherwise, the state will be read from the local database.
|
|
475
|
+
*
|
|
476
|
+
* @param {boolean} refresh_from_network
|
|
477
|
+
* @returns {Promise<InboxState>}
|
|
478
|
+
*/
|
|
479
|
+
inboxState(refresh_from_network) {
|
|
480
|
+
const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
|
|
481
|
+
return ret;
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* @param {string} inbox_id
|
|
485
|
+
* @returns {Promise<InboxState>}
|
|
486
|
+
*/
|
|
487
|
+
getLatestInboxState(inbox_id) {
|
|
488
|
+
const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
489
|
+
const len0 = WASM_VECTOR_LEN;
|
|
490
|
+
const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
|
|
491
|
+
return ret;
|
|
492
|
+
}
|
|
391
493
|
/**
|
|
392
494
|
* @returns {string}
|
|
393
495
|
*/
|
|
@@ -496,11 +598,32 @@ export class Client {
|
|
|
496
598
|
return Conversations.__wrap(ret);
|
|
497
599
|
}
|
|
498
600
|
/**
|
|
499
|
-
* @
|
|
601
|
+
* @param {(Consent)[]} records
|
|
602
|
+
* @returns {Promise<void>}
|
|
500
603
|
*/
|
|
501
|
-
|
|
502
|
-
const
|
|
503
|
-
|
|
604
|
+
setConsentStates(records) {
|
|
605
|
+
const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
|
|
606
|
+
const len0 = WASM_VECTOR_LEN;
|
|
607
|
+
const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
|
|
608
|
+
return ret;
|
|
609
|
+
}
|
|
610
|
+
/**
|
|
611
|
+
* @param {ConsentEntityType} entity_type
|
|
612
|
+
* @param {string} entity
|
|
613
|
+
* @returns {Promise<ConsentState>}
|
|
614
|
+
*/
|
|
615
|
+
getConsentState(entity_type, entity) {
|
|
616
|
+
const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
617
|
+
const len0 = WASM_VECTOR_LEN;
|
|
618
|
+
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
619
|
+
return ret;
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* @returns {Promise<string | undefined>}
|
|
623
|
+
*/
|
|
624
|
+
createInboxSignatureText() {
|
|
625
|
+
const ret = wasm.client_createInboxSignatureText(this.__wbg_ptr);
|
|
626
|
+
return ret;
|
|
504
627
|
}
|
|
505
628
|
/**
|
|
506
629
|
* @param {string} new_wallet_address
|
|
@@ -581,51 +704,6 @@ export class Client {
|
|
|
581
704
|
throw takeFromExternrefTable0(ret[0]);
|
|
582
705
|
}
|
|
583
706
|
}
|
|
584
|
-
/**
|
|
585
|
-
* @param {(Consent)[]} records
|
|
586
|
-
* @returns {Promise<void>}
|
|
587
|
-
*/
|
|
588
|
-
setConsentStates(records) {
|
|
589
|
-
const ptr0 = passArrayJsValueToWasm0(records, wasm.__wbindgen_malloc);
|
|
590
|
-
const len0 = WASM_VECTOR_LEN;
|
|
591
|
-
const ret = wasm.client_setConsentStates(this.__wbg_ptr, ptr0, len0);
|
|
592
|
-
return ret;
|
|
593
|
-
}
|
|
594
|
-
/**
|
|
595
|
-
* @param {ConsentEntityType} entity_type
|
|
596
|
-
* @param {string} entity
|
|
597
|
-
* @returns {Promise<ConsentState>}
|
|
598
|
-
*/
|
|
599
|
-
getConsentState(entity_type, entity) {
|
|
600
|
-
const ptr0 = passStringToWasm0(entity, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
601
|
-
const len0 = WASM_VECTOR_LEN;
|
|
602
|
-
const ret = wasm.client_getConsentState(this.__wbg_ptr, entity_type, ptr0, len0);
|
|
603
|
-
return ret;
|
|
604
|
-
}
|
|
605
|
-
/**
|
|
606
|
-
*
|
|
607
|
-
* * Get the client's inbox state.
|
|
608
|
-
* *
|
|
609
|
-
* * If `refresh_from_network` is true, the client will go to the network first to refresh the state.
|
|
610
|
-
* * Otherwise, the state will be read from the local database.
|
|
611
|
-
*
|
|
612
|
-
* @param {boolean} refresh_from_network
|
|
613
|
-
* @returns {Promise<InboxState>}
|
|
614
|
-
*/
|
|
615
|
-
inboxState(refresh_from_network) {
|
|
616
|
-
const ret = wasm.client_inboxState(this.__wbg_ptr, refresh_from_network);
|
|
617
|
-
return ret;
|
|
618
|
-
}
|
|
619
|
-
/**
|
|
620
|
-
* @param {string} inbox_id
|
|
621
|
-
* @returns {Promise<InboxState>}
|
|
622
|
-
*/
|
|
623
|
-
getLatestInboxState(inbox_id) {
|
|
624
|
-
const ptr0 = passStringToWasm0(inbox_id, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
625
|
-
const len0 = WASM_VECTOR_LEN;
|
|
626
|
-
const ret = wasm.client_getLatestInboxState(this.__wbg_ptr, ptr0, len0);
|
|
627
|
-
return ret;
|
|
628
|
-
}
|
|
629
707
|
}
|
|
630
708
|
|
|
631
709
|
const ConsentFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -856,25 +934,6 @@ export class Conversation {
|
|
|
856
934
|
const ptr = this.__destroy_into_raw();
|
|
857
935
|
wasm.__wbg_conversation_free(ptr, 0);
|
|
858
936
|
}
|
|
859
|
-
/**
|
|
860
|
-
* @returns {ConsentState}
|
|
861
|
-
*/
|
|
862
|
-
consentState() {
|
|
863
|
-
const ret = wasm.conversation_consentState(this.__wbg_ptr);
|
|
864
|
-
if (ret[2]) {
|
|
865
|
-
throw takeFromExternrefTable0(ret[1]);
|
|
866
|
-
}
|
|
867
|
-
return ret[0];
|
|
868
|
-
}
|
|
869
|
-
/**
|
|
870
|
-
* @param {ConsentState} state
|
|
871
|
-
*/
|
|
872
|
-
updateConsentState(state) {
|
|
873
|
-
const ret = wasm.conversation_updateConsentState(this.__wbg_ptr, state);
|
|
874
|
-
if (ret[1]) {
|
|
875
|
-
throw takeFromExternrefTable0(ret[0]);
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
937
|
/**
|
|
879
938
|
* @returns {string}
|
|
880
939
|
*/
|
|
@@ -1298,6 +1357,35 @@ export class Conversation {
|
|
|
1298
1357
|
wasm.__wbindgen_free(deferred2_0, deferred2_1, 1);
|
|
1299
1358
|
}
|
|
1300
1359
|
}
|
|
1360
|
+
/**
|
|
1361
|
+
* @param {PermissionUpdateType} permission_update_type
|
|
1362
|
+
* @param {PermissionPolicy} permission_policy_option
|
|
1363
|
+
* @param {MetadataField | undefined} [metadata_field]
|
|
1364
|
+
* @returns {Promise<void>}
|
|
1365
|
+
*/
|
|
1366
|
+
updatePermissionPolicy(permission_update_type, permission_policy_option, metadata_field) {
|
|
1367
|
+
const ret = wasm.conversation_updatePermissionPolicy(this.__wbg_ptr, permission_update_type, permission_policy_option, isLikeNone(metadata_field) ? 4 : metadata_field);
|
|
1368
|
+
return ret;
|
|
1369
|
+
}
|
|
1370
|
+
/**
|
|
1371
|
+
* @returns {ConsentState}
|
|
1372
|
+
*/
|
|
1373
|
+
consentState() {
|
|
1374
|
+
const ret = wasm.conversation_consentState(this.__wbg_ptr);
|
|
1375
|
+
if (ret[2]) {
|
|
1376
|
+
throw takeFromExternrefTable0(ret[1]);
|
|
1377
|
+
}
|
|
1378
|
+
return ret[0];
|
|
1379
|
+
}
|
|
1380
|
+
/**
|
|
1381
|
+
* @param {ConsentState} state
|
|
1382
|
+
*/
|
|
1383
|
+
updateConsentState(state) {
|
|
1384
|
+
const ret = wasm.conversation_updateConsentState(this.__wbg_ptr, state);
|
|
1385
|
+
if (ret[1]) {
|
|
1386
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1301
1389
|
}
|
|
1302
1390
|
|
|
1303
1391
|
const ConversationsFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
@@ -1555,14 +1643,33 @@ export class CreateGroupOptions {
|
|
|
1555
1643
|
var len0 = WASM_VECTOR_LEN;
|
|
1556
1644
|
wasm.__wbg_set_creategroupoptions_groupPinnedFrameUrl(this.__wbg_ptr, ptr0, len0);
|
|
1557
1645
|
}
|
|
1646
|
+
/**
|
|
1647
|
+
* @returns {PermissionPolicySet | undefined}
|
|
1648
|
+
*/
|
|
1649
|
+
get customPermissionPolicySet() {
|
|
1650
|
+
const ret = wasm.__wbg_get_creategroupoptions_customPermissionPolicySet(this.__wbg_ptr);
|
|
1651
|
+
return ret === 0 ? undefined : PermissionPolicySet.__wrap(ret);
|
|
1652
|
+
}
|
|
1653
|
+
/**
|
|
1654
|
+
* @param {PermissionPolicySet | undefined} [arg0]
|
|
1655
|
+
*/
|
|
1656
|
+
set customPermissionPolicySet(arg0) {
|
|
1657
|
+
let ptr0 = 0;
|
|
1658
|
+
if (!isLikeNone(arg0)) {
|
|
1659
|
+
_assertClass(arg0, PermissionPolicySet);
|
|
1660
|
+
ptr0 = arg0.__destroy_into_raw();
|
|
1661
|
+
}
|
|
1662
|
+
wasm.__wbg_set_creategroupoptions_customPermissionPolicySet(this.__wbg_ptr, ptr0);
|
|
1663
|
+
}
|
|
1558
1664
|
/**
|
|
1559
1665
|
* @param {GroupPermissionsOptions | undefined} [permissions]
|
|
1560
1666
|
* @param {string | undefined} [group_name]
|
|
1561
1667
|
* @param {string | undefined} [group_image_url_square]
|
|
1562
1668
|
* @param {string | undefined} [group_description]
|
|
1563
1669
|
* @param {string | undefined} [group_pinned_frame_url]
|
|
1670
|
+
* @param {PermissionPolicySet | undefined} [custom_permission_policy_set]
|
|
1564
1671
|
*/
|
|
1565
|
-
constructor(permissions, group_name, group_image_url_square, group_description, group_pinned_frame_url) {
|
|
1672
|
+
constructor(permissions, group_name, group_image_url_square, group_description, group_pinned_frame_url, custom_permission_policy_set) {
|
|
1566
1673
|
var ptr0 = isLikeNone(group_name) ? 0 : passStringToWasm0(group_name, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1567
1674
|
var len0 = WASM_VECTOR_LEN;
|
|
1568
1675
|
var ptr1 = isLikeNone(group_image_url_square) ? 0 : passStringToWasm0(group_image_url_square, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -1571,7 +1678,12 @@ export class CreateGroupOptions {
|
|
|
1571
1678
|
var len2 = WASM_VECTOR_LEN;
|
|
1572
1679
|
var ptr3 = isLikeNone(group_pinned_frame_url) ? 0 : passStringToWasm0(group_pinned_frame_url, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1573
1680
|
var len3 = WASM_VECTOR_LEN;
|
|
1574
|
-
|
|
1681
|
+
let ptr4 = 0;
|
|
1682
|
+
if (!isLikeNone(custom_permission_policy_set)) {
|
|
1683
|
+
_assertClass(custom_permission_policy_set, PermissionPolicySet);
|
|
1684
|
+
ptr4 = custom_permission_policy_set.__destroy_into_raw();
|
|
1685
|
+
}
|
|
1686
|
+
const ret = wasm.creategroupoptions_new(isLikeNone(permissions) ? 3 : permissions, ptr0, len0, ptr1, len1, ptr2, len2, ptr3, len3, ptr4);
|
|
1575
1687
|
this.__wbg_ptr = ret >>> 0;
|
|
1576
1688
|
CreateGroupOptionsFinalization.register(this, this.__wbg_ptr, this);
|
|
1577
1689
|
return this;
|
|
@@ -1659,13 +1771,13 @@ export class EncodedContent {
|
|
|
1659
1771
|
*/
|
|
1660
1772
|
get compression() {
|
|
1661
1773
|
const ret = wasm.__wbg_get_encodedcontent_compression(this.__wbg_ptr);
|
|
1662
|
-
return ret
|
|
1774
|
+
return ret === 0x100000001 ? undefined : ret;
|
|
1663
1775
|
}
|
|
1664
1776
|
/**
|
|
1665
1777
|
* @param {number | undefined} [arg0]
|
|
1666
1778
|
*/
|
|
1667
1779
|
set compression(arg0) {
|
|
1668
|
-
wasm.__wbg_set_encodedcontent_compression(this.__wbg_ptr,
|
|
1780
|
+
wasm.__wbg_set_encodedcontent_compression(this.__wbg_ptr, isLikeNone(arg0) ? 0x100000001 : (arg0) >> 0);
|
|
1669
1781
|
}
|
|
1670
1782
|
/**
|
|
1671
1783
|
* @returns {Uint8Array}
|
|
@@ -1695,7 +1807,7 @@ export class EncodedContent {
|
|
|
1695
1807
|
}
|
|
1696
1808
|
var ptr1 = isLikeNone(fallback) ? 0 : passStringToWasm0(fallback, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
1697
1809
|
var len1 = WASM_VECTOR_LEN;
|
|
1698
|
-
const ret = wasm.encodedcontent_new(ptr0, parameters, ptr1, len1,
|
|
1810
|
+
const ret = wasm.encodedcontent_new(ptr0, parameters, ptr1, len1, isLikeNone(compression) ? 0x100000001 : (compression) >> 0, content);
|
|
1699
1811
|
this.__wbg_ptr = ret >>> 0;
|
|
1700
1812
|
EncodedContentFinalization.register(this, this.__wbg_ptr, this);
|
|
1701
1813
|
return this;
|
|
@@ -2154,7 +2266,7 @@ export class IntoUnderlyingByteSource {
|
|
|
2154
2266
|
wasm.__wbg_intounderlyingbytesource_free(ptr, 0);
|
|
2155
2267
|
}
|
|
2156
2268
|
/**
|
|
2157
|
-
* @returns {
|
|
2269
|
+
* @returns {ReadableStreamType}
|
|
2158
2270
|
*/
|
|
2159
2271
|
get type() {
|
|
2160
2272
|
const ret = wasm.intounderlyingbytesource_type(this.__wbg_ptr);
|
|
@@ -2396,7 +2508,7 @@ export class ListMessagesOptions {
|
|
|
2396
2508
|
* @param {bigint | undefined} [arg0]
|
|
2397
2509
|
*/
|
|
2398
2510
|
set sentBeforeNs(arg0) {
|
|
2399
|
-
wasm.
|
|
2511
|
+
wasm.__wbg_set_listmessagesoptions_sentBeforeNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
2400
2512
|
}
|
|
2401
2513
|
/**
|
|
2402
2514
|
* @returns {bigint | undefined}
|
|
@@ -2409,7 +2521,7 @@ export class ListMessagesOptions {
|
|
|
2409
2521
|
* @param {bigint | undefined} [arg0]
|
|
2410
2522
|
*/
|
|
2411
2523
|
set sentAfterNs(arg0) {
|
|
2412
|
-
wasm.
|
|
2524
|
+
wasm.__wbg_set_listmessagesoptions_sentAfterNs(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
2413
2525
|
}
|
|
2414
2526
|
/**
|
|
2415
2527
|
* @returns {bigint | undefined}
|
|
@@ -2422,7 +2534,7 @@ export class ListMessagesOptions {
|
|
|
2422
2534
|
* @param {bigint | undefined} [arg0]
|
|
2423
2535
|
*/
|
|
2424
2536
|
set limit(arg0) {
|
|
2425
|
-
wasm.
|
|
2537
|
+
wasm.__wbg_set_listmessagesoptions_limit(this.__wbg_ptr, !isLikeNone(arg0), isLikeNone(arg0) ? BigInt(0) : arg0);
|
|
2426
2538
|
}
|
|
2427
2539
|
/**
|
|
2428
2540
|
* @returns {DeliveryStatus | undefined}
|
|
@@ -2516,7 +2628,7 @@ export class LogOptions {
|
|
|
2516
2628
|
}
|
|
2517
2629
|
/**
|
|
2518
2630
|
* filter for logs
|
|
2519
|
-
* @returns {
|
|
2631
|
+
* @returns {LogLevel | undefined}
|
|
2520
2632
|
*/
|
|
2521
2633
|
get level() {
|
|
2522
2634
|
const ret = wasm.__wbg_get_logoptions_level(this.__wbg_ptr);
|
|
@@ -2524,18 +2636,18 @@ export class LogOptions {
|
|
|
2524
2636
|
}
|
|
2525
2637
|
/**
|
|
2526
2638
|
* filter for logs
|
|
2527
|
-
* @param {
|
|
2639
|
+
* @param {LogLevel | undefined} [arg0]
|
|
2528
2640
|
*/
|
|
2529
2641
|
set level(arg0) {
|
|
2530
|
-
wasm.__wbg_set_logoptions_level(this.__wbg_ptr, arg0
|
|
2642
|
+
wasm.__wbg_set_logoptions_level(this.__wbg_ptr, isLikeNone(arg0) ? 7 : ((__wbindgen_enum_LogLevel.indexOf(arg0) + 1 || 7) - 1));
|
|
2531
2643
|
}
|
|
2532
2644
|
/**
|
|
2533
2645
|
* @param {boolean} structured
|
|
2534
2646
|
* @param {boolean} performance
|
|
2535
|
-
* @param {
|
|
2647
|
+
* @param {LogLevel | undefined} [level]
|
|
2536
2648
|
*/
|
|
2537
2649
|
constructor(structured, performance, level) {
|
|
2538
|
-
const ret = wasm.logoptions_new(structured, performance, level
|
|
2650
|
+
const ret = wasm.logoptions_new(structured, performance, isLikeNone(level) ? 7 : ((__wbindgen_enum_LogLevel.indexOf(level) + 1 || 7) - 1));
|
|
2539
2651
|
this.__wbg_ptr = ret >>> 0;
|
|
2540
2652
|
LogOptionsFinalization.register(this, this.__wbg_ptr, this);
|
|
2541
2653
|
return this;
|
|
@@ -2915,849 +3027,879 @@ async function __wbg_load(module, imports) {
|
|
|
2915
3027
|
function __wbg_get_imports() {
|
|
2916
3028
|
const imports = {};
|
|
2917
3029
|
imports.wbg = {};
|
|
2918
|
-
imports.wbg.
|
|
2919
|
-
const ret =
|
|
3030
|
+
imports.wbg.__wbg_SQLITEBLOB_6acbdf0084499c6d = function(arg0) {
|
|
3031
|
+
const ret = arg0.SQLITE_BLOB;
|
|
2920
3032
|
return ret;
|
|
2921
3033
|
};
|
|
2922
|
-
imports.wbg.
|
|
2923
|
-
const ret =
|
|
3034
|
+
imports.wbg.__wbg_SQLITECONSTRAINTCHECK_078c7421516c6cb0 = function(arg0) {
|
|
3035
|
+
const ret = arg0.SQLITE_CONSTRAINT_CHECK;
|
|
2924
3036
|
return ret;
|
|
2925
3037
|
};
|
|
2926
|
-
imports.wbg.
|
|
2927
|
-
const ret = arg0;
|
|
3038
|
+
imports.wbg.__wbg_SQLITECONSTRAINTFOREIGNKEY_542d05e3ee2cb739 = function(arg0) {
|
|
3039
|
+
const ret = arg0.SQLITE_CONSTRAINT_FOREIGNKEY;
|
|
2928
3040
|
return ret;
|
|
2929
3041
|
};
|
|
2930
|
-
imports.wbg.
|
|
2931
|
-
const ret =
|
|
3042
|
+
imports.wbg.__wbg_SQLITECONSTRAINTNOTNULL_2e70f645b6727cc2 = function(arg0) {
|
|
3043
|
+
const ret = arg0.SQLITE_CONSTRAINT_NOTNULL;
|
|
2932
3044
|
return ret;
|
|
2933
3045
|
};
|
|
2934
|
-
imports.wbg.
|
|
2935
|
-
const ret =
|
|
3046
|
+
imports.wbg.__wbg_SQLITECONSTRAINTPRIMARYKEY_672b0b877eaa70c2 = function(arg0) {
|
|
3047
|
+
const ret = arg0.SQLITE_CONSTRAINT_PRIMARYKEY;
|
|
2936
3048
|
return ret;
|
|
2937
3049
|
};
|
|
2938
|
-
imports.wbg.
|
|
2939
|
-
const ret =
|
|
3050
|
+
imports.wbg.__wbg_SQLITECONSTRAINTUNIQUE_99e8e64a3ddb260e = function(arg0) {
|
|
3051
|
+
const ret = arg0.SQLITE_CONSTRAINT_UNIQUE;
|
|
3052
|
+
return ret;
|
|
3053
|
+
};
|
|
3054
|
+
imports.wbg.__wbg_SQLITEDONE_71e1fe762c2f590a = function(arg0) {
|
|
3055
|
+
const ret = arg0.SQLITE_DONE;
|
|
3056
|
+
return ret;
|
|
3057
|
+
};
|
|
3058
|
+
imports.wbg.__wbg_SQLITEFLOAT_0d1b783b6273c5ca = function(arg0) {
|
|
3059
|
+
const ret = arg0.SQLITE_FLOAT;
|
|
3060
|
+
return ret;
|
|
3061
|
+
};
|
|
3062
|
+
imports.wbg.__wbg_SQLITEINTEGER_89d30a97ec5964fa = function(arg0) {
|
|
3063
|
+
const ret = arg0.SQLITE_INTEGER;
|
|
3064
|
+
return ret;
|
|
3065
|
+
};
|
|
3066
|
+
imports.wbg.__wbg_SQLITENULL_14a0b14e9418f512 = function(arg0) {
|
|
3067
|
+
const ret = arg0.SQLITE_NULL;
|
|
3068
|
+
return ret;
|
|
3069
|
+
};
|
|
3070
|
+
imports.wbg.__wbg_SQLITEOK_a0a5a44f4b54bda1 = function(arg0) {
|
|
3071
|
+
const ret = arg0.SQLITE_OK;
|
|
3072
|
+
return ret;
|
|
3073
|
+
};
|
|
3074
|
+
imports.wbg.__wbg_SQLITEOPENCREATE_a89e637416473d65 = function(arg0) {
|
|
3075
|
+
const ret = arg0.SQLITE_OPEN_CREATE;
|
|
3076
|
+
return ret;
|
|
3077
|
+
};
|
|
3078
|
+
imports.wbg.__wbg_SQLITEOPENREADWRITE_3eb06e2be4a7f535 = function(arg0) {
|
|
3079
|
+
const ret = arg0.SQLITE_OPEN_READWRITE;
|
|
3080
|
+
return ret;
|
|
3081
|
+
};
|
|
3082
|
+
imports.wbg.__wbg_SQLITEOPENURI_73f78cdcb3e54f88 = function(arg0) {
|
|
3083
|
+
const ret = arg0.SQLITE_OPEN_URI;
|
|
3084
|
+
return ret;
|
|
3085
|
+
};
|
|
3086
|
+
imports.wbg.__wbg_SQLITEPREPAREPERSISTENT_6f142d8bf27893d7 = function(arg0) {
|
|
3087
|
+
const ret = arg0.SQLITE_PREPARE_PERSISTENT;
|
|
3088
|
+
return ret;
|
|
3089
|
+
};
|
|
3090
|
+
imports.wbg.__wbg_SQLITEROW_16ddd22277b912f1 = function(arg0) {
|
|
3091
|
+
const ret = arg0.SQLITE_ROW;
|
|
3092
|
+
return ret;
|
|
3093
|
+
};
|
|
3094
|
+
imports.wbg.__wbg_SQLITESTATIC_f6e96ea3ff678329 = function(arg0) {
|
|
3095
|
+
const ret = arg0.SQLITE_STATIC;
|
|
3096
|
+
return ret;
|
|
3097
|
+
};
|
|
3098
|
+
imports.wbg.__wbg_SQLITETEXT_4dd38105410a0c0a = function(arg0) {
|
|
3099
|
+
const ret = arg0.SQLITE_TEXT;
|
|
3100
|
+
return ret;
|
|
3101
|
+
};
|
|
3102
|
+
imports.wbg.__wbg_String_8f0eb39a4a4c2f66 = function(arg0, arg1) {
|
|
3103
|
+
const ret = String(arg1);
|
|
3104
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3105
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3106
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3107
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3108
|
+
};
|
|
3109
|
+
imports.wbg.__wbg_abort_05026c983d86824c = function(arg0) {
|
|
3110
|
+
arg0.abort();
|
|
3111
|
+
};
|
|
3112
|
+
imports.wbg.__wbg_allocCString_69f9010fb2b096f0 = function(arg0, arg1, arg2) {
|
|
3113
|
+
let deferred0_0;
|
|
3114
|
+
let deferred0_1;
|
|
3115
|
+
try {
|
|
3116
|
+
deferred0_0 = arg1;
|
|
3117
|
+
deferred0_1 = arg2;
|
|
3118
|
+
const ret = arg0.allocCString(getStringFromWasm0(arg1, arg2));
|
|
3119
|
+
return ret;
|
|
3120
|
+
} finally {
|
|
3121
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3122
|
+
}
|
|
3123
|
+
};
|
|
3124
|
+
imports.wbg.__wbg_allocPtr_c83ee345784d444f = function(arg0, arg1, arg2) {
|
|
3125
|
+
const ret = arg0.allocPtr(arg1 >>> 0, arg2 !== 0);
|
|
3126
|
+
return ret;
|
|
3127
|
+
};
|
|
3128
|
+
imports.wbg.__wbg_alloc_59459fd5c596f36c = function(arg0, arg1) {
|
|
3129
|
+
const ret = arg0.alloc(arg1 >>> 0);
|
|
3130
|
+
return ret;
|
|
3131
|
+
};
|
|
3132
|
+
imports.wbg.__wbg_alloc_818f07788ede8415 = function(arg0, arg1) {
|
|
3133
|
+
const ret = arg0.alloc(arg1 >>> 0);
|
|
3134
|
+
return ret;
|
|
3135
|
+
};
|
|
3136
|
+
imports.wbg.__wbg_alloc_9ba78eb5db297dec = function(arg0) {
|
|
3137
|
+
const ret = arg0.alloc;
|
|
3138
|
+
return ret;
|
|
3139
|
+
};
|
|
3140
|
+
imports.wbg.__wbg_append_72d1635ad8643998 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3141
|
+
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
3142
|
+
}, arguments) };
|
|
3143
|
+
imports.wbg.__wbg_arrayBuffer_d0ca2ad8bda0039b = function() { return handleError(function (arg0) {
|
|
3144
|
+
const ret = arg0.arrayBuffer();
|
|
3145
|
+
return ret;
|
|
3146
|
+
}, arguments) };
|
|
3147
|
+
imports.wbg.__wbg_bindblob_2d3842f5d0645344 = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3148
|
+
const ret = arg0.bind_blob(arg1, arg2, arg3 >>> 0, arg4, arg5);
|
|
3149
|
+
return ret;
|
|
3150
|
+
};
|
|
3151
|
+
imports.wbg.__wbg_binddouble_652de2eaf823b755 = function(arg0, arg1, arg2, arg3) {
|
|
3152
|
+
const ret = arg0.bind_double(arg1, arg2, arg3);
|
|
3153
|
+
return ret;
|
|
3154
|
+
};
|
|
3155
|
+
imports.wbg.__wbg_bindint64_ab19debe2f3b2a51 = function(arg0, arg1, arg2, arg3) {
|
|
3156
|
+
const ret = arg0.bind_int64(arg1, arg2, arg3);
|
|
3157
|
+
return ret;
|
|
3158
|
+
};
|
|
3159
|
+
imports.wbg.__wbg_bindint_d6ed3d7de087f452 = function(arg0, arg1, arg2, arg3) {
|
|
3160
|
+
const ret = arg0.bind_int(arg1, arg2, arg3);
|
|
3161
|
+
return ret;
|
|
3162
|
+
};
|
|
3163
|
+
imports.wbg.__wbg_bindnull_db900eeb1a7f0781 = function(arg0, arg1, arg2) {
|
|
3164
|
+
const ret = arg0.bind_null(arg1, arg2);
|
|
3165
|
+
return ret;
|
|
3166
|
+
};
|
|
3167
|
+
imports.wbg.__wbg_bindtext_d7063f12780d715d = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3168
|
+
const ret = arg0.bind_text(arg1, arg2, arg3 >>> 0, arg4, arg5);
|
|
3169
|
+
return ret;
|
|
3170
|
+
};
|
|
3171
|
+
imports.wbg.__wbg_buffer_61b7ce01341d7f88 = function(arg0) {
|
|
3172
|
+
const ret = arg0.buffer;
|
|
3173
|
+
return ret;
|
|
3174
|
+
};
|
|
3175
|
+
imports.wbg.__wbg_buffer_dc5dbfa8d5fb28cf = function(arg0) {
|
|
3176
|
+
const ret = arg0.buffer;
|
|
3177
|
+
return ret;
|
|
3178
|
+
};
|
|
3179
|
+
imports.wbg.__wbg_byobRequest_1fc36a0c1e98611b = function(arg0) {
|
|
3180
|
+
const ret = arg0.byobRequest;
|
|
3181
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3182
|
+
};
|
|
3183
|
+
imports.wbg.__wbg_byteLength_1b2d953758afc500 = function(arg0) {
|
|
3184
|
+
const ret = arg0.byteLength;
|
|
3185
|
+
return ret;
|
|
3186
|
+
};
|
|
3187
|
+
imports.wbg.__wbg_byteOffset_7ef484c6c1d473e9 = function(arg0) {
|
|
3188
|
+
const ret = arg0.byteOffset;
|
|
3189
|
+
return ret;
|
|
3190
|
+
};
|
|
3191
|
+
imports.wbg.__wbg_call_500db948e69c7330 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3192
|
+
const ret = arg0.call(arg1, arg2);
|
|
3193
|
+
return ret;
|
|
3194
|
+
}, arguments) };
|
|
3195
|
+
imports.wbg.__wbg_call_b0d8e36992d9900d = function() { return handleError(function (arg0, arg1) {
|
|
3196
|
+
const ret = arg0.call(arg1);
|
|
3197
|
+
return ret;
|
|
3198
|
+
}, arguments) };
|
|
3199
|
+
imports.wbg.__wbg_capi_b2cd9cd3325d1164 = function(arg0) {
|
|
3200
|
+
const ret = arg0.capi;
|
|
3201
|
+
return ret;
|
|
3202
|
+
};
|
|
3203
|
+
imports.wbg.__wbg_changes_8f2cadd92748538c = function(arg0, arg1) {
|
|
3204
|
+
const ret = arg0.changes(arg1);
|
|
2940
3205
|
return ret;
|
|
2941
3206
|
};
|
|
2942
3207
|
imports.wbg.__wbg_client_new = function(arg0) {
|
|
2943
3208
|
const ret = Client.__wrap(arg0);
|
|
2944
3209
|
return ret;
|
|
2945
3210
|
};
|
|
2946
|
-
imports.wbg.
|
|
2947
|
-
const ret =
|
|
3211
|
+
imports.wbg.__wbg_close_061ae3ddcd90d5b9 = function(arg0, arg1) {
|
|
3212
|
+
const ret = arg0.close(arg1);
|
|
2948
3213
|
return ret;
|
|
2949
3214
|
};
|
|
2950
|
-
imports.wbg.
|
|
2951
|
-
|
|
2952
|
-
|
|
2953
|
-
|
|
2954
|
-
|
|
2955
|
-
};
|
|
2956
|
-
imports.wbg.
|
|
2957
|
-
|
|
2958
|
-
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
2959
|
-
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
2960
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
2961
|
-
};
|
|
2962
|
-
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
2963
|
-
const ret = arg0 === undefined;
|
|
2964
|
-
return ret;
|
|
2965
|
-
};
|
|
2966
|
-
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
2967
|
-
const ret = arg0 in arg1;
|
|
2968
|
-
return ret;
|
|
2969
|
-
};
|
|
2970
|
-
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
2971
|
-
const obj = arg1;
|
|
2972
|
-
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
2973
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2974
|
-
var len1 = WASM_VECTOR_LEN;
|
|
2975
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
2976
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
2977
|
-
};
|
|
2978
|
-
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
2979
|
-
const val = arg0;
|
|
2980
|
-
const ret = typeof(val) === 'object' && val !== null;
|
|
2981
|
-
return ret;
|
|
2982
|
-
};
|
|
2983
|
-
imports.wbg.__wbindgen_as_number = function(arg0) {
|
|
2984
|
-
const ret = +arg0;
|
|
2985
|
-
return ret;
|
|
2986
|
-
};
|
|
2987
|
-
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
2988
|
-
const ret = getStringFromWasm0(arg0, arg1);
|
|
2989
|
-
return ret;
|
|
2990
|
-
};
|
|
2991
|
-
imports.wbg.__wbg_consent_unwrap = function(arg0) {
|
|
2992
|
-
const ret = Consent.__unwrap(arg0);
|
|
2993
|
-
return ret;
|
|
2994
|
-
};
|
|
2995
|
-
imports.wbg.__wbg_installation_unwrap = function(arg0) {
|
|
2996
|
-
const ret = Installation.__unwrap(arg0);
|
|
2997
|
-
return ret;
|
|
2998
|
-
};
|
|
2999
|
-
imports.wbg.__wbg_performance_72f95fe5952939b5 = function() {
|
|
3000
|
-
const ret = globalThis.performance;
|
|
3001
|
-
return ret;
|
|
3002
|
-
};
|
|
3003
|
-
imports.wbg.__wbg_mark_6045ef1772587264 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3004
|
-
arg0.mark(getStringFromWasm0(arg1, arg2));
|
|
3005
|
-
}, arguments) };
|
|
3006
|
-
imports.wbg.__wbg_mark_bad820680b8580c2 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3007
|
-
arg0.mark(getStringFromWasm0(arg1, arg2), arg3);
|
|
3008
|
-
}, arguments) };
|
|
3009
|
-
imports.wbg.__wbg_measure_1d846b814d43d7e1 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3010
|
-
arg0.measure(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));
|
|
3011
|
-
}, arguments) };
|
|
3012
|
-
imports.wbg.__wbg_measure_7ca0e5cfef892340 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3013
|
-
arg0.measure(getStringFromWasm0(arg1, arg2), arg3);
|
|
3014
|
-
}, arguments) };
|
|
3015
|
-
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
3016
|
-
const obj = arg0.original;
|
|
3017
|
-
if (obj.cnt-- == 1) {
|
|
3018
|
-
obj.a = 0;
|
|
3019
|
-
return true;
|
|
3020
|
-
}
|
|
3021
|
-
const ret = false;
|
|
3022
|
-
return ret;
|
|
3023
|
-
};
|
|
3024
|
-
imports.wbg.__wbg_clearTimeout_541ac0980ffcef74 = typeof clearTimeout == 'function' ? clearTimeout : notDefined('clearTimeout');
|
|
3025
|
-
imports.wbg.__wbg_setTimeout_7d81d052875b0f4f = function() { return handleError(function (arg0, arg1) {
|
|
3026
|
-
const ret = setTimeout(arg0, arg1);
|
|
3027
|
-
return ret;
|
|
3028
|
-
}, arguments) };
|
|
3029
|
-
imports.wbg.__wbg_new_abda76e883ba8a5f = function() {
|
|
3030
|
-
const ret = new Error();
|
|
3031
|
-
return ret;
|
|
3032
|
-
};
|
|
3033
|
-
imports.wbg.__wbg_stack_658279fe44541cf6 = function(arg0, arg1) {
|
|
3034
|
-
const ret = arg1.stack;
|
|
3035
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3036
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3037
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3038
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3039
|
-
};
|
|
3040
|
-
imports.wbg.__wbg_error_f851667af71bcfc6 = function(arg0, arg1) {
|
|
3041
|
-
let deferred0_0;
|
|
3042
|
-
let deferred0_1;
|
|
3043
|
-
try {
|
|
3044
|
-
deferred0_0 = arg0;
|
|
3045
|
-
deferred0_1 = arg1;
|
|
3046
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
3047
|
-
} finally {
|
|
3048
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3049
|
-
}
|
|
3050
|
-
};
|
|
3051
|
-
imports.wbg.__wbg_sqlite3_94709d525395f0e0 = function(arg0) {
|
|
3052
|
-
const ret = arg0.sqlite3;
|
|
3053
|
-
return ret;
|
|
3054
|
-
};
|
|
3055
|
-
imports.wbg.__wbg_wasm_493cb9116b24d2ed = function(arg0) {
|
|
3056
|
-
const ret = arg0.wasm;
|
|
3057
|
-
return ret;
|
|
3058
|
-
};
|
|
3059
|
-
imports.wbg.__wbg_pstack_fc77b7165420650a = function(arg0) {
|
|
3060
|
-
const ret = arg0.pstack;
|
|
3061
|
-
return ret;
|
|
3062
|
-
};
|
|
3063
|
-
imports.wbg.__wbg_pointer_d3c7ebff6fec1c91 = function(arg0) {
|
|
3064
|
-
const ret = arg0.pointer;
|
|
3065
|
-
return ret;
|
|
3066
|
-
};
|
|
3067
|
-
imports.wbg.__wbg_alloc_3dc7f2dcc7f32fdb = function(arg0, arg1) {
|
|
3068
|
-
const ret = arg0.alloc(arg1 >>> 0);
|
|
3069
|
-
return ret;
|
|
3070
|
-
};
|
|
3071
|
-
imports.wbg.__wbg_alloc_412cbdfb204df090 = function(arg0, arg1) {
|
|
3072
|
-
const ret = arg0.alloc(arg1 >>> 0);
|
|
3073
|
-
return ret;
|
|
3074
|
-
};
|
|
3075
|
-
imports.wbg.__wbg_preparev3_439afd649e006ca8 = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3076
|
-
const ret = arg0.prepare_v3(arg1, arg2 >>> 0, arg3, arg4 >>> 0, arg5, arg6);
|
|
3077
|
-
return ret;
|
|
3078
|
-
};
|
|
3079
|
-
imports.wbg.__wbg_peekPtr_a3eb6c43e8226b33 = function(arg0, arg1) {
|
|
3080
|
-
const ret = arg0.peekPtr(arg1);
|
|
3081
|
-
return ret;
|
|
3082
|
-
};
|
|
3083
|
-
imports.wbg.__wbg_restore_f0dcf7e42f529814 = function(arg0, arg1) {
|
|
3084
|
-
arg0.restore(arg1);
|
|
3085
|
-
};
|
|
3086
|
-
imports.wbg.__wbindgen_is_null = function(arg0) {
|
|
3087
|
-
const ret = arg0 === null;
|
|
3088
|
-
return ret;
|
|
3089
|
-
};
|
|
3090
|
-
imports.wbg.__wbg_alloc_12d3472bbd917658 = function(arg0) {
|
|
3091
|
-
const ret = arg0.alloc;
|
|
3092
|
-
return ret;
|
|
3093
|
-
};
|
|
3094
|
-
imports.wbg.__wbg_allocPtr_a9d5b0a7a6dfb5ab = function(arg0, arg1, arg2) {
|
|
3095
|
-
const ret = arg0.allocPtr(arg1 >>> 0, arg2 !== 0);
|
|
3096
|
-
return ret;
|
|
3097
|
-
};
|
|
3098
|
-
imports.wbg.__wbg_impl_3c42f6bcb7b4c19c = function(arg0, arg1) {
|
|
3099
|
-
const ret = arg0.impl(arg1 >>> 0);
|
|
3100
|
-
return ret;
|
|
3101
|
-
};
|
|
3102
|
-
imports.wbg.__wbg_bindnull_bb548bfb7e51d9f6 = function(arg0, arg1, arg2) {
|
|
3103
|
-
const ret = arg0.bind_null(arg1, arg2);
|
|
3104
|
-
return ret;
|
|
3105
|
-
};
|
|
3106
|
-
imports.wbg.__wbg_bindtext_ea5e136c4ac4c21f = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3107
|
-
const ret = arg0.bind_text(arg1, arg2, arg3 >>> 0, arg4, arg5);
|
|
3108
|
-
return ret;
|
|
3109
|
-
};
|
|
3110
|
-
imports.wbg.__wbg_bindint_1ad9b7c92c66451b = function(arg0, arg1, arg2, arg3) {
|
|
3111
|
-
const ret = arg0.bind_int(arg1, arg2, arg3);
|
|
3112
|
-
return ret;
|
|
3113
|
-
};
|
|
3114
|
-
imports.wbg.__wbg_bindint64_4f6d503abe851224 = function(arg0, arg1, arg2, arg3) {
|
|
3115
|
-
const ret = arg0.bind_int64(arg1, arg2, arg3);
|
|
3116
|
-
return ret;
|
|
3117
|
-
};
|
|
3118
|
-
imports.wbg.__wbg_binddouble_b0a91f37239ee4b0 = function(arg0, arg1, arg2, arg3) {
|
|
3119
|
-
const ret = arg0.bind_double(arg1, arg2, arg3);
|
|
3120
|
-
return ret;
|
|
3121
|
-
};
|
|
3122
|
-
imports.wbg.__wbg_bindblob_5a17f213fdf1908e = function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
3123
|
-
const ret = arg0.bind_blob(arg1, arg2, arg3 >>> 0, arg4, arg5);
|
|
3124
|
-
return ret;
|
|
3125
|
-
};
|
|
3126
|
-
imports.wbg.__wbg_dbhandle_ab50bfd9245494b7 = function(arg0, arg1) {
|
|
3127
|
-
const ret = arg0.db_handle(arg1);
|
|
3128
|
-
return ret;
|
|
3129
|
-
};
|
|
3130
|
-
imports.wbg.__wbg_dealloc_351653c7fd6f869c = function(arg0, arg1) {
|
|
3131
|
-
arg0.dealloc(arg1 >>> 0);
|
|
3132
|
-
};
|
|
3133
|
-
imports.wbg.__wbg_finalize_238aae75fb871c94 = function() { return handleError(function (arg0, arg1) {
|
|
3134
|
-
arg0.finalize(arg1);
|
|
3135
|
-
}, arguments) };
|
|
3136
|
-
imports.wbg.__wbg_reset_0be27bd2c5c25e78 = function(arg0, arg1) {
|
|
3137
|
-
const ret = arg0.reset(arg1);
|
|
3138
|
-
return ret;
|
|
3139
|
-
};
|
|
3140
|
-
imports.wbg.__wbg_step_a58b1066c566c122 = function(arg0, arg1) {
|
|
3141
|
-
const ret = arg0.step(arg1);
|
|
3142
|
-
return ret;
|
|
3143
|
-
};
|
|
3144
|
-
imports.wbg.__wbg_columncount_a12965551470fb42 = function(arg0, arg1) {
|
|
3145
|
-
const ret = arg0.column_count(arg1);
|
|
3146
|
-
return ret;
|
|
3147
|
-
};
|
|
3148
|
-
imports.wbg.__wbg_columnvalue_49c1ea5d732bde1c = function(arg0, arg1, arg2) {
|
|
3149
|
-
const ret = arg0.column_value(arg1, arg2);
|
|
3150
|
-
return ret;
|
|
3151
|
-
};
|
|
3152
|
-
imports.wbg.__wbg_capi_ca06542c83b93175 = function(arg0) {
|
|
3153
|
-
const ret = arg0.capi;
|
|
3154
|
-
return ret;
|
|
3155
|
-
};
|
|
3156
|
-
imports.wbg.__wbg_SQLITECONSTRAINTCHECK_7b54e6702b2e57ba = function(arg0) {
|
|
3157
|
-
const ret = arg0.SQLITE_CONSTRAINT_CHECK;
|
|
3158
|
-
return ret;
|
|
3159
|
-
};
|
|
3160
|
-
imports.wbg.__wbg_SQLITEROW_a21779e78155c8ad = function(arg0) {
|
|
3161
|
-
const ret = arg0.SQLITE_ROW;
|
|
3162
|
-
return ret;
|
|
3163
|
-
};
|
|
3164
|
-
imports.wbg.__wbg_SQLITEPREPAREPERSISTENT_d81d553ffa5c038c = function(arg0) {
|
|
3165
|
-
const ret = arg0.SQLITE_PREPARE_PERSISTENT;
|
|
3166
|
-
return ret;
|
|
3167
|
-
};
|
|
3168
|
-
imports.wbg.__wbg_SQLITEINTEGER_9031dce8e01c166c = function(arg0) {
|
|
3169
|
-
const ret = arg0.SQLITE_INTEGER;
|
|
3170
|
-
return ret;
|
|
3171
|
-
};
|
|
3172
|
-
imports.wbg.__wbg_SQLITEDONE_fbfe18ce23a3b6da = function(arg0) {
|
|
3173
|
-
const ret = arg0.SQLITE_DONE;
|
|
3174
|
-
return ret;
|
|
3175
|
-
};
|
|
3176
|
-
imports.wbg.__wbg_SQLITETEXT_727e78d48f532f23 = function(arg0) {
|
|
3177
|
-
const ret = arg0.SQLITE_TEXT;
|
|
3178
|
-
return ret;
|
|
3179
|
-
};
|
|
3180
|
-
imports.wbg.__wbg_SQLITENULL_00f5eb33b5b89690 = function(arg0) {
|
|
3181
|
-
const ret = arg0.SQLITE_NULL;
|
|
3182
|
-
return ret;
|
|
3183
|
-
};
|
|
3184
|
-
imports.wbg.__wbg_SQLITECONSTRAINTUNIQUE_1dea04a977c1e377 = function(arg0) {
|
|
3185
|
-
const ret = arg0.SQLITE_CONSTRAINT_UNIQUE;
|
|
3186
|
-
return ret;
|
|
3187
|
-
};
|
|
3188
|
-
imports.wbg.__wbg_SQLITECONSTRAINTPRIMARYKEY_3e2ad26d848575a2 = function(arg0) {
|
|
3189
|
-
const ret = arg0.SQLITE_CONSTRAINT_PRIMARYKEY;
|
|
3190
|
-
return ret;
|
|
3191
|
-
};
|
|
3192
|
-
imports.wbg.__wbg_SQLITEBLOB_394b61ff6fc173a6 = function(arg0) {
|
|
3193
|
-
const ret = arg0.SQLITE_BLOB;
|
|
3194
|
-
return ret;
|
|
3195
|
-
};
|
|
3196
|
-
imports.wbg.__wbg_SQLITESTATIC_b98299c993e94d35 = function(arg0) {
|
|
3197
|
-
const ret = arg0.SQLITE_STATIC;
|
|
3198
|
-
return ret;
|
|
3199
|
-
};
|
|
3200
|
-
imports.wbg.__wbg_SQLITEFLOAT_e0da134da12d25d0 = function(arg0) {
|
|
3201
|
-
const ret = arg0.SQLITE_FLOAT;
|
|
3202
|
-
return ret;
|
|
3203
|
-
};
|
|
3204
|
-
imports.wbg.__wbg_SQLITECONSTRAINTNOTNULL_0f87885933517ad3 = function(arg0) {
|
|
3205
|
-
const ret = arg0.SQLITE_CONSTRAINT_NOTNULL;
|
|
3206
|
-
return ret;
|
|
3207
|
-
};
|
|
3208
|
-
imports.wbg.__wbg_SQLITEOK_2d09a4e691645e98 = function(arg0) {
|
|
3209
|
-
const ret = arg0.SQLITE_OK;
|
|
3210
|
-
return ret;
|
|
3211
|
-
};
|
|
3212
|
-
imports.wbg.__wbg_SQLITECONSTRAINTFOREIGNKEY_741a343b3482effc = function(arg0) {
|
|
3213
|
-
const ret = arg0.SQLITE_CONSTRAINT_FOREIGNKEY;
|
|
3214
|
-
return ret;
|
|
3215
|
-
};
|
|
3216
|
-
imports.wbg.__wbg_SQLITEOPENREADWRITE_a83b4615e4d0f3ab = function(arg0) {
|
|
3217
|
-
const ret = arg0.SQLITE_OPEN_READWRITE;
|
|
3218
|
-
return ret;
|
|
3219
|
-
};
|
|
3220
|
-
imports.wbg.__wbg_SQLITEOPENCREATE_9de5b9e000c4b114 = function(arg0) {
|
|
3221
|
-
const ret = arg0.SQLITE_OPEN_CREATE;
|
|
3222
|
-
return ret;
|
|
3223
|
-
};
|
|
3224
|
-
imports.wbg.__wbg_SQLITEOPENURI_553652ff6391f5f3 = function(arg0) {
|
|
3225
|
-
const ret = arg0.SQLITE_OPEN_URI;
|
|
3226
|
-
return ret;
|
|
3227
|
-
};
|
|
3228
|
-
imports.wbg.__wbg_changes_ad25c054690f6c2c = function(arg0, arg1) {
|
|
3229
|
-
const ret = arg0.changes(arg1);
|
|
3230
|
-
return ret;
|
|
3231
|
-
};
|
|
3232
|
-
imports.wbg.__wbg_close_91b1f36e8a68490f = function(arg0, arg1) {
|
|
3233
|
-
const ret = arg0.close(arg1);
|
|
3234
|
-
return ret;
|
|
3235
|
-
};
|
|
3236
|
-
imports.wbg.__wbindgen_link_42e73067c99cbdba = function(arg0) {
|
|
3237
|
-
const ret = new URL('snippets/diesel-wasm-sqlite-36e85657e47f3be3/src/js/sqlite3-opfs-async-proxy.js', import.meta.url).toString();
|
|
3238
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3239
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3240
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3241
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3242
|
-
};
|
|
3243
|
-
imports.wbg.__wbg_heap8u_e5e9645d146c39a3 = function(arg0) {
|
|
3244
|
-
const ret = arg0.heap8u();
|
|
3245
|
-
return ret;
|
|
3246
|
-
};
|
|
3247
|
-
imports.wbg.__wbg_new_a4c99de148de264c = function(arg0) {
|
|
3248
|
-
const ret = new SQLite(arg0);
|
|
3249
|
-
return ret;
|
|
3250
|
-
};
|
|
3251
|
-
imports.wbg.__wbg_version_5f48815bb1d8b346 = function(arg0) {
|
|
3252
|
-
const ret = arg0.version();
|
|
3253
|
-
return ret;
|
|
3254
|
-
};
|
|
3255
|
-
imports.wbg.__wbg_filename_144613ea2a1b3e89 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
3256
|
-
let deferred0_0;
|
|
3257
|
-
let deferred0_1;
|
|
3258
|
-
try {
|
|
3259
|
-
deferred0_0 = arg3;
|
|
3260
|
-
deferred0_1 = arg4;
|
|
3261
|
-
const ret = arg1.filename(arg2, getStringFromWasm0(arg3, arg4));
|
|
3262
|
-
const ptr2 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3263
|
-
const len2 = WASM_VECTOR_LEN;
|
|
3264
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len2, true);
|
|
3265
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr2, true);
|
|
3266
|
-
} finally {
|
|
3267
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3268
|
-
}
|
|
3269
|
-
};
|
|
3270
|
-
imports.wbg.__wbg_errstr_bb38008691932700 = function(arg0, arg1, arg2) {
|
|
3271
|
-
const ret = arg1.errstr(arg2);
|
|
3272
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3273
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3274
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3275
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3276
|
-
};
|
|
3277
|
-
imports.wbg.__wbg_errmsg_89bcbfbe76b14cf4 = function(arg0, arg1, arg2) {
|
|
3278
|
-
const ret = arg1.errmsg(arg2);
|
|
3279
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3280
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3281
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3282
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3283
|
-
};
|
|
3284
|
-
imports.wbg.__wbg_extendederrcode_2b31e0b528da9bbb = function(arg0, arg1) {
|
|
3285
|
-
const ret = arg0.extended_errcode(arg1);
|
|
3286
|
-
return ret;
|
|
3287
|
-
};
|
|
3288
|
-
imports.wbg.__wbg_valuedup_b0df8ddba19f1b98 = function(arg0, arg1) {
|
|
3289
|
-
const ret = arg0.value_dup(arg1 >>> 0);
|
|
3290
|
-
return ret;
|
|
3291
|
-
};
|
|
3292
|
-
imports.wbg.__wbg_valueblob_3f74b376b132f8b5 = function(arg0, arg1) {
|
|
3293
|
-
const ret = arg0.value_blob(arg1 >>> 0);
|
|
3294
|
-
return ret;
|
|
3295
|
-
};
|
|
3296
|
-
imports.wbg.__wbg_valuebytes_4694dcd27c345742 = function(arg0, arg1) {
|
|
3297
|
-
const ret = arg0.value_bytes(arg1 >>> 0);
|
|
3298
|
-
return ret;
|
|
3299
|
-
};
|
|
3300
|
-
imports.wbg.__wbg_valuefree_bb58ed981c1df68f = function(arg0, arg1) {
|
|
3301
|
-
arg0.value_free(arg1 >>> 0);
|
|
3302
|
-
};
|
|
3303
|
-
imports.wbg.__wbg_valueint_69cbd5211d849273 = function(arg0, arg1) {
|
|
3304
|
-
const ret = arg0.value_int(arg1 >>> 0);
|
|
3305
|
-
return ret;
|
|
3306
|
-
};
|
|
3307
|
-
imports.wbg.__wbg_valueint64_64bd43aa58b87911 = function(arg0, arg1) {
|
|
3308
|
-
const ret = arg0.value_int64(arg1 >>> 0);
|
|
3309
|
-
return ret;
|
|
3310
|
-
};
|
|
3311
|
-
imports.wbg.__wbg_valuetext_92c3345d82a9ca0c = function(arg0, arg1, arg2) {
|
|
3312
|
-
const ret = arg1.value_text(arg2 >>> 0);
|
|
3313
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3314
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3315
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3316
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3317
|
-
};
|
|
3318
|
-
imports.wbg.__wbg_valuetype_cfed2bfc3d2b9ffe = function(arg0, arg1) {
|
|
3319
|
-
const ret = arg0.value_type(arg1 >>> 0);
|
|
3320
|
-
return ret;
|
|
3321
|
-
};
|
|
3322
|
-
imports.wbg.__wbg_open_d821a8bd5c12df12 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3323
|
-
const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 === 0 ? undefined : arg4);
|
|
3324
|
-
return ret;
|
|
3325
|
-
}, arguments) };
|
|
3326
|
-
imports.wbg.__wbg_exec_06c0a88959122598 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3327
|
-
arg0.exec(arg1, getStringFromWasm0(arg2, arg3));
|
|
3328
|
-
}, arguments) };
|
|
3329
|
-
imports.wbg.__wbg_columnname_f60d10fff22a7705 = function(arg0, arg1, arg2, arg3) {
|
|
3330
|
-
const ret = arg1.column_name(arg2, arg3);
|
|
3331
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3332
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3333
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3334
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3335
|
-
};
|
|
3336
|
-
imports.wbg.__wbg_registerdieselsqlfunctions_af501c8fa4b13f74 = function() { return handleError(function (arg0, arg1) {
|
|
3337
|
-
arg0.register_diesel_sql_functions(arg1);
|
|
3338
|
-
}, arguments) };
|
|
3339
|
-
imports.wbg.__wbg_allocCString_42f27a0af479f779 = function(arg0, arg1, arg2) {
|
|
3340
|
-
let deferred0_0;
|
|
3341
|
-
let deferred0_1;
|
|
3342
|
-
try {
|
|
3343
|
-
deferred0_0 = arg1;
|
|
3344
|
-
deferred0_1 = arg2;
|
|
3345
|
-
const ret = arg0.allocCString(getStringFromWasm0(arg1, arg2));
|
|
3215
|
+
imports.wbg.__wbg_close_59511bda900d85a8 = function() { return handleError(function (arg0) {
|
|
3216
|
+
arg0.close();
|
|
3217
|
+
}, arguments) };
|
|
3218
|
+
imports.wbg.__wbg_close_65cb23eb0316f916 = function() { return handleError(function (arg0) {
|
|
3219
|
+
arg0.close();
|
|
3220
|
+
}, arguments) };
|
|
3221
|
+
imports.wbg.__wbg_columncount_328a9b2639ca5c51 = function(arg0, arg1) {
|
|
3222
|
+
const ret = arg0.column_count(arg1);
|
|
3346
3223
|
return ret;
|
|
3347
|
-
}
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
};
|
|
3355
|
-
imports.wbg.
|
|
3356
|
-
|
|
3357
|
-
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
3358
|
-
return ret;
|
|
3359
|
-
};
|
|
3360
|
-
imports.wbg.__wbg_String_b9412f8799faab3e = function(arg0, arg1) {
|
|
3361
|
-
const ret = String(arg1);
|
|
3362
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3363
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3364
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3365
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3366
|
-
};
|
|
3367
|
-
imports.wbg.__wbg_getwithrefkey_edc2c8960f0f1191 = function(arg0, arg1) {
|
|
3368
|
-
const ret = arg0[arg1];
|
|
3369
|
-
return ret;
|
|
3370
|
-
};
|
|
3371
|
-
imports.wbg.__wbg_set_f975102236d3c502 = function(arg0, arg1, arg2) {
|
|
3372
|
-
arg0[arg1] = arg2;
|
|
3373
|
-
};
|
|
3374
|
-
imports.wbg.__wbg_fetch_9b133f5ec268a7b8 = typeof fetch == 'function' ? fetch : notDefined('fetch');
|
|
3375
|
-
imports.wbg.__wbg_queueMicrotask_848aa4969108a57e = function(arg0) {
|
|
3376
|
-
const ret = arg0.queueMicrotask;
|
|
3377
|
-
return ret;
|
|
3378
|
-
};
|
|
3379
|
-
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
3380
|
-
const ret = typeof(arg0) === 'function';
|
|
3381
|
-
return ret;
|
|
3382
|
-
};
|
|
3383
|
-
imports.wbg.__wbg_queueMicrotask_c5419c06eab41e73 = typeof queueMicrotask == 'function' ? queueMicrotask : notDefined('queueMicrotask');
|
|
3384
|
-
imports.wbg.__wbg_crypto_1d1f22824a6a080c = function(arg0) {
|
|
3385
|
-
const ret = arg0.crypto;
|
|
3386
|
-
return ret;
|
|
3387
|
-
};
|
|
3388
|
-
imports.wbg.__wbg_process_4a72847cc503995b = function(arg0) {
|
|
3389
|
-
const ret = arg0.process;
|
|
3390
|
-
return ret;
|
|
3391
|
-
};
|
|
3392
|
-
imports.wbg.__wbg_versions_f686565e586dd935 = function(arg0) {
|
|
3393
|
-
const ret = arg0.versions;
|
|
3394
|
-
return ret;
|
|
3395
|
-
};
|
|
3396
|
-
imports.wbg.__wbg_node_104a2ff8d6ea03a2 = function(arg0) {
|
|
3397
|
-
const ret = arg0.node;
|
|
3398
|
-
return ret;
|
|
3399
|
-
};
|
|
3400
|
-
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
3401
|
-
const ret = typeof(arg0) === 'string';
|
|
3402
|
-
return ret;
|
|
3403
|
-
};
|
|
3404
|
-
imports.wbg.__wbg_require_cca90b1a94a0255b = function() { return handleError(function () {
|
|
3405
|
-
const ret = module.require;
|
|
3406
|
-
return ret;
|
|
3407
|
-
}, arguments) };
|
|
3408
|
-
imports.wbg.__wbg_msCrypto_eb05e62b530a1508 = function(arg0) {
|
|
3409
|
-
const ret = arg0.msCrypto;
|
|
3410
|
-
return ret;
|
|
3411
|
-
};
|
|
3412
|
-
imports.wbg.__wbg_getRandomValues_3aa56aa6edec874c = function() { return handleError(function (arg0, arg1) {
|
|
3413
|
-
arg0.getRandomValues(arg1);
|
|
3414
|
-
}, arguments) };
|
|
3415
|
-
imports.wbg.__wbg_randomFillSync_5c9c955aa56b6049 = function() { return handleError(function (arg0, arg1) {
|
|
3416
|
-
arg0.randomFillSync(arg1);
|
|
3417
|
-
}, arguments) };
|
|
3418
|
-
imports.wbg.__wbg_debug_69675dd374e2c249 = typeof console.debug == 'function' ? console.debug : notDefined('console.debug');
|
|
3419
|
-
imports.wbg.__wbg_debug_a0b6c2c5ac9a4bfd = typeof console.debug == 'function' ? console.debug : notDefined('console.debug');
|
|
3420
|
-
imports.wbg.__wbg_error_53abcd6a461f73d8 = typeof console.error == 'function' ? console.error : notDefined('console.error');
|
|
3421
|
-
imports.wbg.__wbg_error_4d17c5bb1ca90c94 = typeof console.error == 'function' ? console.error : notDefined('console.error');
|
|
3422
|
-
imports.wbg.__wbg_info_f073b719c8035bbf = typeof console.info == 'function' ? console.info : notDefined('console.info');
|
|
3423
|
-
imports.wbg.__wbg_info_1c7fba7da21072d1 = typeof console.info == 'function' ? console.info : notDefined('console.info');
|
|
3424
|
-
imports.wbg.__wbg_warn_41503a1c2194de89 = typeof console.warn == 'function' ? console.warn : notDefined('console.warn');
|
|
3425
|
-
imports.wbg.__wbg_warn_2e2787d40aad9a81 = typeof console.warn == 'function' ? console.warn : notDefined('console.warn');
|
|
3426
|
-
imports.wbg.__wbg_fetch_1fdc4448ed9eec00 = function(arg0, arg1) {
|
|
3427
|
-
const ret = arg0.fetch(arg1);
|
|
3428
|
-
return ret;
|
|
3429
|
-
};
|
|
3430
|
-
imports.wbg.__wbg_close_cfd08d9cf9f36856 = function() { return handleError(function (arg0) {
|
|
3431
|
-
arg0.close();
|
|
3432
|
-
}, arguments) };
|
|
3433
|
-
imports.wbg.__wbg_enqueue_e693a6fb4f3261c1 = function() { return handleError(function (arg0, arg1) {
|
|
3434
|
-
arg0.enqueue(arg1);
|
|
3435
|
-
}, arguments) };
|
|
3436
|
-
imports.wbg.__wbg_instanceof_Response_3c0e210a57ff751d = function(arg0) {
|
|
3437
|
-
let result;
|
|
3438
|
-
try {
|
|
3439
|
-
result = arg0 instanceof Response;
|
|
3440
|
-
} catch (_) {
|
|
3441
|
-
result = false;
|
|
3442
|
-
}
|
|
3443
|
-
const ret = result;
|
|
3444
|
-
return ret;
|
|
3445
|
-
};
|
|
3446
|
-
imports.wbg.__wbg_url_58af972663531d16 = function(arg0, arg1) {
|
|
3447
|
-
const ret = arg1.url;
|
|
3448
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3449
|
-
const len1 = WASM_VECTOR_LEN;
|
|
3450
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3451
|
-
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3452
|
-
};
|
|
3453
|
-
imports.wbg.__wbg_status_5f4e900d22140a18 = function(arg0) {
|
|
3454
|
-
const ret = arg0.status;
|
|
3455
|
-
return ret;
|
|
3456
|
-
};
|
|
3457
|
-
imports.wbg.__wbg_headers_1b9bf90c73fae600 = function(arg0) {
|
|
3458
|
-
const ret = arg0.headers;
|
|
3459
|
-
return ret;
|
|
3460
|
-
};
|
|
3461
|
-
imports.wbg.__wbg_arrayBuffer_144729e09879650e = function() { return handleError(function (arg0) {
|
|
3462
|
-
const ret = arg0.arrayBuffer();
|
|
3463
|
-
return ret;
|
|
3464
|
-
}, arguments) };
|
|
3465
|
-
imports.wbg.__wbg_byobRequest_86ac467c94924d3c = function(arg0) {
|
|
3466
|
-
const ret = arg0.byobRequest;
|
|
3467
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3468
|
-
};
|
|
3469
|
-
imports.wbg.__wbg_close_7cda9dd901230214 = function() { return handleError(function (arg0) {
|
|
3470
|
-
arg0.close();
|
|
3471
|
-
}, arguments) };
|
|
3472
|
-
imports.wbg.__wbg_signal_9acfcec9e7dffc22 = function(arg0) {
|
|
3473
|
-
const ret = arg0.signal;
|
|
3474
|
-
return ret;
|
|
3475
|
-
};
|
|
3476
|
-
imports.wbg.__wbg_new_75169ae5a9683c55 = function() { return handleError(function () {
|
|
3477
|
-
const ret = new AbortController();
|
|
3478
|
-
return ret;
|
|
3479
|
-
}, arguments) };
|
|
3480
|
-
imports.wbg.__wbg_abort_c57daab47a6c1215 = function(arg0) {
|
|
3481
|
-
arg0.abort();
|
|
3482
|
-
};
|
|
3483
|
-
imports.wbg.__wbg_view_de0e81c5c00d2129 = function(arg0) {
|
|
3484
|
-
const ret = arg0.view;
|
|
3485
|
-
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3486
|
-
};
|
|
3487
|
-
imports.wbg.__wbg_respond_ffb6928cd9b79c32 = function() { return handleError(function (arg0, arg1) {
|
|
3488
|
-
arg0.respond(arg1 >>> 0);
|
|
3489
|
-
}, arguments) };
|
|
3490
|
-
imports.wbg.__wbg_newwithstrandinit_4b92c89af0a8e383 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3491
|
-
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
3492
|
-
return ret;
|
|
3493
|
-
}, arguments) };
|
|
3494
|
-
imports.wbg.__wbg_setbody_aa8b691bec428bf4 = function(arg0, arg1) {
|
|
3495
|
-
arg0.body = arg1;
|
|
3496
|
-
};
|
|
3497
|
-
imports.wbg.__wbg_setcredentials_a4e661320cdb9738 = function(arg0, arg1) {
|
|
3498
|
-
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
3499
|
-
};
|
|
3500
|
-
imports.wbg.__wbg_setheaders_f5205d36e423a544 = function(arg0, arg1) {
|
|
3501
|
-
arg0.headers = arg1;
|
|
3502
|
-
};
|
|
3503
|
-
imports.wbg.__wbg_setmethod_ce2da76000b02f6a = function(arg0, arg1, arg2) {
|
|
3504
|
-
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
3505
|
-
};
|
|
3506
|
-
imports.wbg.__wbg_setmode_4919fd636102c586 = function(arg0, arg1) {
|
|
3507
|
-
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
3508
|
-
};
|
|
3509
|
-
imports.wbg.__wbg_setsignal_812ccb8269a7fd90 = function(arg0, arg1) {
|
|
3510
|
-
arg0.signal = arg1;
|
|
3511
|
-
};
|
|
3512
|
-
imports.wbg.__wbg_new_a9ae04a5200606a5 = function() { return handleError(function () {
|
|
3513
|
-
const ret = new Headers();
|
|
3514
|
-
return ret;
|
|
3515
|
-
}, arguments) };
|
|
3516
|
-
imports.wbg.__wbg_append_8b3e7f74a47ea7d5 = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4) {
|
|
3517
|
-
arg0.append(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4));
|
|
3518
|
-
}, arguments) };
|
|
3519
|
-
imports.wbg.__wbg_get_5419cf6b954aa11d = function(arg0, arg1) {
|
|
3520
|
-
const ret = arg0[arg1 >>> 0];
|
|
3521
|
-
return ret;
|
|
3522
|
-
};
|
|
3523
|
-
imports.wbg.__wbg_length_f217bbbf7e8e4df4 = function(arg0) {
|
|
3524
|
-
const ret = arg0.length;
|
|
3525
|
-
return ret;
|
|
3526
|
-
};
|
|
3527
|
-
imports.wbg.__wbg_new_034f913e7636e987 = function() {
|
|
3528
|
-
const ret = new Array();
|
|
3529
|
-
return ret;
|
|
3530
|
-
};
|
|
3531
|
-
imports.wbg.__wbg_newnoargs_1ede4bf2ebbaaf43 = function(arg0, arg1) {
|
|
3532
|
-
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
3533
|
-
return ret;
|
|
3534
|
-
};
|
|
3535
|
-
imports.wbg.__wbg_new_7a87a0376e40533b = function() {
|
|
3536
|
-
const ret = new Map();
|
|
3537
|
-
return ret;
|
|
3538
|
-
};
|
|
3539
|
-
imports.wbg.__wbg_next_13b477da1eaa3897 = function(arg0) {
|
|
3540
|
-
const ret = arg0.next;
|
|
3541
|
-
return ret;
|
|
3542
|
-
};
|
|
3543
|
-
imports.wbg.__wbg_next_b06e115d1b01e10b = function() { return handleError(function (arg0) {
|
|
3544
|
-
const ret = arg0.next();
|
|
3545
|
-
return ret;
|
|
3546
|
-
}, arguments) };
|
|
3547
|
-
imports.wbg.__wbg_done_983b5ffcaec8c583 = function(arg0) {
|
|
3548
|
-
const ret = arg0.done;
|
|
3549
|
-
return ret;
|
|
3550
|
-
};
|
|
3551
|
-
imports.wbg.__wbg_value_2ab8a198c834c26a = function(arg0) {
|
|
3552
|
-
const ret = arg0.value;
|
|
3553
|
-
return ret;
|
|
3554
|
-
};
|
|
3555
|
-
imports.wbg.__wbg_iterator_695d699a44d6234c = function() {
|
|
3556
|
-
const ret = Symbol.iterator;
|
|
3557
|
-
return ret;
|
|
3558
|
-
};
|
|
3559
|
-
imports.wbg.__wbg_get_ef828680c64da212 = function() { return handleError(function (arg0, arg1) {
|
|
3560
|
-
const ret = Reflect.get(arg0, arg1);
|
|
3561
|
-
return ret;
|
|
3562
|
-
}, arguments) };
|
|
3563
|
-
imports.wbg.__wbg_call_a9ef466721e824f2 = function() { return handleError(function (arg0, arg1) {
|
|
3564
|
-
const ret = arg0.call(arg1);
|
|
3565
|
-
return ret;
|
|
3566
|
-
}, arguments) };
|
|
3567
|
-
imports.wbg.__wbg_new_e69b5f66fda8f13c = function() {
|
|
3568
|
-
const ret = new Object();
|
|
3569
|
-
return ret;
|
|
3570
|
-
};
|
|
3571
|
-
imports.wbg.__wbg_self_bf91bf94d9e04084 = function() { return handleError(function () {
|
|
3572
|
-
const ret = self.self;
|
|
3573
|
-
return ret;
|
|
3574
|
-
}, arguments) };
|
|
3575
|
-
imports.wbg.__wbg_window_52dd9f07d03fd5f8 = function() { return handleError(function () {
|
|
3576
|
-
const ret = window.window;
|
|
3577
|
-
return ret;
|
|
3578
|
-
}, arguments) };
|
|
3579
|
-
imports.wbg.__wbg_globalThis_05c129bf37fcf1be = function() { return handleError(function () {
|
|
3580
|
-
const ret = globalThis.globalThis;
|
|
3581
|
-
return ret;
|
|
3582
|
-
}, arguments) };
|
|
3583
|
-
imports.wbg.__wbg_global_3eca19bb09e9c484 = function() { return handleError(function () {
|
|
3584
|
-
const ret = global.global;
|
|
3585
|
-
return ret;
|
|
3586
|
-
}, arguments) };
|
|
3587
|
-
imports.wbg.__wbg_set_425e70f7c64ac962 = function(arg0, arg1, arg2) {
|
|
3588
|
-
arg0[arg1 >>> 0] = arg2;
|
|
3589
|
-
};
|
|
3590
|
-
imports.wbg.__wbg_push_36cf4d81d7da33d1 = function(arg0, arg1) {
|
|
3591
|
-
const ret = arg0.push(arg1);
|
|
3592
|
-
return ret;
|
|
3593
|
-
};
|
|
3594
|
-
imports.wbg.__wbg_instanceof_ArrayBuffer_74945570b4a62ec7 = function(arg0) {
|
|
3595
|
-
let result;
|
|
3596
|
-
try {
|
|
3597
|
-
result = arg0 instanceof ArrayBuffer;
|
|
3598
|
-
} catch (_) {
|
|
3599
|
-
result = false;
|
|
3600
|
-
}
|
|
3601
|
-
const ret = result;
|
|
3602
|
-
return ret;
|
|
3603
|
-
};
|
|
3604
|
-
imports.wbg.__wbg_new_70a2f23d1565c04c = function(arg0, arg1) {
|
|
3605
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
3606
|
-
return ret;
|
|
3607
|
-
};
|
|
3608
|
-
imports.wbg.__wbg_call_3bfa248576352471 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3609
|
-
const ret = arg0.call(arg1, arg2);
|
|
3610
|
-
return ret;
|
|
3611
|
-
}, arguments) };
|
|
3612
|
-
imports.wbg.__wbg_set_277a63e77c89279f = function(arg0, arg1, arg2) {
|
|
3613
|
-
const ret = arg0.set(arg1, arg2);
|
|
3614
|
-
return ret;
|
|
3615
|
-
};
|
|
3616
|
-
imports.wbg.__wbg_isSafeInteger_b9dff570f01a9100 = function(arg0) {
|
|
3617
|
-
const ret = Number.isSafeInteger(arg0);
|
|
3618
|
-
return ret;
|
|
3619
|
-
};
|
|
3620
|
-
imports.wbg.__wbg_now_70af4fe37a792251 = function() {
|
|
3621
|
-
const ret = Date.now();
|
|
3622
|
-
return ret;
|
|
3623
|
-
};
|
|
3624
|
-
imports.wbg.__wbg_create_70ef5302cb22a5c4 = function(arg0) {
|
|
3625
|
-
const ret = Object.create(arg0);
|
|
3626
|
-
return ret;
|
|
3627
|
-
};
|
|
3628
|
-
imports.wbg.__wbg_entries_c02034de337d3ee2 = function(arg0) {
|
|
3629
|
-
const ret = Object.entries(arg0);
|
|
3630
|
-
return ret;
|
|
3631
|
-
};
|
|
3632
|
-
imports.wbg.__wbg_new_1073970097e5a420 = function(arg0, arg1) {
|
|
3633
|
-
try {
|
|
3634
|
-
var state0 = {a: arg0, b: arg1};
|
|
3635
|
-
var cb0 = (arg0, arg1) => {
|
|
3636
|
-
const a = state0.a;
|
|
3637
|
-
state0.a = 0;
|
|
3638
|
-
try {
|
|
3639
|
-
return __wbg_adapter_567(a, state0.b, arg0, arg1);
|
|
3640
|
-
} finally {
|
|
3641
|
-
state0.a = a;
|
|
3642
|
-
}
|
|
3643
|
-
};
|
|
3644
|
-
const ret = new Promise(cb0);
|
|
3224
|
+
};
|
|
3225
|
+
imports.wbg.__wbg_columnname_5421a5f0dfa3eff5 = function(arg0, arg1, arg2, arg3) {
|
|
3226
|
+
const ret = arg1.column_name(arg2, arg3);
|
|
3227
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3228
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3229
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3230
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3231
|
+
};
|
|
3232
|
+
imports.wbg.__wbg_columnvalue_88aa9511cf9c6770 = function(arg0, arg1, arg2) {
|
|
3233
|
+
const ret = arg0.column_value(arg1, arg2);
|
|
3645
3234
|
return ret;
|
|
3646
|
-
}
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3665
|
-
|
|
3666
|
-
|
|
3667
|
-
|
|
3668
|
-
|
|
3669
|
-
};
|
|
3670
|
-
imports.wbg.
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
3694
|
-
|
|
3695
|
-
|
|
3696
|
-
|
|
3697
|
-
|
|
3698
|
-
|
|
3699
|
-
|
|
3700
|
-
|
|
3701
|
-
|
|
3702
|
-
|
|
3703
|
-
|
|
3704
|
-
|
|
3705
|
-
|
|
3706
|
-
}
|
|
3707
|
-
|
|
3708
|
-
|
|
3709
|
-
|
|
3710
|
-
};
|
|
3711
|
-
imports.wbg.
|
|
3712
|
-
|
|
3713
|
-
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
|
|
3718
|
-
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
|
|
3736
|
-
|
|
3737
|
-
|
|
3738
|
-
|
|
3739
|
-
|
|
3740
|
-
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
}
|
|
3745
|
-
|
|
3746
|
-
|
|
3747
|
-
|
|
3748
|
-
|
|
3749
|
-
|
|
3750
|
-
|
|
3751
|
-
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
;
|
|
3758
|
-
|
|
3759
|
-
|
|
3760
|
-
return
|
|
3235
|
+
};
|
|
3236
|
+
imports.wbg.__wbg_consent_unwrap = function(arg0) {
|
|
3237
|
+
const ret = Consent.__unwrap(arg0);
|
|
3238
|
+
return ret;
|
|
3239
|
+
};
|
|
3240
|
+
imports.wbg.__wbg_conversation_new = function(arg0) {
|
|
3241
|
+
const ret = Conversation.__wrap(arg0);
|
|
3242
|
+
return ret;
|
|
3243
|
+
};
|
|
3244
|
+
imports.wbg.__wbg_create_861381d799b454bc = function(arg0) {
|
|
3245
|
+
const ret = Object.create(arg0);
|
|
3246
|
+
return ret;
|
|
3247
|
+
};
|
|
3248
|
+
imports.wbg.__wbg_crypto_ed58b8e10a292839 = function(arg0) {
|
|
3249
|
+
const ret = arg0.crypto;
|
|
3250
|
+
return ret;
|
|
3251
|
+
};
|
|
3252
|
+
imports.wbg.__wbg_dbhandle_4a844bc7b495c9bd = function(arg0, arg1) {
|
|
3253
|
+
const ret = arg0.db_handle(arg1);
|
|
3254
|
+
return ret;
|
|
3255
|
+
};
|
|
3256
|
+
imports.wbg.__wbg_dealloc_83aa46cc9ca6df71 = function(arg0, arg1) {
|
|
3257
|
+
arg0.dealloc(arg1 >>> 0);
|
|
3258
|
+
};
|
|
3259
|
+
imports.wbg.__wbg_debug_156ca727dbc3150f = function(arg0) {
|
|
3260
|
+
console.debug(arg0);
|
|
3261
|
+
};
|
|
3262
|
+
imports.wbg.__wbg_debug_19114f11037e4658 = function(arg0, arg1, arg2, arg3) {
|
|
3263
|
+
console.debug(arg0, arg1, arg2, arg3);
|
|
3264
|
+
};
|
|
3265
|
+
imports.wbg.__wbg_done_f22c1561fa919baa = function(arg0) {
|
|
3266
|
+
const ret = arg0.done;
|
|
3267
|
+
return ret;
|
|
3268
|
+
};
|
|
3269
|
+
imports.wbg.__wbg_enqueue_3997a55771b5212a = function() { return handleError(function (arg0, arg1) {
|
|
3270
|
+
arg0.enqueue(arg1);
|
|
3271
|
+
}, arguments) };
|
|
3272
|
+
imports.wbg.__wbg_entries_4f2bb9b0d701c0f6 = function(arg0) {
|
|
3273
|
+
const ret = Object.entries(arg0);
|
|
3274
|
+
return ret;
|
|
3275
|
+
};
|
|
3276
|
+
imports.wbg.__wbg_errmsg_79ea90bf7680bb35 = function(arg0, arg1, arg2) {
|
|
3277
|
+
const ret = arg1.errmsg(arg2);
|
|
3278
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3279
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3280
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3281
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3282
|
+
};
|
|
3283
|
+
imports.wbg.__wbg_error_483d659117b6f3f6 = function(arg0, arg1, arg2, arg3) {
|
|
3284
|
+
console.error(arg0, arg1, arg2, arg3);
|
|
3285
|
+
};
|
|
3286
|
+
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
3287
|
+
let deferred0_0;
|
|
3288
|
+
let deferred0_1;
|
|
3289
|
+
try {
|
|
3290
|
+
deferred0_0 = arg0;
|
|
3291
|
+
deferred0_1 = arg1;
|
|
3292
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
3293
|
+
} finally {
|
|
3294
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3295
|
+
}
|
|
3296
|
+
};
|
|
3297
|
+
imports.wbg.__wbg_error_fab41a42d22bf2bc = function(arg0) {
|
|
3298
|
+
console.error(arg0);
|
|
3299
|
+
};
|
|
3300
|
+
imports.wbg.__wbg_errstr_503ebc5fc9ad1b72 = function(arg0, arg1, arg2) {
|
|
3301
|
+
const ret = arg1.errstr(arg2);
|
|
3302
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3303
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3304
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3305
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3306
|
+
};
|
|
3307
|
+
imports.wbg.__wbg_exec_fd553de4a4a4f848 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3308
|
+
arg0.exec(arg1, getStringFromWasm0(arg2, arg3));
|
|
3309
|
+
}, arguments) };
|
|
3310
|
+
imports.wbg.__wbg_extendederrcode_0835da64030ca814 = function(arg0, arg1) {
|
|
3311
|
+
const ret = arg0.extended_errcode(arg1);
|
|
3312
|
+
return ret;
|
|
3313
|
+
};
|
|
3314
|
+
imports.wbg.__wbg_fetch_229368eecee9d217 = function(arg0, arg1) {
|
|
3315
|
+
const ret = arg0.fetch(arg1);
|
|
3316
|
+
return ret;
|
|
3317
|
+
};
|
|
3318
|
+
imports.wbg.__wbg_fetch_b335d17f45a8b5a1 = function(arg0) {
|
|
3319
|
+
const ret = fetch(arg0);
|
|
3320
|
+
return ret;
|
|
3321
|
+
};
|
|
3322
|
+
imports.wbg.__wbg_filename_0235553cd4665109 = function(arg0, arg1, arg2, arg3, arg4) {
|
|
3323
|
+
let deferred0_0;
|
|
3324
|
+
let deferred0_1;
|
|
3325
|
+
try {
|
|
3326
|
+
deferred0_0 = arg3;
|
|
3327
|
+
deferred0_1 = arg4;
|
|
3328
|
+
const ret = arg1.filename(arg2, getStringFromWasm0(arg3, arg4));
|
|
3329
|
+
const ptr2 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3330
|
+
const len2 = WASM_VECTOR_LEN;
|
|
3331
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len2, true);
|
|
3332
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr2, true);
|
|
3333
|
+
} finally {
|
|
3334
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
3335
|
+
}
|
|
3336
|
+
};
|
|
3337
|
+
imports.wbg.__wbg_finalize_429654d82c434d47 = function() { return handleError(function (arg0, arg1) {
|
|
3338
|
+
arg0.finalize(arg1);
|
|
3339
|
+
}, arguments) };
|
|
3340
|
+
imports.wbg.__wbg_getRandomValues_bcb4912f16000dc4 = function() { return handleError(function (arg0, arg1) {
|
|
3341
|
+
arg0.getRandomValues(arg1);
|
|
3342
|
+
}, arguments) };
|
|
3343
|
+
imports.wbg.__wbg_get_9aa3dff3f0266054 = function(arg0, arg1) {
|
|
3344
|
+
const ret = arg0[arg1 >>> 0];
|
|
3345
|
+
return ret;
|
|
3346
|
+
};
|
|
3347
|
+
imports.wbg.__wbg_get_bbccf8970793c087 = function() { return handleError(function (arg0, arg1) {
|
|
3348
|
+
const ret = Reflect.get(arg0, arg1);
|
|
3349
|
+
return ret;
|
|
3350
|
+
}, arguments) };
|
|
3351
|
+
imports.wbg.__wbg_getwithrefkey_1dc361bd10053bfe = function(arg0, arg1) {
|
|
3352
|
+
const ret = arg0[arg1];
|
|
3353
|
+
return ret;
|
|
3354
|
+
};
|
|
3355
|
+
imports.wbg.__wbg_has_94c2fc1d261bbfe9 = function() { return handleError(function (arg0, arg1) {
|
|
3356
|
+
const ret = Reflect.has(arg0, arg1);
|
|
3357
|
+
return ret;
|
|
3358
|
+
}, arguments) };
|
|
3359
|
+
imports.wbg.__wbg_headers_24e3e19fe3f187c0 = function(arg0) {
|
|
3360
|
+
const ret = arg0.headers;
|
|
3361
|
+
return ret;
|
|
3362
|
+
};
|
|
3363
|
+
imports.wbg.__wbg_heap8u_253de697ab096b05 = function(arg0) {
|
|
3364
|
+
const ret = arg0.heap8u();
|
|
3365
|
+
return ret;
|
|
3366
|
+
};
|
|
3367
|
+
imports.wbg.__wbg_impl_0cd08b475fc5f858 = function(arg0, arg1) {
|
|
3368
|
+
const ret = arg0.impl(arg1 >>> 0);
|
|
3369
|
+
return ret;
|
|
3370
|
+
};
|
|
3371
|
+
imports.wbg.__wbg_inboxstate_new = function(arg0) {
|
|
3372
|
+
const ret = InboxState.__wrap(arg0);
|
|
3373
|
+
return ret;
|
|
3374
|
+
};
|
|
3375
|
+
imports.wbg.__wbg_info_18e75e6ce8a36a90 = function(arg0, arg1, arg2, arg3) {
|
|
3376
|
+
console.info(arg0, arg1, arg2, arg3);
|
|
3377
|
+
};
|
|
3378
|
+
imports.wbg.__wbg_info_c3044c86ae29faab = function(arg0) {
|
|
3379
|
+
console.info(arg0);
|
|
3380
|
+
};
|
|
3381
|
+
imports.wbg.__wbg_initmodule_694b4b8a6236ad25 = function(arg0) {
|
|
3382
|
+
const ret = SQLite.init_module(arg0);
|
|
3383
|
+
return ret;
|
|
3384
|
+
};
|
|
3385
|
+
imports.wbg.__wbg_installation_new = function(arg0) {
|
|
3386
|
+
const ret = Installation.__wrap(arg0);
|
|
3387
|
+
return ret;
|
|
3388
|
+
};
|
|
3389
|
+
imports.wbg.__wbg_installation_unwrap = function(arg0) {
|
|
3390
|
+
const ret = Installation.__unwrap(arg0);
|
|
3391
|
+
return ret;
|
|
3392
|
+
};
|
|
3393
|
+
imports.wbg.__wbg_instanceof_ArrayBuffer_670ddde44cdb2602 = function(arg0) {
|
|
3394
|
+
let result;
|
|
3395
|
+
try {
|
|
3396
|
+
result = arg0 instanceof ArrayBuffer;
|
|
3397
|
+
} catch (_) {
|
|
3398
|
+
result = false;
|
|
3399
|
+
}
|
|
3400
|
+
const ret = result;
|
|
3401
|
+
return ret;
|
|
3402
|
+
};
|
|
3403
|
+
imports.wbg.__wbg_instanceof_Response_d3453657e10c4300 = function(arg0) {
|
|
3404
|
+
let result;
|
|
3405
|
+
try {
|
|
3406
|
+
result = arg0 instanceof Response;
|
|
3407
|
+
} catch (_) {
|
|
3408
|
+
result = false;
|
|
3409
|
+
}
|
|
3410
|
+
const ret = result;
|
|
3411
|
+
return ret;
|
|
3412
|
+
};
|
|
3413
|
+
imports.wbg.__wbg_instanceof_Uint8Array_28af5bc19d6acad8 = function(arg0) {
|
|
3414
|
+
let result;
|
|
3415
|
+
try {
|
|
3416
|
+
result = arg0 instanceof Uint8Array;
|
|
3417
|
+
} catch (_) {
|
|
3418
|
+
result = false;
|
|
3419
|
+
}
|
|
3420
|
+
const ret = result;
|
|
3421
|
+
return ret;
|
|
3422
|
+
};
|
|
3423
|
+
imports.wbg.__wbg_instanceof_WorkerGlobalScope_b32c94246142a6a7 = function(arg0) {
|
|
3424
|
+
let result;
|
|
3425
|
+
try {
|
|
3426
|
+
result = arg0 instanceof WorkerGlobalScope;
|
|
3427
|
+
} catch (_) {
|
|
3428
|
+
result = false;
|
|
3429
|
+
}
|
|
3430
|
+
const ret = result;
|
|
3431
|
+
return ret;
|
|
3432
|
+
};
|
|
3433
|
+
imports.wbg.__wbg_isSafeInteger_12f5549b2fca23f4 = function(arg0) {
|
|
3434
|
+
const ret = Number.isSafeInteger(arg0);
|
|
3435
|
+
return ret;
|
|
3436
|
+
};
|
|
3437
|
+
imports.wbg.__wbg_iterator_23604bb983791576 = function() {
|
|
3438
|
+
const ret = Symbol.iterator;
|
|
3439
|
+
return ret;
|
|
3440
|
+
};
|
|
3441
|
+
imports.wbg.__wbg_length_65d1cd11729ced11 = function(arg0) {
|
|
3442
|
+
const ret = arg0.length;
|
|
3443
|
+
return ret;
|
|
3444
|
+
};
|
|
3445
|
+
imports.wbg.__wbg_length_d65cf0786bfc5739 = function(arg0) {
|
|
3446
|
+
const ret = arg0.length;
|
|
3447
|
+
return ret;
|
|
3448
|
+
};
|
|
3449
|
+
imports.wbg.__wbg_mark_05056c522bddc362 = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3450
|
+
arg0.mark(getStringFromWasm0(arg1, arg2));
|
|
3451
|
+
}, arguments) };
|
|
3452
|
+
imports.wbg.__wbg_mark_24a1a597f4f00679 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3453
|
+
arg0.mark(getStringFromWasm0(arg1, arg2), arg3);
|
|
3454
|
+
}, arguments) };
|
|
3455
|
+
imports.wbg.__wbg_measure_0b7379f5cfacac6d = function() { return handleError(function (arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3456
|
+
arg0.measure(getStringFromWasm0(arg1, arg2), getStringFromWasm0(arg3, arg4), getStringFromWasm0(arg5, arg6));
|
|
3457
|
+
}, arguments) };
|
|
3458
|
+
imports.wbg.__wbg_measure_7728846525e2cced = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3459
|
+
arg0.measure(getStringFromWasm0(arg1, arg2), arg3);
|
|
3460
|
+
}, arguments) };
|
|
3461
|
+
imports.wbg.__wbg_message_new = function(arg0) {
|
|
3462
|
+
const ret = Message.__wrap(arg0);
|
|
3463
|
+
return ret;
|
|
3464
|
+
};
|
|
3465
|
+
imports.wbg.__wbg_msCrypto_0a36e2ec3a343d26 = function(arg0) {
|
|
3466
|
+
const ret = arg0.msCrypto;
|
|
3467
|
+
return ret;
|
|
3468
|
+
};
|
|
3469
|
+
imports.wbg.__wbg_new_254fa9eac11932ae = function() {
|
|
3470
|
+
const ret = new Array();
|
|
3471
|
+
return ret;
|
|
3472
|
+
};
|
|
3473
|
+
imports.wbg.__wbg_new_35d748855c4620b9 = function() { return handleError(function () {
|
|
3474
|
+
const ret = new Headers();
|
|
3475
|
+
return ret;
|
|
3476
|
+
}, arguments) };
|
|
3477
|
+
imports.wbg.__wbg_new_3c34f3fe365c1436 = function(arg0) {
|
|
3478
|
+
const ret = new SQLite(arg0);
|
|
3479
|
+
return ret;
|
|
3480
|
+
};
|
|
3481
|
+
imports.wbg.__wbg_new_3d446df9155128ef = function(arg0, arg1) {
|
|
3482
|
+
try {
|
|
3483
|
+
var state0 = {a: arg0, b: arg1};
|
|
3484
|
+
var cb0 = (arg0, arg1) => {
|
|
3485
|
+
const a = state0.a;
|
|
3486
|
+
state0.a = 0;
|
|
3487
|
+
try {
|
|
3488
|
+
return __wbg_adapter_569(a, state0.b, arg0, arg1);
|
|
3489
|
+
} finally {
|
|
3490
|
+
state0.a = a;
|
|
3491
|
+
}
|
|
3492
|
+
};
|
|
3493
|
+
const ret = new Promise(cb0);
|
|
3494
|
+
return ret;
|
|
3495
|
+
} finally {
|
|
3496
|
+
state0.a = state0.b = 0;
|
|
3497
|
+
}
|
|
3498
|
+
};
|
|
3499
|
+
imports.wbg.__wbg_new_3ff5b33b1ce712df = function(arg0) {
|
|
3500
|
+
const ret = new Uint8Array(arg0);
|
|
3501
|
+
return ret;
|
|
3502
|
+
};
|
|
3503
|
+
imports.wbg.__wbg_new_5f48f21d4be11586 = function() { return handleError(function () {
|
|
3504
|
+
const ret = new AbortController();
|
|
3505
|
+
return ret;
|
|
3506
|
+
}, arguments) };
|
|
3507
|
+
imports.wbg.__wbg_new_6799ef630abee97c = function(arg0, arg1) {
|
|
3508
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
3509
|
+
return ret;
|
|
3510
|
+
};
|
|
3511
|
+
imports.wbg.__wbg_new_688846f374351c92 = function() {
|
|
3512
|
+
const ret = new Object();
|
|
3513
|
+
return ret;
|
|
3514
|
+
};
|
|
3515
|
+
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
3516
|
+
const ret = new Error();
|
|
3517
|
+
return ret;
|
|
3518
|
+
};
|
|
3519
|
+
imports.wbg.__wbg_new_bc96c6a1c0786643 = function() {
|
|
3520
|
+
const ret = new Map();
|
|
3521
|
+
return ret;
|
|
3522
|
+
};
|
|
3523
|
+
imports.wbg.__wbg_new_e04dcd3aad5daca2 = function() { return handleError(function (arg0) {
|
|
3524
|
+
const ret = new WebAssembly.Memory(arg0);
|
|
3525
|
+
return ret;
|
|
3526
|
+
}, arguments) };
|
|
3527
|
+
imports.wbg.__wbg_newnoargs_fd9e4bf8be2bc16d = function(arg0, arg1) {
|
|
3528
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
3529
|
+
return ret;
|
|
3530
|
+
};
|
|
3531
|
+
imports.wbg.__wbg_newwithbyteoffsetandlength_ba35896968751d91 = function(arg0, arg1, arg2) {
|
|
3532
|
+
const ret = new Uint8Array(arg0, arg1 >>> 0, arg2 >>> 0);
|
|
3533
|
+
return ret;
|
|
3534
|
+
};
|
|
3535
|
+
imports.wbg.__wbg_newwithlength_34ce8f1051e74449 = function(arg0) {
|
|
3536
|
+
const ret = new Uint8Array(arg0 >>> 0);
|
|
3537
|
+
return ret;
|
|
3538
|
+
};
|
|
3539
|
+
imports.wbg.__wbg_newwithstrandinit_a1f6583f20e4faff = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3540
|
+
const ret = new Request(getStringFromWasm0(arg0, arg1), arg2);
|
|
3541
|
+
return ret;
|
|
3542
|
+
}, arguments) };
|
|
3543
|
+
imports.wbg.__wbg_next_01dd9234a5bf6d05 = function() { return handleError(function (arg0) {
|
|
3544
|
+
const ret = arg0.next();
|
|
3545
|
+
return ret;
|
|
3546
|
+
}, arguments) };
|
|
3547
|
+
imports.wbg.__wbg_next_137428deb98342b0 = function(arg0) {
|
|
3548
|
+
const ret = arg0.next;
|
|
3549
|
+
return ret;
|
|
3550
|
+
};
|
|
3551
|
+
imports.wbg.__wbg_node_02999533c4ea02e3 = function(arg0) {
|
|
3552
|
+
const ret = arg0.node;
|
|
3553
|
+
return ret;
|
|
3554
|
+
};
|
|
3555
|
+
imports.wbg.__wbg_now_64d0bb151e5d3889 = function() {
|
|
3556
|
+
const ret = Date.now();
|
|
3557
|
+
return ret;
|
|
3558
|
+
};
|
|
3559
|
+
imports.wbg.__wbg_open_aba34ed1b3b52dc4 = function() { return handleError(function (arg0, arg1, arg2, arg3) {
|
|
3560
|
+
const ret = arg0.open(getStringFromWasm0(arg1, arg2), arg3 === 0x100000001 ? undefined : arg3);
|
|
3561
|
+
return ret;
|
|
3562
|
+
}, arguments) };
|
|
3563
|
+
imports.wbg.__wbg_peekPtr_6a7d4078b4e26f07 = function(arg0, arg1) {
|
|
3564
|
+
const ret = arg0.peekPtr(arg1);
|
|
3565
|
+
return ret;
|
|
3566
|
+
};
|
|
3567
|
+
imports.wbg.__wbg_performance_121b9855d716e029 = function() {
|
|
3568
|
+
const ret = globalThis.performance;
|
|
3569
|
+
return ret;
|
|
3570
|
+
};
|
|
3571
|
+
imports.wbg.__wbg_pointer_310208402223b1bb = function(arg0) {
|
|
3572
|
+
const ret = arg0.pointer;
|
|
3573
|
+
return ret;
|
|
3574
|
+
};
|
|
3575
|
+
imports.wbg.__wbg_preparev3_9322dce970cabecf = function(arg0, arg1, arg2, arg3, arg4, arg5, arg6) {
|
|
3576
|
+
const ret = arg0.prepare_v3(arg1, arg2 >>> 0, arg3, arg4 >>> 0, arg5, arg6);
|
|
3577
|
+
return ret;
|
|
3578
|
+
};
|
|
3579
|
+
imports.wbg.__wbg_process_5c1d670bc53614b8 = function(arg0) {
|
|
3580
|
+
const ret = arg0.process;
|
|
3581
|
+
return ret;
|
|
3582
|
+
};
|
|
3583
|
+
imports.wbg.__wbg_pstack_66a1730e634b3fee = function(arg0) {
|
|
3584
|
+
const ret = arg0.pstack;
|
|
3585
|
+
return ret;
|
|
3586
|
+
};
|
|
3587
|
+
imports.wbg.__wbg_push_6edad0df4b546b2c = function(arg0, arg1) {
|
|
3588
|
+
const ret = arg0.push(arg1);
|
|
3589
|
+
return ret;
|
|
3590
|
+
};
|
|
3591
|
+
imports.wbg.__wbg_queueMicrotask_2181040e064c0dc8 = function(arg0) {
|
|
3592
|
+
queueMicrotask(arg0);
|
|
3593
|
+
};
|
|
3594
|
+
imports.wbg.__wbg_queueMicrotask_ef9ac43769cbcc4f = function(arg0) {
|
|
3595
|
+
const ret = arg0.queueMicrotask;
|
|
3596
|
+
return ret;
|
|
3597
|
+
};
|
|
3598
|
+
imports.wbg.__wbg_randomFillSync_ab2cfe79ebbf2740 = function() { return handleError(function (arg0, arg1) {
|
|
3599
|
+
arg0.randomFillSync(arg1);
|
|
3600
|
+
}, arguments) };
|
|
3601
|
+
imports.wbg.__wbg_registerdieselsqlfunctions_f374322dbb736b21 = function() { return handleError(function (arg0, arg1) {
|
|
3602
|
+
arg0.register_diesel_sql_functions(arg1);
|
|
3603
|
+
}, arguments) };
|
|
3604
|
+
imports.wbg.__wbg_require_79b1e9274cde3c87 = function() { return handleError(function () {
|
|
3605
|
+
const ret = module.require;
|
|
3606
|
+
return ret;
|
|
3607
|
+
}, arguments) };
|
|
3608
|
+
imports.wbg.__wbg_reset_a6165093a081b112 = function(arg0, arg1) {
|
|
3609
|
+
const ret = arg0.reset(arg1);
|
|
3610
|
+
return ret;
|
|
3611
|
+
};
|
|
3612
|
+
imports.wbg.__wbg_resolve_0bf7c44d641804f9 = function(arg0) {
|
|
3613
|
+
const ret = Promise.resolve(arg0);
|
|
3614
|
+
return ret;
|
|
3615
|
+
};
|
|
3616
|
+
imports.wbg.__wbg_respond_88fe7338392675f2 = function() { return handleError(function (arg0, arg1) {
|
|
3617
|
+
arg0.respond(arg1 >>> 0);
|
|
3618
|
+
}, arguments) };
|
|
3619
|
+
imports.wbg.__wbg_restore_43c154983844b05b = function(arg0, arg1) {
|
|
3620
|
+
arg0.restore(arg1);
|
|
3621
|
+
};
|
|
3622
|
+
imports.wbg.__wbg_setTimeout_e41dd56300ff86eb = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3623
|
+
const ret = arg0.setTimeout(arg1, arg2);
|
|
3624
|
+
return ret;
|
|
3625
|
+
}, arguments) };
|
|
3626
|
+
imports.wbg.__wbg_set_1d80752d0d5f0b21 = function(arg0, arg1, arg2) {
|
|
3627
|
+
arg0[arg1 >>> 0] = arg2;
|
|
3628
|
+
};
|
|
3629
|
+
imports.wbg.__wbg_set_23d69db4e5c66a6e = function(arg0, arg1, arg2) {
|
|
3630
|
+
arg0.set(arg1, arg2 >>> 0);
|
|
3631
|
+
};
|
|
3632
|
+
imports.wbg.__wbg_set_3f1d0b984ed272ed = function(arg0, arg1, arg2) {
|
|
3633
|
+
arg0[arg1] = arg2;
|
|
3634
|
+
};
|
|
3635
|
+
imports.wbg.__wbg_set_4e647025551483bd = function() { return handleError(function (arg0, arg1, arg2) {
|
|
3636
|
+
const ret = Reflect.set(arg0, arg1, arg2);
|
|
3637
|
+
return ret;
|
|
3638
|
+
}, arguments) };
|
|
3639
|
+
imports.wbg.__wbg_set_76818dc3c59a63d5 = function(arg0, arg1, arg2) {
|
|
3640
|
+
const ret = arg0.set(arg1, arg2);
|
|
3641
|
+
return ret;
|
|
3642
|
+
};
|
|
3643
|
+
imports.wbg.__wbg_setbody_64920df008e48adc = function(arg0, arg1) {
|
|
3644
|
+
arg0.body = arg1;
|
|
3645
|
+
};
|
|
3646
|
+
imports.wbg.__wbg_setcredentials_cfc15e48e3a3a535 = function(arg0, arg1) {
|
|
3647
|
+
arg0.credentials = __wbindgen_enum_RequestCredentials[arg1];
|
|
3648
|
+
};
|
|
3649
|
+
imports.wbg.__wbg_setheaders_4c921e8e226bdfa7 = function(arg0, arg1) {
|
|
3650
|
+
arg0.headers = arg1;
|
|
3651
|
+
};
|
|
3652
|
+
imports.wbg.__wbg_setmethod_cfc7f688ba46a6be = function(arg0, arg1, arg2) {
|
|
3653
|
+
arg0.method = getStringFromWasm0(arg1, arg2);
|
|
3654
|
+
};
|
|
3655
|
+
imports.wbg.__wbg_setmode_cd03637eb7da01e0 = function(arg0, arg1) {
|
|
3656
|
+
arg0.mode = __wbindgen_enum_RequestMode[arg1];
|
|
3657
|
+
};
|
|
3658
|
+
imports.wbg.__wbg_setsignal_f766190d206f09e5 = function(arg0, arg1) {
|
|
3659
|
+
arg0.signal = arg1;
|
|
3660
|
+
};
|
|
3661
|
+
imports.wbg.__wbg_signal_1fdadeba2d04660e = function(arg0) {
|
|
3662
|
+
const ret = arg0.signal;
|
|
3663
|
+
return ret;
|
|
3664
|
+
};
|
|
3665
|
+
imports.wbg.__wbg_sqlite3_0c56434abd1dc461 = function(arg0) {
|
|
3666
|
+
const ret = arg0.sqlite3;
|
|
3667
|
+
return ret;
|
|
3668
|
+
};
|
|
3669
|
+
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
3670
|
+
const ret = arg1.stack;
|
|
3671
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3672
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3673
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3674
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3675
|
+
};
|
|
3676
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_0be7472e492ad3e3 = function() {
|
|
3677
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
3678
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3679
|
+
};
|
|
3680
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_1a6eb482d12c9bfb = function() {
|
|
3681
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
3682
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3683
|
+
};
|
|
3684
|
+
imports.wbg.__wbg_static_accessor_SELF_1dc398a895c82351 = function() {
|
|
3685
|
+
const ret = typeof self === 'undefined' ? null : self;
|
|
3686
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3687
|
+
};
|
|
3688
|
+
imports.wbg.__wbg_static_accessor_WINDOW_ae1c80c7eea8d64a = function() {
|
|
3689
|
+
const ret = typeof window === 'undefined' ? null : window;
|
|
3690
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3691
|
+
};
|
|
3692
|
+
imports.wbg.__wbg_status_317f53bc4c7638df = function(arg0) {
|
|
3693
|
+
const ret = arg0.status;
|
|
3694
|
+
return ret;
|
|
3695
|
+
};
|
|
3696
|
+
imports.wbg.__wbg_step_99a553e5d7fbed2f = function(arg0, arg1) {
|
|
3697
|
+
const ret = arg0.step(arg1);
|
|
3698
|
+
return ret;
|
|
3699
|
+
};
|
|
3700
|
+
imports.wbg.__wbg_stringify_f4f701bc34ceda61 = function() { return handleError(function (arg0) {
|
|
3701
|
+
const ret = JSON.stringify(arg0);
|
|
3702
|
+
return ret;
|
|
3703
|
+
}, arguments) };
|
|
3704
|
+
imports.wbg.__wbg_subarray_46adeb9b86949d12 = function(arg0, arg1, arg2) {
|
|
3705
|
+
const ret = arg0.subarray(arg1 >>> 0, arg2 >>> 0);
|
|
3706
|
+
return ret;
|
|
3707
|
+
};
|
|
3708
|
+
imports.wbg.__wbg_text_dfc4cb7631d2eb34 = function() { return handleError(function (arg0) {
|
|
3709
|
+
const ret = arg0.text();
|
|
3710
|
+
return ret;
|
|
3711
|
+
}, arguments) };
|
|
3712
|
+
imports.wbg.__wbg_then_0438fad860fe38e1 = function(arg0, arg1) {
|
|
3713
|
+
const ret = arg0.then(arg1);
|
|
3714
|
+
return ret;
|
|
3715
|
+
};
|
|
3716
|
+
imports.wbg.__wbg_then_0ffafeddf0e182a4 = function(arg0, arg1, arg2) {
|
|
3717
|
+
const ret = arg0.then(arg1, arg2);
|
|
3718
|
+
return ret;
|
|
3719
|
+
};
|
|
3720
|
+
imports.wbg.__wbg_url_5327bc0a41a9b085 = function(arg0, arg1) {
|
|
3721
|
+
const ret = arg1.url;
|
|
3722
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3723
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3724
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3725
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3726
|
+
};
|
|
3727
|
+
imports.wbg.__wbg_value_4c32fd138a88eee2 = function(arg0) {
|
|
3728
|
+
const ret = arg0.value;
|
|
3729
|
+
return ret;
|
|
3730
|
+
};
|
|
3731
|
+
imports.wbg.__wbg_valueblob_b7834022c19ff288 = function(arg0, arg1) {
|
|
3732
|
+
const ret = arg0.value_blob(arg1 >>> 0);
|
|
3733
|
+
return ret;
|
|
3734
|
+
};
|
|
3735
|
+
imports.wbg.__wbg_valuebytes_c6924414a4f4b6f3 = function(arg0, arg1) {
|
|
3736
|
+
const ret = arg0.value_bytes(arg1 >>> 0);
|
|
3737
|
+
return ret;
|
|
3738
|
+
};
|
|
3739
|
+
imports.wbg.__wbg_valuedup_6d367159408d8196 = function(arg0, arg1) {
|
|
3740
|
+
const ret = arg0.value_dup(arg1 >>> 0);
|
|
3741
|
+
return ret;
|
|
3742
|
+
};
|
|
3743
|
+
imports.wbg.__wbg_valuefree_3f7442e9bb21e645 = function(arg0, arg1) {
|
|
3744
|
+
arg0.value_free(arg1 >>> 0);
|
|
3745
|
+
};
|
|
3746
|
+
imports.wbg.__wbg_valueint64_992b66e1610bc511 = function(arg0, arg1) {
|
|
3747
|
+
const ret = arg0.value_int64(arg1 >>> 0);
|
|
3748
|
+
return ret;
|
|
3749
|
+
};
|
|
3750
|
+
imports.wbg.__wbg_valueint_4d711af866e97d8e = function(arg0, arg1) {
|
|
3751
|
+
const ret = arg0.value_int(arg1 >>> 0);
|
|
3752
|
+
return ret;
|
|
3753
|
+
};
|
|
3754
|
+
imports.wbg.__wbg_valuetext_1305a3b91ca00e84 = function(arg0, arg1, arg2) {
|
|
3755
|
+
const ret = arg1.value_text(arg2 >>> 0);
|
|
3756
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3757
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3758
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3759
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3760
|
+
};
|
|
3761
|
+
imports.wbg.__wbg_valuetype_486feb6594cb75e3 = function(arg0, arg1) {
|
|
3762
|
+
const ret = arg0.value_type(arg1 >>> 0);
|
|
3763
|
+
return ret;
|
|
3764
|
+
};
|
|
3765
|
+
imports.wbg.__wbg_version_683c1e99c4c0439b = function(arg0) {
|
|
3766
|
+
const ret = arg0.version();
|
|
3767
|
+
return ret;
|
|
3768
|
+
};
|
|
3769
|
+
imports.wbg.__wbg_versions_c71aa1626a93e0a1 = function(arg0) {
|
|
3770
|
+
const ret = arg0.versions;
|
|
3771
|
+
return ret;
|
|
3772
|
+
};
|
|
3773
|
+
imports.wbg.__wbg_view_a03cbb1d55c73e57 = function(arg0) {
|
|
3774
|
+
const ret = arg0.view;
|
|
3775
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
3776
|
+
};
|
|
3777
|
+
imports.wbg.__wbg_warn_123db6aa8948382e = function(arg0) {
|
|
3778
|
+
console.warn(arg0);
|
|
3779
|
+
};
|
|
3780
|
+
imports.wbg.__wbg_warn_cb8be8bbf790a5d6 = function(arg0, arg1, arg2, arg3) {
|
|
3781
|
+
console.warn(arg0, arg1, arg2, arg3);
|
|
3782
|
+
};
|
|
3783
|
+
imports.wbg.__wbg_wasm_a5f31e71db23f94b = function(arg0) {
|
|
3784
|
+
const ret = arg0.wasm;
|
|
3785
|
+
return ret;
|
|
3786
|
+
};
|
|
3787
|
+
imports.wbg.__wbindgen_as_number = function(arg0) {
|
|
3788
|
+
const ret = +arg0;
|
|
3789
|
+
return ret;
|
|
3790
|
+
};
|
|
3791
|
+
imports.wbg.__wbindgen_boolean_get = function(arg0) {
|
|
3792
|
+
const v = arg0;
|
|
3793
|
+
const ret = typeof(v) === 'boolean' ? (v ? 1 : 0) : 2;
|
|
3794
|
+
return ret;
|
|
3795
|
+
};
|
|
3796
|
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
3797
|
+
const obj = arg0.original;
|
|
3798
|
+
if (obj.cnt-- == 1) {
|
|
3799
|
+
obj.a = 0;
|
|
3800
|
+
return true;
|
|
3801
|
+
}
|
|
3802
|
+
const ret = false;
|
|
3803
|
+
return ret;
|
|
3804
|
+
};
|
|
3805
|
+
imports.wbg.__wbindgen_closure_wrapper10903 = function(arg0, arg1, arg2) {
|
|
3806
|
+
const ret = makeMutClosure(arg0, arg1, 2503, __wbg_adapter_46);
|
|
3807
|
+
return ret;
|
|
3808
|
+
};
|
|
3809
|
+
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
3810
|
+
const ret = debugString(arg1);
|
|
3811
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3812
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3813
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3814
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3815
|
+
};
|
|
3816
|
+
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
3817
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
3818
|
+
return ret;
|
|
3819
|
+
};
|
|
3820
|
+
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
3821
|
+
const ret = arg0 in arg1;
|
|
3822
|
+
return ret;
|
|
3823
|
+
};
|
|
3824
|
+
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
3825
|
+
const table = wasm.__wbindgen_export_5;
|
|
3826
|
+
const offset = table.grow(4);
|
|
3827
|
+
table.set(0, undefined);
|
|
3828
|
+
table.set(offset + 0, undefined);
|
|
3829
|
+
table.set(offset + 1, null);
|
|
3830
|
+
table.set(offset + 2, true);
|
|
3831
|
+
table.set(offset + 3, false);
|
|
3832
|
+
;
|
|
3833
|
+
};
|
|
3834
|
+
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
3835
|
+
const ret = typeof(arg0) === 'function';
|
|
3836
|
+
return ret;
|
|
3837
|
+
};
|
|
3838
|
+
imports.wbg.__wbindgen_is_null = function(arg0) {
|
|
3839
|
+
const ret = arg0 === null;
|
|
3840
|
+
return ret;
|
|
3841
|
+
};
|
|
3842
|
+
imports.wbg.__wbindgen_is_object = function(arg0) {
|
|
3843
|
+
const val = arg0;
|
|
3844
|
+
const ret = typeof(val) === 'object' && val !== null;
|
|
3845
|
+
return ret;
|
|
3846
|
+
};
|
|
3847
|
+
imports.wbg.__wbindgen_is_string = function(arg0) {
|
|
3848
|
+
const ret = typeof(arg0) === 'string';
|
|
3849
|
+
return ret;
|
|
3850
|
+
};
|
|
3851
|
+
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
3852
|
+
const ret = arg0 === undefined;
|
|
3853
|
+
return ret;
|
|
3854
|
+
};
|
|
3855
|
+
imports.wbg.__wbindgen_jsval_loose_eq = function(arg0, arg1) {
|
|
3856
|
+
const ret = arg0 == arg1;
|
|
3857
|
+
return ret;
|
|
3858
|
+
};
|
|
3859
|
+
imports.wbg.__wbindgen_link_de369e9aa1a11bdd = function(arg0) {
|
|
3860
|
+
const ret = new URL('snippets/sqlite-web-90f8afa7b0cd2303/src/js/sqlite3-opfs-async-proxy.js', import.meta.url).toString();
|
|
3861
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3862
|
+
const len1 = WASM_VECTOR_LEN;
|
|
3863
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3864
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3865
|
+
};
|
|
3866
|
+
imports.wbg.__wbindgen_memory = function() {
|
|
3867
|
+
const ret = wasm.memory;
|
|
3868
|
+
return ret;
|
|
3869
|
+
};
|
|
3870
|
+
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
3871
|
+
const obj = arg1;
|
|
3872
|
+
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
3873
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
3874
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
3875
|
+
};
|
|
3876
|
+
imports.wbg.__wbindgen_number_new = function(arg0) {
|
|
3877
|
+
const ret = arg0;
|
|
3878
|
+
return ret;
|
|
3879
|
+
};
|
|
3880
|
+
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
3881
|
+
const obj = arg1;
|
|
3882
|
+
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
3883
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
3884
|
+
var len1 = WASM_VECTOR_LEN;
|
|
3885
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
3886
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
3887
|
+
};
|
|
3888
|
+
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
3889
|
+
const ret = getStringFromWasm0(arg0, arg1);
|
|
3890
|
+
return ret;
|
|
3891
|
+
};
|
|
3892
|
+
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
|
|
3893
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
3894
|
+
};
|
|
3895
|
+
imports.wbg.__wbindgen_try_into_number = function(arg0) {
|
|
3896
|
+
let result;
|
|
3897
|
+
try { result = +arg0 } catch (e) { result = e }
|
|
3898
|
+
const ret = result;
|
|
3899
|
+
return ret;
|
|
3900
|
+
};
|
|
3901
|
+
|
|
3902
|
+
return imports;
|
|
3761
3903
|
}
|
|
3762
3904
|
|
|
3763
3905
|
function __wbg_init_memory(imports, memory) {
|