@livechat/design-system-react-components 2.2.0 → 2.2.1

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.js CHANGED
@@ -774,8 +774,8 @@ const qc = (e) => e === "dark" ? Ot.Dark : Ot.Light, Po = s_(void 0), jc = () =>
774
774
  className: d,
775
775
  customColor: c,
776
776
  textAlign: s,
777
- noMargin: g
778
- } = m, p = F(m, [
777
+ noMargin: p
778
+ } = m, g = F(m, [
779
779
  "as",
780
780
  "size",
781
781
  "caps",
@@ -800,12 +800,12 @@ const qc = (e) => e === "dark" ? Ot.Dark : Ot.Light, Po = s_(void 0), jc = () =>
800
800
  [Ze[`${b}--strike`]]: i,
801
801
  [Ze[`${b}--underline`]]: n,
802
802
  [Ze[`${b}--uppercase`]]: o || r,
803
- [Ze[`${b}--no-margin`]]: g
803
+ [Ze[`${b}--no-margin`]]: p
804
804
  },
805
805
  d
806
806
  ),
807
807
  style: k(k({}, c && { color: c }), s && { textAlign: s })
808
- }, p),
808
+ }, g),
809
809
  l
810
810
  );
811
811
  }, es = (d) => {
@@ -879,10 +879,10 @@ const qc = (e) => e === "dark" ? Ot.Dark : Ot.Light, Po = s_(void 0), jc = () =>
879
879
  }
880
880
  );
