@ansible/ansible-ui-framework 2.4.347 → 2.4.348

Sign up to get free protection for your applications and to get access to all the features.
package/index.js CHANGED
@@ -19,7 +19,7 @@ var Yk = (n, e, t, i) => ({
19
19
  });
20
20
  import * as ae from "react";
21
21
  import B, { useState as Ve, useCallback as Ue, useEffect as Ct, useRef as qi, useContext as Ks, createElement as sU, createContext as Jl, useId as dre, Fragment as Pd, useMemo as lt, Component as hre, isValidElement as qN, Children as KN, cloneElement as fre, useLayoutEffect as oU } from "react";
22
- import { Tooltip as Uo, Switch as aU, ButtonVariant as xc, Dropdown as lU, DropdownSeparator as gre, DropdownItem as kw, DropdownToggle as cU, KebabToggle as mre, Button as Qt, Split as $f, DropdownPosition as x2, Flex as vr, FlexItem as Nn, AlertGroup as pre, Alert as L2, AlertActionCloseButton as vre, Popover as k2, Stack as Fa, StackItem as Bh, FormGroup as D2, Select as uU, SelectVariant as _re, SelectOption as Js, Modal as jp, ModalVariant as zp, Form as dU, ClipboardCopy as bre, Truncate as Dw, SplitItem as qo, LabelGroup as hU, Label as PC, PageSection as Ba, Card as fU, CardHeader as gU, Text as vd, Title as Nl, CardBody as E2, Bullseye as mU, ProgressStepper as yre, ProgressStep as Cre, Skeleton as Wa, DescriptionListGroup as Hg, DescriptionListTerm as EE, DescriptionListDescription as jg, DescriptionList as Ew, DropdownToggleCheckbox as wre, SearchInput as pU, MenuToggle as vU, Spinner as _U, Chip as TE, ChipGroup as bU, ToolbarItem as ro, DatePicker as Z6, isValidDate as X6, InputGroup as T2, TextInputGroup as Sre, TextInputGroupMain as xre, TextInputGroupUtilities as Lre, ToolbarToggleGroup as yU, ToolbarGroup as x_, ToolbarFilter as kre, ToggleGroup as CU, ToggleGroupItem as RC, ToolbarContent as wU, Toolbar as IE, Pagination as SU, PaginationVariant as xU, EmptyState as GN, EmptyStateVariant as YN, EmptyStateIcon as ZN, EmptyStateBody as xm, EmptyStatePrimary as Dre, Divider as Tw, ModalBoxBody as L_, CardTitle as Ere, CardActions as Tre, Checkbox as XN, CardFooter as Ire, DataList as Are, DataListItem as Ore, DataListItemRow as Nre, DataListCheck as Mre, DataListItemCells as Pre, DataListCell as Q6, DataListAction as Rre, EmptyStateSecondaryActions as Fre, Progress as Bre, ProgressSize as Wre, ProgressVariant as J6, Icon as Vre, SelectGroup as $re, TextArea as Hre, TextInput as LU, ActionGroup as jre, Grid as zre, PageSectionVariants as e3, PageNavigation as Ure, Breadcrumb as qre, BreadcrumbItem as Kre, Masthead as Gre, MastheadMain as Yre, MastheadToggle as Zre, PageToggleButton as Xre, Tab as Qre, PageSectionTypes as kU, Tabs as DU } from "@patternfly/react-core";
22
+ import { Tooltip as Uo, Switch as aU, ButtonVariant as xc, Dropdown as lU, DropdownSeparator as gre, DropdownItem as kw, DropdownToggle as cU, KebabToggle as mre, Button as Yt, Split as $f, DropdownPosition as x2, Flex as vr, FlexItem as Nn, AlertGroup as pre, Alert as L2, AlertActionCloseButton as vre, Popover as k2, Stack as Fa, StackItem as Bh, FormGroup as D2, Select as uU, SelectVariant as _re, SelectOption as Js, Modal as jp, ModalVariant as zp, Form as dU, ClipboardCopy as bre, Truncate as Dw, SplitItem as qo, LabelGroup as hU, Label as PC, PageSection as Ba, Card as fU, CardHeader as gU, Text as vd, Title as Nl, CardBody as E2, Bullseye as mU, ProgressStepper as yre, ProgressStep as Cre, Skeleton as Wa, DescriptionListGroup as Hg, DescriptionListTerm as EE, DescriptionListDescription as jg, DescriptionList as Ew, DropdownToggleCheckbox as wre, SearchInput as pU, MenuToggle as vU, Spinner as _U, Chip as TE, ChipGroup as bU, ToolbarItem as ro, DatePicker as Z6, isValidDate as X6, InputGroup as T2, TextInputGroup as Sre, TextInputGroupMain as xre, TextInputGroupUtilities as Lre, ToolbarToggleGroup as yU, ToolbarGroup as x_, ToolbarFilter as kre, ToggleGroup as CU, ToggleGroupItem as RC, ToolbarContent as wU, Toolbar as IE, Pagination as SU, PaginationVariant as xU, EmptyState as GN, EmptyStateVariant as YN, EmptyStateIcon as ZN, EmptyStateBody as xm, EmptyStatePrimary as Dre, Divider as Tw, ModalBoxBody as L_, CardTitle as Ere, CardActions as Tre, Checkbox as XN, CardFooter as Ire, DataList as Are, DataListItem as Ore, DataListItemRow as Nre, DataListCheck as Mre, DataListItemCells as Pre, DataListCell as Q6, DataListAction as Rre, EmptyStateSecondaryActions as Fre, Progress as Bre, ProgressSize as Wre, ProgressVariant as J6, Icon as Vre, SelectGroup as $re, TextArea as Hre, TextInput as LU, ActionGroup as jre, Grid as zre, PageSectionVariants as e3, PageNavigation as Ure, Breadcrumb as qre, BreadcrumbItem as Kre, Masthead as Gre, MastheadMain as Yre, MastheadToggle as Zre, PageToggleButton as Xre, Tab as Qre, PageSectionTypes as kU, Tabs as DU } from "@patternfly/react-core";
23
23
  import { CircleIcon as Jre, ExternalLinkAltIcon as EU, OutlinedQuestionCircleIcon as TU, HelpIcon as ese, SyncAltIcon as IU, TimesIcon as AU, TimesCircleIcon as tse, ArrowRightIcon as nse, FilterIcon as OU, SortAmountDownIcon as ise, SortAmountUpIcon as rse, SortNumericDownAltIcon as sse, SortNumericUpIcon as ose, SortAlphaDownAltIcon as ase, SortAlphaUpIcon as lse, ColumnsIcon as cse, TableIcon as use, ListIcon as dse, ThLargeIcon as hse, ExclamationCircleIcon as NU, PlusCircleIcon as fse, CubesIcon as gse, SearchIcon as MU, PendingIcon as mse, CheckCircleIcon as pse, ExclamationTriangleIcon as vse, EyeIcon as QN, EyeSlashIcon as JN, CopyIcon as _se, AngleRightIcon as bse, BarsIcon as yse } from "@patternfly/react-icons";
24
24
  import { Link as I2 } from "react-router-dom";
25
25
  import { TableComposable as PU, Thead as e4, Tr as _d, Th as Zc, Tbody as RU, Td as cs, CollapseColumn as Cse } from "@patternfly/react-table";
@@ -496,7 +496,7 @@ function Sse() {
496
496
  return zt(q, qt, Vr, Wt, rt, de.current, Gt);
497
497
  }
498
498
  }
