@livechat/design-system-react-components 1.28.2 → 1.28.3

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/index.es.js CHANGED
@@ -1,36 +1,36 @@
1
1
  var zr = Object.defineProperty, Gr = Object.defineProperties;
2
2
  var Ur = Object.getOwnPropertyDescriptors;
3
- var Mt = Object.getOwnPropertySymbols;
3
+ var Rt = Object.getOwnPropertySymbols;
4
4
  var qa = Object.prototype.hasOwnProperty, Ya = Object.prototype.propertyIsEnumerable;
5
5
  var ya = (t, a, r) => a in t ? zr(t, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[a] = r, k = (t, a) => {
6
6
  for (var r in a || (a = {}))
7
7
  qa.call(a, r) && ya(t, r, a[r]);
8
- if (Mt)
9
- for (var r of Mt(a))
8
+ if (Rt)
9
+ for (var r of Rt(a))
10
10
  Ya.call(a, r) && ya(t, r, a[r]);
11
11
  return t;
12
- }, x = (t, a) => Gr(t, Ur(a));
12
+ }, S = (t, a) => Gr(t, Ur(a));
13
13
  var F = (t, a) => {
14
14
  var r = {};
15
15
  for (var _ in t)
16
16
  qa.call(t, _) && a.indexOf(_) < 0 && (r[_] = t[_]);
17
- if (t != null && Mt)
18
- for (var _ of Mt(t))
17
+ if (t != null && Rt)
18
+ for (var _ of Rt(t))
19
19
  a.indexOf(_) < 0 && Ya.call(t, _) && (r[_] = t[_]);
20
20
  return r;
21
21
  };
22
22
  var wa = (t, a, r) => (ya(t, typeof a != "symbol" ? a + "" : a, r), r);
23
23
  import * as e from "react";
24
24
  import { useReducer as Wr, useRef as Vr, useEffect as gt, useCallback as Lt, useMemo as Ot } from "react";
25
- import { Check as ea, Close as Ae, ChevronDown as Rt, Info as Oa, Warning as hr, CheckCircle as kr, Block as yr, Person as qr, ChevronUp as ta, DoubleArrowLeft as Yr, ChevronLeft as Kr, ChevronRight as wr, DoubleArrowRight as Jr, VisibilityOn as Xr, VisibilityOff as Qr, Search as jr, LockBlack as Zr, Refresh as e_, Error as t_ } from "@livechat/design-system-icons";
25
+ import { Check as ea, Close as Ae, ChevronDown as Mt, Info as Oa, Warning as hr, CheckCircle as kr, Block as yr, Person as qr, ChevronUp as ta, DoubleArrowLeft as Yr, ChevronLeft as Kr, ChevronRight as wr, DoubleArrowRight as Jr, VisibilityOn as Xr, VisibilityOff as Qr, Search as jr, LockBlack as Zr, Refresh as e_, Error as t_ } from "@livechat/design-system-icons";
26
26
  import u from "clsx";
27
27
  import { useFloatingParentNodeId as Ha, useFloatingNodeId as aa, useFloating as ra, offset as _a, flip as oa, size as Er, autoUpdate as la, useClick as ca, useDismiss as na, useRole as sa, useInteractions as ia, useTransitionStyles as $r, FloatingNode as da, FloatingTree as za, shift as Ga, arrow as a_, useHover as r_, safePolygon as __, useFocus as o_, useTransitionStatus as l_, FloatingArrow as c_, FloatingPortal as Nr, FloatingOverlay as n_, FloatingFocusManager as Pa, useListNavigation as s_ } from "@floating-ui/react";
28
28
  import * as Cr from "react-dom";
29
29
  import { flushSync as i_ } from "react-dom";
30
- import xr from "lodash.debounce";
30
+ import Sr from "lodash.debounce";
31
31
  import { getContrast as Ua } from "polished";
32
32
  import d_ from "react-day-picker";
33
- import { subMonths as bt, differenceInCalendarMonths as Ka, addMonths as Ja, isSameMonth as Ia, isSameDay as Fa, isAfter as Ra, differenceInCalendarDays as Sr } from "date-fns";
33
+ import { subMonths as bt, differenceInCalendarMonths as Ka, addMonths as Ja, isSameMonth as Ia, isSameDay as Fa, isAfter as Ma, differenceInCalendarDays as xr } from "date-fns";
34
34
  import { Virtuoso as u_ } from "react-virtuoso";
35
35
  import Xa from "lodash.escape";
36
36
  import { TransitionGroup as Tr, CSSTransition as Dr } from "react-transition-group";
