@pipelab/plugin-core 1.0.1-beta.3 → 1.0.1-beta.4

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.
@@ -1,548 +0,0 @@
1
- require("./index.cjs");
2
- //#region ../../node_modules/@jitl/quickjs-wasmfile-release-sync/dist/emscripten-module.mjs
3
- var QuickJSRaw = (() => {
4
- var _scriptName = require("url").pathToFileURL(__filename).href;
5
- return (async function(moduleArg = {}) {
6
- var moduleRtn;
7
- var c = moduleArg, aa, f, ba = new Promise((a, b) => {
8
- aa = a;
9
- f = b;
10
- }), ca = "object" == typeof window, n = "function" == typeof importScripts, p = "object" == typeof process && "object" == typeof process.versions && "string" == typeof process.versions.node;
11
- if (p) {
12
- const { createRequire: a } = await import("module");
13
- var require = a(require("url").pathToFileURL(__filename).href);
14
- }
15
- function r(a) {
16
- a = { log: a || function() {} };
17
- for (const b of r.Ia) b(a);
18
- return c.quickJSEmscriptenExtensions = a;
19
- }
20
- r.Ia = [];
21
- c.quickjsEmscriptenInit = r;
22
- r.Ia.push((a) => {
23
- a.getWasmMemory = function() {
24
- return t;
25
- };
26
- });
27
- var da = Object.assign({}, c), u = "./this.program", w = (a, b) => {
28
- throw b;
29
- }, x = "", y, z;
30
- if (p) {
31
- var fs = require("fs"), ea = require("path");
32
- x = require("url").fileURLToPath(new URL("./", require("url").pathToFileURL(__filename).href));
33
- z = (a) => {
34
- a = A(a) ? new URL(a) : ea.normalize(a);
35
- return fs.readFileSync(a);
36
- };
37
- y = (a) => {
38
- a = A(a) ? new URL(a) : ea.normalize(a);
39
- return new Promise((b, d) => {
40
- fs.readFile(a, void 0, (e, g) => {
41
- e ? d(e) : b(g.buffer);
42
- });
43
- });
44
- };
45
- !c.thisProgram && 1 < process.argv.length && (u = process.argv[1].replace(/\\/g, "/"));
46
- process.argv.slice(2);
47
- w = (a, b) => {
48
- process.exitCode = a;
49
- throw b;
50
- };
51
- } else if (ca || n) n ? x = self.location.href : "undefined" != typeof document && document.currentScript && (x = document.currentScript.src), _scriptName && (x = _scriptName), x.startsWith("blob:") ? x = "" : x = x.substr(0, x.replace(/[?#].*/, "").lastIndexOf("/") + 1), n && (z = (a) => {
52
- var b = new XMLHttpRequest();
53
- b.open("GET", a, !1);
54
- b.responseType = "arraybuffer";
55
- b.send(null);
56
- return new Uint8Array(b.response);
57
- }), y = (a) => A(a) ? new Promise((b, d) => {
58
- var e = new XMLHttpRequest();
59
- e.open("GET", a, !0);
60
- e.responseType = "arraybuffer";
61
- e.onload = () => {
62
- 200 == e.status || 0 == e.status && e.response ? b(e.response) : d(e.status);
63
- };
64
- e.onerror = d;
65
- e.send(null);
66
- }) : fetch(a, { credentials: "same-origin" }).then((b) => b.ok ? b.arrayBuffer() : Promise.reject(Error(b.status + " : " + b.url)));
67
- var fa = c.print || console.log.bind(console), B = c.printErr || console.error.bind(console);
68
- Object.assign(c, da);
69
- da = null;
70
- c.thisProgram && (u = c.thisProgram);
71
- var C = c.wasmBinary, t, D = !1, E, F, G, H, I;
72
- function ha() {
73
- var a = t.buffer;
74
- c.HEAP8 = F = new Int8Array(a);
75
- c.HEAP16 = new Int16Array(a);
76
- c.HEAPU8 = G = new Uint8Array(a);
77
- c.HEAPU16 = new Uint16Array(a);
78
- c.HEAP32 = H = new Int32Array(a);
79
- c.HEAPU32 = I = new Uint32Array(a);
80
- c.HEAPF32 = new Float32Array(a);
81
- c.HEAPF64 = new Float64Array(a);
82
- }
83
- c.wasmMemory ? t = c.wasmMemory : t = new WebAssembly.Memory({
84
- initial: (c.INITIAL_MEMORY || 16777216) / 65536,
85
- maximum: 32768
86
- });
87
- ha();
88
- var ia = [], ja = [], ka = [];
89
- function la() {
90
- var a = c.preRun.shift();
91
- ia.unshift(a);
92
- }
93
- var J = 0, K = null, L = null;
94
- function M(a) {
95
- c.onAbort?.(a);
96
- a = "Aborted(" + a + ")";
97
- B(a);
98
- D = !0;
99
- E = 1;
100
- a = new WebAssembly.RuntimeError(a + ". Build with -sASSERTIONS for more info.");
101
- f(a);
102
- throw a;
103
- }
104
- var ma = (a) => a.startsWith("data:application/octet-stream;base64,"), A = (a) => a.startsWith("file://"), N;
105
- function na(a) {
106
- if (a == N && C) return new Uint8Array(C);
107
- if (z) return z(a);
108
- throw "both async and sync fetching of the wasm failed";
109
- }
110
- function oa(a) {
111
- return C ? Promise.resolve().then(() => na(a)) : y(a).then((b) => new Uint8Array(b), () => na(a));
112
- }
113
- function pa(a, b, d) {
114
- return oa(a).then((e) => WebAssembly.instantiate(e, b)).then(d, (e) => {
115
- B(`failed to asynchronously prepare wasm: ${e}`);
116
- M(e);
117
- });
118
- }
119
- function ra(a, b) {
120
- var d = N;
121
- return C || "function" != typeof WebAssembly.instantiateStreaming || ma(d) || A(d) || p || "function" != typeof fetch ? pa(d, a, b) : fetch(d, { credentials: "same-origin" }).then((e) => WebAssembly.instantiateStreaming(e, a).then(b, function(g) {
122
- B(`wasm streaming compile failed: ${g}`);
123
- B("falling back to ArrayBuffer instantiation");
124
- return pa(d, a, b);
125
- }));
126
- }
127
- function O(a) {
128
- this.name = "ExitStatus";
129
- this.message = `Program terminated with exit(${a})`;
130
- this.status = a;
131
- }
132
- var P = (a) => {
133
- for (; 0 < a.length;) a.shift()(c);
134
- }, Q = c.noExitRuntime || !0, sa = "undefined" != typeof TextDecoder ? new TextDecoder() : void 0, R = (a, b, d) => {
135
- var e = b + d;
136
- for (d = b; a[d] && !(d >= e);) ++d;
137
- if (16 < d - b && a.buffer && sa) return sa.decode(a.subarray(b, d));
138
- for (e = ""; b < d;) {
139
- var g = a[b++];
140
- if (g & 128) {
141
- var h = a[b++] & 63;
142
- if (192 == (g & 224)) e += String.fromCharCode((g & 31) << 6 | h);
143
- else {
144
- var k = a[b++] & 63;
145
- g = 224 == (g & 240) ? (g & 15) << 12 | h << 6 | k : (g & 7) << 18 | h << 12 | k << 6 | a[b++] & 63;
146
- 65536 > g ? e += String.fromCharCode(g) : (g -= 65536, e += String.fromCharCode(55296 | g >> 10, 56320 | g & 1023));
147
- }
148
- } else e += String.fromCharCode(g);
149
- }
150
- return e;
151
- }, ta = [
152
- 0,
153
- 31,
154
- 60,
155
- 91,
156
- 121,
157
- 152,
158
- 182,
159
- 213,
160
- 244,
161
- 274,
162
- 305,
163
- 335
164
- ], ua = [
165
- 0,
166
- 31,
167
- 59,
168
- 90,
169
- 120,
170
- 151,
171
- 181,
172
- 212,
173
- 243,
174
- 273,
175
- 304,
176
- 334
177
- ], S = {}, T = 0, va = (a) => {
178
- E = a;
179
- Q || 0 < T || (c.onExit?.(a), D = !0);
180
- w(a, new O(a));
181
- }, wa = (a) => {
182
- if (!D) try {
183
- if (a(), !(Q || 0 < T)) try {
184
- E = a = E, va(a);
185
- } catch (b) {
186
- b instanceof O || "unwind" == b || w(1, b);
187
- }
188
- } catch (b) {
189
- b instanceof O || "unwind" == b || w(1, b);
190
- }
191
- }, xa = () => performance.now();
192
- var U = (a, b, d) => {
193
- var e = G;
194
- if (!(0 < d)) return 0;
195
- var g = b;
196
- d = b + d - 1;
197
- for (var h = 0; h < a.length; ++h) {
198
- var k = a.charCodeAt(h);
199
- if (55296 <= k && 57343 >= k) {
200
- var l = a.charCodeAt(++h);
201
- k = 65536 + ((k & 1023) << 10) | l & 1023;
202
- }
203
- if (127 >= k) {
204
- if (b >= d) break;
205
- e[b++] = k;
206
- } else {
207
- if (2047 >= k) {
208
- if (b + 1 >= d) break;
209
- e[b++] = 192 | k >> 6;
210
- } else {
211
- if (65535 >= k) {
212
- if (b + 2 >= d) break;
213
- e[b++] = 224 | k >> 12;
214
- } else {
215
- if (b + 3 >= d) break;
216
- e[b++] = 240 | k >> 18;
217
- e[b++] = 128 | k >> 12 & 63;
218
- }
219
- e[b++] = 128 | k >> 6 & 63;
220
- }
221
- e[b++] = 128 | k & 63;
222
- }
223
- }
224
- e[b] = 0;
225
- return b - g;
226
- }, V = {}, ya = () => {
227
- if (!W) {
228
- var a = {
229
- USER: "web_user",
230
- LOGNAME: "web_user",
231
- PATH: "/",
232
- PWD: "/",
233
- HOME: "/home/web_user",
234
- LANG: ("object" == typeof navigator && navigator.languages && navigator.languages[0] || "C").replace("-", "_") + ".UTF-8",
235
- _: u || "./this.program"
236
- }, b;
237
- for (b in V) void 0 === V[b] ? delete a[b] : a[b] = V[b];
238
- var d = [];
239
- for (b in a) d.push(`${b}=${a[b]}`);
240
- W = d;
241
- }
242
- return W;
243
- }, W, za = [
244
- null,
245
- [],
246
- []
247
- ], Aa = (a) => {
248
- for (var b = 0, d = 0; d < a.length; ++d) {
249
- var e = a.charCodeAt(d);
250
- 127 >= e ? b++ : 2047 >= e ? b += 2 : 55296 <= e && 57343 >= e ? (b += 4, ++d) : b += 3;
251
- }
252
- return b;
253
- }, Da = (a, b, d, e) => {
254
- var g = {
255
- string: (m) => {
256
- var q = 0;
257
- if (null !== m && void 0 !== m && 0 !== m) {
258
- q = Aa(m) + 1;
259
- var qa = X(q);
260
- U(m, qa, q);
261
- q = qa;
262
- }
263
- return q;
264
- },
265
- array: (m) => {
266
- var q = X(m.length);
267
- F.set(m, q);
268
- return q;
269
- }
270
- };
271
- a = c["_" + a];
272
- var h = [], k = 0;
273
- if (e) for (var l = 0; l < e.length; l++) {
274
- var v = g[d[l]];
275
- v ? (0 === k && (k = Ba()), h[l] = v(e[l])) : h[l] = e[l];
276
- }
277
- d = a(...h);
278
- return d = function(m) {
279
- 0 !== k && Ca(k);
280
- return "string" === b ? m ? R(G, m) : "" : "boolean" === b ? !!m : m;
281
- }(d);
282
- }, Fa = {
283
- b: (a, b, d, e) => {
284
- M(`Assertion failed: ${a ? R(G, a) : ""}, at: ` + [
285
- b ? b ? R(G, b) : "" : "unknown filename",
286
- d,
287
- e ? e ? R(G, e) : "" : "unknown function"
288
- ]);
289
- },
290
- q: () => {
291
- M("");
292
- },
293
- n: () => {
294
- Q = !1;
295
- T = 0;
296
- },
297
- j: function(a, b, d) {
298
- a = /* @__PURE__ */ new Date(1e3 * (b + 2097152 >>> 0 < 4194305 - !!a ? (a >>> 0) + 4294967296 * b : NaN));
299
- H[d >> 2] = a.getSeconds();
300
- H[d + 4 >> 2] = a.getMinutes();
301
- H[d + 8 >> 2] = a.getHours();
302
- H[d + 12 >> 2] = a.getDate();
303
- H[d + 16 >> 2] = a.getMonth();
304
- H[d + 20 >> 2] = a.getFullYear() - 1900;
305
- H[d + 24 >> 2] = a.getDay();
306
- b = a.getFullYear();
307
- H[d + 28 >> 2] = (0 !== b % 4 || 0 === b % 100 && 0 !== b % 400 ? ua : ta)[a.getMonth()] + a.getDate() - 1 | 0;
308
- H[d + 36 >> 2] = -(60 * a.getTimezoneOffset());
309
- b = new Date(a.getFullYear(), 6, 1).getTimezoneOffset();
310
- var e = new Date(a.getFullYear(), 0, 1).getTimezoneOffset();
311
- H[d + 32 >> 2] = (b != e && a.getTimezoneOffset() == Math.min(e, b)) | 0;
312
- },
313
- l: (a, b) => {
314
- S[a] && (clearTimeout(S[a].id), delete S[a]);
315
- if (!b) return 0;
316
- S[a] = {
317
- id: setTimeout(() => {
318
- delete S[a];
319
- wa(() => Ea(a, xa()));
320
- }, b),
321
- Na: b
322
- };
323
- return 0;
324
- },
325
- o: (a, b, d, e) => {
326
- var g = (/* @__PURE__ */ new Date()).getFullYear(), h = new Date(g, 0, 1).getTimezoneOffset();
327
- g = new Date(g, 6, 1).getTimezoneOffset();
328
- I[a >> 2] = 60 * Math.max(h, g);
329
- H[b >> 2] = Number(h != g);
330
- b = (k) => {
331
- var l = Math.abs(k);
332
- return `UTC${0 <= k ? "-" : "+"}${String(Math.floor(l / 60)).padStart(2, "0")}${String(l % 60).padStart(2, "0")}`;
333
- };
334
- a = b(h);
335
- b = b(g);
336
- g < h ? (U(a, d, 17), U(b, e, 17)) : (U(a, e, 17), U(b, d, 17));
337
- },
338
- p: () => Date.now(),
339
- m: (a) => {
340
- var b = G.length;
341
- a >>>= 0;
342
- if (2147483648 < a) return !1;
343
- for (var d = 1; 4 >= d; d *= 2) {
344
- var e = b * (1 + .2 / d);
345
- e = Math.min(e, a + 100663296);
346
- a: {
347
- e = (Math.min(2147483648, 65536 * Math.ceil(Math.max(a, e) / 65536)) - t.buffer.byteLength + 65535) / 65536;
348
- try {
349
- t.grow(e);
350
- ha();
351
- var g = 1;
352
- break a;
353
- } catch (h) {}
354
- g = void 0;
355
- }
356
- if (g) return !0;
357
- }
358
- return !1;
359
- },
360
- f: (a, b) => {
361
- var d = 0;
362
- ya().forEach((e, g) => {
363
- var h = b + d;
364
- g = I[a + 4 * g >> 2] = h;
365
- for (h = 0; h < e.length; ++h) F[g++] = e.charCodeAt(h);
366
- F[g] = 0;
367
- d += e.length + 1;
368
- });
369
- return 0;
370
- },
371
- g: (a, b) => {
372
- var d = ya();
373
- I[a >> 2] = d.length;
374
- var e = 0;
375
- d.forEach((g) => e += g.length + 1);
376
- I[b >> 2] = e;
377
- return 0;
378
- },
379
- e: () => 52,
380
- k: function() {
381
- return 70;
382
- },
383
- d: (a, b, d, e) => {
384
- for (var g = 0, h = 0; h < d; h++) {
385
- var k = I[b >> 2], l = I[b + 4 >> 2];
386
- b += 8;
387
- for (var v = 0; v < l; v++) {
388
- var m = G[k + v], q = za[a];
389
- 0 === m || 10 === m ? ((1 === a ? fa : B)(R(q, 0)), q.length = 0) : q.push(m);
390
- }
391
- g += l;
392
- }
393
- I[e >> 2] = g;
394
- return 0;
395
- },
396
- a: t,
397
- c: va,
398
- s: function(a, b, d, e, g) {
399
- return c.callbacks.callFunction(void 0, a, b, d, e, g);
400
- },
401
- r: function(a) {
402
- return c.callbacks.shouldInterrupt(void 0, a);
403
- },
404
- i: function(a, b, d) {
405
- d = d ? R(G, d) : "";
406
- return c.callbacks.loadModuleSource(void 0, a, b, d);
407
- },
408
- h: function(a, b, d, e) {
409
- d = d ? R(G, d) : "";
410
- e = e ? R(G, e) : "";
411
- return c.callbacks.normalizeModule(void 0, a, b, d, e);
412
- }
413
- }, Y = function() {
414
- function a(d) {
415
- Y = d.exports;
416
- ja.unshift(Y.t);
417
- J--;
418
- c.monitorRunDependencies?.(J);
419
- 0 == J && (null !== K && (clearInterval(K), K = null), L && (d = L, L = null, d()));
420
- return Y;
421
- }
422
- var b = { a: Fa };
423
- J++;
424
- c.monitorRunDependencies?.(J);
425
- if (c.instantiateWasm) try {
426
- return c.instantiateWasm(b, a);
427
- } catch (d) {
428
- B(`Module.instantiateWasm callback failed with error: ${d}`), f(d);
429
- }
430
- N ||= c.locateFile ? ma("emscripten-module.wasm") ? "emscripten-module.wasm" : c.locateFile ? c.locateFile("emscripten-module.wasm", x) : x + "emscripten-module.wasm" : new URL("emscripten-module.wasm", require("url").pathToFileURL(__filename).href).href;
431
- ra(b, function(d) {
432
- a(d.instance);
433
- }).catch(f);
434
- return {};
435
- }();
436
- c._malloc = (a) => (c._malloc = Y.u)(a);
437
- c._QTS_Throw = (a, b) => (c._QTS_Throw = Y.v)(a, b);
438
- c._QTS_NewError = (a) => (c._QTS_NewError = Y.w)(a);
439
- c._QTS_RuntimeSetMemoryLimit = (a, b) => (c._QTS_RuntimeSetMemoryLimit = Y.x)(a, b);
440
- c._QTS_RuntimeComputeMemoryUsage = (a, b) => (c._QTS_RuntimeComputeMemoryUsage = Y.y)(a, b);
441
- c._QTS_RuntimeDumpMemoryUsage = (a) => (c._QTS_RuntimeDumpMemoryUsage = Y.z)(a);
442
- c._QTS_RecoverableLeakCheck = () => (c._QTS_RecoverableLeakCheck = Y.A)();
443
- c._QTS_BuildIsSanitizeLeak = () => (c._QTS_BuildIsSanitizeLeak = Y.B)();
444
- c._QTS_RuntimeSetMaxStackSize = (a, b) => (c._QTS_RuntimeSetMaxStackSize = Y.C)(a, b);
445
- c._QTS_GetUndefined = () => (c._QTS_GetUndefined = Y.D)();
446
- c._QTS_GetNull = () => (c._QTS_GetNull = Y.E)();
447
- c._QTS_GetFalse = () => (c._QTS_GetFalse = Y.F)();
448
- c._QTS_GetTrue = () => (c._QTS_GetTrue = Y.G)();
449
- c._QTS_NewRuntime = () => (c._QTS_NewRuntime = Y.H)();
450
- c._QTS_FreeRuntime = (a) => (c._QTS_FreeRuntime = Y.I)(a);
451
- c._free = (a) => (c._free = Y.J)(a);
452
- c._QTS_NewContext = (a, b) => (c._QTS_NewContext = Y.K)(a, b);
453
- c._QTS_FreeContext = (a) => (c._QTS_FreeContext = Y.L)(a);
454
- c._QTS_FreeValuePointer = (a, b) => (c._QTS_FreeValuePointer = Y.M)(a, b);
455
- c._QTS_FreeValuePointerRuntime = (a, b) => (c._QTS_FreeValuePointerRuntime = Y.N)(a, b);
456
- c._QTS_FreeVoidPointer = (a, b) => (c._QTS_FreeVoidPointer = Y.O)(a, b);
457
- c._QTS_FreeCString = (a, b) => (c._QTS_FreeCString = Y.P)(a, b);
458
- c._QTS_DupValuePointer = (a, b) => (c._QTS_DupValuePointer = Y.Q)(a, b);
459
- c._QTS_NewObject = (a) => (c._QTS_NewObject = Y.R)(a);
460
- c._QTS_NewObjectProto = (a, b) => (c._QTS_NewObjectProto = Y.S)(a, b);
461
- c._QTS_NewArray = (a) => (c._QTS_NewArray = Y.T)(a);
462
- c._QTS_NewArrayBuffer = (a, b, d) => (c._QTS_NewArrayBuffer = Y.U)(a, b, d);
463
- c._QTS_NewFloat64 = (a, b) => (c._QTS_NewFloat64 = Y.V)(a, b);
464
- c._QTS_GetFloat64 = (a, b) => (c._QTS_GetFloat64 = Y.W)(a, b);
465
- c._QTS_NewString = (a, b) => (c._QTS_NewString = Y.X)(a, b);
466
- c._QTS_GetString = (a, b) => (c._QTS_GetString = Y.Y)(a, b);
467
- c._QTS_GetArrayBuffer = (a, b) => (c._QTS_GetArrayBuffer = Y.Z)(a, b);
468
- c._QTS_GetArrayBufferLength = (a, b) => (c._QTS_GetArrayBufferLength = Y._)(a, b);
469
- c._QTS_NewSymbol = (a, b, d) => (c._QTS_NewSymbol = Y.$)(a, b, d);
470
- c._QTS_GetSymbolDescriptionOrKey = (a, b) => (c._QTS_GetSymbolDescriptionOrKey = Y.aa)(a, b);
471
- c._QTS_IsGlobalSymbol = (a, b) => (c._QTS_IsGlobalSymbol = Y.ba)(a, b);
472
- c._QTS_IsJobPending = (a) => (c._QTS_IsJobPending = Y.ca)(a);
473
- c._QTS_ExecutePendingJob = (a, b, d) => (c._QTS_ExecutePendingJob = Y.da)(a, b, d);
474
- c._QTS_GetProp = (a, b, d) => (c._QTS_GetProp = Y.ea)(a, b, d);
475
- c._QTS_GetPropNumber = (a, b, d) => (c._QTS_GetPropNumber = Y.fa)(a, b, d);
476
- c._QTS_SetProp = (a, b, d, e) => (c._QTS_SetProp = Y.ga)(a, b, d, e);
477
- c._QTS_DefineProp = (a, b, d, e, g, h, k, l, v) => (c._QTS_DefineProp = Y.ha)(a, b, d, e, g, h, k, l, v);
478
- c._QTS_GetOwnPropertyNames = (a, b, d, e, g) => (c._QTS_GetOwnPropertyNames = Y.ia)(a, b, d, e, g);
479
- c._QTS_Call = (a, b, d, e, g) => (c._QTS_Call = Y.ja)(a, b, d, e, g);
480
- c._QTS_ResolveException = (a, b) => (c._QTS_ResolveException = Y.ka)(a, b);
481
- c._QTS_Dump = (a, b) => (c._QTS_Dump = Y.la)(a, b);
482
- c._QTS_Eval = (a, b, d, e, g, h) => (c._QTS_Eval = Y.ma)(a, b, d, e, g, h);
483
- c._QTS_GetModuleNamespace = (a, b) => (c._QTS_GetModuleNamespace = Y.na)(a, b);
484
- c._QTS_Typeof = (a, b) => (c._QTS_Typeof = Y.oa)(a, b);
485
- c._QTS_GetLength = (a, b, d) => (c._QTS_GetLength = Y.pa)(a, b, d);
486
- c._QTS_IsEqual = (a, b, d, e) => (c._QTS_IsEqual = Y.qa)(a, b, d, e);
487
- c._QTS_GetGlobalObject = (a) => (c._QTS_GetGlobalObject = Y.ra)(a);
488
- c._QTS_NewPromiseCapability = (a, b) => (c._QTS_NewPromiseCapability = Y.sa)(a, b);
489
- c._QTS_PromiseState = (a, b) => (c._QTS_PromiseState = Y.ta)(a, b);
490
- c._QTS_PromiseResult = (a, b) => (c._QTS_PromiseResult = Y.ua)(a, b);
491
- c._QTS_TestStringArg = (a) => (c._QTS_TestStringArg = Y.va)(a);
492
- c._QTS_GetDebugLogEnabled = (a) => (c._QTS_GetDebugLogEnabled = Y.wa)(a);
493
- c._QTS_SetDebugLogEnabled = (a, b) => (c._QTS_SetDebugLogEnabled = Y.xa)(a, b);
494
- c._QTS_BuildIsDebug = () => (c._QTS_BuildIsDebug = Y.ya)();
495
- c._QTS_BuildIsAsyncify = () => (c._QTS_BuildIsAsyncify = Y.za)();
496
- c._QTS_NewFunction = (a, b, d) => (c._QTS_NewFunction = Y.Aa)(a, b, d);
497
- c._QTS_ArgvGetJSValueConstPointer = (a, b) => (c._QTS_ArgvGetJSValueConstPointer = Y.Ba)(a, b);
498
- c._QTS_RuntimeEnableInterruptHandler = (a) => (c._QTS_RuntimeEnableInterruptHandler = Y.Ca)(a);
499
- c._QTS_RuntimeDisableInterruptHandler = (a) => (c._QTS_RuntimeDisableInterruptHandler = Y.Da)(a);
500
- c._QTS_RuntimeEnableModuleLoader = (a, b) => (c._QTS_RuntimeEnableModuleLoader = Y.Ea)(a, b);
501
- c._QTS_RuntimeDisableModuleLoader = (a) => (c._QTS_RuntimeDisableModuleLoader = Y.Fa)(a);
502
- c._QTS_bjson_encode = (a, b) => (c._QTS_bjson_encode = Y.Ga)(a, b);
503
- c._QTS_bjson_decode = (a, b) => (c._QTS_bjson_decode = Y.Ha)(a, b);
504
- var Ea = (a, b) => (Ea = Y.Ja)(a, b), Ca = (a) => (Ca = Y.Ka)(a), X = (a) => (X = Y.La)(a), Ba = () => (Ba = Y.Ma)();
505
- c.cwrap = (a, b, d, e) => {
506
- var g = !d || d.every((h) => "number" === h || "boolean" === h);
507
- return "string" !== b && g && !e ? c["_" + a] : (...h) => Da(a, b, d, h);
508
- };
509
- c.UTF8ToString = (a, b) => a ? R(G, a, b) : "";
510
- c.stringToUTF8 = (a, b, d) => U(a, b, d);
511
- c.lengthBytesUTF8 = Aa;
512
- var Z;
513
- L = function Ga() {
514
- Z || Ha();
515
- Z || (L = Ga);
516
- };
517
- function Ha() {
518
- function a() {
519
- if (!Z && (Z = !0, c.calledRun = !0, !D)) {
520
- P(ja);
521
- aa(c);
522
- c.onRuntimeInitialized?.();
523
- if (c.postRun) for ("function" == typeof c.postRun && (c.postRun = [c.postRun]); c.postRun.length;) {
524
- var b = c.postRun.shift();
525
- ka.unshift(b);
526
- }
527
- P(ka);
528
- }
529
- }
530
- if (!(0 < J)) {
531
- if (c.preRun) for ("function" == typeof c.preRun && (c.preRun = [c.preRun]); c.preRun.length;) la();
532
- P(ia);
533
- 0 < J || (c.setStatus ? (c.setStatus("Running..."), setTimeout(function() {
534
- setTimeout(function() {
535
- c.setStatus("");
536
- }, 1);
537
- a();
538
- }, 1)) : a());
539
- }
540
- }
541
- if (c.preInit) for ("function" == typeof c.preInit && (c.preInit = [c.preInit]); 0 < c.preInit.length;) c.preInit.pop()();
542
- Ha();
543
- moduleRtn = ba;
544
- return moduleRtn;
545
- });
546
- })();
547
- //#endregion
548
- exports.default = QuickJSRaw;