@livechat/design-system-react-components 1.2.0 → 1.3.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
@@ -2,14 +2,14 @@ var tr = Object.defineProperty, ar = Object.defineProperties;
2
2
  var rr = Object.getOwnPropertyDescriptors;
3
3
  var Et = Object.getOwnPropertySymbols;
4
4
  var da = Object.prototype.hasOwnProperty, ua = Object.prototype.propertyIsEnumerable;
5
- var zt = (t, a, r) => a in t ? tr(t, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[a] = r, $ = (t, a) => {
5
+ var zt = (t, a, r) => a in t ? tr(t, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[a] = r, E = (t, a) => {
6
6
  for (var r in a || (a = {}))
7
7
  da.call(a, r) && zt(t, r, a[r]);
8
8
  if (Et)
9
9
  for (var r of Et(a))
10
10
  ua.call(a, r) && zt(t, r, a[r]);
11
11
  return t;
12
- }, A = (t, a) => ar(t, rr(a));
12
+ }, I = (t, a) => ar(t, rr(a));
13
13
  var P = (t, a) => {
14
14
  var r = {};
15
15
  for (var _ in t)
@@ -22,7 +22,7 @@ var P = (t, a) => {
22
22
  var Gt = (t, a, r) => (zt(t, typeof a != "symbol" ? a + "" : a, r), r);
23
23
  import * as e from "react";
24
24
  import { useReducer as _r, useRef as or, useEffect as ot, useCallback as $t, useMemo as wt } from "react";
25
- import { Close as he, ChevronDown as yt, Info as _a, Warning as Ra, CheckCircle as Ma, Block as La, Person as cr, ChevronUp as Ot, DoubleArrowLeft as lr, ChevronLeft as nr, ChevronRight as Zt, DoubleArrowRight as sr, VisibilityOn as ir, VisibilityOff as dr, Check as oa, Search as ur, LockBlackFilled as mr, Refresh as pr, Error as gr } from "@livechat/design-system-icons";
25
+ import { Close as ke, ChevronDown as yt, Info as _a, Warning as Ra, CheckCircle as Ma, Block as La, Person as cr, ChevronUp as Ot, DoubleArrowLeft as lr, ChevronLeft as nr, ChevronRight as Zt, DoubleArrowRight as sr, VisibilityOn as ir, VisibilityOff as dr, Check as oa, Search as ur, LockBlackFilled as mr, Refresh as pr, Error as gr } from "@livechat/design-system-icons";
26
26
  import g, { clsx as Ye } from "clsx";
27
27
  import { useFloating as Oa, offset as Ha, flip as za, autoUpdate as ca, useClick as fr, useDismiss as br, useRole as vr, useInteractions as hr, arrow as kr } from "@floating-ui/react";
28
28
  import { css as ct, cx as yr } from "@emotion/css";
@@ -30,11 +30,11 @@ import { CSSTransition as la, TransitionGroup as Ga } from "react-transition-gro
30
30
  import Ua from "lodash.debounce";
31
31
  import { getContrast as na } from "polished";
32
32
  import Er from "react-day-picker";
33
- import { subMonths as _t, differenceInCalendarMonths as ma, addMonths as pa, isSameMonth as Xt, isSameDay as ea, isAfter as ta, differenceInCalendarDays as Va } from "date-fns";
33
+ import { subMonths as _t, differenceInCalendarMonths as ma, addMonths as pa, isSameMonth as Xt, isSameDay as ea, isAfter as ta, differenceInCalendarDays as Wa } from "date-fns";
34
34
  import * as $r from "react-dom";
35
35
  import { useFloating as wr, offset as Cr, flip as Nr, autoUpdate as xr } from "@floating-ui/react-dom";
36
36
  import ga from "lodash.escape";
37
- const kc = {
37
+ const yc = {
38
38
  Background: "--background",
39
39
  Background01: "--background-01",
40
40
  Background02: "--background-02",
@@ -309,7 +309,7 @@ const kc = {
309
309
  SurfaceAvatar8: "--surface-avatar-8",
310
310
  SurfaceAvatar9: "--surface-avatar-9",
311
311
  SurfaceAvatar10: "--surface-avatar-10"
312
- }, yc = {
312
+ }, Ec = {
313
313
  Spacing0: "--spacing-0",
314
314
  Spacing05: "--spacing-05",
315
315
  Spacing1: "--spacing-1",
@@ -325,17 +325,17 @@ const kc = {
325
325
  Spacing18: "--spacing-18",
326
326
  Spacing20: "--spacing-20",
327
327
  Spacing24: "--spacing-24"
328
- }, Ec = {
328
+ }, $c = {
329
329
  Float: "--shadow-float",
330
330
  PopOver: "--shadow-pop-over",
331
331
  Modal: "--shadow-modal",
332
332
  Focus: "--shadow-focus"
333
- }, $c = {
333
+ }, wc = {
334
334
  0: "--radius-0",
335
335
  1: "--radius-1",
336
336
  2: "--radius-2",
337
337
  3: "--radius-3"
338
- }, O = {
338
+ }, Cc = (t, a) => `color-mix(in srgb, var(${t}) ${a}, transparent)`, z = {
339
339
  esc: "Escape",
340
340
  enter: "Enter",
341
341
  backspace: "Backspace",
@@ -364,8 +364,8 @@ const kc = {
364
364
  openedOnInit: c = !1,
365
365
  keepOpenOnClick: l,
366
366
  flipOptions: n,
367
- visible: i,
368
- onClose: s,
367
+ visible: s,
368
+ onClose: i,
369
369
  onOpen: d
370
370
  } = v, m = P(v, [
371
371
  "className",
@@ -380,46 +380,46 @@ const kc = {
380
380
  "onClose",
381
381
  "onOpen"
382
382
  ]);
383
- const f = i !== void 0, [p, b] = e.useState(c), y = e.useRef(-1), h = e.useRef(null), w = f ? i : p, S = () => {
384
- w ? (s == null || s(), !f && b(!1)) : (d == null || d(), !f && b(!0));
385
- }, { x: E, y: k, strategy: N, refs: C, context: H } = Oa({
383
+ const f = s !== void 0, [p, b] = e.useState(c), k = e.useRef(-1), h = e.useRef(null), $ = f ? s : p, x = () => {
384
+ $ ? (i == null || i(), !f && b(!1)) : (d == null || d(), !f && b(!0));
385
+ }, { x: w, y, strategy: S, refs: C, context: G } = Oa({
386
386
  middleware: [Ha(4), za(n)],
387
387
  placement: o,
388
- open: w,
389
- onOpenChange: S,
388
+ open: $,
389
+ onOpenChange: x,
390
390
  whileElementsMounted: ca
391
- }), se = fr(H), re = br(H, {
392
- enabled: w
393
- }), xe = vr(H), { getReferenceProps: Re, getFloatingProps: _e } = hr([
394
- se,
395
- re,
396
- xe
397
- ]), Me = (D) => {
398
- var ze, Se;
399
- const M = y.current;
400
- let U = M + D;
401
- for (; (ze = r[U]) != null && ze.disabled || (Se = r[U]) != null && Se.groupHeader; )
402
- if (U += D, U === -1) {
403
- U = M;
391
+ }), F = fr(G), H = br(G, {
392
+ enabled: $
393
+ }), Z = vr(G), { getReferenceProps: Te, getFloatingProps: ee } = hr([
394
+ F,
395
+ H,
396
+ Z
397
+ ]), ye = (D) => {
398
+ var ze, Be;
399
+ const L = k.current;
400
+ let V = L + D;
401
+ for (; (ze = r[V]) != null && ze.disabled || (Be = r[V]) != null && Be.groupHeader; )
402
+ if (V += D, V === -1) {
403
+ V = L;
404
404
  break;
405
405
  }
406
- return U;
407
- }, Le = (D) => {
408
- var ze, Se;
409
- y.current = Me(D);
410
- const M = (ze = h.current) == null ? void 0 : ze.children, U = M && ((Se = M[y.current]) == null ? void 0 : Se.children[0]);
411
- return U == null ? void 0 : U.focus();
412
- }, ke = (D) => {
413
- D.key === O.arrowUp && y.current > 0 && (D.preventDefault(), Le(-1)), D.key === O.arrowDown && y.current + 1 < r.length && (D.preventDefault(), Le(1));
406
+ return V;
407
+ }, Ee = (D) => {
408
+ var ze, Be;
409
+ k.current = ye(D);
410
+ const L = (ze = h.current) == null ? void 0 : ze.children, V = L && ((Be = L[k.current]) == null ? void 0 : Be.children[0]);
411
+ return V == null ? void 0 : V.focus();
412
+ }, $e = (D) => {
413
+ D.key === z.arrowUp && k.current > 0 && (D.preventDefault(), Ee(-1)), D.key === z.arrowDown && k.current + 1 < r.length && (D.preventDefault(), Ee(1));
414
414
  };
415
415
  e.useEffect(() => {
416
- if (w)
417
- return document.addEventListener("keydown", ke), () => document.removeEventListener("keydown", ke);
418
- y.current = -1;
419
- }, [w, ke]);
420
- const oe = (D, M) => {
421
- y.current = D, M == null || M(), !f && !l && (b(!1), s == null || s());
422
- }, F = (D, M) => D.groupHeader ? /* @__PURE__ */ e.createElement(
416
+ if ($)
417
+ return document.addEventListener("keydown", $e), () => document.removeEventListener("keydown", $e);
418
+ k.current = -1;
419
+ }, [$, $e]);
420
+ const le = (D, L) => {
421
+ k.current = D, L == null || L(), !f && !l && (b(!1), i == null || i());
422
+ }, R = (D, L) => D.groupHeader ? /* @__PURE__ */ e.createElement(
423
423
  "li",
424
424
  {
425
425
  key: D.key,
@@ -434,7 +434,7 @@ const kc = {
434
434
  tabIndex: -1,
435
435
  key: D.key,
436
436
  disabled: D.disabled,
437
- onClick: () => oe(M, D.onClick),
437
+ onClick: () => le(L, D.onClick),
438
438
  role: "menuitem",
439
439
  className: g(Ke[`${Je}__list__item`], {
440
440
  [Ke[`${Je}__list__item--disabled`]]: D.disabled,
@@ -445,32 +445,32 @@ const kc = {
445
445
  ));
446
446
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
447
447
  "div",
448
- A($({
448
+ I(E({
449
449
  "data-testid": "action-menu-trigger-button",
450
450
  ref: C.setReference
451
- }, Re()), {
451
+ }, Te()), {
452
452
  className: a
453
453
  }),
454
454
  _
455
- ), w && /* @__PURE__ */ e.createElement(
455
+ ), $ && /* @__PURE__ */ e.createElement(
456
456
  "div",
457
- $({
457
+ E({
458
458
  ref: C.setFloating,
459
459
  className: Ke[Je],
460
460
  style: {
461
- position: N,
462
- top: k != null ? k : "",
463
- left: E != null ? E : ""
461
+ position: S,
462
+ top: y != null ? y : "",
463
+ left: w != null ? w : ""
464
464
  }
465
- }, _e()),
465
+ }, ee()),
466
466
  /* @__PURE__ */ e.createElement(
467
467
  "ul",
468
- A($({}, m), {
468
+ I(E({}, m), {
469
469
  className: g(Ke[`${Je}__list`], t),
470
470
  role: "menu",
471
471
  ref: h
472
472
  }),
473
- r.map(F)
473
+ r.map(R)
474
474
  )
475
475
  ));
476
476
  }, Dr = "lc-Typography-module__caps___c3eNJ", rt = {
@@ -511,11 +511,11 @@ const kc = {
511
511
  ]);
512
512
  return e.createElement(
513
513
  t || Tr[a],
514
- $({ className: g(rt[`heading-${a}`], _) }, o),
514
+ E({ className: g(rt[`heading-${a}`], _) }, o),
515
515
  r
516
516
  );
517
- }, R = (s) => {
518
- var d = s, {
517
+ }, M = (i) => {
518
+ var d = i, {
519
519
  as: t = "p",
520
520
  size: a = "md",
521
521
  caps: r = !1,
@@ -524,7 +524,7 @@ const kc = {
524
524
  strike: c = !1,
525
525
  children: l,
526
526
  className: n
527
- } = d, i = P(d, [
527
+ } = d, s = P(d, [
528
528
  "as",
529
529
  "size",
530
530
  "caps",
@@ -537,7 +537,7 @@ const kc = {
537
537
  const m = r ? "caps" : `paragraph-${a}`;
538
538
  return e.createElement(
539
539
  t,
540
- $({
540
+ E({
541
541
  className: g(
542
542
  {
543
543
  [rt[`${m}`]]: !0,
@@ -547,10 +547,10 @@ const kc = {
547
547
  },
548
548
  n
549
549
  )
550
- }, i),
550
+ }, s),
551
551
  l
552
552
  );
553
- }, wc = (c) => {
553
+ }, Nc = (c) => {
554
554
  var l = c, {
555
555
  as: t = "div",
556
556
  size: a = "md",
@@ -564,7 +564,7 @@ const kc = {
564
564
  ]);
565
565
  return e.createElement(
566
566
  t,
567
- $({ className: g(rt[`display-${a}`], _) }, o),
567
+ E({ className: g(rt[`display-${a}`], _) }, o),
568
568
  r
569
569
  );
570
570
  }, lt = {
@@ -581,7 +581,7 @@ const kc = {
581
581
  })
582
582
  },
583
583
  t && /* @__PURE__ */ e.createElement("div", { className: lt[`${nt}__left-node`] }, t),
584
- /* @__PURE__ */ e.createElement(R, { as: "div", className: lt[`${nt}__label`] }, r),
584
+ /* @__PURE__ */ e.createElement(M, { as: "div", className: lt[`${nt}__label`] }, r),
585
585
  a && /* @__PURE__ */ e.createElement("div", { className: lt[`${nt}__right-node`] }, a)
586
586
  ), Ir = "lc-Icon-module__icon___tw31R", fa = {
587
587
  icon: Ir,
@@ -653,14 +653,14 @@ const kc = {
653
653
  "disabled",
654
654
  "className",
655
655
  "customColor"
656
- ]), i = e.createElement(a, A($({}, Ar[r]), {
656
+ ]), s = e.createElement(a, I(E({}, Ar[r]), {
657
657
  color: l
658
- })), s = g(
658
+ })), i = g(
659
659
  c,
660
660
  fa[ba],
661
661
  _ && fa[`${ba}--${o ? "disabled--" : ""}${_}`]
662
662
  );
663
- return /* @__PURE__ */ e.createElement("span", A($({}, n), { className: s }), i);
663
+ return /* @__PURE__ */ e.createElement("span", I(E({}, n), { className: i }), s);
664
664
  }, Pr = "lc-Loader-module__loader___LRflD", Fr = "lc-Loader-module__loader__spinner___l3C1g", Rr = "lc-Loader-module__rotate___Tlni-", Mr = "lc-Loader-module__loader__label___R74f6", st = {
665
665
  loader: Pr,
666
666
  loader__spinner: Fr,
@@ -670,13 +670,13 @@ const kc = {
670
670
  "loader__spinner-circle": "lc-Loader-module__loader__spinner-circle___ApBUO",
671
671
  rotate: Rr,
672
672
  loader__label: Mr
673
- }, Wa = "loader", va = `${Wa}__spinner`, sa = ({
673
+ }, Va = "loader", va = `${Va}__spinner`, sa = ({
674
674
  primaryColor: t,
675
675
  secondaryColor: a,
676
676
  label: r,
677
677
  className: _,
678
678
  size: o = "medium"
679
- }) => /* @__PURE__ */ e.createElement("div", { className: g(st[Wa], _) }, /* @__PURE__ */ e.createElement(
679
+ }) => /* @__PURE__ */ e.createElement("div", { className: g(st[Va], _) }, /* @__PURE__ */ e.createElement(
680
680
  "div",
681
681
  {
682
682
  className: g(st[va], st[`${va}--${o}`])
@@ -692,8 +692,19 @@ const kc = {
692
692
  }
693
693
  }
694
694
  )
695
- ), r && /* @__PURE__ */ e.createElement(R, { as: "div", size: "md", className: st.loader__label }, r)), Lr = "lc-Button-module__btn___aijZJ", Or = "lc-Button-module__btn__loader___c8zZz", Hr = "lc-Button-module__btn__icon___GVExB", ie = {
696
- btn: Lr,
695
+ ), r && /* @__PURE__ */ e.createElement(M, { as: "div", size: "md", className: st.loader__label }, r)), Lr = (t) => {
696
+ if (t === "primary" || t === "destructive")
697
+ return {
698
+ primaryColor: "var(--action-primary-default)",
699
+ secondaryColor: "var(--border-invert-primary)"
700
+ };
701
+ if (t === "link-inverted")
702
+ return {
703
+ primaryColor: "var(--content-invert-primary)",
704
+ secondaryColor: "var(--surface-invert-secondary)"
705
+ };
706
+ }, Or = "lc-Button-module__btn___aijZJ", Hr = "lc-Button-module__btn__loader___c8zZz", zr = "lc-Button-module__btn__icon___GVExB", de = {
707
+ btn: Or,
697
708
  "btn--disabled": "lc-Button-module__btn--disabled___lXBav",
698
709
  "btn--full-width": "lc-Button-module__btn--full-width___kdbAr",
699
710
  "btn--basic": "lc-Button-module__btn--basic___Jc2gD",
@@ -707,17 +718,18 @@ const kc = {
707
718
  "btn--text": "lc-Button-module__btn--text___WA8OL",
708
719
  "btn--link": "lc-Button-module__btn--link___51ZgF",
709
720
  "btn--link-light": "lc-Button-module__btn--link-light___iitZ6",
721
+ "btn--link-inverted": "lc-Button-module__btn--link-inverted___5zdGg",
710
722
  "btn--plain": "lc-Button-module__btn--plain___eOPui",
711
723
  "btn--float": "lc-Button-module__btn--float___J4lTs",
712
724
  "btn--dotted": "lc-Button-module__btn--dotted___y1EEP",
713
725
  "btn--high-contrast": "lc-Button-module__btn--high-contrast___zHSVM",
714
726
  "btn--loading": "lc-Button-module__btn--loading___ZAgjv",
715
- btn__loader: Or,
716
- btn__icon: Hr,
727
+ btn__loader: Hr,
728
+ btn__icon: zr,
717
729
  "btn__icon--left": "lc-Button-module__btn__icon--left___H68zu",
718
730
  "btn__icon--right": "lc-Button-module__btn__icon--right___fHr3D",
719
731
  "btn--icon-only--bg": "lc-Button-module__btn--icon-only--bg___X-4V2"
720
- }, de = "btn", z = e.forwardRef(
732
+ }, ue = "btn", U = e.forwardRef(
721
733
  (p, f) => {
722
734
  var b = p, {
723
735
  loading: t = !1,
@@ -728,8 +740,8 @@ const kc = {
728
740
  size: c = "medium",
729
741
  icon: l = null,
730
742
  iconPosition: n = "left",
731
- loaderLabel: i,
732
- className: s,
743
+ loaderLabel: s,
744
+ className: i,
733
745
  children: d,
734
746
  href: m,
735
747
  onClick: u
@@ -748,59 +760,53 @@ const kc = {
748
760
  "href",
749
761
  "onClick"
750
762
  ]);
751
- const y = t || a, h = !d && l, w = ["text", "link", "link-light"].includes(o), S = m ? "a" : "button", E = () => {
752
- if (o === "primary" || o === "destructive")
753
- return {
754
- primaryColor: "var(--action-primary-default)",
755
- secondaryColor: "var(--border-invert-primary)"
756
- };
757
- }, k = g(
758
- s,
759
- ie[de],
760
- ie[`${de}--${o}`],
761
- ie[`${de}--${c}`],
763
+ const k = t || a, h = !d && l, $ = ["text", "link", "link-light"].includes(o), x = m ? "a" : "button", w = g(
764
+ i,
765
+ de[ue],
766
+ de[`${ue}--${o}`],
767
+ de[`${ue}--${c}`],
762
768
  {
763
- [ie[`${de}--loading`]]: t,
764
- [ie[`${de}--full-width`]]: _,
765
- [ie[`${de}--icon-only`]]: h,
766
- [ie[`${de}--icon-only--bg`]]: h && w,
767
- [ie[`${de}--disabled`]]: y
769
+ [de[`${ue}--loading`]]: t,
770
+ [de[`${ue}--full-width`]]: _,
771
+ [de[`${ue}--icon-only`]]: h,
772
+ [de[`${ue}--icon-only--bg`]]: h && $,
773
+ [de[`${ue}--disabled`]]: k
768
774
  }
769
775
  );
770
776
  return /* @__PURE__ */ e.createElement(
771
- S,
772
- $({
777
+ x,
778
+ E({
773
779
  ref: f,
774
- className: k,
775
- "aria-disabled": y,
780
+ className: w,
781
+ "aria-disabled": k,
776
782
  type: r,
777
- href: y ? void 0 : m,
778
- onClick: y ? void 0 : u,
779
- disabled: y
783
+ href: k ? void 0 : m,
784
+ onClick: k ? void 0 : u,
785
+ disabled: k
780
786
  }, v),
781
787
  t && /* @__PURE__ */ e.createElement(
782
788
  sa,
783
- $({
789
+ E({
784
790
  size: "small",
785
- label: i,
786
- className: ie[`${de}__loader`]
787
- }, E())
791
+ label: s,
792
+ className: de[`${ue}__loader`]
793
+ }, Lr(o))
788
794
  ),
789
795
  l && e.cloneElement(l, {
790
796
  className: g(
791
797
  l.props.className,
792
- ie[`${de}__icon`],
793
- ie[`${de}__icon--${n}`]
798
+ de[`${ue}__icon`],
799
+ de[`${ue}__icon--${n}`]
794
800
  ),
795
801
  disabled: a
796
802
  }),
797
- /* @__PURE__ */ e.createElement("div", { className: ie[`${de}__content`] }, d)
803
+ /* @__PURE__ */ e.createElement("div", { className: de[`${ue}__content`] }, d)
798
804
  );
799
805
  }
800
- ), zr = "lc-Tooltip-module__tooltip___QOOAr", Gr = "lc-Tooltip-module__tooltip__wrapper___dmjmW", Ur = "lc-Tooltip-module__tooltip__interactive___0JawB", Vr = "lc-Tooltip-module__tooltip__arrow___Ov1YW", x = {
801
- tooltip: zr,
802
- tooltip__wrapper: Gr,
803
- tooltip__interactive: Ur,
806
+ ), Gr = "lc-Tooltip-module__tooltip___QOOAr", Ur = "lc-Tooltip-module__tooltip__wrapper___dmjmW", Wr = "lc-Tooltip-module__tooltip__interactive___0JawB", Vr = "lc-Tooltip-module__tooltip__arrow___Ov1YW", N = {
807
+ tooltip: Gr,
808
+ tooltip__wrapper: Ur,
809
+ tooltip__interactive: Wr,
804
810
  "tooltip__user-guide-step": "lc-Tooltip-module__tooltip__user-guide-step___evexI",
805
811
  "tooltip--invert": "lc-Tooltip-module__tooltip--invert___PVjhE",
806
812
  "tooltip--important": "lc-Tooltip-module__tooltip--important___X-IMK",
@@ -828,7 +834,7 @@ const kc = {
828
834
  "reports-tooltip__heading__title": "lc-Tooltip-module__reports-tooltip__heading__title___6TlzE",
829
835
  "reports-tooltip__heading__description": "lc-Tooltip-module__reports-tooltip__heading__description___eOQnc",
830
836
  "reports-tooltip__content": "lc-Tooltip-module__reports-tooltip__content___jxis9"
831
- }, Wr = ({
837
+ }, Yr = ({
832
838
  visible: t,
833
839
  floatingOptions: a,
834
840
  referenceElement: r,
@@ -837,8 +843,8 @@ const kc = {
837
843
  baseClass: c,
838
844
  className: l,
839
845
  theme: n,
840
- withFadeAnimation: i,
841
- transitionDuration: s,
846
+ withFadeAnimation: s,
847
+ transitionDuration: i,
842
848
  transitionDelay: d,
843
849
  handleMouseEnter: m,
844
850
  handleMouseLeave: u,
@@ -848,92 +854,92 @@ const kc = {
848
854
  fullSpaceContent: b
849
855
  }) => {
850
856
  const {
851
- x: y,
857
+ x: k,
852
858
  y: h,
853
- strategy: w,
854
- update: S,
855
- refs: E,
856
- placement: k,
857
- middlewareData: { arrow: { x: N, y: C } = {} }
859
+ strategy: $,
860
+ update: x,
861
+ refs: w,
862
+ placement: y,
863
+ middlewareData: { arrow: { x: S, y: C } = {} }
858
864
  } = a;
859
865
  e.useEffect(() => {
860
- if (!(!E.reference.current || !E.floating.current))
861
- return ca(E.reference.current, E.floating.current, S);
862
- }, [E.reference, E.floating, S, k, t]), e.useEffect(() => {
863
- r && E.setReference(r);
864
- }, [E.setReference, r]);
865
- const H = o && C ? C + o : C, se = _ && N ? N + _ : N, re = g(x[c], l, {
866
- [x[`${c}--invert`]]: n === "invert",
867
- [x[`${c}--important`]]: n === "important",
868
- [x[`${c}--full-space`]]: b
869
- }), xe = /* @__PURE__ */ e.createElement(
866
+ if (!(!w.reference.current || !w.floating.current))
867
+ return ca(w.reference.current, w.floating.current, x);
868
+ }, [w.reference, w.floating, x, y, t]), e.useEffect(() => {
869
+ r && w.setReference(r);
870
+ }, [w.setReference, r]);
871
+ const G = o && C ? C + o : C, F = _ && S ? S + _ : S, H = g(N[c], l, {
872
+ [N[`${c}--invert`]]: n === "invert",
873
+ [N[`${c}--important`]]: n === "important",
874
+ [N[`${c}--full-space`]]: b
875
+ }), Z = /* @__PURE__ */ e.createElement(
870
876
  "div",
871
877
  {
872
- ref: E.setFloating,
878
+ ref: w.setFloating,
873
879
  style: {
874
- position: w,
880
+ position: $,
875
881
  top: h != null ? h : "",
876
- left: y != null ? y : ""
882
+ left: k != null ? k : ""
877
883
  },
878
- className: re,
884
+ className: H,
879
885
  onMouseEnter: m,
880
886
  onMouseLeave: u
881
887
  },
882
- e.Children.map(p, (_e) => e.isValidElement(_e) ? e.cloneElement(_e, $({
888
+ e.Children.map(p, (ee) => e.isValidElement(ee) ? e.cloneElement(ee, E({
883
889
  handleCloseAction: v,
884
890
  theme: n
885
- }, _e.props)) : null),
891
+ }, ee.props)) : null),
886
892
  /* @__PURE__ */ e.createElement(
887
893
  "div",
888
894
  {
889
895
  ref: f,
890
- className: g([x[`${c}__arrow`]]),
891
- "data-arrow-placement": k,
892
- style: { top: H, left: se }
896
+ className: g([N[`${c}__arrow`]]),
897
+ "data-arrow-placement": y,
898
+ style: { top: G, left: F }
893
899
  }
894
900
  )
895
901
  );
896
- function Re() {
897
- if (i) {
898
- const _e = ct`
902
+ function Te() {
903
+ if (s) {
904
+ const ee = ct`
899
905
  pointer-events: none;
900
906
  opacity: 0;
901
- `, Me = ct`
907
+ `, ye = ct`
902
908
  opacity: 1;
903
909
  transition-property: opacity;
904
- transition-duration: ${s}ms;
910
+ transition-duration: ${i}ms;
905
911
  transition-delay: ${d}ms;
906
- `, Le = ct`
912
+ `, Ee = ct`
907
913
  pointer-events: initial;
908
- `, ke = ct`
914
+ `, $e = ct`
909
915
  opacity: 1;
910
- `, oe = ct`
916
+ `, le = ct`
911
917
  opacity: 0;
912
918
  transition-property: opacity;
913
- transition-duration: ${s}ms;
919
+ transition-duration: ${i}ms;
914
920
  transition-delay: ${d}ms;
915
- `, F = s + d;
921
+ `, R = i + d;
916
922
  return /* @__PURE__ */ e.createElement(
917
923
  la,
918
924
  {
919
925
  in: t,
920
926
  mountOnEnter: !0,
921
927
  unmountOnExit: !0,
922
- timeout: F,
928
+ timeout: R,
923
929
  classNames: {
924
- enter: _e,
925
- enterDone: Le,
926
- enterActive: Me,
927
- exit: ke,
928
- exitActive: oe
930
+ enter: ee,
931
+ enterDone: Ee,
932
+ enterActive: ye,
933
+ exit: $e,
934
+ exitActive: le
929
935
  }
930
936
  },
931
- xe
937
+ Z
932
938
  );
933
939
  } else
934
- return t && xe;
940
+ return t && Z;
935
941
  }
936
- return /* @__PURE__ */ e.createElement(e.Fragment, null, Re());
942
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, Te());
937
943
  };
938
944
  function Ya(t) {
939
945
  switch (t) {
@@ -943,7 +949,7 @@ function Ya(t) {
943
949
  return "primary";
944
950
  }
945
951
  }
946
- const Yr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t) => {
952
+ const qr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t) => {
947
953
  const {
948
954
  triggerRenderer: a,
949
955
  referenceElement: r,
@@ -952,8 +958,8 @@ const Yr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t)
952
958
  triggerClassName: c,
953
959
  theme: l,
954
960
  placement: n,
955
- isVisible: i,
956
- withFadeAnimation: s = !0,
961
+ isVisible: s,
962
+ withFadeAnimation: i = !0,
957
963
  transitionDuration: d = 200,
958
964
  transitionDelay: m = 0,
959
965
  hoverOutDelayTimeout: u = 100,
@@ -961,48 +967,48 @@ const Yr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t)
961
967
  triggerOnClick: f = !1,
962
968
  arrowOffsetY: p,
963
969
  arrowOffsetX: b,
964
- fullSpaceContent: y,
970
+ fullSpaceContent: k,
965
971
  onOpen: h,
966
- onClose: w
967
- } = t, S = e.useRef(!0), E = i !== void 0, k = e.useRef(null), [N, C] = e.useState(i), H = e.useRef(!1), se = Oa({
972
+ onClose: $
973
+ } = t, x = e.useRef(!0), w = s !== void 0, y = e.useRef(null), [S, C] = e.useState(s), G = e.useRef(!1), F = Oa({
968
974
  middleware: [
969
975
  Ha({ mainAxis: v }),
970
- kr({ element: k }),
976
+ kr({ element: y }),
971
977
  za()
972
978
  ],
973
979
  placement: n,
974
980
  whileElementsMounted: ca
975
- }), re = (oe) => {
976
- oe ? !N && (h == null || h()) : N && (w == null || w()), E || C(oe);
981
+ }), H = (le) => {
982
+ le ? !S && (h == null || h()) : S && ($ == null || $()), w || C(le);
977
983
  };
978
984
  e.useEffect(() => {
979
- if (S.current) {
980
- S.current = !1;
985
+ if (x.current) {
986
+ x.current = !1;
981
987
  return;
982
988
  }
983
- i === !0 && (h == null || h()), i === !1 && (w == null || w()), C(i);
984
- }, [i]), e.useEffect(() => (document.addEventListener("keydown", _e), () => {
985
- document.removeEventListener("keydown", _e);
989
+ s === !0 && (h == null || h()), s === !1 && ($ == null || $()), C(s);
990
+ }, [s]), e.useEffect(() => (document.addEventListener("keydown", ee), () => {
991
+ document.removeEventListener("keydown", ee);
986
992
  }), []);
987
- const xe = () => {
988
- f || E || (H.current = !0, re(!0));
989
- }, Re = () => {
990
- f || E || (H.current = !1, Yr(u).then(() => {
991
- H.current || re(!1);
993
+ const Z = () => {
994
+ f || w || (G.current = !0, H(!0));
995
+ }, Te = () => {
996
+ f || w || (G.current = !1, qr(u).then(() => {
997
+ G.current || H(!1);
992
998
  }));
993
- }, _e = (oe) => {
994
- (oe instanceof KeyboardEvent && oe.key === "Escape" || oe.type === "click") && re(!1);
995
- }, Me = /* @__PURE__ */ e.createElement(
996
- Wr,
999
+ }, ee = (le) => {
1000
+ (le instanceof KeyboardEvent && le.key === "Escape" || le.type === "click") && H(!1);
1001
+ }, ye = /* @__PURE__ */ e.createElement(
1002
+ Yr,
997
1003
  {
998
1004
  baseClass: ha,
999
1005
  className: o,
1000
- visible: N,
1001
- floatingOptions: se,
1002
- arrowRef: k,
1003
- handleMouseEnter: xe,
1004
- handleMouseLeave: Re,
1005
- handleCloseAction: _e,
1006
+ visible: S,
1007
+ floatingOptions: F,
1008
+ arrowRef: y,
1009
+ handleMouseEnter: Z,
1010
+ handleMouseLeave: Te,
1011
+ handleCloseAction: ee,
1006
1012
  childrenElements: _,
1007
1013
  transitionDuration: d,
1008
1014
  transitionDelay: m,
@@ -1010,44 +1016,44 @@ const Yr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t)
1010
1016
  arrowOffsetX: b,
1011
1017
  arrowOffsetY: p,
1012
1018
  theme: l,
1013
- withFadeAnimation: s,
1014
- fullSpaceContent: y
1019
+ withFadeAnimation: i,
1020
+ fullSpaceContent: k
1015
1021
  }
1016
1022
  );
1017
1023
  if (r)
1018
- return Me;
1019
- const Le = () => {
1020
- re(!N);
1021
- }, ke = () => {
1022
- if (!E)
1024
+ return ye;
1025
+ const Ee = () => {
1026
+ H(!S);
1027
+ }, $e = () => {
1028
+ if (!w)
1023
1029
  return f ? {
1024
- onClick: Le
1030
+ onClick: Ee
1025
1031
  } : {
1026
- onMouseEnter: xe,
1027
- onMouseLeave: Re
1032
+ onMouseEnter: Z,
1033
+ onMouseLeave: Te
1028
1034
  };
1029
1035
  };
1030
1036
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
1031
1037
  "div",
1032
- $({
1033
- className: g(x[`${ha}__wrapper`], c),
1034
- ref: se.refs.setReference
1035
- }, ke()),
1038
+ E({
1039
+ className: g(N[`${ha}__wrapper`], c),
1040
+ ref: F.refs.setReference
1041
+ }, $e()),
1036
1042
  a()
1037
- ), Me);
1038
- }, Cc = ({ text: t }) => /* @__PURE__ */ e.createElement("div", null, t), it = "tooltip", Nc = ({ header: t, text: a, closeWithX: r, theme: _, handleCloseAction: o }) => /* @__PURE__ */ e.createElement("div", null, r && /* @__PURE__ */ e.createElement(
1043
+ ), ye);
1044
+ }, xc = ({ text: t }) => /* @__PURE__ */ e.createElement("div", null, t), it = "tooltip", Sc = ({ header: t, text: a, closeWithX: r, theme: _, handleCloseAction: o }) => /* @__PURE__ */ e.createElement("div", null, r && /* @__PURE__ */ e.createElement(
1039
1045
  "button",
1040
1046
  {
1041
- className: x[`${it}-close`],
1047
+ className: N[`${it}-close`],
1042
1048
  onClick: o
1043
1049
  },
1044
- /* @__PURE__ */ e.createElement(T, { source: he, kind: _ ? Ya(_) : "primary" })
1050
+ /* @__PURE__ */ e.createElement(T, { source: ke, kind: _ ? Ya(_) : "primary" })
1045
1051
  ), t && /* @__PURE__ */ e.createElement(
1046
1052
  "div",
1047
1053
  {
1048
1054
  className: g(
1049
- x[`${it}-header`],
1050
- x[`${it}-header--info`]
1055
+ N[`${it}-header`],
1056
+ N[`${it}-header--info`]
1051
1057
  )
1052
1058
  },
1053
1059
  t
@@ -1055,12 +1061,12 @@ const Yr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t)
1055
1061
  "div",
1056
1062
  {
1057
1063
  className: g(
1058
- x[`${it}-text`],
1059
- x[`${it}-text--info`]
1064
+ N[`${it}-text`],
1065
+ N[`${it}-text--info`]
1060
1066
  )
1061
1067
  },
1062
1068
  a
1063
- )), ye = "tooltip", xc = ({
1069
+ )), we = "tooltip", Dc = ({
1064
1070
  header: t,
1065
1071
  text: a,
1066
1072
  image: r,
@@ -1070,42 +1076,42 @@ const Yr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t)
1070
1076
  primaryButton: l,
1071
1077
  secondaryButton: n
1072
1078
  }) => {
1073
- const i = (s) => s === "invert" ? "secondary" : "high-contrast";
1074
- return /* @__PURE__ */ e.createElement("div", { className: x[`${ye}__interactive`] }, _ && /* @__PURE__ */ e.createElement(
1079
+ const s = (i) => i === "invert" ? "secondary" : "high-contrast";
1080
+ return /* @__PURE__ */ e.createElement("div", { className: N[`${we}__interactive`] }, _ && /* @__PURE__ */ e.createElement(
1075
1081
  "button",
1076
1082
  {
1077
- className: x[`${ye}-close`],
1083
+ className: N[`${we}-close`],
1078
1084
  onClick: c
1079
1085
  },
1080
- /* @__PURE__ */ e.createElement(T, { source: he, kind: o ? Ya(o) : "primary" })
1081
- ), r && /* @__PURE__ */ e.createElement("div", { className: x[`${ye}-image-container`] }, /* @__PURE__ */ e.createElement(
1086
+ /* @__PURE__ */ e.createElement(T, { source: ke, kind: o ? Ya(o) : "primary" })
1087
+ ), r && /* @__PURE__ */ e.createElement("div", { className: N[`${we}-image-container`] }, /* @__PURE__ */ e.createElement(
1082
1088
  "img",
1083
1089
  {
1084
- className: x[`${ye}-image`],
1090
+ className: N[`${we}-image`],
1085
1091
  src: r.src,
1086
1092
  alt: r.alt
1087
1093
  }
1088
- )), t && /* @__PURE__ */ e.createElement("div", { className: x[`${ye}-header`] }, t), /* @__PURE__ */ e.createElement("div", { className: x[`${ye}-text`] }, a), /* @__PURE__ */ e.createElement(
1094
+ )), t && /* @__PURE__ */ e.createElement("div", { className: N[`${we}-header`] }, t), /* @__PURE__ */ e.createElement("div", { className: N[`${we}-text`] }, a), /* @__PURE__ */ e.createElement(
1089
1095
  "div",
1090
1096
  {
1091
1097
  className: g(
1092
- x[`${ye}-footer`],
1093
- x[`${ye}-footer--interactive`]
1098
+ N[`${we}-footer`],
1099
+ N[`${we}-footer--interactive`]
1094
1100
  )
1095
1101
  },
1096
1102
  /* @__PURE__ */ e.createElement(
1097
- z,
1103
+ U,
1098
1104
  {
1099
- kind: l.kind || i(o),
1105
+ kind: l.kind || s(o),
1100
1106
  onClick: l.handleClick
1101
1107
  },
1102
1108
  l.label
1103
1109
  ),
1104
1110
  /* @__PURE__ */ e.createElement(
1105
- z,
1111
+ U,
1106
1112
  {
1107
- className: g(x[`${ye}-footer-secondary`], {
1108
- [x[`${ye}-footer-secondary-invert`]]: o === "invert"
1113
+ className: g(N[`${we}-footer-secondary`], {
1114
+ [N[`${we}-footer-secondary-invert`]]: o === "invert"
1109
1115
  }),
1110
1116
  kind: n.kind || "text",
1111
1117
  onClick: n.handleClick
@@ -1113,7 +1119,7 @@ const Yr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t)
1113
1119
  n.label
1114
1120
  )
1115
1121
  ));
1116
- }, Q = "guide-tooltip", qr = ({
1122
+ }, te = "guide-tooltip", Kr = ({
1117
1123
  gap: t,
1118
1124
  isVisible: a,
1119
1125
  slide: r,
@@ -1141,7 +1147,7 @@ const Yr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t)
1141
1147
  left: "0",
1142
1148
  width: "100%",
1143
1149
  height: `calc(100% - ${t.bottom}px)`
1144
- }, i = {
1150
+ }, s = {
1145
1151
  top: `${t.top}px`,
1146
1152
  left: `${t.left}px`,
1147
1153
  width: `${t.width}px`,
@@ -1152,9 +1158,9 @@ const Yr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t)
1152
1158
  "div",
1153
1159
  {
1154
1160
  className: g({
1155
- [x[`${Q}__overlay`]]: !0,
1156
- [x[`${Q}__overlay--visible`]]: a,
1157
- [x[`${Q}__overlay--slide`]]: r
1161
+ [N[`${te}__overlay`]]: !0,
1162
+ [N[`${te}__overlay--visible`]]: a,
1163
+ [N[`${te}__overlay--slide`]]: r
1158
1164
  }),
1159
1165
  style: o
1160
1166
  }
@@ -1162,9 +1168,9 @@ const Yr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t)
1162
1168
  "div",
1163
1169
  {
1164
1170
  className: g({
1165
- [x[`${Q}__overlay`]]: !0,
1166
- [x[`${Q}__overlay--visible`]]: a,
1167
- [x[`${Q}__overlay--slide`]]: r
1171
+ [N[`${te}__overlay`]]: !0,
1172
+ [N[`${te}__overlay--visible`]]: a,
1173
+ [N[`${te}__overlay--slide`]]: r
1168
1174
  }),
1169
1175
  style: l
1170
1176
  }
@@ -1172,9 +1178,9 @@ const Yr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t)
1172
1178
  "div",
1173
1179
  {
1174
1180
  className: g({
1175
- [x[`${Q}__overlay`]]: !0,
1176
- [x[`${Q}__overlay--visible`]]: a,
1177
- [x[`${Q}__overlay--slide`]]: r
1181
+ [N[`${te}__overlay`]]: !0,
1182
+ [N[`${te}__overlay--visible`]]: a,
1183
+ [N[`${te}__overlay--slide`]]: r
1178
1184
  }),
1179
1185
  style: c
1180
1186
  }
@@ -1182,9 +1188,9 @@ const Yr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t)
1182
1188
  "div",
1183
1189
  {
1184
1190
  className: g({
1185
- [x[`${Q}__overlay`]]: !0,
1186
- [x[`${Q}__overlay--visible`]]: a,
1187
- [x[`${Q}__overlay--slide`]]: r
1191
+ [N[`${te}__overlay`]]: !0,
1192
+ [N[`${te}__overlay--visible`]]: a,
1193
+ [N[`${te}__overlay--slide`]]: r
1188
1194
  }),
1189
1195
  style: n
1190
1196
  }
@@ -1192,22 +1198,22 @@ const Yr = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", qa = (t)
1192
1198
  "div",
1193
1199
  {
1194
1200
  className: g({
1195
- [x[`${Q}__overlay`]]: !0,
1196
- [x[`${Q}__overlay--visible`]]: a,
1197
- [x[`${Q}__overlay--slide`]]: r
1201
+ [N[`${te}__overlay`]]: !0,
1202
+ [N[`${te}__overlay--visible`]]: a,
1203
+ [N[`${te}__overlay--slide`]]: r
1198
1204
  }),
1199
- style: i
1205
+ style: s
1200
1206
  }
1201
1207
  ));
1202
1208
  };
1203
- class Kr {
1209
+ class Jr {
1204
1210
  constructor(a, r) {
1205
1211
  Gt(this, "element");
1206
1212
  Gt(this, "padding");
1207
1213
  this.element = a, this.padding = r;
1208
1214
  }
1209
1215
  addPadding(a) {
1210
- 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, i = l + c, s = n + o;
1216
+ 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;
1211
1217
  return {
1212
1218
  x: r,
1213
1219
  y: _,
@@ -1215,8 +1221,8 @@ class Kr {
1215
1221
  height: c,
1216
1222
  top: l,
1217
1223
  left: n,
1218
- bottom: i,
1219
- right: s
1224
+ bottom: s,
1225
+ right: i
1220
1226
  };
1221
1227
  }
1222
1228
  getBoundingClientRect() {
@@ -1229,7 +1235,7 @@ class Kr {
1229
1235
  return this.getBoundingClientRect().height;
1230
1236
  }
1231
1237
  }
1232
- const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Kr(t, a), Sc = (t) => {
1238
+ const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Jr(t, a), Tc = (t) => {
1233
1239
  const {
1234
1240
  className: a,
1235
1241
  parentElementName: r,
@@ -1237,8 +1243,8 @@ const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Kr(t, a), Sc = (t) => {
1237
1243
  shouldSlide: o = !0
1238
1244
  } = t, [c, l] = e.useState(
1239
1245
  null
1240
- ), [n, i] = e.useState(null), [s, d] = e.useState(o), m = () => {
1241
- c && (i(
1246
+ ), [n, s] = e.useState(null), [i, d] = e.useState(o), m = () => {
1247
+ c && (s(
1242
1248
  Ea(
1243
1249
  c,
1244
1250
  ka
@@ -1256,49 +1262,49 @@ const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Kr(t, a), Sc = (t) => {
1256
1262
  l(u);
1257
1263
  }
1258
1264
  }, [r]), e.useEffect(() => {
1259
- c && i(
1265
+ c && s(
1260
1266
  Ea(
1261
1267
  c,
1262
1268
  ka
1263
1269
  ).getBoundingClientRect()
1264
1270
  ), d(!0);
1265
1271
  }, [c]), c && _ ? /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
1266
- qr,
1272
+ Kr,
1267
1273
  {
1268
1274
  gap: n,
1269
1275
  isVisible: _,
1270
- slide: s,
1276
+ slide: i,
1271
1277
  disablePointerEvents: !0
1272
1278
  }
1273
1279
  ), /* @__PURE__ */ e.createElement(
1274
1280
  qa,
1275
- A($({}, t), {
1281
+ I(E({}, t), {
1276
1282
  referenceElement: {
1277
1283
  getBoundingClientRect: () => n,
1278
1284
  contextElement: c
1279
1285
  },
1280
1286
  arrowOffsetY: 25,
1281
1287
  className: g({
1282
- [x[ya]]: !0,
1283
- [x[`${ya}--slide`]]: s,
1288
+ [N[ya]]: !0,
1289
+ [N[`${ya}--slide`]]: i,
1284
1290
  className: a
1285
1291
  })
1286
1292
  }),
1287
1293
  t.children
1288
1294
  )) : null;
1289
- }, dt = "reports-tooltip", Dc = ({
1295
+ }, dt = "reports-tooltip", Bc = ({
1290
1296
  title: t,
1291
1297
  description: a,
1292
1298
  children: r
1293
- }) => /* @__PURE__ */ e.createElement("div", { className: x[dt] }, /* @__PURE__ */ e.createElement("div", { className: x[`${dt}__heading`] }, /* @__PURE__ */ e.createElement(R, { as: "div", className: x[`${dt}__heading__title`] }, t), /* @__PURE__ */ e.createElement(
1294
- R,
1299
+ }) => /* @__PURE__ */ e.createElement("div", { className: N[dt] }, /* @__PURE__ */ e.createElement("div", { className: N[`${dt}__heading`] }, /* @__PURE__ */ e.createElement(M, { as: "div", className: N[`${dt}__heading__title`] }, t), /* @__PURE__ */ e.createElement(
1300
+ M,
1295
1301
  {
1296
1302
  as: "div",
1297
1303
  size: "xs",
1298
- className: x[`${dt}__heading__description`]
1304
+ className: N[`${dt}__heading__description`]
1299
1305
  },
1300
1306
  a
1301
- )), /* @__PURE__ */ e.createElement("div", { className: x[`${dt}__content`] }, /* @__PURE__ */ e.createElement(R, { as: "div" }, r))), Fe = {
1307
+ )), /* @__PURE__ */ e.createElement("div", { className: N[`${dt}__content`] }, /* @__PURE__ */ e.createElement(M, { as: "div" }, r))), Le = {
1302
1308
  "action-bar": "lc-ActionBar-module__action-bar___TJitF",
1303
1309
  "action-bar__items": "lc-ActionBar-module__action-bar__items___uhoQA",
1304
1310
  "action-bar__items--scroll": "lc-ActionBar-module__action-bar__items--scroll___f--dN",
@@ -1307,16 +1313,16 @@ const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Kr(t, a), Sc = (t) => {
1307
1313
  "action-bar__items__button--hidden": "lc-ActionBar-module__action-bar__items__button--hidden___C00VA",
1308
1314
  "action-bar__items__tooltip": "lc-ActionBar-module__action-bar__items__tooltip___BuQPo",
1309
1315
  "action-bar__menu-wrapper": "lc-ActionBar-module__action-bar__menu-wrapper___OMWP5"
1310
- }, Ct = "action-bar__items", Jr = ({
1316
+ }, Ct = "action-bar__items", jr = ({
1311
1317
  option: t,
1312
1318
  menuItemsKeys: a,
1313
1319
  activeOptionKey: r
1314
1320
  }) => {
1315
- const _ = g(Fe[`${Ct}__button`], {
1316
- [Fe[`${Ct}__button--hidden`]]: a.includes(
1321
+ const _ = g(Le[`${Ct}__button`], {
1322
+ [Le[`${Ct}__button--hidden`]]: a.includes(
1317
1323
  t.key
1318
1324
  ),
1319
- [Fe[`${Ct}__button--active`]]: t.key === r
1325
+ [Le[`${Ct}__button--active`]]: t.key === r
1320
1326
  });
1321
1327
  if (t.showTooltip) {
1322
1328
  const o = a.includes(t.key) && {
@@ -1324,12 +1330,12 @@ const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Kr(t, a), Sc = (t) => {
1324
1330
  };
1325
1331
  return /* @__PURE__ */ e.createElement(
1326
1332
  qa,
1327
- $({
1333
+ E({
1328
1334
  theme: "invert",
1329
1335
  placement: "top",
1330
- triggerClassName: Fe[`${Ct}__tooltip`],
1336
+ triggerClassName: Le[`${Ct}__tooltip`],
1331
1337
  triggerRenderer: () => /* @__PURE__ */ e.createElement(
1332
- z,
1338
+ U,
1333
1339
  {
1334
1340
  id: t.key,
1335
1341
  key: t.key,
@@ -1345,7 +1351,7 @@ const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Kr(t, a), Sc = (t) => {
1345
1351
  );
1346
1352
  }
1347
1353
  return /* @__PURE__ */ e.createElement(
1348
- z,
1354
+ U,
1349
1355
  {
1350
1356
  id: t.key,
1351
1357
  key: t.key,
@@ -1356,14 +1362,14 @@ const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Kr(t, a), Sc = (t) => {
1356
1362
  icon: t.element
1357
1363
  }
1358
1364
  );
1359
- }, ut = "action-bar", Tc = ({
1365
+ }, ut = "action-bar", Ic = ({
1360
1366
  className: t,
1361
1367
  id: a = "action-bar-area",
1362
1368
  type: r = "menu",
1363
1369
  options: _,
1364
1370
  activeOptionKey: o
1365
1371
  }) => {
1366
- const [c, l] = e.useState([]), n = r === "scroll", i = g(Fe[ut], t), s = {
1372
+ const [c, l] = e.useState([]), n = r === "scroll", s = g(Le[ut], t), i = {
1367
1373
  root: document.querySelector(`${a}`),
1368
1374
  threshold: 1
1369
1375
  }, d = !n && c.length !== 0, m = (v) => {
@@ -1383,10 +1389,10 @@ const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Kr(t, a), Sc = (t) => {
1383
1389
  const v = !!window.IntersectionObserver;
1384
1390
  if (!n && v) {
1385
1391
  const f = document.querySelectorAll(
1386
- `.${Fe[`${ut}__items__button`]}`
1392
+ `.${Le[`${ut}__items__button`]}`
1387
1393
  ), p = new IntersectionObserver(
1388
1394
  m,
1389
- s
1395
+ i
1390
1396
  );
1391
1397
  return f.forEach((b) => p.observe(b)), () => p.disconnect();
1392
1398
  }
@@ -1398,35 +1404,35 @@ const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Kr(t, a), Sc = (t) => {
1398
1404
  element: /* @__PURE__ */ e.createElement(Br, { leftNode: p.element }, p.label),
1399
1405
  onClick: p.onClick
1400
1406
  }));
1401
- return /* @__PURE__ */ e.createElement("div", { id: a, className: i }, /* @__PURE__ */ e.createElement(
1407
+ return /* @__PURE__ */ e.createElement("div", { id: a, className: s }, /* @__PURE__ */ e.createElement(
1402
1408
  "div",
1403
1409
  {
1404
- className: g(Fe[`${ut}__items`], {
1405
- [Fe[`${ut}__items--scroll`]]: n
1410
+ className: g(Le[`${ut}__items`], {
1411
+ [Le[`${ut}__items--scroll`]]: n
1406
1412
  })
1407
1413
  },
1408
1414
  _.map((v) => /* @__PURE__ */ e.createElement(
1409
- Jr,
1415
+ jr,
1410
1416
  {
1411
1417
  option: v,
1412
1418
  menuItemsKeys: c,
1413
1419
  activeOptionKey: o
1414
1420
  }
1415
1421
  ))
1416
- ), d && /* @__PURE__ */ e.createElement("div", { className: Fe[`${ut}__menu-wrapper`] }, /* @__PURE__ */ e.createElement(
1422
+ ), d && /* @__PURE__ */ e.createElement("div", { className: Le[`${ut}__menu-wrapper`] }, /* @__PURE__ */ e.createElement(
1417
1423
  Sr,
1418
1424
  {
1419
1425
  options: u(c),
1420
1426
  triggerRenderer: /* @__PURE__ */ e.createElement(T, { source: yt, kind: "primary" })
1421
1427
  }
1422
1428
  )));
1423
- }, jr = "lc-Alert-module__alert___HBTns", Qr = "lc-Alert-module__alert__icon___8TaAH", Zr = "lc-Alert-module__alert__content___9nZdf", Xr = "lc-Alert-module__alert__content__text___7nx1p", e_ = "lc-Alert-module__alert__content__cta___gTWPt", t_ = "lc-Alert-module__alert__content__cta__link___D976B", Ee = {
1424
- alert: jr,
1425
- alert__icon: Qr,
1426
- alert__content: Zr,
1427
- alert__content__text: Xr,
1428
- alert__content__cta: e_,
1429
- alert__content__cta__link: t_,
1429
+ }, Qr = "lc-Alert-module__alert___HBTns", Zr = "lc-Alert-module__alert__icon___8TaAH", Xr = "lc-Alert-module__alert__content___9nZdf", e_ = "lc-Alert-module__alert__content__text___7nx1p", t_ = "lc-Alert-module__alert__content__cta___gTWPt", a_ = "lc-Alert-module__alert__content__cta__link___D976B", Ce = {
1430
+ alert: Qr,
1431
+ alert__icon: Zr,
1432
+ alert__content: Xr,
1433
+ alert__content__text: e_,
1434
+ alert__content__cta: t_,
1435
+ alert__content__cta__link: a_,
1430
1436
  "alert__close-icon": "lc-Alert-module__alert__close-icon___rYxVy",
1431
1437
  "alert--small": "lc-Alert-module__alert--small___Fyk-v",
1432
1438
  "alert--medium": "lc-Alert-module__alert--medium___ItZWT",
@@ -1434,7 +1440,7 @@ const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Kr(t, a), Sc = (t) => {
1434
1440
  "alert--warning": "lc-Alert-module__alert--warning___MubhD",
1435
1441
  "alert--success": "lc-Alert-module__alert--success___fPtlZ",
1436
1442
  "alert--error": "lc-Alert-module__alert--error___DKPo0"
1437
- }, a_ = {
1443
+ }, r_ = {
1438
1444
  info: {
1439
1445
  source: _a,
1440
1446
  kind: "link"
@@ -1451,15 +1457,15 @@ const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Kr(t, a), Sc = (t) => {
1451
1457
  source: La,
1452
1458
  kind: "error"
1453
1459
  }
1454
- }, $e = "alert", Bc = (n) => {
1455
- var i = n, {
1460
+ }, Ne = "alert", Ac = (n) => {
1461
+ var s = n, {
1456
1462
  children: t,
1457
1463
  className: a,
1458
1464
  primaryButton: r,
1459
1465
  secondaryButton: _,
1460
1466
  kind: o = "info",
1461
1467
  onClose: c
1462
- } = i, l = P(i, [
1468
+ } = s, l = P(s, [
1463
1469
  "children",
1464
1470
  "className",
1465
1471
  "primaryButton",
@@ -1467,40 +1473,40 @@ const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Kr(t, a), Sc = (t) => {
1467
1473
  "kind",
1468
1474
  "onClose"
1469
1475
  ]);
1470
- const s = e.useRef(null), [d, m] = e.useState(null), u = g(
1471
- Ee[$e],
1472
- Ee[`${$e}--${o}`],
1473
- d === "medium" && Ee[`${$e}--medium`],
1474
- d === "small" && Ee[`${$e}--small`],
1476
+ const i = e.useRef(null), [d, m] = e.useState(null), u = g(
1477
+ Ce[Ne],
1478
+ Ce[`${Ne}--${o}`],
1479
+ d === "medium" && Ce[`${Ne}--medium`],
1480
+ d === "small" && Ce[`${Ne}--small`],
1475
1481
  a
1476
1482
  );
1477
1483
  return e.useEffect(() => {
1478
- const v = () => s.current && s.current.offsetWidth <= 400 ? m("small") : s.current && s.current.offsetWidth > 400 && s.current.offsetWidth <= 800 ? m("medium") : m(null), f = Ua(() => {
1484
+ const v = () => i.current && i.current.offsetWidth <= 400 ? m("small") : i.current && i.current.offsetWidth > 400 && i.current.offsetWidth <= 800 ? m("medium") : m(null), f = Ua(() => {
1479
1485
  v();
1480
1486
  }, 500);
1481
1487
  return window.addEventListener("resize", f), v(), () => window.removeEventListener("resize", f);
1482
- }), /* @__PURE__ */ e.createElement("div", $({ ref: s, className: u }, l), /* @__PURE__ */ e.createElement(
1488
+ }), /* @__PURE__ */ e.createElement("div", E({ ref: i, className: u }, l), /* @__PURE__ */ e.createElement(
1483
1489
  T,
1484
- A($({}, a_[o]), {
1490
+ I(E({}, r_[o]), {
1485
1491
  size: "large",
1486
- className: Ee[`${$e}__icon`]
1492
+ className: Ce[`${Ne}__icon`]
1487
1493
  })
1488
- ), /* @__PURE__ */ e.createElement("div", { className: Ee[`${$e}__content`] }, /* @__PURE__ */ e.createElement(R, { as: "div", className: Ee[`${$e}__content__text`] }, t), (r || _) && /* @__PURE__ */ e.createElement("div", { className: Ee[`${$e}__content__cta`] }, r && /* @__PURE__ */ e.createElement(z, { kind: "high-contrast", onClick: r.handleClick }, r.label), _ && /* @__PURE__ */ e.createElement(
1489
- z,
1494
+ ), /* @__PURE__ */ e.createElement("div", { className: Ce[`${Ne}__content`] }, /* @__PURE__ */ e.createElement(M, { as: "div", className: Ce[`${Ne}__content__text`] }, t), (r || _) && /* @__PURE__ */ e.createElement("div", { className: Ce[`${Ne}__content__cta`] }, r && /* @__PURE__ */ e.createElement(U, { kind: "high-contrast", onClick: r.handleClick }, r.label), _ && /* @__PURE__ */ e.createElement(
1495
+ U,
1490
1496
  {
1491
- className: Ee[`${$e}__content__cta__link`],
1497
+ className: Ce[`${Ne}__content__cta__link`],
1492
1498
  kind: "text",
1493
1499
  onClick: _.handleClick
1494
1500
  },
1495
1501
  _.label
1496
1502
  ))), c && /* @__PURE__ */ e.createElement(
1497
- z,
1503
+ U,
1498
1504
  {
1499
1505
  type: "button",
1500
- className: Ee[`${$e}__close-icon`],
1506
+ className: Ce[`${Ne}__close-icon`],
1501
1507
  size: "compact",
1502
1508
  kind: "plain",
1503
- icon: /* @__PURE__ */ e.createElement(T, { source: he }),
1509
+ icon: /* @__PURE__ */ e.createElement(T, { source: ke }),
1504
1510
  onClick: c
1505
1511
  }
1506
1512
  ));
@@ -1508,13 +1514,13 @@ const ka = 8, ya = "guide-tooltip", Ea = (t, a) => new Kr(t, a), Sc = (t) => {
1508
1514
  { length: 10 },
1509
1515
  (t, a) => `--surface-avatar-${a + 1}`
1510
1516
  );
1511
- function r_(t) {
1517
+ function __(t) {
1512
1518
  if (!t)
1513
1519
  return;
1514
1520
  const a = t.split("").reduce((r, _) => r + _.charCodeAt(0), 0);
1515
1521
  return `var(${$a[a % $a.length]})`;
1516
1522
  }
1517
- function __(t = "", a = 2) {
1523
+ function o_(t = "", a = 2) {
1518
1524
  const r = t.split(/\s+/);
1519
1525
  if (a < 1)
1520
1526
  return "";
@@ -1525,7 +1531,7 @@ function __(t = "", a = 2) {
1525
1531
  _.push(r[o].charAt(0));
1526
1532
  return _.join("").toUpperCase();
1527
1533
  }
1528
- function o_(t) {
1534
+ function c_(t) {
1529
1535
  let a = t;
1530
1536
  if (t.startsWith("var(--") && t.endsWith(")")) {
1531
1537
  const r = t.slice(4, -1);
@@ -1533,9 +1539,9 @@ function o_(t) {
1533
1539
  }
1534
1540
  return a && na(a, "#FFFFFF") > 3 ? "var(--color-white)" : "var(--color-black)";
1535
1541
  }
1536
- const c_ = "lc-Avatar-module__avatar___1zTCE", l_ = "lc-Avatar-module__avatar__status___nX2Ls", n_ = "lc-Avatar-module__avatar__rim___RCQ8Q", s_ = "lc-Avatar-module__avatar__image___YqfqE", ce = {
1537
- avatar: c_,
1538
- avatar__status: l_,
1542
+ const l_ = "lc-Avatar-module__avatar___1zTCE", n_ = "lc-Avatar-module__avatar__status___nX2Ls", s_ = "lc-Avatar-module__avatar__rim___RCQ8Q", i_ = "lc-Avatar-module__avatar__image___YqfqE", ne = {
1543
+ avatar: l_,
1544
+ avatar__status: n_,
1539
1545
  "avatar__status--available": "lc-Avatar-module__avatar__status--available___tcpFg",
1540
1546
  "avatar__status--unavailable": "lc-Avatar-module__avatar__status--unavailable___ciauF",
1541
1547
  "avatar__status--unknown": "lc-Avatar-module__avatar__status--unknown___MBaGB",
@@ -1550,7 +1556,7 @@ const c_ = "lc-Avatar-module__avatar___1zTCE", l_ = "lc-Avatar-module__avatar__s
1550
1556
  "avatar__status--xxlarge": "lc-Avatar-module__avatar__status--xxlarge___crG9D",
1551
1557
  "avatar__status--xxxlarge": "lc-Avatar-module__avatar__status--xxxlarge___Iv61X",
1552
1558
  "avatar__status--rounded-square": "lc-Avatar-module__avatar__status--rounded-square___-My1P",
1553
- avatar__rim: n_,
1559
+ avatar__rim: s_,
1554
1560
  "avatar__rim--xxxsmall": "lc-Avatar-module__avatar__rim--xxxsmall___0CH9D",
1555
1561
  "avatar__rim--xxsmall": "lc-Avatar-module__avatar__rim--xxsmall___Mde0K",
1556
1562
  "avatar__rim--xsmall": "lc-Avatar-module__avatar__rim--xsmall___LAN-b",
@@ -1560,7 +1566,7 @@ const c_ = "lc-Avatar-module__avatar___1zTCE", l_ = "lc-Avatar-module__avatar__s
1560
1566
  "avatar__rim--xlarge": "lc-Avatar-module__avatar__rim--xlarge___CY0kN",
1561
1567
  "avatar__rim--xxlarge": "lc-Avatar-module__avatar__rim--xxlarge___tE053",
1562
1568
  "avatar__rim--xxxlarge": "lc-Avatar-module__avatar__rim--xxxlarge___amlGP",
1563
- avatar__image: s_,
1569
+ avatar__image: i_,
1564
1570
  "avatar__icon--xxxsmall": "lc-Avatar-module__avatar__icon--xxxsmall___KaoMa",
1565
1571
  "avatar__icon--xxsmall": "lc-Avatar-module__avatar__icon--xxsmall___NJJNV",
1566
1572
  "avatar__icon--xsmall": "lc-Avatar-module__avatar__icon--xsmall___yHEZK",
@@ -1581,7 +1587,7 @@ const c_ = "lc-Avatar-module__avatar___1zTCE", l_ = "lc-Avatar-module__avatar__s
1581
1587
  "avatar--xlarge": "lc-Avatar-module__avatar--xlarge___zwgeW",
1582
1588
  "avatar--xxlarge": "lc-Avatar-module__avatar--xxlarge___Ur0ul",
1583
1589
  "avatar--xxxlarge": "lc-Avatar-module__avatar--xxxlarge___Z-54U"
1584
- }, j = "avatar", i_ = ({
1590
+ }, X = "avatar", d_ = ({
1585
1591
  alt: t,
1586
1592
  className: a,
1587
1593
  color: r,
@@ -1590,44 +1596,44 @@ const c_ = "lc-Avatar-module__avatar___1zTCE", l_ = "lc-Avatar-module__avatar__s
1590
1596
  src: c,
1591
1597
  status: l,
1592
1598
  text: n,
1593
- type: i,
1594
- withRim: s = !1
1599
+ type: s,
1600
+ withRim: i = !1
1595
1601
  }) => {
1596
- const d = i === "image" && !c, [m, u] = e.useState(d), v = i === "image" && !!c && !m, f = i === "text", p = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, b = __(n, p), y = r || r_(n), h = y ? o_(y) : void 0, w = f ? { backgroundColor: y } : {}, S = g($({
1597
- [ce[j]]: !0,
1598
- [ce[`${j}--${_}`]]: !0,
1599
- [ce[`${j}--${o}`]]: !0,
1600
- [ce[`${j}--with-rim`]]: s
1601
- }, a ? { [`${a}`]: a } : {})), E = g(
1602
- ce[`${j}__status`],
1603
- ce[`${j}__status--${_}`],
1604
- ce[`${j}__status--${o}`],
1605
- ...l ? [ce[`${j}__status--${l}`]] : []
1606
- ), k = g(
1607
- ce[`${j}__icon`],
1608
- ce[`${j}__icon--${o}`]
1609
- ), N = g(
1610
- ce[`${j}__rim`],
1611
- ce[`${j}__rim--${o}`]
1602
+ const d = s === "image" && !c, [m, u] = e.useState(d), v = s === "image" && !!c && !m, f = s === "text", p = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, b = o_(n, p), k = r || __(n), h = k ? c_(k) : void 0, $ = f ? { backgroundColor: k } : {}, x = g(E({
1603
+ [ne[X]]: !0,
1604
+ [ne[`${X}--${_}`]]: !0,
1605
+ [ne[`${X}--${o}`]]: !0,
1606
+ [ne[`${X}--with-rim`]]: i
1607
+ }, a ? { [`${a}`]: a } : {})), w = g(
1608
+ ne[`${X}__status`],
1609
+ ne[`${X}__status--${_}`],
1610
+ ne[`${X}__status--${o}`],
1611
+ ...l ? [ne[`${X}__status--${l}`]] : []
1612
+ ), y = g(
1613
+ ne[`${X}__icon`],
1614
+ ne[`${X}__icon--${o}`]
1615
+ ), S = g(
1616
+ ne[`${X}__rim`],
1617
+ ne[`${X}__rim--${o}`]
1612
1618
  ), C = e.useCallback(() => u(!0), []);
1613
1619
  return e.useEffect(() => {
1614
1620
  u(d);
1615
- }, [d]), /* @__PURE__ */ e.createElement("div", { className: S, style: w }, s && /* @__PURE__ */ e.createElement(
1621
+ }, [d]), /* @__PURE__ */ e.createElement("div", { className: x, style: $ }, i && /* @__PURE__ */ e.createElement(
1616
1622
  "div",
1617
1623
  {
1618
- "data-testid": `${j}__rim`,
1619
- className: N
1624
+ "data-testid": `${X}__rim`,
1625
+ className: S
1620
1626
  }
1621
1627
  ), l && /* @__PURE__ */ e.createElement(
1622
1628
  "div",
1623
1629
  {
1624
- "data-testid": `${j}__status`,
1625
- className: E
1630
+ "data-testid": `${X}__status`,
1631
+ className: w
1626
1632
  }
1627
1633
  ), v && /* @__PURE__ */ e.createElement(
1628
1634
  "img",
1629
1635
  {
1630
- className: ce[`${j}__image`],
1636
+ className: ne[`${X}__image`],
1631
1637
  src: c,
1632
1638
  alt: t,
1633
1639
  onError: C
@@ -1635,33 +1641,33 @@ const c_ = "lc-Avatar-module__avatar___1zTCE", l_ = "lc-Avatar-module__avatar__s
1635
1641
  ), f && /* @__PURE__ */ e.createElement("span", { style: { color: h } }, b), m && /* @__PURE__ */ e.createElement(
1636
1642
  T,
1637
1643
  {
1638
- "data-testid": `${j}__icon`,
1639
- className: k,
1644
+ "data-testid": `${X}__icon`,
1645
+ className: y,
1640
1646
  source: cr
1641
1647
  }
1642
1648
  ));
1643
1649
  };
1644
- function d_(t, a) {
1650
+ function u_(t, a) {
1645
1651
  return t > a ? `${a}+` : `${t}`;
1646
1652
  }
1647
- const u_ = "lc-Badge-module__badge___GhLnu", m_ = "lc-Badge-module__badge__dot___z6RO6", Nt = {
1648
- badge: u_,
1649
- badge__dot: m_,
1653
+ const m_ = "lc-Badge-module__badge___GhLnu", p_ = "lc-Badge-module__badge__dot___z6RO6", Nt = {
1654
+ badge: m_,
1655
+ badge__dot: p_,
1650
1656
  "badge--large": "lc-Badge-module__badge--large___B131q",
1651
1657
  "badge--medium": "lc-Badge-module__badge--medium___TDU8a",
1652
1658
  "badge--compact": "lc-Badge-module__badge--compact___9xJ4y",
1653
1659
  "badge--primary": "lc-Badge-module__badge--primary___8LRpp",
1654
1660
  "badge--secondary": "lc-Badge-module__badge--secondary___JjNIJ",
1655
1661
  "badge--tertiary": "lc-Badge-module__badge--tertiary___e83wV"
1656
- }, xt = "badge", p_ = (n) => {
1657
- var i = n, {
1662
+ }, xt = "badge", g_ = (n) => {
1663
+ var s = n, {
1658
1664
  className: t,
1659
1665
  count: a = 0,
1660
1666
  max: r = 99,
1661
1667
  kind: _ = "primary",
1662
1668
  size: o = "medium",
1663
1669
  type: c = "counter"
1664
- } = i, l = P(i, [
1670
+ } = s, l = P(s, [
1665
1671
  "className",
1666
1672
  "count",
1667
1673
  "max",
@@ -1669,79 +1675,79 @@ const u_ = "lc-Badge-module__badge___GhLnu", m_ = "lc-Badge-module__badge__dot__
1669
1675
  "size",
1670
1676
  "type"
1671
1677
  ]);
1672
- const s = g(
1678
+ const i = g(
1673
1679
  t,
1674
1680
  Nt[xt],
1675
1681
  Nt[`${xt}--${_}`],
1676
1682
  Nt[`${xt}--${o}`]
1677
1683
  ), d = {
1678
- counter: d_(a, r),
1684
+ counter: u_(a, r),
1679
1685
  alert: "!",
1680
1686
  dot: /* @__PURE__ */ e.createElement("span", { className: Nt[`${xt}__dot`] })
1681
1687
  }[c];
1682
- return /* @__PURE__ */ e.createElement("span", $({ className: s }, l), d);
1688
+ return /* @__PURE__ */ e.createElement("span", E({ className: i }, l), d);
1683
1689
  };
1684
- function g_() {
1690
+ function f_() {
1685
1691
  }
1686
- const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
1692
+ const b_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
1687
1693
  "segmented-control": "lc-SegmentedControl-module__segmented-control___LHWSk",
1688
- btn: f_,
1694
+ btn: b_,
1689
1695
  "btn--active": "lc-SegmentedControl-module__btn--active___Za-th",
1690
1696
  "btn--compact": "lc-SegmentedControl-module__btn--compact___gcSwq",
1691
1697
  "btn--medium": "lc-SegmentedControl-module__btn--medium___w3UzC",
1692
1698
  "btn--large": "lc-SegmentedControl-module__btn--large___yHPw4"
1693
- }, b_ = "segmented-control", Ic = ({
1699
+ }, v_ = "segmented-control", Pc = ({
1694
1700
  size: t = "medium",
1695
1701
  buttons: a,
1696
1702
  className: r,
1697
1703
  initialId: _,
1698
1704
  currentId: o,
1699
1705
  fullWidth: c = !1,
1700
- onButtonClick: l = g_
1706
+ onButtonClick: l = f_
1701
1707
  }) => {
1702
- const n = g(St[b_], r), [i, s] = e.useState(() => _), d = typeof o == "string";
1708
+ const n = g(St[v_], r), [s, i] = e.useState(() => _), d = typeof o == "string";
1703
1709
  e.useEffect(() => {
1704
- d && s(o);
1710
+ d && i(o);
1705
1711
  }, [o]);
1706
1712
  const m = (v, f) => {
1707
- d || s(v), l(v, f);
1708
- }, u = a.map(({ id: v, label: f, loading: p, disabled: b, icon: y }) => {
1709
- const h = v === i, w = h ? St["btn--active"] : "", S = h ? !1 : p;
1713
+ d || i(v), l(v, f);
1714
+ }, u = a.map(({ id: v, label: f, loading: p, disabled: b, icon: k }) => {
1715
+ const h = v === s, $ = h ? St["btn--active"] : "", x = h ? !1 : p;
1710
1716
  return /* @__PURE__ */ e.createElement(
1711
- z,
1717
+ U,
1712
1718
  {
1713
1719
  key: v,
1714
1720
  fullWidth: c,
1715
- loading: S,
1721
+ loading: x,
1716
1722
  disabled: b,
1717
1723
  "aria-pressed": h,
1718
1724
  kind: "secondary",
1719
- icon: y,
1720
- className: g(St.btn, St[`btn--${t}`], w),
1721
- onClick: (E) => {
1722
- m(v, E);
1725
+ icon: k,
1726
+ className: g(St.btn, St[`btn--${t}`], $),
1727
+ onClick: (w) => {
1728
+ m(v, w);
1723
1729
  }
1724
1730
  },
1725
1731
  f
1726
1732
  );
1727
1733
  });
1728
1734
  return /* @__PURE__ */ e.createElement("div", { role: "group", className: n }, u);
1729
- }, v_ = "lc-Card-module__card___GqMm2", h_ = "lc-Card-module__card__header___0ptfD", k_ = "lc-Card-module__card__header__image___QMwSu", y_ = "lc-Card-module__card__header__heading___Wkikx", E_ = "lc-Card-module__card__header__heading__title___Uxi8s", $_ = "lc-Card-module__card__header__heading__description___6LnOK", w_ = "lc-Card-module__card__content___KuDcc", C_ = "lc-Card-module__card__actions___q9sAo", N_ = "lc-Card-module__card__actions__line___TF1bt", x_ = "lc-Card-module__card__actions__buttons___PDMMR", le = {
1730
- card: v_,
1731
- card__header: h_,
1732
- card__header__image: k_,
1733
- card__header__heading: y_,
1734
- card__header__heading__title: E_,
1735
- card__header__heading__description: $_,
1735
+ }, h_ = "lc-Card-module__card___GqMm2", k_ = "lc-Card-module__card__header___0ptfD", y_ = "lc-Card-module__card__header__image___QMwSu", E_ = "lc-Card-module__card__header__heading___Wkikx", $_ = "lc-Card-module__card__header__heading__title___Uxi8s", w_ = "lc-Card-module__card__header__heading__description___6LnOK", C_ = "lc-Card-module__card__content___KuDcc", N_ = "lc-Card-module__card__actions___q9sAo", x_ = "lc-Card-module__card__actions__line___TF1bt", S_ = "lc-Card-module__card__actions__buttons___PDMMR", se = {
1736
+ card: h_,
1737
+ card__header: k_,
1738
+ card__header__image: y_,
1739
+ card__header__heading: E_,
1740
+ card__header__heading__title: $_,
1741
+ card__header__heading__description: w_,
1736
1742
  "card__header__no-image": "lc-Card-module__card__header__no-image___UcnNY",
1737
- card__content: w_,
1743
+ card__content: C_,
1738
1744
  "card__expanded-content": "lc-Card-module__card__expanded-content___yB-QL",
1739
- card__actions: C_,
1740
- card__actions__line: N_,
1741
- card__actions__buttons: x_,
1745
+ card__actions: N_,
1746
+ card__actions__line: x_,
1747
+ card__actions__buttons: S_,
1742
1748
  "card__actions__buttons-expander": "lc-Card-module__card__actions__buttons-expander___lz4h-"
1743
- }, kt = "card", Lt = `${kt}__header`, Ut = `${Lt}__heading`, Dt = `${kt}__actions`, S_ = `${Lt}__no-image`, Ac = (s) => {
1744
- var d = s, {
1749
+ }, kt = "card", Lt = `${kt}__header`, Ut = `${Lt}__heading`, Dt = `${kt}__actions`, D_ = `${Lt}__no-image`, Fc = (i) => {
1750
+ var d = i, {
1745
1751
  alt: t,
1746
1752
  buttonsOptions: a = [],
1747
1753
  children: r,
@@ -1750,7 +1756,7 @@ const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
1750
1756
  expandableContent: c,
1751
1757
  src: l,
1752
1758
  title: n
1753
- } = d, i = P(d, [
1759
+ } = d, s = P(d, [
1754
1760
  "alt",
1755
1761
  "buttonsOptions",
1756
1762
  "children",
@@ -1760,28 +1766,28 @@ const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
1760
1766
  "src",
1761
1767
  "title"
1762
1768
  ]);
1763
- const [m, u] = e.useState(!1), v = m ? Ot : yt, f = m ? "Hide" : "Show more", p = (a == null ? void 0 : a.length) > 0, b = !!c, y = p || b, h = n, w = l, S = w ? "" : le[S_];
1764
- return /* @__PURE__ */ e.createElement("div", $({ className: g(le[kt], _) }, i), h && /* @__PURE__ */ e.createElement("div", { className: g(le[Lt], S) }, w && /* @__PURE__ */ e.createElement(
1769
+ const [m, u] = e.useState(!1), v = m ? Ot : yt, f = m ? "Hide" : "Show more", p = (a == null ? void 0 : a.length) > 0, b = !!c, k = p || b, h = n, $ = l, x = $ ? "" : se[D_];
1770
+ return /* @__PURE__ */ e.createElement("div", E({ className: g(se[kt], _) }, s), h && /* @__PURE__ */ e.createElement("div", { className: g(se[Lt], x) }, $ && /* @__PURE__ */ e.createElement(
1765
1771
  "img",
1766
1772
  {
1767
1773
  alt: t,
1768
- className: le[`${Lt}__image`],
1774
+ className: se[`${Lt}__image`],
1769
1775
  src: l
1770
1776
  }
1771
- ), /* @__PURE__ */ e.createElement("div", { className: le[Ut] }, /* @__PURE__ */ e.createElement(qe, { size: "sm", className: le[`${Ut}__title`] }, n), /* @__PURE__ */ e.createElement(R, { size: "sm", className: le[`${Ut}__description`] }, o))), /* @__PURE__ */ e.createElement(R, { as: "div", size: "md", className: le[`${kt}__content`] }, r), m && /* @__PURE__ */ e.createElement(
1772
- R,
1777
+ ), /* @__PURE__ */ e.createElement("div", { className: se[Ut] }, /* @__PURE__ */ e.createElement(qe, { size: "sm", className: se[`${Ut}__title`] }, n), /* @__PURE__ */ e.createElement(M, { size: "sm", className: se[`${Ut}__description`] }, o))), /* @__PURE__ */ e.createElement(M, { as: "div", size: "md", className: se[`${kt}__content`] }, r), m && /* @__PURE__ */ e.createElement(
1778
+ M,
1773
1779
  {
1774
1780
  as: "div",
1775
1781
  size: "md",
1776
- className: le[`${kt}__expanded-content`]
1782
+ className: se[`${kt}__expanded-content`]
1777
1783
  },
1778
1784
  c
1779
- ), y && /* @__PURE__ */ e.createElement("div", { className: le[Dt] }, /* @__PURE__ */ e.createElement("div", { className: le[`${Dt}__line`] }), /* @__PURE__ */ e.createElement("div", { className: le[`${Dt}__buttons`] }, p && a.map(
1780
- ({ kind: E, onClick: k, children: N }) => /* @__PURE__ */ e.createElement(z, { size: "compact", kind: E, onClick: k }, N)
1785
+ ), k && /* @__PURE__ */ e.createElement("div", { className: se[Dt] }, /* @__PURE__ */ e.createElement("div", { className: se[`${Dt}__line`] }), /* @__PURE__ */ e.createElement("div", { className: se[`${Dt}__buttons`] }, p && a.map(
1786
+ ({ kind: w, onClick: y, children: S }) => /* @__PURE__ */ e.createElement(U, { size: "compact", kind: w, onClick: y }, S)
1781
1787
  ), b && /* @__PURE__ */ e.createElement(
1782
- z,
1788
+ U,
1783
1789
  {
1784
- className: le[`${Dt}__buttons-expander`],
1790
+ className: se[`${Dt}__buttons-expander`],
1785
1791
  kind: "link",
1786
1792
  iconPosition: "right",
1787
1793
  icon: /* @__PURE__ */ e.createElement(T, { source: v }),
@@ -1789,9 +1795,9 @@ const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
1789
1795
  },
1790
1796
  f
1791
1797
  ))));
1792
- }, D_ = {
1798
+ }, T_ = {
1793
1799
  "field-description": "lc-FieldDescription-module__field-description___IcRDH"
1794
- }, T_ = "field-description", Ht = (_) => {
1800
+ }, B_ = "field-description", Ht = (_) => {
1795
1801
  var o = _, {
1796
1802
  children: t,
1797
1803
  className: a = ""
@@ -1799,21 +1805,21 @@ const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
1799
1805
  "children",
1800
1806
  "className"
1801
1807
  ]);
1802
- const c = g(D_[T_], a);
1803
- return /* @__PURE__ */ e.createElement(R, A($({ as: "span", size: "sm" }, r), { className: c }), t);
1804
- }, B_ = "lc-Checkbox-module__checkbox___G7nTf", I_ = "lc-Checkbox-module__checkbox__label___-o01x", A_ = "lc-Checkbox-module__checkbox__text___P2SIq", P_ = "lc-Checkbox-module__checkbox__input___YLbVF", F_ = "lc-Checkbox-module__checkbox__checkmark___16pfY", R_ = "lc-Checkbox-module__checkbox__square___MHUyd", M_ = "lc-Checkbox-module__checkbox__helper___YSJ-n", Ge = {
1805
- checkbox: B_,
1806
- checkbox__label: I_,
1807
- checkbox__text: A_,
1808
- checkbox__input: P_,
1809
- checkbox__checkmark: F_,
1808
+ const c = g(T_[B_], a);
1809
+ return /* @__PURE__ */ e.createElement(M, I(E({ as: "span", size: "sm" }, r), { className: c }), t);
1810
+ }, I_ = "lc-Checkbox-module__checkbox___G7nTf", A_ = "lc-Checkbox-module__checkbox__label___-o01x", P_ = "lc-Checkbox-module__checkbox__text___P2SIq", F_ = "lc-Checkbox-module__checkbox__input___YLbVF", R_ = "lc-Checkbox-module__checkbox__checkmark___16pfY", M_ = "lc-Checkbox-module__checkbox__square___MHUyd", L_ = "lc-Checkbox-module__checkbox__helper___YSJ-n", Ge = {
1811
+ checkbox: I_,
1812
+ checkbox__label: A_,
1813
+ checkbox__text: P_,
1814
+ checkbox__input: F_,
1815
+ checkbox__checkmark: R_,
1810
1816
  "checkbox--selected": "lc-Checkbox-module__checkbox--selected___S2vqY",
1811
- checkbox__square: R_,
1817
+ checkbox__square: M_,
1812
1818
  "checkbox--disabled": "lc-Checkbox-module__checkbox--disabled___-lAqW",
1813
- checkbox__helper: M_
1814
- }, Ue = "checkbox", Pc = e.forwardRef(
1819
+ checkbox__helper: L_
1820
+ }, Ue = "checkbox", Rc = e.forwardRef(
1815
1821
  (n, l) => {
1816
- var i = n, { checked: t, disabled: a, children: r, description: _, className: o } = i, c = P(i, ["checked", "disabled", "children", "description", "className"]);
1822
+ var s = n, { checked: t, disabled: a, children: r, description: _, className: o } = s, c = P(s, ["checked", "disabled", "children", "description", "className"]);
1817
1823
  return /* @__PURE__ */ e.createElement(
1818
1824
  "div",
1819
1825
  {
@@ -1824,14 +1830,14 @@ const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
1824
1830
  },
1825
1831
  /* @__PURE__ */ e.createElement("label", { className: Ge[`${Ue}__label`] }, /* @__PURE__ */ e.createElement(
1826
1832
  "input",
1827
- A($({}, c), {
1833
+ I(E({}, c), {
1828
1834
  ref: l,
1829
1835
  checked: t,
1830
1836
  disabled: a,
1831
1837
  className: Ge[`${Ue}__input`],
1832
1838
  type: "checkbox"
1833
1839
  })
1834
- ), r && /* @__PURE__ */ e.createElement(R, { as: "div", size: "md", className: Ge[`${Ue}__text`] }, r)),
1840
+ ), r && /* @__PURE__ */ e.createElement(M, { as: "div", size: "md", className: Ge[`${Ue}__text`] }, r)),
1835
1841
  _ && /* @__PURE__ */ e.createElement(Ht, { className: Ge[`${Ue}__helper`] }, _)
1836
1842
  );
1837
1843
  }
@@ -1870,7 +1876,7 @@ const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
1870
1876
  "date-picker--range__select-input": "lc-DatePicker-module__date-picker--range__select-input___6pyj3",
1871
1877
  "date-picker--range__calendars-wrapper": "lc-DatePicker-module__date-picker--range__calendars-wrapper___8nWaW",
1872
1878
  "date-picker__navbar-buttons-wrapper": "lc-DatePicker-module__date-picker__navbar-buttons-wrapper___Hnksb"
1873
- }, wa = "date-picker", L_ = (t) => {
1879
+ }, wa = "date-picker", O_ = (t) => {
1874
1880
  const {
1875
1881
  onPreviousClick: a,
1876
1882
  onMonthChange: r,
@@ -1879,8 +1885,8 @@ const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
1879
1885
  showPreviousButton: c,
1880
1886
  className: l,
1881
1887
  classNames: n,
1882
- numberOfMonths: i,
1883
- month: s,
1888
+ numberOfMonths: s,
1889
+ month: i,
1884
1890
  fromMonth: d,
1885
1891
  toMonth: m
1886
1892
  } = t, u = () => {
@@ -1889,24 +1895,24 @@ const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
1889
1895
  typeof _ == "function" && _();
1890
1896
  }, f = () => {
1891
1897
  if (!d) {
1892
- const h = _t(s, 12);
1898
+ const h = _t(i, 12);
1893
1899
  return r(h);
1894
1900
  }
1895
- const b = Math.abs(ma(s, d)), y = _t(
1896
- s,
1901
+ const b = Math.abs(ma(i, d)), k = _t(
1902
+ i,
1897
1903
  !Number.isNaN(b) && b > 12 ? 12 : b
1898
1904
  );
1899
- return r(y);
1905
+ return r(k);
1900
1906
  }, p = () => {
1901
1907
  if (!m) {
1902
- const h = pa(s, 12);
1908
+ const h = pa(i, 12);
1903
1909
  return r(h);
1904
1910
  }
1905
- const b = Math.abs(ma(m, s)), y = pa(
1906
- s,
1911
+ const b = Math.abs(ma(m, i)), k = pa(
1912
+ i,
1907
1913
  !Number.isNaN(b) && b > 12 ? 12 : b
1908
1914
  );
1909
- return i === 2 && Xt(y, m) ? r(_t(y, 1)) : r(y);
1915
+ return s === 2 && Xt(k, m) ? r(_t(k, 1)) : r(k);
1910
1916
  };
1911
1917
  return /* @__PURE__ */ e.createElement("div", { className: l }, /* @__PURE__ */ e.createElement("div", { className: B[`${wa}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
1912
1918
  "button",
@@ -1953,28 +1959,28 @@ const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
1953
1959
  },
1954
1960
  /* @__PURE__ */ e.createElement(T, { source: sr, kind: "subtle" })
1955
1961
  )));
1956
- }, I = "date-picker", Ka = (t, a) => {
1962
+ }, A = "date-picker", Ka = (t, a) => {
1957
1963
  const { from: r, to: _ } = a;
1958
1964
  return !(_ && !ea(t, _) && ta(t, _) || r && !ea(t, r) && !ta(t, r));
1959
- }, Ja = (t, a, r) => a ? t && !Xt(t, a) || r && Xt(a, r) ? _t(a, 1) : a : _t(r || /* @__PURE__ */ new Date(), 1), O_ = (t, a) => {
1965
+ }, Ja = (t, a, r) => a ? t && !Xt(t, a) || r && Xt(a, r) ? _t(a, 1) : a : _t(r || /* @__PURE__ */ new Date(), 1), H_ = (t, a) => {
1960
1966
  const r = {
1961
- [B[`${I}__day--monday`]]: { daysOfWeek: [1] },
1962
- [B[`${I}__day--sunday`]]: { daysOfWeek: [0] },
1963
- [B[`${I}__day--start`]]: t,
1964
- [B[`${I}__day--end`]]: t
1967
+ [B[`${A}__day--monday`]]: { daysOfWeek: [1] },
1968
+ [B[`${A}__day--sunday`]]: { daysOfWeek: [0] },
1969
+ [B[`${A}__day--start`]]: t,
1970
+ [B[`${A}__day--end`]]: t
1965
1971
  };
1966
1972
  if (!a || !t)
1967
1973
  return r;
1968
- const _ = Va(a, t);
1969
- return _ > 0 ? A($({}, r), {
1970
- [B[`${I}__day--end`]]: a
1971
- }) : _ < 0 ? A($({}, r), {
1972
- [B[`${I}__day--start`]]: a
1974
+ const _ = Wa(a, t);
1975
+ return _ > 0 ? I(E({}, r), {
1976
+ [B[`${A}__day--end`]]: a
1977
+ }) : _ < 0 ? I(E({}, r), {
1978
+ [B[`${A}__day--start`]]: a
1973
1979
  }) : r;
1974
1980
  }, vt = (t, a) => {
1975
1981
  const r = a.find((_) => _.id === t);
1976
1982
  return r || void 0;
1977
- }, Ca = (t, a) => !!(!t || t && a), H_ = (t) => {
1983
+ }, Ca = (t, a) => !!(!t || t && a), z_ = (t) => {
1978
1984
  const a = {};
1979
1985
  if (!t.initialSelectedItemKey)
1980
1986
  return a;
@@ -1983,46 +1989,46 @@ const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
1983
1989
  t.options
1984
1990
  );
1985
1991
  return r ? (a.selectedItem = t.initialSelectedItemKey, r.isManual && (t.initialFromDate && (a.from = t.initialFromDate), t.initialToDate && (a.to = t.initialToDate, a.temporaryTo = t.initialToDate)), a) : {};
1986
- }, z_ = (t, a) => $({
1992
+ }, G_ = (t, a) => E({
1987
1993
  container: Ye({
1988
- [B[`${I}`]]: !0,
1989
- [B[`${I}--range`]]: t
1994
+ [B[`${A}`]]: !0,
1995
+ [B[`${A}--range`]]: t
1990
1996
  }),
1991
- wrapper: B[`${I}__wrapper`],
1992
- interactionDisabled: B[`${I}--interaction-disabled`],
1993
- months: B[`${I}__months`],
1994
- month: B[`${I}__month`],
1995
- navBar: B[`${I}__nav-bar`],
1997
+ wrapper: B[`${A}__wrapper`],
1998
+ interactionDisabled: B[`${A}--interaction-disabled`],
1999
+ months: B[`${A}__months`],
2000
+ month: B[`${A}__month`],
2001
+ navBar: B[`${A}__nav-bar`],
1996
2002
  navButtonPrev: Ye(
1997
- B[`${I}__nav-button`],
1998
- B[`${I}__nav-button--prev`]
2003
+ B[`${A}__nav-button`],
2004
+ B[`${A}__nav-button--prev`]
1999
2005
  ),
2000
2006
  navButtonNext: Ye(
2001
- B[`${I}__nav-button`],
2002
- B[`${I}__nav-button--next`]
2007
+ B[`${A}__nav-button`],
2008
+ B[`${A}__nav-button--next`]
2003
2009
  ),
2004
- navButtonInteractionDisabled: B[`${I}__nav-button--interaction-disabled`],
2005
- caption: B[`${I}__caption`],
2006
- weekdays: B[`${I}__weekdays`],
2007
- weekdaysRow: B[`${I}__weekdays-row`],
2008
- weekday: B[`${I}__weekday`],
2009
- body: B[`${I}__body`],
2010
- week: B[`${I}__week`],
2011
- weekNumber: B[`${I}__week-number`],
2012
- day: B[`${I}__day`],
2013
- footer: B[`${I}__footer`],
2014
- todayButton: B[`${I}__today-button`],
2015
- today: B[`${I}__day--today`],
2016
- selected: B[`${I}__day--selected`],
2017
- disabled: B[`${I}__day--disabled`],
2018
- outside: B[`${I}__day--outside`],
2019
- start: B[`${I}__day--start`],
2020
- end: B[`${I}__day--end`]
2021
- }, a), Na = "date-picker", G_ = (t) => {
2010
+ navButtonInteractionDisabled: B[`${A}__nav-button--interaction-disabled`],
2011
+ caption: B[`${A}__caption`],
2012
+ weekdays: B[`${A}__weekdays`],
2013
+ weekdaysRow: B[`${A}__weekdays-row`],
2014
+ weekday: B[`${A}__weekday`],
2015
+ body: B[`${A}__body`],
2016
+ week: B[`${A}__week`],
2017
+ weekNumber: B[`${A}__week-number`],
2018
+ day: B[`${A}__day`],
2019
+ footer: B[`${A}__footer`],
2020
+ todayButton: B[`${A}__today-button`],
2021
+ today: B[`${A}__day--today`],
2022
+ selected: B[`${A}__day--selected`],
2023
+ disabled: B[`${A}__day--disabled`],
2024
+ outside: B[`${A}__day--outside`],
2025
+ start: B[`${A}__day--start`],
2026
+ end: B[`${A}__day--end`]
2027
+ }, a), Na = "date-picker", U_ = (t) => {
2022
2028
  const a = t.getDate();
2023
2029
  return /* @__PURE__ */ e.createElement("div", { className: B[`${Na}__day-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: B[`${Na}__day-content`] }, a));
2024
- }, U_ = (t) => {
2025
- const y = t, {
2030
+ }, W_ = (t) => {
2031
+ const k = t, {
2026
2032
  classNames: a,
2027
2033
  range: r,
2028
2034
  toMonth: _,
@@ -2030,10 +2036,10 @@ const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
2030
2036
  fromMonth: c,
2031
2037
  firstDayOfWeek: l,
2032
2038
  numberOfMonths: n,
2033
- navbarElement: i,
2034
- renderDay: s,
2039
+ navbarElement: s,
2040
+ renderDay: i,
2035
2041
  innerRef: d
2036
- } = y, m = P(y, [
2042
+ } = k, m = P(k, [
2037
2043
  "classNames",
2038
2044
  "range",
2039
2045
  "toMonth",
@@ -2063,14 +2069,14 @@ const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
2063
2069
  let p = 1;
2064
2070
  (l === 0 || l && l < 7) && (p = l);
2065
2071
  const b = e.useMemo(
2066
- () => z_(r, a),
2072
+ () => G_(r, a),
2067
2073
  [r, a]
2068
2074
  );
2069
2075
  return /* @__PURE__ */ e.createElement(
2070
2076
  Er,
2071
- $({
2072
- navbarElement: i || /* @__PURE__ */ e.createElement(
2073
- L_,
2077
+ E({
2078
+ navbarElement: s || /* @__PURE__ */ e.createElement(
2079
+ O_,
2074
2080
  {
2075
2081
  month: u,
2076
2082
  classNames: b,
@@ -2087,29 +2093,29 @@ const f_ = "lc-SegmentedControl-module__btn___tfsvL", St = {
2087
2093
  fromMonth: c,
2088
2094
  firstDayOfWeek: p,
2089
2095
  month: u,
2090
- renderDay: s || G_
2096
+ renderDay: i || U_
2091
2097
  }, m)
2092
2098
  );
2093
2099
  }, V_ = e.forwardRef(
2094
- (t, a) => /* @__PURE__ */ e.createElement(U_, $({ innerRef: a }, t))
2100
+ (t, a) => /* @__PURE__ */ e.createElement(W_, E({ innerRef: a }, t))
2095
2101
  );
2096
2102
  V_.displayName = "DatePicker";
2097
- var G = /* @__PURE__ */ ((t) => (t.NEW_SELECTED_ITEM = "NEW_SELECTED_ITEM", t.NEW_TEMPORARY_TO_VALUE = "NEW_TEMPORARY_TO_VALUE", t.CLEAR = "CLEAR", t.SET_FROM = "SET_FROM", t.SET_TO = "SET_TO", t.SELECT_FIRST_DAY = "SELECT_FIRST_DAY", t.SELECT_SECOND_DAY_AS_FROM = "SELECT_SECOND_DAY_AS_FROM", t.SELECT_SECOND_DAY_AS_TO = "SELECT_SECOND_DAY_AS_TO", t.CURRENT_MONTH_CHANGE = "CURRENT_MONTH_CHANGE", t))(G || {});
2098
- const W_ = (t) => {
2103
+ var W = /* @__PURE__ */ ((t) => (t.NEW_SELECTED_ITEM = "NEW_SELECTED_ITEM", t.NEW_TEMPORARY_TO_VALUE = "NEW_TEMPORARY_TO_VALUE", t.CLEAR = "CLEAR", t.SET_FROM = "SET_FROM", t.SET_TO = "SET_TO", t.SELECT_FIRST_DAY = "SELECT_FIRST_DAY", t.SELECT_SECOND_DAY_AS_FROM = "SELECT_SECOND_DAY_AS_FROM", t.SELECT_SECOND_DAY_AS_TO = "SELECT_SECOND_DAY_AS_TO", t.CURRENT_MONTH_CHANGE = "CURRENT_MONTH_CHANGE", t))(W || {});
2104
+ const Y_ = (t) => {
2099
2105
  const a = Ja(
2100
2106
  t.initialFromDate,
2101
2107
  t.initialToDate,
2102
2108
  t.toMonth
2103
- ), _ = $($({}, {
2109
+ ), _ = E(E({}, {
2104
2110
  selectedItem: null,
2105
2111
  from: void 0,
2106
2112
  to: void 0,
2107
2113
  temporaryTo: void 0,
2108
2114
  currentMonth: a
2109
- }), H_(t));
2115
+ }), z_(t));
2110
2116
  function o(c, l) {
2111
2117
  switch (l.type) {
2112
- case G.NEW_SELECTED_ITEM:
2118
+ case W.NEW_SELECTED_ITEM:
2113
2119
  return {
2114
2120
  selectedItem: l.payload.selectedItem,
2115
2121
  from: void 0,
@@ -2117,37 +2123,37 @@ const W_ = (t) => {
2117
2123
  temporaryTo: void 0,
2118
2124
  currentMonth: a
2119
2125
  };
2120
- case G.NEW_TEMPORARY_TO_VALUE:
2121
- return A($({}, c), {
2126
+ case W.NEW_TEMPORARY_TO_VALUE:
2127
+ return I(E({}, c), {
2122
2128
  temporaryTo: l.payload.date
2123
2129
  });
2124
- case G.SELECT_FIRST_DAY:
2125
- return A($({}, c), {
2130
+ case W.SELECT_FIRST_DAY:
2131
+ return I(E({}, c), {
2126
2132
  from: l.payload.date,
2127
2133
  to: void 0,
2128
2134
  temporaryTo: void 0
2129
2135
  });
2130
- case G.SELECT_SECOND_DAY_AS_FROM:
2131
- return A($({}, c), {
2136
+ case W.SELECT_SECOND_DAY_AS_FROM:
2137
+ return I(E({}, c), {
2132
2138
  from: l.payload.date,
2133
2139
  to: c.from,
2134
2140
  temporaryTo: c.from
2135
2141
  });
2136
- case G.SELECT_SECOND_DAY_AS_TO:
2137
- return A($({}, c), {
2142
+ case W.SELECT_SECOND_DAY_AS_TO:
2143
+ return I(E({}, c), {
2138
2144
  to: l.payload.date,
2139
2145
  temporaryTo: l.payload.date
2140
2146
  });
2141
- case G.CURRENT_MONTH_CHANGE:
2142
- return A($({}, c), {
2147
+ case W.CURRENT_MONTH_CHANGE:
2148
+ return I(E({}, c), {
2143
2149
  currentMonth: l.payload.date
2144
2150
  });
2145
- case G.SET_FROM:
2146
- return A($({}, c), {
2151
+ case W.SET_FROM:
2152
+ return I(E({}, c), {
2147
2153
  from: l.payload.date
2148
2154
  });
2149
- case G.SET_TO:
2150
- return A($({}, c), {
2155
+ case W.SET_TO:
2156
+ return I(E({}, c), {
2151
2157
  to: l.payload.date
2152
2158
  });
2153
2159
  default:
@@ -2155,7 +2161,7 @@ const W_ = (t) => {
2155
2161
  }
2156
2162
  }
2157
2163
  return _r(o, _);
2158
- }, Y_ = ({
2164
+ }, q_ = ({
2159
2165
  options: t,
2160
2166
  initialSelectedItemKey: a,
2161
2167
  initialFromDate: r,
@@ -2166,7 +2172,7 @@ const W_ = (t) => {
2166
2172
  }) => {
2167
2173
  const n = or(
2168
2174
  a || null
2169
- ), [i, s] = W_({
2175
+ ), [s, i] = Y_({
2170
2176
  options: t,
2171
2177
  initialSelectedItemKey: a,
2172
2178
  initialFromDate: r,
@@ -2176,13 +2182,13 @@ const W_ = (t) => {
2176
2182
  children: l
2177
2183
  });
2178
2184
  ot(() => {
2179
- s({
2180
- type: G.SET_FROM,
2185
+ i({
2186
+ type: W.SET_FROM,
2181
2187
  payload: { date: r }
2182
2188
  });
2183
2189
  }, [r]), ot(() => {
2184
- s({
2185
- type: G.SET_TO,
2190
+ i({
2191
+ type: W.SET_TO,
2186
2192
  payload: { date: _ }
2187
2193
  });
2188
2194
  }, [_]), ot(() => {
@@ -2191,23 +2197,23 @@ const W_ = (t) => {
2191
2197
  _,
2192
2198
  o
2193
2199
  );
2194
- s({
2195
- type: G.CURRENT_MONTH_CHANGE,
2200
+ i({
2201
+ type: W.CURRENT_MONTH_CHANGE,
2196
2202
  payload: { date: p }
2197
2203
  });
2198
2204
  }, [o, r, _]), ot(() => {
2199
- const { from: p, selectedItem: b, to: y } = i;
2200
- if (!(p && y))
2205
+ const { from: p, selectedItem: b, to: k } = s;
2206
+ if (!(p && k))
2201
2207
  return;
2202
2208
  const h = vt(b, t);
2203
- h && (c == null || c(A($({}, h), {
2209
+ h && (c == null || c(I(E({}, h), {
2204
2210
  value: {
2205
2211
  from: p,
2206
- to: y
2212
+ to: k
2207
2213
  }
2208
2214
  })));
2209
- }, [i.from, i.to, i.selectedItem, t, c]), ot(() => {
2210
- const { selectedItem: p } = i;
2215
+ }, [s.from, s.to, s.selectedItem, t, c]), ot(() => {
2216
+ const { selectedItem: p } = s;
2211
2217
  if (p === n.current)
2212
2218
  return;
2213
2219
  if (!p) {
@@ -2216,89 +2222,89 @@ const W_ = (t) => {
2216
2222
  }
2217
2223
  if (!vt(p, t))
2218
2224
  return;
2219
- const y = t.reduce(
2220
- (h, w) => A($({}, h), { [w.id]: w }),
2225
+ const k = t.reduce(
2226
+ (h, $) => I(E({}, h), { [$.id]: $ }),
2221
2227
  {}
2222
2228
  );
2223
- c(y[p]);
2224
- }, [c, i.selectedItem, t]);
2229
+ c(k[p]);
2230
+ }, [c, s.selectedItem, t]);
2225
2231
  const d = $t(
2226
2232
  (p) => {
2227
- const b = o ? Va(o, p) >= 0 : !0;
2228
- !Ca(i.from, i.to) && b && s({
2229
- type: G.NEW_TEMPORARY_TO_VALUE,
2233
+ const b = o ? Wa(o, p) >= 0 : !0;
2234
+ !Ca(s.from, s.to) && b && i({
2235
+ type: W.NEW_TEMPORARY_TO_VALUE,
2230
2236
  payload: { date: p }
2231
2237
  });
2232
2238
  },
2233
- [o, i.from, i.to]
2239
+ [o, s.from, s.to]
2234
2240
  ), m = $t(
2235
2241
  (p) => {
2236
- const { from: b, to: y } = i;
2237
- Ka(p, { to: o }) && (Ca(b, y) ? s({
2238
- type: G.SELECT_FIRST_DAY,
2242
+ const { from: b, to: k } = s;
2243
+ Ka(p, { to: o }) && (Ca(b, k) ? i({
2244
+ type: W.SELECT_FIRST_DAY,
2239
2245
  payload: { date: p }
2240
- }) : b && ea(p, b) || b && ta(p, b) ? s({
2241
- type: G.SELECT_SECOND_DAY_AS_TO,
2246
+ }) : b && ea(p, b) || b && ta(p, b) ? i({
2247
+ type: W.SELECT_SECOND_DAY_AS_TO,
2242
2248
  payload: { date: p }
2243
- }) : s({
2244
- type: G.SELECT_SECOND_DAY_AS_FROM,
2249
+ }) : i({
2250
+ type: W.SELECT_SECOND_DAY_AS_FROM,
2245
2251
  payload: { date: p }
2246
2252
  }));
2247
2253
  },
2248
- [o, i.from, i.to]
2254
+ [o, s.from, s.to]
2249
2255
  ), u = $t(
2250
2256
  (p) => {
2251
2257
  if (p === null) {
2252
- s({
2253
- type: G.NEW_SELECTED_ITEM,
2258
+ i({
2259
+ type: W.NEW_SELECTED_ITEM,
2254
2260
  payload: { selectedItem: null }
2255
2261
  });
2256
2262
  return;
2257
2263
  }
2258
- vt(p, t) && s({
2259
- type: G.NEW_SELECTED_ITEM,
2264
+ vt(p, t) && i({
2265
+ type: W.NEW_SELECTED_ITEM,
2260
2266
  payload: { selectedItem: p }
2261
2267
  });
2262
2268
  },
2263
2269
  [t]
2264
2270
  ), v = $t((p) => {
2265
- s({
2266
- type: G.CURRENT_MONTH_CHANGE,
2271
+ i({
2272
+ type: W.CURRENT_MONTH_CHANGE,
2267
2273
  payload: { date: p }
2268
2274
  });
2269
2275
  }, []);
2270
2276
  return l((() => {
2271
- const { currentMonth: p, from: b, selectedItem: y, temporaryTo: h, to: w } = i, S = wt(
2272
- () => O_(b, h),
2277
+ const { currentMonth: p, from: b, selectedItem: k, temporaryTo: h, to: $ } = s, x = wt(
2278
+ () => H_(b, h),
2273
2279
  [b, h]
2274
- ), E = wt(() => vt(y, t), [t, y]), k = wt(() => [b, { from: b, to: h }], [b, h]), N = wt(() => o ? { after: o } : void 0, [o]);
2280
+ ), w = wt(() => vt(k, t), [t, k]), y = wt(() => [b, { from: b, to: h }], [b, h]), S = wt(() => o ? { after: o } : void 0, [o]);
2275
2281
  return {
2276
2282
  select: {
2277
2283
  onItemSelect: u,
2278
- selected: y || ""
2284
+ selected: k || ""
2279
2285
  },
2280
2286
  inputs: {
2281
2287
  fromDate: b,
2282
- toDate: w
2288
+ toDate: $
2283
2289
  },
2284
2290
  datepicker: {
2285
2291
  range: !0,
2286
2292
  month: p,
2287
2293
  numberOfMonths: 2,
2288
2294
  onDayClick: m,
2289
- selectedDays: k,
2290
- modifiers: S,
2295
+ selectedDays: y,
2296
+ modifiers: x,
2291
2297
  initialMonth: o && _t(o, 1),
2292
2298
  toMonth: o,
2293
- disabledDays: N,
2299
+ disabledDays: S,
2294
2300
  onDayMouseEnter: d,
2295
2301
  onMonthChange: v
2296
2302
  },
2297
- selectedOption: E
2303
+ selectedOption: w
2298
2304
  };
2299
2305
  })());
2300
2306
  };
2301
- Y_.defaultProps = {
2307
+ q_.defaultProps = {
2302
2308
  options: [
2303
2309
  {
2304
2310
  id: "default",
@@ -2311,7 +2317,7 @@ Y_.defaultProps = {
2311
2317
  }
2312
2318
  ]
2313
2319
  };
2314
- const Y = {
2320
+ const K = {
2315
2321
  "details-card": "lc-DetailsCard-module__details-card___cVoS7",
2316
2322
  "details-card__float-button--open": "lc-DetailsCard-module__details-card__float-button--open___u9Kx2",
2317
2323
  "details-card--with-divider": "lc-DetailsCard-module__details-card--with-divider___xyXvc",
@@ -2329,7 +2335,7 @@ const Y = {
2329
2335
  "details-card__content": "lc-DetailsCard-module__details-card__content___RNVd2",
2330
2336
  "details-card__content--full-space": "lc-DetailsCard-module__details-card__content--full-space___2ms8I",
2331
2337
  "details-card__content--spacing": "lc-DetailsCard-module__details-card__content--spacing___QecUa"
2332
- }, q = "details-card", Fc = ({
2338
+ }, J = "details-card", Mc = ({
2333
2339
  children: t,
2334
2340
  className: a,
2335
2341
  label: r,
@@ -2338,36 +2344,36 @@ const Y = {
2338
2344
  openOnInit: c = !1,
2339
2345
  hideLabelOnOpen: l
2340
2346
  }) => {
2341
- const [n, i] = e.useState(c), s = g(
2342
- Y[q],
2343
- _ && Y[`${q}--with-divider`],
2347
+ const [n, s] = e.useState(c), i = g(
2348
+ K[J],
2349
+ _ && K[`${J}--with-divider`],
2344
2350
  a
2345
- ), d = l && n, m = () => i((u) => !u);
2346
- return /* @__PURE__ */ e.createElement("div", { className: s }, /* @__PURE__ */ e.createElement(
2351
+ ), d = l && n, m = () => s((u) => !u);
2352
+ return /* @__PURE__ */ e.createElement("div", { className: i }, /* @__PURE__ */ e.createElement(
2347
2353
  "button",
2348
2354
  {
2349
2355
  className: g(
2350
- Y[`${q}__button`],
2351
- d && Y[`${q}__button--hide`]
2356
+ K[`${J}__button`],
2357
+ d && K[`${J}__button--hide`]
2352
2358
  ),
2353
2359
  onClick: m,
2354
2360
  "aria-expanded": n,
2355
2361
  "aria-hidden": d,
2356
2362
  "data-testid": "details-card-button"
2357
2363
  },
2358
- /* @__PURE__ */ e.createElement(qe, { size: "xs", className: Y[`${q}__button__title`] }, r),
2364
+ /* @__PURE__ */ e.createElement(qe, { size: "xs", className: K[`${J}__button__title`] }, r),
2359
2365
  !l && /* @__PURE__ */ e.createElement(
2360
2366
  T,
2361
2367
  {
2362
2368
  className: g(
2363
- Y[`${q}__button__icon`],
2364
- n && Y[`${q}__button__icon--open`]
2369
+ K[`${J}__button__icon`],
2370
+ n && K[`${J}__button__icon--open`]
2365
2371
  ),
2366
2372
  source: Zt
2367
2373
  }
2368
2374
  )
2369
2375
  ), l && /* @__PURE__ */ e.createElement(
2370
- z,
2376
+ U,
2371
2377
  {
2372
2378
  kind: n ? "float" : "text",
2373
2379
  icon: /* @__PURE__ */ e.createElement(
@@ -2375,15 +2381,15 @@ const Y = {
2375
2381
  {
2376
2382
  source: Zt,
2377
2383
  className: g(
2378
- Y[`${q}__float-button__icon`],
2379
- n && Y[`${q}__float-button__icon--open`]
2384
+ K[`${J}__float-button__icon`],
2385
+ n && K[`${J}__float-button__icon--open`]
2380
2386
  )
2381
2387
  }
2382
2388
  ),
2383
2389
  className: g(
2384
- Y[`${q}__float-button`],
2385
- !n && Y[`${q}__float-button--closed`],
2386
- n && Y[`${q}__float-button--open`]
2390
+ K[`${J}__float-button`],
2391
+ !n && K[`${J}__float-button--closed`],
2392
+ n && K[`${J}__float-button--open`]
2387
2393
  ),
2388
2394
  onClick: m,
2389
2395
  "aria-expanded": n,
@@ -2393,30 +2399,30 @@ const Y = {
2393
2399
  "div",
2394
2400
  {
2395
2401
  className: g(
2396
- Y[`${q}__content-wrapper`],
2397
- n && Y[`${q}__content-wrapper--open`]
2402
+ K[`${J}__content-wrapper`],
2403
+ n && K[`${J}__content-wrapper--open`]
2398
2404
  )
2399
2405
  },
2400
2406
  /* @__PURE__ */ e.createElement(
2401
2407
  "div",
2402
2408
  {
2403
2409
  className: g(
2404
- Y[`${q}__content`],
2405
- o && Y[`${q}__content--full-space`],
2406
- l && Y[`${q}__content--spacing`]
2410
+ K[`${J}__content`],
2411
+ o && K[`${J}__content--full-space`],
2412
+ l && K[`${J}__content--spacing`]
2407
2413
  )
2408
2414
  },
2409
2415
  t
2410
2416
  )
2411
2417
  ));
2412
- }, Vt = {
2418
+ }, Wt = {
2413
2419
  "details-card-info": "lc-DetailsCardInfo-module__details-card-info___D4VRk",
2414
2420
  "details-card-info__label": "lc-DetailsCardInfo-module__details-card-info__label___U-KsO",
2415
2421
  "details-card-info__content": "lc-DetailsCardInfo-module__details-card-info__content___TFEXS"
2416
- }, Wt = "details-card-info", Rc = ({
2422
+ }, Vt = "details-card-info", Lc = ({
2417
2423
  children: t,
2418
2424
  label: a
2419
- }) => /* @__PURE__ */ e.createElement("div", { className: Vt[Wt] }, /* @__PURE__ */ e.createElement("div", { className: Vt[`${Wt}__label`] }, a), /* @__PURE__ */ e.createElement("div", { className: Vt[`${Wt}__content`] }, t)), xa = {
2425
+ }) => /* @__PURE__ */ e.createElement("div", { className: Wt[Vt] }, /* @__PURE__ */ e.createElement("div", { className: Wt[`${Vt}__label`] }, a), /* @__PURE__ */ e.createElement("div", { className: Wt[`${Vt}__content`] }, t)), xa = {
2420
2426
  "field-error": "lc-FieldError-module__field-error___IDkPT",
2421
2427
  "field-error__icon": "lc-FieldError-module__field-error__icon___D4UNC"
2422
2428
  }, Sa = "field-error", ia = (_) => {
@@ -2428,7 +2434,7 @@ const Y = {
2428
2434
  "className"
2429
2435
  ]);
2430
2436
  const c = g(xa[Sa], a);
2431
- return /* @__PURE__ */ e.createElement(R, A($({ as: "span", size: "sm" }, r), { className: c }), /* @__PURE__ */ e.createElement(
2437
+ return /* @__PURE__ */ e.createElement(M, I(E({ as: "span", size: "sm" }, r), { className: c }), /* @__PURE__ */ e.createElement(
2432
2438
  T,
2433
2439
  {
2434
2440
  source: _a,
@@ -2440,15 +2446,15 @@ const Y = {
2440
2446
  "field-group": "lc-FieldGroup-module__field-group___gy8lp",
2441
2447
  "field-group--inline": "lc-FieldGroup-module__field-group--inline___or4qf",
2442
2448
  "field-group--stretched": "lc-FieldGroup-module__field-group--stretched___6rkuO"
2443
- }, qt = "field-group", Mc = (n) => {
2444
- var i = n, {
2449
+ }, qt = "field-group", Oc = (n) => {
2450
+ var s = n, {
2445
2451
  className: t = "",
2446
2452
  children: a,
2447
2453
  description: r,
2448
2454
  error: _,
2449
2455
  inline: o,
2450
2456
  stretch: c
2451
- } = i, l = P(i, [
2457
+ } = s, l = P(s, [
2452
2458
  "className",
2453
2459
  "children",
2454
2460
  "description",
@@ -2456,18 +2462,18 @@ const Y = {
2456
2462
  "inline",
2457
2463
  "stretch"
2458
2464
  ]);
2459
- const s = g(Yt[qt], t, {
2465
+ const i = g(Yt[qt], t, {
2460
2466
  [Yt[`${qt}--inline`]]: o,
2461
2467
  [Yt[`${qt}--stretched`]]: c
2462
2468
  });
2463
- return /* @__PURE__ */ e.createElement("div", A($({}, l), { className: s }), a, _ && /* @__PURE__ */ e.createElement(ia, null, _), r && /* @__PURE__ */ e.createElement(Ht, null, r));
2464
- }, q_ = "lc-Form-module__form___1nOYF", K_ = "lc-Form-module__form__header___U4B7t", J_ = "lc-Form-module__form__footer___1-sUX", j_ = "lc-Form-module__form__label___spg-J", Q_ = "lc-Form-module__form__helper___bhfwS", mt = {
2465
- form: q_,
2466
- form__header: K_,
2467
- form__footer: J_,
2468
- form__label: j_,
2469
- form__helper: Q_
2470
- }, pt = "form", Lc = (l) => {
2469
+ return /* @__PURE__ */ e.createElement("div", I(E({}, l), { className: i }), a, _ && /* @__PURE__ */ e.createElement(ia, null, _), r && /* @__PURE__ */ e.createElement(Ht, null, r));
2470
+ }, K_ = "lc-Form-module__form___1nOYF", J_ = "lc-Form-module__form__header___U4B7t", j_ = "lc-Form-module__form__footer___1-sUX", Q_ = "lc-Form-module__form__label___spg-J", Z_ = "lc-Form-module__form__helper___bhfwS", mt = {
2471
+ form: K_,
2472
+ form__header: J_,
2473
+ form__footer: j_,
2474
+ form__label: Q_,
2475
+ form__helper: Z_
2476
+ }, pt = "form", Hc = (l) => {
2471
2477
  var n = l, {
2472
2478
  className: t,
2473
2479
  children: a,
@@ -2481,8 +2487,8 @@ const Y = {
2481
2487
  "helperText",
2482
2488
  "formFooter"
2483
2489
  ]);
2484
- return /* @__PURE__ */ e.createElement("form", $({ className: g(mt[pt], t) }, c), (r || _) && /* @__PURE__ */ e.createElement("div", { className: mt[`${pt}__header`] }, r && /* @__PURE__ */ e.createElement(qe, { size: "sm", className: mt[`${pt}__label`] }, r), _ && /* @__PURE__ */ e.createElement(R, { as: "p", size: "sm", className: mt[`${pt}__helper`] }, _)), a, o && /* @__PURE__ */ e.createElement("div", { className: mt[`${pt}__footer`] }, o));
2485
- }, V = {
2490
+ return /* @__PURE__ */ e.createElement("form", E({ className: g(mt[pt], t) }, c), (r || _) && /* @__PURE__ */ e.createElement("div", { className: mt[`${pt}__header`] }, r && /* @__PURE__ */ e.createElement(qe, { size: "sm", className: mt[`${pt}__label`] }, r), _ && /* @__PURE__ */ e.createElement(M, { as: "p", size: "sm", className: mt[`${pt}__helper`] }, _)), a, o && /* @__PURE__ */ e.createElement("div", { className: mt[`${pt}__footer`] }, o));
2491
+ }, Y = {
2486
2492
  "form-field": "lc-FormField-module__form-field___JqnX6",
2487
2493
  "form-field--inline": "lc-FormField-module__form-field--inline___4DgIq",
2488
2494
  "form-field__wrapper--inline": "lc-FormField-module__form-field__wrapper--inline___Ubvrn",
@@ -2499,7 +2505,7 @@ const Y = {
2499
2505
  "form-field__row-break": "lc-FormField-module__form-field__row-break___DCBjC",
2500
2506
  "form-field__content": "lc-FormField-module__form-field__content___XaOx3",
2501
2507
  "form-field__content__description": "lc-FormField-module__form-field__content__description___NpVw4"
2502
- }, W = "form-field", Oc = ({
2508
+ }, q = "form-field", zc = ({
2503
2509
  inline: t,
2504
2510
  error: a,
2505
2511
  description: r,
@@ -2508,50 +2514,50 @@ const Y = {
2508
2514
  className: c,
2509
2515
  labelFor: l,
2510
2516
  children: n,
2511
- labelRightNode: i
2517
+ labelRightNode: s
2512
2518
  }) => {
2513
- const s = e.useRef(null), [d, m] = e.useState("auto"), u = g(
2514
- V[W],
2519
+ const i = e.useRef(null), [d, m] = e.useState("auto"), u = g(
2520
+ Y[q],
2515
2521
  {
2516
- [V[`${W}--inline`]]: t
2522
+ [Y[`${q}--inline`]]: t
2517
2523
  },
2518
2524
  c
2519
2525
  );
2520
2526
  return e.useEffect(() => {
2521
- const v = s;
2527
+ const v = i;
2522
2528
  return t && v.current ? m(`${v.current.clientHeight}px`) : m("auto");
2523
- }), /* @__PURE__ */ e.createElement("div", { className: u }, i && t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
2529
+ }), /* @__PURE__ */ e.createElement("div", { className: u }, s && t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
2524
2530
  "div",
2525
2531
  {
2526
2532
  className: g(
2527
- V[`${W}__label-right-node`],
2528
- V[`${W}__label-right-node--inline`]
2533
+ Y[`${q}__label-right-node`],
2534
+ Y[`${q}__label-right-node--inline`]
2529
2535
  )
2530
2536
  },
2531
- i
2532
- ), /* @__PURE__ */ e.createElement("div", { className: V[`${W}__row-break`] })), /* @__PURE__ */ e.createElement(
2537
+ s
2538
+ ), /* @__PURE__ */ e.createElement("div", { className: Y[`${q}__row-break`] })), /* @__PURE__ */ e.createElement(
2533
2539
  "div",
2534
2540
  {
2535
2541
  className: g(
2536
- V[`${W}__wrapper`],
2537
- t && V[`${W}__wrapper--inline`]
2542
+ Y[`${q}__wrapper`],
2543
+ t && Y[`${q}__wrapper--inline`]
2538
2544
  )
2539
2545
  },
2540
- (_ || i) && /* @__PURE__ */ e.createElement(
2546
+ (_ || s) && /* @__PURE__ */ e.createElement(
2541
2547
  "div",
2542
2548
  {
2543
2549
  className: g(
2544
- V[`${W}__label`],
2545
- t && V[`${W}__label--inline`],
2546
- !_ && V[`${W}__label--no-text`]
2550
+ Y[`${q}__label`],
2551
+ t && Y[`${q}__label--inline`],
2552
+ !_ && Y[`${q}__label--no-text`]
2547
2553
  )
2548
2554
  },
2549
2555
  _ && /* @__PURE__ */ e.createElement(
2550
2556
  "div",
2551
2557
  {
2552
2558
  className: g(
2553
- V[`${W}__label-wrapper`],
2554
- t && V[`${W}__label-wrapper--inline`]
2559
+ Y[`${q}__label-wrapper`],
2560
+ t && Y[`${q}__label-wrapper--inline`]
2555
2561
  ),
2556
2562
  style: {
2557
2563
  height: d
@@ -2560,28 +2566,28 @@ const Y = {
2560
2566
  /* @__PURE__ */ e.createElement(
2561
2567
  "label",
2562
2568
  {
2563
- className: V[`${W}__label-left-node`],
2569
+ className: Y[`${q}__label-left-node`],
2564
2570
  htmlFor: l
2565
2571
  },
2566
- /* @__PURE__ */ e.createElement(R, { as: "span", size: "sm" }, _)
2572
+ /* @__PURE__ */ e.createElement(M, { as: "span", size: "sm" }, _)
2567
2573
  ),
2568
2574
  o && /* @__PURE__ */ e.createElement(
2569
2575
  "div",
2570
2576
  {
2571
2577
  className: g(
2572
- V[`${W}__label-adornment`],
2573
- t && V[`${W}__label-adornment--inline`]
2578
+ Y[`${q}__label-adornment`],
2579
+ t && Y[`${q}__label-adornment--inline`]
2574
2580
  )
2575
2581
  },
2576
2582
  o
2577
2583
  )
2578
2584
  ),
2579
- i && !t && /* @__PURE__ */ e.createElement("div", { className: g(V[`${W}__label-right-node`]) }, i)
2585
+ s && !t && /* @__PURE__ */ e.createElement("div", { className: g(Y[`${q}__label-right-node`]) }, s)
2580
2586
  ),
2581
- /* @__PURE__ */ e.createElement("div", { className: g(V[`${W}__content`]) }, /* @__PURE__ */ e.createElement("div", { ref: s }, n), a && /* @__PURE__ */ e.createElement(ia, null, a), !a && r && /* @__PURE__ */ e.createElement(
2587
+ /* @__PURE__ */ e.createElement("div", { className: g(Y[`${q}__content`]) }, /* @__PURE__ */ e.createElement("div", { ref: i }, n), a && /* @__PURE__ */ e.createElement(ia, null, a), !a && r && /* @__PURE__ */ e.createElement(
2582
2588
  Ht,
2583
2589
  {
2584
- className: g(V[`${W}__content__description`])
2590
+ className: g(Y[`${q}__content__description`])
2585
2591
  },
2586
2592
  r
2587
2593
  ))
@@ -2591,7 +2597,7 @@ const Y = {
2591
2597
  "form-group__header": "lc-FormGroup-module__form-group__header___DgGmR",
2592
2598
  "form-group__label": "lc-FormGroup-module__form-group__label___NC-JW",
2593
2599
  "form-group__helper": "lc-FormGroup-module__form-group__helper___SRuxe"
2594
- }, Bt = "form-group", Hc = (c) => {
2600
+ }, Bt = "form-group", Gc = (c) => {
2595
2601
  var l = c, {
2596
2602
  className: t = "",
2597
2603
  children: a,
@@ -2606,16 +2612,16 @@ const Y = {
2606
2612
  const n = g(Tt[Bt], t);
2607
2613
  return /* @__PURE__ */ e.createElement(
2608
2614
  "div",
2609
- A($(A($({}, o), {
2615
+ I(E(I(E({}, o), {
2610
2616
  role: "group"
2611
2617
  }), r && { "aria-label": r }), {
2612
2618
  className: n
2613
2619
  }),
2614
- /* @__PURE__ */ e.createElement("div", { className: Tt[`${Bt}__header`] }, /* @__PURE__ */ e.createElement(qe, { as: "div", size: "sm", className: Tt[`${Bt}__label`] }, r), _ && /* @__PURE__ */ e.createElement(R, { as: "div", size: "sm", className: Tt[`${Bt}__helper`] }, _)),
2620
+ /* @__PURE__ */ e.createElement("div", { className: Tt[`${Bt}__header`] }, /* @__PURE__ */ e.createElement(qe, { as: "div", size: "sm", className: Tt[`${Bt}__label`] }, r), _ && /* @__PURE__ */ e.createElement(M, { as: "div", size: "sm", className: Tt[`${Bt}__helper`] }, _)),
2615
2621
  a
2616
2622
  );
2617
- }, Z_ = "lc-Input-module__input___qeMAQ", Ce = {
2618
- input: Z_,
2623
+ }, X_ = "lc-Input-module__input___qeMAQ", Se = {
2624
+ input: X_,
2619
2625
  "input--focused": "lc-Input-module__input--focused___wQH5-",
2620
2626
  "input--disabled": "lc-Input-module__input--disabled___HidXX",
2621
2627
  "input--crop": "lc-Input-module__input--crop___uzJS8",
@@ -2628,25 +2634,25 @@ const Y = {
2628
2634
  "input__icon--left": "lc-Input-module__input__icon--left___BcySs",
2629
2635
  "input__icon--right": "lc-Input-module__input__icon--right___VefSK",
2630
2636
  "input__visibility-button": "lc-Input-module__input__visibility-button___eWrVe"
2631
- }, Ne = "input", Da = (t, a) => e.cloneElement(t.source, {
2637
+ }, De = "input", Da = (t, a) => e.cloneElement(t.source, {
2632
2638
  "data-testid": `input-icon-${t.place}`,
2633
2639
  className: g(
2634
- Ce[`${Ne}__icon`],
2635
- Ce[`${Ne}__icon--${t.place}`],
2640
+ Se[`${De}__icon`],
2641
+ Se[`${De}__icon--${t.place}`],
2636
2642
  {
2637
- [Ce[`${Ne}__icon--disabled`]]: a
2643
+ [Se[`${De}__icon--disabled`]]: a
2638
2644
  }
2639
2645
  )
2640
- }), zc = e.forwardRef(
2641
- (i, n) => {
2642
- var s = i, {
2646
+ }), Uc = e.forwardRef(
2647
+ (s, n) => {
2648
+ var i = s, {
2643
2649
  inputSize: t = "medium",
2644
2650
  error: a = !1,
2645
2651
  disabled: r,
2646
2652
  icon: _ = null,
2647
2653
  className: o,
2648
2654
  cropOnBlur: c = !0
2649
- } = s, l = P(s, [
2655
+ } = i, l = P(i, [
2650
2656
  "inputSize",
2651
2657
  "error",
2652
2658
  "disabled",
@@ -2654,46 +2660,46 @@ const Y = {
2654
2660
  "className",
2655
2661
  "cropOnBlur"
2656
2662
  ]);
2657
- const [d, m] = e.useState(!1), [u, v] = e.useState(!1), { type: f, onFocus: p, onBlur: b } = l, y = g(
2663
+ const [d, m] = e.useState(!1), [u, v] = e.useState(!1), { type: f, onFocus: p, onBlur: b } = l, k = g(
2658
2664
  o,
2659
- Ce[Ne],
2660
- Ce[`${Ne}--${t}`],
2665
+ Se[De],
2666
+ Se[`${De}--${t}`],
2661
2667
  {
2662
- [Ce[`${Ne}--disabled`]]: r,
2663
- [Ce[`${Ne}--focused`]]: d,
2664
- [Ce[`${Ne}--error`]]: a,
2665
- [Ce[`${Ne}--crop`]]: c
2668
+ [Se[`${De}--disabled`]]: r,
2669
+ [Se[`${De}--focused`]]: d,
2670
+ [Se[`${De}--error`]]: a,
2671
+ [Se[`${De}--crop`]]: c
2666
2672
  }
2667
- ), h = r ? "var(--content-disabled)" : "var(--content-default)", w = u ? ir : dr, S = _ && _.place === "left", E = _ && f !== "password" && _.place === "right";
2668
- return /* @__PURE__ */ e.createElement("div", { className: y, "aria-disabled": r, "tab-index": "0" }, S && Da(_, r), /* @__PURE__ */ e.createElement(
2673
+ ), h = r ? "var(--content-disabled)" : "var(--content-default)", $ = u ? ir : dr, x = _ && _.place === "left", w = _ && f !== "password" && _.place === "right";
2674
+ return /* @__PURE__ */ e.createElement("div", { className: k, "aria-disabled": r, "tab-index": "0" }, x && Da(_, r), /* @__PURE__ */ e.createElement(
2669
2675
  "input",
2670
- A($({}, l), {
2676
+ I(E({}, l), {
2671
2677
  ref: n,
2672
- onFocus: (k) => {
2673
- m(!0), p == null || p(k);
2678
+ onFocus: (y) => {
2679
+ m(!0), p == null || p(y);
2674
2680
  },
2675
- onBlur: (k) => {
2676
- m(!1), b == null || b(k);
2681
+ onBlur: (y) => {
2682
+ m(!1), b == null || b(y);
2677
2683
  },
2678
2684
  disabled: r,
2679
2685
  type: f && !u ? f : "text"
2680
2686
  })
2681
- ), E && Da(_, r), f === "password" && /* @__PURE__ */ e.createElement(
2682
- z,
2687
+ ), w && Da(_, r), f === "password" && /* @__PURE__ */ e.createElement(
2688
+ U,
2683
2689
  {
2684
2690
  disabled: r,
2685
2691
  kind: "text",
2686
2692
  size: "compact",
2687
- icon: /* @__PURE__ */ e.createElement(T, { customColor: h, source: w }),
2688
- onClick: () => v((k) => !k),
2689
- className: Ce[`${Ne}__visibility-button`]
2693
+ icon: /* @__PURE__ */ e.createElement(T, { customColor: h, source: $ }),
2694
+ onClick: () => v((y) => !y),
2695
+ className: Se[`${De}__visibility-button`]
2690
2696
  }
2691
2697
  ));
2692
2698
  }
2693
- ), X_ = "lc-Link-module__link___kqx52", Ta = {
2694
- link: X_,
2699
+ ), eo = "lc-Link-module__link___kqx52", Ta = {
2700
+ link: eo,
2695
2701
  "link--bold": "lc-Link-module__link--bold___1rGdO"
2696
- }, Ba = "link", Gc = (_) => {
2702
+ }, Ba = "link", Wc = (_) => {
2697
2703
  var o = _, {
2698
2704
  bold: t = !1,
2699
2705
  className: a = ""
@@ -2703,7 +2709,7 @@ const Y = {
2703
2709
  ]);
2704
2710
  return /* @__PURE__ */ e.createElement(
2705
2711
  "a",
2706
- $({
2712
+ E({
2707
2713
  className: g(
2708
2714
  Ta[Ba],
2709
2715
  t && Ta[`${Ba}--bold`],
@@ -2711,28 +2717,28 @@ const Y = {
2711
2717
  )
2712
2718
  }, r)
2713
2719
  );
2714
- }, eo = "lc-Modal-module__modal__body___M-jmN", to = "lc-Modal-module__modal__header___Fp5VE", ao = "lc-Modal-module__modal__heading___G9KVK", ro = "lc-Modal-module__modal__footer___2LYdc", ne = {
2720
+ }, to = "lc-Modal-module__modal__body___M-jmN", ao = "lc-Modal-module__modal__header___Fp5VE", ro = "lc-Modal-module__modal__heading___G9KVK", _o = "lc-Modal-module__modal__footer___2LYdc", ie = {
2715
2721
  "modal-base": "lc-Modal-module__modal-base___hbL1U",
2716
2722
  "modal-base--full-space": "lc-Modal-module__modal-base--full-space___KcGFL",
2717
2723
  "modal-base__overlay": "lc-Modal-module__modal-base__overlay___kCQ8t",
2718
2724
  "modal-base__overlay--visible": "lc-Modal-module__modal-base__overlay--visible___zUNJL",
2719
2725
  "modal-base__close": "lc-Modal-module__modal-base__close___gJlgr",
2720
2726
  "modal-base__close--label-type": "lc-Modal-module__modal-base__close--label-type___Om0Vb",
2721
- modal__body: eo,
2722
- modal__header: to,
2727
+ modal__body: to,
2728
+ modal__header: ao,
2723
2729
  "modal__label-header": "lc-Modal-module__modal__label-header___ZPtEy",
2724
- modal__heading: ao,
2730
+ modal__heading: ro,
2725
2731
  "modal__label-heading": "lc-Modal-module__modal__label-heading___WnYcF",
2726
- modal__footer: ro
2727
- }, It = "modal-base", _o = (n) => {
2728
- var i = n, {
2732
+ modal__footer: _o
2733
+ }, It = "modal-base", oo = (n) => {
2734
+ var s = n, {
2729
2735
  children: t,
2730
2736
  className: a = "",
2731
2737
  onClose: r,
2732
2738
  closeOnEscPress: _ = !0,
2733
2739
  closeOnOverlayPress: o = !0,
2734
2740
  fullSpaceContent: c
2735
- } = i, l = P(i, [
2741
+ } = s, l = P(s, [
2736
2742
  "children",
2737
2743
  "className",
2738
2744
  "onClose",
@@ -2740,16 +2746,16 @@ const Y = {
2740
2746
  "closeOnOverlayPress",
2741
2747
  "fullSpaceContent"
2742
2748
  ]);
2743
- const s = g(
2744
- ne[It],
2749
+ const i = g(
2750
+ ie[It],
2745
2751
  a,
2746
- c && ne[`${It}--full-space`]
2752
+ c && ie[`${It}--full-space`]
2747
2753
  );
2748
2754
  e.useEffect(() => {
2749
2755
  if (!_)
2750
2756
  return;
2751
2757
  const m = (u) => {
2752
- u.key === O.esc && r();
2758
+ u.key === z.esc && r();
2753
2759
  };
2754
2760
  return document.addEventListener("keyup", m, !0), () => document.removeEventListener("keyup", m, !0);
2755
2761
  }, [_]);
@@ -2762,16 +2768,16 @@ const Y = {
2762
2768
  "data-testid": "lc-modal-overlay",
2763
2769
  onMouseDown: d,
2764
2770
  className: g(
2765
- ne[`${It}__overlay`],
2766
- ne[`${It}__overlay--visible`]
2771
+ ie[`${It}__overlay`],
2772
+ ie[`${It}__overlay--visible`]
2767
2773
  )
2768
2774
  },
2769
2775
  /* @__PURE__ */ e.createElement(
2770
2776
  "div",
2771
- $({
2777
+ E({
2772
2778
  role: "dialog",
2773
2779
  "aria-modal": !0,
2774
- className: s
2780
+ className: i
2775
2781
  }, l),
2776
2782
  t
2777
2783
  )
@@ -2781,19 +2787,19 @@ const Y = {
2781
2787
  customColor: a,
2782
2788
  onClick: r
2783
2789
  }) => /* @__PURE__ */ e.createElement(
2784
- z,
2790
+ U,
2785
2791
  {
2786
2792
  kind: "plain",
2787
2793
  title: "Close modal",
2788
2794
  className: g(
2789
- ne["modal-base__close"],
2790
- t && ne["modal-base__close--label-type"]
2795
+ ie["modal-base__close"],
2796
+ t && ie["modal-base__close--label-type"]
2791
2797
  ),
2792
2798
  onClick: r,
2793
- icon: /* @__PURE__ */ e.createElement(T, { source: he, size: "medium", customColor: a })
2799
+ icon: /* @__PURE__ */ e.createElement(T, { source: ke, size: "medium", customColor: a })
2794
2800
  }
2795
- ), Ve = "modal", Uc = (s) => {
2796
- var d = s, {
2801
+ ), We = "modal", Vc = (i) => {
2802
+ var d = i, {
2797
2803
  children: t,
2798
2804
  className: a = "",
2799
2805
  heading: r,
@@ -2802,7 +2808,7 @@ const Y = {
2802
2808
  footer: c,
2803
2809
  onClose: l,
2804
2810
  contentClassName: n
2805
- } = d, i = P(d, [
2811
+ } = d, s = P(d, [
2806
2812
  "children",
2807
2813
  "className",
2808
2814
  "heading",
@@ -2812,22 +2818,22 @@ const Y = {
2812
2818
  "onClose",
2813
2819
  "contentClassName"
2814
2820
  ]);
2815
- const m = g(ne[Ve], a), u = typeof t == "string", v = (f) => {
2821
+ const m = g(ie[We], a), u = typeof t == "string", v = (f) => {
2816
2822
  f.preventDefault(), f.stopPropagation(), l();
2817
2823
  };
2818
2824
  return /* @__PURE__ */ e.createElement(
2819
- _o,
2820
- $({
2825
+ oo,
2826
+ E({
2821
2827
  className: m,
2822
2828
  fullSpaceContent: o,
2823
2829
  onClose: l
2824
- }, i),
2825
- _ && /* @__PURE__ */ e.createElement("div", { className: ne[`${Ve}__label-header`] }, /* @__PURE__ */ e.createElement(
2830
+ }, s),
2831
+ _ && /* @__PURE__ */ e.createElement("div", { className: ie[`${We}__label-header`] }, /* @__PURE__ */ e.createElement(
2826
2832
  qe,
2827
2833
  {
2828
2834
  size: "md",
2829
2835
  as: "div",
2830
- className: ne[`${Ve}__label-heading`]
2836
+ className: ie[`${We}__label-heading`]
2831
2837
  },
2832
2838
  _
2833
2839
  ), /* @__PURE__ */ e.createElement(
@@ -2838,12 +2844,12 @@ const Y = {
2838
2844
  onClick: v
2839
2845
  }
2840
2846
  )),
2841
- !_ && r && /* @__PURE__ */ e.createElement("div", { className: ne[`${Ve}__header`] }, /* @__PURE__ */ e.createElement(
2847
+ !_ && r && /* @__PURE__ */ e.createElement("div", { className: ie[`${We}__header`] }, /* @__PURE__ */ e.createElement(
2842
2848
  qe,
2843
2849
  {
2844
2850
  size: "md",
2845
2851
  as: "div",
2846
- className: ne[`${Ve}__heading`]
2852
+ className: ie[`${We}__heading`]
2847
2853
  },
2848
2854
  r
2849
2855
  ), /* @__PURE__ */ e.createElement(Ia, { onClick: v })),
@@ -2851,13 +2857,13 @@ const Y = {
2851
2857
  "div",
2852
2858
  {
2853
2859
  "data-testid": "modal-body",
2854
- className: g(ne[`${Ve}__body`], n)
2860
+ className: g(ie[`${We}__body`], n)
2855
2861
  },
2856
- u ? /* @__PURE__ */ e.createElement(R, { as: "div" }, t) : t
2862
+ u ? /* @__PURE__ */ e.createElement(M, { as: "div" }, t) : t
2857
2863
  ),
2858
- c && /* @__PURE__ */ e.createElement("div", { className: ne[`${Ve}__footer`] }, c)
2864
+ c && /* @__PURE__ */ e.createElement("div", { className: ie[`${We}__footer`] }, c)
2859
2865
  );
2860
- }, Vc = ({
2866
+ }, Yc = ({
2861
2867
  children: t,
2862
2868
  className: a = "",
2863
2869
  parentElementName: r = "body",
@@ -2877,7 +2883,7 @@ const Y = {
2877
2883
  "modal-header__heading-body": "lc-ModalHeader-module__modal-header__heading-body___HHEF-",
2878
2884
  "modal-header__heading-title": "lc-ModalHeader-module__modal-header__heading-title___2R9pm",
2879
2885
  "modal-header__heading-description": "lc-ModalHeader-module__modal-header__heading-description___54Xvf"
2880
- }, Qe = "modal-header", Wc = ({
2886
+ }, Qe = "modal-header", qc = ({
2881
2887
  title: t,
2882
2888
  iconProps: a,
2883
2889
  avatarProps: r,
@@ -2887,12 +2893,12 @@ const Y = {
2887
2893
  const c = yr(je[Qe], o);
2888
2894
  return /* @__PURE__ */ e.createElement("div", { className: c }, a && /* @__PURE__ */ e.createElement(
2889
2895
  T,
2890
- $({
2896
+ E({
2891
2897
  className: je[`${Qe}__heading-left-node`]
2892
2898
  }, a)
2893
2899
  ), r && /* @__PURE__ */ e.createElement(
2894
- i_,
2895
- $({
2900
+ d_,
2901
+ E({
2896
2902
  className: je[`${Qe}__heading-left-node`]
2897
2903
  }, r)
2898
2904
  ), /* @__PURE__ */ e.createElement("div", { className: je[`${Qe}__heading-body`] }, /* @__PURE__ */ e.createElement(
@@ -2904,7 +2910,7 @@ const Y = {
2904
2910
  },
2905
2911
  t
2906
2912
  ), _ && /* @__PURE__ */ e.createElement(
2907
- R,
2913
+ M,
2908
2914
  {
2909
2915
  as: "div",
2910
2916
  className: je[`${Qe}__heading-description`]
@@ -2918,7 +2924,7 @@ const Y = {
2918
2924
  "numeric-input--disabled": "lc-NumericInput-module__numeric-input--disabled___yaRvQ",
2919
2925
  "numeric-input--no-controls": "lc-NumericInput-module__numeric-input--no-controls___D90rG",
2920
2926
  "numeric-input--error": "lc-NumericInput-module__numeric-input--error___TMxRx"
2921
- }, Xe = "numeric-input", Yc = (d) => {
2927
+ }, Xe = "numeric-input", Kc = (d) => {
2922
2928
  var m = d, {
2923
2929
  className: t,
2924
2930
  error: a,
@@ -2928,8 +2934,8 @@ const Y = {
2928
2934
  disabled: c,
2929
2935
  noControls: l,
2930
2936
  style: n,
2931
- onChange: i
2932
- } = m, s = P(m, [
2937
+ onChange: s
2938
+ } = m, i = P(m, [
2933
2939
  "className",
2934
2940
  "error",
2935
2941
  "value",
@@ -2948,38 +2954,38 @@ const Y = {
2948
2954
  [Ze[`${Xe}--disabled`]]: c
2949
2955
  },
2950
2956
  t
2951
- ), f = (k) => i(String(k)), p = (k) => _ !== void 0 && k > _ ? _ : o !== void 0 && k < o ? o : k, b = (k) => {
2952
- const N = parseInt(r, 10) + k;
2953
- return f(p(N));
2954
- }, y = (k) => {
2955
- k.key === O.arrowDown && (k.preventDefault(), b(-1)), k.key === O.arrowUp && (k.preventDefault(), b(1));
2956
- }, h = (k, N) => N !== void 0 && parseInt(k, 10) === N, w = (k) => {
2957
- k.preventDefault(), k.stopPropagation();
2958
- const N = k.currentTarget.value.replace(
2957
+ ), f = (y) => s(String(y)), p = (y) => _ !== void 0 && y > _ ? _ : o !== void 0 && y < o ? o : y, b = (y) => {
2958
+ const S = parseInt(r, 10) + y;
2959
+ return f(p(S));
2960
+ }, k = (y) => {
2961
+ y.key === z.arrowDown && (y.preventDefault(), b(-1)), y.key === z.arrowUp && (y.preventDefault(), b(1));
2962
+ }, h = (y, S) => S !== void 0 && parseInt(y, 10) === S, $ = (y) => {
2963
+ y.preventDefault(), y.stopPropagation();
2964
+ const S = y.currentTarget.value.replace(
2959
2965
  /((?!([-]|([-]?\d+))).)/,
2960
2966
  ""
2961
2967
  );
2962
- if (N === "" || N === "-")
2963
- return f(N);
2964
- const C = parseInt(N, 10);
2968
+ if (S === "" || S === "-")
2969
+ return f(S);
2970
+ const C = parseInt(S, 10);
2965
2971
  return f(p(C));
2966
- }, S = () => {
2967
- var k;
2968
- return (k = u.current) == null || k.focus(), b(1);
2969
- }, E = () => {
2970
- var k;
2971
- return (k = u.current) == null || k.focus(), b(-1);
2972
+ }, x = () => {
2973
+ var y;
2974
+ return (y = u.current) == null || y.focus(), b(1);
2975
+ }, w = () => {
2976
+ var y;
2977
+ return (y = u.current) == null || y.focus(), b(-1);
2972
2978
  };
2973
2979
  return /* @__PURE__ */ e.createElement("div", { className: v, style: n }, /* @__PURE__ */ e.createElement(
2974
2980
  "input",
2975
- A($({
2981
+ I(E({
2976
2982
  type: "text",
2977
2983
  ref: u
2978
- }, s), {
2984
+ }, i), {
2979
2985
  value: r,
2980
2986
  disabled: c,
2981
- onChange: w,
2982
- onKeyDown: y,
2987
+ onChange: $,
2988
+ onKeyDown: k,
2983
2989
  min: o,
2984
2990
  max: _
2985
2991
  })
@@ -2988,7 +2994,7 @@ const Y = {
2988
2994
  {
2989
2995
  tabIndex: -1,
2990
2996
  disabled: c || h(r, _),
2991
- onClick: S,
2997
+ onClick: x,
2992
2998
  "aria-label": "Increment value",
2993
2999
  className: Ze[`${Xe}__increment`],
2994
3000
  type: "button"
@@ -3008,7 +3014,7 @@ const Y = {
3008
3014
  disabled: c || h(r, o),
3009
3015
  "aria-label": "Decrement value",
3010
3016
  className: Ze[`${Xe}__decrement`],
3011
- onClick: E,
3017
+ onClick: w,
3012
3018
  type: "button"
3013
3019
  },
3014
3020
  /* @__PURE__ */ e.createElement(
@@ -3021,22 +3027,22 @@ const Y = {
3021
3027
  )
3022
3028
  )));
3023
3029
  }, at = "select-all";
3024
- function oo(t, a) {
3030
+ function co(t, a) {
3025
3031
  const r = {};
3026
3032
  if (a && a.length > 1) {
3027
3033
  const _ = t.map((o) => o.key).filter((o) => a.includes(o));
3028
3034
  for (let o = 0; o < _.length; o++) {
3029
- const c = _[o], l = _[o + 1], n = _[o - 1], i = l && Math.abs(
3035
+ const c = _[o], l = _[o + 1], n = _[o - 1], s = l && Math.abs(
3030
3036
  t.findIndex((d) => d.key === l) - t.findIndex((d) => d.key === c)
3031
- ) === 1, s = n && Math.abs(
3037
+ ) === 1, i = n && Math.abs(
3032
3038
  t.findIndex((d) => d.key === n) - t.findIndex((d) => d.key === c)
3033
3039
  ) === 1;
3034
- i && s ? r[c] = "middle" : i ? r[c] = "top" : s && (r[c] = "bottom");
3040
+ s && i ? r[c] = "middle" : s ? r[c] = "top" : i && (r[c] = "bottom");
3035
3041
  }
3036
3042
  }
3037
3043
  return r;
3038
3044
  }
3039
- const K = {
3045
+ const j = {
3040
3046
  "list-wrapper": "lc-PickerList-module__list-wrapper___ZJjPY",
3041
3047
  "picker-list": "lc-PickerList-module__picker-list___FqdgZ",
3042
3048
  "picker-list__no-results": "lc-PickerList-module__picker-list__no-results___tX172",
@@ -3051,43 +3057,43 @@ const K = {
3051
3057
  "picker-list__item__label-container": "lc-PickerList-module__picker-list__item__label-container___yZXW5",
3052
3058
  "picker-list__item__main-label": "lc-PickerList-module__picker-list__item__main-label___uRgQw",
3053
3059
  "picker-list__item__secondary-label": "lc-PickerList-module__picker-list__item__secondary-label___lpkFW"
3054
- }, pe = "picker-list__item", co = ({
3060
+ }, ge = "picker-list__item", lo = ({
3055
3061
  item: t,
3056
3062
  isItemSelected: a,
3057
3063
  currentItemKey: r,
3058
3064
  isAdjacentStyleApplied: _,
3059
3065
  onSelect: o
3060
3066
  }) => {
3061
- const c = (n) => n != null && n.customElement ? /* @__PURE__ */ e.createElement("div", { className: K[`${pe}__custom`] }, n.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, n.showCheckbox && /* @__PURE__ */ e.createElement(
3067
+ const c = (n) => n != null && n.customElement ? /* @__PURE__ */ e.createElement("div", { className: j[`${ge}__custom`] }, n.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, n.showCheckbox && /* @__PURE__ */ e.createElement(
3062
3068
  "input",
3063
3069
  {
3064
3070
  type: "checkbox",
3065
- className: K[`${pe}__checkbox`],
3071
+ className: j[`${ge}__checkbox`],
3066
3072
  checked: a
3067
3073
  }
3068
3074
  ), n.icon && /* @__PURE__ */ e.createElement(
3069
3075
  T,
3070
3076
  {
3071
- className: K[`${pe}__icon`],
3077
+ className: j[`${ge}__icon`],
3072
3078
  kind: "link",
3073
3079
  source: n.icon
3074
3080
  }
3075
3081
  ), n.avatarSrc && /* @__PURE__ */ e.createElement(
3076
3082
  "img",
3077
3083
  {
3078
- className: g(K[`${pe}__avatar`]),
3084
+ className: g(j[`${ge}__avatar`]),
3079
3085
  src: n.avatarSrc,
3080
3086
  alt: n.name
3081
3087
  }
3082
- ), /* @__PURE__ */ e.createElement("div", { className: K[`${pe}__label-container`] }, /* @__PURE__ */ e.createElement(
3088
+ ), /* @__PURE__ */ e.createElement("div", { className: j[`${ge}__label-container`] }, /* @__PURE__ */ e.createElement(
3083
3089
  "span",
3084
3090
  {
3085
3091
  className: g({
3086
- [K[`${pe}__main-label`]]: n.secondaryText
3092
+ [j[`${ge}__main-label`]]: n.secondaryText
3087
3093
  })
3088
3094
  },
3089
3095
  n.name
3090
- ), n.secondaryText && /* @__PURE__ */ e.createElement("span", { className: K[`${pe}__secondary-label`] }, n.secondaryText))), l = (n) => {
3096
+ ), n.secondaryText && /* @__PURE__ */ e.createElement("span", { className: j[`${ge}__secondary-label`] }, n.secondaryText))), l = (n) => {
3091
3097
  !n.disabled && o(n);
3092
3098
  };
3093
3099
  return t.groupHeader ? /* @__PURE__ */ e.createElement(
@@ -3095,7 +3101,7 @@ const K = {
3095
3101
  {
3096
3102
  role: "option",
3097
3103
  key: t.key,
3098
- className: K[`${pe}__header`]
3104
+ className: j[`${ge}__header`]
3099
3105
  },
3100
3106
  t.name
3101
3107
  ) : /* @__PURE__ */ e.createElement(
@@ -3112,12 +3118,12 @@ const K = {
3112
3118
  id: t.key,
3113
3119
  key: t.key,
3114
3120
  "data-adjacent": _,
3115
- className: g(K[pe], {
3116
- [K[`${pe}__custom`]]: t == null ? void 0 : t.customElement
3121
+ className: g(j[ge], {
3122
+ [j[`${ge}__custom`]]: t == null ? void 0 : t.customElement
3117
3123
  }),
3118
3124
  onClick: () => l(t)
3119
3125
  },
3120
- /* @__PURE__ */ e.createElement("div", { className: K[`${pe}__content`] }, c(t)),
3126
+ /* @__PURE__ */ e.createElement("div", { className: j[`${ge}__content`] }, c(t)),
3121
3127
  a && !t.showCheckbox && /* @__PURE__ */ e.createElement(
3122
3128
  T,
3123
3129
  {
@@ -3127,7 +3133,7 @@ const K = {
3127
3133
  }
3128
3134
  )
3129
3135
  );
3130
- }, aa = "picker-list", Aa = `${aa}__item`, lo = ({
3136
+ }, aa = "picker-list", Aa = `${aa}__item`, no = ({
3131
3137
  isOpen: t,
3132
3138
  items: a,
3133
3139
  selectedItemsKeys: r,
@@ -3136,31 +3142,31 @@ const K = {
3136
3142
  isMultiSelect: c,
3137
3143
  onClose: l,
3138
3144
  onSelect: n,
3139
- onSelectAll: i
3145
+ onSelectAll: s
3140
3146
  }) => {
3141
- const s = g(K[aa], {
3142
- [K[`${aa}__no-results`]]: a.length === 0
3147
+ const i = g(j[aa], {
3148
+ [j[`${aa}__no-results`]]: a.length === 0
3143
3149
  }), [d, m] = e.useState(
3144
3150
  null
3145
- ), u = e.useRef(-1), v = e.useRef(0), f = e.useRef(null), [p, b] = e.useState({}), y = (C) => {
3146
- if (C.key === O.esc && (C.preventDefault(), l()), C.key === O.arrowUp && u.current > 0 && (C.preventDefault(), u.current = w(), m(a[u.current].key)), C.key === O.arrowDown && u.current + 1 < a.length && (C.preventDefault(), u.current = S(), m(a[u.current].key)), C.key === O.enter && a[u.current] && !a[u.current].disabled) {
3151
+ ), u = e.useRef(-1), v = e.useRef(0), f = e.useRef(null), [p, b] = e.useState({}), k = (C) => {
3152
+ if (C.key === z.esc && (C.preventDefault(), l()), C.key === z.arrowUp && u.current > 0 && (C.preventDefault(), u.current = $(), m(a[u.current].key)), C.key === z.arrowDown && u.current + 1 < a.length && (C.preventDefault(), u.current = x(), m(a[u.current].key)), C.key === z.enter && a[u.current] && !a[u.current].disabled) {
3147
3153
  if (C.preventDefault(), a[u.current].key === at)
3148
- return i();
3154
+ return s();
3149
3155
  n(a[u.current]);
3150
3156
  }
3151
3157
  };
3152
3158
  e.useEffect(() => {
3153
3159
  if (u.current > -1 && a.length > 0 && a[u.current] ? m(a[u.current].key) : (u.current = -1, v.current = 0, m(null)), t)
3154
- return document.addEventListener("keydown", y), () => document.removeEventListener("keydown", y);
3160
+ return document.addEventListener("keydown", k), () => document.removeEventListener("keydown", k);
3155
3161
  u.current = -1, v.current = 0, m(null);
3156
- }, [a, t, y]), e.useEffect(() => {
3157
- b(oo(a, r));
3162
+ }, [a, t, k]), e.useEffect(() => {
3163
+ b(co(a, r));
3158
3164
  }, [r, a]);
3159
- const h = (C) => !!a[C] && (a[C].disabled || a[C].groupHeader), w = () => {
3165
+ const h = (C) => !!a[C] && (a[C].disabled || a[C].groupHeader), $ = () => {
3160
3166
  for (u.current = u.current - 1; h(u.current) && (u.current = u.current - 1, !!h(u.current)); )
3161
3167
  ;
3162
3168
  return v.current = u.current, u.current;
3163
- }, S = () => {
3169
+ }, x = () => {
3164
3170
  if (u.current = u.current + 1, !h(u.current))
3165
3171
  return v.current = u.current, u.current;
3166
3172
  for (; h(u.current); ) {
@@ -3170,7 +3176,7 @@ const K = {
3170
3176
  break;
3171
3177
  }
3172
3178
  return v.current = u.current, u.current;
3173
- }, E = () => i(), k = (C) => r ? r.includes(C) : !1, N = () => !c || c && !o ? null : /* @__PURE__ */ e.createElement(
3179
+ }, w = () => s(), y = (C) => r ? r.includes(C) : !1, S = () => !c || c && !o ? null : /* @__PURE__ */ e.createElement(
3174
3180
  "li",
3175
3181
  {
3176
3182
  ref: (C) => {
@@ -3181,34 +3187,34 @@ const K = {
3181
3187
  id: at,
3182
3188
  key: at,
3183
3189
  className: g(
3184
- K[Aa],
3185
- K[`${Aa}--select-all`]
3190
+ j[Aa],
3191
+ j[`${Aa}--select-all`]
3186
3192
  ),
3187
- onClick: E
3193
+ onClick: w
3188
3194
  },
3189
3195
  o
3190
3196
  );
3191
- return t ? a.length === 0 ? /* @__PURE__ */ e.createElement("div", { className: K["list-wrapper"] }, /* @__PURE__ */ e.createElement("div", { className: s }, _)) : /* @__PURE__ */ e.createElement("div", { className: K["list-wrapper"] }, /* @__PURE__ */ e.createElement(
3197
+ 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(
3192
3198
  "ul",
3193
3199
  {
3194
3200
  ref: f,
3195
- className: s,
3201
+ className: i,
3196
3202
  role: "listbox",
3197
3203
  tabIndex: -1
3198
3204
  },
3199
- N(),
3205
+ S(),
3200
3206
  a.map((C) => /* @__PURE__ */ e.createElement(
3201
- co,
3207
+ lo,
3202
3208
  {
3203
3209
  item: C,
3204
- isItemSelected: k(C.key),
3210
+ isItemSelected: y(C.key),
3205
3211
  isAdjacentStyleApplied: p[C.key],
3206
3212
  currentItemKey: d,
3207
3213
  onSelect: n
3208
3214
  }
3209
3215
  ))
3210
3216
  )) : null;
3211
- }, ee = {
3217
+ }, _e = {
3212
3218
  "picker-trigger": "lc-Trigger-module__picker-trigger___BIvTx",
3213
3219
  "picker-trigger--multi-select": "lc-Trigger-module__picker-trigger--multi-select___rLpTy",
3214
3220
  "picker-trigger--multi-select--with-items": "lc-Trigger-module__picker-trigger--multi-select--with-items___QFhY2",
@@ -3225,7 +3231,7 @@ const K = {
3225
3231
  "picker-trigger--disabled": "lc-Trigger-module__picker-trigger--disabled___7H4tD",
3226
3232
  "picker-trigger--focused": "lc-Trigger-module__picker-trigger--focused___vTr39",
3227
3233
  "picker-trigger--error": "lc-Trigger-module__picker-trigger--error___Rh8Qd"
3228
- }, Z = "picker-trigger", no = ({
3234
+ }, ae = "picker-trigger", so = ({
3229
3235
  children: t,
3230
3236
  isSearchDisabled: a,
3231
3237
  isDisabled: r,
@@ -3234,24 +3240,24 @@ const K = {
3234
3240
  isOpen: c,
3235
3241
  isRequired: l,
3236
3242
  isMultiSelect: n,
3237
- size: i = "medium",
3238
- hideClearButton: s,
3243
+ size: s = "medium",
3244
+ hideClearButton: i,
3239
3245
  onTrigger: d,
3240
3246
  onClear: m,
3241
3247
  testId: u
3242
3248
  }) => {
3243
3249
  const v = e.useRef(null), f = g(
3244
- ee[Z],
3245
- ee[`${Z}--${i}`],
3246
- n && ee[`${Z}--multi-select`],
3247
- n && o && ee[`${Z}--multi-select--with-items`],
3248
- r && ee[`${Z}--disabled`],
3249
- c && ee[`${Z}--focused`],
3250
- _ && ee[`${Z}--error`]
3250
+ _e[ae],
3251
+ _e[`${ae}--${s}`],
3252
+ n && _e[`${ae}--multi-select`],
3253
+ n && o && _e[`${ae}--multi-select--with-items`],
3254
+ r && _e[`${ae}--disabled`],
3255
+ c && _e[`${ae}--focused`],
3256
+ _ && _e[`${ae}--error`]
3251
3257
  );
3252
3258
  e.useEffect(() => {
3253
- const h = (w) => {
3254
- document.activeElement === v.current && w.key !== O.tab && d(w);
3259
+ const h = ($) => {
3260
+ document.activeElement === v.current && $.key !== z.tab && d($);
3255
3261
  };
3256
3262
  return a || document.addEventListener("keydown", h), () => {
3257
3263
  a || document.removeEventListener("keydown", h);
@@ -3261,7 +3267,7 @@ const K = {
3261
3267
  d(h);
3262
3268
  }, b = (h) => {
3263
3269
  h.stopPropagation(), m();
3264
- }, y = !s && o && !r && !l;
3270
+ }, k = !i && o && !r && !l;
3265
3271
  return /* @__PURE__ */ e.createElement(
3266
3272
  "div",
3267
3273
  {
@@ -3275,9 +3281,9 @@ const K = {
3275
3281
  "div",
3276
3282
  {
3277
3283
  className: g(
3278
- ee[`${Z}__content`],
3279
- ee[`${Z}__content--${i}`],
3280
- n && o && ee[`${Z}__content--with-items`]
3284
+ _e[`${ae}__content`],
3285
+ _e[`${ae}__content--${s}`],
3286
+ n && o && _e[`${ae}__content--with-items`]
3281
3287
  )
3282
3288
  },
3283
3289
  t
@@ -3286,23 +3292,23 @@ const K = {
3286
3292
  "div",
3287
3293
  {
3288
3294
  className: g(
3289
- ee[`${Z}__controls`],
3290
- ee[`${Z}__controls--${i}`]
3295
+ _e[`${ae}__controls`],
3296
+ _e[`${ae}__controls--${s}`]
3291
3297
  )
3292
3298
  },
3293
- y && /* @__PURE__ */ e.createElement(
3299
+ k && /* @__PURE__ */ e.createElement(
3294
3300
  "div",
3295
3301
  {
3296
- "data-testid": `${Z}__clear-icon`,
3297
- className: ee[`${Z}__clear-icon`],
3302
+ "data-testid": `${ae}__clear-icon`,
3303
+ className: _e[`${ae}__clear-icon`],
3298
3304
  onClick: b
3299
3305
  },
3300
- /* @__PURE__ */ e.createElement(T, { kind: "primary", size: "small", source: he })
3306
+ /* @__PURE__ */ e.createElement(T, { kind: "primary", size: "small", source: ke })
3301
3307
  ),
3302
3308
  /* @__PURE__ */ e.createElement(
3303
3309
  T,
3304
3310
  {
3305
- className: ee[`${Z}__chevron-icon`],
3311
+ className: _e[`${ae}__chevron-icon`],
3306
3312
  source: c ? Ot : yt,
3307
3313
  size: "medium",
3308
3314
  disabled: r
@@ -3310,10 +3316,10 @@ const K = {
3310
3316
  )
3311
3317
  )
3312
3318
  );
3313
- }, so = "lc-Tag-module__tag___1QRVY", io = "lc-Tag-module__tag__remove___UmtrW", uo = "lc-Tag-module__icon___2Z-35", mo = "lc-Tag-module__tag__node___rZTzB", po = "lc-Tag-module__tag__content___q6vKK", De = {
3314
- tag: so,
3319
+ }, io = "lc-Tag-module__tag___1QRVY", uo = "lc-Tag-module__tag__remove___UmtrW", mo = "lc-Tag-module__icon___2Z-35", po = "lc-Tag-module__tag__node___rZTzB", go = "lc-Tag-module__tag__content___q6vKK", Ie = {
3320
+ tag: io,
3315
3321
  "tag--success": "lc-Tag-module__tag--success___P2hXQ",
3316
- tag__remove: io,
3322
+ tag__remove: uo,
3317
3323
  "tag--error": "lc-Tag-module__tag--error___1cjsm",
3318
3324
  "tag--warning": "lc-Tag-module__tag--warning___PstMG",
3319
3325
  "tag--info": "lc-Tag-module__tag--info___RTH0C",
@@ -3324,13 +3330,13 @@ const K = {
3324
3330
  "tag--medium": "lc-Tag-module__tag--medium___l5-KI",
3325
3331
  "tag--large": "lc-Tag-module__tag--large___ytC6Y",
3326
3332
  "tag--xlarge": "lc-Tag-module__tag--xlarge___2jj1d",
3327
- icon: uo,
3333
+ icon: mo,
3328
3334
  "tag--text-white": "lc-Tag-module__tag--text-white___x0fnD",
3329
3335
  "tag--text-black": "lc-Tag-module__tag--text-black___dUvmD",
3330
3336
  "tag--dismissible": "lc-Tag-module__tag--dismissible___Qobyr",
3331
- tag__node: mo,
3332
- tag__content: po
3333
- }, Te = "tag", go = (t) => t ? na(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", ja = (m) => {
3337
+ tag__node: po,
3338
+ tag__content: go
3339
+ }, Ae = "tag", fo = (t) => t ? na(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", ja = (m) => {
3334
3340
  var u = m, {
3335
3341
  className: t = "",
3336
3342
  children: a,
@@ -3340,8 +3346,8 @@ const K = {
3340
3346
  onRemove: c,
3341
3347
  outline: l = !1,
3342
3348
  leftNode: n,
3343
- rightNode: i,
3344
- customColor: s
3349
+ rightNode: s,
3350
+ customColor: i
3345
3351
  } = u, d = P(u, [
3346
3352
  "className",
3347
3353
  "children",
@@ -3355,28 +3361,28 @@ const K = {
3355
3361
  "customColor"
3356
3362
  ]);
3357
3363
  const v = g(
3358
- De[Te],
3364
+ Ie[Ae],
3359
3365
  t,
3360
- De[`${Te}--${_}`],
3361
- De[`${Te}--${o}`],
3366
+ Ie[`${Ae}--${_}`],
3367
+ Ie[`${Ae}--${o}`],
3362
3368
  {
3363
- [De[`${Te}--dismissible`]]: r,
3364
- [De[`${Te}--outline`]]: l,
3365
- [De[`${Te}--${go(s)}`]]: !!s
3369
+ [Ie[`${Ae}--dismissible`]]: r,
3370
+ [Ie[`${Ae}--outline`]]: l,
3371
+ [Ie[`${Ae}--${fo(i)}`]]: !!i
3366
3372
  }
3367
- ), f = _ === "small" ? "small" : "medium", p = () => s ? l ? {
3373
+ ), f = _ === "small" ? "small" : "medium", p = () => i ? l ? {
3368
3374
  style: {
3369
3375
  backgroundColor: "transparent",
3370
- color: s,
3371
- borderColor: s
3376
+ color: i,
3377
+ borderColor: i
3372
3378
  }
3373
- } : { style: { backgroundColor: s } } : {}, b = () => {
3374
- if (s)
3375
- return l ? s : na(s, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
3379
+ } : { style: { backgroundColor: i } } : {}, b = () => {
3380
+ if (i)
3381
+ return l ? i : na(i, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
3376
3382
  };
3377
3383
  return /* @__PURE__ */ e.createElement(
3378
- R,
3379
- A($($({
3384
+ M,
3385
+ I(E(E({
3380
3386
  className: v
3381
3387
  }, d), p()), {
3382
3388
  as: "div",
@@ -3386,19 +3392,19 @@ const K = {
3386
3392
  "div",
3387
3393
  {
3388
3394
  "data-testid": "lc-tag-left-node",
3389
- className: De[`${Te}__node`],
3395
+ className: Ie[`${Ae}__node`],
3390
3396
  style: { color: b() }
3391
3397
  },
3392
3398
  n
3393
3399
  ),
3394
- /* @__PURE__ */ e.createElement("div", { className: De[`${Te}__content`] }, a),
3395
- i && /* @__PURE__ */ e.createElement(
3400
+ /* @__PURE__ */ e.createElement("div", { className: Ie[`${Ae}__content`] }, a),
3401
+ s && /* @__PURE__ */ e.createElement(
3396
3402
  "div",
3397
3403
  {
3398
3404
  "data-testid": "lc-tag-right-node",
3399
3405
  style: { color: b() }
3400
3406
  },
3401
- i
3407
+ s
3402
3408
  ),
3403
3409
  r && /* @__PURE__ */ e.createElement(
3404
3410
  "button",
@@ -3406,20 +3412,20 @@ const K = {
3406
3412
  title: "Remove",
3407
3413
  onClick: c,
3408
3414
  type: "button",
3409
- className: De[`${Te}__remove`]
3415
+ className: Ie[`${Ae}__remove`]
3410
3416
  },
3411
3417
  /* @__PURE__ */ e.createElement(
3412
3418
  T,
3413
3419
  {
3414
3420
  "data-dismiss-icon": !0,
3415
- source: he,
3421
+ source: ke,
3416
3422
  size: f,
3417
3423
  customColor: b()
3418
3424
  }
3419
3425
  )
3420
3426
  )
3421
3427
  );
3422
- }, ue = {
3428
+ }, me = {
3423
3429
  "picker-trigger-body": "lc-TriggerBody-module__picker-trigger-body___ZWjX9",
3424
3430
  "picker-trigger-body--single": "lc-TriggerBody-module__picker-trigger-body--single___KNWtO",
3425
3431
  "picker-trigger-body__item-container": "lc-TriggerBody-module__picker-trigger-body__item-container___l2NTQ",
@@ -3435,7 +3441,7 @@ const K = {
3435
3441
  "picker-trigger-body__tag--compact": "lc-TriggerBody-module__picker-trigger-body__tag--compact___X-oAF",
3436
3442
  "picker-trigger-body__tag--medium": "lc-TriggerBody-module__picker-trigger-body__tag--medium___Ptkd5",
3437
3443
  "picker-trigger-body__tag--large": "lc-TriggerBody-module__picker-trigger-body__tag--large___Saoy1"
3438
- }, me = "picker-trigger-body", fo = ({
3444
+ }, pe = "picker-trigger-body", bo = ({
3439
3445
  isOpen: t,
3440
3446
  isSearchDisabled: a,
3441
3447
  isDisabled: r,
@@ -3444,35 +3450,35 @@ const K = {
3444
3450
  type: c,
3445
3451
  clearSearchAfterSelection: l,
3446
3452
  size: n,
3447
- onItemRemove: i,
3448
- onFilter: s
3453
+ onItemRemove: s,
3454
+ onFilter: i
3449
3455
  }) => {
3450
3456
  const d = t && !a, m = e.useRef(null);
3451
3457
  e.useEffect(() => {
3452
- l && (s(""), m.current && (m.current.value = "", m.current.focus()));
3458
+ l && (i(""), m.current && (m.current.value = "", m.current.focus()));
3453
3459
  }, [o, l]);
3454
- const u = (p) => c === "single" && t && !a ? null : p != null && p.customElement ? /* @__PURE__ */ e.createElement("div", { className: ue[`${me}__item`] }, p.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: ue[`${me}__item`] }, p.icon && /* @__PURE__ */ e.createElement(
3460
+ const u = (p) => c === "single" && t && !a ? null : p != null && p.customElement ? /* @__PURE__ */ e.createElement("div", { className: me[`${pe}__item`] }, p.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: me[`${pe}__item`] }, p.icon && /* @__PURE__ */ e.createElement(
3455
3461
  T,
3456
3462
  {
3457
3463
  source: p.icon,
3458
- className: ue[`${me}__item__icon`]
3464
+ className: me[`${pe}__item__icon`]
3459
3465
  }
3460
3466
  ), p.avatarSrc && /* @__PURE__ */ e.createElement(
3461
3467
  "img",
3462
3468
  {
3463
3469
  src: p.avatarSrc,
3464
3470
  alt: "",
3465
- className: ue[`${me}__item__avatar`]
3471
+ className: me[`${pe}__item__avatar`]
3466
3472
  }
3467
- ), /* @__PURE__ */ e.createElement("div", { className: ue[`${me}__item__content`] }, p.name)), v = (p) => {
3468
- s(p.target.value);
3473
+ ), /* @__PURE__ */ e.createElement("div", { className: me[`${pe}__item__content`] }, p.name)), v = (p) => {
3474
+ i(p.target.value);
3469
3475
  }, f = () => /* @__PURE__ */ e.createElement(
3470
3476
  "input",
3471
3477
  {
3472
3478
  ref: m,
3473
3479
  className: g(
3474
- ue[`${me}__input`],
3475
- ue[`${me}__input--${n}`]
3480
+ me[`${pe}__input`],
3481
+ me[`${pe}__input--${n}`]
3476
3482
  ),
3477
3483
  placeholder: "Select option",
3478
3484
  onChange: v,
@@ -3482,30 +3488,30 @@ const K = {
3482
3488
  return !o || o.length === 0 ? d ? f() : /* @__PURE__ */ e.createElement("div", null, _) : /* @__PURE__ */ e.createElement(
3483
3489
  "div",
3484
3490
  {
3485
- className: g(ue[me], {
3486
- [ue[`${me}--single`]]: c === "single"
3491
+ className: g(me[pe], {
3492
+ [me[`${pe}--single`]]: c === "single"
3487
3493
  })
3488
3494
  },
3489
- /* @__PURE__ */ e.createElement("div", { className: ue[`${me}__item-container`] }, c === "single" ? u(o[0]) : o.map((p) => /* @__PURE__ */ e.createElement(
3495
+ /* @__PURE__ */ e.createElement("div", { className: me[`${pe}__item-container`] }, c === "single" ? u(o[0]) : o.map((p) => /* @__PURE__ */ e.createElement(
3490
3496
  ja,
3491
3497
  {
3492
3498
  key: p.name,
3493
3499
  className: g(
3494
- ue[`${me}__tag`],
3495
- ue[`${me}__tag--${n}`]
3500
+ me[`${pe}__tag`],
3501
+ me[`${pe}__tag--${n}`]
3496
3502
  ),
3497
3503
  dismissible: !r,
3498
- onRemove: () => i(p)
3504
+ onRemove: () => s(p)
3499
3505
  },
3500
3506
  u(p)
3501
3507
  ))),
3502
3508
  d && f()
3503
3509
  );
3504
- }, bo = "lc-Picker-module__picker___GRj9W", vo = "lc-Picker-module__picker__container___s0PUc", Pa = {
3505
- picker: bo,
3506
- picker__container: vo
3507
- }, Fa = "picker", qc = (y) => {
3508
- var h = y, {
3510
+ }, vo = "lc-Picker-module__picker___GRj9W", ho = "lc-Picker-module__picker__container___s0PUc", Pa = {
3511
+ picker: vo,
3512
+ picker__container: ho
3513
+ }, Fa = "picker", Jc = (k) => {
3514
+ var h = k, {
3509
3515
  className: t,
3510
3516
  disabled: a,
3511
3517
  error: r,
@@ -3514,8 +3520,8 @@ const K = {
3514
3520
  size: c = "medium",
3515
3521
  placeholder: l = "Select option",
3516
3522
  isRequired: n,
3517
- noSearchResultText: i = "No results found",
3518
- selectAllOptionText: s,
3523
+ noSearchResultText: s = "No results found",
3524
+ selectAllOptionText: i,
3519
3525
  type: d = "single",
3520
3526
  searchDisabled: m = !1,
3521
3527
  hideClearButton: u,
@@ -3540,78 +3546,78 @@ const K = {
3540
3546
  "clearSearchAfterSelection",
3541
3547
  "onSelect"
3542
3548
  ]);
3543
- const [w, S] = e.useState(v), [E, k] = e.useState(null), N = e.useRef(null), C = g(Pa[Fa], t);
3549
+ const [$, x] = e.useState(v), [w, y] = e.useState(null), S = e.useRef(null), C = g(Pa[Fa], t);
3544
3550
  e.useEffect(() => {
3545
- if (w) {
3546
- const F = (M) => {
3547
- var U;
3548
- (U = N.current) != null && U.contains(M.target) || S(!1);
3549
- }, D = (M) => {
3550
- M.key === O.tab && S(!1);
3551
+ if ($) {
3552
+ const R = (L) => {
3553
+ var V;
3554
+ (V = S.current) != null && V.contains(L.target) || x(!1);
3555
+ }, D = (L) => {
3556
+ L.key === z.tab && x(!1);
3551
3557
  };
3552
- return document.addEventListener("mousedown", F), document.addEventListener("keydown", D), () => {
3553
- document.removeEventListener("mousedown", F), document.addEventListener("keydown", D);
3558
+ return document.addEventListener("mousedown", R), document.addEventListener("keydown", D), () => {
3559
+ document.removeEventListener("mousedown", R), document.addEventListener("keydown", D);
3554
3560
  };
3555
3561
  } else
3556
- k(null);
3557
- }, [w]);
3558
- const H = (F) => {
3559
- const D = F.target;
3560
- a || D.getAttribute("data-dismiss-icon") || S((M) => !M);
3561
- }, se = () => {
3562
- S(!1);
3563
- }, re = (F) => {
3562
+ y(null);
3563
+ }, [$]);
3564
+ const G = (R) => {
3565
+ const D = R.target;
3566
+ a || D.getAttribute("data-dismiss-icon") || x((L) => !L);
3567
+ }, F = () => {
3568
+ x(!1);
3569
+ }, H = (R) => {
3564
3570
  if (d === "single")
3565
- return S(!1), p([F]);
3566
- const D = F.key, M = oe;
3567
- if (!M)
3568
- return p([F]);
3569
- const U = M.includes(
3571
+ return x(!1), p([R]);
3572
+ const D = R.key, L = le;
3573
+ if (!L)
3574
+ return p([R]);
3575
+ const V = L.includes(
3570
3576
  D
3571
- ) ? M.filter((Se) => Se !== D) : M.concat(D);
3572
- if ((U == null ? void 0 : U.length) === 0)
3577
+ ) ? L.filter((Be) => Be !== D) : L.concat(D);
3578
+ if ((V == null ? void 0 : V.length) === 0)
3573
3579
  return p(null);
3574
3580
  const ze = _.filter(
3575
- (Se) => U.includes(Se.key)
3581
+ (Be) => V.includes(Be.key)
3576
3582
  );
3577
3583
  p(ze);
3578
- }, xe = (F) => !F.disabled && !F.groupHeader && F.key !== at, Re = () => {
3579
- S(!1);
3580
- const F = ke.filter(xe);
3581
- p(F);
3582
- }, _e = () => {
3583
- S(!1), p(null);
3584
- }, Me = (F) => k(F), Le = (F) => {
3585
- const D = o ? o.filter((M) => M !== F) : null;
3584
+ }, Z = (R) => !R.disabled && !R.groupHeader && R.key !== at, Te = () => {
3585
+ x(!1);
3586
+ const R = $e.filter(Z);
3587
+ p(R);
3588
+ }, ee = () => {
3589
+ x(!1), p(null);
3590
+ }, ye = (R) => y(R), Ee = (R) => {
3591
+ const D = o ? o.filter((L) => L !== R) : null;
3586
3592
  if ((D == null ? void 0 : D.length) === 0)
3587
3593
  return p(null);
3588
3594
  p(D);
3589
- }, ke = e.useMemo(() => E ? _.filter((F) => {
3590
- if (F.groupHeader)
3595
+ }, $e = e.useMemo(() => w ? _.filter((R) => {
3596
+ if (R.groupHeader)
3591
3597
  return !1;
3592
- const D = E.toLowerCase();
3593
- return F.name.toLowerCase().includes(D);
3594
- }) : _, [E, _]), oe = e.useMemo(() => o ? o.map((F) => F.key) : null, [o]);
3595
- return /* @__PURE__ */ e.createElement("div", { ref: N, className: C, id: b.id }, /* @__PURE__ */ e.createElement("div", { className: Pa[`${Fa}__container`] }, /* @__PURE__ */ e.createElement(
3596
- no,
3598
+ const D = w.toLowerCase();
3599
+ return R.name.toLowerCase().includes(D);
3600
+ }) : _, [w, _]), le = e.useMemo(() => o ? o.map((R) => R.key) : null, [o]);
3601
+ return /* @__PURE__ */ e.createElement("div", { ref: S, className: C, id: b.id }, /* @__PURE__ */ e.createElement("div", { className: Pa[`${Fa}__container`] }, /* @__PURE__ */ e.createElement(
3602
+ so,
3597
3603
  {
3598
3604
  testId: b["data-testid"],
3599
3605
  isSearchDisabled: m,
3600
3606
  isError: r,
3601
- isOpen: w,
3607
+ isOpen: $,
3602
3608
  isDisabled: a,
3603
3609
  isItemSelected: !!o,
3604
3610
  isRequired: n,
3605
3611
  isMultiSelect: d === "multi",
3606
3612
  size: c,
3607
3613
  hideClearButton: u,
3608
- onTrigger: H,
3609
- onClear: _e
3614
+ onTrigger: G,
3615
+ onClear: ee
3610
3616
  },
3611
3617
  /* @__PURE__ */ e.createElement(
3612
- fo,
3618
+ bo,
3613
3619
  {
3614
- isOpen: w,
3620
+ isOpen: $,
3615
3621
  isSearchDisabled: m,
3616
3622
  isDisabled: a,
3617
3623
  placeholder: l,
@@ -3619,29 +3625,29 @@ const K = {
3619
3625
  type: d,
3620
3626
  size: c,
3621
3627
  clearSearchAfterSelection: f,
3622
- onItemRemove: Le,
3623
- onFilter: Me
3628
+ onItemRemove: Ee,
3629
+ onFilter: ye
3624
3630
  }
3625
3631
  )
3626
3632
  ), /* @__PURE__ */ e.createElement(
3627
- lo,
3633
+ no,
3628
3634
  {
3629
- selectedItemsKeys: oe,
3630
- items: ke,
3631
- isOpen: w,
3635
+ selectedItemsKeys: le,
3636
+ items: $e,
3637
+ isOpen: $,
3632
3638
  isMultiSelect: d === "multi",
3633
- emptyStateText: i,
3634
- selectAllOptionText: s,
3635
- onClose: se,
3636
- onSelect: re,
3637
- onSelectAll: Re
3639
+ emptyStateText: s,
3640
+ selectAllOptionText: i,
3641
+ onClose: F,
3642
+ onSelect: H,
3643
+ onSelectAll: Te
3638
3644
  }
3639
3645
  )));
3640
- }, ho = "lc-Popover-module__popover___8X1b2", Kt = {
3646
+ }, ko = "lc-Popover-module__popover___8X1b2", Kt = {
3641
3647
  "popover-trigger": "lc-Popover-module__popover-trigger___SwsY-",
3642
- popover: ho,
3648
+ popover: ko,
3643
3649
  "popover--visible": "lc-Popover-module__popover--visible___u5NXB"
3644
- }, Kc = ({
3650
+ }, jc = ({
3645
3651
  triggerRenderer: t,
3646
3652
  onClose: a,
3647
3653
  children: r,
@@ -3650,17 +3656,17 @@ const K = {
3650
3656
  placement: c,
3651
3657
  flipOptions: l,
3652
3658
  isVisible: n = !1,
3653
- closeOnEsc: i = !0
3659
+ closeOnEsc: s = !0
3654
3660
  }) => {
3655
- const [s, d] = e.useState(!1), m = e.useRef(!1), u = typeof r == "string", {
3661
+ const [i, d] = e.useState(!1), m = e.useRef(!1), u = typeof r == "string", {
3656
3662
  x: v,
3657
3663
  y: f,
3658
3664
  reference: p,
3659
3665
  floating: b,
3660
- strategy: y,
3666
+ strategy: k,
3661
3667
  refs: h,
3662
- update: w,
3663
- placement: S
3668
+ update: $,
3669
+ placement: x
3664
3670
  } = wr({
3665
3671
  middleware: [Cr(4), Nr(l)],
3666
3672
  placement: c
@@ -3668,53 +3674,53 @@ const K = {
3668
3674
  e.useEffect(() => {
3669
3675
  d(n);
3670
3676
  }, [n]), e.useEffect(() => {
3671
- a && m.current !== s && !s && a(), m.current = s;
3672
- }, [s]), e.useEffect(() => {
3673
- const C = (H) => {
3674
- i && H.key === "Escape" && d(!1);
3677
+ a && m.current !== i && !i && a(), m.current = i;
3678
+ }, [i]), e.useEffect(() => {
3679
+ const C = (G) => {
3680
+ s && G.key === "Escape" && d(!1);
3675
3681
  };
3676
3682
  return document.addEventListener("keydown", C), () => {
3677
3683
  document.removeEventListener("keydown", C);
3678
3684
  };
3679
- }, [i]), e.useEffect(() => {
3685
+ }, [s]), e.useEffect(() => {
3680
3686
  if (!(!h.reference.current || !h.floating.current))
3681
- return xr(h.reference.current, h.floating.current, w);
3682
- }, [h.reference, h.floating, w, S, s]);
3683
- function E(C) {
3684
- h.floating.current && h.floating.current.contains(C.target) || (h.reference.current && h.reference.current.contains(C.target) ? d((H) => !H) : d(!1));
3687
+ return xr(h.reference.current, h.floating.current, $);
3688
+ }, [h.reference, h.floating, $, x, i]);
3689
+ function w(C) {
3690
+ h.floating.current && h.floating.current.contains(C.target) || (h.reference.current && h.reference.current.contains(C.target) ? d((G) => !G) : d(!1));
3685
3691
  }
3686
- e.useEffect(() => (document.addEventListener("mousedown", E), () => {
3687
- document.removeEventListener("mousedown", E);
3692
+ e.useEffect(() => (document.addEventListener("mousedown", w), () => {
3693
+ document.removeEventListener("mousedown", w);
3688
3694
  }), []);
3689
- const k = g(Kt.popover, _, {
3690
- [Kt["popover--visible"]]: s
3691
- }), N = g(
3695
+ const y = g(Kt.popover, _, {
3696
+ [Kt["popover--visible"]]: i
3697
+ }), S = g(
3692
3698
  Kt["popover-trigger"],
3693
3699
  o
3694
3700
  );
3695
- return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: N, ref: p }, t()), /* @__PURE__ */ e.createElement(
3701
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: S, ref: p }, t()), /* @__PURE__ */ e.createElement(
3696
3702
  "div",
3697
3703
  {
3698
3704
  ref: b,
3699
- className: k,
3705
+ className: y,
3700
3706
  style: {
3701
- position: y,
3707
+ position: k,
3702
3708
  top: f != null ? f : "",
3703
3709
  left: v != null ? v : ""
3704
3710
  }
3705
3711
  },
3706
- u ? /* @__PURE__ */ e.createElement(R, { as: "div" }, r) : r
3712
+ u ? /* @__PURE__ */ e.createElement(M, { as: "div" }, r) : r
3707
3713
  ));
3708
- }, ko = [
3714
+ }, yo = [
3709
3715
  "normal",
3710
3716
  "error",
3711
3717
  "success"
3712
- ], yo = (t) => Math.min(Math.max(t, 0), 100);
3718
+ ], Eo = (t) => Math.min(Math.max(t, 0), 100);
3713
3719
  function Qa(t, a = 0) {
3714
- return t === "error" ? 0 : yo(parseInt(a.toString(), 10));
3720
+ return t === "error" ? 0 : Eo(parseInt(a.toString(), 10));
3715
3721
  }
3716
3722
  function Za(t, a) {
3717
- return !ko.includes(t) && a >= 100 ? "normal" : t || "normal";
3723
+ return !yo.includes(t) && a >= 100 ? "normal" : t || "normal";
3718
3724
  }
3719
3725
  const gt = {
3720
3726
  "progress-circle": "lc-ProgressCircle-module__progress-circle___NRHCi",
@@ -3727,15 +3733,15 @@ const gt = {
3727
3733
  "progress-circle__indicator--normal": "lc-ProgressCircle-module__progress-circle__indicator--normal___0SdkX",
3728
3734
  "progress-circle__indicator--success": "lc-ProgressCircle-module__progress-circle__indicator--success___fLwRR",
3729
3735
  "progress-circle__indicator--error": "lc-ProgressCircle-module__progress-circle__indicator--error___nwJS9"
3730
- }, Eo = {
3736
+ }, $o = {
3731
3737
  small: 2,
3732
3738
  medium: 3,
3733
3739
  large: 4
3734
- }, $o = {
3740
+ }, wo = {
3735
3741
  small: 15,
3736
3742
  medium: 36,
3737
3743
  large: 56
3738
- }, ft = "progress-circle", wo = e.forwardRef(
3744
+ }, ft = "progress-circle", Co = e.forwardRef(
3739
3745
  (l, c) => {
3740
3746
  var n = l, {
3741
3747
  status: t = "normal",
@@ -3748,7 +3754,7 @@ const gt = {
3748
3754
  "className",
3749
3755
  "size"
3750
3756
  ]);
3751
- const i = Za(t, a), s = Qa(i, a), d = Eo[_], m = $o[_], u = g(
3757
+ const s = Za(t, a), i = Qa(s, a), d = $o[_], m = wo[_], u = g(
3752
3758
  gt[ft],
3753
3759
  {
3754
3760
  [gt[`${ft}--${_}`]]: _,
@@ -3757,11 +3763,11 @@ const gt = {
3757
3763
  r
3758
3764
  ), v = 2 * Math.PI * ((m - d) / 2), f = {
3759
3765
  strokeDasharray: v.toFixed(3),
3760
- strokeDashoffset: `${((100 - s) / 100 * v).toFixed(3)}px`
3766
+ strokeDashoffset: `${((100 - i) / 100 * v).toFixed(3)}px`
3761
3767
  }, p = `${m / 2} ${m / 2} ${m} ${m}`;
3762
3768
  return /* @__PURE__ */ e.createElement(
3763
3769
  "div",
3764
- $({
3770
+ E({
3765
3771
  className: u,
3766
3772
  ref: c,
3767
3773
  role: "progressbar"
@@ -3800,7 +3806,7 @@ const gt = {
3800
3806
  "progress-bar--normal": "lc-ProgressBar-module__progress-bar--normal___ZwCb-",
3801
3807
  "progress-bar__indicator--success": "lc-ProgressBar-module__progress-bar__indicator--success___wRjR3",
3802
3808
  "progress-bar__indicator--normal": "lc-ProgressBar-module__progress-bar__indicator--normal___0Uhle"
3803
- }, Pt = "progress-bar", Co = e.forwardRef(
3809
+ }, Pt = "progress-bar", No = e.forwardRef(
3804
3810
  (l, c) => {
3805
3811
  var n = l, {
3806
3812
  status: t = "normal",
@@ -3813,7 +3819,7 @@ const gt = {
3813
3819
  "size",
3814
3820
  "className"
3815
3821
  ]);
3816
- const i = Za(t, a), s = Qa(i, a), d = g(
3822
+ const s = Za(t, a), i = Qa(s, a), d = g(
3817
3823
  At[Pt],
3818
3824
  {
3819
3825
  [At[`${Pt}--${r}`]]: r,
@@ -3823,7 +3829,7 @@ const gt = {
3823
3829
  );
3824
3830
  return /* @__PURE__ */ e.createElement(
3825
3831
  "div",
3826
- A($({}, o), {
3832
+ I(E({}, o), {
3827
3833
  className: d,
3828
3834
  ref: c,
3829
3835
  role: "progressbar"
@@ -3832,12 +3838,12 @@ const gt = {
3832
3838
  "div",
3833
3839
  {
3834
3840
  className: At[`${Pt}__indicator--${t}`],
3835
- style: { width: `${s}%` }
3841
+ style: { width: `${i}%` }
3836
3842
  }
3837
3843
  )
3838
3844
  );
3839
3845
  }
3840
- ), ge = {
3846
+ ), fe = {
3841
3847
  "promo-banner": "lc-PromoBanner-module__promo-banner___-mGpq",
3842
3848
  "promo-banner__content": "lc-PromoBanner-module__promo-banner__content___kRWar",
3843
3849
  "promo-banner__wrapper": "lc-PromoBanner-module__promo-banner__wrapper___I-8cl",
@@ -3849,7 +3855,7 @@ const gt = {
3849
3855
  "promo-banner--small": "lc-PromoBanner-module__promo-banner--small___7sWLV",
3850
3856
  "promo-banner--large": "lc-PromoBanner-module__promo-banner--large___pMiCU",
3851
3857
  "promo-banner__close-icon": "lc-PromoBanner-module__promo-banner__close-icon___GowBL"
3852
- }, No = 400, xo = 800, So = 500, fe = "promo-banner", Jc = ({
3858
+ }, xo = 400, So = 800, Do = 500, be = "promo-banner", Qc = ({
3853
3859
  className: t,
3854
3860
  buttonText: a,
3855
3861
  children: r,
@@ -3858,45 +3864,45 @@ const gt = {
3858
3864
  light: c = !1,
3859
3865
  linkText: l,
3860
3866
  onButtonClick: n,
3861
- onClose: i,
3862
- onLinkClick: s
3867
+ onClose: s,
3868
+ onLinkClick: i
3863
3869
  }) => {
3864
3870
  const d = e.useRef(null), [m, u] = e.useState("medium"), v = g(
3865
- ge[fe],
3871
+ fe[be],
3866
3872
  {
3867
- [ge[`${fe}--light`]]: c,
3868
- [ge[`${fe}--small`]]: m === "small",
3869
- [ge[`${fe}--large`]]: m === "large"
3873
+ [fe[`${be}--light`]]: c,
3874
+ [fe[`${be}--small`]]: m === "small",
3875
+ [fe[`${be}--large`]]: m === "large"
3870
3876
  },
3871
3877
  t
3872
3878
  );
3873
3879
  e.useEffect(() => {
3874
- const p = () => d.current && d.current.offsetWidth <= No ? u("small") : d.current && d.current.offsetWidth >= xo ? u("large") : u("medium"), b = Ua(
3880
+ const p = () => d.current && d.current.offsetWidth <= xo ? u("small") : d.current && d.current.offsetWidth >= So ? u("large") : u("medium"), b = Ua(
3875
3881
  p,
3876
- So
3882
+ Do
3877
3883
  );
3878
3884
  return window.addEventListener("resize", b), p(), () => {
3879
3885
  b.cancel(), window.removeEventListener("resize", p);
3880
3886
  };
3881
3887
  }, []);
3882
- const f = /* @__PURE__ */ e.createElement("div", { className: ge[`${fe}__footer`] }, a && /* @__PURE__ */ e.createElement(
3883
- z,
3888
+ const f = /* @__PURE__ */ e.createElement("div", { className: fe[`${be}__footer`] }, a && /* @__PURE__ */ e.createElement(
3889
+ U,
3884
3890
  {
3885
3891
  kind: "primary",
3886
3892
  size: "compact",
3887
3893
  onClick: n,
3888
- className: ge[`${fe}__button-text`]
3894
+ className: fe[`${be}__button-text`]
3889
3895
  },
3890
3896
  a
3891
- ), l && /* @__PURE__ */ e.createElement(z, { size: "compact", kind: "text", onClick: s }, l));
3892
- return /* @__PURE__ */ e.createElement("div", { ref: d, className: v }, /* @__PURE__ */ e.createElement("div", { className: ge[`${fe}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: ge[`${fe}__img`] }), /* @__PURE__ */ e.createElement("div", { className: ge[`${fe}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: ge[`${fe}__header`] }, _), /* @__PURE__ */ e.createElement(R, { as: "div" }, r), m !== "large" && f), m === "large" && f), i && /* @__PURE__ */ e.createElement(
3897
+ ), l && /* @__PURE__ */ e.createElement(U, { size: "compact", kind: "text", onClick: i }, l));
3898
+ return /* @__PURE__ */ e.createElement("div", { ref: d, className: v }, /* @__PURE__ */ e.createElement("div", { className: fe[`${be}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: fe[`${be}__img`] }), /* @__PURE__ */ e.createElement("div", { className: fe[`${be}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: fe[`${be}__header`] }, _), /* @__PURE__ */ e.createElement(M, { as: "div" }, r), m !== "large" && f), m === "large" && f), s && /* @__PURE__ */ e.createElement(
3893
3899
  "button",
3894
3900
  {
3895
3901
  type: "button",
3896
- className: ge[`${fe}__close-icon`],
3897
- onClick: i
3902
+ className: fe[`${be}__close-icon`],
3903
+ onClick: s
3898
3904
  },
3899
- /* @__PURE__ */ e.createElement(T, { source: he, size: "large", kind: "primary" })
3905
+ /* @__PURE__ */ e.createElement(T, { source: ke, size: "large", kind: "primary" })
3900
3906
  ));
3901
3907
  }, Oe = {
3902
3908
  "main-wrapper": "lc-PromoBannerV2-module__main-wrapper___U-dPS",
@@ -3907,7 +3913,7 @@ const gt = {
3907
3913
  "promo-banner-v2__additional-content": "lc-PromoBannerV2-module__promo-banner-v2__additional-content___LpU9B",
3908
3914
  "promo-banner-v2__close": "lc-PromoBannerV2-module__promo-banner-v2__close___rOh-U",
3909
3915
  "promo-banner-v2__close__btn": "lc-PromoBannerV2-module__promo-banner-v2__close__btn___5AZQC"
3910
- }, We = "promo-banner-v2", jc = ({
3916
+ }, Ve = "promo-banner-v2", Zc = ({
3911
3917
  children: t,
3912
3918
  className: a,
3913
3919
  additionalContent: r,
@@ -3915,33 +3921,33 @@ const gt = {
3915
3921
  secondaryButton: o,
3916
3922
  onClose: c
3917
3923
  }) => {
3918
- const l = g(Oe[We], a);
3919
- return /* @__PURE__ */ e.createElement("div", { className: Oe["main-wrapper"] }, /* @__PURE__ */ e.createElement("div", { role: "banner", className: l }, /* @__PURE__ */ e.createElement("div", { className: Oe[`${We}__content`] }, t, (_ || o) && /* @__PURE__ */ e.createElement("div", { className: Oe[`${We}__content__cta`] }, _ && /* @__PURE__ */ e.createElement(
3920
- z,
3924
+ const l = g(Oe["main-wrapper"], a);
3925
+ return /* @__PURE__ */ e.createElement("div", { role: "banner", className: l }, /* @__PURE__ */ e.createElement("div", { className: Oe[Ve] }, /* @__PURE__ */ e.createElement("div", { className: Oe[`${Ve}__content`] }, t, (_ || o) && /* @__PURE__ */ e.createElement("div", { className: Oe[`${Ve}__content__cta`] }, _ && /* @__PURE__ */ e.createElement(
3926
+ U,
3921
3927
  {
3922
3928
  kind: (_ == null ? void 0 : _.kind) || "high-contrast",
3923
3929
  onClick: _.handleClick
3924
3930
  },
3925
3931
  _.label
3926
3932
  ), o && /* @__PURE__ */ e.createElement(
3927
- z,
3933
+ U,
3928
3934
  {
3929
3935
  kind: (o == null ? void 0 : o.kind) || "text",
3930
3936
  onClick: o.handleClick,
3931
- className: Oe[`${We}__content__cta__secondary`]
3937
+ className: Oe[`${Ve}__content__cta__secondary`]
3932
3938
  },
3933
3939
  o.label
3934
- ))), r && /* @__PURE__ */ e.createElement("div", { className: Oe[`${We}__additional-content`] }, r), c && /* @__PURE__ */ e.createElement("div", { className: Oe[`${We}__close`] }, /* @__PURE__ */ e.createElement(
3935
- z,
3940
+ ))), r && /* @__PURE__ */ e.createElement("div", { className: Oe[`${Ve}__additional-content`] }, r), c && /* @__PURE__ */ e.createElement("div", { className: Oe[`${Ve}__close`] }, /* @__PURE__ */ e.createElement(
3941
+ U,
3936
3942
  {
3937
- className: Oe[`${We}__close__btn`],
3943
+ className: Oe[`${Ve}__close__btn`],
3938
3944
  onClick: c,
3939
- icon: /* @__PURE__ */ e.createElement(T, { source: he, kind: "primary" }),
3945
+ icon: /* @__PURE__ */ e.createElement(T, { source: ke, kind: "primary" }),
3940
3946
  kind: "plain",
3941
3947
  size: "compact"
3942
3948
  }
3943
3949
  ))));
3944
- }, Be = {
3950
+ }, Pe = {
3945
3951
  "radio-button": "lc-RadioButton-module__radio-button___WaToM",
3946
3952
  "radio-button__circle": "lc-RadioButton-module__radio-button__circle___wimWA",
3947
3953
  "radio-button__label": "lc-RadioButton-module__radio-button__label___i7ygg",
@@ -3951,25 +3957,25 @@ const gt = {
3951
3957
  "radio-button__helper": "lc-RadioButton-module__radio-button__helper___r8gJJ",
3952
3958
  "radio-button--selected": "lc-RadioButton-module__radio-button--selected___s9lqj",
3953
3959
  "radio-button--disabled": "lc-RadioButton-module__radio-button--disabled___wHSA7"
3954
- }, Ie = "radio-button", Qc = e.forwardRef(
3960
+ }, Fe = "radio-button", Xc = e.forwardRef(
3955
3961
  (n, l) => {
3956
- var i = n, { children: t, className: a = "", description: r, checked: _, disabled: o } = i, c = P(i, ["children", "className", "description", "checked", "disabled"]);
3957
- const s = g(Be[Ie], a, {
3958
- [Be[`${Ie}--selected`]]: _,
3959
- [Be[`${Ie}--disabled`]]: o
3962
+ var s = n, { children: t, className: a = "", description: r, checked: _, disabled: o } = s, c = P(s, ["children", "className", "description", "checked", "disabled"]);
3963
+ const i = g(Pe[Fe], a, {
3964
+ [Pe[`${Fe}--selected`]]: _,
3965
+ [Pe[`${Fe}--disabled`]]: o
3960
3966
  });
3961
- return /* @__PURE__ */ e.createElement("div", { className: s }, /* @__PURE__ */ e.createElement("label", { className: Be[`${Ie}__label`] }, /* @__PURE__ */ e.createElement("div", { className: Be[`${Ie}__circle`] }, /* @__PURE__ */ e.createElement("span", { className: Be[`${Ie}__inner-circle`] }), /* @__PURE__ */ e.createElement(
3967
+ 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
3968
  "input",
3963
- A($({}, c), {
3964
- className: Be[`${Ie}__input`],
3969
+ I(E({}, c), {
3970
+ className: Pe[`${Fe}__input`],
3965
3971
  ref: l,
3966
3972
  type: "radio",
3967
3973
  checked: _,
3968
3974
  disabled: o
3969
3975
  })
3970
- )), t && /* @__PURE__ */ e.createElement(R, { as: "div", size: "md", className: Be[`${Ie}__text`] }, t)), r && /* @__PURE__ */ e.createElement(Ht, { className: Be[`${Ie}__helper`] }, r));
3976
+ )), t && /* @__PURE__ */ e.createElement(M, { as: "div", size: "md", className: Pe[`${Fe}__text`] }, t)), r && /* @__PURE__ */ e.createElement(Ht, { className: Pe[`${Fe}__helper`] }, r));
3971
3977
  }
3972
- ), we = {
3978
+ ), xe = {
3973
3979
  "search-input": "lc-Search-module__search-input___FsbCk",
3974
3980
  "search-input--compact": "lc-Search-module__search-input--compact___498To",
3975
3981
  "search-input--medium": "lc-Search-module__search-input--medium___Hwteg",
@@ -3982,7 +3988,7 @@ const gt = {
3982
3988
  "search-input__clear-icon": "lc-Search-module__search-input__clear-icon___LoNkc",
3983
3989
  "search-input__loader": "lc-Search-module__search-input__loader___pkpIG",
3984
3990
  "search-input__input": "lc-Search-module__search-input__input___OhyTr"
3985
- }, ve = "search-input", Do = `${ve}__input`, Zc = ({
3991
+ }, he = "search-input", To = `${he}__input`, el = ({
3986
3992
  isCollapsable: t,
3987
3993
  isDisabled: a,
3988
3994
  isLoading: r,
@@ -3992,32 +3998,32 @@ const gt = {
3992
3998
  className: l,
3993
3999
  onChange: n
3994
4000
  }) => {
3995
- const [i, s] = e.useState(!0), [d, m] = e.useState(!1), u = e.useRef(null), v = !!c && !a && !r, f = t && !i && "true", p = g(
4001
+ const [s, i] = e.useState(!0), [d, m] = e.useState(!1), u = e.useRef(null), v = !!c && !a && !r, f = t && !s && "true", p = g(
3996
4002
  l,
3997
- we[ve],
3998
- we[`${ve}--${o}`],
3999
- d && we[`${ve}--focused`],
4000
- a && we[`${ve}--disabled`],
4001
- t && we[`${ve}--collapsable`],
4002
- !i && we[`${ve}--collapsable--open`]
4003
+ xe[he],
4004
+ xe[`${he}--${o}`],
4005
+ d && xe[`${he}--focused`],
4006
+ a && xe[`${he}--disabled`],
4007
+ t && xe[`${he}--collapsable`],
4008
+ !s && xe[`${he}--collapsable--open`]
4003
4009
  );
4004
4010
  e.useEffect(() => {
4005
- t && c && s(!1);
4011
+ t && c && i(!1);
4006
4012
  }, [t]);
4007
- const b = (k) => {
4008
- const N = k.currentTarget.value;
4009
- n(N);
4010
- }, y = () => {
4013
+ const b = (y) => {
4014
+ const S = y.currentTarget.value;
4015
+ n(S);
4016
+ }, k = () => {
4011
4017
  n("");
4012
4018
  }, h = () => {
4013
- var k;
4014
- (k = u.current) == null || k.focus();
4015
- }, w = () => {
4016
- t && s(!1), m(!0);
4017
- }, S = () => {
4018
- t && !c && s(!0), m(!1);
4019
- }, E = (k) => {
4020
- k.key === O.enter && (k.preventDefault(), n(c));
4019
+ var y;
4020
+ (y = u.current) == null || y.focus();
4021
+ }, $ = () => {
4022
+ t && i(!1), m(!0);
4023
+ }, x = () => {
4024
+ t && !c && i(!0), m(!1);
4025
+ }, w = (y) => {
4026
+ y.key === z.enter && (y.preventDefault(), n(c));
4021
4027
  };
4022
4028
  return /* @__PURE__ */ e.createElement(
4023
4029
  "div",
@@ -4030,7 +4036,7 @@ const gt = {
4030
4036
  /* @__PURE__ */ e.createElement(
4031
4037
  T,
4032
4038
  {
4033
- className: we[`${ve}__search-icon`],
4039
+ className: xe[`${he}__search-icon`],
4034
4040
  source: ur,
4035
4041
  disabled: a,
4036
4042
  kind: "primary"
@@ -4041,25 +4047,25 @@ const gt = {
4041
4047
  {
4042
4048
  role: "searchbox",
4043
4049
  ref: u,
4044
- className: we[Do],
4050
+ className: xe[To],
4045
4051
  type: "text",
4046
4052
  value: c,
4047
4053
  placeholder: _,
4048
4054
  onChange: b,
4049
- onBlur: S,
4050
- onFocus: w,
4051
- onKeyDown: E,
4055
+ onBlur: x,
4056
+ onFocus: $,
4057
+ onKeyDown: w,
4052
4058
  disabled: a
4053
4059
  }
4054
4060
  ),
4055
4061
  v && /* @__PURE__ */ e.createElement(
4056
- z,
4062
+ U,
4057
4063
  {
4058
4064
  "aria-label": "Clear search",
4059
4065
  title: "Clear search",
4060
- className: we[`${ve}__clear-icon`],
4061
- onClick: y,
4062
- icon: /* @__PURE__ */ e.createElement(T, { source: he, kind: "primary" }),
4066
+ className: xe[`${he}__clear-icon`],
4067
+ onClick: k,
4068
+ icon: /* @__PURE__ */ e.createElement(T, { source: ke, kind: "primary" }),
4063
4069
  kind: "text",
4064
4070
  size: "compact"
4065
4071
  }
@@ -4067,13 +4073,13 @@ const gt = {
4067
4073
  r && /* @__PURE__ */ e.createElement(
4068
4074
  "div",
4069
4075
  {
4070
- "data-testid": `${ve}-loader`,
4071
- className: we[`${ve}__loader`]
4076
+ "data-testid": `${he}-loader`,
4077
+ className: xe[`${he}__loader`]
4072
4078
  },
4073
4079
  /* @__PURE__ */ e.createElement(sa, { size: "small" })
4074
4080
  )
4075
4081
  );
4076
- }, To = "lc-Switch-module__switch__input___NiiOR", Bo = "lc-Switch-module__switch__container___79F7W", Io = "lc-Switch-module__switch__track___2wr2M", Ao = "lc-Switch-module__switch__slider___WHd--", Po = "lc-Switch-module__switch__loader___FE-fA", Fo = "lc-Switch-module__switch__icon___-O1qY", te = {
4082
+ }, Bo = "lc-Switch-module__switch__input___NiiOR", Io = "lc-Switch-module__switch__container___79F7W", Ao = "lc-Switch-module__switch__track___2wr2M", Po = "lc-Switch-module__switch__slider___WHd--", Fo = "lc-Switch-module__switch__loader___FE-fA", Ro = "lc-Switch-module__switch__icon___-O1qY", oe = {
4077
4083
  switch: "lc-Switch-module__switch___AaA2k",
4078
4084
  "switch__track--enabled": "lc-Switch-module__switch__track--enabled___sy4Xl",
4079
4085
  "switch__track--on": "lc-Switch-module__switch__track--on___aOMWe",
@@ -4081,12 +4087,12 @@ const gt = {
4081
4087
  "switch--large": "lc-Switch-module__switch--large___pSoJ7",
4082
4088
  "switch--compact": "lc-Switch-module__switch--compact___OGFIX",
4083
4089
  "switch--medium": "lc-Switch-module__switch--medium___EcZwT",
4084
- switch__input: To,
4090
+ switch__input: Bo,
4085
4091
  "switch__input--disabled": "lc-Switch-module__switch__input--disabled___Po8gh",
4086
- switch__container: Bo,
4087
- switch__track: Io,
4092
+ switch__container: Io,
4093
+ switch__track: Ao,
4088
4094
  "switch__track--disabled": "lc-Switch-module__switch__track--disabled___HkDhl",
4089
- switch__slider: Ao,
4095
+ switch__slider: Po,
4090
4096
  "switch__slider--large": "lc-Switch-module__switch__slider--large___WoEgi",
4091
4097
  "switch__slider--large--on": "lc-Switch-module__switch__slider--large--on___7Qp3G",
4092
4098
  "switch__slider--large--off": "lc-Switch-module__switch__slider--large--off___iRMmD",
@@ -4096,23 +4102,23 @@ const gt = {
4096
4102
  "switch__slider--medium": "lc-Switch-module__switch__slider--medium___uhptz",
4097
4103
  "switch__slider--medium--on": "lc-Switch-module__switch__slider--medium--on___SfeAV",
4098
4104
  "switch__slider--medium--off": "lc-Switch-module__switch__slider--medium--off___eXJJz",
4099
- switch__loader: Po,
4105
+ switch__loader: Fo,
4100
4106
  "switch__loader--compact": "lc-Switch-module__switch__loader--compact___3imUh",
4101
4107
  "switch__loader--medium": "lc-Switch-module__switch__loader--medium___2zi05",
4102
4108
  "switch__loader--large": "lc-Switch-module__switch__loader--large___vLRFa",
4103
- switch__icon: Fo
4104
- }, X = "switch", Xc = (m) => {
4109
+ switch__icon: Ro
4110
+ }, re = "switch", tl = (m) => {
4105
4111
  var u = m, {
4106
4112
  className: t = "",
4107
4113
  defaultOn: a = !1,
4108
4114
  disabled: r = !1,
4109
- name: _ = X,
4115
+ name: _ = re,
4110
4116
  on: o,
4111
4117
  onChange: c,
4112
4118
  size: l = "large",
4113
4119
  state: n = "regular",
4114
- innerRef: i,
4115
- ariaLabel: s
4120
+ innerRef: s,
4121
+ ariaLabel: i
4116
4122
  } = u, d = P(u, [
4117
4123
  "className",
4118
4124
  "defaultOn",
@@ -4127,84 +4133,84 @@ const gt = {
4127
4133
  ]);
4128
4134
  const v = o !== void 0, [f, p] = e.useState(
4129
4135
  () => v ? o : a
4130
- ), b = v ? o : f, y = n === "loading", h = n === "locked", w = l === "large" ? "small" : "xsmall", S = b ? "on" : "off", E = r || y || h, k = E ? "disabled" : "enabled", N = g(
4131
- te[X],
4132
- te[`${X}--${l}`],
4136
+ ), b = v ? o : f, k = n === "loading", h = n === "locked", $ = l === "large" ? "small" : "xsmall", x = b ? "on" : "off", w = r || k || h, y = w ? "disabled" : "enabled", S = g(
4137
+ oe[re],
4138
+ oe[`${re}--${l}`],
4133
4139
  t
4134
- ), C = (H) => {
4135
- c == null || c(H, !b), v || (H.stopPropagation(), p((se) => !se));
4140
+ ), C = (G) => {
4141
+ c == null || c(G, !b), v || (G.stopPropagation(), p((F) => !F));
4136
4142
  };
4137
- return /* @__PURE__ */ e.createElement("span", { className: N }, /* @__PURE__ */ e.createElement(
4143
+ return /* @__PURE__ */ e.createElement("span", { className: S }, /* @__PURE__ */ e.createElement(
4138
4144
  "input",
4139
- $({
4145
+ E({
4140
4146
  type: "checkbox",
4141
4147
  className: g(
4142
- te[`${X}__input`],
4143
- te[`${X}__input--${k}`]
4148
+ oe[`${re}__input`],
4149
+ oe[`${re}__input--${y}`]
4144
4150
  ),
4145
4151
  onChange: C,
4146
4152
  checked: b,
4147
4153
  name: _,
4148
- ref: i,
4149
- disabled: E,
4150
- "aria-label": s
4154
+ ref: s,
4155
+ disabled: w,
4156
+ "aria-label": i
4151
4157
  }, d)
4152
- ), /* @__PURE__ */ e.createElement("span", { className: te[`${X}__container`] }, /* @__PURE__ */ e.createElement(
4158
+ ), /* @__PURE__ */ e.createElement("span", { className: oe[`${re}__container`] }, /* @__PURE__ */ e.createElement(
4153
4159
  "span",
4154
4160
  {
4155
4161
  className: g(
4156
- te[`${X}__track`],
4157
- te[`${X}__track--${S}`],
4158
- te[`${X}__track--${k}`]
4162
+ oe[`${re}__track`],
4163
+ oe[`${re}__track--${x}`],
4164
+ oe[`${re}__track--${y}`]
4159
4165
  )
4160
4166
  }
4161
4167
  ), /* @__PURE__ */ e.createElement(
4162
4168
  "span",
4163
4169
  {
4164
4170
  className: g(
4165
- te[`${X}__slider`],
4166
- te[`${X}__slider--${l}`],
4167
- te[`${X}__slider--${l}--${S}`]
4171
+ oe[`${re}__slider`],
4172
+ oe[`${re}__slider--${l}`],
4173
+ oe[`${re}__slider--${l}--${x}`]
4168
4174
  )
4169
4175
  },
4170
- y && /* @__PURE__ */ e.createElement(
4176
+ k && /* @__PURE__ */ e.createElement(
4171
4177
  sa,
4172
4178
  {
4173
4179
  className: g(
4174
- te[`${X}__loader`],
4175
- te[`${X}__loader--${l}`]
4180
+ oe[`${re}__loader`],
4181
+ oe[`${re}__loader--${l}`]
4176
4182
  )
4177
4183
  }
4178
4184
  ),
4179
4185
  h && /* @__PURE__ */ e.createElement(
4180
4186
  T,
4181
4187
  {
4182
- className: te[`${X}__icon`],
4188
+ className: oe[`${re}__icon`],
4183
4189
  "data-testid": "lock-icon",
4184
- size: w,
4190
+ size: $,
4185
4191
  source: mr,
4186
4192
  kind: "primary"
4187
4193
  }
4188
4194
  )
4189
4195
  )));
4190
- }, Ro = "lc-Tab-module__tab___fME7u", Mo = "lc-Tab-module__tab__count___gc8tA", Lo = "lc-Tab-module__tab__badge___W9c-T", et = {
4191
- tab: Ro,
4192
- tab__count: Mo,
4196
+ }, Mo = "lc-Tab-module__tab___fME7u", Lo = "lc-Tab-module__tab__count___gc8tA", Oo = "lc-Tab-module__tab__badge___W9c-T", et = {
4197
+ tab: Mo,
4198
+ tab__count: Lo,
4193
4199
  "tab--compact": "lc-Tab-module__tab--compact___4qead",
4194
4200
  "tab--medium": "lc-Tab-module__tab--medium___bHnGV",
4195
4201
  "tab--large": "lc-Tab-module__tab--large___JL30g",
4196
- tab__badge: Lo,
4202
+ tab__badge: Oo,
4197
4203
  "tab--selected": "lc-Tab-module__tab--selected___c0EkL",
4198
4204
  "tab--disabled": "lc-Tab-module__tab--disabled___URdTh"
4199
- }, tt = "tab", el = (n) => {
4200
- var i = n, {
4205
+ }, tt = "tab", al = (n) => {
4206
+ var s = n, {
4201
4207
  children: t,
4202
4208
  className: a,
4203
4209
  count: r,
4204
4210
  isSelected: _,
4205
4211
  asBadge: o,
4206
4212
  size: c = "medium"
4207
- } = i, l = P(i, [
4213
+ } = s, l = P(s, [
4208
4214
  "children",
4209
4215
  "className",
4210
4216
  "count",
@@ -4212,10 +4218,10 @@ const gt = {
4212
4218
  "asBadge",
4213
4219
  "size"
4214
4220
  ]);
4215
- const { disabled: s } = l, d = r !== void 0 && !o, m = r !== void 0 && o;
4221
+ const { disabled: i } = l, d = r !== void 0 && !o, m = r !== void 0 && o;
4216
4222
  return /* @__PURE__ */ e.createElement(
4217
- R,
4218
- A($({}, l), {
4223
+ M,
4224
+ I(E({}, l), {
4219
4225
  as: l.href ? "a" : "button",
4220
4226
  size: "md",
4221
4227
  bold: _,
@@ -4224,13 +4230,13 @@ const gt = {
4224
4230
  et[tt],
4225
4231
  et[`${tt}--${c}`],
4226
4232
  _ && et[`${tt}--selected`],
4227
- s && et[`${tt}--disabled`]
4233
+ i && et[`${tt}--disabled`]
4228
4234
  )
4229
4235
  }),
4230
4236
  t,
4231
- d && /* @__PURE__ */ e.createElement(R, { as: "span", size: "md", className: et[`${tt}__count`] }, "(", r, ")"),
4237
+ d && /* @__PURE__ */ e.createElement(M, { as: "span", size: "md", className: et[`${tt}__count`] }, "(", r, ")"),
4232
4238
  m && /* @__PURE__ */ e.createElement(
4233
- p_,
4239
+ g_,
4234
4240
  {
4235
4241
  "data-testid": "tab-badge",
4236
4242
  count: r,
@@ -4239,16 +4245,16 @@ const gt = {
4239
4245
  }
4240
4246
  )
4241
4247
  );
4242
- }, Oo = "lc-TabsWrapper-module__tabs___Y2xyD", Ho = "lc-TabsWrapper-module__tabs__list___i6tVO", Xa = {
4243
- tabs: Oo,
4244
- tabs__list: Ho
4245
- }, er = "tabs", tl = ({
4248
+ }, Ho = "lc-TabsWrapper-module__tabs___Y2xyD", zo = "lc-TabsWrapper-module__tabs__list___i6tVO", Xa = {
4249
+ tabs: Ho,
4250
+ tabs__list: zo
4251
+ }, er = "tabs", rl = ({
4246
4252
  className: t,
4247
4253
  children: a
4248
- }) => /* @__PURE__ */ e.createElement("div", { className: g(Xa[er], t) }, a), al = ({
4254
+ }) => /* @__PURE__ */ e.createElement("div", { className: g(Xa[er], t) }, a), _l = ({
4249
4255
  className: t,
4250
4256
  children: a
4251
- }) => /* @__PURE__ */ e.createElement("div", { className: g(Xa[`${er}__list`], t) }, a), zo = ({
4257
+ }) => /* @__PURE__ */ e.createElement("div", { className: g(Xa[`${er}__list`], t) }, a), Go = ({
4252
4258
  className: t = "",
4253
4259
  innerEditableRef: a,
4254
4260
  inputRef: r,
@@ -4256,19 +4262,19 @@ const gt = {
4256
4262
  remove: o,
4257
4263
  value: c
4258
4264
  }) => {
4259
- const [l, n] = e.useState(!1), i = () => a.current, s = () => {
4260
- const f = i();
4265
+ const [l, n] = e.useState(!1), s = () => a.current, i = () => {
4266
+ const f = s();
4261
4267
  return f ? f.innerText : "";
4262
4268
  }, d = () => {
4263
4269
  r && r.current && r.current.focus();
4264
4270
  }, m = (f) => {
4265
- if (f.key === O.enter) {
4271
+ if (f.key === z.enter) {
4266
4272
  f.preventDefault(), d();
4267
4273
  return;
4268
4274
  }
4269
- f.key === O.backspace && s() === "" && (n(!0), o(), d());
4275
+ f.key === z.backspace && i() === "" && (n(!0), o(), d());
4270
4276
  }, u = () => {
4271
- const f = i();
4277
+ const f = s();
4272
4278
  if (!(l || !f)) {
4273
4279
  if (f.innerText === "") {
4274
4280
  o();
@@ -4300,7 +4306,7 @@ const gt = {
4300
4306
  "tag-input__input--medium": "lc-TagInput-module__tag-input__input--medium___DYF7X",
4301
4307
  "tag-input__input--large": "lc-TagInput-module__tag-input__input--large___G6iEO",
4302
4308
  "tag-input__tag__content": "lc-TagInput-module__tag-input__tag__content___x95-M"
4303
- }, Go = "tag-input__tag", Uo = ({
4309
+ }, Uo = "tag-input__tag", Wo = ({
4304
4310
  children: t,
4305
4311
  index: a,
4306
4312
  remove: r,
@@ -4309,131 +4315,157 @@ const gt = {
4309
4315
  update: c,
4310
4316
  size: l
4311
4317
  }) => {
4312
- const n = e.useMemo(() => _ !== void 0 ? _(t) : !0, [t, _]), i = e.useRef(null), s = () => r(a);
4318
+ const n = e.useMemo(() => _ !== void 0 ? _(t) : !0, [t, _]), s = e.useRef(null), i = () => r(a);
4313
4319
  return /* @__PURE__ */ e.createElement(
4314
4320
  ja,
4315
4321
  {
4316
4322
  kind: n ? "default" : "error",
4317
4323
  dismissible: !0,
4318
4324
  size: l,
4319
- onRemove: s
4325
+ onRemove: i
4320
4326
  },
4321
4327
  /* @__PURE__ */ e.createElement(
4322
- zo,
4328
+ Go,
4323
4329
  {
4324
4330
  value: t,
4325
4331
  inputRef: o,
4326
- innerEditableRef: i,
4327
- className: ht[`${Go}__content`],
4332
+ innerEditableRef: s,
4333
+ className: ht[`${Uo}__content`],
4328
4334
  change: (d) => c(a, d),
4329
- remove: s,
4335
+ remove: i,
4330
4336
  validator: _
4331
4337
  }
4332
4338
  )
4333
4339
  );
4334
4340
  }, Ft = "tag-input", Vo = [
4335
- O.enter,
4336
- O.spacebar,
4337
- O.tab,
4338
- O.semicolon,
4339
- O.comma
4340
- ], Wo = [O.backspace, O.delete], Yo = (i) => {
4341
- var s = i, {
4341
+ z.enter,
4342
+ z.spacebar,
4343
+ z.tab,
4344
+ z.semicolon,
4345
+ z.comma
4346
+ ], Yo = [z.backspace, z.delete], qo = (u) => {
4347
+ var v = u, {
4342
4348
  id: t,
4343
4349
  tags: a,
4344
4350
  onChange: r,
4345
4351
  validator: _,
4346
4352
  error: o,
4347
4353
  placeholder: c,
4348
- size: l = "medium"
4349
- } = s, n = P(s, [
4354
+ size: l = "medium",
4355
+ className: n,
4356
+ inputClassName: s,
4357
+ onBlur: i,
4358
+ addOnBlur: d = !0
4359
+ } = v, m = P(v, [
4350
4360
  "id",
4351
4361
  "tags",
4352
4362
  "onChange",
4353
4363
  "validator",
4354
4364
  "error",
4355
4365
  "placeholder",
4356
- "size"
4366
+ "size",
4367
+ "className",
4368
+ "inputClassName",
4369
+ "onBlur",
4370
+ "addOnBlur"
4357
4371
  ]);
4358
- const d = g(ht[Ft], {
4359
- [ht[`${Ft}--error`]]: o
4360
- }), m = g(
4372
+ const f = g(
4373
+ ht[Ft],
4374
+ {
4375
+ [ht[`${Ft}--error`]]: o
4376
+ },
4377
+ n
4378
+ ), p = g(
4379
+ s,
4361
4380
  ht[`${Ft}__input`],
4362
4381
  ht[`${Ft}__input--${l}`]
4363
- ), [u, v] = e.useState(""), f = e.useRef(null), p = (E) => {
4364
- r([...a || [], E]), v("");
4365
- }, b = (E) => {
4366
- const k = [...a || []];
4367
- k.splice(E, 1), r(k);
4368
- }, y = (E) => v(E.target.value), h = (E) => {
4369
- if (Vo.includes(E.key)) {
4370
- if (E.preventDefault(), u === "")
4382
+ ), [b, k] = e.useState(""), h = e.useRef(null), $ = (F) => {
4383
+ r([...a || [], F]), k("");
4384
+ }, x = (F) => {
4385
+ const H = [...a || []];
4386
+ H.splice(F, 1), r(H);
4387
+ }, w = (F) => k(F.target.value), y = (F) => {
4388
+ if (Vo.includes(F.key)) {
4389
+ if (F.preventDefault(), b === "")
4371
4390
  return;
4372
- p(u);
4373
- } else if (Wo.includes(E.key)) {
4374
- if (u !== "" || !(a != null && a.length))
4391
+ $(b);
4392
+ } else if (Yo.includes(F.key)) {
4393
+ if (b !== "" || !(a != null && a.length))
4375
4394
  return;
4376
- b(a.length - 1);
4395
+ x(a.length - 1);
4377
4396
  }
4378
- }, w = (E, k) => {
4379
- const N = [...a || []];
4380
- N.reduce(
4381
- (H, se, re) => H + (se === k && re !== E ? 1 : 0),
4397
+ }, S = (F) => {
4398
+ d && $(b), i == null || i(F);
4399
+ }, C = (F, H) => {
4400
+ const Z = [...a || []];
4401
+ Z.reduce(
4402
+ (ee, ye, Ee) => ee + (ye === H && Ee !== F ? 1 : 0),
4382
4403
  0
4383
- ) > 0 ? N.splice(E, 1) : N[E] = k, r(N);
4384
- }, S = (E) => {
4385
- E.preventDefault();
4386
- const N = E.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
4387
- r([...a || [], ...N]);
4404
+ ) > 0 ? Z.splice(F, 1) : Z[F] = H, r(Z);
4405
+ }, G = (F) => {
4406
+ F.preventDefault();
4407
+ const Z = F.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
4408
+ r([...a || [], ...Z]);
4388
4409
  };
4389
- return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: d }, a == null ? void 0 : a.map((E, k) => /* @__PURE__ */ e.createElement(
4390
- Uo,
4410
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: f }, a == null ? void 0 : a.map((F, H) => /* @__PURE__ */ e.createElement(
4411
+ Wo,
4391
4412
  {
4392
- index: k,
4393
- key: `${k}${E}`,
4394
- update: w,
4395
- remove: b,
4396
- inputRef: f,
4413
+ index: H,
4414
+ key: `${H}${F}`,
4415
+ update: C,
4416
+ remove: x,
4417
+ inputRef: h,
4397
4418
  validator: _,
4398
4419
  size: l
4399
4420
  },
4400
- E
4421
+ F
4401
4422
  )), /* @__PURE__ */ e.createElement(
4402
4423
  "input",
4403
- A($({}, n), {
4424
+ I(E({}, m), {
4404
4425
  id: t,
4405
- ref: f,
4406
- className: m,
4426
+ ref: h,
4427
+ className: p,
4407
4428
  placeholder: c,
4408
- value: u,
4409
- onChange: y,
4410
- onKeyDown: h,
4411
- onPaste: S
4429
+ value: b,
4430
+ onChange: w,
4431
+ onKeyDown: y,
4432
+ onPaste: G,
4433
+ onBlur: S
4412
4434
  })
4413
4435
  )), o && /* @__PURE__ */ e.createElement(ia, null, o));
4414
- }, qo = /^(?:[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, Ko = "name@company.com", Jo = (t) => qo.test(t), rl = ({
4415
- id: t,
4416
- tags: a,
4417
- onChange: r,
4418
- error: _,
4419
- placeholder: o = Ko,
4420
- size: c
4421
- }) => /* @__PURE__ */ e.createElement(
4422
- Yo,
4423
- {
4436
+ }, Ko = /^(?:[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, Jo = "name@company.com", jo = (t) => Ko.test(t), ol = (n) => {
4437
+ var s = n, {
4424
4438
  id: t,
4425
4439
  tags: a,
4426
- error: _,
4427
4440
  onChange: r,
4428
- placeholder: o,
4429
- validator: Jo,
4441
+ error: _,
4442
+ placeholder: o = Jo,
4430
4443
  size: c
4431
- }
4432
- ), jo = "lc-Toast-module__toast___j5Amn", Qo = "lc-Toast-module__toast__content___HjaNw", Zo = "lc-Toast-module__toast__actions___JWu-1", Xo = "lc-Toast-module__toast__actions__button___Iblrl", J = {
4433
- toast: jo,
4434
- toast__content: Qo,
4435
- toast__actions: Zo,
4436
- toast__actions__button: Xo,
4444
+ } = s, l = P(s, [
4445
+ "id",
4446
+ "tags",
4447
+ "onChange",
4448
+ "error",
4449
+ "placeholder",
4450
+ "size"
4451
+ ]);
4452
+ return /* @__PURE__ */ e.createElement(
4453
+ qo,
4454
+ I(E({}, l), {
4455
+ id: t,
4456
+ tags: a,
4457
+ error: _,
4458
+ onChange: r,
4459
+ placeholder: o,
4460
+ validator: jo,
4461
+ size: c
4462
+ })
4463
+ );
4464
+ }, Qo = "lc-Toast-module__toast___j5Amn", Zo = "lc-Toast-module__toast__content___HjaNw", Xo = "lc-Toast-module__toast__actions___JWu-1", ec = "lc-Toast-module__toast__actions__button___Iblrl", Q = {
4465
+ toast: Qo,
4466
+ toast__content: Zo,
4467
+ toast__actions: Xo,
4468
+ toast__actions__button: ec,
4437
4469
  "toast__actions__button--success": "lc-Toast-module__toast__actions__button--success___5JmFw",
4438
4470
  "toast__actions__button--warning": "lc-Toast-module__toast__actions__button--warning___zGQ-Q",
4439
4471
  "toast__actions__button--error": "lc-Toast-module__toast__actions__button--error___PuTv3",
@@ -4459,7 +4491,7 @@ const gt = {
4459
4491
  "toast-appear-active--fade": "lc-Toast-module__toast-appear-active--fade___D3--J",
4460
4492
  "toast-exit--fade": "lc-Toast-module__toast-exit--fade___iDA1p",
4461
4493
  "toast-exit-active--fade": "lc-Toast-module__toast-exit-active--fade___tL7sb"
4462
- }, ec = {
4494
+ }, tc = {
4463
4495
  success: {
4464
4496
  source: Ma
4465
4497
  },
@@ -4472,15 +4504,15 @@ const gt = {
4472
4504
  info: {
4473
4505
  source: _a
4474
4506
  }
4475
- }, He = "toast", tc = (n) => {
4476
- var i = n, {
4507
+ }, He = "toast", ac = (n) => {
4508
+ var s = n, {
4477
4509
  action: t,
4478
4510
  className: a,
4479
4511
  children: r,
4480
4512
  removable: _,
4481
4513
  kind: o = "info",
4482
4514
  onClose: c
4483
- } = i, l = P(i, [
4515
+ } = s, l = P(s, [
4484
4516
  "action",
4485
4517
  "className",
4486
4518
  "children",
@@ -4488,15 +4520,15 @@ const gt = {
4488
4520
  "kind",
4489
4521
  "onClose"
4490
4522
  ]);
4491
- const s = g(
4492
- J[He],
4493
- J[`${He}--${o}`],
4523
+ const i = g(
4524
+ Q[He],
4525
+ Q[`${He}--${o}`],
4494
4526
  a
4495
4527
  ), d = typeof r == "string", m = (u) => u && u.closesOnClick && c ? (u.onClick(), c()) : u.onClick();
4496
- return /* @__PURE__ */ e.createElement("div", $({ className: s }, l), /* @__PURE__ */ e.createElement("div", { className: J[`${He}__icon`] }, /* @__PURE__ */ e.createElement(T, A($({}, ec[o]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: J[`${He}__content`] }, d ? /* @__PURE__ */ e.createElement(R, { as: "div" }, r) : r), (t || _) && /* @__PURE__ */ e.createElement("div", { className: J[`${He}__actions`] }, t && /* @__PURE__ */ e.createElement(
4497
- z,
4528
+ return /* @__PURE__ */ e.createElement("div", E({ className: i }, l), /* @__PURE__ */ e.createElement("div", { className: Q[`${He}__icon`] }, /* @__PURE__ */ e.createElement(T, I(E({}, tc[o]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: Q[`${He}__content`] }, d ? /* @__PURE__ */ e.createElement(M, { as: "div" }, r) : r), (t || _) && /* @__PURE__ */ e.createElement("div", { className: Q[`${He}__actions`] }, t && /* @__PURE__ */ e.createElement(
4529
+ U,
4498
4530
  {
4499
- className: J[`${He}__actions--custom`],
4531
+ className: Q[`${He}__actions--custom`],
4500
4532
  kind: "text",
4501
4533
  size: "compact",
4502
4534
  onClick: () => m(t)
@@ -4506,15 +4538,15 @@ const gt = {
4506
4538
  "button",
4507
4539
  {
4508
4540
  className: g(
4509
- J[`${He}__actions__button`],
4510
- J[`${He}__actions__button--${o}`]
4541
+ Q[`${He}__actions__button`],
4542
+ Q[`${He}__actions__button--${o}`]
4511
4543
  ),
4512
4544
  "aria-label": "Close toast",
4513
4545
  onClick: c
4514
4546
  },
4515
- /* @__PURE__ */ e.createElement(T, { source: he, size: "medium" })
4547
+ /* @__PURE__ */ e.createElement(T, { source: ke, size: "medium" })
4516
4548
  )));
4517
- }, ac = 200, bt = "toast-wrapper", _l = ({
4549
+ }, rc = 200, bt = "toast-wrapper", cl = ({
4518
4550
  className: t,
4519
4551
  toasts: a = [],
4520
4552
  fixed: r = !0,
@@ -4524,31 +4556,31 @@ const gt = {
4524
4556
  horizontalPosition: l = "center"
4525
4557
  }) => {
4526
4558
  const n = g(
4527
- J[bt],
4559
+ Q[bt],
4528
4560
  {
4529
- [J[`${bt}--fixed`]]: r,
4530
- [J[`${bt}--block`]]: !r && _,
4531
- [J[`${bt}--horizontal-${l}`]]: l,
4532
- [J[`${bt}--vertical-${c}`]]: c
4561
+ [Q[`${bt}--fixed`]]: r,
4562
+ [Q[`${bt}--block`]]: !r && _,
4563
+ [Q[`${bt}--horizontal-${l}`]]: l,
4564
+ [Q[`${bt}--vertical-${c}`]]: c
4533
4565
  },
4534
4566
  t
4535
4567
  );
4536
- return /* @__PURE__ */ e.createElement("div", { className: n }, /* @__PURE__ */ e.createElement(Ga, { component: null }, a.map(({ id: i, kind: s, content: d, removable: m, action: u, onClose: v }) => /* @__PURE__ */ e.createElement(
4568
+ return /* @__PURE__ */ e.createElement("div", { className: n }, /* @__PURE__ */ e.createElement(Ga, { component: null }, a.map(({ id: s, kind: i, content: d, removable: m, action: u, onClose: v }) => /* @__PURE__ */ e.createElement(
4537
4569
  la,
4538
4570
  {
4539
- key: i,
4571
+ key: s,
4540
4572
  classNames: {
4541
- enter: J[`toast-appear--${o}`],
4542
- enterActive: J[`toast-appear-active--${o}`],
4543
- exit: J[`toast-exit--${o}`],
4544
- exitActive: J[`toast-exit-active--${o}`]
4573
+ enter: Q[`toast-appear--${o}`],
4574
+ enterActive: Q[`toast-appear-active--${o}`],
4575
+ exit: Q[`toast-exit--${o}`],
4576
+ exitActive: Q[`toast-exit-active--${o}`]
4545
4577
  },
4546
- timeout: ac
4578
+ timeout: rc
4547
4579
  },
4548
4580
  /* @__PURE__ */ e.createElement(
4549
- tc,
4581
+ ac,
4550
4582
  {
4551
- kind: s,
4583
+ kind: i,
4552
4584
  onClose: v,
4553
4585
  removable: m,
4554
4586
  action: u
@@ -4556,26 +4588,26 @@ const gt = {
4556
4588
  d
4557
4589
  )
4558
4590
  ))));
4559
- }, rc = "lc-Textarea-module__textarea___g6U8F", Rt = {
4560
- textarea: rc,
4591
+ }, _c = "lc-Textarea-module__textarea___g6U8F", Rt = {
4592
+ textarea: _c,
4561
4593
  "textarea--focused": "lc-Textarea-module__textarea--focused___1vtEx",
4562
4594
  "textarea--disabled": "lc-Textarea-module__textarea--disabled___xXaGv",
4563
4595
  "textarea--error": "lc-Textarea-module__textarea--error___0EGuq"
4564
- }, Mt = "textarea", ol = e.forwardRef(
4596
+ }, Mt = "textarea", ll = e.forwardRef(
4565
4597
  (o, _) => {
4566
4598
  var c = o, { className: t, error: a } = c, r = P(c, ["className", "error"]);
4567
- const { disabled: l, onBlur: n, onFocus: i } = r, [s, d] = e.useState(!1), m = g(t, Rt[Mt], {
4599
+ const { disabled: l, onBlur: n, onFocus: s } = r, [i, d] = e.useState(!1), m = g(t, Rt[Mt], {
4568
4600
  [Rt[`${Mt}--disabled`]]: l,
4569
- [Rt[`${Mt}--focused`]]: s,
4601
+ [Rt[`${Mt}--focused`]]: i,
4570
4602
  [Rt[`${Mt}--error`]]: a
4571
4603
  }), u = (f) => {
4572
4604
  d(!1), n == null || n(f);
4573
4605
  }, v = (f) => {
4574
- d(!0), i == null || i(f);
4606
+ d(!0), s == null || s(f);
4575
4607
  };
4576
4608
  return /* @__PURE__ */ e.createElement("div", { className: m }, /* @__PURE__ */ e.createElement(
4577
4609
  "textarea",
4578
- A($({}, r), {
4610
+ I(E({}, r), {
4579
4611
  ref: _,
4580
4612
  onFocus: v,
4581
4613
  onBlur: u
@@ -4603,8 +4635,8 @@ const gt = {
4603
4635
  "aria-label": "Close",
4604
4636
  onClick: a
4605
4637
  },
4606
- /* @__PURE__ */ e.createElement(T, { size: "small", source: he })
4607
- )), be = {
4638
+ /* @__PURE__ */ e.createElement(T, { size: "small", source: ke })
4639
+ )), ve = {
4608
4640
  "file-upload-progress": "lc-FileUploadProgress-module__file-upload-progress___xw8h8",
4609
4641
  "file-upload-progress__icon": "lc-FileUploadProgress-module__file-upload-progress__icon___p8Rfz",
4610
4642
  "file-upload-progress__icon--success": "lc-FileUploadProgress-module__file-upload-progress__icon--success___X40uH",
@@ -4615,7 +4647,7 @@ const gt = {
4615
4647
  "file-upload-progress__wrapper__header__title": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title___2IVuv",
4616
4648
  "file-upload-progress__wrapper__header__title--success": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--success___E6DQl",
4617
4649
  "file-upload-progress__wrapper__header__title--error": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--error___5BPpI"
4618
- }, Ae = "file-upload-progress", Qt = `${Ae}__wrapper__header__title`, _c = e.forwardRef(
4650
+ }, Re = "file-upload-progress", Qt = `${Re}__wrapper__header__title`, oc = e.forwardRef(
4619
4651
  ({
4620
4652
  actionsVisibility: t = "hidden",
4621
4653
  className: a,
@@ -4625,39 +4657,39 @@ const gt = {
4625
4657
  size: c,
4626
4658
  status: l = "normal",
4627
4659
  onCloseButtonClick: n,
4628
- onRetryButtonClick: i
4629
- }, s) => /* @__PURE__ */ e.createElement("div", { className: be[Ae], ref: s }, r && l !== "success" && /* @__PURE__ */ e.createElement("div", { className: be[`${Ae}__icon`] }, r), l === "success" && /* @__PURE__ */ e.createElement(
4660
+ onRetryButtonClick: s
4661
+ }, i) => /* @__PURE__ */ e.createElement("div", { className: ve[Re], ref: i }, r && l !== "success" && /* @__PURE__ */ e.createElement("div", { className: ve[`${Re}__icon`] }, r), l === "success" && /* @__PURE__ */ e.createElement(
4630
4662
  "div",
4631
4663
  {
4632
4664
  className: g(
4633
- be[`${Ae}__icon`],
4634
- be[`${Ae}__icon--success`]
4665
+ ve[`${Re}__icon`],
4666
+ ve[`${Re}__icon--success`]
4635
4667
  )
4636
4668
  },
4637
4669
  /* @__PURE__ */ e.createElement(T, { source: oa })
4638
4670
  ), /* @__PURE__ */ e.createElement(
4639
4671
  "div",
4640
4672
  {
4641
- className: g(be[`${Ae}__wrapper`], {
4642
- [be[`${Ae}__wrapper--with-icon`]]: r
4673
+ className: g(ve[`${Re}__wrapper`], {
4674
+ [ve[`${Re}__wrapper--with-icon`]]: r
4643
4675
  })
4644
4676
  },
4645
- /* @__PURE__ */ e.createElement("div", { className: be[`${Ae}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
4677
+ /* @__PURE__ */ e.createElement("div", { className: ve[`${Re}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
4646
4678
  "div",
4647
4679
  {
4648
- className: g(be[Qt], {
4649
- [be[`${Qt}--success`]]: l === "success",
4650
- [be[`${Qt}--error`]]: l === "error"
4680
+ className: g(ve[Qt], {
4681
+ [ve[`${Qt}--success`]]: l === "success",
4682
+ [ve[`${Qt}--error`]]: l === "error"
4651
4683
  })
4652
4684
  },
4653
- /* @__PURE__ */ e.createElement(R, { size: "sm", as: "div" }, _),
4685
+ /* @__PURE__ */ e.createElement(M, { size: "sm", as: "div" }, _),
4654
4686
  "=",
4655
4687
  " "
4656
4688
  ), t !== "hidden" && /* @__PURE__ */ e.createElement(
4657
4689
  "div",
4658
4690
  {
4659
4691
  className: g({
4660
- [be[`${Ae}__wrapper__header__actions`]]: t === "hover"
4692
+ [ve[`${Re}__wrapper__header__actions`]]: t === "hover"
4661
4693
  })
4662
4694
  },
4663
4695
  /* @__PURE__ */ e.createElement(
@@ -4665,12 +4697,12 @@ const gt = {
4665
4697
  {
4666
4698
  status: l,
4667
4699
  onCloseButtonClick: n,
4668
- onRetryButtonClick: i
4700
+ onRetryButtonClick: s
4669
4701
  }
4670
4702
  )
4671
4703
  )),
4672
4704
  l !== "success" && /* @__PURE__ */ e.createElement(
4673
- Co,
4705
+ No,
4674
4706
  {
4675
4707
  className: a,
4676
4708
  percent: o,
@@ -4679,7 +4711,7 @@ const gt = {
4679
4711
  }
4680
4712
  )
4681
4713
  ))
4682
- ), L = {
4714
+ ), O = {
4683
4715
  "upload-bar": "lc-UploadBar-module__upload-bar___6Or8h",
4684
4716
  "upload-bar__loader-test": "lc-UploadBar-module__upload-bar__loader-test___aZb2J",
4685
4717
  "upload-bar--error": "lc-UploadBar-module__upload-bar--error___MzvhT",
@@ -4700,14 +4732,14 @@ const gt = {
4700
4732
  "upload-bar__files--exit-done": "lc-UploadBar-module__upload-bar__files--exit-done___2I72G",
4701
4733
  "upload-bar__files-wrapper": "lc-UploadBar-module__upload-bar__files-wrapper___93bs8",
4702
4734
  "upload-bar__files__list": "lc-UploadBar-module__upload-bar__files__list___QJFEq"
4703
- }, ae = "upload-bar", Pe = `${ae}__wrapper__header`, oc = 300, cc = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement("div", { className: L[`${Pe}__success-icon`] }, /* @__PURE__ */ e.createElement(T, { source: oa })) : t === "error" ? /* @__PURE__ */ e.createElement("div", { className: L[`${Pe}__error-icon`] }, /* @__PURE__ */ e.createElement(T, { source: gr })) : /* @__PURE__ */ e.createElement(
4704
- wo,
4735
+ }, ce = "upload-bar", Me = `${ce}__wrapper__header`, cc = 300, lc = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement("div", { className: O[`${Me}__success-icon`] }, /* @__PURE__ */ e.createElement(T, { source: oa })) : t === "error" ? /* @__PURE__ */ e.createElement("div", { className: O[`${Me}__error-icon`] }, /* @__PURE__ */ e.createElement(T, { source: gr })) : /* @__PURE__ */ e.createElement(
4736
+ Co,
4705
4737
  {
4706
- className: L[`${Pe}__loader`],
4738
+ className: O[`${Me}__loader`],
4707
4739
  status: t,
4708
4740
  progressValue: a
4709
4741
  }
4710
- ), cl = ({
4742
+ ), nl = ({
4711
4743
  children: t,
4712
4744
  className: a,
4713
4745
  progressValue: r,
@@ -4716,23 +4748,23 @@ const gt = {
4716
4748
  errorMessage: c,
4717
4749
  status: l = "normal",
4718
4750
  icon: n,
4719
- size: i,
4720
- mode: s = "multiple",
4751
+ size: s,
4752
+ mode: i = "multiple",
4721
4753
  onCloseButtonClick: d,
4722
4754
  onRetryButtonClick: m
4723
4755
  }) => {
4724
- const [u, v] = e.useState(o || !1), f = l === "error", p = l === "success", b = g(L[ae], a, {
4725
- [L[`${ae}--error`]]: f,
4726
- [L[`${ae}--success`]]: p
4727
- }), y = !(f && (m || d)), h = () => v(!u);
4728
- return s === "single" ? /* @__PURE__ */ e.createElement("div", { className: b }, /* @__PURE__ */ e.createElement("div", { className: L[`${ae}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: L[`${Pe}`] }, /* @__PURE__ */ e.createElement(
4729
- _c,
4756
+ const [u, v] = e.useState(o || !1), f = l === "error", p = l === "success", b = g(O[ce], a, {
4757
+ [O[`${ce}--error`]]: f,
4758
+ [O[`${ce}--success`]]: p
4759
+ }), k = !(f && (m || d)), h = () => v(!u);
4760
+ return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: b }, /* @__PURE__ */ e.createElement("div", { className: O[`${ce}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: O[`${Me}`] }, /* @__PURE__ */ e.createElement(
4761
+ oc,
4730
4762
  {
4731
4763
  title: f && c || _,
4732
4764
  progressValue: r,
4733
4765
  status: l,
4734
4766
  icon: n,
4735
- size: i
4767
+ size: s
4736
4768
  }
4737
4769
  )), l === "error" && /* @__PURE__ */ e.createElement(
4738
4770
  ra,
@@ -4744,18 +4776,18 @@ const gt = {
4744
4776
  ))) : /* @__PURE__ */ e.createElement("div", { className: b }, /* @__PURE__ */ e.createElement(
4745
4777
  "div",
4746
4778
  {
4747
- className: L[`${ae}__wrapper`],
4779
+ className: O[`${ce}__wrapper`],
4748
4780
  onClick: h
4749
4781
  },
4750
- /* @__PURE__ */ e.createElement("div", { className: L[`${Pe}`] }, /* @__PURE__ */ e.createElement("div", { className: L[`${Pe}__icon`] }, cc(l, r)), /* @__PURE__ */ e.createElement("div", { className: L[`${Pe}__title`] }, /* @__PURE__ */ e.createElement(R, { size: "sm", as: "div" }, f ? c : _)), y && /* @__PURE__ */ e.createElement(
4782
+ /* @__PURE__ */ e.createElement("div", { className: O[`${Me}`] }, /* @__PURE__ */ e.createElement("div", { className: O[`${Me}__icon`] }, lc(l, r)), /* @__PURE__ */ e.createElement("div", { className: O[`${Me}__title`] }, /* @__PURE__ */ e.createElement(M, { size: "sm", as: "div" }, f ? c : _)), k && /* @__PURE__ */ e.createElement(
4751
4783
  "button",
4752
4784
  {
4753
- className: L[`${Pe}__collapse-button`],
4785
+ className: O[`${Me}__collapse-button`],
4754
4786
  type: "button",
4755
4787
  onClick: h
4756
4788
  },
4757
4789
  u ? /* @__PURE__ */ e.createElement(T, { source: Ot }) : /* @__PURE__ */ e.createElement(T, { source: yt })
4758
- ), l === "error" && /* @__PURE__ */ e.createElement("div", { className: L[`${Pe}__actions-container`] }, /* @__PURE__ */ e.createElement(
4790
+ ), l === "error" && /* @__PURE__ */ e.createElement("div", { className: O[`${Me}__actions-container`] }, /* @__PURE__ */ e.createElement(
4759
4791
  ra,
4760
4792
  {
4761
4793
  status: l,
@@ -4766,84 +4798,85 @@ const gt = {
4766
4798
  ), /* @__PURE__ */ e.createElement(Ga, { component: null }, u && /* @__PURE__ */ e.createElement(
4767
4799
  la,
4768
4800
  {
4769
- timeout: oc,
4801
+ timeout: cc,
4770
4802
  classNames: {
4771
- enter: L[`${ae}__files--enter`],
4772
- enterActive: L[`${ae}__files--enter-active`],
4773
- exit: L[`${ae}__files--exit`],
4774
- exitActive: L[`${ae}__files--exit-active`],
4775
- exitDone: L[`${ae}__files--exit-done`]
4803
+ enter: O[`${ce}__files--enter`],
4804
+ enterActive: O[`${ce}__files--enter-active`],
4805
+ exit: O[`${ce}__files--exit`],
4806
+ exitActive: O[`${ce}__files--exit-active`],
4807
+ exitDone: O[`${ce}__files--exit-done`]
4776
4808
  }
4777
4809
  },
4778
- /* @__PURE__ */ e.createElement("div", { className: L[`${ae}__files`] }, /* @__PURE__ */ e.createElement("div", { className: L[`${ae}__files-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: L[`${ae}__files__list`] }, t)))
4810
+ /* @__PURE__ */ e.createElement("div", { className: O[`${ce}__files`] }, /* @__PURE__ */ e.createElement("div", { className: O[`${ce}__files-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: O[`${ce}__files__list`] }, t)))
4779
4811
  )));
4780
4812
  };
4781
4813
  export {
4782
- ac as ANIMATION_TIME,
4783
- Tc as ActionBar,
4814
+ rc as ANIMATION_TIME,
4815
+ Ic as ActionBar,
4784
4816
  Sr as ActionMenu,
4785
4817
  Br as ActionMenuItem,
4786
- Bc as Alert,
4787
- i_ as Avatar,
4788
- p_ as Badge,
4789
- z as Button,
4790
- Ac as Card,
4791
- Pc as Checkbox,
4818
+ Ac as Alert,
4819
+ d_ as Avatar,
4820
+ g_ as Badge,
4821
+ U as Button,
4822
+ Fc as Card,
4823
+ Rc as Checkbox,
4792
4824
  V_ as DatePicker,
4793
- kc as DesignToken,
4794
- Fc as DetailsCard,
4795
- Rc as DetailsCardInfo,
4796
- wc as Display,
4797
- rl as EmailTagInput,
4825
+ yc as DesignToken,
4826
+ Mc as DetailsCard,
4827
+ Lc as DetailsCardInfo,
4828
+ Nc as Display,
4829
+ ol as EmailTagInput,
4798
4830
  Ht as FieldDescription,
4799
4831
  ia as FieldError,
4800
- Mc as FieldGroup,
4801
- _c as FileUploadProgress,
4832
+ Oc as FieldGroup,
4833
+ oc as FileUploadProgress,
4802
4834
  ra as FileUploadProgressActions,
4803
- Lc as Form,
4804
- Oc as FormField,
4805
- Hc as FormGroup,
4835
+ Hc as Form,
4836
+ zc as FormField,
4837
+ Gc as FormGroup,
4806
4838
  qe as Heading,
4807
4839
  T as Icon,
4808
- Nc as Info,
4809
- zc as Input,
4810
- xc as Interactive,
4811
- Gc as Link,
4840
+ Sc as Info,
4841
+ Uc as Input,
4842
+ Dc as Interactive,
4843
+ Wc as Link,
4812
4844
  sa as Loader,
4813
- Uc as Modal,
4814
- _o as ModalBase,
4845
+ Vc as Modal,
4846
+ oo as ModalBase,
4815
4847
  Ia as ModalCloseButton,
4816
- Wc as ModalHeader,
4817
- Vc as ModalPortal,
4818
- Yc as NumericInput,
4819
- qc as Picker,
4820
- lo as PickerList,
4821
- Kc as Popover,
4822
- Co as ProgressBar,
4823
- wo as ProgressCircle,
4824
- Jc as PromoBanner,
4825
- jc as PromoBannerV2,
4826
- Qc as RadioButton,
4827
- $c as RadiusToken,
4828
- Y_ as RangeDatePicker,
4829
- Dc as Reports,
4830
- Zc as SearchInput,
4831
- Ic as SegmentedControl,
4832
- Ec as ShadowToken,
4833
- Cc as Simple,
4834
- yc as SpacingToken,
4835
- Xc as Switch,
4836
- el as Tab,
4837
- al as TabsList,
4838
- tl as TabsWrapper,
4848
+ qc as ModalHeader,
4849
+ Yc as ModalPortal,
4850
+ Kc as NumericInput,
4851
+ Jc as Picker,
4852
+ no as PickerList,
4853
+ jc as Popover,
4854
+ No as ProgressBar,
4855
+ Co as ProgressCircle,
4856
+ Qc as PromoBanner,
4857
+ Zc as PromoBannerV2,
4858
+ Xc as RadioButton,
4859
+ wc as RadiusToken,
4860
+ q_ as RangeDatePicker,
4861
+ Bc as Reports,
4862
+ el as SearchInput,
4863
+ Pc as SegmentedControl,
4864
+ $c as ShadowToken,
4865
+ xc as Simple,
4866
+ Ec as SpacingToken,
4867
+ tl as Switch,
4868
+ al as Tab,
4869
+ _l as TabsList,
4870
+ rl as TabsWrapper,
4839
4871
  ja as Tag,
4840
- Yo as TagInput,
4841
- R as Text,
4842
- ol as Textarea,
4843
- tc as Toast,
4844
- _l as ToastWrapper,
4872
+ qo as TagInput,
4873
+ M as Text,
4874
+ ll as Textarea,
4875
+ ac as Toast,
4876
+ cl as ToastWrapper,
4845
4877
  qa as Tooltip,
4846
- cl as UploadBar,
4847
- Sc as UserGuide,
4848
- r_ as generateAvatarColor
4878
+ nl as UploadBar,
4879
+ Tc as UserGuide,
4880
+ __ as generateAvatarColor,
4881
+ Cc as getDesignTokenWithOpacity
4849
4882
  };