@livechat/design-system-react-components 1.7.0 → 1.8.0

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/dsrc.es.js CHANGED
@@ -23,7 +23,7 @@ var Vt = (t, a, r) => (Wt(t, typeof a != "symbol" ? a + "" : a, r), r);
23
23
  import * as e from "react";
24
24
  import { useReducer as $r, useRef as wr, useEffect as st, useCallback as Ct, useMemo as Nt } from "react";
25
25
  import { Close as Ne, ChevronLeft as Ua, ChevronDown as $t, Info as ca, Warning as Wa, CheckCircle as Va, Block as Ya, Person as Cr, ChevronUp as Gt, DoubleArrowLeft as Nr, ChevronRight as ea, DoubleArrowRight as xr, VisibilityOn as Sr, VisibilityOff as Dr, Check as la, Search as Tr, LockBlackFilled as Br, Refresh as Ar, Error as Ir } from "@livechat/design-system-icons";
26
- import p, { clsx as Je } from "clsx";
26
+ import g, { clsx as Je } from "clsx";
27
27
  import { useFloating as na, offset as sa, flip as ia, autoUpdate as da, useClick as ua, useDismiss as ma, useRole as pa, useInteractions as ga, useTransitionStyles as qa, shift as Ka, arrow as Pr, useHover as Fr, safePolygon as Rr, useFocus as Mr, useTransitionStatus as Lr, FloatingArrow as Or, FloatingFocusManager as Hr } from "@floating-ui/react";
28
28
  import Ja from "lodash.debounce";
29
29
  import { getContrast as ba } from "polished";
