@devtron-labs/devtron-fe-common-lib 0.1.15-beta-6 → 0.1.15-beta-7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{cssMode-8ae96e64.js → cssMode-6ac58878.js} +1 -1
- package/dist/{freemarker2-0cb4a14a.js → freemarker2-54dda21c.js} +1 -1
- package/dist/{handlebars-98ff9197.js → handlebars-4ad18101.js} +1 -1
- package/dist/{html-2734122e.js → html-90c2d427.js} +1 -1
- package/dist/{htmlMode-efe653fd.js → htmlMode-0a22bb49.js} +1 -1
- package/dist/{index-c4f63c78.js → index-abd1c136.js} +384 -375
- package/dist/index.js +1 -1
- package/dist/{javascript-f238558f.js → javascript-d01c5309.js} +1 -1
- package/dist/{jsonMode-b8611a40.js → jsonMode-976a74c4.js} +1 -1
- package/dist/{liquid-59347e1d.js → liquid-d3993aa9.js} +1 -1
- package/dist/{mdx-01264a44.js → mdx-6d892f4a.js} +1 -1
- package/dist/{python-f12eea3d.js → python-ee674106.js} +1 -1
- package/dist/{razor-486fbc8d.js → razor-35fa07b5.js} +1 -1
- package/dist/{tsMode-4983184a.js → tsMode-14f3680e.js} +1 -1
- package/dist/{typescript-65c429d5.js → typescript-66137eae.js} +1 -1
- package/dist/{xml-ffe48a9a.js → xml-c97ffa9c.js} +1 -1
- package/dist/{yaml-5c3e3ab3.js → yaml-e9c87bdb.js} +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ var hbe = (n, e, t) => e in n ? ube(n, e, { enumerable: !0, configurable: !0, wr
|
|
|
3
3
|
var ci = (n, e, t) => (hbe(n, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
4
|
import "./assets/index.css";
|
|
5
5
|
import * as Z from "react";
|
|
6
|
-
import nt, { createElement as lr, useRef as qt, useLayoutEffect as Iz, useEffect as et, useReducer as qoe, useState as Ve, isValidElement as y_, cloneElement as tg, forwardRef as Lz, createContext as Tg, useContext as _S, useMemo as
|
|
6
|
+
import nt, { createElement as lr, useRef as qt, useLayoutEffect as Iz, useEffect as et, useReducer as qoe, useState as Ve, isValidElement as y_, cloneElement as tg, forwardRef as Lz, createContext as Tg, useContext as _S, useMemo as br, Component as nA, Fragment as by, useCallback as Mc, createRef as PD } from "react";
|
|
7
7
|
import el, { components as jr } from "react-select";
|
|
8
8
|
import { useHistory as rA, NavLink as vo, useParams as sA, useLocation as oA, Link as bS, useRouteMatch as Mz } from "react-router-dom";
|
|
9
9
|
import um, { render as fbe, createPortal as Koe } from "react-dom";
|
|
@@ -3788,7 +3788,7 @@ var Cae = (
|
|
|
3788
3788
|
}
|
|
3789
3789
|
return e;
|
|
3790
3790
|
}(Error)
|
|
3791
|
-
),
|
|
3791
|
+
), Er = Cae, zCe = Ga, uv = {
|
|
3792
3792
|
add: function(n, e, t) {
|
|
3793
3793
|
return n[e] = this.value, { newDocument: t };
|
|
3794
3794
|
},
|
|
@@ -3850,7 +3850,7 @@ function Qp(n, e, t, i, r, s) {
|
|
|
3850
3850
|
return o.newDocument = TM(n, e.from), e.op === "move" && (o.removed = n), o;
|
|
3851
3851
|
if (e.op === "test") {
|
|
3852
3852
|
if (o.test = Dy(n, e.value), o.test === !1)
|
|
3853
|
-
throw new
|
|
3853
|
+
throw new Er("Test operation failed", "TEST_OPERATION_FAILED", s, e, n);
|
|
3854
3854
|
return o.newDocument = n, o;
|
|
3855
3855
|
} else {
|
|
3856
3856
|
if (e.op === "remove")
|
|
@@ -3858,7 +3858,7 @@ function Qp(n, e, t, i, r, s) {
|
|
|
3858
3858
|
if (e.op === "_get")
|
|
3859
3859
|
return e.value = n, o;
|
|
3860
3860
|
if (t)
|
|
3861
|
-
throw new
|
|
3861
|
+
throw new Er("Operation `op` property is not one of operations defined in RFC-6902", "OPERATION_OP_INVALID", s, e, n);
|
|
3862
3862
|
return o;
|
|
3863
3863
|
}
|
|
3864
3864
|
} else {
|
|
@@ -3872,31 +3872,31 @@ function Qp(n, e, t, i, r, s) {
|
|
|
3872
3872
|
f = c.length;
|
|
3873
3873
|
else {
|
|
3874
3874
|
if (t && !C9(f))
|
|
3875
|
-
throw new
|
|
3875
|
+
throw new Er("Expected an unsigned base-10 integer value, making the new referenced value the array element with the zero-based index", "OPERATION_PATH_ILLEGAL_ARRAY_INDEX", s, e, n);
|
|
3876
3876
|
C9(f) && (f = ~~f);
|
|
3877
3877
|
}
|
|
3878
3878
|
if (d >= u) {
|
|
3879
3879
|
if (t && e.op === "add" && f > c.length)
|
|
3880
|
-
throw new
|
|
3880
|
+
throw new Er("The specified index MUST NOT be greater than the number of elements in the array", "OPERATION_VALUE_OUT_OF_BOUNDS", s, e, n);
|
|
3881
3881
|
var o = WCe[e.op].call(e, c, f, n);
|
|
3882
3882
|
if (o.test === !1)
|
|
3883
|
-
throw new
|
|
3883
|
+
throw new Er("Test operation failed", "TEST_OPERATION_FAILED", s, e, n);
|
|
3884
3884
|
return o;
|
|
3885
3885
|
}
|
|
3886
3886
|
} else if (d >= u) {
|
|
3887
3887
|
var o = uv[e.op].call(e, c, f, n);
|
|
3888
3888
|
if (o.test === !1)
|
|
3889
|
-
throw new
|
|
3889
|
+
throw new Er("Test operation failed", "TEST_OPERATION_FAILED", s, e, n);
|
|
3890
3890
|
return o;
|
|
3891
3891
|
}
|
|
3892
3892
|
if (c = c[f], t && d < u && (!c || typeof c != "object"))
|
|
3893
|
-
throw new
|
|
3893
|
+
throw new Er("Cannot perform operation at the desired path", "OPERATION_PATH_UNRESOLVABLE", s, e, n);
|
|
3894
3894
|
}
|
|
3895
3895
|
}
|
|
3896
3896
|
}
|
|
3897
3897
|
function vA(n, e, t, i, r) {
|
|
3898
3898
|
if (i === void 0 && (i = !0), r === void 0 && (r = !0), t && !Array.isArray(e))
|
|
3899
|
-
throw new
|
|
3899
|
+
throw new Er("Patch sequence must be an array", "SEQUENCE_NOT_AN_ARRAY");
|
|
3900
3900
|
i || (n = Ga(n));
|
|
3901
3901
|
for (var s = new Array(e.length), o = 0, a = e.length; o < a; o++)
|
|
3902
3902
|
s[o] = Qp(n, e[o], t, !0, r, o), n = s[o].newDocument;
|
|
@@ -3905,44 +3905,44 @@ function vA(n, e, t, i, r) {
|
|
|
3905
3905
|
function HCe(n, e, t) {
|
|
3906
3906
|
var i = Qp(n, e);
|
|
3907
3907
|
if (i.test === !1)
|
|
3908
|
-
throw new
|
|
3908
|
+
throw new Er("Test operation failed", "TEST_OPERATION_FAILED", t, e, n);
|
|
3909
3909
|
return i.newDocument;
|
|
3910
3910
|
}
|
|
3911
3911
|
function EM(n, e, t, i) {
|
|
3912
3912
|
if (typeof n != "object" || n === null || Array.isArray(n))
|
|
3913
|
-
throw new
|
|
3913
|
+
throw new Er("Operation is not an object", "OPERATION_NOT_AN_OBJECT", e, n, t);
|
|
3914
3914
|
if (uv[n.op]) {
|
|
3915
3915
|
if (typeof n.path != "string")
|
|
3916
|
-
throw new
|
|
3916
|
+
throw new Er("Operation `path` property is not a string", "OPERATION_PATH_INVALID", e, n, t);
|
|
3917
3917
|
if (n.path.indexOf("/") !== 0 && n.path.length > 0)
|
|
3918
|
-
throw new
|
|
3918
|
+
throw new Er('Operation `path` property must start with "/"', "OPERATION_PATH_INVALID", e, n, t);
|
|
3919
3919
|
if ((n.op === "move" || n.op === "copy") && typeof n.from != "string")
|
|
3920
|
-
throw new
|
|
3920
|
+
throw new Er("Operation `from` property is not present (applicable in `move` and `copy` operations)", "OPERATION_FROM_REQUIRED", e, n, t);
|
|
3921
3921
|
if ((n.op === "add" || n.op === "replace" || n.op === "test") && n.value === void 0)
|
|
3922
|
-
throw new
|
|
3922
|
+
throw new Er("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)", "OPERATION_VALUE_REQUIRED", e, n, t);
|
|
3923
3923
|
if ((n.op === "add" || n.op === "replace" || n.op === "test") && y9(n.value))
|
|
3924
|
-
throw new
|
|
3924
|
+
throw new Er("Operation `value` property is not present (applicable in `add`, `replace` and `test` operations)", "OPERATION_VALUE_CANNOT_CONTAIN_UNDEFINED", e, n, t);
|
|
3925
3925
|
if (t) {
|
|
3926
3926
|
if (n.op == "add") {
|
|
3927
3927
|
var r = n.path.split("/").length, s = i.split("/").length;
|
|
3928
3928
|
if (r !== s + 1 && r !== s)
|
|
3929
|
-
throw new
|
|
3929
|
+
throw new Er("Cannot perform an `add` operation at the desired path", "OPERATION_PATH_CANNOT_ADD", e, n, t);
|
|
3930
3930
|
} else if (n.op === "replace" || n.op === "remove" || n.op === "_get") {
|
|
3931
3931
|
if (n.path !== i)
|
|
3932
|
-
throw new
|
|
3932
|
+
throw new Er("Cannot perform the operation at a path that does not exist", "OPERATION_PATH_UNRESOLVABLE", e, n, t);
|
|
3933
3933
|
} else if (n.op === "move" || n.op === "copy") {
|
|
3934
3934
|
var o = { op: "_get", path: n.from, value: void 0 }, a = yae([o], t);
|
|
3935
3935
|
if (a && a.name === "OPERATION_PATH_UNRESOLVABLE")
|
|
3936
|
-
throw new
|
|
3936
|
+
throw new Er("Cannot perform the operation from a path that does not exist", "OPERATION_FROM_UNRESOLVABLE", e, n, t);
|
|
3937
3937
|
}
|
|
3938
3938
|
}
|
|
3939
3939
|
} else
|
|
3940
|
-
throw new
|
|
3940
|
+
throw new Er("Operation `op` property is not one of operations defined in RFC-6902", "OPERATION_OP_INVALID", e, n, t);
|
|
3941
3941
|
}
|
|
3942
3942
|
function yae(n, e, t) {
|
|
3943
3943
|
try {
|
|
3944
3944
|
if (!Array.isArray(n))
|
|
3945
|
-
throw new
|
|
3945
|
+
throw new Er("Patch sequence must be an array", "SEQUENCE_NOT_AN_ARRAY");
|
|
3946
3946
|
if (e)
|
|
3947
3947
|
vA(Ga(e), Ga(n), t || !0);
|
|
3948
3948
|
else {
|
|
@@ -3951,7 +3951,7 @@ function yae(n, e, t) {
|
|
|
3951
3951
|
t(n[i], i, e, void 0);
|
|
3952
3952
|
}
|
|
3953
3953
|
} catch (r) {
|
|
3954
|
-
if (r instanceof
|
|
3954
|
+
if (r instanceof Er)
|
|
3955
3955
|
return r;
|
|
3956
3956
|
throw r;
|
|
3957
3957
|
}
|
|
@@ -3986,7 +3986,7 @@ function Dy(n, e) {
|
|
|
3986
3986
|
}
|
|
3987
3987
|
const VCe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3988
3988
|
__proto__: null,
|
|
3989
|
-
JsonPatchError:
|
|
3989
|
+
JsonPatchError: Er,
|
|
3990
3990
|
_areEquals: Dy,
|
|
3991
3991
|
applyOperation: Qp,
|
|
3992
3992
|
applyPatch: vA,
|
|
@@ -10107,7 +10107,7 @@ const bi = SMe, z9 = (n) => /* @__PURE__ */ Z.createElement("svg", { xmlns: "htt
|
|
|
10107
10107
|
}), p1t = (n) => {
|
|
10108
10108
|
const { selectProps: e, data: t, showTippy: i, style: r, placement: s, tippyContent: o, tippyClass: a } = n;
|
|
10109
10109
|
e.styles.option = ece(r);
|
|
10110
|
-
const l = () => /* @__PURE__ */ v.jsx("div", { onClick:
|
|
10110
|
+
const l = () => /* @__PURE__ */ v.jsx("div", { onClick: yr, children: /* @__PURE__ */ v.jsx(jr.Option, { ...n }) });
|
|
10111
10111
|
return i ? /* @__PURE__ */ v.jsx(
|
|
10112
10112
|
bi,
|
|
10113
10113
|
{
|
|
@@ -10364,7 +10364,7 @@ const EMe = "bulk-selection-pop-up-menu", P2 = {
|
|
|
10364
10364
|
} : {
|
|
10365
10365
|
isChecked: !0,
|
|
10366
10366
|
checkboxValue: wc.INTERMEDIATE
|
|
10367
|
-
}, { isChecked: u, checkboxValue: h } = d(), f =
|
|
10367
|
+
}, { isChecked: u, checkboxValue: h } = d(), f = br(
|
|
10368
10368
|
() => ({
|
|
10369
10369
|
selectedIdentifiers: i,
|
|
10370
10370
|
handleBulkSelection: c,
|
|
@@ -11281,7 +11281,7 @@ const lce = (n) => {
|
|
|
11281
11281
|
const e = qt(null), [t, i] = Ve(!1), r = n.theme === CS.white, s = (w) => {
|
|
11282
11282
|
e.current = w, document.addEventListener("keydown", a);
|
|
11283
11283
|
}, o = (w) => {
|
|
11284
|
-
|
|
11284
|
+
yr(w), e.current?.hide && (e.current.hide(), e.current = null, n.onClose && n.onClose()), i(!1);
|
|
11285
11285
|
}, a = (w) => {
|
|
11286
11286
|
w.keyCode === 27 && o(w);
|
|
11287
11287
|
}, l = (w) => {
|
|
@@ -11651,10 +11651,10 @@ const Qxe = ({ className: n, hideGettingStartedCard: e }) => {
|
|
|
11651
11651
|
throw new Error("useImageSelectionUtilityContext must be used within ImageSelectionUtilityProvider");
|
|
11652
11652
|
return n;
|
|
11653
11653
|
}, A1t = ({ children: n, value: e }) => {
|
|
11654
|
-
const t =
|
|
11654
|
+
const t = br(() => e, [e]);
|
|
11655
11655
|
return /* @__PURE__ */ v.jsx(hce.Provider, { value: t, children: n });
|
|
11656
11656
|
}, fce = Tg(null), gce = () => _S(fce), T1t = ({ children: n }) => {
|
|
11657
|
-
const [e, t] = Ve(""), i =
|
|
11657
|
+
const [e, t] = Ve(""), i = br(
|
|
11658
11658
|
() => ({
|
|
11659
11659
|
email: e,
|
|
11660
11660
|
setEmail: t
|
|
@@ -11696,7 +11696,7 @@ const Qxe = ({ className: n, hideGettingStartedCard: e }) => {
|
|
|
11696
11696
|
});
|
|
11697
11697
|
}, h = () => {
|
|
11698
11698
|
e(!s);
|
|
11699
|
-
}, f = () => /* @__PURE__ */ v.jsxs("div", { onClick:
|
|
11699
|
+
}, f = () => /* @__PURE__ */ v.jsxs("div", { onClick: yr, className: "help-card__option help-card__link flex left cn-9", children: [
|
|
11700
11700
|
/* @__PURE__ */ v.jsx(iNe, {}),
|
|
11701
11701
|
/* @__PURE__ */ v.jsx(
|
|
11702
11702
|
Lbe,
|
|
@@ -12689,10 +12689,10 @@ const M_ = {
|
|
|
12689
12689
|
value: f.currentTarget.value
|
|
12690
12690
|
};
|
|
12691
12691
|
o({ action: n, data: g });
|
|
12692
|
-
}, u =
|
|
12692
|
+
}, u = br(() => (Object.values(s)?.map((g) => ({
|
|
12693
12693
|
label: g.name,
|
|
12694
12694
|
value: String(g.conversionFactor)
|
|
12695
|
-
})) ?? []).sort((g, p) => Number(g.value) - Number(p.value)), [s]), h =
|
|
12695
|
+
})) ?? []).sort((g, p) => Number(g.value) - Number(p.value)), [s]), h = br(
|
|
12696
12696
|
() => u.find((f) => f.label === a),
|
|
12697
12697
|
[u, a]
|
|
12698
12698
|
);
|
|
@@ -13292,7 +13292,7 @@ const sAe = (n, e = !1) => e ? btoa(n) : atob(n), YG = (n, e = !1) => Object.key
|
|
|
13292
13292
|
}) => {
|
|
13293
13293
|
const [l, c, d, u] = Ag(
|
|
13294
13294
|
cAe
|
|
13295
|
-
), h =
|
|
13295
|
+
), h = br(() => c ? r?.(c) || c : [], [c, r]), f = br(() => {
|
|
13296
13296
|
const p = lAe(e, h);
|
|
13297
13297
|
return t ? p : p?.[0] || null;
|
|
13298
13298
|
}, [e, h, t]), g = () => d ? /* @__PURE__ */ v.jsx(TA, { withBorder: !0, reload: u }) : /* @__PURE__ */ v.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: U9.NO_ENVIRONMENTS_AVAILABLE });
|
|
@@ -13420,7 +13420,7 @@ const GG = (n) => {
|
|
|
13420
13420
|
"div",
|
|
13421
13421
|
{
|
|
13422
13422
|
className: "feature-description modal__body w-600 mt-40 flex column p-0 fs-13 dc__overflow-hidden",
|
|
13423
|
-
onClick:
|
|
13423
|
+
onClick: yr,
|
|
13424
13424
|
children: [
|
|
13425
13425
|
c(),
|
|
13426
13426
|
d()
|
|
@@ -16142,7 +16142,7 @@ const sEe = (n, e) => {
|
|
|
16142
16142
|
}
|
|
16143
16143
|
);
|
|
16144
16144
|
}, aEe = ({ filterRemoveHealth: n = !1, showFooter: e }) => {
|
|
16145
|
-
const t = wW.getAppDetails(), [i, r] = Ve(""), s =
|
|
16145
|
+
const t = wW.getAppDetails(), [i, r] = Ve(""), s = br(
|
|
16146
16146
|
() => rAe(t.resourceTree?.nodes || [], t.resourceTree?.podMetadata || []),
|
|
16147
16147
|
[t]
|
|
16148
16148
|
), o = Object.keys(s?.nodes || {});
|
|
@@ -21253,7 +21253,7 @@ function ike(n, e) {
|
|
|
21253
21253
|
if (n === null || typeof n != "object")
|
|
21254
21254
|
throw new pde(e, "Object", n);
|
|
21255
21255
|
}
|
|
21256
|
-
function
|
|
21256
|
+
function Ar(n, e) {
|
|
21257
21257
|
if (typeof n != "string")
|
|
21258
21258
|
throw new pde(e, "string", n);
|
|
21259
21259
|
}
|
|
@@ -21311,7 +21311,7 @@ const Fo = {
|
|
|
21311
21311
|
for (let r = n.length - 1; r >= -1; r--) {
|
|
21312
21312
|
let s;
|
|
21313
21313
|
if (r >= 0) {
|
|
21314
|
-
if (s = n[r],
|
|
21314
|
+
if (s = n[r], Ar(s, "path"), s.length === 0)
|
|
21315
21315
|
continue;
|
|
21316
21316
|
} else
|
|
21317
21317
|
e.length === 0 ? s = ZM() : (s = gde[`=${e}`] || ZM(), (s === void 0 || s.slice(0, 2).toLowerCase() !== e.toLowerCase() && s.charCodeAt(2) === ta) && (s = `${e}\\`));
|
|
@@ -21354,7 +21354,7 @@ const Fo = {
|
|
|
21354
21354
|
return t = XM(t, !i, "\\", Ii), i ? `${e}\\${t}` : `${e}${t}` || ".";
|
|
21355
21355
|
},
|
|
21356
21356
|
normalize(n) {
|
|
21357
|
-
|
|
21357
|
+
Ar(n, "path");
|
|
21358
21358
|
const e = n.length;
|
|
21359
21359
|
if (e === 0)
|
|
21360
21360
|
return ".";
|
|
@@ -21387,7 +21387,7 @@ const Fo = {
|
|
|
21387
21387
|
return o.length === 0 && !r && (o = "."), o.length > 0 && Ii(n.charCodeAt(e - 1)) && (o += "\\"), i === void 0 ? r ? `\\${o}` : o : r ? `${i}\\${o}` : `${i}${o}`;
|
|
21388
21388
|
},
|
|
21389
21389
|
isAbsolute(n) {
|
|
21390
|
-
|
|
21390
|
+
Ar(n, "path");
|
|
21391
21391
|
const e = n.length;
|
|
21392
21392
|
if (e === 0)
|
|
21393
21393
|
return !1;
|
|
@@ -21401,7 +21401,7 @@ const Fo = {
|
|
|
21401
21401
|
let e, t;
|
|
21402
21402
|
for (let s = 0; s < n.length; ++s) {
|
|
21403
21403
|
const o = n[s];
|
|
21404
|
-
|
|
21404
|
+
Ar(o, "path"), o.length > 0 && (e === void 0 ? e = t = o : e += `\\${o}`);
|
|
21405
21405
|
}
|
|
21406
21406
|
if (e === void 0)
|
|
21407
21407
|
return ".";
|
|
@@ -21423,7 +21423,7 @@ const Fo = {
|
|
|
21423
21423
|
// to = 'C:\\orandea\\impl\\bbb'
|
|
21424
21424
|
// The output of the function should be: '..\\..\\impl\\bbb'
|
|
21425
21425
|
relative(n, e) {
|
|
21426
|
-
if (
|
|
21426
|
+
if (Ar(n, "from"), Ar(e, "to"), n === e)
|
|
21427
21427
|
return "";
|
|
21428
21428
|
const t = Fo.resolve(n), i = Fo.resolve(e);
|
|
21429
21429
|
if (t === i || (n = t.toLowerCase(), e = i.toLowerCase(), n === e))
|
|
@@ -21483,7 +21483,7 @@ const Fo = {
|
|
|
21483
21483
|
return n;
|
|
21484
21484
|
},
|
|
21485
21485
|
dirname(n) {
|
|
21486
|
-
|
|
21486
|
+
Ar(n, "path");
|
|
21487
21487
|
const e = n.length;
|
|
21488
21488
|
if (e === 0)
|
|
21489
21489
|
return ".";
|
|
@@ -21527,7 +21527,7 @@ const Fo = {
|
|
|
21527
21527
|
return n.slice(0, s);
|
|
21528
21528
|
},
|
|
21529
21529
|
basename(n, e) {
|
|
21530
|
-
e !== void 0 &&
|
|
21530
|
+
e !== void 0 && Ar(e, "ext"), Ar(n, "path");
|
|
21531
21531
|
let t = 0, i = -1, r = !0, s;
|
|
21532
21532
|
if (n.length >= 2 && Yh(n.charCodeAt(0)) && n.charCodeAt(1) === Uh && (t = 2), e !== void 0 && e.length > 0 && e.length <= n.length) {
|
|
21533
21533
|
if (e === n)
|
|
@@ -21556,7 +21556,7 @@ const Fo = {
|
|
|
21556
21556
|
return i === -1 ? "" : n.slice(t, i);
|
|
21557
21557
|
},
|
|
21558
21558
|
extname(n) {
|
|
21559
|
-
|
|
21559
|
+
Ar(n, "path");
|
|
21560
21560
|
let e = 0, t = -1, i = 0, r = -1, s = !0, o = 0;
|
|
21561
21561
|
n.length >= 2 && n.charCodeAt(1) === Uh && Yh(n.charCodeAt(0)) && (e = i = 2);
|
|
21562
21562
|
for (let a = n.length - 1; a >= e; --a) {
|
|
@@ -21576,7 +21576,7 @@ const Fo = {
|
|
|
21576
21576
|
},
|
|
21577
21577
|
format: mde.bind(null, "\\"),
|
|
21578
21578
|
parse(n) {
|
|
21579
|
-
|
|
21579
|
+
Ar(n, "path");
|
|
21580
21580
|
const e = { root: "", dir: "", base: "", ext: "", name: "" };
|
|
21581
21581
|
if (n.length === 0)
|
|
21582
21582
|
return e;
|
|
@@ -21643,18 +21643,18 @@ const Fo = {
|
|
|
21643
21643
|
let e = "", t = !1;
|
|
21644
21644
|
for (let i = n.length - 1; i >= -1 && !t; i--) {
|
|
21645
21645
|
const r = i >= 0 ? n[i] : nke();
|
|
21646
|
-
|
|
21646
|
+
Ar(r, "path"), r.length !== 0 && (e = `${r}/${e}`, t = r.charCodeAt(0) === Rs);
|
|
21647
21647
|
}
|
|
21648
21648
|
return e = XM(e, !t, "/", r7), t ? `/${e}` : e.length > 0 ? e : ".";
|
|
21649
21649
|
},
|
|
21650
21650
|
normalize(n) {
|
|
21651
|
-
if (
|
|
21651
|
+
if (Ar(n, "path"), n.length === 0)
|
|
21652
21652
|
return ".";
|
|
21653
21653
|
const e = n.charCodeAt(0) === Rs, t = n.charCodeAt(n.length - 1) === Rs;
|
|
21654
21654
|
return n = XM(n, !e, "/", r7), n.length === 0 ? e ? "/" : t ? "./" : "." : (t && (n += "/"), e ? `/${n}` : n);
|
|
21655
21655
|
},
|
|
21656
21656
|
isAbsolute(n) {
|
|
21657
|
-
return
|
|
21657
|
+
return Ar(n, "path"), n.length > 0 && n.charCodeAt(0) === Rs;
|
|
21658
21658
|
},
|
|
21659
21659
|
join(...n) {
|
|
21660
21660
|
if (n.length === 0)
|
|
@@ -21662,12 +21662,12 @@ const Fo = {
|
|
|
21662
21662
|
let e;
|
|
21663
21663
|
for (let t = 0; t < n.length; ++t) {
|
|
21664
21664
|
const i = n[t];
|
|
21665
|
-
|
|
21665
|
+
Ar(i, "path"), i.length > 0 && (e === void 0 ? e = i : e += `/${i}`);
|
|
21666
21666
|
}
|
|
21667
21667
|
return e === void 0 ? "." : cr.normalize(e);
|
|
21668
21668
|
},
|
|
21669
21669
|
relative(n, e) {
|
|
21670
|
-
if (
|
|
21670
|
+
if (Ar(n, "from"), Ar(e, "to"), n === e || (n = cr.resolve(n), e = cr.resolve(e), n === e))
|
|
21671
21671
|
return "";
|
|
21672
21672
|
const t = 1, i = n.length, r = i - t, s = 1, o = e.length - s, a = r < o ? r : o;
|
|
21673
21673
|
let l = -1, c = 0;
|
|
@@ -21694,7 +21694,7 @@ const Fo = {
|
|
|
21694
21694
|
return n;
|
|
21695
21695
|
},
|
|
21696
21696
|
dirname(n) {
|
|
21697
|
-
if (
|
|
21697
|
+
if (Ar(n, "path"), n.length === 0)
|
|
21698
21698
|
return ".";
|
|
21699
21699
|
const e = n.charCodeAt(0) === Rs;
|
|
21700
21700
|
let t = -1, i = !0;
|
|
@@ -21709,7 +21709,7 @@ const Fo = {
|
|
|
21709
21709
|
return t === -1 ? e ? "/" : "." : e && t === 1 ? "//" : n.slice(0, t);
|
|
21710
21710
|
},
|
|
21711
21711
|
basename(n, e) {
|
|
21712
|
-
e !== void 0 &&
|
|
21712
|
+
e !== void 0 && Ar(e, "ext"), Ar(n, "path");
|
|
21713
21713
|
let t = 0, i = -1, r = !0, s;
|
|
21714
21714
|
if (e !== void 0 && e.length > 0 && e.length <= n.length) {
|
|
21715
21715
|
if (e === n)
|
|
@@ -21738,7 +21738,7 @@ const Fo = {
|
|
|
21738
21738
|
return i === -1 ? "" : n.slice(t, i);
|
|
21739
21739
|
},
|
|
21740
21740
|
extname(n) {
|
|
21741
|
-
|
|
21741
|
+
Ar(n, "path");
|
|
21742
21742
|
let e = -1, t = 0, i = -1, r = !0, s = 0;
|
|
21743
21743
|
for (let o = n.length - 1; o >= 0; --o) {
|
|
21744
21744
|
const a = n.charCodeAt(o);
|
|
@@ -21757,7 +21757,7 @@ const Fo = {
|
|
|
21757
21757
|
},
|
|
21758
21758
|
format: mde.bind(null, "/"),
|
|
21759
21759
|
parse(n) {
|
|
21760
|
-
|
|
21760
|
+
Ar(n, "path");
|
|
21761
21761
|
const e = { root: "", dir: "", base: "", ext: "", name: "" };
|
|
21762
21762
|
if (n.length === 0)
|
|
21763
21763
|
return e;
|
|
@@ -23837,7 +23837,7 @@ function ix(n, e) {
|
|
|
23837
23837
|
return i;
|
|
23838
23838
|
return t;
|
|
23839
23839
|
}
|
|
23840
|
-
function
|
|
23840
|
+
function wr(n) {
|
|
23841
23841
|
return 55296 <= n && n <= 56319;
|
|
23842
23842
|
}
|
|
23843
23843
|
function _m(n) {
|
|
@@ -23848,7 +23848,7 @@ function FW(n, e) {
|
|
|
23848
23848
|
}
|
|
23849
23849
|
function nx(n, e, t) {
|
|
23850
23850
|
const i = n.charCodeAt(t);
|
|
23851
|
-
if (
|
|
23851
|
+
if (wr(i) && t + 1 < e) {
|
|
23852
23852
|
const r = n.charCodeAt(t + 1);
|
|
23853
23853
|
if (_m(r))
|
|
23854
23854
|
return FW(i, r);
|
|
@@ -23859,7 +23859,7 @@ function Mke(n, e) {
|
|
|
23859
23859
|
const t = n.charCodeAt(e - 1);
|
|
23860
23860
|
if (_m(t) && e > 1) {
|
|
23861
23861
|
const i = n.charCodeAt(e - 2);
|
|
23862
|
-
if (
|
|
23862
|
+
if (wr(i))
|
|
23863
23863
|
return FW(i, t);
|
|
23864
23864
|
}
|
|
23865
23865
|
return t;
|
|
@@ -24691,9 +24691,9 @@ class O_ extends ye {
|
|
|
24691
24691
|
});
|
|
24692
24692
|
}
|
|
24693
24693
|
}
|
|
24694
|
-
class
|
|
24694
|
+
class Pr {
|
|
24695
24695
|
constructor() {
|
|
24696
|
-
this.id =
|
|
24696
|
+
this.id = Pr.ID, this.label = "", this.tooltip = "", this.class = "separator", this.enabled = !1, this.checked = !1;
|
|
24697
24697
|
}
|
|
24698
24698
|
/**
|
|
24699
24699
|
* Joins all non-empty lists of actions with separators.
|
|
@@ -24701,7 +24701,7 @@ class Or {
|
|
|
24701
24701
|
static join(...e) {
|
|
24702
24702
|
let t = [];
|
|
24703
24703
|
for (const i of e)
|
|
24704
|
-
i.length && (t.length ? t = [...t, new
|
|
24704
|
+
i.length && (t.length ? t = [...t, new Pr(), ...i] : t = i);
|
|
24705
24705
|
return t;
|
|
24706
24706
|
}
|
|
24707
24707
|
run() {
|
|
@@ -24709,7 +24709,7 @@ class Or {
|
|
|
24709
24709
|
});
|
|
24710
24710
|
}
|
|
24711
24711
|
}
|
|
24712
|
-
|
|
24712
|
+
Pr.ID = "vs.actions.separator";
|
|
24713
24713
|
class P_ {
|
|
24714
24714
|
get actions() {
|
|
24715
24715
|
return this._actions;
|
|
@@ -27211,8 +27211,8 @@ function Yde() {
|
|
|
27211
27211
|
} catch {
|
|
27212
27212
|
}
|
|
27213
27213
|
}
|
|
27214
|
-
const
|
|
27215
|
-
return De && ct &&
|
|
27214
|
+
const Mr = Xe.body || Xe.documentElement;
|
|
27215
|
+
return De && ct && Mr.insertBefore(r.createTextNode(ct), Mr.childNodes[0] || null), Ze === We ? x.call(Xe, ne ? "html" : "body")[0] : ne ? Xe.documentElement : Mr;
|
|
27216
27216
|
}, it = function(De) {
|
|
27217
27217
|
return I.call(
|
|
27218
27218
|
De.ownerDocument || De,
|
|
@@ -27244,11 +27244,11 @@ function Yde() {
|
|
|
27244
27244
|
if (!le[ct] && fn(ct) && (Q.tagNameCheck instanceof RegExp && Ra(Q.tagNameCheck, ct) || Q.tagNameCheck instanceof Function && Q.tagNameCheck(ct)))
|
|
27245
27245
|
return !1;
|
|
27246
27246
|
if (ae && !z[ct]) {
|
|
27247
|
-
const gn = b(De) || De.parentNode,
|
|
27248
|
-
if (
|
|
27249
|
-
const is =
|
|
27247
|
+
const gn = b(De) || De.parentNode, Mr = _(De) || De.childNodes;
|
|
27248
|
+
if (Mr && gn) {
|
|
27249
|
+
const is = Mr.length;
|
|
27250
27250
|
for (let Un = is - 1; Un >= 0; --Un)
|
|
27251
|
-
gn.insertBefore(p(
|
|
27251
|
+
gn.insertBefore(p(Mr[Un], !0), m(De));
|
|
27252
27252
|
}
|
|
27253
27253
|
}
|
|
27254
27254
|
return Pn(De), !0;
|
|
@@ -27287,7 +27287,7 @@ function Yde() {
|
|
|
27287
27287
|
}, fn = function(De) {
|
|
27288
27288
|
return De.indexOf("-") > 0;
|
|
27289
27289
|
}, hi = function(De) {
|
|
27290
|
-
let Xe, ct, gn,
|
|
27290
|
+
let Xe, ct, gn, Mr;
|
|
27291
27291
|
Yt("beforeSanitizeAttributes", De, null);
|
|
27292
27292
|
const {
|
|
27293
27293
|
attributes: is
|
|
@@ -27300,8 +27300,8 @@ function Yde() {
|
|
|
27300
27300
|
keepAttr: !0,
|
|
27301
27301
|
allowedAttributes: N
|
|
27302
27302
|
};
|
|
27303
|
-
for (
|
|
27304
|
-
Xe = is[
|
|
27303
|
+
for (Mr = is.length; Mr--; ) {
|
|
27304
|
+
Xe = is[Mr];
|
|
27305
27305
|
const {
|
|
27306
27306
|
name: Oa,
|
|
27307
27307
|
namespaceURI: lb
|
|
@@ -27341,7 +27341,7 @@ function Yde() {
|
|
|
27341
27341
|
Yt("afterSanitizeShadowDOM", De, null);
|
|
27342
27342
|
};
|
|
27343
27343
|
return e.sanitize = function(mt) {
|
|
27344
|
-
let De = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Xe, ct, gn,
|
|
27344
|
+
let De = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, Xe, ct, gn, Mr;
|
|
27345
27345
|
if (ve = !mt, ve && (mt = "<!-->"), typeof mt != "string" && !Zt(mt))
|
|
27346
27346
|
if (typeof mt.toString == "function") {
|
|
27347
27347
|
if (mt = mt.toString(), typeof mt != "string")
|
|
@@ -27373,11 +27373,11 @@ function Yde() {
|
|
|
27373
27373
|
return mt;
|
|
27374
27374
|
if (Ie) {
|
|
27375
27375
|
if (he)
|
|
27376
|
-
for (
|
|
27377
|
-
|
|
27376
|
+
for (Mr = D.call(Xe.ownerDocument); Xe.firstChild; )
|
|
27377
|
+
Mr.appendChild(Xe.firstChild);
|
|
27378
27378
|
else
|
|
27379
|
-
|
|
27380
|
-
return (N.shadowroot || N.shadowrootmode) && (
|
|
27379
|
+
Mr = Xe;
|
|
27380
|
+
return (N.shadowroot || N.shadowrootmode) && (Mr = L.call(t, Mr, !0)), Mr;
|
|
27381
27381
|
}
|
|
27382
27382
|
let Un = ne ? Xe.outerHTML : Xe.innerHTML;
|
|
27383
27383
|
return ne && W["!doctype"] && Xe.ownerDocument && Xe.ownerDocument.doctype && Xe.ownerDocument.doctype.name && Ra(Ude, Xe.ownerDocument.doctype.name) && (Un = "<!DOCTYPE " + Xe.ownerDocument.doctype.name + `>
|
|
@@ -29660,7 +29660,7 @@ class T1 {
|
|
|
29660
29660
|
*/
|
|
29661
29661
|
appendCharCode(e) {
|
|
29662
29662
|
const t = this._capacity - this._bufferLength;
|
|
29663
|
-
t <= 1 && (t === 0 ||
|
|
29663
|
+
t <= 1 && (t === 0 || wr(e)) && this._flushBuffer(), this._buffer[this._bufferLength++] = e;
|
|
29664
29664
|
}
|
|
29665
29665
|
/**
|
|
29666
29666
|
* Append an ASCII char code (<2^8)
|
|
@@ -30710,7 +30710,7 @@ class dT {
|
|
|
30710
30710
|
let r = this._buffLen, s = this._leftoverHighSurrogate, o, a;
|
|
30711
30711
|
for (s !== 0 ? (o = s, a = -1, s = 0) : (o = e.charCodeAt(0), a = 0); ; ) {
|
|
30712
30712
|
let l = o;
|
|
30713
|
-
if (
|
|
30713
|
+
if (wr(o))
|
|
30714
30714
|
if (a + 1 < t) {
|
|
30715
30715
|
const c = e.charCodeAt(a + 1);
|
|
30716
30716
|
_m(c) ? (a++, l = FW(o, c)) : l = 65533;
|
|
@@ -32116,11 +32116,11 @@ class $W {
|
|
|
32116
32116
|
let y = h.index, S = h.index + h[0].length;
|
|
32117
32117
|
if (y > 0) {
|
|
32118
32118
|
const L = b.charCodeAt(y - 1);
|
|
32119
|
-
|
|
32119
|
+
wr(L) && y--;
|
|
32120
32120
|
}
|
|
32121
32121
|
if (S + 1 < w) {
|
|
32122
32122
|
const L = b.charCodeAt(S - 1);
|
|
32123
|
-
|
|
32123
|
+
wr(L) && S++;
|
|
32124
32124
|
}
|
|
32125
32125
|
const I = b.substring(y, S);
|
|
32126
32126
|
let D = By(y + 1, MW, b, 0);
|
|
@@ -35219,16 +35219,16 @@ class ds {
|
|
|
35219
35219
|
};
|
|
35220
35220
|
}
|
|
35221
35221
|
}
|
|
35222
|
-
class
|
|
35222
|
+
class Sr {
|
|
35223
35223
|
static createEmpty(e, t) {
|
|
35224
|
-
const i =
|
|
35225
|
-
return r[0] = e.length, r[1] = i, new
|
|
35224
|
+
const i = Sr.defaultTokenMetadata, r = new Uint32Array(2);
|
|
35225
|
+
return r[0] = e.length, r[1] = i, new Sr(r, e, t);
|
|
35226
35226
|
}
|
|
35227
35227
|
constructor(e, t, i) {
|
|
35228
35228
|
this._lineTokensBrand = void 0, this._tokens = e, this._tokensCount = this._tokens.length >>> 1, this._text = t, this._languageIdCodec = i;
|
|
35229
35229
|
}
|
|
35230
35230
|
equals(e) {
|
|
35231
|
-
return e instanceof
|
|
35231
|
+
return e instanceof Sr ? this.slicedEquals(e, 0, this._tokensCount) : !1;
|
|
35232
35232
|
}
|
|
35233
35233
|
slicedEquals(e, t, i) {
|
|
35234
35234
|
if (this._text !== e._text || this._tokensCount !== e._tokensCount)
|
|
@@ -35284,7 +35284,7 @@ class wr {
|
|
|
35284
35284
|
* @return The index of the token containing the offset.
|
|
35285
35285
|
*/
|
|
35286
35286
|
findTokenIndexAtOffset(e) {
|
|
35287
|
-
return
|
|
35287
|
+
return Sr.findIndexInTokensArray(this._tokens, e);
|
|
35288
35288
|
}
|
|
35289
35289
|
inflate() {
|
|
35290
35290
|
return this;
|
|
@@ -35336,10 +35336,10 @@ class wr {
|
|
|
35336
35336
|
} else
|
|
35337
35337
|
break;
|
|
35338
35338
|
}
|
|
35339
|
-
return new
|
|
35339
|
+
return new Sr(new Uint32Array(s), r, this._languageIdCodec);
|
|
35340
35340
|
}
|
|
35341
35341
|
}
|
|
35342
|
-
|
|
35342
|
+
Sr.defaultTokenMetadata = (32768 | 2 << 24) >>> 0;
|
|
35343
35343
|
class oH {
|
|
35344
35344
|
constructor(e, t, i, r) {
|
|
35345
35345
|
this._source = e, this._startOffset = t, this._endOffset = i, this._deltaOffset = r, this._firstTokenIndex = e.findTokenIndexAtOffset(t), this._tokensCount = 0;
|
|
@@ -35484,11 +35484,11 @@ class MPe {
|
|
|
35484
35484
|
const u = l.className, h = l.type === 1 ? 2 : l.type === 2 ? 4 : 0;
|
|
35485
35485
|
if (c > 1) {
|
|
35486
35486
|
const p = e.charCodeAt(c - 2);
|
|
35487
|
-
|
|
35487
|
+
wr(p) && c--;
|
|
35488
35488
|
}
|
|
35489
35489
|
if (d > 1) {
|
|
35490
35490
|
const p = e.charCodeAt(d - 2);
|
|
35491
|
-
|
|
35491
|
+
wr(p) && d--;
|
|
35492
35492
|
}
|
|
35493
35493
|
const f = c - 1, g = d - 2;
|
|
35494
35494
|
s = r.consumeLowerThan(f, s, i), r.count === 0 && (s = f), r.insert(g, u, h);
|
|
@@ -35496,7 +35496,7 @@ class MPe {
|
|
|
35496
35496
|
return r.consumeLowerThan(1073741824, s, i), i;
|
|
35497
35497
|
}
|
|
35498
35498
|
}
|
|
35499
|
-
class
|
|
35499
|
+
class kr {
|
|
35500
35500
|
constructor(e, t, i, r) {
|
|
35501
35501
|
this.endIndex = e, this.type = t, this.metadata = i, this.containsRTL = r, this._linePartBrand = void 0;
|
|
35502
35502
|
}
|
|
@@ -35650,7 +35650,7 @@ function APe(n) {
|
|
|
35650
35650
|
function TPe(n, e, t, i, r) {
|
|
35651
35651
|
const s = [];
|
|
35652
35652
|
let o = 0;
|
|
35653
|
-
i > 0 && (s[o++] = new
|
|
35653
|
+
i > 0 && (s[o++] = new kr(i, "", 0, !1));
|
|
35654
35654
|
let a = i;
|
|
35655
35655
|
for (let l = 0, c = t.getCount(); l < c; l++) {
|
|
35656
35656
|
const d = t.getEndOffset(l);
|
|
@@ -35659,11 +35659,11 @@ function TPe(n, e, t, i, r) {
|
|
|
35659
35659
|
const u = t.getClassName(l);
|
|
35660
35660
|
if (d >= r) {
|
|
35661
35661
|
const f = e ? E_(n.substring(a, r)) : !1;
|
|
35662
|
-
s[o++] = new
|
|
35662
|
+
s[o++] = new kr(r, u, 0, f);
|
|
35663
35663
|
break;
|
|
35664
35664
|
}
|
|
35665
35665
|
const h = e ? E_(n.substring(a, d)) : !1;
|
|
35666
|
-
s[o++] = new
|
|
35666
|
+
s[o++] = new kr(d, u, 0, h), a = d;
|
|
35667
35667
|
}
|
|
35668
35668
|
return s;
|
|
35669
35669
|
}
|
|
@@ -35678,8 +35678,8 @@ function EPe(n, e, t) {
|
|
|
35678
35678
|
const d = l.type, u = l.metadata, h = l.containsRTL;
|
|
35679
35679
|
let f = -1, g = i;
|
|
35680
35680
|
for (let p = i; p < c; p++)
|
|
35681
|
-
n.charCodeAt(p) === 32 && (f = p), f !== -1 && p - g >= 50 && (r[s++] = new
|
|
35682
|
-
g !== c && (r[s++] = new
|
|
35681
|
+
n.charCodeAt(p) === 32 && (f = p), f !== -1 && p - g >= 50 && (r[s++] = new kr(f + 1, d, u, h), g = f + 1, f = -1);
|
|
35682
|
+
g !== c && (r[s++] = new kr(c, d, u, h));
|
|
35683
35683
|
} else
|
|
35684
35684
|
r[s++] = l;
|
|
35685
35685
|
i = c;
|
|
@@ -35694,9 +35694,9 @@ function EPe(n, e, t) {
|
|
|
35694
35694
|
);
|
|
35695
35695
|
for (let p = 1; p < g; p++) {
|
|
35696
35696
|
const m = i + p * 50;
|
|
35697
|
-
r[s++] = new
|
|
35697
|
+
r[s++] = new kr(m, u, h, f);
|
|
35698
35698
|
}
|
|
35699
|
-
r[s++] = new
|
|
35699
|
+
r[s++] = new kr(c, u, h, f);
|
|
35700
35700
|
} else
|
|
35701
35701
|
r[s++] = l;
|
|
35702
35702
|
i = c;
|
|
@@ -35708,14 +35708,14 @@ function Rue(n) {
|
|
|
35708
35708
|
}
|
|
35709
35709
|
function kPe(n, e) {
|
|
35710
35710
|
const t = [];
|
|
35711
|
-
let i = new
|
|
35711
|
+
let i = new kr(0, "", 0, !1), r = 0;
|
|
35712
35712
|
for (const s of e) {
|
|
35713
35713
|
const o = s.endIndex;
|
|
35714
35714
|
for (; r < o; r++) {
|
|
35715
35715
|
const a = n.charCodeAt(r);
|
|
35716
|
-
Rue(a) && (r > i.endIndex && (i = new
|
|
35716
|
+
Rue(a) && (r > i.endIndex && (i = new kr(r, s.type, s.metadata, s.containsRTL), t.push(i)), i = new kr(r + 1, "mtkcontrol", s.metadata, !1), t.push(i));
|
|
35717
35717
|
}
|
|
35718
|
-
r > i.endIndex && (i = new
|
|
35718
|
+
r > i.endIndex && (i = new kr(o, s.type, s.metadata, s.containsRTL), t.push(i));
|
|
35719
35719
|
}
|
|
35720
35720
|
return t;
|
|
35721
35721
|
}
|
|
@@ -35751,13 +35751,13 @@ function OPe(n, e, t, i) {
|
|
|
35751
35751
|
if (h) {
|
|
35752
35752
|
const O = g > 0 ? f[g - 1].endIndex : s;
|
|
35753
35753
|
for (let q = O + 1; q <= M; q++)
|
|
35754
|
-
f[g++] = new
|
|
35754
|
+
f[g++] = new kr(q, "mtkw", 1, !1);
|
|
35755
35755
|
} else
|
|
35756
|
-
f[g++] = new
|
|
35756
|
+
f[g++] = new kr(M, "mtkw", 1, !1);
|
|
35757
35757
|
A = A % o;
|
|
35758
35758
|
}
|
|
35759
35759
|
} else
|
|
35760
|
-
(M === b || k && M > s) && (f[g++] = new
|
|
35760
|
+
(M === b || k && M > s) && (f[g++] = new kr(M, m, 0, _), A = A % o);
|
|
35761
35761
|
for (T === 9 ? A = o : og(T) ? A += 2 : A++, D = k; M === b && (p++, p < w); )
|
|
35762
35762
|
m = i[p].type, _ = i[p].containsRTL, b = i[p].endIndex;
|
|
35763
35763
|
}
|
|
@@ -35772,11 +35772,11 @@ function OPe(n, e, t, i) {
|
|
|
35772
35772
|
if (h) {
|
|
35773
35773
|
const M = g > 0 ? f[g - 1].endIndex : s;
|
|
35774
35774
|
for (let T = M + 1; T <= t; T++)
|
|
35775
|
-
f[g++] = new
|
|
35775
|
+
f[g++] = new kr(T, "mtkw", 1, !1);
|
|
35776
35776
|
} else
|
|
35777
|
-
f[g++] = new
|
|
35777
|
+
f[g++] = new kr(t, "mtkw", 1, !1);
|
|
35778
35778
|
else
|
|
35779
|
-
f[g++] = new
|
|
35779
|
+
f[g++] = new kr(t, m, 0, _);
|
|
35780
35780
|
return f;
|
|
35781
35781
|
}
|
|
35782
35782
|
function PPe(n, e, t, i) {
|
|
@@ -35789,20 +35789,20 @@ function PPe(n, e, t, i) {
|
|
|
35789
35789
|
const f = t[u], g = f.endIndex, p = f.type, m = f.metadata, _ = f.containsRTL;
|
|
35790
35790
|
for (; o < s && r[o].startOffset < g; ) {
|
|
35791
35791
|
const b = r[o];
|
|
35792
|
-
if (b.startOffset > c && (c = b.startOffset, a[l++] = new
|
|
35793
|
-
c = b.endOffset + 1, a[l++] = new
|
|
35792
|
+
if (b.startOffset > c && (c = b.startOffset, a[l++] = new kr(c, p, m, _)), b.endOffset + 1 <= g)
|
|
35793
|
+
c = b.endOffset + 1, a[l++] = new kr(c, p + " " + b.className, m | b.metadata, _), o++;
|
|
35794
35794
|
else {
|
|
35795
|
-
c = g, a[l++] = new
|
|
35795
|
+
c = g, a[l++] = new kr(c, p + " " + b.className, m | b.metadata, _);
|
|
35796
35796
|
break;
|
|
35797
35797
|
}
|
|
35798
35798
|
}
|
|
35799
|
-
g > c && (c = g, a[l++] = new
|
|
35799
|
+
g > c && (c = g, a[l++] = new kr(c, p, m, _));
|
|
35800
35800
|
}
|
|
35801
35801
|
const d = t[t.length - 1].endIndex;
|
|
35802
35802
|
if (o < s && r[o].startOffset === d)
|
|
35803
35803
|
for (; o < s && r[o].startOffset === d; ) {
|
|
35804
35804
|
const u = r[o];
|
|
35805
|
-
a[l++] = new
|
|
35805
|
+
a[l++] = new kr(c, u.className, u.metadata, !1), o++;
|
|
35806
35806
|
}
|
|
35807
35807
|
return a;
|
|
35808
35808
|
}
|
|
@@ -36538,7 +36538,7 @@ function Rq(n, e, t) {
|
|
|
36538
36538
|
for (let o = 0, a = n.length; o < a; o++) {
|
|
36539
36539
|
const l = n[o];
|
|
36540
36540
|
s[0] = l.length;
|
|
36541
|
-
const c = new
|
|
36541
|
+
const c = new Sr(s, l, t), d = Sa.isBasicASCII(
|
|
36542
36542
|
l,
|
|
36543
36543
|
/* check for basic ASCII */
|
|
36544
36544
|
!0
|
|
@@ -36556,8 +36556,8 @@ function XPe(n, e, t, i) {
|
|
|
36556
36556
|
let r = [], s = t.getInitialState();
|
|
36557
36557
|
for (let o = 0, a = n.length; o < a; o++) {
|
|
36558
36558
|
const l = n[o], c = t.tokenizeEncoded(l, !0, s);
|
|
36559
|
-
|
|
36560
|
-
const d = new
|
|
36559
|
+
Sr.convertToEndOffset(c.tokens, l.length);
|
|
36560
|
+
const d = new Sr(c.tokens, l, i), u = Sa.isBasicASCII(
|
|
36561
36561
|
l,
|
|
36562
36562
|
/* check for basic ASCII */
|
|
36563
36563
|
!0
|
|
@@ -37248,10 +37248,10 @@ te("editorInfo.background", { dark: null, light: null, hcDark: null, hcLight: nu
|
|
|
37248
37248
|
const Co = te("editorInfo.foreground", { dark: "#3794FF", light: "#1a85ff", hcDark: "#3794FF", hcLight: "#1a85ff" }, C("editorInfo.foreground", "Foreground color of info squigglies in the editor.")), ow = te("editorInfo.border", { dark: null, light: null, hcDark: Ce.fromHex("#3794FF").transparent(0.8), hcLight: "#292929" }, C("infoBorder", "If set, color of double underlines for infos in the editor.")), O5e = te("editorHint.foreground", { dark: Ce.fromHex("#eeeeee").transparent(0.7), light: "#6c6c6c", hcDark: null, hcLight: null }, C("editorHint.foreground", "Foreground color of hint squigglies in the editor."));
|
|
37249
37249
|
te("editorHint.border", { dark: null, light: null, hcDark: Ce.fromHex("#eeeeee").transparent(0.8), hcLight: "#292929" }, C("hintBorder", "If set, color of double underlines for hints in the editor."));
|
|
37250
37250
|
te("sash.hoverBorder", { dark: fa, light: fa, hcDark: fa, hcLight: fa }, C("sashActiveBorder", "Border color of active sashes."));
|
|
37251
|
-
const
|
|
37252
|
-
te("editorStickyScroll.background", { light:
|
|
37251
|
+
const Dr = te("editor.background", { light: "#ffffff", dark: "#1E1E1E", hcDark: Ce.black, hcLight: Ce.white }, C("editorBackground", "Editor background color.")), Ll = te("editor.foreground", { light: "#333333", dark: "#BBBBBB", hcDark: Ce.white, hcLight: Fe }, C("editorForeground", "Editor default foreground color."));
|
|
37252
|
+
te("editorStickyScroll.background", { light: Dr, dark: Dr, hcDark: Dr, hcLight: Dr }, C("editorStickyScrollBackground", "Sticky scroll background color for the editor"));
|
|
37253
37253
|
te("editorStickyScrollHover.background", { dark: "#2A2D2E", light: "#F0F0F0", hcDark: null, hcLight: Ce.fromHex("#0F4A85").transparent(0.1) }, C("editorStickyScrollHoverBackground", "Sticky scroll on hover background color for the editor"));
|
|
37254
|
-
const En = te("editorWidget.background", { dark: "#252526", light: "#F3F3F3", hcDark: "#0C141F", hcLight: Ce.white }, C("editorWidgetBackground", "Background color of editor widgets, such as find/replace.")), kd = te("editorWidget.foreground", { dark: Fe, light: Fe, hcDark: Fe, hcLight: Fe }, C("editorWidgetForeground", "Foreground color of editor widgets, such as find/replace.")), Od = te("editorWidget.border", { dark: "#454545", light: "#C8C8C8", hcDark: Jt, hcLight: Jt }, C("editorWidgetBorder", "Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")), P5e = te("editorWidget.resizeBorder", { light: null, dark: null, hcDark: null, hcLight: null }, C("editorWidgetResizeBorder", "Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")), Bq = te("quickInput.background", { dark: En, light: En, hcDark: En, hcLight: En }, C("pickerBackground", "Quick picker background color. The quick picker widget is the container for pickers like the command palette.")), R5e = te("quickInput.foreground", { dark: kd, light: kd, hcDark: kd, hcLight: kd }, C("pickerForeground", "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")), j5e = te("quickInputTitle.background", { dark: new Ce(new ti(255, 255, 255, 0.105)), light: new Ce(new ti(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: Ce.white }, C("pickerTitleBackground", "Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")), Yue = te("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: Ce.white, hcLight: "#0F4A85" }, C("pickerGroupForeground", "Quick picker color for grouping labels.")), F5e = te("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: Ce.white, hcLight: "#0F4A85" }, C("pickerGroupBorder", "Quick picker color for grouping borders.")), B5e = te("keybindingLabel.background", { dark: new Ce(new ti(128, 128, 128, 0.17)), light: new Ce(new ti(221, 221, 221, 0.4)), hcDark: Ce.transparent, hcLight: Ce.transparent }, C("keybindingLabelBackground", "Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")), z5e = te("keybindingLabel.foreground", { dark: Ce.fromHex("#CCCCCC"), light: Ce.fromHex("#555555"), hcDark: Ce.white, hcLight: Fe }, C("keybindingLabelForeground", "Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")), W5e = te("keybindingLabel.border", { dark: new Ce(new ti(51, 51, 51, 0.6)), light: new Ce(new ti(204, 204, 204, 0.4)), hcDark: new Ce(new ti(111, 195, 223)), hcLight: Jt }, C("keybindingLabelBorder", "Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")), H5e = te("keybindingLabel.bottomBorder", { dark: new Ce(new ti(68, 68, 68, 0.6)), light: new Ce(new ti(187, 187, 187, 0.4)), hcDark: new Ce(new ti(111, 195, 223)), hcLight: Fe }, C("keybindingLabelBottomBorder", "Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")), If = te("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, C("editorSelectionBackground", "Color of the editor selection.")), V5e = te("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: Ce.white }, C("editorSelectionForeground", "Color of the selected text for high contrast.")), Gue = te("editor.inactiveSelectionBackground", { light: dt(If, 0.5), dark: dt(If, 0.5), hcDark: dt(If, 0.7), hcLight: dt(If, 0.5) }, C("editorInactiveSelection", "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."), !0), gH = te("editor.selectionHighlightBackground", { light: Gq(If,
|
|
37254
|
+
const En = te("editorWidget.background", { dark: "#252526", light: "#F3F3F3", hcDark: "#0C141F", hcLight: Ce.white }, C("editorWidgetBackground", "Background color of editor widgets, such as find/replace.")), kd = te("editorWidget.foreground", { dark: Fe, light: Fe, hcDark: Fe, hcLight: Fe }, C("editorWidgetForeground", "Foreground color of editor widgets, such as find/replace.")), Od = te("editorWidget.border", { dark: "#454545", light: "#C8C8C8", hcDark: Jt, hcLight: Jt }, C("editorWidgetBorder", "Border color of editor widgets. The color is only used if the widget chooses to have a border and if the color is not overridden by a widget.")), P5e = te("editorWidget.resizeBorder", { light: null, dark: null, hcDark: null, hcLight: null }, C("editorWidgetResizeBorder", "Border color of the resize bar of editor widgets. The color is only used if the widget chooses to have a resize border and if the color is not overridden by a widget.")), Bq = te("quickInput.background", { dark: En, light: En, hcDark: En, hcLight: En }, C("pickerBackground", "Quick picker background color. The quick picker widget is the container for pickers like the command palette.")), R5e = te("quickInput.foreground", { dark: kd, light: kd, hcDark: kd, hcLight: kd }, C("pickerForeground", "Quick picker foreground color. The quick picker widget is the container for pickers like the command palette.")), j5e = te("quickInputTitle.background", { dark: new Ce(new ti(255, 255, 255, 0.105)), light: new Ce(new ti(0, 0, 0, 0.06)), hcDark: "#000000", hcLight: Ce.white }, C("pickerTitleBackground", "Quick picker title background color. The quick picker widget is the container for pickers like the command palette.")), Yue = te("pickerGroup.foreground", { dark: "#3794FF", light: "#0066BF", hcDark: Ce.white, hcLight: "#0F4A85" }, C("pickerGroupForeground", "Quick picker color for grouping labels.")), F5e = te("pickerGroup.border", { dark: "#3F3F46", light: "#CCCEDB", hcDark: Ce.white, hcLight: "#0F4A85" }, C("pickerGroupBorder", "Quick picker color for grouping borders.")), B5e = te("keybindingLabel.background", { dark: new Ce(new ti(128, 128, 128, 0.17)), light: new Ce(new ti(221, 221, 221, 0.4)), hcDark: Ce.transparent, hcLight: Ce.transparent }, C("keybindingLabelBackground", "Keybinding label background color. The keybinding label is used to represent a keyboard shortcut.")), z5e = te("keybindingLabel.foreground", { dark: Ce.fromHex("#CCCCCC"), light: Ce.fromHex("#555555"), hcDark: Ce.white, hcLight: Fe }, C("keybindingLabelForeground", "Keybinding label foreground color. The keybinding label is used to represent a keyboard shortcut.")), W5e = te("keybindingLabel.border", { dark: new Ce(new ti(51, 51, 51, 0.6)), light: new Ce(new ti(204, 204, 204, 0.4)), hcDark: new Ce(new ti(111, 195, 223)), hcLight: Jt }, C("keybindingLabelBorder", "Keybinding label border color. The keybinding label is used to represent a keyboard shortcut.")), H5e = te("keybindingLabel.bottomBorder", { dark: new Ce(new ti(68, 68, 68, 0.6)), light: new Ce(new ti(187, 187, 187, 0.4)), hcDark: new Ce(new ti(111, 195, 223)), hcLight: Fe }, C("keybindingLabelBottomBorder", "Keybinding label border bottom color. The keybinding label is used to represent a keyboard shortcut.")), If = te("editor.selectionBackground", { light: "#ADD6FF", dark: "#264F78", hcDark: "#f3f518", hcLight: "#0F4A85" }, C("editorSelectionBackground", "Color of the editor selection.")), V5e = te("editor.selectionForeground", { light: null, dark: null, hcDark: "#000000", hcLight: Ce.white }, C("editorSelectionForeground", "Color of the selected text for high contrast.")), Gue = te("editor.inactiveSelectionBackground", { light: dt(If, 0.5), dark: dt(If, 0.5), hcDark: dt(If, 0.7), hcLight: dt(If, 0.5) }, C("editorInactiveSelection", "Color of the selection in an inactive editor. The color must not be opaque so as not to hide underlying decorations."), !0), gH = te("editor.selectionHighlightBackground", { light: Gq(If, Dr, 0.3, 0.6), dark: Gq(If, Dr, 0.3, 0.6), hcDark: null, hcLight: null }, C("editorSelectionHighlight", "Color for regions with the same content as the selection. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
37255
37255
|
te("editor.selectionHighlightBorder", { light: null, dark: null, hcDark: Xi, hcLight: Xi }, C("editorSelectionHighlightBorder", "Border color for regions with the same content as the selection."));
|
|
37256
37256
|
const U5e = te("editor.findMatchBackground", { light: "#A8AC94", dark: "#515C6A", hcDark: null, hcLight: null }, C("editorFindMatch", "Color of the current search match.")), Pd = te("editor.findMatchHighlightBackground", { light: "#EA5C0055", dark: "#EA5C0055", hcDark: null, hcLight: null }, C("findMatchHighlight", "Color of the other search matches. The color must not be opaque so as not to hide underlying decorations."), !0), Y5e = te("editor.findRangeHighlightBackground", { dark: "#3a3d4166", light: "#b4b4b44d", hcDark: null, hcLight: null }, C("findRangeHighlight", "Color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), !0), G5e = te("editor.findMatchBorder", { light: null, dark: null, hcDark: Xi, hcLight: Xi }, C("editorFindMatchBorder", "Border color of the current search match.")), Lf = te("editor.findMatchHighlightBorder", { light: null, dark: null, hcDark: Xi, hcLight: Xi }, C("findMatchHighlightBorder", "Border color of the other search matches.")), Q5e = te("editor.findRangeHighlightBorder", { dark: null, light: null, hcDark: dt(Xi, 0.4), hcLight: dt(Xi, 0.4) }, C("findRangeHighlightBorder", "Border color of the range limiting the search. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
37257
37257
|
te("searchEditor.findMatchBackground", { light: dt(Pd, 0.66), dark: dt(Pd, 0.66), hcDark: Pd, hcLight: Pd }, C("searchEditor.queryMatch", "Color of the Search Editor query matches."));
|
|
@@ -37298,7 +37298,7 @@ te("editor.snippetTabstopHighlightBackground", { dark: new Ce(new ti(124, 124, 1
|
|
|
37298
37298
|
te("editor.snippetTabstopHighlightBorder", { dark: null, light: null, hcDark: null, hcLight: null }, C("snippetTabstopHighlightBorder", "Highlight border color of a snippet tabstop."));
|
|
37299
37299
|
te("editor.snippetFinalTabstopHighlightBackground", { dark: null, light: null, hcDark: null, hcLight: null }, C("snippetFinalTabstopHighlightBackground", "Highlight background color of the final tabstop of a snippet."));
|
|
37300
37300
|
te("editor.snippetFinalTabstopHighlightBorder", { dark: "#525252", light: new Ce(new ti(10, 50, 100, 0.5)), hcDark: "#525252", hcLight: "#292929" }, C("snippetFinalTabstopHighlightBorder", "Highlight border color of the final tabstop of a snippet."));
|
|
37301
|
-
const TRe = te("breadcrumb.foreground", { light: dt(Fe, 0.8), dark: dt(Fe, 0.8), hcDark: dt(Fe, 0.8), hcLight: dt(Fe, 0.8) }, C("breadcrumbsFocusForeground", "Color of focused breadcrumb items.")), ERe = te("breadcrumb.background", { light:
|
|
37301
|
+
const TRe = te("breadcrumb.foreground", { light: dt(Fe, 0.8), dark: dt(Fe, 0.8), hcDark: dt(Fe, 0.8), hcLight: dt(Fe, 0.8) }, C("breadcrumbsFocusForeground", "Color of focused breadcrumb items.")), ERe = te("breadcrumb.background", { light: Dr, dark: Dr, hcDark: Dr, hcLight: Dr }, C("breadcrumbsBackground", "Background color of breadcrumb items.")), Wq = te("breadcrumb.focusForeground", { light: i0(Fe, 0.2), dark: Oc(Fe, 0.1), hcDark: Oc(Fe, 0.1), hcLight: Oc(Fe, 0.1) }, C("breadcrumbsFocusForeground", "Color of focused breadcrumb items.")), kRe = te("breadcrumb.activeSelectionForeground", { light: i0(Fe, 0.2), dark: Oc(Fe, 0.1), hcDark: Oc(Fe, 0.1), hcLight: Oc(Fe, 0.1) }, C("breadcrumbsSelectedForeground", "Color of selected breadcrumb items."));
|
|
37302
37302
|
te("breadcrumbPicker.background", { light: En, dark: En, hcDark: En, hcLight: En }, C("breadcrumbsSelectedBackground", "Background color of breadcrumb item picker."));
|
|
37303
37303
|
const Kue = 0.5, Hq = Ce.fromHex("#40C8AE").transparent(Kue), Vq = Ce.fromHex("#40A6FF").transparent(Kue), Uq = Ce.fromHex("#606060").transparent(0.4), xl = 0.4, W_ = 1, wv = te("merge.currentHeaderBackground", { dark: Hq, light: Hq, hcDark: null, hcLight: null }, C("mergeCurrentHeaderBackground", "Current header background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
37304
37304
|
te("merge.currentContentBackground", { dark: dt(wv, xl), light: dt(wv, xl), hcDark: dt(wv, xl), hcLight: dt(wv, xl) }, C("mergeCurrentContentBackground", "Current content background in inline merge-conflicts. The color must not be opaque so as not to hide underlying decorations."), !0);
|
|
@@ -40522,7 +40522,7 @@ class D6e extends ye {
|
|
|
40522
40522
|
this._OS === 2
|
|
40523
40523
|
/* OperatingSystem.Macintosh */
|
|
40524
40524
|
);
|
|
40525
|
-
l.replacePrevCharCnt === 0 && l.text.length === 1 && (
|
|
40525
|
+
l.replacePrevCharCnt === 0 && l.text.length === 1 && (wr(l.text.charCodeAt(0)) || l.text.charCodeAt(0) === 127) || (this._textAreaState = a, (l.text !== "" || l.replacePrevCharCnt !== 0 || l.replaceNextCharCnt !== 0 || l.positionDelta !== 0) && this._onType.fire(l));
|
|
40526
40526
|
})), this._register(this._textArea.onCut((o) => {
|
|
40527
40527
|
this._textArea.setIgnoreSelectionChangeTime("received cut event"), this._ensureClipboardGetsEditorSelection(o), this._asyncTriggerCut.schedule();
|
|
40528
40528
|
})), this._register(this._textArea.onCopy((o) => {
|
|
@@ -40744,7 +40744,7 @@ class x6e extends ye {
|
|
|
40744
40744
|
}
|
|
40745
40745
|
class n0 extends YS {
|
|
40746
40746
|
}
|
|
40747
|
-
const
|
|
40747
|
+
const Ir = Ut("themeService");
|
|
40748
40748
|
function Ln(n) {
|
|
40749
40749
|
return { id: n };
|
|
40750
40750
|
}
|
|
@@ -40805,7 +40805,7 @@ te("editorCodeLens.foreground", { dark: "#999999", light: "#919191", hcDark: "#9
|
|
|
40805
40805
|
te("editorBracketMatch.background", { dark: "#0064001a", light: "#0064001a", hcDark: "#0064001a", hcLight: "#0000" }, C("editorBracketMatchBackground", "Background color behind matching brackets"));
|
|
40806
40806
|
te("editorBracketMatch.border", { dark: "#888", light: "#B9B9B9", hcDark: Jt, hcLight: Jt }, C("editorBracketMatchBorder", "Color for matching brackets boxes"));
|
|
40807
40807
|
const U6e = te("editorOverviewRuler.border", { dark: "#7f7f7f4d", light: "#7f7f7f4d", hcDark: "#7f7f7f4d", hcLight: "#666666" }, C("editorOverviewRulerBorder", "Color of the overview ruler border.")), Y6e = te("editorOverviewRuler.background", null, C("editorOverviewRulerBackground", "Background color of the editor overview ruler."));
|
|
40808
|
-
te("editorGutter.background", { dark:
|
|
40808
|
+
te("editorGutter.background", { dark: Dr, light: Dr, hcDark: Dr, hcLight: Dr }, C("editorGutter", "Background color of the editor gutter. The gutter contains the glyph margins and the line numbers."));
|
|
40809
40809
|
te("editorUnnecessaryCode.border", { dark: null, light: null, hcDark: Ce.fromHex("#fff").transparent(0.8), hcLight: Jt }, C("unnecessaryCodeBorder", "Border color of unnecessary (unused) source code in the editor."));
|
|
40810
40810
|
const G6e = te("editorUnnecessaryCode.opacity", { dark: Ce.fromHex("#000a"), light: Ce.fromHex("#0007"), hcDark: null, hcLight: null }, C("unnecessaryCodeOpacity", `Opacity of unnecessary (unused) source code in the editor. For example, "#000000c0" will render the code with 75% opacity. For high contrast themes, use the 'editorUnnecessaryCode.border' theme color to underline unnecessary code instead of fading it out.`));
|
|
40811
40811
|
te("editorGhostText.border", { dark: null, light: null, hcDark: Ce.fromHex("#fff").transparent(0.8), hcLight: Ce.fromHex("#292929").transparent(0.8) }, C("editorGhostTextBorder", "Border color of ghost text in the editor."));
|
|
@@ -40815,7 +40815,7 @@ const fI = new Ce(new ti(0, 122, 204, 0.6)), lhe = te("editorOverviewRuler.range
|
|
|
40815
40815
|
te("editorUnicodeHighlight.border", { dark: "#BD9B03", light: "#CEA33D", hcDark: "#ff0000", hcLight: "#CEA33D" }, C("editorUnicodeHighlight.border", "Border color used to highlight unicode characters."));
|
|
40816
40816
|
te("editorUnicodeHighlight.background", { dark: "#bd9b0326", light: "#cea33d14", hcDark: "#00000000", hcLight: "#cea33d14" }, C("editorUnicodeHighlight.background", "Background color used to highlight unicode characters."));
|
|
40817
40817
|
Ql((n, e) => {
|
|
40818
|
-
const t = n.getColor(
|
|
40818
|
+
const t = n.getColor(Dr), i = n.getColor(ohe), r = i && !i.isTransparent() ? i : t;
|
|
40819
40819
|
r && e.addRule(`.monaco-editor .inputarea.ime-input { background-color: ${r}; }`);
|
|
40820
40820
|
});
|
|
40821
40821
|
class ZS extends n0 {
|
|
@@ -41213,7 +41213,7 @@ let A8 = class extends Qo {
|
|
|
41213
41213
|
_getCharacterBeforePosition(e) {
|
|
41214
41214
|
if (e.column > 1) {
|
|
41215
41215
|
const i = this._context.viewModel.getLineContent(e.lineNumber).charAt(e.column - 2);
|
|
41216
|
-
if (!
|
|
41216
|
+
if (!wr(i.charCodeAt(0)))
|
|
41217
41217
|
return i;
|
|
41218
41218
|
}
|
|
41219
41219
|
return "";
|
|
@@ -44131,7 +44131,7 @@ class T8 {
|
|
|
44131
44131
|
return r || !0;
|
|
44132
44132
|
}
|
|
44133
44133
|
}
|
|
44134
|
-
var
|
|
44134
|
+
var xr;
|
|
44135
44135
|
(function(n) {
|
|
44136
44136
|
class e extends An {
|
|
44137
44137
|
constructor(b) {
|
|
@@ -45301,7 +45301,7 @@ var Mr;
|
|
|
45301
45301
|
]));
|
|
45302
45302
|
}
|
|
45303
45303
|
}());
|
|
45304
|
-
})(
|
|
45304
|
+
})(xr || (xr = {}));
|
|
45305
45305
|
const N9e = Ne.and($.textInputFocus, $.columnSelection);
|
|
45306
45306
|
function O1(n, e) {
|
|
45307
45307
|
Do.registerKeybindingRule({
|
|
@@ -45312,32 +45312,32 @@ function O1(n, e) {
|
|
|
45312
45312
|
});
|
|
45313
45313
|
}
|
|
45314
45314
|
O1(
|
|
45315
|
-
|
|
45315
|
+
xr.CursorColumnSelectLeft.id,
|
|
45316
45316
|
1039
|
|
45317
45317
|
/* KeyCode.LeftArrow */
|
|
45318
45318
|
);
|
|
45319
45319
|
O1(
|
|
45320
|
-
|
|
45320
|
+
xr.CursorColumnSelectRight.id,
|
|
45321
45321
|
1041
|
|
45322
45322
|
/* KeyCode.RightArrow */
|
|
45323
45323
|
);
|
|
45324
45324
|
O1(
|
|
45325
|
-
|
|
45325
|
+
xr.CursorColumnSelectUp.id,
|
|
45326
45326
|
1040
|
|
45327
45327
|
/* KeyCode.UpArrow */
|
|
45328
45328
|
);
|
|
45329
45329
|
O1(
|
|
45330
|
-
|
|
45330
|
+
xr.CursorColumnSelectPageUp.id,
|
|
45331
45331
|
1035
|
|
45332
45332
|
/* KeyCode.PageUp */
|
|
45333
45333
|
);
|
|
45334
45334
|
O1(
|
|
45335
|
-
|
|
45335
|
+
xr.CursorColumnSelectDown.id,
|
|
45336
45336
|
1042
|
|
45337
45337
|
/* KeyCode.DownArrow */
|
|
45338
45338
|
);
|
|
45339
45339
|
O1(
|
|
45340
|
-
|
|
45340
|
+
xr.CursorColumnSelectPageDown.id,
|
|
45341
45341
|
1036
|
|
45342
45342
|
/* KeyCode.PageDown */
|
|
45343
45343
|
);
|
|
@@ -45564,7 +45564,7 @@ class A9e {
|
|
|
45564
45564
|
this.commandDelegate.cut();
|
|
45565
45565
|
}
|
|
45566
45566
|
setSelection(e) {
|
|
45567
|
-
|
|
45567
|
+
xr.SetSelection.runCoreEditorCommand(this.viewModel, {
|
|
45568
45568
|
source: "keyboard",
|
|
45569
45569
|
selection: e
|
|
45570
45570
|
});
|
|
@@ -45622,13 +45622,13 @@ class A9e {
|
|
|
45622
45622
|
};
|
|
45623
45623
|
}
|
|
45624
45624
|
moveTo(e, t) {
|
|
45625
|
-
|
|
45625
|
+
xr.MoveTo.runCoreEditorCommand(this.viewModel, this._usualArgs(e, t));
|
|
45626
45626
|
}
|
|
45627
45627
|
_moveToSelect(e, t) {
|
|
45628
|
-
|
|
45628
|
+
xr.MoveToSelect.runCoreEditorCommand(this.viewModel, this._usualArgs(e, t));
|
|
45629
45629
|
}
|
|
45630
45630
|
_columnSelect(e, t, i) {
|
|
45631
|
-
e = this._validateViewColumn(e),
|
|
45631
|
+
e = this._validateViewColumn(e), xr.ColumnSelect.runCoreEditorCommand(this.viewModel, {
|
|
45632
45632
|
source: "mouse",
|
|
45633
45633
|
position: this._convertViewToModelPosition(e),
|
|
45634
45634
|
viewPosition: e,
|
|
@@ -45637,7 +45637,7 @@ class A9e {
|
|
|
45637
45637
|
});
|
|
45638
45638
|
}
|
|
45639
45639
|
_createCursor(e, t) {
|
|
45640
|
-
e = this._validateViewColumn(e),
|
|
45640
|
+
e = this._validateViewColumn(e), xr.CreateCursor.runCoreEditorCommand(this.viewModel, {
|
|
45641
45641
|
source: "mouse",
|
|
45642
45642
|
position: this._convertViewToModelPosition(e),
|
|
45643
45643
|
viewPosition: e,
|
|
@@ -45645,31 +45645,31 @@ class A9e {
|
|
|
45645
45645
|
});
|
|
45646
45646
|
}
|
|
45647
45647
|
_lastCursorMoveToSelect(e, t) {
|
|
45648
|
-
|
|
45648
|
+
xr.LastCursorMoveToSelect.runCoreEditorCommand(this.viewModel, this._usualArgs(e, t));
|
|
45649
45649
|
}
|
|
45650
45650
|
_wordSelect(e, t) {
|
|
45651
|
-
|
|
45651
|
+
xr.WordSelect.runCoreEditorCommand(this.viewModel, this._usualArgs(e, t));
|
|
45652
45652
|
}
|
|
45653
45653
|
_wordSelectDrag(e, t) {
|
|
45654
|
-
|
|
45654
|
+
xr.WordSelectDrag.runCoreEditorCommand(this.viewModel, this._usualArgs(e, t));
|
|
45655
45655
|
}
|
|
45656
45656
|
_lastCursorWordSelect(e, t) {
|
|
45657
|
-
|
|
45657
|
+
xr.LastCursorWordSelect.runCoreEditorCommand(this.viewModel, this._usualArgs(e, t));
|
|
45658
45658
|
}
|
|
45659
45659
|
_lineSelect(e, t) {
|
|
45660
|
-
|
|
45660
|
+
xr.LineSelect.runCoreEditorCommand(this.viewModel, this._usualArgs(e, t));
|
|
45661
45661
|
}
|
|
45662
45662
|
_lineSelectDrag(e, t) {
|
|
45663
|
-
|
|
45663
|
+
xr.LineSelectDrag.runCoreEditorCommand(this.viewModel, this._usualArgs(e, t));
|
|
45664
45664
|
}
|
|
45665
45665
|
_lastCursorLineSelect(e, t) {
|
|
45666
|
-
|
|
45666
|
+
xr.LastCursorLineSelect.runCoreEditorCommand(this.viewModel, this._usualArgs(e, t));
|
|
45667
45667
|
}
|
|
45668
45668
|
_lastCursorLineSelectDrag(e, t) {
|
|
45669
|
-
|
|
45669
|
+
xr.LastCursorLineSelectDrag.runCoreEditorCommand(this.viewModel, this._usualArgs(e, t));
|
|
45670
45670
|
}
|
|
45671
45671
|
_selectAll() {
|
|
45672
|
-
|
|
45672
|
+
xr.SelectAll.runCoreEditorCommand(this.viewModel, { source: "mouse" });
|
|
45673
45673
|
}
|
|
45674
45674
|
// ----------------------
|
|
45675
45675
|
_convertViewToModelPosition(e) {
|
|
@@ -53064,10 +53064,10 @@ var pg;
|
|
|
53064
53064
|
function R0(n) {
|
|
53065
53065
|
return n.toString();
|
|
53066
53066
|
}
|
|
53067
|
-
class
|
|
53067
|
+
class Nr {
|
|
53068
53068
|
static create(e, t) {
|
|
53069
53069
|
const i = e.getAlternativeVersionId(), r = F8(e);
|
|
53070
|
-
return new
|
|
53070
|
+
return new Nr(i, i, r, r, t, t, []);
|
|
53071
53071
|
}
|
|
53072
53072
|
constructor(e, t, i, r, s, o, a) {
|
|
53073
53073
|
this.beforeVersionId = e, this.afterVersionId = t, this.beforeEOL = i, this.afterEOL = r, this.beforeCursorState = s, this.afterCursorState = o, this.changes = a;
|
|
@@ -53100,12 +53100,12 @@ class xr {
|
|
|
53100
53100
|
return t;
|
|
53101
53101
|
}
|
|
53102
53102
|
serialize() {
|
|
53103
|
-
let e = 10 +
|
|
53103
|
+
let e = 10 + Nr._writeSelectionsSize(this.beforeCursorState) + Nr._writeSelectionsSize(this.afterCursorState) + 4;
|
|
53104
53104
|
for (const r of this.changes)
|
|
53105
53105
|
e += r.writeSize();
|
|
53106
53106
|
const t = new Uint8Array(e);
|
|
53107
53107
|
let i = 0;
|
|
53108
|
-
cc(t, this.beforeVersionId, i), i += 4, cc(t, this.afterVersionId, i), i += 4, JQ(t, this.beforeEOL, i), i += 1, JQ(t, this.afterEOL, i), i += 1, i =
|
|
53108
|
+
cc(t, this.beforeVersionId, i), i += 4, cc(t, this.afterVersionId, i), i += 4, JQ(t, this.beforeEOL, i), i += 1, JQ(t, this.afterEOL, i), i += 1, i = Nr._writeSelections(t, this.beforeCursorState, i), i = Nr._writeSelections(t, this.afterCursorState, i), cc(t, this.changes.length, i), i += 4;
|
|
53109
53109
|
for (const r of this.changes)
|
|
53110
53110
|
i = r.write(t, i);
|
|
53111
53111
|
return t.buffer;
|
|
@@ -53122,15 +53122,15 @@ class xr {
|
|
|
53122
53122
|
const a = XQ(t, i);
|
|
53123
53123
|
i += 1;
|
|
53124
53124
|
const l = [];
|
|
53125
|
-
i =
|
|
53125
|
+
i = Nr._readSelections(t, i, l);
|
|
53126
53126
|
const c = [];
|
|
53127
|
-
i =
|
|
53127
|
+
i = Nr._readSelections(t, i, c);
|
|
53128
53128
|
const d = lc(t, i);
|
|
53129
53129
|
i += 4;
|
|
53130
53130
|
const u = [];
|
|
53131
53131
|
for (let h = 0; h < d; h++)
|
|
53132
53132
|
i = ls.read(t, i, u);
|
|
53133
|
-
return new
|
|
53133
|
+
return new Nr(r, s, o, a, l, c, u);
|
|
53134
53134
|
}
|
|
53135
53135
|
}
|
|
53136
53136
|
class jhe {
|
|
@@ -53141,10 +53141,10 @@ class jhe {
|
|
|
53141
53141
|
return pt.isUri(this.model) ? this.model : this.model.uri;
|
|
53142
53142
|
}
|
|
53143
53143
|
constructor(e, t, i, r) {
|
|
53144
|
-
this.label = e, this.code = t, this.model = i, this._data =
|
|
53144
|
+
this.label = e, this.code = t, this.model = i, this._data = Nr.create(i, r);
|
|
53145
53145
|
}
|
|
53146
53146
|
toString() {
|
|
53147
|
-
return (this._data instanceof
|
|
53147
|
+
return (this._data instanceof Nr ? this._data : Nr.deserialize(this._data)).changes.map((t) => t.toString()).join(", ");
|
|
53148
53148
|
}
|
|
53149
53149
|
matchesResource(e) {
|
|
53150
53150
|
return (pt.isUri(this.model) ? this.model : this.model.uri).toString() === e.toString();
|
|
@@ -53153,33 +53153,33 @@ class jhe {
|
|
|
53153
53153
|
this.model = e;
|
|
53154
53154
|
}
|
|
53155
53155
|
canAppend(e) {
|
|
53156
|
-
return this.model === e && this._data instanceof
|
|
53156
|
+
return this.model === e && this._data instanceof Nr;
|
|
53157
53157
|
}
|
|
53158
53158
|
append(e, t, i, r, s) {
|
|
53159
|
-
this._data instanceof
|
|
53159
|
+
this._data instanceof Nr && this._data.append(e, t, i, r, s);
|
|
53160
53160
|
}
|
|
53161
53161
|
close() {
|
|
53162
|
-
this._data instanceof
|
|
53162
|
+
this._data instanceof Nr && (this._data = this._data.serialize());
|
|
53163
53163
|
}
|
|
53164
53164
|
open() {
|
|
53165
|
-
this._data instanceof
|
|
53165
|
+
this._data instanceof Nr || (this._data = Nr.deserialize(this._data));
|
|
53166
53166
|
}
|
|
53167
53167
|
undo() {
|
|
53168
53168
|
if (pt.isUri(this.model))
|
|
53169
53169
|
throw new Error("Invalid SingleModelEditStackElement");
|
|
53170
|
-
this._data instanceof
|
|
53171
|
-
const e =
|
|
53170
|
+
this._data instanceof Nr && (this._data = this._data.serialize());
|
|
53171
|
+
const e = Nr.deserialize(this._data);
|
|
53172
53172
|
this.model._applyUndo(e.changes, e.beforeEOL, e.beforeVersionId, e.beforeCursorState);
|
|
53173
53173
|
}
|
|
53174
53174
|
redo() {
|
|
53175
53175
|
if (pt.isUri(this.model))
|
|
53176
53176
|
throw new Error("Invalid SingleModelEditStackElement");
|
|
53177
|
-
this._data instanceof
|
|
53178
|
-
const e =
|
|
53177
|
+
this._data instanceof Nr && (this._data = this._data.serialize());
|
|
53178
|
+
const e = Nr.deserialize(this._data);
|
|
53179
53179
|
this.model._applyRedo(e.changes, e.afterEOL, e.afterVersionId, e.afterCursorState);
|
|
53180
53180
|
}
|
|
53181
53181
|
heapSize() {
|
|
53182
|
-
return this._data instanceof
|
|
53182
|
+
return this._data instanceof Nr && (this._data = this._data.serialize()), this._data.byteLength + 168;
|
|
53183
53183
|
}
|
|
53184
53184
|
}
|
|
53185
53185
|
class r8e {
|
|
@@ -54863,7 +54863,7 @@ class l_ extends ye {
|
|
|
54863
54863
|
for (let o = r; o <= s; o++) {
|
|
54864
54864
|
const a = this.getLineContent(o), l = o === r ? e.startColumn - 1 : 0, c = o === s ? e.endColumn - 1 : a.length;
|
|
54865
54865
|
for (let d = l; d < c; d++)
|
|
54866
|
-
|
|
54866
|
+
wr(a.charCodeAt(d)) ? (i = i + 1, d = d + 1) : i = i + 1;
|
|
54867
54867
|
}
|
|
54868
54868
|
return i += this._getEndOfLine(t).length * (s - r), i;
|
|
54869
54869
|
}
|
|
@@ -55255,7 +55255,7 @@ class A8e extends N8e {
|
|
|
55255
55255
|
const i = this.getStartState(e.lineNumber);
|
|
55256
55256
|
if (!i)
|
|
55257
55257
|
return 0;
|
|
55258
|
-
const r = this._textModel.getLanguageId(), s = this._textModel.getLineContent(e.lineNumber), o = s.substring(0, e.column - 1) + t + s.substring(e.column - 1), a = Nb(this._languageIdCodec, r, this.tokenizationSupport, o, !0, i), l = new
|
|
55258
|
+
const r = this._textModel.getLanguageId(), s = this._textModel.getLineContent(e.lineNumber), o = s.substring(0, e.column - 1) + t + s.substring(e.column - 1), a = Nb(this._languageIdCodec, r, this.tokenizationSupport, o, !0, i), l = new Sr(a.tokens, o, this._languageIdCodec);
|
|
55259
55259
|
if (l.getCount() === 0)
|
|
55260
55260
|
return 0;
|
|
55261
55261
|
const c = l.findTokenIndexAtOffset(e.column - 1);
|
|
@@ -55267,7 +55267,7 @@ class A8e extends N8e {
|
|
|
55267
55267
|
if (!o)
|
|
55268
55268
|
return null;
|
|
55269
55269
|
const a = this._textModel.getLineContent(r), l = a.substring(0, s - 1) + i + a.substring(s - 1 + t), c = this._textModel.getLanguageIdAtPosition(r, 0), d = Nb(this._languageIdCodec, c, this.tokenizationSupport, l, !0, o);
|
|
55270
|
-
return new
|
|
55270
|
+
return new Sr(d.tokens, l, this._languageIdCodec);
|
|
55271
55271
|
}
|
|
55272
55272
|
isCheapToTokenize(e) {
|
|
55273
55273
|
const t = this.store.getFirstInvalidEndStateLineNumberOrMax();
|
|
@@ -55420,7 +55420,7 @@ function Nb(n, e, t, i, r, s) {
|
|
|
55420
55420
|
} catch (a) {
|
|
55421
55421
|
xt(a);
|
|
55422
55422
|
}
|
|
55423
|
-
return o || (o = uT(n.encodeLanguageId(e), s)),
|
|
55423
|
+
return o || (o = uT(n.encodeLanguageId(e), s)), Sr.convertToEndOffset(o.tokens, i.length), o;
|
|
55424
55424
|
}
|
|
55425
55425
|
class k8e {
|
|
55426
55426
|
constructor(e, t) {
|
|
@@ -55489,7 +55489,7 @@ class ud {
|
|
|
55489
55489
|
const r = Xu(e), s = r.length >>> 1;
|
|
55490
55490
|
if (t === 0 && r[r.length - 2] === i)
|
|
55491
55491
|
return Ru;
|
|
55492
|
-
const o =
|
|
55492
|
+
const o = Sr.findIndexInTokensArray(r, t), a = o > 0 ? r[o - 1 << 1] : 0, l = r[o << 1];
|
|
55493
55493
|
if (i < l) {
|
|
55494
55494
|
const f = i - t;
|
|
55495
55495
|
for (let g = o; g < s; g++)
|
|
@@ -55529,7 +55529,7 @@ class ud {
|
|
|
55529
55529
|
if (e === null || e === Ru)
|
|
55530
55530
|
return e;
|
|
55531
55531
|
const r = Xu(e), s = r.length >>> 1;
|
|
55532
|
-
let o =
|
|
55532
|
+
let o = Sr.findIndexInTokensArray(r, t);
|
|
55533
55533
|
o > 0 && r[o - 1 << 1] === t && o--;
|
|
55534
55534
|
for (let a = o; a < s; a++)
|
|
55535
55535
|
r[a << 1] += i;
|
|
@@ -55552,9 +55552,9 @@ class bw {
|
|
|
55552
55552
|
getTokens(e, t, i) {
|
|
55553
55553
|
let r = null;
|
|
55554
55554
|
if (t < this._len && (r = this._lineTokens[t]), r !== null && r !== Ru)
|
|
55555
|
-
return new
|
|
55555
|
+
return new Sr(Xu(r), i, this._languageIdCodec);
|
|
55556
55556
|
const s = new Uint32Array(2);
|
|
55557
|
-
return s[0] = i.length, s[1] = AK(this._languageIdCodec.encodeLanguageId(e)), new
|
|
55557
|
+
return s[0] = i.length, s[1] = AK(this._languageIdCodec.encodeLanguageId(e)), new Sr(s, i, this._languageIdCodec);
|
|
55558
55558
|
}
|
|
55559
55559
|
static _massageTokens(e, t, i) {
|
|
55560
55560
|
const r = i ? Xu(i) : null;
|
|
@@ -55733,7 +55733,7 @@ class OH {
|
|
|
55733
55733
|
}
|
|
55734
55734
|
for (; l < o; )
|
|
55735
55735
|
h(t.getEndOffset(l), t.getMetadata(l)), l++;
|
|
55736
|
-
return new
|
|
55736
|
+
return new Sr(new Uint32Array(c), t.getLineContent(), this._languageIdCodec);
|
|
55737
55737
|
}
|
|
55738
55738
|
static _findFirstPieceWithLine(e, t) {
|
|
55739
55739
|
let i = 0, r = e.length - 1;
|
|
@@ -56603,7 +56603,7 @@ let iu = pp = class extends ye {
|
|
|
56603
56603
|
return !1;
|
|
56604
56604
|
if (i === 1) {
|
|
56605
56605
|
const o = this._buffer.getLineCharCode(e, t - 2);
|
|
56606
|
-
if (
|
|
56606
|
+
if (wr(o))
|
|
56607
56607
|
return !1;
|
|
56608
56608
|
}
|
|
56609
56609
|
return !0;
|
|
@@ -56621,7 +56621,7 @@ let iu = pp = class extends ye {
|
|
|
56621
56621
|
return new me(r, a);
|
|
56622
56622
|
if (i === 1) {
|
|
56623
56623
|
const l = this._buffer.getLineCharCode(r, s - 2);
|
|
56624
|
-
if (
|
|
56624
|
+
if (wr(l))
|
|
56625
56625
|
return new me(r, s - 1);
|
|
56626
56626
|
}
|
|
56627
56627
|
return new me(r, s);
|
|
@@ -56644,7 +56644,7 @@ let iu = pp = class extends ye {
|
|
|
56644
56644
|
))
|
|
56645
56645
|
return !1;
|
|
56646
56646
|
if (t === 1) {
|
|
56647
|
-
const a = r > 1 ? this._buffer.getLineCharCode(i, r - 2) : 0, l = o > 1 && o <= this._buffer.getLineLength(s) ? this._buffer.getLineCharCode(s, o - 2) : 0, c =
|
|
56647
|
+
const a = r > 1 ? this._buffer.getLineCharCode(i, r - 2) : 0, l = o > 1 && o <= this._buffer.getLineLength(s) ? this._buffer.getLineCharCode(s, o - 2) : 0, c = wr(a), d = wr(l);
|
|
56648
56648
|
return !c && !d;
|
|
56649
56649
|
}
|
|
56650
56650
|
return !0;
|
|
@@ -56664,7 +56664,7 @@ let iu = pp = class extends ye {
|
|
|
56664
56664
|
/* StringOffsetValidationType.Relaxed */
|
|
56665
56665
|
), s = i.lineNumber, o = i.column, a = r.lineNumber, l = r.column;
|
|
56666
56666
|
{
|
|
56667
|
-
const c = o > 1 ? this._buffer.getLineCharCode(s, o - 2) : 0, d = l > 1 && l <= this._buffer.getLineLength(a) ? this._buffer.getLineCharCode(a, l - 2) : 0, u =
|
|
56667
|
+
const c = o > 1 ? this._buffer.getLineCharCode(s, o - 2) : 0, d = l > 1 && l <= this._buffer.getLineLength(a) ? this._buffer.getLineCharCode(a, l - 2) : 0, u = wr(c), h = wr(d);
|
|
56668
56668
|
return !u && !h ? new B(s, o, a, l) : s === a && o === l ? new B(s, o - 1, a, l - 1) : u && h ? new B(s, o - 1, a, l + 1) : u ? new B(s, o - 1, a, l) : new B(s, o, a, l + 1);
|
|
56669
56669
|
}
|
|
56670
56670
|
}
|
|
@@ -58594,8 +58594,8 @@ function zK(n, e, t) {
|
|
|
58594
58594
|
const l = r[o];
|
|
58595
58595
|
o > 0 && (i += "<br/>");
|
|
58596
58596
|
const c = t.tokenizeEncoded(l, !0, s);
|
|
58597
|
-
|
|
58598
|
-
const u = new
|
|
58597
|
+
Sr.convertToEndOffset(c.tokens, l.length);
|
|
58598
|
+
const u = new Sr(c.tokens, l, e).inflate();
|
|
58599
58599
|
let h = 0;
|
|
58600
58600
|
for (let f = 0, g = u.getCount(); f < g; f++) {
|
|
58601
58601
|
const p = u.getClassName(f), m = u.getEndOffset(f);
|
|
@@ -59583,7 +59583,7 @@ class Oje {
|
|
|
59583
59583
|
c ? h = e.tokenization.getLineTokens(t).withInserted(c.map((f, g) => ({
|
|
59584
59584
|
offset: f,
|
|
59585
59585
|
text: d[g].content,
|
|
59586
|
-
tokenMetadata:
|
|
59586
|
+
tokenMetadata: Sr.defaultTokenMetadata
|
|
59587
59587
|
}))) : h = e.tokenization.getLineTokens(t);
|
|
59588
59588
|
for (let f = i; f < i + r; f++) {
|
|
59589
59589
|
const g = s + f - i;
|
|
@@ -61356,7 +61356,7 @@ function Qje(n, e, t, i, r, s, o, a) {
|
|
|
61356
61356
|
for (let F = I; F < l; F++) {
|
|
61357
61357
|
const j = F, W = t.charCodeAt(F);
|
|
61358
61358
|
let R, N;
|
|
61359
|
-
if (
|
|
61359
|
+
if (wr(W) ? (F++, R = 0, N = 2) : (R = n.get(W), N = ty(W, T, i, s)), j > _ && Q8(k, O, W, R, c) && (x = j, L = T), T += N, T > w) {
|
|
61360
61360
|
j > _ ? (A = j, E = T - N) : (A = F + 1, E = T), T - L > f && (x = 0), q = !1;
|
|
61361
61361
|
break;
|
|
61362
61362
|
}
|
|
@@ -61391,7 +61391,7 @@ function Qje(n, e, t, i, r, s, o, a) {
|
|
|
61391
61391
|
if (F <= i) {
|
|
61392
61392
|
const j = t.charCodeAt(A);
|
|
61393
61393
|
let W;
|
|
61394
|
-
|
|
61394
|
+
wr(j) ? W = 2 : W = ty(j, E, i, s), F - W < 0 && (x = 0);
|
|
61395
61395
|
}
|
|
61396
61396
|
}
|
|
61397
61397
|
if (q) {
|
|
@@ -61401,7 +61401,7 @@ function Qje(n, e, t, i, r, s, o, a) {
|
|
|
61401
61401
|
}
|
|
61402
61402
|
if (x === 0 && (x = A, L = E), x <= _) {
|
|
61403
61403
|
const T = t.charCodeAt(_);
|
|
61404
|
-
|
|
61404
|
+
wr(T) ? (x = _ + 2, L = b + 2) : (x = _ + 1, L = b + ty(T, b, i, s));
|
|
61405
61405
|
}
|
|
61406
61406
|
for (_ = x, g[m] = x, b = L, p[m] = L, m++, w = L + f; S < 0 || S < y && u[S] < L; )
|
|
61407
61407
|
S++;
|
|
@@ -61425,11 +61425,11 @@ function qje(n, e, t, i, r, s, o, a) {
|
|
|
61425
61425
|
return c ? new ey(d, c, [l.length], [], 0) : null;
|
|
61426
61426
|
const h = a === "keepAll", f = Xhe(l, i, r, s, o), g = r - f, p = [], m = [];
|
|
61427
61427
|
let _ = 0, b = 0, w = 0, y = r, S = l.charCodeAt(0), I = n.get(S), D = ty(S, 0, i, s), x = 1;
|
|
61428
|
-
|
|
61428
|
+
wr(S) && (D += 1, S = l.charCodeAt(1), I = n.get(S), x++);
|
|
61429
61429
|
for (let L = x; L < u; L++) {
|
|
61430
61430
|
const A = L, E = l.charCodeAt(L);
|
|
61431
61431
|
let M, T;
|
|
61432
|
-
|
|
61432
|
+
wr(E) ? (L++, M = 0, T = 2) : (M = n.get(E), T = ty(E, D, i, s)), Q8(S, I, E, M, h) && (b = A, w = D), D += T, D > y && ((b === 0 || D - w > g) && (b = A, w = D - T), p[_] = b, m[_] = w, _++, y = w + g, b = 0), S = E, I = M;
|
|
61433
61433
|
}
|
|
61434
61434
|
return _ === 0 && (!t || t.length === 0) ? null : (p[_] = u, m[_] = D, new ey(d, c, p, m, f));
|
|
61435
61435
|
}
|
|
@@ -62645,7 +62645,7 @@ q_ = mp = $je([
|
|
|
62645
62645
|
wu(4, vi),
|
|
62646
62646
|
wu(5, On),
|
|
62647
62647
|
wu(6, yt),
|
|
62648
|
-
wu(7,
|
|
62648
|
+
wu(7, Ir),
|
|
62649
62649
|
wu(8, $n),
|
|
62650
62650
|
wu(9, Ph),
|
|
62651
62651
|
wu(10, Bi),
|
|
@@ -62900,7 +62900,7 @@ let K8 = class extends ye {
|
|
|
62900
62900
|
}
|
|
62901
62901
|
};
|
|
62902
62902
|
K8 = hFe([
|
|
62903
|
-
fFe(0,
|
|
62903
|
+
fFe(0, Ir)
|
|
62904
62904
|
], K8);
|
|
62905
62905
|
var pFe = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
62906
62906
|
var r = arguments.length, s = r < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i, o;
|
|
@@ -62999,7 +62999,7 @@ let Px = class extends K8 {
|
|
|
62999
62999
|
};
|
|
63000
63000
|
Px = pFe([
|
|
63001
63001
|
ZK(0, yt),
|
|
63002
|
-
ZK(1,
|
|
63002
|
+
ZK(1, Ir)
|
|
63003
63003
|
], Px);
|
|
63004
63004
|
ri(
|
|
63005
63005
|
vi,
|
|
@@ -64275,7 +64275,7 @@ let $8 = class {
|
|
|
64275
64275
|
}
|
|
64276
64276
|
};
|
|
64277
64277
|
$8 = DFe([
|
|
64278
|
-
Gk(1,
|
|
64278
|
+
Gk(1, Ir),
|
|
64279
64279
|
Gk(2, rn),
|
|
64280
64280
|
Gk(3, Na)
|
|
64281
64281
|
], $8);
|
|
@@ -64397,7 +64397,7 @@ let ej = class extends ye {
|
|
|
64397
64397
|
}
|
|
64398
64398
|
};
|
|
64399
64399
|
ej = LFe([
|
|
64400
|
-
Qk(0,
|
|
64400
|
+
Qk(0, Ir),
|
|
64401
64401
|
Qk(1, Na),
|
|
64402
64402
|
Qk(2, rn)
|
|
64403
64403
|
], ej);
|
|
@@ -72028,7 +72028,7 @@ class $_ extends mc {
|
|
|
72028
72028
|
super.render(e), this.element && (this.label = Te(this.element, Pe("a.action-label"))), this.label && this.label.setAttribute("role", this.getDefaultAriaRole()), this.options.label && this.options.keybinding && this.element && (Te(this.element, Pe("span.keybinding")).textContent = this.options.keybinding), this.updateClass(), this.updateLabel(), this.updateTooltip(), this.updateEnabled(), this.updateChecked();
|
|
72029
72029
|
}
|
|
72030
72030
|
getDefaultAriaRole() {
|
|
72031
|
-
return this._action.id ===
|
|
72031
|
+
return this._action.id === Pr.ID ? "presentation" : this.options.isMenu ? "menuitem" : "button";
|
|
72032
72032
|
}
|
|
72033
72033
|
// Only set the tabIndex on the element once it is about to get focused
|
|
72034
72034
|
// That way this element wont be a tab stop when it is not needed #106441
|
|
@@ -72663,7 +72663,7 @@ function Bfe(n, e, t, i = (o) => o === "navigation", r = () => !1, s = !1) {
|
|
|
72663
72663
|
const l = /* @__PURE__ */ new Set();
|
|
72664
72664
|
for (const [c, d] of n) {
|
|
72665
72665
|
let u;
|
|
72666
|
-
i(c) ? (u = o, u.length > 0 && s && u.push(new
|
|
72666
|
+
i(c) ? (u = o, u.length > 0 && s && u.push(new Pr())) : (u = a, u.length > 0 && u.push(new Pr()));
|
|
72667
72667
|
for (let h of d) {
|
|
72668
72668
|
t && (h = h instanceof zl && h.alt ? h.alt : h);
|
|
72669
72669
|
const f = u.push(h);
|
|
@@ -72753,7 +72753,7 @@ Lm = PT([
|
|
|
72753
72753
|
mo(2, Oi),
|
|
72754
72754
|
mo(3, $n),
|
|
72755
72755
|
mo(4, yt),
|
|
72756
|
-
mo(5,
|
|
72756
|
+
mo(5, Ir),
|
|
72757
72757
|
mo(6, ql),
|
|
72758
72758
|
mo(7, Ph)
|
|
72759
72759
|
], Lm);
|
|
@@ -72780,7 +72780,7 @@ let wj = class extends Gx {
|
|
|
72780
72780
|
wj = PT([
|
|
72781
72781
|
mo(2, Oi),
|
|
72782
72782
|
mo(3, ql),
|
|
72783
|
-
mo(4,
|
|
72783
|
+
mo(4, Ir)
|
|
72784
72784
|
], wj);
|
|
72785
72785
|
let Sj = class extends mc {
|
|
72786
72786
|
constructor(e, t, i, r, s, o, a, l) {
|
|
@@ -72870,7 +72870,7 @@ Sj = PT([
|
|
|
72870
72870
|
let Dj = class extends Xze {
|
|
72871
72871
|
constructor(e, t) {
|
|
72872
72872
|
super(null, e, e.actions.map((i) => ({
|
|
72873
|
-
text: i.id ===
|
|
72873
|
+
text: i.id === Pr.ID ? "─────────" : i.label,
|
|
72874
72874
|
isDisabled: !i.enabled
|
|
72875
72875
|
})), 0, t, lWe, { ariaLabel: e.tooltip, optionsAsChildren: !0 }), this.select(Math.max(0, e.actions.findIndex((i) => i.checked)));
|
|
72876
72876
|
}
|
|
@@ -73084,7 +73084,7 @@ class ll extends ye {
|
|
|
73084
73084
|
if (!e && this.options.preventLoopNavigation && this.focusedItem + 1 >= this.viewItems.length)
|
|
73085
73085
|
return this.focusedItem = t, !1;
|
|
73086
73086
|
this.focusedItem = (this.focusedItem + 1) % this.viewItems.length, i = this.viewItems[this.focusedItem];
|
|
73087
|
-
} while (this.focusedItem !== t && (this.options.focusOnlyEnabledItems && !i.isEnabled() || i.action.id ===
|
|
73087
|
+
} while (this.focusedItem !== t && (this.options.focusOnlyEnabledItems && !i.isEnabled() || i.action.id === Pr.ID));
|
|
73088
73088
|
return this.updateFocus(), !0;
|
|
73089
73089
|
}
|
|
73090
73090
|
focusPrevious(e) {
|
|
@@ -73101,7 +73101,7 @@ class ll extends ye {
|
|
|
73101
73101
|
this.focusedItem = this.viewItems.length - 1;
|
|
73102
73102
|
}
|
|
73103
73103
|
i = this.viewItems[this.focusedItem];
|
|
73104
|
-
} while (this.focusedItem !== t && (this.options.focusOnlyEnabledItems && !i.isEnabled() || i.action.id ===
|
|
73104
|
+
} while (this.focusedItem !== t && (this.options.focusOnlyEnabledItems && !i.isEnabled() || i.action.id === Pr.ID));
|
|
73105
73105
|
return this.updateFocus(!0), !0;
|
|
73106
73106
|
}
|
|
73107
73107
|
updateFocus(e, t, i = !1) {
|
|
@@ -73110,7 +73110,7 @@ class ll extends ye {
|
|
|
73110
73110
|
const s = this.focusedItem !== void 0 && this.viewItems[this.focusedItem];
|
|
73111
73111
|
if (s) {
|
|
73112
73112
|
let o = !0;
|
|
73113
|
-
Fy(s.focus) || (o = !1), this.options.focusOnlyEnabledItems && Fy(s.isEnabled) && !s.isEnabled() && (o = !1), s.action.id ===
|
|
73113
|
+
Fy(s.focus) || (o = !1), this.options.focusOnlyEnabledItems && Fy(s.isEnabled) && !s.isEnabled() && (o = !1), s.action.id === Pr.ID && (o = !1), o ? (i || this.previouslyFocusedItem !== this.focusedItem) && (s.focus(e), this.previouslyFocusedItem = this.focusedItem) : (this.actionsList.focus({ preventScroll: t }), this.previouslyFocusedItem = void 0);
|
|
73114
73114
|
}
|
|
73115
73115
|
}
|
|
73116
73116
|
doTrigger(e) {
|
|
@@ -73264,7 +73264,7 @@ class f_ extends ll {
|
|
|
73264
73264
|
});
|
|
73265
73265
|
}
|
|
73266
73266
|
doGetActionViewItem(e, t, i) {
|
|
73267
|
-
if (e instanceof
|
|
73267
|
+
if (e instanceof Pr)
|
|
73268
73268
|
return new xZ(t.context, e, { icon: !0 }, this.menuStyles);
|
|
73269
73269
|
if (e instanceof P_) {
|
|
73270
73270
|
const r = new MZ(e, e.actions, i, Object.assign(Object.assign({}, t), { submenuIds: /* @__PURE__ */ new Set([...t.submenuIds || [], e.id]) }), this.menuStyles);
|
|
@@ -73322,7 +73322,7 @@ class zfe extends mc {
|
|
|
73322
73322
|
}, 100), this._register(this.runOnceToEnableMouseUp);
|
|
73323
73323
|
}
|
|
73324
73324
|
render(e) {
|
|
73325
|
-
super.render(e), this.element && (this.container = e, this.item = Te(this.element, Pe("a.action-menu-item")), this._action.id ===
|
|
73325
|
+
super.render(e), this.element && (this.container = e, this.item = Te(this.element, Pe("a.action-menu-item")), this._action.id === Pr.ID ? this.item.setAttribute("role", "presentation") : (this.item.setAttribute("role", "menuitem"), this.mnemonic && this.item.setAttribute("aria-keyshortcuts", `${this.mnemonic}`)), this.check = Te(this.item, Pe("span.menu-item-check" + ft.asCSSSelector(ze.menuSelection))), this.check.setAttribute("role", "none"), this.label = Te(this.item, Pe("span.action-label")), this.options.label && this.options.keybinding && (Te(this.item, Pe("span.keybinding")).textContent = this.options.keybinding), this.runOnceToEnableMouseUp.schedule(), this.updateClass(), this.updateLabel(), this.updateTooltip(), this.updateEnabled(), this.updateChecked(), this.applyStyle());
|
|
73326
73326
|
}
|
|
73327
73327
|
blur() {
|
|
73328
73328
|
super.blur(), this.applyStyle();
|
|
@@ -73994,7 +73994,7 @@ var Mj;
|
|
|
73994
73994
|
const d = r.createMenu(o, l ?? s);
|
|
73995
73995
|
dWe(d, a, c), d.dispose();
|
|
73996
73996
|
}
|
|
73997
|
-
return i.getActions ?
|
|
73997
|
+
return i.getActions ? Pr.join(i.getActions(), c) : c;
|
|
73998
73998
|
} });
|
|
73999
73999
|
}
|
|
74000
74000
|
n.transform = t;
|
|
@@ -79700,10 +79700,10 @@ class GHe {
|
|
|
79700
79700
|
return sD.ID;
|
|
79701
79701
|
}
|
|
79702
79702
|
}
|
|
79703
|
-
var
|
|
79703
|
+
var Tr;
|
|
79704
79704
|
(function(n) {
|
|
79705
79705
|
n[n.First = 1] = "First", n[n.Second = 2] = "Second", n[n.Last = 3] = "Last", n[n.Next = 4] = "Next", n[n.Previous = 5] = "Previous", n[n.NextPage = 6] = "NextPage", n[n.PreviousPage = 7] = "PreviousPage";
|
|
79706
|
-
})(
|
|
79706
|
+
})(Tr || (Tr = {}));
|
|
79707
79707
|
class LV {
|
|
79708
79708
|
constructor(e, t, i, r) {
|
|
79709
79709
|
this.parent = e, this.options = i, this.inputElements = [], this.elements = [], this.elementsToIndexes = /* @__PURE__ */ new Map(), this.matchOnDescription = !1, this.matchOnDetail = !1, this.matchOnLabel = !0, this.matchOnLabelMode = "fuzzy", this.sortByLabel = !0, this._onChangedAllVisibleChecked = new fe(), this.onChangedAllVisibleChecked = this._onChangedAllVisibleChecked.event, this._onChangedCheckedCount = new fe(), this.onChangedCheckedCount = this._onChangedCheckedCount.event, this._onChangedVisibleCount = new fe(), this.onChangedVisibleCount = this._onChangedVisibleCount.event, this._onChangedCheckedElements = new fe(), this.onChangedCheckedElements = this._onChangedCheckedElements.event, this._onButtonTriggered = new fe(), this.onButtonTriggered = this._onButtonTriggered.event, this._onSeparatorButtonTriggered = new fe(), this.onSeparatorButtonTriggered = this._onSeparatorButtonTriggered.event, this._onKeyDown = new fe(), this.onKeyDown = this._onKeyDown.event, this._onLeave = new fe(), this.onLeave = this._onLeave.event, this._listElementChecked = new fe(), this._fireCheckedEvents = !0, this.elementDisposables = [], this.disposables = [], this.id = t, this.container = Te(this.parent, sc(".quick-input-list"));
|
|
@@ -79881,32 +79881,32 @@ class LV {
|
|
|
79881
79881
|
focus(e) {
|
|
79882
79882
|
if (!this.list.length)
|
|
79883
79883
|
return;
|
|
79884
|
-
switch (e ===
|
|
79885
|
-
case
|
|
79884
|
+
switch (e === Tr.Second && this.list.length < 2 && (e = Tr.First), e) {
|
|
79885
|
+
case Tr.First:
|
|
79886
79886
|
this.list.scrollTop = 0, this.list.focusFirst(void 0, (i) => !!i.item);
|
|
79887
79887
|
break;
|
|
79888
|
-
case
|
|
79888
|
+
case Tr.Second:
|
|
79889
79889
|
this.list.scrollTop = 0, this.list.focusNth(1, void 0, (i) => !!i.item);
|
|
79890
79890
|
break;
|
|
79891
|
-
case
|
|
79891
|
+
case Tr.Last:
|
|
79892
79892
|
this.list.scrollTop = this.list.scrollHeight, this.list.focusLast(void 0, (i) => !!i.item);
|
|
79893
79893
|
break;
|
|
79894
|
-
case
|
|
79894
|
+
case Tr.Next: {
|
|
79895
79895
|
this.list.focusNext(void 0, !0, void 0, (r) => !!r.item);
|
|
79896
79896
|
const i = this.list.getFocus()[0];
|
|
79897
79897
|
i !== 0 && !this.elements[i - 1].item && this.list.firstVisibleIndex > i - 1 && this.list.reveal(i - 1);
|
|
79898
79898
|
break;
|
|
79899
79899
|
}
|
|
79900
|
-
case
|
|
79900
|
+
case Tr.Previous: {
|
|
79901
79901
|
this.list.focusPrevious(void 0, !0, void 0, (r) => !!r.item);
|
|
79902
79902
|
const i = this.list.getFocus()[0];
|
|
79903
79903
|
i !== 0 && !this.elements[i - 1].item && this.list.firstVisibleIndex > i - 1 && this.list.reveal(i - 1);
|
|
79904
79904
|
break;
|
|
79905
79905
|
}
|
|
79906
|
-
case
|
|
79906
|
+
case Tr.NextPage:
|
|
79907
79907
|
this.list.focusNextPage(void 0, (i) => !!i.item);
|
|
79908
79908
|
break;
|
|
79909
|
-
case
|
|
79909
|
+
case Tr.PreviousPage:
|
|
79910
79910
|
this.list.focusPreviousPage(void 0, (i) => !!i.item);
|
|
79911
79911
|
break;
|
|
79912
79912
|
}
|
|
@@ -80405,7 +80405,7 @@ class kw extends oD {
|
|
|
80405
80405
|
this._hideInput = e, this.update();
|
|
80406
80406
|
}
|
|
80407
80407
|
trySelectFirst() {
|
|
80408
|
-
this.autoFocusOnList && (this.canSelectMany || this.ui.list.focus(
|
|
80408
|
+
this.autoFocusOnList && (this.canSelectMany || this.ui.list.focus(Tr.First));
|
|
80409
80409
|
}
|
|
80410
80410
|
show() {
|
|
80411
80411
|
this.visible || (this.visibleDisposables.add(this.ui.inputBox.onDidChange((e) => {
|
|
@@ -80419,16 +80419,16 @@ class kw extends oD {
|
|
|
80419
80419
|
})), this.visibleDisposables.add((this._hideInput ? this.ui.list : this.ui.inputBox).onKeyDown((e) => {
|
|
80420
80420
|
switch (e.keyCode) {
|
|
80421
80421
|
case 18:
|
|
80422
|
-
this.ui.list.focus(
|
|
80422
|
+
this.ui.list.focus(Tr.Next), this.canSelectMany && this.ui.list.domFocus(), Tt.stop(e, !0);
|
|
80423
80423
|
break;
|
|
80424
80424
|
case 16:
|
|
80425
|
-
this.ui.list.getFocusedElements().length ? this.ui.list.focus(
|
|
80425
|
+
this.ui.list.getFocusedElements().length ? this.ui.list.focus(Tr.Previous) : this.ui.list.focus(Tr.Last), this.canSelectMany && this.ui.list.domFocus(), Tt.stop(e, !0);
|
|
80426
80426
|
break;
|
|
80427
80427
|
case 12:
|
|
80428
|
-
this.ui.list.focus(
|
|
80428
|
+
this.ui.list.focus(Tr.NextPage), this.canSelectMany && this.ui.list.domFocus(), Tt.stop(e, !0);
|
|
80429
80429
|
break;
|
|
80430
80430
|
case 11:
|
|
80431
|
-
this.ui.list.focus(
|
|
80431
|
+
this.ui.list.focus(Tr.PreviousPage), this.canSelectMany && this.ui.list.domFocus(), Tt.stop(e, !0);
|
|
80432
80432
|
break;
|
|
80433
80433
|
case 17:
|
|
80434
80434
|
if (!this._canAcceptInBackground || !this.ui.inputBox.isSelectionAtEnd())
|
|
@@ -80436,10 +80436,10 @@ class kw extends oD {
|
|
|
80436
80436
|
this.activeItems[0] && (this._selectedItems = [this.activeItems[0]], this.onDidChangeSelectionEmitter.fire(this.selectedItems), this.handleAccept(!0));
|
|
80437
80437
|
break;
|
|
80438
80438
|
case 14:
|
|
80439
|
-
(e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey && (this.ui.list.focus(
|
|
80439
|
+
(e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey && (this.ui.list.focus(Tr.First), Tt.stop(e, !0));
|
|
80440
80440
|
break;
|
|
80441
80441
|
case 13:
|
|
80442
|
-
(e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey && (this.ui.list.focus(
|
|
80442
|
+
(e.ctrlKey || e.metaKey) && !e.shiftKey && !e.altKey && (this.ui.list.focus(Tr.Last), Tt.stop(e, !0));
|
|
80443
80443
|
break;
|
|
80444
80444
|
}
|
|
80445
80445
|
})), this.visibleDisposables.add(this.ui.onDidAccept(() => {
|
|
@@ -80501,16 +80501,16 @@ class kw extends oD {
|
|
|
80501
80501
|
this._itemActivation = uc.FIRST;
|
|
80502
80502
|
break;
|
|
80503
80503
|
case uc.SECOND:
|
|
80504
|
-
this.ui.list.focus(
|
|
80504
|
+
this.ui.list.focus(Tr.Second), this._itemActivation = uc.FIRST;
|
|
80505
80505
|
break;
|
|
80506
80506
|
case uc.LAST:
|
|
80507
|
-
this.ui.list.focus(
|
|
80507
|
+
this.ui.list.focus(Tr.Last), this._itemActivation = uc.FIRST;
|
|
80508
80508
|
break;
|
|
80509
80509
|
default:
|
|
80510
80510
|
this.trySelectFirst();
|
|
80511
80511
|
break;
|
|
80512
80512
|
}
|
|
80513
|
-
this.ui.container.classList.contains("show-checkboxes") !== !!this.canSelectMany && (this.canSelectMany ? this.ui.list.clearFocus() : this.trySelectFirst()), this.activeItemsUpdated && (this.activeItemsUpdated = !1, this.activeItemsToConfirm = this._activeItems, this.ui.list.setFocusedElements(this.activeItems), this.activeItemsToConfirm === this._activeItems && (this.activeItemsToConfirm = null)), this.selectedItemsUpdated && (this.selectedItemsUpdated = !1, this.selectedItemsToConfirm = this._selectedItems, this.canSelectMany ? this.ui.list.setCheckedElements(this.selectedItems) : this.ui.list.setSelectedElements(this.selectedItems), this.selectedItemsToConfirm === this._selectedItems && (this.selectedItemsToConfirm = null)), this.ui.customButton.label = this.customLabel || "", this.ui.customButton.element.title = this.customHover || "", i.inputBox || (this.ui.list.domFocus(), this.canSelectMany && this.ui.list.focus(
|
|
80513
|
+
this.ui.container.classList.contains("show-checkboxes") !== !!this.canSelectMany && (this.canSelectMany ? this.ui.list.clearFocus() : this.trySelectFirst()), this.activeItemsUpdated && (this.activeItemsUpdated = !1, this.activeItemsToConfirm = this._activeItems, this.ui.list.setFocusedElements(this.activeItems), this.activeItemsToConfirm === this._activeItems && (this.activeItemsToConfirm = null)), this.selectedItemsUpdated && (this.selectedItemsUpdated = !1, this.selectedItemsToConfirm = this._selectedItems, this.canSelectMany ? this.ui.list.setCheckedElements(this.selectedItems) : this.ui.list.setSelectedElements(this.selectedItems), this.selectedItemsToConfirm === this._selectedItems && (this.selectedItemsToConfirm = null)), this.ui.customButton.label = this.customLabel || "", this.ui.customButton.element.title = this.customHover || "", i.inputBox || (this.ui.list.domFocus(), this.canSelectMany && this.ui.list.focus(Tr.First)), this.keepScrollPosition && (this.scrollTop = e);
|
|
80514
80514
|
}
|
|
80515
80515
|
}
|
|
80516
80516
|
kw.DEFAULT_ARIA_LABEL = C("quickInputBox.ariaLabel", "Type to narrow down results.");
|
|
@@ -80928,7 +80928,7 @@ let Vj = class extends A6e {
|
|
|
80928
80928
|
Vj = XHe([
|
|
80929
80929
|
FI(0, bt),
|
|
80930
80930
|
FI(1, yt),
|
|
80931
|
-
FI(2,
|
|
80931
|
+
FI(2, Ir),
|
|
80932
80932
|
FI(3, P1)
|
|
80933
80933
|
], Vj);
|
|
80934
80934
|
var uge = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
@@ -80977,7 +80977,7 @@ let Uj = class extends Vj {
|
|
|
80977
80977
|
Uj = uge([
|
|
80978
80978
|
Ov(1, bt),
|
|
80979
80979
|
Ov(2, yt),
|
|
80980
|
-
Ov(3,
|
|
80980
|
+
Ov(3, Ir),
|
|
80981
80981
|
Ov(4, vi)
|
|
80982
80982
|
], Uj);
|
|
80983
80983
|
let Yj = class {
|
|
@@ -81273,7 +81273,7 @@ const aVe = {
|
|
|
81273
81273
|
{ token: "predefined.sql", foreground: "C700C7" }
|
|
81274
81274
|
],
|
|
81275
81275
|
colors: {
|
|
81276
|
-
[
|
|
81276
|
+
[Dr]: "#FFFFFE",
|
|
81277
81277
|
[Ll]: "#000000",
|
|
81278
81278
|
[Gue]: "#E5EBF1",
|
|
81279
81279
|
[qS]: "#D3D3D3",
|
|
@@ -81331,7 +81331,7 @@ const aVe = {
|
|
|
81331
81331
|
{ token: "predefined.sql", foreground: "FF00FF" }
|
|
81332
81332
|
],
|
|
81333
81333
|
colors: {
|
|
81334
|
-
[
|
|
81334
|
+
[Dr]: "#1E1E1E",
|
|
81335
81335
|
[Ll]: "#D4D4D4",
|
|
81336
81336
|
[Gue]: "#3A3D41",
|
|
81337
81337
|
[qS]: "#404040",
|
|
@@ -81380,7 +81380,7 @@ const aVe = {
|
|
|
81380
81380
|
{ token: "predefined.sql", foreground: "FF00FF" }
|
|
81381
81381
|
],
|
|
81382
81382
|
colors: {
|
|
81383
|
-
[
|
|
81383
|
+
[Dr]: "#000000",
|
|
81384
81384
|
[Ll]: "#FFFFFF",
|
|
81385
81385
|
[qS]: "#FFFFFF",
|
|
81386
81386
|
[KS]: "#FFFFFF"
|
|
@@ -81427,7 +81427,7 @@ const aVe = {
|
|
|
81427
81427
|
{ token: "predefined.sql", foreground: "C700C7" }
|
|
81428
81428
|
],
|
|
81429
81429
|
colors: {
|
|
81430
|
-
[
|
|
81430
|
+
[Dr]: "#FFFFFF",
|
|
81431
81431
|
[Ll]: "#292929",
|
|
81432
81432
|
[qS]: "#292929",
|
|
81433
81433
|
[KS]: "#292929"
|
|
@@ -82000,7 +82000,7 @@ let Kj = sf = class {
|
|
|
82000
82000
|
if (l)
|
|
82001
82001
|
o.push(new zl(a.command, a.alt, e, c, this._contextKeyService, this._commandService));
|
|
82002
82002
|
else {
|
|
82003
|
-
const d = new sf(a.submenu, this._hiddenStates, this._collectContextKeysForSubmenus, this._commandService, this._contextKeyService).createActionGroups(e), u =
|
|
82003
|
+
const d = new sf(a.submenu, this._hiddenStates, this._collectContextKeysForSubmenus, this._commandService, this._contextKeyService).createActionGroups(e), u = Pr.join(...d.map((h) => h[1]));
|
|
82004
82004
|
u.length > 0 && o.push(new Qy(a, c, u));
|
|
82005
82005
|
}
|
|
82006
82006
|
}
|
|
@@ -84994,7 +84994,7 @@ let cF = class extends ye {
|
|
|
84994
84994
|
const o = e.getLineContent(r), a = t.get(
|
|
84995
84995
|
50
|
|
84996
84996
|
/* EditorOption.fontInfo */
|
|
84997
|
-
), l =
|
|
84997
|
+
), l = Sr.createEmpty(o, s), c = Sa.isBasicASCII(o, e.mightContainNonBasicASCII()), d = Sa.containsRTL(o, c, e.mightContainRTL());
|
|
84998
84998
|
return hT(new Bg(a.isMonospace && !t.get(
|
|
84999
84999
|
33
|
|
85000
85000
|
/* EditorOption.disableMonospaceOptimizations */
|
|
@@ -86665,7 +86665,7 @@ let Ch = ac = class extends ye {
|
|
|
86665
86665
|
Ch.ONE_OVERVIEW_WIDTH = 15;
|
|
86666
86666
|
Ch.ENTIRE_DIFF_OVERVIEW_WIDTH = ac.ONE_OVERVIEW_WIDTH * 2;
|
|
86667
86667
|
Ch = ac = HUe([
|
|
86668
|
-
VUe(7,
|
|
86668
|
+
VUe(7, Ir)
|
|
86669
86669
|
], Ch);
|
|
86670
86670
|
te("diffEditor.move.border", { dark: "#8b8b8b9c", light: "#8b8b8b9c", hcDark: "#8b8b8b9c", hcLight: "#8b8b8b9c" }, C("diffEditor.move.border", "The border color for text that got moved in the diff editor."));
|
|
86671
86671
|
te("diffEditor.moveActive.border", { dark: "#FFA500", light: "#FFA500", hcDark: "#FFA500", hcLight: "#FFA500" }, C("diffEditor.moveActive.border", "The active border color for text that got moved in the diff editor."));
|
|
@@ -87299,7 +87299,7 @@ _N = jV([
|
|
|
87299
87299
|
tn(4, On),
|
|
87300
87300
|
tn(5, yt),
|
|
87301
87301
|
tn(6, Oi),
|
|
87302
|
-
tn(7,
|
|
87302
|
+
tn(7, Ir),
|
|
87303
87303
|
tn(8, $n),
|
|
87304
87304
|
tn(9, Ph),
|
|
87305
87305
|
tn(10, Bi),
|
|
@@ -88736,7 +88736,7 @@ var Tp = globalThis && globalThis.__assign || function() {
|
|
|
88736
88736
|
}, Tp.apply(this, arguments);
|
|
88737
88737
|
};
|
|
88738
88738
|
function HV(n) {
|
|
88739
|
-
var e = n.width, t = n.height, i = n.value, r = n.defaultValue, s = n.language, o = n.theme, a = n.options, l = n.overrideServices, c = n.editorWillMount, d = n.editorDidMount, u = n.editorWillUnmount, h = n.onChange, f = n.className, g = n.original, p = n.originalUri, m = n.modifiedUri, _ = qt(null), b = qt(null), w = qt(null), y = qt(null), S = bN(e), I = bN(t), D =
|
|
88739
|
+
var e = n.width, t = n.height, i = n.value, r = n.defaultValue, s = n.language, o = n.theme, a = n.options, l = n.overrideServices, c = n.editorWillMount, d = n.editorDidMount, u = n.editorWillUnmount, h = n.onChange, f = n.className, g = n.original, p = n.originalUri, m = n.modifiedUri, _ = qt(null), b = qt(null), w = qt(null), y = qt(null), S = bN(e), I = bN(t), D = br(function() {
|
|
88740
88740
|
return {
|
|
88741
88741
|
width: S,
|
|
88742
88742
|
height: I
|
|
@@ -88842,7 +88842,7 @@ var Fu = globalThis && globalThis.__assign || function() {
|
|
|
88842
88842
|
return t;
|
|
88843
88843
|
};
|
|
88844
88844
|
function VV(n) {
|
|
88845
|
-
var e = n.width, t = n.height, i = n.value, r = n.defaultValue, s = n.language, o = n.theme, a = n.options, l = n.overrideServices, c = n.editorWillMount, d = n.editorDidMount, u = n.editorWillUnmount, h = n.onChange, f = n.className, g = n.uri, p = qt(null), m = qt(null), _ = qt(null), b = qt(null), w = bN(e), y = bN(t), S =
|
|
88845
|
+
var e = n.width, t = n.height, i = n.value, r = n.defaultValue, s = n.language, o = n.theme, a = n.options, l = n.overrideServices, c = n.editorWillMount, d = n.editorDidMount, u = n.editorWillUnmount, h = n.onChange, f = n.className, g = n.uri, p = qt(null), m = qt(null), _ = qt(null), b = qt(null), w = bN(e), y = bN(t), S = br(function() {
|
|
88846
88846
|
return {
|
|
88847
88847
|
width: w,
|
|
88848
88848
|
height: y
|
|
@@ -90074,37 +90074,37 @@ ht({
|
|
|
90074
90074
|
id: "freemarker2",
|
|
90075
90075
|
extensions: [".ftl", ".ftlh", ".ftlx"],
|
|
90076
90076
|
aliases: ["FreeMarker2", "Apache FreeMarker2"],
|
|
90077
|
-
loader: () => import("./freemarker2-
|
|
90077
|
+
loader: () => import("./freemarker2-54dda21c.js").then((n) => n.TagAutoInterpolationDollar)
|
|
90078
90078
|
});
|
|
90079
90079
|
ht({
|
|
90080
90080
|
id: "freemarker2.tag-angle.interpolation-dollar",
|
|
90081
90081
|
aliases: ["FreeMarker2 (Angle/Dollar)", "Apache FreeMarker2 (Angle/Dollar)"],
|
|
90082
|
-
loader: () => import("./freemarker2-
|
|
90082
|
+
loader: () => import("./freemarker2-54dda21c.js").then((n) => n.TagAngleInterpolationDollar)
|
|
90083
90083
|
});
|
|
90084
90084
|
ht({
|
|
90085
90085
|
id: "freemarker2.tag-bracket.interpolation-dollar",
|
|
90086
90086
|
aliases: ["FreeMarker2 (Bracket/Dollar)", "Apache FreeMarker2 (Bracket/Dollar)"],
|
|
90087
|
-
loader: () => import("./freemarker2-
|
|
90087
|
+
loader: () => import("./freemarker2-54dda21c.js").then((n) => n.TagBracketInterpolationDollar)
|
|
90088
90088
|
});
|
|
90089
90089
|
ht({
|
|
90090
90090
|
id: "freemarker2.tag-angle.interpolation-bracket",
|
|
90091
90091
|
aliases: ["FreeMarker2 (Angle/Bracket)", "Apache FreeMarker2 (Angle/Bracket)"],
|
|
90092
|
-
loader: () => import("./freemarker2-
|
|
90092
|
+
loader: () => import("./freemarker2-54dda21c.js").then((n) => n.TagAngleInterpolationBracket)
|
|
90093
90093
|
});
|
|
90094
90094
|
ht({
|
|
90095
90095
|
id: "freemarker2.tag-bracket.interpolation-bracket",
|
|
90096
90096
|
aliases: ["FreeMarker2 (Bracket/Bracket)", "Apache FreeMarker2 (Bracket/Bracket)"],
|
|
90097
|
-
loader: () => import("./freemarker2-
|
|
90097
|
+
loader: () => import("./freemarker2-54dda21c.js").then((n) => n.TagBracketInterpolationBracket)
|
|
90098
90098
|
});
|
|
90099
90099
|
ht({
|
|
90100
90100
|
id: "freemarker2.tag-auto.interpolation-dollar",
|
|
90101
90101
|
aliases: ["FreeMarker2 (Auto/Dollar)", "Apache FreeMarker2 (Auto/Dollar)"],
|
|
90102
|
-
loader: () => import("./freemarker2-
|
|
90102
|
+
loader: () => import("./freemarker2-54dda21c.js").then((n) => n.TagAutoInterpolationDollar)
|
|
90103
90103
|
});
|
|
90104
90104
|
ht({
|
|
90105
90105
|
id: "freemarker2.tag-auto.interpolation-bracket",
|
|
90106
90106
|
aliases: ["FreeMarker2 (Auto/Bracket)", "Apache FreeMarker2 (Auto/Bracket)"],
|
|
90107
|
-
loader: () => import("./freemarker2-
|
|
90107
|
+
loader: () => import("./freemarker2-54dda21c.js").then((n) => n.TagAutoInterpolationBracket)
|
|
90108
90108
|
});
|
|
90109
90109
|
/*!-----------------------------------------------------------------------------
|
|
90110
90110
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90142,7 +90142,7 @@ ht({
|
|
|
90142
90142
|
extensions: [".handlebars", ".hbs"],
|
|
90143
90143
|
aliases: ["Handlebars", "handlebars", "hbs"],
|
|
90144
90144
|
mimetypes: ["text/x-handlebars-template"],
|
|
90145
|
-
loader: () => import("./handlebars-
|
|
90145
|
+
loader: () => import("./handlebars-4ad18101.js")
|
|
90146
90146
|
});
|
|
90147
90147
|
/*!-----------------------------------------------------------------------------
|
|
90148
90148
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90167,7 +90167,7 @@ ht({
|
|
|
90167
90167
|
extensions: [".html", ".htm", ".shtml", ".xhtml", ".mdoc", ".jsp", ".asp", ".aspx", ".jshtm"],
|
|
90168
90168
|
aliases: ["HTML", "htm", "html", "xhtml"],
|
|
90169
90169
|
mimetypes: ["text/html", "text/x-jshtm", "text/template", "text/ng-template"],
|
|
90170
|
-
loader: () => import("./html-
|
|
90170
|
+
loader: () => import("./html-90c2d427.js")
|
|
90171
90171
|
});
|
|
90172
90172
|
/*!-----------------------------------------------------------------------------
|
|
90173
90173
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90208,7 +90208,7 @@ ht({
|
|
|
90208
90208
|
filenames: ["jakefile"],
|
|
90209
90209
|
aliases: ["JavaScript", "javascript", "js"],
|
|
90210
90210
|
mimetypes: ["text/javascript"],
|
|
90211
|
-
loader: () => import("./javascript-
|
|
90211
|
+
loader: () => import("./javascript-d01c5309.js")
|
|
90212
90212
|
});
|
|
90213
90213
|
/*!-----------------------------------------------------------------------------
|
|
90214
90214
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90283,7 +90283,7 @@ ht({
|
|
|
90283
90283
|
extensions: [".liquid", ".html.liquid"],
|
|
90284
90284
|
aliases: ["Liquid", "liquid"],
|
|
90285
90285
|
mimetypes: ["application/liquid"],
|
|
90286
|
-
loader: () => import("./liquid-
|
|
90286
|
+
loader: () => import("./liquid-d3993aa9.js")
|
|
90287
90287
|
});
|
|
90288
90288
|
/*!-----------------------------------------------------------------------------
|
|
90289
90289
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90319,7 +90319,7 @@ ht({
|
|
|
90319
90319
|
id: "mdx",
|
|
90320
90320
|
extensions: [".mdx"],
|
|
90321
90321
|
aliases: ["MDX", "mdx"],
|
|
90322
|
-
loader: () => import("./mdx-
|
|
90322
|
+
loader: () => import("./mdx-6d892f4a.js")
|
|
90323
90323
|
});
|
|
90324
90324
|
/*!-----------------------------------------------------------------------------
|
|
90325
90325
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90514,7 +90514,7 @@ ht({
|
|
|
90514
90514
|
extensions: [".py", ".rpy", ".pyw", ".cpy", ".gyp", ".gypi"],
|
|
90515
90515
|
aliases: ["Python", "py"],
|
|
90516
90516
|
firstLine: "^#!/.*\\bpython[0-9.-]*\\b",
|
|
90517
|
-
loader: () => import("./python-
|
|
90517
|
+
loader: () => import("./python-ee674106.js")
|
|
90518
90518
|
});
|
|
90519
90519
|
/*!-----------------------------------------------------------------------------
|
|
90520
90520
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90551,7 +90551,7 @@ ht({
|
|
|
90551
90551
|
extensions: [".cshtml"],
|
|
90552
90552
|
aliases: ["Razor", "razor"],
|
|
90553
90553
|
mimetypes: ["text/x-cshtml"],
|
|
90554
|
-
loader: () => import("./razor-
|
|
90554
|
+
loader: () => import("./razor-35fa07b5.js")
|
|
90555
90555
|
});
|
|
90556
90556
|
/*!-----------------------------------------------------------------------------
|
|
90557
90557
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90803,7 +90803,7 @@ ht({
|
|
|
90803
90803
|
extensions: [".ts", ".tsx", ".cts", ".mts"],
|
|
90804
90804
|
aliases: ["TypeScript", "ts", "typescript"],
|
|
90805
90805
|
mimetypes: ["text/typescript"],
|
|
90806
|
-
loader: () => import("./typescript-
|
|
90806
|
+
loader: () => import("./typescript-66137eae.js")
|
|
90807
90807
|
});
|
|
90808
90808
|
/*!-----------------------------------------------------------------------------
|
|
90809
90809
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90859,7 +90859,7 @@ ht({
|
|
|
90859
90859
|
firstLine: "(\\<\\?xml.*)|(\\<svg)|(\\<\\!doctype\\s+svg)",
|
|
90860
90860
|
aliases: ["XML", "xml"],
|
|
90861
90861
|
mimetypes: ["text/xml", "application/xml", "application/xaml+xml", "application/xml-dtd"],
|
|
90862
|
-
loader: () => import("./xml-
|
|
90862
|
+
loader: () => import("./xml-c97ffa9c.js")
|
|
90863
90863
|
});
|
|
90864
90864
|
/*!-----------------------------------------------------------------------------
|
|
90865
90865
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90872,7 +90872,7 @@ ht({
|
|
|
90872
90872
|
extensions: [".yaml", ".yml"],
|
|
90873
90873
|
aliases: ["YAML", "yaml", "YML", "yml"],
|
|
90874
90874
|
mimetypes: ["application/x-yaml", "text/x-yaml"],
|
|
90875
|
-
loader: () => import("./yaml-
|
|
90875
|
+
loader: () => import("./yaml-e9c87bdb.js")
|
|
90876
90876
|
});
|
|
90877
90877
|
/*!-----------------------------------------------------------------------------
|
|
90878
90878
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -90967,7 +90967,7 @@ var GV = class {
|
|
|
90967
90967
|
}, tpe = new GV("css", QV, qV), ipe = new GV("scss", QV, qV), npe = new GV("less", QV, qV);
|
|
90968
90968
|
B1.languages.css = { cssDefaults: tpe, lessDefaults: npe, scssDefaults: ipe };
|
|
90969
90969
|
function KV() {
|
|
90970
|
-
return import("./cssMode-
|
|
90970
|
+
return import("./cssMode-6ac58878.js");
|
|
90971
90971
|
}
|
|
90972
90972
|
B1.languages.onLanguage("less", () => {
|
|
90973
90973
|
KV().then((n) => n.setupMode(npe));
|
|
@@ -91062,7 +91062,7 @@ eE.languages.html = {
|
|
|
91062
91062
|
registerHTMLLanguageService: nE
|
|
91063
91063
|
};
|
|
91064
91064
|
function GQe() {
|
|
91065
|
-
return import("./htmlMode-
|
|
91065
|
+
return import("./htmlMode-0a22bb49.js");
|
|
91066
91066
|
}
|
|
91067
91067
|
function nE(n, e = tE, t = iE(n)) {
|
|
91068
91068
|
const i = new WQe(n, e, t);
|
|
@@ -91139,7 +91139,7 @@ var JQe = class {
|
|
|
91139
91139
|
}, ape = new JQe("json", $Qe, eqe);
|
|
91140
91140
|
cD.languages.json = { jsonDefaults: ape };
|
|
91141
91141
|
function tqe() {
|
|
91142
|
-
return import("./jsonMode-
|
|
91142
|
+
return import("./jsonMode-976a74c4.js");
|
|
91143
91143
|
}
|
|
91144
91144
|
cD.languages.register({
|
|
91145
91145
|
id: "json",
|
|
@@ -91302,7 +91302,7 @@ r1.languages.typescript = {
|
|
|
91302
91302
|
getJavaScriptWorker: dqe
|
|
91303
91303
|
};
|
|
91304
91304
|
function rE() {
|
|
91305
|
-
return import("./tsMode-
|
|
91305
|
+
return import("./tsMode-14f3680e.js");
|
|
91306
91306
|
}
|
|
91307
91307
|
r1.languages.onLanguage("typescript", () => rE().then((n) => n.setupTypeScript(ppe)));
|
|
91308
91308
|
r1.languages.onLanguage("javascript", () => rE().then((n) => n.setupJavaScript(mpe)));
|
|
@@ -95604,7 +95604,7 @@ let SN = class {
|
|
|
95604
95604
|
}
|
|
95605
95605
|
};
|
|
95606
95606
|
SN = Ype([
|
|
95607
|
-
Gpe(1,
|
|
95607
|
+
Gpe(1, Ir)
|
|
95608
95608
|
], SN);
|
|
95609
95609
|
class WKe {
|
|
95610
95610
|
constructor(e, t, i, r) {
|
|
@@ -95649,7 +95649,7 @@ let Hw = class {
|
|
|
95649
95649
|
}
|
|
95650
95650
|
};
|
|
95651
95651
|
Hw = Ype([
|
|
95652
|
-
Gpe(1,
|
|
95652
|
+
Gpe(1, Ir)
|
|
95653
95653
|
], Hw);
|
|
95654
95654
|
function Qpe(n, e, t, i) {
|
|
95655
95655
|
return o1(this, void 0, void 0, function* () {
|
|
@@ -95819,7 +95819,7 @@ yg = HKe([
|
|
|
95819
95819
|
Iu(5, vi),
|
|
95820
95820
|
Iu(6, On),
|
|
95821
95821
|
Iu(7, yt),
|
|
95822
|
-
Iu(8,
|
|
95822
|
+
Iu(8, Ir),
|
|
95823
95823
|
Iu(9, $n),
|
|
95824
95824
|
Iu(10, Ph),
|
|
95825
95825
|
Iu(11, Bi),
|
|
@@ -96775,7 +96775,7 @@ let FF = class extends DN {
|
|
|
96775
96775
|
}
|
|
96776
96776
|
};
|
|
96777
96777
|
FF = sZe([
|
|
96778
|
-
Lu(3,
|
|
96778
|
+
Lu(3, Ir),
|
|
96779
96779
|
Lu(4, Mo),
|
|
96780
96780
|
Lu(5, bt),
|
|
96781
96781
|
Lu(6, Jpe),
|
|
@@ -99597,14 +99597,14 @@ let l1 = UF = class extends DN {
|
|
|
99597
99597
|
};
|
|
99598
99598
|
l1.TitleMenu = new J("gotoErrorTitleMenu");
|
|
99599
99599
|
l1 = UF = xZe([
|
|
99600
|
-
H0(1,
|
|
99600
|
+
H0(1, Ir),
|
|
99601
99601
|
H0(2, qo),
|
|
99602
99602
|
H0(3, hu),
|
|
99603
99603
|
H0(4, bt),
|
|
99604
99604
|
H0(5, yt),
|
|
99605
99605
|
H0(6, K_)
|
|
99606
99606
|
], l1);
|
|
99607
|
-
const uJ = aw(Ed, k5e), hJ = aw(ga, sw), fJ = aw(Co, ow), YF = te("editorMarkerNavigationError.background", { dark: uJ, light: uJ, hcDark: Jt, hcLight: Jt }, C("editorMarkerNavigationError", "Editor marker navigation widget error color.")), AZe = te("editorMarkerNavigationError.headerBackground", { dark: dt(YF, 0.1), light: dt(YF, 0.1), hcDark: null, hcLight: null }, C("editorMarkerNavigationErrorHeaderBackground", "Editor marker navigation widget error heading background.")), wM = te("editorMarkerNavigationWarning.background", { dark: hJ, light: hJ, hcDark: Jt, hcLight: Jt }, C("editorMarkerNavigationWarning", "Editor marker navigation widget warning color.")), TZe = te("editorMarkerNavigationWarning.headerBackground", { dark: dt(wM, 0.1), light: dt(wM, 0.1), hcDark: "#0C141F", hcLight: dt(wM, 0.2) }, C("editorMarkerNavigationWarningBackground", "Editor marker navigation widget warning heading background.")), GF = te("editorMarkerNavigationInfo.background", { dark: fJ, light: fJ, hcDark: Jt, hcLight: Jt }, C("editorMarkerNavigationInfo", "Editor marker navigation widget info color.")), EZe = te("editorMarkerNavigationInfo.headerBackground", { dark: dt(GF, 0.1), light: dt(GF, 0.1), hcDark: null, hcLight: null }, C("editorMarkerNavigationInfoHeaderBackground", "Editor marker navigation widget info heading background.")), kZe = te("editorMarkerNavigation.background", { dark:
|
|
99607
|
+
const uJ = aw(Ed, k5e), hJ = aw(ga, sw), fJ = aw(Co, ow), YF = te("editorMarkerNavigationError.background", { dark: uJ, light: uJ, hcDark: Jt, hcLight: Jt }, C("editorMarkerNavigationError", "Editor marker navigation widget error color.")), AZe = te("editorMarkerNavigationError.headerBackground", { dark: dt(YF, 0.1), light: dt(YF, 0.1), hcDark: null, hcLight: null }, C("editorMarkerNavigationErrorHeaderBackground", "Editor marker navigation widget error heading background.")), wM = te("editorMarkerNavigationWarning.background", { dark: hJ, light: hJ, hcDark: Jt, hcLight: Jt }, C("editorMarkerNavigationWarning", "Editor marker navigation widget warning color.")), TZe = te("editorMarkerNavigationWarning.headerBackground", { dark: dt(wM, 0.1), light: dt(wM, 0.1), hcDark: "#0C141F", hcLight: dt(wM, 0.2) }, C("editorMarkerNavigationWarningBackground", "Editor marker navigation widget warning heading background.")), GF = te("editorMarkerNavigationInfo.background", { dark: fJ, light: fJ, hcDark: Jt, hcLight: Jt }, C("editorMarkerNavigationInfo", "Editor marker navigation widget info color.")), EZe = te("editorMarkerNavigationInfo.headerBackground", { dark: dt(GF, 0.1), light: dt(GF, 0.1), hcDark: null, hcLight: null }, C("editorMarkerNavigationInfoHeaderBackground", "Editor marker navigation widget info heading background.")), kZe = te("editorMarkerNavigation.background", { dark: Dr, light: Dr, hcDark: Dr, hcLight: Dr }, C("editorMarkerNavigationBackground", "Editor marker navigation widget background."));
|
|
99608
99608
|
var OZe = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
99609
99609
|
var r = arguments.length, s = r < 3 ? e : i === null ? i = Object.getOwnPropertyDescriptor(e, t) : i, o;
|
|
99610
99610
|
if (typeof Reflect == "object" && typeof Reflect.decorate == "function")
|
|
@@ -100156,7 +100156,7 @@ let qF = class extends WZe {
|
|
|
100156
100156
|
_ && (p++, !f.has(_.id) && p >= g && (a[m] = void 0, u[m] = _));
|
|
100157
100157
|
}
|
|
100158
100158
|
}
|
|
100159
|
-
pQ(a), pQ(u), super.setActions(a,
|
|
100159
|
+
pQ(a), pQ(u), super.setActions(a, Pr.join(u, l)), c.length > 0 && this._sessionDisposables.add(xe(this.getElement(), "contextmenu", (f) => {
|
|
100160
100160
|
var g, p, m, _, b;
|
|
100161
100161
|
const w = new Qa(f), y = this.getItemAction(w.target);
|
|
100162
100162
|
if (!y)
|
|
@@ -100191,8 +100191,8 @@ let qF = class extends WZe {
|
|
|
100191
100191
|
run() {
|
|
100192
100192
|
}
|
|
100193
100193
|
});
|
|
100194
|
-
const D =
|
|
100195
|
-
!((p = this._options) === null || p === void 0) && p.resetMenu && !i && (i = [this._options.resetMenu]), h && i && (D.push(new
|
|
100194
|
+
const D = Pr.join([I], c);
|
|
100195
|
+
!((p = this._options) === null || p === void 0) && p.resetMenu && !i && (i = [this._options.resetMenu]), h && i && (D.push(new Pr()), D.push(Kv({
|
|
100196
100196
|
id: "resetThisMenu",
|
|
100197
100197
|
label: C("resetThisMenu", "Reset Menu"),
|
|
100198
100198
|
run: () => this._menuService.resetHiddenStates(i)
|
|
@@ -100315,7 +100315,7 @@ let Ig = SM = class extends ye {
|
|
|
100315
100315
|
for (const [p, m] of this.inlineCompletionsActionsMenus.getActions())
|
|
100316
100316
|
for (const _ of m)
|
|
100317
100317
|
_ instanceof zl && g.push(_);
|
|
100318
|
-
g.length > 0 && g.unshift(new
|
|
100318
|
+
g.length > 0 && g.unshift(new Pr()), this.toolBar.setAdditionalSecondaryActions(g);
|
|
100319
100319
|
}));
|
|
100320
100320
|
}
|
|
100321
100321
|
getId() {
|
|
@@ -101620,7 +101620,7 @@ let c1 = tB = class {
|
|
|
101620
101620
|
d.length > 0 && (i.push(new P_(c.id, c.label, d)), l++);
|
|
101621
101621
|
} else
|
|
101622
101622
|
i.push(c), l++;
|
|
101623
|
-
l && i.push(new
|
|
101623
|
+
l && i.push(new Pr());
|
|
101624
101624
|
}
|
|
101625
101625
|
return i.length && i.pop(), i;
|
|
101626
101626
|
}
|
|
@@ -101706,7 +101706,7 @@ let c1 = tB = class {
|
|
|
101706
101706
|
run: () => {
|
|
101707
101707
|
this._configurationService.updateValue("editor.minimap.enabled", !t.enabled);
|
|
101708
101708
|
}
|
|
101709
|
-
})), a.push(new
|
|
101709
|
+
})), a.push(new Pr()), a.push(r({
|
|
101710
101710
|
label: C("context.minimap.renderCharacters", "Render Characters"),
|
|
101711
101711
|
enabled: t.enabled,
|
|
101712
101712
|
checked: t.renderCharacters,
|
|
@@ -105308,7 +105308,7 @@ uB = Ume([
|
|
|
105308
105308
|
hc(1, Rh),
|
|
105309
105309
|
hc(2, yt),
|
|
105310
105310
|
hc(3, Oi),
|
|
105311
|
-
hc(4,
|
|
105311
|
+
hc(4, Ir),
|
|
105312
105312
|
hc(5, $n),
|
|
105313
105313
|
hc(6, Zl),
|
|
105314
105314
|
hc(7, Bh)
|
|
@@ -108270,9 +108270,9 @@ ni.registerCommand("_executeDocumentSymbolProvider", function(n, ...e) {
|
|
|
108270
108270
|
}
|
|
108271
108271
|
});
|
|
108272
108272
|
});
|
|
108273
|
-
class
|
|
108273
|
+
class Or extends ye {
|
|
108274
108274
|
constructor(e, t) {
|
|
108275
|
-
super(), this.contextKeyService = e, this.model = t, this.inlineCompletionVisible =
|
|
108275
|
+
super(), this.contextKeyService = e, this.model = t, this.inlineCompletionVisible = Or.inlineSuggestionVisible.bindTo(this.contextKeyService), this.inlineCompletionSuggestsIndentation = Or.inlineSuggestionHasIndentation.bindTo(this.contextKeyService), this.inlineCompletionSuggestsIndentationLessThanTabSize = Or.inlineSuggestionHasIndentationLessThanTabSize.bindTo(this.contextKeyService), this.suppressSuggestions = Or.suppressSuggestions.bindTo(this.contextKeyService), this._register(Fi((i) => {
|
|
108276
108276
|
const r = this.model.read(i), s = r?.state.read(i), o = !!s?.inlineCompletion && s?.ghostText !== void 0 && !s?.ghostText.isEmpty();
|
|
108277
108277
|
this.inlineCompletionVisible.set(o), s?.ghostText && s?.inlineCompletion && this.suppressSuggestions.set(s.inlineCompletion.inlineCompletion.source.inlineCompletions.suppressSuggestions);
|
|
108278
108278
|
})), this._register(Fi((i) => {
|
|
@@ -108292,10 +108292,10 @@ class kr extends ye {
|
|
|
108292
108292
|
}));
|
|
108293
108293
|
}
|
|
108294
108294
|
}
|
|
108295
|
-
|
|
108296
|
-
|
|
108297
|
-
|
|
108298
|
-
|
|
108295
|
+
Or.inlineSuggestionVisible = new qe("inlineSuggestionVisible", !1, C("inlineSuggestionVisible", "Whether an inline suggestion is visible"));
|
|
108296
|
+
Or.inlineSuggestionHasIndentation = new qe("inlineSuggestionHasIndentation", !1, C("inlineSuggestionHasIndentation", "Whether the inline suggestion starts with whitespace"));
|
|
108297
|
+
Or.inlineSuggestionHasIndentationLessThanTabSize = new qe("inlineSuggestionHasIndentationLessThanTabSize", !0, C("inlineSuggestionHasIndentationLessThanTabSize", "Whether the inline suggestion starts with whitespace that is less than what would be inserted by tab"));
|
|
108298
|
+
Or.suppressSuggestions = new qe("inlineSuggestionSuppressSuggestions", void 0, C("suppressSuggestions", "Whether suggestions should be suppressed for the current suggestion"));
|
|
108299
108299
|
function v$e(n, e) {
|
|
108300
108300
|
const t = new _$e(n), i = e.map((r) => {
|
|
108301
108301
|
const s = B.lift(r.range);
|
|
@@ -108608,7 +108608,7 @@ function L$e(n, e, t, i, r) {
|
|
|
108608
108608
|
for (let p = 0, m = t.length; p < m; p++) {
|
|
108609
108609
|
const _ = t[p], b = _.content;
|
|
108610
108610
|
h.appendString('<div class="view-line'), h.appendString('" style="top:'), h.appendString(String(p * u)), h.appendString('px;width:1000000px;">');
|
|
108611
|
-
const w = jS(b), y = E_(b), S =
|
|
108611
|
+
const w = jS(b), y = E_(b), S = Sr.createEmpty(b, r);
|
|
108612
108612
|
HS(new Bg(d.isMonospace && !s, d.canUseHalfwidthRightwardsArrow, b, !1, w, y, 0, S, _.decorations, e, 0, d.spaceWidth, d.middotWidth, d.wsmiddotWidth, o, a, l, c !== la.OFF, null), h), h.appendString("</div>");
|
|
108613
108613
|
}
|
|
108614
108614
|
h.appendString("</div>"), gs(n, d);
|
|
@@ -111681,9 +111681,9 @@ class rp {
|
|
|
111681
111681
|
}
|
|
111682
111682
|
}
|
|
111683
111683
|
function pet(n, e, t) {
|
|
111684
|
-
if (!e.getContextKeyValue(
|
|
111684
|
+
if (!e.getContextKeyValue(Or.inlineSuggestionVisible.key))
|
|
111685
111685
|
return !0;
|
|
111686
|
-
const i = e.getContextKeyValue(
|
|
111686
|
+
const i = e.getContextKeyValue(Or.suppressSuggestions.key);
|
|
111687
111687
|
return i !== void 0 ? !i : !n.getOption(
|
|
111688
111688
|
62
|
|
111689
111689
|
/* EditorOption.inlineSuggest */
|
|
@@ -111692,7 +111692,7 @@ function pet(n, e, t) {
|
|
|
111692
111692
|
function met(n, e, t) {
|
|
111693
111693
|
if (!e.getContextKeyValue("inlineSuggestionVisible"))
|
|
111694
111694
|
return !0;
|
|
111695
|
-
const i = e.getContextKeyValue(
|
|
111695
|
+
const i = e.getContextKeyValue(Or.suppressSuggestions.key);
|
|
111696
111696
|
return i !== void 0 ? !i : !n.getOption(
|
|
111697
111697
|
62
|
|
111698
111698
|
/* EditorOption.inlineSuggest */
|
|
@@ -111747,7 +111747,7 @@ let SB = wB = class {
|
|
|
111747
111747
|
i = this._editor.getModel().getLineContent(a.lineNumber).substr(0, a.column - 1);
|
|
111748
111748
|
}
|
|
111749
111749
|
let s = "";
|
|
111750
|
-
_m(i.charCodeAt(i.length - 1)) ?
|
|
111750
|
+
_m(i.charCodeAt(i.length - 1)) ? wr(i.charCodeAt(i.length - 2)) && (s = i.substr(i.length - 2)) : s = i.charAt(i.length - 1);
|
|
111751
111751
|
const o = e.get(s);
|
|
111752
111752
|
if (o) {
|
|
111753
111753
|
const a = /* @__PURE__ */ new Map();
|
|
@@ -112516,7 +112516,7 @@ let LB = class {
|
|
|
112516
112516
|
LB = Det([
|
|
112517
112517
|
R4(1, cn),
|
|
112518
112518
|
R4(2, rn),
|
|
112519
|
-
R4(3,
|
|
112519
|
+
R4(3, Ir)
|
|
112520
112520
|
], LB);
|
|
112521
112521
|
function j4(n) {
|
|
112522
112522
|
return n.replace(/\r\n|\r|\n/g, "");
|
|
@@ -113001,7 +113001,7 @@ tS.NO_SUGGESTIONS_MESSAGE = C("suggestWidget.noSuggestions", "No suggestions.");
|
|
|
113001
113001
|
tS = lv = Met([
|
|
113002
113002
|
dL(1, Zl),
|
|
113003
113003
|
dL(2, yt),
|
|
113004
|
-
dL(3,
|
|
113004
|
+
dL(3, Ir),
|
|
113005
113005
|
dL(4, bt)
|
|
113006
113006
|
], tS);
|
|
113007
113007
|
class Tet {
|
|
@@ -113904,7 +113904,7 @@ let Ia = xB = class extends ye {
|
|
|
113904
113904
|
ghostText: this.model.map((h, f) => h?.ghostText.read(f)),
|
|
113905
113905
|
minReservedLineCount: hN(0),
|
|
113906
113906
|
targetTextModel: this.model.map((h) => h?.textModel)
|
|
113907
|
-
})), this._debounceValue = this.debounceService.for(this.languageFeaturesService.inlineCompletionsProvider, "InlineCompletionsDebounce", { min: 50, max: 50 }), this._register(new
|
|
113907
|
+
})), this._debounceValue = this.debounceService.for(this.languageFeaturesService.inlineCompletionsProvider, "InlineCompletionsDebounce", { min: 50, max: 50 }), this._register(new Or(this.contextKeyService, this.model)), this._register(Ge.runAndSubscribe(e.onDidChangeModel, () => sn((h) => {
|
|
113908
113908
|
this.model.set(void 0, h), this.updateObservables(h, ra.Other);
|
|
113909
113909
|
const f = e.getModel();
|
|
113910
113910
|
if (f) {
|
|
@@ -114052,7 +114052,7 @@ class TE extends Je {
|
|
|
114052
114052
|
id: TE.ID,
|
|
114053
114053
|
label: C("action.inlineSuggest.showNext", "Show Next Inline Suggestion"),
|
|
114054
114054
|
alias: "Show Next Inline Suggestion",
|
|
114055
|
-
precondition: Ne.and($.writable,
|
|
114055
|
+
precondition: Ne.and($.writable, Or.inlineSuggestionVisible),
|
|
114056
114056
|
kbOpts: {
|
|
114057
114057
|
weight: 100,
|
|
114058
114058
|
primary: 606
|
|
@@ -114074,7 +114074,7 @@ class EE extends Je {
|
|
|
114074
114074
|
id: EE.ID,
|
|
114075
114075
|
label: C("action.inlineSuggest.showPrevious", "Show Previous Inline Suggestion"),
|
|
114076
114076
|
alias: "Show Previous Inline Suggestion",
|
|
114077
|
-
precondition: Ne.and($.writable,
|
|
114077
|
+
precondition: Ne.and($.writable, Or.inlineSuggestionVisible),
|
|
114078
114078
|
kbOpts: {
|
|
114079
114079
|
weight: 100,
|
|
114080
114080
|
primary: 604
|
|
@@ -114113,11 +114113,11 @@ class Bet extends Je {
|
|
|
114113
114113
|
id: "editor.action.inlineSuggest.acceptNextWord",
|
|
114114
114114
|
label: C("action.inlineSuggest.acceptNextWord", "Accept Next Word Of Inline Suggestion"),
|
|
114115
114115
|
alias: "Accept Next Word Of Inline Suggestion",
|
|
114116
|
-
precondition: Ne.and($.writable,
|
|
114116
|
+
precondition: Ne.and($.writable, Or.inlineSuggestionVisible),
|
|
114117
114117
|
kbOpts: {
|
|
114118
114118
|
weight: 100 + 1,
|
|
114119
114119
|
primary: 2065,
|
|
114120
|
-
kbExpr: Ne.and($.writable,
|
|
114120
|
+
kbExpr: Ne.and($.writable, Or.inlineSuggestionVisible)
|
|
114121
114121
|
},
|
|
114122
114122
|
menuOpts: [{
|
|
114123
114123
|
menuId: J.InlineSuggestionToolbar,
|
|
@@ -114141,7 +114141,7 @@ class zet extends Je {
|
|
|
114141
114141
|
id: "editor.action.inlineSuggest.acceptNextLine",
|
|
114142
114142
|
label: C("action.inlineSuggest.acceptNextLine", "Accept Next Line Of Inline Suggestion"),
|
|
114143
114143
|
alias: "Accept Next Line Of Inline Suggestion",
|
|
114144
|
-
precondition: Ne.and($.writable,
|
|
114144
|
+
precondition: Ne.and($.writable, Or.inlineSuggestionVisible),
|
|
114145
114145
|
kbOpts: {
|
|
114146
114146
|
weight: 100 + 1
|
|
114147
114147
|
},
|
|
@@ -114167,7 +114167,7 @@ class Wet extends Je {
|
|
|
114167
114167
|
id: vme,
|
|
114168
114168
|
label: C("action.inlineSuggest.accept", "Accept Inline Suggestion"),
|
|
114169
114169
|
alias: "Accept Inline Suggestion",
|
|
114170
|
-
precondition:
|
|
114170
|
+
precondition: Or.inlineSuggestionVisible,
|
|
114171
114171
|
menuOpts: [{
|
|
114172
114172
|
menuId: J.InlineSuggestionToolbar,
|
|
114173
114173
|
title: C("accept", "Accept"),
|
|
@@ -114177,7 +114177,7 @@ class Wet extends Je {
|
|
|
114177
114177
|
kbOpts: {
|
|
114178
114178
|
primary: 2,
|
|
114179
114179
|
weight: 200,
|
|
114180
|
-
kbExpr: Ne.and(
|
|
114180
|
+
kbExpr: Ne.and(Or.inlineSuggestionVisible, $.tabMovesFocus.toNegated(), Or.inlineSuggestionHasIndentationLessThanTabSize, At.Visible.toNegated(), $.hoverFocused.toNegated())
|
|
114181
114181
|
}
|
|
114182
114182
|
});
|
|
114183
114183
|
}
|
|
@@ -114195,7 +114195,7 @@ class kE extends Je {
|
|
|
114195
114195
|
id: kE.ID,
|
|
114196
114196
|
label: C("action.inlineSuggest.hide", "Hide Inline Suggestion"),
|
|
114197
114197
|
alias: "Hide Inline Suggestion",
|
|
114198
|
-
precondition:
|
|
114198
|
+
precondition: Or.inlineSuggestionVisible,
|
|
114199
114199
|
kbOpts: {
|
|
114200
114200
|
weight: 100,
|
|
114201
114201
|
primary: 9
|
|
@@ -114917,7 +114917,7 @@ function Jet(n, e, t, i) {
|
|
|
114917
114917
|
})));
|
|
114918
114918
|
if (i.part.command) {
|
|
114919
114919
|
const { command: g } = i.part;
|
|
114920
|
-
u.push(new
|
|
114920
|
+
u.push(new Pr()), u.push(new io(g.id, g.title, void 0, !0, () => fy(this, void 0, void 0, function* () {
|
|
114921
114921
|
var p;
|
|
114922
114922
|
try {
|
|
114923
114923
|
yield a.executeCommand(g.id, ...(p = g.arguments) !== null && p !== void 0 ? p : []);
|
|
@@ -118877,7 +118877,7 @@ let BB = class {
|
|
|
118877
118877
|
}
|
|
118878
118878
|
};
|
|
118879
118879
|
BB = wit([
|
|
118880
|
-
B4(2,
|
|
118880
|
+
B4(2, Ir),
|
|
118881
118881
|
B4(3, Oi),
|
|
118882
118882
|
B4(4, yt)
|
|
118883
118883
|
], BB);
|
|
@@ -119419,7 +119419,7 @@ let HB = class extends ye {
|
|
|
119419
119419
|
HB = x0e([
|
|
119420
119420
|
vd(0, MT),
|
|
119421
119421
|
vd(1, cn),
|
|
119422
|
-
vd(2,
|
|
119422
|
+
vd(2, Ir),
|
|
119423
119423
|
vd(3, $t),
|
|
119424
119424
|
vd(4, hl),
|
|
119425
119425
|
vd(5, tt)
|
|
@@ -119548,7 +119548,7 @@ lS.REQUEST_MIN_DELAY = 300;
|
|
|
119548
119548
|
lS.REQUEST_MAX_DELAY = 2e3;
|
|
119549
119549
|
lS = of = x0e([
|
|
119550
119550
|
vd(1, MT),
|
|
119551
|
-
vd(2,
|
|
119551
|
+
vd(2, Ir),
|
|
119552
119552
|
vd(3, hl),
|
|
119553
119553
|
vd(4, tt)
|
|
119554
119554
|
], lS);
|
|
@@ -119636,7 +119636,7 @@ let cS = class extends ye {
|
|
|
119636
119636
|
cS.ID = "editor.contrib.viewportSemanticTokens";
|
|
119637
119637
|
cS = Pit([
|
|
119638
119638
|
Gb(1, MT),
|
|
119639
|
-
Gb(2,
|
|
119639
|
+
Gb(2, Ir),
|
|
119640
119640
|
Gb(3, $t),
|
|
119641
119641
|
Gb(4, hl),
|
|
119642
119642
|
Gb(5, tt)
|
|
@@ -124192,7 +124192,7 @@ var K0e = globalThis && globalThis.__decorate || function(n, e, t, i) {
|
|
|
124192
124192
|
}
|
|
124193
124193
|
c((i = i.apply(n, e || [])).next());
|
|
124194
124194
|
});
|
|
124195
|
-
}, Cp,
|
|
124195
|
+
}, Cp, Cr;
|
|
124196
124196
|
let qm = Cp = class extends brt {
|
|
124197
124197
|
constructor(e, t, i, r, s, o) {
|
|
124198
124198
|
super(Cp.PREFIX, e), this.instantiationService = t, this.keybindingService = i, this.commandService = r, this.telemetryService = s, this.dialogService = o, this.commandsHistory = this._register(this.instantiationService.createInstance(Km)), this.options = e;
|
|
@@ -124307,7 +124307,7 @@ qm = Cp = K0e([
|
|
|
124307
124307
|
kp(4, xa),
|
|
124308
124308
|
kp(5, JS)
|
|
124309
124309
|
], qm);
|
|
124310
|
-
let Km =
|
|
124310
|
+
let Km = Cr = class extends ye {
|
|
124311
124311
|
constructor(e, t) {
|
|
124312
124312
|
super(), this.storageService = e, this.configurationService = t, this.configuredCommandsHistoryLength = 0, this.updateConfiguration(), this.load(), this.registerListeners();
|
|
124313
124313
|
}
|
|
@@ -124315,11 +124315,11 @@ let Km = br = class extends ye {
|
|
|
124315
124315
|
this._register(this.configurationService.onDidChangeConfiguration((e) => this.updateConfiguration(e)));
|
|
124316
124316
|
}
|
|
124317
124317
|
updateConfiguration(e) {
|
|
124318
|
-
e && !e.affectsConfiguration("workbench.commandPalette.history") || (this.configuredCommandsHistoryLength =
|
|
124318
|
+
e && !e.affectsConfiguration("workbench.commandPalette.history") || (this.configuredCommandsHistoryLength = Cr.getConfiguredCommandHistoryLength(this.configurationService), Cr.cache && Cr.cache.limit !== this.configuredCommandsHistoryLength && (Cr.cache.limit = this.configuredCommandsHistoryLength, Cr.saveState(this.storageService)));
|
|
124319
124319
|
}
|
|
124320
124320
|
load() {
|
|
124321
124321
|
const e = this.storageService.get(
|
|
124322
|
-
|
|
124322
|
+
Cr.PREF_KEY_CACHE,
|
|
124323
124323
|
0
|
|
124324
124324
|
/* StorageScope.PROFILE */
|
|
124325
124325
|
);
|
|
@@ -124329,33 +124329,33 @@ let Km = br = class extends ye {
|
|
|
124329
124329
|
t = JSON.parse(e);
|
|
124330
124330
|
} catch {
|
|
124331
124331
|
}
|
|
124332
|
-
const i =
|
|
124332
|
+
const i = Cr.cache = new Fg(this.configuredCommandsHistoryLength, 1);
|
|
124333
124333
|
if (t) {
|
|
124334
124334
|
let r;
|
|
124335
124335
|
t.usesLRU ? r = t.entries : r = t.entries.sort((s, o) => s.value - o.value), r.forEach((s) => i.set(s.key, s.value));
|
|
124336
124336
|
}
|
|
124337
|
-
|
|
124337
|
+
Cr.counter = this.storageService.getNumber(Cr.PREF_KEY_COUNTER, 0, Cr.counter);
|
|
124338
124338
|
}
|
|
124339
124339
|
push(e) {
|
|
124340
|
-
|
|
124340
|
+
Cr.cache && (Cr.cache.set(e, Cr.counter++), Cr.saveState(this.storageService));
|
|
124341
124341
|
}
|
|
124342
124342
|
peek(e) {
|
|
124343
124343
|
var t;
|
|
124344
|
-
return (t =
|
|
124344
|
+
return (t = Cr.cache) === null || t === void 0 ? void 0 : t.peek(e);
|
|
124345
124345
|
}
|
|
124346
124346
|
static saveState(e) {
|
|
124347
|
-
if (!
|
|
124347
|
+
if (!Cr.cache)
|
|
124348
124348
|
return;
|
|
124349
124349
|
const t = { usesLRU: !0, entries: [] };
|
|
124350
|
-
|
|
124351
|
-
|
|
124350
|
+
Cr.cache.forEach((i, r) => t.entries.push({ key: r, value: i })), e.store(
|
|
124351
|
+
Cr.PREF_KEY_CACHE,
|
|
124352
124352
|
JSON.stringify(t),
|
|
124353
124353
|
0,
|
|
124354
124354
|
0
|
|
124355
124355
|
/* StorageTarget.USER */
|
|
124356
124356
|
), e.store(
|
|
124357
|
-
|
|
124358
|
-
|
|
124357
|
+
Cr.PREF_KEY_COUNTER,
|
|
124358
|
+
Cr.counter,
|
|
124359
124359
|
0,
|
|
124360
124360
|
0
|
|
124361
124361
|
/* StorageTarget.USER */
|
|
@@ -124364,14 +124364,14 @@ let Km = br = class extends ye {
|
|
|
124364
124364
|
static getConfiguredCommandHistoryLength(e) {
|
|
124365
124365
|
var t, i;
|
|
124366
124366
|
const s = (i = (t = e.getValue().workbench) === null || t === void 0 ? void 0 : t.commandPalette) === null || i === void 0 ? void 0 : i.history;
|
|
124367
|
-
return typeof s == "number" ? s :
|
|
124367
|
+
return typeof s == "number" ? s : Cr.DEFAULT_COMMANDS_HISTORY_LENGTH;
|
|
124368
124368
|
}
|
|
124369
124369
|
};
|
|
124370
124370
|
Km.DEFAULT_COMMANDS_HISTORY_LENGTH = 50;
|
|
124371
124371
|
Km.PREF_KEY_CACHE = "commandPalette.mru.cache";
|
|
124372
124372
|
Km.PREF_KEY_COUNTER = "commandPalette.mru.counter";
|
|
124373
124373
|
Km.counter = 1;
|
|
124374
|
-
Km =
|
|
124374
|
+
Km = Cr = K0e([
|
|
124375
124375
|
kp(0, Zl),
|
|
124376
124376
|
kp(1, $t)
|
|
124377
124377
|
], Km);
|
|
@@ -124798,7 +124798,7 @@ const A$ = () => ({
|
|
|
124798
124798
|
initialSortKey: n,
|
|
124799
124799
|
parseSearchParams: e
|
|
124800
124800
|
} = {}) => {
|
|
124801
|
-
const t = oA(), i = rA(), r = new URLSearchParams(t.search), { pageSize: s, pageNumber: o, searchKey: a, sortBy: l, sortOrder: c, parsedParams: d } =
|
|
124801
|
+
const t = oA(), i = rA(), r = new URLSearchParams(t.search), { pageSize: s, pageNumber: o, searchKey: a, sortBy: l, sortOrder: c, parsedParams: d } = br(() => {
|
|
124802
124802
|
const y = r.get(T$), S = r.get(X4), I = r.get(E$), D = r.get(O$), L = r.get(k$) || n || "", A = Object.values(dr).includes(D) ? D : dr.ASC, E = e ? e(r) : {};
|
|
124803
124803
|
return {
|
|
124804
124804
|
pageSize: Number(y) || n9,
|
|
@@ -124850,7 +124850,7 @@ const A$ = () => ({
|
|
|
124850
124850
|
}
|
|
124851
124851
|
};
|
|
124852
124852
|
}, YSt = Ort, J0e = Tg(null), Prt = () => _S(J0e), GSt = Prt, Rrt = ({ children: n }) => {
|
|
124853
|
-
const [e, t] = Ve(!0), i =
|
|
124853
|
+
const [e, t] = Ve(!0), i = br(
|
|
124854
124854
|
() => ({
|
|
124855
124855
|
registerShortcut: e,
|
|
124856
124856
|
setRegisterShortcut: (r) => t(r)
|
|
@@ -125292,7 +125292,7 @@ const lve = nt.memo(
|
|
|
125292
125292
|
et(() => {
|
|
125293
125293
|
r !== o && a(r);
|
|
125294
125294
|
}, [r]);
|
|
125295
|
-
const l =
|
|
125295
|
+
const l = br(
|
|
125296
125296
|
() => ({ name: n, selected: o, select: a, disabled: s, onChange: e }),
|
|
125297
125297
|
[n, o, a, s, e]
|
|
125298
125298
|
);
|
|
@@ -125731,15 +125731,25 @@ const dve = Wh, ost = (n) => /* @__PURE__ */ Z.createElement("svg", { width: 18,
|
|
|
125731
125731
|
h(`${f - x < 400 ? 400 : f - x}px`);
|
|
125732
125732
|
}
|
|
125733
125733
|
}, [d.current?.clientHeight]);
|
|
125734
|
-
const m = () => r ? "delete-draft" : i ? "unpublished" : null, _ = Object.keys(e?.codeEditorValue?.variableSnapshot || {}).length !== 0 || Object.keys(n?.codeEditorValue?.variableSnapshot || {}).length !== 0, b =
|
|
125734
|
+
const m = () => r ? "delete-draft" : i ? "unpublished" : null, _ = Object.keys(e?.codeEditorValue?.variableSnapshot || {}).length !== 0 || Object.keys(n?.codeEditorValue?.variableSnapshot || {}).length !== 0, b = br(() => {
|
|
125735
|
+
if (!e?.codeEditorValue?.value || r)
|
|
125736
|
+
return "";
|
|
125737
|
+
const x = g ? e?.codeEditorValue?.resolvedValue : e?.codeEditorValue?.value;
|
|
125738
|
+
return mz(JSON.parse(x), {
|
|
125739
|
+
sortMapEntries: (L, A) => VG(L, A, a)
|
|
125740
|
+
});
|
|
125741
|
+
}, [g, e, a, r]), w = br(() => {
|
|
125742
|
+
if (!n?.codeEditorValue?.value || i)
|
|
125743
|
+
return "";
|
|
125744
|
+
const x = g ? n?.codeEditorValue?.resolvedValue : n?.codeEditorValue?.value;
|
|
125745
|
+
return mz(JSON.parse(x), {
|
|
125746
|
+
sortMapEntries: (L, A) => VG(L, A, a)
|
|
125747
|
+
});
|
|
125748
|
+
}, [g, n, a, i]), y = () => /* @__PURE__ */ v.jsx(
|
|
125735
125749
|
dve,
|
|
125736
125750
|
{
|
|
125737
|
-
value:
|
|
125738
|
-
|
|
125739
|
-
}),
|
|
125740
|
-
defaultValue: !n?.codeEditorValue?.value || i ? "" : mz(JSON.parse(w), {
|
|
125741
|
-
sortMapEntries: (x, L) => VG(x, L, a)
|
|
125742
|
-
}),
|
|
125751
|
+
value: b,
|
|
125752
|
+
defaultValue: w,
|
|
125743
125753
|
height: u,
|
|
125744
125754
|
diffView: t && !0,
|
|
125745
125755
|
readOnly: !0,
|
|
@@ -126126,7 +126136,7 @@ const mst = ({
|
|
|
126126
126136
|
target: "_blank",
|
|
126127
126137
|
rel: "noopener noreferrer",
|
|
126128
126138
|
className: "commit-hash",
|
|
126129
|
-
onClick:
|
|
126139
|
+
onClick: yr,
|
|
126130
126140
|
"data-testid": `deployment-history-source-code-material-history${a}`,
|
|
126131
126141
|
children: /* @__PURE__ */ v.jsxs(
|
|
126132
126142
|
"div",
|
|
@@ -126200,7 +126210,7 @@ const mst = ({
|
|
|
126200
126210
|
target: "_blank",
|
|
126201
126211
|
rel: "noopener noreferrer",
|
|
126202
126212
|
className: "commit-hash",
|
|
126203
|
-
onClick:
|
|
126213
|
+
onClick: yr,
|
|
126204
126214
|
children: [
|
|
126205
126215
|
/* @__PURE__ */ v.jsx(J4, { className: "commit-hash__icon" }),
|
|
126206
126216
|
g.data["source checkout"]
|
|
@@ -126230,7 +126240,7 @@ const mst = ({
|
|
|
126230
126240
|
target: "_blank",
|
|
126231
126241
|
rel: "noopener noreferrer",
|
|
126232
126242
|
className: "commit-hash",
|
|
126233
|
-
onClick:
|
|
126243
|
+
onClick: yr,
|
|
126234
126244
|
children: [
|
|
126235
126245
|
/* @__PURE__ */ v.jsx(J4, { className: "commit-hash__icon" }),
|
|
126236
126246
|
g.data["target checkout"]
|
|
@@ -126895,7 +126905,7 @@ const Sst = nt.memo(
|
|
|
126895
126905
|
};
|
|
126896
126906
|
O(+D, N, W);
|
|
126897
126907
|
}, [F, j, W]);
|
|
126898
|
-
const R =
|
|
126908
|
+
const R = br(() => !A || fTe.has(A.podStatus?.toLowerCase() || A.status?.toLowerCase()) ? null : gTe.has(A.status?.toLowerCase() || A.podStatus?.toLowerCase()) ? 1e4 : 3e4, [A]);
|
|
126899
126909
|
return A1e(k, R), !q && E && !A || !D || q && (F || E) && !A ? /* @__PURE__ */ v.jsx(ts, { pageLoader: !0 }) : T?.code === 404 ? /* @__PURE__ */ v.jsx(
|
|
126900
126910
|
yo,
|
|
126901
126911
|
{
|
|
@@ -131775,7 +131785,7 @@ function Zot() {
|
|
|
131775
131785
|
}, XP;
|
|
131776
131786
|
}
|
|
131777
131787
|
var JP, Yie;
|
|
131778
|
-
function
|
|
131788
|
+
function Lr() {
|
|
131779
131789
|
return Yie || (Yie = 1, JP = process.env.NODE_ENV === "production" ? Kst() : Zot()), JP;
|
|
131780
131790
|
}
|
|
131781
131791
|
var $P = {}, e5 = { exports: {} }, Gie;
|
|
@@ -133125,7 +133135,7 @@ function a2() {
|
|
|
133125
133135
|
Object.defineProperty(n, "__esModule", {
|
|
133126
133136
|
value: !0
|
|
133127
133137
|
}), n.default = void 0;
|
|
133128
|
-
var t = e(_s()), i = e(hY()), r = e(ui()), s =
|
|
133138
|
+
var t = e(_s()), i = e(hY()), r = e(ui()), s = Lr(), o = (0, s.and)([r.default.instanceOf(Set), function(l, c) {
|
|
133129
133139
|
for (var d = arguments.length, u = new Array(d > 2 ? d - 2 : 0), h = 2; h < d; h++)
|
|
133130
133140
|
u[h - 2] = arguments[h];
|
|
133131
133141
|
var f = l[c], g;
|
|
@@ -133144,7 +133154,7 @@ function y_e() {
|
|
|
133144
133154
|
Object.defineProperty(n, "__esModule", {
|
|
133145
133155
|
value: !0
|
|
133146
133156
|
}), n.default = n.PureCalendarDay = void 0;
|
|
133147
|
-
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c = e(id()), d =
|
|
133157
|
+
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c = e(id()), d = Lr(), u = ka(), h = e(dn), f = e(uY()), g = lo(), p = e(Xo()), m = e(__e()), _ = e(a2()), b = hn();
|
|
133148
133158
|
function w(L, A) {
|
|
133149
133159
|
var E = Object.keys(L);
|
|
133150
133160
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -133429,7 +133439,7 @@ function mat() {
|
|
|
133429
133439
|
Object.defineProperty(n, "__esModule", {
|
|
133430
133440
|
value: !0
|
|
133431
133441
|
}), n.default = o;
|
|
133432
|
-
var t = e(nt), i = e(ui()), r =
|
|
133442
|
+
var t = e(nt), i = e(ui()), r = Lr(), s = process.env.NODE_ENV !== "production" ? (0, r.forbidExtraProps)({
|
|
133433
133443
|
children: i.default.node.isRequired
|
|
133434
133444
|
}) : {};
|
|
133435
133445
|
function o(a) {
|
|
@@ -133547,7 +133557,7 @@ function S_e() {
|
|
|
133547
133557
|
Object.defineProperty(n, "__esModule", {
|
|
133548
133558
|
value: !0
|
|
133549
133559
|
}), n.default = void 0;
|
|
133550
|
-
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c = e(id()), d =
|
|
133560
|
+
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c = e(id()), d = Lr(), u = ka(), h = e(dn), f = lo(), g = e(Xo()), p = e(mat()), m = e(y_e()), _ = e(w_e()), b = e(vat()), w = e(y0()), y = e(LD()), S = e(a2()), I = e(X1()), D = e(w0()), x = hn();
|
|
133551
133561
|
function L(O, q) {
|
|
133552
133562
|
var F = Object.keys(O);
|
|
133553
133563
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -133941,7 +133951,7 @@ function I_e() {
|
|
|
133941
133951
|
Object.defineProperty(n, "__esModule", {
|
|
133942
133952
|
value: !0
|
|
133943
133953
|
}), n.default = void 0;
|
|
133944
|
-
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c = e(id()), d =
|
|
133954
|
+
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c = e(id()), d = Lr(), u = ka(), h = e(dn), f = c2, g = lo(), p = e(Xo()), m = e(Kg()), _ = e(S_e()), b = e(Iat()), w = e(Lat()), y = e(D_e()), S = e(d2()), I = e(Mat()), D = e(xat()), x = e(a2()), L = e(X1()), A = e(w0()), E = hn();
|
|
133945
133955
|
function M(W, R) {
|
|
133946
133956
|
var N = Object.keys(W);
|
|
133947
133957
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -134523,7 +134533,7 @@ function Zat() {
|
|
|
134523
134533
|
return function(S, I, D) {
|
|
134524
134534
|
return I && y(S.prototype, I), D && y(S, D), S;
|
|
134525
134535
|
};
|
|
134526
|
-
}(), t = nt, i = h(t), r = ui(), s = h(r), o =
|
|
134536
|
+
}(), t = nt, i = h(t), r = ui(), s = h(r), o = Lr(), a = c2, l = o2(), c = h(l), d = Kat(), u = h(d);
|
|
134527
134537
|
function h(y) {
|
|
134528
134538
|
return y && y.__esModule ? y : { default: y };
|
|
134529
134539
|
}
|
|
@@ -134763,7 +134773,7 @@ function P_e() {
|
|
|
134763
134773
|
Object.defineProperty(n, "__esModule", {
|
|
134764
134774
|
value: !0
|
|
134765
134775
|
}), n.default = void 0;
|
|
134766
|
-
var t = e(ui()), i = e(id()), r =
|
|
134776
|
+
var t = e(ui()), i = e(id()), r = Lr(), s = lo(), o = e(Xo()), a = e(E_e()), l = e($1()), c = e(k_e()), d = e(MD()), u = e(O_e()), h = e(S0()), f = e(w0()), g = e(xD()), p = e(eb()), m = {
|
|
134767
134777
|
// required props for a functional interactive DateRangePicker
|
|
134768
134778
|
startDate: i.default.momentObj,
|
|
134769
134779
|
endDate: i.default.momentObj,
|
|
@@ -135138,7 +135148,7 @@ function H_e() {
|
|
|
135138
135148
|
Object.defineProperty(n, "__esModule", {
|
|
135139
135149
|
value: !0
|
|
135140
135150
|
}), n.default = void 0;
|
|
135141
|
-
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c =
|
|
135151
|
+
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c = Lr(), d = ka(), u = e(W_e()), h = e(J1()), f = e(Kg()), g = e(mY()), p = e(S0()), m = hn();
|
|
135142
135152
|
function _(E, M) {
|
|
135143
135153
|
var T = Object.keys(E);
|
|
135144
135154
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -135480,7 +135490,7 @@ function G_e() {
|
|
|
135480
135490
|
Object.defineProperty(n, "__esModule", {
|
|
135481
135491
|
value: !0
|
|
135482
135492
|
}), n.default = void 0;
|
|
135483
|
-
var t = e(Ta()), i = e(_s()), r = e(nt), s = e(ui()), o =
|
|
135493
|
+
var t = e(Ta()), i = e(_s()), r = e(nt), s = e(ui()), o = Lr(), a = ka(), l = lo(), c = e(Xo()), d = e(Kg()), u = e(S0()), h = e(H_e()), f = e($1()), g = e(MD()), p = e(V_e()), m = e(U_e()), _ = e(kD()), b = e(Y_e()), w = hn();
|
|
135484
135494
|
function y(A, E) {
|
|
135485
135495
|
var M = Object.keys(A);
|
|
135486
135496
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -135789,7 +135799,7 @@ function Q_e() {
|
|
|
135789
135799
|
Object.defineProperty(n, "__esModule", {
|
|
135790
135800
|
value: !0
|
|
135791
135801
|
}), n.default = void 0;
|
|
135792
|
-
var t = e(Ko()), i = e(pl()), r = e(Zo()), s = e(nt), o = e(ui()), a = e(dn), l = e(id()), c =
|
|
135802
|
+
var t = e(Ko()), i = e(pl()), r = e(Zo()), s = e(nt), o = e(ui()), a = e(dn), l = e(id()), c = Lr(), d = e(S0()), u = lo(), h = e(Xo()), f = e(G_e()), g = e($1()), p = e(MD()), m = e(Z1()), _ = e(_Y()), b = e(tb()), w = e(ND()), y = hn(), S = process.env.NODE_ENV !== "production" ? (0, c.forbidExtraProps)({
|
|
135793
135803
|
children: o.default.node,
|
|
135794
135804
|
startDate: l.default.momentObj,
|
|
135795
135805
|
startDateId: o.default.string,
|
|
@@ -136300,7 +136310,7 @@ function Tlt() {
|
|
|
136300
136310
|
Object.defineProperty(n, "__esModule", {
|
|
136301
136311
|
value: !0
|
|
136302
136312
|
}), n.default = void 0;
|
|
136303
|
-
var t = e(Ko()), i = e(Ta()), r = e(hY()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c =
|
|
136313
|
+
var t = e(Ko()), i = e(Ta()), r = e(hY()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c = Lr(), d = ka(), u = lo(), h = e(Xo()), f = e(Kg()), g = e(U_e()), p = e(V_e()), m = e(Nlt()), _ = e(Alt()), b = e(eb()), w = e(X1()), y = hn();
|
|
136304
136314
|
function S(E, M) {
|
|
136305
136315
|
var T = Object.keys(E);
|
|
136306
136316
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -136577,7 +136587,7 @@ function Elt() {
|
|
|
136577
136587
|
Object.defineProperty(n, "__esModule", {
|
|
136578
136588
|
value: !0
|
|
136579
136589
|
}), n.default = void 0;
|
|
136580
|
-
var t = e(Ta()), i = e(_s()), r = e(nt), s = e(ui()), o =
|
|
136590
|
+
var t = e(Ta()), i = e(_s()), r = e(nt), s = e(ui()), o = Lr(), a = ka();
|
|
136581
136591
|
function l(g, p) {
|
|
136582
136592
|
var m = Object.keys(g);
|
|
136583
136593
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -136666,7 +136676,7 @@ function klt() {
|
|
|
136666
136676
|
Object.defineProperty(n, "__esModule", {
|
|
136667
136677
|
value: !0
|
|
136668
136678
|
}), n.default = n.BOTTOM_RIGHT = n.TOP_RIGHT = n.TOP_LEFT = void 0;
|
|
136669
|
-
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c =
|
|
136679
|
+
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c = Lr(), d = ka(), u = lo(), h = e(Xo()), f = e(Elt()), g = e(kD());
|
|
136670
136680
|
function p(L, A) {
|
|
136671
136681
|
var E = Object.keys(L);
|
|
136672
136682
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -137020,7 +137030,7 @@ function CY() {
|
|
|
137020
137030
|
Object.defineProperty(n, "__esModule", {
|
|
137021
137031
|
value: !0
|
|
137022
137032
|
}), n.default = n.PureDayPicker = n.defaultProps = void 0;
|
|
137023
|
-
var i = t(Ko()), r = t(Ta()), s = t(hY()), o = t(pl()), a = t(Zo()), l = t(_s()), c = t(nt), d = t(ui()), u =
|
|
137033
|
+
var i = t(Ko()), r = t(Ta()), s = t(hY()), o = t(pl()), a = t(Zo()), l = t(_s()), c = t(nt), d = t(ui()), u = Lr(), h = ka(), f = t(dn), g = t(W_e()), p = t(J1()), m = t(pY()), _ = lo(), b = t(Xo()), w = t(Kg()), y = t(I_e()), S = t(Tlt()), I = e(klt()), D = t(Olt()), x = t(D_e()), L = t(w_e()), A = t(Plt()), E = t(bY()), M = t(fY()), T = t(a2()), k = t(eb()), O = t(X1()), q = t(w0()), F = t(xD()), j = hn();
|
|
137024
137034
|
function W(V, ge) {
|
|
137025
137035
|
var Ie = Object.keys(V);
|
|
137026
137036
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -137529,8 +137539,8 @@ function CY() {
|
|
|
137529
137539
|
key: "week-".concat(ee)
|
|
137530
137540
|
}), c.default.createElement("ul", (0, h.css)(ie.DayPicker_weekHeader_ul), Se));
|
|
137531
137541
|
}, ge.render = function() {
|
|
137532
|
-
for (var ee = this, we = this.state, Ae = we.calendarMonthWidth, Be = we.currentMonth, ae = we.monthTransition, re = we.translationValue, ie = we.scrollableMonthMultiple, z = we.focusedDate, U = we.showKeyboardShortcuts, K = we.isTouchDevice, X = we.hasSetHeight, pe = we.calendarInfoWidth, Me = we.monthTitleHeight, Se = this.props, Ue = Se.enableOutsideDays, We = Se.numberOfMonths, Ze = Se.orientation, ve = Se.modifiers, H = Se.withPortal, de = Se.onDayClick, Le = Se.onDayMouseEnter, Oe = Se.onDayMouseLeave, ke = Se.firstDayOfWeek, $e = Se.renderMonthText, gt = Se.renderCalendarDay, jt = Se.renderDayContents, Kt = Se.renderCalendarInfo, St = Se.renderMonthElement, Ft = Se.renderKeyboardShortcutsButton, li = Se.renderKeyboardShortcutsPanel, _i = Se.calendarInfoPosition, rt = Se.hideKeyboardShortcutsPanel, _n = Se.onOutsideClick, Mi = Se.monthFormat, Pn = Se.daySize, be = Se.isFocused, Qe = Se.isRTL, it = Se.styles, Nt = Se.theme, Zt = Se.phrases, Yt = Se.verticalHeight, Gt = Se.dayAriaLabelFormat, Et = Se.noBorder, fn = Se.transitionDuration, hi = Se.verticalBorderSpacing, Qi = Se.horizontalMonthPadding, mt = Se.navPosition, De = Nt.reactDates.spacing.dayPickerHorizontalPadding, Xe = this.isHorizontal(), ct = this.isVertical() ? 1 : We, gn = [],
|
|
137533
|
-
gn.push(this.renderWeekHeader(
|
|
137542
|
+
for (var ee = this, we = this.state, Ae = we.calendarMonthWidth, Be = we.currentMonth, ae = we.monthTransition, re = we.translationValue, ie = we.scrollableMonthMultiple, z = we.focusedDate, U = we.showKeyboardShortcuts, K = we.isTouchDevice, X = we.hasSetHeight, pe = we.calendarInfoWidth, Me = we.monthTitleHeight, Se = this.props, Ue = Se.enableOutsideDays, We = Se.numberOfMonths, Ze = Se.orientation, ve = Se.modifiers, H = Se.withPortal, de = Se.onDayClick, Le = Se.onDayMouseEnter, Oe = Se.onDayMouseLeave, ke = Se.firstDayOfWeek, $e = Se.renderMonthText, gt = Se.renderCalendarDay, jt = Se.renderDayContents, Kt = Se.renderCalendarInfo, St = Se.renderMonthElement, Ft = Se.renderKeyboardShortcutsButton, li = Se.renderKeyboardShortcutsPanel, _i = Se.calendarInfoPosition, rt = Se.hideKeyboardShortcutsPanel, _n = Se.onOutsideClick, Mi = Se.monthFormat, Pn = Se.daySize, be = Se.isFocused, Qe = Se.isRTL, it = Se.styles, Nt = Se.theme, Zt = Se.phrases, Yt = Se.verticalHeight, Gt = Se.dayAriaLabelFormat, Et = Se.noBorder, fn = Se.transitionDuration, hi = Se.verticalBorderSpacing, Qi = Se.horizontalMonthPadding, mt = Se.navPosition, De = Nt.reactDates.spacing.dayPickerHorizontalPadding, Xe = this.isHorizontal(), ct = this.isVertical() ? 1 : We, gn = [], Mr = 0; Mr < ct; Mr += 1)
|
|
137543
|
+
gn.push(this.renderWeekHeader(Mr));
|
|
137534
137544
|
var is = Ze === j.VERTICAL_SCROLLABLE, Un;
|
|
137535
137545
|
Xe ? Un = this.calendarMonthGridHeight : this.isVertical() && !is && !H && (Un = Yt || 1.75 * Ae);
|
|
137536
137546
|
var Oa = ae !== null, lb = !Oa && be, cb = I.BOTTOM_RIGHT;
|
|
@@ -137746,7 +137756,7 @@ function $_e() {
|
|
|
137746
137756
|
Object.defineProperty(n, "__esModule", {
|
|
137747
137757
|
value: !0
|
|
137748
137758
|
}), n.default = void 0;
|
|
137749
|
-
var t = e(Ko()), i = e(q_e()), r = e(_s()), s = e(pl()), o = e(Zo()), a = e(nt), l = e(ui()), c = e(id()), d =
|
|
137759
|
+
var t = e(Ko()), i = e(q_e()), r = e(_s()), s = e(pl()), o = e(Zo()), a = e(nt), l = e(ui()), c = e(id()), d = Lr(), u = e(dn), h = e(o2()), f = e(J1()), g = lo(), p = e(Xo()), m = e(tb()), _ = e(K_e()), b = e(y0()), w = e(u2()), y = e(ND()), S = e(Llt()), I = e(Z_e()), D = e(bY()), x = e(Mlt()), L = e(LD()), A = X_e(), E = e(MD()), M = e(E_e()), T = e(X1()), k = e(w0()), O = e(xD()), q = e(eb()), F = hn(), j = e(CY()), W = e(J_e());
|
|
137750
137760
|
function R(se, oe) {
|
|
137751
137761
|
var _e = Object.keys(se);
|
|
137752
137762
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -138453,7 +138463,7 @@ function Rlt() {
|
|
|
138453
138463
|
Object.defineProperty(n, "__esModule", {
|
|
138454
138464
|
value: !0
|
|
138455
138465
|
}), n.default = n.PureDateRangePicker = void 0;
|
|
138456
|
-
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(dn), c = ka(), d = N_e, u =
|
|
138466
|
+
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(dn), c = ka(), d = N_e, u = Lr(), h = c2, f = e(J1()), g = e(pY()), p = e(P_e()), m = lo(), _ = e(R_e()), b = e(j_e()), w = e(mY()), y = e(tb()), S = e(F_e()), I = e(Kg()), D = e(Q_e()), x = e($_e()), L = e(kD()), A = hn();
|
|
138457
138467
|
function E(F, j) {
|
|
138458
138468
|
var W = Object.keys(F);
|
|
138459
138469
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -138858,7 +138868,7 @@ function e1e() {
|
|
|
138858
138868
|
Object.defineProperty(n, "__esModule", {
|
|
138859
138869
|
value: !0
|
|
138860
138870
|
}), n.default = void 0;
|
|
138861
|
-
var t = e(Ko()), i = e(q_e()), r = e(_s()), s = e(pl()), o = e(Zo()), a = e(nt), l = e(ui()), c = e(id()), d =
|
|
138871
|
+
var t = e(Ko()), i = e(q_e()), r = e(_s()), s = e(pl()), o = e(Zo()), a = e(nt), l = e(ui()), c = e(id()), d = Lr(), u = e(dn), h = e(o2()), f = e(J1()), g = lo(), p = e(Xo()), m = e(y0()), _ = e(u2()), b = e(Z_e()), w = e(LD()), y = X_e(), S = e(X1()), I = e(w0()), D = e(xD()), x = e(eb()), L = hn(), A = e(CY()), E = e(J_e());
|
|
138862
138872
|
function M(F, j) {
|
|
138863
138873
|
var W = Object.keys(F);
|
|
138864
138874
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -139282,7 +139292,7 @@ function t1e() {
|
|
|
139282
139292
|
Object.defineProperty(n, "__esModule", {
|
|
139283
139293
|
value: !0
|
|
139284
139294
|
}), n.default = void 0;
|
|
139285
|
-
var t = e(ui()), i = e(id()), r =
|
|
139295
|
+
var t = e(ui()), i = e(id()), r = Lr(), s = lo(), o = e(Xo()), a = e($1()), l = e(k_e()), c = e(O_e()), d = e(S0()), u = e(w0()), h = e(xD()), f = e(eb()), g = {
|
|
139286
139296
|
// required props for a functional interactive SingleDatePicker
|
|
139287
139297
|
date: i.default.momentObj,
|
|
139288
139298
|
onDateChange: t.default.func.isRequired,
|
|
@@ -139366,7 +139376,7 @@ function i1e() {
|
|
|
139366
139376
|
Object.defineProperty(n, "__esModule", {
|
|
139367
139377
|
value: !0
|
|
139368
139378
|
}), n.default = void 0;
|
|
139369
|
-
var t = e(Ta()), i = e(_s()), r = e(nt), s = e(ui()), o =
|
|
139379
|
+
var t = e(Ta()), i = e(_s()), r = e(nt), s = e(ui()), o = Lr(), a = ka(), l = lo(), c = e(Xo()), d = e(Kg()), u = e(H_e()), h = e($1()), f = e(kD()), g = e(Y_e()), p = e(S0()), m = hn();
|
|
139370
139380
|
function _(D, x) {
|
|
139371
139381
|
var L = Object.keys(D);
|
|
139372
139382
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -139604,7 +139614,7 @@ function jlt() {
|
|
|
139604
139614
|
Object.defineProperty(n, "__esModule", {
|
|
139605
139615
|
value: !0
|
|
139606
139616
|
}), n.default = void 0;
|
|
139607
|
-
var t = e(Ko()), i = e(pl()), r = e(Zo()), s = e(nt), o = e(ui()), a = e(dn), l = e(id()), c =
|
|
139617
|
+
var t = e(Ko()), i = e(pl()), r = e(Zo()), s = e(nt), o = e(ui()), a = e(dn), l = e(id()), c = Lr(), d = e(S0()), u = lo(), h = e(Xo()), f = e(i1e()), g = e($1()), p = e(MD()), m = e(Z1()), _ = e(_Y()), b = e(tb()), w = hn(), y = process.env.NODE_ENV !== "production" ? (0, c.forbidExtraProps)({
|
|
139608
139618
|
children: o.default.node,
|
|
139609
139619
|
date: l.default.momentObj,
|
|
139610
139620
|
onDateChange: o.default.func.isRequired,
|
|
@@ -139768,7 +139778,7 @@ function Flt() {
|
|
|
139768
139778
|
Object.defineProperty(n, "__esModule", {
|
|
139769
139779
|
value: !0
|
|
139770
139780
|
}), n.default = n.PureSingleDatePicker = void 0;
|
|
139771
|
-
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(dn), c = ka(), d = N_e, u =
|
|
139781
|
+
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(dn), c = ka(), d = N_e, u = Lr(), h = c2, f = e(J1()), g = e(pY()), p = e(t1e()), m = lo(), _ = e(R_e()), b = e(j_e()), w = e(mY()), y = e(tb()), S = e(F_e()), I = e(Kg()), D = e(jlt()), x = e(e1e()), L = e(kD()), A = hn();
|
|
139772
139782
|
function E(F, j) {
|
|
139773
139783
|
var W = Object.keys(F);
|
|
139774
139784
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -140451,7 +140461,7 @@ function s1e() {
|
|
|
140451
140461
|
Object.defineProperty(n, "__esModule", {
|
|
140452
140462
|
value: !0
|
|
140453
140463
|
}), n.default = n.PureCustomizableCalendarDay = n.selectedStyles = n.lastInRangeStyles = n.selectedSpanStyles = n.hoveredSpanStyles = n.blockedOutOfRangeStyles = n.blockedCalendarStyles = n.blockedMinNightsStyles = n.highlightedCalendarStyles = n.outsideStyles = n.defaultStyles = void 0;
|
|
140454
|
-
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c = e(id()), d =
|
|
140464
|
+
var t = e(Ko()), i = e(Ta()), r = e(pl()), s = e(Zo()), o = e(_s()), a = e(nt), l = e(ui()), c = e(id()), d = Lr(), u = ka(), h = e(dn), f = e(uY()), g = lo(), p = e(Xo()), m = e(__e()), _ = hn(), b = e(s1e());
|
|
140455
140465
|
function w(G, Q) {
|
|
140456
140466
|
var le = Object.keys(G);
|
|
140457
140467
|
if (Object.getOwnPropertySymbols) {
|
|
@@ -142269,7 +142279,7 @@ var Gct = Ko();
|
|
|
142269
142279
|
const toe = /* @__PURE__ */ Xm(Gct);
|
|
142270
142280
|
var Qct = id();
|
|
142271
142281
|
const qct = /* @__PURE__ */ Xm(Qct);
|
|
142272
|
-
var ZN =
|
|
142282
|
+
var ZN = Lr(), IY = ka(), Kct = uY();
|
|
142273
142283
|
const Zct = /* @__PURE__ */ Xm(Kct);
|
|
142274
142284
|
var Xct = function(e) {
|
|
142275
142285
|
var t = e.date;
|
|
@@ -143124,7 +143134,7 @@ const Rdt = ({ URL: n, width: e, height: t, title: i, maxHeight: r, maxWidth: s
|
|
|
143124
143134
|
"div",
|
|
143125
143135
|
{
|
|
143126
143136
|
className: "dc__overflow-scroll br-8 dc__position-rel bcn-0 custom-panel--iframe-element flexbox-col dc__content-space",
|
|
143127
|
-
onClick:
|
|
143137
|
+
onClick: yr,
|
|
143128
143138
|
children: [
|
|
143129
143139
|
/* @__PURE__ */ v.jsxs("div", { className: "flexbox dc__align-items-center dc__content-space dc__border-bottom py-20 px-16", children: [
|
|
143130
143140
|
/* @__PURE__ */ v.jsx("h3", { className: "m-0 cn-9 fs-16 fw-6 lh-24 dc__truncate", children: i }),
|
|
@@ -143318,7 +143328,7 @@ const aDt = {
|
|
|
143318
143328
|
et(() => {
|
|
143319
143329
|
d(o());
|
|
143320
143330
|
}, [t]);
|
|
143321
|
-
const u =
|
|
143331
|
+
const u = br(
|
|
143322
143332
|
() => n?.map((b) => ({ label: b, value: b })) || [],
|
|
143323
143333
|
[n]
|
|
143324
143334
|
), h = (b) => {
|
|
@@ -143439,7 +143449,7 @@ const aDt = {
|
|
|
143439
143449
|
className: "anchor fs-12 fw-6 lh-20",
|
|
143440
143450
|
target: "_blank",
|
|
143441
143451
|
rel: "noopener noreferrer",
|
|
143442
|
-
onClick:
|
|
143452
|
+
onClick: yr,
|
|
143443
143453
|
children: "Learn more"
|
|
143444
143454
|
}
|
|
143445
143455
|
),
|
|
@@ -144128,7 +144138,7 @@ const aut = (n) => {
|
|
|
144128
144138
|
variant: u = NY.DEFAULT,
|
|
144129
144139
|
...h
|
|
144130
144140
|
}) => {
|
|
144131
|
-
const { inputId: f, required: g, isDisabled: p } = h, m = `${f}-label`, _ = `${f}-error-msg`, b =
|
|
144141
|
+
const { inputId: f, required: g, isDisabled: p } = h, m = `${f}-label`, _ = `${f}-error-msg`, b = br(
|
|
144132
144142
|
() => lut({
|
|
144133
144143
|
error: n,
|
|
144134
144144
|
size: a,
|
|
@@ -144474,8 +144484,7 @@ const roe = (n) => (e) => /* @__PURE__ */ v.jsx(bi, { ...n, className: `default-
|
|
|
144474
144484
|
rootClassName: "m-16 mt-0-imp dc__no-top-radius dc__no-top-border",
|
|
144475
144485
|
comparisonBodyClassName: "m-16",
|
|
144476
144486
|
sortOrder: r?.sortOrder
|
|
144477
|
-
}
|
|
144478
|
-
`${h}-${r?.sortOrder || ""}`
|
|
144487
|
+
}
|
|
144479
144488
|
)
|
|
144480
144489
|
] })
|
|
144481
144490
|
},
|
|
@@ -144671,7 +144680,7 @@ function xM(n, e, t, i) {
|
|
|
144671
144680
|
let r = e[n], s = t[n];
|
|
144672
144681
|
return i && (r = r.toLowerCase(), s = s.toLowerCase()), r < s ? -1 : r > s ? 1 : 0;
|
|
144673
144682
|
}
|
|
144674
|
-
const
|
|
144683
|
+
const yr = (n) => {
|
|
144675
144684
|
n.stopPropagation();
|
|
144676
144685
|
}, bDt = (n) => {
|
|
144677
144686
|
n.preventDefault();
|
|
@@ -144803,7 +144812,7 @@ function XN(n, e = !1) {
|
|
|
144803
144812
|
return t;
|
|
144804
144813
|
}
|
|
144805
144814
|
function DDt() {
|
|
144806
|
-
const n = oA(), e =
|
|
144815
|
+
const n = oA(), e = br(() => new URLSearchParams(n.search), [n]), t = Array.from(e.entries()).reduce((i, r, s) => (i[r[0]] = r[1], i), {});
|
|
144807
144816
|
return { queryParams: e, searchParams: t };
|
|
144808
144817
|
}
|
|
144809
144818
|
const IDt = (n, e) => {
|
|
@@ -144877,7 +144886,7 @@ function Ag(n, e = [], t = !0, i = { resetOnChange: !0 }) {
|
|
|
144877
144886
|
result: null,
|
|
144878
144887
|
error: null,
|
|
144879
144888
|
dependencies: e
|
|
144880
|
-
}), o = qt(!0), a =
|
|
144889
|
+
}), o = qt(!0), a = br(() => [...e, t], [...e, t]), l = () => {
|
|
144881
144890
|
async function d() {
|
|
144882
144891
|
try {
|
|
144883
144892
|
s((h) => ({
|
|
@@ -145071,7 +145080,7 @@ function Rut(n) {
|
|
|
145071
145080
|
function u(_) {
|
|
145072
145081
|
_.deltaY < 0 && c(!1);
|
|
145073
145082
|
}
|
|
145074
|
-
const [h, f] =
|
|
145083
|
+
const [h, f] = br(() => {
|
|
145075
145084
|
if (!e.current)
|
|
145076
145085
|
return [!1, !1];
|
|
145077
145086
|
let _ = !0;
|
|
@@ -145389,7 +145398,7 @@ class f2 extends nt.Component {
|
|
|
145389
145398
|
this.escFunction = this.escFunction.bind(this);
|
|
145390
145399
|
}
|
|
145391
145400
|
escFunction(t) {
|
|
145392
|
-
|
|
145401
|
+
yr(t), (t.keyCode === 27 || t.key === "Escape") && (this.props.onEscape ? this.props.onEscape(t) : this.props.close && this.props.close(t));
|
|
145393
145402
|
}
|
|
145394
145403
|
componentDidMount() {
|
|
145395
145404
|
document.addEventListener("keydown", this.escFunction), this.modalRef.classList.add(this.props.noBackground ? "show" : "show-with-bg"), x_(!0), this.props.parentClassName && this.modalRef.classList.add(this.props.parentClassName);
|
|
@@ -145439,7 +145448,7 @@ class Qut extends nt.Component {
|
|
|
145439
145448
|
this.escFunction = this.escFunction.bind(this);
|
|
145440
145449
|
}
|
|
145441
145450
|
escFunction(t) {
|
|
145442
|
-
|
|
145451
|
+
yr(t), t.keyCode === 27 && this.props.close && this.props.close(t);
|
|
145443
145452
|
}
|
|
145444
145453
|
componentDidMount() {
|
|
145445
145454
|
document.addEventListener("keydown", this.escFunction), this.modalRef.classList.add("show-with-bg"), x_(!0);
|
|
@@ -145494,13 +145503,13 @@ function zDt(n, e) {
|
|
|
145494
145503
|
const f = h.reduce((g, p, m) => (delete g[p], g), o.alias);
|
|
145495
145504
|
a((g) => ({ ...g, alias: f }));
|
|
145496
145505
|
}
|
|
145497
|
-
const d =
|
|
145506
|
+
const d = br(() => {
|
|
145498
145507
|
const h = r.split("/").filter(Boolean), f = i.split("/").filter(Boolean);
|
|
145499
145508
|
return h.map((g, p) => {
|
|
145500
145509
|
const m = { to: f[p], name: g };
|
|
145501
145510
|
return g.startsWith(":") && s[g.replace(":", "")] && (m.className = "param"), m;
|
|
145502
145511
|
});
|
|
145503
|
-
}, [r, i]), { res: u } =
|
|
145512
|
+
}, [r, i]), { res: u } = br(
|
|
145504
145513
|
() => d.reduce(
|
|
145505
145514
|
(h, f, g) => {
|
|
145506
145515
|
const { res: p, prefix: m } = h, { to: _, name: b } = f;
|
|
@@ -145548,7 +145557,7 @@ const O1e = ({
|
|
|
145548
145557
|
onChange: (n) => {
|
|
145549
145558
|
}
|
|
145550
145559
|
}), Xut = ({ name: n, value: e, disabled: t, onChange: i, className: r, children: s }) => {
|
|
145551
|
-
const o =
|
|
145560
|
+
const o = br(() => ({ name: n, value: e, disabled: t, onChange: i }), [n, e, t, i]);
|
|
145552
145561
|
return /* @__PURE__ */ v.jsx("div", { className: `form__radio-group ${r || ""}`, children: /* @__PURE__ */ v.jsx(P1e.Provider, { value: o, children: s }) });
|
|
145553
145562
|
}, WDt = Xut, Jut = ({ value: n, disabled: e, children: t, dataTestId: i }) => /* @__PURE__ */ v.jsx(P1e.Consumer, { children: (r) => (
|
|
145554
145563
|
// eslint-disable-next-line jsx-a11y/label-has-associated-control
|
|
@@ -145719,12 +145728,12 @@ const poe = ({
|
|
|
145719
145728
|
}, b = (L) => {
|
|
145720
145729
|
h(L.target.value);
|
|
145721
145730
|
}, w = (L) => {
|
|
145722
|
-
|
|
145731
|
+
yr(L);
|
|
145723
145732
|
const A = { ...e };
|
|
145724
145733
|
A[s] = L.currentTarget.dataset.key, A.propagate = L.currentTarget.dataset.propagate === "true", t(n, A), g("");
|
|
145725
145734
|
}, y = () => {
|
|
145726
145735
|
let L = { isValid: !0, messages: [] };
|
|
145727
|
-
return s === zu.KEY ? (u || e.value) && (L = p.propagateTagKey(u)) : (r || u || e.propagate) && (L = p.propagateTagValue(u, e.key)), L.isValid ? null : /* @__PURE__ */ v.jsxs("div", { className: "p-4", onClick:
|
|
145736
|
+
return s === zu.KEY ? (u || e.value) && (L = p.propagateTagKey(u)) : (r || u || e.propagate) && (L = p.propagateTagValue(u, e.key)), L.isValid ? null : /* @__PURE__ */ v.jsxs("div", { className: "p-4", onClick: yr, "data-testid": "tag-label-cross-stop-propagation", children: [
|
|
145728
145737
|
L.messages.map((A) => /* @__PURE__ */ v.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
|
|
145729
145738
|
/* @__PURE__ */ v.jsx("span", { children: /* @__PURE__ */ v.jsx(D1, { className: "icon-dim-14 scr-5 mt-3 mr-4" }) }),
|
|
145730
145739
|
/* @__PURE__ */ v.jsx("span", { children: A })
|
|
@@ -145805,7 +145814,7 @@ const poe = ({
|
|
|
145805
145814
|
suggestedTagsOptions: s
|
|
145806
145815
|
}) => {
|
|
145807
145816
|
const o = qt(null), a = qt(null), l = new j1e(), c = (u) => {
|
|
145808
|
-
|
|
145817
|
+
yr(u), i(n);
|
|
145809
145818
|
}, d = () => {
|
|
145810
145819
|
const u = { ...e };
|
|
145811
145820
|
u.propagate = !u.propagate, u.propagate ? (u.isInvalidKey = u.isInvalidKey || !u.key, u.isInvalidValue = u.isInvalidValue || !u.value) : (u.isInvalidKey = u.key || u.value ? !l.propagateTagKey(u.key).isValid : !1, u.isInvalidValue = u.value ? !l.propagateTagValue(u.value, u.key).isValid : !1), t(n, u);
|
|
@@ -146570,7 +146579,7 @@ const Lht = ({
|
|
|
146570
146579
|
}, Be = (ie) => {
|
|
146571
146580
|
ie.target.value && ue(ie.target.value), G(ie.target.value);
|
|
146572
146581
|
}, ae = (ie) => {
|
|
146573
|
-
|
|
146582
|
+
yr(ie), N.trim() && Y(N.trim());
|
|
146574
146583
|
}, re = () => {
|
|
146575
146584
|
let ie = T;
|
|
146576
146585
|
N.trim() && (ie = Y(N)), Ie(ie);
|
|
@@ -146622,10 +146631,10 @@ const Lht = ({
|
|
|
146622
146631
|
isSoftDeleted: ie?.deleted,
|
|
146623
146632
|
isEditing: S,
|
|
146624
146633
|
onSoftDeleteClick: (U) => {
|
|
146625
|
-
|
|
146634
|
+
yr(U), ne(z);
|
|
146626
146635
|
},
|
|
146627
146636
|
onHardDeleteClick: (U) => {
|
|
146628
|
-
|
|
146637
|
+
yr(U), V(z);
|
|
146629
146638
|
},
|
|
146630
146639
|
tagId: ie.id,
|
|
146631
146640
|
softDeleteTags: O,
|
|
@@ -146667,7 +146676,7 @@ const Lht = ({
|
|
|
146667
146676
|
className: "cta flex cancel h-32 lh-32-imp",
|
|
146668
146677
|
type: "button",
|
|
146669
146678
|
onClick: (ie) => {
|
|
146670
|
-
|
|
146679
|
+
yr(ie), _e();
|
|
146671
146680
|
},
|
|
146672
146681
|
disabled: Q,
|
|
146673
146682
|
children: "Cancel"
|
|
@@ -146680,7 +146689,7 @@ const Lht = ({
|
|
|
146680
146689
|
"data-testid": "save-tags-button",
|
|
146681
146690
|
type: "button",
|
|
146682
146691
|
onClick: (ie) => {
|
|
146683
|
-
|
|
146692
|
+
yr(ie), re();
|
|
146684
146693
|
},
|
|
146685
146694
|
disabled: Q,
|
|
146686
146695
|
children: Q ? /* @__PURE__ */ v.jsx(ts, {}) : "Save"
|
|
@@ -146702,10 +146711,10 @@ const Lht = ({
|
|
|
146702
146711
|
isSoftDeleted: ie?.deleted,
|
|
146703
146712
|
isEditing: S,
|
|
146704
146713
|
onSoftDeleteClick: (U) => {
|
|
146705
|
-
|
|
146714
|
+
yr(U), ne(z);
|
|
146706
146715
|
},
|
|
146707
146716
|
onHardDeleteClick: (U) => {
|
|
146708
|
-
|
|
146717
|
+
yr(U), V(z);
|
|
146709
146718
|
},
|
|
146710
146719
|
tagId: ie.id,
|
|
146711
146720
|
softDeleteTags: O,
|
|
@@ -146724,7 +146733,7 @@ const Lht = ({
|
|
|
146724
146733
|
className: "icon-dim-16 image-tags-container-edit__icon cursor",
|
|
146725
146734
|
"data-testid": "edit-tags-icon",
|
|
146726
146735
|
onClick: (ie) => {
|
|
146727
|
-
|
|
146736
|
+
yr(ie), se();
|
|
146728
146737
|
}
|
|
146729
146738
|
}
|
|
146730
146739
|
) })
|
|
@@ -146784,7 +146793,7 @@ const Lht = ({
|
|
|
146784
146793
|
);
|
|
146785
146794
|
}, Aht = ({ handleEditClick: n }) => {
|
|
146786
146795
|
const e = (t) => {
|
|
146787
|
-
|
|
146796
|
+
yr(t), n();
|
|
146788
146797
|
};
|
|
146789
146798
|
return /* @__PURE__ */ v.jsx("div", { className: "add-tag-button flex pt-12 pr-12", "data-testid": "add-tags-button", onClick: e, children: /* @__PURE__ */ v.jsxs("div", { className: "lh-16 flex", children: [
|
|
146790
146799
|
/* @__PURE__ */ v.jsx(PA, { className: "icon-dim-16 cn-6" }),
|
|
@@ -148926,7 +148935,7 @@ export {
|
|
|
148926
148935
|
As as aJ,
|
|
148927
148936
|
cl as aK,
|
|
148928
148937
|
xM as aL,
|
|
148929
|
-
|
|
148938
|
+
yr as aM,
|
|
148930
148939
|
bDt as aN,
|
|
148931
148940
|
AY as aO,
|
|
148932
148941
|
OD as aP,
|