@guihz/trading-vue-editor-tes 0.1.14 → 0.1.15
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/lib/assets/{parserTccWorker-C_5Yn3gz.js → parserTccWorker-DioKBXbA.js} +173 -173
- package/lib/assets/{scriptsRunWorker-DssGldLj.js → scriptsRunWorker-BwOwrd6j.js} +6365 -6126
- package/lib/components/editor/v3/parseScript/buildInConstants.d.ts +5 -5
- package/lib/components/editor/v3/parseScript/buildInFuncNamespace/strategy.d.ts +1 -0
- package/lib/components/editor/v4/parseScript/buildInFuncNamespace/table.d.ts +1 -0
- package/lib/components/editor/v5/parseScript/buildInFuncNamespace/strategy.d.ts +19 -2
- package/lib/components/editor/v5/parseScript/buildInFuncNamespace/strategyNew.d.ts +261 -0
- package/lib/components/editor/v5/parseScript/buildInFuncNamespace/table.d.ts +1 -0
- package/lib/trading-vue-editor.es.packages.js +79 -79
- package/lib/trading-vue-editor.umd.packages.mjs +12 -12
- package/package.json +1 -1
@@ -307,7 +307,7 @@ function n_() {
|
|
307
307
|
var j = y.prototype;
|
308
308
|
return !!(j && j.isReactComponent);
|
309
309
|
}
|
310
|
-
function
|
310
|
+
function Gt(y, j, K) {
|
311
311
|
if (y == null)
|
312
312
|
return "";
|
313
313
|
if (typeof y == "function")
|
@@ -325,11 +325,11 @@ function n_() {
|
|
325
325
|
case h:
|
326
326
|
return ai(y.render);
|
327
327
|
case b:
|
328
|
-
return
|
328
|
+
return Gt(y.type, j, K);
|
329
329
|
case x: {
|
330
330
|
var ae = y, Oe = ae._payload, ke = ae._init;
|
331
331
|
try {
|
332
|
-
return
|
332
|
+
return Gt(ke(Oe), j, K);
|
333
333
|
} catch {
|
334
334
|
}
|
335
335
|
}
|
@@ -339,7 +339,7 @@ function n_() {
|
|
339
339
|
var Yn = Object.prototype.hasOwnProperty, kt = {}, yr = W.ReactDebugCurrentFrame;
|
340
340
|
function Vn(y) {
|
341
341
|
if (y) {
|
342
|
-
var j = y._owner, K =
|
342
|
+
var j = y._owner, K = Gt(y.type, y._source, j ? j.type : null);
|
343
343
|
yr.setExtraStackFrame(K);
|
344
344
|
} else
|
345
345
|
yr.setExtraStackFrame(null);
|
@@ -488,7 +488,7 @@ function n_() {
|
|
488
488
|
var Ir = W.ReactCurrentOwner, ui = W.ReactDebugCurrentFrame;
|
489
489
|
function tn(y) {
|
490
490
|
if (y) {
|
491
|
-
var j = y._owner, K =
|
491
|
+
var j = y._owner, K = Gt(y.type, y._source, j ? j.type : null);
|
492
492
|
ui.setExtraStackFrame(K);
|
493
493
|
} else
|
494
494
|
ui.setExtraStackFrame(null);
|
@@ -1385,7 +1385,7 @@ class po {
|
|
1385
1385
|
return n = n || this.options, n.prefix = n.prefix || this.prefix, new po(this.logger, n);
|
1386
1386
|
}
|
1387
1387
|
}
|
1388
|
-
var
|
1388
|
+
var Zt = new po();
|
1389
1389
|
class So {
|
1390
1390
|
constructor() {
|
1391
1391
|
this.observers = {};
|
@@ -1510,7 +1510,7 @@ const oc = {};
|
|
1510
1510
|
class mo extends So {
|
1511
1511
|
constructor(n) {
|
1512
1512
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
1513
|
-
super(), fb(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], n, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger =
|
1513
|
+
super(), fb(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], n, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Zt.create("translator");
|
1514
1514
|
}
|
1515
1515
|
changeLanguage(n) {
|
1516
1516
|
n && (this.language = n);
|
@@ -1760,7 +1760,7 @@ class mo extends So {
|
|
1760
1760
|
const qs = (i) => i.charAt(0).toUpperCase() + i.slice(1);
|
1761
1761
|
class sc {
|
1762
1762
|
constructor(n) {
|
1763
|
-
this.options = n, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
1763
|
+
this.options = n, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Zt.create("languageUtils");
|
1764
1764
|
}
|
1765
1765
|
getScriptPartFromCode(n) {
|
1766
1766
|
if (n = go(n), !n || n.indexOf("-") < 0)
|
@@ -1971,7 +1971,7 @@ const Sb = ["v1", "v2", "v3"], Ob = ["v4"], ac = {
|
|
1971
1971
|
class Ib {
|
1972
1972
|
constructor(n) {
|
1973
1973
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
1974
|
-
this.languageUtils = n, this.options = r, this.logger =
|
1974
|
+
this.languageUtils = n, this.options = r, this.logger = Zt.create("pluralResolver"), (!this.options.compatibilityJSON || Ob.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = Eb(), this.pluralRulesCache = {};
|
1975
1975
|
}
|
1976
1976
|
addRule(n, r) {
|
1977
1977
|
this.rules[n] = r;
|
@@ -2035,7 +2035,7 @@ const lc = function(i, n, r) {
|
|
2035
2035
|
class Ab {
|
2036
2036
|
constructor() {
|
2037
2037
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
2038
|
-
this.logger =
|
2038
|
+
this.logger = Zt.create("interpolator"), this.options = n, this.format = n.interpolation && n.interpolation.format || ((r) => r), this.init(n);
|
2039
2039
|
}
|
2040
2040
|
init() {
|
2041
2041
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
@@ -2193,7 +2193,7 @@ const kb = (i) => {
|
|
2193
2193
|
class Lb {
|
2194
2194
|
constructor() {
|
2195
2195
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
2196
|
-
this.logger =
|
2196
|
+
this.logger = Zt.create("formatter"), this.options = n, this.formats = {
|
2197
2197
|
number: pr((r, s) => {
|
2198
2198
|
const a = new Intl.NumberFormat(r, {
|
2199
2199
|
...s
|
@@ -2276,7 +2276,7 @@ const Tb = (i, n) => {
|
|
2276
2276
|
class Nb extends So {
|
2277
2277
|
constructor(n, r, s) {
|
2278
2278
|
let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
2279
|
-
super(), this.backend = n, this.store = r, this.services = s, this.languageUtils = s.languageUtils, this.options = a, this.logger =
|
2279
|
+
super(), this.backend = n, this.store = r, this.services = s, this.languageUtils = s.languageUtils, this.options = a, this.logger = Zt.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = a.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = a.maxRetries >= 0 ? a.maxRetries : 5, this.retryTimeout = a.retryTimeout >= 1 ? a.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(s, a.backend, a);
|
2280
2280
|
}
|
2281
2281
|
queueLoad(n, r, s, a) {
|
2282
2282
|
const l = {}, c = {}, f = {}, h = {};
|
@@ -2474,7 +2474,7 @@ const uc = () => ({
|
|
2474
2474
|
class ii extends So {
|
2475
2475
|
constructor() {
|
2476
2476
|
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
2477
|
-
if (super(), this.options = cc(n), this.services = {}, this.logger =
|
2477
|
+
if (super(), this.options = cc(n), this.services = {}, this.logger = Zt, this.modules = {
|
2478
2478
|
external: []
|
2479
2479
|
}, Rb(this), r && !this.isInitialized && !n.isClone) {
|
2480
2480
|
if (!this.options.initImmediate)
|
@@ -2499,13 +2499,13 @@ class ii extends So {
|
|
2499
2499
|
}), r.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = r.keySeparator), r.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = r.nsSeparator);
|
2500
2500
|
const l = (v) => v ? typeof v == "function" ? new v() : v : null;
|
2501
2501
|
if (!this.options.isClone) {
|
2502
|
-
this.modules.logger ?
|
2502
|
+
this.modules.logger ? Zt.init(l(this.modules.logger), this.options) : Zt.init(null, this.options);
|
2503
2503
|
let v;
|
2504
2504
|
this.modules.formatter ? v = this.modules.formatter : typeof Intl < "u" && (v = Lb);
|
2505
2505
|
const b = new sc(this.options);
|
2506
2506
|
this.store = new ic(this.options.resources, this.options);
|
2507
2507
|
const x = this.services;
|
2508
|
-
x.logger =
|
2508
|
+
x.logger = Zt, x.resourceStore = this.store, x.languageUtils = b, x.pluralResolver = new Ib(b, {
|
2509
2509
|
prepend: this.options.pluralSeparator,
|
2510
2510
|
compatibilityJSON: this.options.compatibilityJSON,
|
2511
2511
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
@@ -2814,7 +2814,7 @@ function Fb(i, n = 0, r = !0) {
|
|
2814
2814
|
}
|
2815
2815
|
return r && T.push(pe.italic(`${pe.code(a ? "⌘" : "Ctrl")} + ${Dt(ub.clickOnKeywordForMoreHelp)}`)), T.join(T.length === 2 ? " " : pe.lineBreak);
|
2816
2816
|
}
|
2817
|
-
const Vs = "tcc_cursor_position", Db = ["submenuitem.EditorContextPeek", "editor.action.peekDefinition"],
|
2817
|
+
const Vs = "tcc_cursor_position", Db = ["submenuitem.EditorContextPeek", "editor.action.peekDefinition"], Xt = 3;
|
2818
2818
|
function jb(i) {
|
2819
2819
|
return i.replace(/<[^<>]+>/, "").replace(/(series|simple|const|input)\s+([\w\d.]+)/, "$2").replace(/\w[\w.\d]*\[\]/, "array");
|
2820
2820
|
}
|
@@ -2826,7 +2826,7 @@ function Bb(i) {
|
|
2826
2826
|
});
|
2827
2827
|
};
|
2828
2828
|
}
|
2829
|
-
async function An(i =
|
2829
|
+
async function An(i = Xt) {
|
2830
2830
|
switch (i) {
|
2831
2831
|
case 3:
|
2832
2832
|
return await import("./index-Ce2gRdFk.js");
|
@@ -2836,7 +2836,7 @@ async function An(i = Gt) {
|
|
2836
2836
|
return await import("./index-DLIhM_y0.js");
|
2837
2837
|
}
|
2838
2838
|
}
|
2839
|
-
async function Oo(i =
|
2839
|
+
async function Oo(i = Xt) {
|
2840
2840
|
switch (i) {
|
2841
2841
|
case 3:
|
2842
2842
|
return await import("./monarchTokens-CnFYyHnR.js");
|
@@ -3836,7 +3836,7 @@ vo.exports;
|
|
3836
3836
|
["partial", H],
|
3837
3837
|
["partialRight", M],
|
3838
3838
|
["rearg", Y]
|
3839
|
-
], et = "[object Arguments]", Ve = "[object Array]", _t = "[object AsyncFunction]", bt = "[object Boolean]", Qt = "[object Date]", Gn = "[object DOMException]", qn = "[object Error]", Tn = "[object Function]", ai = "[object GeneratorFunction]", yt = "[object Map]",
|
3839
|
+
], et = "[object Arguments]", Ve = "[object Array]", _t = "[object AsyncFunction]", bt = "[object Boolean]", Qt = "[object Date]", Gn = "[object DOMException]", qn = "[object Error]", Tn = "[object Function]", ai = "[object GeneratorFunction]", yt = "[object Map]", Gt = "[object Number]", Yn = "[object Null]", kt = "[object Object]", yr = "[object Promise]", Vn = "[object Proxy]", Nn = "[object RegExp]", xt = "[object Set]", en = "[object String]", Jn = "[object Symbol]", Io = "[object Undefined]", gn = "[object WeakMap]", li = "[object WeakSet]", jt = "[object ArrayBuffer]", pn = "[object DataView]", Zn = "[object Float32Array]", Xn = "[object Float64Array]", Rn = "[object Int8Array]", xr = "[object Int16Array]", wr = "[object Int32Array]", Cr = "[object Uint8Array]", Sr = "[object Uint8ClampedArray]", Or = "[object Uint16Array]", Er = "[object Uint32Array]", Ao = /\b__p \+= '';/g, Ir = /\b(__p \+=) '' \+/g, ui = /(__e\(.*?\)|\b__t\)) \+\n'';/g, tn = /&(?:amp|lt|gt|quot|#39);/g, Qn = /[&<>"']/g, Ar = RegExp(tn.source), ci = RegExp(Qn.source), ko = /<%-([\s\S]+?)%>/g, fi = /<%([\s\S]+?)%>/g, di = /<%=([\s\S]+?)%>/g, hi = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, gi = /^\w*$/, Lo = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, kr = /[\\^$.*+?()[\]{}|]/g, pi = RegExp(kr.source), Lr = /^\s+/, To = /\s/, No = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Ro = /\{\n\/\* \[wrapped with (.+)\] \*/, y = /,? & /, j = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, K = /[()=,{}\[\]\/\s]/, ae = /\\(\\)?/g, Oe = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, ke = /\w*$/, xe = /^[-+]0x[0-9a-f]+$/i, _e = /^0b[01]+$/i, tt = /^\[object .+?Constructor\]$/, je = /^0o[0-7]+$/i, He = /^(?:0|[1-9]\d*)$/, ft = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Bt = /($^)/, mi = /['\n\r\u2028\u2029\\]/g, dt = "\\ud800-\\udfff", Uf = "\\u0300-\\u036f", Hf = "\\ufe20-\\ufe2f", Wf = "\\u20d0-\\u20ff", ya = Uf + Hf + Wf, xa = "\\u2700-\\u27bf", wa = "a-z\\xdf-\\xf6\\xf8-\\xff", zf = "\\xac\\xb1\\xd7\\xf7", Kf = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Gf = "\\u2000-\\u206f", qf = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Ca = "A-Z\\xc0-\\xd6\\xd8-\\xde", Sa = "\\ufe0e\\ufe0f", Oa = zf + Kf + Gf + qf, Po = "['’]", Yf = "[" + dt + "]", Ea = "[" + Oa + "]", vi = "[" + ya + "]", Ia = "\\d+", Vf = "[" + xa + "]", Aa = "[" + wa + "]", ka = "[^" + dt + Oa + Ia + xa + wa + Ca + "]", Mo = "\\ud83c[\\udffb-\\udfff]", Jf = "(?:" + vi + "|" + Mo + ")", La = "[^" + dt + "]", $o = "(?:\\ud83c[\\udde6-\\uddff]){2}", Fo = "[\\ud800-\\udbff][\\udc00-\\udfff]", er = "[" + Ca + "]", Ta = "\\u200d", Na = "(?:" + Aa + "|" + ka + ")", Zf = "(?:" + er + "|" + ka + ")", Ra = "(?:" + Po + "(?:d|ll|m|re|s|t|ve))?", Pa = "(?:" + Po + "(?:D|LL|M|RE|S|T|VE))?", Ma = Jf + "?", $a = "[" + Sa + "]?", Xf = "(?:" + Ta + "(?:" + [La, $o, Fo].join("|") + ")" + $a + Ma + ")*", Qf = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", ed = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Fa = $a + Ma + Xf, td = "(?:" + [Vf, $o, Fo].join("|") + ")" + Fa, nd = "(?:" + [La + vi + "?", vi, $o, Fo, Yf].join("|") + ")", rd = RegExp(Po, "g"), id = RegExp(vi, "g"), Do = RegExp(Mo + "(?=" + Mo + ")|" + nd + Fa, "g"), od = RegExp([
|
3840
3840
|
er + "?" + Aa + "+" + Ra + "(?=" + [Ea, er, "$"].join("|") + ")",
|
3841
3841
|
Zf + "+" + Pa + "(?=" + [Ea, er + Na, "$"].join("|") + ")",
|
3842
3842
|
er + "?" + Na + "+" + Ra,
|
@@ -3877,9 +3877,9 @@ vo.exports;
|
|
3877
3877
|
"parseInt",
|
3878
3878
|
"setTimeout"
|
3879
3879
|
], ud = -1, $e = {};
|
3880
|
-
$e[Zn] = $e[Xn] = $e[Rn] = $e[xr] = $e[wr] = $e[Cr] = $e[Sr] = $e[Or] = $e[Er] = !0, $e[et] = $e[Ve] = $e[jt] = $e[bt] = $e[pn] = $e[Qt] = $e[qn] = $e[Tn] = $e[yt] = $e[
|
3880
|
+
$e[Zn] = $e[Xn] = $e[Rn] = $e[xr] = $e[wr] = $e[Cr] = $e[Sr] = $e[Or] = $e[Er] = !0, $e[et] = $e[Ve] = $e[jt] = $e[bt] = $e[pn] = $e[Qt] = $e[qn] = $e[Tn] = $e[yt] = $e[Gt] = $e[kt] = $e[Nn] = $e[xt] = $e[en] = $e[gn] = !1;
|
3881
3881
|
var Pe = {};
|
3882
|
-
Pe[et] = Pe[Ve] = Pe[jt] = Pe[pn] = Pe[bt] = Pe[Qt] = Pe[Zn] = Pe[Xn] = Pe[Rn] = Pe[xr] = Pe[wr] = Pe[yt] = Pe[
|
3882
|
+
Pe[et] = Pe[Ve] = Pe[jt] = Pe[pn] = Pe[bt] = Pe[Qt] = Pe[Zn] = Pe[Xn] = Pe[Rn] = Pe[xr] = Pe[wr] = Pe[yt] = Pe[Gt] = Pe[kt] = Pe[Nn] = Pe[xt] = Pe[en] = Pe[Jn] = Pe[Cr] = Pe[Sr] = Pe[Or] = Pe[Er] = !0, Pe[qn] = Pe[Tn] = Pe[gn] = !1;
|
3883
3883
|
var cd = {
|
3884
3884
|
// Latin-1 Supplement block.
|
3885
3885
|
À: "A",
|
@@ -4660,10 +4660,10 @@ vo.exports;
|
|
4660
4660
|
}), u;
|
4661
4661
|
}
|
4662
4662
|
function dl(e, t) {
|
4663
|
-
return e &&
|
4663
|
+
return e && Yt(t, Xe(t), e);
|
4664
4664
|
}
|
4665
4665
|
function Mh(e, t) {
|
4666
|
-
return e &&
|
4666
|
+
return e && Yt(t, pt(t), e);
|
4667
4667
|
}
|
4668
4668
|
function on(e, t, o) {
|
4669
4669
|
t == "__proto__" && ki ? ki(e, t, {
|
@@ -4760,7 +4760,7 @@ vo.exports;
|
|
4760
4760
|
}
|
4761
4761
|
return O;
|
4762
4762
|
}
|
4763
|
-
var yn = Ul(
|
4763
|
+
var yn = Ul(qt), pl = Ul(rs, !0);
|
4764
4764
|
function Fh(e, t) {
|
4765
4765
|
var o = !0;
|
4766
4766
|
return yn(e, function(u, d, m) {
|
@@ -4796,7 +4796,7 @@ vo.exports;
|
|
4796
4796
|
return d;
|
4797
4797
|
}
|
4798
4798
|
var ns = Hl(), vl = Hl(!0);
|
4799
|
-
function
|
4799
|
+
function qt(e, t) {
|
4800
4800
|
return e && ns(e, t, Xe);
|
4801
4801
|
}
|
4802
4802
|
function rs(e, t) {
|
@@ -4810,7 +4810,7 @@ vo.exports;
|
|
4810
4810
|
function jn(e, t) {
|
4811
4811
|
t = wn(t, e);
|
4812
4812
|
for (var o = 0, u = t.length; e != null && o < u; )
|
4813
|
-
e = e[
|
4813
|
+
e = e[Vt(t[o++])];
|
4814
4814
|
return o && o == u ? e : r;
|
4815
4815
|
}
|
4816
4816
|
function _l(e, t, o) {
|
@@ -4854,13 +4854,13 @@ vo.exports;
|
|
4854
4854
|
return R;
|
4855
4855
|
}
|
4856
4856
|
function Hh(e, t, o, u) {
|
4857
|
-
return
|
4857
|
+
return qt(e, function(d, m, _) {
|
4858
4858
|
t(u, o(d), m, _);
|
4859
4859
|
}), u;
|
4860
4860
|
}
|
4861
4861
|
function jr(e, t, o) {
|
4862
4862
|
t = wn(t, e), e = ou(e, t);
|
4863
|
-
var u = e == null ? e : e[
|
4863
|
+
var u = e == null ? e : e[Vt($t(t))];
|
4864
4864
|
return u == null ? r : wt(u, e, o);
|
4865
4865
|
}
|
4866
4866
|
function bl(e) {
|
@@ -4973,7 +4973,7 @@ vo.exports;
|
|
4973
4973
|
};
|
4974
4974
|
}
|
4975
4975
|
function Sl(e, t) {
|
4976
|
-
return Os(e) && nu(t) ? ru(
|
4976
|
+
return Os(e) && nu(t) ? ru(Vt(e), t) : function(o) {
|
4977
4977
|
var u = Ms(o, e);
|
4978
4978
|
return u === r && u === t ? $s(o, e) : Br(t, u, T | $);
|
4979
4979
|
};
|
@@ -5090,7 +5090,7 @@ vo.exports;
|
|
5090
5090
|
return e;
|
5091
5091
|
t = wn(t, e);
|
5092
5092
|
for (var d = -1, m = t.length, _ = m - 1, w = e; w != null && ++d < m; ) {
|
5093
|
-
var O =
|
5093
|
+
var O = Vt(t[d]), R = o;
|
5094
5094
|
if (O === "__proto__" || O === "constructor" || O === "prototype")
|
5095
5095
|
return e;
|
5096
5096
|
if (d != _) {
|
@@ -5201,7 +5201,7 @@ vo.exports;
|
|
5201
5201
|
return w;
|
5202
5202
|
}
|
5203
5203
|
function hs(e, t) {
|
5204
|
-
return t = wn(t, e), e = ou(e, t), e == null || delete e[
|
5204
|
+
return t = wn(t, e), e = ou(e, t), e == null || delete e[Vt($t(t))];
|
5205
5205
|
}
|
5206
5206
|
function Nl(e, t, o, u) {
|
5207
5207
|
return Ur(e, t, o(jn(e, t)), u);
|
@@ -5321,7 +5321,7 @@ vo.exports;
|
|
5321
5321
|
t[o] = e[o];
|
5322
5322
|
return t;
|
5323
5323
|
}
|
5324
|
-
function
|
5324
|
+
function Yt(e, t, o, u) {
|
5325
5325
|
var d = !o;
|
5326
5326
|
o || (o = {});
|
5327
5327
|
for (var m = -1, _ = t.length; ++m < _; ) {
|
@@ -5331,10 +5331,10 @@ vo.exports;
|
|
5331
5331
|
return o;
|
5332
5332
|
}
|
5333
5333
|
function fg(e, t) {
|
5334
|
-
return
|
5334
|
+
return Yt(e, Ss(e), t);
|
5335
5335
|
}
|
5336
5336
|
function dg(e, t) {
|
5337
|
-
return
|
5337
|
+
return Yt(e, Ql(e), t);
|
5338
5338
|
}
|
5339
5339
|
function Ui(e, t) {
|
5340
5340
|
return function(o, u) {
|
@@ -5680,7 +5680,7 @@ vo.exports;
|
|
5680
5680
|
return !(e.byteLength != t.byteLength || !m(new Ei(e), new Ei(t)));
|
5681
5681
|
case bt:
|
5682
5682
|
case Qt:
|
5683
|
-
case
|
5683
|
+
case Gt:
|
5684
5684
|
return Wt(+e, +t);
|
5685
5685
|
case qn:
|
5686
5686
|
return e.name == t.name && e.message == t.message;
|
@@ -5842,7 +5842,7 @@ vo.exports;
|
|
5842
5842
|
function eu(e, t, o) {
|
5843
5843
|
t = wn(t, e);
|
5844
5844
|
for (var u = -1, d = t.length, m = !1; ++u < d; ) {
|
5845
|
-
var _ =
|
5845
|
+
var _ = Vt(t[u]);
|
5846
5846
|
if (!(m = e != null && o(e, _)))
|
5847
5847
|
break;
|
5848
5848
|
e = e[_];
|
@@ -5878,7 +5878,7 @@ vo.exports;
|
|
5878
5878
|
return Fl(e, o);
|
5879
5879
|
case yt:
|
5880
5880
|
return new u();
|
5881
|
-
case
|
5881
|
+
case Gt:
|
5882
5882
|
case en:
|
5883
5883
|
return new u(e);
|
5884
5884
|
case Nn:
|
@@ -6031,7 +6031,7 @@ vo.exports;
|
|
6031
6031
|
t.push(d ? m.replace(ae, "$1") : u || o);
|
6032
6032
|
}), t;
|
6033
6033
|
});
|
6034
|
-
function
|
6034
|
+
function Vt(e) {
|
6035
6035
|
if (typeof e == "string" || Ot(e))
|
6036
6036
|
return e;
|
6037
6037
|
var t = e + "";
|
@@ -6790,7 +6790,7 @@ vo.exports;
|
|
6790
6790
|
return e == null;
|
6791
6791
|
}
|
6792
6792
|
function ku(e) {
|
6793
|
-
return typeof e == "number" || We(e) && lt(e) ==
|
6793
|
+
return typeof e == "number" || We(e) && lt(e) == Gt;
|
6794
6794
|
}
|
6795
6795
|
function Kr(e) {
|
6796
6796
|
if (!We(e) || lt(e) != kt)
|
@@ -6867,7 +6867,7 @@ vo.exports;
|
|
6867
6867
|
return o || je.test(e) ? pd(e.slice(2), o ? 2 : 8) : xe.test(e) ? me : +e;
|
6868
6868
|
}
|
6869
6869
|
function Ru(e) {
|
6870
|
-
return
|
6870
|
+
return Yt(e, pt(e));
|
6871
6871
|
}
|
6872
6872
|
function t0(e) {
|
6873
6873
|
return e ? Dn(he(e), -D, D) : e === 0 ? e : 0;
|
@@ -6877,17 +6877,17 @@ vo.exports;
|
|
6877
6877
|
}
|
6878
6878
|
var n0 = ur(function(e, t) {
|
6879
6879
|
if (Wr(t) || gt(t)) {
|
6880
|
-
|
6880
|
+
Yt(t, Xe(t), e);
|
6881
6881
|
return;
|
6882
6882
|
}
|
6883
6883
|
for (var o in t)
|
6884
6884
|
Te.call(t, o) && Fr(e, o, t[o]);
|
6885
6885
|
}), Pu = ur(function(e, t) {
|
6886
|
-
|
6886
|
+
Yt(t, pt(t), e);
|
6887
6887
|
}), no = ur(function(e, t, o, u) {
|
6888
|
-
|
6888
|
+
Yt(t, pt(t), e, u);
|
6889
6889
|
}), r0 = ur(function(e, t, o, u) {
|
6890
|
-
|
6890
|
+
Yt(t, Xe(t), e, u);
|
6891
6891
|
}), i0 = an(ts);
|
6892
6892
|
function o0(e, t) {
|
6893
6893
|
var o = lr(e);
|
@@ -6906,7 +6906,7 @@ vo.exports;
|
|
6906
6906
|
return e.push(r, Zl), wt(Mu, r, e);
|
6907
6907
|
});
|
6908
6908
|
function l0(e, t) {
|
6909
|
-
return qa(e, re(t, 3),
|
6909
|
+
return qa(e, re(t, 3), qt);
|
6910
6910
|
}
|
6911
6911
|
function u0(e, t) {
|
6912
6912
|
return qa(e, re(t, 3), rs);
|
@@ -6918,7 +6918,7 @@ vo.exports;
|
|
6918
6918
|
return e == null ? e : vl(e, re(t, 3), pt);
|
6919
6919
|
}
|
6920
6920
|
function d0(e, t) {
|
6921
|
-
return e &&
|
6921
|
+
return e && qt(e, re(t, 3));
|
6922
6922
|
}
|
6923
6923
|
function h0(e, t) {
|
6924
6924
|
return e && rs(e, re(t, 3));
|
@@ -6952,13 +6952,13 @@ vo.exports;
|
|
6952
6952
|
}
|
6953
6953
|
function y0(e, t) {
|
6954
6954
|
var o = {};
|
6955
|
-
return t = re(t, 3),
|
6955
|
+
return t = re(t, 3), qt(e, function(u, d, m) {
|
6956
6956
|
on(o, t(u, d, m), u);
|
6957
6957
|
}), o;
|
6958
6958
|
}
|
6959
6959
|
function x0(e, t) {
|
6960
6960
|
var o = {};
|
6961
|
-
return t = re(t, 3),
|
6961
|
+
return t = re(t, 3), qt(e, function(u, d, m) {
|
6962
6962
|
on(o, d, t(u, d, m));
|
6963
6963
|
}), o;
|
6964
6964
|
}
|
@@ -6973,7 +6973,7 @@ vo.exports;
|
|
6973
6973
|
var u = !1;
|
6974
6974
|
t = Fe(t, function(m) {
|
6975
6975
|
return m = wn(m, e), u || (u = m.length > 1), m;
|
6976
|
-
}),
|
6976
|
+
}), Yt(e, xs(e), o), u && (o = Pt(o, b | x | k, vg));
|
6977
6977
|
for (var d = t.length; d--; )
|
6978
6978
|
hs(o, t[d]);
|
6979
6979
|
return o;
|
@@ -6998,7 +6998,7 @@ vo.exports;
|
|
6998
6998
|
t = wn(t, e);
|
6999
6999
|
var u = -1, d = t.length;
|
7000
7000
|
for (d || (d = 1, e = r); ++u < d; ) {
|
7001
|
-
var m = e == null ? r : e[
|
7001
|
+
var m = e == null ? r : e[Vt(t[u])];
|
7002
7002
|
m === r && (u = d, m = o), e = un(m) ? m.call(e) : m;
|
7003
7003
|
}
|
7004
7004
|
return e;
|
@@ -7016,7 +7016,7 @@ vo.exports;
|
|
7016
7016
|
var m = e && e.constructor;
|
7017
7017
|
d ? o = u ? new m() : [] : Be(e) ? o = un(m) ? lr(Ii(e)) : {} : o = {};
|
7018
7018
|
}
|
7019
|
-
return (d ? Tt :
|
7019
|
+
return (d ? Tt : qt)(e, function(_, w, O) {
|
7020
7020
|
return t(o, _, w, O);
|
7021
7021
|
}), o;
|
7022
7022
|
}
|
@@ -7239,7 +7239,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
7239
7239
|
}
|
7240
7240
|
}), uv = an(function(e, t) {
|
7241
7241
|
return Tt(t, function(o) {
|
7242
|
-
o =
|
7242
|
+
o = Vt(o), on(e, o, Ts(e[o], e));
|
7243
7243
|
}), e;
|
7244
7244
|
});
|
7245
7245
|
function cv(e) {
|
@@ -7317,7 +7317,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
7317
7317
|
}
|
7318
7318
|
var xv = _s(Fe), wv = _s(Ga), Cv = _s(Wo);
|
7319
7319
|
function Wu(e) {
|
7320
|
-
return Os(e) ? zo(
|
7320
|
+
return Os(e) ? zo(Vt(e)) : Qh(e);
|
7321
7321
|
}
|
7322
7322
|
function Sv(e) {
|
7323
7323
|
return function(t) {
|
@@ -7350,7 +7350,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
7350
7350
|
return d;
|
7351
7351
|
}
|
7352
7352
|
function Tv(e) {
|
7353
|
-
return de(e) ? Fe(e,
|
7353
|
+
return de(e) ? Fe(e, Vt) : Ot(e) ? [e] : ht(uu(Le(e)));
|
7354
7354
|
}
|
7355
7355
|
function Nv(e) {
|
7356
7356
|
var t = ++Wd;
|
@@ -7392,7 +7392,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
7392
7392
|
}
|
7393
7393
|
return g.after = pm, g.ary = yu, g.assign = n0, g.assignIn = Pu, g.assignInWith = no, g.assignWith = r0, g.at = i0, g.before = xu, g.bind = Ts, g.bindAll = uv, g.bindKey = wu, g.castArray = Im, g.chain = vu, g.chunk = $g, g.compact = Fg, g.concat = Dg, g.cond = cv, g.conforms = fv, g.constant = Ds, g.countBy = Gp, g.create = o0, g.curry = Cu, g.curryRight = Su, g.debounce = Ou, g.defaults = s0, g.defaultsDeep = a0, g.defer = mm, g.delay = vm, g.difference = jg, g.differenceBy = Bg, g.differenceWith = Ug, g.drop = Hg, g.dropRight = Wg, g.dropRightWhile = zg, g.dropWhile = Kg, g.fill = Gg, g.filter = Yp, g.flatMap = Zp, g.flatMapDeep = Xp, g.flatMapDepth = Qp, g.flatten = hu, g.flattenDeep = qg, g.flattenDepth = Yg, g.flip = _m, g.flow = hv, g.flowRight = gv, g.fromPairs = Vg, g.functions = g0, g.functionsIn = p0, g.groupBy = em, g.initial = Zg, g.intersection = Xg, g.intersectionBy = Qg, g.intersectionWith = ep, g.invert = v0, g.invertBy = _0, g.invokeMap = nm, g.iteratee = js, g.keyBy = rm, g.keys = Xe, g.keysIn = pt, g.map = Ji, g.mapKeys = y0, g.mapValues = x0, g.matches = pv, g.matchesProperty = mv, g.memoize = Xi, g.merge = w0, g.mergeWith = Mu, g.method = vv, g.methodOf = _v, g.mixin = Bs, g.negate = Qi, g.nthArg = yv, g.omit = C0, g.omitBy = S0, g.once = bm, g.orderBy = im, g.over = xv, g.overArgs = ym, g.overEvery = wv, g.overSome = Cv, g.partial = Ns, g.partialRight = Eu, g.partition = om, g.pick = O0, g.pickBy = $u, g.property = Wu, g.propertyOf = Sv, g.pull = ip, g.pullAll = pu, g.pullAllBy = op, g.pullAllWith = sp, g.pullAt = ap, g.range = Ov, g.rangeRight = Ev, g.rearg = xm, g.reject = lm, g.remove = lp, g.rest = wm, g.reverse = ks, g.sampleSize = cm, g.set = I0, g.setWith = A0, g.shuffle = fm, g.slice = up, g.sortBy = gm, g.sortedUniq = mp, g.sortedUniqBy = vp, g.split = Z0, g.spread = Cm, g.tail = _p, g.take = bp, g.takeRight = yp, g.takeRightWhile = xp, g.takeWhile = wp, g.tap = Fp, g.throttle = Sm, g.thru = Vi, g.toArray = Tu, g.toPairs = Fu, g.toPairsIn = Du, g.toPath = Tv, g.toPlainObject = Ru, g.transform = k0, g.unary = Om, g.union = Cp, g.unionBy = Sp, g.unionWith = Op, g.uniq = Ep, g.uniqBy = Ip, g.uniqWith = Ap, g.unset = L0, g.unzip = Ls, g.unzipWith = mu, g.update = T0, g.updateWith = N0, g.values = hr, g.valuesIn = R0, g.without = kp, g.words = Uu, g.wrap = Em, g.xor = Lp, g.xorBy = Tp, g.xorWith = Np, g.zip = Rp, g.zipObject = Pp, g.zipObjectDeep = Mp, g.zipWith = $p, g.entries = Fu, g.entriesIn = Du, g.extend = Pu, g.extendWith = no, Bs(g, g), g.add = Rv, g.attempt = Hu, g.camelCase = F0, g.capitalize = ju, g.ceil = Pv, g.clamp = P0, g.clone = Am, g.cloneDeep = Lm, g.cloneDeepWith = Tm, g.cloneWith = km, g.conformsTo = Nm, g.deburr = Bu, g.defaultTo = dv, g.divide = Mv, g.endsWith = D0, g.eq = Wt, g.escape = j0, g.escapeRegExp = B0, g.every = qp, g.find = Vp, g.findIndex = fu, g.findKey = l0, g.findLast = Jp, g.findLastIndex = du, g.findLastKey = u0, g.floor = $v, g.forEach = _u, g.forEachRight = bu, g.forIn = c0, g.forInRight = f0, g.forOwn = d0, g.forOwnRight = h0, g.get = Ms, g.gt = Rm, g.gte = Pm, g.has = m0, g.hasIn = $s, g.head = gu, g.identity = mt, g.includes = tm, g.indexOf = Jg, g.inRange = M0, g.invoke = b0, g.isArguments = Hn, g.isArray = de, g.isArrayBuffer = Mm, g.isArrayLike = gt, g.isArrayLikeObject = qe, g.isBoolean = $m, g.isBuffer = Sn, g.isDate = Fm, g.isElement = Dm, g.isEmpty = jm, g.isEqual = Bm, g.isEqualWith = Um, g.isError = Rs, g.isFinite = Hm, g.isFunction = un, g.isInteger = Iu, g.isLength = eo, g.isMap = Au, g.isMatch = Wm, g.isMatchWith = zm, g.isNaN = Km, g.isNative = Gm, g.isNil = Ym, g.isNull = qm, g.isNumber = ku, g.isObject = Be, g.isObjectLike = We, g.isPlainObject = Kr, g.isRegExp = Ps, g.isSafeInteger = Vm, g.isSet = Lu, g.isString = to, g.isSymbol = Ot, g.isTypedArray = dr, g.isUndefined = Jm, g.isWeakMap = Zm, g.isWeakSet = Xm, g.join = tp, g.kebabCase = U0, g.last = $t, g.lastIndexOf = np, g.lowerCase = H0, g.lowerFirst = W0, g.lt = Qm, g.lte = e0, g.max = Fv, g.maxBy = Dv, g.mean = jv, g.meanBy = Bv, g.min = Uv, g.minBy = Hv, g.stubArray = Hs, g.stubFalse = Ws, g.stubObject = Iv, g.stubString = Av, g.stubTrue = kv, g.multiply = Wv, g.nth = rp, g.noConflict = bv, g.noop = Us, g.now = Zi, g.pad = z0, g.padEnd = K0, g.padStart = G0, g.parseInt = q0, g.random = $0, g.reduce = sm, g.reduceRight = am, g.repeat = Y0, g.replace = V0, g.result = E0, g.round = zv, g.runInContext = S, g.sample = um, g.size = dm, g.snakeCase = J0, g.some = hm, g.sortedIndex = cp, g.sortedIndexBy = fp, g.sortedIndexOf = dp, g.sortedLastIndex = hp, g.sortedLastIndexBy = gp, g.sortedLastIndexOf = pp, g.startCase = X0, g.startsWith = Q0, g.subtract = Kv, g.sum = Gv, g.sumBy = qv, g.template = ev, g.times = Lv, g.toFinite = cn, g.toInteger = he, g.toLength = Nu, g.toLower = tv, g.toNumber = Ft, g.toSafeInteger = t0, g.toString = Le, g.toUpper = nv, g.trim = rv, g.trimEnd = iv, g.trimStart = ov, g.truncate = sv, g.unescape = av, g.uniqueId = Nv, g.upperCase = lv, g.upperFirst = Fs, g.each = _u, g.eachRight = bu, g.first = gu, Bs(g, function() {
|
7394
7394
|
var e = {};
|
7395
|
-
return
|
7395
|
+
return qt(g, function(t, o) {
|
7396
7396
|
Te.call(g.prototype, o) || (e[o] = t);
|
7397
7397
|
}), e;
|
7398
7398
|
}(), { chain: !1 }), g.VERSION = s, Tt(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(e) {
|
@@ -7447,7 +7447,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
7447
7447
|
return this.reverse().takeWhile(e).reverse();
|
7448
7448
|
}, we.prototype.toArray = function() {
|
7449
7449
|
return this.take(ue);
|
7450
|
-
},
|
7450
|
+
}, qt(we.prototype, function(e, t) {
|
7451
7451
|
var o = /^(?:filter|find|map|reject)|While$/.test(t), u = /^(?:head|last)$/.test(t), d = g[u ? "take" + (t == "last" ? "Right" : "") : t], m = u || /^find/.test(t);
|
7452
7452
|
d && (g.prototype[t] = function() {
|
7453
7453
|
var _ = this.__wrapped__, w = u ? [1] : arguments, O = _ instanceof we, R = w[0], P = O || de(_), F = function(be) {
|
@@ -7475,7 +7475,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
7475
7475
|
return t.apply(de(_) ? _ : [], d);
|
7476
7476
|
});
|
7477
7477
|
};
|
7478
|
-
}),
|
7478
|
+
}), qt(we.prototype, function(e, t) {
|
7479
7479
|
var o = g[t];
|
7480
7480
|
if (o) {
|
7481
7481
|
var u = o.name + "";
|
@@ -7491,7 +7491,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
7491
7491
|
})(vo, vo.exports);
|
7492
7492
|
var Wb = vo.exports;
|
7493
7493
|
const Ke = "mineScript", L = { "color-white": "#ffffff", "color-black": "#000000", "color-transparent": "#00000000", "color-cold-gray-50": "#F8F9FD", "color-cold-gray-100": "#F0F3FA", "color-cold-gray-150": "#E0E3EB", "color-cold-gray-200": "#D1D4DC", "color-cold-gray-250": "#C1C4CD", "color-cold-gray-300": "#B2B5BE", "color-cold-gray-350": "#A3A6AF", "color-cold-gray-400": "#9598A1", "color-cold-gray-450": "#868993", "color-cold-gray-500": "#787B86", "color-cold-gray-550": "#6A6D78", "color-cold-gray-600": "#5D606B", "color-cold-gray-650": "#50535E", "color-cold-gray-700": "#434651", "color-cold-gray-750": "#363A45", "color-cold-gray-800": "#2A2E39", "color-cold-gray-850": "#1E222D", "color-cold-gray-900": "#131722", "color-cold-gray-950": "#0C0E15", "color-ripe-red-50": "#FFEBEC", "color-ripe-red-100": "#FCCBCD", "color-ripe-red-200": "#FAA1A4", "color-ripe-red-300": "#F77C80", "color-ripe-red-400": "#F7525F", "color-ripe-red-500": "#F23645", "color-ripe-red-600": "#CC2F3C", "color-ripe-red-700": "#B22833", "color-ripe-red-800": "#991F29", "color-ripe-red-900": "#801922", "color-ripe-red-a100": "#FF8080", "color-ripe-red-a200": "#FF5252", "color-ripe-red-a400": "#FF3333", "color-ripe-red-a600": "#CC2929", "color-ripe-red-a700": "#802028", "color-ripe-red-a800": "#4D191D", "color-ripe-red-a900": "#331F20", "color-tan-orange-50": "#FFF3E0", "color-tan-orange-100": "#FFE0B2", "color-tan-orange-200": "#FFCC80", "color-tan-orange-300": "#ffb74d", "color-tan-orange-400": "#FFA726", "color-tan-orange-500": "#FF9800", "color-tan-orange-600": "#FB8C00", "color-tan-orange-700": "#F57C00", "color-tan-orange-800": "#EF6C00", "color-tan-orange-900": "#e65100", "color-tan-orange-a200": "#ffab40", "color-tan-orange-a400": "#FF9100", "color-tan-orange-a600": "#CC7014", "color-tan-orange-a700": "#8C541C", "color-tan-orange-a800": "#593A1B", "color-tan-orange-a900": "#33261A", "color-iguana-green-100": "#C8E6C9", "color-iguana-green-200": "#A5D6A7", "color-iguana-green-300": "#81c784", "color-iguana-green-400": "#66BB6A", "color-iguana-green-500": "#4caf50", "color-iguana-green-600": "#43a047", "color-iguana-green-700": "#388e3c", "color-iguana-green-800": "#2E7D32", "color-iguana-green-900": "#1B5E20", "color-iguana-green-a700": "#00c853", "color-banana-yellow-100": "#FFF9C4", "color-banana-yellow-200": "#FFF59D", "color-banana-yellow-300": "#FFF176", "color-banana-yellow-400": "#ffee58", "color-banana-yellow-500": "#ffeb3b", "color-banana-yellow-600": "#fdd835", "color-banana-yellow-700": "#fbc02d", "color-banana-yellow-800": "#f9a825", "color-banana-yellow-900": "#F57F17", "color-banana-yellow-a400": "#ffea00", "color-banana-yellow-a700": "#EEDA01", "color-tv-blue-50": "#E3EFFD", "color-tv-blue-100": "#BBD9FB", "color-tv-blue-200": "#90BFF9", "color-tv-blue-300": "#5B9CF6", "color-tv-blue-400": "#3179F5", "color-tv-blue-500": "#2962FF", "color-tv-blue-600": "#1E53E5", "color-tv-blue-700": "#1848CC", "color-tv-blue-800": "#143EB3", "color-tv-blue-900": "#0C3299", "color-tv-blue-a100": "#82b1ff", "color-tv-blue-a200": "#448aff", "color-tv-blue-a400": "#2979ff", "color-tv-blue-a600": "#2962FF", "color-tv-blue-a700": "#143A87", "color-tv-blue-a800": "#142E61", "color-tv-blue-a900": "#132042", "color-deep-blue-50": "#EDE7F6", "color-deep-blue-100": "#D1C4E9", "color-deep-blue-200": "#B39DDB", "color-deep-blue-300": "#9575cd", "color-deep-blue-400": "#7e57c2", "color-deep-blue-500": "#673ab7", "color-deep-blue-700": "#512da8", "color-deep-blue-800": "#4527A0", "color-deep-blue-900": "#311B92", "color-deep-blue-a100": "#b388ff", "color-deep-blue-a200": "#7C4DFF", "color-deep-blue-a400": "#651FFF", "color-deep-blue-a700": "#6200EA", "color-minty-green-50": "#DAF2EE", "color-minty-green-100": "#ACE5DC", "color-minty-green-200": "#70CCBD", "color-minty-green-300": "#42BDA8", "color-minty-green-400": "#22AB94", "color-minty-green-500": "#089981", "color-minty-green-600": "#06806B", "color-minty-green-700": "#056656", "color-minty-green-800": "#004D40", "color-minty-green-900": "#00332A", "color-minty-green-a400": "#2BD9BC", "color-minty-green-a600": "#24B29B", "color-minty-green-a700": "#1B7667", "color-minty-green-a800": "#10443B", "color-minty-green-a900": "#082621", "color-grapes-purple-50": "#F3E5F5", "color-grapes-purple-100": "#E1BEE7", "color-grapes-purple-200": "#CE93D8", "color-grapes-purple-300": "#ba68c8", "color-grapes-purple-400": "#ab47bc", "color-grapes-purple-500": "#9c27b0", "color-grapes-purple-600": "#8e24aa", "color-grapes-purple-700": "#7b1fa2", "color-grapes-purple-800": "#6A1B9A", "color-grapes-purple-900": "#4A148C", "color-grapes-purple-a100": "#EA80FC", "color-grapes-purple-a200": "#E040FB", "color-grapes-purple-a400": "#D500F9", "color-grapes-purple-a700": "#aa00ff", "color-berry-pink-100": "#F8BBD0", "color-berry-pink-200": "#f48fb1", "color-berry-pink-300": "#f06292", "color-berry-pink-400": "#ec407a", "color-berry-pink-500": "#e91e63", "color-berry-pink-600": "#D81B60", "color-berry-pink-700": "#C2185B", "color-berry-pink-800": "#AD1457", "color-berry-pink-900": "#880E4F", "color-berry-pink-a100": "#ff80ab", "color-berry-pink-a200": "#ff4081", "color-berry-pink-a400": "#f50057", "color-sky-blue-100": "#B2EBF2", "color-sky-blue-200": "#80DEEA", "color-sky-blue-300": "#4dd0e1", "color-sky-blue-400": "#26c6da", "color-sky-blue-500": "#00bcd4", "color-sky-blue-600": "#00acc1", "color-sky-blue-700": "#0097A7", "color-sky-blue-800": "#00838F", "color-sky-blue-900": "#006064", "color-sky-blue-a400": "#00e5ff", "color-sky-blue-a700": "#00B8D4", "color-deep-blue-600": "#5E35B1", "color-forest-green-50": "#DAF2E6", "color-forest-green-100": "#ACE5C9", "color-forest-green-200": "#70CC9E", "color-forest-green-300": "#42BD7F", "color-forest-green-400": "#22AB67", "color-forest-green-500": "#089950", "color-forest-green-600": "#068043", "color-forest-green-700": "#056636", "color-forest-green-800": "#004D27", "color-forest-green-900": "#1A3326", "color-facebook": "#1877F2", "color-deep-facebook": "#1564CA", "color-twitter": "#1DA1F2", "color-deep-twitter": "#188CD3", "color-youtube": "#FF0000", "color-linkedin": "#007BB5", "color-seeking-alpha-brand": "#ff7200" };
|
7494
|
-
function
|
7494
|
+
function Jt(i, n = 1) {
|
7495
7495
|
return i + Math.round(255 * Math.min(Math.max(n, 0), 1)).toString(16).toUpperCase().padStart(2, "0");
|
7496
7496
|
}
|
7497
7497
|
const da = {
|
@@ -7589,7 +7589,7 @@ const da = {
|
|
7589
7589
|
"editorWidget.background": L["color-white"],
|
7590
7590
|
"editorWidget.foreground": L["color-cold-gray-900"],
|
7591
7591
|
"editorGutter.background": "#00000000",
|
7592
|
-
"editor.foldBackground":
|
7592
|
+
"editor.foldBackground": Jt(L["color-cold-gray-200"], 0.5),
|
7593
7593
|
"editor.lineHighlightBackground": L["color-tv-blue-50"],
|
7594
7594
|
"editor.lineHighlightBorder": L["color-tv-blue-50"],
|
7595
7595
|
"editor.rangeHighlightBackground": L["color-tv-blue-100"],
|
@@ -7615,10 +7615,10 @@ const da = {
|
|
7615
7615
|
"peekViewResult.lineForeground": L["color-cold-gray-900"],
|
7616
7616
|
"editorMarkerNavigationWarning.background": L["color-banana-yellow-800"],
|
7617
7617
|
"inputValidation.warningBackground": L["color-banana-yellow-800"],
|
7618
|
-
"diffEditor.insertedTextBackground":
|
7619
|
-
"diffEditor.insertedLineBackground":
|
7620
|
-
"diffEditor.removedTextBackground":
|
7621
|
-
"diffEditor.removedLineBackground":
|
7618
|
+
"diffEditor.insertedTextBackground": Jt(L["color-forest-green-500"], 0.3),
|
7619
|
+
"diffEditor.insertedLineBackground": Jt(L["color-forest-green-500"], 0.15),
|
7620
|
+
"diffEditor.removedTextBackground": Jt(L["color-ripe-red-500"], 0.3),
|
7621
|
+
"diffEditor.removedLineBackground": Jt(L["color-ripe-red-500"], 0.15),
|
7622
7622
|
"editorInlayHint.background": L["color-cold-gray-150"],
|
7623
7623
|
"editorInlayHint.foreground": L["color-cold-gray-550"],
|
7624
7624
|
"editorError.foreground": L["color-ripe-red-500"],
|
@@ -7719,7 +7719,7 @@ const da = {
|
|
7719
7719
|
"editorHoverWidget.statusBarBackground": L["color-cold-gray-900"],
|
7720
7720
|
"editorWidget.foreground": L["color-cold-gray-300"],
|
7721
7721
|
"editorGutter.background": L["color-cold-gray-900"],
|
7722
|
-
"editor.foldBackground":
|
7722
|
+
"editor.foldBackground": Jt(L["color-cold-gray-700"], 0.5),
|
7723
7723
|
"editor.lineHighlightBackground": L["color-tv-blue-a900"],
|
7724
7724
|
"editor.lineHighlightBorder": L["color-tv-blue-a900"],
|
7725
7725
|
"editor.rangeHighlightBackground": L["color-tv-blue-a800"],
|
@@ -7740,10 +7740,10 @@ const da = {
|
|
7740
7740
|
"textLink.activeForeground": L["color-tv-blue-600"],
|
7741
7741
|
"peekViewEditor.matchHighlightBackground": L["color-tan-orange-a800"],
|
7742
7742
|
"peekViewResult.lineForeground": L["color-cold-gray-350"],
|
7743
|
-
"diffEditor.insertedTextBackground":
|
7744
|
-
"diffEditor.insertedLineBackground":
|
7745
|
-
"diffEditor.removedTextBackground":
|
7746
|
-
"diffEditor.removedLineBackground":
|
7743
|
+
"diffEditor.insertedTextBackground": Jt(L["color-iguana-green-a700"], 0.3),
|
7744
|
+
"diffEditor.insertedLineBackground": Jt(L["color-iguana-green-a700"], 0.15),
|
7745
|
+
"diffEditor.removedTextBackground": Jt(L["color-ripe-red-a400"], 0.3),
|
7746
|
+
"diffEditor.removedLineBackground": Jt(L["color-ripe-red-a400"], 0.15),
|
7747
7747
|
"editorInlayHint.background": L["color-cold-gray-800"],
|
7748
7748
|
"editorInlayHint.foreground": L["color-cold-gray-400"],
|
7749
7749
|
"editorError.foreground": L["color-ripe-red-500"],
|
@@ -8717,7 +8717,7 @@ class g1 {
|
|
8717
8717
|
}
|
8718
8718
|
getVersion() {
|
8719
8719
|
const n = this._editor?.getModel()?.findMatches("\\s*//\\s*@version\\s*=\\s*([0-9])", !0, !0, !1, null, !0);
|
8720
|
-
let r =
|
8720
|
+
let r = Xt;
|
8721
8721
|
if (n && n.length > 0)
|
8722
8722
|
for (const s of n) {
|
8723
8723
|
const a = s.matches?.[1];
|
@@ -8822,7 +8822,7 @@ class g1 {
|
|
8822
8822
|
this._registerList.push(h);
|
8823
8823
|
}
|
8824
8824
|
_setOptions() {
|
8825
|
-
this._monaco.editor.defineTheme("vs-dark", ha), this._monaco.editor.defineTheme("vs", da)
|
8825
|
+
this._monaco.editor.defineTheme("vs-dark", ha), this._monaco.editor.defineTheme("vs", da);
|
8826
8826
|
}
|
8827
8827
|
_addCommands() {
|
8828
8828
|
this._monaco.editor.addCommand({
|
@@ -9156,15 +9156,15 @@ function mr(i, n, r) {
|
|
9156
9156
|
function O1() {
|
9157
9157
|
return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
|
9158
9158
|
}
|
9159
|
-
const Af = new Worker(new URL("" + new URL("assets/scriptsRunWorker-
|
9159
|
+
const Af = new Worker(new URL("" + new URL("assets/scriptsRunWorker-BwOwrd6j.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run MineScript Server" });
|
9160
9160
|
Af.onerror = (i) => {
|
9161
9161
|
console.error(i);
|
9162
9162
|
};
|
9163
9163
|
async function kf(i) {
|
9164
9164
|
return await _o.setInlayHints(i);
|
9165
9165
|
}
|
9166
|
-
const Lf = pa(Af), Tf = pa(new Worker(new URL("" + new URL("assets/parserTccWorker-
|
9167
|
-
async function E1(i, n = !1, r =
|
9166
|
+
const Lf = pa(Af), Tf = pa(new Worker(new URL("" + new URL("assets/parserTccWorker-DioKBXbA.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser MineScript Server" }));
|
9167
|
+
async function E1(i, n = !1, r = Xt) {
|
9168
9168
|
const s = await An(r);
|
9169
9169
|
if (!s)
|
9170
9170
|
return;
|
@@ -9178,7 +9178,7 @@ async function Ny(i, n) {
|
|
9178
9178
|
const { functions: s, types: a, constants: l, variables: c, methods: f } = r.KEY_MAP_LIST;
|
9179
9179
|
return await Tf.parseLibraryCode(i, n, ma(kf), { functions: Object.fromEntries(s), methods: Object.fromEntries(f), types: Object.fromEntries(a), constants: Object.fromEntries(l), variables: Object.fromEntries(c) });
|
9180
9180
|
}
|
9181
|
-
async function Ry(i, n, r = !0, s =
|
9181
|
+
async function Ry(i, n, r = !0, s = Xt) {
|
9182
9182
|
return await Lf.runScript(i, n, r, s);
|
9183
9183
|
}
|
9184
9184
|
async function Py(i) {
|
@@ -9802,7 +9802,7 @@ const oy = (i, n) => {
|
|
9802
9802
|
}
|
9803
9803
|
const A = En(async (ee) => {
|
9804
9804
|
const ye = I.current?.getVersion();
|
9805
|
-
$ && $(ye ||
|
9805
|
+
$ && $(ye || Xt), B.current = !1;
|
9806
9806
|
const { errors: z, functions: te, methods: q, types: ie, variables: le, overloadsFuncs: D, imports: ne, enums: me } = await E1(ee, !1, ye), ue = new Map(Object.entries(te)), De = new Map(Object.entries(q)), Ge = new Map(Object.entries(ie)), it = new Map(Object.entries(le)), et = new Map(Object.entries(ne)), Ve = new Map(Object.entries(me));
|
9807
9807
|
kn.setUserDefined({
|
9808
9808
|
functions: ue,
|
@@ -9860,7 +9860,7 @@ plot(close)
|
|
9860
9860
|
...l
|
9861
9861
|
}, onMount: M, onChange: X }) });
|
9862
9862
|
}, My = lf(oy), $y = (i) => {
|
9863
|
-
const { theme: n, modified: r, original: s, height: a, width: l, renderSideBySide: c = !0, version: f =
|
9863
|
+
const { theme: n, modified: r, original: s, height: a, width: l, renderSideBySide: c = !0, version: f = Xt } = i, h = En(async (p, v) => {
|
9864
9864
|
v.languages.register({
|
9865
9865
|
id: Ke
|
9866
9866
|
}), v.editor.defineTheme("vs-dark", ha), v.editor.defineTheme("vs", da);
|
@@ -10361,7 +10361,7 @@ const Ey = (i) => {
|
|
10361
10361
|
key: "variables",
|
10362
10362
|
prefix: "var",
|
10363
10363
|
index: 0
|
10364
|
-
}, Fy = ({ theme: i = "vs-dark", language: n, currentValue: r, version: s =
|
10364
|
+
}, Fy = ({ theme: i = "vs-dark", language: n, currentValue: r, version: s = Xt, onChange: a, onVersionChange: l }) => {
|
10365
10365
|
const [c, f] = Re({}), { t: h, i18n: p } = br(), [v, b] = Re(Ic), [x, k] = Re(s || 5), [T, $] = Re(null), [U, W] = Re(0), [I, Z] = Re(""), [B, H] = Re(s !== 5 ? "var_accdist" : "var_bar_index"), M = Se(null), A = Se(null), Y = Se(null), X = (D) => {
|
10366
10366
|
D.key === v?.key && !v?.isHidden ? b({ ...D, isHidden: !0 }) : b(D), M.current?.focus();
|
10367
10367
|
}, J = (D, ne = !1) => {
|
@@ -10502,7 +10502,7 @@ const Ey = (i) => {
|
|
10502
10502
|
key: "variables",
|
10503
10503
|
prefix: "var",
|
10504
10504
|
index: 0
|
10505
|
-
}, Dy = ({ theme: i = "vs-dark", language: n, version: r =
|
10505
|
+
}, Dy = ({ theme: i = "vs-dark", language: n, version: r = Xt, onVersionChange: s }) => {
|
10506
10506
|
const [a, l] = Re({}), { t: c, i18n: f } = br(), [h, p] = Re(), v = Se(""), b = Se(null), x = Se(null), k = Se(null), T = Se(null), $ = Se(null), U = Se(null), W = Se(0), I = Se({
|
10507
10507
|
startTop: 0,
|
10508
10508
|
endTop: 0,
|
@@ -10646,7 +10646,7 @@ const Ey = (i) => {
|
|
10646
10646
|
}
|
10647
10647
|
return !1;
|
10648
10648
|
};
|
10649
|
-
return C.jsxs("div", { ref: k, className: `${i} manual-page-warpper ${h ? "show-warpper" : ""}`, children: [C.jsx(Ay, { onGroupClick: Z, onItemClick: H, selectItem: v, manualTabRef: x, searchRef: b, selectedItemChange: Y, manualKeys: a.MANUAL_KEYS, contentGroups: a.CONTENT_GROUPS, keyMaps: a.KEY_MAP_LIST, version: r ||
|
10649
|
+
return C.jsxs("div", { ref: k, className: `${i} manual-page-warpper ${h ? "show-warpper" : ""}`, children: [C.jsx(Ay, { onGroupClick: Z, onItemClick: H, selectItem: v, manualTabRef: x, searchRef: b, selectedItemChange: Y, manualKeys: a.MANUAL_KEYS, contentGroups: a.CONTENT_GROUPS, keyMaps: a.KEY_MAP_LIST, version: r || Xt, onVersionChange: s }), C.jsxs("div", { className: "manual-page-right", children: [C.jsx("div", { children: C.jsx("h1", { className: "manual-page-title", children: c("Mine Script® v1 Reference Manual", { version: r }) }) }), C.jsx("div", { onScroll: J, className: "manual-page-scroll manual-page-scroll-none", children: a.CONTENT_GROUPS?.map((z) => C.jsxs(Ue, { children: [C.jsx("h2", { className: "manual-page-header", children: c(z.key) }), C.jsx("div", { children: a.MANUAL_KEYS?.[z.key]?.map((te) => C.jsx(Iy, { version: r || 5, item: a.KEY_MAP_LIST?.[z.key].get(te) || [], value: h?.[z.key]?.get(te), prefix: z.prefix, onItemClick: X }, te)) })] }, z.key)) })] })] });
|
10650
10650
|
};
|
10651
10651
|
var Ac;
|
10652
10652
|
(function(i) {
|