@livechat/design-system-react-components 1.0.0-beta.0 → 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dsrc.es.js CHANGED
@@ -1,40 +1,40 @@
1
- var Ga = Object.defineProperty, Ua = Object.defineProperties;
2
- var Wa = Object.getOwnPropertyDescriptors;
3
- var dt = Object.getOwnPropertySymbols;
4
- var Xt = Object.prototype.hasOwnProperty, jt = Object.prototype.propertyIsEnumerable;
5
- var It = (t, a, r) => a in t ? Ga(t, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[a] = r, w = (t, a) => {
1
+ var Ua = Object.defineProperty, Wa = Object.defineProperties;
2
+ var Va = Object.getOwnPropertyDescriptors;
3
+ var ut = Object.getOwnPropertySymbols;
4
+ var jt = Object.prototype.hasOwnProperty, ea = Object.prototype.propertyIsEnumerable;
5
+ var Bt = (t, a, r) => a in t ? Ua(t, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[a] = r, w = (t, a) => {
6
6
  for (var r in a || (a = {}))
7
- Xt.call(a, r) && It(t, r, a[r]);
8
- if (dt)
9
- for (var r of dt(a))
10
- jt.call(a, r) && It(t, r, a[r]);
7
+ jt.call(a, r) && Bt(t, r, a[r]);
8
+ if (ut)
9
+ for (var r of ut(a))
10
+ ea.call(a, r) && Bt(t, r, a[r]);
11
11
  return t;
12
- }, B = (t, a) => Ua(t, Wa(a));
12
+ }, B = (t, a) => Wa(t, Va(a));
13
13
  var P = (t, a) => {
14
14
  var r = {};
15
15
  for (var _ in t)
16
- Xt.call(t, _) && a.indexOf(_) < 0 && (r[_] = t[_]);
17
- if (t != null && dt)
18
- for (var _ of dt(t))
19
- a.indexOf(_) < 0 && jt.call(t, _) && (r[_] = t[_]);
16
+ jt.call(t, _) && a.indexOf(_) < 0 && (r[_] = t[_]);
17
+ if (t != null && ut)
18
+ for (var _ of ut(t))
19
+ a.indexOf(_) < 0 && ea.call(t, _) && (r[_] = t[_]);
20
20
  return r;
21
21
  };
22
- var Bt = (t, a, r) => (It(t, typeof a != "symbol" ? a + "" : a, r), r);
22
+ var Pt = (t, a, r) => (Bt(t, typeof a != "symbol" ? a + "" : a, r), r);
23
23
  import * as e from "react";
24
- import We, { useReducer as Va, useRef as Ya, useEffect as Ve, useCallback as ut, useMemo as mt } from "react";
24
+ import We, { useReducer as Ya, useRef as qa, useEffect as Ve, useCallback as mt, useMemo as pt } from "react";
25
25
  import f from "clsx";
26
- import { useFloating as Ea, offset as ka, flip as $a, autoUpdate as wa, arrow as qa } from "@floating-ui/react-dom";
27
- import { Close as xe, Info as Yt, Warning as Ca, CheckCircle as Na, Block as xa, ChevronUp as xt, ChevronDown as St, VisibilityOn as Ja, VisibilityOff as Ka, Check as qt, Search as Qa, LockBlackFilled as Za, Refresh as Xa, Error as ja } from "@livechat/design-system-icons/react/tabler";
28
- import Sa from "lodash.debounce";
29
- import { Person as er, DoubleArrowLeft as tr, ChevronLeft as ar, ChevronRight as rr, DoubleArrowRight as _r, Close as Da } from "@livechat/design-system-icons/react/material";
30
- import { getContrast as Jt } from "polished";
31
- import or from "react-day-picker";
32
- import { subMonths as Ge, differenceInCalendarMonths as ea, addMonths as ta, isSameMonth as zt, isSameDay as Ht, isAfter as Gt, differenceInCalendarDays as Ta } from "date-fns";
33
- import * as lr from "react-dom";
34
- import { cx as cr, css as Ye } from "@emotion/css";
35
- import aa from "lodash.escape";
36
- import { TransitionGroup as Ia, CSSTransition as Kt } from "react-transition-group";
37
- const Jo = {
26
+ import { useFloating as ka, offset as $a, flip as wa, autoUpdate as Ca, arrow as Ja } from "@floating-ui/react-dom";
27
+ import { Close as xe, Info as qt, Warning as Na, CheckCircle as xa, Block as Sa, ChevronUp as St, ChevronDown as Dt, VisibilityOn as Ka, VisibilityOff as Qa, Check as Jt, Search as Za, LockBlackFilled as Xa, Refresh as ja, Error as er } from "@livechat/design-system-icons/react/tabler";
28
+ import Da from "lodash.debounce";
29
+ import { Person as tr, DoubleArrowLeft as ar, ChevronLeft as rr, ChevronRight as _r, DoubleArrowRight as or, Close as Ta } from "@livechat/design-system-icons/react/material";
30
+ import { getContrast as Kt } from "polished";
31
+ import lr from "react-day-picker";
32
+ import { subMonths as Ge, differenceInCalendarMonths as ta, addMonths as aa, isSameMonth as Ht, isSameDay as Gt, isAfter as Ut, differenceInCalendarDays as Ia } from "date-fns";
33
+ import * as cr from "react-dom";
34
+ import { cx as nr, css as Ye } from "@emotion/css";
35
+ import ra from "lodash.escape";
36
+ import { TransitionGroup as Ba, CSSTransition as Qt } from "react-transition-group";
37
+ const Ko = {
38
38
  Background: "--background",
39
39
  // deprecated
40
40
  Background01: "--background-01",
@@ -302,7 +302,7 @@ const Jo = {
302
302
  IllustrationsStroke: "--illustrations-stroke",
303
303
  TagSurface01: "--tag-surface-01",
304
304
  TagContent01: "--tag-content-01"
305
- }, Ko = {
305
+ }, Qo = {
306
306
  Spacing0: "--spacing-0",
307
307
  Spacing05: "--spacing-05",
308
308
  Spacing1: "--spacing-1",
@@ -318,21 +318,21 @@ const Jo = {
318
318
  Spacing18: "--spacing-18",
319
319
  Spacing20: "--spacing-20",
320
320
  Spacing24: "--spacing-24"
321
- }, Qo = {
321
+ }, Zo = {
322
322
  Float: "--shadow-float",
323
323
  PopOver: "--shadow-pop-over",
324
324
  Modal: "--shadow-modal",
325
325
  Focus: "--shadow-focus"
326
- }, nr = "lc-Popover-module__popover___8X1b2", ra = {
327
- popover: nr,
326
+ }, sr = "lc-Popover-module__popover___8X1b2", _a = {
327
+ popover: sr,
328
328
  "popover--visible": "lc-Popover-module__popover--visible___u5NXB"
329
- }, sr = "lc-Typography-module__caps___c3eNJ", ot = {
329
+ }, ir = "lc-Typography-module__caps___c3eNJ", ot = {
330
330
  "heading-xl": "lc-Typography-module__heading-xl___nhr-6",
331
331
  "heading-lg": "lc-Typography-module__heading-lg___XYF7l",
332
332
  "heading-md": "lc-Typography-module__heading-md___wHOIs",
333
333
  "heading-sm": "lc-Typography-module__heading-sm___nBmTV",
334
334
  "heading-xs": "lc-Typography-module__heading-xs___VcZBs",
335
- caps: sr,
335
+ caps: ir,
336
336
  "caps--bold": "lc-Typography-module__caps--bold___OZovw",
337
337
  "paragraph-md": "lc-Typography-module__paragraph-md___UGoqq",
338
338
  "paragraph-md--bold": "lc-Typography-module__paragraph-md--bold___mWcMG",
@@ -342,7 +342,7 @@ const Jo = {
342
342
  "paragraph-sm--bold": "lc-Typography-module__paragraph-sm--bold___fAjI5",
343
343
  "paragraph-xs": "lc-Typography-module__paragraph-xs___OUooD",
344
344
  "paragraph-xs--bold": "lc-Typography-module__paragraph-xs--bold___z7om7"
345
- }, ir = {
345
+ }, dr = {
346
346
  xl: "h1",
347
347
  lg: "h2",
348
348
  md: "h3",
@@ -361,12 +361,12 @@ const Jo = {
361
361
  "className"
362
362
  ]);
363
363
  return e.createElement(
364
- t || ir[a],
364
+ t || dr[a],
365
365
  w({ className: f(ot[`heading-${a}`], _) }, o),
366
366
  r
367
367
  );
368
- }, A = (d) => {
369
- var s = d, {
368
+ }, A = (i) => {
369
+ var u = i, {
370
370
  as: t = "p",
371
371
  size: a = "md",
372
372
  caps: r = !1,
@@ -374,8 +374,8 @@ const Jo = {
374
374
  underline: o = !1,
375
375
  strike: l = !1,
376
376
  children: c,
377
- className: i
378
- } = s, n = P(s, [
377
+ className: d
378
+ } = u, n = P(u, [
379
379
  "as",
380
380
  "size",
381
381
  "caps",
@@ -385,23 +385,23 @@ const Jo = {
385
385
  "children",
386
386
  "className"
387
387
  ]);
388
- const m = r ? "caps" : `paragraph-${a}`;
388
+ const s = r ? "caps" : `paragraph-${a}`;
389
389
  return e.createElement(
390
390
  t,
391
391
  w({
392
392
  className: f(
393
393
  {
394
- [ot[`${m}`]]: !0,
395
- [ot[`${m}--bold`]]: _,
396
- [ot[`${m}--strike`]]: l,
397
- [ot[`${m}--underline`]]: o
394
+ [ot[`${s}`]]: !0,
395
+ [ot[`${s}--bold`]]: _,
396
+ [ot[`${s}--strike`]]: l,
397
+ [ot[`${s}--underline`]]: o
398
398
  },
399
- i
399
+ d
400
400
  )
401
401
  }, n),
402
402
  c
403
403
  );
404
- }, dr = ({
404
+ }, ur = ({
405
405
  triggerRenderer: t,
406
406
  onClose: a,
407
407
  children: r,
@@ -409,54 +409,54 @@ const Jo = {
409
409
  placement: o,
410
410
  flipOptions: l,
411
411
  isVisible: c = !1,
412
- closeOnEsc: i = !0
412
+ closeOnEsc: d = !0
413
413
  }) => {
414
- const [n, d] = e.useState(!1), s = e.useRef(!1), {
415
- x: m,
416
- y: u,
414
+ const [n, i] = e.useState(!1), u = e.useRef(!1), {
415
+ x: s,
416
+ y: m,
417
417
  reference: b,
418
418
  floating: h,
419
- strategy: p,
420
- refs: g,
419
+ strategy: g,
420
+ refs: p,
421
421
  update: E,
422
422
  placement: v
423
- } = Ea({
424
- middleware: [ka(4), $a(l)],
423
+ } = ka({
424
+ middleware: [$a(4), wa(l)],
425
425
  placement: o
426
426
  });
427
427
  e.useEffect(() => {
428
- d(c);
428
+ i(c);
429
429
  }, [c]), e.useEffect(() => {
430
- a && s.current !== n && !n && a(), s.current = n;
430
+ a && u.current !== n && !n && a(), u.current = n;
431
431
  }, [n]), e.useEffect(() => {
432
432
  const k = (y) => {
433
- i && y.key === "Escape" && d(!1);
433
+ d && y.key === "Escape" && i(!1);
434
434
  };
435
435
  return document.addEventListener("keydown", k), () => {
436
436
  document.removeEventListener("keydown", k);
437
437
  };
438
- }, [i]), e.useEffect(() => {
439
- if (!(!g.reference.current || !g.floating.current))
440
- return wa(g.reference.current, g.floating.current, E);
441
- }, [g.reference, g.floating, E, v, n]);
438
+ }, [d]), e.useEffect(() => {
439
+ if (!(!p.reference.current || !p.floating.current))
440
+ return Ca(p.reference.current, p.floating.current, E);
441
+ }, [p.reference, p.floating, E, v, n]);
442
442
  function C(k) {
443
- g.floating.current && g.floating.current.contains(k.target) || (g.reference.current && g.reference.current.contains(k.target) ? d((y) => !y) : d(!1));
443
+ p.floating.current && p.floating.current.contains(k.target) || (p.reference.current && p.reference.current.contains(k.target) ? i((y) => !y) : i(!1));
444
444
  }
445
445
  e.useEffect(() => (document.addEventListener("mousedown", C), () => {
446
446
  document.removeEventListener("mousedown", C);
447
447
  }), []);
448
- const N = f(ra.popover, _, {
449
- [ra["popover--visible"]]: n
448
+ const S = f(_a.popover, _, {
449
+ [_a["popover--visible"]]: n
450
450
  });
451
451
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { style: { width: "fit-content" }, ref: b }, t()), /* @__PURE__ */ e.createElement(
452
452
  "div",
453
453
  {
454
454
  ref: h,
455
- className: N,
455
+ className: S,
456
456
  style: {
457
- position: p,
458
- top: u != null ? u : "",
459
- left: m != null ? m : ""
457
+ position: g,
458
+ top: m != null ? m : "",
459
+ left: s != null ? s : ""
460
460
  }
461
461
  },
462
462
  /* @__PURE__ */ e.createElement(A, { as: "div" }, r)
@@ -478,70 +478,71 @@ const Jo = {
478
478
  comma: ",",
479
479
  arrowUp: "ArrowUp",
480
480
  arrowDown: "ArrowDown"
481
- }, Je = "action-menu", Zo = (c) => {
482
- var i = c, {
481
+ }, Je = "action-menu", Xo = (d) => {
482
+ var n = d, {
483
483
  className: t,
484
484
  options: a,
485
485
  triggerRenderer: r,
486
486
  placement: _ = "bottom-end",
487
- openedOnInit: o = !1
488
- } = i, l = P(i, [
487
+ openedOnInit: o = !1,
488
+ keepOpenOnClick: l
489
+ } = n, c = P(n, [
489
490
  "className",
490
491
  "options",
491
492
  "triggerRenderer",
492
493
  "placement",
493
- "openedOnInit"
494
+ "openedOnInit",
495
+ "keepOpenOnClick"
494
496
  ]);
495
- const [n, d] = e.useState(o), s = e.useRef(-1), m = (p) => {
497
+ const [i, u] = e.useState(o), s = e.useRef(-1), m = (p) => {
496
498
  for (s.current = s.current + p; a[s.current].disabled; )
497
499
  s.current = s.current + p;
498
500
  return s.current;
499
- }, u = (p) => {
500
- var g, E;
501
- p.key === M.arrowUp && s.current > 0 && (p.preventDefault(), s.current = m(-1), (g = document.getElementById(`list-item-${s.current}`)) == null || g.focus()), p.key === M.arrowDown && s.current + 1 < a.length && (p.preventDefault(), s.current = m(1), (E = document.getElementById(`list-item-${s.current}`)) == null || E.focus());
501
+ }, b = (p) => {
502
+ var E, v;
503
+ p.key === M.arrowUp && s.current > 0 && (p.preventDefault(), s.current = m(-1), (E = document.getElementById(`list-item-${s.current}`)) == null || E.focus()), p.key === M.arrowDown && s.current + 1 < a.length && (p.preventDefault(), s.current = m(1), (v = document.getElementById(`list-item-${s.current}`)) == null || v.focus());
502
504
  };
503
505
  e.useEffect(() => {
504
- if (n)
505
- return document.addEventListener("keydown", u), () => document.removeEventListener("keydown", u);
506
+ if (i)
507
+ return document.addEventListener("keydown", b), () => document.removeEventListener("keydown", b);
506
508
  s.current = -1;
507
- }, [n, u]);
508
- const b = () => {
509
- d(!0);
510
- }, h = (p) => {
511
- p(), d(!1);
509
+ }, [i, b]);
510
+ const h = () => {
511
+ u(!0);
512
+ }, g = (p) => {
513
+ p(), l || u(!1);
512
514
  };
513
515
  return /* @__PURE__ */ e.createElement(
514
- dr,
516
+ ur,
515
517
  {
516
- isVisible: n,
518
+ isVisible: i,
517
519
  placement: _,
518
- onClose: () => d(!1),
519
520
  triggerRenderer: () => /* @__PURE__ */ e.createElement(
520
521
  "button",
521
522
  {
522
523
  "data-testid": "action-menu-trigger-button",
523
524
  className: qe[`${Je}__trigger-button`],
524
- onClick: b
525
+ onClick: h
525
526
  },
526
527
  r
527
528
  )
528
529
  },
529
530
  /* @__PURE__ */ e.createElement(
530
531
  "ul",
531
- B(w({}, l), {
532
+ B(w({}, c), {
532
533
  className: f(qe[`${Je}__list`], t),
533
534
  role: "menu",
534
- "aria-hidden": !n
535
+ "aria-hidden": !i
535
536
  }),
536
- a.map((p, g) => /* @__PURE__ */ e.createElement("li", { key: p.key, role: "none" }, /* @__PURE__ */ e.createElement(
537
+ a.map((p, E) => /* @__PURE__ */ e.createElement("li", { key: p.key, role: "none" }, /* @__PURE__ */ e.createElement(
537
538
  "button",
538
539
  {
539
- id: `list-item-${g}`,
540
+ id: `list-item-${E}`,
540
541
  "data-testid": p.key,
541
542
  tabIndex: -1,
542
543
  key: p.key,
543
544
  disabled: p.disabled,
544
- onClick: () => h(p.onClick),
545
+ onClick: () => g(p.onClick),
545
546
  role: "menuitem",
546
547
  className: f(qe[`${Je}__list__item`], {
547
548
  [qe[`${Je}__list__item--disabled`]]: p.disabled,
@@ -558,7 +559,7 @@ const Jo = {
558
559
  "action-menu-item__right-node": "lc-ActionMenuItem-module__action-menu-item__right-node___uq0Ym",
559
560
  "action-menu-item__label": "lc-ActionMenuItem-module__action-menu-item__label___OgJ80",
560
561
  "action-menu-item--warning": "lc-ActionMenuItem-module__action-menu-item--warning___DgeYg"
561
- }, Qe = "action-menu-item", Xo = ({ leftNode: t, rightNode: a, children: r, kind: _ }) => /* @__PURE__ */ e.createElement(
562
+ }, Qe = "action-menu-item", jo = ({ leftNode: t, rightNode: a, children: r, kind: _ }) => /* @__PURE__ */ e.createElement(
562
563
  "div",
563
564
  {
564
565
  className: f(Ke[Qe], {
@@ -568,8 +569,8 @@ const Jo = {
568
569
  t && /* @__PURE__ */ e.createElement("div", { className: Ke[`${Qe}__left-node`] }, t),
569
570
  /* @__PURE__ */ e.createElement(A, { as: "div", className: Ke[`${Qe}__label`] }, r),
570
571
  a && /* @__PURE__ */ e.createElement("div", { className: Ke[`${Qe}__right-node`] }, a)
571
- ), ur = "lc-Icon-module__icon___tw31R", _a = {
572
- icon: ur,
572
+ ), mr = "lc-Icon-module__icon___tw31R", oa = {
573
+ icon: mr,
573
574
  "icon--primary": "lc-Icon-module__icon--primary___JJnBV",
574
575
  "icon--subtle": "lc-Icon-module__icon--subtle___sZIzL",
575
576
  "icon--inverted": "lc-Icon-module__icon--inverted___zA9QC",
@@ -602,7 +603,7 @@ const Jo = {
602
603
  "icon--disabled--action-positive": "lc-Icon-module__icon--disabled--action-positive___zaLja",
603
604
  "icon--disabled--action-warning": "lc-Icon-module__icon--disabled--action-warning___5VvCf",
604
605
  "icon--disabled--action-neutral": "lc-Icon-module__icon--disabled--action-neutral___SxlyC"
605
- }, mr = {
606
+ }, pr = {
606
607
  xsmall: {
607
608
  width: 12,
608
609
  height: 12
@@ -623,48 +624,48 @@ const Jo = {
623
624
  width: 32,
624
625
  height: 32
625
626
  }
626
- }, oa = "icon", I = (t) => {
627
- const s = t, {
627
+ }, la = "icon", I = (t) => {
628
+ const u = t, {
628
629
  source: a,
629
630
  size: r = "medium",
630
631
  kind: _,
631
632
  disabled: o,
632
633
  className: l,
633
634
  customColor: c
634
- } = s, i = P(s, [
635
+ } = u, d = P(u, [
635
636
  "source",
636
637
  "size",
637
638
  "kind",
638
639
  "disabled",
639
640
  "className",
640
641
  "customColor"
641
- ]), n = e.createElement(a, B(w({}, mr[r]), {
642
+ ]), n = e.createElement(a, B(w({}, pr[r]), {
642
643
  color: c
643
- })), d = f(
644
+ })), i = f(
644
645
  l,
645
- _a[oa],
646
- _ && _a[`${oa}--${o ? "disabled--" : ""}${_}`]
646
+ oa[la],
647
+ _ && oa[`${la}--${o ? "disabled--" : ""}${_}`]
647
648
  );
648
- return /* @__PURE__ */ e.createElement("span", B(w({}, i), { className: d }), n);
649
- }, pr = "lc-Loader-module__loader___LRflD", gr = "lc-Loader-module__loader__spinner___l3C1g", fr = "lc-Loader-module__rotate___Tlni-", br = "lc-Loader-module__loader__label___R74f6", Ze = {
650
- loader: pr,
651
- loader__spinner: gr,
649
+ return /* @__PURE__ */ e.createElement("span", B(w({}, d), { className: i }), n);
650
+ }, gr = "lc-Loader-module__loader___LRflD", fr = "lc-Loader-module__loader__spinner___l3C1g", br = "lc-Loader-module__rotate___Tlni-", hr = "lc-Loader-module__loader__label___R74f6", Ze = {
651
+ loader: gr,
652
+ loader__spinner: fr,
652
653
  "loader__spinner--small": "lc-Loader-module__loader__spinner--small___dGFFt",
653
654
  "loader__spinner--medium": "lc-Loader-module__loader__spinner--medium___J-ki0",
654
655
  "loader__spinner--large": "lc-Loader-module__loader__spinner--large___Poqq7",
655
656
  "loader__spinner-circle": "lc-Loader-module__loader__spinner-circle___ApBUO",
656
- rotate: fr,
657
- loader__label: br
658
- }, Ba = "loader", la = `${Ba}__spinner`, Qt = ({
657
+ rotate: br,
658
+ loader__label: hr
659
+ }, Pa = "loader", ca = `${Pa}__spinner`, Zt = ({
659
660
  primaryColor: t,
660
661
  secondaryColor: a,
661
662
  label: r,
662
663
  className: _,
663
664
  size: o = "medium"
664
- }) => /* @__PURE__ */ e.createElement("div", { className: f(Ze[Ba], _) }, /* @__PURE__ */ e.createElement(
665
+ }) => /* @__PURE__ */ e.createElement("div", { className: f(Ze[Pa], _) }, /* @__PURE__ */ e.createElement(
665
666
  "div",
666
667
  {
667
- className: f(Ze[la], Ze[`${la}--${o}`])
668
+ className: f(Ze[ca], Ze[`${ca}--${o}`])
668
669
  },
669
670
  /* @__PURE__ */ e.createElement(
670
671
  "div",
@@ -677,8 +678,8 @@ const Jo = {
677
678
  }
678
679
  }
679
680
  )
680
- ), r && /* @__PURE__ */ e.createElement(A, { as: "div", size: "md", className: Ze.loader__label }, r)), hr = "lc-Button-module__btn___aijZJ", vr = "lc-Button-module__btn__loader___c8zZz", yr = "lc-Button-module__btn__content___wefl2", Er = "lc-Button-module__btn__icon___GVExB", ae = {
681
- btn: hr,
681
+ ), r && /* @__PURE__ */ e.createElement(A, { as: "div", size: "md", className: Ze.loader__label }, r)), vr = "lc-Button-module__btn___aijZJ", yr = "lc-Button-module__btn__loader___c8zZz", Er = "lc-Button-module__btn__content___wefl2", kr = "lc-Button-module__btn__icon___GVExB", ae = {
682
+ btn: vr,
682
683
  "btn--disabled": "lc-Button-module__btn--disabled___lXBav",
683
684
  "btn--full-width": "lc-Button-module__btn--full-width___kdbAr",
684
685
  "btn--basic": "lc-Button-module__btn--basic___Jc2gD",
@@ -695,15 +696,15 @@ const Jo = {
695
696
  "btn--float": "lc-Button-module__btn--float___J4lTs",
696
697
  "btn--dotted": "lc-Button-module__btn--dotted___y1EEP",
697
698
  "btn--loading": "lc-Button-module__btn--loading___ZAgjv",
698
- btn__loader: vr,
699
- btn__content: yr,
700
- btn__icon: Er,
699
+ btn__loader: yr,
700
+ btn__content: Er,
701
+ btn__icon: kr,
701
702
  "btn__icon--left": "lc-Button-module__btn__icon--left___H68zu",
702
703
  "btn__icon--right": "lc-Button-module__btn__icon--right___fHr3D",
703
704
  "btn--icon-only--bg": "lc-Button-module__btn--icon-only--bg___X-4V2"
704
- }, re = "btn", se = e.forwardRef(
705
- (p, h) => {
706
- var g = p, {
705
+ }, re = "btn", ne = e.forwardRef(
706
+ (g, h) => {
707
+ var p = g, {
707
708
  loading: t = !1,
708
709
  disabled: a = !1,
709
710
  type: r = "button",
@@ -711,13 +712,13 @@ const Jo = {
711
712
  kind: o = "basic",
712
713
  size: l = "medium",
713
714
  icon: c = null,
714
- iconPosition: i = "left",
715
+ iconPosition: d = "left",
715
716
  loaderLabel: n,
716
- className: d,
717
- children: s,
718
- href: m,
719
- onClick: u
720
- } = g, b = P(g, [
717
+ className: i,
718
+ children: u,
719
+ href: s,
720
+ onClick: m
721
+ } = p, b = P(p, [
721
722
  "loading",
722
723
  "disabled",
723
724
  "type",
@@ -732,14 +733,14 @@ const Jo = {
732
733
  "href",
733
734
  "onClick"
734
735
  ]);
735
- const E = t || a, v = !s && c, C = ["text", "plain", "plain-light"].includes(o), N = m ? "a" : "button", k = () => {
736
+ const E = t || a, v = !u && c, C = ["text", "plain", "plain-light"].includes(o), S = s ? "a" : "button", k = () => {
736
737
  if (o === "primary" || o === "destructive")
737
738
  return {
738
739
  primaryColor: "var(--action-primary-default)",
739
740
  secondaryColor: "var(--border-invert-primary)"
740
741
  };
741
742
  }, y = f(
742
- d,
743
+ i,
743
744
  ae[re],
744
745
  ae[`${re}--${o}`],
745
746
  ae[`${re}--${l}`],
@@ -752,18 +753,18 @@ const Jo = {
752
753
  }
753
754
  );
754
755
  return /* @__PURE__ */ e.createElement(
755
- N,
756
+ S,
756
757
  w({
757
758
  ref: h,
758
759
  className: y,
759
760
  "aria-disabled": E,
760
761
  type: r,
761
- href: E ? void 0 : m,
762
- onClick: E ? void 0 : u,
762
+ href: E ? void 0 : s,
763
+ onClick: E ? void 0 : m,
763
764
  disabled: E
764
765
  }, b),
765
766
  t && /* @__PURE__ */ e.createElement(
766
- Qt,
767
+ Zt,
767
768
  w({
768
769
  size: "small",
769
770
  label: n,
@@ -773,19 +774,19 @@ const Jo = {
773
774
  c && e.cloneElement(c, {
774
775
  className: f(
775
776
  ae[`${re}__icon`],
776
- ae[`${re}__icon--${i}`]
777
+ ae[`${re}__icon--${d}`]
777
778
  ),
778
779
  disabled: a
779
780
  }),
780
- /* @__PURE__ */ e.createElement("div", { className: ae[`${re}__content`] }, s)
781
+ /* @__PURE__ */ e.createElement("div", { className: ae[`${re}__content`] }, u)
781
782
  );
782
783
  }
783
- ), kr = "lc-Alert-module__alert___HBTns", $r = "lc-Alert-module__alert__icon___8TaAH", wr = "lc-Alert-module__alert__content___9nZdf", Cr = "lc-Alert-module__alert__content__text___7nx1p", Nr = "lc-Alert-module__alert__content__cta___gTWPt", pe = {
784
- alert: kr,
785
- alert__icon: $r,
786
- alert__content: wr,
787
- alert__content__text: Cr,
788
- alert__content__cta: Nr,
784
+ ), $r = "lc-Alert-module__alert___HBTns", wr = "lc-Alert-module__alert__icon___8TaAH", Cr = "lc-Alert-module__alert__content___9nZdf", Nr = "lc-Alert-module__alert__content__text___7nx1p", xr = "lc-Alert-module__alert__content__cta___gTWPt", pe = {
785
+ alert: $r,
786
+ alert__icon: wr,
787
+ alert__content: Cr,
788
+ alert__content__text: Nr,
789
+ alert__content__cta: xr,
789
790
  "alert__close-icon": "lc-Alert-module__alert__close-icon___rYxVy",
790
791
  "alert--small": "lc-Alert-module__alert--small___Fyk-v",
791
792
  "alert--medium": "lc-Alert-module__alert--medium___ItZWT",
@@ -793,25 +794,25 @@ const Jo = {
793
794
  "alert--warning": "lc-Alert-module__alert--warning___MubhD",
794
795
  "alert--success": "lc-Alert-module__alert--success___fPtlZ",
795
796
  "alert--error": "lc-Alert-module__alert--error___DKPo0"
796
- }, xr = {
797
+ }, Sr = {
797
798
  info: {
798
- source: Yt,
799
+ source: qt,
799
800
  kind: "link"
800
801
  },
801
802
  warning: {
802
- source: Ca,
803
+ source: Na,
803
804
  kind: "warning"
804
805
  },
805
806
  success: {
806
- source: Na,
807
+ source: xa,
807
808
  kind: "success"
808
809
  },
809
810
  error: {
810
- source: xa,
811
+ source: Sa,
811
812
  kind: "error"
812
813
  }
813
- }, ge = "alert", jo = (i) => {
814
- var n = i, {
814
+ }, ge = "alert", el = (d) => {
815
+ var n = d, {
815
816
  children: t,
816
817
  className: a,
817
818
  primaryButton: r,
@@ -826,25 +827,25 @@ const Jo = {
826
827
  "kind",
827
828
  "onClose"
828
829
  ]);
829
- const d = e.useRef(null), [s, m] = e.useState(null), u = f(
830
+ const i = e.useRef(null), [u, s] = e.useState(null), m = f(
830
831
  pe[ge],
831
832
  pe[`${ge}--${o}`],
832
- s === "medium" && pe[`${ge}--medium`],
833
- s === "small" && pe[`${ge}--small`],
833
+ u === "medium" && pe[`${ge}--medium`],
834
+ u === "small" && pe[`${ge}--small`],
834
835
  a
835
836
  );
836
837
  return e.useEffect(() => {
837
- const b = () => d.current && d.current.offsetWidth <= 400 ? m("small") : d.current && d.current.offsetWidth > 400 && d.current.offsetWidth <= 800 ? m("medium") : m(null), h = Sa(() => {
838
+ const b = () => i.current && i.current.offsetWidth <= 400 ? s("small") : i.current && i.current.offsetWidth > 400 && i.current.offsetWidth <= 800 ? s("medium") : s(null), h = Da(() => {
838
839
  b();
839
840
  }, 500);
840
841
  return window.addEventListener("resize", h), b(), () => window.removeEventListener("resize", h);
841
- }), /* @__PURE__ */ e.createElement("div", w({ ref: d, className: u }, c), /* @__PURE__ */ e.createElement(
842
+ }), /* @__PURE__ */ e.createElement("div", w({ ref: i, className: m }, c), /* @__PURE__ */ e.createElement(
842
843
  I,
843
- B(w({}, xr[o]), {
844
+ B(w({}, Sr[o]), {
844
845
  size: "large",
845
846
  className: pe[`${ge}__icon`]
846
847
  })
847
- ), /* @__PURE__ */ e.createElement("div", { className: pe[`${ge}__content`] }, /* @__PURE__ */ e.createElement(A, { as: "div", className: pe[`${ge}__content__text`] }, t), (r || _) && /* @__PURE__ */ e.createElement("div", { className: pe[`${ge}__content__cta`] }, r && /* @__PURE__ */ e.createElement(se, { kind: "primary", onClick: r.handleClick }, r.label), _ && /* @__PURE__ */ e.createElement(se, { kind: "text", onClick: _.handleClick }, _.label))), l && /* @__PURE__ */ e.createElement(
848
+ ), /* @__PURE__ */ e.createElement("div", { className: pe[`${ge}__content`] }, /* @__PURE__ */ e.createElement(A, { as: "div", className: pe[`${ge}__content__text`] }, t), (r || _) && /* @__PURE__ */ e.createElement("div", { className: pe[`${ge}__content__cta`] }, r && /* @__PURE__ */ e.createElement(ne, { kind: "primary", onClick: r.handleClick }, r.label), _ && /* @__PURE__ */ e.createElement(ne, { kind: "text", onClick: _.handleClick }, _.label))), l && /* @__PURE__ */ e.createElement(
848
849
  "button",
849
850
  {
850
851
  type: "button",
@@ -854,15 +855,15 @@ const Jo = {
854
855
  /* @__PURE__ */ e.createElement(I, { source: xe, kind: "subtle" })
855
856
  ));
856
857
  };
857
- function Sr(t = "", a = 2) {
858
+ function Dr(t = "", a = 2) {
858
859
  return t.split(" ").map((r) => r.charAt(0)).join("").substring(0, a).toUpperCase();
859
860
  }
860
- function Dr(t) {
861
- return Jt(t, "#FFFFFF") > 4.5 ? "var(--color-white)" : "var(--color-black)";
861
+ function Tr(t) {
862
+ return Kt(t, "#FFFFFF") > 4.5 ? "var(--color-white)" : "var(--color-black)";
862
863
  }
863
- const Tr = "lc-Avatar-module__avatar___1zTCE", Ir = "lc-Avatar-module__avatar__status___nX2Ls", Br = "lc-Avatar-module__avatar__rim___RCQ8Q", Pr = "lc-Avatar-module__avatar__image___YqfqE", ee = {
864
- avatar: Tr,
865
- avatar__status: Ir,
864
+ const Ir = "lc-Avatar-module__avatar___1zTCE", Br = "lc-Avatar-module__avatar__status___nX2Ls", Pr = "lc-Avatar-module__avatar__rim___RCQ8Q", Ar = "lc-Avatar-module__avatar__image___YqfqE", ee = {
865
+ avatar: Ir,
866
+ avatar__status: Br,
866
867
  "avatar__status--available": "lc-Avatar-module__avatar__status--available___tcpFg",
867
868
  "avatar__status--unavailable": "lc-Avatar-module__avatar__status--unavailable___ciauF",
868
869
  "avatar__status--unknown": "lc-Avatar-module__avatar__status--unknown___MBaGB",
@@ -876,7 +877,7 @@ const Tr = "lc-Avatar-module__avatar___1zTCE", Ir = "lc-Avatar-module__avatar__s
876
877
  "avatar__status--xlarge": "lc-Avatar-module__avatar__status--xlarge___RWIcJ",
877
878
  "avatar__status--xxlarge": "lc-Avatar-module__avatar__status--xxlarge___crG9D",
878
879
  "avatar__status--rounded-square": "lc-Avatar-module__avatar__status--rounded-square___-My1P",
879
- avatar__rim: Br,
880
+ avatar__rim: Pr,
880
881
  "avatar__rim--xxxsmall": "lc-Avatar-module__avatar__rim--xxxsmall___0CH9D",
881
882
  "avatar__rim--xxsmall": "lc-Avatar-module__avatar__rim--xxsmall___Mde0K",
882
883
  "avatar__rim--xsmall": "lc-Avatar-module__avatar__rim--xsmall___LAN-b",
@@ -885,7 +886,7 @@ const Tr = "lc-Avatar-module__avatar___1zTCE", Ir = "lc-Avatar-module__avatar__s
885
886
  "avatar__rim--large": "lc-Avatar-module__avatar__rim--large___FPvGp",
886
887
  "avatar__rim--xlarge": "lc-Avatar-module__avatar__rim--xlarge___CY0kN",
887
888
  "avatar__rim--xxlarge": "lc-Avatar-module__avatar__rim--xxlarge___tE053",
888
- avatar__image: Pr,
889
+ avatar__image: Ar,
889
890
  "avatar__icon--xxxsmall": "lc-Avatar-module__avatar__icon--xxxsmall___KaoMa",
890
891
  "avatar__icon--xxsmall": "lc-Avatar-module__avatar__icon--xxsmall___NJJNV",
891
892
  "avatar__icon--xsmall": "lc-Avatar-module__avatar__icon--xsmall___yHEZK",
@@ -905,7 +906,7 @@ const Tr = "lc-Avatar-module__avatar___1zTCE", Ir = "lc-Avatar-module__avatar__s
905
906
  "avatar--large": "lc-Avatar-module__avatar--large___OU-08",
906
907
  "avatar--xlarge": "lc-Avatar-module__avatar--xlarge___zwgeW",
907
908
  "avatar--xxlarge": "lc-Avatar-module__avatar--xxlarge___Ur0ul"
908
- }, V = "avatar", el = ({
909
+ }, V = "avatar", tl = ({
909
910
  alt: t,
910
911
  className: a,
911
912
  color: r,
@@ -913,31 +914,31 @@ const Tr = "lc-Avatar-module__avatar___1zTCE", Ir = "lc-Avatar-module__avatar__s
913
914
  size: o = "medium",
914
915
  src: l,
915
916
  status: c,
916
- text: i,
917
+ text: d,
917
918
  type: n,
918
- withRim: d = !1
919
+ withRim: i = !1
919
920
  }) => {
920
- const s = n === "image" && !l, [m, u] = e.useState(s), b = n === "image" && !!l && !m, h = n === "text", p = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, g = Sr(i, p), E = r && Dr(r), v = f({
921
+ const u = n === "image" && !l, [s, m] = e.useState(u), b = n === "image" && !!l && !s, h = n === "text", g = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, p = Dr(d, g), E = r && Tr(r), v = f({
921
922
  [ee[V]]: !0,
922
923
  [ee[`${V}--${_}`]]: !0,
923
924
  [ee[`${V}--${o}`]]: !0,
924
- [ee[`${V}--with-rim`]]: d,
925
+ [ee[`${V}--with-rim`]]: i,
925
926
  [`${a}`]: a
926
927
  }), C = f(
927
928
  ee[`${V}__status`],
928
929
  ee[`${V}__status--${_}`],
929
930
  ee[`${V}__status--${o}`],
930
931
  ee[`${V}__status--${c}`]
931
- ), N = f(
932
+ ), S = f(
932
933
  ee[`${V}__icon`],
933
934
  ee[`${V}__icon--${o}`]
934
935
  ), k = f(
935
936
  ee[`${V}__rim`],
936
937
  ee[`${V}__rim--${o}`]
937
- ), y = e.useCallback(() => u(!0), []);
938
+ ), y = e.useCallback(() => m(!0), []);
938
939
  return e.useEffect(() => {
939
- u(s);
940
- }, [s]), /* @__PURE__ */ e.createElement("div", { className: v, style: { backgroundColor: r } }, d && /* @__PURE__ */ e.createElement(
940
+ m(u);
941
+ }, [u]), /* @__PURE__ */ e.createElement("div", { className: v, style: { backgroundColor: r } }, i && /* @__PURE__ */ e.createElement(
941
942
  "div",
942
943
  {
943
944
  "data-testid": `${V}__rim`,
@@ -957,17 +958,17 @@ const Tr = "lc-Avatar-module__avatar___1zTCE", Ir = "lc-Avatar-module__avatar__s
957
958
  alt: t,
958
959
  onError: y
959
960
  }
960
- ), h && /* @__PURE__ */ e.createElement("span", { style: { color: E } }, g), m && /* @__PURE__ */ e.createElement(
961
+ ), h && /* @__PURE__ */ e.createElement("span", { style: { color: E } }, p), s && /* @__PURE__ */ e.createElement(
961
962
  I,
962
963
  {
963
964
  "data-testid": `${V}__icon`,
964
- className: N,
965
- source: er
965
+ className: S,
966
+ source: tr
966
967
  }
967
968
  ));
968
- }, Ar = "lc-Badge-module__badge___GhLnu", Fr = "lc-Badge-module__badge__dot___z6RO6", pt = {
969
- badge: Ar,
970
- badge__dot: Fr,
969
+ }, Fr = "lc-Badge-module__badge___GhLnu", Rr = "lc-Badge-module__badge__dot___z6RO6", gt = {
970
+ badge: Fr,
971
+ badge__dot: Rr,
971
972
  "badge--large": "lc-Badge-module__badge--large___B131q",
972
973
  "badge--medium": "lc-Badge-module__badge--medium___TDU8a",
973
974
  "badge--compact": "lc-Badge-module__badge--compact___9xJ4y",
@@ -975,11 +976,11 @@ const Tr = "lc-Avatar-module__avatar___1zTCE", Ir = "lc-Avatar-module__avatar__s
975
976
  "badge--secondary": "lc-Badge-module__badge--secondary___JjNIJ",
976
977
  "badge--tertiary": "lc-Badge-module__badge--tertiary___e83wV"
977
978
  };
978
- function Rr(t, a) {
979
+ function Mr(t, a) {
979
980
  return t > a ? `${a}+` : `${t}`;
980
981
  }
981
- const gt = "badge", Mr = (i) => {
982
- var n = i, {
982
+ const ft = "badge", Lr = (d) => {
983
+ var n = d, {
983
984
  className: t,
984
985
  count: a = 0,
985
986
  max: r = 99,
@@ -994,79 +995,79 @@ const gt = "badge", Mr = (i) => {
994
995
  "size",
995
996
  "type"
996
997
  ]);
997
- const d = f(
998
+ const i = f(
998
999
  t,
999
- pt[gt],
1000
- pt[`${gt}--${_}`],
1001
- pt[`${gt}--${o}`]
1002
- ), s = {
1003
- counter: Rr(a, r),
1000
+ gt[ft],
1001
+ gt[`${ft}--${_}`],
1002
+ gt[`${ft}--${o}`]
1003
+ ), u = {
1004
+ counter: Mr(a, r),
1004
1005
  alert: "!",
1005
- dot: /* @__PURE__ */ e.createElement("span", { className: pt[`${gt}__dot`] })
1006
+ dot: /* @__PURE__ */ e.createElement("span", { className: gt[`${ft}__dot`] })
1006
1007
  }[l];
1007
- return /* @__PURE__ */ e.createElement("span", w({ className: d }, c), s);
1008
- }, Lr = "lc-SegmentedControl-module__btn___tfsvL", ft = {
1008
+ return /* @__PURE__ */ e.createElement("span", w({ className: i }, c), u);
1009
+ }, Or = "lc-SegmentedControl-module__btn___tfsvL", bt = {
1009
1010
  "segmented-control": "lc-SegmentedControl-module__segmented-control___LHWSk",
1010
- btn: Lr,
1011
+ btn: Or,
1011
1012
  "btn--active": "lc-SegmentedControl-module__btn--active___Za-th",
1012
1013
  "btn--compact": "lc-SegmentedControl-module__btn--compact___gcSwq",
1013
1014
  "btn--medium": "lc-SegmentedControl-module__btn--medium___w3UzC",
1014
1015
  "btn--large": "lc-SegmentedControl-module__btn--large___yHPw4"
1015
1016
  };
1016
- function Ut() {
1017
+ function Wt() {
1017
1018
  }
1018
- const Or = "segmented-control", tl = ({
1019
+ const zr = "segmented-control", al = ({
1019
1020
  size: t = "medium",
1020
1021
  buttons: a,
1021
1022
  className: r,
1022
1023
  initialId: _,
1023
1024
  currentId: o,
1024
1025
  fullWidth: l = !1,
1025
- onButtonClick: c = Ut
1026
+ onButtonClick: c = Wt
1026
1027
  }) => {
1027
- const i = f(ft[Or], r), [n, d] = e.useState(() => _), s = typeof o == "string";
1028
+ const d = f(bt[zr], r), [n, i] = e.useState(() => _), u = typeof o == "string";
1028
1029
  e.useEffect(() => {
1029
- s && d(o);
1030
+ u && i(o);
1030
1031
  }, [o]);
1031
- const m = (b, h) => {
1032
- s || d(b), c(b, h);
1033
- }, u = a.map(({ id: b, label: h, loading: p, disabled: g, icon: E }) => {
1034
- const v = b === n, C = v ? ft["btn--active"] : "", N = v ? !1 : p;
1032
+ const s = (b, h) => {
1033
+ u || i(b), c(b, h);
1034
+ }, m = a.map(({ id: b, label: h, loading: g, disabled: p, icon: E }) => {
1035
+ const v = b === n, C = v ? bt["btn--active"] : "", S = v ? !1 : g;
1035
1036
  return /* @__PURE__ */ e.createElement(
1036
- se,
1037
+ ne,
1037
1038
  {
1038
1039
  key: b,
1039
1040
  fullWidth: l,
1040
- loading: N,
1041
- disabled: g,
1041
+ loading: S,
1042
+ disabled: p,
1042
1043
  "aria-pressed": v,
1043
1044
  kind: "secondary",
1044
1045
  icon: E,
1045
- className: f(ft.btn, ft[`btn--${t}`], C),
1046
+ className: f(bt.btn, bt[`btn--${t}`], C),
1046
1047
  onClick: (k) => {
1047
- m(b, k);
1048
+ s(b, k);
1048
1049
  }
1049
1050
  },
1050
1051
  h
1051
1052
  );
1052
1053
  });
1053
- return /* @__PURE__ */ e.createElement("div", { role: "group", className: i }, u);
1054
- }, zr = "lc-Card-module__card___GqMm2", Hr = "lc-Card-module__card__header___0ptfD", Gr = "lc-Card-module__card__header__image___QMwSu", Ur = "lc-Card-module__card__header__heading___Wkikx", Wr = "lc-Card-module__card__header__heading__title___Uxi8s", Vr = "lc-Card-module__card__header__heading__description___6LnOK", Yr = "lc-Card-module__card__content___KuDcc", qr = "lc-Card-module__card__actions___q9sAo", Jr = "lc-Card-module__card__actions__line___TF1bt", Kr = "lc-Card-module__card__actions__buttons___PDMMR", te = {
1055
- card: zr,
1056
- card__header: Hr,
1057
- card__header__image: Gr,
1058
- card__header__heading: Ur,
1059
- card__header__heading__title: Wr,
1060
- card__header__heading__description: Vr,
1054
+ return /* @__PURE__ */ e.createElement("div", { role: "group", className: d }, m);
1055
+ }, Hr = "lc-Card-module__card___GqMm2", Gr = "lc-Card-module__card__header___0ptfD", Ur = "lc-Card-module__card__header__image___QMwSu", Wr = "lc-Card-module__card__header__heading___Wkikx", Vr = "lc-Card-module__card__header__heading__title___Uxi8s", Yr = "lc-Card-module__card__header__heading__description___6LnOK", qr = "lc-Card-module__card__content___KuDcc", Jr = "lc-Card-module__card__actions___q9sAo", Kr = "lc-Card-module__card__actions__line___TF1bt", Qr = "lc-Card-module__card__actions__buttons___PDMMR", te = {
1056
+ card: Hr,
1057
+ card__header: Gr,
1058
+ card__header__image: Ur,
1059
+ card__header__heading: Wr,
1060
+ card__header__heading__title: Vr,
1061
+ card__header__heading__description: Yr,
1061
1062
  "card__header__no-image": "lc-Card-module__card__header__no-image___UcnNY",
1062
- card__content: Yr,
1063
+ card__content: qr,
1063
1064
  "card__expanded-content": "lc-Card-module__card__expanded-content___yB-QL",
1064
- card__actions: qr,
1065
- card__actions__line: Jr,
1066
- card__actions__buttons: Kr,
1065
+ card__actions: Jr,
1066
+ card__actions__line: Kr,
1067
+ card__actions__buttons: Qr,
1067
1068
  "card__actions__buttons-expander": "lc-Card-module__card__actions__buttons-expander___lz4h-"
1068
- }, nt = "card", Nt = `${nt}__header`, Pt = `${Nt}__heading`, bt = `${nt}__actions`, Qr = `${Nt}__no-image`, al = (d) => {
1069
- var s = d, {
1069
+ }, nt = "card", xt = `${nt}__header`, At = `${xt}__heading`, ht = `${nt}__actions`, Zr = `${xt}__no-image`, rl = (i) => {
1070
+ var u = i, {
1070
1071
  alt: t,
1071
1072
  buttonsOptions: a = [],
1072
1073
  children: r,
@@ -1074,8 +1075,8 @@ const Or = "segmented-control", tl = ({
1074
1075
  description: o,
1075
1076
  expandableContent: l,
1076
1077
  src: c,
1077
- title: i
1078
- } = s, n = P(s, [
1078
+ title: d
1079
+ } = u, n = P(u, [
1079
1080
  "alt",
1080
1081
  "buttonsOptions",
1081
1082
  "children",
@@ -1085,15 +1086,15 @@ const Or = "segmented-control", tl = ({
1085
1086
  "src",
1086
1087
  "title"
1087
1088
  ]);
1088
- const [m, u] = e.useState(!1), b = m ? xt : St, h = m ? "Hide" : "Show more", p = (a == null ? void 0 : a.length) > 0, g = !!l, E = p || g, v = i, C = c, N = C ? "" : te[Qr];
1089
- return /* @__PURE__ */ e.createElement("div", w({ className: f(te[nt], _) }, n), v && /* @__PURE__ */ e.createElement("div", { className: f(te[Nt], N) }, C && /* @__PURE__ */ e.createElement(
1089
+ const [s, m] = e.useState(!1), b = s ? St : Dt, h = s ? "Hide" : "Show more", g = (a == null ? void 0 : a.length) > 0, p = !!l, E = g || p, v = d, C = c, S = C ? "" : te[Zr];
1090
+ return /* @__PURE__ */ e.createElement("div", w({ className: f(te[nt], _) }, n), v && /* @__PURE__ */ e.createElement("div", { className: f(te[xt], S) }, C && /* @__PURE__ */ e.createElement(
1090
1091
  "img",
1091
1092
  {
1092
1093
  alt: t,
1093
- className: te[`${Nt}__image`],
1094
+ className: te[`${xt}__image`],
1094
1095
  src: c
1095
1096
  }
1096
- ), /* @__PURE__ */ e.createElement("div", { className: te[Pt] }, /* @__PURE__ */ e.createElement(st, { size: "sm", className: te[`${Pt}__title`] }, i), /* @__PURE__ */ e.createElement(A, { size: "sm", className: te[`${Pt}__description`] }, o))), /* @__PURE__ */ e.createElement(A, { as: "div", size: "md", className: te[`${nt}__content`] }, r), m && /* @__PURE__ */ e.createElement(
1097
+ ), /* @__PURE__ */ e.createElement("div", { className: te[At] }, /* @__PURE__ */ e.createElement(st, { size: "sm", className: te[`${At}__title`] }, d), /* @__PURE__ */ e.createElement(A, { size: "sm", className: te[`${At}__description`] }, o))), /* @__PURE__ */ e.createElement(A, { as: "div", size: "md", className: te[`${nt}__content`] }, r), s && /* @__PURE__ */ e.createElement(
1097
1098
  A,
1098
1099
  {
1099
1100
  as: "div",
@@ -1101,22 +1102,22 @@ const Or = "segmented-control", tl = ({
1101
1102
  className: te[`${nt}__expanded-content`]
1102
1103
  },
1103
1104
  l
1104
- ), E && /* @__PURE__ */ e.createElement("div", { className: te[bt] }, /* @__PURE__ */ e.createElement("div", { className: te[`${bt}__line`] }), /* @__PURE__ */ e.createElement("div", { className: te[`${bt}__buttons`] }, p && a.map(
1105
- ({ kind: k, onClick: y, children: x }) => /* @__PURE__ */ e.createElement(se, { size: "compact", kind: k, onClick: y }, x)
1106
- ), g && /* @__PURE__ */ e.createElement(
1107
- se,
1105
+ ), E && /* @__PURE__ */ e.createElement("div", { className: te[ht] }, /* @__PURE__ */ e.createElement("div", { className: te[`${ht}__line`] }), /* @__PURE__ */ e.createElement("div", { className: te[`${ht}__buttons`] }, g && a.map(
1106
+ ({ kind: k, onClick: y, children: N }) => /* @__PURE__ */ e.createElement(ne, { size: "compact", kind: k, onClick: y }, N)
1107
+ ), p && /* @__PURE__ */ e.createElement(
1108
+ ne,
1108
1109
  {
1109
- className: te[`${bt}__buttons-expander`],
1110
+ className: te[`${ht}__buttons-expander`],
1110
1111
  kind: "plain",
1111
1112
  iconPosition: "right",
1112
1113
  icon: /* @__PURE__ */ e.createElement(I, { source: b }),
1113
- onClick: () => u(!m)
1114
+ onClick: () => m(!s)
1114
1115
  },
1115
1116
  h
1116
1117
  ))));
1117
- }, Zr = {
1118
+ }, Xr = {
1118
1119
  "field-description": "lc-FieldDescription-module__field-description___IcRDH"
1119
- }, Xr = "field-description", Dt = (_) => {
1120
+ }, jr = "field-description", Tt = (_) => {
1120
1121
  var o = _, {
1121
1122
  children: t,
1122
1123
  className: a = ""
@@ -1124,21 +1125,21 @@ const Or = "segmented-control", tl = ({
1124
1125
  "children",
1125
1126
  "className"
1126
1127
  ]);
1127
- const l = f(Zr[Xr], a);
1128
+ const l = f(Xr[jr], a);
1128
1129
  return /* @__PURE__ */ e.createElement(A, B(w({ as: "span", size: "sm" }, r), { className: l }), t);
1129
- }, jr = "lc-Checkbox-module__checkbox___G7nTf", e_ = "lc-Checkbox-module__checkbox__label___-o01x", t_ = "lc-Checkbox-module__checkbox__text___P2SIq", a_ = "lc-Checkbox-module__checkbox__input___YLbVF", r_ = "lc-Checkbox-module__checkbox__checkmark___16pfY", __ = "lc-Checkbox-module__checkbox__square___MHUyd", o_ = "lc-Checkbox-module__checkbox__helper___YSJ-n", Ie = {
1130
- checkbox: jr,
1131
- checkbox__label: e_,
1132
- checkbox__text: t_,
1133
- checkbox__input: a_,
1134
- checkbox__checkmark: r_,
1130
+ }, e_ = "lc-Checkbox-module__checkbox___G7nTf", t_ = "lc-Checkbox-module__checkbox__label___-o01x", a_ = "lc-Checkbox-module__checkbox__text___P2SIq", r_ = "lc-Checkbox-module__checkbox__input___YLbVF", __ = "lc-Checkbox-module__checkbox__checkmark___16pfY", o_ = "lc-Checkbox-module__checkbox__square___MHUyd", l_ = "lc-Checkbox-module__checkbox__helper___YSJ-n", Ie = {
1131
+ checkbox: e_,
1132
+ checkbox__label: t_,
1133
+ checkbox__text: a_,
1134
+ checkbox__input: r_,
1135
+ checkbox__checkmark: __,
1135
1136
  "checkbox--selected": "lc-Checkbox-module__checkbox--selected___S2vqY",
1136
- checkbox__square: __,
1137
+ checkbox__square: o_,
1137
1138
  "checkbox--disabled": "lc-Checkbox-module__checkbox--disabled___-lAqW",
1138
- checkbox__helper: o_
1139
- }, Be = "checkbox", rl = e.forwardRef(
1140
- (i, c) => {
1141
- var n = i, { checked: t, disabled: a, children: r, description: _, className: o } = n, l = P(n, ["checked", "disabled", "children", "description", "className"]);
1139
+ checkbox__helper: l_
1140
+ }, Be = "checkbox", _l = e.forwardRef(
1141
+ (d, c) => {
1142
+ var n = d, { checked: t, disabled: a, children: r, description: _, className: o } = n, l = P(n, ["checked", "disabled", "children", "description", "className"]);
1142
1143
  return /* @__PURE__ */ e.createElement(
1143
1144
  "div",
1144
1145
  {
@@ -1157,7 +1158,7 @@ const Or = "segmented-control", tl = ({
1157
1158
  type: "checkbox"
1158
1159
  })
1159
1160
  ), r && /* @__PURE__ */ e.createElement(A, { as: "div", size: "md", className: Ie[`${Be}__text`] }, r)),
1160
- _ && /* @__PURE__ */ e.createElement(Dt, { className: Ie[`${Be}__helper`] }, _)
1161
+ _ && /* @__PURE__ */ e.createElement(Tt, { className: Ie[`${Be}__helper`] }, _)
1161
1162
  );
1162
1163
  }
1163
1164
  ), D = {
@@ -1195,7 +1196,7 @@ const Or = "segmented-control", tl = ({
1195
1196
  "date-picker--range__select-input": "lc-DatePicker-module__date-picker--range__select-input___6pyj3",
1196
1197
  "date-picker--range__calendars-wrapper": "lc-DatePicker-module__date-picker--range__calendars-wrapper___8nWaW",
1197
1198
  "date-picker__navbar-buttons-wrapper": "lc-DatePicker-module__date-picker__navbar-buttons-wrapper___Hnksb"
1198
- }, ca = "date-picker", l_ = (t) => {
1199
+ }, na = "date-picker", c_ = (t) => {
1199
1200
  const {
1200
1201
  onPreviousClick: a,
1201
1202
  onMonthChange: r,
@@ -1203,85 +1204,85 @@ const Or = "segmented-control", tl = ({
1203
1204
  showNextButton: o,
1204
1205
  showPreviousButton: l,
1205
1206
  className: c,
1206
- classNames: i,
1207
+ classNames: d,
1207
1208
  numberOfMonths: n,
1208
- month: d,
1209
- fromMonth: s,
1210
- toMonth: m
1211
- } = t, u = () => {
1209
+ month: i,
1210
+ fromMonth: u,
1211
+ toMonth: s
1212
+ } = t, m = () => {
1212
1213
  typeof a == "function" && a();
1213
1214
  }, b = () => {
1214
1215
  typeof _ == "function" && _();
1215
1216
  }, h = () => {
1216
- if (!s) {
1217
- const v = Ge(d, 12);
1217
+ if (!u) {
1218
+ const v = Ge(i, 12);
1218
1219
  return r(v);
1219
1220
  }
1220
- const g = Math.abs(ea(d, s)), E = Ge(
1221
- d,
1222
- !Number.isNaN(g) && g > 12 ? 12 : g
1221
+ const p = Math.abs(ta(i, u)), E = Ge(
1222
+ i,
1223
+ !Number.isNaN(p) && p > 12 ? 12 : p
1223
1224
  );
1224
1225
  return r(E);
1225
- }, p = () => {
1226
- if (!m) {
1227
- const v = ta(d, 12);
1226
+ }, g = () => {
1227
+ if (!s) {
1228
+ const v = aa(i, 12);
1228
1229
  return r(v);
1229
1230
  }
1230
- const g = Math.abs(ea(m, d)), E = ta(
1231
- d,
1232
- !Number.isNaN(g) && g > 12 ? 12 : g
1231
+ const p = Math.abs(ta(s, i)), E = aa(
1232
+ i,
1233
+ !Number.isNaN(p) && p > 12 ? 12 : p
1233
1234
  );
1234
- return n === 2 && zt(E, m) ? r(Ge(E, 1)) : r(E);
1235
+ return n === 2 && Ht(E, s) ? r(Ge(E, 1)) : r(E);
1235
1236
  };
1236
- return /* @__PURE__ */ e.createElement("div", { className: c }, /* @__PURE__ */ e.createElement("div", { className: D[`${ca}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
1237
+ return /* @__PURE__ */ e.createElement("div", { className: c }, /* @__PURE__ */ e.createElement("div", { className: D[`${na}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
1237
1238
  "button",
1238
1239
  {
1239
1240
  "data-testid": "date-picker-prev-year-button",
1240
1241
  className: f({
1241
- [i.navButtonPrev]: !0,
1242
- [i.navButtonInteractionDisabled]: !l
1242
+ [d.navButtonPrev]: !0,
1243
+ [d.navButtonInteractionDisabled]: !l
1243
1244
  }),
1244
1245
  onClick: h
1245
1246
  },
1246
- /* @__PURE__ */ e.createElement(I, { source: tr, kind: "subtle" })
1247
+ /* @__PURE__ */ e.createElement(I, { source: ar, kind: "subtle" })
1247
1248
  ), /* @__PURE__ */ e.createElement(
1248
1249
  "button",
1249
1250
  {
1250
1251
  "data-testid": "date-picker-prev-month-button",
1251
1252
  className: f({
1252
- [i.navButtonPrev]: !0,
1253
- [i.navButtonInteractionDisabled]: !l
1253
+ [d.navButtonPrev]: !0,
1254
+ [d.navButtonInteractionDisabled]: !l
1254
1255
  }),
1255
- onClick: u
1256
+ onClick: m
1256
1257
  },
1257
- /* @__PURE__ */ e.createElement(I, { source: ar, kind: "subtle" })
1258
- )), /* @__PURE__ */ e.createElement("div", { className: D[`${ca}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
1258
+ /* @__PURE__ */ e.createElement(I, { source: rr, kind: "subtle" })
1259
+ )), /* @__PURE__ */ e.createElement("div", { className: D[`${na}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
1259
1260
  "button",
1260
1261
  {
1261
1262
  "data-testid": "date-picker-next-month-button",
1262
1263
  className: f({
1263
- [i.navButtonNext]: !0,
1264
- [i.navButtonInteractionDisabled]: !o
1264
+ [d.navButtonNext]: !0,
1265
+ [d.navButtonInteractionDisabled]: !o
1265
1266
  }),
1266
1267
  onClick: b
1267
1268
  },
1268
- /* @__PURE__ */ e.createElement(I, { source: rr, kind: "subtle" })
1269
+ /* @__PURE__ */ e.createElement(I, { source: _r, kind: "subtle" })
1269
1270
  ), /* @__PURE__ */ e.createElement(
1270
1271
  "button",
1271
1272
  {
1272
1273
  "data-testid": "date-picker-next-year-button",
1273
1274
  className: f({
1274
- [i.navButtonNext]: !0,
1275
- [i.navButtonInteractionDisabled]: !o
1275
+ [d.navButtonNext]: !0,
1276
+ [d.navButtonInteractionDisabled]: !o
1276
1277
  }),
1277
- onClick: p
1278
+ onClick: g
1278
1279
  },
1279
- /* @__PURE__ */ e.createElement(I, { source: _r, kind: "subtle" })
1280
+ /* @__PURE__ */ e.createElement(I, { source: or, kind: "subtle" })
1280
1281
  )));
1281
- }, T = "date-picker", Pa = (t, a) => {
1282
+ }, T = "date-picker", Aa = (t, a) => {
1282
1283
  const { from: r, to: _ } = a;
1283
- return !(_ && !Ht(t, _) && Gt(t, _) || r && !Ht(t, r) && !Gt(t, r));
1284
- }, Aa = (t, a, r) => a ? t && !zt(t, a) || r && zt(a, r) ? Ge(a, 1) : a : Ge(r || /* @__PURE__ */ new Date(), 1), c_ = (t, a) => {
1284
+ return !(_ && !Gt(t, _) && Ut(t, _) || r && !Gt(t, r) && !Ut(t, r));
1285
+ }, Fa = (t, a, r) => a ? t && !Ht(t, a) || r && Ht(a, r) ? Ge(a, 1) : a : Ge(r || /* @__PURE__ */ new Date(), 1), n_ = (t, a) => {
1285
1286
  const r = {
1286
1287
  [D[`${T}__day--monday`]]: { daysOfWeek: [1] },
1287
1288
  [D[`${T}__day--sunday`]]: { daysOfWeek: [0] },
@@ -1290,7 +1291,7 @@ const Or = "segmented-control", tl = ({
1290
1291
  };
1291
1292
  if (!a || !t)
1292
1293
  return r;
1293
- const _ = Ta(a, t);
1294
+ const _ = Ia(a, t);
1294
1295
  return _ > 0 ? B(w({}, r), {
1295
1296
  [D[`${T}__day--end`]]: a
1296
1297
  }) : _ < 0 ? B(w({}, r), {
@@ -1299,7 +1300,7 @@ const Or = "segmented-control", tl = ({
1299
1300
  }, lt = (t, a) => {
1300
1301
  const r = a.find((_) => _.id === t);
1301
1302
  return r || void 0;
1302
- }, na = (t, a) => !!(!t || t && a), n_ = (t) => {
1303
+ }, sa = (t, a) => !!(!t || t && a), s_ = (t) => {
1303
1304
  const a = {};
1304
1305
  if (!t.initialSelectedItemKey)
1305
1306
  return a;
@@ -1308,7 +1309,7 @@ const Or = "segmented-control", tl = ({
1308
1309
  t.options
1309
1310
  );
1310
1311
  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) : {};
1311
- }, s_ = (t, a) => w({
1312
+ }, i_ = (t, a) => w({
1312
1313
  container: f({
1313
1314
  [D[`${T}`]]: !0,
1314
1315
  [D[`${T}--range`]]: t
@@ -1343,10 +1344,10 @@ const Or = "segmented-control", tl = ({
1343
1344
  outside: D[`${T}__day--outside`],
1344
1345
  start: D[`${T}__day--start`],
1345
1346
  end: D[`${T}__day--end`]
1346
- }, a), sa = "date-picker", i_ = (t) => {
1347
+ }, a), ia = "date-picker", d_ = (t) => {
1347
1348
  const a = t.getDate();
1348
- return /* @__PURE__ */ e.createElement("div", { className: D[`${sa}__day-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: D[`${sa}__day-content`] }, a));
1349
- }, d_ = (t) => {
1349
+ return /* @__PURE__ */ e.createElement("div", { className: D[`${ia}__day-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: D[`${ia}__day-content`] }, a));
1350
+ }, u_ = (t) => {
1350
1351
  const E = t, {
1351
1352
  classNames: a,
1352
1353
  range: r,
@@ -1354,11 +1355,11 @@ const Or = "segmented-control", tl = ({
1354
1355
  month: o,
1355
1356
  fromMonth: l,
1356
1357
  firstDayOfWeek: c,
1357
- numberOfMonths: i,
1358
+ numberOfMonths: d,
1358
1359
  navbarElement: n,
1359
- renderDay: d,
1360
- innerRef: s
1361
- } = E, m = P(E, [
1360
+ renderDay: i,
1361
+ innerRef: u
1362
+ } = E, s = P(E, [
1362
1363
  "classNames",
1363
1364
  "range",
1364
1365
  "toMonth",
@@ -1369,12 +1370,12 @@ const Or = "segmented-control", tl = ({
1369
1370
  "navbarElement",
1370
1371
  "renderDay",
1371
1372
  "innerRef"
1372
- ]), [u, b] = e.useState(o || /* @__PURE__ */ new Date());
1373
+ ]), [m, b] = e.useState(o || /* @__PURE__ */ new Date());
1373
1374
  e.useEffect(() => {
1374
- o && o !== u && b(o);
1375
- }, [o, u]), e.useEffect(() => {
1376
- _ && (Pa(u, { from: l, to: _ }) || b(_));
1377
- }, [u, t.toMonth, t.fromMonth]);
1375
+ o && o !== m && b(o);
1376
+ }, [o, m]), e.useEffect(() => {
1377
+ _ && (Aa(m, { from: l, to: _ }) || b(_));
1378
+ }, [m, t.toMonth, t.fromMonth]);
1378
1379
  const h = e.useCallback(
1379
1380
  (v) => {
1380
1381
  if (t.onMonthChange && v) {
@@ -1385,43 +1386,43 @@ const Or = "segmented-control", tl = ({
1385
1386
  },
1386
1387
  [o, t.onMonthChange]
1387
1388
  );
1388
- let p = 1;
1389
- (c === 0 || c && c < 7) && (p = c);
1390
- const g = e.useMemo(
1391
- () => s_(r, a),
1389
+ let g = 1;
1390
+ (c === 0 || c && c < 7) && (g = c);
1391
+ const p = e.useMemo(
1392
+ () => i_(r, a),
1392
1393
  [r, a]
1393
1394
  );
1394
1395
  return /* @__PURE__ */ e.createElement(
1395
- or,
1396
+ lr,
1396
1397
  w({
1397
1398
  navbarElement: n || /* @__PURE__ */ e.createElement(
1398
- l_,
1399
+ c_,
1399
1400
  {
1400
- month: u,
1401
- classNames: g,
1402
- numberOfMonths: i,
1401
+ month: m,
1402
+ classNames: p,
1403
+ numberOfMonths: d,
1403
1404
  onMonthChange: h,
1404
1405
  toMonth: _,
1405
1406
  fromMonth: l
1406
1407
  }
1407
1408
  ),
1408
- ref: s,
1409
- classNames: g,
1410
- numberOfMonths: i,
1409
+ ref: u,
1410
+ classNames: p,
1411
+ numberOfMonths: d,
1411
1412
  toMonth: _,
1412
1413
  fromMonth: l,
1413
- firstDayOfWeek: p,
1414
- month: u,
1415
- renderDay: d || i_
1416
- }, m)
1414
+ firstDayOfWeek: g,
1415
+ month: m,
1416
+ renderDay: i || d_
1417
+ }, s)
1417
1418
  );
1418
- }, u_ = e.forwardRef(
1419
- (t, a) => /* @__PURE__ */ e.createElement(d_, w({ innerRef: a }, t))
1419
+ }, m_ = e.forwardRef(
1420
+ (t, a) => /* @__PURE__ */ e.createElement(u_, w({ innerRef: a }, t))
1420
1421
  );
1421
- u_.displayName = "DatePicker";
1422
+ m_.displayName = "DatePicker";
1422
1423
  var L = /* @__PURE__ */ ((t) => (t.NEW_SELECTED_ITEM = "NEW_SELECTED_ITEM", t.NEW_TEMPORARY_TO_VALUE = "NEW_TEMPORARY_TO_VALUE", t.CLEAR = "CLEAR", t.SET_FROM = "SET_FROM", t.SET_TO = "SET_TO", t.SELECT_FIRST_DAY = "SELECT_FIRST_DAY", t.SELECT_SECOND_DAY_AS_FROM = "SELECT_SECOND_DAY_AS_FROM", t.SELECT_SECOND_DAY_AS_TO = "SELECT_SECOND_DAY_AS_TO", t.CURRENT_MONTH_CHANGE = "CURRENT_MONTH_CHANGE", t))(L || {});
1423
- const m_ = (t) => {
1424
- const a = Aa(
1424
+ const p_ = (t) => {
1425
+ const a = Fa(
1425
1426
  t.initialFromDate,
1426
1427
  t.initialToDate,
1427
1428
  t.toMonth
@@ -1431,7 +1432,7 @@ const m_ = (t) => {
1431
1432
  to: void 0,
1432
1433
  temporaryTo: void 0,
1433
1434
  currentMonth: a
1434
- }), n_(t));
1435
+ }), s_(t));
1435
1436
  function o(l, c) {
1436
1437
  switch (c.type) {
1437
1438
  case L.NEW_SELECTED_ITEM:
@@ -1479,8 +1480,8 @@ const m_ = (t) => {
1479
1480
  return l;
1480
1481
  }
1481
1482
  }
1482
- return Va(o, _);
1483
- }, p_ = ({
1483
+ return Ya(o, _);
1484
+ }, g_ = ({
1484
1485
  options: t,
1485
1486
  initialSelectedItemKey: a,
1486
1487
  initialFromDate: r,
@@ -1489,9 +1490,9 @@ const m_ = (t) => {
1489
1490
  onChange: l,
1490
1491
  children: c
1491
1492
  }) => {
1492
- const i = Ya(
1493
+ const d = qa(
1493
1494
  a || null
1494
- ), [n, d] = m_({
1495
+ ), [n, i] = p_({
1495
1496
  options: t,
1496
1497
  initialSelectedItemKey: a,
1497
1498
  initialFromDate: r,
@@ -1501,129 +1502,129 @@ const m_ = (t) => {
1501
1502
  children: c
1502
1503
  });
1503
1504
  Ve(() => {
1504
- d({
1505
+ i({
1505
1506
  type: L.SET_FROM,
1506
1507
  payload: { date: r }
1507
1508
  });
1508
1509
  }, [r]), Ve(() => {
1509
- d({
1510
+ i({
1510
1511
  type: L.SET_TO,
1511
1512
  payload: { date: _ }
1512
1513
  });
1513
1514
  }, [_]), Ve(() => {
1514
- const p = Aa(
1515
+ const g = Fa(
1515
1516
  r,
1516
1517
  _,
1517
1518
  o
1518
1519
  );
1519
- d({
1520
+ i({
1520
1521
  type: L.CURRENT_MONTH_CHANGE,
1521
- payload: { date: p }
1522
+ payload: { date: g }
1522
1523
  });
1523
1524
  }, [o, r, _]), Ve(() => {
1524
- const { from: p, selectedItem: g, to: E } = n;
1525
- if (!(p && E))
1525
+ const { from: g, selectedItem: p, to: E } = n;
1526
+ if (!(g && E))
1526
1527
  return;
1527
- const v = lt(g, t);
1528
+ const v = lt(p, t);
1528
1529
  v && l && l(B(w({}, v), {
1529
1530
  value: {
1530
- from: p,
1531
+ from: g,
1531
1532
  to: E
1532
1533
  }
1533
1534
  }));
1534
1535
  }, [n.from, n.to, n.selectedItem, t, l]), Ve(() => {
1535
- const { selectedItem: p } = n;
1536
- if (p === i.current)
1536
+ const { selectedItem: g } = n;
1537
+ if (g === d.current)
1537
1538
  return;
1538
- if (!p) {
1539
+ if (!g) {
1539
1540
  l(null);
1540
1541
  return;
1541
1542
  }
1542
- if (!lt(p, t))
1543
+ if (!lt(g, t))
1543
1544
  return;
1544
1545
  const E = t.reduce(
1545
1546
  (v, C) => B(w({}, v), { [C.id]: C }),
1546
1547
  {}
1547
1548
  );
1548
- l(E[p]);
1549
+ l(E[g]);
1549
1550
  }, [l, n.selectedItem, t]);
1550
- const s = ut(
1551
- (p) => {
1552
- const g = o ? Ta(o, p) >= 0 : !0;
1553
- !na(n.from, n.to) && g && d({
1551
+ const u = mt(
1552
+ (g) => {
1553
+ const p = o ? Ia(o, g) >= 0 : !0;
1554
+ !sa(n.from, n.to) && p && i({
1554
1555
  type: L.NEW_TEMPORARY_TO_VALUE,
1555
- payload: { date: p }
1556
+ payload: { date: g }
1556
1557
  });
1557
1558
  },
1558
1559
  [o, n.from, n.to]
1559
- ), m = ut(
1560
- (p) => {
1561
- const { from: g, to: E } = n;
1562
- Pa(p, { to: o }) && (na(g, E) ? d({
1560
+ ), s = mt(
1561
+ (g) => {
1562
+ const { from: p, to: E } = n;
1563
+ Aa(g, { to: o }) && (sa(p, E) ? i({
1563
1564
  type: L.SELECT_FIRST_DAY,
1564
- payload: { date: p }
1565
- }) : g && Ht(p, g) || g && Gt(p, g) ? d({
1565
+ payload: { date: g }
1566
+ }) : p && Gt(g, p) || p && Ut(g, p) ? i({
1566
1567
  type: L.SELECT_SECOND_DAY_AS_TO,
1567
- payload: { date: p }
1568
- }) : d({
1568
+ payload: { date: g }
1569
+ }) : i({
1569
1570
  type: L.SELECT_SECOND_DAY_AS_FROM,
1570
- payload: { date: p }
1571
+ payload: { date: g }
1571
1572
  }));
1572
1573
  },
1573
1574
  [o, n.from, n.to]
1574
- ), u = ut(
1575
- (p) => {
1576
- if (p === null) {
1577
- d({
1575
+ ), m = mt(
1576
+ (g) => {
1577
+ if (g === null) {
1578
+ i({
1578
1579
  type: L.NEW_SELECTED_ITEM,
1579
1580
  payload: { selectedItem: null }
1580
1581
  });
1581
1582
  return;
1582
1583
  }
1583
- lt(p, t) && d({
1584
+ lt(g, t) && i({
1584
1585
  type: L.NEW_SELECTED_ITEM,
1585
- payload: { selectedItem: p }
1586
+ payload: { selectedItem: g }
1586
1587
  });
1587
1588
  },
1588
1589
  [t]
1589
- ), b = ut((p) => {
1590
- d({
1590
+ ), b = mt((g) => {
1591
+ i({
1591
1592
  type: L.CURRENT_MONTH_CHANGE,
1592
- payload: { date: p }
1593
+ payload: { date: g }
1593
1594
  });
1594
1595
  }, []);
1595
1596
  return c((() => {
1596
- const { currentMonth: p, from: g, selectedItem: E, temporaryTo: v, to: C } = n, N = mt(
1597
- () => c_(g, v),
1598
- [g, v]
1599
- ), k = mt(() => lt(E, t), [t, E]), y = mt(() => [g, { from: g, to: v }], [g, v]), x = mt(() => o ? { after: o } : void 0, [o]);
1597
+ const { currentMonth: g, from: p, selectedItem: E, temporaryTo: v, to: C } = n, S = pt(
1598
+ () => n_(p, v),
1599
+ [p, v]
1600
+ ), k = pt(() => lt(E, t), [t, E]), y = pt(() => [p, { from: p, to: v }], [p, v]), N = pt(() => o ? { after: o } : void 0, [o]);
1600
1601
  return {
1601
1602
  select: {
1602
- onItemSelect: u,
1603
+ onItemSelect: m,
1603
1604
  selected: E || ""
1604
1605
  },
1605
1606
  inputs: {
1606
- fromDate: g,
1607
+ fromDate: p,
1607
1608
  toDate: C
1608
1609
  },
1609
1610
  datepicker: {
1610
1611
  range: !0,
1611
- month: p,
1612
+ month: g,
1612
1613
  numberOfMonths: 2,
1613
- onDayClick: m,
1614
+ onDayClick: s,
1614
1615
  selectedDays: y,
1615
- modifiers: N,
1616
+ modifiers: S,
1616
1617
  initialMonth: o && Ge(o, 1),
1617
1618
  toMonth: o,
1618
- disabledDays: x,
1619
- onDayMouseEnter: s,
1619
+ disabledDays: N,
1620
+ onDayMouseEnter: u,
1620
1621
  onMonthChange: b
1621
1622
  },
1622
1623
  selectedOption: k
1623
1624
  };
1624
1625
  })());
1625
1626
  };
1626
- p_.defaultProps = {
1627
+ g_.defaultProps = {
1627
1628
  options: [
1628
1629
  {
1629
1630
  id: "default",
@@ -1636,10 +1637,10 @@ p_.defaultProps = {
1636
1637
  }
1637
1638
  ]
1638
1639
  };
1639
- const ia = {
1640
+ const da = {
1640
1641
  "field-error": "lc-FieldError-module__field-error___IDkPT",
1641
1642
  "field-error__icon": "lc-FieldError-module__field-error__icon___D4UNC"
1642
- }, da = "field-error", Zt = (_) => {
1643
+ }, ua = "field-error", Xt = (_) => {
1643
1644
  var o = _, {
1644
1645
  children: t,
1645
1646
  className: a = ""
@@ -1647,21 +1648,21 @@ const ia = {
1647
1648
  "children",
1648
1649
  "className"
1649
1650
  ]);
1650
- const l = f(ia[da], a);
1651
+ const l = f(da[ua], a);
1651
1652
  return /* @__PURE__ */ e.createElement(A, B(w({ as: "span", size: "sm" }, r), { className: l }), /* @__PURE__ */ e.createElement(
1652
1653
  I,
1653
1654
  {
1654
- source: Yt,
1655
- className: ia[`${da}__icon`],
1655
+ source: qt,
1656
+ className: da[`${ua}__icon`],
1656
1657
  size: "small"
1657
1658
  }
1658
1659
  ), t);
1659
- }, At = {
1660
+ }, Ft = {
1660
1661
  "field-group": "lc-FieldGroup-module__field-group___gy8lp",
1661
1662
  "field-group--inline": "lc-FieldGroup-module__field-group--inline___or4qf",
1662
1663
  "field-group--stretched": "lc-FieldGroup-module__field-group--stretched___6rkuO"
1663
- }, Ft = "field-group", _l = (i) => {
1664
- var n = i, {
1664
+ }, Rt = "field-group", ol = (d) => {
1665
+ var n = d, {
1665
1666
  className: t = "",
1666
1667
  children: a,
1667
1668
  description: r,
@@ -1676,25 +1677,25 @@ const ia = {
1676
1677
  "inline",
1677
1678
  "stretch"
1678
1679
  ]);
1679
- const d = f(At[Ft], t, {
1680
- [At[`${Ft}--inline`]]: o,
1681
- [At[`${Ft}--stretched`]]: l
1680
+ const i = f(Ft[Rt], t, {
1681
+ [Ft[`${Rt}--inline`]]: o,
1682
+ [Ft[`${Rt}--stretched`]]: l
1682
1683
  });
1683
- return /* @__PURE__ */ e.createElement("div", B(w({}, c), { className: d }), a, _ && /* @__PURE__ */ e.createElement(Zt, null, _), r && /* @__PURE__ */ e.createElement(Dt, null, r));
1684
- }, g_ = "lc-Form-module__form___1nOYF", f_ = "lc-Form-module__form__header___U4B7t", b_ = "lc-Form-module__form__footer___1-sUX", h_ = "lc-Form-module__form__label___spg-J", v_ = "lc-Form-module__form__helper___bhfwS", Xe = {
1685
- form: g_,
1686
- form__header: f_,
1687
- form__footer: b_,
1688
- form__label: h_,
1689
- form__helper: v_
1690
- }, je = "form", ol = (c) => {
1691
- var i = c, {
1684
+ return /* @__PURE__ */ e.createElement("div", B(w({}, c), { className: i }), a, _ && /* @__PURE__ */ e.createElement(Xt, null, _), r && /* @__PURE__ */ e.createElement(Tt, null, r));
1685
+ }, f_ = "lc-Form-module__form___1nOYF", b_ = "lc-Form-module__form__header___U4B7t", h_ = "lc-Form-module__form__footer___1-sUX", v_ = "lc-Form-module__form__label___spg-J", y_ = "lc-Form-module__form__helper___bhfwS", Xe = {
1686
+ form: f_,
1687
+ form__header: b_,
1688
+ form__footer: h_,
1689
+ form__label: v_,
1690
+ form__helper: y_
1691
+ }, je = "form", ll = (c) => {
1692
+ var d = c, {
1692
1693
  className: t,
1693
1694
  children: a,
1694
1695
  labelText: r,
1695
1696
  helperText: _,
1696
1697
  formFooter: o
1697
- } = i, l = P(i, [
1698
+ } = d, l = P(d, [
1698
1699
  "className",
1699
1700
  "children",
1700
1701
  "labelText",
@@ -1719,7 +1720,7 @@ const ia = {
1719
1720
  "form-field__row-break": "lc-FormField-module__form-field__row-break___DCBjC",
1720
1721
  "form-field__content": "lc-FormField-module__form-field__content___XaOx3",
1721
1722
  "form-field__content__description": "lc-FormField-module__form-field__content__description___NpVw4"
1722
- }, z = "form-field", ll = ({
1723
+ }, z = "form-field", cl = ({
1723
1724
  inline: t,
1724
1725
  error: a,
1725
1726
  description: r,
@@ -1727,10 +1728,10 @@ const ia = {
1727
1728
  labelAdornment: o,
1728
1729
  className: l,
1729
1730
  labelFor: c,
1730
- children: i,
1731
+ children: d,
1731
1732
  labelRightNode: n
1732
1733
  }) => {
1733
- const d = e.useRef(null), [s, m] = e.useState("auto"), u = f(
1734
+ const i = e.useRef(null), [u, s] = e.useState("auto"), m = f(
1734
1735
  O[z],
1735
1736
  {
1736
1737
  [O[`${z}--inline`]]: t
@@ -1738,9 +1739,9 @@ const ia = {
1738
1739
  l
1739
1740
  );
1740
1741
  return e.useEffect(() => {
1741
- const b = d;
1742
- return t && b.current ? m(`${b.current.clientHeight}px`) : m("auto");
1743
- }), /* @__PURE__ */ e.createElement("div", { className: u }, n && t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
1742
+ const b = i;
1743
+ return t && b.current ? s(`${b.current.clientHeight}px`) : s("auto");
1744
+ }), /* @__PURE__ */ e.createElement("div", { className: m }, n && t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
1744
1745
  "div",
1745
1746
  {
1746
1747
  className: f(
@@ -1774,7 +1775,7 @@ const ia = {
1774
1775
  t && O[`${z}__label-wrapper--inline`]
1775
1776
  ),
1776
1777
  style: {
1777
- height: s
1778
+ height: u
1778
1779
  }
1779
1780
  },
1780
1781
  /* @__PURE__ */ e.createElement(
@@ -1798,20 +1799,20 @@ const ia = {
1798
1799
  ),
1799
1800
  n && !t && /* @__PURE__ */ e.createElement("div", { className: f(O[`${z}__label-right-node`]) }, n)
1800
1801
  ),
1801
- /* @__PURE__ */ e.createElement("div", { className: f(O[`${z}__content`]) }, /* @__PURE__ */ e.createElement("div", { ref: d }, i), a && /* @__PURE__ */ e.createElement(Zt, null, a), !a && r && /* @__PURE__ */ e.createElement(
1802
- Dt,
1802
+ /* @__PURE__ */ e.createElement("div", { className: f(O[`${z}__content`]) }, /* @__PURE__ */ e.createElement("div", { ref: i }, d), a && /* @__PURE__ */ e.createElement(Xt, null, a), !a && r && /* @__PURE__ */ e.createElement(
1803
+ Tt,
1803
1804
  {
1804
1805
  className: f(O[`${z}__content__description`])
1805
1806
  },
1806
1807
  r
1807
1808
  ))
1808
1809
  ));
1809
- }, ht = {
1810
+ }, vt = {
1810
1811
  "form-group": "lc-FormGroup-module__form-group___e2JHa",
1811
1812
  "form-group__header": "lc-FormGroup-module__form-group__header___DgGmR",
1812
1813
  "form-group__label": "lc-FormGroup-module__form-group__label___NC-JW",
1813
1814
  "form-group__helper": "lc-FormGroup-module__form-group__helper___SRuxe"
1814
- }, vt = "form-group", cl = (l) => {
1815
+ }, yt = "form-group", nl = (l) => {
1815
1816
  var c = l, {
1816
1817
  className: t = "",
1817
1818
  children: a,
@@ -1823,19 +1824,19 @@ const ia = {
1823
1824
  "labelText",
1824
1825
  "helperText"
1825
1826
  ]);
1826
- const i = f(ht[vt], t);
1827
+ const d = f(vt[yt], t);
1827
1828
  return /* @__PURE__ */ e.createElement(
1828
1829
  "div",
1829
1830
  B(w(B(w({}, o), {
1830
1831
  role: "group"
1831
1832
  }), r && { "aria-label": r }), {
1832
- className: i
1833
+ className: d
1833
1834
  }),
1834
- /* @__PURE__ */ e.createElement("div", { className: ht[`${vt}__header`] }, /* @__PURE__ */ e.createElement(st, { as: "div", size: "sm", className: ht[`${vt}__label`] }, r), _ && /* @__PURE__ */ e.createElement(A, { as: "div", size: "sm", className: ht[`${vt}__helper`] }, _)),
1835
+ /* @__PURE__ */ e.createElement("div", { className: vt[`${yt}__header`] }, /* @__PURE__ */ e.createElement(st, { as: "div", size: "sm", className: vt[`${yt}__label`] }, r), _ && /* @__PURE__ */ e.createElement(A, { as: "div", size: "sm", className: vt[`${yt}__helper`] }, _)),
1835
1836
  a
1836
1837
  );
1837
- }, y_ = "lc-Input-module__input___qeMAQ", ye = {
1838
- input: y_,
1838
+ }, E_ = "lc-Input-module__input___qeMAQ", ye = {
1839
+ input: E_,
1839
1840
  "input--focused": "lc-Input-module__input--focused___wQH5-",
1840
1841
  "input--disabled": "lc-Input-module__input--disabled___HidXX",
1841
1842
  "input--error": "lc-Input-module__input--error___DlDbC",
@@ -1847,8 +1848,8 @@ const ia = {
1847
1848
  "input__icon--left": "lc-Input-module__input__icon--left___BcySs",
1848
1849
  "input__icon--right": "lc-Input-module__input__icon--right___VefSK",
1849
1850
  "input__visibility-button": "lc-Input-module__input__visibility-button___eWrVe"
1850
- }, Ee = "input", ua = (t, a) => e.cloneElement(t.source, {
1851
- "data-testid": `input-icon-${t.place}`,
1851
+ }, Ee = "input", ma = (t, a) => e.cloneElement(t.source, {
1852
+ ["data-testid"]: `input-icon-${t.place}`,
1852
1853
  className: f(
1853
1854
  ye[`${Ee}__icon`],
1854
1855
  ye[`${Ee}__icon--${t.place}`],
@@ -1856,9 +1857,9 @@ const ia = {
1856
1857
  [ye[`${Ee}__icon--disabled`]]: a
1857
1858
  }
1858
1859
  )
1859
- }), nl = e.forwardRef(
1860
- (i, c) => {
1861
- var n = i, {
1860
+ }), sl = e.forwardRef(
1861
+ (d, c) => {
1862
+ var n = d, {
1862
1863
  inputSize: t = "medium",
1863
1864
  error: a = !1,
1864
1865
  disabled: r,
@@ -1871,44 +1872,44 @@ const ia = {
1871
1872
  "icon",
1872
1873
  "className"
1873
1874
  ]);
1874
- const [d, s] = e.useState(!1), [m, u] = e.useState(!1), { type: b, onFocus: h, onBlur: p } = l, g = f(
1875
+ const [i, u] = e.useState(!1), [s, m] = e.useState(!1), { type: b, onFocus: h, onBlur: g } = l, p = f(
1875
1876
  o,
1876
1877
  ye[Ee],
1877
1878
  ye[`${Ee}--${t}`],
1878
1879
  {
1879
1880
  [ye[`${Ee}--disabled`]]: r,
1880
- [ye[`${Ee}--focused`]]: d,
1881
+ [ye[`${Ee}--focused`]]: i,
1881
1882
  [ye[`${Ee}--error`]]: a
1882
1883
  }
1883
- ), E = r ? "var(--content-disabled)" : "var(--content-default)", v = m ? Ja : Ka, C = _ && _.place === "left", N = _ && b !== "password" && _.place === "right";
1884
- return /* @__PURE__ */ e.createElement("div", { className: g, "aria-disabled": r, "tab-index": "0" }, C && ua(_, r), /* @__PURE__ */ e.createElement(
1884
+ ), E = r ? "var(--content-disabled)" : "var(--content-default)", v = s ? Ka : Qa, C = _ && _.place === "left", S = _ && b !== "password" && _.place === "right";
1885
+ return /* @__PURE__ */ e.createElement("div", { className: p, "aria-disabled": r, "tab-index": "0" }, C && ma(_, r), /* @__PURE__ */ e.createElement(
1885
1886
  "input",
1886
1887
  B(w({}, l), {
1887
1888
  ref: c,
1888
1889
  onFocus: (k) => {
1889
- s(!0), h == null || h(k);
1890
+ u(!0), h == null || h(k);
1890
1891
  },
1891
1892
  onBlur: (k) => {
1892
- s(!1), p == null || p(k);
1893
+ u(!1), g == null || g(k);
1893
1894
  },
1894
1895
  disabled: r,
1895
- type: b && !m ? b : "text"
1896
+ type: b && !s ? b : "text"
1896
1897
  })
1897
- ), N && ua(_, r), b === "password" && /* @__PURE__ */ e.createElement(
1898
- se,
1898
+ ), S && ma(_, r), b === "password" && /* @__PURE__ */ e.createElement(
1899
+ ne,
1899
1900
  {
1900
1901
  disabled: r,
1901
1902
  kind: "subtle",
1902
1903
  icon: /* @__PURE__ */ e.createElement(I, { customColor: E, source: v }),
1903
- onClick: () => u((k) => !k),
1904
+ onClick: () => m((k) => !k),
1904
1905
  className: ye[`${Ee}__visibility-button`]
1905
1906
  }
1906
1907
  ));
1907
1908
  }
1908
- ), E_ = "lc-Link-module__link___kqx52", ma = {
1909
- link: E_,
1909
+ ), k_ = "lc-Link-module__link___kqx52", pa = {
1910
+ link: k_,
1910
1911
  "link--bold": "lc-Link-module__link--bold___1rGdO"
1911
- }, pa = "link", sl = (_) => {
1912
+ }, ga = "link", il = (_) => {
1912
1913
  var o = _, {
1913
1914
  bold: t = !1,
1914
1915
  className: a = ""
@@ -1920,64 +1921,64 @@ const ia = {
1920
1921
  "a",
1921
1922
  w({
1922
1923
  className: f(
1923
- ma[pa],
1924
- t && ma[`${pa}--bold`],
1924
+ pa[ga],
1925
+ t && pa[`${ga}--bold`],
1925
1926
  a
1926
1927
  )
1927
1928
  }, r)
1928
1929
  );
1929
- }, k_ = "lc-Modal-module__modal__body___M-jmN", $_ = "lc-Modal-module__modal__header___Fp5VE", w_ = "lc-Modal-module__modal__heading___G9KVK", C_ = "lc-Modal-module__modal__footer___2LYdc", H = {
1930
+ }, $_ = "lc-Modal-module__modal__body___M-jmN", w_ = "lc-Modal-module__modal__header___Fp5VE", C_ = "lc-Modal-module__modal__heading___G9KVK", N_ = "lc-Modal-module__modal__footer___2LYdc", H = {
1930
1931
  "modal-base": "lc-Modal-module__modal-base___hbL1U",
1931
1932
  "modal-base__overlay": "lc-Modal-module__modal-base__overlay___kCQ8t",
1932
1933
  "modal-base__overlay--visible": "lc-Modal-module__modal-base__overlay--visible___zUNJL",
1933
1934
  "modal-base__close": "lc-Modal-module__modal-base__close___gJlgr",
1934
1935
  "modal-base__close--label-type": "lc-Modal-module__modal-base__close--label-type___Om0Vb",
1935
- modal__body: k_,
1936
+ modal__body: $_,
1936
1937
  "modal__body--full-space": "lc-Modal-module__modal__body--full-space___LsSNE",
1937
- modal__header: $_,
1938
+ modal__header: w_,
1938
1939
  "modal__label-header": "lc-Modal-module__modal__label-header___ZPtEy",
1939
- modal__heading: w_,
1940
+ modal__heading: C_,
1940
1941
  "modal__label-heading": "lc-Modal-module__modal__label-heading___WnYcF",
1941
- modal__footer: C_,
1942
+ modal__footer: N_,
1942
1943
  "modal-header": "lc-Modal-module__modal-header___rdz7I",
1943
1944
  "modal-header__heading-icon": "lc-Modal-module__modal-header__heading-icon___E4PN1",
1944
1945
  "modal-header__heading-body": "lc-Modal-module__modal-header__heading-body___9GxUa",
1945
1946
  "modal-header__heading-title": "lc-Modal-module__modal-header__heading-title___dnGnU",
1946
1947
  "modal-header__heading-description": "lc-Modal-module__modal-header__heading-description___g5XGt"
1947
- }, Rt = "modal-base", N_ = (c) => {
1948
- var i = c, {
1948
+ }, Mt = "modal-base", x_ = (c) => {
1949
+ var d = c, {
1949
1950
  children: t,
1950
1951
  className: a = "",
1951
1952
  onClose: r,
1952
1953
  closeOnEscPress: _ = !0,
1953
1954
  closeOnOverlayPress: o = !0
1954
- } = i, l = P(i, [
1955
+ } = d, l = P(d, [
1955
1956
  "children",
1956
1957
  "className",
1957
1958
  "onClose",
1958
1959
  "closeOnEscPress",
1959
1960
  "closeOnOverlayPress"
1960
1961
  ]);
1961
- const n = f(H[Rt], a);
1962
+ const n = f(H[Mt], a);
1962
1963
  e.useEffect(() => {
1963
1964
  if (!_)
1964
1965
  return;
1965
- const s = (m) => {
1966
- m.key === M.esc && r();
1966
+ const u = (s) => {
1967
+ s.key === M.esc && r();
1967
1968
  };
1968
- return document.addEventListener("keyup", s, !0), () => document.removeEventListener("keyup", s, !0);
1969
+ return document.addEventListener("keyup", u, !0), () => document.removeEventListener("keyup", u, !0);
1969
1970
  }, [_]);
1970
- const d = (s) => {
1971
- o && s.target === s.currentTarget && r();
1971
+ const i = (u) => {
1972
+ o && u.target === u.currentTarget && r();
1972
1973
  };
1973
1974
  return /* @__PURE__ */ e.createElement(
1974
1975
  "div",
1975
1976
  {
1976
1977
  "data-testid": "lc-modal-overlay",
1977
- onMouseDown: d,
1978
+ onMouseDown: i,
1978
1979
  className: f(
1979
- H[`${Rt}__overlay`],
1980
- H[`${Rt}__overlay--visible`]
1980
+ H[`${Mt}__overlay`],
1981
+ H[`${Mt}__overlay--visible`]
1981
1982
  )
1982
1983
  },
1983
1984
  /* @__PURE__ */ e.createElement(
@@ -1990,7 +1991,7 @@ const ia = {
1990
1991
  t
1991
1992
  )
1992
1993
  );
1993
- }, ga = ({
1994
+ }, fa = ({
1994
1995
  labelType: t,
1995
1996
  customColor: a,
1996
1997
  onClick: r
@@ -2006,8 +2007,8 @@ const ia = {
2006
2007
  type: "button"
2007
2008
  },
2008
2009
  /* @__PURE__ */ e.createElement(I, { source: xe, size: "large", customColor: a })
2009
- ), we = "modal", il = (n) => {
2010
- var d = n, {
2010
+ ), we = "modal", dl = (n) => {
2011
+ var i = n, {
2011
2012
  children: t,
2012
2013
  className: a = "",
2013
2014
  heading: r,
@@ -2015,7 +2016,7 @@ const ia = {
2015
2016
  fullSpaceContent: o,
2016
2017
  footer: l,
2017
2018
  onClose: c
2018
- } = d, i = P(d, [
2019
+ } = i, d = P(i, [
2019
2020
  "children",
2020
2021
  "className",
2021
2022
  "heading",
@@ -2024,10 +2025,10 @@ const ia = {
2024
2025
  "footer",
2025
2026
  "onClose"
2026
2027
  ]);
2027
- const s = f(H[we], a), m = (u) => {
2028
- u.preventDefault(), u.stopPropagation(), c();
2028
+ const u = f(H[we], a), s = (m) => {
2029
+ m.preventDefault(), m.stopPropagation(), c();
2029
2030
  };
2030
- return /* @__PURE__ */ e.createElement(N_, w({ className: s, onClose: c }, i), _ && /* @__PURE__ */ e.createElement("div", { className: H[`${we}__label-header`] }, /* @__PURE__ */ e.createElement(
2031
+ return /* @__PURE__ */ e.createElement(x_, w({ className: u, onClose: c }, d), _ && /* @__PURE__ */ e.createElement("div", { className: H[`${we}__label-header`] }, /* @__PURE__ */ e.createElement(
2031
2032
  st,
2032
2033
  {
2033
2034
  size: "xs",
@@ -2036,11 +2037,11 @@ const ia = {
2036
2037
  },
2037
2038
  _
2038
2039
  ), /* @__PURE__ */ e.createElement(
2039
- ga,
2040
+ fa,
2040
2041
  {
2041
2042
  labelType: !!_,
2042
2043
  customColor: "var(--color-white)",
2043
- onClick: m
2044
+ onClick: s
2044
2045
  }
2045
2046
  )), !_ && r && /* @__PURE__ */ e.createElement("div", { className: H[`${we}__header`] }, /* @__PURE__ */ e.createElement(
2046
2047
  st,
@@ -2050,7 +2051,7 @@ const ia = {
2050
2051
  className: H[`${we}__heading`]
2051
2052
  },
2052
2053
  r
2053
- )), !_ && /* @__PURE__ */ e.createElement(ga, { onClick: m }), /* @__PURE__ */ e.createElement(
2054
+ )), !_ && /* @__PURE__ */ e.createElement(fa, { onClick: s }), /* @__PURE__ */ e.createElement(
2054
2055
  "div",
2055
2056
  {
2056
2057
  "data-testid": "modal-body",
@@ -2061,7 +2062,7 @@ const ia = {
2061
2062
  },
2062
2063
  /* @__PURE__ */ e.createElement(A, { as: "div" }, t)
2063
2064
  ), l && /* @__PURE__ */ e.createElement("div", { className: H[`${we}__footer`] }, l));
2064
- }, dl = ({
2065
+ }, ul = ({
2065
2066
  children: t,
2066
2067
  className: a = "",
2067
2068
  parentElementName: r = "body",
@@ -2074,14 +2075,14 @@ const ia = {
2074
2075
  var c;
2075
2076
  (c = document.querySelector(r)) == null || c.removeChild(o);
2076
2077
  };
2077
- }, [r]), /* @__PURE__ */ e.createElement(e.Fragment, null, lr.createPortal(t, o));
2078
- }, et = "modal-header", ul = ({
2078
+ }, [r]), /* @__PURE__ */ e.createElement(e.Fragment, null, cr.createPortal(t, o));
2079
+ }, et = "modal-header", ml = ({
2079
2080
  title: t,
2080
2081
  iconProps: a,
2081
2082
  children: r,
2082
2083
  className: _ = ""
2083
2084
  }) => {
2084
- const o = cr(H[et], _);
2085
+ const o = nr(H[et], _);
2085
2086
  return /* @__PURE__ */ We.createElement("div", { className: o }, a && /* @__PURE__ */ We.createElement(I, w({ className: H[`${et}__heading-icon`] }, a)), /* @__PURE__ */ We.createElement("div", { className: H[`${et}__heading-body`] }, /* @__PURE__ */ We.createElement(A, { as: "div", className: H[`${et}__heading-title`] }, t), r && /* @__PURE__ */ We.createElement(
2086
2087
  A,
2087
2088
  {
@@ -2097,8 +2098,8 @@ const ia = {
2097
2098
  "numeric-input--disabled": "lc-NumericInput-module__numeric-input--disabled___yaRvQ",
2098
2099
  "numeric-input--no-controls": "lc-NumericInput-module__numeric-input--no-controls___D90rG",
2099
2100
  "numeric-input--error": "lc-NumericInput-module__numeric-input--error___TMxRx"
2100
- }, Re = "numeric-input", ml = (s) => {
2101
- var m = s, {
2101
+ }, Re = "numeric-input", pl = (u) => {
2102
+ var s = u, {
2102
2103
  className: t,
2103
2104
  error: a,
2104
2105
  value: r,
@@ -2106,9 +2107,9 @@ const ia = {
2106
2107
  min: o,
2107
2108
  disabled: l,
2108
2109
  noControls: c,
2109
- style: i,
2110
+ style: d,
2110
2111
  onChange: n
2111
- } = m, d = P(m, [
2112
+ } = s, i = P(s, [
2112
2113
  "className",
2113
2114
  "error",
2114
2115
  "value",
@@ -2119,7 +2120,7 @@ const ia = {
2119
2120
  "style",
2120
2121
  "onChange"
2121
2122
  ]);
2122
- const u = e.useRef(null), b = f(
2123
+ const m = e.useRef(null), b = f(
2123
2124
  Fe[Re],
2124
2125
  {
2125
2126
  [Fe[`${Re}--error`]]: a,
@@ -2127,34 +2128,34 @@ const ia = {
2127
2128
  [Fe[`${Re}--disabled`]]: l
2128
2129
  },
2129
2130
  t
2130
- ), h = (y) => n(String(y)), p = (y) => _ !== void 0 && y > _ ? _ : o !== void 0 && y < o ? o : y, g = (y) => {
2131
- const x = parseInt(r, 10) + y;
2132
- return h(p(x));
2131
+ ), h = (y) => n(String(y)), g = (y) => _ !== void 0 && y > _ ? _ : o !== void 0 && y < o ? o : y, p = (y) => {
2132
+ const N = parseInt(r, 10) + y;
2133
+ return h(g(N));
2133
2134
  }, E = (y) => {
2134
- y.key === M.arrowDown && (y.preventDefault(), g(-1)), y.key === M.arrowUp && (y.preventDefault(), g(1));
2135
- }, v = (y, x) => x !== void 0 && parseInt(y, 10) === x, C = (y) => {
2135
+ y.key === M.arrowDown && (y.preventDefault(), p(-1)), y.key === M.arrowUp && (y.preventDefault(), p(1));
2136
+ }, v = (y, N) => N !== void 0 && parseInt(y, 10) === N, C = (y) => {
2136
2137
  y.preventDefault(), y.stopPropagation();
2137
- const x = y.currentTarget.value.replace(
2138
+ const N = y.currentTarget.value.replace(
2138
2139
  /((?!([-]|([-]?\d+))).)/,
2139
2140
  ""
2140
2141
  );
2141
- if (x === "" || x === "-")
2142
- return h(x);
2143
- const $ = parseInt(x, 10);
2144
- return h(p($));
2145
- }, N = () => {
2142
+ if (N === "" || N === "-")
2143
+ return h(N);
2144
+ const $ = parseInt(N, 10);
2145
+ return h(g($));
2146
+ }, S = () => {
2146
2147
  var y;
2147
- return (y = u.current) == null || y.focus(), g(1);
2148
+ return (y = m.current) == null || y.focus(), p(1);
2148
2149
  }, k = () => {
2149
2150
  var y;
2150
- return (y = u.current) == null || y.focus(), g(-1);
2151
+ return (y = m.current) == null || y.focus(), p(-1);
2151
2152
  };
2152
- return /* @__PURE__ */ e.createElement("div", { className: b, style: i }, /* @__PURE__ */ e.createElement(
2153
+ return /* @__PURE__ */ e.createElement("div", { className: b, style: d }, /* @__PURE__ */ e.createElement(
2153
2154
  "input",
2154
2155
  B(w({
2155
2156
  type: "text",
2156
- ref: u
2157
- }, d), {
2157
+ ref: m
2158
+ }, i), {
2158
2159
  value: r,
2159
2160
  disabled: l,
2160
2161
  onChange: C,
@@ -2167,7 +2168,7 @@ const ia = {
2167
2168
  {
2168
2169
  tabIndex: -1,
2169
2170
  disabled: l || v(r, _),
2170
- onClick: N,
2171
+ onClick: S,
2171
2172
  "aria-label": "Increment value",
2172
2173
  className: Fe[`${Re}__increment`],
2173
2174
  type: "button"
@@ -2175,7 +2176,7 @@ const ia = {
2175
2176
  /* @__PURE__ */ e.createElement(
2176
2177
  I,
2177
2178
  {
2178
- source: xt,
2179
+ source: St,
2179
2180
  disabled: l || v(r, _),
2180
2181
  kind: "primary"
2181
2182
  }
@@ -2193,13 +2194,13 @@ const ia = {
2193
2194
  /* @__PURE__ */ e.createElement(
2194
2195
  I,
2195
2196
  {
2196
- source: St,
2197
+ source: Dt,
2197
2198
  kind: "primary",
2198
2199
  disabled: l || v(r, o)
2199
2200
  }
2200
2201
  )
2201
2202
  )));
2202
- }, Q = {
2203
+ }, K = {
2203
2204
  "picker-trigger": "lc-Trigger-module__picker-trigger___BIvTx",
2204
2205
  "picker-trigger--multi-select": "lc-Trigger-module__picker-trigger--multi-select___rLpTy",
2205
2206
  "picker-trigger--multi-select--with-items": "lc-Trigger-module__picker-trigger--multi-select--with-items___QFhY2",
@@ -2216,7 +2217,7 @@ const ia = {
2216
2217
  "picker-trigger--disabled": "lc-Trigger-module__picker-trigger--disabled___7H4tD",
2217
2218
  "picker-trigger--focused": "lc-Trigger-module__picker-trigger--focused___vTr39",
2218
2219
  "picker-trigger--error": "lc-Trigger-module__picker-trigger--error___Rh8Qd"
2219
- }, q = "picker-trigger", x_ = ({
2220
+ }, Y = "picker-trigger", S_ = ({
2220
2221
  children: t,
2221
2222
  isSearchDisabled: a,
2222
2223
  isDisabled: r,
@@ -2224,51 +2225,51 @@ const ia = {
2224
2225
  isItemSelected: o,
2225
2226
  isOpen: l,
2226
2227
  isRequired: c,
2227
- isMultiSelect: i,
2228
+ isMultiSelect: d,
2228
2229
  size: n = "medium",
2229
- hideClearButton: d,
2230
- onTrigger: s,
2231
- onClear: m,
2232
- testId: u
2230
+ hideClearButton: i,
2231
+ onTrigger: u,
2232
+ onClear: s,
2233
+ testId: m
2233
2234
  }) => {
2234
2235
  const b = e.useRef(null), h = f(
2235
- Q[q],
2236
- Q[`${q}--${n}`],
2237
- i && Q[`${q}--multi-select`],
2238
- i && o && Q[`${q}--multi-select--with-items`],
2239
- r && Q[`${q}--disabled`],
2240
- l && Q[`${q}--focused`],
2241
- _ && Q[`${q}--error`]
2236
+ K[Y],
2237
+ K[`${Y}--${n}`],
2238
+ d && K[`${Y}--multi-select`],
2239
+ d && o && K[`${Y}--multi-select--with-items`],
2240
+ r && K[`${Y}--disabled`],
2241
+ l && K[`${Y}--focused`],
2242
+ _ && K[`${Y}--error`]
2242
2243
  );
2243
2244
  e.useEffect(() => {
2244
2245
  const v = (C) => {
2245
- document.activeElement === b.current && C.key !== M.tab && s(C);
2246
+ document.activeElement === b.current && C.key !== M.tab && u(C);
2246
2247
  };
2247
2248
  return a || document.addEventListener("keydown", v), () => {
2248
2249
  a || document.removeEventListener("keydown", v);
2249
2250
  };
2250
2251
  }, [a]);
2251
- const p = (v) => {
2252
- s(v);
2253
- }, g = (v) => {
2254
- v.stopPropagation(), m();
2255
- }, E = !d && o && !r && !c;
2252
+ const g = (v) => {
2253
+ u(v);
2254
+ }, p = (v) => {
2255
+ v.stopPropagation(), s();
2256
+ }, E = !i && o && !r && !c;
2256
2257
  return /* @__PURE__ */ e.createElement(
2257
2258
  "div",
2258
2259
  {
2259
2260
  ref: b,
2260
2261
  className: h,
2261
- onClick: p,
2262
+ onClick: g,
2262
2263
  tabIndex: 0,
2263
- "data-testid": u
2264
+ "data-testid": m
2264
2265
  },
2265
2266
  /* @__PURE__ */ e.createElement(
2266
2267
  "div",
2267
2268
  {
2268
2269
  className: f(
2269
- Q[`${q}__content`],
2270
- Q[`${q}__content--${n}`],
2271
- i && o && Q[`${q}__content--with-items`]
2270
+ K[`${Y}__content`],
2271
+ K[`${Y}__content--${n}`],
2272
+ d && o && K[`${Y}__content--with-items`]
2272
2273
  )
2273
2274
  },
2274
2275
  t
@@ -2277,24 +2278,24 @@ const ia = {
2277
2278
  "div",
2278
2279
  {
2279
2280
  className: f(
2280
- Q[`${q}__controls`],
2281
- Q[`${q}__controls--${n}`]
2281
+ K[`${Y}__controls`],
2282
+ K[`${Y}__controls--${n}`]
2282
2283
  )
2283
2284
  },
2284
2285
  E && /* @__PURE__ */ e.createElement(
2285
2286
  "div",
2286
2287
  {
2287
- "data-testid": `${q}__clear-icon`,
2288
- className: Q[`${q}__clear-icon`],
2289
- onClick: g
2288
+ "data-testid": `${Y}__clear-icon`,
2289
+ className: K[`${Y}__clear-icon`],
2290
+ onClick: p
2290
2291
  },
2291
2292
  /* @__PURE__ */ e.createElement(I, { kind: "primary", size: "small", source: xe })
2292
2293
  ),
2293
2294
  /* @__PURE__ */ e.createElement(
2294
2295
  I,
2295
2296
  {
2296
- className: Q[`${q}__chevron-icon`],
2297
- source: l ? xt : St,
2297
+ className: K[`${Y}__chevron-icon`],
2298
+ source: l ? St : Dt,
2298
2299
  size: "large",
2299
2300
  disabled: r
2300
2301
  }
@@ -2309,7 +2310,7 @@ const ia = {
2309
2310
  "picker-list__item__header": "lc-PickerList-module__picker-list__item__header___mxmg0",
2310
2311
  "picker-list__item__content": "lc-PickerList-module__picker-list__item__content___D-tsE",
2311
2312
  "picker-list__item__custom": "lc-PickerList-module__picker-list__item__custom___kJEP6"
2312
- }, He = "select-all", Wt = "picker-list", Pe = `${Wt}__item`, S_ = ({
2313
+ }, He = "select-all", Vt = "picker-list", Pe = `${Vt}__item`, D_ = ({
2313
2314
  isOpen: t,
2314
2315
  items: a,
2315
2316
  selectedItemsKeys: r,
@@ -2317,58 +2318,58 @@ const ia = {
2317
2318
  selectAllOptionText: o,
2318
2319
  isMultiSelect: l,
2319
2320
  onClose: c,
2320
- onSelect: i,
2321
+ onSelect: d,
2321
2322
  onSelectAll: n
2322
2323
  }) => {
2323
- const d = f(fe[Wt], {
2324
- [fe[`${Wt}__no-results`]]: a.length === 0
2325
- }), [s, m] = e.useState(
2324
+ const i = f(fe[Vt], {
2325
+ [fe[`${Vt}__no-results`]]: a.length === 0
2326
+ }), [u, s] = e.useState(
2326
2327
  null
2327
- ), u = e.useRef(-1), b = e.useRef(0), h = e.useRef(null), p = ($) => {
2328
- if ($.key === M.esc && ($.preventDefault(), c()), $.key === M.arrowUp && u.current > 0 && ($.preventDefault(), u.current = E(), m(a[u.current].key)), $.key === M.arrowDown && u.current + 1 < a.length && ($.preventDefault(), u.current = v(), m(a[u.current].key)), $.key === M.enter && !a[u.current].disabled) {
2329
- if ($.preventDefault(), a[u.current].key === He)
2328
+ ), m = e.useRef(-1), b = e.useRef(0), h = e.useRef(null), g = ($) => {
2329
+ if ($.key === M.esc && ($.preventDefault(), c()), $.key === M.arrowUp && m.current > 0 && ($.preventDefault(), m.current = E(), s(a[m.current].key)), $.key === M.arrowDown && m.current + 1 < a.length && ($.preventDefault(), m.current = v(), s(a[m.current].key)), $.key === M.enter && !a[m.current].disabled) {
2330
+ if ($.preventDefault(), a[m.current].key === He)
2330
2331
  return n();
2331
- i(a[u.current]);
2332
+ d(a[m.current]);
2332
2333
  }
2333
2334
  };
2334
2335
  e.useEffect(() => {
2335
- if (u.current > -1 && a.length > 0 && m(a[u.current].key), t)
2336
- return document.addEventListener("keydown", p), () => document.removeEventListener("keydown", p);
2337
- u.current = -1, b.current = 0, m(null);
2338
- }, [a, t, p]);
2339
- const g = ($) => !!a[$] && (a[$].disabled || a[$].groupHeader), E = () => {
2340
- for (u.current = u.current - 1; g(u.current) && (u.current = u.current - 1, !!g(u.current)); )
2336
+ if (m.current > -1 && a.length > 0 && s(a[m.current].key), t)
2337
+ return document.addEventListener("keydown", g), () => document.removeEventListener("keydown", g);
2338
+ m.current = -1, b.current = 0, s(null);
2339
+ }, [a, t, g]);
2340
+ const p = ($) => !!a[$] && (a[$].disabled || a[$].groupHeader), E = () => {
2341
+ for (m.current = m.current - 1; p(m.current) && (m.current = m.current - 1, !!p(m.current)); )
2341
2342
  ;
2342
- return b.current = u.current, u.current;
2343
+ return b.current = m.current, m.current;
2343
2344
  }, v = () => {
2344
- if (u.current = u.current + 1, !g(u.current))
2345
- return b.current = u.current, u.current;
2346
- for (; g(u.current); ) {
2347
- if (u.current = u.current + 1, u.current === a.length && !g(u.current))
2345
+ if (m.current = m.current + 1, !p(m.current))
2346
+ return b.current = m.current, m.current;
2347
+ for (; p(m.current); ) {
2348
+ if (m.current = m.current + 1, m.current === a.length && !p(m.current))
2348
2349
  return b.current;
2349
- if (!g(u.current))
2350
+ if (!p(m.current))
2350
2351
  break;
2351
2352
  }
2352
- return b.current = u.current, u.current;
2353
- }, C = ($) => i($), N = () => n(), k = ($) => r ? r.includes($) : !1, y = () => !l || l && !o ? null : /* @__PURE__ */ e.createElement(
2353
+ return b.current = m.current, m.current;
2354
+ }, C = ($) => d($), S = () => n(), k = ($) => r ? r.includes($) : !1, y = () => !l || l && !o ? null : /* @__PURE__ */ e.createElement(
2354
2355
  "li",
2355
2356
  {
2356
2357
  ref: ($) => {
2357
- s === He && ($ == null || $.scrollIntoView({ block: "nearest" }));
2358
+ u === He && ($ == null || $.scrollIntoView({ block: "nearest" }));
2358
2359
  },
2359
2360
  role: "option",
2360
- "aria-current": s === He,
2361
+ "aria-current": u === He,
2361
2362
  id: He,
2362
2363
  key: He,
2363
2364
  className: f(
2364
2365
  fe[Pe],
2365
2366
  fe[`${Pe}--select-all`]
2366
2367
  ),
2367
- onClick: N
2368
+ onClick: S
2368
2369
  },
2369
2370
  o
2370
- ), x = ($) => $ != null && $.customElement ? /* @__PURE__ */ e.createElement("div", { className: fe[`${Pe}__custom`] }, $.customElement.listItemBody) : $.name;
2371
- return t ? a.length === 0 ? /* @__PURE__ */ e.createElement("div", { className: d }, _) : /* @__PURE__ */ e.createElement("ul", { ref: h, className: d, role: "listbox", tabIndex: -1 }, y(), a.map(($) => $.groupHeader ? /* @__PURE__ */ e.createElement(
2371
+ ), N = ($) => $ != null && $.customElement ? /* @__PURE__ */ e.createElement("div", { className: fe[`${Pe}__custom`] }, $.customElement.listItemBody) : $.name;
2372
+ return t ? a.length === 0 ? /* @__PURE__ */ e.createElement("div", { className: i }, _) : /* @__PURE__ */ e.createElement("ul", { ref: h, className: i, role: "listbox", tabIndex: -1 }, y(), a.map(($) => $.groupHeader ? /* @__PURE__ */ e.createElement(
2372
2373
  "li",
2373
2374
  {
2374
2375
  role: "option",
@@ -2381,10 +2382,10 @@ const ia = {
2381
2382
  {
2382
2383
  "data-testid": $.key,
2383
2384
  ref: (W) => {
2384
- s === $.key && (W == null || W.scrollIntoView({ block: "nearest" }));
2385
+ u === $.key && (W == null || W.scrollIntoView({ block: "nearest" }));
2385
2386
  },
2386
2387
  role: "option",
2387
- "aria-current": s === $.key,
2388
+ "aria-current": u === $.key,
2388
2389
  "aria-selected": k($.key),
2389
2390
  "aria-disabled": $.disabled,
2390
2391
  id: $.key,
@@ -2394,23 +2395,23 @@ const ia = {
2394
2395
  }),
2395
2396
  onClick: () => !$.disabled && C($)
2396
2397
  },
2397
- /* @__PURE__ */ e.createElement("div", { className: fe[`${Pe}__content`] }, x($)),
2398
+ /* @__PURE__ */ e.createElement("div", { className: fe[`${Pe}__content`] }, N($)),
2398
2399
  k($.key) && /* @__PURE__ */ e.createElement(
2399
2400
  I,
2400
2401
  {
2401
2402
  kind: "link",
2402
- source: qt,
2403
+ source: Jt,
2403
2404
  customColor: "var(--content-basic-info)"
2404
2405
  }
2405
2406
  )
2406
2407
  ))) : null;
2407
- }, D_ = "lc-Picker-module__picker___GRj9W", T_ = "lc-Picker-module__picker__container___s0PUc", fa = {
2408
- picker: D_,
2409
- picker__container: T_
2410
- }, I_ = "lc-Tag-module__tag___1QRVY", B_ = "lc-Tag-module__tag__remove___UmtrW", P_ = "lc-Tag-module__icon___2Z-35", A_ = "lc-Tag-module__tag__icon___tZoQ9", F_ = "lc-Tag-module__tag__avatar___U4c-P", ie = {
2411
- tag: I_,
2408
+ }, T_ = "lc-Picker-module__picker___GRj9W", I_ = "lc-Picker-module__picker__container___s0PUc", ba = {
2409
+ picker: T_,
2410
+ picker__container: I_
2411
+ }, B_ = "lc-Tag-module__tag___1QRVY", P_ = "lc-Tag-module__tag__remove___UmtrW", A_ = "lc-Tag-module__icon___2Z-35", F_ = "lc-Tag-module__tag__icon___tZoQ9", R_ = "lc-Tag-module__tag__avatar___U4c-P", ie = {
2412
+ tag: B_,
2412
2413
  "tag--success": "lc-Tag-module__tag--success___P2hXQ",
2413
- tag__remove: B_,
2414
+ tag__remove: P_,
2414
2415
  "tag--error": "lc-Tag-module__tag--error___1cjsm",
2415
2416
  "tag--warning": "lc-Tag-module__tag--warning___PstMG",
2416
2417
  "tag--info": "lc-Tag-module__tag--info___RTH0C",
@@ -2419,15 +2420,15 @@ const ia = {
2419
2420
  "tag--outline": "lc-Tag-module__tag--outline___aZXtr",
2420
2421
  "tag--medium": "lc-Tag-module__tag--medium___l5-KI",
2421
2422
  "tag--large": "lc-Tag-module__tag--large___ytC6Y",
2422
- icon: P_,
2423
+ icon: A_,
2423
2424
  "tag--text-white": "lc-Tag-module__tag--text-white___x0fnD",
2424
2425
  "tag--text-black": "lc-Tag-module__tag--text-black___dUvmD",
2425
2426
  "tag--with-icon": "lc-Tag-module__tag--with-icon___ZlkvT",
2426
2427
  "tag--dismissible": "lc-Tag-module__tag--dismissible___Qobyr",
2427
- tag__icon: A_,
2428
- tag__avatar: F_
2429
- }, de = "tag", R_ = (t) => t ? Jt(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", Fa = (u) => {
2430
- var b = u, {
2428
+ tag__icon: F_,
2429
+ tag__avatar: R_
2430
+ }, de = "tag", M_ = (t) => t ? Kt(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", Ra = (m) => {
2431
+ var b = m, {
2431
2432
  className: t = "",
2432
2433
  children: a,
2433
2434
  dismissible: r = !1,
@@ -2435,11 +2436,11 @@ const ia = {
2435
2436
  iconSize: o = "medium",
2436
2437
  kind: l = "default",
2437
2438
  onRemove: c,
2438
- outline: i = !1,
2439
+ outline: d = !1,
2439
2440
  icon: n,
2440
- avatar: d,
2441
- customColor: s
2442
- } = b, m = P(b, [
2441
+ avatar: i,
2442
+ customColor: u
2443
+ } = b, s = P(b, [
2443
2444
  "className",
2444
2445
  "children",
2445
2446
  "dismissible",
@@ -2459,46 +2460,46 @@ const ia = {
2459
2460
  ie[`${de}--${l}`],
2460
2461
  {
2461
2462
  [ie[`${de}--dismissible`]]: r,
2462
- [ie[`${de}--outline`]]: i,
2463
- [ie[`${de}--with-icon`]]: !!n || !!d,
2464
- [ie[`${de}--${R_(s)}`]]: !!s
2463
+ [ie[`${de}--outline`]]: d,
2464
+ [ie[`${de}--with-icon`]]: !!n || !!i,
2465
+ [ie[`${de}--${M_(u)}`]]: !!u
2465
2466
  }
2466
- ), p = () => s ? i ? {
2467
+ ), g = () => u ? d ? {
2467
2468
  style: {
2468
2469
  backgroundColor: "transparent",
2469
- color: s,
2470
- borderColor: s
2470
+ color: u,
2471
+ borderColor: u
2471
2472
  }
2472
- } : { style: { backgroundColor: s } } : {}, g = () => {
2473
- if (s)
2474
- return i ? s : Jt(s, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
2473
+ } : { style: { backgroundColor: u } } : {}, p = () => {
2474
+ if (u)
2475
+ return d ? u : Kt(u, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
2475
2476
  };
2476
2477
  return /* @__PURE__ */ e.createElement(
2477
2478
  A,
2478
2479
  B(w(w({
2479
2480
  className: h
2480
- }, m), p()), {
2481
+ }, s), g()), {
2481
2482
  as: "div",
2482
2483
  size: "md"
2483
2484
  }),
2484
- d && /* @__PURE__ */ e.createElement(
2485
+ i && /* @__PURE__ */ e.createElement(
2485
2486
  "img",
2486
2487
  {
2487
2488
  className: ie[`${de}__avatar`],
2488
- src: d,
2489
+ src: i,
2489
2490
  alt: "tag-avatar",
2490
2491
  "data-testid": "lc-tag-avatar"
2491
2492
  }
2492
2493
  ),
2493
2494
  " ",
2494
- n && !d && /* @__PURE__ */ e.createElement(
2495
+ n && !i && /* @__PURE__ */ e.createElement(
2495
2496
  I,
2496
2497
  {
2497
2498
  "data-testid": "lc-tag-icon",
2498
2499
  className: ie[`${de}__icon`],
2499
2500
  source: n,
2500
2501
  size: "small",
2501
- customColor: g()
2502
+ customColor: p()
2502
2503
  }
2503
2504
  ),
2504
2505
  a,
@@ -2516,7 +2517,7 @@ const ia = {
2516
2517
  "data-dismiss-icon": !0,
2517
2518
  source: xe,
2518
2519
  size: o,
2519
- customColor: g()
2520
+ customColor: p()
2520
2521
  }
2521
2522
  )
2522
2523
  )
@@ -2526,7 +2527,7 @@ const ia = {
2526
2527
  "picker-trigger-body__item-container": "lc-TriggerBody-module__picker-trigger-body__item-container___l2NTQ",
2527
2528
  "picker-trigger-body__item": "lc-TriggerBody-module__picker-trigger-body__item___0DBg1",
2528
2529
  "picker-trigger-body__input": "lc-TriggerBody-module__picker-trigger-body__input___ezPyz"
2529
- }, Le = "picker-trigger-body", M_ = ({
2530
+ }, Le = "picker-trigger-body", L_ = ({
2530
2531
  isOpen: t,
2531
2532
  isSearchDisabled: a,
2532
2533
  isDisabled: r,
@@ -2534,33 +2535,39 @@ const ia = {
2534
2535
  items: o,
2535
2536
  type: l,
2536
2537
  iconSize: c,
2537
- onItemRemove: i,
2538
- onFilter: n
2538
+ clearSearchAfterSelection: d,
2539
+ onItemRemove: n,
2540
+ onFilter: i
2539
2541
  }) => {
2540
- const d = t && !a, s = (b) => l === "single" && t && !a ? null : b != null && b.customElement ? /* @__PURE__ */ e.createElement("div", { className: Me[`${Le}__custom`] }, b.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: Me[`${Le}__item`] }, b.name), m = (b) => {
2541
- n(b.target.value);
2542
- }, u = () => /* @__PURE__ */ e.createElement(
2542
+ const u = t && !a, s = e.useRef(null);
2543
+ e.useEffect(() => {
2544
+ d && (i(""), s.current && (s.current.value = "", s.current.focus()));
2545
+ }, [o, d]);
2546
+ const m = (g) => l === "single" && t && !a ? null : g != null && g.customElement ? /* @__PURE__ */ e.createElement("div", { className: Me[`${Le}__custom`] }, g.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: Me[`${Le}__item`] }, g.name), b = (g) => {
2547
+ i(g.target.value);
2548
+ }, h = () => /* @__PURE__ */ e.createElement(
2543
2549
  "input",
2544
2550
  {
2551
+ ref: s,
2545
2552
  className: Me[`${Le}__input`],
2546
2553
  placeholder: "Select option",
2547
- onChange: m,
2554
+ onChange: b,
2548
2555
  autoFocus: !0
2549
2556
  }
2550
2557
  );
2551
- return !o || o.length === 0 ? d ? u() : /* @__PURE__ */ e.createElement("div", null, _) : /* @__PURE__ */ e.createElement("div", { className: Me[Le] }, /* @__PURE__ */ e.createElement("div", { className: Me[`${Le}__item-container`] }, l === "single" ? s(o[0]) : o.map((b) => /* @__PURE__ */ e.createElement(
2552
- Fa,
2558
+ return !o || o.length === 0 ? u ? h() : /* @__PURE__ */ e.createElement("div", null, _) : /* @__PURE__ */ e.createElement("div", { className: Me[Le] }, /* @__PURE__ */ e.createElement("div", { className: Me[`${Le}__item-container`] }, l === "single" ? m(o[0]) : o.map((g) => /* @__PURE__ */ e.createElement(
2559
+ Ra,
2553
2560
  {
2554
- key: b.name,
2561
+ key: g.name,
2555
2562
  className: Me[`${Le}__tag`],
2556
2563
  iconSize: c,
2557
2564
  dismissible: !r,
2558
- onRemove: () => i(b)
2565
+ onRemove: () => n(g)
2559
2566
  },
2560
- s(b)
2561
- ))), d && u());
2562
- }, ba = "picker", pl = (E) => {
2563
- var v = E, {
2567
+ m(g)
2568
+ ))), u && h());
2569
+ }, ha = "picker", gl = (v) => {
2570
+ var C = v, {
2564
2571
  className: t,
2565
2572
  disabled: a,
2566
2573
  error: r,
@@ -2568,16 +2575,17 @@ const ia = {
2568
2575
  selected: o,
2569
2576
  size: l = "medium",
2570
2577
  tagIconSize: c = "medium",
2571
- placeholder: i = "Select option",
2578
+ placeholder: d = "Select option",
2572
2579
  isRequired: n,
2573
- noSearchResultText: d = "No results found",
2574
- selectAllOptionText: s,
2575
- type: m = "single",
2576
- searchDisabled: u = !1,
2580
+ noSearchResultText: i = "No results found",
2581
+ selectAllOptionText: u,
2582
+ type: s = "single",
2583
+ searchDisabled: m = !1,
2577
2584
  hideClearButton: b,
2578
2585
  openedOnInit: h = !1,
2586
+ clearSearchAfterSelection: g,
2579
2587
  onSelect: p
2580
- } = v, g = P(v, [
2588
+ } = C, E = P(C, [
2581
2589
  "className",
2582
2590
  "disabled",
2583
2591
  "error",
@@ -2593,114 +2601,116 @@ const ia = {
2593
2601
  "searchDisabled",
2594
2602
  "hideClearButton",
2595
2603
  "openedOnInit",
2604
+ "clearSearchAfterSelection",
2596
2605
  "onSelect"
2597
2606
  ]);
2598
- const [C, N] = e.useState(h), [k, y] = e.useState(null), x = e.useRef(null), $ = f(fa[ba], t);
2607
+ const [S, k] = e.useState(h), [y, N] = e.useState(null), $ = e.useRef(null), W = f(ba[ha], t);
2599
2608
  e.useEffect(() => {
2600
- if (C) {
2601
- const F = (Y) => {
2609
+ if (S) {
2610
+ const F = (j) => {
2602
2611
  var Te;
2603
- (Te = x.current) != null && Te.contains(Y.target) || N(!1);
2604
- }, G = (Y) => {
2605
- Y.key === M.tab && N(!1);
2612
+ (Te = $.current) != null && Te.contains(j.target) || k(!1);
2613
+ }, G = (j) => {
2614
+ j.key === M.tab && k(!1);
2606
2615
  };
2607
2616
  return document.addEventListener("mousedown", F), document.addEventListener("keydown", G), () => {
2608
2617
  document.removeEventListener("mousedown", F), document.addEventListener("keydown", G);
2609
2618
  };
2610
2619
  } else
2611
- y(null);
2612
- }, [C]);
2613
- const W = (F) => {
2620
+ N(null);
2621
+ }, [S]);
2622
+ const X = (F) => {
2614
2623
  const G = F.target;
2615
- a || G.getAttribute("data-dismiss-icon") || N((Y) => !Y);
2616
- }, j = () => {
2617
- N(!1);
2618
- }, $e = (F) => {
2619
- if (m === "single")
2620
- return N(!1), p([F]);
2621
- const G = F.key, Y = it;
2622
- if (!Y)
2624
+ a || G.getAttribute("data-dismiss-icon") || k((j) => !j);
2625
+ }, $e = () => {
2626
+ k(!1);
2627
+ }, Ae = (F) => {
2628
+ if (s === "single")
2629
+ return k(!1), p([F]);
2630
+ const G = F.key, j = dt;
2631
+ if (!j)
2623
2632
  return p([F]);
2624
- const Te = Y.includes(
2633
+ const Te = j.includes(
2625
2634
  G
2626
- ) ? Y.filter((Tt) => Tt !== G) : Y.concat(G);
2635
+ ) ? j.filter((It) => It !== G) : j.concat(G);
2627
2636
  if ((Te == null ? void 0 : Te.length) === 0)
2628
2637
  return p(null);
2629
- const Ha = _.filter(
2630
- (Tt) => Te.includes(Tt.key)
2638
+ const Ga = _.filter(
2639
+ (It) => Te.includes(It.key)
2631
2640
  );
2632
- p(Ha);
2633
- }, Ae = (F) => !F.disabled && !F.groupHeader && F.key !== He, Se = () => {
2634
- N(!1);
2635
- const F = _e.filter(Ae);
2641
+ p(Ga);
2642
+ }, Se = (F) => !F.disabled && !F.groupHeader && F.key !== He, De = () => {
2643
+ k(!1);
2644
+ const F = it.filter(Se);
2636
2645
  p(F);
2637
- }, De = () => {
2638
- N(!1), p(null);
2639
- }, Ue = (F) => y(F), me = (F) => {
2640
- const G = o ? o.filter((Y) => Y !== F) : null;
2646
+ }, Ue = () => {
2647
+ k(!1), p(null);
2648
+ }, me = (F) => N(F), se = (F) => {
2649
+ const G = o ? o.filter((j) => j !== F) : null;
2641
2650
  if ((G == null ? void 0 : G.length) === 0)
2642
2651
  return p(null);
2643
2652
  p(G);
2644
- }, _e = e.useMemo(() => k ? _.filter((F) => {
2653
+ }, it = e.useMemo(() => y ? _.filter((F) => {
2645
2654
  if (F.groupHeader)
2646
2655
  return !1;
2647
- const G = k.toLowerCase();
2656
+ const G = y.toLowerCase();
2648
2657
  return F.name.toLowerCase().includes(G);
2649
- }) : _, [k, _]), it = e.useMemo(() => o ? o.map((F) => F.key) : null, [o]);
2650
- return /* @__PURE__ */ e.createElement("div", { ref: x, className: $, id: g.id }, /* @__PURE__ */ e.createElement("div", { className: fa[`${ba}__container`] }, /* @__PURE__ */ e.createElement(
2651
- x_,
2658
+ }) : _, [y, _]), dt = e.useMemo(() => o ? o.map((F) => F.key) : null, [o]);
2659
+ return /* @__PURE__ */ e.createElement("div", { ref: $, className: W, id: E.id }, /* @__PURE__ */ e.createElement("div", { className: ba[`${ha}__container`] }, /* @__PURE__ */ e.createElement(
2660
+ S_,
2652
2661
  {
2653
- testId: g["data-testid"],
2654
- isSearchDisabled: u,
2662
+ testId: E["data-testid"],
2663
+ isSearchDisabled: m,
2655
2664
  isError: r,
2656
- isOpen: C,
2665
+ isOpen: S,
2657
2666
  isDisabled: a,
2658
2667
  isItemSelected: !!o,
2659
2668
  isRequired: n,
2660
- isMultiSelect: m === "multi",
2669
+ isMultiSelect: s === "multi",
2661
2670
  size: l,
2662
2671
  hideClearButton: b,
2663
- onTrigger: W,
2664
- onClear: De
2672
+ onTrigger: X,
2673
+ onClear: Ue
2665
2674
  },
2666
2675
  /* @__PURE__ */ e.createElement(
2667
- M_,
2676
+ L_,
2668
2677
  {
2669
- isOpen: C,
2670
- isSearchDisabled: u,
2678
+ isOpen: S,
2679
+ isSearchDisabled: m,
2671
2680
  isDisabled: a,
2672
- placeholder: i,
2681
+ placeholder: d,
2673
2682
  iconSize: c,
2674
2683
  items: o,
2675
- type: m,
2676
- onItemRemove: me,
2677
- onFilter: Ue
2684
+ type: s,
2685
+ clearSearchAfterSelection: g,
2686
+ onItemRemove: se,
2687
+ onFilter: me
2678
2688
  }
2679
2689
  )
2680
2690
  ), /* @__PURE__ */ e.createElement(
2681
- S_,
2691
+ D_,
2682
2692
  {
2683
- selectedItemsKeys: it,
2684
- items: _e,
2685
- isOpen: C,
2686
- isMultiSelect: m === "multi",
2687
- emptyStateText: d,
2688
- selectAllOptionText: s,
2689
- onClose: j,
2690
- onSelect: $e,
2691
- onSelectAll: Se
2693
+ selectedItemsKeys: dt,
2694
+ items: it,
2695
+ isOpen: S,
2696
+ isMultiSelect: s === "multi",
2697
+ emptyStateText: i,
2698
+ selectAllOptionText: u,
2699
+ onClose: $e,
2700
+ onSelect: Ae,
2701
+ onSelectAll: De
2692
2702
  }
2693
2703
  )));
2694
- }, L_ = [
2704
+ }, O_ = [
2695
2705
  "normal",
2696
2706
  "error",
2697
2707
  "success"
2698
- ], O_ = (t) => Math.min(Math.max(t, 0), 100);
2699
- function Ra(t, a = 0) {
2700
- return t === "error" ? 0 : O_(parseInt(a.toString(), 10));
2708
+ ], z_ = (t) => Math.min(Math.max(t, 0), 100);
2709
+ function Ma(t, a = 0) {
2710
+ return t === "error" ? 0 : z_(parseInt(a.toString(), 10));
2701
2711
  }
2702
- function Ma(t, a) {
2703
- return !L_.includes(t) && a >= 100 ? "normal" : t || "normal";
2712
+ function La(t, a) {
2713
+ return !O_.includes(t) && a >= 100 ? "normal" : t || "normal";
2704
2714
  }
2705
2715
  const tt = {
2706
2716
  "progress-circle": "lc-ProgressCircle-module__progress-circle___NRHCi",
@@ -2713,70 +2723,70 @@ const tt = {
2713
2723
  "progress-circle__indicator--normal": "lc-ProgressCircle-module__progress-circle__indicator--normal___0SdkX",
2714
2724
  "progress-circle__indicator--success": "lc-ProgressCircle-module__progress-circle__indicator--success___fLwRR",
2715
2725
  "progress-circle__indicator--error": "lc-ProgressCircle-module__progress-circle__indicator--error___nwJS9"
2716
- }, z_ = {
2726
+ }, H_ = {
2717
2727
  small: 2,
2718
2728
  medium: 3,
2719
2729
  large: 4
2720
- }, H_ = {
2730
+ }, G_ = {
2721
2731
  small: 15,
2722
2732
  medium: 36,
2723
2733
  large: 56
2724
- }, at = "progress-circle", G_ = e.forwardRef(
2734
+ }, at = "progress-circle", U_ = e.forwardRef(
2725
2735
  (c, l) => {
2726
- var i = c, {
2736
+ var d = c, {
2727
2737
  status: t = "normal",
2728
2738
  progressValue: a,
2729
2739
  className: r,
2730
2740
  size: _ = "medium"
2731
- } = i, o = P(i, [
2741
+ } = d, o = P(d, [
2732
2742
  "status",
2733
2743
  "progressValue",
2734
2744
  "className",
2735
2745
  "size"
2736
2746
  ]);
2737
- const n = Ma(t, a), d = Ra(n, a), s = z_[_], m = H_[_], u = f(
2747
+ const n = La(t, a), i = Ma(n, a), u = H_[_], s = G_[_], m = f(
2738
2748
  tt[at],
2739
2749
  {
2740
2750
  [tt[`${at}--${_}`]]: _,
2741
2751
  [tt[`${at}--${t}`]]: t
2742
2752
  },
2743
2753
  r
2744
- ), b = 2 * Math.PI * ((m - s) / 2), h = {
2754
+ ), b = 2 * Math.PI * ((s - u) / 2), h = {
2745
2755
  strokeDasharray: b.toFixed(3),
2746
- strokeDashoffset: `${((100 - d) / 100 * b).toFixed(3)}px`
2747
- }, p = `${m / 2} ${m / 2} ${m} ${m}`;
2756
+ strokeDashoffset: `${((100 - i) / 100 * b).toFixed(3)}px`
2757
+ }, g = `${s / 2} ${s / 2} ${s} ${s}`;
2748
2758
  return /* @__PURE__ */ e.createElement(
2749
2759
  "div",
2750
2760
  w({
2751
- className: u,
2761
+ className: m,
2752
2762
  ref: l,
2753
2763
  role: "progressbar"
2754
2764
  }, o),
2755
- /* @__PURE__ */ e.createElement("svg", { viewBox: p }, /* @__PURE__ */ e.createElement(
2765
+ /* @__PURE__ */ e.createElement("svg", { viewBox: g }, /* @__PURE__ */ e.createElement(
2756
2766
  "circle",
2757
2767
  {
2758
2768
  className: tt[`${at}__bg-line--${t}`],
2759
- cx: m,
2760
- cy: m,
2761
- r: (m - s) / 2,
2769
+ cx: s,
2770
+ cy: s,
2771
+ r: (s - u) / 2,
2762
2772
  fill: "none",
2763
- strokeWidth: s
2773
+ strokeWidth: u
2764
2774
  }
2765
2775
  ), /* @__PURE__ */ e.createElement(
2766
2776
  "circle",
2767
2777
  {
2768
2778
  className: tt[`${at}__indicator--${t}`],
2769
2779
  style: h,
2770
- cx: m,
2771
- cy: m,
2772
- r: (m - s) / 2,
2780
+ cx: s,
2781
+ cy: s,
2782
+ r: (s - u) / 2,
2773
2783
  fill: "none",
2774
- strokeWidth: s
2784
+ strokeWidth: u
2775
2785
  }
2776
2786
  ))
2777
2787
  );
2778
2788
  }
2779
- ), yt = {
2789
+ ), Et = {
2780
2790
  "progress-bar": "lc-ProgressBar-module__progress-bar___3pa3d",
2781
2791
  "progress-bar--small": "lc-ProgressBar-module__progress-bar--small___7nQKx",
2782
2792
  "progress-bar--medium": "lc-ProgressBar-module__progress-bar--medium___cM44p",
@@ -2786,44 +2796,44 @@ const tt = {
2786
2796
  "progress-bar--normal": "lc-ProgressBar-module__progress-bar--normal___ZwCb-",
2787
2797
  "progress-bar__indicator--success": "lc-ProgressBar-module__progress-bar__indicator--success___wRjR3",
2788
2798
  "progress-bar__indicator--normal": "lc-ProgressBar-module__progress-bar__indicator--normal___0Uhle"
2789
- }, Et = "progress-bar", U_ = e.forwardRef(
2799
+ }, kt = "progress-bar", W_ = e.forwardRef(
2790
2800
  (c, l) => {
2791
- var i = c, {
2801
+ var d = c, {
2792
2802
  status: t = "normal",
2793
2803
  percent: a,
2794
2804
  size: r = "medium",
2795
2805
  className: _ = ""
2796
- } = i, o = P(i, [
2806
+ } = d, o = P(d, [
2797
2807
  "status",
2798
2808
  "percent",
2799
2809
  "size",
2800
2810
  "className"
2801
2811
  ]);
2802
- const n = Ma(t, a), d = Ra(n, a), s = f(
2803
- yt[Et],
2812
+ const n = La(t, a), i = Ma(n, a), u = f(
2813
+ Et[kt],
2804
2814
  {
2805
- [yt[`${Et}--${r}`]]: r,
2806
- [yt[`${Et}--${t}`]]: t
2815
+ [Et[`${kt}--${r}`]]: r,
2816
+ [Et[`${kt}--${t}`]]: t
2807
2817
  },
2808
2818
  _
2809
2819
  );
2810
2820
  return /* @__PURE__ */ e.createElement(
2811
2821
  "div",
2812
2822
  B(w({}, o), {
2813
- className: s,
2823
+ className: u,
2814
2824
  ref: l,
2815
2825
  role: "progressbar"
2816
2826
  }),
2817
2827
  /* @__PURE__ */ e.createElement(
2818
2828
  "div",
2819
2829
  {
2820
- className: yt[`${Et}__indicator--${t}`],
2821
- style: { width: `${d}%` }
2830
+ className: Et[`${kt}__indicator--${t}`],
2831
+ style: { width: `${i}%` }
2822
2832
  }
2823
2833
  )
2824
2834
  );
2825
2835
  }
2826
- ), oe = {
2836
+ ), _e = {
2827
2837
  "promo-banner": "lc-PromoBanner-module__promo-banner___-mGpq",
2828
2838
  "promo-banner__content": "lc-PromoBanner-module__promo-banner__content___kRWar",
2829
2839
  "promo-banner__wrapper": "lc-PromoBanner-module__promo-banner__wrapper___I-8cl",
@@ -2835,7 +2845,7 @@ const tt = {
2835
2845
  "promo-banner--small": "lc-PromoBanner-module__promo-banner--small___7sWLV",
2836
2846
  "promo-banner--large": "lc-PromoBanner-module__promo-banner--large___pMiCU",
2837
2847
  "promo-banner__close-icon": "lc-PromoBanner-module__promo-banner__close-icon___GowBL"
2838
- }, W_ = 400, V_ = 800, Y_ = 500, le = "promo-banner", gl = ({
2848
+ }, V_ = 400, Y_ = 800, q_ = 500, oe = "promo-banner", fl = ({
2839
2849
  className: t,
2840
2850
  buttonText: a,
2841
2851
  children: r,
@@ -2843,43 +2853,43 @@ const tt = {
2843
2853
  img: o,
2844
2854
  light: l = !1,
2845
2855
  linkText: c,
2846
- onButtonClick: i,
2856
+ onButtonClick: d,
2847
2857
  onClose: n,
2848
- onLinkClick: d
2858
+ onLinkClick: i
2849
2859
  }) => {
2850
- const s = e.useRef(null), [m, u] = e.useState("medium"), b = f(
2851
- oe[le],
2860
+ const u = e.useRef(null), [s, m] = e.useState("medium"), b = f(
2861
+ _e[oe],
2852
2862
  {
2853
- [oe[`${le}--light`]]: l,
2854
- [oe[`${le}--small`]]: m === "small",
2855
- [oe[`${le}--large`]]: m === "large"
2863
+ [_e[`${oe}--light`]]: l,
2864
+ [_e[`${oe}--small`]]: s === "small",
2865
+ [_e[`${oe}--large`]]: s === "large"
2856
2866
  },
2857
2867
  t
2858
2868
  );
2859
2869
  e.useEffect(() => {
2860
- const p = () => s.current && s.current.offsetWidth <= W_ ? u("small") : s.current && s.current.offsetWidth >= V_ ? u("large") : u("medium"), g = Sa(
2861
- p,
2862
- Y_
2870
+ const g = () => u.current && u.current.offsetWidth <= V_ ? m("small") : u.current && u.current.offsetWidth >= Y_ ? m("large") : m("medium"), p = Da(
2871
+ g,
2872
+ q_
2863
2873
  );
2864
- return window.addEventListener("resize", g), p(), () => {
2865
- g.cancel(), window.removeEventListener("resize", p);
2874
+ return window.addEventListener("resize", p), g(), () => {
2875
+ p.cancel(), window.removeEventListener("resize", g);
2866
2876
  };
2867
2877
  }, []);
2868
- const h = /* @__PURE__ */ e.createElement("div", { className: oe[`${le}__footer`] }, a && /* @__PURE__ */ e.createElement(
2869
- se,
2878
+ const h = /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__footer`] }, a && /* @__PURE__ */ e.createElement(
2879
+ ne,
2870
2880
  {
2871
2881
  kind: "primary",
2872
2882
  size: "compact",
2873
- onClick: i,
2874
- className: oe[`${le}__button-text`]
2883
+ onClick: d,
2884
+ className: _e[`${oe}__button-text`]
2875
2885
  },
2876
2886
  a
2877
- ), c && /* @__PURE__ */ e.createElement(se, { size: "compact", kind: "text", onClick: d }, c));
2878
- return /* @__PURE__ */ e.createElement("div", { ref: s, className: b }, /* @__PURE__ */ e.createElement("div", { className: oe[`${le}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: oe[`${le}__img`] }), /* @__PURE__ */ e.createElement("div", { className: oe[`${le}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: oe[`${le}__header`] }, _), /* @__PURE__ */ e.createElement(A, { as: "div" }, r), m !== "large" && h), m === "large" && h), n && /* @__PURE__ */ e.createElement(
2887
+ ), c && /* @__PURE__ */ e.createElement(ne, { size: "compact", kind: "text", onClick: i }, c));
2888
+ return /* @__PURE__ */ e.createElement("div", { ref: u, className: b }, /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: _e[`${oe}__img`] }), /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: _e[`${oe}__header`] }, _), /* @__PURE__ */ e.createElement(A, { as: "div" }, r), s !== "large" && h), s === "large" && h), n && /* @__PURE__ */ e.createElement(
2879
2889
  "button",
2880
2890
  {
2881
2891
  type: "button",
2882
- className: oe[`${le}__close-icon`],
2892
+ className: _e[`${oe}__close-icon`],
2883
2893
  onClick: n
2884
2894
  },
2885
2895
  /* @__PURE__ */ e.createElement(I, { source: xe, size: "large", kind: "primary" })
@@ -2894,14 +2904,14 @@ const tt = {
2894
2904
  "radio-button__helper": "lc-RadioButton-module__radio-button__helper___r8gJJ",
2895
2905
  "radio-button--selected": "lc-RadioButton-module__radio-button--selected___s9lqj",
2896
2906
  "radio-button--disabled": "lc-RadioButton-module__radio-button--disabled___wHSA7"
2897
- }, he = "radio-button", fl = e.forwardRef(
2898
- (i, c) => {
2899
- var n = i, { children: t, className: a = "", description: r, checked: _, disabled: o } = n, l = P(n, ["children", "className", "description", "checked", "disabled"]);
2900
- const d = f(be[he], a, {
2907
+ }, he = "radio-button", bl = e.forwardRef(
2908
+ (d, c) => {
2909
+ var n = d, { children: t, className: a = "", description: r, checked: _, disabled: o } = n, l = P(n, ["children", "className", "description", "checked", "disabled"]);
2910
+ const i = f(be[he], a, {
2901
2911
  [be[`${he}--selected`]]: _,
2902
2912
  [be[`${he}--disabled`]]: o
2903
2913
  });
2904
- return /* @__PURE__ */ e.createElement("div", { className: d }, /* @__PURE__ */ e.createElement("label", { className: be[`${he}__label`] }, /* @__PURE__ */ e.createElement("div", { className: be[`${he}__circle`] }, /* @__PURE__ */ e.createElement("span", { className: be[`${he}__inner-circle`] }), /* @__PURE__ */ e.createElement(
2914
+ return /* @__PURE__ */ e.createElement("div", { className: i }, /* @__PURE__ */ e.createElement("label", { className: be[`${he}__label`] }, /* @__PURE__ */ e.createElement("div", { className: be[`${he}__circle`] }, /* @__PURE__ */ e.createElement("span", { className: be[`${he}__inner-circle`] }), /* @__PURE__ */ e.createElement(
2905
2915
  "input",
2906
2916
  B(w({}, l), {
2907
2917
  className: be[`${he}__input`],
@@ -2910,7 +2920,7 @@ const tt = {
2910
2920
  checked: _,
2911
2921
  disabled: o
2912
2922
  })
2913
- )), t && /* @__PURE__ */ e.createElement(A, { as: "div", size: "md", className: be[`${he}__text`] }, t)), r && /* @__PURE__ */ e.createElement(Dt, { className: be[`${he}__helper`] }, r));
2923
+ )), t && /* @__PURE__ */ e.createElement(A, { as: "div", size: "md", className: be[`${he}__text`] }, t)), r && /* @__PURE__ */ e.createElement(Tt, { className: be[`${he}__helper`] }, r));
2914
2924
  }
2915
2925
  ), ue = {
2916
2926
  "search-input": "lc-Search-module__search-input___FsbCk",
@@ -2925,7 +2935,7 @@ const tt = {
2925
2935
  "search-input__clear-icon": "lc-Search-module__search-input__clear-icon___LoNkc",
2926
2936
  "search-input__loader": "lc-Search-module__search-input__loader___pkpIG",
2927
2937
  "search-input__input": "lc-Search-module__search-input__input___OhyTr"
2928
- }, ne = "search-input", q_ = `${ne}__input`, bl = ({
2938
+ }, ce = "search-input", J_ = `${ce}__input`, hl = ({
2929
2939
  isCollapsable: t,
2930
2940
  isDisabled: a,
2931
2941
  isLoading: r,
@@ -2933,48 +2943,48 @@ const tt = {
2933
2943
  size: o = "medium",
2934
2944
  value: l,
2935
2945
  className: c,
2936
- onChange: i
2946
+ onChange: d
2937
2947
  }) => {
2938
- const [n, d] = e.useState(!0), [s, m] = e.useState(!1), u = e.useRef(null), b = !!l && !a && !r, h = t && !n && "true", p = f(
2948
+ const [n, i] = e.useState(!0), [u, s] = e.useState(!1), m = e.useRef(null), b = !!l && !a && !r, h = t && !n && "true", g = f(
2939
2949
  c,
2940
- ue[ne],
2941
- ue[`${ne}--${o}`],
2942
- s && ue[`${ne}--focused`],
2943
- a && ue[`${ne}--disabled`],
2944
- t && ue[`${ne}--collapsable`],
2945
- !n && ue[`${ne}--collapsable--open`]
2950
+ ue[ce],
2951
+ ue[`${ce}--${o}`],
2952
+ u && ue[`${ce}--focused`],
2953
+ a && ue[`${ce}--disabled`],
2954
+ t && ue[`${ce}--collapsable`],
2955
+ !n && ue[`${ce}--collapsable--open`]
2946
2956
  );
2947
2957
  e.useEffect(() => {
2948
- t && l && d(!1);
2958
+ t && l && i(!1);
2949
2959
  }, [t]);
2950
- const g = (y) => {
2951
- const x = y.currentTarget.value;
2952
- i(x);
2960
+ const p = (y) => {
2961
+ const N = y.currentTarget.value;
2962
+ d(N);
2953
2963
  }, E = () => {
2954
- i("");
2964
+ d("");
2955
2965
  }, v = () => {
2956
2966
  var y;
2957
- (y = u.current) == null || y.focus();
2967
+ (y = m.current) == null || y.focus();
2958
2968
  }, C = () => {
2959
- t && d(!1), m(!0);
2960
- }, N = () => {
2961
- t && !l && d(!0), m(!1);
2969
+ t && i(!1), s(!0);
2970
+ }, S = () => {
2971
+ t && !l && i(!0), s(!1);
2962
2972
  }, k = (y) => {
2963
- y.key === M.enter && (y.preventDefault(), i(l));
2973
+ y.key === M.enter && (y.preventDefault(), d(l));
2964
2974
  };
2965
2975
  return /* @__PURE__ */ e.createElement(
2966
2976
  "div",
2967
2977
  {
2968
2978
  "aria-expanded": h,
2969
2979
  role: "search",
2970
- className: p,
2980
+ className: g,
2971
2981
  onClick: v
2972
2982
  },
2973
2983
  /* @__PURE__ */ e.createElement(
2974
2984
  I,
2975
2985
  {
2976
- className: ue[`${ne}__search-icon`],
2977
- source: Qa,
2986
+ className: ue[`${ce}__search-icon`],
2987
+ source: Za,
2978
2988
  disabled: a,
2979
2989
  kind: "primary"
2980
2990
  }
@@ -2983,13 +2993,13 @@ const tt = {
2983
2993
  "input",
2984
2994
  {
2985
2995
  role: "searchbox",
2986
- ref: u,
2987
- className: ue[q_],
2996
+ ref: m,
2997
+ className: ue[J_],
2988
2998
  type: "text",
2989
2999
  value: l,
2990
3000
  placeholder: _,
2991
- onChange: g,
2992
- onBlur: N,
3001
+ onChange: p,
3002
+ onBlur: S,
2993
3003
  onFocus: C,
2994
3004
  onKeyDown: k,
2995
3005
  disabled: a
@@ -3000,7 +3010,7 @@ const tt = {
3000
3010
  {
3001
3011
  "aria-label": "Clear search",
3002
3012
  title: "Clear search",
3003
- className: ue[`${ne}__clear-icon`],
3013
+ className: ue[`${ce}__clear-icon`],
3004
3014
  onClick: E
3005
3015
  },
3006
3016
  /* @__PURE__ */ e.createElement(I, { source: xe, kind: "primary" })
@@ -3008,13 +3018,13 @@ const tt = {
3008
3018
  r && /* @__PURE__ */ e.createElement(
3009
3019
  "div",
3010
3020
  {
3011
- "data-testid": `${ne}-loader`,
3012
- className: ue[`${ne}__loader`]
3021
+ "data-testid": `${ce}-loader`,
3022
+ className: ue[`${ce}__loader`]
3013
3023
  },
3014
- /* @__PURE__ */ e.createElement(Qt, { size: "small" })
3024
+ /* @__PURE__ */ e.createElement(Zt, { size: "small" })
3015
3025
  )
3016
3026
  );
3017
- }, J_ = "lc-Switch-module__switch__input___NiiOR", K_ = "lc-Switch-module__switch__container___79F7W", Q_ = "lc-Switch-module__switch__track___2wr2M", Z_ = "lc-Switch-module__switch__slider___WHd--", X_ = "lc-Switch-module__switch__loader___FE-fA", j_ = "lc-Switch-module__switch__icon___-O1qY", Z = {
3027
+ }, K_ = "lc-Switch-module__switch__input___NiiOR", Q_ = "lc-Switch-module__switch__container___79F7W", Z_ = "lc-Switch-module__switch__track___2wr2M", X_ = "lc-Switch-module__switch__slider___WHd--", j_ = "lc-Switch-module__switch__loader___FE-fA", eo = "lc-Switch-module__switch__icon___-O1qY", Q = {
3018
3028
  switch: "lc-Switch-module__switch___AaA2k",
3019
3029
  "switch__track--enabled": "lc-Switch-module__switch__track--enabled___sy4Xl",
3020
3030
  "switch__track--on": "lc-Switch-module__switch__track--on___aOMWe",
@@ -3022,12 +3032,12 @@ const tt = {
3022
3032
  "switch--large": "lc-Switch-module__switch--large___pSoJ7",
3023
3033
  "switch--compact": "lc-Switch-module__switch--compact___OGFIX",
3024
3034
  "switch--medium": "lc-Switch-module__switch--medium___EcZwT",
3025
- switch__input: J_,
3035
+ switch__input: K_,
3026
3036
  "switch__input--disabled": "lc-Switch-module__switch__input--disabled___Po8gh",
3027
- switch__container: K_,
3028
- switch__track: Q_,
3037
+ switch__container: Q_,
3038
+ switch__track: Z_,
3029
3039
  "switch__track--disabled": "lc-Switch-module__switch__track--disabled___HkDhl",
3030
- switch__slider: Z_,
3040
+ switch__slider: X_,
3031
3041
  "switch__slider--large": "lc-Switch-module__switch__slider--large___WoEgi",
3032
3042
  "switch__slider--large--on": "lc-Switch-module__switch__slider--large--on___7Qp3G",
3033
3043
  "switch__slider--large--off": "lc-Switch-module__switch__slider--large--off___iRMmD",
@@ -3037,24 +3047,24 @@ const tt = {
3037
3047
  "switch__slider--medium": "lc-Switch-module__switch__slider--medium___uhptz",
3038
3048
  "switch__slider--medium--on": "lc-Switch-module__switch__slider--medium--on___SfeAV",
3039
3049
  "switch__slider--medium--off": "lc-Switch-module__switch__slider--medium--off___eXJJz",
3040
- switch__loader: X_,
3050
+ switch__loader: j_,
3041
3051
  "switch__loader--compact": "lc-Switch-module__switch__loader--compact___3imUh",
3042
3052
  "switch__loader--medium": "lc-Switch-module__switch__loader--medium___2zi05",
3043
3053
  "switch__loader--large": "lc-Switch-module__switch__loader--large___vLRFa",
3044
- switch__icon: j_
3045
- }, J = "switch", hl = (m) => {
3046
- var u = m, {
3054
+ switch__icon: eo
3055
+ }, q = "switch", vl = (s) => {
3056
+ var m = s, {
3047
3057
  className: t = "",
3048
3058
  defaultOn: a = !1,
3049
3059
  disabled: r = !1,
3050
- name: _ = J,
3060
+ name: _ = q,
3051
3061
  on: o,
3052
- onChange: l = Ut,
3062
+ onChange: l = Wt,
3053
3063
  size: c = "large",
3054
- state: i = "regular",
3064
+ state: d = "regular",
3055
3065
  innerRef: n,
3056
- ariaLabel: d
3057
- } = u, s = P(u, [
3066
+ ariaLabel: i
3067
+ } = m, u = P(m, [
3058
3068
  "className",
3059
3069
  "defaultOn",
3060
3070
  "disabled",
@@ -3072,81 +3082,81 @@ const tt = {
3072
3082
  e.useEffect(() => {
3073
3083
  o !== void 0 && h(o);
3074
3084
  }, [o]);
3075
- const p = i === "loading", g = i === "locked", E = c === "large" ? "small" : "xsmall", v = b ? "on" : "off", C = r || p || g, N = C ? "disabled" : "enabled", k = f(
3076
- Z[J],
3077
- Z[`${J}--${c}`],
3085
+ const g = d === "loading", p = d === "locked", E = c === "large" ? "small" : "xsmall", v = b ? "on" : "off", C = r || g || p, S = C ? "disabled" : "enabled", k = f(
3086
+ Q[q],
3087
+ Q[`${q}--${c}`],
3078
3088
  t
3079
- ), y = (x) => {
3080
- if (l !== Ut) {
3081
- l(x, b);
3089
+ ), y = (N) => {
3090
+ if (l !== Wt) {
3091
+ l(N, b);
3082
3092
  return;
3083
3093
  }
3084
- x.stopPropagation(), h((W) => !W);
3094
+ N.stopPropagation(), h((W) => !W);
3085
3095
  };
3086
3096
  return /* @__PURE__ */ e.createElement("span", { className: k }, /* @__PURE__ */ e.createElement(
3087
3097
  "input",
3088
3098
  w({
3089
3099
  type: "checkbox",
3090
3100
  className: f(
3091
- Z[`${J}__input`],
3092
- Z[`${J}__input--${N}`]
3101
+ Q[`${q}__input`],
3102
+ Q[`${q}__input--${S}`]
3093
3103
  ),
3094
3104
  onChange: y,
3095
3105
  checked: b,
3096
3106
  name: _,
3097
3107
  ref: n,
3098
3108
  disabled: C,
3099
- "aria-label": d
3100
- }, s)
3101
- ), /* @__PURE__ */ e.createElement("span", { className: Z[`${J}__container`] }, /* @__PURE__ */ e.createElement(
3109
+ "aria-label": i
3110
+ }, u)
3111
+ ), /* @__PURE__ */ e.createElement("span", { className: Q[`${q}__container`] }, /* @__PURE__ */ e.createElement(
3102
3112
  "span",
3103
3113
  {
3104
3114
  className: f(
3105
- Z[`${J}__track`],
3106
- Z[`${J}__track--${v}`],
3107
- Z[`${J}__track--${N}`]
3115
+ Q[`${q}__track`],
3116
+ Q[`${q}__track--${v}`],
3117
+ Q[`${q}__track--${S}`]
3108
3118
  )
3109
3119
  }
3110
3120
  ), /* @__PURE__ */ e.createElement(
3111
3121
  "span",
3112
3122
  {
3113
3123
  className: f(
3114
- Z[`${J}__slider`],
3115
- Z[`${J}__slider--${c}`],
3116
- Z[`${J}__slider--${c}--${v}`]
3124
+ Q[`${q}__slider`],
3125
+ Q[`${q}__slider--${c}`],
3126
+ Q[`${q}__slider--${c}--${v}`]
3117
3127
  )
3118
3128
  },
3119
- p && /* @__PURE__ */ e.createElement(
3120
- Qt,
3129
+ g && /* @__PURE__ */ e.createElement(
3130
+ Zt,
3121
3131
  {
3122
3132
  className: f(
3123
- Z[`${J}__loader`],
3124
- Z[`${J}__loader--${c}`]
3133
+ Q[`${q}__loader`],
3134
+ Q[`${q}__loader--${c}`]
3125
3135
  )
3126
3136
  }
3127
3137
  ),
3128
- g && /* @__PURE__ */ e.createElement(
3138
+ p && /* @__PURE__ */ e.createElement(
3129
3139
  I,
3130
3140
  {
3131
- className: Z[`${J}__icon`],
3141
+ className: Q[`${q}__icon`],
3132
3142
  "data-testid": "lock-icon",
3133
3143
  size: E,
3134
- source: Za,
3144
+ source: Xa,
3135
3145
  kind: "primary"
3136
3146
  }
3137
3147
  )
3138
3148
  )));
3139
- }, eo = "lc-Tab-module__tab___fME7u", to = "lc-Tab-module__tab__count___gc8tA", ao = "lc-Tab-module__tab__badge___W9c-T", Oe = {
3140
- tab: eo,
3141
- tab__count: to,
3149
+ }, to = "lc-Tab-module__tab___fME7u", ao = "lc-Tab-module__tab__count___gc8tA", ro = "lc-Tab-module__tab__badge___W9c-T", Oe = {
3150
+ tab: to,
3151
+ tab__count: ao,
3142
3152
  "tab--compact": "lc-Tab-module__tab--compact___4qead",
3143
3153
  "tab--medium": "lc-Tab-module__tab--medium___bHnGV",
3144
3154
  "tab--large": "lc-Tab-module__tab--large___JL30g",
3145
- tab__badge: ao,
3155
+ tab__badge: ro,
3146
3156
  "tab--selected": "lc-Tab-module__tab--selected___c0EkL",
3147
3157
  "tab--disabled": "lc-Tab-module__tab--disabled___URdTh"
3148
- }, ze = "tab", vl = (i) => {
3149
- var n = i, {
3158
+ }, ze = "tab", yl = (d) => {
3159
+ var n = d, {
3150
3160
  children: t,
3151
3161
  className: a,
3152
3162
  count: r,
@@ -3161,7 +3171,7 @@ const tt = {
3161
3171
  "asBadge",
3162
3172
  "size"
3163
3173
  ]);
3164
- const { disabled: d } = c, s = r !== void 0 && !o, m = r !== void 0 && o;
3174
+ const { disabled: i } = c, u = r !== void 0 && !o, s = r !== void 0 && o;
3165
3175
  return /* @__PURE__ */ e.createElement(
3166
3176
  A,
3167
3177
  B(w({}, c), {
@@ -3173,13 +3183,13 @@ const tt = {
3173
3183
  Oe[ze],
3174
3184
  Oe[`${ze}--${l}`],
3175
3185
  _ && Oe[`${ze}--selected`],
3176
- d && Oe[`${ze}--disabled`]
3186
+ i && Oe[`${ze}--disabled`]
3177
3187
  )
3178
3188
  }),
3179
3189
  t,
3180
- s && /* @__PURE__ */ e.createElement(A, { as: "span", size: "md", className: Oe[`${ze}__count`] }, "(", r, ")"),
3181
- m && /* @__PURE__ */ e.createElement(
3182
- Mr,
3190
+ u && /* @__PURE__ */ e.createElement(A, { as: "span", size: "md", className: Oe[`${ze}__count`] }, "(", r, ")"),
3191
+ s && /* @__PURE__ */ e.createElement(
3192
+ Lr,
3183
3193
  {
3184
3194
  "data-testid": "tab-badge",
3185
3195
  count: r,
@@ -3188,16 +3198,16 @@ const tt = {
3188
3198
  }
3189
3199
  )
3190
3200
  );
3191
- }, ro = "lc-TabsWrapper-module__tabs___Y2xyD", _o = "lc-TabsWrapper-module__tabs__list___i6tVO", La = {
3192
- tabs: ro,
3193
- tabs__list: _o
3194
- }, Oa = "tabs", yl = ({
3201
+ }, _o = "lc-TabsWrapper-module__tabs___Y2xyD", oo = "lc-TabsWrapper-module__tabs__list___i6tVO", Oa = {
3202
+ tabs: _o,
3203
+ tabs__list: oo
3204
+ }, za = "tabs", El = ({
3195
3205
  className: t,
3196
3206
  children: a
3197
- }) => /* @__PURE__ */ e.createElement("div", { className: f(La[Oa], t) }, a), El = ({
3207
+ }) => /* @__PURE__ */ e.createElement("div", { className: f(Oa[za], t) }, a), kl = ({
3198
3208
  className: t,
3199
3209
  children: a
3200
- }) => /* @__PURE__ */ e.createElement("div", { className: f(La[`${Oa}__list`], t) }, a), oo = ({
3210
+ }) => /* @__PURE__ */ e.createElement("div", { className: f(Oa[`${za}__list`], t) }, a), lo = ({
3201
3211
  className: t = "",
3202
3212
  innerEditableRef: a,
3203
3213
  inputRef: r,
@@ -3205,18 +3215,18 @@ const tt = {
3205
3215
  remove: o,
3206
3216
  value: l
3207
3217
  }) => {
3208
- const [c, i] = e.useState(!1), n = () => a.current, d = () => {
3218
+ const [c, d] = e.useState(!1), n = () => a.current, i = () => {
3209
3219
  const h = n();
3210
3220
  return h ? h.innerText : "";
3211
- }, s = () => {
3221
+ }, u = () => {
3212
3222
  r && r.current && r.current.focus();
3213
- }, m = (h) => {
3223
+ }, s = (h) => {
3214
3224
  if (h.key === M.enter) {
3215
- h.preventDefault(), s();
3225
+ h.preventDefault(), u();
3216
3226
  return;
3217
3227
  }
3218
- h.key === M.backspace && d() === "" && (i(!0), o(), s());
3219
- }, u = () => {
3228
+ h.key === M.backspace && i() === "" && (d(!0), o(), u());
3229
+ }, m = () => {
3220
3230
  const h = n();
3221
3231
  if (!(c || !h)) {
3222
3232
  if (h.innerText === "") {
@@ -3227,8 +3237,8 @@ const tt = {
3227
3237
  }
3228
3238
  }, b = (h) => {
3229
3239
  h.preventDefault();
3230
- const p = h.clipboardData.getData("text/plain");
3231
- document.execCommand("insertHTML", !1, aa(p));
3240
+ const g = h.clipboardData.getData("text/plain");
3241
+ document.execCommand("insertHTML", !1, ra(g));
3232
3242
  };
3233
3243
  return /* @__PURE__ */ e.createElement(
3234
3244
  "div",
@@ -3237,9 +3247,9 @@ const tt = {
3237
3247
  className: t,
3238
3248
  contentEditable: !0,
3239
3249
  onPaste: b,
3240
- onBlur: u,
3241
- onKeyDown: m,
3242
- dangerouslySetInnerHTML: { __html: aa(l) }
3250
+ onBlur: m,
3251
+ onKeyDown: s,
3252
+ dangerouslySetInnerHTML: { __html: ra(l) }
3243
3253
  }
3244
3254
  );
3245
3255
  }, ct = {
@@ -3249,7 +3259,7 @@ const tt = {
3249
3259
  "tag-input__input--medium": "lc-TagInput-module__tag-input__input--medium___DYF7X",
3250
3260
  "tag-input__input--large": "lc-TagInput-module__tag-input__input--large___G6iEO",
3251
3261
  "tag-input__tag__content": "lc-TagInput-module__tag-input__tag__content___x95-M"
3252
- }, lo = "tag-input__tag", co = ({
3262
+ }, co = "tag-input__tag", no = ({
3253
3263
  children: t,
3254
3264
  index: a,
3255
3265
  remove: r,
@@ -3258,36 +3268,36 @@ const tt = {
3258
3268
  update: l,
3259
3269
  size: c
3260
3270
  }) => {
3261
- const i = e.useMemo(() => _ !== void 0 ? _(t) : !0, [t, _]), n = e.useRef(null), d = () => r(a);
3271
+ const d = e.useMemo(() => _ !== void 0 ? _(t) : !0, [t, _]), n = e.useRef(null), i = () => r(a);
3262
3272
  return /* @__PURE__ */ e.createElement(
3263
- Fa,
3273
+ Ra,
3264
3274
  {
3265
- kind: i ? "default" : "error",
3275
+ kind: d ? "default" : "error",
3266
3276
  dismissible: !0,
3267
3277
  size: c,
3268
- onRemove: d
3278
+ onRemove: i
3269
3279
  },
3270
3280
  /* @__PURE__ */ e.createElement(
3271
- oo,
3281
+ lo,
3272
3282
  {
3273
3283
  value: t,
3274
3284
  inputRef: o,
3275
3285
  innerEditableRef: n,
3276
- className: ct[`${lo}__content`],
3277
- change: (s) => l(a, s),
3278
- remove: d,
3286
+ className: ct[`${co}__content`],
3287
+ change: (u) => l(a, u),
3288
+ remove: i,
3279
3289
  validator: _
3280
3290
  }
3281
3291
  )
3282
3292
  );
3283
- }, kt = "tag-input", no = [
3293
+ }, $t = "tag-input", so = [
3284
3294
  M.enter,
3285
3295
  M.spacebar,
3286
3296
  M.tab,
3287
3297
  M.semicolon,
3288
3298
  M.comma
3289
- ], so = [M.backspace, M.delete], io = (n) => {
3290
- var d = n, {
3299
+ ], io = [M.backspace, M.delete], uo = (n) => {
3300
+ var i = n, {
3291
3301
  id: t,
3292
3302
  tags: a,
3293
3303
  onChange: r,
@@ -3295,7 +3305,7 @@ const tt = {
3295
3305
  error: o,
3296
3306
  placeholder: l,
3297
3307
  size: c = "medium"
3298
- } = d, i = P(d, [
3308
+ } = i, d = P(i, [
3299
3309
  "id",
3300
3310
  "tags",
3301
3311
  "onChange",
@@ -3304,44 +3314,44 @@ const tt = {
3304
3314
  "placeholder",
3305
3315
  "size"
3306
3316
  ]);
3307
- const s = f(ct[kt], {
3308
- [ct[`${kt}--error`]]: o
3309
- }), m = f(
3310
- ct[`${kt}__input`],
3311
- ct[`${kt}__input--${c}`]
3312
- ), [u, b] = e.useState(""), h = e.useRef(null), p = (k) => {
3317
+ const u = f(ct[$t], {
3318
+ [ct[`${$t}--error`]]: o
3319
+ }), s = f(
3320
+ ct[`${$t}__input`],
3321
+ ct[`${$t}__input--${c}`]
3322
+ ), [m, b] = e.useState(""), h = e.useRef(null), g = (k) => {
3313
3323
  r([...a || [], k]), b("");
3314
- }, g = (k) => {
3324
+ }, p = (k) => {
3315
3325
  const y = [...a || []];
3316
3326
  y.splice(k, 1), r(y);
3317
3327
  }, E = (k) => b(k.target.value), v = (k) => {
3318
- if (no.includes(k.key)) {
3319
- if (k.preventDefault(), u === "")
3328
+ if (so.includes(k.key)) {
3329
+ if (k.preventDefault(), m === "")
3320
3330
  return;
3321
- p(u);
3322
- } else if (so.includes(k.key)) {
3323
- if (u !== "" || !(a != null && a.length))
3331
+ g(m);
3332
+ } else if (io.includes(k.key)) {
3333
+ if (m !== "" || !(a != null && a.length))
3324
3334
  return;
3325
- g(a.length - 1);
3335
+ p(a.length - 1);
3326
3336
  }
3327
3337
  }, C = (k, y) => {
3328
- const x = [...a || []];
3329
- x.reduce(
3330
- (W, j, $e) => W + (j === y && $e !== k ? 1 : 0),
3338
+ const N = [...a || []];
3339
+ N.reduce(
3340
+ (W, X, $e) => W + (X === y && $e !== k ? 1 : 0),
3331
3341
  0
3332
- ) > 0 ? x.splice(k, 1) : x[k] = y, r(x);
3333
- }, N = (k) => {
3342
+ ) > 0 ? N.splice(k, 1) : N[k] = y, r(N);
3343
+ }, S = (k) => {
3334
3344
  k.preventDefault();
3335
- const x = k.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
3336
- r([...a || [], ...x]);
3345
+ const N = k.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
3346
+ r([...a || [], ...N]);
3337
3347
  };
3338
- return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: s }, a == null ? void 0 : a.map((k, y) => /* @__PURE__ */ e.createElement(
3339
- co,
3348
+ return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: u }, a == null ? void 0 : a.map((k, y) => /* @__PURE__ */ e.createElement(
3349
+ no,
3340
3350
  {
3341
3351
  index: y,
3342
3352
  key: `${y}${k}`,
3343
3353
  update: C,
3344
- remove: g,
3354
+ remove: p,
3345
3355
  inputRef: h,
3346
3356
  validator: _,
3347
3357
  size: c
@@ -3349,40 +3359,40 @@ const tt = {
3349
3359
  k
3350
3360
  )), /* @__PURE__ */ e.createElement(
3351
3361
  "input",
3352
- B(w({}, i), {
3362
+ B(w({}, d), {
3353
3363
  id: t,
3354
3364
  ref: h,
3355
- className: m,
3365
+ className: s,
3356
3366
  placeholder: l,
3357
- value: u,
3367
+ value: m,
3358
3368
  onChange: E,
3359
3369
  onKeyDown: v,
3360
- onPaste: N
3370
+ onPaste: S
3361
3371
  })
3362
- )), o && /* @__PURE__ */ e.createElement(Zt, null, o));
3363
- }, uo = /^(?:[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, mo = "name@company.com", po = (t) => uo.test(t), kl = ({
3372
+ )), o && /* @__PURE__ */ e.createElement(Xt, null, o));
3373
+ }, mo = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/i, po = "name@company.com", go = (t) => mo.test(t), $l = ({
3364
3374
  id: t,
3365
3375
  tags: a,
3366
3376
  onChange: r,
3367
3377
  error: _,
3368
- placeholder: o = mo,
3378
+ placeholder: o = po,
3369
3379
  size: l
3370
3380
  }) => /* @__PURE__ */ e.createElement(
3371
- io,
3381
+ uo,
3372
3382
  {
3373
3383
  id: t,
3374
3384
  tags: a,
3375
3385
  error: _,
3376
3386
  onChange: r,
3377
3387
  placeholder: o,
3378
- validator: po,
3388
+ validator: go,
3379
3389
  size: l
3380
3390
  }
3381
- ), go = "lc-Toast-module__toast___j5Amn", fo = "lc-Toast-module__toast__content___HjaNw", bo = "lc-Toast-module__toast__actions___JWu-1", ho = "lc-Toast-module__toast__actions__close___CRPrb", U = {
3382
- toast: go,
3383
- toast__content: fo,
3384
- toast__actions: bo,
3385
- toast__actions__close: ho,
3391
+ ), fo = "lc-Toast-module__toast___j5Amn", bo = "lc-Toast-module__toast__content___HjaNw", ho = "lc-Toast-module__toast__actions___JWu-1", vo = "lc-Toast-module__toast__actions__close___CRPrb", U = {
3392
+ toast: fo,
3393
+ toast__content: bo,
3394
+ toast__actions: ho,
3395
+ toast__actions__close: vo,
3386
3396
  "toast__actions--custom": "lc-Toast-module__toast__actions--custom___lm-pM",
3387
3397
  "toast--success": "lc-Toast-module__toast--success___7UC6m",
3388
3398
  "toast--warning": "lc-Toast-module__toast--warning___pteb7",
@@ -3404,21 +3414,21 @@ const tt = {
3404
3414
  "toast-appear-active--fade": "lc-Toast-module__toast-appear-active--fade___D3--J",
3405
3415
  "toast-exit--fade": "lc-Toast-module__toast-exit--fade___iDA1p",
3406
3416
  "toast-exit-active--fade": "lc-Toast-module__toast-exit-active--fade___tL7sb"
3407
- }, vo = {
3417
+ }, yo = {
3408
3418
  success: {
3409
- source: Na
3419
+ source: xa
3410
3420
  },
3411
3421
  warning: {
3412
- source: Ca
3422
+ source: Na
3413
3423
  },
3414
3424
  error: {
3415
- source: xa
3425
+ source: Sa
3416
3426
  },
3417
3427
  info: {
3418
- source: Yt
3428
+ source: qt
3419
3429
  }
3420
- }, Ce = "toast", yo = (i) => {
3421
- var n = i, {
3430
+ }, Ce = "toast", Eo = (d) => {
3431
+ var n = d, {
3422
3432
  action: t,
3423
3433
  className: a,
3424
3434
  children: r,
@@ -3433,17 +3443,17 @@ const tt = {
3433
3443
  "kind",
3434
3444
  "onClose"
3435
3445
  ]);
3436
- const d = f(
3446
+ const i = f(
3437
3447
  U[Ce],
3438
3448
  U[`${Ce}--${o}`],
3439
3449
  a
3440
- ), s = (m) => m && m.closesOnClick && l ? (m.onClick(), l()) : m.onClick();
3441
- return /* @__PURE__ */ e.createElement("div", w({ className: d }, c), /* @__PURE__ */ e.createElement("div", { className: U[`${Ce}__icon`] }, /* @__PURE__ */ e.createElement(I, B(w({}, vo[o]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: U[`${Ce}__content`] }, /* @__PURE__ */ e.createElement(A, { as: "div" }, r)), (t || _) && /* @__PURE__ */ e.createElement("div", { className: U[`${Ce}__actions`] }, t && /* @__PURE__ */ e.createElement(
3442
- se,
3450
+ ), u = (s) => s && s.closesOnClick && l ? (s.onClick(), l()) : s.onClick();
3451
+ return /* @__PURE__ */ e.createElement("div", w({ className: i }, c), /* @__PURE__ */ e.createElement("div", { className: U[`${Ce}__icon`] }, /* @__PURE__ */ e.createElement(I, B(w({}, yo[o]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: U[`${Ce}__content`] }, /* @__PURE__ */ e.createElement(A, { as: "div" }, r)), (t || _) && /* @__PURE__ */ e.createElement("div", { className: U[`${Ce}__actions`] }, t && /* @__PURE__ */ e.createElement(
3452
+ ne,
3443
3453
  {
3444
3454
  className: U[`${Ce}__actions--custom`],
3445
3455
  kind: "plain",
3446
- onClick: () => s(t)
3456
+ onClick: () => u(t)
3447
3457
  },
3448
3458
  t.label
3449
3459
  ), _ && /* @__PURE__ */ e.createElement(
@@ -3462,7 +3472,7 @@ const tt = {
3462
3472
  }
3463
3473
  )
3464
3474
  )));
3465
- }, Eo = 200, rt = "toast-wrapper", $l = ({
3475
+ }, ko = 200, rt = "toast-wrapper", wl = ({
3466
3476
  className: t,
3467
3477
  toasts: a = [],
3468
3478
  fixed: r = !0,
@@ -3471,7 +3481,7 @@ const tt = {
3471
3481
  verticalPosition: l = "top",
3472
3482
  horizontalPosition: c = "center"
3473
3483
  }) => {
3474
- const i = f(
3484
+ const d = f(
3475
3485
  U[rt],
3476
3486
  {
3477
3487
  [U[`${rt}--fixed`]]: r,
@@ -3481,8 +3491,8 @@ const tt = {
3481
3491
  },
3482
3492
  t
3483
3493
  );
3484
- return /* @__PURE__ */ e.createElement("div", { className: i }, /* @__PURE__ */ e.createElement(Ia, { component: null }, a.map(({ id: n, kind: d, content: s, removable: m, action: u, onClose: b }) => /* @__PURE__ */ e.createElement(
3485
- Kt,
3494
+ return /* @__PURE__ */ e.createElement("div", { className: d }, /* @__PURE__ */ e.createElement(Ba, { component: null }, a.map(({ id: n, kind: i, content: u, removable: s, action: m, onClose: b }) => /* @__PURE__ */ e.createElement(
3495
+ Qt,
3486
3496
  {
3487
3497
  key: n,
3488
3498
  classNames: {
@@ -3491,21 +3501,21 @@ const tt = {
3491
3501
  exit: U[`toast-exit--${o}`],
3492
3502
  exitActive: U[`toast-exit-active--${o}`]
3493
3503
  },
3494
- timeout: Eo
3504
+ timeout: ko
3495
3505
  },
3496
3506
  /* @__PURE__ */ e.createElement(
3497
- yo,
3507
+ Eo,
3498
3508
  {
3499
- kind: d,
3509
+ kind: i,
3500
3510
  onClose: b,
3501
- removable: m,
3502
- action: u
3511
+ removable: s,
3512
+ action: m
3503
3513
  },
3504
- s
3514
+ u
3505
3515
  )
3506
3516
  ))));
3507
3517
  };
3508
- function za(t) {
3518
+ function Ha(t) {
3509
3519
  switch (t) {
3510
3520
  case "invert":
3511
3521
  return "inverted";
@@ -3513,14 +3523,14 @@ function za(t) {
3513
3523
  return "primary";
3514
3524
  }
3515
3525
  }
3516
- const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module__tooltip___QOOAr", wo = "lc-Tooltip-module__tooltip__interactive___0JawB", Co = "lc-Tooltip-module__tooltip__arrow___Ov1YW", S = {
3517
- tooltip: $o,
3518
- tooltip__interactive: wo,
3526
+ const $o = (t) => new Promise((a) => setTimeout(a, t)), wo = "lc-Tooltip-module__tooltip___QOOAr", Co = "lc-Tooltip-module__tooltip__interactive___0JawB", No = "lc-Tooltip-module__tooltip__arrow___Ov1YW", x = {
3527
+ tooltip: wo,
3528
+ tooltip__interactive: Co,
3519
3529
  "tooltip__user-guide-step": "lc-Tooltip-module__tooltip__user-guide-step___evexI",
3520
3530
  "tooltip--invert": "lc-Tooltip-module__tooltip--invert___PVjhE",
3521
3531
  "tooltip--important": "lc-Tooltip-module__tooltip--important___X-IMK",
3522
3532
  "tooltip--full-space": "lc-Tooltip-module__tooltip--full-space___wmbaw",
3523
- tooltip__arrow: Co,
3533
+ tooltip__arrow: No,
3524
3534
  "tooltip-header": "lc-Tooltip-module__tooltip-header___QV0Vd",
3525
3535
  "tooltip-header--info": "lc-Tooltip-module__tooltip-header--info___zLJ2Z",
3526
3536
  "tooltip-image-container": "lc-Tooltip-module__tooltip-image-container___ySmcd",
@@ -3540,7 +3550,7 @@ const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module_
3540
3550
  "reports-tooltip__heading__title": "lc-Tooltip-module__reports-tooltip__heading__title___6TlzE",
3541
3551
  "reports-tooltip__heading__description": "lc-Tooltip-module__reports-tooltip__heading__description___eOQnc",
3542
3552
  "reports-tooltip__content": "lc-Tooltip-module__reports-tooltip__content___jxis9"
3543
- }, No = ({
3553
+ }, xo = ({
3544
3554
  visible: t,
3545
3555
  floatingOptions: a,
3546
3556
  referenceElement: r,
@@ -3548,60 +3558,60 @@ const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module_
3548
3558
  arrowOffsetY: o,
3549
3559
  baseClass: l,
3550
3560
  className: c,
3551
- theme: i,
3561
+ theme: d,
3552
3562
  withFadeAnimation: n,
3553
- transitionDuration: d,
3554
- transitionDelay: s,
3555
- handleMouseEnter: m,
3556
- handleMouseLeave: u,
3563
+ transitionDuration: i,
3564
+ transitionDelay: u,
3565
+ handleMouseEnter: s,
3566
+ handleMouseLeave: m,
3557
3567
  handleCloseAction: b,
3558
3568
  arrowRef: h,
3559
- childrenElements: p,
3560
- fullSpaceContent: g
3569
+ childrenElements: g,
3570
+ fullSpaceContent: p
3561
3571
  }) => {
3562
3572
  const {
3563
3573
  x: E,
3564
3574
  y: v,
3565
3575
  reference: C,
3566
- floating: N,
3576
+ floating: S,
3567
3577
  strategy: k,
3568
3578
  update: y,
3569
- refs: x,
3579
+ refs: N,
3570
3580
  placement: $,
3571
- middlewareData: { arrow: { x: W, y: j } = {} }
3581
+ middlewareData: { arrow: { x: W, y: X } = {} }
3572
3582
  } = a;
3573
3583
  e.useEffect(() => {
3574
- if (!(!x.reference.current || !x.floating.current))
3575
- return wa(x.reference.current, x.floating.current, y);
3576
- }, [x.reference, x.floating, y, $, t]), e.useEffect(() => {
3584
+ if (!(!N.reference.current || !N.floating.current))
3585
+ return Ca(N.reference.current, N.floating.current, y);
3586
+ }, [N.reference, N.floating, y, $, t]), e.useEffect(() => {
3577
3587
  r && C(r);
3578
3588
  }, [C, r]);
3579
- const $e = o && j ? j + o : j, Ae = _ && W ? W + _ : W, Se = f(S[l], c, {
3580
- [S[`${l}--invert`]]: i === "invert",
3581
- [S[`${l}--important`]]: i === "important",
3582
- [S[`${l}--full-space`]]: g
3589
+ const $e = o && X ? X + o : X, Ae = _ && W ? W + _ : W, Se = f(x[l], c, {
3590
+ [x[`${l}--invert`]]: d === "invert",
3591
+ [x[`${l}--important`]]: d === "important",
3592
+ [x[`${l}--full-space`]]: p
3583
3593
  }), De = /* @__PURE__ */ e.createElement(
3584
3594
  "div",
3585
3595
  {
3586
- ref: N,
3596
+ ref: S,
3587
3597
  style: {
3588
3598
  position: k,
3589
3599
  top: v != null ? v : "",
3590
3600
  left: E != null ? E : ""
3591
3601
  },
3592
3602
  className: Se,
3593
- onMouseEnter: m,
3594
- onMouseLeave: u
3603
+ onMouseEnter: s,
3604
+ onMouseLeave: m
3595
3605
  },
3596
- e.Children.map(p, (me) => e.isValidElement(me) ? e.cloneElement(me, w({
3606
+ e.Children.map(g, (me) => e.isValidElement(me) ? e.cloneElement(me, w({
3597
3607
  handleCloseAction: b,
3598
- theme: i
3608
+ theme: d
3599
3609
  }, me.props)) : null),
3600
3610
  /* @__PURE__ */ e.createElement(
3601
3611
  "div",
3602
3612
  {
3603
3613
  ref: h,
3604
- className: f([S[`${l}__arrow`]]),
3614
+ className: f([x[`${l}__arrow`]]),
3605
3615
  "data-arrow-placement": $,
3606
3616
  style: { top: $e, left: Ae }
3607
3617
  }
@@ -3612,34 +3622,34 @@ const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module_
3612
3622
  const me = Ye`
3613
3623
  pointer-events: none;
3614
3624
  opacity: 0;
3615
- `, _e = Ye`
3625
+ `, se = Ye`
3616
3626
  opacity: 1;
3617
3627
  transition-property: opacity;
3618
- transition-duration: ${d}ms;
3619
- transition-delay: ${s}ms;
3628
+ transition-duration: ${i}ms;
3629
+ transition-delay: ${u}ms;
3620
3630
  `, it = Ye`
3621
3631
  pointer-events: initial;
3622
- `, F = Ye`
3632
+ `, dt = Ye`
3623
3633
  opacity: 1;
3624
- `, G = Ye`
3634
+ `, F = Ye`
3625
3635
  opacity: 0;
3626
3636
  transition-property: opacity;
3627
- transition-duration: ${d}ms;
3628
- transition-delay: ${s}ms;
3629
- `, Y = d + s;
3637
+ transition-duration: ${i}ms;
3638
+ transition-delay: ${u}ms;
3639
+ `, G = i + u;
3630
3640
  return /* @__PURE__ */ e.createElement(
3631
- Kt,
3641
+ Qt,
3632
3642
  {
3633
3643
  in: t,
3634
3644
  mountOnEnter: !0,
3635
3645
  unmountOnExit: !0,
3636
- timeout: Y,
3646
+ timeout: G,
3637
3647
  classNames: {
3638
3648
  enter: me,
3639
3649
  enterDone: it,
3640
- enterActive: _e,
3641
- exit: F,
3642
- exitActive: G
3650
+ enterActive: se,
3651
+ exit: dt,
3652
+ exitActive: F
3643
3653
  }
3644
3654
  },
3645
3655
  De
@@ -3648,7 +3658,7 @@ const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module_
3648
3658
  return t && De;
3649
3659
  }
3650
3660
  return /* @__PURE__ */ e.createElement(e.Fragment, null, Ue());
3651
- }, xo = "tooltip", So = (t) => {
3661
+ }, So = "tooltip", Do = (t) => {
3652
3662
  const {
3653
3663
  triggerRenderer: a,
3654
3664
  referenceElement: r,
@@ -3656,49 +3666,49 @@ const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module_
3656
3666
  className: o,
3657
3667
  theme: l,
3658
3668
  placement: c,
3659
- isVisible: i,
3669
+ isVisible: d,
3660
3670
  withFadeAnimation: n = !0,
3661
- transitionDuration: d = 200,
3662
- transitionDelay: s = 0,
3663
- hoverOutDelayTimeout: m = 100,
3664
- offsetMainAxis: u = 8,
3671
+ transitionDuration: i = 200,
3672
+ transitionDelay: u = 0,
3673
+ hoverOutDelayTimeout: s = 100,
3674
+ offsetMainAxis: m = 8,
3665
3675
  triggerOnClick: b = !1,
3666
3676
  arrowOffsetY: h,
3667
- arrowOffsetX: p,
3668
- fullSpaceContent: g,
3677
+ arrowOffsetX: g,
3678
+ fullSpaceContent: p,
3669
3679
  onOpen: E,
3670
3680
  onClose: v
3671
- } = t, C = e.useRef(!0), N = i !== void 0, k = e.useRef(null), [y, x] = e.useState(i), $ = e.useRef(!1), W = Ea({
3681
+ } = t, C = e.useRef(!0), S = d !== void 0, k = e.useRef(null), [y, N] = e.useState(d), $ = e.useRef(!1), W = ka({
3672
3682
  middleware: [
3673
- ka({ mainAxis: u }),
3674
- qa({ element: k }),
3675
- $a()
3683
+ $a({ mainAxis: m }),
3684
+ Ja({ element: k }),
3685
+ wa()
3676
3686
  ],
3677
3687
  placement: c
3678
- }), j = (_e) => {
3679
- _e ? !y && (E == null || E()) : y && (v == null || v()), N || x(_e);
3688
+ }), X = (se) => {
3689
+ se ? !y && (E == null || E()) : y && (v == null || v()), S || N(se);
3680
3690
  };
3681
3691
  e.useEffect(() => {
3682
3692
  if (C.current) {
3683
3693
  C.current = !1;
3684
3694
  return;
3685
3695
  }
3686
- i === !0 && (E == null || E()), i === !1 && (v == null || v()), x(i);
3687
- }, [i]), e.useEffect(() => (document.addEventListener("keydown", Se), () => {
3696
+ d === !0 && (E == null || E()), d === !1 && (v == null || v()), N(d);
3697
+ }, [d]), e.useEffect(() => (document.addEventListener("keydown", Se), () => {
3688
3698
  document.removeEventListener("keydown", Se);
3689
3699
  }), []);
3690
3700
  const $e = () => {
3691
- b || N || ($.current = !0, j(!0));
3701
+ b || S || ($.current = !0, X(!0));
3692
3702
  }, Ae = () => {
3693
- b || N || ($.current = !1, ko(m).then(() => {
3694
- $.current || j(!1);
3703
+ b || S || ($.current = !1, $o(s).then(() => {
3704
+ $.current || X(!1);
3695
3705
  }));
3696
- }, Se = (_e) => {
3697
- (_e instanceof KeyboardEvent && _e.key === "Escape" || _e.type === "click") && j(!1);
3706
+ }, Se = (se) => {
3707
+ (se instanceof KeyboardEvent && se.key === "Escape" || se.type === "click") && X(!1);
3698
3708
  }, De = /* @__PURE__ */ e.createElement(
3699
- No,
3709
+ xo,
3700
3710
  {
3701
- baseClass: xo,
3711
+ baseClass: So,
3702
3712
  className: o,
3703
3713
  visible: y,
3704
3714
  floatingOptions: W,
@@ -3707,22 +3717,22 @@ const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module_
3707
3717
  handleMouseLeave: Ae,
3708
3718
  handleCloseAction: Se,
3709
3719
  childrenElements: _,
3710
- transitionDuration: d,
3711
- transitionDelay: s,
3720
+ transitionDuration: i,
3721
+ transitionDelay: u,
3712
3722
  referenceElement: r,
3713
- arrowOffsetX: p,
3723
+ arrowOffsetX: g,
3714
3724
  arrowOffsetY: h,
3715
3725
  theme: l,
3716
3726
  withFadeAnimation: n,
3717
- fullSpaceContent: g
3727
+ fullSpaceContent: p
3718
3728
  }
3719
3729
  );
3720
3730
  if (r)
3721
3731
  return De;
3722
3732
  const Ue = () => {
3723
- j(!y);
3733
+ X(!y);
3724
3734
  }, me = () => {
3725
- if (!N)
3735
+ if (!S)
3726
3736
  return b ? {
3727
3737
  onClick: Ue
3728
3738
  } : {
@@ -3731,29 +3741,29 @@ const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module_
3731
3741
  };
3732
3742
  };
3733
3743
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", w({ ref: W.reference }, me()), a()), De);
3734
- }, wl = ({ text: t }) => /* @__PURE__ */ e.createElement("div", null, t), $t = "tooltip", Cl = ({ header: t, text: a, closeWithX: r, theme: _, handleCloseAction: o }) => /* @__PURE__ */ e.createElement("div", null, r && /* @__PURE__ */ e.createElement(
3744
+ }, Cl = ({ text: t }) => /* @__PURE__ */ e.createElement("div", null, t), wt = "tooltip", Nl = ({ header: t, text: a, closeWithX: r, theme: _, handleCloseAction: o }) => /* @__PURE__ */ e.createElement("div", null, r && /* @__PURE__ */ e.createElement(
3735
3745
  "div",
3736
3746
  {
3737
- className: S[`${$t}-close`],
3747
+ className: x[`${wt}-close`],
3738
3748
  onClick: o
3739
3749
  },
3740
3750
  /* @__PURE__ */ e.createElement(
3741
3751
  I,
3742
3752
  {
3743
- source: Da,
3744
- kind: _ ? za(_) : "primary"
3753
+ source: Ta,
3754
+ kind: _ ? Ha(_) : "primary"
3745
3755
  }
3746
3756
  )
3747
3757
  ), t && /* @__PURE__ */ e.createElement(
3748
3758
  "div",
3749
3759
  {
3750
3760
  className: f(
3751
- S[`${$t}-header`],
3752
- S[`${$t}-header--info`]
3761
+ x[`${wt}-header`],
3762
+ x[`${wt}-header--info`]
3753
3763
  )
3754
3764
  },
3755
3765
  t
3756
- ), /* @__PURE__ */ e.createElement("div", { className: S[`${$t}-text`] }, a)), Ne = "tooltip", Nl = ({
3766
+ ), /* @__PURE__ */ e.createElement("div", { className: x[`${wt}-text`] }, a)), Ne = "tooltip", xl = ({
3757
3767
  header: t,
3758
3768
  text: a,
3759
3769
  image: r,
@@ -3761,36 +3771,36 @@ const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module_
3761
3771
  theme: o,
3762
3772
  handleCloseAction: l,
3763
3773
  primaryButton: c,
3764
- secondaryButton: i
3765
- }) => /* @__PURE__ */ e.createElement("div", { className: S[`${Ne}__interactive`] }, _ && /* @__PURE__ */ e.createElement("div", { className: S[`${Ne}-close`] }, /* @__PURE__ */ e.createElement(
3774
+ secondaryButton: d
3775
+ }) => /* @__PURE__ */ e.createElement("div", { className: x[`${Ne}__interactive`] }, _ && /* @__PURE__ */ e.createElement("div", { className: x[`${Ne}-close`] }, /* @__PURE__ */ e.createElement(
3766
3776
  "button",
3767
3777
  {
3768
- className: S[`${Ne}-close-button`],
3778
+ className: x[`${Ne}-close-button`],
3769
3779
  onClick: l
3770
3780
  },
3771
- /* @__PURE__ */ e.createElement(I, { source: Da, kind: o ? za(o) : "primary" })
3772
- )), r && /* @__PURE__ */ e.createElement("div", { className: S[`${Ne}-image-container`] }, /* @__PURE__ */ e.createElement(
3781
+ /* @__PURE__ */ e.createElement(I, { source: Ta, kind: o ? Ha(o) : "primary" })
3782
+ )), r && /* @__PURE__ */ e.createElement("div", { className: x[`${Ne}-image-container`] }, /* @__PURE__ */ e.createElement(
3773
3783
  "img",
3774
3784
  {
3775
- className: S[`${Ne}-image`],
3785
+ className: x[`${Ne}-image`],
3776
3786
  src: r.src,
3777
3787
  alt: r.alt
3778
3788
  }
3779
- )), t && /* @__PURE__ */ e.createElement("div", { className: S[`${Ne}-header`] }, t), /* @__PURE__ */ e.createElement("div", { className: S[`${Ne}-text`] }, a), /* @__PURE__ */ e.createElement("div", { className: S[`${Ne}-footer`] }, /* @__PURE__ */ e.createElement(
3780
- se,
3789
+ )), t && /* @__PURE__ */ e.createElement("div", { className: x[`${Ne}-header`] }, t), /* @__PURE__ */ e.createElement("div", { className: x[`${Ne}-text`] }, a), /* @__PURE__ */ e.createElement("div", { className: x[`${Ne}-footer`] }, /* @__PURE__ */ e.createElement(
3790
+ ne,
3781
3791
  {
3782
3792
  kind: c.kind || "primary",
3783
3793
  onClick: c.handleClick
3784
3794
  },
3785
3795
  c.label
3786
3796
  ), /* @__PURE__ */ e.createElement(
3787
- se,
3797
+ ne,
3788
3798
  {
3789
- kind: i.kind || "secondary",
3790
- onClick: i.handleClick
3799
+ kind: d.kind || "secondary",
3800
+ onClick: d.handleClick
3791
3801
  },
3792
- i.label
3793
- ))), K = "guide-tooltip", Do = ({
3802
+ d.label
3803
+ ))), J = "guide-tooltip", To = ({
3794
3804
  gap: t,
3795
3805
  isVisible: a,
3796
3806
  slide: r,
@@ -3813,7 +3823,7 @@ const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module_
3813
3823
  left: "0",
3814
3824
  width: "100%",
3815
3825
  height: `${t.top}px`
3816
- }, i = {
3826
+ }, d = {
3817
3827
  top: `${t.bottom}px`,
3818
3828
  left: "0",
3819
3829
  width: "100%",
@@ -3829,9 +3839,9 @@ const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module_
3829
3839
  "div",
3830
3840
  {
3831
3841
  className: f({
3832
- [S[`${K}__overlay`]]: !0,
3833
- [S[`${K}__overlay--visible`]]: a,
3834
- [S[`${K}__overlay--slide`]]: r
3842
+ [x[`${J}__overlay`]]: !0,
3843
+ [x[`${J}__overlay--visible`]]: a,
3844
+ [x[`${J}__overlay--slide`]]: r
3835
3845
  }),
3836
3846
  style: o
3837
3847
  }
@@ -3839,9 +3849,9 @@ const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module_
3839
3849
  "div",
3840
3850
  {
3841
3851
  className: f({
3842
- [S[`${K}__overlay`]]: !0,
3843
- [S[`${K}__overlay--visible`]]: a,
3844
- [S[`${K}__overlay--slide`]]: r
3852
+ [x[`${J}__overlay`]]: !0,
3853
+ [x[`${J}__overlay--visible`]]: a,
3854
+ [x[`${J}__overlay--slide`]]: r
3845
3855
  }),
3846
3856
  style: c
3847
3857
  }
@@ -3849,9 +3859,9 @@ const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module_
3849
3859
  "div",
3850
3860
  {
3851
3861
  className: f({
3852
- [S[`${K}__overlay`]]: !0,
3853
- [S[`${K}__overlay--visible`]]: a,
3854
- [S[`${K}__overlay--slide`]]: r
3862
+ [x[`${J}__overlay`]]: !0,
3863
+ [x[`${J}__overlay--visible`]]: a,
3864
+ [x[`${J}__overlay--slide`]]: r
3855
3865
  }),
3856
3866
  style: l
3857
3867
  }
@@ -3859,41 +3869,41 @@ const ko = (t) => new Promise((a) => setTimeout(a, t)), $o = "lc-Tooltip-module_
3859
3869
  "div",
3860
3870
  {
3861
3871
  className: f({
3862
- [S[`${K}__overlay`]]: !0,
3863
- [S[`${K}__overlay--visible`]]: a,
3864
- [S[`${K}__overlay--slide`]]: r
3872
+ [x[`${J}__overlay`]]: !0,
3873
+ [x[`${J}__overlay--visible`]]: a,
3874
+ [x[`${J}__overlay--slide`]]: r
3865
3875
  }),
3866
- style: i
3876
+ style: d
3867
3877
  }
3868
3878
  ), _ && /* @__PURE__ */ e.createElement(
3869
3879
  "div",
3870
3880
  {
3871
3881
  className: f({
3872
- [S[`${K}__overlay`]]: !0,
3873
- [S[`${K}__overlay--visible`]]: a,
3874
- [S[`${K}__overlay--slide`]]: r
3882
+ [x[`${J}__overlay`]]: !0,
3883
+ [x[`${J}__overlay--visible`]]: a,
3884
+ [x[`${J}__overlay--slide`]]: r
3875
3885
  }),
3876
3886
  style: n
3877
3887
  }
3878
3888
  ));
3879
3889
  };
3880
- class To {
3890
+ class Io {
3881
3891
  constructor(a, r) {
3882
- Bt(this, "element");
3883
- Bt(this, "padding");
3892
+ Pt(this, "element");
3893
+ Pt(this, "padding");
3884
3894
  this.element = a, this.padding = r;
3885
3895
  }
3886
3896
  addPadding(a) {
3887
- const r = Math.round(a.left) - this.padding, _ = Math.round(a.top) - this.padding, o = Math.round(a.width) + 2 * this.padding, l = Math.round(a.height) + 2 * this.padding, c = _, i = r, n = c + l, d = i + o;
3897
+ const r = Math.round(a.left) - this.padding, _ = Math.round(a.top) - this.padding, o = Math.round(a.width) + 2 * this.padding, l = Math.round(a.height) + 2 * this.padding, c = _, d = r, n = c + l, i = d + o;
3888
3898
  return {
3889
3899
  x: r,
3890
3900
  y: _,
3891
3901
  width: o,
3892
3902
  height: l,
3893
3903
  top: c,
3894
- left: i,
3904
+ left: d,
3895
3905
  bottom: n,
3896
- right: d
3906
+ right: i
3897
3907
  };
3898
3908
  }
3899
3909
  getBoundingClientRect() {
@@ -3906,7 +3916,7 @@ class To {
3906
3916
  return this.getBoundingClientRect().height;
3907
3917
  }
3908
3918
  }
3909
- const ha = 8, va = "guide-tooltip", ya = (t, a) => new To(t, a), xl = (t) => {
3919
+ const va = 8, ya = "guide-tooltip", Ea = (t, a) => new Io(t, a), Sl = (t) => {
3910
3920
  const {
3911
3921
  className: a,
3912
3922
  parentElementName: r,
@@ -3914,94 +3924,94 @@ const ha = 8, va = "guide-tooltip", ya = (t, a) => new To(t, a), xl = (t) => {
3914
3924
  shouldSlide: o = !0
3915
3925
  } = t, [l, c] = e.useState(
3916
3926
  null
3917
- ), [i, n] = e.useState(null), [d, s] = e.useState(o), m = () => {
3927
+ ), [d, n] = e.useState(null), [i, u] = e.useState(o), s = () => {
3918
3928
  l && (n(
3919
- ya(
3929
+ Ea(
3920
3930
  l,
3921
- ha
3931
+ va
3922
3932
  ).getBoundingClientRect()
3923
- ), s(!1));
3933
+ ), u(!1));
3924
3934
  };
3925
3935
  return e.useEffect(() => {
3926
3936
  if (l !== null)
3927
- return window.addEventListener("resize", m), window.addEventListener("scroll", m), () => {
3928
- window.addEventListener("resize", m), window.addEventListener("resize", m);
3937
+ return window.addEventListener("resize", s), window.addEventListener("scroll", s), () => {
3938
+ window.addEventListener("resize", s), window.addEventListener("resize", s);
3929
3939
  };
3930
3940
  }, [l, r]), e.useEffect(() => {
3931
3941
  if (r) {
3932
- const u = document.querySelector(r);
3933
- c(u);
3942
+ const m = document.querySelector(r);
3943
+ c(m);
3934
3944
  }
3935
3945
  }, [r]), e.useEffect(() => {
3936
3946
  l && n(
3937
- ya(
3947
+ Ea(
3938
3948
  l,
3939
- ha
3949
+ va
3940
3950
  ).getBoundingClientRect()
3941
- ), s(!0);
3951
+ ), u(!0);
3942
3952
  }, [l]), l && _ ? /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
3943
- Do,
3953
+ To,
3944
3954
  {
3945
- gap: i,
3955
+ gap: d,
3946
3956
  isVisible: _,
3947
- slide: d,
3957
+ slide: i,
3948
3958
  disablePointerEvents: !0
3949
3959
  }
3950
3960
  ), /* @__PURE__ */ e.createElement(
3951
- So,
3961
+ Do,
3952
3962
  B(w({}, t), {
3953
3963
  referenceElement: {
3954
- getBoundingClientRect: () => i,
3964
+ getBoundingClientRect: () => d,
3955
3965
  contextElement: l
3956
3966
  },
3957
3967
  arrowOffsetY: 25,
3958
3968
  className: f({
3959
- [S[va]]: !0,
3960
- [S[`${va}--slide`]]: d,
3969
+ [x[ya]]: !0,
3970
+ [x[`${ya}--slide`]]: i,
3961
3971
  className: a
3962
3972
  })
3963
3973
  }),
3964
3974
  t.children
3965
3975
  )) : null;
3966
- }, _t = "reports-tooltip", Sl = ({
3976
+ }, _t = "reports-tooltip", Dl = ({
3967
3977
  title: t,
3968
3978
  description: a,
3969
3979
  children: r
3970
- }) => /* @__PURE__ */ e.createElement("div", { className: S[_t] }, /* @__PURE__ */ e.createElement("div", { className: S[`${_t}__heading`] }, /* @__PURE__ */ e.createElement(A, { as: "div", className: S[`${_t}__heading__title`] }, t), /* @__PURE__ */ e.createElement(
3980
+ }) => /* @__PURE__ */ e.createElement("div", { className: x[_t] }, /* @__PURE__ */ e.createElement("div", { className: x[`${_t}__heading`] }, /* @__PURE__ */ e.createElement(A, { as: "div", className: x[`${_t}__heading__title`] }, t), /* @__PURE__ */ e.createElement(
3971
3981
  A,
3972
3982
  {
3973
3983
  as: "div",
3974
3984
  size: "xs",
3975
- className: S[`${_t}__heading__description`]
3985
+ className: x[`${_t}__heading__description`]
3976
3986
  },
3977
3987
  a
3978
- )), /* @__PURE__ */ e.createElement("div", { className: S[`${_t}__content`] }, /* @__PURE__ */ e.createElement(A, { as: "div" }, r))), Io = "lc-Textarea-module__textarea___g6U8F", wt = {
3979
- textarea: Io,
3988
+ )), /* @__PURE__ */ e.createElement("div", { className: x[`${_t}__content`] }, /* @__PURE__ */ e.createElement(A, { as: "div" }, r))), Bo = "lc-Textarea-module__textarea___g6U8F", Ct = {
3989
+ textarea: Bo,
3980
3990
  "textarea--focused": "lc-Textarea-module__textarea--focused___1vtEx",
3981
3991
  "textarea--disabled": "lc-Textarea-module__textarea--disabled___xXaGv",
3982
3992
  "textarea--error": "lc-Textarea-module__textarea--error___0EGuq"
3983
- }, Ct = "textarea", Dl = e.forwardRef(
3993
+ }, Nt = "textarea", Tl = e.forwardRef(
3984
3994
  (o, _) => {
3985
3995
  var l = o, { className: t, error: a } = l, r = P(l, ["className", "error"]);
3986
- const { disabled: c, onBlur: i, onFocus: n } = r, [d, s] = e.useState(!1), m = f(t, wt[Ct], {
3987
- [wt[`${Ct}--disabled`]]: c,
3988
- [wt[`${Ct}--focused`]]: d,
3989
- [wt[`${Ct}--error`]]: a
3990
- }), u = (h) => {
3991
- s(!1), i == null || i(h);
3996
+ const { disabled: c, onBlur: d, onFocus: n } = r, [i, u] = e.useState(!1), s = f(t, Ct[Nt], {
3997
+ [Ct[`${Nt}--disabled`]]: c,
3998
+ [Ct[`${Nt}--focused`]]: i,
3999
+ [Ct[`${Nt}--error`]]: a
4000
+ }), m = (h) => {
4001
+ u(!1), d == null || d(h);
3992
4002
  }, b = (h) => {
3993
- s(!0), n == null || n(h);
4003
+ u(!0), n == null || n(h);
3994
4004
  };
3995
- return /* @__PURE__ */ e.createElement("div", { className: m }, /* @__PURE__ */ e.createElement(
4005
+ return /* @__PURE__ */ e.createElement("div", { className: s }, /* @__PURE__ */ e.createElement(
3996
4006
  "textarea",
3997
4007
  B(w({}, r), {
3998
4008
  ref: _,
3999
4009
  onFocus: b,
4000
- onBlur: u
4010
+ onBlur: m
4001
4011
  })
4002
4012
  ));
4003
4013
  }
4004
- ), ce = {
4014
+ ), le = {
4005
4015
  "file-upload-progress": "lc-FileUploadProgress-module__file-upload-progress___xw8h8",
4006
4016
  "file-upload-progress__icon": "lc-FileUploadProgress-module__file-upload-progress__icon___p8Rfz",
4007
4017
  "file-upload-progress__icon--success": "lc-FileUploadProgress-module__file-upload-progress__icon--success___X40uH",
@@ -4012,29 +4022,29 @@ const ha = 8, va = "guide-tooltip", ya = (t, a) => new To(t, a), xl = (t) => {
4012
4022
  "file-upload-progress__wrapper__header__title": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title___2IVuv",
4013
4023
  "file-upload-progress__wrapper__header__title--success": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--success___E6DQl",
4014
4024
  "file-upload-progress__wrapper__header__title--error": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--error___5BPpI"
4015
- }, Mt = {
4025
+ }, Lt = {
4016
4026
  "file-upload-progress-actions": "lc-FileUploadProgressActions-module__file-upload-progress-actions___qOBr2",
4017
4027
  "file-upload-progress-actions__close-button": "lc-FileUploadProgressActions-module__file-upload-progress-actions__close-button___Eh4um",
4018
4028
  "file-upload-progress-actions__retry-button": "lc-FileUploadProgressActions-module__file-upload-progress-actions__retry-button___DqFEo"
4019
- }, Lt = "file-upload-progress-actions", Vt = ({ status: t, onCloseButtonClick: a, onRetryButtonClick: r }) => /* @__PURE__ */ e.createElement("div", { className: Mt[`${Lt}`] }, r && t === "error" && /* @__PURE__ */ e.createElement(
4029
+ }, Ot = "file-upload-progress-actions", Yt = ({ status: t, onCloseButtonClick: a, onRetryButtonClick: r }) => /* @__PURE__ */ e.createElement("div", { className: Lt[`${Ot}`] }, r && t === "error" && /* @__PURE__ */ e.createElement(
4020
4030
  "button",
4021
4031
  {
4022
4032
  type: "button",
4023
- className: Mt[`${Lt}__retry-button`],
4033
+ className: Lt[`${Ot}__retry-button`],
4024
4034
  "aria-label": "Retry",
4025
4035
  onClick: r
4026
4036
  },
4027
- /* @__PURE__ */ e.createElement(I, { size: "small", source: Xa })
4037
+ /* @__PURE__ */ e.createElement(I, { size: "small", source: ja })
4028
4038
  ), a && t !== "success" && /* @__PURE__ */ e.createElement(
4029
4039
  "button",
4030
4040
  {
4031
4041
  type: "button",
4032
- className: Mt[`${Lt}__close-button`],
4042
+ className: Lt[`${Ot}__close-button`],
4033
4043
  "aria-label": "Close",
4034
4044
  onClick: a
4035
4045
  },
4036
4046
  /* @__PURE__ */ e.createElement(I, { size: "small", source: xe })
4037
- )), ve = "file-upload-progress", Ot = `${ve}__wrapper__header__title`, Bo = e.forwardRef(
4047
+ )), ve = "file-upload-progress", zt = `${ve}__wrapper__header__title`, Po = e.forwardRef(
4038
4048
  ({
4039
4049
  actionsVisibility: t = "hidden",
4040
4050
  className: a,
@@ -4043,30 +4053,30 @@ const ha = 8, va = "guide-tooltip", ya = (t, a) => new To(t, a), xl = (t) => {
4043
4053
  progressValue: o,
4044
4054
  size: l,
4045
4055
  status: c = "normal",
4046
- onCloseButtonClick: i,
4056
+ onCloseButtonClick: d,
4047
4057
  onRetryButtonClick: n
4048
- }, d) => /* @__PURE__ */ e.createElement("div", { className: ce[ve], ref: d }, r && c !== "success" && /* @__PURE__ */ e.createElement("div", { className: ce[`${ve}__icon`] }, r), c === "success" && /* @__PURE__ */ e.createElement(
4058
+ }, i) => /* @__PURE__ */ e.createElement("div", { className: le[ve], ref: i }, r && c !== "success" && /* @__PURE__ */ e.createElement("div", { className: le[`${ve}__icon`] }, r), c === "success" && /* @__PURE__ */ e.createElement(
4049
4059
  "div",
4050
4060
  {
4051
4061
  className: f(
4052
- ce[`${ve}__icon`],
4053
- ce[`${ve}__icon--success`]
4062
+ le[`${ve}__icon`],
4063
+ le[`${ve}__icon--success`]
4054
4064
  )
4055
4065
  },
4056
- /* @__PURE__ */ e.createElement(I, { source: qt })
4066
+ /* @__PURE__ */ e.createElement(I, { source: Jt })
4057
4067
  ), /* @__PURE__ */ e.createElement(
4058
4068
  "div",
4059
4069
  {
4060
- className: f(ce[`${ve}__wrapper`], {
4061
- [ce[`${ve}__wrapper--with-icon`]]: r
4070
+ className: f(le[`${ve}__wrapper`], {
4071
+ [le[`${ve}__wrapper--with-icon`]]: r
4062
4072
  })
4063
4073
  },
4064
- /* @__PURE__ */ e.createElement("div", { className: ce[`${ve}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
4074
+ /* @__PURE__ */ e.createElement("div", { className: le[`${ve}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
4065
4075
  "div",
4066
4076
  {
4067
- className: f(ce[Ot], {
4068
- [ce[`${Ot}--success`]]: c === "success",
4069
- [ce[`${Ot}--error`]]: c === "error"
4077
+ className: f(le[zt], {
4078
+ [le[`${zt}--success`]]: c === "success",
4079
+ [le[`${zt}--error`]]: c === "error"
4070
4080
  })
4071
4081
  },
4072
4082
  /* @__PURE__ */ e.createElement(A, { size: "sm", as: "div" }, _),
@@ -4076,20 +4086,20 @@ const ha = 8, va = "guide-tooltip", ya = (t, a) => new To(t, a), xl = (t) => {
4076
4086
  "div",
4077
4087
  {
4078
4088
  className: f({
4079
- [ce[`${ve}__wrapper__header__actions`]]: t === "hover"
4089
+ [le[`${ve}__wrapper__header__actions`]]: t === "hover"
4080
4090
  })
4081
4091
  },
4082
4092
  /* @__PURE__ */ e.createElement(
4083
- Vt,
4093
+ Yt,
4084
4094
  {
4085
4095
  status: c,
4086
- onCloseButtonClick: i,
4096
+ onCloseButtonClick: d,
4087
4097
  onRetryButtonClick: n
4088
4098
  }
4089
4099
  )
4090
4100
  )),
4091
4101
  c !== "success" && /* @__PURE__ */ e.createElement(
4092
- U_,
4102
+ W_,
4093
4103
  {
4094
4104
  className: a,
4095
4105
  percent: o,
@@ -4119,14 +4129,14 @@ const ha = 8, va = "guide-tooltip", ya = (t, a) => new To(t, a), xl = (t) => {
4119
4129
  "upload-bar__files--exit-done": "lc-UploadBar-module__upload-bar__files--exit-done___2I72G",
4120
4130
  "upload-bar__files-wrapper": "lc-UploadBar-module__upload-bar__files-wrapper___93bs8",
4121
4131
  "upload-bar__files__list": "lc-UploadBar-module__upload-bar__files__list___QJFEq"
4122
- }, X = "upload-bar", ke = `${X}__wrapper__header`, Po = 300, Ao = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__success-icon`] }, /* @__PURE__ */ e.createElement(I, { source: qt })) : t === "error" ? /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__error-icon`] }, /* @__PURE__ */ e.createElement(I, { source: ja })) : /* @__PURE__ */ e.createElement(
4123
- G_,
4132
+ }, Z = "upload-bar", ke = `${Z}__wrapper__header`, Ao = 300, Fo = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__success-icon`] }, /* @__PURE__ */ e.createElement(I, { source: Jt })) : t === "error" ? /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__error-icon`] }, /* @__PURE__ */ e.createElement(I, { source: er })) : /* @__PURE__ */ e.createElement(
4133
+ U_,
4124
4134
  {
4125
4135
  className: R[`${ke}__loader`],
4126
4136
  status: t,
4127
4137
  progressValue: a
4128
4138
  }
4129
- ), Tl = ({
4139
+ ), Il = ({
4130
4140
  children: t,
4131
4141
  className: a,
4132
4142
  progressValue: r,
@@ -4134,128 +4144,128 @@ const ha = 8, va = "guide-tooltip", ya = (t, a) => new To(t, a), xl = (t) => {
4134
4144
  isExpanded: o,
4135
4145
  errorMessage: l,
4136
4146
  status: c = "normal",
4137
- icon: i,
4147
+ icon: d,
4138
4148
  size: n,
4139
- mode: d = "multiple",
4140
- onCloseButtonClick: s,
4141
- onRetryButtonClick: m
4149
+ mode: i = "multiple",
4150
+ onCloseButtonClick: u,
4151
+ onRetryButtonClick: s
4142
4152
  }) => {
4143
- const [u, b] = e.useState(o || !1), h = c === "error", p = c === "success", g = f(R[X], a, {
4144
- [R[`${X}--error`]]: h,
4145
- [R[`${X}--success`]]: p
4146
- }), E = !(h && (m || s)), v = () => b(!u);
4147
- return d === "single" ? /* @__PURE__ */ e.createElement("div", { className: g }, /* @__PURE__ */ e.createElement("div", { className: R[`${X}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${ke}`] }, /* @__PURE__ */ e.createElement(
4148
- Bo,
4153
+ const [m, b] = e.useState(o || !1), h = c === "error", g = c === "success", p = f(R[Z], a, {
4154
+ [R[`${Z}--error`]]: h,
4155
+ [R[`${Z}--success`]]: g
4156
+ }), E = !(h && (s || u)), v = () => b(!m);
4157
+ return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: p }, /* @__PURE__ */ e.createElement("div", { className: R[`${Z}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${ke}`] }, /* @__PURE__ */ e.createElement(
4158
+ Po,
4149
4159
  {
4150
4160
  title: h && l || _,
4151
4161
  progressValue: r,
4152
4162
  status: c,
4153
- icon: i,
4163
+ icon: d,
4154
4164
  size: n
4155
4165
  }
4156
4166
  )), c === "error" && /* @__PURE__ */ e.createElement(
4157
- Vt,
4167
+ Yt,
4158
4168
  {
4159
4169
  status: c,
4160
- onCloseButtonClick: s,
4161
- onRetryButtonClick: m
4170
+ onCloseButtonClick: u,
4171
+ onRetryButtonClick: s
4162
4172
  }
4163
- ))) : /* @__PURE__ */ e.createElement("div", { className: g }, /* @__PURE__ */ e.createElement(
4173
+ ))) : /* @__PURE__ */ e.createElement("div", { className: p }, /* @__PURE__ */ e.createElement(
4164
4174
  "div",
4165
4175
  {
4166
- className: R[`${X}__wrapper`],
4176
+ className: R[`${Z}__wrapper`],
4167
4177
  onClick: v
4168
4178
  },
4169
- /* @__PURE__ */ e.createElement("div", { className: R[`${ke}`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__icon`] }, Ao(c, r)), /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__title`] }, /* @__PURE__ */ e.createElement(A, { size: "sm", as: "div" }, h ? l : _)), E && /* @__PURE__ */ e.createElement(
4179
+ /* @__PURE__ */ e.createElement("div", { className: R[`${ke}`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__icon`] }, Fo(c, r)), /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__title`] }, /* @__PURE__ */ e.createElement(A, { size: "sm", as: "div" }, h ? l : _)), E && /* @__PURE__ */ e.createElement(
4170
4180
  "button",
4171
4181
  {
4172
4182
  className: R[`${ke}__collapse-button`],
4173
4183
  type: "button",
4174
4184
  onClick: v
4175
4185
  },
4176
- u ? /* @__PURE__ */ e.createElement(I, { source: xt }) : /* @__PURE__ */ e.createElement(I, { source: St })
4186
+ m ? /* @__PURE__ */ e.createElement(I, { source: St }) : /* @__PURE__ */ e.createElement(I, { source: Dt })
4177
4187
  ), c === "error" && /* @__PURE__ */ e.createElement("div", { className: R[`${ke}__actions-container`] }, /* @__PURE__ */ e.createElement(
4178
- Vt,
4188
+ Yt,
4179
4189
  {
4180
4190
  status: c,
4181
- onCloseButtonClick: s,
4182
- onRetryButtonClick: m
4191
+ onCloseButtonClick: u,
4192
+ onRetryButtonClick: s
4183
4193
  }
4184
4194
  )))
4185
- ), /* @__PURE__ */ e.createElement(Ia, { component: null }, u && /* @__PURE__ */ e.createElement(
4186
- Kt,
4195
+ ), /* @__PURE__ */ e.createElement(Ba, { component: null }, m && /* @__PURE__ */ e.createElement(
4196
+ Qt,
4187
4197
  {
4188
- timeout: Po,
4198
+ timeout: Ao,
4189
4199
  classNames: {
4190
- enter: R[`${X}__files--enter`],
4191
- enterActive: R[`${X}__files--enter-active`],
4192
- exit: R[`${X}__files--exit`],
4193
- exitActive: R[`${X}__files--exit-active`],
4194
- exitDone: R[`${X}__files--exit-done`]
4200
+ enter: R[`${Z}__files--enter`],
4201
+ enterActive: R[`${Z}__files--enter-active`],
4202
+ exit: R[`${Z}__files--exit`],
4203
+ exitActive: R[`${Z}__files--exit-active`],
4204
+ exitDone: R[`${Z}__files--exit-done`]
4195
4205
  }
4196
4206
  },
4197
- /* @__PURE__ */ e.createElement("div", { className: R[`${X}__files`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${X}__files-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${X}__files__list`] }, t)))
4207
+ /* @__PURE__ */ e.createElement("div", { className: R[`${Z}__files`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${Z}__files-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: R[`${Z}__files__list`] }, t)))
4198
4208
  )));
4199
4209
  };
4200
4210
  export {
4201
- Eo as ANIMATION_TIME,
4202
- Zo as ActionMenu,
4203
- Xo as ActionMenuItem,
4204
- jo as Alert,
4205
- el as Avatar,
4206
- Mr as Badge,
4207
- se as Button,
4208
- al as Card,
4209
- rl as Checkbox,
4210
- u_ as DatePicker,
4211
- Jo as DesignToken,
4212
- kl as EmailTagInput,
4213
- Dt as FieldDescription,
4214
- Zt as FieldError,
4215
- _l as FieldGroup,
4216
- Bo as FileUploadProgress,
4217
- Vt as FileUploadProgressActions,
4218
- ol as Form,
4219
- ll as FormField,
4220
- cl as FormGroup,
4211
+ ko as ANIMATION_TIME,
4212
+ Xo as ActionMenu,
4213
+ jo as ActionMenuItem,
4214
+ el as Alert,
4215
+ tl as Avatar,
4216
+ Lr as Badge,
4217
+ ne as Button,
4218
+ rl as Card,
4219
+ _l as Checkbox,
4220
+ m_ as DatePicker,
4221
+ Ko as DesignToken,
4222
+ $l as EmailTagInput,
4223
+ Tt as FieldDescription,
4224
+ Xt as FieldError,
4225
+ ol as FieldGroup,
4226
+ Po as FileUploadProgress,
4227
+ Yt as FileUploadProgressActions,
4228
+ ll as Form,
4229
+ cl as FormField,
4230
+ nl as FormGroup,
4221
4231
  st as Heading,
4222
4232
  I as Icon,
4223
- Cl as Info,
4224
- nl as Input,
4225
- Nl as Interactive,
4226
- sl as Link,
4227
- Qt as Loader,
4228
- il as Modal,
4229
- N_ as ModalBase,
4230
- ga as ModalCloseButton,
4231
- ul as ModalHeader,
4232
- dl as ModalPortal,
4233
- ml as NumericInput,
4234
- pl as Picker,
4235
- S_ as PickerList,
4236
- dr as Popover,
4237
- U_ as ProgressBar,
4238
- G_ as ProgressCircle,
4239
- gl as PromoBanner,
4240
- fl as RadioButton,
4241
- p_ as RangeDatePicker,
4242
- Sl as Reports,
4243
- bl as SearchInput,
4244
- tl as SegmentedControl,
4245
- Qo as ShadowToken,
4246
- wl as Simple,
4247
- Ko as SpacingToken,
4248
- hl as Switch,
4249
- vl as Tab,
4250
- El as TabsList,
4251
- yl as TabsWrapper,
4252
- Fa as Tag,
4253
- io as TagInput,
4233
+ Nl as Info,
4234
+ sl as Input,
4235
+ xl as Interactive,
4236
+ il as Link,
4237
+ Zt as Loader,
4238
+ dl as Modal,
4239
+ x_ as ModalBase,
4240
+ fa as ModalCloseButton,
4241
+ ml as ModalHeader,
4242
+ ul as ModalPortal,
4243
+ pl as NumericInput,
4244
+ gl as Picker,
4245
+ D_ as PickerList,
4246
+ ur as Popover,
4247
+ W_ as ProgressBar,
4248
+ U_ as ProgressCircle,
4249
+ fl as PromoBanner,
4250
+ bl as RadioButton,
4251
+ g_ as RangeDatePicker,
4252
+ Dl as Reports,
4253
+ hl as SearchInput,
4254
+ al as SegmentedControl,
4255
+ Zo as ShadowToken,
4256
+ Cl as Simple,
4257
+ Qo as SpacingToken,
4258
+ vl as Switch,
4259
+ yl as Tab,
4260
+ kl as TabsList,
4261
+ El as TabsWrapper,
4262
+ Ra as Tag,
4263
+ uo as TagInput,
4254
4264
  A as Text,
4255
- Dl as Textarea,
4256
- yo as Toast,
4257
- $l as ToastWrapper,
4258
- So as Tooltip,
4259
- Tl as UploadBar,
4260
- xl as UserGuide
4265
+ Tl as Textarea,
4266
+ Eo as Toast,
4267
+ wl as ToastWrapper,
4268
+ Do as Tooltip,
4269
+ Il as UploadBar,
4270
+ Sl as UserGuide
4261
4271
  };