@lemmabase/lemma-engine 0.8.11 → 0.8.13
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 +98 -28
- package/lemma.bindings.d.ts +39 -23
- package/lemma.bindings.js +234 -169
- package/lemma.d.ts +127 -12
- package/lemma.iife.js +1 -1
- package/lemma_bg.wasm +0 -0
- package/lemma_bg.wasm.d.ts +9 -6
- package/lsp-client.js +9 -0
- package/monaco.js +97 -11
- package/package.json +2 -2
package/lemma.bindings.js
CHANGED
|
@@ -11,6 +11,18 @@ export class Engine {
|
|
|
11
11
|
const ptr = this.__destroy_into_raw();
|
|
12
12
|
wasm.__wbg_engine_free(ptr, 0);
|
|
13
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* Download Lemma source for a registry identifier via [`crate::registry::LemmaBase`]. Returns `{ source, id }`.
|
|
16
|
+
* Does not load this [`WasmEngine`]; call [`Self::load_batch`], etc., yourself.
|
|
17
|
+
* @param {string} name
|
|
18
|
+
* @returns {Promise<any>}
|
|
19
|
+
*/
|
|
20
|
+
fetch(name) {
|
|
21
|
+
const ptr0 = passStringToWasm0(name, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
22
|
+
const len0 = WASM_VECTOR_LEN;
|
|
23
|
+
const ret = wasm.wasmengine_fetch(this.__wbg_ptr, ptr0, len0);
|
|
24
|
+
return takeObject(ret);
|
|
25
|
+
}
|
|
14
26
|
/**
|
|
15
27
|
* Returns formatted source string on success; throws with error message on failure.
|
|
16
28
|
* @param {string} code
|
|
@@ -67,17 +79,7 @@ export class Engine {
|
|
|
67
79
|
}
|
|
68
80
|
}
|
|
69
81
|
/**
|
|
70
|
-
*
|
|
71
|
-
*
|
|
72
|
-
* Each entry has `{ name, effective_from, effective_to, schema }`. The
|
|
73
|
-
* pair describes a half-open `[effective_from, effective_to)` validity
|
|
74
|
-
* range; `effective_from` is `null` when the first version has no
|
|
75
|
-
* declared start, and `effective_to` is `null` for the latest version of
|
|
76
|
-
* a name (no successor). Order matches [`Engine::list_specs_with_ranges`].
|
|
77
|
-
*
|
|
78
|
-
* `schema` is the same envelope returned by [`WasmEngine::schema`] for
|
|
79
|
-
* `(name, effective_from)`; shipping it inline saves the N+1 round-trip
|
|
80
|
-
* every consumer (playground, dashboards, docs) was doing.
|
|
82
|
+
* Same data as [`Engine::list`]: grouped [`ResolvedRepository`] JSON without planning.
|
|
81
83
|
* @returns {any}
|
|
82
84
|
*/
|
|
83
85
|
list() {
|
|
@@ -96,44 +98,102 @@ export class Engine {
|
|
|
96
98
|
}
|
|
97
99
|
}
|
|
98
100
|
/**
|
|
99
|
-
* Load Lemma source.
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* Breaking: previously rejected with an array of strings.
|
|
101
|
+
* Load Lemma source. Throws with an array of serialized errors
|
|
102
|
+
* (same shape as `EngineError` in `engine/packages/npm/lemma.d.ts`).
|
|
103
103
|
* @param {string} code
|
|
104
104
|
* @param {string} attribute
|
|
105
|
-
* @returns {Promise<any>}
|
|
106
105
|
*/
|
|
107
106
|
load(code, attribute) {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
107
|
+
try {
|
|
108
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
109
|
+
const ptr0 = passStringToWasm0(code, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
110
|
+
const len0 = WASM_VECTOR_LEN;
|
|
111
|
+
const ptr1 = passStringToWasm0(attribute, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
112
|
+
const len1 = WASM_VECTOR_LEN;
|
|
113
|
+
wasm.wasmengine_load(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1);
|
|
114
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
115
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
116
|
+
if (r1) {
|
|
117
|
+
throw takeObject(r0);
|
|
118
|
+
}
|
|
119
|
+
} finally {
|
|
120
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Load multiple Lemma sources in one planning pass (same as [`Engine::load_batch`]).
|
|
125
|
+
*
|
|
126
|
+
* `sources` is a plain object mapping path labels to source text. Labels become
|
|
127
|
+
* [`SourceType::Path`]; use `""` as a key for [`SourceType::Volatile`].
|
|
128
|
+
*
|
|
129
|
+
* `dependency`: when non-empty after trim, sources are tagged as that dependency id.
|
|
130
|
+
*
|
|
131
|
+
* Throws with an array of `JsError` on failure.
|
|
132
|
+
* @param {any} sources
|
|
133
|
+
* @param {string | null} [dependency]
|
|
134
|
+
*/
|
|
135
|
+
load_batch(sources, dependency) {
|
|
136
|
+
try {
|
|
137
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
138
|
+
var ptr0 = isLikeNone(dependency) ? 0 : passStringToWasm0(dependency, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
139
|
+
var len0 = WASM_VECTOR_LEN;
|
|
140
|
+
wasm.wasmengine_load_batch(retptr, this.__wbg_ptr, addHeapObject(sources), ptr0, len0);
|
|
141
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
142
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
143
|
+
if (r1) {
|
|
144
|
+
throw takeObject(r0);
|
|
145
|
+
}
|
|
146
|
+
} finally {
|
|
147
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
148
|
+
}
|
|
114
149
|
}
|
|
115
150
|
constructor() {
|
|
116
151
|
const ret = wasm.wasmengine_new();
|
|
117
|
-
this.__wbg_ptr = ret
|
|
152
|
+
this.__wbg_ptr = ret;
|
|
118
153
|
EngineFinalization.register(this, this.__wbg_ptr, this);
|
|
119
154
|
return this;
|
|
120
155
|
}
|
|
156
|
+
/**
|
|
157
|
+
* Loaded repositories (workspace and dependencies): `{ name, dependency }`.
|
|
158
|
+
* @returns {any}
|
|
159
|
+
*/
|
|
160
|
+
repositories() {
|
|
161
|
+
try {
|
|
162
|
+
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
163
|
+
wasm.wasmengine_repositories(retptr, this.__wbg_ptr);
|
|
164
|
+
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
165
|
+
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
166
|
+
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
167
|
+
if (r2) {
|
|
168
|
+
throw takeObject(r1);
|
|
169
|
+
}
|
|
170
|
+
return takeObject(r0);
|
|
171
|
+
} finally {
|
|
172
|
+
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
173
|
+
}
|
|
174
|
+
}
|
|
121
175
|
/**
|
|
122
176
|
* Evaluate spec. Returns [`crate::evaluation::Response`] as a JS object. Throws on planning/runtime error.
|
|
177
|
+
*
|
|
178
|
+
* `repository`: repository qualifier (`@org/pkg`), or `null`/empty for workspace (same as
|
|
179
|
+
* [`Engine::run`] `repo: None`).
|
|
180
|
+
* @param {string | null | undefined} repository
|
|
123
181
|
* @param {string} spec
|
|
124
182
|
* @param {any} rule_names
|
|
125
183
|
* @param {any} data_values
|
|
126
184
|
* @param {string | null} [effective]
|
|
127
185
|
* @returns {any}
|
|
128
186
|
*/
|
|
129
|
-
run(spec, rule_names, data_values, effective) {
|
|
187
|
+
run(repository, spec, rule_names, data_values, effective) {
|
|
130
188
|
try {
|
|
131
189
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
190
|
+
var ptr0 = isLikeNone(repository) ? 0 : passStringToWasm0(repository, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
191
|
+
var len0 = WASM_VECTOR_LEN;
|
|
192
|
+
const ptr1 = passStringToWasm0(spec, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
193
|
+
const len1 = WASM_VECTOR_LEN;
|
|
194
|
+
var ptr2 = isLikeNone(effective) ? 0 : passStringToWasm0(effective, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
195
|
+
var len2 = WASM_VECTOR_LEN;
|
|
196
|
+
wasm.wasmengine_run(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, addHeapObject(rule_names), addHeapObject(data_values), ptr2, len2);
|
|
137
197
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
138
198
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
139
199
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -147,18 +207,23 @@ export class Engine {
|
|
|
147
207
|
}
|
|
148
208
|
/**
|
|
149
209
|
* Planning schema for the spec ([`crate::planning::execution_plan::SpecSchema`]). Throws on error.
|
|
210
|
+
*
|
|
211
|
+
* `repository`: qualifier string or `null`/empty for workspace ([`Engine::schema`]).
|
|
212
|
+
* @param {string | null | undefined} repository
|
|
150
213
|
* @param {string} spec
|
|
151
214
|
* @param {string | null} [effective]
|
|
152
215
|
* @returns {any}
|
|
153
216
|
*/
|
|
154
|
-
schema(spec, effective) {
|
|
217
|
+
schema(repository, spec, effective) {
|
|
155
218
|
try {
|
|
156
219
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
220
|
+
var ptr0 = isLikeNone(repository) ? 0 : passStringToWasm0(repository, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
221
|
+
var len0 = WASM_VECTOR_LEN;
|
|
222
|
+
const ptr1 = passStringToWasm0(spec, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
223
|
+
const len1 = WASM_VECTOR_LEN;
|
|
224
|
+
var ptr2 = isLikeNone(effective) ? 0 : passStringToWasm0(effective, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
225
|
+
var len2 = WASM_VECTOR_LEN;
|
|
226
|
+
wasm.wasmengine_schema(retptr, this.__wbg_ptr, ptr0, len0, ptr1, len1, ptr2, len2);
|
|
162
227
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
163
228
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
164
229
|
var r2 = getDataViewMemory0().getInt32(retptr + 4 * 2, true);
|
|
@@ -301,7 +366,7 @@ export class ServerConfig {
|
|
|
301
366
|
*/
|
|
302
367
|
constructor(into_server, from_server) {
|
|
303
368
|
const ret = wasm.serverconfig_new(addHeapObject(into_server), addHeapObject(from_server));
|
|
304
|
-
this.__wbg_ptr = ret
|
|
369
|
+
this.__wbg_ptr = ret;
|
|
305
370
|
ServerConfigFinalization.register(this, this.__wbg_ptr, this);
|
|
306
371
|
return this;
|
|
307
372
|
}
|
|
@@ -323,7 +388,7 @@ export function serve(config) {
|
|
|
323
388
|
function __wbg_get_imports() {
|
|
324
389
|
const import0 = {
|
|
325
390
|
__proto__: null,
|
|
326
|
-
|
|
391
|
+
__wbg_Error_3639a60ed15f87e7: function(arg0, arg1) {
|
|
327
392
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
328
393
|
return addHeapObject(ret);
|
|
329
394
|
},
|
|
@@ -334,64 +399,64 @@ function __wbg_get_imports() {
|
|
|
334
399
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
335
400
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
336
401
|
},
|
|
337
|
-
|
|
402
|
+
__wbg___wbindgen_bigint_get_as_i64_3af6d4ca77193a4b: function(arg0, arg1) {
|
|
338
403
|
const v = getObject(arg1);
|
|
339
404
|
const ret = typeof(v) === 'bigint' ? v : undefined;
|
|
340
405
|
getDataViewMemory0().setBigInt64(arg0 + 8 * 1, isLikeNone(ret) ? BigInt(0) : ret, true);
|
|
341
406
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
342
407
|
},
|
|
343
|
-
|
|
408
|
+
__wbg___wbindgen_boolean_get_c3dd5c39f1b5a12b: function(arg0) {
|
|
344
409
|
const v = getObject(arg0);
|
|
345
410
|
const ret = typeof(v) === 'boolean' ? v : undefined;
|
|
346
411
|
return isLikeNone(ret) ? 0xFFFFFF : ret ? 1 : 0;
|
|
347
412
|
},
|
|
348
|
-
|
|
413
|
+
__wbg___wbindgen_debug_string_07cb72cfcc952e2b: function(arg0, arg1) {
|
|
349
414
|
const ret = debugString(getObject(arg1));
|
|
350
415
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
351
416
|
const len1 = WASM_VECTOR_LEN;
|
|
352
417
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
353
418
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
354
419
|
},
|
|
355
|
-
|
|
420
|
+
__wbg___wbindgen_in_2617fa76397620d3: function(arg0, arg1) {
|
|
356
421
|
const ret = getObject(arg0) in getObject(arg1);
|
|
357
422
|
return ret;
|
|
358
423
|
},
|
|
359
|
-
|
|
424
|
+
__wbg___wbindgen_is_bigint_d6a8167cac401b95: function(arg0) {
|
|
360
425
|
const ret = typeof(getObject(arg0)) === 'bigint';
|
|
361
426
|
return ret;
|
|
362
427
|
},
|
|
363
|
-
|
|
428
|
+
__wbg___wbindgen_is_function_2f0fd7ceb86e64c5: function(arg0) {
|
|
364
429
|
const ret = typeof(getObject(arg0)) === 'function';
|
|
365
430
|
return ret;
|
|
366
431
|
},
|
|
367
|
-
|
|
432
|
+
__wbg___wbindgen_is_null_066086be3abe9bb3: function(arg0) {
|
|
368
433
|
const ret = getObject(arg0) === null;
|
|
369
434
|
return ret;
|
|
370
435
|
},
|
|
371
|
-
|
|
436
|
+
__wbg___wbindgen_is_object_5b22ff2418063a9c: function(arg0) {
|
|
372
437
|
const val = getObject(arg0);
|
|
373
438
|
const ret = typeof(val) === 'object' && val !== null;
|
|
374
439
|
return ret;
|
|
375
440
|
},
|
|
376
|
-
|
|
441
|
+
__wbg___wbindgen_is_undefined_244a92c34d3b6ec0: function(arg0) {
|
|
377
442
|
const ret = getObject(arg0) === undefined;
|
|
378
443
|
return ret;
|
|
379
444
|
},
|
|
380
|
-
|
|
445
|
+
__wbg___wbindgen_jsval_eq_403eaa3610500a25: function(arg0, arg1) {
|
|
381
446
|
const ret = getObject(arg0) === getObject(arg1);
|
|
382
447
|
return ret;
|
|
383
448
|
},
|
|
384
|
-
|
|
449
|
+
__wbg___wbindgen_jsval_loose_eq_1978f1e77b4bce62: function(arg0, arg1) {
|
|
385
450
|
const ret = getObject(arg0) == getObject(arg1);
|
|
386
451
|
return ret;
|
|
387
452
|
},
|
|
388
|
-
|
|
453
|
+
__wbg___wbindgen_number_get_dd6d69a6079f26f1: function(arg0, arg1) {
|
|
389
454
|
const obj = getObject(arg1);
|
|
390
455
|
const ret = typeof(obj) === 'number' ? obj : undefined;
|
|
391
456
|
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
392
457
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
393
458
|
},
|
|
394
|
-
|
|
459
|
+
__wbg___wbindgen_string_get_965592073e5d848c: function(arg0, arg1) {
|
|
395
460
|
const obj = getObject(arg1);
|
|
396
461
|
const ret = typeof(obj) === 'string' ? obj : undefined;
|
|
397
462
|
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
@@ -399,54 +464,54 @@ function __wbg_get_imports() {
|
|
|
399
464
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
400
465
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
401
466
|
},
|
|
402
|
-
|
|
467
|
+
__wbg___wbindgen_throw_9c75d47bf9e7731e: function(arg0, arg1) {
|
|
403
468
|
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
404
469
|
},
|
|
405
|
-
|
|
470
|
+
__wbg__wbg_cb_unref_158e43e869788cdc: function(arg0) {
|
|
406
471
|
getObject(arg0)._wbg_cb_unref();
|
|
407
472
|
},
|
|
408
|
-
|
|
473
|
+
__wbg_buffer_9ee17426fe5a5d65: function(arg0) {
|
|
409
474
|
const ret = getObject(arg0).buffer;
|
|
410
475
|
return addHeapObject(ret);
|
|
411
476
|
},
|
|
412
|
-
|
|
477
|
+
__wbg_byobRequest_178b64c09a0bee03: function(arg0) {
|
|
413
478
|
const ret = getObject(arg0).byobRequest;
|
|
414
479
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
415
480
|
},
|
|
416
|
-
|
|
481
|
+
__wbg_byteLength_1f57c71e64ee0180: function(arg0) {
|
|
417
482
|
const ret = getObject(arg0).byteLength;
|
|
418
483
|
return ret;
|
|
419
484
|
},
|
|
420
|
-
|
|
485
|
+
__wbg_byteOffset_648d0af273024f3d: function(arg0) {
|
|
421
486
|
const ret = getObject(arg0).byteOffset;
|
|
422
487
|
return ret;
|
|
423
488
|
},
|
|
424
|
-
|
|
425
|
-
const ret = getObject(arg0).call(getObject(arg1));
|
|
489
|
+
__wbg_call_a41d6421b30a32c5: function() { return handleError(function (arg0, arg1, arg2) {
|
|
490
|
+
const ret = getObject(arg0).call(getObject(arg1), getObject(arg2));
|
|
426
491
|
return addHeapObject(ret);
|
|
427
492
|
}, arguments); },
|
|
428
|
-
|
|
429
|
-
const ret = getObject(arg0).call(getObject(arg1)
|
|
493
|
+
__wbg_call_add9e5a76382e668: function() { return handleError(function (arg0, arg1) {
|
|
494
|
+
const ret = getObject(arg0).call(getObject(arg1));
|
|
430
495
|
return addHeapObject(ret);
|
|
431
496
|
}, arguments); },
|
|
432
|
-
|
|
497
|
+
__wbg_close_63e009c5a75f5597: function() { return handleError(function (arg0) {
|
|
433
498
|
getObject(arg0).close();
|
|
434
499
|
}, arguments); },
|
|
435
|
-
|
|
500
|
+
__wbg_close_6ae478105d957001: function(arg0) {
|
|
436
501
|
const ret = getObject(arg0).close();
|
|
437
502
|
return addHeapObject(ret);
|
|
438
503
|
},
|
|
439
|
-
|
|
504
|
+
__wbg_close_de471367367aa5cb: function() { return handleError(function (arg0) {
|
|
440
505
|
getObject(arg0).close();
|
|
441
506
|
}, arguments); },
|
|
442
|
-
|
|
507
|
+
__wbg_done_b1afd6201ac045e0: function(arg0) {
|
|
443
508
|
const ret = getObject(arg0).done;
|
|
444
509
|
return ret;
|
|
445
510
|
},
|
|
446
|
-
|
|
511
|
+
__wbg_enqueue_6c7cd543c0f3828e: function() { return handleError(function (arg0, arg1) {
|
|
447
512
|
getObject(arg0).enqueue(getObject(arg1));
|
|
448
513
|
}, arguments); },
|
|
449
|
-
|
|
514
|
+
__wbg_entries_bb9843ba73dc70d6: function(arg0) {
|
|
450
515
|
const ret = Object.entries(getObject(arg0));
|
|
451
516
|
return addHeapObject(ret);
|
|
452
517
|
},
|
|
@@ -465,31 +530,31 @@ function __wbg_get_imports() {
|
|
|
465
530
|
const ret = fetch(getObject(arg0));
|
|
466
531
|
return addHeapObject(ret);
|
|
467
532
|
},
|
|
468
|
-
|
|
533
|
+
__wbg_getTime_e599bee315e19eba: function(arg0) {
|
|
469
534
|
const ret = getObject(arg0).getTime();
|
|
470
535
|
return ret;
|
|
471
536
|
},
|
|
472
|
-
|
|
537
|
+
__wbg_getTimezoneOffset_d843b3968046e734: function(arg0) {
|
|
473
538
|
const ret = getObject(arg0).getTimezoneOffset();
|
|
474
539
|
return ret;
|
|
475
540
|
},
|
|
476
|
-
|
|
541
|
+
__wbg_getWriter_4e204a4cedcc2e74: function() { return handleError(function (arg0) {
|
|
477
542
|
const ret = getObject(arg0).getWriter();
|
|
478
543
|
return addHeapObject(ret);
|
|
479
544
|
}, arguments); },
|
|
480
|
-
|
|
481
|
-
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
482
|
-
return addHeapObject(ret);
|
|
483
|
-
}, arguments); },
|
|
484
|
-
__wbg_get_8360291721e2339f: function(arg0, arg1) {
|
|
545
|
+
__wbg_get_652f640b3b0b6e3e: function(arg0, arg1) {
|
|
485
546
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
486
547
|
return addHeapObject(ret);
|
|
487
548
|
},
|
|
488
|
-
|
|
549
|
+
__wbg_get_9cfea9b7bbf12a15: function() { return handleError(function (arg0, arg1) {
|
|
550
|
+
const ret = Reflect.get(getObject(arg0), getObject(arg1));
|
|
551
|
+
return addHeapObject(ret);
|
|
552
|
+
}, arguments); },
|
|
553
|
+
__wbg_get_unchecked_be562b1421656321: function(arg0, arg1) {
|
|
489
554
|
const ret = getObject(arg0)[arg1 >>> 0];
|
|
490
555
|
return addHeapObject(ret);
|
|
491
556
|
},
|
|
492
|
-
|
|
557
|
+
__wbg_instanceof_ArrayBuffer_eab9f28fbec23477: function(arg0) {
|
|
493
558
|
let result;
|
|
494
559
|
try {
|
|
495
560
|
result = getObject(arg0) instanceof ArrayBuffer;
|
|
@@ -499,7 +564,7 @@ function __wbg_get_imports() {
|
|
|
499
564
|
const ret = result;
|
|
500
565
|
return ret;
|
|
501
566
|
},
|
|
502
|
-
|
|
567
|
+
__wbg_instanceof_Error_5e21755e9d9cbee5: function(arg0) {
|
|
503
568
|
let result;
|
|
504
569
|
try {
|
|
505
570
|
result = getObject(arg0) instanceof Error;
|
|
@@ -509,7 +574,7 @@ function __wbg_get_imports() {
|
|
|
509
574
|
const ret = result;
|
|
510
575
|
return ret;
|
|
511
576
|
},
|
|
512
|
-
|
|
577
|
+
__wbg_instanceof_Map_10d4edf60fcf9327: function(arg0) {
|
|
513
578
|
let result;
|
|
514
579
|
try {
|
|
515
580
|
result = getObject(arg0) instanceof Map;
|
|
@@ -519,7 +584,7 @@ function __wbg_get_imports() {
|
|
|
519
584
|
const ret = result;
|
|
520
585
|
return ret;
|
|
521
586
|
},
|
|
522
|
-
|
|
587
|
+
__wbg_instanceof_Response_370b83aa6c17e88a: function(arg0) {
|
|
523
588
|
let result;
|
|
524
589
|
try {
|
|
525
590
|
result = getObject(arg0) instanceof Response;
|
|
@@ -529,7 +594,7 @@ function __wbg_get_imports() {
|
|
|
529
594
|
const ret = result;
|
|
530
595
|
return ret;
|
|
531
596
|
},
|
|
532
|
-
|
|
597
|
+
__wbg_instanceof_Uint8Array_57d77acd50e4c44d: function(arg0) {
|
|
533
598
|
let result;
|
|
534
599
|
try {
|
|
535
600
|
result = getObject(arg0) instanceof Uint8Array;
|
|
@@ -539,43 +604,39 @@ function __wbg_get_imports() {
|
|
|
539
604
|
const ret = result;
|
|
540
605
|
return ret;
|
|
541
606
|
},
|
|
542
|
-
|
|
607
|
+
__wbg_isArray_c6c6ef8308995bcf: function(arg0) {
|
|
543
608
|
const ret = Array.isArray(getObject(arg0));
|
|
544
609
|
return ret;
|
|
545
610
|
},
|
|
546
|
-
|
|
611
|
+
__wbg_isSafeInteger_3c56c421a5b4cce4: function(arg0) {
|
|
547
612
|
const ret = Number.isSafeInteger(getObject(arg0));
|
|
548
613
|
return ret;
|
|
549
614
|
},
|
|
550
|
-
|
|
615
|
+
__wbg_iterator_9d68985a1d096fc2: function() {
|
|
551
616
|
const ret = Symbol.iterator;
|
|
552
617
|
return addHeapObject(ret);
|
|
553
618
|
},
|
|
554
|
-
|
|
619
|
+
__wbg_length_0a6ce016dc1460b0: function(arg0) {
|
|
555
620
|
const ret = getObject(arg0).length;
|
|
556
621
|
return ret;
|
|
557
622
|
},
|
|
558
|
-
|
|
623
|
+
__wbg_length_ba3c032602efe310: function(arg0) {
|
|
559
624
|
const ret = getObject(arg0).length;
|
|
560
625
|
return ret;
|
|
561
626
|
},
|
|
562
|
-
|
|
627
|
+
__wbg_message_d5628ca19de920d3: function(arg0) {
|
|
563
628
|
const ret = getObject(arg0).message;
|
|
564
629
|
return addHeapObject(ret);
|
|
565
630
|
},
|
|
566
|
-
|
|
631
|
+
__wbg_name_bf92195f4668ab6e: function(arg0) {
|
|
567
632
|
const ret = getObject(arg0).name;
|
|
568
633
|
return addHeapObject(ret);
|
|
569
634
|
},
|
|
570
|
-
|
|
635
|
+
__wbg_new_0_e486ec9936f7edbf: function() {
|
|
571
636
|
const ret = new Date();
|
|
572
637
|
return addHeapObject(ret);
|
|
573
638
|
},
|
|
574
|
-
|
|
575
|
-
const ret = new Uint8Array(getObject(arg0));
|
|
576
|
-
return addHeapObject(ret);
|
|
577
|
-
},
|
|
578
|
-
__wbg_new_15a4889b4b90734d: function() { return handleError(function () {
|
|
639
|
+
__wbg_new_18865c63fa645c6f: function() { return handleError(function () {
|
|
579
640
|
const ret = new Headers();
|
|
580
641
|
return addHeapObject(ret);
|
|
581
642
|
}, arguments); },
|
|
@@ -583,42 +644,46 @@ function __wbg_get_imports() {
|
|
|
583
644
|
const ret = new Error();
|
|
584
645
|
return addHeapObject(ret);
|
|
585
646
|
},
|
|
586
|
-
|
|
587
|
-
const ret = new
|
|
647
|
+
__wbg_new_2fad8ca02fd00684: function() {
|
|
648
|
+
const ret = new Object();
|
|
588
649
|
return addHeapObject(ret);
|
|
589
|
-
},
|
|
590
|
-
|
|
650
|
+
},
|
|
651
|
+
__wbg_new_353095b842ed0243: function() { return handleError(function (arg0, arg1) {
|
|
591
652
|
const ret = new URL(getStringFromWasm0(arg0, arg1));
|
|
592
653
|
return addHeapObject(ret);
|
|
593
654
|
}, arguments); },
|
|
594
|
-
|
|
595
|
-
const ret = new
|
|
655
|
+
__wbg_new_3baa8d9866155c79: function() {
|
|
656
|
+
const ret = new Array();
|
|
596
657
|
return addHeapObject(ret);
|
|
597
658
|
},
|
|
598
|
-
|
|
599
|
-
const ret = new
|
|
659
|
+
__wbg_new_8454eee672b2ba6e: function(arg0) {
|
|
660
|
+
const ret = new Uint8Array(getObject(arg0));
|
|
600
661
|
return addHeapObject(ret);
|
|
601
662
|
},
|
|
602
|
-
|
|
663
|
+
__wbg_new_b47e026ba742fe65: function(arg0) {
|
|
603
664
|
const ret = new Date(getObject(arg0));
|
|
604
665
|
return addHeapObject(ret);
|
|
605
666
|
},
|
|
606
|
-
|
|
607
|
-
const ret = new
|
|
667
|
+
__wbg_new_b5d37c8d97fe7433: function() { return handleError(function () {
|
|
668
|
+
const ret = new URLSearchParams();
|
|
669
|
+
return addHeapObject(ret);
|
|
670
|
+
}, arguments); },
|
|
671
|
+
__wbg_new_c9ea13ea803a692e: function(arg0, arg1) {
|
|
672
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
608
673
|
return addHeapObject(ret);
|
|
609
674
|
},
|
|
610
|
-
|
|
675
|
+
__wbg_new_from_slice_5a173c243af2e823: function(arg0, arg1) {
|
|
611
676
|
const ret = new Uint8Array(getArrayU8FromWasm0(arg0, arg1));
|
|
612
677
|
return addHeapObject(ret);
|
|
613
678
|
},
|
|
614
|
-
|
|
679
|
+
__wbg_new_typed_1137602701dc87d4: function(arg0, arg1) {
|
|
615
680
|
try {
|
|
616
681
|
var state0 = {a: arg0, b: arg1};
|
|
617
682
|
var cb0 = (arg0, arg1) => {
|
|
618
683
|
const a = state0.a;
|
|
619
684
|
state0.a = 0;
|
|
620
685
|
try {
|
|
621
|
-
return
|
|
686
|
+
return __wasm_bindgen_func_elem_10848(a, state0.b, arg0, arg1);
|
|
622
687
|
} finally {
|
|
623
688
|
state0.a = a;
|
|
624
689
|
}
|
|
@@ -629,85 +694,85 @@ function __wbg_get_imports() {
|
|
|
629
694
|
state0.a = 0;
|
|
630
695
|
}
|
|
631
696
|
},
|
|
632
|
-
|
|
697
|
+
__wbg_new_with_byte_offset_and_length_643e5e9e2fb6b1ad: function(arg0, arg1, arg2) {
|
|
633
698
|
const ret = new Uint8Array(getObject(arg0), arg1 >>> 0, arg2 >>> 0);
|
|
634
699
|
return addHeapObject(ret);
|
|
635
700
|
},
|
|
636
|
-
|
|
701
|
+
__wbg_new_with_str_04ead40979f92eb7: function() { return handleError(function (arg0, arg1) {
|
|
637
702
|
const ret = new Request(getStringFromWasm0(arg0, arg1));
|
|
638
703
|
return addHeapObject(ret);
|
|
639
704
|
}, arguments); },
|
|
640
|
-
|
|
705
|
+
__wbg_new_with_str_and_init_da311e12114f4d1e: function() { return handleError(function (arg0, arg1, arg2) {
|
|
641
706
|
const ret = new Request(getStringFromWasm0(arg0, arg1), getObject(arg2));
|
|
642
707
|
return addHeapObject(ret);
|
|
643
708
|
}, arguments); },
|
|
644
|
-
|
|
709
|
+
__wbg_next_261c3c48c6e309a5: function(arg0) {
|
|
710
|
+
const ret = getObject(arg0).next;
|
|
711
|
+
return addHeapObject(ret);
|
|
712
|
+
},
|
|
713
|
+
__wbg_next_aacee310bcfe6461: function() { return handleError(function (arg0) {
|
|
645
714
|
const ret = getObject(arg0).next();
|
|
646
715
|
return addHeapObject(ret);
|
|
647
716
|
}, arguments); },
|
|
648
|
-
|
|
717
|
+
__wbg_next_b0d4d11c3864b211: function() { return handleError(function (arg0) {
|
|
649
718
|
const ret = getObject(arg0).next();
|
|
650
719
|
return addHeapObject(ret);
|
|
651
720
|
}, arguments); },
|
|
652
|
-
|
|
653
|
-
const ret = getObject(arg0).next;
|
|
654
|
-
return addHeapObject(ret);
|
|
655
|
-
},
|
|
656
|
-
__wbg_ok_f7783a2e6ac7fe17: function(arg0) {
|
|
721
|
+
__wbg_ok_b6a9978bb5f66f33: function(arg0) {
|
|
657
722
|
const ret = getObject(arg0).ok;
|
|
658
723
|
return ret;
|
|
659
724
|
},
|
|
660
|
-
|
|
725
|
+
__wbg_parse_342d5616e14beccc: function() { return handleError(function (arg0, arg1) {
|
|
661
726
|
const ret = JSON.parse(getStringFromWasm0(arg0, arg1));
|
|
662
727
|
return addHeapObject(ret);
|
|
663
728
|
}, arguments); },
|
|
664
|
-
|
|
729
|
+
__wbg_prototypesetcall_fd4050e806e1d519: function(arg0, arg1, arg2) {
|
|
665
730
|
Uint8Array.prototype.set.call(getArrayU8FromWasm0(arg0, arg1), getObject(arg2));
|
|
666
731
|
},
|
|
667
|
-
|
|
732
|
+
__wbg_queueMicrotask_40ac6ffc2848ba77: function(arg0) {
|
|
668
733
|
queueMicrotask(getObject(arg0));
|
|
669
734
|
},
|
|
670
|
-
|
|
735
|
+
__wbg_queueMicrotask_74d092439f6494c1: function(arg0) {
|
|
671
736
|
const ret = getObject(arg0).queueMicrotask;
|
|
672
737
|
return addHeapObject(ret);
|
|
673
738
|
},
|
|
674
|
-
|
|
739
|
+
__wbg_ready_b150a27cb69ec6a6: function(arg0) {
|
|
675
740
|
const ret = getObject(arg0).ready;
|
|
676
741
|
return addHeapObject(ret);
|
|
677
742
|
},
|
|
678
|
-
|
|
743
|
+
__wbg_releaseLock_04cbeac9cbc74ee3: function(arg0) {
|
|
679
744
|
getObject(arg0).releaseLock();
|
|
680
745
|
},
|
|
681
|
-
|
|
746
|
+
__wbg_resolve_9feb5d906ca62419: function(arg0) {
|
|
682
747
|
const ret = Promise.resolve(getObject(arg0));
|
|
683
748
|
return addHeapObject(ret);
|
|
684
749
|
},
|
|
685
|
-
|
|
750
|
+
__wbg_respond_e7e53102735b2ae2: function() { return handleError(function (arg0, arg1) {
|
|
686
751
|
getObject(arg0).respond(arg1 >>> 0);
|
|
687
752
|
}, arguments); },
|
|
688
|
-
|
|
753
|
+
__wbg_search_8732029c10eaa56d: function(arg0, arg1) {
|
|
689
754
|
const ret = getObject(arg1).search;
|
|
690
755
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
691
756
|
const len1 = WASM_VECTOR_LEN;
|
|
692
757
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
693
758
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
694
759
|
},
|
|
695
|
-
|
|
696
|
-
getObject(arg0)[arg1
|
|
760
|
+
__wbg_set_6be42768c690e380: function(arg0, arg1, arg2) {
|
|
761
|
+
getObject(arg0)[takeObject(arg1)] = takeObject(arg2);
|
|
697
762
|
},
|
|
698
|
-
|
|
763
|
+
__wbg_set_b0d9dc239ecdb765: function(arg0, arg1, arg2) {
|
|
699
764
|
getObject(arg0).set(getArrayU8FromWasm0(arg1, arg2));
|
|
700
765
|
},
|
|
701
|
-
|
|
702
|
-
getObject(arg0)[
|
|
766
|
+
__wbg_set_f614f6a0608d1d1d: function(arg0, arg1, arg2) {
|
|
767
|
+
getObject(arg0)[arg1 >>> 0] = takeObject(arg2);
|
|
703
768
|
},
|
|
704
|
-
|
|
769
|
+
__wbg_set_headers_ae96049ea40e9eef: function(arg0, arg1) {
|
|
705
770
|
getObject(arg0).headers = getObject(arg1);
|
|
706
771
|
},
|
|
707
|
-
|
|
772
|
+
__wbg_set_method_0eea8a5597775fa1: function(arg0, arg1, arg2) {
|
|
708
773
|
getObject(arg0).method = getStringFromWasm0(arg1, arg2);
|
|
709
774
|
},
|
|
710
|
-
|
|
775
|
+
__wbg_set_search_8c49ab4b4f2f050b: function(arg0, arg1, arg2) {
|
|
711
776
|
getObject(arg0).search = getStringFromWasm0(arg1, arg2);
|
|
712
777
|
},
|
|
713
778
|
__wbg_stack_3b0d974bbf31e44f: function(arg0, arg1) {
|
|
@@ -717,73 +782,73 @@ function __wbg_get_imports() {
|
|
|
717
782
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
718
783
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
719
784
|
},
|
|
720
|
-
|
|
721
|
-
const ret = typeof
|
|
785
|
+
__wbg_static_accessor_GLOBAL_THIS_1c7f1bd6c6941fdb: function() {
|
|
786
|
+
const ret = typeof globalThis === 'undefined' ? null : globalThis;
|
|
722
787
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
723
788
|
},
|
|
724
|
-
|
|
725
|
-
const ret = typeof
|
|
789
|
+
__wbg_static_accessor_GLOBAL_e039bc914f83e74e: function() {
|
|
790
|
+
const ret = typeof global === 'undefined' ? null : global;
|
|
726
791
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
727
792
|
},
|
|
728
|
-
|
|
793
|
+
__wbg_static_accessor_SELF_8bf8c48c28420ad5: function() {
|
|
729
794
|
const ret = typeof self === 'undefined' ? null : self;
|
|
730
795
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
731
796
|
},
|
|
732
|
-
|
|
797
|
+
__wbg_static_accessor_WINDOW_6aeee9b51652ee0f: function() {
|
|
733
798
|
const ret = typeof window === 'undefined' ? null : window;
|
|
734
799
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
735
800
|
},
|
|
736
|
-
|
|
801
|
+
__wbg_status_157e67ab07d01f8a: function(arg0) {
|
|
737
802
|
const ret = getObject(arg0).status;
|
|
738
803
|
return ret;
|
|
739
804
|
},
|
|
740
|
-
|
|
805
|
+
__wbg_text_de416916b5c06490: function() { return handleError(function (arg0) {
|
|
741
806
|
const ret = getObject(arg0).text();
|
|
742
807
|
return addHeapObject(ret);
|
|
743
808
|
}, arguments); },
|
|
744
|
-
|
|
745
|
-
const ret = getObject(arg0).then(getObject(arg1)
|
|
809
|
+
__wbg_then_20a157d939b514f5: function(arg0, arg1) {
|
|
810
|
+
const ret = getObject(arg0).then(getObject(arg1));
|
|
746
811
|
return addHeapObject(ret);
|
|
747
812
|
},
|
|
748
|
-
|
|
749
|
-
const ret = getObject(arg0).then(getObject(arg1));
|
|
813
|
+
__wbg_then_5ef9b762bc91555c: function(arg0, arg1, arg2) {
|
|
814
|
+
const ret = getObject(arg0).then(getObject(arg1), getObject(arg2));
|
|
750
815
|
return addHeapObject(ret);
|
|
751
816
|
},
|
|
752
|
-
|
|
817
|
+
__wbg_toString_8d874489bad7e5a2: function(arg0) {
|
|
753
818
|
const ret = getObject(arg0).toString();
|
|
754
819
|
return addHeapObject(ret);
|
|
755
820
|
},
|
|
756
|
-
|
|
821
|
+
__wbg_toString_9ae74d2321992740: function(arg0) {
|
|
757
822
|
const ret = getObject(arg0).toString();
|
|
758
823
|
return addHeapObject(ret);
|
|
759
824
|
},
|
|
760
|
-
|
|
825
|
+
__wbg_url_2aff36265146308c: function(arg0, arg1) {
|
|
761
826
|
const ret = getObject(arg1).url;
|
|
762
827
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_export, wasm.__wbindgen_export2);
|
|
763
828
|
const len1 = WASM_VECTOR_LEN;
|
|
764
829
|
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
765
830
|
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
766
831
|
},
|
|
767
|
-
|
|
832
|
+
__wbg_value_f852716acdeb3e82: function(arg0) {
|
|
768
833
|
const ret = getObject(arg0).value;
|
|
769
834
|
return addHeapObject(ret);
|
|
770
835
|
},
|
|
771
|
-
|
|
836
|
+
__wbg_view_16bd97d49793e1a9: function(arg0) {
|
|
772
837
|
const ret = getObject(arg0).view;
|
|
773
838
|
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
774
839
|
},
|
|
775
|
-
|
|
840
|
+
__wbg_write_90f5a850267c3ec4: function(arg0, arg1) {
|
|
776
841
|
const ret = getObject(arg0).write(getObject(arg1));
|
|
777
842
|
return addHeapObject(ret);
|
|
778
843
|
},
|
|
779
844
|
__wbindgen_cast_0000000000000001: function(arg0, arg1) {
|
|
780
|
-
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx:
|
|
781
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
845
|
+
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [Externref], shim_idx: 1343, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
846
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_10830);
|
|
782
847
|
return addHeapObject(ret);
|
|
783
848
|
},
|
|
784
849
|
__wbindgen_cast_0000000000000002: function(arg0, arg1) {
|
|
785
850
|
// Cast intrinsic for `Closure(Closure { owned: true, function: Function { arguments: [NamedExternref("IteratorResult<any>")], shim_idx: 7, ret: Result(Unit), inner_ret: Some(Result(Unit)) }, mutable: true }) -> Externref`.
|
|
786
|
-
const ret = makeMutClosure(arg0, arg1,
|
|
851
|
+
const ret = makeMutClosure(arg0, arg1, __wasm_bindgen_func_elem_2759);
|
|
787
852
|
return addHeapObject(ret);
|
|
788
853
|
},
|
|
789
854
|
__wbindgen_cast_0000000000000003: function(arg0) {
|
|
@@ -820,10 +885,10 @@ function __wbg_get_imports() {
|
|
|
820
885
|
};
|
|
821
886
|
}
|
|
822
887
|
|
|
823
|
-
function
|
|
888
|
+
function __wasm_bindgen_func_elem_10830(arg0, arg1, arg2) {
|
|
824
889
|
try {
|
|
825
890
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
826
|
-
wasm.
|
|
891
|
+
wasm.__wasm_bindgen_func_elem_10830(retptr, arg0, arg1, addHeapObject(arg2));
|
|
827
892
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
828
893
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
829
894
|
if (r1) {
|
|
@@ -834,10 +899,10 @@ function __wasm_bindgen_func_elem_10702(arg0, arg1, arg2) {
|
|
|
834
899
|
}
|
|
835
900
|
}
|
|
836
901
|
|
|
837
|
-
function
|
|
902
|
+
function __wasm_bindgen_func_elem_2759(arg0, arg1, arg2) {
|
|
838
903
|
try {
|
|
839
904
|
const retptr = wasm.__wbindgen_add_to_stack_pointer(-16);
|
|
840
|
-
wasm.
|
|
905
|
+
wasm.__wasm_bindgen_func_elem_2759(retptr, arg0, arg1, addHeapObject(arg2));
|
|
841
906
|
var r0 = getDataViewMemory0().getInt32(retptr + 4 * 0, true);
|
|
842
907
|
var r1 = getDataViewMemory0().getInt32(retptr + 4 * 1, true);
|
|
843
908
|
if (r1) {
|
|
@@ -848,27 +913,27 @@ function __wasm_bindgen_func_elem_2761(arg0, arg1, arg2) {
|
|
|
848
913
|
}
|
|
849
914
|
}
|
|
850
915
|
|
|
851
|
-
function
|
|
852
|
-
wasm.
|
|
916
|
+
function __wasm_bindgen_func_elem_10848(arg0, arg1, arg2, arg3) {
|
|
917
|
+
wasm.__wasm_bindgen_func_elem_10848(arg0, arg1, addHeapObject(arg2), addHeapObject(arg3));
|
|
853
918
|
}
|
|
854
919
|
|
|
855
920
|
|
|
856
921
|
const __wbindgen_enum_ReadableStreamType = ["bytes"];
|
|
857
922
|
const IntoUnderlyingByteSourceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
858
923
|
? { register: () => {}, unregister: () => {} }
|
|
859
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr
|
|
924
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingbytesource_free(ptr, 1));
|
|
860
925
|
const IntoUnderlyingSinkFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
861
926
|
? { register: () => {}, unregister: () => {} }
|
|
862
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr
|
|
927
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsink_free(ptr, 1));
|
|
863
928
|
const IntoUnderlyingSourceFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
864
929
|
? { register: () => {}, unregister: () => {} }
|
|
865
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr
|
|
930
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_intounderlyingsource_free(ptr, 1));
|
|
866
931
|
const ServerConfigFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
867
932
|
? { register: () => {}, unregister: () => {} }
|
|
868
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_serverconfig_free(ptr
|
|
933
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_serverconfig_free(ptr, 1));
|
|
869
934
|
const EngineFinalization = (typeof FinalizationRegistry === 'undefined')
|
|
870
935
|
? { register: () => {}, unregister: () => {} }
|
|
871
|
-
: new FinalizationRegistry(ptr => wasm.__wbg_engine_free(ptr
|
|
936
|
+
: new FinalizationRegistry(ptr => wasm.__wbg_engine_free(ptr, 1));
|
|
872
937
|
|
|
873
938
|
function addHeapObject(obj) {
|
|
874
939
|
if (heap_next === heap.length) heap.push(heap.length + 1);
|
|
@@ -974,8 +1039,7 @@ function getDataViewMemory0() {
|
|
|
974
1039
|
}
|
|
975
1040
|
|
|
976
1041
|
function getStringFromWasm0(ptr, len) {
|
|
977
|
-
|
|
978
|
-
return decodeText(ptr, len);
|
|
1042
|
+
return decodeText(ptr >>> 0, len);
|
|
979
1043
|
}
|
|
980
1044
|
|
|
981
1045
|
let cachedUint8ArrayMemory0 = null;
|
|
@@ -1105,8 +1169,9 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
1105
1169
|
|
|
1106
1170
|
let WASM_VECTOR_LEN = 0;
|
|
1107
1171
|
|
|
1108
|
-
let wasmModule, wasm;
|
|
1172
|
+
let wasmModule, wasmInstance, wasm;
|
|
1109
1173
|
function __wbg_finalize_init(instance, module) {
|
|
1174
|
+
wasmInstance = instance;
|
|
1110
1175
|
wasm = instance.exports;
|
|
1111
1176
|
wasmModule = module;
|
|
1112
1177
|
cachedDataViewMemory0 = null;
|