@livechat/design-system-react-components 1.0.0-beta.6 → 1.0.0-beta.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dsrc.es.js CHANGED
@@ -2,7 +2,7 @@ var Xa = Object.defineProperty, er = Object.defineProperties;
2
2
  var tr = Object.getOwnPropertyDescriptors;
3
3
  var ht = Object.getOwnPropertySymbols;
4
4
  var la = Object.prototype.hasOwnProperty, ca = Object.prototype.propertyIsEnumerable;
5
- var Lt = (t, a, r) => a in t ? Xa(t, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[a] = r, E = (t, a) => {
5
+ var Lt = (t, a, r) => a in t ? Xa(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
  la.call(a, r) && Lt(t, r, a[r]);
8
8
  if (ht)
@@ -21,20 +21,20 @@ var B = (t, a) => {
21
21
  };
22
22
  var Ot = (t, a, r) => (Lt(t, typeof a != "symbol" ? a + "" : a, r), r);
23
23
  import * as e from "react";
24
- import { useReducer as ar, useRef as rr, useEffect as Ke, useCallback as kt, useMemo as yt } from "react";
24
+ import { useReducer as ar, useRef as rr, useEffect as Qe, useCallback as kt, useMemo as yt } from "react";
25
25
  import { ChevronDown as ft, Close as xe, Info as ea, Warning as Ia, CheckCircle as Aa, Block as Ba, Person as _r, ChevronUp as Ft, VisibilityOn as or, VisibilityOff as lr, Check as ta, Search as cr, LockBlackFilled as nr, Refresh as sr, Error as ir } from "@livechat/design-system-icons/react/tabler";
26
- import b, { clsx as Oe } from "clsx";
26
+ import f, { clsx as He } from "clsx";
27
27
  import { useFloating as Pa, offset as Fa, flip as Ra, autoUpdate as Ma, arrow as dr } from "@floating-ui/react-dom";
28
- import { css as Ze, cx as ur } from "@emotion/css";
28
+ import { css as Xe, cx as ur } from "@emotion/css";
29
29
  import { CSSTransition as aa, TransitionGroup as La } from "react-transition-group";
30
30
  import { Close as Oa, DoubleArrowLeft as mr, ChevronLeft as pr, ChevronRight as gr, DoubleArrowRight as fr } from "@livechat/design-system-icons/react/material";
31
31
  import za from "lodash.debounce";
32
32
  import { getContrast as ra } from "polished";
33
33
  import br from "react-day-picker";
34
- import { subMonths as qe, differenceInCalendarMonths as na, addMonths as sa, isSameMonth as Jt, isSameDay as jt, isAfter as Kt, differenceInCalendarDays as Ha } from "date-fns";
34
+ import { subMonths as je, differenceInCalendarMonths as na, addMonths as sa, isSameMonth as Jt, isSameDay as jt, isAfter as Kt, differenceInCalendarDays as Ha } from "date-fns";
35
35
  import * as vr from "react-dom";
36
36
  import ia from "lodash.escape";
37
- const ul = {
37
+ const dl = {
38
38
  Background: "--background",
39
39
  // deprecated
40
40
  Background01: "--background-01",
@@ -302,7 +302,7 @@ const ul = {
302
302
  IllustrationsStroke: "--illustrations-stroke",
303
303
  TagSurface01: "--tag-surface-01",
304
304
  TagContent01: "--tag-content-01"
305
- }, ml = {
305
+ }, ul = {
306
306
  Spacing0: "--spacing-0",
307
307
  Spacing05: "--spacing-05",
308
308
  Spacing1: "--spacing-1",
@@ -318,12 +318,12 @@ const ul = {
318
318
  Spacing18: "--spacing-18",
319
319
  Spacing20: "--spacing-20",
320
320
  Spacing24: "--spacing-24"
321
- }, pl = {
321
+ }, ml = {
322
322
  Float: "--shadow-float",
323
323
  PopOver: "--shadow-pop-over",
324
324
  Modal: "--shadow-modal",
325
325
  Focus: "--shadow-focus"
326
- }, gl = {
326
+ }, pl = {
327
327
  0: "--radius-0",
328
328
  1: "--radius-1",
329
329
  2: "--radius-2",
@@ -339,7 +339,7 @@ const ul = {
339
339
  comma: ",",
340
340
  arrowUp: "ArrowUp",
341
341
  arrowDown: "ArrowDown"
342
- }, hr = "lc-Typography-module__caps___c3eNJ", Ye = {
342
+ }, hr = "lc-Typography-module__caps___c3eNJ", Je = {
343
343
  "heading-xl": "lc-Typography-module__heading-xl___nhr-6",
344
344
  "heading-lg": "lc-Typography-module__heading-lg___XYF7l",
345
345
  "heading-md": "lc-Typography-module__heading-md___wHOIs",
@@ -363,7 +363,7 @@ const ul = {
363
363
  md: "h3",
364
364
  sm: "h4",
365
365
  xs: "h5"
366
- }, Je = (l) => {
366
+ }, Ke = (l) => {
367
367
  var c = l, {
368
368
  as: t,
369
369
  size: a = "md",
@@ -377,11 +377,11 @@ const ul = {
377
377
  ]);
378
378
  return e.createElement(
379
379
  t || kr[a],
380
- E({ className: b(Ye[`heading-${a}`], o) }, _),
380
+ w({ className: f(Je[`heading-${a}`], o) }, _),
381
381
  r
382
382
  );
383
383
  }, P = (d) => {
384
- var m = d, {
384
+ var i = d, {
385
385
  as: t = "p",
386
386
  size: a = "md",
387
387
  caps: r = !1,
@@ -390,7 +390,7 @@ const ul = {
390
390
  strike: l = !1,
391
391
  children: c,
392
392
  className: n
393
- } = m, s = B(m, [
393
+ } = i, s = B(i, [
394
394
  "as",
395
395
  "size",
396
396
  "caps",
@@ -400,23 +400,23 @@ const ul = {
400
400
  "children",
401
401
  "className"
402
402
  ]);
403
- const u = r ? "caps" : `paragraph-${a}`;
403
+ const m = r ? "caps" : `paragraph-${a}`;
404
404
  return e.createElement(
405
405
  t,
406
- E({
407
- className: b(
406
+ w({
407
+ className: f(
408
408
  {
409
- [Ye[`${u}`]]: !0,
410
- [Ye[`${u}--bold`]]: o,
411
- [Ye[`${u}--strike`]]: l,
412
- [Ye[`${u}--underline`]]: _
409
+ [Je[`${m}`]]: !0,
410
+ [Je[`${m}--bold`]]: o,
411
+ [Je[`${m}--strike`]]: l,
412
+ [Je[`${m}--underline`]]: _
413
413
  },
414
414
  n
415
415
  )
416
416
  }, s),
417
417
  c
418
418
  );
419
- }, fl = (l) => {
419
+ }, gl = (l) => {
420
420
  var c = l, {
421
421
  as: t = "div",
422
422
  size: a = "md",
@@ -430,150 +430,14 @@ const ul = {
430
430
  ]);
431
431
  return e.createElement(
432
432
  t,
433
- E({ className: b(Ye[`display-${a}`], o) }, _),
433
+ w({ className: f(Je[`display-${a}`], o) }, _),
434
434
  r
435
435
  );
436
- }, yr = "lc-Loader-module__loader___LRflD", Er = "lc-Loader-module__loader__spinner___l3C1g", $r = "lc-Loader-module__rotate___Tlni-", wr = "lc-Loader-module__loader__label___R74f6", Qe = {
437
- loader: yr,
438
- loader__spinner: Er,
439
- "loader__spinner--small": "lc-Loader-module__loader__spinner--small___dGFFt",
440
- "loader__spinner--medium": "lc-Loader-module__loader__spinner--medium___J-ki0",
441
- "loader__spinner--large": "lc-Loader-module__loader__spinner--large___Poqq7",
442
- "loader__spinner-circle": "lc-Loader-module__loader__spinner-circle___ApBUO",
443
- rotate: $r,
444
- loader__label: wr
445
- }, Ga = "loader", da = `${Ga}__spinner`, _a = ({
446
- primaryColor: t,
447
- secondaryColor: a,
448
- label: r,
449
- className: o,
450
- size: _ = "medium"
451
- }) => /* @__PURE__ */ e.createElement("div", { className: b(Qe[Ga], o) }, /* @__PURE__ */ e.createElement(
452
- "div",
453
- {
454
- className: b(Qe[da], Qe[`${da}--${_}`])
455
- },
456
- /* @__PURE__ */ e.createElement(
457
- "div",
458
- {
459
- className: Qe["loader__spinner-circle"],
460
- style: {
461
- /* stylelint-disable */
462
- borderColor: a,
463
- borderTopColor: t
464
- }
465
- }
466
- )
467
- ), r && /* @__PURE__ */ e.createElement(P, { as: "div", size: "md", className: Qe.loader__label }, r)), Cr = "lc-Button-module__btn___aijZJ", Nr = "lc-Button-module__btn__loader___c8zZz", xr = "lc-Button-module__btn__content___wefl2", Sr = "lc-Button-module__btn__icon___GVExB", le = {
468
- btn: Cr,
469
- "btn--disabled": "lc-Button-module__btn--disabled___lXBav",
470
- "btn--full-width": "lc-Button-module__btn--full-width___kdbAr",
471
- "btn--basic": "lc-Button-module__btn--basic___Jc2gD",
472
- "btn--primary": "lc-Button-module__btn--primary___ajbjQ",
473
- "btn--secondary": "lc-Button-module__btn--secondary___iWzE0",
474
- "btn--destructive": "lc-Button-module__btn--destructive___-kLCl",
475
- "btn--destructive-outline": "lc-Button-module__btn--destructive-outline___dexc3",
476
- "btn--compact": "lc-Button-module__btn--compact___4eptQ",
477
- "btn--icon-only": "lc-Button-module__btn--icon-only___bF5pW",
478
- "btn--large": "lc-Button-module__btn--large___lb-z6",
479
- "btn--text": "lc-Button-module__btn--text___WA8OL",
480
- "btn--link": "lc-Button-module__btn--link___51ZgF",
481
- "btn--link-light": "lc-Button-module__btn--link-light___iitZ6",
482
- "btn--plain": "lc-Button-module__btn--plain___eOPui",
483
- "btn--float": "lc-Button-module__btn--float___J4lTs",
484
- "btn--dotted": "lc-Button-module__btn--dotted___y1EEP",
485
- "btn--high-contrast": "lc-Button-module__btn--high-contrast___zHSVM",
486
- "btn--loading": "lc-Button-module__btn--loading___ZAgjv",
487
- btn__loader: Nr,
488
- btn__content: xr,
489
- btn__icon: Sr,
490
- "btn__icon--left": "lc-Button-module__btn__icon--left___H68zu",
491
- "btn__icon--right": "lc-Button-module__btn__icon--right___fHr3D",
492
- "btn--icon-only--bg": "lc-Button-module__btn--icon-only--bg___X-4V2"
493
- }, ce = "btn", R = e.forwardRef(
494
- (v, h) => {
495
- var p = v, {
496
- loading: t = !1,
497
- disabled: a = !1,
498
- type: r = "button",
499
- fullWidth: o = !1,
500
- kind: _ = "basic",
501
- size: l = "medium",
502
- icon: c = null,
503
- iconPosition: n = "left",
504
- loaderLabel: s,
505
- className: d,
506
- children: m,
507
- href: u,
508
- onClick: i
509
- } = p, g = B(p, [
510
- "loading",
511
- "disabled",
512
- "type",
513
- "fullWidth",
514
- "kind",
515
- "size",
516
- "icon",
517
- "iconPosition",
518
- "loaderLabel",
519
- "className",
520
- "children",
521
- "href",
522
- "onClick"
523
- ]);
524
- const y = t || a, f = !m && c, w = ["text", "link", "link-light"].includes(_), S = u ? "a" : "button", $ = () => {
525
- if (_ === "primary" || _ === "destructive")
526
- return {
527
- primaryColor: "var(--action-primary-default)",
528
- secondaryColor: "var(--border-invert-primary)"
529
- };
530
- }, k = b(
531
- d,
532
- le[ce],
533
- le[`${ce}--${_}`],
534
- le[`${ce}--${l}`],
535
- {
536
- [le[`${ce}--loading`]]: t,
537
- [le[`${ce}--full-width`]]: o,
538
- [le[`${ce}--icon-only`]]: f,
539
- [le[`${ce}--icon-only--bg`]]: f && w,
540
- [le[`${ce}--disabled`]]: y
541
- }
542
- );
543
- return /* @__PURE__ */ e.createElement(
544
- S,
545
- E({
546
- ref: h,
547
- className: k,
548
- "aria-disabled": y,
549
- type: r,
550
- href: y ? void 0 : u,
551
- onClick: y ? void 0 : i,
552
- disabled: y
553
- }, g),
554
- t && /* @__PURE__ */ e.createElement(
555
- _a,
556
- E({
557
- size: "small",
558
- label: s,
559
- className: le[`${ce}__loader`]
560
- }, $())
561
- ),
562
- c && e.cloneElement(c, {
563
- className: b(
564
- le[`${ce}__icon`],
565
- le[`${ce}__icon--${n}`]
566
- ),
567
- disabled: a
568
- }),
569
- /* @__PURE__ */ e.createElement("div", { className: le[`${ce}__content`] }, m)
570
- );
571
- }
572
- ), Tr = "lc-Popover-module__popover___8X1b2", zt = {
436
+ }, yr = "lc-Popover-module__popover___8X1b2", zt = {
573
437
  "popover-trigger": "lc-Popover-module__popover-trigger___SwsY-",
574
- popover: Tr,
438
+ popover: yr,
575
439
  "popover--visible": "lc-Popover-module__popover--visible___u5NXB"
576
- }, Dr = ({
440
+ }, Er = ({
577
441
  triggerRenderer: t,
578
442
  onClose: a,
579
443
  children: r,
@@ -584,78 +448,80 @@ const ul = {
584
448
  isVisible: n = !1,
585
449
  closeOnEsc: s = !0
586
450
  }) => {
587
- const [d, m] = e.useState(!1), u = e.useRef(!1), i = typeof r == "string", {
451
+ const [d, i] = e.useState(!1), m = e.useRef(!1), u = typeof r == "string", {
588
452
  x: g,
589
- y: h,
590
- reference: v,
453
+ y: v,
454
+ reference: b,
591
455
  floating: p,
592
456
  strategy: y,
593
- refs: f,
594
- update: w,
595
- placement: S
457
+ refs: h,
458
+ update: E,
459
+ placement: N
596
460
  } = Pa({
597
461
  middleware: [Fa(4), Ra(c)],
598
462
  placement: l
599
463
  });
600
464
  e.useEffect(() => {
601
- m(n);
465
+ i(n);
602
466
  }, [n]), e.useEffect(() => {
603
- a && u.current !== d && !d && a(), u.current = d;
467
+ a && m.current !== d && !d && a(), m.current = d;
604
468
  }, [d]), e.useEffect(() => {
605
- const x = (V) => {
606
- s && V.key === "Escape" && m(!1);
469
+ const S = (V) => {
470
+ s && V.key === "Escape" && i(!1);
607
471
  };
608
- return document.addEventListener("keydown", x), () => {
609
- document.removeEventListener("keydown", x);
472
+ return document.addEventListener("keydown", S), () => {
473
+ document.removeEventListener("keydown", S);
610
474
  };
611
475
  }, [s]), e.useEffect(() => {
612
- if (!(!f.reference.current || !f.floating.current))
613
- return Ma(f.reference.current, f.floating.current, w);
614
- }, [f.reference, f.floating, w, S, d]);
615
- function $(x) {
616
- f.floating.current && f.floating.current.contains(x.target) || (f.reference.current && f.reference.current.contains(x.target) ? m((V) => !V) : m(!1));
476
+ if (!(!h.reference.current || !h.floating.current))
477
+ return Ma(h.reference.current, h.floating.current, E);
478
+ }, [h.reference, h.floating, E, N, d]);
479
+ function $(S) {
480
+ h.floating.current && h.floating.current.contains(S.target) || (h.reference.current && h.reference.current.contains(S.target) ? i((V) => !V) : i(!1));
617
481
  }
618
482
  e.useEffect(() => (document.addEventListener("mousedown", $), () => {
619
483
  document.removeEventListener("mousedown", $);
620
484
  }), []);
621
- const k = b(zt.popover, o, {
485
+ const k = f(zt.popover, o, {
622
486
  [zt["popover--visible"]]: d
623
- }), C = b(
487
+ }), C = f(
624
488
  zt["popover-trigger"],
625
489
  _
626
490
  );
627
- return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: C, ref: v }, t()), /* @__PURE__ */ e.createElement(
491
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: C, ref: b }, t()), /* @__PURE__ */ e.createElement(
628
492
  "div",
629
493
  {
630
494
  ref: p,
631
495
  className: k,
632
496
  style: {
633
497
  position: y,
634
- top: h != null ? h : "",
498
+ top: v != null ? v : "",
635
499
  left: g != null ? g : ""
636
500
  }
637
501
  },
638
- i ? /* @__PURE__ */ e.createElement(P, { as: "div" }, r) : r
502
+ u ? /* @__PURE__ */ e.createElement(P, { as: "div" }, r) : r
639
503
  ));
640
- }, Xe = {
504
+ }, Re = {
505
+ "action-menu__trigger-button": "lc-ActionMenu-module__action-menu__trigger-button___tBrz5",
641
506
  "action-menu__list": "lc-ActionMenu-module__action-menu__list___9pNUX",
507
+ "action-menu__list__group-header": "lc-ActionMenu-module__action-menu__list__group-header___n-DTq",
642
508
  "action-menu__list__item": "lc-ActionMenu-module__action-menu__list__item___n-OgH",
643
509
  "action-menu__list__item--with-divider": "lc-ActionMenu-module__action-menu__list__item--with-divider___2H3Vm",
644
510
  "action-menu__list__item--disabled": "lc-ActionMenu-module__action-menu__list__item--disabled___MgaX8",
645
511
  "action-menu__list__item--active": "lc-ActionMenu-module__action-menu__list__item--active___CakY-"
646
- }, et = "action-menu", Ir = (d) => {
647
- var m = d, {
512
+ }, Me = "action-menu", $r = (d) => {
513
+ var i = d, {
648
514
  className: t,
649
- wrapperClassName: a,
515
+ triggerClassName: a,
650
516
  options: r,
651
517
  triggerRenderer: o,
652
518
  placement: _ = "bottom-end",
653
519
  openedOnInit: l = !1,
654
520
  keepOpenOnClick: c,
655
521
  activeOptionKeys: n
656
- } = m, s = B(m, [
522
+ } = i, s = B(i, [
657
523
  "className",
658
- "wrapperClassName",
524
+ "triggerClassName",
659
525
  "options",
660
526
  "triggerRenderer",
661
527
  "placement",
@@ -663,87 +529,96 @@ const ul = {
663
529
  "keepOpenOnClick",
664
530
  "activeOptionKeys"
665
531
  ]);
666
- const [u, i] = e.useState(l), g = e.useRef(-1), h = (f) => {
667
- for (g.current = g.current + f; r[g.current].disabled; )
668
- g.current = g.current + f;
532
+ const [m, u] = e.useState(l), g = e.useRef(-1), v = (E) => {
533
+ for (g.current = g.current + E; r[g.current].disabled || r[g.current].groupHeader; )
534
+ g.current = g.current + E;
669
535
  return g.current;
670
- }, v = (f) => {
671
- var w, S;
672
- f.key === L.arrowUp && g.current > 0 && (f.preventDefault(), g.current = h(-1), (w = document.getElementById(`list-item-${g.current}`)) == null || w.focus()), f.key === L.arrowDown && g.current + 1 < r.length && (f.preventDefault(), g.current = h(1), (S = document.getElementById(`list-item-${g.current}`)) == null || S.focus());
536
+ }, b = (E) => {
537
+ var N, $;
538
+ E.key === L.arrowUp && g.current > 0 && (E.preventDefault(), g.current = v(-1), (N = document.getElementById(`list-item-${g.current}`)) == null || N.focus()), E.key === L.arrowDown && g.current + 1 < r.length && (E.preventDefault(), g.current = v(1), ($ = document.getElementById(`list-item-${g.current}`)) == null || $.focus());
673
539
  };
674
540
  e.useEffect(() => {
675
- if (u)
676
- return document.addEventListener("keydown", v), () => document.removeEventListener("keydown", v);
541
+ if (m)
542
+ return document.addEventListener("keydown", b), () => document.removeEventListener("keydown", b);
677
543
  g.current = -1;
678
- }, [u, v]);
544
+ }, [m, b]);
679
545
  const p = () => {
680
- i(!0);
681
- }, y = (f) => {
682
- f(), c || i(!1);
683
- };
546
+ u(!0);
547
+ }, y = (E) => {
548
+ E == null || E(), c || u(!1);
549
+ }, h = (E, N) => E.groupHeader ? /* @__PURE__ */ e.createElement(
550
+ "li",
551
+ {
552
+ key: E.key,
553
+ role: "none",
554
+ className: Re[`${Me}__list__group-header`]
555
+ },
556
+ E.element
557
+ ) : /* @__PURE__ */ e.createElement("li", { key: E.key, role: "none" }, /* @__PURE__ */ e.createElement(
558
+ "button",
559
+ {
560
+ id: `list-item-${N}`,
561
+ "data-testid": E.key,
562
+ tabIndex: -1,
563
+ key: E.key,
564
+ disabled: E.disabled,
565
+ onClick: () => y(E.onClick),
566
+ role: "menuitem",
567
+ className: f(Re[`${Me}__list__item`], {
568
+ [Re[`${Me}__list__item--disabled`]]: E.disabled,
569
+ [Re[`${Me}__list__item--with-divider`]]: E.withDivider,
570
+ [Re[`${Me}__list__item--active`]]: n == null ? void 0 : n.includes(E.key)
571
+ })
572
+ },
573
+ E.element
574
+ ));
684
575
  return /* @__PURE__ */ e.createElement(
685
- Dr,
576
+ Er,
686
577
  {
687
- triggerClassName: a,
688
- isVisible: u,
578
+ isVisible: m,
689
579
  placement: _,
690
- onClose: () => i(!1),
580
+ onClose: () => u(!1),
691
581
  triggerRenderer: () => /* @__PURE__ */ e.createElement(
692
- R,
582
+ "button",
693
583
  {
694
584
  "data-testid": "action-menu-trigger-button",
695
- kind: "plain",
696
- size: "compact",
697
- icon: o,
585
+ className: f(
586
+ Re[`${Me}__trigger-button`],
587
+ a
588
+ ),
698
589
  onClick: p
699
- }
590
+ },
591
+ o
700
592
  )
701
593
  },
702
594
  /* @__PURE__ */ e.createElement(
703
595
  "ul",
704
- A(E({}, s), {
705
- className: b(Xe[`${et}__list`], t),
596
+ A(w({}, s), {
597
+ className: f(Re[`${Me}__list`], t),
706
598
  role: "menu",
707
- "aria-hidden": !u
599
+ "aria-hidden": !m
708
600
  }),
709
- r.map((f, w) => /* @__PURE__ */ e.createElement("li", { key: f.key, role: "none" }, /* @__PURE__ */ e.createElement(
710
- "button",
711
- {
712
- id: `list-item-${w}`,
713
- "data-testid": f.key,
714
- tabIndex: -1,
715
- key: f.key,
716
- disabled: f.disabled,
717
- onClick: () => y(f.onClick),
718
- role: "menuitem",
719
- className: b(Xe[`${et}__list__item`], {
720
- [Xe[`${et}__list__item--disabled`]]: f.disabled,
721
- [Xe[`${et}__list__item--with-divider`]]: f.withDivider,
722
- [Xe[`${et}__list__item--active`]]: n == null ? void 0 : n.includes(f.key)
723
- })
724
- },
725
- f.element
726
- )))
601
+ r.map(h)
727
602
  )
728
603
  );
729
- }, tt = {
604
+ }, et = {
730
605
  "action-menu-item": "lc-ActionMenuItem-module__action-menu-item___cT70J",
731
606
  "action-menu-item__left-node": "lc-ActionMenuItem-module__action-menu-item__left-node___3R-o1",
732
607
  "action-menu-item__right-node": "lc-ActionMenuItem-module__action-menu-item__right-node___uq0Ym",
733
608
  "action-menu-item__label": "lc-ActionMenuItem-module__action-menu-item__label___OgJ80",
734
609
  "action-menu-item--warning": "lc-ActionMenuItem-module__action-menu-item--warning___DgeYg"
735
- }, at = "action-menu-item", Ar = ({ leftNode: t, rightNode: a, children: r, kind: o }) => /* @__PURE__ */ e.createElement(
610
+ }, tt = "action-menu-item", wr = ({ leftNode: t, rightNode: a, children: r, kind: o }) => /* @__PURE__ */ e.createElement(
736
611
  "div",
737
612
  {
738
- className: b(tt[at], {
739
- [tt[`${at}--warning`]]: o === "warning"
613
+ className: f(et[tt], {
614
+ [et[`${tt}--warning`]]: o === "warning"
740
615
  })
741
616
  },
742
- t && /* @__PURE__ */ e.createElement("div", { className: tt[`${at}__left-node`] }, t),
743
- /* @__PURE__ */ e.createElement(P, { as: "div", className: tt[`${at}__label`] }, r),
744
- a && /* @__PURE__ */ e.createElement("div", { className: tt[`${at}__right-node`] }, a)
745
- ), Br = "lc-Icon-module__icon___tw31R", ua = {
746
- icon: Br,
617
+ t && /* @__PURE__ */ e.createElement("div", { className: et[`${tt}__left-node`] }, t),
618
+ /* @__PURE__ */ e.createElement(P, { as: "div", className: et[`${tt}__label`] }, r),
619
+ a && /* @__PURE__ */ e.createElement("div", { className: et[`${tt}__right-node`] }, a)
620
+ ), Cr = "lc-Icon-module__icon___tw31R", da = {
621
+ icon: Cr,
747
622
  "icon--primary": "lc-Icon-module__icon--primary___JJnBV",
748
623
  "icon--subtle": "lc-Icon-module__icon--subtle___sZIzL",
749
624
  "icon--inverted": "lc-Icon-module__icon--inverted___zA9QC",
@@ -776,7 +651,7 @@ const ul = {
776
651
  "icon--disabled--action-positive": "lc-Icon-module__icon--disabled--action-positive___zaLja",
777
652
  "icon--disabled--action-warning": "lc-Icon-module__icon--disabled--action-warning___5VvCf",
778
653
  "icon--disabled--action-neutral": "lc-Icon-module__icon--disabled--action-neutral___SxlyC"
779
- }, Pr = {
654
+ }, Nr = {
780
655
  xsmall: {
781
656
  width: 12,
782
657
  height: 12
@@ -797,30 +672,166 @@ const ul = {
797
672
  width: 32,
798
673
  height: 32
799
674
  }
800
- }, ma = "icon", T = (t) => {
801
- const m = t, {
675
+ }, ua = "icon", D = (t) => {
676
+ const i = t, {
802
677
  source: a,
803
678
  size: r = "medium",
804
679
  kind: o,
805
680
  disabled: _,
806
681
  className: l,
807
682
  customColor: c
808
- } = m, n = B(m, [
683
+ } = i, n = B(i, [
809
684
  "source",
810
685
  "size",
811
686
  "kind",
812
687
  "disabled",
813
688
  "className",
814
689
  "customColor"
815
- ]), s = e.createElement(a, A(E({}, Pr[r]), {
690
+ ]), s = e.createElement(a, A(w({}, Nr[r]), {
816
691
  color: c
817
- })), d = b(
692
+ })), d = f(
818
693
  l,
819
- ua[ma],
820
- o && ua[`${ma}--${_ ? "disabled--" : ""}${o}`]
694
+ da[ua],
695
+ o && da[`${ua}--${_ ? "disabled--" : ""}${o}`]
821
696
  );
822
- return /* @__PURE__ */ e.createElement("span", A(E({}, n), { className: d }), s);
823
- }, Fr = "lc-Tooltip-module__tooltip___QOOAr", Rr = "lc-Tooltip-module__tooltip__wrapper___dmjmW", Mr = "lc-Tooltip-module__tooltip__interactive___0JawB", Lr = "lc-Tooltip-module__tooltip__arrow___Ov1YW", N = {
697
+ return /* @__PURE__ */ e.createElement("span", A(w({}, n), { className: d }), s);
698
+ }, xr = "lc-Loader-module__loader___LRflD", Sr = "lc-Loader-module__loader__spinner___l3C1g", Tr = "lc-Loader-module__rotate___Tlni-", Dr = "lc-Loader-module__loader__label___R74f6", at = {
699
+ loader: xr,
700
+ loader__spinner: Sr,
701
+ "loader__spinner--small": "lc-Loader-module__loader__spinner--small___dGFFt",
702
+ "loader__spinner--medium": "lc-Loader-module__loader__spinner--medium___J-ki0",
703
+ "loader__spinner--large": "lc-Loader-module__loader__spinner--large___Poqq7",
704
+ "loader__spinner-circle": "lc-Loader-module__loader__spinner-circle___ApBUO",
705
+ rotate: Tr,
706
+ loader__label: Dr
707
+ }, Ga = "loader", ma = `${Ga}__spinner`, _a = ({
708
+ primaryColor: t,
709
+ secondaryColor: a,
710
+ label: r,
711
+ className: o,
712
+ size: _ = "medium"
713
+ }) => /* @__PURE__ */ e.createElement("div", { className: f(at[Ga], o) }, /* @__PURE__ */ e.createElement(
714
+ "div",
715
+ {
716
+ className: f(at[ma], at[`${ma}--${_}`])
717
+ },
718
+ /* @__PURE__ */ e.createElement(
719
+ "div",
720
+ {
721
+ className: at["loader__spinner-circle"],
722
+ style: {
723
+ /* stylelint-disable */
724
+ borderColor: a,
725
+ borderTopColor: t
726
+ }
727
+ }
728
+ )
729
+ ), r && /* @__PURE__ */ e.createElement(P, { as: "div", size: "md", className: at.loader__label }, r)), Ir = "lc-Button-module__btn___aijZJ", Ar = "lc-Button-module__btn__loader___c8zZz", Br = "lc-Button-module__btn__content___wefl2", Pr = "lc-Button-module__btn__icon___GVExB", _e = {
730
+ btn: Ir,
731
+ "btn--disabled": "lc-Button-module__btn--disabled___lXBav",
732
+ "btn--full-width": "lc-Button-module__btn--full-width___kdbAr",
733
+ "btn--basic": "lc-Button-module__btn--basic___Jc2gD",
734
+ "btn--primary": "lc-Button-module__btn--primary___ajbjQ",
735
+ "btn--secondary": "lc-Button-module__btn--secondary___iWzE0",
736
+ "btn--destructive": "lc-Button-module__btn--destructive___-kLCl",
737
+ "btn--destructive-outline": "lc-Button-module__btn--destructive-outline___dexc3",
738
+ "btn--compact": "lc-Button-module__btn--compact___4eptQ",
739
+ "btn--icon-only": "lc-Button-module__btn--icon-only___bF5pW",
740
+ "btn--large": "lc-Button-module__btn--large___lb-z6",
741
+ "btn--text": "lc-Button-module__btn--text___WA8OL",
742
+ "btn--link": "lc-Button-module__btn--link___51ZgF",
743
+ "btn--link-light": "lc-Button-module__btn--link-light___iitZ6",
744
+ "btn--plain": "lc-Button-module__btn--plain___eOPui",
745
+ "btn--float": "lc-Button-module__btn--float___J4lTs",
746
+ "btn--dotted": "lc-Button-module__btn--dotted___y1EEP",
747
+ "btn--high-contrast": "lc-Button-module__btn--high-contrast___zHSVM",
748
+ "btn--loading": "lc-Button-module__btn--loading___ZAgjv",
749
+ btn__loader: Ar,
750
+ btn__content: Br,
751
+ btn__icon: Pr,
752
+ "btn__icon--left": "lc-Button-module__btn__icon--left___H68zu",
753
+ "btn__icon--right": "lc-Button-module__btn__icon--right___fHr3D",
754
+ "btn--icon-only--bg": "lc-Button-module__btn--icon-only--bg___X-4V2"
755
+ }, oe = "btn", M = e.forwardRef(
756
+ (b, v) => {
757
+ var p = b, {
758
+ loading: t = !1,
759
+ disabled: a = !1,
760
+ type: r = "button",
761
+ fullWidth: o = !1,
762
+ kind: _ = "basic",
763
+ size: l = "medium",
764
+ icon: c = null,
765
+ iconPosition: n = "left",
766
+ loaderLabel: s,
767
+ className: d,
768
+ children: i,
769
+ href: m,
770
+ onClick: u
771
+ } = p, g = B(p, [
772
+ "loading",
773
+ "disabled",
774
+ "type",
775
+ "fullWidth",
776
+ "kind",
777
+ "size",
778
+ "icon",
779
+ "iconPosition",
780
+ "loaderLabel",
781
+ "className",
782
+ "children",
783
+ "href",
784
+ "onClick"
785
+ ]);
786
+ const y = t || a, h = !i && c, E = ["text", "link", "link-light"].includes(_), N = m ? "a" : "button", $ = () => {
787
+ if (_ === "primary" || _ === "destructive")
788
+ return {
789
+ primaryColor: "var(--action-primary-default)",
790
+ secondaryColor: "var(--border-invert-primary)"
791
+ };
792
+ }, k = f(
793
+ d,
794
+ _e[oe],
795
+ _e[`${oe}--${_}`],
796
+ _e[`${oe}--${l}`],
797
+ {
798
+ [_e[`${oe}--loading`]]: t,
799
+ [_e[`${oe}--full-width`]]: o,
800
+ [_e[`${oe}--icon-only`]]: h,
801
+ [_e[`${oe}--icon-only--bg`]]: h && E,
802
+ [_e[`${oe}--disabled`]]: y
803
+ }
804
+ );
805
+ return /* @__PURE__ */ e.createElement(
806
+ N,
807
+ w({
808
+ ref: v,
809
+ className: k,
810
+ "aria-disabled": y,
811
+ type: r,
812
+ href: y ? void 0 : m,
813
+ onClick: y ? void 0 : u,
814
+ disabled: y
815
+ }, g),
816
+ t && /* @__PURE__ */ e.createElement(
817
+ _a,
818
+ w({
819
+ size: "small",
820
+ label: s,
821
+ className: _e[`${oe}__loader`]
822
+ }, $())
823
+ ),
824
+ c && e.cloneElement(c, {
825
+ className: f(
826
+ _e[`${oe}__icon`],
827
+ _e[`${oe}__icon--${n}`]
828
+ ),
829
+ disabled: a
830
+ }),
831
+ /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__content`] }, i)
832
+ );
833
+ }
834
+ ), Fr = "lc-Tooltip-module__tooltip___QOOAr", Rr = "lc-Tooltip-module__tooltip__wrapper___dmjmW", Mr = "lc-Tooltip-module__tooltip__interactive___0JawB", Lr = "lc-Tooltip-module__tooltip__arrow___Ov1YW", x = {
824
835
  tooltip: Fr,
825
836
  tooltip__wrapper: Rr,
826
837
  tooltip__interactive: Mr,
@@ -862,82 +873,82 @@ const ul = {
862
873
  theme: n,
863
874
  withFadeAnimation: s,
864
875
  transitionDuration: d,
865
- transitionDelay: m,
866
- handleMouseEnter: u,
867
- handleMouseLeave: i,
876
+ transitionDelay: i,
877
+ handleMouseEnter: m,
878
+ handleMouseLeave: u,
868
879
  handleCloseAction: g,
869
- arrowRef: h,
870
- childrenElements: v,
880
+ arrowRef: v,
881
+ childrenElements: b,
871
882
  fullSpaceContent: p
872
883
  }) => {
873
884
  const {
874
885
  x: y,
875
- y: f,
876
- reference: w,
877
- floating: S,
886
+ y: h,
887
+ reference: E,
888
+ floating: N,
878
889
  strategy: $,
879
890
  update: k,
880
891
  refs: C,
881
- placement: x,
892
+ placement: S,
882
893
  middlewareData: { arrow: { x: V, y: ee } = {} }
883
894
  } = a;
884
895
  e.useEffect(() => {
885
896
  if (!(!C.reference.current || !C.floating.current))
886
897
  return Ma(C.reference.current, C.floating.current, k);
887
- }, [C.reference, C.floating, k, x, t]), e.useEffect(() => {
888
- r && w(r);
889
- }, [w, r]);
890
- const Se = _ && ee ? ee + _ : ee, ze = o && V ? V + o : V, Be = b(N[l], c, {
891
- [N[`${l}--invert`]]: n === "invert",
892
- [N[`${l}--important`]]: n === "important",
893
- [N[`${l}--full-space`]]: p
898
+ }, [C.reference, C.floating, k, S, t]), e.useEffect(() => {
899
+ r && E(r);
900
+ }, [E, r]);
901
+ const Se = _ && ee ? ee + _ : ee, Ge = o && V ? V + o : V, Be = f(x[l], c, {
902
+ [x[`${l}--invert`]]: n === "invert",
903
+ [x[`${l}--important`]]: n === "important",
904
+ [x[`${l}--full-space`]]: p
894
905
  }), Pe = /* @__PURE__ */ e.createElement(
895
906
  "div",
896
907
  {
897
- ref: S,
908
+ ref: N,
898
909
  style: {
899
910
  position: $,
900
- top: f != null ? f : "",
911
+ top: h != null ? h : "",
901
912
  left: y != null ? y : ""
902
913
  },
903
914
  className: Be,
904
- onMouseEnter: u,
905
- onMouseLeave: i
915
+ onMouseEnter: m,
916
+ onMouseLeave: u
906
917
  },
907
- e.Children.map(v, (Ee) => e.isValidElement(Ee) ? e.cloneElement(Ee, E({
918
+ e.Children.map(b, (Ee) => e.isValidElement(Ee) ? e.cloneElement(Ee, w({
908
919
  handleCloseAction: g,
909
920
  theme: n
910
921
  }, Ee.props)) : null),
911
922
  /* @__PURE__ */ e.createElement(
912
923
  "div",
913
924
  {
914
- ref: h,
915
- className: b([N[`${l}__arrow`]]),
916
- "data-arrow-placement": x,
917
- style: { top: Se, left: ze }
925
+ ref: v,
926
+ className: f([x[`${l}__arrow`]]),
927
+ "data-arrow-placement": S,
928
+ style: { top: Se, left: Ge }
918
929
  }
919
930
  )
920
931
  );
921
- function je() {
932
+ function Ze() {
922
933
  if (s) {
923
- const Ee = Ze`
934
+ const Ee = Xe`
924
935
  pointer-events: none;
925
936
  opacity: 0;
926
- `, ge = Ze`
937
+ `, ge = Xe`
927
938
  opacity: 1;
928
939
  transition-property: opacity;
929
940
  transition-duration: ${d}ms;
930
- transition-delay: ${m}ms;
931
- `, bt = Ze`
941
+ transition-delay: ${i}ms;
942
+ `, bt = Xe`
932
943
  pointer-events: initial;
933
- `, vt = Ze`
944
+ `, vt = Xe`
934
945
  opacity: 1;
935
- `, F = Ze`
946
+ `, F = Xe`
936
947
  opacity: 0;
937
948
  transition-property: opacity;
938
949
  transition-duration: ${d}ms;
939
- transition-delay: ${m}ms;
940
- `, G = d + m;
950
+ transition-delay: ${i}ms;
951
+ `, G = d + i;
941
952
  return /* @__PURE__ */ e.createElement(
942
953
  aa,
943
954
  {
@@ -958,7 +969,7 @@ const ul = {
958
969
  } else
959
970
  return t && Pe;
960
971
  }
961
- return /* @__PURE__ */ e.createElement(e.Fragment, null, je());
972
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, Ze());
962
973
  };
963
974
  function Ua(t) {
964
975
  switch (t) {
@@ -979,39 +990,39 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
979
990
  isVisible: n,
980
991
  withFadeAnimation: s = !0,
981
992
  transitionDuration: d = 200,
982
- transitionDelay: m = 0,
983
- hoverOutDelayTimeout: u = 100,
984
- offsetMainAxis: i = 8,
993
+ transitionDelay: i = 0,
994
+ hoverOutDelayTimeout: m = 100,
995
+ offsetMainAxis: u = 8,
985
996
  triggerOnClick: g = !1,
986
- arrowOffsetY: h,
987
- arrowOffsetX: v,
997
+ arrowOffsetY: v,
998
+ arrowOffsetX: b,
988
999
  fullSpaceContent: p,
989
1000
  onOpen: y,
990
- onClose: f
991
- } = t, w = e.useRef(!0), S = n !== void 0, $ = e.useRef(null), [k, C] = e.useState(n), x = e.useRef(!1), V = Pa({
1001
+ onClose: h
1002
+ } = t, E = e.useRef(!0), N = n !== void 0, $ = e.useRef(null), [k, C] = e.useState(n), S = e.useRef(!1), V = Pa({
992
1003
  middleware: [
993
- Fa({ mainAxis: i }),
1004
+ Fa({ mainAxis: u }),
994
1005
  dr({ element: $ }),
995
1006
  Ra()
996
1007
  ],
997
1008
  placement: c
998
1009
  }), ee = (ge) => {
999
- ge ? !k && (y == null || y()) : k && (f == null || f()), S || C(ge);
1010
+ ge ? !k && (y == null || y()) : k && (h == null || h()), N || C(ge);
1000
1011
  };
1001
1012
  e.useEffect(() => {
1002
- if (w.current) {
1003
- w.current = !1;
1013
+ if (E.current) {
1014
+ E.current = !1;
1004
1015
  return;
1005
1016
  }
1006
- n === !0 && (y == null || y()), n === !1 && (f == null || f()), C(n);
1017
+ n === !0 && (y == null || y()), n === !1 && (h == null || h()), C(n);
1007
1018
  }, [n]), e.useEffect(() => (document.addEventListener("keydown", Be), () => {
1008
1019
  document.removeEventListener("keydown", Be);
1009
1020
  }), []);
1010
1021
  const Se = () => {
1011
- g || S || (x.current = !0, ee(!0));
1012
- }, ze = () => {
1013
- g || S || (x.current = !1, zr(u).then(() => {
1014
- x.current || ee(!1);
1022
+ g || N || (S.current = !0, ee(!0));
1023
+ }, Ge = () => {
1024
+ g || N || (S.current = !1, zr(m).then(() => {
1025
+ S.current || ee(!1);
1015
1026
  }));
1016
1027
  }, Be = (ge) => {
1017
1028
  (ge instanceof KeyboardEvent && ge.key === "Escape" || ge.type === "click") && ee(!1);
@@ -1024,14 +1035,14 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1024
1035
  floatingOptions: V,
1025
1036
  arrowRef: $,
1026
1037
  handleMouseEnter: Se,
1027
- handleMouseLeave: ze,
1038
+ handleMouseLeave: Ge,
1028
1039
  handleCloseAction: Be,
1029
1040
  childrenElements: o,
1030
1041
  transitionDuration: d,
1031
- transitionDelay: m,
1042
+ transitionDelay: i,
1032
1043
  referenceElement: r,
1033
- arrowOffsetX: v,
1034
- arrowOffsetY: h,
1044
+ arrowOffsetX: b,
1045
+ arrowOffsetY: v,
1035
1046
  theme: l,
1036
1047
  withFadeAnimation: s,
1037
1048
  fullSpaceContent: p
@@ -1039,34 +1050,34 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1039
1050
  );
1040
1051
  if (r)
1041
1052
  return Pe;
1042
- const je = () => {
1053
+ const Ze = () => {
1043
1054
  ee(!k);
1044
1055
  }, Ee = () => {
1045
- if (!S)
1056
+ if (!N)
1046
1057
  return g ? {
1047
- onClick: je
1058
+ onClick: Ze
1048
1059
  } : {
1049
1060
  onMouseEnter: Se,
1050
- onMouseLeave: ze
1061
+ onMouseLeave: Ge
1051
1062
  };
1052
1063
  };
1053
1064
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
1054
1065
  "div",
1055
- E({
1056
- className: N[`${pa}__wrapper`],
1066
+ w({
1067
+ className: x[`${pa}__wrapper`],
1057
1068
  ref: V.reference
1058
1069
  }, Ee()),
1059
1070
  a()
1060
1071
  ), Pe);
1061
- }, bl = ({ text: t }) => /* @__PURE__ */ e.createElement("div", null, t), rt = "tooltip", vl = ({ header: t, text: a, closeWithX: r, theme: o, handleCloseAction: _ }) => /* @__PURE__ */ e.createElement("div", null, r && /* @__PURE__ */ e.createElement(
1062
- R,
1072
+ }, fl = ({ text: t }) => /* @__PURE__ */ e.createElement("div", null, t), rt = "tooltip", bl = ({ header: t, text: a, closeWithX: r, theme: o, handleCloseAction: _ }) => /* @__PURE__ */ e.createElement("div", null, r && /* @__PURE__ */ e.createElement(
1073
+ M,
1063
1074
  {
1064
1075
  size: "compact",
1065
1076
  kind: "plain",
1066
- className: N[`${rt}-close`],
1077
+ className: x[`${rt}-close`],
1067
1078
  onClick: _,
1068
1079
  icon: /* @__PURE__ */ e.createElement(
1069
- T,
1080
+ D,
1070
1081
  {
1071
1082
  source: Oa,
1072
1083
  kind: o ? Ua(o) : "primary"
@@ -1076,22 +1087,22 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1076
1087
  ), t && /* @__PURE__ */ e.createElement(
1077
1088
  "div",
1078
1089
  {
1079
- className: b(
1080
- N[`${rt}-header`],
1081
- N[`${rt}-header--info`]
1090
+ className: f(
1091
+ x[`${rt}-header`],
1092
+ x[`${rt}-header--info`]
1082
1093
  )
1083
1094
  },
1084
1095
  t
1085
1096
  ), /* @__PURE__ */ e.createElement(
1086
1097
  "div",
1087
1098
  {
1088
- className: b(
1089
- N[`${rt}-text`],
1090
- N[`${rt}-text--info`]
1099
+ className: f(
1100
+ x[`${rt}-text`],
1101
+ x[`${rt}-text--info`]
1091
1102
  )
1092
1103
  },
1093
1104
  a
1094
- )), fe = "tooltip", hl = ({
1105
+ )), fe = "tooltip", vl = ({
1095
1106
  header: t,
1096
1107
  text: a,
1097
1108
  image: r,
@@ -1102,38 +1113,38 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1102
1113
  secondaryButton: n
1103
1114
  }) => {
1104
1115
  const s = (d) => d === "invert" ? "secondary" : "high-contrast";
1105
- return /* @__PURE__ */ e.createElement("div", { className: N[`${fe}__interactive`] }, o && /* @__PURE__ */ e.createElement(
1106
- R,
1116
+ return /* @__PURE__ */ e.createElement("div", { className: x[`${fe}__interactive`] }, o && /* @__PURE__ */ e.createElement(
1117
+ M,
1107
1118
  {
1108
- className: N[`${fe}-close`],
1119
+ className: x[`${fe}-close`],
1109
1120
  size: "compact",
1110
1121
  kind: "plain",
1111
1122
  onClick: l,
1112
1123
  icon: /* @__PURE__ */ e.createElement(
1113
- T,
1124
+ D,
1114
1125
  {
1115
1126
  source: Oa,
1116
1127
  kind: _ ? Ua(_) : "primary"
1117
1128
  }
1118
1129
  )
1119
1130
  }
1120
- ), r && /* @__PURE__ */ e.createElement("div", { className: N[`${fe}-image-container`] }, /* @__PURE__ */ e.createElement(
1131
+ ), r && /* @__PURE__ */ e.createElement("div", { className: x[`${fe}-image-container`] }, /* @__PURE__ */ e.createElement(
1121
1132
  "img",
1122
1133
  {
1123
- className: N[`${fe}-image`],
1134
+ className: x[`${fe}-image`],
1124
1135
  src: r.src,
1125
1136
  alt: r.alt
1126
1137
  }
1127
- )), t && /* @__PURE__ */ e.createElement("div", { className: N[`${fe}-header`] }, t), /* @__PURE__ */ e.createElement("div", { className: N[`${fe}-text`] }, a), /* @__PURE__ */ e.createElement(
1138
+ )), t && /* @__PURE__ */ e.createElement("div", { className: x[`${fe}-header`] }, t), /* @__PURE__ */ e.createElement("div", { className: x[`${fe}-text`] }, a), /* @__PURE__ */ e.createElement(
1128
1139
  "div",
1129
1140
  {
1130
- className: b(
1131
- N[`${fe}-footer`],
1132
- N[`${fe}-footer--interactive`]
1141
+ className: f(
1142
+ x[`${fe}-footer`],
1143
+ x[`${fe}-footer--interactive`]
1133
1144
  )
1134
1145
  },
1135
1146
  /* @__PURE__ */ e.createElement(
1136
- R,
1147
+ M,
1137
1148
  {
1138
1149
  kind: c.kind || s(_),
1139
1150
  onClick: c.handleClick
@@ -1141,10 +1152,10 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1141
1152
  c.label
1142
1153
  ),
1143
1154
  /* @__PURE__ */ e.createElement(
1144
- R,
1155
+ M,
1145
1156
  {
1146
- className: b(N[`${fe}-footer-secondary`], {
1147
- [N[`${fe}-footer-secondary-invert`]]: _ === "invert"
1157
+ className: f(x[`${fe}-footer-secondary`], {
1158
+ [x[`${fe}-footer-secondary-invert`]]: _ === "invert"
1148
1159
  }),
1149
1160
  kind: n.kind || "text",
1150
1161
  onClick: n.handleClick
@@ -1190,50 +1201,50 @@ const zr = (t) => new Promise((a) => setTimeout(a, t)), pa = "tooltip", Wa = (t)
1190
1201
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
1191
1202
  "div",
1192
1203
  {
1193
- className: b({
1194
- [N[`${q}__overlay`]]: !0,
1195
- [N[`${q}__overlay--visible`]]: a,
1196
- [N[`${q}__overlay--slide`]]: r
1204
+ className: f({
1205
+ [x[`${q}__overlay`]]: !0,
1206
+ [x[`${q}__overlay--visible`]]: a,
1207
+ [x[`${q}__overlay--slide`]]: r
1197
1208
  }),
1198
1209
  style: _
1199
1210
  }
1200
1211
  ), /* @__PURE__ */ e.createElement(
1201
1212
  "div",
1202
1213
  {
1203
- className: b({
1204
- [N[`${q}__overlay`]]: !0,
1205
- [N[`${q}__overlay--visible`]]: a,
1206
- [N[`${q}__overlay--slide`]]: r
1214
+ className: f({
1215
+ [x[`${q}__overlay`]]: !0,
1216
+ [x[`${q}__overlay--visible`]]: a,
1217
+ [x[`${q}__overlay--slide`]]: r
1207
1218
  }),
1208
1219
  style: c
1209
1220
  }
1210
1221
  ), /* @__PURE__ */ e.createElement(
1211
1222
  "div",
1212
1223
  {
1213
- className: b({
1214
- [N[`${q}__overlay`]]: !0,
1215
- [N[`${q}__overlay--visible`]]: a,
1216
- [N[`${q}__overlay--slide`]]: r
1224
+ className: f({
1225
+ [x[`${q}__overlay`]]: !0,
1226
+ [x[`${q}__overlay--visible`]]: a,
1227
+ [x[`${q}__overlay--slide`]]: r
1217
1228
  }),
1218
1229
  style: l
1219
1230
  }
1220
1231
  ), /* @__PURE__ */ e.createElement(
1221
1232
  "div",
1222
1233
  {
1223
- className: b({
1224
- [N[`${q}__overlay`]]: !0,
1225
- [N[`${q}__overlay--visible`]]: a,
1226
- [N[`${q}__overlay--slide`]]: r
1234
+ className: f({
1235
+ [x[`${q}__overlay`]]: !0,
1236
+ [x[`${q}__overlay--visible`]]: a,
1237
+ [x[`${q}__overlay--slide`]]: r
1227
1238
  }),
1228
1239
  style: n
1229
1240
  }
1230
1241
  ), o && /* @__PURE__ */ e.createElement(
1231
1242
  "div",
1232
1243
  {
1233
- className: b({
1234
- [N[`${q}__overlay`]]: !0,
1235
- [N[`${q}__overlay--visible`]]: a,
1236
- [N[`${q}__overlay--slide`]]: r
1244
+ className: f({
1245
+ [x[`${q}__overlay`]]: !0,
1246
+ [x[`${q}__overlay--visible`]]: a,
1247
+ [x[`${q}__overlay--slide`]]: r
1237
1248
  }),
1238
1249
  style: s
1239
1250
  }
@@ -1268,7 +1279,7 @@ class Gr {
1268
1279
  return this.getBoundingClientRect().height;
1269
1280
  }
1270
1281
  }
1271
- const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), kl = (t) => {
1282
+ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), hl = (t) => {
1272
1283
  const {
1273
1284
  className: a,
1274
1285
  parentElementName: r,
@@ -1276,23 +1287,23 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), kl = (t) => {
1276
1287
  shouldSlide: _ = !0
1277
1288
  } = t, [l, c] = e.useState(
1278
1289
  null
1279
- ), [n, s] = e.useState(null), [d, m] = e.useState(_), u = () => {
1290
+ ), [n, s] = e.useState(null), [d, i] = e.useState(_), m = () => {
1280
1291
  l && (s(
1281
1292
  ba(
1282
1293
  l,
1283
1294
  ga
1284
1295
  ).getBoundingClientRect()
1285
- ), m(!1));
1296
+ ), i(!1));
1286
1297
  };
1287
1298
  return e.useEffect(() => {
1288
1299
  if (l !== null)
1289
- return window.addEventListener("resize", u), window.addEventListener("scroll", u), () => {
1290
- window.addEventListener("resize", u), window.addEventListener("resize", u);
1300
+ return window.addEventListener("resize", m), window.addEventListener("scroll", m), () => {
1301
+ window.addEventListener("resize", m), window.addEventListener("resize", m);
1291
1302
  };
1292
1303
  }, [l, r]), e.useEffect(() => {
1293
1304
  if (r) {
1294
- const i = document.querySelector(r);
1295
- c(i);
1305
+ const u = document.querySelector(r);
1306
+ c(u);
1296
1307
  }
1297
1308
  }, [r]), e.useEffect(() => {
1298
1309
  l && s(
@@ -1300,7 +1311,7 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), kl = (t) => {
1300
1311
  l,
1301
1312
  ga
1302
1313
  ).getBoundingClientRect()
1303
- ), m(!0);
1314
+ ), i(!0);
1304
1315
  }, [l]), l && o ? /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
1305
1316
  Hr,
1306
1317
  {
@@ -1311,33 +1322,33 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), kl = (t) => {
1311
1322
  }
1312
1323
  ), /* @__PURE__ */ e.createElement(
1313
1324
  Wa,
1314
- A(E({}, t), {
1325
+ A(w({}, t), {
1315
1326
  referenceElement: {
1316
1327
  getBoundingClientRect: () => n,
1317
1328
  contextElement: l
1318
1329
  },
1319
1330
  arrowOffsetY: 25,
1320
- className: b({
1321
- [N[fa]]: !0,
1322
- [N[`${fa}--slide`]]: d,
1331
+ className: f({
1332
+ [x[fa]]: !0,
1333
+ [x[`${fa}--slide`]]: d,
1323
1334
  className: a
1324
1335
  })
1325
1336
  }),
1326
1337
  t.children
1327
1338
  )) : null;
1328
- }, _t = "reports-tooltip", yl = ({
1339
+ }, _t = "reports-tooltip", kl = ({
1329
1340
  title: t,
1330
1341
  description: a,
1331
1342
  children: r
1332
- }) => /* @__PURE__ */ e.createElement("div", { className: N[_t] }, /* @__PURE__ */ e.createElement("div", { className: N[`${_t}__heading`] }, /* @__PURE__ */ e.createElement(P, { as: "div", className: N[`${_t}__heading__title`] }, t), /* @__PURE__ */ e.createElement(
1343
+ }) => /* @__PURE__ */ e.createElement("div", { className: x[_t] }, /* @__PURE__ */ e.createElement("div", { className: x[`${_t}__heading`] }, /* @__PURE__ */ e.createElement(P, { as: "div", className: x[`${_t}__heading__title`] }, t), /* @__PURE__ */ e.createElement(
1333
1344
  P,
1334
1345
  {
1335
1346
  as: "div",
1336
1347
  size: "xs",
1337
- className: N[`${_t}__heading__description`]
1348
+ className: x[`${_t}__heading__description`]
1338
1349
  },
1339
1350
  a
1340
- )), /* @__PURE__ */ e.createElement("div", { className: N[`${_t}__content`] }, /* @__PURE__ */ e.createElement(P, { as: "div" }, r))), Ae = {
1351
+ )), /* @__PURE__ */ e.createElement("div", { className: x[`${_t}__content`] }, /* @__PURE__ */ e.createElement(P, { as: "div" }, r))), Ae = {
1341
1352
  "action-bar": "lc-ActionBar-module__action-bar___TJitF",
1342
1353
  "action-bar__items": "lc-ActionBar-module__action-bar__items___uhoQA",
1343
1354
  "action-bar__items--scroll": "lc-ActionBar-module__action-bar__items--scroll___f--dN",
@@ -1350,7 +1361,7 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), kl = (t) => {
1350
1361
  menuItemsKeys: a,
1351
1362
  activeOptionKey: r
1352
1363
  }) => {
1353
- const o = b(Ae[`${Ht}__button`], {
1364
+ const o = f(Ae[`${Ht}__button`], {
1354
1365
  [Ae[`${Ht}__button--hidden`]]: a.includes(
1355
1366
  t.key
1356
1367
  ),
@@ -1362,11 +1373,11 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), kl = (t) => {
1362
1373
  };
1363
1374
  return /* @__PURE__ */ e.createElement(
1364
1375
  Wa,
1365
- E({
1376
+ w({
1366
1377
  theme: "invert",
1367
1378
  placement: "top",
1368
1379
  triggerRenderer: () => /* @__PURE__ */ e.createElement(
1369
- R,
1380
+ M,
1370
1381
  {
1371
1382
  id: t.key,
1372
1383
  key: t.key,
@@ -1383,7 +1394,7 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), kl = (t) => {
1383
1394
  );
1384
1395
  }
1385
1396
  return /* @__PURE__ */ e.createElement(
1386
- R,
1397
+ M,
1387
1398
  {
1388
1399
  id: t.key,
1389
1400
  key: t.key,
@@ -1394,52 +1405,52 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), kl = (t) => {
1394
1405
  },
1395
1406
  t.element
1396
1407
  );
1397
- }, ot = "action-bar", El = ({
1408
+ }, ot = "action-bar", yl = ({
1398
1409
  className: t,
1399
1410
  id: a = "action-bar-area",
1400
1411
  type: r = "menu",
1401
1412
  options: o,
1402
1413
  activeOptionKey: _
1403
1414
  }) => {
1404
- const [l, c] = e.useState([]), n = r === "scroll", s = b(Ae[ot], t), d = {
1415
+ const [l, c] = e.useState([]), n = r === "scroll", s = f(Ae[ot], t), d = {
1405
1416
  root: document.querySelector(`${a}`),
1406
1417
  threshold: 1
1407
- }, m = !n && l.length !== 0, u = (g) => {
1408
- g.map((h) => {
1409
- const v = l.includes(h.target.id);
1410
- if (!h.isIntersecting) {
1411
- h.target.setAttribute("tabindex", "-1"), v || c((p) => [
1418
+ }, i = !n && l.length !== 0, m = (g) => {
1419
+ g.map((v) => {
1420
+ const b = l.includes(v.target.id);
1421
+ if (!v.isIntersecting) {
1422
+ v.target.setAttribute("tabindex", "-1"), b || c((p) => [
1412
1423
  ...p,
1413
- h.target.id
1424
+ v.target.id
1414
1425
  ]);
1415
1426
  return;
1416
1427
  }
1417
- h.target.removeAttribute("tabindex"), v && c(l.filter((p) => p !== h.target.id));
1428
+ v.target.removeAttribute("tabindex"), b && c(l.filter((p) => p !== v.target.id));
1418
1429
  });
1419
1430
  };
1420
1431
  e.useEffect(() => {
1421
1432
  const g = !!window.IntersectionObserver;
1422
1433
  if (!n && g) {
1423
- const h = document.querySelectorAll(
1434
+ const v = document.querySelectorAll(
1424
1435
  `.${Ae[`${ot}__items__button`]}`
1425
- ), v = new IntersectionObserver(
1426
- u,
1436
+ ), b = new IntersectionObserver(
1437
+ m,
1427
1438
  d
1428
1439
  );
1429
- return h.forEach((p) => v.observe(p)), () => v.disconnect();
1440
+ return v.forEach((p) => b.observe(p)), () => b.disconnect();
1430
1441
  }
1431
1442
  }, [l, n]);
1432
- const i = (g) => o.filter(
1433
- (v) => g.find((p) => p === v.key)
1434
- ).map((v) => ({
1435
- key: v.key,
1436
- element: /* @__PURE__ */ e.createElement(Ar, { leftNode: v.element }, v.label),
1437
- onClick: v.onClick
1443
+ const u = (g) => o.filter(
1444
+ (b) => g.find((p) => p === b.key)
1445
+ ).map((b) => ({
1446
+ key: b.key,
1447
+ element: /* @__PURE__ */ e.createElement(wr, { leftNode: b.element }, b.label),
1448
+ onClick: b.onClick
1438
1449
  }));
1439
1450
  return /* @__PURE__ */ e.createElement("div", { id: a, className: s }, /* @__PURE__ */ e.createElement(
1440
1451
  "div",
1441
1452
  {
1442
- className: b(Ae[`${ot}__items`], {
1453
+ className: f(Ae[`${ot}__items`], {
1443
1454
  [Ae[`${ot}__items--scroll`]]: n
1444
1455
  })
1445
1456
  },
@@ -1451,11 +1462,11 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), kl = (t) => {
1451
1462
  activeOptionKey: _
1452
1463
  }
1453
1464
  ))
1454
- ), m && /* @__PURE__ */ e.createElement("div", { className: Ae[`${ot}__menu-wrapper`] }, /* @__PURE__ */ e.createElement(
1455
- Ir,
1465
+ ), i && /* @__PURE__ */ e.createElement("div", { className: Ae[`${ot}__menu-wrapper`] }, /* @__PURE__ */ e.createElement(
1466
+ $r,
1456
1467
  {
1457
- options: i(l),
1458
- triggerRenderer: /* @__PURE__ */ e.createElement(T, { source: ft, kind: "primary" })
1468
+ options: u(l),
1469
+ triggerRenderer: /* @__PURE__ */ e.createElement(D, { source: ft, kind: "primary" })
1459
1470
  }
1460
1471
  )));
1461
1472
  }, Wr = "lc-Alert-module__alert___HBTns", Vr = "lc-Alert-module__alert__icon___8TaAH", Yr = "lc-Alert-module__alert__content___9nZdf", qr = "lc-Alert-module__alert__content__text___7nx1p", Jr = "lc-Alert-module__alert__content__cta___gTWPt", jr = "lc-Alert-module__alert__content__cta__link___D976B", be = {
@@ -1489,7 +1500,7 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), kl = (t) => {
1489
1500
  source: Ba,
1490
1501
  kind: "error"
1491
1502
  }
1492
- }, ve = "alert", $l = (n) => {
1503
+ }, ve = "alert", El = (n) => {
1493
1504
  var s = n, {
1494
1505
  children: t,
1495
1506
  className: a,
@@ -1505,26 +1516,26 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), kl = (t) => {
1505
1516
  "kind",
1506
1517
  "onClose"
1507
1518
  ]);
1508
- const d = e.useRef(null), [m, u] = e.useState(null), i = b(
1519
+ const d = e.useRef(null), [i, m] = e.useState(null), u = f(
1509
1520
  be[ve],
1510
1521
  be[`${ve}--${_}`],
1511
- m === "medium" && be[`${ve}--medium`],
1512
- m === "small" && be[`${ve}--small`],
1522
+ i === "medium" && be[`${ve}--medium`],
1523
+ i === "small" && be[`${ve}--small`],
1513
1524
  a
1514
1525
  );
1515
1526
  return e.useEffect(() => {
1516
- const g = () => d.current && d.current.offsetWidth <= 400 ? u("small") : d.current && d.current.offsetWidth > 400 && d.current.offsetWidth <= 800 ? u("medium") : u(null), h = za(() => {
1527
+ const g = () => d.current && d.current.offsetWidth <= 400 ? m("small") : d.current && d.current.offsetWidth > 400 && d.current.offsetWidth <= 800 ? m("medium") : m(null), v = za(() => {
1517
1528
  g();
1518
1529
  }, 500);
1519
- return window.addEventListener("resize", h), g(), () => window.removeEventListener("resize", h);
1520
- }), /* @__PURE__ */ e.createElement("div", E({ ref: d, className: i }, c), /* @__PURE__ */ e.createElement(
1521
- T,
1522
- A(E({}, Kr[_]), {
1530
+ return window.addEventListener("resize", v), g(), () => window.removeEventListener("resize", v);
1531
+ }), /* @__PURE__ */ e.createElement("div", w({ ref: d, className: u }, c), /* @__PURE__ */ e.createElement(
1532
+ D,
1533
+ A(w({}, Kr[_]), {
1523
1534
  size: "large",
1524
1535
  className: be[`${ve}__icon`]
1525
1536
  })
1526
- ), /* @__PURE__ */ e.createElement("div", { className: be[`${ve}__content`] }, /* @__PURE__ */ e.createElement(P, { as: "div", className: be[`${ve}__content__text`] }, t), (r || o) && /* @__PURE__ */ e.createElement("div", { className: be[`${ve}__content__cta`] }, r && /* @__PURE__ */ e.createElement(R, { kind: "high-contrast", onClick: r.handleClick }, r.label), o && /* @__PURE__ */ e.createElement(
1527
- R,
1537
+ ), /* @__PURE__ */ e.createElement("div", { className: be[`${ve}__content`] }, /* @__PURE__ */ e.createElement(P, { as: "div", className: be[`${ve}__content__text`] }, t), (r || o) && /* @__PURE__ */ e.createElement("div", { className: be[`${ve}__content__cta`] }, r && /* @__PURE__ */ e.createElement(M, { kind: "high-contrast", onClick: r.handleClick }, r.label), o && /* @__PURE__ */ e.createElement(
1538
+ M,
1528
1539
  {
1529
1540
  className: be[`${ve}__content__cta__link`],
1530
1541
  kind: "text",
@@ -1532,13 +1543,13 @@ const ga = 8, fa = "guide-tooltip", ba = (t, a) => new Gr(t, a), kl = (t) => {
1532
1543
  },
1533
1544
  o.label
1534
1545
  ))), l && /* @__PURE__ */ e.createElement(
1535
- R,
1546
+ M,
1536
1547
  {
1537
1548
  type: "button",
1538
1549
  className: be[`${ve}__close-icon`],
1539
1550
  size: "compact",
1540
1551
  kind: "plain",
1541
- icon: /* @__PURE__ */ e.createElement(T, { source: xe }),
1552
+ icon: /* @__PURE__ */ e.createElement(D, { source: xe }),
1542
1553
  onClick: l
1543
1554
  }
1544
1555
  ));
@@ -1620,7 +1631,7 @@ const e_ = "lc-Avatar-module__avatar___1zTCE", t_ = "lc-Avatar-module__avatar__s
1620
1631
  "avatar--xlarge": "lc-Avatar-module__avatar--xlarge___zwgeW",
1621
1632
  "avatar--xxlarge": "lc-Avatar-module__avatar--xxlarge___Ur0ul",
1622
1633
  "avatar--xxxlarge": "lc-Avatar-module__avatar--xxxlarge___Z-54U"
1623
- }, Y = "avatar", wl = ({
1634
+ }, Y = "avatar", $l = ({
1624
1635
  alt: t,
1625
1636
  className: a,
1626
1637
  color: r,
@@ -1632,26 +1643,26 @@ const e_ = "lc-Avatar-module__avatar___1zTCE", t_ = "lc-Avatar-module__avatar__s
1632
1643
  type: s,
1633
1644
  withRim: d = !1
1634
1645
  }) => {
1635
- const m = s === "image" && !l, [u, i] = e.useState(m), g = s === "image" && !!l && !u, h = s === "text", v = ["xxxsmall", "xxsmall", "xsmall"].includes(_) ? 1 : 2, p = Qr(n, v), y = r || Zr(p), f = y && Xr(y), w = b(E({
1646
+ const i = s === "image" && !l, [m, u] = e.useState(i), g = s === "image" && !!l && !m, v = s === "text", b = ["xxxsmall", "xxsmall", "xsmall"].includes(_) ? 1 : 2, p = Qr(n, b), y = r || Zr(p), h = y && Xr(y), E = f(w({
1636
1647
  [ae[Y]]: !0,
1637
1648
  [ae[`${Y}--${o}`]]: !0,
1638
1649
  [ae[`${Y}--${_}`]]: !0,
1639
1650
  [ae[`${Y}--with-rim`]]: d
1640
- }, a ? { [`${a}`]: a } : {})), S = b(
1651
+ }, a ? { [`${a}`]: a } : {})), N = f(
1641
1652
  ae[`${Y}__status`],
1642
1653
  ae[`${Y}__status--${o}`],
1643
1654
  ae[`${Y}__status--${_}`],
1644
1655
  ...c ? [ae[`${Y}__status--${c}`]] : []
1645
- ), $ = b(
1656
+ ), $ = f(
1646
1657
  ae[`${Y}__icon`],
1647
1658
  ae[`${Y}__icon--${_}`]
1648
- ), k = b(
1659
+ ), k = f(
1649
1660
  ae[`${Y}__rim`],
1650
1661
  ae[`${Y}__rim--${_}`]
1651
- ), C = e.useCallback(() => i(!0), []);
1662
+ ), C = e.useCallback(() => u(!0), []);
1652
1663
  return e.useEffect(() => {
1653
- i(m);
1654
- }, [m]), /* @__PURE__ */ e.createElement("div", { className: w, style: { backgroundColor: y } }, d && /* @__PURE__ */ e.createElement(
1664
+ u(i);
1665
+ }, [i]), /* @__PURE__ */ e.createElement("div", { className: E, style: { backgroundColor: y } }, d && /* @__PURE__ */ e.createElement(
1655
1666
  "div",
1656
1667
  {
1657
1668
  "data-testid": `${Y}__rim`,
@@ -1661,7 +1672,7 @@ const e_ = "lc-Avatar-module__avatar___1zTCE", t_ = "lc-Avatar-module__avatar__s
1661
1672
  "div",
1662
1673
  {
1663
1674
  "data-testid": `${Y}__status`,
1664
- className: S
1675
+ className: N
1665
1676
  }
1666
1677
  ), g && /* @__PURE__ */ e.createElement(
1667
1678
  "img",
@@ -1671,8 +1682,8 @@ const e_ = "lc-Avatar-module__avatar___1zTCE", t_ = "lc-Avatar-module__avatar__s
1671
1682
  alt: t,
1672
1683
  onError: C
1673
1684
  }
1674
- ), h && /* @__PURE__ */ e.createElement("span", { style: { color: f } }, p), u && /* @__PURE__ */ e.createElement(
1675
- T,
1685
+ ), v && /* @__PURE__ */ e.createElement("span", { style: { color: h } }, p), m && /* @__PURE__ */ e.createElement(
1686
+ D,
1676
1687
  {
1677
1688
  "data-testid": `${Y}__icon`,
1678
1689
  className: $,
@@ -1708,17 +1719,17 @@ const o_ = "lc-Badge-module__badge___GhLnu", l_ = "lc-Badge-module__badge__dot__
1708
1719
  "size",
1709
1720
  "type"
1710
1721
  ]);
1711
- const d = b(
1722
+ const d = f(
1712
1723
  t,
1713
1724
  Et[$t],
1714
1725
  Et[`${$t}--${o}`],
1715
1726
  Et[`${$t}--${_}`]
1716
- ), m = {
1727
+ ), i = {
1717
1728
  counter: __(a, r),
1718
1729
  alert: "!",
1719
1730
  dot: /* @__PURE__ */ e.createElement("span", { className: Et[`${$t}__dot`] })
1720
1731
  }[l];
1721
- return /* @__PURE__ */ e.createElement("span", E({ className: d }, c), m);
1732
+ return /* @__PURE__ */ e.createElement("span", w({ className: d }, c), i);
1722
1733
  };
1723
1734
  function Zt() {
1724
1735
  }
@@ -1729,7 +1740,7 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
1729
1740
  "btn--compact": "lc-SegmentedControl-module__btn--compact___gcSwq",
1730
1741
  "btn--medium": "lc-SegmentedControl-module__btn--medium___w3UzC",
1731
1742
  "btn--large": "lc-SegmentedControl-module__btn--large___yHPw4"
1732
- }, s_ = "segmented-control", Cl = ({
1743
+ }, s_ = "segmented-control", wl = ({
1733
1744
  size: t = "medium",
1734
1745
  buttons: a,
1735
1746
  className: r,
@@ -1738,33 +1749,33 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
1738
1749
  fullWidth: l = !1,
1739
1750
  onButtonClick: c = Zt
1740
1751
  }) => {
1741
- const n = b(wt[s_], r), [s, d] = e.useState(() => o), m = typeof _ == "string";
1752
+ const n = f(wt[s_], r), [s, d] = e.useState(() => o), i = typeof _ == "string";
1742
1753
  e.useEffect(() => {
1743
- m && d(_);
1754
+ i && d(_);
1744
1755
  }, [_]);
1745
- const u = (g, h) => {
1746
- m || d(g), c(g, h);
1747
- }, i = a.map(({ id: g, label: h, loading: v, disabled: p, icon: y }) => {
1748
- const f = g === s, w = f ? wt["btn--active"] : "", S = f ? !1 : v;
1756
+ const m = (g, v) => {
1757
+ i || d(g), c(g, v);
1758
+ }, u = a.map(({ id: g, label: v, loading: b, disabled: p, icon: y }) => {
1759
+ const h = g === s, E = h ? wt["btn--active"] : "", N = h ? !1 : b;
1749
1760
  return /* @__PURE__ */ e.createElement(
1750
- R,
1761
+ M,
1751
1762
  {
1752
1763
  key: g,
1753
1764
  fullWidth: l,
1754
- loading: S,
1765
+ loading: N,
1755
1766
  disabled: p,
1756
- "aria-pressed": f,
1767
+ "aria-pressed": h,
1757
1768
  kind: "secondary",
1758
1769
  icon: y,
1759
- className: b(wt.btn, wt[`btn--${t}`], w),
1770
+ className: f(wt.btn, wt[`btn--${t}`], E),
1760
1771
  onClick: ($) => {
1761
- u(g, $);
1772
+ m(g, $);
1762
1773
  }
1763
1774
  },
1764
- h
1775
+ v
1765
1776
  );
1766
1777
  });
1767
- return /* @__PURE__ */ e.createElement("div", { role: "group", className: n }, i);
1778
+ return /* @__PURE__ */ e.createElement("div", { role: "group", className: n }, u);
1768
1779
  }, i_ = "lc-Card-module__card___GqMm2", d_ = "lc-Card-module__card__header___0ptfD", u_ = "lc-Card-module__card__header__image___QMwSu", m_ = "lc-Card-module__card__header__heading___Wkikx", p_ = "lc-Card-module__card__header__heading__title___Uxi8s", g_ = "lc-Card-module__card__header__heading__description___6LnOK", f_ = "lc-Card-module__card__content___KuDcc", b_ = "lc-Card-module__card__actions___q9sAo", v_ = "lc-Card-module__card__actions__line___TF1bt", h_ = "lc-Card-module__card__actions__buttons___PDMMR", re = {
1769
1780
  card: i_,
1770
1781
  card__header: d_,
@@ -1779,8 +1790,8 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
1779
1790
  card__actions__line: v_,
1780
1791
  card__actions__buttons: h_,
1781
1792
  "card__actions__buttons-expander": "lc-Card-module__card__actions__buttons-expander___lz4h-"
1782
- }, gt = "card", Pt = `${gt}__header`, Gt = `${Pt}__heading`, Ct = `${gt}__actions`, k_ = `${Pt}__no-image`, Nl = (d) => {
1783
- var m = d, {
1793
+ }, gt = "card", Pt = `${gt}__header`, Gt = `${Pt}__heading`, Ct = `${gt}__actions`, k_ = `${Pt}__no-image`, Cl = (d) => {
1794
+ var i = d, {
1784
1795
  alt: t,
1785
1796
  buttonsOptions: a = [],
1786
1797
  children: r,
@@ -1789,7 +1800,7 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
1789
1800
  expandableContent: l,
1790
1801
  src: c,
1791
1802
  title: n
1792
- } = m, s = B(m, [
1803
+ } = i, s = B(i, [
1793
1804
  "alt",
1794
1805
  "buttonsOptions",
1795
1806
  "children",
@@ -1799,15 +1810,15 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
1799
1810
  "src",
1800
1811
  "title"
1801
1812
  ]);
1802
- const [u, i] = e.useState(!1), g = u ? Ft : ft, h = u ? "Hide" : "Show more", v = (a == null ? void 0 : a.length) > 0, p = !!l, y = v || p, f = n, w = c, S = w ? "" : re[k_];
1803
- return /* @__PURE__ */ e.createElement("div", E({ className: b(re[gt], o) }, s), f && /* @__PURE__ */ e.createElement("div", { className: b(re[Pt], S) }, w && /* @__PURE__ */ e.createElement(
1813
+ const [m, u] = e.useState(!1), g = m ? Ft : ft, v = m ? "Hide" : "Show more", b = (a == null ? void 0 : a.length) > 0, p = !!l, y = b || p, h = n, E = c, N = E ? "" : re[k_];
1814
+ return /* @__PURE__ */ e.createElement("div", w({ className: f(re[gt], o) }, s), h && /* @__PURE__ */ e.createElement("div", { className: f(re[Pt], N) }, E && /* @__PURE__ */ e.createElement(
1804
1815
  "img",
1805
1816
  {
1806
1817
  alt: t,
1807
1818
  className: re[`${Pt}__image`],
1808
1819
  src: c
1809
1820
  }
1810
- ), /* @__PURE__ */ e.createElement("div", { className: re[Gt] }, /* @__PURE__ */ e.createElement(Je, { size: "sm", className: re[`${Gt}__title`] }, n), /* @__PURE__ */ e.createElement(P, { size: "sm", className: re[`${Gt}__description`] }, _))), /* @__PURE__ */ e.createElement(P, { as: "div", size: "md", className: re[`${gt}__content`] }, r), u && /* @__PURE__ */ e.createElement(
1821
+ ), /* @__PURE__ */ e.createElement("div", { className: re[Gt] }, /* @__PURE__ */ e.createElement(Ke, { size: "sm", className: re[`${Gt}__title`] }, n), /* @__PURE__ */ e.createElement(P, { size: "sm", className: re[`${Gt}__description`] }, _))), /* @__PURE__ */ e.createElement(P, { as: "div", size: "md", className: re[`${gt}__content`] }, r), m && /* @__PURE__ */ e.createElement(
1811
1822
  P,
1812
1823
  {
1813
1824
  as: "div",
@@ -1815,18 +1826,18 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
1815
1826
  className: re[`${gt}__expanded-content`]
1816
1827
  },
1817
1828
  l
1818
- ), y && /* @__PURE__ */ e.createElement("div", { className: re[Ct] }, /* @__PURE__ */ e.createElement("div", { className: re[`${Ct}__line`] }), /* @__PURE__ */ e.createElement("div", { className: re[`${Ct}__buttons`] }, v && a.map(
1819
- ({ kind: $, onClick: k, children: C }) => /* @__PURE__ */ e.createElement(R, { size: "compact", kind: $, onClick: k }, C)
1829
+ ), y && /* @__PURE__ */ e.createElement("div", { className: re[Ct] }, /* @__PURE__ */ e.createElement("div", { className: re[`${Ct}__line`] }), /* @__PURE__ */ e.createElement("div", { className: re[`${Ct}__buttons`] }, b && a.map(
1830
+ ({ kind: $, onClick: k, children: C }) => /* @__PURE__ */ e.createElement(M, { size: "compact", kind: $, onClick: k }, C)
1820
1831
  ), p && /* @__PURE__ */ e.createElement(
1821
- R,
1832
+ M,
1822
1833
  {
1823
1834
  className: re[`${Ct}__buttons-expander`],
1824
1835
  kind: "link",
1825
1836
  iconPosition: "right",
1826
- icon: /* @__PURE__ */ e.createElement(T, { source: g }),
1827
- onClick: () => i(!u)
1837
+ icon: /* @__PURE__ */ e.createElement(D, { source: g }),
1838
+ onClick: () => u(!m)
1828
1839
  },
1829
- h
1840
+ v
1830
1841
  ))));
1831
1842
  }, y_ = {
1832
1843
  "field-description": "lc-FieldDescription-module__field-description___IcRDH"
@@ -1838,9 +1849,9 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
1838
1849
  "children",
1839
1850
  "className"
1840
1851
  ]);
1841
- const l = b(y_[E_], a);
1842
- return /* @__PURE__ */ e.createElement(P, A(E({ as: "span", size: "sm" }, r), { className: l }), t);
1843
- }, $_ = "lc-Checkbox-module__checkbox___G7nTf", w_ = "lc-Checkbox-module__checkbox__label___-o01x", C_ = "lc-Checkbox-module__checkbox__text___P2SIq", N_ = "lc-Checkbox-module__checkbox__input___YLbVF", x_ = "lc-Checkbox-module__checkbox__checkmark___16pfY", S_ = "lc-Checkbox-module__checkbox__square___MHUyd", T_ = "lc-Checkbox-module__checkbox__helper___YSJ-n", Re = {
1852
+ const l = f(y_[E_], a);
1853
+ return /* @__PURE__ */ e.createElement(P, A(w({ as: "span", size: "sm" }, r), { className: l }), t);
1854
+ }, $_ = "lc-Checkbox-module__checkbox___G7nTf", w_ = "lc-Checkbox-module__checkbox__label___-o01x", C_ = "lc-Checkbox-module__checkbox__text___P2SIq", N_ = "lc-Checkbox-module__checkbox__input___YLbVF", x_ = "lc-Checkbox-module__checkbox__checkmark___16pfY", S_ = "lc-Checkbox-module__checkbox__square___MHUyd", T_ = "lc-Checkbox-module__checkbox__helper___YSJ-n", Le = {
1844
1855
  checkbox: $_,
1845
1856
  checkbox__label: w_,
1846
1857
  checkbox__text: C_,
@@ -1850,31 +1861,31 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
1850
1861
  checkbox__square: S_,
1851
1862
  "checkbox--disabled": "lc-Checkbox-module__checkbox--disabled___-lAqW",
1852
1863
  checkbox__helper: T_
1853
- }, Me = "checkbox", xl = e.forwardRef(
1864
+ }, Oe = "checkbox", Nl = e.forwardRef(
1854
1865
  (n, c) => {
1855
1866
  var s = n, { checked: t, disabled: a, children: r, description: o, className: _ } = s, l = B(s, ["checked", "disabled", "children", "description", "className"]);
1856
1867
  return /* @__PURE__ */ e.createElement(
1857
1868
  "div",
1858
1869
  {
1859
- className: b(Re[Me], _, {
1860
- [Re[`${Me}--selected`]]: t,
1861
- [Re[`${Me}--disabled`]]: a
1870
+ className: f(Le[Oe], _, {
1871
+ [Le[`${Oe}--selected`]]: t,
1872
+ [Le[`${Oe}--disabled`]]: a
1862
1873
  })
1863
1874
  },
1864
- /* @__PURE__ */ e.createElement("label", { className: Re[`${Me}__label`] }, /* @__PURE__ */ e.createElement(
1875
+ /* @__PURE__ */ e.createElement("label", { className: Le[`${Oe}__label`] }, /* @__PURE__ */ e.createElement(
1865
1876
  "input",
1866
- A(E({}, l), {
1877
+ A(w({}, l), {
1867
1878
  ref: c,
1868
1879
  checked: t,
1869
1880
  disabled: a,
1870
- className: Re[`${Me}__input`],
1881
+ className: Le[`${Oe}__input`],
1871
1882
  type: "checkbox"
1872
1883
  })
1873
- ), r && /* @__PURE__ */ e.createElement(P, { as: "div", size: "md", className: Re[`${Me}__text`] }, r)),
1874
- o && /* @__PURE__ */ e.createElement(Rt, { className: Re[`${Me}__helper`] }, o)
1884
+ ), r && /* @__PURE__ */ e.createElement(P, { as: "div", size: "md", className: Le[`${Oe}__text`] }, r)),
1885
+ o && /* @__PURE__ */ e.createElement(Rt, { className: Le[`${Oe}__helper`] }, o)
1875
1886
  );
1876
1887
  }
1877
- ), D = {
1888
+ ), T = {
1878
1889
  "date-picker": "lc-DatePicker-module__date-picker___9AqJ2",
1879
1890
  "date-picker--interaction-disabled": "lc-DatePicker-module__date-picker--interaction-disabled___-zn8o",
1880
1891
  "date-picker__day": "lc-DatePicker-module__date-picker__day___ZTSw9",
@@ -1920,95 +1931,95 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
1920
1931
  classNames: n,
1921
1932
  numberOfMonths: s,
1922
1933
  month: d,
1923
- fromMonth: m,
1924
- toMonth: u
1925
- } = t, i = () => {
1934
+ fromMonth: i,
1935
+ toMonth: m
1936
+ } = t, u = () => {
1926
1937
  typeof a == "function" && a();
1927
1938
  }, g = () => {
1928
1939
  typeof o == "function" && o();
1929
- }, h = () => {
1930
- if (!m) {
1931
- const f = qe(d, 12);
1932
- return r(f);
1940
+ }, v = () => {
1941
+ if (!i) {
1942
+ const h = je(d, 12);
1943
+ return r(h);
1933
1944
  }
1934
- const p = Math.abs(na(d, m)), y = qe(
1945
+ const p = Math.abs(na(d, i)), y = je(
1935
1946
  d,
1936
1947
  !Number.isNaN(p) && p > 12 ? 12 : p
1937
1948
  );
1938
1949
  return r(y);
1939
- }, v = () => {
1940
- if (!u) {
1941
- const f = sa(d, 12);
1942
- return r(f);
1950
+ }, b = () => {
1951
+ if (!m) {
1952
+ const h = sa(d, 12);
1953
+ return r(h);
1943
1954
  }
1944
- const p = Math.abs(na(u, d)), y = sa(
1955
+ const p = Math.abs(na(m, d)), y = sa(
1945
1956
  d,
1946
1957
  !Number.isNaN(p) && p > 12 ? 12 : p
1947
1958
  );
1948
- return s === 2 && Jt(y, u) ? r(qe(y, 1)) : r(y);
1959
+ return s === 2 && Jt(y, m) ? r(je(y, 1)) : r(y);
1949
1960
  };
1950
- return /* @__PURE__ */ e.createElement("div", { className: c }, /* @__PURE__ */ e.createElement("div", { className: D[`${ha}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
1961
+ return /* @__PURE__ */ e.createElement("div", { className: c }, /* @__PURE__ */ e.createElement("div", { className: T[`${ha}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
1951
1962
  "button",
1952
1963
  {
1953
1964
  "data-testid": "date-picker-prev-year-button",
1954
- className: Oe({
1965
+ className: He({
1955
1966
  [n.navButtonPrev]: !0,
1956
1967
  [n.navButtonInteractionDisabled]: !l
1957
1968
  }),
1958
- onClick: h
1969
+ onClick: v
1959
1970
  },
1960
- /* @__PURE__ */ e.createElement(T, { source: mr, kind: "subtle" })
1971
+ /* @__PURE__ */ e.createElement(D, { source: mr, kind: "subtle" })
1961
1972
  ), /* @__PURE__ */ e.createElement(
1962
1973
  "button",
1963
1974
  {
1964
1975
  "data-testid": "date-picker-prev-month-button",
1965
- className: Oe({
1976
+ className: He({
1966
1977
  [n.navButtonPrev]: !0,
1967
1978
  [n.navButtonInteractionDisabled]: !l
1968
1979
  }),
1969
- onClick: i
1980
+ onClick: u
1970
1981
  },
1971
- /* @__PURE__ */ e.createElement(T, { source: pr, kind: "subtle" })
1972
- )), /* @__PURE__ */ e.createElement("div", { className: D[`${ha}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
1982
+ /* @__PURE__ */ e.createElement(D, { source: pr, kind: "subtle" })
1983
+ )), /* @__PURE__ */ e.createElement("div", { className: T[`${ha}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
1973
1984
  "button",
1974
1985
  {
1975
1986
  "data-testid": "date-picker-next-month-button",
1976
- className: Oe({
1987
+ className: He({
1977
1988
  [n.navButtonNext]: !0,
1978
1989
  [n.navButtonInteractionDisabled]: !_
1979
1990
  }),
1980
1991
  onClick: g
1981
1992
  },
1982
- /* @__PURE__ */ e.createElement(T, { source: gr, kind: "subtle" })
1993
+ /* @__PURE__ */ e.createElement(D, { source: gr, kind: "subtle" })
1983
1994
  ), /* @__PURE__ */ e.createElement(
1984
1995
  "button",
1985
1996
  {
1986
1997
  "data-testid": "date-picker-next-year-button",
1987
- className: Oe({
1998
+ className: He({
1988
1999
  [n.navButtonNext]: !0,
1989
2000
  [n.navButtonInteractionDisabled]: !_
1990
2001
  }),
1991
- onClick: v
2002
+ onClick: b
1992
2003
  },
1993
- /* @__PURE__ */ e.createElement(T, { source: fr, kind: "subtle" })
2004
+ /* @__PURE__ */ e.createElement(D, { source: fr, kind: "subtle" })
1994
2005
  )));
1995
2006
  }, I = "date-picker", Va = (t, a) => {
1996
2007
  const { from: r, to: o } = a;
1997
2008
  return !(o && !jt(t, o) && Kt(t, o) || r && !jt(t, r) && !Kt(t, r));
1998
- }, Ya = (t, a, r) => a ? t && !Jt(t, a) || r && Jt(a, r) ? qe(a, 1) : a : qe(r || /* @__PURE__ */ new Date(), 1), I_ = (t, a) => {
2009
+ }, Ya = (t, a, r) => a ? t && !Jt(t, a) || r && Jt(a, r) ? je(a, 1) : a : je(r || /* @__PURE__ */ new Date(), 1), I_ = (t, a) => {
1999
2010
  const r = {
2000
- [D[`${I}__day--monday`]]: { daysOfWeek: [1] },
2001
- [D[`${I}__day--sunday`]]: { daysOfWeek: [0] },
2002
- [D[`${I}__day--start`]]: t,
2003
- [D[`${I}__day--end`]]: t
2011
+ [T[`${I}__day--monday`]]: { daysOfWeek: [1] },
2012
+ [T[`${I}__day--sunday`]]: { daysOfWeek: [0] },
2013
+ [T[`${I}__day--start`]]: t,
2014
+ [T[`${I}__day--end`]]: t
2004
2015
  };
2005
2016
  if (!a || !t)
2006
2017
  return r;
2007
2018
  const o = Ha(a, t);
2008
- return o > 0 ? A(E({}, r), {
2009
- [D[`${I}__day--end`]]: a
2010
- }) : o < 0 ? A(E({}, r), {
2011
- [D[`${I}__day--start`]]: a
2019
+ return o > 0 ? A(w({}, r), {
2020
+ [T[`${I}__day--end`]]: a
2021
+ }) : o < 0 ? A(w({}, r), {
2022
+ [T[`${I}__day--start`]]: a
2012
2023
  }) : r;
2013
2024
  }, mt = (t, a) => {
2014
2025
  const r = a.find((o) => o.id === t);
@@ -2022,44 +2033,44 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
2022
2033
  t.options
2023
2034
  );
2024
2035
  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) : {};
2025
- }, B_ = (t, a) => E({
2026
- container: Oe({
2027
- [D[`${I}`]]: !0,
2028
- [D[`${I}--range`]]: t
2036
+ }, B_ = (t, a) => w({
2037
+ container: He({
2038
+ [T[`${I}`]]: !0,
2039
+ [T[`${I}--range`]]: t
2029
2040
  }),
2030
- wrapper: D[`${I}__wrapper`],
2031
- interactionDisabled: D[`${I}--interaction-disabled`],
2032
- months: D[`${I}__months`],
2033
- month: D[`${I}__month`],
2034
- navBar: D[`${I}__nav-bar`],
2035
- navButtonPrev: Oe(
2036
- D[`${I}__nav-button`],
2037
- D[`${I}__nav-button--prev`]
2041
+ wrapper: T[`${I}__wrapper`],
2042
+ interactionDisabled: T[`${I}--interaction-disabled`],
2043
+ months: T[`${I}__months`],
2044
+ month: T[`${I}__month`],
2045
+ navBar: T[`${I}__nav-bar`],
2046
+ navButtonPrev: He(
2047
+ T[`${I}__nav-button`],
2048
+ T[`${I}__nav-button--prev`]
2038
2049
  ),
2039
- navButtonNext: Oe(
2040
- D[`${I}__nav-button`],
2041
- D[`${I}__nav-button--next`]
2050
+ navButtonNext: He(
2051
+ T[`${I}__nav-button`],
2052
+ T[`${I}__nav-button--next`]
2042
2053
  ),
2043
- navButtonInteractionDisabled: D[`${I}__nav-button--interaction-disabled`],
2044
- caption: D[`${I}__caption`],
2045
- weekdays: D[`${I}__weekdays`],
2046
- weekdaysRow: D[`${I}__weekdays-row`],
2047
- weekday: D[`${I}__weekday`],
2048
- body: D[`${I}__body`],
2049
- week: D[`${I}__week`],
2050
- weekNumber: D[`${I}__week-number`],
2051
- day: D[`${I}__day`],
2052
- footer: D[`${I}__footer`],
2053
- todayButton: D[`${I}__today-button`],
2054
- today: D[`${I}__day--today`],
2055
- selected: D[`${I}__day--selected`],
2056
- disabled: D[`${I}__day--disabled`],
2057
- outside: D[`${I}__day--outside`],
2058
- start: D[`${I}__day--start`],
2059
- end: D[`${I}__day--end`]
2054
+ navButtonInteractionDisabled: T[`${I}__nav-button--interaction-disabled`],
2055
+ caption: T[`${I}__caption`],
2056
+ weekdays: T[`${I}__weekdays`],
2057
+ weekdaysRow: T[`${I}__weekdays-row`],
2058
+ weekday: T[`${I}__weekday`],
2059
+ body: T[`${I}__body`],
2060
+ week: T[`${I}__week`],
2061
+ weekNumber: T[`${I}__week-number`],
2062
+ day: T[`${I}__day`],
2063
+ footer: T[`${I}__footer`],
2064
+ todayButton: T[`${I}__today-button`],
2065
+ today: T[`${I}__day--today`],
2066
+ selected: T[`${I}__day--selected`],
2067
+ disabled: T[`${I}__day--disabled`],
2068
+ outside: T[`${I}__day--outside`],
2069
+ start: T[`${I}__day--start`],
2070
+ end: T[`${I}__day--end`]
2060
2071
  }, a), ya = "date-picker", P_ = (t) => {
2061
2072
  const a = t.getDate();
2062
- return /* @__PURE__ */ e.createElement("div", { className: D[`${ya}__day-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: D[`${ya}__day-content`] }, a));
2073
+ return /* @__PURE__ */ e.createElement("div", { className: T[`${ya}__day-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: T[`${ya}__day-content`] }, a));
2063
2074
  }, F_ = (t) => {
2064
2075
  const y = t, {
2065
2076
  classNames: a,
@@ -2071,8 +2082,8 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
2071
2082
  numberOfMonths: n,
2072
2083
  navbarElement: s,
2073
2084
  renderDay: d,
2074
- innerRef: m
2075
- } = y, u = B(y, [
2085
+ innerRef: i
2086
+ } = y, m = B(y, [
2076
2087
  "classNames",
2077
2088
  "range",
2078
2089
  "toMonth",
@@ -2083,54 +2094,54 @@ const n_ = "lc-SegmentedControl-module__btn___tfsvL", wt = {
2083
2094
  "navbarElement",
2084
2095
  "renderDay",
2085
2096
  "innerRef"
2086
- ]), [i, g] = e.useState(_ || /* @__PURE__ */ new Date());
2097
+ ]), [u, g] = e.useState(_ || /* @__PURE__ */ new Date());
2087
2098
  e.useEffect(() => {
2088
- _ && _ !== i && g(_);
2089
- }, [_, i]), e.useEffect(() => {
2090
- o && (Va(i, { from: l, to: o }) || g(o));
2091
- }, [i, t.toMonth, t.fromMonth]);
2092
- const h = e.useCallback(
2093
- (f) => {
2094
- if (t.onMonthChange && f) {
2095
- t.onMonthChange(f);
2099
+ _ && _ !== u && g(_);
2100
+ }, [_, u]), e.useEffect(() => {
2101
+ o && (Va(u, { from: l, to: o }) || g(o));
2102
+ }, [u, t.toMonth, t.fromMonth]);
2103
+ const v = e.useCallback(
2104
+ (h) => {
2105
+ if (t.onMonthChange && h) {
2106
+ t.onMonthChange(h);
2096
2107
  return;
2097
2108
  }
2098
- g(f);
2109
+ g(h);
2099
2110
  },
2100
2111
  [_, t.onMonthChange]
2101
2112
  );
2102
- let v = 1;
2103
- (c === 0 || c && c < 7) && (v = c);
2113
+ let b = 1;
2114
+ (c === 0 || c && c < 7) && (b = c);
2104
2115
  const p = e.useMemo(
2105
2116
  () => B_(r, a),
2106
2117
  [r, a]
2107
2118
  );
2108
2119
  return /* @__PURE__ */ e.createElement(
2109
2120
  br,
2110
- E({
2121
+ w({
2111
2122
  navbarElement: s || /* @__PURE__ */ e.createElement(
2112
2123
  D_,
2113
2124
  {
2114
- month: i,
2125
+ month: u,
2115
2126
  classNames: p,
2116
2127
  numberOfMonths: n,
2117
- onMonthChange: h,
2128
+ onMonthChange: v,
2118
2129
  toMonth: o,
2119
2130
  fromMonth: l
2120
2131
  }
2121
2132
  ),
2122
- ref: m,
2133
+ ref: i,
2123
2134
  classNames: p,
2124
2135
  numberOfMonths: n,
2125
2136
  toMonth: o,
2126
2137
  fromMonth: l,
2127
- firstDayOfWeek: v,
2128
- month: i,
2138
+ firstDayOfWeek: b,
2139
+ month: u,
2129
2140
  renderDay: d || P_
2130
- }, u)
2141
+ }, m)
2131
2142
  );
2132
2143
  }, R_ = e.forwardRef(
2133
- (t, a) => /* @__PURE__ */ e.createElement(F_, E({ innerRef: a }, t))
2144
+ (t, a) => /* @__PURE__ */ e.createElement(F_, w({ innerRef: a }, t))
2134
2145
  );
2135
2146
  R_.displayName = "DatePicker";
2136
2147
  var O = /* @__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))(O || {});
@@ -2139,7 +2150,7 @@ const M_ = (t) => {
2139
2150
  t.initialFromDate,
2140
2151
  t.initialToDate,
2141
2152
  t.toMonth
2142
- ), o = E(E({}, {
2153
+ ), o = w(w({}, {
2143
2154
  selectedItem: null,
2144
2155
  from: void 0,
2145
2156
  to: void 0,
@@ -2157,36 +2168,36 @@ const M_ = (t) => {
2157
2168
  currentMonth: a
2158
2169
  };
2159
2170
  case O.NEW_TEMPORARY_TO_VALUE:
2160
- return A(E({}, l), {
2171
+ return A(w({}, l), {
2161
2172
  temporaryTo: c.payload.date
2162
2173
  });
2163
2174
  case O.SELECT_FIRST_DAY:
2164
- return A(E({}, l), {
2175
+ return A(w({}, l), {
2165
2176
  from: c.payload.date,
2166
2177
  to: void 0,
2167
2178
  temporaryTo: void 0
2168
2179
  });
2169
2180
  case O.SELECT_SECOND_DAY_AS_FROM:
2170
- return A(E({}, l), {
2181
+ return A(w({}, l), {
2171
2182
  from: c.payload.date,
2172
2183
  to: l.from,
2173
2184
  temporaryTo: l.from
2174
2185
  });
2175
2186
  case O.SELECT_SECOND_DAY_AS_TO:
2176
- return A(E({}, l), {
2187
+ return A(w({}, l), {
2177
2188
  to: c.payload.date,
2178
2189
  temporaryTo: c.payload.date
2179
2190
  });
2180
2191
  case O.CURRENT_MONTH_CHANGE:
2181
- return A(E({}, l), {
2192
+ return A(w({}, l), {
2182
2193
  currentMonth: c.payload.date
2183
2194
  });
2184
2195
  case O.SET_FROM:
2185
- return A(E({}, l), {
2196
+ return A(w({}, l), {
2186
2197
  from: c.payload.date
2187
2198
  });
2188
2199
  case O.SET_TO:
2189
- return A(E({}, l), {
2200
+ return A(w({}, l), {
2190
2201
  to: c.payload.date
2191
2202
  });
2192
2203
  default:
@@ -2214,123 +2225,123 @@ const M_ = (t) => {
2214
2225
  onChange: l,
2215
2226
  children: c
2216
2227
  });
2217
- Ke(() => {
2228
+ Qe(() => {
2218
2229
  d({
2219
2230
  type: O.SET_FROM,
2220
2231
  payload: { date: r }
2221
2232
  });
2222
- }, [r]), Ke(() => {
2233
+ }, [r]), Qe(() => {
2223
2234
  d({
2224
2235
  type: O.SET_TO,
2225
2236
  payload: { date: o }
2226
2237
  });
2227
- }, [o]), Ke(() => {
2228
- const v = Ya(
2238
+ }, [o]), Qe(() => {
2239
+ const b = Ya(
2229
2240
  r,
2230
2241
  o,
2231
2242
  _
2232
2243
  );
2233
2244
  d({
2234
2245
  type: O.CURRENT_MONTH_CHANGE,
2235
- payload: { date: v }
2246
+ payload: { date: b }
2236
2247
  });
2237
- }, [_, r, o]), Ke(() => {
2238
- const { from: v, selectedItem: p, to: y } = s;
2239
- if (!(v && y))
2248
+ }, [_, r, o]), Qe(() => {
2249
+ const { from: b, selectedItem: p, to: y } = s;
2250
+ if (!(b && y))
2240
2251
  return;
2241
- const f = mt(p, t);
2242
- f && (l == null || l(A(E({}, f), {
2252
+ const h = mt(p, t);
2253
+ h && (l == null || l(A(w({}, h), {
2243
2254
  value: {
2244
- from: v,
2255
+ from: b,
2245
2256
  to: y
2246
2257
  }
2247
2258
  })));
2248
- }, [s.from, s.to, s.selectedItem, t, l]), Ke(() => {
2249
- const { selectedItem: v } = s;
2250
- if (v === n.current)
2259
+ }, [s.from, s.to, s.selectedItem, t, l]), Qe(() => {
2260
+ const { selectedItem: b } = s;
2261
+ if (b === n.current)
2251
2262
  return;
2252
- if (!v) {
2263
+ if (!b) {
2253
2264
  l(null);
2254
2265
  return;
2255
2266
  }
2256
- if (!mt(v, t))
2267
+ if (!mt(b, t))
2257
2268
  return;
2258
2269
  const y = t.reduce(
2259
- (f, w) => A(E({}, f), { [w.id]: w }),
2270
+ (h, E) => A(w({}, h), { [E.id]: E }),
2260
2271
  {}
2261
2272
  );
2262
- l(y[v]);
2273
+ l(y[b]);
2263
2274
  }, [l, s.selectedItem, t]);
2264
- const m = kt(
2265
- (v) => {
2266
- const p = _ ? Ha(_, v) >= 0 : !0;
2275
+ const i = kt(
2276
+ (b) => {
2277
+ const p = _ ? Ha(_, b) >= 0 : !0;
2267
2278
  !ka(s.from, s.to) && p && d({
2268
2279
  type: O.NEW_TEMPORARY_TO_VALUE,
2269
- payload: { date: v }
2280
+ payload: { date: b }
2270
2281
  });
2271
2282
  },
2272
2283
  [_, s.from, s.to]
2273
- ), u = kt(
2274
- (v) => {
2284
+ ), m = kt(
2285
+ (b) => {
2275
2286
  const { from: p, to: y } = s;
2276
- Va(v, { to: _ }) && (ka(p, y) ? d({
2287
+ Va(b, { to: _ }) && (ka(p, y) ? d({
2277
2288
  type: O.SELECT_FIRST_DAY,
2278
- payload: { date: v }
2279
- }) : p && jt(v, p) || p && Kt(v, p) ? d({
2289
+ payload: { date: b }
2290
+ }) : p && jt(b, p) || p && Kt(b, p) ? d({
2280
2291
  type: O.SELECT_SECOND_DAY_AS_TO,
2281
- payload: { date: v }
2292
+ payload: { date: b }
2282
2293
  }) : d({
2283
2294
  type: O.SELECT_SECOND_DAY_AS_FROM,
2284
- payload: { date: v }
2295
+ payload: { date: b }
2285
2296
  }));
2286
2297
  },
2287
2298
  [_, s.from, s.to]
2288
- ), i = kt(
2289
- (v) => {
2290
- if (v === null) {
2299
+ ), u = kt(
2300
+ (b) => {
2301
+ if (b === null) {
2291
2302
  d({
2292
2303
  type: O.NEW_SELECTED_ITEM,
2293
2304
  payload: { selectedItem: null }
2294
2305
  });
2295
2306
  return;
2296
2307
  }
2297
- mt(v, t) && d({
2308
+ mt(b, t) && d({
2298
2309
  type: O.NEW_SELECTED_ITEM,
2299
- payload: { selectedItem: v }
2310
+ payload: { selectedItem: b }
2300
2311
  });
2301
2312
  },
2302
2313
  [t]
2303
- ), g = kt((v) => {
2314
+ ), g = kt((b) => {
2304
2315
  d({
2305
2316
  type: O.CURRENT_MONTH_CHANGE,
2306
- payload: { date: v }
2317
+ payload: { date: b }
2307
2318
  });
2308
2319
  }, []);
2309
2320
  return c((() => {
2310
- const { currentMonth: v, from: p, selectedItem: y, temporaryTo: f, to: w } = s, S = yt(
2311
- () => I_(p, f),
2312
- [p, f]
2313
- ), $ = yt(() => mt(y, t), [t, y]), k = yt(() => [p, { from: p, to: f }], [p, f]), C = yt(() => _ ? { after: _ } : void 0, [_]);
2321
+ const { currentMonth: b, from: p, selectedItem: y, temporaryTo: h, to: E } = s, N = yt(
2322
+ () => I_(p, h),
2323
+ [p, h]
2324
+ ), $ = yt(() => mt(y, t), [t, y]), k = yt(() => [p, { from: p, to: h }], [p, h]), C = yt(() => _ ? { after: _ } : void 0, [_]);
2314
2325
  return {
2315
2326
  select: {
2316
- onItemSelect: i,
2327
+ onItemSelect: u,
2317
2328
  selected: y || ""
2318
2329
  },
2319
2330
  inputs: {
2320
2331
  fromDate: p,
2321
- toDate: w
2332
+ toDate: E
2322
2333
  },
2323
2334
  datepicker: {
2324
2335
  range: !0,
2325
- month: v,
2336
+ month: b,
2326
2337
  numberOfMonths: 2,
2327
- onDayClick: u,
2338
+ onDayClick: m,
2328
2339
  selectedDays: k,
2329
- modifiers: S,
2330
- initialMonth: _ && qe(_, 1),
2340
+ modifiers: N,
2341
+ initialMonth: _ && je(_, 1),
2331
2342
  toMonth: _,
2332
2343
  disabledDays: C,
2333
- onDayMouseEnter: m,
2344
+ onDayMouseEnter: i,
2334
2345
  onMonthChange: g
2335
2346
  },
2336
2347
  selectedOption: $
@@ -2361,9 +2372,9 @@ const Ea = {
2361
2372
  "children",
2362
2373
  "className"
2363
2374
  ]);
2364
- const l = b(Ea[$a], a);
2365
- return /* @__PURE__ */ e.createElement(P, A(E({ as: "span", size: "sm" }, r), { className: l }), /* @__PURE__ */ e.createElement(
2366
- T,
2375
+ const l = f(Ea[$a], a);
2376
+ return /* @__PURE__ */ e.createElement(P, A(w({ as: "span", size: "sm" }, r), { className: l }), /* @__PURE__ */ e.createElement(
2377
+ D,
2367
2378
  {
2368
2379
  source: ea,
2369
2380
  className: Ea[`${$a}__icon`],
@@ -2374,7 +2385,7 @@ const Ea = {
2374
2385
  "field-group": "lc-FieldGroup-module__field-group___gy8lp",
2375
2386
  "field-group--inline": "lc-FieldGroup-module__field-group--inline___or4qf",
2376
2387
  "field-group--stretched": "lc-FieldGroup-module__field-group--stretched___6rkuO"
2377
- }, Wt = "field-group", Sl = (n) => {
2388
+ }, Wt = "field-group", xl = (n) => {
2378
2389
  var s = n, {
2379
2390
  className: t = "",
2380
2391
  children: a,
@@ -2390,18 +2401,18 @@ const Ea = {
2390
2401
  "inline",
2391
2402
  "stretch"
2392
2403
  ]);
2393
- const d = b(Ut[Wt], t, {
2404
+ const d = f(Ut[Wt], t, {
2394
2405
  [Ut[`${Wt}--inline`]]: _,
2395
2406
  [Ut[`${Wt}--stretched`]]: l
2396
2407
  });
2397
- return /* @__PURE__ */ e.createElement("div", A(E({}, c), { className: d }), a, o && /* @__PURE__ */ e.createElement(oa, null, o), r && /* @__PURE__ */ e.createElement(Rt, null, r));
2408
+ return /* @__PURE__ */ e.createElement("div", A(w({}, c), { className: d }), a, o && /* @__PURE__ */ e.createElement(oa, null, o), r && /* @__PURE__ */ e.createElement(Rt, null, r));
2398
2409
  }, O_ = "lc-Form-module__form___1nOYF", z_ = "lc-Form-module__form__header___U4B7t", H_ = "lc-Form-module__form__footer___1-sUX", G_ = "lc-Form-module__form__label___spg-J", U_ = "lc-Form-module__form__helper___bhfwS", lt = {
2399
2410
  form: O_,
2400
2411
  form__header: z_,
2401
2412
  form__footer: H_,
2402
2413
  form__label: G_,
2403
2414
  form__helper: U_
2404
- }, ct = "form", Tl = (c) => {
2415
+ }, ct = "form", Sl = (c) => {
2405
2416
  var n = c, {
2406
2417
  className: t,
2407
2418
  children: a,
@@ -2415,7 +2426,7 @@ const Ea = {
2415
2426
  "helperText",
2416
2427
  "formFooter"
2417
2428
  ]);
2418
- return /* @__PURE__ */ e.createElement("form", E({ className: b(lt[ct], t) }, l), (r || o) && /* @__PURE__ */ e.createElement("div", { className: lt[`${ct}__header`] }, r && /* @__PURE__ */ e.createElement(Je, { size: "sm", className: lt[`${ct}__label`] }, r), o && /* @__PURE__ */ e.createElement(P, { as: "p", size: "sm", className: lt[`${ct}__helper`] }, o)), a, _ && /* @__PURE__ */ e.createElement("div", { className: lt[`${ct}__footer`] }, _));
2429
+ return /* @__PURE__ */ e.createElement("form", w({ className: f(lt[ct], t) }, l), (r || o) && /* @__PURE__ */ e.createElement("div", { className: lt[`${ct}__header`] }, r && /* @__PURE__ */ e.createElement(Ke, { size: "sm", className: lt[`${ct}__label`] }, r), o && /* @__PURE__ */ e.createElement(P, { as: "p", size: "sm", className: lt[`${ct}__helper`] }, o)), a, _ && /* @__PURE__ */ e.createElement("div", { className: lt[`${ct}__footer`] }, _));
2419
2430
  }, z = {
2420
2431
  "form-field": "lc-FormField-module__form-field___JqnX6",
2421
2432
  "form-field--inline": "lc-FormField-module__form-field--inline___4DgIq",
@@ -2433,7 +2444,7 @@ const Ea = {
2433
2444
  "form-field__row-break": "lc-FormField-module__form-field__row-break___DCBjC",
2434
2445
  "form-field__content": "lc-FormField-module__form-field__content___XaOx3",
2435
2446
  "form-field__content__description": "lc-FormField-module__form-field__content__description___NpVw4"
2436
- }, H = "form-field", Dl = ({
2447
+ }, H = "form-field", Tl = ({
2437
2448
  inline: t,
2438
2449
  error: a,
2439
2450
  description: r,
@@ -2444,7 +2455,7 @@ const Ea = {
2444
2455
  children: n,
2445
2456
  labelRightNode: s
2446
2457
  }) => {
2447
- const d = e.useRef(null), [m, u] = e.useState("auto"), i = b(
2458
+ const d = e.useRef(null), [i, m] = e.useState("auto"), u = f(
2448
2459
  z[H],
2449
2460
  {
2450
2461
  [z[`${H}--inline`]]: t
@@ -2453,11 +2464,11 @@ const Ea = {
2453
2464
  );
2454
2465
  return e.useEffect(() => {
2455
2466
  const g = d;
2456
- return t && g.current ? u(`${g.current.clientHeight}px`) : u("auto");
2457
- }), /* @__PURE__ */ e.createElement("div", { className: i }, s && t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
2467
+ return t && g.current ? m(`${g.current.clientHeight}px`) : m("auto");
2468
+ }), /* @__PURE__ */ e.createElement("div", { className: u }, s && t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
2458
2469
  "div",
2459
2470
  {
2460
- className: b(
2471
+ className: f(
2461
2472
  z[`${H}__label-right-node`],
2462
2473
  z[`${H}__label-right-node--inline`]
2463
2474
  )
@@ -2466,7 +2477,7 @@ const Ea = {
2466
2477
  ), /* @__PURE__ */ e.createElement("div", { className: z[`${H}__row-break`] })), /* @__PURE__ */ e.createElement(
2467
2478
  "div",
2468
2479
  {
2469
- className: b(
2480
+ className: f(
2470
2481
  z[`${H}__wrapper`],
2471
2482
  t && z[`${H}__wrapper--inline`]
2472
2483
  )
@@ -2474,7 +2485,7 @@ const Ea = {
2474
2485
  (o || s) && /* @__PURE__ */ e.createElement(
2475
2486
  "div",
2476
2487
  {
2477
- className: b(
2488
+ className: f(
2478
2489
  z[`${H}__label`],
2479
2490
  t && z[`${H}__label--inline`],
2480
2491
  !o && z[`${H}__label--no-text`]
@@ -2483,12 +2494,12 @@ const Ea = {
2483
2494
  o && /* @__PURE__ */ e.createElement(
2484
2495
  "div",
2485
2496
  {
2486
- className: b(
2497
+ className: f(
2487
2498
  z[`${H}__label-wrapper`],
2488
2499
  t && z[`${H}__label-wrapper--inline`]
2489
2500
  ),
2490
2501
  style: {
2491
- height: m
2502
+ height: i
2492
2503
  }
2493
2504
  },
2494
2505
  /* @__PURE__ */ e.createElement(
@@ -2502,7 +2513,7 @@ const Ea = {
2502
2513
  _ && /* @__PURE__ */ e.createElement(
2503
2514
  "div",
2504
2515
  {
2505
- className: b(
2516
+ className: f(
2506
2517
  z[`${H}__label-adornment`],
2507
2518
  t && z[`${H}__label-adornment--inline`]
2508
2519
  )
@@ -2510,12 +2521,12 @@ const Ea = {
2510
2521
  _
2511
2522
  )
2512
2523
  ),
2513
- s && !t && /* @__PURE__ */ e.createElement("div", { className: b(z[`${H}__label-right-node`]) }, s)
2524
+ s && !t && /* @__PURE__ */ e.createElement("div", { className: f(z[`${H}__label-right-node`]) }, s)
2514
2525
  ),
2515
- /* @__PURE__ */ e.createElement("div", { className: b(z[`${H}__content`]) }, /* @__PURE__ */ e.createElement("div", { ref: d }, n), a && /* @__PURE__ */ e.createElement(oa, null, a), !a && r && /* @__PURE__ */ e.createElement(
2526
+ /* @__PURE__ */ e.createElement("div", { className: f(z[`${H}__content`]) }, /* @__PURE__ */ e.createElement("div", { ref: d }, n), a && /* @__PURE__ */ e.createElement(oa, null, a), !a && r && /* @__PURE__ */ e.createElement(
2516
2527
  Rt,
2517
2528
  {
2518
- className: b(z[`${H}__content__description`])
2529
+ className: f(z[`${H}__content__description`])
2519
2530
  },
2520
2531
  r
2521
2532
  ))
@@ -2525,7 +2536,7 @@ const Ea = {
2525
2536
  "form-group__header": "lc-FormGroup-module__form-group__header___DgGmR",
2526
2537
  "form-group__label": "lc-FormGroup-module__form-group__label___NC-JW",
2527
2538
  "form-group__helper": "lc-FormGroup-module__form-group__helper___SRuxe"
2528
- }, xt = "form-group", Il = (l) => {
2539
+ }, xt = "form-group", Dl = (l) => {
2529
2540
  var c = l, {
2530
2541
  className: t = "",
2531
2542
  children: a,
@@ -2537,15 +2548,15 @@ const Ea = {
2537
2548
  "labelText",
2538
2549
  "helperText"
2539
2550
  ]);
2540
- const n = b(Nt[xt], t);
2551
+ const n = f(Nt[xt], t);
2541
2552
  return /* @__PURE__ */ e.createElement(
2542
2553
  "div",
2543
- A(E(A(E({}, _), {
2554
+ A(w(A(w({}, _), {
2544
2555
  role: "group"
2545
2556
  }), r && { "aria-label": r }), {
2546
2557
  className: n
2547
2558
  }),
2548
- /* @__PURE__ */ e.createElement("div", { className: Nt[`${xt}__header`] }, /* @__PURE__ */ e.createElement(Je, { as: "div", size: "sm", className: Nt[`${xt}__label`] }, r), o && /* @__PURE__ */ e.createElement(P, { as: "div", size: "sm", className: Nt[`${xt}__helper`] }, o)),
2559
+ /* @__PURE__ */ e.createElement("div", { className: Nt[`${xt}__header`] }, /* @__PURE__ */ e.createElement(Ke, { as: "div", size: "sm", className: Nt[`${xt}__label`] }, r), o && /* @__PURE__ */ e.createElement(P, { as: "div", size: "sm", className: Nt[`${xt}__helper`] }, o)),
2549
2560
  a
2550
2561
  );
2551
2562
  }, W_ = "lc-Input-module__input___qeMAQ", ke = {
@@ -2564,14 +2575,14 @@ const Ea = {
2564
2575
  "input__visibility-button": "lc-Input-module__input__visibility-button___eWrVe"
2565
2576
  }, ye = "input", wa = (t, a) => e.cloneElement(t.source, {
2566
2577
  "data-testid": `input-icon-${t.place}`,
2567
- className: b(
2578
+ className: f(
2568
2579
  ke[`${ye}__icon`],
2569
2580
  ke[`${ye}__icon--${t.place}`],
2570
2581
  {
2571
2582
  [ke[`${ye}__icon--disabled`]]: a
2572
2583
  }
2573
2584
  )
2574
- }), Al = e.forwardRef(
2585
+ }), Il = e.forwardRef(
2575
2586
  (s, n) => {
2576
2587
  var d = s, {
2577
2588
  inputSize: t = "medium",
@@ -2588,37 +2599,37 @@ const Ea = {
2588
2599
  "className",
2589
2600
  "cropOnBlur"
2590
2601
  ]);
2591
- const [m, u] = e.useState(!1), [i, g] = e.useState(!1), { type: h, onFocus: v, onBlur: p } = c, y = b(
2602
+ const [i, m] = e.useState(!1), [u, g] = e.useState(!1), { type: v, onFocus: b, onBlur: p } = c, y = f(
2592
2603
  _,
2593
2604
  ke[ye],
2594
2605
  ke[`${ye}--${t}`],
2595
2606
  {
2596
2607
  [ke[`${ye}--disabled`]]: r,
2597
- [ke[`${ye}--focused`]]: m,
2608
+ [ke[`${ye}--focused`]]: i,
2598
2609
  [ke[`${ye}--error`]]: a,
2599
2610
  [ke[`${ye}--crop`]]: l
2600
2611
  }
2601
- ), f = r ? "var(--content-disabled)" : "var(--content-default)", w = i ? or : lr, S = o && o.place === "left", $ = o && h !== "password" && o.place === "right";
2602
- return /* @__PURE__ */ e.createElement("div", { className: y, "aria-disabled": r, "tab-index": "0" }, S && wa(o, r), /* @__PURE__ */ e.createElement(
2612
+ ), h = r ? "var(--content-disabled)" : "var(--content-default)", E = u ? or : lr, N = o && o.place === "left", $ = o && v !== "password" && o.place === "right";
2613
+ return /* @__PURE__ */ e.createElement("div", { className: y, "aria-disabled": r, "tab-index": "0" }, N && wa(o, r), /* @__PURE__ */ e.createElement(
2603
2614
  "input",
2604
- A(E({}, c), {
2615
+ A(w({}, c), {
2605
2616
  ref: n,
2606
2617
  onFocus: (k) => {
2607
- u(!0), v == null || v(k);
2618
+ m(!0), b == null || b(k);
2608
2619
  },
2609
2620
  onBlur: (k) => {
2610
- u(!1), p == null || p(k);
2621
+ m(!1), p == null || p(k);
2611
2622
  },
2612
2623
  disabled: r,
2613
- type: h && !i ? h : "text"
2624
+ type: v && !u ? v : "text"
2614
2625
  })
2615
- ), $ && wa(o, r), h === "password" && /* @__PURE__ */ e.createElement(
2616
- R,
2626
+ ), $ && wa(o, r), v === "password" && /* @__PURE__ */ e.createElement(
2627
+ M,
2617
2628
  {
2618
2629
  disabled: r,
2619
2630
  kind: "text",
2620
2631
  size: "compact",
2621
- icon: /* @__PURE__ */ e.createElement(T, { customColor: f, source: w }),
2632
+ icon: /* @__PURE__ */ e.createElement(D, { customColor: h, source: E }),
2622
2633
  onClick: () => g((k) => !k),
2623
2634
  className: ke[`${ye}__visibility-button`]
2624
2635
  }
@@ -2627,7 +2638,7 @@ const Ea = {
2627
2638
  ), V_ = "lc-Link-module__link___kqx52", Ca = {
2628
2639
  link: V_,
2629
2640
  "link--bold": "lc-Link-module__link--bold___1rGdO"
2630
- }, Na = "link", Bl = (o) => {
2641
+ }, Na = "link", Al = (o) => {
2631
2642
  var _ = o, {
2632
2643
  bold: t = !1,
2633
2644
  className: a = ""
@@ -2637,8 +2648,8 @@ const Ea = {
2637
2648
  ]);
2638
2649
  return /* @__PURE__ */ e.createElement(
2639
2650
  "a",
2640
- E({
2641
- className: b(
2651
+ w({
2652
+ className: f(
2642
2653
  Ca[Na],
2643
2654
  t && Ca[`${Na}--bold`],
2644
2655
  a
@@ -2674,7 +2685,7 @@ const Ea = {
2674
2685
  "closeOnOverlayPress",
2675
2686
  "fullSpaceContent"
2676
2687
  ]);
2677
- const d = b(
2688
+ const d = f(
2678
2689
  X[St],
2679
2690
  a,
2680
2691
  l && X[`${St}--full-space`]
@@ -2682,27 +2693,27 @@ const Ea = {
2682
2693
  e.useEffect(() => {
2683
2694
  if (!o)
2684
2695
  return;
2685
- const u = (i) => {
2686
- i.key === L.esc && r();
2696
+ const m = (u) => {
2697
+ u.key === L.esc && r();
2687
2698
  };
2688
- return document.addEventListener("keyup", u, !0), () => document.removeEventListener("keyup", u, !0);
2699
+ return document.addEventListener("keyup", m, !0), () => document.removeEventListener("keyup", m, !0);
2689
2700
  }, [o]);
2690
- const m = (u) => {
2691
- _ && u.target === u.currentTarget && r();
2701
+ const i = (m) => {
2702
+ _ && m.target === m.currentTarget && r();
2692
2703
  };
2693
2704
  return /* @__PURE__ */ e.createElement(
2694
2705
  "div",
2695
2706
  {
2696
2707
  "data-testid": "lc-modal-overlay",
2697
- onMouseDown: m,
2698
- className: b(
2708
+ onMouseDown: i,
2709
+ className: f(
2699
2710
  X[`${St}__overlay`],
2700
2711
  X[`${St}__overlay--visible`]
2701
2712
  )
2702
2713
  },
2703
2714
  /* @__PURE__ */ e.createElement(
2704
2715
  "div",
2705
- E({
2716
+ w({
2706
2717
  role: "dialog",
2707
2718
  "aria-modal": !0,
2708
2719
  className: d
@@ -2715,47 +2726,49 @@ const Ea = {
2715
2726
  customColor: a,
2716
2727
  onClick: r
2717
2728
  }) => /* @__PURE__ */ e.createElement(
2718
- R,
2729
+ M,
2719
2730
  {
2720
2731
  kind: "plain",
2721
2732
  title: "Close modal",
2722
- className: b(
2733
+ className: f(
2723
2734
  X["modal-base__close"],
2724
2735
  t && X["modal-base__close--label-type"]
2725
2736
  ),
2726
2737
  onClick: r,
2727
- icon: /* @__PURE__ */ e.createElement(T, { source: xe, size: "medium", customColor: a })
2738
+ icon: /* @__PURE__ */ e.createElement(D, { source: xe, size: "medium", customColor: a })
2728
2739
  }
2729
- ), Te = "modal", Pl = (s) => {
2730
- var d = s, {
2740
+ ), Te = "modal", Bl = (d) => {
2741
+ var i = d, {
2731
2742
  children: t,
2732
2743
  className: a = "",
2733
2744
  heading: r,
2734
2745
  labelHeading: o,
2735
2746
  fullSpaceContent: _,
2736
2747
  footer: l,
2737
- onClose: c
2738
- } = d, n = B(d, [
2748
+ onClose: c,
2749
+ contentClassName: n
2750
+ } = i, s = B(i, [
2739
2751
  "children",
2740
2752
  "className",
2741
2753
  "heading",
2742
2754
  "labelHeading",
2743
2755
  "fullSpaceContent",
2744
2756
  "footer",
2745
- "onClose"
2757
+ "onClose",
2758
+ "contentClassName"
2746
2759
  ]);
2747
- const m = b(X[Te], a), u = typeof t == "string", i = (g) => {
2748
- g.preventDefault(), g.stopPropagation(), c();
2760
+ const m = f(X[Te], a), u = typeof t == "string", g = (v) => {
2761
+ v.preventDefault(), v.stopPropagation(), c();
2749
2762
  };
2750
2763
  return /* @__PURE__ */ e.createElement(
2751
2764
  K_,
2752
- E({
2765
+ w({
2753
2766
  className: m,
2754
2767
  fullSpaceContent: _,
2755
2768
  onClose: c
2756
- }, n),
2769
+ }, s),
2757
2770
  o && /* @__PURE__ */ e.createElement("div", { className: X[`${Te}__label-header`] }, /* @__PURE__ */ e.createElement(
2758
- Je,
2771
+ Ke,
2759
2772
  {
2760
2773
  size: "md",
2761
2774
  as: "div",
@@ -2767,32 +2780,33 @@ const Ea = {
2767
2780
  {
2768
2781
  labelType: !!o,
2769
2782
  customColor: "var(--color-white)",
2770
- onClick: i
2783
+ onClick: g
2771
2784
  }
2772
2785
  )),
2773
2786
  !o && r && /* @__PURE__ */ e.createElement("div", { className: X[`${Te}__header`] }, /* @__PURE__ */ e.createElement(
2774
- Je,
2787
+ Ke,
2775
2788
  {
2776
2789
  size: "md",
2777
2790
  as: "div",
2778
2791
  className: X[`${Te}__heading`]
2779
2792
  },
2780
2793
  r
2781
- ), /* @__PURE__ */ e.createElement(xa, { onClick: i })),
2794
+ ), /* @__PURE__ */ e.createElement(xa, { onClick: g })),
2782
2795
  /* @__PURE__ */ e.createElement(
2783
2796
  "div",
2784
2797
  {
2785
2798
  "data-testid": "modal-body",
2786
- className: b(
2799
+ className: f(
2787
2800
  X[`${Te}__body`],
2788
- _ && X[`${Te}__body--full-space`]
2801
+ _ && X[`${Te}__body--full-space`],
2802
+ n
2789
2803
  )
2790
2804
  },
2791
2805
  u ? /* @__PURE__ */ e.createElement(P, { as: "div" }, t) : t
2792
2806
  ),
2793
2807
  l && /* @__PURE__ */ e.createElement("div", { className: X[`${Te}__footer`] }, l)
2794
2808
  );
2795
- }, Fl = ({
2809
+ }, Pl = ({
2796
2810
  children: t,
2797
2811
  className: a = "",
2798
2812
  parentElementName: r = "body",
@@ -2807,20 +2821,20 @@ const Ea = {
2807
2821
  };
2808
2822
  }, [r]), /* @__PURE__ */ e.createElement(e.Fragment, null, vr.createPortal(t, _));
2809
2823
  }, nt = {
2810
- "modal-header": "lc-ModalHeader-module__modal-header___fOD4G",
2811
- "modal-header__heading-icon": "lc-ModalHeader-module__modal-header__heading-icon___4fqU4",
2812
- "modal-header__heading-body": "lc-ModalHeader-module__modal-header__heading-body___roEgx",
2813
- "modal-header__heading-title": "lc-ModalHeader-module__modal-header__heading-title___eq3vH",
2814
- "modal-header__heading-description": "lc-ModalHeader-module__modal-header__heading-description___GnVpE"
2815
- }, st = "modal-header", Rl = ({
2824
+ "modal-header": "lc-ModalHeader-module__modal-header___xk3bd",
2825
+ "modal-header__heading-icon": "lc-ModalHeader-module__modal-header__heading-icon___6actl",
2826
+ "modal-header__heading-body": "lc-ModalHeader-module__modal-header__heading-body___HHEF-",
2827
+ "modal-header__heading-title": "lc-ModalHeader-module__modal-header__heading-title___2R9pm",
2828
+ "modal-header__heading-description": "lc-ModalHeader-module__modal-header__heading-description___54Xvf"
2829
+ }, st = "modal-header", Fl = ({
2816
2830
  title: t,
2817
2831
  iconProps: a,
2818
2832
  children: r,
2819
2833
  className: o = ""
2820
2834
  }) => {
2821
2835
  const _ = ur(nt[st], o);
2822
- return /* @__PURE__ */ e.createElement("div", { className: _ }, a && /* @__PURE__ */ e.createElement(T, E({ className: nt[`${st}__heading-icon`] }, a)), /* @__PURE__ */ e.createElement("div", { className: nt[`${st}__heading-body`] }, /* @__PURE__ */ e.createElement(
2823
- Je,
2836
+ return /* @__PURE__ */ e.createElement("div", { className: _ }, a && /* @__PURE__ */ e.createElement(D, w({ className: nt[`${st}__heading-icon`] }, a)), /* @__PURE__ */ e.createElement("div", { className: nt[`${st}__heading-body`] }, /* @__PURE__ */ e.createElement(
2837
+ Ke,
2824
2838
  {
2825
2839
  as: "div",
2826
2840
  size: "md",
@@ -2835,15 +2849,15 @@ const Ea = {
2835
2849
  },
2836
2850
  r
2837
2851
  )));
2838
- }, He = {
2852
+ }, Ue = {
2839
2853
  "numeric-input": "lc-NumericInput-module__numeric-input___j1esc",
2840
2854
  "numeric-input__increment": "lc-NumericInput-module__numeric-input__increment___i3Tys",
2841
2855
  "numeric-input__decrement": "lc-NumericInput-module__numeric-input__decrement___3qgn0",
2842
2856
  "numeric-input--disabled": "lc-NumericInput-module__numeric-input--disabled___yaRvQ",
2843
2857
  "numeric-input--no-controls": "lc-NumericInput-module__numeric-input--no-controls___D90rG",
2844
2858
  "numeric-input--error": "lc-NumericInput-module__numeric-input--error___TMxRx"
2845
- }, Ge = "numeric-input", Ml = (m) => {
2846
- var u = m, {
2859
+ }, We = "numeric-input", Rl = (i) => {
2860
+ var m = i, {
2847
2861
  className: t,
2848
2862
  error: a,
2849
2863
  value: r,
@@ -2853,7 +2867,7 @@ const Ea = {
2853
2867
  noControls: c,
2854
2868
  style: n,
2855
2869
  onChange: s
2856
- } = u, d = B(u, [
2870
+ } = m, d = B(m, [
2857
2871
  "className",
2858
2872
  "error",
2859
2873
  "value",
@@ -2864,45 +2878,45 @@ const Ea = {
2864
2878
  "style",
2865
2879
  "onChange"
2866
2880
  ]);
2867
- const i = e.useRef(null), g = b(
2868
- He[Ge],
2881
+ const u = e.useRef(null), g = f(
2882
+ Ue[We],
2869
2883
  {
2870
- [He[`${Ge}--error`]]: a,
2871
- [He[`${Ge}--no-controls`]]: c,
2872
- [He[`${Ge}--disabled`]]: l
2884
+ [Ue[`${We}--error`]]: a,
2885
+ [Ue[`${We}--no-controls`]]: c,
2886
+ [Ue[`${We}--disabled`]]: l
2873
2887
  },
2874
2888
  t
2875
- ), h = (k) => s(String(k)), v = (k) => o !== void 0 && k > o ? o : _ !== void 0 && k < _ ? _ : k, p = (k) => {
2889
+ ), v = (k) => s(String(k)), b = (k) => o !== void 0 && k > o ? o : _ !== void 0 && k < _ ? _ : k, p = (k) => {
2876
2890
  const C = parseInt(r, 10) + k;
2877
- return h(v(C));
2891
+ return v(b(C));
2878
2892
  }, y = (k) => {
2879
2893
  k.key === L.arrowDown && (k.preventDefault(), p(-1)), k.key === L.arrowUp && (k.preventDefault(), p(1));
2880
- }, f = (k, C) => C !== void 0 && parseInt(k, 10) === C, w = (k) => {
2894
+ }, h = (k, C) => C !== void 0 && parseInt(k, 10) === C, E = (k) => {
2881
2895
  k.preventDefault(), k.stopPropagation();
2882
2896
  const C = k.currentTarget.value.replace(
2883
2897
  /((?!([-]|([-]?\d+))).)/,
2884
2898
  ""
2885
2899
  );
2886
2900
  if (C === "" || C === "-")
2887
- return h(C);
2888
- const x = parseInt(C, 10);
2889
- return h(v(x));
2890
- }, S = () => {
2901
+ return v(C);
2902
+ const S = parseInt(C, 10);
2903
+ return v(b(S));
2904
+ }, N = () => {
2891
2905
  var k;
2892
- return (k = i.current) == null || k.focus(), p(1);
2906
+ return (k = u.current) == null || k.focus(), p(1);
2893
2907
  }, $ = () => {
2894
2908
  var k;
2895
- return (k = i.current) == null || k.focus(), p(-1);
2909
+ return (k = u.current) == null || k.focus(), p(-1);
2896
2910
  };
2897
2911
  return /* @__PURE__ */ e.createElement("div", { className: g, style: n }, /* @__PURE__ */ e.createElement(
2898
2912
  "input",
2899
- A(E({
2913
+ A(w({
2900
2914
  type: "text",
2901
- ref: i
2915
+ ref: u
2902
2916
  }, d), {
2903
2917
  value: r,
2904
2918
  disabled: l,
2905
- onChange: w,
2919
+ onChange: E,
2906
2920
  onKeyDown: y,
2907
2921
  min: _,
2908
2922
  max: o
@@ -2911,17 +2925,17 @@ const Ea = {
2911
2925
  "button",
2912
2926
  {
2913
2927
  tabIndex: -1,
2914
- disabled: l || f(r, o),
2915
- onClick: S,
2928
+ disabled: l || h(r, o),
2929
+ onClick: N,
2916
2930
  "aria-label": "Increment value",
2917
- className: He[`${Ge}__increment`],
2931
+ className: Ue[`${We}__increment`],
2918
2932
  type: "button"
2919
2933
  },
2920
2934
  /* @__PURE__ */ e.createElement(
2921
- T,
2935
+ D,
2922
2936
  {
2923
2937
  source: Ft,
2924
- disabled: l || f(r, o),
2938
+ disabled: l || h(r, o),
2925
2939
  kind: "primary"
2926
2940
  }
2927
2941
  )
@@ -2929,31 +2943,31 @@ const Ea = {
2929
2943
  "button",
2930
2944
  {
2931
2945
  tabIndex: -1,
2932
- disabled: l || f(r, _),
2946
+ disabled: l || h(r, _),
2933
2947
  "aria-label": "Decrement value",
2934
- className: He[`${Ge}__decrement`],
2948
+ className: Ue[`${We}__decrement`],
2935
2949
  onClick: $,
2936
2950
  type: "button"
2937
2951
  },
2938
2952
  /* @__PURE__ */ e.createElement(
2939
- T,
2953
+ D,
2940
2954
  {
2941
2955
  source: ft,
2942
2956
  kind: "primary",
2943
- disabled: l || f(r, _)
2957
+ disabled: l || h(r, _)
2944
2958
  }
2945
2959
  )
2946
2960
  )));
2947
- }, Ve = "select-all";
2961
+ }, qe = "select-all";
2948
2962
  function Z_(t, a) {
2949
2963
  const r = {};
2950
2964
  if (a && a.length > 1) {
2951
2965
  const o = t.map((_) => _.key).filter((_) => a.includes(_));
2952
2966
  for (let _ = 0; _ < o.length; _++) {
2953
2967
  const l = o[_], c = o[_ + 1], n = o[_ - 1], s = c && Math.abs(
2954
- t.findIndex((m) => m.key === c) - t.findIndex((m) => m.key === l)
2968
+ t.findIndex((i) => i.key === c) - t.findIndex((i) => i.key === l)
2955
2969
  ) === 1, d = n && Math.abs(
2956
- t.findIndex((m) => m.key === n) - t.findIndex((m) => m.key === l)
2970
+ t.findIndex((i) => i.key === n) - t.findIndex((i) => i.key === l)
2957
2971
  ) === 1;
2958
2972
  s && d ? r[l] = "middle" : s ? r[l] = "top" : d && (r[l] = "bottom");
2959
2973
  }
@@ -2975,43 +2989,43 @@ const U = {
2975
2989
  "picker-list__item__label-container": "lc-PickerList-module__picker-list__item__label-container___yZXW5",
2976
2990
  "picker-list__item__main-label": "lc-PickerList-module__picker-list__item__main-label___uRgQw",
2977
2991
  "picker-list__item__secondary-label": "lc-PickerList-module__picker-list__item__secondary-label___lpkFW"
2978
- }, ne = "picker-list__item", Q_ = ({
2992
+ }, le = "picker-list__item", Q_ = ({
2979
2993
  item: t,
2980
2994
  isItemSelected: a,
2981
2995
  currentItemKey: r,
2982
2996
  isAdjacentStyleApplied: o,
2983
2997
  onSelect: _
2984
2998
  }) => {
2985
- const l = (n) => n != null && n.customElement ? /* @__PURE__ */ e.createElement("div", { className: U[`${ne}__custom`] }, n.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, n.showCheckbox && /* @__PURE__ */ e.createElement(
2999
+ const l = (n) => n != null && n.customElement ? /* @__PURE__ */ e.createElement("div", { className: U[`${le}__custom`] }, n.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, n.showCheckbox && /* @__PURE__ */ e.createElement(
2986
3000
  "input",
2987
3001
  {
2988
3002
  type: "checkbox",
2989
- className: U[`${ne}__checkbox`],
3003
+ className: U[`${le}__checkbox`],
2990
3004
  checked: a
2991
3005
  }
2992
3006
  ), n.icon && /* @__PURE__ */ e.createElement(
2993
- T,
3007
+ D,
2994
3008
  {
2995
- className: U[`${ne}__icon`],
3009
+ className: U[`${le}__icon`],
2996
3010
  kind: "link",
2997
3011
  source: n.icon
2998
3012
  }
2999
3013
  ), n.avatarSrc && /* @__PURE__ */ e.createElement(
3000
3014
  "img",
3001
3015
  {
3002
- className: b(U[`${ne}__avatar`]),
3016
+ className: f(U[`${le}__avatar`]),
3003
3017
  src: n.avatarSrc,
3004
3018
  alt: n.name
3005
3019
  }
3006
- ), /* @__PURE__ */ e.createElement("div", { className: U[`${ne}__label-container`] }, /* @__PURE__ */ e.createElement(
3020
+ ), /* @__PURE__ */ e.createElement("div", { className: U[`${le}__label-container`] }, /* @__PURE__ */ e.createElement(
3007
3021
  "span",
3008
3022
  {
3009
- className: b({
3010
- [U[`${ne}__main-label`]]: n.secondaryText
3023
+ className: f({
3024
+ [U[`${le}__main-label`]]: n.secondaryText
3011
3025
  })
3012
3026
  },
3013
3027
  n.name
3014
- ), n.secondaryText && /* @__PURE__ */ e.createElement("span", { className: U[`${ne}__secondary-label`] }, n.secondaryText))), c = (n) => {
3028
+ ), n.secondaryText && /* @__PURE__ */ e.createElement("span", { className: U[`${le}__secondary-label`] }, n.secondaryText))), c = (n) => {
3015
3029
  !n.disabled && _(n);
3016
3030
  };
3017
3031
  return t.groupHeader ? /* @__PURE__ */ e.createElement(
@@ -3019,7 +3033,7 @@ const U = {
3019
3033
  {
3020
3034
  role: "option",
3021
3035
  key: t.key,
3022
- className: U[`${ne}__header`]
3036
+ className: U[`${le}__header`]
3023
3037
  },
3024
3038
  t.name
3025
3039
  ) : /* @__PURE__ */ e.createElement(
@@ -3036,14 +3050,14 @@ const U = {
3036
3050
  id: t.key,
3037
3051
  key: t.key,
3038
3052
  "data-adjacent": o,
3039
- className: b(U[ne], {
3040
- [U[`${ne}__custom`]]: t == null ? void 0 : t.customElement
3053
+ className: f(U[le], {
3054
+ [U[`${le}__custom`]]: t == null ? void 0 : t.customElement
3041
3055
  }),
3042
3056
  onClick: () => c(t)
3043
3057
  },
3044
- /* @__PURE__ */ e.createElement("div", { className: U[`${ne}__content`] }, l(t)),
3058
+ /* @__PURE__ */ e.createElement("div", { className: U[`${le}__content`] }, l(t)),
3045
3059
  a && !t.showCheckbox && /* @__PURE__ */ e.createElement(
3046
- T,
3060
+ D,
3047
3061
  {
3048
3062
  kind: "link",
3049
3063
  source: ta,
@@ -3062,49 +3076,49 @@ const U = {
3062
3076
  onSelect: n,
3063
3077
  onSelectAll: s
3064
3078
  }) => {
3065
- const d = b(U[Qt], {
3079
+ const d = f(U[Qt], {
3066
3080
  [U[`${Qt}__no-results`]]: a.length === 0
3067
- }), [m, u] = e.useState(
3081
+ }), [i, m] = e.useState(
3068
3082
  null
3069
- ), i = e.useRef(-1), g = e.useRef(0), h = e.useRef(null), [v, p] = e.useState({}), y = (x) => {
3070
- if (x.key === L.esc && (x.preventDefault(), c()), x.key === L.arrowUp && i.current > 0 && (x.preventDefault(), i.current = w(), u(a[i.current].key)), x.key === L.arrowDown && i.current + 1 < a.length && (x.preventDefault(), i.current = S(), u(a[i.current].key)), x.key === L.enter && !a[i.current].disabled) {
3071
- if (x.preventDefault(), a[i.current].key === Ve)
3083
+ ), u = e.useRef(-1), g = e.useRef(0), v = e.useRef(null), [b, p] = e.useState({}), y = (S) => {
3084
+ if (S.key === L.esc && (S.preventDefault(), c()), S.key === L.arrowUp && u.current > 0 && (S.preventDefault(), u.current = E(), m(a[u.current].key)), S.key === L.arrowDown && u.current + 1 < a.length && (S.preventDefault(), u.current = N(), m(a[u.current].key)), S.key === L.enter && !a[u.current].disabled) {
3085
+ if (S.preventDefault(), a[u.current].key === qe)
3072
3086
  return s();
3073
- n(a[i.current]);
3087
+ n(a[u.current]);
3074
3088
  }
3075
3089
  };
3076
3090
  e.useEffect(() => {
3077
- if (i.current > -1 && a.length > 0 && a[i.current] && u(a[i.current].key), t)
3091
+ if (u.current > -1 && a.length > 0 && a[u.current] && m(a[u.current].key), t)
3078
3092
  return document.addEventListener("keydown", y), () => document.removeEventListener("keydown", y);
3079
- i.current = -1, g.current = 0, u(null);
3093
+ u.current = -1, g.current = 0, m(null);
3080
3094
  }, [a, t, y]), e.useEffect(() => {
3081
3095
  p(Z_(a, r));
3082
3096
  }, [r, a]);
3083
- const f = (x) => !!a[x] && (a[x].disabled || a[x].groupHeader), w = () => {
3084
- for (i.current = i.current - 1; f(i.current) && (i.current = i.current - 1, !!f(i.current)); )
3097
+ const h = (S) => !!a[S] && (a[S].disabled || a[S].groupHeader), E = () => {
3098
+ for (u.current = u.current - 1; h(u.current) && (u.current = u.current - 1, !!h(u.current)); )
3085
3099
  ;
3086
- return g.current = i.current, i.current;
3087
- }, S = () => {
3088
- if (i.current = i.current + 1, !f(i.current))
3089
- return g.current = i.current, i.current;
3090
- for (; f(i.current); ) {
3091
- if (i.current = i.current + 1, i.current === a.length && !f(i.current))
3100
+ return g.current = u.current, u.current;
3101
+ }, N = () => {
3102
+ if (u.current = u.current + 1, !h(u.current))
3103
+ return g.current = u.current, u.current;
3104
+ for (; h(u.current); ) {
3105
+ if (u.current = u.current + 1, u.current === a.length && !h(u.current))
3092
3106
  return g.current;
3093
- if (!f(i.current))
3107
+ if (!h(u.current))
3094
3108
  break;
3095
3109
  }
3096
- return g.current = i.current, i.current;
3097
- }, $ = () => s(), k = (x) => r ? r.includes(x) : !1, C = () => !l || l && !_ ? null : /* @__PURE__ */ e.createElement(
3110
+ return g.current = u.current, u.current;
3111
+ }, $ = () => s(), k = (S) => r ? r.includes(S) : !1, C = () => !l || l && !_ ? null : /* @__PURE__ */ e.createElement(
3098
3112
  "li",
3099
3113
  {
3100
- ref: (x) => {
3101
- m === Ve && (x == null || x.scrollIntoView({ block: "nearest" }));
3114
+ ref: (S) => {
3115
+ i === qe && (S == null || S.scrollIntoView({ block: "nearest" }));
3102
3116
  },
3103
3117
  role: "option",
3104
- "aria-current": m === Ve,
3105
- id: Ve,
3106
- key: Ve,
3107
- className: b(
3118
+ "aria-current": i === qe,
3119
+ id: qe,
3120
+ key: qe,
3121
+ className: f(
3108
3122
  U[Sa],
3109
3123
  U[`${Sa}--select-all`]
3110
3124
  ),
@@ -3115,19 +3129,19 @@ const U = {
3115
3129
  return t ? a.length === 0 ? /* @__PURE__ */ e.createElement("div", { className: U["list-wrapper"] }, /* @__PURE__ */ e.createElement("div", { className: d }, o)) : /* @__PURE__ */ e.createElement("div", { className: U["list-wrapper"] }, /* @__PURE__ */ e.createElement(
3116
3130
  "ul",
3117
3131
  {
3118
- ref: h,
3132
+ ref: v,
3119
3133
  className: d,
3120
3134
  role: "listbox",
3121
3135
  tabIndex: -1
3122
3136
  },
3123
3137
  C(),
3124
- a.map((x) => /* @__PURE__ */ e.createElement(
3138
+ a.map((S) => /* @__PURE__ */ e.createElement(
3125
3139
  Q_,
3126
3140
  {
3127
- item: x,
3128
- isItemSelected: k(x.key),
3129
- isAdjacentStyleApplied: v[x.key],
3130
- currentItemKey: m,
3141
+ item: S,
3142
+ isItemSelected: k(S.key),
3143
+ isAdjacentStyleApplied: b[S.key],
3144
+ currentItemKey: i,
3131
3145
  onSelect: n
3132
3146
  }
3133
3147
  ))
@@ -3160,11 +3174,11 @@ const U = {
3160
3174
  isMultiSelect: n,
3161
3175
  size: s = "medium",
3162
3176
  hideClearButton: d,
3163
- onTrigger: m,
3164
- onClear: u,
3165
- testId: i
3177
+ onTrigger: i,
3178
+ onClear: m,
3179
+ testId: u
3166
3180
  }) => {
3167
- const g = e.useRef(null), h = b(
3181
+ const g = e.useRef(null), v = f(
3168
3182
  K[J],
3169
3183
  K[`${J}--${s}`],
3170
3184
  n && K[`${J}--multi-select`],
@@ -3174,31 +3188,31 @@ const U = {
3174
3188
  o && K[`${J}--error`]
3175
3189
  );
3176
3190
  e.useEffect(() => {
3177
- const f = (w) => {
3178
- document.activeElement === g.current && w.key !== L.tab && m(w);
3191
+ const h = (E) => {
3192
+ document.activeElement === g.current && E.key !== L.tab && i(E);
3179
3193
  };
3180
- return a || document.addEventListener("keydown", f), () => {
3181
- a || document.removeEventListener("keydown", f);
3194
+ return a || document.addEventListener("keydown", h), () => {
3195
+ a || document.removeEventListener("keydown", h);
3182
3196
  };
3183
3197
  }, [a]);
3184
- const v = (f) => {
3185
- m(f);
3186
- }, p = (f) => {
3187
- f.stopPropagation(), u();
3198
+ const b = (h) => {
3199
+ i(h);
3200
+ }, p = (h) => {
3201
+ h.stopPropagation(), m();
3188
3202
  }, y = !d && _ && !r && !c;
3189
3203
  return /* @__PURE__ */ e.createElement(
3190
3204
  "div",
3191
3205
  {
3192
3206
  ref: g,
3193
- className: h,
3194
- onClick: v,
3207
+ className: v,
3208
+ onClick: b,
3195
3209
  tabIndex: 0,
3196
- "data-testid": i
3210
+ "data-testid": u
3197
3211
  },
3198
3212
  /* @__PURE__ */ e.createElement(
3199
3213
  "div",
3200
3214
  {
3201
- className: b(
3215
+ className: f(
3202
3216
  K[`${J}__content`],
3203
3217
  K[`${J}__content--${s}`],
3204
3218
  n && _ && K[`${J}__content--with-items`]
@@ -3209,7 +3223,7 @@ const U = {
3209
3223
  /* @__PURE__ */ e.createElement(
3210
3224
  "div",
3211
3225
  {
3212
- className: b(
3226
+ className: f(
3213
3227
  K[`${J}__controls`],
3214
3228
  K[`${J}__controls--${s}`]
3215
3229
  )
@@ -3221,10 +3235,10 @@ const U = {
3221
3235
  className: K[`${J}__clear-icon`],
3222
3236
  onClick: p
3223
3237
  },
3224
- /* @__PURE__ */ e.createElement(T, { kind: "primary", size: "small", source: xe })
3238
+ /* @__PURE__ */ e.createElement(D, { kind: "primary", size: "small", source: xe })
3225
3239
  ),
3226
3240
  /* @__PURE__ */ e.createElement(
3227
- T,
3241
+ D,
3228
3242
  {
3229
3243
  className: K[`${J}__chevron-icon`],
3230
3244
  source: l ? Ft : ft,
@@ -3234,7 +3248,7 @@ const U = {
3234
3248
  )
3235
3249
  )
3236
3250
  );
3237
- }, to = "lc-Tag-module__tag___1QRVY", ao = "lc-Tag-module__tag__remove___UmtrW", ro = "lc-Tag-module__icon___2Z-35", _o = "lc-Tag-module__tag__icon___tZoQ9", oo = "lc-Tag-module__tag__avatar___U4c-P", lo = "lc-Tag-module__tag__content___q6vKK", _e = {
3251
+ }, to = "lc-Tag-module__tag___1QRVY", ao = "lc-Tag-module__tag__remove___UmtrW", ro = "lc-Tag-module__icon___2Z-35", _o = "lc-Tag-module__tag__node___rZTzB", oo = "lc-Tag-module__tag__content___q6vKK", ce = {
3238
3252
  tag: to,
3239
3253
  "tag--success": "lc-Tag-module__tag--success___P2hXQ",
3240
3254
  tag__remove: ao,
@@ -3250,14 +3264,13 @@ const U = {
3250
3264
  icon: ro,
3251
3265
  "tag--text-white": "lc-Tag-module__tag--text-white___x0fnD",
3252
3266
  "tag--text-black": "lc-Tag-module__tag--text-black___dUvmD",
3253
- "tag--with-icon": "lc-Tag-module__tag--with-icon___ZlkvT",
3267
+ "tag--with-node": "lc-Tag-module__tag--with-node___cFfen",
3254
3268
  "tag--dismissible": "lc-Tag-module__tag--dismissible___Qobyr",
3255
- tag__icon: _o,
3256
- "tag__icon--right": "lc-Tag-module__tag__icon--right___sHbbE",
3257
- tag__avatar: oo,
3258
- tag__content: lo
3259
- }, oe = "tag", co = (t) => t ? ra(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", qa = (g) => {
3260
- var h = g, {
3269
+ tag__node: _o,
3270
+ "tag__node--right": "lc-Tag-module__tag__node--right___pGYuU",
3271
+ tag__content: oo
3272
+ }, ne = "tag", lo = (t) => t ? ra(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", qa = (u) => {
3273
+ var g = u, {
3261
3274
  className: t = "",
3262
3275
  children: a,
3263
3276
  dismissible: r = !1,
@@ -3266,11 +3279,10 @@ const U = {
3266
3279
  kind: l = "default",
3267
3280
  onRemove: c,
3268
3281
  outline: n = !1,
3269
- leftIcon: s,
3270
- rightIcon: d,
3271
- avatar: m,
3272
- customColor: u
3273
- } = h, i = B(h, [
3282
+ leftNode: s,
3283
+ rightNode: d,
3284
+ customColor: i
3285
+ } = g, m = B(g, [
3274
3286
  "className",
3275
3287
  "children",
3276
3288
  "dismissible",
@@ -3279,73 +3291,57 @@ const U = {
3279
3291
  "kind",
3280
3292
  "onRemove",
3281
3293
  "outline",
3282
- "leftIcon",
3283
- "rightIcon",
3284
- "avatar",
3294
+ "leftNode",
3295
+ "rightNode",
3285
3296
  "customColor"
3286
3297
  ]);
3287
- const v = b(
3288
- _e[oe],
3298
+ const v = f(
3299
+ ce[ne],
3289
3300
  t,
3290
- _e[`${oe}--${o}`],
3291
- _e[`${oe}--${l}`],
3301
+ ce[`${ne}--${o}`],
3302
+ ce[`${ne}--${l}`],
3292
3303
  {
3293
- [_e[`${oe}--dismissible`]]: r,
3294
- [_e[`${oe}--outline`]]: n,
3295
- [_e[`${oe}--with-icon`]]: !!s || !!m,
3296
- [_e[`${oe}--${co(u)}`]]: !!u
3304
+ [ce[`${ne}--dismissible`]]: r,
3305
+ [ce[`${ne}--outline`]]: n,
3306
+ [ce[`${ne}--with-node`]]: !!s || !!d,
3307
+ [ce[`${ne}--${lo(i)}`]]: !!i
3297
3308
  }
3298
- ), p = () => u ? n ? {
3309
+ ), b = () => i ? n ? {
3299
3310
  style: {
3300
3311
  backgroundColor: "transparent",
3301
- color: u,
3302
- borderColor: u
3312
+ color: i,
3313
+ borderColor: i
3303
3314
  }
3304
- } : { style: { backgroundColor: u } } : {}, y = () => {
3305
- if (u)
3306
- return n ? u : ra(u, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
3315
+ } : { style: { backgroundColor: i } } : {}, p = () => {
3316
+ if (i)
3317
+ return n ? i : ra(i, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
3307
3318
  };
3308
3319
  return /* @__PURE__ */ e.createElement(
3309
3320
  P,
3310
- A(E(E({
3321
+ A(w(w({
3311
3322
  className: v
3312
- }, i), p()), {
3323
+ }, m), b()), {
3313
3324
  as: "div",
3314
3325
  size: "md"
3315
3326
  }),
3316
- m && /* @__PURE__ */ e.createElement(
3317
- "img",
3318
- {
3319
- className: _e[`${oe}__avatar`],
3320
- src: m,
3321
- alt: "tag-avatar",
3322
- "data-testid": "lc-tag-avatar"
3323
- }
3324
- ),
3325
- " ",
3326
- s && !m && /* @__PURE__ */ e.createElement(
3327
- T,
3327
+ s && /* @__PURE__ */ e.createElement(
3328
+ "div",
3328
3329
  {
3329
- "data-testid": "lc-tag-left-icon",
3330
- className: _e[`${oe}__icon`],
3331
- source: s,
3332
- size: "small",
3333
- customColor: y()
3334
- }
3330
+ "data-testid": "lc-tag-left-node",
3331
+ className: ce[`${ne}__node`],
3332
+ style: { color: p() }
3333
+ },
3334
+ s
3335
3335
  ),
3336
- /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__content`] }, a),
3336
+ /* @__PURE__ */ e.createElement("div", { className: ce[`${ne}__content`] }, a),
3337
3337
  d && /* @__PURE__ */ e.createElement(
3338
- T,
3338
+ "div",
3339
3339
  {
3340
- "data-testid": "lc-tag-right-icon",
3341
- className: b(
3342
- _e[`${oe}__icon`],
3343
- _e[`${oe}__icon--right`]
3344
- ),
3345
- source: d,
3346
- size: "small",
3347
- customColor: y()
3348
- }
3340
+ "data-testid": "lc-tag-right-node",
3341
+ className: f(ce[`${ne}__node--right`]),
3342
+ style: { color: p() }
3343
+ },
3344
+ d
3349
3345
  ),
3350
3346
  r && /* @__PURE__ */ e.createElement(
3351
3347
  "button",
@@ -3353,15 +3349,15 @@ const U = {
3353
3349
  title: "Remove",
3354
3350
  onClick: c,
3355
3351
  type: "button",
3356
- className: _e[`${oe}__remove`]
3352
+ className: ce[`${ne}__remove`]
3357
3353
  },
3358
3354
  /* @__PURE__ */ e.createElement(
3359
- T,
3355
+ D,
3360
3356
  {
3361
3357
  "data-dismiss-icon": !0,
3362
3358
  source: xe,
3363
3359
  size: _,
3364
- customColor: y()
3360
+ customColor: p()
3365
3361
  }
3366
3362
  )
3367
3363
  )
@@ -3381,7 +3377,7 @@ const U = {
3381
3377
  "picker-trigger-body__tag--compact": "lc-TriggerBody-module__picker-trigger-body__tag--compact___X-oAF",
3382
3378
  "picker-trigger-body__tag--medium": "lc-TriggerBody-module__picker-trigger-body__tag--medium___Ptkd5",
3383
3379
  "picker-trigger-body__tag--large": "lc-TriggerBody-module__picker-trigger-body__tag--large___Saoy1"
3384
- }, ie = "picker-trigger-body", no = ({
3380
+ }, ie = "picker-trigger-body", co = ({
3385
3381
  isOpen: t,
3386
3382
  isSearchDisabled: a,
3387
3383
  isDisabled: r,
@@ -3392,14 +3388,14 @@ const U = {
3392
3388
  clearSearchAfterSelection: n,
3393
3389
  size: s,
3394
3390
  onItemRemove: d,
3395
- onFilter: m
3391
+ onFilter: i
3396
3392
  }) => {
3397
- const u = t && !a, i = e.useRef(null);
3393
+ const m = t && !a, u = e.useRef(null);
3398
3394
  e.useEffect(() => {
3399
- n && (m(""), i.current && (i.current.value = "", i.current.focus()));
3395
+ n && (i(""), u.current && (u.current.value = "", u.current.focus()));
3400
3396
  }, [_, n]);
3401
3397
  const g = (p) => l === "single" && t && !a ? null : p != null && p.customElement ? /* @__PURE__ */ e.createElement("div", { className: se[`${ie}__item`] }, p.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: se[`${ie}__item`] }, p.icon && /* @__PURE__ */ e.createElement(
3402
- T,
3398
+ D,
3403
3399
  {
3404
3400
  source: p.icon,
3405
3401
  className: se[`${ie}__item__icon`]
@@ -3411,26 +3407,26 @@ const U = {
3411
3407
  alt: "",
3412
3408
  className: se[`${ie}__item__avatar`]
3413
3409
  }
3414
- ), /* @__PURE__ */ e.createElement("div", { className: se[`${ie}__item__content`] }, p.name)), h = (p) => {
3415
- m(p.target.value);
3416
- }, v = () => /* @__PURE__ */ e.createElement(
3410
+ ), /* @__PURE__ */ e.createElement("div", { className: se[`${ie}__item__content`] }, p.name)), v = (p) => {
3411
+ i(p.target.value);
3412
+ }, b = () => /* @__PURE__ */ e.createElement(
3417
3413
  "input",
3418
3414
  {
3419
- ref: i,
3420
- className: b(
3415
+ ref: u,
3416
+ className: f(
3421
3417
  se[`${ie}__input`],
3422
3418
  se[`${ie}__input--${s}`]
3423
3419
  ),
3424
3420
  placeholder: "Select option",
3425
- onChange: h,
3421
+ onChange: v,
3426
3422
  autoFocus: !0
3427
3423
  }
3428
3424
  );
3429
- return !_ || _.length === 0 ? u ? v() : /* @__PURE__ */ e.createElement("div", null, o) : /* @__PURE__ */ e.createElement("div", { className: se[ie] }, /* @__PURE__ */ e.createElement("div", { className: se[`${ie}__item-container`] }, l === "single" ? g(_[0]) : _.map((p) => /* @__PURE__ */ e.createElement(
3425
+ return !_ || _.length === 0 ? m ? b() : /* @__PURE__ */ e.createElement("div", null, o) : /* @__PURE__ */ e.createElement("div", { className: se[ie] }, /* @__PURE__ */ e.createElement("div", { className: se[`${ie}__item-container`] }, l === "single" ? g(_[0]) : _.map((p) => /* @__PURE__ */ e.createElement(
3430
3426
  qa,
3431
3427
  {
3432
3428
  key: p.name,
3433
- className: b(
3429
+ className: f(
3434
3430
  se[`${ie}__tag`],
3435
3431
  se[`${ie}__tag--${s}`]
3436
3432
  ),
@@ -3439,12 +3435,12 @@ const U = {
3439
3435
  onRemove: () => d(p)
3440
3436
  },
3441
3437
  g(p)
3442
- ))), u && v());
3443
- }, so = "lc-Picker-module__picker___GRj9W", io = "lc-Picker-module__picker__container___s0PUc", Ta = {
3444
- picker: so,
3445
- picker__container: io
3446
- }, Da = "picker", Ll = (f) => {
3447
- var w = f, {
3438
+ ))), m && b());
3439
+ }, no = "lc-Picker-module__picker___GRj9W", so = "lc-Picker-module__picker__container___s0PUc", Ta = {
3440
+ picker: no,
3441
+ picker__container: so
3442
+ }, Da = "picker", Ml = (h) => {
3443
+ var E = h, {
3448
3444
  className: t,
3449
3445
  disabled: a,
3450
3446
  error: r,
@@ -3455,14 +3451,14 @@ const U = {
3455
3451
  placeholder: n = "Select option",
3456
3452
  isRequired: s,
3457
3453
  noSearchResultText: d = "No results found",
3458
- selectAllOptionText: m,
3459
- type: u = "single",
3460
- searchDisabled: i = !1,
3454
+ selectAllOptionText: i,
3455
+ type: m = "single",
3456
+ searchDisabled: u = !1,
3461
3457
  hideClearButton: g,
3462
- openedOnInit: h = !1,
3463
- clearSearchAfterSelection: v,
3458
+ openedOnInit: v = !1,
3459
+ clearSearchAfterSelection: b,
3464
3460
  onSelect: p
3465
- } = w, y = B(w, [
3461
+ } = E, y = B(E, [
3466
3462
  "className",
3467
3463
  "disabled",
3468
3464
  "error",
@@ -3481,12 +3477,12 @@ const U = {
3481
3477
  "clearSearchAfterSelection",
3482
3478
  "onSelect"
3483
3479
  ]);
3484
- const [S, $] = e.useState(h), [k, C] = e.useState(null), x = e.useRef(null), V = b(Ta[Da], t);
3480
+ const [N, $] = e.useState(v), [k, C] = e.useState(null), S = e.useRef(null), V = f(Ta[Da], t);
3485
3481
  e.useEffect(() => {
3486
- if (S) {
3482
+ if (N) {
3487
3483
  const F = (te) => {
3488
3484
  var Fe;
3489
- (Fe = x.current) != null && Fe.contains(te.target) || $(!1);
3485
+ (Fe = S.current) != null && Fe.contains(te.target) || $(!1);
3490
3486
  }, G = (te) => {
3491
3487
  te.key === L.tab && $(!1);
3492
3488
  };
@@ -3495,14 +3491,14 @@ const U = {
3495
3491
  };
3496
3492
  } else
3497
3493
  C(null);
3498
- }, [S]);
3494
+ }, [N]);
3499
3495
  const ee = (F) => {
3500
3496
  const G = F.target;
3501
3497
  a || G.getAttribute("data-dismiss-icon") || $((te) => !te);
3502
3498
  }, Se = () => {
3503
3499
  $(!1);
3504
- }, ze = (F) => {
3505
- if (u === "single")
3500
+ }, Ge = (F) => {
3501
+ if (m === "single")
3506
3502
  return $(!1), p([F]);
3507
3503
  const G = F.key, te = vt;
3508
3504
  if (!te)
@@ -3516,11 +3512,11 @@ const U = {
3516
3512
  (Mt) => Fe.includes(Mt.key)
3517
3513
  );
3518
3514
  p(Qa);
3519
- }, Be = (F) => !F.disabled && !F.groupHeader && F.key !== Ve, Pe = () => {
3515
+ }, Be = (F) => !F.disabled && !F.groupHeader && F.key !== qe, Pe = () => {
3520
3516
  $(!1);
3521
3517
  const F = bt.filter(Be);
3522
3518
  p(F);
3523
- }, je = () => {
3519
+ }, Ze = () => {
3524
3520
  $(!1), p(null);
3525
3521
  }, Ee = (F) => C(F), ge = (F) => {
3526
3522
  const G = _ ? _.filter((te) => te !== F) : null;
@@ -3533,34 +3529,34 @@ const U = {
3533
3529
  const G = k.toLowerCase();
3534
3530
  return F.name.toLowerCase().includes(G);
3535
3531
  }) : o, [k, o]), vt = e.useMemo(() => _ ? _.map((F) => F.key) : null, [_]);
3536
- return /* @__PURE__ */ e.createElement("div", { ref: x, className: V, id: y.id }, /* @__PURE__ */ e.createElement("div", { className: Ta[`${Da}__container`] }, /* @__PURE__ */ e.createElement(
3532
+ return /* @__PURE__ */ e.createElement("div", { ref: S, className: V, id: y.id }, /* @__PURE__ */ e.createElement("div", { className: Ta[`${Da}__container`] }, /* @__PURE__ */ e.createElement(
3537
3533
  eo,
3538
3534
  {
3539
3535
  testId: y["data-testid"],
3540
- isSearchDisabled: i,
3536
+ isSearchDisabled: u,
3541
3537
  isError: r,
3542
- isOpen: S,
3538
+ isOpen: N,
3543
3539
  isDisabled: a,
3544
3540
  isItemSelected: !!_,
3545
3541
  isRequired: s,
3546
- isMultiSelect: u === "multi",
3542
+ isMultiSelect: m === "multi",
3547
3543
  size: l,
3548
3544
  hideClearButton: g,
3549
3545
  onTrigger: ee,
3550
- onClear: je
3546
+ onClear: Ze
3551
3547
  },
3552
3548
  /* @__PURE__ */ e.createElement(
3553
- no,
3549
+ co,
3554
3550
  {
3555
- isOpen: S,
3556
- isSearchDisabled: i,
3551
+ isOpen: N,
3552
+ isSearchDisabled: u,
3557
3553
  isDisabled: a,
3558
3554
  placeholder: n,
3559
3555
  iconSize: c,
3560
3556
  items: _,
3561
- type: u,
3557
+ type: m,
3562
3558
  size: l,
3563
- clearSearchAfterSelection: v,
3559
+ clearSearchAfterSelection: b,
3564
3560
  onItemRemove: ge,
3565
3561
  onFilter: Ee
3566
3562
  }
@@ -3570,25 +3566,25 @@ const U = {
3570
3566
  {
3571
3567
  selectedItemsKeys: vt,
3572
3568
  items: bt,
3573
- isOpen: S,
3574
- isMultiSelect: u === "multi",
3569
+ isOpen: N,
3570
+ isMultiSelect: m === "multi",
3575
3571
  emptyStateText: d,
3576
- selectAllOptionText: m,
3572
+ selectAllOptionText: i,
3577
3573
  onClose: Se,
3578
- onSelect: ze,
3574
+ onSelect: Ge,
3579
3575
  onSelectAll: Pe
3580
3576
  }
3581
3577
  )));
3582
- }, uo = [
3578
+ }, io = [
3583
3579
  "normal",
3584
3580
  "error",
3585
3581
  "success"
3586
- ], mo = (t) => Math.min(Math.max(t, 0), 100);
3582
+ ], uo = (t) => Math.min(Math.max(t, 0), 100);
3587
3583
  function Ja(t, a = 0) {
3588
- return t === "error" ? 0 : mo(parseInt(a.toString(), 10));
3584
+ return t === "error" ? 0 : uo(parseInt(a.toString(), 10));
3589
3585
  }
3590
3586
  function ja(t, a) {
3591
- return !uo.includes(t) && a >= 100 ? "normal" : t || "normal";
3587
+ return !io.includes(t) && a >= 100 ? "normal" : t || "normal";
3592
3588
  }
3593
3589
  const it = {
3594
3590
  "progress-circle": "lc-ProgressCircle-module__progress-circle___NRHCi",
@@ -3601,15 +3597,15 @@ const it = {
3601
3597
  "progress-circle__indicator--normal": "lc-ProgressCircle-module__progress-circle__indicator--normal___0SdkX",
3602
3598
  "progress-circle__indicator--success": "lc-ProgressCircle-module__progress-circle__indicator--success___fLwRR",
3603
3599
  "progress-circle__indicator--error": "lc-ProgressCircle-module__progress-circle__indicator--error___nwJS9"
3604
- }, po = {
3600
+ }, mo = {
3605
3601
  small: 2,
3606
3602
  medium: 3,
3607
3603
  large: 4
3608
- }, go = {
3604
+ }, po = {
3609
3605
  small: 15,
3610
3606
  medium: 36,
3611
3607
  large: 56
3612
- }, dt = "progress-circle", fo = e.forwardRef(
3608
+ }, dt = "progress-circle", go = e.forwardRef(
3613
3609
  (c, l) => {
3614
3610
  var n = c, {
3615
3611
  status: t = "normal",
@@ -3622,44 +3618,44 @@ const it = {
3622
3618
  "className",
3623
3619
  "size"
3624
3620
  ]);
3625
- const s = ja(t, a), d = Ja(s, a), m = po[o], u = go[o], i = b(
3621
+ const s = ja(t, a), d = Ja(s, a), i = mo[o], m = po[o], u = f(
3626
3622
  it[dt],
3627
3623
  {
3628
3624
  [it[`${dt}--${o}`]]: o,
3629
3625
  [it[`${dt}--${t}`]]: t
3630
3626
  },
3631
3627
  r
3632
- ), g = 2 * Math.PI * ((u - m) / 2), h = {
3628
+ ), g = 2 * Math.PI * ((m - i) / 2), v = {
3633
3629
  strokeDasharray: g.toFixed(3),
3634
3630
  strokeDashoffset: `${((100 - d) / 100 * g).toFixed(3)}px`
3635
- }, v = `${u / 2} ${u / 2} ${u} ${u}`;
3631
+ }, b = `${m / 2} ${m / 2} ${m} ${m}`;
3636
3632
  return /* @__PURE__ */ e.createElement(
3637
3633
  "div",
3638
- E({
3639
- className: i,
3634
+ w({
3635
+ className: u,
3640
3636
  ref: l,
3641
3637
  role: "progressbar"
3642
3638
  }, _),
3643
- /* @__PURE__ */ e.createElement("svg", { viewBox: v }, /* @__PURE__ */ e.createElement(
3639
+ /* @__PURE__ */ e.createElement("svg", { viewBox: b }, /* @__PURE__ */ e.createElement(
3644
3640
  "circle",
3645
3641
  {
3646
3642
  className: it[`${dt}__bg-line--${t}`],
3647
- cx: u,
3648
- cy: u,
3649
- r: (u - m) / 2,
3643
+ cx: m,
3644
+ cy: m,
3645
+ r: (m - i) / 2,
3650
3646
  fill: "none",
3651
- strokeWidth: m
3647
+ strokeWidth: i
3652
3648
  }
3653
3649
  ), /* @__PURE__ */ e.createElement(
3654
3650
  "circle",
3655
3651
  {
3656
3652
  className: it[`${dt}__indicator--${t}`],
3657
- style: h,
3658
- cx: u,
3659
- cy: u,
3660
- r: (u - m) / 2,
3653
+ style: v,
3654
+ cx: m,
3655
+ cy: m,
3656
+ r: (m - i) / 2,
3661
3657
  fill: "none",
3662
- strokeWidth: m
3658
+ strokeWidth: i
3663
3659
  }
3664
3660
  ))
3665
3661
  );
@@ -3674,7 +3670,7 @@ const it = {
3674
3670
  "progress-bar--normal": "lc-ProgressBar-module__progress-bar--normal___ZwCb-",
3675
3671
  "progress-bar__indicator--success": "lc-ProgressBar-module__progress-bar__indicator--success___wRjR3",
3676
3672
  "progress-bar__indicator--normal": "lc-ProgressBar-module__progress-bar__indicator--normal___0Uhle"
3677
- }, Dt = "progress-bar", bo = e.forwardRef(
3673
+ }, Dt = "progress-bar", fo = e.forwardRef(
3678
3674
  (c, l) => {
3679
3675
  var n = c, {
3680
3676
  status: t = "normal",
@@ -3687,7 +3683,7 @@ const it = {
3687
3683
  "size",
3688
3684
  "className"
3689
3685
  ]);
3690
- const s = ja(t, a), d = Ja(s, a), m = b(
3686
+ const s = ja(t, a), d = Ja(s, a), i = f(
3691
3687
  Tt[Dt],
3692
3688
  {
3693
3689
  [Tt[`${Dt}--${r}`]]: r,
@@ -3697,8 +3693,8 @@ const it = {
3697
3693
  );
3698
3694
  return /* @__PURE__ */ e.createElement(
3699
3695
  "div",
3700
- A(E({}, _), {
3701
- className: m,
3696
+ A(w({}, _), {
3697
+ className: i,
3702
3698
  ref: l,
3703
3699
  role: "progressbar"
3704
3700
  }),
@@ -3723,7 +3719,7 @@ const it = {
3723
3719
  "promo-banner--small": "lc-PromoBanner-module__promo-banner--small___7sWLV",
3724
3720
  "promo-banner--large": "lc-PromoBanner-module__promo-banner--large___pMiCU",
3725
3721
  "promo-banner__close-icon": "lc-PromoBanner-module__promo-banner__close-icon___GowBL"
3726
- }, vo = 400, ho = 800, ko = 500, ue = "promo-banner", Ol = ({
3722
+ }, bo = 400, vo = 800, ho = 500, ue = "promo-banner", Ll = ({
3727
3723
  className: t,
3728
3724
  buttonText: a,
3729
3725
  children: r,
@@ -3735,26 +3731,26 @@ const it = {
3735
3731
  onClose: s,
3736
3732
  onLinkClick: d
3737
3733
  }) => {
3738
- const m = e.useRef(null), [u, i] = e.useState("medium"), g = b(
3734
+ const i = e.useRef(null), [m, u] = e.useState("medium"), g = f(
3739
3735
  de[ue],
3740
3736
  {
3741
3737
  [de[`${ue}--light`]]: l,
3742
- [de[`${ue}--small`]]: u === "small",
3743
- [de[`${ue}--large`]]: u === "large"
3738
+ [de[`${ue}--small`]]: m === "small",
3739
+ [de[`${ue}--large`]]: m === "large"
3744
3740
  },
3745
3741
  t
3746
3742
  );
3747
3743
  e.useEffect(() => {
3748
- const v = () => m.current && m.current.offsetWidth <= vo ? i("small") : m.current && m.current.offsetWidth >= ho ? i("large") : i("medium"), p = za(
3749
- v,
3750
- ko
3744
+ const b = () => i.current && i.current.offsetWidth <= bo ? u("small") : i.current && i.current.offsetWidth >= vo ? u("large") : u("medium"), p = za(
3745
+ b,
3746
+ ho
3751
3747
  );
3752
- return window.addEventListener("resize", p), v(), () => {
3753
- p.cancel(), window.removeEventListener("resize", v);
3748
+ return window.addEventListener("resize", p), b(), () => {
3749
+ p.cancel(), window.removeEventListener("resize", b);
3754
3750
  };
3755
3751
  }, []);
3756
- const h = /* @__PURE__ */ e.createElement("div", { className: de[`${ue}__footer`] }, a && /* @__PURE__ */ e.createElement(
3757
- R,
3752
+ const v = /* @__PURE__ */ e.createElement("div", { className: de[`${ue}__footer`] }, a && /* @__PURE__ */ e.createElement(
3753
+ M,
3758
3754
  {
3759
3755
  kind: "primary",
3760
3756
  size: "compact",
@@ -3762,15 +3758,15 @@ const it = {
3762
3758
  className: de[`${ue}__button-text`]
3763
3759
  },
3764
3760
  a
3765
- ), c && /* @__PURE__ */ e.createElement(R, { size: "compact", kind: "text", onClick: d }, c));
3766
- return /* @__PURE__ */ e.createElement("div", { ref: m, className: g }, /* @__PURE__ */ e.createElement("div", { className: de[`${ue}__content`] }, _ && /* @__PURE__ */ e.createElement("img", { src: _, className: de[`${ue}__img`] }), /* @__PURE__ */ e.createElement("div", { className: de[`${ue}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: de[`${ue}__header`] }, o), /* @__PURE__ */ e.createElement(P, { as: "div" }, r), u !== "large" && h), u === "large" && h), s && /* @__PURE__ */ e.createElement(
3761
+ ), c && /* @__PURE__ */ e.createElement(M, { size: "compact", kind: "text", onClick: d }, c));
3762
+ return /* @__PURE__ */ e.createElement("div", { ref: i, className: g }, /* @__PURE__ */ e.createElement("div", { className: de[`${ue}__content`] }, _ && /* @__PURE__ */ e.createElement("img", { src: _, className: de[`${ue}__img`] }), /* @__PURE__ */ e.createElement("div", { className: de[`${ue}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: de[`${ue}__header`] }, o), /* @__PURE__ */ e.createElement(P, { as: "div" }, r), m !== "large" && v), m === "large" && v), s && /* @__PURE__ */ e.createElement(
3767
3763
  "button",
3768
3764
  {
3769
3765
  type: "button",
3770
3766
  className: de[`${ue}__close-icon`],
3771
3767
  onClick: s
3772
3768
  },
3773
- /* @__PURE__ */ e.createElement(T, { source: xe, size: "large", kind: "primary" })
3769
+ /* @__PURE__ */ e.createElement(D, { source: xe, size: "large", kind: "primary" })
3774
3770
  ));
3775
3771
  }, De = {
3776
3772
  "main-wrapper": "lc-PromoBannerV2-module__main-wrapper___U-dPS",
@@ -3781,7 +3777,7 @@ const it = {
3781
3777
  "promo-banner-v2__additional-content": "lc-PromoBannerV2-module__promo-banner-v2__additional-content___LpU9B",
3782
3778
  "promo-banner-v2__close": "lc-PromoBannerV2-module__promo-banner-v2__close___rOh-U",
3783
3779
  "promo-banner-v2__close__btn": "lc-PromoBannerV2-module__promo-banner-v2__close__btn___5AZQC"
3784
- }, Le = "promo-banner-v2", zl = ({
3780
+ }, ze = "promo-banner-v2", Ol = ({
3785
3781
  children: t,
3786
3782
  className: a,
3787
3783
  additionalContent: r,
@@ -3789,28 +3785,28 @@ const it = {
3789
3785
  secondaryButton: _,
3790
3786
  onClose: l
3791
3787
  }) => {
3792
- const c = b(De[Le], a);
3793
- return /* @__PURE__ */ e.createElement("div", { className: De["main-wrapper"] }, /* @__PURE__ */ e.createElement("div", { role: "banner", className: c }, /* @__PURE__ */ e.createElement("div", { className: De[`${Le}__content`] }, t, (o || _) && /* @__PURE__ */ e.createElement("div", { className: De[`${Le}__content__cta`] }, o && /* @__PURE__ */ e.createElement(
3794
- R,
3788
+ const c = f(De[ze], a);
3789
+ return /* @__PURE__ */ e.createElement("div", { className: De["main-wrapper"] }, /* @__PURE__ */ e.createElement("div", { role: "banner", className: c }, /* @__PURE__ */ e.createElement("div", { className: De[`${ze}__content`] }, t, (o || _) && /* @__PURE__ */ e.createElement("div", { className: De[`${ze}__content__cta`] }, o && /* @__PURE__ */ e.createElement(
3790
+ M,
3795
3791
  {
3796
3792
  kind: (o == null ? void 0 : o.kind) || "high-contrast",
3797
3793
  onClick: o.handleClick
3798
3794
  },
3799
3795
  o.label
3800
3796
  ), _ && /* @__PURE__ */ e.createElement(
3801
- R,
3797
+ M,
3802
3798
  {
3803
3799
  kind: (_ == null ? void 0 : _.kind) || "text",
3804
3800
  onClick: _.handleClick,
3805
- className: De[`${Le}__content__cta__secondary`]
3801
+ className: De[`${ze}__content__cta__secondary`]
3806
3802
  },
3807
3803
  _.label
3808
- ))), r && /* @__PURE__ */ e.createElement("div", { className: De[`${Le}__additional-content`] }, r), l && /* @__PURE__ */ e.createElement("div", { className: De[`${Le}__close`] }, /* @__PURE__ */ e.createElement(
3809
- R,
3804
+ ))), r && /* @__PURE__ */ e.createElement("div", { className: De[`${ze}__additional-content`] }, r), l && /* @__PURE__ */ e.createElement("div", { className: De[`${ze}__close`] }, /* @__PURE__ */ e.createElement(
3805
+ M,
3810
3806
  {
3811
- className: De[`${Le}__close__btn`],
3807
+ className: De[`${ze}__close__btn`],
3812
3808
  onClick: l,
3813
- icon: /* @__PURE__ */ e.createElement(T, { source: xe, kind: "primary" }),
3809
+ icon: /* @__PURE__ */ e.createElement(D, { source: xe, kind: "primary" }),
3814
3810
  kind: "plain",
3815
3811
  size: "compact"
3816
3812
  }
@@ -3825,16 +3821,16 @@ const it = {
3825
3821
  "radio-button__helper": "lc-RadioButton-module__radio-button__helper___r8gJJ",
3826
3822
  "radio-button--selected": "lc-RadioButton-module__radio-button--selected___s9lqj",
3827
3823
  "radio-button--disabled": "lc-RadioButton-module__radio-button--disabled___wHSA7"
3828
- }, we = "radio-button", Hl = e.forwardRef(
3824
+ }, we = "radio-button", zl = e.forwardRef(
3829
3825
  (n, c) => {
3830
3826
  var s = n, { children: t, className: a = "", description: r, checked: o, disabled: _ } = s, l = B(s, ["children", "className", "description", "checked", "disabled"]);
3831
- const d = b($e[we], a, {
3827
+ const d = f($e[we], a, {
3832
3828
  [$e[`${we}--selected`]]: o,
3833
3829
  [$e[`${we}--disabled`]]: _
3834
3830
  });
3835
3831
  return /* @__PURE__ */ e.createElement("div", { className: d }, /* @__PURE__ */ e.createElement("label", { className: $e[`${we}__label`] }, /* @__PURE__ */ e.createElement("div", { className: $e[`${we}__circle`] }, /* @__PURE__ */ e.createElement("span", { className: $e[`${we}__inner-circle`] }), /* @__PURE__ */ e.createElement(
3836
3832
  "input",
3837
- A(E({}, l), {
3833
+ A(w({}, l), {
3838
3834
  className: $e[`${we}__input`],
3839
3835
  ref: c,
3840
3836
  type: "radio",
@@ -3856,7 +3852,7 @@ const it = {
3856
3852
  "search-input__clear-icon": "lc-Search-module__search-input__clear-icon___LoNkc",
3857
3853
  "search-input__loader": "lc-Search-module__search-input__loader___pkpIG",
3858
3854
  "search-input__input": "lc-Search-module__search-input__input___OhyTr"
3859
- }, pe = "search-input", yo = `${pe}__input`, Gl = ({
3855
+ }, pe = "search-input", ko = `${pe}__input`, Hl = ({
3860
3856
  isCollapsable: t,
3861
3857
  isDisabled: a,
3862
3858
  isLoading: r,
@@ -3866,11 +3862,11 @@ const it = {
3866
3862
  className: c,
3867
3863
  onChange: n
3868
3864
  }) => {
3869
- const [s, d] = e.useState(!0), [m, u] = e.useState(!1), i = e.useRef(null), g = !!l && !a && !r, h = t && !s && "true", v = b(
3865
+ const [s, d] = e.useState(!0), [i, m] = e.useState(!1), u = e.useRef(null), g = !!l && !a && !r, v = t && !s && "true", b = f(
3870
3866
  c,
3871
3867
  he[pe],
3872
3868
  he[`${pe}--${_}`],
3873
- m && he[`${pe}--focused`],
3869
+ i && he[`${pe}--focused`],
3874
3870
  a && he[`${pe}--disabled`],
3875
3871
  t && he[`${pe}--collapsable`],
3876
3872
  !s && he[`${pe}--collapsable--open`]
@@ -3883,26 +3879,26 @@ const it = {
3883
3879
  n(C);
3884
3880
  }, y = () => {
3885
3881
  n("");
3886
- }, f = () => {
3882
+ }, h = () => {
3887
3883
  var k;
3888
- (k = i.current) == null || k.focus();
3889
- }, w = () => {
3890
- t && d(!1), u(!0);
3891
- }, S = () => {
3892
- t && !l && d(!0), u(!1);
3884
+ (k = u.current) == null || k.focus();
3885
+ }, E = () => {
3886
+ t && d(!1), m(!0);
3887
+ }, N = () => {
3888
+ t && !l && d(!0), m(!1);
3893
3889
  }, $ = (k) => {
3894
3890
  k.key === L.enter && (k.preventDefault(), n(l));
3895
3891
  };
3896
3892
  return /* @__PURE__ */ e.createElement(
3897
3893
  "div",
3898
3894
  {
3899
- "aria-expanded": h,
3895
+ "aria-expanded": v,
3900
3896
  role: "search",
3901
- className: v,
3902
- onClick: f
3897
+ className: b,
3898
+ onClick: h
3903
3899
  },
3904
3900
  /* @__PURE__ */ e.createElement(
3905
- T,
3901
+ D,
3906
3902
  {
3907
3903
  className: he[`${pe}__search-icon`],
3908
3904
  source: cr,
@@ -3914,26 +3910,26 @@ const it = {
3914
3910
  "input",
3915
3911
  {
3916
3912
  role: "searchbox",
3917
- ref: i,
3918
- className: he[yo],
3913
+ ref: u,
3914
+ className: he[ko],
3919
3915
  type: "text",
3920
3916
  value: l,
3921
3917
  placeholder: o,
3922
3918
  onChange: p,
3923
- onBlur: S,
3924
- onFocus: w,
3919
+ onBlur: N,
3920
+ onFocus: E,
3925
3921
  onKeyDown: $,
3926
3922
  disabled: a
3927
3923
  }
3928
3924
  ),
3929
3925
  g && /* @__PURE__ */ e.createElement(
3930
- R,
3926
+ M,
3931
3927
  {
3932
3928
  "aria-label": "Clear search",
3933
3929
  title: "Clear search",
3934
3930
  className: he[`${pe}__clear-icon`],
3935
3931
  onClick: y,
3936
- icon: /* @__PURE__ */ e.createElement(T, { source: xe, kind: "primary" }),
3932
+ icon: /* @__PURE__ */ e.createElement(D, { source: xe, kind: "primary" }),
3937
3933
  kind: "text",
3938
3934
  size: "compact"
3939
3935
  }
@@ -3947,7 +3943,7 @@ const it = {
3947
3943
  /* @__PURE__ */ e.createElement(_a, { size: "small" })
3948
3944
  )
3949
3945
  );
3950
- }, Eo = "lc-Switch-module__switch__input___NiiOR", $o = "lc-Switch-module__switch__container___79F7W", wo = "lc-Switch-module__switch__track___2wr2M", Co = "lc-Switch-module__switch__slider___WHd--", No = "lc-Switch-module__switch__loader___FE-fA", xo = "lc-Switch-module__switch__icon___-O1qY", Z = {
3946
+ }, yo = "lc-Switch-module__switch__input___NiiOR", Eo = "lc-Switch-module__switch__container___79F7W", $o = "lc-Switch-module__switch__track___2wr2M", wo = "lc-Switch-module__switch__slider___WHd--", Co = "lc-Switch-module__switch__loader___FE-fA", No = "lc-Switch-module__switch__icon___-O1qY", Z = {
3951
3947
  switch: "lc-Switch-module__switch___AaA2k",
3952
3948
  "switch__track--enabled": "lc-Switch-module__switch__track--enabled___sy4Xl",
3953
3949
  "switch__track--on": "lc-Switch-module__switch__track--on___aOMWe",
@@ -3955,12 +3951,12 @@ const it = {
3955
3951
  "switch--large": "lc-Switch-module__switch--large___pSoJ7",
3956
3952
  "switch--compact": "lc-Switch-module__switch--compact___OGFIX",
3957
3953
  "switch--medium": "lc-Switch-module__switch--medium___EcZwT",
3958
- switch__input: Eo,
3954
+ switch__input: yo,
3959
3955
  "switch__input--disabled": "lc-Switch-module__switch__input--disabled___Po8gh",
3960
- switch__container: $o,
3961
- switch__track: wo,
3956
+ switch__container: Eo,
3957
+ switch__track: $o,
3962
3958
  "switch__track--disabled": "lc-Switch-module__switch__track--disabled___HkDhl",
3963
- switch__slider: Co,
3959
+ switch__slider: wo,
3964
3960
  "switch__slider--large": "lc-Switch-module__switch__slider--large___WoEgi",
3965
3961
  "switch__slider--large--on": "lc-Switch-module__switch__slider--large--on___7Qp3G",
3966
3962
  "switch__slider--large--off": "lc-Switch-module__switch__slider--large--off___iRMmD",
@@ -3970,13 +3966,13 @@ const it = {
3970
3966
  "switch__slider--medium": "lc-Switch-module__switch__slider--medium___uhptz",
3971
3967
  "switch__slider--medium--on": "lc-Switch-module__switch__slider--medium--on___SfeAV",
3972
3968
  "switch__slider--medium--off": "lc-Switch-module__switch__slider--medium--off___eXJJz",
3973
- switch__loader: No,
3969
+ switch__loader: Co,
3974
3970
  "switch__loader--compact": "lc-Switch-module__switch__loader--compact___3imUh",
3975
3971
  "switch__loader--medium": "lc-Switch-module__switch__loader--medium___2zi05",
3976
3972
  "switch__loader--large": "lc-Switch-module__switch__loader--large___vLRFa",
3977
- switch__icon: xo
3978
- }, j = "switch", Ul = (u) => {
3979
- var i = u, {
3973
+ switch__icon: No
3974
+ }, j = "switch", Gl = (m) => {
3975
+ var u = m, {
3980
3976
  className: t = "",
3981
3977
  defaultOn: a = !1,
3982
3978
  disabled: r = !1,
@@ -3987,7 +3983,7 @@ const it = {
3987
3983
  state: n = "regular",
3988
3984
  innerRef: s,
3989
3985
  ariaLabel: d
3990
- } = i, m = B(i, [
3986
+ } = u, i = B(u, [
3991
3987
  "className",
3992
3988
  "defaultOn",
3993
3989
  "disabled",
@@ -3999,13 +3995,13 @@ const it = {
3999
3995
  "innerRef",
4000
3996
  "ariaLabel"
4001
3997
  ]);
4002
- const [g, h] = e.useState(
3998
+ const [g, v] = e.useState(
4003
3999
  () => _ !== void 0 ? _ : a
4004
4000
  );
4005
4001
  e.useEffect(() => {
4006
- _ !== void 0 && h(_);
4002
+ _ !== void 0 && v(_);
4007
4003
  }, [_]);
4008
- const v = n === "loading", p = n === "locked", y = c === "large" ? "small" : "xsmall", f = g ? "on" : "off", w = r || v || p, S = w ? "disabled" : "enabled", $ = b(
4004
+ const b = n === "loading", p = n === "locked", y = c === "large" ? "small" : "xsmall", h = g ? "on" : "off", E = r || b || p, N = E ? "disabled" : "enabled", $ = f(
4009
4005
  Z[j],
4010
4006
  Z[`${j}--${c}`],
4011
4007
  t
@@ -4014,52 +4010,52 @@ const it = {
4014
4010
  l(C, g);
4015
4011
  return;
4016
4012
  }
4017
- C.stopPropagation(), h((V) => !V);
4013
+ C.stopPropagation(), v((V) => !V);
4018
4014
  };
4019
4015
  return /* @__PURE__ */ e.createElement("span", { className: $ }, /* @__PURE__ */ e.createElement(
4020
4016
  "input",
4021
- E({
4017
+ w({
4022
4018
  type: "checkbox",
4023
- className: b(
4019
+ className: f(
4024
4020
  Z[`${j}__input`],
4025
- Z[`${j}__input--${S}`]
4021
+ Z[`${j}__input--${N}`]
4026
4022
  ),
4027
4023
  onChange: k,
4028
4024
  checked: g,
4029
4025
  name: o,
4030
4026
  ref: s,
4031
- disabled: w,
4027
+ disabled: E,
4032
4028
  "aria-label": d
4033
- }, m)
4029
+ }, i)
4034
4030
  ), /* @__PURE__ */ e.createElement("span", { className: Z[`${j}__container`] }, /* @__PURE__ */ e.createElement(
4035
4031
  "span",
4036
4032
  {
4037
- className: b(
4033
+ className: f(
4038
4034
  Z[`${j}__track`],
4039
- Z[`${j}__track--${f}`],
4040
- Z[`${j}__track--${S}`]
4035
+ Z[`${j}__track--${h}`],
4036
+ Z[`${j}__track--${N}`]
4041
4037
  )
4042
4038
  }
4043
4039
  ), /* @__PURE__ */ e.createElement(
4044
4040
  "span",
4045
4041
  {
4046
- className: b(
4042
+ className: f(
4047
4043
  Z[`${j}__slider`],
4048
4044
  Z[`${j}__slider--${c}`],
4049
- Z[`${j}__slider--${c}--${f}`]
4045
+ Z[`${j}__slider--${c}--${h}`]
4050
4046
  )
4051
4047
  },
4052
- v && /* @__PURE__ */ e.createElement(
4048
+ b && /* @__PURE__ */ e.createElement(
4053
4049
  _a,
4054
4050
  {
4055
- className: b(
4051
+ className: f(
4056
4052
  Z[`${j}__loader`],
4057
4053
  Z[`${j}__loader--${c}`]
4058
4054
  )
4059
4055
  }
4060
4056
  ),
4061
4057
  p && /* @__PURE__ */ e.createElement(
4062
- T,
4058
+ D,
4063
4059
  {
4064
4060
  className: Z[`${j}__icon`],
4065
4061
  "data-testid": "lock-icon",
@@ -4069,16 +4065,16 @@ const it = {
4069
4065
  }
4070
4066
  )
4071
4067
  )));
4072
- }, So = "lc-Tab-module__tab___fME7u", To = "lc-Tab-module__tab__count___gc8tA", Do = "lc-Tab-module__tab__badge___W9c-T", Ue = {
4073
- tab: So,
4074
- tab__count: To,
4068
+ }, xo = "lc-Tab-module__tab___fME7u", So = "lc-Tab-module__tab__count___gc8tA", To = "lc-Tab-module__tab__badge___W9c-T", Ve = {
4069
+ tab: xo,
4070
+ tab__count: So,
4075
4071
  "tab--compact": "lc-Tab-module__tab--compact___4qead",
4076
4072
  "tab--medium": "lc-Tab-module__tab--medium___bHnGV",
4077
4073
  "tab--large": "lc-Tab-module__tab--large___JL30g",
4078
- tab__badge: Do,
4074
+ tab__badge: To,
4079
4075
  "tab--selected": "lc-Tab-module__tab--selected___c0EkL",
4080
4076
  "tab--disabled": "lc-Tab-module__tab--disabled___URdTh"
4081
- }, We = "tab", Wl = (n) => {
4077
+ }, Ye = "tab", Ul = (n) => {
4082
4078
  var s = n, {
4083
4079
  children: t,
4084
4080
  className: a,
@@ -4094,43 +4090,43 @@ const it = {
4094
4090
  "asBadge",
4095
4091
  "size"
4096
4092
  ]);
4097
- const { disabled: d } = c, m = r !== void 0 && !_, u = r !== void 0 && _;
4093
+ const { disabled: d } = c, i = r !== void 0 && !_, m = r !== void 0 && _;
4098
4094
  return /* @__PURE__ */ e.createElement(
4099
4095
  P,
4100
- A(E({}, c), {
4096
+ A(w({}, c), {
4101
4097
  as: c.href ? "a" : "button",
4102
4098
  size: "md",
4103
4099
  bold: o,
4104
- className: b(
4100
+ className: f(
4105
4101
  a,
4106
- Ue[We],
4107
- Ue[`${We}--${l}`],
4108
- o && Ue[`${We}--selected`],
4109
- d && Ue[`${We}--disabled`]
4102
+ Ve[Ye],
4103
+ Ve[`${Ye}--${l}`],
4104
+ o && Ve[`${Ye}--selected`],
4105
+ d && Ve[`${Ye}--disabled`]
4110
4106
  )
4111
4107
  }),
4112
4108
  t,
4113
- m && /* @__PURE__ */ e.createElement(P, { as: "span", size: "md", className: Ue[`${We}__count`] }, "(", r, ")"),
4114
- u && /* @__PURE__ */ e.createElement(
4109
+ i && /* @__PURE__ */ e.createElement(P, { as: "span", size: "md", className: Ve[`${Ye}__count`] }, "(", r, ")"),
4110
+ m && /* @__PURE__ */ e.createElement(
4115
4111
  c_,
4116
4112
  {
4117
4113
  "data-testid": "tab-badge",
4118
4114
  count: r,
4119
4115
  size: "compact",
4120
- className: Ue[`${We}__badge`]
4116
+ className: Ve[`${Ye}__badge`]
4121
4117
  }
4122
4118
  )
4123
4119
  );
4124
- }, Io = "lc-TabsWrapper-module__tabs___Y2xyD", Ao = "lc-TabsWrapper-module__tabs__list___i6tVO", Ka = {
4125
- tabs: Io,
4126
- tabs__list: Ao
4127
- }, Za = "tabs", Vl = ({
4120
+ }, Do = "lc-TabsWrapper-module__tabs___Y2xyD", Io = "lc-TabsWrapper-module__tabs__list___i6tVO", Ka = {
4121
+ tabs: Do,
4122
+ tabs__list: Io
4123
+ }, Za = "tabs", Wl = ({
4128
4124
  className: t,
4129
4125
  children: a
4130
- }) => /* @__PURE__ */ e.createElement("div", { className: b(Ka[Za], t) }, a), Yl = ({
4126
+ }) => /* @__PURE__ */ e.createElement("div", { className: f(Ka[Za], t) }, a), Vl = ({
4131
4127
  className: t,
4132
4128
  children: a
4133
- }) => /* @__PURE__ */ e.createElement("div", { className: b(Ka[`${Za}__list`], t) }, a), Bo = ({
4129
+ }) => /* @__PURE__ */ e.createElement("div", { className: f(Ka[`${Za}__list`], t) }, a), Ao = ({
4134
4130
  className: t = "",
4135
4131
  innerEditableRef: a,
4136
4132
  inputRef: r,
@@ -4139,29 +4135,29 @@ const it = {
4139
4135
  value: l
4140
4136
  }) => {
4141
4137
  const [c, n] = e.useState(!1), s = () => a.current, d = () => {
4142
- const h = s();
4143
- return h ? h.innerText : "";
4144
- }, m = () => {
4138
+ const v = s();
4139
+ return v ? v.innerText : "";
4140
+ }, i = () => {
4145
4141
  r && r.current && r.current.focus();
4146
- }, u = (h) => {
4147
- if (h.key === L.enter) {
4148
- h.preventDefault(), m();
4142
+ }, m = (v) => {
4143
+ if (v.key === L.enter) {
4144
+ v.preventDefault(), i();
4149
4145
  return;
4150
4146
  }
4151
- h.key === L.backspace && d() === "" && (n(!0), _(), m());
4152
- }, i = () => {
4153
- const h = s();
4154
- if (!(c || !h)) {
4155
- if (h.innerText === "") {
4147
+ v.key === L.backspace && d() === "" && (n(!0), _(), i());
4148
+ }, u = () => {
4149
+ const v = s();
4150
+ if (!(c || !v)) {
4151
+ if (v.innerText === "") {
4156
4152
  _();
4157
4153
  return;
4158
4154
  }
4159
- o(h.innerText);
4155
+ o(v.innerText);
4160
4156
  }
4161
- }, g = (h) => {
4162
- h.preventDefault();
4163
- const v = h.clipboardData.getData("text/plain");
4164
- document.execCommand("insertHTML", !1, ia(v));
4157
+ }, g = (v) => {
4158
+ v.preventDefault();
4159
+ const b = v.clipboardData.getData("text/plain");
4160
+ document.execCommand("insertHTML", !1, ia(b));
4165
4161
  };
4166
4162
  return /* @__PURE__ */ e.createElement(
4167
4163
  "div",
@@ -4170,8 +4166,8 @@ const it = {
4170
4166
  className: t,
4171
4167
  contentEditable: !0,
4172
4168
  onPaste: g,
4173
- onBlur: i,
4174
- onKeyDown: u,
4169
+ onBlur: u,
4170
+ onKeyDown: m,
4175
4171
  dangerouslySetInnerHTML: { __html: ia(l) }
4176
4172
  }
4177
4173
  );
@@ -4182,7 +4178,7 @@ const it = {
4182
4178
  "tag-input__input--medium": "lc-TagInput-module__tag-input__input--medium___DYF7X",
4183
4179
  "tag-input__input--large": "lc-TagInput-module__tag-input__input--large___G6iEO",
4184
4180
  "tag-input__tag__content": "lc-TagInput-module__tag-input__tag__content___x95-M"
4185
- }, Po = "tag-input__tag", Fo = ({
4181
+ }, Bo = "tag-input__tag", Po = ({
4186
4182
  children: t,
4187
4183
  index: a,
4188
4184
  remove: r,
@@ -4201,25 +4197,25 @@ const it = {
4201
4197
  onRemove: d
4202
4198
  },
4203
4199
  /* @__PURE__ */ e.createElement(
4204
- Bo,
4200
+ Ao,
4205
4201
  {
4206
4202
  value: t,
4207
4203
  inputRef: _,
4208
4204
  innerEditableRef: s,
4209
- className: pt[`${Po}__content`],
4210
- change: (m) => l(a, m),
4205
+ className: pt[`${Bo}__content`],
4206
+ change: (i) => l(a, i),
4211
4207
  remove: d,
4212
4208
  validator: o
4213
4209
  }
4214
4210
  )
4215
4211
  );
4216
- }, It = "tag-input", Ro = [
4212
+ }, It = "tag-input", Fo = [
4217
4213
  L.enter,
4218
4214
  L.spacebar,
4219
4215
  L.tab,
4220
4216
  L.semicolon,
4221
4217
  L.comma
4222
- ], Mo = [L.backspace, L.delete], Lo = (s) => {
4218
+ ], Ro = [L.backspace, L.delete], Mo = (s) => {
4223
4219
  var d = s, {
4224
4220
  id: t,
4225
4221
  tags: a,
@@ -4237,85 +4233,85 @@ const it = {
4237
4233
  "placeholder",
4238
4234
  "size"
4239
4235
  ]);
4240
- const m = b(pt[It], {
4236
+ const i = f(pt[It], {
4241
4237
  [pt[`${It}--error`]]: _
4242
- }), u = b(
4238
+ }), m = f(
4243
4239
  pt[`${It}__input`],
4244
4240
  pt[`${It}__input--${c}`]
4245
- ), [i, g] = e.useState(""), h = e.useRef(null), v = ($) => {
4241
+ ), [u, g] = e.useState(""), v = e.useRef(null), b = ($) => {
4246
4242
  r([...a || [], $]), g("");
4247
4243
  }, p = ($) => {
4248
4244
  const k = [...a || []];
4249
4245
  k.splice($, 1), r(k);
4250
- }, y = ($) => g($.target.value), f = ($) => {
4251
- if (Ro.includes($.key)) {
4252
- if ($.preventDefault(), i === "")
4246
+ }, y = ($) => g($.target.value), h = ($) => {
4247
+ if (Fo.includes($.key)) {
4248
+ if ($.preventDefault(), u === "")
4253
4249
  return;
4254
- v(i);
4255
- } else if (Mo.includes($.key)) {
4256
- if (i !== "" || !(a != null && a.length))
4250
+ b(u);
4251
+ } else if (Ro.includes($.key)) {
4252
+ if (u !== "" || !(a != null && a.length))
4257
4253
  return;
4258
4254
  p(a.length - 1);
4259
4255
  }
4260
- }, w = ($, k) => {
4256
+ }, E = ($, k) => {
4261
4257
  const C = [...a || []];
4262
4258
  C.reduce(
4263
4259
  (V, ee, Se) => V + (ee === k && Se !== $ ? 1 : 0),
4264
4260
  0
4265
4261
  ) > 0 ? C.splice($, 1) : C[$] = k, r(C);
4266
- }, S = ($) => {
4262
+ }, N = ($) => {
4267
4263
  $.preventDefault();
4268
4264
  const C = $.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
4269
4265
  r([...a || [], ...C]);
4270
4266
  };
4271
- return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: m }, a == null ? void 0 : a.map(($, k) => /* @__PURE__ */ e.createElement(
4272
- Fo,
4267
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: i }, a == null ? void 0 : a.map(($, k) => /* @__PURE__ */ e.createElement(
4268
+ Po,
4273
4269
  {
4274
4270
  index: k,
4275
4271
  key: `${k}${$}`,
4276
- update: w,
4272
+ update: E,
4277
4273
  remove: p,
4278
- inputRef: h,
4274
+ inputRef: v,
4279
4275
  validator: o,
4280
4276
  size: c
4281
4277
  },
4282
4278
  $
4283
4279
  )), /* @__PURE__ */ e.createElement(
4284
4280
  "input",
4285
- A(E({}, n), {
4281
+ A(w({}, n), {
4286
4282
  id: t,
4287
- ref: h,
4288
- className: u,
4283
+ ref: v,
4284
+ className: m,
4289
4285
  placeholder: l,
4290
- value: i,
4286
+ value: u,
4291
4287
  onChange: y,
4292
- onKeyDown: f,
4293
- onPaste: S
4288
+ onKeyDown: h,
4289
+ onPaste: N
4294
4290
  })
4295
4291
  )), _ && /* @__PURE__ */ e.createElement(oa, null, _));
4296
- }, Oo = /^(?:[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, zo = "name@company.com", Ho = (t) => Oo.test(t), ql = ({
4292
+ }, Lo = /^(?:[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, Oo = "name@company.com", zo = (t) => Lo.test(t), Yl = ({
4297
4293
  id: t,
4298
4294
  tags: a,
4299
4295
  onChange: r,
4300
4296
  error: o,
4301
- placeholder: _ = zo,
4297
+ placeholder: _ = Oo,
4302
4298
  size: l
4303
4299
  }) => /* @__PURE__ */ e.createElement(
4304
- Lo,
4300
+ Mo,
4305
4301
  {
4306
4302
  id: t,
4307
4303
  tags: a,
4308
4304
  error: o,
4309
4305
  onChange: r,
4310
4306
  placeholder: _,
4311
- validator: Ho,
4307
+ validator: zo,
4312
4308
  size: l
4313
4309
  }
4314
- ), Go = "lc-Toast-module__toast___j5Amn", Uo = "lc-Toast-module__toast__content___HjaNw", Wo = "lc-Toast-module__toast__actions___JWu-1", Vo = "lc-Toast-module__toast__actions__button___Iblrl", W = {
4315
- toast: Go,
4316
- toast__content: Uo,
4317
- toast__actions: Wo,
4318
- toast__actions__button: Vo,
4310
+ ), Ho = "lc-Toast-module__toast___j5Amn", Go = "lc-Toast-module__toast__content___HjaNw", Uo = "lc-Toast-module__toast__actions___JWu-1", Wo = "lc-Toast-module__toast__actions__button___Iblrl", W = {
4311
+ toast: Ho,
4312
+ toast__content: Go,
4313
+ toast__actions: Uo,
4314
+ toast__actions__button: Wo,
4319
4315
  "toast__actions__button--success": "lc-Toast-module__toast__actions__button--success___5JmFw",
4320
4316
  "toast__actions__button--warning": "lc-Toast-module__toast__actions__button--warning___zGQ-Q",
4321
4317
  "toast__actions__button--error": "lc-Toast-module__toast__actions__button--error___PuTv3",
@@ -4341,7 +4337,7 @@ const it = {
4341
4337
  "toast-appear-active--fade": "lc-Toast-module__toast-appear-active--fade___D3--J",
4342
4338
  "toast-exit--fade": "lc-Toast-module__toast-exit--fade___iDA1p",
4343
4339
  "toast-exit-active--fade": "lc-Toast-module__toast-exit-active--fade___tL7sb"
4344
- }, Yo = {
4340
+ }, Vo = {
4345
4341
  success: {
4346
4342
  source: Aa
4347
4343
  },
@@ -4354,7 +4350,7 @@ const it = {
4354
4350
  info: {
4355
4351
  source: ea
4356
4352
  }
4357
- }, Ie = "toast", qo = (n) => {
4353
+ }, Ie = "toast", Yo = (n) => {
4358
4354
  var s = n, {
4359
4355
  action: t,
4360
4356
  className: a,
@@ -4370,24 +4366,24 @@ const it = {
4370
4366
  "kind",
4371
4367
  "onClose"
4372
4368
  ]);
4373
- const d = b(
4369
+ const d = f(
4374
4370
  W[Ie],
4375
4371
  W[`${Ie}--${_}`],
4376
4372
  a
4377
- ), m = typeof r == "string", u = (i) => i && i.closesOnClick && l ? (i.onClick(), l()) : i.onClick();
4378
- return /* @__PURE__ */ e.createElement("div", E({ className: d }, c), /* @__PURE__ */ e.createElement("div", { className: W[`${Ie}__icon`] }, /* @__PURE__ */ e.createElement(T, A(E({}, Yo[_]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: W[`${Ie}__content`] }, m ? /* @__PURE__ */ e.createElement(P, { as: "div" }, r) : r), (t || o) && /* @__PURE__ */ e.createElement("div", { className: W[`${Ie}__actions`] }, t && /* @__PURE__ */ e.createElement(
4379
- R,
4373
+ ), i = typeof r == "string", m = (u) => u && u.closesOnClick && l ? (u.onClick(), l()) : u.onClick();
4374
+ return /* @__PURE__ */ e.createElement("div", w({ className: d }, c), /* @__PURE__ */ e.createElement("div", { className: W[`${Ie}__icon`] }, /* @__PURE__ */ e.createElement(D, A(w({}, Vo[_]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: W[`${Ie}__content`] }, i ? /* @__PURE__ */ e.createElement(P, { as: "div" }, r) : r), (t || o) && /* @__PURE__ */ e.createElement("div", { className: W[`${Ie}__actions`] }, t && /* @__PURE__ */ e.createElement(
4375
+ M,
4380
4376
  {
4381
4377
  className: W[`${Ie}__actions--custom`],
4382
4378
  kind: "text",
4383
4379
  size: "compact",
4384
- onClick: () => u(t)
4380
+ onClick: () => m(t)
4385
4381
  },
4386
4382
  t.label
4387
4383
  ), o && /* @__PURE__ */ e.createElement(
4388
- R,
4384
+ M,
4389
4385
  {
4390
- className: b(
4386
+ className: f(
4391
4387
  W[`${Ie}__actions__button`],
4392
4388
  W[`${Ie}__actions__button--${_}`]
4393
4389
  ),
@@ -4395,10 +4391,10 @@ const it = {
4395
4391
  kind: "text",
4396
4392
  size: "compact",
4397
4393
  onClick: l,
4398
- icon: /* @__PURE__ */ e.createElement(T, { source: xe, size: "medium" })
4394
+ icon: /* @__PURE__ */ e.createElement(D, { source: xe, size: "medium" })
4399
4395
  }
4400
4396
  )));
4401
- }, Jo = 200, ut = "toast-wrapper", Jl = ({
4397
+ }, qo = 200, ut = "toast-wrapper", ql = ({
4402
4398
  className: t,
4403
4399
  toasts: a = [],
4404
4400
  fixed: r = !0,
@@ -4407,7 +4403,7 @@ const it = {
4407
4403
  verticalPosition: l = "top",
4408
4404
  horizontalPosition: c = "center"
4409
4405
  }) => {
4410
- const n = b(
4406
+ const n = f(
4411
4407
  W[ut],
4412
4408
  {
4413
4409
  [W[`${ut}--fixed`]]: r,
@@ -4417,7 +4413,7 @@ const it = {
4417
4413
  },
4418
4414
  t
4419
4415
  );
4420
- return /* @__PURE__ */ e.createElement("div", { className: n }, /* @__PURE__ */ e.createElement(La, { component: null }, a.map(({ id: s, kind: d, content: m, removable: u, action: i, onClose: g }) => /* @__PURE__ */ e.createElement(
4416
+ return /* @__PURE__ */ e.createElement("div", { className: n }, /* @__PURE__ */ e.createElement(La, { component: null }, a.map(({ id: s, kind: d, content: i, removable: m, action: u, onClose: g }) => /* @__PURE__ */ e.createElement(
4421
4417
  aa,
4422
4418
  {
4423
4419
  key: s,
@@ -4427,42 +4423,42 @@ const it = {
4427
4423
  exit: W[`toast-exit--${_}`],
4428
4424
  exitActive: W[`toast-exit-active--${_}`]
4429
4425
  },
4430
- timeout: Jo
4426
+ timeout: qo
4431
4427
  },
4432
4428
  /* @__PURE__ */ e.createElement(
4433
- qo,
4429
+ Yo,
4434
4430
  {
4435
4431
  kind: d,
4436
4432
  onClose: g,
4437
- removable: u,
4438
- action: i
4433
+ removable: m,
4434
+ action: u
4439
4435
  },
4440
- m
4436
+ i
4441
4437
  )
4442
4438
  ))));
4443
- }, jo = "lc-Textarea-module__textarea___g6U8F", At = {
4444
- textarea: jo,
4439
+ }, Jo = "lc-Textarea-module__textarea___g6U8F", At = {
4440
+ textarea: Jo,
4445
4441
  "textarea--focused": "lc-Textarea-module__textarea--focused___1vtEx",
4446
4442
  "textarea--disabled": "lc-Textarea-module__textarea--disabled___xXaGv",
4447
4443
  "textarea--error": "lc-Textarea-module__textarea--error___0EGuq"
4448
- }, Bt = "textarea", jl = e.forwardRef(
4444
+ }, Bt = "textarea", Jl = e.forwardRef(
4449
4445
  (_, o) => {
4450
4446
  var l = _, { className: t, error: a } = l, r = B(l, ["className", "error"]);
4451
- const { disabled: c, onBlur: n, onFocus: s } = r, [d, m] = e.useState(!1), u = b(t, At[Bt], {
4447
+ const { disabled: c, onBlur: n, onFocus: s } = r, [d, i] = e.useState(!1), m = f(t, At[Bt], {
4452
4448
  [At[`${Bt}--disabled`]]: c,
4453
4449
  [At[`${Bt}--focused`]]: d,
4454
4450
  [At[`${Bt}--error`]]: a
4455
- }), i = (h) => {
4456
- m(!1), n == null || n(h);
4457
- }, g = (h) => {
4458
- m(!0), s == null || s(h);
4451
+ }), u = (v) => {
4452
+ i(!1), n == null || n(v);
4453
+ }, g = (v) => {
4454
+ i(!0), s == null || s(v);
4459
4455
  };
4460
- return /* @__PURE__ */ e.createElement("div", { className: u }, /* @__PURE__ */ e.createElement(
4456
+ return /* @__PURE__ */ e.createElement("div", { className: m }, /* @__PURE__ */ e.createElement(
4461
4457
  "textarea",
4462
- A(E({}, r), {
4458
+ A(w({}, r), {
4463
4459
  ref: o,
4464
4460
  onFocus: g,
4465
- onBlur: i
4461
+ onBlur: u
4466
4462
  })
4467
4463
  ));
4468
4464
  }
@@ -4478,7 +4474,7 @@ const it = {
4478
4474
  "aria-label": "Retry",
4479
4475
  onClick: r
4480
4476
  },
4481
- /* @__PURE__ */ e.createElement(T, { size: "small", source: sr })
4477
+ /* @__PURE__ */ e.createElement(D, { size: "small", source: sr })
4482
4478
  ), a && t !== "success" && /* @__PURE__ */ e.createElement(
4483
4479
  "button",
4484
4480
  {
@@ -4487,7 +4483,7 @@ const it = {
4487
4483
  "aria-label": "Close",
4488
4484
  onClick: a
4489
4485
  },
4490
- /* @__PURE__ */ e.createElement(T, { size: "small", source: xe })
4486
+ /* @__PURE__ */ e.createElement(D, { size: "small", source: xe })
4491
4487
  )), me = {
4492
4488
  "file-upload-progress": "lc-FileUploadProgress-module__file-upload-progress___xw8h8",
4493
4489
  "file-upload-progress__icon": "lc-FileUploadProgress-module__file-upload-progress__icon___p8Rfz",
@@ -4499,7 +4495,7 @@ const it = {
4499
4495
  "file-upload-progress__wrapper__header__title": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title___2IVuv",
4500
4496
  "file-upload-progress__wrapper__header__title--success": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--success___E6DQl",
4501
4497
  "file-upload-progress__wrapper__header__title--error": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--error___5BPpI"
4502
- }, Ce = "file-upload-progress", qt = `${Ce}__wrapper__header__title`, Ko = e.forwardRef(
4498
+ }, Ce = "file-upload-progress", qt = `${Ce}__wrapper__header__title`, jo = e.forwardRef(
4503
4499
  ({
4504
4500
  actionsVisibility: t = "hidden",
4505
4501
  className: a,
@@ -4513,23 +4509,23 @@ const it = {
4513
4509
  }, d) => /* @__PURE__ */ e.createElement("div", { className: me[Ce], ref: d }, r && c !== "success" && /* @__PURE__ */ e.createElement("div", { className: me[`${Ce}__icon`] }, r), c === "success" && /* @__PURE__ */ e.createElement(
4514
4510
  "div",
4515
4511
  {
4516
- className: b(
4512
+ className: f(
4517
4513
  me[`${Ce}__icon`],
4518
4514
  me[`${Ce}__icon--success`]
4519
4515
  )
4520
4516
  },
4521
- /* @__PURE__ */ e.createElement(T, { source: ta })
4517
+ /* @__PURE__ */ e.createElement(D, { source: ta })
4522
4518
  ), /* @__PURE__ */ e.createElement(
4523
4519
  "div",
4524
4520
  {
4525
- className: b(me[`${Ce}__wrapper`], {
4521
+ className: f(me[`${Ce}__wrapper`], {
4526
4522
  [me[`${Ce}__wrapper--with-icon`]]: r
4527
4523
  })
4528
4524
  },
4529
4525
  /* @__PURE__ */ e.createElement("div", { className: me[`${Ce}__wrapper__header`] }, o && /* @__PURE__ */ e.createElement(
4530
4526
  "div",
4531
4527
  {
4532
- className: b(me[qt], {
4528
+ className: f(me[qt], {
4533
4529
  [me[`${qt}--success`]]: c === "success",
4534
4530
  [me[`${qt}--error`]]: c === "error"
4535
4531
  })
@@ -4540,7 +4536,7 @@ const it = {
4540
4536
  ), t !== "hidden" && /* @__PURE__ */ e.createElement(
4541
4537
  "div",
4542
4538
  {
4543
- className: b({
4539
+ className: f({
4544
4540
  [me[`${Ce}__wrapper__header__actions`]]: t === "hover"
4545
4541
  })
4546
4542
  },
@@ -4554,7 +4550,7 @@ const it = {
4554
4550
  )
4555
4551
  )),
4556
4552
  c !== "success" && /* @__PURE__ */ e.createElement(
4557
- bo,
4553
+ fo,
4558
4554
  {
4559
4555
  className: a,
4560
4556
  percent: _,
@@ -4563,7 +4559,7 @@ const it = {
4563
4559
  }
4564
4560
  )
4565
4561
  ))
4566
- ), M = {
4562
+ ), R = {
4567
4563
  "upload-bar": "lc-UploadBar-module__upload-bar___6Or8h",
4568
4564
  "upload-bar__loader-test": "lc-UploadBar-module__upload-bar__loader-test___aZb2J",
4569
4565
  "upload-bar--error": "lc-UploadBar-module__upload-bar--error___MzvhT",
@@ -4584,14 +4580,14 @@ const it = {
4584
4580
  "upload-bar__files--exit-done": "lc-UploadBar-module__upload-bar__files--exit-done___2I72G",
4585
4581
  "upload-bar__files-wrapper": "lc-UploadBar-module__upload-bar__files-wrapper___93bs8",
4586
4582
  "upload-bar__files__list": "lc-UploadBar-module__upload-bar__files__list___QJFEq"
4587
- }, Q = "upload-bar", Ne = `${Q}__wrapper__header`, Zo = 300, Qo = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement("div", { className: M[`${Ne}__success-icon`] }, /* @__PURE__ */ e.createElement(T, { source: ta })) : t === "error" ? /* @__PURE__ */ e.createElement("div", { className: M[`${Ne}__error-icon`] }, /* @__PURE__ */ e.createElement(T, { source: ir })) : /* @__PURE__ */ e.createElement(
4588
- fo,
4583
+ }, Q = "upload-bar", Ne = `${Q}__wrapper__header`, Ko = 300, Zo = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement("div", { className: R[`${Ne}__success-icon`] }, /* @__PURE__ */ e.createElement(D, { source: ta })) : t === "error" ? /* @__PURE__ */ e.createElement("div", { className: R[`${Ne}__error-icon`] }, /* @__PURE__ */ e.createElement(D, { source: ir })) : /* @__PURE__ */ e.createElement(
4584
+ go,
4589
4585
  {
4590
- className: M[`${Ne}__loader`],
4586
+ className: R[`${Ne}__loader`],
4591
4587
  status: t,
4592
4588
  progressValue: a
4593
4589
  }
4594
- ), Kl = ({
4590
+ ), jl = ({
4595
4591
  children: t,
4596
4592
  className: a,
4597
4593
  progressValue: r,
@@ -4602,17 +4598,17 @@ const it = {
4602
4598
  icon: n,
4603
4599
  size: s,
4604
4600
  mode: d = "multiple",
4605
- onCloseButtonClick: m,
4606
- onRetryButtonClick: u
4601
+ onCloseButtonClick: i,
4602
+ onRetryButtonClick: m
4607
4603
  }) => {
4608
- const [i, g] = e.useState(_ || !1), h = c === "error", v = c === "success", p = b(M[Q], a, {
4609
- [M[`${Q}--error`]]: h,
4610
- [M[`${Q}--success`]]: v
4611
- }), y = !(h && (u || m)), f = () => g(!i);
4612
- return d === "single" ? /* @__PURE__ */ e.createElement("div", { className: p }, /* @__PURE__ */ e.createElement("div", { className: M[`${Q}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: M[`${Ne}`] }, /* @__PURE__ */ e.createElement(
4613
- Ko,
4604
+ const [u, g] = e.useState(_ || !1), v = c === "error", b = c === "success", p = f(R[Q], a, {
4605
+ [R[`${Q}--error`]]: v,
4606
+ [R[`${Q}--success`]]: b
4607
+ }), y = !(v && (m || i)), h = () => g(!u);
4608
+ return d === "single" ? /* @__PURE__ */ e.createElement("div", { className: p }, /* @__PURE__ */ e.createElement("div", { className: R[`${Q}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${Ne}`] }, /* @__PURE__ */ e.createElement(
4609
+ jo,
4614
4610
  {
4615
- title: h && l || o,
4611
+ title: v && l || o,
4616
4612
  progressValue: r,
4617
4613
  status: c,
4618
4614
  icon: n,
@@ -4622,109 +4618,109 @@ const it = {
4622
4618
  Xt,
4623
4619
  {
4624
4620
  status: c,
4625
- onCloseButtonClick: m,
4626
- onRetryButtonClick: u
4621
+ onCloseButtonClick: i,
4622
+ onRetryButtonClick: m
4627
4623
  }
4628
4624
  ))) : /* @__PURE__ */ e.createElement("div", { className: p }, /* @__PURE__ */ e.createElement(
4629
4625
  "div",
4630
4626
  {
4631
- className: M[`${Q}__wrapper`],
4632
- onClick: f
4627
+ className: R[`${Q}__wrapper`],
4628
+ onClick: h
4633
4629
  },
4634
- /* @__PURE__ */ e.createElement("div", { className: M[`${Ne}`] }, /* @__PURE__ */ e.createElement("div", { className: M[`${Ne}__icon`] }, Qo(c, r)), /* @__PURE__ */ e.createElement("div", { className: M[`${Ne}__title`] }, /* @__PURE__ */ e.createElement(P, { size: "sm", as: "div" }, h ? l : o)), y && /* @__PURE__ */ e.createElement(
4630
+ /* @__PURE__ */ e.createElement("div", { className: R[`${Ne}`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${Ne}__icon`] }, Zo(c, r)), /* @__PURE__ */ e.createElement("div", { className: R[`${Ne}__title`] }, /* @__PURE__ */ e.createElement(P, { size: "sm", as: "div" }, v ? l : o)), y && /* @__PURE__ */ e.createElement(
4635
4631
  "button",
4636
4632
  {
4637
- className: M[`${Ne}__collapse-button`],
4633
+ className: R[`${Ne}__collapse-button`],
4638
4634
  type: "button",
4639
- onClick: f
4635
+ onClick: h
4640
4636
  },
4641
- i ? /* @__PURE__ */ e.createElement(T, { source: Ft }) : /* @__PURE__ */ e.createElement(T, { source: ft })
4642
- ), c === "error" && /* @__PURE__ */ e.createElement("div", { className: M[`${Ne}__actions-container`] }, /* @__PURE__ */ e.createElement(
4637
+ u ? /* @__PURE__ */ e.createElement(D, { source: Ft }) : /* @__PURE__ */ e.createElement(D, { source: ft })
4638
+ ), c === "error" && /* @__PURE__ */ e.createElement("div", { className: R[`${Ne}__actions-container`] }, /* @__PURE__ */ e.createElement(
4643
4639
  Xt,
4644
4640
  {
4645
4641
  status: c,
4646
- onCloseButtonClick: m,
4647
- onRetryButtonClick: u
4642
+ onCloseButtonClick: i,
4643
+ onRetryButtonClick: m
4648
4644
  }
4649
4645
  )))
4650
- ), /* @__PURE__ */ e.createElement(La, { component: null }, i && /* @__PURE__ */ e.createElement(
4646
+ ), /* @__PURE__ */ e.createElement(La, { component: null }, u && /* @__PURE__ */ e.createElement(
4651
4647
  aa,
4652
4648
  {
4653
- timeout: Zo,
4649
+ timeout: Ko,
4654
4650
  classNames: {
4655
- enter: M[`${Q}__files--enter`],
4656
- enterActive: M[`${Q}__files--enter-active`],
4657
- exit: M[`${Q}__files--exit`],
4658
- exitActive: M[`${Q}__files--exit-active`],
4659
- exitDone: M[`${Q}__files--exit-done`]
4651
+ enter: R[`${Q}__files--enter`],
4652
+ enterActive: R[`${Q}__files--enter-active`],
4653
+ exit: R[`${Q}__files--exit`],
4654
+ exitActive: R[`${Q}__files--exit-active`],
4655
+ exitDone: R[`${Q}__files--exit-done`]
4660
4656
  }
4661
4657
  },
4662
- /* @__PURE__ */ e.createElement("div", { className: M[`${Q}__files`] }, /* @__PURE__ */ e.createElement("div", { className: M[`${Q}__files-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: M[`${Q}__files__list`] }, t)))
4658
+ /* @__PURE__ */ e.createElement("div", { className: R[`${Q}__files`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${Q}__files-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${Q}__files__list`] }, t)))
4663
4659
  )));
4664
4660
  };
4665
4661
  export {
4666
- Jo as ANIMATION_TIME,
4667
- El as ActionBar,
4668
- Ir as ActionMenu,
4669
- Ar as ActionMenuItem,
4670
- $l as Alert,
4671
- wl as Avatar,
4662
+ qo as ANIMATION_TIME,
4663
+ yl as ActionBar,
4664
+ $r as ActionMenu,
4665
+ wr as ActionMenuItem,
4666
+ El as Alert,
4667
+ $l as Avatar,
4672
4668
  c_ as Badge,
4673
- R as Button,
4674
- Nl as Card,
4675
- xl as Checkbox,
4669
+ M as Button,
4670
+ Cl as Card,
4671
+ Nl as Checkbox,
4676
4672
  R_ as DatePicker,
4677
- ul as DesignToken,
4678
- fl as Display,
4679
- ql as EmailTagInput,
4673
+ dl as DesignToken,
4674
+ gl as Display,
4675
+ Yl as EmailTagInput,
4680
4676
  Rt as FieldDescription,
4681
4677
  oa as FieldError,
4682
- Sl as FieldGroup,
4683
- Ko as FileUploadProgress,
4678
+ xl as FieldGroup,
4679
+ jo as FileUploadProgress,
4684
4680
  Xt as FileUploadProgressActions,
4685
- Tl as Form,
4686
- Dl as FormField,
4687
- Il as FormGroup,
4688
- Je as Heading,
4689
- T as Icon,
4690
- vl as Info,
4691
- Al as Input,
4692
- hl as Interactive,
4693
- Bl as Link,
4681
+ Sl as Form,
4682
+ Tl as FormField,
4683
+ Dl as FormGroup,
4684
+ Ke as Heading,
4685
+ D as Icon,
4686
+ bl as Info,
4687
+ Il as Input,
4688
+ vl as Interactive,
4689
+ Al as Link,
4694
4690
  _a as Loader,
4695
- Pl as Modal,
4691
+ Bl as Modal,
4696
4692
  K_ as ModalBase,
4697
4693
  xa as ModalCloseButton,
4698
- Rl as ModalHeader,
4699
- Fl as ModalPortal,
4700
- Ml as NumericInput,
4701
- Ll as Picker,
4694
+ Fl as ModalHeader,
4695
+ Pl as ModalPortal,
4696
+ Rl as NumericInput,
4697
+ Ml as Picker,
4702
4698
  X_ as PickerList,
4703
- Dr as Popover,
4704
- bo as ProgressBar,
4705
- fo as ProgressCircle,
4706
- Ol as PromoBanner,
4707
- zl as PromoBannerV2,
4708
- Hl as RadioButton,
4709
- gl as RadiusToken,
4699
+ Er as Popover,
4700
+ fo as ProgressBar,
4701
+ go as ProgressCircle,
4702
+ Ll as PromoBanner,
4703
+ Ol as PromoBannerV2,
4704
+ zl as RadioButton,
4705
+ pl as RadiusToken,
4710
4706
  L_ as RangeDatePicker,
4711
- yl as Reports,
4712
- Gl as SearchInput,
4713
- Cl as SegmentedControl,
4714
- pl as ShadowToken,
4715
- bl as Simple,
4716
- ml as SpacingToken,
4717
- Ul as Switch,
4718
- Wl as Tab,
4719
- Yl as TabsList,
4720
- Vl as TabsWrapper,
4707
+ kl as Reports,
4708
+ Hl as SearchInput,
4709
+ wl as SegmentedControl,
4710
+ ml as ShadowToken,
4711
+ fl as Simple,
4712
+ ul as SpacingToken,
4713
+ Gl as Switch,
4714
+ Ul as Tab,
4715
+ Vl as TabsList,
4716
+ Wl as TabsWrapper,
4721
4717
  qa as Tag,
4722
- Lo as TagInput,
4718
+ Mo as TagInput,
4723
4719
  P as Text,
4724
- jl as Textarea,
4725
- qo as Toast,
4726
- Jl as ToastWrapper,
4720
+ Jl as Textarea,
4721
+ Yo as Toast,
4722
+ ql as ToastWrapper,
4727
4723
  Wa as Tooltip,
4728
- Kl as UploadBar,
4729
- kl as UserGuide
4724
+ jl as UploadBar,
4725
+ hl as UserGuide
4730
4726
  };