x-runtime-lib 0.3.6 → 0.3.8
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
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
var wi = Object.defineProperty;
|
|
2
2
|
var Ci = (n, s, p) => s in n ? wi(n, s, { enumerable: !0, configurable: !0, writable: !0, value: p }) : n[s] = p;
|
|
3
|
-
var wt = (n, s, p) =>
|
|
4
|
-
import { provide as ae, inject as oe, readonly as Be, isReactive as an, defineComponent as on, resolveComponent as Ai, openBlock as un, createBlock as sn, unref as xi, computed as le, ref as Cr, watchEffect as Ii, watch as ki, onBeforeUnmount as
|
|
5
|
-
import { useI18n as
|
|
6
|
-
import { openConfirmDlg as
|
|
3
|
+
var wt = (n, s, p) => Ci(n, typeof s != "symbol" ? s + "" : s, p);
|
|
4
|
+
import { provide as ae, inject as oe, readonly as Be, isReactive as an, defineComponent as on, resolveComponent as Ai, openBlock as un, createBlock as sn, unref as xi, computed as le, ref as Cr, watchEffect as Ii, watch as ki, onBeforeUnmount as Di, h as Fe } from "vue";
|
|
5
|
+
import { useI18n as Fi } from "vue-i18n";
|
|
6
|
+
import { openConfirmDlg as Li, openPromptDlg as Ui, eventBus as Mi } from "x-essential-lib";
|
|
7
7
|
const ji = /* @__PURE__ */ new Set([
|
|
8
8
|
"globality_v1",
|
|
9
9
|
"btn_v1",
|
|
@@ -60,16 +60,16 @@ function Ct(n) {
|
|
|
60
60
|
if (!isNaN(p))
|
|
61
61
|
return p;
|
|
62
62
|
}
|
|
63
|
-
var ln = typeof global == "object" && global && global.Object === Object && global, Xi = typeof self == "object" && self && self.Object === Object && self, K = ln || Xi || Function("return this")(), Re = K.Symbol, pn = Object.prototype, Wi = pn.hasOwnProperty, zi = pn.toString,
|
|
63
|
+
var ln = typeof global == "object" && global && global.Object === Object && global, Xi = typeof self == "object" && self && self.Object === Object && self, K = ln || Xi || Function("return this")(), Re = K.Symbol, pn = Object.prototype, Wi = pn.hasOwnProperty, zi = pn.toString, Le = Re ? Re.toStringTag : void 0;
|
|
64
64
|
function Ji(n) {
|
|
65
|
-
var s = Wi.call(n,
|
|
65
|
+
var s = Wi.call(n, Le), p = n[Le];
|
|
66
66
|
try {
|
|
67
|
-
n[
|
|
67
|
+
n[Le] = void 0;
|
|
68
68
|
var y = !0;
|
|
69
69
|
} catch {
|
|
70
70
|
}
|
|
71
71
|
var g = zi.call(n);
|
|
72
|
-
return y && (s ? n[
|
|
72
|
+
return y && (s ? n[Le] = p : delete n[Le]), g;
|
|
73
73
|
}
|
|
74
74
|
var Hi = Object.prototype, Ki = Hi.toString;
|
|
75
75
|
function qi(n) {
|
|
@@ -150,7 +150,7 @@ function Ea(n, s) {
|
|
|
150
150
|
s[p] = n[p];
|
|
151
151
|
return s;
|
|
152
152
|
}
|
|
153
|
-
var
|
|
153
|
+
var Dr = function() {
|
|
154
154
|
try {
|
|
155
155
|
var n = de(Object, "defineProperty");
|
|
156
156
|
return n({}, "", {}), n;
|
|
@@ -168,7 +168,7 @@ function ma(n, s) {
|
|
|
168
168
|
return s = s ?? _a, !!s && (p == "number" || p != "symbol" && ba.test(n)) && n > -1 && n % 1 == 0 && n < s;
|
|
169
169
|
}
|
|
170
170
|
function dn(n, s, p) {
|
|
171
|
-
s == "__proto__" &&
|
|
171
|
+
s == "__proto__" && Dr ? Dr(n, s, {
|
|
172
172
|
configurable: !0,
|
|
173
173
|
enumerable: !0,
|
|
174
174
|
value: p,
|
|
@@ -187,8 +187,8 @@ function nt(n, s, p, y) {
|
|
|
187
187
|
var g = !p;
|
|
188
188
|
p || (p = {});
|
|
189
189
|
for (var R = -1, m = s.length; ++R < m; ) {
|
|
190
|
-
var N = s[R],
|
|
191
|
-
|
|
190
|
+
var N = s[R], T = void 0;
|
|
191
|
+
T === void 0 && (T = n[N]), g ? dn(p, N, T) : yn(p, N, T);
|
|
192
192
|
}
|
|
193
193
|
return p;
|
|
194
194
|
}
|
|
@@ -199,33 +199,33 @@ function En(n) {
|
|
|
199
199
|
function gn(n) {
|
|
200
200
|
return n != null && En(n.length) && !hn(n);
|
|
201
201
|
}
|
|
202
|
-
var
|
|
202
|
+
var Ta = Object.prototype;
|
|
203
203
|
function Mt(n) {
|
|
204
|
-
var s = n && n.constructor, p = typeof s == "function" && s.prototype ||
|
|
204
|
+
var s = n && n.constructor, p = typeof s == "function" && s.prototype || Ta;
|
|
205
205
|
return n === p;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Sa(n, s) {
|
|
208
208
|
for (var p = -1, y = Array(n); ++p < n; )
|
|
209
209
|
y[p] = s(p);
|
|
210
210
|
return y;
|
|
211
211
|
}
|
|
212
212
|
var Pa = "[object Arguments]";
|
|
213
|
-
function
|
|
213
|
+
function Fr(n) {
|
|
214
214
|
return Ge(n) && $e(n) == Pa;
|
|
215
215
|
}
|
|
216
|
-
var _n = Object.prototype, wa = _n.hasOwnProperty, Ca = _n.propertyIsEnumerable, Aa =
|
|
216
|
+
var _n = Object.prototype, wa = _n.hasOwnProperty, Ca = _n.propertyIsEnumerable, Aa = Fr(/* @__PURE__ */ function() {
|
|
217
217
|
return arguments;
|
|
218
|
-
}()) ?
|
|
218
|
+
}()) ? Fr : function(n) {
|
|
219
219
|
return Ge(n) && wa.call(n, "callee") && !Ca.call(n, "callee");
|
|
220
220
|
};
|
|
221
221
|
function xa() {
|
|
222
222
|
return !1;
|
|
223
223
|
}
|
|
224
|
-
var bn = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
225
|
-
|
|
226
|
-
|
|
224
|
+
var bn = typeof exports == "object" && exports && !exports.nodeType && exports, Lr = bn && typeof module == "object" && module && !module.nodeType && module, Ia = Lr && Lr.exports === bn, Ur = Ia ? K.Buffer : void 0, ka = Ur ? Ur.isBuffer : void 0, mn = ka || xa, Da = "[object Arguments]", Fa = "[object Array]", La = "[object Boolean]", Ua = "[object Date]", Ma = "[object Error]", ja = "[object Function]", Ba = "[object Map]", $a = "[object Number]", Ga = "[object Object]", Va = "[object RegExp]", Ya = "[object Set]", Xa = "[object String]", Wa = "[object WeakMap]", za = "[object ArrayBuffer]", Ja = "[object DataView]", Ha = "[object Float32Array]", Ka = "[object Float64Array]", qa = "[object Int8Array]", Za = "[object Int16Array]", Qa = "[object Int32Array]", eo = "[object Uint8Array]", to = "[object Uint8ClampedArray]", ro = "[object Uint16Array]", no = "[object Uint32Array]", L = {};
|
|
225
|
+
L[Ha] = L[Ka] = L[qa] = L[Za] = L[Qa] = L[eo] = L[to] = L[ro] = L[no] = !0;
|
|
226
|
+
L[Da] = L[Fa] = L[za] = L[La] = L[Ja] = L[Ua] = L[Ma] = L[ja] = L[Ba] = L[$a] = L[Ga] = L[Va] = L[Ya] = L[Xa] = L[Wa] = !1;
|
|
227
227
|
function io(n) {
|
|
228
|
-
return Ge(n) && En(n.length) && !!
|
|
228
|
+
return Ge(n) && En(n.length) && !!L[$e(n)];
|
|
229
229
|
}
|
|
230
230
|
function jt(n) {
|
|
231
231
|
return function(s) {
|
|
@@ -240,13 +240,13 @@ var Rn = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
|
240
240
|
}
|
|
241
241
|
}(), Mr = Oe && Oe.isTypedArray, oo = Mr ? jt(Mr) : io, uo = Object.prototype, so = uo.hasOwnProperty;
|
|
242
242
|
function On(n, s) {
|
|
243
|
-
var p = Ut(n), y = !p && Aa(n), g = !p && !y && mn(n), R = !p && !y && !g && oo(n), m = p || y || g || R, N = m ?
|
|
243
|
+
var p = Ut(n), y = !p && Aa(n), g = !p && !y && mn(n), R = !p && !y && !g && oo(n), m = p || y || g || R, N = m ? Sa(n.length, String) : [], T = N.length;
|
|
244
244
|
for (var r in n)
|
|
245
245
|
(s || so.call(n, r)) && !(m && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
246
246
|
(r == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
247
247
|
g && (r == "offset" || r == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
248
248
|
R && (r == "buffer" || r == "byteLength" || r == "byteOffset") || // Skip index properties.
|
|
249
|
-
ma(r,
|
|
249
|
+
ma(r, T))) && N.push(r);
|
|
250
250
|
return N;
|
|
251
251
|
}
|
|
252
252
|
function Nn(n, s) {
|
|
@@ -302,10 +302,10 @@ function Oo(n) {
|
|
|
302
302
|
}
|
|
303
303
|
return Ro.call(s, n) ? s[n] : void 0;
|
|
304
304
|
}
|
|
305
|
-
var No = Object.prototype,
|
|
306
|
-
function
|
|
305
|
+
var No = Object.prototype, To = No.hasOwnProperty;
|
|
306
|
+
function So(n) {
|
|
307
307
|
var s = this.__data__;
|
|
308
|
-
return Me ? s[n] !== void 0 :
|
|
308
|
+
return Me ? s[n] !== void 0 : To.call(s, n);
|
|
309
309
|
}
|
|
310
310
|
var Po = "__lodash_hash_undefined__";
|
|
311
311
|
function wo(n, s) {
|
|
@@ -322,7 +322,7 @@ function pe(n) {
|
|
|
322
322
|
pe.prototype.clear = go;
|
|
323
323
|
pe.prototype.delete = _o;
|
|
324
324
|
pe.prototype.get = Oo;
|
|
325
|
-
pe.prototype.has =
|
|
325
|
+
pe.prototype.has = So;
|
|
326
326
|
pe.prototype.set = wo;
|
|
327
327
|
function Co() {
|
|
328
328
|
this.__data__ = [], this.size = 0;
|
|
@@ -345,10 +345,10 @@ function ko(n) {
|
|
|
345
345
|
var s = this.__data__, p = it(s, n);
|
|
346
346
|
return p < 0 ? void 0 : s[p][1];
|
|
347
347
|
}
|
|
348
|
-
function
|
|
348
|
+
function Do(n) {
|
|
349
349
|
return it(this.__data__, n) > -1;
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function Fo(n, s) {
|
|
352
352
|
var p = this.__data__, y = it(p, n);
|
|
353
353
|
return y < 0 ? (++this.size, p.push([n, s])) : p[y][1] = s, this;
|
|
354
354
|
}
|
|
@@ -362,10 +362,10 @@ function te(n) {
|
|
|
362
362
|
te.prototype.clear = Co;
|
|
363
363
|
te.prototype.delete = Io;
|
|
364
364
|
te.prototype.get = ko;
|
|
365
|
-
te.prototype.has =
|
|
366
|
-
te.prototype.set =
|
|
365
|
+
te.prototype.has = Do;
|
|
366
|
+
te.prototype.set = Fo;
|
|
367
367
|
var je = de(K, "Map");
|
|
368
|
-
function
|
|
368
|
+
function Lo() {
|
|
369
369
|
this.size = 0, this.__data__ = {
|
|
370
370
|
hash: new pe(),
|
|
371
371
|
map: new (je || te)(),
|
|
@@ -401,17 +401,17 @@ function Ne(n) {
|
|
|
401
401
|
this.set(y[0], y[1]);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
|
-
Ne.prototype.clear =
|
|
404
|
+
Ne.prototype.clear = Lo;
|
|
405
405
|
Ne.prototype.delete = Mo;
|
|
406
406
|
Ne.prototype.get = jo;
|
|
407
407
|
Ne.prototype.has = Bo;
|
|
408
408
|
Ne.prototype.set = $o;
|
|
409
|
-
function
|
|
409
|
+
function Tn(n, s) {
|
|
410
410
|
for (var p = -1, y = s.length, g = n.length; ++p < y; )
|
|
411
411
|
n[g + p] = s[p];
|
|
412
412
|
return n;
|
|
413
413
|
}
|
|
414
|
-
var
|
|
414
|
+
var Sn = Nn(Object.getPrototypeOf, Object);
|
|
415
415
|
function Go() {
|
|
416
416
|
this.__data__ = new te(), this.size = 0;
|
|
417
417
|
}
|
|
@@ -436,15 +436,15 @@ function zo(n, s) {
|
|
|
436
436
|
}
|
|
437
437
|
return p.set(n, s), this.size = p.size, this;
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function Te(n) {
|
|
440
440
|
var s = this.__data__ = new te(n);
|
|
441
441
|
this.size = s.size;
|
|
442
442
|
}
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
443
|
+
Te.prototype.clear = Go;
|
|
444
|
+
Te.prototype.delete = Vo;
|
|
445
|
+
Te.prototype.get = Yo;
|
|
446
|
+
Te.prototype.has = Xo;
|
|
447
|
+
Te.prototype.set = zo;
|
|
448
448
|
function Jo(n, s) {
|
|
449
449
|
return n && nt(s, Bt(s), n);
|
|
450
450
|
}
|
|
@@ -478,7 +478,7 @@ function tu(n, s) {
|
|
|
478
478
|
}
|
|
479
479
|
var ru = Object.getOwnPropertySymbols, Cn = ru ? function(n) {
|
|
480
480
|
for (var s = []; n; )
|
|
481
|
-
|
|
481
|
+
Tn(s, Gt(n)), n = Sn(n);
|
|
482
482
|
return s;
|
|
483
483
|
} : wn;
|
|
484
484
|
function nu(n, s) {
|
|
@@ -486,7 +486,7 @@ function nu(n, s) {
|
|
|
486
486
|
}
|
|
487
487
|
function An(n, s, p) {
|
|
488
488
|
var y = s(n);
|
|
489
|
-
return Ut(n) ? y :
|
|
489
|
+
return Ut(n) ? y : Tn(y, p(n));
|
|
490
490
|
}
|
|
491
491
|
function iu(n) {
|
|
492
492
|
return An(n, Bt, Gt);
|
|
@@ -494,8 +494,8 @@ function iu(n) {
|
|
|
494
494
|
function au(n) {
|
|
495
495
|
return An(n, $t, Cn);
|
|
496
496
|
}
|
|
497
|
-
var kt = de(K, "DataView"),
|
|
498
|
-
(kt && ee(new kt(new ArrayBuffer(1))) != zr || je && ee(new je()) != Vr ||
|
|
497
|
+
var kt = de(K, "DataView"), Dt = de(K, "Promise"), Ft = de(K, "Set"), Vr = "[object Map]", ou = "[object Object]", Yr = "[object Promise]", Xr = "[object Set]", Wr = "[object WeakMap]", zr = "[object DataView]", uu = he(kt), su = he(je), cu = he(Dt), fu = he(Ft), lu = he(It), ee = $e;
|
|
498
|
+
(kt && ee(new kt(new ArrayBuffer(1))) != zr || je && ee(new je()) != Vr || Dt && ee(Dt.resolve()) != Yr || Ft && ee(new Ft()) != Xr || It && ee(new It()) != Wr) && (ee = function(n) {
|
|
499
499
|
var s = $e(n), p = s == ou ? n.constructor : void 0, y = p ? he(p) : "";
|
|
500
500
|
if (y)
|
|
501
501
|
switch (y) {
|
|
@@ -539,7 +539,7 @@ function _u(n, s) {
|
|
|
539
539
|
var p = s ? Vt(n.buffer) : n.buffer;
|
|
540
540
|
return new n.constructor(p, n.byteOffset, n.length);
|
|
541
541
|
}
|
|
542
|
-
var bu = "[object Boolean]", mu = "[object Date]", Ru = "[object Map]", Ou = "[object Number]", Nu = "[object RegExp]",
|
|
542
|
+
var bu = "[object Boolean]", mu = "[object Date]", Ru = "[object Map]", Ou = "[object Number]", Nu = "[object RegExp]", Tu = "[object Set]", Su = "[object String]", Pu = "[object Symbol]", wu = "[object ArrayBuffer]", Cu = "[object DataView]", Au = "[object Float32Array]", xu = "[object Float64Array]", Iu = "[object Int8Array]", ku = "[object Int16Array]", Du = "[object Int32Array]", Fu = "[object Uint8Array]", Lu = "[object Uint8ClampedArray]", Uu = "[object Uint16Array]", Mu = "[object Uint32Array]";
|
|
543
543
|
function ju(n, s, p) {
|
|
544
544
|
var y = n.constructor;
|
|
545
545
|
switch (s) {
|
|
@@ -554,27 +554,27 @@ function ju(n, s, p) {
|
|
|
554
554
|
case xu:
|
|
555
555
|
case Iu:
|
|
556
556
|
case ku:
|
|
557
|
+
case Du:
|
|
557
558
|
case Fu:
|
|
558
559
|
case Lu:
|
|
559
|
-
case Du:
|
|
560
560
|
case Uu:
|
|
561
561
|
case Mu:
|
|
562
562
|
return _u(n, p);
|
|
563
563
|
case Ru:
|
|
564
564
|
return new y();
|
|
565
565
|
case Ou:
|
|
566
|
-
case
|
|
566
|
+
case Su:
|
|
567
567
|
return new y(n);
|
|
568
568
|
case Nu:
|
|
569
569
|
return Eu(n);
|
|
570
|
-
case
|
|
570
|
+
case Tu:
|
|
571
571
|
return new y();
|
|
572
572
|
case Pu:
|
|
573
573
|
return gu(n);
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
function Bu(n) {
|
|
577
|
-
return typeof n.constructor == "function" && !Mt(n) ? ya(
|
|
577
|
+
return typeof n.constructor == "function" && !Mt(n) ? ya(Sn(n)) : {};
|
|
578
578
|
}
|
|
579
579
|
var $u = "[object Map]";
|
|
580
580
|
function Gu(n) {
|
|
@@ -584,11 +584,11 @@ var qr = Oe && Oe.isMap, Vu = qr ? jt(qr) : Gu, Yu = "[object Set]";
|
|
|
584
584
|
function Xu(n) {
|
|
585
585
|
return Ge(n) && ee(n) == Yu;
|
|
586
586
|
}
|
|
587
|
-
var Zr = Oe && Oe.isSet, Wu = Zr ? jt(Zr) : Xu, zu = 1, Ju = 2, Hu = 4, xn = "[object Arguments]", Ku = "[object Array]", qu = "[object Boolean]", Zu = "[object Date]", Qu = "[object Error]", In = "[object Function]", es = "[object GeneratorFunction]", ts = "[object Map]", rs = "[object Number]", kn = "[object Object]", ns = "[object RegExp]", is = "[object Set]", as = "[object String]", os = "[object Symbol]", us = "[object WeakMap]", ss = "[object ArrayBuffer]", cs = "[object DataView]", fs = "[object Float32Array]", ls = "[object Float64Array]", ps = "[object Int8Array]", hs = "[object Int16Array]", ds = "[object Int32Array]", vs = "[object Uint8Array]", ys = "[object Uint8ClampedArray]", Es = "[object Uint16Array]", gs = "[object Uint32Array]",
|
|
588
|
-
|
|
589
|
-
|
|
587
|
+
var Zr = Oe && Oe.isSet, Wu = Zr ? jt(Zr) : Xu, zu = 1, Ju = 2, Hu = 4, xn = "[object Arguments]", Ku = "[object Array]", qu = "[object Boolean]", Zu = "[object Date]", Qu = "[object Error]", In = "[object Function]", es = "[object GeneratorFunction]", ts = "[object Map]", rs = "[object Number]", kn = "[object Object]", ns = "[object RegExp]", is = "[object Set]", as = "[object String]", os = "[object Symbol]", us = "[object WeakMap]", ss = "[object ArrayBuffer]", cs = "[object DataView]", fs = "[object Float32Array]", ls = "[object Float64Array]", ps = "[object Int8Array]", hs = "[object Int16Array]", ds = "[object Int32Array]", vs = "[object Uint8Array]", ys = "[object Uint8ClampedArray]", Es = "[object Uint16Array]", gs = "[object Uint32Array]", F = {};
|
|
588
|
+
F[xn] = F[Ku] = F[ss] = F[cs] = F[qu] = F[Zu] = F[fs] = F[ls] = F[ps] = F[hs] = F[ds] = F[ts] = F[rs] = F[kn] = F[ns] = F[is] = F[as] = F[os] = F[vs] = F[ys] = F[Es] = F[gs] = !0;
|
|
589
|
+
F[Qu] = F[In] = F[us] = !1;
|
|
590
590
|
function tt(n, s, p, y, g, R) {
|
|
591
|
-
var m, N = s & zu,
|
|
591
|
+
var m, N = s & zu, T = s & Ju, r = s & Hu;
|
|
592
592
|
if (m !== void 0)
|
|
593
593
|
return m;
|
|
594
594
|
if (!Ve(n))
|
|
@@ -602,15 +602,15 @@ function tt(n, s, p, y, g, R) {
|
|
|
602
602
|
if (mn(n))
|
|
603
603
|
return qo(n, N);
|
|
604
604
|
if (e == kn || e == xn || i && !g) {
|
|
605
|
-
if (m =
|
|
606
|
-
return
|
|
605
|
+
if (m = T || i ? {} : Bu(n), !N)
|
|
606
|
+
return T ? nu(n, Ho(m, n)) : tu(n, Jo(m, n));
|
|
607
607
|
} else {
|
|
608
|
-
if (!
|
|
608
|
+
if (!F[e])
|
|
609
609
|
return g ? n : {};
|
|
610
610
|
m = ju(n, e, N);
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
R = new
|
|
613
|
+
R || (R = new Te());
|
|
614
614
|
var o = R.get(n);
|
|
615
615
|
if (o)
|
|
616
616
|
return o;
|
|
@@ -619,13 +619,13 @@ function tt(n, s, p, y, g, R) {
|
|
|
619
619
|
}) : Vu(n) && n.forEach(function(a, l) {
|
|
620
620
|
m.set(l, tt(a, s, p, l, n, R));
|
|
621
621
|
});
|
|
622
|
-
var u = r ?
|
|
622
|
+
var u = r ? T ? au : iu : T ? $t : Bt, c = t ? void 0 : u(n);
|
|
623
623
|
return ga(c || n, function(a, l) {
|
|
624
624
|
c && (l = a, a = n[l]), yn(m, l, tt(a, s, p, l, n, R));
|
|
625
625
|
}), m;
|
|
626
626
|
}
|
|
627
627
|
var _s = 1, bs = 4;
|
|
628
|
-
function
|
|
628
|
+
function Lt(n) {
|
|
629
629
|
return tt(n, _s | bs);
|
|
630
630
|
}
|
|
631
631
|
function ms(n, s) {
|
|
@@ -638,9 +638,9 @@ function ms(n, s) {
|
|
|
638
638
|
function Qr(n) {
|
|
639
639
|
var s;
|
|
640
640
|
if (n.array)
|
|
641
|
-
return n.default instanceof Array ?
|
|
641
|
+
return n.default instanceof Array ? Lt(n.default) : [];
|
|
642
642
|
if (n.default !== void 0)
|
|
643
|
-
return
|
|
643
|
+
return Lt(n.default);
|
|
644
644
|
switch (n.ui) {
|
|
645
645
|
case "void":
|
|
646
646
|
return null;
|
|
@@ -673,7 +673,7 @@ function Rs(n, s, p, y, g) {
|
|
|
673
673
|
console.error(`pkg not found version=${p}`);
|
|
674
674
|
return;
|
|
675
675
|
}
|
|
676
|
-
const N = {},
|
|
676
|
+
const N = {}, T = fn(16);
|
|
677
677
|
if (y) {
|
|
678
678
|
const r = m.refKey;
|
|
679
679
|
if (!m.elements.has(r)) {
|
|
@@ -690,7 +690,7 @@ function Rs(n, s, p, y, g) {
|
|
|
690
690
|
console.error(`[ref] props not found key=${g} tag=${R}`);
|
|
691
691
|
return;
|
|
692
692
|
}
|
|
693
|
-
en(N, e), N.id =
|
|
693
|
+
en(N, e), N.id = T, N.ref = {
|
|
694
694
|
id: g
|
|
695
695
|
};
|
|
696
696
|
} else {
|
|
@@ -708,7 +708,7 @@ function Rs(n, s, p, y, g) {
|
|
|
708
708
|
console.error(`[key] props not found key=${g} tag=${R}`);
|
|
709
709
|
return;
|
|
710
710
|
}
|
|
711
|
-
en(N, t), N.id =
|
|
711
|
+
en(N, t), N.id = T, N.key = g, r.leaf || (N.children = []);
|
|
712
712
|
}
|
|
713
713
|
return N;
|
|
714
714
|
}
|
|
@@ -734,32 +734,32 @@ function cc(n) {
|
|
|
734
734
|
var g;
|
|
735
735
|
y.id = fn(16), (g = y.children) == null || g.forEach((R) => s(R));
|
|
736
736
|
}
|
|
737
|
-
const p =
|
|
737
|
+
const p = Lt(n);
|
|
738
738
|
return s(p), p;
|
|
739
739
|
}
|
|
740
|
-
const
|
|
740
|
+
const Dn = "runtimeEnv", Fn = "runtimeMode", Ln = "runtimeDevice", Un = "runtimeDark", Mn = "runtimeType", jn = "runtimeData", Bn = "runtimeDepends", $n = "runtimeInterpreter";
|
|
741
741
|
function fc(n) {
|
|
742
|
-
ae(
|
|
742
|
+
ae(Dn, n);
|
|
743
743
|
}
|
|
744
744
|
function Os() {
|
|
745
|
-
return oe(
|
|
745
|
+
return oe(Dn);
|
|
746
746
|
}
|
|
747
747
|
function lc(n) {
|
|
748
|
-
ae(
|
|
748
|
+
ae(Fn, n);
|
|
749
749
|
}
|
|
750
750
|
function Ns() {
|
|
751
|
-
return oe(
|
|
751
|
+
return oe(Fn);
|
|
752
752
|
}
|
|
753
753
|
function pc(n) {
|
|
754
|
-
ae(
|
|
754
|
+
ae(Ln, Be(n));
|
|
755
755
|
}
|
|
756
|
-
function
|
|
757
|
-
return oe(
|
|
756
|
+
function Ts() {
|
|
757
|
+
return oe(Ln);
|
|
758
758
|
}
|
|
759
759
|
function hc(n) {
|
|
760
760
|
ae(Un, Be(n));
|
|
761
761
|
}
|
|
762
|
-
function
|
|
762
|
+
function Ss() {
|
|
763
763
|
return oe(Un);
|
|
764
764
|
}
|
|
765
765
|
function dc(n) {
|
|
@@ -791,7 +791,7 @@ function Ec() {
|
|
|
791
791
|
const xs = /* @__PURE__ */ on({
|
|
792
792
|
__name: "index",
|
|
793
793
|
setup(n) {
|
|
794
|
-
const s =
|
|
794
|
+
const s = Ss();
|
|
795
795
|
return (p, y) => {
|
|
796
796
|
const g = Ai("v-btn");
|
|
797
797
|
return un(), sn(g, {
|
|
@@ -843,7 +843,7 @@ const xs = /* @__PURE__ */ on({
|
|
|
843
843
|
default: "#00000000"
|
|
844
844
|
}
|
|
845
845
|
]
|
|
846
|
-
},
|
|
846
|
+
}, Ds = {
|
|
847
847
|
key: "globality_v1",
|
|
848
848
|
name: "globality",
|
|
849
849
|
comp: "",
|
|
@@ -885,8 +885,8 @@ const xs = /* @__PURE__ */ on({
|
|
|
885
885
|
},
|
|
886
886
|
internal: !0
|
|
887
887
|
};
|
|
888
|
-
function
|
|
889
|
-
const s = Ns(), p =
|
|
888
|
+
function Fs(n) {
|
|
889
|
+
const s = Ns(), p = Ts(), y = le(() => n.node.width), g = le(() => n.node.minWidth), R = le(() => n.node.maxWidth), m = le(() => {
|
|
890
890
|
if (n.outer && s === "editor") {
|
|
891
891
|
const t = Ct(n.node.height);
|
|
892
892
|
if (t)
|
|
@@ -900,7 +900,7 @@ function Ls(n) {
|
|
|
900
900
|
return t / 100 * p.value.height + "px";
|
|
901
901
|
}
|
|
902
902
|
return n.node.minHeight;
|
|
903
|
-
}),
|
|
903
|
+
}), T = le(() => {
|
|
904
904
|
if (n.outer && s === "editor") {
|
|
905
905
|
const t = Ct(n.node.maxHeight);
|
|
906
906
|
if (t)
|
|
@@ -909,25 +909,23 @@ function Ls(n) {
|
|
|
909
909
|
return n.node.maxHeight;
|
|
910
910
|
});
|
|
911
911
|
function r(t) {
|
|
912
|
-
y.value && (t.width = y.value), g.value && (t.minWidth = g.value), R.value && (t.maxWidth = R.value), m.value && (t.height = m.value), N.value && (t.minHeight = N.value),
|
|
912
|
+
y.value && (t.width = y.value), g.value && (t.minWidth = g.value), R.value && (t.maxWidth = R.value), m.value && (t.height = m.value), N.value && (t.minHeight = N.value), T.value && (t.maxHeight = T.value);
|
|
913
913
|
}
|
|
914
|
-
return { width: y, minWidth: g, maxWidth: R, height: m, minHeight: N, maxHeight:
|
|
914
|
+
return { width: y, minWidth: g, maxWidth: R, height: m, minHeight: N, maxHeight: T, applySize: r };
|
|
915
915
|
}
|
|
916
|
-
var
|
|
916
|
+
var Ls = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
917
917
|
function Us(n) {
|
|
918
918
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
919
919
|
}
|
|
920
920
|
function Ms(n) {
|
|
921
|
-
if (n.__esModule)
|
|
922
|
-
return n;
|
|
921
|
+
if (n.__esModule) return n;
|
|
923
922
|
var s = n.default;
|
|
924
923
|
if (typeof s == "function") {
|
|
925
924
|
var p = function y() {
|
|
926
925
|
return this instanceof y ? Reflect.construct(s, arguments, this.constructor) : s.apply(this, arguments);
|
|
927
926
|
};
|
|
928
927
|
p.prototype = s.prototype;
|
|
929
|
-
} else
|
|
930
|
-
p = {};
|
|
928
|
+
} else p = {};
|
|
931
929
|
return Object.defineProperty(p, "__esModule", { value: !0 }), Object.keys(n).forEach(function(y) {
|
|
932
930
|
var g = Object.getOwnPropertyDescriptor(n, y);
|
|
933
931
|
Object.defineProperty(p, y, g.get ? g : {
|
|
@@ -946,7 +944,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
946
944
|
(function(n, s) {
|
|
947
945
|
(function(y, g) {
|
|
948
946
|
n.exports = g();
|
|
949
|
-
})(
|
|
947
|
+
})(Ls, () => (
|
|
950
948
|
/******/
|
|
951
949
|
(() => {
|
|
952
950
|
var p = {
|
|
@@ -956,7 +954,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
956
954
|
!*** ./original-repo/interpreter.js ***!
|
|
957
955
|
\**************************************/
|
|
958
956
|
/***/
|
|
959
|
-
function(m, N,
|
|
957
|
+
function(m, N, T) {
|
|
960
958
|
/**
|
|
961
959
|
* @license
|
|
962
960
|
* Copyright 2013 Google LLC
|
|
@@ -2097,8 +2095,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2097
2095
|
string: _,
|
|
2098
2096
|
separator: a,
|
|
2099
2097
|
limit: l
|
|
2100
|
-
}, b = "string.split(separator, limit)",
|
|
2101
|
-
|
|
2098
|
+
}, b = "string.split(separator, limit)", D = e.vmCall(b, O, a, v);
|
|
2099
|
+
D !== r.REGEXP_TIMEOUT && v(e.nativeToPseudo(D));
|
|
2102
2100
|
} else {
|
|
2103
2101
|
var P = e.createWorker(), I = e.regExpTimeout(
|
|
2104
2102
|
a,
|
|
@@ -2111,8 +2109,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2111
2109
|
}
|
|
2112
2110
|
return;
|
|
2113
2111
|
}
|
|
2114
|
-
var
|
|
2115
|
-
v(e.nativeToPseudo(
|
|
2112
|
+
var D = _.split(a, l);
|
|
2113
|
+
v(e.nativeToPseudo(D));
|
|
2116
2114
|
}, this.setAsyncFunctionPrototype(this.STRING, "split", i), i = function(a, l) {
|
|
2117
2115
|
var v = String(this);
|
|
2118
2116
|
if (a = e.isa(a, e.REGEXP) ? a.data : new RegExp(a), e.maybeThrowRegExp(a, l), e.REGEXP_MODE === 2) {
|
|
@@ -2124,8 +2122,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2124
2122
|
I !== r.REGEXP_TIMEOUT && l(I && e.matchToPseudo_(I));
|
|
2125
2123
|
} else {
|
|
2126
2124
|
var b = e.createWorker(), P = e.regExpTimeout(a, b, l);
|
|
2127
|
-
b.onmessage = function(
|
|
2128
|
-
clearTimeout(P), l(
|
|
2125
|
+
b.onmessage = function(D) {
|
|
2126
|
+
clearTimeout(P), l(D.data && e.matchToPseudo_(D.data));
|
|
2129
2127
|
}, b.postMessage(["match", v, a]);
|
|
2130
2128
|
}
|
|
2131
2129
|
return;
|
|
@@ -2143,8 +2141,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2143
2141
|
b !== r.REGEXP_TIMEOUT && l(b);
|
|
2144
2142
|
} else {
|
|
2145
2143
|
var P = e.createWorker(), I = e.regExpTimeout(a, P, l);
|
|
2146
|
-
P.onmessage = function(
|
|
2147
|
-
clearTimeout(I), l(
|
|
2144
|
+
P.onmessage = function(D) {
|
|
2145
|
+
clearTimeout(I), l(D.data);
|
|
2148
2146
|
}, P.postMessage(["search", v, a]);
|
|
2149
2147
|
}
|
|
2150
2148
|
return;
|
|
@@ -2161,13 +2159,13 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2161
2159
|
}, b = "string.replace(substr, newSubstr)", P = e.vmCall(b, O, a, v);
|
|
2162
2160
|
P !== r.REGEXP_TIMEOUT && v(P);
|
|
2163
2161
|
} else {
|
|
2164
|
-
var I = e.createWorker(),
|
|
2162
|
+
var I = e.createWorker(), D = e.regExpTimeout(
|
|
2165
2163
|
a,
|
|
2166
2164
|
I,
|
|
2167
2165
|
v
|
|
2168
2166
|
);
|
|
2169
2167
|
I.onmessage = function(X) {
|
|
2170
|
-
clearTimeout(
|
|
2168
|
+
clearTimeout(D), v(X.data);
|
|
2171
2169
|
}, I.postMessage(["replace", _, a, l]);
|
|
2172
2170
|
}
|
|
2173
2171
|
return;
|
|
@@ -2699,7 +2697,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2699
2697
|
i = !0;
|
|
2700
2698
|
else {
|
|
2701
2699
|
try {
|
|
2702
|
-
r.vm =
|
|
2700
|
+
r.vm = T(
|
|
2703
2701
|
/*! vm */
|
|
2704
2702
|
"vm"
|
|
2705
2703
|
);
|
|
@@ -2805,8 +2803,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2805
2803
|
}
|
|
2806
2804
|
if (typeof t == "function") {
|
|
2807
2805
|
var a = this, l = function() {
|
|
2808
|
-
var P = Array.prototype.slice.call(arguments).map(function(
|
|
2809
|
-
return a.pseudoToNative(
|
|
2806
|
+
var P = Array.prototype.slice.call(arguments).map(function(D) {
|
|
2807
|
+
return a.pseudoToNative(D);
|
|
2810
2808
|
}), I = t.apply(a, P);
|
|
2811
2809
|
return a.nativeToPseudo(I);
|
|
2812
2810
|
}, v = Object.getOwnPropertyDescriptor(t, "prototype"), _ = this.createNativeFunction(l, !!v);
|
|
@@ -2934,8 +2932,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2934
2932
|
if (i = r.legalArrayLength(i), isNaN(i) && this.throwException(this.RANGE_ERROR, "Invalid array length"), i < a)
|
|
2935
2933
|
for (l in t.properties)
|
|
2936
2934
|
l = r.legalArrayIndex(l), !isNaN(l) && i <= l && delete t.properties[l];
|
|
2937
|
-
} else
|
|
2938
|
-
isNaN(l = r.legalArrayIndex(e)) || (t.properties.length = Math.max(a, l + 1));
|
|
2935
|
+
} else isNaN(l = r.legalArrayIndex(e)) || (t.properties.length = Math.max(a, l + 1));
|
|
2939
2936
|
}
|
|
2940
2937
|
if (t.preventExtensions && !(e in t.properties)) {
|
|
2941
2938
|
u && this.throwException(this.TYPE_ERROR, "Can't add property '" + e + "', object is not extensible");
|
|
@@ -3116,35 +3113,34 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3116
3113
|
}, r.prototype.unwind = function(t, e, i) {
|
|
3117
3114
|
if (t === r.Completion.NORMAL)
|
|
3118
3115
|
throw TypeError("Should not unwind for NORMAL completions");
|
|
3119
|
-
e:
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3116
|
+
e: for (var o = this.stateStack; o.length > 0; o.pop()) {
|
|
3117
|
+
var u = o[o.length - 1];
|
|
3118
|
+
switch (u.node.type) {
|
|
3119
|
+
case "TryStatement":
|
|
3120
|
+
u.cv = { type: t, value: e, label: i };
|
|
3121
|
+
return;
|
|
3122
|
+
case "CallExpression":
|
|
3123
|
+
case "NewExpression":
|
|
3124
|
+
if (t === r.Completion.RETURN) {
|
|
3125
|
+
u.value = e;
|
|
3125
3126
|
return;
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
} else if (t === r.Completion.BREAK || t === r.Completion.CONTINUE)
|
|
3132
|
-
throw Error("Unsyntactic break/continue not rejected by Acorn");
|
|
3133
|
-
break;
|
|
3134
|
-
case "Program":
|
|
3135
|
-
if (t === r.Completion.RETURN)
|
|
3136
|
-
return;
|
|
3137
|
-
u.done = !0;
|
|
3138
|
-
break e;
|
|
3139
|
-
}
|
|
3140
|
-
if (t === r.Completion.BREAK) {
|
|
3141
|
-
if (i ? u.labels && u.labels.indexOf(i) !== -1 : u.isLoop || u.isSwitch) {
|
|
3142
|
-
o.pop();
|
|
3127
|
+
} else if (t === r.Completion.BREAK || t === r.Completion.CONTINUE)
|
|
3128
|
+
throw Error("Unsyntactic break/continue not rejected by Acorn");
|
|
3129
|
+
break;
|
|
3130
|
+
case "Program":
|
|
3131
|
+
if (t === r.Completion.RETURN)
|
|
3143
3132
|
return;
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
return;
|
|
3133
|
+
u.done = !0;
|
|
3134
|
+
break e;
|
|
3147
3135
|
}
|
|
3136
|
+
if (t === r.Completion.BREAK) {
|
|
3137
|
+
if (i ? u.labels && u.labels.indexOf(i) !== -1 : u.isLoop || u.isSwitch) {
|
|
3138
|
+
o.pop();
|
|
3139
|
+
return;
|
|
3140
|
+
}
|
|
3141
|
+
} else if (t === r.Completion.CONTINUE && (i ? u.labels && u.labels.indexOf(i) !== -1 : u.isLoop))
|
|
3142
|
+
return;
|
|
3143
|
+
}
|
|
3148
3144
|
var c;
|
|
3149
3145
|
if (this.isa(e, this.ERROR)) {
|
|
3150
3146
|
var a = {
|
|
@@ -3197,8 +3193,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3197
3193
|
else {
|
|
3198
3194
|
try {
|
|
3199
3195
|
_ = this.parse_(String(u), "taskCode" + this.taskCodeNumber_++);
|
|
3200
|
-
} catch (
|
|
3201
|
-
this.throwException(this.SYNTAX_ERROR, "Invalid code: " +
|
|
3196
|
+
} catch (D) {
|
|
3197
|
+
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + D.message);
|
|
3202
3198
|
}
|
|
3203
3199
|
a.type = "EvalProgram_", a.body = _.body;
|
|
3204
3200
|
var O = i.node.arguments[0], b = O ? O.start : void 0, P = O ? O.end : void 0;
|
|
@@ -3565,20 +3561,20 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3565
3561
|
} catch (j) {
|
|
3566
3562
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + j.message);
|
|
3567
3563
|
}
|
|
3568
|
-
var
|
|
3569
|
-
|
|
3564
|
+
var D = this.newNode();
|
|
3565
|
+
D.type = "EvalProgram_", D.body = I.body, r.stripLocations_(D, i.start, i.end);
|
|
3570
3566
|
var l = e.directEval_ ? e.scope : this.globalScope;
|
|
3571
|
-
return l.strict ? l = this.createScope(I, l) : this.populateScope_(I, l), this.value = void 0, new r.State(
|
|
3567
|
+
return l.strict ? l = this.createScope(I, l) : this.populateScope_(I, l), this.value = void 0, new r.State(D, l);
|
|
3572
3568
|
}
|
|
3573
3569
|
} else if (u.nativeFunc)
|
|
3574
3570
|
e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), e.value = u.nativeFunc.apply(e.funcThis_, e.arguments_);
|
|
3575
3571
|
else if (u.asyncFunc) {
|
|
3576
|
-
var X = this,
|
|
3572
|
+
var X = this, Se = function(ue) {
|
|
3577
3573
|
e.value = ue, X.paused_ = !1;
|
|
3578
3574
|
}, z = u.asyncFunc.length - 1, ve = e.arguments_.concat(
|
|
3579
3575
|
new Array(z)
|
|
3580
3576
|
).slice(0, z);
|
|
3581
|
-
ve.push(
|
|
3577
|
+
ve.push(Se), this.paused_ = !0, e.scope.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), u.asyncFunc.apply(e.funcThis_, ve);
|
|
3582
3578
|
return;
|
|
3583
3579
|
} else
|
|
3584
3580
|
this.throwException(
|
|
@@ -3632,42 +3628,41 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3632
3628
|
if (!e.doneObject_)
|
|
3633
3629
|
return e.doneObject_ = !0, e.variable_ || (e.variable_ = e.value), new r.State(i.right, e.scope);
|
|
3634
3630
|
if (e.isLoop || (e.isLoop = !0, e.object_ = e.value, e.visited_ = /* @__PURE__ */ Object.create(null)), e.name_ === void 0)
|
|
3635
|
-
e:
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3650
|
-
break e;
|
|
3651
|
-
}
|
|
3631
|
+
e: for (; ; ) {
|
|
3632
|
+
if (e.object_ instanceof r.Object)
|
|
3633
|
+
for (e.props_ || (e.props_ = Object.getOwnPropertyNames(e.object_.properties)); ; ) {
|
|
3634
|
+
var o = e.props_.shift();
|
|
3635
|
+
if (o === void 0)
|
|
3636
|
+
break;
|
|
3637
|
+
if (Object.prototype.hasOwnProperty.call(
|
|
3638
|
+
e.object_.properties,
|
|
3639
|
+
o
|
|
3640
|
+
) && !e.visited_[o] && (e.visited_[o] = !0, !!Object.prototype.propertyIsEnumerable.call(
|
|
3641
|
+
e.object_.properties,
|
|
3642
|
+
o
|
|
3643
|
+
))) {
|
|
3644
|
+
e.name_ = o;
|
|
3645
|
+
break e;
|
|
3652
3646
|
}
|
|
3653
|
-
|
|
3654
|
-
|
|
3655
|
-
|
|
3656
|
-
|
|
3657
|
-
|
|
3658
|
-
|
|
3659
|
-
|
|
3660
|
-
|
|
3661
|
-
|
|
3662
|
-
|
|
3663
|
-
|
|
3664
|
-
|
|
3647
|
+
}
|
|
3648
|
+
else if (e.object_ !== null && e.object_ !== void 0)
|
|
3649
|
+
for (e.props_ || (e.props_ = Object.getOwnPropertyNames(e.object_)); ; ) {
|
|
3650
|
+
var o = e.props_.shift();
|
|
3651
|
+
if (o === void 0)
|
|
3652
|
+
break;
|
|
3653
|
+
if (e.visited_[o] = !0, !!Object.prototype.propertyIsEnumerable.call(
|
|
3654
|
+
e.object_,
|
|
3655
|
+
o
|
|
3656
|
+
)) {
|
|
3657
|
+
e.name_ = o;
|
|
3658
|
+
break e;
|
|
3665
3659
|
}
|
|
3666
|
-
if (e.object_ = this.getPrototype(e.object_), e.props_ = null, e.object_ === null) {
|
|
3667
|
-
t.pop();
|
|
3668
|
-
return;
|
|
3669
3660
|
}
|
|
3661
|
+
if (e.object_ = this.getPrototype(e.object_), e.props_ = null, e.object_ === null) {
|
|
3662
|
+
t.pop();
|
|
3663
|
+
return;
|
|
3670
3664
|
}
|
|
3665
|
+
}
|
|
3671
3666
|
if (!e.doneVariable_) {
|
|
3672
3667
|
e.doneVariable_ = !0;
|
|
3673
3668
|
var u = i.left;
|
|
@@ -3981,12 +3976,12 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3981
3976
|
\********************************/
|
|
3982
3977
|
/***/
|
|
3983
3978
|
function(m, N) {
|
|
3984
|
-
(function(
|
|
3979
|
+
(function(T, r) {
|
|
3985
3980
|
return r(N);
|
|
3986
|
-
})(typeof globalThis > "u" ? this || window : globalThis, function(
|
|
3987
|
-
|
|
3981
|
+
})(typeof globalThis > "u" ? this || window : globalThis, function(T) {
|
|
3982
|
+
T.version = "0.5.0";
|
|
3988
3983
|
var r, t = "", e, i;
|
|
3989
|
-
|
|
3984
|
+
T.parse = function(f, h) {
|
|
3990
3985
|
return t = String(f), e = t.length, u(h), ui(), bi(r.program);
|
|
3991
3986
|
};
|
|
3992
3987
|
var o = {
|
|
@@ -4063,7 +4058,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4063
4058
|
break;
|
|
4064
4059
|
}
|
|
4065
4060
|
return { line: d, column: h - E };
|
|
4066
|
-
}, a = 0, l = 0, v = 0, _, O, b, P, I,
|
|
4061
|
+
}, a = 0, l = 0, v = 0, _, O, b, P, I, D, X, Se = 0, z = 0, ve, ue, j, W;
|
|
4067
4062
|
function x(f, h) {
|
|
4068
4063
|
var d = c(t, f);
|
|
4069
4064
|
h += " (" + d.line + ":" + d.column + ")";
|
|
@@ -4114,10 +4109,10 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4114
4109
|
return f < 48 ? f === 36 : f < 58 ? !0 : f < 65 ? !1 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && oi.test(String.fromCharCode(f));
|
|
4115
4110
|
};
|
|
4116
4111
|
function ce() {
|
|
4117
|
-
this.line =
|
|
4112
|
+
this.line = D, this.column = a - X;
|
|
4118
4113
|
}
|
|
4119
4114
|
function ui() {
|
|
4120
|
-
|
|
4115
|
+
D = 1, a = X = 0, I = !0, Ce();
|
|
4121
4116
|
}
|
|
4122
4117
|
function $(f, h) {
|
|
4123
4118
|
v = a, r.locations && (O = new ce()), b = f, Ce(), P = h, I = f.beforeExpr;
|
|
@@ -4127,7 +4122,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4127
4122
|
if (d === -1 && x(a - 2, "Unterminated comment"), a = d + 2, r.locations) {
|
|
4128
4123
|
He.lastIndex = h;
|
|
4129
4124
|
for (var E; (E = He.exec(t)) && E.index < a; )
|
|
4130
|
-
++
|
|
4125
|
+
++D, X = E.index + E[0].length;
|
|
4131
4126
|
}
|
|
4132
4127
|
r.onComment && r.onComment(
|
|
4133
4128
|
!0,
|
|
@@ -4158,9 +4153,9 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4158
4153
|
else if (f === 13) {
|
|
4159
4154
|
++a;
|
|
4160
4155
|
var h = t.charCodeAt(a);
|
|
4161
|
-
h === 10 && ++a, r.locations && (++
|
|
4156
|
+
h === 10 && ++a, r.locations && (++D, X = a);
|
|
4162
4157
|
} else if (f === 10 || f === 8232 || f === 8233)
|
|
4163
|
-
++a, r.locations && (++
|
|
4158
|
+
++a, r.locations && (++D, X = a);
|
|
4164
4159
|
else if (f > 8 && f < 14)
|
|
4165
4160
|
++a;
|
|
4166
4161
|
else if (f === 47) {
|
|
@@ -4169,8 +4164,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4169
4164
|
si();
|
|
4170
4165
|
else if (h === 47)
|
|
4171
4166
|
yt();
|
|
4172
|
-
else
|
|
4173
|
-
break;
|
|
4167
|
+
else break;
|
|
4174
4168
|
} else if (f === 160)
|
|
4175
4169
|
++a;
|
|
4176
4170
|
else if (f >= 5760 && ii.test(String.fromCharCode(f)))
|
|
@@ -4207,8 +4201,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4207
4201
|
return;
|
|
4208
4202
|
}
|
|
4209
4203
|
G(zn, 2);
|
|
4210
|
-
} else
|
|
4211
|
-
h === 61 ? G(se, 2) : G(ei, 1);
|
|
4204
|
+
} else h === 61 ? G(se, 2) : G(ei, 1);
|
|
4212
4205
|
}
|
|
4213
4206
|
function vi(f) {
|
|
4214
4207
|
var h = t.charCodeAt(a + 1), d = 1;
|
|
@@ -4252,8 +4245,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4252
4245
|
return ++a, $(fr);
|
|
4253
4246
|
case 48:
|
|
4254
4247
|
var h = t.charCodeAt(a + 1);
|
|
4255
|
-
if (h === 120 || h === 88)
|
|
4256
|
-
return gi();
|
|
4248
|
+
if (h === 120 || h === 88) return gi();
|
|
4257
4249
|
case 49:
|
|
4258
4250
|
case 50:
|
|
4259
4251
|
case 51:
|
|
@@ -4292,10 +4284,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4292
4284
|
return !1;
|
|
4293
4285
|
}
|
|
4294
4286
|
function ge(f) {
|
|
4295
|
-
if (f ? a = l + 1 : l = a, r.locations && (_ = new ce()), f)
|
|
4296
|
-
|
|
4297
|
-
if (a >= e)
|
|
4298
|
-
return $(ut);
|
|
4287
|
+
if (f ? a = l + 1 : l = a, r.locations && (_ = new ce()), f) return br();
|
|
4288
|
+
if (a >= e) return $(ut);
|
|
4299
4289
|
var h = t.charCodeAt(a);
|
|
4300
4290
|
if (Ke(h) || h === 92)
|
|
4301
4291
|
return Or();
|
|
@@ -4330,20 +4320,19 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4330
4320
|
}
|
|
4331
4321
|
var C = t.slice(d, a);
|
|
4332
4322
|
++a;
|
|
4333
|
-
var
|
|
4334
|
-
|
|
4323
|
+
var S = Rr();
|
|
4324
|
+
S && !/^[gmi]*$/.test(S) && x(d, "Invalid regexp flag");
|
|
4335
4325
|
try {
|
|
4336
|
-
var A = new RegExp(C,
|
|
4326
|
+
var A = new RegExp(C, S);
|
|
4337
4327
|
} catch (U) {
|
|
4338
4328
|
throw U instanceof SyntaxError && x(d, U.message), U;
|
|
4339
4329
|
}
|
|
4340
4330
|
$(Yt, A);
|
|
4341
4331
|
}
|
|
4342
4332
|
function Ae(f, h) {
|
|
4343
|
-
for (var d = a, E = 0, C = h === void 0 ? 1 / 0 : h,
|
|
4333
|
+
for (var d = a, E = 0, C = h === void 0 ? 1 / 0 : h, S = 0; S < C; ++S) {
|
|
4344
4334
|
var A = t.charCodeAt(a), U;
|
|
4345
|
-
if (A >= 97 ? U = A - 97 + 10 : A >= 65 ? U = A - 65 + 10 : A >= 48 && A <= 57 ? U = A - 48 : U = 1 / 0, U >= f)
|
|
4346
|
-
break;
|
|
4335
|
+
if (A >= 97 ? U = A - 97 + 10 : A >= 65 ? U = A - 65 + 10 : A >= 48 && A <= 57 ? U = A - 48 : U = 1 / 0, U >= f) break;
|
|
4347
4336
|
++a, E = E * f + U;
|
|
4348
4337
|
}
|
|
4349
4338
|
return a === d || h !== void 0 && a - d !== h ? null : E;
|
|
@@ -4358,8 +4347,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4358
4347
|
!f && Ae(10) === null && x(h, "Invalid number"), t.charCodeAt(a) === 46 && (++a, Ae(10), d = !0);
|
|
4359
4348
|
var C = t.charCodeAt(a);
|
|
4360
4349
|
(C === 69 || C === 101) && (C = t.charCodeAt(++a), (C === 43 || C === 45) && ++a, Ae(10) === null && x(h, "Invalid number"), d = !0), Ke(t.charCodeAt(a)) && x(a, "Identifier directly after number");
|
|
4361
|
-
var
|
|
4362
|
-
d ? A = parseFloat(
|
|
4350
|
+
var S = t.slice(h, a), A;
|
|
4351
|
+
d ? A = parseFloat(S) : !E || S.length === 1 ? A = parseInt(S, 10) : /[89]/.test(S) || W ? x(h, "Invalid number") : A = parseInt(S, 8), $(Ye, A);
|
|
4363
4352
|
}
|
|
4364
4353
|
function _i(f) {
|
|
4365
4354
|
a++;
|
|
@@ -4413,7 +4402,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4413
4402
|
case 13:
|
|
4414
4403
|
t.charCodeAt(a) === 10 && ++a;
|
|
4415
4404
|
case 10:
|
|
4416
|
-
r.locations && (X = a, ++
|
|
4405
|
+
r.locations && (X = a, ++D);
|
|
4417
4406
|
break;
|
|
4418
4407
|
default:
|
|
4419
4408
|
h += String.fromCharCode(d);
|
|
@@ -4437,8 +4426,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4437
4426
|
_e && (f += t.charAt(a)), ++a;
|
|
4438
4427
|
else if (E === 92) {
|
|
4439
4428
|
_e || (f = t.slice(d, a)), _e = !0, t.charCodeAt(++a) !== 117 && x(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
4440
|
-
var C = qe(4),
|
|
4441
|
-
|
|
4429
|
+
var C = qe(4), S = String.fromCharCode(C);
|
|
4430
|
+
S || x(a - 1, "Invalid Unicode escape"), (h ? Ke(C) : _r(C)) || x(a - 4, "Invalid Unicode escape"), f += S;
|
|
4442
4431
|
} else
|
|
4443
4432
|
break;
|
|
4444
4433
|
h = !1;
|
|
@@ -4450,28 +4439,28 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4450
4439
|
!_e && ni(f) && (h = Wn[f]), $(h, f);
|
|
4451
4440
|
}
|
|
4452
4441
|
function k() {
|
|
4453
|
-
|
|
4442
|
+
Se = l, z = v, ve = O, ge();
|
|
4454
4443
|
}
|
|
4455
4444
|
function Et(f) {
|
|
4456
4445
|
if (W = f, a = l, r.locations)
|
|
4457
4446
|
for (; a < X; )
|
|
4458
4447
|
X = t.lastIndexOf(`
|
|
4459
|
-
`, X - 2) + 1, --
|
|
4448
|
+
`, X - 2) + 1, --D;
|
|
4460
4449
|
Ce(), ge();
|
|
4461
4450
|
}
|
|
4462
4451
|
function Nr() {
|
|
4463
4452
|
this.type = null, this.start = l, this.end = null;
|
|
4464
4453
|
}
|
|
4465
|
-
function
|
|
4454
|
+
function Tr() {
|
|
4466
4455
|
this.start = _, this.end = null, i && (this.source = i);
|
|
4467
4456
|
}
|
|
4468
4457
|
function V() {
|
|
4469
4458
|
var f = new Nr();
|
|
4470
|
-
return r.locations && (f.loc = new
|
|
4459
|
+
return r.locations && (f.loc = new Tr()), r.directSourceFile && (f.sourceFile = r.directSourceFile), r.ranges && (f.range = [l, 0]), f;
|
|
4471
4460
|
}
|
|
4472
4461
|
function ne(f) {
|
|
4473
4462
|
var h = new Nr();
|
|
4474
|
-
return h.start = f.start, r.locations && (h.loc = new
|
|
4463
|
+
return h.start = f.start, r.locations && (h.loc = new Tr(), h.loc.start = f.loc.start), r.ranges && (h.range = [f.range[0], 0]), h;
|
|
4475
4464
|
}
|
|
4476
4465
|
function w(f, h) {
|
|
4477
4466
|
return f.type = h, f.end = z, r.locations && (f.loc.end = ve), r.ranges && (f.range[1] = z), f;
|
|
@@ -4498,7 +4487,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4498
4487
|
f.type !== "Identifier" && f.type !== "MemberExpression" && x(f.start, "Assigning to rvalue"), W && f.type === "Identifier" && ze(f.name) && x(f.start, "Assigning to " + f.name + " in strict mode");
|
|
4499
4488
|
}
|
|
4500
4489
|
function bi(f) {
|
|
4501
|
-
|
|
4490
|
+
Se = z = a, r.locations && (ve = new ce()), ue = W = !1, j = [], ge();
|
|
4502
4491
|
var h = f || V(), d = !0;
|
|
4503
4492
|
for (f || (h.body = []); b !== ut; ) {
|
|
4504
4493
|
var E = J();
|
|
@@ -4527,16 +4516,15 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4527
4516
|
case Ht:
|
|
4528
4517
|
return k(), j.push(_t), h.body = J(), j.pop(), B(ht), h.test = xe(), fe(), w(h, "DoWhileStatement");
|
|
4529
4518
|
case Zt:
|
|
4530
|
-
if (k(), j.push(_t), B(q), b === Z)
|
|
4531
|
-
return bt(h, null);
|
|
4519
|
+
if (k(), j.push(_t), B(q), b === Z) return bt(h, null);
|
|
4532
4520
|
if (b === pt) {
|
|
4533
|
-
var
|
|
4534
|
-
return k(), Pr(
|
|
4521
|
+
var S = V();
|
|
4522
|
+
return k(), Pr(S, !0), w(S, "VariableDeclaration"), S.declarations.length === 1 && M(Xe) ? Sr(h, S) : bt(h, S);
|
|
4535
4523
|
}
|
|
4536
|
-
var
|
|
4537
|
-
return M(Xe) ? (Qe(
|
|
4524
|
+
var S = Y(!1, !0);
|
|
4525
|
+
return M(Xe) ? (Qe(S), Sr(h, S)) : bt(h, S);
|
|
4538
4526
|
case ft:
|
|
4539
|
-
return k(),
|
|
4527
|
+
return k(), Tt(h, !0);
|
|
4540
4528
|
case Qt:
|
|
4541
4529
|
return k(), h.test = xe(), h.consequent = J(), h.alternate = M(Kt) ? J() : null, w(h, "IfStatement");
|
|
4542
4530
|
case er:
|
|
@@ -4545,8 +4533,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4545
4533
|
k(), h.discriminant = xe(), h.cases = [], B(Pe), j.push(mi);
|
|
4546
4534
|
for (var A, U; b !== Ee; )
|
|
4547
4535
|
if (b === ct || b === Jt) {
|
|
4548
|
-
var
|
|
4549
|
-
A && w(A, "SwitchCase"), h.cases.push(A = V()), A.consequent = [], k(),
|
|
4536
|
+
var De = b === ct;
|
|
4537
|
+
A && w(A, "SwitchCase"), h.cases.push(A = V()), A.consequent = [], k(), De ? A.test = Y() : (U && x(Se, "Multiple default clauses"), U = !0, A.test = null), B(we);
|
|
4550
4538
|
} else
|
|
4551
4539
|
A || Q(), A.consequent.push(J());
|
|
4552
4540
|
return A && w(A, "SwitchCase"), k(), j.pop(), w(h, "SwitchStatement");
|
|
@@ -4587,30 +4575,28 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4587
4575
|
function Ie(f) {
|
|
4588
4576
|
var h = V(), d = !0, E = !1, C;
|
|
4589
4577
|
for (h.body = [], B(Pe); !M(Ee); ) {
|
|
4590
|
-
var
|
|
4591
|
-
h.body.push(
|
|
4578
|
+
var S = J();
|
|
4579
|
+
h.body.push(S), d && f && gt(S) && (C = E, Et(E = !0)), d = !1;
|
|
4592
4580
|
}
|
|
4593
4581
|
return E && !C && Et(!1), w(h, "BlockStatement");
|
|
4594
4582
|
}
|
|
4595
4583
|
function bt(f, h) {
|
|
4596
4584
|
return f.init = h, B(Z), f.test = b === Z ? null : Y(), B(Z), f.update = b === H ? null : Y(), B(H), f.body = J(), j.pop(), w(f, "ForStatement");
|
|
4597
4585
|
}
|
|
4598
|
-
function
|
|
4586
|
+
function Sr(f, h) {
|
|
4599
4587
|
return f.left = h, f.right = Y(), B(H), f.body = J(), j.pop(), w(f, "ForInStatement");
|
|
4600
4588
|
}
|
|
4601
4589
|
function Pr(f, h) {
|
|
4602
4590
|
for (f.declarations = [], f.kind = "var"; ; ) {
|
|
4603
4591
|
var d = V();
|
|
4604
|
-
if (d.id = ie(), W && ze(d.id.name) && x(d.id.start, "Binding " + d.id.name + " in strict mode"), d.init = M(pr) ? Y(!0, h) : null, f.declarations.push(w(d, "VariableDeclarator")), !M(re))
|
|
4605
|
-
break;
|
|
4592
|
+
if (d.id = ie(), W && ze(d.id.name) && x(d.id.start, "Binding " + d.id.name + " in strict mode"), d.init = M(pr) ? Y(!0, h) : null, f.declarations.push(w(d, "VariableDeclarator")), !M(re)) break;
|
|
4606
4593
|
}
|
|
4607
4594
|
}
|
|
4608
4595
|
function Y(f, h) {
|
|
4609
4596
|
var d = mt(h);
|
|
4610
4597
|
if (!f && b === re) {
|
|
4611
4598
|
var E = ne(d);
|
|
4612
|
-
for (E.expressions = [d]; M(re); )
|
|
4613
|
-
E.expressions.push(mt(h));
|
|
4599
|
+
for (E.expressions = [d]; M(re); ) E.expressions.push(mt(h));
|
|
4614
4600
|
return w(E, "SequenceExpression");
|
|
4615
4601
|
}
|
|
4616
4602
|
return d;
|
|
@@ -4639,9 +4625,9 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4639
4625
|
if (E !== null && (!d || b !== Xe) && E > h) {
|
|
4640
4626
|
var C = ne(f);
|
|
4641
4627
|
C.left = f, C.operator = P;
|
|
4642
|
-
var
|
|
4628
|
+
var S = b;
|
|
4643
4629
|
k(), C.right = Rt(Ot(), E, d);
|
|
4644
|
-
var A = w(C,
|
|
4630
|
+
var A = w(C, S === dr || S === vr ? "LogicalExpression" : "BinaryExpression");
|
|
4645
4631
|
return Rt(A, h, d);
|
|
4646
4632
|
}
|
|
4647
4633
|
return f;
|
|
@@ -4662,7 +4648,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4662
4648
|
}
|
|
4663
4649
|
function ke(f, h) {
|
|
4664
4650
|
var d;
|
|
4665
|
-
return M(cr) ? (d = ne(f), d.object = f, d.property = ie(!0), d.computed = !1, ke(w(d, "MemberExpression"), h)) : M(dt) ? (d = ne(f), d.object = f, d.property = Y(), d.computed = !0, B(vt), ke(w(d, "MemberExpression"), h)) : !h && M(q) ? (d = ne(f), d.callee = f, d.arguments =
|
|
4651
|
+
return M(cr) ? (d = ne(f), d.object = f, d.property = ie(!0), d.computed = !1, ke(w(d, "MemberExpression"), h)) : M(dt) ? (d = ne(f), d.object = f, d.property = Y(), d.computed = !0, B(vt), ke(w(d, "MemberExpression"), h)) : !h && M(q) ? (d = ne(f), d.callee = f, d.arguments = St(H, !1), ke(w(d, "CallExpression"), h)) : f;
|
|
4666
4652
|
}
|
|
4667
4653
|
function Nt() {
|
|
4668
4654
|
var f;
|
|
@@ -4685,34 +4671,34 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4685
4671
|
var E = Y();
|
|
4686
4672
|
return E.start = d, E.end = v, r.locations && (E.loc.start = h, E.loc.end = O), r.ranges && (E.range = [d, v]), B(H), E;
|
|
4687
4673
|
case dt:
|
|
4688
|
-
return f = V(), k(), f.elements =
|
|
4674
|
+
return f = V(), k(), f.elements = St(vt, !0, !0), w(f, "ArrayExpression");
|
|
4689
4675
|
case Pe:
|
|
4690
|
-
return
|
|
4676
|
+
return Si();
|
|
4691
4677
|
case ft:
|
|
4692
|
-
return f = V(), k(),
|
|
4678
|
+
return f = V(), k(), Tt(f, !1);
|
|
4693
4679
|
case ir:
|
|
4694
|
-
return
|
|
4680
|
+
return Ti();
|
|
4695
4681
|
}
|
|
4696
4682
|
Q();
|
|
4697
4683
|
}
|
|
4698
|
-
function
|
|
4684
|
+
function Ti() {
|
|
4699
4685
|
var f = V();
|
|
4700
|
-
return k(), f.callee = ke(Nt(), !0), f.arguments = M(q) ?
|
|
4686
|
+
return k(), f.callee = ke(Nt(), !0), f.arguments = M(q) ? St(H, !1) : Xn, w(f, "NewExpression");
|
|
4701
4687
|
}
|
|
4702
|
-
function
|
|
4688
|
+
function Si() {
|
|
4703
4689
|
var f = V(), h = !0, d = !1;
|
|
4704
4690
|
for (f.properties = [], k(); !M(Ee); ) {
|
|
4705
4691
|
if (h)
|
|
4706
4692
|
h = !1;
|
|
4707
4693
|
else if (B(re), r.allowTrailingCommas && M(Ee))
|
|
4708
4694
|
break;
|
|
4709
|
-
var E = { key: wr() }, C = !1,
|
|
4710
|
-
if (M(we) ? (E.value = Y(!0),
|
|
4695
|
+
var E = { key: wr() }, C = !1, S;
|
|
4696
|
+
if (M(we) ? (E.value = Y(!0), S = E.kind = "init") : E.key.type === "Identifier" && (E.key.name === "get" || E.key.name === "set") ? (C = d = !0, S = E.kind = E.key.name, E.key = wr(), b !== q && Q(), E.value = Tt(V(), !1)) : Q(), E.key.type === "Identifier" && (W || d))
|
|
4711
4697
|
for (var A = 0; A < f.properties.length; ++A) {
|
|
4712
4698
|
var U = f.properties[A];
|
|
4713
4699
|
if (U.key.name === E.key.name) {
|
|
4714
|
-
var
|
|
4715
|
-
|
|
4700
|
+
var De = S === U.kind || C && U.kind === "init" || S === "init" && (U.kind === "get" || U.kind === "set");
|
|
4701
|
+
De && !W && S === "init" && U.kind === "init" && (De = !1), De && x(E.key.start, "Redefinition of property");
|
|
4716
4702
|
}
|
|
4717
4703
|
}
|
|
4718
4704
|
f.properties.push(E);
|
|
@@ -4722,22 +4708,22 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4722
4708
|
function wr() {
|
|
4723
4709
|
return b === Ye || b === ot ? Nt() : ie(!0);
|
|
4724
4710
|
}
|
|
4725
|
-
function
|
|
4711
|
+
function Tt(f, h) {
|
|
4726
4712
|
b === ye ? f.id = ie() : h ? Q() : f.id = null, f.params = [];
|
|
4727
4713
|
var d = !0;
|
|
4728
4714
|
for (B(q); !M(H); )
|
|
4729
4715
|
d ? d = !1 : B(re), f.params.push(ie());
|
|
4730
4716
|
var E = ue, C = j;
|
|
4731
4717
|
if (ue = !0, j = [], f.body = Ie(!0), ue = E, j = C, W || f.body.body.length && gt(f.body.body[0]))
|
|
4732
|
-
for (var
|
|
4733
|
-
var A =
|
|
4734
|
-
if ((yr(A.name) || ze(A.name)) && x(A.start, "Defining '" + A.name + "' in strict mode"),
|
|
4735
|
-
for (var U = 0; U <
|
|
4718
|
+
for (var S = f.id ? -1 : 0; S < f.params.length; ++S) {
|
|
4719
|
+
var A = S < 0 ? f.id : f.params[S];
|
|
4720
|
+
if ((yr(A.name) || ze(A.name)) && x(A.start, "Defining '" + A.name + "' in strict mode"), S >= 0)
|
|
4721
|
+
for (var U = 0; U < S; ++U)
|
|
4736
4722
|
A.name === f.params[U].name && x(A.start, "Argument name clash in strict mode");
|
|
4737
4723
|
}
|
|
4738
4724
|
return w(f, h ? "FunctionDeclaration" : "FunctionExpression");
|
|
4739
4725
|
}
|
|
4740
|
-
function
|
|
4726
|
+
function St(f, h, d) {
|
|
4741
4727
|
for (var E = [], C = !0; !M(f); ) {
|
|
4742
4728
|
if (C)
|
|
4743
4729
|
C = !1;
|
|
@@ -4770,7 +4756,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4770
4756
|
var N = y[m];
|
|
4771
4757
|
if (N !== void 0)
|
|
4772
4758
|
return N.exports;
|
|
4773
|
-
var
|
|
4759
|
+
var T = y[m] = {
|
|
4774
4760
|
/******/
|
|
4775
4761
|
// no module.id needed
|
|
4776
4762
|
/******/
|
|
@@ -4779,11 +4765,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4779
4765
|
exports: {}
|
|
4780
4766
|
/******/
|
|
4781
4767
|
};
|
|
4782
|
-
return p[m].call(
|
|
4768
|
+
return p[m].call(T.exports, T, T.exports, g), T.exports;
|
|
4783
4769
|
}
|
|
4784
4770
|
g.d = (m, N) => {
|
|
4785
|
-
for (var
|
|
4786
|
-
g.o(N,
|
|
4771
|
+
for (var T in N)
|
|
4772
|
+
g.o(N, T) && !g.o(m, T) && Object.defineProperty(m, T, { enumerable: !0, get: N[T] });
|
|
4787
4773
|
}, g.o = (m, N) => Object.prototype.hasOwnProperty.call(m, N), g.r = (m) => {
|
|
4788
4774
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
|
|
4789
4775
|
};
|
|
@@ -4794,7 +4780,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4794
4780
|
\*******************************/
|
|
4795
4781
|
g.r(R), g.d(R, {
|
|
4796
4782
|
/* harmony export */
|
|
4797
|
-
default: () =>
|
|
4783
|
+
default: () => T
|
|
4798
4784
|
/* harmony export */
|
|
4799
4785
|
});
|
|
4800
4786
|
const m = g(
|
|
@@ -4805,7 +4791,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4805
4791
|
const { Interpreter: N } = g(
|
|
4806
4792
|
/*! ../original-repo/interpreter */
|
|
4807
4793
|
"./original-repo/interpreter.js"
|
|
4808
|
-
),
|
|
4794
|
+
), T = N;
|
|
4809
4795
|
})(), R = R.default, R;
|
|
4810
4796
|
})()
|
|
4811
4797
|
));
|
|
@@ -4920,9 +4906,9 @@ function Ws(n, s, p) {
|
|
|
4920
4906
|
}
|
|
4921
4907
|
}
|
|
4922
4908
|
}
|
|
4923
|
-
function
|
|
4909
|
+
function T(t, e, i) {
|
|
4924
4910
|
const o = s.pseudoToNative(t), u = s.pseudoToNative(e);
|
|
4925
|
-
|
|
4911
|
+
Li({ title: o, text: u }).then((c) => {
|
|
4926
4912
|
i(s.nativeToPseudo(c)), s.run();
|
|
4927
4913
|
});
|
|
4928
4914
|
}
|
|
@@ -4951,7 +4937,7 @@ function Ws(n, s, p) {
|
|
|
4951
4937
|
), s.setProperty(
|
|
4952
4938
|
p,
|
|
4953
4939
|
"__openConfirmDlgV1__",
|
|
4954
|
-
s.createAsyncFunction(
|
|
4940
|
+
s.createAsyncFunction(T)
|
|
4955
4941
|
), s.setProperty(
|
|
4956
4942
|
p,
|
|
4957
4943
|
"__openPromptDlgV1__",
|
|
@@ -5063,13 +5049,13 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5063
5049
|
outer: { type: Boolean }
|
|
5064
5050
|
},
|
|
5065
5051
|
setup(n) {
|
|
5066
|
-
const { t: s } =
|
|
5052
|
+
const { t: s } = Fi(), p = n, y = Os(), g = Ps(), R = ws(), m = Cs(), N = Cr();
|
|
5067
5053
|
Ii(() => {
|
|
5068
5054
|
N.value = m[p.refContext.refid];
|
|
5069
5055
|
});
|
|
5070
|
-
const
|
|
5071
|
-
As(
|
|
5072
|
-
a || Mi.emit("compNotAvail", p.refContext.refid),
|
|
5056
|
+
const T = Cr();
|
|
5057
|
+
As(T), ki(N, (a) => {
|
|
5058
|
+
a || Mi.emit("compNotAvail", p.refContext.refid), T.value && (nn(T.value), T.value = void 0), a && (T.value = qs(
|
|
5073
5059
|
{
|
|
5074
5060
|
env: y,
|
|
5075
5061
|
type: g,
|
|
@@ -5077,10 +5063,10 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5077
5063
|
},
|
|
5078
5064
|
a.data.code.main.script
|
|
5079
5065
|
));
|
|
5080
|
-
}),
|
|
5081
|
-
|
|
5066
|
+
}), Di(() => {
|
|
5067
|
+
T.value && (nn(T.value), T.value = void 0);
|
|
5082
5068
|
});
|
|
5083
|
-
const { applySize: r } =
|
|
5069
|
+
const { applySize: r } = Fs(p), t = le(() => {
|
|
5084
5070
|
const a = {};
|
|
5085
5071
|
switch (R.type) {
|
|
5086
5072
|
case "common":
|
|
@@ -5107,7 +5093,7 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5107
5093
|
function o(a) {
|
|
5108
5094
|
const l = cn[R.version].refKey, v = rt[l];
|
|
5109
5095
|
let _;
|
|
5110
|
-
return v ? _ =
|
|
5096
|
+
return v ? _ = Fe(v.comp, {
|
|
5111
5097
|
refContext: {
|
|
5112
5098
|
parent: p.refContext,
|
|
5113
5099
|
refid: a.ref.id
|
|
@@ -5121,12 +5107,12 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5121
5107
|
const v = rt[a.key];
|
|
5122
5108
|
return v ? ((_ = a.children) == null || _.forEach((O) => {
|
|
5123
5109
|
i(O);
|
|
5124
|
-
}), l =
|
|
5110
|
+
}), l = Fe(v.comp, { node: a })) : console.assert(!1, `invalid element config key=${a.key}`), l;
|
|
5125
5111
|
}
|
|
5126
5112
|
const c = () => {
|
|
5127
5113
|
const a = [];
|
|
5128
5114
|
if (e())
|
|
5129
|
-
a.push(
|
|
5115
|
+
a.push(Fe("div", s("circularRef")));
|
|
5130
5116
|
else if (N.value) {
|
|
5131
5117
|
const l = N.value.data.type;
|
|
5132
5118
|
l === "common" ? N.value.data.view.nodes.forEach((v) => {
|
|
@@ -5134,8 +5120,8 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5134
5120
|
a.push(_);
|
|
5135
5121
|
}) : console.assert(!1, `invalid data type dataType=${l}`);
|
|
5136
5122
|
} else
|
|
5137
|
-
a.push(
|
|
5138
|
-
return
|
|
5123
|
+
a.push(Fe("div", s("compNotAvail")));
|
|
5124
|
+
return Fe("div", { id: p.id, style: t.value }, a);
|
|
5139
5125
|
};
|
|
5140
5126
|
return (a, l) => (un(), sn(c));
|
|
5141
5127
|
}
|
|
@@ -5261,16 +5247,23 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5261
5247
|
}, rt = {
|
|
5262
5248
|
// basic
|
|
5263
5249
|
btn_v1: ks,
|
|
5264
|
-
globality_v1:
|
|
5250
|
+
globality_v1: Ds,
|
|
5265
5251
|
ref_v1: tc
|
|
5266
|
-
}, rc = (n, s) => {
|
|
5267
|
-
const
|
|
5268
|
-
return
|
|
5269
|
-
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
5252
|
+
}, rc = (n, s, p) => {
|
|
5253
|
+
const y = n[s];
|
|
5254
|
+
return y ? typeof y == "function" ? y() : Promise.resolve(y) : new Promise((g, R) => {
|
|
5255
|
+
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
5256
|
+
R.bind(
|
|
5257
|
+
null,
|
|
5258
|
+
new Error(
|
|
5259
|
+
"Unknown variable dynamic import: " + s + (s.split("/").length !== p ? ". Note that variables only represent file names one level deep." : "")
|
|
5260
|
+
)
|
|
5261
|
+
)
|
|
5262
|
+
);
|
|
5270
5263
|
});
|
|
5271
5264
|
};
|
|
5272
5265
|
async function gc(n) {
|
|
5273
|
-
return (await rc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./en-kzjkkzqt.js"), "./locales/zhHans/index.ts": () => import("./zhHans-gscwf2xh.js") }), `./locales/${n}/index.ts
|
|
5266
|
+
return (await rc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./en-kzjkkzqt.js"), "./locales/zhHans/index.ts": () => import("./zhHans-gscwf2xh.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
5274
5267
|
}
|
|
5275
5268
|
export {
|
|
5276
5269
|
cc as duplicateNode,
|
|
@@ -5280,10 +5273,10 @@ export {
|
|
|
5280
5273
|
Qr as getPropDefault,
|
|
5281
5274
|
ms as getPropTag,
|
|
5282
5275
|
en as initProps,
|
|
5283
|
-
|
|
5276
|
+
Ss as injectDark,
|
|
5284
5277
|
ws as injectData,
|
|
5285
5278
|
Cs as injectDepends,
|
|
5286
|
-
|
|
5279
|
+
Ts as injectDevice,
|
|
5287
5280
|
Os as injectEnv,
|
|
5288
5281
|
Ec as injectInterpreter,
|
|
5289
5282
|
Ns as injectMode,
|