@guihz/trading-vue-editor-tes 0.0.144 → 0.0.146

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,20 +3,20 @@ import ls, { memo as Fi, useState as lt, useRef as Me, useCallback as lr, useEff
3
3
  import { languages as He, Position as eb, MarkerSeverity as tb, editor as Hr } from "monaco-editor";
4
4
  import sb from "react-dom";
5
5
  var xc;
6
- (function(a) {
7
- a.Comment = "comment", a.Text = "text", a.String = "string", a.Paren = "paren", a.StringInvalid = "string.invalid", a.ConstantNumericInteger = "constant.numeric.integer", a.ConstantNumericFloat = "constant.numeric.float", a.ConstantLanguage = "constant.language", a.ConstantLanguageBoolean = "constant.other.boolean", a.ConstantOtherColor = "constant.other.color", a.SupportVariable = "support.variable", a.SupportType = "support.type", a.Keyword = "keyword", a.KeywordEquals = "keyword.equals", a.KeywordOperator = "keyword.operator", a.CustomType = "entity.name.type", a.VariableOther = "variable.other", a.Property = "variable.other.property", a.SupportFunction = "support.function", a.SupportMethod = "support.method", a.ImportedFunction = "meta.function-call", a.Function = "entity.name.function", a.ImportName = "entity.name.module", a.ImportAlias = "entity.name.module.name", a.ExtensionMethod = "entity.name.method", a.Annotation = "comment.annotation", a.PunctuationOperator = "punctuation.operator", a.Empty = "empty", a.Source = "source";
6
+ (function(n) {
7
+ n.Comment = "comment", n.Text = "text", n.String = "string", n.Paren = "paren", n.StringInvalid = "string.invalid", n.ConstantNumericInteger = "constant.numeric.integer", n.ConstantNumericFloat = "constant.numeric.float", n.ConstantLanguage = "constant.language", n.ConstantLanguageBoolean = "constant.other.boolean", n.ConstantOtherColor = "constant.other.color", n.SupportVariable = "support.variable", n.SupportType = "support.type", n.Keyword = "keyword", n.KeywordEquals = "keyword.equals", n.KeywordOperator = "keyword.operator", n.CustomType = "entity.name.type", n.VariableOther = "variable.other", n.Property = "variable.other.property", n.SupportFunction = "support.function", n.SupportMethod = "support.method", n.ImportedFunction = "meta.function-call", n.Function = "entity.name.function", n.ImportName = "entity.name.module", n.ImportAlias = "entity.name.module.name", n.ExtensionMethod = "entity.name.method", n.Annotation = "comment.annotation", n.PunctuationOperator = "punctuation.operator", n.Empty = "empty", n.Source = "source";
8
8
  })(xc || (xc = {}));
9
9
  var ot;
10
- (function(a) {
11
- a.Type = "type", a.Returns = "Returns", a.Syntax = "Syntax", a.Remarks = "Remarks", a.Fields = "Fields", a.Description = "Description", a.Example = "Example", a.EnumMembers = "Enum members";
10
+ (function(n) {
11
+ n.Type = "type", n.Returns = "Returns", n.Syntax = "Syntax", n.Remarks = "Remarks", n.Fields = "Fields", n.Description = "Description", n.Example = "Example", n.EnumMembers = "Enum members";
12
12
  })(ot || (ot = {}));
13
13
  var os;
14
- (function(a) {
15
- a.Save = "save", a.Find = "find", a.TriggerConsole = "trigger.console", a.RunScript = "runScript", a.Open = "open", a.NewWindow = "newWindow", a.NewTab = "newTab";
14
+ (function(n) {
15
+ n.Save = "save", n.Find = "find", n.TriggerConsole = "trigger.console", n.RunScript = "runScript", n.Open = "open", n.NewWindow = "newWindow", n.NewTab = "newTab";
16
16
  })(os || (os = {}));
17
17
  var Pr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
18
- function rb(a) {
19
- return a && a.__esModule && Object.prototype.hasOwnProperty.call(a, "default") ? a.default : a;
18
+ function rb(n) {
19
+ return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
20
20
  }
21
21
  var zi = { exports: {} }, Or = {};
22
22
  /**
@@ -33,7 +33,7 @@ function ab() {
33
33
  if (hc)
34
34
  return Or;
35
35
  hc = 1;
36
- var a = ls, n = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, c = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
36
+ var n = ls, a = Symbol.for("react.element"), r = Symbol.for("react.fragment"), o = Object.prototype.hasOwnProperty, c = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, l = { key: !0, ref: !0, __self: !0, __source: !0 };
37
37
  function m(_, f, b) {
38
38
  var h, T = {}, P = null, B = null;
39
39
  b !== void 0 && (P = "" + b), f.key !== void 0 && (P = "" + f.key), f.ref !== void 0 && (B = f.ref);
@@ -42,7 +42,7 @@ function ab() {
42
42
  if (_ && _.defaultProps)
43
43
  for (h in f = _.defaultProps, f)
44
44
  T[h] === void 0 && (T[h] = f[h]);
45
- return { $$typeof: n, type: _, key: P, ref: B, props: T, _owner: c.current };
45
+ return { $$typeof: a, type: _, key: P, ref: B, props: T, _owner: c.current };
46
46
  }
47
47
  return Or.Fragment = r, Or.jsx = m, Or.jsxs = m, Or;
48
48
  }
@@ -59,24 +59,24 @@ var Fr = {};
59
59
  var wc;
60
60
  function nb() {
61
61
  return wc || (wc = 1, process.env.NODE_ENV !== "production" && function() {
62
- var a = ls, n = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), _ = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), O = Symbol.iterator, N = "@@iterator";
62
+ var n = ls, a = Symbol.for("react.element"), r = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), _ = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), P = Symbol.for("react.lazy"), B = Symbol.for("react.offscreen"), O = Symbol.iterator, N = "@@iterator";
63
63
  function $(g) {
64
64
  if (g === null || typeof g != "object")
65
65
  return null;
66
66
  var S = O && g[O] || g[N];
67
67
  return typeof S == "function" ? S : null;
68
68
  }
69
- var G = a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
69
+ var G = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
70
70
  function j(g) {
71
71
  {
72
- for (var S = arguments.length, K = new Array(S > 1 ? S - 1 : 0), Z = 1; Z < S; Z++)
73
- K[Z - 1] = arguments[Z];
72
+ for (var S = arguments.length, K = new Array(S > 1 ? S - 1 : 0), J = 1; J < S; J++)
73
+ K[J - 1] = arguments[J];
74
74
  F("error", g, K);
75
75
  }
76
76
  }
77
77
  function F(g, S, K) {
78
78
  {
79
- var Z = G.ReactDebugCurrentFrame, ue = Z.getStackAddendum();
79
+ var J = G.ReactDebugCurrentFrame, ue = J.getStackAddendum();
80
80
  ue !== "" && (S += "%s", K = K.concat([ue]));
81
81
  var xe = K.map(function(pe) {
82
82
  return String(pe);
@@ -84,19 +84,19 @@ function nb() {
84
84
  xe.unshift("Warning: " + S), Function.prototype.apply.call(console[g], console, xe);
85
85
  }
86
86
  }
87
- var I = !1, M = !1, z = !1, R = !1, J = !1, ye;
87
+ var I = !1, M = !1, z = !1, R = !1, V = !1, ye;
88
88
  ye = Symbol.for("react.module.reference");
89
89
  function ie(g) {
90
- return !!(typeof g == "string" || typeof g == "function" || g === o || g === l || J || g === c || g === b || g === h || R || g === B || I || M || z || typeof g == "object" && g !== null && (g.$$typeof === P || g.$$typeof === T || g.$$typeof === m || g.$$typeof === _ || g.$$typeof === f || // This needs to include all possible module reference object
90
+ return !!(typeof g == "string" || typeof g == "function" || g === o || g === l || V || g === c || g === b || g === h || R || g === B || I || M || z || typeof g == "object" && g !== null && (g.$$typeof === P || g.$$typeof === T || g.$$typeof === m || g.$$typeof === _ || g.$$typeof === f || // This needs to include all possible module reference object
91
91
  // types supported by any Flight configuration anywhere since
92
92
  // we don't know which Flight build this will end up being used
93
93
  // with.
94
94
  g.$$typeof === ye || g.getModuleId !== void 0));
95
95
  }
96
96
  function ht(g, S, K) {
97
- var Z = g.displayName;
98
- if (Z)
99
- return Z;
97
+ var J = g.displayName;
98
+ if (J)
99
+ return J;
100
100
  var ue = S.displayName || S.name || "";
101
101
  return ue !== "" ? K + "(" + ue + ")" : K;
102
102
  }
@@ -135,8 +135,8 @@ function nb() {
135
135
  case f:
136
136
  return ht(g, g.render, "ForwardRef");
137
137
  case T:
138
- var Z = g.displayName || null;
139
- return Z !== null ? Z : Re(g.type) || "Memo";
138
+ var J = g.displayName || null;
139
+ return J !== null ? J : Re(g.type) || "Memo";
140
140
  case P: {
141
141
  var ue = g, xe = ue._payload, pe = ue._init;
142
142
  try {
@@ -217,8 +217,8 @@ function nb() {
217
217
  try {
218
218
  throw Error();
219
219
  } catch (ue) {
220
- var Z = ue.stack.trim().match(/\n( *(at )?)/);
221
- cr = Z && Z[1] || "";
220
+ var J = ue.stack.trim().match(/\n( *(at )?)/);
221
+ cr = J && J[1] || "";
222
222
  }
223
223
  return `
224
224
  ` + cr + g;
@@ -237,7 +237,7 @@ function nb() {
237
237
  if (K !== void 0)
238
238
  return K;
239
239
  }
240
- var Z;
240
+ var J;
241
241
  Yt = !0;
242
242
  var ue = Error.prepareStackTrace;
243
243
  Error.prepareStackTrace = void 0;
@@ -256,14 +256,14 @@ function nb() {
256
256
  try {
257
257
  Reflect.construct(pe, []);
258
258
  } catch (st) {
259
- Z = st;
259
+ J = st;
260
260
  }
261
261
  Reflect.construct(g, [], pe);
262
262
  } else {
263
263
  try {
264
264
  pe.call();
265
265
  } catch (st) {
266
- Z = st;
266
+ J = st;
267
267
  }
268
268
  g.call(pe.prototype);
269
269
  }
@@ -271,14 +271,14 @@ function nb() {
271
271
  try {
272
272
  throw Error();
273
273
  } catch (st) {
274
- Z = st;
274
+ J = st;
275
275
  }
276
276
  g();
277
277
  }
278
278
  } catch (st) {
279
- if (st && Z && typeof st.stack == "string") {
279
+ if (st && J && typeof st.stack == "string") {
280
280
  for (var le = st.stack.split(`
281
- `), je = Z.stack.split(`
281
+ `), je = J.stack.split(`
282
282
  `), ke = le.length - 1, Ce = je.length - 1; ke >= 1 && Ce >= 0 && le[ke] !== je[Ce]; )
283
283
  Ce--;
284
284
  for (; ke >= 1 && Ce >= 0; ke--, Ce--)
@@ -327,7 +327,7 @@ function nb() {
327
327
  case T:
328
328
  return $t(g.type, S, K);
329
329
  case P: {
330
- var Z = g, ue = Z._payload, xe = Z._init;
330
+ var J = g, ue = J._payload, xe = J._init;
331
331
  try {
332
332
  return $t(xe(ue), S, K);
333
333
  } catch {
@@ -344,7 +344,7 @@ function nb() {
344
344
  } else
345
345
  pr.setExtraStackFrame(null);
346
346
  }
347
- function Ts(g, S, K, Z, ue) {
347
+ function Ts(g, S, K, J, ue) {
348
348
  {
349
349
  var xe = Function.call.bind(Rs);
350
350
  for (var pe in g)
@@ -352,14 +352,14 @@ function nb() {
352
352
  var le = void 0;
353
353
  try {
354
354
  if (typeof g[pe] != "function") {
355
- var je = Error((Z || "React class") + ": " + K + " type `" + pe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof g[pe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
355
+ var je = Error((J || "React class") + ": " + K + " type `" + pe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof g[pe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
356
356
  throw je.name = "Invariant Violation", je;
357
357
  }
358
- le = g[pe](S, pe, Z, K, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
358
+ le = g[pe](S, pe, J, K, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
359
359
  } catch (ke) {
360
360
  le = ke;
361
361
  }
362
- le && !(le instanceof Error) && (Bs(ue), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Z || "React class", K, pe, typeof le), Bs(null)), le instanceof Error && !(le.message in vt) && (vt[le.message] = !0, Bs(ue), j("Failed %s type: %s", K, le.message), Bs(null));
362
+ le && !(le instanceof Error) && (Bs(ue), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", J || "React class", K, pe, typeof le), Bs(null)), le instanceof Error && !(le.message in vt) && (vt[le.message] = !0, Bs(ue), j("Failed %s type: %s", K, le.message), Bs(null));
363
363
  }
364
364
  }
365
365
  }
@@ -438,10 +438,10 @@ function nb() {
438
438
  });
439
439
  }
440
440
  }
441
- var fr = function(g, S, K, Z, ue, xe, pe) {
441
+ var fr = function(g, S, K, J, ue, xe, pe) {
442
442
  var le = {
443
443
  // This tag allows us to uniquely identify this as a React Element
444
- $$typeof: n,
444
+ $$typeof: a,
445
445
  // Built-in properties that belong on the element
446
446
  type: g,
447
447
  key: S,
@@ -459,7 +459,7 @@ function nb() {
459
459
  configurable: !1,
460
460
  enumerable: !1,
461
461
  writable: !1,
462
- value: Z
462
+ value: J
463
463
  }), Object.defineProperty(le, "_source", {
464
464
  configurable: !1,
465
465
  enumerable: !1,
@@ -467,7 +467,7 @@ function nb() {
467
467
  value: ue
468
468
  }), Object.freeze && (Object.freeze(le.props), Object.freeze(le)), le;
469
469
  };
470
- function ln(g, S, K, Z, ue) {
470
+ function ln(g, S, K, J, ue) {
471
471
  {
472
472
  var xe, pe = {}, le = null, je = null;
473
473
  K !== void 0 && (Yr(K), le = "" + K), mr(S) && (Yr(S.key), le = "" + S.key), dr(S) && (je = S.ref, ur(S, ue));
@@ -482,7 +482,7 @@ function nb() {
482
482
  var Ce = typeof g == "function" ? g.displayName || g.name || "Unknown" : g;
483
483
  le && yr(pe, Ce), je && _r(pe, Ce);
484
484
  }
485
- return fr(g, le, je, ue, Z, Lt.current, pe);
485
+ return fr(g, le, je, ue, J, Lt.current, pe);
486
486
  }
487
487
  }
488
488
  var gr = G.ReactCurrentOwner, Vr = G.ReactDebugCurrentFrame;
@@ -496,7 +496,7 @@ function nb() {
496
496
  var Hs;
497
497
  Hs = !1;
498
498
  function br(g) {
499
- return typeof g == "object" && g !== null && g.$$typeof === n;
499
+ return typeof g == "object" && g !== null && g.$$typeof === a;
500
500
  }
501
501
  function Qr() {
502
502
  {
@@ -543,8 +543,8 @@ Check the top-level render call using <` + K + ">.");
543
543
  if (Zr[K])
544
544
  return;
545
545
  Zr[K] = !0;
546
- var Z = "";
547
- g && g._owner && g._owner !== gr.current && (Z = " It was passed a child from " + Re(g._owner.type) + "."), Qt(g), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', K, Z), Qt(null);
546
+ var J = "";
547
+ g && g._owner && g._owner !== gr.current && (J = " It was passed a child from " + Re(g._owner.type) + "."), Qt(g), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', K, J), Qt(null);
548
548
  }
549
549
  }
550
550
  function ta(g, S) {
@@ -553,8 +553,8 @@ Check the top-level render call using <` + K + ">.");
553
553
  return;
554
554
  if (Vt(g))
555
555
  for (var K = 0; K < g.length; K++) {
556
- var Z = g[K];
557
- br(Z) && ea(Z, S);
556
+ var J = g[K];
557
+ br(J) && ea(J, S);
558
558
  }
559
559
  else if (br(g))
560
560
  g._store && (g._store.validated = !0);
@@ -581,8 +581,8 @@ Check the top-level render call using <` + K + ">.");
581
581
  else
582
582
  return;
583
583
  if (K) {
584
- var Z = Re(S);
585
- Ts(K, g.props, "prop", Z, g);
584
+ var J = Re(S);
585
+ Ts(K, g.props, "prop", J, g);
586
586
  } else if (S.PropTypes !== void 0 && !Hs) {
587
587
  Hs = !0;
588
588
  var ue = Re(S);
@@ -594,16 +594,16 @@ Check the top-level render call using <` + K + ">.");
594
594
  function xr(g) {
595
595
  {
596
596
  for (var S = Object.keys(g.props), K = 0; K < S.length; K++) {
597
- var Z = S[K];
598
- if (Z !== "children" && Z !== "key") {
599
- Qt(g), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Z), Qt(null);
597
+ var J = S[K];
598
+ if (J !== "children" && J !== "key") {
599
+ Qt(g), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", J), Qt(null);
600
600
  break;
601
601
  }
602
602
  }
603
603
  g.ref !== null && (Qt(g), j("Invalid attribute `ref` supplied to `React.Fragment`."), Qt(null));
604
604
  }
605
605
  }
606
- function sa(g, S, K, Z, ue, xe) {
606
+ function sa(g, S, K, J, ue, xe) {
607
607
  {
608
608
  var pe = ie(g);
609
609
  if (!pe) {
@@ -612,7 +612,7 @@ Check the top-level render call using <` + K + ">.");
612
612
  var je = cn(ue);
613
613
  je ? le += je : le += Qr();
614
614
  var ke;
615
- g === null ? ke = "null" : Vt(g) ? ke = "array" : g !== void 0 && g.$$typeof === n ? (ke = "<" + (Re(g.type) || "Unknown") + " />", le = " Did you accidentally export a JSX literal instead of a component?") : ke = typeof g, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ke, le);
615
+ g === null ? ke = "null" : Vt(g) ? ke = "array" : g !== void 0 && g.$$typeof === a ? (ke = "<" + (Re(g.type) || "Unknown") + " />", le = " Did you accidentally export a JSX literal instead of a component?") : ke = typeof g, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ke, le);
616
616
  }
617
617
  var Ce = ln(g, S, K, ue, xe);
618
618
  if (Ce == null)
@@ -620,7 +620,7 @@ Check the top-level render call using <` + K + ">.");
620
620
  if (pe) {
621
621
  var tt = S.children;
622
622
  if (tt !== void 0)
623
- if (Z)
623
+ if (J)
624
624
  if (Vt(tt)) {
625
625
  for (var Mt = 0; Mt < tt.length; Mt++)
626
626
  ta(tt[Mt], g);
@@ -645,66 +645,66 @@ Check the top-level render call using <` + K + ">.");
645
645
  }
646
646
  process.env.NODE_ENV === "production" ? zi.exports = ab() : zi.exports = nb();
647
647
  var L = zi.exports;
648
- function ib(a, n, r) {
649
- return n in a ? Object.defineProperty(a, n, {
648
+ function ib(n, a, r) {
649
+ return a in n ? Object.defineProperty(n, a, {
650
650
  value: r,
651
651
  enumerable: !0,
652
652
  configurable: !0,
653
653
  writable: !0
654
- }) : a[n] = r, a;
654
+ }) : n[a] = r, n;
655
655
  }
656
- function vc(a, n) {
657
- var r = Object.keys(a);
656
+ function vc(n, a) {
657
+ var r = Object.keys(n);
658
658
  if (Object.getOwnPropertySymbols) {
659
- var o = Object.getOwnPropertySymbols(a);
660
- n && (o = o.filter(function(c) {
661
- return Object.getOwnPropertyDescriptor(a, c).enumerable;
659
+ var o = Object.getOwnPropertySymbols(n);
660
+ a && (o = o.filter(function(c) {
661
+ return Object.getOwnPropertyDescriptor(n, c).enumerable;
662
662
  })), r.push.apply(r, o);
663
663
  }
664
664
  return r;
665
665
  }
666
- function Tc(a) {
667
- for (var n = 1; n < arguments.length; n++) {
668
- var r = arguments[n] != null ? arguments[n] : {};
669
- n % 2 ? vc(Object(r), !0).forEach(function(o) {
670
- ib(a, o, r[o]);
671
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : vc(Object(r)).forEach(function(o) {
672
- Object.defineProperty(a, o, Object.getOwnPropertyDescriptor(r, o));
666
+ function Tc(n) {
667
+ for (var a = 1; a < arguments.length; a++) {
668
+ var r = arguments[a] != null ? arguments[a] : {};
669
+ a % 2 ? vc(Object(r), !0).forEach(function(o) {
670
+ ib(n, o, r[o]);
671
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(r)) : vc(Object(r)).forEach(function(o) {
672
+ Object.defineProperty(n, o, Object.getOwnPropertyDescriptor(r, o));
673
673
  });
674
674
  }
675
- return a;
675
+ return n;
676
676
  }
677
- function ob(a, n) {
678
- if (a == null)
677
+ function ob(n, a) {
678
+ if (n == null)
679
679
  return {};
680
- var r = {}, o = Object.keys(a), c, l;
680
+ var r = {}, o = Object.keys(n), c, l;
681
681
  for (l = 0; l < o.length; l++)
682
- c = o[l], !(n.indexOf(c) >= 0) && (r[c] = a[c]);
682
+ c = o[l], !(a.indexOf(c) >= 0) && (r[c] = n[c]);
683
683
  return r;
684
684
  }
685
- function lb(a, n) {
686
- if (a == null)
685
+ function lb(n, a) {
686
+ if (n == null)
687
687
  return {};
688
- var r = ob(a, n), o, c;
688
+ var r = ob(n, a), o, c;
689
689
  if (Object.getOwnPropertySymbols) {
690
- var l = Object.getOwnPropertySymbols(a);
690
+ var l = Object.getOwnPropertySymbols(n);
691
691
  for (c = 0; c < l.length; c++)
692
- o = l[c], !(n.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(a, o) && (r[o] = a[o]);
692
+ o = l[c], !(a.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(n, o) && (r[o] = n[o]);
693
693
  }
694
694
  return r;
695
695
  }
696
- function cb(a, n) {
697
- return pb(a) || db(a, n) || mb(a, n) || ub();
696
+ function cb(n, a) {
697
+ return pb(n) || db(n, a) || mb(n, a) || ub();
698
698
  }
699
- function pb(a) {
700
- if (Array.isArray(a))
701
- return a;
699
+ function pb(n) {
700
+ if (Array.isArray(n))
701
+ return n;
702
702
  }
703
- function db(a, n) {
704
- if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(a)))) {
703
+ function db(n, a) {
704
+ if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(n)))) {
705
705
  var r = [], o = !0, c = !1, l = void 0;
706
706
  try {
707
- for (var m = a[Symbol.iterator](), _; !(o = (_ = m.next()).done) && (r.push(_.value), !(n && r.length === n)); o = !0)
707
+ for (var m = n[Symbol.iterator](), _; !(o = (_ = m.next()).done) && (r.push(_.value), !(a && r.length === a)); o = !0)
708
708
  ;
709
709
  } catch (f) {
710
710
  c = !0, l = f;
@@ -719,106 +719,106 @@ function db(a, n) {
719
719
  return r;
720
720
  }
721
721
  }
722
- function mb(a, n) {
723
- if (a) {
724
- if (typeof a == "string")
725
- return Dc(a, n);
726
- var r = Object.prototype.toString.call(a).slice(8, -1);
727
- if (r === "Object" && a.constructor && (r = a.constructor.name), r === "Map" || r === "Set")
728
- return Array.from(a);
722
+ function mb(n, a) {
723
+ if (n) {
724
+ if (typeof n == "string")
725
+ return Dc(n, a);
726
+ var r = Object.prototype.toString.call(n).slice(8, -1);
727
+ if (r === "Object" && n.constructor && (r = n.constructor.name), r === "Map" || r === "Set")
728
+ return Array.from(n);
729
729
  if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))
730
- return Dc(a, n);
730
+ return Dc(n, a);
731
731
  }
732
732
  }
733
- function Dc(a, n) {
734
- (n == null || n > a.length) && (n = a.length);
735
- for (var r = 0, o = new Array(n); r < n; r++)
736
- o[r] = a[r];
733
+ function Dc(n, a) {
734
+ (a == null || a > n.length) && (a = n.length);
735
+ for (var r = 0, o = new Array(a); r < a; r++)
736
+ o[r] = n[r];
737
737
  return o;
738
738
  }
739
739
  function ub() {
740
740
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
741
741
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
742
742
  }
743
- function yb(a, n, r) {
744
- return n in a ? Object.defineProperty(a, n, {
743
+ function yb(n, a, r) {
744
+ return a in n ? Object.defineProperty(n, a, {
745
745
  value: r,
746
746
  enumerable: !0,
747
747
  configurable: !0,
748
748
  writable: !0
749
- }) : a[n] = r, a;
749
+ }) : n[a] = r, n;
750
750
  }
751
- function Ic(a, n) {
752
- var r = Object.keys(a);
751
+ function Ic(n, a) {
752
+ var r = Object.keys(n);
753
753
  if (Object.getOwnPropertySymbols) {
754
- var o = Object.getOwnPropertySymbols(a);
755
- n && (o = o.filter(function(c) {
756
- return Object.getOwnPropertyDescriptor(a, c).enumerable;
754
+ var o = Object.getOwnPropertySymbols(n);
755
+ a && (o = o.filter(function(c) {
756
+ return Object.getOwnPropertyDescriptor(n, c).enumerable;
757
757
  })), r.push.apply(r, o);
758
758
  }
759
759
  return r;
760
760
  }
761
- function kc(a) {
762
- for (var n = 1; n < arguments.length; n++) {
763
- var r = arguments[n] != null ? arguments[n] : {};
764
- n % 2 ? Ic(Object(r), !0).forEach(function(o) {
765
- yb(a, o, r[o]);
766
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : Ic(Object(r)).forEach(function(o) {
767
- Object.defineProperty(a, o, Object.getOwnPropertyDescriptor(r, o));
761
+ function kc(n) {
762
+ for (var a = 1; a < arguments.length; a++) {
763
+ var r = arguments[a] != null ? arguments[a] : {};
764
+ a % 2 ? Ic(Object(r), !0).forEach(function(o) {
765
+ yb(n, o, r[o]);
766
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(r)) : Ic(Object(r)).forEach(function(o) {
767
+ Object.defineProperty(n, o, Object.getOwnPropertyDescriptor(r, o));
768
768
  });
769
769
  }
770
- return a;
770
+ return n;
771
771
  }
772
772
  function _b() {
773
- for (var a = arguments.length, n = new Array(a), r = 0; r < a; r++)
774
- n[r] = arguments[r];
773
+ for (var n = arguments.length, a = new Array(n), r = 0; r < n; r++)
774
+ a[r] = arguments[r];
775
775
  return function(o) {
776
- return n.reduceRight(function(c, l) {
776
+ return a.reduceRight(function(c, l) {
777
777
  return l(c);
778
778
  }, o);
779
779
  };
780
780
  }
781
- function Br(a) {
782
- return function n() {
781
+ function Br(n) {
782
+ return function a() {
783
783
  for (var r = this, o = arguments.length, c = new Array(o), l = 0; l < o; l++)
784
784
  c[l] = arguments[l];
785
- return c.length >= a.length ? a.apply(this, c) : function() {
785
+ return c.length >= n.length ? n.apply(this, c) : function() {
786
786
  for (var m = arguments.length, _ = new Array(m), f = 0; f < m; f++)
787
787
  _[f] = arguments[f];
788
- return n.apply(r, [].concat(c, _));
788
+ return a.apply(r, [].concat(c, _));
789
789
  };
790
790
  };
791
791
  }
792
- function Qa(a) {
793
- return {}.toString.call(a).includes("Object");
792
+ function Qa(n) {
793
+ return {}.toString.call(n).includes("Object");
794
794
  }
795
- function fb(a) {
796
- return !Object.keys(a).length;
795
+ function fb(n) {
796
+ return !Object.keys(n).length;
797
797
  }
798
- function jr(a) {
799
- return typeof a == "function";
798
+ function jr(n) {
799
+ return typeof n == "function";
800
800
  }
801
- function gb(a, n) {
802
- return Object.prototype.hasOwnProperty.call(a, n);
801
+ function gb(n, a) {
802
+ return Object.prototype.hasOwnProperty.call(n, a);
803
803
  }
804
- function bb(a, n) {
805
- return Qa(n) || hs("changeType"), Object.keys(n).some(function(r) {
806
- return !gb(a, r);
807
- }) && hs("changeField"), n;
804
+ function bb(n, a) {
805
+ return Qa(a) || hs("changeType"), Object.keys(a).some(function(r) {
806
+ return !gb(n, r);
807
+ }) && hs("changeField"), a;
808
808
  }
809
- function xb(a) {
810
- jr(a) || hs("selectorType");
809
+ function xb(n) {
810
+ jr(n) || hs("selectorType");
811
811
  }
812
- function hb(a) {
813
- jr(a) || Qa(a) || hs("handlerType"), Qa(a) && Object.values(a).some(function(n) {
814
- return !jr(n);
812
+ function hb(n) {
813
+ jr(n) || Qa(n) || hs("handlerType"), Qa(n) && Object.values(n).some(function(a) {
814
+ return !jr(a);
815
815
  }) && hs("handlersType");
816
816
  }
817
- function wb(a) {
818
- a || hs("initialIsRequired"), Qa(a) || hs("initialType"), fb(a) && hs("initialContent");
817
+ function wb(n) {
818
+ n || hs("initialIsRequired"), Qa(n) || hs("initialType"), fb(n) && hs("initialContent");
819
819
  }
820
- function vb(a, n) {
821
- throw new Error(a[n] || a.default);
820
+ function vb(n, a) {
821
+ throw new Error(n[a] || n.default);
822
822
  }
823
823
  var Tb = {
824
824
  initialIsRequired: "initial state is required",
@@ -836,12 +836,12 @@ var Tb = {
836
836
  handler: hb,
837
837
  initial: wb
838
838
  };
839
- function Db(a) {
840
- var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
841
- Ha.initial(a), Ha.handler(n);
839
+ function Db(n) {
840
+ var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
841
+ Ha.initial(n), Ha.handler(a);
842
842
  var r = {
843
- current: a
844
- }, o = Br(Ab)(r, n), c = Br(kb)(r), l = Br(Ha.changes)(a), m = Br(Ib)(r);
843
+ current: n
844
+ }, o = Br(Ab)(r, a), c = Br(kb)(r), l = Br(Ha.changes)(n), m = Br(Ib)(r);
845
845
  function _() {
846
846
  var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(h) {
847
847
  return h;
@@ -853,16 +853,16 @@ function Db(a) {
853
853
  }
854
854
  return [_, f];
855
855
  }
856
- function Ib(a, n) {
857
- return jr(n) ? n(a.current) : n;
856
+ function Ib(n, a) {
857
+ return jr(a) ? a(n.current) : a;
858
858
  }
859
- function kb(a, n) {
860
- return a.current = kc(kc({}, a.current), n), n;
859
+ function kb(n, a) {
860
+ return n.current = kc(kc({}, n.current), a), a;
861
861
  }
862
- function Ab(a, n, r) {
863
- return jr(n) ? n(a.current) : Object.keys(r).forEach(function(o) {
862
+ function Ab(n, a, r) {
863
+ return jr(a) ? a(n.current) : Object.keys(r).forEach(function(o) {
864
864
  var c;
865
- return (c = n[o]) === null || c === void 0 ? void 0 : c.call(n, a.current[o]);
865
+ return (c = a[o]) === null || c === void 0 ? void 0 : c.call(a, n.current[o]);
866
866
  }), r;
867
867
  }
868
868
  var qb = {
@@ -872,32 +872,32 @@ var qb = {
872
872
  vs: "https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"
873
873
  }
874
874
  };
875
- function zb(a) {
876
- return function n() {
875
+ function zb(n) {
876
+ return function a() {
877
877
  for (var r = this, o = arguments.length, c = new Array(o), l = 0; l < o; l++)
878
878
  c[l] = arguments[l];
879
- return c.length >= a.length ? a.apply(this, c) : function() {
879
+ return c.length >= n.length ? n.apply(this, c) : function() {
880
880
  for (var m = arguments.length, _ = new Array(m), f = 0; f < m; f++)
881
881
  _[f] = arguments[f];
882
- return n.apply(r, [].concat(c, _));
882
+ return a.apply(r, [].concat(c, _));
883
883
  };
884
884
  };
885
885
  }
886
- function Eb(a) {
887
- return {}.toString.call(a).includes("Object");
886
+ function Eb(n) {
887
+ return {}.toString.call(n).includes("Object");
888
888
  }
889
- function Nb(a) {
890
- return a || Ac("configIsRequired"), Eb(a) || Ac("configType"), a.urls ? (Sb(), {
889
+ function Nb(n) {
890
+ return n || Ac("configIsRequired"), Eb(n) || Ac("configType"), n.urls ? (Sb(), {
891
891
  paths: {
892
- vs: a.urls.monacoBase
892
+ vs: n.urls.monacoBase
893
893
  }
894
- }) : a;
894
+ }) : n;
895
895
  }
896
896
  function Sb() {
897
897
  console.warn(wp.deprecation);
898
898
  }
899
- function Lb(a, n) {
900
- throw new Error(a[n] || a.default);
899
+ function Lb(n, a) {
900
+ throw new Error(n[a] || n.default);
901
901
  }
902
902
  var wp = {
903
903
  configIsRequired: "the configuration object is required",
@@ -916,7 +916,7 @@ var wp = {
916
916
  }, Ac = zb(Lb)(wp), Mb = {
917
917
  config: Nb
918
918
  }, Pb = function() {
919
- for (var n = arguments.length, r = new Array(n), o = 0; o < n; o++)
919
+ for (var a = arguments.length, r = new Array(a), o = 0; o < a; o++)
920
920
  r[o] = arguments[o];
921
921
  return function(c) {
922
922
  return r.reduceRight(function(l, m) {
@@ -924,23 +924,23 @@ var wp = {
924
924
  }, c);
925
925
  };
926
926
  };
927
- function vp(a, n) {
928
- return Object.keys(n).forEach(function(r) {
929
- n[r] instanceof Object && a[r] && Object.assign(n[r], vp(a[r], n[r]));
930
- }), Tc(Tc({}, a), n);
927
+ function vp(n, a) {
928
+ return Object.keys(a).forEach(function(r) {
929
+ a[r] instanceof Object && n[r] && Object.assign(a[r], vp(n[r], a[r]));
930
+ }), Tc(Tc({}, n), a);
931
931
  }
932
932
  var Ob = {
933
933
  type: "cancelation",
934
934
  msg: "operation is manually canceled"
935
935
  };
936
- function Di(a) {
937
- var n = !1, r = new Promise(function(o, c) {
938
- a.then(function(l) {
939
- return n ? c(Ob) : o(l);
940
- }), a.catch(c);
936
+ function Di(n) {
937
+ var a = !1, r = new Promise(function(o, c) {
938
+ n.then(function(l) {
939
+ return a ? c(Ob) : o(l);
940
+ }), n.catch(c);
941
941
  });
942
942
  return r.cancel = function() {
943
- return n = !0;
943
+ return a = !0;
944
944
  }, r;
945
945
  }
946
946
  var Fb = qb.create({
@@ -950,8 +950,8 @@ var Fb = qb.create({
950
950
  reject: null,
951
951
  monaco: null
952
952
  }), Tp = cb(Fb, 2), Gr = Tp[0], an = Tp[1];
953
- function Rb(a) {
954
- var n = Mb.config(a), r = n.monaco, o = lb(n, ["monaco"]);
953
+ function Rb(n) {
954
+ var a = Mb.config(n), r = a.monaco, o = lb(a, ["monaco"]);
955
955
  an(function(c) {
956
956
  return {
957
957
  config: vp(c.config, o),
@@ -960,135 +960,135 @@ function Rb(a) {
960
960
  });
961
961
  }
962
962
  function Bb() {
963
- var a = Gr(function(n) {
964
- var r = n.monaco, o = n.isInitialized, c = n.resolve;
963
+ var n = Gr(function(a) {
964
+ var r = a.monaco, o = a.isInitialized, c = a.resolve;
965
965
  return {
966
966
  monaco: r,
967
967
  isInitialized: o,
968
968
  resolve: c
969
969
  };
970
970
  });
971
- if (!a.isInitialized) {
971
+ if (!n.isInitialized) {
972
972
  if (an({
973
973
  isInitialized: !0
974
- }), a.monaco)
975
- return a.resolve(a.monaco), Di(Ii);
974
+ }), n.monaco)
975
+ return n.resolve(n.monaco), Di(Ii);
976
976
  if (window.monaco && window.monaco.editor)
977
- return Dp(window.monaco), a.resolve(window.monaco), Di(Ii);
977
+ return Dp(window.monaco), n.resolve(window.monaco), Di(Ii);
978
978
  Pb(Kb, $b)(Hb);
979
979
  }
980
980
  return Di(Ii);
981
981
  }
982
- function Kb(a) {
983
- return document.body.appendChild(a);
982
+ function Kb(n) {
983
+ return document.body.appendChild(n);
984
984
  }
985
- function Ub(a) {
986
- var n = document.createElement("script");
987
- return a && (n.src = a), n;
985
+ function Ub(n) {
986
+ var a = document.createElement("script");
987
+ return n && (a.src = n), a;
988
988
  }
989
- function $b(a) {
990
- var n = Gr(function(o) {
989
+ function $b(n) {
990
+ var a = Gr(function(o) {
991
991
  var c = o.config, l = o.reject;
992
992
  return {
993
993
  config: c,
994
994
  reject: l
995
995
  };
996
- }), r = Ub("".concat(n.config.paths.vs, "/loader.js"));
996
+ }), r = Ub("".concat(a.config.paths.vs, "/loader.js"));
997
997
  return r.onload = function() {
998
- return a();
999
- }, r.onerror = n.reject, r;
998
+ return n();
999
+ }, r.onerror = a.reject, r;
1000
1000
  }
1001
1001
  function Hb() {
1002
- var a = Gr(function(r) {
1002
+ var n = Gr(function(r) {
1003
1003
  var o = r.config, c = r.resolve, l = r.reject;
1004
1004
  return {
1005
1005
  config: o,
1006
1006
  resolve: c,
1007
1007
  reject: l
1008
1008
  };
1009
- }), n = window.require;
1010
- n.config(a.config), n(["vs/editor/editor.main"], function(r) {
1011
- Dp(r), a.resolve(r);
1009
+ }), a = window.require;
1010
+ a.config(n.config), a(["vs/editor/editor.main"], function(r) {
1011
+ Dp(r), n.resolve(r);
1012
1012
  }, function(r) {
1013
- a.reject(r);
1013
+ n.reject(r);
1014
1014
  });
1015
1015
  }
1016
- function Dp(a) {
1016
+ function Dp(n) {
1017
1017
  Gr().monaco || an({
1018
- monaco: a
1018
+ monaco: n
1019
1019
  });
1020
1020
  }
1021
1021
  function jb() {
1022
- return Gr(function(a) {
1023
- var n = a.monaco;
1024
- return n;
1022
+ return Gr(function(n) {
1023
+ var a = n.monaco;
1024
+ return a;
1025
1025
  });
1026
1026
  }
1027
- var Ii = new Promise(function(a, n) {
1027
+ var Ii = new Promise(function(n, a) {
1028
1028
  return an({
1029
- resolve: a,
1030
- reject: n
1029
+ resolve: n,
1030
+ reject: a
1031
1031
  });
1032
1032
  }), Ri = {
1033
1033
  config: Rb,
1034
1034
  init: Bb,
1035
1035
  __getMonacoInstance: jb
1036
1036
  }, Wb = { wrapper: { display: "flex", position: "relative", textAlign: "initial" }, fullWidth: { width: "100%" }, hide: { display: "none" } }, ki = Wb, Gb = { container: { display: "flex", height: "100%", width: "100%", justifyContent: "center", alignItems: "center" } }, Xb = Gb;
1037
- function Yb({ children: a }) {
1038
- return ls.createElement("div", { style: Xb.container }, a);
1037
+ function Yb({ children: n }) {
1038
+ return ls.createElement("div", { style: Xb.container }, n);
1039
1039
  }
1040
1040
  var Vb = Yb, Qb = Vb;
1041
- function Zb({ width: a, height: n, isEditorReady: r, loading: o, _ref: c, className: l, wrapperProps: m }) {
1042
- return ls.createElement("section", { style: { ...ki.wrapper, width: a, height: n }, ...m }, !r && ls.createElement(Qb, null, o), ls.createElement("div", { ref: c, style: { ...ki.fullWidth, ...!r && ki.hide }, className: l }));
1041
+ function Zb({ width: n, height: a, isEditorReady: r, loading: o, _ref: c, className: l, wrapperProps: m }) {
1042
+ return ls.createElement("section", { style: { ...ki.wrapper, width: n, height: a }, ...m }, !r && ls.createElement(Qb, null, o), ls.createElement("div", { ref: c, style: { ...ki.fullWidth, ...!r && ki.hide }, className: l }));
1043
1043
  }
1044
1044
  var Jb = Zb, Ip = Fi(Jb);
1045
- function ex(a) {
1046
- Qe(a, []);
1045
+ function ex(n) {
1046
+ Qe(n, []);
1047
1047
  }
1048
1048
  var kp = ex;
1049
- function tx(a, n, r = !0) {
1049
+ function tx(n, a, r = !0) {
1050
1050
  let o = Me(!0);
1051
1051
  Qe(o.current || !r ? () => {
1052
1052
  o.current = !1;
1053
- } : a, n);
1053
+ } : n, a);
1054
1054
  }
1055
1055
  var bt = tx;
1056
1056
  function $r() {
1057
1057
  }
1058
- function ir(a, n, r, o) {
1059
- return sx(a, o) || rx(a, n, r, o);
1058
+ function ir(n, a, r, o) {
1059
+ return sx(n, o) || rx(n, a, r, o);
1060
1060
  }
1061
- function sx(a, n) {
1062
- return a.editor.getModel(Ap(a, n));
1061
+ function sx(n, a) {
1062
+ return n.editor.getModel(Ap(n, a));
1063
1063
  }
1064
- function rx(a, n, r, o) {
1065
- return a.editor.createModel(n, r, o ? Ap(a, o) : void 0);
1064
+ function rx(n, a, r, o) {
1065
+ return n.editor.createModel(a, r, o ? Ap(n, o) : void 0);
1066
1066
  }
1067
- function Ap(a, n) {
1068
- return a.Uri.parse(n);
1067
+ function Ap(n, a) {
1068
+ return n.Uri.parse(a);
1069
1069
  }
1070
- function ax({ original: a, modified: n, language: r, originalLanguage: o, modifiedLanguage: c, originalModelPath: l, modifiedModelPath: m, keepCurrentOriginalModel: _ = !1, keepCurrentModifiedModel: f = !1, theme: b = "light", loading: h = "Loading...", options: T = {}, height: P = "100%", width: B = "100%", className: O, wrapperProps: N = {}, beforeMount: $ = $r, onMount: G = $r }) {
1071
- let [j, F] = lt(!1), [I, M] = lt(!0), z = Me(null), R = Me(null), J = Me(null), ye = Me(G), ie = Me($), ht = Me(!1);
1070
+ function ax({ original: n, modified: a, language: r, originalLanguage: o, modifiedLanguage: c, originalModelPath: l, modifiedModelPath: m, keepCurrentOriginalModel: _ = !1, keepCurrentModifiedModel: f = !1, theme: b = "light", loading: h = "Loading...", options: T = {}, height: P = "100%", width: B = "100%", className: O, wrapperProps: N = {}, beforeMount: $ = $r, onMount: G = $r }) {
1071
+ let [j, F] = lt(!1), [I, M] = lt(!0), z = Me(null), R = Me(null), V = Me(null), ye = Me(G), ie = Me($), ht = Me(!1);
1072
1072
  kp(() => {
1073
1073
  let X = Ri.init();
1074
1074
  return X.then((_e) => (R.current = _e) && M(!1)).catch((_e) => (_e == null ? void 0 : _e.type) !== "cancelation" && console.error("Monaco initialization: error:", _e)), () => z.current ? Be() : X.cancel();
1075
1075
  }), bt(() => {
1076
1076
  if (z.current && R.current) {
1077
- let X = z.current.getOriginalEditor(), _e = ir(R.current, a || "", o || r || "text", l || "");
1077
+ let X = z.current.getOriginalEditor(), _e = ir(R.current, n || "", o || r || "text", l || "");
1078
1078
  _e !== X.getModel() && X.setModel(_e);
1079
1079
  }
1080
1080
  }, [l], j), bt(() => {
1081
1081
  if (z.current && R.current) {
1082
- let X = z.current.getModifiedEditor(), _e = ir(R.current, n || "", c || r || "text", m || "");
1082
+ let X = z.current.getModifiedEditor(), _e = ir(R.current, a || "", c || r || "text", m || "");
1083
1083
  _e !== X.getModel() && X.setModel(_e);
1084
1084
  }
1085
1085
  }, [m], j), bt(() => {
1086
1086
  let X = z.current.getModifiedEditor();
1087
- X.getOption(R.current.editor.EditorOption.readOnly) ? X.setValue(n || "") : n !== X.getValue() && (X.executeEdits("", [{ range: X.getModel().getFullModelRange(), text: n || "", forceMoveMarkers: !0 }]), X.pushUndoStop());
1088
- }, [n], j), bt(() => {
1089
- var X, _e;
1090
- (_e = (X = z.current) == null ? void 0 : X.getModel()) == null || _e.original.setValue(a || "");
1087
+ X.getOption(R.current.editor.EditorOption.readOnly) ? X.setValue(a || "") : a !== X.getValue() && (X.executeEdits("", [{ range: X.getModel().getFullModelRange(), text: a || "", forceMoveMarkers: !0 }]), X.pushUndoStop());
1091
1088
  }, [a], j), bt(() => {
1089
+ var X, _e;
1090
+ (_e = (X = z.current) == null ? void 0 : X.getModel()) == null || _e.original.setValue(n || "");
1091
+ }, [n], j), bt(() => {
1092
1092
  let { original: X, modified: _e } = z.current.getModel();
1093
1093
  R.current.editor.setModelLanguage(X, o || r || "text"), R.current.editor.setModelLanguage(_e, c || r || "text");
1094
1094
  }, [r, o, c], j), bt(() => {
@@ -1103,11 +1103,11 @@ function ax({ original: a, modified: n, language: r, originalLanguage: o, modifi
1103
1103
  if (!R.current)
1104
1104
  return;
1105
1105
  ie.current(R.current);
1106
- let X = ir(R.current, a || "", o || r || "text", l || ""), _e = ir(R.current, n || "", c || r || "text", m || "");
1106
+ let X = ir(R.current, n || "", o || r || "text", l || ""), _e = ir(R.current, a || "", c || r || "text", m || "");
1107
1107
  (qe = z.current) == null || qe.setModel({ original: X, modified: _e });
1108
- }, [r, n, c, a, o, l, m]), Re = lr(() => {
1108
+ }, [r, a, c, n, o, l, m]), Re = lr(() => {
1109
1109
  var X;
1110
- !ht.current && J.current && (z.current = R.current.editor.createDiffEditor(J.current, { automaticLayout: !0, ...T }), Nt(), (X = R.current) == null || X.editor.setTheme(b), F(!0), ht.current = !0);
1110
+ !ht.current && V.current && (z.current = R.current.editor.createDiffEditor(V.current, { automaticLayout: !0, ...T }), Nt(), (X = R.current) == null || X.editor.setTheme(b), F(!0), ht.current = !0);
1111
1111
  }, [T, b, Nt]);
1112
1112
  Qe(() => {
1113
1113
  j && ye.current(z.current, R.current);
@@ -1119,24 +1119,24 @@ function ax({ original: a, modified: n, language: r, originalLanguage: o, modifi
1119
1119
  let X = (_e = z.current) == null ? void 0 : _e.getModel();
1120
1120
  _ || ((qe = X == null ? void 0 : X.original) == null || qe.dispose()), f || ((Ne = X == null ? void 0 : X.modified) == null || Ne.dispose()), (ct = z.current) == null || ct.dispose();
1121
1121
  }
1122
- return ls.createElement(Ip, { width: B, height: P, isEditorReady: j, loading: h, _ref: J, className: O, wrapperProps: N });
1122
+ return ls.createElement(Ip, { width: B, height: P, isEditorReady: j, loading: h, _ref: V, className: O, wrapperProps: N });
1123
1123
  }
1124
1124
  var nx = ax, ix = Fi(nx);
1125
- function ox(a) {
1126
- let n = Me();
1125
+ function ox(n) {
1126
+ let a = Me();
1127
1127
  return Qe(() => {
1128
- n.current = a;
1129
- }, [a]), n.current;
1128
+ a.current = n;
1129
+ }, [n]), a.current;
1130
1130
  }
1131
1131
  var lx = ox, ja = /* @__PURE__ */ new Map();
1132
- function cx({ defaultValue: a, defaultLanguage: n, defaultPath: r, value: o, language: c, path: l, theme: m = "light", line: _, loading: f = "Loading...", options: b = {}, overrideServices: h = {}, saveViewState: T = !0, keepCurrentModel: P = !1, width: B = "100%", height: O = "100%", className: N, wrapperProps: $ = {}, beforeMount: G = $r, onMount: j = $r, onChange: F, onValidate: I = $r }) {
1133
- let [M, z] = lt(!1), [R, J] = lt(!0), ye = Me(null), ie = Me(null), ht = Me(null), Nt = Me(j), Re = Me(G), Be = Me(), X = Me(o), _e = lx(l), qe = Me(!1), Ne = Me(!1);
1132
+ function cx({ defaultValue: n, defaultLanguage: a, defaultPath: r, value: o, language: c, path: l, theme: m = "light", line: _, loading: f = "Loading...", options: b = {}, overrideServices: h = {}, saveViewState: T = !0, keepCurrentModel: P = !1, width: B = "100%", height: O = "100%", className: N, wrapperProps: $ = {}, beforeMount: G = $r, onMount: j = $r, onChange: F, onValidate: I = $r }) {
1133
+ let [M, z] = lt(!1), [R, V] = lt(!0), ye = Me(null), ie = Me(null), ht = Me(null), Nt = Me(j), Re = Me(G), Be = Me(), X = Me(o), _e = lx(l), qe = Me(!1), Ne = Me(!1);
1134
1134
  kp(() => {
1135
1135
  let ee = Ri.init();
1136
- return ee.then((fe) => (ye.current = fe) && J(!1)).catch((fe) => (fe == null ? void 0 : fe.type) !== "cancelation" && console.error("Monaco initialization: error:", fe)), () => ie.current ? wt() : ee.cancel();
1136
+ return ee.then((fe) => (ye.current = fe) && V(!1)).catch((fe) => (fe == null ? void 0 : fe.type) !== "cancelation" && console.error("Monaco initialization: error:", fe)), () => ie.current ? wt() : ee.cancel();
1137
1137
  }), bt(() => {
1138
1138
  var fe, Pe, St, Ke;
1139
- let ee = ir(ye.current, a || o || "", n || c || "", l || r || "");
1139
+ let ee = ir(ye.current, n || o || "", a || c || "", l || r || "");
1140
1140
  ee !== ((fe = ie.current) == null ? void 0 : fe.getModel()) && (T && ja.set(_e, (Pe = ie.current) == null ? void 0 : Pe.saveViewState()), (St = ie.current) == null || St.setModel(ee), T && ((Ke = ie.current) == null || Ke.restoreViewState(ja.get(l))));
1141
1141
  }, [l], M), bt(() => {
1142
1142
  var ee;
@@ -1158,10 +1158,10 @@ function cx({ defaultValue: a, defaultLanguage: n, defaultPath: r, value: o, lan
1158
1158
  var ee;
1159
1159
  if (!(!ht.current || !ye.current) && !qe.current) {
1160
1160
  Re.current(ye.current);
1161
- let fe = l || r, Pe = ir(ye.current, o || a || "", n || c || "", fe || "");
1161
+ let fe = l || r, Pe = ir(ye.current, o || n || "", a || c || "", fe || "");
1162
1162
  ie.current = (ee = ye.current) == null ? void 0 : ee.editor.create(ht.current, { model: Pe, automaticLayout: !0, ...b }, h), T && ie.current.restoreViewState(ja.get(fe)), ye.current.editor.setTheme(m), _ !== void 0 && ie.current.revealLine(_), z(!0), qe.current = !0;
1163
1163
  }
1164
- }, [a, n, r, o, c, l, b, h, T, m, _]);
1164
+ }, [n, a, r, o, c, l, b, h, T, m, _]);
1165
1165
  Qe(() => {
1166
1166
  M && Nt.current(ie.current, ye.current);
1167
1167
  }, [M]), Qe(() => {
@@ -60493,17 +60493,17 @@ else
60493
60493
  clickOnKeywordForMoreHelp: "`click` on keyword for more help"
60494
60494
  };
60495
60495
  function yx() {
60496
- const a = {}, n = {};
60496
+ const n = {}, a = {};
60497
60497
  return Object.keys(qc).reduce((r, o) => {
60498
60498
  const c = qc[o], l = be[o], { mapObj: m, keys: _ } = _x(c, l);
60499
60499
  return r.keyMapList[o] = m, r.keyList[o] = _, r;
60500
- }, { keyList: a, keyMapList: n }), { keyList: a, keyMapList: n };
60500
+ }, { keyList: n, keyMapList: a }), { keyList: n, keyMapList: a };
60501
60501
  }
60502
- function _x(a, n) {
60502
+ function _x(n, a) {
60503
60503
  const r = /* @__PURE__ */ new Map(), o = [];
60504
- return a.forEach((c) => {
60504
+ return n.forEach((c) => {
60505
60505
  var m;
60506
- c.title = n;
60506
+ c.title = a;
60507
60507
  const l = c.originalName || c.name;
60508
60508
  l !== "for...in" && (r.has(l) ? (m = r.get(l)) == null || m.push(c) : (o.push(l), r.set(l, [c])));
60509
60509
  }), { mapObj: r, keys: o };
@@ -60537,8 +60537,8 @@ const { keyList: Cp, keyMapList: xt } = yx(), Kr = [{
60537
60537
  key: "annotations",
60538
60538
  prefix: "an"
60539
60539
  }];
60540
- function fx(a) {
60541
- return a.replace(/<.*>/, "");
60540
+ function fx(n) {
60541
+ return n.replace(/<.*>/, "");
60542
60542
  }
60543
60543
  class gx {
60544
60544
  constructor() {
@@ -60562,40 +60562,40 @@ class gx {
60562
60562
 
60563
60563
  `;
60564
60564
  }
60565
- bold(n) {
60566
- return `**${n}**`;
60565
+ bold(a) {
60566
+ return `**${a}**`;
60567
60567
  }
60568
- italic(n) {
60569
- return `*${n.replace(">", "&gt;").replace("<", "&lt;")}*`;
60568
+ italic(a) {
60569
+ return `*${a.replace(">", "&gt;").replace("<", "&lt;")}*`;
60570
60570
  }
60571
- pineCode(n) {
60571
+ pineCode(a) {
60572
60572
  return `\`\`\`
60573
- ${n}
60573
+ ${a}
60574
60574
  \`\`\``;
60575
60575
  }
60576
- code(n) {
60577
- return `\`${n}\``;
60576
+ code(a) {
60577
+ return `\`${a}\``;
60578
60578
  }
60579
- paragraph(...n) {
60580
- return [this.paragraphBreak, ...n, this.paragraphBreak].join(this.lineBreak);
60579
+ paragraph(...a) {
60580
+ return [this.paragraphBreak, ...a, this.paragraphBreak].join(this.lineBreak);
60581
60581
  }
60582
- link(n, r) {
60583
- return `[${n}](${r.href})`;
60582
+ link(a, r) {
60583
+ return `[${a}](${r.href})`;
60584
60584
  }
60585
60585
  }
60586
60586
  const ne = new gx();
60587
- function bx(a) {
60588
- const { name: n, libraryName: r, desc: o } = a, c = [`${ne.bold(n || r)} (library)`];
60587
+ function bx(n) {
60588
+ const { name: a, libraryName: r, desc: o } = n, c = [`${ne.bold(a || r)} (library)`];
60589
60589
  return c.push(ne.delimiter), o && c.push(ne.paragraph(ne.bold(ot.Description), ne.lineBreak, o)), c.join(c.length === 2 ? " " : ne.lineBreak);
60590
60590
  }
60591
- function xx(a, n = 0, r = !0) {
60592
- const o = a[n];
60591
+ function xx(n, a = 0, r = !0) {
60592
+ const o = n[a];
60593
60593
  if (!o)
60594
60594
  return "";
60595
60595
  if (o.isEnumMember)
60596
60596
  return `${ne.bold(o.name)} (enum member)${o.value === void 0 ? "" : ` = ${o.value}`}`;
60597
60597
  const c = /(Mac|iPhone|iPod|iPad)/i.test(window.navigator.userAgent), { name: l, title: m, desc: _, type: f, syntax: b, returns: h, remarks: T, fields: P, members: B } = o, O = [`${ne.bold(l)} (${m})`];
60598
- if (a.length > 1 && O.push(ne.italic(`+${a.length - 1} overloads`)), O.push(ne.delimiter), _ && O.push(ne.paragraph(Array.isArray(_) ? _.join(ne.lineBreak) : _ || "")), f && O.push(ne.paragraph(ne.bold(ot.Type), ne.italic(f))), b && b.length && O.push(ne.paragraph(ne.bold(ot.Syntax), ne.pineCode(b.join(ne.lineBreak)))), h && O.push(ne.paragraph(ne.bold(ot.Returns), ne.lineBreak, h.join(ne.lineBreak))), T && T.length && a.length <= 1) {
60598
+ if (n.length > 1 && O.push(ne.italic(`+${n.length - 1} overloads`)), O.push(ne.delimiter), _ && O.push(ne.paragraph(Array.isArray(_) ? _.join(ne.lineBreak) : _ || "")), f && O.push(ne.paragraph(ne.bold(ot.Type), ne.italic(f))), b && b.length && O.push(ne.paragraph(ne.bold(ot.Syntax), ne.pineCode(b.join(ne.lineBreak)))), h && O.push(ne.paragraph(ne.bold(ot.Returns), ne.lineBreak, h.join(ne.lineBreak))), T && T.length && n.length <= 1) {
60599
60599
  let N = "";
60600
60600
  typeof T == "string" ? N = T : N = T.join(ne.lineBreak) || "", N.length < 200 && O.push(ne.paragraph(ne.bold(ot.Remarks), ne.lineBreak, N));
60601
60601
  }
@@ -60618,13 +60618,13 @@ function xx(a, n = 0, r = !0) {
60618
60618
  return r && O.push(ne.italic(`${ne.code(c ? "⌘" : "Ctrl")} + ${ux.clickOnKeywordForMoreHelp}`)), O.join(O.length === 2 ? " " : ne.lineBreak);
60619
60619
  }
60620
60620
  const Ai = "tcc_cursor_position", hx = ["submenuitem.EditorContextPeek", "editor.action.peekDefinition"];
60621
- function wx(a) {
60622
- return a.replace(/<[^<>]+>/, "").replace(/(series|simple|const|input)\s+([\w\d.]+)/, "$2").replace(/\w[\w.\d]*\[\]/, "array");
60621
+ function wx(n) {
60622
+ return n.replace(/<[^<>]+>/, "").replace(/(series|simple|const|input)\s+([\w\d.]+)/, "$2").replace(/\w[\w.\d]*\[\]/, "array");
60623
60623
  }
60624
- function vx(a) {
60625
- const n = a.getContribution("editor.contrib.contextmenu"), r = n == null ? void 0 : n._getMenuActions;
60626
- n._getMenuActions = function() {
60627
- return r.apply(n, arguments).filter(function(c) {
60624
+ function vx(n) {
60625
+ const a = n.getContribution("editor.contrib.contextmenu"), r = a == null ? void 0 : a._getMenuActions;
60626
+ a._getMenuActions = function() {
60627
+ return r.apply(a, arguments).filter(function(c) {
60628
60628
  return !hx.includes(c.id);
60629
60629
  });
60630
60630
  };
@@ -60732,8 +60732,8 @@ class Tx {
60732
60732
  get userEnums() {
60733
60733
  return this._userEnums;
60734
60734
  }
60735
- set nextIsBracket(n) {
60736
- this._nextIsBracket = n;
60735
+ set nextIsBracket(a) {
60736
+ this._nextIsBracket = a;
60737
60737
  }
60738
60738
  get nextIsBracket() {
60739
60739
  return this._nextIsBracket;
@@ -60744,36 +60744,36 @@ class Tx {
60744
60744
  initBuiltinsTrees() {
60745
60745
  this._getBuiltinsCacheFragment(), this._suggestions = this._getAllCompletionItems(), this._getFuncArgumentsCompletionItemsToCache(this._builtinSubtreeCache.functions);
60746
60746
  }
60747
- getArgSuggestions(n) {
60748
- return this._funcArgsCache.get(n) || this._userFuncArgsCache.get(n);
60747
+ getArgSuggestions(a) {
60748
+ return this._funcArgsCache.get(a) || this._userFuncArgsCache.get(a);
60749
60749
  }
60750
- getSuggestions(n) {
60751
- return n ? this._namespaceCache.get(n) || this._userNamespaceCache.get(n) : this._suggestions.concat(this._userSuggestions);
60750
+ getSuggestions(a) {
60751
+ return a ? this._namespaceCache.get(a) || this._userNamespaceCache.get(a) : this._suggestions.concat(this._userSuggestions);
60752
60752
  }
60753
60753
  _initUserDefind() {
60754
60754
  this._userFuncArgsCache.clear(), this._userNamespaceCache.clear(), this._userOutermostNsItems.clear(), this._methodNamespaceCache.clear(), this._methodFuncs.clear();
60755
60755
  }
60756
- setUserDefind(n, r, o, c, l) {
60756
+ setUserDefind(a, r, o, c, l) {
60757
60757
  this._initUserDefind();
60758
60758
  const m = this._mergeTreeSlices(this._generateTreeSlice(xt.methods, "method"), this._generateTreeSlice(c, "method"));
60759
- this._getMethodNamespaceCache(m), this._userMethods = c, this._userTypes = r, this._userFunctions = n, this._userEnums = l;
60760
- const _ = this._generateTreeSlice(n, "fun");
60759
+ this._getMethodNamespaceCache(m), this._userMethods = c, this._userTypes = r, this._userFunctions = a, this._userEnums = l;
60760
+ const _ = this._generateTreeSlice(a, "fun");
60761
60761
  this._userSuggestions = this._getAllUserCompletionItems(_, this._generateTreeSlice(r, "type"), this._generateTreeSlice(o, "var"), this._generateTreeSlice(l, "enum")), this._getUserFuncArgumentsCompletionItemsToCache(_);
60762
60762
  }
60763
- _getAllUserCompletionItems(n, r, o, c) {
60764
- const l = this._getEnumCompletionItems(c), m = this._getUserVariableCompletionItems(o), _ = this._getTypeCompletionItems(r, !0), f = this._getFunctionCompletionItems(n, void 0, !0);
60763
+ _getAllUserCompletionItems(a, r, o, c) {
60764
+ const l = this._getEnumCompletionItems(c), m = this._getUserVariableCompletionItems(o), _ = this._getTypeCompletionItems(r, !0), f = this._getFunctionCompletionItems(a, void 0, !0);
60765
60765
  return [..._, ...f, ...m, ...l, ...this._userOutermostNsItems.values()];
60766
60766
  }
60767
60767
  _getAllCompletionItems() {
60768
- const { variables: n, keywords: r, types: o, functions: c } = this._builtinSubtreeCache, l = this._getVariableCompletionItems(n), m = this._getKeywordCompletionItems(r), _ = this._getTypeCompletionItems(o), f = this._getFunctionCompletionItems(c), b = this._getSnippetsCompletionsList();
60768
+ const { variables: a, keywords: r, types: o, functions: c } = this._builtinSubtreeCache, l = this._getVariableCompletionItems(a), m = this._getKeywordCompletionItems(r), _ = this._getTypeCompletionItems(o), f = this._getFunctionCompletionItems(c), b = this._getSnippetsCompletionsList();
60769
60769
  return [...l, ...m, ..._, ...f, ...this._outermostNsItems.values(), ...b];
60770
60770
  }
60771
- _getNodeKey(n, r) {
60772
- return `${r}_${n}`;
60771
+ _getNodeKey(a, r) {
60772
+ return `${r}_${a}`;
60773
60773
  }
60774
- _mergeTreeSlices(...n) {
60774
+ _mergeTreeSlices(...a) {
60775
60775
  const r = /* @__PURE__ */ new Map();
60776
- for (const o of n)
60776
+ for (const o of a)
60777
60777
  for (const [c, l] of o) {
60778
60778
  const m = r.get(c);
60779
60779
  m ? r.set(c, {
@@ -60783,17 +60783,17 @@ class Tx {
60783
60783
  }
60784
60784
  return r;
60785
60785
  }
60786
- _mergeCompletions(n, r) {
60787
- const o = this._namespaceCache.get(n);
60788
- o ? this._namespaceCache.set(n, [...o, ...r]) : this._namespaceCache.set(n, r);
60786
+ _mergeCompletions(a, r) {
60787
+ const o = this._namespaceCache.get(a);
60788
+ o ? this._namespaceCache.set(a, [...o, ...r]) : this._namespaceCache.set(a, r);
60789
60789
  }
60790
- _mergeUserCompletions(n, r) {
60791
- const o = this._userNamespaceCache.get(n);
60792
- o ? this._userNamespaceCache.set(n, [...o, ...r]) : this._userNamespaceCache.set(n, r);
60790
+ _mergeUserCompletions(a, r) {
60791
+ const o = this._userNamespaceCache.get(a);
60792
+ o ? this._userNamespaceCache.set(a, [...o, ...r]) : this._userNamespaceCache.set(a, r);
60793
60793
  }
60794
- _generateTreeSlice(n, r) {
60794
+ _generateTreeSlice(a, r) {
60795
60795
  const o = /* @__PURE__ */ new Map();
60796
- for (const [c, l] of n) {
60796
+ for (const [c, l] of a) {
60797
60797
  const [m, ..._] = c.split("."), f = _.length > 0, b = o.get(this._getNodeKey(m, f ? "ns" : r));
60798
60798
  let h = /* @__PURE__ */ new Map(), T = l.map((B) => ({
60799
60799
  ...B,
@@ -60817,18 +60817,18 @@ class Tx {
60817
60817
  return o;
60818
60818
  }
60819
60819
  _getBuiltinsCacheFragment() {
60820
- const { keywords: n, variables: r, constants: o, types: c, functions: l, annotations: m } = xt, _ = this._generateTreeSlice(m, "an");
60820
+ const { keywords: a, variables: r, constants: o, types: c, functions: l, annotations: m } = xt, _ = this._generateTreeSlice(m, "an");
60821
60821
  return _.delete("an_@version="), this._builtinSubtreeCache = {
60822
- keywords: this._generateTreeSlice(n, "key"),
60822
+ keywords: this._generateTreeSlice(a, "key"),
60823
60823
  variables: this._mergeTreeSlices(this._generateTreeSlice(r, "var"), this._generateTreeSlice(o, "var")),
60824
60824
  types: this._generateTreeSlice(c, "type"),
60825
60825
  functions: this._generateTreeSlice(l, "fun"),
60826
60826
  annotations: _
60827
60827
  }, this._builtinSubtreeCache;
60828
60828
  }
60829
- _getVariableCompletionItems(n, r) {
60829
+ _getVariableCompletionItems(a, r) {
60830
60830
  const o = [], c = [];
60831
- for (const [l, m] of n) {
60831
+ for (const [l, m] of a) {
60832
60832
  const { value: _, children: f } = m;
60833
60833
  if (l.startsWith("ns")) {
60834
60834
  const b = this._getNamespaceCompletionItem(_[0]);
@@ -60851,13 +60851,13 @@ class Tx {
60851
60851
  }
60852
60852
  return c.length && r && this._mergeCompletions(r, c), o;
60853
60853
  }
60854
- _setUserVariableSubItems(n, r) {
60854
+ _setUserVariableSubItems(a, r) {
60855
60855
  var b, h, T, P;
60856
60856
  let o = [];
60857
- const c = wx(n.type || ""), l = this._methodNamespaceCache.get(c), m = r ? `${r}.${n.name}` : n.name;
60857
+ const c = wx(a.type || ""), l = this._methodNamespaceCache.get(c), m = r ? `${r}.${a.name}` : a.name;
60858
60858
  l && (o = l.filter((B) => {
60859
60859
  var G;
60860
- const O = `${c}.${B.label}`, N = xt.methods.get(O) || this._userMethods.get(O), $ = N == null ? void 0 : N.some((j) => !j.thisType || j.thisType[0].includes("<>") || j.thisType.includes(n.type || ""));
60860
+ const O = `${c}.${B.label}`, N = xt.methods.get(O) || this._userMethods.get(O), $ = N == null ? void 0 : N.some((j) => !j.thisType || j.thisType[0].includes("<>") || j.thisType.includes(a.type || ""));
60861
60861
  if ($ && N) {
60862
60862
  const j = this._getNamedArgumentsCompletionList(((G = N[0]) == null ? void 0 : G.args) || []), F = `${m}.${B.label}`;
60863
60863
  this._userFuncArgsCache.set(F, j), this._methodFuncs.set(F, N);
@@ -60868,13 +60868,13 @@ class Tx {
60868
60868
  if (f)
60869
60869
  for (const B of f) {
60870
60870
  const O = B.name, N = B.type, $ = this._getInstanceTypeCompletionItemProp({ name: O, type: N, desc: B.desc ? [B.desc] : void 0 });
60871
- this._setUserVariableSubItems({ name: O, type: N }, n.name), o.push({ ...$ });
60871
+ this._setUserVariableSubItems({ name: O, type: N }, a.name), o.push({ ...$ });
60872
60872
  }
60873
60873
  o.length && this._mergeUserCompletions(m, o);
60874
60874
  }
60875
- _getUserVariableCompletionItems(n, r) {
60875
+ _getUserVariableCompletionItems(a, r) {
60876
60876
  const o = [], c = [];
60877
- for (const [l, m] of n) {
60877
+ for (const [l, m] of a) {
60878
60878
  const { value: _, children: f } = m;
60879
60879
  if (this._setUserVariableSubItems(_[0]), l.startsWith("ns")) {
60880
60880
  const b = this._getNamespaceCompletionItem(_[0]);
@@ -60897,17 +60897,17 @@ class Tx {
60897
60897
  }
60898
60898
  return c.length && r && this._mergeUserCompletions(r, c), o;
60899
60899
  }
60900
- _getTypeCompletionItems(n, r = !1) {
60900
+ _getTypeCompletionItems(a, r = !1) {
60901
60901
  const o = [];
60902
- for (const [, c] of n) {
60902
+ for (const [, c] of a) {
60903
60903
  const { value: l } = c, m = r ? this._getCustomTypeCompletionItem(l[0]) : this._getTypeCompletionItem(l[0]);
60904
60904
  o.push(m);
60905
60905
  }
60906
60906
  return o;
60907
60907
  }
60908
- _getEnumCompletionItems(n) {
60908
+ _getEnumCompletionItems(a) {
60909
60909
  const r = [];
60910
- for (const [, o] of n) {
60910
+ for (const [, o] of a) {
60911
60911
  const { value: c } = o, l = this._getEnumCompletionItem(c[0]);
60912
60912
  r.push(l);
60913
60913
  const m = c[0].members;
@@ -60915,33 +60915,33 @@ class Tx {
60915
60915
  }
60916
60916
  return r;
60917
60917
  }
60918
- _getEnumMemberCompletionItems(n, r) {
60918
+ _getEnumMemberCompletionItems(a, r) {
60919
60919
  const o = [];
60920
60920
  for (const c of r) {
60921
60921
  const { name: l, desc: m, value: _ } = c, f = this._getEnumMemberCompletionItem({ name: l, desc: m ? [m] : void 0, value: _ });
60922
60922
  o.push(f);
60923
60923
  }
60924
- o.length && this._mergeUserCompletions(n, o);
60924
+ o.length && this._mergeUserCompletions(a, o);
60925
60925
  }
60926
- _getAnnotationCompletionItems(n) {
60926
+ _getAnnotationCompletionItems(a) {
60927
60927
  const r = [];
60928
- for (const [, o] of n) {
60928
+ for (const [, o] of a) {
60929
60929
  const { value: c } = o, l = this._getAnnotationCompletionItem(c[0]);
60930
60930
  r.push(l);
60931
60931
  }
60932
60932
  return r;
60933
60933
  }
60934
- _getKeywordCompletionItems(n) {
60934
+ _getKeywordCompletionItems(a) {
60935
60935
  const r = [];
60936
- for (const [, o] of n) {
60936
+ for (const [, o] of a) {
60937
60937
  const { value: c } = o, l = this._getKeywordCompletionItem(c[0]);
60938
60938
  r.push(l);
60939
60939
  }
60940
60940
  return r;
60941
60941
  }
60942
- _getMethodNamespaceCache(n, r) {
60942
+ _getMethodNamespaceCache(a, r) {
60943
60943
  const o = [];
60944
- for (const [c, l] of n) {
60944
+ for (const [c, l] of a) {
60945
60945
  const { value: m, children: _ } = l;
60946
60946
  if (c.startsWith("ns")) {
60947
60947
  const f = this._getNamespaceCompletionItem(m[0]);
@@ -60962,9 +60962,9 @@ class Tx {
60962
60962
  }
60963
60963
  r && this._methodNamespaceCache.set(r, o);
60964
60964
  }
60965
- _getFunctionCompletionItems(n, r, o = !1) {
60965
+ _getFunctionCompletionItems(a, r, o = !1) {
60966
60966
  const c = [], l = [];
60967
- for (const [m, _] of n) {
60967
+ for (const [m, _] of a) {
60968
60968
  const { value: f, children: b } = _;
60969
60969
  if (m.startsWith("ns")) {
60970
60970
  const h = this._getNamespaceCompletionItem(f[0]);
@@ -60988,8 +60988,8 @@ class Tx {
60988
60988
  return l.length && r && (o ? this._mergeUserCompletions(r, l) : this._mergeCompletions(r, l)), c;
60989
60989
  }
60990
60990
  _getSnippetsCompletionsList() {
60991
- return mx.map((n) => {
60992
- const { label: r, kind: o, insertText: c } = n, l = r.charAt(0).toUpperCase() + r.substring(1), m = {
60991
+ return mx.map((a) => {
60992
+ const { label: r, kind: o, insertText: c } = a, l = r.charAt(0).toUpperCase() + r.substring(1), m = {
60993
60993
  value: this._formatter.pineCode(c.replace(/\${\d:([^}]+)}|\${\d}/g, "$1"))
60994
60994
  };
60995
60995
  return {
@@ -61003,8 +61003,8 @@ class Tx {
61003
61003
  };
61004
61004
  });
61005
61005
  }
61006
- _getFuncArgumentsCompletionItemsToCache(n, r) {
61007
- for (const [o, c] of n) {
61006
+ _getFuncArgumentsCompletionItemsToCache(a, r) {
61007
+ for (const [o, c] of a) {
61008
61008
  const { name: l } = c.value[0];
61009
61009
  if (o.startsWith("ns"))
61010
61010
  this._getFuncArgumentsCompletionItemsToCache(c.children, r ? `${r}.${l}` : l);
@@ -61021,8 +61021,8 @@ class Tx {
61021
61021
  }
61022
61022
  }
61023
61023
  }
61024
- _getUserFuncArgumentsCompletionItemsToCache(n, r) {
61025
- for (const [o, c] of n) {
61024
+ _getUserFuncArgumentsCompletionItemsToCache(a, r) {
61025
+ for (const [o, c] of a) {
61026
61026
  const { name: l } = c.value[0];
61027
61027
  if (o.startsWith("ns"))
61028
61028
  this._getUserFuncArgumentsCompletionItemsToCache(c.children, r ? `${r}.${l}` : l);
@@ -61039,8 +61039,8 @@ class Tx {
61039
61039
  }
61040
61040
  }
61041
61041
  }
61042
- _getNamedArgumentsCompletionList(n) {
61043
- return n.map((r) => {
61042
+ _getNamedArgumentsCompletionList(a) {
61043
+ return a.map((r) => {
61044
61044
  const { name: o, desc: c, displayType: l } = r, m = `${o} = `, _ = Array.isArray(c) ? c.join(this._formatter.delimiter) : c || "";
61045
61045
  return {
61046
61046
  label: m,
@@ -61054,106 +61054,106 @@ class Tx {
61054
61054
  };
61055
61055
  });
61056
61056
  }
61057
- _getVariableCompletionItem(n, r = 2, o = !0) {
61058
- const c = this._extractExamples(n), l = this._extractDescription(n), m = [this._createDescriptionSection(l)];
61059
- c.length ? m.push(this._createExampleSection(c)) : n.syntax && n.syntax.length && m.push(this._createSyntaxSection(n.syntax));
61057
+ _getVariableCompletionItem(a, r = 2, o = !0) {
61058
+ const c = this._extractExamples(a), l = this._extractDescription(a), m = [this._createDescriptionSection(l)];
61059
+ c.length ? m.push(this._createExampleSection(c)) : a.syntax && a.syntax.length && m.push(this._createSyntaxSection(a.syntax));
61060
61060
  const _ = {
61061
61061
  value: m.join(this._formatter.lineBreak)
61062
61062
  }, f = o ? be.variables : be.userDefinedVariable;
61063
61063
  return {
61064
61064
  documentation: _,
61065
- label: n.name,
61066
- insertText: n.name,
61065
+ label: a.name,
61066
+ insertText: a.name,
61067
61067
  kind: He.CompletionItemKind.Variable,
61068
- sortText: `${r}_${n.name}`,
61069
- detail: `(${f}) ${n.type}`
61068
+ sortText: `${r}_${a.name}`,
61069
+ detail: `(${f}) ${a.type}`
61070
61070
  };
61071
61071
  }
61072
- _getKeywordCompletionItem(n, r = 2) {
61073
- const o = this._extractExamples(n), c = this._extractDescription(n), l = [this._createDescriptionSection(c)];
61074
- return o.length ? l.push(this._createExampleSection(o)) : n.syntax && n.syntax.length && l.push(this._createSyntaxSection(n.syntax)), {
61072
+ _getKeywordCompletionItem(a, r = 2) {
61073
+ const o = this._extractExamples(a), c = this._extractDescription(a), l = [this._createDescriptionSection(c)];
61074
+ return o.length ? l.push(this._createExampleSection(o)) : a.syntax && a.syntax.length && l.push(this._createSyntaxSection(a.syntax)), {
61075
61075
  documentation: {
61076
61076
  value: l.join(this._formatter.lineBreak)
61077
61077
  },
61078
- label: n.name,
61079
- insertText: n.name,
61078
+ label: a.name,
61079
+ insertText: a.name,
61080
61080
  kind: He.CompletionItemKind.Keyword,
61081
- sortText: `${r}_${n.name}`,
61081
+ sortText: `${r}_${a.name}`,
61082
61082
  detail: `(${be.keywords})`
61083
61083
  };
61084
61084
  }
61085
- _getTypeCompletionItem(n) {
61086
- const r = this._extractDescription(n);
61085
+ _getTypeCompletionItem(a) {
61086
+ const r = this._extractDescription(a);
61087
61087
  return {
61088
61088
  documentation: {
61089
61089
  value: this._createDescriptionSection(r)
61090
61090
  },
61091
- label: n.name,
61092
- insertText: n.name,
61091
+ label: a.name,
61092
+ insertText: a.name,
61093
61093
  kind: He.CompletionItemKind.Keyword,
61094
- sortText: `1_${n.name}`,
61094
+ sortText: `1_${a.name}`,
61095
61095
  detail: `(${be.types})`
61096
61096
  };
61097
61097
  }
61098
- _getCustomTypeCompletionItem(n) {
61099
- const r = this._extractDescription(n);
61098
+ _getCustomTypeCompletionItem(a) {
61099
+ const r = this._extractDescription(a);
61100
61100
  return {
61101
61101
  documentation: {
61102
61102
  value: this._createDescriptionSection(r)
61103
61103
  },
61104
- label: n.name,
61105
- insertText: n.name,
61104
+ label: a.name,
61105
+ insertText: a.name,
61106
61106
  kind: He.CompletionItemKind.Keyword,
61107
- sortText: `2_${n.name}`,
61107
+ sortText: `2_${a.name}`,
61108
61108
  detail: `(${be.userDefinedType})`
61109
61109
  };
61110
61110
  }
61111
- _getEnumCompletionItem(n) {
61112
- const r = this._extractDescription(n);
61111
+ _getEnumCompletionItem(a) {
61112
+ const r = this._extractDescription(a);
61113
61113
  return {
61114
61114
  documentation: {
61115
61115
  value: this._createDescriptionSection(r)
61116
61116
  },
61117
- label: n.name,
61118
- insertText: n.name,
61117
+ label: a.name,
61118
+ insertText: a.name,
61119
61119
  kind: He.CompletionItemKind.Enum,
61120
- sortText: `2_${n.name}`,
61120
+ sortText: `2_${a.name}`,
61121
61121
  detail: `(${be.enum})`
61122
61122
  };
61123
61123
  }
61124
- _getEnumMemberCompletionItem(n) {
61125
- const r = this._extractDescription(n);
61124
+ _getEnumMemberCompletionItem(a) {
61125
+ const r = this._extractDescription(a);
61126
61126
  return {
61127
61127
  documentation: {
61128
61128
  value: this._createDescriptionSection(r)
61129
61129
  },
61130
- label: n.name,
61131
- insertText: n.name,
61130
+ label: a.name,
61131
+ insertText: a.name,
61132
61132
  kind: He.CompletionItemKind.EnumMember,
61133
- sortText: `2_${n.name}`,
61134
- detail: `(enum member) ${n.value ? `${n.name} = ${n.value}` : `${n.name}`}`
61133
+ sortText: `2_${a.name}`,
61134
+ detail: `(enum member) ${a.value ? `${a.name} = ${a.value}` : `${a.name}`}`
61135
61135
  };
61136
61136
  }
61137
- _getInstanceTypeCompletionItemProp(n) {
61138
- const r = this._extractDescription(n), o = [];
61137
+ _getInstanceTypeCompletionItemProp(a) {
61138
+ const r = this._extractDescription(a), o = [];
61139
61139
  return r && o.push(this._formatter.paragraph(this._formatter.bold(ot.Description), this._formatter.lineBreak, r)), {
61140
61140
  documentation: {
61141
61141
  value: o.join(this._formatter.lineBreak)
61142
61142
  },
61143
- label: n.name,
61144
- insertText: n.name,
61143
+ label: a.name,
61144
+ insertText: a.name,
61145
61145
  kind: He.CompletionItemKind.Field,
61146
- sortText: `2_${n.name}`,
61147
- detail: `(${be.field}) ${n.type}`
61146
+ sortText: `2_${a.name}`,
61147
+ detail: `(${be.field}) ${a.type}`
61148
61148
  };
61149
61149
  }
61150
- _getFunctionCompletionItem(n, r = 2, o = !0) {
61150
+ _getFunctionCompletionItem(a, r = 2, o = !0) {
61151
61151
  var B;
61152
- const c = n.returnedTypes && n.returnedTypes[0] || n.syntax && n.syntax[0] && ((B = n.syntax[0].split("→").pop()) == null ? void 0 : B.trim()), l = this._extractExamples(n), m = this._extractDescription(n), _ = [this._createDescriptionSection(m)];
61153
- l.length ? _.push(this._createExampleSection(l)) : n.syntax && n.syntax.length && _.push(this._createSyntaxSection(n.syntax)), n.returns && n.returns.length && _.push(this._createReturnSection(n.returns));
61152
+ const c = a.returnedTypes && a.returnedTypes[0] || a.syntax && a.syntax[0] && ((B = a.syntax[0].split("→").pop()) == null ? void 0 : B.trim()), l = this._extractExamples(a), m = this._extractDescription(a), _ = [this._createDescriptionSection(m)];
61153
+ l.length ? _.push(this._createExampleSection(l)) : a.syntax && a.syntax.length && _.push(this._createSyntaxSection(a.syntax)), a.returns && a.returns.length && _.push(this._createReturnSection(a.returns));
61154
61154
  const f = {
61155
61155
  value: _.join(this._formatter.lineBreak)
61156
- }, b = n.name, h = o ? be.functions : be.userDefinedFunction, T = n.template, P = T ? `${fx(b)}<\${1}>` : b;
61156
+ }, b = a.name, h = o ? be.functions : be.userDefinedFunction, T = a.template, P = T ? `${fx(b)}<\${1}>` : b;
61157
61157
  return {
61158
61158
  documentation: f,
61159
61159
  label: T ? `${b.replace(/<.+>/, "")}<type>` : b,
@@ -61172,49 +61172,49 @@ class Tx {
61172
61172
  }
61173
61173
  };
61174
61174
  }
61175
- _getAnnotationCompletionItem(n) {
61176
- const r = this._extractDescription(n), o = this._extractExamples(n), c = [this._createDescriptionSection(r)];
61175
+ _getAnnotationCompletionItem(a) {
61176
+ const r = this._extractDescription(a), o = this._extractExamples(a), c = [this._createDescriptionSection(r)];
61177
61177
  return o.length && c.push(this._createExampleSection(o)), {
61178
61178
  documentation: {
61179
61179
  value: c.join(this._formatter.lineBreak)
61180
61180
  },
61181
- label: n.name,
61182
- insertText: n.name.replace("@", ""),
61181
+ label: a.name,
61182
+ insertText: a.name.replace("@", ""),
61183
61183
  kind: He.CompletionItemKind.Keyword,
61184
61184
  detail: `(${be.annotations})`
61185
61185
  };
61186
61186
  }
61187
- _getNamespaceCompletionItem(n, r = 2) {
61187
+ _getNamespaceCompletionItem(a, r = 2) {
61188
61188
  const o = [this._createDescriptionSection(be.namespaceDesc)];
61189
61189
  return {
61190
- label: n.name,
61190
+ label: a.name,
61191
61191
  documentation: {
61192
61192
  value: o.join(this._formatter.lineBreak)
61193
61193
  },
61194
- detail: `(${be.namespace}) ${n.name}`,
61195
- insertText: n.name,
61196
- sortText: `${r}_${n.name}`,
61194
+ detail: `(${be.namespace}) ${a.name}`,
61195
+ insertText: a.name,
61196
+ sortText: `${r}_${a.name}`,
61197
61197
  kind: He.CompletionItemKind.Module
61198
61198
  };
61199
61199
  }
61200
- _extractExamples(n) {
61200
+ _extractExamples(a) {
61201
61201
  let r;
61202
- return n.examples || n.detailedDesc && ((r = n.detailedDesc[0]) === null || r === void 0 ? void 0 : r.examples) || [];
61202
+ return a.examples || a.detailedDesc && ((r = a.detailedDesc[0]) === null || r === void 0 ? void 0 : r.examples) || [];
61203
61203
  }
61204
- _extractDescription(n) {
61205
- return Array.isArray(n.desc) ? n.desc.join(this._formatter.lineBreak) : n.desc || "";
61204
+ _extractDescription(a) {
61205
+ return Array.isArray(a.desc) ? a.desc.join(this._formatter.lineBreak) : a.desc || "";
61206
61206
  }
61207
- _createExampleSection(n) {
61208
- return this._formatter.paragraph(this._formatter.bold(ot.Example), this._formatter.pineCode(n.join(this._formatter.lineBreak)));
61207
+ _createExampleSection(a) {
61208
+ return this._formatter.paragraph(this._formatter.bold(ot.Example), this._formatter.pineCode(a.join(this._formatter.lineBreak)));
61209
61209
  }
61210
- _createSyntaxSection(n) {
61211
- return this._formatter.paragraph(this._formatter.bold(ot.Syntax), this._formatter.pineCode(n.join(this._formatter.lineBreak)));
61210
+ _createSyntaxSection(a) {
61211
+ return this._formatter.paragraph(this._formatter.bold(ot.Syntax), this._formatter.pineCode(a.join(this._formatter.lineBreak)));
61212
61212
  }
61213
- _createReturnSection(n) {
61214
- return this._formatter.paragraph(this._formatter.bold(ot.Returns), this._formatter.lineBreak, n.join(this._formatter.lineBreak));
61213
+ _createReturnSection(a) {
61214
+ return this._formatter.paragraph(this._formatter.bold(ot.Returns), this._formatter.lineBreak, a.join(this._formatter.lineBreak));
61215
61215
  }
61216
- _createDescriptionSection(n) {
61217
- return !n || n.trim().length === 0 ? "" : this._formatter.paragraph(this._formatter.bold(ot.Description), this._formatter.lineBreak, n);
61216
+ _createDescriptionSection(a) {
61217
+ return !a || a.trim().length === 0 ? "" : this._formatter.paragraph(this._formatter.bold(ot.Description), this._formatter.lineBreak, a);
61218
61218
  }
61219
61219
  }
61220
61220
  const Kt = new Tx();
@@ -61260,31 +61260,31 @@ class Dx {
61260
61260
  get overloadsFuncs() {
61261
61261
  return this._overloadsFuncs;
61262
61262
  }
61263
- setUserDefined(n, r) {
61264
- const { functions: o, variables: c, types: l, methods: m, imports: _, enums: f } = n;
61263
+ setUserDefined(a, r) {
61264
+ const { functions: o, variables: c, types: l, methods: m, imports: _, enums: f } = a;
61265
61265
  o && (this._userFunctions = o), c && (this._userVariables = c), l && (this._userTypes = l), m && (this._userMethods = m), _ && (this._imports = _), f && (this._userEnums = f), this._overloadsFuncs = r;
61266
61266
  }
61267
- parseLineContentFuncVar(n, r, o, c) {
61267
+ parseLineContentFuncVar(a, r, o, c) {
61268
61268
  let l = (o == null ? void 0 : o.getLineContent(r)) || "";
61269
61269
  const m = l.indexOf("//");
61270
- if (this._removeString(l).indexOf("//") !== -1 && m <= n)
61270
+ if (this._removeString(l).indexOf("//") !== -1 && m <= a)
61271
61271
  return;
61272
61272
  l = l + " ";
61273
- const _ = this._getVariablesDocVal(l, n, r);
61273
+ const _ = this._getVariablesDocVal(l, a, r);
61274
61274
  if (_) {
61275
61275
  if (_.isBuildIn) {
61276
- const h = o == null ? void 0 : o.getWordAtPosition(c || new eb(r, n));
61276
+ const h = o == null ? void 0 : o.getWordAtPosition(c || new eb(r, a));
61277
61277
  if (((o == null ? void 0 : o.getValueInRange({ startLineNumber: r, startColumn: (h == null ? void 0 : h.endColumn) || 0, endLineNumber: r, endColumn: ((h == null ? void 0 : h.endColumn) || 0) + 2 })) || "").trim().startsWith("="))
61278
61278
  return null;
61279
61279
  }
61280
61280
  return _;
61281
61281
  }
61282
- const f = this._getFuncsDocVal(l, n, r);
61282
+ const f = this._getFuncsDocVal(l, a, r);
61283
61283
  if (f)
61284
61284
  return f;
61285
61285
  const b = l.match(/[a-zA-Z_][a-zA-Z_0-9]*(\s*\.\s*[a-zA-Z_][a-zA-Z_0-9]*)*(?=\s*<)/g);
61286
61286
  if (b) {
61287
- const h = this._matchContent(b, l, n);
61287
+ const h = this._matchContent(b, l, a);
61288
61288
  if (h) {
61289
61289
  const T = this._getBuildInOther(h.name);
61290
61290
  if (T)
@@ -61304,20 +61304,20 @@ class Dx {
61304
61304
  }
61305
61305
  }
61306
61306
  }
61307
- return this._getImportDocVal(l, n, r);
61307
+ return this._getImportDocVal(l, a, r);
61308
61308
  }
61309
- _getImportDocVal(n, r, o) {
61310
- const c = new RegExp("(?<=(import(\\s+)))([a-zA-Z\\d\\$_\\-\\.\\u00a1-\\uffff\\/]+)", "g"), l = new RegExp("(?<=(as\\b)(\\s+))([a-zA-Z\\d\\_\\u00a1\\uffff\\/]+)", "g"), m = n.match(c);
61309
+ _getImportDocVal(a, r, o) {
61310
+ const c = new RegExp("(?<=(import(\\s+)))([a-zA-Z\\d\\$_\\-\\.\\u00a1-\\uffff\\/]+)", "g"), l = new RegExp("(?<=(as\\b)(\\s+))([a-zA-Z\\d\\_\\u00a1\\uffff\\/]+)", "g"), m = a.match(c);
61311
61311
  if (m) {
61312
- const _ = this._matchContent(m, n, r);
61312
+ const _ = this._matchContent(m, a, r);
61313
61313
  if (_) {
61314
61314
  const b = this._imports.get(_.name);
61315
61315
  if (b)
61316
61316
  return b;
61317
61317
  }
61318
- const f = n.match(l);
61318
+ const f = a.match(l);
61319
61319
  if (f) {
61320
- const b = this._matchContent(f, n, r);
61320
+ const b = this._matchContent(f, a, r);
61321
61321
  if (b) {
61322
61322
  for (const [h, T] of this._imports)
61323
61323
  if (T.name === b.name)
@@ -61327,20 +61327,20 @@ class Dx {
61327
61327
  }
61328
61328
  return null;
61329
61329
  }
61330
- _getBuildInFunc(n) {
61331
- return xt.functions.get(n);
61330
+ _getBuildInFunc(a) {
61331
+ return xt.functions.get(a);
61332
61332
  }
61333
- _getBuildInMethod(n) {
61334
- return xt.methods.get(n);
61333
+ _getBuildInMethod(a) {
61334
+ return xt.methods.get(a);
61335
61335
  }
61336
- _getBuildInOther(n) {
61336
+ _getBuildInOther(a) {
61337
61337
  const { keywords: r, variables: o, constants: c, types: l } = xt;
61338
- return r.get(n) || o.get(n) || c.get(n) || l.get(n);
61338
+ return r.get(a) || o.get(a) || c.get(a) || l.get(a);
61339
61339
  }
61340
- parseCurrentInputFunc(n, r = !1, o = !1) {
61341
- let c = n.length - 1, l = 0, m = r, _ = o;
61340
+ parseCurrentInputFunc(a, r = !1, o = !1) {
61341
+ let c = a.length - 1, l = 0, m = r, _ = o;
61342
61342
  for (; c >= 0; ) {
61343
- const f = n.charAt(c);
61343
+ const f = a.charAt(c);
61344
61344
  if (c -= 1, /['"]/.test(f)) {
61345
61345
  const b = f;
61346
61346
  if (f === "'") {
@@ -61353,7 +61353,7 @@ class Dx {
61353
61353
  continue;
61354
61354
  }
61355
61355
  for (; c >= 0; ) {
61356
- const h = n.charAt(c);
61356
+ const h = a.charAt(c);
61357
61357
  if (c -= 1, h === b)
61358
61358
  break;
61359
61359
  }
@@ -61365,7 +61365,7 @@ class Dx {
61365
61365
  }
61366
61366
  let b = "";
61367
61367
  for (; c >= 0; ) {
61368
- const h = n.charAt(c);
61368
+ const h = a.charAt(c);
61369
61369
  if (!(/\s/.test(h) && !b)) {
61370
61370
  if (/[^\w.]/.test(h))
61371
61371
  break;
@@ -61380,10 +61380,10 @@ class Dx {
61380
61380
  }
61381
61381
  }
61382
61382
  }
61383
- parseCurrentInputFuncAndArg(n, r = !1, o = !1) {
61384
- const { funcName: c, startIndex: l } = this.parseCurrentInputFunc(n, r, o) || {};
61383
+ parseCurrentInputFuncAndArg(a, r = !1, o = !1) {
61384
+ const { funcName: c, startIndex: l } = this.parseCurrentInputFunc(a, r, o) || {};
61385
61385
  if (c && typeof l == "number") {
61386
- let m = n.slice(l + c.length).trim().slice(1), _ = -1;
61386
+ let m = a.slice(l + c.length).trim().slice(1), _ = -1;
61387
61387
  if (r && (_ = m.lastIndexOf("'")), o) {
61388
61388
  const h = m.lastIndexOf('"');
61389
61389
  (h !== -1 && h < _ || _ === -1) && (_ = h);
@@ -61400,13 +61400,13 @@ class Dx {
61400
61400
  };
61401
61401
  }
61402
61402
  }
61403
- _removeString(n) {
61404
- return n.replace(/\\"|\\'/g, "").replace(/"[^"]*"|'[^']*'/g, "");
61403
+ _removeString(a) {
61404
+ return a.replace(/\\"|\\'/g, "").replace(/"[^"]*"|'[^']*'/g, "");
61405
61405
  }
61406
- _getVariablesDocVal(n, r, o) {
61407
- const c = this._removeString(n).replace(/\/\/.*/g, "").match(/[a-zA-Z_][a-zA-Z_0-9]*(\s*\.\s*[a-zA-Z_][a-zA-Z_0-9]*)*(?=\s*[^(a-zA-Z_0-9."'<])/g);
61406
+ _getVariablesDocVal(a, r, o) {
61407
+ const c = this._removeString(a).replace(/\/\/.*/g, "").match(/[a-zA-Z_][a-zA-Z_0-9]*(\s*\.\s*[a-zA-Z_][a-zA-Z_0-9]*)*(?=\s*[^(a-zA-Z_0-9."'<])/g);
61408
61408
  if (c) {
61409
- const l = this._matchContent(c, n, r);
61409
+ const l = this._matchContent(c, a, r);
61410
61410
  if (l) {
61411
61411
  const m = {
61412
61412
  docValue: void 0,
@@ -61421,7 +61421,7 @@ class Dx {
61421
61421
  const b = this._getUserTypesDocVal(l.name);
61422
61422
  if (b)
61423
61423
  return Object.assign(m, { docValue: b, isBuildIn: !1 });
61424
- const h = this._getTypesAndFileds(n, l.name, r, o);
61424
+ const h = this._getTypesAndFileds(a, l.name, r, o);
61425
61425
  if (h && typeof h != "string")
61426
61426
  return Object.assign(m, { docValue: [h], isBuildIn: !1 });
61427
61427
  const T = this._getUserEnumsDocVal(l, r);
@@ -61430,22 +61430,22 @@ class Dx {
61430
61430
  }
61431
61431
  }
61432
61432
  }
61433
- _getUserVariablesDocVal(n, r, o) {
61434
- const m = [...this._userVariables.get(n) || []].sort((_, f) => (f.scope || 0) - (_.scope || 0)).find((_) => {
61433
+ _getUserVariablesDocVal(a, r, o) {
61434
+ const m = [...this._userVariables.get(a) || []].sort((_, f) => (f.scope || 0) - (_.scope || 0)).find((_) => {
61435
61435
  const f = _.range;
61436
61436
  return ((f == null ? void 0 : f.startColumn) || 0) <= r && ((f == null ? void 0 : f.startLineNumber) || 0) <= o && ((f == null ? void 0 : f.endLineNumber) || 0) >= o;
61437
61437
  });
61438
61438
  if (m)
61439
61439
  return m.title = be.userDefinedVariable, m.type = this._arrayTypeTransform(m.type), m;
61440
61440
  }
61441
- _getUserTypesDocVal(n) {
61442
- const r = this._userTypes.get(n);
61441
+ _getUserTypesDocVal(a) {
61442
+ const r = this._userTypes.get(a);
61443
61443
  if (r)
61444
61444
  return r[0].title = be.userDefinedType, r;
61445
61445
  }
61446
- _getUserEnumsDocVal(n, r) {
61446
+ _getUserEnumsDocVal(a, r) {
61447
61447
  var f;
61448
- const { endIndex: o, name: c } = n, l = c.split(".");
61448
+ const { endIndex: o, name: c } = a, l = c.split(".");
61449
61449
  let m = l[0];
61450
61450
  l.length > 2 && (m = l.slice(0, 2).join("."));
61451
61451
  const _ = this._userEnums.get(m);
@@ -61458,11 +61458,11 @@ class Dx {
61458
61458
  return [h];
61459
61459
  }
61460
61460
  }
61461
- _getTypesAndFileds(n, r, o, c) {
61461
+ _getTypesAndFileds(a, r, o, c) {
61462
61462
  var l, m;
61463
61463
  if (r.includes(".")) {
61464
61464
  const _ = r.split(".");
61465
- let f = _[0], b, h = null, T = n.indexOf(r, o - r.length) + 1, P = T + f.length - 1;
61465
+ let f = _[0], b, h = null, T = a.indexOf(r, o - r.length) + 1, P = T + f.length - 1;
61466
61466
  for (const B of _.slice(1)) {
61467
61467
  if (!h) {
61468
61468
  const O = T <= o && P >= o, N = this._getUserVariablesDocVal(f, o, c);
@@ -61487,10 +61487,10 @@ class Dx {
61487
61487
  return b;
61488
61488
  }
61489
61489
  }
61490
- _getFuncsDocVal(n, r, o) {
61491
- const c = n.match(/[a-zA-Z_][a-zA-Z_0-9]*(\s*\.\s*[a-zA-Z_][a-zA-Z_0-9]*)*(?=\s*\()/g);
61490
+ _getFuncsDocVal(a, r, o) {
61491
+ const c = a.match(/[a-zA-Z_][a-zA-Z_0-9]*(\s*\.\s*[a-zA-Z_][a-zA-Z_0-9]*)*(?=\s*\()/g);
61492
61492
  if (c) {
61493
- const l = this._matchContent(c, n, r);
61493
+ const l = this._matchContent(c, a, r);
61494
61494
  if (l) {
61495
61495
  const m = {
61496
61496
  docValue: void 0,
@@ -61503,40 +61503,40 @@ class Dx {
61503
61503
  const f = this._getUserFuncsDocVal(l.name);
61504
61504
  if (f)
61505
61505
  return m.index = this._getOverloadsFuncIndex(f, r, l.name, o), Object.assign(m, { docValue: f, isBuildIn: !1 });
61506
- const b = this._getUserVarFuncsDocVal(n, l.name, r, o);
61506
+ const b = this._getUserVarFuncsDocVal(a, l.name, r, o);
61507
61507
  if (b)
61508
61508
  return Object.assign(m, { docValue: [b], isBuildIn: !1 });
61509
61509
  }
61510
61510
  }
61511
61511
  }
61512
- _getOverloadsFuncIndex(n, r, o, c) {
61513
- if (n.length > 1) {
61512
+ _getOverloadsFuncIndex(a, r, o, c) {
61513
+ if (a.length > 1) {
61514
61514
  const l = this._overloadsFuncs.find((m) => m.name === o && m.line === c && m.startColumn <= r && m.endColumn >= r);
61515
61515
  if (l)
61516
61516
  return l.index;
61517
61517
  }
61518
61518
  return 0;
61519
61519
  }
61520
- _getUserFuncsDocVal(n) {
61521
- const r = this._userFunctions.get(n);
61520
+ _getUserFuncsDocVal(a) {
61521
+ const r = this._userFunctions.get(a);
61522
61522
  if (r) {
61523
61523
  for (const o of r)
61524
61524
  o.title = be.userDefinedFunction;
61525
61525
  return r;
61526
61526
  }
61527
61527
  }
61528
- _getUserMethodsDocVal(n) {
61529
- const r = this._userMethods.get(n);
61528
+ _getUserMethodsDocVal(a) {
61529
+ const r = this._userMethods.get(a);
61530
61530
  if (r) {
61531
61531
  for (const o of r)
61532
61532
  o.title = be.userDefinedFunction;
61533
61533
  return r;
61534
61534
  }
61535
61535
  }
61536
- _getUserVarFuncsDocVal(n, r, o, c) {
61536
+ _getUserVarFuncsDocVal(a, r, o, c) {
61537
61537
  var l;
61538
61538
  if (r.includes(".")) {
61539
- const m = r.split("."), _ = this._getTypesAndFileds(n, r, o, c);
61539
+ const m = r.split("."), _ = this._getTypesAndFileds(a, r, o, c);
61540
61540
  if (typeof _ == "string") {
61541
61541
  const b = `${this._arrayTypeTransform(_).replace(/<[^<>]+>/, "").replace(/(series|simple|const|input)\s+([\w\d.]+)/, "$2")}.${m.pop()}`, h = this._getBuildInMethod(b);
61542
61542
  if (h) {
@@ -61548,12 +61548,12 @@ class Dx {
61548
61548
  return _;
61549
61549
  }
61550
61550
  }
61551
- _arrayTypeTransform(n = "") {
61552
- return n.includes("[]") ? `array<${n.replace("[]", "")}>` : n;
61551
+ _arrayTypeTransform(a = "") {
61552
+ return a.includes("[]") ? `array<${a.replace("[]", "")}>` : a;
61553
61553
  }
61554
- _matchContent(n, r, o) {
61554
+ _matchContent(a, r, o) {
61555
61555
  let c = 0;
61556
- for (const l of n) {
61556
+ for (const l of a) {
61557
61557
  c = o - l.length;
61558
61558
  const m = r.indexOf(l, c);
61559
61559
  if (c = m + l.length, this._judgeVal(r, m, c) && m + 1 <= o && c >= o)
@@ -61563,11 +61563,11 @@ class Dx {
61563
61563
  };
61564
61564
  }
61565
61565
  }
61566
- _judgeVal(n, r, o) {
61567
- const c = n.charAt(r - 1), l = /[\w\d."'/]/;
61566
+ _judgeVal(a, r, o) {
61567
+ const c = a.charAt(r - 1), l = /[\w\d."'/]/;
61568
61568
  if (l.test(c))
61569
61569
  return !1;
61570
- const m = n.charAt(o);
61570
+ const m = a.charAt(o);
61571
61571
  return !l.test(m);
61572
61572
  }
61573
61573
  }
@@ -61582,9 +61582,9 @@ var Za = { exports: {} };
61582
61582
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
61583
61583
  */
61584
61584
  Za.exports;
61585
- (function(a, n) {
61585
+ (function(n, a) {
61586
61586
  (function() {
61587
- var r, o = "4.17.21", c = 200, l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", _ = "Invalid `variable` option passed into `_.template`", f = "__lodash_hash_undefined__", b = 500, h = "__lodash_placeholder__", T = 1, P = 2, B = 4, O = 1, N = 2, $ = 1, G = 2, j = 4, F = 8, I = 16, M = 32, z = 64, R = 128, J = 256, ye = 512, ie = 30, ht = "...", Nt = 800, Re = 16, Be = 1, X = 2, _e = 3, qe = 1 / 0, Ne = 9007199254740991, ct = 17976931348623157e292, wt = NaN, ee = 4294967295, fe = ee - 1, Pe = ee >>> 1, St = [
61587
+ var r, o = "4.17.21", c = 200, l = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", _ = "Invalid `variable` option passed into `_.template`", f = "__lodash_hash_undefined__", b = 500, h = "__lodash_placeholder__", T = 1, P = 2, B = 4, O = 1, N = 2, $ = 1, G = 2, j = 4, F = 8, I = 16, M = 32, z = 64, R = 128, V = 256, ye = 512, ie = 30, ht = "...", Nt = 800, Re = 16, Be = 1, X = 2, _e = 3, qe = 1 / 0, Ne = 9007199254740991, ct = 17976931348623157e292, wt = NaN, ee = 4294967295, fe = ee - 1, Pe = ee >>> 1, St = [
61588
61588
  ["ary", R],
61589
61589
  ["bind", $],
61590
61590
  ["bindKey", G],
@@ -61593,8 +61593,8 @@ Za.exports;
61593
61593
  ["flip", ye],
61594
61594
  ["partial", M],
61595
61595
  ["partialRight", z],
61596
- ["rearg", J]
61597
- ], Ke = "[object Arguments]", Ue = "[object Array]", cr = "[object AsyncFunction]", Ut = "[object Boolean]", Yt = "[object Date]", Os = "[object DOMException]", Fs = "[object Error]", vs = "[object Function]", Xr = "[object GeneratorFunction]", pt = "[object Map]", $t = "[object Number]", Rs = "[object Null]", vt = "[object Object]", pr = "[object Promise]", Bs = "[object Proxy]", Ts = "[object RegExp]", dt = "[object Set]", Vt = "[object String]", Ks = "[object Symbol]", on = "[object Undefined]", cs = "[object WeakMap]", Yr = "[object WeakSet]", Lt = "[object ArrayBuffer]", ps = "[object DataView]", Us = "[object Float32Array]", $s = "[object Float64Array]", Ds = "[object Int8Array]", dr = "[object Int16Array]", mr = "[object Int32Array]", ur = "[object Uint8Array]", yr = "[object Uint8ClampedArray]", _r = "[object Uint16Array]", fr = "[object Uint32Array]", ln = /\b__p \+= '';/g, gr = /\b(__p \+=) '' \+/g, Vr = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Qt = /&(?:amp|lt|gt|quot|#39);/g, Hs = /[&<>"']/g, br = RegExp(Qt.source), Qr = RegExp(Hs.source), cn = /<%-([\s\S]+?)%>/g, Zr = /<%([\s\S]+?)%>/g, Jr = /<%=([\s\S]+?)%>/g, ea = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ta = /^\w*$/, pn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, xr = /[\\^$.*+?()[\]{}|]/g, sa = RegExp(xr.source), hr = /^\s+/, dn = /\s/, mn = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, un = /\{\n\/\* \[wrapped with (.+)\] \*/, g = /,? & /, S = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, K = /[()=,{}\[\]\/\s]/, Z = /\\(\\)?/g, ue = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, xe = /\w*$/, pe = /^[-+]0x[0-9a-f]+$/i, le = /^0b[01]+$/i, je = /^\[object .+?Constructor\]$/, ke = /^0o[0-7]+$/i, Ce = /^(?:0|[1-9]\d*)$/, tt = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Mt = /($^)/, ra = /['\n\r\u2028\u2029\\]/g, st = "\\ud800-\\udfff", jp = "\\u0300-\\u036f", Wp = "\\ufe20-\\ufe2f", Gp = "\\u20d0-\\u20ff", Gi = jp + Wp + Gp, Xi = "\\u2700-\\u27bf", Yi = "a-z\\xdf-\\xf6\\xf8-\\xff", Xp = "\\xac\\xb1\\xd7\\xf7", Yp = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Vp = "\\u2000-\\u206f", Qp = " \\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", Vi = "A-Z\\xc0-\\xd6\\xd8-\\xde", Qi = "\\ufe0e\\ufe0f", Zi = Xp + Yp + Vp + Qp, yn = "['’]", Zp = "[" + st + "]", Ji = "[" + Zi + "]", aa = "[" + Gi + "]", eo = "\\d+", Jp = "[" + Xi + "]", to = "[" + Yi + "]", so = "[^" + st + Zi + eo + Xi + Yi + Vi + "]", _n = "\\ud83c[\\udffb-\\udfff]", ed = "(?:" + aa + "|" + _n + ")", ro = "[^" + st + "]", fn = "(?:\\ud83c[\\udde6-\\uddff]){2}", gn = "[\\ud800-\\udbff][\\udc00-\\udfff]", js = "[" + Vi + "]", ao = "\\u200d", no = "(?:" + to + "|" + so + ")", td = "(?:" + js + "|" + so + ")", io = "(?:" + yn + "(?:d|ll|m|re|s|t|ve))?", oo = "(?:" + yn + "(?:D|LL|M|RE|S|T|VE))?", lo = ed + "?", co = "[" + Qi + "]?", sd = "(?:" + ao + "(?:" + [ro, fn, gn].join("|") + ")" + co + lo + ")*", rd = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", ad = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", po = co + lo + sd, nd = "(?:" + [Jp, fn, gn].join("|") + ")" + po, id = "(?:" + [ro + aa + "?", aa, fn, gn, Zp].join("|") + ")", od = RegExp(yn, "g"), ld = RegExp(aa, "g"), bn = RegExp(_n + "(?=" + _n + ")|" + id + po, "g"), cd = RegExp([
61596
+ ["rearg", V]
61597
+ ], Ke = "[object Arguments]", Ue = "[object Array]", cr = "[object AsyncFunction]", Ut = "[object Boolean]", Yt = "[object Date]", Os = "[object DOMException]", Fs = "[object Error]", vs = "[object Function]", Xr = "[object GeneratorFunction]", pt = "[object Map]", $t = "[object Number]", Rs = "[object Null]", vt = "[object Object]", pr = "[object Promise]", Bs = "[object Proxy]", Ts = "[object RegExp]", dt = "[object Set]", Vt = "[object String]", Ks = "[object Symbol]", on = "[object Undefined]", cs = "[object WeakMap]", Yr = "[object WeakSet]", Lt = "[object ArrayBuffer]", ps = "[object DataView]", Us = "[object Float32Array]", $s = "[object Float64Array]", Ds = "[object Int8Array]", dr = "[object Int16Array]", mr = "[object Int32Array]", ur = "[object Uint8Array]", yr = "[object Uint8ClampedArray]", _r = "[object Uint16Array]", fr = "[object Uint32Array]", ln = /\b__p \+= '';/g, gr = /\b(__p \+=) '' \+/g, Vr = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Qt = /&(?:amp|lt|gt|quot|#39);/g, Hs = /[&<>"']/g, br = RegExp(Qt.source), Qr = RegExp(Hs.source), cn = /<%-([\s\S]+?)%>/g, Zr = /<%([\s\S]+?)%>/g, Jr = /<%=([\s\S]+?)%>/g, ea = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, ta = /^\w*$/, pn = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, xr = /[\\^$.*+?()[\]{}|]/g, sa = RegExp(xr.source), hr = /^\s+/, dn = /\s/, mn = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, un = /\{\n\/\* \[wrapped with (.+)\] \*/, g = /,? & /, S = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, K = /[()=,{}\[\]\/\s]/, J = /\\(\\)?/g, ue = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, xe = /\w*$/, pe = /^[-+]0x[0-9a-f]+$/i, le = /^0b[01]+$/i, je = /^\[object .+?Constructor\]$/, ke = /^0o[0-7]+$/i, Ce = /^(?:0|[1-9]\d*)$/, tt = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Mt = /($^)/, ra = /['\n\r\u2028\u2029\\]/g, st = "\\ud800-\\udfff", jp = "\\u0300-\\u036f", Wp = "\\ufe20-\\ufe2f", Gp = "\\u20d0-\\u20ff", Gi = jp + Wp + Gp, Xi = "\\u2700-\\u27bf", Yi = "a-z\\xdf-\\xf6\\xf8-\\xff", Xp = "\\xac\\xb1\\xd7\\xf7", Yp = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Vp = "\\u2000-\\u206f", Qp = " \\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", Vi = "A-Z\\xc0-\\xd6\\xd8-\\xde", Qi = "\\ufe0e\\ufe0f", Zi = Xp + Yp + Vp + Qp, yn = "['’]", Zp = "[" + st + "]", Ji = "[" + Zi + "]", aa = "[" + Gi + "]", eo = "\\d+", Jp = "[" + Xi + "]", to = "[" + Yi + "]", so = "[^" + st + Zi + eo + Xi + Yi + Vi + "]", _n = "\\ud83c[\\udffb-\\udfff]", ed = "(?:" + aa + "|" + _n + ")", ro = "[^" + st + "]", fn = "(?:\\ud83c[\\udde6-\\uddff]){2}", gn = "[\\ud800-\\udbff][\\udc00-\\udfff]", js = "[" + Vi + "]", ao = "\\u200d", no = "(?:" + to + "|" + so + ")", td = "(?:" + js + "|" + so + ")", io = "(?:" + yn + "(?:d|ll|m|re|s|t|ve))?", oo = "(?:" + yn + "(?:D|LL|M|RE|S|T|VE))?", lo = ed + "?", co = "[" + Qi + "]?", sd = "(?:" + ao + "(?:" + [ro, fn, gn].join("|") + ")" + co + lo + ")*", rd = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", ad = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", po = co + lo + sd, nd = "(?:" + [Jp, fn, gn].join("|") + ")" + po, id = "(?:" + [ro + aa + "?", aa, fn, gn, Zp].join("|") + ")", od = RegExp(yn, "g"), ld = RegExp(aa, "g"), bn = RegExp(_n + "(?=" + _n + ")|" + id + po, "g"), cd = RegExp([
61598
61598
  js + "?" + to + "+" + io + "(?=" + [Ji, js, "$"].join("|") + ")",
61599
61599
  td + "+" + oo + "(?=" + [Ji, js + no, "$"].join("|") + ")",
61600
61600
  js + "?" + no + "+" + io,
@@ -61850,7 +61850,7 @@ Za.exports;
61850
61850
  "\r": "r",
61851
61851
  "\u2028": "u2028",
61852
61852
  "\u2029": "u2029"
61853
- }, bd = parseFloat, xd = parseInt, mo = typeof Pr == "object" && Pr && Pr.Object === Object && Pr, hd = typeof self == "object" && self && self.Object === Object && self, We = mo || hd || Function("return this")(), xn = n && !n.nodeType && n, Is = xn && !0 && a && !a.nodeType && a, uo = Is && Is.exports === xn, hn = uo && mo.process, Tt = function() {
61853
+ }, bd = parseFloat, xd = parseInt, mo = typeof Pr == "object" && Pr && Pr.Object === Object && Pr, hd = typeof self == "object" && self && self.Object === Object && self, We = mo || hd || Function("return this")(), xn = a && !a.nodeType && a, Is = xn && !0 && n && !n.nodeType && n, uo = Is && Is.exports === xn, hn = uo && mo.process, Tt = function() {
61854
61854
  try {
61855
61855
  var w = Is && Is.require && Is.require("util").types;
61856
61856
  return w || hn && hn.binding && hn.binding("util");
@@ -62231,23 +62231,23 @@ Za.exports;
62231
62231
  var e = this.__wrapped__.value(), t = this.__dir__, s = se(e), i = t < 0, p = s ? e.length : 0, u = Iu(0, p, this.__views__), y = u.start, x = u.end, v = x - y, q = i ? x : y - 1, C = this.__iteratees__, E = C.length, U = 0, W = Xe(v, this.__takeCount__);
62232
62232
  if (!s || !i && p == v && W == v)
62233
62233
  return ol(e, this.__actions__);
62234
- var V = [];
62234
+ var Q = [];
62235
62235
  e:
62236
62236
  for (; v-- && U < W; ) {
62237
62237
  q += t;
62238
- for (var ae = -1, Q = e[q]; ++ae < E; ) {
62239
- var ce = C[ae], me = ce.iteratee, ft = ce.type, et = me(Q);
62238
+ for (var ae = -1, Z = e[q]; ++ae < E; ) {
62239
+ var ce = C[ae], me = ce.iteratee, ft = ce.type, et = me(Z);
62240
62240
  if (ft == X)
62241
- Q = et;
62241
+ Z = et;
62242
62242
  else if (!et) {
62243
62243
  if (ft == Be)
62244
62244
  continue e;
62245
62245
  break e;
62246
62246
  }
62247
62247
  }
62248
- V[U++] = Q;
62248
+ Q[U++] = Z;
62249
62249
  }
62250
- return V;
62250
+ return Q;
62251
62251
  }
62252
62252
  de.prototype = Js(wa.prototype), de.prototype.constructor = de;
62253
62253
  function As(e) {
@@ -62466,14 +62466,14 @@ Za.exports;
62466
62466
  var W = u.get(e);
62467
62467
  if (W)
62468
62468
  return W;
62469
- u.set(e, y), ac(e) ? e.forEach(function(Q) {
62470
- y.add(At(Q, t, s, Q, e, u));
62471
- }) : sc(e) && e.forEach(function(Q, ce) {
62472
- y.set(ce, At(Q, t, s, ce, e, u));
62469
+ u.set(e, y), ac(e) ? e.forEach(function(Z) {
62470
+ y.add(At(Z, t, s, Z, e, u));
62471
+ }) : sc(e) && e.forEach(function(Z, ce) {
62472
+ y.set(ce, At(Z, t, s, ce, e, u));
62473
62473
  });
62474
- var V = q ? v ? ti : ei : v ? nt : $e, ae = C ? r : V(e);
62475
- return Dt(ae || e, function(Q, ce) {
62476
- ae && (ce = Q, Q = e[ce]), Ar(y, ce, At(Q, t, s, ce, e, u));
62474
+ var Q = q ? v ? ti : ei : v ? nt : $e, ae = C ? r : Q(e);
62475
+ return Dt(ae || e, function(Z, ce) {
62476
+ ae && (ce = Z, Z = e[ce]), Ar(y, ce, At(Z, t, s, ce, e, u));
62477
62477
  }), y;
62478
62478
  }
62479
62479
  function Bm(e) {
@@ -62599,14 +62599,14 @@ Za.exports;
62599
62599
  var E = -1, U = x[0];
62600
62600
  e:
62601
62601
  for (; ++E < p && q.length < v; ) {
62602
- var W = C[E], V = t ? t(W) : W;
62603
- if (W = s || W !== 0 ? W : 0, !(U ? wr(U, V) : i(q, V, s))) {
62602
+ var W = C[E], Q = t ? t(W) : W;
62603
+ if (W = s || W !== 0 ? W : 0, !(U ? wr(U, Q) : i(q, Q, s))) {
62604
62604
  for (y = u; --y; ) {
62605
62605
  var ae = x[y];
62606
- if (!(ae ? wr(ae, V) : i(e[y], V, s)))
62606
+ if (!(ae ? wr(ae, Q) : i(e[y], Q, s)))
62607
62607
  continue e;
62608
62608
  }
62609
- U && U.push(V), q.push(W);
62609
+ U && U.push(Q), q.push(W);
62610
62610
  }
62611
62611
  }
62612
62612
  return q;
@@ -62645,10 +62645,10 @@ Za.exports;
62645
62645
  if (U && !C)
62646
62646
  return u || (u = new Ot()), y || rr(e) ? kl(e, t, s, i, p, u) : vu(e, t, v, s, i, p, u);
62647
62647
  if (!(s & O)) {
62648
- var W = C && we.call(e, "__wrapped__"), V = E && we.call(t, "__wrapped__");
62649
- if (W || V) {
62650
- var ae = W ? e.value() : e, Q = V ? t.value() : t;
62651
- return u || (u = new Ot()), p(ae, Q, s, i, u);
62648
+ var W = C && we.call(e, "__wrapped__"), Q = E && we.call(t, "__wrapped__");
62649
+ if (W || Q) {
62650
+ var ae = W ? e.value() : e, Z = Q ? t.value() : t;
62651
+ return u || (u = new Ot()), p(ae, Z, s, i, u);
62652
62652
  }
62653
62653
  }
62654
62654
  return U ? (u || (u = new Ot()), Tu(e, t, s, i, p, u)) : !1;
@@ -62754,8 +62754,8 @@ Za.exports;
62754
62754
  }
62755
62755
  var C = u ? u(x, v, s + "", e, t, y) : r, E = C === r;
62756
62756
  if (E) {
62757
- var U = se(v), W = !U && xs(v), V = !U && !W && rr(v);
62758
- C = v, U || W || V ? se(x) ? C = x : Se(x) ? C = rt(x) : W ? (E = !1, C = pl(v, !0)) : V ? (E = !1, C = dl(v, !0)) : C = [] : Mr(v) || Ss(v) ? (C = x, Ss(x) ? C = oc(x) : (!Ae(x) || as(x)) && (C = Cl(v))) : E = !1;
62757
+ var U = se(v), W = !U && xs(v), Q = !U && !W && rr(v);
62758
+ C = v, U || W || Q ? se(x) ? C = x : Se(x) ? C = rt(x) : W ? (E = !1, C = pl(v, !0)) : Q ? (E = !1, C = dl(v, !0)) : C = [] : Mr(v) || Ss(v) ? (C = x, Ss(x) ? C = oc(x) : (!Ae(x) || as(x)) && (C = Cl(v))) : E = !1;
62759
62759
  }
62760
62760
  E && (y.set(v, C), p(C, v, i, u, y), y.delete(v)), Ln(e, s, C);
62761
62761
  }
@@ -62902,12 +62902,12 @@ Za.exports;
62902
62902
  return 0;
62903
62903
  t = s(t);
62904
62904
  for (var y = t !== t, x = t === null, v = _t(t), q = t === r; p < u; ) {
62905
- var C = ba((p + u) / 2), E = s(e[C]), U = E !== r, W = E === null, V = E === E, ae = _t(E);
62905
+ var C = ba((p + u) / 2), E = s(e[C]), U = E !== r, W = E === null, Q = E === E, ae = _t(E);
62906
62906
  if (y)
62907
- var Q = i || V;
62907
+ var Z = i || Q;
62908
62908
  else
62909
- q ? Q = V && (i || U) : x ? Q = V && U && (i || !W) : v ? Q = V && U && !W && (i || !ae) : W || ae ? Q = !1 : Q = i ? E <= t : E < t;
62910
- Q ? p = C + 1 : u = C;
62909
+ q ? Z = Q && (i || U) : x ? Z = Q && U && (i || !W) : v ? Z = Q && U && !W && (i || !ae) : W || ae ? Z = !1 : Z = i ? E <= t : E < t;
62910
+ Z ? p = C + 1 : u = C;
62911
62911
  }
62912
62912
  return Xe(u, fe);
62913
62913
  }
@@ -63226,7 +63226,7 @@ Za.exports;
63226
63226
  for (i = y ? i : s; ++i < s; ) {
63227
63227
  u = t[i];
63228
63228
  var x = Sa(u), v = x == "wrapper" ? si(u) : r;
63229
- v && ii(v[0]) && v[1] == (R | F | M | J) && !v[4].length && v[9] == 1 ? y = y[Sa(v[0])].apply(y, v[3]) : y = u.length == 1 && ii(u) ? y[x]() : y.thru(u);
63229
+ v && ii(v[0]) && v[1] == (R | F | M | V) && !v[4].length && v[9] == 1 ? y = y[Sa(v[0])].apply(y, v[3]) : y = u.length == 1 && ii(u) ? y[x]() : y.thru(u);
63230
63230
  }
63231
63231
  return function() {
63232
63232
  var q = arguments, C = q[0];
@@ -63239,19 +63239,19 @@ Za.exports;
63239
63239
  });
63240
63240
  }
63241
63241
  function Ca(e, t, s, i, p, u, y, x, v, q) {
63242
- var C = t & R, E = t & $, U = t & G, W = t & (F | I), V = t & ye, ae = U ? r : Nr(e);
63243
- function Q() {
63242
+ var C = t & R, E = t & $, U = t & G, W = t & (F | I), Q = t & ye, ae = U ? r : Nr(e);
63243
+ function Z() {
63244
63244
  for (var ce = arguments.length, me = D(ce), ft = ce; ft--; )
63245
63245
  me[ft] = arguments[ft];
63246
63246
  if (W)
63247
- var et = sr(Q), gt = zd(me, et);
63247
+ var et = sr(Z), gt = zd(me, et);
63248
63248
  if (i && (me = ul(me, i, p, W)), u && (me = yl(me, u, y, W)), ce -= gt, W && ce < q) {
63249
63249
  var Le = us(me, et);
63250
63250
  return vl(
63251
63251
  e,
63252
63252
  t,
63253
63253
  Ca,
63254
- Q.placeholder,
63254
+ Z.placeholder,
63255
63255
  s,
63256
63256
  me,
63257
63257
  Le,
@@ -63261,9 +63261,9 @@ Za.exports;
63261
63261
  );
63262
63262
  }
63263
63263
  var Rt = E ? s : this, is = U ? Rt[e] : e;
63264
- return ce = me.length, x ? me = Fu(me, x) : V && ce > 1 && me.reverse(), C && v < ce && (me.length = v), this && this !== We && this instanceof Q && (is = ae || Nr(is)), is.apply(Rt, me);
63264
+ return ce = me.length, x ? me = Fu(me, x) : Q && ce > 1 && me.reverse(), C && v < ce && (me.length = v), this && this !== We && this instanceof Z && (is = ae || Nr(is)), is.apply(Rt, me);
63265
63265
  }
63266
- return Q;
63266
+ return Z;
63267
63267
  }
63268
63268
  function hl(e, t) {
63269
63269
  return function(s, i) {
@@ -63323,7 +63323,7 @@ Za.exports;
63323
63323
  };
63324
63324
  }
63325
63325
  function vl(e, t, s, i, p, u, y, x, v, q) {
63326
- var C = t & F, E = C ? y : r, U = C ? r : y, W = C ? u : r, V = C ? r : u;
63326
+ var C = t & F, E = C ? y : r, U = C ? r : y, W = C ? u : r, Q = C ? r : u;
63327
63327
  t |= C ? M : z, t &= ~(C ? z : M), t & j || (t &= ~($ | G));
63328
63328
  var ae = [
63329
63329
  e,
@@ -63331,13 +63331,13 @@ Za.exports;
63331
63331
  p,
63332
63332
  W,
63333
63333
  E,
63334
- V,
63334
+ Q,
63335
63335
  U,
63336
63336
  x,
63337
63337
  v,
63338
63338
  q
63339
- ], Q = s.apply(r, ae);
63340
- return ii(e) && Ll(Q, ae), Q.placeholder = i, Ml(Q, e, t);
63339
+ ], Z = s.apply(r, ae);
63340
+ return ii(e) && Ll(Z, ae), Z.placeholder = i, Ml(Z, e, t);
63341
63341
  }
63342
63342
  function Jn(e) {
63343
63343
  var t = Oe[e];
@@ -63380,11 +63380,11 @@ Za.exports;
63380
63380
  x
63381
63381
  ];
63382
63382
  if (U && Mu(W, U), e = W[0], t = W[1], s = W[2], i = W[3], p = W[4], x = W[9] = W[9] === r ? v ? 0 : e.length : Fe(W[9] - q, 0), !x && t & (F | I) && (t &= ~(F | I)), !t || t == $)
63383
- var V = gu(e, t, s);
63383
+ var Q = gu(e, t, s);
63384
63384
  else
63385
- t == F || t == I ? V = bu(e, t, x) : (t == M || t == ($ | M)) && !p.length ? V = xu(e, t, s, i) : V = Ca.apply(r, W);
63385
+ t == F || t == I ? Q = bu(e, t, x) : (t == M || t == ($ | M)) && !p.length ? Q = xu(e, t, s, i) : Q = Ca.apply(r, W);
63386
63386
  var ae = U ? rl : Ll;
63387
- return Ml(ae(V, W), e, t);
63387
+ return Ml(ae(Q, W), e, t);
63388
63388
  }
63389
63389
  function Dl(e, t, s, i) {
63390
63390
  return e === r || Ft(e, Vs[s]) && !we.call(i, s) ? t : e;
@@ -63404,24 +63404,24 @@ Za.exports;
63404
63404
  return q == t && C == e;
63405
63405
  var E = -1, U = !0, W = s & N ? new qs() : r;
63406
63406
  for (u.set(e, t), u.set(t, e); ++E < x; ) {
63407
- var V = e[E], ae = t[E];
63407
+ var Q = e[E], ae = t[E];
63408
63408
  if (i)
63409
- var Q = y ? i(ae, V, E, t, e, u) : i(V, ae, E, e, t, u);
63410
- if (Q !== r) {
63411
- if (Q)
63409
+ var Z = y ? i(ae, Q, E, t, e, u) : i(Q, ae, E, e, t, u);
63410
+ if (Z !== r) {
63411
+ if (Z)
63412
63412
  continue;
63413
63413
  U = !1;
63414
63414
  break;
63415
63415
  }
63416
63416
  if (W) {
63417
63417
  if (!Tn(t, function(ce, me) {
63418
- if (!wr(W, me) && (V === ce || p(V, ce, s, i, u)))
63418
+ if (!wr(W, me) && (Q === ce || p(Q, ce, s, i, u)))
63419
63419
  return W.push(me);
63420
63420
  })) {
63421
63421
  U = !1;
63422
63422
  break;
63423
63423
  }
63424
- } else if (!(V === ae || p(V, ae, s, i, u))) {
63424
+ } else if (!(Q === ae || p(Q, ae, s, i, u))) {
63425
63425
  U = !1;
63426
63426
  break;
63427
63427
  }
@@ -63472,12 +63472,12 @@ Za.exports;
63472
63472
  if (!(y ? U in t : we.call(t, U)))
63473
63473
  return !1;
63474
63474
  }
63475
- var W = u.get(e), V = u.get(t);
63476
- if (W && V)
63477
- return W == t && V == e;
63475
+ var W = u.get(e), Q = u.get(t);
63476
+ if (W && Q)
63477
+ return W == t && Q == e;
63478
63478
  var ae = !0;
63479
63479
  u.set(e, t), u.set(t, e);
63480
- for (var Q = y; ++E < v; ) {
63480
+ for (var Z = y; ++E < v; ) {
63481
63481
  U = x[E];
63482
63482
  var ce = e[U], me = t[U];
63483
63483
  if (i)
@@ -63486,9 +63486,9 @@ Za.exports;
63486
63486
  ae = !1;
63487
63487
  break;
63488
63488
  }
63489
- Q || (Q = U == "constructor");
63489
+ Z || (Z = U == "constructor");
63490
63490
  }
63491
- if (ae && !Q) {
63491
+ if (ae && !Z) {
63492
63492
  var et = e.constructor, gt = t.constructor;
63493
63493
  et != gt && "constructor" in e && "constructor" in t && !(typeof et == "function" && et instanceof et && typeof gt == "function" && gt instanceof gt) && (ae = !1);
63494
63494
  }
@@ -63711,7 +63711,7 @@ Za.exports;
63711
63711
  return t;
63712
63712
  }
63713
63713
  function Mu(e, t) {
63714
- var s = e[1], i = t[1], p = s | i, u = p < ($ | G | R), y = i == R && s == F || i == R && s == J && e[7].length <= t[8] || i == (R | J) && t[7].length <= t[8] && s == F;
63714
+ var s = e[1], i = t[1], p = s | i, u = p < ($ | G | R), y = i == R && s == F || i == R && s == V && e[7].length <= t[8] || i == (R | V) && t[7].length <= t[8] && s == F;
63715
63715
  if (!(u || y))
63716
63716
  return e;
63717
63717
  i & $ && (e[2] = t[2], p |= s & $ ? 0 : j);
@@ -63786,7 +63786,7 @@ Za.exports;
63786
63786
  var Ol = Lu(function(e) {
63787
63787
  var t = [];
63788
63788
  return e.charCodeAt(0) === 46 && t.push(""), e.replace(pn, function(s, i, p, u) {
63789
- t.push(p ? u.replace(Z, "$1") : i || s);
63789
+ t.push(p ? u.replace(J, "$1") : i || s);
63790
63790
  }), t;
63791
63791
  });
63792
63792
  function Wt(e) {
@@ -64305,20 +64305,20 @@ Za.exports;
64305
64305
  var Rt = i, is = p;
64306
64306
  return i = p = r, q = Le, y = e.apply(is, Rt), y;
64307
64307
  }
64308
- function V(Le) {
64308
+ function Q(Le) {
64309
64309
  return q = Le, x = Lr(ce, t), C ? W(Le) : y;
64310
64310
  }
64311
64311
  function ae(Le) {
64312
64312
  var Rt = Le - v, is = Le - q, bc = t - Rt;
64313
64313
  return E ? Xe(bc, u - is) : bc;
64314
64314
  }
64315
- function Q(Le) {
64315
+ function Z(Le) {
64316
64316
  var Rt = Le - v, is = Le - q;
64317
64317
  return v === r || Rt >= t || Rt < 0 || E && is >= u;
64318
64318
  }
64319
64319
  function ce() {
64320
64320
  var Le = Fa();
64321
- if (Q(Le))
64321
+ if (Z(Le))
64322
64322
  return me(Le);
64323
64323
  x = Lr(ce, ae(Le));
64324
64324
  }
@@ -64332,10 +64332,10 @@ Za.exports;
64332
64332
  return x === r ? y : me(Fa());
64333
64333
  }
64334
64334
  function gt() {
64335
- var Le = Fa(), Rt = Q(Le);
64335
+ var Le = Fa(), Rt = Z(Le);
64336
64336
  if (i = arguments, p = this, v = Le, Rt) {
64337
64337
  if (x === r)
64338
- return V(v);
64338
+ return Q(v);
64339
64339
  if (E)
64340
64340
  return cl(x), x = Lr(ce, t), W(v);
64341
64341
  }
@@ -64400,7 +64400,7 @@ Za.exports;
64400
64400
  var s = us(t, sr(ec));
64401
64401
  return ts(e, z, r, t, s);
64402
64402
  }), I_ = ss(function(e, t) {
64403
- return ts(e, J, r, r, r, t);
64403
+ return ts(e, V, r, r, r, t);
64404
64404
  });
64405
64405
  function k_(e, t) {
64406
64406
  if (typeof e != "function")
@@ -64885,26 +64885,26 @@ Za.exports;
64885
64885
  "g"
64886
64886
  ), W = "//# sourceURL=" + (we.call(t, "sourceURL") ? (t.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++ud + "]") + `
64887
64887
  `;
64888
- e.replace(U, function(Q, ce, me, ft, et, gt) {
64888
+ e.replace(U, function(Z, ce, me, ft, et, gt) {
64889
64889
  return me || (me = ft), E += e.slice(q, gt).replace(ra, Sd), ce && (x = !0, E += `' +
64890
64890
  __e(` + ce + `) +
64891
64891
  '`), et && (v = !0, E += `';
64892
64892
  ` + et + `;
64893
64893
  __p += '`), me && (E += `' +
64894
64894
  ((__t = (` + me + `)) == null ? '' : __t) +
64895
- '`), q = gt + Q.length, Q;
64895
+ '`), q = gt + Z.length, Z;
64896
64896
  }), E += `';
64897
64897
  `;
64898
- var V = we.call(t, "variable") && t.variable;
64899
- if (!V)
64898
+ var Q = we.call(t, "variable") && t.variable;
64899
+ if (!Q)
64900
64900
  E = `with (obj) {
64901
64901
  ` + E + `
64902
64902
  }
64903
64903
  `;
64904
- else if (K.test(V))
64904
+ else if (K.test(Q))
64905
64905
  throw new te(_);
64906
- E = (v ? E.replace(ln, "") : E).replace(gr, "$1").replace(Vr, "$1;"), E = "function(" + (V || "obj") + `) {
64907
- ` + (V ? "" : `obj || (obj = {});
64906
+ E = (v ? E.replace(ln, "") : E).replace(gr, "$1").replace(Vr, "$1;"), E = "function(" + (Q || "obj") + `) {
64907
+ ` + (Q ? "" : `obj || (obj = {});
64908
64908
  `) + "var __t, __p = ''" + (x ? ", __e = _.escape" : "") + (v ? `, __j = Array.prototype.join;
64909
64909
  function print() { __p += __j.call(arguments, '') }
64910
64910
  ` : `;
@@ -65213,13 +65213,13 @@ function print() { __p += __j.call(arguments, '') }
65213
65213
  return i && U ? me[0] : me;
65214
65214
  };
65215
65215
  C && s && typeof q == "function" && q.length != 1 && (v = C = !1);
65216
- var U = this.__chain__, W = !!this.__actions__.length, V = u && !U, ae = v && !W;
65216
+ var U = this.__chain__, W = !!this.__actions__.length, Q = u && !U, ae = v && !W;
65217
65217
  if (!u && C) {
65218
65218
  y = ae ? y : new de(this);
65219
- var Q = e.apply(y, x);
65220
- return Q.__actions__.push({ func: Pa, args: [E], thisArg: r }), new kt(Q, U);
65219
+ var Z = e.apply(y, x);
65220
+ return Z.__actions__.push({ func: Pa, args: [E], thisArg: r }), new kt(Z, U);
65221
65221
  }
65222
- return V && ae ? e.apply(this, x) : (Q = this.thru(E), V ? i ? Q.value()[0] : Q.value() : Q);
65222
+ return Q && ae ? e.apply(this, x) : (Z = this.thru(E), Q ? i ? Z.value()[0] : Z.value() : Z);
65223
65223
  });
65224
65224
  }), Dt(["pop", "push", "shift", "sort", "splice", "unshift"], function(e) {
65225
65225
  var t = la[e], s = /^(?:push|sort|unshift)$/.test(e) ? "tap" : "thru", i = /^(?:pop|shift)$/.test(e);
@@ -65408,8 +65408,8 @@ const Ee = "tccScript", or = {
65408
65408
  empty: /^$/
65409
65409
  };
65410
65410
  var Et;
65411
- (function(a) {
65412
- a[a.None = 0] = "None", a[a.Indent = 1] = "Indent", a[a.IndentOutdent = 2] = "IndentOutdent", a[a.Outdent = 3] = "Outdent";
65411
+ (function(n) {
65412
+ n[n.None = 0] = "None", n[n.Indent = 1] = "Indent", n[n.IndentOutdent = 2] = "IndentOutdent", n[n.Outdent = 3] = "Outdent";
65413
65413
  })(Et || (Et = {}));
65414
65414
  const Bi = {
65415
65415
  wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
@@ -65511,8 +65511,8 @@ const Bi = {
65511
65511
  }
65512
65512
  }]
65513
65513
  }, k = { "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" };
65514
- function Xt(a, n = 1) {
65515
- return a + Math.round(255 * Math.min(Math.max(n, 0), 1)).toString(16).toUpperCase().padStart(2, "0");
65514
+ function Xt(n, a = 1) {
65515
+ return n + Math.round(255 * Math.min(Math.max(a, 0), 1)).toString(16).toUpperCase().padStart(2, "0");
65516
65516
  }
65517
65517
  const Ki = {
65518
65518
  base: "vs",
@@ -65789,7 +65789,7 @@ const Ki = {
65789
65789
  "color.yellow": "#FFEB3B"
65790
65790
  };
65791
65791
  class Ax {
65792
- constructor(n) {
65792
+ constructor(a) {
65793
65793
  Object.defineProperty(this, "_formatter", {
65794
65794
  enumerable: !0,
65795
65795
  configurable: !0,
@@ -65818,25 +65818,25 @@ class Ax {
65818
65818
  };
65819
65819
  });
65820
65820
  }
65821
- }), this._formatter = ne, this._isMac = /(Mac|iPhone|iPod|iPad)/i.test(n);
65821
+ }), this._formatter = ne, this._isMac = /(Mac|iPhone|iPod|iPad)/i.test(a);
65822
65822
  }
65823
- getSignatureHelpValues(n, r, o = 0, c = 0) {
65823
+ getSignatureHelpValues(a, r, o = 0, c = 0) {
65824
65824
  var b;
65825
- const l = this._getFuncItems(n);
65825
+ const l = this._getFuncItems(a);
65826
65826
  if (!(l != null && l.length))
65827
65827
  return null;
65828
- const m = this._getSequentialSignatures(n, l), _ = this._getActiveIndex(l, r), f = (b = Ps.overloadsFuncs) == null ? void 0 : b.find((h) => h.name === n && h.startColumn === o && c === h.line);
65828
+ const m = this._getSequentialSignatures(a, l), _ = this._getActiveIndex(l, r), f = (b = Ps.overloadsFuncs) == null ? void 0 : b.find((h) => h.name === a && h.startColumn === o && c === h.line);
65829
65829
  return f && (_.activeSignature = Number(f.index)), {
65830
65830
  signatures: m,
65831
65831
  ..._
65832
65832
  };
65833
65833
  }
65834
- _getActiveIndex(n, r = []) {
65834
+ _getActiveIndex(a, r = []) {
65835
65835
  let o = 0, c = -1;
65836
65836
  r.some((m) => !!m) || (c = r.length - 1);
65837
65837
  const l = r.pop();
65838
65838
  if (l)
65839
- for (const [m, _] of n.entries()) {
65839
+ for (const [m, _] of a.entries()) {
65840
65840
  const { args: f } = _;
65841
65841
  if (f && f.length) {
65842
65842
  const b = f.findIndex((h) => h.name === l);
@@ -65851,12 +65851,12 @@ class Ax {
65851
65851
  activeSignature: o
65852
65852
  };
65853
65853
  }
65854
- _getFuncItems(n) {
65855
- return xt.functions.get(n) || Kt.userFuncs.get(n) || Kt.methodFuncs.get(n);
65854
+ _getFuncItems(a) {
65855
+ return xt.functions.get(a) || Kt.userFuncs.get(a) || Kt.methodFuncs.get(a);
65856
65856
  }
65857
- _getSequentialSignatures(n, r) {
65857
+ _getSequentialSignatures(a, r) {
65858
65858
  return r.map((o) => {
65859
- const c = this._getSignatureLabel(n, o);
65859
+ const c = this._getSignatureLabel(a, o);
65860
65860
  return {
65861
65861
  label: c,
65862
65862
  documentation: this._getFormattedSignatureDocumentation(o),
@@ -65864,12 +65864,12 @@ class Ax {
65864
65864
  };
65865
65865
  });
65866
65866
  }
65867
- _getSignatureLabel(n, r, o = !1) {
65868
- const c = [n];
65867
+ _getSignatureLabel(a, r, o = !1) {
65868
+ const c = [a];
65869
65869
  return o && c.push("<type>"), r.args && (c.push("("), c.push(r.args.map(({ name: l }) => l).join(", ")), c.push(")")), c.join("");
65870
65870
  }
65871
- _getFormattedSignatureDocumentation(n) {
65872
- const { desc: r } = n, o = [];
65871
+ _getFormattedSignatureDocumentation(a) {
65872
+ const { desc: r } = a, o = [];
65873
65873
  r && o.push(Array.isArray(r) ? r.join(this._formatter.lineBreak) : r);
65874
65874
  const c = `${this._formatter.code(this._isMac ? "⌘" : "Ctrl")} +
65875
65875
  ${this._formatter.code("Shift")} +
@@ -65887,11 +65887,17 @@ class Cx {
65887
65887
  configurable: !0,
65888
65888
  writable: !0,
65889
65889
  value: void 0
65890
+ }), Object.defineProperty(this, "_count", {
65891
+ enumerable: !0,
65892
+ configurable: !0,
65893
+ writable: !0,
65894
+ value: 0
65890
65895
  }), this._colors = zc;
65891
65896
  }
65892
- getDocumentColors(n) {
65897
+ getDocumentColors(a) {
65898
+ this._count++;
65893
65899
  const r = [];
65894
- return n.forEach((o) => {
65900
+ return a.forEach((o) => {
65895
65901
  const { range: c } = o;
65896
65902
  let { matches: l } = o;
65897
65903
  l = l || [];
@@ -65904,14 +65910,14 @@ class Cx {
65904
65910
  }), r;
65905
65911
  }
65906
65912
  get _defultColorsRegStr() {
65907
- return Object.keys(zc).reduce((n, r) => `${n}|${r}`, "");
65913
+ return Object.keys(zc).reduce((a, r) => `${a}|${r}`, "");
65908
65914
  }
65909
65915
  get colorMatchesRegStr() {
65910
- const n = `#[0-9a-fA-F]{6,8}|(\\b(color.rgb\\s*\\((\\s*\\d+\\s*,\\s*){2}(\\s*\\d+\\s*,{0,1}){1,2}\\s*\\)${this._defultColorsRegStr}))`;
65911
- return `color.new\\s*\\(\\s*(${n})\\s*,\\s*(\\d+)\\s*\\)|${n}`;
65916
+ const a = `#[0-9a-fA-F]{6,8}|(\\b(color.rgb\\s*\\((\\s*\\d+\\s*,\\s*){2}(\\s*\\d+\\s*,{0,1}){1,2}\\s*\\)${this._defultColorsRegStr}))`;
65917
+ return `color.new\\s*\\(\\s*(${a})\\s*,\\s*(\\d+)\\s*\\)|${a}`;
65912
65918
  }
65913
- getDocumentColorPresentations(n, { color: r, range: o }) {
65914
- const c = n.getValueInRange(o);
65919
+ getDocumentColorPresentations(a, { color: r, range: o }) {
65920
+ const c = a.getValueInRange(o);
65915
65921
  if (this._isHexToken(c) || this._colors[c])
65916
65922
  return [{
65917
65923
  label: this._colorRgbRepresentation(r)
@@ -65939,46 +65945,46 @@ class Cx {
65939
65945
  }
65940
65946
  return null;
65941
65947
  }
65942
- _hexFromNumber(n) {
65943
- const r = this._denormalize(n).toString(16);
65948
+ _hexFromNumber(a) {
65949
+ const r = this._denormalize(a).toString(16);
65944
65950
  return r.length === 1 ? `0${r}` : r;
65945
65951
  }
65946
- _normalize(n) {
65947
- return n / 255;
65952
+ _normalize(a) {
65953
+ return a / 255;
65948
65954
  }
65949
- _denormalize(n) {
65950
- return Math.round(255 * n);
65955
+ _denormalize(a) {
65956
+ return Math.round(255 * a);
65951
65957
  }
65952
- _normalizeAlpha(n) {
65953
- return (100 - n) / 100;
65958
+ _normalizeAlpha(a) {
65959
+ return (100 - a) / 100;
65954
65960
  }
65955
- _denormalizeAlpha(n) {
65956
- return 100 - Math.round(100 * n);
65961
+ _denormalizeAlpha(a) {
65962
+ return 100 - Math.round(100 * a);
65957
65963
  }
65958
- _extractNewExpression(n, r) {
65964
+ _extractNewExpression(a, r) {
65959
65965
  let o = null;
65960
- return this._isHexToken(n) ? o = this._hexToColor(n) : this._isRgbColor(n) ? o = this._rgbToColor(n) : this._colors[n] && (o = this._hexToColor(this._colors[n])), o && !Number.isNaN(r) ? {
65966
+ return this._isHexToken(a) ? o = this._hexToColor(a) : this._isRgbColor(a) ? o = this._rgbToColor(a) : this._colors[a] && (o = this._hexToColor(this._colors[a])), o && !Number.isNaN(r) ? {
65961
65967
  ...o,
65962
65968
  alpha: this._normalizeAlpha(r)
65963
65969
  } : null;
65964
65970
  }
65965
- _colorHexRepresentation(n) {
65966
- const r = this._hexFromNumber(n.red), o = this._hexFromNumber(n.green), c = this._hexFromNumber(n.blue), l = this._hexFromNumber(n.alpha);
65967
- return `#${r}${o}${c}${n.alpha === 1 ? "" : l}`;
65971
+ _colorHexRepresentation(a) {
65972
+ const r = this._hexFromNumber(a.red), o = this._hexFromNumber(a.green), c = this._hexFromNumber(a.blue), l = this._hexFromNumber(a.alpha);
65973
+ return `#${r}${o}${c}${a.alpha === 1 ? "" : l}`;
65968
65974
  }
65969
- _colorRgbRepresentation(n) {
65970
- const r = this._denormalize(n.red), o = this._denormalize(n.green), c = this._denormalize(n.blue), l = this._denormalizeAlpha(n.alpha), m = [r, o, c];
65975
+ _colorRgbRepresentation(a) {
65976
+ const r = this._denormalize(a.red), o = this._denormalize(a.green), c = this._denormalize(a.blue), l = this._denormalizeAlpha(a.alpha), m = [r, o, c];
65971
65977
  return l > 0 && m.push(l), `color.rgb(${m.join(", ")})`;
65972
65978
  }
65973
- _colorNewRepresentation(n) {
65979
+ _colorNewRepresentation(a) {
65974
65980
  const r = {
65975
- ...n,
65981
+ ...a,
65976
65982
  alpha: 1
65977
65983
  };
65978
- return `color.new(${this._colorHexRepresentation(r)}, ${this._denormalizeAlpha(n.alpha)})`;
65984
+ return `color.new(${this._colorHexRepresentation(r)}, ${this._denormalizeAlpha(a.alpha)})`;
65979
65985
  }
65980
- _hexToColor(n) {
65981
- const r = (n = this._isHexToken(n) ? n.slice(1) : n).length === 3 || n.length === 4, o = r ? `${n.slice(0, 1)}${n.slice(0, 1)}` : n.slice(0, 2), c = r ? `${n.slice(1, 2)}${n.slice(1, 2)}` : n.slice(2, 4), l = r ? `${n.slice(2, 3)}${n.slice(2, 3)}` : n.slice(4, 6), m = (r ? `${n.slice(3, 4)}${n.slice(3, 4)}` : n.slice(6, 8)) || "ff";
65986
+ _hexToColor(a) {
65987
+ const r = (a = this._isHexToken(a) ? a.slice(1) : a).length === 3 || a.length === 4, o = r ? `${a.slice(0, 1)}${a.slice(0, 1)}` : a.slice(0, 2), c = r ? `${a.slice(1, 2)}${a.slice(1, 2)}` : a.slice(2, 4), l = r ? `${a.slice(2, 3)}${a.slice(2, 3)}` : a.slice(4, 6), m = (r ? `${a.slice(3, 4)}${a.slice(3, 4)}` : a.slice(6, 8)) || "ff";
65982
65988
  return {
65983
65989
  red: this._normalize(parseInt(o, 16)),
65984
65990
  green: this._normalize(parseInt(c, 16)),
@@ -65986,8 +65992,8 @@ class Cx {
65986
65992
  alpha: this._normalize(parseInt(m, 16))
65987
65993
  };
65988
65994
  }
65989
- _rgbToColor(n) {
65990
- const r = n.replace(/[^\d,]/g, "").split(","), o = this._normalize(Number(r[0])), c = this._normalize(Number(r[1])), l = this._normalize(Number(r[2])), m = this._normalizeAlpha(Number(r[3])) || 1;
65995
+ _rgbToColor(a) {
65996
+ const r = a.replace(/[^\d,]/g, "").split(","), o = this._normalize(Number(r[0])), c = this._normalize(Number(r[1])), l = this._normalize(Number(r[2])), m = this._normalizeAlpha(Number(r[3])) || 1;
65991
65997
  return isNaN(o) || isNaN(c) || isNaN(l) ? null : {
65992
65998
  red: o,
65993
65999
  green: c,
@@ -65995,144 +66001,144 @@ class Cx {
65995
66001
  alpha: m
65996
66002
  };
65997
66003
  }
65998
- _isHexToken(n) {
65999
- return n.charAt(0) === "#";
66004
+ _isHexToken(a) {
66005
+ return a.charAt(0) === "#";
66000
66006
  }
66001
- _isRgbColor(n) {
66002
- return n.startsWith("color.rgb");
66007
+ _isRgbColor(a) {
66008
+ return a.startsWith("color.rgb");
66003
66009
  }
66004
- _isColorExpression(n) {
66005
- return n.startsWith("color.new");
66010
+ _isColorExpression(a) {
66011
+ return a.startsWith("color.new");
66006
66012
  }
66007
66013
  }
66008
66014
  const Ei = new Cx();
66009
66015
  var Bt;
66010
- (function(a) {
66011
- a.BOOL = "bool", a.INT = "int", a.FLOAT = "float", a.ARRAY = "array", a.BOX = "box", a.CHART_POINT = "chart.point", a.COLOR = "color", a.CONST = "const", a.LABEL = "label", a.LINE = "line", a.LINEFILL = "linefill", a.MAP = "map", a.MATRIX = "matrix", a.POLYLINE = "polyline", a.SERIES = "series", a.SIMPLE = "simple", a.STRING = "string", a.TABLE = "table", a.UNDETERMINED = "undetermined type", a.INPUT = "input", a.NA = "na", a.VOID = "void", a.ENUM = "enum";
66016
+ (function(n) {
66017
+ n.BOOL = "bool", n.INT = "int", n.FLOAT = "float", n.ARRAY = "array", n.BOX = "box", n.CHART_POINT = "chart.point", n.COLOR = "color", n.CONST = "const", n.LABEL = "label", n.LINE = "line", n.LINEFILL = "linefill", n.MAP = "map", n.MATRIX = "matrix", n.POLYLINE = "polyline", n.SERIES = "series", n.SIMPLE = "simple", n.STRING = "string", n.TABLE = "table", n.UNDETERMINED = "undetermined type", n.INPUT = "input", n.NA = "na", n.VOID = "void", n.ENUM = "enum";
66012
66018
  })(Bt || (Bt = {}));
66013
66019
  var Ec;
66014
- (function(a) {
66015
- a.FlowStmt = "FlowStmt", a.DeclareAssign = "DeclareAssign", a.VarBlockStmt = "VarBlockStmt", a.VarSingle = "VarSingle", a.VarMultiple = "VarMultiple", a.ParenthesizedExpression = "ParenthesizedExpression", a.AdditiveExpression = "AdditiveExpression", a.RelationalExpression = "RelationalExpression", a.EqualityExpression = "EqualityExpression", a.TernaryExpression = "TernaryExpression", a.UnaryExpression = "UnaryExpression", a.NotExpression = "NotExpression", a.MemberIndexExpression = "MemberIndexExpression", a.MethodExpression = "MethodExpression", a.LogicalAndExpression = "LogicalAndExpression", a.LogicalOrExpression = "LogicalOrExpression", a.MultiplicativeExpression = "MultiplicativeExpression", a.Brackethesized = "Brackethesized", a.IfStatement = "IfStatement", a.ForToStatement = "ForToStatement", a.ForInStatement = "ForInStatement", a.SwitchStatement = "SwitchStatement", a.CaseClause = "CaseClause", a.DefaultCaluse = "DefaultCaluse", a.WhileStatement = "WhileStatement", a.ImportElement = "ImportElement", a.Literal = "Literal", a.ArrowFunction = "ArrowFunction", a.ArrowMethod = "ArrowMethod", a.TypeStatement = "TypeStatement", a.Name = "Name", a.AgainAssign = "AgainAssign", a.EnumStatement = "EnumStatement";
66020
+ (function(n) {
66021
+ n.FlowStmt = "FlowStmt", n.DeclareAssign = "DeclareAssign", n.VarBlockStmt = "VarBlockStmt", n.VarSingle = "VarSingle", n.VarMultiple = "VarMultiple", n.ParenthesizedExpression = "ParenthesizedExpression", n.AdditiveExpression = "AdditiveExpression", n.RelationalExpression = "RelationalExpression", n.EqualityExpression = "EqualityExpression", n.TernaryExpression = "TernaryExpression", n.UnaryExpression = "UnaryExpression", n.NotExpression = "NotExpression", n.MemberIndexExpression = "MemberIndexExpression", n.MethodExpression = "MethodExpression", n.LogicalAndExpression = "LogicalAndExpression", n.LogicalOrExpression = "LogicalOrExpression", n.MultiplicativeExpression = "MultiplicativeExpression", n.Brackethesized = "Brackethesized", n.IfStatement = "IfStatement", n.ForToStatement = "ForToStatement", n.ForInStatement = "ForInStatement", n.SwitchStatement = "SwitchStatement", n.CaseClause = "CaseClause", n.DefaultCaluse = "DefaultCaluse", n.WhileStatement = "WhileStatement", n.ImportElement = "ImportElement", n.Literal = "Literal", n.ArrowFunction = "ArrowFunction", n.ArrowMethod = "ArrowMethod", n.TypeStatement = "TypeStatement", n.Name = "Name", n.AgainAssign = "AgainAssign", n.EnumStatement = "EnumStatement";
66016
66022
  })(Ec || (Ec = {}));
66017
66023
  var Nc;
66018
- (function(a) {
66019
- a.dividends = "dividends", a.none = "none", a.splits = "splits";
66024
+ (function(n) {
66025
+ n.dividends = "dividends", n.none = "none", n.splits = "splits";
66020
66026
  })(Nc || (Nc = {}));
66021
66027
  var Sc;
66022
- (function(a) {
66023
- a.freqAll = "freq_all", a.freqOncePerBar = "freq_once_per_bar", a.freqOncePerBarClose = "freq_once_per_bar_close";
66028
+ (function(n) {
66029
+ n.freqAll = "freq_all", n.freqOncePerBar = "freq_once_per_bar", n.freqOncePerBarClose = "freq_once_per_bar_close";
66024
66030
  })(Sc || (Sc = {}));
66025
66031
  var Lc;
66026
- (function(a) {
66027
- a.gapsOff = "gaps_off", a.gapsOn = "gaps_on", a.lookaheadOff = "lookahead_off", a.lookaheadOn = "lookahead_on";
66032
+ (function(n) {
66033
+ n.gapsOff = "gaps_off", n.gapsOn = "gaps_on", n.lookaheadOff = "lookahead_off", n.lookaheadOn = "lookahead_on";
66028
66034
  })(Lc || (Lc = {}));
66029
66035
  var Mc;
66030
- (function(a) {
66031
- a.all = "all", a.dataWindow = "data_window", a.none = "none", a.pane = "pane", a.priceScale = "price_scale", a.statusLine = "status_line";
66036
+ (function(n) {
66037
+ n.all = "all", n.dataWindow = "data_window", n.none = "none", n.pane = "pane", n.priceScale = "price_scale", n.statusLine = "status_line";
66032
66038
  })(Mc || (Mc = {}));
66033
66039
  var Pc;
66034
- (function(a) {
66035
- a.both = "both", a.left = "left", a.none = "none", a.right = "right";
66040
+ (function(n) {
66041
+ n.both = "both", n.left = "left", n.none = "none", n.right = "right";
66036
66042
  })(Pc || (Pc = {}));
66037
66043
  var Oc;
66038
- (function(a) {
66039
- a.inherit = "inherit", a.mintick = "mintick", a.percent = "percent", a.price = "price", a.volume = "volume";
66044
+ (function(n) {
66045
+ n.inherit = "inherit", n.mintick = "mintick", n.percent = "percent", n.price = "price", n.volume = "volume";
66040
66046
  })(Oc || (Oc = {}));
66041
66047
  var Fc;
66042
- (function(a) {
66043
- a.styleDashed = "style_dashed", a.styleDotted = "style_dotted", a.styleSolid = "style_solid";
66048
+ (function(n) {
66049
+ n.styleDashed = "style_dashed", n.styleDotted = "style_dotted", n.styleSolid = "style_solid";
66044
66050
  })(Fc || (Fc = {}));
66045
66051
  var Rc;
66046
- (function(a) {
66047
- a.styleArrowdown = "style_arrowdown", a.styleArrowup = "style_arrowup", a.styleCircle = "style_circle", a.styleCross = "style_cross", a.styleDiamond = "style_diamond", a.styleFlag = "style_flag", a.styleLabelCenter = "style_label_center", a.styleLabelDown = "style_label_down", a.styleLabelLeft = "style_label_left", a.styleLabelLowerLeft = "style_label_lower_left", a.styleLabelLowerRight = "style_label_lower_right", a.styleLabelRight = "style_label_right", a.styleLabelUp = "style_label_up", a.styleLabelUpperLeft = "style_label_upper_left", a.styleLabelUpperRight = "style_label_upper_right", a.styleNone = "style_none", a.styleSquare = "style_square", a.styleTextOutline = "style_text_outline", a.styleTriangledown = "style_triangledown", a.styleTriangleup = "style_triangleup", a.styleXcross = "style_xcross";
66052
+ (function(n) {
66053
+ n.styleArrowdown = "style_arrowdown", n.styleArrowup = "style_arrowup", n.styleCircle = "style_circle", n.styleCross = "style_cross", n.styleDiamond = "style_diamond", n.styleFlag = "style_flag", n.styleLabelCenter = "style_label_center", n.styleLabelDown = "style_label_down", n.styleLabelLeft = "style_label_left", n.styleLabelLowerLeft = "style_label_lower_left", n.styleLabelLowerRight = "style_label_lower_right", n.styleLabelRight = "style_label_right", n.styleLabelUp = "style_label_up", n.styleLabelUpperLeft = "style_label_upper_left", n.styleLabelUpperRight = "style_label_upper_right", n.styleNone = "style_none", n.styleSquare = "style_square", n.styleTextOutline = "style_text_outline", n.styleTriangledown = "style_triangledown", n.styleTriangleup = "style_triangleup", n.styleXcross = "style_xcross";
66048
66054
  })(Rc || (Rc = {}));
66049
66055
  var Bc;
66050
- (function(a) {
66051
- a.styleArrowBoth = "style_arrow_both", a.styleArrowLeft = "style_arrow_left", a.styleArrowRight = "style_arrow_right", a.styleDashed = "style_dashed", a.styleDotted = "style_dotted", a.styleSolid = "style_solid";
66056
+ (function(n) {
66057
+ n.styleArrowBoth = "style_arrow_both", n.styleArrowLeft = "style_arrow_left", n.styleArrowRight = "style_arrow_right", n.styleDashed = "style_dashed", n.styleDotted = "style_dotted", n.styleSolid = "style_solid";
66052
66058
  })(Bc || (Bc = {}));
66053
66059
  var Kc;
66054
- (function(a) {
66055
- a.abovebar = "abovebar", a.absolute = "absolute", a.belowbar = "belowbar", a.bottom = "bottom", a.top = "top";
66060
+ (function(n) {
66061
+ n.abovebar = "abovebar", n.absolute = "absolute", n.belowbar = "belowbar", n.bottom = "bottom", n.top = "top";
66056
66062
  })(Kc || (Kc = {}));
66057
66063
  var Uc;
66058
- (function(a) {
66059
- a.ascending = "ascending", a.descending = "descending";
66064
+ (function(n) {
66065
+ n.ascending = "ascending", n.descending = "descending";
66060
66066
  })(Uc || (Uc = {}));
66061
66067
  var $c;
66062
- (function(a) {
66063
- a.styleArea = "Area", a.styleAreabr = "Area With Breaks", a.styleCircles = "Circles", a.styleColumns = "Columns", a.styleCross = "Cross", a.styleHistogram = "Histogram", a.styleLine = "Line", a.styleLinebr = "Line With Breaks", a.styleStepline = "Step Line", a.styleSteplineDiamond = "Step Line With Diamonds", a.styleSteplinebr = "Step line with Breaks";
66068
+ (function(n) {
66069
+ n.styleArea = "Area", n.styleAreabr = "Area With Breaks", n.styleCircles = "Circles", n.styleColumns = "Columns", n.styleCross = "Cross", n.styleHistogram = "Histogram", n.styleLine = "Line", n.styleLinebr = "Line With Breaks", n.styleStepline = "Step Line", n.styleSteplineDiamond = "Step Line With Diamonds", n.styleSteplinebr = "Step line with Breaks";
66064
66070
  })($c || ($c = {}));
66065
66071
  var Hc;
66066
- (function(a) {
66067
- a.bottomCenter = "bottom_center", a.bottomLeft = "bottom_left", a.bottomRight = "bottom_right", a.middleCenter = "middle_center", a.middleLeft = "middle_left", a.middleRight = "middle_right", a.topCenter = "top_center", a.topLeft = "top_left", a.topRight = "top_right";
66072
+ (function(n) {
66073
+ n.bottomCenter = "bottom_center", n.bottomLeft = "bottom_left", n.bottomRight = "bottom_right", n.middleCenter = "middle_center", n.middleLeft = "middle_left", n.middleRight = "middle_right", n.topCenter = "top_center", n.topLeft = "top_left", n.topRight = "top_right";
66068
66074
  })(Hc || (Hc = {}));
66069
66075
  var jc;
66070
- (function(a) {
66071
- a.left = "left", a.none = "none", a.right = "right";
66076
+ (function(n) {
66077
+ n.left = "left", n.none = "none", n.right = "right";
66072
66078
  })(jc || (jc = {}));
66073
66079
  var Wc;
66074
- (function(a) {
66075
- a.extended = "extended", a.regular = "regular";
66080
+ (function(n) {
66081
+ n.extended = "extended", n.regular = "regular";
66076
66082
  })(Wc || (Wc = {}));
66077
66083
  var Gc;
66078
- (function(a) {
66079
- a.arrowdown = "arrowdown", a.arrowup = "arrowup", a.circle = "circle", a.cross = "cross", a.diamond = "diamond", a.flag = "flag", a.labeldown = "labeldown", a.labelup = "labelup", a.square = "square", a.triangledown = "triangledown", a.triangleup = "triangleup", a.xcross = "xcross";
66084
+ (function(n) {
66085
+ n.arrowdown = "arrowdown", n.arrowup = "arrowup", n.circle = "circle", n.cross = "cross", n.diamond = "diamond", n.flag = "flag", n.labeldown = "labeldown", n.labelup = "labelup", n.square = "square", n.triangledown = "triangledown", n.triangleup = "triangleup", n.xcross = "xcross";
66080
66086
  })(Gc || (Gc = {}));
66081
66087
  var Xc;
66082
- (function(a) {
66083
- a.auto = "auto", a.huge = "huge", a.large = "large", a.normal = "normal", a.small = "small", a.tiny = "tiny";
66088
+ (function(n) {
66089
+ n.auto = "auto", n.huge = "huge", n.large = "large", n.normal = "normal", n.small = "small", n.tiny = "tiny";
66084
66090
  })(Xc || (Xc = {}));
66085
66091
  var Yc;
66086
- (function(a) {
66087
- a.familyDefault = "default", a.familyMonospace = "monospace";
66092
+ (function(n) {
66093
+ n.familyDefault = "default", n.familyMonospace = "monospace";
66088
66094
  })(Yc || (Yc = {}));
66089
66095
  var Vc;
66090
- (function(a) {
66091
- a.cash = "cash", a.fixed = "fixed", a.percentOfEquity = "percent_of_equity";
66096
+ (function(n) {
66097
+ n.cash = "cash", n.fixed = "fixed", n.percentOfEquity = "percent_of_equity";
66092
66098
  })(Vc || (Vc = {}));
66093
66099
  var Qc;
66094
- (function(a) {
66095
- a.cashPerContract = "cash_per_contract", a.cashPerOrder = "cash_per_order", a.percent = "percent";
66100
+ (function(n) {
66101
+ n.cashPerContract = "cash_per_contract", n.cashPerOrder = "cash_per_order", n.percent = "percent";
66096
66102
  })(Qc || (Qc = {}));
66097
66103
  var Zc;
66098
- (function(a) {
66099
- a.all = "all", a.long = "long", a.short = "short";
66104
+ (function(n) {
66105
+ n.all = "all", n.long = "long", n.short = "short";
66100
66106
  })(Zc || (Zc = {}));
66101
66107
  var Jc;
66102
- (function(a) {
66103
- a.cancel = "cancel", a.none = "none", a.reduce = "reduce";
66108
+ (function(n) {
66109
+ n.cancel = "cancel", n.none = "none", n.reduce = "reduce";
66104
66110
  })(Jc || (Jc = {}));
66105
66111
  var ep;
66106
- (function(a) {
66107
- a.alignBottom = "align_bottom", a.alignCenter = "align_center", a.alignLeft = "align_left", a.alignRight = "align_right", a.alignTop = "align_top", a.wrapAuto = "wrap_auto", a.wrapNone = "wrap_none";
66112
+ (function(n) {
66113
+ n.alignBottom = "align_bottom", n.alignCenter = "align_center", n.alignLeft = "align_left", n.alignRight = "align_right", n.alignTop = "align_top", n.wrapAuto = "wrap_auto", n.wrapNone = "wrap_none";
66108
66114
  })(ep || (ep = {}));
66109
66115
  var tp;
66110
- (function(a) {
66111
- a.bar_index = "bar_index", a.bar_time = "bar_time";
66116
+ (function(n) {
66117
+ n.bar_index = "bar_index", n.bar_time = "bar_time";
66112
66118
  })(tp || (tp = {}));
66113
66119
  var sp;
66114
- (function(a) {
66115
- a.abovebar = "abovebar", a.belowbar = "belowbar", a.price = "price";
66120
+ (function(n) {
66121
+ n.abovebar = "abovebar", n.belowbar = "belowbar", n.price = "price";
66116
66122
  })(sp || (sp = {}));
66117
66123
  var rp;
66118
- (function(a) {
66119
- a.actual = "actual", a.estimate = "estimate", a.standardized = "standardized";
66124
+ (function(n) {
66125
+ n.actual = "actual", n.estimate = "estimate", n.standardized = "standardized";
66120
66126
  })(rp || (rp = {}));
66121
66127
  var ap;
66122
- (function(a) {
66123
- a.traditional = "Traditional", a.fibonacci = "Fibonacci", a.woodie = "Woodie", a.classic = "Classic", a.dm = "DM", a.camarilla = "Camarilla";
66128
+ (function(n) {
66129
+ n.traditional = "Traditional", n.fibonacci = "Fibonacci", n.woodie = "Woodie", n.classic = "Classic", n.dm = "DM", n.camarilla = "Camarilla";
66124
66130
  })(ap || (ap = {}));
66125
66131
  var np;
66126
- (function(a) {
66127
- a.INT = "int", a.BOOL = "bool", a.TIME = "time", a.COLOR = "color", a.FLOAT = "float", a.PRICE = "price", a.SOURCE = "source", a.STRING = "string", a.SYMBOL = "symbol", a.SESSION = "session", a.TEXT_AREA = "text_area", a.TIMEFRAME = "timeframe", a.ENUM = "enum";
66132
+ (function(n) {
66133
+ n.INT = "int", n.BOOL = "bool", n.TIME = "time", n.COLOR = "color", n.FLOAT = "float", n.PRICE = "price", n.SOURCE = "source", n.STRING = "string", n.SYMBOL = "symbol", n.SESSION = "session", n.TEXT_AREA = "text_area", n.TIMEFRAME = "timeframe", n.ENUM = "enum";
66128
66134
  })(np || (np = {}));
66129
66135
  var ip;
66130
- (function(a) {
66131
- a.description = "description", a.field = "field", a.function = "function", a.param = "param", a.returns = "returns", a.type = "type", a.variable = "variable", a.enum = "enum";
66136
+ (function(n) {
66137
+ n.description = "description", n.field = "field", n.function = "function", n.param = "param", n.returns = "returns", n.type = "type", n.variable = "variable", n.enum = "enum";
66132
66138
  })(ip || (ip = {}));
66133
66139
  var op;
66134
- (function(a) {
66135
- a.library = "library", a.indicator = "indicator", a.strategy = "strategy";
66140
+ (function(n) {
66141
+ n.library = "library", n.indicator = "indicator", n.strategy = "strategy";
66136
66142
  })(op || (op = {}));
66137
66143
  Bt.SERIES, Bt.SIMPLE, Bt.INPUT, Bt.CONST;
66138
66144
  Bt.INT, Bt.FLOAT, Bt.BOOL, Bt.COLOR, Bt.STRING;
@@ -66465,14 +66471,14 @@ class Ex {
66465
66471
  get inlayHints() {
66466
66472
  return [...this._inlayHints.values()];
66467
66473
  }
66468
- setEditor(n) {
66469
- this._editor = n;
66474
+ setEditor(a) {
66475
+ this._editor = a;
66470
66476
  }
66471
- async setInlayHints(n) {
66472
- const { endLine: r, endColumn: o, name: c, libraryId: l, libraryName: m } = n;
66477
+ async setInlayHints(a) {
66478
+ const { endLine: r, endColumn: o, name: c, libraryId: l, libraryName: m } = a;
66473
66479
  if (this._importCompleteLibrary.has(l)) {
66474
66480
  const _ = this._funcs.get(l);
66475
- return ((_ == null ? void 0 : _.name) !== c || !c && !this._inlayHints.has(l)) && (this._updateFuncNames(c || m, l), this._inlayHintsHandle(n)), this._importCompleteLibrary.get(l);
66481
+ return ((_ == null ? void 0 : _.name) !== c || !c && !this._inlayHints.has(l)) && (this._updateFuncNames(c || m, l), this._inlayHintsHandle(a)), this._importCompleteLibrary.get(l);
66476
66482
  }
66477
66483
  return this._importCompleteLibrary.set(l, lp), this._inlayHints.set(l, {
66478
66484
  label: "载入中...",
@@ -66482,11 +66488,11 @@ class Ex {
66482
66488
  },
66483
66489
  paddingLeft: !0
66484
66490
  }), this.triggerInlayHints(), this._updateFuncNames(c || m, l), setTimeout(() => {
66485
- this._inlayHints.has(l) && this._inlayHintsHandle(n);
66491
+ this._inlayHints.has(l) && this._inlayHintsHandle(a);
66486
66492
  }, 2e3), lp;
66487
66493
  }
66488
- deleteInlayHints(n) {
66489
- this._inlayHints.delete(n);
66494
+ deleteInlayHints(a) {
66495
+ this._inlayHints.delete(a);
66490
66496
  }
66491
66497
  clearInlayHints() {
66492
66498
  this._inlayHints.clear();
@@ -66498,15 +66504,15 @@ class Ex {
66498
66504
  }
66499
66505
  });
66500
66506
  }
66501
- _updateFuncNames(n, r) {
66507
+ _updateFuncNames(a, r) {
66502
66508
  const o = this._importCompleteLibrary.get(r);
66503
66509
  if (!o)
66504
66510
  return;
66505
- const c = o.functions.map((l) => `${n}.${l.name}`);
66506
- this._funcs.set(r, { name: n, funcs: c }), this._updateMonarchTokens();
66511
+ const c = o.functions.map((l) => `${a}.${l.name}`);
66512
+ this._funcs.set(r, { name: a, funcs: c }), this._updateMonarchTokens();
66507
66513
  }
66508
- _setNoNameInlayHints(n) {
66509
- const { endLine: r, endColumn: o, libraryId: c, libraryName: l } = n;
66514
+ _setNoNameInlayHints(a) {
66515
+ const { endLine: r, endColumn: o, libraryId: c, libraryName: l } = a;
66510
66516
  this._inlayHints.set(c, {
66511
66517
  label: `as ${l}`,
66512
66518
  position: {
@@ -66516,24 +66522,24 @@ class Ex {
66516
66522
  paddingLeft: !0
66517
66523
  });
66518
66524
  }
66519
- _inlayHintsHandle(n) {
66520
- const { name: r, libraryId: o } = n;
66521
- r ? this._inlayHints.delete(o) : this._setNoNameInlayHints(n), this.triggerInlayHints();
66525
+ _inlayHintsHandle(a) {
66526
+ const { name: r, libraryId: o } = a;
66527
+ r ? this._inlayHints.delete(o) : this._setNoNameInlayHints(a), this.triggerInlayHints();
66522
66528
  }
66523
66529
  _updateMonarchTokens() {
66524
- const n = [...this._funcs.values()].map((c) => c.funcs.join("|")), r = new RegExp("\\b(" + n.join("|") + ")(?=\\s*\\()"), o = [...or.tokenizer.root];
66530
+ const a = [...this._funcs.values()].map((c) => c.funcs.join("|")), r = new RegExp("\\b(" + a.join("|") + ")(?=\\s*\\()"), o = [...or.tokenizer.root];
66525
66531
  o.splice(15, 0, [r, "meta.function-call"]), He.setMonarchTokensProvider(Ee, { ...or, tokenizer: { ...or.tokenizer, root: o } });
66526
66532
  }
66527
66533
  }
66528
66534
  const Ja = new Ex();
66529
- function Nx(a, n, r) {
66535
+ function Nx(n, a, r) {
66530
66536
  var B;
66531
66537
  const o = {
66532
- startLineNumber: n.lineNumber,
66538
+ startLineNumber: a.lineNumber,
66533
66539
  startColumn: 1,
66534
- endLineNumber: n.lineNumber,
66535
- endColumn: n.column
66536
- }, c = a.getValueInRange(o);
66540
+ endLineNumber: a.lineNumber,
66541
+ endColumn: a.column
66542
+ }, c = n.getValueInRange(o);
66537
66543
  if (/^\/\/\s*@/.test(c))
66538
66544
  return {
66539
66545
  suggestions: Kt.annotationSuggestions
@@ -66545,12 +66551,12 @@ function Nx(a, n, r) {
66545
66551
  return {
66546
66552
  suggestions: []
66547
66553
  };
66548
- const m = (B = l[0]) == null ? void 0 : B.match(/.*[^\w.]+([\w.]+)(?=\.)|([\w.]+)(?=\.)/), _ = m ? m[1] ? m[1] : m[2] ? m[2] : void 0 : void 0, f = a.getWordUntilPosition(n), b = Ps.parseCurrentInputFunc(c), h = {
66549
- startLineNumber: n.lineNumber,
66550
- endLineNumber: n.lineNumber,
66554
+ const m = (B = l[0]) == null ? void 0 : B.match(/.*[^\w.]+([\w.]+)(?=\.)|([\w.]+)(?=\.)/), _ = m ? m[1] ? m[1] : m[2] ? m[2] : void 0 : void 0, f = n.getWordUntilPosition(a), b = Ps.parseCurrentInputFunc(c), h = {
66555
+ startLineNumber: a.lineNumber,
66556
+ endLineNumber: a.lineNumber,
66551
66557
  startColumn: f.startColumn,
66552
66558
  endColumn: f.endColumn
66553
- }, T = a.getValueInRange({ ...h, startColumn: f.endColumn, endColumn: f.endColumn + 1 });
66559
+ }, T = n.getValueInRange({ ...h, startColumn: f.endColumn, endColumn: f.endColumn + 1 });
66554
66560
  Kt.nextIsBracket = T === "(";
66555
66561
  let P = cp(Kt.getSuggestions(_) || [], h);
66556
66562
  if (l[0] === "." && (P = []), b && !_ && !/=\s*\w+$/.test(c)) {
@@ -66563,15 +66569,15 @@ function Nx(a, n, r) {
66563
66569
  }
66564
66570
  };
66565
66571
  }
66566
- function Sx(a) {
66567
- if (a.kind !== 1)
66568
- return a;
66569
- const { originInsertText: n } = a;
66570
- return Kt.nextIsBracket ? a.insertText = n : a.insertText = n + Kt.bracketsPostfix, a;
66572
+ function Sx(n) {
66573
+ if (n.kind !== 1)
66574
+ return n;
66575
+ const { originInsertText: a } = n;
66576
+ return Kt.nextIsBracket ? n.insertText = a : n.insertText = a + Kt.bracketsPostfix, n;
66571
66577
  }
66572
- function Lx(a, n) {
66578
+ function Lx(n, a) {
66573
66579
  var o;
66574
- const r = Ps.parseLineContentFuncVar(n.column, n.lineNumber, a, n);
66580
+ const r = Ps.parseLineContentFuncVar(a.column, a.lineNumber, n, a);
66575
66581
  if (r != null && r.libraryId)
66576
66582
  return {
66577
66583
  contents: [
@@ -66595,21 +66601,21 @@ function Lx(a, n) {
66595
66601
  contents: []
66596
66602
  };
66597
66603
  }
66598
- function Mx(a, n) {
66604
+ function Mx(n, a) {
66599
66605
  var T, P;
66600
66606
  const r = {
66601
- startLineNumber: n.lineNumber,
66602
- endLineNumber: n.lineNumber,
66607
+ startLineNumber: a.lineNumber,
66608
+ endLineNumber: a.lineNumber,
66603
66609
  startColumn: 1,
66604
- endColumn: n.column
66605
- }, o = a.getValueInRange(r), c = a.findMatches(String(Ix), r, !0, !1, null, !0), l = a.findMatches(String(kx), r, !0, !1, null, !0), m = (T = c.pop()) == null ? void 0 : T.matches, _ = (P = l.pop()) == null ? void 0 : P.matches;
66610
+ endColumn: a.column
66611
+ }, o = n.getValueInRange(r), c = n.findMatches(String(Ix), r, !0, !1, null, !0), l = n.findMatches(String(kx), r, !0, !1, null, !0), m = (T = c.pop()) == null ? void 0 : T.matches, _ = (P = l.pop()) == null ? void 0 : P.matches;
66606
66612
  let f = !1;
66607
66613
  c.length % 2 === 0 ? m && m[0] === '"' && (f = !0) : m && !m[0] && (f = !0);
66608
66614
  let b = !1;
66609
66615
  l.length % 2 === 0 ? _ && _[0] === "'" && (b = !0) : _ && !_[0] && (b = !0);
66610
66616
  const h = Ps.parseCurrentInputFuncAndArg(o, b, f);
66611
66617
  if (h) {
66612
- const { funcName: B, args: O, startIndex: N } = h, $ = qx.getSignatureHelpValues(B, O, N + 1, n.lineNumber);
66618
+ const { funcName: B, args: O, startIndex: N } = h, $ = qx.getSignatureHelpValues(B, O, N + 1, a.lineNumber);
66613
66619
  if ($)
66614
66620
  return {
66615
66621
  value: $,
@@ -66619,21 +66625,21 @@ function Mx(a, n) {
66619
66625
  }
66620
66626
  return null;
66621
66627
  }
66622
- function Px(a) {
66623
- let n = a.findMatches(Ei.colorMatchesRegStr, !0, !0, !1, null, !0);
66624
- return n = n.filter((o) => {
66625
- const c = a.getValueInRange({
66628
+ function Px(n) {
66629
+ let a = n.findMatches(Ei.colorMatchesRegStr, !0, !0, !1, null, !0);
66630
+ return a = a.filter((o) => {
66631
+ const c = n.getValueInRange({
66626
66632
  ...o.range,
66627
66633
  startColumn: 0
66628
66634
  });
66629
66635
  return c.indexOf("//") === -1 || c.indexOf("//") > o.range.endColumn;
66630
- }), Ei.getDocumentColors(n);
66636
+ }), Ei.getDocumentColors(a);
66631
66637
  }
66632
- function Ox(a, n) {
66633
- return Ei.getDocumentColorPresentations(a, n) || [];
66638
+ function Ox(n, a) {
66639
+ return Ei.getDocumentColorPresentations(n, a) || [];
66634
66640
  }
66635
- function Fx(a, n) {
66636
- const r = a.getModel(), o = Ps.parseLineContentFuncVar(n.startColumn + 1, n.startLineNumber, r);
66641
+ function Fx(n, a) {
66642
+ const r = n.getModel(), o = Ps.parseLineContentFuncVar(a.startColumn + 1, a.startLineNumber, r);
66637
66643
  if (!o || o.isBuildIn || !o.docValue || !o.docValue[0].pos)
66638
66644
  return o != null && o.isBuildIn ? o : void 0;
66639
66645
  const { lineNumber: c, column: l } = o.docValue[0].pos, m = {
@@ -66642,21 +66648,21 @@ function Fx(a, n) {
66642
66648
  startColumn: l,
66643
66649
  endColumn: l
66644
66650
  };
66645
- a.revealRangeInCenterIfOutsideViewport(m), a.setSelection(m);
66651
+ n.revealRangeInCenterIfOutsideViewport(m), n.setSelection(m);
66646
66652
  }
66647
- function Rx(a, n) {
66648
- return Ps.parseLineContentFuncVar(n.column, n.lineNumber, a, n) ? {
66649
- uri: a.uri,
66653
+ function Rx(n, a) {
66654
+ return Ps.parseLineContentFuncVar(a.column, a.lineNumber, n, a) ? {
66655
+ uri: n.uri,
66650
66656
  range: {
66651
- startLineNumber: n.lineNumber,
66652
- endLineNumber: n.lineNumber,
66653
- startColumn: n.column - 1,
66654
- endColumn: n.column - 1
66657
+ startLineNumber: a.lineNumber,
66658
+ endLineNumber: a.lineNumber,
66659
+ startColumn: a.column - 1,
66660
+ endColumn: a.column - 1
66655
66661
  }
66656
66662
  } : null;
66657
66663
  }
66658
- function cp(a, n) {
66659
- return a.map((r) => (r.range = n, r));
66664
+ function cp(n, a) {
66665
+ return n.map((r) => (r.range = a, r));
66660
66666
  }
66661
66667
  function Bx() {
66662
66668
  return {
@@ -66670,36 +66676,36 @@ if (process.env.NODE_ENV === "production")
66670
66676
  Ur.createRoot = Rr.createRoot, Ur.hydrateRoot = Rr.hydrateRoot;
66671
66677
  else {
66672
66678
  var Wa = Rr.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
66673
- Ur.createRoot = function(a, n) {
66679
+ Ur.createRoot = function(n, a) {
66674
66680
  Wa.usingClientEntryPoint = !0;
66675
66681
  try {
66676
- return Rr.createRoot(a, n);
66682
+ return Rr.createRoot(n, a);
66677
66683
  } finally {
66678
66684
  Wa.usingClientEntryPoint = !1;
66679
66685
  }
66680
- }, Ur.hydrateRoot = function(a, n, r) {
66686
+ }, Ur.hydrateRoot = function(n, a, r) {
66681
66687
  Wa.usingClientEntryPoint = !0;
66682
66688
  try {
66683
- return Rr.hydrateRoot(a, n, r);
66689
+ return Rr.hydrateRoot(n, a, r);
66684
66690
  } finally {
66685
66691
  Wa.usingClientEntryPoint = !1;
66686
66692
  }
66687
66693
  };
66688
66694
  }
66689
66695
  var Ve;
66690
- (function(a) {
66691
- a.added = "added", a.removed = "removed", a.modified = "modified";
66696
+ (function(n) {
66697
+ n.added = "added", n.removed = "removed", n.modified = "modified";
66692
66698
  })(Ve || (Ve = {}));
66693
- const Kx = (a, n) => {
66694
- const { close: r, retracement: o } = a, [c, l] = lt("modified");
66695
- return hp(n, () => ({
66699
+ const Kx = (n, a) => {
66700
+ const { close: r, retracement: o } = n, [c, l] = lt("modified");
66701
+ return hp(a, () => ({
66696
66702
  updateType(m) {
66697
66703
  l(m);
66698
66704
  }
66699
66705
  })), L.jsxs("div", { className: `content-popup content-${c}-popup`, children: [L.jsx("div", { className: `triangle-popup triangle-${c}-popup` }), L.jsxs("div", { className: `header-popup header-${c}-popup`, children: [L.jsx("div", { className: "title-popup", children: "Local working changes" }), L.jsx("div", { className: "actions-popup", children: L.jsx("div", { onClick: r, "data-role": "button", className: "button-popup", "data-name": "button-close-diff", children: L.jsx("span", { className: "icon-popup", role: "img", children: L.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", width: "12", height: "12", children: L.jsx("path", { stroke: "currentColor", strokeWidth: "1.2", d: "m1.5 1.5 9 9m0-9-9 9" }) }) }) }) })] }), L.jsx("div", { id: "diffEditorContainer", style: { height: "100%" } })] });
66700
66706
  }, Ux = xp(Kx);
66701
66707
  class $x {
66702
- constructor(n, r, o = !0) {
66708
+ constructor(a, r, o = !0) {
66703
66709
  Object.defineProperty(this, "_domNode", {
66704
66710
  enumerable: !0,
66705
66711
  configurable: !0,
@@ -66720,7 +66726,7 @@ class $x {
66720
66726
  configurable: !0,
66721
66727
  writable: !0,
66722
66728
  value: void 0
66723
- }), this._id = n, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width = o ? "calc(100% - 134px)" : "calc(100% - 14px)", this._domNode.style.height = "200px", r == null || r.onDidScrollChange(this.scrollChangeHandler.bind(this)), Ur.createRoot(this._domNode).render(L.jsx(Ux, { ref: (c) => this._content = c, close: () => this._close(), retracement: this._retracement })), this._top = 0;
66729
+ }), this._id = a, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width = o ? "calc(100% - 134px)" : "calc(100% - 14px)", this._domNode.style.height = "200px", r == null || r.onDidScrollChange(this.scrollChangeHandler.bind(this)), Ur.createRoot(this._domNode).render(L.jsx(Ux, { ref: (c) => this._content = c, close: () => this._close(), retracement: this._retracement })), this._top = 0;
66724
66730
  }
66725
66731
  _close() {
66726
66732
  this._domNode.style.display = "none";
@@ -66736,22 +66742,22 @@ class $x {
66736
66742
  getPosition() {
66737
66743
  return null;
66738
66744
  }
66739
- show(n, r, o) {
66745
+ show(a, r, o) {
66740
66746
  var c;
66741
- this._top = r, (c = this._content) == null || c.updateType(o), this._domNode.style.top = `${n}px`, this._domNode.style.display = "block";
66747
+ this._top = r, (c = this._content) == null || c.updateType(o), this._domNode.style.top = `${a}px`, this._domNode.style.display = "block";
66742
66748
  }
66743
66749
  hide() {
66744
66750
  this._domNode.style.display = "none";
66745
66751
  }
66746
- scrollChangeHandler(n) {
66747
- const r = n.scrollTop;
66752
+ scrollChangeHandler(a) {
66753
+ const r = a.scrollTop;
66748
66754
  this._domNode.style.top = `${this._top - r}px`;
66749
66755
  }
66750
66756
  }
66751
66757
  function ws() {
66752
66758
  }
66753
66759
  ws.prototype = {
66754
- diff: function(n, r) {
66760
+ diff: function(a, r) {
66755
66761
  var o, c = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, l = c.callback;
66756
66762
  typeof c == "function" && (l = c, c = {}), this.options = c;
66757
66763
  var m = this;
@@ -66760,13 +66766,13 @@ ws.prototype = {
66760
66766
  l(void 0, I);
66761
66767
  }, 0), !0) : I;
66762
66768
  }
66763
- n = this.castInput(n), r = this.castInput(r), n = this.removeEmpty(this.tokenize(n)), r = this.removeEmpty(this.tokenize(r));
66764
- var f = r.length, b = n.length, h = 1, T = f + b;
66769
+ a = this.castInput(a), r = this.castInput(r), a = this.removeEmpty(this.tokenize(a)), r = this.removeEmpty(this.tokenize(r));
66770
+ var f = r.length, b = a.length, h = 1, T = f + b;
66765
66771
  c.maxEditLength && (T = Math.min(T, c.maxEditLength));
66766
66772
  var P = (o = c.timeout) !== null && o !== void 0 ? o : 1 / 0, B = Date.now() + P, O = [{
66767
66773
  oldPos: -1,
66768
66774
  lastComponent: void 0
66769
- }], N = this.extractCommon(O[0], r, n, 0);
66775
+ }], N = this.extractCommon(O[0], r, a, 0);
66770
66776
  if (O[0].oldPos + 1 >= b && N + 1 >= f)
66771
66777
  return _([{
66772
66778
  value: this.join(r),
@@ -66777,18 +66783,18 @@ ws.prototype = {
66777
66783
  for (var I = Math.max($, -h); I <= Math.min(G, h); I += 2) {
66778
66784
  var M = void 0, z = O[I - 1], R = O[I + 1];
66779
66785
  z && (O[I - 1] = void 0);
66780
- var J = !1;
66786
+ var V = !1;
66781
66787
  if (R) {
66782
66788
  var ye = R.oldPos - I;
66783
- J = R && 0 <= ye && ye < f;
66789
+ V = R && 0 <= ye && ye < f;
66784
66790
  }
66785
66791
  var ie = z && z.oldPos + 1 < b;
66786
- if (!J && !ie) {
66792
+ if (!V && !ie) {
66787
66793
  O[I] = void 0;
66788
66794
  continue;
66789
66795
  }
66790
- if (!ie || J && z.oldPos + 1 < R.oldPos ? M = m.addToPath(R, !0, void 0, 0) : M = m.addToPath(z, void 0, !0, 1), N = m.extractCommon(M, r, n, I), M.oldPos + 1 >= b && N + 1 >= f)
66791
- return _(Hx(m, M.lastComponent, r, n, m.useLongestToken));
66796
+ if (!ie || V && z.oldPos + 1 < R.oldPos ? M = m.addToPath(R, !0, void 0, 0) : M = m.addToPath(z, void 0, !0, 1), N = m.extractCommon(M, r, a, I), M.oldPos + 1 >= b && N + 1 >= f)
66797
+ return _(Hx(m, M.lastComponent, r, a, m.useLongestToken));
66792
66798
  O[I] = M, M.oldPos + 1 >= b && (G = Math.min(G, I - 1)), N + 1 >= f && ($ = Math.max($, I + 1));
66793
66799
  }
66794
66800
  h++;
@@ -66808,10 +66814,10 @@ ws.prototype = {
66808
66814
  return F;
66809
66815
  }
66810
66816
  },
66811
- addToPath: function(n, r, o, c) {
66812
- var l = n.lastComponent;
66817
+ addToPath: function(a, r, o, c) {
66818
+ var l = a.lastComponent;
66813
66819
  return l && l.added === r && l.removed === o ? {
66814
- oldPos: n.oldPos + c,
66820
+ oldPos: a.oldPos + c,
66815
66821
  lastComponent: {
66816
66822
  count: l.count + 1,
66817
66823
  added: r,
@@ -66819,7 +66825,7 @@ ws.prototype = {
66819
66825
  previousComponent: l.previousComponent
66820
66826
  }
66821
66827
  } : {
66822
- oldPos: n.oldPos + c,
66828
+ oldPos: a.oldPos + c,
66823
66829
  lastComponent: {
66824
66830
  count: 1,
66825
66831
  added: r,
@@ -66828,40 +66834,40 @@ ws.prototype = {
66828
66834
  }
66829
66835
  };
66830
66836
  },
66831
- extractCommon: function(n, r, o, c) {
66832
- for (var l = r.length, m = o.length, _ = n.oldPos, f = _ - c, b = 0; f + 1 < l && _ + 1 < m && this.equals(r[f + 1], o[_ + 1]); )
66837
+ extractCommon: function(a, r, o, c) {
66838
+ for (var l = r.length, m = o.length, _ = a.oldPos, f = _ - c, b = 0; f + 1 < l && _ + 1 < m && this.equals(r[f + 1], o[_ + 1]); )
66833
66839
  f++, _++, b++;
66834
- return b && (n.lastComponent = {
66840
+ return b && (a.lastComponent = {
66835
66841
  count: b,
66836
- previousComponent: n.lastComponent
66837
- }), n.oldPos = _, f;
66842
+ previousComponent: a.lastComponent
66843
+ }), a.oldPos = _, f;
66838
66844
  },
66839
- equals: function(n, r) {
66840
- return this.options.comparator ? this.options.comparator(n, r) : n === r || this.options.ignoreCase && n.toLowerCase() === r.toLowerCase();
66845
+ equals: function(a, r) {
66846
+ return this.options.comparator ? this.options.comparator(a, r) : a === r || this.options.ignoreCase && a.toLowerCase() === r.toLowerCase();
66841
66847
  },
66842
- removeEmpty: function(n) {
66843
- for (var r = [], o = 0; o < n.length; o++)
66844
- n[o] && r.push(n[o]);
66848
+ removeEmpty: function(a) {
66849
+ for (var r = [], o = 0; o < a.length; o++)
66850
+ a[o] && r.push(a[o]);
66845
66851
  return r;
66846
66852
  },
66847
- castInput: function(n) {
66848
- return n;
66853
+ castInput: function(a) {
66854
+ return a;
66849
66855
  },
66850
- tokenize: function(n) {
66851
- return n.split("");
66856
+ tokenize: function(a) {
66857
+ return a.split("");
66852
66858
  },
66853
- join: function(n) {
66854
- return n.join("");
66859
+ join: function(a) {
66860
+ return a.join("");
66855
66861
  }
66856
66862
  };
66857
- function Hx(a, n, r, o, c) {
66858
- for (var l = [], m; n; )
66859
- l.push(n), m = n.previousComponent, delete n.previousComponent, n = m;
66863
+ function Hx(n, a, r, o, c) {
66864
+ for (var l = [], m; a; )
66865
+ l.push(a), m = a.previousComponent, delete a.previousComponent, a = m;
66860
66866
  l.reverse();
66861
66867
  for (var _ = 0, f = l.length, b = 0, h = 0; _ < f; _++) {
66862
66868
  var T = l[_];
66863
66869
  if (T.removed) {
66864
- if (T.value = a.join(o.slice(h, h + T.count)), h += T.count, _ && l[_ - 1].added) {
66870
+ if (T.value = n.join(o.slice(h, h + T.count)), h += T.count, _ && l[_ - 1].added) {
66865
66871
  var B = l[_ - 1];
66866
66872
  l[_ - 1] = l[_], l[_] = B;
66867
66873
  }
@@ -66871,100 +66877,100 @@ function Hx(a, n, r, o, c) {
66871
66877
  P = P.map(function(N, $) {
66872
66878
  var G = o[h + $];
66873
66879
  return G.length > N.length ? G : N;
66874
- }), T.value = a.join(P);
66880
+ }), T.value = n.join(P);
66875
66881
  } else
66876
- T.value = a.join(r.slice(b, b + T.count));
66882
+ T.value = n.join(r.slice(b, b + T.count));
66877
66883
  b += T.count, T.added || (h += T.count);
66878
66884
  }
66879
66885
  }
66880
66886
  var O = l[f - 1];
66881
- return f > 1 && typeof O.value == "string" && (O.added || O.removed) && a.equals("", O.value) && (l[f - 2].value += O.value, l.pop()), l;
66887
+ return f > 1 && typeof O.value == "string" && (O.added || O.removed) && n.equals("", O.value) && (l[f - 2].value += O.value, l.pop()), l;
66882
66888
  }
66883
66889
  var pp = /^[A-Za-z\xC0-\u02C6\u02C8-\u02D7\u02DE-\u02FF\u1E00-\u1EFF]+$/, dp = /\S/, zp = new ws();
66884
- zp.equals = function(a, n) {
66885
- return this.options.ignoreCase && (a = a.toLowerCase(), n = n.toLowerCase()), a === n || this.options.ignoreWhitespace && !dp.test(a) && !dp.test(n);
66890
+ zp.equals = function(n, a) {
66891
+ return this.options.ignoreCase && (n = n.toLowerCase(), a = a.toLowerCase()), n === a || this.options.ignoreWhitespace && !dp.test(n) && !dp.test(a);
66886
66892
  };
66887
- zp.tokenize = function(a) {
66888
- for (var n = a.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/), r = 0; r < n.length - 1; r++)
66889
- !n[r + 1] && n[r + 2] && pp.test(n[r]) && pp.test(n[r + 2]) && (n[r] += n[r + 2], n.splice(r + 1, 2), r--);
66890
- return n;
66893
+ zp.tokenize = function(n) {
66894
+ for (var a = n.split(/([^\S\r\n]+|[()[\]{}'"\r\n]|\b)/), r = 0; r < a.length - 1; r++)
66895
+ !a[r + 1] && a[r + 2] && pp.test(a[r]) && pp.test(a[r + 2]) && (a[r] += a[r + 2], a.splice(r + 1, 2), r--);
66896
+ return a;
66891
66897
  };
66892
66898
  var $i = new ws();
66893
- $i.tokenize = function(a) {
66894
- this.options.stripTrailingCr && (a = a.replace(/\r\n/g, `
66899
+ $i.tokenize = function(n) {
66900
+ this.options.stripTrailingCr && (n = n.replace(/\r\n/g, `
66895
66901
  `));
66896
- var n = [], r = a.split(/(\n|\r\n)/);
66902
+ var a = [], r = n.split(/(\n|\r\n)/);
66897
66903
  r[r.length - 1] || r.pop();
66898
66904
  for (var o = 0; o < r.length; o++) {
66899
66905
  var c = r[o];
66900
- o % 2 && !this.options.newlineIsToken ? n[n.length - 1] += c : (this.options.ignoreWhitespace && (c = c.trim()), n.push(c));
66906
+ o % 2 && !this.options.newlineIsToken ? a[a.length - 1] += c : (this.options.ignoreWhitespace && (c = c.trim()), a.push(c));
66901
66907
  }
66902
- return n;
66908
+ return a;
66903
66909
  };
66904
- function jx(a, n, r) {
66905
- return $i.diff(a, n, r);
66910
+ function jx(n, a, r) {
66911
+ return $i.diff(n, a, r);
66906
66912
  }
66907
66913
  var Wx = new ws();
66908
- Wx.tokenize = function(a) {
66909
- return a.split(/(\S.+?[.!?])(?=\s+|$)/);
66914
+ Wx.tokenize = function(n) {
66915
+ return n.split(/(\S.+?[.!?])(?=\s+|$)/);
66910
66916
  };
66911
66917
  var Gx = new ws();
66912
- Gx.tokenize = function(a) {
66913
- return a.split(/([{}:;,]|\s+)/);
66918
+ Gx.tokenize = function(n) {
66919
+ return n.split(/([{}:;,]|\s+)/);
66914
66920
  };
66915
- function Ya(a) {
66921
+ function Ya(n) {
66916
66922
  "@babel/helpers - typeof";
66917
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ya = function(n) {
66918
- return typeof n;
66919
- } : Ya = function(n) {
66920
- return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
66921
- }, Ya(a);
66923
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Ya = function(a) {
66924
+ return typeof a;
66925
+ } : Ya = function(a) {
66926
+ return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a;
66927
+ }, Ya(n);
66922
66928
  }
66923
66929
  var Xx = Object.prototype.toString, Wr = new ws();
66924
66930
  Wr.useLongestToken = !0;
66925
66931
  Wr.tokenize = $i.tokenize;
66926
- Wr.castInput = function(a) {
66927
- var n = this.options, r = n.undefinedReplacement, o = n.stringifyReplacer, c = o === void 0 ? function(l, m) {
66932
+ Wr.castInput = function(n) {
66933
+ var a = this.options, r = a.undefinedReplacement, o = a.stringifyReplacer, c = o === void 0 ? function(l, m) {
66928
66934
  return typeof m > "u" ? r : m;
66929
66935
  } : o;
66930
- return typeof a == "string" ? a : JSON.stringify(Ni(a, null, null, c), c, " ");
66936
+ return typeof n == "string" ? n : JSON.stringify(Ni(n, null, null, c), c, " ");
66931
66937
  };
66932
- Wr.equals = function(a, n) {
66933
- return ws.prototype.equals.call(Wr, a.replace(/,([\r\n])/g, "$1"), n.replace(/,([\r\n])/g, "$1"));
66938
+ Wr.equals = function(n, a) {
66939
+ return ws.prototype.equals.call(Wr, n.replace(/,([\r\n])/g, "$1"), a.replace(/,([\r\n])/g, "$1"));
66934
66940
  };
66935
- function Ni(a, n, r, o, c) {
66936
- n = n || [], r = r || [], o && (a = o(c, a));
66941
+ function Ni(n, a, r, o, c) {
66942
+ a = a || [], r = r || [], o && (n = o(c, n));
66937
66943
  var l;
66938
- for (l = 0; l < n.length; l += 1)
66939
- if (n[l] === a)
66944
+ for (l = 0; l < a.length; l += 1)
66945
+ if (a[l] === n)
66940
66946
  return r[l];
66941
66947
  var m;
66942
- if (Xx.call(a) === "[object Array]") {
66943
- for (n.push(a), m = new Array(a.length), r.push(m), l = 0; l < a.length; l += 1)
66944
- m[l] = Ni(a[l], n, r, o, c);
66945
- return n.pop(), r.pop(), m;
66948
+ if (Xx.call(n) === "[object Array]") {
66949
+ for (a.push(n), m = new Array(n.length), r.push(m), l = 0; l < n.length; l += 1)
66950
+ m[l] = Ni(n[l], a, r, o, c);
66951
+ return a.pop(), r.pop(), m;
66946
66952
  }
66947
- if (a && a.toJSON && (a = a.toJSON()), Ya(a) === "object" && a !== null) {
66948
- n.push(a), m = {}, r.push(m);
66953
+ if (n && n.toJSON && (n = n.toJSON()), Ya(n) === "object" && n !== null) {
66954
+ a.push(n), m = {}, r.push(m);
66949
66955
  var _ = [], f;
66950
- for (f in a)
66951
- a.hasOwnProperty(f) && _.push(f);
66956
+ for (f in n)
66957
+ n.hasOwnProperty(f) && _.push(f);
66952
66958
  for (_.sort(), l = 0; l < _.length; l += 1)
66953
- f = _[l], m[f] = Ni(a[f], n, r, o, f);
66954
- n.pop(), r.pop();
66959
+ f = _[l], m[f] = Ni(n[f], a, r, o, f);
66960
+ a.pop(), r.pop();
66955
66961
  } else
66956
- m = a;
66962
+ m = n;
66957
66963
  return m;
66958
66964
  }
66959
66965
  var Si = new ws();
66960
- Si.tokenize = function(a) {
66961
- return a.slice();
66966
+ Si.tokenize = function(n) {
66967
+ return n.slice();
66962
66968
  };
66963
- Si.join = Si.removeEmpty = function(a) {
66964
- return a;
66969
+ Si.join = Si.removeEmpty = function(n) {
66970
+ return n;
66965
66971
  };
66966
66972
  class Yx {
66967
- constructor(n, r, o = "") {
66973
+ constructor(a, r, o = "") {
66968
66974
  Object.defineProperty(this, "_editor", {
66969
66975
  enumerable: !0,
66970
66976
  configurable: !0,
@@ -67005,41 +67011,41 @@ class Yx {
67005
67011
  configurable: !0,
67006
67012
  writable: !0,
67007
67013
  value: void 0
67008
- }), this._editor = n, this._monaco = r, this._originalModel = this._monaco.editor.createModel(o, Ee), this._oldDecorations = [], this._init(), this._eventListening();
67014
+ }), this._editor = a, this._monaco = r, this._originalModel = this._monaco.editor.createModel(o, Ee), this._oldDecorations = [], this._init(), this._eventListening();
67009
67015
  }
67010
67016
  _init() {
67011
- var n;
67012
- this._changeEvent(), this._didChangeListener = (n = this._editor.getModel()) == null ? void 0 : n.onDidChangeContent(() => this._changeEvent());
67017
+ var a;
67018
+ this._changeEvent(), this._didChangeListener = (a = this._editor.getModel()) == null ? void 0 : a.onDidChangeContent(() => this._changeEvent());
67013
67019
  }
67014
- update(n) {
67020
+ update(a) {
67015
67021
  var r, o;
67016
- if (this._originalModel = this._monaco.editor.createModel(n, Ee), n !== ((r = this._editor.getModel()) == null ? void 0 : r.getValue())) {
67022
+ if (this._originalModel = this._monaco.editor.createModel(a, Ee), a !== ((r = this._editor.getModel()) == null ? void 0 : r.getValue())) {
67017
67023
  this._changeEvent();
67018
67024
  return;
67019
67025
  }
67020
67026
  (o = this._editor.getModel()) == null || o.deltaDecorations(this._oldDecorations, []), this._oldDecorations = [];
67021
67027
  }
67022
67028
  dispose() {
67023
- var n, r, o, c;
67024
- this._diffPopupWidget && (this._diffPopupWidget.hide(), this._editor.removeOverlayWidget(this._diffPopupWidget)), (n = this._didChangeListener) == null || n.dispose(), (r = this._onMouseDownListener) == null || r.dispose(), (o = this._editor.getModel()) == null || o.deltaDecorations(this._oldDecorations, []), this._oldDecorations = [], (c = this._diffEditor) == null || c.dispose(), this._diffEditor = void 0;
67029
+ var a, r, o, c;
67030
+ this._diffPopupWidget && (this._diffPopupWidget.hide(), this._editor.removeOverlayWidget(this._diffPopupWidget)), (a = this._didChangeListener) == null || a.dispose(), (r = this._onMouseDownListener) == null || r.dispose(), (o = this._editor.getModel()) == null || o.deltaDecorations(this._oldDecorations, []), this._oldDecorations = [], (c = this._diffEditor) == null || c.dispose(), this._diffEditor = void 0;
67025
67031
  }
67026
- _changesHandle(n) {
67032
+ _changesHandle(a) {
67027
67033
  let r = 0, o;
67028
67034
  const c = [];
67029
67035
  let l = 0;
67030
- for (const m of n) {
67036
+ for (const m of a) {
67031
67037
  const { added: _, removed: f, count: b = 1, value: h } = m;
67032
67038
  _ ? o && o.removed ? (r = this._changeHandle(c, r, l, b, Ve.modified), l = 0, o = void 0) : (o && o.added && (r = this._changeHandle(c, r, l, o.count || 1, Ve.added), l = 0), o = m) : f ? o && o.added ? (r = this._changeHandle(c, r, l, o.count || 1, Ve.modified), l = 0, o = void 0) : (o && o.removed && this._addDecorationList(c, r, Ve.removed), o = m) : /^\n+$/.test(h) ? o && (o.added || o.removed) ? l = b : r += b : (o && o.added ? (r = this._changeHandle(c, r, l, o.count || 1, Ve.added), l = 0, o = void 0) : o && o.removed && (this._addDecorationList(c, r, Ve.removed), o = void 0), r += b);
67033
67039
  }
67034
67040
  return o && o.added ? r = this._changeHandle(c, r, l, o.count || 1, Ve.added) : o && o.removed && this._addDecorationList(c, r, Ve.removed), c;
67035
67041
  }
67036
- _changeHandle(n, r, o, c, l) {
67042
+ _changeHandle(a, r, o, c, l) {
67037
67043
  for (let m = 1; m <= c; m++)
67038
- this._addDecorationList(n, r + m, l);
67044
+ this._addDecorationList(a, r + m, l);
67039
67045
  return r += c + o, r;
67040
67046
  }
67041
- _addDecorationList(n, r, o) {
67042
- n.push({
67047
+ _addDecorationList(a, r, o) {
67048
+ a.push({
67043
67049
  range: new this._monaco.Range(r, 1, r, 1),
67044
67050
  options: {
67045
67051
  isWholeLine: !0,
@@ -67049,18 +67055,18 @@ class Yx {
67049
67055
  }
67050
67056
  _changeEvent() {
67051
67057
  var c, l;
67052
- const n = jx(this._originalModel.getValue(), ((c = this._editor.getModel()) == null ? void 0 : c.getValue()) || ""), r = this._changesHandle(n), o = ((l = this._editor.getModel()) == null ? void 0 : l.deltaDecorations(this._oldDecorations, r)) || [];
67058
+ const a = jx(this._originalModel.getValue(), ((c = this._editor.getModel()) == null ? void 0 : c.getValue()) || ""), r = this._changesHandle(a), o = ((l = this._editor.getModel()) == null ? void 0 : l.deltaDecorations(this._oldDecorations, r)) || [];
67053
67059
  this._oldDecorations = o;
67054
67060
  }
67055
67061
  _eventListening() {
67056
- const n = new $x("diff.popup.widget", this._editor);
67057
- this._editor.addOverlayWidget(n), this._onMouseDownListener = this._editor.onMouseDown((r) => this._onMouseDownHandle(r)), this._diffPopupWidget = n;
67062
+ const a = new $x("diff.popup.widget", this._editor);
67063
+ this._editor.addOverlayWidget(a), this._onMouseDownListener = this._editor.onMouseDown((r) => this._onMouseDownHandle(r)), this._diffPopupWidget = a;
67058
67064
  }
67059
- _onMouseDownHandle(n) {
67065
+ _onMouseDownHandle(a) {
67060
67066
  var m, _, f, b, h, T;
67061
- const r = (m = n.target.element) == null ? void 0 : m.classList, o = r == null ? void 0 : r.contains(`line-${Ve.added}`), c = r == null ? void 0 : r.contains(`line-${Ve.modified}`), l = r == null ? void 0 : r.contains(`line-${Ve.removed}`);
67067
+ const r = (m = a.target.element) == null ? void 0 : m.classList, o = r == null ? void 0 : r.contains(`line-${Ve.added}`), c = r == null ? void 0 : r.contains(`line-${Ve.modified}`), l = r == null ? void 0 : r.contains(`line-${Ve.removed}`);
67062
67068
  if (o || c || l) {
67063
- const P = ((f = (_ = n == null ? void 0 : n.target) == null ? void 0 : _.position) == null ? void 0 : f.lineNumber) || 0, B = ((b = this._editor) == null ? void 0 : b.getTopForLineNumber(P + 1)) || 0, O = ((h = this._editor) == null ? void 0 : h.getScrollTop()) || 0, N = o ? Ve.added : c ? Ve.modified : Ve.removed;
67069
+ const P = ((f = (_ = a == null ? void 0 : a.target) == null ? void 0 : _.position) == null ? void 0 : f.lineNumber) || 0, B = ((b = this._editor) == null ? void 0 : b.getTopForLineNumber(P + 1)) || 0, O = ((h = this._editor) == null ? void 0 : h.getScrollTop()) || 0, N = o ? Ve.added : c ? Ve.modified : Ve.removed;
67064
67070
  (T = this._diffPopupWidget) == null || T.show(B - O, B, N), this._diffEditor || (this._diffEditor = this._createDiffEditor()), this._diffEditor.setModel({
67065
67071
  original: this._originalModel,
67066
67072
  modified: this._editor.getModel()
@@ -67078,7 +67084,7 @@ class Yx {
67078
67084
  }
67079
67085
  }
67080
67086
  class Vx {
67081
- constructor(n, r, o) {
67087
+ constructor(a, r, o) {
67082
67088
  Object.defineProperty(this, "_editor", {
67083
67089
  enumerable: !0,
67084
67090
  configurable: !0,
@@ -67114,66 +67120,66 @@ class Vx {
67114
67120
  configurable: !0,
67115
67121
  writable: !0,
67116
67122
  value: void 0
67117
- }), this._editor = n, this._monaco = r, this._onActionTrigger = o, this._init();
67123
+ }), this._editor = a, this._monaco = r, this._onActionTrigger = o, this._init();
67118
67124
  }
67119
- addLinkOpenFunc(n) {
67120
- this._onLinkOpen = n;
67125
+ addLinkOpenFunc(a) {
67126
+ this._onLinkOpen = a;
67121
67127
  }
67122
- updateActionTrigger(n) {
67123
- this._onActionTrigger = n;
67128
+ updateActionTrigger(a) {
67129
+ this._onActionTrigger = a;
67124
67130
  }
67125
- setModelMarkers(n) {
67126
- this._monaco.editor.setModelMarkers(this._editor.getModel(), "owner", n);
67131
+ setModelMarkers(a) {
67132
+ this._monaco.editor.setModelMarkers(this._editor.getModel(), "owner", a);
67127
67133
  }
67128
67134
  addDiffDecorations() {
67129
67135
  this._decorations || (this._decorations = new Yx(this._editor, this._monaco, this._originalScript));
67130
67136
  }
67131
67137
  removeDiffDecorations() {
67132
- var n;
67133
- (n = this._decorations) == null || n.dispose(), this._decorations = void 0;
67138
+ var a;
67139
+ (a = this._decorations) == null || a.dispose(), this._decorations = void 0;
67134
67140
  }
67135
- setValue(n) {
67136
- this._editor.setValue(n), this._editor.setScrollTop(0), this.focus();
67141
+ setValue(a) {
67142
+ this._editor.setValue(a), this._editor.setScrollTop(0), this.focus();
67137
67143
  }
67138
- setPosition(n) {
67144
+ setPosition(a) {
67139
67145
  var r, o;
67140
- (r = this._editor) == null || r.setPosition(n), (o = this._editor) == null || o.revealPositionInCenter(n), this.focus();
67146
+ (r = this._editor) == null || r.setPosition(a), (o = this._editor) == null || o.revealPositionInCenter(a), this.focus();
67141
67147
  }
67142
67148
  focus() {
67143
- var n;
67144
- (n = this._editor) == null || n.focus();
67149
+ var a;
67150
+ (a = this._editor) == null || a.focus();
67145
67151
  }
67146
- setOriginalScript(n) {
67152
+ setOriginalScript(a) {
67147
67153
  var r;
67148
- this._originalScript = n, (r = this._decorations) == null || r.update(n);
67154
+ this._originalScript = a, (r = this._decorations) == null || r.update(a);
67149
67155
  }
67150
67156
  getEditorLayout() {
67151
67157
  var o;
67152
- const n = this._editor.getContentHeight(), r = (o = this._editor.getModel()) == null ? void 0 : o.getLineCount();
67158
+ const a = this._editor.getContentHeight(), r = (o = this._editor.getModel()) == null ? void 0 : o.getLineCount();
67153
67159
  return {
67154
- contentHeight: n,
67160
+ contentHeight: a,
67155
67161
  lineCount: r
67156
67162
  };
67157
67163
  }
67158
- setEditorLayout(n, r) {
67164
+ setEditorLayout(a, r) {
67159
67165
  var o, c;
67160
- (c = this._editor) == null || c.layout({ height: n, width: r || ((o = this._editor) == null ? void 0 : o.getContainerDomNode().clientWidth) });
67166
+ (c = this._editor) == null || c.layout({ height: a, width: r || ((o = this._editor) == null ? void 0 : o.getContainerDomNode().clientWidth) });
67161
67167
  }
67162
67168
  _init() {
67163
67169
  this._register(), this._setOptions(), this._addCommands(), this._addActions(), this._setCursorPosition(), this._onTabSizeChange();
67164
67170
  }
67165
67171
  _onTabSizeChange() {
67166
- const n = this._editor.getModel();
67167
- n == null || n.onDidChangeOptions((r) => {
67172
+ const a = this._editor.getModel();
67173
+ a == null || a.onDidChangeOptions((r) => {
67168
67174
  if (r.tabSize && !r.indentSize) {
67169
- const o = (n == null ? void 0 : n.getOptions().tabSize) || 4;
67170
- n == null || n.updateOptions({ indentSize: o });
67175
+ const o = (a == null ? void 0 : a.getOptions().tabSize) || 4;
67176
+ a == null || a.updateOptions({ indentSize: o });
67171
67177
  }
67172
67178
  });
67173
67179
  }
67174
67180
  _setCursorPosition() {
67175
- const n = localStorage.getItem(Ai);
67176
- this._editor.setPosition(n ? JSON.parse(n) : { lineNumber: 1, column: 1 }), this._editor.focus();
67181
+ const a = localStorage.getItem(Ai);
67182
+ this._editor.setPosition(a ? JSON.parse(a) : { lineNumber: 1, column: 1 }), this._editor.focus();
67177
67183
  }
67178
67184
  _register() {
67179
67185
  this._monaco.languages.register({
@@ -67191,8 +67197,8 @@ class Vx {
67191
67197
  provideColorPresentations: Ox,
67192
67198
  provideDocumentColors: Px
67193
67199
  }), this._monaco.editor.registerEditorOpener({
67194
- openCodeEditor: (n, r, o) => {
67195
- const c = Fx(n, o);
67200
+ openCodeEditor: (a, r, o) => {
67201
+ const c = Fx(a, o);
67196
67202
  if (c) {
67197
67203
  const { index: l, docValue: m } = c, { title: _, name: f } = m[l];
67198
67204
  let b = "";
@@ -67218,7 +67224,7 @@ class Vx {
67218
67224
  return !0;
67219
67225
  }
67220
67226
  }), this._monaco.editor.registerLinkOpener({
67221
- open: (n) => (this._onLinkOpen && n.fragment && this._onLinkOpen(n.fragment), !!n.fragment)
67227
+ open: (a) => (this._onLinkOpen && a.fragment && this._onLinkOpen(a.fragment), !!a.fragment)
67222
67228
  }), this._monaco.languages.registerDefinitionProvider(Ee, {
67223
67229
  provideDefinition: Rx
67224
67230
  }), this._monaco.languages.registerInlayHintsProvider(Ee, {
@@ -67231,7 +67237,7 @@ class Vx {
67231
67237
  _addCommands() {
67232
67238
  this._monaco.editor.addCommand({
67233
67239
  id: "tcc.editor.function",
67234
- run: (n, r) => {
67240
+ run: (a, r) => {
67235
67241
  var o;
67236
67242
  if (Kt.nextIsBracket) {
67237
67243
  const c = this._editor.getPosition();
@@ -67311,56 +67317,60 @@ class Vx {
67311
67317
  gotoLine() {
67312
67318
  this.focus(), this._editor.trigger("click", "editor.action.gotoLine", null);
67313
67319
  }
67314
- onChangeCursorPosition(n) {
67320
+ onChangeCursorPosition(a) {
67315
67321
  this._changPositionListener && this._changPositionListener.dispose();
67316
67322
  const r = localStorage.getItem(Ai);
67317
- n && n(r ? JSON.parse(r) : { lineNumber: 1, column: 1 }), this._changPositionListener = this._editor.onDidChangeCursorPosition((o) => {
67318
- localStorage.setItem(Ai, JSON.stringify(o.position)), n && n(o.position);
67323
+ a && a(r ? JSON.parse(r) : { lineNumber: 1, column: 1 }), this._changPositionListener = this._editor.onDidChangeCursorPosition((o) => {
67324
+ localStorage.setItem(Ai, JSON.stringify(o.position)), a && a(o.position);
67319
67325
  });
67320
67326
  }
67327
+ dispose() {
67328
+ var a;
67329
+ (a = this._editor) == null || a.dispose();
67330
+ }
67321
67331
  }
67322
67332
  /**
67323
67333
  * @license
67324
67334
  * Copyright 2019 Google LLC
67325
67335
  * SPDX-License-Identifier: Apache-2.0
67326
67336
  */
67327
- const Ep = Symbol("Comlink.proxy"), Qx = Symbol("Comlink.endpoint"), Zx = Symbol("Comlink.releaseProxy"), qi = Symbol("Comlink.finalizer"), Va = Symbol("Comlink.thrown"), Np = (a) => typeof a == "object" && a !== null || typeof a == "function", Jx = {
67328
- canHandle: (a) => Np(a) && a[Ep],
67329
- serialize(a) {
67330
- const { port1: n, port2: r } = new MessageChannel();
67331
- return Lp(a, n), [r, [r]];
67337
+ const Ep = Symbol("Comlink.proxy"), Qx = Symbol("Comlink.endpoint"), Zx = Symbol("Comlink.releaseProxy"), qi = Symbol("Comlink.finalizer"), Va = Symbol("Comlink.thrown"), Np = (n) => typeof n == "object" && n !== null || typeof n == "function", Jx = {
67338
+ canHandle: (n) => Np(n) && n[Ep],
67339
+ serialize(n) {
67340
+ const { port1: a, port2: r } = new MessageChannel();
67341
+ return Lp(n, a), [r, [r]];
67332
67342
  },
67333
- deserialize(a) {
67334
- return a.start(), Hi(a);
67343
+ deserialize(n) {
67344
+ return n.start(), Hi(n);
67335
67345
  }
67336
67346
  }, eh = {
67337
- canHandle: (a) => Np(a) && Va in a,
67338
- serialize({ value: a }) {
67339
- let n;
67340
- return a instanceof Error ? n = {
67347
+ canHandle: (n) => Np(n) && Va in n,
67348
+ serialize({ value: n }) {
67349
+ let a;
67350
+ return n instanceof Error ? a = {
67341
67351
  isError: !0,
67342
67352
  value: {
67343
- message: a.message,
67344
- name: a.name,
67345
- stack: a.stack
67353
+ message: n.message,
67354
+ name: n.name,
67355
+ stack: n.stack
67346
67356
  }
67347
- } : n = { isError: !1, value: a }, [n, []];
67357
+ } : a = { isError: !1, value: n }, [a, []];
67348
67358
  },
67349
- deserialize(a) {
67350
- throw a.isError ? Object.assign(new Error(a.value.message), a.value) : a.value;
67359
+ deserialize(n) {
67360
+ throw n.isError ? Object.assign(new Error(n.value.message), n.value) : n.value;
67351
67361
  }
67352
67362
  }, Sp = /* @__PURE__ */ new Map([
67353
67363
  ["proxy", Jx],
67354
67364
  ["throw", eh]
67355
67365
  ]);
67356
- function th(a, n) {
67357
- for (const r of a)
67358
- if (n === r || r === "*" || r instanceof RegExp && r.test(n))
67366
+ function th(n, a) {
67367
+ for (const r of n)
67368
+ if (a === r || r === "*" || r instanceof RegExp && r.test(a))
67359
67369
  return !0;
67360
67370
  return !1;
67361
67371
  }
67362
- function Lp(a, n = globalThis, r = ["*"]) {
67363
- n.addEventListener("message", function o(c) {
67372
+ function Lp(n, a = globalThis, r = ["*"]) {
67373
+ a.addEventListener("message", function o(c) {
67364
67374
  if (!c || !c.data)
67365
67375
  return;
67366
67376
  if (!th(r, c.origin)) {
@@ -67370,7 +67380,7 @@ function Lp(a, n = globalThis, r = ["*"]) {
67370
67380
  const { id: l, type: m, path: _ } = Object.assign({ path: [] }, c.data), f = (c.data.argumentList || []).map(Ms);
67371
67381
  let b;
67372
67382
  try {
67373
- const h = _.slice(0, -1).reduce((P, B) => P[B], a), T = _.reduce((P, B) => P[B], a);
67383
+ const h = _.slice(0, -1).reduce((P, B) => P[B], n), T = _.reduce((P, B) => P[B], n);
67374
67384
  switch (m) {
67375
67385
  case "GET":
67376
67386
  b = T;
@@ -67390,7 +67400,7 @@ function Lp(a, n = globalThis, r = ["*"]) {
67390
67400
  case "ENDPOINT":
67391
67401
  {
67392
67402
  const { port1: P, port2: B } = new MessageChannel();
67393
- Lp(a, B), b = ih(P, [P]);
67403
+ Lp(n, B), b = ih(P, [P]);
67394
67404
  }
67395
67405
  break;
67396
67406
  case "RELEASE":
@@ -67404,126 +67414,126 @@ function Lp(a, n = globalThis, r = ["*"]) {
67404
67414
  }
67405
67415
  Promise.resolve(b).catch((h) => ({ value: h, [Va]: 0 })).then((h) => {
67406
67416
  const [T, P] = sn(h);
67407
- n.postMessage(Object.assign(Object.assign({}, T), { id: l }), P), m === "RELEASE" && (n.removeEventListener("message", o), Mp(n), qi in a && typeof a[qi] == "function" && a[qi]());
67417
+ a.postMessage(Object.assign(Object.assign({}, T), { id: l }), P), m === "RELEASE" && (a.removeEventListener("message", o), Mp(a), qi in n && typeof n[qi] == "function" && n[qi]());
67408
67418
  }).catch((h) => {
67409
67419
  const [T, P] = sn({
67410
67420
  value: new TypeError("Unserializable return value"),
67411
67421
  [Va]: 0
67412
67422
  });
67413
- n.postMessage(Object.assign(Object.assign({}, T), { id: l }), P);
67423
+ a.postMessage(Object.assign(Object.assign({}, T), { id: l }), P);
67414
67424
  });
67415
- }), n.start && n.start();
67425
+ }), a.start && a.start();
67416
67426
  }
67417
- function sh(a) {
67418
- return a.constructor.name === "MessagePort";
67427
+ function sh(n) {
67428
+ return n.constructor.name === "MessagePort";
67419
67429
  }
67420
- function Mp(a) {
67421
- sh(a) && a.close();
67430
+ function Mp(n) {
67431
+ sh(n) && n.close();
67422
67432
  }
67423
- function Hi(a, n) {
67424
- return Li(a, [], n);
67433
+ function Hi(n, a) {
67434
+ return Li(n, [], a);
67425
67435
  }
67426
- function Ga(a) {
67427
- if (a)
67436
+ function Ga(n) {
67437
+ if (n)
67428
67438
  throw new Error("Proxy has been released and is not useable");
67429
67439
  }
67430
- function Pp(a) {
67431
- return nr(a, {
67440
+ function Pp(n) {
67441
+ return nr(n, {
67432
67442
  type: "RELEASE"
67433
67443
  }).then(() => {
67434
- Mp(a);
67444
+ Mp(n);
67435
67445
  });
67436
67446
  }
67437
- const en = /* @__PURE__ */ new WeakMap(), tn = "FinalizationRegistry" in globalThis && new FinalizationRegistry((a) => {
67438
- const n = (en.get(a) || 0) - 1;
67439
- en.set(a, n), n === 0 && Pp(a);
67447
+ const en = /* @__PURE__ */ new WeakMap(), tn = "FinalizationRegistry" in globalThis && new FinalizationRegistry((n) => {
67448
+ const a = (en.get(n) || 0) - 1;
67449
+ en.set(n, a), a === 0 && Pp(n);
67440
67450
  });
67441
- function rh(a, n) {
67442
- const r = (en.get(n) || 0) + 1;
67443
- en.set(n, r), tn && tn.register(a, n, a);
67451
+ function rh(n, a) {
67452
+ const r = (en.get(a) || 0) + 1;
67453
+ en.set(a, r), tn && tn.register(n, a, n);
67444
67454
  }
67445
- function ah(a) {
67446
- tn && tn.unregister(a);
67455
+ function ah(n) {
67456
+ tn && tn.unregister(n);
67447
67457
  }
67448
- function Li(a, n = [], r = function() {
67458
+ function Li(n, a = [], r = function() {
67449
67459
  }) {
67450
67460
  let o = !1;
67451
67461
  const c = new Proxy(r, {
67452
67462
  get(l, m) {
67453
67463
  if (Ga(o), m === Zx)
67454
67464
  return () => {
67455
- ah(c), Pp(a), o = !0;
67465
+ ah(c), Pp(n), o = !0;
67456
67466
  };
67457
67467
  if (m === "then") {
67458
- if (n.length === 0)
67468
+ if (a.length === 0)
67459
67469
  return { then: () => c };
67460
- const _ = nr(a, {
67470
+ const _ = nr(n, {
67461
67471
  type: "GET",
67462
- path: n.map((f) => f.toString())
67472
+ path: a.map((f) => f.toString())
67463
67473
  }).then(Ms);
67464
67474
  return _.then.bind(_);
67465
67475
  }
67466
- return Li(a, [...n, m]);
67476
+ return Li(n, [...a, m]);
67467
67477
  },
67468
67478
  set(l, m, _) {
67469
67479
  Ga(o);
67470
67480
  const [f, b] = sn(_);
67471
- return nr(a, {
67481
+ return nr(n, {
67472
67482
  type: "SET",
67473
- path: [...n, m].map((h) => h.toString()),
67483
+ path: [...a, m].map((h) => h.toString()),
67474
67484
  value: f
67475
67485
  }, b).then(Ms);
67476
67486
  },
67477
67487
  apply(l, m, _) {
67478
67488
  Ga(o);
67479
- const f = n[n.length - 1];
67489
+ const f = a[a.length - 1];
67480
67490
  if (f === Qx)
67481
- return nr(a, {
67491
+ return nr(n, {
67482
67492
  type: "ENDPOINT"
67483
67493
  }).then(Ms);
67484
67494
  if (f === "bind")
67485
- return Li(a, n.slice(0, -1));
67495
+ return Li(n, a.slice(0, -1));
67486
67496
  const [b, h] = mp(_);
67487
- return nr(a, {
67497
+ return nr(n, {
67488
67498
  type: "APPLY",
67489
- path: n.map((T) => T.toString()),
67499
+ path: a.map((T) => T.toString()),
67490
67500
  argumentList: b
67491
67501
  }, h).then(Ms);
67492
67502
  },
67493
67503
  construct(l, m) {
67494
67504
  Ga(o);
67495
67505
  const [_, f] = mp(m);
67496
- return nr(a, {
67506
+ return nr(n, {
67497
67507
  type: "CONSTRUCT",
67498
- path: n.map((b) => b.toString()),
67508
+ path: a.map((b) => b.toString()),
67499
67509
  argumentList: _
67500
67510
  }, f).then(Ms);
67501
67511
  }
67502
67512
  });
67503
- return rh(c, a), c;
67513
+ return rh(c, n), c;
67504
67514
  }
67505
- function nh(a) {
67506
- return Array.prototype.concat.apply([], a);
67515
+ function nh(n) {
67516
+ return Array.prototype.concat.apply([], n);
67507
67517
  }
67508
- function mp(a) {
67509
- const n = a.map(sn);
67510
- return [n.map((r) => r[0]), nh(n.map((r) => r[1]))];
67518
+ function mp(n) {
67519
+ const a = n.map(sn);
67520
+ return [a.map((r) => r[0]), nh(a.map((r) => r[1]))];
67511
67521
  }
67512
67522
  const Op = /* @__PURE__ */ new WeakMap();
67513
- function ih(a, n) {
67514
- return Op.set(a, n), a;
67523
+ function ih(n, a) {
67524
+ return Op.set(n, a), n;
67515
67525
  }
67516
- function ji(a) {
67517
- return Object.assign(a, { [Ep]: !0 });
67526
+ function ji(n) {
67527
+ return Object.assign(n, { [Ep]: !0 });
67518
67528
  }
67519
- function sn(a) {
67520
- for (const [n, r] of Sp)
67521
- if (r.canHandle(a)) {
67522
- const [o, c] = r.serialize(a);
67529
+ function sn(n) {
67530
+ for (const [a, r] of Sp)
67531
+ if (r.canHandle(n)) {
67532
+ const [o, c] = r.serialize(n);
67523
67533
  return [
67524
67534
  {
67525
67535
  type: "HANDLER",
67526
- name: n,
67536
+ name: a,
67527
67537
  value: o
67528
67538
  },
67529
67539
  c
@@ -67532,57 +67542,57 @@ function sn(a) {
67532
67542
  return [
67533
67543
  {
67534
67544
  type: "RAW",
67535
- value: a
67545
+ value: n
67536
67546
  },
67537
- Op.get(a) || []
67547
+ Op.get(n) || []
67538
67548
  ];
67539
67549
  }
67540
- function Ms(a) {
67541
- switch (a.type) {
67550
+ function Ms(n) {
67551
+ switch (n.type) {
67542
67552
  case "HANDLER":
67543
- return Sp.get(a.name).deserialize(a.value);
67553
+ return Sp.get(n.name).deserialize(n.value);
67544
67554
  case "RAW":
67545
- return a.value;
67555
+ return n.value;
67546
67556
  }
67547
67557
  }
67548
- function nr(a, n, r) {
67558
+ function nr(n, a, r) {
67549
67559
  return new Promise((o) => {
67550
67560
  const c = oh();
67551
- a.addEventListener("message", function l(m) {
67552
- !m.data || !m.data.id || m.data.id !== c || (a.removeEventListener("message", l), o(m.data));
67553
- }), a.start && a.start(), a.postMessage(Object.assign({ id: c }, n), r);
67561
+ n.addEventListener("message", function l(m) {
67562
+ !m.data || !m.data.id || m.data.id !== c || (n.removeEventListener("message", l), o(m.data));
67563
+ }), n.start && n.start(), n.postMessage(Object.assign({ id: c }, a), r);
67554
67564
  });
67555
67565
  }
67556
67566
  function oh() {
67557
67567
  return new Array(4).fill(0).map(() => Math.floor(Math.random() * Number.MAX_SAFE_INTEGER).toString(16)).join("-");
67558
67568
  }
67559
- const Fp = new Worker(new URL("" + new URL("assets/scriptsRunWorker-gOaiI2Kb.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run TccScript Server" });
67560
- Fp.onerror = (a) => {
67561
- console.error(a);
67569
+ const Fp = new Worker(new URL("" + new URL("assets/scriptsRunWorker-C9KtHX5_.js", import.meta.url).href, import.meta.url), { type: "module", name: "Run TccScript Server" });
67570
+ Fp.onerror = (n) => {
67571
+ console.error(n);
67562
67572
  };
67563
- async function Rp(a) {
67564
- return await Ja.setInlayHints(a);
67573
+ async function Rp(n) {
67574
+ return await Ja.setInlayHints(n);
67565
67575
  }
67566
67576
  const Bp = Hi(Fp), Kp = Hi(new Worker(new URL("" + new URL("assets/parserTccWorker-CILIfaWz.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser TccScript Server" }));
67567
- async function lh(a, n = !1) {
67577
+ async function lh(n, a = !1) {
67568
67578
  const { functions: r, types: o, constants: c, variables: l, methods: m } = xt;
67569
- return await Kp.parseTcc(a, n, ji(Rp), { functions: Object.fromEntries(r), methods: Object.fromEntries(m), types: Object.fromEntries(o), constants: Object.fromEntries(c), variables: Object.fromEntries(l) });
67579
+ return await Kp.parseTcc(n, a, ji(Rp), { functions: Object.fromEntries(r), methods: Object.fromEntries(m), types: Object.fromEntries(o), constants: Object.fromEntries(c), variables: Object.fromEntries(l) });
67570
67580
  }
67571
- async function Oh(a, n) {
67581
+ async function Oh(n, a) {
67572
67582
  const { functions: r, types: o, constants: c, variables: l, methods: m } = xt;
67573
- return await Kp.parseLibraryCode(a, n, ji(Rp), { functions: Object.fromEntries(r), methods: Object.fromEntries(m), types: Object.fromEntries(o), constants: Object.fromEntries(c), variables: Object.fromEntries(l) });
67583
+ return await Kp.parseLibraryCode(n, a, ji(Rp), { functions: Object.fromEntries(r), methods: Object.fromEntries(m), types: Object.fromEntries(o), constants: Object.fromEntries(c), variables: Object.fromEntries(l) });
67574
67584
  }
67575
- async function ch(a, n, r = !0) {
67576
- return await Bp.runScript(a, n, r);
67585
+ async function ch(n, a, r = !0) {
67586
+ return await Bp.runScript(n, a, r);
67577
67587
  }
67578
- async function Fh(a) {
67579
- return await Bp.removeScript(a);
67588
+ async function Fh(n) {
67589
+ return await Bp.removeScript(n);
67580
67590
  }
67581
- function ph(a) {
67591
+ function ph(n) {
67582
67592
  return new Worker(
67583
67593
  "" + new URL("assets/editor.worker-CT5Cb1wO.js", import.meta.url).href,
67584
67594
  {
67585
- name: a == null ? void 0 : a.name
67595
+ name: n == null ? void 0 : n.name
67586
67596
  }
67587
67597
  );
67588
67598
  }
@@ -67600,9 +67610,9 @@ Ri.config({
67600
67610
  "vs/nls": { availableLanguages: { "*": "zh-cn" } }
67601
67611
  });
67602
67612
  let up = {};
67603
- const dh = (a, n) => {
67604
- const { height: r, width: o, theme: c, options: l, hasDiff: m, readOnly: _, defaultValue: f, onChange: b, onLinkOpen: h, onDeclareConfigChange: T, onCursorPositionChange: P, onActionTrigger: B, onEditorDidMount: O } = a, N = Me(null), $ = Me(null);
67605
- hp(n, () => ({
67613
+ const dh = (n, a) => {
67614
+ const { height: r, width: o, theme: c, options: l, hasDiff: m, readOnly: _, defaultValue: f, onChange: b, onLinkOpen: h, onDeclareConfigChange: T, onCursorPositionChange: P, onActionTrigger: B, onEditorDidMount: O } = n, N = Me(null), $ = Me(null);
67615
+ hp(a, () => ({
67606
67616
  setOriginalScript(z) {
67607
67617
  var R;
67608
67618
  (R = N.current) == null || R.setOriginalScript(z);
@@ -67620,8 +67630,8 @@ const dh = (a, n) => {
67620
67630
  return (z = N.current) == null ? void 0 : z.getEditorLayout();
67621
67631
  },
67622
67632
  setPosition(z, R) {
67623
- var J;
67624
- (J = N.current) == null || J.setPosition({ column: z, lineNumber: R });
67633
+ var V;
67634
+ (V = N.current) == null || V.setPosition({ column: z, lineNumber: R });
67625
67635
  },
67626
67636
  setModelMarkers(z) {
67627
67637
  var R;
@@ -67644,12 +67654,12 @@ const dh = (a, n) => {
67644
67654
  function G(z, R) {
67645
67655
  var ye, ie;
67646
67656
  Kt.initBuiltinsTrees(), Ja.setEditor(z), N.current = new Vx(z, R, B), h && ((ye = N.current) == null || ye.addLinkOpenFunc(h)), m && ((ie = N.current) == null || ie.addDiffDecorations()), vx(z), requestAnimationFrame(M);
67647
- const J = z.getValue();
67648
- N.current.onChangeCursorPosition(P), b && b(J), !_ && j(J), O && O();
67657
+ const V = z.getValue();
67658
+ N.current.onChangeCursorPosition(P), b && b(V), !_ && j(V), O && O();
67649
67659
  }
67650
67660
  const j = lr(async (z) => {
67651
67661
  var Ke;
67652
- const R = Date.now(), { errors: J, functions: ye, methods: ie, types: ht, variables: Nt, overloadsFuncs: Re, imports: Be, preParserCode: X, enums: _e } = await lh(z), qe = new Map(Object.entries(ye)), Ne = new Map(Object.entries(ie)), ct = new Map(Object.entries(ht)), wt = new Map(Object.entries(Nt)), ee = new Map(Object.entries(Be)), fe = new Map(Object.entries(_e));
67662
+ const R = Date.now(), { errors: V, functions: ye, methods: ie, types: ht, variables: Nt, overloadsFuncs: Re, imports: Be, preParserCode: X, enums: _e } = await lh(z), qe = new Map(Object.entries(ye)), Ne = new Map(Object.entries(ie)), ct = new Map(Object.entries(ht)), wt = new Map(Object.entries(Nt)), ee = new Map(Object.entries(Be)), fe = new Map(Object.entries(_e));
67653
67663
  Ps.setUserDefined({
67654
67664
  functions: qe,
67655
67665
  methods: Ne,
@@ -67658,21 +67668,21 @@ const dh = (a, n) => {
67658
67668
  imports: ee,
67659
67669
  enums: fe
67660
67670
  }, Re), Kt.setUserDefind(qe, ct, wt, Ne, fe);
67661
- const Pe = J.map((Ue) => ({
67671
+ const Pe = V.map((Ue) => ({
67662
67672
  ...Ue,
67663
67673
  severity: Ue.type || tb.Error
67664
67674
  }));
67665
67675
  if (_)
67666
67676
  return;
67667
67677
  try {
67668
- if (!J.length && X) {
67678
+ if (!V.length && X) {
67669
67679
  const Ue = await ch(X, {
67670
67680
  isPreParser: !0
67671
67681
  });
67672
67682
  Cc.isEqual(Ue, up) || (up = Ue, T && T(Ue));
67673
67683
  }
67674
67684
  } catch (Ue) {
67675
- console.log(Ue), J.push({
67685
+ console.log(Ue), V.push({
67676
67686
  message: Ue.message,
67677
67687
  startLineNumber: 0,
67678
67688
  endLineNumber: 0,
@@ -67693,16 +67703,17 @@ const dh = (a, n) => {
67693
67703
  Ja.clearInlayHints(), (R = N.current) == null || R.setModelMarkers([]), z !== void 0 && (b && b(z), F(z));
67694
67704
  }
67695
67705
  const M = lr(() => {
67696
- var R, J;
67706
+ var R, V;
67697
67707
  const z = (R = $.current) == null ? void 0 : R.getBoundingClientRect();
67698
- (J = N.current) == null || J.setEditorLayout((z == null ? void 0 : z.height) || 0, z == null ? void 0 : z.width);
67708
+ (V = N.current) == null || V.setEditorLayout((z == null ? void 0 : z.height) || 0, z == null ? void 0 : z.width);
67699
67709
  }, []);
67700
67710
  return Qe(() => {
67701
67711
  const z = () => {
67702
67712
  window.requestAnimationFrame(M);
67703
67713
  }, R = new ResizeObserver(z);
67704
67714
  return $.current && R.observe($.current), () => {
67705
- $.current && R.unobserve($.current), R.disconnect();
67715
+ var V;
67716
+ $.current && R.unobserve($.current), R.disconnect(), (V = N.current) == null || V.dispose();
67706
67717
  };
67707
67718
  }, []), L.jsx("div", { ref: $, children: L.jsx(dx, { height: r, width: o || "100%", defaultLanguage: Ee, defaultValue: f || `indicator("我的脚本")
67708
67719
  plot(close)
@@ -67722,65 +67733,65 @@ plot(close)
67722
67733
  },
67723
67734
  ...l
67724
67735
  }, onMount: G, onChange: I }) });
67725
- }, Rh = xp(dh), Bh = (a) => {
67726
- const { theme: n, modified: r, original: o, height: c, width: l, renderSideBySide: m = !0 } = a, _ = lr((f, b) => {
67736
+ }, Rh = xp(dh), Bh = (n) => {
67737
+ const { theme: a, modified: r, original: o, height: c, width: l, renderSideBySide: m = !0 } = n, _ = lr((f, b) => {
67727
67738
  b.languages.register({
67728
67739
  id: Ee
67729
67740
  }), b.editor.defineTheme("vs-dark", Ui), b.editor.defineTheme("vs", Ki), b.languages.setMonarchTokensProvider(Ee, or), b.languages.setLanguageConfiguration(Ee, Bi);
67730
67741
  }, []);
67731
- return L.jsx(ix, { height: c || "90vh", width: l || "100%", theme: n || "vs-dark", options: {
67742
+ return L.jsx(ix, { height: c || "90vh", width: l || "100%", theme: a || "vs-dark", options: {
67732
67743
  readOnly: !0,
67733
67744
  renderSideBySide: m,
67734
67745
  scrollBeyondLastLine: !1
67735
67746
  }, language: Ee, modified: r, original: o, onMount: _ });
67736
67747
  };
67737
67748
  var yp;
67738
- (function(a) {
67739
- a[a.Hint = 1] = "Hint", a[a.Info = 2] = "Info", a[a.Warning = 4] = "Warning", a[a.Error = 8] = "Error";
67749
+ (function(n) {
67750
+ n[n.Hint = 1] = "Hint", n[n.Info = 2] = "Info", n[n.Warning = 4] = "Warning", n[n.Error = 8] = "Error";
67740
67751
  })(yp || (yp = {}));
67741
67752
  var nn = {}, mh = function() {
67742
- var a = document.getSelection();
67743
- if (!a.rangeCount)
67753
+ var n = document.getSelection();
67754
+ if (!n.rangeCount)
67744
67755
  return function() {
67745
67756
  };
67746
- for (var n = document.activeElement, r = [], o = 0; o < a.rangeCount; o++)
67747
- r.push(a.getRangeAt(o));
67748
- switch (n.tagName.toUpperCase()) {
67757
+ for (var a = document.activeElement, r = [], o = 0; o < n.rangeCount; o++)
67758
+ r.push(n.getRangeAt(o));
67759
+ switch (a.tagName.toUpperCase()) {
67749
67760
  case "INPUT":
67750
67761
  case "TEXTAREA":
67751
- n.blur();
67762
+ a.blur();
67752
67763
  break;
67753
67764
  default:
67754
- n = null;
67765
+ a = null;
67755
67766
  break;
67756
67767
  }
67757
- return a.removeAllRanges(), function() {
67758
- a.type === "Caret" && a.removeAllRanges(), a.rangeCount || r.forEach(function(c) {
67759
- a.addRange(c);
67760
- }), n && n.focus();
67768
+ return n.removeAllRanges(), function() {
67769
+ n.type === "Caret" && n.removeAllRanges(), n.rangeCount || r.forEach(function(c) {
67770
+ n.addRange(c);
67771
+ }), a && a.focus();
67761
67772
  };
67762
67773
  }, uh = mh, _p = {
67763
67774
  "text/plain": "Text",
67764
67775
  "text/html": "Url",
67765
67776
  default: "Text"
67766
67777
  }, yh = "Copy to clipboard: #{key}, Enter";
67767
- function _h(a) {
67768
- var n = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
67769
- return a.replace(/#{\s*key\s*}/g, n);
67778
+ function _h(n) {
67779
+ var a = (/mac os x/i.test(navigator.userAgent) ? "⌘" : "Ctrl") + "+C";
67780
+ return n.replace(/#{\s*key\s*}/g, a);
67770
67781
  }
67771
- function fh(a, n) {
67782
+ function fh(n, a) {
67772
67783
  var r, o, c, l, m, _, f = !1;
67773
- n || (n = {}), r = n.debug || !1;
67784
+ a || (a = {}), r = a.debug || !1;
67774
67785
  try {
67775
- c = uh(), l = document.createRange(), m = document.getSelection(), _ = document.createElement("span"), _.textContent = a, _.ariaHidden = "true", _.style.all = "unset", _.style.position = "fixed", _.style.top = 0, _.style.clip = "rect(0, 0, 0, 0)", _.style.whiteSpace = "pre", _.style.webkitUserSelect = "text", _.style.MozUserSelect = "text", _.style.msUserSelect = "text", _.style.userSelect = "text", _.addEventListener("copy", function(h) {
67776
- if (h.stopPropagation(), n.format)
67786
+ c = uh(), l = document.createRange(), m = document.getSelection(), _ = document.createElement("span"), _.textContent = n, _.ariaHidden = "true", _.style.all = "unset", _.style.position = "fixed", _.style.top = 0, _.style.clip = "rect(0, 0, 0, 0)", _.style.whiteSpace = "pre", _.style.webkitUserSelect = "text", _.style.MozUserSelect = "text", _.style.msUserSelect = "text", _.style.userSelect = "text", _.addEventListener("copy", function(h) {
67787
+ if (h.stopPropagation(), a.format)
67777
67788
  if (h.preventDefault(), typeof h.clipboardData > "u") {
67778
67789
  r && console.warn("unable to use e.clipboardData"), r && console.warn("trying IE specific stuff"), window.clipboardData.clearData();
67779
- var T = _p[n.format] || _p.default;
67780
- window.clipboardData.setData(T, a);
67790
+ var T = _p[a.format] || _p.default;
67791
+ window.clipboardData.setData(T, n);
67781
67792
  } else
67782
- h.clipboardData.clearData(), h.clipboardData.setData(n.format, a);
67783
- n.onCopy && (h.preventDefault(), n.onCopy(h.clipboardData));
67793
+ h.clipboardData.clearData(), h.clipboardData.setData(a.format, n);
67794
+ a.onCopy && (h.preventDefault(), a.onCopy(h.clipboardData));
67784
67795
  }), document.body.appendChild(_), l.selectNodeContents(_), m.addRange(l);
67785
67796
  var b = document.execCommand("copy");
67786
67797
  if (!b)
@@ -67789,9 +67800,9 @@ function fh(a, n) {
67789
67800
  } catch (h) {
67790
67801
  r && console.error("unable to copy using execCommand: ", h), r && console.warn("trying IE specific stuff");
67791
67802
  try {
67792
- window.clipboardData.setData(n.format || "text", a), n.onCopy && n.onCopy(window.clipboardData), f = !0;
67803
+ window.clipboardData.setData(a.format || "text", n), a.onCopy && a.onCopy(window.clipboardData), f = !0;
67793
67804
  } catch (T) {
67794
- r && console.error("unable to copy using clipboardData: ", T), r && console.error("falling back to prompt"), o = _h("message" in n ? n.message : yh), window.prompt(o, a);
67805
+ r && console.error("unable to copy using clipboardData: ", T), r && console.error("falling back to prompt"), o = _h("message" in a ? a.message : yh), window.prompt(o, n);
67795
67806
  }
67796
67807
  } finally {
67797
67808
  m && (typeof m.removeRange == "function" ? m.removeRange(l) : m.removeAllRanges()), _ && document.body.removeChild(_), c();
@@ -67799,90 +67810,90 @@ function fh(a, n) {
67799
67810
  return f;
67800
67811
  }
67801
67812
  var gh = fh;
67802
- function Mi(a) {
67813
+ function Mi(n) {
67803
67814
  "@babel/helpers - typeof";
67804
- return Mi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
67805
- return typeof n;
67806
- } : function(n) {
67807
- return n && typeof Symbol == "function" && n.constructor === Symbol && n !== Symbol.prototype ? "symbol" : typeof n;
67808
- }, Mi(a);
67815
+ return Mi = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(a) {
67816
+ return typeof a;
67817
+ } : function(a) {
67818
+ return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a;
67819
+ }, Mi(n);
67809
67820
  }
67810
67821
  Object.defineProperty(nn, "__esModule", {
67811
67822
  value: !0
67812
67823
  });
67813
67824
  nn.CopyToClipboard = void 0;
67814
67825
  var Xa = Up(ls), bh = Up(gh), xh = ["text", "onCopy", "options", "children"];
67815
- function Up(a) {
67816
- return a && a.__esModule ? a : { default: a };
67826
+ function Up(n) {
67827
+ return n && n.__esModule ? n : { default: n };
67817
67828
  }
67818
- function fp(a, n) {
67819
- var r = Object.keys(a);
67829
+ function fp(n, a) {
67830
+ var r = Object.keys(n);
67820
67831
  if (Object.getOwnPropertySymbols) {
67821
- var o = Object.getOwnPropertySymbols(a);
67822
- n && (o = o.filter(function(c) {
67823
- return Object.getOwnPropertyDescriptor(a, c).enumerable;
67832
+ var o = Object.getOwnPropertySymbols(n);
67833
+ a && (o = o.filter(function(c) {
67834
+ return Object.getOwnPropertyDescriptor(n, c).enumerable;
67824
67835
  })), r.push.apply(r, o);
67825
67836
  }
67826
67837
  return r;
67827
67838
  }
67828
- function gp(a) {
67829
- for (var n = 1; n < arguments.length; n++) {
67830
- var r = arguments[n] != null ? arguments[n] : {};
67831
- n % 2 ? fp(Object(r), !0).forEach(function(o) {
67832
- Wi(a, o, r[o]);
67833
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(a, Object.getOwnPropertyDescriptors(r)) : fp(Object(r)).forEach(function(o) {
67834
- Object.defineProperty(a, o, Object.getOwnPropertyDescriptor(r, o));
67839
+ function gp(n) {
67840
+ for (var a = 1; a < arguments.length; a++) {
67841
+ var r = arguments[a] != null ? arguments[a] : {};
67842
+ a % 2 ? fp(Object(r), !0).forEach(function(o) {
67843
+ Wi(n, o, r[o]);
67844
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(r)) : fp(Object(r)).forEach(function(o) {
67845
+ Object.defineProperty(n, o, Object.getOwnPropertyDescriptor(r, o));
67835
67846
  });
67836
67847
  }
67837
- return a;
67848
+ return n;
67838
67849
  }
67839
- function hh(a, n) {
67840
- if (a == null)
67850
+ function hh(n, a) {
67851
+ if (n == null)
67841
67852
  return {};
67842
- var r = wh(a, n), o, c;
67853
+ var r = wh(n, a), o, c;
67843
67854
  if (Object.getOwnPropertySymbols) {
67844
- var l = Object.getOwnPropertySymbols(a);
67855
+ var l = Object.getOwnPropertySymbols(n);
67845
67856
  for (c = 0; c < l.length; c++)
67846
- o = l[c], !(n.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(a, o) && (r[o] = a[o]);
67857
+ o = l[c], !(a.indexOf(o) >= 0) && Object.prototype.propertyIsEnumerable.call(n, o) && (r[o] = n[o]);
67847
67858
  }
67848
67859
  return r;
67849
67860
  }
67850
- function wh(a, n) {
67851
- if (a == null)
67861
+ function wh(n, a) {
67862
+ if (n == null)
67852
67863
  return {};
67853
- var r = {}, o = Object.keys(a), c, l;
67864
+ var r = {}, o = Object.keys(n), c, l;
67854
67865
  for (l = 0; l < o.length; l++)
67855
- c = o[l], !(n.indexOf(c) >= 0) && (r[c] = a[c]);
67866
+ c = o[l], !(a.indexOf(c) >= 0) && (r[c] = n[c]);
67856
67867
  return r;
67857
67868
  }
67858
- function vh(a, n) {
67859
- if (!(a instanceof n))
67869
+ function vh(n, a) {
67870
+ if (!(n instanceof a))
67860
67871
  throw new TypeError("Cannot call a class as a function");
67861
67872
  }
67862
- function bp(a, n) {
67863
- for (var r = 0; r < n.length; r++) {
67864
- var o = n[r];
67865
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(a, o.key, o);
67873
+ function bp(n, a) {
67874
+ for (var r = 0; r < a.length; r++) {
67875
+ var o = a[r];
67876
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(n, o.key, o);
67866
67877
  }
67867
67878
  }
67868
- function Th(a, n, r) {
67869
- return n && bp(a.prototype, n), r && bp(a, r), Object.defineProperty(a, "prototype", { writable: !1 }), a;
67879
+ function Th(n, a, r) {
67880
+ return a && bp(n.prototype, a), r && bp(n, r), Object.defineProperty(n, "prototype", { writable: !1 }), n;
67870
67881
  }
67871
- function Dh(a, n) {
67872
- if (typeof n != "function" && n !== null)
67882
+ function Dh(n, a) {
67883
+ if (typeof a != "function" && a !== null)
67873
67884
  throw new TypeError("Super expression must either be null or a function");
67874
- a.prototype = Object.create(n && n.prototype, { constructor: { value: a, writable: !0, configurable: !0 } }), Object.defineProperty(a, "prototype", { writable: !1 }), n && Pi(a, n);
67885
+ n.prototype = Object.create(a && a.prototype, { constructor: { value: n, writable: !0, configurable: !0 } }), Object.defineProperty(n, "prototype", { writable: !1 }), a && Pi(n, a);
67875
67886
  }
67876
- function Pi(a, n) {
67887
+ function Pi(n, a) {
67877
67888
  return Pi = Object.setPrototypeOf || function(o, c) {
67878
67889
  return o.__proto__ = c, o;
67879
- }, Pi(a, n);
67890
+ }, Pi(n, a);
67880
67891
  }
67881
- function Ih(a) {
67882
- var n = Ah();
67892
+ function Ih(n) {
67893
+ var a = Ah();
67883
67894
  return function() {
67884
- var o = rn(a), c;
67885
- if (n) {
67895
+ var o = rn(n), c;
67896
+ if (a) {
67886
67897
  var l = rn(this).constructor;
67887
67898
  c = Reflect.construct(o, arguments, l);
67888
67899
  } else
@@ -67890,17 +67901,17 @@ function Ih(a) {
67890
67901
  return kh(this, c);
67891
67902
  };
67892
67903
  }
67893
- function kh(a, n) {
67894
- if (n && (Mi(n) === "object" || typeof n == "function"))
67895
- return n;
67896
- if (n !== void 0)
67904
+ function kh(n, a) {
67905
+ if (a && (Mi(a) === "object" || typeof a == "function"))
67906
+ return a;
67907
+ if (a !== void 0)
67897
67908
  throw new TypeError("Derived constructors may only return object or undefined");
67898
- return $p(a);
67909
+ return $p(n);
67899
67910
  }
67900
- function $p(a) {
67901
- if (a === void 0)
67911
+ function $p(n) {
67912
+ if (n === void 0)
67902
67913
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
67903
- return a;
67914
+ return n;
67904
67915
  }
67905
67916
  function Ah() {
67906
67917
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham)
@@ -67914,23 +67925,23 @@ function Ah() {
67914
67925
  return !1;
67915
67926
  }
67916
67927
  }
67917
- function rn(a) {
67928
+ function rn(n) {
67918
67929
  return rn = Object.setPrototypeOf ? Object.getPrototypeOf : function(r) {
67919
67930
  return r.__proto__ || Object.getPrototypeOf(r);
67920
- }, rn(a);
67931
+ }, rn(n);
67921
67932
  }
67922
- function Wi(a, n, r) {
67923
- return n in a ? Object.defineProperty(a, n, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : a[n] = r, a;
67933
+ function Wi(n, a, r) {
67934
+ return a in n ? Object.defineProperty(n, a, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : n[a] = r, n;
67924
67935
  }
67925
- var Hp = /* @__PURE__ */ function(a) {
67926
- Dh(r, a);
67927
- var n = Ih(r);
67936
+ var Hp = /* @__PURE__ */ function(n) {
67937
+ Dh(r, n);
67938
+ var a = Ih(r);
67928
67939
  function r() {
67929
67940
  var o;
67930
67941
  vh(this, r);
67931
67942
  for (var c = arguments.length, l = new Array(c), m = 0; m < c; m++)
67932
67943
  l[m] = arguments[m];
67933
- return o = n.call.apply(n, [this].concat(l)), Wi($p(o), "onClick", function(_) {
67944
+ return o = a.call.apply(a, [this].concat(l)), Wi($p(o), "onClick", function(_) {
67934
67945
  var f = o.props, b = f.text, h = f.onCopy, T = f.children, P = f.options, B = Xa.default.Children.only(T), O = (0, bh.default)(b, P);
67935
67946
  h && h(b, O), B && B.props && typeof B.props.onClick == "function" && B.props.onClick(_);
67936
67947
  }), o;
@@ -67956,14 +67967,14 @@ var qh = nn, Oi = qh.CopyToClipboard;
67956
67967
  Oi.CopyToClipboard = Oi;
67957
67968
  var Ch = Oi;
67958
67969
  const Ci = /* @__PURE__ */ rb(Ch);
67959
- async function zh(a, n = 0) {
67960
- const r = a[n];
67970
+ async function zh(n, a = 0) {
67971
+ const r = n[a];
67961
67972
  if (!r)
67962
67973
  return;
67963
67974
  const { name: o, args: c, type: l, desc: m, examples: _, remarks: f, seeAlso: b, syntax: h, detailedDesc: T, fields: P, returns: B } = r, O = {
67964
67975
  name: o
67965
67976
  };
67966
- if (a.length > 1 && (O.overloads = `${a.length} overloads`), l && (O.type = l), c && (O.name = `${o}()`, O.args = c.map((N) => {
67977
+ if (n.length > 1 && (O.overloads = `${n.length} overloads`), l && (O.type = l), c && (O.name = `${o}()`, O.args = c.map((N) => {
67967
67978
  const { name: $, desc: G, displayType: j } = N;
67968
67979
  return {
67969
67980
  label: `${$} (${j})`,
@@ -67987,7 +67998,7 @@ async function zh(a, n = 0) {
67987
67998
  });
67988
67999
  }
67989
68000
  }
67990
- return B && (O.returns = B.map((N) => Ls(N))), f && (O.remarks = typeof f == "string" ? [Ls(f)] : f.map((N) => Ls(N))), h && (O.syntax = a.map((N) => {
68001
+ return B && (O.returns = B.map((N) => Ls(N))), f && (O.remarks = typeof f == "string" ? [Ls(f)] : f.map((N) => Ls(N))), h && (O.syntax = n.map((N) => {
67991
68002
  var $;
67992
68003
  return ($ = N.syntax) == null ? void 0 : $[0];
67993
68004
  })), P && (O.fields = P.map((N) => {
@@ -67998,8 +68009,8 @@ async function zh(a, n = 0) {
67998
68009
  };
67999
68010
  })), b && (O.seeAlso = b.map((N) => Eh(N))), O;
68000
68011
  }
68001
- function Eh(a) {
68002
- const r = /\[([^\[\]]+)\]\(([^\(\)]+)\)/g.exec(a);
68012
+ function Eh(n) {
68013
+ const r = /\[([^\[\]]+)\]\(([^\(\)]+)\)/g.exec(n);
68003
68014
  if (r) {
68004
68015
  const [o, c, l] = r;
68005
68016
  return {
@@ -68008,23 +68019,23 @@ function Eh(a) {
68008
68019
  };
68009
68020
  }
68010
68021
  }
68011
- function Ls(a) {
68012
- const n = /\*\*([^\*]+)\*\*/g, r = /\`([^\`]+)\`/g, o = /\[([^\[\]]+)\]\(([^\(\)]+)\)/g;
68013
- return a.replace(n, (c, l) => `<strong>${l}</strong>`).replace(r, (c, l) => `<code>${l}</code>`).replace(o, (c, l, m) => `<a ${m.startsWith("#") ? `data-name="${l}"` : 'target="_blank"'} class="manual-content-text-link" href="${m}">${l}</a>`);
68022
+ function Ls(n) {
68023
+ const a = /\*\*([^\*]+)\*\*/g, r = /\`([^\`]+)\`/g, o = /\[([^\[\]]+)\]\(([^\(\)]+)\)/g;
68024
+ return n.replace(a, (c, l) => `<strong>${l}</strong>`).replace(r, (c, l) => `<code>${l}</code>`).replace(o, (c, l, m) => `<a ${m.startsWith("#") ? `data-name="${l}"` : 'target="_blank"'} class="manual-content-text-link" href="${m}">${l}</a>`);
68014
68025
  }
68015
- function Nh(a) {
68026
+ function Nh(n) {
68016
68027
  var o;
68017
- const n = [], r = [];
68028
+ const a = [], r = [];
68018
68029
  for (const c of Kr) {
68019
68030
  for (let l of Cp[c.key].sort()) {
68020
68031
  if (qp.includes(l))
68021
68032
  continue;
68022
68033
  let m = l;
68023
- c.prefix === "fun" && (m = `${l}()`), m.includes(a) && (m.startsWith(a) ? n.unshift({
68034
+ c.prefix === "fun" && (m = `${l}()`), m.includes(n) && (m.startsWith(n) ? a.unshift({
68024
68035
  label: m,
68025
68036
  group: c,
68026
68037
  key: `${c.prefix}_${l}`
68027
- }) : n.push({
68038
+ }) : a.push({
68028
68039
  label: m,
68029
68040
  group: c,
68030
68041
  key: `${c.prefix}_${l}`
@@ -68037,13 +68048,13 @@ function Nh(a) {
68037
68048
  group: c,
68038
68049
  key: `${c.prefix}_${f}`
68039
68050
  };
68040
- if (c.prefix === "fun" && (F.label = `${f}()`), F.label.includes(a))
68051
+ if (c.prefix === "fun" && (F.label = `${f}()`), F.label.includes(n))
68041
68052
  break;
68042
68053
  if (b) {
68043
68054
  let I = !1;
68044
68055
  for (const M of b) {
68045
- const { name: z, desc: R, displayType: J } = M;
68046
- if (z.includes(a) || R != null && R.includes(a) || J != null && J.includes(a)) {
68056
+ const { name: z, desc: R, displayType: V } = M;
68057
+ if (z.includes(n) || R != null && R.includes(n) || V != null && V.includes(n)) {
68047
68058
  r.push(F), I = !0;
68048
68059
  break;
68049
68060
  }
@@ -68051,14 +68062,14 @@ function Nh(a) {
68051
68062
  if (I)
68052
68063
  break;
68053
68064
  }
68054
- if (h && h.includes(a)) {
68065
+ if (h && h.includes(n)) {
68055
68066
  r.push(F);
68056
68067
  break;
68057
68068
  }
68058
68069
  if (T) {
68059
68070
  let I = !1;
68060
68071
  for (const M of T)
68061
- if (M.includes(a)) {
68072
+ if (M.includes(n)) {
68062
68073
  r.push(F), I = !0;
68063
68074
  break;
68064
68075
  }
@@ -68068,7 +68079,7 @@ function Nh(a) {
68068
68079
  if (P) {
68069
68080
  let I = !1;
68070
68081
  for (const M of P)
68071
- if (M.includes(a)) {
68082
+ if (M.includes(n)) {
68072
68083
  r.push(F), I = !0;
68073
68084
  break;
68074
68085
  }
@@ -68076,14 +68087,14 @@ function Nh(a) {
68076
68087
  break;
68077
68088
  }
68078
68089
  if (B && (typeof B == "string" ? B : B.join(`
68079
- `)).includes(a)) {
68090
+ `)).includes(n)) {
68080
68091
  r.push(F);
68081
68092
  break;
68082
68093
  }
68083
68094
  if (O) {
68084
68095
  let I = !1;
68085
68096
  for (const M of O)
68086
- if (M.includes(a)) {
68097
+ if (M.includes(n)) {
68087
68098
  r.push(F), I = !0;
68088
68099
  break;
68089
68100
  }
@@ -68093,7 +68104,7 @@ function Nh(a) {
68093
68104
  if (N) {
68094
68105
  let I = !1;
68095
68106
  for (const M of N)
68096
- if (M.includes(a)) {
68107
+ if (M.includes(n)) {
68097
68108
  r.push(F), I = !0;
68098
68109
  break;
68099
68110
  }
@@ -68105,12 +68116,12 @@ function Nh(a) {
68105
68116
  for (const M of $) {
68106
68117
  const { desc: z, examples: R } = M;
68107
68118
  if (z.join(`
68108
- `).includes(a)) {
68119
+ `).includes(n)) {
68109
68120
  r.push(F), I = !0;
68110
68121
  break;
68111
68122
  }
68112
68123
  if ((o = R == null ? void 0 : R.join(`
68113
- `)) != null && o.includes(a)) {
68124
+ `)) != null && o.includes(n)) {
68114
68125
  r.push(F), I = !0;
68115
68126
  break;
68116
68127
  }
@@ -68121,8 +68132,8 @@ function Nh(a) {
68121
68132
  if (G) {
68122
68133
  let I = !1;
68123
68134
  for (const M of G) {
68124
- const { name: z, desc: R, type: J } = M;
68125
- if (z.includes(a) || R != null && R.includes(a) || J != null && J.includes(a)) {
68135
+ const { name: z, desc: R, type: V } = M;
68136
+ if (z.includes(n) || R != null && R.includes(n) || V != null && V.includes(n)) {
68126
68137
  r.push(F), I = !0;
68127
68138
  break;
68128
68139
  }
@@ -68133,7 +68144,7 @@ function Nh(a) {
68133
68144
  if (j) {
68134
68145
  let I = !1;
68135
68146
  for (const M of j)
68136
- if (M.includes(a)) {
68147
+ if (M.includes(n)) {
68137
68148
  r.push(F), I = !0;
68138
68149
  break;
68139
68150
  }
@@ -68143,18 +68154,18 @@ function Nh(a) {
68143
68154
  }
68144
68155
  }
68145
68156
  return {
68146
- labelList: n,
68157
+ labelList: a,
68147
68158
  contentList: r
68148
68159
  };
68149
68160
  }
68150
- const Sh = (a) => {
68161
+ const Sh = (n) => {
68151
68162
  var j;
68152
- const { group: n, itemKey: r, onItemClick: o, currentIndex: c } = a, [l, m] = lt(), [_, f] = lt(0), [b, h] = lt("Copy code"), [T, P] = lt("Copy link");
68163
+ const { group: a, itemKey: r, onItemClick: o, currentIndex: c } = n, [l, m] = lt(), [_, f] = lt(0), [b, h] = lt("Copy code"), [T, P] = lt("Copy link");
68153
68164
  Qe(() => {
68154
68165
  B(c);
68155
68166
  }, [r]);
68156
68167
  const B = (F) => {
68157
- const I = r.replace(`${n == null ? void 0 : n.prefix}_`, ""), M = xt[n == null ? void 0 : n.key].get(I);
68168
+ const I = r.replace(`${a == null ? void 0 : a.prefix}_`, ""), M = xt[a == null ? void 0 : a.key].get(I);
68158
68169
  f(F), M && zh(M, F).then((z) => {
68159
68170
  m(z);
68160
68171
  });
@@ -68204,18 +68215,18 @@ Hr.defineTheme("vs-dark", Ui);
68204
68215
  Hr.defineTheme("vs", Ki);
68205
68216
  He.setMonarchTokensProvider(Ee, or);
68206
68217
  He.setLanguageConfiguration(Ee, Bi);
68207
- const Kh = ({ theme: a = "vs-dark", currentValue: n }) => {
68218
+ const Kh = ({ theme: n = "vs-dark", currentValue: a }) => {
68208
68219
  const [r, o] = lt(Kr[0]), [c, l] = lt(null), [m, _] = lt(0), [f, b] = lt(""), [h, T] = lt("var_bar_index"), P = Me(null), B = Me(null), O = (I) => {
68209
68220
  I.key === (r == null ? void 0 : r.key) && !(r != null && r.isHidden) ? o({ ...I, isHidden: !0 }) : o(I);
68210
68221
  };
68211
68222
  Qe(() => {
68212
- Hr.setTheme(a);
68213
- }, [a]), Qe(() => {
68214
- if (n.value) {
68215
- const [I] = n.value.split("_"), M = Kr.find((z) => I === z.prefix);
68216
- M && (_(n.index || 0), j(M, n.value));
68223
+ Hr.setTheme(n);
68224
+ }, [n]), Qe(() => {
68225
+ if (a.value) {
68226
+ const [I] = a.value.split("_"), M = Kr.find((z) => I === z.prefix);
68227
+ M && (_(a.index || 0), j(M, a.value));
68217
68228
  }
68218
- }, [n]);
68229
+ }, [a]);
68219
68230
  const N = (I, M) => {
68220
68231
  var z;
68221
68232
  I !== h && (M && o(M), _(0), T(I), (z = B.current) == null || z.scrollTo({ top: 0 }));
@@ -68235,24 +68246,24 @@ const Kh = ({ theme: a = "vs-dark", currentValue: n }) => {
68235
68246
  }, j = (I, M) => {
68236
68247
  var z;
68237
68248
  o(I), T(M), setTimeout(() => {
68238
- var R, J;
68239
- (J = (R = P.current) == null ? void 0 : R.querySelector(`a[data-href="${M}"]`)) == null || J.scrollIntoView(!0);
68249
+ var R, V;
68250
+ (V = (R = P.current) == null ? void 0 : R.querySelector(`a[data-href="${M}"]`)) == null || V.scrollIntoView(!0);
68240
68251
  }, 10), (z = B.current) == null || z.scrollTo({ top: 0 });
68241
68252
  }, F = (I) => {
68242
68253
  const M = Kr.find((z) => I.startsWith(z.prefix));
68243
68254
  M && (_(0), j(M, I));
68244
68255
  };
68245
- return L.jsxs("div", { className: `${a} manual-warpper`, children: [L.jsxs("div", { className: "manual-left", children: [L.jsxs("div", { className: "manual-search", children: [L.jsx("span", { className: "manual-search-icon", children: L.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", width: "18px", height: "18px", children: L.jsx("path", { fillRule: "evenodd", d: "M12.5 11h-.79l-.28-.27A6.47 6.47 0 0 0 13 6.5 6.5 6.5 0 1 0 6.5 13c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L17.49 16l-4.99-5zm-6 0C4.01 11 2 8.99 2 6.5S4.01 2 6.5 2 11 4.01 11 6.5 8.99 11 6.5 11z" }) }) }), L.jsx("input", { onChange: $, spellCheck: "false", value: f, className: "manual-search-input", autoComplete: "off", placeholder: "Search", type: "text" }), L.jsx("span", { onClick: G, className: `manual-search-clear ${f ? "" : "hide"}`, children: L.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 95.939 95.939", width: "9", height: "9", children: L.jsx("path", { d: "M62.82 47.97l32.53-32.534a2 2 0 0 0 0-2.828L83.332.586a2 2 0 0 0-2.827 0L47.97 33.12 15.435.587c-.75-.75-2.078-.75-2.828 0L.587 12.607a2 2 0 0 0 0 2.83L33.12 47.97.588 80.504a2 2 0 0 0 0 2.828l12.02 12.02a1.997 1.997 0 0 0 2.83 0L47.97 62.818l32.535 32.535a2 2 0 0 0 2.827 0l12.02-12.02c.78-.783.78-2.05 0-2.83L62.82 47.97z" }) }) })] }), L.jsx("div", { className: `manual-group-search-list manual-scroll ${f ? "" : "hide"}`, children: L.jsxs("div", { children: [c == null ? void 0 : c.labelList.map((I) => L.jsx("a", { onClick: (M) => {
68256
+ return L.jsxs("div", { className: `${n} manual-warpper`, children: [L.jsxs("div", { className: "manual-left", children: [L.jsxs("div", { className: "manual-search", children: [L.jsx("span", { className: "manual-search-icon", children: L.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 18 18", width: "18px", height: "18px", children: L.jsx("path", { fillRule: "evenodd", d: "M12.5 11h-.79l-.28-.27A6.47 6.47 0 0 0 13 6.5 6.5 6.5 0 1 0 6.5 13c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L17.49 16l-4.99-5zm-6 0C4.01 11 2 8.99 2 6.5S4.01 2 6.5 2 11 4.01 11 6.5 8.99 11 6.5 11z" }) }) }), L.jsx("input", { onChange: $, spellCheck: "false", value: f, className: "manual-search-input", autoComplete: "off", placeholder: "Search", type: "text" }), L.jsx("span", { onClick: G, className: `manual-search-clear ${f ? "" : "hide"}`, children: L.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 95.939 95.939", width: "9", height: "9", children: L.jsx("path", { d: "M62.82 47.97l32.53-32.534a2 2 0 0 0 0-2.828L83.332.586a2 2 0 0 0-2.827 0L47.97 33.12 15.435.587c-.75-.75-2.078-.75-2.828 0L.587 12.607a2 2 0 0 0 0 2.83L33.12 47.97.588 80.504a2 2 0 0 0 0 2.828l12.02 12.02a1.997 1.997 0 0 0 2.83 0L47.97 62.818l32.535 32.535a2 2 0 0 0 2.827 0l12.02-12.02c.78-.783.78-2.05 0-2.83L62.82 47.97z" }) }) })] }), L.jsx("div", { className: `manual-group-search-list manual-scroll ${f ? "" : "hide"}`, children: L.jsxs("div", { children: [c == null ? void 0 : c.labelList.map((I) => L.jsx("a", { onClick: (M) => {
68246
68257
  M.preventDefault(), N(I.key, I.group);
68247
68258
  }, className: `manual-group-body-item ${I.key === h ? "manual-group-body-item-selected" : ""}`, "data-href": I.key, href: `#${I.key}`, children: I.label }, `search_${I.key}`)), L.jsx("div", { className: "manual-content-separator" }), c == null ? void 0 : c.contentList.map((I) => L.jsx("a", { onClick: (M) => {
68248
68259
  M.preventDefault(), N(I.key, I.group);
68249
68260
  }, className: `manual-group-body-item ${I.key === h ? "manual-group-body-item-selected" : ""}`, "data-href": I.key, href: `#${I.key}`, children: I.label }, `search_${I.key}`))] }) }), L.jsx("div", { className: `manual-group-list manual-scroll ${f ? "hide" : ""}`, ref: P, children: Kr.map((I) => {
68250
68261
  var M, z;
68251
68262
  return L.jsxs(Gt, { children: [L.jsx("div", { onClick: () => O(I), className: `manual-group-title ${I.key === (r == null ? void 0 : r.key) && !(r != null && r.isHidden) ? "active" : ""}`, children: I.title }), L.jsx("div", { className: `manual-group-body manual-scroll ${I.key !== (r == null ? void 0 : r.key) || r != null && r.isHidden ? "hide" : ""}`, children: (z = (M = Cp[I.key]) == null ? void 0 : M.sort().filter((R) => !qp.includes(R))) == null ? void 0 : z.map((R) => {
68252
- const J = `${I.prefix}_${R}`;
68263
+ const V = `${I.prefix}_${R}`;
68253
68264
  return L.jsx("a", { onClick: (ye) => {
68254
- ye.preventDefault(), N(J);
68255
- }, className: `manual-group-body-item ${J === h ? "manual-group-body-item-selected" : ""}`, "data-href": J, href: `#${J}`, children: `${R}${I.prefix === "fun" ? "()" : ""}` }, J);
68265
+ ye.preventDefault(), N(V);
68266
+ }, className: `manual-group-body-item ${V === h ? "manual-group-body-item-selected" : ""}`, "data-href": V, href: `#${V}`, children: `${R}${I.prefix === "fun" ? "()" : ""}` }, V);
68256
68267
  }) })] }, I.key);
68257
68268
  }) })] }), L.jsx("div", { ref: B, className: "manual-right manual-scroll", children: L.jsx(Sh, { currentIndex: m, group: r, itemKey: h, onItemClick: F }) })] });
68258
68269
  };