@duckdb/duckdb-wasm-shell 1.29.1-dev21.0 → 1.29.1-dev222.0
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/img/duckdb_version_badge.svg +1 -1
- package/dist/shell.cjs +573 -578
- package/dist/shell.cjs.map +2 -2
- package/dist/shell.js +573 -578
- package/dist/shell.js.map +2 -2
- package/dist/shell.mjs +573 -578
- package/dist/shell.mjs.map +3 -3
- package/dist/shell_bg.wasm +0 -0
- package/package.json +2 -2
package/dist/shell.js
CHANGED
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
// package.json
|
|
34
34
|
var package_default = {
|
|
35
35
|
name: "@duckdb/duckdb-wasm-shell",
|
|
36
|
-
version: "1.29.1-
|
|
36
|
+
version: "1.29.1-dev222.0",
|
|
37
37
|
description: "",
|
|
38
38
|
author: "Andre Kohn <kohn.a@outlook.com>",
|
|
39
39
|
license: "MIT",
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"csv"
|
|
58
58
|
],
|
|
59
59
|
dependencies: {
|
|
60
|
-
"@duckdb/duckdb-wasm": "^1.29.1-
|
|
60
|
+
"@duckdb/duckdb-wasm": "^1.29.1-dev222.0",
|
|
61
61
|
xterm: "^5.3.0",
|
|
62
62
|
"xterm-addon-fit": "^0.8.0",
|
|
63
63
|
"xterm-addon-web-links": "^0.9.0",
|
|
@@ -125,55 +125,13 @@
|
|
|
125
125
|
var import_xterm_addon_webgl = __require("xterm-addon-webgl");
|
|
126
126
|
var import_meta = {};
|
|
127
127
|
var wasm;
|
|
128
|
-
var heap = new Array(128).fill(void 0);
|
|
129
|
-
heap.push(void 0, null, true, false);
|
|
130
|
-
function getObject(idx) {
|
|
131
|
-
return heap[idx];
|
|
132
|
-
}
|
|
133
|
-
var heap_next = heap.length;
|
|
134
|
-
function dropObject(idx) {
|
|
135
|
-
if (idx < 132)
|
|
136
|
-
return;
|
|
137
|
-
heap[idx] = heap_next;
|
|
138
|
-
heap_next = idx;
|
|
139
|
-
}
|
|
140
|
-
function takeObject(idx) {
|
|
141
|
-
const ret = getObject(idx);
|
|
142
|
-
dropObject(idx);
|
|
143
|
-
return ret;
|
|
144
|
-
}
|
|
145
|
-
function isLikeNone(x) {
|
|
146
|
-
return x === void 0 || x === null;
|
|
147
|
-
}
|
|
148
|
-
var cachedFloat64Memory0 = null;
|
|
149
|
-
function getFloat64Memory0() {
|
|
150
|
-
if (cachedFloat64Memory0 === null || cachedFloat64Memory0.byteLength === 0) {
|
|
151
|
-
cachedFloat64Memory0 = new Float64Array(wasm.memory.buffer);
|
|
152
|
-
}
|
|
153
|
-
return cachedFloat64Memory0;
|
|
154
|
-
}
|
|
155
|
-
var cachedInt32Memory0 = null;
|
|
156
|
-
function getInt32Memory0() {
|
|
157
|
-
if (cachedInt32Memory0 === null || cachedInt32Memory0.byteLength === 0) {
|
|
158
|
-
cachedInt32Memory0 = new Int32Array(wasm.memory.buffer);
|
|
159
|
-
}
|
|
160
|
-
return cachedInt32Memory0;
|
|
161
|
-
}
|
|
162
|
-
function addHeapObject(obj) {
|
|
163
|
-
if (heap_next === heap.length)
|
|
164
|
-
heap.push(heap.length + 1);
|
|
165
|
-
const idx = heap_next;
|
|
166
|
-
heap_next = heap[idx];
|
|
167
|
-
heap[idx] = obj;
|
|
168
|
-
return idx;
|
|
169
|
-
}
|
|
170
128
|
var WASM_VECTOR_LEN = 0;
|
|
171
|
-
var
|
|
172
|
-
function
|
|
173
|
-
if (
|
|
174
|
-
|
|
129
|
+
var cachedUint8ArrayMemory0 = null;
|
|
130
|
+
function getUint8ArrayMemory0() {
|
|
131
|
+
if (cachedUint8ArrayMemory0 === null || cachedUint8ArrayMemory0.byteLength === 0) {
|
|
132
|
+
cachedUint8ArrayMemory0 = new Uint8Array(wasm.memory.buffer);
|
|
175
133
|
}
|
|
176
|
-
return
|
|
134
|
+
return cachedUint8ArrayMemory0;
|
|
177
135
|
}
|
|
178
136
|
var cachedTextEncoder = typeof TextEncoder !== "undefined" ? new TextEncoder("utf-8") : { encode: () => {
|
|
179
137
|
throw Error("TextEncoder not available");
|
|
@@ -192,13 +150,13 @@
|
|
|
192
150
|
if (realloc === void 0) {
|
|
193
151
|
const buf = cachedTextEncoder.encode(arg);
|
|
194
152
|
const ptr2 = malloc(buf.length, 1) >>> 0;
|
|
195
|
-
|
|
153
|
+
getUint8ArrayMemory0().subarray(ptr2, ptr2 + buf.length).set(buf);
|
|
196
154
|
WASM_VECTOR_LEN = buf.length;
|
|
197
155
|
return ptr2;
|
|
198
156
|
}
|
|
199
157
|
let len = arg.length;
|
|
200
158
|
let ptr = malloc(len, 1) >>> 0;
|
|
201
|
-
const mem =
|
|
159
|
+
const mem = getUint8ArrayMemory0();
|
|
202
160
|
let offset = 0;
|
|
203
161
|
for (; offset < len; offset++) {
|
|
204
162
|
const code = arg.charCodeAt(offset);
|
|
@@ -211,13 +169,92 @@
|
|
|
211
169
|
arg = arg.slice(offset);
|
|
212
170
|
}
|
|
213
171
|
ptr = realloc(ptr, len, len = offset + arg.length * 3, 1) >>> 0;
|
|
214
|
-
const view =
|
|
172
|
+
const view = getUint8ArrayMemory0().subarray(ptr + offset, ptr + len);
|
|
215
173
|
const ret = encodeString(arg, view);
|
|
216
174
|
offset += ret.written;
|
|
175
|
+
ptr = realloc(ptr, len, offset, 1) >>> 0;
|
|
217
176
|
}
|
|
218
177
|
WASM_VECTOR_LEN = offset;
|
|
219
178
|
return ptr;
|
|
220
179
|
}
|
|
180
|
+
var cachedDataViewMemory0 = null;
|
|
181
|
+
function getDataViewMemory0() {
|
|
182
|
+
if (cachedDataViewMemory0 === null || cachedDataViewMemory0.buffer.detached === true || cachedDataViewMemory0.buffer.detached === void 0 && cachedDataViewMemory0.buffer !== wasm.memory.buffer) {
|
|
183
|
+
cachedDataViewMemory0 = new DataView(wasm.memory.buffer);
|
|
184
|
+
}
|
|
185
|
+
return cachedDataViewMemory0;
|
|
186
|
+
}
|
|
187
|
+
function addToExternrefTable0(obj) {
|
|
188
|
+
const idx = wasm.__externref_table_alloc();
|
|
189
|
+
wasm.__wbindgen_export_4.set(idx, obj);
|
|
190
|
+
return idx;
|
|
191
|
+
}
|
|
192
|
+
function handleError(f, args) {
|
|
193
|
+
try {
|
|
194
|
+
return f.apply(this, args);
|
|
195
|
+
} catch (e) {
|
|
196
|
+
const idx = addToExternrefTable0(e);
|
|
197
|
+
wasm.__wbindgen_exn_store(idx);
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
var cachedTextDecoder = typeof TextDecoder !== "undefined" ? new TextDecoder("utf-8", { ignoreBOM: true, fatal: true }) : { decode: () => {
|
|
201
|
+
throw Error("TextDecoder not available");
|
|
202
|
+
} };
|
|
203
|
+
if (typeof TextDecoder !== "undefined") {
|
|
204
|
+
cachedTextDecoder.decode();
|
|
205
|
+
}
|
|
206
|
+
function getStringFromWasm0(ptr, len) {
|
|
207
|
+
ptr = ptr >>> 0;
|
|
208
|
+
return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
|
|
209
|
+
}
|
|
210
|
+
var cachedUint32ArrayMemory0 = null;
|
|
211
|
+
function getUint32ArrayMemory0() {
|
|
212
|
+
if (cachedUint32ArrayMemory0 === null || cachedUint32ArrayMemory0.byteLength === 0) {
|
|
213
|
+
cachedUint32ArrayMemory0 = new Uint32Array(wasm.memory.buffer);
|
|
214
|
+
}
|
|
215
|
+
return cachedUint32ArrayMemory0;
|
|
216
|
+
}
|
|
217
|
+
function passArray32ToWasm0(arg, malloc) {
|
|
218
|
+
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
219
|
+
getUint32ArrayMemory0().set(arg, ptr / 4);
|
|
220
|
+
WASM_VECTOR_LEN = arg.length;
|
|
221
|
+
return ptr;
|
|
222
|
+
}
|
|
223
|
+
function isLikeNone(x) {
|
|
224
|
+
return x === void 0 || x === null;
|
|
225
|
+
}
|
|
226
|
+
function passArray8ToWasm0(arg, malloc) {
|
|
227
|
+
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
228
|
+
getUint8ArrayMemory0().set(arg, ptr / 1);
|
|
229
|
+
WASM_VECTOR_LEN = arg.length;
|
|
230
|
+
return ptr;
|
|
231
|
+
}
|
|
232
|
+
var CLOSURE_DTORS = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
233
|
+
}, unregister: () => {
|
|
234
|
+
} } : new FinalizationRegistry((state) => {
|
|
235
|
+
wasm.__wbindgen_export_6.get(state.dtor)(state.a, state.b);
|
|
236
|
+
});
|
|
237
|
+
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
238
|
+
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
239
|
+
const real = (...args) => {
|
|
240
|
+
state.cnt++;
|
|
241
|
+
const a = state.a;
|
|
242
|
+
state.a = 0;
|
|
243
|
+
try {
|
|
244
|
+
return f(a, state.b, ...args);
|
|
245
|
+
} finally {
|
|
246
|
+
if (--state.cnt === 0) {
|
|
247
|
+
wasm.__wbindgen_export_6.get(state.dtor)(a, state.b);
|
|
248
|
+
CLOSURE_DTORS.unregister(state);
|
|
249
|
+
} else {
|
|
250
|
+
state.a = a;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
};
|
|
254
|
+
real.original = state;
|
|
255
|
+
CLOSURE_DTORS.register(real, state, state);
|
|
256
|
+
return real;
|
|
257
|
+
}
|
|
221
258
|
function debugString(val) {
|
|
222
259
|
const type = typeof val;
|
|
223
260
|
if (type == "number" || type == "boolean" || val == null) {
|
|
@@ -256,7 +293,7 @@
|
|
|
256
293
|
}
|
|
257
294
|
const builtInMatches = /\[object ([^\]]+)\]/.exec(toString.call(val));
|
|
258
295
|
let className;
|
|
259
|
-
if (builtInMatches.length > 1) {
|
|
296
|
+
if (builtInMatches && builtInMatches.length > 1) {
|
|
260
297
|
className = builtInMatches[1];
|
|
261
298
|
} else {
|
|
262
299
|
return toString.call(val);
|
|
@@ -273,72 +310,15 @@
|
|
|
273
310
|
}
|
|
274
311
|
return className;
|
|
275
312
|
}
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
cachedTextDecoder.decode();
|
|
281
|
-
}
|
|
282
|
-
function getStringFromWasm0(ptr, len) {
|
|
283
|
-
ptr = ptr >>> 0;
|
|
284
|
-
return cachedTextDecoder.decode(getUint8Memory0().subarray(ptr, ptr + len));
|
|
285
|
-
}
|
|
286
|
-
function makeMutClosure(arg0, arg1, dtor, f) {
|
|
287
|
-
const state = { a: arg0, b: arg1, cnt: 1, dtor };
|
|
288
|
-
const real = (...args) => {
|
|
289
|
-
state.cnt++;
|
|
290
|
-
const a = state.a;
|
|
291
|
-
state.a = 0;
|
|
292
|
-
try {
|
|
293
|
-
return f(a, state.b, ...args);
|
|
294
|
-
} finally {
|
|
295
|
-
if (--state.cnt === 0) {
|
|
296
|
-
wasm.__wbindgen_export_2.get(state.dtor)(a, state.b);
|
|
297
|
-
} else {
|
|
298
|
-
state.a = a;
|
|
299
|
-
}
|
|
300
|
-
}
|
|
301
|
-
};
|
|
302
|
-
real.original = state;
|
|
303
|
-
return real;
|
|
304
|
-
}
|
|
305
|
-
function __wbg_adapter_22(arg0, arg1, arg2) {
|
|
306
|
-
const ret = wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__hddb5167cc04b5326(arg0, arg1, addHeapObject(arg2));
|
|
307
|
-
return ret !== 0;
|
|
308
|
-
}
|
|
309
|
-
function __wbg_adapter_25(arg0, arg1, arg2) {
|
|
310
|
-
wasm._dyn_core__ops__function__FnMut__A____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h21e86434f3007437(arg0, arg1, addHeapObject(arg2));
|
|
311
|
-
}
|
|
312
|
-
var cachedUint32Memory0 = null;
|
|
313
|
-
function getUint32Memory0() {
|
|
314
|
-
if (cachedUint32Memory0 === null || cachedUint32Memory0.byteLength === 0) {
|
|
315
|
-
cachedUint32Memory0 = new Uint32Array(wasm.memory.buffer);
|
|
316
|
-
}
|
|
317
|
-
return cachedUint32Memory0;
|
|
318
|
-
}
|
|
319
|
-
function passArray32ToWasm0(arg, malloc) {
|
|
320
|
-
const ptr = malloc(arg.length * 4, 4) >>> 0;
|
|
321
|
-
getUint32Memory0().set(arg, ptr / 4);
|
|
322
|
-
WASM_VECTOR_LEN = arg.length;
|
|
323
|
-
return ptr;
|
|
324
|
-
}
|
|
325
|
-
function passArray8ToWasm0(arg, malloc) {
|
|
326
|
-
const ptr = malloc(arg.length * 1, 1) >>> 0;
|
|
327
|
-
getUint8Memory0().set(arg, ptr / 1);
|
|
328
|
-
WASM_VECTOR_LEN = arg.length;
|
|
329
|
-
return ptr;
|
|
313
|
+
function takeFromExternrefTable0(idx) {
|
|
314
|
+
const value = wasm.__wbindgen_export_4.get(idx);
|
|
315
|
+
wasm.__externref_table_dealloc(idx);
|
|
316
|
+
return value;
|
|
330
317
|
}
|
|
331
318
|
function embed(elem, runtime, options) {
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
var r0 = getInt32Memory0()[retptr / 4 + 0];
|
|
336
|
-
var r1 = getInt32Memory0()[retptr / 4 + 1];
|
|
337
|
-
if (r1) {
|
|
338
|
-
throw takeObject(r0);
|
|
339
|
-
}
|
|
340
|
-
} finally {
|
|
341
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
319
|
+
const ret = wasm.embed(elem, runtime, options);
|
|
320
|
+
if (ret[1]) {
|
|
321
|
+
throw takeFromExternrefTable0(ret[0]);
|
|
342
322
|
}
|
|
343
323
|
}
|
|
344
324
|
function write(text) {
|
|
@@ -354,78 +334,75 @@
|
|
|
354
334
|
function resize(_width, _height) {
|
|
355
335
|
wasm.resize(_width, _height);
|
|
356
336
|
}
|
|
357
|
-
var stack_pointer = 128;
|
|
358
|
-
function addBorrowedObject(obj) {
|
|
359
|
-
if (stack_pointer == 1)
|
|
360
|
-
throw new Error("out of js stack");
|
|
361
|
-
heap[--stack_pointer] = obj;
|
|
362
|
-
return stack_pointer;
|
|
363
|
-
}
|
|
364
337
|
function loadHistory(history, cursor) {
|
|
365
|
-
|
|
366
|
-
wasm.loadHistory(addBorrowedObject(history), cursor);
|
|
367
|
-
} finally {
|
|
368
|
-
heap[stack_pointer++] = void 0;
|
|
369
|
-
}
|
|
338
|
+
wasm.loadHistory(history, cursor);
|
|
370
339
|
}
|
|
371
340
|
function passInitQueries(queries) {
|
|
372
|
-
const ret = wasm.passInitQueries(
|
|
373
|
-
return
|
|
341
|
+
const ret = wasm.passInitQueries(queries);
|
|
342
|
+
return ret;
|
|
374
343
|
}
|
|
375
344
|
function configureDatabase(db) {
|
|
376
|
-
const ret = wasm.configureDatabase(
|
|
377
|
-
return
|
|
345
|
+
const ret = wasm.configureDatabase(db);
|
|
346
|
+
return ret;
|
|
378
347
|
}
|
|
379
|
-
function
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
} catch (e) {
|
|
383
|
-
wasm.__wbindgen_exn_store(addHeapObject(e));
|
|
384
|
-
}
|
|
348
|
+
function __wbg_adapter_26(arg0, arg1, arg2) {
|
|
349
|
+
const ret = wasm.closure114_externref_shim(arg0, arg1, arg2);
|
|
350
|
+
return ret !== 0;
|
|
385
351
|
}
|
|
386
|
-
function
|
|
387
|
-
wasm.
|
|
352
|
+
function __wbg_adapter_29(arg0, arg1, arg2) {
|
|
353
|
+
wasm.closure177_externref_shim(arg0, arg1, arg2);
|
|
388
354
|
}
|
|
389
|
-
|
|
390
|
-
|
|
355
|
+
function __wbg_adapter_221(arg0, arg1, arg2, arg3) {
|
|
356
|
+
wasm.closure1172_externref_shim(arg0, arg1, arg2, arg3);
|
|
357
|
+
}
|
|
358
|
+
var ShellInputContext = Object.freeze({
|
|
359
|
+
FileInput: 0,
|
|
360
|
+
"0": "FileInput"
|
|
361
|
+
});
|
|
362
|
+
var WcWidth = Object.freeze({
|
|
363
|
+
Width0: 0,
|
|
364
|
+
"0": "Width0",
|
|
365
|
+
Width1: 1,
|
|
366
|
+
"1": "Width1",
|
|
367
|
+
Width2: 2,
|
|
368
|
+
"2": "Width2"
|
|
369
|
+
});
|
|
370
|
+
var DuckDBConfigFinalization = typeof FinalizationRegistry === "undefined" ? { register: () => {
|
|
371
|
+
}, unregister: () => {
|
|
372
|
+
} } : new FinalizationRegistry((ptr) => wasm.__wbg_duckdbconfig_free(ptr >>> 0, 1));
|
|
391
373
|
var DuckDBConfig = class _DuckDBConfig {
|
|
392
374
|
static __wrap(ptr) {
|
|
393
375
|
ptr = ptr >>> 0;
|
|
394
376
|
const obj = Object.create(_DuckDBConfig.prototype);
|
|
395
377
|
obj.__wbg_ptr = ptr;
|
|
378
|
+
DuckDBConfigFinalization.register(obj, obj.__wbg_ptr, obj);
|
|
396
379
|
return obj;
|
|
397
380
|
}
|
|
398
381
|
__destroy_into_raw() {
|
|
399
382
|
const ptr = this.__wbg_ptr;
|
|
400
383
|
this.__wbg_ptr = 0;
|
|
384
|
+
DuckDBConfigFinalization.unregister(this);
|
|
401
385
|
return ptr;
|
|
402
386
|
}
|
|
403
387
|
free() {
|
|
404
388
|
const ptr = this.__destroy_into_raw();
|
|
405
|
-
wasm.__wbg_duckdbconfig_free(ptr);
|
|
389
|
+
wasm.__wbg_duckdbconfig_free(ptr, 0);
|
|
406
390
|
}
|
|
407
391
|
/**
|
|
408
|
-
|
|
409
|
-
|
|
392
|
+
* @returns {string | undefined}
|
|
393
|
+
*/
|
|
410
394
|
get path() {
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
let v1;
|
|
417
|
-
if (r0 !== 0) {
|
|
418
|
-
v1 = getStringFromWasm0(r0, r1).slice();
|
|
419
|
-
wasm.__wbindgen_free(r0, r1 * 1);
|
|
420
|
-
}
|
|
421
|
-
return v1;
|
|
422
|
-
} finally {
|
|
423
|
-
wasm.__wbindgen_add_to_stack_pointer(16);
|
|
395
|
+
const ret = wasm.duckdbconfig_path(this.__wbg_ptr);
|
|
396
|
+
let v1;
|
|
397
|
+
if (ret[0] !== 0) {
|
|
398
|
+
v1 = getStringFromWasm0(ret[0], ret[1]).slice();
|
|
399
|
+
wasm.__wbindgen_free(ret[0], ret[1] * 1, 1);
|
|
424
400
|
}
|
|
401
|
+
return v1;
|
|
425
402
|
}
|
|
426
403
|
/**
|
|
427
|
-
|
|
428
|
-
|
|
404
|
+
* @param {string | null} [path]
|
|
405
|
+
*/
|
|
429
406
|
set path(path) {
|
|
430
407
|
var ptr0 = isLikeNone(path) ? 0 : passStringToWasm0(path, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
431
408
|
var len0 = WASM_VECTOR_LEN;
|
|
@@ -439,7 +416,7 @@
|
|
|
439
416
|
return await WebAssembly.instantiateStreaming(module, imports);
|
|
440
417
|
} catch (e) {
|
|
441
418
|
if (module.headers.get("Content-Type") != "application/wasm") {
|
|
442
|
-
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve
|
|
419
|
+
console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n", e);
|
|
443
420
|
} else {
|
|
444
421
|
throw e;
|
|
445
422
|
}
|
|
@@ -459,580 +436,598 @@
|
|
|
459
436
|
function __wbg_get_imports() {
|
|
460
437
|
const imports = {};
|
|
461
438
|
imports.wbg = {};
|
|
462
|
-
imports.wbg.
|
|
463
|
-
|
|
464
|
-
};
|
|
465
|
-
imports.wbg.__wbg_getFeatureFlags_9c3df152bef86fb8 = function() {
|
|
466
|
-
return handleError(function(arg0) {
|
|
467
|
-
const ret = getObject(arg0).getFeatureFlags();
|
|
468
|
-
return addHeapObject(ret);
|
|
469
|
-
}, arguments);
|
|
439
|
+
imports.wbg.__wbg_attachCustomKeyEventHandler_5c309ad8c2d6ff9c = function(arg0, arg1) {
|
|
440
|
+
arg0.attachCustomKeyEventHandler(arg1);
|
|
470
441
|
};
|
|
471
|
-
imports.wbg.
|
|
472
|
-
const
|
|
473
|
-
const
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
imports.wbg.__wbg_collectFileStatistics_e921aaaeffb34db1 = function() {
|
|
478
|
-
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
479
|
-
const ret = getObject(arg0).collectFileStatistics(getStringFromWasm0(arg1, arg2), arg3 !== 0);
|
|
480
|
-
return addHeapObject(ret);
|
|
481
|
-
}, arguments);
|
|
482
|
-
};
|
|
483
|
-
imports.wbg.__wbg_exportFileStatistics_6b72eb40ca2eb4d5 = function() {
|
|
484
|
-
return handleError(function(arg0, arg1, arg2) {
|
|
485
|
-
const ret = getObject(arg0).exportFileStatistics(getStringFromWasm0(arg1, arg2));
|
|
486
|
-
return addHeapObject(ret);
|
|
487
|
-
}, arguments);
|
|
488
|
-
};
|
|
489
|
-
imports.wbg.__wbg_construct_e68e1da98af9f9aa = function(arg0) {
|
|
490
|
-
const ret = new import_xterm.Terminal(getObject(arg0));
|
|
491
|
-
return addHeapObject(ret);
|
|
442
|
+
imports.wbg.__wbg_backgroundColor_51cf19ee7d4b277a = function(arg0, arg1) {
|
|
443
|
+
const ret = arg1.backgroundColor;
|
|
444
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
445
|
+
const len1 = WASM_VECTOR_LEN;
|
|
446
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
447
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
492
448
|
};
|
|
493
|
-
imports.wbg.
|
|
494
|
-
const ret =
|
|
449
|
+
imports.wbg.__wbg_bigInt64Array_c64b3751e74d5277 = function(arg0) {
|
|
450
|
+
const ret = arg0.bigInt64Array;
|
|
495
451
|
return ret;
|
|
496
452
|
};
|
|
497
|
-
imports.wbg.
|
|
498
|
-
const ret =
|
|
453
|
+
imports.wbg.__wbg_blockSize_cd30a6366d631ae8 = function(arg0) {
|
|
454
|
+
const ret = arg0.blockSize;
|
|
499
455
|
return ret;
|
|
500
456
|
};
|
|
501
|
-
imports.wbg.
|
|
502
|
-
|
|
457
|
+
imports.wbg.__wbg_blockStats_7e6019968a50af3b = function(arg0) {
|
|
458
|
+
const ret = arg0.blockStats;
|
|
459
|
+
return ret;
|
|
503
460
|
};
|
|
504
|
-
imports.wbg.
|
|
505
|
-
const ret =
|
|
506
|
-
return
|
|
461
|
+
imports.wbg.__wbg_buffer_609cc3eee51ed158 = function(arg0) {
|
|
462
|
+
const ret = arg0.buffer;
|
|
463
|
+
return ret;
|
|
507
464
|
};
|
|
508
|
-
imports.wbg.
|
|
509
|
-
|
|
465
|
+
imports.wbg.__wbg_call_672a4d21634d4a24 = function() {
|
|
466
|
+
return handleError(function(arg0, arg1) {
|
|
467
|
+
const ret = arg0.call(arg1);
|
|
468
|
+
return ret;
|
|
469
|
+
}, arguments);
|
|
510
470
|
};
|
|
511
|
-
imports.wbg.
|
|
471
|
+
imports.wbg.__wbg_call_7cccdd69e0791ae2 = function() {
|
|
512
472
|
return handleError(function(arg0, arg1, arg2) {
|
|
513
|
-
const ret =
|
|
514
|
-
return
|
|
473
|
+
const ret = arg0.call(arg1, arg2);
|
|
474
|
+
return ret;
|
|
515
475
|
}, arguments);
|
|
516
476
|
};
|
|
517
|
-
imports.wbg.
|
|
518
|
-
return handleError(function() {
|
|
519
|
-
const ret = (
|
|
520
|
-
return
|
|
477
|
+
imports.wbg.__wbg_collectFileStatistics_d40af29ff6fc8c95 = function() {
|
|
478
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
479
|
+
const ret = arg0.collectFileStatistics(getStringFromWasm0(arg1, arg2), arg3 !== 0);
|
|
480
|
+
return ret;
|
|
521
481
|
}, arguments);
|
|
522
482
|
};
|
|
523
|
-
imports.wbg.
|
|
524
|
-
const ret =
|
|
525
|
-
return ret;
|
|
526
|
-
};
|
|
527
|
-
imports.wbg.__wbg_crossOriginIsolated_f7f727dc97628776 = function(arg0) {
|
|
528
|
-
const ret = getObject(arg0).crossOriginIsolated;
|
|
529
|
-
return ret;
|
|
530
|
-
};
|
|
531
|
-
imports.wbg.__wbg_wasmThreads_cbe2eebf031b26d7 = function(arg0) {
|
|
532
|
-
const ret = getObject(arg0).wasmThreads;
|
|
483
|
+
imports.wbg.__wbg_cols_77a8050235d63c90 = function(arg0) {
|
|
484
|
+
const ret = arg0.cols;
|
|
533
485
|
return ret;
|
|
534
486
|
};
|
|
535
|
-
imports.wbg.
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
const ret = getObject(arg0).wasmBulkMemory;
|
|
541
|
-
return ret;
|
|
487
|
+
imports.wbg.__wbg_connectInternal_818454f7281c00df = function() {
|
|
488
|
+
return handleError(function(arg0) {
|
|
489
|
+
const ret = arg0.connectInternal();
|
|
490
|
+
return ret;
|
|
491
|
+
}, arguments);
|
|
542
492
|
};
|
|
543
|
-
imports.wbg.
|
|
544
|
-
const ret =
|
|
493
|
+
imports.wbg.__wbg_construct_036a353ca42f67b4 = function(arg0) {
|
|
494
|
+
const ret = new import_xterm.Terminal(arg0);
|
|
545
495
|
return ret;
|
|
546
496
|
};
|
|
547
|
-
imports.wbg.
|
|
497
|
+
imports.wbg.__wbg_copyFileToBuffer_83cb2af8941ca82a = function() {
|
|
548
498
|
return handleError(function(arg0, arg1, arg2) {
|
|
549
|
-
const ret =
|
|
550
|
-
return
|
|
499
|
+
const ret = arg0.copyFileToBuffer(getStringFromWasm0(arg1, arg2));
|
|
500
|
+
return ret;
|
|
551
501
|
}, arguments);
|
|
552
502
|
};
|
|
553
|
-
imports.wbg.
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
return addHeapObject(ret);
|
|
557
|
-
}, arguments);
|
|
503
|
+
imports.wbg.__wbg_crossOriginIsolated_0118e2417ec095ee = function(arg0) {
|
|
504
|
+
const ret = arg0.crossOriginIsolated;
|
|
505
|
+
return ret;
|
|
558
506
|
};
|
|
559
|
-
imports.wbg.
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
return addHeapObject(ret);
|
|
563
|
-
}, arguments);
|
|
507
|
+
imports.wbg.__wbg_ctrlKey_1e826e468105ac11 = function(arg0) {
|
|
508
|
+
const ret = arg0.ctrlKey;
|
|
509
|
+
return ret;
|
|
564
510
|
};
|
|
565
|
-
imports.wbg.
|
|
511
|
+
imports.wbg.__wbg_disconnect_92d81f4ec3f107ec = function() {
|
|
566
512
|
return handleError(function(arg0, arg1) {
|
|
567
|
-
const ret =
|
|
568
|
-
return
|
|
569
|
-
}, arguments);
|
|
570
|
-
};
|
|
571
|
-
imports.wbg.__wbg_getVersion_6fe922c9d7787e50 = function() {
|
|
572
|
-
return handleError(function(arg0) {
|
|
573
|
-
const ret = getObject(arg0).getVersion();
|
|
574
|
-
return addHeapObject(ret);
|
|
575
|
-
}, arguments);
|
|
576
|
-
};
|
|
577
|
-
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
578
|
-
const obj = getObject(arg1);
|
|
579
|
-
const ret = typeof obj === "string" ? obj : void 0;
|
|
580
|
-
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
581
|
-
var len1 = WASM_VECTOR_LEN;
|
|
582
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
583
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
584
|
-
};
|
|
585
|
-
imports.wbg.__wbg_connectInternal_21690058186ac42a = function() {
|
|
586
|
-
return handleError(function(arg0) {
|
|
587
|
-
const ret = getObject(arg0).connectInternal();
|
|
588
|
-
return addHeapObject(ret);
|
|
513
|
+
const ret = arg0.disconnect(arg1 >>> 0);
|
|
514
|
+
return ret;
|
|
589
515
|
}, arguments);
|
|
590
516
|
};
|
|
591
|
-
imports.wbg.
|
|
517
|
+
imports.wbg.__wbg_downloadFile_d0dec3d05b3a9f19 = function() {
|
|
592
518
|
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
593
|
-
const ret =
|
|
594
|
-
return
|
|
519
|
+
const ret = arg0.downloadFile(getStringFromWasm0(arg1, arg2), arg3);
|
|
520
|
+
return ret;
|
|
595
521
|
}, arguments);
|
|
596
522
|
};
|
|
597
|
-
imports.wbg.
|
|
523
|
+
imports.wbg.__wbg_dropFile_6eb68222192e72fc = function() {
|
|
598
524
|
return handleError(function(arg0, arg1, arg2) {
|
|
599
|
-
const ret =
|
|
600
|
-
return
|
|
525
|
+
const ret = arg0.dropFile(getStringFromWasm0(arg1, arg2));
|
|
526
|
+
return ret;
|
|
601
527
|
}, arguments);
|
|
602
528
|
};
|
|
603
|
-
imports.wbg.
|
|
529
|
+
imports.wbg.__wbg_dropFiles_8bf37b450b4de5ee = function() {
|
|
604
530
|
return handleError(function(arg0) {
|
|
605
|
-
const ret =
|
|
606
|
-
return
|
|
531
|
+
const ret = arg0.dropFiles();
|
|
532
|
+
return ret;
|
|
607
533
|
}, arguments);
|
|
608
534
|
};
|
|
609
|
-
imports.wbg.
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
535
|
+
imports.wbg.__wbg_error_7534b8e9a36f1ab4 = function(arg0, arg1) {
|
|
536
|
+
let deferred0_0;
|
|
537
|
+
let deferred0_1;
|
|
538
|
+
try {
|
|
539
|
+
deferred0_0 = arg0;
|
|
540
|
+
deferred0_1 = arg1;
|
|
541
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
542
|
+
} finally {
|
|
543
|
+
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
544
|
+
}
|
|
614
545
|
};
|
|
615
|
-
imports.wbg.
|
|
546
|
+
imports.wbg.__wbg_error_ebb9ec1bc5af2f31 = function(arg0, arg1) {
|
|
547
|
+
console.error(getStringFromWasm0(arg0, arg1));
|
|
548
|
+
};
|
|
549
|
+
imports.wbg.__wbg_exportFileStatistics_d52b61d6c201da1c = function() {
|
|
616
550
|
return handleError(function(arg0, arg1, arg2) {
|
|
617
|
-
const ret =
|
|
618
|
-
return
|
|
551
|
+
const ret = arg0.exportFileStatistics(getStringFromWasm0(arg1, arg2));
|
|
552
|
+
return ret;
|
|
619
553
|
}, arguments);
|
|
620
554
|
};
|
|
621
|
-
imports.wbg.
|
|
622
|
-
|
|
623
|
-
const ptr1 = passArray32ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
624
|
-
const len1 = WASM_VECTOR_LEN;
|
|
625
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
626
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
555
|
+
imports.wbg.__wbg_fit_0db5c78a2a85f563 = function(arg0) {
|
|
556
|
+
arg0.fit();
|
|
627
557
|
};
|
|
628
|
-
imports.wbg.
|
|
629
|
-
|
|
630
|
-
|
|
558
|
+
imports.wbg.__wbg_focus_dd92db4314c4db81 = function(arg0) {
|
|
559
|
+
arg0.focus();
|
|
560
|
+
};
|
|
561
|
+
imports.wbg.__wbg_fontFamily_cac93414dbe897cf = function(arg0, arg1) {
|
|
562
|
+
const ret = arg1.fontFamily;
|
|
563
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
631
564
|
const len1 = WASM_VECTOR_LEN;
|
|
632
|
-
|
|
633
|
-
|
|
565
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
566
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
634
567
|
};
|
|
635
|
-
imports.wbg.
|
|
568
|
+
imports.wbg.__wbg_getFeatureFlags_14afaddbcef26858 = function() {
|
|
636
569
|
return handleError(function(arg0) {
|
|
637
|
-
const ret =
|
|
638
|
-
return
|
|
570
|
+
const ret = arg0.getFeatureFlags();
|
|
571
|
+
return ret;
|
|
639
572
|
}, arguments);
|
|
640
573
|
};
|
|
641
|
-
imports.wbg.
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
};
|
|
647
|
-
imports.wbg.__wbg_blockStats_14f17a14c4573f3d = function(arg0) {
|
|
648
|
-
const ret = getObject(arg0).blockStats;
|
|
649
|
-
return addHeapObject(ret);
|
|
650
|
-
};
|
|
651
|
-
imports.wbg.__wbg_totalFileWrites_1b38029d29f47d43 = function(arg0) {
|
|
652
|
-
const ret = getObject(arg0).totalFileWrites;
|
|
653
|
-
return addHeapObject(ret);
|
|
654
|
-
};
|
|
655
|
-
imports.wbg.__wbg_totalFileReadsAhead_02c25545b2f63323 = function(arg0) {
|
|
656
|
-
const ret = getObject(arg0).totalFileReadsAhead;
|
|
657
|
-
return addHeapObject(ret);
|
|
658
|
-
};
|
|
659
|
-
imports.wbg.__wbg_totalFileReadsCold_304476ed0c49e111 = function(arg0) {
|
|
660
|
-
const ret = getObject(arg0).totalFileReadsCold;
|
|
661
|
-
return addHeapObject(ret);
|
|
662
|
-
};
|
|
663
|
-
imports.wbg.__wbg_totalFileReadsCached_2e8edfe7dbf14351 = function(arg0) {
|
|
664
|
-
const ret = getObject(arg0).totalFileReadsCached;
|
|
665
|
-
return addHeapObject(ret);
|
|
666
|
-
};
|
|
667
|
-
imports.wbg.__wbg_totalPageAccesses_2f654448ea273878 = function(arg0) {
|
|
668
|
-
const ret = getObject(arg0).totalPageAccesses;
|
|
669
|
-
return addHeapObject(ret);
|
|
574
|
+
imports.wbg.__wbg_getPlatformFeatures_40454c7f78791eb6 = function() {
|
|
575
|
+
return handleError(function() {
|
|
576
|
+
const ret = (0, import_duckdb_wasm.getPlatformFeatures)();
|
|
577
|
+
return ret;
|
|
578
|
+
}, arguments);
|
|
670
579
|
};
|
|
671
|
-
imports.wbg.
|
|
672
|
-
|
|
673
|
-
|
|
580
|
+
imports.wbg.__wbg_getVersion_32486a199e795762 = function() {
|
|
581
|
+
return handleError(function(arg0) {
|
|
582
|
+
const ret = arg0.getVersion();
|
|
583
|
+
return ret;
|
|
584
|
+
}, arguments);
|
|
674
585
|
};
|
|
675
|
-
imports.wbg.
|
|
676
|
-
const ret =
|
|
677
|
-
return
|
|
586
|
+
imports.wbg.__wbg_get_b9b93047fe3cf45b = function(arg0, arg1) {
|
|
587
|
+
const ret = arg0[arg1 >>> 0];
|
|
588
|
+
return ret;
|
|
678
589
|
};
|
|
679
|
-
imports.wbg.
|
|
680
|
-
return handleError(function(arg0, arg1) {
|
|
681
|
-
const ret =
|
|
682
|
-
return
|
|
590
|
+
imports.wbg.__wbg_globFiles_542704d623854358 = function() {
|
|
591
|
+
return handleError(function(arg0, arg1, arg2) {
|
|
592
|
+
const ret = arg0.globFiles(getStringFromWasm0(arg1, arg2));
|
|
593
|
+
return ret;
|
|
683
594
|
}, arguments);
|
|
684
595
|
};
|
|
685
|
-
imports.wbg.
|
|
596
|
+
imports.wbg.__wbg_instanceof_WebLinksAddon_3750ea42996e2252 = function(arg0) {
|
|
686
597
|
let result;
|
|
687
598
|
try {
|
|
688
|
-
result =
|
|
689
|
-
} catch (
|
|
599
|
+
result = arg0 instanceof import_xterm_addon_web_links.WebLinksAddon;
|
|
600
|
+
} catch (_) {
|
|
690
601
|
result = false;
|
|
691
602
|
}
|
|
692
603
|
const ret = result;
|
|
693
604
|
return ret;
|
|
694
605
|
};
|
|
695
|
-
imports.wbg.
|
|
606
|
+
imports.wbg.__wbg_instanceof_WebglAddon_d96a60a43cae1674 = function(arg0) {
|
|
696
607
|
let result;
|
|
697
608
|
try {
|
|
698
|
-
result =
|
|
699
|
-
} catch (
|
|
609
|
+
result = arg0 instanceof import_xterm_addon_webgl.WebglAddon;
|
|
610
|
+
} catch (_) {
|
|
700
611
|
result = false;
|
|
701
612
|
}
|
|
702
613
|
const ret = result;
|
|
703
614
|
return ret;
|
|
704
615
|
};
|
|
705
|
-
imports.wbg.
|
|
706
|
-
|
|
616
|
+
imports.wbg.__wbg_instanceof_Window_def73ea0955fc569 = function(arg0) {
|
|
617
|
+
let result;
|
|
618
|
+
try {
|
|
619
|
+
result = arg0 instanceof Window;
|
|
620
|
+
} catch (_) {
|
|
621
|
+
result = false;
|
|
622
|
+
}
|
|
623
|
+
const ret = result;
|
|
624
|
+
return ret;
|
|
625
|
+
};
|
|
626
|
+
imports.wbg.__wbg_key_7b5c6cb539be8e13 = function(arg0, arg1) {
|
|
627
|
+
const ret = arg1.key;
|
|
628
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
629
|
+
const len1 = WASM_VECTOR_LEN;
|
|
630
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
631
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
632
|
+
};
|
|
633
|
+
imports.wbg.__wbg_length_a446193dc22c12f8 = function(arg0) {
|
|
634
|
+
const ret = arg0.length;
|
|
635
|
+
return ret;
|
|
636
|
+
};
|
|
637
|
+
imports.wbg.__wbg_length_e2d2a49132c1b256 = function(arg0) {
|
|
638
|
+
const ret = arg0.length;
|
|
639
|
+
return ret;
|
|
707
640
|
};
|
|
708
|
-
imports.wbg.
|
|
709
|
-
|
|
641
|
+
imports.wbg.__wbg_loadAddon_143d540bb5725490 = function(arg0, arg1) {
|
|
642
|
+
arg0.loadAddon(arg1);
|
|
710
643
|
};
|
|
711
|
-
imports.wbg.
|
|
712
|
-
|
|
644
|
+
imports.wbg.__wbg_log_33ef14fd0c9ec1a3 = function(arg0, arg1) {
|
|
645
|
+
console.log(getStringFromWasm0(arg0, arg1));
|
|
713
646
|
};
|
|
714
|
-
imports.wbg.
|
|
715
|
-
|
|
647
|
+
imports.wbg.__wbg_message_97a2af9b89d693a3 = function(arg0) {
|
|
648
|
+
const ret = arg0.message;
|
|
649
|
+
return ret;
|
|
716
650
|
};
|
|
717
|
-
imports.wbg.
|
|
718
|
-
|
|
651
|
+
imports.wbg.__wbg_metaKey_e1dd47d709a80ce5 = function(arg0) {
|
|
652
|
+
const ret = arg0.metaKey;
|
|
653
|
+
return ret;
|
|
654
|
+
};
|
|
655
|
+
imports.wbg.__wbg_new_23a2665fac83c611 = function(arg0, arg1) {
|
|
656
|
+
try {
|
|
657
|
+
var state0 = { a: arg0, b: arg1 };
|
|
658
|
+
var cb0 = (arg02, arg12) => {
|
|
659
|
+
const a = state0.a;
|
|
660
|
+
state0.a = 0;
|
|
661
|
+
try {
|
|
662
|
+
return __wbg_adapter_221(a, state0.b, arg02, arg12);
|
|
663
|
+
} finally {
|
|
664
|
+
state0.a = a;
|
|
665
|
+
}
|
|
666
|
+
};
|
|
667
|
+
const ret = new Promise(cb0);
|
|
668
|
+
return ret;
|
|
669
|
+
} finally {
|
|
670
|
+
state0.a = state0.b = 0;
|
|
671
|
+
}
|
|
719
672
|
};
|
|
720
|
-
imports.wbg.
|
|
721
|
-
|
|
673
|
+
imports.wbg.__wbg_new_405e22f390576ce2 = function() {
|
|
674
|
+
const ret = new Object();
|
|
675
|
+
return ret;
|
|
722
676
|
};
|
|
723
|
-
imports.wbg.
|
|
724
|
-
|
|
677
|
+
imports.wbg.__wbg_new_7890702e2f921af0 = function(arg0) {
|
|
678
|
+
const ret = new import_xterm_addon_webgl.WebglAddon(arg0 === 16777215 ? void 0 : arg0 !== 0);
|
|
679
|
+
return ret;
|
|
725
680
|
};
|
|
726
|
-
imports.wbg.
|
|
727
|
-
|
|
681
|
+
imports.wbg.__wbg_new_7c075f00f439f1e0 = function() {
|
|
682
|
+
const ret = new import_xterm_addon_fit.FitAddon();
|
|
683
|
+
return ret;
|
|
728
684
|
};
|
|
729
|
-
imports.wbg.
|
|
730
|
-
|
|
685
|
+
imports.wbg.__wbg_new_8a6f238a6ece86ea = function() {
|
|
686
|
+
const ret = new Error();
|
|
687
|
+
return ret;
|
|
731
688
|
};
|
|
732
|
-
imports.wbg.
|
|
733
|
-
|
|
689
|
+
imports.wbg.__wbg_new_a12002a7f91c75be = function(arg0) {
|
|
690
|
+
const ret = new Uint8Array(arg0);
|
|
691
|
+
return ret;
|
|
734
692
|
};
|
|
735
|
-
imports.wbg.
|
|
736
|
-
|
|
693
|
+
imports.wbg.__wbg_new_c2ccb7a35264c397 = function(arg0, arg1, arg2) {
|
|
694
|
+
const ret = new import_xterm_addon_web_links.WebLinksAddon(arg0, arg1, arg2 === 16777215 ? void 0 : arg2 !== 0);
|
|
695
|
+
return ret;
|
|
737
696
|
};
|
|
738
|
-
imports.wbg.
|
|
739
|
-
|
|
697
|
+
imports.wbg.__wbg_new_c68d7209be747379 = function(arg0, arg1) {
|
|
698
|
+
const ret = new Error(getStringFromWasm0(arg0, arg1));
|
|
699
|
+
return ret;
|
|
740
700
|
};
|
|
741
|
-
imports.wbg.
|
|
742
|
-
const ret =
|
|
743
|
-
|
|
744
|
-
const len1 = WASM_VECTOR_LEN;
|
|
745
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
746
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
701
|
+
imports.wbg.__wbg_newnoargs_105ed471475aaf50 = function(arg0, arg1) {
|
|
702
|
+
const ret = new Function(getStringFromWasm0(arg0, arg1));
|
|
703
|
+
return ret;
|
|
747
704
|
};
|
|
748
|
-
imports.wbg.
|
|
749
|
-
const ret =
|
|
750
|
-
|
|
705
|
+
imports.wbg.__wbg_now_d18023d54d4e5500 = function(arg0) {
|
|
706
|
+
const ret = arg0.now();
|
|
707
|
+
return ret;
|
|
708
|
+
};
|
|
709
|
+
imports.wbg.__wbg_offsets_9a0c43647dfe8174 = function(arg0, arg1) {
|
|
710
|
+
const ret = arg1.offsets;
|
|
711
|
+
const ptr1 = passArray32ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
751
712
|
const len1 = WASM_VECTOR_LEN;
|
|
752
|
-
|
|
753
|
-
|
|
713
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
714
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
754
715
|
};
|
|
755
|
-
imports.wbg.
|
|
756
|
-
|
|
716
|
+
imports.wbg.__wbg_open_89ca330653f2b749 = function() {
|
|
717
|
+
return handleError(function(arg0, arg1) {
|
|
718
|
+
const ret = arg0.open(DuckDBConfig.__wrap(arg1));
|
|
719
|
+
return ret;
|
|
720
|
+
}, arguments);
|
|
757
721
|
};
|
|
758
|
-
imports.wbg.
|
|
759
|
-
|
|
722
|
+
imports.wbg.__wbg_open_ea472ea5209b0983 = function(arg0, arg1) {
|
|
723
|
+
arg0.open(arg1);
|
|
760
724
|
};
|
|
761
|
-
imports.wbg.
|
|
762
|
-
const ret =
|
|
763
|
-
return
|
|
725
|
+
imports.wbg.__wbg_performance_c185c0cdc2766575 = function(arg0) {
|
|
726
|
+
const ret = arg0.performance;
|
|
727
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
764
728
|
};
|
|
765
|
-
imports.wbg.
|
|
766
|
-
|
|
767
|
-
|
|
729
|
+
imports.wbg.__wbg_pickFiles_c443e685aed27e4f = function() {
|
|
730
|
+
return handleError(function(arg0) {
|
|
731
|
+
const ret = arg0.pickFiles();
|
|
732
|
+
return ret;
|
|
733
|
+
}, arguments);
|
|
768
734
|
};
|
|
769
|
-
imports.wbg.
|
|
770
|
-
|
|
735
|
+
imports.wbg.__wbg_pushInputToHistory_1549e9c17621ffd1 = function() {
|
|
736
|
+
return handleError(function(arg0, arg1, arg2) {
|
|
737
|
+
const ret = arg0.pushInputToHistory(getStringFromWasm0(arg1, arg2));
|
|
738
|
+
return ret;
|
|
739
|
+
}, arguments);
|
|
771
740
|
};
|
|
772
|
-
imports.wbg.
|
|
773
|
-
|
|
741
|
+
imports.wbg.__wbg_queueMicrotask_97d92b4fcc8a61c5 = function(arg0) {
|
|
742
|
+
queueMicrotask(arg0);
|
|
774
743
|
};
|
|
775
|
-
imports.wbg.
|
|
776
|
-
|
|
744
|
+
imports.wbg.__wbg_queueMicrotask_d3219def82552485 = function(arg0) {
|
|
745
|
+
const ret = arg0.queueMicrotask;
|
|
746
|
+
return ret;
|
|
777
747
|
};
|
|
778
|
-
imports.wbg.
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
748
|
+
imports.wbg.__wbg_readClipboardText_731ab326db907631 = function() {
|
|
749
|
+
return handleError(function(arg0) {
|
|
750
|
+
const ret = arg0.readClipboardText();
|
|
751
|
+
return ret;
|
|
752
|
+
}, arguments);
|
|
753
|
+
};
|
|
754
|
+
imports.wbg.__wbg_registerOPFSFileName_1ac109036d40476f = function() {
|
|
755
|
+
return handleError(function(arg0, arg1, arg2) {
|
|
756
|
+
const ret = arg0.registerOPFSFileName(getStringFromWasm0(arg1, arg2));
|
|
757
|
+
return ret;
|
|
758
|
+
}, arguments);
|
|
759
|
+
};
|
|
760
|
+
imports.wbg.__wbg_resolve_4851785c9c5f573d = function(arg0) {
|
|
761
|
+
const ret = Promise.resolve(arg0);
|
|
785
762
|
return ret;
|
|
786
763
|
};
|
|
787
|
-
imports.wbg.
|
|
788
|
-
|
|
789
|
-
|
|
764
|
+
imports.wbg.__wbg_runQuery_dd923bfcee4eae4d = function() {
|
|
765
|
+
return handleError(function(arg0, arg1, arg2, arg3) {
|
|
766
|
+
const ret = arg0.runQuery(arg1 >>> 0, getStringFromWasm0(arg2, arg3));
|
|
767
|
+
return ret;
|
|
768
|
+
}, arguments);
|
|
790
769
|
};
|
|
791
|
-
imports.wbg.
|
|
792
|
-
|
|
793
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
794
|
-
const len1 = WASM_VECTOR_LEN;
|
|
795
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
796
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
770
|
+
imports.wbg.__wbg_set_65595bdd868b3009 = function(arg0, arg1, arg2) {
|
|
771
|
+
arg0.set(arg1, arg2 >>> 0);
|
|
797
772
|
};
|
|
798
|
-
imports.wbg.
|
|
799
|
-
|
|
800
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
801
|
-
const len1 = WASM_VECTOR_LEN;
|
|
802
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
803
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
773
|
+
imports.wbg.__wbg_setallowProposedApi_1e56ae3768e93420 = function(arg0, arg1) {
|
|
774
|
+
arg0.allowProposedApi = arg1 !== 0;
|
|
804
775
|
};
|
|
805
|
-
imports.wbg.
|
|
806
|
-
|
|
807
|
-
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
808
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
809
|
-
const len1 = WASM_VECTOR_LEN;
|
|
810
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
811
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
776
|
+
imports.wbg.__wbg_setbackground_94f13d2866b2e31b = function(arg0, arg1, arg2) {
|
|
777
|
+
arg0.background = getStringFromWasm0(arg1, arg2);
|
|
812
778
|
};
|
|
813
|
-
imports.wbg.
|
|
814
|
-
|
|
815
|
-
return addHeapObject(ret);
|
|
779
|
+
imports.wbg.__wbg_setbrightYellow_5858b72099992f03 = function(arg0, arg1, arg2) {
|
|
780
|
+
arg0.brightYellow = getStringFromWasm0(arg1, arg2);
|
|
816
781
|
};
|
|
817
|
-
imports.wbg.
|
|
818
|
-
|
|
819
|
-
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
820
|
-
const len1 = WASM_VECTOR_LEN;
|
|
821
|
-
getInt32Memory0()[arg0 / 4 + 1] = len1;
|
|
822
|
-
getInt32Memory0()[arg0 / 4 + 0] = ptr1;
|
|
782
|
+
imports.wbg.__wbg_setcursorBlink_850e871d6bcda748 = function(arg0, arg1) {
|
|
783
|
+
arg0.cursorBlink = arg1 !== 0;
|
|
823
784
|
};
|
|
824
|
-
imports.wbg.
|
|
825
|
-
|
|
826
|
-
let deferred0_1;
|
|
827
|
-
try {
|
|
828
|
-
deferred0_0 = arg0;
|
|
829
|
-
deferred0_1 = arg1;
|
|
830
|
-
console.error(getStringFromWasm0(arg0, arg1));
|
|
831
|
-
} finally {
|
|
832
|
-
wasm.__wbindgen_free(deferred0_0, deferred0_1, 1);
|
|
833
|
-
}
|
|
785
|
+
imports.wbg.__wbg_setcursorWidth_7899d7d19308befe = function(arg0, arg1) {
|
|
786
|
+
arg0.cursorWidth = arg1 >>> 0;
|
|
834
787
|
};
|
|
835
|
-
imports.wbg.
|
|
836
|
-
|
|
837
|
-
try {
|
|
838
|
-
result = getObject(arg0) instanceof Window;
|
|
839
|
-
} catch (e) {
|
|
840
|
-
result = false;
|
|
841
|
-
}
|
|
842
|
-
const ret = result;
|
|
843
|
-
return ret;
|
|
788
|
+
imports.wbg.__wbg_setdrawBoldTextInBrightColors_c3276731d7662d87 = function(arg0, arg1) {
|
|
789
|
+
arg0.drawBoldTextInBrightColors = arg1 !== 0;
|
|
844
790
|
};
|
|
845
|
-
imports.wbg.
|
|
846
|
-
|
|
847
|
-
return isLikeNone(ret) ? 0 : addHeapObject(ret);
|
|
791
|
+
imports.wbg.__wbg_setfontFamily_f2837e56dcf1e5a4 = function(arg0, arg1, arg2) {
|
|
792
|
+
arg0.fontFamily = getStringFromWasm0(arg1, arg2);
|
|
848
793
|
};
|
|
849
|
-
imports.wbg.
|
|
850
|
-
|
|
851
|
-
return ret;
|
|
794
|
+
imports.wbg.__wbg_setfontSize_7d8e3357cbc2a6ac = function(arg0, arg1) {
|
|
795
|
+
arg0.fontSize = arg1 >>> 0;
|
|
852
796
|
};
|
|
853
|
-
imports.wbg.
|
|
854
|
-
|
|
855
|
-
|
|
797
|
+
imports.wbg.__wbg_setforeground_bbda7a714f8f4254 = function(arg0, arg1, arg2) {
|
|
798
|
+
arg0.foreground = getStringFromWasm0(arg1, arg2);
|
|
799
|
+
};
|
|
800
|
+
imports.wbg.__wbg_setrightClickSelectsWord_e15e0a6c7e12c2f4 = function(arg0, arg1) {
|
|
801
|
+
arg0.rightClickSelectsWord = arg1 !== 0;
|
|
802
|
+
};
|
|
803
|
+
imports.wbg.__wbg_setrows_395bb2f6a40be664 = function(arg0, arg1) {
|
|
804
|
+
arg0.rows = arg1 >>> 0;
|
|
805
|
+
};
|
|
806
|
+
imports.wbg.__wbg_settheme_1b783323a8d2b858 = function(arg0, arg1) {
|
|
807
|
+
arg0.theme = arg1;
|
|
856
808
|
};
|
|
857
|
-
imports.wbg.
|
|
858
|
-
const ret =
|
|
809
|
+
imports.wbg.__wbg_stack_0ed75d68575b0f3c = function(arg0, arg1) {
|
|
810
|
+
const ret = arg1.stack;
|
|
859
811
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
860
812
|
const len1 = WASM_VECTOR_LEN;
|
|
861
|
-
|
|
862
|
-
|
|
813
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
814
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
863
815
|
};
|
|
864
|
-
imports.wbg.
|
|
865
|
-
const ret =
|
|
816
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_88a902d13a557d07 = function() {
|
|
817
|
+
const ret = typeof global === "undefined" ? null : global;
|
|
818
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
819
|
+
};
|
|
820
|
+
imports.wbg.__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0 = function() {
|
|
821
|
+
const ret = typeof globalThis === "undefined" ? null : globalThis;
|
|
822
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
823
|
+
};
|
|
824
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_NAME_0af717684e189e55 = function(arg0) {
|
|
825
|
+
const ret = import_duckdb_wasm.PACKAGE_NAME;
|
|
866
826
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
867
827
|
const len1 = WASM_VECTOR_LEN;
|
|
868
|
-
|
|
869
|
-
|
|
828
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
829
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
870
830
|
};
|
|
871
|
-
imports.wbg.
|
|
872
|
-
const ret =
|
|
873
|
-
|
|
831
|
+
imports.wbg.__wbg_static_accessor_PACKAGE_VERSION_549ba11794cf5003 = function(arg0) {
|
|
832
|
+
const ret = import_duckdb_wasm.PACKAGE_VERSION;
|
|
833
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
834
|
+
const len1 = WASM_VECTOR_LEN;
|
|
835
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
836
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
837
|
+
};
|
|
838
|
+
imports.wbg.__wbg_static_accessor_SELF_37c5d418e4bf5819 = function() {
|
|
839
|
+
const ret = typeof self === "undefined" ? null : self;
|
|
840
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
874
841
|
};
|
|
875
|
-
imports.wbg.
|
|
876
|
-
const ret =
|
|
877
|
-
return
|
|
842
|
+
imports.wbg.__wbg_static_accessor_WINDOW_5de37043a91a9c40 = function() {
|
|
843
|
+
const ret = typeof window === "undefined" ? null : window;
|
|
844
|
+
return isLikeNone(ret) ? 0 : addToExternrefTable0(ret);
|
|
878
845
|
};
|
|
879
|
-
imports.wbg.
|
|
880
|
-
const ret =
|
|
846
|
+
imports.wbg.__wbg_then_44b73946d2fb3e7d = function(arg0, arg1) {
|
|
847
|
+
const ret = arg0.then(arg1);
|
|
881
848
|
return ret;
|
|
882
849
|
};
|
|
883
|
-
imports.wbg.
|
|
884
|
-
const ret =
|
|
885
|
-
return
|
|
850
|
+
imports.wbg.__wbg_then_48b406749878a531 = function(arg0, arg1, arg2) {
|
|
851
|
+
const ret = arg0.then(arg1, arg2);
|
|
852
|
+
return ret;
|
|
886
853
|
};
|
|
887
|
-
imports.wbg.
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
854
|
+
imports.wbg.__wbg_toString_c813bbd34d063839 = function(arg0) {
|
|
855
|
+
const ret = arg0.toString();
|
|
856
|
+
return ret;
|
|
857
|
+
};
|
|
858
|
+
imports.wbg.__wbg_tokenize_8a1699f08f37e193 = function() {
|
|
859
|
+
return handleError(function(arg0, arg1, arg2) {
|
|
860
|
+
const ret = arg0.tokenize(getStringFromWasm0(arg1, arg2));
|
|
861
|
+
return ret;
|
|
891
862
|
}, arguments);
|
|
892
863
|
};
|
|
893
|
-
imports.wbg.
|
|
894
|
-
const ret =
|
|
895
|
-
return
|
|
864
|
+
imports.wbg.__wbg_totalFileReadsAhead_a8f3246739715872 = function(arg0) {
|
|
865
|
+
const ret = arg0.totalFileReadsAhead;
|
|
866
|
+
return ret;
|
|
896
867
|
};
|
|
897
|
-
imports.wbg.
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
return addHeapObject(ret);
|
|
901
|
-
}, arguments);
|
|
868
|
+
imports.wbg.__wbg_totalFileReadsCached_a9d725246d8113de = function(arg0) {
|
|
869
|
+
const ret = arg0.totalFileReadsCached;
|
|
870
|
+
return ret;
|
|
902
871
|
};
|
|
903
|
-
imports.wbg.
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
return addHeapObject(ret);
|
|
907
|
-
}, arguments);
|
|
872
|
+
imports.wbg.__wbg_totalFileReadsCold_969fc4fdc92ba928 = function(arg0) {
|
|
873
|
+
const ret = arg0.totalFileReadsCold;
|
|
874
|
+
return ret;
|
|
908
875
|
};
|
|
909
|
-
imports.wbg.
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
return addHeapObject(ret);
|
|
913
|
-
}, arguments);
|
|
876
|
+
imports.wbg.__wbg_totalFileWrites_a1979d03072ca561 = function(arg0) {
|
|
877
|
+
const ret = arg0.totalFileWrites;
|
|
878
|
+
return ret;
|
|
914
879
|
};
|
|
915
|
-
imports.wbg.
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
return addHeapObject(ret);
|
|
919
|
-
}, arguments);
|
|
880
|
+
imports.wbg.__wbg_totalPageAccesses_d1e0755e7c873650 = function(arg0) {
|
|
881
|
+
const ret = arg0.totalPageAccesses;
|
|
882
|
+
return ret;
|
|
920
883
|
};
|
|
921
|
-
imports.wbg.
|
|
922
|
-
const ret =
|
|
884
|
+
imports.wbg.__wbg_totalPageLoads_055280bed199c515 = function(arg0) {
|
|
885
|
+
const ret = arg0.totalPageLoads;
|
|
923
886
|
return ret;
|
|
924
887
|
};
|
|
925
|
-
imports.wbg.
|
|
926
|
-
const ret =
|
|
927
|
-
|
|
888
|
+
imports.wbg.__wbg_type_16f2b8031796512f = function(arg0, arg1) {
|
|
889
|
+
const ret = arg1.type;
|
|
890
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
891
|
+
const len1 = WASM_VECTOR_LEN;
|
|
892
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
893
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
928
894
|
};
|
|
929
|
-
imports.wbg.
|
|
930
|
-
const ret =
|
|
931
|
-
|
|
895
|
+
imports.wbg.__wbg_types_10068f549973c623 = function(arg0, arg1) {
|
|
896
|
+
const ret = arg1.types;
|
|
897
|
+
const ptr1 = passArray8ToWasm0(ret, wasm.__wbindgen_malloc);
|
|
898
|
+
const len1 = WASM_VECTOR_LEN;
|
|
899
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
900
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
932
901
|
};
|
|
933
|
-
imports.wbg.
|
|
934
|
-
|
|
935
|
-
return addHeapObject(ret);
|
|
902
|
+
imports.wbg.__wbg_warn_45a3a6612d9f19fe = function(arg0, arg1) {
|
|
903
|
+
console.warn(getStringFromWasm0(arg0, arg1));
|
|
936
904
|
};
|
|
937
|
-
imports.wbg.
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
return addHeapObject(ret);
|
|
941
|
-
}, arguments);
|
|
905
|
+
imports.wbg.__wbg_wasmBulkMemory_551502ede47fbf09 = function(arg0) {
|
|
906
|
+
const ret = arg0.wasmBulkMemory;
|
|
907
|
+
return ret;
|
|
942
908
|
};
|
|
943
|
-
imports.wbg.
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
var cb0 = (arg02, arg12) => {
|
|
947
|
-
const a = state0.a;
|
|
948
|
-
state0.a = 0;
|
|
949
|
-
try {
|
|
950
|
-
return __wbg_adapter_210(a, state0.b, arg02, arg12);
|
|
951
|
-
} finally {
|
|
952
|
-
state0.a = a;
|
|
953
|
-
}
|
|
954
|
-
};
|
|
955
|
-
const ret = new Promise(cb0);
|
|
956
|
-
return addHeapObject(ret);
|
|
957
|
-
} finally {
|
|
958
|
-
state0.a = state0.b = 0;
|
|
959
|
-
}
|
|
909
|
+
imports.wbg.__wbg_wasmExceptions_4f3d6bc9c38eccd4 = function(arg0) {
|
|
910
|
+
const ret = arg0.wasmExceptions;
|
|
911
|
+
return ret;
|
|
960
912
|
};
|
|
961
|
-
imports.wbg.
|
|
962
|
-
const ret =
|
|
963
|
-
return
|
|
913
|
+
imports.wbg.__wbg_wasmSIMD_6e524010ac1b3712 = function(arg0) {
|
|
914
|
+
const ret = arg0.wasmSIMD;
|
|
915
|
+
return ret;
|
|
964
916
|
};
|
|
965
|
-
imports.wbg.
|
|
966
|
-
const ret =
|
|
967
|
-
return
|
|
917
|
+
imports.wbg.__wbg_wasmThreads_bb92f1f17739f197 = function(arg0) {
|
|
918
|
+
const ret = arg0.wasmThreads;
|
|
919
|
+
return ret;
|
|
968
920
|
};
|
|
969
|
-
imports.wbg.
|
|
970
|
-
const ret =
|
|
971
|
-
return
|
|
921
|
+
imports.wbg.__wbg_withWebGL_e7b2f98241b8125a = function(arg0) {
|
|
922
|
+
const ret = arg0.withWebGL;
|
|
923
|
+
return ret;
|
|
972
924
|
};
|
|
973
|
-
imports.wbg.
|
|
974
|
-
|
|
975
|
-
return addHeapObject(ret);
|
|
925
|
+
imports.wbg.__wbg_write_c3295e1c4c88047e = function(arg0, arg1, arg2) {
|
|
926
|
+
arg0.write(getStringFromWasm0(arg1, arg2));
|
|
976
927
|
};
|
|
977
|
-
imports.wbg.
|
|
978
|
-
const
|
|
979
|
-
|
|
928
|
+
imports.wbg.__wbindgen_cb_drop = function(arg0) {
|
|
929
|
+
const obj = arg0.original;
|
|
930
|
+
if (obj.cnt-- == 1) {
|
|
931
|
+
obj.a = 0;
|
|
932
|
+
return true;
|
|
933
|
+
}
|
|
934
|
+
const ret = false;
|
|
935
|
+
return ret;
|
|
980
936
|
};
|
|
981
|
-
imports.wbg.
|
|
982
|
-
|
|
937
|
+
imports.wbg.__wbindgen_closure_wrapper459 = function(arg0, arg1, arg2) {
|
|
938
|
+
const ret = makeMutClosure(arg0, arg1, 115, __wbg_adapter_26);
|
|
939
|
+
return ret;
|
|
983
940
|
};
|
|
984
|
-
imports.wbg.
|
|
985
|
-
const ret =
|
|
941
|
+
imports.wbg.__wbindgen_closure_wrapper889 = function(arg0, arg1, arg2) {
|
|
942
|
+
const ret = makeMutClosure(arg0, arg1, 178, __wbg_adapter_29);
|
|
986
943
|
return ret;
|
|
987
944
|
};
|
|
988
945
|
imports.wbg.__wbindgen_debug_string = function(arg0, arg1) {
|
|
989
|
-
const ret = debugString(
|
|
946
|
+
const ret = debugString(arg1);
|
|
990
947
|
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
991
948
|
const len1 = WASM_VECTOR_LEN;
|
|
992
|
-
|
|
993
|
-
|
|
949
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
950
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
951
|
+
};
|
|
952
|
+
imports.wbg.__wbindgen_init_externref_table = function() {
|
|
953
|
+
const table = wasm.__wbindgen_export_4;
|
|
954
|
+
const offset = table.grow(4);
|
|
955
|
+
table.set(0, void 0);
|
|
956
|
+
table.set(offset + 0, void 0);
|
|
957
|
+
table.set(offset + 1, null);
|
|
958
|
+
table.set(offset + 2, true);
|
|
959
|
+
table.set(offset + 3, false);
|
|
960
|
+
;
|
|
961
|
+
};
|
|
962
|
+
imports.wbg.__wbindgen_is_function = function(arg0) {
|
|
963
|
+
const ret = typeof arg0 === "function";
|
|
964
|
+
return ret;
|
|
994
965
|
};
|
|
995
|
-
imports.wbg.
|
|
996
|
-
|
|
966
|
+
imports.wbg.__wbindgen_is_undefined = function(arg0) {
|
|
967
|
+
const ret = arg0 === void 0;
|
|
968
|
+
return ret;
|
|
969
|
+
};
|
|
970
|
+
imports.wbg.__wbindgen_json_serialize = function(arg0, arg1) {
|
|
971
|
+
const obj = arg1;
|
|
972
|
+
const ret = JSON.stringify(obj === void 0 ? null : obj);
|
|
973
|
+
const ptr1 = passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
974
|
+
const len1 = WASM_VECTOR_LEN;
|
|
975
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
976
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
997
977
|
};
|
|
998
978
|
imports.wbg.__wbindgen_memory = function() {
|
|
999
979
|
const ret = wasm.memory;
|
|
1000
|
-
return
|
|
980
|
+
return ret;
|
|
1001
981
|
};
|
|
1002
|
-
imports.wbg.
|
|
1003
|
-
const
|
|
1004
|
-
|
|
982
|
+
imports.wbg.__wbindgen_number_get = function(arg0, arg1) {
|
|
983
|
+
const obj = arg1;
|
|
984
|
+
const ret = typeof obj === "number" ? obj : void 0;
|
|
985
|
+
getDataViewMemory0().setFloat64(arg0 + 8 * 1, isLikeNone(ret) ? 0 : ret, true);
|
|
986
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, !isLikeNone(ret), true);
|
|
987
|
+
};
|
|
988
|
+
imports.wbg.__wbindgen_string_get = function(arg0, arg1) {
|
|
989
|
+
const obj = arg1;
|
|
990
|
+
const ret = typeof obj === "string" ? obj : void 0;
|
|
991
|
+
var ptr1 = isLikeNone(ret) ? 0 : passStringToWasm0(ret, wasm.__wbindgen_malloc, wasm.__wbindgen_realloc);
|
|
992
|
+
var len1 = WASM_VECTOR_LEN;
|
|
993
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 1, len1, true);
|
|
994
|
+
getDataViewMemory0().setInt32(arg0 + 4 * 0, ptr1, true);
|
|
1005
995
|
};
|
|
1006
|
-
imports.wbg.
|
|
1007
|
-
|
|
1008
|
-
return addHeapObject(ret);
|
|
996
|
+
imports.wbg.__wbindgen_throw = function(arg0, arg1) {
|
|
997
|
+
throw new Error(getStringFromWasm0(arg0, arg1));
|
|
1009
998
|
};
|
|
1010
999
|
return imports;
|
|
1011
1000
|
}
|
|
1012
|
-
function __wbg_init_memory(imports,
|
|
1001
|
+
function __wbg_init_memory(imports, memory) {
|
|
1013
1002
|
}
|
|
1014
1003
|
function __wbg_finalize_init(instance, module) {
|
|
1015
1004
|
wasm = instance.exports;
|
|
1016
1005
|
__wbg_init.__wbindgen_wasm_module = module;
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
cachedUint8Memory0 = null;
|
|
1006
|
+
cachedDataViewMemory0 = null;
|
|
1007
|
+
cachedUint32ArrayMemory0 = null;
|
|
1008
|
+
cachedUint8ArrayMemory0 = null;
|
|
1021
1009
|
wasm.__wbindgen_start();
|
|
1022
1010
|
return wasm;
|
|
1023
1011
|
}
|
|
1024
|
-
async function __wbg_init(
|
|
1012
|
+
async function __wbg_init(module_or_path) {
|
|
1025
1013
|
if (wasm !== void 0)
|
|
1026
1014
|
return wasm;
|
|
1027
|
-
if (typeof
|
|
1028
|
-
|
|
1015
|
+
if (typeof module_or_path !== "undefined") {
|
|
1016
|
+
if (Object.getPrototypeOf(module_or_path) === Object.prototype) {
|
|
1017
|
+
({ module_or_path } = module_or_path);
|
|
1018
|
+
} else {
|
|
1019
|
+
console.warn("using deprecated parameters for the initialization function; pass a single object instead");
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
if (typeof module_or_path === "undefined") {
|
|
1023
|
+
module_or_path = new URL("shell_bg.wasm", import_meta.url);
|
|
1029
1024
|
}
|
|
1030
1025
|
const imports = __wbg_get_imports();
|
|
1031
|
-
if (typeof
|
|
1032
|
-
|
|
1026
|
+
if (typeof module_or_path === "string" || typeof Request === "function" && module_or_path instanceof Request || typeof URL === "function" && module_or_path instanceof URL) {
|
|
1027
|
+
module_or_path = fetch(module_or_path);
|
|
1033
1028
|
}
|
|
1034
1029
|
__wbg_init_memory(imports);
|
|
1035
|
-
const { instance, module } = await __wbg_load(await
|
|
1030
|
+
const { instance, module } = await __wbg_load(await module_or_path, imports);
|
|
1036
1031
|
return __wbg_finalize_init(instance, module);
|
|
1037
1032
|
}
|
|
1038
1033
|
var shell_default = __wbg_init;
|