881
881
  return h.useEffect(() => {
882
- const g = r ? o.current : _.current;
883
- if (g) {
884
- const p = g.getBoundingClientRect().height;
885
- i(p);
882
+ const p = r ? o.current : _.current;
883
+ if (p) {
884
+ const g = p.getBoundingClientRect().height;
885
+ i(g);
886
886
  }
887
887
  }, [r, d, s]), /* @__PURE__ */ f(
888
888
  "div",
@@ -935,7 +935,7 @@ const qc = (e) => e === "dark" ? Ot.Dark : Ot.Light, Po = s_(void 0), jc = () =>
935
935
  accordion__content__inner: cn,
936
936
  "accordion__content__inner--open": "lc-Accordion-module__accordion__content__inner--open___BhKjm"
937
937
  }, ut = "accordion", ts = (s) => {
938
- var g = s, {
938
+ var p = s, {
939
939
  className: e,
940
940
  children: t,
941
941
  label: r,
@@ -945,7 +945,7 @@ const qc = (e) => e === "dark" ? Ot.Dark : Ot.Light, Po = s_(void 0), jc = () =>
945
945
  isOpen: i,
946
946
  onClose: l,
947
947
  onOpen: d
948
- } = g, c = F(g, [
948
+ } = p, c = F(p, [
949
949
  "className",
950
950
  "children",
951
951
  "label",
@@ -956,7 +956,7 @@ const qc = (e) => e === "dark" ? Ot.Dark : Ot.Light, Po = s_(void 0), jc = () =>
956
956
  "onClose",
957
957
  "onOpen"
958
958
  ]);
959
- const p = i !== void 0, v = p ? i : n, m = h.useRef(null), {
959
+ const g = i !== void 0, v = g ? i : n, m = h.useRef(null), {
960
960
  isOpen: b,
961
961
  isMounted: C,
962
962
  setIsOpen: N
@@ -971,7 +971,7 @@ const qc = (e) => e === "dark" ? Ot.Dark : Ot.Light, Po = s_(void 0), jc = () =>
971
971
  },
972
972
  e
973
973
  ), { size: S, handleResizeRef: x } = Oo(), B = (w) => {
974
- w ? (l == null || l(), !p && N(!1)) : (d == null || d(), !p && N(!0));
974
+ w ? (l == null || l(), !g && N(!1)) : (d == null || d(), !g && N(!0));
975
975
  };
976
976
  return /* @__PURE__ */ f(
977
977
  "div",
@@ -1063,8 +1063,8 @@ const qc = (e) => e === "dark" ? Ot.Dark : Ot.Light, Po = s_(void 0), jc = () =>
1063
1063
  visible: d,
1064
1064
  onClose: c,
1065
1065
  onOpen: s,
1066
- floatingStrategy: g,
1067
- selectedOptions: p,
1066
+ floatingStrategy: p,
1067
+ selectedOptions: g,
1068
1068
  footer: v
1069
1069
  } = C, m = F(C, [
1070
1070
  "className",
@@ -1097,7 +1097,7 @@ const qc = (e) => e === "dark" ? Ot.Dark : Ot.Light, Po = s_(void 0), jc = () =>
1097
1097
  ],
1098
1098
  placement: _,
1099
1099
  open: G,
1100
- strategy: g,
1100
+ strategy: p,
1101
1101
  onOpenChange: I,
1102
1102
  whileElementsMounted: Ia
1103
1103
  }), K = Ta(H), Me = Aa(H, {
@@ -1162,11 +1162,11 @@ const qc = (e) => e === "dark" ? Ot.Dark : Ot.Light, Po = s_(void 0), jc = () =>
1162
1162
  className: u(Je[`${et}__list__item`], {
1163
1163
  [Je[`${et}__list__item--disabled`]]: M.disabled,
1164
1164
  [Je[`${et}__list__item--with-divider`]]: M.withDivider,
1165
- [Je[`${et}__list__item--selected`]]: p == null ? void 0 : p.includes(M.key)
1165
+ [Je[`${et}__list__item--selected`]]: g == null ? void 0 : g.includes(M.key)
1166
1166
  }),
1167
1167
  children: [
1168
1168
  M.element,
1169
- (p == null ? void 0 : p.includes(M.key)) && /* @__PURE__ */ a(
1169
+ (g == null ? void 0 : g.includes(M.key)) && /* @__PURE__ */ a(
1170
1170
  "div",
1171
1171
  {
1172
1172
  "data-testid": `${M.key}-selected-icon`,
@@ -1360,8 +1360,8 @@ const qc = (e) => e === "dark" ? Ot.Dark : Ot.Light, Po = s_(void 0), jc = () =>
1360
1360
  loaderLabel: d,
1361
1361
  className: c,
1362
1362
  children: s,
1363
- href: g,
1364
- onClick: p,
1363
+ href: p,
1364
+ onClick: g,
1365
1365
  animatedLabel: v
1366
1366
  } = N, m = F(N, [
1367
1367
  "loading",
@@ -1379,7 +1379,7 @@ const qc = (e) => e === "dark" ? Ot.Dark : Ot.Light, Po = s_(void 0), jc = () =>
1379
1379
  "onClick",
1380
1380
  "animatedLabel"
1381
1381
  ]);
1382
- const [$, S] = h.useState(0), [x, B] = h.useState(!1), y = e || t, w = !s && i, T = v && s && i, R = ["text", "link", "link-light"].includes(_), G = g ? "a" : "button", I = u(
1382
+ const [$, S] = h.useState(0), [x, B] = h.useState(!1), y = e || t, w = !s && i, T = v && s && i, R = ["text", "link", "link-light"].includes(_), G = p ? "a" : "button", I = u(
1383
1383
  se[de],
1384
1384
  se[`${de}--${_}`],
1385
1385
  se[`${de}--${n}`],
@@ -1403,7 +1403,7 @@ const qc = (e) => e === "dark" ? Ot.Dark : Ot.Light, Po = s_(void 0), jc = () =>
1403
1403
  "aria-disabled": y,
1404
1404
  type: r,
1405
1405
  disabled: y
1406
- }, !y && { href: g, onClick: p }), m), T && {
1406
+ }, !y && { href: p, onClick: g }), m), T && {
1407
1407
  onMouseEnter: (D) => _o(
1408
1408
  D,
1409
1409
  () => B(!0),
@@ -1540,8 +1540,8 @@ const Cn = (e) => {
1540
1540
  fullSpaceContent: d,
1541
1541
  onClose: c,
1542
1542
  onOpen: s,
1543
- withFadeAnimation: g = !0,
1544
- transitionDuration: p = 200,
1543
+ withFadeAnimation: p = !0,
1544
+ transitionDuration: g = 200,
1545
1545
  hoverOnDuration: v,
1546
1546
  hoverOffDuration: m,
1547
1547
  transitionDelay: b = 0,
@@ -1568,7 +1568,7 @@ const Cn = (e) => {
1568
1568
  d && O[`${Oa}--full-space`]
1569
1569
  ), nt = typeof o == "function", Qe = (xe) => {
1570
1570
  xe !== Oe && (xe ? s == null || s() : c == null || c(), !V && K(xe));
1571
- }, it = (xe) => g ? xe != null ? xe : p : 0, lt = (xe) => xe != null ? xe : b, {
1571
+ }, it = (xe) => p ? xe != null ? xe : g : 0, lt = (xe) => xe != null ? xe : b, {
1572
1572
  floatingStyles: ct,
1573
1573
  refs: M,
1574
1574
  context: W,
@@ -1887,7 +1887,7 @@ const no = 8, io = "guide-tooltip", lo = (e, t) => new En(e, t), os = (e) => {
1887
1887
  shouldSlide: _ = !0
1888
1888
  } = e, [n, i] = h.useState(
1889
1889
  null
1890
- ), [l, d] = h.useState(null), [c, s] = h.useState(_), g = () => {
1890
+ ), [l, d] = h.useState(null), [c, s] = h.useState(_), p = () => {
1891
1891
  n && (d(
1892
1892
  lo(
1893
1893
  n,
@@ -1897,13 +1897,13 @@ const no = 8, io = "guide-tooltip", lo = (e, t) => new En(e, t), os = (e) => {
1897
1897
  };
1898
1898
  return h.useEffect(() => {
1899
1899
  if (n !== null)
1900
- return window.addEventListener("resize", g), window.addEventListener("scroll", g), () => {
1901
- window.removeEventListener("resize", g), window.removeEventListener("scroll", g);
1900
+ return window.addEventListener("resize", p), window.addEventListener("scroll", p), () => {
1901
+ window.removeEventListener("resize", p), window.removeEventListener("scroll", p);
1902
1902
  };
1903
1903
  }, [n]), h.useEffect(() => {
1904
1904
  if (r) {
1905
- const p = document.querySelector(r);
1906
- i(p);
1905
+ const g = document.querySelector(r);
1906
+ i(g);
1907
1907
  }
1908
1908
  }, [r]), h.useEffect(() => {
1909
1909
  n && d(
@@ -2041,7 +2041,7 @@ const no = 8, io = "guide-tooltip", lo = (e, t) => new En(e, t), os = (e) => {
2041
2041
  }) => {
2042
2042
  const [l, d] = h.useState(
2043
2043
  o.length
2044
- ), [c, s] = h.useState([]), [g, p] = h.useState(!1), v = r === "scroll", m = u(
2044
+ ), [c, s] = h.useState([]), [p, g] = h.useState(!1), v = r === "scroll", m = u(
2045
2045
  Q[La],
2046
2046
  e,
2047
2047
  n && Q[`${La}--vertical`]
@@ -2104,8 +2104,8 @@ const no = 8, io = "guide-tooltip", lo = (e, t) => new En(e, t), os = (e) => {
2104
2104
  Lo,
2105
2105
  {
2106
2106
  selectedOptions: _ ? [_] : [],
2107
- onOpen: () => p(!0),
2108
- onClose: () => p(!1),
2107
+ onOpen: () => g(!0),
2108
+ onClose: () => g(!1),
2109
2109
  floatingStrategy: "fixed",
2110
2110
  placement: n ? "left-start" : "bottom-end",
2111
2111
  options: C(),
@@ -2127,7 +2127,7 @@ const no = 8, io = "guide-tooltip", lo = (e, t) => new En(e, t), os = (e) => {
2127
2127
  kind: "primary",
2128
2128
  className: u(
2129
2129
  Q[`${pt}__button__icon`],
2130
- g && Q[`${pt}__button__icon--open`]
2130
+ p && Q[`${pt}__button__icon--open`]
2131
2131
  )
2132
2132
  }
2133
2133
  ),
@@ -2254,7 +2254,7 @@ const no = 8, io = "guide-tooltip", lo = (e, t) => new En(e, t), os = (e) => {
2254
2254
  "kind",
2255
2255
  "onClose"
2256
2256
  ]);
2257
- const c = h.useRef(null), [s, g] = h.useState(null), p = u(
2257
+ const c = h.useRef(null), [s, p] = h.useState(null), g = u(
2258
2258
  Ae[De],
2259
2259
  Ae[`${De}--${_}`],
2260
2260
  s === "large" && Ae[`${De}--large`],
@@ -2263,11 +2263,11 @@ const no = 8, io = "guide-tooltip", lo = (e, t) => new En(e, t), os = (e) => {
2263
2263
  t
2264
2264
  );
2265
2265
  return h.useEffect(() => {
2266
- const v = () => c.current && c.current.offsetWidth <= 400 ? g("small") : c.current && c.current.offsetWidth > 400 && c.current.offsetWidth <= 800 ? g("medium") : g("large"), m = To(() => {
2266
+ const v = () => c.current && c.current.offsetWidth <= 400 ? p("small") : c.current && c.current.offsetWidth > 400 && c.current.offsetWidth <= 800 ? p("medium") : p("large"), m = To(() => {
2267
2267
  v();
2268
2268
  }, 500);
2269
2269
  return window.addEventListener("resize", m), v(), () => window.removeEventListener("resize", m);
2270
- }), /* @__PURE__ */ f("div", E(k({ ref: c, className: p }, i), { children: [
2270
+ }), /* @__PURE__ */ f("div", E(k({ ref: c, className: g }, i), { children: [
2271
2271
  /* @__PURE__ */ f("div", { className: Ae[`${De}__content`], children: [
2272
2272
  /* @__PURE__ */ f("div", { className: Ae[`${De}__content__wrapper`], children: [
2273
2273
  /* @__PURE__ */ a(
@@ -2336,19 +2336,19 @@ const no = 8, io = "guide-tooltip", lo = (e, t) => new En(e, t), os = (e) => {
2336
2336
  sideNavigationContainerClassName: d,
2337
2337
  contentClassName: c,
2338
2338
  mobileViewBreakpoint: s = 705
2339
- } = e, g = u(Pe[zo], r), {
2340
- isSideNavigationVisible: p,
2339
+ } = e, p = u(Pe[zo], r), {
2340
+ isSideNavigationVisible: g,
2341
2341
  setIsMobileViewEnabled: v,
2342
2342
  isMobileViewEnabled: m
2343
2343
  } = Ro(), b = h.useRef(null), { isOpen: C, isMounted: N } = Lt({
2344
- isVisible: p,
2344
+ isVisible: g,
2345
2345
  elementRef: b
2346
2346
  }), { isMobile: $, handleResizeRef: S } = q_({
2347
2347
  mobileBreakpoint: s
2348
2348
  });
2349
2349
  return h.useEffect(() => {
2350
2350
  v($);
2351
- }, [$]), /* @__PURE__ */ f("div", { className: g, ref: S, children: [
2351
+ }, [$]), /* @__PURE__ */ f("div", { className: p, ref: S, children: [
2352
2352
  !m && o,
2353
2353
  /* @__PURE__ */ f(
2354
2354
  "div",
@@ -2478,8 +2478,8 @@ const Un = "side-navigation-item-test-id", Hn = "side-navigation-active-item-tes
2478
2478
  "side-navigation-item__label": "lc-SideNavigationItem-module__side-navigation-item__label___dpMyX",
2479
2479
  "side-navigation-item__label--active": "lc-SideNavigationItem-module__side-navigation-item__label--active___4vImp",
2480
2480
  "side-navigation-item__custom-label--active": "lc-SideNavigationItem-module__side-navigation-item__custom-label--active___UWDu9"
2481
- }, Ue = "side-navigation-item", Vn = (p) => {
2482
- var v = p, {
2481
+ }, Ue = "side-navigation-item", Vn = (g) => {
2482
+ var v = g, {
2483
2483
  leftNode: e,
2484
2484
  shouldKeepIconSpace: t = !0,
2485
2485
  url: r,
@@ -2491,7 +2491,7 @@ const Un = "side-navigation-item-test-id", Hn = "side-navigation-active-item-tes
2491
2491
  isMainEntry: d,
2492
2492
  onItemHover: c,
2493
2493
  isIconHidden: s
2494
- } = v, g = F(v, [
2494
+ } = v, p = F(v, [
2495
2495
  "leftNode",
2496
2496
  "shouldKeepIconSpace",
2497
2497
  "url",
@@ -2515,7 +2515,7 @@ const Un = "side-navigation-item-test-id", Hn = "side-navigation-active-item-tes
2515
2515
  className: u([Ge[Ue], _]),
2516
2516
  "data-testid": l ? Hn : Un,
2517
2517
  "data-active": l
2518
- }, g), {
2518
+ }, p), {
2519
2519
  children: /* @__PURE__ */ f(
2520
2520
  "a",
2521
2521
  {
@@ -2584,7 +2584,7 @@ const Un = "side-navigation-item-test-id", Hn = "side-navigation-active-item-tes
2584
2584
  shouldOpenOnInit: i = !1,
2585
2585
  shouldOpenOnActive: l = !1
2586
2586
  }) => {
2587
- const [d, c] = h.useState(!1), [s, g] = h.useState(0), p = h.useRef(!1), v = h.useRef(null), { isOpen: m, isMounted: b, setIsOpen: C } = Lt({
2587
+ const [d, c] = h.useState(!1), [s, p] = h.useState(0), g = h.useRef(!1), v = h.useRef(null), { isOpen: m, isMounted: b, setIsOpen: C } = Lt({
2588
2588
  isVisible: !_ || i,
2589
2589
  elementRef: v
2590
2590
  }), N = typeof t == "function" ? t(m) : t, $ = typeof e == "function" ? e(m) : e, S = () => C(!0), x = () => {
@@ -2595,10 +2595,10 @@ const Un = "side-navigation-item-test-id", Hn = "side-navigation-active-item-tes
2595
2595
  ) : !1;
2596
2596
  c(T);
2597
2597
  const R = ((w == null ? void 0 : w.length) || 0) * Wn;
2598
- g(R);
2598
+ p(R);
2599
2599
  };
2600
2600
  return h.useEffect(() => {
2601
- l && (!p.current && d && S(), p.current = d);
2601
+ l && (!g.current && d && S(), g.current = d);
2602
2602
  }, [d, l]), /* @__PURE__ */ f("div", { "data-testid": "side-navigation-group", className: xt[St], children: [
2603
2603
  _ ? /* @__PURE__ */ a(
2604
2604
  Vn,
@@ -2741,8 +2741,8 @@ const Yn = "lc-Badge-module__badge___ZbEBU", Xn = "lc-Badge-module__badge__dot__
2741
2741
  size: "compact",
2742
2742
  type: e
2743
2743
  }
2744
- ), ms = (g) => {
2745
- var p = g, {
2744
+ ), ms = (p) => {
2745
+ var g = p, {
2746
2746
  id: e,
2747
2747
  label: t,
2748
2748
  icon: r,
@@ -2753,7 +2753,7 @@ const Yn = "lc-Badge-module__badge___ZbEBU", Xn = "lc-Badge-module__badge__dot__
2753
2753
  isActive: l,
2754
2754
  onClick: d,
2755
2755
  className: c
2756
- } = p, s = F(p, [
2756
+ } = g, s = F(g, [
2757
2757
  "id",
2758
2758
  "label",
2759
2759
  "icon",
@@ -2878,17 +2878,17 @@ const Yn = "lc-Badge-module__badge___ZbEBU", Xn = "lc-Badge-module__badge__dot__
2878
2878
  const l = h.useRef(null), { isMounted: d, isOpen: c } = Lt({
2879
2879
  isVisible: i,
2880
2880
  elementRef: l
2881
- }), s = window.matchMedia("(max-width: 768px)").matches, g = t === "warning" ? "link-inverted" : "text", p = t === "warning" ? "plain-lock-black" : "high-contrast", v = _ || n ? /* @__PURE__ */ f("div", { className: ot[`${Bt}__cta-wrapper`], children: [
2881
+ }), s = window.matchMedia("(max-width: 768px)").matches, p = t === "warning" ? "link-inverted" : "text", g = t === "warning" ? "plain-lock-black" : "high-contrast", v = _ || n ? /* @__PURE__ */ f("div", { className: ot[`${Bt}__cta-wrapper`], children: [
2882
2882
  _ && /* @__PURE__ */ a(
2883
2883
  q,
2884
2884
  E(k({
2885
2885
  size: "compact",
2886
- kind: s ? g : p
2886
+ kind: s ? p : g
2887
2887
  }, _), {
2888
2888
  children: _.label
2889
2889
  })
2890
2890
  ),
2891
- n && /* @__PURE__ */ a(q, E(k({ size: "compact", kind: g }, n), { children: n.label }))
2891
+ n && /* @__PURE__ */ a(q, E(k({ size: "compact", kind: p }, n), { children: n.label }))
2892
2892
  ] }) : null, m = /* @__PURE__ */ f(ae, { children: [
2893
2893
  /* @__PURE__ */ f("div", { className: ot[`${Bt}__children-wrapper`], children: [
2894
2894
  o,
@@ -3026,13 +3026,13 @@ const Ha = {
3026
3026
  ]);
3027
3027
  const s = h.useRef(null);
3028
3028
  h.useImperativeHandle(l, () => s.current, []);
3029
- const [g, p] = h.useState(!1), [v, m] = h.useState(!1), { type: b, onFocus: C, onBlur: N } = i, $ = u(
3029
+ const [p, g] = h.useState(!1), [v, m] = h.useState(!1), { type: b, onFocus: C, onBlur: N } = i, $ = u(
3030
3030
  _,
3031
3031
  Ye[Xe],
3032
3032
  Ye[`${Xe}--${e}`],
3033
3033
  {
3034
3034
  [Ye[`${Xe}--disabled`]]: r,
3035
- [Ye[`${Xe}--focused`]]: g,
3035
+ [Ye[`${Xe}--focused`]]: p,
3036
3036
  [Ye[`${Xe}--error`]]: t,
3037
3037
  [Ye[`${Xe}--crop`]]: n,
3038
3038
  [Ye[`${Xe}--read-only`]]: i.readOnly
@@ -3056,10 +3056,10 @@ const Ha = {
3056
3056
  E(k({}, i), {
3057
3057
  ref: s,
3058
3058
  onFocus: (T) => {
3059
- p(!0), C == null || C(T);
3059
+ g(!0), C == null || C(T);
3060
3060
  },
3061
3061
  onBlur: (T) => {
3062
- p(!1), N == null || N(T);
3062
+ g(!1), N == null || N(T);
3063
3063
  },
3064
3064
  disabled: r,
3065
3065
  type: b && !v ? b : "text"
@@ -3167,8 +3167,8 @@ const Qt = "select-all", ni = (e, t) => {
3167
3167
  numberOfItems: l
3168
3168
  }) => {
3169
3169
  const d = (s) => {
3170
- var g;
3171
- return (g = s == null ? void 0 : s.customElement) != null && g.listItemBody ? /* @__PURE__ */ a("div", { className: ye[`${He}__custom`], children: s.customElement.listItemBody }) : /* @__PURE__ */ f(ae, { children: [
3170
+ var p;
3171
+ return (p = s == null ? void 0 : s.customElement) != null && p.listItemBody ? /* @__PURE__ */ a("div", { className: ye[`${He}__custom`], children: s.customElement.listItemBody }) : /* @__PURE__ */ f(ae, { children: [
3172
3172
  s.showCheckbox && /* @__PURE__ */ a(
3173
3173
  hi,
3174
3174
  {
@@ -3283,8 +3283,8 @@ const Qt = "select-all", ni = (e, t) => {
3283
3283
  isPositioned: d,
3284
3284
  searchDisabled: c,
3285
3285
  onItemRemove: s,
3286
- setPointer: g,
3287
- onSelect: p,
3286
+ setPointer: p,
3287
+ onSelect: g,
3288
3288
  getFloatingProps: v,
3289
3289
  getItemProps: m,
3290
3290
  emptyStateText: b = "No results found",
@@ -3337,13 +3337,13 @@ const Qt = "select-all", ni = (e, t) => {
3337
3337
  className: la["listbox-wrapper"]
3338
3338
  }, v({
3339
3339
  onKeyDown(I) {
3340
- g(!1), I.key === "Enter" && n !== null && p(_[n].key), (I.key === "Backspace" || I.key === "Delete") && G(), I.key === " " && I.preventDefault();
3340
+ p(!1), I.key === "Enter" && n !== null && g(_[n].key), (I.key === "Backspace" || I.key === "Delete") && G(), I.key === " " && I.preventDefault();
3341
3341
  },
3342
3342
  onKeyUp(I) {
3343
- I.key === " " && n !== null && p(_[n].key);
3343
+ I.key === " " && n !== null && g(_[n].key);
3344
3344
  },
3345
3345
  onPointerMove() {
3346
- g(!0);
3346
+ p(!0);
3347
3347
  }
3348
3348
  })), {
3349
3349
  children: /* @__PURE__ */ a(
@@ -3363,7 +3363,7 @@ const Qt = "select-all", ni = (e, t) => {
3363
3363
  listElementsRef: l,
3364
3364
  isActive: n === I,
3365
3365
  isSelected: R(D.key),
3366
- onSelect: p,
3366
+ onSelect: g,
3367
3367
  item: D,
3368
3368
  numberOfItems: w
3369
3369
  }
@@ -3404,8 +3404,8 @@ const Qt = "select-all", ni = (e, t) => {
3404
3404
  isRequired: d,
3405
3405
  isOpen: c,
3406
3406
  isError: s,
3407
- onClear: g,
3408
- children: p,
3407
+ onClear: p,
3408
+ children: g,
3409
3409
  setTriggerFocus: v
3410
3410
  }) => {
3411
3411
  const m = u(
@@ -3417,7 +3417,7 @@ const Qt = "select-all", ni = (e, t) => {
3417
3417
  c && Ce[`${be}--focused`],
3418
3418
  s && Ce[`${be}--error`]
3419
3419
  ), b = !i && n && !l && !d, C = (N) => {
3420
- N.stopPropagation(), g();
3420
+ N.stopPropagation(), p();
3421
3421
  };
3422
3422
  return h.useEffect(() => {
3423
3423
  c || v(!1);
@@ -3444,7 +3444,7 @@ const Qt = "select-all", ni = (e, t) => {
3444
3444
  Ce[`${be}__content--${o}`],
3445
3445
  _ && n && Ce[`${be}__content--with-items`]
3446
3446
  ),
3447
- children: p
3447
+ children: g
3448
3448
  }
3449
3449
  ),
3450
3450
  /* @__PURE__ */ f(
@@ -3526,8 +3526,8 @@ const Qt = "select-all", ni = (e, t) => {
3526
3526
  leftNode: d,
3527
3527
  rightNode: c,
3528
3528
  customColor: s,
3529
- iconOnly: g = !1,
3530
- value: p
3529
+ iconOnly: p = !1,
3530
+ value: g
3531
3531
  } = b, v = F(b, [
3532
3532
  "className",
3533
3533
  "children",
@@ -3543,7 +3543,7 @@ const Qt = "select-all", ni = (e, t) => {
3543
3543
  "iconOnly",
3544
3544
  "value"
3545
3545
  ]);
3546
- const C = r || i && g, N = u(
3546
+ const C = r || i && p, N = u(
3547
3547
  Se[Be],
3548
3548
  e,
3549
3549
  Se[`${Be}--${_}`],
@@ -3551,7 +3551,7 @@ const Qt = "select-all", ni = (e, t) => {
3551
3551
  {
3552
3552
  [Se[`${Be}--outline`]]: l,
3553
3553
  [Se[`${Be}--${$i(s)}`]]: !!s,
3554
- [Se[`${Be}--icon-only`]]: g,
3554
+ [Se[`${Be}--icon-only`]]: p,
3555
3555
  [Se[`${Be}--dismissible-on-hover`]]: C
3556
3556
  }
3557
3557
  ), $ = _ === "small" ? "small" : "medium", S = _ === "small" ? "sm" : "md", x = () => s ? l ? {
@@ -3573,7 +3573,7 @@ const Qt = "select-all", ni = (e, t) => {
3573
3573
  size: S,
3574
3574
  children: [
3575
3575
  /* @__PURE__ */ f("div", { className: Se[`${Be}__content-wrapper`], children: [
3576
- d && !g && /* @__PURE__ */ a(
3576
+ d && !p && /* @__PURE__ */ a(
3577
3577
  "div",
3578
3578
  {
3579
3579
  "data-testid": "lc-tag-left-node",
@@ -3582,8 +3582,8 @@ const Qt = "select-all", ni = (e, t) => {
3582
3582
  children: d
3583
3583
  }
3584
3584
  ),
3585
- /* @__PURE__ */ a("div", { className: Se[`${Be}__content`], children: p || t }),
3586
- c && !g && /* @__PURE__ */ a(
3585
+ /* @__PURE__ */ a("div", { className: Se[`${Be}__content`], children: g || t }),
3586
+ c && !p && /* @__PURE__ */ a(
3587
3587
  "div",
3588
3588
  {
3589
3589
  "data-testid": "lc-tag-right-node",
@@ -3648,8 +3648,8 @@ const Qt = "select-all", ni = (e, t) => {
3648
3648
  onItemRemove: d,
3649
3649
  onSelect: c,
3650
3650
  onFilter: s,
3651
- onClear: g,
3652
- searchPhrase: p,
3651
+ onClear: p,
3652
+ searchPhrase: g,
3653
3653
  virtualItemRef: v,
3654
3654
  isTriggerFocused: m,
3655
3655
  inputRef: b,
@@ -3660,7 +3660,7 @@ const Qt = "select-all", ni = (e, t) => {
3660
3660
  i && b != null && b.current && b.current.focus();
3661
3661
  }, [_, i]);
3662
3662
  const $ = (w) => {
3663
- w.key === "Backspace" && _ && _.length > 0 && (w.preventDefault(), n === "multi" ? d(_[_.length - 1].key) : g()), w.key === "Delete" && (w.preventDefault(), g());
3663
+ w.key === "Backspace" && _ && _.length > 0 && (w.preventDefault(), n === "multi" ? d(_[_.length - 1].key) : p()), w.key === "Delete" && (w.preventDefault(), p());
3664
3664
  };
3665
3665
  h.useEffect(() => (!e && m ? document.addEventListener("keydown", $) : document.removeEventListener("keydown", $), () => document.removeEventListener("keydown", $)), [e, _, m]);
3666
3666
  const S = (w) => {
@@ -3685,7 +3685,7 @@ const Qt = "select-all", ni = (e, t) => {
3685
3685
  ] });
3686
3686
  }, x = (w) => s(w.target.value), B = (w) => {
3687
3687
  var T, R;
3688
- (T = v.current) != null && T.id && w.key === "Enter" && c((R = v.current) == null ? void 0 : R.id), n === "multi" && (w.key === "Backspace" || w.key === "Delete") && !p && _ && (_ == null ? void 0 : _.length) > 0 && d(_[_.length - 1].key);
3688
+ (T = v.current) != null && T.id && w.key === "Enter" && c((R = v.current) == null ? void 0 : R.id), n === "multi" && (w.key === "Backspace" || w.key === "Delete") && !g && _ && (_ == null ? void 0 : _.length) > 0 && d(_[_.length - 1].key);
3689
3689
  }, y = () => /* @__PURE__ */ a(
3690
3690
  "input",
3691
3691
  E(k({}, C), {
@@ -3698,7 +3698,7 @@ const Qt = "select-all", ni = (e, t) => {
3698
3698
  onChange: x,
3699
3699
  onKeyDown: B,
3700
3700
  autoFocus: !0,
3701
- value: p
3701
+ value: g
3702
3702
  })
3703
3703
  );
3704
3704
  return !_ || _.length === 0 ? N ? y() : /* @__PURE__ */ a(
@@ -3749,12 +3749,12 @@ const Qt = "select-all", ni = (e, t) => {
3749
3749
  onVisibilityChange: c,
3750
3750
  searchPhrase: s
3751
3751
  }) => {
3752
- const g = Sa(), [p, v] = h.useState(!1), [m, b] = h.useState(null), [C, N] = h.useState(_), $ = h.useRef([]), S = h.useRef(null);
3752
+ const p = Sa(), [g, v] = h.useState(!1), [m, b] = h.useState(null), [C, N] = h.useState(_), $ = h.useRef([]), S = h.useRef(null);
3753
3753
  h.useEffect(() => {
3754
3754
  S.current = null, b(null);
3755
3755
  }, [s]);
3756
3756
  const { refs: x, floatingStyles: B, context: y, isPositioned: w } = Ba({
3757
- nodeId: g,
3757
+ nodeId: p,
3758
3758
  open: d,
3759
3759
  strategy: n,
3760
3760
  onOpenChange: c,
@@ -3798,7 +3798,7 @@ const Qt = "select-all", ni = (e, t) => {
3798
3798
  }), { getReferenceProps: D, getFloatingProps: z, getItemProps: he } = Pa(
3799
3799
  [T, G, R, I]
3800
3800
  );
3801
- return !d && p && v(!1), {
3801
+ return !d && g && v(!1), {
3802
3802
  getReferenceProps: D,
3803
3803
  getFloatingProps: z,
3804
3804
  getItemProps: he,
@@ -3806,13 +3806,13 @@ const Qt = "select-all", ni = (e, t) => {
3806
3806
  floatingStyles: B,
3807
3807
  isPositioned: w,
3808
3808
  context: y,
3809
- nodeId: g,
3809
+ nodeId: p,
3810
3810
  setFloating: x.setFloating,
3811
3811
  activeIndex: m,
3812
3812
  listElementsRef: $,
3813
3813
  virtualItemRef: S,
3814
3814
  maxHeight: C,
3815
- pointer: p,
3815
+ pointer: g,
3816
3816
  setPointer: v
3817
3817
  };
3818
3818
  }, jo = ({
@@ -3827,18 +3827,18 @@ const Qt = "select-all", ni = (e, t) => {
3827
3827
  }) => {
3828
3828
  const [d, c] = h.useState(
3829
3829
  () => (e == null ? void 0 : e.map(hr)) || []
3830
- ), s = e !== void 0, g = s ? (e == null ? void 0 : e.map(hr)) || [] : d, [p, v] = h.useState(""), m = (x) => v(x), b = (x) => S(x), C = () => {
3830
+ ), s = e !== void 0, p = s ? (e == null ? void 0 : e.map(hr)) || [] : d, [g, v] = h.useState(""), m = (x) => v(x), b = (x) => S(x), C = () => {
3831
3831
  !s && c([]), _(null), v(""), n(!1);
3832
3832
  }, N = () => {
3833
3833
  m(""), l.current && (l.current.value = "");
3834
3834
  }, $ = h.useMemo(() => {
3835
3835
  const x = r === "multi" && o;
3836
3836
  let B = t;
3837
- return p && (B = B.filter((y) => {
3837
+ return g && (B = B.filter((y) => {
3838
3838
  var G;
3839
3839
  if (y.groupHeader)
3840
3840
  return !1;
3841
- const w = p.toLowerCase(), T = y.name.toLowerCase(), R = (G = y.secondaryText) == null ? void 0 : G.toLowerCase();
3841
+ const w = g.toLowerCase(), T = y.name.toLowerCase(), R = (G = y.secondaryText) == null ? void 0 : G.toLowerCase();
3842
3842
  return T.includes(w) || (R == null ? void 0 : R.includes(w));
3843
3843
  })), x && B.length > 1 && (B = [
3844
3844
  {
@@ -3847,13 +3847,13 @@ const Qt = "select-all", ni = (e, t) => {
3847
3847
  },
3848
3848
  ...B
3849
3849
  ]), B;
3850
- }, [p, t, r, o]), S = (x) => {
3850
+ }, [g, t, r, o]), S = (x) => {
3851
3851
  const B = t.find((y) => y.key === x);
3852
3852
  if (!((!B || B.disabled) && x !== Qt))
3853
3853
  if (r === "single")
3854
3854
  c(() => (B && _([B]), [x])), n(!1);
3855
3855
  else if (x === Qt)
3856
- g.length === Dr(t).length ? c(() => (_(null), [])) : c(() => {
3856
+ p.length === Dr(t).length ? c(() => (_(null), [])) : c(() => {
3857
3857
  const y = Dr(t);
3858
3858
  return _(y), y.map(({ key: w }) => w);
3859
3859
  });
@@ -3870,9 +3870,9 @@ const Qt = "select-all", ni = (e, t) => {
3870
3870
  }
3871
3871
  };
3872
3872
  return {
3873
- selectedKeys: g,
3873
+ selectedKeys: p,
3874
3874
  items: $,
3875
- searchPhrase: p,
3875
+ searchPhrase: g,
3876
3876
  handleSelect: S,
3877
3877
  handleOnFilter: m,
3878
3878
  handleItemRemove: b,
@@ -3893,8 +3893,8 @@ const Qt = "select-all", ni = (e, t) => {
3893
3893
  selected: d,
3894
3894
  size: c = "medium",
3895
3895
  placeholder: s = "Select option",
3896
- isRequired: g,
3897
- noSearchResultText: p = "No results found",
3896
+ isRequired: p,
3897
+ noSearchResultText: g = "No results found",
3898
3898
  selectAllOptionText: v,
3899
3899
  type: m = "single",
3900
3900
  searchDisabled: b = !1,
@@ -4003,7 +4003,7 @@ const Qt = "select-all", ni = (e, t) => {
4003
4003
  hideClearButton: C,
4004
4004
  isDisabled: n,
4005
4005
  isError: i,
4006
- isRequired: g,
4006
+ isRequired: p,
4007
4007
  isMultiSelect: m === "multi",
4008
4008
  size: c,
4009
4009
  setTriggerFocus: Oe,
@@ -4051,7 +4051,7 @@ const Qt = "select-all", ni = (e, t) => {
4051
4051
  onSelect: lt,
4052
4052
  getFloatingProps: Ht,
4053
4053
  getItemProps: zt,
4054
- emptyStateText: p,
4054
+ emptyStateText: g,
4055
4055
  virtuosoProps: I
4056
4056
  }
4057
4057
  ) }) })
@@ -4071,7 +4071,7 @@ const Qt = "select-all", ni = (e, t) => {
4071
4071
  const _ = e.length === 1 && e[0].name === o, n = t ? e.slice(0, 1) : e;
4072
4072
  return r && _ ? [] : n;
4073
4073
  }, bs = h.forwardRef(
4074
- (v, p) => {
4074
+ (v, g) => {
4075
4075
  var m = v, {
4076
4076
  disabled: e,
4077
4077
  minListHeight: t = Ko,
@@ -4084,7 +4084,7 @@ const Qt = "select-all", ni = (e, t) => {
4084
4084
  single: d,
4085
4085
  alwaysShowAllOptions: c,
4086
4086
  hideIfExactMatch: s = !0
4087
- } = m, g = F(m, [
4087
+ } = m, p = F(m, [
4088
4088
  "disabled",
4089
4089
  "minListHeight",
4090
4090
  "maxListHeight",
@@ -4098,8 +4098,8 @@ const Qt = "select-all", ni = (e, t) => {
4098
4098
  "hideIfExactMatch"
4099
4099
  ]);
4100
4100
  const b = h.useRef(null);
4101
- h.useImperativeHandle(p, () => b.current, []);
4102
- const [C, N] = h.useState(""), S = g.value !== void 0 ? g.value : C, [x, B] = h.useState(
4101
+ h.useImperativeHandle(g, () => b.current, []);
4102
+ const [C, N] = h.useState(""), S = p.value !== void 0 ? p.value : C, [x, B] = h.useState(
4103
4103
  o
4104
4104
  ), y = (Y) => {
4105
4105
  B(Y);
@@ -4107,11 +4107,11 @@ const Qt = "select-all", ni = (e, t) => {
4107
4107
  he(Y);
4108
4108
  }, T = (Y) => {
4109
4109
  var ne, st;
4110
- (ne = g.onChange) == null || ne.call(g, Y), N(Y.target.value), c || w(Y.target.value), (st = b.current) == null || st.focus();
4110
+ (ne = p.onChange) == null || ne.call(p, Y), N(Y.target.value), c || w(Y.target.value), (st = b.current) == null || st.focus();
4111
4111
  }, R = (Y) => {
4112
4112
  var st, Ht, zt;
4113
4113
  const ne = Y.key === "Enter";
4114
- (st = ct.current) != null && st.id && ne && (G([{ key: (Ht = ct.current) == null ? void 0 : Ht.id }]), Y.preventDefault()), ne || y(!0), (zt = g.onKeyDown) == null || zt.call(g, Y);
4114
+ (st = ct.current) != null && st.id && ne && (G([{ key: (Ht = ct.current) == null ? void 0 : Ht.id }]), Y.preventDefault()), ne || y(!0), (zt = p.onKeyDown) == null || zt.call(p, Y);
4115
4115
  }, G = (Y) => {
4116
4116
  if (Y) {
4117
4117
  const ne = Y[0].key;
@@ -4164,7 +4164,7 @@ const Qt = "select-all", ni = (e, t) => {
4164
4164
  return /* @__PURE__ */ f("div", E(k({ ref: lt }, Te()), { children: [
4165
4165
  /* @__PURE__ */ a(
4166
4166
  oi,
4167
- E(k({}, g), {
4167
+ E(k({}, p), {
4168
4168
  ref: b,
4169
4169
  onChange: T,
4170
4170
  onKeyDown: R,
@@ -4273,8 +4273,8 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4273
4273
  "avatar--xlarge": "lc-Avatar-module__avatar--xlarge___hjIy5",
4274
4274
  "avatar--xxlarge": "lc-Avatar-module__avatar--xxlarge___AjkHw",
4275
4275
  "avatar--xxxlarge": "lc-Avatar-module__avatar--xxxlarge___4Hhp9"
4276
- }, ue = "avatar", Qo = (p) => {
4277
- var v = p, {
4276
+ }, ue = "avatar", Qo = (g) => {
4277
+ var v = g, {
4278
4278
  alt: e,
4279
4279
  className: t,
4280
4280
  color: r,
@@ -4286,7 +4286,7 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4286
4286
  type: d,
4287
4287
  withRim: c = !1,
4288
4288
  style: s
4289
- } = v, g = F(v, [
4289
+ } = v, p = F(v, [
4290
4290
  "alt",
4291
4291
  "className",
4292
4292
  "color",
@@ -4323,7 +4323,7 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4323
4323
  E(k({
4324
4324
  className: R,
4325
4325
  style: k(k({}, T), s)
4326
- }, g), {
4326
+ }, p), {
4327
4327
  children: [
4328
4328
  c && /* @__PURE__ */ a(
4329
4329
  "div",
@@ -4390,9 +4390,9 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4390
4390
  h.useEffect(() => {
4391
4391
  s && c(_);
4392
4392
  }, [_]);
4393
- const g = (v, m) => {
4393
+ const p = (v, m) => {
4394
4394
  s || c(v), i(v, m);
4395
- }, p = t.map(({ id: v, label: m, loading: b, disabled: C, icon: N }) => {
4395
+ }, g = t.map(({ id: v, label: m, loading: b, disabled: C, icon: N }) => {
4396
4396
  const $ = v === d, S = $ ? Va["btn--active"] : "";
4397
4397
  return /* @__PURE__ */ a(
4398
4398
  q,
@@ -4405,14 +4405,14 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4405
4405
  icon: N,
4406
4406
  className: u(Va.btn, Va[`btn--${e}`], S),
4407
4407
  onClick: (B) => {
4408
- g(v, B);
4408
+ p(v, B);
4409
4409
  },
4410
4410
  children: m
4411
4411
  },
4412
4412
  v
4413
4413
  );
4414
4414
  });
4415
- return /* @__PURE__ */ a("div", { role: "group", className: l, children: p });
4415
+ return /* @__PURE__ */ a("div", { role: "group", className: l, children: g });
4416
4416
  }, Ui = "lc-Card-module__card___LzN-3", Hi = "lc-Card-module__card__header___SRONR", zi = "lc-Card-module__card__header__image___93pD4", Vi = "lc-Card-module__card__header__heading___jK55U", Wi = "lc-Card-module__card__header__heading__title___5090w", Ki = "lc-Card-module__card__header__heading__description___iVYoq", Yi = "lc-Card-module__card__content___9G1YM", Xi = "lc-Card-module__card__actions___gp-xf", Zi = "lc-Card-module__card__actions__line___C6TI0", qi = "lc-Card-module__card__actions__buttons___XJlFJ", Ie = {
4417
4417
  card: Ui,
4418
4418
  card__header: Hi,
@@ -4447,7 +4447,7 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4447
4447
  "src",
4448
4448
  "title"
4449
4449
  ]);
4450
- const [g, p] = h.useState(!1), v = g ? rr : Ut, m = g ? "Hide" : "Show more", b = (t == null ? void 0 : t.length) > 0, C = !!n, N = b || C, $ = l, S = i, x = S ? "" : Ie[ji];
4450
+ const [p, g] = h.useState(!1), v = p ? rr : Ut, m = p ? "Hide" : "Show more", b = (t == null ? void 0 : t.length) > 0, C = !!n, N = b || C, $ = l, S = i, x = S ? "" : Ie[ji];
4451
4451
  return /* @__PURE__ */ f("div", E(k({ className: u(Ie[wa], o) }, d), { children: [
4452
4452
  $ && /* @__PURE__ */ f("div", { className: u(Ie[tr], x), children: [
4453
4453
  S && /* @__PURE__ */ a(
@@ -4471,7 +4471,7 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4471
4471
  ] })
4472
4472
  ] }),
4473
4473
  /* @__PURE__ */ a(A, { as: "div", size: "md", className: Ie[`${wa}__content`], children: r }),
4474
- g && /* @__PURE__ */ a(
4474
+ p && /* @__PURE__ */ a(
4475
4475
  A,
4476
4476
  {
4477
4477
  as: "div",
@@ -4502,7 +4502,7 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4502
4502
  kind: "link",
4503
4503
  iconPosition: "right",
4504
4504
  icon: /* @__PURE__ */ a(P, { source: v }),
4505
- onClick: () => p(!g),
4505
+ onClick: () => g(!p),
4506
4506
  children: m
4507
4507
  }
4508
4508
  )
@@ -4556,8 +4556,8 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4556
4556
  numberOfMonths: d,
4557
4557
  month: c,
4558
4558
  fromMonth: s,
4559
- toMonth: g
4560
- } = e, p = () => {
4559
+ toMonth: p
4560
+ } = e, g = () => {
4561
4561
  typeof t == "function" && t();
4562
4562
  }, v = () => {
4563
4563
  typeof o == "function" && o();
@@ -4572,15 +4572,15 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4572
4572
  );
4573
4573
  return r(N);
4574
4574
  }, b = () => {
4575
- if (!g) {
4575
+ if (!p) {
4576
4576
  const $ = jr(c, 12);
4577
4577
  return r($);
4578
4578
  }
4579
- const C = Math.abs(qr(g, c)), N = jr(
4579
+ const C = Math.abs(qr(p, c)), N = jr(
4580
4580
  c,
4581
4581
  !Number.isNaN(C) && C > 12 ? 12 : C
4582
4582
  );
4583
- return d === 2 && Er(N, g) ? r(jt(N, 1)) : r(N);
4583
+ return d === 2 && Er(N, p) ? r(jt(N, 1)) : r(N);
4584
4584
  };
4585
4585
  return /* @__PURE__ */ f("div", { className: i, children: [
4586
4586
  /* @__PURE__ */ f("div", { className: L[`${go}__navbar-buttons-wrapper`], children: [
@@ -4604,7 +4604,7 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4604
4604
  [l.navButtonPrev]: !0,
4605
4605
  [l.navButtonInteractionDisabled]: !n
4606
4606
  }),
4607
- onClick: p,
4607
+ onClick: g,
4608
4608
  children: /* @__PURE__ */ a(P, { source: b_, kind: "subtle" })
4609
4609
  }
4610
4610
  )
@@ -4715,7 +4715,7 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4715
4715
  navbarElement: d,
4716
4716
  renderDay: c,
4717
4717
  innerRef: s
4718
- } = N, g = F(N, [
4718
+ } = N, p = F(N, [
4719
4719
  "classNames",
4720
4720
  "range",
4721
4721
  "toMonth",
@@ -4726,12 +4726,12 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4726
4726
  "navbarElement",
4727
4727
  "renderDay",
4728
4728
  "innerRef"
4729
- ]), [p, v] = h.useState(_ || /* @__PURE__ */ new Date());
4729
+ ]), [g, v] = h.useState(_ || /* @__PURE__ */ new Date());
4730
4730
  h.useEffect(() => {
4731
- _ && _ !== p && v(_);
4732
- }, [_, p]), h.useEffect(() => {
4733
- o && _ !== p && (Jo(p, { from: n, to: o }) || v(o));
4734
- }, [_, p, o, n]);
4731
+ _ && _ !== g && v(_);
4732
+ }, [_, g]), h.useEffect(() => {
4733
+ o && _ !== g && (Jo(g, { from: n, to: o }) || v(o));
4734
+ }, [_, g, o, n]);
4735
4735
  const m = h.useCallback(
4736
4736
  ($) => {
4737
4737
  if (e.onMonthChange && $) {
@@ -4754,7 +4754,7 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4754
4754
  navbarElement: d || /* @__PURE__ */ a(
4755
4755
  Qi,
4756
4756
  {
4757
- month: p,
4757
+ month: g,
4758
4758
  classNames: C,
4759
4759
  numberOfMonths: l,
4760
4760
  onMonthChange: m,
@@ -4768,9 +4768,9 @@ const Fi = "lc-Avatar-module__avatar___5-kP8", Ri = "lc-Avatar-module__avatar__s
4768
4768
  toMonth: o,
4769
4769
  fromMonth: n,
4770
4770
  firstDayOfWeek: b,
4771
- month: p,
4771
+ month: g,
4772
4772
  renderDay: c || al
4773
- }, g)
4773
+ }, p)
4774
4774
  );
4775
4775
  }, ol = h.forwardRef(
4776
4776
  (e, t) => /* @__PURE__ */ a(rl, k({ innerRef: t }, e))
@@ -4913,7 +4913,7 @@ const _l = (e) => {
4913
4913
  });
4914
4914
  },
4915
4915
  [_, d.from, d.to]
4916
- ), g = Ma(
4916
+ ), p = Ma(
4917
4917
  (b) => {
4918
4918
  const { from: C, to: N } = d;
4919
4919
  Jo(b, { to: _ }) && (ho(C, N) ? c({
@@ -4928,7 +4928,7 @@ const _l = (e) => {
4928
4928
  }));
4929
4929
  },
4930
4930
  [_, d.from, d.to]
4931
- ), p = Ma(
4931
+ ), g = Ma(
4932
4932
  (b) => {
4933
4933
  if (b === null) {
4934
4934
  c({
@@ -4956,7 +4956,7 @@ const _l = (e) => {
4956
4956
  ), B = qt(() => ya(N, e), [e, N]), y = qt(() => [C, { from: C, to: $ }], [C, $]), w = qt(() => _ ? { after: _ } : void 0, [_]);
4957
4957
  return {
4958
4958
  select: {
4959
- onItemSelect: p,
4959
+ onItemSelect: g,
4960
4960
  selected: N || ""
4961
4961
  },
4962
4962
  inputs: {
@@ -4967,7 +4967,7 @@ const _l = (e) => {
4967
4967
  range: !0,
4968
4968
  month: b,
4969
4969
  numberOfMonths: 2,
4970
- onDayClick: g,
4970
+ onDayClick: p,
4971
4971
  selectedDays: y,
4972
4972
  modifiers: x,
4973
4973
  initialMonth: _ && jt(_, 1),
@@ -5032,21 +5032,21 @@ const ys = (e) => {
5032
5032
  hideLabelOnOpen: d,
5033
5033
  onClick: c
5034
5034
  }) => {
5035
- const [s, g] = h.useState(l), [p, v] = h.useState(0), m = h.useRef(null), b = u(
5035
+ const [s, p] = h.useState(l), [g, v] = h.useState(0), m = h.useRef(null), b = u(
5036
5036
  X[Z],
5037
5037
  n && X[`${Z}--with-divider`],
5038
5038
  t
5039
5039
  ), C = d && s, N = typeof _ == "string", $ = (x) => {
5040
- g((B) => !B), x.currentTarget.blur(), c == null || c(x);
5040
+ p((B) => !B), x.currentTarget.blur(), c == null || c(x);
5041
5041
  }, S = (x) => {
5042
5042
  const y = x.target.tagName.toLowerCase();
5043
- il.includes(y) || (g((w) => !w), c == null || c(x));
5043
+ il.includes(y) || (p((w) => !w), c == null || c(x));
5044
5044
  };
5045
5045
  return h.useEffect(() => {
5046
5046
  const x = !!window.IntersectionObserver;
5047
5047
  if (m.current && x) {
5048
5048
  const B = new ResizeObserver(() => {
5049
- m.current && p !== m.current.offsetHeight && v(m.current.offsetHeight);
5049
+ m.current && g !== m.current.offsetHeight && v(m.current.offsetHeight);
5050
5050
  });
5051
5051
  return B.observe(m.current), () => B.disconnect();
5052
5052
  }
@@ -5119,7 +5119,7 @@ const ys = (e) => {
5119
5119
  s && X[`${Z}__content-wrapper--open`]
5120
5120
  ),
5121
5121
  style: {
5122
- maxHeight: s ? p : 0
5122
+ maxHeight: s ? g : 0
5123
5123
  },
5124
5124
  children: /* @__PURE__ */ a(
5125
5125
  "div",
@@ -5251,7 +5251,7 @@ const ys = (e) => {
5251
5251
  children: l,
5252
5252
  labelRightNode: d
5253
5253
  }) => {
5254
- const c = h.useRef(null), [s, g] = h.useState("auto"), p = u(
5254
+ const c = h.useRef(null), [s, p] = h.useState("auto"), g = u(
5255
5255
  re[oe],
5256
5256
  {
5257
5257
  [re[`${oe}--inline`]]: e
@@ -5260,8 +5260,8 @@ const ys = (e) => {
5260
5260
  );
5261
5261
  return h.useEffect(() => {
5262
5262
  const v = c;
5263
- return e && v.current ? g(`${v.current.clientHeight}px`) : g("auto");
5264
- }), /* @__PURE__ */ f("div", { className: p, children: [
5263
+ return e && v.current ? p(`${v.current.clientHeight}px`) : p("auto");
5264
+ }), /* @__PURE__ */ f("div", { className: g, children: [
5265
5265
  d && e && /* @__PURE__ */ f(h.Fragment, { children: [
5266
5266
  /* @__PURE__ */ a(
5267
5267
  A,
@@ -5466,7 +5466,7 @@ const ys = (e) => {
5466
5466
  "tooltipArrowOffset",
5467
5467
  "onAvailableAgentsClick"
5468
5468
  ]);
5469
- const [s, g] = Jt(!1), [p, v] = Jt(!1), {
5469
+ const [s, p] = Jt(!1), [g, v] = Jt(!1), {
5470
5470
  availableAgentsNumber: m,
5471
5471
  visibleAgents: b,
5472
5472
  additionalAgentsNumber: C,
@@ -5482,11 +5482,11 @@ const ys = (e) => {
5482
5482
  hasOnlyUnavailableAgents: I
5483
5483
  };
5484
5484
  }, [e]), $ = () => {
5485
- t(), g(!1), v(!1);
5485
+ t(), p(!1), v(!1);
5486
5486
  }, S = () => {
5487
- r(), g(!1), v(!1);
5487
+ r(), p(!1), v(!1);
5488
5488
  }, x = () => {
5489
- i(), g(!1), v(!1);
5489
+ i(), p(!1), v(!1);
5490
5490
  }, B = [
5491
5491
  {
5492
5492
  key: "chatbot",
@@ -5515,7 +5515,7 @@ const ys = (e) => {
5515
5515
  e.length > 0 && /* @__PURE__ */ a(
5516
5516
  Gt,
5517
5517
  {
5518
- isVisible: p && !s,
5518
+ isVisible: g && !s,
5519
5519
  offsetMainAxis: n,
5520
5520
  floatingStrategy: "fixed",
5521
5521
  hoverOnDelay: 50,
@@ -5589,15 +5589,15 @@ const ys = (e) => {
5589
5589
  {
5590
5590
  floatingStrategy: "fixed",
5591
5591
  visible: s,
5592
- onOpen: () => g(!0),
5593
- onClose: () => g(!1),
5592
+ onOpen: () => p(!0),
5593
+ onClose: () => p(!1),
5594
5594
  options: B,
5595
5595
  triggerRenderer: /* @__PURE__ */ a(
5596
5596
  hl,
5597
5597
  {
5598
5598
  icon: /* @__PURE__ */ a(P, { source: k_ }),
5599
5599
  text: "Invite",
5600
- onClick: () => g((y) => !y),
5600
+ onClick: () => p((y) => !y),
5601
5601
  isExpanded: _ ? s || void 0 : !0
5602
5602
  }
5603
5603
  )
@@ -5669,16 +5669,16 @@ const ys = (e) => {
5669
5669
  return h.useEffect(() => {
5670
5670
  if (!o)
5671
5671
  return;
5672
- const p = (v) => {
5672
+ const g = (v) => {
5673
5673
  v.key === ke.esc && r();
5674
5674
  };
5675
- return document.addEventListener("keyup", p, !0), () => document.removeEventListener("keyup", p, !0);
5675
+ return document.addEventListener("keyup", g, !0), () => document.removeEventListener("keyup", g, !0);
5676
5676
  }, [o]), /* @__PURE__ */ a(
5677
5677
  H_,
5678
5678
  {
5679
5679
  "data-testid": "lc-modal-overlay",
5680
- onMouseDown: (p) => {
5681
- _ && p.target === p.currentTarget && r();
5680
+ onMouseDown: (g) => {
5681
+ _ && g.target === g.currentTarget && r();
5682
5682
  },
5683
5683
  className: u(
5684
5684
  ve[`${da}__overlay`],
@@ -5735,13 +5735,13 @@ const ys = (e) => {
5735
5735
  "onClose",
5736
5736
  "contentClassName"
5737
5737
  ]);
5738
- const g = u(ve[Et], t), p = typeof e == "string", v = (m) => {
5738
+ const p = u(ve[Et], t), g = typeof e == "string", v = (m) => {
5739
5739
  m.preventDefault(), m.stopPropagation(), i();
5740
5740
  };
5741
5741
  return /* @__PURE__ */ f(
5742
5742
  Nl,
5743
5743
  E(k({
5744
- className: g,
5744
+ className: p,
5745
5745
  fullSpaceContent: _,
5746
5746
  onClose: i,
5747
5747
  isLabelled: !!o
@@ -5791,7 +5791,7 @@ const ys = (e) => {
5791
5791
  {
5792
5792
  "data-testid": "modal-body",
5793
5793
  className: u(ve[`${Et}__body`], l),
5794
- children: p ? /* @__PURE__ */ a(A, { as: "div", children: e }) : e
5794
+ children: g ? /* @__PURE__ */ a(A, { as: "div", children: e }) : e
5795
5795
  }
5796
5796
  ),
5797
5797
  n && /* @__PURE__ */ a("div", { className: ve[`${Et}__footer`], children: n })
@@ -5889,7 +5889,7 @@ const ys = (e) => {
5889
5889
  "numeric-input--no-controls": "lc-NumericInput-module__numeric-input--no-controls___nO8zN",
5890
5890
  "numeric-input--error": "lc-NumericInput-module__numeric-input--error___y9v6f"
5891
5891
  }, Zt = "numeric-input", Ps = (s) => {
5892
- var g = s, {
5892
+ var p = s, {
5893
5893
  className: e,
5894
5894
  error: t,
5895
5895
  value: r,
@@ -5899,7 +5899,7 @@ const ys = (e) => {
5899
5899
  noControls: i,
5900
5900
  style: l,
5901
5901
  onChange: d
5902
- } = g, c = F(g, [
5902
+ } = p, c = F(p, [
5903
5903
  "className",
5904
5904
  "error",
5905
5905
  "value",
@@ -5910,7 +5910,7 @@ const ys = (e) => {
5910
5910
  "style",
5911
5911
  "onChange"
5912
5912
  ]);
5913
- const p = h.useRef(null), v = u(
5913
+ const g = h.useRef(null), v = u(
5914
5914
  Xt[Zt],
5915
5915
  {
5916
5916
  [Xt[`${Zt}--error`]]: t,
@@ -5935,17 +5935,17 @@ const ys = (e) => {
5935
5935
  return m(b(T));
5936
5936
  }, x = () => {
5937
5937
  var y;
5938
- return (y = p.current) == null || y.focus(), C(1);
5938
+ return (y = g.current) == null || y.focus(), C(1);
5939
5939
  }, B = () => {
5940
5940
  var y;
5941
- return (y = p.current) == null || y.focus(), C(-1);
5941
+ return (y = g.current) == null || y.focus(), C(-1);
5942
5942
  };
5943
5943
  return /* @__PURE__ */ f("div", { className: v, style: l, children: [
5944
5944
  /* @__PURE__ */ a(
5945
5945
  "input",
5946
5946
  E(k({
5947
5947
  type: "text",
5948
- ref: p
5948
+ ref: g
5949
5949
  }, c), {
5950
5950
  value: r,
5951
5951
  disabled: n,
@@ -6024,7 +6024,7 @@ const ys = (e) => {
6024
6024
  onClick: l,
6025
6025
  cta: d
6026
6026
  }) => {
6027
- const c = h.useRef(null), s = h.useRef(null), [g, p] = h.useState(0), v = h.useRef(g);
6027
+ const c = h.useRef(null), s = h.useRef(null), [p, g] = h.useState(0), v = h.useRef(p);
6028
6028
  return h.useEffect(() => {
6029
6029
  t && c.current && c.current.focus();
6030
6030
  }, [t]), h.useEffect(() => {
@@ -6034,7 +6034,7 @@ const ys = (e) => {
6034
6034
  const N = C[0];
6035
6035
  if (!N) return;
6036
6036
  const $ = N.contentRect.height + xl;
6037
- v.current !== $ && (p($), v.current = $);
6037
+ v.current !== $ && (g($), v.current = $);
6038
6038
  });
6039
6039
  return b.observe(s.current), () => b.disconnect();
6040
6040
  }
@@ -6103,7 +6103,7 @@ const ys = (e) => {
6103
6103
  className: u(me[`${pe}__content__inner`], {
6104
6104
  [me[`${pe}__content__inner--open`]]: t
6105
6105
  }),
6106
- style: { maxHeight: t ? g : 0 },
6106
+ style: { maxHeight: t ? p : 0 },
6107
6107
  children: /* @__PURE__ */ f("div", { ref: s, children: [
6108
6108
  /* @__PURE__ */ a(
6109
6109
  A,
@@ -6156,7 +6156,7 @@ const ys = (e) => {
6156
6156
  className: c
6157
6157
  }) => {
6158
6158
  var S;
6159
- const [s, g] = h.useState(l), [p, v] = h.useState(!l), [m, b] = h.useState(void 0), C = h.useRef(null), N = d.height || 96, $ = () => {
6159
+ const [s, p] = h.useState(l), [g, v] = h.useState(!l), [m, b] = h.useState(void 0), C = h.useRef(null), N = d.height || 96, $ = () => {
6160
6160
  v((x) => !x);
6161
6161
  };
6162
6162
  return h.useEffect(() => {
@@ -6165,7 +6165,7 @@ const ys = (e) => {
6165
6165
  const y = B.offsetHeight;
6166
6166
  b(y);
6167
6167
  const w = setTimeout(() => {
6168
- g(!0), v(!1);
6168
+ p(!0), v(!1);
6169
6169
  }, x);
6170
6170
  return () => {
6171
6171
  clearTimeout(w);
@@ -6178,15 +6178,15 @@ const ys = (e) => {
6178
6178
  className: u(
6179
6179
  J[ee],
6180
6180
  {
6181
- [J[`${ee}--complete`]]: s && !p
6181
+ [J[`${ee}--complete`]]: s && !g
6182
6182
  },
6183
6183
  c
6184
6184
  ),
6185
6185
  style: {
6186
- height: !s || p ? m : N
6186
+ height: !s || g ? m : N
6187
6187
  },
6188
6188
  children: [
6189
- p && /* @__PURE__ */ f(ae, { children: [
6189
+ g && /* @__PURE__ */ f(ae, { children: [
6190
6190
  /* @__PURE__ */ f("div", { className: J[`${ee}__column`], children: [
6191
6191
  /* @__PURE__ */ f("div", { className: J[`${ee}__header`], children: [
6192
6192
  o && /* @__PURE__ */ a(
@@ -6240,7 +6240,7 @@ const ys = (e) => {
6240
6240
  }
6241
6241
  )
6242
6242
  ] }),
6243
- !p && /* @__PURE__ */ a(ae, { children: /* @__PURE__ */ f("div", { className: J[`${ee}__complete`], children: [
6243
+ !g && /* @__PURE__ */ a(ae, { children: /* @__PURE__ */ f("div", { className: J[`${ee}__complete`], children: [
6244
6244
  /* @__PURE__ */ a("div", { children: /* @__PURE__ */ a(
6245
6245
  P,
6246
6246
  {
@@ -6271,20 +6271,20 @@ const ys = (e) => {
6271
6271
  s && /* @__PURE__ */ a(
6272
6272
  q,
6273
6273
  {
6274
- kind: p ? "float" : "text",
6274
+ kind: g ? "float" : "text",
6275
6275
  icon: /* @__PURE__ */ a(
6276
6276
  P,
6277
6277
  {
6278
6278
  source: Ut,
6279
6279
  className: u(
6280
6280
  J[`${ee}__button__icon`],
6281
- p && J[`${ee}__button__icon--open`]
6281
+ g && J[`${ee}__button__icon--open`]
6282
6282
  )
6283
6283
  }
6284
6284
  ),
6285
6285
  className: J[`${ee}__button`],
6286
6286
  onClick: $,
6287
- "aria-expanded": p
6287
+ "aria-expanded": g
6288
6288
  }
6289
6289
  )
6290
6290
  ]
@@ -6304,8 +6304,8 @@ const ys = (e) => {
6304
6304
  offsetSize: d = 4,
6305
6305
  isVisible: c,
6306
6306
  openedOnInit: s,
6307
- closeOnEsc: g = !0,
6308
- useDismissHookProps: p,
6307
+ closeOnEsc: p = !0,
6308
+ useDismissHookProps: g,
6309
6309
  useClickHookProps: v,
6310
6310
  floatingStrategy: m
6311
6311
  }) => {
@@ -6320,8 +6320,8 @@ const ys = (e) => {
6320
6320
  strategy: m,
6321
6321
  whileElementsMounted: Ia
6322
6322
  }), I = Ta(R, v), D = Aa(R, k({
6323
- escapeKey: g
6324
- }, p)), z = Da(R), { getReferenceProps: he, getFloatingProps: V } = Pa([
6323
+ escapeKey: p
6324
+ }, g)), z = Da(R), { getReferenceProps: he, getFloatingProps: V } = Pa([
6325
6325
  I,
6326
6326
  D,
6327
6327
  z
@@ -6366,18 +6366,19 @@ const ys = (e) => {
6366
6366
  iconColor: t,
6367
6367
  expired: r,
6368
6368
  backgroundColors: o,
6369
- notificationCount: _,
6370
- withBorder: n = !1,
6371
- isMainProduct: i = !1
6372
- }) => /* @__PURE__ */ a("div", { className: u({ [Fe["outer-border"]]: n }), children: /* @__PURE__ */ f(
6369
+ borderColor: _,
6370
+ notificationCount: n,
6371
+ withBorder: i = !1,
6372
+ isMainProduct: l = !1
6373
+ }) => /* @__PURE__ */ a("div", { className: u({ [Fe["outer-border"]]: i }), children: /* @__PURE__ */ f(
6373
6374
  "div",
6374
6375
  {
6375
- tabIndex: i ? 0 : -1,
6376
+ tabIndex: l ? 0 : -1,
6376
6377
  className: u(Fe["product-tile-wrapper"], {
6377
- [Fe["product-tile-wrapper__animated"]]: i
6378
+ [Fe["product-tile-wrapper__animated"]]: l
6378
6379
  }),
6379
6380
  children: [
6380
- i && /* @__PURE__ */ f(ae, { children: [
6381
+ l && /* @__PURE__ */ f(ae, { children: [
6381
6382
  /* @__PURE__ */ a(
6382
6383
  "div",
6383
6384
  {
@@ -6397,19 +6398,20 @@ const ys = (e) => {
6397
6398
  "div",
6398
6399
  {
6399
6400
  className: u(Fe[gt], {
6400
- [Fe[`${gt}__main-product`]]: i
6401
+ [Fe[`${gt}__main-product`]]: l
6401
6402
  }),
6402
6403
  style: {
6403
- background: r ? "var(--surface-moderate-default)" : o.main
6404
+ background: r ? "var(--surface-moderate-default)" : o.main,
6405
+ border: _ ? `1px solid ${_}` : ""
6404
6406
  },
6405
6407
  children: [
6406
- _ && !r ? /* @__PURE__ */ a(
6408
+ n && !r ? /* @__PURE__ */ a(
6407
6409
  er,
6408
6410
  {
6409
6411
  size: "compact",
6410
- count: _,
6412
+ count: n,
6411
6413
  className: u(Fe[`${gt}__badge`], {
6412
- [Fe[`${gt}__badge--bordered`]]: i
6414
+ [Fe[`${gt}__badge--bordered`]]: l
6413
6415
  })
6414
6416
  }
6415
6417
  ) : null,
@@ -6418,7 +6420,7 @@ const ys = (e) => {
6418
6420
  {
6419
6421
  source: e,
6420
6422
  className: u(Fe[`${gt}__icon`], {
6421
- [Fe[`${gt}__icon--large`]]: i,
6423
+ [Fe[`${gt}__icon--large`]]: l,
6422
6424
  [Fe[`${gt}__icon--expired`]]: r
6423
6425
  }),
6424
6426
  customColor: t
@@ -6444,28 +6446,29 @@ const ys = (e) => {
6444
6446
  icon: t,
6445
6447
  iconColor: r,
6446
6448
  backgroundColors: o,
6447
- notificationCount: _,
6448
- name: n,
6449
- url: i,
6450
- withDivider: l,
6451
- shortcutKey: d,
6452
- expired: c,
6453
- trialDaysLeft: s,
6449
+ borderColor: _,
6450
+ notificationCount: n,
6451
+ name: i,
6452
+ url: l,
6453
+ withDivider: d,
6454
+ shortcutKey: c,
6455
+ expired: s,
6456
+ trialDaysLeft: p,
6454
6457
  nameAdornment: g
6455
6458
  },
6456
- onClick: p,
6457
- isActive: v = !1
6459
+ onClick: v,
6460
+ isActive: m = !1
6458
6461
  }) => /* @__PURE__ */ f(ae, { children: [
6459
- l && /* @__PURE__ */ a("div", { className: ht[`${ft}__divider`] }),
6462
+ d && /* @__PURE__ */ a("div", { className: ht[`${ft}__divider`] }),
6460
6463
  /* @__PURE__ */ f(
6461
6464
  "a",
6462
6465
  {
6463
- href: i,
6466
+ href: l,
6464
6467
  target: "_blank",
6465
- "aria-label": `Go to ${n} product`,
6466
- onClick: (m) => p(m, e),
6468
+ "aria-label": `Go to ${i} product`,
6469
+ onClick: (b) => v(b, e),
6467
6470
  className: u(ht[ft], {
6468
- [ht[`${ft}--expired`]]: c
6471
+ [ht[`${ft}--expired`]]: s
6469
6472
  }),
6470
6473
  children: [
6471
6474
  /* @__PURE__ */ f("div", { className: ht[`${ft}__heading`], children: [
@@ -6474,15 +6477,16 @@ const ys = (e) => {
6474
6477
  {
6475
6478
  icon: t,
6476
6479
  iconColor: r,
6477
- expired: c,
6480
+ expired: s,
6478
6481
  backgroundColors: o,
6479
- notificationCount: _,
6480
- withBorder: v
6482
+ borderColor: _,
6483
+ notificationCount: n,
6484
+ withBorder: m
6481
6485
  }
6482
6486
  ),
6483
6487
  /* @__PURE__ */ f(A, { as: "div", bold: !0, className: ht[`${ft}__name`], children: [
6484
- n,
6485
- c && /* @__PURE__ */ a(
6488
+ i,
6489
+ s && /* @__PURE__ */ a(
6486
6490
  Gt,
6487
6491
  {
6488
6492
  triggerRenderer: /* @__PURE__ */ a(
@@ -6496,7 +6500,7 @@ const ys = (e) => {
6496
6500
  children: "Your licence is expired."
6497
6501
  }
6498
6502
  ),
6499
- typeof s != "undefined" && /* @__PURE__ */ f(
6503
+ typeof p != "undefined" && /* @__PURE__ */ f(
6500
6504
  Gt,
6501
6505
  {
6502
6506
  className: ht[`${ft}__trial-tooltip`],
@@ -6509,9 +6513,9 @@ const ys = (e) => {
6509
6513
  ),
6510
6514
  placement: "right",
6511
6515
  children: [
6512
- s,
6516
+ p,
6513
6517
  " ",
6514
- Wo(s, "day", "days"),
6518
+ Wo(p, "day", "days"),
6515
6519
  " left in your trial. Time to upgrade."
6516
6520
  ]
6517
6521
  }
@@ -6519,9 +6523,9 @@ const ys = (e) => {
6519
6523
  g
6520
6524
  ] })
6521
6525
  ] }),
6522
- d && /* @__PURE__ */ f(A, { size: "sm", className: ht[`${ft}__shortcut`], children: [
6526
+ c && /* @__PURE__ */ f(A, { size: "sm", className: ht[`${ft}__shortcut`], children: [
6523
6527
  "⌘",
6524
- d
6528
+ c
6525
6529
  ] })
6526
6530
  ]
6527
6531
  }
@@ -6543,7 +6547,7 @@ const ys = (e) => {
6543
6547
  onSelect: l,
6544
6548
  textURL: d = "https://www.text.com"
6545
6549
  }) => {
6546
- const [c, s] = h.useState(r), [g, p] = Jt(
6550
+ const [c, s] = h.useState(r), [p, g] = Jt(
6547
6551
  !1
6548
6552
  ), v = or(), m = Sa(), b = o !== void 0, C = b ? o : c, N = (H, K) => {
6549
6553
  H ? n == null || n(K) : i == null || i(K), !b && s(H);
@@ -6553,7 +6557,7 @@ const ys = (e) => {
6553
6557
  placement: "right-start",
6554
6558
  open: C,
6555
6559
  onOpenChange: (H, K) => {
6556
- p(!1), N(H, K);
6560
+ g(!1), N(H, K);
6557
6561
  },
6558
6562
  middleware: [Ea({ mainAxis: 5 })],
6559
6563
  whileElementsMounted: Ia
@@ -6584,9 +6588,9 @@ const ys = (e) => {
6584
6588
  /* @__PURE__ */ a("div", E(k({ ref: $.setReference }, G()), { children: /* @__PURE__ */ a(
6585
6589
  Gt,
6586
6590
  {
6587
- isVisible: g,
6588
- onOpen: () => p(!0),
6589
- onClose: () => p(!1),
6591
+ isVisible: p,
6592
+ onOpen: () => g(!0),
6593
+ onClose: () => g(!1),
6590
6594
  offsetCrossAxis: 2,
6591
6595
  arrowOffsetY: 2,
6592
6596
  offsetMainAxis: 10,
@@ -6646,7 +6650,7 @@ const ys = (e) => {
6646
6650
  {
6647
6651
  size: "xlarge",
6648
6652
  source: w_,
6649
- customColor: "var(--content-locked-white)"
6653
+ customColor: "var(--content-basic-primary)"
6650
6654
  }
6651
6655
  )
6652
6656
  ]
@@ -6740,7 +6744,8 @@ const ys = (e) => {
6740
6744
  },
6741
6745
  iconColor: "var(--content-locked-black)",
6742
6746
  withDivider: !0,
6743
- url: ""
6747
+ url: "",
6748
+ borderColor: "var(--border-basic-secondary)"
6744
6749
  }
6745
6750
  ], Dl = [
6746
6751
  {
@@ -6880,15 +6885,15 @@ const ys = (e) => {
6880
6885
  }, Ol = (e, t) => Fl.includes(e) || t.some(
6881
6886
  (r) => r.product === Wr[e]
6882
6887
  ), Ll = (e, t, r, o, _, n) => {
6883
- var l, d, c, s, g;
6888
+ var l, d, c, s, p;
6884
6889
  const i = t.find(
6885
- (p) => p.product === Wr[e.id]
6890
+ (g) => g.product === Wr[e.id]
6886
6891
  );
6887
6892
  if (!i)
6888
6893
  throw new Error(`Product data for ${e.id} not found`);
6889
6894
  return E(k({}, e), {
6890
6895
  trialDaysLeft: r[e.id] && ((l = r[e.id]) == null ? void 0 : l.status) === "trial" && ((d = r[e.id]) != null && d.next_charge_at) ? Ml((s = (c = r[e.id]) == null ? void 0 : c.next_charge_at) != null ? s : "") : void 0,
6891
- expired: ((g = r[e.id]) == null ? void 0 : g.status) === "expired",
6896
+ expired: ((p = r[e.id]) == null ? void 0 : p.status) === "expired",
6892
6897
  url: Rl(
6893
6898
  i.clientId,
6894
6899
  i.redirectUri,
@@ -6974,21 +6979,21 @@ const ba = {
6974
6979
  "className",
6975
6980
  "size"
6976
6981
  ]);
6977
- const d = o_(e, t), c = Hl[o], s = zl[o], g = u(
6982
+ const d = o_(e, t), c = Hl[o], s = zl[o], p = u(
6978
6983
  ba[va],
6979
6984
  {
6980
6985
  [ba[`${va}--${o}`]]: o,
6981
6986
  [ba[`${va}--${e}`]]: e
6982
6987
  },
6983
6988
  r
6984
- ), p = 2 * Math.PI * ((s - c) / 2), v = {
6985
- strokeDasharray: p.toFixed(3),
6986
- strokeDashoffset: `${((100 - d) / 100 * p).toFixed(3)}px`
6989
+ ), g = 2 * Math.PI * ((s - c) / 2), v = {
6990
+ strokeDasharray: g.toFixed(3),
6991
+ strokeDashoffset: `${((100 - d) / 100 * g).toFixed(3)}px`
6987
6992
  }, m = `${s / 2} ${s / 2} ${s} ${s}`;
6988
6993
  return /* @__PURE__ */ a(
6989
6994
  "div",
6990
6995
  E(k({
6991
- className: g,
6996
+ className: p,
6992
6997
  ref: n,
6993
6998
  role: "progressbar"
6994
6999
  }, _), {
@@ -7092,17 +7097,17 @@ const ba = {
7092
7097
  onClose: d,
7093
7098
  onLinkClick: c
7094
7099
  }) => {
7095
- const s = h.useRef(null), [g, p] = h.useState("medium"), v = u(
7100
+ const s = h.useRef(null), [p, g] = h.useState("medium"), v = u(
7096
7101
  ze[Ve],
7097
7102
  {
7098
7103
  [ze[`${Ve}--light`]]: n,
7099
- [ze[`${Ve}--small`]]: g === "small",
7100
- [ze[`${Ve}--large`]]: g === "large"
7104
+ [ze[`${Ve}--small`]]: p === "small",
7105
+ [ze[`${Ve}--large`]]: p === "large"
7101
7106
  },
7102
7107
  e
7103
7108
  );
7104
7109
  h.useEffect(() => {
7105
- const b = () => s.current && s.current.offsetWidth <= Kl ? p("small") : s.current && s.current.offsetWidth >= Yl ? p("large") : p("medium"), C = To(
7110
+ const b = () => s.current && s.current.offsetWidth <= Kl ? g("small") : s.current && s.current.offsetWidth >= Yl ? g("large") : g("medium"), C = To(
7106
7111
  b,
7107
7112
  Xl
7108
7113
  );
@@ -7129,9 +7134,9 @@ const ba = {
7129
7134
  /* @__PURE__ */ f("div", { className: ze[`${Ve}__wrapper`], children: [
7130
7135
  /* @__PURE__ */ a("div", { className: ze[`${Ve}__header`], children: o }),
7131
7136
  /* @__PURE__ */ a(A, { as: "div", children: r }),
7132
- g !== "large" && m
7137
+ p !== "large" && m
7133
7138
  ] }),
7134
- g === "large" && m
7139
+ p === "large" && m
7135
7140
  ] }),
7136
7141
  d && /* @__PURE__ */ a(
7137
7142
  "button",
@@ -7288,11 +7293,11 @@ const ba = {
7288
7293
  cropOnBlur: l = !0,
7289
7294
  onChange: d
7290
7295
  }) => {
7291
- const [c, s] = h.useState(!0), [g, p] = h.useState(!1), v = h.useRef(null), m = !!n && !t && !r, b = e && !c && "true", C = u(
7296
+ const [c, s] = h.useState(!0), [p, g] = h.useState(!1), v = h.useRef(null), m = !!n && !t && !r, b = e && !c && "true", C = u(
7292
7297
  i,
7293
7298
  We[rt],
7294
7299
  We[`${rt}--${_}`],
7295
- g && We[`${rt}--focused`],
7300
+ p && We[`${rt}--focused`],
7296
7301
  t && We[`${rt}--disabled`],
7297
7302
  e && We[`${rt}--collapsable`],
7298
7303
  !c && We[`${rt}--collapsable--open`]
@@ -7309,9 +7314,9 @@ const ba = {
7309
7314
  var w;
7310
7315
  (w = v.current) == null || w.focus();
7311
7316
  }, x = () => {
7312
- e && s(!1), p(!0);
7317
+ e && s(!1), g(!0);
7313
7318
  }, B = () => {
7314
- e && !n && s(!0), p(!1);
7319
+ e && !n && s(!0), g(!1);
7315
7320
  }, y = (w) => {
7316
7321
  w.key === ke.enter && (w.preventDefault(), d(n));
7317
7322
  };
@@ -7490,8 +7495,8 @@ const ba = {
7490
7495
  "switch__loader--medium": "lc-Switch-module__switch__loader--medium___XpfaO",
7491
7496
  "switch__loader--large": "lc-Switch-module__switch__loader--large___NDgeg",
7492
7497
  switch__icon: tc
7493
- }, _e = "switch", Ys = (g) => {
7494
- var p = g, {
7498
+ }, _e = "switch", Ys = (p) => {
7499
+ var g = p, {
7495
7500
  className: e = "",
7496
7501
  defaultOn: t = !1,
7497
7502
  disabled: r = !1,
@@ -7502,7 +7507,7 @@ const ba = {
7502
7507
  state: l = "regular",
7503
7508
  innerRef: d,
7504
7509
  ariaLabel: c
7505
- } = p, s = F(p, [
7510
+ } = g, s = F(g, [
7506
7511
  "className",
7507
7512
  "defaultOn",
7508
7513
  "disabled",
@@ -7628,7 +7633,7 @@ const ba = {
7628
7633
  "size",
7629
7634
  "icon"
7630
7635
  ]);
7631
- const { disabled: s } = l, g = r !== void 0 && !_, p = r !== void 0 && _;
7636
+ const { disabled: s } = l, p = r !== void 0 && !_, g = r !== void 0 && _;
7632
7637
  return /* @__PURE__ */ f(
7633
7638
  A,
7634
7639
  E(k({}, l), {
@@ -7646,12 +7651,12 @@ const ba = {
7646
7651
  children: [
7647
7652
  i && /* @__PURE__ */ a("div", { "data-testId": "icon", className: Ft[`${Rt}__icon`], children: i }),
7648
7653
  e,
7649
- g && /* @__PURE__ */ f(A, { as: "span", size: "md", className: Ft[`${Rt}__count`], children: [
7654
+ p && /* @__PURE__ */ f(A, { as: "span", size: "md", className: Ft[`${Rt}__count`], children: [
7650
7655
  "(",
7651
7656
  r,
7652
7657
  ")"
7653
7658
  ] }),
7654
- p && /* @__PURE__ */ a(
7659
+ g && /* @__PURE__ */ a(
7655
7660
  er,
7656
7661
  {
7657
7662
  "data-testid": "tab-badge",
@@ -7728,15 +7733,15 @@ const ba = {
7728
7733
  size: i,
7729
7734
  tagProps: l
7730
7735
  }) => {
7731
- const d = h.useMemo(() => o !== void 0 ? o(e) : !0, [e, o]), c = h.useRef(null), s = () => r(t), g = () => d ? l ? l.kind : "default" : "error";
7732
- return /* @__PURE__ */ a(Zo, E(k({ size: i }, l), { kind: g(), onRemove: s, children: /* @__PURE__ */ a(
7736
+ const d = h.useMemo(() => o !== void 0 ? o(e) : !0, [e, o]), c = h.useRef(null), s = () => r(t), p = () => d ? l ? l.kind : "default" : "error";
7737
+ return /* @__PURE__ */ a(Zo, E(k({ size: i }, l), { kind: p(), onRemove: s, children: /* @__PURE__ */ a(
7733
7738
  lc,
7734
7739
  {
7735
7740
  value: e,
7736
7741
  inputRef: _,
7737
7742
  innerEditableRef: c,
7738
7743
  className: Ca[`${cc}__content`],
7739
- change: (p) => n(t, p),
7744
+ change: (g) => n(t, g),
7740
7745
  remove: s,
7741
7746
  validator: o
7742
7747
  }
@@ -7747,8 +7752,8 @@ const ba = {
7747
7752
  ke.tab,
7748
7753
  ke.semicolon,
7749
7754
  ke.comma
7750
- ], dc = [ke.backspace, ke.delete], uc = (p) => {
7751
- var v = p, {
7755
+ ], dc = [ke.backspace, ke.delete], uc = (g) => {
7756
+ var v = g, {
7752
7757
  id: e,
7753
7758
  tags: t,
7754
7759
  onChange: r,
@@ -7760,7 +7765,7 @@ const ba = {
7760
7765
  inputClassName: d,
7761
7766
  onBlur: c,
7762
7767
  addOnBlur: s = !0
7763
- } = v, g = F(v, [
7768
+ } = v, p = F(v, [
7764
7769
  "id",
7765
7770
  "tags",
7766
7771
  "onChange",
@@ -7841,7 +7846,7 @@ const ba = {
7841
7846
  t == null ? void 0 : t.map(G),
7842
7847
  /* @__PURE__ */ a(
7843
7848
  "input",
7844
- E(k({}, g), {
7849
+ E(k({}, p), {
7845
7850
  id: e,
7846
7851
  ref: $,
7847
7852
  className: b,
@@ -7926,7 +7931,7 @@ const ba = {
7926
7931
  le[Tt],
7927
7932
  le[`${Tt}--${_}`],
7928
7933
  t
7929
- ), s = typeof r == "string", g = (p) => p && p.closesOnClick && n ? (p.onClick(), n()) : p.onClick();
7934
+ ), s = typeof r == "string", p = (g) => g && g.closesOnClick && n ? (g.onClick(), n()) : g.onClick();
7930
7935
  return /* @__PURE__ */ f("div", E(k({ className: c }, i), { children: [
7931
7936
  /* @__PURE__ */ a("div", { className: le[`${Tt}__icon`], children: /* @__PURE__ */ a(P, E(k({}, kc[_]), { size: "medium" })) }),
7932
7937
  /* @__PURE__ */ a("div", { className: le[`${Tt}__content`], children: s ? /* @__PURE__ */ a(A, { as: "div", children: r }) : r }),
@@ -7937,7 +7942,7 @@ const ba = {
7937
7942
  className: le[`${Tt}__actions--custom`],
7938
7943
  kind: "text",
7939
7944
  size: "compact",
7940
- onClick: () => g(e),
7945
+ onClick: () => p(e),
7941
7946
  children: e.label
7942
7947
  }
7943
7948
  ),
@@ -7974,7 +7979,7 @@ const ba = {
7974
7979
  },
7975
7980
  e
7976
7981
  );
7977
- return /* @__PURE__ */ a("div", { className: l, children: /* @__PURE__ */ a(Ao, { component: null, children: t.map(({ id: d, kind: c, content: s, removable: g, action: p, onClose: v }) => /* @__PURE__ */ a(
7982
+ return /* @__PURE__ */ a("div", { className: l, children: /* @__PURE__ */ a(Ao, { component: null, children: t.map(({ id: d, kind: c, content: s, removable: p, action: g, onClose: v }) => /* @__PURE__ */ a(
7978
7983
  Do,
7979
7984
  {
7980
7985
  classNames: {
@@ -7989,8 +7994,8 @@ const ba = {
7989
7994
  {
7990
7995
  kind: c,
7991
7996
  onClose: v,
7992
- removable: g,
7993
- action: p,
7997
+ removable: p,
7998
+ action: g,
7994
7999
  children: s
7995
8000
  }
7996
8001
  )
@@ -8005,21 +8010,21 @@ const ba = {
8005
8010
  }, Ja = "textarea", Js = h.forwardRef(
8006
8011
  (_, o) => {
8007
8012
  var n = _, { className: e, error: t } = n, r = F(n, ["className", "error"]);
8008
- const { disabled: i, onBlur: l, onFocus: d } = r, [c, s] = h.useState(!1), g = u(e, Qa[Ja], {
8013
+ const { disabled: i, onBlur: l, onFocus: d } = r, [c, s] = h.useState(!1), p = u(e, Qa[Ja], {
8009
8014
  [Qa[`${Ja}--disabled`]]: i,
8010
8015
  [Qa[`${Ja}--focused`]]: c,
8011
8016
  [Qa[`${Ja}--error`]]: t
8012
- }), p = (m) => {
8017
+ }), g = (m) => {
8013
8018
  s(!1), l == null || l(m);
8014
8019
  }, v = (m) => {
8015
8020
  s(!0), d == null || d(m);
8016
8021
  };
8017
- return /* @__PURE__ */ a(A, { as: "div", className: g, children: /* @__PURE__ */ a(
8022
+ return /* @__PURE__ */ a(A, { as: "div", className: p, children: /* @__PURE__ */ a(
8018
8023
  "textarea",
8019
8024
  E(k({}, r), {
8020
8025
  ref: o,
8021
8026
  onFocus: v,
8022
- onBlur: p
8027
+ onBlur: g
8023
8028
  })
8024
8029
  ) });
8025
8030
  }
@@ -8186,12 +8191,12 @@ const ba = {
8186
8191
  size: d,
8187
8192
  mode: c = "multiple",
8188
8193
  onCloseButtonClick: s,
8189
- onRetryButtonClick: g
8194
+ onRetryButtonClick: p
8190
8195
  }) => {
8191
- const [p, v] = h.useState(_ || !1), m = i === "error", b = i === "success", C = u(j[Ne], t, {
8196
+ const [g, v] = h.useState(_ || !1), m = i === "error", b = i === "success", C = u(j[Ne], t, {
8192
8197
  [j[`${Ne}--error`]]: m,
8193
8198
  [j[`${Ne}--success`]]: b
8194
- }), N = !(m && (g || s)), $ = () => v(!p);
8199
+ }), N = !(m && (p || s)), $ = () => v(!g);
8195
8200
  return c === "single" ? /* @__PURE__ */ a("div", { className: C, children: /* @__PURE__ */ f("div", { className: j[`${Ne}__wrapper`], children: [
8196
8201
  /* @__PURE__ */ a("div", { className: j[`${$t}`], children: /* @__PURE__ */ a(
8197
8202
  xc,
@@ -8208,7 +8213,7 @@ const ba = {
8208
8213
  {
8209
8214
  status: i,
8210
8215
  onCloseButtonClick: s,
8211
- onRetryButtonClick: g
8216
+ onRetryButtonClick: p
8212
8217
  }
8213
8218
  )
8214
8219
  ] }) }) : /* @__PURE__ */ f("div", { className: C, children: [
@@ -8227,7 +8232,7 @@ const ba = {
8227
8232
  type: "button",
8228
8233
  "aria-label": "Collapse button",
8229
8234
  onClick: $,
8230
- children: p ? /* @__PURE__ */ a(P, { source: rr }) : /* @__PURE__ */ a(P, { source: Ut })
8235
+ children: g ? /* @__PURE__ */ a(P, { source: rr }) : /* @__PURE__ */ a(P, { source: Ut })
8231
8236
  }
8232
8237
  ),
8233
8238
  i === "error" && /* @__PURE__ */ a("div", { className: j[`${$t}__actions-container`], children: /* @__PURE__ */ a(
@@ -8235,13 +8240,13 @@ const ba = {
8235
8240
  {
8236
8241
  status: i,
8237
8242
  onCloseButtonClick: s,
8238
- onRetryButtonClick: g
8243
+ onRetryButtonClick: p
8239
8244
  }
8240
8245
  ) })
8241
8246
  ] })
8242
8247
  }
8243
8248
  ),
8244
- /* @__PURE__ */ a(Ao, { component: null, children: p && /* @__PURE__ */ a(
8249
+ /* @__PURE__ */ a(Ao, { component: null, children: g && /* @__PURE__ */ a(
8245
8250
  Do,
8246
8251
  {
8247
8252
  timeout: Sc,