x-runtime-lib 0.6.36 → 0.6.37
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 +226 -230
- package/dist/types/element.d.ts +1 -5
- package/dist/utils/misc.d.ts +0 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
var sa = Object.defineProperty;
|
|
2
2
|
var ua = (r, o, c) => o in r ? sa(r, o, { enumerable: !0, configurable: !0, writable: !0, value: c }) : r[o] = c;
|
|
3
3
|
var lr = (r, o, c) => ua(r, typeof o != "symbol" ? o + "" : o, c);
|
|
4
|
-
import { computed as R, provide as Se, inject as Re, readonly as $r, onBeforeMount as la, onUnmounted as lt, defineComponent as q, useTemplateRef as Ri, onMounted as Ti, watch as ke, nextTick as
|
|
4
|
+
import { computed as R, provide as Se, inject as Re, readonly as $r, onBeforeMount as la, onUnmounted as lt, defineComponent as q, useTemplateRef as Ri, onMounted as Ti, watch as ke, nextTick as wi, createElementBlock as ae, openBlock as j, normalizeStyle as ct, ref as Ge, watchEffect as Oi, createBlock as ee, h as J, resolveComponent as se, unref as be, withCtx as Q, renderSlot as Ye, createVNode as ie, createSlots as dr, renderList as ca, useId as Ni, isRef as ki, createCommentVNode as Ci, normalizeClass as fa, toDisplayString as pa } from "vue";
|
|
5
5
|
import { waitUtil as Pi, eventBus as jr, messageInfo as da, messageSuccess as ha, messageWarning as ma, messageError as ya, openConfirmDlg as va, openPromptDlg as ba, useViewStack as Ai } from "x-essential-lib";
|
|
6
6
|
import { useTheme as ga } from "vuetify";
|
|
7
|
-
import { u as _a, r as Ii, i as Ea, a as xa, b as Sa, c as Ra, d as Ta, e as
|
|
7
|
+
import { u as _a, r as Ii, i as Ea, a as xa, b as Sa, c as Ra, d as Ta, e as wa, f as Oa, g as Na, h as Li } from "./echarts-i9kva4al.js";
|
|
8
8
|
import { useI18n as Di } from "vue-i18n";
|
|
9
9
|
var Mi = typeof global == "object" && global && global.Object === Object && global, ka = typeof self == "object" && self && self.Object === Object && self, fe = Mi || ka || Function("return this")(), We = fe.Symbol, Vi = Object.prototype, Ca = Vi.hasOwnProperty, Pa = Vi.toString, it = We ? We.toStringTag : void 0;
|
|
10
10
|
function Aa(r) {
|
|
@@ -151,9 +151,9 @@ var Ui = Object.prototype, hs = Ui.hasOwnProperty, ms = Ui.propertyIsEnumerable,
|
|
|
151
151
|
function vs() {
|
|
152
152
|
return !1;
|
|
153
153
|
}
|
|
154
|
-
var Gi = typeof exports == "object" && exports && !exports.nodeType && exports, Bn = Gi && typeof module == "object" && module && !module.nodeType && module, bs = Bn && Bn.exports === Gi, Fn = bs ? fe.Buffer : void 0, gs = Fn ? Fn.isBuffer : void 0, Wi = gs || vs, _s = "[object Arguments]", Es = "[object Array]", xs = "[object Boolean]", Ss = "[object Date]", Rs = "[object Error]", Ts = "[object Function]",
|
|
154
|
+
var Gi = typeof exports == "object" && exports && !exports.nodeType && exports, Bn = Gi && typeof module == "object" && module && !module.nodeType && module, bs = Bn && Bn.exports === Gi, Fn = bs ? fe.Buffer : void 0, gs = Fn ? Fn.isBuffer : void 0, Wi = gs || vs, _s = "[object Arguments]", Es = "[object Array]", xs = "[object Boolean]", Ss = "[object Date]", Rs = "[object Error]", Ts = "[object Function]", ws = "[object Map]", Os = "[object Number]", Ns = "[object Object]", ks = "[object RegExp]", Cs = "[object Set]", Ps = "[object String]", As = "[object WeakMap]", Is = "[object ArrayBuffer]", Ls = "[object DataView]", Ds = "[object Float32Array]", Ms = "[object Float64Array]", Vs = "[object Int8Array]", $s = "[object Int16Array]", js = "[object Int32Array]", Bs = "[object Uint8Array]", Fs = "[object Uint8ClampedArray]", Us = "[object Uint16Array]", Gs = "[object Uint32Array]", B = {};
|
|
155
155
|
B[Ds] = B[Ms] = B[Vs] = B[$s] = B[js] = B[Bs] = B[Fs] = B[Us] = B[Gs] = !0;
|
|
156
|
-
B[_s] = B[Es] = B[Is] = B[xs] = B[Ls] = B[Ss] = B[Rs] = B[Ts] = B[
|
|
156
|
+
B[_s] = B[Es] = B[Is] = B[xs] = B[Ls] = B[Ss] = B[Rs] = B[Ts] = B[ws] = B[Os] = B[Ns] = B[ks] = B[Cs] = B[Ps] = B[As] = !1;
|
|
157
157
|
function Ws(r) {
|
|
158
158
|
return pt(r) && Bi(r.length) && !!B[ft(r)];
|
|
159
159
|
}
|
|
@@ -322,8 +322,8 @@ function Tu(r, o) {
|
|
|
322
322
|
r[y + c] = o[c];
|
|
323
323
|
return r;
|
|
324
324
|
}
|
|
325
|
-
var
|
|
326
|
-
function
|
|
325
|
+
var wu = Yi(Object.getPrototypeOf, Object);
|
|
326
|
+
function Ou() {
|
|
327
327
|
this.__data__ = new ge(), this.size = 0;
|
|
328
328
|
}
|
|
329
329
|
function Nu(r) {
|
|
@@ -351,7 +351,7 @@ function He(r) {
|
|
|
351
351
|
var o = this.__data__ = new ge(r);
|
|
352
352
|
this.size = o.size;
|
|
353
353
|
}
|
|
354
|
-
He.prototype.clear =
|
|
354
|
+
He.prototype.clear = Ou;
|
|
355
355
|
He.prototype.delete = Nu;
|
|
356
356
|
He.prototype.get = ku;
|
|
357
357
|
He.prototype.has = Cu;
|
|
@@ -463,17 +463,17 @@ function El(r, o, c) {
|
|
|
463
463
|
}
|
|
464
464
|
}
|
|
465
465
|
function xl(r) {
|
|
466
|
-
return typeof r.constructor == "function" && !Fi(r) ? es(
|
|
466
|
+
return typeof r.constructor == "function" && !Fi(r) ? es(wu(r)) : {};
|
|
467
467
|
}
|
|
468
468
|
var Sl = "[object Map]";
|
|
469
469
|
function Rl(r) {
|
|
470
470
|
return pt(r) && ve(r) == Sl;
|
|
471
471
|
}
|
|
472
|
-
var ei = ze && ze.isMap, Tl = ei ? Fr(ei) : Rl,
|
|
473
|
-
function
|
|
474
|
-
return pt(r) && ve(r) ==
|
|
472
|
+
var ei = ze && ze.isMap, Tl = ei ? Fr(ei) : Rl, wl = "[object Set]";
|
|
473
|
+
function Ol(r) {
|
|
474
|
+
return pt(r) && ve(r) == wl;
|
|
475
475
|
}
|
|
476
|
-
var ti = ze && ze.isSet, Nl = ti ? Fr(ti) :
|
|
476
|
+
var ti = ze && ze.isSet, Nl = ti ? Fr(ti) : Ol, Hi = "[object Arguments]", kl = "[object Array]", Cl = "[object Boolean]", Pl = "[object Date]", Al = "[object Error]", Ji = "[object Function]", Il = "[object GeneratorFunction]", Ll = "[object Map]", Dl = "[object Number]", Ki = "[object Object]", Ml = "[object RegExp]", Vl = "[object Set]", $l = "[object String]", jl = "[object Symbol]", Bl = "[object WeakMap]", Fl = "[object ArrayBuffer]", Ul = "[object DataView]", Gl = "[object Float32Array]", Wl = "[object Float64Array]", zl = "[object Int8Array]", Yl = "[object Int16Array]", Xl = "[object Int32Array]", Hl = "[object Uint8Array]", Jl = "[object Uint8ClampedArray]", Kl = "[object Uint16Array]", ql = "[object Uint32Array]", $ = {};
|
|
477
477
|
$[Hi] = $[kl] = $[Fl] = $[Ul] = $[Cl] = $[Pl] = $[Gl] = $[Wl] = $[zl] = $[Yl] = $[Xl] = $[Ll] = $[Dl] = $[Ki] = $[Ml] = $[Vl] = $[$l] = $[jl] = $[Hl] = $[Jl] = $[Kl] = $[ql] = !0;
|
|
478
478
|
$[Al] = $[Ji] = $[Bl] = !1;
|
|
479
479
|
function Tt(r, o, c, d, y, b) {
|
|
@@ -689,9 +689,6 @@ function oo(r) {
|
|
|
689
689
|
}
|
|
690
690
|
return o;
|
|
691
691
|
}
|
|
692
|
-
function fd(r) {
|
|
693
|
-
return r === "";
|
|
694
|
-
}
|
|
695
692
|
function jt(r) {
|
|
696
693
|
if (typeof r != "string" || !r.endsWith("px"))
|
|
697
694
|
return !1;
|
|
@@ -704,7 +701,7 @@ function Gr(r) {
|
|
|
704
701
|
const o = r.substring(0, r.length - 1), c = parseFloat(o);
|
|
705
702
|
return !isNaN(c);
|
|
706
703
|
}
|
|
707
|
-
function
|
|
704
|
+
function fd(r) {
|
|
708
705
|
if (typeof r != "string" || !r.endsWith("px"))
|
|
709
706
|
return;
|
|
710
707
|
const o = r.substring(0, r.length - 2), c = parseFloat(o);
|
|
@@ -819,7 +816,7 @@ function rc(r, o, c, d, y) {
|
|
|
819
816
|
}
|
|
820
817
|
return x;
|
|
821
818
|
}
|
|
822
|
-
function
|
|
819
|
+
function pd(r, o) {
|
|
823
820
|
function c(d) {
|
|
824
821
|
if (d.basic.id === o)
|
|
825
822
|
return d;
|
|
@@ -844,50 +841,50 @@ function nc(r) {
|
|
|
844
841
|
const c = Z(r);
|
|
845
842
|
return o(c), c;
|
|
846
843
|
}
|
|
847
|
-
function
|
|
844
|
+
function dd(r) {
|
|
848
845
|
const o = [];
|
|
849
846
|
return r.forEach((c) => {
|
|
850
847
|
o.push(nc(c));
|
|
851
848
|
}), o;
|
|
852
849
|
}
|
|
853
850
|
const uo = "runtimeEnv", lo = "runtimeMode", co = "runtimeDevice", fo = "runtimeDark", po = "runtimeType", ho = "runtimeData", mo = "runtimeDepends", yo = "runtimeSandbox";
|
|
854
|
-
function
|
|
851
|
+
function hd(r) {
|
|
855
852
|
Se(uo, r);
|
|
856
853
|
}
|
|
857
854
|
function vo() {
|
|
858
855
|
return Re(uo);
|
|
859
856
|
}
|
|
860
|
-
function
|
|
857
|
+
function md(r) {
|
|
861
858
|
Se(lo, r);
|
|
862
859
|
}
|
|
863
860
|
function te() {
|
|
864
861
|
return Re(lo);
|
|
865
862
|
}
|
|
866
|
-
function
|
|
863
|
+
function yd(r) {
|
|
867
864
|
Se(co, $r(r));
|
|
868
865
|
}
|
|
869
866
|
function Le() {
|
|
870
867
|
return Re(co);
|
|
871
868
|
}
|
|
872
|
-
function
|
|
869
|
+
function vd(r) {
|
|
873
870
|
Se(fo, $r(r));
|
|
874
871
|
}
|
|
875
872
|
function pe() {
|
|
876
873
|
return Re(fo);
|
|
877
874
|
}
|
|
878
|
-
function
|
|
875
|
+
function bd(r) {
|
|
879
876
|
Se(po, r);
|
|
880
877
|
}
|
|
881
878
|
function De() {
|
|
882
879
|
return Re(po);
|
|
883
880
|
}
|
|
884
|
-
function
|
|
881
|
+
function gd(r) {
|
|
885
882
|
Se(ho, r);
|
|
886
883
|
}
|
|
887
884
|
function Me() {
|
|
888
885
|
return Re(ho);
|
|
889
886
|
}
|
|
890
|
-
function
|
|
887
|
+
function _d(r) {
|
|
891
888
|
Se(mo, $r(r));
|
|
892
889
|
}
|
|
893
890
|
function bo() {
|
|
@@ -949,7 +946,7 @@ function _o(r, o, c) {
|
|
|
949
946
|
(b = r.eventBus) == null || b.off(y.value, c);
|
|
950
947
|
});
|
|
951
948
|
}
|
|
952
|
-
const ic = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], oc = "#242424", ac = {}, sc = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, uc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, lc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, cc = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, fc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, pc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, dc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, hc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, mc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, yc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, vc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, bc = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, gc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, _c = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Ec = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, xc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Sc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Rc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Tc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } },
|
|
949
|
+
const ic = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], oc = "#242424", ac = {}, sc = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, uc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, lc = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, cc = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, fc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, pc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, dc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, hc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, mc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, yc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, vc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, bc = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, gc = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, _c = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Ec = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, xc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Sc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Rc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Tc = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, wc = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, Oc = { textStyle: { color: "#eeeeee" } }, Nc = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, kc = { lineStyle: { color: "#eeeeee", width: 1 }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, label: { color: "#eeeeee" } } }, Cc = { color: ["#bf444c", "#d88273", "#f6efa6"] }, Pc = { backgroundColor: "rgba(47,69,84,0)", dataBackgroundColor: "rgba(255,255,255,0.3)", fillerColor: "rgba(167,183,204,0.4)", handleColor: "#a7b7cc", handleSize: "100%", textStyle: { color: "#eeeeee" } }, Ac = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, Ic = {
|
|
953
950
|
color: ic,
|
|
954
951
|
backgroundColor: oc,
|
|
955
952
|
textStyle: ac,
|
|
@@ -972,8 +969,8 @@ const ic = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#
|
|
|
972
969
|
valueAxis: Sc,
|
|
973
970
|
logAxis: Rc,
|
|
974
971
|
timeAxis: Tc,
|
|
975
|
-
toolbox:
|
|
976
|
-
legend:
|
|
972
|
+
toolbox: wc,
|
|
973
|
+
legend: Oc,
|
|
977
974
|
tooltip: Nc,
|
|
978
975
|
timeline: kc,
|
|
979
976
|
visualMap: Cc,
|
|
@@ -1016,8 +1013,8 @@ _a([
|
|
|
1016
1013
|
Sa,
|
|
1017
1014
|
Ra,
|
|
1018
1015
|
Ta,
|
|
1019
|
-
Oa,
|
|
1020
1016
|
wa,
|
|
1017
|
+
Oa,
|
|
1021
1018
|
Na
|
|
1022
1019
|
]);
|
|
1023
1020
|
Ii("dark", Ic);
|
|
@@ -1034,7 +1031,7 @@ const ff = /* @__PURE__ */ q({
|
|
|
1034
1031
|
return b === "page" ? re === "common" ? u(k) : console.assert(!1) : b === "comp" && re === "common" ? u(k) : console.assert(!1), k;
|
|
1035
1032
|
}), T = Ri("chart");
|
|
1036
1033
|
let g;
|
|
1037
|
-
const
|
|
1034
|
+
const O = () => {
|
|
1038
1035
|
g == null || g.dispose(), g = Li.init(T.value, y.value ? "dark" : "light");
|
|
1039
1036
|
const k = {};
|
|
1040
1037
|
g.setOption(k);
|
|
@@ -1045,7 +1042,7 @@ const ff = /* @__PURE__ */ q({
|
|
|
1045
1042
|
s(k), l(k), a(k), p(k), m(k), g == null || g.setOption(k, !0);
|
|
1046
1043
|
};
|
|
1047
1044
|
return Ti(async () => {
|
|
1048
|
-
window.addEventListener("resize", N, !1), await Pi(() => !!T.value),
|
|
1045
|
+
window.addEventListener("resize", N, !1), await Pi(() => !!T.value), O(), P();
|
|
1049
1046
|
}), lt(() => {
|
|
1050
1047
|
window.removeEventListener("resize", N, !1), g == null || g.dispose();
|
|
1051
1048
|
}), ke(
|
|
@@ -1060,10 +1057,10 @@ const ff = /* @__PURE__ */ q({
|
|
|
1060
1057
|
i
|
|
1061
1058
|
],
|
|
1062
1059
|
async () => {
|
|
1063
|
-
await
|
|
1060
|
+
await wi(), N();
|
|
1064
1061
|
}
|
|
1065
1062
|
), ke([y], () => {
|
|
1066
|
-
|
|
1063
|
+
O(), P();
|
|
1067
1064
|
}), ke(
|
|
1068
1065
|
[o],
|
|
1069
1066
|
() => {
|
|
@@ -1087,7 +1084,7 @@ const ff = /* @__PURE__ */ q({
|
|
|
1087
1084
|
return b === "page" ? re === "common" ? u(k) : console.assert(!1) : b === "comp" && re === "common" ? u(k) : console.assert(!1), k;
|
|
1088
1085
|
}), T = Ri("chart");
|
|
1089
1086
|
let g;
|
|
1090
|
-
const
|
|
1087
|
+
const O = () => {
|
|
1091
1088
|
g == null || g.dispose(), g = Li.init(T.value, y.value ? "dark" : "light");
|
|
1092
1089
|
const k = {};
|
|
1093
1090
|
g.setOption(k);
|
|
@@ -1098,7 +1095,7 @@ const ff = /* @__PURE__ */ q({
|
|
|
1098
1095
|
s(k), l(k), a(k), p(k), m(k), g == null || g.setOption(k, !0);
|
|
1099
1096
|
};
|
|
1100
1097
|
return Ti(async () => {
|
|
1101
|
-
window.addEventListener("resize", N, !1), await Pi(() => !!T.value),
|
|
1098
|
+
window.addEventListener("resize", N, !1), await Pi(() => !!T.value), O(), P();
|
|
1102
1099
|
}), lt(() => {
|
|
1103
1100
|
window.removeEventListener("resize", N, !1), g == null || g.dispose();
|
|
1104
1101
|
}), ke(
|
|
@@ -1113,10 +1110,10 @@ const ff = /* @__PURE__ */ q({
|
|
|
1113
1110
|
i
|
|
1114
1111
|
],
|
|
1115
1112
|
async () => {
|
|
1116
|
-
await
|
|
1113
|
+
await wi(), N();
|
|
1117
1114
|
}
|
|
1118
1115
|
), ke([y], () => {
|
|
1119
|
-
|
|
1116
|
+
O(), P();
|
|
1120
1117
|
}), ke(
|
|
1121
1118
|
[o],
|
|
1122
1119
|
() => {
|
|
@@ -1151,12 +1148,12 @@ function hf(r) {
|
|
|
1151
1148
|
});
|
|
1152
1149
|
}), c;
|
|
1153
1150
|
}
|
|
1154
|
-
var
|
|
1151
|
+
var wt = { exports: {} };
|
|
1155
1152
|
const mf = {}, yf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1156
1153
|
__proto__: null,
|
|
1157
1154
|
default: mf
|
|
1158
1155
|
}, Symbol.toStringTag, { value: "Module" })), vf = /* @__PURE__ */ hf(yf);
|
|
1159
|
-
var bf =
|
|
1156
|
+
var bf = wt.exports, ai;
|
|
1160
1157
|
function gf() {
|
|
1161
1158
|
return ai || (ai = 1, function(r, o) {
|
|
1162
1159
|
(function(d, y) {
|
|
@@ -1485,9 +1482,9 @@ function gf() {
|
|
|
1485
1482
|
e.SYNTAX_ERROR,
|
|
1486
1483
|
"Invalid code in function body"
|
|
1487
1484
|
);
|
|
1488
|
-
var
|
|
1485
|
+
var O = g.body[0].expression;
|
|
1489
1486
|
return e.createFunction(
|
|
1490
|
-
|
|
1487
|
+
O,
|
|
1491
1488
|
e.globalScope,
|
|
1492
1489
|
"anonymous"
|
|
1493
1490
|
);
|
|
@@ -2315,14 +2312,14 @@ function gf() {
|
|
|
2315
2312
|
}, g = "string.split(separator, limit)", P = e.vmCall(g, T, a, m);
|
|
2316
2313
|
P !== n.REGEXP_TIMEOUT && m(e.nativeToPseudo(P));
|
|
2317
2314
|
} else {
|
|
2318
|
-
var
|
|
2315
|
+
var O = e.createWorker(), N = e.regExpTimeout(
|
|
2319
2316
|
a,
|
|
2320
|
-
|
|
2317
|
+
O,
|
|
2321
2318
|
m
|
|
2322
2319
|
);
|
|
2323
|
-
|
|
2320
|
+
O.onmessage = function(k) {
|
|
2324
2321
|
clearTimeout(N), m(e.nativeToPseudo(k.data));
|
|
2325
|
-
},
|
|
2322
|
+
}, O.postMessage(["split", E, a, p]);
|
|
2326
2323
|
}
|
|
2327
2324
|
return;
|
|
2328
2325
|
}
|
|
@@ -2338,9 +2335,9 @@ function gf() {
|
|
|
2338
2335
|
}, T = "string.match(regexp)", N = e.vmCall(T, E, a, p);
|
|
2339
2336
|
N !== n.REGEXP_TIMEOUT && p(N && e.matchToPseudo_(N));
|
|
2340
2337
|
} else {
|
|
2341
|
-
var g = e.createWorker(),
|
|
2338
|
+
var g = e.createWorker(), O = e.regExpTimeout(a, g, p);
|
|
2342
2339
|
g.onmessage = function(P) {
|
|
2343
|
-
clearTimeout(
|
|
2340
|
+
clearTimeout(O), p(P.data && e.matchToPseudo_(P.data));
|
|
2344
2341
|
}, g.postMessage(["match", m, a]);
|
|
2345
2342
|
}
|
|
2346
2343
|
return;
|
|
@@ -2357,10 +2354,10 @@ function gf() {
|
|
|
2357
2354
|
}, T = "string.search(regexp)", g = e.vmCall(T, E, a, p);
|
|
2358
2355
|
g !== n.REGEXP_TIMEOUT && p(g);
|
|
2359
2356
|
} else {
|
|
2360
|
-
var
|
|
2361
|
-
|
|
2357
|
+
var O = e.createWorker(), N = e.regExpTimeout(a, O, p);
|
|
2358
|
+
O.onmessage = function(P) {
|
|
2362
2359
|
clearTimeout(N), p(P.data);
|
|
2363
|
-
},
|
|
2360
|
+
}, O.postMessage(["search", m, a]);
|
|
2364
2361
|
}
|
|
2365
2362
|
return;
|
|
2366
2363
|
}
|
|
@@ -2373,8 +2370,8 @@ function gf() {
|
|
|
2373
2370
|
string: E,
|
|
2374
2371
|
substr: a,
|
|
2375
2372
|
newSubstr: p
|
|
2376
|
-
}, g = "string.replace(substr, newSubstr)",
|
|
2377
|
-
|
|
2373
|
+
}, g = "string.replace(substr, newSubstr)", O = e.vmCall(g, T, a, m);
|
|
2374
|
+
O !== n.REGEXP_TIMEOUT && m(O);
|
|
2378
2375
|
} else {
|
|
2379
2376
|
var N = e.createWorker(), P = e.regExpTimeout(
|
|
2380
2377
|
a,
|
|
@@ -2659,8 +2656,8 @@ function gf() {
|
|
|
2659
2656
|
var p = {
|
|
2660
2657
|
string: s,
|
|
2661
2658
|
regexp: a
|
|
2662
|
-
}, m = "regexp.exec(string)",
|
|
2663
|
-
|
|
2659
|
+
}, m = "regexp.exec(string)", O = e.vmCall(m, p, a, l);
|
|
2660
|
+
O !== n.REGEXP_TIMEOUT && (e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(O)));
|
|
2664
2661
|
} else {
|
|
2665
2662
|
var E = e.createWorker(), T = e.regExpTimeout(a, E, l), g = this;
|
|
2666
2663
|
E.onmessage = function(N) {
|
|
@@ -2669,8 +2666,8 @@ function gf() {
|
|
|
2669
2666
|
}
|
|
2670
2667
|
return;
|
|
2671
2668
|
}
|
|
2672
|
-
var
|
|
2673
|
-
e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(
|
|
2669
|
+
var O = a.exec(s);
|
|
2670
|
+
e.setProperty(this, "lastIndex", a.lastIndex), l(e.matchToPseudo_(O));
|
|
2674
2671
|
}, this.setAsyncFunctionPrototype(this.REGEXP, "exec", i);
|
|
2675
2672
|
}, n.prototype.matchToPseudo_ = function(t) {
|
|
2676
2673
|
if (t) {
|
|
@@ -2876,9 +2873,9 @@ function gf() {
|
|
|
2876
2873
|
}
|
|
2877
2874
|
for (var p = String(this.getProperty(t, "name")), m = String(this.getProperty(t, "message")), E = p + ": " + m + `
|
|
2878
2875
|
`, u = 0; u < i.length; u++) {
|
|
2879
|
-
var T = i[u].datumLoc, g = i[u].datumName,
|
|
2880
|
-
g ? E += " at " + g + " (" +
|
|
2881
|
-
` : E += " at " +
|
|
2876
|
+
var T = i[u].datumLoc, g = i[u].datumName, O = T.source + ":" + T.start.line + ":" + T.start.column;
|
|
2877
|
+
g ? E += " at " + g + " (" + O + `)
|
|
2878
|
+
` : E += " at " + O + `
|
|
2882
2879
|
`;
|
|
2883
2880
|
}
|
|
2884
2881
|
this.setProperty(
|
|
@@ -3032,11 +3029,11 @@ function gf() {
|
|
|
3032
3029
|
}
|
|
3033
3030
|
var g;
|
|
3034
3031
|
Array.isArray(t) ? g = this.createArray() : g = this.createObjectProto(this.OBJECT_PROTO), i.pseudo.push(g);
|
|
3035
|
-
for (var
|
|
3032
|
+
for (var O in t)
|
|
3036
3033
|
this.setProperty(
|
|
3037
3034
|
g,
|
|
3038
|
-
|
|
3039
|
-
this.nativeToPseudo(t[
|
|
3035
|
+
O,
|
|
3036
|
+
this.nativeToPseudo(t[O], i)
|
|
3040
3037
|
);
|
|
3041
3038
|
return g;
|
|
3042
3039
|
}, n.prototype.pseudoToNative = function(t, e) {
|
|
@@ -3421,8 +3418,8 @@ function gf() {
|
|
|
3421
3418
|
this.throwException(this.SYNTAX_ERROR, "Invalid code: " + P.message);
|
|
3422
3419
|
}
|
|
3423
3420
|
a.type = "EvalProgram_", a.body = E.body;
|
|
3424
|
-
var T = i.node.arguments[0], g = T ? T.start : void 0,
|
|
3425
|
-
n.stripLocations_(a, g,
|
|
3421
|
+
var T = i.node.arguments[0], g = T ? T.start : void 0, O = T ? T.end : void 0;
|
|
3422
|
+
n.stripLocations_(a, g, O), p = this.globalScope, u.length = 0;
|
|
3426
3423
|
}
|
|
3427
3424
|
var N = new n.Task(
|
|
3428
3425
|
m,
|
|
@@ -3775,13 +3772,13 @@ function gf() {
|
|
|
3775
3772
|
n.READONLY_DESCRIPTOR
|
|
3776
3773
|
), e.value = void 0, new n.State(a.body, p);
|
|
3777
3774
|
} else if (s.eval) {
|
|
3778
|
-
var
|
|
3779
|
-
if (typeof
|
|
3780
|
-
e.value =
|
|
3775
|
+
var O = e.arguments_[0];
|
|
3776
|
+
if (typeof O != "string")
|
|
3777
|
+
e.value = O;
|
|
3781
3778
|
else {
|
|
3782
3779
|
try {
|
|
3783
3780
|
var N = this.parse_(
|
|
3784
|
-
String(
|
|
3781
|
+
String(O),
|
|
3785
3782
|
"eval" + this.evalCodeNumber_++
|
|
3786
3783
|
);
|
|
3787
3784
|
} catch (G) {
|
|
@@ -4275,21 +4272,21 @@ function gf() {
|
|
|
4275
4272
|
i = n.sourceFile;
|
|
4276
4273
|
}
|
|
4277
4274
|
var l = function(f, h) {
|
|
4278
|
-
for (var _ = 1,
|
|
4279
|
-
gt.lastIndex =
|
|
4275
|
+
for (var _ = 1, w = 0; ; ) {
|
|
4276
|
+
gt.lastIndex = w;
|
|
4280
4277
|
var I = gt.exec(f);
|
|
4281
4278
|
if (I && I.index < h)
|
|
4282
|
-
++_,
|
|
4279
|
+
++_, w = I.index + I[0].length;
|
|
4283
4280
|
else
|
|
4284
4281
|
break;
|
|
4285
4282
|
}
|
|
4286
|
-
return { line: _, column: h -
|
|
4287
|
-
}, a = 0, p = 0, m = 0, E, T, g,
|
|
4283
|
+
return { line: _, column: h - w };
|
|
4284
|
+
}, a = 0, p = 0, m = 0, E, T, g, O, N, P, k, re = 0, ue = 0, Ve, Te, G, ne;
|
|
4288
4285
|
function M(f, h) {
|
|
4289
4286
|
var _ = l(t, f);
|
|
4290
4287
|
h += " (" + _.line + ":" + _.column + ")";
|
|
4291
|
-
var
|
|
4292
|
-
throw
|
|
4288
|
+
var w = new SyntaxError(h);
|
|
4289
|
+
throw w.pos = f, w.loc = _, w.raisedAt = a, w;
|
|
4293
4290
|
}
|
|
4294
4291
|
var Ro = [], ht = { type: "num" }, Jr = { type: "regexp" }, Ft = { type: "string" }, $e = { type: "name" }, Ut = { type: "eof" }, Gt = { keyword: "break" }, Wt = { keyword: "case", beforeExpr: !0 }, Kr = { keyword: "catch" }, qr = { keyword: "continue" }, Zr = { keyword: "debugger" }, Qr = { keyword: "default" }, en = { keyword: "do", isLoop: !0 }, tn = { keyword: "else", beforeExpr: !0 }, rn = { keyword: "finally" }, nn = { keyword: "for", isLoop: !0 }, zt = { keyword: "function" }, on = { keyword: "if" }, an = { keyword: "return", beforeExpr: !0 }, Yt = { keyword: "switch" }, sn = { keyword: "throw", beforeExpr: !0 }, un = { keyword: "try" }, Xt = { keyword: "var" }, Ht = { keyword: "while", isLoop: !0 }, ln = { keyword: "with" }, cn = { keyword: "new", beforeExpr: !0 }, fn = { keyword: "this" }, pn = { keyword: "null", atomValue: null }, dn = { keyword: "true", atomValue: !0 }, hn = { keyword: "false", atomValue: !1 }, mt = { keyword: "in", binop: 7, beforeExpr: !0 }, To = {
|
|
4295
4292
|
break: Gt,
|
|
@@ -4321,10 +4318,10 @@ function gf() {
|
|
|
4321
4318
|
typeof: { keyword: "typeof", prefix: !0, beforeExpr: !0 },
|
|
4322
4319
|
void: { keyword: "void", prefix: !0, beforeExpr: !0 },
|
|
4323
4320
|
delete: { keyword: "delete", prefix: !0, beforeExpr: !0 }
|
|
4324
|
-
}, Jt = { type: "[", beforeExpr: !0 }, Kt = { type: "]" }, Ke = { type: "{", beforeExpr: !0 }, je = { type: "}" }, de = { type: "(", beforeExpr: !0 }, ce = { type: ")" }, _e = { type: ",", beforeExpr: !0 }, he = { type: ";", beforeExpr: !0 }, qe = { type: ":", beforeExpr: !0 }, mn = { type: "." }, yn = { type: "?", beforeExpr: !0 }, vn = { binop: 10, beforeExpr: !0 }, bn = { isAssign: !0, beforeExpr: !0 },
|
|
4321
|
+
}, Jt = { type: "[", beforeExpr: !0 }, Kt = { type: "]" }, Ke = { type: "{", beforeExpr: !0 }, je = { type: "}" }, de = { type: "(", beforeExpr: !0 }, ce = { type: ")" }, _e = { type: ",", beforeExpr: !0 }, he = { type: ";", beforeExpr: !0 }, qe = { type: ":", beforeExpr: !0 }, mn = { type: "." }, yn = { type: "?", beforeExpr: !0 }, vn = { binop: 10, beforeExpr: !0 }, bn = { isAssign: !0, beforeExpr: !0 }, we = { isAssign: !0, beforeExpr: !0 }, wo = { postfix: !0, prefix: !0, isUpdate: !0 }, gn = { prefix: !0, beforeExpr: !0 }, _n = { binop: 1, beforeExpr: !0 }, En = { binop: 2, beforeExpr: !0 }, Oo = { binop: 3, beforeExpr: !0 }, No = { binop: 4, beforeExpr: !0 }, ko = { binop: 5, beforeExpr: !0 }, Co = { binop: 6, beforeExpr: !0 }, Po = { binop: 7, beforeExpr: !0 }, Ao = { binop: 8, beforeExpr: !0 }, Io = { binop: 9, prefix: !0, beforeExpr: !0 }, Lo = { binop: 10, beforeExpr: !0 };
|
|
4325
4322
|
function yt(f) {
|
|
4326
|
-
for (var h = f.split(" "), _ = /* @__PURE__ */ Object.create(null),
|
|
4327
|
-
_[h[
|
|
4323
|
+
for (var h = f.split(" "), _ = /* @__PURE__ */ Object.create(null), w = 0; w < h.length; w++)
|
|
4324
|
+
_[h[w]] = !0;
|
|
4328
4325
|
return function(I) {
|
|
4329
4326
|
return _[I] || !1;
|
|
4330
4327
|
};
|
|
@@ -4334,21 +4331,21 @@ function gf() {
|
|
|
4334
4331
|
}, Tn = function(f) {
|
|
4335
4332
|
return f < 48 ? f === 36 : f < 58 ? !0 : f < 65 ? !1 : f < 91 ? !0 : f < 97 ? f === 95 : f < 123 ? !0 : f >= 170 && jo.test(String.fromCharCode(f));
|
|
4336
4333
|
};
|
|
4337
|
-
function
|
|
4334
|
+
function Oe() {
|
|
4338
4335
|
this.line = P, this.column = a - k;
|
|
4339
4336
|
}
|
|
4340
4337
|
function Bo() {
|
|
4341
4338
|
P = 1, a = k = 0, N = !0, Ze();
|
|
4342
4339
|
}
|
|
4343
4340
|
function Y(f, h) {
|
|
4344
|
-
m = a, n.locations && (T = new
|
|
4341
|
+
m = a, n.locations && (T = new Oe()), g = f, Ze(), O = h, N = f.beforeExpr;
|
|
4345
4342
|
}
|
|
4346
4343
|
function Fo() {
|
|
4347
|
-
var f = n.onComment && n.locations && new
|
|
4344
|
+
var f = n.onComment && n.locations && new Oe(), h = a, _ = t.indexOf("*/", a += 2);
|
|
4348
4345
|
if (_ === -1 && M(a - 2, "Unterminated comment"), a = _ + 2, n.locations) {
|
|
4349
4346
|
gt.lastIndex = h;
|
|
4350
|
-
for (var
|
|
4351
|
-
++P, k =
|
|
4347
|
+
for (var w; (w = gt.exec(t)) && w.index < a; )
|
|
4348
|
+
++P, k = w.index + w[0].length;
|
|
4352
4349
|
}
|
|
4353
4350
|
n.onComment && n.onComment(
|
|
4354
4351
|
!0,
|
|
@@ -4356,11 +4353,11 @@ function gf() {
|
|
|
4356
4353
|
h,
|
|
4357
4354
|
a,
|
|
4358
4355
|
f,
|
|
4359
|
-
n.locations && new
|
|
4356
|
+
n.locations && new Oe()
|
|
4360
4357
|
);
|
|
4361
4358
|
}
|
|
4362
4359
|
function qt() {
|
|
4363
|
-
for (var f = a, h = n.onComment && n.locations && new
|
|
4360
|
+
for (var f = a, h = n.onComment && n.locations && new Oe(), _ = t.charCodeAt(a += 2); a < e && _ !== 10 && _ !== 13 && _ !== 8232 && _ !== 8233; )
|
|
4364
4361
|
++a, _ = t.charCodeAt(a);
|
|
4365
4362
|
n.onComment && n.onComment(
|
|
4366
4363
|
!1,
|
|
@@ -4368,7 +4365,7 @@ function gf() {
|
|
|
4368
4365
|
f,
|
|
4369
4366
|
a,
|
|
4370
4367
|
h,
|
|
4371
|
-
n.locations && new
|
|
4368
|
+
n.locations && new Oe()
|
|
4372
4369
|
);
|
|
4373
4370
|
}
|
|
4374
4371
|
function Ze() {
|
|
@@ -4401,23 +4398,23 @@ function gf() {
|
|
|
4401
4398
|
}
|
|
4402
4399
|
function Uo() {
|
|
4403
4400
|
var f = t.charCodeAt(a + 1);
|
|
4404
|
-
f >= 48 && f <= 57 ?
|
|
4401
|
+
f >= 48 && f <= 57 ? On(!0) : (++a, Y(mn));
|
|
4405
4402
|
}
|
|
4406
4403
|
function Go() {
|
|
4407
4404
|
var f = t.charCodeAt(a + 1);
|
|
4408
|
-
N ? (++a,
|
|
4405
|
+
N ? (++a, wn()) : f === 61 ? X(we, 2) : X(vn, 1);
|
|
4409
4406
|
}
|
|
4410
4407
|
function Wo() {
|
|
4411
4408
|
var f = t.charCodeAt(a + 1);
|
|
4412
|
-
f === 61 ? X(
|
|
4409
|
+
f === 61 ? X(we, 2) : X(Lo, 1);
|
|
4413
4410
|
}
|
|
4414
4411
|
function zo(f) {
|
|
4415
4412
|
var h = t.charCodeAt(a + 1);
|
|
4416
|
-
h === f ? X(f === 124 ? _n : En, 2) : h === 61 ? X(
|
|
4413
|
+
h === f ? X(f === 124 ? _n : En, 2) : h === 61 ? X(we, 2) : X(f === 124 ? Oo : ko, 1);
|
|
4417
4414
|
}
|
|
4418
4415
|
function Yo() {
|
|
4419
4416
|
var f = t.charCodeAt(a + 1);
|
|
4420
|
-
f === 61 ? X(
|
|
4417
|
+
f === 61 ? X(we, 2) : X(No, 1);
|
|
4421
4418
|
}
|
|
4422
4419
|
function Xo(f) {
|
|
4423
4420
|
var h = t.charCodeAt(a + 1);
|
|
@@ -4426,13 +4423,13 @@ function gf() {
|
|
|
4426
4423
|
a += 3, qt(), Ze(), Be();
|
|
4427
4424
|
return;
|
|
4428
4425
|
}
|
|
4429
|
-
X(
|
|
4430
|
-
} else h === 61 ? X(
|
|
4426
|
+
X(wo, 2);
|
|
4427
|
+
} else h === 61 ? X(we, 2) : X(Io, 1);
|
|
4431
4428
|
}
|
|
4432
4429
|
function Ho(f) {
|
|
4433
4430
|
var h = t.charCodeAt(a + 1), _ = 1;
|
|
4434
4431
|
if (h === f) {
|
|
4435
|
-
_ = f === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + _) === 61 ? X(
|
|
4432
|
+
_ = f === 62 && t.charCodeAt(a + 2) === 62 ? 3 : 2, t.charCodeAt(a + _) === 61 ? X(we, _ + 1) : X(Ao, _);
|
|
4436
4433
|
return;
|
|
4437
4434
|
}
|
|
4438
4435
|
if (h === 33 && f === 60 && t.charCodeAt(a + 2) === 45 && t.charCodeAt(a + 3) === 45) {
|
|
@@ -4487,7 +4484,7 @@ function gf() {
|
|
|
4487
4484
|
case 55:
|
|
4488
4485
|
case 56:
|
|
4489
4486
|
case 57:
|
|
4490
|
-
return
|
|
4487
|
+
return On(!1);
|
|
4491
4488
|
// Quotes produce strings.
|
|
4492
4489
|
case 34:
|
|
4493
4490
|
case 39:
|
|
@@ -4521,37 +4518,37 @@ function gf() {
|
|
|
4521
4518
|
return !1;
|
|
4522
4519
|
}
|
|
4523
4520
|
function Be(f) {
|
|
4524
|
-
if (f ? a = p + 1 : p = a, n.locations && (E = new
|
|
4521
|
+
if (f ? a = p + 1 : p = a, n.locations && (E = new Oe()), f) return wn();
|
|
4525
4522
|
if (a >= e) return Y(Ut);
|
|
4526
4523
|
var h = t.charCodeAt(a);
|
|
4527
4524
|
if (_t(h) || h === 92)
|
|
4528
4525
|
return kn();
|
|
4529
4526
|
var _ = Ko(h);
|
|
4530
4527
|
if (_ === !1) {
|
|
4531
|
-
var
|
|
4532
|
-
if (
|
|
4528
|
+
var w = String.fromCharCode(h);
|
|
4529
|
+
if (w === "\\" || Rn.test(w))
|
|
4533
4530
|
return kn();
|
|
4534
|
-
M(a, "Unexpected character '" +
|
|
4531
|
+
M(a, "Unexpected character '" + w + "'");
|
|
4535
4532
|
}
|
|
4536
4533
|
}
|
|
4537
4534
|
function X(f, h) {
|
|
4538
4535
|
var _ = t.slice(a, a + h);
|
|
4539
4536
|
a += h, Y(f, _);
|
|
4540
4537
|
}
|
|
4541
|
-
function
|
|
4538
|
+
function wn() {
|
|
4542
4539
|
for (var f, h, _ = a; ; ) {
|
|
4543
4540
|
a >= e && M(_, "Unterminated regexp");
|
|
4544
|
-
var
|
|
4545
|
-
if (bt.test(
|
|
4541
|
+
var w = t.charAt(a);
|
|
4542
|
+
if (bt.test(w) && M(_, "Unterminated regexp"), f)
|
|
4546
4543
|
f = !1;
|
|
4547
4544
|
else {
|
|
4548
|
-
if (
|
|
4545
|
+
if (w === "[")
|
|
4549
4546
|
h = !0;
|
|
4550
|
-
else if (
|
|
4547
|
+
else if (w === "]" && h)
|
|
4551
4548
|
h = !1;
|
|
4552
|
-
else if (
|
|
4549
|
+
else if (w === "/" && !h)
|
|
4553
4550
|
break;
|
|
4554
|
-
f =
|
|
4551
|
+
f = w === "\\";
|
|
4555
4552
|
}
|
|
4556
4553
|
++a;
|
|
4557
4554
|
}
|
|
@@ -4567,25 +4564,25 @@ function gf() {
|
|
|
4567
4564
|
Y(Jr, L);
|
|
4568
4565
|
}
|
|
4569
4566
|
function Qe(f, h) {
|
|
4570
|
-
for (var _ = a,
|
|
4567
|
+
for (var _ = a, w = 0, I = h === void 0 ? 1 / 0 : h, C = 0; C < I; ++C) {
|
|
4571
4568
|
var L = t.charCodeAt(a), F;
|
|
4572
4569
|
if (L >= 97 ? F = L - 97 + 10 : L >= 65 ? F = L - 65 + 10 : L >= 48 && L <= 57 ? F = L - 48 : F = 1 / 0, F >= f) break;
|
|
4573
|
-
++a,
|
|
4570
|
+
++a, w = w * f + F;
|
|
4574
4571
|
}
|
|
4575
|
-
return a === _ || h !== void 0 && a - _ !== h ? null :
|
|
4572
|
+
return a === _ || h !== void 0 && a - _ !== h ? null : w;
|
|
4576
4573
|
}
|
|
4577
4574
|
function qo() {
|
|
4578
4575
|
a += 2;
|
|
4579
4576
|
var f = Qe(16);
|
|
4580
4577
|
f === null && M(p + 2, "Expected hexadecimal number"), _t(t.charCodeAt(a)) && M(a, "Identifier directly after number"), Y(ht, f);
|
|
4581
4578
|
}
|
|
4582
|
-
function
|
|
4583
|
-
var h = a, _ = !1,
|
|
4579
|
+
function On(f) {
|
|
4580
|
+
var h = a, _ = !1, w = t.charCodeAt(a) === 48;
|
|
4584
4581
|
!f && Qe(10) === null && M(h, "Invalid number"), t.charCodeAt(a) === 46 && (++a, Qe(10), _ = !0);
|
|
4585
4582
|
var I = t.charCodeAt(a);
|
|
4586
4583
|
(I === 69 || I === 101) && (I = t.charCodeAt(++a), (I === 43 || I === 45) && ++a, Qe(10) === null && M(h, "Invalid number"), _ = !0), _t(t.charCodeAt(a)) && M(a, "Identifier directly after number");
|
|
4587
4584
|
var C = t.slice(h, a), L;
|
|
4588
|
-
_ ? L = parseFloat(C) : !
|
|
4585
|
+
_ ? L = parseFloat(C) : !w || C.length === 1 ? L = parseInt(C, 10) : /[89]/.test(C) || ne ? M(h, "Invalid number") : L = parseInt(C, 8), Y(ht, L);
|
|
4589
4586
|
}
|
|
4590
4587
|
function Zo(f) {
|
|
4591
4588
|
a++;
|
|
@@ -4598,11 +4595,11 @@ function gf() {
|
|
|
4598
4595
|
}
|
|
4599
4596
|
if (_ === 92) {
|
|
4600
4597
|
_ = t.charCodeAt(++a);
|
|
4601
|
-
var
|
|
4602
|
-
for (
|
|
4603
|
-
|
|
4604
|
-
if (
|
|
4605
|
-
ne && M(a - 2, "Octal literal in strict mode"), h += String.fromCharCode(parseInt(
|
|
4598
|
+
var w = /^[0-7]+/.exec(t.slice(a, a + 3));
|
|
4599
|
+
for (w && (w = w[0]); w && parseInt(w, 8) > 255; )
|
|
4600
|
+
w = w.slice(0, -1);
|
|
4601
|
+
if (w === "0" && (w = null), ++a, w)
|
|
4602
|
+
ne && M(a - 2, "Octal literal in strict mode"), h += String.fromCharCode(parseInt(w, 8)), a += w.length - 1;
|
|
4606
4603
|
else
|
|
4607
4604
|
switch (_) {
|
|
4608
4605
|
case 110:
|
|
@@ -4668,10 +4665,10 @@ function gf() {
|
|
|
4668
4665
|
function Nn() {
|
|
4669
4666
|
Fe = !1;
|
|
4670
4667
|
for (var f, h = !0, _ = a; ; ) {
|
|
4671
|
-
var
|
|
4672
|
-
if (Tn(
|
|
4668
|
+
var w = t.charCodeAt(a);
|
|
4669
|
+
if (Tn(w))
|
|
4673
4670
|
Fe && (f += t.charAt(a)), ++a;
|
|
4674
|
-
else if (
|
|
4671
|
+
else if (w === 92) {
|
|
4675
4672
|
Fe || (f = t.slice(_, a)), Fe = !0, t.charCodeAt(++a) !== 117 && M(a, "Expecting Unicode escape sequence \\uXXXX"), ++a;
|
|
4676
4673
|
var I = Et(4), C = String.fromCharCode(I);
|
|
4677
4674
|
C || M(a - 1, "Invalid Unicode escape"), (h ? _t(I) : Tn(I)) || M(a - 4, "Invalid Unicode escape"), f += C;
|
|
@@ -4734,17 +4731,17 @@ function gf() {
|
|
|
4734
4731
|
f.type !== "Identifier" && f.type !== "MemberExpression" && M(f.start, "Assigning to rvalue"), ne && f.type === "Identifier" && vt(f.name) && M(f.start, "Assigning to " + f.name + " in strict mode");
|
|
4735
4732
|
}
|
|
4736
4733
|
function Qo(f) {
|
|
4737
|
-
re = ue = a, n.locations && (Ve = new
|
|
4734
|
+
re = ue = a, n.locations && (Ve = new Oe()), Te = ne = !1, G = [], Be();
|
|
4738
4735
|
var h = f || H(), _ = !0;
|
|
4739
4736
|
for (f || (h.body = []); g !== Ut; ) {
|
|
4740
|
-
var
|
|
4741
|
-
h.body.push(
|
|
4737
|
+
var w = le();
|
|
4738
|
+
h.body.push(w), _ && Qt(w) && Zt(!0), _ = !1;
|
|
4742
4739
|
}
|
|
4743
4740
|
return A(h, "Program");
|
|
4744
4741
|
}
|
|
4745
4742
|
var er = { kind: "loop" }, ea = { kind: "switch" };
|
|
4746
4743
|
function le() {
|
|
4747
|
-
(g === vn || g ===
|
|
4744
|
+
(g === vn || g === we && O === "/=") && Be(!0);
|
|
4748
4745
|
var f = g, h = H();
|
|
4749
4746
|
switch (f) {
|
|
4750
4747
|
case Gt:
|
|
@@ -4752,12 +4749,12 @@ function gf() {
|
|
|
4752
4749
|
V();
|
|
4753
4750
|
var _ = f === Gt;
|
|
4754
4751
|
U(he) || xt() ? h.label = null : g !== $e ? me() : (h.label = xe(), Ne());
|
|
4755
|
-
for (var
|
|
4756
|
-
var I = G[
|
|
4752
|
+
for (var w = 0; w < G.length; ++w) {
|
|
4753
|
+
var I = G[w];
|
|
4757
4754
|
if ((h.label === null || I.name === h.label.name) && (I.kind !== null && (_ || I.kind === "loop") || h.label && _))
|
|
4758
4755
|
break;
|
|
4759
4756
|
}
|
|
4760
|
-
return
|
|
4757
|
+
return w === G.length && M(h.start, "Unsyntactic " + f.keyword), A(h, _ ? "BreakStatement" : "ContinueStatement");
|
|
4761
4758
|
case Zr:
|
|
4762
4759
|
return V(), Ne(), A(h, "DebuggerStatement");
|
|
4763
4760
|
case en:
|
|
@@ -4816,10 +4813,10 @@ function gf() {
|
|
|
4816
4813
|
// next token is a colon and the expression was a simple
|
|
4817
4814
|
// Identifier node, we switch to interpreting it as a label.
|
|
4818
4815
|
default:
|
|
4819
|
-
var ur =
|
|
4816
|
+
var ur = O, Rt = K();
|
|
4820
4817
|
if (f === $e && Rt.type === "Identifier" && U(qe)) {
|
|
4821
|
-
for (var
|
|
4822
|
-
G[
|
|
4818
|
+
for (var w = 0; w < G.length; ++w)
|
|
4819
|
+
G[w].name === ur && M(Rt.start, "Label '" + ur + "' is already declared");
|
|
4823
4820
|
var aa = g.isLoop ? "loop" : g === Yt ? "switch" : null;
|
|
4824
4821
|
return G.push({ name: ur, kind: aa }), h.body = le(), G.pop(), h.label = Rt, A(h, "LabeledStatement");
|
|
4825
4822
|
} else
|
|
@@ -4832,12 +4829,12 @@ function gf() {
|
|
|
4832
4829
|
return W(ce), f;
|
|
4833
4830
|
}
|
|
4834
4831
|
function tt(f) {
|
|
4835
|
-
var h = H(), _ = !0,
|
|
4832
|
+
var h = H(), _ = !0, w = !1, I;
|
|
4836
4833
|
for (h.body = [], W(Ke); !U(je); ) {
|
|
4837
4834
|
var C = le();
|
|
4838
|
-
h.body.push(C), _ && f && Qt(C) && (I =
|
|
4835
|
+
h.body.push(C), _ && f && Qt(C) && (I = w, Zt(w = !0)), _ = !1;
|
|
4839
4836
|
}
|
|
4840
|
-
return
|
|
4837
|
+
return w && !I && Zt(!1), A(h, "BlockStatement");
|
|
4841
4838
|
}
|
|
4842
4839
|
function tr(f, h) {
|
|
4843
4840
|
return f.init = h, W(he), f.test = g === he ? null : K(), W(he), f.update = g === ce ? null : K(), W(ce), f.body = le(), G.pop(), A(f, "ForStatement");
|
|
@@ -4854,9 +4851,9 @@ function gf() {
|
|
|
4854
4851
|
function K(f, h) {
|
|
4855
4852
|
var _ = rr(h);
|
|
4856
4853
|
if (!f && g === _e) {
|
|
4857
|
-
var
|
|
4858
|
-
for (
|
|
4859
|
-
return A(
|
|
4854
|
+
var w = Ee(_);
|
|
4855
|
+
for (w.expressions = [_]; U(_e); ) w.expressions.push(rr(h));
|
|
4856
|
+
return A(w, "SequenceExpression");
|
|
4860
4857
|
}
|
|
4861
4858
|
return _;
|
|
4862
4859
|
}
|
|
@@ -4864,7 +4861,7 @@ function gf() {
|
|
|
4864
4861
|
var h = ta(f);
|
|
4865
4862
|
if (g.isAssign) {
|
|
4866
4863
|
var _ = Ee(h);
|
|
4867
|
-
return _.operator =
|
|
4864
|
+
return _.operator = O, _.left = h, V(), _.right = rr(f), St(h), A(_, "AssignmentExpression");
|
|
4868
4865
|
}
|
|
4869
4866
|
return h;
|
|
4870
4867
|
}
|
|
@@ -4880,12 +4877,12 @@ function gf() {
|
|
|
4880
4877
|
return nr(ir(), -1, f);
|
|
4881
4878
|
}
|
|
4882
4879
|
function nr(f, h, _) {
|
|
4883
|
-
var
|
|
4884
|
-
if (
|
|
4880
|
+
var w = g.binop;
|
|
4881
|
+
if (w !== null && (!_ || g !== mt) && w > h) {
|
|
4885
4882
|
var I = Ee(f);
|
|
4886
|
-
I.left = f, I.operator =
|
|
4883
|
+
I.left = f, I.operator = O;
|
|
4887
4884
|
var C = g;
|
|
4888
|
-
V(), I.right = nr(ir(),
|
|
4885
|
+
V(), I.right = nr(ir(), w, _);
|
|
4889
4886
|
var L = A(I, C === _n || C === En ? "LogicalExpression" : "BinaryExpression");
|
|
4890
4887
|
return nr(L, h, _);
|
|
4891
4888
|
}
|
|
@@ -4894,11 +4891,11 @@ function gf() {
|
|
|
4894
4891
|
function ir() {
|
|
4895
4892
|
if (g.prefix) {
|
|
4896
4893
|
var f = H(), h = g.isUpdate;
|
|
4897
|
-
return f.operator =
|
|
4894
|
+
return f.operator = O, f.prefix = !0, N = !0, V(), f.argument = ir(), h ? St(f.argument) : ne && f.operator === "delete" && f.argument.type === "Identifier" && M(f.start, "Deleting local variable in strict mode"), A(f, h ? "UpdateExpression" : "UnaryExpression");
|
|
4898
4895
|
}
|
|
4899
4896
|
for (var _ = na(); g.postfix && !xt(); ) {
|
|
4900
4897
|
var f = Ee(_);
|
|
4901
|
-
f.operator =
|
|
4898
|
+
f.operator = O, f.prefix = !1, f.argument = _, St(_), V(), _ = A(f, "UpdateExpression");
|
|
4902
4899
|
}
|
|
4903
4900
|
return _;
|
|
4904
4901
|
}
|
|
@@ -4919,7 +4916,7 @@ function gf() {
|
|
|
4919
4916
|
case ht:
|
|
4920
4917
|
case Ft:
|
|
4921
4918
|
case Jr:
|
|
4922
|
-
return f = H(), f.value =
|
|
4919
|
+
return f = H(), f.value = O, f.raw = t.slice(p, m), V(), A(f, "Literal");
|
|
4923
4920
|
case pn:
|
|
4924
4921
|
case dn:
|
|
4925
4922
|
case hn:
|
|
@@ -4927,8 +4924,8 @@ function gf() {
|
|
|
4927
4924
|
case de:
|
|
4928
4925
|
var h = E, _ = p;
|
|
4929
4926
|
V();
|
|
4930
|
-
var
|
|
4931
|
-
return
|
|
4927
|
+
var w = K();
|
|
4928
|
+
return w.start = _, w.end = m, n.locations && (w.loc.start = h, w.loc.end = T), n.ranges && (w.range = [_, m]), W(ce), w;
|
|
4932
4929
|
case Jt:
|
|
4933
4930
|
return f = H(), V(), f.elements = sr(Kt, !0, !0), A(f, "ArrayExpression");
|
|
4934
4931
|
case Ke:
|
|
@@ -4951,16 +4948,16 @@ function gf() {
|
|
|
4951
4948
|
h = !1;
|
|
4952
4949
|
else if (W(_e), n.allowTrailingCommas && U(je))
|
|
4953
4950
|
break;
|
|
4954
|
-
var
|
|
4955
|
-
if (U(qe) ? (
|
|
4951
|
+
var w = { key: Ln() }, I = !1, C;
|
|
4952
|
+
if (U(qe) ? (w.value = K(!0), C = w.kind = "init") : w.key.type === "Identifier" && (w.key.name === "get" || w.key.name === "set") ? (I = _ = !0, C = w.kind = w.key.name, w.key = Ln(), g !== de && me(), w.value = ar(H(), !1)) : me(), w.key.type === "Identifier" && (ne || _))
|
|
4956
4953
|
for (var L = 0; L < f.properties.length; ++L) {
|
|
4957
4954
|
var F = f.properties[L];
|
|
4958
|
-
if (F.key.name ===
|
|
4955
|
+
if (F.key.name === w.key.name) {
|
|
4959
4956
|
var nt = C === F.kind || I && F.kind === "init" || C === "init" && (F.kind === "get" || F.kind === "set");
|
|
4960
|
-
nt && !ne && C === "init" && F.kind === "init" && (nt = !1), nt && M(
|
|
4957
|
+
nt && !ne && C === "init" && F.kind === "init" && (nt = !1), nt && M(w.key.start, "Redefinition of property");
|
|
4961
4958
|
}
|
|
4962
4959
|
}
|
|
4963
|
-
f.properties.push(
|
|
4960
|
+
f.properties.push(w);
|
|
4964
4961
|
}
|
|
4965
4962
|
return A(f, "ObjectExpression");
|
|
4966
4963
|
}
|
|
@@ -4972,8 +4969,8 @@ function gf() {
|
|
|
4972
4969
|
var _ = !0;
|
|
4973
4970
|
for (W(de); !U(ce); )
|
|
4974
4971
|
_ ? _ = !1 : W(_e), f.params.push(xe());
|
|
4975
|
-
var
|
|
4976
|
-
if (Te = !0, G = [], f.body = tt(!0), Te =
|
|
4972
|
+
var w = Te, I = G;
|
|
4973
|
+
if (Te = !0, G = [], f.body = tt(!0), Te = w, G = I, ne || f.body.body.length && Qt(f.body.body[0]))
|
|
4977
4974
|
for (var C = f.id ? -1 : 0; C < f.params.length; ++C) {
|
|
4978
4975
|
var L = C < 0 ? f.id : f.params[C];
|
|
4979
4976
|
if ((xn(L.name) || vt(L.name)) && M(L.start, "Defining '" + L.name + "' in strict mode"), C >= 0)
|
|
@@ -4983,18 +4980,18 @@ function gf() {
|
|
|
4983
4980
|
return A(f, h ? "FunctionDeclaration" : "FunctionExpression");
|
|
4984
4981
|
}
|
|
4985
4982
|
function sr(f, h, _) {
|
|
4986
|
-
for (var
|
|
4983
|
+
for (var w = [], I = !0; !U(f); ) {
|
|
4987
4984
|
if (I)
|
|
4988
4985
|
I = !1;
|
|
4989
4986
|
else if (W(_e), h && n.allowTrailingCommas && U(f))
|
|
4990
4987
|
break;
|
|
4991
|
-
|
|
4988
|
+
w.push(_ && g === _e ? null : K(!0));
|
|
4992
4989
|
}
|
|
4993
|
-
return
|
|
4990
|
+
return w;
|
|
4994
4991
|
}
|
|
4995
4992
|
function xe(f) {
|
|
4996
4993
|
var h = H();
|
|
4997
|
-
return f && n.forbidReserved === "everywhere" && (f = !1), g === $e ? (!f && (n.forbidReserved && Do(
|
|
4994
|
+
return f && n.forbidReserved === "everywhere" && (f = !1), g === $e ? (!f && (n.forbidReserved && Do(O) || ne && xn(O)) && t.slice(p, m).indexOf("\\") === -1 && M(p, "The keyword '" + O + "' is reserved"), h.name = O) : f && g.keyword ? h.name = g.keyword : me(), N = !1, V(), A(h, "Identifier");
|
|
4998
4995
|
}
|
|
4999
4996
|
});
|
|
5000
4997
|
}
|
|
@@ -5054,7 +5051,7 @@ function gf() {
|
|
|
5054
5051
|
})(), b = b.default, b;
|
|
5055
5052
|
})()
|
|
5056
5053
|
));
|
|
5057
|
-
}(
|
|
5054
|
+
}(wt)), wt.exports;
|
|
5058
5055
|
}
|
|
5059
5056
|
var _f = gf();
|
|
5060
5057
|
const Ef = /* @__PURE__ */ df(_f);
|
|
@@ -5185,15 +5182,15 @@ function Rf(r, o, c) {
|
|
|
5185
5182
|
}
|
|
5186
5183
|
const E = l.split("."), T = E.length;
|
|
5187
5184
|
for (let g = 0; g < T; g++) {
|
|
5188
|
-
const
|
|
5185
|
+
const O = E[g];
|
|
5189
5186
|
if (g === T - 1)
|
|
5190
|
-
m[
|
|
5187
|
+
m[O] = a;
|
|
5191
5188
|
else {
|
|
5192
5189
|
if (!m) {
|
|
5193
5190
|
console.error(`setNodePropV1 unpkg failed, ${p}`);
|
|
5194
5191
|
return;
|
|
5195
5192
|
}
|
|
5196
|
-
m = m[
|
|
5193
|
+
m = m[O];
|
|
5197
5194
|
}
|
|
5198
5195
|
}
|
|
5199
5196
|
}
|
|
@@ -5247,7 +5244,7 @@ function Rf(r, o, c) {
|
|
|
5247
5244
|
function Tf(r, o, c) {
|
|
5248
5245
|
xf(o, c), Rf(r, o, c);
|
|
5249
5246
|
}
|
|
5250
|
-
const
|
|
5247
|
+
const wf = `
|
|
5251
5248
|
var __env__ = 'dev'
|
|
5252
5249
|
|
|
5253
5250
|
function __getEnvV1__() {
|
|
@@ -5256,7 +5253,7 @@ function __getEnvV1__() {
|
|
|
5256
5253
|
|
|
5257
5254
|
var __pointerPosX__ = 0
|
|
5258
5255
|
var __pointerPosY__ = 0
|
|
5259
|
-
`,
|
|
5256
|
+
`, Of = `
|
|
5260
5257
|
var __events__ = {}
|
|
5261
5258
|
|
|
5262
5259
|
function __addEventListenerV1__(id, event, callback) {
|
|
@@ -5372,7 +5369,7 @@ function __timeoutCallbackV1__(timerId) {
|
|
|
5372
5369
|
`, kf = `
|
|
5373
5370
|
function __destroy__() {
|
|
5374
5371
|
}
|
|
5375
|
-
`, Cf =
|
|
5372
|
+
`, Cf = wf + Of + Nf + kf;
|
|
5376
5373
|
function Eo(r, o) {
|
|
5377
5374
|
const c = new Ef(
|
|
5378
5375
|
Cf,
|
|
@@ -5388,7 +5385,7 @@ __triggerEvent__('globality', 'startup');
|
|
|
5388
5385
|
function xo(r) {
|
|
5389
5386
|
r.appendCode("__destroy__();"), r.run();
|
|
5390
5387
|
}
|
|
5391
|
-
function
|
|
5388
|
+
function Ed(r, o, c, d, y) {
|
|
5392
5389
|
let b = r;
|
|
5393
5390
|
for (let S = 0; S < o.length; S++)
|
|
5394
5391
|
if (b = b.children[o[S]], !b) {
|
|
@@ -5406,7 +5403,7 @@ function xd(r, o, c, d, y) {
|
|
|
5406
5403
|
children: {}
|
|
5407
5404
|
}, b.children[c] = v);
|
|
5408
5405
|
}
|
|
5409
|
-
const
|
|
5406
|
+
const xd = [
|
|
5410
5407
|
"string",
|
|
5411
5408
|
"number",
|
|
5412
5409
|
"boolean",
|
|
@@ -5446,7 +5443,7 @@ const Af = /* @__PURE__ */ q({
|
|
|
5446
5443
|
const i = () => {
|
|
5447
5444
|
e.eventBus && (e.eventBus = void 0), e.interpreter && (xo(e.interpreter), e.interpreter = void 0);
|
|
5448
5445
|
};
|
|
5449
|
-
|
|
5446
|
+
Oi(() => {
|
|
5450
5447
|
if (!c.refContext.refid) {
|
|
5451
5448
|
n.value = -1, t.value = void 0, i();
|
|
5452
5449
|
return;
|
|
@@ -5459,12 +5456,12 @@ const Af = /* @__PURE__ */ q({
|
|
|
5459
5456
|
if (n.value === T.dataSeq || (n.value = T.dataSeq, t.value = Z(T.data), y !== "runtime"))
|
|
5460
5457
|
return;
|
|
5461
5458
|
i();
|
|
5462
|
-
const g = t.value,
|
|
5463
|
-
if (
|
|
5459
|
+
const g = t.value, O = g.code.script;
|
|
5460
|
+
if (O) {
|
|
5464
5461
|
const N = So();
|
|
5465
5462
|
e.eventBus = N, e.interpreter = Eo(
|
|
5466
5463
|
{ env: d, type: v, data: g, eventBus: N },
|
|
5467
|
-
|
|
5464
|
+
O
|
|
5468
5465
|
);
|
|
5469
5466
|
}
|
|
5470
5467
|
}), lt(() => {
|
|
@@ -5475,8 +5472,8 @@ const Af = /* @__PURE__ */ q({
|
|
|
5475
5472
|
return v === "page" ? g === "common" ? u(T) : console.assert(!1) : v === "comp" && g === "common" ? u(T) : console.assert(!1), T;
|
|
5476
5473
|
});
|
|
5477
5474
|
function l(T) {
|
|
5478
|
-
const g = Hr[S.value.version].refKey,
|
|
5479
|
-
return
|
|
5475
|
+
const g = Hr[S.value.version].refKey, O = Pe[g];
|
|
5476
|
+
return O ? J(O.comp, {
|
|
5480
5477
|
refContext: {
|
|
5481
5478
|
parent: c.refContext,
|
|
5482
5479
|
refid: T.ref.id
|
|
@@ -5489,11 +5486,11 @@ const Af = /* @__PURE__ */ q({
|
|
|
5489
5486
|
const g = Pe[T.basic.key];
|
|
5490
5487
|
if (!g)
|
|
5491
5488
|
return console.assert(!1, `element not found key=${T.basic.key}`), J("div", `element not found key=${T.basic.key}`);
|
|
5492
|
-
const
|
|
5489
|
+
const O = [];
|
|
5493
5490
|
return g.slots.some((P) => P.key === "default") && ((N = T.children) == null || N.forEach((P) => {
|
|
5494
5491
|
const k = p(P);
|
|
5495
|
-
|
|
5496
|
-
})), J(g.comp, { node: T }, { default: () =>
|
|
5492
|
+
O.push(k);
|
|
5493
|
+
})), J(g.comp, { node: T }, { default: () => O });
|
|
5497
5494
|
}
|
|
5498
5495
|
function p(T) {
|
|
5499
5496
|
return T.ref ? l(T) : a(T);
|
|
@@ -5515,8 +5512,8 @@ const Af = /* @__PURE__ */ q({
|
|
|
5515
5512
|
const T = t.value.type;
|
|
5516
5513
|
if (T === "common") {
|
|
5517
5514
|
const g = [];
|
|
5518
|
-
return t.value.view.nodes.forEach((
|
|
5519
|
-
g.push(p(
|
|
5515
|
+
return t.value.view.nodes.forEach((O) => {
|
|
5516
|
+
g.push(p(O));
|
|
5520
5517
|
}), J("div", { id: c.id, style: s.value }, g);
|
|
5521
5518
|
} else
|
|
5522
5519
|
return console.assert(!1, `invalid subtype=${T}`), J("div", { id: c.id }, `invalid subtype=${T}`);
|
|
@@ -5535,7 +5532,7 @@ const Af = /* @__PURE__ */ q({
|
|
|
5535
5532
|
const e = () => {
|
|
5536
5533
|
t.eventBus && (t.eventBus = void 0), t.interpreter && (xo(t.interpreter), t.interpreter = void 0);
|
|
5537
5534
|
};
|
|
5538
|
-
|
|
5535
|
+
Oi(() => {
|
|
5539
5536
|
if (!c.refContext.refid) {
|
|
5540
5537
|
x.value = -1, n.value = void 0, e();
|
|
5541
5538
|
return;
|
|
@@ -5585,8 +5582,8 @@ const Af = /* @__PURE__ */ q({
|
|
|
5585
5582
|
if (!E)
|
|
5586
5583
|
return console.assert(!1, `element not found key=${m.basic.key}`), J("div", `element not found key=${m.basic.key}`);
|
|
5587
5584
|
const T = [];
|
|
5588
|
-
return E.slots.some((
|
|
5589
|
-
T.push(l(
|
|
5585
|
+
return E.slots.some((O) => O.key === "default") && ((g = m.children) == null || g.forEach((O) => {
|
|
5586
|
+
T.push(l(O));
|
|
5590
5587
|
})), J(E.comp, { node: m }, { default: () => T });
|
|
5591
5588
|
}
|
|
5592
5589
|
function l(m) {
|
|
@@ -5873,11 +5870,11 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
|
|
|
5873
5870
|
y,
|
|
5874
5871
|
(s = o.node.settings) == null ? void 0 : s.backgroundColor
|
|
5875
5872
|
), i = (l) => {
|
|
5876
|
-
var g,
|
|
5873
|
+
var g, O, N, P;
|
|
5877
5874
|
e.value && (l.backgroundColor = e.value), l.display = "flex";
|
|
5878
5875
|
const a = so(d.value.width), p = ot(a, (g = o.node.settings) == null ? void 0 : g.direction);
|
|
5879
5876
|
p === "row" ? l.flexDirection = "row" : p === "rowReverse" ? l.flexDirection = "row-reverse" : p === "column" ? l.flexDirection = "column" : p === "columnReverse" && (l.flexDirection = "column-reverse");
|
|
5880
|
-
const m = ot(a, (
|
|
5877
|
+
const m = ot(a, (O = o.node.settings) == null ? void 0 : O.wrap);
|
|
5881
5878
|
m === "no" ? l.flexWrap = "nowrap" : m === "yes" ? l.flexWrap = "wrap" : m === "reverse" && (l.flexWrap = "wrap-reverse");
|
|
5882
5879
|
const E = ot(a, (N = o.node.settings) == null ? void 0 : N.mainAlign);
|
|
5883
5880
|
E === "start" ? l.justifyContent = "flex-start" : E === "end" ? l.justifyContent = "flex-end" : E === "center" ? l.justifyContent = "center" : E === "spaceBetween" ? l.justifyContent = "space-between" : E === "spaceAround" ? l.justifyContent = "space-around" : E === "spaceEvenly" && (l.justifyContent = "space-evenly");
|
|
@@ -6241,7 +6238,7 @@ const ap = /* @__PURE__ */ Bt(ip, [["render", op]]), sp = { key: 0 }, up = /* @_
|
|
|
6241
6238
|
]), 1032, ["label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
|
|
6242
6239
|
};
|
|
6243
6240
|
}
|
|
6244
|
-
}), br = "bar_chart_v1", gr = "btn_v1", _r = "card_v1", Er = "chip_v1", xr = "combobox_v1", Sr = "container_v1", Rr = "data_table_v1", Tr = "dialog_v1",
|
|
6241
|
+
}), br = "bar_chart_v1", gr = "btn_v1", _r = "card_v1", Er = "chip_v1", xr = "combobox_v1", Sr = "container_v1", Rr = "data_table_v1", Tr = "dialog_v1", wr = "flex_layout_v1", Or = "flex_layout_entry_v1", Nr = "globality_v1", kr = "line_chart_v1", Cr = "menu_v1", Pr = "number_input_v1", Ar = "rating_v1", Ot = "ref_v1", Ir = "select_v1", Lr = "text_v1", Dr = "text_area_v1", Mr = "text_field_v1", D = {
|
|
6245
6242
|
key: "basic",
|
|
6246
6243
|
name: "x-runtime-lib.basic",
|
|
6247
6244
|
children: [
|
|
@@ -6744,7 +6741,7 @@ const li = {
|
|
|
6744
6741
|
}
|
|
6745
6742
|
]
|
|
6746
6743
|
}, hp = {
|
|
6747
|
-
key:
|
|
6744
|
+
key: Ot,
|
|
6748
6745
|
name: "x-runtime-lib.ref",
|
|
6749
6746
|
comp: Af,
|
|
6750
6747
|
slots: [],
|
|
@@ -7284,7 +7281,7 @@ const vi = {
|
|
|
7284
7281
|
}
|
|
7285
7282
|
]
|
|
7286
7283
|
}, Sp = {
|
|
7287
|
-
key:
|
|
7284
|
+
key: wr,
|
|
7288
7285
|
name: "x-runtime-lib.flexLayout",
|
|
7289
7286
|
comp: Yf,
|
|
7290
7287
|
slots: [
|
|
@@ -7323,7 +7320,7 @@ const vi = {
|
|
|
7323
7320
|
}
|
|
7324
7321
|
]
|
|
7325
7322
|
}, Rp = {
|
|
7326
|
-
key:
|
|
7323
|
+
key: Or,
|
|
7327
7324
|
name: "x-runtime-lib.flexLayoutEntry",
|
|
7328
7325
|
comp: Xf,
|
|
7329
7326
|
slots: [
|
|
@@ -7409,7 +7406,7 @@ const vi = {
|
|
|
7409
7406
|
default: !1
|
|
7410
7407
|
}
|
|
7411
7408
|
]
|
|
7412
|
-
},
|
|
7409
|
+
}, wp = {
|
|
7413
7410
|
key: Pr,
|
|
7414
7411
|
name: "x-runtime-lib.numberInput",
|
|
7415
7412
|
comp: qf,
|
|
@@ -7420,7 +7417,7 @@ const vi = {
|
|
|
7420
7417
|
pageCommon: [D, gi],
|
|
7421
7418
|
compCommon: [D, gi]
|
|
7422
7419
|
}
|
|
7423
|
-
},
|
|
7420
|
+
}, Op = {
|
|
7424
7421
|
key: Ar,
|
|
7425
7422
|
name: "x-runtime-lib.rating",
|
|
7426
7423
|
comp: ep,
|
|
@@ -7808,9 +7805,9 @@ const vi = {
|
|
|
7808
7805
|
{
|
|
7809
7806
|
title: "x-runtime-lib.notSet",
|
|
7810
7807
|
value: "",
|
|
7811
|
-
ui: "
|
|
7812
|
-
validator: (r) => r
|
|
7813
|
-
default:
|
|
7808
|
+
ui: "word",
|
|
7809
|
+
validator: (r) => !r,
|
|
7810
|
+
default: ""
|
|
7814
7811
|
},
|
|
7815
7812
|
{
|
|
7816
7813
|
title: "x-runtime-lib.thin",
|
|
@@ -7848,9 +7845,9 @@ const vi = {
|
|
|
7848
7845
|
{
|
|
7849
7846
|
title: "x-runtime-lib.notSet",
|
|
7850
7847
|
value: "",
|
|
7851
|
-
ui: "
|
|
7852
|
-
validator: (r) => r
|
|
7853
|
-
default:
|
|
7848
|
+
ui: "word",
|
|
7849
|
+
validator: (r) => !r,
|
|
7850
|
+
default: ""
|
|
7854
7851
|
},
|
|
7855
7852
|
{
|
|
7856
7853
|
title: "x-runtime-lib.left",
|
|
@@ -7870,9 +7867,9 @@ const vi = {
|
|
|
7870
7867
|
{
|
|
7871
7868
|
title: "x-runtime-lib.notSet",
|
|
7872
7869
|
value: "",
|
|
7873
|
-
ui: "
|
|
7874
|
-
validator: (r) => r
|
|
7875
|
-
default:
|
|
7870
|
+
ui: "word",
|
|
7871
|
+
validator: (r) => !r,
|
|
7872
|
+
default: ""
|
|
7876
7873
|
},
|
|
7877
7874
|
{
|
|
7878
7875
|
title: "x-runtime-lib.auto",
|
|
@@ -7900,9 +7897,9 @@ const vi = {
|
|
|
7900
7897
|
{
|
|
7901
7898
|
title: "x-runtime-lib.notSet",
|
|
7902
7899
|
value: "",
|
|
7903
|
-
ui: "
|
|
7904
|
-
validator: (r) => r
|
|
7905
|
-
default:
|
|
7900
|
+
ui: "word",
|
|
7901
|
+
validator: (r) => !r,
|
|
7902
|
+
default: ""
|
|
7906
7903
|
},
|
|
7907
7904
|
{
|
|
7908
7905
|
title: "x-runtime-lib.pixel",
|
|
@@ -7925,9 +7922,9 @@ const vi = {
|
|
|
7925
7922
|
{
|
|
7926
7923
|
title: "x-runtime-lib.notSet",
|
|
7927
7924
|
value: "",
|
|
7928
|
-
ui: "
|
|
7929
|
-
validator: (r) => r
|
|
7930
|
-
default:
|
|
7925
|
+
ui: "word",
|
|
7926
|
+
validator: (r) => !r,
|
|
7927
|
+
default: ""
|
|
7931
7928
|
},
|
|
7932
7929
|
{
|
|
7933
7930
|
title: "x-runtime-lib.pixel",
|
|
@@ -7950,9 +7947,9 @@ const vi = {
|
|
|
7950
7947
|
{
|
|
7951
7948
|
title: "x-runtime-lib.notSet",
|
|
7952
7949
|
value: "",
|
|
7953
|
-
ui: "
|
|
7954
|
-
validator: (r) => r
|
|
7955
|
-
default:
|
|
7950
|
+
ui: "word",
|
|
7951
|
+
validator: (r) => !r,
|
|
7952
|
+
default: ""
|
|
7956
7953
|
},
|
|
7957
7954
|
{
|
|
7958
7955
|
title: "x-runtime-lib.start",
|
|
@@ -7979,9 +7976,9 @@ const vi = {
|
|
|
7979
7976
|
{
|
|
7980
7977
|
title: "x-runtime-lib.notSet",
|
|
7981
7978
|
value: "",
|
|
7982
|
-
ui: "
|
|
7983
|
-
validator: (r) => r
|
|
7984
|
-
default:
|
|
7979
|
+
ui: "word",
|
|
7980
|
+
validator: (r) => !r,
|
|
7981
|
+
default: ""
|
|
7985
7982
|
},
|
|
7986
7983
|
{
|
|
7987
7984
|
title: "x-runtime-lib.top",
|
|
@@ -8009,7 +8006,7 @@ const vi = {
|
|
|
8009
8006
|
}, Symbol.toStringTag, { value: "Module" })), rd = {
|
|
8010
8007
|
version: "v1",
|
|
8011
8008
|
globalityKey: Nr,
|
|
8012
|
-
refKey:
|
|
8009
|
+
refKey: Ot,
|
|
8013
8010
|
items: { ...Xp },
|
|
8014
8011
|
types: { ...td },
|
|
8015
8012
|
elements: /* @__PURE__ */ new Set([
|
|
@@ -8021,14 +8018,14 @@ const vi = {
|
|
|
8021
8018
|
Sr,
|
|
8022
8019
|
Rr,
|
|
8023
8020
|
Tr,
|
|
8024
|
-
Or,
|
|
8025
8021
|
wr,
|
|
8022
|
+
Or,
|
|
8026
8023
|
Nr,
|
|
8027
8024
|
kr,
|
|
8028
8025
|
Cr,
|
|
8029
8026
|
Pr,
|
|
8030
8027
|
Ar,
|
|
8031
|
-
|
|
8028
|
+
Ot,
|
|
8032
8029
|
Ir,
|
|
8033
8030
|
Lr,
|
|
8034
8031
|
Dr,
|
|
@@ -8043,11 +8040,11 @@ const vi = {
|
|
|
8043
8040
|
_r,
|
|
8044
8041
|
Er,
|
|
8045
8042
|
Sr,
|
|
8046
|
-
Or,
|
|
8047
8043
|
wr,
|
|
8044
|
+
Or,
|
|
8048
8045
|
Tr,
|
|
8049
8046
|
Cr,
|
|
8050
|
-
|
|
8047
|
+
Ot
|
|
8051
8048
|
]
|
|
8052
8049
|
},
|
|
8053
8050
|
{
|
|
@@ -8102,8 +8099,8 @@ z(xp);
|
|
|
8102
8099
|
z(Sp);
|
|
8103
8100
|
z(Rp);
|
|
8104
8101
|
z(Tp);
|
|
8105
|
-
z(Op);
|
|
8106
8102
|
z(wp);
|
|
8103
|
+
z(Op);
|
|
8107
8104
|
z(Np);
|
|
8108
8105
|
z(kp);
|
|
8109
8106
|
z(Cp);
|
|
@@ -8121,21 +8118,21 @@ const id = (r, o, c) => {
|
|
|
8121
8118
|
);
|
|
8122
8119
|
});
|
|
8123
8120
|
};
|
|
8124
|
-
async function
|
|
8121
|
+
async function Sd(r) {
|
|
8125
8122
|
return (await id(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-8nm0zvdm.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-ckvgmwcn.js") }), `./locales/${r}/index.ts`, 4)).default;
|
|
8126
8123
|
}
|
|
8127
8124
|
export {
|
|
8128
8125
|
ao as breakpoints,
|
|
8129
8126
|
so as calcBreakpoint,
|
|
8130
8127
|
nc as duplicateNode,
|
|
8131
|
-
|
|
8128
|
+
dd as duplicateNodes,
|
|
8132
8129
|
Pe as elements,
|
|
8133
|
-
|
|
8134
|
-
|
|
8130
|
+
Ed as ensureContext,
|
|
8131
|
+
xd as fieldTypes,
|
|
8135
8132
|
oo as genId,
|
|
8136
8133
|
ot as getBreakpointProp,
|
|
8137
8134
|
ni as getIndexOfBreakpoint,
|
|
8138
|
-
|
|
8135
|
+
pd as getNode,
|
|
8139
8136
|
ii as getPropDefault,
|
|
8140
8137
|
tc as getPropTag,
|
|
8141
8138
|
oi as initProps,
|
|
@@ -8147,22 +8144,21 @@ export {
|
|
|
8147
8144
|
te as injectMode,
|
|
8148
8145
|
Wr as injectSandbox,
|
|
8149
8146
|
De as injectType,
|
|
8150
|
-
fd as isEmptyStr,
|
|
8151
8147
|
Gr as isPercentStr,
|
|
8152
8148
|
jt as isPixelStr,
|
|
8153
|
-
|
|
8149
|
+
Sd as loadLocaleMessageRuntime,
|
|
8154
8150
|
So as newEventBus,
|
|
8155
8151
|
pr as parsePercentStr,
|
|
8156
|
-
|
|
8152
|
+
fd as parsePixelStr,
|
|
8157
8153
|
Hr as pkgs,
|
|
8158
|
-
|
|
8159
|
-
|
|
8160
|
-
|
|
8161
|
-
|
|
8162
|
-
|
|
8163
|
-
|
|
8154
|
+
vd as provideDark,
|
|
8155
|
+
gd as provideData,
|
|
8156
|
+
_d as provideDepends,
|
|
8157
|
+
yd as provideDevice,
|
|
8158
|
+
hd as provideEnv,
|
|
8159
|
+
md as provideMode,
|
|
8164
8160
|
go as provideSandbox,
|
|
8165
|
-
|
|
8161
|
+
bd as provideType,
|
|
8166
8162
|
ec as reverseBreakpoints,
|
|
8167
8163
|
rc as spawnNode,
|
|
8168
8164
|
Eo as startInterpreter,
|