@guihz/trading-vue-editor-tes 0.0.40 → 0.0.42
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`.line-decoration_modified,.line-decoration_added,.line-decoration_removed{left:auto!important;right:20px;transform:scale(-1);width:4px!important}.line-modified:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1;background-image:linear-gradient(-45deg,#2962ff 25%,#0000 0,#0000 50%,#2962ff 0,#2962ff 75%,#0000 0,#0000);background-size:3px 3px}.line-added:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1;background:#089950}.modified-in-monaco-diff-editor .line-modified:before,.modified-in-monaco-diff-editor .line-added:before,.modified-in-monaco-diff-editor .line-decoration_removed:after{background:none}.line-modified:hover:before,.line-added:hover:before,.line-decoration_removed:hover:before{width:5px}.line-decoration_removed:hover:before{background-color:#f23645}.line-decoration_removed:hover:after{background:none}.line-decoration_removed:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1}.line-decoration_removed:after{background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='4'%20height='18'%20viewBox='0%200%204%2018'%20fill='%23F23645'%3e%3cpath%20d='M3.7%208.11a.5.5%200%200%201%200%20.67L.89%2012a.5.5%200%200%201-.88-.33V5.3a.5.5%200%200%201%20.87-.33L3.7%208.1Z'/%3e%3c/svg%3e") 50% no-repeat;background-size:5px 20px;content:"";height:10px;left:-4px;position:absolute;top:-3px;transform:scale(-1);width:10px}.content-popup{position:relative;border-bottom:1px solid;display:flex;flex-direction:column;height:100%;-webkit-user-select:none;user-select:none;background-color:#
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode(`.line-decoration_modified,.line-decoration_added,.line-decoration_removed{left:auto!important;right:20px;transform:scale(-1);width:4px!important}.line-modified:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1;background-image:linear-gradient(-45deg,#2962ff 25%,#0000 0,#0000 50%,#2962ff 0,#2962ff 75%,#0000 0,#0000);background-size:3px 3px}.line-added:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1;background:#089950}.modified-in-monaco-diff-editor .line-modified:before,.modified-in-monaco-diff-editor .line-added:before,.modified-in-monaco-diff-editor .line-decoration_removed:after{background:none}.line-modified:hover:before,.line-added:hover:before,.line-decoration_removed:hover:before{width:5px}.line-decoration_removed:hover:before{background-color:#f23645}.line-decoration_removed:hover:after{background:none}.line-decoration_removed:before{content:"";height:100%;left:0;position:absolute;top:0;transition:width .2s;width:3px;z-index:1}.line-decoration_removed:after{background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='4'%20height='18'%20viewBox='0%200%204%2018'%20fill='%23F23645'%3e%3cpath%20d='M3.7%208.11a.5.5%200%200%201%200%20.67L.89%2012a.5.5%200%200%201-.88-.33V5.3a.5.5%200%200%201%20.87-.33L3.7%208.1Z'/%3e%3c/svg%3e") 50% no-repeat;background-size:5px 20px;content:"";height:10px;left:-4px;position:absolute;top:-3px;transform:scale(-1);width:10px}.vs-dark .content-popup{background-color:#1e222d}.content-popup{position:relative;border-bottom:1px solid;display:flex;flex-direction:column;height:100%;-webkit-user-select:none;user-select:none;background-color:#fff}.header-popup{align-items:center;position:relative;z-index:1;border-left:0;border-right:0;display:flex;height:22px;justify-content:space-between;margin-top:5px;border-bottom:1px solid #fff;border-top:1px solid #fff;background-color:#fff}.title-popup{font-size:13px;font-weight:400;line-height:18px;margin-left:27px}.actions-popup{align-items:center;display:flex}.button-popup{height:24px;cursor:pointer;justify-content:center;width:24px;display:flex;padding:0 5px;align-items:center;box-sizing:border-box;transition:background-color 60ms ease,opacity 60ms ease,color 60ms ease}.icon-popup{display:flex}.triangle-popup{position:absolute;left:55px;margin-top:1px;height:8px;z-index:0;transform:rotate(-45deg);width:8px}.triangle-modified-popup{background-color:#2962ff}.vs-dark .header-modified-popup{background-color:#1e222d}.header-modified-popup{background-color:#e3effd;border-color:#2962ff}.content-modified-popup{border-bottom-color:#2962ff}.triangle-added-popup{background-color:#089950}.vs-dark .header-added-popup{background-color:#1a3326}.header-added-popup{background-color:#daf2e6;border-color:#089950}.content-added-popup{border-bottom-color:#089950}.triangle-removed-popup{background-color:#f23645}.vs-dark .header-removed-popup{background-color:#331f20}.header-removed-popup{background-color:#ffebec;border-color:#f23645}.content-removed-popup{border-bottom-color:#f23645}.monaco-editor.vs-dark .quick-input-widget{background:#1e222d!important}.monaco-editor .monaco-inputbox:focus-within,.monaco-editor.vs-dark .monaco-inputbox:focus-within{border-color:#2962ff}.monaco-editor .quick-input-widget .monaco-inputbox{background-color:unset!important;border:unset!important}.monaco-editor .quick-input-widget .input:active,.monaco-editor .quick-input-widget .input:focus{border:2px solid #2962ff}.monaco-editor.vs-dark .quick-input-widget .input{background-color:#1e222d!important;color:#d1d4dc!important}.monaco-editor .monaco-inputbox .input{font-size:14px;line-height:18px;outline:none}.monaco-editor .quick-input-widget .input{background-color:#fff!important;border:1px solid #d1d4dc;border-radius:6px;color:#131722!important;height:28px;padding-bottom:5px}.monaco-editor .overflow-guard{overflow:hidden!important}section{display:block!important}.monaco-editor .find-widget .codicon.toggle:before{content:"";font-size:15px;transition:.3s ease-out}.monaco-editor .find-widget.replaceToggled{height:80px!important}.monaco-editor .find-widget{border-bottom-left-radius:6px;border-bottom-right-radius:6px;height:44px!important;width:450px!important;transition:.3s ease-out}.monaco-editor .find-widget.replaceToggled .find-part,.monaco-editor .find-widget.replaceToggled .replace-part{margin-left:17px}.monaco-editor .find-widget .codicon.toggle.codicon-find-expanded{height:77px}.monaco-editor .find-widget.replaceToggled .replace-part{margin-top:8px}.monaco-editor .find-widget .codicon.toggle{border-radius:4px;cursor:default;height:41px;left:2px;top:2px}.monaco-editor .find-widget .monaco-sash{display:none}.monaco-editor .find-widget .find-part{margin-top:8px}.monaco-editor .find-widget .monaco-findInput{width:255px}.monaco-editor .monaco-scrollable-element{--vscode-scrollbarSlider-background: #64646466;margin-bottom:-2px}.monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{background-color:#1e222d!important}.monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{border-color:#50535e!important}.monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.idle{background-color:#fff!important;border-color:#d1d4dc!important;border-radius:6px;height:28px}.monaco-editor.vs-dark .monaco-inputbox,.monaco-editor.vs-dark .monaco-inputbox.idle{border:2px solid #50535e}.monaco-editor .monaco-inputbox,.monaco-editor .monaco-inputbox.idle{border:2px solid #a3a6af;border-radius:4px;overflow:hidden}.monaco-editor .find-widget>.button.codicon-widget-close{top:10px}.monaco-editor .find-widget .codicon.toggle.codicon-find-expanded:before{transform:rotate(180deg)}.monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.idle .ibwrapper>textarea.input{padding-top:4px}.monaco-editor .monaco-inputbox .input{line-height:18px}.monaco-editor.vs-dark .find-widget .monaco-scrollable-element>.monaco-inputbox.synthetic-focus{border:1px solid #2962ff!important}.monaco-editor .find-widget .monaco-scrollable-element>.monaco-inputbox.synthetic-focus{border:1px solid #2962ff!important;outline-color:#0000}.monaco-editor .monaco-inputbox:focus-within{border-color:#2962ff}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical{background-color:#1e222d!important}.context-view .monaco-menu>.monaco-action-bar.vertical{background-color:#fff!important}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item,.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item .submenu-indicator{color:#d1d4dc!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item,.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .submenu-indicator{color:#131722!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item{border-radius:0;height:32px;margin:0}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .action-menu-item,.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .submenu-indicator{background-color:#2a2e39!important;color:#d1d4dc!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .action-menu-item,.context-view .monaco-menu>.monaco-action-bar.vertical .action-item.focused .submenu-indicator{background-color:#f0f3fa!important;color:#131722!important}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-label.separator{border-bottom:1px solid #434651!important}.context-view .monaco-menu>.monaco-action-bar.vertical .action-label.separator{border-bottom:1px solid #e0e3eb!important;margin-left:0!important;margin-right:0!important;opacity:1}.vs-dark .context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item span.keybinding{color:#5d606b}.context-view .monaco-menu>.monaco-action-bar.vertical .action-item .action-menu-item span.keybinding{color:#9598a1}.monaco-menu{max-height:calc(100vh - 35px)!important}`)),document.head.appendChild(o)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();
|
2
2
|
import hr, { memo as Dn, useState as Ma, useRef as Be, useCallback as La, useEffect as kt, forwardRef as Hc, useImperativeHandle as $c, useMemo as v_ } from "react";
|
3
3
|
import * as w_ from "monaco-editor";
|
4
4
|
import { languages as Ot, Position as T_, MarkerSeverity as I_ } from "monaco-editor";
|
@@ -30,12 +30,12 @@ function k_() {
|
|
30
30
|
if (rc)
|
31
31
|
return Sa;
|
32
32
|
rc = 1;
|
33
|
-
var s = hr, i = Symbol.for("react.element"), a = Symbol.for("react.fragment"),
|
33
|
+
var s = hr, i = Symbol.for("react.element"), a = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, u = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, p = { key: !0, ref: !0, __self: !0, __source: !0 };
|
34
34
|
function m(g, v, b) {
|
35
35
|
var w, k = {}, z = null, E = null;
|
36
36
|
b !== void 0 && (z = "" + b), v.key !== void 0 && (z = "" + v.key), v.ref !== void 0 && (E = v.ref);
|
37
37
|
for (w in v)
|
38
|
-
|
38
|
+
l.call(v, w) && !p.hasOwnProperty(w) && (k[w] = v[w]);
|
39
39
|
if (g && g.defaultProps)
|
40
40
|
for (w in v = g.defaultProps, v)
|
41
41
|
k[w] === void 0 && (k[w] = v[w]);
|
@@ -56,8 +56,8 @@ var za = {};
|
|
56
56
|
var ac;
|
57
57
|
function A_() {
|
58
58
|
return ac || (ac = 1, process.env.NODE_ENV !== "production" && function() {
|
59
|
-
var s = hr, i = Symbol.for("react.element"), a = Symbol.for("react.portal"),
|
60
|
-
function
|
59
|
+
var s = hr, i = Symbol.for("react.element"), a = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), m = Symbol.for("react.provider"), g = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), z = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), P = Symbol.iterator, B = "@@iterator";
|
60
|
+
function te(y) {
|
61
61
|
if (y === null || typeof y != "object")
|
62
62
|
return null;
|
63
63
|
var S = P && y[P] || y[B];
|
@@ -84,7 +84,7 @@ function A_() {
|
|
84
84
|
var F = !1, $ = !1, se = !1, Q = !1, Ne = !1, ge;
|
85
85
|
ge = Symbol.for("react.module.reference");
|
86
86
|
function ie(y) {
|
87
|
-
return !!(typeof y == "string" || typeof y == "function" || y ===
|
87
|
+
return !!(typeof y == "string" || typeof y == "function" || y === l || y === p || Ne || y === u || y === b || y === w || Q || y === E || F || $ || se || typeof y == "object" && y !== null && (y.$$typeof === z || y.$$typeof === k || y.$$typeof === m || y.$$typeof === g || y.$$typeof === v || // This needs to include all possible module reference object
|
88
88
|
// types supported by any Flight configuration anywhere since
|
89
89
|
// we don't know which Flight build this will end up being used
|
90
90
|
// with.
|
@@ -108,7 +108,7 @@ function A_() {
|
|
108
108
|
if (typeof y == "string")
|
109
109
|
return y;
|
110
110
|
switch (y) {
|
111
|
-
case
|
111
|
+
case l:
|
112
112
|
return "Fragment";
|
113
113
|
case a:
|
114
114
|
return "Portal";
|
@@ -556,7 +556,7 @@ Check the top-level render call using <` + N + ">.");
|
|
556
556
|
else if (da(y))
|
557
557
|
y._store && (y._store.validated = !0);
|
558
558
|
else if (y) {
|
559
|
-
var ce =
|
559
|
+
var ce = te(y);
|
560
560
|
if (typeof ce == "function" && ce !== y.entries)
|
561
561
|
for (var me = ce.call(y), ne; !(ne = me.next()).done; )
|
562
562
|
da(ne.value) && Ya(ne.value, S);
|
@@ -627,7 +627,7 @@ Check the top-level render call using <` + N + ">.");
|
|
627
627
|
else
|
628
628
|
Va(Je, y);
|
629
629
|
}
|
630
|
-
return y ===
|
630
|
+
return y === l ? pa(ke) : ei(ke), ke;
|
631
631
|
}
|
632
632
|
}
|
633
633
|
function ma(y, S, N) {
|
@@ -637,7 +637,7 @@ Check the top-level render call using <` + N + ">.");
|
|
637
637
|
return Qa(y, S, N, !1);
|
638
638
|
}
|
639
639
|
var ri = ti, ai = ma;
|
640
|
-
za.Fragment =
|
640
|
+
za.Fragment = l, za.jsx = ri, za.jsxs = ai;
|
641
641
|
}()), za;
|
642
642
|
}
|
643
643
|
process.env.NODE_ENV === "production" ? xn.exports = k_() : xn.exports = A_();
|
@@ -653,20 +653,20 @@ function q_(s, i, a) {
|
|
653
653
|
function sc(s, i) {
|
654
654
|
var a = Object.keys(s);
|
655
655
|
if (Object.getOwnPropertySymbols) {
|
656
|
-
var
|
657
|
-
i && (
|
656
|
+
var l = Object.getOwnPropertySymbols(s);
|
657
|
+
i && (l = l.filter(function(u) {
|
658
658
|
return Object.getOwnPropertyDescriptor(s, u).enumerable;
|
659
|
-
})), a.push.apply(a,
|
659
|
+
})), a.push.apply(a, l);
|
660
660
|
}
|
661
661
|
return a;
|
662
662
|
}
|
663
663
|
function ic(s) {
|
664
664
|
for (var i = 1; i < arguments.length; i++) {
|
665
665
|
var a = arguments[i] != null ? arguments[i] : {};
|
666
|
-
i % 2 ? sc(Object(a), !0).forEach(function(
|
667
|
-
q_(s,
|
668
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(s, Object.getOwnPropertyDescriptors(a)) : sc(Object(a)).forEach(function(
|
669
|
-
Object.defineProperty(s,
|
666
|
+
i % 2 ? sc(Object(a), !0).forEach(function(l) {
|
667
|
+
q_(s, l, a[l]);
|
668
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(s, Object.getOwnPropertyDescriptors(a)) : sc(Object(a)).forEach(function(l) {
|
669
|
+
Object.defineProperty(s, l, Object.getOwnPropertyDescriptor(a, l));
|
670
670
|
});
|
671
671
|
}
|
672
672
|
return s;
|
@@ -674,19 +674,19 @@ function ic(s) {
|
|
674
674
|
function C_(s, i) {
|
675
675
|
if (s == null)
|
676
676
|
return {};
|
677
|
-
var a = {},
|
678
|
-
for (p = 0; p <
|
679
|
-
u =
|
677
|
+
var a = {}, l = Object.keys(s), u, p;
|
678
|
+
for (p = 0; p < l.length; p++)
|
679
|
+
u = l[p], !(i.indexOf(u) >= 0) && (a[u] = s[u]);
|
680
680
|
return a;
|
681
681
|
}
|
682
682
|
function S_(s, i) {
|
683
683
|
if (s == null)
|
684
684
|
return {};
|
685
|
-
var a = C_(s, i),
|
685
|
+
var a = C_(s, i), l, u;
|
686
686
|
if (Object.getOwnPropertySymbols) {
|
687
687
|
var p = Object.getOwnPropertySymbols(s);
|
688
688
|
for (u = 0; u < p.length; u++)
|
689
|
-
|
689
|
+
l = p[u], !(i.indexOf(l) >= 0) && Object.prototype.propertyIsEnumerable.call(s, l) && (a[l] = s[l]);
|
690
690
|
}
|
691
691
|
return a;
|
692
692
|
}
|
@@ -699,15 +699,15 @@ function N_(s) {
|
|
699
699
|
}
|
700
700
|
function O_(s, i) {
|
701
701
|
if (!(typeof Symbol > "u" || !(Symbol.iterator in Object(s)))) {
|
702
|
-
var a = [],
|
702
|
+
var a = [], l = !0, u = !1, p = void 0;
|
703
703
|
try {
|
704
|
-
for (var m = s[Symbol.iterator](), g; !(
|
704
|
+
for (var m = s[Symbol.iterator](), g; !(l = (g = m.next()).done) && (a.push(g.value), !(i && a.length === i)); l = !0)
|
705
705
|
;
|
706
706
|
} catch (v) {
|
707
707
|
u = !0, p = v;
|
708
708
|
} finally {
|
709
709
|
try {
|
710
|
-
!
|
710
|
+
!l && m.return != null && m.return();
|
711
711
|
} finally {
|
712
712
|
if (u)
|
713
713
|
throw p;
|
@@ -729,9 +729,9 @@ function P_(s, i) {
|
|
729
729
|
}
|
730
730
|
function nc(s, i) {
|
731
731
|
(i == null || i > s.length) && (i = s.length);
|
732
|
-
for (var a = 0,
|
733
|
-
|
734
|
-
return
|
732
|
+
for (var a = 0, l = new Array(i); a < i; a++)
|
733
|
+
l[a] = s[a];
|
734
|
+
return l;
|
735
735
|
}
|
736
736
|
function E_() {
|
737
737
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
@@ -748,20 +748,20 @@ function R_(s, i, a) {
|
|
748
748
|
function oc(s, i) {
|
749
749
|
var a = Object.keys(s);
|
750
750
|
if (Object.getOwnPropertySymbols) {
|
751
|
-
var
|
752
|
-
i && (
|
751
|
+
var l = Object.getOwnPropertySymbols(s);
|
752
|
+
i && (l = l.filter(function(u) {
|
753
753
|
return Object.getOwnPropertyDescriptor(s, u).enumerable;
|
754
|
-
})), a.push.apply(a,
|
754
|
+
})), a.push.apply(a, l);
|
755
755
|
}
|
756
756
|
return a;
|
757
757
|
}
|
758
758
|
function lc(s) {
|
759
759
|
for (var i = 1; i < arguments.length; i++) {
|
760
760
|
var a = arguments[i] != null ? arguments[i] : {};
|
761
|
-
i % 2 ? oc(Object(a), !0).forEach(function(
|
762
|
-
R_(s,
|
763
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(s, Object.getOwnPropertyDescriptors(a)) : oc(Object(a)).forEach(function(
|
764
|
-
Object.defineProperty(s,
|
761
|
+
i % 2 ? oc(Object(a), !0).forEach(function(l) {
|
762
|
+
R_(s, l, a[l]);
|
763
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(s, Object.getOwnPropertyDescriptors(a)) : oc(Object(a)).forEach(function(l) {
|
764
|
+
Object.defineProperty(s, l, Object.getOwnPropertyDescriptor(a, l));
|
765
765
|
});
|
766
766
|
}
|
767
767
|
return s;
|
@@ -769,15 +769,15 @@ function lc(s) {
|
|
769
769
|
function M_() {
|
770
770
|
for (var s = arguments.length, i = new Array(s), a = 0; a < s; a++)
|
771
771
|
i[a] = arguments[a];
|
772
|
-
return function(
|
772
|
+
return function(l) {
|
773
773
|
return i.reduceRight(function(u, p) {
|
774
774
|
return p(u);
|
775
|
-
},
|
775
|
+
}, l);
|
776
776
|
};
|
777
777
|
}
|
778
778
|
function Oa(s) {
|
779
779
|
return function i() {
|
780
|
-
for (var a = this,
|
780
|
+
for (var a = this, l = arguments.length, u = new Array(l), p = 0; p < l; p++)
|
781
781
|
u[p] = arguments[p];
|
782
782
|
return u.length >= s.length ? s.apply(this, u) : function() {
|
783
783
|
for (var m = arguments.length, g = new Array(m), v = 0; v < m; v++)
|
@@ -838,7 +838,7 @@ function G_(s) {
|
|
838
838
|
Fs.initial(s), Fs.handler(i);
|
839
839
|
var a = {
|
840
840
|
current: s
|
841
|
-
},
|
841
|
+
}, l = Oa(Y_)(a, i), u = Oa(K_)(a), p = Oa(Fs.changes)(s), m = Oa(X_)(a);
|
842
842
|
function g() {
|
843
843
|
var b = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(w) {
|
844
844
|
return w;
|
@@ -846,7 +846,7 @@ function G_(s) {
|
|
846
846
|
return Fs.selector(b), b(a.current);
|
847
847
|
}
|
848
848
|
function v(b) {
|
849
|
-
M_(
|
849
|
+
M_(l, u, p, m)(b);
|
850
850
|
}
|
851
851
|
return [g, v];
|
852
852
|
}
|
@@ -857,9 +857,9 @@ function K_(s, i) {
|
|
857
857
|
return s.current = lc(lc({}, s.current), i), i;
|
858
858
|
}
|
859
859
|
function Y_(s, i, a) {
|
860
|
-
return Fa(i) ? i(s.current) : Object.keys(a).forEach(function(
|
860
|
+
return Fa(i) ? i(s.current) : Object.keys(a).forEach(function(l) {
|
861
861
|
var u;
|
862
|
-
return (u = i[
|
862
|
+
return (u = i[l]) === null || u === void 0 ? void 0 : u.call(i, s.current[l]);
|
863
863
|
}), a;
|
864
864
|
}
|
865
865
|
var V_ = {
|
@@ -871,7 +871,7 @@ var V_ = {
|
|
871
871
|
};
|
872
872
|
function J_(s) {
|
873
873
|
return function i() {
|
874
|
-
for (var a = this,
|
874
|
+
for (var a = this, l = arguments.length, u = new Array(l), p = 0; p < l; p++)
|
875
875
|
u[p] = arguments[p];
|
876
876
|
return u.length >= s.length ? s.apply(this, u) : function() {
|
877
877
|
for (var m = arguments.length, g = new Array(m), v = 0; v < m; v++)
|
@@ -913,8 +913,8 @@ var Gc = {
|
|
913
913
|
}, cc = J_(rg)(Gc), ag = {
|
914
914
|
config: eg
|
915
915
|
}, sg = function() {
|
916
|
-
for (var i = arguments.length, a = new Array(i),
|
917
|
-
a[
|
916
|
+
for (var i = arguments.length, a = new Array(i), l = 0; l < i; l++)
|
917
|
+
a[l] = arguments[l];
|
918
918
|
return function(u) {
|
919
919
|
return a.reduceRight(function(p, m) {
|
920
920
|
return m(p);
|
@@ -931,9 +931,9 @@ var ig = {
|
|
931
931
|
msg: "operation is manually canceled"
|
932
932
|
};
|
933
933
|
function yn(s) {
|
934
|
-
var i = !1, a = new Promise(function(
|
934
|
+
var i = !1, a = new Promise(function(l, u) {
|
935
935
|
s.then(function(p) {
|
936
|
-
return i ? u(ig) :
|
936
|
+
return i ? u(ig) : l(p);
|
937
937
|
}), s.catch(u);
|
938
938
|
});
|
939
939
|
return a.cancel = function() {
|
@@ -948,20 +948,20 @@ var ng = V_.create({
|
|
948
948
|
monaco: null
|
949
949
|
}), Kc = z_(ng, 2), ja = Kc[0], Vs = Kc[1];
|
950
950
|
function og(s) {
|
951
|
-
var i = ag.config(s), a = i.monaco,
|
951
|
+
var i = ag.config(s), a = i.monaco, l = S_(i, ["monaco"]);
|
952
952
|
Vs(function(u) {
|
953
953
|
return {
|
954
|
-
config: Xc(u.config,
|
954
|
+
config: Xc(u.config, l),
|
955
955
|
monaco: a
|
956
956
|
};
|
957
957
|
});
|
958
958
|
}
|
959
959
|
function lg() {
|
960
960
|
var s = ja(function(i) {
|
961
|
-
var a = i.monaco,
|
961
|
+
var a = i.monaco, l = i.isInitialized, u = i.resolve;
|
962
962
|
return {
|
963
963
|
monaco: a,
|
964
|
-
isInitialized:
|
964
|
+
isInitialized: l,
|
965
965
|
resolve: u
|
966
966
|
};
|
967
967
|
});
|
@@ -984,8 +984,8 @@ function ug(s) {
|
|
984
984
|
return s && (i.src = s), i;
|
985
985
|
}
|
986
986
|
function dg(s) {
|
987
|
-
var i = ja(function(
|
988
|
-
var u =
|
987
|
+
var i = ja(function(l) {
|
988
|
+
var u = l.config, p = l.reject;
|
989
989
|
return {
|
990
990
|
config: u,
|
991
991
|
reject: p
|
@@ -997,9 +997,9 @@ function dg(s) {
|
|
997
997
|
}
|
998
998
|
function pg() {
|
999
999
|
var s = ja(function(a) {
|
1000
|
-
var
|
1000
|
+
var l = a.config, u = a.resolve, p = a.reject;
|
1001
1001
|
return {
|
1002
|
-
config:
|
1002
|
+
config: l,
|
1003
1003
|
resolve: u,
|
1004
1004
|
reject: p
|
1005
1005
|
};
|
@@ -1035,8 +1035,8 @@ function _g({ children: s }) {
|
|
1035
1035
|
return hr.createElement("div", { style: hg.container }, s);
|
1036
1036
|
}
|
1037
1037
|
var gg = _g, bg = gg;
|
1038
|
-
function xg({ width: s, height: i, isEditorReady: a, loading:
|
1039
|
-
return hr.createElement("section", { style: { ..._n.wrapper, width: s, height: i }, ...m }, !a && hr.createElement(bg, null,
|
1038
|
+
function xg({ width: s, height: i, isEditorReady: a, loading: l, _ref: u, className: p, wrapperProps: m }) {
|
1039
|
+
return hr.createElement("section", { style: { ..._n.wrapper, width: s, height: i }, ...m }, !a && hr.createElement(bg, null, l), hr.createElement("div", { ref: u, style: { ..._n.fullWidth, ...!a && _n.hide }, className: p }));
|
1040
1040
|
}
|
1041
1041
|
var vg = xg, Vc = Dn(vg);
|
1042
1042
|
function wg(s) {
|
@@ -1044,34 +1044,34 @@ function wg(s) {
|
|
1044
1044
|
}
|
1045
1045
|
var Qc = wg;
|
1046
1046
|
function Tg(s, i, a = !0) {
|
1047
|
-
let
|
1048
|
-
kt(
|
1049
|
-
|
1047
|
+
let l = Be(!0);
|
1048
|
+
kt(l.current || !a ? () => {
|
1049
|
+
l.current = !1;
|
1050
1050
|
} : s, i);
|
1051
1051
|
}
|
1052
1052
|
var mt = Tg;
|
1053
1053
|
function Ra() {
|
1054
1054
|
}
|
1055
|
-
function ta(s, i, a,
|
1056
|
-
return Ig(s,
|
1055
|
+
function ta(s, i, a, l) {
|
1056
|
+
return Ig(s, l) || Dg(s, i, a, l);
|
1057
1057
|
}
|
1058
1058
|
function Ig(s, i) {
|
1059
1059
|
return s.editor.getModel(Jc(s, i));
|
1060
1060
|
}
|
1061
|
-
function Dg(s, i, a,
|
1062
|
-
return s.editor.createModel(i, a,
|
1061
|
+
function Dg(s, i, a, l) {
|
1062
|
+
return s.editor.createModel(i, a, l ? Jc(s, l) : void 0);
|
1063
1063
|
}
|
1064
1064
|
function Jc(s, i) {
|
1065
1065
|
return s.Uri.parse(i);
|
1066
1066
|
}
|
1067
|
-
function kg({ original: s, modified: i, language: a, originalLanguage:
|
1068
|
-
let [X, L] = Ma(!1), [F, $] = Ma(!0), se = Be(null), Q = Be(null), Ne = Be(null), ge = Be(pe), ie = Be(
|
1067
|
+
function kg({ original: s, modified: i, language: a, originalLanguage: l, modifiedLanguage: u, originalModelPath: p, modifiedModelPath: m, keepCurrentOriginalModel: g = !1, keepCurrentModifiedModel: v = !1, theme: b = "light", loading: w = "Loading...", options: k = {}, height: z = "100%", width: E = "100%", className: P, wrapperProps: B = {}, beforeMount: te = Ra, onMount: pe = Ra }) {
|
1068
|
+
let [X, L] = Ma(!1), [F, $] = Ma(!0), se = Be(null), Q = Be(null), Ne = Be(null), ge = Be(pe), ie = Be(te), ft = Be(!1);
|
1069
1069
|
Qc(() => {
|
1070
1070
|
let j = kn.init();
|
1071
1071
|
return j.then((ue) => (Q.current = ue) && $(!1)).catch((ue) => (ue == null ? void 0 : ue.type) !== "cancelation" && console.error("Monaco initialization: error:", ue)), () => se.current ? Pe() : j.cancel();
|
1072
1072
|
}), mt(() => {
|
1073
1073
|
if (se.current && Q.current) {
|
1074
|
-
let j = se.current.getOriginalEditor(), ue = ta(Q.current, s || "",
|
1074
|
+
let j = se.current.getOriginalEditor(), ue = ta(Q.current, s || "", l || a || "text", p || "");
|
1075
1075
|
ue !== j.getModel() && j.setModel(ue);
|
1076
1076
|
}
|
1077
1077
|
}, [p], X), mt(() => {
|
@@ -1087,8 +1087,8 @@ function kg({ original: s, modified: i, language: a, originalLanguage: o, modifi
|
|
1087
1087
|
(ue = (j = se.current) == null ? void 0 : j.getModel()) == null || ue.original.setValue(s || "");
|
1088
1088
|
}, [s], X), mt(() => {
|
1089
1089
|
let { original: j, modified: ue } = se.current.getModel();
|
1090
|
-
Q.current.editor.setModelLanguage(j,
|
1091
|
-
}, [a,
|
1090
|
+
Q.current.editor.setModelLanguage(j, l || a || "text"), Q.current.editor.setModelLanguage(ue, u || a || "text");
|
1091
|
+
}, [a, l, u], X), mt(() => {
|
1092
1092
|
var j;
|
1093
1093
|
(j = Q.current) == null || j.editor.setTheme(b);
|
1094
1094
|
}, [b], X), mt(() => {
|
@@ -1100,9 +1100,9 @@ function kg({ original: s, modified: i, language: a, originalLanguage: o, modifi
|
|
1100
1100
|
if (!Q.current)
|
1101
1101
|
return;
|
1102
1102
|
ie.current(Q.current);
|
1103
|
-
let j = ta(Q.current, s || "",
|
1103
|
+
let j = ta(Q.current, s || "", l || a || "text", p || ""), ue = ta(Q.current, i || "", u || a || "text", m || "");
|
1104
1104
|
(qe = se.current) == null || qe.setModel({ original: j, modified: ue });
|
1105
|
-
}, [a, i, u, s,
|
1105
|
+
}, [a, i, u, s, l, p, m]), Oe = La(() => {
|
1106
1106
|
var j;
|
1107
1107
|
!ft.current && Ne.current && (se.current = Q.current.editor.createDiffEditor(Ne.current, { automaticLayout: !0, ...k }), yt(), (j = Q.current) == null || j.editor.setTheme(b), L(!0), ft.current = !0);
|
1108
1108
|
}, [k, b, yt]);
|
@@ -1126,21 +1126,21 @@ function Cg(s) {
|
|
1126
1126
|
}, [s]), i.current;
|
1127
1127
|
}
|
1128
1128
|
var Sg = Cg, Bs = /* @__PURE__ */ new Map();
|
1129
|
-
function zg({ defaultValue: s, defaultLanguage: i, defaultPath: a, value:
|
1130
|
-
let [$, se] = Ma(!1), [Q, Ne] = Ma(!0), ge = Be(null), ie = Be(null), ft = Be(null), yt = Be(X), Oe = Be(pe), Pe = Be(), j = Be(
|
1129
|
+
function zg({ defaultValue: s, defaultLanguage: i, defaultPath: a, value: l, language: u, path: p, theme: m = "light", line: g, loading: v = "Loading...", options: b = {}, overrideServices: w = {}, saveViewState: k = !0, keepCurrentModel: z = !1, width: E = "100%", height: P = "100%", className: B, wrapperProps: te = {}, beforeMount: pe = Ra, onMount: X = Ra, onChange: L, onValidate: F = Ra }) {
|
1130
|
+
let [$, se] = Ma(!1), [Q, Ne] = Ma(!0), ge = Be(null), ie = Be(null), ft = Be(null), yt = Be(X), Oe = Be(pe), Pe = Be(), j = Be(l), ue = Sg(p), qe = Be(!1), Ce = Be(!1);
|
1131
1131
|
Qc(() => {
|
1132
1132
|
let K = kn.init();
|
1133
1133
|
return K.then((_e) => (ge.current = _e) && Ne(!1)).catch((_e) => (_e == null ? void 0 : _e.type) !== "cancelation" && console.error("Monaco initialization: error:", _e)), () => ie.current ? Ht() : K.cancel();
|
1134
1134
|
}), mt(() => {
|
1135
1135
|
var _e, Le, $t, Xe;
|
1136
|
-
let K = ta(ge.current, s ||
|
1136
|
+
let K = ta(ge.current, s || l || "", i || u || "", p || a || "");
|
1137
1137
|
K !== ((_e = ie.current) == null ? void 0 : _e.getModel()) && (k && Bs.set(ue, (Le = ie.current) == null ? void 0 : Le.saveViewState()), ($t = ie.current) == null || $t.setModel(K), k && ((Xe = ie.current) == null || Xe.restoreViewState(Bs.get(p))));
|
1138
1138
|
}, [p], $), mt(() => {
|
1139
1139
|
var K;
|
1140
1140
|
(K = ie.current) == null || K.updateOptions(b);
|
1141
1141
|
}, [b], $), mt(() => {
|
1142
|
-
!ie.current ||
|
1143
|
-
}, [
|
1142
|
+
!ie.current || l === void 0 || (ie.current.getOption(ge.current.editor.EditorOption.readOnly) ? ie.current.setValue(l) : l !== ie.current.getValue() && (Ce.current = !0, ie.current.executeEdits("", [{ range: ie.current.getModel().getFullModelRange(), text: l, forceMoveMarkers: !0 }]), ie.current.pushUndoStop(), Ce.current = !1));
|
1143
|
+
}, [l], $), mt(() => {
|
1144
1144
|
var _e, Le;
|
1145
1145
|
let K = (_e = ie.current) == null ? void 0 : _e.getModel();
|
1146
1146
|
K && u && ((Le = ge.current) == null || Le.editor.setModelLanguage(K, u));
|
@@ -1155,15 +1155,15 @@ function zg({ defaultValue: s, defaultLanguage: i, defaultPath: a, value: o, lan
|
|
1155
1155
|
var K;
|
1156
1156
|
if (!(!ft.current || !ge.current) && !qe.current) {
|
1157
1157
|
Oe.current(ge.current);
|
1158
|
-
let _e = p || a, Le = ta(ge.current,
|
1158
|
+
let _e = p || a, Le = ta(ge.current, l || s || "", i || u || "", _e || "");
|
1159
1159
|
ie.current = (K = ge.current) == null ? void 0 : K.editor.create(ft.current, { model: Le, automaticLayout: !0, ...b }, w), k && ie.current.restoreViewState(Bs.get(_e)), ge.current.editor.setTheme(m), g !== void 0 && ie.current.revealLine(g), se(!0), qe.current = !0;
|
1160
1160
|
}
|
1161
|
-
}, [s, i, a,
|
1161
|
+
}, [s, i, a, l, u, p, b, w, k, m, g]);
|
1162
1162
|
kt(() => {
|
1163
1163
|
$ && yt.current(ie.current, ge.current);
|
1164
1164
|
}, [$]), kt(() => {
|
1165
1165
|
!Q && !$ && Me();
|
1166
|
-
}, [Q, $, Me]), j.current =
|
1166
|
+
}, [Q, $, Me]), j.current = l, kt(() => {
|
1167
1167
|
var K, _e;
|
1168
1168
|
$ && L && ((K = Pe.current) == null || K.dispose(), Pe.current = (_e = ie.current) == null ? void 0 : _e.onDidChangeModelContent((Le) => {
|
1169
1169
|
Ce.current || L(ie.current.getValue(), Le);
|
@@ -1189,7 +1189,7 @@ function zg({ defaultValue: s, defaultLanguage: i, defaultPath: a, value: o, lan
|
|
1189
1189
|
var K, _e;
|
1190
1190
|
(K = Pe.current) == null || K.dispose(), z ? k && Bs.set(p, ie.current.saveViewState()) : (_e = ie.current.getModel()) == null || _e.dispose(), ie.current.dispose();
|
1191
1191
|
}
|
1192
|
-
return hr.createElement(Vc, { width: E, height: P, isEditorReady: $, loading: v, _ref: ft, className: B, wrapperProps:
|
1192
|
+
return hr.createElement(Vc, { width: E, height: P, isEditorReady: $, loading: v, _ref: ft, className: B, wrapperProps: te });
|
1193
1193
|
}
|
1194
1194
|
var Ng = zg, Og = Dn(Ng);
|
1195
1195
|
const uc = {
|
@@ -60230,19 +60230,19 @@ else
|
|
60230
60230
|
};
|
60231
60231
|
function Rg() {
|
60232
60232
|
const s = {}, i = {};
|
60233
|
-
return Object.keys(uc).reduce((a,
|
60234
|
-
const u = uc[
|
60235
|
-
return a.keyMapList[
|
60233
|
+
return Object.keys(uc).reduce((a, l) => {
|
60234
|
+
const u = uc[l], p = De[l], { mapObj: m, keys: g } = Mg(u, p);
|
60235
|
+
return a.keyMapList[l] = m, a.keyList[l] = g, a;
|
60236
60236
|
}, { keyList: s, keyMapList: i }), { keyList: s, keyMapList: i };
|
60237
60237
|
}
|
60238
60238
|
function Mg(s, i) {
|
60239
|
-
const a = /* @__PURE__ */ new Map(),
|
60239
|
+
const a = /* @__PURE__ */ new Map(), l = [];
|
60240
60240
|
return s.forEach((u) => {
|
60241
60241
|
var m;
|
60242
60242
|
u.title = i;
|
60243
60243
|
const p = u.originalName || u.name;
|
60244
|
-
p !== "for...in" && (a.has(p) ? (m = a.get(p)) == null || m.push(u) : (
|
60245
|
-
}), { mapObj: a, keys:
|
60244
|
+
p !== "for...in" && (a.has(p) ? (m = a.get(p)) == null || m.push(u) : (l.push(p), a.set(p, [u])));
|
60245
|
+
}), { mapObj: a, keys: l };
|
60246
60246
|
}
|
60247
60247
|
const { keyList: Mb, keyMapList: Ut } = Rg();
|
60248
60248
|
function Lg(s) {
|
@@ -60293,10 +60293,10 @@ ${i}
|
|
60293
60293
|
}
|
60294
60294
|
const he = new Fg();
|
60295
60295
|
function Bg(s, i = 0, a = !0) {
|
60296
|
-
const
|
60297
|
-
if (!
|
60296
|
+
const l = s[i];
|
60297
|
+
if (!l)
|
60298
60298
|
return "";
|
60299
|
-
const u = /(Mac|iPhone|iPod|iPad)/i.test(window.navigator.userAgent), { name: p, title: m, desc: g, type: v, syntax: b, returns: w, remarks: k, fields: z } =
|
60299
|
+
const u = /(Mac|iPhone|iPod|iPad)/i.test(window.navigator.userAgent), { name: p, title: m, desc: g, type: v, syntax: b, returns: w, remarks: k, fields: z } = l, E = [`${he.bold(p)} (${m})`];
|
60300
60300
|
if (s.length > 1 && E.push(he.italic(`+${s.length - 1} overloads`)), E.push(he.delimiter), g && E.push(he.paragraph(Array.isArray(g) ? g.join(he.lineBreak) : g || "")), v && E.push(he.paragraph(he.bold(Dt.Type), he.italic(v))), b && b.length && E.push(he.paragraph(he.bold(Dt.Syntax), he.pineCode(b.join(he.lineBreak)))), w && E.push(he.paragraph(he.bold(Dt.Returns), he.lineBreak, w.join(he.lineBreak))), k && k.length && s.length <= 1) {
|
60301
60301
|
let P = "";
|
60302
60302
|
typeof k == "string" ? P = k : P = k.join(he.lineBreak) || "", P.length < 200 && E.push(he.paragraph(he.bold(Dt.Remarks), he.lineBreak, P));
|
@@ -60304,8 +60304,8 @@ function Bg(s, i = 0, a = !0) {
|
|
60304
60304
|
if (z) {
|
60305
60305
|
const P = [];
|
60306
60306
|
for (const B of z) {
|
60307
|
-
const
|
60308
|
-
P.push(`${B.name} (${B.type}) ${
|
60307
|
+
const te = B.desc ? ` - ${B.desc}` : "";
|
60308
|
+
P.push(`${B.name} (${B.type}) ${te}`);
|
60309
60309
|
}
|
60310
60310
|
E.push(he.paragraph(he.bold(Dt.Fields), he.lineBreak, P.join(he.paragraphBreak)));
|
60311
60311
|
}
|
@@ -60436,19 +60436,19 @@ class Hg {
|
|
60436
60436
|
_initUserDefind() {
|
60437
60437
|
this._userFuncArgsCache.clear(), this._userNamespaceCache.clear(), this._userOutermostNsItems.clear(), this._methodNamespaceCache.clear(), this._methodFuncs.clear();
|
60438
60438
|
}
|
60439
|
-
setUserDefind(i, a,
|
60439
|
+
setUserDefind(i, a, l, u) {
|
60440
60440
|
this._initUserDefind();
|
60441
60441
|
const p = this._mergeTreeSlices(this._generateTreeSlice(Ut.methods, "method"), this._generateTreeSlice(u, "method"));
|
60442
60442
|
this._getMethodNamespaceCache(p), this._userMethods = u, this._userTypes = a, this._userFunctions = i;
|
60443
60443
|
const m = this._generateTreeSlice(i, "fun");
|
60444
|
-
this._userSuggestions = this._getAllUserCompletionItems(m, this._generateTreeSlice(a, "type"), this._generateTreeSlice(
|
60444
|
+
this._userSuggestions = this._getAllUserCompletionItems(m, this._generateTreeSlice(a, "type"), this._generateTreeSlice(l, "var")), this._getUserFuncArgumentsCompletionItemsToCache(m);
|
60445
60445
|
}
|
60446
|
-
_getAllUserCompletionItems(i, a,
|
60447
|
-
const u = this._getUserVariableCompletionItems(
|
60446
|
+
_getAllUserCompletionItems(i, a, l) {
|
60447
|
+
const u = this._getUserVariableCompletionItems(l), p = this._getTypeCompletionItems(a, !0), m = this._getFunctionCompletionItems(i, void 0, !0);
|
60448
60448
|
return [...p, ...m, ...u, ...this._userOutermostNsItems.values()];
|
60449
60449
|
}
|
60450
60450
|
_getAllCompletionItems() {
|
60451
|
-
const { variables: i, keywords: a, types:
|
60451
|
+
const { variables: i, keywords: a, types: l, functions: u } = this._builtinSubtreeCache, p = this._getVariableCompletionItems(i), m = this._getKeywordCompletionItems(a), g = this._getTypeCompletionItems(l), v = this._getFunctionCompletionItems(u), b = this._getSnippetsCompletionsList();
|
60452
60452
|
return [...p, ...m, ...g, ...v, ...this._outermostNsItems.values(), ...b];
|
60453
60453
|
}
|
60454
60454
|
_getNodeKey(i, a) {
|
@@ -60456,8 +60456,8 @@ class Hg {
|
|
60456
60456
|
}
|
60457
60457
|
_mergeTreeSlices(...i) {
|
60458
60458
|
const a = /* @__PURE__ */ new Map();
|
60459
|
-
for (const
|
60460
|
-
for (const [u, p] of
|
60459
|
+
for (const l of i)
|
60460
|
+
for (const [u, p] of l) {
|
60461
60461
|
const m = a.get(u);
|
60462
60462
|
m ? a.set(u, {
|
60463
60463
|
...m,
|
@@ -60467,17 +60467,17 @@ class Hg {
|
|
60467
60467
|
return a;
|
60468
60468
|
}
|
60469
60469
|
_mergeCompletions(i, a) {
|
60470
|
-
const
|
60471
|
-
|
60470
|
+
const l = this._namespaceCache.get(i);
|
60471
|
+
l ? this._namespaceCache.set(i, [...l, ...a]) : this._namespaceCache.set(i, a);
|
60472
60472
|
}
|
60473
60473
|
_mergeUserCompletions(i, a) {
|
60474
|
-
const
|
60475
|
-
|
60474
|
+
const l = this._userNamespaceCache.get(i);
|
60475
|
+
l ? this._userNamespaceCache.set(i, [...l, ...a]) : this._userNamespaceCache.set(i, a);
|
60476
60476
|
}
|
60477
60477
|
_generateTreeSlice(i, a) {
|
60478
|
-
const
|
60478
|
+
const l = /* @__PURE__ */ new Map();
|
60479
60479
|
for (const [u, p] of i) {
|
60480
|
-
const [m, ...g] = u.split("."), v = g.length > 0, b =
|
60480
|
+
const [m, ...g] = u.split("."), v = g.length > 0, b = l.get(this._getNodeKey(m, v ? "ns" : a));
|
60481
60481
|
let w = /* @__PURE__ */ new Map(), k = p.map((E) => ({
|
60482
60482
|
...E,
|
60483
60483
|
name: u
|
@@ -60492,24 +60492,24 @@ class Hg {
|
|
60492
60492
|
b && (k = [{
|
60493
60493
|
name: m,
|
60494
60494
|
title: De.namespace
|
60495
|
-
}], w = this._mergeTreeSlices(b.children, w)),
|
60495
|
+
}], w = this._mergeTreeSlices(b.children, w)), l.set(z, {
|
60496
60496
|
value: k,
|
60497
60497
|
children: w
|
60498
60498
|
});
|
60499
60499
|
}
|
60500
|
-
return
|
60500
|
+
return l;
|
60501
60501
|
}
|
60502
60502
|
_getBuiltinsCacheFragment() {
|
60503
|
-
const { keywords: i, variables: a, constants:
|
60503
|
+
const { keywords: i, variables: a, constants: l, types: u, functions: p } = Ut;
|
60504
60504
|
return this._builtinSubtreeCache = {
|
60505
60505
|
keywords: this._generateTreeSlice(i, "key"),
|
60506
|
-
variables: this._mergeTreeSlices(this._generateTreeSlice(a, "var"), this._generateTreeSlice(
|
60506
|
+
variables: this._mergeTreeSlices(this._generateTreeSlice(a, "var"), this._generateTreeSlice(l, "var")),
|
60507
60507
|
types: this._generateTreeSlice(u, "type"),
|
60508
60508
|
functions: this._generateTreeSlice(p, "fun")
|
60509
60509
|
}, this._builtinSubtreeCache;
|
60510
60510
|
}
|
60511
60511
|
_getVariableCompletionItems(i, a) {
|
60512
|
-
const
|
60512
|
+
const l = [], u = [];
|
60513
60513
|
for (const [p, m] of i) {
|
60514
60514
|
const { value: g, children: v } = m;
|
60515
60515
|
if (p.startsWith("ns")) {
|
@@ -60520,7 +60520,7 @@ class Hg {
|
|
60520
60520
|
b.label = k, b.insertText = k;
|
60521
60521
|
}
|
60522
60522
|
const w = this._getVariableCompletionItems(v, b.label);
|
60523
|
-
a || this._outermostNsItems.set(p, b),
|
60523
|
+
a || this._outermostNsItems.set(p, b), l.push(...w);
|
60524
60524
|
} else {
|
60525
60525
|
const b = this._getVariableCompletionItem(g[0], a ? 3 : 2);
|
60526
60526
|
if (a) {
|
@@ -60528,34 +60528,34 @@ class Hg {
|
|
60528
60528
|
const { label: w } = b;
|
60529
60529
|
b.label = `${a}.${w}`, b.insertText = `${a}.${b.insertText}`, b.filterText = `${w}\r`;
|
60530
60530
|
}
|
60531
|
-
|
60531
|
+
l.push(b);
|
60532
60532
|
}
|
60533
60533
|
}
|
60534
|
-
return u.length && a && this._mergeCompletions(a, u),
|
60534
|
+
return u.length && a && this._mergeCompletions(a, u), l;
|
60535
60535
|
}
|
60536
60536
|
_setUserVariableSubItems(i, a) {
|
60537
60537
|
var b, w, k, z;
|
60538
|
-
let
|
60538
|
+
let l = [];
|
60539
60539
|
const u = Ug(i.type || ""), p = this._methodNamespaceCache.get(u), m = a ? `${a}.${i.name}` : i.name;
|
60540
|
-
p && (
|
60540
|
+
p && (l = p.filter((E) => {
|
60541
60541
|
var pe;
|
60542
|
-
const P = `${u}.${E.label}`, B = Ut.methods.get(P) || this._userMethods.get(P),
|
60543
|
-
if (
|
60542
|
+
const P = `${u}.${E.label}`, B = Ut.methods.get(P) || this._userMethods.get(P), te = B == null ? void 0 : B.some((X) => !X.thisType || X.thisType[0].includes("<>") || X.thisType.includes(i.type || ""));
|
60543
|
+
if (te && B) {
|
60544
60544
|
const X = this._getNamedArgumentsCompletionList(((pe = B[0]) == null ? void 0 : pe.args) || []), L = `${m}.${E.label}`;
|
60545
60545
|
this._userFuncArgsCache.set(L, X), this._methodFuncs.set(L, B);
|
60546
60546
|
}
|
60547
|
-
return
|
60547
|
+
return te;
|
60548
60548
|
}));
|
60549
60549
|
const { types: g } = Ut, v = ((w = (b = this._userTypes.get(u)) == null ? void 0 : b[0]) == null ? void 0 : w.fields) || ((z = (k = g.get(u)) == null ? void 0 : k[0]) == null ? void 0 : z.fields);
|
60550
60550
|
if (v)
|
60551
60551
|
for (const E of v) {
|
60552
|
-
const P = E.name, B = E.type,
|
60553
|
-
this._setUserVariableSubItems({ name: P, type: B }, i.name),
|
60552
|
+
const P = E.name, B = E.type, te = this._getInstanceTypeCompletionItemProp({ name: P, type: B });
|
60553
|
+
this._setUserVariableSubItems({ name: P, type: B }, i.name), l.push({ ...te });
|
60554
60554
|
}
|
60555
|
-
|
60555
|
+
l.length && this._mergeUserCompletions(m, l);
|
60556
60556
|
}
|
60557
60557
|
_getUserVariableCompletionItems(i, a) {
|
60558
|
-
const
|
60558
|
+
const l = [], u = [];
|
60559
60559
|
for (const [p, m] of i) {
|
60560
60560
|
const { value: g, children: v } = m;
|
60561
60561
|
if (this._setUserVariableSubItems(g[0]), p.startsWith("ns")) {
|
@@ -60566,7 +60566,7 @@ class Hg {
|
|
60566
60566
|
b.label = k, b.insertText = k;
|
60567
60567
|
}
|
60568
60568
|
const w = this._getUserVariableCompletionItems(v, b.label);
|
60569
|
-
a || this._userOutermostNsItems.set(p, b),
|
60569
|
+
a || this._userOutermostNsItems.set(p, b), l.push(...w);
|
60570
60570
|
} else {
|
60571
60571
|
const b = this._getVariableCompletionItem(g[0], a ? 2 : 1, !0);
|
60572
60572
|
if (a) {
|
@@ -60574,35 +60574,35 @@ class Hg {
|
|
60574
60574
|
const { label: w } = b;
|
60575
60575
|
b.label = `${a}.${w}`, b.insertText = `${a}.${b.insertText}`, b.filterText = `${w}\r`;
|
60576
60576
|
}
|
60577
|
-
|
60577
|
+
l.push(b);
|
60578
60578
|
}
|
60579
60579
|
}
|
60580
|
-
return u.length && a && this._mergeUserCompletions(a, u),
|
60580
|
+
return u.length && a && this._mergeUserCompletions(a, u), l;
|
60581
60581
|
}
|
60582
60582
|
_getTypeCompletionItems(i, a = !1) {
|
60583
|
-
const
|
60583
|
+
const l = [];
|
60584
60584
|
for (const [, u] of i) {
|
60585
60585
|
const { value: p } = u, m = a ? this._getCustomTypeCompletionItem(p[0]) : this._getTypeCompletionItem(p[0]);
|
60586
|
-
|
60586
|
+
l.push(m);
|
60587
60587
|
}
|
60588
|
-
return
|
60588
|
+
return l;
|
60589
60589
|
}
|
60590
60590
|
_getKeywordCompletionItems(i) {
|
60591
60591
|
const a = [];
|
60592
|
-
for (const [,
|
60593
|
-
const { value: u } =
|
60592
|
+
for (const [, l] of i) {
|
60593
|
+
const { value: u } = l, p = this._getKeywordCompletionItem(u[0]);
|
60594
60594
|
a.push(p);
|
60595
60595
|
}
|
60596
60596
|
return a;
|
60597
60597
|
}
|
60598
60598
|
_getMethodNamespaceCache(i, a) {
|
60599
|
-
const
|
60599
|
+
const l = [];
|
60600
60600
|
for (const [u, p] of i) {
|
60601
60601
|
const { value: m, children: g } = p;
|
60602
60602
|
if (u.startsWith("ns")) {
|
60603
60603
|
const v = this._getNamespaceCompletionItem(m[0]);
|
60604
60604
|
if (a) {
|
60605
|
-
|
60605
|
+
l.push({ ...v });
|
60606
60606
|
const b = `${a}.${v.label}`;
|
60607
60607
|
v.label = b, v.insertText = b;
|
60608
60608
|
}
|
@@ -60610,15 +60610,15 @@ class Hg {
|
|
60610
60610
|
} else {
|
60611
60611
|
const v = this._getFunctionCompletionItem(m[0], a ? 3 : 2);
|
60612
60612
|
if (m.length > 1 && (v.detail = `${v.detail} (+${m.length - 1} overloads)`), a) {
|
60613
|
-
|
60613
|
+
l.push({ ...v });
|
60614
60614
|
const { label: b } = v;
|
60615
60615
|
v.label = `${a}.${b}`, v.insertText = `${a}.${v.insertText}`, v.filterText = `${b}\r`;
|
60616
60616
|
}
|
60617
60617
|
}
|
60618
60618
|
}
|
60619
|
-
a && this._methodNamespaceCache.set(a,
|
60619
|
+
a && this._methodNamespaceCache.set(a, l);
|
60620
60620
|
}
|
60621
|
-
_getFunctionCompletionItems(i, a,
|
60621
|
+
_getFunctionCompletionItems(i, a, l = !1) {
|
60622
60622
|
const u = [], p = [];
|
60623
60623
|
for (const [m, g] of i) {
|
60624
60624
|
const { value: v, children: b } = g;
|
@@ -60629,10 +60629,10 @@ class Hg {
|
|
60629
60629
|
const z = `${a}.${w.label}`;
|
60630
60630
|
w.label = z, w.insertText = z;
|
60631
60631
|
}
|
60632
|
-
const k = this._getFunctionCompletionItems(b, w.label,
|
60633
|
-
a || (
|
60632
|
+
const k = this._getFunctionCompletionItems(b, w.label, l);
|
60633
|
+
a || (l ? this._userOutermostNsItems.set(m, w) : this._outermostNsItems.set(m, w)), u.push(...k);
|
60634
60634
|
} else {
|
60635
|
-
const w = this._getFunctionCompletionItem(v[0], a ? 3 : 2,
|
60635
|
+
const w = this._getFunctionCompletionItem(v[0], a ? 3 : 2, l);
|
60636
60636
|
if (v.length > 1 && (w.detail = `${w.detail} (+${v.length - 1} overloads)`), a) {
|
60637
60637
|
p.push({ ...w });
|
60638
60638
|
const { label: k } = w;
|
@@ -60641,16 +60641,16 @@ class Hg {
|
|
60641
60641
|
u.push(w);
|
60642
60642
|
}
|
60643
60643
|
}
|
60644
|
-
return p.length && a && (
|
60644
|
+
return p.length && a && (l ? this._mergeUserCompletions(a, p) : this._mergeCompletions(a, p)), u;
|
60645
60645
|
}
|
60646
60646
|
_getSnippetsCompletionsList() {
|
60647
60647
|
return Pg.map((i) => {
|
60648
|
-
const { label: a, kind:
|
60648
|
+
const { label: a, kind: l, insertText: u } = i, p = a.charAt(0).toUpperCase() + a.substring(1), m = {
|
60649
60649
|
value: this._formatter.pineCode(u.replace(/\${\d:([^}]+)}|\${\d}/g, "$1"))
|
60650
60650
|
};
|
60651
60651
|
return {
|
60652
60652
|
label: a,
|
60653
|
-
detail: `(${p} ${
|
60653
|
+
detail: `(${p} ${l})`,
|
60654
60654
|
insertText: u,
|
60655
60655
|
insertTextRules: Ot.CompletionItemInsertTextRule.InsertAsSnippet,
|
60656
60656
|
sortText: `2_${a}`,
|
@@ -60660,9 +60660,9 @@ class Hg {
|
|
60660
60660
|
});
|
60661
60661
|
}
|
60662
60662
|
_getFuncArgumentsCompletionItemsToCache(i, a) {
|
60663
|
-
for (const [
|
60663
|
+
for (const [l, u] of i) {
|
60664
60664
|
const { name: p } = u.value[0];
|
60665
|
-
if (
|
60665
|
+
if (l.startsWith("ns"))
|
60666
60666
|
this._getFuncArgumentsCompletionItemsToCache(u.children, a ? `${a}.${p}` : p);
|
60667
60667
|
else {
|
60668
60668
|
const m = /* @__PURE__ */ new Map();
|
@@ -60678,9 +60678,9 @@ class Hg {
|
|
60678
60678
|
}
|
60679
60679
|
}
|
60680
60680
|
_getUserFuncArgumentsCompletionItemsToCache(i, a) {
|
60681
|
-
for (const [
|
60681
|
+
for (const [l, u] of i) {
|
60682
60682
|
const { name: p } = u.value[0];
|
60683
|
-
if (
|
60683
|
+
if (l.startsWith("ns"))
|
60684
60684
|
this._getUserFuncArgumentsCompletionItemsToCache(u.children, a ? `${a}.${p}` : p);
|
60685
60685
|
else {
|
60686
60686
|
const m = /* @__PURE__ */ new Map();
|
@@ -60697,7 +60697,7 @@ class Hg {
|
|
60697
60697
|
}
|
60698
60698
|
_getNamedArgumentsCompletionList(i) {
|
60699
60699
|
return i.map((a) => {
|
60700
|
-
const { name:
|
60700
|
+
const { name: l, desc: u, displayType: p } = a, m = `${l} = `, g = Array.isArray(u) ? u.join(this._formatter.delimiter) : u || "";
|
60701
60701
|
return {
|
60702
60702
|
label: m,
|
60703
60703
|
documentation: {
|
@@ -60710,12 +60710,12 @@ class Hg {
|
|
60710
60710
|
};
|
60711
60711
|
});
|
60712
60712
|
}
|
60713
|
-
_getVariableCompletionItem(i, a = 2,
|
60713
|
+
_getVariableCompletionItem(i, a = 2, l = !0) {
|
60714
60714
|
const u = this._extractExamples(i), p = this._extractDescription(i), m = [this._createDescriptionSection(p)];
|
60715
60715
|
u.length ? m.push(this._createExampleSection(u)) : i.syntax && i.syntax.length && m.push(this._createSyntaxSection(i.syntax));
|
60716
60716
|
const g = {
|
60717
60717
|
value: m.join(this._formatter.lineBreak)
|
60718
|
-
}, v =
|
60718
|
+
}, v = l ? De.variables : De.userDefinedVariable;
|
60719
60719
|
return {
|
60720
60720
|
documentation: g,
|
60721
60721
|
label: i.name,
|
@@ -60726,8 +60726,8 @@ class Hg {
|
|
60726
60726
|
};
|
60727
60727
|
}
|
60728
60728
|
_getKeywordCompletionItem(i, a = 2) {
|
60729
|
-
const
|
60730
|
-
return
|
60729
|
+
const l = this._extractExamples(i), u = this._extractDescription(i), p = [this._createDescriptionSection(u)];
|
60730
|
+
return l.length ? p.push(this._createExampleSection(l)) : i.syntax && i.syntax.length && p.push(this._createSyntaxSection(i.syntax)), {
|
60731
60731
|
documentation: {
|
60732
60732
|
value: p.join(this._formatter.lineBreak)
|
60733
60733
|
},
|
@@ -60765,10 +60765,10 @@ class Hg {
|
|
60765
60765
|
};
|
60766
60766
|
}
|
60767
60767
|
_getInstanceTypeCompletionItemProp(i) {
|
60768
|
-
const a = this._extractDescription(i),
|
60769
|
-
return a &&
|
60768
|
+
const a = this._extractDescription(i), l = [];
|
60769
|
+
return a && l.push(this._formatter.paragraph(this._formatter.bold(Dt.Description), this._formatter.lineBreak, a)), {
|
60770
60770
|
documentation: {
|
60771
|
-
value:
|
60771
|
+
value: l.join(this._formatter.lineBreak)
|
60772
60772
|
},
|
60773
60773
|
label: i.name,
|
60774
60774
|
insertText: i.name,
|
@@ -60777,13 +60777,13 @@ class Hg {
|
|
60777
60777
|
detail: `(${De.field}) ${i.type}`
|
60778
60778
|
};
|
60779
60779
|
}
|
60780
|
-
_getFunctionCompletionItem(i, a = 2,
|
60780
|
+
_getFunctionCompletionItem(i, a = 2, l = !0) {
|
60781
60781
|
var E;
|
60782
60782
|
const u = i.returnedTypes && i.returnedTypes[0] || i.syntax && i.syntax[0] && ((E = i.syntax[0].split("→").pop()) == null ? void 0 : E.trim()), p = this._extractExamples(i), m = this._extractDescription(i), g = [this._createDescriptionSection(m)];
|
60783
60783
|
p.length ? g.push(this._createExampleSection(p)) : i.syntax && i.syntax.length && g.push(this._createSyntaxSection(i.syntax)), i.returns && i.returns.length && g.push(this._createReturnSection(i.returns));
|
60784
60784
|
const v = {
|
60785
60785
|
value: g.join(this._formatter.lineBreak)
|
60786
|
-
}, b = i.name, w =
|
60786
|
+
}, b = i.name, w = l ? De.functions : De.userDefinedFunction, k = i.template, z = k ? `${Lg(b)}<\${1}>` : b;
|
60787
60787
|
return {
|
60788
60788
|
documentation: v,
|
60789
60789
|
label: k ? `${b.replace(/<.+>/, "")}<type>` : b,
|
@@ -60803,11 +60803,11 @@ class Hg {
|
|
60803
60803
|
};
|
60804
60804
|
}
|
60805
60805
|
_getNamespaceCompletionItem(i, a = 2) {
|
60806
|
-
const
|
60806
|
+
const l = [this._createDescriptionSection(De.namespaceDesc)];
|
60807
60807
|
return {
|
60808
60808
|
label: i.name,
|
60809
60809
|
documentation: {
|
60810
|
-
value:
|
60810
|
+
value: l.join(this._formatter.lineBreak)
|
60811
60811
|
},
|
60812
60812
|
detail: `(${De.namespace}) ${i.name}`,
|
60813
60813
|
insertText: i.name,
|
@@ -60866,11 +60866,11 @@ class $g {
|
|
60866
60866
|
}), this._userFunctions = /* @__PURE__ */ new Map(), this._userVariables = /* @__PURE__ */ new Map(), this._userTypes = /* @__PURE__ */ new Map(), this._userMethods = /* @__PURE__ */ new Map(), this._overloadsFuncs = [];
|
60867
60867
|
}
|
60868
60868
|
setUserDefined(i, a) {
|
60869
|
-
const { functions:
|
60870
|
-
|
60869
|
+
const { functions: l, variables: u, types: p, methods: m } = i;
|
60870
|
+
l && (this._userFunctions = l), u && (this._userVariables = u), p && (this._userTypes = p), m && (this._userMethods = m), this._overloadsFuncs = a;
|
60871
60871
|
}
|
60872
|
-
parseLineContentFuncVar(i, a,
|
60873
|
-
let p = (
|
60872
|
+
parseLineContentFuncVar(i, a, l, u) {
|
60873
|
+
let p = (l == null ? void 0 : l.getLineContent(a)) || "";
|
60874
60874
|
const m = p.indexOf("//");
|
60875
60875
|
if (this._removeString(p).indexOf("//") !== -1 && m <= i)
|
60876
60876
|
return;
|
@@ -60878,8 +60878,8 @@ class $g {
|
|
60878
60878
|
const g = this._getVariablesDocVal(p, i, a);
|
60879
60879
|
if (g) {
|
60880
60880
|
if (g.isBuildIn) {
|
60881
|
-
const w =
|
60882
|
-
if (((
|
60881
|
+
const w = l == null ? void 0 : l.getWordAtPosition(u || new T_(a, i));
|
60882
|
+
if (((l == null ? void 0 : l.getValueInRange({ startLineNumber: a, startColumn: (w == null ? void 0 : w.endColumn) || 0, endLineNumber: a, endColumn: ((w == null ? void 0 : w.endColumn) || 0) + 2 })) || "").trim().startsWith("="))
|
60883
60883
|
return null;
|
60884
60884
|
}
|
60885
60885
|
return g;
|
@@ -60918,11 +60918,11 @@ class $g {
|
|
60918
60918
|
return Ut.methods.get(i);
|
60919
60919
|
}
|
60920
60920
|
_getBuildInOther(i) {
|
60921
|
-
const { keywords: a, variables:
|
60922
|
-
return a.get(i) ||
|
60921
|
+
const { keywords: a, variables: l, constants: u, types: p } = Ut;
|
60922
|
+
return a.get(i) || l.get(i) || u.get(i) || p.get(i);
|
60923
60923
|
}
|
60924
|
-
parseCurrentInputFunc(i, a = !1,
|
60925
|
-
let u = i.length - 1, p = 0, m = a, g =
|
60924
|
+
parseCurrentInputFunc(i, a = !1, l = !1) {
|
60925
|
+
let u = i.length - 1, p = 0, m = a, g = l;
|
60926
60926
|
for (; u >= 0; ) {
|
60927
60927
|
const v = i.charAt(u);
|
60928
60928
|
if (u -= 1, /['"]/.test(v)) {
|
@@ -60964,11 +60964,11 @@ class $g {
|
|
60964
60964
|
}
|
60965
60965
|
}
|
60966
60966
|
}
|
60967
|
-
parseCurrentInputFuncAndArg(i, a = !1,
|
60968
|
-
const { funcName: u, startIndex: p } = this.parseCurrentInputFunc(i, a,
|
60967
|
+
parseCurrentInputFuncAndArg(i, a = !1, l = !1) {
|
60968
|
+
const { funcName: u, startIndex: p } = this.parseCurrentInputFunc(i, a, l) || {};
|
60969
60969
|
if (u && typeof p == "number") {
|
60970
60970
|
let m = i.slice(p + u.length).trim().slice(1), g = -1;
|
60971
|
-
if (a && (g = m.lastIndexOf("'")),
|
60971
|
+
if (a && (g = m.lastIndexOf("'")), l) {
|
60972
60972
|
const w = m.lastIndexOf('"');
|
60973
60973
|
(w !== -1 && w < g || g === -1) && (g = w);
|
60974
60974
|
}
|
@@ -60986,7 +60986,7 @@ class $g {
|
|
60986
60986
|
_removeString(i) {
|
60987
60987
|
return i.replace(/\\"|\\'/g, "").replace(/"[^"]*"|'[^']*'/g, "");
|
60988
60988
|
}
|
60989
|
-
_getVariablesDocVal(i, a,
|
60989
|
+
_getVariablesDocVal(i, a, l) {
|
60990
60990
|
const u = this._removeString(i).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);
|
60991
60991
|
if (u) {
|
60992
60992
|
const p = this._matchContent(u, i, a);
|
@@ -60998,22 +60998,22 @@ class $g {
|
|
60998
60998
|
}, g = this._getBuildInOther(p.name);
|
60999
60999
|
if (g)
|
61000
61000
|
return m.docValue = g, m;
|
61001
|
-
const v = this._getUserVariablesDocVal(p.name, a,
|
61001
|
+
const v = this._getUserVariablesDocVal(p.name, a, l);
|
61002
61002
|
if (v)
|
61003
61003
|
return Object.assign(m, { docValue: [v], isBuildIn: !1 });
|
61004
61004
|
const b = this._getUserTypesDocVal(p.name);
|
61005
61005
|
if (b)
|
61006
61006
|
return Object.assign(m, { docValue: b, isBuildIn: !1 });
|
61007
|
-
const w = this._getTypesAndFileds(i, p.name, a,
|
61007
|
+
const w = this._getTypesAndFileds(i, p.name, a, l);
|
61008
61008
|
if (w && typeof w != "string")
|
61009
61009
|
return Object.assign(m, { docValue: [w], isBuildIn: !1 });
|
61010
61010
|
}
|
61011
61011
|
}
|
61012
61012
|
}
|
61013
|
-
_getUserVariablesDocVal(i, a,
|
61013
|
+
_getUserVariablesDocVal(i, a, l) {
|
61014
61014
|
const m = [...this._userVariables.get(i) || []].sort((g, v) => (v.scope || 0) - (g.scope || 0)).find((g) => {
|
61015
61015
|
const v = g.range;
|
61016
|
-
return ((v == null ? void 0 : v.startColumn) || 0) <= a && ((v == null ? void 0 : v.startLineNumber) || 0) <=
|
61016
|
+
return ((v == null ? void 0 : v.startColumn) || 0) <= a && ((v == null ? void 0 : v.startLineNumber) || 0) <= l && ((v == null ? void 0 : v.endLineNumber) || 0) >= l;
|
61017
61017
|
});
|
61018
61018
|
if (m)
|
61019
61019
|
return m.title = De.userDefinedVariable, m.type = this._arrayTypeTransform(m.type), m;
|
@@ -61023,22 +61023,22 @@ class $g {
|
|
61023
61023
|
if (a)
|
61024
61024
|
return a[0].title = De.userDefinedType, a;
|
61025
61025
|
}
|
61026
|
-
_getTypesAndFileds(i, a,
|
61026
|
+
_getTypesAndFileds(i, a, l, u) {
|
61027
61027
|
var p, m;
|
61028
61028
|
if (a.includes(".")) {
|
61029
61029
|
const g = a.split(".");
|
61030
|
-
let v = g[0], b, w = null, k = i.indexOf(a,
|
61030
|
+
let v = g[0], b, w = null, k = i.indexOf(a, l - a.length) + 1, z = k + v.length - 1;
|
61031
61031
|
for (const E of g.slice(1)) {
|
61032
61032
|
if (!w) {
|
61033
|
-
const P = k <=
|
61033
|
+
const P = k <= l && z >= l, B = this._getUserVariablesDocVal(v, l, u);
|
61034
61034
|
if (P && B)
|
61035
61035
|
return B;
|
61036
61036
|
w = B == null ? void 0 : B.type;
|
61037
61037
|
}
|
61038
61038
|
if (w) {
|
61039
61039
|
b = w, k = z + 2, z = z + E.length + 1;
|
61040
|
-
const P = this._userTypes.get(w) || Ut.types.get(w), B = (m = (p = P == null ? void 0 : P[0]) == null ? void 0 : p.fields) == null ? void 0 : m.find((
|
61041
|
-
if (B && k <=
|
61040
|
+
const P = this._userTypes.get(w) || Ut.types.get(w), B = (m = (p = P == null ? void 0 : P[0]) == null ? void 0 : p.fields) == null ? void 0 : m.find((te) => te.name === E);
|
61041
|
+
if (B && k <= l && z >= l)
|
61042
61042
|
return {
|
61043
61043
|
name: `${w}.${E}`,
|
61044
61044
|
desc: B.desc,
|
@@ -61052,7 +61052,7 @@ class $g {
|
|
61052
61052
|
return b;
|
61053
61053
|
}
|
61054
61054
|
}
|
61055
|
-
_getFuncsDocVal(i, a,
|
61055
|
+
_getFuncsDocVal(i, a, l) {
|
61056
61056
|
const u = i.match(/[a-zA-Z_][a-zA-Z_0-9]*(\s*\.\s*[a-zA-Z_][a-zA-Z_0-9]*)*(?=\s*\()/g);
|
61057
61057
|
if (u) {
|
61058
61058
|
const p = this._matchContent(u, i, a);
|
@@ -61063,19 +61063,19 @@ class $g {
|
|
61063
61063
|
index: 0
|
61064
61064
|
}, g = this._getBuildInFunc(p.name);
|
61065
61065
|
if (g)
|
61066
|
-
return m.index = this._getOverloadsFuncIndex(g, a, p.name,
|
61066
|
+
return m.index = this._getOverloadsFuncIndex(g, a, p.name, l), Object.assign(m, { docValue: g });
|
61067
61067
|
const v = this._getUserFuncsDocVal(p.name);
|
61068
61068
|
if (v)
|
61069
61069
|
return Object.assign(m, { docValue: v, isBuildIn: !1 });
|
61070
|
-
const b = this._getUserVarFuncsDocVal(i, p.name, a,
|
61070
|
+
const b = this._getUserVarFuncsDocVal(i, p.name, a, l);
|
61071
61071
|
if (b)
|
61072
61072
|
return Object.assign(m, { docValue: [b], isBuildIn: !1 });
|
61073
61073
|
}
|
61074
61074
|
}
|
61075
61075
|
}
|
61076
|
-
_getOverloadsFuncIndex(i, a,
|
61076
|
+
_getOverloadsFuncIndex(i, a, l, u) {
|
61077
61077
|
if (i.length > 1) {
|
61078
|
-
const p = this._overloadsFuncs.find((m) => m.name ===
|
61078
|
+
const p = this._overloadsFuncs.find((m) => m.name === l && m.line === u && m.startColumn <= a && m.endColumn >= a);
|
61079
61079
|
if (p)
|
61080
61080
|
return p.index;
|
61081
61081
|
}
|
@@ -61091,14 +61091,14 @@ class $g {
|
|
61091
61091
|
if (a)
|
61092
61092
|
return a[0].title = De.userDefinedMethod, a;
|
61093
61093
|
}
|
61094
|
-
_getUserVarFuncsDocVal(i, a,
|
61094
|
+
_getUserVarFuncsDocVal(i, a, l, u) {
|
61095
61095
|
var p;
|
61096
61096
|
if (a.includes(".")) {
|
61097
|
-
const m = a.split("."), g = this._getTypesAndFileds(i, a,
|
61097
|
+
const m = a.split("."), g = this._getTypesAndFileds(i, a, l, u);
|
61098
61098
|
if (typeof g == "string") {
|
61099
61099
|
const b = `${this._arrayTypeTransform(g).replace(/<[^<>]+>/, "").replace(/(series|simple|const|input)\s+([\w\d.]+)/, "$2")}.${m.pop()}`, w = this._getBuildInMethod(b);
|
61100
61100
|
if (w) {
|
61101
|
-
const k = this._getOverloadsFuncIndex(w,
|
61101
|
+
const k = this._getOverloadsFuncIndex(w, l, b, u);
|
61102
61102
|
return { ...w[0], name: b, index: k };
|
61103
61103
|
}
|
61104
61104
|
return (p = this._getUserMethodsDocVal(b)) == null ? void 0 : p[0];
|
@@ -61109,23 +61109,23 @@ class $g {
|
|
61109
61109
|
_arrayTypeTransform(i = "") {
|
61110
61110
|
return i.includes("[]") ? `array<${i.replace("[]", "")}>` : i;
|
61111
61111
|
}
|
61112
|
-
_matchContent(i, a,
|
61112
|
+
_matchContent(i, a, l) {
|
61113
61113
|
let u = 0;
|
61114
61114
|
for (const p of i) {
|
61115
|
-
u =
|
61115
|
+
u = l - p.length;
|
61116
61116
|
const m = a.indexOf(p, u);
|
61117
|
-
if (u = m + p.length, this._judgeVal(a, m, u) && m + 1 <=
|
61117
|
+
if (u = m + p.length, this._judgeVal(a, m, u) && m + 1 <= l && u >= l)
|
61118
61118
|
return {
|
61119
61119
|
name: p,
|
61120
61120
|
endIndex: u
|
61121
61121
|
};
|
61122
61122
|
}
|
61123
61123
|
}
|
61124
|
-
_judgeVal(i, a,
|
61124
|
+
_judgeVal(i, a, l) {
|
61125
61125
|
const u = i.charAt(a - 1), p = /[\w\d."']/;
|
61126
61126
|
if (p.test(u))
|
61127
61127
|
return !1;
|
61128
|
-
const m = i.charAt(
|
61128
|
+
const m = i.charAt(l);
|
61129
61129
|
return !p.test(m);
|
61130
61130
|
}
|
61131
61131
|
}
|
@@ -61142,9 +61142,9 @@ var Gs = { exports: {} };
|
|
61142
61142
|
Gs.exports;
|
61143
61143
|
(function(s, i) {
|
61144
61144
|
(function() {
|
61145
|
-
var a,
|
61145
|
+
var a, l = "4.17.21", u = 200, p = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", g = "Invalid `variable` option passed into `_.template`", v = "__lodash_hash_undefined__", b = 500, w = "__lodash_placeholder__", k = 1, z = 2, E = 4, P = 1, B = 2, te = 1, pe = 2, X = 4, L = 8, F = 16, $ = 32, se = 64, Q = 128, Ne = 256, ge = 512, ie = 30, ft = "...", yt = 800, Oe = 16, Pe = 1, j = 2, ue = 3, qe = 1 / 0, Ce = 9007199254740991, Me = 17976931348623157e292, Ht = NaN, K = 4294967295, _e = K - 1, Le = K >>> 1, $t = [
|
61146
61146
|
["ary", Q],
|
61147
|
-
["bind",
|
61147
|
+
["bind", te],
|
61148
61148
|
["bindKey", pe],
|
61149
61149
|
["curry", L],
|
61150
61150
|
["curryRight", F],
|
@@ -61786,15 +61786,15 @@ Gs.exports;
|
|
61786
61786
|
return e;
|
61787
61787
|
}
|
61788
61788
|
function Ed() {
|
61789
|
-
var e = this.__wrapped__.value(), t = this.__dir__, r = V(e), n = t < 0,
|
61790
|
-
if (!r || !n &&
|
61789
|
+
var e = this.__wrapped__.value(), t = this.__dir__, r = V(e), n = t < 0, o = r ? e.length : 0, d = Xp(0, o, this.__views__), f = d.start, h = d.end, x = h - f, A = n ? h : f - 1, q = this.__iteratees__, C = q.length, O = 0, M = He(x, this.__takeCount__);
|
61790
|
+
if (!r || !n && o == x && M == x)
|
61791
61791
|
return Wo(e, this.__actions__);
|
61792
61792
|
var W = [];
|
61793
61793
|
e:
|
61794
61794
|
for (; x-- && O < M; ) {
|
61795
61795
|
A += t;
|
61796
|
-
for (var
|
61797
|
-
var ae = q[
|
61796
|
+
for (var Z = -1, H = e[A]; ++Z < C; ) {
|
61797
|
+
var ae = q[Z], le = ae.iteratee, ut = ae.type, Ve = le(H);
|
61798
61798
|
if (ut == j)
|
61799
61799
|
H = Ve;
|
61800
61800
|
else if (!Ve) {
|
@@ -61938,11 +61938,11 @@ Gs.exports;
|
|
61938
61938
|
}
|
61939
61939
|
St.prototype.clear = Zd, St.prototype.delete = ep, St.prototype.get = tp, St.prototype.has = rp, St.prototype.set = ap;
|
61940
61940
|
function xo(e, t) {
|
61941
|
-
var r = V(e), n = !r && Sr(e),
|
61941
|
+
var r = V(e), n = !r && Sr(e), o = !r && !n && yr(e), d = !r && !n && !o && Jr(e), f = r || n || o || d, h = f ? _i(e.length, md) : [], x = h.length;
|
61942
61942
|
for (var A in e)
|
61943
61943
|
(t || ye.call(e, A)) && !(f && // Safari 9 has enumerable `arguments.length` in strict mode.
|
61944
61944
|
(A == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
61945
|
-
|
61945
|
+
o && (A == "offset" || A == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
61946
61946
|
d && (A == "buffer" || A == "byteLength" || A == "byteOffset") || // Skip index properties.
|
61947
61947
|
er(A, x))) && h.push(A);
|
61948
61948
|
return h;
|
@@ -61971,8 +61971,8 @@ Gs.exports;
|
|
61971
61971
|
return -1;
|
61972
61972
|
}
|
61973
61973
|
function np(e, t, r, n) {
|
61974
|
-
return dr(e, function(
|
61975
|
-
t(n,
|
61974
|
+
return dr(e, function(o, d, f) {
|
61975
|
+
t(n, o, r(o), f);
|
61976
61976
|
}), n;
|
61977
61977
|
}
|
61978
61978
|
function wo(e, t) {
|
@@ -61990,16 +61990,16 @@ Gs.exports;
|
|
61990
61990
|
}) : e[t] = r;
|
61991
61991
|
}
|
61992
61992
|
function Di(e, t) {
|
61993
|
-
for (var r = -1, n = t.length,
|
61994
|
-
|
61995
|
-
return
|
61993
|
+
for (var r = -1, n = t.length, o = T(n), d = e == null; ++r < n; )
|
61994
|
+
o[r] = d ? a : nn(e, t[r]);
|
61995
|
+
return o;
|
61996
61996
|
}
|
61997
61997
|
function kr(e, t, r) {
|
61998
61998
|
return e === e && (r !== a && (e = e <= r ? e : r), t !== a && (e = e >= t ? e : t)), e;
|
61999
61999
|
}
|
62000
|
-
function vt(e, t, r, n,
|
62000
|
+
function vt(e, t, r, n, o, d) {
|
62001
62001
|
var f, h = t & k, x = t & z, A = t & E;
|
62002
|
-
if (r && (f =
|
62002
|
+
if (r && (f = o ? r(e, n, o, d) : r(e)), f !== a)
|
62003
62003
|
return f;
|
62004
62004
|
if (!Ie(e))
|
62005
62005
|
return e;
|
@@ -62011,12 +62011,12 @@ Gs.exports;
|
|
62011
62011
|
var C = $e(e), O = C == br || C == Wa;
|
62012
62012
|
if (yr(e))
|
62013
62013
|
return Go(e, h);
|
62014
|
-
if (C == ht || C == Xe || O && !
|
62014
|
+
if (C == ht || C == Xe || O && !o) {
|
62015
62015
|
if (f = x || O ? {} : dl(e), !h)
|
62016
62016
|
return x ? Lp(e, op(f, e)) : Mp(e, wo(f, e));
|
62017
62017
|
} else {
|
62018
62018
|
if (!xe[C])
|
62019
|
-
return
|
62019
|
+
return o ? e : {};
|
62020
62020
|
f = Vp(e, C, h);
|
62021
62021
|
}
|
62022
62022
|
}
|
@@ -62029,9 +62029,9 @@ Gs.exports;
|
|
62029
62029
|
}) : Ll(e) && e.forEach(function(H, ae) {
|
62030
62030
|
f.set(ae, vt(H, t, r, ae, e, d));
|
62031
62031
|
});
|
62032
|
-
var W = A ? x ? $i : Hi : x ? rt : Fe,
|
62033
|
-
return gt(
|
62034
|
-
|
62032
|
+
var W = A ? x ? $i : Hi : x ? rt : Fe, Z = q ? a : W(e);
|
62033
|
+
return gt(Z || e, function(H, ae) {
|
62034
|
+
Z && (ae = H, H = e[ae]), xa(f, ae, vt(H, t, r, ae, e, d));
|
62035
62035
|
}), f;
|
62036
62036
|
}
|
62037
62037
|
function lp(e) {
|
@@ -62045,8 +62045,8 @@ Gs.exports;
|
|
62045
62045
|
if (e == null)
|
62046
62046
|
return !n;
|
62047
62047
|
for (e = be(e); n--; ) {
|
62048
|
-
var
|
62049
|
-
if (f === a && !(
|
62048
|
+
var o = r[n], d = t[o], f = e[o];
|
62049
|
+
if (f === a && !(o in e) || !d(f))
|
62050
62050
|
return !1;
|
62051
62051
|
}
|
62052
62052
|
return !0;
|
@@ -62059,13 +62059,13 @@ Gs.exports;
|
|
62059
62059
|
}, t);
|
62060
62060
|
}
|
62061
62061
|
function va(e, t, r, n) {
|
62062
|
-
var
|
62062
|
+
var o = -1, d = es, f = !0, h = e.length, x = [], A = t.length;
|
62063
62063
|
if (!h)
|
62064
62064
|
return x;
|
62065
62065
|
r && (t = we(t, ot(r))), n ? (d = di, f = !1) : t.length >= u && (d = fa, f = !1, t = new Dr(t));
|
62066
62066
|
e:
|
62067
|
-
for (; ++
|
62068
|
-
var q = e[
|
62067
|
+
for (; ++o < h; ) {
|
62068
|
+
var q = e[o], C = r == null ? q : r(q);
|
62069
62069
|
if (q = n || q !== 0 ? q : 0, f && C === C) {
|
62070
62070
|
for (var O = A; O--; )
|
62071
62071
|
if (t[O] === C)
|
@@ -62079,12 +62079,12 @@ Gs.exports;
|
|
62079
62079
|
var dr = Qo(Lt), Do = Qo(Ai, !0);
|
62080
62080
|
function cp(e, t) {
|
62081
62081
|
var r = !0;
|
62082
|
-
return dr(e, function(n,
|
62083
|
-
return r = !!t(n,
|
62082
|
+
return dr(e, function(n, o, d) {
|
62083
|
+
return r = !!t(n, o, d), r;
|
62084
62084
|
}), r;
|
62085
62085
|
}
|
62086
62086
|
function gs(e, t, r) {
|
62087
|
-
for (var n = -1,
|
62087
|
+
for (var n = -1, o = e.length; ++n < o; ) {
|
62088
62088
|
var d = e[n], f = t(d);
|
62089
62089
|
if (f != null && (h === a ? f === f && !ct(f) : r(f, h)))
|
62090
62090
|
var h = f, x = d;
|
@@ -62092,24 +62092,24 @@ Gs.exports;
|
|
62092
62092
|
return x;
|
62093
62093
|
}
|
62094
62094
|
function up(e, t, r, n) {
|
62095
|
-
var
|
62096
|
-
for (r = J(r), r < 0 && (r = -r >
|
62095
|
+
var o = e.length;
|
62096
|
+
for (r = J(r), r < 0 && (r = -r > o ? 0 : o + r), n = n === a || n > o ? o : J(n), n < 0 && (n += o), n = r > n ? 0 : Ul(n); r < n; )
|
62097
62097
|
e[r++] = t;
|
62098
62098
|
return e;
|
62099
62099
|
}
|
62100
62100
|
function ko(e, t) {
|
62101
62101
|
var r = [];
|
62102
|
-
return dr(e, function(n,
|
62103
|
-
t(n,
|
62102
|
+
return dr(e, function(n, o, d) {
|
62103
|
+
t(n, o, d) && r.push(n);
|
62104
62104
|
}), r;
|
62105
62105
|
}
|
62106
|
-
function We(e, t, r, n,
|
62106
|
+
function We(e, t, r, n, o) {
|
62107
62107
|
var d = -1, f = e.length;
|
62108
|
-
for (r || (r = Jp),
|
62108
|
+
for (r || (r = Jp), o || (o = []); ++d < f; ) {
|
62109
62109
|
var h = e[d];
|
62110
|
-
t > 0 && r(h) ? t > 1 ? We(h, t - 1, r, n,
|
62110
|
+
t > 0 && r(h) ? t > 1 ? We(h, t - 1, r, n, o) : lr(o, h) : n || (o[o.length] = h);
|
62111
62111
|
}
|
62112
|
-
return
|
62112
|
+
return o;
|
62113
62113
|
}
|
62114
62114
|
var ki = Jo(), Ao = Jo(!0);
|
62115
62115
|
function Lt(e, t) {
|
@@ -62149,19 +62149,19 @@ Gs.exports;
|
|
62149
62149
|
return e >= He(t, r) && e < Re(t, r);
|
62150
62150
|
}
|
62151
62151
|
function Ci(e, t, r) {
|
62152
|
-
for (var n = r ? di : es,
|
62152
|
+
for (var n = r ? di : es, o = e[0].length, d = e.length, f = d, h = T(d), x = 1 / 0, A = []; f--; ) {
|
62153
62153
|
var q = e[f];
|
62154
|
-
f && t && (q = we(q, ot(t))), x = He(q.length, x), h[f] = !r && (t ||
|
62154
|
+
f && t && (q = we(q, ot(t))), x = He(q.length, x), h[f] = !r && (t || o >= 120 && q.length >= 120) ? new Dr(f && q) : a;
|
62155
62155
|
}
|
62156
62156
|
q = e[0];
|
62157
62157
|
var C = -1, O = h[0];
|
62158
62158
|
e:
|
62159
|
-
for (; ++C <
|
62159
|
+
for (; ++C < o && A.length < x; ) {
|
62160
62160
|
var M = q[C], W = t ? t(M) : M;
|
62161
62161
|
if (M = r || M !== 0 ? M : 0, !(O ? fa(O, W) : n(A, W, r))) {
|
62162
62162
|
for (f = d; --f; ) {
|
62163
|
-
var
|
62164
|
-
if (!(
|
62163
|
+
var Z = h[f];
|
62164
|
+
if (!(Z ? fa(Z, W) : n(e[f], W, r)))
|
62165
62165
|
continue e;
|
62166
62166
|
}
|
62167
62167
|
O && O.push(W), A.push(M);
|
@@ -62170,8 +62170,8 @@ Gs.exports;
|
|
62170
62170
|
return A;
|
62171
62171
|
}
|
62172
62172
|
function fp(e, t, r, n) {
|
62173
|
-
return Lt(e, function(
|
62174
|
-
t(n, r(
|
62173
|
+
return Lt(e, function(o, d, f) {
|
62174
|
+
t(n, r(o), d, f);
|
62175
62175
|
}), n;
|
62176
62176
|
}
|
62177
62177
|
function wa(e, t, r) {
|
@@ -62188,10 +62188,10 @@ Gs.exports;
|
|
62188
62188
|
function hp(e) {
|
62189
62189
|
return Ae(e) && Ke(e) == Gt;
|
62190
62190
|
}
|
62191
|
-
function Ta(e, t, r, n,
|
62192
|
-
return e === t ? !0 : e == null || t == null || !Ae(e) && !Ae(t) ? e !== e && t !== t : _p(e, t, r, n, Ta,
|
62191
|
+
function Ta(e, t, r, n, o) {
|
62192
|
+
return e === t ? !0 : e == null || t == null || !Ae(e) && !Ae(t) ? e !== e && t !== t : _p(e, t, r, n, Ta, o);
|
62193
62193
|
}
|
62194
|
-
function _p(e, t, r, n,
|
62194
|
+
function _p(e, t, r, n, o, d) {
|
62195
62195
|
var f = V(e), h = V(t), x = f ? sr : $e(e), A = h ? sr : $e(t);
|
62196
62196
|
x = x == Xe ? ht : x, A = A == Xe ? ht : A;
|
62197
62197
|
var q = x == ht, C = A == ht, O = x == A;
|
@@ -62201,30 +62201,30 @@ Gs.exports;
|
|
62201
62201
|
f = !0, q = !1;
|
62202
62202
|
}
|
62203
62203
|
if (O && !q)
|
62204
|
-
return d || (d = new St()), f || Jr(e) ? ll(e, t, r, n,
|
62204
|
+
return d || (d = new St()), f || Jr(e) ? ll(e, t, r, n, o, d) : Hp(e, t, x, r, n, o, d);
|
62205
62205
|
if (!(r & P)) {
|
62206
62206
|
var M = q && ye.call(e, "__wrapped__"), W = C && ye.call(t, "__wrapped__");
|
62207
62207
|
if (M || W) {
|
62208
|
-
var
|
62209
|
-
return d || (d = new St()),
|
62208
|
+
var Z = M ? e.value() : e, H = W ? t.value() : t;
|
62209
|
+
return d || (d = new St()), o(Z, H, r, n, d);
|
62210
62210
|
}
|
62211
62211
|
}
|
62212
|
-
return O ? (d || (d = new St()), $p(e, t, r, n,
|
62212
|
+
return O ? (d || (d = new St()), $p(e, t, r, n, o, d)) : !1;
|
62213
62213
|
}
|
62214
62214
|
function gp(e) {
|
62215
62215
|
return Ae(e) && $e(e) == st;
|
62216
62216
|
}
|
62217
62217
|
function Si(e, t, r, n) {
|
62218
|
-
var
|
62218
|
+
var o = r.length, d = o, f = !n;
|
62219
62219
|
if (e == null)
|
62220
62220
|
return !d;
|
62221
|
-
for (e = be(e);
|
62222
|
-
var h = r[
|
62221
|
+
for (e = be(e); o--; ) {
|
62222
|
+
var h = r[o];
|
62223
62223
|
if (f && h[2] ? h[1] !== e[h[0]] : !(h[0] in e))
|
62224
62224
|
return !1;
|
62225
62225
|
}
|
62226
|
-
for (; ++
|
62227
|
-
h = r[
|
62226
|
+
for (; ++o < d; ) {
|
62227
|
+
h = r[o];
|
62228
62228
|
var x = h[0], A = e[x], q = h[1];
|
62229
62229
|
if (f && h[2]) {
|
62230
62230
|
if (A === a && !(x in e))
|
@@ -62278,8 +62278,8 @@ Gs.exports;
|
|
62278
62278
|
}
|
62279
62279
|
function No(e, t) {
|
62280
62280
|
var r = -1, n = tt(e) ? T(e.length) : [];
|
62281
|
-
return dr(e, function(
|
62282
|
-
n[++r] = t(
|
62281
|
+
return dr(e, function(o, d, f) {
|
62282
|
+
n[++r] = t(o, d, f);
|
62283
62283
|
}), n;
|
62284
62284
|
}
|
62285
62285
|
function Oo(e) {
|
@@ -62294,17 +62294,17 @@ Gs.exports;
|
|
62294
62294
|
return n === a && n === t ? on(r, e) : Ta(t, n, P | B);
|
62295
62295
|
};
|
62296
62296
|
}
|
62297
|
-
function xs(e, t, r, n,
|
62297
|
+
function xs(e, t, r, n, o) {
|
62298
62298
|
e !== t && ki(t, function(d, f) {
|
62299
|
-
if (
|
62300
|
-
Tp(e, t, f, r, xs, n,
|
62299
|
+
if (o || (o = new St()), Ie(d))
|
62300
|
+
Tp(e, t, f, r, xs, n, o);
|
62301
62301
|
else {
|
62302
|
-
var h = n ? n(Qi(e, f), d, f + "", e, t,
|
62302
|
+
var h = n ? n(Qi(e, f), d, f + "", e, t, o) : a;
|
62303
62303
|
h === a && (h = d), Ii(e, f, h);
|
62304
62304
|
}
|
62305
62305
|
}, rt);
|
62306
62306
|
}
|
62307
|
-
function Tp(e, t, r, n,
|
62307
|
+
function Tp(e, t, r, n, o, d, f) {
|
62308
62308
|
var h = Qi(e, r), x = Qi(t, r), A = f.get(x);
|
62309
62309
|
if (A) {
|
62310
62310
|
Ii(e, r, A);
|
@@ -62315,7 +62315,7 @@ Gs.exports;
|
|
62315
62315
|
var O = V(x), M = !O && yr(x), W = !O && !M && Jr(x);
|
62316
62316
|
q = x, O || M || W ? V(h) ? q = h : Se(h) ? q = et(h) : M ? (C = !1, q = Go(x, !0)) : W ? (C = !1, q = Xo(x, !0)) : q = [] : qa(x) || Sr(x) ? (q = h, Sr(h) ? q = Wl(h) : (!Ie(h) || tr(h)) && (q = dl(x))) : C = !1;
|
62317
62317
|
}
|
62318
|
-
C && (f.set(x, q),
|
62318
|
+
C && (f.set(x, q), o(q, x, n, d, f), f.delete(x)), Ii(e, r, q);
|
62319
62319
|
}
|
62320
62320
|
function Eo(e, t) {
|
62321
62321
|
var r = e.length;
|
@@ -62330,13 +62330,13 @@ Gs.exports;
|
|
62330
62330
|
}) : t = [at];
|
62331
62331
|
var n = -1;
|
62332
62332
|
t = we(t, ot(U()));
|
62333
|
-
var
|
62333
|
+
var o = No(e, function(d, f, h) {
|
62334
62334
|
var x = we(t, function(A) {
|
62335
62335
|
return A(d);
|
62336
62336
|
});
|
62337
62337
|
return { criteria: x, index: ++n, value: d };
|
62338
62338
|
});
|
62339
|
-
return Vu(
|
62339
|
+
return Vu(o, function(d, f) {
|
62340
62340
|
return Rp(d, f, r);
|
62341
62341
|
});
|
62342
62342
|
}
|
@@ -62346,7 +62346,7 @@ Gs.exports;
|
|
62346
62346
|
});
|
62347
62347
|
}
|
62348
62348
|
function Mo(e, t, r) {
|
62349
|
-
for (var n = -1,
|
62349
|
+
for (var n = -1, o = t.length, d = {}; ++n < o; ) {
|
62350
62350
|
var f = t[n], h = Ar(e, f);
|
62351
62351
|
r(h, f) && Ia(d, mr(f, e), h);
|
62352
62352
|
}
|
@@ -62358,18 +62358,18 @@ Gs.exports;
|
|
62358
62358
|
};
|
62359
62359
|
}
|
62360
62360
|
function Oi(e, t, r, n) {
|
62361
|
-
var
|
62361
|
+
var o = n ? Yu : jr, d = -1, f = t.length, h = e;
|
62362
62362
|
for (e === t && (t = et(t)), r && (h = we(e, ot(r))); ++d < f; )
|
62363
|
-
for (var x = 0, A = t[d], q = r ? r(A) : A; (x =
|
62363
|
+
for (var x = 0, A = t[d], q = r ? r(A) : A; (x = o(h, q, x, n)) > -1; )
|
62364
62364
|
h !== e && us.call(h, x, 1), us.call(e, x, 1);
|
62365
62365
|
return e;
|
62366
62366
|
}
|
62367
62367
|
function Lo(e, t) {
|
62368
62368
|
for (var r = e ? t.length : 0, n = r - 1; r--; ) {
|
62369
|
-
var
|
62370
|
-
if (r == n ||
|
62371
|
-
var d =
|
62372
|
-
er(
|
62369
|
+
var o = t[r];
|
62370
|
+
if (r == n || o !== d) {
|
62371
|
+
var d = o;
|
62372
|
+
er(o) ? us.call(e, o, 1) : Mi(e, o);
|
62373
62373
|
}
|
62374
62374
|
}
|
62375
62375
|
return e;
|
@@ -62378,8 +62378,8 @@ Gs.exports;
|
|
62378
62378
|
return e + ms(go() * (t - e + 1));
|
62379
62379
|
}
|
62380
62380
|
function kp(e, t, r, n) {
|
62381
|
-
for (var
|
62382
|
-
f[n ? d : ++
|
62381
|
+
for (var o = -1, d = Re(ps((t - e) / (r || 1)), 0), f = T(d); d--; )
|
62382
|
+
f[n ? d : ++o] = e, e += r;
|
62383
62383
|
return f;
|
62384
62384
|
}
|
62385
62385
|
function Ei(e, t) {
|
@@ -62391,7 +62391,7 @@ Gs.exports;
|
|
62391
62391
|
while (t);
|
62392
62392
|
return r;
|
62393
62393
|
}
|
62394
|
-
function
|
62394
|
+
function ee(e, t) {
|
62395
62395
|
return Ji(fl(e, t, at), e + "");
|
62396
62396
|
}
|
62397
62397
|
function Ap(e) {
|
@@ -62405,13 +62405,13 @@ Gs.exports;
|
|
62405
62405
|
if (!Ie(e))
|
62406
62406
|
return e;
|
62407
62407
|
t = mr(t, e);
|
62408
|
-
for (var
|
62409
|
-
var x = Bt(t[
|
62408
|
+
for (var o = -1, d = t.length, f = d - 1, h = e; h != null && ++o < d; ) {
|
62409
|
+
var x = Bt(t[o]), A = r;
|
62410
62410
|
if (x === "__proto__" || x === "constructor" || x === "prototype")
|
62411
62411
|
return e;
|
62412
|
-
if (
|
62412
|
+
if (o != f) {
|
62413
62413
|
var q = h[x];
|
62414
|
-
A = n ? n(q, x, h) : a, A === a && (A = Ie(q) ? q : er(t[
|
62414
|
+
A = n ? n(q, x, h) : a, A === a && (A = Ie(q) ? q : er(t[o + 1]) ? [] : {});
|
62415
62415
|
}
|
62416
62416
|
xa(h, x, A), h = h[x];
|
62417
62417
|
}
|
@@ -62431,50 +62431,50 @@ Gs.exports;
|
|
62431
62431
|
return Ss(Zr(e));
|
62432
62432
|
}
|
62433
62433
|
function wt(e, t, r) {
|
62434
|
-
var n = -1,
|
62435
|
-
t < 0 && (t = -t >
|
62436
|
-
for (var d = T(
|
62434
|
+
var n = -1, o = e.length;
|
62435
|
+
t < 0 && (t = -t > o ? 0 : o + t), r = r > o ? o : r, r < 0 && (r += o), o = t > r ? 0 : r - t >>> 0, t >>>= 0;
|
62436
|
+
for (var d = T(o); ++n < o; )
|
62437
62437
|
d[n] = e[n + t];
|
62438
62438
|
return d;
|
62439
62439
|
}
|
62440
62440
|
function zp(e, t) {
|
62441
62441
|
var r;
|
62442
|
-
return dr(e, function(n,
|
62443
|
-
return r = t(n,
|
62442
|
+
return dr(e, function(n, o, d) {
|
62443
|
+
return r = t(n, o, d), !r;
|
62444
62444
|
}), !!r;
|
62445
62445
|
}
|
62446
62446
|
function vs(e, t, r) {
|
62447
|
-
var n = 0,
|
62448
|
-
if (typeof t == "number" && t === t &&
|
62449
|
-
for (; n <
|
62450
|
-
var d = n +
|
62451
|
-
f !== null && !ct(f) && (r ? f <= t : f < t) ? n = d + 1 :
|
62447
|
+
var n = 0, o = e == null ? n : e.length;
|
62448
|
+
if (typeof t == "number" && t === t && o <= Le) {
|
62449
|
+
for (; n < o; ) {
|
62450
|
+
var d = n + o >>> 1, f = e[d];
|
62451
|
+
f !== null && !ct(f) && (r ? f <= t : f < t) ? n = d + 1 : o = d;
|
62452
62452
|
}
|
62453
|
-
return
|
62453
|
+
return o;
|
62454
62454
|
}
|
62455
62455
|
return Ri(e, t, at, r);
|
62456
62456
|
}
|
62457
62457
|
function Ri(e, t, r, n) {
|
62458
|
-
var
|
62458
|
+
var o = 0, d = e == null ? 0 : e.length;
|
62459
62459
|
if (d === 0)
|
62460
62460
|
return 0;
|
62461
62461
|
t = r(t);
|
62462
|
-
for (var f = t !== t, h = t === null, x = ct(t), A = t === a;
|
62463
|
-
var q = ms((
|
62462
|
+
for (var f = t !== t, h = t === null, x = ct(t), A = t === a; o < d; ) {
|
62463
|
+
var q = ms((o + d) / 2), C = r(e[q]), O = C !== a, M = C === null, W = C === C, Z = ct(C);
|
62464
62464
|
if (f)
|
62465
62465
|
var H = n || W;
|
62466
62466
|
else
|
62467
|
-
A ? H = W && (n || O) : h ? H = W && O && (n || !M) : x ? H = W && O && !M && (n || !
|
62468
|
-
H ?
|
62467
|
+
A ? H = W && (n || O) : h ? H = W && O && (n || !M) : x ? H = W && O && !M && (n || !Z) : M || Z ? H = !1 : H = n ? C <= t : C < t;
|
62468
|
+
H ? o = q + 1 : d = q;
|
62469
62469
|
}
|
62470
62470
|
return He(d, _e);
|
62471
62471
|
}
|
62472
62472
|
function Bo(e, t) {
|
62473
|
-
for (var r = -1, n = e.length,
|
62473
|
+
for (var r = -1, n = e.length, o = 0, d = []; ++r < n; ) {
|
62474
62474
|
var f = e[r], h = t ? t(f) : f;
|
62475
62475
|
if (!r || !zt(h, x)) {
|
62476
62476
|
var x = h;
|
62477
|
-
d[
|
62477
|
+
d[o++] = f === 0 ? 0 : f;
|
62478
62478
|
}
|
62479
62479
|
}
|
62480
62480
|
return d;
|
@@ -62493,14 +62493,14 @@ Gs.exports;
|
|
62493
62493
|
return t == "0" && 1 / e == -qe ? "-0" : t;
|
62494
62494
|
}
|
62495
62495
|
function pr(e, t, r) {
|
62496
|
-
var n = -1,
|
62496
|
+
var n = -1, o = es, d = e.length, f = !0, h = [], x = h;
|
62497
62497
|
if (r)
|
62498
|
-
f = !1,
|
62498
|
+
f = !1, o = di;
|
62499
62499
|
else if (d >= u) {
|
62500
62500
|
var A = t ? null : Up(e);
|
62501
62501
|
if (A)
|
62502
62502
|
return rs(A);
|
62503
|
-
f = !1,
|
62503
|
+
f = !1, o = fa, x = new Dr();
|
62504
62504
|
} else
|
62505
62505
|
x = t ? [] : h;
|
62506
62506
|
e:
|
@@ -62512,7 +62512,7 @@ Gs.exports;
|
|
62512
62512
|
continue e;
|
62513
62513
|
t && x.push(C), h.push(q);
|
62514
62514
|
} else
|
62515
|
-
|
62515
|
+
o(x, C, r) || (x !== h && x.push(C), h.push(q));
|
62516
62516
|
}
|
62517
62517
|
return h;
|
62518
62518
|
}
|
@@ -62523,27 +62523,27 @@ Gs.exports;
|
|
62523
62523
|
return Ia(e, t, r(Ar(e, t)), n);
|
62524
62524
|
}
|
62525
62525
|
function ws(e, t, r, n) {
|
62526
|
-
for (var
|
62526
|
+
for (var o = e.length, d = n ? o : -1; (n ? d-- : ++d < o) && t(e[d], d, e); )
|
62527
62527
|
;
|
62528
|
-
return r ? wt(e, n ? 0 : d, n ? d + 1 :
|
62528
|
+
return r ? wt(e, n ? 0 : d, n ? d + 1 : o) : wt(e, n ? d + 1 : 0, n ? o : d);
|
62529
62529
|
}
|
62530
62530
|
function Wo(e, t) {
|
62531
62531
|
var r = e;
|
62532
|
-
return r instanceof oe && (r = r.value()), pi(t, function(n,
|
62533
|
-
return
|
62532
|
+
return r instanceof oe && (r = r.value()), pi(t, function(n, o) {
|
62533
|
+
return o.func.apply(o.thisArg, lr([n], o.args));
|
62534
62534
|
}, r);
|
62535
62535
|
}
|
62536
62536
|
function Li(e, t, r) {
|
62537
62537
|
var n = e.length;
|
62538
62538
|
if (n < 2)
|
62539
62539
|
return n ? pr(e[0]) : [];
|
62540
|
-
for (var
|
62541
|
-
for (var f = e[
|
62542
|
-
h !=
|
62540
|
+
for (var o = -1, d = T(n); ++o < n; )
|
62541
|
+
for (var f = e[o], h = -1; ++h < n; )
|
62542
|
+
h != o && (d[o] = va(d[o] || f, e[h], t, r));
|
62543
62543
|
return pr(We(d, 1), t, r);
|
62544
62544
|
}
|
62545
62545
|
function Ho(e, t, r) {
|
62546
|
-
for (var n = -1,
|
62546
|
+
for (var n = -1, o = e.length, d = t.length, f = {}; ++n < o; ) {
|
62547
62547
|
var h = n < d ? t[n] : a;
|
62548
62548
|
r(f, e[n], h);
|
62549
62549
|
}
|
@@ -62558,7 +62558,7 @@ Gs.exports;
|
|
62558
62558
|
function mr(e, t) {
|
62559
62559
|
return V(e) ? e : Yi(e, t) ? [e] : bl(fe(e));
|
62560
62560
|
}
|
62561
|
-
var Np =
|
62561
|
+
var Np = ee;
|
62562
62562
|
function fr(e, t, r) {
|
62563
62563
|
var n = e.length;
|
62564
62564
|
return r = r === a ? n : r, !t && r >= n ? e : wt(e, t, r);
|
@@ -62593,17 +62593,17 @@ Gs.exports;
|
|
62593
62593
|
}
|
62594
62594
|
function Ko(e, t) {
|
62595
62595
|
if (e !== t) {
|
62596
|
-
var r = e !== a, n = e === null,
|
62597
|
-
if (!h && !A && !d && e > t || d && f && x && !h && !A || n && f && x || !r && x || !
|
62596
|
+
var r = e !== a, n = e === null, o = e === e, d = ct(e), f = t !== a, h = t === null, x = t === t, A = ct(t);
|
62597
|
+
if (!h && !A && !d && e > t || d && f && x && !h && !A || n && f && x || !r && x || !o)
|
62598
62598
|
return 1;
|
62599
|
-
if (!n && !d && !A && e < t || A && r &&
|
62599
|
+
if (!n && !d && !A && e < t || A && r && o && !n && !d || h && r && o || !f && o || !x)
|
62600
62600
|
return -1;
|
62601
62601
|
}
|
62602
62602
|
return 0;
|
62603
62603
|
}
|
62604
62604
|
function Rp(e, t, r) {
|
62605
|
-
for (var n = -1,
|
62606
|
-
var x = Ko(
|
62605
|
+
for (var n = -1, o = e.criteria, d = t.criteria, f = o.length, h = r.length; ++n < f; ) {
|
62606
|
+
var x = Ko(o[n], d[n]);
|
62607
62607
|
if (x) {
|
62608
62608
|
if (n >= h)
|
62609
62609
|
return x;
|
@@ -62614,21 +62614,21 @@ Gs.exports;
|
|
62614
62614
|
return e.index - t.index;
|
62615
62615
|
}
|
62616
62616
|
function Yo(e, t, r, n) {
|
62617
|
-
for (var
|
62617
|
+
for (var o = -1, d = e.length, f = r.length, h = -1, x = t.length, A = Re(d - f, 0), q = T(x + A), C = !n; ++h < x; )
|
62618
62618
|
q[h] = t[h];
|
62619
|
-
for (; ++
|
62620
|
-
(C ||
|
62619
|
+
for (; ++o < f; )
|
62620
|
+
(C || o < d) && (q[r[o]] = e[o]);
|
62621
62621
|
for (; A--; )
|
62622
|
-
q[h++] = e[
|
62622
|
+
q[h++] = e[o++];
|
62623
62623
|
return q;
|
62624
62624
|
}
|
62625
62625
|
function Vo(e, t, r, n) {
|
62626
|
-
for (var
|
62627
|
-
C[
|
62628
|
-
for (var M =
|
62626
|
+
for (var o = -1, d = e.length, f = -1, h = r.length, x = -1, A = t.length, q = Re(d - h, 0), C = T(q + A), O = !n; ++o < q; )
|
62627
|
+
C[o] = e[o];
|
62628
|
+
for (var M = o; ++x < A; )
|
62629
62629
|
C[M + x] = t[x];
|
62630
62630
|
for (; ++f < h; )
|
62631
|
-
(O ||
|
62631
|
+
(O || o < d) && (C[M + r[f]] = e[o++]);
|
62632
62632
|
return C;
|
62633
62633
|
}
|
62634
62634
|
function et(e, t) {
|
@@ -62638,11 +62638,11 @@ Gs.exports;
|
|
62638
62638
|
return t;
|
62639
62639
|
}
|
62640
62640
|
function Ft(e, t, r, n) {
|
62641
|
-
var
|
62641
|
+
var o = !r;
|
62642
62642
|
r || (r = {});
|
62643
62643
|
for (var d = -1, f = t.length; ++d < f; ) {
|
62644
62644
|
var h = t[d], x = n ? n(r[h], e[h], h, r, e) : a;
|
62645
|
-
x === a && (x = e[h]),
|
62645
|
+
x === a && (x = e[h]), o ? Qt(r, h, x) : xa(r, h, x);
|
62646
62646
|
}
|
62647
62647
|
return r;
|
62648
62648
|
}
|
@@ -62654,14 +62654,14 @@ Gs.exports;
|
|
62654
62654
|
}
|
62655
62655
|
function Ts(e, t) {
|
62656
62656
|
return function(r, n) {
|
62657
|
-
var
|
62658
|
-
return
|
62657
|
+
var o = V(r) ? Wu : np, d = t ? t() : {};
|
62658
|
+
return o(r, e, U(n, 2), d);
|
62659
62659
|
};
|
62660
62660
|
}
|
62661
62661
|
function Yr(e) {
|
62662
|
-
return
|
62663
|
-
var n = -1,
|
62664
|
-
for (d = e.length > 3 && typeof d == "function" ? (
|
62662
|
+
return ee(function(t, r) {
|
62663
|
+
var n = -1, o = r.length, d = o > 1 ? r[o - 1] : a, f = o > 2 ? r[2] : a;
|
62664
|
+
for (d = e.length > 3 && typeof d == "function" ? (o--, d) : a, f && Ye(r[0], r[1], f) && (d = o < 3 ? a : d, o = 1), t = be(t); ++n < o; ) {
|
62665
62665
|
var h = r[n];
|
62666
62666
|
h && e(t, h, n, d);
|
62667
62667
|
}
|
@@ -62674,15 +62674,15 @@ Gs.exports;
|
|
62674
62674
|
return r;
|
62675
62675
|
if (!tt(r))
|
62676
62676
|
return e(r, n);
|
62677
|
-
for (var
|
62677
|
+
for (var o = r.length, d = t ? o : -1, f = be(r); (t ? d-- : ++d < o) && n(f[d], d, f) !== !1; )
|
62678
62678
|
;
|
62679
62679
|
return r;
|
62680
62680
|
};
|
62681
62681
|
}
|
62682
62682
|
function Jo(e) {
|
62683
62683
|
return function(t, r, n) {
|
62684
|
-
for (var
|
62685
|
-
var x = f[e ? h : ++
|
62684
|
+
for (var o = -1, d = be(t), f = n(t), h = f.length; h--; ) {
|
62685
|
+
var x = f[e ? h : ++o];
|
62686
62686
|
if (r(d[x], x, d) === !1)
|
62687
62687
|
break;
|
62688
62688
|
}
|
@@ -62690,9 +62690,9 @@ Gs.exports;
|
|
62690
62690
|
};
|
62691
62691
|
}
|
62692
62692
|
function Fp(e, t, r) {
|
62693
|
-
var n = t &
|
62693
|
+
var n = t & te, o = Da(e);
|
62694
62694
|
function d() {
|
62695
|
-
var f = this && this !== Ue && this instanceof d ?
|
62695
|
+
var f = this && this !== Ue && this instanceof d ? o : e;
|
62696
62696
|
return f.apply(n ? r : this, arguments);
|
62697
62697
|
}
|
62698
62698
|
return d;
|
@@ -62700,8 +62700,8 @@ Gs.exports;
|
|
62700
62700
|
function Zo(e) {
|
62701
62701
|
return function(t) {
|
62702
62702
|
t = fe(t);
|
62703
|
-
var r = Ur(t) ? Ct(t) : a, n = r ? r[0] : t.charAt(0),
|
62704
|
-
return n[e]() +
|
62703
|
+
var r = Ur(t) ? Ct(t) : a, n = r ? r[0] : t.charAt(0), o = r ? fr(r, 1).join("") : t.slice(1);
|
62704
|
+
return n[e]() + o;
|
62705
62705
|
};
|
62706
62706
|
}
|
62707
62707
|
function Vr(e) {
|
@@ -62736,8 +62736,8 @@ Gs.exports;
|
|
62736
62736
|
}
|
62737
62737
|
function Bp(e, t, r) {
|
62738
62738
|
var n = Da(e);
|
62739
|
-
function
|
62740
|
-
for (var d = arguments.length, f = T(d), h = d, x = Qr(
|
62739
|
+
function o() {
|
62740
|
+
for (var d = arguments.length, f = T(d), h = d, x = Qr(o); h--; )
|
62741
62741
|
f[h] = arguments[h];
|
62742
62742
|
var A = d < 3 && f[0] !== x && f[d - 1] !== x ? [] : cr(f, x);
|
62743
62743
|
if (d -= A.length, d < r)
|
@@ -62745,7 +62745,7 @@ Gs.exports;
|
|
62745
62745
|
e,
|
62746
62746
|
t,
|
62747
62747
|
Is,
|
62748
|
-
|
62748
|
+
o.placeholder,
|
62749
62749
|
a,
|
62750
62750
|
f,
|
62751
62751
|
A,
|
@@ -62753,32 +62753,32 @@ Gs.exports;
|
|
62753
62753
|
a,
|
62754
62754
|
r - d
|
62755
62755
|
);
|
62756
|
-
var q = this && this !== Ue && this instanceof
|
62756
|
+
var q = this && this !== Ue && this instanceof o ? n : e;
|
62757
62757
|
return nt(q, this, f);
|
62758
62758
|
}
|
62759
|
-
return
|
62759
|
+
return o;
|
62760
62760
|
}
|
62761
62761
|
function el(e) {
|
62762
62762
|
return function(t, r, n) {
|
62763
|
-
var
|
62763
|
+
var o = be(t);
|
62764
62764
|
if (!tt(t)) {
|
62765
62765
|
var d = U(r, 3);
|
62766
62766
|
t = Fe(t), r = function(h) {
|
62767
|
-
return d(
|
62767
|
+
return d(o[h], h, o);
|
62768
62768
|
};
|
62769
62769
|
}
|
62770
62770
|
var f = e(t, r, n);
|
62771
|
-
return f > -1 ?
|
62771
|
+
return f > -1 ? o[d ? t[f] : f] : a;
|
62772
62772
|
};
|
62773
62773
|
}
|
62774
62774
|
function tl(e) {
|
62775
62775
|
return Zt(function(t) {
|
62776
|
-
var r = t.length, n = r,
|
62776
|
+
var r = t.length, n = r, o = xt.prototype.thru;
|
62777
62777
|
for (e && t.reverse(); n--; ) {
|
62778
62778
|
var d = t[n];
|
62779
62779
|
if (typeof d != "function")
|
62780
62780
|
throw new bt(m);
|
62781
|
-
if (
|
62781
|
+
if (o && !f && qs(d) == "wrapper")
|
62782
62782
|
var f = new xt([], !0);
|
62783
62783
|
}
|
62784
62784
|
for (n = f ? n : r; ++n < r; ) {
|
@@ -62796,14 +62796,14 @@ Gs.exports;
|
|
62796
62796
|
};
|
62797
62797
|
});
|
62798
62798
|
}
|
62799
|
-
function Is(e, t, r, n,
|
62800
|
-
var q = t & Q, C = t &
|
62799
|
+
function Is(e, t, r, n, o, d, f, h, x, A) {
|
62800
|
+
var q = t & Q, C = t & te, O = t & pe, M = t & (L | F), W = t & ge, Z = O ? a : Da(e);
|
62801
62801
|
function H() {
|
62802
62802
|
for (var ae = arguments.length, le = T(ae), ut = ae; ut--; )
|
62803
62803
|
le[ut] = arguments[ut];
|
62804
62804
|
if (M)
|
62805
62805
|
var Ve = Qr(H), dt = Ju(le, Ve);
|
62806
|
-
if (n && (le = Yo(le, n,
|
62806
|
+
if (n && (le = Yo(le, n, o, M)), d && (le = Vo(le, d, f, M)), ae -= dt, M && ae < A) {
|
62807
62807
|
var ze = cr(le, Ve);
|
62808
62808
|
return sl(
|
62809
62809
|
e,
|
@@ -62819,7 +62819,7 @@ Gs.exports;
|
|
62819
62819
|
);
|
62820
62820
|
}
|
62821
62821
|
var Nt = C ? r : this, ar = O ? Nt[e] : e;
|
62822
|
-
return ae = le.length, h ? le = nm(le, h) : W && ae > 1 && le.reverse(), q && x < ae && (le.length = x), this && this !== Ue && this instanceof H && (ar =
|
62822
|
+
return ae = le.length, h ? le = nm(le, h) : W && ae > 1 && le.reverse(), q && x < ae && (le.length = x), this && this !== Ue && this instanceof H && (ar = Z || Da(ar)), ar.apply(Nt, le);
|
62823
62823
|
}
|
62824
62824
|
return H;
|
62825
62825
|
}
|
@@ -62830,23 +62830,23 @@ Gs.exports;
|
|
62830
62830
|
}
|
62831
62831
|
function Ds(e, t) {
|
62832
62832
|
return function(r, n) {
|
62833
|
-
var
|
62833
|
+
var o;
|
62834
62834
|
if (r === a && n === a)
|
62835
62835
|
return t;
|
62836
|
-
if (r !== a && (
|
62837
|
-
if (
|
62836
|
+
if (r !== a && (o = r), n !== a) {
|
62837
|
+
if (o === a)
|
62838
62838
|
return n;
|
62839
|
-
typeof r == "string" || typeof n == "string" ? (r = lt(r), n = lt(n)) : (r = jo(r), n = jo(n)),
|
62839
|
+
typeof r == "string" || typeof n == "string" ? (r = lt(r), n = lt(n)) : (r = jo(r), n = jo(n)), o = e(r, n);
|
62840
62840
|
}
|
62841
|
-
return
|
62841
|
+
return o;
|
62842
62842
|
};
|
62843
62843
|
}
|
62844
62844
|
function Ui(e) {
|
62845
62845
|
return Zt(function(t) {
|
62846
|
-
return t = we(t, ot(U())),
|
62846
|
+
return t = we(t, ot(U())), ee(function(r) {
|
62847
62847
|
var n = this;
|
62848
|
-
return e(t, function(
|
62849
|
-
return nt(
|
62848
|
+
return e(t, function(o) {
|
62849
|
+
return nt(o, n, r);
|
62850
62850
|
});
|
62851
62851
|
});
|
62852
62852
|
});
|
@@ -62860,13 +62860,13 @@ Gs.exports;
|
|
62860
62860
|
return Ur(t) ? fr(Ct(n), 0, e).join("") : n.slice(0, e);
|
62861
62861
|
}
|
62862
62862
|
function jp(e, t, r, n) {
|
62863
|
-
var
|
62863
|
+
var o = t & te, d = Da(e);
|
62864
62864
|
function f() {
|
62865
62865
|
for (var h = -1, x = arguments.length, A = -1, q = n.length, C = T(q + x), O = this && this !== Ue && this instanceof f ? d : e; ++A < q; )
|
62866
62866
|
C[A] = n[A];
|
62867
62867
|
for (; x--; )
|
62868
62868
|
C[A++] = arguments[++h];
|
62869
|
-
return nt(O,
|
62869
|
+
return nt(O, o ? r : this, C);
|
62870
62870
|
}
|
62871
62871
|
return f;
|
62872
62872
|
}
|
@@ -62880,13 +62880,13 @@ Gs.exports;
|
|
62880
62880
|
return typeof t == "string" && typeof r == "string" || (t = It(t), r = It(r)), e(t, r);
|
62881
62881
|
};
|
62882
62882
|
}
|
62883
|
-
function sl(e, t, r, n,
|
62883
|
+
function sl(e, t, r, n, o, d, f, h, x, A) {
|
62884
62884
|
var q = t & L, C = q ? f : a, O = q ? a : f, M = q ? d : a, W = q ? a : d;
|
62885
|
-
t |= q ? $ : se, t &= ~(q ? se : $), t & X || (t &= ~(
|
62886
|
-
var
|
62885
|
+
t |= q ? $ : se, t &= ~(q ? se : $), t & X || (t &= ~(te | pe));
|
62886
|
+
var Z = [
|
62887
62887
|
e,
|
62888
62888
|
t,
|
62889
|
-
|
62889
|
+
o,
|
62890
62890
|
M,
|
62891
62891
|
C,
|
62892
62892
|
W,
|
@@ -62894,15 +62894,15 @@ Gs.exports;
|
|
62894
62894
|
h,
|
62895
62895
|
x,
|
62896
62896
|
A
|
62897
|
-
], H = r.apply(a,
|
62898
|
-
return Vi(e) && hl(H,
|
62897
|
+
], H = r.apply(a, Z);
|
62898
|
+
return Vi(e) && hl(H, Z), H.placeholder = n, _l(H, e, t);
|
62899
62899
|
}
|
62900
62900
|
function Wi(e) {
|
62901
62901
|
var t = Ee[e];
|
62902
62902
|
return function(r, n) {
|
62903
62903
|
if (r = It(r), n = n == null ? 0 : He(J(n), 292), n && _o(r)) {
|
62904
|
-
var
|
62905
|
-
return
|
62904
|
+
var o = (fe(r) + "e").split("e"), d = t(o[0] + "e" + (+o[1] + n));
|
62905
|
+
return o = (fe(d) + "e").split("e"), +(o[0] + "e" + (+o[1] - n));
|
62906
62906
|
}
|
62907
62907
|
return t(r);
|
62908
62908
|
};
|
@@ -62916,44 +62916,44 @@ Gs.exports;
|
|
62916
62916
|
return r == st ? bi(t) : r == it ? id(t) : Qu(t, e(t));
|
62917
62917
|
};
|
62918
62918
|
}
|
62919
|
-
function Jt(e, t, r, n,
|
62919
|
+
function Jt(e, t, r, n, o, d, f, h) {
|
62920
62920
|
var x = t & pe;
|
62921
62921
|
if (!x && typeof e != "function")
|
62922
62922
|
throw new bt(m);
|
62923
62923
|
var A = n ? n.length : 0;
|
62924
|
-
if (A || (t &= ~($ | se), n =
|
62925
|
-
var q = n, C =
|
62926
|
-
n =
|
62924
|
+
if (A || (t &= ~($ | se), n = o = a), f = f === a ? f : Re(J(f), 0), h = h === a ? h : J(h), A -= o ? o.length : 0, t & se) {
|
62925
|
+
var q = n, C = o;
|
62926
|
+
n = o = a;
|
62927
62927
|
}
|
62928
62928
|
var O = x ? a : Gi(e), M = [
|
62929
62929
|
e,
|
62930
62930
|
t,
|
62931
62931
|
r,
|
62932
62932
|
n,
|
62933
|
-
|
62933
|
+
o,
|
62934
62934
|
q,
|
62935
62935
|
C,
|
62936
62936
|
d,
|
62937
62937
|
f,
|
62938
62938
|
h
|
62939
62939
|
];
|
62940
|
-
if (O && am(M, O), e = M[0], t = M[1], r = M[2], n = M[3],
|
62940
|
+
if (O && am(M, O), e = M[0], t = M[1], r = M[2], n = M[3], o = M[4], h = M[9] = M[9] === a ? x ? 0 : e.length : Re(M[9] - A, 0), !h && t & (L | F) && (t &= ~(L | F)), !t || t == te)
|
62941
62941
|
var W = Fp(e, t, r);
|
62942
62942
|
else
|
62943
|
-
t == L || t == F ? W = Bp(e, t, h) : (t == $ || t == (
|
62944
|
-
var
|
62945
|
-
return _l(
|
62943
|
+
t == L || t == F ? W = Bp(e, t, h) : (t == $ || t == (te | $)) && !o.length ? W = jp(e, t, r, n) : W = Is.apply(a, M);
|
62944
|
+
var Z = O ? Fo : hl;
|
62945
|
+
return _l(Z(W, M), e, t);
|
62946
62946
|
}
|
62947
62947
|
function nl(e, t, r, n) {
|
62948
62948
|
return e === a || zt(e, $r[r]) && !ye.call(n, r) ? t : e;
|
62949
62949
|
}
|
62950
|
-
function ol(e, t, r, n,
|
62950
|
+
function ol(e, t, r, n, o, d) {
|
62951
62951
|
return Ie(e) && Ie(t) && (d.set(t, e), xs(e, t, a, ol, d), d.delete(t)), e;
|
62952
62952
|
}
|
62953
62953
|
function Wp(e) {
|
62954
62954
|
return qa(e) ? a : e;
|
62955
62955
|
}
|
62956
|
-
function ll(e, t, r, n,
|
62956
|
+
function ll(e, t, r, n, o, d) {
|
62957
62957
|
var f = r & P, h = e.length, x = t.length;
|
62958
62958
|
if (h != x && !(f && x > h))
|
62959
62959
|
return !1;
|
@@ -62962,9 +62962,9 @@ Gs.exports;
|
|
62962
62962
|
return A == t && q == e;
|
62963
62963
|
var C = -1, O = !0, M = r & B ? new Dr() : a;
|
62964
62964
|
for (d.set(e, t), d.set(t, e); ++C < h; ) {
|
62965
|
-
var W = e[C],
|
62965
|
+
var W = e[C], Z = t[C];
|
62966
62966
|
if (n)
|
62967
|
-
var H = f ? n(
|
62967
|
+
var H = f ? n(Z, W, C, t, e, d) : n(W, Z, C, e, t, d);
|
62968
62968
|
if (H !== a) {
|
62969
62969
|
if (H)
|
62970
62970
|
continue;
|
@@ -62973,20 +62973,20 @@ Gs.exports;
|
|
62973
62973
|
}
|
62974
62974
|
if (M) {
|
62975
62975
|
if (!mi(t, function(ae, le) {
|
62976
|
-
if (!fa(M, le) && (W === ae ||
|
62976
|
+
if (!fa(M, le) && (W === ae || o(W, ae, r, n, d)))
|
62977
62977
|
return M.push(le);
|
62978
62978
|
})) {
|
62979
62979
|
O = !1;
|
62980
62980
|
break;
|
62981
62981
|
}
|
62982
|
-
} else if (!(W ===
|
62982
|
+
} else if (!(W === Z || o(W, Z, r, n, d))) {
|
62983
62983
|
O = !1;
|
62984
62984
|
break;
|
62985
62985
|
}
|
62986
62986
|
}
|
62987
62987
|
return d.delete(e), d.delete(t), O;
|
62988
62988
|
}
|
62989
|
-
function Hp(e, t, r, n,
|
62989
|
+
function Hp(e, t, r, n, o, d, f) {
|
62990
62990
|
switch (r) {
|
62991
62991
|
case nr:
|
62992
62992
|
if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
|
@@ -63013,7 +63013,7 @@ Gs.exports;
|
|
63013
63013
|
if (A)
|
63014
63014
|
return A == t;
|
63015
63015
|
n |= B, f.set(e, t);
|
63016
|
-
var q = ll(h(e), h(t), n,
|
63016
|
+
var q = ll(h(e), h(t), n, o, d, f);
|
63017
63017
|
return f.delete(e), q;
|
63018
63018
|
case Rr:
|
63019
63019
|
if (ba)
|
@@ -63021,7 +63021,7 @@ Gs.exports;
|
|
63021
63021
|
}
|
63022
63022
|
return !1;
|
63023
63023
|
}
|
63024
|
-
function $p(e, t, r, n,
|
63024
|
+
function $p(e, t, r, n, o, d) {
|
63025
63025
|
var f = r & P, h = Hi(e), x = h.length, A = Hi(t), q = A.length;
|
63026
63026
|
if (x != q && !f)
|
63027
63027
|
return !1;
|
@@ -63033,24 +63033,24 @@ Gs.exports;
|
|
63033
63033
|
var M = d.get(e), W = d.get(t);
|
63034
63034
|
if (M && W)
|
63035
63035
|
return M == t && W == e;
|
63036
|
-
var
|
63036
|
+
var Z = !0;
|
63037
63037
|
d.set(e, t), d.set(t, e);
|
63038
63038
|
for (var H = f; ++C < x; ) {
|
63039
63039
|
O = h[C];
|
63040
63040
|
var ae = e[O], le = t[O];
|
63041
63041
|
if (n)
|
63042
63042
|
var ut = f ? n(le, ae, O, t, e, d) : n(ae, le, O, e, t, d);
|
63043
|
-
if (!(ut === a ? ae === le ||
|
63044
|
-
|
63043
|
+
if (!(ut === a ? ae === le || o(ae, le, r, n, d) : ut)) {
|
63044
|
+
Z = !1;
|
63045
63045
|
break;
|
63046
63046
|
}
|
63047
63047
|
H || (H = O == "constructor");
|
63048
63048
|
}
|
63049
|
-
if (
|
63049
|
+
if (Z && !H) {
|
63050
63050
|
var Ve = e.constructor, dt = t.constructor;
|
63051
|
-
Ve != dt && "constructor" in e && "constructor" in t && !(typeof Ve == "function" && Ve instanceof Ve && typeof dt == "function" && dt instanceof dt) && (
|
63051
|
+
Ve != dt && "constructor" in e && "constructor" in t && !(typeof Ve == "function" && Ve instanceof Ve && typeof dt == "function" && dt instanceof dt) && (Z = !1);
|
63052
63052
|
}
|
63053
|
-
return d.delete(e), d.delete(t),
|
63053
|
+
return d.delete(e), d.delete(t), Z;
|
63054
63054
|
}
|
63055
63055
|
function Zt(e) {
|
63056
63056
|
return Ji(fl(e, a, Tl), e + "");
|
@@ -63066,9 +63066,9 @@ Gs.exports;
|
|
63066
63066
|
} : pn;
|
63067
63067
|
function qs(e) {
|
63068
63068
|
for (var t = e.name + "", r = Xr[t], n = ye.call(Xr, t) ? r.length : 0; n--; ) {
|
63069
|
-
var
|
63069
|
+
var o = r[n], d = o.func;
|
63070
63070
|
if (d == null || d == e)
|
63071
|
-
return
|
63071
|
+
return o.name;
|
63072
63072
|
}
|
63073
63073
|
return t;
|
63074
63074
|
}
|
@@ -63086,8 +63086,8 @@ Gs.exports;
|
|
63086
63086
|
}
|
63087
63087
|
function Xi(e) {
|
63088
63088
|
for (var t = Fe(e), r = t.length; r--; ) {
|
63089
|
-
var n = t[r],
|
63090
|
-
t[r] = [n,
|
63089
|
+
var n = t[r], o = e[n];
|
63090
|
+
t[r] = [n, o, pl(o)];
|
63091
63091
|
}
|
63092
63092
|
return t;
|
63093
63093
|
}
|
@@ -63102,8 +63102,8 @@ Gs.exports;
|
|
63102
63102
|
var n = !0;
|
63103
63103
|
} catch {
|
63104
63104
|
}
|
63105
|
-
var
|
63106
|
-
return n && (t ? e[Tr] = r : delete e[Tr]),
|
63105
|
+
var o = ns.call(e);
|
63106
|
+
return n && (t ? e[Tr] = r : delete e[Tr]), o;
|
63107
63107
|
}
|
63108
63108
|
var Ki = vi ? function(e) {
|
63109
63109
|
return e == null ? [] : (e = be(e), or(vi(e), function(t) {
|
@@ -63132,7 +63132,7 @@ Gs.exports;
|
|
63132
63132
|
return t;
|
63133
63133
|
});
|
63134
63134
|
function Xp(e, t, r) {
|
63135
|
-
for (var n = -1,
|
63135
|
+
for (var n = -1, o = r.length; ++n < o; ) {
|
63136
63136
|
var d = r[n], f = d.size;
|
63137
63137
|
switch (d.type) {
|
63138
63138
|
case "drop":
|
@@ -63157,13 +63157,13 @@ Gs.exports;
|
|
63157
63157
|
}
|
63158
63158
|
function ul(e, t, r) {
|
63159
63159
|
t = mr(t, e);
|
63160
|
-
for (var n = -1,
|
63160
|
+
for (var n = -1, o = t.length, d = !1; ++n < o; ) {
|
63161
63161
|
var f = Bt(t[n]);
|
63162
63162
|
if (!(d = e != null && r(e, f)))
|
63163
63163
|
break;
|
63164
63164
|
e = e[f];
|
63165
63165
|
}
|
63166
|
-
return d || ++n !=
|
63166
|
+
return d || ++n != o ? d : (o = e == null ? 0 : e.length, !!o && Rs(o) && er(f, o) && (V(e) || Sr(e)));
|
63167
63167
|
}
|
63168
63168
|
function Yp(e) {
|
63169
63169
|
var t = e.length, r = new e.constructor(t);
|
@@ -63269,16 +63269,16 @@ Gs.exports;
|
|
63269
63269
|
return t;
|
63270
63270
|
}
|
63271
63271
|
function am(e, t) {
|
63272
|
-
var r = e[1], n = t[1],
|
63272
|
+
var r = e[1], n = t[1], o = r | n, d = o < (te | pe | Q), f = n == Q && r == L || n == Q && r == Ne && e[7].length <= t[8] || n == (Q | Ne) && t[7].length <= t[8] && r == L;
|
63273
63273
|
if (!(d || f))
|
63274
63274
|
return e;
|
63275
|
-
n &
|
63275
|
+
n & te && (e[2] = t[2], o |= r & te ? 0 : X);
|
63276
63276
|
var h = t[3];
|
63277
63277
|
if (h) {
|
63278
63278
|
var x = e[3];
|
63279
63279
|
e[3] = x ? Yo(x, h, t[4]) : h, e[4] = x ? cr(e[3], w) : t[4];
|
63280
63280
|
}
|
63281
|
-
return h = t[5], h && (x = e[5], e[5] = x ? Vo(x, h, t[6]) : h, e[6] = x ? cr(e[5], w) : t[6]), h = t[7], h && (e[7] = h), n & Q && (e[8] = e[8] == null ? t[8] : He(e[8], t[8])), e[9] == null && (e[9] = t[9]), e[0] = t[0], e[1] =
|
63281
|
+
return h = t[5], h && (x = e[5], e[5] = x ? Vo(x, h, t[6]) : h, e[6] = x ? cr(e[5], w) : t[6]), h = t[7], h && (e[7] = h), n & Q && (e[8] = e[8] == null ? t[8] : He(e[8], t[8])), e[9] == null && (e[9] = t[9]), e[0] = t[0], e[1] = o, e;
|
63282
63282
|
}
|
63283
63283
|
function sm(e) {
|
63284
63284
|
var t = [];
|
@@ -63292,11 +63292,11 @@ Gs.exports;
|
|
63292
63292
|
}
|
63293
63293
|
function fl(e, t, r) {
|
63294
63294
|
return t = Re(t === a ? e.length - 1 : t, 0), function() {
|
63295
|
-
for (var n = arguments,
|
63296
|
-
f[
|
63297
|
-
|
63298
|
-
for (var h = T(t + 1); ++
|
63299
|
-
h[
|
63295
|
+
for (var n = arguments, o = -1, d = Re(n.length - t, 0), f = T(d); ++o < d; )
|
63296
|
+
f[o] = n[t + o];
|
63297
|
+
o = -1;
|
63298
|
+
for (var h = T(t + 1); ++o < t; )
|
63299
|
+
h[o] = n[o];
|
63300
63300
|
return h[t] = r(f), nt(e, this, h);
|
63301
63301
|
};
|
63302
63302
|
}
|
@@ -63304,9 +63304,9 @@ Gs.exports;
|
|
63304
63304
|
return t.length < 2 ? e : Ar(e, wt(t, 0, -1));
|
63305
63305
|
}
|
63306
63306
|
function nm(e, t) {
|
63307
|
-
for (var r = e.length, n = He(t.length, r),
|
63307
|
+
for (var r = e.length, n = He(t.length, r), o = et(e); n--; ) {
|
63308
63308
|
var d = t[n];
|
63309
|
-
e[n] = er(d, r) ?
|
63309
|
+
e[n] = er(d, r) ? o[d] : a;
|
63310
63310
|
}
|
63311
63311
|
return e;
|
63312
63312
|
}
|
@@ -63324,8 +63324,8 @@ Gs.exports;
|
|
63324
63324
|
function gl(e) {
|
63325
63325
|
var t = 0, r = 0;
|
63326
63326
|
return function() {
|
63327
|
-
var n = Dd(),
|
63328
|
-
if (r = n,
|
63327
|
+
var n = Dd(), o = Oe - (n - r);
|
63328
|
+
if (r = n, o > 0) {
|
63329
63329
|
if (++t >= yt)
|
63330
63330
|
return arguments[0];
|
63331
63331
|
} else
|
@@ -63334,17 +63334,17 @@ Gs.exports;
|
|
63334
63334
|
};
|
63335
63335
|
}
|
63336
63336
|
function Ss(e, t) {
|
63337
|
-
var r = -1, n = e.length,
|
63337
|
+
var r = -1, n = e.length, o = n - 1;
|
63338
63338
|
for (t = t === a ? n : t; ++r < t; ) {
|
63339
|
-
var d = Pi(r,
|
63339
|
+
var d = Pi(r, o), f = e[d];
|
63340
63340
|
e[d] = e[r], e[r] = f;
|
63341
63341
|
}
|
63342
63342
|
return e.length = t, e;
|
63343
63343
|
}
|
63344
63344
|
var bl = rm(function(e) {
|
63345
63345
|
var t = [];
|
63346
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(ei, function(r, n,
|
63347
|
-
t.push(
|
63346
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(ei, function(r, n, o, d) {
|
63347
|
+
t.push(o ? d.replace(G, "$1") : n || r);
|
63348
63348
|
}), t;
|
63349
63349
|
});
|
63350
63350
|
function Bt(e) {
|
@@ -63383,16 +63383,16 @@ Gs.exports;
|
|
63383
63383
|
var n = e == null ? 0 : e.length;
|
63384
63384
|
if (!n || t < 1)
|
63385
63385
|
return [];
|
63386
|
-
for (var
|
63387
|
-
f[d++] = wt(e,
|
63386
|
+
for (var o = 0, d = 0, f = T(ps(n / t)); o < n; )
|
63387
|
+
f[d++] = wt(e, o, o += t);
|
63388
63388
|
return f;
|
63389
63389
|
}
|
63390
63390
|
function cm(e) {
|
63391
|
-
for (var t = -1, r = e == null ? 0 : e.length, n = 0,
|
63391
|
+
for (var t = -1, r = e == null ? 0 : e.length, n = 0, o = []; ++t < r; ) {
|
63392
63392
|
var d = e[t];
|
63393
|
-
d && (
|
63393
|
+
d && (o[n++] = d);
|
63394
63394
|
}
|
63395
|
-
return
|
63395
|
+
return o;
|
63396
63396
|
}
|
63397
63397
|
function um() {
|
63398
63398
|
var e = arguments.length;
|
@@ -63402,12 +63402,12 @@ Gs.exports;
|
|
63402
63402
|
t[n - 1] = arguments[n];
|
63403
63403
|
return lr(V(r) ? et(r) : [r], We(t, 1));
|
63404
63404
|
}
|
63405
|
-
var dm =
|
63405
|
+
var dm = ee(function(e, t) {
|
63406
63406
|
return Se(e) ? va(e, We(t, 1, Se, !0)) : [];
|
63407
|
-
}), pm =
|
63407
|
+
}), pm = ee(function(e, t) {
|
63408
63408
|
var r = Tt(t);
|
63409
63409
|
return Se(r) && (r = a), Se(e) ? va(e, We(t, 1, Se, !0), U(r, 2)) : [];
|
63410
|
-
}), mm =
|
63410
|
+
}), mm = ee(function(e, t) {
|
63411
63411
|
var r = Tt(t);
|
63412
63412
|
return Se(r) && (r = a), Se(e) ? va(e, We(t, 1, Se, !0), a, r) : [];
|
63413
63413
|
});
|
@@ -63426,22 +63426,22 @@ Gs.exports;
|
|
63426
63426
|
return e && e.length ? ws(e, U(t, 3), !0) : [];
|
63427
63427
|
}
|
63428
63428
|
function gm(e, t, r, n) {
|
63429
|
-
var
|
63430
|
-
return
|
63429
|
+
var o = e == null ? 0 : e.length;
|
63430
|
+
return o ? (r && typeof r != "number" && Ye(e, t, r) && (r = 0, n = o), up(e, t, r, n)) : [];
|
63431
63431
|
}
|
63432
63432
|
function vl(e, t, r) {
|
63433
63433
|
var n = e == null ? 0 : e.length;
|
63434
63434
|
if (!n)
|
63435
63435
|
return -1;
|
63436
|
-
var
|
63437
|
-
return
|
63436
|
+
var o = r == null ? 0 : J(r);
|
63437
|
+
return o < 0 && (o = Re(n + o, 0)), ts(e, U(t, 3), o);
|
63438
63438
|
}
|
63439
63439
|
function wl(e, t, r) {
|
63440
63440
|
var n = e == null ? 0 : e.length;
|
63441
63441
|
if (!n)
|
63442
63442
|
return -1;
|
63443
|
-
var
|
63444
|
-
return r !== a && (
|
63443
|
+
var o = n - 1;
|
63444
|
+
return r !== a && (o = J(r), o = r < 0 ? Re(n + o, 0) : He(o, n - 1)), ts(e, U(t, 3), o, !0);
|
63445
63445
|
}
|
63446
63446
|
function Tl(e) {
|
63447
63447
|
var t = e == null ? 0 : e.length;
|
@@ -63457,8 +63457,8 @@ Gs.exports;
|
|
63457
63457
|
}
|
63458
63458
|
function vm(e) {
|
63459
63459
|
for (var t = -1, r = e == null ? 0 : e.length, n = {}; ++t < r; ) {
|
63460
|
-
var
|
63461
|
-
n[
|
63460
|
+
var o = e[t];
|
63461
|
+
n[o[0]] = o[1];
|
63462
63462
|
}
|
63463
63463
|
return n;
|
63464
63464
|
}
|
@@ -63469,20 +63469,20 @@ Gs.exports;
|
|
63469
63469
|
var n = e == null ? 0 : e.length;
|
63470
63470
|
if (!n)
|
63471
63471
|
return -1;
|
63472
|
-
var
|
63473
|
-
return
|
63472
|
+
var o = r == null ? 0 : J(r);
|
63473
|
+
return o < 0 && (o = Re(n + o, 0)), jr(e, t, o);
|
63474
63474
|
}
|
63475
63475
|
function Tm(e) {
|
63476
63476
|
var t = e == null ? 0 : e.length;
|
63477
63477
|
return t ? wt(e, 0, -1) : [];
|
63478
63478
|
}
|
63479
|
-
var Im =
|
63479
|
+
var Im = ee(function(e) {
|
63480
63480
|
var t = we(e, Fi);
|
63481
63481
|
return t.length && t[0] === e[0] ? Ci(t) : [];
|
63482
|
-
}), Dm =
|
63482
|
+
}), Dm = ee(function(e) {
|
63483
63483
|
var t = Tt(e), r = we(e, Fi);
|
63484
63484
|
return t === Tt(r) ? t = a : r.pop(), r.length && r[0] === e[0] ? Ci(r, U(t, 2)) : [];
|
63485
|
-
}), km =
|
63485
|
+
}), km = ee(function(e) {
|
63486
63486
|
var t = Tt(e), r = we(e, Fi);
|
63487
63487
|
return t = typeof t == "function" ? t : a, t && r.pop(), r.length && r[0] === e[0] ? Ci(r, a, t) : [];
|
63488
63488
|
});
|
@@ -63497,13 +63497,13 @@ Gs.exports;
|
|
63497
63497
|
var n = e == null ? 0 : e.length;
|
63498
63498
|
if (!n)
|
63499
63499
|
return -1;
|
63500
|
-
var
|
63501
|
-
return r !== a && (
|
63500
|
+
var o = n;
|
63501
|
+
return r !== a && (o = J(r), o = o < 0 ? Re(n + o, 0) : He(o, n - 1)), t === t ? od(e, t, o) : ts(e, ao, o, !0);
|
63502
63502
|
}
|
63503
63503
|
function Cm(e, t) {
|
63504
63504
|
return e && e.length ? Eo(e, J(t)) : a;
|
63505
63505
|
}
|
63506
|
-
var Sm =
|
63506
|
+
var Sm = ee(Dl);
|
63507
63507
|
function Dl(e, t) {
|
63508
63508
|
return e && e.length && t && t.length ? Oi(e, t) : e;
|
63509
63509
|
}
|
@@ -63515,20 +63515,20 @@ Gs.exports;
|
|
63515
63515
|
}
|
63516
63516
|
var Om = Zt(function(e, t) {
|
63517
63517
|
var r = e == null ? 0 : e.length, n = Di(e, t);
|
63518
|
-
return Lo(e, we(t, function(
|
63519
|
-
return er(
|
63518
|
+
return Lo(e, we(t, function(o) {
|
63519
|
+
return er(o, r) ? +o : o;
|
63520
63520
|
}).sort(Ko)), n;
|
63521
63521
|
});
|
63522
63522
|
function Pm(e, t) {
|
63523
63523
|
var r = [];
|
63524
63524
|
if (!(e && e.length))
|
63525
63525
|
return r;
|
63526
|
-
var n = -1,
|
63526
|
+
var n = -1, o = [], d = e.length;
|
63527
63527
|
for (t = U(t, 3); ++n < d; ) {
|
63528
63528
|
var f = e[n];
|
63529
|
-
t(f, n, e) && (r.push(f),
|
63529
|
+
t(f, n, e) && (r.push(f), o.push(n));
|
63530
63530
|
}
|
63531
|
-
return Lo(e,
|
63531
|
+
return Lo(e, o), r;
|
63532
63532
|
}
|
63533
63533
|
function Zi(e) {
|
63534
63534
|
return e == null ? e : Ad.call(e);
|
@@ -63590,12 +63590,12 @@ Gs.exports;
|
|
63590
63590
|
function Km(e, t) {
|
63591
63591
|
return e && e.length ? ws(e, U(t, 3)) : [];
|
63592
63592
|
}
|
63593
|
-
var Ym =
|
63593
|
+
var Ym = ee(function(e) {
|
63594
63594
|
return pr(We(e, 1, Se, !0));
|
63595
|
-
}), Vm =
|
63595
|
+
}), Vm = ee(function(e) {
|
63596
63596
|
var t = Tt(e);
|
63597
63597
|
return Se(t) && (t = a), pr(We(e, 1, Se, !0), U(t, 2));
|
63598
|
-
}), Qm =
|
63598
|
+
}), Qm = ee(function(e) {
|
63599
63599
|
var t = Tt(e);
|
63600
63600
|
return t = typeof t == "function" ? t : a, pr(We(e, 1, Se, !0), a, t);
|
63601
63601
|
});
|
@@ -63627,24 +63627,24 @@ Gs.exports;
|
|
63627
63627
|
return nt(t, a, n);
|
63628
63628
|
});
|
63629
63629
|
}
|
63630
|
-
var tf =
|
63630
|
+
var tf = ee(function(e, t) {
|
63631
63631
|
return Se(e) ? va(e, t) : [];
|
63632
|
-
}), rf =
|
63632
|
+
}), rf = ee(function(e) {
|
63633
63633
|
return Li(or(e, Se));
|
63634
|
-
}), af =
|
63634
|
+
}), af = ee(function(e) {
|
63635
63635
|
var t = Tt(e);
|
63636
63636
|
return Se(t) && (t = a), Li(or(e, Se), U(t, 2));
|
63637
|
-
}), sf =
|
63637
|
+
}), sf = ee(function(e) {
|
63638
63638
|
var t = Tt(e);
|
63639
63639
|
return t = typeof t == "function" ? t : a, Li(or(e, Se), a, t);
|
63640
|
-
}), nf =
|
63640
|
+
}), nf = ee(en);
|
63641
63641
|
function of(e, t) {
|
63642
63642
|
return Ho(e || [], t || [], xa);
|
63643
63643
|
}
|
63644
63644
|
function lf(e, t) {
|
63645
63645
|
return Ho(e || [], t || [], Ia);
|
63646
63646
|
}
|
63647
|
-
var cf =
|
63647
|
+
var cf = ee(function(e) {
|
63648
63648
|
var t = e.length, r = t > 1 ? e[t - 1] : a;
|
63649
63649
|
return r = typeof r == "function" ? (e.pop(), r) : a, kl(e, r);
|
63650
63650
|
});
|
@@ -63659,12 +63659,12 @@ Gs.exports;
|
|
63659
63659
|
return t(e);
|
63660
63660
|
}
|
63661
63661
|
var df = Zt(function(e) {
|
63662
|
-
var t = e.length, r = t ? e[0] : 0, n = this.__wrapped__,
|
63662
|
+
var t = e.length, r = t ? e[0] : 0, n = this.__wrapped__, o = function(d) {
|
63663
63663
|
return Di(d, e);
|
63664
63664
|
};
|
63665
|
-
return t > 1 || this.__actions__.length || !(n instanceof oe) || !er(r) ? this.thru(
|
63665
|
+
return t > 1 || this.__actions__.length || !(n instanceof oe) || !er(r) ? this.thru(o) : (n = n.slice(r, +r + (t ? 1 : 0)), n.__actions__.push({
|
63666
63666
|
func: zs,
|
63667
|
-
args: [
|
63667
|
+
args: [o],
|
63668
63668
|
thisArg: a
|
63669
63669
|
}), new xt(n, this.__chain__).thru(function(d) {
|
63670
63670
|
return t && !d.length && d.push(a), d;
|
@@ -63687,11 +63687,11 @@ Gs.exports;
|
|
63687
63687
|
function hf(e) {
|
63688
63688
|
for (var t, r = this; r instanceof hs; ) {
|
63689
63689
|
var n = xl(r);
|
63690
|
-
n.__index__ = 0, n.__values__ = a, t ?
|
63691
|
-
var
|
63690
|
+
n.__index__ = 0, n.__values__ = a, t ? o.__wrapped__ = n : t = n;
|
63691
|
+
var o = n;
|
63692
63692
|
r = r.__wrapped__;
|
63693
63693
|
}
|
63694
|
-
return
|
63694
|
+
return o.__wrapped__ = e, t;
|
63695
63695
|
}
|
63696
63696
|
function _f() {
|
63697
63697
|
var e = this.__wrapped__;
|
@@ -63742,13 +63742,13 @@ Gs.exports;
|
|
63742
63742
|
});
|
63743
63743
|
function qf(e, t, r, n) {
|
63744
63744
|
e = tt(e) ? e : Zr(e), r = r && !n ? J(r) : 0;
|
63745
|
-
var
|
63746
|
-
return r < 0 && (r = Re(
|
63745
|
+
var o = e.length;
|
63746
|
+
return r < 0 && (r = Re(o + r, 0)), Ms(e) ? r <= o && e.indexOf(t, r) > -1 : !!o && jr(e, t, r) > -1;
|
63747
63747
|
}
|
63748
|
-
var Cf =
|
63749
|
-
var n = -1,
|
63748
|
+
var Cf = ee(function(e, t, r) {
|
63749
|
+
var n = -1, o = typeof t == "function", d = tt(e) ? T(e.length) : [];
|
63750
63750
|
return dr(e, function(f) {
|
63751
|
-
d[++n] =
|
63751
|
+
d[++n] = o ? nt(t, f, r) : wa(f, t, r);
|
63752
63752
|
}), d;
|
63753
63753
|
}), Sf = Ts(function(e, t, r) {
|
63754
63754
|
Qt(e, r, t);
|
@@ -63766,12 +63766,12 @@ Gs.exports;
|
|
63766
63766
|
return [[], []];
|
63767
63767
|
});
|
63768
63768
|
function Of(e, t, r) {
|
63769
|
-
var n = V(e) ? pi : io,
|
63770
|
-
return n(e, U(t, 4), r,
|
63769
|
+
var n = V(e) ? pi : io, o = arguments.length < 3;
|
63770
|
+
return n(e, U(t, 4), r, o, dr);
|
63771
63771
|
}
|
63772
63772
|
function Pf(e, t, r) {
|
63773
|
-
var n = V(e) ? $u : io,
|
63774
|
-
return n(e, U(t, 4), r,
|
63773
|
+
var n = V(e) ? $u : io, o = arguments.length < 3;
|
63774
|
+
return n(e, U(t, 4), r, o, Do);
|
63775
63775
|
}
|
63776
63776
|
function Ef(e, t) {
|
63777
63777
|
var r = V(e) ? or : ko;
|
@@ -63802,7 +63802,7 @@ Gs.exports;
|
|
63802
63802
|
var n = V(e) ? mi : zp;
|
63803
63803
|
return r && Ye(e, t, r) && (t = a), n(e, U(t, 3));
|
63804
63804
|
}
|
63805
|
-
var jf =
|
63805
|
+
var jf = ee(function(e, t) {
|
63806
63806
|
if (e == null)
|
63807
63807
|
return [];
|
63808
63808
|
var r = t.length;
|
@@ -63829,20 +63829,20 @@ Gs.exports;
|
|
63829
63829
|
return --e > 0 && (r = t.apply(this, arguments)), e <= 1 && (t = a), r;
|
63830
63830
|
};
|
63831
63831
|
}
|
63832
|
-
var tn =
|
63833
|
-
var n =
|
63832
|
+
var tn = ee(function(e, t, r) {
|
63833
|
+
var n = te;
|
63834
63834
|
if (r.length) {
|
63835
|
-
var
|
63835
|
+
var o = cr(r, Qr(tn));
|
63836
63836
|
n |= $;
|
63837
63837
|
}
|
63838
|
-
return Jt(e, n, t, r,
|
63839
|
-
}), Nl =
|
63840
|
-
var n =
|
63838
|
+
return Jt(e, n, t, r, o);
|
63839
|
+
}), Nl = ee(function(e, t, r) {
|
63840
|
+
var n = te | pe;
|
63841
63841
|
if (r.length) {
|
63842
|
-
var
|
63842
|
+
var o = cr(r, Qr(Nl));
|
63843
63843
|
n |= $;
|
63844
63844
|
}
|
63845
|
-
return Jt(t, n, e, r,
|
63845
|
+
return Jt(t, n, e, r, o);
|
63846
63846
|
});
|
63847
63847
|
function Ol(e, t, r) {
|
63848
63848
|
t = r ? a : t;
|
@@ -63855,18 +63855,18 @@ Gs.exports;
|
|
63855
63855
|
return n.placeholder = Pl.placeholder, n;
|
63856
63856
|
}
|
63857
63857
|
function El(e, t, r) {
|
63858
|
-
var n,
|
63858
|
+
var n, o, d, f, h, x, A = 0, q = !1, C = !1, O = !0;
|
63859
63859
|
if (typeof e != "function")
|
63860
63860
|
throw new bt(m);
|
63861
63861
|
t = It(t) || 0, Ie(r) && (q = !!r.leading, C = "maxWait" in r, d = C ? Re(It(r.maxWait) || 0, t) : d, O = "trailing" in r ? !!r.trailing : O);
|
63862
63862
|
function M(ze) {
|
63863
|
-
var Nt = n, ar =
|
63864
|
-
return n =
|
63863
|
+
var Nt = n, ar = o;
|
63864
|
+
return n = o = a, A = ze, f = e.apply(ar, Nt), f;
|
63865
63865
|
}
|
63866
63866
|
function W(ze) {
|
63867
63867
|
return A = ze, h = Aa(ae, t), q ? M(ze) : f;
|
63868
63868
|
}
|
63869
|
-
function
|
63869
|
+
function Z(ze) {
|
63870
63870
|
var Nt = ze - x, ar = ze - A, ec = t - Nt;
|
63871
63871
|
return C ? He(ec, d - ar) : ec;
|
63872
63872
|
}
|
@@ -63878,20 +63878,20 @@ Gs.exports;
|
|
63878
63878
|
var ze = Os();
|
63879
63879
|
if (H(ze))
|
63880
63880
|
return le(ze);
|
63881
|
-
h = Aa(ae,
|
63881
|
+
h = Aa(ae, Z(ze));
|
63882
63882
|
}
|
63883
63883
|
function le(ze) {
|
63884
|
-
return h = a, O && n ? M(ze) : (n =
|
63884
|
+
return h = a, O && n ? M(ze) : (n = o = a, f);
|
63885
63885
|
}
|
63886
63886
|
function ut() {
|
63887
|
-
h !== a && $o(h), A = 0, n = x =
|
63887
|
+
h !== a && $o(h), A = 0, n = x = o = h = a;
|
63888
63888
|
}
|
63889
63889
|
function Ve() {
|
63890
63890
|
return h === a ? f : le(Os());
|
63891
63891
|
}
|
63892
63892
|
function dt() {
|
63893
63893
|
var ze = Os(), Nt = H(ze);
|
63894
|
-
if (n = arguments,
|
63894
|
+
if (n = arguments, o = this, x = ze, Nt) {
|
63895
63895
|
if (h === a)
|
63896
63896
|
return W(x);
|
63897
63897
|
if (C)
|
@@ -63901,9 +63901,9 @@ Gs.exports;
|
|
63901
63901
|
}
|
63902
63902
|
return dt.cancel = ut, dt.flush = Ve, dt;
|
63903
63903
|
}
|
63904
|
-
var Wf =
|
63904
|
+
var Wf = ee(function(e, t) {
|
63905
63905
|
return Io(e, 1, t);
|
63906
|
-
}), Hf =
|
63906
|
+
}), Hf = ee(function(e, t, r) {
|
63907
63907
|
return Io(e, It(t) || 0, r);
|
63908
63908
|
});
|
63909
63909
|
function $f(e) {
|
@@ -63913,11 +63913,11 @@ Gs.exports;
|
|
63913
63913
|
if (typeof e != "function" || t != null && typeof t != "function")
|
63914
63914
|
throw new bt(m);
|
63915
63915
|
var r = function() {
|
63916
|
-
var n = arguments,
|
63917
|
-
if (d.has(
|
63918
|
-
return d.get(
|
63916
|
+
var n = arguments, o = t ? t.apply(this, n) : n[0], d = r.cache;
|
63917
|
+
if (d.has(o))
|
63918
|
+
return d.get(o);
|
63919
63919
|
var f = e.apply(this, n);
|
63920
|
-
return r.cache = d.set(
|
63920
|
+
return r.cache = d.set(o, f) || d, f;
|
63921
63921
|
};
|
63922
63922
|
return r.cache = new (Ps.Cache || Vt)(), r;
|
63923
63923
|
}
|
@@ -63946,15 +63946,15 @@ Gs.exports;
|
|
63946
63946
|
var Xf = Np(function(e, t) {
|
63947
63947
|
t = t.length == 1 && V(t[0]) ? we(t[0], ot(U())) : we(We(t, 1), ot(U()));
|
63948
63948
|
var r = t.length;
|
63949
|
-
return
|
63950
|
-
for (var
|
63951
|
-
n[
|
63949
|
+
return ee(function(n) {
|
63950
|
+
for (var o = -1, d = He(n.length, r); ++o < d; )
|
63951
|
+
n[o] = t[o].call(this, n[o]);
|
63952
63952
|
return nt(e, this, n);
|
63953
63953
|
});
|
63954
|
-
}), rn =
|
63954
|
+
}), rn = ee(function(e, t) {
|
63955
63955
|
var r = cr(t, Qr(rn));
|
63956
63956
|
return Jt(e, $, a, t, r);
|
63957
|
-
}), Rl =
|
63957
|
+
}), Rl = ee(function(e, t) {
|
63958
63958
|
var r = cr(t, Qr(Rl));
|
63959
63959
|
return Jt(e, se, a, t, r);
|
63960
63960
|
}), Kf = Zt(function(e, t) {
|
@@ -63963,24 +63963,24 @@ Gs.exports;
|
|
63963
63963
|
function Yf(e, t) {
|
63964
63964
|
if (typeof e != "function")
|
63965
63965
|
throw new bt(m);
|
63966
|
-
return t = t === a ? t : J(t),
|
63966
|
+
return t = t === a ? t : J(t), ee(e, t);
|
63967
63967
|
}
|
63968
63968
|
function Vf(e, t) {
|
63969
63969
|
if (typeof e != "function")
|
63970
63970
|
throw new bt(m);
|
63971
|
-
return t = t == null ? 0 : Re(J(t), 0),
|
63972
|
-
var n = r[t],
|
63973
|
-
return n && lr(
|
63971
|
+
return t = t == null ? 0 : Re(J(t), 0), ee(function(r) {
|
63972
|
+
var n = r[t], o = fr(r, 0, t);
|
63973
|
+
return n && lr(o, n), nt(e, this, o);
|
63974
63974
|
});
|
63975
63975
|
}
|
63976
63976
|
function Qf(e, t, r) {
|
63977
|
-
var n = !0,
|
63977
|
+
var n = !0, o = !0;
|
63978
63978
|
if (typeof e != "function")
|
63979
63979
|
throw new bt(m);
|
63980
|
-
return Ie(r) && (n = "leading" in r ? !!r.leading : n,
|
63980
|
+
return Ie(r) && (n = "leading" in r ? !!r.leading : n, o = "trailing" in r ? !!r.trailing : o), El(e, t, {
|
63981
63981
|
leading: n,
|
63982
63982
|
maxWait: t,
|
63983
|
-
trailing:
|
63983
|
+
trailing: o
|
63984
63984
|
});
|
63985
63985
|
}
|
63986
63986
|
function Jf(e) {
|
@@ -64209,16 +64209,16 @@ Gs.exports;
|
|
64209
64209
|
var r = Kr(e);
|
64210
64210
|
return t == null ? r : wo(r, t);
|
64211
64211
|
}
|
64212
|
-
var Oy =
|
64212
|
+
var Oy = ee(function(e, t) {
|
64213
64213
|
e = be(e);
|
64214
|
-
var r = -1, n = t.length,
|
64215
|
-
for (
|
64214
|
+
var r = -1, n = t.length, o = n > 2 ? t[2] : a;
|
64215
|
+
for (o && Ye(t[0], t[1], o) && (n = 1); ++r < n; )
|
64216
64216
|
for (var d = t[r], f = rt(d), h = -1, x = f.length; ++h < x; ) {
|
64217
64217
|
var A = f[h], q = e[A];
|
64218
64218
|
(q === a || zt(q, $r[A]) && !ye.call(e, A)) && (e[A] = d[A]);
|
64219
64219
|
}
|
64220
64220
|
return e;
|
64221
|
-
}), Py =
|
64221
|
+
}), Py = ee(function(e) {
|
64222
64222
|
return e.push(a, ol), nt($l, a, e);
|
64223
64223
|
});
|
64224
64224
|
function Ey(e, t) {
|
@@ -64259,7 +64259,7 @@ Gs.exports;
|
|
64259
64259
|
t != null && typeof t.toString != "function" && (t = ns.call(t)), e[t] = r;
|
64260
64260
|
}, cn(at)), $y = rl(function(e, t, r) {
|
64261
64261
|
t != null && typeof t.toString != "function" && (t = ns.call(t)), ye.call(e, t) ? e[t].push(r) : e[t] = [r];
|
64262
|
-
}, U), Gy =
|
64262
|
+
}, U), Gy = ee(wa);
|
64263
64263
|
function Fe(e) {
|
64264
64264
|
return tt(e) ? xo(e) : zi(e);
|
64265
64265
|
}
|
@@ -64268,14 +64268,14 @@ Gs.exports;
|
|
64268
64268
|
}
|
64269
64269
|
function Xy(e, t) {
|
64270
64270
|
var r = {};
|
64271
|
-
return t = U(t, 3), Lt(e, function(n,
|
64272
|
-
Qt(r, t(n,
|
64271
|
+
return t = U(t, 3), Lt(e, function(n, o, d) {
|
64272
|
+
Qt(r, t(n, o, d), n);
|
64273
64273
|
}), r;
|
64274
64274
|
}
|
64275
64275
|
function Ky(e, t) {
|
64276
64276
|
var r = {};
|
64277
|
-
return t = U(t, 3), Lt(e, function(n,
|
64278
|
-
Qt(r,
|
64277
|
+
return t = U(t, 3), Lt(e, function(n, o, d) {
|
64278
|
+
Qt(r, o, t(n, o, d));
|
64279
64279
|
}), r;
|
64280
64280
|
}
|
64281
64281
|
var Yy = Yr(function(e, t, r) {
|
@@ -64290,8 +64290,8 @@ Gs.exports;
|
|
64290
64290
|
t = we(t, function(d) {
|
64291
64291
|
return d = mr(d, e), n || (n = d.length > 1), d;
|
64292
64292
|
}), Ft(e, $i(e), r), n && (r = vt(r, k | z | E, Wp));
|
64293
|
-
for (var
|
64294
|
-
Mi(r, t[
|
64293
|
+
for (var o = t.length; o--; )
|
64294
|
+
Mi(r, t[o]);
|
64295
64295
|
return r;
|
64296
64296
|
});
|
64297
64297
|
function Qy(e, t) {
|
@@ -64306,16 +64306,16 @@ Gs.exports;
|
|
64306
64306
|
var r = we($i(e), function(n) {
|
64307
64307
|
return [n];
|
64308
64308
|
});
|
64309
|
-
return t = U(t), Mo(e, r, function(n,
|
64310
|
-
return t(n,
|
64309
|
+
return t = U(t), Mo(e, r, function(n, o) {
|
64310
|
+
return t(n, o[0]);
|
64311
64311
|
});
|
64312
64312
|
}
|
64313
64313
|
function Zy(e, t, r) {
|
64314
64314
|
t = mr(t, e);
|
64315
|
-
var n = -1,
|
64316
|
-
for (
|
64315
|
+
var n = -1, o = t.length;
|
64316
|
+
for (o || (o = 1, e = a); ++n < o; ) {
|
64317
64317
|
var d = e == null ? a : e[Bt(t[n])];
|
64318
|
-
d === a && (n =
|
64318
|
+
d === a && (n = o, d = r), e = tr(d) ? d.call(e) : d;
|
64319
64319
|
}
|
64320
64320
|
return e;
|
64321
64321
|
}
|
@@ -64327,12 +64327,12 @@ Gs.exports;
|
|
64327
64327
|
}
|
64328
64328
|
var Xl = il(Fe), Kl = il(rt);
|
64329
64329
|
function rh(e, t, r) {
|
64330
|
-
var n = V(e),
|
64330
|
+
var n = V(e), o = n || yr(e) || Jr(e);
|
64331
64331
|
if (t = U(t, 4), r == null) {
|
64332
64332
|
var d = e && e.constructor;
|
64333
|
-
|
64333
|
+
o ? r = n ? new d() : [] : Ie(e) ? r = tr(d) ? Kr(cs(e)) : {} : r = {};
|
64334
64334
|
}
|
64335
|
-
return (
|
64335
|
+
return (o ? gt : Lt)(e, function(f, h, x) {
|
64336
64336
|
return t(r, f, h, x);
|
64337
64337
|
}), r;
|
64338
64338
|
}
|
@@ -64363,8 +64363,8 @@ Gs.exports;
|
|
64363
64363
|
e = t, t = n;
|
64364
64364
|
}
|
64365
64365
|
if (r || e % 1 || t % 1) {
|
64366
|
-
var
|
64367
|
-
return He(e +
|
64366
|
+
var o = go();
|
64367
|
+
return He(e + o * (t - e + Bu("1e-" + ((o + "").length - 1))), t);
|
64368
64368
|
}
|
64369
64369
|
return Pi(e, t);
|
64370
64370
|
}
|
@@ -64381,8 +64381,8 @@ Gs.exports;
|
|
64381
64381
|
e = fe(e), t = lt(t);
|
64382
64382
|
var n = e.length;
|
64383
64383
|
r = r === a ? n : kr(J(r), 0, n);
|
64384
|
-
var
|
64385
|
-
return r -= t.length, r >= 0 && e.slice(r,
|
64384
|
+
var o = r;
|
64385
|
+
return r -= t.length, r >= 0 && e.slice(r, o) == t;
|
64386
64386
|
}
|
64387
64387
|
function ph(e) {
|
64388
64388
|
return e = fe(e), e && Ga.test(e) ? e.replace(Fr, ed) : e;
|
@@ -64400,8 +64400,8 @@ Gs.exports;
|
|
64400
64400
|
var n = t ? Wr(e) : 0;
|
64401
64401
|
if (!t || n >= t)
|
64402
64402
|
return e;
|
64403
|
-
var
|
64404
|
-
return ks(ms(
|
64403
|
+
var o = (t - n) / 2;
|
64404
|
+
return ks(ms(o), r) + e + ks(ps(o), r);
|
64405
64405
|
}
|
64406
64406
|
function gh(e, t, r) {
|
64407
64407
|
e = fe(e), t = J(t);
|
@@ -64438,7 +64438,7 @@ Gs.exports;
|
|
64438
64438
|
function Ah(e, t, r) {
|
64439
64439
|
var n = c.templateSettings;
|
64440
64440
|
r && Ye(e, t, r) && (t = a), e = fe(e), t = Ls({}, t, n, nl);
|
64441
|
-
var
|
64441
|
+
var o = Ls({}, t.imports, n.imports, nl), d = Fe(o), f = gi(o, d), h, x, A = 0, q = t.interpolate || qt, C = "__p += '", O = xi(
|
64442
64442
|
(t.escape || qt).source + "|" + q.source + "|" + (q === Ka ? ce : qt).source + "|" + (t.evaluate || qt).source + "|$",
|
64443
64443
|
"g"
|
64444
64444
|
), M = "//# sourceURL=" + (ye.call(t, "sourceURL") ? (t.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Eu + "]") + `
|
@@ -64468,12 +64468,12 @@ function print() { __p += __j.call(arguments, '') }
|
|
64468
64468
|
` : `;
|
64469
64469
|
`) + C + `return __p
|
64470
64470
|
}`;
|
64471
|
-
var
|
64471
|
+
var Z = Jl(function() {
|
64472
64472
|
return de(d, M + "return " + C).apply(a, f);
|
64473
64473
|
});
|
64474
|
-
if (
|
64475
|
-
throw
|
64476
|
-
return
|
64474
|
+
if (Z.source = C, an(Z))
|
64475
|
+
throw Z;
|
64476
|
+
return Z;
|
64477
64477
|
}
|
64478
64478
|
function qh(e) {
|
64479
64479
|
return fe(e).toLowerCase();
|
@@ -64486,7 +64486,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
64486
64486
|
return no(e);
|
64487
64487
|
if (!e || !(t = lt(t)))
|
64488
64488
|
return e;
|
64489
|
-
var n = Ct(e),
|
64489
|
+
var n = Ct(e), o = Ct(t), d = oo(n, o), f = lo(n, o) + 1;
|
64490
64490
|
return fr(n, d, f).join("");
|
64491
64491
|
}
|
64492
64492
|
function zh(e, t, r) {
|
@@ -64494,21 +64494,21 @@ function print() { __p += __j.call(arguments, '') }
|
|
64494
64494
|
return e.slice(0, uo(e) + 1);
|
64495
64495
|
if (!e || !(t = lt(t)))
|
64496
64496
|
return e;
|
64497
|
-
var n = Ct(e),
|
64498
|
-
return fr(n, 0,
|
64497
|
+
var n = Ct(e), o = lo(n, Ct(t)) + 1;
|
64498
|
+
return fr(n, 0, o).join("");
|
64499
64499
|
}
|
64500
64500
|
function Nh(e, t, r) {
|
64501
64501
|
if (e = fe(e), e && (r || t === a))
|
64502
64502
|
return e.replace(ma, "");
|
64503
64503
|
if (!e || !(t = lt(t)))
|
64504
64504
|
return e;
|
64505
|
-
var n = Ct(e),
|
64506
|
-
return fr(n,
|
64505
|
+
var n = Ct(e), o = oo(n, Ct(t));
|
64506
|
+
return fr(n, o).join("");
|
64507
64507
|
}
|
64508
64508
|
function Oh(e, t) {
|
64509
64509
|
var r = ie, n = ft;
|
64510
64510
|
if (Ie(t)) {
|
64511
|
-
var
|
64511
|
+
var o = "separator" in t ? t.separator : o;
|
64512
64512
|
r = "length" in t ? J(t.length) : r, n = "omission" in t ? lt(t.omission) : n;
|
64513
64513
|
}
|
64514
64514
|
e = fe(e);
|
@@ -64523,17 +64523,17 @@ function print() { __p += __j.call(arguments, '') }
|
|
64523
64523
|
if (h < 1)
|
64524
64524
|
return n;
|
64525
64525
|
var x = f ? fr(f, 0, h).join("") : e.slice(0, h);
|
64526
|
-
if (
|
64526
|
+
if (o === a)
|
64527
64527
|
return x + n;
|
64528
|
-
if (f && (h += x.length - h), sn(
|
64529
|
-
if (e.slice(h).search(
|
64528
|
+
if (f && (h += x.length - h), sn(o)) {
|
64529
|
+
if (e.slice(h).search(o)) {
|
64530
64530
|
var A, q = x;
|
64531
|
-
for (
|
64531
|
+
for (o.global || (o = xi(o.source, fe(me.exec(o)) + "g")), o.lastIndex = 0; A = o.exec(q); )
|
64532
64532
|
var C = A.index;
|
64533
64533
|
x = x.slice(0, C === a ? h : C);
|
64534
64534
|
}
|
64535
|
-
} else if (e.indexOf(lt(
|
64536
|
-
var O = x.lastIndexOf(
|
64535
|
+
} else if (e.indexOf(lt(o), h) != h) {
|
64536
|
+
var O = x.lastIndexOf(o);
|
64537
64537
|
O > -1 && (x = x.slice(0, O));
|
64538
64538
|
}
|
64539
64539
|
return x + n;
|
@@ -64547,7 +64547,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
64547
64547
|
function Ql(e, t, r) {
|
64548
64548
|
return e = fe(e), t = r ? a : t, t === a ? ad(e) ? dd(e) : Ku(e) : e.match(t) || [];
|
64549
64549
|
}
|
64550
|
-
var Jl =
|
64550
|
+
var Jl = ee(function(e, t) {
|
64551
64551
|
try {
|
64552
64552
|
return nt(e, a, t);
|
64553
64553
|
} catch (r) {
|
@@ -64564,9 +64564,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
64564
64564
|
if (typeof n[1] != "function")
|
64565
64565
|
throw new bt(m);
|
64566
64566
|
return [r(n[0]), n[1]];
|
64567
|
-
}) : [],
|
64568
|
-
for (var
|
64569
|
-
var d = e[
|
64567
|
+
}) : [], ee(function(n) {
|
64568
|
+
for (var o = -1; ++o < t; ) {
|
64569
|
+
var d = e[o];
|
64570
64570
|
if (nt(d[0], this, n))
|
64571
64571
|
return nt(d[1], this, n);
|
64572
64572
|
}
|
@@ -64596,20 +64596,20 @@ function print() { __p += __j.call(arguments, '') }
|
|
64596
64596
|
function Wh(e, t) {
|
64597
64597
|
return Po(e, vt(t, k));
|
64598
64598
|
}
|
64599
|
-
var Hh =
|
64599
|
+
var Hh = ee(function(e, t) {
|
64600
64600
|
return function(r) {
|
64601
64601
|
return wa(r, e, t);
|
64602
64602
|
};
|
64603
|
-
}), $h =
|
64603
|
+
}), $h = ee(function(e, t) {
|
64604
64604
|
return function(r) {
|
64605
64605
|
return wa(e, r, t);
|
64606
64606
|
};
|
64607
64607
|
});
|
64608
64608
|
function dn(e, t, r) {
|
64609
|
-
var n = Fe(t),
|
64610
|
-
r == null && !(Ie(t) && (
|
64609
|
+
var n = Fe(t), o = bs(t, n);
|
64610
|
+
r == null && !(Ie(t) && (o.length || !n.length)) && (r = t, t = e, e = this, o = bs(t, Fe(t)));
|
64611
64611
|
var d = !(Ie(r) && "chain" in r) || !!r.chain, f = tr(e);
|
64612
|
-
return gt(
|
64612
|
+
return gt(o, function(h) {
|
64613
64613
|
var x = t[h];
|
64614
64614
|
e[h] = x, f && (e.prototype[h] = function() {
|
64615
64615
|
var A = this.__chain__;
|
@@ -64627,7 +64627,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
64627
64627
|
function pn() {
|
64628
64628
|
}
|
64629
64629
|
function Xh(e) {
|
64630
|
-
return e = J(e),
|
64630
|
+
return e = J(e), ee(function(t) {
|
64631
64631
|
return Eo(t, e);
|
64632
64632
|
});
|
64633
64633
|
}
|
@@ -64661,9 +64661,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
64661
64661
|
return [];
|
64662
64662
|
var r = K, n = He(e, K);
|
64663
64663
|
t = U(t), e -= K;
|
64664
|
-
for (var
|
64664
|
+
for (var o = _i(n, t); ++r < e; )
|
64665
64665
|
t(r);
|
64666
|
-
return
|
64666
|
+
return o;
|
64667
64667
|
}
|
64668
64668
|
function s_(e) {
|
64669
64669
|
return V(e) ? we(e, Bt) : ct(e) ? [e] : et(bl(fe(e)));
|
@@ -64711,7 +64711,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
64711
64711
|
return Lt(c, function(t, r) {
|
64712
64712
|
ye.call(c.prototype, r) || (e[r] = t);
|
64713
64713
|
}), e;
|
64714
|
-
}(), { chain: !1 }), c.VERSION =
|
64714
|
+
}(), { chain: !1 }), c.VERSION = l, gt(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(e) {
|
64715
64715
|
c[e].placeholder = c;
|
64716
64716
|
}), gt(["drop", "take"], function(e, t) {
|
64717
64717
|
oe.prototype[e] = function(r) {
|
@@ -64726,10 +64726,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
64726
64726
|
};
|
64727
64727
|
}), gt(["filter", "map", "takeWhile"], function(e, t) {
|
64728
64728
|
var r = t + 1, n = r == Pe || r == ue;
|
64729
|
-
oe.prototype[e] = function(
|
64729
|
+
oe.prototype[e] = function(o) {
|
64730
64730
|
var d = this.clone();
|
64731
64731
|
return d.__iteratees__.push({
|
64732
|
-
iteratee: U(
|
64732
|
+
iteratee: U(o, 3),
|
64733
64733
|
type: r
|
64734
64734
|
}), d.__filtered__ = d.__filtered__ || n, d;
|
64735
64735
|
};
|
@@ -64749,7 +64749,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
64749
64749
|
return this.filter(e).head();
|
64750
64750
|
}, oe.prototype.findLast = function(e) {
|
64751
64751
|
return this.reverse().find(e);
|
64752
|
-
}, oe.prototype.invokeMap =
|
64752
|
+
}, oe.prototype.invokeMap = ee(function(e, t) {
|
64753
64753
|
return typeof e == "function" ? new oe(this) : this.map(function(r) {
|
64754
64754
|
return wa(r, e, t);
|
64755
64755
|
});
|
@@ -64764,31 +64764,31 @@ function print() { __p += __j.call(arguments, '') }
|
|
64764
64764
|
}, oe.prototype.toArray = function() {
|
64765
64765
|
return this.take(K);
|
64766
64766
|
}, Lt(oe.prototype, function(e, t) {
|
64767
|
-
var r = /^(?:filter|find|map|reject)|While$/.test(t), n = /^(?:head|last)$/.test(t),
|
64768
|
-
|
64767
|
+
var r = /^(?:filter|find|map|reject)|While$/.test(t), n = /^(?:head|last)$/.test(t), o = c[n ? "take" + (t == "last" ? "Right" : "") : t], d = n || /^find/.test(t);
|
64768
|
+
o && (c.prototype[t] = function() {
|
64769
64769
|
var f = this.__wrapped__, h = n ? [1] : arguments, x = f instanceof oe, A = h[0], q = x || V(f), C = function(ae) {
|
64770
|
-
var le =
|
64770
|
+
var le = o.apply(c, lr([ae], h));
|
64771
64771
|
return n && O ? le[0] : le;
|
64772
64772
|
};
|
64773
64773
|
q && r && typeof A == "function" && A.length != 1 && (x = q = !1);
|
64774
|
-
var O = this.__chain__, M = !!this.__actions__.length, W = d && !O,
|
64774
|
+
var O = this.__chain__, M = !!this.__actions__.length, W = d && !O, Z = x && !M;
|
64775
64775
|
if (!d && q) {
|
64776
|
-
f =
|
64776
|
+
f = Z ? f : new oe(this);
|
64777
64777
|
var H = e.apply(f, h);
|
64778
64778
|
return H.__actions__.push({ func: zs, args: [C], thisArg: a }), new xt(H, O);
|
64779
64779
|
}
|
64780
|
-
return W &&
|
64780
|
+
return W && Z ? e.apply(this, h) : (H = this.thru(C), W ? n ? H.value()[0] : H.value() : H);
|
64781
64781
|
});
|
64782
64782
|
}), gt(["pop", "push", "shift", "sort", "splice", "unshift"], function(e) {
|
64783
64783
|
var t = as[e], r = /^(?:push|sort|unshift)$/.test(e) ? "tap" : "thru", n = /^(?:pop|shift)$/.test(e);
|
64784
64784
|
c.prototype[e] = function() {
|
64785
|
-
var
|
64785
|
+
var o = arguments;
|
64786
64786
|
if (n && !this.__chain__) {
|
64787
64787
|
var d = this.value();
|
64788
|
-
return t.apply(V(d) ? d : [],
|
64788
|
+
return t.apply(V(d) ? d : [], o);
|
64789
64789
|
}
|
64790
64790
|
return this[r](function(f) {
|
64791
|
-
return t.apply(V(f) ? f : [],
|
64791
|
+
return t.apply(V(f) ? f : [], o);
|
64792
64792
|
});
|
64793
64793
|
};
|
64794
64794
|
}), Lt(oe.prototype, function(e, t) {
|
@@ -65357,10 +65357,10 @@ class Yg {
|
|
65357
65357
|
enumerable: !0,
|
65358
65358
|
configurable: !0,
|
65359
65359
|
writable: !0,
|
65360
|
-
value: (a = [],
|
65361
|
-
const u = /* @__PURE__ */ new Map(), p =
|
65362
|
-
for (let m = p + 1, g = p; m <
|
65363
|
-
|
65360
|
+
value: (a = [], l) => {
|
65361
|
+
const u = /* @__PURE__ */ new Map(), p = l.indexOf("(");
|
65362
|
+
for (let m = p + 1, g = p; m < l.length; m++)
|
65363
|
+
l[m] !== "," && l[m] !== ")" || (g++, u.set(l.slice(g, m), g), g = m + 1);
|
65364
65364
|
return a.map(({ name: m, displayType: g, desc: v }) => {
|
65365
65365
|
const b = [], w = u.get(m), k = w + m.length;
|
65366
65366
|
return b.push(this._formatter.paragraph(this._formatter.bold(m), this._formatter.italic(g || ""))), v && b.push(Array.isArray(v) ? v.join(this._formatter.lineBreak) : v), {
|
@@ -65374,17 +65374,17 @@ class Yg {
|
|
65374
65374
|
}), this._formatter = he, this._isMac = /(Mac|iPhone|iPod|iPad)/i.test(i);
|
65375
65375
|
}
|
65376
65376
|
getSignatureHelpValues(i, a) {
|
65377
|
-
const
|
65378
|
-
if (!(
|
65377
|
+
const l = this._getFuncItems(i);
|
65378
|
+
if (!(l != null && l.length))
|
65379
65379
|
return null;
|
65380
|
-
const u = this._getSequentialSignatures(i,
|
65380
|
+
const u = this._getSequentialSignatures(i, l), p = this._getActiveIndex(l, a);
|
65381
65381
|
return {
|
65382
65382
|
signatures: u,
|
65383
65383
|
...p
|
65384
65384
|
};
|
65385
65385
|
}
|
65386
65386
|
_getActiveIndex(i, a = []) {
|
65387
|
-
let
|
65387
|
+
let l = 0, u = -1;
|
65388
65388
|
a.some((m) => !!m) || (u = a.length - 1);
|
65389
65389
|
const p = a.pop();
|
65390
65390
|
if (p)
|
@@ -65393,41 +65393,41 @@ class Yg {
|
|
65393
65393
|
if (v && v.length) {
|
65394
65394
|
const b = v.findIndex((w) => w.name === p);
|
65395
65395
|
if (b != -1) {
|
65396
|
-
u = b,
|
65396
|
+
u = b, l = m;
|
65397
65397
|
break;
|
65398
65398
|
}
|
65399
65399
|
}
|
65400
65400
|
}
|
65401
65401
|
return {
|
65402
65402
|
activeParameter: u,
|
65403
|
-
activeSignature:
|
65403
|
+
activeSignature: l
|
65404
65404
|
};
|
65405
65405
|
}
|
65406
65406
|
_getFuncItems(i) {
|
65407
65407
|
return Ut.functions.get(i) || Wt.userFuncs.get(i) || Wt.methodFuncs.get(i);
|
65408
65408
|
}
|
65409
65409
|
_getSequentialSignatures(i, a) {
|
65410
|
-
return a.map((
|
65411
|
-
const u = this._getSignatureLabel(i,
|
65410
|
+
return a.map((l) => {
|
65411
|
+
const u = this._getSignatureLabel(i, l);
|
65412
65412
|
return {
|
65413
65413
|
label: u,
|
65414
|
-
documentation: this._getFormattedSignatureDocumentation(
|
65415
|
-
parameters: this._getSignatureParams(
|
65414
|
+
documentation: this._getFormattedSignatureDocumentation(l),
|
65415
|
+
parameters: this._getSignatureParams(l.args, u)
|
65416
65416
|
};
|
65417
65417
|
});
|
65418
65418
|
}
|
65419
|
-
_getSignatureLabel(i, a,
|
65419
|
+
_getSignatureLabel(i, a, l = !1) {
|
65420
65420
|
const u = [i];
|
65421
|
-
return
|
65421
|
+
return l && u.push("<type>"), a.args && (u.push("("), u.push(a.args.map(({ name: p }) => p).join(", ")), u.push(")")), u.join("");
|
65422
65422
|
}
|
65423
65423
|
_getFormattedSignatureDocumentation(i) {
|
65424
|
-
const { desc: a } = i,
|
65425
|
-
a &&
|
65424
|
+
const { desc: a } = i, l = [];
|
65425
|
+
a && l.push(Array.isArray(a) ? a.join(this._formatter.lineBreak) : a);
|
65426
65426
|
const u = `${this._formatter.code(this._isMac ? "⌘" : "Ctrl")} +
|
65427
65427
|
${this._formatter.code("Shift")} +
|
65428
65428
|
${this._formatter.code("Space")}`;
|
65429
|
-
return
|
65430
|
-
value: this._formatter.paragraph(...
|
65429
|
+
return l.push(this._formatter.lineBreak), l.push(this._formatter.italic(`${u} ${De.toTriggerParameterHints}`)), {
|
65430
|
+
value: this._formatter.paragraph(...l)
|
65431
65431
|
};
|
65432
65432
|
}
|
65433
65433
|
}
|
@@ -65443,9 +65443,9 @@ class Qg {
|
|
65443
65443
|
}
|
65444
65444
|
getDocumentColors(i) {
|
65445
65445
|
const a = [];
|
65446
|
-
return i.forEach((
|
65447
|
-
const { range: u } =
|
65448
|
-
let { matches: p } =
|
65446
|
+
return i.forEach((l) => {
|
65447
|
+
const { range: u } = l;
|
65448
|
+
let { matches: p } = l;
|
65449
65449
|
p = p || [];
|
65450
65450
|
const m = p[0] || "";
|
65451
65451
|
let g = null;
|
@@ -65462,8 +65462,8 @@ class Qg {
|
|
65462
65462
|
const i = `#[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}))`;
|
65463
65463
|
return `color.new\\s*\\(\\s*(${i})\\s*,\\s*(\\d+)\\s*\\)|${i}`;
|
65464
65464
|
}
|
65465
|
-
getDocumentColorPresentations(i, { color: a, range:
|
65466
|
-
const u = i.getValueInRange(
|
65465
|
+
getDocumentColorPresentations(i, { color: a, range: l }) {
|
65466
|
+
const u = i.getValueInRange(l);
|
65467
65467
|
if (this._isHexToken(u) || this._colors[u])
|
65468
65468
|
return [{
|
65469
65469
|
label: this._colorRgbRepresentation(a)
|
@@ -65479,13 +65479,13 @@ class Qg {
|
|
65479
65479
|
label: p,
|
65480
65480
|
textEdit: {
|
65481
65481
|
text: p,
|
65482
|
-
range:
|
65482
|
+
range: l
|
65483
65483
|
}
|
65484
65484
|
}, {
|
65485
65485
|
label: m,
|
65486
65486
|
textEdit: {
|
65487
65487
|
text: m,
|
65488
|
-
range:
|
65488
|
+
range: l
|
65489
65489
|
}
|
65490
65490
|
}];
|
65491
65491
|
}
|
@@ -65508,18 +65508,18 @@ class Qg {
|
|
65508
65508
|
return 100 - Math.round(100 * i);
|
65509
65509
|
}
|
65510
65510
|
_extractNewExpression(i, a) {
|
65511
|
-
let
|
65512
|
-
return this._isHexToken(i) ?
|
65513
|
-
...
|
65511
|
+
let l = null;
|
65512
|
+
return this._isHexToken(i) ? l = this._hexToColor(i) : this._isRgbColor(i) ? l = this._rgbToColor(i) : this._colors[i] && (l = this._hexToColor(this._colors[i])), l && !Number.isNaN(a) ? {
|
65513
|
+
...l,
|
65514
65514
|
alpha: this._normalizeAlpha(a)
|
65515
65515
|
} : null;
|
65516
65516
|
}
|
65517
65517
|
_colorHexRepresentation(i) {
|
65518
|
-
const a = this._hexFromNumber(i.red),
|
65519
|
-
return `#${a}${
|
65518
|
+
const a = this._hexFromNumber(i.red), l = this._hexFromNumber(i.green), u = this._hexFromNumber(i.blue), p = this._hexFromNumber(i.alpha);
|
65519
|
+
return `#${a}${l}${u}${i.alpha === 1 ? "" : p}`;
|
65520
65520
|
}
|
65521
65521
|
_colorRgbRepresentation(i) {
|
65522
|
-
const a = this._denormalize(i.red),
|
65522
|
+
const a = this._denormalize(i.red), l = this._denormalize(i.green), u = this._denormalize(i.blue), p = this._denormalizeAlpha(i.alpha), m = [a, l, u];
|
65523
65523
|
return p > 0 && m.push(p), `color.rgb(${m.join(", ")})`;
|
65524
65524
|
}
|
65525
65525
|
_colorNewRepresentation(i) {
|
@@ -65530,18 +65530,18 @@ class Qg {
|
|
65530
65530
|
return `color.new(${this._colorHexRepresentation(a)}, ${this._denormalizeAlpha(i.alpha)})`;
|
65531
65531
|
}
|
65532
65532
|
_hexToColor(i) {
|
65533
|
-
const a = (i = this._isHexToken(i) ? i.slice(1) : i).length === 3 || i.length === 4,
|
65533
|
+
const a = (i = this._isHexToken(i) ? i.slice(1) : i).length === 3 || i.length === 4, l = a ? `${i.slice(0, 1)}${i.slice(0, 1)}` : i.slice(0, 2), u = a ? `${i.slice(1, 2)}${i.slice(1, 2)}` : i.slice(2, 4), p = a ? `${i.slice(2, 3)}${i.slice(2, 3)}` : i.slice(4, 6), m = (a ? `${i.slice(3, 4)}${i.slice(3, 4)}` : i.slice(6, 8)) || "ff";
|
65534
65534
|
return {
|
65535
|
-
red: this._normalize(parseInt(
|
65535
|
+
red: this._normalize(parseInt(l, 16)),
|
65536
65536
|
green: this._normalize(parseInt(u, 16)),
|
65537
65537
|
blue: this._normalize(parseInt(p, 16)),
|
65538
65538
|
alpha: this._normalize(parseInt(m, 16))
|
65539
65539
|
};
|
65540
65540
|
}
|
65541
65541
|
_rgbToColor(i) {
|
65542
|
-
const a = i.replace(/[^\d,]/g, "").split(","),
|
65543
|
-
return isNaN(
|
65544
|
-
red:
|
65542
|
+
const a = i.replace(/[^\d,]/g, "").split(","), l = this._normalize(Number(a[0])), u = this._normalize(Number(a[1])), p = this._normalize(Number(a[2])), m = this._normalizeAlpha(Number(a[3])) || 1;
|
65543
|
+
return isNaN(l) || isNaN(u) || isNaN(p) ? null : {
|
65544
|
+
red: l,
|
65545
65545
|
green: u,
|
65546
65546
|
blue: p,
|
65547
65547
|
alpha: m
|
@@ -65565,7 +65565,7 @@ function Jg(s, i) {
|
|
65565
65565
|
startColumn: 1,
|
65566
65566
|
endLineNumber: i.lineNumber,
|
65567
65567
|
endColumn: i.column
|
65568
|
-
},
|
65568
|
+
}, l = s.getValueInRange(a), u = l.match(/([\w.]+)$/) || [], p = (z = u[0]) == null ? void 0 : z.match(/.*[^\w.]+([\w.]+)(?=\.)|([\w.]+)(?=\.)/), m = p ? p[1] ? p[1] : p[2] ? p[2] : void 0 : void 0, g = s.getWordUntilPosition(i), v = Ua.parseCurrentInputFunc(l), b = {
|
65569
65569
|
startLineNumber: i.lineNumber,
|
65570
65570
|
endLineNumber: i.lineNumber,
|
65571
65571
|
startColumn: g.startColumn,
|
@@ -65573,7 +65573,7 @@ function Jg(s, i) {
|
|
65573
65573
|
}, w = s.getValueInRange({ ...b, startColumn: g.endColumn, endColumn: g.endColumn + 1 });
|
65574
65574
|
Wt.nextIsBracket = w === "(";
|
65575
65575
|
let k = pc(Wt.getSuggestions(m) || [], b);
|
65576
|
-
if (u[0] === "." && (k = []), v && !m && !/=\s*\w+$/.test(
|
65576
|
+
if (u[0] === "." && (k = []), v && !m && !/=\s*\w+$/.test(l)) {
|
65577
65577
|
const E = pc(Wt.getArgSuggestions(v.funcName) || [], b);
|
65578
65578
|
k = k.concat(E);
|
65579
65579
|
}
|
@@ -65590,12 +65590,12 @@ function Zg(s) {
|
|
65590
65590
|
function eb(s, i) {
|
65591
65591
|
const a = Ua.parseLineContentFuncVar(i.column, i.lineNumber, s, i);
|
65592
65592
|
if (a && a.docValue.length) {
|
65593
|
-
const
|
65594
|
-
if (
|
65593
|
+
const l = Bg(a.docValue, a.index, a.isBuildIn);
|
65594
|
+
if (l)
|
65595
65595
|
return {
|
65596
65596
|
contents: [
|
65597
65597
|
{
|
65598
|
-
value:
|
65598
|
+
value: l
|
65599
65599
|
}
|
65600
65600
|
]
|
65601
65601
|
};
|
@@ -65611,12 +65611,12 @@ function tb(s, i) {
|
|
65611
65611
|
endLineNumber: i.lineNumber,
|
65612
65612
|
startColumn: 1,
|
65613
65613
|
endColumn: i.column
|
65614
|
-
},
|
65614
|
+
}, l = s.getValueInRange(a), u = s.findMatches(String(Xg), a, !0, !1, null, !0), p = s.findMatches(String(Kg), a, !0, !1, null, !0), m = (k = u.pop()) == null ? void 0 : k.matches, g = (z = p.pop()) == null ? void 0 : z.matches;
|
65615
65615
|
let v = !1;
|
65616
65616
|
u.length % 2 === 0 ? m && m[0] === '"' && (v = !0) : m && !m[0] && (v = !0);
|
65617
65617
|
let b = !1;
|
65618
65618
|
p.length % 2 === 0 ? g && g[0] === "'" && (b = !0) : g && !g[0] && (b = !0);
|
65619
|
-
const w = Ua.parseCurrentInputFuncAndArg(
|
65619
|
+
const w = Ua.parseCurrentInputFuncAndArg(l, b, v);
|
65620
65620
|
if (w) {
|
65621
65621
|
const { funcName: E, args: P } = w, B = Vg.getSignatureHelpValues(E, P);
|
65622
65622
|
if (B)
|
@@ -65631,19 +65631,19 @@ function tb(s, i) {
|
|
65631
65631
|
}
|
65632
65632
|
function rb(s) {
|
65633
65633
|
let i = s.findMatches(vn.colorMatchesRegStr, !0, !0, !1, null, !0);
|
65634
|
-
return i = i.filter((
|
65634
|
+
return i = i.filter((l) => {
|
65635
65635
|
const u = s.getValueInRange({
|
65636
|
-
...
|
65636
|
+
...l.range,
|
65637
65637
|
startColumn: 0
|
65638
65638
|
});
|
65639
|
-
return u.indexOf("//") === -1 || u.indexOf("//") >
|
65639
|
+
return u.indexOf("//") === -1 || u.indexOf("//") > l.range.endColumn;
|
65640
65640
|
}), vn.getDocumentColors(i);
|
65641
65641
|
}
|
65642
65642
|
function ab(s, i) {
|
65643
65643
|
return vn.getDocumentColorPresentations(s, i) || [];
|
65644
65644
|
}
|
65645
65645
|
function sb(s, i, a) {
|
65646
|
-
const
|
65646
|
+
const l = s.getModel(), u = Ua.parseLineContentFuncVar(a.startColumn + 1, a.startLineNumber, l);
|
65647
65647
|
if (!u || u.isBuildIn || !u.docValue || !u.docValue[0].pos)
|
65648
65648
|
return !0;
|
65649
65649
|
const { lineNumber: p, column: m } = u.docValue[0].pos, g = {
|
@@ -65694,7 +65694,7 @@ var Ge;
|
|
65694
65694
|
s.added = "added", s.removed = "removed", s.modified = "modified";
|
65695
65695
|
})(Ge || (Ge = {}));
|
65696
65696
|
const nb = (s, i) => {
|
65697
|
-
const { close: a, retracement:
|
65697
|
+
const { close: a, retracement: l } = s, [u, p] = Ma("modified");
|
65698
65698
|
return $c(i, () => ({
|
65699
65699
|
updateType(m) {
|
65700
65700
|
p(m);
|
@@ -65702,7 +65702,7 @@ const nb = (s, i) => {
|
|
65702
65702
|
})), pt.jsxs("div", { className: `content-popup content-${u}-popup`, children: [pt.jsx("div", { className: `triangle-popup triangle-${u}-popup` }), pt.jsxs("div", { className: `header-popup header-${u}-popup`, children: [pt.jsx("div", { className: "title-popup", children: "Local working changes" }), pt.jsx("div", { className: "actions-popup", children: pt.jsx("div", { onClick: a, "data-role": "button", className: "button-popup", "data-name": "button-close-diff", children: pt.jsx("span", { className: "icon-popup", role: "img", children: pt.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 12 12", width: "12", height: "12", children: pt.jsx("path", { stroke: "currentColor", strokeWidth: "1.2", d: "m1.5 1.5 9 9m0-9-9 9" }) }) }) }) })] }), pt.jsx("div", { id: "diffEditorContainer", style: { height: "100%" } })] });
|
65703
65703
|
}, ob = Hc(nb);
|
65704
65704
|
class lb {
|
65705
|
-
constructor(i, a,
|
65705
|
+
constructor(i, a, l = !0) {
|
65706
65706
|
Object.defineProperty(this, "_domNode", {
|
65707
65707
|
enumerable: !0,
|
65708
65708
|
configurable: !0,
|
@@ -65723,7 +65723,7 @@ class lb {
|
|
65723
65723
|
configurable: !0,
|
65724
65724
|
writable: !0,
|
65725
65725
|
value: void 0
|
65726
|
-
}), this._id = i, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width =
|
65726
|
+
}), this._id = i, this._domNode = document.createElement("div"), this._domNode.style.display = "none", this._domNode.style.width = l ? "calc(100% - 134px)" : "calc(100% - 14px)", this._domNode.style.height = "200px", a == null || a.onDidScrollChange(this.scrollChangeHandler.bind(this)), Pa.createRoot(this._domNode).render(pt.jsx(ob, { ref: (u) => this._content = u, close: () => this._close(), retracement: this._retracement })), this._top = 0;
|
65727
65727
|
}
|
65728
65728
|
_close() {
|
65729
65729
|
this._domNode.style.display = "none";
|
@@ -65739,9 +65739,9 @@ class lb {
|
|
65739
65739
|
getPosition() {
|
65740
65740
|
return null;
|
65741
65741
|
}
|
65742
|
-
show(i, a,
|
65742
|
+
show(i, a, l) {
|
65743
65743
|
var u;
|
65744
|
-
this._top = a, (u = this._content) == null || u.updateType(
|
65744
|
+
this._top = a, (u = this._content) == null || u.updateType(l), this._domNode.style.top = `${i}px`, this._domNode.style.display = "block";
|
65745
65745
|
}
|
65746
65746
|
hide() {
|
65747
65747
|
this._domNode.style.display = "none";
|
@@ -65755,7 +65755,7 @@ function gr() {
|
|
65755
65755
|
}
|
65756
65756
|
gr.prototype = {
|
65757
65757
|
diff: function(i, a) {
|
65758
|
-
var
|
65758
|
+
var l, u = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, p = u.callback;
|
65759
65759
|
typeof u == "function" && (p = u, u = {}), this.options = u;
|
65760
65760
|
var m = this;
|
65761
65761
|
function g(F) {
|
@@ -65766,7 +65766,7 @@ gr.prototype = {
|
|
65766
65766
|
i = this.castInput(i), a = this.castInput(a), i = this.removeEmpty(this.tokenize(i)), a = this.removeEmpty(this.tokenize(a));
|
65767
65767
|
var v = a.length, b = i.length, w = 1, k = v + b;
|
65768
65768
|
u.maxEditLength && (k = Math.min(k, u.maxEditLength));
|
65769
|
-
var z = (
|
65769
|
+
var z = (l = u.timeout) !== null && l !== void 0 ? l : 1 / 0, E = Date.now() + z, P = [{
|
65770
65770
|
oldPos: -1,
|
65771
65771
|
lastComponent: void 0
|
65772
65772
|
}], B = this.extractCommon(P[0], a, i, 0);
|
@@ -65775,9 +65775,9 @@ gr.prototype = {
|
|
65775
65775
|
value: this.join(a),
|
65776
65776
|
count: a.length
|
65777
65777
|
}]);
|
65778
|
-
var
|
65778
|
+
var te = -1 / 0, pe = 1 / 0;
|
65779
65779
|
function X() {
|
65780
|
-
for (var F = Math.max(
|
65780
|
+
for (var F = Math.max(te, -w); F <= Math.min(pe, w); F += 2) {
|
65781
65781
|
var $ = void 0, se = P[F - 1], Q = P[F + 1];
|
65782
65782
|
se && (P[F - 1] = void 0);
|
65783
65783
|
var Ne = !1;
|
@@ -65792,7 +65792,7 @@ gr.prototype = {
|
|
65792
65792
|
}
|
65793
65793
|
if (!ie || Ne && se.oldPos + 1 < Q.oldPos ? $ = m.addToPath(Q, !0, void 0, 0) : $ = m.addToPath(se, void 0, !0, 1), B = m.extractCommon($, a, i, F), $.oldPos + 1 >= b && B + 1 >= v)
|
65794
65794
|
return g(cb(m, $.lastComponent, a, i, m.useLongestToken));
|
65795
|
-
P[F] = $, $.oldPos + 1 >= b && (pe = Math.min(pe, F - 1)), B + 1 >= v && (
|
65795
|
+
P[F] = $, $.oldPos + 1 >= b && (pe = Math.min(pe, F - 1)), B + 1 >= v && (te = Math.max(te, F + 1));
|
65796
65796
|
}
|
65797
65797
|
w++;
|
65798
65798
|
}
|
@@ -65811,14 +65811,14 @@ gr.prototype = {
|
|
65811
65811
|
return L;
|
65812
65812
|
}
|
65813
65813
|
},
|
65814
|
-
addToPath: function(i, a,
|
65814
|
+
addToPath: function(i, a, l, u) {
|
65815
65815
|
var p = i.lastComponent;
|
65816
|
-
return p && p.added === a && p.removed ===
|
65816
|
+
return p && p.added === a && p.removed === l ? {
|
65817
65817
|
oldPos: i.oldPos + u,
|
65818
65818
|
lastComponent: {
|
65819
65819
|
count: p.count + 1,
|
65820
65820
|
added: a,
|
65821
|
-
removed:
|
65821
|
+
removed: l,
|
65822
65822
|
previousComponent: p.previousComponent
|
65823
65823
|
}
|
65824
65824
|
} : {
|
@@ -65826,13 +65826,13 @@ gr.prototype = {
|
|
65826
65826
|
lastComponent: {
|
65827
65827
|
count: 1,
|
65828
65828
|
added: a,
|
65829
|
-
removed:
|
65829
|
+
removed: l,
|
65830
65830
|
previousComponent: p
|
65831
65831
|
}
|
65832
65832
|
};
|
65833
65833
|
},
|
65834
|
-
extractCommon: function(i, a,
|
65835
|
-
for (var p = a.length, m =
|
65834
|
+
extractCommon: function(i, a, l, u) {
|
65835
|
+
for (var p = a.length, m = l.length, g = i.oldPos, v = g - u, b = 0; v + 1 < p && g + 1 < m && this.equals(a[v + 1], l[g + 1]); )
|
65836
65836
|
v++, g++, b++;
|
65837
65837
|
return b && (i.lastComponent = {
|
65838
65838
|
count: b,
|
@@ -65843,8 +65843,8 @@ gr.prototype = {
|
|
65843
65843
|
return this.options.comparator ? this.options.comparator(i, a) : i === a || this.options.ignoreCase && i.toLowerCase() === a.toLowerCase();
|
65844
65844
|
},
|
65845
65845
|
removeEmpty: function(i) {
|
65846
|
-
for (var a = [],
|
65847
|
-
i[
|
65846
|
+
for (var a = [], l = 0; l < i.length; l++)
|
65847
|
+
i[l] && a.push(i[l]);
|
65848
65848
|
return a;
|
65849
65849
|
},
|
65850
65850
|
castInput: function(i) {
|
@@ -65857,22 +65857,22 @@ gr.prototype = {
|
|
65857
65857
|
return i.join("");
|
65858
65858
|
}
|
65859
65859
|
};
|
65860
|
-
function cb(s, i, a,
|
65860
|
+
function cb(s, i, a, l, u) {
|
65861
65861
|
for (var p = [], m; i; )
|
65862
65862
|
p.push(i), m = i.previousComponent, delete i.previousComponent, i = m;
|
65863
65863
|
p.reverse();
|
65864
65864
|
for (var g = 0, v = p.length, b = 0, w = 0; g < v; g++) {
|
65865
65865
|
var k = p[g];
|
65866
65866
|
if (k.removed) {
|
65867
|
-
if (k.value = s.join(
|
65867
|
+
if (k.value = s.join(l.slice(w, w + k.count)), w += k.count, g && p[g - 1].added) {
|
65868
65868
|
var E = p[g - 1];
|
65869
65869
|
p[g - 1] = p[g], p[g] = E;
|
65870
65870
|
}
|
65871
65871
|
} else {
|
65872
65872
|
if (!k.added && u) {
|
65873
65873
|
var z = a.slice(b, b + k.count);
|
65874
|
-
z = z.map(function(B,
|
65875
|
-
var pe =
|
65874
|
+
z = z.map(function(B, te) {
|
65875
|
+
var pe = l[w + te];
|
65876
65876
|
return pe.length > B.length ? pe : B;
|
65877
65877
|
}), k.value = s.join(z);
|
65878
65878
|
} else
|
@@ -65898,9 +65898,9 @@ An.tokenize = function(s) {
|
|
65898
65898
|
`));
|
65899
65899
|
var i = [], a = s.split(/(\n|\r\n)/);
|
65900
65900
|
a[a.length - 1] || a.pop();
|
65901
|
-
for (var
|
65902
|
-
var u = a[
|
65903
|
-
|
65901
|
+
for (var l = 0; l < a.length; l++) {
|
65902
|
+
var u = a[l];
|
65903
|
+
l % 2 && !this.options.newlineIsToken ? i[i.length - 1] += u : (this.options.ignoreWhitespace && (u = u.trim()), i.push(u));
|
65904
65904
|
}
|
65905
65905
|
return i;
|
65906
65906
|
};
|
@@ -65927,16 +65927,16 @@ var mb = Object.prototype.toString, Ba = new gr();
|
|
65927
65927
|
Ba.useLongestToken = !0;
|
65928
65928
|
Ba.tokenize = An.tokenize;
|
65929
65929
|
Ba.castInput = function(s) {
|
65930
|
-
var i = this.options, a = i.undefinedReplacement,
|
65930
|
+
var i = this.options, a = i.undefinedReplacement, l = i.stringifyReplacer, u = l === void 0 ? function(p, m) {
|
65931
65931
|
return typeof m > "u" ? a : m;
|
65932
|
-
} :
|
65932
|
+
} : l;
|
65933
65933
|
return typeof s == "string" ? s : JSON.stringify(wn(s, null, null, u), u, " ");
|
65934
65934
|
};
|
65935
65935
|
Ba.equals = function(s, i) {
|
65936
65936
|
return gr.prototype.equals.call(Ba, s.replace(/,([\r\n])/g, "$1"), i.replace(/,([\r\n])/g, "$1"));
|
65937
65937
|
};
|
65938
|
-
function wn(s, i, a,
|
65939
|
-
i = i || [], a = a || [],
|
65938
|
+
function wn(s, i, a, l, u) {
|
65939
|
+
i = i || [], a = a || [], l && (s = l(u, s));
|
65940
65940
|
var p;
|
65941
65941
|
for (p = 0; p < i.length; p += 1)
|
65942
65942
|
if (i[p] === s)
|
@@ -65944,7 +65944,7 @@ function wn(s, i, a, o, u) {
|
|
65944
65944
|
var m;
|
65945
65945
|
if (mb.call(s) === "[object Array]") {
|
65946
65946
|
for (i.push(s), m = new Array(s.length), a.push(m), p = 0; p < s.length; p += 1)
|
65947
|
-
m[p] = wn(s[p], i, a,
|
65947
|
+
m[p] = wn(s[p], i, a, l, u);
|
65948
65948
|
return i.pop(), a.pop(), m;
|
65949
65949
|
}
|
65950
65950
|
if (s && s.toJSON && (s = s.toJSON()), Ws(s) === "object" && s !== null) {
|
@@ -65953,7 +65953,7 @@ function wn(s, i, a, o, u) {
|
|
65953
65953
|
for (v in s)
|
65954
65954
|
s.hasOwnProperty(v) && g.push(v);
|
65955
65955
|
for (g.sort(), p = 0; p < g.length; p += 1)
|
65956
|
-
v = g[p], m[v] = wn(s[v], i, a,
|
65956
|
+
v = g[p], m[v] = wn(s[v], i, a, l, v);
|
65957
65957
|
i.pop(), a.pop();
|
65958
65958
|
} else
|
65959
65959
|
m = s;
|
@@ -65967,7 +65967,7 @@ Tn.join = Tn.removeEmpty = function(s) {
|
|
65967
65967
|
return s;
|
65968
65968
|
};
|
65969
65969
|
class fb {
|
65970
|
-
constructor(i, a,
|
65970
|
+
constructor(i, a, l = "") {
|
65971
65971
|
Object.defineProperty(this, "_editor", {
|
65972
65972
|
enumerable: !0,
|
65973
65973
|
configurable: !0,
|
@@ -66008,67 +66008,70 @@ class fb {
|
|
66008
66008
|
configurable: !0,
|
66009
66009
|
writable: !0,
|
66010
66010
|
value: void 0
|
66011
|
-
}), this._editor = i, this._monaco = a, this._originalModel = this._monaco.editor.createModel(
|
66011
|
+
}), this._editor = i, this._monaco = a, this._originalModel = this._monaco.editor.createModel(l, Qe), this._oldDecorations = [], this._init(), this._eventListening();
|
66012
66012
|
}
|
66013
66013
|
_init() {
|
66014
66014
|
var i;
|
66015
66015
|
this._changeEvent(), this._didChangeListener = (i = this._editor.getModel()) == null ? void 0 : i.onDidChangeContent(() => this._changeEvent());
|
66016
66016
|
}
|
66017
66017
|
update(i) {
|
66018
|
-
var a,
|
66019
|
-
this._originalModel = this._monaco.editor.createModel(i, Qe), i !== ((a = this._editor.getModel()) == null ? void 0 : a.getValue())
|
66018
|
+
var a, l;
|
66019
|
+
if (this._originalModel = this._monaco.editor.createModel(i, Qe), i !== ((a = this._editor.getModel()) == null ? void 0 : a.getValue())) {
|
66020
|
+
this._changeEvent();
|
66021
|
+
return;
|
66022
|
+
}
|
66023
|
+
(l = this._editor.getModel()) == null || l.deltaDecorations(this._oldDecorations, []), this._oldDecorations = [];
|
66020
66024
|
}
|
66021
66025
|
dispose() {
|
66022
|
-
var i, a,
|
66023
|
-
this._diffPopupWidget && (this._diffPopupWidget.hide(), this._editor.removeOverlayWidget(this._diffPopupWidget)), (i = this._didChangeListener) == null || i.dispose(), (a = this._onMouseDownListener) == null || a.dispose(), (
|
66026
|
+
var i, a, l, u;
|
66027
|
+
this._diffPopupWidget && (this._diffPopupWidget.hide(), this._editor.removeOverlayWidget(this._diffPopupWidget)), (i = this._didChangeListener) == null || i.dispose(), (a = this._onMouseDownListener) == null || a.dispose(), (l = this._editor.getModel()) == null || l.deltaDecorations(this._oldDecorations, []), this._oldDecorations = [], (u = this._diffEditor) == null || u.dispose(), this._diffEditor = void 0;
|
66024
66028
|
}
|
66025
66029
|
_changesHandle(i) {
|
66026
|
-
let a = 0,
|
66030
|
+
let a = 0, l;
|
66027
66031
|
const u = [];
|
66028
66032
|
let p = 0;
|
66029
66033
|
for (const m of i) {
|
66030
66034
|
const { added: g, removed: v, count: b = 1, value: w } = m;
|
66031
|
-
g ?
|
66035
|
+
g ? l && l.removed ? (a = this._changeHandle(u, a, p, b, Ge.modified), p = 0, l = void 0) : (l && l.added && (a = this._changeHandle(u, a, p, l.count || 1, Ge.added), p = 0), l = m) : v ? l && l.added ? (a = this._changeHandle(u, a, p, l.count || 1, Ge.modified), p = 0, l = void 0) : (l && l.removed && this._addDecorationList(u, a, Ge.removed), l = m) : /^\n+$/.test(w) ? l && (l.added || l.removed) ? p = b : a += b : (l && l.added ? (a = this._changeHandle(u, a, p, l.count || 1, Ge.added), p = 0, l = void 0) : l && l.removed && (this._addDecorationList(u, a, Ge.removed), l = void 0), a += b);
|
66032
66036
|
}
|
66033
|
-
return
|
66037
|
+
return l && l.added ? a = this._changeHandle(u, a, p, l.count || 1, Ge.added) : l && l.removed && this._addDecorationList(u, a, Ge.removed), u;
|
66034
66038
|
}
|
66035
|
-
_changeHandle(i, a,
|
66039
|
+
_changeHandle(i, a, l, u, p) {
|
66036
66040
|
for (let m = 1; m <= u; m++)
|
66037
66041
|
this._addDecorationList(i, a + m, p);
|
66038
|
-
return a += u +
|
66042
|
+
return a += u + l, a;
|
66039
66043
|
}
|
66040
|
-
_addDecorationList(i, a,
|
66044
|
+
_addDecorationList(i, a, l) {
|
66041
66045
|
i.push({
|
66042
66046
|
range: new this._monaco.Range(a, 1, a, 1),
|
66043
66047
|
options: {
|
66044
66048
|
isWholeLine: !0,
|
66045
|
-
linesDecorationsClassName: `line-${
|
66049
|
+
linesDecorationsClassName: `line-${l} line-decoration_${l}`
|
66046
66050
|
}
|
66047
66051
|
});
|
66048
66052
|
}
|
66049
66053
|
_changeEvent() {
|
66050
66054
|
var u, p;
|
66051
|
-
const i = ub(this._originalModel.getValue(), ((u = this._editor.getModel()) == null ? void 0 : u.getValue()) || ""), a = this._changesHandle(i),
|
66052
|
-
this._oldDecorations =
|
66055
|
+
const i = ub(this._originalModel.getValue(), ((u = this._editor.getModel()) == null ? void 0 : u.getValue()) || ""), a = this._changesHandle(i), l = ((p = this._editor.getModel()) == null ? void 0 : p.deltaDecorations(this._oldDecorations, a)) || [];
|
66056
|
+
this._oldDecorations = l;
|
66053
66057
|
}
|
66054
|
-
_eventListening(
|
66055
|
-
const
|
66056
|
-
this._editor.addOverlayWidget(
|
66058
|
+
_eventListening() {
|
66059
|
+
const i = new lb("diff.popup.widget", this._editor);
|
66060
|
+
this._editor.addOverlayWidget(i), this._onMouseDownListener = this._editor.onMouseDown((a) => this._onMouseDownHandle(a)), this._diffPopupWidget = i;
|
66057
66061
|
}
|
66058
|
-
_onMouseDownHandle(i
|
66059
|
-
var g, v, b, w, k
|
66060
|
-
const
|
66061
|
-
if (
|
66062
|
-
const
|
66063
|
-
(
|
66062
|
+
_onMouseDownHandle(i) {
|
66063
|
+
var m, g, v, b, w, k;
|
66064
|
+
const a = (m = i.target.element) == null ? void 0 : m.classList, l = a == null ? void 0 : a.contains(`line-${Ge.added}`), u = a == null ? void 0 : a.contains(`line-${Ge.modified}`), p = a == null ? void 0 : a.contains(`line-${Ge.removed}`);
|
66065
|
+
if (l || u || p) {
|
66066
|
+
const z = ((v = (g = i == null ? void 0 : i.target) == null ? void 0 : g.position) == null ? void 0 : v.lineNumber) || 0, E = ((b = this._editor) == null ? void 0 : b.getTopForLineNumber(z + 1)) || 0, P = ((w = this._editor) == null ? void 0 : w.getScrollTop()) || 0, B = l ? Ge.added : u ? Ge.modified : Ge.removed;
|
66067
|
+
(k = this._diffPopupWidget) == null || k.show(E - P, E, B), this._diffEditor || (this._diffEditor = this._createDiffEditor()), this._diffEditor.setModel({
|
66064
66068
|
original: this._originalModel,
|
66065
66069
|
modified: this._editor.getModel()
|
66066
|
-
}), this._diffEditor.revealLineInCenter(
|
66070
|
+
}), this._diffEditor.revealLineInCenter(z + 1);
|
66067
66071
|
}
|
66068
66072
|
}
|
66069
|
-
_createDiffEditor(
|
66073
|
+
_createDiffEditor() {
|
66070
66074
|
return this._monaco.editor.createDiffEditor(document.getElementById("diffEditorContainer"), {
|
66071
|
-
theme: i,
|
66072
66075
|
renderSideBySide: !1,
|
66073
66076
|
quickSuggestions: !1,
|
66074
66077
|
suggestOnTriggerCharacters: !1,
|
@@ -66078,7 +66081,7 @@ class fb {
|
|
66078
66081
|
}
|
66079
66082
|
}
|
66080
66083
|
class yb {
|
66081
|
-
constructor(i, a,
|
66084
|
+
constructor(i, a, l) {
|
66082
66085
|
Object.defineProperty(this, "_editor", {
|
66083
66086
|
enumerable: !0,
|
66084
66087
|
configurable: !0,
|
@@ -66099,12 +66102,17 @@ class yb {
|
|
66099
66102
|
configurable: !0,
|
66100
66103
|
writable: !0,
|
66101
66104
|
value: void 0
|
66105
|
+
}), Object.defineProperty(this, "_originalScript", {
|
66106
|
+
enumerable: !0,
|
66107
|
+
configurable: !0,
|
66108
|
+
writable: !0,
|
66109
|
+
value: void 0
|
66102
66110
|
}), Object.defineProperty(this, "_onActionTrigger", {
|
66103
66111
|
enumerable: !0,
|
66104
66112
|
configurable: !0,
|
66105
66113
|
writable: !0,
|
66106
66114
|
value: void 0
|
66107
|
-
}), this._editor = i, this._monaco = a, this._onActionTrigger =
|
66115
|
+
}), this._editor = i, this._monaco = a, this._onActionTrigger = l, this._init();
|
66108
66116
|
}
|
66109
66117
|
updateActionTrigger(i) {
|
66110
66118
|
this._onActionTrigger = i;
|
@@ -66113,7 +66121,7 @@ class yb {
|
|
66113
66121
|
this._monaco.editor.setModelMarkers(this._editor.getModel(), "owner", i);
|
66114
66122
|
}
|
66115
66123
|
addDiffDecorations() {
|
66116
|
-
this._decorations || (this._decorations = new fb(this._editor, this._monaco));
|
66124
|
+
this._decorations || (this._decorations = new fb(this._editor, this._monaco, this._originalScript));
|
66117
66125
|
}
|
66118
66126
|
removeDiffDecorations() {
|
66119
66127
|
var i;
|
@@ -66123,24 +66131,24 @@ class yb {
|
|
66123
66131
|
this._editor.setValue(i);
|
66124
66132
|
}
|
66125
66133
|
setPosition(i) {
|
66126
|
-
var a,
|
66127
|
-
(a = this._editor) == null || a.setPosition(i), (
|
66134
|
+
var a, l, u;
|
66135
|
+
(a = this._editor) == null || a.setPosition(i), (l = this._editor) == null || l.revealPositionInCenter(i), (u = this._editor) == null || u.focus();
|
66128
66136
|
}
|
66129
66137
|
setOriginalScript(i) {
|
66130
66138
|
var a;
|
66131
|
-
(a = this._decorations) == null || a.update(i);
|
66139
|
+
this._originalScript = i, (a = this._decorations) == null || a.update(i);
|
66132
66140
|
}
|
66133
66141
|
getEditorLayout() {
|
66134
|
-
var
|
66135
|
-
const i = this._editor.getContentHeight(), a = (
|
66142
|
+
var l;
|
66143
|
+
const i = this._editor.getContentHeight(), a = (l = this._editor.getModel()) == null ? void 0 : l.getLineCount();
|
66136
66144
|
return {
|
66137
66145
|
contentHeight: i,
|
66138
66146
|
lineCount: a
|
66139
66147
|
};
|
66140
66148
|
}
|
66141
66149
|
setEditorLayout(i) {
|
66142
|
-
var a,
|
66143
|
-
(
|
66150
|
+
var a, l;
|
66151
|
+
(l = this._editor) == null || l.layout({ height: i, width: (a = this._editor) == null ? void 0 : a.getContainerDomNode().clientWidth });
|
66144
66152
|
}
|
66145
66153
|
_init() {
|
66146
66154
|
this._register(), this._setOptions(), this._addCommands(), this._addActions(), this._setCursorPosition();
|
@@ -66177,12 +66185,12 @@ class yb {
|
|
66177
66185
|
this._monaco.editor.addCommand({
|
66178
66186
|
id: "tcc.editor.function",
|
66179
66187
|
run: (i, a) => {
|
66180
|
-
var
|
66188
|
+
var l;
|
66181
66189
|
if (Wt.nextIsBracket) {
|
66182
66190
|
const u = this._editor.getPosition();
|
66183
66191
|
u && this._editor.setPosition(Object.assign(u, { column: u.column + 1 }));
|
66184
66192
|
}
|
66185
|
-
(
|
66193
|
+
(l = this._editor.getAction(a)) == null || l.run();
|
66186
66194
|
}
|
66187
66195
|
});
|
66188
66196
|
}
|
@@ -66225,8 +66233,8 @@ class yb {
|
|
66225
66233
|
onChangeCursorPosition(i) {
|
66226
66234
|
this._changPositionListener && this._changPositionListener.dispose();
|
66227
66235
|
const a = localStorage.getItem(gn);
|
66228
|
-
i && i(a ? JSON.parse(a) : { lineNumber: 1, column: 1 }), this._changPositionListener = this._editor.onDidChangeCursorPosition((
|
66229
|
-
localStorage.setItem(gn, JSON.stringify(
|
66236
|
+
i && i(a ? JSON.parse(a) : { lineNumber: 1, column: 1 }), this._changPositionListener = this._editor.onDidChangeCursorPosition((l) => {
|
66237
|
+
localStorage.setItem(gn, JSON.stringify(l.position)), i && i(l.position);
|
66230
66238
|
});
|
66231
66239
|
}
|
66232
66240
|
}
|
@@ -66271,7 +66279,7 @@ function xb(s, i) {
|
|
66271
66279
|
return !1;
|
66272
66280
|
}
|
66273
66281
|
function ou(s, i = globalThis, a = ["*"]) {
|
66274
|
-
i.addEventListener("message", function
|
66282
|
+
i.addEventListener("message", function l(u) {
|
66275
66283
|
if (!u || !u.data)
|
66276
66284
|
return;
|
66277
66285
|
if (!xb(a, u.origin)) {
|
@@ -66315,7 +66323,7 @@ function ou(s, i = globalThis, a = ["*"]) {
|
|
66315
66323
|
}
|
66316
66324
|
Promise.resolve(b).catch((w) => ({ value: w, [Hs]: 0 })).then((w) => {
|
66317
66325
|
const [k, z] = Ys(w);
|
66318
|
-
i.postMessage(Object.assign(Object.assign({}, k), { id: p }), z), m === "RELEASE" && (i.removeEventListener("message",
|
66326
|
+
i.postMessage(Object.assign(Object.assign({}, k), { id: p }), z), m === "RELEASE" && (i.removeEventListener("message", l), lu(i), bn in s && typeof s[bn] == "function" && s[bn]());
|
66319
66327
|
}).catch((w) => {
|
66320
66328
|
const [k, z] = Ys({
|
66321
66329
|
value: new TypeError("Unserializable return value"),
|
@@ -66358,12 +66366,12 @@ function Tb(s) {
|
|
66358
66366
|
}
|
66359
66367
|
function In(s, i = [], a = function() {
|
66360
66368
|
}) {
|
66361
|
-
let
|
66369
|
+
let l = !1;
|
66362
66370
|
const u = new Proxy(a, {
|
66363
66371
|
get(p, m) {
|
66364
|
-
if (Us(
|
66372
|
+
if (Us(l), m === _b)
|
66365
66373
|
return () => {
|
66366
|
-
Tb(u), cu(s),
|
66374
|
+
Tb(u), cu(s), l = !0;
|
66367
66375
|
};
|
66368
66376
|
if (m === "then") {
|
66369
66377
|
if (i.length === 0)
|
@@ -66377,7 +66385,7 @@ function In(s, i = [], a = function() {
|
|
66377
66385
|
return In(s, [...i, m]);
|
66378
66386
|
},
|
66379
66387
|
set(p, m, g) {
|
66380
|
-
Us(
|
66388
|
+
Us(l);
|
66381
66389
|
const [v, b] = Ys(g);
|
66382
66390
|
return ea(s, {
|
66383
66391
|
type: "SET",
|
@@ -66386,7 +66394,7 @@ function In(s, i = [], a = function() {
|
|
66386
66394
|
}, b).then(zr);
|
66387
66395
|
},
|
66388
66396
|
apply(p, m, g) {
|
66389
|
-
Us(
|
66397
|
+
Us(l);
|
66390
66398
|
const v = i[i.length - 1];
|
66391
66399
|
if (v === hb)
|
66392
66400
|
return ea(s, {
|
@@ -66402,7 +66410,7 @@ function In(s, i = [], a = function() {
|
|
66402
66410
|
}, w).then(zr);
|
66403
66411
|
},
|
66404
66412
|
construct(p, m) {
|
66405
|
-
Us(
|
66413
|
+
Us(l);
|
66406
66414
|
const [g, v] = yc(m);
|
66407
66415
|
return ea(s, {
|
66408
66416
|
type: "CONSTRUCT",
|
@@ -66430,12 +66438,12 @@ function kb(s) {
|
|
66430
66438
|
function Ys(s) {
|
66431
66439
|
for (const [i, a] of nu)
|
66432
66440
|
if (a.canHandle(s)) {
|
66433
|
-
const [
|
66441
|
+
const [l, u] = a.serialize(s);
|
66434
66442
|
return [
|
66435
66443
|
{
|
66436
66444
|
type: "HANDLER",
|
66437
66445
|
name: i,
|
66438
|
-
value:
|
66446
|
+
value: l
|
66439
66447
|
},
|
66440
66448
|
u
|
66441
66449
|
];
|
@@ -66457,10 +66465,10 @@ function zr(s) {
|
|
66457
66465
|
}
|
66458
66466
|
}
|
66459
66467
|
function ea(s, i, a) {
|
66460
|
-
return new Promise((
|
66468
|
+
return new Promise((l) => {
|
66461
66469
|
const u = Ab();
|
66462
66470
|
s.addEventListener("message", function p(m) {
|
66463
|
-
!m.data || !m.data.id || m.data.id !== u || (s.removeEventListener("message", p),
|
66471
|
+
!m.data || !m.data.id || m.data.id !== u || (s.removeEventListener("message", p), l(m.data));
|
66464
66472
|
}), s.start && s.start(), s.postMessage(Object.assign({ id: u }, i), a);
|
66465
66473
|
});
|
66466
66474
|
}
|
@@ -66473,8 +66481,8 @@ du.onerror = (s) => {
|
|
66473
66481
|
};
|
66474
66482
|
const pu = qn(du), qb = qn(new Worker(new URL("" + new URL("assets/parserTccWorker-CwSYSKEG.js", import.meta.url).href, import.meta.url), { type: "module", name: "Parser TccScript Server" }));
|
66475
66483
|
async function Cb(s, i = !1) {
|
66476
|
-
const { functions: a, types:
|
66477
|
-
return await qb(s, i, { functions: Object.fromEntries(a), methods: Object.fromEntries(m), types: Object.fromEntries(
|
66484
|
+
const { functions: a, types: l, constants: u, variables: p, methods: m } = Ut;
|
66485
|
+
return await qb(s, i, { functions: Object.fromEntries(a), methods: Object.fromEntries(m), types: Object.fromEntries(l), constants: Object.fromEntries(u), variables: Object.fromEntries(p) });
|
66478
66486
|
}
|
66479
66487
|
async function Sb(s, i, a = !0) {
|
66480
66488
|
return await pu.runScript(s, i, a);
|
@@ -66627,7 +66635,7 @@ self.MonacoEnvironment = {
|
|
66627
66635
|
};
|
66628
66636
|
kn.config({ monaco: w_ });
|
66629
66637
|
const Ob = (s, i) => {
|
66630
|
-
const { height: a, width:
|
66638
|
+
const { height: a, width: l, theme: u, options: p, hasDiff: m, readOnly: g, defaultValue: v, onChange: b, onDeclareConfigChange: w, onCursorPositionChange: k, onActionTrigger: z, onEditorDidMount: E } = s, P = Be(null);
|
66631
66639
|
$c(i, () => ({
|
66632
66640
|
setOriginalScript(L) {
|
66633
66641
|
var F;
|
@@ -66667,9 +66675,9 @@ const Ob = (s, i) => {
|
|
66667
66675
|
var se, Q;
|
66668
66676
|
Wt.initBuiltinsTrees(), P.current = new yb(L, F, z), m && ((se = P.current) == null || se.addDiffDecorations()), Wg(L), (Q = P.current) == null || Q.setEditorLayout(Number(a));
|
66669
66677
|
const $ = L.getValue();
|
66670
|
-
P.current.onChangeCursorPosition(k), b && b($), !g &&
|
66678
|
+
P.current.onChangeCursorPosition(k), b && b($), !g && te($), E && E();
|
66671
66679
|
}
|
66672
|
-
const
|
66680
|
+
const te = La(async (L) => {
|
66673
66681
|
var Ce;
|
66674
66682
|
const F = Date.now(), { errors: $, functions: se, methods: Q, types: Ne, variables: ge, overloadsFuncs: ie, preParserCode: ft } = await Cb(L), yt = new Map(Object.entries(se)), Oe = new Map(Object.entries(Q)), Pe = new Map(Object.entries(Ne)), j = new Map(Object.entries(ge));
|
66675
66683
|
Ua.setUserDefined({
|
@@ -66701,16 +66709,16 @@ const Ob = (s, i) => {
|
|
66701
66709
|
(Ce = P.current) == null || Ce.setModelMarkers(ue);
|
66702
66710
|
const qe = Date.now();
|
66703
66711
|
console.log((qe - F) / 1e3);
|
66704
|
-
}, [w, g]), pe = v_(() => Gg.debounce(
|
66712
|
+
}, [w, g]), pe = v_(() => Gg.debounce(te, 1e3), [te]);
|
66705
66713
|
function X(L) {
|
66706
66714
|
var F;
|
66707
66715
|
if (g) {
|
66708
|
-
|
66716
|
+
te(L || "");
|
66709
66717
|
return;
|
66710
66718
|
}
|
66711
66719
|
(F = P.current) == null || F.setModelMarkers([]), L !== void 0 && (b && b(L), pe(L));
|
66712
66720
|
}
|
66713
|
-
return pt.jsx(Og, { height: a, width:
|
66721
|
+
return pt.jsx(Og, { height: a, width: l || "100%", defaultLanguage: Qe, defaultValue: v || `indicator("我的脚本")
|
66714
66722
|
plot(close)
|
66715
66723
|
`, theme: u || "vs-dark", className: u || "vs-dark", options: {
|
66716
66724
|
colorDecorators: !0,
|
@@ -66732,7 +66740,7 @@ plot(close)
|
|
66732
66740
|
...p
|
66733
66741
|
}, onMount: B, onChange: X });
|
66734
66742
|
}, Fb = Hc(Ob), Bb = (s) => {
|
66735
|
-
const { theme: i, modified: a, original:
|
66743
|
+
const { theme: i, modified: a, original: l, height: u, width: p, renderSideBySide: m = !0 } = s, g = La((v, b) => {
|
66736
66744
|
b.languages.register({
|
66737
66745
|
id: Qe
|
66738
66746
|
}), b.editor.defineTheme("vs-dark", ru), b.editor.defineTheme("vs", tu), b.languages.setMonarchTokensProvider(Qe, Zc), b.languages.setLanguageConfiguration(Qe, eu);
|
@@ -66741,7 +66749,7 @@ plot(close)
|
|
66741
66749
|
readOnly: !0,
|
66742
66750
|
renderSideBySide: m,
|
66743
66751
|
scrollBeyondLastLine: !1
|
66744
|
-
}, language: Qe, modified: a, original:
|
66752
|
+
}, language: Qe, modified: a, original: l, onMount: g });
|
66745
66753
|
};
|
66746
66754
|
var Wc;
|
66747
66755
|
(function(s) {
|