x-runtime-lib 0.5.38 → 0.5.39
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/index.js +371 -368
- package/dist/types/index.d.ts +1 -1
- package/dist/types/sandbox.d.ts +11 -0
- package/dist/utils/provideInject.d.ts +3 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var ka = Object.defineProperty;
|
|
2
2
|
var Aa = (n, o, l) => o in n ? ka(n, o, { enumerable: !0, configurable: !0, writable: !0, value: l }) : n[o] = l;
|
|
3
3
|
var Jt = (n, o, l) => Aa(n, typeof o != "symbol" ? o + "" : o, l);
|
|
4
|
-
import { provide as be, inject as ge, readonly as mr, isReactive as ai, defineComponent as oe, computed as x, resolveComponent as ie, openBlock as G, createBlock as Q, withCtx as ee, renderSlot as _r, unref as
|
|
4
|
+
import { provide as be, inject as ge, readonly as mr, isReactive as ai, defineComponent as oe, computed as x, resolveComponent as ie, openBlock as G, createBlock as Q, withCtx as ee, renderSlot as _r, unref as Me, createElementBlock as Be, createVNode as Z, normalizeStyle as Ia, ref as Et, watchEffect as oi, onUnmounted as br, watch as Da, h as J, createSlots as Qt, renderList as La, onBeforeMount as Ma, isRef as Fa, createCommentVNode as Ua } from "vue";
|
|
5
5
|
import { useI18n as ui } from "vue-i18n";
|
|
6
|
-
import { eventBus as
|
|
6
|
+
import { eventBus as Fe, messageInfo as ja, messageSuccess as Ba, messageWarning as $a, messageError as Va, openConfirmDlg as Ga, openPromptDlg as Ya, useViewStack as za } from "x-essential-lib";
|
|
7
7
|
const bn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
8
8
|
function si(n) {
|
|
9
9
|
let o = "";
|
|
@@ -42,38 +42,38 @@ function Kt(n) {
|
|
|
42
42
|
if (!isNaN(l))
|
|
43
43
|
return l;
|
|
44
44
|
}
|
|
45
|
-
var li = typeof global == "object" && global && global.Object === Object && global, Xa = typeof self == "object" && self && self.Object === Object && self, ue = li || Xa || Function("return this")(),
|
|
45
|
+
var li = typeof global == "object" && global && global.Object === Object && global, Xa = typeof self == "object" && self && self.Object === Object && self, ue = li || Xa || Function("return this")(), Ue = ue.Symbol, ci = Object.prototype, Wa = ci.hasOwnProperty, Ha = ci.toString, Qe = Ue ? Ue.toStringTag : void 0;
|
|
46
46
|
function Ja(n) {
|
|
47
|
-
var o = Wa.call(n,
|
|
47
|
+
var o = Wa.call(n, Qe), l = n[Qe];
|
|
48
48
|
try {
|
|
49
|
-
n[
|
|
49
|
+
n[Qe] = void 0;
|
|
50
50
|
var h = !0;
|
|
51
51
|
} catch {
|
|
52
52
|
}
|
|
53
|
-
var
|
|
54
|
-
return h && (o ? n[
|
|
53
|
+
var b = Ha.call(n);
|
|
54
|
+
return h && (o ? n[Qe] = l : delete n[Qe]), b;
|
|
55
55
|
}
|
|
56
56
|
var Ka = Object.prototype, qa = Ka.toString;
|
|
57
57
|
function Za(n) {
|
|
58
58
|
return qa.call(n);
|
|
59
59
|
}
|
|
60
|
-
var Qa = "[object Null]", eo = "[object Undefined]", gn =
|
|
61
|
-
function
|
|
60
|
+
var Qa = "[object Null]", eo = "[object Undefined]", gn = Ue ? Ue.toStringTag : void 0;
|
|
61
|
+
function nt(n) {
|
|
62
62
|
return n == null ? n === void 0 ? eo : Qa : gn && gn in Object(n) ? Ja(n) : Za(n);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function it(n) {
|
|
65
65
|
return n != null && typeof n == "object";
|
|
66
66
|
}
|
|
67
67
|
var Or = Array.isArray;
|
|
68
|
-
function
|
|
68
|
+
function at(n) {
|
|
69
69
|
var o = typeof n;
|
|
70
70
|
return n != null && (o == "object" || o == "function");
|
|
71
71
|
}
|
|
72
72
|
var to = "[object AsyncFunction]", ro = "[object Function]", no = "[object GeneratorFunction]", io = "[object Proxy]";
|
|
73
73
|
function fi(n) {
|
|
74
|
-
if (!
|
|
74
|
+
if (!at(n))
|
|
75
75
|
return !1;
|
|
76
|
-
var o =
|
|
76
|
+
var o = nt(n);
|
|
77
77
|
return o == ro || o == no || o == to || o == io;
|
|
78
78
|
}
|
|
79
79
|
var qt = ue["__core-js_shared__"], En = function() {
|
|
@@ -101,7 +101,7 @@ var so = /[\\^$.*+?()[\]{}|]/g, lo = /^\[object .+?Constructor\]$/, co = Functio
|
|
|
101
101
|
"^" + po.call(ho).replace(so, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
102
102
|
);
|
|
103
103
|
function yo(n) {
|
|
104
|
-
if (!
|
|
104
|
+
if (!at(n) || ao(n))
|
|
105
105
|
return !1;
|
|
106
106
|
var o = fi(n) ? vo : lo;
|
|
107
107
|
return o.test(Se(n));
|
|
@@ -117,7 +117,7 @@ var er = we(ue, "WeakMap"), Rn = Object.create, _o = /* @__PURE__ */ function()
|
|
|
117
117
|
function n() {
|
|
118
118
|
}
|
|
119
119
|
return function(o) {
|
|
120
|
-
if (!
|
|
120
|
+
if (!at(o))
|
|
121
121
|
return {};
|
|
122
122
|
if (Rn)
|
|
123
123
|
return Rn(o);
|
|
@@ -166,11 +166,11 @@ function hi(n, o, l) {
|
|
|
166
166
|
(!(No.call(n, o) && di(h, l)) || l === void 0 && !(o in n)) && pi(n, o, l);
|
|
167
167
|
}
|
|
168
168
|
function Ot(n, o, l, h) {
|
|
169
|
-
var
|
|
169
|
+
var b = !l;
|
|
170
170
|
l || (l = {});
|
|
171
171
|
for (var g = -1, y = o.length; ++g < y; ) {
|
|
172
172
|
var O = o[g], T = void 0;
|
|
173
|
-
T === void 0 && (T = n[O]),
|
|
173
|
+
T === void 0 && (T = n[O]), b ? pi(l, O, T) : hi(l, O, T);
|
|
174
174
|
}
|
|
175
175
|
return l;
|
|
176
176
|
}
|
|
@@ -193,12 +193,12 @@ function wo(n, o) {
|
|
|
193
193
|
}
|
|
194
194
|
var Po = "[object Arguments]";
|
|
195
195
|
function Tn(n) {
|
|
196
|
-
return
|
|
196
|
+
return it(n) && nt(n) == Po;
|
|
197
197
|
}
|
|
198
198
|
var mi = Object.prototype, Co = mi.hasOwnProperty, ko = mi.propertyIsEnumerable, Ao = Tn(/* @__PURE__ */ function() {
|
|
199
199
|
return arguments;
|
|
200
200
|
}()) ? Tn : function(n) {
|
|
201
|
-
return
|
|
201
|
+
return it(n) && Co.call(n, "callee") && !ko.call(n, "callee");
|
|
202
202
|
};
|
|
203
203
|
function Io() {
|
|
204
204
|
return !1;
|
|
@@ -207,26 +207,26 @@ var _i = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
207
207
|
U[qo] = U[Zo] = U[Qo] = U[eu] = U[tu] = U[ru] = U[nu] = U[iu] = U[au] = !0;
|
|
208
208
|
U[Mo] = U[Fo] = U[Jo] = U[Uo] = U[Ko] = U[jo] = U[Bo] = U[$o] = U[Vo] = U[Go] = U[Yo] = U[zo] = U[Xo] = U[Wo] = U[Ho] = !1;
|
|
209
209
|
function ou(n) {
|
|
210
|
-
return
|
|
210
|
+
return it(n) && vi(n.length) && !!U[nt(n)];
|
|
211
211
|
}
|
|
212
212
|
function Nr(n) {
|
|
213
213
|
return function(o) {
|
|
214
214
|
return n(o);
|
|
215
215
|
};
|
|
216
216
|
}
|
|
217
|
-
var gi = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
217
|
+
var gi = typeof exports == "object" && exports && !exports.nodeType && exports, et = gi && typeof module == "object" && module && !module.nodeType && module, uu = et && et.exports === gi, Zt = uu && li.process, je = function() {
|
|
218
218
|
try {
|
|
219
|
-
var n =
|
|
219
|
+
var n = et && et.require && et.require("util").types;
|
|
220
220
|
return n || Zt && Zt.binding && Zt.binding("util");
|
|
221
221
|
} catch {
|
|
222
222
|
}
|
|
223
|
-
}(), Sn =
|
|
223
|
+
}(), Sn = je && je.isTypedArray, su = Sn ? Nr(Sn) : ou, lu = Object.prototype, cu = lu.hasOwnProperty;
|
|
224
224
|
function Ei(n, o) {
|
|
225
|
-
var l = Or(n), h = !l && Ao(n),
|
|
225
|
+
var l = Or(n), h = !l && Ao(n), b = !l && !h && bi(n), g = !l && !h && !b && su(n), y = l || h || b || g, O = y ? wo(n.length, String) : [], T = O.length;
|
|
226
226
|
for (var r in n)
|
|
227
227
|
(o || cu.call(n, r)) && !(y && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
228
228
|
(r == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
229
|
-
|
|
229
|
+
b && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
230
230
|
g && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
231
231
|
Oo(r, T))) && O.push(r);
|
|
232
232
|
return O;
|
|
@@ -257,7 +257,7 @@ function vu(n) {
|
|
|
257
257
|
}
|
|
258
258
|
var yu = Object.prototype, mu = yu.hasOwnProperty;
|
|
259
259
|
function _u(n) {
|
|
260
|
-
if (!
|
|
260
|
+
if (!at(n))
|
|
261
261
|
return vu(n);
|
|
262
262
|
var o = Tr(n), l = [];
|
|
263
263
|
for (var h in n)
|
|
@@ -267,9 +267,9 @@ function _u(n) {
|
|
|
267
267
|
function Sr(n) {
|
|
268
268
|
return yi(n) ? Ei(n, !0) : _u(n);
|
|
269
269
|
}
|
|
270
|
-
var
|
|
270
|
+
var tt = we(Object, "create");
|
|
271
271
|
function bu() {
|
|
272
|
-
this.__data__ =
|
|
272
|
+
this.__data__ = tt ? tt(null) : {}, this.size = 0;
|
|
273
273
|
}
|
|
274
274
|
function gu(n) {
|
|
275
275
|
var o = this.has(n) && delete this.__data__[n];
|
|
@@ -278,7 +278,7 @@ function gu(n) {
|
|
|
278
278
|
var Eu = "__lodash_hash_undefined__", Ru = Object.prototype, Ou = Ru.hasOwnProperty;
|
|
279
279
|
function Tu(n) {
|
|
280
280
|
var o = this.__data__;
|
|
281
|
-
if (
|
|
281
|
+
if (tt) {
|
|
282
282
|
var l = o[n];
|
|
283
283
|
return l === Eu ? void 0 : l;
|
|
284
284
|
}
|
|
@@ -287,12 +287,12 @@ function Tu(n) {
|
|
|
287
287
|
var Nu = Object.prototype, xu = Nu.hasOwnProperty;
|
|
288
288
|
function Su(n) {
|
|
289
289
|
var o = this.__data__;
|
|
290
|
-
return
|
|
290
|
+
return tt ? o[n] !== void 0 : xu.call(o, n);
|
|
291
291
|
}
|
|
292
292
|
var wu = "__lodash_hash_undefined__";
|
|
293
293
|
function Pu(n, o) {
|
|
294
294
|
var l = this.__data__;
|
|
295
|
-
return this.size += this.has(n) ? 0 : 1, l[n] =
|
|
295
|
+
return this.size += this.has(n) ? 0 : 1, l[n] = tt && o === void 0 ? wu : o, this;
|
|
296
296
|
}
|
|
297
297
|
function Ne(n) {
|
|
298
298
|
var o = -1, l = n == null ? 0 : n.length;
|
|
@@ -346,11 +346,11 @@ de.prototype.delete = Iu;
|
|
|
346
346
|
de.prototype.get = Du;
|
|
347
347
|
de.prototype.has = Lu;
|
|
348
348
|
de.prototype.set = Mu;
|
|
349
|
-
var
|
|
349
|
+
var rt = we(ue, "Map");
|
|
350
350
|
function Fu() {
|
|
351
351
|
this.size = 0, this.__data__ = {
|
|
352
352
|
hash: new Ne(),
|
|
353
|
-
map: new (
|
|
353
|
+
map: new (rt || de)(),
|
|
354
354
|
string: new Ne()
|
|
355
355
|
};
|
|
356
356
|
}
|
|
@@ -376,21 +376,21 @@ function Vu(n, o) {
|
|
|
376
376
|
var l = Nt(this, n), h = l.size;
|
|
377
377
|
return l.set(n, o), this.size += l.size == h ? 0 : 1, this;
|
|
378
378
|
}
|
|
379
|
-
function
|
|
379
|
+
function $e(n) {
|
|
380
380
|
var o = -1, l = n == null ? 0 : n.length;
|
|
381
381
|
for (this.clear(); ++o < l; ) {
|
|
382
382
|
var h = n[o];
|
|
383
383
|
this.set(h[0], h[1]);
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
386
|
+
$e.prototype.clear = Fu;
|
|
387
|
+
$e.prototype.delete = ju;
|
|
388
|
+
$e.prototype.get = Bu;
|
|
389
|
+
$e.prototype.has = $u;
|
|
390
|
+
$e.prototype.set = Vu;
|
|
391
391
|
function Oi(n, o) {
|
|
392
|
-
for (var l = -1, h = o.length,
|
|
393
|
-
n[
|
|
392
|
+
for (var l = -1, h = o.length, b = n.length; ++l < h; )
|
|
393
|
+
n[b + l] = o[l];
|
|
394
394
|
return n;
|
|
395
395
|
}
|
|
396
396
|
var Ti = Ri(Object.getPrototypeOf, Object);
|
|
@@ -412,21 +412,21 @@ function Hu(n, o) {
|
|
|
412
412
|
var l = this.__data__;
|
|
413
413
|
if (l instanceof de) {
|
|
414
414
|
var h = l.__data__;
|
|
415
|
-
if (!
|
|
415
|
+
if (!rt || h.length < Wu - 1)
|
|
416
416
|
return h.push([n, o]), this.size = ++l.size, this;
|
|
417
|
-
l = this.__data__ = new
|
|
417
|
+
l = this.__data__ = new $e(h);
|
|
418
418
|
}
|
|
419
419
|
return l.set(n, o), this.size = l.size, this;
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function Ve(n) {
|
|
422
422
|
var o = this.__data__ = new de(n);
|
|
423
423
|
this.size = o.size;
|
|
424
424
|
}
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
425
|
+
Ve.prototype.clear = Gu;
|
|
426
|
+
Ve.prototype.delete = Yu;
|
|
427
|
+
Ve.prototype.get = zu;
|
|
428
|
+
Ve.prototype.has = Xu;
|
|
429
|
+
Ve.prototype.set = Hu;
|
|
430
430
|
function Ju(n, o) {
|
|
431
431
|
return n && Ot(o, xr(o), n);
|
|
432
432
|
}
|
|
@@ -441,9 +441,9 @@ function Zu(n, o) {
|
|
|
441
441
|
return n.copy(h), h;
|
|
442
442
|
}
|
|
443
443
|
function Qu(n, o) {
|
|
444
|
-
for (var l = -1, h = n == null ? 0 : n.length,
|
|
444
|
+
for (var l = -1, h = n == null ? 0 : n.length, b = 0, g = []; ++l < h; ) {
|
|
445
445
|
var y = n[l];
|
|
446
|
-
o(y, l, n) && (g[
|
|
446
|
+
o(y, l, n) && (g[b++] = y);
|
|
447
447
|
}
|
|
448
448
|
return g;
|
|
449
449
|
}
|
|
@@ -476,9 +476,9 @@ function as(n) {
|
|
|
476
476
|
function os(n) {
|
|
477
477
|
return wi(n, Sr, Si);
|
|
478
478
|
}
|
|
479
|
-
var tr = we(ue, "DataView"), rr = we(ue, "Promise"), nr = we(ue, "Set"), An = "[object Map]", us = "[object Object]", In = "[object Promise]", Dn = "[object Set]", Ln = "[object WeakMap]", Mn = "[object DataView]", ss = Se(tr), ls = Se(
|
|
480
|
-
(tr && pe(new tr(new ArrayBuffer(1))) != Mn ||
|
|
481
|
-
var o =
|
|
479
|
+
var tr = we(ue, "DataView"), rr = we(ue, "Promise"), nr = we(ue, "Set"), An = "[object Map]", us = "[object Object]", In = "[object Promise]", Dn = "[object Set]", Ln = "[object WeakMap]", Mn = "[object DataView]", ss = Se(tr), ls = Se(rt), cs = Se(rr), fs = Se(nr), ps = Se(er), pe = nt;
|
|
480
|
+
(tr && pe(new tr(new ArrayBuffer(1))) != Mn || rt && pe(new rt()) != An || rr && pe(rr.resolve()) != In || nr && pe(new nr()) != Dn || er && pe(new er()) != Ln) && (pe = function(n) {
|
|
481
|
+
var o = nt(n), l = o == us ? n.constructor : void 0, h = l ? Se(l) : "";
|
|
482
482
|
if (h)
|
|
483
483
|
switch (h) {
|
|
484
484
|
case ss:
|
|
@@ -513,7 +513,7 @@ function _s(n) {
|
|
|
513
513
|
var o = new n.constructor(n.source, ms.exec(n));
|
|
514
514
|
return o.lastIndex = n.lastIndex, o;
|
|
515
515
|
}
|
|
516
|
-
var Un =
|
|
516
|
+
var Un = Ue ? Ue.prototype : void 0, jn = Un ? Un.valueOf : void 0;
|
|
517
517
|
function bs(n) {
|
|
518
518
|
return jn ? Object(jn.call(n)) : {};
|
|
519
519
|
}
|
|
@@ -560,20 +560,20 @@ function $s(n) {
|
|
|
560
560
|
}
|
|
561
561
|
var Vs = "[object Map]";
|
|
562
562
|
function Gs(n) {
|
|
563
|
-
return
|
|
563
|
+
return it(n) && pe(n) == Vs;
|
|
564
564
|
}
|
|
565
|
-
var Bn =
|
|
565
|
+
var Bn = je && je.isMap, Ys = Bn ? Nr(Bn) : Gs, zs = "[object Set]";
|
|
566
566
|
function Xs(n) {
|
|
567
|
-
return
|
|
567
|
+
return it(n) && pe(n) == zs;
|
|
568
568
|
}
|
|
569
|
-
var $n =
|
|
569
|
+
var $n = je && je.isSet, Ws = $n ? Nr($n) : Xs, Hs = 1, Js = 2, Ks = 4, Pi = "[object Arguments]", qs = "[object Array]", Zs = "[object Boolean]", Qs = "[object Date]", el = "[object Error]", Ci = "[object Function]", tl = "[object GeneratorFunction]", rl = "[object Map]", nl = "[object Number]", ki = "[object Object]", il = "[object RegExp]", al = "[object Set]", ol = "[object String]", ul = "[object Symbol]", sl = "[object WeakMap]", ll = "[object ArrayBuffer]", cl = "[object DataView]", fl = "[object Float32Array]", pl = "[object Float64Array]", dl = "[object Int8Array]", hl = "[object Int16Array]", vl = "[object Int32Array]", yl = "[object Uint8Array]", ml = "[object Uint8ClampedArray]", _l = "[object Uint16Array]", bl = "[object Uint32Array]", M = {};
|
|
570
570
|
M[Pi] = M[qs] = M[ll] = M[cl] = M[Zs] = M[Qs] = M[fl] = M[pl] = M[dl] = M[hl] = M[vl] = M[rl] = M[nl] = M[ki] = M[il] = M[al] = M[ol] = M[ul] = M[yl] = M[ml] = M[_l] = M[bl] = !0;
|
|
571
571
|
M[el] = M[Ci] = M[sl] = !1;
|
|
572
|
-
function
|
|
572
|
+
function bt(n, o, l, h, b, g) {
|
|
573
573
|
var y, O = o & Hs, T = o & Js, r = o & Ks;
|
|
574
574
|
if (y !== void 0)
|
|
575
575
|
return y;
|
|
576
|
-
if (!
|
|
576
|
+
if (!at(n))
|
|
577
577
|
return n;
|
|
578
578
|
var t = Or(n);
|
|
579
579
|
if (t) {
|
|
@@ -583,32 +583,32 @@ function gt(n, o, l, h, _, g) {
|
|
|
583
583
|
var e = pe(n), i = e == Ci || e == tl;
|
|
584
584
|
if (bi(n))
|
|
585
585
|
return Zu(n, O);
|
|
586
|
-
if (e == ki || e == Pi || i && !
|
|
586
|
+
if (e == ki || e == Pi || i && !b) {
|
|
587
587
|
if (y = T || i ? {} : $s(n), !O)
|
|
588
588
|
return T ? is(n, Ku(y, n)) : rs(n, Ju(y, n));
|
|
589
589
|
} else {
|
|
590
590
|
if (!M[e])
|
|
591
|
-
return
|
|
591
|
+
return b ? n : {};
|
|
592
592
|
y = Bs(n, e, O);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
|
-
g || (g = new
|
|
595
|
+
g || (g = new Ve());
|
|
596
596
|
var s = g.get(n);
|
|
597
597
|
if (s)
|
|
598
598
|
return s;
|
|
599
599
|
g.set(n, y), Ws(n) ? n.forEach(function(a) {
|
|
600
|
-
y.add(
|
|
600
|
+
y.add(bt(a, o, l, a, n, g));
|
|
601
601
|
}) : Ys(n) && n.forEach(function(a, f) {
|
|
602
|
-
y.set(f,
|
|
602
|
+
y.set(f, bt(a, o, l, f, n, g));
|
|
603
603
|
});
|
|
604
604
|
var u = r ? T ? os : as : T ? Sr : xr, c = t ? void 0 : u(n);
|
|
605
605
|
return go(c || n, function(a, f) {
|
|
606
|
-
c && (f = a, a = n[f]), hi(y, f,
|
|
606
|
+
c && (f = a, a = n[f]), hi(y, f, bt(a, o, l, f, n, g));
|
|
607
607
|
}), y;
|
|
608
608
|
}
|
|
609
609
|
var gl = 1, El = 4;
|
|
610
610
|
function _e(n) {
|
|
611
|
-
return
|
|
611
|
+
return bt(n, gl | El);
|
|
612
612
|
}
|
|
613
613
|
function Rl(n, o) {
|
|
614
614
|
if (n === "page") {
|
|
@@ -626,20 +626,20 @@ function Vn(n, o) {
|
|
|
626
626
|
return n.array ? _e(o ? n.default : n.defaultArray) : _e(n.default);
|
|
627
627
|
}
|
|
628
628
|
function Gn(n, o) {
|
|
629
|
-
function l(h,
|
|
630
|
-
if (
|
|
631
|
-
if (
|
|
629
|
+
function l(h, b) {
|
|
630
|
+
if (b.ui) {
|
|
631
|
+
if (b.ui === "strInput" && b.static)
|
|
632
632
|
return;
|
|
633
|
-
h[
|
|
633
|
+
h[b.key] = Vn(b);
|
|
634
634
|
} else
|
|
635
|
-
|
|
636
|
-
h[
|
|
635
|
+
b.array ? h[b.key] = Vn(b) : b.children.forEach((g) => {
|
|
636
|
+
h[b.key] || (h[b.key] = {}), l(h[b.key], g);
|
|
637
637
|
});
|
|
638
638
|
}
|
|
639
639
|
o.forEach((h) => l(n, h));
|
|
640
640
|
}
|
|
641
|
-
function Ol(n, o, l, h,
|
|
642
|
-
const g = `type=${n} subtype=${o} version=${l} ref=${h} keyOrRefid=${
|
|
641
|
+
function Ol(n, o, l, h, b) {
|
|
642
|
+
const g = `type=${n} subtype=${o} version=${l} ref=${h} keyOrRefid=${b}`, y = Rl(n, o);
|
|
643
643
|
if (!y) {
|
|
644
644
|
console.error(`spawnNode prop tag not found, ${g}`);
|
|
645
645
|
return;
|
|
@@ -656,7 +656,7 @@ function Ol(n, o, l, h, _) {
|
|
|
656
656
|
}
|
|
657
657
|
}, r = si(16);
|
|
658
658
|
if (h) {
|
|
659
|
-
const t = O.refKey, e =
|
|
659
|
+
const t = O.refKey, e = b;
|
|
660
660
|
if (!O.elements.has(t)) {
|
|
661
661
|
console.error(`spawnNode [ref] element not found in pkg, ${g}`);
|
|
662
662
|
return;
|
|
@@ -675,7 +675,7 @@ function Ol(n, o, l, h, _) {
|
|
|
675
675
|
id: e
|
|
676
676
|
};
|
|
677
677
|
} else {
|
|
678
|
-
const t =
|
|
678
|
+
const t = b;
|
|
679
679
|
if (!O.elements.has(t)) {
|
|
680
680
|
console.error(`spawnNode [key] element not found in pkg, ${g}`);
|
|
681
681
|
return;
|
|
@@ -699,22 +699,22 @@ function Yc(n, o) {
|
|
|
699
699
|
if (h.basic.id === o)
|
|
700
700
|
return h;
|
|
701
701
|
if (h.children)
|
|
702
|
-
for (let
|
|
703
|
-
const g = l(h.children[
|
|
702
|
+
for (let b = 0; b < h.children.length; b++) {
|
|
703
|
+
const g = l(h.children[b]);
|
|
704
704
|
if (g)
|
|
705
705
|
return g;
|
|
706
706
|
}
|
|
707
707
|
}
|
|
708
708
|
for (let h = 0; h < n.length; h++) {
|
|
709
|
-
const
|
|
710
|
-
if (
|
|
711
|
-
return
|
|
709
|
+
const b = l(n[h]);
|
|
710
|
+
if (b)
|
|
711
|
+
return b;
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
714
|
function Tl(n) {
|
|
715
715
|
function o(h) {
|
|
716
|
-
var
|
|
717
|
-
h.basic.id = si(16), (
|
|
716
|
+
var b;
|
|
717
|
+
h.basic.id = si(16), (b = h.children) == null || b.forEach((g) => o(g));
|
|
718
718
|
}
|
|
719
719
|
const l = _e(n);
|
|
720
720
|
return o(l), l;
|
|
@@ -725,7 +725,7 @@ function zc(n) {
|
|
|
725
725
|
o.push(Tl(l));
|
|
726
726
|
}), o;
|
|
727
727
|
}
|
|
728
|
-
const Ai = "runtimeEnv", Ii = "runtimeMode", Di = "runtimeDevice", Li = "runtimeDark", Mi = "runtimeType", Fi = "runtimeData", Ui = "runtimeDepends", ji = "
|
|
728
|
+
const Ai = "runtimeEnv", Ii = "runtimeMode", Di = "runtimeDevice", Li = "runtimeDark", Mi = "runtimeType", Fi = "runtimeData", Ui = "runtimeDepends", ji = "runtimeSandbox";
|
|
729
729
|
function Xc(n) {
|
|
730
730
|
be(Ai, n);
|
|
731
731
|
}
|
|
@@ -747,7 +747,7 @@ function $i() {
|
|
|
747
747
|
function Jc(n) {
|
|
748
748
|
be(Li, mr(n));
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Ge() {
|
|
751
751
|
return ge(Li);
|
|
752
752
|
}
|
|
753
753
|
function Kc(n) {
|
|
@@ -781,7 +781,7 @@ const xl = /* @__PURE__ */ oe({
|
|
|
781
781
|
outer: { type: Boolean }
|
|
782
782
|
},
|
|
783
783
|
setup(n) {
|
|
784
|
-
const o = n, l = he(), h =
|
|
784
|
+
const o = n, l = he(), h = Ge(), b = Nl(), g = x(() => {
|
|
785
785
|
var i;
|
|
786
786
|
return (i = o.node.settings) == null ? void 0 : i.text;
|
|
787
787
|
}), y = x(() => {
|
|
@@ -797,10 +797,13 @@ const xl = /* @__PURE__ */ oe({
|
|
|
797
797
|
var i;
|
|
798
798
|
return (i = o.node.settings) == null ? void 0 : i.block;
|
|
799
799
|
}), t = x(() => h.value ? "dark" : "light"), e = () => {
|
|
800
|
-
if (l !== "runtime"
|
|
800
|
+
if (l !== "runtime")
|
|
801
|
+
return;
|
|
802
|
+
const i = b.interpreter;
|
|
803
|
+
if (!i)
|
|
801
804
|
return;
|
|
802
|
-
const
|
|
803
|
-
|
|
805
|
+
const s = i.nativeToPseudo(o.node.basic.id);
|
|
806
|
+
i.appendCode(`__triggerEvent__('${s}', 'click');`), i.run();
|
|
804
807
|
};
|
|
805
808
|
return (i, s) => {
|
|
806
809
|
const u = ie("v-btn");
|
|
@@ -826,7 +829,7 @@ const xl = /* @__PURE__ */ oe({
|
|
|
826
829
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
827
830
|
{ title: "x-runtime-lib.comfortable", value: "comfortable" },
|
|
828
831
|
{ title: "x-runtime-lib.compact", value: "compact" }
|
|
829
|
-
], ir = "btn_v1", ar = "card_v1", or = "chip_v1", ur = "combobox_v1", sr = "container_v1", lr = "data_table_v1", cr = "dialog_v1", fr = "globality_v1", pr = "number_input_v1", dr = "rating_v1",
|
|
832
|
+
], ir = "btn_v1", ar = "card_v1", or = "chip_v1", ur = "combobox_v1", sr = "container_v1", lr = "data_table_v1", cr = "dialog_v1", fr = "globality_v1", pr = "number_input_v1", dr = "rating_v1", gt = "ref_v1", hr = "select_v1", vr = "text_area_v1", yr = "text_field_v1", F = {
|
|
830
833
|
key: "basic",
|
|
831
834
|
name: "x-runtime-lib.basic",
|
|
832
835
|
children: [
|
|
@@ -907,8 +910,8 @@ const xl = /* @__PURE__ */ oe({
|
|
|
907
910
|
}
|
|
908
911
|
}, xt = (n, o) => {
|
|
909
912
|
const l = n.__vccOpts || n;
|
|
910
|
-
for (const [h,
|
|
911
|
-
l[h] =
|
|
913
|
+
for (const [h, b] of o)
|
|
914
|
+
l[h] = b;
|
|
912
915
|
return l;
|
|
913
916
|
}, Pl = {};
|
|
914
917
|
function Cl(n, o) {
|
|
@@ -959,7 +962,7 @@ const Ll = /* @__PURE__ */ xt(Il, [["render", Dl]]), Ml = {
|
|
|
959
962
|
outer: { type: Boolean }
|
|
960
963
|
},
|
|
961
964
|
setup(n) {
|
|
962
|
-
const o = n, l = he(), h =
|
|
965
|
+
const o = n, l = he(), h = Ge(), b = x(() => {
|
|
963
966
|
var e;
|
|
964
967
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
965
968
|
}), g = x(() => {
|
|
@@ -980,9 +983,9 @@ const Ll = /* @__PURE__ */ xt(Il, [["render", Dl]]), Ml = {
|
|
|
980
983
|
}), t = x(() => h.value ? "dark" : "light");
|
|
981
984
|
return (e, i) => {
|
|
982
985
|
const s = ie("v-combobox");
|
|
983
|
-
return
|
|
986
|
+
return Me(l) === "editor" ? (G(), Be("div", Fl, [
|
|
984
987
|
Z(s, {
|
|
985
|
-
"model-value":
|
|
988
|
+
"model-value": b.value,
|
|
986
989
|
label: g.value,
|
|
987
990
|
placeholder: y.value,
|
|
988
991
|
"hide-details": O.value,
|
|
@@ -992,7 +995,7 @@ const Ll = /* @__PURE__ */ xt(Il, [["render", Dl]]), Ml = {
|
|
|
992
995
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
993
996
|
])) : (G(), Q(s, {
|
|
994
997
|
key: 1,
|
|
995
|
-
"model-value":
|
|
998
|
+
"model-value": b.value,
|
|
996
999
|
label: g.value,
|
|
997
1000
|
placeholder: y.value,
|
|
998
1001
|
"hide-details": O.value,
|
|
@@ -1059,7 +1062,7 @@ function zi(n, o, l) {
|
|
|
1059
1062
|
const h = x(() => {
|
|
1060
1063
|
var t;
|
|
1061
1064
|
return (t = l.node.size) == null ? void 0 : t.width;
|
|
1062
|
-
}),
|
|
1065
|
+
}), b = x(() => {
|
|
1063
1066
|
var t;
|
|
1064
1067
|
return (t = l.node.size) == null ? void 0 : t.minWidth;
|
|
1065
1068
|
}), g = x(() => {
|
|
@@ -1091,9 +1094,9 @@ function zi(n, o, l) {
|
|
|
1091
1094
|
return (e = l.node.size) == null ? void 0 : e.maxHeight;
|
|
1092
1095
|
});
|
|
1093
1096
|
function r(t) {
|
|
1094
|
-
h.value && (t.width = h.value),
|
|
1097
|
+
h.value && (t.width = h.value), b.value && (t.minWidth = b.value), g.value && (t.maxWidth = g.value), y.value && (t.height = y.value), O.value && (t.minHeight = O.value), T.value && (t.maxHeight = T.value);
|
|
1095
1098
|
}
|
|
1096
|
-
return { width: h, minWidth:
|
|
1099
|
+
return { width: h, minWidth: b, maxWidth: g, height: y, minHeight: O, maxHeight: T, applySize: r };
|
|
1097
1100
|
}
|
|
1098
1101
|
function Bl(n) {
|
|
1099
1102
|
const o = x(() => {
|
|
@@ -1105,14 +1108,14 @@ function Bl(n) {
|
|
|
1105
1108
|
}), h = x(() => {
|
|
1106
1109
|
var y;
|
|
1107
1110
|
return (y = n.node.margin) == null ? void 0 : y.bottom;
|
|
1108
|
-
}),
|
|
1111
|
+
}), b = x(() => {
|
|
1109
1112
|
var y;
|
|
1110
1113
|
return (y = n.node.margin) == null ? void 0 : y.right;
|
|
1111
1114
|
});
|
|
1112
1115
|
function g(y) {
|
|
1113
|
-
o.value && (y.marginTop = o.value), l.value && (y.marginLeft = l.value), h.value && (y.marginBottom = h.value),
|
|
1116
|
+
o.value && (y.marginTop = o.value), l.value && (y.marginLeft = l.value), h.value && (y.marginBottom = h.value), b.value && (y.marginRight = b.value);
|
|
1114
1117
|
}
|
|
1115
|
-
return { marginTop: o, marginLeft: l, marginBottom: h, marginRight:
|
|
1118
|
+
return { marginTop: o, marginLeft: l, marginBottom: h, marginRight: b, applyMargin: g };
|
|
1116
1119
|
}
|
|
1117
1120
|
function $l(n) {
|
|
1118
1121
|
const o = x(() => {
|
|
@@ -1124,14 +1127,14 @@ function $l(n) {
|
|
|
1124
1127
|
}), h = x(() => {
|
|
1125
1128
|
var y;
|
|
1126
1129
|
return (y = n.node.padding) == null ? void 0 : y.bottom;
|
|
1127
|
-
}),
|
|
1130
|
+
}), b = x(() => {
|
|
1128
1131
|
var y;
|
|
1129
1132
|
return (y = n.node.padding) == null ? void 0 : y.right;
|
|
1130
1133
|
});
|
|
1131
1134
|
function g(y) {
|
|
1132
|
-
o.value && (y.paddingTop = o.value), l.value && (y.paddingLeft = l.value), h.value && (y.paddingBottom = h.value),
|
|
1135
|
+
o.value && (y.paddingTop = o.value), l.value && (y.paddingLeft = l.value), h.value && (y.paddingBottom = h.value), b.value && (y.paddingRight = b.value);
|
|
1133
1136
|
}
|
|
1134
|
-
return { paddingTop: o, paddingLeft: l, paddingBottom: h, paddingRight:
|
|
1137
|
+
return { paddingTop: o, paddingLeft: l, paddingBottom: h, paddingRight: b, applyPadding: g };
|
|
1135
1138
|
}
|
|
1136
1139
|
function Vl(n) {
|
|
1137
1140
|
const o = x(() => {
|
|
@@ -1144,10 +1147,10 @@ function Vl(n) {
|
|
|
1144
1147
|
var g;
|
|
1145
1148
|
return (g = n.node.border) == null ? void 0 : g.color;
|
|
1146
1149
|
});
|
|
1147
|
-
function
|
|
1150
|
+
function b(g) {
|
|
1148
1151
|
o.value && (g.borderStyle = o.value), l.value && (g.borderWidth = l.value), h.value && (g.borderColor = h.value);
|
|
1149
1152
|
}
|
|
1150
|
-
return { borderStyle: o, borderWidth: l, borderColor: h, applyBorder:
|
|
1153
|
+
return { borderStyle: o, borderWidth: l, borderColor: h, applyBorder: b };
|
|
1151
1154
|
}
|
|
1152
1155
|
const Gl = /* @__PURE__ */ oe({
|
|
1153
1156
|
__name: "index",
|
|
@@ -1156,11 +1159,11 @@ const Gl = /* @__PURE__ */ oe({
|
|
|
1156
1159
|
outer: { type: Boolean }
|
|
1157
1160
|
},
|
|
1158
1161
|
setup(n) {
|
|
1159
|
-
const o = n, l = he(), h = $i(),
|
|
1162
|
+
const o = n, l = he(), h = $i(), b = Cr(), g = kr(), { applySize: y } = zi(l, h, o), { applyMargin: O } = Bl(o), { applyPadding: T } = $l(o), { applyBorder: r } = Vl(o), t = x(() => {
|
|
1160
1163
|
const e = {}, i = g.type;
|
|
1161
|
-
return
|
|
1164
|
+
return b === "page" ? i === "common" ? (y(e), O(e), T(e), r(e)) : console.assert(!1) : b === "comp" && i === "common" ? (y(e), O(e), T(e), r(e)) : console.assert(!1), e;
|
|
1162
1165
|
});
|
|
1163
|
-
return (e, i) => (G(),
|
|
1166
|
+
return (e, i) => (G(), Be("div", {
|
|
1164
1167
|
style: Ia(t.value)
|
|
1165
1168
|
}, [
|
|
1166
1169
|
_r(e.$slots, "default")
|
|
@@ -1263,7 +1266,7 @@ const Gl = /* @__PURE__ */ oe({
|
|
|
1263
1266
|
]
|
|
1264
1267
|
}
|
|
1265
1268
|
]
|
|
1266
|
-
},
|
|
1269
|
+
}, mt = [
|
|
1267
1270
|
{
|
|
1268
1271
|
name: "x-runtime-lib.default",
|
|
1269
1272
|
ui: "word",
|
|
@@ -1304,32 +1307,32 @@ const Gl = /* @__PURE__ */ oe({
|
|
|
1304
1307
|
key: "top",
|
|
1305
1308
|
name: "x-runtime-lib.top",
|
|
1306
1309
|
ui: "multiTypes",
|
|
1307
|
-
types:
|
|
1310
|
+
types: mt,
|
|
1308
1311
|
default: ""
|
|
1309
1312
|
},
|
|
1310
1313
|
{
|
|
1311
1314
|
key: "left",
|
|
1312
1315
|
name: "x-runtime-lib.left",
|
|
1313
1316
|
ui: "multiTypes",
|
|
1314
|
-
types:
|
|
1317
|
+
types: mt,
|
|
1315
1318
|
default: ""
|
|
1316
1319
|
},
|
|
1317
1320
|
{
|
|
1318
1321
|
key: "bottom",
|
|
1319
1322
|
name: "x-runtime-lib.bottom",
|
|
1320
1323
|
ui: "multiTypes",
|
|
1321
|
-
types:
|
|
1324
|
+
types: mt,
|
|
1322
1325
|
default: ""
|
|
1323
1326
|
},
|
|
1324
1327
|
{
|
|
1325
1328
|
key: "right",
|
|
1326
1329
|
name: "x-runtime-lib.right",
|
|
1327
1330
|
ui: "multiTypes",
|
|
1328
|
-
types:
|
|
1331
|
+
types: mt,
|
|
1329
1332
|
default: ""
|
|
1330
1333
|
}
|
|
1331
1334
|
]
|
|
1332
|
-
},
|
|
1335
|
+
}, _t = [
|
|
1333
1336
|
{
|
|
1334
1337
|
name: "x-runtime-lib.default",
|
|
1335
1338
|
ui: "word",
|
|
@@ -1364,28 +1367,28 @@ const Gl = /* @__PURE__ */ oe({
|
|
|
1364
1367
|
key: "top",
|
|
1365
1368
|
name: "x-runtime-lib.top",
|
|
1366
1369
|
ui: "multiTypes",
|
|
1367
|
-
types:
|
|
1370
|
+
types: _t,
|
|
1368
1371
|
default: ""
|
|
1369
1372
|
},
|
|
1370
1373
|
{
|
|
1371
1374
|
key: "left",
|
|
1372
1375
|
name: "x-runtime-lib.left",
|
|
1373
1376
|
ui: "multiTypes",
|
|
1374
|
-
types:
|
|
1377
|
+
types: _t,
|
|
1375
1378
|
default: ""
|
|
1376
1379
|
},
|
|
1377
1380
|
{
|
|
1378
1381
|
key: "bottom",
|
|
1379
1382
|
name: "x-runtime-lib.bottom",
|
|
1380
1383
|
ui: "multiTypes",
|
|
1381
|
-
types:
|
|
1384
|
+
types: _t,
|
|
1382
1385
|
default: ""
|
|
1383
1386
|
},
|
|
1384
1387
|
{
|
|
1385
1388
|
key: "right",
|
|
1386
1389
|
name: "x-runtime-lib.right",
|
|
1387
1390
|
ui: "multiTypes",
|
|
1388
|
-
types:
|
|
1391
|
+
types: _t,
|
|
1389
1392
|
default: ""
|
|
1390
1393
|
}
|
|
1391
1394
|
]
|
|
@@ -1477,8 +1480,8 @@ function Hl(n) {
|
|
|
1477
1480
|
l.prototype = o.prototype;
|
|
1478
1481
|
} else l = {};
|
|
1479
1482
|
return Object.defineProperty(l, "__esModule", { value: !0 }), Object.keys(n).forEach(function(h) {
|
|
1480
|
-
var
|
|
1481
|
-
Object.defineProperty(l, h,
|
|
1483
|
+
var b = Object.getOwnPropertyDescriptor(n, h);
|
|
1484
|
+
Object.defineProperty(l, h, b.get ? b : {
|
|
1482
1485
|
enumerable: !0,
|
|
1483
1486
|
get: function() {
|
|
1484
1487
|
return n[h];
|
|
@@ -1492,8 +1495,8 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1492
1495
|
default: Jl
|
|
1493
1496
|
}, Symbol.toStringTag, { value: "Module" })), ql = /* @__PURE__ */ Hl(Kl);
|
|
1494
1497
|
(function(n, o) {
|
|
1495
|
-
(function(h,
|
|
1496
|
-
n.exports =
|
|
1498
|
+
(function(h, b) {
|
|
1499
|
+
n.exports = b();
|
|
1497
1500
|
})(Xl, () => (
|
|
1498
1501
|
/******/
|
|
1499
1502
|
(() => {
|
|
@@ -1794,8 +1797,8 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1794
1797
|
var a = "";
|
|
1795
1798
|
var f = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1796
1799
|
if (f) {
|
|
1797
|
-
for (var v = f.split(/\s*,\s*/),
|
|
1798
|
-
var N = v[
|
|
1800
|
+
for (var v = f.split(/\s*,\s*/), _ = 0; _ < v.length; _++) {
|
|
1801
|
+
var N = v[_];
|
|
1799
1802
|
s.test(N) || e.throwException(
|
|
1800
1803
|
e.SYNTAX_ERROR,
|
|
1801
1804
|
"Invalid function argument: " + N
|
|
@@ -2041,8 +2044,8 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2041
2044
|
e.TYPE_ERROR,
|
|
2042
2045
|
"Object.getOwnPropertyDescriptor called on non-object: " + c
|
|
2043
2046
|
), a = String(a), a in c.properties) {
|
|
2044
|
-
var f = Object.getOwnPropertyDescriptor(c.properties, a), v = c.getter[a],
|
|
2045
|
-
return v ||
|
|
2047
|
+
var f = Object.getOwnPropertyDescriptor(c.properties, a), v = c.getter[a], _ = c.setter[a], N = e.createObjectProto(e.OBJECT_PROTO);
|
|
2048
|
+
return v || _ ? (e.setProperty(N, "get", v), e.setProperty(N, "set", _)) : (e.setProperty(
|
|
2046
2049
|
N,
|
|
2047
2050
|
"value",
|
|
2048
2051
|
/** @type {!Interpreter.Value} */
|
|
@@ -2631,18 +2634,18 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2631
2634
|
/** @type {?} */
|
|
2632
2635
|
v
|
|
2633
2636
|
);
|
|
2634
|
-
} catch (
|
|
2637
|
+
} catch (_) {
|
|
2635
2638
|
e.throwException(
|
|
2636
2639
|
e.ERROR,
|
|
2637
|
-
"localeCompare: " +
|
|
2640
|
+
"localeCompare: " + _.message
|
|
2638
2641
|
);
|
|
2639
2642
|
}
|
|
2640
2643
|
}, this.setNativeFunctionPrototype(this.STRING, "localeCompare", i), i = function(a, f, v) {
|
|
2641
|
-
var
|
|
2644
|
+
var _ = String(this);
|
|
2642
2645
|
if (f = f ? Number(f) : void 0, e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a, v), e.REGEXP_MODE === 2)) {
|
|
2643
2646
|
if (r.vm) {
|
|
2644
2647
|
var N = {
|
|
2645
|
-
string:
|
|
2648
|
+
string: _,
|
|
2646
2649
|
separator: a,
|
|
2647
2650
|
limit: f
|
|
2648
2651
|
}, R = "string.split(separator, limit)", L = e.vmCall(R, N, a, v);
|
|
@@ -2655,20 +2658,20 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2655
2658
|
);
|
|
2656
2659
|
S.onmessage = function(H) {
|
|
2657
2660
|
clearTimeout(k), v(e.nativeToPseudo(H.data));
|
|
2658
|
-
}, S.postMessage(["split",
|
|
2661
|
+
}, S.postMessage(["split", _, a, f]);
|
|
2659
2662
|
}
|
|
2660
2663
|
return;
|
|
2661
2664
|
}
|
|
2662
|
-
var L =
|
|
2665
|
+
var L = _.split(a, f);
|
|
2663
2666
|
v(e.nativeToPseudo(L));
|
|
2664
2667
|
}, this.setAsyncFunctionPrototype(this.STRING, "split", i), i = function(a, f) {
|
|
2665
2668
|
var v = String(this);
|
|
2666
2669
|
if (a = e.isa(a, e.REGEXP) ? a.data : new RegExp(a), e.maybeThrowRegExp(a, f), e.REGEXP_MODE === 2) {
|
|
2667
2670
|
if (r.vm) {
|
|
2668
|
-
var
|
|
2671
|
+
var _ = {
|
|
2669
2672
|
string: v,
|
|
2670
2673
|
regexp: a
|
|
2671
|
-
}, N = "string.match(regexp)", k = e.vmCall(N,
|
|
2674
|
+
}, N = "string.match(regexp)", k = e.vmCall(N, _, a, f);
|
|
2672
2675
|
k !== r.REGEXP_TIMEOUT && f(k && e.matchToPseudo_(k));
|
|
2673
2676
|
} else {
|
|
2674
2677
|
var R = e.createWorker(), S = e.regExpTimeout(a, R, f);
|
|
@@ -2684,10 +2687,10 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2684
2687
|
var v = String(this);
|
|
2685
2688
|
if (e.isa(a, e.REGEXP) ? a = a.data : a = new RegExp(a), e.maybeThrowRegExp(a, f), e.REGEXP_MODE === 2) {
|
|
2686
2689
|
if (r.vm) {
|
|
2687
|
-
var
|
|
2690
|
+
var _ = {
|
|
2688
2691
|
string: v,
|
|
2689
2692
|
regexp: a
|
|
2690
|
-
}, N = "string.search(regexp)", R = e.vmCall(N,
|
|
2693
|
+
}, N = "string.search(regexp)", R = e.vmCall(N, _, a, f);
|
|
2691
2694
|
R !== r.REGEXP_TIMEOUT && f(R);
|
|
2692
2695
|
} else {
|
|
2693
2696
|
var S = e.createWorker(), k = e.regExpTimeout(a, S, f);
|
|
@@ -2699,11 +2702,11 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2699
2702
|
}
|
|
2700
2703
|
f(v.search(a));
|
|
2701
2704
|
}, this.setAsyncFunctionPrototype(this.STRING, "search", i), i = function(a, f, v) {
|
|
2702
|
-
var
|
|
2705
|
+
var _ = String(this);
|
|
2703
2706
|
if (f = String(f), e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a, v), e.REGEXP_MODE === 2)) {
|
|
2704
2707
|
if (r.vm) {
|
|
2705
2708
|
var N = {
|
|
2706
|
-
string:
|
|
2709
|
+
string: _,
|
|
2707
2710
|
substr: a,
|
|
2708
2711
|
newSubstr: f
|
|
2709
2712
|
}, R = "string.replace(substr, newSubstr)", S = e.vmCall(R, N, a, v);
|
|
@@ -2716,11 +2719,11 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2716
2719
|
);
|
|
2717
2720
|
k.onmessage = function(H) {
|
|
2718
2721
|
clearTimeout(L), v(H.data);
|
|
2719
|
-
}, k.postMessage(["replace",
|
|
2722
|
+
}, k.postMessage(["replace", _, a, f]);
|
|
2720
2723
|
}
|
|
2721
2724
|
return;
|
|
2722
2725
|
}
|
|
2723
|
-
v(
|
|
2726
|
+
v(_.replace(a, f));
|
|
2724
2727
|
}, this.setAsyncFunctionPrototype(this.STRING, "replace", i), this.polyfills_.push(
|
|
2725
2728
|
/* POLYFILL START */
|
|
2726
2729
|
"(function() {",
|
|
@@ -2916,8 +2919,8 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2916
2919
|
e.TYPE_ERROR,
|
|
2917
2920
|
c + " not called on a Date"
|
|
2918
2921
|
);
|
|
2919
|
-
for (var v = [],
|
|
2920
|
-
v[
|
|
2922
|
+
for (var v = [], _ = 0; _ < arguments.length; _++)
|
|
2923
|
+
v[_] = e.pseudoToNative(arguments[_]);
|
|
2921
2924
|
return f[c].apply(f, v);
|
|
2922
2925
|
};
|
|
2923
2926
|
}(s[u]), this.setNativeFunctionPrototype(this.DATE, s[u], i);
|
|
@@ -2995,10 +2998,10 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2995
2998
|
}, v = "regexp.exec(string)", S = e.vmCall(v, f, a, c);
|
|
2996
2999
|
S !== r.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", a.lastIndex), c(e.matchToPseudo_(S)));
|
|
2997
3000
|
} else {
|
|
2998
|
-
var
|
|
2999
|
-
|
|
3001
|
+
var _ = e.createWorker(), N = e.regExpTimeout(a, _, c), R = this;
|
|
3002
|
+
_.onmessage = function(k) {
|
|
3000
3003
|
clearTimeout(N), e.setProperty(R, "lastIndex", k.data[1]), c(e.matchToPseudo_(k.data[0]));
|
|
3001
|
-
},
|
|
3004
|
+
}, _.postMessage(["exec", a, a.lastIndex, u]);
|
|
3002
3005
|
}
|
|
3003
3006
|
return;
|
|
3004
3007
|
}
|
|
@@ -3143,11 +3146,11 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3143
3146
|
})) : a = null, typeof f != "string" && typeof f != "number" && (f = void 0);
|
|
3144
3147
|
var v = i.pseudoToNative(c);
|
|
3145
3148
|
try {
|
|
3146
|
-
var
|
|
3149
|
+
var _ = JSON.stringify(v, a, f);
|
|
3147
3150
|
} catch (N) {
|
|
3148
3151
|
i.throwException(i.TYPE_ERROR, N.message);
|
|
3149
3152
|
}
|
|
3150
|
-
return
|
|
3153
|
+
return _;
|
|
3151
3154
|
}, this.setProperty(
|
|
3152
3155
|
s,
|
|
3153
3156
|
"stringify",
|
|
@@ -3207,17 +3210,17 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3207
3210
|
}
|
|
3208
3211
|
c.loc && (!i.length || c.type === "CallExpression") && i.push({ datumLoc: c.loc });
|
|
3209
3212
|
}
|
|
3210
|
-
for (var f = String(this.getProperty(t, "name")), v = String(this.getProperty(t, "message")),
|
|
3213
|
+
for (var f = String(this.getProperty(t, "name")), v = String(this.getProperty(t, "message")), _ = f + ": " + v + `
|
|
3211
3214
|
`, s = 0; s < i.length; s++) {
|
|
3212
3215
|
var N = i[s].datumLoc, R = i[s].datumName, S = N.source + ":" + N.start.line + ":" + N.start.column;
|
|
3213
|
-
R ?
|
|
3214
|
-
` :
|
|
3216
|
+
R ? _ += " at " + R + " (" + S + `)
|
|
3217
|
+
` : _ += " at " + S + `
|
|
3215
3218
|
`;
|
|
3216
3219
|
}
|
|
3217
3220
|
this.setProperty(
|
|
3218
3221
|
t,
|
|
3219
3222
|
"stack",
|
|
3220
|
-
|
|
3223
|
+
_.trim(),
|
|
3221
3224
|
r.NONENUMERABLE_DESCRIPTOR
|
|
3222
3225
|
);
|
|
3223
3226
|
}, r.prototype.createWorker = function() {
|
|
@@ -3357,8 +3360,8 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3357
3360
|
return a.pseudoToNative(L);
|
|
3358
3361
|
}), k = t.apply(a, S);
|
|
3359
3362
|
return a.nativeToPseudo(k);
|
|
3360
|
-
}, v = Object.getOwnPropertyDescriptor(t, "prototype"),
|
|
3361
|
-
return i.pseudo.push(
|
|
3363
|
+
}, v = Object.getOwnPropertyDescriptor(t, "prototype"), _ = this.createNativeFunction(f, !!v);
|
|
3364
|
+
return i.pseudo.push(_), _;
|
|
3362
3365
|
}
|
|
3363
3366
|
var N;
|
|
3364
3367
|
Array.isArray(t) ? N = this.createArray() : N = this.createObjectProto(this.OBJECT_PROTO), i.pseudo.push(N);
|
|
@@ -3500,14 +3503,14 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3500
3503
|
} else {
|
|
3501
3504
|
if (i === r.VALUE_IN_DESCRIPTOR)
|
|
3502
3505
|
throw ReferenceError("Value not specified");
|
|
3503
|
-
for (var
|
|
3504
|
-
if (
|
|
3505
|
-
|
|
3506
|
+
for (var _ = t; !(e in _.properties); )
|
|
3507
|
+
if (_ = this.getPrototype(_), !_) {
|
|
3508
|
+
_ = t;
|
|
3506
3509
|
break;
|
|
3507
3510
|
}
|
|
3508
|
-
if (
|
|
3509
|
-
return this.setterStep_ = !0,
|
|
3510
|
-
if (
|
|
3511
|
+
if (_.setter && _.setter[e])
|
|
3512
|
+
return this.setterStep_ = !0, _.setter[e];
|
|
3513
|
+
if (_.getter && _.getter[e])
|
|
3511
3514
|
u && this.throwException(this.TYPE_ERROR, "Cannot set property '" + e + "' of object '" + t + "' which only has a getter");
|
|
3512
3515
|
else
|
|
3513
3516
|
try {
|
|
@@ -3700,8 +3703,8 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3700
3703
|
SyntaxError,
|
|
3701
3704
|
TypeError,
|
|
3702
3705
|
URIError
|
|
3703
|
-
}, f = String(this.getProperty(e, "name")), v = this.getProperty(e, "message").valueOf(),
|
|
3704
|
-
c =
|
|
3706
|
+
}, f = String(this.getProperty(e, "name")), v = this.getProperty(e, "message").valueOf(), _ = a[f] || Error;
|
|
3707
|
+
c = _(v), c.stack = String(this.getProperty(e, "stack"));
|
|
3705
3708
|
} else
|
|
3706
3709
|
c = String(e);
|
|
3707
3710
|
throw this.value = c, c;
|
|
@@ -3737,16 +3740,16 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3737
3740
|
}
|
|
3738
3741
|
return "???";
|
|
3739
3742
|
}, r.prototype.createTask_ = function(t, e) {
|
|
3740
|
-
var i = this.stateStack[this.stateStack.length - 1], s = Array.from(e), u = s.shift(), c = Math.max(Number(s.shift() || 0), 0), a = this.newNode(), f, v,
|
|
3743
|
+
var i = this.stateStack[this.stateStack.length - 1], s = Array.from(e), u = s.shift(), c = Math.max(Number(s.shift() || 0), 0), a = this.newNode(), f, v, _;
|
|
3741
3744
|
if (u instanceof r.Object && u.class === "Function")
|
|
3742
3745
|
v = u, a.type = "CallExpression", f = i.scope;
|
|
3743
3746
|
else {
|
|
3744
3747
|
try {
|
|
3745
|
-
|
|
3748
|
+
_ = this.parse_(String(u), "taskCode" + this.taskCodeNumber_++);
|
|
3746
3749
|
} catch (L) {
|
|
3747
3750
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + L.message);
|
|
3748
3751
|
}
|
|
3749
|
-
a.type = "EvalProgram_", a.body =
|
|
3752
|
+
a.type = "EvalProgram_", a.body = _.body;
|
|
3750
3753
|
var N = i.node.arguments[0], R = N ? N.start : void 0, S = N ? N.end : void 0;
|
|
3751
3754
|
r.stripLocations_(a, R, S), f = this.globalScope, s.length = 0;
|
|
3752
3755
|
}
|
|
@@ -4087,11 +4090,11 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4087
4090
|
);
|
|
4088
4091
|
var a = u.node;
|
|
4089
4092
|
if (a) {
|
|
4090
|
-
for (var f = this.createScope(a.body, u.parentScope), v = this.createArray(),
|
|
4091
|
-
this.setProperty(v,
|
|
4093
|
+
for (var f = this.createScope(a.body, u.parentScope), v = this.createArray(), _ = 0; _ < e.arguments_.length; _++)
|
|
4094
|
+
this.setProperty(v, _, e.arguments_[_]);
|
|
4092
4095
|
this.setProperty(f.object, "arguments", v);
|
|
4093
|
-
for (var
|
|
4094
|
-
var N = a.params[
|
|
4096
|
+
for (var _ = 0; _ < a.params.length; _++) {
|
|
4097
|
+
var N = a.params[_].name, R = e.arguments_.length > _ ? e.arguments_[_] : void 0;
|
|
4095
4098
|
this.setProperty(f.object, N, R);
|
|
4096
4099
|
}
|
|
4097
4100
|
return f.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), this.setProperty(
|
|
@@ -4121,12 +4124,12 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4121
4124
|
} else if (u.nativeFunc)
|
|
4122
4125
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = u.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
4123
4126
|
else if (u.asyncFunc) {
|
|
4124
|
-
var H = this,
|
|
4127
|
+
var H = this, Ye = function(Ee) {
|
|
4125
4128
|
e.value = Ee, H.paused_ = !1;
|
|
4126
4129
|
}, re = u.asyncFunc.length - 1, Pe = e.arguments_.concat(
|
|
4127
4130
|
new Array(re)
|
|
4128
4131
|
).slice(0, re);
|
|
4129
|
-
Pe.push(
|
|
4132
|
+
Pe.push(Ye), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), u.asyncFunc.apply(e.funcThis_, Pe);
|
|
4130
4133
|
return;
|
|
4131
4134
|
} else
|
|
4132
4135
|
this.throwException(
|
|
@@ -4602,22 +4605,22 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4602
4605
|
}
|
|
4603
4606
|
var c = function(p, d) {
|
|
4604
4607
|
for (var m = 1, E = 0; ; ) {
|
|
4605
|
-
|
|
4606
|
-
var C =
|
|
4608
|
+
ft.lastIndex = E;
|
|
4609
|
+
var C = ft.exec(p);
|
|
4607
4610
|
if (C && C.index < d)
|
|
4608
4611
|
++m, E = C.index + C[0].length;
|
|
4609
4612
|
else
|
|
4610
4613
|
break;
|
|
4611
4614
|
}
|
|
4612
4615
|
return { line: m, column: d - E };
|
|
4613
|
-
}, a = 0, f = 0, v = 0,
|
|
4616
|
+
}, a = 0, f = 0, v = 0, _, N, R, S, k, L, H, Ye = 0, re = 0, Pe, Ee, $, q;
|
|
4614
4617
|
function I(p, d) {
|
|
4615
4618
|
var m = c(t, p);
|
|
4616
4619
|
d += " (" + m.line + ":" + m.column + ")";
|
|
4617
4620
|
var E = new SyntaxError(d);
|
|
4618
4621
|
throw E.pos = p, E.loc = m, E.raisedAt = a, E;
|
|
4619
4622
|
}
|
|
4620
|
-
var Hi = [],
|
|
4623
|
+
var Hi = [], ot = { type: "num" }, Ir = { type: "regexp" }, St = { type: "string" }, Ce = { type: "name" }, wt = { type: "eof" }, Pt = { keyword: "break" }, Ct = { keyword: "case", beforeExpr: !0 }, Dr = { keyword: "catch" }, Lr = { keyword: "continue" }, Mr = { keyword: "debugger" }, Fr = { keyword: "default" }, Ur = { keyword: "do", isLoop: !0 }, jr = { keyword: "else", beforeExpr: !0 }, Br = { keyword: "finally" }, $r = { keyword: "for", isLoop: !0 }, kt = { keyword: "function" }, Vr = { keyword: "if" }, Gr = { keyword: "return", beforeExpr: !0 }, At = { keyword: "switch" }, Yr = { keyword: "throw", beforeExpr: !0 }, zr = { keyword: "try" }, It = { keyword: "var" }, Dt = { keyword: "while", isLoop: !0 }, Xr = { keyword: "with" }, Wr = { keyword: "new", beforeExpr: !0 }, Hr = { keyword: "this" }, Jr = { keyword: "null", atomValue: null }, Kr = { keyword: "true", atomValue: !0 }, qr = { keyword: "false", atomValue: !1 }, ut = { keyword: "in", binop: 7, beforeExpr: !0 }, Ji = {
|
|
4621
4624
|
break: Pt,
|
|
4622
4625
|
case: Ct,
|
|
4623
4626
|
catch: Dr,
|
|
@@ -4641,21 +4644,21 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4641
4644
|
true: Kr,
|
|
4642
4645
|
false: qr,
|
|
4643
4646
|
new: Wr,
|
|
4644
|
-
in:
|
|
4647
|
+
in: ut,
|
|
4645
4648
|
instanceof: { keyword: "instanceof", binop: 7, beforeExpr: !0 },
|
|
4646
4649
|
this: Hr,
|
|
4647
4650
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4648
4651
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4649
4652
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4650
|
-
}, Lt = { type: "[", beforeExpr: !0 }, Mt = { type: "]" },
|
|
4651
|
-
function
|
|
4653
|
+
}, Lt = { type: "[", beforeExpr: !0 }, Mt = { type: "]" }, ze = { type: "{", beforeExpr: !0 }, ke = { type: "}" }, se = { type: "(", beforeExpr: !0 }, ae = { type: ")" }, ve = { type: ",", beforeExpr: !0 }, le = { type: ";", beforeExpr: !0 }, Xe = { type: ":", beforeExpr: !0 }, Zr = { type: "." }, Qr = { type: "?", beforeExpr: !0 }, en = { binop: 10, beforeExpr: !0 }, tn = { isAssign: !0, beforeExpr: !0 }, Re = { isAssign: !0, beforeExpr: !0 }, Ki = { postfix: !0, prefix: !0, isUpdate: !0 }, rn = { prefix: !0, beforeExpr: !0 }, nn = { binop: 1, beforeExpr: !0 }, an = { binop: 2, beforeExpr: !0 }, qi = { binop: 3, beforeExpr: !0 }, Zi = { binop: 4, beforeExpr: !0 }, Qi = { binop: 5, beforeExpr: !0 }, ea = { binop: 6, beforeExpr: !0 }, ta = { binop: 7, beforeExpr: !0 }, ra = { binop: 8, beforeExpr: !0 }, na = { binop: 9, prefix: !0, beforeExpr: !0 }, ia = { binop: 10, beforeExpr: !0 };
|
|
4654
|
+
function st(p) {
|
|
4652
4655
|
for (var d = p.split(" "), m = /* @__PURE__ */ Object.create(null), E = 0; E < d.length; E++)
|
|
4653
4656
|
m[d[E]] = !0;
|
|
4654
4657
|
return function(C) {
|
|
4655
4658
|
return m[C] || !1;
|
|
4656
4659
|
};
|
|
4657
4660
|
}
|
|
4658
|
-
var aa =
|
|
4661
|
+
var aa = st("class enum extends super const export import"), on = st("implements interface let package private protected public static yield"), lt = st("eval arguments"), oa = st("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), ua = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, un = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", sa = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", sn = new RegExp("[" + un + "]"), la = new RegExp("[" + un + sa + "]"), ct = /[\n\r\u2028\u2029]/, ft = /\r\n|[\n\r\u2028\u2029]/g, pt = function(p) {
|
|
4659
4662
|
return p < 65 ? p === 36 : p < 91 ? !0 : p < 97 ? p === 95 : p < 123 ? !0 : p >= 170 && sn.test(String.fromCharCode(p));
|
|
4660
4663
|
}, ln = function(p) {
|
|
4661
4664
|
return p < 48 ? p === 36 : p < 58 ? !0 : p < 65 ? !1 : p < 91 ? !0 : p < 97 ? p === 95 : p < 123 ? !0 : p >= 170 && la.test(String.fromCharCode(p));
|
|
@@ -4664,16 +4667,16 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4664
4667
|
this.line = L, this.column = a - H;
|
|
4665
4668
|
}
|
|
4666
4669
|
function ca() {
|
|
4667
|
-
L = 1, a = H = 0, k = !0,
|
|
4670
|
+
L = 1, a = H = 0, k = !0, We();
|
|
4668
4671
|
}
|
|
4669
4672
|
function Y(p, d) {
|
|
4670
|
-
v = a, r.locations && (N = new Oe()), R = p,
|
|
4673
|
+
v = a, r.locations && (N = new Oe()), R = p, We(), S = d, k = p.beforeExpr;
|
|
4671
4674
|
}
|
|
4672
4675
|
function fa() {
|
|
4673
4676
|
var p = r.onComment && r.locations && new Oe(), d = a, m = t.indexOf("*/", a += 2);
|
|
4674
4677
|
if (m === -1 && I(a - 2, "Unterminated comment"), a = m + 2, r.locations) {
|
|
4675
|
-
|
|
4676
|
-
for (var E; (E =
|
|
4678
|
+
ft.lastIndex = d;
|
|
4679
|
+
for (var E; (E = ft.exec(t)) && E.index < a; )
|
|
4677
4680
|
++L, H = E.index + E[0].length;
|
|
4678
4681
|
}
|
|
4679
4682
|
r.onComment && r.onComment(
|
|
@@ -4697,7 +4700,7 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4697
4700
|
r.locations && new Oe()
|
|
4698
4701
|
);
|
|
4699
4702
|
}
|
|
4700
|
-
function
|
|
4703
|
+
function We() {
|
|
4701
4704
|
for (; a < e; ) {
|
|
4702
4705
|
var p = t.charCodeAt(a);
|
|
4703
4706
|
if (p === 32)
|
|
@@ -4748,8 +4751,8 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4748
4751
|
function ma(p) {
|
|
4749
4752
|
var d = t.charCodeAt(a + 1);
|
|
4750
4753
|
if (d === p) {
|
|
4751
|
-
if (d === 45 && t.charCodeAt(a + 2) === 62 &&
|
|
4752
|
-
a += 3, Ft(),
|
|
4754
|
+
if (d === 45 && t.charCodeAt(a + 2) === 62 && ct.test(t.slice(re, a))) {
|
|
4755
|
+
a += 3, Ft(), We(), Ae();
|
|
4753
4756
|
return;
|
|
4754
4757
|
}
|
|
4755
4758
|
z(Ki, 2);
|
|
@@ -4762,7 +4765,7 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4762
4765
|
return;
|
|
4763
4766
|
}
|
|
4764
4767
|
if (d === 33 && p === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
4765
|
-
a += 4, Ft(),
|
|
4768
|
+
a += 4, Ft(), We(), Ae();
|
|
4766
4769
|
return;
|
|
4767
4770
|
}
|
|
4768
4771
|
d === 61 && (m = t.charCodeAt(a + 2) === 61 ? 3 : 2), z(ta, m);
|
|
@@ -4788,11 +4791,11 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4788
4791
|
case 93:
|
|
4789
4792
|
return ++a, Y(Mt);
|
|
4790
4793
|
case 123:
|
|
4791
|
-
return ++a, Y(
|
|
4794
|
+
return ++a, Y(ze);
|
|
4792
4795
|
case 125:
|
|
4793
4796
|
return ++a, Y(ke);
|
|
4794
4797
|
case 58:
|
|
4795
|
-
return ++a, Y(
|
|
4798
|
+
return ++a, Y(Xe);
|
|
4796
4799
|
case 63:
|
|
4797
4800
|
return ++a, Y(Qr);
|
|
4798
4801
|
case 48:
|
|
@@ -4836,10 +4839,10 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4836
4839
|
return !1;
|
|
4837
4840
|
}
|
|
4838
4841
|
function Ae(p) {
|
|
4839
|
-
if (p ? a = f + 1 : f = a, r.locations && (
|
|
4842
|
+
if (p ? a = f + 1 : f = a, r.locations && (_ = new Oe()), p) return cn();
|
|
4840
4843
|
if (a >= e) return Y(wt);
|
|
4841
4844
|
var d = t.charCodeAt(a);
|
|
4842
|
-
if (
|
|
4845
|
+
if (pt(d) || d === 92)
|
|
4843
4846
|
return dn();
|
|
4844
4847
|
var m = ga(d);
|
|
4845
4848
|
if (m === !1) {
|
|
@@ -4857,7 +4860,7 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4857
4860
|
for (var p, d, m = a; ; ) {
|
|
4858
4861
|
a >= e && I(m, "Unterminated regexp");
|
|
4859
4862
|
var E = t.charAt(a);
|
|
4860
|
-
if (
|
|
4863
|
+
if (ct.test(E) && I(m, "Unterminated regexp"), p)
|
|
4861
4864
|
p = !1;
|
|
4862
4865
|
else {
|
|
4863
4866
|
if (E === "[")
|
|
@@ -4881,7 +4884,7 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4881
4884
|
}
|
|
4882
4885
|
Y(Ir, A);
|
|
4883
4886
|
}
|
|
4884
|
-
function
|
|
4887
|
+
function He(p, d) {
|
|
4885
4888
|
for (var m = a, E = 0, C = d === void 0 ? 1 / 0 : d, w = 0; w < C; ++w) {
|
|
4886
4889
|
var A = t.charCodeAt(a), j;
|
|
4887
4890
|
if (A >= 97 ? j = A - 97 + 10 : A >= 65 ? j = A - 65 + 10 : A >= 48 && A <= 57 ? j = A - 48 : j = 1 / 0, j >= p) break;
|
|
@@ -4891,16 +4894,16 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4891
4894
|
}
|
|
4892
4895
|
function Ea() {
|
|
4893
4896
|
a += 2;
|
|
4894
|
-
var p =
|
|
4895
|
-
p === null && I(f + 2, "Expected hexadecimal number"),
|
|
4897
|
+
var p = He(16);
|
|
4898
|
+
p === null && I(f + 2, "Expected hexadecimal number"), pt(t.charCodeAt(a)) && I(a, "Identifier directly after number"), Y(ot, p);
|
|
4896
4899
|
}
|
|
4897
4900
|
function fn(p) {
|
|
4898
4901
|
var d = a, m = !1, E = t.charCodeAt(a) === 48;
|
|
4899
|
-
!p &&
|
|
4902
|
+
!p && He(10) === null && I(d, "Invalid number"), t.charCodeAt(a) === 46 && (++a, He(10), m = !0);
|
|
4900
4903
|
var C = t.charCodeAt(a);
|
|
4901
|
-
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a,
|
|
4904
|
+
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, He(10) === null && I(d, "Invalid number"), m = !0), pt(t.charCodeAt(a)) && I(a, "Identifier directly after number");
|
|
4902
4905
|
var w = t.slice(d, a), A;
|
|
4903
|
-
m ? A = parseFloat(w) : !E || w.length === 1 ? A = parseInt(w, 10) : /[89]/.test(w) || q ? I(d, "Invalid number") : A = parseInt(w, 8), Y(
|
|
4906
|
+
m ? A = parseFloat(w) : !E || w.length === 1 ? A = parseInt(w, 10) : /[89]/.test(w) || q ? I(d, "Invalid number") : A = parseInt(w, 8), Y(ot, A);
|
|
4904
4907
|
}
|
|
4905
4908
|
function Ra(p) {
|
|
4906
4909
|
a++;
|
|
@@ -4928,13 +4931,13 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4928
4931
|
d += "\r";
|
|
4929
4932
|
break;
|
|
4930
4933
|
case 120:
|
|
4931
|
-
d += String.fromCharCode(
|
|
4934
|
+
d += String.fromCharCode(dt(2));
|
|
4932
4935
|
break;
|
|
4933
4936
|
case 117:
|
|
4934
|
-
d += String.fromCharCode(
|
|
4937
|
+
d += String.fromCharCode(dt(4));
|
|
4935
4938
|
break;
|
|
4936
4939
|
case 85:
|
|
4937
|
-
d += String.fromCharCode(
|
|
4940
|
+
d += String.fromCharCode(dt(8));
|
|
4938
4941
|
break;
|
|
4939
4942
|
case 116:
|
|
4940
4943
|
d += " ";
|
|
@@ -4964,8 +4967,8 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4964
4967
|
(m === 13 || m === 10 || m === 8232 || m === 8233) && I(f, "Unterminated string constant"), d += String.fromCharCode(m), ++a;
|
|
4965
4968
|
}
|
|
4966
4969
|
}
|
|
4967
|
-
function
|
|
4968
|
-
var d =
|
|
4970
|
+
function dt(p) {
|
|
4971
|
+
var d = He(16, p);
|
|
4969
4972
|
return d === null && I(f, "Bad character escape sequence"), /** @type {number} */
|
|
4970
4973
|
d;
|
|
4971
4974
|
}
|
|
@@ -4978,8 +4981,8 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4978
4981
|
Ie && (p += t.charAt(a)), ++a;
|
|
4979
4982
|
else if (E === 92) {
|
|
4980
4983
|
Ie || (p = t.slice(m, a)), Ie = !0, t.charCodeAt(++a) !== 117 && I(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
4981
|
-
var C =
|
|
4982
|
-
w || I(a - 1, "Invalid Unicode escape"), (d ?
|
|
4984
|
+
var C = dt(4), w = String.fromCharCode(C);
|
|
4985
|
+
w || I(a - 1, "Invalid Unicode escape"), (d ? pt(C) : ln(C)) || I(a - 4, "Invalid Unicode escape"), p += w;
|
|
4983
4986
|
} else
|
|
4984
4987
|
break;
|
|
4985
4988
|
d = !1;
|
|
@@ -4991,20 +4994,20 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4991
4994
|
!Ie && oa(p) && (d = Ji[p]), Y(d, p);
|
|
4992
4995
|
}
|
|
4993
4996
|
function D() {
|
|
4994
|
-
|
|
4997
|
+
Ye = f, re = v, Pe = N, Ae();
|
|
4995
4998
|
}
|
|
4996
4999
|
function Ut(p) {
|
|
4997
5000
|
if (q = p, a = f, r.locations)
|
|
4998
5001
|
for (; a < H; )
|
|
4999
5002
|
H = t.lastIndexOf(`
|
|
5000
5003
|
`, H - 2) + 1, --L;
|
|
5001
|
-
|
|
5004
|
+
We(), Ae();
|
|
5002
5005
|
}
|
|
5003
5006
|
function hn() {
|
|
5004
5007
|
this.type = null, this.start = f, this.end = null;
|
|
5005
5008
|
}
|
|
5006
5009
|
function vn() {
|
|
5007
|
-
this.start =
|
|
5010
|
+
this.start = _, this.end = null, i && (this.source = i);
|
|
5008
5011
|
}
|
|
5009
5012
|
function X() {
|
|
5010
5013
|
var p = new hn();
|
|
@@ -5023,11 +5026,11 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5023
5026
|
function B(p) {
|
|
5024
5027
|
return R === p ? (D(), !0) : !1;
|
|
5025
5028
|
}
|
|
5026
|
-
function
|
|
5027
|
-
return !r.strictSemicolons && (R === wt || R === ke ||
|
|
5029
|
+
function ht() {
|
|
5030
|
+
return !r.strictSemicolons && (R === wt || R === ke || ct.test(t.slice(re, f)));
|
|
5028
5031
|
}
|
|
5029
5032
|
function Te() {
|
|
5030
|
-
!B(le) && !
|
|
5033
|
+
!B(le) && !ht() && ce();
|
|
5031
5034
|
}
|
|
5032
5035
|
function V(p) {
|
|
5033
5036
|
R === p ? D() : ce();
|
|
@@ -5035,11 +5038,11 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5035
5038
|
function ce() {
|
|
5036
5039
|
I(f, "Unexpected token");
|
|
5037
5040
|
}
|
|
5038
|
-
function
|
|
5039
|
-
p.type !== "Identifier" && p.type !== "MemberExpression" && I(p.start, "Assigning to rvalue"), q && p.type === "Identifier" &&
|
|
5041
|
+
function vt(p) {
|
|
5042
|
+
p.type !== "Identifier" && p.type !== "MemberExpression" && I(p.start, "Assigning to rvalue"), q && p.type === "Identifier" && lt(p.name) && I(p.start, "Assigning to " + p.name + " in strict mode");
|
|
5040
5043
|
}
|
|
5041
5044
|
function Oa(p) {
|
|
5042
|
-
|
|
5045
|
+
Ye = re = a, r.locations && (Pe = new Oe()), Ee = q = !1, $ = [], Ae();
|
|
5043
5046
|
var d = p || X(), m = !0;
|
|
5044
5047
|
for (p || (d.body = []); R !== wt; ) {
|
|
5045
5048
|
var E = ne();
|
|
@@ -5056,7 +5059,7 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5056
5059
|
case Lr:
|
|
5057
5060
|
D();
|
|
5058
5061
|
var m = p === Pt;
|
|
5059
|
-
B(le) ||
|
|
5062
|
+
B(le) || ht() ? d.label = null : R !== Ce ? ce() : (d.label = me(), Te());
|
|
5060
5063
|
for (var E = 0; E < $.length; ++E) {
|
|
5061
5064
|
var C = $[E];
|
|
5062
5065
|
if ((d.label === null || C.name === d.label.name) && (C.kind !== null && (m || C.kind === "loop") || d.label && m))
|
|
@@ -5066,67 +5069,67 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5066
5069
|
case Mr:
|
|
5067
5070
|
return D(), Te(), P(d, "DebuggerStatement");
|
|
5068
5071
|
case Ur:
|
|
5069
|
-
return D(), $.push(Bt), d.body = ne(), $.pop(), V(Dt), d.test =
|
|
5072
|
+
return D(), $.push(Bt), d.body = ne(), $.pop(), V(Dt), d.test = Je(), Te(), P(d, "DoWhileStatement");
|
|
5070
5073
|
case $r:
|
|
5071
5074
|
if (D(), $.push(Bt), V(se), R === le) return $t(d, null);
|
|
5072
5075
|
if (R === It) {
|
|
5073
5076
|
var w = X();
|
|
5074
|
-
return D(), mn(w, !0), P(w, "VariableDeclaration"), w.declarations.length === 1 && B(
|
|
5077
|
+
return D(), mn(w, !0), P(w, "VariableDeclaration"), w.declarations.length === 1 && B(ut) ? yn(d, w) : $t(d, w);
|
|
5075
5078
|
}
|
|
5076
5079
|
var w = W(!1, !0);
|
|
5077
|
-
return B(
|
|
5080
|
+
return B(ut) ? (vt(w), yn(d, w)) : $t(d, w);
|
|
5078
5081
|
case kt:
|
|
5079
5082
|
return D(), Xt(d, !0);
|
|
5080
5083
|
case Vr:
|
|
5081
|
-
return D(), d.test =
|
|
5084
|
+
return D(), d.test = Je(), d.consequent = ne(), d.alternate = B(jr) ? ne() : null, P(d, "IfStatement");
|
|
5082
5085
|
case Gr:
|
|
5083
|
-
return !Ee && !r.allowReturnOutsideFunction && I(f, "'return' outside of function"), D(), B(le) ||
|
|
5086
|
+
return !Ee && !r.allowReturnOutsideFunction && I(f, "'return' outside of function"), D(), B(le) || ht() ? d.argument = null : (d.argument = W(), Te()), P(d, "ReturnStatement");
|
|
5084
5087
|
case At:
|
|
5085
|
-
D(), d.discriminant =
|
|
5088
|
+
D(), d.discriminant = Je(), d.cases = [], V(ze), $.push(Ta);
|
|
5086
5089
|
for (var A, j; R !== ke; )
|
|
5087
5090
|
if (R === Ct || R === Fr) {
|
|
5088
|
-
var
|
|
5089
|
-
A && P(A, "SwitchCase"), d.cases.push(A = X()), A.consequent = [], D(),
|
|
5091
|
+
var Ze = R === Ct;
|
|
5092
|
+
A && P(A, "SwitchCase"), d.cases.push(A = X()), A.consequent = [], D(), Ze ? A.test = W() : (j && I(Ye, "Multiple default clauses"), j = !0, A.test = null), V(Xe);
|
|
5090
5093
|
} else
|
|
5091
5094
|
A || ce(), A.consequent.push(ne());
|
|
5092
5095
|
return A && P(A, "SwitchCase"), D(), $.pop(), P(d, "SwitchStatement");
|
|
5093
5096
|
case Yr:
|
|
5094
|
-
return D(),
|
|
5097
|
+
return D(), ct.test(t.slice(re, f)) && I(re, "Illegal newline after throw"), d.argument = W(), Te(), P(d, "ThrowStatement");
|
|
5095
5098
|
case zr:
|
|
5096
|
-
if (D(), d.block =
|
|
5099
|
+
if (D(), d.block = Ke(), d.handler = null, R === Dr) {
|
|
5097
5100
|
var De = X();
|
|
5098
|
-
D(), V(se), De.param = me(), q &&
|
|
5101
|
+
D(), V(se), De.param = me(), q && lt(De.param.name) && I(De.param.start, "Binding " + De.param.name + " in strict mode"), V(ae), De.body = Ke(), d.handler = P(De, "CatchClause");
|
|
5099
5102
|
}
|
|
5100
|
-
return d.finalizer = B(Br) ?
|
|
5103
|
+
return d.finalizer = B(Br) ? Ke() : null, !d.handler && !d.finalizer && I(d.start, "Missing catch or finally clause"), P(d, "TryStatement");
|
|
5101
5104
|
case It:
|
|
5102
5105
|
return D(), mn(d), Te(), P(d, "VariableDeclaration");
|
|
5103
5106
|
case Dt:
|
|
5104
|
-
return D(), d.test =
|
|
5107
|
+
return D(), d.test = Je(), $.push(Bt), d.body = ne(), $.pop(), P(d, "WhileStatement");
|
|
5105
5108
|
case Xr:
|
|
5106
|
-
return q && I(f, "'with' in strict mode"), D(), d.object =
|
|
5107
|
-
case
|
|
5108
|
-
return
|
|
5109
|
+
return q && I(f, "'with' in strict mode"), D(), d.object = Je(), d.body = ne(), P(d, "WithStatement");
|
|
5110
|
+
case ze:
|
|
5111
|
+
return Ke();
|
|
5109
5112
|
case le:
|
|
5110
5113
|
return D(), P(d, "EmptyStatement");
|
|
5111
5114
|
default:
|
|
5112
|
-
var Ht = S,
|
|
5113
|
-
if (p === Ce &&
|
|
5115
|
+
var Ht = S, yt = W();
|
|
5116
|
+
if (p === Ce && yt.type === "Identifier" && B(Xe)) {
|
|
5114
5117
|
for (var E = 0; E < $.length; ++E)
|
|
5115
|
-
$[E].name === Ht && I(
|
|
5118
|
+
$[E].name === Ht && I(yt.start, "Label '" + Ht + "' is already declared");
|
|
5116
5119
|
var Ca = R.isLoop ? "loop" : R === At ? "switch" : null;
|
|
5117
|
-
return $.push({ name: Ht, kind: Ca }), d.body = ne(), $.pop(), d.label =
|
|
5120
|
+
return $.push({ name: Ht, kind: Ca }), d.body = ne(), $.pop(), d.label = yt, P(d, "LabeledStatement");
|
|
5118
5121
|
} else
|
|
5119
|
-
return d.expression =
|
|
5122
|
+
return d.expression = yt, Te(), P(d, "ExpressionStatement");
|
|
5120
5123
|
}
|
|
5121
5124
|
}
|
|
5122
|
-
function
|
|
5125
|
+
function Je() {
|
|
5123
5126
|
V(se);
|
|
5124
5127
|
var p = W();
|
|
5125
5128
|
return V(ae), p;
|
|
5126
5129
|
}
|
|
5127
|
-
function
|
|
5130
|
+
function Ke(p) {
|
|
5128
5131
|
var d = X(), m = !0, E = !1, C;
|
|
5129
|
-
for (d.body = [], V(
|
|
5132
|
+
for (d.body = [], V(ze); !B(ke); ) {
|
|
5130
5133
|
var w = ne();
|
|
5131
5134
|
d.body.push(w), m && p && jt(w) && (C = E, Ut(E = !0)), m = !1;
|
|
5132
5135
|
}
|
|
@@ -5141,7 +5144,7 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5141
5144
|
function mn(p, d) {
|
|
5142
5145
|
for (p.declarations = [], p.kind = "var"; ; ) {
|
|
5143
5146
|
var m = X();
|
|
5144
|
-
if (m.id = me(), q &&
|
|
5147
|
+
if (m.id = me(), q && lt(m.id.name) && I(m.id.start, "Binding " + m.id.name + " in strict mode"), m.init = B(tn) ? W(!0, d) : null, p.declarations.push(P(m, "VariableDeclarator")), !B(ve)) break;
|
|
5145
5148
|
}
|
|
5146
5149
|
}
|
|
5147
5150
|
function W(p, d) {
|
|
@@ -5157,7 +5160,7 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5157
5160
|
var d = Na(p);
|
|
5158
5161
|
if (R.isAssign) {
|
|
5159
5162
|
var m = ye(d);
|
|
5160
|
-
return m.operator = S, m.left = d, D(), m.right = Vt(p),
|
|
5163
|
+
return m.operator = S, m.left = d, D(), m.right = Vt(p), vt(d), P(m, "AssignmentExpression");
|
|
5161
5164
|
}
|
|
5162
5165
|
return d;
|
|
5163
5166
|
}
|
|
@@ -5165,7 +5168,7 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5165
5168
|
var d = xa(p);
|
|
5166
5169
|
if (B(Qr)) {
|
|
5167
5170
|
var m = ye(d);
|
|
5168
|
-
return m.test = d, m.consequent = W(!0), V(
|
|
5171
|
+
return m.test = d, m.consequent = W(!0), V(Xe), m.alternate = W(!0, p), P(m, "ConditionalExpression");
|
|
5169
5172
|
}
|
|
5170
5173
|
return d;
|
|
5171
5174
|
}
|
|
@@ -5174,7 +5177,7 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5174
5177
|
}
|
|
5175
5178
|
function Gt(p, d, m) {
|
|
5176
5179
|
var E = R.binop;
|
|
5177
|
-
if (E !== null && (!m || R !==
|
|
5180
|
+
if (E !== null && (!m || R !== ut) && E > d) {
|
|
5178
5181
|
var C = ye(p);
|
|
5179
5182
|
C.left = p, C.operator = S;
|
|
5180
5183
|
var w = R;
|
|
@@ -5187,20 +5190,20 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5187
5190
|
function Yt() {
|
|
5188
5191
|
if (R.prefix) {
|
|
5189
5192
|
var p = X(), d = R.isUpdate;
|
|
5190
|
-
return p.operator = S, p.prefix = !0, k = !0, D(), p.argument = Yt(), d ?
|
|
5193
|
+
return p.operator = S, p.prefix = !0, k = !0, D(), p.argument = Yt(), d ? vt(p.argument) : q && p.operator === "delete" && p.argument.type === "Identifier" && I(p.start, "Deleting local variable in strict mode"), P(p, d ? "UpdateExpression" : "UnaryExpression");
|
|
5191
5194
|
}
|
|
5192
|
-
for (var m = Sa(); R.postfix && !
|
|
5195
|
+
for (var m = Sa(); R.postfix && !ht(); ) {
|
|
5193
5196
|
var p = ye(m);
|
|
5194
|
-
p.operator = S, p.prefix = !1, p.argument = m,
|
|
5197
|
+
p.operator = S, p.prefix = !1, p.argument = m, vt(m), D(), m = P(p, "UpdateExpression");
|
|
5195
5198
|
}
|
|
5196
5199
|
return m;
|
|
5197
5200
|
}
|
|
5198
5201
|
function Sa() {
|
|
5199
|
-
return
|
|
5202
|
+
return qe(zt());
|
|
5200
5203
|
}
|
|
5201
|
-
function
|
|
5204
|
+
function qe(p, d) {
|
|
5202
5205
|
var m;
|
|
5203
|
-
return B(Zr) ? (m = ye(p), m.object = p, m.property = me(!0), m.computed = !1,
|
|
5206
|
+
return B(Zr) ? (m = ye(p), m.object = p, m.property = me(!0), m.computed = !1, qe(P(m, "MemberExpression"), d)) : B(Lt) ? (m = ye(p), m.object = p, m.property = W(), m.computed = !0, V(Mt), qe(P(m, "MemberExpression"), d)) : !d && B(se) ? (m = ye(p), m.callee = p, m.arguments = Wt(ae, !1), qe(P(m, "CallExpression"), d)) : p;
|
|
5204
5207
|
}
|
|
5205
5208
|
function zt() {
|
|
5206
5209
|
var p;
|
|
@@ -5209,7 +5212,7 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5209
5212
|
return p = X(), D(), P(p, "ThisExpression");
|
|
5210
5213
|
case Ce:
|
|
5211
5214
|
return me();
|
|
5212
|
-
case
|
|
5215
|
+
case ot:
|
|
5213
5216
|
case St:
|
|
5214
5217
|
case Ir:
|
|
5215
5218
|
return p = X(), p.value = S, p.raw = t.slice(f, v), D(), P(p, "Literal");
|
|
@@ -5218,13 +5221,13 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5218
5221
|
case qr:
|
|
5219
5222
|
return p = X(), p.value = R.atomValue, p.raw = R.keyword, D(), P(p, "Literal");
|
|
5220
5223
|
case se:
|
|
5221
|
-
var d =
|
|
5224
|
+
var d = _, m = f;
|
|
5222
5225
|
D();
|
|
5223
5226
|
var E = W();
|
|
5224
5227
|
return E.start = m, E.end = v, r.locations && (E.loc.start = d, E.loc.end = N), r.ranges && (E.range = [m, v]), V(ae), E;
|
|
5225
5228
|
case Lt:
|
|
5226
5229
|
return p = X(), D(), p.elements = Wt(Mt, !0, !0), P(p, "ArrayExpression");
|
|
5227
|
-
case
|
|
5230
|
+
case ze:
|
|
5228
5231
|
return Pa();
|
|
5229
5232
|
case kt:
|
|
5230
5233
|
return p = X(), D(), Xt(p, !1);
|
|
@@ -5235,7 +5238,7 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5235
5238
|
}
|
|
5236
5239
|
function wa() {
|
|
5237
5240
|
var p = X();
|
|
5238
|
-
return D(), p.callee =
|
|
5241
|
+
return D(), p.callee = qe(zt(), !0), p.arguments = B(se) ? Wt(ae, !1) : Hi, P(p, "NewExpression");
|
|
5239
5242
|
}
|
|
5240
5243
|
function Pa() {
|
|
5241
5244
|
var p = X(), d = !0, m = !1;
|
|
@@ -5245,12 +5248,12 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5245
5248
|
else if (V(ve), r.allowTrailingCommas && B(ke))
|
|
5246
5249
|
break;
|
|
5247
5250
|
var E = { key: _n() }, C = !1, w;
|
|
5248
|
-
if (B(
|
|
5251
|
+
if (B(Xe) ? (E.value = W(!0), w = E.kind = "init") : E.key.type === "Identifier" && (E.key.name === "get" || E.key.name === "set") ? (C = m = !0, w = E.kind = E.key.name, E.key = _n(), R !== se && ce(), E.value = Xt(X(), !1)) : ce(), E.key.type === "Identifier" && (q || m))
|
|
5249
5252
|
for (var A = 0; A < p.properties.length; ++A) {
|
|
5250
5253
|
var j = p.properties[A];
|
|
5251
5254
|
if (j.key.name === E.key.name) {
|
|
5252
|
-
var
|
|
5253
|
-
|
|
5255
|
+
var Ze = w === j.kind || C && j.kind === "init" || w === "init" && (j.kind === "get" || j.kind === "set");
|
|
5256
|
+
Ze && !q && w === "init" && j.kind === "init" && (Ze = !1), Ze && I(E.key.start, "Redefinition of property");
|
|
5254
5257
|
}
|
|
5255
5258
|
}
|
|
5256
5259
|
p.properties.push(E);
|
|
@@ -5258,7 +5261,7 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5258
5261
|
return P(p, "ObjectExpression");
|
|
5259
5262
|
}
|
|
5260
5263
|
function _n() {
|
|
5261
|
-
return R ===
|
|
5264
|
+
return R === ot || R === St ? zt() : me(!0);
|
|
5262
5265
|
}
|
|
5263
5266
|
function Xt(p, d) {
|
|
5264
5267
|
R === Ce ? p.id = me() : d ? ce() : p.id = null, p.params = [];
|
|
@@ -5266,10 +5269,10 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5266
5269
|
for (V(se); !B(ae); )
|
|
5267
5270
|
m ? m = !1 : V(ve), p.params.push(me());
|
|
5268
5271
|
var E = Ee, C = $;
|
|
5269
|
-
if (Ee = !0, $ = [], p.body =
|
|
5272
|
+
if (Ee = !0, $ = [], p.body = Ke(!0), Ee = E, $ = C, q || p.body.body.length && jt(p.body.body[0]))
|
|
5270
5273
|
for (var w = p.id ? -1 : 0; w < p.params.length; ++w) {
|
|
5271
5274
|
var A = w < 0 ? p.id : p.params[w];
|
|
5272
|
-
if ((on(A.name) ||
|
|
5275
|
+
if ((on(A.name) || lt(A.name)) && I(A.start, "Defining '" + A.name + "' in strict mode"), w >= 0)
|
|
5273
5276
|
for (var j = 0; j < w; ++j)
|
|
5274
5277
|
A.name === p.params[j].name && I(A.start, "Argument name clash in strict mode");
|
|
5275
5278
|
}
|
|
@@ -5304,7 +5307,7 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5304
5307
|
)
|
|
5305
5308
|
/******/
|
|
5306
5309
|
}, h = {};
|
|
5307
|
-
function
|
|
5310
|
+
function b(y) {
|
|
5308
5311
|
var O = h[y];
|
|
5309
5312
|
if (O !== void 0)
|
|
5310
5313
|
return O.exports;
|
|
@@ -5317,12 +5320,12 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5317
5320
|
exports: {}
|
|
5318
5321
|
/******/
|
|
5319
5322
|
};
|
|
5320
|
-
return l[y].call(T.exports, T, T.exports,
|
|
5323
|
+
return l[y].call(T.exports, T, T.exports, b), T.exports;
|
|
5321
5324
|
}
|
|
5322
|
-
|
|
5325
|
+
b.d = (y, O) => {
|
|
5323
5326
|
for (var T in O)
|
|
5324
|
-
|
|
5325
|
-
},
|
|
5327
|
+
b.o(O, T) && !b.o(y, T) && Object.defineProperty(y, T, { enumerable: !0, get: O[T] });
|
|
5328
|
+
}, b.o = (y, O) => Object.prototype.hasOwnProperty.call(y, O), b.r = (y) => {
|
|
5326
5329
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(y, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(y, "__esModule", { value: !0 });
|
|
5327
5330
|
};
|
|
5328
5331
|
var g = {};
|
|
@@ -5330,17 +5333,17 @@ const Jl = {}, Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
5330
5333
|
/*!*******************************!*\
|
|
5331
5334
|
!*** ./src/js-interpreter.js ***!
|
|
5332
5335
|
\*******************************/
|
|
5333
|
-
|
|
5336
|
+
b.r(g), b.d(g, {
|
|
5334
5337
|
/* harmony export */
|
|
5335
5338
|
default: () => T
|
|
5336
5339
|
/* harmony export */
|
|
5337
5340
|
});
|
|
5338
|
-
const y =
|
|
5341
|
+
const y = b(
|
|
5339
5342
|
/*! ../original-repo/acorn */
|
|
5340
5343
|
"./original-repo/acorn.js"
|
|
5341
5344
|
);
|
|
5342
5345
|
globalThis.acorn = y;
|
|
5343
|
-
const { Interpreter: O } =
|
|
5346
|
+
const { Interpreter: O } = b(
|
|
5344
5347
|
/*! ../original-repo/interpreter */
|
|
5345
5348
|
"./original-repo/interpreter.js"
|
|
5346
5349
|
), T = O;
|
|
@@ -5358,9 +5361,9 @@ function ec(n, o) {
|
|
|
5358
5361
|
function h(O) {
|
|
5359
5362
|
const T = n.pseudoToNative(O);
|
|
5360
5363
|
let r = "";
|
|
5361
|
-
typeof T == "object" ? r = JSON.stringify(T) : r = String(T),
|
|
5364
|
+
typeof T == "object" ? r = JSON.stringify(T) : r = String(T), Fe.emit("consoleAppend", r);
|
|
5362
5365
|
}
|
|
5363
|
-
function
|
|
5366
|
+
function b(O, T) {
|
|
5364
5367
|
const r = n.pseudoToNative(O), t = n.pseudoToNative(T);
|
|
5365
5368
|
r === "info" ? ja(t) : r === "success" ? Ba(t) : r === "warning" ? $a(t) : r === "error" && Va(t);
|
|
5366
5369
|
}
|
|
@@ -5387,7 +5390,7 @@ function ec(n, o) {
|
|
|
5387
5390
|
), n.setProperty(
|
|
5388
5391
|
o,
|
|
5389
5392
|
"__messageV1__",
|
|
5390
|
-
n.createNativeFunction(
|
|
5393
|
+
n.createNativeFunction(b)
|
|
5391
5394
|
), n.setProperty(
|
|
5392
5395
|
o,
|
|
5393
5396
|
"__timeoutV1__",
|
|
@@ -5404,8 +5407,8 @@ class tc {
|
|
|
5404
5407
|
Jt(this, "nodes");
|
|
5405
5408
|
this.context = o, this.nodes = {};
|
|
5406
5409
|
const l = (h) => {
|
|
5407
|
-
var
|
|
5408
|
-
this.nodes[h.basic.id] = h, (
|
|
5410
|
+
var b;
|
|
5411
|
+
this.nodes[h.basic.id] = h, (b = h.children) == null || b.forEach((g) => l(g));
|
|
5409
5412
|
};
|
|
5410
5413
|
this.context.data.view.nodes.forEach((h) => l(h));
|
|
5411
5414
|
}
|
|
@@ -5413,14 +5416,14 @@ class tc {
|
|
|
5413
5416
|
return this.nodes[o];
|
|
5414
5417
|
}
|
|
5415
5418
|
addNode(o, l, h) {
|
|
5416
|
-
const
|
|
5419
|
+
const b = `parent=${o} ref=${l} keyOrRefid=${h}`;
|
|
5417
5420
|
let g;
|
|
5418
5421
|
if (o) {
|
|
5419
5422
|
const O = this.getNode(o);
|
|
5420
5423
|
if (!O)
|
|
5421
|
-
return console.error(`NodeMgr/addNode parent not found, ${
|
|
5424
|
+
return console.error(`NodeMgr/addNode parent not found, ${b}`), "";
|
|
5422
5425
|
if (!O.children)
|
|
5423
|
-
return console.error(`NodeMgr/addNode parent no children, ${
|
|
5426
|
+
return console.error(`NodeMgr/addNode parent no children, ${b}`), "";
|
|
5424
5427
|
g = O.children;
|
|
5425
5428
|
} else
|
|
5426
5429
|
g = this.context.data.view.nodes;
|
|
@@ -5433,7 +5436,7 @@ class tc {
|
|
|
5433
5436
|
l,
|
|
5434
5437
|
h
|
|
5435
5438
|
);
|
|
5436
|
-
return y ? (g.push(y), this.nodes[y.basic.id] = y, y.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${
|
|
5439
|
+
return y ? (g.push(y), this.nodes[y.basic.id] = y, y.basic.id) : (console.error(`NodeMgr/addNode spawn node failed, ${b}`), "");
|
|
5437
5440
|
}
|
|
5438
5441
|
deleteNode(o) {
|
|
5439
5442
|
this.getNode(o);
|
|
@@ -5441,7 +5444,7 @@ class tc {
|
|
|
5441
5444
|
}
|
|
5442
5445
|
function rc(n, o, l) {
|
|
5443
5446
|
const h = new tc(n);
|
|
5444
|
-
function
|
|
5447
|
+
function b(e, i, s) {
|
|
5445
5448
|
const u = o.pseudoToNative(e), c = o.pseudoToNative(i), a = o.pseudoToNative(s), f = h.addNode(u, c, a);
|
|
5446
5449
|
return o.nativeToPseudo(f);
|
|
5447
5450
|
}
|
|
@@ -5457,9 +5460,9 @@ function rc(n, o, l) {
|
|
|
5457
5460
|
return;
|
|
5458
5461
|
}
|
|
5459
5462
|
const f = u.split("."), v = f.length;
|
|
5460
|
-
for (let
|
|
5461
|
-
const N = f[
|
|
5462
|
-
if (
|
|
5463
|
+
for (let _ = 0; _ < v; _++) {
|
|
5464
|
+
const N = f[_];
|
|
5465
|
+
if (_ === v - 1)
|
|
5463
5466
|
return o.nativeToPseudo(a[N]);
|
|
5464
5467
|
if (!a) {
|
|
5465
5468
|
console.error(`getNodePropV1 unpkg failed, ${c}`);
|
|
@@ -5475,9 +5478,9 @@ function rc(n, o, l) {
|
|
|
5475
5478
|
console.error(`setNodePropV1 node not found, ${f}`);
|
|
5476
5479
|
return;
|
|
5477
5480
|
}
|
|
5478
|
-
const
|
|
5481
|
+
const _ = c.split("."), N = _.length;
|
|
5479
5482
|
for (let R = 0; R < N; R++) {
|
|
5480
|
-
const S =
|
|
5483
|
+
const S = _[R];
|
|
5481
5484
|
if (R === N - 1)
|
|
5482
5485
|
v[S] = a;
|
|
5483
5486
|
else {
|
|
@@ -5491,7 +5494,7 @@ function rc(n, o, l) {
|
|
|
5491
5494
|
}
|
|
5492
5495
|
function T(e, i, s, u) {
|
|
5493
5496
|
const c = o.pseudoToNative(e), a = o.pseudoToNative(i), f = o.pseudoToNative(s), v = { outputs: [] };
|
|
5494
|
-
|
|
5497
|
+
Fe.emit(`callMethod@${c}`, { name: a, inputs: f, result: v }), u(o.nativeToPseudo(v.outputs)), o.run();
|
|
5495
5498
|
}
|
|
5496
5499
|
function r(e, i, s) {
|
|
5497
5500
|
const u = o.pseudoToNative(e), c = o.pseudoToNative(i);
|
|
@@ -5508,7 +5511,7 @@ function rc(n, o, l) {
|
|
|
5508
5511
|
o.setProperty(
|
|
5509
5512
|
l,
|
|
5510
5513
|
"__addNodeV1__",
|
|
5511
|
-
o.createNativeFunction(
|
|
5514
|
+
o.createNativeFunction(b)
|
|
5512
5515
|
), o.setProperty(
|
|
5513
5516
|
l,
|
|
5514
5517
|
"__deleteNodeV1__",
|
|
@@ -5664,8 +5667,8 @@ function __destroy__() {
|
|
|
5664
5667
|
function Wi(n, o) {
|
|
5665
5668
|
const l = new Ql(
|
|
5666
5669
|
sc,
|
|
5667
|
-
(h,
|
|
5668
|
-
nc(n, h,
|
|
5670
|
+
(h, b) => {
|
|
5671
|
+
nc(n, h, b);
|
|
5669
5672
|
}
|
|
5670
5673
|
);
|
|
5671
5674
|
return l.appendCode(o), l.appendCode(`
|
|
@@ -5673,7 +5676,7 @@ __env__ = '${n.env}';
|
|
|
5673
5676
|
__triggerEvent__('globality', 'startup');
|
|
5674
5677
|
`), l.run(), l;
|
|
5675
5678
|
}
|
|
5676
|
-
function
|
|
5679
|
+
function Le(n) {
|
|
5677
5680
|
n.appendCode("__destroy__();"), n.run();
|
|
5678
5681
|
}
|
|
5679
5682
|
const fe = /* @__PURE__ */ oe({
|
|
@@ -5683,20 +5686,20 @@ const fe = /* @__PURE__ */ oe({
|
|
|
5683
5686
|
state: {}
|
|
5684
5687
|
},
|
|
5685
5688
|
setup(n) {
|
|
5686
|
-
const { t: o } = ui(), l = n, h = Bi(),
|
|
5689
|
+
const { t: o } = ui(), l = n, h = Bi(), b = he(), g = Cr(), y = kr(), O = Vi(), T = Et(-1), r = Et(), t = {};
|
|
5687
5690
|
Gi(t), oi(() => {
|
|
5688
5691
|
const f = O[l.refContext.refid];
|
|
5689
5692
|
if (!f) {
|
|
5690
|
-
T.value = -1, r.value = void 0, t.
|
|
5693
|
+
T.value = -1, r.value = void 0, t.interpreter && (Le(t.interpreter), t.interpreter = void 0), Fe.emit("compNotAvail", l.refContext.refid);
|
|
5691
5694
|
return;
|
|
5692
5695
|
}
|
|
5693
5696
|
if (T.value === f.dataSeq)
|
|
5694
5697
|
return;
|
|
5695
|
-
T.value = f.dataSeq, r.value = _e(f.data), t.
|
|
5696
|
-
const v = r.value,
|
|
5697
|
-
|
|
5698
|
+
T.value = f.dataSeq, r.value = _e(f.data), t.interpreter && Le(t.interpreter);
|
|
5699
|
+
const v = r.value, _ = v.code.script;
|
|
5700
|
+
_ && (t.interpreter = Wi({ env: h, type: g, data: v }, _));
|
|
5698
5701
|
}), br(() => {
|
|
5699
|
-
t.
|
|
5702
|
+
t.interpreter && (Le(t.interpreter), t.interpreter = void 0);
|
|
5700
5703
|
});
|
|
5701
5704
|
const e = () => {
|
|
5702
5705
|
console.log("triggerUpdate");
|
|
@@ -5709,8 +5712,8 @@ const fe = /* @__PURE__ */ oe({
|
|
|
5709
5712
|
{ deep: !0, immediate: !0 }
|
|
5710
5713
|
);
|
|
5711
5714
|
function i(f) {
|
|
5712
|
-
const v = Ar[y.version].refKey,
|
|
5713
|
-
return
|
|
5715
|
+
const v = Ar[y.version].refKey, _ = xe[v];
|
|
5716
|
+
return _ ? J(_.comp, {
|
|
5714
5717
|
refContext: {
|
|
5715
5718
|
parent: l.refContext,
|
|
5716
5719
|
refid: f.ref.id
|
|
@@ -5723,10 +5726,10 @@ const fe = /* @__PURE__ */ oe({
|
|
|
5723
5726
|
const v = xe[f.basic.key];
|
|
5724
5727
|
if (!v)
|
|
5725
5728
|
return console.assert(!1, `element not found key=${f.basic.key}`), J("div", `element not found key=${f.basic.key}`);
|
|
5726
|
-
const
|
|
5729
|
+
const _ = [];
|
|
5727
5730
|
return v.slots.some((R) => R.key === "default") && ((N = f.children) == null || N.forEach((R) => {
|
|
5728
|
-
|
|
5729
|
-
})), J(v.comp, { node: f }, { default: () =>
|
|
5731
|
+
_.push(u(R));
|
|
5732
|
+
})), J(v.comp, { node: f }, { default: () => _ });
|
|
5730
5733
|
}
|
|
5731
5734
|
function u(f) {
|
|
5732
5735
|
return f.ref ? i(f) : s(f);
|
|
@@ -5748,8 +5751,8 @@ const fe = /* @__PURE__ */ oe({
|
|
|
5748
5751
|
const f = r.value.type;
|
|
5749
5752
|
if (f === "common") {
|
|
5750
5753
|
const v = [];
|
|
5751
|
-
return r.value.view.nodes.forEach((
|
|
5752
|
-
v.push(u(
|
|
5754
|
+
return r.value.view.nodes.forEach((_) => {
|
|
5755
|
+
v.push(u(_));
|
|
5753
5756
|
}), v;
|
|
5754
5757
|
} else
|
|
5755
5758
|
return console.assert(!1, `invalid subtype=${f}`), J("div", `invalid subtype=${f}`);
|
|
@@ -5763,10 +5766,10 @@ const fe = /* @__PURE__ */ oe({
|
|
|
5763
5766
|
outer: { type: Boolean }
|
|
5764
5767
|
},
|
|
5765
5768
|
setup(n) {
|
|
5766
|
-
const o = n, l =
|
|
5769
|
+
const o = n, l = Ge(), h = x(() => {
|
|
5767
5770
|
var u;
|
|
5768
5771
|
return (u = o.node.size) == null ? void 0 : u.width;
|
|
5769
|
-
}),
|
|
5772
|
+
}), b = x(() => {
|
|
5770
5773
|
var u;
|
|
5771
5774
|
return (u = o.node.size) == null ? void 0 : u.height;
|
|
5772
5775
|
}), g = x(() => {
|
|
@@ -5801,7 +5804,7 @@ const fe = /* @__PURE__ */ oe({
|
|
|
5801
5804
|
const a = ie("v-data-table");
|
|
5802
5805
|
return G(), Q(a, {
|
|
5803
5806
|
width: h.value,
|
|
5804
|
-
height:
|
|
5807
|
+
height: b.value,
|
|
5805
5808
|
headers: g.value,
|
|
5806
5809
|
items: y.value,
|
|
5807
5810
|
density: O.value,
|
|
@@ -5813,10 +5816,10 @@ const fe = /* @__PURE__ */ oe({
|
|
|
5813
5816
|
}, Qt({ _: 2 }, [
|
|
5814
5817
|
La(s.value, (f, v) => ({
|
|
5815
5818
|
name: `item.${f.column}`,
|
|
5816
|
-
fn: ee(({ value:
|
|
5819
|
+
fn: ee(({ value: _ }) => [
|
|
5817
5820
|
Z(fe, {
|
|
5818
5821
|
"ref-context": { refid: f.comp },
|
|
5819
|
-
state: { value:
|
|
5822
|
+
state: { value: _ }
|
|
5820
5823
|
}, null, 8, ["ref-context", "state"])
|
|
5821
5824
|
])
|
|
5822
5825
|
}))
|
|
@@ -6003,9 +6006,9 @@ const fe = /* @__PURE__ */ oe({
|
|
|
6003
6006
|
function pc(n, o) {
|
|
6004
6007
|
const l = x(() => n.node.basic.id), h = x(() => `callMethod@${l.value}`);
|
|
6005
6008
|
Ma(() => {
|
|
6006
|
-
|
|
6009
|
+
Fe.on(h.value, o);
|
|
6007
6010
|
}), br(() => {
|
|
6008
|
-
|
|
6011
|
+
Fe.off(h.value, o);
|
|
6009
6012
|
});
|
|
6010
6013
|
}
|
|
6011
6014
|
const dc = ["id"], hc = /* @__PURE__ */ oe({
|
|
@@ -6018,18 +6021,18 @@ const dc = ["id"], hc = /* @__PURE__ */ oe({
|
|
|
6018
6021
|
const o = n, l = he(), h = x(() => {
|
|
6019
6022
|
var y;
|
|
6020
6023
|
return (y = o.node.basic) == null ? void 0 : y.id;
|
|
6021
|
-
}), { open:
|
|
6024
|
+
}), { open: b } = za(`runtimeDlg/${h.value}`);
|
|
6022
6025
|
return pc(o, (y) => {
|
|
6023
6026
|
const { name: O } = y;
|
|
6024
|
-
O === "open" ?
|
|
6027
|
+
O === "open" ? b.value = !0 : O === "close" && (b.value = !1);
|
|
6025
6028
|
}), (y, O) => {
|
|
6026
6029
|
const T = ie("v-dialog");
|
|
6027
6030
|
return G(), Q(T, {
|
|
6028
|
-
modelValue:
|
|
6029
|
-
"onUpdate:modelValue": O[0] || (O[0] = (r) => Fa(
|
|
6031
|
+
modelValue: Me(b),
|
|
6032
|
+
"onUpdate:modelValue": O[0] || (O[0] = (r) => Fa(b) ? b.value = r : null)
|
|
6030
6033
|
}, {
|
|
6031
6034
|
activator: ee(() => [
|
|
6032
|
-
|
|
6035
|
+
Me(l) === "editor" ? (G(), Be("div", {
|
|
6033
6036
|
key: 0,
|
|
6034
6037
|
id: `__node__@${h.value}`
|
|
6035
6038
|
}, null, 8, dc)) : Ua("", !0)
|
|
@@ -6136,7 +6139,7 @@ const dc = ["id"], hc = /* @__PURE__ */ oe({
|
|
|
6136
6139
|
outer: { type: Boolean }
|
|
6137
6140
|
},
|
|
6138
6141
|
setup(n) {
|
|
6139
|
-
const o = n, l = he(), h =
|
|
6142
|
+
const o = n, l = he(), h = Ge(), b = x(() => {
|
|
6140
6143
|
var e;
|
|
6141
6144
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
6142
6145
|
}), g = x(() => {
|
|
@@ -6157,9 +6160,9 @@ const dc = ["id"], hc = /* @__PURE__ */ oe({
|
|
|
6157
6160
|
}), t = x(() => h.value ? "dark" : "light");
|
|
6158
6161
|
return (e, i) => {
|
|
6159
6162
|
const s = ie("v-number-input");
|
|
6160
|
-
return
|
|
6163
|
+
return Me(l) === "editor" ? (G(), Be("div", mc, [
|
|
6161
6164
|
Z(s, {
|
|
6162
|
-
"model-value":
|
|
6165
|
+
"model-value": b.value,
|
|
6163
6166
|
label: g.value,
|
|
6164
6167
|
placeholder: y.value,
|
|
6165
6168
|
"hide-details": O.value,
|
|
@@ -6169,7 +6172,7 @@ const dc = ["id"], hc = /* @__PURE__ */ oe({
|
|
|
6169
6172
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6170
6173
|
])) : (G(), Q(s, {
|
|
6171
6174
|
key: 1,
|
|
6172
|
-
"model-value":
|
|
6175
|
+
"model-value": b.value,
|
|
6173
6176
|
label: g.value,
|
|
6174
6177
|
placeholder: y.value,
|
|
6175
6178
|
"hide-details": O.value,
|
|
@@ -6260,55 +6263,55 @@ const Rc = /* @__PURE__ */ xt(gc, [["render", Ec]]), Oc = {
|
|
|
6260
6263
|
outer: { type: Boolean }
|
|
6261
6264
|
},
|
|
6262
6265
|
setup(n) {
|
|
6263
|
-
const { t: o } = ui(), l = n, h = Bi(),
|
|
6266
|
+
const { t: o } = ui(), l = n, h = Bi(), b = he(), g = $i(), y = Cr(), O = kr(), T = Vi(), r = Et(-1), t = Et(), e = {};
|
|
6264
6267
|
Gi(e), oi(() => {
|
|
6265
|
-
const
|
|
6266
|
-
if (!
|
|
6267
|
-
r.value = -1, t.value = void 0, e.
|
|
6268
|
+
const _ = T[l.refContext.refid];
|
|
6269
|
+
if (!_) {
|
|
6270
|
+
r.value = -1, t.value = void 0, e.interpreter && (Le(e.interpreter), e.interpreter = void 0), Fe.emit("compNotAvail", l.refContext.refid);
|
|
6268
6271
|
return;
|
|
6269
6272
|
}
|
|
6270
|
-
if (r.value ===
|
|
6273
|
+
if (r.value === _.dataSeq)
|
|
6271
6274
|
return;
|
|
6272
|
-
r.value =
|
|
6275
|
+
r.value = _.dataSeq, t.value = _e(_.data), e.interpreter && Le(e.interpreter);
|
|
6273
6276
|
const N = t.value, R = N.code.script;
|
|
6274
|
-
R && (e.
|
|
6277
|
+
R && (e.interpreter = Wi({ env: h, type: y, data: N }, R));
|
|
6275
6278
|
}), br(() => {
|
|
6276
|
-
e.
|
|
6279
|
+
e.interpreter && (Le(e.interpreter), e.interpreter = void 0);
|
|
6277
6280
|
});
|
|
6278
|
-
const { applySize: i } = zi(
|
|
6279
|
-
const
|
|
6280
|
-
return y === "page" ? N === "common" ? i(
|
|
6281
|
+
const { applySize: i } = zi(b, g, l), s = x(() => {
|
|
6282
|
+
const _ = {}, N = O.type;
|
|
6283
|
+
return y === "page" ? N === "common" ? i(_) : console.assert(!1) : y === "comp" && N === "common" ? i(_) : console.assert(!1), _;
|
|
6281
6284
|
});
|
|
6282
|
-
function u(
|
|
6285
|
+
function u(_) {
|
|
6283
6286
|
const N = Ar[O.version].refKey, R = xe[N];
|
|
6284
6287
|
return R ? J(R.comp, {
|
|
6285
6288
|
refContext: {
|
|
6286
6289
|
parent: l.refContext,
|
|
6287
|
-
refid:
|
|
6290
|
+
refid: _.ref.id
|
|
6288
6291
|
},
|
|
6289
|
-
node:
|
|
6292
|
+
node: _
|
|
6290
6293
|
}) : (console.assert(!1, `ref element not found key=${N}`), J("div", `ref element not found key=${N}`));
|
|
6291
6294
|
}
|
|
6292
|
-
function c(
|
|
6295
|
+
function c(_) {
|
|
6293
6296
|
var S;
|
|
6294
|
-
const N = xe[
|
|
6297
|
+
const N = xe[_.basic.key];
|
|
6295
6298
|
if (!N)
|
|
6296
|
-
return console.assert(!1, `element not found key=${
|
|
6299
|
+
return console.assert(!1, `element not found key=${_.basic.key}`), J("div", `element not found key=${_.basic.key}`);
|
|
6297
6300
|
const R = [];
|
|
6298
|
-
return N.slots.some((k) => k.key === "default") && ((S =
|
|
6301
|
+
return N.slots.some((k) => k.key === "default") && ((S = _.children) == null || S.forEach((k) => {
|
|
6299
6302
|
const L = a(k);
|
|
6300
6303
|
R.push(L);
|
|
6301
|
-
})), J(N.comp, { node:
|
|
6304
|
+
})), J(N.comp, { node: _ }, { default: () => R });
|
|
6302
6305
|
}
|
|
6303
|
-
function a(
|
|
6304
|
-
return
|
|
6306
|
+
function a(_) {
|
|
6307
|
+
return _.ref ? u(_) : c(_);
|
|
6305
6308
|
}
|
|
6306
6309
|
function f() {
|
|
6307
|
-
let
|
|
6308
|
-
for (;
|
|
6309
|
-
if (
|
|
6310
|
+
let _ = l.refContext.parent;
|
|
6311
|
+
for (; _; ) {
|
|
6312
|
+
if (_.refid === l.refContext.refid)
|
|
6310
6313
|
return !0;
|
|
6311
|
-
|
|
6314
|
+
_ = _.parent;
|
|
6312
6315
|
}
|
|
6313
6316
|
return !1;
|
|
6314
6317
|
}
|
|
@@ -6317,16 +6320,16 @@ const Rc = /* @__PURE__ */ xt(gc, [["render", Ec]]), Oc = {
|
|
|
6317
6320
|
return J("div", { id: l.id }, o("x-runtime-lib.circularRef"));
|
|
6318
6321
|
if (!t.value)
|
|
6319
6322
|
return J("div", { id: l.id }, o("x-runtime-lib.compNotAvail"));
|
|
6320
|
-
const
|
|
6321
|
-
if (
|
|
6323
|
+
const _ = t.value.type;
|
|
6324
|
+
if (_ === "common") {
|
|
6322
6325
|
const N = [];
|
|
6323
6326
|
return t.value.view.nodes.forEach((R) => {
|
|
6324
6327
|
N.push(a(R));
|
|
6325
6328
|
}), J("div", { id: l.id, style: s.value }, N);
|
|
6326
6329
|
} else
|
|
6327
|
-
return console.assert(!1, `invalid subtype=${
|
|
6330
|
+
return console.assert(!1, `invalid subtype=${_}`), J("div", { id: l.id }, `invalid subtype=${_}`);
|
|
6328
6331
|
};
|
|
6329
|
-
return (
|
|
6332
|
+
return (_, N) => (G(), Q(v));
|
|
6330
6333
|
}
|
|
6331
6334
|
}), ti = {
|
|
6332
6335
|
key: "ref",
|
|
@@ -6340,7 +6343,7 @@ const Rc = /* @__PURE__ */ xt(gc, [["render", Ec]]), Oc = {
|
|
|
6340
6343
|
}
|
|
6341
6344
|
]
|
|
6342
6345
|
}, Nc = {
|
|
6343
|
-
key:
|
|
6346
|
+
key: gt,
|
|
6344
6347
|
name: "x-runtime-lib.ref",
|
|
6345
6348
|
comp: Tc,
|
|
6346
6349
|
slots: [],
|
|
@@ -6357,7 +6360,7 @@ const Rc = /* @__PURE__ */ xt(gc, [["render", Ec]]), Oc = {
|
|
|
6357
6360
|
outer: { type: Boolean }
|
|
6358
6361
|
},
|
|
6359
6362
|
setup(n) {
|
|
6360
|
-
const o = n, l = he(), h =
|
|
6363
|
+
const o = n, l = he(), h = Ge(), b = x(() => {
|
|
6361
6364
|
var e;
|
|
6362
6365
|
return (e = o.node.settings) == null ? void 0 : e.value;
|
|
6363
6366
|
}), g = x(() => {
|
|
@@ -6378,9 +6381,9 @@ const Rc = /* @__PURE__ */ xt(gc, [["render", Ec]]), Oc = {
|
|
|
6378
6381
|
}), t = x(() => h.value ? "dark" : "light");
|
|
6379
6382
|
return (e, i) => {
|
|
6380
6383
|
const s = ie("v-select");
|
|
6381
|
-
return
|
|
6384
|
+
return Me(l) === "editor" ? (G(), Be("div", xc, [
|
|
6382
6385
|
Z(s, {
|
|
6383
|
-
"model-value":
|
|
6386
|
+
"model-value": b.value,
|
|
6384
6387
|
label: g.value,
|
|
6385
6388
|
placeholder: y.value,
|
|
6386
6389
|
"hide-details": O.value,
|
|
@@ -6390,7 +6393,7 @@ const Rc = /* @__PURE__ */ xt(gc, [["render", Ec]]), Oc = {
|
|
|
6390
6393
|
}, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6391
6394
|
])) : (G(), Q(s, {
|
|
6392
6395
|
key: 1,
|
|
6393
|
-
"model-value":
|
|
6396
|
+
"model-value": b.value,
|
|
6394
6397
|
label: g.value,
|
|
6395
6398
|
placeholder: y.value,
|
|
6396
6399
|
"hide-details": O.value,
|
|
@@ -6475,7 +6478,7 @@ const kc = /* @__PURE__ */ xt(Pc, [["render", Cc]]), Ac = {
|
|
|
6475
6478
|
outer: { type: Boolean }
|
|
6476
6479
|
},
|
|
6477
6480
|
setup(n) {
|
|
6478
|
-
const o = n, l = he(), h =
|
|
6481
|
+
const o = n, l = he(), h = Ge(), b = x(() => {
|
|
6479
6482
|
var u;
|
|
6480
6483
|
return (u = o.node.settings) == null ? void 0 : u.label;
|
|
6481
6484
|
}), g = x(() => {
|
|
@@ -6505,9 +6508,9 @@ const kc = /* @__PURE__ */ xt(Pc, [["render", Cc]]), Ac = {
|
|
|
6505
6508
|
});
|
|
6506
6509
|
return (u, c) => {
|
|
6507
6510
|
const a = ie("v-text-field");
|
|
6508
|
-
return
|
|
6511
|
+
return Me(l) === "editor" ? (G(), Be("div", Ic, [
|
|
6509
6512
|
Z(a, {
|
|
6510
|
-
label:
|
|
6513
|
+
label: b.value,
|
|
6511
6514
|
placeholder: g.value,
|
|
6512
6515
|
"hide-details": y.value,
|
|
6513
6516
|
"single-line": O.value,
|
|
@@ -6557,7 +6560,7 @@ const kc = /* @__PURE__ */ xt(Pc, [["render", Cc]]), Ac = {
|
|
|
6557
6560
|
]), 1032, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
|
|
6558
6561
|
])) : (G(), Q(a, {
|
|
6559
6562
|
key: 1,
|
|
6560
|
-
label:
|
|
6563
|
+
label: b.value,
|
|
6561
6564
|
placeholder: g.value,
|
|
6562
6565
|
"hide-details": y.value,
|
|
6563
6566
|
"single-line": O.value,
|
|
@@ -6702,7 +6705,7 @@ const kc = /* @__PURE__ */ xt(Pc, [["render", Cc]]), Ac = {
|
|
|
6702
6705
|
}, Mc = {
|
|
6703
6706
|
version: "v1",
|
|
6704
6707
|
globalityKey: fr,
|
|
6705
|
-
refKey:
|
|
6708
|
+
refKey: gt,
|
|
6706
6709
|
elements: /* @__PURE__ */ new Set([
|
|
6707
6710
|
ir,
|
|
6708
6711
|
ar,
|
|
@@ -6714,7 +6717,7 @@ const kc = /* @__PURE__ */ xt(Pc, [["render", Cc]]), Ac = {
|
|
|
6714
6717
|
fr,
|
|
6715
6718
|
pr,
|
|
6716
6719
|
dr,
|
|
6717
|
-
|
|
6720
|
+
gt,
|
|
6718
6721
|
hr,
|
|
6719
6722
|
vr,
|
|
6720
6723
|
yr
|
|
@@ -6733,7 +6736,7 @@ const kc = /* @__PURE__ */ xt(Pc, [["render", Cc]]), Ac = {
|
|
|
6733
6736
|
cr,
|
|
6734
6737
|
pr,
|
|
6735
6738
|
dr,
|
|
6736
|
-
|
|
6739
|
+
gt,
|
|
6737
6740
|
hr,
|
|
6738
6741
|
vr,
|
|
6739
6742
|
yr
|
|
@@ -6771,7 +6774,7 @@ K(Ac);
|
|
|
6771
6774
|
K(Lc);
|
|
6772
6775
|
const Uc = (n, o, l) => {
|
|
6773
6776
|
const h = n[o];
|
|
6774
|
-
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((
|
|
6777
|
+
return h ? typeof h == "function" ? h() : Promise.resolve(h) : new Promise((b, g) => {
|
|
6775
6778
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
6776
6779
|
g.bind(
|
|
6777
6780
|
null,
|
|
@@ -6785,7 +6788,7 @@ const Uc = (n, o, l) => {
|
|
|
6785
6788
|
async function Qc(n) {
|
|
6786
6789
|
return (await Uc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-ell9fdk3.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-eeguv06v.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
6787
6790
|
}
|
|
6788
|
-
function ef(n, o, l, h,
|
|
6791
|
+
function ef(n, o, l, h, b) {
|
|
6789
6792
|
let g = n;
|
|
6790
6793
|
for (let O = 0; O < o.length; O++)
|
|
6791
6794
|
if (g = g.children[o[O]], !g) {
|
|
@@ -6795,11 +6798,11 @@ function ef(n, o, l, h, _) {
|
|
|
6795
6798
|
let y = g.children[l];
|
|
6796
6799
|
y ? y.dataSeq !== h && (y = {
|
|
6797
6800
|
dataSeq: h,
|
|
6798
|
-
data: _e(
|
|
6801
|
+
data: _e(b),
|
|
6799
6802
|
children: {}
|
|
6800
6803
|
}) : (y = {
|
|
6801
6804
|
dataSeq: h,
|
|
6802
|
-
data: _e(
|
|
6805
|
+
data: _e(b),
|
|
6803
6806
|
children: {}
|
|
6804
6807
|
}, g.children[l] = y);
|
|
6805
6808
|
}
|
|
@@ -6821,13 +6824,13 @@ export {
|
|
|
6821
6824
|
Vn as getPropDefault,
|
|
6822
6825
|
Rl as getPropTag,
|
|
6823
6826
|
Gn as initProps,
|
|
6824
|
-
|
|
6827
|
+
Ge as injectDark,
|
|
6825
6828
|
kr as injectData,
|
|
6826
6829
|
Vi as injectDepends,
|
|
6827
6830
|
$i as injectDevice,
|
|
6828
6831
|
Bi as injectEnv,
|
|
6829
|
-
Nl as injectInterpreter,
|
|
6830
6832
|
he as injectMode,
|
|
6833
|
+
Nl as injectSandbox,
|
|
6831
6834
|
Cr as injectType,
|
|
6832
6835
|
gr as isEmptyStr,
|
|
6833
6836
|
Rr as isPercentStr,
|
|
@@ -6841,10 +6844,10 @@ export {
|
|
|
6841
6844
|
Zc as provideDepends,
|
|
6842
6845
|
Hc as provideDevice,
|
|
6843
6846
|
Xc as provideEnv,
|
|
6844
|
-
Gi as provideInterpreter,
|
|
6845
6847
|
Wc as provideMode,
|
|
6848
|
+
Gi as provideSandbox,
|
|
6846
6849
|
Kc as provideType,
|
|
6847
6850
|
Ol as spawnNode,
|
|
6848
6851
|
Wi as startInterpreter,
|
|
6849
|
-
|
|
6852
|
+
Le as stopInterpreter
|
|
6850
6853
|
};
|