@@ -398,7 +398,9 @@ const mc = {
398
398
  ContentBasicInternalNoteMessageActive: "--content-basic-internal-note-message-active",
399
399
  OnePopoverMessageBackgroundDefault: "--one-popover-message-background-default",
400
400
  OnePopoverBorderDefault: "--one-popover-border-default",
401
- OnePopoverBorderActive: "--one-popover-border-active"
401
+ OnePopoverBorderActive: "--one-popover-border-active",
402
+ OneTooltipBackground: "--one-tooltip-background",
403
+ ContentBasicAutofill: "--content-basic-autofill"
402
404
  }, pc = {
403
405
  Spacing0: "--spacing-0",
404
406
  Spacing05: "--spacing-05",
@@ -563,7 +565,7 @@ const mc = {
563
565
  Qa[ja],
564
566
  _ && Qa[`${ja}--${o ? "disabled--" : ""}${_}`]
565
567
  );
566
- return /* @__PURE__ */ e.createElement("span", x(k({}, i), { className: n }), d);
568
+ return /* @__PURE__ */ e.createElement("span", S(k({}, i), { className: n }), d);
567
569
  }, Le = {
568
570
  "heading-xl": "lc-Typography-module__heading-xl___nhr-6",
569
571
  "heading-lg": "lc-Typography-module__heading-lg___XYF7l",
@@ -716,7 +718,7 @@ const mc = {
716
718
  "action-menu__list__item__icon": "lc-ActionMenu-module__action-menu__list__item__icon___o3ePo",
717
719
  "action-menu__list--with-footer": "lc-ActionMenu-module__action-menu__list--with-footer___ghTxL",
718
720
  "action-menu__footer": "lc-ActionMenu-module__action-menu__footer___HxoOe"
719
- }, Re = "action-menu", b_ = (w) => {
721
+ }, Me = "action-menu", b_ = (w) => {
720
722
  var f = w, {
721
723
  className: t,
722
724
  triggerClassName: a,
@@ -750,14 +752,14 @@ const mc = {
750
752
  ]);
751
753
  const h = d !== void 0, [v, E] = e.useState(l), [N, $] = e.useState(null), y = e.useRef(-1), C = Ha(), D = aa(), L = e.useRef(null), G = h ? d : v, T = () => {
752
754
  G ? (n == null || n(), !h && E(!1)) : (s == null || s(), !h && E(!0));
753
- }, { x: M, y: V, strategy: q, refs: he, context: oe } = ra({
755
+ }, { x: R, y: V, strategy: q, refs: he, context: oe } = ra({
754
756
  nodeId: D,
755
757
  middleware: [
756
758
  _a(4),
757
759
  oa(i),
758
760
  Er({
759
- apply({ availableHeight: S }) {
760
- i_(() => $(S));
761
+ apply({ availableHeight: x }) {
762
+ i_(() => $(x));
761
763
  }
762
764
  })
763
765
  ],
@@ -766,84 +768,84 @@ const mc = {
766
768
  strategy: p,
767
769
  onOpenChange: T,
768
770
  whileElementsMounted: la
769
- }), Ee = ca(oe), Oe = na(oe, {
771
+ }), we = ca(oe), Oe = na(oe, {
770
772
  enabled: G
771
- }), $e = sa(oe), { getReferenceProps: Pe, getFloatingProps: je } = ia([
772
- Ee,
773
+ }), Ee = sa(oe), { getReferenceProps: Pe, getFloatingProps: Ze } = ia([
774
+ we,
773
775
  Oe,
774
- $e
776
+ Ee
775
777
  ]), { styles: lt } = $r(oe, {
776
- initial: ({ side: S }) => k({
778
+ initial: ({ side: x }) => k({
777
779
  opacity: 0
778
- }, S === "bottom" && {
780
+ }, x === "bottom" && {
779
781
  marginTop: -10
780
- } || S === "top" && {
782
+ } || x === "top" && {
781
783
  marginTop: 10
782
- } || S === "left" && {
784
+ } || x === "left" && {
783
785
  marginLeft: 10
784
- } || S === "right" && {
786
+ } || x === "right" && {
785
787
  marginLeft: -10
786
788
  })
787
- }), ct = (S) => {
789
+ }), ct = (x) => {
788
790
  var ze, Ge;
789
791
  const ee = y.current;
790
- let le = ee + S;
792
+ let le = ee + x;
791
793
  for (; (ze = r[le]) != null && ze.disabled || (Ge = r[le]) != null && Ge.groupHeader; )
792
- if (le += S, le === -1) {
794
+ if (le += x, le === -1) {
793
795
  le = ee;
794
796
  break;
795
797
  }
796
798
  return le;
797
- }, nt = (S) => {
799
+ }, nt = (x) => {
798
800
  var ze, Ge;
799
- y.current = ct(S);
801
+ y.current = ct(x);
800
802
  const ee = (ze = L.current) == null ? void 0 : ze.children, le = ee && ((Ge = ee[y.current]) == null ? void 0 : Ge.children[0]);
801
803
  return le == null ? void 0 : le.focus();
802
- }, He = (S) => {
803
- S.key === _e.arrowUp && y.current > 0 && (S.preventDefault(), nt(-1)), S.key === _e.arrowDown && y.current + 1 < r.length && (S.preventDefault(), nt(1));
804
+ }, He = (x) => {
805
+ x.key === _e.arrowUp && y.current > 0 && (x.preventDefault(), nt(-1)), x.key === _e.arrowDown && y.current + 1 < r.length && (x.preventDefault(), nt(1));
804
806
  };
805
807
  e.useEffect(() => {
806
808
  if (G)
807
809
  return document.addEventListener("keydown", He), () => document.removeEventListener("keydown", He);
808
810
  y.current = -1;
809
811
  }, [G, He]);
810
- const st = (S, ee) => {
811
- y.current = S, ee == null || ee(), !h && !c && (E(!1), n == null || n());
812
- }, vt = (S, ee) => S.groupHeader ? /* @__PURE__ */ e.createElement(
812
+ const st = (x, ee) => {
813
+ y.current = x, ee == null || ee(), !h && !c && (E(!1), n == null || n());
814
+ }, vt = (x, ee) => x.groupHeader ? /* @__PURE__ */ e.createElement(
813
815
  "li",
814
816
  {
815
- key: S.key,
817
+ key: x.key,
816
818
  role: "none",
817
- className: Fe[`${Re}__list__group-header`]
819
+ className: Fe[`${Me}__list__group-header`]
818
820
  },
819
- S.element
820
- ) : /* @__PURE__ */ e.createElement("li", { key: S.key, role: "none" }, /* @__PURE__ */ e.createElement(
821
+ x.element
822
+ ) : /* @__PURE__ */ e.createElement("li", { key: x.key, role: "none" }, /* @__PURE__ */ e.createElement(
821
823
  "button",
822
824
  {
823
- "data-testid": S.key,
825
+ "data-testid": x.key,
824
826
  tabIndex: -1,
825
- key: S.key,
826
- disabled: S.disabled,
827
- onClick: () => st(ee, S.onClick),
827
+ key: x.key,
828
+ disabled: x.disabled,
829
+ onClick: () => st(ee, x.onClick),
828
830
  role: "menuitem",
829
- className: u(Fe[`${Re}__list__item`], {
830
- [Fe[`${Re}__list__item--disabled`]]: S.disabled,
831
- [Fe[`${Re}__list__item--with-divider`]]: S.withDivider,
832
- [Fe[`${Re}__list__item--selected`]]: m == null ? void 0 : m.includes(S.key)
831
+ className: u(Fe[`${Me}__list__item`], {
832
+ [Fe[`${Me}__list__item--disabled`]]: x.disabled,
833
+ [Fe[`${Me}__list__item--with-divider`]]: x.withDivider,
834
+ [Fe[`${Me}__list__item--selected`]]: m == null ? void 0 : m.includes(x.key)
833
835
  })
834
836
  },
835
- S.element,
836
- (m == null ? void 0 : m.includes(S.key)) && /* @__PURE__ */ e.createElement(
837
+ x.element,
838
+ (m == null ? void 0 : m.includes(x.key)) && /* @__PURE__ */ e.createElement(
837
839
  "div",
838
840
  {
839
- "data-testid": `${S.key}-selected-icon`,
840
- className: Fe[`${Re}__list__item__icon`]
841
+ "data-testid": `${x.key}-selected-icon`,
842
+ className: Fe[`${Me}__list__item__icon`]
841
843
  },
842
844
  /* @__PURE__ */ e.createElement(P, { source: ea, kind: "action-primary" })
843
845
  )
844
846
  )), Ie = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
845
847
  "div",
846
- x(k({
848
+ S(k({
847
849
  "aria-label": "Toggle menu",
848
850
  "data-testid": "action-menu-trigger-button",
849
851
  ref: he.setReference
@@ -855,20 +857,20 @@ const mc = {
855
857
  "div",
856
858
  k({
857
859
  ref: he.setFloating,
858
- className: Fe[Re],
860
+ className: Fe[Me],
859
861
  style: k(k({
860
862
  position: q,
861
863
  top: V != null ? V : "",
862
- left: M != null ? M : ""
864
+ left: R != null ? R : ""
863
865
  }, !!N && { maxHeight: N }), lt)
864
- }, je()),
866
+ }, Ze()),
865
867
  r.length > 0 && /* @__PURE__ */ e.createElement(
866
868
  "ul",
867
- x(k({}, g), {
869
+ S(k({}, g), {
868
870
  className: u(
869
- Fe[`${Re}__list`],
871
+ Fe[`${Me}__list`],
870
872
  {
871
- [Fe[`${Re}__list--with-footer`]]: b
873
+ [Fe[`${Me}__list--with-footer`]]: b
872
874
  },
873
875
  t
874
876
  ),
@@ -882,7 +884,7 @@ const mc = {
882
884
  {
883
885
  size: "sm",
884
886
  as: "div",
885
- className: Fe[`${Re}__footer`]
887
+ className: Fe[`${Me}__footer`]
886
888
  },
887
889
  b
888
890
  )
@@ -1088,7 +1090,7 @@ function C_(t, a, r, _) {
1088
1090
  left: a ? _ + a : _
1089
1091
  };
1090
1092
  }
1091
- const x_ = (t) => {
1093
+ const S_ = (t) => {
1092
1094
  switch (t) {
1093
1095
  case "invert":
1094
1096
  return {
@@ -1106,8 +1108,8 @@ const x_ = (t) => {
1106
1108
  fill: "var(--tooltip-background-basic)"
1107
1109
  };
1108
1110
  }
1109
- }, S_ = "lc-Tooltip-module__tooltip___QOOAr", T_ = "lc-Tooltip-module__tooltip__content___RuamE", D_ = "lc-Tooltip-module__tooltip__arrow___Ov1YW", B_ = "lc-Tooltip-module__tooltip__interactive___0JawB", B = {
1110
- tooltip: S_,
1111
+ }, x_ = "lc-Tooltip-module__tooltip___QOOAr", T_ = "lc-Tooltip-module__tooltip__content___RuamE", D_ = "lc-Tooltip-module__tooltip__arrow___Ov1YW", B_ = "lc-Tooltip-module__tooltip__interactive___0JawB", B = {
1112
+ tooltip: x_,
1111
1113
  tooltip__content: T_,
1112
1114
  "tooltip--invert": "lc-Tooltip-module__tooltip--invert___PVjhE",
1113
1115
  tooltip__arrow: D_,
@@ -1165,35 +1167,35 @@ const x_ = (t) => {
1165
1167
  hoverOutDelayTimeout: L = 100,
1166
1168
  arrowOffsetY: G,
1167
1169
  arrowOffsetX: T,
1168
- closeOnTriggerBlur: M = !1,
1170
+ closeOnTriggerBlur: R = !1,
1169
1171
  floatingStrategy: V
1170
1172
  }) => {
1171
- const q = i !== void 0, [he, oe] = e.useState(!1), Ee = e.useRef(null), Oe = q ? i : he, $e = l || o, Pe = Ha(), je = aa(), lt = u(
1173
+ const q = i !== void 0, [he, oe] = e.useState(!1), we = e.useRef(null), Oe = q ? i : he, Ee = l || o, Pe = Ha(), Ze = aa(), lt = u(
1172
1174
  B[Ht],
1173
1175
  a,
1174
- $e && B[`${Ht}--${$e}`],
1176
+ Ee && B[`${Ht}--${Ee}`],
1175
1177
  d && B[`${Ht}--full-space`]
1176
1178
  ), ct = typeof _ == "function", nt = (ce) => {
1177
1179
  ce !== Oe && (ce ? s == null || s() : n == null || n(), !q && oe(ce));
1178
1180
  }, He = (ce) => p ? ce != null ? ce : m : 0, st = (ce) => ce != null ? ce : w, {
1179
1181
  floatingStyles: vt,
1180
1182
  refs: Ie,
1181
- context: S,
1183
+ context: x,
1182
1184
  middlewareData: { arrow: { x: ee, y: le } = {} }
1183
1185
  } = ra({
1184
- nodeId: je,
1186
+ nodeId: Ze,
1185
1187
  middleware: [
1186
1188
  _a({ mainAxis: N }),
1187
1189
  Ga(),
1188
1190
  oa(),
1189
- a_({ element: Ee })
1191
+ a_({ element: we })
1190
1192
  ],
1191
1193
  placement: c,
1192
1194
  open: Oe,
1193
1195
  strategy: V,
1194
1196
  onOpenChange: nt,
1195
1197
  whileElementsMounted: la
1196
- }), ze = r_(S, {
1198
+ }), ze = r_(x, {
1197
1199
  move: !1,
1198
1200
  restMs: y,
1199
1201
  delay: {
@@ -1201,15 +1203,15 @@ const x_ = (t) => {
1201
1203
  close: st(h || L)
1202
1204
  },
1203
1205
  enabled: E,
1204
- handleClose: M ? null : __()
1205
- }), Ge = o_(S), ma = na(S, C), pa = sa(S, { role: "tooltip" }), ga = ca(S, k({
1206
+ handleClose: R ? null : __()
1207
+ }), Ge = o_(x), ma = na(x, C), pa = sa(x, { role: "tooltip" }), ga = ca(x, k({
1206
1208
  enabled: v
1207
- }, D)), { isMounted: ba, styles: fa } = $r(S, {
1209
+ }, D)), { isMounted: ba, styles: fa } = $r(x, {
1208
1210
  duration: {
1209
1211
  open: He(b),
1210
1212
  close: He(g)
1211
1213
  }
1212
- }), { status: va } = l_(S), { getReferenceProps: ha, getFloatingProps: ka } = ia([
1214
+ }), { status: va } = l_(x), { getReferenceProps: ha, getFloatingProps: ka } = ia([
1213
1215
  ze,
1214
1216
  Ge,
1215
1217
  ma,
@@ -1221,16 +1223,16 @@ const x_ = (t) => {
1221
1223
  }, [Ie.setReference, $]);
1222
1224
  const ht = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
1223
1225
  "div",
1224
- x(k({
1226
+ S(k({
1225
1227
  "data-testid": "tooltip-trigger",
1226
1228
  ref: Ie.setReference
1227
1229
  }, ha()), {
1228
1230
  className: r
1229
1231
  }),
1230
1232
  ct ? _() : _
1231
- ), /* @__PURE__ */ e.createElement(da, { id: je }, ba && /* @__PURE__ */ e.createElement(
1233
+ ), /* @__PURE__ */ e.createElement(da, { id: Ze }, ba && /* @__PURE__ */ e.createElement(
1232
1234
  "div",
1233
- x(k({
1235
+ S(k({
1234
1236
  ref: Ie.setFloating,
1235
1237
  style: k(k({}, vt), fa),
1236
1238
  className: lt
@@ -1241,8 +1243,8 @@ const x_ = (t) => {
1241
1243
  /* @__PURE__ */ e.createElement(
1242
1244
  c_,
1243
1245
  k({
1244
- ref: Ee,
1245
- context: S,
1246
+ ref: we,
1247
+ context: x,
1246
1248
  strokeWidth: 1,
1247
1249
  width: 10,
1248
1250
  height: 5,
@@ -1252,7 +1254,7 @@ const x_ = (t) => {
1252
1254
  le,
1253
1255
  ee
1254
1256
  ))
1255
- }, x_($e))
1257
+ }, S_(Ee))
1256
1258
  )
1257
1259
  )));
1258
1260
  return Pe === null ? /* @__PURE__ */ e.createElement(za, null, ht) : ht;
@@ -1329,7 +1331,7 @@ const x_ = (t) => {
1329
1331
  },
1330
1332
  /* @__PURE__ */ e.createElement(
1331
1333
  W,
1332
- x(k({}, c), {
1334
+ S(k({}, c), {
1333
1335
  kind: c.kind || d(o),
1334
1336
  onClick: c.handleClick
1335
1337
  }),
@@ -1337,7 +1339,7 @@ const x_ = (t) => {
1337
1339
  ),
1338
1340
  i && /* @__PURE__ */ e.createElement(
1339
1341
  W,
1340
- x(k({}, i), {
1342
+ S(k({}, i), {
1341
1343
  className: u(
1342
1344
  B[`${Ue}-footer-secondary`],
1343
1345
  i.className
@@ -1507,7 +1509,7 @@ const er = 8, tr = "guide-tooltip", ar = (t, a) => new P_(t, a), Nc = (t) => {
1507
1509
  }
1508
1510
  ), /* @__PURE__ */ e.createElement(
1509
1511
  Pr,
1510
- x(k({}, t), {
1512
+ S(k({}, t), {
1511
1513
  triggerRenderer: /* @__PURE__ */ e.createElement(e.Fragment, null),
1512
1514
  referenceElement: {
1513
1515
  getBoundingClientRect: () => i,
@@ -1606,7 +1608,7 @@ const er = 8, tr = "guide-tooltip", ar = (t, a) => new P_(t, a), Nc = (t) => {
1606
1608
  /* @__PURE__ */ e.createElement("div", null, t.label)
1607
1609
  )
1608
1610
  ) : /* @__PURE__ */ e.createElement("div", { "data-testid": t.key, className: _ }, o);
1609
- }, zt = "action-bar", We = "action-bar__menu-wrapper", F_ = 44, xc = ({
1611
+ }, zt = "action-bar", We = "action-bar__menu-wrapper", F_ = 44, Sc = ({
1610
1612
  className: t,
1611
1613
  id: a = "action-bar-area",
1612
1614
  type: r = "menu",
@@ -1698,7 +1700,7 @@ const er = 8, tr = "guide-tooltip", ar = (t, a) => new P_(t, a), Nc = (t) => {
1698
1700
  icon: /* @__PURE__ */ e.createElement(
1699
1701
  P,
1700
1702
  {
1701
- source: Rt,
1703
+ source: Mt,
1702
1704
  kind: "primary",
1703
1705
  className: u(
1704
1706
  U[`${We}__button__icon`],
@@ -1728,7 +1730,7 @@ const er = 8, tr = "guide-tooltip", ar = (t, a) => new P_(t, a), Nc = (t) => {
1728
1730
  "action-card__column": "lc-ActionCard-module__action-card__column___K7tyh",
1729
1731
  "action-card__column--first": "lc-ActionCard-module__action-card__column--first___9XE58",
1730
1732
  "action-card__column--second": "lc-ActionCard-module__action-card__column--second___X1UC-"
1731
- }, Ze = "action-card", Sc = ({
1733
+ }, et = "action-card", xc = ({
1732
1734
  className: t,
1733
1735
  children: a,
1734
1736
  secondColumn: r,
@@ -1736,7 +1738,7 @@ const er = 8, tr = "guide-tooltip", ar = (t, a) => new P_(t, a), Nc = (t) => {
1736
1738
  secondColumnClassName: o,
1737
1739
  onClick: l
1738
1740
  }) => {
1739
- const c = u(dt[Ze], t), i = (n) => {
1741
+ const c = u(dt[et], t), i = (n) => {
1740
1742
  n.currentTarget === document.activeElement && (l == null || l());
1741
1743
  }, d = (n) => {
1742
1744
  n.currentTarget === document.activeElement && (n.key === "Enter" || n.key === " " || n.key === "Spacebar" || n.key === "Space") && (n.preventDefault(), l == null || l());
@@ -1754,10 +1756,10 @@ const er = 8, tr = "guide-tooltip", ar = (t, a) => new P_(t, a), Nc = (t) => {
1754
1756
  /* @__PURE__ */ e.createElement(
1755
1757
  "div",
1756
1758
  {
1757
- "data-testid": `${Ze}-first-column`,
1759
+ "data-testid": `${et}-first-column`,
1758
1760
  className: u(
1759
- dt[`${Ze}__column`],
1760
- dt[`${Ze}__column--first`],
1761
+ dt[`${et}__column`],
1762
+ dt[`${et}__column--first`],
1761
1763
  _
1762
1764
  )
1763
1765
  },
@@ -1766,19 +1768,19 @@ const er = 8, tr = "guide-tooltip", ar = (t, a) => new P_(t, a), Nc = (t) => {
1766
1768
  r && /* @__PURE__ */ e.createElement(
1767
1769
  "div",
1768
1770
  {
1769
- "data-testid": `${Ze}-second-column`,
1771
+ "data-testid": `${et}-second-column`,
1770
1772
  className: u(
1771
- dt[`${Ze}__column`],
1772
- dt[`${Ze}__column--second`],
1773
+ dt[`${et}__column`],
1774
+ dt[`${et}__column--second`],
1773
1775
  o
1774
1776
  )
1775
1777
  },
1776
1778
  r
1777
1779
  )
1778
1780
  ));
1779
- }, R_ = "lc-Alert-module__alert___HBTns", M_ = "lc-Alert-module__alert__icon___8TaAH", L_ = "lc-Alert-module__alert__content___9nZdf", O_ = "lc-Alert-module__alert__content__wrapper___aLBkP", H_ = "lc-Alert-module__alert__content__wrapper__text___HDMbR", z_ = "lc-Alert-module__alert__content__wrapper__cta___9L-oE", G_ = "lc-Alert-module__alert__content__wrapper__cta__link___D9Igz", ke = {
1780
- alert: R_,
1781
- alert__icon: M_,
1781
+ }, M_ = "lc-Alert-module__alert___HBTns", R_ = "lc-Alert-module__alert__icon___8TaAH", L_ = "lc-Alert-module__alert__content___9nZdf", O_ = "lc-Alert-module__alert__content__wrapper___aLBkP", H_ = "lc-Alert-module__alert__content__wrapper__text___HDMbR", z_ = "lc-Alert-module__alert__content__wrapper__cta___9L-oE", G_ = "lc-Alert-module__alert__content__wrapper__cta__link___D9Igz", ke = {
1782
+ alert: M_,
1783
+ alert__icon: R_,
1782
1784
  alert__content: L_,
1783
1785
  alert__content__wrapper: O_,
1784
1786
  alert__content__wrapper__text: H_,
@@ -1834,13 +1836,13 @@ const er = 8, tr = "guide-tooltip", ar = (t, a) => new P_(t, a), Nc = (t) => {
1834
1836
  a
1835
1837
  );
1836
1838
  return e.useEffect(() => {
1837
- const b = () => n.current && n.current.offsetWidth <= 400 ? p("small") : n.current && n.current.offsetWidth > 400 && n.current.offsetWidth <= 800 ? p("medium") : p("large"), g = xr(() => {
1839
+ const b = () => n.current && n.current.offsetWidth <= 400 ? p("small") : n.current && n.current.offsetWidth > 400 && n.current.offsetWidth <= 800 ? p("medium") : p("large"), g = Sr(() => {
1838
1840
  b();
1839
1841
  }, 500);
1840
1842
  return window.addEventListener("resize", g), b(), () => window.removeEventListener("resize", g);
1841
1843
  }), /* @__PURE__ */ e.createElement("div", k({ ref: n, className: m }, c), /* @__PURE__ */ e.createElement("div", { className: ke[`${ye}__content`] }, /* @__PURE__ */ e.createElement("div", { className: ke[`${ye}__content__wrapper`] }, /* @__PURE__ */ e.createElement(
1842
1844
  P,
1843
- x(k({}, U_[o]), {
1845
+ S(k({}, U_[o]), {
1844
1846
  size: "large",
1845
1847
  className: ke[`${ye}__icon`]
1846
1848
  })
@@ -1987,7 +1989,7 @@ const Y_ = "lc-Avatar-module__avatar___1zTCE", K_ = "lc-Avatar-module__avatar__s
1987
1989
  ), T = u(
1988
1990
  ge[`${Z}__rim`],
1989
1991
  ge[`${Z}__rim--${o}`]
1990
- ), M = (q) => N ? "2xs" : ["medium"].includes(q) ? "xs" : ["large", "xlarge"].includes(q) ? "sm" : ["xxlarge"].includes(q) ? "lg" : "xl", V = e.useCallback(() => w(!0), []);
1992
+ ), R = (q) => N ? "2xs" : ["medium"].includes(q) ? "xs" : ["large", "xlarge"].includes(q) ? "sm" : ["xxlarge"].includes(q) ? "lg" : "xl", V = e.useCallback(() => w(!0), []);
1991
1993
  return e.useEffect(() => {
1992
1994
  w(b);
1993
1995
  }, [b]), /* @__PURE__ */ e.createElement("div", k({ className: D, style: C }, s), n && /* @__PURE__ */ e.createElement(
@@ -2014,7 +2016,7 @@ const Y_ = "lc-Avatar-module__avatar___1zTCE", K_ = "lc-Avatar-module__avatar__s
2014
2016
  Be,
2015
2017
  {
2016
2018
  as: "span",
2017
- size: M(o),
2019
+ size: R(o),
2018
2020
  style: { color: y },
2019
2021
  bold: N,
2020
2022
  uppercase: N
@@ -2148,7 +2150,7 @@ const ro = "lc-SegmentedControl-module__btn___tfsvL", Wt = {
2148
2150
  "src",
2149
2151
  "title"
2150
2152
  ]);
2151
- const [p, m] = e.useState(!1), b = p ? ta : Rt, g = p ? "Hide" : "Show more", w = (a == null ? void 0 : a.length) > 0, f = !!l, h = w || f, v = i, E = c, N = E ? "" : be[bo];
2153
+ const [p, m] = e.useState(!1), b = p ? ta : Mt, g = p ? "Hide" : "Show more", w = (a == null ? void 0 : a.length) > 0, f = !!l, h = w || f, v = i, E = c, N = E ? "" : be[bo];
2152
2154
  return /* @__PURE__ */ e.createElement("div", k({ className: u(be[Ft], _) }, d), v && /* @__PURE__ */ e.createElement("div", { className: u(be[Zt], N) }, E && /* @__PURE__ */ e.createElement(
2153
2155
  "img",
2154
2156
  {
@@ -2204,8 +2206,8 @@ const ro = "lc-SegmentedControl-module__btn___tfsvL", Wt = {
2204
2206
  "className"
2205
2207
  ]);
2206
2208
  const l = u(fo[vo], a);
2207
- return /* @__PURE__ */ e.createElement(I, x(k({ as: "span", size: "sm" }, r), { className: l }), t);
2208
- }, ho = "lc-Checkbox-module__checkbox___G7nTf", ko = "lc-Checkbox-module__checkbox__label___-o01x", yo = "lc-Checkbox-module__checkbox__text___P2SIq", wo = "lc-Checkbox-module__checkbox__input___YLbVF", Eo = "lc-Checkbox-module__checkbox__checkmark___16pfY", $o = "lc-Checkbox-module__checkbox__square___MHUyd", No = "lc-Checkbox-module__checkbox__helper___YSJ-n", et = {
2209
+ return /* @__PURE__ */ e.createElement(I, S(k({ as: "span", size: "sm" }, r), { className: l }), t);
2210
+ }, ho = "lc-Checkbox-module__checkbox___G7nTf", ko = "lc-Checkbox-module__checkbox__label___-o01x", yo = "lc-Checkbox-module__checkbox__text___P2SIq", wo = "lc-Checkbox-module__checkbox__input___YLbVF", Eo = "lc-Checkbox-module__checkbox__checkmark___16pfY", $o = "lc-Checkbox-module__checkbox__square___MHUyd", No = "lc-Checkbox-module__checkbox__helper___YSJ-n", tt = {
2209
2211
  checkbox: ho,
2210
2212
  checkbox__label: ko,
2211
2213
  checkbox__text: yo,
@@ -2215,28 +2217,28 @@ const ro = "lc-SegmentedControl-module__btn___tfsvL", Wt = {
2215
2217
  checkbox__square: $o,
2216
2218
  "checkbox--disabled": "lc-Checkbox-module__checkbox--disabled___-lAqW",
2217
2219
  checkbox__helper: No
2218
- }, tt = "checkbox", Co = e.forwardRef(
2220
+ }, at = "checkbox", Co = e.forwardRef(
2219
2221
  (i, c) => {
2220
2222
  var d = i, { checked: t, disabled: a, children: r, description: _, className: o } = d, l = F(d, ["checked", "disabled", "children", "description", "className"]);
2221
2223
  return /* @__PURE__ */ e.createElement(
2222
2224
  "div",
2223
2225
  {
2224
- className: u(et[tt], o, {
2225
- [et[`${tt}--selected`]]: t,
2226
- [et[`${tt}--disabled`]]: a
2226
+ className: u(tt[at], o, {
2227
+ [tt[`${at}--selected`]]: t,
2228
+ [tt[`${at}--disabled`]]: a
2227
2229
  })
2228
2230
  },
2229
- /* @__PURE__ */ e.createElement("label", { className: et[`${tt}__label`] }, /* @__PURE__ */ e.createElement(
2231
+ /* @__PURE__ */ e.createElement("label", { className: tt[`${at}__label`] }, /* @__PURE__ */ e.createElement(
2230
2232
  "input",
2231
- x(k({}, l), {
2233
+ S(k({}, l), {
2232
2234
  ref: c,
2233
2235
  checked: t,
2234
2236
  disabled: a,
2235
- className: et[`${tt}__input`],
2237
+ className: tt[`${at}__input`],
2236
2238
  type: "checkbox"
2237
2239
  })
2238
- ), r && /* @__PURE__ */ e.createElement(I, { as: "div", size: "md", className: et[`${tt}__text`] }, r)),
2239
- _ && /* @__PURE__ */ e.createElement(ua, { className: et[`${tt}__helper`] }, _)
2240
+ ), r && /* @__PURE__ */ e.createElement(I, { as: "div", size: "md", className: tt[`${at}__text`] }, r)),
2241
+ _ && /* @__PURE__ */ e.createElement(ua, { className: tt[`${at}__helper`] }, _)
2240
2242
  );
2241
2243
  }
2242
2244
  ), A = {
@@ -2274,7 +2276,7 @@ const ro = "lc-SegmentedControl-module__btn___tfsvL", Wt = {
2274
2276
  "date-picker--range__select-input": "lc-DatePicker-module__date-picker--range__select-input___6pyj3",
2275
2277
  "date-picker--range__calendars-wrapper": "lc-DatePicker-module__date-picker--range__calendars-wrapper___8nWaW",
2276
2278
  "date-picker__navbar-buttons-wrapper": "lc-DatePicker-module__date-picker__navbar-buttons-wrapper___Hnksb"
2277
- }, _r = "date-picker", xo = (t) => {
2279
+ }, _r = "date-picker", So = (t) => {
2278
2280
  const {
2279
2281
  onPreviousClick: a,
2280
2282
  onMonthChange: r,
@@ -2357,23 +2359,23 @@ const ro = "lc-SegmentedControl-module__btn___tfsvL", Wt = {
2357
2359
  },
2358
2360
  /* @__PURE__ */ e.createElement(P, { source: Jr, kind: "subtle" })
2359
2361
  )));
2360
- }, R = "date-picker", Fr = (t, a) => {
2362
+ }, M = "date-picker", Fr = (t, a) => {
2361
2363
  const { from: r, to: _ } = a;
2362
- return !(_ && !Fa(t, _) && Ra(t, _) || r && !Fa(t, r) && !Ra(t, r));
2363
- }, Rr = (t, a, r) => a ? t && !Ia(t, a) || r && Ia(a, r) ? bt(a, 1) : a : bt(r || /* @__PURE__ */ new Date(), 1), So = (t, a) => {
2364
+ return !(_ && !Fa(t, _) && Ma(t, _) || r && !Fa(t, r) && !Ma(t, r));
2365
+ }, Mr = (t, a, r) => a ? t && !Ia(t, a) || r && Ia(a, r) ? bt(a, 1) : a : bt(r || /* @__PURE__ */ new Date(), 1), xo = (t, a) => {
2364
2366
  const r = {
2365
- [A[`${R}__day--monday`]]: { daysOfWeek: [1] },
2366
- [A[`${R}__day--sunday`]]: { daysOfWeek: [0] },
2367
- [A[`${R}__day--start`]]: t,
2368
- [A[`${R}__day--end`]]: t
2367
+ [A[`${M}__day--monday`]]: { daysOfWeek: [1] },
2368
+ [A[`${M}__day--sunday`]]: { daysOfWeek: [0] },
2369
+ [A[`${M}__day--start`]]: t,
2370
+ [A[`${M}__day--end`]]: t
2369
2371
  };
2370
2372
  if (!a || !t)
2371
2373
  return r;
2372
- const _ = Sr(a, t);
2373
- return _ > 0 ? x(k({}, r), {
2374
- [A[`${R}__day--end`]]: a
2375
- }) : _ < 0 ? x(k({}, r), {
2376
- [A[`${R}__day--start`]]: a
2374
+ const _ = xr(a, t);
2375
+ return _ > 0 ? S(k({}, r), {
2376
+ [A[`${M}__day--end`]]: a
2377
+ }) : _ < 0 ? S(k({}, r), {
2378
+ [A[`${M}__day--start`]]: a
2377
2379
  }) : r;
2378
2380
  }, Pt = (t, a) => {
2379
2381
  const r = a.find((_) => _.id === t);
@@ -2389,39 +2391,39 @@ const ro = "lc-SegmentedControl-module__btn___tfsvL", Wt = {
2389
2391
  return r ? (a.selectedItem = t.initialSelectedItemKey, r.isManual && (t.initialFromDate && (a.from = t.initialFromDate), t.initialToDate && (a.to = t.initialToDate, a.temporaryTo = t.initialToDate)), a) : {};
2390
2392
  }, Do = (t, a) => k({
2391
2393
  container: u({
2392
- [A[`${R}`]]: !0,
2393
- [A[`${R}--range`]]: t
2394
+ [A[`${M}`]]: !0,
2395
+ [A[`${M}--range`]]: t
2394
2396
  }),
2395
- wrapper: A[`${R}__wrapper`],
2396
- interactionDisabled: A[`${R}--interaction-disabled`],
2397
- months: A[`${R}__months`],
2398
- month: A[`${R}__month`],
2399
- navBar: A[`${R}__nav-bar`],
2397
+ wrapper: A[`${M}__wrapper`],
2398
+ interactionDisabled: A[`${M}--interaction-disabled`],
2399
+ months: A[`${M}__months`],
2400
+ month: A[`${M}__month`],
2401
+ navBar: A[`${M}__nav-bar`],
2400
2402
  navButtonPrev: u(
2401
- A[`${R}__nav-button`],
2402
- A[`${R}__nav-button--prev`]
2403
+ A[`${M}__nav-button`],
2404
+ A[`${M}__nav-button--prev`]
2403
2405
  ),
2404
2406
  navButtonNext: u(
2405
- A[`${R}__nav-button`],
2406
- A[`${R}__nav-button--next`]
2407
+ A[`${M}__nav-button`],
2408
+ A[`${M}__nav-button--next`]
2407
2409
  ),
2408
- navButtonInteractionDisabled: A[`${R}__nav-button--interaction-disabled`],
2409
- caption: A[`${R}__caption`],
2410
- weekdays: A[`${R}__weekdays`],
2411
- weekdaysRow: A[`${R}__weekdays-row`],
2412
- weekday: A[`${R}__weekday`],
2413
- body: A[`${R}__body`],
2414
- week: A[`${R}__week`],
2415
- weekNumber: A[`${R}__week-number`],
2416
- day: A[`${R}__day`],
2417
- footer: A[`${R}__footer`],
2418
- todayButton: A[`${R}__today-button`],
2419
- today: A[`${R}__day--today`],
2420
- selected: A[`${R}__day--selected`],
2421
- disabled: A[`${R}__day--disabled`],
2422
- outside: A[`${R}__day--outside`],
2423
- start: A[`${R}__day--start`],
2424
- end: A[`${R}__day--end`]
2410
+ navButtonInteractionDisabled: A[`${M}__nav-button--interaction-disabled`],
2411
+ caption: A[`${M}__caption`],
2412
+ weekdays: A[`${M}__weekdays`],
2413
+ weekdaysRow: A[`${M}__weekdays-row`],
2414
+ weekday: A[`${M}__weekday`],
2415
+ body: A[`${M}__body`],
2416
+ week: A[`${M}__week`],
2417
+ weekNumber: A[`${M}__week-number`],
2418
+ day: A[`${M}__day`],
2419
+ footer: A[`${M}__footer`],
2420
+ todayButton: A[`${M}__today-button`],
2421
+ today: A[`${M}__day--today`],
2422
+ selected: A[`${M}__day--selected`],
2423
+ disabled: A[`${M}__day--disabled`],
2424
+ outside: A[`${M}__day--outside`],
2425
+ start: A[`${M}__day--start`],
2426
+ end: A[`${M}__day--end`]
2425
2427
  }, a), lr = "date-picker", Bo = (t) => {
2426
2428
  const a = t.getDate();
2427
2429
  return /* @__PURE__ */ e.createElement("div", { className: A[`${lr}__day-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: A[`${lr}__day-content`] }, a));
@@ -2474,7 +2476,7 @@ const ro = "lc-SegmentedControl-module__btn___tfsvL", Wt = {
2474
2476
  d_,
2475
2477
  k({
2476
2478
  navbarElement: d || /* @__PURE__ */ e.createElement(
2477
- xo,
2479
+ So,
2478
2480
  {
2479
2481
  month: m,
2480
2482
  classNames: f,
@@ -2500,7 +2502,7 @@ const ro = "lc-SegmentedControl-module__btn___tfsvL", Wt = {
2500
2502
  Po.displayName = "DatePicker";
2501
2503
  var Y = /* @__PURE__ */ ((t) => (t.NEW_SELECTED_ITEM = "NEW_SELECTED_ITEM", t.NEW_TEMPORARY_TO_VALUE = "NEW_TEMPORARY_TO_VALUE", t.CLEAR = "CLEAR", t.SET_FROM = "SET_FROM", t.SET_TO = "SET_TO", t.SELECT_FIRST_DAY = "SELECT_FIRST_DAY", t.SELECT_SECOND_DAY_AS_FROM = "SELECT_SECOND_DAY_AS_FROM", t.SELECT_SECOND_DAY_AS_TO = "SELECT_SECOND_DAY_AS_TO", t.CURRENT_MONTH_CHANGE = "CURRENT_MONTH_CHANGE", t))(Y || {});
2502
2504
  const Io = (t) => {
2503
- const a = Rr(
2505
+ const a = Mr(
2504
2506
  t.initialFromDate,
2505
2507
  t.initialToDate,
2506
2508
  t.toMonth
@@ -2522,36 +2524,36 @@ const Io = (t) => {
2522
2524
  currentMonth: a
2523
2525
  };
2524
2526
  case Y.NEW_TEMPORARY_TO_VALUE:
2525
- return x(k({}, l), {
2527
+ return S(k({}, l), {
2526
2528
  temporaryTo: c.payload.date
2527
2529
  });
2528
2530
  case Y.SELECT_FIRST_DAY:
2529
- return x(k({}, l), {
2531
+ return S(k({}, l), {
2530
2532
  from: c.payload.date,
2531
2533
  to: void 0,
2532
2534
  temporaryTo: void 0
2533
2535
  });
2534
2536
  case Y.SELECT_SECOND_DAY_AS_FROM:
2535
- return x(k({}, l), {
2537
+ return S(k({}, l), {
2536
2538
  from: c.payload.date,
2537
2539
  to: l.from,
2538
2540
  temporaryTo: l.from
2539
2541
  });
2540
2542
  case Y.SELECT_SECOND_DAY_AS_TO:
2541
- return x(k({}, l), {
2543
+ return S(k({}, l), {
2542
2544
  to: c.payload.date,
2543
2545
  temporaryTo: c.payload.date
2544
2546
  });
2545
2547
  case Y.CURRENT_MONTH_CHANGE:
2546
- return x(k({}, l), {
2548
+ return S(k({}, l), {
2547
2549
  currentMonth: c.payload.date
2548
2550
  });
2549
2551
  case Y.SET_FROM:
2550
- return x(k({}, l), {
2552
+ return S(k({}, l), {
2551
2553
  from: c.payload.date
2552
2554
  });
2553
2555
  case Y.SET_TO:
2554
- return x(k({}, l), {
2556
+ return S(k({}, l), {
2555
2557
  to: c.payload.date
2556
2558
  });
2557
2559
  default:
@@ -2590,7 +2592,7 @@ const Io = (t) => {
2590
2592
  payload: { date: _ }
2591
2593
  });
2592
2594
  }, [_]), gt(() => {
2593
- const w = Rr(
2595
+ const w = Mr(
2594
2596
  r,
2595
2597
  _,
2596
2598
  o
@@ -2604,7 +2606,7 @@ const Io = (t) => {
2604
2606
  if (!(w && h))
2605
2607
  return;
2606
2608
  const v = Pt(f, t);
2607
- v && (l == null || l(x(k({}, v), {
2609
+ v && (l == null || l(S(k({}, v), {
2608
2610
  value: {
2609
2611
  from: w,
2610
2612
  to: h
@@ -2621,14 +2623,14 @@ const Io = (t) => {
2621
2623
  if (!Pt(w, t))
2622
2624
  return;
2623
2625
  const h = t.reduce(
2624
- (v, E) => x(k({}, v), { [E.id]: E }),
2626
+ (v, E) => S(k({}, v), { [E.id]: E }),
2625
2627
  {}
2626
2628
  );
2627
2629
  l(h[w]);
2628
2630
  }, [l, d.selectedItem, t]);
2629
2631
  const s = Lt(
2630
2632
  (w) => {
2631
- const f = o ? Sr(o, w) >= 0 : !0;
2633
+ const f = o ? xr(o, w) >= 0 : !0;
2632
2634
  !or(d.from, d.to) && f && n({
2633
2635
  type: Y.NEW_TEMPORARY_TO_VALUE,
2634
2636
  payload: { date: w }
@@ -2641,7 +2643,7 @@ const Io = (t) => {
2641
2643
  Fr(w, { to: o }) && (or(f, h) ? n({
2642
2644
  type: Y.SELECT_FIRST_DAY,
2643
2645
  payload: { date: w }
2644
- }) : f && Fa(w, f) || f && Ra(w, f) ? n({
2646
+ }) : f && Fa(w, f) || f && Ma(w, f) ? n({
2645
2647
  type: Y.SELECT_SECOND_DAY_AS_TO,
2646
2648
  payload: { date: w }
2647
2649
  }) : n({
@@ -2673,7 +2675,7 @@ const Io = (t) => {
2673
2675
  }, []);
2674
2676
  return c((() => {
2675
2677
  const { currentMonth: w, from: f, selectedItem: h, temporaryTo: v, to: E } = d, N = Ot(
2676
- () => So(f, v),
2678
+ () => xo(f, v),
2677
2679
  [f, v]
2678
2680
  ), $ = Ot(() => Pt(h, t), [t, h]), y = Ot(() => [f, { from: f, to: v }], [f, v]), C = Ot(() => o ? { after: o } : void 0, [o]);
2679
2681
  return {
@@ -2720,7 +2722,7 @@ const Ac = (t) => {
2720
2722
  a,
2721
2723
  A["date-picker--range__calendars-wrapper"]
2722
2724
  );
2723
- return /* @__PURE__ */ e.createElement("div", x(k({}, _), { className: o }), r);
2725
+ return /* @__PURE__ */ e.createElement("div", S(k({}, _), { className: o }), r);
2724
2726
  }, O = {
2725
2727
  "details-card": "lc-DetailsCard-module__details-card___cVoS7",
2726
2728
  "details-card__button--fading": "lc-DetailsCard-module__details-card__button--fading___tQA02",
@@ -2867,7 +2869,7 @@ const Ac = (t) => {
2867
2869
  "className"
2868
2870
  ]);
2869
2871
  const l = u(cr[nr], a);
2870
- return /* @__PURE__ */ e.createElement(I, x(k({ as: "span", size: "sm" }, r), { className: l }), /* @__PURE__ */ e.createElement(
2872
+ return /* @__PURE__ */ e.createElement(I, S(k({ as: "span", size: "sm" }, r), { className: l }), /* @__PURE__ */ e.createElement(
2871
2873
  P,
2872
2874
  {
2873
2875
  source: Oa,
@@ -2879,7 +2881,7 @@ const Ac = (t) => {
2879
2881
  "field-group": "lc-FieldGroup-module__field-group___gy8lp",
2880
2882
  "field-group--inline": "lc-FieldGroup-module__field-group--inline___or4qf",
2881
2883
  "field-group--stretched": "lc-FieldGroup-module__field-group--stretched___6rkuO"
2882
- }, xa = "field-group", Fc = (i) => {
2884
+ }, Sa = "field-group", Fc = (i) => {
2883
2885
  var d = i, {
2884
2886
  className: t = "",
2885
2887
  children: a,
@@ -2895,18 +2897,18 @@ const Ac = (t) => {
2895
2897
  "inline",
2896
2898
  "stretch"
2897
2899
  ]);
2898
- const n = u(Ca[xa], t, {
2899
- [Ca[`${xa}--inline`]]: o,
2900
- [Ca[`${xa}--stretched`]]: l
2900
+ const n = u(Ca[Sa], t, {
2901
+ [Ca[`${Sa}--inline`]]: o,
2902
+ [Ca[`${Sa}--stretched`]]: l
2901
2903
  });
2902
- return /* @__PURE__ */ e.createElement("div", x(k({}, c), { className: n }), a, _ && /* @__PURE__ */ e.createElement(Va, null, _), r && /* @__PURE__ */ e.createElement(ua, null, r));
2903
- }, Ro = "lc-Form-module__form___1nOYF", Mo = "lc-Form-module__form__header___U4B7t", Lo = "lc-Form-module__form__footer___1-sUX", Oo = "lc-Form-module__form__label___spg-J", Ho = "lc-Form-module__form__helper___bhfwS", Nt = {
2904
- form: Ro,
2905
- form__header: Mo,
2904
+ return /* @__PURE__ */ e.createElement("div", S(k({}, c), { className: n }), a, _ && /* @__PURE__ */ e.createElement(Va, null, _), r && /* @__PURE__ */ e.createElement(ua, null, r));
2905
+ }, Mo = "lc-Form-module__form___1nOYF", Ro = "lc-Form-module__form__header___U4B7t", Lo = "lc-Form-module__form__footer___1-sUX", Oo = "lc-Form-module__form__label___spg-J", Ho = "lc-Form-module__form__helper___bhfwS", Nt = {
2906
+ form: Mo,
2907
+ form__header: Ro,
2906
2908
  form__footer: Lo,
2907
2909
  form__label: Oo,
2908
2910
  form__helper: Ho
2909
- }, Ct = "form", Rc = (c) => {
2911
+ }, Ct = "form", Mc = (c) => {
2910
2912
  var i = c, {
2911
2913
  className: t,
2912
2914
  children: a,
@@ -2938,7 +2940,7 @@ const Ac = (t) => {
2938
2940
  "form-field__row-break": "lc-FormField-module__form-field__row-break___DCBjC",
2939
2941
  "form-field__content": "lc-FormField-module__form-field__content___XaOx3",
2940
2942
  "form-field__content__description": "lc-FormField-module__form-field__content__description___NpVw4"
2941
- }, J = "form-field", Mc = ({
2943
+ }, J = "form-field", Rc = ({
2942
2944
  inline: t,
2943
2945
  error: a,
2944
2946
  description: r,
@@ -3057,7 +3059,7 @@ const Ac = (t) => {
3057
3059
  const i = u(qt[Yt], t);
3058
3060
  return /* @__PURE__ */ e.createElement(
3059
3061
  "div",
3060
- x(k(x(k({}, o), {
3062
+ S(k(S(k({}, o), {
3061
3063
  role: "group"
3062
3064
  }), r && { "aria-label": r }), {
3063
3065
  className: i
@@ -3143,7 +3145,7 @@ const Ac = (t) => {
3143
3145
  $ && sr(_, r),
3144
3146
  /* @__PURE__ */ e.createElement(
3145
3147
  "input",
3146
- x(k({}, c), {
3148
+ S(k({}, c), {
3147
3149
  ref: s,
3148
3150
  onFocus: (D) => {
3149
3151
  m(!0), f == null || f(D);
@@ -3190,23 +3192,23 @@ const Ac = (t) => {
3190
3192
  )
3191
3193
  }, r)
3192
3194
  );
3193
- }, Uo = "lc-Modal-module__modal__body___M-jmN", Wo = "lc-Modal-module__modal__header___Fp5VE", Vo = "lc-Modal-module__modal__heading___G9KVK", qo = "lc-Modal-module__modal__footer___2LYdc", pe = {
3195
+ }, Uo = "lc-Modal-module__modal__body___M-jmN", Wo = "lc-Modal-module__modal__header___Fp5VE", Vo = "lc-Modal-module__modal__heading___G9KVK", qo = "lc-Modal-module__modal__footer___2LYdc", re = {
3194
3196
  "modal-base": "lc-Modal-module__modal-base___hbL1U",
3195
- "fade-in-step2": "lc-Modal-module__fade-in-step2___xzJX5",
3197
+ "fade-in": "lc-Modal-module__fade-in___gWlGs",
3196
3198
  "modal-base--full-space": "lc-Modal-module__modal-base--full-space___KcGFL",
3197
3199
  "modal-base__overlay": "lc-Modal-module__modal-base__overlay___kCQ8t",
3198
3200
  "modal-base__overlay--visible": "lc-Modal-module__modal-base__overlay--visible___zUNJL",
3199
- "fade-in-step1": "lc-Modal-module__fade-in-step1___c1cRV",
3200
3201
  "modal-base__overlay--labelled": "lc-Modal-module__modal-base__overlay--labelled___THAo-",
3201
3202
  "modal-base__close": "lc-Modal-module__modal-base__close___gJlgr",
3202
3203
  "modal-base__close--label-type": "lc-Modal-module__modal-base__close--label-type___Om0Vb",
3203
3204
  modal__body: Uo,
3204
3205
  modal__header: Wo,
3206
+ "modal__header--without-heading": "lc-Modal-module__modal__header--without-heading___N2Bra",
3205
3207
  "modal__label-header": "lc-Modal-module__modal__label-header___ZPtEy",
3206
3208
  modal__heading: Vo,
3207
3209
  "modal__label-heading": "lc-Modal-module__modal__label-heading___WnYcF",
3208
3210
  modal__footer: qo
3209
- }, xt = "modal-base", Yo = (d) => {
3211
+ }, St = "modal-base", Yo = (d) => {
3210
3212
  var n = d, {
3211
3213
  children: t,
3212
3214
  className: a = "",
@@ -3225,9 +3227,9 @@ const Ac = (t) => {
3225
3227
  "isLabelled"
3226
3228
  ]);
3227
3229
  const s = u(
3228
- pe[xt],
3230
+ re[St],
3229
3231
  a,
3230
- l && pe[`${xt}--full-space`]
3232
+ l && re[`${St}--full-space`]
3231
3233
  );
3232
3234
  e.useEffect(() => {
3233
3235
  if (!_)
@@ -3246,9 +3248,9 @@ const Ac = (t) => {
3246
3248
  "data-testid": "lc-modal-overlay",
3247
3249
  onMouseDown: p,
3248
3250
  className: u(
3249
- pe[`${xt}__overlay`],
3250
- pe[`${xt}__overlay--visible`],
3251
- c && pe[`${xt}__overlay--labelled`]
3251
+ re[`${St}__overlay`],
3252
+ re[`${St}__overlay--visible`],
3253
+ c && re[`${St}__overlay--labelled`]
3252
3254
  )
3253
3255
  },
3254
3256
  /* @__PURE__ */ e.createElement(
@@ -3273,13 +3275,13 @@ const Ac = (t) => {
3273
3275
  "aria-label": "Close modal",
3274
3276
  title: "Close modal",
3275
3277
  className: u(
3276
- pe["modal-base__close"],
3277
- t && pe["modal-base__close--label-type"]
3278
+ re["modal-base__close"],
3279
+ t && re["modal-base__close--label-type"]
3278
3280
  ),
3279
3281
  onClick: r,
3280
3282
  icon: /* @__PURE__ */ e.createElement(P, { source: Ae, size: "medium", customColor: a })
3281
3283
  }
3282
- ), at = "modal", zc = (n) => {
3284
+ ), Xe = "modal", zc = (n) => {
3283
3285
  var s = n, {
3284
3286
  children: t,
3285
3287
  className: a = "",
@@ -3299,7 +3301,7 @@ const Ac = (t) => {
3299
3301
  "onClose",
3300
3302
  "contentClassName"
3301
3303
  ]);
3302
- const p = u(pe[at], a), m = typeof t == "string", b = (g) => {
3304
+ const p = u(re[Xe], a), m = typeof t == "string", b = (g) => {
3303
3305
  g.preventDefault(), g.stopPropagation(), c();
3304
3306
  };
3305
3307
  return /* @__PURE__ */ e.createElement(
@@ -3310,12 +3312,12 @@ const Ac = (t) => {
3310
3312
  onClose: c,
3311
3313
  isLabelled: !!_
3312
3314
  }, d),
3313
- _ && /* @__PURE__ */ e.createElement("div", { className: pe[`${at}__label-header`] }, /* @__PURE__ */ e.createElement(
3315
+ _ && /* @__PURE__ */ e.createElement("div", { className: re[`${Xe}__label-header`] }, /* @__PURE__ */ e.createElement(
3314
3316
  Be,
3315
3317
  {
3316
3318
  size: "sm",
3317
3319
  as: "div",
3318
- className: pe[`${at}__label-heading`]
3320
+ className: re[`${Xe}__label-heading`]
3319
3321
  },
3320
3322
  _
3321
3323
  ), /* @__PURE__ */ e.createElement(
@@ -3326,24 +3328,33 @@ const Ac = (t) => {
3326
3328
  onClick: b
3327
3329
  }
3328
3330
  )),
3329
- !_ && r && /* @__PURE__ */ e.createElement("div", { className: pe[`${at}__header`] }, /* @__PURE__ */ e.createElement(
3330
- Be,
3331
+ !_ && /* @__PURE__ */ e.createElement(
3332
+ "div",
3331
3333
  {
3332
- size: "sm",
3333
- as: "div",
3334
- className: pe[`${at}__heading`]
3334
+ className: u(re[`${Xe}__header`], {
3335
+ [re[`${Xe}__header--without-heading`]]: !r
3336
+ })
3335
3337
  },
3336
- r
3337
- ), /* @__PURE__ */ e.createElement(ur, { onClick: b })),
3338
+ r && /* @__PURE__ */ e.createElement(
3339
+ Be,
3340
+ {
3341
+ size: "sm",
3342
+ as: "div",
3343
+ className: re[`${Xe}__heading`]
3344
+ },
3345
+ r
3346
+ ),
3347
+ /* @__PURE__ */ e.createElement(ur, { onClick: b })
3348
+ ),
3338
3349
  /* @__PURE__ */ e.createElement(
3339
3350
  "div",
3340
3351
  {
3341
3352
  "data-testid": "modal-body",
3342
- className: u(pe[`${at}__body`], i)
3353
+ className: u(re[`${Xe}__body`], i)
3343
3354
  },
3344
3355
  m ? /* @__PURE__ */ e.createElement(I, { as: "div" }, t) : t
3345
3356
  ),
3346
- l && /* @__PURE__ */ e.createElement("div", { className: pe[`${at}__footer`] }, l)
3357
+ l && /* @__PURE__ */ e.createElement("div", { className: re[`${Xe}__footer`] }, l)
3347
3358
  );
3348
3359
  }, Gc = ({
3349
3360
  children: t,
@@ -3359,7 +3370,7 @@ const Ac = (t) => {
3359
3370
  (c = document.querySelector(r)) == null || c.removeChild(o);
3360
3371
  };
3361
3372
  }, [r]), /* @__PURE__ */ e.createElement(e.Fragment, null, Cr.createPortal(t, o));
3362
- }, St = {
3373
+ }, xt = {
3363
3374
  "modal-header": "lc-ModalHeader-module__modal-header___xk3bd",
3364
3375
  "modal-header__heading-left-node": "lc-ModalHeader-module__modal-header__heading-left-node___1--G5",
3365
3376
  "modal-header__heading-body": "lc-ModalHeader-module__modal-header__heading-body___HHEF-",
@@ -3371,22 +3382,22 @@ const Ac = (t) => {
3371
3382
  children: _,
3372
3383
  className: o = ""
3373
3384
  }) => {
3374
- const l = u(St[Tt], o);
3385
+ const l = u(xt[Tt], o);
3375
3386
  return /* @__PURE__ */ e.createElement("div", { className: l }, a && /* @__PURE__ */ e.createElement(
3376
3387
  P,
3377
3388
  k({
3378
- className: St[`${Tt}__heading-left-node`]
3389
+ className: xt[`${Tt}__heading-left-node`]
3379
3390
  }, a)
3380
3391
  ), r && /* @__PURE__ */ e.createElement(
3381
3392
  Q_,
3382
3393
  k({
3383
- className: St[`${Tt}__heading-left-node`]
3394
+ className: xt[`${Tt}__heading-left-node`]
3384
3395
  }, r)
3385
- ), /* @__PURE__ */ e.createElement("div", { className: St[`${Tt}__heading-body`] }, /* @__PURE__ */ e.createElement(Be, { as: "div", size: "sm" }, t), _ && /* @__PURE__ */ e.createElement(
3396
+ ), /* @__PURE__ */ e.createElement("div", { className: xt[`${Tt}__heading-body`] }, /* @__PURE__ */ e.createElement(Be, { as: "div", size: "sm" }, t), _ && /* @__PURE__ */ e.createElement(
3386
3397
  I,
3387
3398
  {
3388
3399
  as: "div",
3389
- className: St[`${Tt}__heading-description`]
3400
+ className: xt[`${Tt}__heading-description`]
3390
3401
  },
3391
3402
  _
3392
3403
  )));
@@ -3451,7 +3462,7 @@ const Ac = (t) => {
3451
3462
  };
3452
3463
  return /* @__PURE__ */ e.createElement("div", { className: b, style: i }, /* @__PURE__ */ e.createElement(
3453
3464
  "input",
3454
- x(k({
3465
+ S(k({
3455
3466
  type: "text",
3456
3467
  ref: m
3457
3468
  }, n), {
@@ -3493,7 +3504,7 @@ const Ac = (t) => {
3493
3504
  /* @__PURE__ */ e.createElement(
3494
3505
  P,
3495
3506
  {
3496
- source: Rt,
3507
+ source: Mt,
3497
3508
  kind: "primary",
3498
3509
  disabled: l || v(r, o)
3499
3510
  }
@@ -3512,9 +3523,9 @@ const ft = "select-all", Qo = (t, a) => {
3512
3523
  return t.forEach((_, o) => {
3513
3524
  a(_) && r.push(o);
3514
3525
  }), r;
3515
- }, Ma = (t) => t.filter(
3526
+ }, Ra = (t) => t.filter(
3516
3527
  ({ key: a, disabled: r, groupHeader: _ }) => !(a === ft || r || _)
3517
- ), Sa = ({ key: t }) => t, mr = (t, a) => t.includes(a) ? t.filter((r) => r !== a) : [...t, a], ae = {
3528
+ ), xa = ({ key: t }) => t, mr = (t, a) => t.includes(a) ? t.filter((r) => r !== a) : [...t, a], ie = {
3518
3529
  "item-wrapper": "lc-PickerListItem-module__item-wrapper___ETYMU",
3519
3530
  "item-wrapper__first": "lc-PickerListItem-module__item-wrapper__first___uit1z",
3520
3531
  "item-wrapper__last": "lc-PickerListItem-module__item-wrapper__last___cWmGF",
@@ -3529,7 +3540,7 @@ const ft = "select-all", Qo = (t, a) => {
3529
3540
  "picker-list__item__label": "lc-PickerListItem-module__picker-list__item__label___e0uwB",
3530
3541
  "picker-list__item__main-label": "lc-PickerListItem-module__picker-list__item__main-label___YfUhr",
3531
3542
  "picker-list__item__secondary-label": "lc-PickerListItem-module__picker-list__item__secondary-label___6xcMD"
3532
- }, we = "picker-list__item", jo = ({
3543
+ }, $e = "picker-list__item", jo = ({
3533
3544
  index: t,
3534
3545
  isActive: a,
3535
3546
  isSelected: r,
@@ -3539,37 +3550,37 @@ const ft = "select-all", Qo = (t, a) => {
3539
3550
  item: c,
3540
3551
  numberOfItems: i
3541
3552
  }) => {
3542
- const d = (s) => s != null && s.customElement ? /* @__PURE__ */ e.createElement("div", { className: ae[`${we}__custom`] }, s.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, s.showCheckbox && /* @__PURE__ */ e.createElement(
3553
+ const d = (s) => s != null && s.customElement ? /* @__PURE__ */ e.createElement("div", { className: ie[`${$e}__custom`] }, s.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, s.showCheckbox && /* @__PURE__ */ e.createElement(
3543
3554
  Co,
3544
3555
  {
3545
- className: ae[`${we}__checkbox`],
3556
+ className: ie[`${$e}__checkbox`],
3546
3557
  checked: r
3547
3558
  }
3548
3559
  ), s.icon && /* @__PURE__ */ e.createElement(
3549
3560
  P,
3550
3561
  {
3551
- className: ae[`${we}__icon`],
3562
+ className: ie[`${$e}__icon`],
3552
3563
  kind: "link",
3553
3564
  source: s.icon
3554
3565
  }
3555
3566
  ), s.avatarSrc && /* @__PURE__ */ e.createElement(
3556
3567
  "img",
3557
3568
  {
3558
- className: u(ae[`${we}__avatar`]),
3569
+ className: u(ie[`${$e}__avatar`]),
3559
3570
  src: s.avatarSrc,
3560
3571
  alt: s.name
3561
3572
  }
3562
- ), /* @__PURE__ */ e.createElement("div", { className: ae[`${we}__label-container`] }, /* @__PURE__ */ e.createElement(
3573
+ ), /* @__PURE__ */ e.createElement("div", { className: ie[`${$e}__label-container`] }, /* @__PURE__ */ e.createElement(
3563
3574
  I,
3564
3575
  {
3565
3576
  as: "span",
3566
- className: u([ae[`${we}__label`]], {
3567
- [ae[`${we}__main-label`]]: s.secondaryText
3577
+ className: u([ie[`${$e}__label`]], {
3578
+ [ie[`${$e}__main-label`]]: s.secondaryText
3568
3579
  }),
3569
3580
  "aria-disabled": s.disabled
3570
3581
  },
3571
3582
  s.name
3572
- ), s.secondaryText && /* @__PURE__ */ e.createElement("span", { className: ae[`${we}__secondary-label`] }, s.secondaryText)));
3583
+ ), s.secondaryText && /* @__PURE__ */ e.createElement("span", { className: ie[`${$e}__secondary-label`] }, s.secondaryText)));
3573
3584
  if (c.groupHeader)
3574
3585
  return /* @__PURE__ */ e.createElement(
3575
3586
  "div",
@@ -3577,7 +3588,7 @@ const ft = "select-all", Qo = (t, a) => {
3577
3588
  id: `item-${t}`,
3578
3589
  key: c.key,
3579
3590
  role: "group",
3580
- className: ae[`${we}__header`]
3591
+ className: ie[`${$e}__header`]
3581
3592
  }, l()),
3582
3593
  /* @__PURE__ */ e.createElement(Be, { size: "2xs", uppercase: !0, bold: !0, as: "div" }, c.name)
3583
3594
  );
@@ -3586,7 +3597,7 @@ const ft = "select-all", Qo = (t, a) => {
3586
3597
  };
3587
3598
  return /* @__PURE__ */ e.createElement(
3588
3599
  "div",
3589
- x(k({
3600
+ S(k({
3590
3601
  id: c.key,
3591
3602
  key: c.key,
3592
3603
  tabIndex: a ? 0 : -1,
@@ -3599,9 +3610,9 @@ const ft = "select-all", Qo = (t, a) => {
3599
3610
  }, l({
3600
3611
  onClick: () => n(c.key)
3601
3612
  })), {
3602
- className: u(ae["item-wrapper"], {
3603
- [ae["item-wrapper__first"]]: t === 0 && !c.groupHeader,
3604
- [ae["item-wrapper__last"]]: t === i - 1 && !c.groupHeader
3613
+ className: u(ie["item-wrapper"], {
3614
+ [ie["item-wrapper__first"]]: t === 0 && !c.groupHeader,
3615
+ [ie["item-wrapper__last"]]: t === i - 1 && !c.groupHeader
3605
3616
  })
3606
3617
  }),
3607
3618
  /* @__PURE__ */ e.createElement(
@@ -3610,9 +3621,8 @@ const ft = "select-all", Qo = (t, a) => {
3610
3621
  "aria-selected": r,
3611
3622
  "aria-disabled": c.disabled,
3612
3623
  "aria-current": a && !c.disabled,
3613
- className: u(ae[we], {
3614
- [ae[`${we}__custom`]]: c.customElement,
3615
- [ae[`${we}--select-all`]]: c.key === ft
3624
+ className: u(ie[$e], {
3625
+ [ie[`${$e}--select-all`]]: c.key === ft
3616
3626
  })
3617
3627
  },
3618
3628
  d(c),
@@ -3671,7 +3681,7 @@ const ft = "select-all", Qo = (t, a) => {
3671
3681
  /* @__PURE__ */ e.createElement("div", { className: $ }, m)
3672
3682
  ));
3673
3683
  }
3674
- const N = ($) => c.includes($) || $ === ft && c.length === Ma(o).length;
3684
+ const N = ($) => c.includes($) || $ === ft && c.length === Ra(o).length;
3675
3685
  return /* @__PURE__ */ e.createElement(Pa, { context: t, modal: !1, initialFocus: -1 }, /* @__PURE__ */ e.createElement(
3676
3686
  "div",
3677
3687
  {
@@ -3679,7 +3689,7 @@ const ft = "select-all", Qo = (t, a) => {
3679
3689
  ref: a,
3680
3690
  tabIndex: -1,
3681
3691
  className: u(pt.listbox, g),
3682
- style: x(k({}, r), {
3692
+ style: S(k({}, r), {
3683
3693
  maxHeight: _
3684
3694
  })
3685
3695
  },
@@ -3702,7 +3712,7 @@ const ft = "select-all", Qo = (t, a) => {
3702
3712
  })),
3703
3713
  /* @__PURE__ */ e.createElement(
3704
3714
  u_,
3705
- x(k({
3715
+ S(k({
3706
3716
  totalListHeightChanged: E,
3707
3717
  style: { height: `${f}px`, maxHeight: _ },
3708
3718
  totalCount: o.length,
@@ -3726,7 +3736,7 @@ const ft = "select-all", Qo = (t, a) => {
3726
3736
  )
3727
3737
  )
3728
3738
  ));
3729
- }, ie = {
3739
+ }, de = {
3730
3740
  "picker-trigger": "lc-PickerTrigger-module__picker-trigger___-tjS0",
3731
3741
  "picker-trigger--multi-select": "lc-PickerTrigger-module__picker-trigger--multi-select___av4Ws",
3732
3742
  "picker-trigger--multi-select--with-items": "lc-PickerTrigger-module__picker-trigger--multi-select--with-items___7uI-R",
@@ -3744,7 +3754,7 @@ const ft = "select-all", Qo = (t, a) => {
3744
3754
  "picker-trigger--disabled": "lc-PickerTrigger-module__picker-trigger--disabled___4MGb4",
3745
3755
  "picker-trigger--focused": "lc-PickerTrigger-module__picker-trigger--focused___vBA4d",
3746
3756
  "picker-trigger--error": "lc-PickerTrigger-module__picker-trigger--error___yu6Dt"
3747
- }, re = "picker-trigger", tl = ({
3757
+ }, ae = "picker-trigger", tl = ({
3748
3758
  setReference: t,
3749
3759
  getReferenceProps: a,
3750
3760
  testId: r,
@@ -3761,19 +3771,19 @@ const ft = "select-all", Qo = (t, a) => {
3761
3771
  setTriggerFocus: b
3762
3772
  }) => {
3763
3773
  const g = u(
3764
- ie[re],
3765
- ie[`${re}--${_}`],
3766
- o && ie[`${re}--multi-select`],
3767
- o && l && ie[`${re}--multi-select--with-items`],
3768
- i && ie[`${re}--disabled`],
3769
- n && ie[`${re}--focused`],
3770
- s && ie[`${re}--error`]
3774
+ de[ae],
3775
+ de[`${ae}--${_}`],
3776
+ o && de[`${ae}--multi-select`],
3777
+ o && l && de[`${ae}--multi-select--with-items`],
3778
+ i && de[`${ae}--disabled`],
3779
+ n && de[`${ae}--focused`],
3780
+ s && de[`${ae}--error`]
3771
3781
  ), w = !c && l && !i && !d, f = (h) => {
3772
3782
  h.stopPropagation(), p();
3773
3783
  };
3774
3784
  return /* @__PURE__ */ e.createElement(
3775
3785
  "button",
3776
- x(k({
3786
+ S(k({
3777
3787
  tabIndex: i ? -1 : 0,
3778
3788
  "aria-disabled": i,
3779
3789
  disabled: i,
@@ -3790,9 +3800,9 @@ const ft = "select-all", Qo = (t, a) => {
3790
3800
  {
3791
3801
  as: "div",
3792
3802
  className: u(
3793
- ie[`${re}__content`],
3794
- ie[`${re}__content--${_}`],
3795
- o && l && ie[`${re}__content--with-items`]
3803
+ de[`${ae}__content`],
3804
+ de[`${ae}__content--${_}`],
3805
+ o && l && de[`${ae}__content--with-items`]
3796
3806
  )
3797
3807
  },
3798
3808
  m
@@ -3801,15 +3811,15 @@ const ft = "select-all", Qo = (t, a) => {
3801
3811
  "div",
3802
3812
  {
3803
3813
  className: u(
3804
- ie[`${re}__controls`],
3805
- ie[`${re}__controls--${_}`]
3814
+ de[`${ae}__controls`],
3815
+ de[`${ae}__controls--${_}`]
3806
3816
  )
3807
3817
  },
3808
3818
  w && /* @__PURE__ */ e.createElement(
3809
3819
  "div",
3810
3820
  {
3811
- "data-testid": `${re}__clear-icon`,
3812
- className: ie[`${re}__clear-icon`],
3821
+ "data-testid": `${ae}__clear-icon`,
3822
+ className: de[`${ae}__clear-icon`],
3813
3823
  onClick: f
3814
3824
  },
3815
3825
  /* @__PURE__ */ e.createElement(P, { kind: "primary", size: "small", source: Ae })
@@ -3817,8 +3827,8 @@ const ft = "select-all", Qo = (t, a) => {
3817
3827
  /* @__PURE__ */ e.createElement(
3818
3828
  P,
3819
3829
  {
3820
- className: ie[`${re}__chevron-icon`],
3821
- source: n ? ta : Rt,
3830
+ className: de[`${ae}__chevron-icon`],
3831
+ source: n ? ta : Mt,
3822
3832
  size: "medium",
3823
3833
  disabled: i
3824
3834
  }
@@ -3859,7 +3869,7 @@ const ft = "select-all", Qo = (t, a) => {
3859
3869
  "tag__remove--hover": "lc-Tag-module__tag__remove--hover___2ROEU",
3860
3870
  tag__node: _l,
3861
3871
  tag__content: ol
3862
- }, ve = "tag", ll = (t) => t ? Ua(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", Mr = (w) => {
3872
+ }, ve = "tag", ll = (t) => t ? Ua(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", Rr = (w) => {
3863
3873
  var f = w, {
3864
3874
  className: t = "",
3865
3875
  children: a,
@@ -3914,7 +3924,7 @@ const ft = "select-all", Qo = (t, a) => {
3914
3924
  };
3915
3925
  return /* @__PURE__ */ e.createElement(
3916
3926
  I,
3917
- x(k(k({
3927
+ S(k(k({
3918
3928
  className: v
3919
3929
  }, g), $()), {
3920
3930
  as: "div",
@@ -3960,7 +3970,7 @@ const ft = "select-all", Qo = (t, a) => {
3960
3970
  )
3961
3971
  )
3962
3972
  );
3963
- }, de = {
3973
+ }, ue = {
3964
3974
  "picker-trigger-body": "lc-PickerTriggerBody-module__picker-trigger-body___xL0Rq",
3965
3975
  "picker-trigger-body--single": "lc-PickerTriggerBody-module__picker-trigger-body--single___5LWZK",
3966
3976
  "picker-trigger-body__item-container": "lc-PickerTriggerBody-module__picker-trigger-body__item-container___5Qs5E",
@@ -3978,7 +3988,7 @@ const ft = "select-all", Qo = (t, a) => {
3978
3988
  "picker-trigger-body__tag--compact": "lc-PickerTriggerBody-module__picker-trigger-body__tag--compact___vajtL",
3979
3989
  "picker-trigger-body__tag--medium": "lc-PickerTriggerBody-module__picker-trigger-body__tag--medium___yhMyC",
3980
3990
  "picker-trigger-body__tag--large": "lc-PickerTriggerBody-module__picker-trigger-body__tag--large___FbETT"
3981
- }, ue = "picker-trigger-body", cl = ({
3991
+ }, me = "picker-trigger-body", cl = ({
3982
3992
  isOpen: t,
3983
3993
  isSearchDisabled: a,
3984
3994
  isDisabled: r,
@@ -4003,20 +4013,20 @@ const ft = "select-all", Qo = (t, a) => {
4003
4013
  y.key === "Backspace" && o && o.length > 0 && (y.preventDefault(), l === "multi" ? d(o[o.length - 1].key) : p()), y.key === "Delete" && (y.preventDefault(), p());
4004
4014
  };
4005
4015
  e.useEffect(() => (!t && g ? document.addEventListener("keydown", h) : document.removeEventListener("keydown", h), () => document.removeEventListener("keydown", h)), [t, o, g]);
4006
- const v = (y) => l === "single" && t && !a ? null : y != null && y.customElement ? /* @__PURE__ */ e.createElement("div", { className: de[`${ue}__item`] }, y.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: de[`${ue}__item`] }, y.icon && /* @__PURE__ */ e.createElement(
4016
+ const v = (y) => l === "single" && t && !a ? null : y != null && y.customElement ? /* @__PURE__ */ e.createElement("div", { className: ue[`${me}__item`] }, y.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: ue[`${me}__item`] }, y.icon && /* @__PURE__ */ e.createElement(
4007
4017
  P,
4008
4018
  {
4009
4019
  source: y.icon,
4010
- className: de[`${ue}__item__icon`]
4020
+ className: ue[`${me}__item__icon`]
4011
4021
  }
4012
4022
  ), y.avatarSrc && /* @__PURE__ */ e.createElement(
4013
4023
  "img",
4014
4024
  {
4015
4025
  src: y.avatarSrc,
4016
4026
  alt: "",
4017
- className: de[`${ue}__item__avatar`]
4027
+ className: ue[`${me}__item__avatar`]
4018
4028
  }
4019
- ), /* @__PURE__ */ e.createElement("div", { className: de[`${ue}__item__content`] }, y.name)), E = (y) => s(y.target.value), N = (y) => {
4029
+ ), /* @__PURE__ */ e.createElement("div", { className: ue[`${me}__item__content`] }, y.name)), E = (y) => s(y.target.value), N = (y) => {
4020
4030
  var C, D;
4021
4031
  (C = b.current) != null && C.id && y.key === "Enter" && n((D = b.current) == null ? void 0 : D.id), l === "multi" && (y.key === "Backspace" || y.key === "Delete") && !m && o && (o == null ? void 0 : o.length) > 0 && d(o[o.length - 1].key);
4022
4032
  }, $ = () => /* @__PURE__ */ e.createElement(
@@ -4024,8 +4034,8 @@ const ft = "select-all", Qo = (t, a) => {
4024
4034
  {
4025
4035
  ref: f,
4026
4036
  className: u(
4027
- de[`${ue}__input`],
4028
- de[`${ue}__input--${i}`]
4037
+ ue[`${me}__input`],
4038
+ ue[`${me}__input--${i}`]
4029
4039
  ),
4030
4040
  placeholder: _,
4031
4041
  onChange: E,
@@ -4038,25 +4048,25 @@ const ft = "select-all", Qo = (t, a) => {
4038
4048
  "div",
4039
4049
  {
4040
4050
  className: u({
4041
- [de[`${ue}__placeholder`]]: !0,
4042
- [de[`${ue}__placeholder--disabled`]]: r
4051
+ [ue[`${me}__placeholder`]]: !0,
4052
+ [ue[`${me}__placeholder--disabled`]]: r
4043
4053
  })
4044
4054
  },
4045
4055
  _
4046
4056
  ) : /* @__PURE__ */ e.createElement(
4047
4057
  "div",
4048
4058
  {
4049
- className: u(de[ue], {
4050
- [de[`${ue}--single`]]: l === "single"
4059
+ className: u(ue[me], {
4060
+ [ue[`${me}--single`]]: l === "single"
4051
4061
  })
4052
4062
  },
4053
- /* @__PURE__ */ e.createElement("div", { className: de[`${ue}__item-container`] }, l === "single" ? v(o[0]) : o.map((y) => /* @__PURE__ */ e.createElement(
4054
- Mr,
4063
+ /* @__PURE__ */ e.createElement("div", { className: ue[`${me}__item-container`] }, l === "single" ? v(o[0]) : o.map((y) => /* @__PURE__ */ e.createElement(
4064
+ Rr,
4055
4065
  {
4056
4066
  key: y.name,
4057
4067
  className: u(
4058
- de[`${ue}__tag`],
4059
- de[`${ue}__tag--${i}`]
4068
+ ue[`${me}__tag`],
4069
+ ue[`${me}__tag--${i}`]
4060
4070
  ),
4061
4071
  disabled: r,
4062
4072
  onRemove: (C) => {
@@ -4121,12 +4131,12 @@ const ft = "select-all", Qo = (t, a) => {
4121
4131
  a,
4122
4132
  (q) => !!q.disabled || !!q.groupHeader
4123
4133
  )
4124
- }), { getReferenceProps: T, getFloatingProps: M, getItemProps: V } = ia(
4134
+ }), { getReferenceProps: T, getFloatingProps: R, getItemProps: V } = ia(
4125
4135
  [C, L, D, G]
4126
4136
  );
4127
4137
  return !d && p && m(!1), {
4128
4138
  getReferenceProps: T,
4129
- getFloatingProps: M,
4139
+ getFloatingProps: R,
4130
4140
  getItemProps: V,
4131
4141
  setReference: E.setReference,
4132
4142
  floatingStyles: N,
@@ -4150,8 +4160,8 @@ const ft = "select-all", Qo = (t, a) => {
4150
4160
  setOpen: l
4151
4161
  }) => {
4152
4162
  const [c, i] = e.useState(
4153
- () => (t == null ? void 0 : t.map(Sa)) || []
4154
- ), d = t !== void 0, n = d ? (t == null ? void 0 : t.map(Sa)) || [] : c, [s, p] = e.useState(""), m = e.useMemo(() => {
4163
+ () => (t == null ? void 0 : t.map(xa)) || []
4164
+ ), d = t !== void 0, n = d ? (t == null ? void 0 : t.map(xa)) || [] : c, [s, p] = e.useState(""), m = e.useMemo(() => {
4155
4165
  const h = r === "multi" && _;
4156
4166
  let v = a;
4157
4167
  return s && (v = v.filter((E) => {
@@ -4173,12 +4183,12 @@ const ft = "select-all", Qo = (t, a) => {
4173
4183
  if (r === "single")
4174
4184
  i(() => (v && o([v]), [h])), l(!1);
4175
4185
  else if (h === ft)
4176
- n.length === Ma(a).length ? i(() => (o(null), [])) : i(() => {
4177
- const E = Ma(a);
4186
+ n.length === Ra(a).length ? i(() => (o(null), [])) : i(() => {
4187
+ const E = Ra(a);
4178
4188
  return o(E), E.map(({ key: N }) => N);
4179
4189
  });
4180
4190
  else if (d) {
4181
- const E = (t == null ? void 0 : t.map(Sa)) || [], N = mr(E, h);
4191
+ const E = (t == null ? void 0 : t.map(xa)) || [], N = mr(E, h);
4182
4192
  o(a.filter(({ key: $ }) => N.includes($)));
4183
4193
  } else
4184
4194
  i((E) => {
@@ -4229,7 +4239,7 @@ const ft = "select-all", Qo = (t, a) => {
4229
4239
  useDismissHookProps: L,
4230
4240
  useClickHookProps: G,
4231
4241
  virtuosoProps: T
4232
- } = q, M = F(q, [
4242
+ } = q, R = F(q, [
4233
4243
  "id",
4234
4244
  "className",
4235
4245
  "listClassName",
@@ -4259,8 +4269,8 @@ const ft = "select-all", Qo = (t, a) => {
4259
4269
  "useClickHookProps",
4260
4270
  "virtuosoProps"
4261
4271
  ]);
4262
- const [he, oe] = e.useState(N), [Ee, Oe] = e.useState(!1), $e = h !== void 0, Pe = $e ? h : he, je = (ht, ce) => {
4263
- ht ? !Pe && (v == null || v(ce)) : Pe && (E == null || E(ce)), !$e && oe(ht);
4272
+ const [he, oe] = e.useState(N), [we, Oe] = e.useState(!1), Ee = h !== void 0, Pe = Ee ? h : he, Ze = (ht, ce) => {
4273
+ ht ? !Pe && (v == null || v(ce)) : Pe && (E == null || E(ce)), !Ee && oe(ht);
4264
4274
  }, {
4265
4275
  selectedKeys: lt,
4266
4276
  items: ct,
@@ -4275,9 +4285,9 @@ const ft = "select-all", Qo = (t, a) => {
4275
4285
  type: g,
4276
4286
  selectAllOptionText: b,
4277
4287
  onSelect: y,
4278
- setOpen: je
4288
+ setOpen: Ze
4279
4289
  }), {
4280
- context: S,
4290
+ context: x,
4281
4291
  nodeId: ee,
4282
4292
  getReferenceProps: le,
4283
4293
  setReference: ze,
@@ -4301,14 +4311,14 @@ const ft = "select-all", Qo = (t, a) => {
4301
4311
  useClickHookProps: G,
4302
4312
  useDismissHookProps: L,
4303
4313
  isOpen: Pe,
4304
- onVisibilityChange: je
4314
+ onVisibilityChange: Ze
4305
4315
  });
4306
4316
  return /* @__PURE__ */ e.createElement("div", { id: t, className: u(dl["picker-wrapper"], a) }, /* @__PURE__ */ e.createElement(
4307
4317
  tl,
4308
4318
  {
4309
4319
  getReferenceProps: le,
4310
4320
  setReference: ze,
4311
- testId: M["data-testid"],
4321
+ testId: R["data-testid"],
4312
4322
  isItemSelected: lt.length > 0,
4313
4323
  isOpen: Pe,
4314
4324
  onClear: Ie,
@@ -4337,7 +4347,7 @@ const ft = "select-all", Qo = (t, a) => {
4337
4347
  onClear: Ie,
4338
4348
  searchPhrase: nt,
4339
4349
  virtualItemRef: fa,
4340
- isTriggerFocused: Ee
4350
+ isTriggerFocused: we
4341
4351
  }
4342
4352
  )
4343
4353
  ), /* @__PURE__ */ e.createElement(da, { id: ee }, Pe && /* @__PURE__ */ e.createElement(Nr, null, /* @__PURE__ */ e.createElement(
@@ -4346,7 +4356,7 @@ const ft = "select-all", Qo = (t, a) => {
4346
4356
  pickerType: g,
4347
4357
  options: ct,
4348
4358
  listClassName: r,
4349
- context: S,
4359
+ context: x,
4350
4360
  setFloating: pa,
4351
4361
  floatingStyles: ga,
4352
4362
  maxHeight: ha,
@@ -4380,8 +4390,8 @@ const ft = "select-all", Qo = (t, a) => {
4380
4390
  useClickHookProps: b,
4381
4391
  floatingStrategy: g
4382
4392
  }) => {
4383
- const [w, f] = e.useState(s), h = Ha(), v = aa(), E = n !== void 0, N = E ? n : w, $ = typeof _ == "string", y = typeof t == "function", C = (Oe, $e) => {
4384
- Oe ? r == null || r($e) : a == null || a($e), !E && f(Oe);
4393
+ const [w, f] = e.useState(s), h = Ha(), v = aa(), E = n !== void 0, N = E ? n : w, $ = typeof _ == "string", y = typeof t == "function", C = (Oe, Ee) => {
4394
+ Oe ? r == null || r(Ee) : a == null || a(Ee), !E && f(Oe);
4385
4395
  }, { refs: D, context: L, floatingStyles: G } = ra({
4386
4396
  nodeId: v,
4387
4397
  open: N,
@@ -4390,15 +4400,15 @@ const ft = "select-all", Qo = (t, a) => {
4390
4400
  placement: c,
4391
4401
  strategy: g,
4392
4402
  whileElementsMounted: la
4393
- }), T = ca(L, b), M = na(L, k({
4403
+ }), T = ca(L, b), R = na(L, k({
4394
4404
  escapeKey: p
4395
4405
  }, m)), V = sa(L), { getReferenceProps: q, getFloatingProps: he } = ia([
4396
4406
  T,
4397
- M,
4407
+ R,
4398
4408
  V
4399
- ]), oe = u(ml.popover, o), Ee = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
4409
+ ]), oe = u(ml.popover, o), we = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
4400
4410
  "div",
4401
- x(k({
4411
+ S(k({
4402
4412
  "data-testid": "popover-trigger-button",
4403
4413
  ref: D.setReference
4404
4414
  }, q()), {
@@ -4414,7 +4424,7 @@ const ft = "select-all", Qo = (t, a) => {
4414
4424
  }, he()),
4415
4425
  $ ? /* @__PURE__ */ e.createElement(I, { as: "div" }, _) : _
4416
4426
  ))));
4417
- return h === null ? /* @__PURE__ */ e.createElement(za, null, Ee) : Ee;
4427
+ return h === null ? /* @__PURE__ */ e.createElement(za, null, we) : we;
4418
4428
  }, pl = (t) => Math.min(Math.max(t, 0), 100);
4419
4429
  function Lr(t, a = 0) {
4420
4430
  return t === "error" ? 0 : pl(parseInt(a.toString(), 10));
@@ -4526,7 +4536,7 @@ const Dt = {
4526
4536
  );
4527
4537
  return /* @__PURE__ */ e.createElement(
4528
4538
  "div",
4529
- x(k({}, o), {
4539
+ S(k({}, o), {
4530
4540
  className: n,
4531
4541
  ref: l,
4532
4542
  role: "progressbar"
@@ -4575,7 +4585,7 @@ const Dt = {
4575
4585
  t
4576
4586
  );
4577
4587
  e.useEffect(() => {
4578
- const w = () => s.current && s.current.offsetWidth <= hl ? m("small") : s.current && s.current.offsetWidth >= kl ? m("large") : m("medium"), f = xr(
4588
+ const w = () => s.current && s.current.offsetWidth <= hl ? m("small") : s.current && s.current.offsetWidth >= kl ? m("large") : m("medium"), f = Sr(
4579
4589
  w,
4580
4590
  yl
4581
4591
  );
@@ -4612,7 +4622,7 @@ const Dt = {
4612
4622
  "promo-banner-v2__close": "lc-PromoBannerV2-module__promo-banner-v2__close___rOh-U",
4613
4623
  "promo-banner-v2__close__btn": "lc-PromoBannerV2-module__promo-banner-v2__close__btn___5AZQC",
4614
4624
  "promo-banner-v2--vertical": "lc-PromoBannerV2-module__promo-banner-v2--vertical___p0mSU"
4615
- }, Xe = "promo-banner-v2", Kc = ({
4625
+ }, Qe = "promo-banner-v2", Kc = ({
4616
4626
  children: t,
4617
4627
  className: a,
4618
4628
  additionalContent: r,
@@ -4628,18 +4638,18 @@ const Dt = {
4628
4638
  "div",
4629
4639
  {
4630
4640
  className: u(
4631
- Ve[Xe],
4632
- l && Ve[`${Xe}--vertical`]
4641
+ Ve[Qe],
4642
+ l && Ve[`${Qe}--vertical`]
4633
4643
  )
4634
4644
  },
4635
4645
  /* @__PURE__ */ e.createElement(
4636
4646
  "div",
4637
4647
  {
4638
4648
  "data-testId": "content",
4639
- className: u(Ve[`${Xe}__content`], c)
4649
+ className: u(Ve[`${Qe}__content`], c)
4640
4650
  },
4641
4651
  t,
4642
- (_ || o) && /* @__PURE__ */ e.createElement("div", { className: Ve[`${Xe}__content__cta`] }, _ && /* @__PURE__ */ e.createElement(
4652
+ (_ || o) && /* @__PURE__ */ e.createElement("div", { className: Ve[`${Qe}__content__cta`] }, _ && /* @__PURE__ */ e.createElement(
4643
4653
  W,
4644
4654
  {
4645
4655
  kind: (_ == null ? void 0 : _.kind) || "high-contrast",
@@ -4651,7 +4661,7 @@ const Dt = {
4651
4661
  {
4652
4662
  kind: (o == null ? void 0 : o.kind) || "text",
4653
4663
  onClick: o.handleClick,
4654
- className: Ve[`${Xe}__content__cta__secondary`]
4664
+ className: Ve[`${Qe}__content__cta__secondary`]
4655
4665
  },
4656
4666
  o.label
4657
4667
  ))
@@ -4661,16 +4671,16 @@ const Dt = {
4661
4671
  {
4662
4672
  "data-testId": "additional-content",
4663
4673
  className: u(
4664
- Ve[`${Xe}__additional-content`],
4674
+ Ve[`${Qe}__additional-content`],
4665
4675
  i
4666
4676
  )
4667
4677
  },
4668
4678
  r
4669
4679
  ),
4670
- d && /* @__PURE__ */ e.createElement("div", { className: Ve[`${Xe}__close`] }, /* @__PURE__ */ e.createElement(
4680
+ d && /* @__PURE__ */ e.createElement("div", { className: Ve[`${Qe}__close`] }, /* @__PURE__ */ e.createElement(
4671
4681
  W,
4672
4682
  {
4673
- className: Ve[`${Xe}__close__btn`],
4683
+ className: Ve[`${Qe}__close__btn`],
4674
4684
  onClick: d,
4675
4685
  icon: /* @__PURE__ */ e.createElement(P, { source: Ae, kind: "primary" }),
4676
4686
  kind: "plain",
@@ -4697,7 +4707,7 @@ const Dt = {
4697
4707
  });
4698
4708
  return /* @__PURE__ */ e.createElement("div", { className: n }, /* @__PURE__ */ e.createElement("label", { className: qe[`${Ye}__label`] }, /* @__PURE__ */ e.createElement("div", { className: qe[`${Ye}__circle`] }, /* @__PURE__ */ e.createElement("span", { className: qe[`${Ye}__inner-circle`] }), /* @__PURE__ */ e.createElement(
4699
4709
  "input",
4700
- x(k({}, l), {
4710
+ S(k({}, l), {
4701
4711
  className: qe[`${Ye}__input`],
4702
4712
  ref: c,
4703
4713
  type: "radio",
@@ -4706,7 +4716,7 @@ const Dt = {
4706
4716
  })
4707
4717
  )), t && /* @__PURE__ */ e.createElement(I, { as: "div", size: "md", className: qe[`${Ye}__text`] }, t)), r && /* @__PURE__ */ e.createElement(ua, { className: qe[`${Ye}__helper`] }, r));
4708
4718
  }
4709
- ), xe = {
4719
+ ), Se = {
4710
4720
  "search-input": "lc-Search-module__search-input___FsbCk",
4711
4721
  "search-input--compact": "lc-Search-module__search-input--compact___498To",
4712
4722
  "search-input--medium": "lc-Search-module__search-input--medium___Hwteg",
@@ -4720,7 +4730,7 @@ const Dt = {
4720
4730
  "search-input__loader": "lc-Search-module__search-input__loader___pkpIG",
4721
4731
  "search-input__input-wrapper": "lc-Search-module__search-input__input-wrapper___k8bvn",
4722
4732
  "search-input__input-wrapper--crop": "lc-Search-module__search-input__input-wrapper--crop___nBPKY"
4723
- }, Me = "search-input", gr = `${Me}__input-wrapper`, Xc = ({
4733
+ }, Re = "search-input", gr = `${Re}__input-wrapper`, Xc = ({
4724
4734
  isCollapsable: t,
4725
4735
  isDisabled: a,
4726
4736
  isLoading: r,
@@ -4733,12 +4743,12 @@ const Dt = {
4733
4743
  }) => {
4734
4744
  const [n, s] = e.useState(!0), [p, m] = e.useState(!1), b = e.useRef(null), g = !!l && !a && !r, w = t && !n && "true", f = u(
4735
4745
  c,
4736
- xe[Me],
4737
- xe[`${Me}--${o}`],
4738
- p && xe[`${Me}--focused`],
4739
- a && xe[`${Me}--disabled`],
4740
- t && xe[`${Me}--collapsable`],
4741
- !n && xe[`${Me}--collapsable--open`]
4746
+ Se[Re],
4747
+ Se[`${Re}--${o}`],
4748
+ p && Se[`${Re}--focused`],
4749
+ a && Se[`${Re}--disabled`],
4750
+ t && Se[`${Re}--collapsable`],
4751
+ !n && Se[`${Re}--collapsable--open`]
4742
4752
  );
4743
4753
  e.useEffect(() => {
4744
4754
  t && l && s(!1);
@@ -4769,7 +4779,7 @@ const Dt = {
4769
4779
  /* @__PURE__ */ e.createElement(
4770
4780
  P,
4771
4781
  {
4772
- className: xe[`${Me}__search-icon`],
4782
+ className: Se[`${Re}__search-icon`],
4773
4783
  source: jr,
4774
4784
  disabled: a,
4775
4785
  kind: "primary"
@@ -4780,8 +4790,8 @@ const Dt = {
4780
4790
  {
4781
4791
  as: "div",
4782
4792
  className: u(
4783
- xe[gr],
4784
- i && xe[`${gr}--crop`]
4793
+ Se[gr],
4794
+ i && Se[`${gr}--crop`]
4785
4795
  )
4786
4796
  },
4787
4797
  /* @__PURE__ */ e.createElement(
@@ -4805,14 +4815,14 @@ const Dt = {
4805
4815
  {
4806
4816
  "aria-label": "Clear search",
4807
4817
  title: "Clear search",
4808
- className: xe[`${Me}__clear-icon`],
4818
+ className: Se[`${Re}__clear-icon`],
4809
4819
  onClick: v,
4810
4820
  icon: /* @__PURE__ */ e.createElement(P, { source: Ae, kind: "primary" }),
4811
4821
  kind: "text",
4812
4822
  size: "compact"
4813
4823
  }
4814
4824
  ),
4815
- r && /* @__PURE__ */ e.createElement("div", { className: xe[`${Me}__loader`] }, /* @__PURE__ */ e.createElement(Wa, { size: "small" }))
4825
+ r && /* @__PURE__ */ e.createElement("div", { className: Se[`${Re}__loader`] }, /* @__PURE__ */ e.createElement(Wa, { size: "small" }))
4816
4826
  );
4817
4827
  }, wl = "lc-Skeleton-module__loading___MHvGo", ot = {
4818
4828
  "skeleton-wrapper": "lc-Skeleton-module__skeleton-wrapper___MXuR8",
@@ -4876,7 +4886,7 @@ const Dt = {
4876
4886
  width: a
4877
4887
  }
4878
4888
  }
4879
- ), El = "lc-Switch-module__switch__input___NiiOR", $l = "lc-Switch-module__switch__container___79F7W", Nl = "lc-Switch-module__switch__track___2wr2M", Cl = "lc-Switch-module__switch__slider___WHd--", xl = "lc-Switch-module__switch__loader___FE-fA", Sl = "lc-Switch-module__switch__icon___-O1qY", Q = {
4889
+ ), El = "lc-Switch-module__switch__input___NiiOR", $l = "lc-Switch-module__switch__container___79F7W", Nl = "lc-Switch-module__switch__track___2wr2M", Cl = "lc-Switch-module__switch__slider___WHd--", Sl = "lc-Switch-module__switch__loader___FE-fA", xl = "lc-Switch-module__switch__icon___-O1qY", Q = {
4880
4890
  switch: "lc-Switch-module__switch___AaA2k",
4881
4891
  "switch__track--enabled": "lc-Switch-module__switch__track--enabled___sy4Xl",
4882
4892
  "switch__track--on": "lc-Switch-module__switch__track--on___aOMWe",
@@ -4902,11 +4912,11 @@ const Dt = {
4902
4912
  "switch__slider--medium--on": "lc-Switch-module__switch__slider--medium--on___SfeAV",
4903
4913
  "switch__slider--medium--off": "lc-Switch-module__switch__slider--medium--off___eXJJz",
4904
4914
  "switch__slider--disabled": "lc-Switch-module__switch__slider--disabled___A6hPg",
4905
- switch__loader: xl,
4915
+ switch__loader: Sl,
4906
4916
  "switch__loader--compact": "lc-Switch-module__switch__loader--compact___3imUh",
4907
4917
  "switch__loader--medium": "lc-Switch-module__switch__loader--medium___2zi05",
4908
4918
  "switch__loader--large": "lc-Switch-module__switch__loader--large___vLRFa",
4909
- switch__icon: Sl
4919
+ switch__icon: xl
4910
4920
  }, X = "switch", en = (p) => {
4911
4921
  var m = p, {
4912
4922
  className: t = "",
@@ -4941,11 +4951,11 @@ const Dt = {
4941
4951
  },
4942
4952
  t
4943
4953
  ), G = (T) => {
4944
- l == null || l(T, !v), b || (T.stopPropagation(), w((M) => !M));
4954
+ l == null || l(T, !v), b || (T.stopPropagation(), w((R) => !R));
4945
4955
  };
4946
4956
  return /* @__PURE__ */ e.createElement("span", { className: L }, /* @__PURE__ */ e.createElement(
4947
4957
  "input",
4948
- x(k({
4958
+ S(k({
4949
4959
  type: "checkbox",
4950
4960
  className: u(
4951
4961
  Q[`${X}__input`],
@@ -5041,7 +5051,7 @@ const Dt = {
5041
5051
  const { disabled: s } = i, p = r !== void 0 && !o, m = r !== void 0 && o;
5042
5052
  return /* @__PURE__ */ e.createElement(
5043
5053
  I,
5044
- x(k({}, i), {
5054
+ S(k({}, i), {
5045
5055
  as: i.href ? "a" : "button",
5046
5056
  "aria-selected": _,
5047
5057
  size: "md",
@@ -5128,7 +5138,7 @@ const Dt = {
5128
5138
  dangerouslySetInnerHTML: { __html: Xa(l) }
5129
5139
  }
5130
5140
  );
5131
- }, Rl = "tag-input__tag", vr = ({
5141
+ }, Ml = "tag-input__tag", vr = ({
5132
5142
  children: t,
5133
5143
  index: a,
5134
5144
  remove: r,
@@ -5139,19 +5149,19 @@ const Dt = {
5139
5149
  tagProps: i
5140
5150
  }) => {
5141
5151
  const d = e.useMemo(() => _ !== void 0 ? _(t) : !0, [t, _]), n = e.useRef(null), s = () => r(a), p = () => d ? i ? i.kind : "default" : "error";
5142
- return /* @__PURE__ */ e.createElement(Mr, x(k({ size: c }, i), { kind: p(), onRemove: s }), /* @__PURE__ */ e.createElement(
5152
+ return /* @__PURE__ */ e.createElement(Rr, S(k({ size: c }, i), { kind: p(), onRemove: s }), /* @__PURE__ */ e.createElement(
5143
5153
  Fl,
5144
5154
  {
5145
5155
  value: t,
5146
5156
  inputRef: o,
5147
5157
  innerEditableRef: n,
5148
- className: It[`${Rl}__content`],
5158
+ className: It[`${Ml}__content`],
5149
5159
  change: (m) => l(a, m),
5150
5160
  remove: s,
5151
5161
  validator: _
5152
5162
  }
5153
5163
  ));
5154
- }, Xt = "tag-input", Ml = [
5164
+ }, Xt = "tag-input", Rl = [
5155
5165
  _e.enter,
5156
5166
  _e.spacebar,
5157
5167
  _e.tab,
@@ -5196,10 +5206,10 @@ const Dt = {
5196
5206
  ), [f, h] = e.useState(""), v = e.useRef(null), E = (T) => {
5197
5207
  T.trim() !== "" && (r([...a || [], T]), h(""));
5198
5208
  }, N = (T) => {
5199
- const M = [...a || []];
5200
- M.splice(T, 1), r(M);
5209
+ const R = [...a || []];
5210
+ R.splice(T, 1), r(R);
5201
5211
  }, $ = (T) => h(T.target.value), y = (T) => {
5202
- if (Ml.includes(T.key)) {
5212
+ if (Rl.includes(T.key)) {
5203
5213
  if (T.preventDefault(), f === "")
5204
5214
  return;
5205
5215
  E(f);
@@ -5210,21 +5220,21 @@ const Dt = {
5210
5220
  }
5211
5221
  }, C = (T) => {
5212
5222
  s && E(f), n == null || n(T);
5213
- }, D = (T, M) => {
5223
+ }, D = (T, R) => {
5214
5224
  const V = [...a || []];
5215
5225
  V.reduce(
5216
- (he, oe, Ee) => he + (oe === M && Ee !== T ? 1 : 0),
5226
+ (he, oe, we) => he + (oe === R && we !== T ? 1 : 0),
5217
5227
  0
5218
- ) > 0 ? V.splice(T, 1) : V[T] = M, r(V);
5228
+ ) > 0 ? V.splice(T, 1) : V[T] = R, r(V);
5219
5229
  }, L = (T) => {
5220
5230
  T.preventDefault();
5221
5231
  const V = T.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
5222
5232
  r([...a || [], ...V]);
5223
- }, G = (T, M) => typeof T == "string" ? /* @__PURE__ */ e.createElement(
5233
+ }, G = (T, R) => typeof T == "string" ? /* @__PURE__ */ e.createElement(
5224
5234
  vr,
5225
5235
  {
5226
- index: M,
5227
- key: `${M}${T}`,
5236
+ index: R,
5237
+ key: `${R}${T}`,
5228
5238
  update: D,
5229
5239
  remove: N,
5230
5240
  inputRef: v,
@@ -5235,8 +5245,8 @@ const Dt = {
5235
5245
  ) : /* @__PURE__ */ e.createElement(
5236
5246
  vr,
5237
5247
  {
5238
- index: M,
5239
- key: `${M}${T.children}`,
5248
+ index: R,
5249
+ key: `${R}${T.children}`,
5240
5250
  update: D,
5241
5251
  remove: N,
5242
5252
  inputRef: v,
@@ -5248,7 +5258,7 @@ const Dt = {
5248
5258
  );
5249
5259
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(I, { as: "div", className: g }, a == null ? void 0 : a.map(G), /* @__PURE__ */ e.createElement(
5250
5260
  "input",
5251
- x(k({}, p), {
5261
+ S(k({}, p), {
5252
5262
  id: t,
5253
5263
  ref: v,
5254
5264
  className: w,
@@ -5266,7 +5276,7 @@ const Dt = {
5266
5276
  } = _, a = F(_, [
5267
5277
  "placeholder"
5268
5278
  ]);
5269
- return /* @__PURE__ */ e.createElement(Ol, x(k({}, a), { placeholder: t, validator: Gl }));
5279
+ return /* @__PURE__ */ e.createElement(Ol, S(k({}, a), { placeholder: t, validator: Gl }));
5270
5280
  }, Ul = "lc-Toast-module__toast___j5Amn", Wl = "lc-Toast-module__toast__content___HjaNw", Vl = "lc-Toast-module__toast__actions___JWu-1", ql = "lc-Toast-module__toast__actions__button___Iblrl", j = {
5271
5281
  toast: Ul,
5272
5282
  toast__content: Wl,
@@ -5310,7 +5320,7 @@ const Dt = {
5310
5320
  info: {
5311
5321
  source: Oa
5312
5322
  }
5313
- }, Qe = "toast", Kl = (i) => {
5323
+ }, je = "toast", Kl = (i) => {
5314
5324
  var d = i, {
5315
5325
  action: t,
5316
5326
  className: a,
@@ -5327,14 +5337,14 @@ const Dt = {
5327
5337
  "onClose"
5328
5338
  ]);
5329
5339
  const n = u(
5330
- j[Qe],
5331
- j[`${Qe}--${o}`],
5340
+ j[je],
5341
+ j[`${je}--${o}`],
5332
5342
  a
5333
5343
  ), s = typeof r == "string", p = (m) => m && m.closesOnClick && l ? (m.onClick(), l()) : m.onClick();
5334
- return /* @__PURE__ */ e.createElement("div", k({ className: n }, c), /* @__PURE__ */ e.createElement("div", { className: j[`${Qe}__icon`] }, /* @__PURE__ */ e.createElement(P, x(k({}, Yl[o]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: j[`${Qe}__content`] }, s ? /* @__PURE__ */ e.createElement(I, { as: "div" }, r) : r), (t || _) && /* @__PURE__ */ e.createElement("div", { className: j[`${Qe}__actions`] }, t && /* @__PURE__ */ e.createElement(
5344
+ return /* @__PURE__ */ e.createElement("div", k({ className: n }, c), /* @__PURE__ */ e.createElement("div", { className: j[`${je}__icon`] }, /* @__PURE__ */ e.createElement(P, S(k({}, Yl[o]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: j[`${je}__content`] }, s ? /* @__PURE__ */ e.createElement(I, { as: "div" }, r) : r), (t || _) && /* @__PURE__ */ e.createElement("div", { className: j[`${je}__actions`] }, t && /* @__PURE__ */ e.createElement(
5335
5345
  W,
5336
5346
  {
5337
- className: j[`${Qe}__actions--custom`],
5347
+ className: j[`${je}__actions--custom`],
5338
5348
  kind: "text",
5339
5349
  size: "compact",
5340
5350
  onClick: () => p(t)
@@ -5344,8 +5354,8 @@ const Dt = {
5344
5354
  "button",
5345
5355
  {
5346
5356
  className: u(
5347
- j[`${Qe}__actions__button`],
5348
- j[`${Qe}__actions__button--${o}`]
5357
+ j[`${je}__actions__button`],
5358
+ j[`${je}__actions__button--${o}`]
5349
5359
  ),
5350
5360
  "aria-label": "Close toast",
5351
5361
  onClick: l
@@ -5413,7 +5423,7 @@ const Dt = {
5413
5423
  };
5414
5424
  return /* @__PURE__ */ e.createElement(I, { as: "div", className: p }, /* @__PURE__ */ e.createElement(
5415
5425
  "textarea",
5416
- x(k({}, r), {
5426
+ S(k({}, r), {
5417
5427
  ref: _,
5418
5428
  onFocus: b,
5419
5429
  onBlur: m
@@ -5442,7 +5452,7 @@ const Dt = {
5442
5452
  onClick: a
5443
5453
  },
5444
5454
  /* @__PURE__ */ e.createElement(P, { size: "small", source: Ae })
5445
- )), Se = {
5455
+ )), xe = {
5446
5456
  "file-upload-progress": "lc-FileUploadProgress-module__file-upload-progress___xw8h8",
5447
5457
  "file-upload-progress__icon": "lc-FileUploadProgress-module__file-upload-progress__icon___p8Rfz",
5448
5458
  "file-upload-progress__icon--success": "lc-FileUploadProgress-module__file-upload-progress__icon--success___X40uH",
@@ -5464,28 +5474,28 @@ const Dt = {
5464
5474
  status: c = "normal",
5465
5475
  onCloseButtonClick: i,
5466
5476
  onRetryButtonClick: d
5467
- }, n) => /* @__PURE__ */ e.createElement("div", { className: Se[Ke], ref: n }, r && c !== "success" && /* @__PURE__ */ e.createElement("div", { className: Se[`${Ke}__icon`] }, r), c === "success" && /* @__PURE__ */ e.createElement(
5477
+ }, n) => /* @__PURE__ */ e.createElement("div", { className: xe[Ke], ref: n }, r && c !== "success" && /* @__PURE__ */ e.createElement("div", { className: xe[`${Ke}__icon`] }, r), c === "success" && /* @__PURE__ */ e.createElement(
5468
5478
  "div",
5469
5479
  {
5470
5480
  className: u(
5471
- Se[`${Ke}__icon`],
5472
- Se[`${Ke}__icon--success`]
5481
+ xe[`${Ke}__icon`],
5482
+ xe[`${Ke}__icon--success`]
5473
5483
  )
5474
5484
  },
5475
5485
  /* @__PURE__ */ e.createElement(P, { source: ea })
5476
5486
  ), /* @__PURE__ */ e.createElement(
5477
5487
  "div",
5478
5488
  {
5479
- className: u(Se[`${Ke}__wrapper`], {
5480
- [Se[`${Ke}__wrapper--with-icon`]]: r
5489
+ className: u(xe[`${Ke}__wrapper`], {
5490
+ [xe[`${Ke}__wrapper--with-icon`]]: r
5481
5491
  })
5482
5492
  },
5483
- /* @__PURE__ */ e.createElement("div", { className: Se[`${Ke}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
5493
+ /* @__PURE__ */ e.createElement("div", { className: xe[`${Ke}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
5484
5494
  "div",
5485
5495
  {
5486
- className: u(Se[Aa], {
5487
- [Se[`${Aa}--success`]]: c === "success",
5488
- [Se[`${Aa}--error`]]: c === "error"
5496
+ className: u(xe[Aa], {
5497
+ [xe[`${Aa}--success`]]: c === "success",
5498
+ [xe[`${Aa}--error`]]: c === "error"
5489
5499
  })
5490
5500
  },
5491
5501
  /* @__PURE__ */ e.createElement(I, { size: "sm", as: "div" }, _)
@@ -5493,7 +5503,7 @@ const Dt = {
5493
5503
  "div",
5494
5504
  {
5495
5505
  className: u({
5496
- [Se[`${Ke}__wrapper__header__actions`]]: t === "hover"
5506
+ [xe[`${Ke}__wrapper__header__actions`]]: t === "hover"
5497
5507
  })
5498
5508
  },
5499
5509
  /* @__PURE__ */ e.createElement(
@@ -5536,7 +5546,7 @@ const Dt = {
5536
5546
  "upload-bar__files--exit-done": "lc-UploadBar-module__upload-bar__files--exit-done___2I72G",
5537
5547
  "upload-bar__files-wrapper": "lc-UploadBar-module__upload-bar__files-wrapper___93bs8",
5538
5548
  "upload-bar__files__list": "lc-UploadBar-module__upload-bar__files__list___QJFEq"
5539
- }, me = "upload-bar", Je = `${me}__wrapper__header`, jl = 300, Zl = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement(
5549
+ }, pe = "upload-bar", Je = `${pe}__wrapper__header`, jl = 300, Zl = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement(
5540
5550
  "div",
5541
5551
  {
5542
5552
  "data-testid": "success-icon",
@@ -5571,11 +5581,11 @@ const Dt = {
5571
5581
  onCloseButtonClick: s,
5572
5582
  onRetryButtonClick: p
5573
5583
  }) => {
5574
- const [m, b] = e.useState(o || !1), g = c === "error", w = c === "success", f = u(z[me], a, {
5575
- [z[`${me}--error`]]: g,
5576
- [z[`${me}--success`]]: w
5584
+ const [m, b] = e.useState(o || !1), g = c === "error", w = c === "success", f = u(z[pe], a, {
5585
+ [z[`${pe}--error`]]: g,
5586
+ [z[`${pe}--success`]]: w
5577
5587
  }), h = !(g && (p || s)), v = () => b(!m);
5578
- return n === "single" ? /* @__PURE__ */ e.createElement("div", { className: f }, /* @__PURE__ */ e.createElement("div", { className: z[`${me}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: z[`${Je}`] }, /* @__PURE__ */ e.createElement(
5588
+ return n === "single" ? /* @__PURE__ */ e.createElement("div", { className: f }, /* @__PURE__ */ e.createElement("div", { className: z[`${pe}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: z[`${Je}`] }, /* @__PURE__ */ e.createElement(
5579
5589
  Ql,
5580
5590
  {
5581
5591
  title: g && l || _,
@@ -5594,7 +5604,7 @@ const Dt = {
5594
5604
  ))) : /* @__PURE__ */ e.createElement("div", { className: f }, /* @__PURE__ */ e.createElement(
5595
5605
  "div",
5596
5606
  {
5597
- className: z[`${me}__wrapper`],
5607
+ className: z[`${pe}__wrapper`],
5598
5608
  onClick: v
5599
5609
  },
5600
5610
  /* @__PURE__ */ e.createElement("div", { className: z[`${Je}`] }, /* @__PURE__ */ e.createElement("div", { className: z[`${Je}__icon`] }, Zl(c, r)), /* @__PURE__ */ e.createElement("div", { className: z[`${Je}__title`] }, /* @__PURE__ */ e.createElement(I, { size: "sm", as: "div" }, g ? l : _)), h && /* @__PURE__ */ e.createElement(
@@ -5605,7 +5615,7 @@ const Dt = {
5605
5615
  "aria-label": "Collapse button",
5606
5616
  onClick: v
5607
5617
  },
5608
- m ? /* @__PURE__ */ e.createElement(P, { source: ta }) : /* @__PURE__ */ e.createElement(P, { source: Rt })
5618
+ m ? /* @__PURE__ */ e.createElement(P, { source: ta }) : /* @__PURE__ */ e.createElement(P, { source: Mt })
5609
5619
  ), c === "error" && /* @__PURE__ */ e.createElement("div", { className: z[`${Je}__actions-container`] }, /* @__PURE__ */ e.createElement(
5610
5620
  La,
5611
5621
  {
@@ -5619,20 +5629,20 @@ const Dt = {
5619
5629
  {
5620
5630
  timeout: jl,
5621
5631
  classNames: {
5622
- enter: z[`${me}__files--enter`],
5623
- enterActive: z[`${me}__files--enter-active`],
5624
- exit: z[`${me}__files--exit`],
5625
- exitActive: z[`${me}__files--exit-active`],
5626
- exitDone: z[`${me}__files--exit-done`]
5632
+ enter: z[`${pe}__files--enter`],
5633
+ enterActive: z[`${pe}__files--enter-active`],
5634
+ exit: z[`${pe}__files--exit`],
5635
+ exitActive: z[`${pe}__files--exit-active`],
5636
+ exitDone: z[`${pe}__files--exit-done`]
5627
5637
  }
5628
5638
  },
5629
- /* @__PURE__ */ e.createElement("div", { className: z[`${me}__files`] }, /* @__PURE__ */ e.createElement("div", { className: z[`${me}__files-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: z[`${me}__files__list`] }, t)))
5639
+ /* @__PURE__ */ e.createElement("div", { className: z[`${pe}__files`] }, /* @__PURE__ */ e.createElement("div", { className: z[`${pe}__files-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: z[`${pe}__files__list`] }, t)))
5630
5640
  )));
5631
5641
  };
5632
5642
  export {
5633
5643
  Jl as ANIMATION_TIME,
5634
- xc as ActionBar,
5635
- Sc as ActionCard,
5644
+ Sc as ActionBar,
5645
+ xc as ActionCard,
5636
5646
  b_ as ActionMenu,
5637
5647
  f_ as ActionMenuItem,
5638
5648
  Tc as Alert,
@@ -5653,8 +5663,8 @@ export {
5653
5663
  Fc as FieldGroup,
5654
5664
  Ql as FileUploadProgress,
5655
5665
  La as FileUploadProgressActions,
5656
- Rc as Form,
5657
- Mc as FormField,
5666
+ Mc as Form,
5667
+ Rc as FormField,
5658
5668
  Lc as FormGroup,
5659
5669
  Be as Heading,
5660
5670
  P as Icon,
@@ -5692,7 +5702,7 @@ export {
5692
5702
  tn as Tab,
5693
5703
  rn as TabsList,
5694
5704
  an as TabsWrapper,
5695
- Mr as Tag,
5705
+ Rr as Tag,
5696
5706
  Ol as TagInput,
5697
5707
  I as Text,
5698
5708
  ln as Textarea,