x-runtime-lib 0.4.4 → 0.4.5
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/i18n/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function
|
|
1
|
+
export declare function loadLocaleMessageRuntime(locale: string): Promise<object>;
|
package/dist/index.js
CHANGED
|
@@ -68,8 +68,8 @@ function Ji(n) {
|
|
|
68
68
|
var y = !0;
|
|
69
69
|
} catch {
|
|
70
70
|
}
|
|
71
|
-
var
|
|
72
|
-
return y && (s ? n[Ue] = p : delete n[Ue]),
|
|
71
|
+
var _ = zi.call(n);
|
|
72
|
+
return y && (s ? n[Ue] = p : delete n[Ue]), _;
|
|
73
73
|
}
|
|
74
74
|
var Hi = Object.prototype, Ki = Hi.toString;
|
|
75
75
|
function qi(n) {
|
|
@@ -157,15 +157,15 @@ var Dr = function() {
|
|
|
157
157
|
} catch {
|
|
158
158
|
}
|
|
159
159
|
}();
|
|
160
|
-
function
|
|
160
|
+
function _a(n, s) {
|
|
161
161
|
for (var p = -1, y = n == null ? 0 : n.length; ++p < y && s(n[p], p, n) !== !1; )
|
|
162
162
|
;
|
|
163
163
|
return n;
|
|
164
164
|
}
|
|
165
|
-
var
|
|
165
|
+
var ga = 9007199254740991, ba = /^(?:0|[1-9]\d*)$/;
|
|
166
166
|
function ma(n, s) {
|
|
167
167
|
var p = typeof n;
|
|
168
|
-
return s = s ??
|
|
168
|
+
return s = s ?? ga, !!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
171
|
s == "__proto__" && Dr ? Dr(n, s, {
|
|
@@ -184,11 +184,11 @@ function yn(n, s, p) {
|
|
|
184
184
|
(!(Oa.call(n, s) && vn(y, p)) || p === void 0 && !(s in n)) && dn(n, s, p);
|
|
185
185
|
}
|
|
186
186
|
function nt(n, s, p, y) {
|
|
187
|
-
var
|
|
187
|
+
var _ = !p;
|
|
188
188
|
p || (p = {});
|
|
189
189
|
for (var R = -1, m = s.length; ++R < m; ) {
|
|
190
190
|
var N = s[R], T = void 0;
|
|
191
|
-
T === void 0 && (T = n[N]),
|
|
191
|
+
T === void 0 && (T = n[N]), _ ? dn(p, N, T) : yn(p, N, T);
|
|
192
192
|
}
|
|
193
193
|
return p;
|
|
194
194
|
}
|
|
@@ -196,7 +196,7 @@ var Na = 9007199254740991;
|
|
|
196
196
|
function En(n) {
|
|
197
197
|
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= Na;
|
|
198
198
|
}
|
|
199
|
-
function
|
|
199
|
+
function _n(n) {
|
|
200
200
|
return n != null && En(n.length) && !hn(n);
|
|
201
201
|
}
|
|
202
202
|
var Ta = Object.prototype;
|
|
@@ -213,7 +213,7 @@ var Pa = "[object Arguments]";
|
|
|
213
213
|
function Fr(n) {
|
|
214
214
|
return Ve(n) && Ge(n) == Pa;
|
|
215
215
|
}
|
|
216
|
-
var
|
|
216
|
+
var gn = Object.prototype, wa = gn.hasOwnProperty, Ca = gn.propertyIsEnumerable, Aa = Fr(/* @__PURE__ */ function() {
|
|
217
217
|
return arguments;
|
|
218
218
|
}()) ? Fr : function(n) {
|
|
219
219
|
return Ve(n) && wa.call(n, "callee") && !Ca.call(n, "callee");
|
|
@@ -240,11 +240,11 @@ 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),
|
|
243
|
+
var p = Ut(n), y = !p && Aa(n), _ = !p && !y && mn(n), R = !p && !y && !_ && oo(n), m = p || y || _ || 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
|
+
_ && (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
249
|
ma(r, T))) && N.push(r);
|
|
250
250
|
return N;
|
|
@@ -264,7 +264,7 @@ function po(n) {
|
|
|
264
264
|
return s;
|
|
265
265
|
}
|
|
266
266
|
function Bt(n) {
|
|
267
|
-
return
|
|
267
|
+
return _n(n) ? On(n) : po(n);
|
|
268
268
|
}
|
|
269
269
|
function ho(n) {
|
|
270
270
|
var s = [];
|
|
@@ -283,13 +283,13 @@ function Eo(n) {
|
|
|
283
283
|
return p;
|
|
284
284
|
}
|
|
285
285
|
function $t(n) {
|
|
286
|
-
return
|
|
286
|
+
return _n(n) ? On(n, !0) : Eo(n);
|
|
287
287
|
}
|
|
288
288
|
var je = de(Object, "create");
|
|
289
|
-
function
|
|
289
|
+
function _o() {
|
|
290
290
|
this.__data__ = je ? je(null) : {}, this.size = 0;
|
|
291
291
|
}
|
|
292
|
-
function
|
|
292
|
+
function go(n) {
|
|
293
293
|
var s = this.has(n) && delete this.__data__[n];
|
|
294
294
|
return this.size -= s ? 1 : 0, s;
|
|
295
295
|
}
|
|
@@ -319,8 +319,8 @@ function pe(n) {
|
|
|
319
319
|
this.set(y[0], y[1]);
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
|
-
pe.prototype.clear =
|
|
323
|
-
pe.prototype.delete =
|
|
322
|
+
pe.prototype.clear = _o;
|
|
323
|
+
pe.prototype.delete = go;
|
|
324
324
|
pe.prototype.get = Oo;
|
|
325
325
|
pe.prototype.has = So;
|
|
326
326
|
pe.prototype.set = wo;
|
|
@@ -407,8 +407,8 @@ Te.prototype.get = jo;
|
|
|
407
407
|
Te.prototype.has = Bo;
|
|
408
408
|
Te.prototype.set = $o;
|
|
409
409
|
function Tn(n, s) {
|
|
410
|
-
for (var p = -1, y = s.length,
|
|
411
|
-
n[
|
|
410
|
+
for (var p = -1, y = s.length, _ = n.length; ++p < y; )
|
|
411
|
+
n[_ + p] = s[p];
|
|
412
412
|
return n;
|
|
413
413
|
}
|
|
414
414
|
var Sn = Nn(Object.getPrototypeOf, Object);
|
|
@@ -459,9 +459,9 @@ function qo(n, s) {
|
|
|
459
459
|
return n.copy(y), y;
|
|
460
460
|
}
|
|
461
461
|
function Zo(n, s) {
|
|
462
|
-
for (var p = -1, y = n == null ? 0 : n.length,
|
|
462
|
+
for (var p = -1, y = n == null ? 0 : n.length, _ = 0, R = []; ++p < y; ) {
|
|
463
463
|
var m = n[p];
|
|
464
|
-
s(m, p, n) && (R[
|
|
464
|
+
s(m, p, n) && (R[_++] = m);
|
|
465
465
|
}
|
|
466
466
|
return R;
|
|
467
467
|
}
|
|
@@ -532,10 +532,10 @@ function Eu(n) {
|
|
|
532
532
|
return s.lastIndex = n.lastIndex, s;
|
|
533
533
|
}
|
|
534
534
|
var Hr = Re ? Re.prototype : void 0, Kr = Hr ? Hr.valueOf : void 0;
|
|
535
|
-
function
|
|
535
|
+
function _u(n) {
|
|
536
536
|
return Kr ? Object(Kr.call(n)) : {};
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function gu(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
|
}
|
|
@@ -559,7 +559,7 @@ function ju(n, s, p) {
|
|
|
559
559
|
case Lu:
|
|
560
560
|
case Uu:
|
|
561
561
|
case Mu:
|
|
562
|
-
return
|
|
562
|
+
return gu(n, p);
|
|
563
563
|
case Ru:
|
|
564
564
|
return new y();
|
|
565
565
|
case Ou:
|
|
@@ -570,7 +570,7 @@ function ju(n, s, p) {
|
|
|
570
570
|
case Tu:
|
|
571
571
|
return new y();
|
|
572
572
|
case Pu:
|
|
573
|
-
return
|
|
573
|
+
return _u(n);
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
function Bu(n) {
|
|
@@ -584,10 +584,10 @@ var qr = Oe && Oe.isMap, Vu = qr ? jt(qr) : Gu, Yu = "[object Set]";
|
|
|
584
584
|
function Xu(n) {
|
|
585
585
|
return Ve(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]",
|
|
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[
|
|
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]", _s = "[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[_s] = !0;
|
|
589
589
|
F[Qu] = F[In] = F[us] = !1;
|
|
590
|
-
function rt(n, s, p, y,
|
|
590
|
+
function rt(n, s, p, y, _, R) {
|
|
591
591
|
var m, N = s & zu, T = s & Ju, r = s & Hu;
|
|
592
592
|
if (m !== void 0)
|
|
593
593
|
return m;
|
|
@@ -601,12 +601,12 @@ function rt(n, s, p, y, g, R) {
|
|
|
601
601
|
var e = ee(n), i = e == In || e == es;
|
|
602
602
|
if (mn(n))
|
|
603
603
|
return qo(n, N);
|
|
604
|
-
if (e == kn || e == xn || i && !
|
|
604
|
+
if (e == kn || e == xn || i && !_) {
|
|
605
605
|
if (m = T || i ? {} : Bu(n), !N)
|
|
606
606
|
return T ? nu(n, Ho(m, n)) : tu(n, Jo(m, n));
|
|
607
607
|
} else {
|
|
608
608
|
if (!F[e])
|
|
609
|
-
return
|
|
609
|
+
return _ ? n : {};
|
|
610
610
|
m = ju(n, e, N);
|
|
611
611
|
}
|
|
612
612
|
}
|
|
@@ -620,13 +620,13 @@ function rt(n, s, p, y, g, R) {
|
|
|
620
620
|
m.set(l, rt(a, s, p, l, n, R));
|
|
621
621
|
});
|
|
622
622
|
var u = r ? T ? au : iu : T ? $t : Bt, c = t ? void 0 : u(n);
|
|
623
|
-
return
|
|
623
|
+
return _a(c || n, function(a, l) {
|
|
624
624
|
c && (l = a, a = n[l]), yn(m, l, rt(a, s, p, l, n, R));
|
|
625
625
|
}), m;
|
|
626
626
|
}
|
|
627
|
-
var
|
|
627
|
+
var gs = 1, bs = 4;
|
|
628
628
|
function Lt(n) {
|
|
629
|
-
return rt(n,
|
|
629
|
+
return rt(n, gs | bs);
|
|
630
630
|
}
|
|
631
631
|
function ms(n, s) {
|
|
632
632
|
if (n === "page") {
|
|
@@ -655,14 +655,14 @@ function Qr(n) {
|
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
657
|
function en(n, s) {
|
|
658
|
-
function p(y,
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
}) : y[
|
|
658
|
+
function p(y, _) {
|
|
659
|
+
_.static || (_.children ? _.array ? y[_.key] = Qr(_) : _.children.forEach((R) => {
|
|
660
|
+
_.keyFlag ? p(y, R) : (y[_.key] = {}, p(y[_.key], R));
|
|
661
|
+
}) : y[_.key] = Qr(_));
|
|
662
662
|
}
|
|
663
663
|
s.forEach((y) => p(n, y));
|
|
664
664
|
}
|
|
665
|
-
function Rs(n, s, p, y,
|
|
665
|
+
function Rs(n, s, p, y, _) {
|
|
666
666
|
const R = ms(n, s);
|
|
667
667
|
if (!R) {
|
|
668
668
|
console.error("invalid prop tag");
|
|
@@ -677,38 +677,38 @@ function Rs(n, s, p, y, g) {
|
|
|
677
677
|
if (y) {
|
|
678
678
|
const r = m.refKey;
|
|
679
679
|
if (!m.elements.has(r)) {
|
|
680
|
-
console.error(`[ref] element not found in pkg key=${
|
|
680
|
+
console.error(`[ref] element not found in pkg key=${_}`);
|
|
681
681
|
return;
|
|
682
682
|
}
|
|
683
683
|
const t = Ne[r];
|
|
684
684
|
if (!t) {
|
|
685
|
-
console.error(`[ref] element not found in global key=${
|
|
685
|
+
console.error(`[ref] element not found in global key=${_}`);
|
|
686
686
|
return;
|
|
687
687
|
}
|
|
688
688
|
const e = t.props[R];
|
|
689
689
|
if (!e) {
|
|
690
|
-
console.error(`[ref] props not found key=${
|
|
690
|
+
console.error(`[ref] props not found key=${_} tag=${R}`);
|
|
691
691
|
return;
|
|
692
692
|
}
|
|
693
693
|
en(N, e), N.id = T, N.ref = {
|
|
694
|
-
id:
|
|
694
|
+
id: _
|
|
695
695
|
};
|
|
696
696
|
} else {
|
|
697
|
-
if (!m.elements.has(
|
|
698
|
-
console.error(`[key] element not found in pkg key=${
|
|
697
|
+
if (!m.elements.has(_)) {
|
|
698
|
+
console.error(`[key] element not found in pkg key=${_}`);
|
|
699
699
|
return;
|
|
700
700
|
}
|
|
701
|
-
const r = Ne[
|
|
701
|
+
const r = Ne[_];
|
|
702
702
|
if (!r) {
|
|
703
|
-
console.error(`[key] element not found in global key=${
|
|
703
|
+
console.error(`[key] element not found in global key=${_}`);
|
|
704
704
|
return;
|
|
705
705
|
}
|
|
706
706
|
const t = r.props[R];
|
|
707
707
|
if (!t) {
|
|
708
|
-
console.error(`[key] props not found key=${
|
|
708
|
+
console.error(`[key] props not found key=${_} tag=${R}`);
|
|
709
709
|
return;
|
|
710
710
|
}
|
|
711
|
-
en(N, t), N.id = T, N.key =
|
|
711
|
+
en(N, t), N.id = T, N.key = _, r.leaf || (N.children = []);
|
|
712
712
|
}
|
|
713
713
|
return N;
|
|
714
714
|
}
|
|
@@ -717,22 +717,22 @@ function cc(n, s) {
|
|
|
717
717
|
if (y.id === s)
|
|
718
718
|
return y;
|
|
719
719
|
if (y.children)
|
|
720
|
-
for (let
|
|
721
|
-
const R = p(y.children[
|
|
720
|
+
for (let _ = 0; _ < y.children.length; _++) {
|
|
721
|
+
const R = p(y.children[_]);
|
|
722
722
|
if (R)
|
|
723
723
|
return R;
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
726
|
for (let y = 0; y < n.length; y++) {
|
|
727
|
-
const
|
|
728
|
-
if (
|
|
729
|
-
return
|
|
727
|
+
const _ = p(n[y]);
|
|
728
|
+
if (_)
|
|
729
|
+
return _;
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
732
|
function fc(n) {
|
|
733
733
|
function s(y) {
|
|
734
|
-
var
|
|
735
|
-
y.id = fn(16), (
|
|
734
|
+
var _;
|
|
735
|
+
y.id = fn(16), (_ = y.children) == null || _.forEach((R) => s(R));
|
|
736
736
|
}
|
|
737
737
|
const p = Lt(n);
|
|
738
738
|
return s(p), p;
|
|
@@ -785,7 +785,7 @@ function Cs() {
|
|
|
785
785
|
function As(n) {
|
|
786
786
|
ae($n, $e(n));
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function _c() {
|
|
789
789
|
return oe($n);
|
|
790
790
|
}
|
|
791
791
|
const xs = /* @__PURE__ */ on({
|
|
@@ -793,8 +793,8 @@ const xs = /* @__PURE__ */ on({
|
|
|
793
793
|
setup(n) {
|
|
794
794
|
const s = Ss();
|
|
795
795
|
return (p, y) => {
|
|
796
|
-
const
|
|
797
|
-
return un(), sn(
|
|
796
|
+
const _ = Ai("v-btn");
|
|
797
|
+
return un(), sn(_, {
|
|
798
798
|
theme: xi(s) ? "dark" : "light"
|
|
799
799
|
}, null, 8, ["theme"]);
|
|
800
800
|
};
|
|
@@ -886,7 +886,7 @@ const xs = /* @__PURE__ */ on({
|
|
|
886
886
|
internal: !0
|
|
887
887
|
};
|
|
888
888
|
function Fs(n) {
|
|
889
|
-
const s = Ns(), p = Ts(), y = le(() => n.node.width),
|
|
889
|
+
const s = Ns(), p = Ts(), y = le(() => n.node.width), _ = 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)
|
|
@@ -909,9 +909,9 @@ function Fs(n) {
|
|
|
909
909
|
return n.node.maxHeight;
|
|
910
910
|
});
|
|
911
911
|
function r(t) {
|
|
912
|
-
y.value && (t.width = y.value),
|
|
912
|
+
y.value && (t.width = y.value), _.value && (t.minWidth = _.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:
|
|
914
|
+
return { width: y, minWidth: _, maxWidth: R, height: m, minHeight: N, maxHeight: T, applySize: r };
|
|
915
915
|
}
|
|
916
916
|
var Ls = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
917
917
|
function Us(n) {
|
|
@@ -927,8 +927,8 @@ function Ms(n) {
|
|
|
927
927
|
p.prototype = s.prototype;
|
|
928
928
|
} else p = {};
|
|
929
929
|
return Object.defineProperty(p, "__esModule", { value: !0 }), Object.keys(n).forEach(function(y) {
|
|
930
|
-
var
|
|
931
|
-
Object.defineProperty(p, y,
|
|
930
|
+
var _ = Object.getOwnPropertyDescriptor(n, y);
|
|
931
|
+
Object.defineProperty(p, y, _.get ? _ : {
|
|
932
932
|
enumerable: !0,
|
|
933
933
|
get: function() {
|
|
934
934
|
return n[y];
|
|
@@ -942,8 +942,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
942
942
|
default: js
|
|
943
943
|
}, Symbol.toStringTag, { value: "Module" })), $s = /* @__PURE__ */ Ms(Bs);
|
|
944
944
|
(function(n, s) {
|
|
945
|
-
(function(y,
|
|
946
|
-
n.exports =
|
|
945
|
+
(function(y, _) {
|
|
946
|
+
n.exports = _();
|
|
947
947
|
})(Ls, () => (
|
|
948
948
|
/******/
|
|
949
949
|
(() => {
|
|
@@ -1244,8 +1244,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1244
1244
|
var a = "";
|
|
1245
1245
|
var l = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1246
1246
|
if (l) {
|
|
1247
|
-
for (var v = l.split(/\s*,\s*/),
|
|
1248
|
-
var O = v[
|
|
1247
|
+
for (var v = l.split(/\s*,\s*/), g = 0; g < v.length; g++) {
|
|
1248
|
+
var O = v[g];
|
|
1249
1249
|
o.test(O) || e.throwException(
|
|
1250
1250
|
e.SYNTAX_ERROR,
|
|
1251
1251
|
"Invalid function argument: " + O
|
|
@@ -1491,8 +1491,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
1491
1491
|
e.TYPE_ERROR,
|
|
1492
1492
|
"Object.getOwnPropertyDescriptor called on non-object: " + c
|
|
1493
1493
|
), a = String(a), a in c.properties) {
|
|
1494
|
-
var l = Object.getOwnPropertyDescriptor(c.properties, a), v = c.getter[a],
|
|
1495
|
-
return v ||
|
|
1494
|
+
var l = Object.getOwnPropertyDescriptor(c.properties, a), v = c.getter[a], g = c.setter[a], O = e.createObjectProto(e.OBJECT_PROTO);
|
|
1495
|
+
return v || g ? (e.setProperty(O, "get", v), e.setProperty(O, "set", g)) : (e.setProperty(
|
|
1496
1496
|
O,
|
|
1497
1497
|
"value",
|
|
1498
1498
|
/** @type {!Interpreter.Value} */
|
|
@@ -2081,18 +2081,18 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2081
2081
|
/** @type {?} */
|
|
2082
2082
|
v
|
|
2083
2083
|
);
|
|
2084
|
-
} catch (
|
|
2084
|
+
} catch (g) {
|
|
2085
2085
|
e.throwException(
|
|
2086
2086
|
e.ERROR,
|
|
2087
|
-
"localeCompare: " +
|
|
2087
|
+
"localeCompare: " + g.message
|
|
2088
2088
|
);
|
|
2089
2089
|
}
|
|
2090
2090
|
}, this.setNativeFunctionPrototype(this.STRING, "localeCompare", i), i = function(a, l, v) {
|
|
2091
|
-
var
|
|
2091
|
+
var g = String(this);
|
|
2092
2092
|
if (l = l ? Number(l) : void 0, e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a, v), e.REGEXP_MODE === 2)) {
|
|
2093
2093
|
if (r.vm) {
|
|
2094
2094
|
var O = {
|
|
2095
|
-
string:
|
|
2095
|
+
string: g,
|
|
2096
2096
|
separator: a,
|
|
2097
2097
|
limit: l
|
|
2098
2098
|
}, b = "string.split(separator, limit)", D = e.vmCall(b, O, a, v);
|
|
@@ -2105,20 +2105,20 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2105
2105
|
);
|
|
2106
2106
|
P.onmessage = function(X) {
|
|
2107
2107
|
clearTimeout(I), v(e.nativeToPseudo(X.data));
|
|
2108
|
-
}, P.postMessage(["split",
|
|
2108
|
+
}, P.postMessage(["split", g, a, l]);
|
|
2109
2109
|
}
|
|
2110
2110
|
return;
|
|
2111
2111
|
}
|
|
2112
|
-
var D =
|
|
2112
|
+
var D = g.split(a, l);
|
|
2113
2113
|
v(e.nativeToPseudo(D));
|
|
2114
2114
|
}, this.setAsyncFunctionPrototype(this.STRING, "split", i), i = function(a, l) {
|
|
2115
2115
|
var v = String(this);
|
|
2116
2116
|
if (a = e.isa(a, e.REGEXP) ? a.data : new RegExp(a), e.maybeThrowRegExp(a, l), e.REGEXP_MODE === 2) {
|
|
2117
2117
|
if (r.vm) {
|
|
2118
|
-
var
|
|
2118
|
+
var g = {
|
|
2119
2119
|
string: v,
|
|
2120
2120
|
regexp: a
|
|
2121
|
-
}, O = "string.match(regexp)", I = e.vmCall(O,
|
|
2121
|
+
}, O = "string.match(regexp)", I = e.vmCall(O, g, a, l);
|
|
2122
2122
|
I !== r.REGEXP_TIMEOUT && l(I && e.matchToPseudo_(I));
|
|
2123
2123
|
} else {
|
|
2124
2124
|
var b = e.createWorker(), P = e.regExpTimeout(a, b, l);
|
|
@@ -2134,10 +2134,10 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2134
2134
|
var v = String(this);
|
|
2135
2135
|
if (e.isa(a, e.REGEXP) ? a = a.data : a = new RegExp(a), e.maybeThrowRegExp(a, l), e.REGEXP_MODE === 2) {
|
|
2136
2136
|
if (r.vm) {
|
|
2137
|
-
var
|
|
2137
|
+
var g = {
|
|
2138
2138
|
string: v,
|
|
2139
2139
|
regexp: a
|
|
2140
|
-
}, O = "string.search(regexp)", b = e.vmCall(O,
|
|
2140
|
+
}, O = "string.search(regexp)", b = e.vmCall(O, g, a, l);
|
|
2141
2141
|
b !== r.REGEXP_TIMEOUT && l(b);
|
|
2142
2142
|
} else {
|
|
2143
2143
|
var P = e.createWorker(), I = e.regExpTimeout(a, P, l);
|
|
@@ -2149,11 +2149,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2149
2149
|
}
|
|
2150
2150
|
l(v.search(a));
|
|
2151
2151
|
}, this.setAsyncFunctionPrototype(this.STRING, "search", i), i = function(a, l, v) {
|
|
2152
|
-
var
|
|
2152
|
+
var g = String(this);
|
|
2153
2153
|
if (l = String(l), e.isa(a, e.REGEXP) && (a = a.data, e.maybeThrowRegExp(a, v), e.REGEXP_MODE === 2)) {
|
|
2154
2154
|
if (r.vm) {
|
|
2155
2155
|
var O = {
|
|
2156
|
-
string:
|
|
2156
|
+
string: g,
|
|
2157
2157
|
substr: a,
|
|
2158
2158
|
newSubstr: l
|
|
2159
2159
|
}, b = "string.replace(substr, newSubstr)", P = e.vmCall(b, O, a, v);
|
|
@@ -2166,11 +2166,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2166
2166
|
);
|
|
2167
2167
|
I.onmessage = function(X) {
|
|
2168
2168
|
clearTimeout(D), v(X.data);
|
|
2169
|
-
}, I.postMessage(["replace",
|
|
2169
|
+
}, I.postMessage(["replace", g, a, l]);
|
|
2170
2170
|
}
|
|
2171
2171
|
return;
|
|
2172
2172
|
}
|
|
2173
|
-
v(
|
|
2173
|
+
v(g.replace(a, l));
|
|
2174
2174
|
}, this.setAsyncFunctionPrototype(this.STRING, "replace", i), this.polyfills_.push(
|
|
2175
2175
|
/* POLYFILL START */
|
|
2176
2176
|
"(function() {",
|
|
@@ -2366,8 +2366,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2366
2366
|
e.TYPE_ERROR,
|
|
2367
2367
|
c + " not called on a Date"
|
|
2368
2368
|
);
|
|
2369
|
-
for (var v = [],
|
|
2370
|
-
v[
|
|
2369
|
+
for (var v = [], g = 0; g < arguments.length; g++)
|
|
2370
|
+
v[g] = e.pseudoToNative(arguments[g]);
|
|
2371
2371
|
return l[c].apply(l, v);
|
|
2372
2372
|
};
|
|
2373
2373
|
}(o[u]), this.setNativeFunctionPrototype(this.DATE, o[u], i);
|
|
@@ -2445,10 +2445,10 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2445
2445
|
}, v = "regexp.exec(string)", P = e.vmCall(v, l, a, c);
|
|
2446
2446
|
P !== r.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", a.lastIndex), c(e.matchToPseudo_(P)));
|
|
2447
2447
|
} else {
|
|
2448
|
-
var
|
|
2449
|
-
|
|
2448
|
+
var g = e.createWorker(), O = e.regExpTimeout(a, g, c), b = this;
|
|
2449
|
+
g.onmessage = function(I) {
|
|
2450
2450
|
clearTimeout(O), e.setProperty(b, "lastIndex", I.data[1]), c(e.matchToPseudo_(I.data[0]));
|
|
2451
|
-
},
|
|
2451
|
+
}, g.postMessage(["exec", a, a.lastIndex, u]);
|
|
2452
2452
|
}
|
|
2453
2453
|
return;
|
|
2454
2454
|
}
|
|
@@ -2593,11 +2593,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2593
2593
|
})) : a = null, typeof l != "string" && typeof l != "number" && (l = void 0);
|
|
2594
2594
|
var v = i.pseudoToNative(c);
|
|
2595
2595
|
try {
|
|
2596
|
-
var
|
|
2596
|
+
var g = JSON.stringify(v, a, l);
|
|
2597
2597
|
} catch (O) {
|
|
2598
2598
|
i.throwException(i.TYPE_ERROR, O.message);
|
|
2599
2599
|
}
|
|
2600
|
-
return
|
|
2600
|
+
return g;
|
|
2601
2601
|
}, this.setProperty(
|
|
2602
2602
|
o,
|
|
2603
2603
|
"stringify",
|
|
@@ -2657,17 +2657,17 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2657
2657
|
}
|
|
2658
2658
|
c.loc && (!i.length || c.type === "CallExpression") && i.push({ datumLoc: c.loc });
|
|
2659
2659
|
}
|
|
2660
|
-
for (var l = String(this.getProperty(t, "name")), v = String(this.getProperty(t, "message")),
|
|
2660
|
+
for (var l = String(this.getProperty(t, "name")), v = String(this.getProperty(t, "message")), g = l + ": " + v + `
|
|
2661
2661
|
`, o = 0; o < i.length; o++) {
|
|
2662
2662
|
var O = i[o].datumLoc, b = i[o].datumName, P = O.source + ":" + O.start.line + ":" + O.start.column;
|
|
2663
|
-
b ?
|
|
2664
|
-
` :
|
|
2663
|
+
b ? g += " at " + b + " (" + P + `)
|
|
2664
|
+
` : g += " at " + P + `
|
|
2665
2665
|
`;
|
|
2666
2666
|
}
|
|
2667
2667
|
this.setProperty(
|
|
2668
2668
|
t,
|
|
2669
2669
|
"stack",
|
|
2670
|
-
|
|
2670
|
+
g.trim(),
|
|
2671
2671
|
r.NONENUMERABLE_DESCRIPTOR
|
|
2672
2672
|
);
|
|
2673
2673
|
}, r.prototype.createWorker = function() {
|
|
@@ -2807,8 +2807,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2807
2807
|
return a.pseudoToNative(D);
|
|
2808
2808
|
}), I = t.apply(a, P);
|
|
2809
2809
|
return a.nativeToPseudo(I);
|
|
2810
|
-
}, v = Object.getOwnPropertyDescriptor(t, "prototype"),
|
|
2811
|
-
return i.pseudo.push(
|
|
2810
|
+
}, v = Object.getOwnPropertyDescriptor(t, "prototype"), g = this.createNativeFunction(l, !!v);
|
|
2811
|
+
return i.pseudo.push(g), g;
|
|
2812
2812
|
}
|
|
2813
2813
|
var O;
|
|
2814
2814
|
Array.isArray(t) ? O = this.createArray() : O = this.createObjectProto(this.OBJECT_PROTO), i.pseudo.push(O);
|
|
@@ -2950,14 +2950,14 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
2950
2950
|
} else {
|
|
2951
2951
|
if (i === r.VALUE_IN_DESCRIPTOR)
|
|
2952
2952
|
throw ReferenceError("Value not specified");
|
|
2953
|
-
for (var
|
|
2954
|
-
if (
|
|
2955
|
-
|
|
2953
|
+
for (var g = t; !(e in g.properties); )
|
|
2954
|
+
if (g = this.getPrototype(g), !g) {
|
|
2955
|
+
g = t;
|
|
2956
2956
|
break;
|
|
2957
2957
|
}
|
|
2958
|
-
if (
|
|
2959
|
-
return this.setterStep_ = !0,
|
|
2960
|
-
if (
|
|
2958
|
+
if (g.setter && g.setter[e])
|
|
2959
|
+
return this.setterStep_ = !0, g.setter[e];
|
|
2960
|
+
if (g.getter && g.getter[e])
|
|
2961
2961
|
u && this.throwException(this.TYPE_ERROR, "Cannot set property '" + e + "' of object '" + t + "' which only has a getter");
|
|
2962
2962
|
else
|
|
2963
2963
|
try {
|
|
@@ -3150,8 +3150,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3150
3150
|
SyntaxError,
|
|
3151
3151
|
TypeError,
|
|
3152
3152
|
URIError
|
|
3153
|
-
}, l = String(this.getProperty(e, "name")), v = this.getProperty(e, "message").valueOf(),
|
|
3154
|
-
c =
|
|
3153
|
+
}, l = String(this.getProperty(e, "name")), v = this.getProperty(e, "message").valueOf(), g = a[l] || Error;
|
|
3154
|
+
c = g(v), c.stack = String(this.getProperty(e, "stack"));
|
|
3155
3155
|
} else
|
|
3156
3156
|
c = String(e);
|
|
3157
3157
|
throw this.value = c, c;
|
|
@@ -3187,16 +3187,16 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3187
3187
|
}
|
|
3188
3188
|
return "???";
|
|
3189
3189
|
}, r.prototype.createTask_ = function(t, e) {
|
|
3190
|
-
var i = this.stateStack[this.stateStack.length - 1], o = Array.from(e), u = o.shift(), c = Math.max(Number(o.shift() || 0), 0), a = this.newNode(), l, v,
|
|
3190
|
+
var i = this.stateStack[this.stateStack.length - 1], o = Array.from(e), u = o.shift(), c = Math.max(Number(o.shift() || 0), 0), a = this.newNode(), l, v, g;
|
|
3191
3191
|
if (u instanceof r.Object && u.class === "Function")
|
|
3192
3192
|
v = u, a.type = "CallExpression", l = i.scope;
|
|
3193
3193
|
else {
|
|
3194
3194
|
try {
|
|
3195
|
-
|
|
3195
|
+
g = this.parse_(String(u), "taskCode" + this.taskCodeNumber_++);
|
|
3196
3196
|
} catch (D) {
|
|
3197
3197
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + D.message);
|
|
3198
3198
|
}
|
|
3199
|
-
a.type = "EvalProgram_", a.body =
|
|
3199
|
+
a.type = "EvalProgram_", a.body = g.body;
|
|
3200
3200
|
var O = i.node.arguments[0], b = O ? O.start : void 0, P = O ? O.end : void 0;
|
|
3201
3201
|
r.stripLocations_(a, b, P), l = this.globalScope, o.length = 0;
|
|
3202
3202
|
}
|
|
@@ -3537,11 +3537,11 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
3537
3537
|
);
|
|
3538
3538
|
var a = u.node;
|
|
3539
3539
|
if (a) {
|
|
3540
|
-
for (var l = this.createScope(a.body, u.parentScope), v = this.createArray(),
|
|
3541
|
-
this.setProperty(v,
|
|
3540
|
+
for (var l = this.createScope(a.body, u.parentScope), v = this.createArray(), g = 0; g < e.arguments_.length; g++)
|
|
3541
|
+
this.setProperty(v, g, e.arguments_[g]);
|
|
3542
3542
|
this.setProperty(l.object, "arguments", v);
|
|
3543
|
-
for (var
|
|
3544
|
-
var O = a.params[
|
|
3543
|
+
for (var g = 0; g < a.params.length; g++) {
|
|
3544
|
+
var O = a.params[g].name, b = e.arguments_.length > g ? e.arguments_[g] : void 0;
|
|
3545
3545
|
this.setProperty(l.object, O, b);
|
|
3546
3546
|
}
|
|
3547
3547
|
return l.strict || (e.funcThis_ = this.boxThis_(e.funcThis_)), this.setProperty(
|
|
@@ -4060,7 +4060,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4060
4060
|
break;
|
|
4061
4061
|
}
|
|
4062
4062
|
return { line: d, column: h - E };
|
|
4063
|
-
}, a = 0, l = 0, v = 0,
|
|
4063
|
+
}, a = 0, l = 0, v = 0, g, O, b, P, I, D, X, Pe = 0, z = 0, ve, ue, j, W;
|
|
4064
4064
|
function x(f, h) {
|
|
4065
4065
|
var d = c(t, f);
|
|
4066
4066
|
h += " (" + d.line + ":" + d.column + ")";
|
|
@@ -4105,9 +4105,9 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4105
4105
|
return d[C] || !1;
|
|
4106
4106
|
};
|
|
4107
4107
|
}
|
|
4108
|
-
var ri = ze("class enum extends super const export import"), yr = ze("implements interface let package private protected public static yield"), Je = ze("eval arguments"), ni = ze("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"), ii = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Er = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ai = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_",
|
|
4109
|
-
return f < 65 ? f === 36 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 &&
|
|
4110
|
-
},
|
|
4108
|
+
var ri = ze("class enum extends super const export import"), yr = ze("implements interface let package private protected public static yield"), Je = ze("eval arguments"), ni = ze("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"), ii = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Er = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ai = "̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_", _r = new RegExp("[" + Er + "]"), oi = new RegExp("[" + Er + ai + "]"), He = /[\n\r\u2028\u2029]/, Ke = /\r\n|[\n\r\u2028\u2029]/g, qe = function(f) {
|
|
4109
|
+
return f < 65 ? f === 36 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && _r.test(String.fromCharCode(f));
|
|
4110
|
+
}, gr = function(f) {
|
|
4111
4111
|
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));
|
|
4112
4112
|
};
|
|
4113
4113
|
function ce() {
|
|
@@ -4199,7 +4199,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4199
4199
|
var h = t.charCodeAt(a + 1);
|
|
4200
4200
|
if (h === f) {
|
|
4201
4201
|
if (h === 45 && t.charCodeAt(a + 2) === 62 && He.test(t.slice(z, a))) {
|
|
4202
|
-
a += 3, yt(), Ae(),
|
|
4202
|
+
a += 3, yt(), Ae(), _e();
|
|
4203
4203
|
return;
|
|
4204
4204
|
}
|
|
4205
4205
|
G(zn, 2);
|
|
@@ -4212,7 +4212,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4212
4212
|
return;
|
|
4213
4213
|
}
|
|
4214
4214
|
if (h === 33 && f === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
4215
|
-
a += 4, yt(), Ae(),
|
|
4215
|
+
a += 4, yt(), Ae(), _e();
|
|
4216
4216
|
return;
|
|
4217
4217
|
}
|
|
4218
4218
|
h === 61 && (d = t.charCodeAt(a + 2) === 61 ? 3 : 2), G(Zn, d);
|
|
@@ -4247,7 +4247,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4247
4247
|
return ++a, $(fr);
|
|
4248
4248
|
case 48:
|
|
4249
4249
|
var h = t.charCodeAt(a + 1);
|
|
4250
|
-
if (h === 120 || h === 88) return
|
|
4250
|
+
if (h === 120 || h === 88) return _i();
|
|
4251
4251
|
case 49:
|
|
4252
4252
|
case 50:
|
|
4253
4253
|
case 51:
|
|
@@ -4260,7 +4260,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4260
4260
|
return mr(!1);
|
|
4261
4261
|
case 34:
|
|
4262
4262
|
case 39:
|
|
4263
|
-
return
|
|
4263
|
+
return gi(f);
|
|
4264
4264
|
case 47:
|
|
4265
4265
|
return fi();
|
|
4266
4266
|
case 37:
|
|
@@ -4285,8 +4285,8 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4285
4285
|
}
|
|
4286
4286
|
return !1;
|
|
4287
4287
|
}
|
|
4288
|
-
function
|
|
4289
|
-
if (f ? a = l + 1 : l = a, r.locations && (
|
|
4288
|
+
function _e(f) {
|
|
4289
|
+
if (f ? a = l + 1 : l = a, r.locations && (g = new ce()), f) return br();
|
|
4290
4290
|
if (a >= e) return $(ut);
|
|
4291
4291
|
var h = t.charCodeAt(a);
|
|
4292
4292
|
if (qe(h) || h === 92)
|
|
@@ -4294,7 +4294,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4294
4294
|
var d = Ei(h);
|
|
4295
4295
|
if (d === !1) {
|
|
4296
4296
|
var E = String.fromCharCode(h);
|
|
4297
|
-
if (E === "\\" ||
|
|
4297
|
+
if (E === "\\" || _r.test(E))
|
|
4298
4298
|
return Or();
|
|
4299
4299
|
x(a, "Unexpected character '" + E + "'");
|
|
4300
4300
|
}
|
|
@@ -4339,7 +4339,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4339
4339
|
}
|
|
4340
4340
|
return a === d || h !== void 0 && a - d !== h ? null : E;
|
|
4341
4341
|
}
|
|
4342
|
-
function
|
|
4342
|
+
function _i() {
|
|
4343
4343
|
a += 2;
|
|
4344
4344
|
var f = xe(16);
|
|
4345
4345
|
f === null && x(l + 2, "Expected hexadecimal number"), qe(t.charCodeAt(a)) && x(a, "Identifier directly after number"), $(Xe, f);
|
|
@@ -4352,7 +4352,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4352
4352
|
var S = t.slice(h, a), A;
|
|
4353
4353
|
d ? A = parseFloat(S) : !E || S.length === 1 ? A = parseInt(S, 10) : /[89]/.test(S) || W ? x(h, "Invalid number") : A = parseInt(S, 8), $(Xe, A);
|
|
4354
4354
|
}
|
|
4355
|
-
function
|
|
4355
|
+
function gi(f) {
|
|
4356
4356
|
a++;
|
|
4357
4357
|
for (var h = ""; ; ) {
|
|
4358
4358
|
a >= e && x(l, "Unterminated string constant");
|
|
@@ -4419,42 +4419,42 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4419
4419
|
return h === null && x(l, "Bad character escape sequence"), /** @type {number} */
|
|
4420
4420
|
h;
|
|
4421
4421
|
}
|
|
4422
|
-
var
|
|
4422
|
+
var ge;
|
|
4423
4423
|
function Rr() {
|
|
4424
|
-
|
|
4424
|
+
ge = !1;
|
|
4425
4425
|
for (var f, h = !0, d = a; ; ) {
|
|
4426
4426
|
var E = t.charCodeAt(a);
|
|
4427
|
-
if (
|
|
4428
|
-
|
|
4427
|
+
if (gr(E))
|
|
4428
|
+
ge && (f += t.charAt(a)), ++a;
|
|
4429
4429
|
else if (E === 92) {
|
|
4430
|
-
|
|
4430
|
+
ge || (f = t.slice(d, a)), ge = !0, t.charCodeAt(++a) !== 117 && x(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
4431
4431
|
var C = Ze(4), S = String.fromCharCode(C);
|
|
4432
|
-
S || x(a - 1, "Invalid Unicode escape"), (h ? qe(C) :
|
|
4432
|
+
S || x(a - 1, "Invalid Unicode escape"), (h ? qe(C) : gr(C)) || x(a - 4, "Invalid Unicode escape"), f += S;
|
|
4433
4433
|
} else
|
|
4434
4434
|
break;
|
|
4435
4435
|
h = !1;
|
|
4436
4436
|
}
|
|
4437
|
-
return
|
|
4437
|
+
return ge ? f : t.slice(d, a);
|
|
4438
4438
|
}
|
|
4439
4439
|
function Or() {
|
|
4440
4440
|
var f = Rr(), h = ye;
|
|
4441
|
-
!
|
|
4441
|
+
!ge && ni(f) && (h = Wn[f]), $(h, f);
|
|
4442
4442
|
}
|
|
4443
4443
|
function k() {
|
|
4444
|
-
Pe = l, z = v, ve = O,
|
|
4444
|
+
Pe = l, z = v, ve = O, _e();
|
|
4445
4445
|
}
|
|
4446
4446
|
function Et(f) {
|
|
4447
4447
|
if (W = f, a = l, r.locations)
|
|
4448
4448
|
for (; a < X; )
|
|
4449
4449
|
X = t.lastIndexOf(`
|
|
4450
4450
|
`, X - 2) + 1, --D;
|
|
4451
|
-
Ae(),
|
|
4451
|
+
Ae(), _e();
|
|
4452
4452
|
}
|
|
4453
4453
|
function Nr() {
|
|
4454
4454
|
this.type = null, this.start = l, this.end = null;
|
|
4455
4455
|
}
|
|
4456
4456
|
function Tr() {
|
|
4457
|
-
this.start =
|
|
4457
|
+
this.start = g, this.end = null, i && (this.source = i);
|
|
4458
4458
|
}
|
|
4459
4459
|
function V() {
|
|
4460
4460
|
var f = new Nr();
|
|
@@ -4467,7 +4467,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4467
4467
|
function w(f, h) {
|
|
4468
4468
|
return f.type = h, f.end = z, r.locations && (f.loc.end = ve), r.ranges && (f.range[1] = z), f;
|
|
4469
4469
|
}
|
|
4470
|
-
function
|
|
4470
|
+
function _t(f) {
|
|
4471
4471
|
return f.type === "ExpressionStatement" && f.expression.type === "Literal" && f.expression.value === "use strict";
|
|
4472
4472
|
}
|
|
4473
4473
|
function M(f) {
|
|
@@ -4489,17 +4489,17 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4489
4489
|
f.type !== "Identifier" && f.type !== "MemberExpression" && x(f.start, "Assigning to rvalue"), W && f.type === "Identifier" && Je(f.name) && x(f.start, "Assigning to " + f.name + " in strict mode");
|
|
4490
4490
|
}
|
|
4491
4491
|
function bi(f) {
|
|
4492
|
-
Pe = z = a, r.locations && (ve = new ce()), ue = W = !1, j = [],
|
|
4492
|
+
Pe = z = a, r.locations && (ve = new ce()), ue = W = !1, j = [], _e();
|
|
4493
4493
|
var h = f || V(), d = !0;
|
|
4494
4494
|
for (f || (h.body = []); b !== ut; ) {
|
|
4495
4495
|
var E = J();
|
|
4496
|
-
h.body.push(E), d &&
|
|
4496
|
+
h.body.push(E), d && _t(E) && Et(!0), d = !1;
|
|
4497
4497
|
}
|
|
4498
4498
|
return w(h, "Program");
|
|
4499
4499
|
}
|
|
4500
|
-
var
|
|
4500
|
+
var gt = { kind: "loop" }, mi = { kind: "switch" };
|
|
4501
4501
|
function J() {
|
|
4502
|
-
(b === lr || b === se && P === "/=") &&
|
|
4502
|
+
(b === lr || b === se && P === "/=") && _e(!0);
|
|
4503
4503
|
var f = b, h = V();
|
|
4504
4504
|
switch (f) {
|
|
4505
4505
|
case st:
|
|
@@ -4516,9 +4516,9 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4516
4516
|
case zt:
|
|
4517
4517
|
return k(), fe(), w(h, "DebuggerStatement");
|
|
4518
4518
|
case Ht:
|
|
4519
|
-
return k(), j.push(
|
|
4519
|
+
return k(), j.push(gt), h.body = J(), j.pop(), B(ht), h.test = Ie(), fe(), w(h, "DoWhileStatement");
|
|
4520
4520
|
case Zt:
|
|
4521
|
-
if (k(), j.push(
|
|
4521
|
+
if (k(), j.push(gt), B(q), b === Z) return bt(h, null);
|
|
4522
4522
|
if (b === pt) {
|
|
4523
4523
|
var S = V();
|
|
4524
4524
|
return k(), Pr(S, !0), w(S, "VariableDeclaration"), S.declarations.length === 1 && M(We) ? Sr(h, S) : bt(h, S);
|
|
@@ -4551,7 +4551,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4551
4551
|
case pt:
|
|
4552
4552
|
return k(), Pr(h), fe(), w(h, "VariableDeclaration");
|
|
4553
4553
|
case ht:
|
|
4554
|
-
return k(), h.test = Ie(), j.push(
|
|
4554
|
+
return k(), h.test = Ie(), j.push(gt), h.body = J(), j.pop(), w(h, "WhileStatement");
|
|
4555
4555
|
case nr:
|
|
4556
4556
|
return W && x(l, "'with' in strict mode"), k(), h.object = Ie(), h.body = J(), w(h, "WithStatement");
|
|
4557
4557
|
case we:
|
|
@@ -4578,7 +4578,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4578
4578
|
var h = V(), d = !0, E = !1, C;
|
|
4579
4579
|
for (h.body = [], B(we); !M(Ee); ) {
|
|
4580
4580
|
var S = J();
|
|
4581
|
-
h.body.push(S), d && f &&
|
|
4581
|
+
h.body.push(S), d && f && _t(S) && (C = E, Et(E = !0)), d = !1;
|
|
4582
4582
|
}
|
|
4583
4583
|
return E && !C && Et(!1), w(h, "BlockStatement");
|
|
4584
4584
|
}
|
|
@@ -4668,7 +4668,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4668
4668
|
case sr:
|
|
4669
4669
|
return f = V(), f.value = b.atomValue, f.raw = b.keyword, k(), w(f, "Literal");
|
|
4670
4670
|
case q:
|
|
4671
|
-
var h =
|
|
4671
|
+
var h = g, d = l;
|
|
4672
4672
|
k();
|
|
4673
4673
|
var E = Y();
|
|
4674
4674
|
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;
|
|
@@ -4716,7 +4716,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4716
4716
|
for (B(q); !M(H); )
|
|
4717
4717
|
d ? d = !1 : B(re), f.params.push(ie());
|
|
4718
4718
|
var E = ue, C = j;
|
|
4719
|
-
if (ue = !0, j = [], f.body = ke(!0), ue = E, j = C, W || f.body.body.length &&
|
|
4719
|
+
if (ue = !0, j = [], f.body = ke(!0), ue = E, j = C, W || f.body.body.length && _t(f.body.body[0]))
|
|
4720
4720
|
for (var S = f.id ? -1 : 0; S < f.params.length; ++S) {
|
|
4721
4721
|
var A = S < 0 ? f.id : f.params[S];
|
|
4722
4722
|
if ((yr(A.name) || Je(A.name)) && x(A.start, "Defining '" + A.name + "' in strict mode"), S >= 0)
|
|
@@ -4754,7 +4754,7 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4754
4754
|
)
|
|
4755
4755
|
/******/
|
|
4756
4756
|
}, y = {};
|
|
4757
|
-
function
|
|
4757
|
+
function _(m) {
|
|
4758
4758
|
var N = y[m];
|
|
4759
4759
|
if (N !== void 0)
|
|
4760
4760
|
return N.exports;
|
|
@@ -4767,12 +4767,12 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4767
4767
|
exports: {}
|
|
4768
4768
|
/******/
|
|
4769
4769
|
};
|
|
4770
|
-
return p[m].call(T.exports, T, T.exports,
|
|
4770
|
+
return p[m].call(T.exports, T, T.exports, _), T.exports;
|
|
4771
4771
|
}
|
|
4772
|
-
|
|
4772
|
+
_.d = (m, N) => {
|
|
4773
4773
|
for (var T in N)
|
|
4774
|
-
|
|
4775
|
-
},
|
|
4774
|
+
_.o(N, T) && !_.o(m, T) && Object.defineProperty(m, T, { enumerable: !0, get: N[T] });
|
|
4775
|
+
}, _.o = (m, N) => Object.prototype.hasOwnProperty.call(m, N), _.r = (m) => {
|
|
4776
4776
|
typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(m, "__esModule", { value: !0 });
|
|
4777
4777
|
};
|
|
4778
4778
|
var R = {};
|
|
@@ -4780,17 +4780,17 @@ const js = {}, Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
4780
4780
|
/*!*******************************!*\
|
|
4781
4781
|
!*** ./src/js-interpreter.js ***!
|
|
4782
4782
|
\*******************************/
|
|
4783
|
-
|
|
4783
|
+
_.r(R), _.d(R, {
|
|
4784
4784
|
/* harmony export */
|
|
4785
4785
|
default: () => T
|
|
4786
4786
|
/* harmony export */
|
|
4787
4787
|
});
|
|
4788
|
-
const m =
|
|
4788
|
+
const m = _(
|
|
4789
4789
|
/*! ../original-repo/acorn */
|
|
4790
4790
|
"./original-repo/acorn.js"
|
|
4791
4791
|
);
|
|
4792
4792
|
globalThis.acorn = m;
|
|
4793
|
-
const { Interpreter: N } =
|
|
4793
|
+
const { Interpreter: N } = _(
|
|
4794
4794
|
/*! ../original-repo/interpreter */
|
|
4795
4795
|
"./original-repo/interpreter.js"
|
|
4796
4796
|
), T = N;
|
|
@@ -4802,8 +4802,8 @@ var Gs = Gn.exports;
|
|
|
4802
4802
|
const Vs = /* @__PURE__ */ Us(Gs);
|
|
4803
4803
|
function Ys(n, s) {
|
|
4804
4804
|
function p(y) {
|
|
4805
|
-
const
|
|
4806
|
-
console.log(
|
|
4805
|
+
const _ = n.pseudoToNative(y);
|
|
4806
|
+
console.log(_);
|
|
4807
4807
|
}
|
|
4808
4808
|
n.setProperty(
|
|
4809
4809
|
s,
|
|
@@ -4817,17 +4817,17 @@ class Xs {
|
|
|
4817
4817
|
wt(this, "nodes");
|
|
4818
4818
|
this.context = s, this.nodes = {};
|
|
4819
4819
|
const p = this;
|
|
4820
|
-
function y(
|
|
4820
|
+
function y(_) {
|
|
4821
4821
|
var R;
|
|
4822
|
-
p.nodes[
|
|
4822
|
+
p.nodes[_.id] = _, (R = _.children) == null || R.forEach((m) => y(m));
|
|
4823
4823
|
}
|
|
4824
|
-
this.context.data.view.nodes.forEach((
|
|
4824
|
+
this.context.data.view.nodes.forEach((_) => y(_));
|
|
4825
4825
|
}
|
|
4826
4826
|
getNode(s) {
|
|
4827
4827
|
return this.nodes[s];
|
|
4828
4828
|
}
|
|
4829
4829
|
addNode(s, p, y) {
|
|
4830
|
-
let
|
|
4830
|
+
let _;
|
|
4831
4831
|
if (s) {
|
|
4832
4832
|
const m = this.getNode(s);
|
|
4833
4833
|
if (!m)
|
|
@@ -4838,10 +4838,10 @@ class Xs {
|
|
|
4838
4838
|
return console.error(
|
|
4839
4839
|
`NodeMgr/addNode parent no children, parent=${s} ref=${p} key=${y}`
|
|
4840
4840
|
), "";
|
|
4841
|
-
|
|
4841
|
+
_ = m.children;
|
|
4842
4842
|
} else
|
|
4843
|
-
|
|
4844
|
-
if (!
|
|
4843
|
+
_ = this.context.data.view.nodes;
|
|
4844
|
+
if (!_)
|
|
4845
4845
|
return "";
|
|
4846
4846
|
const R = Rs(
|
|
4847
4847
|
this.context.type,
|
|
@@ -4850,7 +4850,7 @@ class Xs {
|
|
|
4850
4850
|
p,
|
|
4851
4851
|
y
|
|
4852
4852
|
);
|
|
4853
|
-
return R ? (
|
|
4853
|
+
return R ? (_.push(R), this.nodes[R.id] = R, R.id) : (console.error(
|
|
4854
4854
|
"NodeMgr/addNode spawn node failed, parent=${parent} ref=${ref} key=${key}"
|
|
4855
4855
|
), "");
|
|
4856
4856
|
}
|
|
@@ -4860,7 +4860,7 @@ class Xs {
|
|
|
4860
4860
|
}
|
|
4861
4861
|
function Ws(n, s, p) {
|
|
4862
4862
|
const y = new Xs(n);
|
|
4863
|
-
function
|
|
4863
|
+
function _(t, e, i) {
|
|
4864
4864
|
const o = s.pseudoToNative(t), u = s.pseudoToNative(e), c = s.pseudoToNative(i), a = y.addNode(o, u, c);
|
|
4865
4865
|
return s.nativeToPseudo(a);
|
|
4866
4866
|
}
|
|
@@ -4896,9 +4896,9 @@ function Ws(n, s, p) {
|
|
|
4896
4896
|
return;
|
|
4897
4897
|
}
|
|
4898
4898
|
const l = u.split("."), v = l.length;
|
|
4899
|
-
for (let
|
|
4900
|
-
const O = l[
|
|
4901
|
-
if (
|
|
4899
|
+
for (let g = 0; g < v; g++) {
|
|
4900
|
+
const O = l[g];
|
|
4901
|
+
if (g === v - 1)
|
|
4902
4902
|
a[O] = c;
|
|
4903
4903
|
else if (a = a[O], !a) {
|
|
4904
4904
|
console.error(
|
|
@@ -4923,7 +4923,7 @@ function Ws(n, s, p) {
|
|
|
4923
4923
|
s.setProperty(
|
|
4924
4924
|
p,
|
|
4925
4925
|
"__addNodeV1__",
|
|
4926
|
-
s.createNativeFunction(
|
|
4926
|
+
s.createNativeFunction(_)
|
|
4927
4927
|
), s.setProperty(
|
|
4928
4928
|
p,
|
|
4929
4929
|
"__deleteNodeV1__",
|
|
@@ -5030,8 +5030,8 @@ function __triggerEvent__(id, event, p1, p2, p3, p4, p5, p6, p7, p8, p9, p10, p1
|
|
|
5030
5030
|
function qs(n, s) {
|
|
5031
5031
|
const p = new Vs(
|
|
5032
5032
|
Ks,
|
|
5033
|
-
(y,
|
|
5034
|
-
zs(n, y,
|
|
5033
|
+
(y, _) => {
|
|
5034
|
+
zs(n, y, _);
|
|
5035
5035
|
}
|
|
5036
5036
|
);
|
|
5037
5037
|
return p.appendCode(s), p.appendCode(`
|
|
@@ -5051,7 +5051,7 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5051
5051
|
outer: { type: Boolean }
|
|
5052
5052
|
},
|
|
5053
5053
|
setup(n) {
|
|
5054
|
-
const { t: s } = Fi(), p = n, y = Os(),
|
|
5054
|
+
const { t: s } = Fi(), p = n, y = Os(), _ = Ps(), R = ws(), m = Cs(), N = Cr();
|
|
5055
5055
|
Ii(() => {
|
|
5056
5056
|
N.value = m[p.refContext.refid];
|
|
5057
5057
|
});
|
|
@@ -5060,7 +5060,7 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5060
5060
|
a || Mi.emit("compNotAvail", p.refContext.refid), T.value && (nn(T.value), T.value = void 0), a && (T.value = qs(
|
|
5061
5061
|
{
|
|
5062
5062
|
env: y,
|
|
5063
|
-
type:
|
|
5063
|
+
type: _,
|
|
5064
5064
|
data: a.data
|
|
5065
5065
|
},
|
|
5066
5066
|
a.data.code.script
|
|
@@ -5094,20 +5094,20 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5094
5094
|
}
|
|
5095
5095
|
function o(a) {
|
|
5096
5096
|
const l = cn[R.version].refKey, v = Ne[l];
|
|
5097
|
-
let
|
|
5098
|
-
return v ?
|
|
5097
|
+
let g;
|
|
5098
|
+
return v ? g = Le(v.comp, {
|
|
5099
5099
|
refContext: {
|
|
5100
5100
|
parent: p.refContext,
|
|
5101
5101
|
refid: a.ref.id
|
|
5102
5102
|
},
|
|
5103
5103
|
node: a
|
|
5104
|
-
}) : console.assert(!1),
|
|
5104
|
+
}) : console.assert(!1), g;
|
|
5105
5105
|
}
|
|
5106
5106
|
function u(a) {
|
|
5107
|
-
var
|
|
5107
|
+
var g;
|
|
5108
5108
|
let l;
|
|
5109
5109
|
const v = Ne[a.key];
|
|
5110
|
-
return v ? ((
|
|
5110
|
+
return v ? ((g = a.children) == null || g.forEach((O) => {
|
|
5111
5111
|
i(O);
|
|
5112
5112
|
}), l = Le(v.comp, { node: a })) : console.assert(!1, `invalid element config key=${a.key}`), l;
|
|
5113
5113
|
}
|
|
@@ -5118,8 +5118,8 @@ const Zs = /* @__PURE__ */ on({
|
|
|
5118
5118
|
else if (N.value) {
|
|
5119
5119
|
const l = N.value.data.type;
|
|
5120
5120
|
l === "common" ? N.value.data.view.nodes.forEach((v) => {
|
|
5121
|
-
const
|
|
5122
|
-
a.push(
|
|
5121
|
+
const g = i(v);
|
|
5122
|
+
a.push(g);
|
|
5123
5123
|
}) : console.assert(!1, `invalid data type dataType=${l}`);
|
|
5124
5124
|
} else
|
|
5125
5125
|
a.push(Le("div", s("compNotAvail")));
|
|
@@ -5267,7 +5267,7 @@ for (const n in Ne) {
|
|
|
5267
5267
|
}
|
|
5268
5268
|
const nc = (n, s, p) => {
|
|
5269
5269
|
const y = n[s];
|
|
5270
|
-
return y ? typeof y == "function" ? y() : Promise.resolve(y) : new Promise((
|
|
5270
|
+
return y ? typeof y == "function" ? y() : Promise.resolve(y) : new Promise((_, R) => {
|
|
5271
5271
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
5272
5272
|
R.bind(
|
|
5273
5273
|
null,
|
|
@@ -5278,8 +5278,8 @@ const nc = (n, s, p) => {
|
|
|
5278
5278
|
);
|
|
5279
5279
|
});
|
|
5280
5280
|
};
|
|
5281
|
-
async function
|
|
5282
|
-
return (await nc(/* @__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;
|
|
5281
|
+
async function gc(n) {
|
|
5282
|
+
return (await nc(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-kzjkkzqt.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-gscwf2xh.js") }), `./locales/${n}/index.ts`, 4)).default;
|
|
5283
5283
|
}
|
|
5284
5284
|
export {
|
|
5285
5285
|
fc as duplicateNode,
|
|
@@ -5294,13 +5294,13 @@ export {
|
|
|
5294
5294
|
Cs as injectDepends,
|
|
5295
5295
|
Ts as injectDevice,
|
|
5296
5296
|
Os as injectEnv,
|
|
5297
|
-
|
|
5297
|
+
_c as injectInterpreter,
|
|
5298
5298
|
Ns as injectMode,
|
|
5299
5299
|
Ps as injectType,
|
|
5300
5300
|
Gi as isEmptyStr,
|
|
5301
5301
|
Yi as isPercentStr,
|
|
5302
5302
|
Vi as isPixelStr,
|
|
5303
|
-
|
|
5303
|
+
gc as loadLocaleMessageRuntime,
|
|
5304
5304
|
Ct as parsePercentStr,
|
|
5305
5305
|
sc as parsePixelStr,
|
|
5306
5306
|
cn as pkgs,
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|