@@ -373,9 +373,9 @@ const Rc = {
373
373
  placement: o = "bottom-end",
374
374
  openedOnInit: c = !1,
375
375
  keepOpenOnClick: l,
376
- flipOptions: s,
377
- visible: i,
378
- onClose: n,
376
+ flipOptions: n,
377
+ visible: s,
378
+ onClose: i,
379
379
  onOpen: d,
380
380
  floatingStrategy: m
381
381
  } = v, u = P(v, [
@@ -392,10 +392,10 @@ const Rc = {
392
392
  "onOpen",
393
393
  "floatingStrategy"
394
394
  ]);
395
- const g = i !== void 0, [b, k] = e.useState(c), f = e.useRef(-1), $ = e.useRef(null), w = g ? i : b, F = () => {
396
- w ? (n == null || n(), !g && k(!1)) : (d == null || d(), !g && k(!0));
395
+ const p = s !== void 0, [b, k] = e.useState(c), f = e.useRef(-1), $ = e.useRef(null), w = p ? s : b, F = () => {
396
+ w ? (i == null || i(), !p && k(!1)) : (d == null || d(), !p && k(!0));
397
397
  }, { x: E, y: T, strategy: S, refs: se, context: A } = na({
398
- middleware: [sa(4), ia(s)],
398
+ middleware: [sa(4), ia(n)],
399
399
  placement: o,
400
400
  open: w,
401
401
  strategy: m,
@@ -443,7 +443,7 @@ const Rc = {
443
443
  f.current = -1;
444
444
  }, [w, R]);
445
445
  const U = (N, ee) => {
446
- f.current = N, ee == null || ee(), !g && !l && (k(!1), n == null || n());
446
+ f.current = N, ee == null || ee(), !p && !l && (k(!1), i == null || i());
447
447
  }, Y = (N, ee) => N.groupHeader ? /* @__PURE__ */ e.createElement(
448
448
  "li",
449
449
  {
@@ -461,7 +461,7 @@ const Rc = {
461
461
  disabled: N.disabled,
462
462
  onClick: () => U(ee, N.onClick),
463
463
  role: "menuitem",
464
- className: p(Qe[`${Ze}__list__item`], {
464
+ className: g(Qe[`${Ze}__list__item`], {
465
465
  [Qe[`${Ze}__list__item--disabled`]]: N.disabled,
466
466
  [Qe[`${Ze}__list__item--with-divider`]]: N.withDivider
467
467
  })
@@ -491,7 +491,7 @@ const Rc = {
491
491
  /* @__PURE__ */ e.createElement(
492
492
  "ul",
493
493
  B(y({}, u), {
494
- className: p(Qe[`${Ze}__list`], t),
494
+ className: g(Qe[`${Ze}__list`], t),
495
495
  role: "menu",
496
496
  ref: $
497
497
  }),
@@ -536,11 +536,11 @@ const Rc = {
536
536
  ]);
537
537
  return e.createElement(
538
538
  t || Yr[a],
539
- y({ className: p(lt[`heading-${a}`], _) }, o),
539
+ y({ className: g(lt[`heading-${a}`], _) }, o),
540
540
  r
541
541
  );
542
- }, M = (n) => {
543
- var d = n, {
542
+ }, M = (i) => {
543
+ var d = i, {
544
544
  as: t = "p",
545
545
  size: a = "md",
546
546
  caps: r = !1,
@@ -548,8 +548,8 @@ const Rc = {
548
548
  underline: o = !1,
549
549
  strike: c = !1,
550
550
  children: l,
551
- className: s
552
- } = d, i = P(d, [
551
+ className: n
552
+ } = d, s = P(d, [
553
553
  "as",
554
554
  "size",
555
555
  "caps",
@@ -563,16 +563,16 @@ const Rc = {
563
563
  return e.createElement(
564
564
  t,
565
565
  y({
566
- className: p(
566
+ className: g(
567
567
  {
568
568
  [lt[`${m}`]]: !0,
569
569
  [lt[`${m}--bold`]]: _,
570
570
  [lt[`${m}--strike`]]: c,
571
571
  [lt[`${m}--underline`]]: o
572
572
  },
573
- s
573
+ n
574
574
  )
575
- }, i),
575
+ }, s),
576
576
  l
577
577
  );
578
578
  }, zc = (c) => {
@@ -589,7 +589,7 @@ const Rc = {
589
589
  ]);
590
590
  return e.createElement(
591
591
  t,
592
- y({ className: p(lt[`display-${a}`], _) }, o),
592
+ y({ className: g(lt[`display-${a}`], _) }, o),
593
593
  r
594
594
  );
595
595
  }, it = {
@@ -601,7 +601,7 @@ const Rc = {
601
601
  }, dt = "action-menu-item", qr = ({ leftNode: t, rightNode: a, children: r, kind: _ }) => /* @__PURE__ */ e.createElement(
602
602
  "div",
603
603
  {
604
- className: p(it[dt], {
604
+ className: g(it[dt], {
605
605
  [it[`${dt}--warning`]]: _ === "warning"
606
606
  })
607
607
  },
@@ -623,10 +623,10 @@ const Rc = {
623
623
  label: r,
624
624
  className: _,
625
625
  size: o = "medium"
626
- }) => /* @__PURE__ */ e.createElement("div", { className: p(ut[Xa], _) }, /* @__PURE__ */ e.createElement(
626
+ }) => /* @__PURE__ */ e.createElement("div", { className: g(ut[Xa], _) }, /* @__PURE__ */ e.createElement(
627
627
  "div",
628
628
  {
629
- className: p(ut[wa], ut[`${wa}--${o}`])
629
+ className: g(ut[wa], ut[`${wa}--${o}`])
630
630
  },
631
631
  /* @__PURE__ */ e.createElement(
632
632
  "div",
@@ -677,8 +677,8 @@ const Rc = {
677
677
  "btn__icon--right": "lc-Button-module__btn__icon--right___fHr3D",
678
678
  "btn--icon-only--bg": "lc-Button-module__btn--icon-only--bg___X-4V2"
679
679
  }, pe = "btn", G = e.forwardRef(
680
- (g, v) => {
681
- var b = g, {
680
+ (p, v) => {
681
+ var b = p, {
682
682
  loading: t = !1,
683
683
  disabled: a = !1,
684
684
  type: r = "button",
@@ -686,9 +686,9 @@ const Rc = {
686
686
  kind: o = "basic",
687
687
  size: c = "medium",
688
688
  icon: l = null,
689
- iconPosition: s = "left",
690
- loaderLabel: i,
691
- className: n,
689
+ iconPosition: n = "left",
690
+ loaderLabel: s,
691
+ className: i,
692
692
  children: d,
693
693
  href: m,
694
694
  onClick: u
@@ -707,8 +707,8 @@ const Rc = {
707
707
  "href",
708
708
  "onClick"
709
709
  ]);
710
- const k = t || a, f = !d && l, $ = ["text", "link", "link-light"].includes(o), w = m ? "a" : "button", F = p(
711
- n,
710
+ const k = t || a, f = !d && l, $ = ["text", "link", "link-light"].includes(o), w = m ? "a" : "button", F = g(
711
+ i,
712
712
  me[pe],
713
713
  me[`${pe}--${o}`],
714
714
  me[`${pe}--${c}`],
@@ -733,15 +733,15 @@ const Rc = {
733
733
  fa,
734
734
  y({
735
735
  size: "small",
736
- label: i,
736
+ label: s,
737
737
  className: me[`${pe}__loader`]
738
738
  }, Zr(o))
739
739
  ),
740
740
  l && e.cloneElement(l, {
741
- className: p(
741
+ className: g(
742
742
  l.props.className,
743
743
  me[`${pe}__icon`],
744
- me[`${pe}__icon--${s}`]
744
+ me[`${pe}__icon--${n}`]
745
745
  ),
746
746
  disabled: a
747
747
  }),
@@ -811,21 +811,21 @@ const Rc = {
811
811
  disabled: o,
812
812
  className: c,
813
813
  customColor: l
814
- } = d, s = P(d, [
814
+ } = d, n = P(d, [
815
815
  "source",
816
816
  "size",
817
817
  "kind",
818
818
  "disabled",
819
819
  "className",
820
820
  "customColor"
821
- ]), i = e.createElement(a, B(y({}, r_[r]), {
821
+ ]), s = e.createElement(a, B(y({}, r_[r]), {
822
822
  color: l
823
- })), n = p(
823
+ })), i = g(
824
824
  c,
825
825
  Ca[Na],
826
826
  _ && Ca[`${Na}--${o ? "disabled--" : ""}${_}`]
827
827
  );
828
- return /* @__PURE__ */ e.createElement("span", B(y({}, s), { className: n }), i);
828
+ return /* @__PURE__ */ e.createElement("span", B(y({}, n), { className: i }), s);
829
829
  };
830
830
  function er(t) {
831
831
  switch (t) {
@@ -883,15 +883,15 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
883
883
  theme: o,
884
884
  kind: c,
885
885
  placement: l = "bottom",
886
- isVisible: s,
887
- fullSpaceContent: i,
888
- onClose: n,
886
+ isVisible: n,
887
+ fullSpaceContent: s,
888
+ onClose: i,
889
889
  onOpen: d,
890
890
  withFadeAnimation: m = !0,
891
891
  transitionDuration: u = 200,
892
892
  hoverOnDuration: h,
893
893
  hoverOffDuration: v,
894
- transitionDelay: g = 0,
894
+ transitionDelay: p = 0,
895
895
  hoverOnDelay: b,
896
896
  hoverOffDelay: k,
897
897
  triggerOnClick: f = !1,
@@ -905,14 +905,14 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
905
905
  closeOnTriggerBlur: A = !1,
906
906
  floatingStrategy: J
907
907
  }) => {
908
- const X = s !== void 0, [Le, Be] = e.useState(!1), fe = e.useRef(null), Oe = X ? s : Le, Ge = c || o, Ue = p(
908
+ const X = n !== void 0, [Le, Be] = e.useState(!1), fe = e.useRef(null), Oe = X ? n : Le, Ge = c || o, Ue = g(
909
909
  C[xt],
910
910
  a,
911
911
  Ge && C[`${xt}--${Ge}`],
912
- i && C[`${xt}--full-space`]
912
+ s && C[`${xt}--full-space`]
913
913
  ), R = typeof _ == "function", U = (ve) => {
914
- ve !== Oe && (ve ? d == null || d() : n == null || n(), !X && Be(ve));
915
- }, Y = (ve) => m ? ve != null ? ve : u : 0, N = (ve) => ve != null ? ve : g, {
914
+ ve !== Oe && (ve ? d == null || d() : i == null || i(), !X && Be(ve));
915
+ }, Y = (ve) => m ? ve != null ? ve : u : 0, N = (ve) => ve != null ? ve : p, {
916
916
  floatingStyles: ee,
917
917
  refs: W,
918
918
  context: _e,
@@ -990,7 +990,7 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
990
990
  ), a && /* @__PURE__ */ e.createElement(
991
991
  "div",
992
992
  {
993
- className: p(
993
+ className: g(
994
994
  C[`${mt}-header`],
995
995
  C[`${mt}-header--info`]
996
996
  )
@@ -999,7 +999,7 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
999
999
  ), /* @__PURE__ */ e.createElement(
1000
1000
  "div",
1001
1001
  {
1002
- className: p(
1002
+ className: g(
1003
1003
  C[`${mt}-text`],
1004
1004
  C[`${mt}-text--info`]
1005
1005
  )
@@ -1013,9 +1013,9 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
1013
1013
  theme: o,
1014
1014
  handleCloseAction: c,
1015
1015
  primaryButton: l,
1016
- secondaryButton: s
1016
+ secondaryButton: n
1017
1017
  }) => {
1018
- const i = (n) => n === "invert" ? "secondary" : "high-contrast";
1018
+ const s = (i) => i === "invert" ? "secondary" : "high-contrast";
1019
1019
  return /* @__PURE__ */ e.createElement("div", { className: C[`${xe}__interactive`] }, _ && /* @__PURE__ */ e.createElement(
1020
1020
  "button",
1021
1021
  {
@@ -1033,7 +1033,7 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
1033
1033
  )), t && /* @__PURE__ */ e.createElement("div", { className: C[`${xe}-header`] }, t), /* @__PURE__ */ e.createElement("div", { className: C[`${xe}-text`] }, a), /* @__PURE__ */ e.createElement(
1034
1034
  "div",
1035
1035
  {
1036
- className: p(
1036
+ className: g(
1037
1037
  C[`${xe}-footer`],
1038
1038
  C[`${xe}-footer--interactive`]
1039
1039
  )
@@ -1041,7 +1041,7 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
1041
1041
  /* @__PURE__ */ e.createElement(
1042
1042
  G,
1043
1043
  {
1044
- kind: l.kind || i(o),
1044
+ kind: l.kind || s(o),
1045
1045
  onClick: l.handleClick
1046
1046
  },
1047
1047
  l.label
@@ -1049,13 +1049,13 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
1049
1049
  /* @__PURE__ */ e.createElement(
1050
1050
  G,
1051
1051
  {
1052
- className: p(C[`${xe}-footer-secondary`], {
1052
+ className: g(C[`${xe}-footer-secondary`], {
1053
1053
  [C[`${xe}-footer-secondary-invert`]]: o === "invert"
1054
1054
  }),
1055
- kind: s.kind || "text",
1056
- onClick: s.handleClick
1055
+ kind: n.kind || "text",
1056
+ onClick: n.handleClick
1057
1057
  },
1058
- s.label
1058
+ n.label
1059
1059
  )
1060
1060
  ));
1061
1061
  }, te = "guide-tooltip", n_ = ({
@@ -1081,12 +1081,12 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
1081
1081
  left: "0",
1082
1082
  width: "100%",
1083
1083
  height: `${t.top}px`
1084
- }, s = {
1084
+ }, n = {
1085
1085
  top: `${t.bottom}px`,
1086
1086
  left: "0",
1087
1087
  width: "100%",
1088
1088
  height: `calc(100% - ${t.bottom}px)`
1089
- }, i = {
1089
+ }, s = {
1090
1090
  top: `${t.top}px`,
1091
1091
  left: `${t.left}px`,
1092
1092
  width: `${t.width}px`,
@@ -1096,7 +1096,7 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
1096
1096
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
1097
1097
  "div",
1098
1098
  {
1099
- className: p({
1099
+ className: g({
1100
1100
  [C[`${te}__overlay`]]: !0,
1101
1101
  [C[`${te}__overlay--visible`]]: a,
1102
1102
  [C[`${te}__overlay--slide`]]: r
@@ -1106,7 +1106,7 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
1106
1106
  ), /* @__PURE__ */ e.createElement(
1107
1107
  "div",
1108
1108
  {
1109
- className: p({
1109
+ className: g({
1110
1110
  [C[`${te}__overlay`]]: !0,
1111
1111
  [C[`${te}__overlay--visible`]]: a,
1112
1112
  [C[`${te}__overlay--slide`]]: r
@@ -1116,7 +1116,7 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
1116
1116
  ), /* @__PURE__ */ e.createElement(
1117
1117
  "div",
1118
1118
  {
1119
- className: p({
1119
+ className: g({
1120
1120
  [C[`${te}__overlay`]]: !0,
1121
1121
  [C[`${te}__overlay--visible`]]: a,
1122
1122
  [C[`${te}__overlay--slide`]]: r
@@ -1126,22 +1126,22 @@ const o_ = "lc-Tooltip-module__tooltip___QOOAr", c_ = "lc-Tooltip-module__toolti
1126
1126
  ), /* @__PURE__ */ e.createElement(
1127
1127
  "div",
1128
1128
  {
1129
- className: p({
1129
+ className: g({
1130
1130
  [C[`${te}__overlay`]]: !0,
1131
1131
  [C[`${te}__overlay--visible`]]: a,
1132
1132
  [C[`${te}__overlay--slide`]]: r
1133
1133
  }),
1134
- style: s
1134
+ style: n
1135
1135
  }
1136
1136
  ), _ && /* @__PURE__ */ e.createElement(
1137
1137
  "div",
1138
1138
  {
1139
- className: p({
1139
+ className: g({
1140
1140
  [C[`${te}__overlay`]]: !0,
1141
1141
  [C[`${te}__overlay--visible`]]: a,
1142
1142
  [C[`${te}__overlay--slide`]]: r
1143
1143
  }),
1144
- style: i
1144
+ style: s
1145
1145
  }
1146
1146
  ));
1147
1147
  };
@@ -1152,16 +1152,16 @@ class s_ {
1152
1152
  this.element = a, this.padding = r;
1153
1153
  }
1154
1154
  addPadding(a) {
1155
- const r = Math.round(a.left) - this.padding, _ = Math.round(a.top) - this.padding, o = Math.round(a.width) + 2 * this.padding, c = Math.round(a.height) + 2 * this.padding, l = _, s = r, i = l + c, n = s + o;
1155
+ const r = Math.round(a.left) - this.padding, _ = Math.round(a.top) - this.padding, o = Math.round(a.width) + 2 * this.padding, c = Math.round(a.height) + 2 * this.padding, l = _, n = r, s = l + c, i = n + o;
1156
1156
  return {
1157
1157
  x: r,
1158
1158
  y: _,
1159
1159
  width: o,
1160
1160
  height: c,
1161
1161
  top: l,
1162
- left: s,
1163
- bottom: i,
1164
- right: n
1162
+ left: n,
1163
+ bottom: s,
1164
+ right: i
1165
1165
  };
1166
1166
  }
1167
1167
  getBoundingClientRect() {
@@ -1182,8 +1182,8 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
1182
1182
  shouldSlide: o = !0
1183
1183
  } = t, [c, l] = e.useState(
1184
1184
  null
1185
- ), [s, i] = e.useState(null), [n, d] = e.useState(o), m = () => {
1186
- c && (i(
1185
+ ), [n, s] = e.useState(null), [i, d] = e.useState(o), m = () => {
1186
+ c && (s(
1187
1187
  Da(
1188
1188
  c,
1189
1189
  xa
@@ -1201,7 +1201,7 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
1201
1201
  l(u);
1202
1202
  }
1203
1203
  }, [r]), e.useEffect(() => {
1204
- c && i(
1204
+ c && s(
1205
1205
  Da(
1206
1206
  c,
1207
1207
  xa
@@ -1210,22 +1210,22 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
1210
1210
  }, [c]), c && _ ? /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
1211
1211
  n_,
1212
1212
  {
1213
- gap: s,
1213
+ gap: n,
1214
1214
  isVisible: _,
1215
- slide: n,
1215
+ slide: i,
1216
1216
  disablePointerEvents: !0
1217
1217
  }
1218
1218
  ), /* @__PURE__ */ e.createElement(
1219
1219
  tr,
1220
1220
  B(y({}, t), {
1221
1221
  referenceElement: {
1222
- getBoundingClientRect: () => s,
1222
+ getBoundingClientRect: () => n,
1223
1223
  contextElement: c
1224
1224
  },
1225
1225
  arrowOffsetY: 25,
1226
- className: p({
1226
+ className: g({
1227
1227
  [C[Sa]]: !0,
1228
- [C[`${Sa}--slide`]]: n,
1228
+ [C[`${Sa}--slide`]]: i,
1229
1229
  className: a
1230
1230
  })
1231
1231
  }),
@@ -1264,7 +1264,7 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
1264
1264
  activeOptionKey: r,
1265
1265
  vertical: _
1266
1266
  }) => {
1267
- const o = p(ne[`${St}__button`], {
1267
+ const o = g(ne[`${St}__button`], {
1268
1268
  [ne[`${St}__button--hidden`]]: a.includes(
1269
1269
  t.key
1270
1270
  ),
@@ -1316,29 +1316,29 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
1316
1316
  activeOptionKey: o,
1317
1317
  vertical: c
1318
1318
  }) => {
1319
- const [l, s] = e.useState([]), i = r === "scroll", n = p(
1319
+ const [l, n] = e.useState([]), s = r === "scroll", i = g(
1320
1320
  ne[Xe],
1321
1321
  t,
1322
1322
  c && ne[`${Xe}--vertical`]
1323
1323
  ), d = `${Xe}__menu-wrapper`, m = {
1324
1324
  root: document.querySelector(`${a}`),
1325
1325
  threshold: 1
1326
- }, u = !i && l.length !== 0, h = (b) => {
1326
+ }, u = !s && l.length !== 0, h = (b) => {
1327
1327
  b.map((k) => {
1328
1328
  const f = l.includes(k.target.id);
1329
1329
  if (!k.isIntersecting) {
1330
- k.target.setAttribute("tabindex", "-1"), f || s(($) => [
1330
+ k.target.setAttribute("tabindex", "-1"), f || n(($) => [
1331
1331
  ...$,
1332
1332
  k.target.id
1333
1333
  ]);
1334
1334
  return;
1335
1335
  }
1336
- k.target.removeAttribute("tabindex"), f && s(l.filter(($) => $ !== k.target.id));
1336
+ k.target.removeAttribute("tabindex"), f && n(l.filter(($) => $ !== k.target.id));
1337
1337
  });
1338
1338
  };
1339
1339
  e.useEffect(() => {
1340
1340
  const b = !!window.IntersectionObserver;
1341
- if (!i && b) {
1341
+ if (!s && b) {
1342
1342
  const k = document.querySelectorAll(
1343
1343
  `.${ne[`${Xe}__items__button`]}`
1344
1344
  ), f = new IntersectionObserver(
@@ -1347,19 +1347,19 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
1347
1347
  );
1348
1348
  return k.forEach(($) => f.observe($)), () => f.disconnect();
1349
1349
  }
1350
- }, [l, i]);
1350
+ }, [l, s]);
1351
1351
  const v = (b) => _.filter(
1352
1352
  (f) => b.find(($) => $ === f.key)
1353
1353
  ).map((f) => ({
1354
1354
  key: f.key,
1355
1355
  element: /* @__PURE__ */ e.createElement(qr, { leftNode: f.element }, f.label),
1356
1356
  onClick: f.onClick
1357
- })), g = _.filter((b) => l.find((k) => k === b.key)).find((b) => b.key === o);
1358
- return /* @__PURE__ */ e.createElement("div", { id: a, className: n }, /* @__PURE__ */ e.createElement(
1357
+ })), p = _.filter((b) => l.find((k) => k === b.key)).find((b) => b.key === o);
1358
+ return /* @__PURE__ */ e.createElement("div", { id: a, className: i }, /* @__PURE__ */ e.createElement(
1359
1359
  "div",
1360
1360
  {
1361
- className: p(ne[`${Xe}__items`], {
1362
- [ne[`${Xe}__items--scroll`]]: i
1361
+ className: g(ne[`${Xe}__items`], {
1362
+ [ne[`${Xe}__items--scroll`]]: s
1363
1363
  })
1364
1364
  },
1365
1365
  _.map((b) => /* @__PURE__ */ e.createElement(
@@ -1376,15 +1376,15 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
1376
1376
  {
1377
1377
  placement: c ? "left-end" : "bottom-end",
1378
1378
  options: v(l),
1379
- triggerClassName: p(
1379
+ triggerClassName: g(
1380
1380
  c && ne[`${d}__trigger-vertical`]
1381
1381
  ),
1382
1382
  triggerRenderer: /* @__PURE__ */ e.createElement(
1383
1383
  G,
1384
1384
  {
1385
- className: p(
1385
+ className: g(
1386
1386
  ne[`${d}__button`],
1387
- g && ne[`${d}__button--active`]
1387
+ p && ne[`${d}__button--active`]
1388
1388
  ),
1389
1389
  kind: "plain",
1390
1390
  icon: /* @__PURE__ */ e.createElement(
@@ -1396,14 +1396,14 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
1396
1396
  ),
1397
1397
  iconPosition: "right"
1398
1398
  },
1399
- g && /* @__PURE__ */ e.createElement(
1399
+ p && /* @__PURE__ */ e.createElement(
1400
1400
  "div",
1401
1401
  {
1402
- className: p(
1402
+ className: g(
1403
1403
  ne[`${d}__button__with-item`]
1404
1404
  )
1405
1405
  },
1406
- g.element
1406
+ p.element
1407
1407
  )
1408
1408
  )
1409
1409
  }
@@ -1440,15 +1440,15 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
1440
1440
  source: Ya,
1441
1441
  kind: "error"
1442
1442
  }
1443
- }, ke = "alert", Kc = (s) => {
1444
- var i = s, {
1443
+ }, ke = "alert", Kc = (n) => {
1444
+ var s = n, {
1445
1445
  children: t,
1446
1446
  className: a,
1447
1447
  primaryButton: r,
1448
1448
  secondaryButton: _,
1449
1449
  kind: o = "info",
1450
1450
  onClose: c
1451
- } = i, l = P(i, [
1451
+ } = s, l = P(s, [
1452
1452
  "children",
1453
1453
  "className",
1454
1454
  "primaryButton",
@@ -1456,7 +1456,7 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
1456
1456
  "kind",
1457
1457
  "onClose"
1458
1458
  ]);
1459
- const n = e.useRef(null), [d, m] = e.useState(null), u = p(
1459
+ const i = e.useRef(null), [d, m] = e.useState(null), u = g(
1460
1460
  he[ke],
1461
1461
  he[`${ke}--${o}`],
1462
1462
  d === "medium" && he[`${ke}--medium`],
@@ -1464,11 +1464,11 @@ const xa = 8, Sa = "guide-tooltip", Da = (t, a) => new s_(t, a), Vc = (t) => {
1464
1464
  a
1465
1465
  );
1466
1466
  return e.useEffect(() => {
1467
- const h = () => n.current && n.current.offsetWidth <= 400 ? m("small") : n.current && n.current.offsetWidth > 400 && n.current.offsetWidth <= 800 ? m("medium") : m(null), v = Ja(() => {
1467
+ const h = () => i.current && i.current.offsetWidth <= 400 ? m("small") : i.current && i.current.offsetWidth > 400 && i.current.offsetWidth <= 800 ? m("medium") : m(null), v = Ja(() => {
1468
1468
  h();
1469
1469
  }, 500);
1470
1470
  return window.addEventListener("resize", v), h(), () => window.removeEventListener("resize", v);
1471
- }), /* @__PURE__ */ e.createElement("div", y({ ref: n, className: u }, l), /* @__PURE__ */ e.createElement("div", { className: he[`${ke}__content`] }, /* @__PURE__ */ e.createElement("div", { className: he[`${ke}__content__wrapper`] }, /* @__PURE__ */ e.createElement(
1471
+ }), /* @__PURE__ */ e.createElement("div", y({ ref: i, className: u }, l), /* @__PURE__ */ e.createElement("div", { className: he[`${ke}__content`] }, /* @__PURE__ */ e.createElement("div", { className: he[`${ke}__content__wrapper`] }, /* @__PURE__ */ e.createElement(
1472
1472
  x,
1473
1473
  B(y({}, v_[o]), {
1474
1474
  size: "large",
@@ -1585,30 +1585,30 @@ const E_ = "lc-Avatar-module__avatar___1zTCE", $_ = "lc-Avatar-module__avatar__s
1585
1585
  size: o = "medium",
1586
1586
  src: c,
1587
1587
  status: l,
1588
- text: s,
1589
- type: i,
1590
- withRim: n = !1
1588
+ text: n,
1589
+ type: s,
1590
+ withRim: i = !1
1591
1591
  }) => {
1592
- const d = i === "image" && !c, [m, u] = e.useState(d), h = i === "image" && !!c && !m, v = i === "text", g = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, b = k_(s, g), k = r || h_(s), f = k ? y_(k) : void 0, $ = v ? { backgroundColor: k } : {}, w = p(y({
1592
+ const d = s === "image" && !c, [m, u] = e.useState(d), h = s === "image" && !!c && !m, v = s === "text", p = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, b = k_(n, p), k = r || h_(n), f = k ? y_(k) : void 0, $ = v ? { backgroundColor: k } : {}, w = g(y({
1593
1593
  [ie[Z]]: !0,
1594
1594
  [ie[`${Z}--${_}`]]: !0,
1595
1595
  [ie[`${Z}--${o}`]]: !0,
1596
- [ie[`${Z}--with-rim`]]: n
1597
- }, a ? { [`${a}`]: a } : {})), F = p(
1596
+ [ie[`${Z}--with-rim`]]: i
1597
+ }, a ? { [`${a}`]: a } : {})), F = g(
1598
1598
  ie[`${Z}__status`],
1599
1599
  ie[`${Z}__status--${_}`],
1600
1600
  ie[`${Z}__status--${o}`],
1601
1601
  ...l ? [ie[`${Z}__status--${l}`]] : []
1602
- ), E = p(
1602
+ ), E = g(
1603
1603
  ie[`${Z}__icon`],
1604
1604
  ie[`${Z}__icon--${o}`]
1605
- ), T = p(
1605
+ ), T = g(
1606
1606
  ie[`${Z}__rim`],
1607
1607
  ie[`${Z}__rim--${o}`]
1608
1608
  ), S = e.useCallback(() => u(!0), []);
1609
1609
  return e.useEffect(() => {
1610
1610
  u(d);
1611
- }, [d]), /* @__PURE__ */ e.createElement("div", { className: w, style: $ }, n && /* @__PURE__ */ e.createElement(
1611
+ }, [d]), /* @__PURE__ */ e.createElement("div", { className: w, style: $ }, i && /* @__PURE__ */ e.createElement(
1612
1612
  "div",
1613
1613
  {
1614
1614
  "data-testid": `${Z}__rim`,
@@ -1649,15 +1649,15 @@ const S_ = "lc-Badge-module__badge___GhLnu", D_ = "lc-Badge-module__badge__dot__
1649
1649
  "badge--primary": "lc-Badge-module__badge--primary___8LRpp",
1650
1650
  "badge--secondary": "lc-Badge-module__badge--secondary___JjNIJ",
1651
1651
  "badge--tertiary": "lc-Badge-module__badge--tertiary___e83wV"
1652
- }, Tt = "badge", T_ = (s) => {
1653
- var i = s, {
1652
+ }, Tt = "badge", T_ = (n) => {
1653
+ var s = n, {
1654
1654
  className: t,
1655
1655
  count: a = 0,
1656
1656
  max: r = 99,
1657
1657
  kind: _ = "primary",
1658
1658
  size: o = "medium",
1659
1659
  type: c = "counter"
1660
- } = i, l = P(i, [
1660
+ } = s, l = P(s, [
1661
1661
  "className",
1662
1662
  "count",
1663
1663
  "max",
@@ -1665,7 +1665,7 @@ const S_ = "lc-Badge-module__badge___GhLnu", D_ = "lc-Badge-module__badge__dot__
1665
1665
  "size",
1666
1666
  "type"
1667
1667
  ]);
1668
- const n = p(
1668
+ const i = g(
1669
1669
  t,
1670
1670
  Dt[Tt],
1671
1671
  Dt[`${Tt}--${_}`],
@@ -1675,7 +1675,7 @@ const S_ = "lc-Badge-module__badge___GhLnu", D_ = "lc-Badge-module__badge__dot__
1675
1675
  alert: "!",
1676
1676
  dot: /* @__PURE__ */ e.createElement("span", { className: Dt[`${Tt}__dot`] })
1677
1677
  }[c];
1678
- return /* @__PURE__ */ e.createElement("span", y({ className: n }, l), d);
1678
+ return /* @__PURE__ */ e.createElement("span", y({ className: i }, l), d);
1679
1679
  };
1680
1680
  function B_() {
1681
1681
  }
@@ -1695,14 +1695,14 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1695
1695
  fullWidth: c = !1,
1696
1696
  onButtonClick: l = B_
1697
1697
  }) => {
1698
- const s = p(Bt[I_], r), [i, n] = e.useState(() => _), d = typeof o == "string";
1698
+ const n = g(Bt[I_], r), [s, i] = e.useState(() => _), d = typeof o == "string";
1699
1699
  e.useEffect(() => {
1700
- d && n(o);
1700
+ d && i(o);
1701
1701
  }, [o]);
1702
1702
  const m = (h, v) => {
1703
- d || n(h), l(h, v);
1704
- }, u = a.map(({ id: h, label: v, loading: g, disabled: b, icon: k }) => {
1705
- const f = h === i, $ = f ? Bt["btn--active"] : "", w = f ? !1 : g;
1703
+ d || i(h), l(h, v);
1704
+ }, u = a.map(({ id: h, label: v, loading: p, disabled: b, icon: k }) => {
1705
+ const f = h === s, $ = f ? Bt["btn--active"] : "", w = f ? !1 : p;
1706
1706
  return /* @__PURE__ */ e.createElement(
1707
1707
  G,
1708
1708
  {
@@ -1713,7 +1713,7 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1713
1713
  "aria-pressed": f,
1714
1714
  kind: "secondary",
1715
1715
  icon: k,
1716
- className: p(Bt.btn, Bt[`btn--${t}`], $),
1716
+ className: g(Bt.btn, Bt[`btn--${t}`], $),
1717
1717
  onClick: (F) => {
1718
1718
  m(h, F);
1719
1719
  }
@@ -1721,7 +1721,7 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1721
1721
  v
1722
1722
  );
1723
1723
  });
1724
- return /* @__PURE__ */ e.createElement("div", { role: "group", className: s }, u);
1724
+ return /* @__PURE__ */ e.createElement("div", { role: "group", className: n }, u);
1725
1725
  }, P_ = "lc-Card-module__card___GqMm2", F_ = "lc-Card-module__card__header___0ptfD", R_ = "lc-Card-module__card__header__image___QMwSu", M_ = "lc-Card-module__card__header__heading___Wkikx", L_ = "lc-Card-module__card__header__heading__title___Uxi8s", O_ = "lc-Card-module__card__header__heading__description___6LnOK", H_ = "lc-Card-module__card__content___KuDcc", z_ = "lc-Card-module__card__actions___q9sAo", G_ = "lc-Card-module__card__actions__line___TF1bt", U_ = "lc-Card-module__card__actions__buttons___PDMMR", de = {
1726
1726
  card: P_,
1727
1727
  card__header: F_,
@@ -1736,8 +1736,8 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1736
1736
  card__actions__line: G_,
1737
1737
  card__actions__buttons: U_,
1738
1738
  "card__actions__buttons-expander": "lc-Card-module__card__actions__buttons-expander___lz4h-"
1739
- }, Et = "card", zt = `${Et}__header`, Yt = `${zt}__heading`, At = `${Et}__actions`, W_ = `${zt}__no-image`, jc = (n) => {
1740
- var d = n, {
1739
+ }, Et = "card", zt = `${Et}__header`, Yt = `${zt}__heading`, At = `${Et}__actions`, W_ = `${zt}__no-image`, jc = (i) => {
1740
+ var d = i, {
1741
1741
  alt: t,
1742
1742
  buttonsOptions: a = [],
1743
1743
  children: r,
@@ -1745,8 +1745,8 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1745
1745
  description: o,
1746
1746
  expandableContent: c,
1747
1747
  src: l,
1748
- title: s
1749
- } = d, i = P(d, [
1748
+ title: n
1749
+ } = d, s = P(d, [
1750
1750
  "alt",
1751
1751
  "buttonsOptions",
1752
1752
  "children",
@@ -1756,15 +1756,15 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1756
1756
  "src",
1757
1757
  "title"
1758
1758
  ]);
1759
- const [m, u] = e.useState(!1), h = m ? Gt : $t, v = m ? "Hide" : "Show more", g = (a == null ? void 0 : a.length) > 0, b = !!c, k = g || b, f = s, $ = l, w = $ ? "" : de[W_];
1760
- return /* @__PURE__ */ e.createElement("div", y({ className: p(de[Et], _) }, i), f && /* @__PURE__ */ e.createElement("div", { className: p(de[zt], w) }, $ && /* @__PURE__ */ e.createElement(
1759
+ const [m, u] = e.useState(!1), h = m ? Gt : $t, v = m ? "Hide" : "Show more", p = (a == null ? void 0 : a.length) > 0, b = !!c, k = p || b, f = n, $ = l, w = $ ? "" : de[W_];
1760
+ return /* @__PURE__ */ e.createElement("div", y({ className: g(de[Et], _) }, s), f && /* @__PURE__ */ e.createElement("div", { className: g(de[zt], w) }, $ && /* @__PURE__ */ e.createElement(
1761
1761
  "img",
1762
1762
  {
1763
1763
  alt: t,
1764
1764
  className: de[`${zt}__image`],
1765
1765
  src: l
1766
1766
  }
1767
- ), /* @__PURE__ */ e.createElement("div", { className: de[Yt] }, /* @__PURE__ */ e.createElement(je, { size: "sm", className: de[`${Yt}__title`] }, s), /* @__PURE__ */ e.createElement(M, { size: "sm", className: de[`${Yt}__description`] }, o))), /* @__PURE__ */ e.createElement(M, { as: "div", size: "md", className: de[`${Et}__content`] }, r), m && /* @__PURE__ */ e.createElement(
1767
+ ), /* @__PURE__ */ e.createElement("div", { className: de[Yt] }, /* @__PURE__ */ e.createElement(je, { size: "sm", className: de[`${Yt}__title`] }, n), /* @__PURE__ */ e.createElement(M, { size: "sm", className: de[`${Yt}__description`] }, o))), /* @__PURE__ */ e.createElement(M, { as: "div", size: "md", className: de[`${Et}__content`] }, r), m && /* @__PURE__ */ e.createElement(
1768
1768
  M,
1769
1769
  {
1770
1770
  as: "div",
@@ -1772,7 +1772,7 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1772
1772
  className: de[`${Et}__expanded-content`]
1773
1773
  },
1774
1774
  c
1775
- ), k && /* @__PURE__ */ e.createElement("div", { className: de[At] }, /* @__PURE__ */ e.createElement("div", { className: de[`${At}__line`] }), /* @__PURE__ */ e.createElement("div", { className: de[`${At}__buttons`] }, g && a.map(
1775
+ ), k && /* @__PURE__ */ e.createElement("div", { className: de[At] }, /* @__PURE__ */ e.createElement("div", { className: de[`${At}__line`] }), /* @__PURE__ */ e.createElement("div", { className: de[`${At}__buttons`] }, p && a.map(
1776
1776
  ({ kind: F, onClick: E, children: T }) => /* @__PURE__ */ e.createElement(G, { size: "compact", kind: F, onClick: E }, T)
1777
1777
  ), b && /* @__PURE__ */ e.createElement(
1778
1778
  G,
@@ -1795,7 +1795,7 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1795
1795
  "children",
1796
1796
  "className"
1797
1797
  ]);
1798
- const c = p(V_[Y_], a);
1798
+ const c = g(V_[Y_], a);
1799
1799
  return /* @__PURE__ */ e.createElement(M, B(y({ as: "span", size: "sm" }, r), { className: c }), t);
1800
1800
  }, q_ = "lc-Checkbox-module__checkbox___G7nTf", K_ = "lc-Checkbox-module__checkbox__label___-o01x", J_ = "lc-Checkbox-module__checkbox__text___P2SIq", j_ = "lc-Checkbox-module__checkbox__input___YLbVF", Q_ = "lc-Checkbox-module__checkbox__checkmark___16pfY", Z_ = "lc-Checkbox-module__checkbox__square___MHUyd", X_ = "lc-Checkbox-module__checkbox__helper___YSJ-n", Ve = {
1801
1801
  checkbox: q_,
@@ -1808,12 +1808,12 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1808
1808
  "checkbox--disabled": "lc-Checkbox-module__checkbox--disabled___-lAqW",
1809
1809
  checkbox__helper: X_
1810
1810
  }, Ye = "checkbox", Qc = e.forwardRef(
1811
- (s, l) => {
1812
- var i = s, { checked: t, disabled: a, children: r, description: _, className: o } = i, c = P(i, ["checked", "disabled", "children", "description", "className"]);
1811
+ (n, l) => {
1812
+ var s = n, { checked: t, disabled: a, children: r, description: _, className: o } = s, c = P(s, ["checked", "disabled", "children", "description", "className"]);
1813
1813
  return /* @__PURE__ */ e.createElement(
1814
1814
  "div",
1815
1815
  {
1816
- className: p(Ve[Ye], o, {
1816
+ className: g(Ve[Ye], o, {
1817
1817
  [Ve[`${Ye}--selected`]]: t,
1818
1818
  [Ve[`${Ye}--disabled`]]: a
1819
1819
  })
@@ -1874,9 +1874,9 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1874
1874
  showNextButton: o,
1875
1875
  showPreviousButton: c,
1876
1876
  className: l,
1877
- classNames: s,
1878
- numberOfMonths: i,
1879
- month: n,
1877
+ classNames: n,
1878
+ numberOfMonths: s,
1879
+ month: i,
1880
1880
  fromMonth: d,
1881
1881
  toMonth: m
1882
1882
  } = t, u = () => {
@@ -1885,32 +1885,32 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1885
1885
  typeof _ == "function" && _();
1886
1886
  }, v = () => {
1887
1887
  if (!d) {
1888
- const f = nt(n, 12);
1888
+ const f = nt(i, 12);
1889
1889
  return r(f);
1890
1890
  }
1891
- const b = Math.abs(ya(n, d)), k = nt(
1892
- n,
1891
+ const b = Math.abs(ya(i, d)), k = nt(
1892
+ i,
1893
1893
  !Number.isNaN(b) && b > 12 ? 12 : b
1894
1894
  );
1895
1895
  return r(k);
1896
- }, g = () => {
1896
+ }, p = () => {
1897
1897
  if (!m) {
1898
- const f = Ea(n, 12);
1898
+ const f = Ea(i, 12);
1899
1899
  return r(f);
1900
1900
  }
1901
- const b = Math.abs(ya(m, n)), k = Ea(
1902
- n,
1901
+ const b = Math.abs(ya(m, i)), k = Ea(
1902
+ i,
1903
1903
  !Number.isNaN(b) && b > 12 ? 12 : b
1904
1904
  );
1905
- return i === 2 && ta(k, m) ? r(nt(k, 1)) : r(k);
1905
+ return s === 2 && ta(k, m) ? r(nt(k, 1)) : r(k);
1906
1906
  };
1907
1907
  return /* @__PURE__ */ e.createElement("div", { className: l }, /* @__PURE__ */ e.createElement("div", { className: D[`${Ba}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
1908
1908
  "button",
1909
1909
  {
1910
1910
  "data-testid": "date-picker-prev-year-button",
1911
1911
  className: Je({
1912
- [s.navButtonPrev]: !0,
1913
- [s.navButtonInteractionDisabled]: !c
1912
+ [n.navButtonPrev]: !0,
1913
+ [n.navButtonInteractionDisabled]: !c
1914
1914
  }),
1915
1915
  onClick: v
1916
1916
  },
@@ -1920,8 +1920,8 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1920
1920
  {
1921
1921
  "data-testid": "date-picker-prev-month-button",
1922
1922
  className: Je({
1923
- [s.navButtonPrev]: !0,
1924
- [s.navButtonInteractionDisabled]: !c
1923
+ [n.navButtonPrev]: !0,
1924
+ [n.navButtonInteractionDisabled]: !c
1925
1925
  }),
1926
1926
  onClick: u
1927
1927
  },
@@ -1931,8 +1931,8 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1931
1931
  {
1932
1932
  "data-testid": "date-picker-next-month-button",
1933
1933
  className: Je({
1934
- [s.navButtonNext]: !0,
1935
- [s.navButtonInteractionDisabled]: !o
1934
+ [n.navButtonNext]: !0,
1935
+ [n.navButtonInteractionDisabled]: !o
1936
1936
  }),
1937
1937
  onClick: h
1938
1938
  },
@@ -1942,10 +1942,10 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
1942
1942
  {
1943
1943
  "data-testid": "date-picker-next-year-button",
1944
1944
  className: Je({
1945
- [s.navButtonNext]: !0,
1946
- [s.navButtonInteractionDisabled]: !o
1945
+ [n.navButtonNext]: !0,
1946
+ [n.navButtonInteractionDisabled]: !o
1947
1947
  }),
1948
- onClick: g
1948
+ onClick: p
1949
1949
  },
1950
1950
  /* @__PURE__ */ e.createElement(x, { source: xr, kind: "subtle" })
1951
1951
  )));
@@ -2025,9 +2025,9 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
2025
2025
  month: o,
2026
2026
  fromMonth: c,
2027
2027
  firstDayOfWeek: l,
2028
- numberOfMonths: s,
2029
- navbarElement: i,
2030
- renderDay: n,
2028
+ numberOfMonths: n,
2029
+ navbarElement: s,
2030
+ renderDay: i,
2031
2031
  innerRef: d
2032
2032
  } = k, m = P(k, [
2033
2033
  "classNames",
@@ -2056,8 +2056,8 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
2056
2056
  },
2057
2057
  [o, t.onMonthChange]
2058
2058
  );
2059
- let g = 1;
2060
- (l === 0 || l && l < 7) && (g = l);
2059
+ let p = 1;
2060
+ (l === 0 || l && l < 7) && (p = l);
2061
2061
  const b = e.useMemo(
2062
2062
  () => ro(r, a),
2063
2063
  [r, a]
@@ -2065,12 +2065,12 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
2065
2065
  return /* @__PURE__ */ e.createElement(
2066
2066
  zr,
2067
2067
  y({
2068
- navbarElement: i || /* @__PURE__ */ e.createElement(
2068
+ navbarElement: s || /* @__PURE__ */ e.createElement(
2069
2069
  eo,
2070
2070
  {
2071
2071
  month: u,
2072
2072
  classNames: b,
2073
- numberOfMonths: s,
2073
+ numberOfMonths: n,
2074
2074
  onMonthChange: v,
2075
2075
  toMonth: _,
2076
2076
  fromMonth: c
@@ -2078,12 +2078,12 @@ const A_ = "lc-SegmentedControl-module__btn___tfsvL", Bt = {
2078
2078
  ),
2079
2079
  ref: d,
2080
2080
  classNames: b,
2081
- numberOfMonths: s,
2081
+ numberOfMonths: n,
2082
2082
  toMonth: _,
2083
2083
  fromMonth: c,
2084
- firstDayOfWeek: g,
2084
+ firstDayOfWeek: p,
2085
2085
  month: u,
2086
- renderDay: n || _o
2086
+ renderDay: i || _o
2087
2087
  }, m)
2088
2088
  );
2089
2089
  }, co = e.forwardRef(
@@ -2160,9 +2160,9 @@ const lo = (t) => {
2160
2160
  onChange: c,
2161
2161
  children: l
2162
2162
  }) => {
2163
- const s = wr(
2163
+ const n = wr(
2164
2164
  a || null
2165
- ), [i, n] = lo({
2165
+ ), [s, i] = lo({
2166
2166
  options: t,
2167
2167
  initialSelectedItemKey: a,
2168
2168
  initialFromDate: r,
@@ -2172,99 +2172,99 @@ const lo = (t) => {
2172
2172
  children: l
2173
2173
  });
2174
2174
  st(() => {
2175
- n({
2175
+ i({
2176
2176
  type: V.SET_FROM,
2177
2177
  payload: { date: r }
2178
2178
  });
2179
2179
  }, [r]), st(() => {
2180
- n({
2180
+ i({
2181
2181
  type: V.SET_TO,
2182
2182
  payload: { date: _ }
2183
2183
  });
2184
2184
  }, [_]), st(() => {
2185
- const g = rr(
2185
+ const p = rr(
2186
2186
  r,
2187
2187
  _,
2188
2188
  o
2189
2189
  );
2190
- n({
2190
+ i({
2191
2191
  type: V.CURRENT_MONTH_CHANGE,
2192
- payload: { date: g }
2192
+ payload: { date: p }
2193
2193
  });
2194
2194
  }, [o, r, _]), st(() => {
2195
- const { from: g, selectedItem: b, to: k } = i;
2196
- if (!(g && k))
2195
+ const { from: p, selectedItem: b, to: k } = s;
2196
+ if (!(p && k))
2197
2197
  return;
2198
2198
  const f = kt(b, t);
2199
2199
  f && (c == null || c(B(y({}, f), {
2200
2200
  value: {
2201
- from: g,
2201
+ from: p,
2202
2202
  to: k
2203
2203
  }
2204
2204
  })));
2205
- }, [i.from, i.to, i.selectedItem, t, c]), st(() => {
2206
- const { selectedItem: g } = i;
2207
- if (g === s.current)
2205
+ }, [s.from, s.to, s.selectedItem, t, c]), st(() => {
2206
+ const { selectedItem: p } = s;
2207
+ if (p === n.current)
2208
2208
  return;
2209
- if (!g) {
2209
+ if (!p) {
2210
2210
  c(null);
2211
2211
  return;
2212
2212
  }
2213
- if (!kt(g, t))
2213
+ if (!kt(p, t))
2214
2214
  return;
2215
2215
  const k = t.reduce(
2216
2216
  (f, $) => B(y({}, f), { [$.id]: $ }),
2217
2217
  {}
2218
2218
  );
2219
- c(k[g]);
2220
- }, [c, i.selectedItem, t]);
2219
+ c(k[p]);
2220
+ }, [c, s.selectedItem, t]);
2221
2221
  const d = Ct(
2222
- (g) => {
2223
- const b = o ? ja(o, g) >= 0 : !0;
2224
- !Aa(i.from, i.to) && b && n({
2222
+ (p) => {
2223
+ const b = o ? ja(o, p) >= 0 : !0;
2224
+ !Aa(s.from, s.to) && b && i({
2225
2225
  type: V.NEW_TEMPORARY_TO_VALUE,
2226
- payload: { date: g }
2226
+ payload: { date: p }
2227
2227
  });
2228
2228
  },
2229
- [o, i.from, i.to]
2229
+ [o, s.from, s.to]
2230
2230
  ), m = Ct(
2231
- (g) => {
2232
- const { from: b, to: k } = i;
2233
- ar(g, { to: o }) && (Aa(b, k) ? n({
2231
+ (p) => {
2232
+ const { from: b, to: k } = s;
2233
+ ar(p, { to: o }) && (Aa(b, k) ? i({
2234
2234
  type: V.SELECT_FIRST_DAY,
2235
- payload: { date: g }
2236
- }) : b && aa(g, b) || b && ra(g, b) ? n({
2235
+ payload: { date: p }
2236
+ }) : b && aa(p, b) || b && ra(p, b) ? i({
2237
2237
  type: V.SELECT_SECOND_DAY_AS_TO,
2238
- payload: { date: g }
2239
- }) : n({
2238
+ payload: { date: p }
2239
+ }) : i({
2240
2240
  type: V.SELECT_SECOND_DAY_AS_FROM,
2241
- payload: { date: g }
2241
+ payload: { date: p }
2242
2242
  }));
2243
2243
  },
2244
- [o, i.from, i.to]
2244
+ [o, s.from, s.to]
2245
2245
  ), u = Ct(
2246
- (g) => {
2247
- if (g === null) {
2248
- n({
2246
+ (p) => {
2247
+ if (p === null) {
2248
+ i({
2249
2249
  type: V.NEW_SELECTED_ITEM,
2250
2250
  payload: { selectedItem: null }
2251
2251
  });
2252
2252
  return;
2253
2253
  }
2254
- kt(g, t) && n({
2254
+ kt(p, t) && i({
2255
2255
  type: V.NEW_SELECTED_ITEM,
2256
- payload: { selectedItem: g }
2256
+ payload: { selectedItem: p }
2257
2257
  });
2258
2258
  },
2259
2259
  [t]
2260
- ), h = Ct((g) => {
2261
- n({
2260
+ ), h = Ct((p) => {
2261
+ i({
2262
2262
  type: V.CURRENT_MONTH_CHANGE,
2263
- payload: { date: g }
2263
+ payload: { date: p }
2264
2264
  });
2265
2265
  }, []);
2266
2266
  return l((() => {
2267
- const { currentMonth: g, from: b, selectedItem: k, temporaryTo: f, to: $ } = i, w = Nt(
2267
+ const { currentMonth: p, from: b, selectedItem: k, temporaryTo: f, to: $ } = s, w = Nt(
2268
2268
  () => to(b, f),
2269
2269
  [b, f]
2270
2270
  ), F = Nt(() => kt(k, t), [t, k]), E = Nt(() => [b, { from: b, to: f }], [b, f]), T = Nt(() => o ? { after: o } : void 0, [o]);
@@ -2279,7 +2279,7 @@ const lo = (t) => {
2279
2279
  },
2280
2280
  datepicker: {
2281
2281
  range: !0,
2282
- month: g,
2282
+ month: p,
2283
2283
  numberOfMonths: 2,
2284
2284
  onDayClick: m,
2285
2285
  selectedDays: E,
@@ -2338,92 +2338,107 @@ const L = {
2338
2338
  label: o,
2339
2339
  withDivider: c,
2340
2340
  fullSpaceContent: l,
2341
- openOnInit: s = !1,
2342
- hideLabelOnOpen: i
2341
+ openOnInit: n = !1,
2342
+ hideLabelOnOpen: s,
2343
+ onClick: i
2343
2344
  }) => {
2344
- const [n, d] = e.useState(s), m = p(
2345
+ const [d, m] = e.useState(n), [u, h] = e.useState(0), v = e.useRef(null), p = g(
2345
2346
  L[O],
2346
2347
  c && L[`${O}--with-divider`],
2347
2348
  a
2348
- ), u = i && n, h = () => d((v) => !v);
2349
- return /* @__PURE__ */ e.createElement("div", { className: m }, /* @__PURE__ */ e.createElement(
2349
+ ), b = s && d, k = () => {
2350
+ m((f) => !f), i == null || i();
2351
+ };
2352
+ return e.useEffect(() => {
2353
+ const f = !!window.IntersectionObserver;
2354
+ if (v.current && f) {
2355
+ const $ = new ResizeObserver(() => {
2356
+ v.current && u !== v.current.offsetHeight && h(v.current.offsetHeight);
2357
+ });
2358
+ return $.observe(v.current), () => $.disconnect();
2359
+ }
2360
+ }, [v]), /* @__PURE__ */ e.createElement("div", { className: p }, /* @__PURE__ */ e.createElement(
2350
2361
  "button",
2351
2362
  {
2352
- className: p(
2363
+ className: g(
2353
2364
  L[`${O}__button`],
2354
- u && L[`${O}__button--hide`],
2355
- n && L[`${O}__button--open`]
2365
+ b && L[`${O}__button--hide`],
2366
+ d && L[`${O}__button--open`]
2356
2367
  ),
2357
- onClick: h,
2358
- "aria-expanded": n,
2359
- "aria-hidden": u,
2368
+ onClick: k,
2369
+ "aria-expanded": d,
2370
+ "aria-hidden": b,
2360
2371
  "data-testid": "details-card-button"
2361
2372
  },
2362
2373
  /* @__PURE__ */ e.createElement(
2363
2374
  "div",
2364
2375
  {
2365
- className: p(
2376
+ className: g(
2366
2377
  L[`${O}__label`],
2367
- i && L[`${O}__label--with-margin`]
2378
+ s && L[`${O}__label--with-margin`]
2368
2379
  )
2369
2380
  },
2370
2381
  r && /* @__PURE__ */ e.createElement("div", { className: L[`${O}__label__left-node`] }, r),
2371
2382
  /* @__PURE__ */ e.createElement(je, { size: "xs", className: L[`${O}__label__text`] }, o),
2372
2383
  _ && /* @__PURE__ */ e.createElement("div", { className: L[`${O}__label__right-node`] }, _)
2373
2384
  ),
2374
- !i && /* @__PURE__ */ e.createElement(
2385
+ !s && /* @__PURE__ */ e.createElement(
2375
2386
  x,
2376
2387
  {
2377
- className: p(
2388
+ className: g(
2378
2389
  L[`${O}__button__icon`],
2379
- n && L[`${O}__button__icon--open`]
2390
+ d && L[`${O}__button__icon--open`]
2380
2391
  ),
2381
2392
  source: ea
2382
2393
  }
2383
2394
  )
2384
- ), i && /* @__PURE__ */ e.createElement(
2395
+ ), s && /* @__PURE__ */ e.createElement(
2385
2396
  G,
2386
2397
  {
2387
- kind: n ? "float" : "text",
2398
+ kind: d ? "float" : "text",
2388
2399
  icon: /* @__PURE__ */ e.createElement(
2389
2400
  x,
2390
2401
  {
2391
2402
  source: ea,
2392
- className: p(
2403
+ className: g(
2393
2404
  L[`${O}__float-button__icon`],
2394
- n && L[`${O}__float-button__icon--open`]
2405
+ d && L[`${O}__float-button__icon--open`]
2395
2406
  )
2396
2407
  }
2397
2408
  ),
2398
- className: p(
2409
+ className: g(
2399
2410
  L[`${O}__float-button`],
2400
- !n && L[`${O}__float-button--closed`],
2401
- n && L[`${O}__float-button--open`]
2411
+ !d && L[`${O}__float-button--closed`],
2412
+ d && L[`${O}__float-button--open`]
2402
2413
  ),
2403
- onClick: h,
2404
- "aria-expanded": n,
2414
+ onClick: k,
2415
+ "aria-expanded": d,
2405
2416
  "data-testid": "details-card-floating-button"
2406
2417
  }
2407
- ), /* @__PURE__ */ e.createElement(
2418
+ ), /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
2408
2419
  "div",
2409
2420
  {
2410
- className: p(
2421
+ className: g(
2411
2422
  L[`${O}__content-wrapper`],
2412
- n && L[`${O}__content-wrapper--open`]
2413
- )
2423
+ d && L[`${O}__content-wrapper--open`]
2424
+ ),
2425
+ style: {
2426
+ maxHeight: d ? u : 0
2427
+ }
2414
2428
  },
2415
2429
  /* @__PURE__ */ e.createElement(
2416
2430
  "div",
2417
2431
  {
2418
- className: p(
2432
+ ref: v,
2433
+ className: g(
2419
2434
  L[`${O}__content`],
2420
2435
  l && L[`${O}__content--full-space`],
2421
- i && L[`${O}__content--spacing`]
2436
+ s && L[`${O}__content--spacing`]
2422
2437
  )
2423
2438
  },
2424
2439
  t
2425
2440
  )
2426
- ));
2441
+ )));
2427
2442
  }, qt = {
2428
2443
  "details-card-info": "lc-DetailsCardInfo-module__details-card-info___D4VRk",
2429
2444
  "details-card-info__label": "lc-DetailsCardInfo-module__details-card-info__label___U-KsO",
@@ -2442,7 +2457,7 @@ const L = {
2442
2457
  "children",
2443
2458
  "className"
2444
2459
  ]);
2445
- const c = p(Pa[Fa], a);
2460
+ const c = g(Pa[Fa], a);
2446
2461
  return /* @__PURE__ */ e.createElement(M, B(y({ as: "span", size: "sm" }, r), { className: c }), /* @__PURE__ */ e.createElement(
2447
2462
  x,
2448
2463
  {
@@ -2455,15 +2470,15 @@ const L = {
2455
2470
  "field-group": "lc-FieldGroup-module__field-group___gy8lp",
2456
2471
  "field-group--inline": "lc-FieldGroup-module__field-group--inline___or4qf",
2457
2472
  "field-group--stretched": "lc-FieldGroup-module__field-group--stretched___6rkuO"
2458
- }, jt = "field-group", el = (s) => {
2459
- var i = s, {
2473
+ }, jt = "field-group", el = (n) => {
2474
+ var s = n, {
2460
2475
  className: t = "",
2461
2476
  children: a,
2462
2477
  description: r,
2463
2478
  error: _,
2464
2479
  inline: o,
2465
2480
  stretch: c
2466
- } = i, l = P(i, [
2481
+ } = s, l = P(s, [
2467
2482
  "className",
2468
2483
  "children",
2469
2484
  "description",
@@ -2471,11 +2486,11 @@ const L = {
2471
2486
  "inline",
2472
2487
  "stretch"
2473
2488
  ]);
2474
- const n = p(Jt[jt], t, {
2489
+ const i = g(Jt[jt], t, {
2475
2490
  [Jt[`${jt}--inline`]]: o,
2476
2491
  [Jt[`${jt}--stretched`]]: c
2477
2492
  });
2478
- return /* @__PURE__ */ e.createElement("div", B(y({}, l), { className: n }), a, _ && /* @__PURE__ */ e.createElement(va, null, _), r && /* @__PURE__ */ e.createElement(Ut, null, r));
2493
+ return /* @__PURE__ */ e.createElement("div", B(y({}, l), { className: i }), a, _ && /* @__PURE__ */ e.createElement(va, null, _), r && /* @__PURE__ */ e.createElement(Ut, null, r));
2479
2494
  }, so = "lc-Form-module__form___1nOYF", io = "lc-Form-module__form__header___U4B7t", uo = "lc-Form-module__form__footer___1-sUX", mo = "lc-Form-module__form__label___spg-J", po = "lc-Form-module__form__helper___bhfwS", gt = {
2480
2495
  form: so,
2481
2496
  form__header: io,
@@ -2483,20 +2498,20 @@ const L = {
2483
2498
  form__label: mo,
2484
2499
  form__helper: po
2485
2500
  }, bt = "form", tl = (l) => {
2486
- var s = l, {
2501
+ var n = l, {
2487
2502
  className: t,
2488
2503
  children: a,
2489
2504
  labelText: r,
2490
2505
  helperText: _,
2491
2506
  formFooter: o
2492
- } = s, c = P(s, [
2507
+ } = n, c = P(n, [
2493
2508
  "className",
2494
2509
  "children",
2495
2510
  "labelText",
2496
2511
  "helperText",
2497
2512
  "formFooter"
2498
2513
  ]);
2499
- return /* @__PURE__ */ e.createElement("form", y({ className: p(gt[bt], t) }, c), (r || _) && /* @__PURE__ */ e.createElement("div", { className: gt[`${bt}__header`] }, r && /* @__PURE__ */ e.createElement(je, { size: "sm", className: gt[`${bt}__label`] }, r), _ && /* @__PURE__ */ e.createElement(M, { as: "p", size: "sm", className: gt[`${bt}__helper`] }, _)), a, o && /* @__PURE__ */ e.createElement("div", { className: gt[`${bt}__footer`] }, o));
2514
+ return /* @__PURE__ */ e.createElement("form", y({ className: g(gt[bt], t) }, c), (r || _) && /* @__PURE__ */ e.createElement("div", { className: gt[`${bt}__header`] }, r && /* @__PURE__ */ e.createElement(je, { size: "sm", className: gt[`${bt}__label`] }, r), _ && /* @__PURE__ */ e.createElement(M, { as: "p", size: "sm", className: gt[`${bt}__helper`] }, _)), a, o && /* @__PURE__ */ e.createElement("div", { className: gt[`${bt}__footer`] }, o));
2500
2515
  }, q = {
2501
2516
  "form-field": "lc-FormField-module__form-field___JqnX6",
2502
2517
  "form-field--inline": "lc-FormField-module__form-field--inline___4DgIq",
@@ -2522,10 +2537,10 @@ const L = {
2522
2537
  labelAdornment: o,
2523
2538
  className: c,
2524
2539
  labelFor: l,
2525
- children: s,
2526
- labelRightNode: i
2540
+ children: n,
2541
+ labelRightNode: s
2527
2542
  }) => {
2528
- const n = e.useRef(null), [d, m] = e.useState("auto"), u = p(
2543
+ const i = e.useRef(null), [d, m] = e.useState("auto"), u = g(
2529
2544
  q[K],
2530
2545
  {
2531
2546
  [q[`${K}--inline`]]: t
@@ -2533,29 +2548,29 @@ const L = {
2533
2548
  c
2534
2549
  );
2535
2550
  return e.useEffect(() => {
2536
- const h = n;
2551
+ const h = i;
2537
2552
  return t && h.current ? m(`${h.current.clientHeight}px`) : m("auto");
2538
- }), /* @__PURE__ */ e.createElement("div", { className: u }, i && t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
2553
+ }), /* @__PURE__ */ e.createElement("div", { className: u }, s && t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
2539
2554
  "div",
2540
2555
  {
2541
- className: p(
2556
+ className: g(
2542
2557
  q[`${K}__label-right-node`],
2543
2558
  q[`${K}__label-right-node--inline`]
2544
2559
  )
2545
2560
  },
2546
- i
2561
+ s
2547
2562
  ), /* @__PURE__ */ e.createElement("div", { className: q[`${K}__row-break`] })), /* @__PURE__ */ e.createElement(
2548
2563
  "div",
2549
2564
  {
2550
- className: p(
2565
+ className: g(
2551
2566
  q[`${K}__wrapper`],
2552
2567
  t && q[`${K}__wrapper--inline`]
2553
2568
  )
2554
2569
  },
2555
- (_ || i) && /* @__PURE__ */ e.createElement(
2570
+ (_ || s) && /* @__PURE__ */ e.createElement(
2556
2571
  "div",
2557
2572
  {
2558
- className: p(
2573
+ className: g(
2559
2574
  q[`${K}__label`],
2560
2575
  t && q[`${K}__label--inline`],
2561
2576
  !_ && q[`${K}__label--no-text`]
@@ -2564,7 +2579,7 @@ const L = {
2564
2579
  _ && /* @__PURE__ */ e.createElement(
2565
2580
  "div",
2566
2581
  {
2567
- className: p(
2582
+ className: g(
2568
2583
  q[`${K}__label-wrapper`],
2569
2584
  t && q[`${K}__label-wrapper--inline`]
2570
2585
  ),
@@ -2583,7 +2598,7 @@ const L = {
2583
2598
  o && /* @__PURE__ */ e.createElement(
2584
2599
  "div",
2585
2600
  {
2586
- className: p(
2601
+ className: g(
2587
2602
  q[`${K}__label-adornment`],
2588
2603
  t && q[`${K}__label-adornment--inline`]
2589
2604
  )
@@ -2591,12 +2606,12 @@ const L = {
2591
2606
  o
2592
2607
  )
2593
2608
  ),
2594
- i && !t && /* @__PURE__ */ e.createElement("div", { className: p(q[`${K}__label-right-node`]) }, i)
2609
+ s && !t && /* @__PURE__ */ e.createElement("div", { className: g(q[`${K}__label-right-node`]) }, s)
2595
2610
  ),
2596
- /* @__PURE__ */ e.createElement("div", { className: p(q[`${K}__content`]) }, /* @__PURE__ */ e.createElement("div", { ref: n }, s), a && /* @__PURE__ */ e.createElement(va, null, a), !a && r && /* @__PURE__ */ e.createElement(
2611
+ /* @__PURE__ */ e.createElement("div", { className: g(q[`${K}__content`]) }, /* @__PURE__ */ e.createElement("div", { ref: i }, n), a && /* @__PURE__ */ e.createElement(va, null, a), !a && r && /* @__PURE__ */ e.createElement(
2597
2612
  Ut,
2598
2613
  {
2599
- className: p(q[`${K}__content__description`])
2614
+ className: g(q[`${K}__content__description`])
2600
2615
  },
2601
2616
  r
2602
2617
  ))
@@ -2618,13 +2633,13 @@ const L = {
2618
2633
  "labelText",
2619
2634
  "helperText"
2620
2635
  ]);
2621
- const s = p(It[Pt], t);
2636
+ const n = g(It[Pt], t);
2622
2637
  return /* @__PURE__ */ e.createElement(
2623
2638
  "div",
2624
2639
  B(y(B(y({}, o), {
2625
2640
  role: "group"
2626
2641
  }), r && { "aria-label": r }), {
2627
- className: s
2642
+ className: n
2628
2643
  }),
2629
2644
  /* @__PURE__ */ e.createElement("div", { className: It[`${Pt}__header`] }, /* @__PURE__ */ e.createElement(je, { as: "div", size: "sm", className: It[`${Pt}__label`] }, r), _ && /* @__PURE__ */ e.createElement(M, { as: "div", size: "sm", className: It[`${Pt}__helper`] }, _)),
2630
2645
  a
@@ -2645,7 +2660,7 @@ const L = {
2645
2660
  "input__visibility-button": "lc-Input-module__input__visibility-button___eWrVe"
2646
2661
  }, Te = "input", Ra = (t, a) => e.cloneElement(t.source, {
2647
2662
  "data-testid": `input-icon-${t.place}`,
2648
- className: p(
2663
+ className: g(
2649
2664
  De[`${Te}__icon`],
2650
2665
  De[`${Te}__icon--${t.place}`],
2651
2666
  {
@@ -2653,15 +2668,15 @@ const L = {
2653
2668
  }
2654
2669
  )
2655
2670
  }), _l = e.forwardRef(
2656
- (i, s) => {
2657
- var n = i, {
2671
+ (s, n) => {
2672
+ var i = s, {
2658
2673
  inputSize: t = "medium",
2659
2674
  error: a = !1,
2660
2675
  disabled: r,
2661
2676
  icon: _ = null,
2662
2677
  className: o,
2663
2678
  cropOnBlur: c = !0
2664
- } = n, l = P(n, [
2679
+ } = i, l = P(i, [
2665
2680
  "inputSize",
2666
2681
  "error",
2667
2682
  "disabled",
@@ -2669,7 +2684,7 @@ const L = {
2669
2684
  "className",
2670
2685
  "cropOnBlur"
2671
2686
  ]);
2672
- const [d, m] = e.useState(!1), [u, h] = e.useState(!1), { type: v, onFocus: g, onBlur: b } = l, k = p(
2687
+ const [d, m] = e.useState(!1), [u, h] = e.useState(!1), { type: v, onFocus: p, onBlur: b } = l, k = g(
2673
2688
  o,
2674
2689
  De[Te],
2675
2690
  De[`${Te}--${t}`],
@@ -2683,9 +2698,9 @@ const L = {
2683
2698
  return /* @__PURE__ */ e.createElement("div", { className: k, "aria-disabled": r, "tab-index": "0" }, w && Ra(_, r), /* @__PURE__ */ e.createElement(
2684
2699
  "input",
2685
2700
  B(y({}, l), {
2686
- ref: s,
2701
+ ref: n,
2687
2702
  onFocus: (E) => {
2688
- m(!0), g == null || g(E);
2703
+ m(!0), p == null || p(E);
2689
2704
  },
2690
2705
  onBlur: (E) => {
2691
2706
  m(!1), b == null || b(E);
@@ -2719,7 +2734,7 @@ const L = {
2719
2734
  return /* @__PURE__ */ e.createElement(
2720
2735
  "a",
2721
2736
  y({
2722
- className: p(
2737
+ className: g(
2723
2738
  Ma[La],
2724
2739
  t && Ma[`${La}--bold`],
2725
2740
  a
@@ -2739,15 +2754,15 @@ const L = {
2739
2754
  modal__heading: ho,
2740
2755
  "modal__label-heading": "lc-Modal-module__modal__label-heading___WnYcF",
2741
2756
  modal__footer: ko
2742
- }, Ft = "modal-base", yo = (s) => {
2743
- var i = s, {
2757
+ }, Ft = "modal-base", yo = (n) => {
2758
+ var s = n, {
2744
2759
  children: t,
2745
2760
  className: a = "",
2746
2761
  onClose: r,
2747
2762
  closeOnEscPress: _ = !0,
2748
2763
  closeOnOverlayPress: o = !0,
2749
2764
  fullSpaceContent: c
2750
- } = i, l = P(i, [
2765
+ } = s, l = P(s, [
2751
2766
  "children",
2752
2767
  "className",
2753
2768
  "onClose",
@@ -2755,7 +2770,7 @@ const L = {
2755
2770
  "closeOnOverlayPress",
2756
2771
  "fullSpaceContent"
2757
2772
  ]);
2758
- const n = p(
2773
+ const i = g(
2759
2774
  ue[Ft],
2760
2775
  a,
2761
2776
  c && ue[`${Ft}--full-space`]
@@ -2776,7 +2791,7 @@ const L = {
2776
2791
  {
2777
2792
  "data-testid": "lc-modal-overlay",
2778
2793
  onMouseDown: d,
2779
- className: p(
2794
+ className: g(
2780
2795
  ue[`${Ft}__overlay`],
2781
2796
  ue[`${Ft}__overlay--visible`]
2782
2797
  )
@@ -2786,7 +2801,7 @@ const L = {
2786
2801
  y({
2787
2802
  role: "dialog",
2788
2803
  "aria-modal": !0,
2789
- className: n
2804
+ className: i
2790
2805
  }, l),
2791
2806
  t
2792
2807
  )
@@ -2800,15 +2815,15 @@ const L = {
2800
2815
  {
2801
2816
  kind: "plain",
2802
2817
  title: "Close modal",
2803
- className: p(
2818
+ className: g(
2804
2819
  ue["modal-base__close"],
2805
2820
  t && ue["modal-base__close--label-type"]
2806
2821
  ),
2807
2822
  onClick: r,
2808
2823
  icon: /* @__PURE__ */ e.createElement(x, { source: Ne, size: "medium", customColor: a })
2809
2824
  }
2810
- ), qe = "modal", cl = (n) => {
2811
- var d = n, {
2825
+ ), qe = "modal", cl = (i) => {
2826
+ var d = i, {
2812
2827
  children: t,
2813
2828
  className: a = "",
2814
2829
  heading: r,
@@ -2816,8 +2831,8 @@ const L = {
2816
2831
  fullSpaceContent: o,
2817
2832
  footer: c,
2818
2833
  onClose: l,
2819
- contentClassName: s
2820
- } = d, i = P(d, [
2834
+ contentClassName: n
2835
+ } = d, s = P(d, [
2821
2836
  "children",
2822
2837
  "className",
2823
2838
  "heading",
@@ -2827,7 +2842,7 @@ const L = {
2827
2842
  "onClose",
2828
2843
  "contentClassName"
2829
2844
  ]);
2830
- const m = p(ue[qe], a), u = typeof t == "string", h = (v) => {
2845
+ const m = g(ue[qe], a), u = typeof t == "string", h = (v) => {
2831
2846
  v.preventDefault(), v.stopPropagation(), l();
2832
2847
  };
2833
2848
  return /* @__PURE__ */ e.createElement(
@@ -2836,7 +2851,7 @@ const L = {
2836
2851
  className: m,
2837
2852
  fullSpaceContent: o,
2838
2853
  onClose: l
2839
- }, i),
2854
+ }, s),
2840
2855
  _ && /* @__PURE__ */ e.createElement("div", { className: ue[`${qe}__label-header`] }, /* @__PURE__ */ e.createElement(
2841
2856
  je,
2842
2857
  {
@@ -2866,7 +2881,7 @@ const L = {
2866
2881
  "div",
2867
2882
  {
2868
2883
  "data-testid": "modal-body",
2869
- className: p(ue[`${qe}__body`], s)
2884
+ className: g(ue[`${qe}__body`], n)
2870
2885
  },
2871
2886
  u ? /* @__PURE__ */ e.createElement(M, { as: "div" }, t) : t
2872
2887
  ),
@@ -2942,9 +2957,9 @@ const L = {
2942
2957
  min: o,
2943
2958
  disabled: c,
2944
2959
  noControls: l,
2945
- style: s,
2946
- onChange: i
2947
- } = m, n = P(m, [
2960
+ style: n,
2961
+ onChange: s
2962
+ } = m, i = P(m, [
2948
2963
  "className",
2949
2964
  "error",
2950
2965
  "value",
@@ -2955,7 +2970,7 @@ const L = {
2955
2970
  "style",
2956
2971
  "onChange"
2957
2972
  ]);
2958
- const u = e.useRef(null), h = p(
2973
+ const u = e.useRef(null), h = g(
2959
2974
  at[rt],
2960
2975
  {
2961
2976
  [at[`${rt}--error`]]: a,
@@ -2963,9 +2978,9 @@ const L = {
2963
2978
  [at[`${rt}--disabled`]]: c
2964
2979
  },
2965
2980
  t
2966
- ), v = (E) => i(String(E)), g = (E) => _ !== void 0 && E > _ ? _ : o !== void 0 && E < o ? o : E, b = (E) => {
2981
+ ), v = (E) => s(String(E)), p = (E) => _ !== void 0 && E > _ ? _ : o !== void 0 && E < o ? o : E, b = (E) => {
2967
2982
  const T = parseInt(r, 10) + E;
2968
- return v(g(T));
2983
+ return v(p(T));
2969
2984
  }, k = (E) => {
2970
2985
  E.key === z.arrowDown && (E.preventDefault(), b(-1)), E.key === z.arrowUp && (E.preventDefault(), b(1));
2971
2986
  }, f = (E, T) => T !== void 0 && parseInt(E, 10) === T, $ = (E) => {
@@ -2977,7 +2992,7 @@ const L = {
2977
2992
  if (T === "" || T === "-")
2978
2993
  return v(T);
2979
2994
  const S = parseInt(T, 10);
2980
- return v(g(S));
2995
+ return v(p(S));
2981
2996
  }, w = () => {
2982
2997
  var E;
2983
2998
  return (E = u.current) == null || E.focus(), b(1);
@@ -2985,12 +3000,12 @@ const L = {
2985
3000
  var E;
2986
3001
  return (E = u.current) == null || E.focus(), b(-1);
2987
3002
  };
2988
- return /* @__PURE__ */ e.createElement("div", { className: h, style: s }, /* @__PURE__ */ e.createElement(
3003
+ return /* @__PURE__ */ e.createElement("div", { className: h, style: n }, /* @__PURE__ */ e.createElement(
2989
3004
  "input",
2990
3005
  B(y({
2991
3006
  type: "text",
2992
3007
  ref: u
2993
- }, n), {
3008
+ }, i), {
2994
3009
  value: r,
2995
3010
  disabled: c,
2996
3011
  onChange: $,
@@ -3041,12 +3056,12 @@ function Eo(t, a) {
3041
3056
  if (a && a.length > 1) {
3042
3057
  const _ = t.map((o) => o.key).filter((o) => a.includes(o));
3043
3058
  for (let o = 0; o < _.length; o++) {
3044
- const c = _[o], l = _[o + 1], s = _[o - 1], i = l && Math.abs(
3059
+ const c = _[o], l = _[o + 1], n = _[o - 1], s = l && Math.abs(
3045
3060
  t.findIndex((d) => d.key === l) - t.findIndex((d) => d.key === c)
3046
- ) === 1, n = s && Math.abs(
3047
- t.findIndex((d) => d.key === s) - t.findIndex((d) => d.key === c)
3061
+ ) === 1, i = n && Math.abs(
3062
+ t.findIndex((d) => d.key === n) - t.findIndex((d) => d.key === c)
3048
3063
  ) === 1;
3049
- i && n ? r[c] = "middle" : i ? r[c] = "top" : n && (r[c] = "bottom");
3064
+ s && i ? r[c] = "middle" : s ? r[c] = "top" : i && (r[c] = "bottom");
3050
3065
  }
3051
3066
  }
3052
3067
  return r;
@@ -3073,37 +3088,37 @@ const j = {
3073
3088
  isAdjacentStyleApplied: _,
3074
3089
  onSelect: o
3075
3090
  }) => {
3076
- const c = (s) => s != null && s.customElement ? /* @__PURE__ */ e.createElement("div", { className: j[`${ye}__custom`] }, s.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, s.showCheckbox && /* @__PURE__ */ e.createElement(
3091
+ const c = (n) => n != null && n.customElement ? /* @__PURE__ */ e.createElement("div", { className: j[`${ye}__custom`] }, n.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, n.showCheckbox && /* @__PURE__ */ e.createElement(
3077
3092
  "input",
3078
3093
  {
3079
3094
  type: "checkbox",
3080
3095
  className: j[`${ye}__checkbox`],
3081
3096
  checked: a
3082
3097
  }
3083
- ), s.icon && /* @__PURE__ */ e.createElement(
3098
+ ), n.icon && /* @__PURE__ */ e.createElement(
3084
3099
  x,
3085
3100
  {
3086
3101
  className: j[`${ye}__icon`],
3087
3102
  kind: "link",
3088
- source: s.icon
3103
+ source: n.icon
3089
3104
  }
3090
- ), s.avatarSrc && /* @__PURE__ */ e.createElement(
3105
+ ), n.avatarSrc && /* @__PURE__ */ e.createElement(
3091
3106
  "img",
3092
3107
  {
3093
- className: p(j[`${ye}__avatar`]),
3094
- src: s.avatarSrc,
3095
- alt: s.name
3108
+ className: g(j[`${ye}__avatar`]),
3109
+ src: n.avatarSrc,
3110
+ alt: n.name
3096
3111
  }
3097
3112
  ), /* @__PURE__ */ e.createElement("div", { className: j[`${ye}__label-container`] }, /* @__PURE__ */ e.createElement(
3098
3113
  "span",
3099
3114
  {
3100
- className: p({
3101
- [j[`${ye}__main-label`]]: s.secondaryText
3115
+ className: g({
3116
+ [j[`${ye}__main-label`]]: n.secondaryText
3102
3117
  })
3103
3118
  },
3104
- s.name
3105
- ), s.secondaryText && /* @__PURE__ */ e.createElement("span", { className: j[`${ye}__secondary-label`] }, s.secondaryText))), l = (s) => {
3106
- !s.disabled && o(s);
3119
+ n.name
3120
+ ), n.secondaryText && /* @__PURE__ */ e.createElement("span", { className: j[`${ye}__secondary-label`] }, n.secondaryText))), l = (n) => {
3121
+ !n.disabled && o(n);
3107
3122
  };
3108
3123
  return t.groupHeader ? /* @__PURE__ */ e.createElement(
3109
3124
  "li",
@@ -3117,8 +3132,8 @@ const j = {
3117
3132
  "li",
3118
3133
  {
3119
3134
  "data-testid": t.key,
3120
- ref: (s) => {
3121
- r === t.key && (s == null || s.scrollIntoView({ block: "nearest" }));
3135
+ ref: (n) => {
3136
+ r === t.key && (n == null || n.scrollIntoView({ block: "nearest" }));
3122
3137
  },
3123
3138
  role: "option",
3124
3139
  "aria-current": r === t.key,
@@ -3127,7 +3142,7 @@ const j = {
3127
3142
  id: t.key,
3128
3143
  key: t.key,
3129
3144
  "data-adjacent": _,
3130
- className: p(j[ye], {
3145
+ className: g(j[ye], {
3131
3146
  [j[`${ye}__custom`]]: t == null ? void 0 : t.customElement
3132
3147
  }),
3133
3148
  onClick: () => l(t)
@@ -3150,18 +3165,18 @@ const j = {
3150
3165
  selectAllOptionText: o,
3151
3166
  isMultiSelect: c,
3152
3167
  onClose: l,
3153
- onSelect: s,
3154
- onSelectAll: i
3168
+ onSelect: n,
3169
+ onSelectAll: s
3155
3170
  }) => {
3156
- const n = p(j[_a], {
3171
+ const i = g(j[_a], {
3157
3172
  [j[`${_a}__no-results`]]: a.length === 0
3158
3173
  }), [d, m] = e.useState(
3159
3174
  null
3160
- ), u = e.useRef(-1), h = e.useRef(0), v = e.useRef(null), [g, b] = e.useState({}), k = (S) => {
3175
+ ), u = e.useRef(-1), h = e.useRef(0), v = e.useRef(null), [p, b] = e.useState({}), k = (S) => {
3161
3176
  if (S.key === z.esc && (S.preventDefault(), l()), S.key === z.arrowUp && u.current > 0 && (S.preventDefault(), u.current = $(), m(a[u.current].key)), S.key === z.arrowDown && u.current + 1 < a.length && (S.preventDefault(), u.current = w(), m(a[u.current].key)), S.key === z.enter && a[u.current] && !a[u.current].disabled) {
3162
3177
  if (S.preventDefault(), a[u.current].key === ct)
3163
- return i();
3164
- s(a[u.current]);
3178
+ return s();
3179
+ n(a[u.current]);
3165
3180
  }
3166
3181
  };
3167
3182
  e.useEffect(() => {
@@ -3185,7 +3200,7 @@ const j = {
3185
3200
  break;
3186
3201
  }
3187
3202
  return h.current = u.current, u.current;
3188
- }, F = () => i(), E = (S) => r ? r.includes(S) : !1, T = () => !c || c && !o ? null : /* @__PURE__ */ e.createElement(
3203
+ }, F = () => s(), E = (S) => r ? r.includes(S) : !1, T = () => !c || c && !o ? null : /* @__PURE__ */ e.createElement(
3189
3204
  "li",
3190
3205
  {
3191
3206
  ref: (S) => {
@@ -3195,7 +3210,7 @@ const j = {
3195
3210
  "aria-current": d === ct,
3196
3211
  id: ct,
3197
3212
  key: ct,
3198
- className: p(
3213
+ className: g(
3199
3214
  j[Ha],
3200
3215
  j[`${Ha}--select-all`]
3201
3216
  ),
@@ -3203,11 +3218,11 @@ const j = {
3203
3218
  },
3204
3219
  o
3205
3220
  );
3206
- return t ? a.length === 0 ? /* @__PURE__ */ e.createElement("div", { className: j["list-wrapper"] }, /* @__PURE__ */ e.createElement("div", { className: n }, _)) : /* @__PURE__ */ e.createElement("div", { className: j["list-wrapper"] }, /* @__PURE__ */ e.createElement(
3221
+ return t ? a.length === 0 ? /* @__PURE__ */ e.createElement("div", { className: j["list-wrapper"] }, /* @__PURE__ */ e.createElement("div", { className: i }, _)) : /* @__PURE__ */ e.createElement("div", { className: j["list-wrapper"] }, /* @__PURE__ */ e.createElement(
3207
3222
  "ul",
3208
3223
  {
3209
3224
  ref: v,
3210
- className: n,
3225
+ className: i,
3211
3226
  role: "listbox",
3212
3227
  tabIndex: -1
3213
3228
  },
@@ -3217,9 +3232,9 @@ const j = {
3217
3232
  {
3218
3233
  item: S,
3219
3234
  isItemSelected: E(S.key),
3220
- isAdjacentStyleApplied: g[S.key],
3235
+ isAdjacentStyleApplied: p[S.key],
3221
3236
  currentItemKey: d,
3222
- onSelect: s
3237
+ onSelect: n
3223
3238
  }
3224
3239
  ))
3225
3240
  )) : null;
@@ -3248,18 +3263,18 @@ const j = {
3248
3263
  isItemSelected: o,
3249
3264
  isOpen: c,
3250
3265
  isRequired: l,
3251
- isMultiSelect: s,
3252
- size: i = "medium",
3253
- hideClearButton: n,
3266
+ isMultiSelect: n,
3267
+ size: s = "medium",
3268
+ hideClearButton: i,
3254
3269
  onTrigger: d,
3255
3270
  onClear: m,
3256
3271
  testId: u
3257
3272
  }) => {
3258
- const h = e.useRef(null), v = p(
3273
+ const h = e.useRef(null), v = g(
3259
3274
  oe[ae],
3260
- oe[`${ae}--${i}`],
3261
- s && oe[`${ae}--multi-select`],
3262
- s && o && oe[`${ae}--multi-select--with-items`],
3275
+ oe[`${ae}--${s}`],
3276
+ n && oe[`${ae}--multi-select`],
3277
+ n && o && oe[`${ae}--multi-select--with-items`],
3263
3278
  r && oe[`${ae}--disabled`],
3264
3279
  c && oe[`${ae}--focused`],
3265
3280
  _ && oe[`${ae}--error`]
@@ -3272,27 +3287,27 @@ const j = {
3272
3287
  a || document.removeEventListener("keydown", f);
3273
3288
  };
3274
3289
  }, [a]);
3275
- const g = (f) => {
3290
+ const p = (f) => {
3276
3291
  d(f);
3277
3292
  }, b = (f) => {
3278
3293
  f.stopPropagation(), m();
3279
- }, k = !n && o && !r && !l;
3294
+ }, k = !i && o && !r && !l;
3280
3295
  return /* @__PURE__ */ e.createElement(
3281
3296
  "div",
3282
3297
  {
3283
3298
  ref: h,
3284
3299
  className: v,
3285
- onClick: g,
3300
+ onClick: p,
3286
3301
  tabIndex: 0,
3287
3302
  "data-testid": u
3288
3303
  },
3289
3304
  /* @__PURE__ */ e.createElement(
3290
3305
  "div",
3291
3306
  {
3292
- className: p(
3307
+ className: g(
3293
3308
  oe[`${ae}__content`],
3294
- oe[`${ae}__content--${i}`],
3295
- s && o && oe[`${ae}__content--with-items`]
3309
+ oe[`${ae}__content--${s}`],
3310
+ n && o && oe[`${ae}__content--with-items`]
3296
3311
  )
3297
3312
  },
3298
3313
  t
@@ -3300,9 +3315,9 @@ const j = {
3300
3315
  /* @__PURE__ */ e.createElement(
3301
3316
  "div",
3302
3317
  {
3303
- className: p(
3318
+ className: g(
3304
3319
  oe[`${ae}__controls`],
3305
- oe[`${ae}__controls--${i}`]
3320
+ oe[`${ae}__controls--${s}`]
3306
3321
  )
3307
3322
  },
3308
3323
  k && /* @__PURE__ */ e.createElement(
@@ -3354,9 +3369,9 @@ const j = {
3354
3369
  kind: o = "default",
3355
3370
  onRemove: c,
3356
3371
  outline: l = !1,
3357
- leftNode: s,
3358
- rightNode: i,
3359
- customColor: n
3372
+ leftNode: n,
3373
+ rightNode: s,
3374
+ customColor: i
3360
3375
  } = u, d = P(u, [
3361
3376
  "className",
3362
3377
  "children",
@@ -3369,7 +3384,7 @@ const j = {
3369
3384
  "rightNode",
3370
3385
  "customColor"
3371
3386
  ]);
3372
- const h = p(
3387
+ const h = g(
3373
3388
  Ae[Ie],
3374
3389
  t,
3375
3390
  Ae[`${Ie}--${_}`],
@@ -3377,43 +3392,43 @@ const j = {
3377
3392
  {
3378
3393
  [Ae[`${Ie}--dismissible`]]: r,
3379
3394
  [Ae[`${Ie}--outline`]]: l,
3380
- [Ae[`${Ie}--${Bo(n)}`]]: !!n
3395
+ [Ae[`${Ie}--${Bo(i)}`]]: !!i
3381
3396
  }
3382
- ), v = _ === "small" ? "small" : "medium", g = () => n ? l ? {
3397
+ ), v = _ === "small" ? "small" : "medium", p = () => i ? l ? {
3383
3398
  style: {
3384
3399
  backgroundColor: "transparent",
3385
- color: n,
3386
- borderColor: n
3400
+ color: i,
3401
+ borderColor: i
3387
3402
  }
3388
- } : { style: { backgroundColor: n } } : {}, b = () => {
3389
- if (n)
3390
- return l ? n : ba(n, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
3403
+ } : { style: { backgroundColor: i } } : {}, b = () => {
3404
+ if (i)
3405
+ return l ? i : ba(i, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
3391
3406
  };
3392
3407
  return /* @__PURE__ */ e.createElement(
3393
3408
  M,
3394
3409
  B(y(y({
3395
3410
  className: h
3396
- }, d), g()), {
3411
+ }, d), p()), {
3397
3412
  as: "div",
3398
3413
  size: "md"
3399
3414
  }),
3400
- s && /* @__PURE__ */ e.createElement(
3415
+ n && /* @__PURE__ */ e.createElement(
3401
3416
  "div",
3402
3417
  {
3403
3418
  "data-testid": "lc-tag-left-node",
3404
3419
  className: Ae[`${Ie}__node`],
3405
3420
  style: { color: b() }
3406
3421
  },
3407
- s
3422
+ n
3408
3423
  ),
3409
3424
  /* @__PURE__ */ e.createElement("div", { className: Ae[`${Ie}__content`] }, a),
3410
- i && /* @__PURE__ */ e.createElement(
3425
+ s && /* @__PURE__ */ e.createElement(
3411
3426
  "div",
3412
3427
  {
3413
3428
  "data-testid": "lc-tag-right-node",
3414
3429
  style: { color: b() }
3415
3430
  },
3416
- i
3431
+ s
3417
3432
  ),
3418
3433
  r && /* @__PURE__ */ e.createElement(
3419
3434
  "button",
@@ -3458,36 +3473,36 @@ const j = {
3458
3473
  items: o,
3459
3474
  type: c,
3460
3475
  clearSearchAfterSelection: l,
3461
- size: s,
3462
- onItemRemove: i,
3463
- onFilter: n
3476
+ size: n,
3477
+ onItemRemove: s,
3478
+ onFilter: i
3464
3479
  }) => {
3465
3480
  const d = t && !a, m = e.useRef(null);
3466
3481
  e.useEffect(() => {
3467
- l && (n(""), m.current && (m.current.value = "", m.current.focus()));
3482
+ l && (i(""), m.current && (m.current.value = "", m.current.focus()));
3468
3483
  }, [o, l]);
3469
- const u = (g) => c === "single" && t && !a ? null : g != null && g.customElement ? /* @__PURE__ */ e.createElement("div", { className: ge[`${be}__item`] }, g.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: ge[`${be}__item`] }, g.icon && /* @__PURE__ */ e.createElement(
3484
+ const u = (p) => c === "single" && t && !a ? null : p != null && p.customElement ? /* @__PURE__ */ e.createElement("div", { className: ge[`${be}__item`] }, p.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: ge[`${be}__item`] }, p.icon && /* @__PURE__ */ e.createElement(
3470
3485
  x,
3471
3486
  {
3472
- source: g.icon,
3487
+ source: p.icon,
3473
3488
  className: ge[`${be}__item__icon`]
3474
3489
  }
3475
- ), g.avatarSrc && /* @__PURE__ */ e.createElement(
3490
+ ), p.avatarSrc && /* @__PURE__ */ e.createElement(
3476
3491
  "img",
3477
3492
  {
3478
- src: g.avatarSrc,
3493
+ src: p.avatarSrc,
3479
3494
  alt: "",
3480
3495
  className: ge[`${be}__item__avatar`]
3481
3496
  }
3482
- ), /* @__PURE__ */ e.createElement("div", { className: ge[`${be}__item__content`] }, g.name)), h = (g) => {
3483
- n(g.target.value);
3497
+ ), /* @__PURE__ */ e.createElement("div", { className: ge[`${be}__item__content`] }, p.name)), h = (p) => {
3498
+ i(p.target.value);
3484
3499
  }, v = () => /* @__PURE__ */ e.createElement(
3485
3500
  "input",
3486
3501
  {
3487
3502
  ref: m,
3488
- className: p(
3503
+ className: g(
3489
3504
  ge[`${be}__input`],
3490
- ge[`${be}__input--${s}`]
3505
+ ge[`${be}__input--${n}`]
3491
3506
  ),
3492
3507
  placeholder: "Select option",
3493
3508
  onChange: h,
@@ -3497,22 +3512,22 @@ const j = {
3497
3512
  return !o || o.length === 0 ? d ? v() : /* @__PURE__ */ e.createElement("div", null, _) : /* @__PURE__ */ e.createElement(
3498
3513
  "div",
3499
3514
  {
3500
- className: p(ge[be], {
3515
+ className: g(ge[be], {
3501
3516
  [ge[`${be}--single`]]: c === "single"
3502
3517
  })
3503
3518
  },
3504
- /* @__PURE__ */ e.createElement("div", { className: ge[`${be}__item-container`] }, c === "single" ? u(o[0]) : o.map((g) => /* @__PURE__ */ e.createElement(
3519
+ /* @__PURE__ */ e.createElement("div", { className: ge[`${be}__item-container`] }, c === "single" ? u(o[0]) : o.map((p) => /* @__PURE__ */ e.createElement(
3505
3520
  _r,
3506
3521
  {
3507
- key: g.name,
3508
- className: p(
3522
+ key: p.name,
3523
+ className: g(
3509
3524
  ge[`${be}__tag`],
3510
- ge[`${be}__tag--${s}`]
3525
+ ge[`${be}__tag--${n}`]
3511
3526
  ),
3512
3527
  dismissible: !r,
3513
- onRemove: () => i(g)
3528
+ onRemove: () => s(p)
3514
3529
  },
3515
- u(g)
3530
+ u(p)
3516
3531
  ))),
3517
3532
  d && v()
3518
3533
  );
@@ -3528,15 +3543,15 @@ const j = {
3528
3543
  selected: o,
3529
3544
  size: c = "medium",
3530
3545
  placeholder: l = "Select option",
3531
- isRequired: s,
3532
- noSearchResultText: i = "No results found",
3533
- selectAllOptionText: n,
3546
+ isRequired: n,
3547
+ noSearchResultText: s = "No results found",
3548
+ selectAllOptionText: i,
3534
3549
  type: d = "single",
3535
3550
  searchDisabled: m = !1,
3536
3551
  hideClearButton: u,
3537
3552
  openedOnInit: h = !1,
3538
3553
  clearSearchAfterSelection: v,
3539
- onSelect: g
3554
+ onSelect: p
3540
3555
  } = f, b = P(f, [
3541
3556
  "className",
3542
3557
  "disabled",
@@ -3555,7 +3570,7 @@ const j = {
3555
3570
  "clearSearchAfterSelection",
3556
3571
  "onSelect"
3557
3572
  ]);
3558
- const [$, w] = e.useState(h), [F, E] = e.useState(null), T = e.useRef(null), S = p(za[Ga], t);
3573
+ const [$, w] = e.useState(h), [F, E] = e.useState(null), T = e.useRef(null), S = g(za[Ga], t);
3559
3574
  e.useEffect(() => {
3560
3575
  if ($) {
3561
3576
  const R = (Y) => {
@@ -3577,30 +3592,30 @@ const j = {
3577
3592
  w(!1);
3578
3593
  }, J = (R) => {
3579
3594
  if (d === "single")
3580
- return w(!1), g([R]);
3595
+ return w(!1), p([R]);
3581
3596
  const U = R.key, Y = Ue;
3582
3597
  if (!Y)
3583
- return g([R]);
3598
+ return p([R]);
3584
3599
  const N = Y.includes(
3585
3600
  U
3586
3601
  ) ? Y.filter((W) => W !== U) : Y.concat(U);
3587
3602
  if ((N == null ? void 0 : N.length) === 0)
3588
- return g(null);
3603
+ return p(null);
3589
3604
  const ee = _.filter(
3590
3605
  (W) => N.includes(W.key)
3591
3606
  );
3592
- g(ee);
3607
+ p(ee);
3593
3608
  }, X = (R) => !R.disabled && !R.groupHeader && R.key !== ct, Le = () => {
3594
3609
  w(!1);
3595
3610
  const R = Ge.filter(X);
3596
- g(R);
3611
+ p(R);
3597
3612
  }, Be = () => {
3598
- w(!1), g(null);
3613
+ w(!1), p(null);
3599
3614
  }, fe = (R) => E(R), Oe = (R) => {
3600
3615
  const U = o ? o.filter((Y) => Y !== R) : null;
3601
3616
  if ((U == null ? void 0 : U.length) === 0)
3602
- return g(null);
3603
- g(U);
3617
+ return p(null);
3618
+ p(U);
3604
3619
  }, Ge = e.useMemo(() => F ? _.filter((R) => {
3605
3620
  if (R.groupHeader)
3606
3621
  return !1;
@@ -3616,7 +3631,7 @@ const j = {
3616
3631
  isOpen: $,
3617
3632
  isDisabled: a,
3618
3633
  isItemSelected: !!o,
3619
- isRequired: s,
3634
+ isRequired: n,
3620
3635
  isMultiSelect: d === "multi",
3621
3636
  size: c,
3622
3637
  hideClearButton: u,
@@ -3645,8 +3660,8 @@ const j = {
3645
3660
  items: Ge,
3646
3661
  isOpen: $,
3647
3662
  isMultiSelect: d === "multi",
3648
- emptyStateText: i,
3649
- selectAllOptionText: n,
3663
+ emptyStateText: s,
3664
+ selectAllOptionText: i,
3650
3665
  onClose: A,
3651
3666
  onSelect: J,
3652
3667
  onSelectAll: Le
@@ -3662,21 +3677,21 @@ const j = {
3662
3677
  className: o,
3663
3678
  triggerClassName: c,
3664
3679
  placement: l,
3665
- flipOptions: s,
3666
- offsetSize: i = 4,
3667
- isVisible: n,
3680
+ flipOptions: n,
3681
+ offsetSize: s = 4,
3682
+ isVisible: i,
3668
3683
  openedOnInit: d,
3669
3684
  closeOnEsc: m = !0,
3670
3685
  useDismissHookProps: u,
3671
3686
  useClickHookProps: h,
3672
3687
  floatingStrategy: v
3673
3688
  }) => {
3674
- const [g, b] = e.useState(d), k = n !== void 0, f = k ? n : g, $ = typeof _ == "string", w = typeof t == "function", F = (fe) => {
3689
+ const [p, b] = e.useState(d), k = i !== void 0, f = k ? i : p, $ = typeof _ == "string", w = typeof t == "function", F = (fe) => {
3675
3690
  fe ? r == null || r() : a == null || a(), !k && b(fe);
3676
3691
  }, { refs: E, context: T, floatingStyles: S } = na({
3677
3692
  open: f,
3678
3693
  onOpenChange: F,
3679
- middleware: [sa(i), ia(s), Ka()],
3694
+ middleware: [sa(s), ia(n), Ka()],
3680
3695
  placement: l,
3681
3696
  strategy: v,
3682
3697
  whileElementsMounted: da
@@ -3686,7 +3701,7 @@ const j = {
3686
3701
  se,
3687
3702
  A,
3688
3703
  J
3689
- ]), Be = p(Ro.popover, o);
3704
+ ]), Be = g(Ro.popover, o);
3690
3705
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
3691
3706
  "div",
3692
3707
  B(y({
@@ -3737,18 +3752,18 @@ const ft = {
3737
3752
  large: 56
3738
3753
  }, vt = "progress-circle", zo = e.forwardRef(
3739
3754
  (l, c) => {
3740
- var s = l, {
3755
+ var n = l, {
3741
3756
  status: t = "normal",
3742
3757
  progressValue: a,
3743
3758
  className: r,
3744
3759
  size: _ = "medium"
3745
- } = s, o = P(s, [
3760
+ } = n, o = P(n, [
3746
3761
  "status",
3747
3762
  "progressValue",
3748
3763
  "className",
3749
3764
  "size"
3750
3765
  ]);
3751
- const i = cr(t, a), n = or(i, a), d = Oo[_], m = Ho[_], u = p(
3766
+ const s = cr(t, a), i = or(s, a), d = Oo[_], m = Ho[_], u = g(
3752
3767
  ft[vt],
3753
3768
  {
3754
3769
  [ft[`${vt}--${_}`]]: _,
@@ -3757,8 +3772,8 @@ const ft = {
3757
3772
  r
3758
3773
  ), h = 2 * Math.PI * ((m - d) / 2), v = {
3759
3774
  strokeDasharray: h.toFixed(3),
3760
- strokeDashoffset: `${((100 - n) / 100 * h).toFixed(3)}px`
3761
- }, g = `${m / 2} ${m / 2} ${m} ${m}`;
3775
+ strokeDashoffset: `${((100 - i) / 100 * h).toFixed(3)}px`
3776
+ }, p = `${m / 2} ${m / 2} ${m} ${m}`;
3762
3777
  return /* @__PURE__ */ e.createElement(
3763
3778
  "div",
3764
3779
  y({
@@ -3766,7 +3781,7 @@ const ft = {
3766
3781
  ref: c,
3767
3782
  role: "progressbar"
3768
3783
  }, o),
3769
- /* @__PURE__ */ e.createElement("svg", { viewBox: g }, /* @__PURE__ */ e.createElement(
3784
+ /* @__PURE__ */ e.createElement("svg", { viewBox: p }, /* @__PURE__ */ e.createElement(
3770
3785
  "circle",
3771
3786
  {
3772
3787
  className: ft[`${vt}__bg-line--${t}`],
@@ -3802,18 +3817,18 @@ const ft = {
3802
3817
  "progress-bar__indicator--normal": "lc-ProgressBar-module__progress-bar__indicator--normal___0Uhle"
3803
3818
  }, Mt = "progress-bar", Go = e.forwardRef(
3804
3819
  (l, c) => {
3805
- var s = l, {
3820
+ var n = l, {
3806
3821
  status: t = "normal",
3807
3822
  percent: a,
3808
3823
  size: r = "medium",
3809
3824
  className: _ = ""
3810
- } = s, o = P(s, [
3825
+ } = n, o = P(n, [
3811
3826
  "status",
3812
3827
  "percent",
3813
3828
  "size",
3814
3829
  "className"
3815
3830
  ]);
3816
- const i = cr(t, a), n = or(i, a), d = p(
3831
+ const s = cr(t, a), i = or(s, a), d = g(
3817
3832
  Rt[Mt],
3818
3833
  {
3819
3834
  [Rt[`${Mt}--${r}`]]: r,
@@ -3832,7 +3847,7 @@ const ft = {
3832
3847
  "div",
3833
3848
  {
3834
3849
  className: Rt[`${Mt}__indicator--${t}`],
3835
- style: { width: `${n}%` }
3850
+ style: { width: `${i}%` }
3836
3851
  }
3837
3852
  )
3838
3853
  );
@@ -3857,11 +3872,11 @@ const ft = {
3857
3872
  img: o,
3858
3873
  light: c = !1,
3859
3874
  linkText: l,
3860
- onButtonClick: s,
3861
- onClose: i,
3862
- onLinkClick: n
3875
+ onButtonClick: n,
3876
+ onClose: s,
3877
+ onLinkClick: i
3863
3878
  }) => {
3864
- const d = e.useRef(null), [m, u] = e.useState("medium"), h = p(
3879
+ const d = e.useRef(null), [m, u] = e.useState("medium"), h = g(
3865
3880
  Ee[$e],
3866
3881
  {
3867
3882
  [Ee[`${$e}--light`]]: c,
@@ -3871,12 +3886,12 @@ const ft = {
3871
3886
  t
3872
3887
  );
3873
3888
  e.useEffect(() => {
3874
- const g = () => d.current && d.current.offsetWidth <= Uo ? u("small") : d.current && d.current.offsetWidth >= Wo ? u("large") : u("medium"), b = Ja(
3875
- g,
3889
+ const p = () => d.current && d.current.offsetWidth <= Uo ? u("small") : d.current && d.current.offsetWidth >= Wo ? u("large") : u("medium"), b = Ja(
3890
+ p,
3876
3891
  Vo
3877
3892
  );
3878
- return window.addEventListener("resize", b), g(), () => {
3879
- b.cancel(), window.removeEventListener("resize", g);
3893
+ return window.addEventListener("resize", b), p(), () => {
3894
+ b.cancel(), window.removeEventListener("resize", p);
3880
3895
  };
3881
3896
  }, []);
3882
3897
  const v = /* @__PURE__ */ e.createElement("div", { className: Ee[`${$e}__footer`] }, a && /* @__PURE__ */ e.createElement(
@@ -3884,17 +3899,17 @@ const ft = {
3884
3899
  {
3885
3900
  kind: "primary",
3886
3901
  size: "compact",
3887
- onClick: s,
3902
+ onClick: n,
3888
3903
  className: Ee[`${$e}__button-text`]
3889
3904
  },
3890
3905
  a
3891
- ), l && /* @__PURE__ */ e.createElement(G, { size: "compact", kind: "text", onClick: n }, l));
3892
- return /* @__PURE__ */ e.createElement("div", { ref: d, className: h }, /* @__PURE__ */ e.createElement("div", { className: Ee[`${$e}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: Ee[`${$e}__img`] }), /* @__PURE__ */ e.createElement("div", { className: Ee[`${$e}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: Ee[`${$e}__header`] }, _), /* @__PURE__ */ e.createElement(M, { as: "div" }, r), m !== "large" && v), m === "large" && v), i && /* @__PURE__ */ e.createElement(
3906
+ ), l && /* @__PURE__ */ e.createElement(G, { size: "compact", kind: "text", onClick: i }, l));
3907
+ return /* @__PURE__ */ e.createElement("div", { ref: d, className: h }, /* @__PURE__ */ e.createElement("div", { className: Ee[`${$e}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: Ee[`${$e}__img`] }), /* @__PURE__ */ e.createElement("div", { className: Ee[`${$e}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: Ee[`${$e}__header`] }, _), /* @__PURE__ */ e.createElement(M, { as: "div" }, r), m !== "large" && v), m === "large" && v), s && /* @__PURE__ */ e.createElement(
3893
3908
  "button",
3894
3909
  {
3895
3910
  type: "button",
3896
3911
  className: Ee[`${$e}__close-icon`],
3897
- onClick: i
3912
+ onClick: s
3898
3913
  },
3899
3914
  /* @__PURE__ */ e.createElement(x, { source: Ne, size: "large", kind: "primary" })
3900
3915
  ));
@@ -3915,7 +3930,7 @@ const ft = {
3915
3930
  secondaryButton: o,
3916
3931
  onClose: c
3917
3932
  }) => {
3918
- const l = p(He["main-wrapper"], a);
3933
+ const l = g(He["main-wrapper"], a);
3919
3934
  return /* @__PURE__ */ e.createElement("div", { role: "banner", className: l }, /* @__PURE__ */ e.createElement("div", { className: He[Ke] }, /* @__PURE__ */ e.createElement("div", { className: He[`${Ke}__content`] }, t, (_ || o) && /* @__PURE__ */ e.createElement("div", { className: He[`${Ke}__content__cta`] }, _ && /* @__PURE__ */ e.createElement(
3920
3935
  G,
3921
3936
  {
@@ -3952,13 +3967,13 @@ const ft = {
3952
3967
  "radio-button--selected": "lc-RadioButton-module__radio-button--selected___s9lqj",
3953
3968
  "radio-button--disabled": "lc-RadioButton-module__radio-button--disabled___wHSA7"
3954
3969
  }, Fe = "radio-button", pl = e.forwardRef(
3955
- (s, l) => {
3956
- var i = s, { children: t, className: a = "", description: r, checked: _, disabled: o } = i, c = P(i, ["children", "className", "description", "checked", "disabled"]);
3957
- const n = p(Pe[Fe], a, {
3970
+ (n, l) => {
3971
+ var s = n, { children: t, className: a = "", description: r, checked: _, disabled: o } = s, c = P(s, ["children", "className", "description", "checked", "disabled"]);
3972
+ const i = g(Pe[Fe], a, {
3958
3973
  [Pe[`${Fe}--selected`]]: _,
3959
3974
  [Pe[`${Fe}--disabled`]]: o
3960
3975
  });
3961
- return /* @__PURE__ */ e.createElement("div", { className: n }, /* @__PURE__ */ e.createElement("label", { className: Pe[`${Fe}__label`] }, /* @__PURE__ */ e.createElement("div", { className: Pe[`${Fe}__circle`] }, /* @__PURE__ */ e.createElement("span", { className: Pe[`${Fe}__inner-circle`] }), /* @__PURE__ */ e.createElement(
3976
+ return /* @__PURE__ */ e.createElement("div", { className: i }, /* @__PURE__ */ e.createElement("label", { className: Pe[`${Fe}__label`] }, /* @__PURE__ */ e.createElement("div", { className: Pe[`${Fe}__circle`] }, /* @__PURE__ */ e.createElement("span", { className: Pe[`${Fe}__inner-circle`] }), /* @__PURE__ */ e.createElement(
3962
3977
  "input",
3963
3978
  B(y({}, c), {
3964
3979
  className: Pe[`${Fe}__input`],
@@ -3990,41 +4005,41 @@ const ft = {
3990
4005
  size: o = "medium",
3991
4006
  value: c,
3992
4007
  className: l,
3993
- onChange: s
4008
+ onChange: n
3994
4009
  }) => {
3995
- const [i, n] = e.useState(!0), [d, m] = e.useState(!1), u = e.useRef(null), h = !!c && !a && !r, v = t && !i && "true", g = p(
4010
+ const [s, i] = e.useState(!0), [d, m] = e.useState(!1), u = e.useRef(null), h = !!c && !a && !r, v = t && !s && "true", p = g(
3996
4011
  l,
3997
4012
  Se[Ce],
3998
4013
  Se[`${Ce}--${o}`],
3999
4014
  d && Se[`${Ce}--focused`],
4000
4015
  a && Se[`${Ce}--disabled`],
4001
4016
  t && Se[`${Ce}--collapsable`],
4002
- !i && Se[`${Ce}--collapsable--open`]
4017
+ !s && Se[`${Ce}--collapsable--open`]
4003
4018
  );
4004
4019
  e.useEffect(() => {
4005
- t && c && n(!1);
4020
+ t && c && i(!1);
4006
4021
  }, [t]);
4007
4022
  const b = (E) => {
4008
4023
  const T = E.currentTarget.value;
4009
- s(T);
4024
+ n(T);
4010
4025
  }, k = () => {
4011
- s("");
4026
+ n("");
4012
4027
  }, f = () => {
4013
4028
  var E;
4014
4029
  (E = u.current) == null || E.focus();
4015
4030
  }, $ = () => {
4016
- t && n(!1), m(!0);
4031
+ t && i(!1), m(!0);
4017
4032
  }, w = () => {
4018
- t && !c && n(!0), m(!1);
4033
+ t && !c && i(!0), m(!1);
4019
4034
  }, F = (E) => {
4020
- E.key === z.enter && (E.preventDefault(), s(c));
4035
+ E.key === z.enter && (E.preventDefault(), n(c));
4021
4036
  };
4022
4037
  return /* @__PURE__ */ e.createElement(
4023
4038
  "div",
4024
4039
  {
4025
4040
  "aria-expanded": v,
4026
4041
  role: "search",
4027
- className: g,
4042
+ className: p,
4028
4043
  onClick: f
4029
4044
  },
4030
4045
  /* @__PURE__ */ e.createElement(
@@ -4110,9 +4125,9 @@ const ft = {
4110
4125
  on: o,
4111
4126
  onChange: c,
4112
4127
  size: l = "large",
4113
- state: s = "regular",
4114
- innerRef: i,
4115
- ariaLabel: n
4128
+ state: n = "regular",
4129
+ innerRef: s,
4130
+ ariaLabel: i
4116
4131
  } = u, d = P(u, [
4117
4132
  "className",
4118
4133
  "defaultOn",
@@ -4125,34 +4140,34 @@ const ft = {
4125
4140
  "innerRef",
4126
4141
  "ariaLabel"
4127
4142
  ]);
4128
- const h = o !== void 0, [v, g] = e.useState(
4143
+ const h = o !== void 0, [v, p] = e.useState(
4129
4144
  () => h ? o : a
4130
- ), b = h ? o : v, k = s === "loading", f = s === "locked", $ = l === "large" ? "small" : "xsmall", w = b ? "on" : "off", F = r || k || f, E = F ? "disabled" : "enabled", T = p(
4145
+ ), b = h ? o : v, k = n === "loading", f = n === "locked", $ = l === "large" ? "small" : "xsmall", w = b ? "on" : "off", F = r || k || f, E = F ? "disabled" : "enabled", T = g(
4131
4146
  ce[re],
4132
4147
  ce[`${re}--${l}`],
4133
4148
  t
4134
4149
  ), S = (se) => {
4135
- c == null || c(se, !b), h || (se.stopPropagation(), g((A) => !A));
4150
+ c == null || c(se, !b), h || (se.stopPropagation(), p((A) => !A));
4136
4151
  };
4137
4152
  return /* @__PURE__ */ e.createElement("span", { className: T }, /* @__PURE__ */ e.createElement(
4138
4153
  "input",
4139
4154
  y({
4140
4155
  type: "checkbox",
4141
- className: p(
4156
+ className: g(
4142
4157
  ce[`${re}__input`],
4143
4158
  ce[`${re}__input--${E}`]
4144
4159
  ),
4145
4160
  onChange: S,
4146
4161
  checked: b,
4147
4162
  name: _,
4148
- ref: i,
4163
+ ref: s,
4149
4164
  disabled: F,
4150
- "aria-label": n
4165
+ "aria-label": i
4151
4166
  }, d)
4152
4167
  ), /* @__PURE__ */ e.createElement("span", { className: ce[`${re}__container`] }, /* @__PURE__ */ e.createElement(
4153
4168
  "span",
4154
4169
  {
4155
- className: p(
4170
+ className: g(
4156
4171
  ce[`${re}__track`],
4157
4172
  ce[`${re}__track--${w}`],
4158
4173
  ce[`${re}__track--${E}`]
@@ -4161,7 +4176,7 @@ const ft = {
4161
4176
  ), /* @__PURE__ */ e.createElement(
4162
4177
  "span",
4163
4178
  {
4164
- className: p(
4179
+ className: g(
4165
4180
  ce[`${re}__slider`],
4166
4181
  ce[`${re}__slider--${l}`],
4167
4182
  ce[`${re}__slider--${l}--${w}`]
@@ -4170,7 +4185,7 @@ const ft = {
4170
4185
  k && /* @__PURE__ */ e.createElement(
4171
4186
  fa,
4172
4187
  {
4173
- className: p(
4188
+ className: g(
4174
4189
  ce[`${re}__loader`],
4175
4190
  ce[`${re}__loader--${l}`]
4176
4191
  )
@@ -4196,15 +4211,15 @@ const ft = {
4196
4211
  tab__badge: tc,
4197
4212
  "tab--selected": "lc-Tab-module__tab--selected___c0EkL",
4198
4213
  "tab--disabled": "lc-Tab-module__tab--disabled___URdTh"
4199
- }, ot = "tab", fl = (s) => {
4200
- var i = s, {
4214
+ }, ot = "tab", fl = (n) => {
4215
+ var s = n, {
4201
4216
  children: t,
4202
4217
  className: a,
4203
4218
  count: r,
4204
4219
  isSelected: _,
4205
4220
  asBadge: o,
4206
4221
  size: c = "medium"
4207
- } = i, l = P(i, [
4222
+ } = s, l = P(s, [
4208
4223
  "children",
4209
4224
  "className",
4210
4225
  "count",
@@ -4212,19 +4227,19 @@ const ft = {
4212
4227
  "asBadge",
4213
4228
  "size"
4214
4229
  ]);
4215
- const { disabled: n } = l, d = r !== void 0 && !o, m = r !== void 0 && o;
4230
+ const { disabled: i } = l, d = r !== void 0 && !o, m = r !== void 0 && o;
4216
4231
  return /* @__PURE__ */ e.createElement(
4217
4232
  M,
4218
4233
  B(y({}, l), {
4219
4234
  as: l.href ? "a" : "button",
4220
4235
  size: "md",
4221
4236
  bold: _,
4222
- className: p(
4237
+ className: g(
4223
4238
  a,
4224
4239
  _t[ot],
4225
4240
  _t[`${ot}--${c}`],
4226
4241
  _ && _t[`${ot}--selected`],
4227
- n && _t[`${ot}--disabled`]
4242
+ i && _t[`${ot}--disabled`]
4228
4243
  )
4229
4244
  }),
4230
4245
  t,
@@ -4245,10 +4260,10 @@ const ft = {
4245
4260
  }, nr = "tabs", vl = ({
4246
4261
  className: t,
4247
4262
  children: a
4248
- }) => /* @__PURE__ */ e.createElement("div", { className: p(lr[nr], t) }, a), hl = ({
4263
+ }) => /* @__PURE__ */ e.createElement("div", { className: g(lr[nr], t) }, a), hl = ({
4249
4264
  className: t,
4250
4265
  children: a
4251
- }) => /* @__PURE__ */ e.createElement("div", { className: p(lr[`${nr}__list`], t) }, a), _c = ({
4266
+ }) => /* @__PURE__ */ e.createElement("div", { className: g(lr[`${nr}__list`], t) }, a), _c = ({
4252
4267
  className: t = "",
4253
4268
  innerEditableRef: a,
4254
4269
  inputRef: r,
@@ -4256,8 +4271,8 @@ const ft = {
4256
4271
  remove: o,
4257
4272
  value: c
4258
4273
  }) => {
4259
- const [l, s] = e.useState(!1), i = () => a.current, n = () => {
4260
- const v = i();
4274
+ const [l, n] = e.useState(!1), s = () => a.current, i = () => {
4275
+ const v = s();
4261
4276
  return v ? v.innerText : "";
4262
4277
  }, d = () => {
4263
4278
  r && r.current && r.current.focus();
@@ -4266,9 +4281,9 @@ const ft = {
4266
4281
  v.preventDefault(), d();
4267
4282
  return;
4268
4283
  }
4269
- v.key === z.backspace && n() === "" && (s(!0), o(), d());
4284
+ v.key === z.backspace && i() === "" && (n(!0), o(), d());
4270
4285
  }, u = () => {
4271
- const v = i();
4286
+ const v = s();
4272
4287
  if (!(l || !v)) {
4273
4288
  if (v.innerText === "") {
4274
4289
  o();
@@ -4278,8 +4293,8 @@ const ft = {
4278
4293
  }
4279
4294
  }, h = (v) => {
4280
4295
  v.preventDefault();
4281
- const g = v.clipboardData.getData("text/plain");
4282
- document.execCommand("insertHTML", !1, $a(g));
4296
+ const p = v.clipboardData.getData("text/plain");
4297
+ document.execCommand("insertHTML", !1, $a(p));
4283
4298
  };
4284
4299
  return /* @__PURE__ */ e.createElement(
4285
4300
  "div",
@@ -4309,24 +4324,24 @@ const ft = {
4309
4324
  update: c,
4310
4325
  size: l
4311
4326
  }) => {
4312
- const s = e.useMemo(() => _ !== void 0 ? _(t) : !0, [t, _]), i = e.useRef(null), n = () => r(a);
4327
+ const n = e.useMemo(() => _ !== void 0 ? _(t) : !0, [t, _]), s = e.useRef(null), i = () => r(a);
4313
4328
  return /* @__PURE__ */ e.createElement(
4314
4329
  _r,
4315
4330
  {
4316
- kind: s ? "default" : "error",
4331
+ kind: n ? "default" : "error",
4317
4332
  dismissible: !0,
4318
4333
  size: l,
4319
- onRemove: n
4334
+ onRemove: i
4320
4335
  },
4321
4336
  /* @__PURE__ */ e.createElement(
4322
4337
  _c,
4323
4338
  {
4324
4339
  value: t,
4325
4340
  inputRef: o,
4326
- innerEditableRef: i,
4341
+ innerEditableRef: s,
4327
4342
  className: yt[`${oc}__content`],
4328
4343
  change: (d) => c(a, d),
4329
- remove: n,
4344
+ remove: i,
4330
4345
  validator: _
4331
4346
  }
4332
4347
  )
@@ -4346,9 +4361,9 @@ const ft = {
4346
4361
  error: o,
4347
4362
  placeholder: c,
4348
4363
  size: l = "medium",
4349
- className: s,
4350
- inputClassName: i,
4351
- onBlur: n,
4364
+ className: n,
4365
+ inputClassName: s,
4366
+ onBlur: i,
4352
4367
  addOnBlur: d = !0
4353
4368
  } = h, m = P(h, [
4354
4369
  "id",
@@ -4363,14 +4378,14 @@ const ft = {
4363
4378
  "onBlur",
4364
4379
  "addOnBlur"
4365
4380
  ]);
4366
- const v = p(
4381
+ const v = g(
4367
4382
  yt[Lt],
4368
4383
  {
4369
4384
  [yt[`${Lt}--error`]]: o
4370
4385
  },
4371
- s
4372
- ), g = p(
4373
- i,
4386
+ n
4387
+ ), p = g(
4388
+ s,
4374
4389
  yt[`${Lt}__input`],
4375
4390
  yt[`${Lt}__input--${l}`]
4376
4391
  ), [b, k] = e.useState(""), f = e.useRef(null), $ = (A) => {
@@ -4389,7 +4404,7 @@ const ft = {
4389
4404
  w(a.length - 1);
4390
4405
  }
4391
4406
  }, T = (A) => {
4392
- d && $(b), n == null || n(A);
4407
+ d && $(b), i == null || i(A);
4393
4408
  }, S = (A, J) => {
4394
4409
  const X = [...a || []];
4395
4410
  X.reduce(
@@ -4418,7 +4433,7 @@ const ft = {
4418
4433
  B(y({}, m), {
4419
4434
  id: t,
4420
4435
  ref: f,
4421
- className: g,
4436
+ className: p,
4422
4437
  placeholder: c,
4423
4438
  value: b,
4424
4439
  onChange: F,
@@ -4427,15 +4442,15 @@ const ft = {
4427
4442
  onBlur: T
4428
4443
  })
4429
4444
  )), o && /* @__PURE__ */ e.createElement(va, null, o));
4430
- }, ic = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/i, dc = "name@company.com", uc = (t) => ic.test(t), kl = (s) => {
4431
- var i = s, {
4445
+ }, ic = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/i, dc = "name@company.com", uc = (t) => ic.test(t), kl = (n) => {
4446
+ var s = n, {
4432
4447
  id: t,
4433
4448
  tags: a,
4434
4449
  onChange: r,
4435
4450
  error: _,
4436
4451
  placeholder: o = dc,
4437
4452
  size: c
4438
- } = i, l = P(i, [
4453
+ } = s, l = P(s, [
4439
4454
  "id",
4440
4455
  "tags",
4441
4456
  "onChange",
@@ -4498,15 +4513,15 @@ const ft = {
4498
4513
  info: {
4499
4514
  source: ca
4500
4515
  }
4501
- }, ze = "toast", vc = (s) => {
4502
- var i = s, {
4516
+ }, ze = "toast", vc = (n) => {
4517
+ var s = n, {
4503
4518
  action: t,
4504
4519
  className: a,
4505
4520
  children: r,
4506
4521
  removable: _,
4507
4522
  kind: o = "info",
4508
4523
  onClose: c
4509
- } = i, l = P(i, [
4524
+ } = s, l = P(s, [
4510
4525
  "action",
4511
4526
  "className",
4512
4527
  "children",
@@ -4514,12 +4529,12 @@ const ft = {
4514
4529
  "kind",
4515
4530
  "onClose"
4516
4531
  ]);
4517
- const n = p(
4532
+ const i = g(
4518
4533
  Q[ze],
4519
4534
  Q[`${ze}--${o}`],
4520
4535
  a
4521
4536
  ), d = typeof r == "string", m = (u) => u && u.closesOnClick && c ? (u.onClick(), c()) : u.onClick();
4522
- return /* @__PURE__ */ e.createElement("div", y({ className: n }, l), /* @__PURE__ */ e.createElement("div", { className: Q[`${ze}__icon`] }, /* @__PURE__ */ e.createElement(x, B(y({}, fc[o]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: Q[`${ze}__content`] }, d ? /* @__PURE__ */ e.createElement(M, { as: "div" }, r) : r), (t || _) && /* @__PURE__ */ e.createElement("div", { className: Q[`${ze}__actions`] }, t && /* @__PURE__ */ e.createElement(
4537
+ return /* @__PURE__ */ e.createElement("div", y({ className: i }, l), /* @__PURE__ */ e.createElement("div", { className: Q[`${ze}__icon`] }, /* @__PURE__ */ e.createElement(x, B(y({}, fc[o]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: Q[`${ze}__content`] }, d ? /* @__PURE__ */ e.createElement(M, { as: "div" }, r) : r), (t || _) && /* @__PURE__ */ e.createElement("div", { className: Q[`${ze}__actions`] }, t && /* @__PURE__ */ e.createElement(
4523
4538
  G,
4524
4539
  {
4525
4540
  className: Q[`${ze}__actions--custom`],
@@ -4531,7 +4546,7 @@ const ft = {
4531
4546
  ), _ && /* @__PURE__ */ e.createElement(
4532
4547
  "button",
4533
4548
  {
4534
- className: p(
4549
+ className: g(
4535
4550
  Q[`${ze}__actions__button`],
4536
4551
  Q[`${ze}__actions__button--${o}`]
4537
4552
  ),
@@ -4549,7 +4564,7 @@ const ft = {
4549
4564
  verticalPosition: c = "top",
4550
4565
  horizontalPosition: l = "center"
4551
4566
  }) => {
4552
- const s = p(
4567
+ const n = g(
4553
4568
  Q[ht],
4554
4569
  {
4555
4570
  [Q[`${ht}--fixed`]]: r,
@@ -4559,10 +4574,10 @@ const ft = {
4559
4574
  },
4560
4575
  t
4561
4576
  );
4562
- return /* @__PURE__ */ e.createElement("div", { className: s }, /* @__PURE__ */ e.createElement(Qa, { component: null }, a.map(({ id: i, kind: n, content: d, removable: m, action: u, onClose: h }) => /* @__PURE__ */ e.createElement(
4577
+ return /* @__PURE__ */ e.createElement("div", { className: n }, /* @__PURE__ */ e.createElement(Qa, { component: null }, a.map(({ id: s, kind: i, content: d, removable: m, action: u, onClose: h }) => /* @__PURE__ */ e.createElement(
4563
4578
  Za,
4564
4579
  {
4565
- key: i,
4580
+ key: s,
4566
4581
  classNames: {
4567
4582
  enter: Q[`toast-appear--${o}`],
4568
4583
  enterActive: Q[`toast-appear-active--${o}`],
@@ -4574,7 +4589,7 @@ const ft = {
4574
4589
  /* @__PURE__ */ e.createElement(
4575
4590
  vc,
4576
4591
  {
4577
- kind: n,
4592
+ kind: i,
4578
4593
  onClose: h,
4579
4594
  removable: m,
4580
4595
  action: u
@@ -4590,14 +4605,14 @@ const ft = {
4590
4605
  }, Ht = "textarea", El = e.forwardRef(
4591
4606
  (o, _) => {
4592
4607
  var c = o, { className: t, error: a } = c, r = P(c, ["className", "error"]);
4593
- const { disabled: l, onBlur: s, onFocus: i } = r, [n, d] = e.useState(!1), m = p(t, Ot[Ht], {
4608
+ const { disabled: l, onBlur: n, onFocus: s } = r, [i, d] = e.useState(!1), m = g(t, Ot[Ht], {
4594
4609
  [Ot[`${Ht}--disabled`]]: l,
4595
- [Ot[`${Ht}--focused`]]: n,
4610
+ [Ot[`${Ht}--focused`]]: i,
4596
4611
  [Ot[`${Ht}--error`]]: a
4597
4612
  }), u = (v) => {
4598
- d(!1), s == null || s(v);
4613
+ d(!1), n == null || n(v);
4599
4614
  }, h = (v) => {
4600
- d(!0), i == null || i(v);
4615
+ d(!0), s == null || s(v);
4601
4616
  };
4602
4617
  return /* @__PURE__ */ e.createElement("div", { className: m }, /* @__PURE__ */ e.createElement(
4603
4618
  "textarea",
@@ -4650,12 +4665,12 @@ const ft = {
4650
4665
  progressValue: o,
4651
4666
  size: c,
4652
4667
  status: l = "normal",
4653
- onCloseButtonClick: s,
4654
- onRetryButtonClick: i
4655
- }, n) => /* @__PURE__ */ e.createElement("div", { className: we[Re], ref: n }, r && l !== "success" && /* @__PURE__ */ e.createElement("div", { className: we[`${Re}__icon`] }, r), l === "success" && /* @__PURE__ */ e.createElement(
4668
+ onCloseButtonClick: n,
4669
+ onRetryButtonClick: s
4670
+ }, i) => /* @__PURE__ */ e.createElement("div", { className: we[Re], ref: i }, r && l !== "success" && /* @__PURE__ */ e.createElement("div", { className: we[`${Re}__icon`] }, r), l === "success" && /* @__PURE__ */ e.createElement(
4656
4671
  "div",
4657
4672
  {
4658
- className: p(
4673
+ className: g(
4659
4674
  we[`${Re}__icon`],
4660
4675
  we[`${Re}__icon--success`]
4661
4676
  )
@@ -4664,14 +4679,14 @@ const ft = {
4664
4679
  ), /* @__PURE__ */ e.createElement(
4665
4680
  "div",
4666
4681
  {
4667
- className: p(we[`${Re}__wrapper`], {
4682
+ className: g(we[`${Re}__wrapper`], {
4668
4683
  [we[`${Re}__wrapper--with-icon`]]: r
4669
4684
  })
4670
4685
  },
4671
4686
  /* @__PURE__ */ e.createElement("div", { className: we[`${Re}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
4672
4687
  "div",
4673
4688
  {
4674
- className: p(we[Xt], {
4689
+ className: g(we[Xt], {
4675
4690
  [we[`${Xt}--success`]]: l === "success",
4676
4691
  [we[`${Xt}--error`]]: l === "error"
4677
4692
  })
@@ -4682,7 +4697,7 @@ const ft = {
4682
4697
  ), t !== "hidden" && /* @__PURE__ */ e.createElement(
4683
4698
  "div",
4684
4699
  {
4685
- className: p({
4700
+ className: g({
4686
4701
  [we[`${Re}__wrapper__header__actions`]]: t === "hover"
4687
4702
  })
4688
4703
  },
@@ -4690,8 +4705,8 @@ const ft = {
4690
4705
  oa,
4691
4706
  {
4692
4707
  status: l,
4693
- onCloseButtonClick: s,
4694
- onRetryButtonClick: i
4708
+ onCloseButtonClick: n,
4709
+ onRetryButtonClick: s
4695
4710
  }
4696
4711
  )
4697
4712
  )),
@@ -4741,24 +4756,24 @@ const ft = {
4741
4756
  isExpanded: o,
4742
4757
  errorMessage: c,
4743
4758
  status: l = "normal",
4744
- icon: s,
4745
- size: i,
4746
- mode: n = "multiple",
4759
+ icon: n,
4760
+ size: s,
4761
+ mode: i = "multiple",
4747
4762
  onCloseButtonClick: d,
4748
4763
  onRetryButtonClick: m
4749
4764
  }) => {
4750
- const [u, h] = e.useState(o || !1), v = l === "error", g = l === "success", b = p(H[le], a, {
4765
+ const [u, h] = e.useState(o || !1), v = l === "error", p = l === "success", b = g(H[le], a, {
4751
4766
  [H[`${le}--error`]]: v,
4752
- [H[`${le}--success`]]: g
4767
+ [H[`${le}--success`]]: p
4753
4768
  }), k = !(v && (m || d)), f = () => h(!u);
4754
- return n === "single" ? /* @__PURE__ */ e.createElement("div", { className: b }, /* @__PURE__ */ e.createElement("div", { className: H[`${le}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: H[`${Me}`] }, /* @__PURE__ */ e.createElement(
4769
+ return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: b }, /* @__PURE__ */ e.createElement("div", { className: H[`${le}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: H[`${Me}`] }, /* @__PURE__ */ e.createElement(
4755
4770
  yc,
4756
4771
  {
4757
4772
  title: v && c || _,
4758
4773
  progressValue: r,
4759
4774
  status: l,
4760
- icon: s,
4761
- size: i
4775
+ icon: n,
4776
+ size: s
4762
4777
  }
4763
4778
  )), l === "error" && /* @__PURE__ */ e.createElement(
4764
4779
  oa,