@livechat/design-system-react-components 1.33.4 → 1.33.5

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
@@ -655,8 +655,8 @@ const Mc = {
655
655
  }, d),
656
656
  r
657
657
  );
658
- }, B = (f) => {
659
- var b = f, {
658
+ }, B = (b) => {
659
+ var g = b, {
660
660
  as: t = "p",
661
661
  size: a = "md",
662
662
  caps: r = !1,
@@ -669,7 +669,7 @@ const Mc = {
669
669
  customColor: i,
670
670
  textAlign: s,
671
671
  noMargin: p
672
- } = b, m = D(b, [
672
+ } = g, m = D(g, [
673
673
  "as",
674
674
  "size",
675
675
  "caps",
@@ -683,18 +683,18 @@ const Mc = {
683
683
  "textAlign",
684
684
  "noMargin"
685
685
  ]);
686
- const v = "paragraph";
686
+ const h = "paragraph";
687
687
  return e.createElement(
688
688
  t,
689
689
  k({
690
690
  className: u(
691
691
  {
692
- [Ge[`${v}-${a}`]]: !0,
693
- [Ge[`${v}--bold`]]: o,
694
- [Ge[`${v}--strike`]]: n,
695
- [Ge[`${v}--underline`]]: l,
696
- [Ge[`${v}--uppercase`]]: _ || r,
697
- [Ge[`${v}--no-margin`]]: p
692
+ [Ge[`${h}-${a}`]]: !0,
693
+ [Ge[`${h}--bold`]]: o,
694
+ [Ge[`${h}--strike`]]: n,
695
+ [Ge[`${h}--underline`]]: l,
696
+ [Ge[`${h}--uppercase`]]: _ || r,
697
+ [Ge[`${h}--no-margin`]]: p
698
698
  },
699
699
  d
700
700
  ),
@@ -746,8 +746,8 @@ const Mc = {
746
746
  "action-menu__list__item__icon": "lc-ActionMenu-module__action-menu__list__item__icon___o3ePo",
747
747
  "action-menu__list--with-footer": "lc-ActionMenu-module__action-menu__list--with-footer___ghTxL",
748
748
  "action-menu__footer": "lc-ActionMenu-module__action-menu__footer___HxoOe"
749
- }, ze = "action-menu", mo = (v) => {
750
- var h = v, {
749
+ }, ze = "action-menu", mo = (h) => {
750
+ var v = h, {
751
751
  className: t,
752
752
  triggerClassName: a,
753
753
  options: r,
@@ -761,8 +761,8 @@ const Mc = {
761
761
  onOpen: s,
762
762
  floatingStrategy: p,
763
763
  selectedOptions: m,
764
- footer: f
765
- } = h, b = D(h, [
764
+ footer: b
765
+ } = v, g = D(v, [
766
766
  "className",
767
767
  "triggerClassName",
768
768
  "options",
@@ -778,7 +778,7 @@ const Mc = {
778
778
  "selectedOptions",
779
779
  "footer"
780
780
  ]);
781
- const y = d !== void 0, [E, $] = e.useState(l), [w, C] = e.useState(null), g = e.useRef(-1), N = Ga(), S = sa(), M = e.useRef(null), G = y ? d : E, I = () => {
781
+ const y = d !== void 0, [E, $] = e.useState(l), [w, C] = e.useState(null), f = e.useRef(-1), N = Ga(), S = sa(), M = e.useRef(null), G = y ? d : E, I = () => {
782
782
  G ? (i == null || i(), !y && $(!1)) : (s == null || s(), !y && $(!0));
783
783
  }, { x: O, y: Y, strategy: X, refs: L, context: U } = da({
784
784
  nodeId: S,
@@ -816,7 +816,7 @@ const Mc = {
816
816
  })
817
817
  }), Nt = (P) => {
818
818
  var Ye, qe;
819
- const V = g.current;
819
+ const V = f.current;
820
820
  let ue = V + P;
821
821
  for (; (Ye = r[ue]) != null && Ye.disabled || (qe = r[ue]) != null && qe.groupHeader; )
822
822
  if (ue += P, ue === -1) {
@@ -826,19 +826,19 @@ const Mc = {
826
826
  return ue;
827
827
  }, bt = (P) => {
828
828
  var Ye, qe;
829
- g.current = Nt(P);
830
- const V = (Ye = M.current) == null ? void 0 : Ye.children, ue = V && ((qe = V[g.current]) == null ? void 0 : qe.children[0]);
829
+ f.current = Nt(P);
830
+ const V = (Ye = M.current) == null ? void 0 : Ye.children, ue = V && ((qe = V[f.current]) == null ? void 0 : qe.children[0]);
831
831
  return ue == null ? void 0 : ue.focus();
832
832
  }, lt = (P) => {
833
- P.key === de.arrowUp && g.current > 0 && (P.preventDefault(), bt(-1)), P.key === de.arrowDown && g.current + 1 < r.length && (P.preventDefault(), bt(1));
833
+ P.key === de.arrowUp && f.current > 0 && (P.preventDefault(), bt(-1)), P.key === de.arrowDown && f.current + 1 < r.length && (P.preventDefault(), bt(1));
834
834
  };
835
835
  e.useEffect(() => {
836
836
  if (G)
837
837
  return document.addEventListener("keydown", lt), () => document.removeEventListener("keydown", lt);
838
- g.current = -1;
838
+ f.current = -1;
839
839
  }, [G, lt]);
840
840
  const ht = (P, V) => {
841
- g.current = P, V == null || V(), !y && !n && ($(!1), i == null || i());
841
+ f.current = P, V == null || V(), !y && !n && ($(!1), i == null || i());
842
842
  }, St = (P, V) => P.groupHeader ? /* @__PURE__ */ e.createElement(
843
843
  "li",
844
844
  {
@@ -894,11 +894,11 @@ const Mc = {
894
894
  }, $t()),
895
895
  r.length > 0 && /* @__PURE__ */ e.createElement(
896
896
  "ul",
897
- T(k({}, b), {
897
+ T(k({}, g), {
898
898
  className: u(
899
899
  He[`${ze}__list`],
900
900
  {
901
- [He[`${ze}__list--with-footer`]]: f
901
+ [He[`${ze}__list--with-footer`]]: b
902
902
  },
903
903
  t
904
904
  ),
@@ -907,14 +907,14 @@ const Mc = {
907
907
  }),
908
908
  r.map(St)
909
909
  ),
910
- f && /* @__PURE__ */ e.createElement(
910
+ b && /* @__PURE__ */ e.createElement(
911
911
  B,
912
912
  {
913
913
  size: "sm",
914
914
  as: "div",
915
915
  className: He[`${ze}__footer`]
916
916
  },
917
- f
917
+ b
918
918
  )
919
919
  )));
920
920
  return N === null ? /* @__PURE__ */ e.createElement(Ha, null, xt) : xt;
@@ -1020,8 +1020,8 @@ const Mc = {
1020
1020
  "btn--plain-lock-black": "lc-Button-module__btn--plain-lock-black___aL-wC",
1021
1021
  "btn--text-lock-black": "lc-Button-module__btn--text-lock-black___fy3zb"
1022
1022
  }, ge = "btn", W = e.forwardRef(
1023
- (v, b) => {
1024
- var h = v, {
1023
+ (h, g) => {
1024
+ var v = h, {
1025
1025
  loading: t = !1,
1026
1026
  disabled: a = !1,
1027
1027
  type: r = "button",
@@ -1035,7 +1035,7 @@ const Mc = {
1035
1035
  children: s,
1036
1036
  href: p,
1037
1037
  onClick: m
1038
- } = h, f = D(h, [
1038
+ } = v, b = D(v, [
1039
1039
  "loading",
1040
1040
  "disabled",
1041
1041
  "type",
@@ -1067,12 +1067,12 @@ const Mc = {
1067
1067
  return /* @__PURE__ */ e.createElement(
1068
1068
  w,
1069
1069
  k(k({
1070
- ref: b,
1070
+ ref: g,
1071
1071
  className: C,
1072
1072
  "aria-disabled": y,
1073
1073
  type: r,
1074
1074
  disabled: y
1075
- }, !y && { href: p, onClick: m }), f),
1075
+ }, !y && { href: p, onClick: m }), b),
1076
1076
  t && /* @__PURE__ */ e.createElement(
1077
1077
  Cr,
1078
1078
  k({
@@ -1180,16 +1180,16 @@ const Co = (t) => {
1180
1180
  onOpen: s,
1181
1181
  withFadeAnimation: p = !0,
1182
1182
  transitionDuration: m = 200,
1183
- hoverOnDuration: f,
1184
- hoverOffDuration: b,
1185
- transitionDelay: v = 0,
1186
- hoverOnDelay: h,
1183
+ hoverOnDuration: b,
1184
+ hoverOffDuration: g,
1185
+ transitionDelay: h = 0,
1186
+ hoverOnDelay: v,
1187
1187
  hoverOffDelay: y,
1188
1188
  triggerOnClick: E = !1,
1189
1189
  triggerOnHover: $ = !0,
1190
1190
  offsetMainAxis: w = 8,
1191
1191
  offsetCrossAxis: C = 0,
1192
- referenceElement: g,
1192
+ referenceElement: f,
1193
1193
  activationThreshold: N = 0,
1194
1194
  useDismissHookProps: S,
1195
1195
  useClickHookProps: M,
@@ -1206,7 +1206,7 @@ const Co = (t) => {
1206
1206
  d && A[`${ya}--full-space`]
1207
1207
  ), bt = typeof _ == "function", lt = (me) => {
1208
1208
  me !== Ue && (me ? s == null || s() : i == null || i(), !L && $e(me));
1209
- }, ht = (me) => p ? me != null ? me : m : 0, St = (me) => me != null ? me : v, {
1209
+ }, ht = (me) => p ? me != null ? me : m : 0, St = (me) => me != null ? me : h, {
1210
1210
  floatingStyles: xt,
1211
1211
  refs: P,
1212
1212
  context: V,
@@ -1228,7 +1228,7 @@ const Co = (t) => {
1228
1228
  move: !1,
1229
1229
  restMs: N,
1230
1230
  delay: {
1231
- open: St(h),
1231
+ open: St(v),
1232
1232
  close: St(y || G)
1233
1233
  },
1234
1234
  enabled: $,
@@ -1237,8 +1237,8 @@ const Co = (t) => {
1237
1237
  enabled: E
1238
1238
  }, M)), { isMounted: qa, styles: Za } = kr(V, {
1239
1239
  duration: {
1240
- open: ht(f),
1241
- close: ht(b)
1240
+ open: ht(b),
1241
+ close: ht(g)
1242
1242
  }
1243
1243
  }), { status: Xa } = Q_(V), { getReferenceProps: Ja, getFloatingProps: ja } = ba([
1244
1244
  qe,
@@ -1248,8 +1248,8 @@ const Co = (t) => {
1248
1248
  Ya
1249
1249
  ]);
1250
1250
  e.useEffect(() => {
1251
- g && P.setReference(g);
1252
- }, [P.setReference, g]);
1251
+ f && P.setReference(f);
1252
+ }, [P.setReference, f]);
1253
1253
  const Gt = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
1254
1254
  "div",
1255
1255
  T(k({
@@ -1648,26 +1648,26 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
1648
1648
  }) => {
1649
1649
  const [c, d] = e.useState(
1650
1650
  _.length
1651
- ), [i, s] = e.useState([]), [p, m] = e.useState(!1), f = r === "scroll", b = u(
1651
+ ), [i, s] = e.useState([]), [p, m] = e.useState(!1), b = r === "scroll", g = u(
1652
1652
  q[wa],
1653
1653
  t,
1654
1654
  l && q[`${wa}--vertical`]
1655
- ), v = !f && i.length !== 0;
1655
+ ), h = !b && i.length !== 0;
1656
1656
  e.useEffect(() => {
1657
- f || (_.length > c ? s(_.slice(c, _.length)) : s([]));
1657
+ b || (_.length > c ? s(_.slice(c, _.length)) : s([]));
1658
1658
  }, [_, c]), e.useEffect(() => {
1659
1659
  const E = !!window.ResizeObserver;
1660
- if (!f && E) {
1660
+ if (!b && E) {
1661
1661
  const $ = new ResizeObserver((w) => {
1662
- const { width: C, height: g } = w[0].contentRect, N = l ? g : C, S = i.length > 0 ? 60 : 0, M = Math.floor(
1662
+ const { width: C, height: f } = w[0].contentRect, N = l ? f : C, S = i.length > 0 ? 60 : 0, M = Math.floor(
1663
1663
  (N - S) / Do
1664
1664
  );
1665
1665
  M >= 0 && M !== c && d(M);
1666
1666
  });
1667
1667
  return $.observe(document.querySelector(`#${a}`)), () => $.disconnect();
1668
1668
  }
1669
- }, [i, f, c]);
1670
- const h = e.useCallback(() => i.reduce(
1669
+ }, [i, b, c]);
1670
+ const v = e.useCallback(() => i.reduce(
1671
1671
  (E, $) => {
1672
1672
  if (!$.hideInMenu) {
1673
1673
  const w = {
@@ -1682,11 +1682,11 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
1682
1682
  },
1683
1683
  []
1684
1684
  ), [i]), y = i.find((E) => E.key === o);
1685
- return /* @__PURE__ */ e.createElement("div", { id: a, className: b }, /* @__PURE__ */ e.createElement(
1685
+ return /* @__PURE__ */ e.createElement("div", { id: a, className: g }, /* @__PURE__ */ e.createElement(
1686
1686
  "div",
1687
1687
  {
1688
1688
  className: u(q[`${wa}__items`], {
1689
- [q[`${wa}__items--scroll`]]: f
1689
+ [q[`${wa}__items--scroll`]]: b
1690
1690
  })
1691
1691
  },
1692
1692
  _.slice(0, c).map((E) => /* @__PURE__ */ e.createElement(
@@ -1697,7 +1697,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
1697
1697
  vertical: l
1698
1698
  }
1699
1699
  ))
1700
- ), v && /* @__PURE__ */ e.createElement(
1700
+ ), h && /* @__PURE__ */ e.createElement(
1701
1701
  "div",
1702
1702
  {
1703
1703
  className: u(
@@ -1714,7 +1714,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
1714
1714
  onClose: () => m(!1),
1715
1715
  floatingStrategy: "fixed",
1716
1716
  placement: l ? "left-start" : "bottom-end",
1717
- options: h(),
1717
+ options: v(),
1718
1718
  triggerClassName: u(
1719
1719
  l && q[`${Xe}__trigger-vertical`]
1720
1720
  ),
@@ -1865,10 +1865,10 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
1865
1865
  a
1866
1866
  );
1867
1867
  return e.useEffect(() => {
1868
- const f = () => i.current && i.current.offsetWidth <= 400 ? p("small") : i.current && i.current.offsetWidth > 400 && i.current.offsetWidth <= 800 ? p("medium") : p("large"), b = n_(() => {
1869
- f();
1868
+ const b = () => i.current && i.current.offsetWidth <= 400 ? p("small") : i.current && i.current.offsetWidth > 400 && i.current.offsetWidth <= 800 ? p("medium") : p("large"), g = n_(() => {
1869
+ b();
1870
1870
  }, 500);
1871
- return window.addEventListener("resize", b), f(), () => window.removeEventListener("resize", b);
1871
+ return window.addEventListener("resize", g), b(), () => window.removeEventListener("resize", g);
1872
1872
  }), /* @__PURE__ */ e.createElement("div", k({ ref: i, className: m }, n), /* @__PURE__ */ e.createElement("div", { className: Se[`${xe}__content`] }, /* @__PURE__ */ e.createElement("div", { className: Se[`${xe}__content__wrapper`] }, /* @__PURE__ */ e.createElement(
1873
1873
  x,
1874
1874
  T(k({}, Go[o]), {
@@ -1952,7 +1952,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
1952
1952
  topBarClassName: n,
1953
1953
  sideNavigationContainerClassName: c,
1954
1954
  contentClassName: d
1955
- } = t, i = u(Je[p_], r), { isSideNavigationVisible: s } = no(), p = e.useRef(null), { isOpen: m, isMounted: f } = $r({
1955
+ } = t, i = u(Je[p_], r), { isSideNavigationVisible: s } = no(), p = e.useRef(null), { isOpen: m, isMounted: b } = $r({
1956
1956
  isVisible: s,
1957
1957
  elementRef: p
1958
1958
  });
@@ -1989,7 +1989,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
1989
1989
  }
1990
1990
  )
1991
1991
  },
1992
- f && o
1992
+ b && o
1993
1993
  ),
1994
1994
  /* @__PURE__ */ e.createElement(
1995
1995
  "div",
@@ -2053,7 +2053,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
2053
2053
  "side-navigation-item__label--active": "lc-SideNavigationItem-module__side-navigation-item__label--active___lHzUo",
2054
2054
  "side-navigation-item__custom-label--active": "lc-SideNavigationItem-module__side-navigation-item__custom-label--active___js4w6"
2055
2055
  }, De = "side-navigation-item", Vo = (m) => {
2056
- var f = m, {
2056
+ var b = m, {
2057
2057
  leftNode: t,
2058
2058
  shouldKeepIconSpace: a = !0,
2059
2059
  url: r,
@@ -2065,7 +2065,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
2065
2065
  isMainEntry: d,
2066
2066
  onItemHover: i,
2067
2067
  isIconHidden: s
2068
- } = f, p = D(f, [
2068
+ } = b, p = D(b, [
2069
2069
  "leftNode",
2070
2070
  "shouldKeepIconSpace",
2071
2071
  "url",
@@ -2078,9 +2078,9 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
2078
2078
  "onItemHover",
2079
2079
  "isIconHidden"
2080
2080
  ]);
2081
- const b = typeof _ == "string", v = (y) => {
2081
+ const g = typeof _ == "string", h = (y) => {
2082
2082
  y.preventDefault(), n == null || n();
2083
- }, h = (y) => {
2083
+ }, v = (y) => {
2084
2084
  y.key === "Enter" && (y.preventDefault(), n == null || n());
2085
2085
  };
2086
2086
  return /* @__PURE__ */ e.createElement(
@@ -2100,8 +2100,8 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
2100
2100
  [Te[`${De}__anchor--icon-hidden`]]: s
2101
2101
  }),
2102
2102
  href: r,
2103
- onClick: v,
2104
- onKeyDown: h,
2103
+ onClick: h,
2104
+ onKeyDown: v,
2105
2105
  onMouseEnter: i || Fa,
2106
2106
  onFocus: i || Fa
2107
2107
  },
@@ -2115,7 +2115,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
2115
2115
  },
2116
2116
  t
2117
2117
  ),
2118
- b ? /* @__PURE__ */ e.createElement(
2118
+ g ? /* @__PURE__ */ e.createElement(
2119
2119
  B,
2120
2120
  {
2121
2121
  bold: c || d,
@@ -2155,13 +2155,13 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
2155
2155
  shouldOpenOnInit: n = !1,
2156
2156
  shouldOpenOnActive: c = !1
2157
2157
  }) => {
2158
- const [d, i] = e.useState(!1), [s, p] = e.useState(0), m = e.useRef(!1), f = e.useRef(null), { isOpen: b, isMounted: v, setIsOpen: h } = $r({
2158
+ const [d, i] = e.useState(!1), [s, p] = e.useState(0), m = e.useRef(!1), b = e.useRef(null), { isOpen: g, isMounted: h, setIsOpen: v } = $r({
2159
2159
  isVisible: !o || n,
2160
- elementRef: f
2161
- }), y = typeof a == "function" ? a(b) : a, E = typeof t == "function" ? t(b) : t, $ = () => h(!0), w = () => {
2162
- o && h((g) => !g);
2163
- }, C = (g) => {
2164
- const N = g == null ? void 0 : g.getElementsByTagName("li"), S = N != null && N.length ? [...N].some(
2160
+ elementRef: b
2161
+ }), y = typeof a == "function" ? a(g) : a, E = typeof t == "function" ? t(g) : t, $ = () => v(!0), w = () => {
2162
+ o && v((f) => !f);
2163
+ }, C = (f) => {
2164
+ const N = f == null ? void 0 : f.getElementsByTagName("li"), S = N != null && N.length ? [...N].some(
2165
2165
  (G) => G.getAttribute("data-active") === "true"
2166
2166
  ) : !1;
2167
2167
  i(S);
@@ -2177,7 +2177,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
2177
2177
  "div",
2178
2178
  {
2179
2179
  className: u(ct[`${it}__chevron`], {
2180
- [ct[`${it}__chevron--active`]]: b
2180
+ [ct[`${it}__chevron--active`]]: g
2181
2181
  })
2182
2182
  },
2183
2183
  /* @__PURE__ */ e.createElement(x, { source: La, size: "small" })
@@ -2199,16 +2199,16 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
2199
2199
  ), /* @__PURE__ */ e.createElement(
2200
2200
  "div",
2201
2201
  {
2202
- ref: f,
2202
+ ref: b,
2203
2203
  className: u([
2204
2204
  ct[`${it}__list-wrapper`],
2205
2205
  {
2206
- [ct[`${it}__list-wrapper--expanded`]]: b
2206
+ [ct[`${it}__list-wrapper--expanded`]]: g
2207
2207
  }
2208
2208
  ]),
2209
- style: { maxHeight: b ? s : 0 }
2209
+ style: { maxHeight: g ? s : 0 }
2210
2210
  },
2211
- v && /* @__PURE__ */ e.createElement(
2211
+ h && /* @__PURE__ */ e.createElement(
2212
2212
  "ul",
2213
2213
  {
2214
2214
  className: u(ct[`${it}__list`], r),
@@ -2371,7 +2371,7 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
2371
2371
  },
2372
2372
  "lc-dark-theme"
2373
2373
  ),
2374
- onClick: (f) => !l && d(f, t),
2374
+ onClick: (b) => !l && d(b, t),
2375
2375
  href: _
2376
2376
  }, s),
2377
2377
  r
@@ -2432,14 +2432,14 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
2432
2432
  const c = e.useRef(null), { isMounted: d, isOpen: i } = $r({
2433
2433
  isVisible: n,
2434
2434
  elementRef: c
2435
- }), s = window.matchMedia("(max-width: 768px)").matches, p = a === "warning" ? "link-inverted" : "text", m = a === "warning" ? "secondary" : "high-contrast", f = o || l ? /* @__PURE__ */ e.createElement("div", { className: Ve[`${st}__cta-wrapper`] }, o && /* @__PURE__ */ e.createElement(
2435
+ }), s = window.matchMedia("(max-width: 768px)").matches, p = a === "warning" ? "link-inverted" : "text", m = a === "warning" ? "secondary" : "high-contrast", b = o || l ? /* @__PURE__ */ e.createElement("div", { className: Ve[`${st}__cta-wrapper`] }, o && /* @__PURE__ */ e.createElement(
2436
2436
  W,
2437
2437
  k({
2438
2438
  size: "compact",
2439
2439
  kind: s ? p : m
2440
2440
  }, o),
2441
2441
  o.label
2442
- ), l && /* @__PURE__ */ e.createElement(W, k({ size: "compact", kind: p }, l), l.label)) : null, b = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: Ve[`${st}__children-wrapper`] }, _, f), r && /* @__PURE__ */ e.createElement(
2442
+ ), l && /* @__PURE__ */ e.createElement(W, k({ size: "compact", kind: p }, l), l.label)) : null, g = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: Ve[`${st}__children-wrapper`] }, _, b), r && /* @__PURE__ */ e.createElement(
2443
2443
  "button",
2444
2444
  k({
2445
2445
  className: Ve[`${st}__close-button`]
@@ -2473,7 +2473,7 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
2473
2473
  t
2474
2474
  )
2475
2475
  },
2476
- b
2476
+ g
2477
2477
  )
2478
2478
  ));
2479
2479
  };
@@ -2580,7 +2580,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
2580
2580
  "type",
2581
2581
  "withRim"
2582
2582
  ]);
2583
- const f = d === "image" && !l, [b, v] = e.useState(f), h = d === "image" && !!l && !b, y = d === "text", E = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, $ = rl(c, E), w = ["xxxsmall", "xxsmall", "xsmall", "small"].includes(o), C = r || al(c), g = C ? _l(C) : void 0, N = y ? { backgroundColor: C } : {}, S = u(k({
2583
+ const b = d === "image" && !l, [g, h] = e.useState(b), v = d === "image" && !!l && !g, y = d === "text", E = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, $ = rl(c, E), w = ["xxxsmall", "xxsmall", "xsmall", "small"].includes(o), C = r || al(c), f = C ? _l(C) : void 0, N = y ? { backgroundColor: C } : {}, S = u(k({
2584
2584
  [Ee[_e]]: !0,
2585
2585
  [Ee[`${_e}--${_}`]]: !0,
2586
2586
  [Ee[`${_e}--${o}`]]: !0,
@@ -2596,10 +2596,10 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
2596
2596
  ), I = u(
2597
2597
  Ee[`${_e}__rim`],
2598
2598
  Ee[`${_e}__rim--${o}`]
2599
- ), O = (X) => w ? "2xs" : ["medium"].includes(X) ? "xs" : ["large", "xlarge"].includes(X) ? "sm" : ["xxlarge"].includes(X) ? "lg" : "xl", Y = e.useCallback(() => v(!0), []);
2599
+ ), O = (X) => w ? "2xs" : ["medium"].includes(X) ? "xs" : ["large", "xlarge"].includes(X) ? "sm" : ["xxlarge"].includes(X) ? "lg" : "xl", Y = e.useCallback(() => h(!0), []);
2600
2600
  return e.useEffect(() => {
2601
- v(f);
2602
- }, [f]), /* @__PURE__ */ e.createElement("div", k({ className: S, style: N }, s), i && /* @__PURE__ */ e.createElement(
2601
+ h(b);
2602
+ }, [b]), /* @__PURE__ */ e.createElement("div", k({ className: S, style: N }, s), i && /* @__PURE__ */ e.createElement(
2603
2603
  "div",
2604
2604
  {
2605
2605
  "data-testid": `${_e}__rim`,
@@ -2611,7 +2611,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
2611
2611
  "data-testid": `${_e}__status`,
2612
2612
  className: M
2613
2613
  }
2614
- ), h && /* @__PURE__ */ e.createElement(
2614
+ ), v && /* @__PURE__ */ e.createElement(
2615
2615
  "img",
2616
2616
  {
2617
2617
  className: Ee[`${_e}__image`],
@@ -2624,12 +2624,12 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
2624
2624
  {
2625
2625
  as: "span",
2626
2626
  size: O(o),
2627
- style: { color: g },
2627
+ style: { color: f },
2628
2628
  bold: w,
2629
2629
  uppercase: w
2630
2630
  },
2631
2631
  $
2632
- ), b && /* @__PURE__ */ e.createElement(
2632
+ ), g && /* @__PURE__ */ e.createElement(
2633
2633
  x,
2634
2634
  {
2635
2635
  "data-testid": `${_e}__icon`,
@@ -2657,26 +2657,26 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
2657
2657
  e.useEffect(() => {
2658
2658
  s && i(o);
2659
2659
  }, [o]);
2660
- const p = (f, b) => {
2661
- s || i(f), n(f, b);
2662
- }, m = a.map(({ id: f, label: b, loading: v, disabled: h, icon: y }) => {
2663
- const E = f === d, $ = E ? Na["btn--active"] : "", w = E ? !1 : v;
2660
+ const p = (b, g) => {
2661
+ s || i(b), n(b, g);
2662
+ }, m = a.map(({ id: b, label: g, loading: h, disabled: v, icon: y }) => {
2663
+ const E = b === d, $ = E ? Na["btn--active"] : "", w = E ? !1 : h;
2664
2664
  return /* @__PURE__ */ e.createElement(
2665
2665
  W,
2666
2666
  {
2667
- key: f,
2667
+ key: b,
2668
2668
  fullWidth: l,
2669
2669
  loading: w,
2670
- disabled: h,
2670
+ disabled: v,
2671
2671
  "aria-pressed": E,
2672
2672
  kind: "secondary",
2673
2673
  icon: y,
2674
2674
  className: u(Na.btn, Na[`btn--${t}`], $),
2675
2675
  onClick: (C) => {
2676
- p(f, C);
2676
+ p(b, C);
2677
2677
  }
2678
2678
  },
2679
- b
2679
+ g
2680
2680
  );
2681
2681
  });
2682
2682
  return /* @__PURE__ */ e.createElement("div", { role: "group", className: c }, m);
@@ -2714,7 +2714,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
2714
2714
  "src",
2715
2715
  "title"
2716
2716
  ]);
2717
- const [p, m] = e.useState(!1), f = p ? Oa : Ot, b = p ? "Hide" : "Show more", v = (a == null ? void 0 : a.length) > 0, h = !!l, y = v || h, E = c, $ = n, w = $ ? "" : ye[yl];
2717
+ const [p, m] = e.useState(!1), b = p ? Oa : Ot, g = p ? "Hide" : "Show more", h = (a == null ? void 0 : a.length) > 0, v = !!l, y = h || v, E = c, $ = n, w = $ ? "" : ye[yl];
2718
2718
  return /* @__PURE__ */ e.createElement("div", k({ className: u(ye[na], _) }, d), E && /* @__PURE__ */ e.createElement("div", { className: u(ye[Ma], w) }, $ && /* @__PURE__ */ e.createElement(
2719
2719
  "img",
2720
2720
  {
@@ -2737,27 +2737,27 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
2737
2737
  className: ye[`${na}__expanded-content`]
2738
2738
  },
2739
2739
  l
2740
- ), y && /* @__PURE__ */ e.createElement("div", { className: ye[Sa] }, /* @__PURE__ */ e.createElement("div", { className: ye[`${Sa}__line`] }), /* @__PURE__ */ e.createElement("div", { className: ye[`${Sa}__buttons`] }, v && a.map(
2741
- ({ kind: C, onClick: g, children: N }, S) => /* @__PURE__ */ e.createElement(
2740
+ ), y && /* @__PURE__ */ e.createElement("div", { className: ye[Sa] }, /* @__PURE__ */ e.createElement("div", { className: ye[`${Sa}__line`] }), /* @__PURE__ */ e.createElement("div", { className: ye[`${Sa}__buttons`] }, h && a.map(
2741
+ ({ kind: C, onClick: f, children: N }, S) => /* @__PURE__ */ e.createElement(
2742
2742
  W,
2743
2743
  {
2744
2744
  key: S,
2745
2745
  size: "compact",
2746
2746
  kind: C,
2747
- onClick: g
2747
+ onClick: f
2748
2748
  },
2749
2749
  N
2750
2750
  )
2751
- ), h && /* @__PURE__ */ e.createElement(
2751
+ ), v && /* @__PURE__ */ e.createElement(
2752
2752
  W,
2753
2753
  {
2754
2754
  className: ye[`${Sa}__buttons-expander`],
2755
2755
  kind: "link",
2756
2756
  iconPosition: "right",
2757
- icon: /* @__PURE__ */ e.createElement(x, { source: f }),
2757
+ icon: /* @__PURE__ */ e.createElement(x, { source: b }),
2758
2758
  onClick: () => m(!p)
2759
2759
  },
2760
- b
2760
+ g
2761
2761
  ))));
2762
2762
  }, wl = {
2763
2763
  "field-description": "lc-FieldDescription-module__field-description___IcRDH"
@@ -2855,26 +2855,26 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
2855
2855
  toMonth: p
2856
2856
  } = t, m = () => {
2857
2857
  typeof a == "function" && a();
2858
- }, f = () => {
2859
- typeof _ == "function" && _();
2860
2858
  }, b = () => {
2859
+ typeof _ == "function" && _();
2860
+ }, g = () => {
2861
2861
  if (!s) {
2862
2862
  const E = Rt(i, 12);
2863
2863
  return r(E);
2864
2864
  }
2865
- const h = Math.abs(Ir(i, s)), y = Rt(
2865
+ const v = Math.abs(Ir(i, s)), y = Rt(
2866
2866
  i,
2867
- !Number.isNaN(h) && h > 12 ? 12 : h
2867
+ !Number.isNaN(v) && v > 12 ? 12 : v
2868
2868
  );
2869
2869
  return r(y);
2870
- }, v = () => {
2870
+ }, h = () => {
2871
2871
  if (!p) {
2872
2872
  const E = Tr(i, 12);
2873
2873
  return r(E);
2874
2874
  }
2875
- const h = Math.abs(Ir(p, i)), y = Tr(
2875
+ const v = Math.abs(Ir(p, i)), y = Tr(
2876
2876
  i,
2877
- !Number.isNaN(h) && h > 12 ? 12 : h
2877
+ !Number.isNaN(v) && v > 12 ? 12 : v
2878
2878
  );
2879
2879
  return d === 2 && pr(y, p) ? r(Rt(y, 1)) : r(y);
2880
2880
  };
@@ -2886,7 +2886,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
2886
2886
  [c.navButtonPrev]: !0,
2887
2887
  [c.navButtonInteractionDisabled]: !l
2888
2888
  }),
2889
- onClick: b
2889
+ onClick: g
2890
2890
  },
2891
2891
  /* @__PURE__ */ e.createElement(x, { source: D_, kind: "subtle" })
2892
2892
  ), /* @__PURE__ */ e.createElement(
@@ -2908,7 +2908,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
2908
2908
  [c.navButtonNext]: !0,
2909
2909
  [c.navButtonInteractionDisabled]: !o
2910
2910
  }),
2911
- onClick: f
2911
+ onClick: b
2912
2912
  },
2913
2913
  /* @__PURE__ */ e.createElement(x, { source: La, kind: "subtle" })
2914
2914
  ), /* @__PURE__ */ e.createElement(
@@ -2919,7 +2919,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
2919
2919
  [c.navButtonNext]: !0,
2920
2920
  [c.navButtonInteractionDisabled]: !o
2921
2921
  }),
2922
- onClick: v
2922
+ onClick: h
2923
2923
  },
2924
2924
  /* @__PURE__ */ e.createElement(x, { source: A_, kind: "subtle" })
2925
2925
  )));
@@ -3014,25 +3014,25 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
3014
3014
  "navbarElement",
3015
3015
  "renderDay",
3016
3016
  "innerRef"
3017
- ]), [m, f] = e.useState(o || /* @__PURE__ */ new Date());
3017
+ ]), [m, b] = e.useState(o || /* @__PURE__ */ new Date());
3018
3018
  e.useEffect(() => {
3019
- o && o !== m && f(o);
3019
+ o && o !== m && b(o);
3020
3020
  }, [o, m]), e.useEffect(() => {
3021
- _ && o !== m && (f_(m, { from: l, to: _ }) || f(_));
3021
+ _ && o !== m && (f_(m, { from: l, to: _ }) || b(_));
3022
3022
  }, [o, m, _, l]);
3023
- const b = e.useCallback(
3023
+ const g = e.useCallback(
3024
3024
  (E) => {
3025
3025
  if (t.onMonthChange && E) {
3026
3026
  t.onMonthChange(E);
3027
3027
  return;
3028
3028
  }
3029
- f(E);
3029
+ b(E);
3030
3030
  },
3031
3031
  [o, t.onMonthChange]
3032
3032
  );
3033
- let v = 1;
3034
- (n === 0 || n && n < 7) && (v = n);
3035
- const h = e.useMemo(
3033
+ let h = 1;
3034
+ (n === 0 || n && n < 7) && (h = n);
3035
+ const v = e.useMemo(
3036
3036
  () => Rl(r, a),
3037
3037
  [r, a]
3038
3038
  );
@@ -3043,19 +3043,19 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
3043
3043
  Pl,
3044
3044
  {
3045
3045
  month: m,
3046
- classNames: h,
3046
+ classNames: v,
3047
3047
  numberOfMonths: c,
3048
- onMonthChange: b,
3048
+ onMonthChange: g,
3049
3049
  toMonth: _,
3050
3050
  fromMonth: l
3051
3051
  }
3052
3052
  ),
3053
3053
  ref: s,
3054
- classNames: h,
3054
+ classNames: v,
3055
3055
  numberOfMonths: c,
3056
3056
  toMonth: _,
3057
3057
  fromMonth: l,
3058
- firstDayOfWeek: v,
3058
+ firstDayOfWeek: h,
3059
3059
  month: m,
3060
3060
  renderDay: i || Ml
3061
3061
  }, p)
@@ -3156,113 +3156,113 @@ const Gl = (t) => {
3156
3156
  payload: { date: _ }
3157
3157
  });
3158
3158
  }, [_]), Ft(() => {
3159
- const v = b_(
3159
+ const h = b_(
3160
3160
  r,
3161
3161
  _,
3162
3162
  o
3163
3163
  );
3164
3164
  i({
3165
3165
  type: Z.CURRENT_MONTH_CHANGE,
3166
- payload: { date: v }
3166
+ payload: { date: h }
3167
3167
  });
3168
3168
  }, [o, r, _]), Ft(() => {
3169
- const { from: v, selectedItem: h, to: y } = d;
3170
- if (!(v && y))
3169
+ const { from: h, selectedItem: v, to: y } = d;
3170
+ if (!(h && y))
3171
3171
  return;
3172
- const E = oa(h, t);
3172
+ const E = oa(v, t);
3173
3173
  E && (l == null || l(T(k({}, E), {
3174
3174
  value: {
3175
- from: v,
3175
+ from: h,
3176
3176
  to: y
3177
3177
  }
3178
3178
  })));
3179
3179
  }, [d.from, d.to, d.selectedItem, t, l]), Ft(() => {
3180
- const { selectedItem: v } = d;
3181
- if (v === c.current)
3180
+ const { selectedItem: h } = d;
3181
+ if (h === c.current)
3182
3182
  return;
3183
- if (!v) {
3183
+ if (!h) {
3184
3184
  l(null);
3185
3185
  return;
3186
3186
  }
3187
- if (!oa(v, t))
3187
+ if (!oa(h, t))
3188
3188
  return;
3189
3189
  const y = t.reduce(
3190
3190
  (E, $) => T(k({}, E), { [$.id]: $ }),
3191
3191
  {}
3192
3192
  );
3193
- l(y[v]);
3193
+ l(y[h]);
3194
3194
  }, [l, d.selectedItem, t]);
3195
3195
  const s = ka(
3196
- (v) => {
3197
- const h = o ? wr(o, v) >= 0 : !0;
3198
- !zr(d.from, d.to) && h && i({
3196
+ (h) => {
3197
+ const v = o ? wr(o, h) >= 0 : !0;
3198
+ !zr(d.from, d.to) && v && i({
3199
3199
  type: Z.NEW_TEMPORARY_TO_VALUE,
3200
- payload: { date: v }
3200
+ payload: { date: h }
3201
3201
  });
3202
3202
  },
3203
3203
  [o, d.from, d.to]
3204
3204
  ), p = ka(
3205
- (v) => {
3206
- const { from: h, to: y } = d;
3207
- f_(v, { to: o }) && (zr(h, y) ? i({
3205
+ (h) => {
3206
+ const { from: v, to: y } = d;
3207
+ f_(h, { to: o }) && (zr(v, y) ? i({
3208
3208
  type: Z.SELECT_FIRST_DAY,
3209
- payload: { date: v }
3210
- }) : h && gr(v, h) || h && fr(v, h) ? i({
3209
+ payload: { date: h }
3210
+ }) : v && gr(h, v) || v && fr(h, v) ? i({
3211
3211
  type: Z.SELECT_SECOND_DAY_AS_TO,
3212
- payload: { date: v }
3212
+ payload: { date: h }
3213
3213
  }) : i({
3214
3214
  type: Z.SELECT_SECOND_DAY_AS_FROM,
3215
- payload: { date: v }
3215
+ payload: { date: h }
3216
3216
  }));
3217
3217
  },
3218
3218
  [o, d.from, d.to]
3219
3219
  ), m = ka(
3220
- (v) => {
3221
- if (v === null) {
3220
+ (h) => {
3221
+ if (h === null) {
3222
3222
  i({
3223
3223
  type: Z.NEW_SELECTED_ITEM,
3224
3224
  payload: { selectedItem: null }
3225
3225
  });
3226
3226
  return;
3227
3227
  }
3228
- oa(v, t) && i({
3228
+ oa(h, t) && i({
3229
3229
  type: Z.NEW_SELECTED_ITEM,
3230
- payload: { selectedItem: v }
3230
+ payload: { selectedItem: h }
3231
3231
  });
3232
3232
  },
3233
3233
  [t]
3234
- ), f = ka((v) => {
3234
+ ), b = ka((h) => {
3235
3235
  i({
3236
3236
  type: Z.CURRENT_MONTH_CHANGE,
3237
- payload: { date: v }
3237
+ payload: { date: h }
3238
3238
  });
3239
3239
  }, []);
3240
3240
  return n((() => {
3241
- const { currentMonth: v, from: h, selectedItem: y, temporaryTo: E, to: $ } = d, w = Ea(
3242
- () => Al(h, E),
3243
- [h, E]
3244
- ), C = Ea(() => oa(y, t), [t, y]), g = Ea(() => [h, { from: h, to: E }], [h, E]), N = Ea(() => o ? { after: o } : void 0, [o]);
3241
+ const { currentMonth: h, from: v, selectedItem: y, temporaryTo: E, to: $ } = d, w = Ea(
3242
+ () => Al(v, E),
3243
+ [v, E]
3244
+ ), C = Ea(() => oa(y, t), [t, y]), f = Ea(() => [v, { from: v, to: E }], [v, E]), N = Ea(() => o ? { after: o } : void 0, [o]);
3245
3245
  return {
3246
3246
  select: {
3247
3247
  onItemSelect: m,
3248
3248
  selected: y || ""
3249
3249
  },
3250
3250
  inputs: {
3251
- fromDate: h,
3251
+ fromDate: v,
3252
3252
  toDate: $
3253
3253
  },
3254
3254
  datepicker: {
3255
3255
  range: !0,
3256
- month: v,
3256
+ month: h,
3257
3257
  numberOfMonths: 2,
3258
3258
  onDayClick: p,
3259
- selectedDays: g,
3259
+ selectedDays: f,
3260
3260
  modifiers: w,
3261
3261
  initialMonth: o && Rt(o, 1),
3262
3262
  toMonth: o,
3263
3263
  disabledDays: N,
3264
3264
  onDayMouseEnter: s,
3265
- onMonthChange: f
3265
+ onMonthChange: b
3266
3266
  },
3267
3267
  selectedOption: C
3268
3268
  };
@@ -3320,35 +3320,35 @@ const ci = (t) => {
3320
3320
  hideLabelOnOpen: d,
3321
3321
  onClick: i
3322
3322
  }) => {
3323
- const [s, p] = e.useState(c), [m, f] = e.useState(0), b = e.useRef(null), v = u(
3323
+ const [s, p] = e.useState(c), [m, b] = e.useState(0), g = e.useRef(null), h = u(
3324
3324
  H[z],
3325
3325
  l && H[`${z}--with-divider`],
3326
3326
  a
3327
- ), h = d && s, y = typeof o == "string", E = (w) => {
3327
+ ), v = d && s, y = typeof o == "string", E = (w) => {
3328
3328
  p((C) => !C), w.currentTarget.blur(), i == null || i(w);
3329
3329
  }, $ = (w) => {
3330
- const g = w.target.tagName.toLowerCase();
3331
- Hl.includes(g) || (p((N) => !N), i == null || i(w));
3330
+ const f = w.target.tagName.toLowerCase();
3331
+ Hl.includes(f) || (p((N) => !N), i == null || i(w));
3332
3332
  };
3333
3333
  return e.useEffect(() => {
3334
3334
  const w = !!window.IntersectionObserver;
3335
- if (b.current && w) {
3335
+ if (g.current && w) {
3336
3336
  const C = new ResizeObserver(() => {
3337
- b.current && m !== b.current.offsetHeight && f(b.current.offsetHeight);
3337
+ g.current && m !== g.current.offsetHeight && b(g.current.offsetHeight);
3338
3338
  });
3339
- return C.observe(b.current), () => C.disconnect();
3339
+ return C.observe(g.current), () => C.disconnect();
3340
3340
  }
3341
- }, [b]), /* @__PURE__ */ e.createElement("div", { className: v }, /* @__PURE__ */ e.createElement(
3341
+ }, [g]), /* @__PURE__ */ e.createElement("div", { className: h }, /* @__PURE__ */ e.createElement(
3342
3342
  "div",
3343
3343
  {
3344
3344
  className: u(
3345
3345
  H[`${z}__label-wrapper`],
3346
3346
  d && H[`${z}__label-wrapper--fading`],
3347
- h && H[`${z}__label-wrapper--hide`],
3347
+ v && H[`${z}__label-wrapper--hide`],
3348
3348
  s && H[`${z}__label-wrapper--open`]
3349
3349
  ),
3350
3350
  "aria-expanded": s,
3351
- "aria-hidden": h,
3351
+ "aria-hidden": v,
3352
3352
  "data-testid": "details-card-label",
3353
3353
  onClick: $
3354
3354
  },
@@ -3408,7 +3408,7 @@ const ci = (t) => {
3408
3408
  /* @__PURE__ */ e.createElement(
3409
3409
  "div",
3410
3410
  {
3411
- ref: b,
3411
+ ref: g,
3412
3412
  className: u(
3413
3413
  H[`${z}__content`],
3414
3414
  n && H[`${z}__content--full-space`],
@@ -3527,8 +3527,8 @@ const ci = (t) => {
3527
3527
  l
3528
3528
  );
3529
3529
  return e.useEffect(() => {
3530
- const f = i;
3531
- return t && f.current ? p(`${f.current.clientHeight}px`) : p("auto");
3530
+ const b = i;
3531
+ return t && b.current ? p(`${b.current.clientHeight}px`) : p("auto");
3532
3532
  }), /* @__PURE__ */ e.createElement("div", { className: m }, d && t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
3533
3533
  B,
3534
3534
  {
@@ -3686,7 +3686,7 @@ const ci = (t) => {
3686
3686
  ]);
3687
3687
  const s = e.useRef(null);
3688
3688
  e.useImperativeHandle(c, () => s.current, []);
3689
- const [p, m] = e.useState(!1), [f, b] = e.useState(!1), { type: v, onFocus: h, onBlur: y } = n, E = u(
3689
+ const [p, m] = e.useState(!1), [b, g] = e.useState(!1), { type: h, onFocus: v, onBlur: y } = n, E = u(
3690
3690
  o,
3691
3691
  Le[Oe],
3692
3692
  Le[`${Oe}--${t}`],
@@ -3697,7 +3697,7 @@ const ci = (t) => {
3697
3697
  [Le[`${Oe}--crop`]]: l,
3698
3698
  [Le[`${Oe}--read-only`]]: n.readOnly
3699
3699
  }
3700
- ), $ = r ? "var(--content-disabled)" : "var(--content-default)", w = f ? F_ : R_, C = _ && _.place === "left", g = _ && v !== "password" && _.place === "right", N = () => {
3700
+ ), $ = r ? "var(--content-disabled)" : "var(--content-default)", w = b ? F_ : R_, C = _ && _.place === "left", f = _ && h !== "password" && _.place === "right", N = () => {
3701
3701
  var S;
3702
3702
  (S = s.current) == null || S.focus();
3703
3703
  };
@@ -3716,24 +3716,24 @@ const ci = (t) => {
3716
3716
  T(k({}, n), {
3717
3717
  ref: s,
3718
3718
  onFocus: (S) => {
3719
- m(!0), h == null || h(S);
3719
+ m(!0), v == null || v(S);
3720
3720
  },
3721
3721
  onBlur: (S) => {
3722
3722
  m(!1), y == null || y(S);
3723
3723
  },
3724
3724
  disabled: r,
3725
- type: v && !f ? v : "text"
3725
+ type: h && !b ? h : "text"
3726
3726
  })
3727
3727
  ),
3728
- g && Yr(_, r),
3729
- v === "password" && /* @__PURE__ */ e.createElement(
3728
+ f && Yr(_, r),
3729
+ h === "password" && /* @__PURE__ */ e.createElement(
3730
3730
  W,
3731
3731
  {
3732
3732
  disabled: r,
3733
3733
  kind: "text",
3734
3734
  size: "compact",
3735
3735
  icon: /* @__PURE__ */ e.createElement(x, { customColor: $, source: w }),
3736
- onClick: () => b((S) => !S),
3736
+ onClick: () => g((S) => !S),
3737
3737
  className: Le[`${Oe}__visibility-button`]
3738
3738
  }
3739
3739
  )
@@ -3802,8 +3802,8 @@ const ci = (t) => {
3802
3802
  e.useEffect(() => {
3803
3803
  if (!_)
3804
3804
  return;
3805
- const m = (f) => {
3806
- f.key === de.esc && r();
3805
+ const m = (b) => {
3806
+ b.key === de.esc && r();
3807
3807
  };
3808
3808
  return document.addEventListener("keyup", m, !0), () => document.removeEventListener("keyup", m, !0);
3809
3809
  }, [_]);
@@ -3869,8 +3869,8 @@ const ci = (t) => {
3869
3869
  "onClose",
3870
3870
  "contentClassName"
3871
3871
  ]);
3872
- const p = u(se[dt], a), m = typeof t == "string", f = (b) => {
3873
- b.preventDefault(), b.stopPropagation(), n();
3872
+ const p = u(se[dt], a), m = typeof t == "string", b = (g) => {
3873
+ g.preventDefault(), g.stopPropagation(), n();
3874
3874
  };
3875
3875
  return /* @__PURE__ */ e.createElement(
3876
3876
  en,
@@ -3893,7 +3893,7 @@ const ci = (t) => {
3893
3893
  {
3894
3894
  labelType: !!_,
3895
3895
  customColor: "var(--color-white)",
3896
- onClick: f
3896
+ onClick: b
3897
3897
  }
3898
3898
  )),
3899
3899
  !_ && /* @__PURE__ */ e.createElement(
@@ -3912,7 +3912,7 @@ const ci = (t) => {
3912
3912
  },
3913
3913
  r
3914
3914
  ),
3915
- /* @__PURE__ */ e.createElement(Xr, { onClick: f })
3915
+ /* @__PURE__ */ e.createElement(Xr, { onClick: b })
3916
3916
  ),
3917
3917
  /* @__PURE__ */ e.createElement(
3918
3918
  "div",
@@ -4028,7 +4028,7 @@ const ci = (t) => {
4028
4028
  "style",
4029
4029
  "onChange"
4030
4030
  ]);
4031
- const m = e.useRef(null), f = u(
4031
+ const m = e.useRef(null), b = u(
4032
4032
  Pt[At],
4033
4033
  {
4034
4034
  [Pt[`${At}--error`]]: a,
@@ -4036,29 +4036,29 @@ const ci = (t) => {
4036
4036
  [Pt[`${At}--disabled`]]: l
4037
4037
  },
4038
4038
  t
4039
- ), b = (g) => d(String(g)), v = (g) => _ !== void 0 && g > _ ? _ : o !== void 0 && g < o ? o : g, h = (g) => {
4040
- const N = parseInt(r, 10) + g;
4041
- return b(v(N));
4042
- }, y = (g) => {
4043
- g.key === de.arrowDown && (g.preventDefault(), h(-1)), g.key === de.arrowUp && (g.preventDefault(), h(1));
4044
- }, E = (g, N) => N !== void 0 && parseInt(g, 10) === N, $ = (g) => {
4045
- g.preventDefault(), g.stopPropagation();
4046
- const N = g.currentTarget.value.replace(
4039
+ ), g = (f) => d(String(f)), h = (f) => _ !== void 0 && f > _ ? _ : o !== void 0 && f < o ? o : f, v = (f) => {
4040
+ const N = parseInt(r, 10) + f;
4041
+ return g(h(N));
4042
+ }, y = (f) => {
4043
+ f.key === de.arrowDown && (f.preventDefault(), v(-1)), f.key === de.arrowUp && (f.preventDefault(), v(1));
4044
+ }, E = (f, N) => N !== void 0 && parseInt(f, 10) === N, $ = (f) => {
4045
+ f.preventDefault(), f.stopPropagation();
4046
+ const N = f.currentTarget.value.replace(
4047
4047
  /((?!([-]|([-]?\d+))).)/,
4048
4048
  ""
4049
4049
  );
4050
4050
  if (N === "" || N === "-")
4051
- return b(N);
4051
+ return g(N);
4052
4052
  const S = parseInt(N, 10);
4053
- return b(v(S));
4053
+ return g(h(S));
4054
4054
  }, w = () => {
4055
- var g;
4056
- return (g = m.current) == null || g.focus(), h(1);
4055
+ var f;
4056
+ return (f = m.current) == null || f.focus(), v(1);
4057
4057
  }, C = () => {
4058
- var g;
4059
- return (g = m.current) == null || g.focus(), h(-1);
4058
+ var f;
4059
+ return (f = m.current) == null || f.focus(), v(-1);
4060
4060
  };
4061
- return /* @__PURE__ */ e.createElement("div", { className: f, style: c }, /* @__PURE__ */ e.createElement(
4061
+ return /* @__PURE__ */ e.createElement("div", { className: b, style: c }, /* @__PURE__ */ e.createElement(
4062
4062
  "input",
4063
4063
  T(k({
4064
4064
  type: "text",
@@ -4135,20 +4135,20 @@ const ci = (t) => {
4135
4135
  onClick: c,
4136
4136
  cta: d
4137
4137
  }) => {
4138
- const i = e.useRef(null), s = e.useRef(null), [p, m] = e.useState(0), f = e.useRef(p);
4138
+ const i = e.useRef(null), s = e.useRef(null), [p, m] = e.useState(0), b = e.useRef(p);
4139
4139
  return e.useEffect(() => {
4140
4140
  a && i.current && i.current.focus();
4141
4141
  }, [a]), e.useEffect(() => {
4142
- const b = !!window.ResizeObserver;
4143
- if (s.current && b) {
4144
- const v = new ResizeObserver((h) => {
4145
- const y = h[0];
4142
+ const g = !!window.ResizeObserver;
4143
+ if (s.current && g) {
4144
+ const h = new ResizeObserver((v) => {
4145
+ const y = v[0];
4146
4146
  if (!y)
4147
4147
  return;
4148
4148
  const E = y.contentRect.height + tn;
4149
- f.current !== E && (m(E), f.current = E);
4149
+ b.current !== E && (m(E), b.current = E);
4150
4150
  });
4151
- return v.observe(s.current), () => v.disconnect();
4151
+ return h.observe(s.current), () => h.disconnect();
4152
4152
  }
4153
4153
  }, [s]), /* @__PURE__ */ e.createElement(
4154
4154
  "div",
@@ -4251,16 +4251,16 @@ const ci = (t) => {
4251
4251
  className: i
4252
4252
  }) => {
4253
4253
  var $;
4254
- const [s, p] = e.useState(c), [m, f] = e.useState(!c), [b, v] = e.useState(void 0), h = e.useRef(null), y = d.height || 96, E = () => {
4255
- f((w) => !w);
4254
+ const [s, p] = e.useState(c), [m, b] = e.useState(!c), [g, h] = e.useState(void 0), v = e.useRef(null), y = d.height || 96, E = () => {
4255
+ b((w) => !w);
4256
4256
  };
4257
4257
  return e.useEffect(() => {
4258
- const w = d.delay || 1500, C = h.current;
4258
+ const w = d.delay || 1500, C = v.current;
4259
4259
  if (c && C) {
4260
- const g = C.offsetHeight;
4261
- v(g);
4260
+ const f = C.offsetHeight;
4261
+ h(f);
4262
4262
  const N = setTimeout(() => {
4263
- p(!0), f(!1);
4263
+ p(!0), b(!1);
4264
4264
  }, w);
4265
4265
  return () => {
4266
4266
  clearTimeout(N);
@@ -4269,7 +4269,7 @@ const ci = (t) => {
4269
4269
  }, [c]), /* @__PURE__ */ e.createElement(
4270
4270
  "div",
4271
4271
  {
4272
- ref: h,
4272
+ ref: v,
4273
4273
  className: u(
4274
4274
  Q[ee],
4275
4275
  {
@@ -4278,7 +4278,7 @@ const ci = (t) => {
4278
4278
  i
4279
4279
  ),
4280
4280
  style: {
4281
- height: !s || m ? b : y
4281
+ height: !s || m ? g : y
4282
4282
  }
4283
4283
  },
4284
4284
  m && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: Q[`${ee}__column`] }, /* @__PURE__ */ e.createElement("div", { className: Q[`${ee}__header`] }, _ && /* @__PURE__ */ e.createElement(
@@ -4508,13 +4508,13 @@ const Mt = "select-all", ln = (t, a) => {
4508
4508
  getFloatingProps: s,
4509
4509
  getItemProps: p,
4510
4510
  emptyStateText: m = "No results found",
4511
- pickerType: f = "single",
4512
- listClassName: b,
4513
- virtuosoProps: v
4511
+ pickerType: b = "single",
4512
+ listClassName: g,
4513
+ virtuosoProps: h
4514
4514
  }) => {
4515
- const [h, y] = e.useState(0), E = o.length, $ = e.useCallback(
4515
+ const [v, y] = e.useState(0), E = o.length, $ = e.useCallback(
4516
4516
  (C) => {
4517
- C !== h && (C < _ ? y(C + (E - 1) * rn) : y(_));
4517
+ C !== v && (C < _ ? y(C + (E - 1) * rn) : y(_));
4518
4518
  },
4519
4519
  [E]
4520
4520
  );
@@ -4538,7 +4538,7 @@ const Mt = "select-all", ln = (t, a) => {
4538
4538
  "data-testid": "picker-list",
4539
4539
  ref: a,
4540
4540
  tabIndex: -1,
4541
- className: u(Qt.listbox, b),
4541
+ className: u(Qt.listbox, g),
4542
4542
  style: T(k({}, r), {
4543
4543
  maxHeight: _
4544
4544
  })
@@ -4547,7 +4547,7 @@ const Mt = "select-all", ln = (t, a) => {
4547
4547
  "div",
4548
4548
  k({
4549
4549
  tabIndex: 0,
4550
- "aria-multiselectable": f === "multi",
4550
+ "aria-multiselectable": b === "multi",
4551
4551
  className: Qt["listbox-wrapper"]
4552
4552
  }, s({
4553
4553
  onKeyDown(C) {
@@ -4564,21 +4564,21 @@ const Mt = "select-all", ln = (t, a) => {
4564
4564
  lo,
4565
4565
  T(k({
4566
4566
  totalListHeightChanged: $,
4567
- style: { height: `${h}px`, maxHeight: _ },
4567
+ style: { height: `${v}px`, maxHeight: _ },
4568
4568
  totalCount: o.length,
4569
4569
  data: o,
4570
4570
  increaseViewportBy: 200
4571
- }, v), {
4572
- itemContent: (C, g) => /* @__PURE__ */ e.createElement(
4571
+ }, h), {
4572
+ itemContent: (C, f) => /* @__PURE__ */ e.createElement(
4573
4573
  nn,
4574
4574
  {
4575
4575
  index: C,
4576
4576
  getItemProps: p,
4577
4577
  listElementsRef: c,
4578
4578
  isActive: l === C,
4579
- isSelected: w(g.key),
4579
+ isSelected: w(f.key),
4580
4580
  onSelect: i,
4581
- item: g,
4581
+ item: f,
4582
4582
  numberOfItems: E
4583
4583
  }
4584
4584
  )
@@ -4618,9 +4618,9 @@ const Mt = "select-all", ln = (t, a) => {
4618
4618
  isError: s,
4619
4619
  onClear: p,
4620
4620
  children: m,
4621
- setTriggerFocus: f
4621
+ setTriggerFocus: b
4622
4622
  }) => {
4623
- const b = u(
4623
+ const g = u(
4624
4624
  be[ie],
4625
4625
  be[`${ie}--${_}`],
4626
4626
  o && be[`${ie}--multi-select`],
@@ -4628,24 +4628,24 @@ const Mt = "select-all", ln = (t, a) => {
4628
4628
  c && be[`${ie}--disabled`],
4629
4629
  i && be[`${ie}--focused`],
4630
4630
  s && be[`${ie}--error`]
4631
- ), v = !n && l && !c && !d, h = (y) => {
4631
+ ), h = !n && l && !c && !d, v = (y) => {
4632
4632
  y.stopPropagation(), p();
4633
4633
  };
4634
4634
  return e.useEffect(() => {
4635
- i || f(!1);
4635
+ i || b(!1);
4636
4636
  }, [i]), /* @__PURE__ */ e.createElement(
4637
4637
  "button",
4638
4638
  T(k({
4639
4639
  tabIndex: c ? -1 : 0,
4640
4640
  "aria-disabled": c,
4641
4641
  disabled: c,
4642
- className: b,
4642
+ className: g,
4643
4643
  "data-testid": r,
4644
4644
  ref: t,
4645
4645
  type: "button"
4646
4646
  }, a()), {
4647
- onFocus: () => f(!0),
4648
- onBlur: () => f(!1)
4647
+ onFocus: () => b(!0),
4648
+ onBlur: () => b(!1)
4649
4649
  }),
4650
4650
  /* @__PURE__ */ e.createElement(
4651
4651
  B,
@@ -4667,12 +4667,12 @@ const Mt = "select-all", ln = (t, a) => {
4667
4667
  be[`${ie}__controls--${_}`]
4668
4668
  )
4669
4669
  },
4670
- v && /* @__PURE__ */ e.createElement(
4670
+ h && /* @__PURE__ */ e.createElement(
4671
4671
  "div",
4672
4672
  {
4673
4673
  "data-testid": `${ie}__clear-icon`,
4674
4674
  className: be[`${ie}__clear-icon`],
4675
- onClick: h
4675
+ onClick: v
4676
4676
  },
4677
4677
  /* @__PURE__ */ e.createElement(x, { kind: "primary", size: "small", source: Ie })
4678
4678
  ),
@@ -4721,8 +4721,8 @@ const Mt = "select-all", ln = (t, a) => {
4721
4721
  "tag__remove--hover": "lc-Tag-module__tag__remove--hover___2ROEU",
4722
4722
  tag__node: pn,
4723
4723
  tag__content: gn
4724
- }, Ce = "tag", fn = (t) => t ? yr(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", h_ = (v) => {
4725
- var h = v, {
4724
+ }, Ce = "tag", fn = (t) => t ? yr(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", h_ = (h) => {
4725
+ var v = h, {
4726
4726
  className: t = "",
4727
4727
  children: a,
4728
4728
  dismissible: r = !1,
@@ -4736,8 +4736,8 @@ const Mt = "select-all", ln = (t, a) => {
4736
4736
  rightNode: s,
4737
4737
  customColor: p,
4738
4738
  iconOnly: m = !1,
4739
- value: f
4740
- } = h, b = D(h, [
4739
+ value: b
4740
+ } = v, g = D(v, [
4741
4741
  "className",
4742
4742
  "children",
4743
4743
  "dismissible",
@@ -4770,7 +4770,7 @@ const Mt = "select-all", ln = (t, a) => {
4770
4770
  color: p,
4771
4771
  borderColor: p
4772
4772
  }
4773
- } : { style: { backgroundColor: p } } : {}, g = () => {
4773
+ } : { style: { backgroundColor: p } } : {}, f = () => {
4774
4774
  if (p)
4775
4775
  return d ? p : yr(p, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
4776
4776
  };
@@ -4778,7 +4778,7 @@ const Mt = "select-all", ln = (t, a) => {
4778
4778
  B,
4779
4779
  T(k(k({
4780
4780
  className: E
4781
- }, b), C()), {
4781
+ }, g), C()), {
4782
4782
  as: "div",
4783
4783
  size: w
4784
4784
  }),
@@ -4787,15 +4787,15 @@ const Mt = "select-all", ln = (t, a) => {
4787
4787
  {
4788
4788
  "data-testid": "lc-tag-left-node",
4789
4789
  className: we[`${Ce}__node`],
4790
- style: { color: g() }
4790
+ style: { color: f() }
4791
4791
  },
4792
4792
  i
4793
- ), /* @__PURE__ */ e.createElement("div", { className: we[`${Ce}__content`] }, f || a), s && !m && /* @__PURE__ */ e.createElement(
4793
+ ), /* @__PURE__ */ e.createElement("div", { className: we[`${Ce}__content`] }, b || a), s && !m && /* @__PURE__ */ e.createElement(
4794
4794
  "div",
4795
4795
  {
4796
4796
  "data-testid": "lc-tag-right-node",
4797
4797
  className: we[`${Ce}__node`],
4798
- style: { color: g() }
4798
+ style: { color: f() }
4799
4799
  },
4800
4800
  s
4801
4801
  )),
@@ -4817,7 +4817,7 @@ const Mt = "select-all", ln = (t, a) => {
4817
4817
  "data-dismiss-icon": !0,
4818
4818
  source: Ie,
4819
4819
  size: $,
4820
- customColor: g()
4820
+ customColor: f()
4821
4821
  }
4822
4822
  )
4823
4823
  )
@@ -4854,38 +4854,38 @@ const Mt = "select-all", ln = (t, a) => {
4854
4854
  onFilter: s,
4855
4855
  onClear: p,
4856
4856
  searchPhrase: m,
4857
- virtualItemRef: f,
4858
- isTriggerFocused: b,
4859
- inputRef: v
4857
+ virtualItemRef: b,
4858
+ isTriggerFocused: g,
4859
+ inputRef: h
4860
4860
  }) => {
4861
- const h = t && !a;
4861
+ const v = t && !a;
4862
4862
  e.useEffect(() => {
4863
- n && v != null && v.current && v.current.focus();
4863
+ n && h != null && h.current && h.current.focus();
4864
4864
  }, [o, n]);
4865
- const y = (g) => {
4866
- g.key === "Backspace" && o && o.length > 0 && (g.preventDefault(), l === "multi" ? d(o[o.length - 1].key) : p()), g.key === "Delete" && (g.preventDefault(), p());
4865
+ const y = (f) => {
4866
+ f.key === "Backspace" && o && o.length > 0 && (f.preventDefault(), l === "multi" ? d(o[o.length - 1].key) : p()), f.key === "Delete" && (f.preventDefault(), p());
4867
4867
  };
4868
- e.useEffect(() => (!t && b ? document.addEventListener("keydown", y) : document.removeEventListener("keydown", y), () => document.removeEventListener("keydown", y)), [t, o, b]);
4869
- const E = (g) => l === "single" && t && !a ? null : g != null && g.customElement ? /* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item`] }, g.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item`] }, g.icon && /* @__PURE__ */ e.createElement(
4868
+ e.useEffect(() => (!t && g ? document.addEventListener("keydown", y) : document.removeEventListener("keydown", y), () => document.removeEventListener("keydown", y)), [t, o, g]);
4869
+ const E = (f) => l === "single" && t && !a ? null : f != null && f.customElement ? /* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item`] }, f.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item`] }, f.icon && /* @__PURE__ */ e.createElement(
4870
4870
  x,
4871
4871
  {
4872
- source: g.icon,
4872
+ source: f.icon,
4873
4873
  className: he[`${ve}__item__icon`]
4874
4874
  }
4875
- ), g.avatarSrc && /* @__PURE__ */ e.createElement(
4875
+ ), f.avatarSrc && /* @__PURE__ */ e.createElement(
4876
4876
  "img",
4877
4877
  {
4878
- src: g.avatarSrc,
4878
+ src: f.avatarSrc,
4879
4879
  alt: "",
4880
4880
  className: he[`${ve}__item__avatar`]
4881
4881
  }
4882
- ), /* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item__content`] }, g.name)), $ = (g) => s(g.target.value), w = (g) => {
4882
+ ), /* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item__content`] }, f.name)), $ = (f) => s(f.target.value), w = (f) => {
4883
4883
  var N, S;
4884
- (N = f.current) != null && N.id && g.key === "Enter" && i((S = f.current) == null ? void 0 : S.id), l === "multi" && (g.key === "Backspace" || g.key === "Delete") && !m && o && (o == null ? void 0 : o.length) > 0 && d(o[o.length - 1].key);
4884
+ (N = b.current) != null && N.id && f.key === "Enter" && i((S = b.current) == null ? void 0 : S.id), l === "multi" && (f.key === "Backspace" || f.key === "Delete") && !m && o && (o == null ? void 0 : o.length) > 0 && d(o[o.length - 1].key);
4885
4885
  }, C = () => /* @__PURE__ */ e.createElement(
4886
4886
  "input",
4887
4887
  {
4888
- ref: v,
4888
+ ref: h,
4889
4889
  className: u(
4890
4890
  he[`${ve}__input`],
4891
4891
  he[`${ve}__input--${c}`]
@@ -4897,7 +4897,7 @@ const Mt = "select-all", ln = (t, a) => {
4897
4897
  value: m
4898
4898
  }
4899
4899
  );
4900
- return !o || o.length === 0 ? h ? C() : /* @__PURE__ */ e.createElement(
4900
+ return !o || o.length === 0 ? v ? C() : /* @__PURE__ */ e.createElement(
4901
4901
  "div",
4902
4902
  {
4903
4903
  className: u({
@@ -4913,22 +4913,22 @@ const Mt = "select-all", ln = (t, a) => {
4913
4913
  [he[`${ve}--single`]]: l === "single"
4914
4914
  })
4915
4915
  },
4916
- /* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item-container`] }, l === "single" ? E(o[0]) : o.map((g) => /* @__PURE__ */ e.createElement(
4916
+ /* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item-container`] }, l === "single" ? E(o[0]) : o.map((f) => /* @__PURE__ */ e.createElement(
4917
4917
  h_,
4918
4918
  {
4919
- key: g.key,
4919
+ key: f.key,
4920
4920
  className: u(
4921
4921
  he[`${ve}__tag`],
4922
4922
  he[`${ve}__tag--${c}`]
4923
4923
  ),
4924
4924
  disabled: r,
4925
4925
  onRemove: (N) => {
4926
- N.stopPropagation(), d(g.key);
4926
+ N.stopPropagation(), d(f.key);
4927
4927
  }
4928
4928
  },
4929
- E(g)
4929
+ E(f)
4930
4930
  ))),
4931
- h && C()
4931
+ v && C()
4932
4932
  );
4933
4933
  }, hn = 10, vn = ({
4934
4934
  disabled: t,
@@ -4943,11 +4943,11 @@ const Mt = "select-all", ln = (t, a) => {
4943
4943
  onVisibilityChange: i,
4944
4944
  searchPhrase: s
4945
4945
  }) => {
4946
- const p = sa(), [m, f] = e.useState(!1), [b, v] = e.useState(null), [h, y] = e.useState(o), E = e.useRef([]), $ = e.useRef(null);
4946
+ const p = sa(), [m, b] = e.useState(!1), [g, h] = e.useState(null), [v, y] = e.useState(o), E = e.useRef([]), $ = e.useRef(null);
4947
4947
  e.useEffect(() => {
4948
- $.current = null, v(null);
4948
+ $.current = null, h(null);
4949
4949
  }, [s]);
4950
- const { refs: w, floatingStyles: C, context: g, isPositioned: N } = da({
4950
+ const { refs: w, floatingStyles: C, context: f, isPositioned: N } = da({
4951
4951
  nodeId: p,
4952
4952
  open: d,
4953
4953
  strategy: l,
@@ -4974,15 +4974,15 @@ const Mt = "select-all", ln = (t, a) => {
4974
4974
  padding: hn
4975
4975
  })
4976
4976
  ]
4977
- }), S = pa(g, k({
4977
+ }), S = pa(f, k({
4978
4978
  enabled: !t,
4979
4979
  keyboardHandlers: !1,
4980
4980
  toggle: !1
4981
- }, c)), M = fa(g, { role: "listbox" }), G = ga(g, n), I = ao(g, {
4981
+ }, c)), M = fa(f, { role: "listbox" }), G = ga(f, n), I = ao(f, {
4982
4982
  enabled: a.length > 0 && !t,
4983
4983
  listRef: E,
4984
- activeIndex: b,
4985
- onNavigate: v,
4984
+ activeIndex: g,
4985
+ onNavigate: h,
4986
4986
  virtual: !0,
4987
4987
  virtualItemRef: $,
4988
4988
  disabledIndices: ln(
@@ -4992,22 +4992,22 @@ const Mt = "select-all", ln = (t, a) => {
4992
4992
  }), { getReferenceProps: O, getFloatingProps: Y, getItemProps: X } = ba(
4993
4993
  [S, G, M, I]
4994
4994
  );
4995
- return !d && m && f(!1), {
4995
+ return !d && m && b(!1), {
4996
4996
  getReferenceProps: O,
4997
4997
  getFloatingProps: Y,
4998
4998
  getItemProps: X,
4999
4999
  setReference: w.setReference,
5000
5000
  floatingStyles: C,
5001
5001
  isPositioned: N,
5002
- context: g,
5002
+ context: f,
5003
5003
  nodeId: p,
5004
5004
  setFloating: w.setFloating,
5005
- activeIndex: b,
5005
+ activeIndex: g,
5006
5006
  listElementsRef: E,
5007
5007
  virtualItemRef: $,
5008
- maxHeight: h,
5008
+ maxHeight: v,
5009
5009
  pointer: m,
5010
- setPointer: f
5010
+ setPointer: b
5011
5011
  };
5012
5012
  }, kn = ({
5013
5013
  selected: t,
@@ -5021,18 +5021,18 @@ const Mt = "select-all", ln = (t, a) => {
5021
5021
  }) => {
5022
5022
  const [d, i] = e.useState(
5023
5023
  () => (t == null ? void 0 : t.map(lr)) || []
5024
- ), s = t !== void 0, p = s ? (t == null ? void 0 : t.map(lr)) || [] : d, [m, f] = e.useState(""), b = (w) => f(w), v = (w) => $(w), h = () => {
5025
- !s && i([]), o(null), f(""), l(!1);
5024
+ ), s = t !== void 0, p = s ? (t == null ? void 0 : t.map(lr)) || [] : d, [m, b] = e.useState(""), g = (w) => b(w), h = (w) => $(w), v = () => {
5025
+ !s && i([]), o(null), b(""), l(!1);
5026
5026
  }, y = () => {
5027
- b(""), c.current && (c.current.value = "");
5027
+ g(""), c.current && (c.current.value = "");
5028
5028
  }, E = e.useMemo(() => {
5029
5029
  const w = r === "multi" && _;
5030
5030
  let C = a;
5031
- return m && (C = C.filter((g) => {
5031
+ return m && (C = C.filter((f) => {
5032
5032
  var G;
5033
- if (g.groupHeader)
5033
+ if (f.groupHeader)
5034
5034
  return !1;
5035
- const N = m.toLowerCase(), S = g.name.toLowerCase(), M = (G = g.secondaryText) == null ? void 0 : G.toLowerCase();
5035
+ const N = m.toLowerCase(), S = f.name.toLowerCase(), M = (G = f.secondaryText) == null ? void 0 : G.toLowerCase();
5036
5036
  return S.includes(N) || (M == null ? void 0 : M.includes(N));
5037
5037
  })), w && C.length > 1 && (C = [
5038
5038
  {
@@ -5042,22 +5042,22 @@ const Mt = "select-all", ln = (t, a) => {
5042
5042
  ...C
5043
5043
  ]), C;
5044
5044
  }, [m, a, r, _]), $ = (w) => {
5045
- const C = a.find((g) => g.key === w);
5045
+ const C = a.find((f) => f.key === w);
5046
5046
  if (!((!C || C.disabled) && w !== Mt))
5047
5047
  if (r === "single")
5048
5048
  i(() => (C && o([C]), [w])), l(!1);
5049
5049
  else if (w === Mt)
5050
5050
  p.length === br(a).length ? i(() => (o(null), [])) : i(() => {
5051
- const g = br(a);
5052
- return o(g), g.map(({ key: N }) => N);
5051
+ const f = br(a);
5052
+ return o(f), f.map(({ key: N }) => N);
5053
5053
  });
5054
5054
  else {
5055
5055
  if (s) {
5056
- const g = (t == null ? void 0 : t.map(lr)) || [], N = Jr(g, w);
5056
+ const f = (t == null ? void 0 : t.map(lr)) || [], N = Jr(f, w);
5057
5057
  o(a.filter(({ key: S }) => N.includes(S)));
5058
5058
  } else
5059
- i((g) => {
5060
- const N = Jr(g, w);
5059
+ i((f) => {
5060
+ const N = Jr(f, w);
5061
5061
  return o(a.filter(({ key: S }) => N.includes(S))), N;
5062
5062
  });
5063
5063
  n && y();
@@ -5068,9 +5068,9 @@ const Mt = "select-all", ln = (t, a) => {
5068
5068
  items: E,
5069
5069
  searchPhrase: m,
5070
5070
  handleSelect: $,
5071
- handleOnFilter: b,
5072
- handleItemRemove: v,
5073
- handleClear: h
5071
+ handleOnFilter: g,
5072
+ handleItemRemove: h,
5073
+ handleClear: v
5074
5074
  };
5075
5075
  }, En = {
5076
5076
  "picker-wrapper": "lc-Picker-module__picker-wrapper___2EDne"
@@ -5089,16 +5089,16 @@ const Mt = "select-all", ln = (t, a) => {
5089
5089
  placeholder: s = "Select option",
5090
5090
  isRequired: p,
5091
5091
  noSearchResultText: m = "No results found",
5092
- selectAllOptionText: f,
5093
- type: b = "single",
5094
- searchDisabled: v = !1,
5095
- hideClearButton: h,
5092
+ selectAllOptionText: b,
5093
+ type: g = "single",
5094
+ searchDisabled: h = !1,
5095
+ hideClearButton: v,
5096
5096
  isVisible: y,
5097
5097
  onOpen: E,
5098
5098
  onClose: $,
5099
5099
  openedOnInit: w = !1,
5100
5100
  clearSearchAfterSelection: C = !0,
5101
- onSelect: g,
5101
+ onSelect: f,
5102
5102
  placement: N,
5103
5103
  floatingStrategy: S,
5104
5104
  useDismissHookProps: M,
@@ -5147,9 +5147,9 @@ const Mt = "select-all", ln = (t, a) => {
5147
5147
  } = kn({
5148
5148
  selected: d,
5149
5149
  options: c,
5150
- type: b,
5151
- selectAllOptionText: f,
5152
- onSelect: g,
5150
+ type: g,
5151
+ selectAllOptionText: b,
5152
+ onSelect: f,
5153
5153
  setOpen: ft,
5154
5154
  clearSearchAfterSelection: C,
5155
5155
  inputRef: $t
@@ -5190,11 +5190,11 @@ const Mt = "select-all", ln = (t, a) => {
5190
5190
  isItemSelected: Nt.length > 0,
5191
5191
  isOpen: Ne,
5192
5192
  onClear: P,
5193
- hideClearButton: h,
5193
+ hideClearButton: v,
5194
5194
  isDisabled: l,
5195
5195
  isError: n,
5196
5196
  isRequired: p,
5197
- isMultiSelect: b === "multi",
5197
+ isMultiSelect: g === "multi",
5198
5198
  size: i,
5199
5199
  setTriggerFocus: Ke
5200
5200
  },
@@ -5202,11 +5202,11 @@ const Mt = "select-all", ln = (t, a) => {
5202
5202
  bn,
5203
5203
  {
5204
5204
  isOpen: Ne,
5205
- isSearchDisabled: v,
5205
+ isSearchDisabled: h,
5206
5206
  isDisabled: l,
5207
5207
  placeholder: s,
5208
5208
  selectedItems: d,
5209
- type: b,
5209
+ type: g,
5210
5210
  size: i,
5211
5211
  clearSearchAfterSelection: C,
5212
5212
  inputRef: $t,
@@ -5222,7 +5222,7 @@ const Mt = "select-all", ln = (t, a) => {
5222
5222
  ), /* @__PURE__ */ e.createElement(ha, { id: ue }, Ne && /* @__PURE__ */ e.createElement(o_, null, /* @__PURE__ */ e.createElement(
5223
5223
  sn,
5224
5224
  {
5225
- pickerType: b,
5225
+ pickerType: g,
5226
5226
  options: bt,
5227
5227
  listClassName: r,
5228
5228
  context: V,
@@ -5256,20 +5256,20 @@ const Mt = "select-all", ln = (t, a) => {
5256
5256
  openedOnInit: s,
5257
5257
  closeOnEsc: p = !0,
5258
5258
  useDismissHookProps: m,
5259
- useClickHookProps: f,
5260
- floatingStrategy: b
5259
+ useClickHookProps: b,
5260
+ floatingStrategy: g
5261
5261
  }) => {
5262
- const [v, h] = e.useState(s), y = Ga(), E = sa(), $ = i !== void 0, w = $ ? i : v, C = typeof _ == "string", g = typeof t == "function", N = (Ke, Ue) => {
5263
- Ke ? r == null || r(Ue) : a == null || a(Ue), !$ && h(Ke);
5262
+ const [h, v] = e.useState(s), y = Ga(), E = sa(), $ = i !== void 0, w = $ ? i : h, C = typeof _ == "string", f = typeof t == "function", N = (Ke, Ue) => {
5263
+ Ke ? r == null || r(Ue) : a == null || a(Ue), !$ && v(Ke);
5264
5264
  }, { refs: S, context: M, floatingStyles: G } = da({
5265
5265
  nodeId: E,
5266
5266
  open: w,
5267
5267
  onOpenChange: N,
5268
5268
  middleware: [ua(d), Ua(c), Er()],
5269
5269
  placement: n,
5270
- strategy: b,
5270
+ strategy: g,
5271
5271
  whileElementsMounted: ma
5272
- }), I = pa(M, f), O = ga(M, k({
5272
+ }), I = pa(M, b), O = ga(M, k({
5273
5273
  escapeKey: p
5274
5274
  }, m)), Y = fa(M), { getReferenceProps: X, getFloatingProps: L } = ba([
5275
5275
  I,
@@ -5283,7 +5283,7 @@ const Mt = "select-all", ln = (t, a) => {
5283
5283
  }, X()), {
5284
5284
  className: l
5285
5285
  }),
5286
- g ? t() : t
5286
+ f ? t() : t
5287
5287
  ), /* @__PURE__ */ e.createElement(ha, { id: E }, w && /* @__PURE__ */ e.createElement(mr, { context: M, modal: !1 }, /* @__PURE__ */ e.createElement(
5288
5288
  "div",
5289
5289
  k({
@@ -5396,14 +5396,17 @@ const Be = {
5396
5396
  nameAdornment: p
5397
5397
  },
5398
5398
  onClick: m,
5399
- isActive: f = !1
5399
+ isActive: b = !1
5400
5400
  }) => /* @__PURE__ */ e.createElement(e.Fragment, null, c && /* @__PURE__ */ e.createElement("div", { className: Qe[`${et}__divider`] }), /* @__PURE__ */ e.createElement(
5401
5401
  "a",
5402
5402
  {
5403
5403
  href: n,
5404
5404
  target: "_blank",
5405
5405
  "aria-label": `Go to ${l} product`,
5406
- onClick: (b) => m(b, t),
5406
+ onClick: (g) => {
5407
+ var h;
5408
+ g.preventDefault(), m(g, t), (h = window.open(n, "_blank")) == null || h.focus();
5409
+ },
5407
5410
  className: u(Qe[et], {
5408
5411
  [Qe[`${et}--expired`]]: i
5409
5412
  })
@@ -5416,7 +5419,7 @@ const Be = {
5416
5419
  expired: i,
5417
5420
  backgroundColors: _,
5418
5421
  notificationCount: o,
5419
- withBorder: f
5422
+ withBorder: b
5420
5423
  }
5421
5424
  ), /* @__PURE__ */ e.createElement(B, { as: "div", bold: !0, className: Qe[`${et}__name`] }, l, i && /* @__PURE__ */ e.createElement(
5422
5425
  Lt,
@@ -5469,19 +5472,19 @@ const Be = {
5469
5472
  }) => {
5470
5473
  const [d, i] = e.useState(r), [s, p] = I_(
5471
5474
  !1
5472
- ), m = Ga(), f = sa(), b = _ !== void 0, v = b ? _ : d, h = (L, U) => {
5473
- L ? o == null || o(U) : l == null || l(U), !b && i(L);
5475
+ ), m = Ga(), b = sa(), g = _ !== void 0, h = g ? _ : d, v = (L, U) => {
5476
+ L ? o == null || o(U) : l == null || l(U), !g && i(L);
5474
5477
  }, { refs: y, context: E, floatingStyles: $ } = da({
5475
- nodeId: f,
5478
+ nodeId: b,
5476
5479
  strategy: "fixed",
5477
5480
  placement: "right-start",
5478
- open: v,
5481
+ open: h,
5479
5482
  onOpenChange: (L, U) => {
5480
- p(!1), h(L, U);
5483
+ p(!1), v(L, U);
5481
5484
  },
5482
5485
  middleware: [ua({ mainAxis: 5 })],
5483
5486
  whileElementsMounted: ma
5484
- }), w = pa(E), C = fa(E), g = ga(E), { isMounted: N, styles: S } = kr(E, {
5487
+ }), w = pa(E), C = fa(E), f = ga(E), { isMounted: N, styles: S } = kr(E, {
5485
5488
  duration: 200,
5486
5489
  common: {
5487
5490
  transformOrigin: "left top"
@@ -5492,7 +5495,7 @@ const Be = {
5492
5495
  }
5493
5496
  }), { getReferenceProps: M, getFloatingProps: G } = ba([
5494
5497
  w,
5495
- g,
5498
+ f,
5496
5499
  C
5497
5500
  ]), I = t.find(
5498
5501
  (L) => L.id === a
@@ -5513,7 +5516,7 @@ const Be = {
5513
5516
  offsetCrossAxis: 2,
5514
5517
  arrowOffsetY: 2,
5515
5518
  offsetMainAxis: 10,
5516
- className: ea[`${ta}__tooltip`],
5519
+ className: u(ea[`${ta}__tooltip`], "lc-dark-theme"),
5517
5520
  placement: "right",
5518
5521
  floatingStrategy: "fixed",
5519
5522
  triggerRenderer: /* @__PURE__ */ e.createElement(
@@ -5528,7 +5531,7 @@ const Be = {
5528
5531
  )
5529
5532
  },
5530
5533
  "Switch product"
5531
- )), /* @__PURE__ */ e.createElement(ha, { id: f }, /* @__PURE__ */ e.createElement(
5534
+ )), /* @__PURE__ */ e.createElement(ha, { id: b }, /* @__PURE__ */ e.createElement(
5532
5535
  "div",
5533
5536
  k({
5534
5537
  ref: y.setFloating,
@@ -5555,7 +5558,7 @@ const Be = {
5555
5558
  href: c,
5556
5559
  target: "_blank",
5557
5560
  className: ea[`${ta}__footer-link`],
5558
- onClick: () => h(!1)
5561
+ onClick: () => v(!1)
5559
5562
  },
5560
5563
  /* @__PURE__ */ e.createElement(B, { noMargin: !0 }, "powered by"),
5561
5564
  /* @__PURE__ */ e.createElement(
@@ -5868,10 +5871,10 @@ const aa = {
5868
5871
  [aa[`${ra}--${t}`]]: t
5869
5872
  },
5870
5873
  r
5871
- ), m = 2 * Math.PI * ((s - i) / 2), f = {
5874
+ ), m = 2 * Math.PI * ((s - i) / 2), b = {
5872
5875
  strokeDasharray: m.toFixed(3),
5873
5876
  strokeDashoffset: `${((100 - d) / 100 * m).toFixed(3)}px`
5874
- }, b = `${s / 2} ${s / 2} ${s} ${s}`;
5877
+ }, g = `${s / 2} ${s / 2} ${s} ${s}`;
5875
5878
  return /* @__PURE__ */ e.createElement(
5876
5879
  "div",
5877
5880
  k({
@@ -5879,7 +5882,7 @@ const aa = {
5879
5882
  ref: l,
5880
5883
  role: "progressbar"
5881
5884
  }, o),
5882
- /* @__PURE__ */ e.createElement("svg", { viewBox: b }, /* @__PURE__ */ e.createElement(
5885
+ /* @__PURE__ */ e.createElement("svg", { viewBox: g }, /* @__PURE__ */ e.createElement(
5883
5886
  "circle",
5884
5887
  {
5885
5888
  className: aa[`${ra}__bg-line--${t}`],
@@ -5893,7 +5896,7 @@ const aa = {
5893
5896
  "circle",
5894
5897
  {
5895
5898
  className: aa[`${ra}__indicator--${t}`],
5896
- style: f,
5899
+ style: b,
5897
5900
  cx: s,
5898
5901
  cy: s,
5899
5902
  r: (s - i) / 2,
@@ -5975,7 +5978,7 @@ const aa = {
5975
5978
  onClose: d,
5976
5979
  onLinkClick: i
5977
5980
  }) => {
5978
- const s = e.useRef(null), [p, m] = e.useState("medium"), f = u(
5981
+ const s = e.useRef(null), [p, m] = e.useState("medium"), b = u(
5979
5982
  Ae[Fe],
5980
5983
  {
5981
5984
  [Ae[`${Fe}--light`]]: l,
@@ -5985,15 +5988,15 @@ const aa = {
5985
5988
  t
5986
5989
  );
5987
5990
  e.useEffect(() => {
5988
- const v = () => s.current && s.current.offsetWidth <= Un ? m("small") : s.current && s.current.offsetWidth >= Hn ? m("large") : m("medium"), h = n_(
5989
- v,
5991
+ const h = () => s.current && s.current.offsetWidth <= Un ? m("small") : s.current && s.current.offsetWidth >= Hn ? m("large") : m("medium"), v = n_(
5992
+ h,
5990
5993
  zn
5991
5994
  );
5992
- return window.addEventListener("resize", h), v(), () => {
5993
- h.cancel(), window.removeEventListener("resize", h);
5995
+ return window.addEventListener("resize", v), h(), () => {
5996
+ v.cancel(), window.removeEventListener("resize", v);
5994
5997
  };
5995
5998
  }, []);
5996
- const b = /* @__PURE__ */ e.createElement("div", { className: Ae[`${Fe}__footer`] }, a && /* @__PURE__ */ e.createElement(
5999
+ const g = /* @__PURE__ */ e.createElement("div", { className: Ae[`${Fe}__footer`] }, a && /* @__PURE__ */ e.createElement(
5997
6000
  W,
5998
6001
  {
5999
6002
  kind: "primary",
@@ -6003,7 +6006,7 @@ const aa = {
6003
6006
  },
6004
6007
  a
6005
6008
  ), n && /* @__PURE__ */ e.createElement(W, { size: "compact", kind: "text", onClick: i }, n));
6006
- return /* @__PURE__ */ e.createElement("div", { ref: s, className: f }, /* @__PURE__ */ e.createElement("div", { className: Ae[`${Fe}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: Ae[`${Fe}__img`] }), /* @__PURE__ */ e.createElement("div", { className: Ae[`${Fe}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: Ae[`${Fe}__header`] }, _), /* @__PURE__ */ e.createElement(B, { as: "div" }, r), p !== "large" && b), p === "large" && b), d && /* @__PURE__ */ e.createElement(
6009
+ return /* @__PURE__ */ e.createElement("div", { ref: s, className: b }, /* @__PURE__ */ e.createElement("div", { className: Ae[`${Fe}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: Ae[`${Fe}__img`] }), /* @__PURE__ */ e.createElement("div", { className: Ae[`${Fe}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: Ae[`${Fe}__header`] }, _), /* @__PURE__ */ e.createElement(B, { as: "div" }, r), p !== "large" && g), p === "large" && g), d && /* @__PURE__ */ e.createElement(
6007
6010
  "button",
6008
6011
  {
6009
6012
  type: "button",
@@ -6141,7 +6144,7 @@ const aa = {
6141
6144
  cropOnBlur: c = !0,
6142
6145
  onChange: d
6143
6146
  }) => {
6144
- const [i, s] = e.useState(!0), [p, m] = e.useState(!1), f = e.useRef(null), b = !!l && !a && !r, v = t && !i && "true", h = u(
6147
+ const [i, s] = e.useState(!0), [p, m] = e.useState(!1), b = e.useRef(null), g = !!l && !a && !r, h = t && !i && "true", v = u(
6145
6148
  n,
6146
6149
  Re[We],
6147
6150
  Re[`${We}--${o}`],
@@ -6160,20 +6163,20 @@ const aa = {
6160
6163
  d("");
6161
6164
  }, $ = () => {
6162
6165
  var N;
6163
- (N = f.current) == null || N.focus();
6166
+ (N = b.current) == null || N.focus();
6164
6167
  }, w = () => {
6165
6168
  t && s(!1), m(!0);
6166
6169
  }, C = () => {
6167
6170
  t && !l && s(!0), m(!1);
6168
- }, g = (N) => {
6171
+ }, f = (N) => {
6169
6172
  N.key === de.enter && (N.preventDefault(), d(l));
6170
6173
  };
6171
6174
  return /* @__PURE__ */ e.createElement(
6172
6175
  "div",
6173
6176
  {
6174
- "aria-expanded": v,
6177
+ "aria-expanded": h,
6175
6178
  role: "search",
6176
- className: h,
6179
+ className: v,
6177
6180
  onClick: $
6178
6181
  },
6179
6182
  /* @__PURE__ */ e.createElement(
@@ -6198,19 +6201,19 @@ const aa = {
6198
6201
  "input",
6199
6202
  {
6200
6203
  role: "searchbox",
6201
- ref: f,
6204
+ ref: b,
6202
6205
  type: "text",
6203
6206
  value: l,
6204
6207
  placeholder: _,
6205
6208
  onChange: y,
6206
6209
  onBlur: C,
6207
6210
  onFocus: w,
6208
- onKeyDown: g,
6211
+ onKeyDown: f,
6209
6212
  disabled: a
6210
6213
  }
6211
6214
  )
6212
6215
  ),
6213
- b && /* @__PURE__ */ e.createElement(
6216
+ g && /* @__PURE__ */ e.createElement(
6214
6217
  W,
6215
6218
  {
6216
6219
  "aria-label": "Clear search",
@@ -6372,17 +6375,17 @@ const aa = {
6372
6375
  "innerRef",
6373
6376
  "ariaLabel"
6374
6377
  ]);
6375
- const f = o !== void 0, [b, v] = e.useState(
6376
- () => f ? o : a
6377
- ), [h, y] = e.useState(!1), E = f ? o : b, $ = c === "loading", w = c === "locked", C = n === "large" ? "small" : "xsmall", g = E ? "on" : "off", N = r || $ || w, S = N ? "disabled" : "enabled", M = u(
6378
+ const b = o !== void 0, [g, h] = e.useState(
6379
+ () => b ? o : a
6380
+ ), [v, y] = e.useState(!1), E = b ? o : g, $ = c === "loading", w = c === "locked", C = n === "large" ? "small" : "xsmall", f = E ? "on" : "off", N = r || $ || w, S = N ? "disabled" : "enabled", M = u(
6378
6381
  ae[te],
6379
6382
  ae[`${te}--${n}`],
6380
6383
  {
6381
- [ae[`${te}--focused`]]: h
6384
+ [ae[`${te}--focused`]]: v
6382
6385
  },
6383
6386
  t
6384
6387
  ), G = (I) => {
6385
- l == null || l(I, !E), f || (I.stopPropagation(), v((O) => !O));
6388
+ l == null || l(I, !E), b || (I.stopPropagation(), h((O) => !O));
6386
6389
  };
6387
6390
  return /* @__PURE__ */ e.createElement("span", { className: M }, /* @__PURE__ */ e.createElement(
6388
6391
  "input",
@@ -6406,7 +6409,7 @@ const aa = {
6406
6409
  "span",
6407
6410
  {
6408
6411
  className: u(ae[`${te}__container`], {
6409
- [ae[`${te}__container--focused`]]: h
6412
+ [ae[`${te}__container--focused`]]: v
6410
6413
  })
6411
6414
  },
6412
6415
  /* @__PURE__ */ e.createElement(
@@ -6414,7 +6417,7 @@ const aa = {
6414
6417
  {
6415
6418
  className: u(
6416
6419
  ae[`${te}__track`],
6417
- ae[`${te}__track--${g}`],
6420
+ ae[`${te}__track--${f}`],
6418
6421
  ae[`${te}__track--${S}`]
6419
6422
  )
6420
6423
  }
@@ -6426,7 +6429,7 @@ const aa = {
6426
6429
  ae[`${te}__slider`],
6427
6430
  ae[`${te}__slider--${S}`],
6428
6431
  ae[`${te}__slider--${n}`],
6429
- ae[`${te}__slider--${n}--${g}`]
6432
+ ae[`${te}__slider--${n}--${f}`]
6430
6433
  )
6431
6434
  },
6432
6435
  $ && /* @__PURE__ */ e.createElement(
@@ -6533,29 +6536,29 @@ const aa = {
6533
6536
  value: l
6534
6537
  }) => {
6535
6538
  const [n, c] = e.useState(!1), d = () => a.current, i = () => {
6536
- const b = d();
6537
- return b ? b.innerText : "";
6539
+ const g = d();
6540
+ return g ? g.innerText : "";
6538
6541
  }, s = () => {
6539
6542
  r && r.current && r.current.focus();
6540
- }, p = (b) => {
6541
- if (b.key === de.enter) {
6542
- b.preventDefault(), s();
6543
+ }, p = (g) => {
6544
+ if (g.key === de.enter) {
6545
+ g.preventDefault(), s();
6543
6546
  return;
6544
6547
  }
6545
- b.key === de.backspace && i() === "" && (c(!0), o(), s());
6548
+ g.key === de.backspace && i() === "" && (c(!0), o(), s());
6546
6549
  }, m = () => {
6547
- const b = d();
6548
- if (!(n || !b)) {
6549
- if (b.innerText === "") {
6550
+ const g = d();
6551
+ if (!(n || !g)) {
6552
+ if (g.innerText === "") {
6550
6553
  o();
6551
6554
  return;
6552
6555
  }
6553
- _(b.innerText);
6556
+ _(g.innerText);
6554
6557
  }
6555
- }, f = (b) => {
6556
- b.preventDefault();
6557
- const v = b.clipboardData.getData("text/plain");
6558
- document.execCommand("insertHTML", !1, Dr(v));
6558
+ }, b = (g) => {
6559
+ g.preventDefault();
6560
+ const h = g.clipboardData.getData("text/plain");
6561
+ document.execCommand("insertHTML", !1, Dr(h));
6559
6562
  };
6560
6563
  return /* @__PURE__ */ e.createElement(
6561
6564
  "div",
@@ -6563,7 +6566,7 @@ const aa = {
6563
6566
  ref: a,
6564
6567
  className: t,
6565
6568
  contentEditable: !0,
6566
- onPaste: f,
6569
+ onPaste: b,
6567
6570
  onBlur: m,
6568
6571
  onKeyDown: p,
6569
6572
  dangerouslySetInnerHTML: { __html: Dr(l) }
@@ -6599,7 +6602,7 @@ const aa = {
6599
6602
  de.semicolon,
6600
6603
  de.comma
6601
6604
  ], lc = [de.backspace, de.delete], nc = (m) => {
6602
- var f = m, {
6605
+ var b = m, {
6603
6606
  id: t,
6604
6607
  tags: a,
6605
6608
  onChange: r,
@@ -6611,7 +6614,7 @@ const aa = {
6611
6614
  inputClassName: d,
6612
6615
  onBlur: i,
6613
6616
  addOnBlur: s = !0
6614
- } = f, p = D(f, [
6617
+ } = b, p = D(b, [
6615
6618
  "id",
6616
6619
  "tags",
6617
6620
  "onChange",
@@ -6624,33 +6627,33 @@ const aa = {
6624
6627
  "onBlur",
6625
6628
  "addOnBlur"
6626
6629
  ]);
6627
- const b = u(
6630
+ const g = u(
6628
6631
  la[Da],
6629
6632
  {
6630
6633
  [la[`${Da}--error`]]: o
6631
6634
  },
6632
6635
  c
6633
- ), v = u(
6636
+ ), h = u(
6634
6637
  d,
6635
6638
  la[`${Da}__input`],
6636
6639
  la[`${Da}__input--${n}`]
6637
- ), [h, y] = e.useState(""), E = e.useRef(null), $ = (I) => {
6640
+ ), [v, y] = e.useState(""), E = e.useRef(null), $ = (I) => {
6638
6641
  I.trim() !== "" && (r([...a || [], I]), y(""));
6639
6642
  }, w = (I) => {
6640
6643
  const O = [...a || []];
6641
6644
  O.splice(I, 1), r(O);
6642
- }, C = (I) => y(I.target.value), g = (I) => {
6645
+ }, C = (I) => y(I.target.value), f = (I) => {
6643
6646
  if (oc.includes(I.key)) {
6644
- if (I.preventDefault(), h === "")
6647
+ if (I.preventDefault(), v === "")
6645
6648
  return;
6646
- $(h);
6649
+ $(v);
6647
6650
  } else if (lc.includes(I.key)) {
6648
- if (h !== "" || !(a != null && a.length))
6651
+ if (v !== "" || !(a != null && a.length))
6649
6652
  return;
6650
6653
  w(a.length - 1);
6651
6654
  }
6652
6655
  }, N = (I) => {
6653
- s && $(h), i == null || i(I);
6656
+ s && $(v), i == null || i(I);
6654
6657
  }, S = (I, O) => {
6655
6658
  const Y = [...a || []];
6656
6659
  Y.reduce(
@@ -6687,16 +6690,16 @@ const aa = {
6687
6690
  },
6688
6691
  I.value || I.children
6689
6692
  );
6690
- return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(B, { as: "div", className: b }, a == null ? void 0 : a.map(G), /* @__PURE__ */ e.createElement(
6693
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(B, { as: "div", className: g }, a == null ? void 0 : a.map(G), /* @__PURE__ */ e.createElement(
6691
6694
  "input",
6692
6695
  T(k({}, p), {
6693
6696
  id: t,
6694
6697
  ref: E,
6695
- className: v,
6698
+ className: h,
6696
6699
  placeholder: l,
6697
- value: h,
6700
+ value: v,
6698
6701
  onChange: C,
6699
- onKeyDown: g,
6702
+ onKeyDown: f,
6700
6703
  onPaste: M,
6701
6704
  onBlur: N
6702
6705
  })
@@ -6812,7 +6815,7 @@ const aa = {
6812
6815
  },
6813
6816
  t
6814
6817
  );
6815
- return /* @__PURE__ */ e.createElement("div", { className: c }, /* @__PURE__ */ e.createElement(c_, { component: null }, a.map(({ id: d, kind: i, content: s, removable: p, action: m, onClose: f }) => /* @__PURE__ */ e.createElement(
6818
+ return /* @__PURE__ */ e.createElement("div", { className: c }, /* @__PURE__ */ e.createElement(c_, { component: null }, a.map(({ id: d, kind: i, content: s, removable: p, action: m, onClose: b }) => /* @__PURE__ */ e.createElement(
6816
6819
  i_,
6817
6820
  {
6818
6821
  key: d,
@@ -6828,7 +6831,7 @@ const aa = {
6828
6831
  fc,
6829
6832
  {
6830
6833
  kind: i,
6831
- onClose: f,
6834
+ onClose: b,
6832
6835
  removable: p,
6833
6836
  action: m
6834
6837
  },
@@ -6847,16 +6850,16 @@ const aa = {
6847
6850
  [Pa[`${Aa}--disabled`]]: n,
6848
6851
  [Pa[`${Aa}--focused`]]: i,
6849
6852
  [Pa[`${Aa}--error`]]: a
6850
- }), m = (b) => {
6851
- s(!1), c == null || c(b);
6852
- }, f = (b) => {
6853
- s(!0), d == null || d(b);
6853
+ }), m = (g) => {
6854
+ s(!1), c == null || c(g);
6855
+ }, b = (g) => {
6856
+ s(!0), d == null || d(g);
6854
6857
  };
6855
6858
  return /* @__PURE__ */ e.createElement(B, { as: "div", className: p }, /* @__PURE__ */ e.createElement(
6856
6859
  "textarea",
6857
6860
  T(k({}, r), {
6858
6861
  ref: _,
6859
- onFocus: f,
6862
+ onFocus: b,
6860
6863
  onBlur: m
6861
6864
  })
6862
6865
  ));
@@ -7014,14 +7017,14 @@ const aa = {
7014
7017
  onCloseButtonClick: s,
7015
7018
  onRetryButtonClick: p
7016
7019
  }) => {
7017
- const [m, f] = e.useState(o || !1), b = n === "error", v = n === "success", h = u(K[ke], a, {
7018
- [K[`${ke}--error`]]: b,
7019
- [K[`${ke}--success`]]: v
7020
- }), y = !(b && (p || s)), E = () => f(!m);
7021
- return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: h }, /* @__PURE__ */ e.createElement("div", { className: K[`${ke}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement(
7020
+ const [m, b] = e.useState(o || !1), g = n === "error", h = n === "success", v = u(K[ke], a, {
7021
+ [K[`${ke}--error`]]: g,
7022
+ [K[`${ke}--success`]]: h
7023
+ }), y = !(g && (p || s)), E = () => b(!m);
7024
+ return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: v }, /* @__PURE__ */ e.createElement("div", { className: K[`${ke}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement(
7022
7025
  Ec,
7023
7026
  {
7024
- title: b && l || _,
7027
+ title: g && l || _,
7025
7028
  progressValue: r,
7026
7029
  status: n,
7027
7030
  icon: c,
@@ -7034,13 +7037,13 @@ const aa = {
7034
7037
  onCloseButtonClick: s,
7035
7038
  onRetryButtonClick: p
7036
7039
  }
7037
- ))) : /* @__PURE__ */ e.createElement("div", { className: h }, /* @__PURE__ */ e.createElement(
7040
+ ))) : /* @__PURE__ */ e.createElement("div", { className: v }, /* @__PURE__ */ e.createElement(
7038
7041
  "div",
7039
7042
  {
7040
7043
  className: K[`${ke}__wrapper`],
7041
7044
  onClick: E
7042
7045
  },
7043
- /* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}__icon`] }, wc(n, r)), /* @__PURE__ */ e.createElement("div", { className: K[`${ot}__title`] }, /* @__PURE__ */ e.createElement(B, { size: "sm", as: "div" }, b ? l : _)), y && /* @__PURE__ */ e.createElement(
7046
+ /* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}__icon`] }, wc(n, r)), /* @__PURE__ */ e.createElement("div", { className: K[`${ot}__title`] }, /* @__PURE__ */ e.createElement(B, { size: "sm", as: "div" }, g ? l : _)), y && /* @__PURE__ */ e.createElement(
7044
7047
  "button",
7045
7048
  {
7046
7049
  className: K[`${ot}__collapse-button`],