@livechat/design-system-react-components 1.0.0-beta.2 → 1.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dsrc.es.js CHANGED
@@ -1,15 +1,15 @@
1
- var Ua = Object.defineProperty, Wa = Object.defineProperties;
2
- var Va = Object.getOwnPropertyDescriptors;
1
+ var Wa = Object.defineProperty, Va = Object.defineProperties;
2
+ var Ya = Object.getOwnPropertyDescriptors;
3
3
  var ut = Object.getOwnPropertySymbols;
4
4
  var jt = Object.prototype.hasOwnProperty, ea = Object.prototype.propertyIsEnumerable;
5
- var Bt = (t, a, r) => a in t ? Ua(t, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[a] = r, w = (t, a) => {
5
+ var Bt = (t, a, r) => a in t ? Wa(t, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[a] = r, w = (t, a) => {
6
6
  for (var r in a || (a = {}))
7
7
  jt.call(a, r) && Bt(t, r, a[r]);
8
8
  if (ut)
9
9
  for (var r of ut(a))
10
10
  ea.call(a, r) && Bt(t, r, a[r]);
11
11
  return t;
12
- }, B = (t, a) => Wa(t, Va(a));
12
+ }, B = (t, a) => Va(t, Ya(a));
13
13
  var A = (t, a) => {
14
14
  var r = {};
15
15
  for (var _ in t)
@@ -21,20 +21,20 @@ var A = (t, a) => {
21
21
  };
22
22
  var At = (t, a, r) => (Bt(t, typeof a != "symbol" ? a + "" : a, r), r);
23
23
  import * as e from "react";
24
- import { useReducer as Ya, useRef as qa, useEffect as Ve, useCallback as mt, useMemo as pt } from "react";
24
+ import { useReducer as qa, useRef as Ja, useEffect as Ve, useCallback as mt, useMemo as pt } from "react";
25
25
  import f, { clsx as Pe } from "clsx";
26
- import { useFloating as ka, offset as $a, flip as wa, autoUpdate as Ca, arrow as Ja } from "@floating-ui/react-dom";
27
- import { Close as xe, Info as qt, Warning as Na, CheckCircle as xa, Block as Sa, Person as Ka, ChevronUp as St, ChevronDown as Dt, VisibilityOn as Za, VisibilityOff as Qa, Check as Jt, Search as Xa, LockBlackFilled as ja, Refresh as er, Error as tr } from "@livechat/design-system-icons/react/tabler";
28
- import Da from "lodash.debounce";
26
+ import { useFloating as $a, offset as wa, flip as Ca, autoUpdate as Na, arrow as Ka } from "@floating-ui/react-dom";
27
+ import { Close as xe, Info as qt, Warning as xa, CheckCircle as Sa, Block as Da, Person as Za, ChevronUp as St, ChevronDown as Dt, VisibilityOn as Qa, VisibilityOff as Xa, Check as Jt, Search as ja, LockBlackFilled as er, Refresh as tr, Error as ar } from "@livechat/design-system-icons/react/tabler";
28
+ import Ta from "lodash.debounce";
29
29
  import { getContrast as Kt } from "polished";
30
- import ar from "react-day-picker";
31
- import { DoubleArrowLeft as rr, ChevronLeft as _r, ChevronRight as or, DoubleArrowRight as lr, Close as Ta } from "@livechat/design-system-icons/react/material";
32
- import { subMonths as Ue, differenceInCalendarMonths as ta, addMonths as aa, isSameMonth as Ht, isSameDay as Gt, isAfter as Ut, differenceInCalendarDays as Ia } from "date-fns";
33
- import * as cr from "react-dom";
34
- import { cx as nr, css as Ye } from "@emotion/css";
30
+ import rr from "react-day-picker";
31
+ import { DoubleArrowLeft as _r, ChevronLeft as or, ChevronRight as lr, DoubleArrowRight as cr, Close as Ia } from "@livechat/design-system-icons/react/material";
32
+ import { subMonths as Ue, differenceInCalendarMonths as ta, addMonths as aa, isSameMonth as Ht, isSameDay as Gt, isAfter as Ut, differenceInCalendarDays as Ba } from "date-fns";
33
+ import * as nr from "react-dom";
34
+ import { cx as sr, css as Ye } from "@emotion/css";
35
35
  import ra from "lodash.escape";
36
- import { TransitionGroup as Ba, CSSTransition as Zt } from "react-transition-group";
37
- const Ko = {
36
+ import { TransitionGroup as Aa, CSSTransition as Zt } from "react-transition-group";
37
+ const Zo = {
38
38
  Background: "--background",
39
39
  // deprecated
40
40
  Background01: "--background-01",
@@ -302,7 +302,7 @@ const Ko = {
302
302
  IllustrationsStroke: "--illustrations-stroke",
303
303
  TagSurface01: "--tag-surface-01",
304
304
  TagContent01: "--tag-content-01"
305
- }, Zo = {
305
+ }, Qo = {
306
306
  Spacing0: "--spacing-0",
307
307
  Spacing05: "--spacing-05",
308
308
  Spacing1: "--spacing-1",
@@ -318,7 +318,7 @@ const Ko = {
318
318
  Spacing18: "--spacing-18",
319
319
  Spacing20: "--spacing-20",
320
320
  Spacing24: "--spacing-24"
321
- }, Qo = {
321
+ }, Xo = {
322
322
  Float: "--shadow-float",
323
323
  PopOver: "--shadow-pop-over",
324
324
  Modal: "--shadow-modal",
@@ -334,13 +334,13 @@ const Ko = {
334
334
  comma: ",",
335
335
  arrowUp: "ArrowUp",
336
336
  arrowDown: "ArrowDown"
337
- }, sr = "lc-Typography-module__caps___c3eNJ", ot = {
337
+ }, ir = "lc-Typography-module__caps___c3eNJ", ot = {
338
338
  "heading-xl": "lc-Typography-module__heading-xl___nhr-6",
339
339
  "heading-lg": "lc-Typography-module__heading-lg___XYF7l",
340
340
  "heading-md": "lc-Typography-module__heading-md___wHOIs",
341
341
  "heading-sm": "lc-Typography-module__heading-sm___nBmTV",
342
342
  "heading-xs": "lc-Typography-module__heading-xs___VcZBs",
343
- caps: sr,
343
+ caps: ir,
344
344
  "caps--bold": "lc-Typography-module__caps--bold___OZovw",
345
345
  "paragraph-md": "lc-Typography-module__paragraph-md___UGoqq",
346
346
  "paragraph-md--bold": "lc-Typography-module__paragraph-md--bold___mWcMG",
@@ -350,7 +350,7 @@ const Ko = {
350
350
  "paragraph-sm--bold": "lc-Typography-module__paragraph-sm--bold___fAjI5",
351
351
  "paragraph-xs": "lc-Typography-module__paragraph-xs___OUooD",
352
352
  "paragraph-xs--bold": "lc-Typography-module__paragraph-xs--bold___z7om7"
353
- }, ir = {
353
+ }, dr = {
354
354
  xl: "h1",
355
355
  lg: "h2",
356
356
  md: "h3",
@@ -369,7 +369,7 @@ const Ko = {
369
369
  "className"
370
370
  ]);
371
371
  return e.createElement(
372
- t || ir[a],
372
+ t || dr[a],
373
373
  w({ className: f(ot[`heading-${a}`], _) }, o),
374
374
  r
375
375
  );
@@ -409,10 +409,10 @@ const Ko = {
409
409
  }, n),
410
410
  c
411
411
  );
412
- }, dr = "lc-Popover-module__popover___8X1b2", _a = {
413
- popover: dr,
412
+ }, ur = "lc-Popover-module__popover___8X1b2", _a = {
413
+ popover: ur,
414
414
  "popover--visible": "lc-Popover-module__popover--visible___u5NXB"
415
- }, ur = ({
415
+ }, mr = ({
416
416
  triggerRenderer: t,
417
417
  onClose: a,
418
418
  children: r,
@@ -424,15 +424,15 @@ const Ko = {
424
424
  }) => {
425
425
  const [n, i] = e.useState(!1), u = e.useRef(!1), {
426
426
  x: s,
427
- y: m,
428
- reference: b,
429
- floating: v,
427
+ y: p,
428
+ reference: v,
429
+ floating: b,
430
430
  strategy: g,
431
- refs: p,
431
+ refs: m,
432
432
  update: E,
433
- placement: h
434
- } = ka({
435
- middleware: [$a(4), wa(l)],
433
+ placement: y
434
+ } = $a({
435
+ middleware: [wa(4), Ca(l)],
436
436
  placement: o
437
437
  });
438
438
  e.useEffect(() => {
@@ -440,18 +440,18 @@ const Ko = {
440
440
  }, [c]), e.useEffect(() => {
441
441
  a && u.current !== n && !n && a(), u.current = n;
442
442
  }, [n]), e.useEffect(() => {
443
- const k = (y) => {
444
- d && y.key === "Escape" && i(!1);
443
+ const k = (h) => {
444
+ d && h.key === "Escape" && i(!1);
445
445
  };
446
446
  return document.addEventListener("keydown", k), () => {
447
447
  document.removeEventListener("keydown", k);
448
448
  };
449
449
  }, [d]), e.useEffect(() => {
450
- if (!(!p.reference.current || !p.floating.current))
451
- return Ca(p.reference.current, p.floating.current, E);
452
- }, [p.reference, p.floating, E, h, n]);
450
+ if (!(!m.reference.current || !m.floating.current))
451
+ return Na(m.reference.current, m.floating.current, E);
452
+ }, [m.reference, m.floating, E, y, n]);
453
453
  function C(k) {
454
- p.floating.current && p.floating.current.contains(k.target) || (p.reference.current && p.reference.current.contains(k.target) ? i((y) => !y) : i(!1));
454
+ m.floating.current && m.floating.current.contains(k.target) || (m.reference.current && m.reference.current.contains(k.target) ? i((h) => !h) : i(!1));
455
455
  }
456
456
  e.useEffect(() => (document.addEventListener("mousedown", C), () => {
457
457
  document.removeEventListener("mousedown", C);
@@ -459,14 +459,14 @@ const Ko = {
459
459
  const S = f(_a.popover, _, {
460
460
  [_a["popover--visible"]]: n
461
461
  });
462
- return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { style: { width: "fit-content" }, ref: b }, t()), /* @__PURE__ */ e.createElement(
462
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { style: { width: "fit-content" }, ref: v }, t()), /* @__PURE__ */ e.createElement(
463
463
  "div",
464
464
  {
465
- ref: v,
465
+ ref: b,
466
466
  className: S,
467
467
  style: {
468
468
  position: g,
469
- top: m != null ? m : "",
469
+ top: p != null ? p : "",
470
470
  left: s != null ? s : ""
471
471
  }
472
472
  },
@@ -478,7 +478,7 @@ const Ko = {
478
478
  "action-menu__list__item": "lc-ActionMenu-module__action-menu__list__item___n-OgH",
479
479
  "action-menu__list__item--with-divider": "lc-ActionMenu-module__action-menu__list__item--with-divider___2H3Vm",
480
480
  "action-menu__list__item--disabled": "lc-ActionMenu-module__action-menu__list__item--disabled___MgaX8"
481
- }, Je = "action-menu", Xo = (d) => {
481
+ }, Je = "action-menu", jo = (d) => {
482
482
  var n = d, {
483
483
  className: t,
484
484
  options: a,
@@ -494,26 +494,26 @@ const Ko = {
494
494
  "openedOnInit",
495
495
  "keepOpenOnClick"
496
496
  ]);
497
- const [i, u] = e.useState(o), s = e.useRef(-1), m = (p) => {
498
- for (s.current = s.current + p; a[s.current].disabled; )
499
- s.current = s.current + p;
497
+ const [i, u] = e.useState(o), s = e.useRef(-1), p = (m) => {
498
+ for (s.current = s.current + m; a[s.current].disabled; )
499
+ s.current = s.current + m;
500
500
  return s.current;
501
- }, b = (p) => {
502
- var E, h;
503
- p.key === M.arrowUp && s.current > 0 && (p.preventDefault(), s.current = m(-1), (E = document.getElementById(`list-item-${s.current}`)) == null || E.focus()), p.key === M.arrowDown && s.current + 1 < a.length && (p.preventDefault(), s.current = m(1), (h = document.getElementById(`list-item-${s.current}`)) == null || h.focus());
501
+ }, v = (m) => {
502
+ var E, y;
503
+ m.key === M.arrowUp && s.current > 0 && (m.preventDefault(), s.current = p(-1), (E = document.getElementById(`list-item-${s.current}`)) == null || E.focus()), m.key === M.arrowDown && s.current + 1 < a.length && (m.preventDefault(), s.current = p(1), (y = document.getElementById(`list-item-${s.current}`)) == null || y.focus());
504
504
  };
505
505
  e.useEffect(() => {
506
506
  if (i)
507
- return document.addEventListener("keydown", b), () => document.removeEventListener("keydown", b);
507
+ return document.addEventListener("keydown", v), () => document.removeEventListener("keydown", v);
508
508
  s.current = -1;
509
- }, [i, b]);
510
- const v = () => {
509
+ }, [i, v]);
510
+ const b = () => {
511
511
  u(!0);
512
- }, g = (p) => {
513
- p(), l || u(!1);
512
+ }, g = (m) => {
513
+ m(), l || u(!1);
514
514
  };
515
515
  return /* @__PURE__ */ e.createElement(
516
- ur,
516
+ mr,
517
517
  {
518
518
  isVisible: i,
519
519
  placement: _,
@@ -523,7 +523,7 @@ const Ko = {
523
523
  {
524
524
  "data-testid": "action-menu-trigger-button",
525
525
  className: qe[`${Je}__trigger-button`],
526
- onClick: v
526
+ onClick: b
527
527
  },
528
528
  r
529
529
  )
@@ -535,22 +535,22 @@ const Ko = {
535
535
  role: "menu",
536
536
  "aria-hidden": !i
537
537
  }),
538
- a.map((p, E) => /* @__PURE__ */ e.createElement("li", { key: p.key, role: "none" }, /* @__PURE__ */ e.createElement(
538
+ a.map((m, E) => /* @__PURE__ */ e.createElement("li", { key: m.key, role: "none" }, /* @__PURE__ */ e.createElement(
539
539
  "button",
540
540
  {
541
541
  id: `list-item-${E}`,
542
- "data-testid": p.key,
542
+ "data-testid": m.key,
543
543
  tabIndex: -1,
544
- key: p.key,
545
- disabled: p.disabled,
546
- onClick: () => g(p.onClick),
544
+ key: m.key,
545
+ disabled: m.disabled,
546
+ onClick: () => g(m.onClick),
547
547
  role: "menuitem",
548
548
  className: f(qe[`${Je}__list__item`], {
549
- [qe[`${Je}__list__item--disabled`]]: p.disabled,
550
- [qe[`${Je}__list__item--with-divider`]]: p.withDivider
549
+ [qe[`${Je}__list__item--disabled`]]: m.disabled,
550
+ [qe[`${Je}__list__item--with-divider`]]: m.withDivider
551
551
  })
552
552
  },
553
- p.element
553
+ m.element
554
554
  )))
555
555
  )
556
556
  );
@@ -560,7 +560,7 @@ const Ko = {
560
560
  "action-menu-item__right-node": "lc-ActionMenuItem-module__action-menu-item__right-node___uq0Ym",
561
561
  "action-menu-item__label": "lc-ActionMenuItem-module__action-menu-item__label___OgJ80",
562
562
  "action-menu-item--warning": "lc-ActionMenuItem-module__action-menu-item--warning___DgeYg"
563
- }, Ze = "action-menu-item", jo = ({ leftNode: t, rightNode: a, children: r, kind: _ }) => /* @__PURE__ */ e.createElement(
563
+ }, Ze = "action-menu-item", el = ({ leftNode: t, rightNode: a, children: r, kind: _ }) => /* @__PURE__ */ e.createElement(
564
564
  "div",
565
565
  {
566
566
  className: f(Ke[Ze], {
@@ -570,22 +570,22 @@ const Ko = {
570
570
  t && /* @__PURE__ */ e.createElement("div", { className: Ke[`${Ze}__left-node`] }, t),
571
571
  /* @__PURE__ */ e.createElement(P, { as: "div", className: Ke[`${Ze}__label`] }, r),
572
572
  a && /* @__PURE__ */ e.createElement("div", { className: Ke[`${Ze}__right-node`] }, a)
573
- ), mr = "lc-Loader-module__loader___LRflD", pr = "lc-Loader-module__loader__spinner___l3C1g", gr = "lc-Loader-module__rotate___Tlni-", fr = "lc-Loader-module__loader__label___R74f6", Qe = {
574
- loader: mr,
575
- loader__spinner: pr,
573
+ ), pr = "lc-Loader-module__loader___LRflD", gr = "lc-Loader-module__loader__spinner___l3C1g", fr = "lc-Loader-module__rotate___Tlni-", br = "lc-Loader-module__loader__label___R74f6", Qe = {
574
+ loader: pr,
575
+ loader__spinner: gr,
576
576
  "loader__spinner--small": "lc-Loader-module__loader__spinner--small___dGFFt",
577
577
  "loader__spinner--medium": "lc-Loader-module__loader__spinner--medium___J-ki0",
578
578
  "loader__spinner--large": "lc-Loader-module__loader__spinner--large___Poqq7",
579
579
  "loader__spinner-circle": "lc-Loader-module__loader__spinner-circle___ApBUO",
580
- rotate: gr,
581
- loader__label: fr
582
- }, Aa = "loader", oa = `${Aa}__spinner`, Qt = ({
580
+ rotate: fr,
581
+ loader__label: br
582
+ }, Pa = "loader", oa = `${Pa}__spinner`, Qt = ({
583
583
  primaryColor: t,
584
584
  secondaryColor: a,
585
585
  label: r,
586
586
  className: _,
587
587
  size: o = "medium"
588
- }) => /* @__PURE__ */ e.createElement("div", { className: f(Qe[Aa], _) }, /* @__PURE__ */ e.createElement(
588
+ }) => /* @__PURE__ */ e.createElement("div", { className: f(Qe[Pa], _) }, /* @__PURE__ */ e.createElement(
589
589
  "div",
590
590
  {
591
591
  className: f(Qe[oa], Qe[`${oa}--${o}`])
@@ -601,8 +601,8 @@ const Ko = {
601
601
  }
602
602
  }
603
603
  )
604
- ), r && /* @__PURE__ */ e.createElement(P, { as: "div", size: "md", className: Qe.loader__label }, r)), br = "lc-Button-module__btn___aijZJ", vr = "lc-Button-module__btn__loader___c8zZz", hr = "lc-Button-module__btn__content___wefl2", yr = "lc-Button-module__btn__icon___GVExB", ae = {
605
- btn: br,
604
+ ), r && /* @__PURE__ */ e.createElement(P, { as: "div", size: "md", className: Qe.loader__label }, r)), vr = "lc-Button-module__btn___aijZJ", hr = "lc-Button-module__btn__loader___c8zZz", yr = "lc-Button-module__btn__content___wefl2", Er = "lc-Button-module__btn__icon___GVExB", ae = {
605
+ btn: vr,
606
606
  "btn--disabled": "lc-Button-module__btn--disabled___lXBav",
607
607
  "btn--full-width": "lc-Button-module__btn--full-width___kdbAr",
608
608
  "btn--basic": "lc-Button-module__btn--basic___Jc2gD",
@@ -619,15 +619,15 @@ const Ko = {
619
619
  "btn--float": "lc-Button-module__btn--float___J4lTs",
620
620
  "btn--dotted": "lc-Button-module__btn--dotted___y1EEP",
621
621
  "btn--loading": "lc-Button-module__btn--loading___ZAgjv",
622
- btn__loader: vr,
623
- btn__content: hr,
624
- btn__icon: yr,
622
+ btn__loader: hr,
623
+ btn__content: yr,
624
+ btn__icon: Er,
625
625
  "btn__icon--left": "lc-Button-module__btn__icon--left___H68zu",
626
626
  "btn__icon--right": "lc-Button-module__btn__icon--right___fHr3D",
627
627
  "btn--icon-only--bg": "lc-Button-module__btn--icon-only--bg___X-4V2"
628
628
  }, re = "btn", ne = e.forwardRef(
629
- (g, v) => {
630
- var p = g, {
629
+ (g, b) => {
630
+ var m = g, {
631
631
  loading: t = !1,
632
632
  disabled: a = !1,
633
633
  type: r = "button",
@@ -640,8 +640,8 @@ const Ko = {
640
640
  className: i,
641
641
  children: u,
642
642
  href: s,
643
- onClick: m
644
- } = p, b = A(p, [
643
+ onClick: p
644
+ } = m, v = A(m, [
645
645
  "loading",
646
646
  "disabled",
647
647
  "type",
@@ -656,13 +656,13 @@ const Ko = {
656
656
  "href",
657
657
  "onClick"
658
658
  ]);
659
- const E = t || a, h = !u && c, C = ["text", "plain", "plain-light"].includes(o), S = s ? "a" : "button", k = () => {
659
+ const E = t || a, y = !u && c, C = ["text", "plain", "plain-light"].includes(o), S = s ? "a" : "button", k = () => {
660
660
  if (o === "primary" || o === "destructive")
661
661
  return {
662
662
  primaryColor: "var(--action-primary-default)",
663
663
  secondaryColor: "var(--border-invert-primary)"
664
664
  };
665
- }, y = f(
665
+ }, h = f(
666
666
  i,
667
667
  ae[re],
668
668
  ae[`${re}--${o}`],
@@ -670,22 +670,22 @@ const Ko = {
670
670
  {
671
671
  [ae[`${re}--loading`]]: t,
672
672
  [ae[`${re}--full-width`]]: _,
673
- [ae[`${re}--icon-only`]]: h,
674
- [ae[`${re}--icon-only--bg`]]: h && C,
673
+ [ae[`${re}--icon-only`]]: y,
674
+ [ae[`${re}--icon-only--bg`]]: y && C,
675
675
  [ae[`${re}--disabled`]]: E
676
676
  }
677
677
  );
678
678
  return /* @__PURE__ */ e.createElement(
679
679
  S,
680
680
  w({
681
- ref: v,
682
- className: y,
681
+ ref: b,
682
+ className: h,
683
683
  "aria-disabled": E,
684
684
  type: r,
685
685
  href: E ? void 0 : s,
686
- onClick: E ? void 0 : m,
686
+ onClick: E ? void 0 : p,
687
687
  disabled: E
688
- }, b),
688
+ }, v),
689
689
  t && /* @__PURE__ */ e.createElement(
690
690
  Qt,
691
691
  w({
@@ -704,8 +704,8 @@ const Ko = {
704
704
  /* @__PURE__ */ e.createElement("div", { className: ae[`${re}__content`] }, u)
705
705
  );
706
706
  }
707
- ), Er = "lc-Icon-module__icon___tw31R", la = {
708
- icon: Er,
707
+ ), kr = "lc-Icon-module__icon___tw31R", la = {
708
+ icon: kr,
709
709
  "icon--primary": "lc-Icon-module__icon--primary___JJnBV",
710
710
  "icon--subtle": "lc-Icon-module__icon--subtle___sZIzL",
711
711
  "icon--inverted": "lc-Icon-module__icon--inverted___zA9QC",
@@ -738,7 +738,7 @@ const Ko = {
738
738
  "icon--disabled--action-positive": "lc-Icon-module__icon--disabled--action-positive___zaLja",
739
739
  "icon--disabled--action-warning": "lc-Icon-module__icon--disabled--action-warning___5VvCf",
740
740
  "icon--disabled--action-neutral": "lc-Icon-module__icon--disabled--action-neutral___SxlyC"
741
- }, kr = {
741
+ }, $r = {
742
742
  xsmall: {
743
743
  width: 12,
744
744
  height: 12
@@ -774,7 +774,7 @@ const Ko = {
774
774
  "disabled",
775
775
  "className",
776
776
  "customColor"
777
- ]), n = e.createElement(a, B(w({}, kr[r]), {
777
+ ]), n = e.createElement(a, B(w({}, $r[r]), {
778
778
  color: c
779
779
  })), i = f(
780
780
  l,
@@ -782,12 +782,12 @@ const Ko = {
782
782
  _ && la[`${ca}--${o ? "disabled--" : ""}${_}`]
783
783
  );
784
784
  return /* @__PURE__ */ e.createElement("span", B(w({}, d), { className: i }), n);
785
- }, $r = "lc-Alert-module__alert___HBTns", wr = "lc-Alert-module__alert__icon___8TaAH", Cr = "lc-Alert-module__alert__content___9nZdf", Nr = "lc-Alert-module__alert__content__text___7nx1p", xr = "lc-Alert-module__alert__content__cta___gTWPt", pe = {
786
- alert: $r,
787
- alert__icon: wr,
788
- alert__content: Cr,
789
- alert__content__text: Nr,
790
- alert__content__cta: xr,
785
+ }, wr = "lc-Alert-module__alert___HBTns", Cr = "lc-Alert-module__alert__icon___8TaAH", Nr = "lc-Alert-module__alert__content___9nZdf", xr = "lc-Alert-module__alert__content__text___7nx1p", Sr = "lc-Alert-module__alert__content__cta___gTWPt", fe = {
786
+ alert: wr,
787
+ alert__icon: Cr,
788
+ alert__content: Nr,
789
+ alert__content__text: xr,
790
+ alert__content__cta: Sr,
791
791
  "alert__close-icon": "lc-Alert-module__alert__close-icon___rYxVy",
792
792
  "alert--small": "lc-Alert-module__alert--small___Fyk-v",
793
793
  "alert--medium": "lc-Alert-module__alert--medium___ItZWT",
@@ -795,24 +795,24 @@ const Ko = {
795
795
  "alert--warning": "lc-Alert-module__alert--warning___MubhD",
796
796
  "alert--success": "lc-Alert-module__alert--success___fPtlZ",
797
797
  "alert--error": "lc-Alert-module__alert--error___DKPo0"
798
- }, Sr = {
798
+ }, Dr = {
799
799
  info: {
800
800
  source: qt,
801
801
  kind: "link"
802
802
  },
803
803
  warning: {
804
- source: Na,
804
+ source: xa,
805
805
  kind: "warning"
806
806
  },
807
807
  success: {
808
- source: xa,
808
+ source: Sa,
809
809
  kind: "success"
810
810
  },
811
811
  error: {
812
- source: Sa,
812
+ source: Da,
813
813
  kind: "error"
814
814
  }
815
- }, ge = "alert", el = (d) => {
815
+ }, be = "alert", tl = (d) => {
816
816
  var n = d, {
817
817
  children: t,
818
818
  className: a,
@@ -828,43 +828,43 @@ const Ko = {
828
828
  "kind",
829
829
  "onClose"
830
830
  ]);
831
- const i = e.useRef(null), [u, s] = e.useState(null), m = f(
832
- pe[ge],
833
- pe[`${ge}--${o}`],
834
- u === "medium" && pe[`${ge}--medium`],
835
- u === "small" && pe[`${ge}--small`],
831
+ const i = e.useRef(null), [u, s] = e.useState(null), p = f(
832
+ fe[be],
833
+ fe[`${be}--${o}`],
834
+ u === "medium" && fe[`${be}--medium`],
835
+ u === "small" && fe[`${be}--small`],
836
836
  a
837
837
  );
838
838
  return e.useEffect(() => {
839
- const b = () => i.current && i.current.offsetWidth <= 400 ? s("small") : i.current && i.current.offsetWidth > 400 && i.current.offsetWidth <= 800 ? s("medium") : s(null), v = Da(() => {
840
- b();
839
+ const v = () => i.current && i.current.offsetWidth <= 400 ? s("small") : i.current && i.current.offsetWidth > 400 && i.current.offsetWidth <= 800 ? s("medium") : s(null), b = Ta(() => {
840
+ v();
841
841
  }, 500);
842
- return window.addEventListener("resize", v), b(), () => window.removeEventListener("resize", v);
843
- }), /* @__PURE__ */ e.createElement("div", w({ ref: i, className: m }, c), /* @__PURE__ */ e.createElement(
842
+ return window.addEventListener("resize", b), v(), () => window.removeEventListener("resize", b);
843
+ }), /* @__PURE__ */ e.createElement("div", w({ ref: i, className: p }, c), /* @__PURE__ */ e.createElement(
844
844
  I,
845
- B(w({}, Sr[o]), {
845
+ B(w({}, Dr[o]), {
846
846
  size: "large",
847
- className: pe[`${ge}__icon`]
847
+ className: fe[`${be}__icon`]
848
848
  })
849
- ), /* @__PURE__ */ e.createElement("div", { className: pe[`${ge}__content`] }, /* @__PURE__ */ e.createElement(P, { as: "div", className: pe[`${ge}__content__text`] }, t), (r || _) && /* @__PURE__ */ e.createElement("div", { className: pe[`${ge}__content__cta`] }, r && /* @__PURE__ */ e.createElement(ne, { kind: "primary", onClick: r.handleClick }, r.label), _ && /* @__PURE__ */ e.createElement(ne, { kind: "text", onClick: _.handleClick }, _.label))), l && /* @__PURE__ */ e.createElement(
849
+ ), /* @__PURE__ */ e.createElement("div", { className: fe[`${be}__content`] }, /* @__PURE__ */ e.createElement(P, { as: "div", className: fe[`${be}__content__text`] }, t), (r || _) && /* @__PURE__ */ e.createElement("div", { className: fe[`${be}__content__cta`] }, r && /* @__PURE__ */ e.createElement(ne, { kind: "primary", onClick: r.handleClick }, r.label), _ && /* @__PURE__ */ e.createElement(ne, { kind: "text", onClick: _.handleClick }, _.label))), l && /* @__PURE__ */ e.createElement(
850
850
  "button",
851
851
  {
852
852
  type: "button",
853
- className: pe[`${ge}__close-icon`],
853
+ className: fe[`${be}__close-icon`],
854
854
  onClick: l
855
855
  },
856
856
  /* @__PURE__ */ e.createElement(I, { source: xe, kind: "subtle" })
857
857
  ));
858
858
  };
859
- function Dr(t = "", a = 2) {
859
+ function Tr(t = "", a = 2) {
860
860
  return t.split(" ").map((r) => r.charAt(0)).join("").substring(0, a).toUpperCase();
861
861
  }
862
- function Tr(t) {
862
+ function Ir(t) {
863
863
  return Kt(t, "#FFFFFF") > 4.5 ? "var(--color-white)" : "var(--color-black)";
864
864
  }
865
- const Ir = "lc-Avatar-module__avatar___1zTCE", Br = "lc-Avatar-module__avatar__status___nX2Ls", Ar = "lc-Avatar-module__avatar__rim___RCQ8Q", Pr = "lc-Avatar-module__avatar__image___YqfqE", ee = {
866
- avatar: Ir,
867
- avatar__status: Br,
865
+ const Br = "lc-Avatar-module__avatar___1zTCE", Ar = "lc-Avatar-module__avatar__status___nX2Ls", Pr = "lc-Avatar-module__avatar__rim___RCQ8Q", Fr = "lc-Avatar-module__avatar__image___YqfqE", ee = {
866
+ avatar: Br,
867
+ avatar__status: Ar,
868
868
  "avatar__status--available": "lc-Avatar-module__avatar__status--available___tcpFg",
869
869
  "avatar__status--unavailable": "lc-Avatar-module__avatar__status--unavailable___ciauF",
870
870
  "avatar__status--unknown": "lc-Avatar-module__avatar__status--unknown___MBaGB",
@@ -879,7 +879,7 @@ const Ir = "lc-Avatar-module__avatar___1zTCE", Br = "lc-Avatar-module__avatar__s
879
879
  "avatar__status--xxlarge": "lc-Avatar-module__avatar__status--xxlarge___crG9D",
880
880
  "avatar__status--xxxlarge": "lc-Avatar-module__avatar__status--xxxlarge___Iv61X",
881
881
  "avatar__status--rounded-square": "lc-Avatar-module__avatar__status--rounded-square___-My1P",
882
- avatar__rim: Ar,
882
+ avatar__rim: Pr,
883
883
  "avatar__rim--xxxsmall": "lc-Avatar-module__avatar__rim--xxxsmall___0CH9D",
884
884
  "avatar__rim--xxsmall": "lc-Avatar-module__avatar__rim--xxsmall___Mde0K",
885
885
  "avatar__rim--xsmall": "lc-Avatar-module__avatar__rim--xsmall___LAN-b",
@@ -889,7 +889,7 @@ const Ir = "lc-Avatar-module__avatar___1zTCE", Br = "lc-Avatar-module__avatar__s
889
889
  "avatar__rim--xlarge": "lc-Avatar-module__avatar__rim--xlarge___CY0kN",
890
890
  "avatar__rim--xxlarge": "lc-Avatar-module__avatar__rim--xxlarge___tE053",
891
891
  "avatar__rim--xxxlarge": "lc-Avatar-module__avatar__rim--xxxlarge___amlGP",
892
- avatar__image: Pr,
892
+ avatar__image: Fr,
893
893
  "avatar__icon--xxxsmall": "lc-Avatar-module__avatar__icon--xxxsmall___KaoMa",
894
894
  "avatar__icon--xxsmall": "lc-Avatar-module__avatar__icon--xxsmall___NJJNV",
895
895
  "avatar__icon--xsmall": "lc-Avatar-module__avatar__icon--xsmall___yHEZK",
@@ -911,7 +911,7 @@ const Ir = "lc-Avatar-module__avatar___1zTCE", Br = "lc-Avatar-module__avatar__s
911
911
  "avatar--xlarge": "lc-Avatar-module__avatar--xlarge___zwgeW",
912
912
  "avatar--xxlarge": "lc-Avatar-module__avatar--xxlarge___Ur0ul",
913
913
  "avatar--xxxlarge": "lc-Avatar-module__avatar--xxxlarge___Z-54U"
914
- }, V = "avatar", tl = ({
914
+ }, V = "avatar", al = ({
915
915
  alt: t,
916
916
  className: a,
917
917
  color: r,
@@ -923,7 +923,7 @@ const Ir = "lc-Avatar-module__avatar___1zTCE", Br = "lc-Avatar-module__avatar__s
923
923
  type: n,
924
924
  withRim: i = !1
925
925
  }) => {
926
- const u = n === "image" && !l, [s, m] = e.useState(u), b = n === "image" && !!l && !s, v = n === "text", g = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, p = Dr(d, g), E = r && Tr(r), h = f(w({
926
+ const u = n === "image" && !l, [s, p] = e.useState(u), v = n === "image" && !!l && !s, b = n === "text", g = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, m = Tr(d, g), E = r && Ir(r), y = f(w({
927
927
  [ee[V]]: !0,
928
928
  [ee[`${V}--${_}`]]: !0,
929
929
  [ee[`${V}--${o}`]]: !0,
@@ -939,10 +939,10 @@ const Ir = "lc-Avatar-module__avatar___1zTCE", Br = "lc-Avatar-module__avatar__s
939
939
  ), k = f(
940
940
  ee[`${V}__rim`],
941
941
  ee[`${V}__rim--${o}`]
942
- ), y = e.useCallback(() => m(!0), []);
942
+ ), h = e.useCallback(() => p(!0), []);
943
943
  return e.useEffect(() => {
944
- m(u);
945
- }, [u]), /* @__PURE__ */ e.createElement("div", { className: h, style: { backgroundColor: r } }, i && /* @__PURE__ */ e.createElement(
944
+ p(u);
945
+ }, [u]), /* @__PURE__ */ e.createElement("div", { className: y, style: { backgroundColor: r } }, i && /* @__PURE__ */ e.createElement(
946
946
  "div",
947
947
  {
948
948
  "data-testid": `${V}__rim`,
@@ -954,36 +954,36 @@ const Ir = "lc-Avatar-module__avatar___1zTCE", Br = "lc-Avatar-module__avatar__s
954
954
  "data-testid": `${V}__status`,
955
955
  className: C
956
956
  }
957
- ), b && /* @__PURE__ */ e.createElement(
957
+ ), v && /* @__PURE__ */ e.createElement(
958
958
  "img",
959
959
  {
960
960
  className: ee[`${V}__image`],
961
961
  src: l,
962
962
  alt: t,
963
- onError: y
963
+ onError: h
964
964
  }
965
- ), v && /* @__PURE__ */ e.createElement("span", { style: { color: E } }, p), s && /* @__PURE__ */ e.createElement(
965
+ ), b && /* @__PURE__ */ e.createElement("span", { style: { color: E } }, m), s && /* @__PURE__ */ e.createElement(
966
966
  I,
967
967
  {
968
968
  "data-testid": `${V}__icon`,
969
969
  className: S,
970
- source: Ka
970
+ source: Za
971
971
  }
972
972
  ));
973
973
  };
974
- function Fr(t, a) {
974
+ function Rr(t, a) {
975
975
  return t > a ? `${a}+` : `${t}`;
976
976
  }
977
- const Rr = "lc-Badge-module__badge___GhLnu", Mr = "lc-Badge-module__badge__dot___z6RO6", gt = {
978
- badge: Rr,
979
- badge__dot: Mr,
977
+ const Mr = "lc-Badge-module__badge___GhLnu", Lr = "lc-Badge-module__badge__dot___z6RO6", gt = {
978
+ badge: Mr,
979
+ badge__dot: Lr,
980
980
  "badge--large": "lc-Badge-module__badge--large___B131q",
981
981
  "badge--medium": "lc-Badge-module__badge--medium___TDU8a",
982
982
  "badge--compact": "lc-Badge-module__badge--compact___9xJ4y",
983
983
  "badge--primary": "lc-Badge-module__badge--primary___8LRpp",
984
984
  "badge--secondary": "lc-Badge-module__badge--secondary___JjNIJ",
985
985
  "badge--tertiary": "lc-Badge-module__badge--tertiary___e83wV"
986
- }, ft = "badge", Lr = (d) => {
986
+ }, ft = "badge", Or = (d) => {
987
987
  var n = d, {
988
988
  className: t,
989
989
  count: a = 0,
@@ -1005,7 +1005,7 @@ const Rr = "lc-Badge-module__badge___GhLnu", Mr = "lc-Badge-module__badge__dot__
1005
1005
  gt[`${ft}--${_}`],
1006
1006
  gt[`${ft}--${o}`]
1007
1007
  ), u = {
1008
- counter: Fr(a, r),
1008
+ counter: Rr(a, r),
1009
1009
  alert: "!",
1010
1010
  dot: /* @__PURE__ */ e.createElement("span", { className: gt[`${ft}__dot`] })
1011
1011
  }[l];
@@ -1013,14 +1013,14 @@ const Rr = "lc-Badge-module__badge___GhLnu", Mr = "lc-Badge-module__badge__dot__
1013
1013
  };
1014
1014
  function Wt() {
1015
1015
  }
1016
- const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1016
+ const zr = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1017
1017
  "segmented-control": "lc-SegmentedControl-module__segmented-control___LHWSk",
1018
- btn: Or,
1018
+ btn: zr,
1019
1019
  "btn--active": "lc-SegmentedControl-module__btn--active___Za-th",
1020
1020
  "btn--compact": "lc-SegmentedControl-module__btn--compact___gcSwq",
1021
1021
  "btn--medium": "lc-SegmentedControl-module__btn--medium___w3UzC",
1022
1022
  "btn--large": "lc-SegmentedControl-module__btn--large___yHPw4"
1023
- }, zr = "segmented-control", al = ({
1023
+ }, Hr = "segmented-control", rl = ({
1024
1024
  size: t = "medium",
1025
1025
  buttons: a,
1026
1026
  className: r,
@@ -1029,48 +1029,48 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1029
1029
  fullWidth: l = !1,
1030
1030
  onButtonClick: c = Wt
1031
1031
  }) => {
1032
- const d = f(bt[zr], r), [n, i] = e.useState(() => _), u = typeof o == "string";
1032
+ const d = f(bt[Hr], r), [n, i] = e.useState(() => _), u = typeof o == "string";
1033
1033
  e.useEffect(() => {
1034
1034
  u && i(o);
1035
1035
  }, [o]);
1036
- const s = (b, v) => {
1037
- u || i(b), c(b, v);
1038
- }, m = a.map(({ id: b, label: v, loading: g, disabled: p, icon: E }) => {
1039
- const h = b === n, C = h ? bt["btn--active"] : "", S = h ? !1 : g;
1036
+ const s = (v, b) => {
1037
+ u || i(v), c(v, b);
1038
+ }, p = a.map(({ id: v, label: b, loading: g, disabled: m, icon: E }) => {
1039
+ const y = v === n, C = y ? bt["btn--active"] : "", S = y ? !1 : g;
1040
1040
  return /* @__PURE__ */ e.createElement(
1041
1041
  ne,
1042
1042
  {
1043
- key: b,
1043
+ key: v,
1044
1044
  fullWidth: l,
1045
1045
  loading: S,
1046
- disabled: p,
1047
- "aria-pressed": h,
1046
+ disabled: m,
1047
+ "aria-pressed": y,
1048
1048
  kind: "secondary",
1049
1049
  icon: E,
1050
1050
  className: f(bt.btn, bt[`btn--${t}`], C),
1051
1051
  onClick: (k) => {
1052
- s(b, k);
1052
+ s(v, k);
1053
1053
  }
1054
1054
  },
1055
- v
1055
+ b
1056
1056
  );
1057
1057
  });
1058
- return /* @__PURE__ */ e.createElement("div", { role: "group", className: d }, m);
1059
- }, Hr = "lc-Card-module__card___GqMm2", Gr = "lc-Card-module__card__header___0ptfD", Ur = "lc-Card-module__card__header__image___QMwSu", Wr = "lc-Card-module__card__header__heading___Wkikx", Vr = "lc-Card-module__card__header__heading__title___Uxi8s", Yr = "lc-Card-module__card__header__heading__description___6LnOK", qr = "lc-Card-module__card__content___KuDcc", Jr = "lc-Card-module__card__actions___q9sAo", Kr = "lc-Card-module__card__actions__line___TF1bt", Zr = "lc-Card-module__card__actions__buttons___PDMMR", te = {
1060
- card: Hr,
1061
- card__header: Gr,
1062
- card__header__image: Ur,
1063
- card__header__heading: Wr,
1064
- card__header__heading__title: Vr,
1065
- card__header__heading__description: Yr,
1058
+ return /* @__PURE__ */ e.createElement("div", { role: "group", className: d }, p);
1059
+ }, Gr = "lc-Card-module__card___GqMm2", Ur = "lc-Card-module__card__header___0ptfD", Wr = "lc-Card-module__card__header__image___QMwSu", Vr = "lc-Card-module__card__header__heading___Wkikx", Yr = "lc-Card-module__card__header__heading__title___Uxi8s", qr = "lc-Card-module__card__header__heading__description___6LnOK", Jr = "lc-Card-module__card__content___KuDcc", Kr = "lc-Card-module__card__actions___q9sAo", Zr = "lc-Card-module__card__actions__line___TF1bt", Qr = "lc-Card-module__card__actions__buttons___PDMMR", te = {
1060
+ card: Gr,
1061
+ card__header: Ur,
1062
+ card__header__image: Wr,
1063
+ card__header__heading: Vr,
1064
+ card__header__heading__title: Yr,
1065
+ card__header__heading__description: qr,
1066
1066
  "card__header__no-image": "lc-Card-module__card__header__no-image___UcnNY",
1067
- card__content: qr,
1067
+ card__content: Jr,
1068
1068
  "card__expanded-content": "lc-Card-module__card__expanded-content___yB-QL",
1069
- card__actions: Jr,
1070
- card__actions__line: Kr,
1071
- card__actions__buttons: Zr,
1069
+ card__actions: Kr,
1070
+ card__actions__line: Zr,
1071
+ card__actions__buttons: Qr,
1072
1072
  "card__actions__buttons-expander": "lc-Card-module__card__actions__buttons-expander___lz4h-"
1073
- }, nt = "card", xt = `${nt}__header`, Pt = `${xt}__heading`, vt = `${nt}__actions`, Qr = `${xt}__no-image`, rl = (i) => {
1073
+ }, nt = "card", xt = `${nt}__header`, Pt = `${xt}__heading`, vt = `${nt}__actions`, Xr = `${xt}__no-image`, _l = (i) => {
1074
1074
  var u = i, {
1075
1075
  alt: t,
1076
1076
  buttonsOptions: a = [],
@@ -1090,8 +1090,8 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1090
1090
  "src",
1091
1091
  "title"
1092
1092
  ]);
1093
- const [s, m] = e.useState(!1), b = s ? St : Dt, v = s ? "Hide" : "Show more", g = (a == null ? void 0 : a.length) > 0, p = !!l, E = g || p, h = d, C = c, S = C ? "" : te[Qr];
1094
- return /* @__PURE__ */ e.createElement("div", w({ className: f(te[nt], _) }, n), h && /* @__PURE__ */ e.createElement("div", { className: f(te[xt], S) }, C && /* @__PURE__ */ e.createElement(
1093
+ const [s, p] = e.useState(!1), v = s ? St : Dt, b = s ? "Hide" : "Show more", g = (a == null ? void 0 : a.length) > 0, m = !!l, E = g || m, y = d, C = c, S = C ? "" : te[Xr];
1094
+ return /* @__PURE__ */ e.createElement("div", w({ className: f(te[nt], _) }, n), y && /* @__PURE__ */ e.createElement("div", { className: f(te[xt], S) }, C && /* @__PURE__ */ e.createElement(
1095
1095
  "img",
1096
1096
  {
1097
1097
  alt: t,
@@ -1107,21 +1107,21 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1107
1107
  },
1108
1108
  l
1109
1109
  ), E && /* @__PURE__ */ e.createElement("div", { className: te[vt] }, /* @__PURE__ */ e.createElement("div", { className: te[`${vt}__line`] }), /* @__PURE__ */ e.createElement("div", { className: te[`${vt}__buttons`] }, g && a.map(
1110
- ({ kind: k, onClick: y, children: N }) => /* @__PURE__ */ e.createElement(ne, { size: "compact", kind: k, onClick: y }, N)
1111
- ), p && /* @__PURE__ */ e.createElement(
1110
+ ({ kind: k, onClick: h, children: N }) => /* @__PURE__ */ e.createElement(ne, { size: "compact", kind: k, onClick: h }, N)
1111
+ ), m && /* @__PURE__ */ e.createElement(
1112
1112
  ne,
1113
1113
  {
1114
1114
  className: te[`${vt}__buttons-expander`],
1115
1115
  kind: "plain",
1116
1116
  iconPosition: "right",
1117
- icon: /* @__PURE__ */ e.createElement(I, { source: b }),
1118
- onClick: () => m(!s)
1117
+ icon: /* @__PURE__ */ e.createElement(I, { source: v }),
1118
+ onClick: () => p(!s)
1119
1119
  },
1120
- v
1120
+ b
1121
1121
  ))));
1122
- }, Xr = {
1122
+ }, jr = {
1123
1123
  "field-description": "lc-FieldDescription-module__field-description___IcRDH"
1124
- }, jr = "field-description", Tt = (_) => {
1124
+ }, e_ = "field-description", Tt = (_) => {
1125
1125
  var o = _, {
1126
1126
  children: t,
1127
1127
  className: a = ""
@@ -1129,19 +1129,19 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1129
1129
  "children",
1130
1130
  "className"
1131
1131
  ]);
1132
- const l = f(Xr[jr], a);
1132
+ const l = f(jr[e_], a);
1133
1133
  return /* @__PURE__ */ e.createElement(P, B(w({ as: "span", size: "sm" }, r), { className: l }), t);
1134
- }, e_ = "lc-Checkbox-module__checkbox___G7nTf", t_ = "lc-Checkbox-module__checkbox__label___-o01x", a_ = "lc-Checkbox-module__checkbox__text___P2SIq", r_ = "lc-Checkbox-module__checkbox__input___YLbVF", __ = "lc-Checkbox-module__checkbox__checkmark___16pfY", o_ = "lc-Checkbox-module__checkbox__square___MHUyd", l_ = "lc-Checkbox-module__checkbox__helper___YSJ-n", Ie = {
1135
- checkbox: e_,
1136
- checkbox__label: t_,
1137
- checkbox__text: a_,
1138
- checkbox__input: r_,
1139
- checkbox__checkmark: __,
1134
+ }, t_ = "lc-Checkbox-module__checkbox___G7nTf", a_ = "lc-Checkbox-module__checkbox__label___-o01x", r_ = "lc-Checkbox-module__checkbox__text___P2SIq", __ = "lc-Checkbox-module__checkbox__input___YLbVF", o_ = "lc-Checkbox-module__checkbox__checkmark___16pfY", l_ = "lc-Checkbox-module__checkbox__square___MHUyd", c_ = "lc-Checkbox-module__checkbox__helper___YSJ-n", Ie = {
1135
+ checkbox: t_,
1136
+ checkbox__label: a_,
1137
+ checkbox__text: r_,
1138
+ checkbox__input: __,
1139
+ checkbox__checkmark: o_,
1140
1140
  "checkbox--selected": "lc-Checkbox-module__checkbox--selected___S2vqY",
1141
- checkbox__square: o_,
1141
+ checkbox__square: l_,
1142
1142
  "checkbox--disabled": "lc-Checkbox-module__checkbox--disabled___-lAqW",
1143
- checkbox__helper: l_
1144
- }, Be = "checkbox", _l = e.forwardRef(
1143
+ checkbox__helper: c_
1144
+ }, Be = "checkbox", ol = e.forwardRef(
1145
1145
  (d, c) => {
1146
1146
  var n = d, { checked: t, disabled: a, children: r, description: _, className: o } = n, l = A(n, ["checked", "disabled", "children", "description", "className"]);
1147
1147
  return /* @__PURE__ */ e.createElement(
@@ -1200,7 +1200,7 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1200
1200
  "date-picker--range__select-input": "lc-DatePicker-module__date-picker--range__select-input___6pyj3",
1201
1201
  "date-picker--range__calendars-wrapper": "lc-DatePicker-module__date-picker--range__calendars-wrapper___8nWaW",
1202
1202
  "date-picker__navbar-buttons-wrapper": "lc-DatePicker-module__date-picker__navbar-buttons-wrapper___Hnksb"
1203
- }, na = "date-picker", c_ = (t) => {
1203
+ }, na = "date-picker", n_ = (t) => {
1204
1204
  const {
1205
1205
  onPreviousClick: a,
1206
1206
  onMonthChange: r,
@@ -1213,28 +1213,28 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1213
1213
  month: i,
1214
1214
  fromMonth: u,
1215
1215
  toMonth: s
1216
- } = t, m = () => {
1216
+ } = t, p = () => {
1217
1217
  typeof a == "function" && a();
1218
- }, b = () => {
1219
- typeof _ == "function" && _();
1220
1218
  }, v = () => {
1219
+ typeof _ == "function" && _();
1220
+ }, b = () => {
1221
1221
  if (!u) {
1222
- const h = Ue(i, 12);
1223
- return r(h);
1222
+ const y = Ue(i, 12);
1223
+ return r(y);
1224
1224
  }
1225
- const p = Math.abs(ta(i, u)), E = Ue(
1225
+ const m = Math.abs(ta(i, u)), E = Ue(
1226
1226
  i,
1227
- !Number.isNaN(p) && p > 12 ? 12 : p
1227
+ !Number.isNaN(m) && m > 12 ? 12 : m
1228
1228
  );
1229
1229
  return r(E);
1230
1230
  }, g = () => {
1231
1231
  if (!s) {
1232
- const h = aa(i, 12);
1233
- return r(h);
1232
+ const y = aa(i, 12);
1233
+ return r(y);
1234
1234
  }
1235
- const p = Math.abs(ta(s, i)), E = aa(
1235
+ const m = Math.abs(ta(s, i)), E = aa(
1236
1236
  i,
1237
- !Number.isNaN(p) && p > 12 ? 12 : p
1237
+ !Number.isNaN(m) && m > 12 ? 12 : m
1238
1238
  );
1239
1239
  return n === 2 && Ht(E, s) ? r(Ue(E, 1)) : r(E);
1240
1240
  };
@@ -1246,9 +1246,9 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1246
1246
  [d.navButtonPrev]: !0,
1247
1247
  [d.navButtonInteractionDisabled]: !l
1248
1248
  }),
1249
- onClick: v
1249
+ onClick: b
1250
1250
  },
1251
- /* @__PURE__ */ e.createElement(I, { source: rr, kind: "subtle" })
1251
+ /* @__PURE__ */ e.createElement(I, { source: _r, kind: "subtle" })
1252
1252
  ), /* @__PURE__ */ e.createElement(
1253
1253
  "button",
1254
1254
  {
@@ -1257,9 +1257,9 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1257
1257
  [d.navButtonPrev]: !0,
1258
1258
  [d.navButtonInteractionDisabled]: !l
1259
1259
  }),
1260
- onClick: m
1260
+ onClick: p
1261
1261
  },
1262
- /* @__PURE__ */ e.createElement(I, { source: _r, kind: "subtle" })
1262
+ /* @__PURE__ */ e.createElement(I, { source: or, kind: "subtle" })
1263
1263
  )), /* @__PURE__ */ e.createElement("div", { className: D[`${na}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
1264
1264
  "button",
1265
1265
  {
@@ -1268,9 +1268,9 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1268
1268
  [d.navButtonNext]: !0,
1269
1269
  [d.navButtonInteractionDisabled]: !o
1270
1270
  }),
1271
- onClick: b
1271
+ onClick: v
1272
1272
  },
1273
- /* @__PURE__ */ e.createElement(I, { source: or, kind: "subtle" })
1273
+ /* @__PURE__ */ e.createElement(I, { source: lr, kind: "subtle" })
1274
1274
  ), /* @__PURE__ */ e.createElement(
1275
1275
  "button",
1276
1276
  {
@@ -1281,12 +1281,12 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1281
1281
  }),
1282
1282
  onClick: g
1283
1283
  },
1284
- /* @__PURE__ */ e.createElement(I, { source: lr, kind: "subtle" })
1284
+ /* @__PURE__ */ e.createElement(I, { source: cr, kind: "subtle" })
1285
1285
  )));
1286
- }, T = "date-picker", Pa = (t, a) => {
1286
+ }, T = "date-picker", Fa = (t, a) => {
1287
1287
  const { from: r, to: _ } = a;
1288
1288
  return !(_ && !Gt(t, _) && Ut(t, _) || r && !Gt(t, r) && !Ut(t, r));
1289
- }, Fa = (t, a, r) => a ? t && !Ht(t, a) || r && Ht(a, r) ? Ue(a, 1) : a : Ue(r || /* @__PURE__ */ new Date(), 1), n_ = (t, a) => {
1289
+ }, Ra = (t, a, r) => a ? t && !Ht(t, a) || r && Ht(a, r) ? Ue(a, 1) : a : Ue(r || /* @__PURE__ */ new Date(), 1), s_ = (t, a) => {
1290
1290
  const r = {
1291
1291
  [D[`${T}__day--monday`]]: { daysOfWeek: [1] },
1292
1292
  [D[`${T}__day--sunday`]]: { daysOfWeek: [0] },
@@ -1295,7 +1295,7 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1295
1295
  };
1296
1296
  if (!a || !t)
1297
1297
  return r;
1298
- const _ = Ia(a, t);
1298
+ const _ = Ba(a, t);
1299
1299
  return _ > 0 ? B(w({}, r), {
1300
1300
  [D[`${T}__day--end`]]: a
1301
1301
  }) : _ < 0 ? B(w({}, r), {
@@ -1304,7 +1304,7 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1304
1304
  }, lt = (t, a) => {
1305
1305
  const r = a.find((_) => _.id === t);
1306
1306
  return r || void 0;
1307
- }, sa = (t, a) => !!(!t || t && a), s_ = (t) => {
1307
+ }, sa = (t, a) => !!(!t || t && a), i_ = (t) => {
1308
1308
  const a = {};
1309
1309
  if (!t.initialSelectedItemKey)
1310
1310
  return a;
@@ -1313,7 +1313,7 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1313
1313
  t.options
1314
1314
  );
1315
1315
  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) : {};
1316
- }, i_ = (t, a) => w({
1316
+ }, d_ = (t, a) => w({
1317
1317
  container: Pe({
1318
1318
  [D[`${T}`]]: !0,
1319
1319
  [D[`${T}--range`]]: t
@@ -1348,10 +1348,10 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1348
1348
  outside: D[`${T}__day--outside`],
1349
1349
  start: D[`${T}__day--start`],
1350
1350
  end: D[`${T}__day--end`]
1351
- }, a), ia = "date-picker", d_ = (t) => {
1351
+ }, a), ia = "date-picker", u_ = (t) => {
1352
1352
  const a = t.getDate();
1353
1353
  return /* @__PURE__ */ e.createElement("div", { className: D[`${ia}__day-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: D[`${ia}__day-content`] }, a));
1354
- }, u_ = (t) => {
1354
+ }, m_ = (t) => {
1355
1355
  const E = t, {
1356
1356
  classNames: a,
1357
1357
  range: r,
@@ -1374,59 +1374,59 @@ const Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1374
1374
  "navbarElement",
1375
1375
  "renderDay",
1376
1376
  "innerRef"
1377
- ]), [m, b] = e.useState(o || /* @__PURE__ */ new Date());
1377
+ ]), [p, v] = e.useState(o || /* @__PURE__ */ new Date());
1378
1378
  e.useEffect(() => {
1379
- o && o !== m && b(o);
1380
- }, [o, m]), e.useEffect(() => {
1381
- _ && (Pa(m, { from: l, to: _ }) || b(_));
1382
- }, [m, t.toMonth, t.fromMonth]);
1383
- const v = e.useCallback(
1384
- (h) => {
1385
- if (t.onMonthChange && h) {
1386
- t.onMonthChange(h);
1379
+ o && o !== p && v(o);
1380
+ }, [o, p]), e.useEffect(() => {
1381
+ _ && (Fa(p, { from: l, to: _ }) || v(_));
1382
+ }, [p, t.toMonth, t.fromMonth]);
1383
+ const b = e.useCallback(
1384
+ (y) => {
1385
+ if (t.onMonthChange && y) {
1386
+ t.onMonthChange(y);
1387
1387
  return;
1388
1388
  }
1389
- b(h);
1389
+ v(y);
1390
1390
  },
1391
1391
  [o, t.onMonthChange]
1392
1392
  );
1393
1393
  let g = 1;
1394
1394
  (c === 0 || c && c < 7) && (g = c);
1395
- const p = e.useMemo(
1396
- () => i_(r, a),
1395
+ const m = e.useMemo(
1396
+ () => d_(r, a),
1397
1397
  [r, a]
1398
1398
  );
1399
1399
  return /* @__PURE__ */ e.createElement(
1400
- ar,
1400
+ rr,
1401
1401
  w({
1402
1402
  navbarElement: n || /* @__PURE__ */ e.createElement(
1403
- c_,
1403
+ n_,
1404
1404
  {
1405
- month: m,
1406
- classNames: p,
1405
+ month: p,
1406
+ classNames: m,
1407
1407
  numberOfMonths: d,
1408
- onMonthChange: v,
1408
+ onMonthChange: b,
1409
1409
  toMonth: _,
1410
1410
  fromMonth: l
1411
1411
  }
1412
1412
  ),
1413
1413
  ref: u,
1414
- classNames: p,
1414
+ classNames: m,
1415
1415
  numberOfMonths: d,
1416
1416
  toMonth: _,
1417
1417
  fromMonth: l,
1418
1418
  firstDayOfWeek: g,
1419
- month: m,
1420
- renderDay: i || d_
1419
+ month: p,
1420
+ renderDay: i || u_
1421
1421
  }, s)
1422
1422
  );
1423
- }, m_ = e.forwardRef(
1424
- (t, a) => /* @__PURE__ */ e.createElement(u_, w({ innerRef: a }, t))
1423
+ }, p_ = e.forwardRef(
1424
+ (t, a) => /* @__PURE__ */ e.createElement(m_, w({ innerRef: a }, t))
1425
1425
  );
1426
- m_.displayName = "DatePicker";
1426
+ p_.displayName = "DatePicker";
1427
1427
  var L = /* @__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))(L || {});
1428
- const p_ = (t) => {
1429
- const a = Fa(
1428
+ const g_ = (t) => {
1429
+ const a = Ra(
1430
1430
  t.initialFromDate,
1431
1431
  t.initialToDate,
1432
1432
  t.toMonth
@@ -1436,7 +1436,7 @@ const p_ = (t) => {
1436
1436
  to: void 0,
1437
1437
  temporaryTo: void 0,
1438
1438
  currentMonth: a
1439
- }), s_(t));
1439
+ }), i_(t));
1440
1440
  function o(l, c) {
1441
1441
  switch (c.type) {
1442
1442
  case L.NEW_SELECTED_ITEM:
@@ -1484,8 +1484,8 @@ const p_ = (t) => {
1484
1484
  return l;
1485
1485
  }
1486
1486
  }
1487
- return Ya(o, _);
1488
- }, g_ = ({
1487
+ return qa(o, _);
1488
+ }, f_ = ({
1489
1489
  options: t,
1490
1490
  initialSelectedItemKey: a,
1491
1491
  initialFromDate: r,
@@ -1494,9 +1494,9 @@ const p_ = (t) => {
1494
1494
  onChange: l,
1495
1495
  children: c
1496
1496
  }) => {
1497
- const d = qa(
1497
+ const d = Ja(
1498
1498
  a || null
1499
- ), [n, i] = p_({
1499
+ ), [n, i] = g_({
1500
1500
  options: t,
1501
1501
  initialSelectedItemKey: a,
1502
1502
  initialFromDate: r,
@@ -1516,7 +1516,7 @@ const p_ = (t) => {
1516
1516
  payload: { date: _ }
1517
1517
  });
1518
1518
  }, [_]), Ve(() => {
1519
- const g = Fa(
1519
+ const g = Ra(
1520
1520
  r,
1521
1521
  _,
1522
1522
  o
@@ -1526,11 +1526,11 @@ const p_ = (t) => {
1526
1526
  payload: { date: g }
1527
1527
  });
1528
1528
  }, [o, r, _]), Ve(() => {
1529
- const { from: g, selectedItem: p, to: E } = n;
1529
+ const { from: g, selectedItem: m, to: E } = n;
1530
1530
  if (!(g && E))
1531
1531
  return;
1532
- const h = lt(p, t);
1533
- h && (l == null || l(B(w({}, h), {
1532
+ const y = lt(m, t);
1533
+ y && (l == null || l(B(w({}, y), {
1534
1534
  value: {
1535
1535
  from: g,
1536
1536
  to: E
@@ -1547,15 +1547,15 @@ const p_ = (t) => {
1547
1547
  if (!lt(g, t))
1548
1548
  return;
1549
1549
  const E = t.reduce(
1550
- (h, C) => B(w({}, h), { [C.id]: C }),
1550
+ (y, C) => B(w({}, y), { [C.id]: C }),
1551
1551
  {}
1552
1552
  );
1553
1553
  l(E[g]);
1554
1554
  }, [l, n.selectedItem, t]);
1555
1555
  const u = mt(
1556
1556
  (g) => {
1557
- const p = o ? Ia(o, g) >= 0 : !0;
1558
- !sa(n.from, n.to) && p && i({
1557
+ const m = o ? Ba(o, g) >= 0 : !0;
1558
+ !sa(n.from, n.to) && m && i({
1559
1559
  type: L.NEW_TEMPORARY_TO_VALUE,
1560
1560
  payload: { date: g }
1561
1561
  });
@@ -1563,11 +1563,11 @@ const p_ = (t) => {
1563
1563
  [o, n.from, n.to]
1564
1564
  ), s = mt(
1565
1565
  (g) => {
1566
- const { from: p, to: E } = n;
1567
- Pa(g, { to: o }) && (sa(p, E) ? i({
1566
+ const { from: m, to: E } = n;
1567
+ Fa(g, { to: o }) && (sa(m, E) ? i({
1568
1568
  type: L.SELECT_FIRST_DAY,
1569
1569
  payload: { date: g }
1570
- }) : p && Gt(g, p) || p && Ut(g, p) ? i({
1570
+ }) : m && Gt(g, m) || m && Ut(g, m) ? i({
1571
1571
  type: L.SELECT_SECOND_DAY_AS_TO,
1572
1572
  payload: { date: g }
1573
1573
  }) : i({
@@ -1576,7 +1576,7 @@ const p_ = (t) => {
1576
1576
  }));
1577
1577
  },
1578
1578
  [o, n.from, n.to]
1579
- ), m = mt(
1579
+ ), p = mt(
1580
1580
  (g) => {
1581
1581
  if (g === null) {
1582
1582
  i({
@@ -1591,24 +1591,24 @@ const p_ = (t) => {
1591
1591
  });
1592
1592
  },
1593
1593
  [t]
1594
- ), b = mt((g) => {
1594
+ ), v = mt((g) => {
1595
1595
  i({
1596
1596
  type: L.CURRENT_MONTH_CHANGE,
1597
1597
  payload: { date: g }
1598
1598
  });
1599
1599
  }, []);
1600
1600
  return c((() => {
1601
- const { currentMonth: g, from: p, selectedItem: E, temporaryTo: h, to: C } = n, S = pt(
1602
- () => n_(p, h),
1603
- [p, h]
1604
- ), k = pt(() => lt(E, t), [t, E]), y = pt(() => [p, { from: p, to: h }], [p, h]), N = pt(() => o ? { after: o } : void 0, [o]);
1601
+ const { currentMonth: g, from: m, selectedItem: E, temporaryTo: y, to: C } = n, S = pt(
1602
+ () => s_(m, y),
1603
+ [m, y]
1604
+ ), k = pt(() => lt(E, t), [t, E]), h = pt(() => [m, { from: m, to: y }], [m, y]), N = pt(() => o ? { after: o } : void 0, [o]);
1605
1605
  return {
1606
1606
  select: {
1607
- onItemSelect: m,
1607
+ onItemSelect: p,
1608
1608
  selected: E || ""
1609
1609
  },
1610
1610
  inputs: {
1611
- fromDate: p,
1611
+ fromDate: m,
1612
1612
  toDate: C
1613
1613
  },
1614
1614
  datepicker: {
@@ -1616,19 +1616,19 @@ const p_ = (t) => {
1616
1616
  month: g,
1617
1617
  numberOfMonths: 2,
1618
1618
  onDayClick: s,
1619
- selectedDays: y,
1619
+ selectedDays: h,
1620
1620
  modifiers: S,
1621
1621
  initialMonth: o && Ue(o, 1),
1622
1622
  toMonth: o,
1623
1623
  disabledDays: N,
1624
1624
  onDayMouseEnter: u,
1625
- onMonthChange: b
1625
+ onMonthChange: v
1626
1626
  },
1627
1627
  selectedOption: k
1628
1628
  };
1629
1629
  })());
1630
1630
  };
1631
- g_.defaultProps = {
1631
+ f_.defaultProps = {
1632
1632
  options: [
1633
1633
  {
1634
1634
  id: "default",
@@ -1665,7 +1665,7 @@ const da = {
1665
1665
  "field-group": "lc-FieldGroup-module__field-group___gy8lp",
1666
1666
  "field-group--inline": "lc-FieldGroup-module__field-group--inline___or4qf",
1667
1667
  "field-group--stretched": "lc-FieldGroup-module__field-group--stretched___6rkuO"
1668
- }, Rt = "field-group", ol = (d) => {
1668
+ }, Rt = "field-group", ll = (d) => {
1669
1669
  var n = d, {
1670
1670
  className: t = "",
1671
1671
  children: a,
@@ -1686,13 +1686,13 @@ const da = {
1686
1686
  [Ft[`${Rt}--stretched`]]: l
1687
1687
  });
1688
1688
  return /* @__PURE__ */ e.createElement("div", B(w({}, c), { className: i }), a, _ && /* @__PURE__ */ e.createElement(Xt, null, _), r && /* @__PURE__ */ e.createElement(Tt, null, r));
1689
- }, f_ = "lc-Form-module__form___1nOYF", b_ = "lc-Form-module__form__header___U4B7t", v_ = "lc-Form-module__form__footer___1-sUX", h_ = "lc-Form-module__form__label___spg-J", y_ = "lc-Form-module__form__helper___bhfwS", Xe = {
1690
- form: f_,
1691
- form__header: b_,
1692
- form__footer: v_,
1693
- form__label: h_,
1694
- form__helper: y_
1695
- }, je = "form", ll = (c) => {
1689
+ }, b_ = "lc-Form-module__form___1nOYF", v_ = "lc-Form-module__form__header___U4B7t", h_ = "lc-Form-module__form__footer___1-sUX", y_ = "lc-Form-module__form__label___spg-J", E_ = "lc-Form-module__form__helper___bhfwS", Xe = {
1690
+ form: b_,
1691
+ form__header: v_,
1692
+ form__footer: h_,
1693
+ form__label: y_,
1694
+ form__helper: E_
1695
+ }, je = "form", cl = (c) => {
1696
1696
  var d = c, {
1697
1697
  className: t,
1698
1698
  children: a,
@@ -1724,7 +1724,7 @@ const da = {
1724
1724
  "form-field__row-break": "lc-FormField-module__form-field__row-break___DCBjC",
1725
1725
  "form-field__content": "lc-FormField-module__form-field__content___XaOx3",
1726
1726
  "form-field__content__description": "lc-FormField-module__form-field__content__description___NpVw4"
1727
- }, z = "form-field", cl = ({
1727
+ }, z = "form-field", nl = ({
1728
1728
  inline: t,
1729
1729
  error: a,
1730
1730
  description: r,
@@ -1735,7 +1735,7 @@ const da = {
1735
1735
  children: d,
1736
1736
  labelRightNode: n
1737
1737
  }) => {
1738
- const i = e.useRef(null), [u, s] = e.useState("auto"), m = f(
1738
+ const i = e.useRef(null), [u, s] = e.useState("auto"), p = f(
1739
1739
  O[z],
1740
1740
  {
1741
1741
  [O[`${z}--inline`]]: t
@@ -1743,9 +1743,9 @@ const da = {
1743
1743
  l
1744
1744
  );
1745
1745
  return e.useEffect(() => {
1746
- const b = i;
1747
- return t && b.current ? s(`${b.current.clientHeight}px`) : s("auto");
1748
- }), /* @__PURE__ */ e.createElement("div", { className: m }, n && t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
1746
+ const v = i;
1747
+ return t && v.current ? s(`${v.current.clientHeight}px`) : s("auto");
1748
+ }), /* @__PURE__ */ e.createElement("div", { className: p }, n && t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
1749
1749
  "div",
1750
1750
  {
1751
1751
  className: f(
@@ -1816,7 +1816,7 @@ const da = {
1816
1816
  "form-group__header": "lc-FormGroup-module__form-group__header___DgGmR",
1817
1817
  "form-group__label": "lc-FormGroup-module__form-group__label___NC-JW",
1818
1818
  "form-group__helper": "lc-FormGroup-module__form-group__helper___SRuxe"
1819
- }, yt = "form-group", nl = (l) => {
1819
+ }, yt = "form-group", sl = (l) => {
1820
1820
  var c = l, {
1821
1821
  className: t = "",
1822
1822
  children: a,
@@ -1839,10 +1839,11 @@ const da = {
1839
1839
  /* @__PURE__ */ e.createElement("div", { className: ht[`${yt}__header`] }, /* @__PURE__ */ e.createElement(st, { as: "div", size: "sm", className: ht[`${yt}__label`] }, r), _ && /* @__PURE__ */ e.createElement(P, { as: "div", size: "sm", className: ht[`${yt}__helper`] }, _)),
1840
1840
  a
1841
1841
  );
1842
- }, E_ = "lc-Input-module__input___qeMAQ", ye = {
1843
- input: E_,
1842
+ }, k_ = "lc-Input-module__input___qeMAQ", me = {
1843
+ input: k_,
1844
1844
  "input--focused": "lc-Input-module__input--focused___wQH5-",
1845
1845
  "input--disabled": "lc-Input-module__input--disabled___HidXX",
1846
+ "input--crop": "lc-Input-module__input--crop___uzJS8",
1846
1847
  "input--error": "lc-Input-module__input--error___DlDbC",
1847
1848
  "input--xsmall": "lc-Input-module__input--xsmall___9u99K",
1848
1849
  "input--compact": "lc-Input-module__input--compact___iKSQZ",
@@ -1852,68 +1853,71 @@ const da = {
1852
1853
  "input__icon--left": "lc-Input-module__input__icon--left___BcySs",
1853
1854
  "input__icon--right": "lc-Input-module__input__icon--right___VefSK",
1854
1855
  "input__visibility-button": "lc-Input-module__input__visibility-button___eWrVe"
1855
- }, Ee = "input", ma = (t, a) => e.cloneElement(t.source, {
1856
- ["data-testid"]: `input-icon-${t.place}`,
1856
+ }, pe = "input", ma = (t, a) => e.cloneElement(t.source, {
1857
+ "data-testid": `input-icon-${t.place}`,
1857
1858
  className: f(
1858
- ye[`${Ee}__icon`],
1859
- ye[`${Ee}__icon--${t.place}`],
1859
+ me[`${pe}__icon`],
1860
+ me[`${pe}__icon--${t.place}`],
1860
1861
  {
1861
- [ye[`${Ee}__icon--disabled`]]: a
1862
+ [me[`${pe}__icon--disabled`]]: a
1862
1863
  }
1863
1864
  )
1864
- }), sl = e.forwardRef(
1865
- (d, c) => {
1866
- var n = d, {
1865
+ }), il = e.forwardRef(
1866
+ (n, d) => {
1867
+ var i = n, {
1867
1868
  inputSize: t = "medium",
1868
1869
  error: a = !1,
1869
1870
  disabled: r,
1870
1871
  icon: _ = null,
1871
- className: o
1872
- } = n, l = A(n, [
1872
+ className: o,
1873
+ cropOnBlur: l = !0
1874
+ } = i, c = A(i, [
1873
1875
  "inputSize",
1874
1876
  "error",
1875
1877
  "disabled",
1876
1878
  "icon",
1877
- "className"
1879
+ "className",
1880
+ "cropOnBlur"
1878
1881
  ]);
1879
- const [i, u] = e.useState(!1), [s, m] = e.useState(!1), { type: b, onFocus: v, onBlur: g } = l, p = f(
1882
+ const [u, s] = e.useState(!1), [p, v] = e.useState(!1), { type: b, onFocus: g, onBlur: m } = c, E = f(
1880
1883
  o,
1881
- ye[Ee],
1882
- ye[`${Ee}--${t}`],
1884
+ me[pe],
1885
+ me[`${pe}--${t}`],
1883
1886
  {
1884
- [ye[`${Ee}--disabled`]]: r,
1885
- [ye[`${Ee}--focused`]]: i,
1886
- [ye[`${Ee}--error`]]: a
1887
+ [me[`${pe}--disabled`]]: r,
1888
+ [me[`${pe}--focused`]]: u,
1889
+ [me[`${pe}--error`]]: a,
1890
+ [me[`${pe}--crop`]]: l
1887
1891
  }
1888
- ), E = r ? "var(--content-disabled)" : "var(--content-default)", h = s ? Za : Qa, C = _ && _.place === "left", S = _ && b !== "password" && _.place === "right";
1889
- return /* @__PURE__ */ e.createElement("div", { className: p, "aria-disabled": r, "tab-index": "0" }, C && ma(_, r), /* @__PURE__ */ e.createElement(
1892
+ ), y = r ? "var(--content-disabled)" : "var(--content-default)", C = p ? Qa : Xa, S = _ && _.place === "left", k = _ && b !== "password" && _.place === "right";
1893
+ return /* @__PURE__ */ e.createElement("div", { className: E, "aria-disabled": r, "tab-index": "0" }, S && ma(_, r), /* @__PURE__ */ e.createElement(
1890
1894
  "input",
1891
- B(w({}, l), {
1892
- ref: c,
1893
- onFocus: (k) => {
1894
- u(!0), v == null || v(k);
1895
+ B(w({}, c), {
1896
+ ref: d,
1897
+ onFocus: (h) => {
1898
+ s(!0), g == null || g(h);
1895
1899
  },
1896
- onBlur: (k) => {
1897
- u(!1), g == null || g(k);
1900
+ onBlur: (h) => {
1901
+ s(!1), m == null || m(h);
1898
1902
  },
1899
1903
  disabled: r,
1900
- type: b && !s ? b : "text"
1904
+ type: b && !p ? b : "text"
1901
1905
  })
1902
- ), S && ma(_, r), b === "password" && /* @__PURE__ */ e.createElement(
1906
+ ), k && ma(_, r), b === "password" && /* @__PURE__ */ e.createElement(
1903
1907
  ne,
1904
1908
  {
1905
1909
  disabled: r,
1906
1910
  kind: "subtle",
1907
- icon: /* @__PURE__ */ e.createElement(I, { customColor: E, source: h }),
1908
- onClick: () => m((k) => !k),
1909
- className: ye[`${Ee}__visibility-button`]
1911
+ icon: /* @__PURE__ */ e.createElement(I, { customColor: y, source: C }),
1912
+ onClick: () => v((h) => !h),
1913
+ className: me[`${pe}__visibility-button`]
1910
1914
  }
1911
1915
  ));
1912
1916
  }
1913
- ), k_ = "lc-Link-module__link___kqx52", pa = {
1914
- link: k_,
1917
+ ), $_ = "lc-Link-module__link___kqx52", pa = {
1918
+ link: $_,
1915
1919
  "link--bold": "lc-Link-module__link--bold___1rGdO"
1916
- }, ga = "link", il = (_) => {
1920
+ }, ga = "link", dl = (_) => {
1917
1921
  var o = _, {
1918
1922
  bold: t = !1,
1919
1923
  className: a = ""
@@ -1931,25 +1935,25 @@ const da = {
1931
1935
  )
1932
1936
  }, r)
1933
1937
  );
1934
- }, $_ = "lc-Modal-module__modal__body___M-jmN", w_ = "lc-Modal-module__modal__header___Fp5VE", C_ = "lc-Modal-module__modal__heading___G9KVK", N_ = "lc-Modal-module__modal__footer___2LYdc", H = {
1938
+ }, w_ = "lc-Modal-module__modal__body___M-jmN", C_ = "lc-Modal-module__modal__header___Fp5VE", N_ = "lc-Modal-module__modal__heading___G9KVK", x_ = "lc-Modal-module__modal__footer___2LYdc", H = {
1935
1939
  "modal-base": "lc-Modal-module__modal-base___hbL1U",
1936
1940
  "modal-base__overlay": "lc-Modal-module__modal-base__overlay___kCQ8t",
1937
1941
  "modal-base__overlay--visible": "lc-Modal-module__modal-base__overlay--visible___zUNJL",
1938
1942
  "modal-base__close": "lc-Modal-module__modal-base__close___gJlgr",
1939
1943
  "modal-base__close--label-type": "lc-Modal-module__modal-base__close--label-type___Om0Vb",
1940
- modal__body: $_,
1944
+ modal__body: w_,
1941
1945
  "modal__body--full-space": "lc-Modal-module__modal__body--full-space___LsSNE",
1942
- modal__header: w_,
1946
+ modal__header: C_,
1943
1947
  "modal__label-header": "lc-Modal-module__modal__label-header___ZPtEy",
1944
- modal__heading: C_,
1948
+ modal__heading: N_,
1945
1949
  "modal__label-heading": "lc-Modal-module__modal__label-heading___WnYcF",
1946
- modal__footer: N_,
1950
+ modal__footer: x_,
1947
1951
  "modal-header": "lc-Modal-module__modal-header___rdz7I",
1948
1952
  "modal-header__heading-icon": "lc-Modal-module__modal-header__heading-icon___E4PN1",
1949
1953
  "modal-header__heading-body": "lc-Modal-module__modal-header__heading-body___9GxUa",
1950
1954
  "modal-header__heading-title": "lc-Modal-module__modal-header__heading-title___dnGnU",
1951
1955
  "modal-header__heading-description": "lc-Modal-module__modal-header__heading-description___g5XGt"
1952
- }, Mt = "modal-base", x_ = (c) => {
1956
+ }, Mt = "modal-base", S_ = (c) => {
1953
1957
  var d = c, {
1954
1958
  children: t,
1955
1959
  className: a = "",
@@ -2011,7 +2015,7 @@ const da = {
2011
2015
  type: "button"
2012
2016
  },
2013
2017
  /* @__PURE__ */ e.createElement(I, { source: xe, size: "large", customColor: a })
2014
- ), we = "modal", dl = (n) => {
2018
+ ), we = "modal", ul = (n) => {
2015
2019
  var i = n, {
2016
2020
  children: t,
2017
2021
  className: a = "",
@@ -2029,10 +2033,10 @@ const da = {
2029
2033
  "footer",
2030
2034
  "onClose"
2031
2035
  ]);
2032
- const u = f(H[we], a), s = (m) => {
2033
- m.preventDefault(), m.stopPropagation(), c();
2036
+ const u = f(H[we], a), s = (p) => {
2037
+ p.preventDefault(), p.stopPropagation(), c();
2034
2038
  };
2035
- return /* @__PURE__ */ e.createElement(x_, w({ className: u, onClose: c }, d), _ && /* @__PURE__ */ e.createElement("div", { className: H[`${we}__label-header`] }, /* @__PURE__ */ e.createElement(
2039
+ return /* @__PURE__ */ e.createElement(S_, w({ className: u, onClose: c }, d), _ && /* @__PURE__ */ e.createElement("div", { className: H[`${we}__label-header`] }, /* @__PURE__ */ e.createElement(
2036
2040
  st,
2037
2041
  {
2038
2042
  size: "xs",
@@ -2066,7 +2070,7 @@ const da = {
2066
2070
  },
2067
2071
  /* @__PURE__ */ e.createElement(P, { as: "div" }, t)
2068
2072
  ), l && /* @__PURE__ */ e.createElement("div", { className: H[`${we}__footer`] }, l));
2069
- }, ul = ({
2073
+ }, ml = ({
2070
2074
  children: t,
2071
2075
  className: a = "",
2072
2076
  parentElementName: r = "body",
@@ -2079,14 +2083,14 @@ const da = {
2079
2083
  var c;
2080
2084
  (c = document.querySelector(r)) == null || c.removeChild(o);
2081
2085
  };
2082
- }, [r]), /* @__PURE__ */ e.createElement(e.Fragment, null, cr.createPortal(t, o));
2083
- }, et = "modal-header", ml = ({
2086
+ }, [r]), /* @__PURE__ */ e.createElement(e.Fragment, null, nr.createPortal(t, o));
2087
+ }, et = "modal-header", pl = ({
2084
2088
  title: t,
2085
2089
  iconProps: a,
2086
2090
  children: r,
2087
2091
  className: _ = ""
2088
2092
  }) => {
2089
- const o = nr(H[et], _);
2093
+ const o = sr(H[et], _);
2090
2094
  return /* @__PURE__ */ e.createElement("div", { className: o }, a && /* @__PURE__ */ e.createElement(I, w({ className: H[`${et}__heading-icon`] }, a)), /* @__PURE__ */ e.createElement("div", { className: H[`${et}__heading-body`] }, /* @__PURE__ */ e.createElement(P, { as: "div", className: H[`${et}__heading-title`] }, t), r && /* @__PURE__ */ e.createElement(
2091
2095
  P,
2092
2096
  {
@@ -2102,7 +2106,7 @@ const da = {
2102
2106
  "numeric-input--disabled": "lc-NumericInput-module__numeric-input--disabled___yaRvQ",
2103
2107
  "numeric-input--no-controls": "lc-NumericInput-module__numeric-input--no-controls___D90rG",
2104
2108
  "numeric-input--error": "lc-NumericInput-module__numeric-input--error___TMxRx"
2105
- }, Me = "numeric-input", pl = (u) => {
2109
+ }, Me = "numeric-input", gl = (u) => {
2106
2110
  var s = u, {
2107
2111
  className: t,
2108
2112
  error: a,
@@ -2124,7 +2128,7 @@ const da = {
2124
2128
  "style",
2125
2129
  "onChange"
2126
2130
  ]);
2127
- const m = e.useRef(null), b = f(
2131
+ const p = e.useRef(null), v = f(
2128
2132
  Re[Me],
2129
2133
  {
2130
2134
  [Re[`${Me}--error`]]: a,
@@ -2132,33 +2136,33 @@ const da = {
2132
2136
  [Re[`${Me}--disabled`]]: l
2133
2137
  },
2134
2138
  t
2135
- ), v = (y) => n(String(y)), g = (y) => _ !== void 0 && y > _ ? _ : o !== void 0 && y < o ? o : y, p = (y) => {
2136
- const N = parseInt(r, 10) + y;
2137
- return v(g(N));
2138
- }, E = (y) => {
2139
- y.key === M.arrowDown && (y.preventDefault(), p(-1)), y.key === M.arrowUp && (y.preventDefault(), p(1));
2140
- }, h = (y, N) => N !== void 0 && parseInt(y, 10) === N, C = (y) => {
2141
- y.preventDefault(), y.stopPropagation();
2142
- const N = y.currentTarget.value.replace(
2139
+ ), b = (h) => n(String(h)), g = (h) => _ !== void 0 && h > _ ? _ : o !== void 0 && h < o ? o : h, m = (h) => {
2140
+ const N = parseInt(r, 10) + h;
2141
+ return b(g(N));
2142
+ }, E = (h) => {
2143
+ h.key === M.arrowDown && (h.preventDefault(), m(-1)), h.key === M.arrowUp && (h.preventDefault(), m(1));
2144
+ }, y = (h, N) => N !== void 0 && parseInt(h, 10) === N, C = (h) => {
2145
+ h.preventDefault(), h.stopPropagation();
2146
+ const N = h.currentTarget.value.replace(
2143
2147
  /((?!([-]|([-]?\d+))).)/,
2144
2148
  ""
2145
2149
  );
2146
2150
  if (N === "" || N === "-")
2147
- return v(N);
2151
+ return b(N);
2148
2152
  const $ = parseInt(N, 10);
2149
- return v(g($));
2153
+ return b(g($));
2150
2154
  }, S = () => {
2151
- var y;
2152
- return (y = m.current) == null || y.focus(), p(1);
2155
+ var h;
2156
+ return (h = p.current) == null || h.focus(), m(1);
2153
2157
  }, k = () => {
2154
- var y;
2155
- return (y = m.current) == null || y.focus(), p(-1);
2158
+ var h;
2159
+ return (h = p.current) == null || h.focus(), m(-1);
2156
2160
  };
2157
- return /* @__PURE__ */ e.createElement("div", { className: b, style: d }, /* @__PURE__ */ e.createElement(
2161
+ return /* @__PURE__ */ e.createElement("div", { className: v, style: d }, /* @__PURE__ */ e.createElement(
2158
2162
  "input",
2159
2163
  B(w({
2160
2164
  type: "text",
2161
- ref: m
2165
+ ref: p
2162
2166
  }, i), {
2163
2167
  value: r,
2164
2168
  disabled: l,
@@ -2171,7 +2175,7 @@ const da = {
2171
2175
  "button",
2172
2176
  {
2173
2177
  tabIndex: -1,
2174
- disabled: l || h(r, _),
2178
+ disabled: l || y(r, _),
2175
2179
  onClick: S,
2176
2180
  "aria-label": "Increment value",
2177
2181
  className: Re[`${Me}__increment`],
@@ -2181,7 +2185,7 @@ const da = {
2181
2185
  I,
2182
2186
  {
2183
2187
  source: St,
2184
- disabled: l || h(r, _),
2188
+ disabled: l || y(r, _),
2185
2189
  kind: "primary"
2186
2190
  }
2187
2191
  )
@@ -2189,7 +2193,7 @@ const da = {
2189
2193
  "button",
2190
2194
  {
2191
2195
  tabIndex: -1,
2192
- disabled: l || h(r, o),
2196
+ disabled: l || y(r, o),
2193
2197
  "aria-label": "Decrement value",
2194
2198
  className: Re[`${Me}__decrement`],
2195
2199
  onClick: k,
@@ -2200,11 +2204,11 @@ const da = {
2200
2204
  {
2201
2205
  source: Dt,
2202
2206
  kind: "primary",
2203
- disabled: l || h(r, o)
2207
+ disabled: l || y(r, o)
2204
2208
  }
2205
2209
  )
2206
2210
  )));
2207
- }, Ge = "select-all", fe = {
2211
+ }, Ge = "select-all", ve = {
2208
2212
  "picker-list": "lc-PickerList-module__picker-list___FqdgZ",
2209
2213
  "picker-list__no-results": "lc-PickerList-module__picker-list__no-results___tX172",
2210
2214
  "picker-list__item": "lc-PickerList-module__picker-list__item___8QNS0",
@@ -2212,7 +2216,7 @@ const da = {
2212
2216
  "picker-list__item__header": "lc-PickerList-module__picker-list__item__header___mxmg0",
2213
2217
  "picker-list__item__content": "lc-PickerList-module__picker-list__item__content___D-tsE",
2214
2218
  "picker-list__item__custom": "lc-PickerList-module__picker-list__item__custom___kJEP6"
2215
- }, Vt = "picker-list", Ae = `${Vt}__item`, S_ = ({
2219
+ }, Vt = "picker-list", Ae = `${Vt}__item`, D_ = ({
2216
2220
  isOpen: t,
2217
2221
  items: a,
2218
2222
  selectedItemsKeys: r,
@@ -2223,37 +2227,37 @@ const da = {
2223
2227
  onSelect: d,
2224
2228
  onSelectAll: n
2225
2229
  }) => {
2226
- const i = f(fe[Vt], {
2227
- [fe[`${Vt}__no-results`]]: a.length === 0
2230
+ const i = f(ve[Vt], {
2231
+ [ve[`${Vt}__no-results`]]: a.length === 0
2228
2232
  }), [u, s] = e.useState(
2229
2233
  null
2230
- ), m = e.useRef(-1), b = e.useRef(0), v = e.useRef(null), g = ($) => {
2231
- if ($.key === M.esc && ($.preventDefault(), c()), $.key === M.arrowUp && m.current > 0 && ($.preventDefault(), m.current = E(), s(a[m.current].key)), $.key === M.arrowDown && m.current + 1 < a.length && ($.preventDefault(), m.current = h(), s(a[m.current].key)), $.key === M.enter && !a[m.current].disabled) {
2232
- if ($.preventDefault(), a[m.current].key === Ge)
2234
+ ), p = e.useRef(-1), v = e.useRef(0), b = e.useRef(null), g = ($) => {
2235
+ if ($.key === M.esc && ($.preventDefault(), c()), $.key === M.arrowUp && p.current > 0 && ($.preventDefault(), p.current = E(), s(a[p.current].key)), $.key === M.arrowDown && p.current + 1 < a.length && ($.preventDefault(), p.current = y(), s(a[p.current].key)), $.key === M.enter && !a[p.current].disabled) {
2236
+ if ($.preventDefault(), a[p.current].key === Ge)
2233
2237
  return n();
2234
- d(a[m.current]);
2238
+ d(a[p.current]);
2235
2239
  }
2236
2240
  };
2237
2241
  e.useEffect(() => {
2238
- if (m.current > -1 && a.length > 0 && s(a[m.current].key), t)
2242
+ if (p.current > -1 && a.length > 0 && s(a[p.current].key), t)
2239
2243
  return document.addEventListener("keydown", g), () => document.removeEventListener("keydown", g);
2240
- m.current = -1, b.current = 0, s(null);
2244
+ p.current = -1, v.current = 0, s(null);
2241
2245
  }, [a, t, g]);
2242
- const p = ($) => !!a[$] && (a[$].disabled || a[$].groupHeader), E = () => {
2243
- for (m.current = m.current - 1; p(m.current) && (m.current = m.current - 1, !!p(m.current)); )
2246
+ const m = ($) => !!a[$] && (a[$].disabled || a[$].groupHeader), E = () => {
2247
+ for (p.current = p.current - 1; m(p.current) && (p.current = p.current - 1, !!m(p.current)); )
2244
2248
  ;
2245
- return b.current = m.current, m.current;
2246
- }, h = () => {
2247
- if (m.current = m.current + 1, !p(m.current))
2248
- return b.current = m.current, m.current;
2249
- for (; p(m.current); ) {
2250
- if (m.current = m.current + 1, m.current === a.length && !p(m.current))
2251
- return b.current;
2252
- if (!p(m.current))
2249
+ return v.current = p.current, p.current;
2250
+ }, y = () => {
2251
+ if (p.current = p.current + 1, !m(p.current))
2252
+ return v.current = p.current, p.current;
2253
+ for (; m(p.current); ) {
2254
+ if (p.current = p.current + 1, p.current === a.length && !m(p.current))
2255
+ return v.current;
2256
+ if (!m(p.current))
2253
2257
  break;
2254
2258
  }
2255
- return b.current = m.current, m.current;
2256
- }, C = ($) => d($), S = () => n(), k = ($) => r ? r.includes($) : !1, y = () => !l || l && !o ? null : /* @__PURE__ */ e.createElement(
2259
+ return v.current = p.current, p.current;
2260
+ }, C = ($) => d($), S = () => n(), k = ($) => r ? r.includes($) : !1, h = () => !l || l && !o ? null : /* @__PURE__ */ e.createElement(
2257
2261
  "li",
2258
2262
  {
2259
2263
  ref: ($) => {
@@ -2264,19 +2268,19 @@ const da = {
2264
2268
  id: Ge,
2265
2269
  key: Ge,
2266
2270
  className: f(
2267
- fe[Ae],
2268
- fe[`${Ae}--select-all`]
2271
+ ve[Ae],
2272
+ ve[`${Ae}--select-all`]
2269
2273
  ),
2270
2274
  onClick: S
2271
2275
  },
2272
2276
  o
2273
- ), N = ($) => $ != null && $.customElement ? /* @__PURE__ */ e.createElement("div", { className: fe[`${Ae}__custom`] }, $.customElement.listItemBody) : $.name;
2274
- return t ? a.length === 0 ? /* @__PURE__ */ e.createElement("div", { className: i }, _) : /* @__PURE__ */ e.createElement("ul", { ref: v, className: i, role: "listbox", tabIndex: -1 }, y(), a.map(($) => $.groupHeader ? /* @__PURE__ */ e.createElement(
2277
+ ), N = ($) => $ != null && $.customElement ? /* @__PURE__ */ e.createElement("div", { className: ve[`${Ae}__custom`] }, $.customElement.listItemBody) : $.name;
2278
+ return t ? a.length === 0 ? /* @__PURE__ */ e.createElement("div", { className: i }, _) : /* @__PURE__ */ e.createElement("ul", { ref: b, className: i, role: "listbox", tabIndex: -1 }, h(), a.map(($) => $.groupHeader ? /* @__PURE__ */ e.createElement(
2275
2279
  "li",
2276
2280
  {
2277
2281
  role: "option",
2278
2282
  key: $.key,
2279
- className: fe[`${Ae}__header`]
2283
+ className: ve[`${Ae}__header`]
2280
2284
  },
2281
2285
  $.name
2282
2286
  ) : /* @__PURE__ */ e.createElement(
@@ -2292,12 +2296,12 @@ const da = {
2292
2296
  "aria-disabled": $.disabled,
2293
2297
  id: $.key,
2294
2298
  key: $.key,
2295
- className: f(fe[Ae], {
2296
- [fe[`${Ae}__custom`]]: $ == null ? void 0 : $.customElement
2299
+ className: f(ve[Ae], {
2300
+ [ve[`${Ae}__custom`]]: $ == null ? void 0 : $.customElement
2297
2301
  }),
2298
2302
  onClick: () => !$.disabled && C($)
2299
2303
  },
2300
- /* @__PURE__ */ e.createElement("div", { className: fe[`${Ae}__content`] }, N($)),
2304
+ /* @__PURE__ */ e.createElement("div", { className: ve[`${Ae}__content`] }, N($)),
2301
2305
  k($.key) && /* @__PURE__ */ e.createElement(
2302
2306
  I,
2303
2307
  {
@@ -2324,7 +2328,7 @@ const da = {
2324
2328
  "picker-trigger--disabled": "lc-Trigger-module__picker-trigger--disabled___7H4tD",
2325
2329
  "picker-trigger--focused": "lc-Trigger-module__picker-trigger--focused___vTr39",
2326
2330
  "picker-trigger--error": "lc-Trigger-module__picker-trigger--error___Rh8Qd"
2327
- }, Y = "picker-trigger", D_ = ({
2331
+ }, Y = "picker-trigger", T_ = ({
2328
2332
  children: t,
2329
2333
  isSearchDisabled: a,
2330
2334
  isDisabled: r,
@@ -2337,9 +2341,9 @@ const da = {
2337
2341
  hideClearButton: i,
2338
2342
  onTrigger: u,
2339
2343
  onClear: s,
2340
- testId: m
2344
+ testId: p
2341
2345
  }) => {
2342
- const b = e.useRef(null), v = f(
2346
+ const v = e.useRef(null), b = f(
2343
2347
  K[Y],
2344
2348
  K[`${Y}--${n}`],
2345
2349
  d && K[`${Y}--multi-select`],
@@ -2349,26 +2353,26 @@ const da = {
2349
2353
  _ && K[`${Y}--error`]
2350
2354
  );
2351
2355
  e.useEffect(() => {
2352
- const h = (C) => {
2353
- document.activeElement === b.current && C.key !== M.tab && u(C);
2356
+ const y = (C) => {
2357
+ document.activeElement === v.current && C.key !== M.tab && u(C);
2354
2358
  };
2355
- return a || document.addEventListener("keydown", h), () => {
2356
- a || document.removeEventListener("keydown", h);
2359
+ return a || document.addEventListener("keydown", y), () => {
2360
+ a || document.removeEventListener("keydown", y);
2357
2361
  };
2358
2362
  }, [a]);
2359
- const g = (h) => {
2360
- u(h);
2361
- }, p = (h) => {
2362
- h.stopPropagation(), s();
2363
+ const g = (y) => {
2364
+ u(y);
2365
+ }, m = (y) => {
2366
+ y.stopPropagation(), s();
2363
2367
  }, E = !i && o && !r && !c;
2364
2368
  return /* @__PURE__ */ e.createElement(
2365
2369
  "div",
2366
2370
  {
2367
- ref: b,
2368
- className: v,
2371
+ ref: v,
2372
+ className: b,
2369
2373
  onClick: g,
2370
2374
  tabIndex: 0,
2371
- "data-testid": m
2375
+ "data-testid": p
2372
2376
  },
2373
2377
  /* @__PURE__ */ e.createElement(
2374
2378
  "div",
@@ -2394,7 +2398,7 @@ const da = {
2394
2398
  {
2395
2399
  "data-testid": `${Y}__clear-icon`,
2396
2400
  className: K[`${Y}__clear-icon`],
2397
- onClick: p
2401
+ onClick: m
2398
2402
  },
2399
2403
  /* @__PURE__ */ e.createElement(I, { kind: "primary", size: "small", source: xe })
2400
2404
  ),
@@ -2409,10 +2413,10 @@ const da = {
2409
2413
  )
2410
2414
  )
2411
2415
  );
2412
- }, T_ = "lc-Tag-module__tag___1QRVY", I_ = "lc-Tag-module__tag__remove___UmtrW", B_ = "lc-Tag-module__icon___2Z-35", A_ = "lc-Tag-module__tag__icon___tZoQ9", P_ = "lc-Tag-module__tag__avatar___U4c-P", ie = {
2413
- tag: T_,
2416
+ }, I_ = "lc-Tag-module__tag___1QRVY", B_ = "lc-Tag-module__tag__remove___UmtrW", A_ = "lc-Tag-module__icon___2Z-35", P_ = "lc-Tag-module__tag__icon___tZoQ9", F_ = "lc-Tag-module__tag__avatar___U4c-P", ie = {
2417
+ tag: I_,
2414
2418
  "tag--success": "lc-Tag-module__tag--success___P2hXQ",
2415
- tag__remove: I_,
2419
+ tag__remove: B_,
2416
2420
  "tag--error": "lc-Tag-module__tag--error___1cjsm",
2417
2421
  "tag--warning": "lc-Tag-module__tag--warning___PstMG",
2418
2422
  "tag--info": "lc-Tag-module__tag--info___RTH0C",
@@ -2421,15 +2425,15 @@ const da = {
2421
2425
  "tag--outline": "lc-Tag-module__tag--outline___aZXtr",
2422
2426
  "tag--medium": "lc-Tag-module__tag--medium___l5-KI",
2423
2427
  "tag--large": "lc-Tag-module__tag--large___ytC6Y",
2424
- icon: B_,
2428
+ icon: A_,
2425
2429
  "tag--text-white": "lc-Tag-module__tag--text-white___x0fnD",
2426
2430
  "tag--text-black": "lc-Tag-module__tag--text-black___dUvmD",
2427
2431
  "tag--with-icon": "lc-Tag-module__tag--with-icon___ZlkvT",
2428
2432
  "tag--dismissible": "lc-Tag-module__tag--dismissible___Qobyr",
2429
- tag__icon: A_,
2430
- tag__avatar: P_
2431
- }, de = "tag", F_ = (t) => t ? Kt(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", Ra = (m) => {
2432
- var b = m, {
2433
+ tag__icon: P_,
2434
+ tag__avatar: F_
2435
+ }, de = "tag", R_ = (t) => t ? Kt(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", Ma = (p) => {
2436
+ var v = p, {
2433
2437
  className: t = "",
2434
2438
  children: a,
2435
2439
  dismissible: r = !1,
@@ -2441,7 +2445,7 @@ const da = {
2441
2445
  icon: n,
2442
2446
  avatar: i,
2443
2447
  customColor: u
2444
- } = b, s = A(b, [
2448
+ } = v, s = A(v, [
2445
2449
  "className",
2446
2450
  "children",
2447
2451
  "dismissible",
@@ -2454,7 +2458,7 @@ const da = {
2454
2458
  "avatar",
2455
2459
  "customColor"
2456
2460
  ]);
2457
- const v = f(
2461
+ const b = f(
2458
2462
  ie[de],
2459
2463
  t,
2460
2464
  ie[`${de}--${_}`],
@@ -2463,7 +2467,7 @@ const da = {
2463
2467
  [ie[`${de}--dismissible`]]: r,
2464
2468
  [ie[`${de}--outline`]]: d,
2465
2469
  [ie[`${de}--with-icon`]]: !!n || !!i,
2466
- [ie[`${de}--${F_(u)}`]]: !!u
2470
+ [ie[`${de}--${R_(u)}`]]: !!u
2467
2471
  }
2468
2472
  ), g = () => u ? d ? {
2469
2473
  style: {
@@ -2471,14 +2475,14 @@ const da = {
2471
2475
  color: u,
2472
2476
  borderColor: u
2473
2477
  }
2474
- } : { style: { backgroundColor: u } } : {}, p = () => {
2478
+ } : { style: { backgroundColor: u } } : {}, m = () => {
2475
2479
  if (u)
2476
2480
  return d ? u : Kt(u, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
2477
2481
  };
2478
2482
  return /* @__PURE__ */ e.createElement(
2479
2483
  P,
2480
2484
  B(w(w({
2481
- className: v
2485
+ className: b
2482
2486
  }, s), g()), {
2483
2487
  as: "div",
2484
2488
  size: "md"
@@ -2500,7 +2504,7 @@ const da = {
2500
2504
  className: ie[`${de}__icon`],
2501
2505
  source: n,
2502
2506
  size: "small",
2503
- customColor: p()
2507
+ customColor: m()
2504
2508
  }
2505
2509
  ),
2506
2510
  a,
@@ -2518,7 +2522,7 @@ const da = {
2518
2522
  "data-dismiss-icon": !0,
2519
2523
  source: xe,
2520
2524
  size: o,
2521
- customColor: p()
2525
+ customColor: m()
2522
2526
  }
2523
2527
  )
2524
2528
  )
@@ -2529,7 +2533,7 @@ const da = {
2529
2533
  "picker-trigger-body__item": "lc-TriggerBody-module__picker-trigger-body__item___0DBg1",
2530
2534
  "picker-trigger-body__input": "lc-TriggerBody-module__picker-trigger-body__input___ezPyz",
2531
2535
  "picker-trigger-body__tag": "lc-TriggerBody-module__picker-trigger-body__tag___vbOJZ"
2532
- }, Oe = "picker-trigger-body", R_ = ({
2536
+ }, Oe = "picker-trigger-body", M_ = ({
2533
2537
  isOpen: t,
2534
2538
  isSearchDisabled: a,
2535
2539
  isDisabled: r,
@@ -2545,20 +2549,20 @@ const da = {
2545
2549
  e.useEffect(() => {
2546
2550
  d && (i(""), s.current && (s.current.value = "", s.current.focus()));
2547
2551
  }, [o, d]);
2548
- const m = (g) => l === "single" && t && !a ? null : g != null && g.customElement ? /* @__PURE__ */ e.createElement("div", { className: Le[`${Oe}__custom`] }, g.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: Le[`${Oe}__item`] }, g.name), b = (g) => {
2552
+ const p = (g) => l === "single" && t && !a ? null : g != null && g.customElement ? /* @__PURE__ */ e.createElement("div", { className: Le[`${Oe}__custom`] }, g.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: Le[`${Oe}__item`] }, g.name), v = (g) => {
2549
2553
  i(g.target.value);
2550
- }, v = () => /* @__PURE__ */ e.createElement(
2554
+ }, b = () => /* @__PURE__ */ e.createElement(
2551
2555
  "input",
2552
2556
  {
2553
2557
  ref: s,
2554
2558
  className: Le[`${Oe}__input`],
2555
2559
  placeholder: "Select option",
2556
- onChange: b,
2560
+ onChange: v,
2557
2561
  autoFocus: !0
2558
2562
  }
2559
2563
  );
2560
- return !o || o.length === 0 ? u ? v() : /* @__PURE__ */ e.createElement("div", null, _) : /* @__PURE__ */ e.createElement("div", { className: Le[Oe] }, /* @__PURE__ */ e.createElement("div", { className: Le[`${Oe}__item-container`] }, l === "single" ? m(o[0]) : o.map((g) => /* @__PURE__ */ e.createElement(
2561
- Ra,
2564
+ return !o || o.length === 0 ? u ? b() : /* @__PURE__ */ e.createElement("div", null, _) : /* @__PURE__ */ e.createElement("div", { className: Le[Oe] }, /* @__PURE__ */ e.createElement("div", { className: Le[`${Oe}__item-container`] }, l === "single" ? p(o[0]) : o.map((g) => /* @__PURE__ */ e.createElement(
2565
+ Ma,
2562
2566
  {
2563
2567
  key: g.name,
2564
2568
  className: Le[`${Oe}__tag`],
@@ -2566,13 +2570,13 @@ const da = {
2566
2570
  dismissible: !r,
2567
2571
  onRemove: () => n(g)
2568
2572
  },
2569
- m(g)
2570
- ))), u && v());
2571
- }, M_ = "lc-Picker-module__picker___GRj9W", L_ = "lc-Picker-module__picker__container___s0PUc", ba = {
2572
- picker: M_,
2573
- picker__container: L_
2574
- }, va = "picker", gl = (h) => {
2575
- var C = h, {
2573
+ p(g)
2574
+ ))), u && b());
2575
+ }, L_ = "lc-Picker-module__picker___GRj9W", O_ = "lc-Picker-module__picker__container___s0PUc", ba = {
2576
+ picker: L_,
2577
+ picker__container: O_
2578
+ }, va = "picker", fl = (y) => {
2579
+ var C = y, {
2576
2580
  className: t,
2577
2581
  disabled: a,
2578
2582
  error: r,
@@ -2585,11 +2589,11 @@ const da = {
2585
2589
  noSearchResultText: i = "No results found",
2586
2590
  selectAllOptionText: u,
2587
2591
  type: s = "single",
2588
- searchDisabled: m = !1,
2589
- hideClearButton: b,
2590
- openedOnInit: v = !1,
2592
+ searchDisabled: p = !1,
2593
+ hideClearButton: v,
2594
+ openedOnInit: b = !1,
2591
2595
  clearSearchAfterSelection: g,
2592
- onSelect: p
2596
+ onSelect: m
2593
2597
  } = C, E = A(C, [
2594
2598
  "className",
2595
2599
  "disabled",
@@ -2609,7 +2613,7 @@ const da = {
2609
2613
  "clearSearchAfterSelection",
2610
2614
  "onSelect"
2611
2615
  ]);
2612
- const [S, k] = e.useState(v), [y, N] = e.useState(null), $ = e.useRef(null), W = f(ba[va], t);
2616
+ const [S, k] = e.useState(b), [h, N] = e.useState(null), $ = e.useRef(null), W = f(ba[va], t);
2613
2617
  e.useEffect(() => {
2614
2618
  if (S) {
2615
2619
  const F = (j) => {
@@ -2631,41 +2635,41 @@ const da = {
2631
2635
  k(!1);
2632
2636
  }, Fe = (F) => {
2633
2637
  if (s === "single")
2634
- return k(!1), p([F]);
2638
+ return k(!1), m([F]);
2635
2639
  const G = F.key, j = dt;
2636
2640
  if (!j)
2637
- return p([F]);
2641
+ return m([F]);
2638
2642
  const Te = j.includes(
2639
2643
  G
2640
2644
  ) ? j.filter((It) => It !== G) : j.concat(G);
2641
2645
  if ((Te == null ? void 0 : Te.length) === 0)
2642
- return p(null);
2643
- const Ga = _.filter(
2646
+ return m(null);
2647
+ const Ua = _.filter(
2644
2648
  (It) => Te.includes(It.key)
2645
2649
  );
2646
- p(Ga);
2650
+ m(Ua);
2647
2651
  }, Se = (F) => !F.disabled && !F.groupHeader && F.key !== Ge, De = () => {
2648
2652
  k(!1);
2649
2653
  const F = it.filter(Se);
2650
- p(F);
2654
+ m(F);
2651
2655
  }, We = () => {
2652
- k(!1), p(null);
2653
- }, me = (F) => N(F), se = (F) => {
2656
+ k(!1), m(null);
2657
+ }, ge = (F) => N(F), se = (F) => {
2654
2658
  const G = o ? o.filter((j) => j !== F) : null;
2655
2659
  if ((G == null ? void 0 : G.length) === 0)
2656
- return p(null);
2657
- p(G);
2658
- }, it = e.useMemo(() => y ? _.filter((F) => {
2660
+ return m(null);
2661
+ m(G);
2662
+ }, it = e.useMemo(() => h ? _.filter((F) => {
2659
2663
  if (F.groupHeader)
2660
2664
  return !1;
2661
- const G = y.toLowerCase();
2665
+ const G = h.toLowerCase();
2662
2666
  return F.name.toLowerCase().includes(G);
2663
- }) : _, [y, _]), dt = e.useMemo(() => o ? o.map((F) => F.key) : null, [o]);
2667
+ }) : _, [h, _]), dt = e.useMemo(() => o ? o.map((F) => F.key) : null, [o]);
2664
2668
  return /* @__PURE__ */ e.createElement("div", { ref: $, className: W, id: E.id }, /* @__PURE__ */ e.createElement("div", { className: ba[`${va}__container`] }, /* @__PURE__ */ e.createElement(
2665
- D_,
2669
+ T_,
2666
2670
  {
2667
2671
  testId: E["data-testid"],
2668
- isSearchDisabled: m,
2672
+ isSearchDisabled: p,
2669
2673
  isError: r,
2670
2674
  isOpen: S,
2671
2675
  isDisabled: a,
@@ -2673,15 +2677,15 @@ const da = {
2673
2677
  isRequired: n,
2674
2678
  isMultiSelect: s === "multi",
2675
2679
  size: l,
2676
- hideClearButton: b,
2680
+ hideClearButton: v,
2677
2681
  onTrigger: X,
2678
2682
  onClear: We
2679
2683
  },
2680
2684
  /* @__PURE__ */ e.createElement(
2681
- R_,
2685
+ M_,
2682
2686
  {
2683
2687
  isOpen: S,
2684
- isSearchDisabled: m,
2688
+ isSearchDisabled: p,
2685
2689
  isDisabled: a,
2686
2690
  placeholder: d,
2687
2691
  iconSize: c,
@@ -2689,11 +2693,11 @@ const da = {
2689
2693
  type: s,
2690
2694
  clearSearchAfterSelection: g,
2691
2695
  onItemRemove: se,
2692
- onFilter: me
2696
+ onFilter: ge
2693
2697
  }
2694
2698
  )
2695
2699
  ), /* @__PURE__ */ e.createElement(
2696
- S_,
2700
+ D_,
2697
2701
  {
2698
2702
  selectedItemsKeys: dt,
2699
2703
  items: it,
@@ -2706,16 +2710,16 @@ const da = {
2706
2710
  onSelectAll: De
2707
2711
  }
2708
2712
  )));
2709
- }, O_ = [
2713
+ }, z_ = [
2710
2714
  "normal",
2711
2715
  "error",
2712
2716
  "success"
2713
- ], z_ = (t) => Math.min(Math.max(t, 0), 100);
2714
- function Ma(t, a = 0) {
2715
- return t === "error" ? 0 : z_(parseInt(a.toString(), 10));
2717
+ ], H_ = (t) => Math.min(Math.max(t, 0), 100);
2718
+ function La(t, a = 0) {
2719
+ return t === "error" ? 0 : H_(parseInt(a.toString(), 10));
2716
2720
  }
2717
- function La(t, a) {
2718
- return !O_.includes(t) && a >= 100 ? "normal" : t || "normal";
2721
+ function Oa(t, a) {
2722
+ return !z_.includes(t) && a >= 100 ? "normal" : t || "normal";
2719
2723
  }
2720
2724
  const tt = {
2721
2725
  "progress-circle": "lc-ProgressCircle-module__progress-circle___NRHCi",
@@ -2728,15 +2732,15 @@ const tt = {
2728
2732
  "progress-circle__indicator--normal": "lc-ProgressCircle-module__progress-circle__indicator--normal___0SdkX",
2729
2733
  "progress-circle__indicator--success": "lc-ProgressCircle-module__progress-circle__indicator--success___fLwRR",
2730
2734
  "progress-circle__indicator--error": "lc-ProgressCircle-module__progress-circle__indicator--error___nwJS9"
2731
- }, H_ = {
2735
+ }, G_ = {
2732
2736
  small: 2,
2733
2737
  medium: 3,
2734
2738
  large: 4
2735
- }, G_ = {
2739
+ }, U_ = {
2736
2740
  small: 15,
2737
2741
  medium: 36,
2738
2742
  large: 56
2739
- }, at = "progress-circle", U_ = e.forwardRef(
2743
+ }, at = "progress-circle", W_ = e.forwardRef(
2740
2744
  (c, l) => {
2741
2745
  var d = c, {
2742
2746
  status: t = "normal",
@@ -2749,21 +2753,21 @@ const tt = {
2749
2753
  "className",
2750
2754
  "size"
2751
2755
  ]);
2752
- const n = La(t, a), i = Ma(n, a), u = H_[_], s = G_[_], m = f(
2756
+ const n = Oa(t, a), i = La(n, a), u = G_[_], s = U_[_], p = f(
2753
2757
  tt[at],
2754
2758
  {
2755
2759
  [tt[`${at}--${_}`]]: _,
2756
2760
  [tt[`${at}--${t}`]]: t
2757
2761
  },
2758
2762
  r
2759
- ), b = 2 * Math.PI * ((s - u) / 2), v = {
2760
- strokeDasharray: b.toFixed(3),
2761
- strokeDashoffset: `${((100 - i) / 100 * b).toFixed(3)}px`
2763
+ ), v = 2 * Math.PI * ((s - u) / 2), b = {
2764
+ strokeDasharray: v.toFixed(3),
2765
+ strokeDashoffset: `${((100 - i) / 100 * v).toFixed(3)}px`
2762
2766
  }, g = `${s / 2} ${s / 2} ${s} ${s}`;
2763
2767
  return /* @__PURE__ */ e.createElement(
2764
2768
  "div",
2765
2769
  w({
2766
- className: m,
2770
+ className: p,
2767
2771
  ref: l,
2768
2772
  role: "progressbar"
2769
2773
  }, o),
@@ -2781,7 +2785,7 @@ const tt = {
2781
2785
  "circle",
2782
2786
  {
2783
2787
  className: tt[`${at}__indicator--${t}`],
2784
- style: v,
2788
+ style: b,
2785
2789
  cx: s,
2786
2790
  cy: s,
2787
2791
  r: (s - u) / 2,
@@ -2801,7 +2805,7 @@ const tt = {
2801
2805
  "progress-bar--normal": "lc-ProgressBar-module__progress-bar--normal___ZwCb-",
2802
2806
  "progress-bar__indicator--success": "lc-ProgressBar-module__progress-bar__indicator--success___wRjR3",
2803
2807
  "progress-bar__indicator--normal": "lc-ProgressBar-module__progress-bar__indicator--normal___0Uhle"
2804
- }, kt = "progress-bar", W_ = e.forwardRef(
2808
+ }, kt = "progress-bar", V_ = e.forwardRef(
2805
2809
  (c, l) => {
2806
2810
  var d = c, {
2807
2811
  status: t = "normal",
@@ -2814,7 +2818,7 @@ const tt = {
2814
2818
  "size",
2815
2819
  "className"
2816
2820
  ]);
2817
- const n = La(t, a), i = Ma(n, a), u = f(
2821
+ const n = Oa(t, a), i = La(n, a), u = f(
2818
2822
  Et[kt],
2819
2823
  {
2820
2824
  [Et[`${kt}--${r}`]]: r,
@@ -2850,7 +2854,7 @@ const tt = {
2850
2854
  "promo-banner--small": "lc-PromoBanner-module__promo-banner--small___7sWLV",
2851
2855
  "promo-banner--large": "lc-PromoBanner-module__promo-banner--large___pMiCU",
2852
2856
  "promo-banner__close-icon": "lc-PromoBanner-module__promo-banner__close-icon___GowBL"
2853
- }, V_ = 400, Y_ = 800, q_ = 500, oe = "promo-banner", fl = ({
2857
+ }, Y_ = 400, q_ = 800, J_ = 500, oe = "promo-banner", bl = ({
2854
2858
  className: t,
2855
2859
  buttonText: a,
2856
2860
  children: r,
@@ -2862,7 +2866,7 @@ const tt = {
2862
2866
  onClose: n,
2863
2867
  onLinkClick: i
2864
2868
  }) => {
2865
- const u = e.useRef(null), [s, m] = e.useState("medium"), b = f(
2869
+ const u = e.useRef(null), [s, p] = e.useState("medium"), v = f(
2866
2870
  _e[oe],
2867
2871
  {
2868
2872
  [_e[`${oe}--light`]]: l,
@@ -2872,15 +2876,15 @@ const tt = {
2872
2876
  t
2873
2877
  );
2874
2878
  e.useEffect(() => {
2875
- const g = () => u.current && u.current.offsetWidth <= V_ ? m("small") : u.current && u.current.offsetWidth >= Y_ ? m("large") : m("medium"), p = Da(
2879
+ const g = () => u.current && u.current.offsetWidth <= Y_ ? p("small") : u.current && u.current.offsetWidth >= q_ ? p("large") : p("medium"), m = Ta(
2876
2880
  g,
2877
- q_
2881
+ J_
2878
2882
  );
2879
- return window.addEventListener("resize", p), g(), () => {
2880
- p.cancel(), window.removeEventListener("resize", g);
2883
+ return window.addEventListener("resize", m), g(), () => {
2884
+ m.cancel(), window.removeEventListener("resize", g);
2881
2885
  };
2882
2886
  }, []);
2883
- const v = /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__footer`] }, a && /* @__PURE__ */ e.createElement(
2887
+ const b = /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__footer`] }, a && /* @__PURE__ */ e.createElement(
2884
2888
  ne,
2885
2889
  {
2886
2890
  kind: "primary",
@@ -2890,7 +2894,7 @@ const tt = {
2890
2894
  },
2891
2895
  a
2892
2896
  ), c && /* @__PURE__ */ e.createElement(ne, { size: "compact", kind: "text", onClick: i }, c));
2893
- return /* @__PURE__ */ e.createElement("div", { ref: u, className: b }, /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: _e[`${oe}__img`] }), /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__header`] }, _), /* @__PURE__ */ e.createElement(P, { as: "div" }, r), s !== "large" && v), s === "large" && v), n && /* @__PURE__ */ e.createElement(
2897
+ return /* @__PURE__ */ e.createElement("div", { ref: u, className: v }, /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: _e[`${oe}__img`] }), /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__header`] }, _), /* @__PURE__ */ e.createElement(P, { as: "div" }, r), s !== "large" && b), s === "large" && b), n && /* @__PURE__ */ e.createElement(
2894
2898
  "button",
2895
2899
  {
2896
2900
  type: "button",
@@ -2899,7 +2903,7 @@ const tt = {
2899
2903
  },
2900
2904
  /* @__PURE__ */ e.createElement(I, { source: xe, size: "large", kind: "primary" })
2901
2905
  ));
2902
- }, be = {
2906
+ }, he = {
2903
2907
  "radio-button": "lc-RadioButton-module__radio-button___WaToM",
2904
2908
  "radio-button__circle": "lc-RadioButton-module__radio-button__circle___wimWA",
2905
2909
  "radio-button__label": "lc-RadioButton-module__radio-button__label___i7ygg",
@@ -2909,23 +2913,23 @@ const tt = {
2909
2913
  "radio-button__helper": "lc-RadioButton-module__radio-button__helper___r8gJJ",
2910
2914
  "radio-button--selected": "lc-RadioButton-module__radio-button--selected___s9lqj",
2911
2915
  "radio-button--disabled": "lc-RadioButton-module__radio-button--disabled___wHSA7"
2912
- }, ve = "radio-button", bl = e.forwardRef(
2916
+ }, ye = "radio-button", vl = e.forwardRef(
2913
2917
  (d, c) => {
2914
2918
  var n = d, { children: t, className: a = "", description: r, checked: _, disabled: o } = n, l = A(n, ["children", "className", "description", "checked", "disabled"]);
2915
- const i = f(be[ve], a, {
2916
- [be[`${ve}--selected`]]: _,
2917
- [be[`${ve}--disabled`]]: o
2919
+ const i = f(he[ye], a, {
2920
+ [he[`${ye}--selected`]]: _,
2921
+ [he[`${ye}--disabled`]]: o
2918
2922
  });
2919
- return /* @__PURE__ */ e.createElement("div", { className: i }, /* @__PURE__ */ e.createElement("label", { className: be[`${ve}__label`] }, /* @__PURE__ */ e.createElement("div", { className: be[`${ve}__circle`] }, /* @__PURE__ */ e.createElement("span", { className: be[`${ve}__inner-circle`] }), /* @__PURE__ */ e.createElement(
2923
+ return /* @__PURE__ */ e.createElement("div", { className: i }, /* @__PURE__ */ e.createElement("label", { className: he[`${ye}__label`] }, /* @__PURE__ */ e.createElement("div", { className: he[`${ye}__circle`] }, /* @__PURE__ */ e.createElement("span", { className: he[`${ye}__inner-circle`] }), /* @__PURE__ */ e.createElement(
2920
2924
  "input",
2921
2925
  B(w({}, l), {
2922
- className: be[`${ve}__input`],
2926
+ className: he[`${ye}__input`],
2923
2927
  ref: c,
2924
2928
  type: "radio",
2925
2929
  checked: _,
2926
2930
  disabled: o
2927
2931
  })
2928
- )), t && /* @__PURE__ */ e.createElement(P, { as: "div", size: "md", className: be[`${ve}__text`] }, t)), r && /* @__PURE__ */ e.createElement(Tt, { className: be[`${ve}__helper`] }, r));
2932
+ )), t && /* @__PURE__ */ e.createElement(P, { as: "div", size: "md", className: he[`${ye}__text`] }, t)), r && /* @__PURE__ */ e.createElement(Tt, { className: he[`${ye}__helper`] }, r));
2929
2933
  }
2930
2934
  ), ue = {
2931
2935
  "search-input": "lc-Search-module__search-input___FsbCk",
@@ -2940,7 +2944,7 @@ const tt = {
2940
2944
  "search-input__clear-icon": "lc-Search-module__search-input__clear-icon___LoNkc",
2941
2945
  "search-input__loader": "lc-Search-module__search-input__loader___pkpIG",
2942
2946
  "search-input__input": "lc-Search-module__search-input__input___OhyTr"
2943
- }, ce = "search-input", J_ = `${ce}__input`, vl = ({
2947
+ }, ce = "search-input", K_ = `${ce}__input`, hl = ({
2944
2948
  isCollapsable: t,
2945
2949
  isDisabled: a,
2946
2950
  isLoading: r,
@@ -2950,7 +2954,7 @@ const tt = {
2950
2954
  className: c,
2951
2955
  onChange: d
2952
2956
  }) => {
2953
- const [n, i] = e.useState(!0), [u, s] = e.useState(!1), m = e.useRef(null), b = !!l && !a && !r, v = t && !n && "true", g = f(
2957
+ const [n, i] = e.useState(!0), [u, s] = e.useState(!1), p = e.useRef(null), v = !!l && !a && !r, b = t && !n && "true", g = f(
2954
2958
  c,
2955
2959
  ue[ce],
2956
2960
  ue[`${ce}--${o}`],
@@ -2962,34 +2966,34 @@ const tt = {
2962
2966
  e.useEffect(() => {
2963
2967
  t && l && i(!1);
2964
2968
  }, [t]);
2965
- const p = (y) => {
2966
- const N = y.currentTarget.value;
2969
+ const m = (h) => {
2970
+ const N = h.currentTarget.value;
2967
2971
  d(N);
2968
2972
  }, E = () => {
2969
2973
  d("");
2970
- }, h = () => {
2971
- var y;
2972
- (y = m.current) == null || y.focus();
2974
+ }, y = () => {
2975
+ var h;
2976
+ (h = p.current) == null || h.focus();
2973
2977
  }, C = () => {
2974
2978
  t && i(!1), s(!0);
2975
2979
  }, S = () => {
2976
2980
  t && !l && i(!0), s(!1);
2977
- }, k = (y) => {
2978
- y.key === M.enter && (y.preventDefault(), d(l));
2981
+ }, k = (h) => {
2982
+ h.key === M.enter && (h.preventDefault(), d(l));
2979
2983
  };
2980
2984
  return /* @__PURE__ */ e.createElement(
2981
2985
  "div",
2982
2986
  {
2983
- "aria-expanded": v,
2987
+ "aria-expanded": b,
2984
2988
  role: "search",
2985
2989
  className: g,
2986
- onClick: h
2990
+ onClick: y
2987
2991
  },
2988
2992
  /* @__PURE__ */ e.createElement(
2989
2993
  I,
2990
2994
  {
2991
2995
  className: ue[`${ce}__search-icon`],
2992
- source: Xa,
2996
+ source: ja,
2993
2997
  disabled: a,
2994
2998
  kind: "primary"
2995
2999
  }
@@ -2998,19 +3002,19 @@ const tt = {
2998
3002
  "input",
2999
3003
  {
3000
3004
  role: "searchbox",
3001
- ref: m,
3002
- className: ue[J_],
3005
+ ref: p,
3006
+ className: ue[K_],
3003
3007
  type: "text",
3004
3008
  value: l,
3005
3009
  placeholder: _,
3006
- onChange: p,
3010
+ onChange: m,
3007
3011
  onBlur: S,
3008
3012
  onFocus: C,
3009
3013
  onKeyDown: k,
3010
3014
  disabled: a
3011
3015
  }
3012
3016
  ),
3013
- b && /* @__PURE__ */ e.createElement(
3017
+ v && /* @__PURE__ */ e.createElement(
3014
3018
  "button",
3015
3019
  {
3016
3020
  "aria-label": "Clear search",
@@ -3029,7 +3033,7 @@ const tt = {
3029
3033
  /* @__PURE__ */ e.createElement(Qt, { size: "small" })
3030
3034
  )
3031
3035
  );
3032
- }, K_ = "lc-Switch-module__switch__input___NiiOR", Z_ = "lc-Switch-module__switch__container___79F7W", Q_ = "lc-Switch-module__switch__track___2wr2M", X_ = "lc-Switch-module__switch__slider___WHd--", j_ = "lc-Switch-module__switch__loader___FE-fA", eo = "lc-Switch-module__switch__icon___-O1qY", Z = {
3036
+ }, Z_ = "lc-Switch-module__switch__input___NiiOR", Q_ = "lc-Switch-module__switch__container___79F7W", X_ = "lc-Switch-module__switch__track___2wr2M", j_ = "lc-Switch-module__switch__slider___WHd--", eo = "lc-Switch-module__switch__loader___FE-fA", to = "lc-Switch-module__switch__icon___-O1qY", Z = {
3033
3037
  switch: "lc-Switch-module__switch___AaA2k",
3034
3038
  "switch__track--enabled": "lc-Switch-module__switch__track--enabled___sy4Xl",
3035
3039
  "switch__track--on": "lc-Switch-module__switch__track--on___aOMWe",
@@ -3037,12 +3041,12 @@ const tt = {
3037
3041
  "switch--large": "lc-Switch-module__switch--large___pSoJ7",
3038
3042
  "switch--compact": "lc-Switch-module__switch--compact___OGFIX",
3039
3043
  "switch--medium": "lc-Switch-module__switch--medium___EcZwT",
3040
- switch__input: K_,
3044
+ switch__input: Z_,
3041
3045
  "switch__input--disabled": "lc-Switch-module__switch__input--disabled___Po8gh",
3042
- switch__container: Z_,
3043
- switch__track: Q_,
3046
+ switch__container: Q_,
3047
+ switch__track: X_,
3044
3048
  "switch__track--disabled": "lc-Switch-module__switch__track--disabled___HkDhl",
3045
- switch__slider: X_,
3049
+ switch__slider: j_,
3046
3050
  "switch__slider--large": "lc-Switch-module__switch__slider--large___WoEgi",
3047
3051
  "switch__slider--large--on": "lc-Switch-module__switch__slider--large--on___7Qp3G",
3048
3052
  "switch__slider--large--off": "lc-Switch-module__switch__slider--large--off___iRMmD",
@@ -3052,13 +3056,13 @@ const tt = {
3052
3056
  "switch__slider--medium": "lc-Switch-module__switch__slider--medium___uhptz",
3053
3057
  "switch__slider--medium--on": "lc-Switch-module__switch__slider--medium--on___SfeAV",
3054
3058
  "switch__slider--medium--off": "lc-Switch-module__switch__slider--medium--off___eXJJz",
3055
- switch__loader: j_,
3059
+ switch__loader: eo,
3056
3060
  "switch__loader--compact": "lc-Switch-module__switch__loader--compact___3imUh",
3057
3061
  "switch__loader--medium": "lc-Switch-module__switch__loader--medium___2zi05",
3058
3062
  "switch__loader--large": "lc-Switch-module__switch__loader--large___vLRFa",
3059
- switch__icon: eo
3060
- }, q = "switch", hl = (s) => {
3061
- var m = s, {
3063
+ switch__icon: to
3064
+ }, q = "switch", yl = (s) => {
3065
+ var p = s, {
3062
3066
  className: t = "",
3063
3067
  defaultOn: a = !1,
3064
3068
  disabled: r = !1,
@@ -3069,7 +3073,7 @@ const tt = {
3069
3073
  state: d = "regular",
3070
3074
  innerRef: n,
3071
3075
  ariaLabel: i
3072
- } = m, u = A(m, [
3076
+ } = p, u = A(p, [
3073
3077
  "className",
3074
3078
  "defaultOn",
3075
3079
  "disabled",
@@ -3081,22 +3085,22 @@ const tt = {
3081
3085
  "innerRef",
3082
3086
  "ariaLabel"
3083
3087
  ]);
3084
- const [b, v] = e.useState(
3088
+ const [v, b] = e.useState(
3085
3089
  () => o !== void 0 ? o : a
3086
3090
  );
3087
3091
  e.useEffect(() => {
3088
- o !== void 0 && v(o);
3092
+ o !== void 0 && b(o);
3089
3093
  }, [o]);
3090
- const g = d === "loading", p = d === "locked", E = c === "large" ? "small" : "xsmall", h = b ? "on" : "off", C = r || g || p, S = C ? "disabled" : "enabled", k = f(
3094
+ const g = d === "loading", m = d === "locked", E = c === "large" ? "small" : "xsmall", y = v ? "on" : "off", C = r || g || m, S = C ? "disabled" : "enabled", k = f(
3091
3095
  Z[q],
3092
3096
  Z[`${q}--${c}`],
3093
3097
  t
3094
- ), y = (N) => {
3098
+ ), h = (N) => {
3095
3099
  if (l !== Wt) {
3096
- l(N, b);
3100
+ l(N, v);
3097
3101
  return;
3098
3102
  }
3099
- N.stopPropagation(), v((W) => !W);
3103
+ N.stopPropagation(), b((W) => !W);
3100
3104
  };
3101
3105
  return /* @__PURE__ */ e.createElement("span", { className: k }, /* @__PURE__ */ e.createElement(
3102
3106
  "input",
@@ -3106,8 +3110,8 @@ const tt = {
3106
3110
  Z[`${q}__input`],
3107
3111
  Z[`${q}__input--${S}`]
3108
3112
  ),
3109
- onChange: y,
3110
- checked: b,
3113
+ onChange: h,
3114
+ checked: v,
3111
3115
  name: _,
3112
3116
  ref: n,
3113
3117
  disabled: C,
@@ -3118,7 +3122,7 @@ const tt = {
3118
3122
  {
3119
3123
  className: f(
3120
3124
  Z[`${q}__track`],
3121
- Z[`${q}__track--${h}`],
3125
+ Z[`${q}__track--${y}`],
3122
3126
  Z[`${q}__track--${S}`]
3123
3127
  )
3124
3128
  }
@@ -3128,7 +3132,7 @@ const tt = {
3128
3132
  className: f(
3129
3133
  Z[`${q}__slider`],
3130
3134
  Z[`${q}__slider--${c}`],
3131
- Z[`${q}__slider--${c}--${h}`]
3135
+ Z[`${q}__slider--${c}--${y}`]
3132
3136
  )
3133
3137
  },
3134
3138
  g && /* @__PURE__ */ e.createElement(
@@ -3140,27 +3144,27 @@ const tt = {
3140
3144
  )
3141
3145
  }
3142
3146
  ),
3143
- p && /* @__PURE__ */ e.createElement(
3147
+ m && /* @__PURE__ */ e.createElement(
3144
3148
  I,
3145
3149
  {
3146
3150
  className: Z[`${q}__icon`],
3147
3151
  "data-testid": "lock-icon",
3148
3152
  size: E,
3149
- source: ja,
3153
+ source: er,
3150
3154
  kind: "primary"
3151
3155
  }
3152
3156
  )
3153
3157
  )));
3154
- }, to = "lc-Tab-module__tab___fME7u", ao = "lc-Tab-module__tab__count___gc8tA", ro = "lc-Tab-module__tab__badge___W9c-T", ze = {
3155
- tab: to,
3156
- tab__count: ao,
3158
+ }, ao = "lc-Tab-module__tab___fME7u", ro = "lc-Tab-module__tab__count___gc8tA", _o = "lc-Tab-module__tab__badge___W9c-T", ze = {
3159
+ tab: ao,
3160
+ tab__count: ro,
3157
3161
  "tab--compact": "lc-Tab-module__tab--compact___4qead",
3158
3162
  "tab--medium": "lc-Tab-module__tab--medium___bHnGV",
3159
3163
  "tab--large": "lc-Tab-module__tab--large___JL30g",
3160
- tab__badge: ro,
3164
+ tab__badge: _o,
3161
3165
  "tab--selected": "lc-Tab-module__tab--selected___c0EkL",
3162
3166
  "tab--disabled": "lc-Tab-module__tab--disabled___URdTh"
3163
- }, He = "tab", yl = (d) => {
3167
+ }, He = "tab", El = (d) => {
3164
3168
  var n = d, {
3165
3169
  children: t,
3166
3170
  className: a,
@@ -3194,7 +3198,7 @@ const tt = {
3194
3198
  t,
3195
3199
  u && /* @__PURE__ */ e.createElement(P, { as: "span", size: "md", className: ze[`${He}__count`] }, "(", r, ")"),
3196
3200
  s && /* @__PURE__ */ e.createElement(
3197
- Lr,
3201
+ Or,
3198
3202
  {
3199
3203
  "data-testid": "tab-badge",
3200
3204
  count: r,
@@ -3203,16 +3207,16 @@ const tt = {
3203
3207
  }
3204
3208
  )
3205
3209
  );
3206
- }, _o = "lc-TabsWrapper-module__tabs___Y2xyD", oo = "lc-TabsWrapper-module__tabs__list___i6tVO", Oa = {
3207
- tabs: _o,
3208
- tabs__list: oo
3209
- }, za = "tabs", El = ({
3210
+ }, oo = "lc-TabsWrapper-module__tabs___Y2xyD", lo = "lc-TabsWrapper-module__tabs__list___i6tVO", za = {
3211
+ tabs: oo,
3212
+ tabs__list: lo
3213
+ }, Ha = "tabs", kl = ({
3210
3214
  className: t,
3211
3215
  children: a
3212
- }) => /* @__PURE__ */ e.createElement("div", { className: f(Oa[za], t) }, a), kl = ({
3216
+ }) => /* @__PURE__ */ e.createElement("div", { className: f(za[Ha], t) }, a), $l = ({
3213
3217
  className: t,
3214
3218
  children: a
3215
- }) => /* @__PURE__ */ e.createElement("div", { className: f(Oa[`${za}__list`], t) }, a), lo = ({
3219
+ }) => /* @__PURE__ */ e.createElement("div", { className: f(za[`${Ha}__list`], t) }, a), co = ({
3216
3220
  className: t = "",
3217
3221
  innerEditableRef: a,
3218
3222
  inputRef: r,
@@ -3221,28 +3225,28 @@ const tt = {
3221
3225
  value: l
3222
3226
  }) => {
3223
3227
  const [c, d] = e.useState(!1), n = () => a.current, i = () => {
3224
- const v = n();
3225
- return v ? v.innerText : "";
3228
+ const b = n();
3229
+ return b ? b.innerText : "";
3226
3230
  }, u = () => {
3227
3231
  r && r.current && r.current.focus();
3228
- }, s = (v) => {
3229
- if (v.key === M.enter) {
3230
- v.preventDefault(), u();
3232
+ }, s = (b) => {
3233
+ if (b.key === M.enter) {
3234
+ b.preventDefault(), u();
3231
3235
  return;
3232
3236
  }
3233
- v.key === M.backspace && i() === "" && (d(!0), o(), u());
3234
- }, m = () => {
3235
- const v = n();
3236
- if (!(c || !v)) {
3237
- if (v.innerText === "") {
3237
+ b.key === M.backspace && i() === "" && (d(!0), o(), u());
3238
+ }, p = () => {
3239
+ const b = n();
3240
+ if (!(c || !b)) {
3241
+ if (b.innerText === "") {
3238
3242
  o();
3239
3243
  return;
3240
3244
  }
3241
- _(v.innerText);
3245
+ _(b.innerText);
3242
3246
  }
3243
- }, b = (v) => {
3244
- v.preventDefault();
3245
- const g = v.clipboardData.getData("text/plain");
3247
+ }, v = (b) => {
3248
+ b.preventDefault();
3249
+ const g = b.clipboardData.getData("text/plain");
3246
3250
  document.execCommand("insertHTML", !1, ra(g));
3247
3251
  };
3248
3252
  return /* @__PURE__ */ e.createElement(
@@ -3251,8 +3255,8 @@ const tt = {
3251
3255
  ref: a,
3252
3256
  className: t,
3253
3257
  contentEditable: !0,
3254
- onPaste: b,
3255
- onBlur: m,
3258
+ onPaste: v,
3259
+ onBlur: p,
3256
3260
  onKeyDown: s,
3257
3261
  dangerouslySetInnerHTML: { __html: ra(l) }
3258
3262
  }
@@ -3264,7 +3268,7 @@ const tt = {
3264
3268
  "tag-input__input--medium": "lc-TagInput-module__tag-input__input--medium___DYF7X",
3265
3269
  "tag-input__input--large": "lc-TagInput-module__tag-input__input--large___G6iEO",
3266
3270
  "tag-input__tag__content": "lc-TagInput-module__tag-input__tag__content___x95-M"
3267
- }, co = "tag-input__tag", no = ({
3271
+ }, no = "tag-input__tag", so = ({
3268
3272
  children: t,
3269
3273
  index: a,
3270
3274
  remove: r,
@@ -3275,7 +3279,7 @@ const tt = {
3275
3279
  }) => {
3276
3280
  const d = e.useMemo(() => _ !== void 0 ? _(t) : !0, [t, _]), n = e.useRef(null), i = () => r(a);
3277
3281
  return /* @__PURE__ */ e.createElement(
3278
- Ra,
3282
+ Ma,
3279
3283
  {
3280
3284
  kind: d ? "default" : "error",
3281
3285
  dismissible: !0,
@@ -3283,25 +3287,25 @@ const tt = {
3283
3287
  onRemove: i
3284
3288
  },
3285
3289
  /* @__PURE__ */ e.createElement(
3286
- lo,
3290
+ co,
3287
3291
  {
3288
3292
  value: t,
3289
3293
  inputRef: o,
3290
3294
  innerEditableRef: n,
3291
- className: ct[`${co}__content`],
3295
+ className: ct[`${no}__content`],
3292
3296
  change: (u) => l(a, u),
3293
3297
  remove: i,
3294
3298
  validator: _
3295
3299
  }
3296
3300
  )
3297
3301
  );
3298
- }, $t = "tag-input", so = [
3302
+ }, $t = "tag-input", io = [
3299
3303
  M.enter,
3300
3304
  M.spacebar,
3301
3305
  M.tab,
3302
3306
  M.semicolon,
3303
3307
  M.comma
3304
- ], io = [M.backspace, M.delete], uo = (n) => {
3308
+ ], uo = [M.backspace, M.delete], mo = (n) => {
3305
3309
  var i = n, {
3306
3310
  id: t,
3307
3311
  tags: a,
@@ -3324,40 +3328,40 @@ const tt = {
3324
3328
  }), s = f(
3325
3329
  ct[`${$t}__input`],
3326
3330
  ct[`${$t}__input--${c}`]
3327
- ), [m, b] = e.useState(""), v = e.useRef(null), g = (k) => {
3328
- r([...a || [], k]), b("");
3329
- }, p = (k) => {
3330
- const y = [...a || []];
3331
- y.splice(k, 1), r(y);
3332
- }, E = (k) => b(k.target.value), h = (k) => {
3333
- if (so.includes(k.key)) {
3334
- if (k.preventDefault(), m === "")
3331
+ ), [p, v] = e.useState(""), b = e.useRef(null), g = (k) => {
3332
+ r([...a || [], k]), v("");
3333
+ }, m = (k) => {
3334
+ const h = [...a || []];
3335
+ h.splice(k, 1), r(h);
3336
+ }, E = (k) => v(k.target.value), y = (k) => {
3337
+ if (io.includes(k.key)) {
3338
+ if (k.preventDefault(), p === "")
3335
3339
  return;
3336
- g(m);
3337
- } else if (io.includes(k.key)) {
3338
- if (m !== "" || !(a != null && a.length))
3340
+ g(p);
3341
+ } else if (uo.includes(k.key)) {
3342
+ if (p !== "" || !(a != null && a.length))
3339
3343
  return;
3340
- p(a.length - 1);
3344
+ m(a.length - 1);
3341
3345
  }
3342
- }, C = (k, y) => {
3346
+ }, C = (k, h) => {
3343
3347
  const N = [...a || []];
3344
3348
  N.reduce(
3345
- (W, X, $e) => W + (X === y && $e !== k ? 1 : 0),
3349
+ (W, X, $e) => W + (X === h && $e !== k ? 1 : 0),
3346
3350
  0
3347
- ) > 0 ? N.splice(k, 1) : N[k] = y, r(N);
3351
+ ) > 0 ? N.splice(k, 1) : N[k] = h, r(N);
3348
3352
  }, S = (k) => {
3349
3353
  k.preventDefault();
3350
3354
  const N = k.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
3351
3355
  r([...a || [], ...N]);
3352
3356
  };
3353
- return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: u }, a == null ? void 0 : a.map((k, y) => /* @__PURE__ */ e.createElement(
3354
- no,
3357
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: u }, a == null ? void 0 : a.map((k, h) => /* @__PURE__ */ e.createElement(
3358
+ so,
3355
3359
  {
3356
- index: y,
3357
- key: `${y}${k}`,
3360
+ index: h,
3361
+ key: `${h}${k}`,
3358
3362
  update: C,
3359
- remove: p,
3360
- inputRef: v,
3363
+ remove: m,
3364
+ inputRef: b,
3361
3365
  validator: _,
3362
3366
  size: c
3363
3367
  },
@@ -3366,38 +3370,38 @@ const tt = {
3366
3370
  "input",
3367
3371
  B(w({}, d), {
3368
3372
  id: t,
3369
- ref: v,
3373
+ ref: b,
3370
3374
  className: s,
3371
3375
  placeholder: l,
3372
- value: m,
3376
+ value: p,
3373
3377
  onChange: E,
3374
- onKeyDown: h,
3378
+ onKeyDown: y,
3375
3379
  onPaste: S
3376
3380
  })
3377
3381
  )), o && /* @__PURE__ */ e.createElement(Xt, null, o));
3378
- }, mo = /^(?:[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, po = "name@company.com", go = (t) => mo.test(t), $l = ({
3382
+ }, po = /^(?:[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, go = "name@company.com", fo = (t) => po.test(t), wl = ({
3379
3383
  id: t,
3380
3384
  tags: a,
3381
3385
  onChange: r,
3382
3386
  error: _,
3383
- placeholder: o = po,
3387
+ placeholder: o = go,
3384
3388
  size: l
3385
3389
  }) => /* @__PURE__ */ e.createElement(
3386
- uo,
3390
+ mo,
3387
3391
  {
3388
3392
  id: t,
3389
3393
  tags: a,
3390
3394
  error: _,
3391
3395
  onChange: r,
3392
3396
  placeholder: o,
3393
- validator: go,
3397
+ validator: fo,
3394
3398
  size: l
3395
3399
  }
3396
- ), fo = "lc-Toast-module__toast___j5Amn", bo = "lc-Toast-module__toast__content___HjaNw", vo = "lc-Toast-module__toast__actions___JWu-1", ho = "lc-Toast-module__toast__actions__close___CRPrb", U = {
3397
- toast: fo,
3398
- toast__content: bo,
3399
- toast__actions: vo,
3400
- toast__actions__close: ho,
3400
+ ), bo = "lc-Toast-module__toast___j5Amn", vo = "lc-Toast-module__toast__content___HjaNw", ho = "lc-Toast-module__toast__actions___JWu-1", yo = "lc-Toast-module__toast__actions__close___CRPrb", U = {
3401
+ toast: bo,
3402
+ toast__content: vo,
3403
+ toast__actions: ho,
3404
+ toast__actions__close: yo,
3401
3405
  "toast__actions--custom": "lc-Toast-module__toast__actions--custom___lm-pM",
3402
3406
  "toast--success": "lc-Toast-module__toast--success___7UC6m",
3403
3407
  "toast--warning": "lc-Toast-module__toast--warning___pteb7",
@@ -3419,20 +3423,20 @@ const tt = {
3419
3423
  "toast-appear-active--fade": "lc-Toast-module__toast-appear-active--fade___D3--J",
3420
3424
  "toast-exit--fade": "lc-Toast-module__toast-exit--fade___iDA1p",
3421
3425
  "toast-exit-active--fade": "lc-Toast-module__toast-exit-active--fade___tL7sb"
3422
- }, yo = {
3426
+ }, Eo = {
3423
3427
  success: {
3424
- source: xa
3428
+ source: Sa
3425
3429
  },
3426
3430
  warning: {
3427
- source: Na
3431
+ source: xa
3428
3432
  },
3429
3433
  error: {
3430
- source: Sa
3434
+ source: Da
3431
3435
  },
3432
3436
  info: {
3433
3437
  source: qt
3434
3438
  }
3435
- }, Ce = "toast", Eo = (d) => {
3439
+ }, Ce = "toast", ko = (d) => {
3436
3440
  var n = d, {
3437
3441
  action: t,
3438
3442
  className: a,
@@ -3453,7 +3457,7 @@ const tt = {
3453
3457
  U[`${Ce}--${o}`],
3454
3458
  a
3455
3459
  ), u = (s) => s && s.closesOnClick && l ? (s.onClick(), l()) : s.onClick();
3456
- return /* @__PURE__ */ e.createElement("div", w({ className: i }, c), /* @__PURE__ */ e.createElement("div", { className: U[`${Ce}__icon`] }, /* @__PURE__ */ e.createElement(I, B(w({}, yo[o]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: U[`${Ce}__content`] }, /* @__PURE__ */ e.createElement(P, { as: "div" }, r)), (t || _) && /* @__PURE__ */ e.createElement("div", { className: U[`${Ce}__actions`] }, t && /* @__PURE__ */ e.createElement(
3460
+ return /* @__PURE__ */ e.createElement("div", w({ className: i }, c), /* @__PURE__ */ e.createElement("div", { className: U[`${Ce}__icon`] }, /* @__PURE__ */ e.createElement(I, B(w({}, Eo[o]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: U[`${Ce}__content`] }, /* @__PURE__ */ e.createElement(P, { as: "div" }, r)), (t || _) && /* @__PURE__ */ e.createElement("div", { className: U[`${Ce}__actions`] }, t && /* @__PURE__ */ e.createElement(
3457
3461
  ne,
3458
3462
  {
3459
3463
  className: U[`${Ce}__actions--custom`],
@@ -3477,7 +3481,7 @@ const tt = {
3477
3481
  }
3478
3482
  )
3479
3483
  )));
3480
- }, ko = 200, rt = "toast-wrapper", wl = ({
3484
+ }, $o = 200, rt = "toast-wrapper", Cl = ({
3481
3485
  className: t,
3482
3486
  toasts: a = [],
3483
3487
  fixed: r = !0,
@@ -3496,7 +3500,7 @@ const tt = {
3496
3500
  },
3497
3501
  t
3498
3502
  );
3499
- return /* @__PURE__ */ e.createElement("div", { className: d }, /* @__PURE__ */ e.createElement(Ba, { component: null }, a.map(({ id: n, kind: i, content: u, removable: s, action: m, onClose: b }) => /* @__PURE__ */ e.createElement(
3503
+ return /* @__PURE__ */ e.createElement("div", { className: d }, /* @__PURE__ */ e.createElement(Aa, { component: null }, a.map(({ id: n, kind: i, content: u, removable: s, action: p, onClose: v }) => /* @__PURE__ */ e.createElement(
3500
3504
  Zt,
3501
3505
  {
3502
3506
  key: n,
@@ -3506,27 +3510,28 @@ const tt = {
3506
3510
  exit: U[`toast-exit--${o}`],
3507
3511
  exitActive: U[`toast-exit-active--${o}`]
3508
3512
  },
3509
- timeout: ko
3513
+ timeout: $o
3510
3514
  },
3511
3515
  /* @__PURE__ */ e.createElement(
3512
- Eo,
3516
+ ko,
3513
3517
  {
3514
3518
  kind: i,
3515
- onClose: b,
3519
+ onClose: v,
3516
3520
  removable: s,
3517
- action: m
3521
+ action: p
3518
3522
  },
3519
3523
  u
3520
3524
  )
3521
3525
  ))));
3522
- }, $o = "lc-Tooltip-module__tooltip___QOOAr", wo = "lc-Tooltip-module__tooltip__interactive___0JawB", Co = "lc-Tooltip-module__tooltip__arrow___Ov1YW", x = {
3523
- tooltip: $o,
3524
- tooltip__interactive: wo,
3526
+ }, wo = "lc-Tooltip-module__tooltip___QOOAr", Co = "lc-Tooltip-module__tooltip__wrapper___dmjmW", No = "lc-Tooltip-module__tooltip__interactive___0JawB", xo = "lc-Tooltip-module__tooltip__arrow___Ov1YW", x = {
3527
+ tooltip: wo,
3528
+ tooltip__wrapper: Co,
3529
+ tooltip__interactive: No,
3525
3530
  "tooltip__user-guide-step": "lc-Tooltip-module__tooltip__user-guide-step___evexI",
3526
3531
  "tooltip--invert": "lc-Tooltip-module__tooltip--invert___PVjhE",
3527
3532
  "tooltip--important": "lc-Tooltip-module__tooltip--important___X-IMK",
3528
3533
  "tooltip--full-space": "lc-Tooltip-module__tooltip--full-space___wmbaw",
3529
- tooltip__arrow: Co,
3534
+ tooltip__arrow: xo,
3530
3535
  "tooltip-header": "lc-Tooltip-module__tooltip-header___QV0Vd",
3531
3536
  "tooltip-header--info": "lc-Tooltip-module__tooltip-header--info___zLJ2Z",
3532
3537
  "tooltip-image-container": "lc-Tooltip-module__tooltip-image-container___ySmcd",
@@ -3546,7 +3551,7 @@ const tt = {
3546
3551
  "reports-tooltip__heading__title": "lc-Tooltip-module__reports-tooltip__heading__title___6TlzE",
3547
3552
  "reports-tooltip__heading__description": "lc-Tooltip-module__reports-tooltip__heading__description___eOQnc",
3548
3553
  "reports-tooltip__content": "lc-Tooltip-module__reports-tooltip__content___jxis9"
3549
- }, No = ({
3554
+ }, So = ({
3550
3555
  visible: t,
3551
3556
  floatingOptions: a,
3552
3557
  referenceElement: r,
@@ -3559,54 +3564,54 @@ const tt = {
3559
3564
  transitionDuration: i,
3560
3565
  transitionDelay: u,
3561
3566
  handleMouseEnter: s,
3562
- handleMouseLeave: m,
3563
- handleCloseAction: b,
3564
- arrowRef: v,
3567
+ handleMouseLeave: p,
3568
+ handleCloseAction: v,
3569
+ arrowRef: b,
3565
3570
  childrenElements: g,
3566
- fullSpaceContent: p
3571
+ fullSpaceContent: m
3567
3572
  }) => {
3568
3573
  const {
3569
3574
  x: E,
3570
- y: h,
3575
+ y,
3571
3576
  reference: C,
3572
3577
  floating: S,
3573
3578
  strategy: k,
3574
- update: y,
3579
+ update: h,
3575
3580
  refs: N,
3576
3581
  placement: $,
3577
3582
  middlewareData: { arrow: { x: W, y: X } = {} }
3578
3583
  } = a;
3579
3584
  e.useEffect(() => {
3580
3585
  if (!(!N.reference.current || !N.floating.current))
3581
- return Ca(N.reference.current, N.floating.current, y);
3582
- }, [N.reference, N.floating, y, $, t]), e.useEffect(() => {
3586
+ return Na(N.reference.current, N.floating.current, h);
3587
+ }, [N.reference, N.floating, h, $, t]), e.useEffect(() => {
3583
3588
  r && C(r);
3584
3589
  }, [C, r]);
3585
3590
  const $e = o && X ? X + o : X, Fe = _ && W ? W + _ : W, Se = f(x[l], c, {
3586
3591
  [x[`${l}--invert`]]: d === "invert",
3587
3592
  [x[`${l}--important`]]: d === "important",
3588
- [x[`${l}--full-space`]]: p
3593
+ [x[`${l}--full-space`]]: m
3589
3594
  }), De = /* @__PURE__ */ e.createElement(
3590
3595
  "div",
3591
3596
  {
3592
3597
  ref: S,
3593
3598
  style: {
3594
3599
  position: k,
3595
- top: h != null ? h : "",
3600
+ top: y != null ? y : "",
3596
3601
  left: E != null ? E : ""
3597
3602
  },
3598
3603
  className: Se,
3599
3604
  onMouseEnter: s,
3600
- onMouseLeave: m
3605
+ onMouseLeave: p
3601
3606
  },
3602
- e.Children.map(g, (me) => e.isValidElement(me) ? e.cloneElement(me, w({
3603
- handleCloseAction: b,
3607
+ e.Children.map(g, (ge) => e.isValidElement(ge) ? e.cloneElement(ge, w({
3608
+ handleCloseAction: v,
3604
3609
  theme: d
3605
- }, me.props)) : null),
3610
+ }, ge.props)) : null),
3606
3611
  /* @__PURE__ */ e.createElement(
3607
3612
  "div",
3608
3613
  {
3609
- ref: v,
3614
+ ref: b,
3610
3615
  className: f([x[`${l}__arrow`]]),
3611
3616
  "data-arrow-placement": $,
3612
3617
  style: { top: $e, left: Fe }
@@ -3615,7 +3620,7 @@ const tt = {
3615
3620
  );
3616
3621
  function We() {
3617
3622
  if (n) {
3618
- const me = Ye`
3623
+ const ge = Ye`
3619
3624
  pointer-events: none;
3620
3625
  opacity: 0;
3621
3626
  `, se = Ye`
@@ -3641,7 +3646,7 @@ const tt = {
3641
3646
  unmountOnExit: !0,
3642
3647
  timeout: G,
3643
3648
  classNames: {
3644
- enter: me,
3649
+ enter: ge,
3645
3650
  enterDone: it,
3646
3651
  enterActive: se,
3647
3652
  exit: dt,
@@ -3655,7 +3660,7 @@ const tt = {
3655
3660
  }
3656
3661
  return /* @__PURE__ */ e.createElement(e.Fragment, null, We());
3657
3662
  };
3658
- function Ha(t) {
3663
+ function Ga(t) {
3659
3664
  switch (t) {
3660
3665
  case "invert":
3661
3666
  return "inverted";
@@ -3663,7 +3668,7 @@ function Ha(t) {
3663
3668
  return "primary";
3664
3669
  }
3665
3670
  }
3666
- const xo = (t) => new Promise((a) => setTimeout(a, t)), So = "tooltip", Do = (t) => {
3671
+ const Do = (t) => new Promise((a) => setTimeout(a, t)), ha = "tooltip", To = (t) => {
3667
3672
  const {
3668
3673
  triggerRenderer: a,
3669
3674
  referenceElement: r,
@@ -3676,46 +3681,46 @@ const xo = (t) => new Promise((a) => setTimeout(a, t)), So = "tooltip", Do = (t)
3676
3681
  transitionDuration: i = 200,
3677
3682
  transitionDelay: u = 0,
3678
3683
  hoverOutDelayTimeout: s = 100,
3679
- offsetMainAxis: m = 8,
3680
- triggerOnClick: b = !1,
3681
- arrowOffsetY: v,
3684
+ offsetMainAxis: p = 8,
3685
+ triggerOnClick: v = !1,
3686
+ arrowOffsetY: b,
3682
3687
  arrowOffsetX: g,
3683
- fullSpaceContent: p,
3688
+ fullSpaceContent: m,
3684
3689
  onOpen: E,
3685
- onClose: h
3686
- } = t, C = e.useRef(!0), S = d !== void 0, k = e.useRef(null), [y, N] = e.useState(d), $ = e.useRef(!1), W = ka({
3690
+ onClose: y
3691
+ } = t, C = e.useRef(!0), S = d !== void 0, k = e.useRef(null), [h, N] = e.useState(d), $ = e.useRef(!1), W = $a({
3687
3692
  middleware: [
3688
- $a({ mainAxis: m }),
3689
- Ja({ element: k }),
3690
- wa()
3693
+ wa({ mainAxis: p }),
3694
+ Ka({ element: k }),
3695
+ Ca()
3691
3696
  ],
3692
3697
  placement: c
3693
3698
  }), X = (se) => {
3694
- se ? !y && (E == null || E()) : y && (h == null || h()), S || N(se);
3699
+ se ? !h && (E == null || E()) : h && (y == null || y()), S || N(se);
3695
3700
  };
3696
3701
  e.useEffect(() => {
3697
3702
  if (C.current) {
3698
3703
  C.current = !1;
3699
3704
  return;
3700
3705
  }
3701
- d === !0 && (E == null || E()), d === !1 && (h == null || h()), N(d);
3706
+ d === !0 && (E == null || E()), d === !1 && (y == null || y()), N(d);
3702
3707
  }, [d]), e.useEffect(() => (document.addEventListener("keydown", Se), () => {
3703
3708
  document.removeEventListener("keydown", Se);
3704
3709
  }), []);
3705
3710
  const $e = () => {
3706
- b || S || ($.current = !0, X(!0));
3711
+ v || S || ($.current = !0, X(!0));
3707
3712
  }, Fe = () => {
3708
- b || S || ($.current = !1, xo(s).then(() => {
3713
+ v || S || ($.current = !1, Do(s).then(() => {
3709
3714
  $.current || X(!1);
3710
3715
  }));
3711
3716
  }, Se = (se) => {
3712
3717
  (se instanceof KeyboardEvent && se.key === "Escape" || se.type === "click") && X(!1);
3713
3718
  }, De = /* @__PURE__ */ e.createElement(
3714
- No,
3719
+ So,
3715
3720
  {
3716
- baseClass: So,
3721
+ baseClass: ha,
3717
3722
  className: o,
3718
- visible: y,
3723
+ visible: h,
3719
3724
  floatingOptions: W,
3720
3725
  arrowRef: k,
3721
3726
  handleMouseEnter: $e,
@@ -3726,27 +3731,34 @@ const xo = (t) => new Promise((a) => setTimeout(a, t)), So = "tooltip", Do = (t)
3726
3731
  transitionDelay: u,
3727
3732
  referenceElement: r,
3728
3733
  arrowOffsetX: g,
3729
- arrowOffsetY: v,
3734
+ arrowOffsetY: b,
3730
3735
  theme: l,
3731
3736
  withFadeAnimation: n,
3732
- fullSpaceContent: p
3737
+ fullSpaceContent: m
3733
3738
  }
3734
3739
  );
3735
3740
  if (r)
3736
3741
  return De;
3737
3742
  const We = () => {
3738
- X(!y);
3739
- }, me = () => {
3743
+ X(!h);
3744
+ }, ge = () => {
3740
3745
  if (!S)
3741
- return b ? {
3746
+ return v ? {
3742
3747
  onClick: We
3743
3748
  } : {
3744
3749
  onMouseEnter: $e,
3745
3750
  onMouseLeave: Fe
3746
3751
  };
3747
3752
  };
3748
- return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", w({ ref: W.reference }, me()), a()), De);
3749
- }, Cl = ({ text: t }) => /* @__PURE__ */ e.createElement("div", null, t), wt = "tooltip", Nl = ({ header: t, text: a, closeWithX: r, theme: _, handleCloseAction: o }) => /* @__PURE__ */ e.createElement("div", null, r && /* @__PURE__ */ e.createElement(
3753
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
3754
+ "div",
3755
+ w({
3756
+ className: x[`${ha}__wrapper`],
3757
+ ref: W.reference
3758
+ }, ge()),
3759
+ a()
3760
+ ), De);
3761
+ }, Nl = ({ text: t }) => /* @__PURE__ */ e.createElement("div", null, t), wt = "tooltip", xl = ({ header: t, text: a, closeWithX: r, theme: _, handleCloseAction: o }) => /* @__PURE__ */ e.createElement("div", null, r && /* @__PURE__ */ e.createElement(
3750
3762
  "div",
3751
3763
  {
3752
3764
  className: x[`${wt}-close`],
@@ -3755,8 +3767,8 @@ const xo = (t) => new Promise((a) => setTimeout(a, t)), So = "tooltip", Do = (t)
3755
3767
  /* @__PURE__ */ e.createElement(
3756
3768
  I,
3757
3769
  {
3758
- source: Ta,
3759
- kind: _ ? Ha(_) : "primary"
3770
+ source: Ia,
3771
+ kind: _ ? Ga(_) : "primary"
3760
3772
  }
3761
3773
  )
3762
3774
  ), t && /* @__PURE__ */ e.createElement(
@@ -3768,7 +3780,7 @@ const xo = (t) => new Promise((a) => setTimeout(a, t)), So = "tooltip", Do = (t)
3768
3780
  )
3769
3781
  },
3770
3782
  t
3771
- ), /* @__PURE__ */ e.createElement("div", { className: x[`${wt}-text`] }, a)), Ne = "tooltip", xl = ({
3783
+ ), /* @__PURE__ */ e.createElement("div", { className: x[`${wt}-text`] }, a)), Ne = "tooltip", Sl = ({
3772
3784
  header: t,
3773
3785
  text: a,
3774
3786
  image: r,
@@ -3783,7 +3795,7 @@ const xo = (t) => new Promise((a) => setTimeout(a, t)), So = "tooltip", Do = (t)
3783
3795
  className: x[`${Ne}-close-button`],
3784
3796
  onClick: l
3785
3797
  },
3786
- /* @__PURE__ */ e.createElement(I, { source: Ta, kind: o ? Ha(o) : "primary" })
3798
+ /* @__PURE__ */ e.createElement(I, { source: Ia, kind: o ? Ga(o) : "primary" })
3787
3799
  )), r && /* @__PURE__ */ e.createElement("div", { className: x[`${Ne}-image-container`] }, /* @__PURE__ */ e.createElement(
3788
3800
  "img",
3789
3801
  {
@@ -3805,7 +3817,7 @@ const xo = (t) => new Promise((a) => setTimeout(a, t)), So = "tooltip", Do = (t)
3805
3817
  onClick: d.handleClick
3806
3818
  },
3807
3819
  d.label
3808
- ))), J = "guide-tooltip", To = ({
3820
+ ))), J = "guide-tooltip", Io = ({
3809
3821
  gap: t,
3810
3822
  isVisible: a,
3811
3823
  slide: r,
@@ -3892,7 +3904,7 @@ const xo = (t) => new Promise((a) => setTimeout(a, t)), So = "tooltip", Do = (t)
3892
3904
  }
3893
3905
  ));
3894
3906
  };
3895
- class Io {
3907
+ class Bo {
3896
3908
  constructor(a, r) {
3897
3909
  At(this, "element");
3898
3910
  At(this, "padding");
@@ -3921,7 +3933,7 @@ class Io {
3921
3933
  return this.getBoundingClientRect().height;
3922
3934
  }
3923
3935
  }
3924
- const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
3936
+ const ya = 8, Ea = "guide-tooltip", ka = (t, a) => new Bo(t, a), Dl = (t) => {
3925
3937
  const {
3926
3938
  className: a,
3927
3939
  parentElementName: r,
@@ -3931,9 +3943,9 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
3931
3943
  null
3932
3944
  ), [d, n] = e.useState(null), [i, u] = e.useState(o), s = () => {
3933
3945
  l && (n(
3934
- Ea(
3946
+ ka(
3935
3947
  l,
3936
- ha
3948
+ ya
3937
3949
  ).getBoundingClientRect()
3938
3950
  ), u(!1));
3939
3951
  };
@@ -3944,18 +3956,18 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
3944
3956
  };
3945
3957
  }, [l, r]), e.useEffect(() => {
3946
3958
  if (r) {
3947
- const m = document.querySelector(r);
3948
- c(m);
3959
+ const p = document.querySelector(r);
3960
+ c(p);
3949
3961
  }
3950
3962
  }, [r]), e.useEffect(() => {
3951
3963
  l && n(
3952
- Ea(
3964
+ ka(
3953
3965
  l,
3954
- ha
3966
+ ya
3955
3967
  ).getBoundingClientRect()
3956
3968
  ), u(!0);
3957
3969
  }, [l]), l && _ ? /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
3958
- To,
3970
+ Io,
3959
3971
  {
3960
3972
  gap: d,
3961
3973
  isVisible: _,
@@ -3963,7 +3975,7 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
3963
3975
  disablePointerEvents: !0
3964
3976
  }
3965
3977
  ), /* @__PURE__ */ e.createElement(
3966
- Do,
3978
+ To,
3967
3979
  B(w({}, t), {
3968
3980
  referenceElement: {
3969
3981
  getBoundingClientRect: () => d,
@@ -3971,14 +3983,14 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
3971
3983
  },
3972
3984
  arrowOffsetY: 25,
3973
3985
  className: f({
3974
- [x[ya]]: !0,
3975
- [x[`${ya}--slide`]]: i,
3986
+ [x[Ea]]: !0,
3987
+ [x[`${Ea}--slide`]]: i,
3976
3988
  className: a
3977
3989
  })
3978
3990
  }),
3979
3991
  t.children
3980
3992
  )) : null;
3981
- }, _t = "reports-tooltip", Dl = ({
3993
+ }, _t = "reports-tooltip", Tl = ({
3982
3994
  title: t,
3983
3995
  description: a,
3984
3996
  children: r
@@ -3990,29 +4002,29 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
3990
4002
  className: x[`${_t}__heading__description`]
3991
4003
  },
3992
4004
  a
3993
- )), /* @__PURE__ */ e.createElement("div", { className: x[`${_t}__content`] }, /* @__PURE__ */ e.createElement(P, { as: "div" }, r))), Bo = "lc-Textarea-module__textarea___g6U8F", Ct = {
3994
- textarea: Bo,
4005
+ )), /* @__PURE__ */ e.createElement("div", { className: x[`${_t}__content`] }, /* @__PURE__ */ e.createElement(P, { as: "div" }, r))), Ao = "lc-Textarea-module__textarea___g6U8F", Ct = {
4006
+ textarea: Ao,
3995
4007
  "textarea--focused": "lc-Textarea-module__textarea--focused___1vtEx",
3996
4008
  "textarea--disabled": "lc-Textarea-module__textarea--disabled___xXaGv",
3997
4009
  "textarea--error": "lc-Textarea-module__textarea--error___0EGuq"
3998
- }, Nt = "textarea", Tl = e.forwardRef(
4010
+ }, Nt = "textarea", Il = e.forwardRef(
3999
4011
  (o, _) => {
4000
4012
  var l = o, { className: t, error: a } = l, r = A(l, ["className", "error"]);
4001
4013
  const { disabled: c, onBlur: d, onFocus: n } = r, [i, u] = e.useState(!1), s = f(t, Ct[Nt], {
4002
4014
  [Ct[`${Nt}--disabled`]]: c,
4003
4015
  [Ct[`${Nt}--focused`]]: i,
4004
4016
  [Ct[`${Nt}--error`]]: a
4005
- }), m = (v) => {
4006
- u(!1), d == null || d(v);
4007
- }, b = (v) => {
4008
- u(!0), n == null || n(v);
4017
+ }), p = (b) => {
4018
+ u(!1), d == null || d(b);
4019
+ }, v = (b) => {
4020
+ u(!0), n == null || n(b);
4009
4021
  };
4010
4022
  return /* @__PURE__ */ e.createElement("div", { className: s }, /* @__PURE__ */ e.createElement(
4011
4023
  "textarea",
4012
4024
  B(w({}, r), {
4013
4025
  ref: _,
4014
- onFocus: b,
4015
- onBlur: m
4026
+ onFocus: v,
4027
+ onBlur: p
4016
4028
  })
4017
4029
  ));
4018
4030
  }
@@ -4028,7 +4040,7 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
4028
4040
  "aria-label": "Retry",
4029
4041
  onClick: r
4030
4042
  },
4031
- /* @__PURE__ */ e.createElement(I, { size: "small", source: er })
4043
+ /* @__PURE__ */ e.createElement(I, { size: "small", source: tr })
4032
4044
  ), a && t !== "success" && /* @__PURE__ */ e.createElement(
4033
4045
  "button",
4034
4046
  {
@@ -4049,7 +4061,7 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
4049
4061
  "file-upload-progress__wrapper__header__title": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title___2IVuv",
4050
4062
  "file-upload-progress__wrapper__header__title--success": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--success___E6DQl",
4051
4063
  "file-upload-progress__wrapper__header__title--error": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--error___5BPpI"
4052
- }, he = "file-upload-progress", zt = `${he}__wrapper__header__title`, Ao = e.forwardRef(
4064
+ }, Ee = "file-upload-progress", zt = `${Ee}__wrapper__header__title`, Po = e.forwardRef(
4053
4065
  ({
4054
4066
  actionsVisibility: t = "hidden",
4055
4067
  className: a,
@@ -4060,23 +4072,23 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
4060
4072
  status: c = "normal",
4061
4073
  onCloseButtonClick: d,
4062
4074
  onRetryButtonClick: n
4063
- }, i) => /* @__PURE__ */ e.createElement("div", { className: le[he], ref: i }, r && c !== "success" && /* @__PURE__ */ e.createElement("div", { className: le[`${he}__icon`] }, r), c === "success" && /* @__PURE__ */ e.createElement(
4075
+ }, i) => /* @__PURE__ */ e.createElement("div", { className: le[Ee], ref: i }, r && c !== "success" && /* @__PURE__ */ e.createElement("div", { className: le[`${Ee}__icon`] }, r), c === "success" && /* @__PURE__ */ e.createElement(
4064
4076
  "div",
4065
4077
  {
4066
4078
  className: f(
4067
- le[`${he}__icon`],
4068
- le[`${he}__icon--success`]
4079
+ le[`${Ee}__icon`],
4080
+ le[`${Ee}__icon--success`]
4069
4081
  )
4070
4082
  },
4071
4083
  /* @__PURE__ */ e.createElement(I, { source: Jt })
4072
4084
  ), /* @__PURE__ */ e.createElement(
4073
4085
  "div",
4074
4086
  {
4075
- className: f(le[`${he}__wrapper`], {
4076
- [le[`${he}__wrapper--with-icon`]]: r
4087
+ className: f(le[`${Ee}__wrapper`], {
4088
+ [le[`${Ee}__wrapper--with-icon`]]: r
4077
4089
  })
4078
4090
  },
4079
- /* @__PURE__ */ e.createElement("div", { className: le[`${he}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
4091
+ /* @__PURE__ */ e.createElement("div", { className: le[`${Ee}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
4080
4092
  "div",
4081
4093
  {
4082
4094
  className: f(le[zt], {
@@ -4091,7 +4103,7 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
4091
4103
  "div",
4092
4104
  {
4093
4105
  className: f({
4094
- [le[`${he}__wrapper__header__actions`]]: t === "hover"
4106
+ [le[`${Ee}__wrapper__header__actions`]]: t === "hover"
4095
4107
  })
4096
4108
  },
4097
4109
  /* @__PURE__ */ e.createElement(
@@ -4104,7 +4116,7 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
4104
4116
  )
4105
4117
  )),
4106
4118
  c !== "success" && /* @__PURE__ */ e.createElement(
4107
- W_,
4119
+ V_,
4108
4120
  {
4109
4121
  className: a,
4110
4122
  percent: o,
@@ -4134,14 +4146,14 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
4134
4146
  "upload-bar__files--exit-done": "lc-UploadBar-module__upload-bar__files--exit-done___2I72G",
4135
4147
  "upload-bar__files-wrapper": "lc-UploadBar-module__upload-bar__files-wrapper___93bs8",
4136
4148
  "upload-bar__files__list": "lc-UploadBar-module__upload-bar__files__list___QJFEq"
4137
- }, Q = "upload-bar", ke = `${Q}__wrapper__header`, Po = 300, Fo = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__success-icon`] }, /* @__PURE__ */ e.createElement(I, { source: Jt })) : t === "error" ? /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__error-icon`] }, /* @__PURE__ */ e.createElement(I, { source: tr })) : /* @__PURE__ */ e.createElement(
4138
- U_,
4149
+ }, Q = "upload-bar", ke = `${Q}__wrapper__header`, Fo = 300, Ro = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__success-icon`] }, /* @__PURE__ */ e.createElement(I, { source: Jt })) : t === "error" ? /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__error-icon`] }, /* @__PURE__ */ e.createElement(I, { source: ar })) : /* @__PURE__ */ e.createElement(
4150
+ W_,
4139
4151
  {
4140
4152
  className: R[`${ke}__loader`],
4141
4153
  status: t,
4142
4154
  progressValue: a
4143
4155
  }
4144
- ), Il = ({
4156
+ ), Bl = ({
4145
4157
  children: t,
4146
4158
  className: a,
4147
4159
  progressValue: r,
@@ -4155,14 +4167,14 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
4155
4167
  onCloseButtonClick: u,
4156
4168
  onRetryButtonClick: s
4157
4169
  }) => {
4158
- const [m, b] = e.useState(o || !1), v = c === "error", g = c === "success", p = f(R[Q], a, {
4159
- [R[`${Q}--error`]]: v,
4170
+ const [p, v] = e.useState(o || !1), b = c === "error", g = c === "success", m = f(R[Q], a, {
4171
+ [R[`${Q}--error`]]: b,
4160
4172
  [R[`${Q}--success`]]: g
4161
- }), E = !(v && (s || u)), h = () => b(!m);
4162
- return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: p }, /* @__PURE__ */ e.createElement("div", { className: R[`${Q}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${ke}`] }, /* @__PURE__ */ e.createElement(
4163
- Ao,
4173
+ }), E = !(b && (s || u)), y = () => v(!p);
4174
+ return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: m }, /* @__PURE__ */ e.createElement("div", { className: R[`${Q}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${ke}`] }, /* @__PURE__ */ e.createElement(
4175
+ Po,
4164
4176
  {
4165
- title: v && l || _,
4177
+ title: b && l || _,
4166
4178
  progressValue: r,
4167
4179
  status: c,
4168
4180
  icon: d,
@@ -4175,20 +4187,20 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
4175
4187
  onCloseButtonClick: u,
4176
4188
  onRetryButtonClick: s
4177
4189
  }
4178
- ))) : /* @__PURE__ */ e.createElement("div", { className: p }, /* @__PURE__ */ e.createElement(
4190
+ ))) : /* @__PURE__ */ e.createElement("div", { className: m }, /* @__PURE__ */ e.createElement(
4179
4191
  "div",
4180
4192
  {
4181
4193
  className: R[`${Q}__wrapper`],
4182
- onClick: h
4194
+ onClick: y
4183
4195
  },
4184
- /* @__PURE__ */ e.createElement("div", { className: R[`${ke}`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__icon`] }, Fo(c, r)), /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__title`] }, /* @__PURE__ */ e.createElement(P, { size: "sm", as: "div" }, v ? l : _)), E && /* @__PURE__ */ e.createElement(
4196
+ /* @__PURE__ */ e.createElement("div", { className: R[`${ke}`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__icon`] }, Ro(c, r)), /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__title`] }, /* @__PURE__ */ e.createElement(P, { size: "sm", as: "div" }, b ? l : _)), E && /* @__PURE__ */ e.createElement(
4185
4197
  "button",
4186
4198
  {
4187
4199
  className: R[`${ke}__collapse-button`],
4188
4200
  type: "button",
4189
- onClick: h
4201
+ onClick: y
4190
4202
  },
4191
- m ? /* @__PURE__ */ e.createElement(I, { source: St }) : /* @__PURE__ */ e.createElement(I, { source: Dt })
4203
+ p ? /* @__PURE__ */ e.createElement(I, { source: St }) : /* @__PURE__ */ e.createElement(I, { source: Dt })
4192
4204
  ), c === "error" && /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__actions-container`] }, /* @__PURE__ */ e.createElement(
4193
4205
  Yt,
4194
4206
  {
@@ -4197,10 +4209,10 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
4197
4209
  onRetryButtonClick: s
4198
4210
  }
4199
4211
  )))
4200
- ), /* @__PURE__ */ e.createElement(Ba, { component: null }, m && /* @__PURE__ */ e.createElement(
4212
+ ), /* @__PURE__ */ e.createElement(Aa, { component: null }, p && /* @__PURE__ */ e.createElement(
4201
4213
  Zt,
4202
4214
  {
4203
- timeout: Po,
4215
+ timeout: Fo,
4204
4216
  classNames: {
4205
4217
  enter: R[`${Q}__files--enter`],
4206
4218
  enterActive: R[`${Q}__files--enter-active`],
@@ -4213,64 +4225,64 @@ const ha = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
4213
4225
  )));
4214
4226
  };
4215
4227
  export {
4216
- ko as ANIMATION_TIME,
4217
- Xo as ActionMenu,
4218
- jo as ActionMenuItem,
4219
- el as Alert,
4220
- tl as Avatar,
4221
- Lr as Badge,
4228
+ $o as ANIMATION_TIME,
4229
+ jo as ActionMenu,
4230
+ el as ActionMenuItem,
4231
+ tl as Alert,
4232
+ al as Avatar,
4233
+ Or as Badge,
4222
4234
  ne as Button,
4223
- rl as Card,
4224
- _l as Checkbox,
4225
- m_ as DatePicker,
4226
- Ko as DesignToken,
4227
- $l as EmailTagInput,
4235
+ _l as Card,
4236
+ ol as Checkbox,
4237
+ p_ as DatePicker,
4238
+ Zo as DesignToken,
4239
+ wl as EmailTagInput,
4228
4240
  Tt as FieldDescription,
4229
4241
  Xt as FieldError,
4230
- ol as FieldGroup,
4231
- Ao as FileUploadProgress,
4242
+ ll as FieldGroup,
4243
+ Po as FileUploadProgress,
4232
4244
  Yt as FileUploadProgressActions,
4233
- ll as Form,
4234
- cl as FormField,
4235
- nl as FormGroup,
4245
+ cl as Form,
4246
+ nl as FormField,
4247
+ sl as FormGroup,
4236
4248
  st as Heading,
4237
4249
  I as Icon,
4238
- Nl as Info,
4239
- sl as Input,
4240
- xl as Interactive,
4241
- il as Link,
4250
+ xl as Info,
4251
+ il as Input,
4252
+ Sl as Interactive,
4253
+ dl as Link,
4242
4254
  Qt as Loader,
4243
- dl as Modal,
4244
- x_ as ModalBase,
4255
+ ul as Modal,
4256
+ S_ as ModalBase,
4245
4257
  fa as ModalCloseButton,
4246
- ml as ModalHeader,
4247
- ul as ModalPortal,
4248
- pl as NumericInput,
4249
- gl as Picker,
4250
- S_ as PickerList,
4251
- ur as Popover,
4252
- W_ as ProgressBar,
4253
- U_ as ProgressCircle,
4254
- fl as PromoBanner,
4255
- bl as RadioButton,
4256
- g_ as RangeDatePicker,
4257
- Dl as Reports,
4258
- vl as SearchInput,
4259
- al as SegmentedControl,
4260
- Qo as ShadowToken,
4261
- Cl as Simple,
4262
- Zo as SpacingToken,
4263
- hl as Switch,
4264
- yl as Tab,
4265
- kl as TabsList,
4266
- El as TabsWrapper,
4267
- Ra as Tag,
4268
- uo as TagInput,
4258
+ pl as ModalHeader,
4259
+ ml as ModalPortal,
4260
+ gl as NumericInput,
4261
+ fl as Picker,
4262
+ D_ as PickerList,
4263
+ mr as Popover,
4264
+ V_ as ProgressBar,
4265
+ W_ as ProgressCircle,
4266
+ bl as PromoBanner,
4267
+ vl as RadioButton,
4268
+ f_ as RangeDatePicker,
4269
+ Tl as Reports,
4270
+ hl as SearchInput,
4271
+ rl as SegmentedControl,
4272
+ Xo as ShadowToken,
4273
+ Nl as Simple,
4274
+ Qo as SpacingToken,
4275
+ yl as Switch,
4276
+ El as Tab,
4277
+ $l as TabsList,
4278
+ kl as TabsWrapper,
4279
+ Ma as Tag,
4280
+ mo as TagInput,
4269
4281
  P as Text,
4270
- Tl as Textarea,
4271
- Eo as Toast,
4272
- wl as ToastWrapper,
4273
- Do as Tooltip,
4274
- Il as UploadBar,
4275
- Sl as UserGuide
4282
+ Il as Textarea,
4283
+ ko as Toast,
4284
+ Cl as ToastWrapper,
4285
+ To as Tooltip,
4286
+ Bl as UploadBar,
4287
+ Dl as UserGuide
4276
4288
  };