499
- var Yt = _.ReactCurrentOwner, Dn = _.ReactDebugCurrentFrame;
499
+ var Zt = _.ReactCurrentOwner, Dn = _.ReactDebugCurrentFrame;
500
500
  function Ds(q) {
501
501
  if (q) {
502
502
  var ke = q._owner, Re = Pe(q.type, q._source, ke ? ke.type : null);
@@ -511,8 +511,8 @@ function Sse() {
511
511
  }
512
512
  function ha() {
513
513
  {
514
- if (Yt.current) {
515
- var q = N(Yt.current.type);
514
+ if (Zt.current) {
515
+ var q = N(Zt.current.type);
516
516
  if (q)
517
517
  return `
518
518
 
@@ -555,7 +555,7 @@ Check the top-level render call using <` + Re + ">.");
555
555
  return;
556
556
  rl[Re] = !0;
557
557
  var rt = "";
558
- q && q._owner && q._owner !== Yt.current && (rt = " It was passed a child from " + N(q._owner.type) + "."), Ds(q), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Re, rt), Ds(null);
558
+ q && q._owner && q._owner !== Zt.current && (rt = " It was passed a child from " + N(q._owner.type) + "."), Ds(q), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Re, rt), Ds(null);
559
559
  }
560
560
  }
561
561
  function oh(q, ke) {
@@ -2395,7 +2395,7 @@ function $oe(n) {
2395
2395
  t && [xc.primary, xc.danger].includes(h) && (h = xc.secondary), h === xc.primary && e.isDanger && (h = xc.danger), r && (h = xc.plain);
2396
2396
  const f = e.label.toLowerCase().split(" ").join("-"), g = r && u ? /* @__PURE__ */ x.jsx(u, {}) : e.label;
2397
2397
  return /* @__PURE__ */ x.jsx(c, { children: /* @__PURE__ */ x.jsx(Uo, { content: d, trigger: d ? void 0 : "manual", children: /* @__PURE__ */ x.jsx(
2398
- Qt,
2398
+ Yt,
2399
2399
  {
2400
2400
  id: f,
2401
2401
  variant: h,
@@ -2438,7 +2438,7 @@ function joe(n) {
2438
2438
  break;
2439
2439
  }
2440
2440
  return /* @__PURE__ */ x.jsx(l, { children: /* @__PURE__ */ x.jsx(
2441
- Qt,
2441
+ Yt,
2442
2442
  {
2443
2443
  id: d,
2444
2444
  isDanger: e.isDanger,
@@ -2691,7 +2691,7 @@ function n1(n) {
2691
2691
  bodyContent: /* @__PURE__ */ x.jsxs(Fa, { hasGutter: !0, children: [
2692
2692
  Array.isArray(e) ? e.map((s, o) => /* @__PURE__ */ x.jsx(Bh, { children: s }, o)) : /* @__PURE__ */ x.jsx(Bh, { children: e }),
2693
2693
  i && /* @__PURE__ */ x.jsx(Bh, { children: /* @__PURE__ */ x.jsx(
2694
- Qt,
2694
+ Yt,
2695
2695
  {
2696
2696
  icon: /* @__PURE__ */ x.jsx(EU, {}),
2697
2697
  variant: "link",
@@ -2702,7 +2702,7 @@ function n1(n) {
2702
2702
  ) })
2703
2703
  ] }),
2704
2704
  removeFindDomNode: !0,
2705
- children: /* @__PURE__ */ x.jsx(Qt, { variant: "plain", style: { padding: 0, marginLeft: "8px", verticalAlign: "middle" }, children: /* @__PURE__ */ x.jsx(TU, {}) })
2705
+ children: /* @__PURE__ */ x.jsx(Yt, { variant: "plain", style: { padding: 0, marginLeft: "8px", verticalAlign: "middle" }, children: /* @__PURE__ */ x.jsx(TU, {}) })
2706
2706
  }
2707
2707
  ) : /* @__PURE__ */ x.jsx(x.Fragment, {});
2708
2708
  }
@@ -2850,7 +2850,7 @@ function Xoe(n) {
2850
2850
  variant: zp.medium,
2851
2851
  tabIndex: 0,
2852
2852
  actions: [
2853
- /* @__PURE__ */ x.jsx(Qt, { variant: "primary", onClick: e, children: r.closeText }, "close")
2853
+ /* @__PURE__ */ x.jsx(Yt, { variant: "primary", onClick: e, children: r.closeText }, "close")
2854
2854
  ],
2855
2855
  hasNoBodyWrapper: !0,
2856
2856
  children: /* @__PURE__ */ x.jsx(Yoe, { children: /* @__PURE__ */ x.jsxs(dU, { isHorizontal: t.formLayout === "horizontal", children: [
@@ -7923,7 +7923,7 @@ function Xle(n) {
7923
7923
  e.by,
7924
7924
  " "
7925
7925
  ] }),
7926
- i ? /* @__PURE__ */ x.jsx(Qt, { variant: "link", isInline: !0, onClick: i, children: t }) : /* @__PURE__ */ x.jsx("span", { children: t })
7926
+ i ? /* @__PURE__ */ x.jsx(Yt, { variant: "link", isInline: !0, onClick: i, children: t }) : /* @__PURE__ */ x.jsx("span", { children: t })
7927
7927
  ] });
7928
7928
  }
7929
7929
  function tmt(n) {
@@ -23022,8 +23022,8 @@ var rX = {}, sX = { exports: {} };
23022
23022
  }
23023
23023
  }
23024
23024
  this.hull = new Uint32Array(j);
23025
- for (var Yt = 0, Dn = this._hullStart; Yt < j; Yt++)
23026
- this.hull[Yt] = Dn, Dn = y[Dn];
23025
+ for (var Zt = 0, Dn = this._hullStart; Zt < j; Zt++)
23026
+ this.hull[Zt] = Dn, Dn = y[Dn];
23027
23027
  this.triangles = this._triangles.subarray(0, this.trianglesLen), this.halfedges = this._halfedges.subarray(0, this.trianglesLen);
23028
23028
  }, r.prototype._hashKey = function(_, v) {
23029
23029
  return Math.floor(s(_ - this._cx, v - this._cy) * this._hashSize) % this._hashSize;
@@ -30761,7 +30761,7 @@ function h$e(n) {
30761
30761
  /* @__PURE__ */ x.jsx(Nn, { children: e("Loading...") })
30762
30762
  ] }) : /* @__PURE__ */ x.jsxs($f, { hasGutter: !0, children: [
30763
30763
  /* @__PURE__ */ x.jsx(qo, { isFilled: !0, children: (l == null ? void 0 : l.length) !== o && /* @__PURE__ */ x.jsx(
30764
- Qt,
30764
+ Yt,
30765
30765
  {
30766
30766
  variant: "link",
30767
30767
  isInline: !0,
@@ -30791,7 +30791,7 @@ function h$e(n) {
30791
30791
  footer: p
30792
30792
  }
30793
30793
  ) : r ? /* @__PURE__ */ x.jsx(
30794
- Qt,
30794
+ Yt,
30795
30795
  {
30796
30796
  id: n.id,
30797
30797
  variant: "secondary",
@@ -30803,7 +30803,7 @@ function h$e(n) {
30803
30803
  },
30804
30804
  children: typeof n.queryErrorText == "function" ? n.queryErrorText(r) : n.queryErrorText ?? e("Error loading options")
30805
30805
  }
30806
- ) : /* @__PURE__ */ x.jsx(Qt, { id: n.id, variant: "control", isLoading: !0, children: n.queryPlaceholder ?? e("Loading options...") });
30806
+ ) : /* @__PURE__ */ x.jsx(Yt, { id: n.id, variant: "control", isLoading: !0, children: n.queryPlaceholder ?? e("Loading options...") });
30807
30807
  }
30808
30808
  function f$e(n) {
30809
30809
  const { t: e } = Ls(), { id: t, icon: i, placeholder: r, values: s, onSelect: o, options: a, variant: l, disableClearSelection: c } = n, [u, d] = Ve(!1), h = lt(
@@ -30968,7 +30968,7 @@ function m$e(n) {
30968
30968
  }
30969
30969
  ),
30970
30970
  e !== void 0 && /* @__PURE__ */ x.jsx(
30971
- Qt,
30971
+ Yt,
30972
30972
  {
30973
30973
  variant: "control",
30974
30974
  style: { alignSelf: "flex-start" },
@@ -31013,7 +31013,7 @@ function p$e(n) {
31013
31013
  }
31014
31014
  ),
31015
31015
  t !== "" && /* @__PURE__ */ x.jsx(Lre, { children: /* @__PURE__ */ x.jsx(
31016
- Qt,
31016
+ Yt,
31017
31017
  {
31018
31018
  variant: "plain",
31019
31019
  "aria-label": "clear filter",
@@ -31025,7 +31025,7 @@ function p$e(n) {
31025
31025
  ) })
31026
31026
  ] }),
31027
31027
  /* @__PURE__ */ x.jsx(
31028
- Qt,
31028
+ Yt,
31029
31029
  {
31030
31030
  variant: t ? "primary" : "control",
31031
31031
  "aria-label": "apply filter",
@@ -31211,7 +31211,22 @@ function DB(n) {
31211
31211
  queryOptions: e.queryOptions,
31212
31212
  queryErrorText: e.queryErrorText,
31213
31213
  queryPlaceholder: e.queryPlaceholder,
31214
- isRequired: e.isRequired
31214
+ isRequired: e.isRequired,
31215
+ footer: e.openBrowse ? /* @__PURE__ */ x.jsx(
31216
+ Yt,
31217
+ {
31218
+ variant: "link",
31219
+ onClick: () => {
31220
+ var a;
31221
+ (a = e.openBrowse) == null || a.call(
31222
+ e,
31223
+ (l) => s(() => [l]),
31224
+ r && r.length > 0 ? r[0] : void 0
31225
+ );
31226
+ },
31227
+ children: "Browse"
31228
+ }
31229
+ ) : void 0
31215
31230
  }
31216
31231
  );
31217
31232
  case 2:
@@ -31286,7 +31301,7 @@ function b$e(n) {
31286
31301
  }
31287
31302
  ),
31288
31303
  /* @__PURE__ */ x.jsx(
31289
- Qt,
31304
+ Yt,
31290
31305
  {
31291
31306
  variant: "control",
31292
31307
  icon: c,
@@ -31368,7 +31383,7 @@ function w$e(n) {
31368
31383
  const { viewType: e, setViewType: t, openColumnModal: i } = n, [r] = Gi();
31369
31384
  let s = 0;
31370
31385
  return n.disableTableView || s++, n.disableCardView || s++, n.disableListView || s++, /* @__PURE__ */ x.jsxs(x_, { variant: "button-group", style: { justifyContent: "end", marginRight: 0 }, children: [
31371
- i && /* @__PURE__ */ x.jsx(ro, { children: /* @__PURE__ */ x.jsx(Uo, { content: r.manageColumns, children: /* @__PURE__ */ x.jsx(Qt, { variant: "plain", icon: /* @__PURE__ */ x.jsx(cse, {}), onClick: i }) }) }),
31386
+ i && /* @__PURE__ */ x.jsx(ro, { children: /* @__PURE__ */ x.jsx(Uo, { content: r.manageColumns, children: /* @__PURE__ */ x.jsx(Yt, { variant: "plain", icon: /* @__PURE__ */ x.jsx(cse, {}), onClick: i }) }) }),
31372
31387
  s > 1 && /* @__PURE__ */ x.jsx(ro, { children: /* @__PURE__ */ x.jsx(CU, { "aria-label": "table view toggle", children: [
31373
31388
  !n.disableTableView && Yn.Table,
31374
31389
  !n.disableListView && Yn.List,
@@ -31577,7 +31592,7 @@ function L$e(n) {
31577
31592
  /* @__PURE__ */ x.jsx(Nl, { headingLevel: "h2", size: "lg", children: s || t }),
31578
31593
  /* @__PURE__ */ x.jsx(xm, { children: o }),
31579
31594
  /* @__PURE__ */ x.jsx(xm, { children: i }),
31580
- /* @__PURE__ */ x.jsx(Qt, { variant: "primary", onClick: () => window.location.reload(), children: r })
31595
+ /* @__PURE__ */ x.jsx(Yt, { variant: "primary", onClick: () => window.location.reload(), children: r })
31581
31596
  ] });
31582
31597
  }
31583
31598
  function k$e(n) {
@@ -32232,8 +32247,8 @@ function M$e(n) {
32232
32247
  isOpen: !0,
32233
32248
  onClose: c,
32234
32249
  actions: [
32235
- /* @__PURE__ */ x.jsx(Qt, { variant: "primary", onClick: b, children: e`Apply` }, "apply"),
32236
- /* @__PURE__ */ x.jsx(Qt, { variant: "link", onClick: c, children: e`Cancel` }, "cancel")
32250
+ /* @__PURE__ */ x.jsx(Yt, { variant: "primary", onClick: b, children: e`Apply` }, "apply"),
32251
+ /* @__PURE__ */ x.jsx(Yt, { variant: "link", onClick: c, children: e`Cancel` }, "cancel")
32237
32252
  ],
32238
32253
  hasNoBodyWrapper: !0,
32239
32254
  children: [
@@ -32944,7 +32959,7 @@ function PL(n) {
32944
32959
  title: n.emptyStateTitle,
32945
32960
  description: n.emptyStateDescription,
32946
32961
  button: n.emptyStateButtonClick && /* @__PURE__ */ x.jsx(
32947
- Qt,
32962
+ Yt,
32948
32963
  {
32949
32964
  variant: "primary",
32950
32965
  onClick: n.emptyStateButtonClick,
@@ -33090,7 +33105,7 @@ function nHe(n) {
33090
33105
  /* @__PURE__ */ x.jsx(ZN, { icon: MU }),
33091
33106
  /* @__PURE__ */ x.jsx(Nl, { headingLevel: "h2", size: "lg", children: _.noResultsFound }),
33092
33107
  /* @__PURE__ */ x.jsx(xm, { children: _.noResultsMatchCriteria }),
33093
- u && /* @__PURE__ */ x.jsx(Fre, { children: /* @__PURE__ */ x.jsx(Qt, { variant: "primary", onClick: u, children: _.clearAllFilters }) })
33108
+ u && /* @__PURE__ */ x.jsx(Fre, { children: /* @__PURE__ */ x.jsx(Yt, { variant: "primary", onClick: u, children: _.clearAllFilters }) })
33094
33109
  ] })
33095
33110
  ] });
33096
33111
  }
@@ -33391,9 +33406,9 @@ function oHe(n) {
33391
33406
  D(), E();
33392
33407
  },
33393
33408
  actions: d ? [
33394
- /* @__PURE__ */ x.jsx(Qt, { variant: "link", onClick: D, children: u.cancelText }, "cancel")
33409
+ /* @__PURE__ */ x.jsx(Yt, { variant: "link", onClick: D, children: u.cancelText }, "cancel")
33395
33410
  ] : [
33396
- /* @__PURE__ */ x.jsx(Qt, { variant: "secondary", onClick: E, children: u.closeText }, "close")
33411
+ /* @__PURE__ */ x.jsx(Yt, { variant: "secondary", onClick: E, children: u.closeText }, "close")
33397
33412
  ],
33398
33413
  hasNoBodyWrapper: !0,
33399
33414
  children: [
@@ -33552,7 +33567,7 @@ function hHe(n) {
33552
33567
  onClose: p,
33553
33568
  actions: [
33554
33569
  /* @__PURE__ */ x.jsx(
33555
- Qt,
33570
+ Yt,
33556
33571
  {
33557
33572
  variant: h ? "danger" : "primary",
33558
33573
  onClick: () => {
@@ -33563,7 +33578,7 @@ function hHe(n) {
33563
33578
  },
33564
33579
  "submit"
33565
33580
  ),
33566
- /* @__PURE__ */ x.jsx(Qt, { variant: "link", onClick: c, children: m.cancelText }, "cancel")
33581
+ /* @__PURE__ */ x.jsx(Yt, { variant: "link", onClick: c, children: m.cancelText }, "cancel")
33567
33582
  ],
33568
33583
  hasNoBodyWrapper: !0,
33569
33584
  children: t.length > 0 && /* @__PURE__ */ x.jsxs(L_, { style: { paddingLeft: 0, paddingRight: 0 }, children: [
@@ -33640,7 +33655,7 @@ function mmt(n) {
33640
33655
  tabIndex: 0,
33641
33656
  actions: [
33642
33657
  /* @__PURE__ */ x.jsx(
33643
- Qt,
33658
+ Yt,
33644
33659
  {
33645
33660
  variant: "primary",
33646
33661
  id: "confirm",
@@ -33652,7 +33667,7 @@ function mmt(n) {
33652
33667
  },
33653
33668
  "confirm"
33654
33669
  ),
33655
- /* @__PURE__ */ x.jsx(Qt, { variant: "link", onClick: u, children: o ?? d.cancelText }, "cancel")
33670
+ /* @__PURE__ */ x.jsx(Yt, { variant: "link", onClick: u, children: o ?? d.cancelText }, "cancel")
33656
33671
  ],
33657
33672
  hasNoBodyWrapper: !0,
33658
33673
  children: /* @__PURE__ */ x.jsx(
@@ -33750,7 +33765,7 @@ function gHe(n) {
33750
33765
  tabIndex: 0,
33751
33766
  actions: [
33752
33767
  /* @__PURE__ */ x.jsx(
33753
- Qt,
33768
+ Yt,
33754
33769
  {
33755
33770
  variant: "primary",
33756
33771
  onClick: () => {
@@ -33761,7 +33776,7 @@ function gHe(n) {
33761
33776
  },
33762
33777
  "confirm"
33763
33778
  ),
33764
- /* @__PURE__ */ x.jsx(Qt, { variant: "link", onClick: h, children: u }, "cancel")
33779
+ /* @__PURE__ */ x.jsx(Yt, { variant: "link", onClick: h, children: u }, "cancel")
33765
33780
  ],
33766
33781
  hasNoBodyWrapper: !0,
33767
33782
  children: [
@@ -33872,7 +33887,7 @@ function mHe(n) {
33872
33887
  }
33873
33888
  ),
33874
33889
  n.type === "password" && /* @__PURE__ */ x.jsx(
33875
- Qt,
33890
+ Yt,
33876
33891
  {
33877
33892
  variant: "control",
33878
33893
  onClick: () => t(!e),
@@ -33904,7 +33919,7 @@ function _mt(n) {
33904
33919
  }
33905
33920
  ),
33906
33921
  n.type === "password" && /* @__PURE__ */ x.jsx(
33907
- Qt,
33922
+ Yt,
33908
33923
  {
33909
33924
  variant: "control",
33910
33925
  onClick: () => t(!e),
@@ -37107,7 +37122,7 @@ function eb(n, e, t, i) {
37107
37122
  let r = parseInt(n, 10);
37108
37123
  return isNaN(r) ? e : (r = Math.max(t, r), r = Math.min(i, r), r | 0);
37109
37124
  }
37110
- class Xt extends m0 {
37125
+ class Qt extends m0 {
37111
37126
  static clampedInt(e, t, i, r) {
37112
37127
  return eb(e, t, i, r);
37113
37128
  }
@@ -37115,7 +37130,7 @@ class Xt extends m0 {
37115
37130
  typeof o < "u" && (o.type = "integer", o.default = i, o.minimum = r, o.maximum = s), super(e, t, i, o), this.minimum = r, this.maximum = s;
37116
37131
  }
37117
37132
  validate(e) {
37118
- return Xt.clampedInt(e, this.defaultValue, this.minimum, this.maximum);
37133
+ return Qt.clampedInt(e, this.defaultValue, this.minimum, this.maximum);
37119
37134
  }
37120
37135
  }
37121
37136
  function yJ(n, e, t, i) {
@@ -37489,7 +37504,7 @@ class yl extends bn {
37489
37504
  });
37490
37505
  }
37491
37506
  validate(e) {
37492
- return e === "normal" || e === "bold" ? e : String(Xt.clampedInt(e, fo.fontWeight, yl.MINIMUM_VALUE, yl.MAXIMUM_VALUE));
37507
+ return e === "normal" || e === "bold" ? e : String(Qt.clampedInt(e, fo.fontWeight, yl.MINIMUM_VALUE, yl.MAXIMUM_VALUE));
37493
37508
  }
37494
37509
  }
37495
37510
  yl.SUGGESTION_VALUES = ["normal", "bold", "100", "200", "300", "400", "500", "600", "700", "800", "900"];
@@ -37619,7 +37634,7 @@ class qUe extends bn {
37619
37634
  const t = e;
37620
37635
  return {
37621
37636
  enabled: Ie(t.enabled, this.defaultValue.enabled),
37622
- delay: Xt.clampedInt(t.delay, this.defaultValue.delay, 0, 1e4),
37637
+ delay: Qt.clampedInt(t.delay, this.defaultValue.delay, 0, 1e4),
37623
37638
  sticky: Ie(t.sticky, this.defaultValue.sticky),
37624
37639
  above: Ie(t.above, this.defaultValue.above)
37625
37640
  };
@@ -37894,7 +37909,7 @@ class YUe extends bn {
37894
37909
  const t = e;
37895
37910
  return {
37896
37911
  enabled: Ie(t.enabled, this.defaultValue.enabled),
37897
- maxLineCount: Xt.clampedInt(t.maxLineCount, this.defaultValue.maxLineCount, 1, 10),
37912
+ maxLineCount: Qt.clampedInt(t.maxLineCount, this.defaultValue.maxLineCount, 1, 10),
37898
37913
  defaultModel: Ln(t.defaultModel, this.defaultValue.defaultModel, ["outlineModel", "foldingProviderModel", "indentationModel"])
37899
37914
  };
37900
37915
  }
@@ -37938,7 +37953,7 @@ class ZUe extends bn {
37938
37953
  const t = e;
37939
37954
  return typeof t.enabled == "boolean" && (t.enabled = t.enabled ? "on" : "off"), {
37940
37955
  enabled: Ln(t.enabled, this.defaultValue.enabled, ["on", "off", "offUnlessPressed", "onUnlessPressed"]),
37941
- fontSize: Xt.clampedInt(t.fontSize, this.defaultValue.fontSize, 0, 100),
37956
+ fontSize: Qt.clampedInt(t.fontSize, this.defaultValue.fontSize, 0, 100),
37942
37957
  fontFamily: ls.string(t.fontFamily, this.defaultValue.fontFamily),
37943
37958
  padding: Ie(t.padding, this.defaultValue.padding)
37944
37959
  };
@@ -37949,10 +37964,10 @@ class XUe extends bn {
37949
37964
  super(64, "lineDecorationsWidth", 10);
37950
37965
  }
37951
37966
  validate(e) {
37952
- return typeof e == "string" && /^\d+(\.\d+)?ch$/.test(e) ? -parseFloat(e.substring(0, e.length - 2)) : Xt.clampedInt(e, this.defaultValue, 0, 1e3);
37967
+ return typeof e == "string" && /^\d+(\.\d+)?ch$/.test(e) ? -parseFloat(e.substring(0, e.length - 2)) : Qt.clampedInt(e, this.defaultValue, 0, 1e3);
37953
37968
  }
37954
37969
  compute(e, t, i) {
37955
- return i < 0 ? Xt.clampedInt(-i * e.fontInfo.typicalHalfwidthCharacterWidth, this.defaultValue, 0, 1e3) : i;
37970
+ return i < 0 ? Qt.clampedInt(-i * e.fontInfo.typicalHalfwidthCharacterWidth, this.defaultValue, 0, 1e3) : i;
37956
37971
  }
37957
37972
  }
37958
37973
  class QUe extends Zo {
@@ -38043,8 +38058,8 @@ class JUe extends bn {
38043
38058
  side: Ln(t.side, this.defaultValue.side, ["right", "left"]),
38044
38059
  showSlider: Ln(t.showSlider, this.defaultValue.showSlider, ["always", "mouseover"]),
38045
38060
  renderCharacters: Ie(t.renderCharacters, this.defaultValue.renderCharacters),
38046
- scale: Xt.clampedInt(t.scale, 1, 1, 3),
38047
- maxColumn: Xt.clampedInt(t.maxColumn, this.defaultValue.maxColumn, 1, 1e4)
38061
+ scale: Qt.clampedInt(t.scale, 1, 1, 3),
38062
+ maxColumn: Qt.clampedInt(t.maxColumn, this.defaultValue.maxColumn, 1, 1e4)
38048
38063
  };
38049
38064
  }
38050
38065
  }
@@ -38075,8 +38090,8 @@ class tqe extends bn {
38075
38090
  return this.defaultValue;
38076
38091
  const t = e;
38077
38092
  return {
38078
- top: Xt.clampedInt(t.top, 0, 0, 1e3),
38079
- bottom: Xt.clampedInt(t.bottom, 0, 0, 1e3)
38093
+ top: Qt.clampedInt(t.top, 0, 0, 1e3),
38094
+ bottom: Qt.clampedInt(t.bottom, 0, 0, 1e3)
38080
38095
  };
38081
38096
  }
38082
38097
  }
@@ -38240,13 +38255,13 @@ class oqe extends bn {
38240
38255
  for (const i of e)
38241
38256
  if (typeof i == "number")
38242
38257
  t.push({
38243
- column: Xt.clampedInt(i, 0, 0, 1e4),
38258
+ column: Qt.clampedInt(i, 0, 0, 1e4),
38244
38259
  color: null
38245
38260
  });
38246
38261
  else if (i && typeof i == "object") {
38247
38262
  const r = i;
38248
38263
  t.push({
38249
- column: Xt.clampedInt(r.column, 0, 0, 1e4),
38264
+ column: Qt.clampedInt(r.column, 0, 0, 1e4),
38250
38265
  color: r.color
38251
38266
  });
38252
38267
  }
@@ -38335,9 +38350,9 @@ let lqe = class extends bn {
38335
38350
  validate(e) {
38336
38351
  if (!e || typeof e != "object")
38337
38352
  return this.defaultValue;
38338
- const t = e, i = Xt.clampedInt(t.horizontalScrollbarSize, this.defaultValue.horizontalScrollbarSize, 0, 1e3), r = Xt.clampedInt(t.verticalScrollbarSize, this.defaultValue.verticalScrollbarSize, 0, 1e3);
38353
+ const t = e, i = Qt.clampedInt(t.horizontalScrollbarSize, this.defaultValue.horizontalScrollbarSize, 0, 1e3), r = Qt.clampedInt(t.verticalScrollbarSize, this.defaultValue.verticalScrollbarSize, 0, 1e3);
38339
38354
  return {
38340
- arrowSize: Xt.clampedInt(t.arrowSize, this.defaultValue.arrowSize, 0, 1e3),
38355
+ arrowSize: Qt.clampedInt(t.arrowSize, this.defaultValue.arrowSize, 0, 1e3),
38341
38356
  vertical: oW(t.vertical, this.defaultValue.vertical),
38342
38357
  horizontal: oW(t.horizontal, this.defaultValue.horizontal),
38343
38358
  useShadows: Ie(t.useShadows, this.defaultValue.useShadows),
@@ -38346,9 +38361,9 @@ let lqe = class extends bn {
38346
38361
  handleMouseWheel: Ie(t.handleMouseWheel, this.defaultValue.handleMouseWheel),
38347
38362
  alwaysConsumeMouseWheel: Ie(t.alwaysConsumeMouseWheel, this.defaultValue.alwaysConsumeMouseWheel),
38348
38363
  horizontalScrollbarSize: i,
38349
- horizontalSliderSize: Xt.clampedInt(t.horizontalSliderSize, i, 0, 1e3),
38364
+ horizontalSliderSize: Qt.clampedInt(t.horizontalSliderSize, i, 0, 1e3),
38350
38365
  verticalScrollbarSize: r,
38351
- verticalSliderSize: Xt.clampedInt(t.verticalSliderSize, r, 0, 1e3),
38366
+ verticalSliderSize: Qt.clampedInt(t.verticalSliderSize, r, 0, 1e3),
38352
38367
  scrollByPage: Ie(t.scrollByPage, this.defaultValue.scrollByPage)
38353
38368
  };
38354
38369
  }
@@ -39088,7 +39103,7 @@ const Jd = {
39088
39103
  markdownDescription: C("acceptSuggestionOnEnter", "Controls whether suggestions should be accepted on `Enter`, in addition to `Tab`. Helps to avoid ambiguity between inserting new lines or accepting suggestions.")
39089
39104
  })),
39090
39105
  accessibilitySupport: ye(new RUe()),
39091
- accessibilityPageSize: ye(new Xt(3, "accessibilityPageSize", 10, 1, 1073741824, {
39106
+ accessibilityPageSize: ye(new Qt(3, "accessibilityPageSize", 10, 1, 1073741824, {
39092
39107
  description: C("accessibilityPageSize", "Controls the number of lines in the editor that can be read out by a screen reader at once. When we detect a screen reader we automatically set the default to be 500. Warning: this has a performance implication for numbers larger than the default."),
39093
39108
  tags: ["accessibility"]
39094
39109
  })),
@@ -39157,7 +39172,7 @@ const Jd = {
39157
39172
  stickyTabStops: ye(new bt(114, "stickyTabStops", !1, { description: C("stickyTabStops", "Emulate selection behavior of tab characters when using spaces for indentation. Selection will stick to tab stops.") })),
39158
39173
  codeLens: ye(new bt(16, "codeLens", !0, { description: C("codeLens", "Controls whether the editor shows CodeLens.") })),
39159
39174
  codeLensFontFamily: ye(new ls(17, "codeLensFontFamily", "", { description: C("codeLensFontFamily", "Controls the font family for CodeLens.") })),
39160
- codeLensFontSize: ye(new Xt(18, "codeLensFontSize", 0, 0, 100, {
39175
+ codeLensFontSize: ye(new Qt(18, "codeLensFontSize", 0, 0, 100, {
39161
39176
  type: "number",
39162
39177
  default: 0,
39163
39178
  minimum: 0,
@@ -39173,7 +39188,7 @@ const Jd = {
39173
39188
  ],
39174
39189
  description: C("colorDecoratorActivatedOn", "Controls the condition to make a color picker appear from a color decorator")
39175
39190
  })),
39176
- colorDecoratorsLimit: ye(new Xt(20, "colorDecoratorsLimit", 500, 1, 1e6, {
39191
+ colorDecoratorsLimit: ye(new Qt(20, "colorDecoratorsLimit", 500, 1, 1e6, {
39177
39192
  markdownDescription: C("colorDecoratorsLimit", "Controls the max number of color decorators that can be rendered in an editor at once.")
39178
39193
  })),
39179
39194
  columnSelection: ye(new bt(21, "columnSelection", !1, { description: C("columnSelection", "Enable that the selection with the mouse and keys is doing column selection.") })),
@@ -39190,7 +39205,7 @@ const Jd = {
39190
39205
  description: C("cursorSmoothCaretAnimation", "Controls whether the smooth caret animation should be enabled.")
39191
39206
  })),
39192
39207
  cursorStyle: ye(new Wy(27, "cursorStyle", Di.Line, "line", ["line", "block", "underline", "line-thin", "block-outline", "underline-thin"], WUe, { description: C("cursorStyle", "Controls the cursor style.") })),
39193
- cursorSurroundingLines: ye(new Xt(28, "cursorSurroundingLines", 0, 0, 1073741824, { description: C("cursorSurroundingLines", "Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.") })),
39208
+ cursorSurroundingLines: ye(new Qt(28, "cursorSurroundingLines", 0, 0, 1073741824, { description: C("cursorSurroundingLines", "Controls the minimal number of visible leading lines (minimum 0) and trailing lines (minimum 1) surrounding the cursor. Known as 'scrollOff' or 'scrollOffset' in some other editors.") })),
39194
39209
  cursorSurroundingLinesStyle: ye(new En(29, "cursorSurroundingLinesStyle", "default", ["default", "all"], {
39195
39210
  enumDescriptions: [
39196
39211
  C("cursorSurroundingLinesStyle.default", "`cursorSurroundingLines` is enforced only when triggered via the keyboard or API."),
@@ -39198,7 +39213,7 @@ const Jd = {
39198
39213
  ],
39199
39214
  description: C("cursorSurroundingLinesStyle", "Controls when `cursorSurroundingLines` should be enforced.")
39200
39215
  })),
39201
- cursorWidth: ye(new Xt(30, "cursorWidth", 0, 0, 1073741824, { markdownDescription: C("cursorWidth", "Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.") })),
39216
+ cursorWidth: ye(new Qt(30, "cursorWidth", 0, 0, 1073741824, { markdownDescription: C("cursorWidth", "Controls the width of the cursor when `#editor.cursorStyle#` is set to `line`.") })),
39202
39217
  disableLayerHinting: ye(new bt(31, "disableLayerHinting", !1)),
39203
39218
  disableMonospaceOptimizations: ye(new bt(32, "disableMonospaceOptimizations", !1)),
39204
39219
  domReadOnly: ye(new bt(33, "domReadOnly", !1)),
@@ -39228,7 +39243,7 @@ const Jd = {
39228
39243
  })),
39229
39244
  foldingHighlight: ye(new bt(44, "foldingHighlight", !0, { description: C("foldingHighlight", "Controls whether the editor should highlight folded ranges.") })),
39230
39245
  foldingImportsByDefault: ye(new bt(45, "foldingImportsByDefault", !1, { description: C("foldingImportsByDefault", "Controls whether the editor automatically collapses import ranges.") })),
39231
- foldingMaximumRegions: ye(new Xt(
39246
+ foldingMaximumRegions: ye(new Qt(
39232
39247
  46,
39233
39248
  "foldingMaximumRegions",
39234
39249
  5e3,
@@ -39256,7 +39271,7 @@ const Jd = {
39256
39271
  lineDecorationsWidth: ye(new XUe()),
39257
39272
  lineHeight: ye(new QUe()),
39258
39273
  lineNumbers: ye(new sqe()),
39259
- lineNumbersMinChars: ye(new Xt(67, "lineNumbersMinChars", 5, 1, 300)),
39274
+ lineNumbersMinChars: ye(new Qt(67, "lineNumbersMinChars", 5, 1, 300)),
39260
39275
  linkedEditing: ye(new bt(68, "linkedEditing", !1, { description: C("linkedEditing", "Controls whether the editor has linked editing enabled. Depending on the language, related symbols such as HTML tags, are updated while editing.") })),
39261
39276
  links: ye(new bt(69, "links", !0, { description: C("links", "Controls whether the editor should detect links and make them clickable.") })),
39262
39277
  matchBrackets: ye(new En(70, "matchBrackets", "always", ["always", "near", "never"], { description: C("matchBrackets", "Highlight matching brackets.") })),
@@ -39285,12 +39300,12 @@ const Jd = {
39285
39300
  ],
39286
39301
  markdownDescription: C("multiCursorPaste", "Controls pasting when the line count of the pasted text matches the cursor count.")
39287
39302
  })),
39288
- multiCursorLimit: ye(new Xt(78, "multiCursorLimit", 1e4, 1, 1e5, {
39303
+ multiCursorLimit: ye(new Qt(78, "multiCursorLimit", 1e4, 1, 1e5, {
39289
39304
  markdownDescription: C("multiCursorLimit", "Controls the max number of cursors that can be in an active editor at once.")
39290
39305
  })),
39291
39306
  occurrencesHighlight: ye(new bt(79, "occurrencesHighlight", !0, { description: C("occurrencesHighlight", "Controls whether the editor should highlight semantic symbol occurrences.") })),
39292
39307
  overviewRulerBorder: ye(new bt(80, "overviewRulerBorder", !0, { description: C("overviewRulerBorder", "Controls whether a border should be drawn around the overview ruler.") })),
39293
- overviewRulerLanes: ye(new Xt(81, "overviewRulerLanes", 3, 0, 3)),
39308
+ overviewRulerLanes: ye(new Qt(81, "overviewRulerLanes", 3, 0, 3)),
39294
39309
  padding: ye(new tqe()),
39295
39310
  pasteAs: ye(new _qe()),
39296
39311
  parameterHints: ye(new nqe()),
@@ -39303,7 +39318,7 @@ const Jd = {
39303
39318
  })),
39304
39319
  definitionLinkOpensInPeek: ye(new bt(86, "definitionLinkOpensInPeek", !1, { description: C("definitionLinkOpensInPeek", "Controls whether the Go to Definition mouse gesture always opens the peek widget.") })),
39305
39320
  quickSuggestions: ye(new rqe()),
39306
- quickSuggestionsDelay: ye(new Xt(88, "quickSuggestionsDelay", 10, 0, 1073741824, { description: C("quickSuggestionsDelay", "Controls the delay in milliseconds after which quick suggestions will show up.") })),
39321
+ quickSuggestionsDelay: ye(new Qt(88, "quickSuggestionsDelay", 10, 0, 1073741824, { description: C("quickSuggestionsDelay", "Controls the delay in milliseconds after which quick suggestions will show up.") })),
39307
39322
  readOnly: ye(new bt(89, "readOnly", !1)),
39308
39323
  readOnlyMessage: ye(new aqe()),
39309
39324
  renameOnType: ye(new bt(91, "renameOnType", !1, { description: C("renameOnType", "Controls whether the editor auto renames on type."), markdownDeprecationMessage: C("renameOnTypeDeprecate", "Deprecated, use `editor.linkedEditing` instead.") })),
@@ -39330,11 +39345,11 @@ const Jd = {
39330
39345
  ],
39331
39346
  description: C("renderWhitespace", "Controls how the editor should render whitespace characters.")
39332
39347
  })),
39333
- revealHorizontalRightPadding: ye(new Xt(98, "revealHorizontalRightPadding", 15, 0, 1e3)),
39348
+ revealHorizontalRightPadding: ye(new Qt(98, "revealHorizontalRightPadding", 15, 0, 1e3)),
39334
39349
  roundedSelection: ye(new bt(99, "roundedSelection", !0, { description: C("roundedSelection", "Controls whether selections should have rounded corners.") })),
39335
39350
  rulers: ye(new oqe()),
39336
39351
  scrollbar: ye(new lqe()),
39337
- scrollBeyondLastColumn: ye(new Xt(102, "scrollBeyondLastColumn", 4, 0, 1073741824, { description: C("scrollBeyondLastColumn", "Controls the number of extra characters beyond which the editor will scroll horizontally.") })),
39352
+ scrollBeyondLastColumn: ye(new Qt(102, "scrollBeyondLastColumn", 4, 0, 1073741824, { description: C("scrollBeyondLastColumn", "Controls the number of extra characters beyond which the editor will scroll horizontally.") })),
39338
39353
  scrollBeyondLastLine: ye(new bt(103, "scrollBeyondLastLine", !0, { description: C("scrollBeyondLastLine", "Controls whether the editor will scroll beyond the last line.") })),
39339
39354
  scrollPredominantAxis: ye(new bt(104, "scrollPredominantAxis", !0, { description: C("scrollPredominantAxis", "Scroll only along the predominant axis when scrolling both vertically and horizontally at the same time. Prevents horizontal drift when scrolling vertically on a trackpad.") })),
39340
39355
  selectionClipboard: ye(new bt(105, "selectionClipboard", !0, {
@@ -39365,7 +39380,7 @@ const Jd = {
39365
39380
  })),
39366
39381
  smartSelect: ye(new gqe()),
39367
39382
  smoothScrolling: ye(new bt(112, "smoothScrolling", !1, { description: C("smoothScrolling", "Controls whether the editor will scroll using an animation.") })),
39368
- stopRenderingLineAfter: ye(new Xt(
39383
+ stopRenderingLineAfter: ye(new Qt(
39369
39384
  115,
39370
39385
  "stopRenderingLineAfter",
39371
39386
  1e4,
@@ -39375,8 +39390,8 @@ const Jd = {
39375
39390
  )),
39376
39391
  suggest: ye(new fqe()),
39377
39392
  inlineSuggest: ye(new uqe()),
39378
- suggestFontSize: ye(new Xt(117, "suggestFontSize", 0, 0, 1e3, { markdownDescription: C("suggestFontSize", "Font size for the suggest widget. When set to {0}, the value of {1} is used.", "`0`", "`#editor.fontSize#`") })),
39379
- suggestLineHeight: ye(new Xt(118, "suggestLineHeight", 0, 0, 1e3, { markdownDescription: C("suggestLineHeight", "Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.", "`0`", "`#editor.lineHeight#`") })),
39393
+ suggestFontSize: ye(new Qt(117, "suggestFontSize", 0, 0, 1e3, { markdownDescription: C("suggestFontSize", "Font size for the suggest widget. When set to {0}, the value of {1} is used.", "`0`", "`#editor.fontSize#`") })),
39394
+ suggestLineHeight: ye(new Qt(118, "suggestLineHeight", 0, 0, 1e3, { markdownDescription: C("suggestLineHeight", "Line height for the suggest widget. When set to {0}, the value of {1} is used. The minimum value is 8.", "`0`", "`#editor.lineHeight#`") })),
39380
39395
  suggestOnTriggerCharacters: ye(new bt(119, "suggestOnTriggerCharacters", !0, { description: C("suggestOnTriggerCharacters", "Controls whether suggestions should automatically show up when typing trigger characters.") })),
39381
39396
  suggestSelection: ye(new En(120, "suggestSelection", "first", ["first", "recentlyUsed", "recentlyUsedByPrefix"], {
39382
39397
  markdownEnumDescriptions: [
@@ -39394,7 +39409,7 @@ const Jd = {
39394
39409
  ],
39395
39410
  description: C("tabCompletion", "Enables tab completions.")
39396
39411
  })),
39397
- tabIndex: ye(new Xt(
39412
+ tabIndex: ye(new Qt(
39398
39413
  122,
39399
39414
  "tabIndex",
39400
39415
  0,
@@ -39459,7 +39474,7 @@ const Jd = {
39459
39474
  // allow-any-unicode-next-line
39460
39475
  "([{‘“〈《「『【〔([{「£¥$£¥++"
39461
39476
  )),
39462
- wordWrapColumn: ye(new Xt(132, "wordWrapColumn", 80, 1, 1073741824, {
39477
+ wordWrapColumn: ye(new Qt(132, "wordWrapColumn", 80, 1, 1073741824, {
39463
39478
  markdownDescription: C({
39464
39479
  key: "wordWrapColumn",
39465
39480
  comment: [
@@ -53206,8 +53221,8 @@ function Aee() {
53206
53221
  e.isSupported = typeof b == "function" && D && typeof D.createHTMLDocument < "u" && N !== 9;
53207
53222
  var W = zZe, J = UZe, ie = qZe, re = KZe, ne = YZe, Q = ZZe, ce = GZe, Y = null, Z = Kt({}, [].concat(ll(CV), ll(bD), ll(yD), ll(CD), ll(wV))), le = null, Le = Kt({}, [].concat(ll(SV), ll(wD), ll(xV), ll(Gy))), ee = null, we = null, he = !0, be = !0, Ce = !1, ge = !1, X = !1, Xe = !1, Je = !1, Pe = !1, H = !1, oe = !0, ve = !1, Be = !0, G = !0, $ = !1, U = {}, M = null, P = Kt({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]), j = null, z = Kt({}, ["audio", "video", "img", "source", "image", "track"]), de = null, Se = Kt({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), Ee = "http://www.w3.org/1998/Math/MathML", Ne = "http://www.w3.org/2000/svg", Ze = "http://www.w3.org/1999/xhtml", Ke = Ze, Bt = !1, Dt = null, Oe = i.createElement("form"), It = function(me) {
53208
53223
  Dt && Dt === me || ((!me || (typeof me > "u" ? "undefined" : bv(me)) !== "object") && (me = {}), me = fh(me), Y = "ALLOWED_TAGS" in me ? Kt({}, me.ALLOWED_TAGS) : Z, le = "ALLOWED_ATTR" in me ? Kt({}, me.ALLOWED_ATTR) : Le, de = "ADD_URI_SAFE_ATTR" in me ? Kt(fh(Se), me.ADD_URI_SAFE_ATTR) : Se, j = "ADD_DATA_URI_TAGS" in me ? Kt(fh(z), me.ADD_DATA_URI_TAGS) : z, M = "FORBID_CONTENTS" in me ? Kt({}, me.FORBID_CONTENTS) : P, ee = "FORBID_TAGS" in me ? Kt({}, me.FORBID_TAGS) : {}, we = "FORBID_ATTR" in me ? Kt({}, me.FORBID_ATTR) : {}, U = "USE_PROFILES" in me ? me.USE_PROFILES : !1, he = me.ALLOW_ARIA_ATTR !== !1, be = me.ALLOW_DATA_ATTR !== !1, Ce = me.ALLOW_UNKNOWN_PROTOCOLS || !1, ge = me.SAFE_FOR_TEMPLATES || !1, X = me.WHOLE_DOCUMENT || !1, Pe = me.RETURN_DOM || !1, H = me.RETURN_DOM_FRAGMENT || !1, oe = me.RETURN_DOM_IMPORT !== !1, ve = me.RETURN_TRUSTED_TYPE || !1, Je = me.FORCE_BODY || !1, Be = me.SANITIZE_DOM !== !1, G = me.KEEP_CONTENT !== !1, $ = me.IN_PLACE || !1, ce = me.ALLOWED_URI_REGEXP || ce, Ke = me.NAMESPACE || Ze, ge && (be = !1), H && (Pe = !0), U && (Y = Kt({}, [].concat(ll(wV))), le = [], U.html === !0 && (Kt(Y, CV), Kt(le, SV)), U.svg === !0 && (Kt(Y, bD), Kt(le, wD), Kt(le, Gy)), U.svgFilters === !0 && (Kt(Y, yD), Kt(le, wD), Kt(le, Gy)), U.mathMl === !0 && (Kt(Y, CD), Kt(le, xV), Kt(le, Gy))), me.ADD_TAGS && (Y === Z && (Y = fh(Y)), Kt(Y, me.ADD_TAGS)), me.ADD_ATTR && (le === Le && (le = fh(le)), Kt(le, me.ADD_ATTR)), me.ADD_URI_SAFE_ATTR && Kt(de, me.ADD_URI_SAFE_ATTR), me.FORBID_CONTENTS && (M === P && (M = fh(M)), Kt(M, me.FORBID_CONTENTS)), G && (Y["#text"] = !0), X && Kt(Y, ["html", "head", "body"]), Y.table && (Kt(Y, ["tbody"]), delete ee.tbody), xs && xs(me), Dt = me);
53209
- }, zt = Kt({}, ["mi", "mo", "mn", "ms", "mtext"]), Hn = Kt({}, ["foreignobject", "desc", "title", "annotation-xml"]), Yt = Kt({}, bD);
53210
- Kt(Yt, yD), Kt(Yt, HZe);
53224
+ }, zt = Kt({}, ["mi", "mo", "mn", "ms", "mtext"]), Hn = Kt({}, ["foreignobject", "desc", "title", "annotation-xml"]), Zt = Kt({}, bD);
53225
+ Kt(Zt, yD), Kt(Zt, HZe);
53211
53226
  var Dn = Kt({}, CD);
53212
53227
  Kt(Dn, jZe);
53213
53228
  var Ds = function(me) {
@@ -53218,14 +53233,14 @@ function Aee() {
53218
53233
  });
53219
53234
  var ot = xh(me.tagName), q = xh($e.tagName);
53220
53235
  if (me.namespaceURI === Ne)
53221
- return $e.namespaceURI === Ze ? ot === "svg" : $e.namespaceURI === Ee ? ot === "svg" && (q === "annotation-xml" || zt[q]) : !!Yt[ot];
53236
+ return $e.namespaceURI === Ze ? ot === "svg" : $e.namespaceURI === Ee ? ot === "svg" && (q === "annotation-xml" || zt[q]) : !!Zt[ot];
53222
53237
  if (me.namespaceURI === Ee)
53223
53238
  return $e.namespaceURI === Ze ? ot === "math" : $e.namespaceURI === Ne ? ot === "math" && Hn[q] : !!Dn[ot];
53224
53239
  if (me.namespaceURI === Ze) {
53225
53240
  if ($e.namespaceURI === Ne && !Hn[q] || $e.namespaceURI === Ee && !zt[q])
53226
53241
  return !1;
53227
53242
  var ke = Kt({}, ["title", "style", "font", "a", "script"]);
53228
- return !Dn[ot] && (ke[ot] || !Yt[ot]);
53243
+ return !Dn[ot] && (ke[ot] || !Zt[ot]);
53229
53244
  }
53230
53245
  return !1;
53231
53246
  }, cr = function(me) {
@@ -82548,7 +82563,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
82548
82563
  }, $.list = function(M) {
82549
82564
  var P = this.rules.block.list.exec(M);
82550
82565
  if (P) {
82551
- var j, z, de, Se, Ee, Ne, Ze, Ke, Bt, Dt, Oe, It, zt = P[1].trim(), Hn = zt.length > 1, Yt = {
82566
+ var j, z, de, Se, Ee, Ne, Ze, Ke, Bt, Dt, Oe, It, zt = P[1].trim(), Hn = zt.length > 1, Zt = {
82552
82567
  type: "list",
82553
82568
  raw: "",
82554
82569
  ordered: Hn,
@@ -82575,20 +82590,20 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
82575
82590
  !Ne && !Ke.trim() && (Ne = !0), j += Dt + `
82576
82591
  `, M = M.substring(Dt.length + 1);
82577
82592
  }
82578
- Yt.loose || (Ze ? Yt.loose = !0 : /\n *\n *$/.test(j) && (Ze = !0)), this.options.gfm && (z = /^\[[ xX]\] /.exec(Oe), z && (de = z[0] !== "[ ] ", Oe = Oe.replace(/^\[[ xX]\] +/, ""))), Yt.items.push({
82593
+ Zt.loose || (Ze ? Zt.loose = !0 : /\n *\n *$/.test(j) && (Ze = !0)), this.options.gfm && (z = /^\[[ xX]\] /.exec(Oe), z && (de = z[0] !== "[ ] ", Oe = Oe.replace(/^\[[ xX]\] +/, ""))), Zt.items.push({
82579
82594
  type: "list_item",
82580
82595
  raw: j,
82581
82596
  task: !!z,
82582
82597
  checked: de,
82583
82598
  loose: !1,
82584
82599
  text: Oe
82585
- }), Yt.raw += j;
82600
+ }), Zt.raw += j;
82586
82601
  }
82587
- Yt.items[Yt.items.length - 1].raw = j.trimRight(), Yt.items[Yt.items.length - 1].text = Oe.trimRight(), Yt.raw = Yt.raw.trimRight();
82588
- var uc = Yt.items.length;
82602
+ Zt.items[Zt.items.length - 1].raw = j.trimRight(), Zt.items[Zt.items.length - 1].text = Oe.trimRight(), Zt.raw = Zt.raw.trimRight();
82603
+ var uc = Zt.items.length;
82589
82604
  for (Ee = 0; Ee < uc; Ee++) {
82590
- this.lexer.state.top = !1, Yt.items[Ee].tokens = this.lexer.blockTokens(Yt.items[Ee].text, []);
82591
- var rl = Yt.items[Ee].tokens.filter(function(Wr) {
82605
+ this.lexer.state.top = !1, Zt.items[Ee].tokens = this.lexer.blockTokens(Zt.items[Ee].text, []);
82606
+ var rl = Zt.items[Ee].tokens.filter(function(Wr) {
82592
82607
  return Wr.type === "space";
82593
82608
  }), dc = rl.every(function(Wr) {
82594
82609
  for (var oh = Wr.raw.split(""), ah = 0, yg = o(oh), lh; !(lh = yg()).done; ) {
@@ -82599,9 +82614,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
82599
82614
  }
82600
82615
  return !1;
82601
82616
  });
82602
- !Yt.loose && rl.length && dc && (Yt.loose = !0, Yt.items[Ee].loose = !0);
82617
+ !Zt.loose && rl.length && dc && (Zt.loose = !0, Zt.items[Ee].loose = !0);
82603
82618
  }
82604
- return Yt;
82619
+ return Zt;
82605
82620
  }
82606
82621
  }, $.html = function(M) {
82607
82622
  var P = this.rules.block.html.exec(M);
@@ -83313,7 +83328,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
83313
83328
  var $ = G.prototype;
83314
83329
  return $.parse = function(M, P) {
83315
83330
  P === void 0 && (P = !0);
83316
- var j = "", z, de, Se, Ee, Ne, Ze, Ke, Bt, Dt, Oe, It, zt, Hn, Yt, Dn, Ds, cr, Es, ha, uc = M.length;
83331
+ var j = "", z, de, Se, Ee, Ne, Ze, Ke, Bt, Dt, Oe, It, zt, Hn, Zt, Dn, Ds, cr, Es, ha, uc = M.length;
83317
83332
  for (z = 0; z < uc; z++) {
83318
83333
  if (Oe = M[z], this.options.extensions && this.options.extensions.renderers && this.options.extensions.renderers[Oe.type] && (ha = this.options.extensions.renderers[Oe.type].call({
83319
83334
  parser: this
@@ -83359,10 +83374,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
83359
83374
  }
83360
83375
  case "list": {
83361
83376
  for (It = Oe.ordered, zt = Oe.start, Hn = Oe.loose, Ee = Oe.items.length, Dt = "", de = 0; de < Ee; de++)
83362
- Dn = Oe.items[de], Ds = Dn.checked, cr = Dn.task, Yt = "", Dn.task && (Es = this.renderer.checkbox(Ds), Hn ? Dn.tokens.length > 0 && Dn.tokens[0].type === "paragraph" ? (Dn.tokens[0].text = Es + " " + Dn.tokens[0].text, Dn.tokens[0].tokens && Dn.tokens[0].tokens.length > 0 && Dn.tokens[0].tokens[0].type === "text" && (Dn.tokens[0].tokens[0].text = Es + " " + Dn.tokens[0].tokens[0].text)) : Dn.tokens.unshift({
83377
+ Dn = Oe.items[de], Ds = Dn.checked, cr = Dn.task, Zt = "", Dn.task && (Es = this.renderer.checkbox(Ds), Hn ? Dn.tokens.length > 0 && Dn.tokens[0].type === "paragraph" ? (Dn.tokens[0].text = Es + " " + Dn.tokens[0].text, Dn.tokens[0].tokens && Dn.tokens[0].tokens.length > 0 && Dn.tokens[0].tokens[0].type === "text" && (Dn.tokens[0].tokens[0].text = Es + " " + Dn.tokens[0].tokens[0].text)) : Dn.tokens.unshift({
83363
83378
  type: "text",
83364
83379
  text: Es
83365
- }) : Yt += Es), Yt += this.parse(Dn.tokens, Hn), Dt += this.renderer.listitem(Yt, cr, Ds);
83380
+ }) : Zt += Es), Zt += this.parse(Dn.tokens, Hn), Dt += this.renderer.listitem(Zt, cr, Ds);
83366
83381
  j += this.renderer.list(Dt, It, zt);
83367
83382
  continue;
83368
83383
  }
@@ -103808,14 +103823,14 @@ class Qut extends Oie {
103808
103823
  (e = this._value) === null || e === void 0 || e.dispose();
103809
103824
  }
103810
103825
  }
103811
- function Zt(n, e) {
103826
+ function Xt(n, e) {
103812
103827
  return new Nie(n, e, void 0, void 0, void 0);
103813
103828
  }
103814
103829
  function I6(n, e) {
103815
103830
  const t = new et();
103816
103831
  return new Nie(n, (i) => (t.clear(), e(i, t)), void 0, void 0, () => t.dispose());
103817
103832
  }
103818
- Gut(Zt);
103833
+ Gut(Xt);
103819
103834
  class Nie extends oy {
103820
103835
  get debugName() {
103821
103836
  return typeof this._debugName == "function" ? this._debugName() : this._debugName;
@@ -104379,7 +104394,7 @@ function Wj(n, e, t) {
104379
104394
  }
104380
104395
  class pdt extends xe {
104381
104396
  constructor(e, t, i) {
104382
- super(), this._editors = e, this._diffModel = t, this._options = i, this._decorations = Zt("decorations", (r) => {
104397
+ super(), this._editors = e, this._diffModel = t, this._options = i, this._decorations = Xt("decorations", (r) => {
104383
104398
  var s;
104384
104399
  const o = (s = this._diffModel.read(r)) === null || s === void 0 ? void 0 : s.diff.read(r);
104385
104400
  if (!o)
@@ -104433,7 +104448,7 @@ class pdt extends xe {
104433
104448
  }
104434
104449
  class vdt extends xe {
104435
104450
  constructor(e, t, i) {
104436
- super(), this._options = e, this._domNode = t, this._dimensions = i, this._sashRatio = si("sashRatio", void 0), this.sashLeft = Zt("sashLeft", (r) => {
104451
+ super(), this._options = e, this._domNode = t, this._dimensions = i, this._sashRatio = si("sashRatio", void 0), this.sashLeft = Xt("sashLeft", (r) => {
104437
104452
  var s;
104438
104453
  const o = (s = this._sashRatio.read(r)) !== null && s !== void 0 ? s : this._options.splitViewDefaultRatio.read(r);
104439
104454
  return this._computeSashLeft(o, r);
@@ -104491,7 +104506,7 @@ var Vj = globalThis && globalThis.__awaiter || function(n, e, t, i) {
104491
104506
  };
104492
104507
  class _dt extends xe {
104493
104508
  constructor(e, t, i) {
104494
- super(), this.model = e, this._options = t, this._isDiffUpToDate = si("isDiffUpToDate", !1), this.isDiffUpToDate = this._isDiffUpToDate, this._diff = si("diff", void 0), this.diff = this._diff, this._unchangedRegions = si("unchangedRegion", { regions: [], originalDecorationIds: [], modifiedDecorationIds: [] }), this.unchangedRegions = Zt("unchangedRegions", (l) => this._options.collapseUnchangedRegions.read(l) ? this._unchangedRegions.read(l).regions : (nr((c) => {
104509
+ super(), this.model = e, this._options = t, this._isDiffUpToDate = si("isDiffUpToDate", !1), this.isDiffUpToDate = this._isDiffUpToDate, this._diff = si("diff", void 0), this.diff = this._diff, this._unchangedRegions = si("unchangedRegion", { regions: [], originalDecorationIds: [], modifiedDecorationIds: [] }), this.unchangedRegions = Xt("unchangedRegions", (l) => this._options.collapseUnchangedRegions.read(l) ? this._unchangedRegions.read(l).regions : (nr((c) => {
104495
104510
  for (const u of this._unchangedRegions.get().regions)
104496
104511
  u.setState(0, 0, c);
104497
104512
  }), [])), this.syncedMovedTexts = si("syncedMovedText", void 0);
@@ -104630,7 +104645,7 @@ class h2 {
104630
104645
  return Et.ofLength(this.modifiedLineNumber, this.lineCount);
104631
104646
  }
104632
104647
  constructor(e, t, i, r, s) {
104633
- this.originalLineNumber = e, this.modifiedLineNumber = t, this.lineCount = i, this._visibleLineCountTop = si("visibleLineCountTop", 0), this.visibleLineCountTop = this._visibleLineCountTop, this._visibleLineCountBottom = si("visibleLineCountBottom", 0), this.visibleLineCountBottom = this._visibleLineCountBottom, this._shouldHideControls = Zt("isVisible", (o) => this.visibleLineCountTop.read(o) + this.visibleLineCountBottom.read(o) === this.lineCount && !this.isDragged.read(o)), this.isDragged = si("isDragged", !1), this._visibleLineCountTop.set(r, void 0), this._visibleLineCountBottom.set(s, void 0);
104648
+ this.originalLineNumber = e, this.modifiedLineNumber = t, this.lineCount = i, this._visibleLineCountTop = si("visibleLineCountTop", 0), this.visibleLineCountTop = this._visibleLineCountTop, this._visibleLineCountBottom = si("visibleLineCountBottom", 0), this.visibleLineCountBottom = this._visibleLineCountBottom, this._shouldHideControls = Xt("isVisible", (o) => this.visibleLineCountTop.read(o) + this.visibleLineCountBottom.read(o) === this.lineCount && !this.isDragged.read(o)), this.isDragged = si("isDragged", !1), this._visibleLineCountTop.set(r, void 0), this._visibleLineCountBottom.set(s, void 0);
104634
104649
  }
104635
104650
  shouldHideControls(e) {
104636
104651
  return this._shouldHideControls.read(e);
@@ -104945,14 +104960,14 @@ let wN = class extends xe {
104945
104960
  y.model.original.onDidChangeTokens,
104946
104961
  () => y.model.original.tokenization.backgroundTokenizationState === 2
104947
104962
  /* BackgroundTokenizationState.Completed */
104948
- ) : void 0).map((y, w) => y == null ? void 0 : y.read(w)), h = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Set(), g = Zt("alignments", (y) => {
104963
+ ) : void 0).map((y, w) => y == null ? void 0 : y.read(w)), h = /* @__PURE__ */ new Set(), f = /* @__PURE__ */ new Set(), g = Xt("alignments", (y) => {
104949
104964
  const w = this._diffModel.read(y), k = w == null ? void 0 : w.diff.read(y);
104950
104965
  if (!w || !k)
104951
104966
  return null;
104952
104967
  c.read(y);
104953
104968
  const D = this._options.renderSideBySide.read(y);
104954
104969
  return Kj(this._editors.original, this._editors.modified, k.mappings, h, f, D);
104955
- }), m = Zt("alignments", (y) => {
104970
+ }), m = Xt("alignments", (y) => {
104956
104971
  var w;
104957
104972
  const k = (w = this._diffModel.read(y)) === null || w === void 0 ? void 0 : w.syncedMovedTexts.read(y);
104958
104973
  if (!k)
@@ -104965,7 +104980,7 @@ let wN = class extends xe {
104965
104980
  const y = document.createElement("div");
104966
104981
  return y.className = "diagonal-fill", y;
104967
104982
  }
104968
- const _ = this._register(new et()), v = Zt("alignment viewzones", (y) => {
104983
+ const _ = this._register(new et()), v = Xt("alignment viewzones", (y) => {
104969
104984
  var w, k, L, D, E, O, A, T;
104970
104985
  _.clear();
104971
104986
  const N = g.read(y) || [], R = [], W = [], J = this._modifiedTopPadding.read(y);
@@ -105257,7 +105272,7 @@ var xdt = globalThis && globalThis.__decorate || function(n, e, t, i) {
105257
105272
  let $l = class Sc extends xe {
105258
105273
  constructor(e, t, i, r, s, o, a, l) {
105259
105274
  super(), this._editors = e, this._rootElement = t, this._diffModel = i, this._rootWidth = r, this._rootHeight = s, this._modifiedEditorLayoutInfo = o, this._options = a, this._themeService = l;
105260
- const c = za(this._themeService.onDidColorThemeChange, () => this._themeService.getColorTheme()), u = Zt("colors", (f) => {
105275
+ const c = za(this._themeService.onDidColorThemeChange, () => this._themeService.getColorTheme()), u = Xt("colors", (f) => {
105261
105276
  const g = c.read(f), m = g.getColor(lte) || (g.getColor(ote) || kx).transparent(2), p = g.getColor(cte) || (g.getColor(ate) || Dx).transparent(2);
105262
105277
  return { insertColor: m, removeColor: p };
105263
105278
  }), d = za(this._editors.modified.onDidScrollChange, () => this._editors.modified.getScrollTop()), h = za(this._editors.modified.onDidScrollChange, () => this._editors.modified.getScrollHeight());
@@ -105355,11 +105370,11 @@ class kdt extends xe {
105355
105370
  for (const g of f)
105356
105371
  if (!g.shouldHideControls(l)) {
105357
105372
  {
105358
- const m = Zt("hiddenOriginalRangeStart", (_) => g.getHiddenOriginalRange(_).startLineNumber - 1), p = new Bj(m, 24);
105373
+ const m = Xt("hiddenOriginalRangeStart", (_) => g.getHiddenOriginalRange(_).startLineNumber - 1), p = new Bj(m, 24);
105359
105374
  u.push(p), c.add(new Yj(this._editors.original, p, g, !h));
105360
105375
  }
105361
105376
  {
105362
- const m = Zt("hiddenModifiedRangeStart", (_) => g.getHiddenModifiedRange(_).startLineNumber - 1), p = new Bj(m, 24);
105377
+ const m = Xt("hiddenModifiedRangeStart", (_) => g.getHiddenModifiedRange(_).startLineNumber - 1), p = new Bj(m, 24);
105363
105378
  d.push(p), c.add(new Yj(this._editors.modified, p, g, !1));
105364
105379
  }
105365
105380
  }
@@ -105374,7 +105389,7 @@ class kdt extends xe {
105374
105389
  glyphMarginClassName: "fold-unchanged " + mt.asClassName(Ae.fold),
105375
105390
  zIndex: 10001
105376
105391
  };
105377
- this._register(d2(this._editors.original, Zt("decorations", (l) => {
105392
+ this._register(d2(this._editors.original, Xt("decorations", (l) => {
105378
105393
  const c = r.read(l), u = c.map((d) => ({
105379
105394
  range: d.originalRange.toInclusiveRange(),
105380
105395
  options: o
@@ -105385,7 +105400,7 @@ class kdt extends xe {
105385
105400
  options: a
105386
105401
  });
105387
105402
  return u;
105388
- }))), this._register(d2(this._editors.modified, Zt("decorations", (l) => {
105403
+ }))), this._register(d2(this._editors.modified, Xt("decorations", (l) => {
105389
105404
  const c = r.read(l), u = c.map((d) => ({
105390
105405
  range: d.modifiedRange.toInclusiveRange(),
105391
105406
  options: o
@@ -105669,10 +105684,10 @@ class Edt {
105669
105684
  return this._options;
105670
105685
  }
105671
105686
  constructor(e) {
105672
- this.renderOverviewRuler = Zt("renderOverviewRuler", (i) => this._options.read(i).renderOverviewRuler), this.renderSideBySide = Zt("renderSideBySide", (i) => this._options.read(i).renderSideBySide), this.readOnly = Zt("readOnly", (i) => this._options.read(i).readOnly), this.shouldRenderRevertArrows = Zt("shouldRenderRevertArrows", (i) => !(!this._options.read(i).renderMarginRevertIcon || !this.renderSideBySide.read(i) || this.readOnly.read(i))), this.renderIndicators = Zt("renderIndicators", (i) => this._options.read(i).renderIndicators), this.enableSplitViewResizing = Zt("enableSplitViewResizing", (i) => this._options.read(i).enableSplitViewResizing), this.collapseUnchangedRegions = Zt("hideUnchangedRegions", (i) => this._options.read(i).experimental.collapseUnchangedRegions), this.splitViewDefaultRatio = Zt("splitViewDefaultRatio", (i) => this._options.read(i).splitViewDefaultRatio), this.ignoreTrimWhitespace = Zt("ignoreTrimWhitespace", (i) => this._options.read(i).ignoreTrimWhitespace), this.maxComputationTimeMs = Zt("maxComputationTime", (i) => this._options.read(i).maxComputationTime), this.showMoves = Zt("showMoves", (i) => {
105687
+ this.renderOverviewRuler = Xt("renderOverviewRuler", (i) => this._options.read(i).renderOverviewRuler), this.renderSideBySide = Xt("renderSideBySide", (i) => this._options.read(i).renderSideBySide), this.readOnly = Xt("readOnly", (i) => this._options.read(i).readOnly), this.shouldRenderRevertArrows = Xt("shouldRenderRevertArrows", (i) => !(!this._options.read(i).renderMarginRevertIcon || !this.renderSideBySide.read(i) || this.readOnly.read(i))), this.renderIndicators = Xt("renderIndicators", (i) => this._options.read(i).renderIndicators), this.enableSplitViewResizing = Xt("enableSplitViewResizing", (i) => this._options.read(i).enableSplitViewResizing), this.collapseUnchangedRegions = Xt("hideUnchangedRegions", (i) => this._options.read(i).experimental.collapseUnchangedRegions), this.splitViewDefaultRatio = Xt("splitViewDefaultRatio", (i) => this._options.read(i).splitViewDefaultRatio), this.ignoreTrimWhitespace = Xt("ignoreTrimWhitespace", (i) => this._options.read(i).ignoreTrimWhitespace), this.maxComputationTimeMs = Xt("maxComputationTime", (i) => this._options.read(i).maxComputationTime), this.showMoves = Xt("showMoves", (i) => {
105673
105688
  const r = this._options.read(i);
105674
105689
  return r.experimental.showMoves && r.renderSideBySide;
105675
- }), this.isInEmbeddedEditor = Zt("isInEmbeddedEditor", (i) => this._options.read(i).isInEmbeddedEditor), this.diffWordWrap = Zt("diffWordWrap", (i) => this._options.read(i).diffWordWrap), this.originalEditable = Zt("originalEditable", (i) => this._options.read(i).originalEditable), this.diffCodeLens = Zt("diffCodeLens", (i) => this._options.read(i).diffCodeLens), this.accessibilityVerbose = Zt("accessibilityVerbose", (i) => this._options.read(i).accessibilityVerbose), this.diffAlgorithm = Zt("diffAlgorithm", (i) => this._options.read(i).diffAlgorithm), this.showEmptyDecorations = Zt("showEmptyDecorations", (i) => this._options.read(i).experimental.showEmptyDecorations), this.onlyShowAccessibleDiffViewer = Zt("onlyShowAccessibleDiffViewer", (i) => this._options.read(i).onlyShowAccessibleDiffViewer);
105690
+ }), this.isInEmbeddedEditor = Xt("isInEmbeddedEditor", (i) => this._options.read(i).isInEmbeddedEditor), this.diffWordWrap = Xt("diffWordWrap", (i) => this._options.read(i).diffWordWrap), this.originalEditable = Xt("originalEditable", (i) => this._options.read(i).originalEditable), this.diffCodeLens = Xt("diffCodeLens", (i) => this._options.read(i).diffCodeLens), this.accessibilityVerbose = Xt("accessibilityVerbose", (i) => this._options.read(i).accessibilityVerbose), this.diffAlgorithm = Xt("diffAlgorithm", (i) => this._options.read(i).diffAlgorithm), this.showEmptyDecorations = Xt("showEmptyDecorations", (i) => this._options.read(i).experimental.showEmptyDecorations), this.onlyShowAccessibleDiffViewer = Xt("onlyShowAccessibleDiffViewer", (i) => this._options.read(i).onlyShowAccessibleDiffViewer);
105676
105691
  const t = Object.assign(Object.assign({}, e), Xj(e, Tdt));
105677
105692
  this._options = si("options", t);
105678
105693
  }
@@ -106032,7 +106047,7 @@ let kN = class extends xe {
106032
106047
  } else
106033
106048
  h = this._createRow(d, c, this._width.get(), t, s, a, i, o, l);
106034
106049
  r.appendChild(h);
106035
- const f = Zt("isSelected", (g) => this._model.currentElement.read(g) === d);
106050
+ const f = Xt("isSelected", (g) => this._model.currentElement.read(g) === d);
106036
106051
  e.add(ai("update tab index", (g) => {
106037
106052
  const m = f.read(g);
106038
106053
  h.tabIndex = m ? 0 : -1, m && h.focus();
@@ -106159,7 +106174,7 @@ let DN = class extends $k {
106159
106174
  eo("div.editor.original@original", { style: { position: "absolute", height: "100%" } }),
106160
106175
  eo("div.editor.modified@modified", { style: { position: "absolute", height: "100%" } }),
106161
106176
  eo("div.accessibleDiffViewer@accessibleDiffViewer", { style: { position: "absolute", height: "100%" } })
106162
- ]), this._diffModel = this._register(Xut("diffModel", void 0)), this.onDidChangeModel = je.fromObservableLight(this._diffModel), this._contextKeyService = this._register(this._parentContextKeyService.createScoped(this._domElement)), this._instantiationService = this._parentInstantiationService.createChild(new Y1([Jt, this._contextKeyService])), this._boundarySashes = si("boundarySashes", void 0), this._accessibleDiffViewerShouldBeVisible = si("accessibleDiffViewerShouldBeVisible", !1), this._accessibleDiffViewerVisible = Zt("accessibleDiffViewerVisible", (h) => this._options.onlyShowAccessibleDiffViewer.read(h) ? !0 : this._accessibleDiffViewerShouldBeVisible.read(h)), this._layoutInfo = Zt("modifiedEditorLayoutInfo", (h) => {
106177
+ ]), this._diffModel = this._register(Xut("diffModel", void 0)), this.onDidChangeModel = je.fromObservableLight(this._diffModel), this._contextKeyService = this._register(this._parentContextKeyService.createScoped(this._domElement)), this._instantiationService = this._parentInstantiationService.createChild(new Y1([Jt, this._contextKeyService])), this._boundarySashes = si("boundarySashes", void 0), this._accessibleDiffViewerShouldBeVisible = si("accessibleDiffViewerShouldBeVisible", !1), this._accessibleDiffViewerVisible = Xt("accessibleDiffViewerVisible", (h) => this._options.onlyShowAccessibleDiffViewer.read(h) ? !0 : this._accessibleDiffViewerShouldBeVisible.read(h)), this._layoutInfo = Xt("modifiedEditorLayoutInfo", (h) => {
106163
106178
  var f;
106164
106179
  const g = this._rootSizeObserver.width.read(h), m = this._rootSizeObserver.height.read(h), p = (f = this._sash.read(h)) === null || f === void 0 ? void 0 : f.sashLeft.read(h), _ = p ?? Math.max(5, this._editors.original.getLayoutInfo().decorationsLeft), v = g - _ - (this._options.renderOverviewRuler.read(h) ? $l.ENTIRE_DIFF_OVERVIEW_WIDTH : 0);
106165
106180
  return this.elements.original.style.width = _ + "px", this.elements.original.style.left = "0px", this.elements.modified.style.width = v + "px", this.elements.modified.style.left = _ + "px", this._editors.original.layout({ width: _, height: m }), this._editors.modified.layout({ width: v, height: m }), {
@@ -106203,7 +106218,7 @@ let DN = class extends $k {
106203
106218
  const d = this._accessibleDiffViewerVisible.map((h) => h ? "hidden" : "visible");
106204
106219
  this._register(Cf(this.elements.modified, { visibility: d })), this._register(Cf(this.elements.original, { visibility: d })), this._createDiffEditorContributions(), o.addDiffEditor(this), this._register(bN(this._layoutInfo, !0)), this._register(new Md(this.elements.root, this._diffModel, this._layoutInfo.map((h) => h.originalEditor), this._layoutInfo.map((h) => h.modifiedEditor), this._editors)), this._register(Cf(this.elements.overlay, {
106205
106220
  width: this._layoutInfo.map((h, f) => h.originalEditor.width + (this._options.renderSideBySide.read(f) ? 0 : h.modifiedEditor.width)),
106206
- visibility: Zt("visibility", (h) => {
106221
+ visibility: Xt("visibility", (h) => {
106207
106222
  var f, g;
106208
106223
  return this._options.collapseUnchangedRegions.read(h) && ((g = (f = this._diffModel.read(h)) === null || f === void 0 ? void 0 : f.diff.read(h)) === null || g === void 0 ? void 0 : g.mappings.length) === 0 ? "visible" : "hidden";
106209
106224
  })
@@ -109755,7 +109770,7 @@ function Zpt(n) {
109755
109770
  }
109756
109771
  ),
109757
109772
  e === "password" && /* @__PURE__ */ x.jsx(
109758
- Qt,
109773
+ Yt,
109759
109774
  {
109760
109775
  variant: "control",
109761
109776
  onClick: () => R(!N),
@@ -109764,7 +109779,7 @@ function Zpt(n) {
109764
109779
  }
109765
109780
  ),
109766
109781
  b && /* @__PURE__ */ x.jsx(
109767
- Qt,
109782
+ Yt,
109768
109783
  {
109769
109784
  ouiaId: `lookup-${re}-button`,
109770
109785
  variant: "control",
@@ -111209,7 +111224,7 @@ function Xpt(n) {
111209
111224
  ),
111210
111225
  n.onCancel ? /* @__PURE__ */ x.jsx("div", { className: "dark-2 border-top", style: { padding: i ? void 0 : 24 }, children: /* @__PURE__ */ x.jsxs(jre, { style: { marginTop: 0 }, children: [
111211
111226
  /* @__PURE__ */ x.jsx(eU, { children: n.submitText }),
111212
- n.additionalActionText ? /* @__PURE__ */ x.jsx(Qt, { "aria-label": n.additionalActionText, type: "submit", variant: "secondary", children: n.additionalActionText }) : null,
111227
+ n.additionalActionText ? /* @__PURE__ */ x.jsx(Yt, { "aria-label": n.additionalActionText, type: "submit", variant: "secondary", children: n.additionalActionText }) : null,
111213
111228
  n.onCancel && /* @__PURE__ */ x.jsx(Sgt, { onCancel: n.onCancel, children: n.cancelText ?? s.cancelText })
111214
111229
  ] }) }) : /* @__PURE__ */ x.jsx(eU, { style: { marginTop: 48 }, children: n.submitText })
111215
111230
  ]
@@ -111224,7 +111239,7 @@ function Jz(n) {
111224
111239
  function eU(n) {
111225
111240
  const { isSubmitting: e, errors: t } = lQ(), { t: i } = Ls(), r = t && Object.keys(t).length > 0;
111226
111241
  return /* @__PURE__ */ x.jsx(Uo, { content: i("Please fix errors"), trigger: r ? void 0 : "manual", children: /* @__PURE__ */ x.jsx(
111227
- Qt,
111242
+ Yt,
111228
111243
  {
111229
111244
  type: "submit",
111230
111245
  isDisabled: e,
@@ -111237,7 +111252,7 @@ function eU(n) {
111237
111252
  ) });
111238
111253
  }
111239
111254
  function Sgt(n) {
111240
- return /* @__PURE__ */ x.jsx(Qt, { type: "button", variant: "link", onClick: n.onCancel, children: n.children });
111255
+ return /* @__PURE__ */ x.jsx(Yt, { type: "button", variant: "link", onClick: n.onCancel, children: n.children });
111241
111256
  }
111242
111257
  const ore = Jl({
111243
111258
  isOpen: !1,
@@ -111326,7 +111341,7 @@ function e0t(n) {
111326
111341
  bodyContent: /* @__PURE__ */ x.jsxs(Fa, { hasGutter: !0, children: [
111327
111342
  typeof n.titleHelp == "string" ? /* @__PURE__ */ x.jsx(Bh, { children: n.titleHelp }) : n.titleHelp.map((f, g) => /* @__PURE__ */ x.jsx(Bh, { children: f }, g)),
111328
111343
  n.titleDocLink && /* @__PURE__ */ x.jsx(Bh, { children: /* @__PURE__ */ x.jsx(
111329
- Qt,
111344
+ Yt,
111330
111345
  {
111331
111346
  icon: /* @__PURE__ */ x.jsx(EU, {}),
111332
111347
  variant: "link",
@@ -111341,7 +111356,7 @@ function e0t(n) {
111341
111356
  children: /* @__PURE__ */ x.jsxs(Nl, { headingLevel: "h1", children: [
111342
111357
  t,
111343
111358
  /* @__PURE__ */ x.jsx(
111344
- Qt,
111359
+ Yt,
111345
111360
  {
111346
111361
  variant: "link",
111347
111362
  style: {