@trust0/ridb-core 1.7.23 → 1.7.25
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/README.md +1 -1
- package/build/ridb_core.d.ts +370 -370
- package/build/ridb_core.js +130 -130
- package/build/ridb_core.mjs +130 -130
- package/build/ridb_core_bg.mjs +1 -1
- package/package.json +2 -2
package/build/ridb_core.js
CHANGED
|
@@ -90,13 +90,6 @@ function takeObject(idx) {
|
|
|
90
90
|
dropObject(idx);
|
|
91
91
|
return ret;
|
|
92
92
|
}
|
|
93
|
-
function addHeapObject(obj) {
|
|
94
|
-
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
95
|
-
const idx = heap_next;
|
|
96
|
-
heap_next = heap[idx];
|
|
97
|
-
heap[idx] = obj;
|
|
98
|
-
return idx;
|
|
99
|
-
}
|
|
100
93
|
var cachedTextDecoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf-8", { ignoreBOM: true, fatal: true }) : { decode: () => {
|
|
101
94
|
throw Error("TextDecoder not available");
|
|
102
95
|
} };
|
|
@@ -114,6 +107,13 @@ function getStringFromWasm0(ptr, len) {
|
|
|
114
107
|
ptr = ptr >>> 0;
|
|
115
108
|
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
116
109
|
}
|
|
110
|
+
function addHeapObject(obj) {
|
|
111
|
+
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
112
|
+
const idx = heap_next;
|
|
113
|
+
heap_next = heap[idx];
|
|
114
|
+
heap[idx] = obj;
|
|
115
|
+
return idx;
|
|
116
|
+
}
|
|
117
117
|
var WASM_VECTOR_LEN = 0;
|
|
118
118
|
var cachedTextEncoder = typeof TextEncoder !== "undefined" ? new TextEncoder("utf-8") : { encode: () => {
|
|
119
119
|
throw Error("TextEncoder not available");
|
|
@@ -243,31 +243,6 @@ var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: ()
|
|
|
243
243
|
} } : new FinalizationRegistry((state) => {
|
|
244
244
|
wasm.__wbindgen_export_2.get(state.dtor)(state.a, state.b);
|
|
245
245
|
});
|
|
246
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
247
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
248
|
-
const real = (...args) => {
|
|
249
|
-
state.cnt++;
|
|
250
|
-
const a = state.a;
|
|
251
|
-
state.a = 0;
|
|
252
|
-
try {
|
|
253
|
-
return f(a, state.b, ...args);
|
|
254
|
-
} finally {
|
|
255
|
-
if (--state.cnt === 0) {
|
|
256
|
-
wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
|
|
257
|
-
CLOSURE_DTORS.unregister(state);
|
|
258
|
-
} else {
|
|
259
|
-
state.a = a;
|
|
260
|
-
}
|
|
261
|
-
}
|
|
262
|
-
};
|
|
263
|
-
real.original = state;
|
|
264
|
-
CLOSURE_DTORS.register(real, state, state);
|
|
265
|
-
return real;
|
|
266
|
-
}
|
|
267
|
-
function __wbg_adapter_56(arg0, arg1, arg2) {
|
|
268
|
-
const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h07337a613af73c1c(arg0, arg1, addHeapObject(arg2));
|
|
269
|
-
return takeObject(ret);
|
|
270
|
-
}
|
|
271
246
|
function makeClosure(arg0, arg1, dtor, f) {
|
|
272
247
|
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
273
248
|
const real = (...args) => {
|
|
@@ -286,10 +261,10 @@ function makeClosure(arg0, arg1, dtor, f) {
|
|
|
286
261
|
CLOSURE_DTORS.register(real, state, state);
|
|
287
262
|
return real;
|
|
288
263
|
}
|
|
289
|
-
function
|
|
264
|
+
function __wbg_adapter_56(arg0, arg1, arg2, arg3, arg4) {
|
|
290
265
|
try {
|
|
291
266
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
292
|
-
wasm.
|
|
267
|
+
wasm._dyn_core__ops__function__Fn__A_B_C___Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h1d7727fe9471ac49(retptr, arg0, arg1, addHeapObject(arg2), addHeapObject(arg3), addHeapObject(arg4));
|
|
293
268
|
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
294
269
|
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
295
270
|
var r2 = getInt32Memory0()[retptr / 4 + 2];
|
|
@@ -301,11 +276,36 @@ function __wbg_adapter_59(arg0, arg1, arg2, arg3, arg4) {
|
|
|
301
276
|
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
302
277
|
}
|
|
303
278
|
}
|
|
279
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
280
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
281
|
+
const real = (...args) => {
|
|
282
|
+
state.cnt++;
|
|
283
|
+
const a = state.a;
|
|
284
|
+
state.a = 0;
|
|
285
|
+
try {
|
|
286
|
+
return f(a, state.b, ...args);
|
|
287
|
+
} finally {
|
|
288
|
+
if (--state.cnt === 0) {
|
|
289
|
+
wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
|
|
290
|
+
CLOSURE_DTORS.unregister(state);
|
|
291
|
+
} else {
|
|
292
|
+
state.a = a;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
};
|
|
296
|
+
real.original = state;
|
|
297
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
298
|
+
return real;
|
|
299
|
+
}
|
|
300
|
+
function __wbg_adapter_59(arg0, arg1, arg2) {
|
|
301
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h4e550b82c2b30c7a(arg0, arg1, addHeapObject(arg2));
|
|
302
|
+
}
|
|
304
303
|
function __wbg_adapter_62(arg0, arg1, arg2) {
|
|
305
|
-
wasm.
|
|
304
|
+
const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hef4d0d64e714d731(arg0, arg1, addHeapObject(arg2));
|
|
305
|
+
return takeObject(ret);
|
|
306
306
|
}
|
|
307
307
|
function __wbg_adapter_65(arg0, arg1, arg2) {
|
|
308
|
-
wasm.
|
|
308
|
+
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hf401bdfdf8c9bdd9(arg0, arg1, addHeapObject(arg2));
|
|
309
309
|
}
|
|
310
310
|
function _assertClass(instance, klass) {
|
|
311
311
|
if (!(instance instanceof klass)) {
|
|
@@ -336,20 +336,6 @@ function addBorrowedObject(obj) {
|
|
|
336
336
|
heap[--stack_pointer] = obj;
|
|
337
337
|
return stack_pointer;
|
|
338
338
|
}
|
|
339
|
-
function main_js() {
|
|
340
|
-
wasm.main_js();
|
|
341
|
-
}
|
|
342
|
-
function is_debug_mode() {
|
|
343
|
-
const ret = wasm.is_debug_mode();
|
|
344
|
-
return ret !== 0;
|
|
345
|
-
}
|
|
346
|
-
function handleError(f, args) {
|
|
347
|
-
try {
|
|
348
|
-
return f.apply(this, args);
|
|
349
|
-
} catch (e) {
|
|
350
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
339
|
function passArrayJsValueToWasm0(array, malloc) {
|
|
354
340
|
const ptr = malloc(array.length * 4, 4) >>> 0;
|
|
355
341
|
const mem = getUint32Memory0();
|
|
@@ -359,6 +345,20 @@ function passArrayJsValueToWasm0(array, malloc) {
|
|
|
359
345
|
WASM_VECTOR_LEN = array.length;
|
|
360
346
|
return ptr;
|
|
361
347
|
}
|
|
348
|
+
function handleError(f, args) {
|
|
349
|
+
try {
|
|
350
|
+
return f.apply(this, args);
|
|
351
|
+
} catch (e) {
|
|
352
|
+
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
function main_js() {
|
|
356
|
+
wasm.main_js();
|
|
357
|
+
}
|
|
358
|
+
function is_debug_mode() {
|
|
359
|
+
const ret = wasm.is_debug_mode();
|
|
360
|
+
return ret !== 0;
|
|
361
|
+
}
|
|
362
362
|
function __wbgtest_console_log(args) {
|
|
363
363
|
try {
|
|
364
364
|
wasm.__wbgtest_console_log(addBorrowedObject(args));
|
|
@@ -395,15 +395,14 @@ function __wbgtest_console_error(args) {
|
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
function __wbg_adapter_294(arg0, arg1) {
|
|
398
|
-
wasm.
|
|
398
|
+
wasm.wasm_bindgen__convert__closures__invoke0_mut__he68973678185bd11(arg0, arg1);
|
|
399
399
|
}
|
|
400
400
|
function __wbg_adapter_337(arg0, arg1, arg2, arg3, arg4) {
|
|
401
|
-
wasm.
|
|
401
|
+
wasm.wasm_bindgen__convert__closures__invoke3_mut__h711940be5154e055(arg0, arg1, addHeapObject(arg2), arg3, addHeapObject(arg4));
|
|
402
402
|
}
|
|
403
403
|
function __wbg_adapter_394(arg0, arg1, arg2, arg3) {
|
|
404
|
-
wasm.
|
|
404
|
+
wasm.wasm_bindgen__convert__closures__invoke2_mut__hdfe55fa2a247d1ac(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
405
405
|
}
|
|
406
|
-
var Errors = Object.freeze({ Error: 0, "0": "Error", HookError: 1, "1": "HookError", QueryError: 2, "2": "QueryError", SerializationError: 3, "3": "SerializationError", ValidationError: 4, "4": "ValidationError", AuthenticationError: 5, "5": "AuthenticationError" });
|
|
407
406
|
var OpType = Object.freeze({
|
|
408
407
|
/**
|
|
409
408
|
* Create operation.
|
|
@@ -431,6 +430,7 @@ var OpType = Object.freeze({
|
|
|
431
430
|
COUNT: 4,
|
|
432
431
|
"4": "COUNT"
|
|
433
432
|
});
|
|
433
|
+
var Errors = Object.freeze({ Error: 0, "0": "Error", HookError: 1, "1": "HookError", QueryError: 2, "2": "QueryError", SerializationError: 3, "3": "SerializationError", ValidationError: 4, "4": "ValidationError", AuthenticationError: 5, "5": "AuthenticationError" });
|
|
434
434
|
var BasePluginFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
435
435
|
}, unregister: () => {
|
|
436
436
|
} } : new FinalizationRegistry((ptr) => wasm.__wbg_baseplugin_free(ptr >>> 0));
|
|
@@ -2191,26 +2191,18 @@ function __wbg_get_imports() {
|
|
|
2191
2191
|
imports.wbg.__wbindgen_object_drop_ref = function(arg0) {
|
|
2192
2192
|
takeObject(arg0);
|
|
2193
2193
|
};
|
|
2194
|
-
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
|
|
2195
|
-
const ret = getObject(arg0);
|
|
2196
|
-
return addHeapObject(ret);
|
|
2197
|
-
};
|
|
2198
2194
|
imports.wbg.__wbindgen_string_new = function(arg0, arg1) {
|
|
2199
2195
|
const ret = getStringFromWasm0(arg0, arg1);
|
|
2200
2196
|
return addHeapObject(ret);
|
|
2201
2197
|
};
|
|
2202
|
-
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
2203
|
-
const ret = getObject(arg0) === void 0;
|
|
2204
|
-
return ret;
|
|
2205
|
-
};
|
|
2206
|
-
imports.wbg.__wbindgen_is_null = function(arg0) {
|
|
2207
|
-
const ret = getObject(arg0) === null;
|
|
2208
|
-
return ret;
|
|
2209
|
-
};
|
|
2210
2198
|
imports.wbg.__wbg_ridberror_new = function(arg0) {
|
|
2211
2199
|
const ret = RIDBError.__wrap(arg0);
|
|
2212
2200
|
return addHeapObject(ret);
|
|
2213
2201
|
};
|
|
2202
|
+
imports.wbg.__wbindgen_object_clone_ref = function(arg0) {
|
|
2203
|
+
const ret = getObject(arg0);
|
|
2204
|
+
return addHeapObject(ret);
|
|
2205
|
+
};
|
|
2214
2206
|
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
2215
2207
|
const obj = getObject(arg1);
|
|
2216
2208
|
const ret = typeof obj === "string" ? obj : void 0;
|
|
@@ -2219,6 +2211,10 @@ function __wbg_get_imports() {
|
|
|
2219
2211
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
2220
2212
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
2221
2213
|
};
|
|
2214
|
+
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
2215
|
+
const ret = getObject(arg0) === void 0;
|
|
2216
|
+
return ret;
|
|
2217
|
+
};
|
|
2222
2218
|
imports.wbg.__wbindgen_number_new = function(arg0) {
|
|
2223
2219
|
const ret = arg0;
|
|
2224
2220
|
return addHeapObject(ret);
|
|
@@ -2236,15 +2232,19 @@ function __wbg_get_imports() {
|
|
|
2236
2232
|
const ret = InMemory.__wrap(arg0);
|
|
2237
2233
|
return addHeapObject(ret);
|
|
2238
2234
|
};
|
|
2239
|
-
imports.wbg.
|
|
2240
|
-
return handleError(function(arg0) {
|
|
2241
|
-
const ret = getObject(arg0).
|
|
2235
|
+
imports.wbg.__wbg_find_567c5c9f064fe3d2 = function() {
|
|
2236
|
+
return handleError(function(arg0, arg1, arg2, arg3, arg4) {
|
|
2237
|
+
const ret = getObject(arg0).find(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
|
|
2242
2238
|
return addHeapObject(ret);
|
|
2243
2239
|
}, arguments);
|
|
2244
2240
|
};
|
|
2245
|
-
imports.wbg.
|
|
2241
|
+
imports.wbg.__wbindgen_is_null = function(arg0) {
|
|
2242
|
+
const ret = getObject(arg0) === null;
|
|
2243
|
+
return ret;
|
|
2244
|
+
};
|
|
2245
|
+
imports.wbg.__wbg_close_6384ed3c27ef25c1 = function() {
|
|
2246
2246
|
return handleError(function(arg0) {
|
|
2247
|
-
const ret = getObject(arg0).
|
|
2247
|
+
const ret = getObject(arg0).close();
|
|
2248
2248
|
return addHeapObject(ret);
|
|
2249
2249
|
}, arguments);
|
|
2250
2250
|
};
|
|
@@ -2257,15 +2257,15 @@ function __wbg_get_imports() {
|
|
|
2257
2257
|
const ret = false;
|
|
2258
2258
|
return ret;
|
|
2259
2259
|
};
|
|
2260
|
-
imports.wbg.
|
|
2260
|
+
imports.wbg.__wbg_count_19db4c3174d573d5 = function() {
|
|
2261
2261
|
return handleError(function(arg0, arg1, arg2, arg3, arg4) {
|
|
2262
|
-
const ret = getObject(arg0).
|
|
2262
|
+
const ret = getObject(arg0).count(getStringFromWasm0(arg1, arg2), takeObject(arg3), QueryOptions.__wrap(arg4));
|
|
2263
2263
|
return addHeapObject(ret);
|
|
2264
2264
|
}, arguments);
|
|
2265
2265
|
};
|
|
2266
|
-
imports.wbg.
|
|
2267
|
-
return handleError(function(arg0
|
|
2268
|
-
const ret = getObject(arg0).
|
|
2266
|
+
imports.wbg.__wbg_start_76c138c3b73ae6f8 = function() {
|
|
2267
|
+
return handleError(function(arg0) {
|
|
2268
|
+
const ret = getObject(arg0).start();
|
|
2269
2269
|
return addHeapObject(ret);
|
|
2270
2270
|
}, arguments);
|
|
2271
2271
|
};
|
|
@@ -2305,22 +2305,34 @@ function __wbg_get_imports() {
|
|
|
2305
2305
|
const ret = typeof v === "boolean" ? v ? 1 : 0 : 2;
|
|
2306
2306
|
return ret;
|
|
2307
2307
|
};
|
|
2308
|
+
imports.wbg.__wbg_collection_new = function(arg0) {
|
|
2309
|
+
const ret = Collection.__wrap(arg0);
|
|
2310
|
+
return addHeapObject(ret);
|
|
2311
|
+
};
|
|
2308
2312
|
imports.wbg.__wbg_database_new = function(arg0) {
|
|
2309
2313
|
const ret = Database.__wrap(arg0);
|
|
2310
2314
|
return addHeapObject(ret);
|
|
2311
2315
|
};
|
|
2312
|
-
imports.wbg.
|
|
2313
|
-
const ret =
|
|
2316
|
+
imports.wbg.__wbg_indexdb_new = function(arg0) {
|
|
2317
|
+
const ret = IndexDB.__wrap(arg0);
|
|
2314
2318
|
return addHeapObject(ret);
|
|
2315
2319
|
};
|
|
2316
|
-
imports.wbg.
|
|
2317
|
-
const ret =
|
|
2320
|
+
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
2321
|
+
const ret = typeof getObject(arg0) === "function";
|
|
2318
2322
|
return ret;
|
|
2319
2323
|
};
|
|
2320
2324
|
imports.wbg.__wbindgen_is_bigint = function(arg0) {
|
|
2321
2325
|
const ret = typeof getObject(arg0) === "bigint";
|
|
2322
2326
|
return ret;
|
|
2323
2327
|
};
|
|
2328
|
+
imports.wbg.__wbindgen_is_array = function(arg0) {
|
|
2329
|
+
const ret = Array.isArray(getObject(arg0));
|
|
2330
|
+
return ret;
|
|
2331
|
+
};
|
|
2332
|
+
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
2333
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2334
|
+
return addHeapObject(ret);
|
|
2335
|
+
};
|
|
2324
2336
|
imports.wbg.__wbindgen_in = function(arg0, arg1) {
|
|
2325
2337
|
const ret = getObject(arg0) in getObject(arg1);
|
|
2326
2338
|
return ret;
|
|
@@ -2337,18 +2349,6 @@ function __wbg_get_imports() {
|
|
|
2337
2349
|
const ret = BigInt.asUintN(64, arg0);
|
|
2338
2350
|
return addHeapObject(ret);
|
|
2339
2351
|
};
|
|
2340
|
-
imports.wbg.__wbindgen_error_new = function(arg0, arg1) {
|
|
2341
|
-
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
2342
|
-
return addHeapObject(ret);
|
|
2343
|
-
};
|
|
2344
|
-
imports.wbg.__wbg_indexdb_new = function(arg0) {
|
|
2345
|
-
const ret = IndexDB.__wrap(arg0);
|
|
2346
|
-
return addHeapObject(ret);
|
|
2347
|
-
};
|
|
2348
|
-
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
2349
|
-
const ret = typeof getObject(arg0) === "function";
|
|
2350
|
-
return ret;
|
|
2351
|
-
};
|
|
2352
2352
|
imports.wbg.__wbg_crypto_1d1f22824a6a080c = function(arg0) {
|
|
2353
2353
|
const ret = getObject(arg0).crypto;
|
|
2354
2354
|
return addHeapObject(ret);
|
|
@@ -2570,6 +2570,25 @@ function __wbg_get_imports() {
|
|
|
2570
2570
|
return addHeapObject(ret);
|
|
2571
2571
|
}, arguments);
|
|
2572
2572
|
};
|
|
2573
|
+
imports.wbg.__wbg_only_cacf767244bdc280 = function() {
|
|
2574
|
+
return handleError(function(arg0) {
|
|
2575
|
+
const ret = IDBKeyRange.only(getObject(arg0));
|
|
2576
|
+
return addHeapObject(ret);
|
|
2577
|
+
}, arguments);
|
|
2578
|
+
};
|
|
2579
|
+
imports.wbg.__wbg_instanceof_IdbOpenDbRequest_3f4a166bc0340578 = function(arg0) {
|
|
2580
|
+
let result;
|
|
2581
|
+
try {
|
|
2582
|
+
result = getObject(arg0) instanceof IDBOpenDBRequest;
|
|
2583
|
+
} catch (_) {
|
|
2584
|
+
result = false;
|
|
2585
|
+
}
|
|
2586
|
+
const ret = result;
|
|
2587
|
+
return ret;
|
|
2588
|
+
};
|
|
2589
|
+
imports.wbg.__wbg_setonupgradeneeded_ad7645373c7d5e1b = function(arg0, arg1) {
|
|
2590
|
+
getObject(arg0).onupgradeneeded = getObject(arg1);
|
|
2591
|
+
};
|
|
2573
2592
|
imports.wbg.__wbg_instanceof_IdbRequest_93249da04f5370b6 = function(arg0) {
|
|
2574
2593
|
let result;
|
|
2575
2594
|
try {
|
|
@@ -2598,25 +2617,6 @@ function __wbg_get_imports() {
|
|
|
2598
2617
|
imports.wbg.__wbg_setonerror_8479b33e7568a904 = function(arg0, arg1) {
|
|
2599
2618
|
getObject(arg0).onerror = getObject(arg1);
|
|
2600
2619
|
};
|
|
2601
|
-
imports.wbg.__wbg_only_cacf767244bdc280 = function() {
|
|
2602
|
-
return handleError(function(arg0) {
|
|
2603
|
-
const ret = IDBKeyRange.only(getObject(arg0));
|
|
2604
|
-
return addHeapObject(ret);
|
|
2605
|
-
}, arguments);
|
|
2606
|
-
};
|
|
2607
|
-
imports.wbg.__wbg_instanceof_IdbOpenDbRequest_3f4a166bc0340578 = function(arg0) {
|
|
2608
|
-
let result;
|
|
2609
|
-
try {
|
|
2610
|
-
result = getObject(arg0) instanceof IDBOpenDBRequest;
|
|
2611
|
-
} catch (_) {
|
|
2612
|
-
result = false;
|
|
2613
|
-
}
|
|
2614
|
-
const ret = result;
|
|
2615
|
-
return ret;
|
|
2616
|
-
};
|
|
2617
|
-
imports.wbg.__wbg_setonupgradeneeded_ad7645373c7d5e1b = function(arg0, arg1) {
|
|
2618
|
-
getObject(arg0).onupgradeneeded = getObject(arg1);
|
|
2619
|
-
};
|
|
2620
2620
|
imports.wbg.__wbg_getItem_164e8e5265095b87 = function() {
|
|
2621
2621
|
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
2622
2622
|
const ret = getObject(arg1).getItem(getStringFromWasm0(arg2, arg3));
|
|
@@ -2684,6 +2684,17 @@ function __wbg_get_imports() {
|
|
|
2684
2684
|
}
|
|
2685
2685
|
}, arguments);
|
|
2686
2686
|
};
|
|
2687
|
+
imports.wbg.__wbg_static_accessor_document_d4b6ae7f5578480f = function() {
|
|
2688
|
+
const ret = document;
|
|
2689
|
+
return addHeapObject(ret);
|
|
2690
|
+
};
|
|
2691
|
+
imports.wbg.__wbg_stack_17c77e9f5bfe6714 = function(arg0, arg1) {
|
|
2692
|
+
const ret = getObject(arg1).stack;
|
|
2693
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2694
|
+
const len1 = WASM_VECTOR_LEN;
|
|
2695
|
+
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
2696
|
+
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
2697
|
+
};
|
|
2687
2698
|
imports.wbg.__wbg_self_55106357ec10ecd4 = function(arg0) {
|
|
2688
2699
|
const ret = getObject(arg0).self;
|
|
2689
2700
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
@@ -2699,17 +2710,6 @@ function __wbg_get_imports() {
|
|
|
2699
2710
|
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
2700
2711
|
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
2701
2712
|
};
|
|
2702
|
-
imports.wbg.__wbg_static_accessor_document_d4b6ae7f5578480f = function() {
|
|
2703
|
-
const ret = document;
|
|
2704
|
-
return addHeapObject(ret);
|
|
2705
|
-
};
|
|
2706
|
-
imports.wbg.__wbg_stack_17c77e9f5bfe6714 = function(arg0, arg1) {
|
|
2707
|
-
const ret = getObject(arg1).stack;
|
|
2708
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
2709
|
-
const len1 = WASM_VECTOR_LEN;
|
|
2710
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
2711
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
2712
|
-
};
|
|
2713
2713
|
imports.wbg.__wbg_textcontent_67e4e811cbdf00fc = function(arg0, arg1) {
|
|
2714
2714
|
const ret = getObject(arg1).textContent;
|
|
2715
2715
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
@@ -3070,20 +3070,20 @@ function __wbg_get_imports() {
|
|
|
3070
3070
|
const ret = wasm.memory;
|
|
3071
3071
|
return addHeapObject(ret);
|
|
3072
3072
|
};
|
|
3073
|
-
imports.wbg.
|
|
3074
|
-
const ret =
|
|
3073
|
+
imports.wbg.__wbindgen_closure_wrapper985 = function(arg0, arg1, arg2) {
|
|
3074
|
+
const ret = makeClosure(arg0, arg1, 326, __wbg_adapter_56);
|
|
3075
3075
|
return addHeapObject(ret);
|
|
3076
3076
|
};
|
|
3077
|
-
imports.wbg.
|
|
3078
|
-
const ret =
|
|
3077
|
+
imports.wbg.__wbindgen_closure_wrapper987 = function(arg0, arg1, arg2) {
|
|
3078
|
+
const ret = makeMutClosure(arg0, arg1, 326, __wbg_adapter_59);
|
|
3079
3079
|
return addHeapObject(ret);
|
|
3080
3080
|
};
|
|
3081
|
-
imports.wbg.
|
|
3082
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3081
|
+
imports.wbg.__wbindgen_closure_wrapper989 = function(arg0, arg1, arg2) {
|
|
3082
|
+
const ret = makeMutClosure(arg0, arg1, 326, __wbg_adapter_62);
|
|
3083
3083
|
return addHeapObject(ret);
|
|
3084
3084
|
};
|
|
3085
|
-
imports.wbg.
|
|
3086
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
3085
|
+
imports.wbg.__wbindgen_closure_wrapper1638 = function(arg0, arg1, arg2) {
|
|
3086
|
+
const ret = makeMutClosure(arg0, arg1, 456, __wbg_adapter_65);
|
|
3087
3087
|
return addHeapObject(ret);
|
|
3088
3088
|
};
|
|
3089
3089
|
return imports;
|