@livechat/design-system-react-components 1.33.6 → 1.33.8-beta.2
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/components/ProductSwitcher/components/ProductRow/ProductRow.d.ts +1 -1
- package/dist/components/ProductSwitcher/helpers.d.ts +1 -0
- package/dist/components/ProductSwitcher/types.d.ts +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +734 -721
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/index.es.js
CHANGED
|
@@ -22,7 +22,7 @@ var D = (t, a) => {
|
|
|
22
22
|
var er = (t, a, r) => (Qa(t, typeof a != "symbol" ? a + "" : a, r), r);
|
|
23
23
|
import * as e from "react";
|
|
24
24
|
import { useReducer as x_, useRef as B_, useEffect as Ft, useCallback as ka, useMemo as Ea, useState as I_ } from "react";
|
|
25
|
-
import { Check as ia, Close as Ie, ChevronDown as Ot, Info as ca, Warning as a_, CheckCircle as vr, Block as r_, ChevronRight as La, Person as T_, ChevronUp as Oa, DoubleArrowLeft as D_, ChevronLeft as P_, DoubleArrowRight as A_, VisibilityOn as F_, VisibilityOff as R_,
|
|
25
|
+
import { Check as ia, Close as Ie, ChevronDown as Ot, Info as ca, Warning as a_, CheckCircle as vr, Block as r_, ChevronRight as La, Person as T_, ChevronUp as Oa, DoubleArrowLeft as D_, ChevronLeft as P_, DoubleArrowRight as A_, VisibilityOn as F_, VisibilityOff as R_, LiveChatMono as M_, ChatBotMono as L_, HelpDeskMono as O_, KnowledgeBaseMono as G_, OpenWidgetMono as U_, HelloMono as H_, TextAccounts as z_, TextLogoFull as W_, Search as V_, LockBlack as K_, Refresh as Y_, Error as q_ } from "@livechat/design-system-icons";
|
|
26
26
|
import u from "clsx";
|
|
27
27
|
import { useFloatingParentNodeId as Ga, useFloatingNodeId as sa, useFloating as da, offset as ua, flip as Ua, size as __, autoUpdate as ma, useClick as pa, useDismiss as ga, useRole as fa, useInteractions as ba, useTransitionStyles as kr, FloatingNode as ha, FloatingTree as Ha, shift as Er, arrow as Z_, useHover as X_, safePolygon as J_, useFocus as j_, useTransitionStatus as Q_, FloatingArrow as eo, FloatingPortal as o_, FloatingOverlay as to, FloatingFocusManager as mr, useListNavigation as ao } from "@floating-ui/react";
|
|
28
28
|
import * as l_ from "react-dom";
|
|
@@ -34,7 +34,7 @@ import { subMonths as Rt, differenceInCalendarMonths as Ir, addMonths as Tr, isS
|
|
|
34
34
|
import { Virtuoso as lo } from "react-virtuoso";
|
|
35
35
|
import Dr from "lodash.escape";
|
|
36
36
|
import { TransitionGroup as c_, CSSTransition as i_ } from "react-transition-group";
|
|
37
|
-
const
|
|
37
|
+
const Lc = {
|
|
38
38
|
/** @deprecated */
|
|
39
39
|
Background: "--background",
|
|
40
40
|
Background01: "--background-01",
|
|
@@ -406,7 +406,7 @@ const Mc = {
|
|
|
406
406
|
SurfaceCheckListItemOpenBackground: "--surface-check-list-item-open-background",
|
|
407
407
|
SurfaceCheckListBackground: "--surface-check-list-background",
|
|
408
408
|
ContentBasicPlaceholder: "--content-basic-placeholder"
|
|
409
|
-
},
|
|
409
|
+
}, Oc = {
|
|
410
410
|
Spacing0: "--spacing-0",
|
|
411
411
|
Spacing05: "--spacing-05",
|
|
412
412
|
Spacing1: "--spacing-1",
|
|
@@ -426,7 +426,7 @@ const Mc = {
|
|
|
426
426
|
Spacing18: "--spacing-18",
|
|
427
427
|
Spacing20: "--spacing-20",
|
|
428
428
|
Spacing24: "--spacing-24"
|
|
429
|
-
},
|
|
429
|
+
}, Gc = {
|
|
430
430
|
Float: "--shadow-float",
|
|
431
431
|
PopOver: "--shadow-pop-over",
|
|
432
432
|
Modal: "--shadow-modal",
|
|
@@ -448,7 +448,7 @@ const Mc = {
|
|
|
448
448
|
FixedLeft: "--shadow-fixed-left",
|
|
449
449
|
FixedTop: "--shadow-fixed-top",
|
|
450
450
|
FixedBottom: "--shadow-fixed-bottom"
|
|
451
|
-
},
|
|
451
|
+
}, Uc = {
|
|
452
452
|
Radius0: "--radius-0",
|
|
453
453
|
Radius1: "--radius-1",
|
|
454
454
|
Radius2: "--radius-2",
|
|
@@ -464,14 +464,14 @@ const Mc = {
|
|
|
464
464
|
// deprecated
|
|
465
465
|
4: "--radius-4"
|
|
466
466
|
// deprecated
|
|
467
|
-
},
|
|
467
|
+
}, Hc = {
|
|
468
468
|
Fast1: "--transition-duration-fast-1",
|
|
469
469
|
Fast2: "--transition-duration-fast-2",
|
|
470
470
|
Moderate1: "--transition-duration-moderate-1"
|
|
471
|
-
},
|
|
471
|
+
}, zc = {
|
|
472
472
|
EaseIn: "--transition-timing-ease-in",
|
|
473
473
|
EaseOut: "--transition-timing-ease-out"
|
|
474
|
-
},
|
|
474
|
+
}, Wc = {
|
|
475
475
|
Instant: "--delay-instant",
|
|
476
476
|
Moderate: "--delay-moderate",
|
|
477
477
|
Slow: "--delay-slow"
|
|
@@ -494,7 +494,7 @@ const Mc = {
|
|
|
494
494
|
[r, _]
|
|
495
495
|
);
|
|
496
496
|
return /* @__PURE__ */ e.createElement(s_.Provider, { value: o }, t);
|
|
497
|
-
},
|
|
497
|
+
}, Vc = (t, a) => `color-mix(in srgb, var(${t}) ${a}, transparent)`, de = {
|
|
498
498
|
esc: "Escape",
|
|
499
499
|
enter: "Enter",
|
|
500
500
|
backspace: "Backspace",
|
|
@@ -590,7 +590,7 @@ const Mc = {
|
|
|
590
590
|
_ && Pr[`${Ar}--${o ? "disabled--" : ""}${_}`]
|
|
591
591
|
);
|
|
592
592
|
return /* @__PURE__ */ e.createElement("span", T(k({}, c), { className: i }), d);
|
|
593
|
-
},
|
|
593
|
+
}, Ue = {
|
|
594
594
|
"heading-xl": "lc-Typography-module__heading-xl___nhr-6",
|
|
595
595
|
"heading-lg": "lc-Typography-module__heading-lg___XYF7l",
|
|
596
596
|
"heading-md": "lc-Typography-module__heading-md___wHOIs",
|
|
@@ -645,9 +645,9 @@ const Mc = {
|
|
|
645
645
|
k({
|
|
646
646
|
className: u(
|
|
647
647
|
{
|
|
648
|
-
[
|
|
649
|
-
[
|
|
650
|
-
[
|
|
648
|
+
[Ue[`heading-${a}`]]: !0,
|
|
649
|
+
[Ue["heading-uppercase"]]: o,
|
|
650
|
+
[Ue["heading-bold"]]: l
|
|
651
651
|
},
|
|
652
652
|
_
|
|
653
653
|
),
|
|
@@ -683,18 +683,18 @@ const Mc = {
|
|
|
683
683
|
"textAlign",
|
|
684
684
|
"noMargin"
|
|
685
685
|
]);
|
|
686
|
-
const
|
|
686
|
+
const h = "paragraph";
|
|
687
687
|
return e.createElement(
|
|
688
688
|
t,
|
|
689
689
|
k({
|
|
690
690
|
className: u(
|
|
691
691
|
{
|
|
692
|
-
[
|
|
693
|
-
[
|
|
694
|
-
[
|
|
695
|
-
[
|
|
696
|
-
[
|
|
697
|
-
[
|
|
692
|
+
[Ue[`${h}-${a}`]]: !0,
|
|
693
|
+
[Ue[`${h}--bold`]]: o,
|
|
694
|
+
[Ue[`${h}--strike`]]: n,
|
|
695
|
+
[Ue[`${h}--underline`]]: l,
|
|
696
|
+
[Ue[`${h}--uppercase`]]: _ || r,
|
|
697
|
+
[Ue[`${h}--no-margin`]]: p
|
|
698
698
|
},
|
|
699
699
|
d
|
|
700
700
|
),
|
|
@@ -702,7 +702,7 @@ const Mc = {
|
|
|
702
702
|
}, m),
|
|
703
703
|
c
|
|
704
704
|
);
|
|
705
|
-
},
|
|
705
|
+
}, Kc = (d) => {
|
|
706
706
|
var i = d, {
|
|
707
707
|
as: t = "div",
|
|
708
708
|
size: a = "md",
|
|
@@ -724,9 +724,9 @@ const Mc = {
|
|
|
724
724
|
t,
|
|
725
725
|
k({
|
|
726
726
|
className: u(
|
|
727
|
-
|
|
727
|
+
Ue[`display-${a}`],
|
|
728
728
|
{
|
|
729
|
-
[
|
|
729
|
+
[Ue["display--bold"]]: n
|
|
730
730
|
},
|
|
731
731
|
_
|
|
732
732
|
),
|
|
@@ -734,7 +734,7 @@ const Mc = {
|
|
|
734
734
|
}, c),
|
|
735
735
|
r
|
|
736
736
|
);
|
|
737
|
-
},
|
|
737
|
+
}, ze = {
|
|
738
738
|
"action-menu": "lc-ActionMenu-module__action-menu___K2UwW",
|
|
739
739
|
"action-menu__trigger-button": "lc-ActionMenu-module__action-menu__trigger-button___tBrz5",
|
|
740
740
|
"action-menu__list": "lc-ActionMenu-module__action-menu__list___9pNUX",
|
|
@@ -746,8 +746,8 @@ const Mc = {
|
|
|
746
746
|
"action-menu__list__item__icon": "lc-ActionMenu-module__action-menu__list__item__icon___o3ePo",
|
|
747
747
|
"action-menu__list--with-footer": "lc-ActionMenu-module__action-menu__list--with-footer___ghTxL",
|
|
748
748
|
"action-menu__footer": "lc-ActionMenu-module__action-menu__footer___HxoOe"
|
|
749
|
-
},
|
|
750
|
-
var
|
|
749
|
+
}, We = "action-menu", mo = (h) => {
|
|
750
|
+
var v = h, {
|
|
751
751
|
className: t,
|
|
752
752
|
triggerClassName: a,
|
|
753
753
|
options: r,
|
|
@@ -762,7 +762,7 @@ const Mc = {
|
|
|
762
762
|
floatingStrategy: p,
|
|
763
763
|
selectedOptions: m,
|
|
764
764
|
footer: f
|
|
765
|
-
} =
|
|
765
|
+
} = v, b = D(v, [
|
|
766
766
|
"className",
|
|
767
767
|
"triggerClassName",
|
|
768
768
|
"options",
|
|
@@ -796,12 +796,12 @@ const Mc = {
|
|
|
796
796
|
strategy: p,
|
|
797
797
|
onOpenChange: I,
|
|
798
798
|
whileElementsMounted: ma
|
|
799
|
-
}),
|
|
799
|
+
}), ue = pa(U), Te = ga(U, {
|
|
800
800
|
enabled: G
|
|
801
|
-
}),
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
801
|
+
}), He = fa(U), { getReferenceProps: Ne, getFloatingProps: $t } = ba([
|
|
802
|
+
ue,
|
|
803
|
+
Te,
|
|
804
|
+
He
|
|
805
805
|
]), { styles: ft } = kr(U, {
|
|
806
806
|
initial: ({ side: P }) => k({
|
|
807
807
|
opacity: 0
|
|
@@ -817,18 +817,18 @@ const Mc = {
|
|
|
817
817
|
}), Nt = (P) => {
|
|
818
818
|
var Ye, qe;
|
|
819
819
|
const V = g.current;
|
|
820
|
-
let
|
|
821
|
-
for (; (Ye = r[
|
|
822
|
-
if (
|
|
823
|
-
|
|
820
|
+
let me = V + P;
|
|
821
|
+
for (; (Ye = r[me]) != null && Ye.disabled || (qe = r[me]) != null && qe.groupHeader; )
|
|
822
|
+
if (me += P, me === -1) {
|
|
823
|
+
me = V;
|
|
824
824
|
break;
|
|
825
825
|
}
|
|
826
|
-
return
|
|
826
|
+
return me;
|
|
827
827
|
}, bt = (P) => {
|
|
828
828
|
var Ye, qe;
|
|
829
829
|
g.current = Nt(P);
|
|
830
|
-
const V = (Ye = M.current) == null ? void 0 : Ye.children,
|
|
831
|
-
return
|
|
830
|
+
const V = (Ye = M.current) == null ? void 0 : Ye.children, me = V && ((qe = V[g.current]) == null ? void 0 : qe.children[0]);
|
|
831
|
+
return me == null ? void 0 : me.focus();
|
|
832
832
|
}, lt = (P) => {
|
|
833
833
|
P.key === de.arrowUp && g.current > 0 && (P.preventDefault(), bt(-1)), P.key === de.arrowDown && g.current + 1 < r.length && (P.preventDefault(), bt(1));
|
|
834
834
|
};
|
|
@@ -844,7 +844,7 @@ const Mc = {
|
|
|
844
844
|
{
|
|
845
845
|
key: P.key,
|
|
846
846
|
role: "none",
|
|
847
|
-
className:
|
|
847
|
+
className: ze[`${We}__list__group-header`]
|
|
848
848
|
},
|
|
849
849
|
P.element
|
|
850
850
|
) : /* @__PURE__ */ e.createElement("li", { key: P.key, role: "none" }, /* @__PURE__ */ e.createElement(
|
|
@@ -856,10 +856,10 @@ const Mc = {
|
|
|
856
856
|
disabled: P.disabled,
|
|
857
857
|
onClick: () => ht(V, P.onClick),
|
|
858
858
|
role: "menuitem",
|
|
859
|
-
className: u(
|
|
860
|
-
[
|
|
861
|
-
[
|
|
862
|
-
[
|
|
859
|
+
className: u(ze[`${We}__list__item`], {
|
|
860
|
+
[ze[`${We}__list__item--disabled`]]: P.disabled,
|
|
861
|
+
[ze[`${We}__list__item--with-divider`]]: P.withDivider,
|
|
862
|
+
[ze[`${We}__list__item--selected`]]: m == null ? void 0 : m.includes(P.key)
|
|
863
863
|
})
|
|
864
864
|
},
|
|
865
865
|
P.element,
|
|
@@ -867,7 +867,7 @@ const Mc = {
|
|
|
867
867
|
"div",
|
|
868
868
|
{
|
|
869
869
|
"data-testid": `${P.key}-selected-icon`,
|
|
870
|
-
className:
|
|
870
|
+
className: ze[`${We}__list__item__icon`]
|
|
871
871
|
},
|
|
872
872
|
/* @__PURE__ */ e.createElement(x, { source: ia, kind: "action-primary" })
|
|
873
873
|
)
|
|
@@ -885,7 +885,7 @@ const Mc = {
|
|
|
885
885
|
"div",
|
|
886
886
|
k({
|
|
887
887
|
ref: L.setFloating,
|
|
888
|
-
className:
|
|
888
|
+
className: ze[We],
|
|
889
889
|
style: k(k({
|
|
890
890
|
position: j,
|
|
891
891
|
top: Y != null ? Y : "",
|
|
@@ -896,9 +896,9 @@ const Mc = {
|
|
|
896
896
|
"ul",
|
|
897
897
|
T(k({}, b), {
|
|
898
898
|
className: u(
|
|
899
|
-
|
|
899
|
+
ze[`${We}__list`],
|
|
900
900
|
{
|
|
901
|
-
[
|
|
901
|
+
[ze[`${We}__list--with-footer`]]: f
|
|
902
902
|
},
|
|
903
903
|
t
|
|
904
904
|
),
|
|
@@ -912,7 +912,7 @@ const Mc = {
|
|
|
912
912
|
{
|
|
913
913
|
size: "sm",
|
|
914
914
|
as: "div",
|
|
915
|
-
className:
|
|
915
|
+
className: ze[`${We}__footer`]
|
|
916
916
|
},
|
|
917
917
|
f
|
|
918
918
|
)
|
|
@@ -986,7 +986,7 @@ const Mc = {
|
|
|
986
986
|
primaryColor: "var(--content-invert-primary)",
|
|
987
987
|
secondaryColor: "var(--surface-invert-secondary)"
|
|
988
988
|
};
|
|
989
|
-
}, ko = "lc-Button-module__btn___aijZJ", Eo = "lc-Button-module__btn__loader___c8zZz", yo = "lc-Button-module__btn__icon___GVExB",
|
|
989
|
+
}, ko = "lc-Button-module__btn___aijZJ", Eo = "lc-Button-module__btn__loader___c8zZz", yo = "lc-Button-module__btn__icon___GVExB", ge = {
|
|
990
990
|
btn: ko,
|
|
991
991
|
"btn--disabled": "lc-Button-module__btn--disabled___lXBav",
|
|
992
992
|
"btn--full-width": "lc-Button-module__btn--full-width___kdbAr",
|
|
@@ -1019,9 +1019,9 @@ const Mc = {
|
|
|
1019
1019
|
"btn--icon-only--bg": "lc-Button-module__btn--icon-only--bg___X-4V2",
|
|
1020
1020
|
"btn--plain-lock-black": "lc-Button-module__btn--plain-lock-black___aL-wC",
|
|
1021
1021
|
"btn--text-lock-black": "lc-Button-module__btn--text-lock-black___fy3zb"
|
|
1022
|
-
},
|
|
1023
|
-
(
|
|
1024
|
-
var
|
|
1022
|
+
}, fe = "btn", W = e.forwardRef(
|
|
1023
|
+
(h, b) => {
|
|
1024
|
+
var v = h, {
|
|
1025
1025
|
loading: t = !1,
|
|
1026
1026
|
disabled: a = !1,
|
|
1027
1027
|
type: r = "button",
|
|
@@ -1035,7 +1035,7 @@ const Mc = {
|
|
|
1035
1035
|
children: s,
|
|
1036
1036
|
href: p,
|
|
1037
1037
|
onClick: m
|
|
1038
|
-
} =
|
|
1038
|
+
} = v, f = D(v, [
|
|
1039
1039
|
"loading",
|
|
1040
1040
|
"disabled",
|
|
1041
1041
|
"type",
|
|
@@ -1052,16 +1052,16 @@ const Mc = {
|
|
|
1052
1052
|
]);
|
|
1053
1053
|
const y = t || a, E = !s && n, $ = ["text", "link", "link-light"].includes(o), w = p ? "a" : "button", C = u(
|
|
1054
1054
|
i,
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1055
|
+
ge[fe],
|
|
1056
|
+
ge[`${fe}--${o}`],
|
|
1057
|
+
ge[`${fe}--${l}`],
|
|
1058
1058
|
{
|
|
1059
|
-
[
|
|
1060
|
-
[
|
|
1061
|
-
[
|
|
1062
|
-
[
|
|
1063
|
-
[
|
|
1064
|
-
[
|
|
1059
|
+
[ge[`${fe}--loading`]]: t,
|
|
1060
|
+
[ge[`${fe}--full-width`]]: _,
|
|
1061
|
+
[ge[`${fe}--with-${c}-icon`]]: n && !E && !$,
|
|
1062
|
+
[ge[`${fe}--icon-only`]]: E,
|
|
1063
|
+
[ge[`${fe}--icon-only--bg`]]: E && $,
|
|
1064
|
+
[ge[`${fe}--disabled`]]: y
|
|
1065
1065
|
}
|
|
1066
1066
|
);
|
|
1067
1067
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -1079,22 +1079,22 @@ const Mc = {
|
|
|
1079
1079
|
"data-testid": "button-loader",
|
|
1080
1080
|
size: "small",
|
|
1081
1081
|
label: d,
|
|
1082
|
-
className:
|
|
1082
|
+
className: ge[`${fe}__loader`]
|
|
1083
1083
|
}, vo(o))
|
|
1084
1084
|
),
|
|
1085
1085
|
n && e.cloneElement(n, {
|
|
1086
1086
|
className: u(
|
|
1087
1087
|
n.props.className,
|
|
1088
|
-
|
|
1089
|
-
|
|
1088
|
+
ge[`${fe}__icon`],
|
|
1089
|
+
ge[`${fe}__icon--${c}`],
|
|
1090
1090
|
{
|
|
1091
|
-
[
|
|
1091
|
+
[ge[`${fe}__icon--small`]]: l === "xcompact"
|
|
1092
1092
|
}
|
|
1093
1093
|
),
|
|
1094
1094
|
disabled: a,
|
|
1095
1095
|
size: l === "xcompact" ? "small" : "medium"
|
|
1096
1096
|
}),
|
|
1097
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
1097
|
+
/* @__PURE__ */ e.createElement("div", { className: ge[`${fe}__content`] }, s)
|
|
1098
1098
|
);
|
|
1099
1099
|
}
|
|
1100
1100
|
);
|
|
@@ -1182,8 +1182,8 @@ const Co = (t) => {
|
|
|
1182
1182
|
transitionDuration: m = 200,
|
|
1183
1183
|
hoverOnDuration: f,
|
|
1184
1184
|
hoverOffDuration: b,
|
|
1185
|
-
transitionDelay:
|
|
1186
|
-
hoverOnDelay:
|
|
1185
|
+
transitionDelay: h = 0,
|
|
1186
|
+
hoverOnDelay: v,
|
|
1187
1187
|
hoverOffDelay: y,
|
|
1188
1188
|
triggerOnClick: E = !1,
|
|
1189
1189
|
triggerOnHover: $ = !0,
|
|
@@ -1199,28 +1199,28 @@ const Co = (t) => {
|
|
|
1199
1199
|
closeOnTriggerBlur: Y = !1,
|
|
1200
1200
|
floatingStrategy: j
|
|
1201
1201
|
}) => {
|
|
1202
|
-
const L = c !== void 0, [U,
|
|
1202
|
+
const L = c !== void 0, [U, ue] = e.useState(!1), Te = e.useRef(null), He = L ? c : U, Ne = l || o, $t = Ga(), ft = sa(), Nt = u(
|
|
1203
1203
|
A[ya],
|
|
1204
1204
|
a,
|
|
1205
1205
|
Ne && A[`${ya}--${Ne}`],
|
|
1206
1206
|
d && A[`${ya}--full-space`]
|
|
1207
|
-
), bt = typeof _ == "function", lt = (
|
|
1208
|
-
|
|
1209
|
-
}, ht = (
|
|
1207
|
+
), bt = typeof _ == "function", lt = (pe) => {
|
|
1208
|
+
pe !== He && (pe ? s == null || s() : i == null || i(), !L && ue(pe));
|
|
1209
|
+
}, ht = (pe) => p ? pe != null ? pe : m : 0, St = (pe) => pe != null ? pe : h, {
|
|
1210
1210
|
floatingStyles: xt,
|
|
1211
1211
|
refs: P,
|
|
1212
1212
|
context: V,
|
|
1213
|
-
middlewareData: { arrow: { x:
|
|
1213
|
+
middlewareData: { arrow: { x: me, y: Ye } = {} }
|
|
1214
1214
|
} = da({
|
|
1215
1215
|
nodeId: ft,
|
|
1216
1216
|
middleware: [
|
|
1217
1217
|
ua({ mainAxis: w, crossAxis: C }),
|
|
1218
1218
|
Er(),
|
|
1219
1219
|
Ua(),
|
|
1220
|
-
Z_({ element:
|
|
1220
|
+
Z_({ element: Te })
|
|
1221
1221
|
],
|
|
1222
1222
|
placement: n,
|
|
1223
|
-
open:
|
|
1223
|
+
open: He,
|
|
1224
1224
|
strategy: j,
|
|
1225
1225
|
onOpenChange: lt,
|
|
1226
1226
|
whileElementsMounted: ma
|
|
@@ -1228,7 +1228,7 @@ const Co = (t) => {
|
|
|
1228
1228
|
move: !1,
|
|
1229
1229
|
restMs: N,
|
|
1230
1230
|
delay: {
|
|
1231
|
-
open: St(
|
|
1231
|
+
open: St(v),
|
|
1232
1232
|
close: St(y || G)
|
|
1233
1233
|
},
|
|
1234
1234
|
enabled: $,
|
|
@@ -1272,7 +1272,7 @@ const Co = (t) => {
|
|
|
1272
1272
|
/* @__PURE__ */ e.createElement(
|
|
1273
1273
|
eo,
|
|
1274
1274
|
k({
|
|
1275
|
-
ref:
|
|
1275
|
+
ref: Te,
|
|
1276
1276
|
context: V,
|
|
1277
1277
|
strokeWidth: 1,
|
|
1278
1278
|
width: 10,
|
|
@@ -1281,13 +1281,13 @@ const Co = (t) => {
|
|
|
1281
1281
|
I,
|
|
1282
1282
|
O,
|
|
1283
1283
|
Ye,
|
|
1284
|
-
|
|
1284
|
+
me
|
|
1285
1285
|
))
|
|
1286
1286
|
}, Co(Ne))
|
|
1287
1287
|
)
|
|
1288
1288
|
)));
|
|
1289
1289
|
return $t === null ? /* @__PURE__ */ e.createElement(Ha, null, Gt) : Gt;
|
|
1290
|
-
},
|
|
1290
|
+
}, Yc = ({ text: t }) => /* @__PURE__ */ e.createElement("div", null, t), Wt = "tooltip", qc = ({
|
|
1291
1291
|
className: t,
|
|
1292
1292
|
header: a,
|
|
1293
1293
|
text: r,
|
|
@@ -1323,7 +1323,7 @@ const Co = (t) => {
|
|
|
1323
1323
|
})
|
|
1324
1324
|
},
|
|
1325
1325
|
r
|
|
1326
|
-
)), Ze = "tooltip",
|
|
1326
|
+
)), Ze = "tooltip", Zc = ({
|
|
1327
1327
|
header: t,
|
|
1328
1328
|
text: a,
|
|
1329
1329
|
image: r,
|
|
@@ -1495,7 +1495,7 @@ class Io {
|
|
|
1495
1495
|
return this.getBoundingClientRect().height;
|
|
1496
1496
|
}
|
|
1497
1497
|
}
|
|
1498
|
-
const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a),
|
|
1498
|
+
const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
1499
1499
|
const {
|
|
1500
1500
|
className: a,
|
|
1501
1501
|
parentElementName: r,
|
|
@@ -1552,7 +1552,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
1552
1552
|
}),
|
|
1553
1553
|
t.children
|
|
1554
1554
|
)) : null;
|
|
1555
|
-
}, Vt = "reports-tooltip",
|
|
1555
|
+
}, Vt = "reports-tooltip", Jc = ({
|
|
1556
1556
|
title: t,
|
|
1557
1557
|
description: a,
|
|
1558
1558
|
children: r
|
|
@@ -1637,7 +1637,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
1637
1637
|
/* @__PURE__ */ e.createElement("div", null, t.label)
|
|
1638
1638
|
)
|
|
1639
1639
|
) : /* @__PURE__ */ e.createElement("div", { "data-testid": t.key, className: _ }, o);
|
|
1640
|
-
}, wa = "action-bar", Xe = "action-bar__menu-wrapper", Do = 44,
|
|
1640
|
+
}, wa = "action-bar", Xe = "action-bar__menu-wrapper", Do = 44, jc = ({
|
|
1641
1641
|
className: t,
|
|
1642
1642
|
id: a = "action-bar-area",
|
|
1643
1643
|
type: r = "menu",
|
|
@@ -1652,7 +1652,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
1652
1652
|
q[wa],
|
|
1653
1653
|
t,
|
|
1654
1654
|
l && q[`${wa}--vertical`]
|
|
1655
|
-
),
|
|
1655
|
+
), h = !f && i.length !== 0;
|
|
1656
1656
|
e.useEffect(() => {
|
|
1657
1657
|
f || (_.length > c ? s(_.slice(c, _.length)) : s([]));
|
|
1658
1658
|
}, [_, c]), e.useEffect(() => {
|
|
@@ -1667,7 +1667,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
1667
1667
|
return $.observe(document.querySelector(`#${a}`)), () => $.disconnect();
|
|
1668
1668
|
}
|
|
1669
1669
|
}, [i, f, c]);
|
|
1670
|
-
const
|
|
1670
|
+
const v = e.useCallback(() => i.reduce(
|
|
1671
1671
|
(E, $) => {
|
|
1672
1672
|
if (!$.hideInMenu) {
|
|
1673
1673
|
const w = {
|
|
@@ -1697,7 +1697,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
1697
1697
|
vertical: l
|
|
1698
1698
|
}
|
|
1699
1699
|
))
|
|
1700
|
-
),
|
|
1700
|
+
), h && /* @__PURE__ */ e.createElement(
|
|
1701
1701
|
"div",
|
|
1702
1702
|
{
|
|
1703
1703
|
className: u(
|
|
@@ -1714,7 +1714,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
1714
1714
|
onClose: () => m(!1),
|
|
1715
1715
|
floatingStrategy: "fixed",
|
|
1716
1716
|
placement: l ? "left-start" : "bottom-end",
|
|
1717
|
-
options:
|
|
1717
|
+
options: v(),
|
|
1718
1718
|
triggerClassName: u(
|
|
1719
1719
|
l && q[`${Xe}__trigger-vertical`]
|
|
1720
1720
|
),
|
|
@@ -1759,7 +1759,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
1759
1759
|
"action-card__column": "lc-ActionCard-module__action-card__column___K7tyh",
|
|
1760
1760
|
"action-card__column--first": "lc-ActionCard-module__action-card__column--first___9XE58",
|
|
1761
1761
|
"action-card__column--second": "lc-ActionCard-module__action-card__column--second___X1UC-"
|
|
1762
|
-
}, vt = "action-card",
|
|
1762
|
+
}, vt = "action-card", Qc = ({
|
|
1763
1763
|
className: t,
|
|
1764
1764
|
children: a,
|
|
1765
1765
|
secondColumn: r,
|
|
@@ -1840,7 +1840,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
1840
1840
|
source: r_,
|
|
1841
1841
|
kind: "error"
|
|
1842
1842
|
}
|
|
1843
|
-
}, xe = "alert",
|
|
1843
|
+
}, xe = "alert", ei = (c) => {
|
|
1844
1844
|
var d = c, {
|
|
1845
1845
|
children: t,
|
|
1846
1846
|
className: a,
|
|
@@ -2002,14 +2002,14 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
2002
2002
|
a
|
|
2003
2003
|
)
|
|
2004
2004
|
)));
|
|
2005
|
-
},
|
|
2005
|
+
}, ti = (t) => /* @__PURE__ */ e.createElement(co, null, /* @__PURE__ */ e.createElement(Uo, k({}, t))), Tt = {
|
|
2006
2006
|
"side-navigation": "lc-SideNavigation-module__side-navigation___97Smn",
|
|
2007
2007
|
"side-navigation__header": "lc-SideNavigation-module__side-navigation__header___jKhiq",
|
|
2008
2008
|
"side-navigation__header__title": "lc-SideNavigation-module__side-navigation__header__title___ZpMAv",
|
|
2009
2009
|
"side-navigation__footer": "lc-SideNavigation-module__side-navigation__footer___-fWZ1",
|
|
2010
2010
|
"side-navigation__nav-wrapper": "lc-SideNavigation-module__side-navigation__nav-wrapper___3yenW",
|
|
2011
2011
|
"side-navigation__nav-wrapper--no-gaps": "lc-SideNavigation-module__side-navigation__nav-wrapper--no-gaps___MFRCx"
|
|
2012
|
-
}, Dt = "side-navigation",
|
|
2012
|
+
}, Dt = "side-navigation", ai = ({
|
|
2013
2013
|
children: t,
|
|
2014
2014
|
className: a,
|
|
2015
2015
|
title: r,
|
|
@@ -2040,7 +2040,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
2040
2040
|
};
|
|
2041
2041
|
function Fa() {
|
|
2042
2042
|
}
|
|
2043
|
-
const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-test-id", Wo = "side-navigation-parent-icon",
|
|
2043
|
+
const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-test-id", Wo = "side-navigation-parent-icon", De = {
|
|
2044
2044
|
"side-navigation-item": "lc-SideNavigationItem-module__side-navigation-item___MsJTw",
|
|
2045
2045
|
"side-navigation-item__anchor": "lc-SideNavigationItem-module__side-navigation-item__anchor___zeXS-",
|
|
2046
2046
|
"side-navigation-item__custom-label": "lc-SideNavigationItem-module__side-navigation-item__custom-label___vOtD-",
|
|
@@ -2052,7 +2052,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2052
2052
|
"side-navigation-item__label": "lc-SideNavigationItem-module__side-navigation-item__label___8xcMR",
|
|
2053
2053
|
"side-navigation-item__label--active": "lc-SideNavigationItem-module__side-navigation-item__label--active___lHzUo",
|
|
2054
2054
|
"side-navigation-item__custom-label--active": "lc-SideNavigationItem-module__side-navigation-item__custom-label--active___js4w6"
|
|
2055
|
-
},
|
|
2055
|
+
}, Pe = "side-navigation-item", Vo = (m) => {
|
|
2056
2056
|
var f = m, {
|
|
2057
2057
|
leftNode: t,
|
|
2058
2058
|
shouldKeepIconSpace: a = !0,
|
|
@@ -2078,15 +2078,15 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2078
2078
|
"onItemHover",
|
|
2079
2079
|
"isIconHidden"
|
|
2080
2080
|
]);
|
|
2081
|
-
const b = typeof _ == "string",
|
|
2081
|
+
const b = typeof _ == "string", h = (y) => {
|
|
2082
2082
|
y.preventDefault(), n == null || n();
|
|
2083
|
-
},
|
|
2083
|
+
}, v = (y) => {
|
|
2084
2084
|
y.key === "Enter" && (y.preventDefault(), n == null || n());
|
|
2085
2085
|
};
|
|
2086
2086
|
return /* @__PURE__ */ e.createElement(
|
|
2087
2087
|
"li",
|
|
2088
2088
|
k({
|
|
2089
|
-
className: u([
|
|
2089
|
+
className: u([De[Pe], o]),
|
|
2090
2090
|
"data-testid": c ? zo : Ho,
|
|
2091
2091
|
"data-active": c
|
|
2092
2092
|
}, p),
|
|
@@ -2094,22 +2094,22 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2094
2094
|
"a",
|
|
2095
2095
|
{
|
|
2096
2096
|
tabIndex: 0,
|
|
2097
|
-
className: u(
|
|
2098
|
-
[
|
|
2099
|
-
[
|
|
2100
|
-
[
|
|
2097
|
+
className: u(De[`${Pe}__anchor`], {
|
|
2098
|
+
[De[`${Pe}__anchor--active`]]: c,
|
|
2099
|
+
[De[`${Pe}__anchor--main-entry`]]: d,
|
|
2100
|
+
[De[`${Pe}__anchor--icon-hidden`]]: s
|
|
2101
2101
|
}),
|
|
2102
2102
|
href: r,
|
|
2103
|
-
onClick:
|
|
2104
|
-
onKeyDown:
|
|
2103
|
+
onClick: h,
|
|
2104
|
+
onKeyDown: v,
|
|
2105
2105
|
onMouseEnter: i || Fa,
|
|
2106
2106
|
onFocus: i || Fa
|
|
2107
2107
|
},
|
|
2108
2108
|
a && /* @__PURE__ */ e.createElement(
|
|
2109
2109
|
"span",
|
|
2110
2110
|
{
|
|
2111
|
-
className: u(
|
|
2112
|
-
[
|
|
2111
|
+
className: u(De[`${Pe}__left-node`], {
|
|
2112
|
+
[De[`${Pe}__left-node--active`]]: c || d
|
|
2113
2113
|
}),
|
|
2114
2114
|
"data-testid": Wo
|
|
2115
2115
|
},
|
|
@@ -2119,16 +2119,16 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2119
2119
|
B,
|
|
2120
2120
|
{
|
|
2121
2121
|
bold: c || d,
|
|
2122
|
-
className: u(
|
|
2123
|
-
[
|
|
2122
|
+
className: u(De[`${Pe}__label`], {
|
|
2123
|
+
[De[`${Pe}__label--active`]]: c || d
|
|
2124
2124
|
})
|
|
2125
2125
|
},
|
|
2126
2126
|
_
|
|
2127
2127
|
) : /* @__PURE__ */ e.createElement(
|
|
2128
2128
|
"span",
|
|
2129
2129
|
{
|
|
2130
|
-
className: u(
|
|
2131
|
-
[
|
|
2130
|
+
className: u(De[`${Pe}__custom-label`], {
|
|
2131
|
+
[De[`${Pe}__custom-label--active`]]: c || d
|
|
2132
2132
|
})
|
|
2133
2133
|
},
|
|
2134
2134
|
_
|
|
@@ -2145,7 +2145,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2145
2145
|
"side-navigation-group__list-wrapper": "lc-SideNavigationGroup-module__side-navigation-group__list-wrapper___pMP-G",
|
|
2146
2146
|
"side-navigation-group__list-wrapper--expanded": "lc-SideNavigationGroup-module__side-navigation-group__list-wrapper--expanded___jm-18",
|
|
2147
2147
|
"side-navigation-group__list": "lc-SideNavigationGroup-module__side-navigation-group__list___XlUf-"
|
|
2148
|
-
}, it = "side-navigation-group", Ko = 34,
|
|
2148
|
+
}, it = "side-navigation-group", Ko = 34, ri = ({
|
|
2149
2149
|
label: t,
|
|
2150
2150
|
rightNode: a,
|
|
2151
2151
|
className: r,
|
|
@@ -2155,11 +2155,11 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2155
2155
|
shouldOpenOnInit: n = !1,
|
|
2156
2156
|
shouldOpenOnActive: c = !1
|
|
2157
2157
|
}) => {
|
|
2158
|
-
const [d, i] = e.useState(!1), [s, p] = e.useState(0), m = e.useRef(!1), f = e.useRef(null), { isOpen: b, isMounted:
|
|
2158
|
+
const [d, i] = e.useState(!1), [s, p] = e.useState(0), m = e.useRef(!1), f = e.useRef(null), { isOpen: b, isMounted: h, setIsOpen: v } = $r({
|
|
2159
2159
|
isVisible: !o || n,
|
|
2160
2160
|
elementRef: f
|
|
2161
|
-
}), y = typeof a == "function" ? a(b) : a, E = typeof t == "function" ? t(b) : t, $ = () =>
|
|
2162
|
-
o &&
|
|
2161
|
+
}), y = typeof a == "function" ? a(b) : a, E = typeof t == "function" ? t(b) : t, $ = () => v(!0), w = () => {
|
|
2162
|
+
o && v((g) => !g);
|
|
2163
2163
|
}, C = (g) => {
|
|
2164
2164
|
const N = g == null ? void 0 : g.getElementsByTagName("li"), S = N != null && N.length ? [...N].some(
|
|
2165
2165
|
(G) => G.getAttribute("data-active") === "true"
|
|
@@ -2208,7 +2208,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2208
2208
|
]),
|
|
2209
2209
|
style: { maxHeight: b ? s : 0 }
|
|
2210
2210
|
},
|
|
2211
|
-
|
|
2211
|
+
h && /* @__PURE__ */ e.createElement(
|
|
2212
2212
|
"ul",
|
|
2213
2213
|
{
|
|
2214
2214
|
className: u(ct[`${it}__list`], r),
|
|
@@ -2220,7 +2220,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2220
2220
|
}, Or = {
|
|
2221
2221
|
"navigation-group": "lc-NavigationGroup-module__navigation-group___CxK9Y",
|
|
2222
2222
|
"navigation-group--scrollable": "lc-NavigationGroup-module__navigation-group--scrollable___lVA6K"
|
|
2223
|
-
}, Gr = "navigation-group",
|
|
2223
|
+
}, Gr = "navigation-group", _i = (o) => {
|
|
2224
2224
|
var l = o, {
|
|
2225
2225
|
children: t,
|
|
2226
2226
|
className: a,
|
|
@@ -2307,7 +2307,7 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2307
2307
|
size: "compact",
|
|
2308
2308
|
type: t
|
|
2309
2309
|
}
|
|
2310
|
-
),
|
|
2310
|
+
), oi = (p) => {
|
|
2311
2311
|
var m = p, {
|
|
2312
2312
|
id: t,
|
|
2313
2313
|
label: a,
|
|
@@ -2382,7 +2382,7 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2382
2382
|
);
|
|
2383
2383
|
}, Jo = "lc-Navigation-module__navigation___x9vC9", jo = {
|
|
2384
2384
|
navigation: Jo
|
|
2385
|
-
}, Qo = "navigation",
|
|
2385
|
+
}, Qo = "navigation", li = (_) => {
|
|
2386
2386
|
var o = _, {
|
|
2387
2387
|
children: t,
|
|
2388
2388
|
className: a
|
|
@@ -2391,7 +2391,7 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2391
2391
|
"className"
|
|
2392
2392
|
]);
|
|
2393
2393
|
return /* @__PURE__ */ e.createElement("nav", k({ className: u(jo[Qo], a) }, r), t);
|
|
2394
|
-
},
|
|
2394
|
+
}, Ke = {
|
|
2395
2395
|
"navigation-top-bar": "lc-NavigationTopBar-module__navigation-top-bar___y5sPE",
|
|
2396
2396
|
"navigation-top-bar__title": "lc-NavigationTopBar-module__navigation-top-bar__title___GQaye",
|
|
2397
2397
|
"navigation-top-bar__alert": "lc-NavigationTopBar-module__navigation-top-bar__alert___m45Ys",
|
|
@@ -2409,14 +2409,14 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2409
2409
|
children: t,
|
|
2410
2410
|
className: a,
|
|
2411
2411
|
additionalNodes: r
|
|
2412
|
-
}) => /* @__PURE__ */ e.createElement("div", { className: u(
|
|
2412
|
+
}) => /* @__PURE__ */ e.createElement("div", { className: u(Ke[Nr], a) }, t, r), el = ({
|
|
2413
2413
|
children: t,
|
|
2414
2414
|
className: a,
|
|
2415
2415
|
"data-testid": r
|
|
2416
2416
|
}) => /* @__PURE__ */ e.createElement(
|
|
2417
2417
|
"div",
|
|
2418
2418
|
{
|
|
2419
|
-
className: u(
|
|
2419
|
+
className: u(Ke[`${Nr}__title`], a),
|
|
2420
2420
|
"data-testid": r
|
|
2421
2421
|
},
|
|
2422
2422
|
t
|
|
@@ -2432,17 +2432,17 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2432
2432
|
const c = e.useRef(null), { isMounted: d, isOpen: i } = $r({
|
|
2433
2433
|
isVisible: n,
|
|
2434
2434
|
elementRef: c
|
|
2435
|
-
}), s = window.matchMedia("(max-width: 768px)").matches, p = a === "warning" ? "link-inverted" : "text", m = a === "warning" ? "secondary" : "high-contrast", f = o || l ? /* @__PURE__ */ e.createElement("div", { className:
|
|
2435
|
+
}), s = window.matchMedia("(max-width: 768px)").matches, p = a === "warning" ? "link-inverted" : "text", m = a === "warning" ? "secondary" : "high-contrast", f = o || l ? /* @__PURE__ */ e.createElement("div", { className: Ke[`${st}__cta-wrapper`] }, o && /* @__PURE__ */ e.createElement(
|
|
2436
2436
|
W,
|
|
2437
2437
|
k({
|
|
2438
2438
|
size: "compact",
|
|
2439
2439
|
kind: s ? p : m
|
|
2440
2440
|
}, o),
|
|
2441
2441
|
o.label
|
|
2442
|
-
), l && /* @__PURE__ */ e.createElement(W, k({ size: "compact", kind: p }, l), l.label)) : null, b = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className:
|
|
2442
|
+
), l && /* @__PURE__ */ e.createElement(W, k({ size: "compact", kind: p }, l), l.label)) : null, b = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: Ke[`${st}__children-wrapper`] }, _, f), r && /* @__PURE__ */ e.createElement(
|
|
2443
2443
|
"button",
|
|
2444
2444
|
k({
|
|
2445
|
-
className:
|
|
2445
|
+
className: Ke[`${st}__close-button`]
|
|
2446
2446
|
}, r),
|
|
2447
2447
|
/* @__PURE__ */ e.createElement(x, { source: Ie })
|
|
2448
2448
|
));
|
|
@@ -2450,9 +2450,9 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2450
2450
|
"div",
|
|
2451
2451
|
{
|
|
2452
2452
|
className: u(
|
|
2453
|
-
|
|
2453
|
+
Ke[`${st}__wrapper`],
|
|
2454
2454
|
{
|
|
2455
|
-
[
|
|
2455
|
+
[Ke[`${st}__wrapper--open`]]: i
|
|
2456
2456
|
},
|
|
2457
2457
|
"lc-dark-theme"
|
|
2458
2458
|
// Alerts are forced into dark mode to maintain consistency of the colors
|
|
@@ -2465,10 +2465,10 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2465
2465
|
{
|
|
2466
2466
|
"data-testid": "navigation-top-bar-alert",
|
|
2467
2467
|
className: u(
|
|
2468
|
-
|
|
2469
|
-
|
|
2468
|
+
Ke[st],
|
|
2469
|
+
Ke[`${st}--${a}`],
|
|
2470
2470
|
{
|
|
2471
|
-
[
|
|
2471
|
+
[Ke[`${st}--open`]]: i
|
|
2472
2472
|
},
|
|
2473
2473
|
t
|
|
2474
2474
|
)
|
|
@@ -2508,7 +2508,7 @@ function _l(t) {
|
|
|
2508
2508
|
}
|
|
2509
2509
|
return a && yr(a, "#FFFFFF") > 3 ? "var(--color-white)" : "var(--color-black)";
|
|
2510
2510
|
}
|
|
2511
|
-
const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__status___nX2Ls", nl = "lc-Avatar-module__avatar__rim___RCQ8Q", cl = "lc-Avatar-module__avatar__image___YqfqE",
|
|
2511
|
+
const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__status___nX2Ls", nl = "lc-Avatar-module__avatar__rim___RCQ8Q", cl = "lc-Avatar-module__avatar__image___YqfqE", ye = {
|
|
2512
2512
|
avatar: ol,
|
|
2513
2513
|
avatar__status: ll,
|
|
2514
2514
|
"avatar__status--available": "lc-Avatar-module__avatar__status--available___tcpFg",
|
|
@@ -2580,25 +2580,25 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2580
2580
|
"type",
|
|
2581
2581
|
"withRim"
|
|
2582
2582
|
]);
|
|
2583
|
-
const f = d === "image" && !l, [b,
|
|
2584
|
-
[
|
|
2585
|
-
[
|
|
2586
|
-
[
|
|
2587
|
-
[
|
|
2583
|
+
const f = d === "image" && !l, [b, h] = e.useState(f), v = d === "image" && !!l && !b, y = d === "text", E = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, $ = rl(c, E), w = ["xxxsmall", "xxsmall", "xsmall", "small"].includes(o), C = r || al(c), g = C ? _l(C) : void 0, N = y ? { backgroundColor: C } : {}, S = u(k({
|
|
2584
|
+
[ye[_e]]: !0,
|
|
2585
|
+
[ye[`${_e}--${_}`]]: !0,
|
|
2586
|
+
[ye[`${_e}--${o}`]]: !0,
|
|
2587
|
+
[ye[`${_e}--with-rim`]]: i
|
|
2588
2588
|
}, a ? { [`${a}`]: a } : {})), M = u(
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
...n ? [
|
|
2589
|
+
ye[`${_e}__status`],
|
|
2590
|
+
ye[`${_e}__status--${_}`],
|
|
2591
|
+
ye[`${_e}__status--${o}`],
|
|
2592
|
+
...n ? [ye[`${_e}__status--${n}`]] : []
|
|
2593
2593
|
), G = u(
|
|
2594
|
-
|
|
2595
|
-
|
|
2594
|
+
ye[`${_e}__icon`],
|
|
2595
|
+
ye[`${_e}__icon--${o}`]
|
|
2596
2596
|
), I = u(
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
), O = (j) => w ? "2xs" : ["medium"].includes(j) ? "xs" : ["large", "xlarge"].includes(j) ? "sm" : ["xxlarge"].includes(j) ? "lg" : "xl", Y = e.useCallback(() =>
|
|
2597
|
+
ye[`${_e}__rim`],
|
|
2598
|
+
ye[`${_e}__rim--${o}`]
|
|
2599
|
+
), O = (j) => w ? "2xs" : ["medium"].includes(j) ? "xs" : ["large", "xlarge"].includes(j) ? "sm" : ["xxlarge"].includes(j) ? "lg" : "xl", Y = e.useCallback(() => h(!0), []);
|
|
2600
2600
|
return e.useEffect(() => {
|
|
2601
|
-
|
|
2601
|
+
h(f);
|
|
2602
2602
|
}, [f]), /* @__PURE__ */ e.createElement("div", k({ className: S, style: N }, s), i && /* @__PURE__ */ e.createElement(
|
|
2603
2603
|
"div",
|
|
2604
2604
|
{
|
|
@@ -2611,10 +2611,10 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2611
2611
|
"data-testid": `${_e}__status`,
|
|
2612
2612
|
className: M
|
|
2613
2613
|
}
|
|
2614
|
-
),
|
|
2614
|
+
), v && /* @__PURE__ */ e.createElement(
|
|
2615
2615
|
"img",
|
|
2616
2616
|
{
|
|
2617
|
-
className:
|
|
2617
|
+
className: ye[`${_e}__image`],
|
|
2618
2618
|
src: l,
|
|
2619
2619
|
alt: t,
|
|
2620
2620
|
onError: Y
|
|
@@ -2644,7 +2644,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2644
2644
|
"btn--compact": "lc-SegmentedControl-module__btn--compact___gcSwq",
|
|
2645
2645
|
"btn--medium": "lc-SegmentedControl-module__btn--medium___w3UzC",
|
|
2646
2646
|
"btn--large": "lc-SegmentedControl-module__btn--large___yHPw4"
|
|
2647
|
-
}, dl = "segmented-control",
|
|
2647
|
+
}, dl = "segmented-control", ni = ({
|
|
2648
2648
|
size: t = "medium",
|
|
2649
2649
|
buttons: a,
|
|
2650
2650
|
className: r,
|
|
@@ -2659,15 +2659,15 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2659
2659
|
}, [o]);
|
|
2660
2660
|
const p = (f, b) => {
|
|
2661
2661
|
s || i(f), n(f, b);
|
|
2662
|
-
}, m = a.map(({ id: f, label: b, loading:
|
|
2663
|
-
const E = f === d, $ = E ? Na["btn--active"] : "", w = E ? !1 :
|
|
2662
|
+
}, m = a.map(({ id: f, label: b, loading: h, disabled: v, icon: y }) => {
|
|
2663
|
+
const E = f === d, $ = E ? Na["btn--active"] : "", w = E ? !1 : h;
|
|
2664
2664
|
return /* @__PURE__ */ e.createElement(
|
|
2665
2665
|
W,
|
|
2666
2666
|
{
|
|
2667
2667
|
key: f,
|
|
2668
2668
|
fullWidth: l,
|
|
2669
2669
|
loading: w,
|
|
2670
|
-
disabled:
|
|
2670
|
+
disabled: v,
|
|
2671
2671
|
"aria-pressed": E,
|
|
2672
2672
|
kind: "secondary",
|
|
2673
2673
|
icon: y,
|
|
@@ -2680,7 +2680,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2680
2680
|
);
|
|
2681
2681
|
});
|
|
2682
2682
|
return /* @__PURE__ */ e.createElement("div", { role: "group", className: c }, m);
|
|
2683
|
-
}, ul = "lc-Card-module__card___GqMm2", ml = "lc-Card-module__card__header___0ptfD", pl = "lc-Card-module__card__header__image___QMwSu", gl = "lc-Card-module__card__header__heading___Wkikx", fl = "lc-Card-module__card__header__heading__title___Uxi8s", bl = "lc-Card-module__card__header__heading__description___6LnOK", hl = "lc-Card-module__card__content___KuDcc", vl = "lc-Card-module__card__actions___q9sAo", kl = "lc-Card-module__card__actions__line___TF1bt", El = "lc-Card-module__card__actions__buttons___PDMMR",
|
|
2683
|
+
}, ul = "lc-Card-module__card___GqMm2", ml = "lc-Card-module__card__header___0ptfD", pl = "lc-Card-module__card__header__image___QMwSu", gl = "lc-Card-module__card__header__heading___Wkikx", fl = "lc-Card-module__card__header__heading__title___Uxi8s", bl = "lc-Card-module__card__header__heading__description___6LnOK", hl = "lc-Card-module__card__content___KuDcc", vl = "lc-Card-module__card__actions___q9sAo", kl = "lc-Card-module__card__actions__line___TF1bt", El = "lc-Card-module__card__actions__buttons___PDMMR", we = {
|
|
2684
2684
|
card: ul,
|
|
2685
2685
|
card__header: ml,
|
|
2686
2686
|
card__header__image: pl,
|
|
@@ -2694,7 +2694,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2694
2694
|
card__actions__line: kl,
|
|
2695
2695
|
card__actions__buttons: El,
|
|
2696
2696
|
"card__actions__buttons-expander": "lc-Card-module__card__actions__buttons-expander___lz4h-"
|
|
2697
|
-
}, na = "card", Ma = `${na}__header`, tr = `${Ma}__heading`, Sa = `${na}__actions`, yl = `${Ma}__no-image`,
|
|
2697
|
+
}, na = "card", Ma = `${na}__header`, tr = `${Ma}__heading`, Sa = `${na}__actions`, yl = `${Ma}__no-image`, ci = (i) => {
|
|
2698
2698
|
var s = i, {
|
|
2699
2699
|
alt: t,
|
|
2700
2700
|
buttonsOptions: a = [],
|
|
@@ -2714,30 +2714,30 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2714
2714
|
"src",
|
|
2715
2715
|
"title"
|
|
2716
2716
|
]);
|
|
2717
|
-
const [p, m] = e.useState(!1), f = p ? Oa : Ot, b = p ? "Hide" : "Show more",
|
|
2718
|
-
return /* @__PURE__ */ e.createElement("div", k({ className: u(
|
|
2717
|
+
const [p, m] = e.useState(!1), f = p ? Oa : Ot, b = p ? "Hide" : "Show more", h = (a == null ? void 0 : a.length) > 0, v = !!l, y = h || v, E = c, $ = n, w = $ ? "" : we[yl];
|
|
2718
|
+
return /* @__PURE__ */ e.createElement("div", k({ className: u(we[na], _) }, d), E && /* @__PURE__ */ e.createElement("div", { className: u(we[Ma], w) }, $ && /* @__PURE__ */ e.createElement(
|
|
2719
2719
|
"img",
|
|
2720
2720
|
{
|
|
2721
2721
|
alt: t,
|
|
2722
|
-
className:
|
|
2722
|
+
className: we[`${Ma}__image`],
|
|
2723
2723
|
src: n
|
|
2724
2724
|
}
|
|
2725
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
2725
|
+
), /* @__PURE__ */ e.createElement("div", { className: we[tr] }, /* @__PURE__ */ e.createElement(ne, { size: "xs", className: we[`${tr}__title`] }, c), o && /* @__PURE__ */ e.createElement(
|
|
2726
2726
|
B,
|
|
2727
2727
|
{
|
|
2728
2728
|
size: "sm",
|
|
2729
|
-
className:
|
|
2729
|
+
className: we[`${tr}__description`]
|
|
2730
2730
|
},
|
|
2731
2731
|
o
|
|
2732
|
-
))), /* @__PURE__ */ e.createElement(B, { as: "div", size: "md", className:
|
|
2732
|
+
))), /* @__PURE__ */ e.createElement(B, { as: "div", size: "md", className: we[`${na}__content`] }, r), p && /* @__PURE__ */ e.createElement(
|
|
2733
2733
|
B,
|
|
2734
2734
|
{
|
|
2735
2735
|
as: "div",
|
|
2736
2736
|
size: "md",
|
|
2737
|
-
className:
|
|
2737
|
+
className: we[`${na}__expanded-content`]
|
|
2738
2738
|
},
|
|
2739
2739
|
l
|
|
2740
|
-
), y && /* @__PURE__ */ e.createElement("div", { className:
|
|
2740
|
+
), y && /* @__PURE__ */ e.createElement("div", { className: we[Sa] }, /* @__PURE__ */ e.createElement("div", { className: we[`${Sa}__line`] }), /* @__PURE__ */ e.createElement("div", { className: we[`${Sa}__buttons`] }, h && a.map(
|
|
2741
2741
|
({ kind: C, onClick: g, children: N }, S) => /* @__PURE__ */ e.createElement(
|
|
2742
2742
|
W,
|
|
2743
2743
|
{
|
|
@@ -2748,10 +2748,10 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2748
2748
|
},
|
|
2749
2749
|
N
|
|
2750
2750
|
)
|
|
2751
|
-
),
|
|
2751
|
+
), v && /* @__PURE__ */ e.createElement(
|
|
2752
2752
|
W,
|
|
2753
2753
|
{
|
|
2754
|
-
className:
|
|
2754
|
+
className: we[`${Sa}__buttons-expander`],
|
|
2755
2755
|
kind: "link",
|
|
2756
2756
|
iconPosition: "right",
|
|
2757
2757
|
icon: /* @__PURE__ */ e.createElement(x, { source: f }),
|
|
@@ -2862,19 +2862,19 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2862
2862
|
const E = Rt(i, 12);
|
|
2863
2863
|
return r(E);
|
|
2864
2864
|
}
|
|
2865
|
-
const
|
|
2865
|
+
const v = Math.abs(Ir(i, s)), y = Rt(
|
|
2866
2866
|
i,
|
|
2867
|
-
!Number.isNaN(
|
|
2867
|
+
!Number.isNaN(v) && v > 12 ? 12 : v
|
|
2868
2868
|
);
|
|
2869
2869
|
return r(y);
|
|
2870
|
-
},
|
|
2870
|
+
}, h = () => {
|
|
2871
2871
|
if (!p) {
|
|
2872
2872
|
const E = Tr(i, 12);
|
|
2873
2873
|
return r(E);
|
|
2874
2874
|
}
|
|
2875
|
-
const
|
|
2875
|
+
const v = Math.abs(Ir(p, i)), y = Tr(
|
|
2876
2876
|
i,
|
|
2877
|
-
!Number.isNaN(
|
|
2877
|
+
!Number.isNaN(v) && v > 12 ? 12 : v
|
|
2878
2878
|
);
|
|
2879
2879
|
return d === 2 && pr(y, p) ? r(Rt(y, 1)) : r(y);
|
|
2880
2880
|
};
|
|
@@ -2919,7 +2919,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2919
2919
|
[c.navButtonNext]: !0,
|
|
2920
2920
|
[c.navButtonInteractionDisabled]: !o
|
|
2921
2921
|
}),
|
|
2922
|
-
onClick:
|
|
2922
|
+
onClick: h
|
|
2923
2923
|
},
|
|
2924
2924
|
/* @__PURE__ */ e.createElement(x, { source: A_, kind: "subtle" })
|
|
2925
2925
|
)));
|
|
@@ -3030,9 +3030,9 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
3030
3030
|
},
|
|
3031
3031
|
[o, t.onMonthChange]
|
|
3032
3032
|
);
|
|
3033
|
-
let
|
|
3034
|
-
(n === 0 || n && n < 7) && (
|
|
3035
|
-
const
|
|
3033
|
+
let h = 1;
|
|
3034
|
+
(n === 0 || n && n < 7) && (h = n);
|
|
3035
|
+
const v = e.useMemo(
|
|
3036
3036
|
() => Rl(r, a),
|
|
3037
3037
|
[r, a]
|
|
3038
3038
|
);
|
|
@@ -3043,7 +3043,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
3043
3043
|
Pl,
|
|
3044
3044
|
{
|
|
3045
3045
|
month: m,
|
|
3046
|
-
classNames:
|
|
3046
|
+
classNames: v,
|
|
3047
3047
|
numberOfMonths: c,
|
|
3048
3048
|
onMonthChange: b,
|
|
3049
3049
|
toMonth: _,
|
|
@@ -3051,11 +3051,11 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
3051
3051
|
}
|
|
3052
3052
|
),
|
|
3053
3053
|
ref: s,
|
|
3054
|
-
classNames:
|
|
3054
|
+
classNames: v,
|
|
3055
3055
|
numberOfMonths: c,
|
|
3056
3056
|
toMonth: _,
|
|
3057
3057
|
fromMonth: l,
|
|
3058
|
-
firstDayOfWeek:
|
|
3058
|
+
firstDayOfWeek: h,
|
|
3059
3059
|
month: m,
|
|
3060
3060
|
renderDay: i || Ml
|
|
3061
3061
|
}, p)
|
|
@@ -3156,104 +3156,104 @@ const Gl = (t) => {
|
|
|
3156
3156
|
payload: { date: _ }
|
|
3157
3157
|
});
|
|
3158
3158
|
}, [_]), Ft(() => {
|
|
3159
|
-
const
|
|
3159
|
+
const h = b_(
|
|
3160
3160
|
r,
|
|
3161
3161
|
_,
|
|
3162
3162
|
o
|
|
3163
3163
|
);
|
|
3164
3164
|
i({
|
|
3165
3165
|
type: J.CURRENT_MONTH_CHANGE,
|
|
3166
|
-
payload: { date:
|
|
3166
|
+
payload: { date: h }
|
|
3167
3167
|
});
|
|
3168
3168
|
}, [o, r, _]), Ft(() => {
|
|
3169
|
-
const { from:
|
|
3170
|
-
if (!(
|
|
3169
|
+
const { from: h, selectedItem: v, to: y } = d;
|
|
3170
|
+
if (!(h && y))
|
|
3171
3171
|
return;
|
|
3172
|
-
const E = oa(
|
|
3172
|
+
const E = oa(v, t);
|
|
3173
3173
|
E && (l == null || l(T(k({}, E), {
|
|
3174
3174
|
value: {
|
|
3175
|
-
from:
|
|
3175
|
+
from: h,
|
|
3176
3176
|
to: y
|
|
3177
3177
|
}
|
|
3178
3178
|
})));
|
|
3179
3179
|
}, [d.from, d.to, d.selectedItem, t, l]), Ft(() => {
|
|
3180
|
-
const { selectedItem:
|
|
3181
|
-
if (
|
|
3180
|
+
const { selectedItem: h } = d;
|
|
3181
|
+
if (h === c.current)
|
|
3182
3182
|
return;
|
|
3183
|
-
if (!
|
|
3183
|
+
if (!h) {
|
|
3184
3184
|
l(null);
|
|
3185
3185
|
return;
|
|
3186
3186
|
}
|
|
3187
|
-
if (!oa(
|
|
3187
|
+
if (!oa(h, t))
|
|
3188
3188
|
return;
|
|
3189
3189
|
const y = t.reduce(
|
|
3190
3190
|
(E, $) => T(k({}, E), { [$.id]: $ }),
|
|
3191
3191
|
{}
|
|
3192
3192
|
);
|
|
3193
|
-
l(y[
|
|
3193
|
+
l(y[h]);
|
|
3194
3194
|
}, [l, d.selectedItem, t]);
|
|
3195
3195
|
const s = ka(
|
|
3196
|
-
(
|
|
3197
|
-
const
|
|
3198
|
-
!zr(d.from, d.to) &&
|
|
3196
|
+
(h) => {
|
|
3197
|
+
const v = o ? wr(o, h) >= 0 : !0;
|
|
3198
|
+
!zr(d.from, d.to) && v && i({
|
|
3199
3199
|
type: J.NEW_TEMPORARY_TO_VALUE,
|
|
3200
|
-
payload: { date:
|
|
3200
|
+
payload: { date: h }
|
|
3201
3201
|
});
|
|
3202
3202
|
},
|
|
3203
3203
|
[o, d.from, d.to]
|
|
3204
3204
|
), p = ka(
|
|
3205
|
-
(
|
|
3206
|
-
const { from:
|
|
3207
|
-
f_(
|
|
3205
|
+
(h) => {
|
|
3206
|
+
const { from: v, to: y } = d;
|
|
3207
|
+
f_(h, { to: o }) && (zr(v, y) ? i({
|
|
3208
3208
|
type: J.SELECT_FIRST_DAY,
|
|
3209
|
-
payload: { date:
|
|
3210
|
-
}) :
|
|
3209
|
+
payload: { date: h }
|
|
3210
|
+
}) : v && gr(h, v) || v && fr(h, v) ? i({
|
|
3211
3211
|
type: J.SELECT_SECOND_DAY_AS_TO,
|
|
3212
|
-
payload: { date:
|
|
3212
|
+
payload: { date: h }
|
|
3213
3213
|
}) : i({
|
|
3214
3214
|
type: J.SELECT_SECOND_DAY_AS_FROM,
|
|
3215
|
-
payload: { date:
|
|
3215
|
+
payload: { date: h }
|
|
3216
3216
|
}));
|
|
3217
3217
|
},
|
|
3218
3218
|
[o, d.from, d.to]
|
|
3219
3219
|
), m = ka(
|
|
3220
|
-
(
|
|
3221
|
-
if (
|
|
3220
|
+
(h) => {
|
|
3221
|
+
if (h === null) {
|
|
3222
3222
|
i({
|
|
3223
3223
|
type: J.NEW_SELECTED_ITEM,
|
|
3224
3224
|
payload: { selectedItem: null }
|
|
3225
3225
|
});
|
|
3226
3226
|
return;
|
|
3227
3227
|
}
|
|
3228
|
-
oa(
|
|
3228
|
+
oa(h, t) && i({
|
|
3229
3229
|
type: J.NEW_SELECTED_ITEM,
|
|
3230
|
-
payload: { selectedItem:
|
|
3230
|
+
payload: { selectedItem: h }
|
|
3231
3231
|
});
|
|
3232
3232
|
},
|
|
3233
3233
|
[t]
|
|
3234
|
-
), f = ka((
|
|
3234
|
+
), f = ka((h) => {
|
|
3235
3235
|
i({
|
|
3236
3236
|
type: J.CURRENT_MONTH_CHANGE,
|
|
3237
|
-
payload: { date:
|
|
3237
|
+
payload: { date: h }
|
|
3238
3238
|
});
|
|
3239
3239
|
}, []);
|
|
3240
3240
|
return n((() => {
|
|
3241
|
-
const { currentMonth:
|
|
3242
|
-
() => Al(
|
|
3243
|
-
[
|
|
3244
|
-
), C = Ea(() => oa(y, t), [t, y]), g = Ea(() => [
|
|
3241
|
+
const { currentMonth: h, from: v, selectedItem: y, temporaryTo: E, to: $ } = d, w = Ea(
|
|
3242
|
+
() => Al(v, E),
|
|
3243
|
+
[v, E]
|
|
3244
|
+
), C = Ea(() => oa(y, t), [t, y]), g = Ea(() => [v, { from: v, to: E }], [v, E]), N = Ea(() => o ? { after: o } : void 0, [o]);
|
|
3245
3245
|
return {
|
|
3246
3246
|
select: {
|
|
3247
3247
|
onItemSelect: m,
|
|
3248
3248
|
selected: y || ""
|
|
3249
3249
|
},
|
|
3250
3250
|
inputs: {
|
|
3251
|
-
fromDate:
|
|
3251
|
+
fromDate: v,
|
|
3252
3252
|
toDate: $
|
|
3253
3253
|
},
|
|
3254
3254
|
datepicker: {
|
|
3255
3255
|
range: !0,
|
|
3256
|
-
month:
|
|
3256
|
+
month: h,
|
|
3257
3257
|
numberOfMonths: 2,
|
|
3258
3258
|
onDayClick: p,
|
|
3259
3259
|
selectedDays: g,
|
|
@@ -3281,7 +3281,7 @@ Ul.defaultProps = {
|
|
|
3281
3281
|
}
|
|
3282
3282
|
]
|
|
3283
3283
|
};
|
|
3284
|
-
const
|
|
3284
|
+
const ii = (t) => {
|
|
3285
3285
|
const l = t, { className: a, children: r } = l, _ = D(l, ["className", "children"]), o = u(
|
|
3286
3286
|
a,
|
|
3287
3287
|
F["date-picker--range__calendars-wrapper"]
|
|
@@ -3308,7 +3308,7 @@ const ci = (t) => {
|
|
|
3308
3308
|
"details-card__content": "lc-DetailsCard-module__details-card__content___RNVd2",
|
|
3309
3309
|
"details-card__content--spacing": "lc-DetailsCard-module__details-card__content--spacing___QecUa",
|
|
3310
3310
|
"details-card__content--full-space": "lc-DetailsCard-module__details-card__content--full-space___2ms8I"
|
|
3311
|
-
}, z = "details-card", Hl = ["input", "button", "select", "textarea", "a"],
|
|
3311
|
+
}, z = "details-card", Hl = ["input", "button", "select", "textarea", "a"], si = ({
|
|
3312
3312
|
children: t,
|
|
3313
3313
|
className: a,
|
|
3314
3314
|
leftNode: r,
|
|
@@ -3320,11 +3320,11 @@ const ci = (t) => {
|
|
|
3320
3320
|
hideLabelOnOpen: d,
|
|
3321
3321
|
onClick: i
|
|
3322
3322
|
}) => {
|
|
3323
|
-
const [s, p] = e.useState(c), [m, f] = e.useState(0), b = e.useRef(null),
|
|
3323
|
+
const [s, p] = e.useState(c), [m, f] = e.useState(0), b = e.useRef(null), h = u(
|
|
3324
3324
|
H[z],
|
|
3325
3325
|
l && H[`${z}--with-divider`],
|
|
3326
3326
|
a
|
|
3327
|
-
),
|
|
3327
|
+
), v = d && s, y = typeof o == "string", E = (w) => {
|
|
3328
3328
|
p((C) => !C), w.currentTarget.blur(), i == null || i(w);
|
|
3329
3329
|
}, $ = (w) => {
|
|
3330
3330
|
const g = w.target.tagName.toLowerCase();
|
|
@@ -3338,17 +3338,17 @@ const ci = (t) => {
|
|
|
3338
3338
|
});
|
|
3339
3339
|
return C.observe(b.current), () => C.disconnect();
|
|
3340
3340
|
}
|
|
3341
|
-
}, [b]), /* @__PURE__ */ e.createElement("div", { className:
|
|
3341
|
+
}, [b]), /* @__PURE__ */ e.createElement("div", { className: h }, /* @__PURE__ */ e.createElement(
|
|
3342
3342
|
"div",
|
|
3343
3343
|
{
|
|
3344
3344
|
className: u(
|
|
3345
3345
|
H[`${z}__label-wrapper`],
|
|
3346
3346
|
d && H[`${z}__label-wrapper--fading`],
|
|
3347
|
-
|
|
3347
|
+
v && H[`${z}__label-wrapper--hide`],
|
|
3348
3348
|
s && H[`${z}__label-wrapper--open`]
|
|
3349
3349
|
),
|
|
3350
3350
|
"aria-expanded": s,
|
|
3351
|
-
"aria-hidden":
|
|
3351
|
+
"aria-hidden": v,
|
|
3352
3352
|
"data-testid": "details-card-label",
|
|
3353
3353
|
onClick: $
|
|
3354
3354
|
},
|
|
@@ -3422,7 +3422,7 @@ const ci = (t) => {
|
|
|
3422
3422
|
"details-card-info": "lc-DetailsCardInfo-module__details-card-info___D4VRk",
|
|
3423
3423
|
"details-card-info__label": "lc-DetailsCardInfo-module__details-card-info__label___U-KsO",
|
|
3424
3424
|
"details-card-info__content": "lc-DetailsCardInfo-module__details-card-info__content___TFEXS"
|
|
3425
|
-
}, rr = "details-card-info",
|
|
3425
|
+
}, rr = "details-card-info", di = ({
|
|
3426
3426
|
children: t,
|
|
3427
3427
|
label: a
|
|
3428
3428
|
}) => /* @__PURE__ */ e.createElement("div", { className: ar[rr] }, /* @__PURE__ */ e.createElement("div", { className: ar[`${rr}__label`] }, a), /* @__PURE__ */ e.createElement("div", { className: ar[`${rr}__content`] }, t)), Vr = {
|
|
@@ -3449,7 +3449,7 @@ const ci = (t) => {
|
|
|
3449
3449
|
"field-group": "lc-FieldGroup-module__field-group___gy8lp",
|
|
3450
3450
|
"field-group--inline": "lc-FieldGroup-module__field-group--inline___or4qf",
|
|
3451
3451
|
"field-group--stretched": "lc-FieldGroup-module__field-group--stretched___6rkuO"
|
|
3452
|
-
}, or = "field-group",
|
|
3452
|
+
}, or = "field-group", ui = (c) => {
|
|
3453
3453
|
var d = c, {
|
|
3454
3454
|
className: t = "",
|
|
3455
3455
|
children: a,
|
|
@@ -3476,7 +3476,7 @@ const ci = (t) => {
|
|
|
3476
3476
|
form__footer: Vl,
|
|
3477
3477
|
form__label: Kl,
|
|
3478
3478
|
form__helper: Yl
|
|
3479
|
-
}, Yt = "form",
|
|
3479
|
+
}, Yt = "form", mi = (n) => {
|
|
3480
3480
|
var c = n, {
|
|
3481
3481
|
className: t,
|
|
3482
3482
|
children: a,
|
|
@@ -3508,7 +3508,7 @@ const ci = (t) => {
|
|
|
3508
3508
|
"form-field__row-break": "lc-FormField-module__form-field__row-break___DCBjC",
|
|
3509
3509
|
"form-field__content": "lc-FormField-module__form-field__content___XaOx3",
|
|
3510
3510
|
"form-field__content__description": "lc-FormField-module__form-field__content__description___NpVw4"
|
|
3511
|
-
}, ee = "form-field",
|
|
3511
|
+
}, ee = "form-field", pi = ({
|
|
3512
3512
|
inline: t,
|
|
3513
3513
|
error: a,
|
|
3514
3514
|
description: r,
|
|
@@ -3612,7 +3612,7 @@ const ci = (t) => {
|
|
|
3612
3612
|
"form-group__header": "lc-FormGroup-module__form-group__header___DgGmR",
|
|
3613
3613
|
"form-group__label": "lc-FormGroup-module__form-group__label___NC-JW",
|
|
3614
3614
|
"form-group__helper": "lc-FormGroup-module__form-group__helper___SRuxe"
|
|
3615
|
-
}, Ba = "form-group",
|
|
3615
|
+
}, Ba = "form-group", gi = (l) => {
|
|
3616
3616
|
var n = l, {
|
|
3617
3617
|
className: t = "",
|
|
3618
3618
|
children: a,
|
|
@@ -3643,7 +3643,7 @@ const ci = (t) => {
|
|
|
3643
3643
|
), _ && /* @__PURE__ */ e.createElement(B, { as: "div", size: "sm", className: xa[`${Ba}__helper`] }, _)),
|
|
3644
3644
|
a
|
|
3645
3645
|
);
|
|
3646
|
-
}, ql = "lc-Input-module__input___qeMAQ",
|
|
3646
|
+
}, ql = "lc-Input-module__input___qeMAQ", Oe = {
|
|
3647
3647
|
input: ql,
|
|
3648
3648
|
"input--focused": "lc-Input-module__input--focused___wQH5-",
|
|
3649
3649
|
"input--disabled": "lc-Input-module__input--disabled___HidXX",
|
|
@@ -3658,16 +3658,16 @@ const ci = (t) => {
|
|
|
3658
3658
|
"input__icon--left": "lc-Input-module__input__icon--left___BcySs",
|
|
3659
3659
|
"input__icon--right": "lc-Input-module__input__icon--right___VefSK",
|
|
3660
3660
|
"input__visibility-button": "lc-Input-module__input__visibility-button___eWrVe"
|
|
3661
|
-
},
|
|
3661
|
+
}, Ge = "input", Yr = (t, a) => e.cloneElement(t.source, {
|
|
3662
3662
|
"data-testid": `input-icon-${t.place}`,
|
|
3663
3663
|
className: u(
|
|
3664
|
-
|
|
3665
|
-
|
|
3664
|
+
Oe[`${Ge}__icon`],
|
|
3665
|
+
Oe[`${Ge}__icon--${t.place}`],
|
|
3666
3666
|
{
|
|
3667
|
-
[
|
|
3667
|
+
[Oe[`${Ge}__icon--disabled`]]: a
|
|
3668
3668
|
}
|
|
3669
3669
|
)
|
|
3670
|
-
}),
|
|
3670
|
+
}), fi = e.forwardRef(
|
|
3671
3671
|
(d, c) => {
|
|
3672
3672
|
var i = d, {
|
|
3673
3673
|
inputSize: t = "medium",
|
|
@@ -3686,18 +3686,18 @@ const ci = (t) => {
|
|
|
3686
3686
|
]);
|
|
3687
3687
|
const s = e.useRef(null);
|
|
3688
3688
|
e.useImperativeHandle(c, () => s.current, []);
|
|
3689
|
-
const [p, m] = e.useState(!1), [f, b] = e.useState(!1), { type:
|
|
3689
|
+
const [p, m] = e.useState(!1), [f, b] = e.useState(!1), { type: h, onFocus: v, onBlur: y } = n, E = u(
|
|
3690
3690
|
o,
|
|
3691
|
-
|
|
3692
|
-
|
|
3691
|
+
Oe[Ge],
|
|
3692
|
+
Oe[`${Ge}--${t}`],
|
|
3693
3693
|
{
|
|
3694
|
-
[
|
|
3695
|
-
[
|
|
3696
|
-
[
|
|
3697
|
-
[
|
|
3698
|
-
[
|
|
3694
|
+
[Oe[`${Ge}--disabled`]]: r,
|
|
3695
|
+
[Oe[`${Ge}--focused`]]: p,
|
|
3696
|
+
[Oe[`${Ge}--error`]]: a,
|
|
3697
|
+
[Oe[`${Ge}--crop`]]: l,
|
|
3698
|
+
[Oe[`${Ge}--read-only`]]: n.readOnly
|
|
3699
3699
|
}
|
|
3700
|
-
), $ = r ? "var(--content-disabled)" : "var(--content-default)", w = f ? F_ : R_, C = _ && _.place === "left", g = _ &&
|
|
3700
|
+
), $ = r ? "var(--content-disabled)" : "var(--content-default)", w = f ? F_ : R_, C = _ && _.place === "left", g = _ && h !== "password" && _.place === "right", N = () => {
|
|
3701
3701
|
var S;
|
|
3702
3702
|
(S = s.current) == null || S.focus();
|
|
3703
3703
|
};
|
|
@@ -3716,17 +3716,17 @@ const ci = (t) => {
|
|
|
3716
3716
|
T(k({}, n), {
|
|
3717
3717
|
ref: s,
|
|
3718
3718
|
onFocus: (S) => {
|
|
3719
|
-
m(!0),
|
|
3719
|
+
m(!0), v == null || v(S);
|
|
3720
3720
|
},
|
|
3721
3721
|
onBlur: (S) => {
|
|
3722
3722
|
m(!1), y == null || y(S);
|
|
3723
3723
|
},
|
|
3724
3724
|
disabled: r,
|
|
3725
|
-
type:
|
|
3725
|
+
type: h && !f ? h : "text"
|
|
3726
3726
|
})
|
|
3727
3727
|
),
|
|
3728
3728
|
g && Yr(_, r),
|
|
3729
|
-
|
|
3729
|
+
h === "password" && /* @__PURE__ */ e.createElement(
|
|
3730
3730
|
W,
|
|
3731
3731
|
{
|
|
3732
3732
|
disabled: r,
|
|
@@ -3734,7 +3734,7 @@ const ci = (t) => {
|
|
|
3734
3734
|
size: "compact",
|
|
3735
3735
|
icon: /* @__PURE__ */ e.createElement(x, { customColor: $, source: w }),
|
|
3736
3736
|
onClick: () => b((S) => !S),
|
|
3737
|
-
className:
|
|
3737
|
+
className: Oe[`${Ge}__visibility-button`]
|
|
3738
3738
|
}
|
|
3739
3739
|
)
|
|
3740
3740
|
);
|
|
@@ -3742,7 +3742,7 @@ const ci = (t) => {
|
|
|
3742
3742
|
), Zl = "lc-Link-module__link___kqx52", qr = {
|
|
3743
3743
|
link: Zl,
|
|
3744
3744
|
"link--bold": "lc-Link-module__link--bold___1rGdO"
|
|
3745
|
-
}, Zr = "link",
|
|
3745
|
+
}, Zr = "link", bi = (_) => {
|
|
3746
3746
|
var o = _, {
|
|
3747
3747
|
bold: t = !1,
|
|
3748
3748
|
className: a = ""
|
|
@@ -3849,7 +3849,7 @@ const ci = (t) => {
|
|
|
3849
3849
|
onClick: r,
|
|
3850
3850
|
icon: /* @__PURE__ */ e.createElement(x, { source: Ie, size: "medium", customColor: a })
|
|
3851
3851
|
}
|
|
3852
|
-
), dt = "modal",
|
|
3852
|
+
), dt = "modal", hi = (i) => {
|
|
3853
3853
|
var s = i, {
|
|
3854
3854
|
children: t,
|
|
3855
3855
|
className: a = "",
|
|
@@ -3924,7 +3924,7 @@ const ci = (t) => {
|
|
|
3924
3924
|
),
|
|
3925
3925
|
l && /* @__PURE__ */ e.createElement("div", { className: se[`${dt}__footer`] }, l)
|
|
3926
3926
|
);
|
|
3927
|
-
},
|
|
3927
|
+
}, vi = ({
|
|
3928
3928
|
children: t,
|
|
3929
3929
|
className: a = "",
|
|
3930
3930
|
parentElementName: r = "body",
|
|
@@ -3943,7 +3943,7 @@ const ci = (t) => {
|
|
|
3943
3943
|
"modal-header__heading-left-node": "lc-ModalHeader-module__modal-header__heading-left-node___1--G5",
|
|
3944
3944
|
"modal-header__heading-body": "lc-ModalHeader-module__modal-header__heading-body___HHEF-",
|
|
3945
3945
|
"modal-header__heading-description": "lc-ModalHeader-module__modal-header__heading-description___54Xvf"
|
|
3946
|
-
}, Xt = "modal-header",
|
|
3946
|
+
}, Xt = "modal-header", ki = ({
|
|
3947
3947
|
title: t,
|
|
3948
3948
|
iconProps: a,
|
|
3949
3949
|
avatarProps: r,
|
|
@@ -3975,7 +3975,7 @@ const ci = (t) => {
|
|
|
3975
3975
|
"action-modal-content__heading": "lc-ActionModalContent-module__action-modal-content__heading___bwGBE",
|
|
3976
3976
|
"action-modal-content__content": "lc-ActionModalContent-module__action-modal-content__content___RpSuk",
|
|
3977
3977
|
"action-modal-content__actions": "lc-ActionModalContent-module__action-modal-content__actions___bJ6Rg"
|
|
3978
|
-
}, jt = "action-modal-content",
|
|
3978
|
+
}, jt = "action-modal-content", Ei = ({
|
|
3979
3979
|
children: t,
|
|
3980
3980
|
className: a,
|
|
3981
3981
|
icon: r,
|
|
@@ -4006,7 +4006,7 @@ const ci = (t) => {
|
|
|
4006
4006
|
"numeric-input--disabled": "lc-NumericInput-module__numeric-input--disabled___yaRvQ",
|
|
4007
4007
|
"numeric-input--no-controls": "lc-NumericInput-module__numeric-input--no-controls___D90rG",
|
|
4008
4008
|
"numeric-input--error": "lc-NumericInput-module__numeric-input--error___TMxRx"
|
|
4009
|
-
}, At = "numeric-input",
|
|
4009
|
+
}, At = "numeric-input", yi = (s) => {
|
|
4010
4010
|
var p = s, {
|
|
4011
4011
|
className: t,
|
|
4012
4012
|
error: a,
|
|
@@ -4036,11 +4036,11 @@ const ci = (t) => {
|
|
|
4036
4036
|
[Pt[`${At}--disabled`]]: l
|
|
4037
4037
|
},
|
|
4038
4038
|
t
|
|
4039
|
-
), b = (g) => d(String(g)),
|
|
4039
|
+
), b = (g) => d(String(g)), h = (g) => _ !== void 0 && g > _ ? _ : o !== void 0 && g < o ? o : g, v = (g) => {
|
|
4040
4040
|
const N = parseInt(r, 10) + g;
|
|
4041
|
-
return b(
|
|
4041
|
+
return b(h(N));
|
|
4042
4042
|
}, y = (g) => {
|
|
4043
|
-
g.key === de.arrowDown && (g.preventDefault(),
|
|
4043
|
+
g.key === de.arrowDown && (g.preventDefault(), v(-1)), g.key === de.arrowUp && (g.preventDefault(), v(1));
|
|
4044
4044
|
}, E = (g, N) => N !== void 0 && parseInt(g, 10) === N, $ = (g) => {
|
|
4045
4045
|
g.preventDefault(), g.stopPropagation();
|
|
4046
4046
|
const N = g.currentTarget.value.replace(
|
|
@@ -4050,13 +4050,13 @@ const ci = (t) => {
|
|
|
4050
4050
|
if (N === "" || N === "-")
|
|
4051
4051
|
return b(N);
|
|
4052
4052
|
const S = parseInt(N, 10);
|
|
4053
|
-
return b(
|
|
4053
|
+
return b(h(S));
|
|
4054
4054
|
}, w = () => {
|
|
4055
4055
|
var g;
|
|
4056
|
-
return (g = m.current) == null || g.focus(),
|
|
4056
|
+
return (g = m.current) == null || g.focus(), v(1);
|
|
4057
4057
|
}, C = () => {
|
|
4058
4058
|
var g;
|
|
4059
|
-
return (g = m.current) == null || g.focus(),
|
|
4059
|
+
return (g = m.current) == null || g.focus(), v(-1);
|
|
4060
4060
|
};
|
|
4061
4061
|
return /* @__PURE__ */ e.createElement("div", { className: f, style: c }, /* @__PURE__ */ e.createElement(
|
|
4062
4062
|
"input",
|
|
@@ -4142,14 +4142,14 @@ const ci = (t) => {
|
|
|
4142
4142
|
}, [a]), e.useEffect(() => {
|
|
4143
4143
|
const b = !!window.ResizeObserver;
|
|
4144
4144
|
if (s.current && b) {
|
|
4145
|
-
const
|
|
4146
|
-
const y =
|
|
4145
|
+
const h = new ResizeObserver((v) => {
|
|
4146
|
+
const y = v[0];
|
|
4147
4147
|
if (!y)
|
|
4148
4148
|
return;
|
|
4149
4149
|
const E = y.contentRect.height + tn;
|
|
4150
4150
|
f.current !== E && (m(E), f.current = E);
|
|
4151
4151
|
});
|
|
4152
|
-
return
|
|
4152
|
+
return h.observe(s.current), () => h.disconnect();
|
|
4153
4153
|
}
|
|
4154
4154
|
}, [s]), /* @__PURE__ */ e.createElement(
|
|
4155
4155
|
"div",
|
|
@@ -4199,6 +4199,7 @@ const ci = (t) => {
|
|
|
4199
4199
|
size: "lg",
|
|
4200
4200
|
className: oe[`${le}__content__hint`]
|
|
4201
4201
|
},
|
|
4202
|
+
" ",
|
|
4202
4203
|
l
|
|
4203
4204
|
)
|
|
4204
4205
|
), /* @__PURE__ */ e.createElement(
|
|
@@ -4239,7 +4240,7 @@ const ci = (t) => {
|
|
|
4239
4240
|
"onboarding-checklist__button": "lc-OnboardingChecklist-module__onboarding-checklist__button___Gnl9l",
|
|
4240
4241
|
"onboarding-checklist__button__icon": "lc-OnboardingChecklist-module__onboarding-checklist__button__icon___oW59S",
|
|
4241
4242
|
"onboarding-checklist__button__icon--open": "lc-OnboardingChecklist-module__onboarding-checklist__button__icon--open___HrIjs"
|
|
4242
|
-
}, X = "onboarding-checklist",
|
|
4243
|
+
}, X = "onboarding-checklist", wi = ({
|
|
4243
4244
|
activeItemId: t,
|
|
4244
4245
|
completedItemsIds: a,
|
|
4245
4246
|
title: r,
|
|
@@ -4252,14 +4253,14 @@ const ci = (t) => {
|
|
|
4252
4253
|
className: i
|
|
4253
4254
|
}) => {
|
|
4254
4255
|
var $;
|
|
4255
|
-
const [s, p] = e.useState(c), [m, f] = e.useState(!c), [b,
|
|
4256
|
+
const [s, p] = e.useState(c), [m, f] = e.useState(!c), [b, h] = e.useState(void 0), v = e.useRef(null), y = d.height || 96, E = () => {
|
|
4256
4257
|
f((w) => !w);
|
|
4257
4258
|
};
|
|
4258
4259
|
return e.useEffect(() => {
|
|
4259
|
-
const w = d.delay || 1500, C =
|
|
4260
|
+
const w = d.delay || 1500, C = v.current;
|
|
4260
4261
|
if (c && C) {
|
|
4261
4262
|
const g = C.offsetHeight;
|
|
4262
|
-
|
|
4263
|
+
h(g);
|
|
4263
4264
|
const N = setTimeout(() => {
|
|
4264
4265
|
p(!0), f(!1);
|
|
4265
4266
|
}, w);
|
|
@@ -4270,7 +4271,7 @@ const ci = (t) => {
|
|
|
4270
4271
|
}, [c]), /* @__PURE__ */ e.createElement(
|
|
4271
4272
|
"div",
|
|
4272
4273
|
{
|
|
4273
|
-
ref:
|
|
4274
|
+
ref: v,
|
|
4274
4275
|
className: u(
|
|
4275
4276
|
Z[X],
|
|
4276
4277
|
{
|
|
@@ -4382,7 +4383,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4382
4383
|
}), r;
|
|
4383
4384
|
}, br = (t) => t.filter(
|
|
4384
4385
|
({ key: a, disabled: r, groupHeader: _ }) => !(a === Mt || r || _)
|
|
4385
|
-
), lr = ({ key: t }) => t, Jr = (t, a) => t.includes(a) ? t.filter((r) => r !== a) : [...t, a],
|
|
4386
|
+
), lr = ({ key: t }) => t, Jr = (t, a) => t.includes(a) ? t.filter((r) => r !== a) : [...t, a], be = {
|
|
4386
4387
|
"item-wrapper": "lc-PickerListItem-module__item-wrapper___ETYMU",
|
|
4387
4388
|
"item-wrapper__first": "lc-PickerListItem-module__item-wrapper__first___uit1z",
|
|
4388
4389
|
"item-wrapper__last": "lc-PickerListItem-module__item-wrapper__last___cWmGF",
|
|
@@ -4397,7 +4398,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4397
4398
|
"picker-list__item__label": "lc-PickerListItem-module__picker-list__item__label___e0uwB",
|
|
4398
4399
|
"picker-list__item__main-label": "lc-PickerListItem-module__picker-list__item__main-label___YfUhr",
|
|
4399
4400
|
"picker-list__item__secondary-label": "lc-PickerListItem-module__picker-list__item__secondary-label___6xcMD"
|
|
4400
|
-
},
|
|
4401
|
+
}, Ae = "picker-list__item", nn = ({
|
|
4401
4402
|
index: t,
|
|
4402
4403
|
isActive: a,
|
|
4403
4404
|
isSelected: r,
|
|
@@ -4407,37 +4408,37 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4407
4408
|
item: n,
|
|
4408
4409
|
numberOfItems: c
|
|
4409
4410
|
}) => {
|
|
4410
|
-
const d = (s) => s != null && s.customElement ? /* @__PURE__ */ e.createElement("div", { className:
|
|
4411
|
+
const d = (s) => s != null && s.customElement ? /* @__PURE__ */ e.createElement("div", { className: be[`${Ae}__custom`] }, s.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, s.showCheckbox && /* @__PURE__ */ e.createElement(
|
|
4411
4412
|
Dl,
|
|
4412
4413
|
{
|
|
4413
|
-
className:
|
|
4414
|
+
className: be[`${Ae}__checkbox`],
|
|
4414
4415
|
checked: r
|
|
4415
4416
|
}
|
|
4416
4417
|
), s.icon && /* @__PURE__ */ e.createElement(
|
|
4417
4418
|
x,
|
|
4418
4419
|
{
|
|
4419
|
-
className:
|
|
4420
|
+
className: be[`${Ae}__icon`],
|
|
4420
4421
|
kind: "link",
|
|
4421
4422
|
source: s.icon
|
|
4422
4423
|
}
|
|
4423
4424
|
), s.avatarSrc && /* @__PURE__ */ e.createElement(
|
|
4424
4425
|
"img",
|
|
4425
4426
|
{
|
|
4426
|
-
className: u(
|
|
4427
|
+
className: u(be[`${Ae}__avatar`]),
|
|
4427
4428
|
src: s.avatarSrc,
|
|
4428
4429
|
alt: s.name
|
|
4429
4430
|
}
|
|
4430
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
4431
|
+
), /* @__PURE__ */ e.createElement("div", { className: be[`${Ae}__label-container`] }, /* @__PURE__ */ e.createElement(
|
|
4431
4432
|
B,
|
|
4432
4433
|
{
|
|
4433
4434
|
as: "span",
|
|
4434
|
-
className: u([
|
|
4435
|
-
[
|
|
4435
|
+
className: u([be[`${Ae}__label`]], {
|
|
4436
|
+
[be[`${Ae}__main-label`]]: s.secondaryText
|
|
4436
4437
|
}),
|
|
4437
4438
|
"aria-disabled": s.disabled
|
|
4438
4439
|
},
|
|
4439
4440
|
s.name
|
|
4440
|
-
), s.secondaryText && /* @__PURE__ */ e.createElement("span", { className:
|
|
4441
|
+
), s.secondaryText && /* @__PURE__ */ e.createElement("span", { className: be[`${Ae}__secondary-label`] }, s.secondaryText)));
|
|
4441
4442
|
if (n.groupHeader)
|
|
4442
4443
|
return /* @__PURE__ */ e.createElement(
|
|
4443
4444
|
"div",
|
|
@@ -4445,7 +4446,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4445
4446
|
id: `item-${t}`,
|
|
4446
4447
|
key: n.key,
|
|
4447
4448
|
role: "group",
|
|
4448
|
-
className:
|
|
4449
|
+
className: be[`${Ae}__header`]
|
|
4449
4450
|
}, l()),
|
|
4450
4451
|
/* @__PURE__ */ e.createElement(ne, { size: "2xs", uppercase: !0, bold: !0, as: "div" }, n.name)
|
|
4451
4452
|
);
|
|
@@ -4467,9 +4468,9 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4467
4468
|
}, l({
|
|
4468
4469
|
onClick: () => i(n.key)
|
|
4469
4470
|
})), {
|
|
4470
|
-
className: u(
|
|
4471
|
-
[
|
|
4472
|
-
[
|
|
4471
|
+
className: u(be["item-wrapper"], {
|
|
4472
|
+
[be["item-wrapper__first"]]: t === 0 && !n.groupHeader,
|
|
4473
|
+
[be["item-wrapper__last"]]: t === c - 1 && !n.groupHeader
|
|
4473
4474
|
})
|
|
4474
4475
|
}),
|
|
4475
4476
|
/* @__PURE__ */ e.createElement(
|
|
@@ -4478,8 +4479,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4478
4479
|
"aria-selected": r,
|
|
4479
4480
|
"aria-disabled": n.disabled,
|
|
4480
4481
|
"aria-current": a && !n.disabled,
|
|
4481
|
-
className: u(
|
|
4482
|
-
[
|
|
4482
|
+
className: u(be[Ae], {
|
|
4483
|
+
[be[`${Ae}--select-all`]]: n.key === Mt
|
|
4483
4484
|
})
|
|
4484
4485
|
},
|
|
4485
4486
|
d(n),
|
|
@@ -4514,11 +4515,11 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4514
4515
|
emptyStateText: m = "No results found",
|
|
4515
4516
|
pickerType: f = "single",
|
|
4516
4517
|
listClassName: b,
|
|
4517
|
-
virtuosoProps:
|
|
4518
|
+
virtuosoProps: h
|
|
4518
4519
|
}) => {
|
|
4519
|
-
const [
|
|
4520
|
+
const [v, y] = e.useState(0), E = o.length, $ = e.useCallback(
|
|
4520
4521
|
(C) => {
|
|
4521
|
-
C !==
|
|
4522
|
+
C !== v && (C < _ ? y(C + (E - 1) * rn) : y(_));
|
|
4522
4523
|
},
|
|
4523
4524
|
[E]
|
|
4524
4525
|
);
|
|
@@ -4568,11 +4569,11 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4568
4569
|
lo,
|
|
4569
4570
|
T(k({
|
|
4570
4571
|
totalListHeightChanged: $,
|
|
4571
|
-
style: { height: `${
|
|
4572
|
+
style: { height: `${v}px`, maxHeight: _ },
|
|
4572
4573
|
totalCount: o.length,
|
|
4573
4574
|
data: o,
|
|
4574
4575
|
increaseViewportBy: 200
|
|
4575
|
-
},
|
|
4576
|
+
}, h), {
|
|
4576
4577
|
itemContent: (C, g) => /* @__PURE__ */ e.createElement(
|
|
4577
4578
|
nn,
|
|
4578
4579
|
{
|
|
@@ -4590,7 +4591,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4590
4591
|
)
|
|
4591
4592
|
)
|
|
4592
4593
|
));
|
|
4593
|
-
},
|
|
4594
|
+
}, he = {
|
|
4594
4595
|
"picker-trigger": "lc-PickerTrigger-module__picker-trigger___-tjS0",
|
|
4595
4596
|
"picker-trigger--multi-select": "lc-PickerTrigger-module__picker-trigger--multi-select___av4Ws",
|
|
4596
4597
|
"picker-trigger--multi-select--with-items": "lc-PickerTrigger-module__picker-trigger--multi-select--with-items___7uI-R",
|
|
@@ -4625,14 +4626,14 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4625
4626
|
setTriggerFocus: f
|
|
4626
4627
|
}) => {
|
|
4627
4628
|
const b = u(
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
o &&
|
|
4631
|
-
o && l &&
|
|
4632
|
-
c &&
|
|
4633
|
-
i &&
|
|
4634
|
-
s &&
|
|
4635
|
-
),
|
|
4629
|
+
he[ie],
|
|
4630
|
+
he[`${ie}--${_}`],
|
|
4631
|
+
o && he[`${ie}--multi-select`],
|
|
4632
|
+
o && l && he[`${ie}--multi-select--with-items`],
|
|
4633
|
+
c && he[`${ie}--disabled`],
|
|
4634
|
+
i && he[`${ie}--focused`],
|
|
4635
|
+
s && he[`${ie}--error`]
|
|
4636
|
+
), h = !n && l && !c && !d, v = (y) => {
|
|
4636
4637
|
y.stopPropagation(), p();
|
|
4637
4638
|
};
|
|
4638
4639
|
return e.useEffect(() => {
|
|
@@ -4656,9 +4657,9 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4656
4657
|
{
|
|
4657
4658
|
as: "div",
|
|
4658
4659
|
className: u(
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
o && l &&
|
|
4660
|
+
he[`${ie}__content`],
|
|
4661
|
+
he[`${ie}__content--${_}`],
|
|
4662
|
+
o && l && he[`${ie}__content--with-items`]
|
|
4662
4663
|
)
|
|
4663
4664
|
},
|
|
4664
4665
|
m
|
|
@@ -4667,23 +4668,23 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4667
4668
|
"div",
|
|
4668
4669
|
{
|
|
4669
4670
|
className: u(
|
|
4670
|
-
|
|
4671
|
-
|
|
4671
|
+
he[`${ie}__controls`],
|
|
4672
|
+
he[`${ie}__controls--${_}`]
|
|
4672
4673
|
)
|
|
4673
4674
|
},
|
|
4674
|
-
|
|
4675
|
+
h && /* @__PURE__ */ e.createElement(
|
|
4675
4676
|
"div",
|
|
4676
4677
|
{
|
|
4677
4678
|
"data-testid": `${ie}__clear-icon`,
|
|
4678
|
-
className:
|
|
4679
|
-
onClick:
|
|
4679
|
+
className: he[`${ie}__clear-icon`],
|
|
4680
|
+
onClick: v
|
|
4680
4681
|
},
|
|
4681
4682
|
/* @__PURE__ */ e.createElement(x, { kind: "primary", size: "small", source: Ie })
|
|
4682
4683
|
),
|
|
4683
4684
|
/* @__PURE__ */ e.createElement(
|
|
4684
4685
|
x,
|
|
4685
4686
|
{
|
|
4686
|
-
className:
|
|
4687
|
+
className: he[`${ie}__chevron-icon`],
|
|
4687
4688
|
source: i ? Oa : Ot,
|
|
4688
4689
|
size: "medium",
|
|
4689
4690
|
disabled: c
|
|
@@ -4691,7 +4692,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4691
4692
|
)
|
|
4692
4693
|
)
|
|
4693
4694
|
);
|
|
4694
|
-
}, un = "lc-Tag-module__tag___1QRVY", mn = "lc-Tag-module__tag__remove___UmtrW", pn = "lc-Tag-module__tag__node___rZTzB", gn = "lc-Tag-module__tag__content___q6vKK",
|
|
4695
|
+
}, un = "lc-Tag-module__tag___1QRVY", mn = "lc-Tag-module__tag__remove___UmtrW", pn = "lc-Tag-module__tag__node___rZTzB", gn = "lc-Tag-module__tag__content___q6vKK", Ce = {
|
|
4695
4696
|
tag: un,
|
|
4696
4697
|
"tag__content-wrapper": "lc-Tag-module__tag__content-wrapper___oyXA4",
|
|
4697
4698
|
"tag--success": "lc-Tag-module__tag--success___P2hXQ",
|
|
@@ -4725,8 +4726,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4725
4726
|
"tag__remove--hover": "lc-Tag-module__tag__remove--hover___2ROEU",
|
|
4726
4727
|
tag__node: pn,
|
|
4727
4728
|
tag__content: gn
|
|
4728
|
-
},
|
|
4729
|
-
var
|
|
4729
|
+
}, $e = "tag", fn = (t) => t ? yr(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", h_ = (h) => {
|
|
4730
|
+
var v = h, {
|
|
4730
4731
|
className: t = "",
|
|
4731
4732
|
children: a,
|
|
4732
4733
|
dismissible: r = !1,
|
|
@@ -4741,7 +4742,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4741
4742
|
customColor: p,
|
|
4742
4743
|
iconOnly: m = !1,
|
|
4743
4744
|
value: f
|
|
4744
|
-
} =
|
|
4745
|
+
} = v, b = D(v, [
|
|
4745
4746
|
"className",
|
|
4746
4747
|
"children",
|
|
4747
4748
|
"dismissible",
|
|
@@ -4758,15 +4759,15 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4758
4759
|
"value"
|
|
4759
4760
|
]);
|
|
4760
4761
|
const y = _ || c && m, E = u(
|
|
4761
|
-
|
|
4762
|
+
Ce[$e],
|
|
4762
4763
|
t,
|
|
4763
|
-
|
|
4764
|
-
|
|
4764
|
+
Ce[`${$e}--${l}`],
|
|
4765
|
+
Ce[`${$e}--${n}`],
|
|
4765
4766
|
{
|
|
4766
|
-
[
|
|
4767
|
-
[
|
|
4768
|
-
[
|
|
4769
|
-
[
|
|
4767
|
+
[Ce[`${$e}--outline`]]: d,
|
|
4768
|
+
[Ce[`${$e}--${fn(p)}`]]: !!p,
|
|
4769
|
+
[Ce[`${$e}--icon-only`]]: m,
|
|
4770
|
+
[Ce[`${$e}--dismissible-on-hover`]]: y
|
|
4770
4771
|
}
|
|
4771
4772
|
), $ = l === "small" ? "small" : "medium", w = l === "small" ? "sm" : "md", C = () => p ? d ? {
|
|
4772
4773
|
style: {
|
|
@@ -4786,19 +4787,19 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4786
4787
|
as: "div",
|
|
4787
4788
|
size: w
|
|
4788
4789
|
}),
|
|
4789
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
4790
|
+
/* @__PURE__ */ e.createElement("div", { className: Ce[`${$e}__content-wrapper`] }, i && !m && /* @__PURE__ */ e.createElement(
|
|
4790
4791
|
"div",
|
|
4791
4792
|
{
|
|
4792
4793
|
"data-testid": "lc-tag-left-node",
|
|
4793
|
-
className:
|
|
4794
|
+
className: Ce[`${$e}__node`],
|
|
4794
4795
|
style: { color: g() }
|
|
4795
4796
|
},
|
|
4796
4797
|
i
|
|
4797
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
4798
|
+
), /* @__PURE__ */ e.createElement("div", { className: Ce[`${$e}__content`] }, f || a), s && !m && /* @__PURE__ */ e.createElement(
|
|
4798
4799
|
"div",
|
|
4799
4800
|
{
|
|
4800
4801
|
"data-testid": "lc-tag-right-node",
|
|
4801
|
-
className:
|
|
4802
|
+
className: Ce[`${$e}__node`],
|
|
4802
4803
|
style: { color: g() }
|
|
4803
4804
|
},
|
|
4804
4805
|
s
|
|
@@ -4811,8 +4812,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4811
4812
|
onClick: c,
|
|
4812
4813
|
role: "button",
|
|
4813
4814
|
"aria-label": "Remove tag",
|
|
4814
|
-
className: u(
|
|
4815
|
-
[
|
|
4815
|
+
className: u(Ce[`${$e}__remove`], {
|
|
4816
|
+
[Ce[`${$e}__remove--hover`]]: y
|
|
4816
4817
|
})
|
|
4817
4818
|
},
|
|
4818
4819
|
/* @__PURE__ */ e.createElement(
|
|
@@ -4826,7 +4827,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4826
4827
|
)
|
|
4827
4828
|
)
|
|
4828
4829
|
);
|
|
4829
|
-
},
|
|
4830
|
+
}, ve = {
|
|
4830
4831
|
"picker-trigger-body": "lc-PickerTriggerBody-module__picker-trigger-body___xL0Rq",
|
|
4831
4832
|
"picker-trigger-body--single": "lc-PickerTriggerBody-module__picker-trigger-body--single___5LWZK",
|
|
4832
4833
|
"picker-trigger-body__item-container": "lc-PickerTriggerBody-module__picker-trigger-body__item-container___5Qs5E",
|
|
@@ -4844,7 +4845,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4844
4845
|
"picker-trigger-body__tag--compact": "lc-PickerTriggerBody-module__picker-trigger-body__tag--compact___vajtL",
|
|
4845
4846
|
"picker-trigger-body__tag--medium": "lc-PickerTriggerBody-module__picker-trigger-body__tag--medium___yhMyC",
|
|
4846
4847
|
"picker-trigger-body__tag--large": "lc-PickerTriggerBody-module__picker-trigger-body__tag--large___FbETT"
|
|
4847
|
-
},
|
|
4848
|
+
}, ke = "picker-trigger-body", bn = ({
|
|
4848
4849
|
isOpen: t,
|
|
4849
4850
|
isSearchDisabled: a,
|
|
4850
4851
|
isDisabled: r,
|
|
@@ -4860,39 +4861,39 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4860
4861
|
searchPhrase: m,
|
|
4861
4862
|
virtualItemRef: f,
|
|
4862
4863
|
isTriggerFocused: b,
|
|
4863
|
-
inputRef:
|
|
4864
|
+
inputRef: h
|
|
4864
4865
|
}) => {
|
|
4865
|
-
const
|
|
4866
|
+
const v = t && !a;
|
|
4866
4867
|
e.useEffect(() => {
|
|
4867
|
-
n &&
|
|
4868
|
+
n && h != null && h.current && h.current.focus();
|
|
4868
4869
|
}, [o, n]);
|
|
4869
4870
|
const y = (g) => {
|
|
4870
4871
|
g.key === "Backspace" && o && o.length > 0 && (g.preventDefault(), l === "multi" ? d(o[o.length - 1].key) : p()), g.key === "Delete" && (g.preventDefault(), p());
|
|
4871
4872
|
};
|
|
4872
4873
|
e.useEffect(() => (!t && b ? document.addEventListener("keydown", y) : document.removeEventListener("keydown", y), () => document.removeEventListener("keydown", y)), [t, o, b]);
|
|
4873
|
-
const E = (g) => l === "single" && t && !a ? null : g != null && g.customElement ? /* @__PURE__ */ e.createElement("div", { className:
|
|
4874
|
+
const E = (g) => l === "single" && t && !a ? null : g != null && g.customElement ? /* @__PURE__ */ e.createElement("div", { className: ve[`${ke}__item`] }, g.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: ve[`${ke}__item`] }, g.icon && /* @__PURE__ */ e.createElement(
|
|
4874
4875
|
x,
|
|
4875
4876
|
{
|
|
4876
4877
|
source: g.icon,
|
|
4877
|
-
className:
|
|
4878
|
+
className: ve[`${ke}__item__icon`]
|
|
4878
4879
|
}
|
|
4879
4880
|
), g.avatarSrc && /* @__PURE__ */ e.createElement(
|
|
4880
4881
|
"img",
|
|
4881
4882
|
{
|
|
4882
4883
|
src: g.avatarSrc,
|
|
4883
4884
|
alt: "",
|
|
4884
|
-
className:
|
|
4885
|
+
className: ve[`${ke}__item__avatar`]
|
|
4885
4886
|
}
|
|
4886
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
4887
|
+
), /* @__PURE__ */ e.createElement("div", { className: ve[`${ke}__item__content`] }, g.name)), $ = (g) => s(g.target.value), w = (g) => {
|
|
4887
4888
|
var N, S;
|
|
4888
4889
|
(N = f.current) != null && N.id && g.key === "Enter" && i((S = f.current) == null ? void 0 : S.id), l === "multi" && (g.key === "Backspace" || g.key === "Delete") && !m && o && (o == null ? void 0 : o.length) > 0 && d(o[o.length - 1].key);
|
|
4889
4890
|
}, C = () => /* @__PURE__ */ e.createElement(
|
|
4890
4891
|
"input",
|
|
4891
4892
|
{
|
|
4892
|
-
ref:
|
|
4893
|
+
ref: h,
|
|
4893
4894
|
className: u(
|
|
4894
|
-
|
|
4895
|
-
|
|
4895
|
+
ve[`${ke}__input`],
|
|
4896
|
+
ve[`${ke}__input--${c}`]
|
|
4896
4897
|
),
|
|
4897
4898
|
placeholder: _,
|
|
4898
4899
|
onChange: $,
|
|
@@ -4901,29 +4902,29 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4901
4902
|
value: m
|
|
4902
4903
|
}
|
|
4903
4904
|
);
|
|
4904
|
-
return !o || o.length === 0 ?
|
|
4905
|
+
return !o || o.length === 0 ? v ? C() : /* @__PURE__ */ e.createElement(
|
|
4905
4906
|
"div",
|
|
4906
4907
|
{
|
|
4907
4908
|
className: u({
|
|
4908
|
-
[
|
|
4909
|
-
[
|
|
4909
|
+
[ve[`${ke}__placeholder`]]: !0,
|
|
4910
|
+
[ve[`${ke}__placeholder--disabled`]]: r
|
|
4910
4911
|
})
|
|
4911
4912
|
},
|
|
4912
4913
|
_
|
|
4913
4914
|
) : /* @__PURE__ */ e.createElement(
|
|
4914
4915
|
"div",
|
|
4915
4916
|
{
|
|
4916
|
-
className: u(
|
|
4917
|
-
[
|
|
4917
|
+
className: u(ve[ke], {
|
|
4918
|
+
[ve[`${ke}--single`]]: l === "single"
|
|
4918
4919
|
})
|
|
4919
4920
|
},
|
|
4920
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
4921
|
+
/* @__PURE__ */ e.createElement("div", { className: ve[`${ke}__item-container`] }, l === "single" ? E(o[0]) : o.map((g) => /* @__PURE__ */ e.createElement(
|
|
4921
4922
|
h_,
|
|
4922
4923
|
{
|
|
4923
4924
|
key: g.key,
|
|
4924
4925
|
className: u(
|
|
4925
|
-
|
|
4926
|
-
|
|
4926
|
+
ve[`${ke}__tag`],
|
|
4927
|
+
ve[`${ke}__tag--${c}`]
|
|
4927
4928
|
),
|
|
4928
4929
|
disabled: r,
|
|
4929
4930
|
onRemove: (N) => {
|
|
@@ -4932,7 +4933,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4932
4933
|
},
|
|
4933
4934
|
E(g)
|
|
4934
4935
|
))),
|
|
4935
|
-
|
|
4936
|
+
v && C()
|
|
4936
4937
|
);
|
|
4937
4938
|
}, hn = 10, vn = ({
|
|
4938
4939
|
disabled: t,
|
|
@@ -4947,9 +4948,9 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4947
4948
|
onVisibilityChange: i,
|
|
4948
4949
|
searchPhrase: s
|
|
4949
4950
|
}) => {
|
|
4950
|
-
const p = sa(), [m, f] = e.useState(!1), [b,
|
|
4951
|
+
const p = sa(), [m, f] = e.useState(!1), [b, h] = e.useState(null), [v, y] = e.useState(o), E = e.useRef([]), $ = e.useRef(null);
|
|
4951
4952
|
e.useEffect(() => {
|
|
4952
|
-
$.current = null,
|
|
4953
|
+
$.current = null, h(null);
|
|
4953
4954
|
}, [s]);
|
|
4954
4955
|
const { refs: w, floatingStyles: C, context: g, isPositioned: N } = da({
|
|
4955
4956
|
nodeId: p,
|
|
@@ -4963,7 +4964,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4963
4964
|
Ua({ padding: 10 }),
|
|
4964
4965
|
Er(),
|
|
4965
4966
|
__({
|
|
4966
|
-
apply({ availableHeight: L, rects: U, elements:
|
|
4967
|
+
apply({ availableHeight: L, rects: U, elements: ue }) {
|
|
4967
4968
|
l_.flushSync(() => {
|
|
4968
4969
|
y(
|
|
4969
4970
|
Math.max(
|
|
@@ -4971,7 +4972,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4971
4972
|
_
|
|
4972
4973
|
)
|
|
4973
4974
|
);
|
|
4974
|
-
}), Object.assign(
|
|
4975
|
+
}), Object.assign(ue.floating.style, {
|
|
4975
4976
|
width: `${U.reference.width}px`
|
|
4976
4977
|
});
|
|
4977
4978
|
},
|
|
@@ -4986,7 +4987,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4986
4987
|
enabled: a.length > 0 && !t,
|
|
4987
4988
|
listRef: E,
|
|
4988
4989
|
activeIndex: b,
|
|
4989
|
-
onNavigate:
|
|
4990
|
+
onNavigate: h,
|
|
4990
4991
|
virtual: !0,
|
|
4991
4992
|
virtualItemRef: $,
|
|
4992
4993
|
disabledIndices: ln(
|
|
@@ -5009,7 +5010,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5009
5010
|
activeIndex: b,
|
|
5010
5011
|
listElementsRef: E,
|
|
5011
5012
|
virtualItemRef: $,
|
|
5012
|
-
maxHeight:
|
|
5013
|
+
maxHeight: v,
|
|
5013
5014
|
pointer: m,
|
|
5014
5015
|
setPointer: f
|
|
5015
5016
|
};
|
|
@@ -5025,7 +5026,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5025
5026
|
}) => {
|
|
5026
5027
|
const [d, i] = e.useState(
|
|
5027
5028
|
() => (t == null ? void 0 : t.map(lr)) || []
|
|
5028
|
-
), s = t !== void 0, p = s ? (t == null ? void 0 : t.map(lr)) || [] : d, [m, f] = e.useState(""), b = (w) => f(w),
|
|
5029
|
+
), s = t !== void 0, p = s ? (t == null ? void 0 : t.map(lr)) || [] : d, [m, f] = e.useState(""), b = (w) => f(w), h = (w) => $(w), v = () => {
|
|
5029
5030
|
!s && i([]), o(null), f(""), l(!1);
|
|
5030
5031
|
}, y = () => {
|
|
5031
5032
|
b(""), c.current && (c.current.value = "");
|
|
@@ -5073,12 +5074,12 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5073
5074
|
searchPhrase: m,
|
|
5074
5075
|
handleSelect: $,
|
|
5075
5076
|
handleOnFilter: b,
|
|
5076
|
-
handleItemRemove:
|
|
5077
|
-
handleClear:
|
|
5077
|
+
handleItemRemove: h,
|
|
5078
|
+
handleClear: v
|
|
5078
5079
|
};
|
|
5079
5080
|
}, En = {
|
|
5080
5081
|
"picker-wrapper": "lc-Picker-module__picker-wrapper___2EDne"
|
|
5081
|
-
},
|
|
5082
|
+
}, Ci = (Y) => {
|
|
5082
5083
|
var j = Y, {
|
|
5083
5084
|
id: t,
|
|
5084
5085
|
className: a,
|
|
@@ -5095,8 +5096,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5095
5096
|
noSearchResultText: m = "No results found",
|
|
5096
5097
|
selectAllOptionText: f,
|
|
5097
5098
|
type: b = "single",
|
|
5098
|
-
searchDisabled:
|
|
5099
|
-
hideClearButton:
|
|
5099
|
+
searchDisabled: h = !1,
|
|
5100
|
+
hideClearButton: v,
|
|
5100
5101
|
isVisible: y,
|
|
5101
5102
|
onOpen: E,
|
|
5102
5103
|
onClose: $,
|
|
@@ -5138,8 +5139,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5138
5139
|
"useClickHookProps",
|
|
5139
5140
|
"virtuosoProps"
|
|
5140
5141
|
]);
|
|
5141
|
-
const [L, U] = e.useState(w), [
|
|
5142
|
-
Gt ? !Ne && (E == null || E(
|
|
5142
|
+
const [L, U] = e.useState(w), [ue, Te] = e.useState(!1), He = y !== void 0, Ne = He ? y : L, $t = e.useRef(null), ft = (Gt, pe) => {
|
|
5143
|
+
Gt ? !Ne && (E == null || E(pe)) : Ne && ($ == null || $(pe)), !He && U(Gt);
|
|
5143
5144
|
}, {
|
|
5144
5145
|
selectedKeys: Nt,
|
|
5145
5146
|
items: bt,
|
|
@@ -5159,7 +5160,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5159
5160
|
inputRef: $t
|
|
5160
5161
|
}), {
|
|
5161
5162
|
context: V,
|
|
5162
|
-
nodeId:
|
|
5163
|
+
nodeId: me,
|
|
5163
5164
|
getReferenceProps: Ye,
|
|
5164
5165
|
setReference: qe,
|
|
5165
5166
|
getFloatingProps: Wa,
|
|
@@ -5194,19 +5195,19 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5194
5195
|
isItemSelected: Nt.length > 0,
|
|
5195
5196
|
isOpen: Ne,
|
|
5196
5197
|
onClear: P,
|
|
5197
|
-
hideClearButton:
|
|
5198
|
+
hideClearButton: v,
|
|
5198
5199
|
isDisabled: l,
|
|
5199
5200
|
isError: n,
|
|
5200
5201
|
isRequired: p,
|
|
5201
5202
|
isMultiSelect: b === "multi",
|
|
5202
5203
|
size: i,
|
|
5203
|
-
setTriggerFocus:
|
|
5204
|
+
setTriggerFocus: Te
|
|
5204
5205
|
},
|
|
5205
5206
|
/* @__PURE__ */ e.createElement(
|
|
5206
5207
|
bn,
|
|
5207
5208
|
{
|
|
5208
5209
|
isOpen: Ne,
|
|
5209
|
-
isSearchDisabled:
|
|
5210
|
+
isSearchDisabled: h,
|
|
5210
5211
|
isDisabled: l,
|
|
5211
5212
|
placeholder: s,
|
|
5212
5213
|
selectedItems: d,
|
|
@@ -5220,10 +5221,10 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5220
5221
|
onClear: P,
|
|
5221
5222
|
searchPhrase: lt,
|
|
5222
5223
|
virtualItemRef: Za,
|
|
5223
|
-
isTriggerFocused:
|
|
5224
|
+
isTriggerFocused: ue
|
|
5224
5225
|
}
|
|
5225
5226
|
)
|
|
5226
|
-
), /* @__PURE__ */ e.createElement(ha, { id:
|
|
5227
|
+
), /* @__PURE__ */ e.createElement(ha, { id: me }, Ne && /* @__PURE__ */ e.createElement(o_, null, /* @__PURE__ */ e.createElement(
|
|
5227
5228
|
sn,
|
|
5228
5229
|
{
|
|
5229
5230
|
pickerType: b,
|
|
@@ -5246,7 +5247,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5246
5247
|
))));
|
|
5247
5248
|
}, yn = "lc-Popover-module__popover___8X1b2", wn = {
|
|
5248
5249
|
popover: yn
|
|
5249
|
-
},
|
|
5250
|
+
}, $i = ({
|
|
5250
5251
|
triggerRenderer: t,
|
|
5251
5252
|
onClose: a,
|
|
5252
5253
|
onOpen: r,
|
|
@@ -5263,8 +5264,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5263
5264
|
useClickHookProps: f,
|
|
5264
5265
|
floatingStrategy: b
|
|
5265
5266
|
}) => {
|
|
5266
|
-
const [
|
|
5267
|
-
|
|
5267
|
+
const [h, v] = e.useState(s), y = Ga(), E = sa(), $ = i !== void 0, w = $ ? i : h, C = typeof _ == "string", g = typeof t == "function", N = (Te, He) => {
|
|
5268
|
+
Te ? r == null || r(He) : a == null || a(He), !$ && v(Te);
|
|
5268
5269
|
}, { refs: S, context: M, floatingStyles: G } = da({
|
|
5269
5270
|
nodeId: E,
|
|
5270
5271
|
open: w,
|
|
@@ -5279,7 +5280,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5279
5280
|
I,
|
|
5280
5281
|
O,
|
|
5281
5282
|
Y
|
|
5282
|
-
]), U = u(wn.popover, o),
|
|
5283
|
+
]), U = u(wn.popover, o), ue = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
5283
5284
|
"div",
|
|
5284
5285
|
T(k({
|
|
5285
5286
|
"data-testid": "popover-trigger-button",
|
|
@@ -5297,7 +5298,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5297
5298
|
}, L()),
|
|
5298
5299
|
C ? /* @__PURE__ */ e.createElement(B, { as: "div" }, _) : _
|
|
5299
5300
|
))));
|
|
5300
|
-
return y === null ? /* @__PURE__ */ e.createElement(Ha, null,
|
|
5301
|
+
return y === null ? /* @__PURE__ */ e.createElement(Ha, null, ue) : ue;
|
|
5301
5302
|
};
|
|
5302
5303
|
function Cn(t, a, r, _) {
|
|
5303
5304
|
return _ && t === 0 ? _ : t === 1 ? a : r;
|
|
@@ -5393,23 +5394,24 @@ const Be = {
|
|
|
5393
5394
|
notificationCount: o,
|
|
5394
5395
|
name: l,
|
|
5395
5396
|
url: n,
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5397
|
+
redirectUri: c,
|
|
5398
|
+
withDivider: d,
|
|
5399
|
+
shortcutKey: i,
|
|
5400
|
+
expired: s,
|
|
5401
|
+
trialDaysLeft: p,
|
|
5402
|
+
nameAdornment: m
|
|
5401
5403
|
},
|
|
5402
|
-
onClick:
|
|
5403
|
-
isActive:
|
|
5404
|
-
}) => /* @__PURE__ */ e.createElement(e.Fragment, null,
|
|
5404
|
+
onClick: f,
|
|
5405
|
+
isActive: b = !1
|
|
5406
|
+
}) => /* @__PURE__ */ e.createElement(e.Fragment, null, d && /* @__PURE__ */ e.createElement("div", { className: Qe[`${et}__divider`] }), /* @__PURE__ */ e.createElement(
|
|
5405
5407
|
"a",
|
|
5406
5408
|
{
|
|
5407
5409
|
href: n,
|
|
5408
5410
|
target: "_blank",
|
|
5409
5411
|
"aria-label": `Go to ${l} product`,
|
|
5410
|
-
onClick: (
|
|
5412
|
+
onClick: (h) => f(h, t, n, c),
|
|
5411
5413
|
className: u(Qe[et], {
|
|
5412
|
-
[Qe[`${et}--expired`]]:
|
|
5414
|
+
[Qe[`${et}--expired`]]: s
|
|
5413
5415
|
})
|
|
5414
5416
|
},
|
|
5415
5417
|
/* @__PURE__ */ e.createElement("div", { className: Qe[`${et}__heading`] }, /* @__PURE__ */ e.createElement(
|
|
@@ -5417,12 +5419,12 @@ const Be = {
|
|
|
5417
5419
|
{
|
|
5418
5420
|
icon: a,
|
|
5419
5421
|
iconColor: r,
|
|
5420
|
-
expired:
|
|
5422
|
+
expired: s,
|
|
5421
5423
|
backgroundColors: _,
|
|
5422
5424
|
notificationCount: o,
|
|
5423
|
-
withBorder:
|
|
5425
|
+
withBorder: b
|
|
5424
5426
|
}
|
|
5425
|
-
), /* @__PURE__ */ e.createElement(B, { as: "div", bold: !0, className: Qe[`${et}__name`] }, l,
|
|
5427
|
+
), /* @__PURE__ */ e.createElement(B, { as: "div", bold: !0, className: Qe[`${et}__name`] }, l, s && /* @__PURE__ */ e.createElement(
|
|
5426
5428
|
Lt,
|
|
5427
5429
|
{
|
|
5428
5430
|
triggerRenderer: /* @__PURE__ */ e.createElement(
|
|
@@ -5435,7 +5437,7 @@ const Be = {
|
|
|
5435
5437
|
placement: "right"
|
|
5436
5438
|
},
|
|
5437
5439
|
"Your licence is expired"
|
|
5438
|
-
), typeof
|
|
5440
|
+
), typeof p != "undefined" && /* @__PURE__ */ e.createElement(
|
|
5439
5441
|
Lt,
|
|
5440
5442
|
{
|
|
5441
5443
|
className: Qe[`${et}__trial-tooltip`],
|
|
@@ -5448,206 +5450,92 @@ const Be = {
|
|
|
5448
5450
|
),
|
|
5449
5451
|
placement: "right"
|
|
5450
5452
|
},
|
|
5451
|
-
|
|
5453
|
+
p,
|
|
5452
5454
|
" trial ",
|
|
5453
|
-
Cn(
|
|
5455
|
+
Cn(p, "day", "days"),
|
|
5454
5456
|
" ",
|
|
5455
5457
|
"left in your trial. Time to upgrade"
|
|
5456
|
-
),
|
|
5457
|
-
|
|
5458
|
-
)), ea = {
|
|
5459
|
-
"product-switcher": "lc-ProductSwitcher-module__product-switcher___mI-WG",
|
|
5460
|
-
"product-switcher__content": "lc-ProductSwitcher-module__product-switcher__content___6jGuY",
|
|
5461
|
-
"product-switcher__footer": "lc-ProductSwitcher-module__product-switcher__footer___V-2O1",
|
|
5462
|
-
"product-switcher__footer-link": "lc-ProductSwitcher-module__product-switcher__footer-link___NmChu",
|
|
5463
|
-
"product-switcher__tooltip": "lc-ProductSwitcher-module__product-switcher__tooltip___nKPYG"
|
|
5464
|
-
}, ta = "product-switcher", $i = ({
|
|
5465
|
-
productOptions: t,
|
|
5466
|
-
mainProductId: a,
|
|
5467
|
-
openedOnInit: r = !1,
|
|
5468
|
-
isVisible: _,
|
|
5469
|
-
onOpen: o,
|
|
5470
|
-
onClose: l,
|
|
5471
|
-
onSelect: n,
|
|
5472
|
-
textURL: c = "https://www.text.com"
|
|
5473
|
-
}) => {
|
|
5474
|
-
const [d, i] = e.useState(r), [s, p] = I_(
|
|
5475
|
-
!1
|
|
5476
|
-
), m = Ga(), f = sa(), b = _ !== void 0, v = b ? _ : d, h = (L, U) => {
|
|
5477
|
-
L ? o == null || o(U) : l == null || l(U), !b && i(L);
|
|
5478
|
-
}, { refs: y, context: E, floatingStyles: $ } = da({
|
|
5479
|
-
nodeId: f,
|
|
5480
|
-
strategy: "fixed",
|
|
5481
|
-
placement: "right-start",
|
|
5482
|
-
open: v,
|
|
5483
|
-
onOpenChange: (L, U) => {
|
|
5484
|
-
p(!1), h(L, U);
|
|
5485
|
-
},
|
|
5486
|
-
middleware: [ua({ mainAxis: 5 })],
|
|
5487
|
-
whileElementsMounted: ma
|
|
5488
|
-
}), w = pa(E), C = fa(E), g = ga(E), { isMounted: N, styles: S } = kr(E, {
|
|
5489
|
-
duration: 200,
|
|
5490
|
-
common: {
|
|
5491
|
-
transformOrigin: "left top"
|
|
5492
|
-
},
|
|
5493
|
-
initial: {
|
|
5494
|
-
opacity: 0,
|
|
5495
|
-
transform: "scale(0.84) translateX(-22px)"
|
|
5496
|
-
}
|
|
5497
|
-
}), { getReferenceProps: M, getFloatingProps: G } = ba([
|
|
5498
|
-
w,
|
|
5499
|
-
g,
|
|
5500
|
-
C
|
|
5501
|
-
]), I = t.find(
|
|
5502
|
-
(L) => L.id === a
|
|
5503
|
-
);
|
|
5504
|
-
if (!I)
|
|
5505
|
-
return null;
|
|
5506
|
-
const O = (L, U) => {
|
|
5507
|
-
U === a && L.preventDefault(), i(!1), n == null || n(U);
|
|
5508
|
-
}, Y = t.reduce(
|
|
5509
|
-
(L, U) => L + (U.notificationCount || 0),
|
|
5510
|
-
0
|
|
5511
|
-
), j = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", k({ ref: y.setReference }, M()), /* @__PURE__ */ e.createElement(
|
|
5512
|
-
Lt,
|
|
5513
|
-
{
|
|
5514
|
-
isVisible: s,
|
|
5515
|
-
onOpen: () => p(!0),
|
|
5516
|
-
onClose: () => p(!1),
|
|
5517
|
-
offsetCrossAxis: 2,
|
|
5518
|
-
arrowOffsetY: 2,
|
|
5519
|
-
offsetMainAxis: 10,
|
|
5520
|
-
className: ea[`${ta}__tooltip`],
|
|
5521
|
-
placement: "right",
|
|
5522
|
-
floatingStrategy: "fixed",
|
|
5523
|
-
kind: "invert",
|
|
5524
|
-
triggerRenderer: /* @__PURE__ */ e.createElement(
|
|
5525
|
-
v_,
|
|
5526
|
-
{
|
|
5527
|
-
isMainProduct: !0,
|
|
5528
|
-
icon: I.icon,
|
|
5529
|
-
iconColor: I.iconColor,
|
|
5530
|
-
backgroundColors: I.backgroundColors,
|
|
5531
|
-
notificationCount: Y
|
|
5532
|
-
}
|
|
5533
|
-
)
|
|
5534
|
-
},
|
|
5535
|
-
"Switch product"
|
|
5536
|
-
)), /* @__PURE__ */ e.createElement(ha, { id: f }, /* @__PURE__ */ e.createElement(
|
|
5537
|
-
"div",
|
|
5538
|
-
k({
|
|
5539
|
-
ref: y.setFloating,
|
|
5540
|
-
style: $
|
|
5541
|
-
}, G()),
|
|
5542
|
-
N && /* @__PURE__ */ e.createElement(
|
|
5543
|
-
"div",
|
|
5544
|
-
{
|
|
5545
|
-
className: u("lc-dark-theme", ea[ta]),
|
|
5546
|
-
style: S
|
|
5547
|
-
},
|
|
5548
|
-
/* @__PURE__ */ e.createElement("div", { className: ea[`${ta}__content`] }, t.map((L) => /* @__PURE__ */ e.createElement(
|
|
5549
|
-
$n,
|
|
5550
|
-
{
|
|
5551
|
-
key: L.id,
|
|
5552
|
-
isActive: L.id === a,
|
|
5553
|
-
product: L,
|
|
5554
|
-
onClick: O
|
|
5555
|
-
}
|
|
5556
|
-
))),
|
|
5557
|
-
/* @__PURE__ */ e.createElement("div", { className: ea[`${ta}__footer`] }, /* @__PURE__ */ e.createElement(
|
|
5558
|
-
"a",
|
|
5559
|
-
{
|
|
5560
|
-
href: c,
|
|
5561
|
-
target: "_blank",
|
|
5562
|
-
className: ea[`${ta}__footer-link`],
|
|
5563
|
-
onClick: () => h(!1)
|
|
5564
|
-
},
|
|
5565
|
-
/* @__PURE__ */ e.createElement(B, { noMargin: !0 }, "powered by"),
|
|
5566
|
-
/* @__PURE__ */ e.createElement(
|
|
5567
|
-
x,
|
|
5568
|
-
{
|
|
5569
|
-
size: "xlarge",
|
|
5570
|
-
source: M_,
|
|
5571
|
-
customColor: "var(--content-locked-white)"
|
|
5572
|
-
}
|
|
5573
|
-
)
|
|
5574
|
-
))
|
|
5575
|
-
)
|
|
5576
|
-
)));
|
|
5577
|
-
return m === null ? /* @__PURE__ */ e.createElement(Ha, null, j) : j;
|
|
5578
|
-
}, Nn = 'data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cg clip-path="url(%23clip0_24854_8994)"%3E%3Crect width="40" height="40" fill="%230066FF"/%3E%3Cg filter="url(%23filter0_f_24854_8994)"%3E%3Cpath d="M32.6382 31.0816C41.9891 31.0816 49.5694 23.5012 49.5694 14.1504C49.5694 4.79953 41.9891 -2.78082 32.6382 -2.78082C23.2874 -2.78082 15.707 4.79953 15.707 14.1504C15.707 23.5012 23.2874 31.0816 32.6382 31.0816Z" fill="%23FF4205"/%3E%3C/g%3E%3Cg filter="url(%23filter1_f_24854_8994)"%3E%3Cpath d="M10.417 50.1292C19.7679 50.1292 27.3482 42.5488 27.3482 33.198C27.3482 23.8471 19.7679 16.2668 10.417 16.2668C1.0662 16.2668 -6.51416 23.8471 -6.51416 33.198C-6.51416 42.5488 1.0662 50.1292 10.417 50.1292Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter2_f_24854_8994)"%3E%3Cpath d="M9.35788 16.2667C15.2022 16.2667 19.9399 11.529 19.9399 5.68472C19.9399 -0.159555 15.2022 -4.89728 9.35788 -4.89728C3.5136 -4.89728 -1.22412 -0.159555 -1.22412 5.68472C-1.22412 11.529 3.5136 16.2667 9.35788 16.2667Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter3_f_24854_8994)"%3E%3Cpath d="M7.24274 18.3831C13.6714 18.3831 18.8829 13.1716 18.8829 6.74292C18.8829 0.314217 13.6714 -4.89728 7.24274 -4.89728C0.814034 -4.89728 -4.39746 0.314217 -4.39746 6.74292C-4.39746 13.1716 0.814034 18.3831 7.24274 18.3831Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter4_f_24854_8994)"%3E%3Cpath d="M8.29938 21.5577C14.7281 21.5577 19.9396 16.3462 19.9396 9.91748C19.9396 3.48878 14.7281 -1.72272 8.29938 -1.72272C1.87068 -1.72272 -3.34082 3.48878 -3.34082 9.91748C-3.34082 16.3462 1.87068 21.5577 8.29938 21.5577Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter5_f_24854_8994)"%3E%3Cpath d="M33.6973 45.8964C40.126 45.8964 45.3375 40.6849 45.3375 34.2562C45.3375 27.8275 40.126 22.616 33.6973 22.616C27.2686 22.616 22.0571 27.8275 22.0571 34.2562C22.0571 40.6849 27.2686 45.8964 33.6973 45.8964Z" fill="%23FFD001"/%3E%3C/g%3E%3Cg filter="url(%23filter6_f_24854_8994)"%3E%3Cpath d="M29.4639 48.0128C35.8926 48.0128 41.1041 42.8013 41.1041 36.3726C41.1041 29.9439 35.8926 24.7324 29.4639 24.7324C23.0352 24.7324 17.8237 29.9439 17.8237 36.3726C17.8237 42.8013 23.0352 48.0128 29.4639 48.0128Z" fill="%23FFD001"/%3E%3C/g%3E%3Cg filter="url(%23filter7_f_24854_8994)"%3E%3Cpath d="M29.4639 48.0128C35.8926 48.0128 41.1041 42.8013 41.1041 36.3726C41.1041 29.9439 35.8926 24.7324 29.4639 24.7324C23.0352 24.7324 17.8237 29.9439 17.8237 36.3726C17.8237 42.8013 23.0352 48.0128 29.4639 48.0128Z" fill="%23FFD001"/%3E%3C/g%3E%3Cg filter="url(%23filter8_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter9_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter10_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter11_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter12_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter13_f_24854_8994)"%3E%3Cpath d="M9.35898 38.489C12.8655 38.489 15.7082 35.6463 15.7082 32.1398C15.7082 28.6332 12.8655 25.7906 9.35898 25.7906C5.8524 25.7906 3.00977 28.6332 3.00977 32.1398C3.00977 35.6463 5.8524 38.489 9.35898 38.489Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter14_f_24854_8994)"%3E%3Cpath d="M38.9871 31.0816C46.5846 31.0816 52.7437 24.9225 52.7437 17.325C52.7437 9.7274 46.5846 3.56836 38.9871 3.56836C31.3895 3.56836 25.2305 9.7274 25.2305 17.325C25.2305 24.9225 31.3895 31.0816 38.9871 31.0816Z" fill="%23FF4205"/%3E%3C/g%3E%3Cg filter="url(%23filter15_f_24854_8994)"%3E%3Cpath d="M38.9879 25.7905C45.4166 25.7905 50.6281 20.579 50.6281 14.1503C50.6281 7.72157 45.4166 2.51007 38.9879 2.51007C32.5592 2.51007 27.3477 7.72157 27.3477 14.1503C27.3477 20.579 32.5592 25.7905 38.9879 25.7905Z" fill="%23FF4205"/%3E%3C/g%3E%3Cg filter="url(%23filter16_f_24854_8994)"%3E%3Cpath d="M9.35868 21.5578C14.0341 21.5578 17.8243 17.7676 17.8243 13.0922C17.8243 8.41674 14.0341 4.62656 9.35868 4.62656C4.68325 4.62656 0.893066 8.41674 0.893066 13.0922C0.893066 17.7676 4.68325 21.5578 9.35868 21.5578Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter17_f_24854_8994)"%3E%3Cpath d="M31.5797 18.3831C35.0862 18.3831 37.9289 15.5404 37.9289 12.0339C37.9289 8.5273 35.0862 5.68466 31.5797 5.68466C28.0731 5.68466 25.2305 8.5273 25.2305 12.0339C25.2305 15.5404 28.0731 18.3831 31.5797 18.3831Z" fill="%23FF2E00"/%3E%3C/g%3E%3Cg filter="url(%23filter18_f_24854_8994)"%3E%3Cpath d="M12.5312 14.1503C18.3755 14.1503 23.1132 9.41257 23.1132 3.5683C23.1132 -2.27598 18.3755 -7.0137 12.5312 -7.0137C6.68694 -7.0137 1.94922 -2.27598 1.94922 3.5683C1.94922 9.41257 6.68694 14.1503 12.5312 14.1503Z" fill="%233851FF"/%3E%3C/g%3E%3Cg filter="url(%23filter19_f_24854_8994)"%3E%3Cpath d="M28.4057 13.0921C34.25 13.0921 38.9877 8.35441 38.9877 2.51013C38.9877 -3.33415 34.25 -8.07187 28.4057 -8.07187C22.5615 -8.07187 17.8237 -3.33415 17.8237 2.51013C17.8237 8.35441 22.5615 13.0921 28.4057 13.0921Z" fill="%23F3354D"/%3E%3C/g%3E%3Cg filter="url(%23filter20_f_24854_8994)"%3E%3Cpath d="M33.6958 48.0128C39.54 48.0128 44.2778 43.275 44.2778 37.4308C44.2778 31.5865 39.54 26.8488 33.6958 26.8488C27.8515 26.8488 23.1138 31.5865 23.1138 37.4308C23.1138 43.275 27.8515 48.0128 33.6958 48.0128Z" fill="%23FFD101"/%3E%3C/g%3E%3Cg filter="url(%23filter21_f_24854_8994)"%3E%3Cpath d="M8.30173 43.78C14.146 43.78 18.8837 39.0422 18.8837 33.198C18.8837 27.3537 14.146 22.616 8.30173 22.616C2.45745 22.616 -2.28027 27.3537 -2.28027 33.198C-2.28027 39.0422 2.45745 43.78 8.30173 43.78Z" fill="%237FCF35"/%3E%3C/g%3E%3Cg filter="url(%23filter22_f_24854_8994)"%3E%3Cpath d="M6.18454 34.2562C12.0288 34.2562 16.7665 29.5184 16.7665 23.6742C16.7665 17.8299 12.0288 13.0922 6.18454 13.0922C0.340261 13.0922 -4.39746 17.8299 -4.39746 23.6742C-4.39746 29.5184 0.340261 34.2562 6.18454 34.2562Z" fill="%231D7DD0"/%3E%3C/g%3E%3C/g%3E%3Cdefs%3E%3Cfilter id="filter0_f_24854_8994" x="-8.29297" y="-26.7808" width="81.8623" height="81.8624" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter1_f_24854_8994" x="-30.5142" y="-7.73322" width="81.8623" height="81.8624" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter2_f_24854_8994" x="-25.2241" y="-28.8973" width="69.1641" height="69.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter3_f_24854_8994" x="-28.3975" y="-28.8973" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter4_f_24854_8994" x="-27.3408" y="-25.7227" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter5_f_24854_8994" x="-1.94287" y="-1.38403" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter6_f_24854_8994" x="-6.17627" y="0.732361" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter7_f_24854_8994" x="-6.17627" y="0.732361" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter8_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter9_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter10_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter11_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter12_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter13_f_24854_8994" x="-20.9902" y="1.79056" width="60.6982" height="60.6984" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter14_f_24854_8994" x="1.23047" y="-20.4316" width="75.5132" height="75.5132" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter15_f_24854_8994" x="3.34766" y="-21.4899" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter16_f_24854_8994" x="-23.1069" y="-19.3734" width="64.9312" height="64.9312" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter17_f_24854_8994" x="1.23047" y="-18.3153" width="60.6982" height="60.6984" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter18_f_24854_8994" x="-9.05078" y="-18.0137" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter19_f_24854_8994" x="6.82373" y="-19.0719" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter20_f_24854_8994" x="12.1138" y="15.8488" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter21_f_24854_8994" x="-13.2803" y="11.616" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter22_f_24854_8994" x="-15.3975" y="2.09216" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3CclipPath id="clip0_24854_8994"%3E%3Crect width="40" height="40" fill="white"/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A', Sn = [
|
|
5458
|
+
), m)),
|
|
5459
|
+
i && /* @__PURE__ */ e.createElement(B, { size: "sm", className: Qe[`${et}__shortcut`] }, "⌘", i)
|
|
5460
|
+
)), Nn = 'data:image/svg+xml,%3Csvg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cg clip-path="url(%23clip0_24854_8994)"%3E%3Crect width="40" height="40" fill="%230066FF"/%3E%3Cg filter="url(%23filter0_f_24854_8994)"%3E%3Cpath d="M32.6382 31.0816C41.9891 31.0816 49.5694 23.5012 49.5694 14.1504C49.5694 4.79953 41.9891 -2.78082 32.6382 -2.78082C23.2874 -2.78082 15.707 4.79953 15.707 14.1504C15.707 23.5012 23.2874 31.0816 32.6382 31.0816Z" fill="%23FF4205"/%3E%3C/g%3E%3Cg filter="url(%23filter1_f_24854_8994)"%3E%3Cpath d="M10.417 50.1292C19.7679 50.1292 27.3482 42.5488 27.3482 33.198C27.3482 23.8471 19.7679 16.2668 10.417 16.2668C1.0662 16.2668 -6.51416 23.8471 -6.51416 33.198C-6.51416 42.5488 1.0662 50.1292 10.417 50.1292Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter2_f_24854_8994)"%3E%3Cpath d="M9.35788 16.2667C15.2022 16.2667 19.9399 11.529 19.9399 5.68472C19.9399 -0.159555 15.2022 -4.89728 9.35788 -4.89728C3.5136 -4.89728 -1.22412 -0.159555 -1.22412 5.68472C-1.22412 11.529 3.5136 16.2667 9.35788 16.2667Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter3_f_24854_8994)"%3E%3Cpath d="M7.24274 18.3831C13.6714 18.3831 18.8829 13.1716 18.8829 6.74292C18.8829 0.314217 13.6714 -4.89728 7.24274 -4.89728C0.814034 -4.89728 -4.39746 0.314217 -4.39746 6.74292C-4.39746 13.1716 0.814034 18.3831 7.24274 18.3831Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter4_f_24854_8994)"%3E%3Cpath d="M8.29938 21.5577C14.7281 21.5577 19.9396 16.3462 19.9396 9.91748C19.9396 3.48878 14.7281 -1.72272 8.29938 -1.72272C1.87068 -1.72272 -3.34082 3.48878 -3.34082 9.91748C-3.34082 16.3462 1.87068 21.5577 8.29938 21.5577Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter5_f_24854_8994)"%3E%3Cpath d="M33.6973 45.8964C40.126 45.8964 45.3375 40.6849 45.3375 34.2562C45.3375 27.8275 40.126 22.616 33.6973 22.616C27.2686 22.616 22.0571 27.8275 22.0571 34.2562C22.0571 40.6849 27.2686 45.8964 33.6973 45.8964Z" fill="%23FFD001"/%3E%3C/g%3E%3Cg filter="url(%23filter6_f_24854_8994)"%3E%3Cpath d="M29.4639 48.0128C35.8926 48.0128 41.1041 42.8013 41.1041 36.3726C41.1041 29.9439 35.8926 24.7324 29.4639 24.7324C23.0352 24.7324 17.8237 29.9439 17.8237 36.3726C17.8237 42.8013 23.0352 48.0128 29.4639 48.0128Z" fill="%23FFD001"/%3E%3C/g%3E%3Cg filter="url(%23filter7_f_24854_8994)"%3E%3Cpath d="M29.4639 48.0128C35.8926 48.0128 41.1041 42.8013 41.1041 36.3726C41.1041 29.9439 35.8926 24.7324 29.4639 24.7324C23.0352 24.7324 17.8237 29.9439 17.8237 36.3726C17.8237 42.8013 23.0352 48.0128 29.4639 48.0128Z" fill="%23FFD001"/%3E%3C/g%3E%3Cg filter="url(%23filter8_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter9_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter10_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter11_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter12_f_24854_8994)"%3E%3Cpath d="M6.18299 39.5472C11.4428 39.5472 15.7068 35.2832 15.7068 30.0234C15.7068 24.7635 11.4428 20.4996 6.18299 20.4996C0.923135 20.4996 -3.34082 24.7635 -3.34082 30.0234C-3.34082 35.2832 0.923135 39.5472 6.18299 39.5472Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter13_f_24854_8994)"%3E%3Cpath d="M9.35898 38.489C12.8655 38.489 15.7082 35.6463 15.7082 32.1398C15.7082 28.6332 12.8655 25.7906 9.35898 25.7906C5.8524 25.7906 3.00977 28.6332 3.00977 32.1398C3.00977 35.6463 5.8524 38.489 9.35898 38.489Z" fill="%2373CE3B"/%3E%3C/g%3E%3Cg filter="url(%23filter14_f_24854_8994)"%3E%3Cpath d="M38.9871 31.0816C46.5846 31.0816 52.7437 24.9225 52.7437 17.325C52.7437 9.7274 46.5846 3.56836 38.9871 3.56836C31.3895 3.56836 25.2305 9.7274 25.2305 17.325C25.2305 24.9225 31.3895 31.0816 38.9871 31.0816Z" fill="%23FF4205"/%3E%3C/g%3E%3Cg filter="url(%23filter15_f_24854_8994)"%3E%3Cpath d="M38.9879 25.7905C45.4166 25.7905 50.6281 20.579 50.6281 14.1503C50.6281 7.72157 45.4166 2.51007 38.9879 2.51007C32.5592 2.51007 27.3477 7.72157 27.3477 14.1503C27.3477 20.579 32.5592 25.7905 38.9879 25.7905Z" fill="%23FF4205"/%3E%3C/g%3E%3Cg filter="url(%23filter16_f_24854_8994)"%3E%3Cpath d="M9.35868 21.5578C14.0341 21.5578 17.8243 17.7676 17.8243 13.0922C17.8243 8.41674 14.0341 4.62656 9.35868 4.62656C4.68325 4.62656 0.893066 8.41674 0.893066 13.0922C0.893066 17.7676 4.68325 21.5578 9.35868 21.5578Z" fill="%233750FF"/%3E%3C/g%3E%3Cg filter="url(%23filter17_f_24854_8994)"%3E%3Cpath d="M31.5797 18.3831C35.0862 18.3831 37.9289 15.5404 37.9289 12.0339C37.9289 8.5273 35.0862 5.68466 31.5797 5.68466C28.0731 5.68466 25.2305 8.5273 25.2305 12.0339C25.2305 15.5404 28.0731 18.3831 31.5797 18.3831Z" fill="%23FF2E00"/%3E%3C/g%3E%3Cg filter="url(%23filter18_f_24854_8994)"%3E%3Cpath d="M12.5312 14.1503C18.3755 14.1503 23.1132 9.41257 23.1132 3.5683C23.1132 -2.27598 18.3755 -7.0137 12.5312 -7.0137C6.68694 -7.0137 1.94922 -2.27598 1.94922 3.5683C1.94922 9.41257 6.68694 14.1503 12.5312 14.1503Z" fill="%233851FF"/%3E%3C/g%3E%3Cg filter="url(%23filter19_f_24854_8994)"%3E%3Cpath d="M28.4057 13.0921C34.25 13.0921 38.9877 8.35441 38.9877 2.51013C38.9877 -3.33415 34.25 -8.07187 28.4057 -8.07187C22.5615 -8.07187 17.8237 -3.33415 17.8237 2.51013C17.8237 8.35441 22.5615 13.0921 28.4057 13.0921Z" fill="%23F3354D"/%3E%3C/g%3E%3Cg filter="url(%23filter20_f_24854_8994)"%3E%3Cpath d="M33.6958 48.0128C39.54 48.0128 44.2778 43.275 44.2778 37.4308C44.2778 31.5865 39.54 26.8488 33.6958 26.8488C27.8515 26.8488 23.1138 31.5865 23.1138 37.4308C23.1138 43.275 27.8515 48.0128 33.6958 48.0128Z" fill="%23FFD101"/%3E%3C/g%3E%3Cg filter="url(%23filter21_f_24854_8994)"%3E%3Cpath d="M8.30173 43.78C14.146 43.78 18.8837 39.0422 18.8837 33.198C18.8837 27.3537 14.146 22.616 8.30173 22.616C2.45745 22.616 -2.28027 27.3537 -2.28027 33.198C-2.28027 39.0422 2.45745 43.78 8.30173 43.78Z" fill="%237FCF35"/%3E%3C/g%3E%3Cg filter="url(%23filter22_f_24854_8994)"%3E%3Cpath d="M6.18454 34.2562C12.0288 34.2562 16.7665 29.5184 16.7665 23.6742C16.7665 17.8299 12.0288 13.0922 6.18454 13.0922C0.340261 13.0922 -4.39746 17.8299 -4.39746 23.6742C-4.39746 29.5184 0.340261 34.2562 6.18454 34.2562Z" fill="%231D7DD0"/%3E%3C/g%3E%3C/g%3E%3Cdefs%3E%3Cfilter id="filter0_f_24854_8994" x="-8.29297" y="-26.7808" width="81.8623" height="81.8624" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter1_f_24854_8994" x="-30.5142" y="-7.73322" width="81.8623" height="81.8624" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter2_f_24854_8994" x="-25.2241" y="-28.8973" width="69.1641" height="69.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter3_f_24854_8994" x="-28.3975" y="-28.8973" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter4_f_24854_8994" x="-27.3408" y="-25.7227" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter5_f_24854_8994" x="-1.94287" y="-1.38403" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter6_f_24854_8994" x="-6.17627" y="0.732361" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter7_f_24854_8994" x="-6.17627" y="0.732361" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter8_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter9_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter10_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter11_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter12_f_24854_8994" x="-27.3408" y="-3.50043" width="67.0479" height="67.0476" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter13_f_24854_8994" x="-20.9902" y="1.79056" width="60.6982" height="60.6984" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter14_f_24854_8994" x="1.23047" y="-20.4316" width="75.5132" height="75.5132" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter15_f_24854_8994" x="3.34766" y="-21.4899" width="71.2803" height="71.2804" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter16_f_24854_8994" x="-23.1069" y="-19.3734" width="64.9312" height="64.9312" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter17_f_24854_8994" x="1.23047" y="-18.3153" width="60.6982" height="60.6984" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="12" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter18_f_24854_8994" x="-9.05078" y="-18.0137" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter19_f_24854_8994" x="6.82373" y="-19.0719" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter20_f_24854_8994" x="12.1138" y="15.8488" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter21_f_24854_8994" x="-13.2803" y="11.616" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3Cfilter id="filter22_f_24854_8994" x="-15.3975" y="2.09216" width="43.1641" height="43.164" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"%3E%3CfeFlood flood-opacity="0" result="BackgroundImageFix"/%3E%3CfeBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/%3E%3CfeGaussianBlur stdDeviation="5.5" result="effect1_foregroundBlur_24854_8994"/%3E%3C/filter%3E%3CclipPath id="clip0_24854_8994"%3E%3Crect width="40" height="40" fill="white"/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E%0A', Sn = [
|
|
5579
5461
|
{
|
|
5580
5462
|
id: "livechat",
|
|
5581
5463
|
name: "LiveChat",
|
|
5582
|
-
icon:
|
|
5464
|
+
icon: M_,
|
|
5583
5465
|
backgroundColors: {
|
|
5584
5466
|
main: "var(--products-livechat)",
|
|
5585
5467
|
second: "var(--products-helpdesk)",
|
|
5586
5468
|
third: "var(--products-chatbot)"
|
|
5587
5469
|
},
|
|
5588
|
-
url: ""
|
|
5470
|
+
url: "",
|
|
5471
|
+
redirectUri: ""
|
|
5589
5472
|
},
|
|
5590
5473
|
{
|
|
5591
5474
|
id: "chatbot",
|
|
5592
5475
|
name: "ChatBot",
|
|
5593
|
-
icon:
|
|
5476
|
+
icon: L_,
|
|
5594
5477
|
backgroundColors: {
|
|
5595
5478
|
main: "var(--products-chatbot)",
|
|
5596
5479
|
second: "var(--products-livechat)",
|
|
5597
5480
|
third: "var(--products-helpdesk)"
|
|
5598
5481
|
},
|
|
5599
|
-
url: ""
|
|
5482
|
+
url: "",
|
|
5483
|
+
redirectUri: ""
|
|
5600
5484
|
},
|
|
5601
5485
|
{
|
|
5602
5486
|
id: "helpdesk",
|
|
5603
5487
|
name: "HelpDesk",
|
|
5604
|
-
icon:
|
|
5488
|
+
icon: O_,
|
|
5605
5489
|
backgroundColors: {
|
|
5606
5490
|
main: "var(--products-helpdesk)",
|
|
5607
5491
|
second: "var(--products-livechat)",
|
|
5608
5492
|
third: "var(--products-chatbot)"
|
|
5609
5493
|
},
|
|
5610
5494
|
url: "",
|
|
5495
|
+
redirectUri: "",
|
|
5611
5496
|
expired: !0
|
|
5612
5497
|
},
|
|
5613
5498
|
{
|
|
5614
5499
|
id: "knowledgebase",
|
|
5615
5500
|
name: "KnowledgeBase",
|
|
5616
|
-
icon:
|
|
5501
|
+
icon: G_,
|
|
5617
5502
|
backgroundColors: {
|
|
5618
5503
|
main: "var(--products-knowledgebase)",
|
|
5619
5504
|
second: "var(--products-helpdesk)",
|
|
5620
5505
|
third: "var(--products-chatbot)"
|
|
5621
5506
|
},
|
|
5622
5507
|
url: "",
|
|
5508
|
+
redirectUri: "",
|
|
5623
5509
|
trialDaysLeft: 2
|
|
5624
5510
|
},
|
|
5625
5511
|
{
|
|
5626
5512
|
id: "openwidget",
|
|
5627
5513
|
name: "OpenWidget",
|
|
5628
|
-
icon:
|
|
5514
|
+
icon: U_,
|
|
5629
5515
|
backgroundColors: {
|
|
5630
5516
|
main: `url('${Nn}')`,
|
|
5631
5517
|
second: "var(--products-livechat)",
|
|
5632
5518
|
third: "var(--products-chatbot)"
|
|
5633
5519
|
},
|
|
5634
|
-
url: ""
|
|
5520
|
+
url: "",
|
|
5521
|
+
redirectUri: ""
|
|
5635
5522
|
},
|
|
5636
5523
|
{
|
|
5637
5524
|
id: "hello",
|
|
5638
5525
|
name: "Hello",
|
|
5639
|
-
icon:
|
|
5526
|
+
icon: H_,
|
|
5640
5527
|
backgroundColors: {
|
|
5641
5528
|
main: "var(--products-hello)",
|
|
5642
5529
|
second: "var(--products-livechat)",
|
|
5643
5530
|
third: "var(--products-chatbot)"
|
|
5644
5531
|
},
|
|
5645
|
-
url: ""
|
|
5532
|
+
url: "",
|
|
5533
|
+
redirectUri: ""
|
|
5646
5534
|
},
|
|
5647
5535
|
{
|
|
5648
5536
|
id: "accounts",
|
|
5649
5537
|
name: "Accounts",
|
|
5650
|
-
icon:
|
|
5538
|
+
icon: z_,
|
|
5651
5539
|
backgroundColors: {
|
|
5652
5540
|
main: "var(--surface-locked-white)",
|
|
5653
5541
|
second: "var(--products-livechat)",
|
|
@@ -5655,7 +5543,8 @@ const Be = {
|
|
|
5655
5543
|
},
|
|
5656
5544
|
iconColor: "var(--content-locked-black)",
|
|
5657
5545
|
withDivider: !0,
|
|
5658
|
-
url: ""
|
|
5546
|
+
url: "",
|
|
5547
|
+
redirectUri: ""
|
|
5659
5548
|
}
|
|
5660
5549
|
], xn = [
|
|
5661
5550
|
{
|
|
@@ -5794,7 +5683,8 @@ const Be = {
|
|
|
5794
5683
|
l.redirectUri,
|
|
5795
5684
|
_,
|
|
5796
5685
|
o
|
|
5797
|
-
)
|
|
5686
|
+
),
|
|
5687
|
+
redirectUri: l.redirectUri
|
|
5798
5688
|
});
|
|
5799
5689
|
}, Fn = (t) => {
|
|
5800
5690
|
switch (t) {
|
|
@@ -5807,7 +5697,130 @@ const Be = {
|
|
|
5807
5697
|
default:
|
|
5808
5698
|
return [];
|
|
5809
5699
|
}
|
|
5810
|
-
},
|
|
5700
|
+
}, Rn = (t, a, r) => {
|
|
5701
|
+
const _ = window.open("", a);
|
|
5702
|
+
_ && !_.closed && _.location.href.includes(r) ? (_.location.href === "about:blank" && (_.location.href = t), _.focus()) : window.open(t, "_blank");
|
|
5703
|
+
}, ea = {
|
|
5704
|
+
"product-switcher": "lc-ProductSwitcher-module__product-switcher___mI-WG",
|
|
5705
|
+
"product-switcher__content": "lc-ProductSwitcher-module__product-switcher__content___6jGuY",
|
|
5706
|
+
"product-switcher__footer": "lc-ProductSwitcher-module__product-switcher__footer___V-2O1",
|
|
5707
|
+
"product-switcher__footer-link": "lc-ProductSwitcher-module__product-switcher__footer-link___NmChu",
|
|
5708
|
+
"product-switcher__tooltip": "lc-ProductSwitcher-module__product-switcher__tooltip___nKPYG"
|
|
5709
|
+
}, ta = "product-switcher", Ni = ({
|
|
5710
|
+
productOptions: t,
|
|
5711
|
+
mainProductId: a,
|
|
5712
|
+
openedOnInit: r = !1,
|
|
5713
|
+
isVisible: _,
|
|
5714
|
+
onOpen: o,
|
|
5715
|
+
onClose: l,
|
|
5716
|
+
onSelect: n,
|
|
5717
|
+
textURL: c = "https://www.text.com"
|
|
5718
|
+
}) => {
|
|
5719
|
+
const [d, i] = e.useState(r), [s, p] = I_(
|
|
5720
|
+
!1
|
|
5721
|
+
), m = Ga(), f = sa(), b = _ !== void 0, h = b ? _ : d, v = (L, U) => {
|
|
5722
|
+
L ? o == null || o(U) : l == null || l(U), !b && i(L);
|
|
5723
|
+
}, { refs: y, context: E, floatingStyles: $ } = da({
|
|
5724
|
+
nodeId: f,
|
|
5725
|
+
strategy: "fixed",
|
|
5726
|
+
placement: "right-start",
|
|
5727
|
+
open: h,
|
|
5728
|
+
onOpenChange: (L, U) => {
|
|
5729
|
+
p(!1), v(L, U);
|
|
5730
|
+
},
|
|
5731
|
+
middleware: [ua({ mainAxis: 5 })],
|
|
5732
|
+
whileElementsMounted: ma
|
|
5733
|
+
}), w = pa(E), C = fa(E), g = ga(E), { isMounted: N, styles: S } = kr(E, {
|
|
5734
|
+
duration: 200,
|
|
5735
|
+
common: {
|
|
5736
|
+
transformOrigin: "left top"
|
|
5737
|
+
},
|
|
5738
|
+
initial: {
|
|
5739
|
+
opacity: 0,
|
|
5740
|
+
transform: "scale(0.84) translateX(-22px)"
|
|
5741
|
+
}
|
|
5742
|
+
}), { getReferenceProps: M, getFloatingProps: G } = ba([
|
|
5743
|
+
w,
|
|
5744
|
+
g,
|
|
5745
|
+
C
|
|
5746
|
+
]), I = t.find(
|
|
5747
|
+
(L) => L.id === a
|
|
5748
|
+
);
|
|
5749
|
+
if (!I)
|
|
5750
|
+
return null;
|
|
5751
|
+
const O = (L, U, ue, Te) => {
|
|
5752
|
+
L.preventDefault(), U !== a && Rn(ue, U, Te), i(!1), n == null || n(U);
|
|
5753
|
+
}, Y = t.reduce(
|
|
5754
|
+
(L, U) => L + (U.notificationCount || 0),
|
|
5755
|
+
0
|
|
5756
|
+
), j = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", k({ ref: y.setReference }, M()), /* @__PURE__ */ e.createElement(
|
|
5757
|
+
Lt,
|
|
5758
|
+
{
|
|
5759
|
+
isVisible: s,
|
|
5760
|
+
onOpen: () => p(!0),
|
|
5761
|
+
onClose: () => p(!1),
|
|
5762
|
+
offsetCrossAxis: 2,
|
|
5763
|
+
arrowOffsetY: 2,
|
|
5764
|
+
offsetMainAxis: 10,
|
|
5765
|
+
className: ea[`${ta}__tooltip`],
|
|
5766
|
+
placement: "right",
|
|
5767
|
+
floatingStrategy: "fixed",
|
|
5768
|
+
kind: "invert",
|
|
5769
|
+
triggerRenderer: /* @__PURE__ */ e.createElement(
|
|
5770
|
+
v_,
|
|
5771
|
+
{
|
|
5772
|
+
isMainProduct: !0,
|
|
5773
|
+
icon: I.icon,
|
|
5774
|
+
iconColor: I.iconColor,
|
|
5775
|
+
backgroundColors: I.backgroundColors,
|
|
5776
|
+
notificationCount: Y
|
|
5777
|
+
}
|
|
5778
|
+
)
|
|
5779
|
+
},
|
|
5780
|
+
"Switch product"
|
|
5781
|
+
)), /* @__PURE__ */ e.createElement(ha, { id: f }, /* @__PURE__ */ e.createElement(
|
|
5782
|
+
"div",
|
|
5783
|
+
k({
|
|
5784
|
+
ref: y.setFloating,
|
|
5785
|
+
style: $
|
|
5786
|
+
}, G()),
|
|
5787
|
+
N && /* @__PURE__ */ e.createElement(
|
|
5788
|
+
"div",
|
|
5789
|
+
{
|
|
5790
|
+
className: u("lc-dark-theme", ea[ta]),
|
|
5791
|
+
style: S
|
|
5792
|
+
},
|
|
5793
|
+
/* @__PURE__ */ e.createElement("div", { className: ea[`${ta}__content`] }, t.map((L) => /* @__PURE__ */ e.createElement(
|
|
5794
|
+
$n,
|
|
5795
|
+
{
|
|
5796
|
+
key: L.id,
|
|
5797
|
+
isActive: L.id === a,
|
|
5798
|
+
product: L,
|
|
5799
|
+
onClick: O
|
|
5800
|
+
}
|
|
5801
|
+
))),
|
|
5802
|
+
/* @__PURE__ */ e.createElement("div", { className: ea[`${ta}__footer`] }, /* @__PURE__ */ e.createElement(
|
|
5803
|
+
"a",
|
|
5804
|
+
{
|
|
5805
|
+
href: c,
|
|
5806
|
+
target: "_blank",
|
|
5807
|
+
className: ea[`${ta}__footer-link`],
|
|
5808
|
+
onClick: () => v(!1)
|
|
5809
|
+
},
|
|
5810
|
+
/* @__PURE__ */ e.createElement(B, { noMargin: !0 }, "powered by"),
|
|
5811
|
+
/* @__PURE__ */ e.createElement(
|
|
5812
|
+
x,
|
|
5813
|
+
{
|
|
5814
|
+
size: "xlarge",
|
|
5815
|
+
source: W_,
|
|
5816
|
+
customColor: "var(--content-locked-white)"
|
|
5817
|
+
}
|
|
5818
|
+
)
|
|
5819
|
+
))
|
|
5820
|
+
)
|
|
5821
|
+
)));
|
|
5822
|
+
return m === null ? /* @__PURE__ */ e.createElement(Ha, null, j) : j;
|
|
5823
|
+
}, Si = ({
|
|
5811
5824
|
env: t,
|
|
5812
5825
|
installedProducts: a,
|
|
5813
5826
|
subscriptions: r,
|
|
@@ -5830,9 +5843,9 @@ const Be = {
|
|
|
5830
5843
|
[]
|
|
5831
5844
|
)
|
|
5832
5845
|
};
|
|
5833
|
-
},
|
|
5846
|
+
}, Mn = (t) => Math.min(Math.max(t, 0), 100);
|
|
5834
5847
|
function y_(t, a = 0) {
|
|
5835
|
-
return t === "error" ? 0 :
|
|
5848
|
+
return t === "error" ? 0 : Mn(parseInt(a.toString(), 10));
|
|
5836
5849
|
}
|
|
5837
5850
|
const aa = {
|
|
5838
5851
|
"progress-circle": "lc-ProgressCircle-module__progress-circle___NRHCi",
|
|
@@ -5845,15 +5858,15 @@ const aa = {
|
|
|
5845
5858
|
"progress-circle__indicator--normal": "lc-ProgressCircle-module__progress-circle__indicator--normal___0SdkX",
|
|
5846
5859
|
"progress-circle__indicator--success": "lc-ProgressCircle-module__progress-circle__indicator--success___fLwRR",
|
|
5847
5860
|
"progress-circle__indicator--error": "lc-ProgressCircle-module__progress-circle__indicator--error___nwJS9"
|
|
5848
|
-
},
|
|
5861
|
+
}, Ln = {
|
|
5849
5862
|
small: 2,
|
|
5850
5863
|
medium: 3,
|
|
5851
5864
|
large: 4
|
|
5852
|
-
},
|
|
5865
|
+
}, On = {
|
|
5853
5866
|
small: 15,
|
|
5854
5867
|
medium: 36,
|
|
5855
5868
|
large: 56
|
|
5856
|
-
}, ra = "progress-circle",
|
|
5869
|
+
}, ra = "progress-circle", Gn = e.forwardRef(
|
|
5857
5870
|
(n, l) => {
|
|
5858
5871
|
var c = n, {
|
|
5859
5872
|
status: t = "normal",
|
|
@@ -5866,7 +5879,7 @@ const aa = {
|
|
|
5866
5879
|
"className",
|
|
5867
5880
|
"size"
|
|
5868
5881
|
]);
|
|
5869
|
-
const d = y_(t, a), i =
|
|
5882
|
+
const d = y_(t, a), i = Ln[_], s = On[_], p = u(
|
|
5870
5883
|
aa[ra],
|
|
5871
5884
|
{
|
|
5872
5885
|
[aa[`${ra}--${_}`]]: _,
|
|
@@ -5918,7 +5931,7 @@ const aa = {
|
|
|
5918
5931
|
"progress-bar--normal": "lc-ProgressBar-module__progress-bar--normal___ZwCb-",
|
|
5919
5932
|
"progress-bar__indicator--success": "lc-ProgressBar-module__progress-bar__indicator--success___wRjR3",
|
|
5920
5933
|
"progress-bar__indicator--normal": "lc-ProgressBar-module__progress-bar__indicator--normal___0Uhle"
|
|
5921
|
-
}, Ta = "progress-bar",
|
|
5934
|
+
}, Ta = "progress-bar", Un = e.forwardRef(
|
|
5922
5935
|
(n, l) => {
|
|
5923
5936
|
var c = n, {
|
|
5924
5937
|
status: t = "normal",
|
|
@@ -5956,7 +5969,7 @@ const aa = {
|
|
|
5956
5969
|
)
|
|
5957
5970
|
);
|
|
5958
5971
|
}
|
|
5959
|
-
),
|
|
5972
|
+
), Fe = {
|
|
5960
5973
|
"promo-banner": "lc-PromoBanner-module__promo-banner___-mGpq",
|
|
5961
5974
|
"promo-banner__content": "lc-PromoBanner-module__promo-banner__content___kRWar",
|
|
5962
5975
|
"promo-banner__wrapper": "lc-PromoBanner-module__promo-banner__wrapper___I-8cl",
|
|
@@ -5968,7 +5981,7 @@ const aa = {
|
|
|
5968
5981
|
"promo-banner--small": "lc-PromoBanner-module__promo-banner--small___7sWLV",
|
|
5969
5982
|
"promo-banner--large": "lc-PromoBanner-module__promo-banner--large___pMiCU",
|
|
5970
5983
|
"promo-banner__close-icon": "lc-PromoBanner-module__promo-banner__close-icon___GowBL"
|
|
5971
|
-
},
|
|
5984
|
+
}, Hn = 400, zn = 800, Wn = 500, Re = "promo-banner", xi = ({
|
|
5972
5985
|
className: t,
|
|
5973
5986
|
buttonText: a,
|
|
5974
5987
|
children: r,
|
|
@@ -5981,38 +5994,38 @@ const aa = {
|
|
|
5981
5994
|
onLinkClick: i
|
|
5982
5995
|
}) => {
|
|
5983
5996
|
const s = e.useRef(null), [p, m] = e.useState("medium"), f = u(
|
|
5984
|
-
|
|
5997
|
+
Fe[Re],
|
|
5985
5998
|
{
|
|
5986
|
-
[
|
|
5987
|
-
[
|
|
5988
|
-
[
|
|
5999
|
+
[Fe[`${Re}--light`]]: l,
|
|
6000
|
+
[Fe[`${Re}--small`]]: p === "small",
|
|
6001
|
+
[Fe[`${Re}--large`]]: p === "large"
|
|
5989
6002
|
},
|
|
5990
6003
|
t
|
|
5991
6004
|
);
|
|
5992
6005
|
e.useEffect(() => {
|
|
5993
|
-
const
|
|
5994
|
-
|
|
5995
|
-
|
|
6006
|
+
const h = () => s.current && s.current.offsetWidth <= Hn ? m("small") : s.current && s.current.offsetWidth >= zn ? m("large") : m("medium"), v = n_(
|
|
6007
|
+
h,
|
|
6008
|
+
Wn
|
|
5996
6009
|
);
|
|
5997
|
-
return window.addEventListener("resize",
|
|
5998
|
-
|
|
6010
|
+
return window.addEventListener("resize", v), h(), () => {
|
|
6011
|
+
v.cancel(), window.removeEventListener("resize", v);
|
|
5999
6012
|
};
|
|
6000
6013
|
}, []);
|
|
6001
|
-
const b = /* @__PURE__ */ e.createElement("div", { className:
|
|
6014
|
+
const b = /* @__PURE__ */ e.createElement("div", { className: Fe[`${Re}__footer`] }, a && /* @__PURE__ */ e.createElement(
|
|
6002
6015
|
W,
|
|
6003
6016
|
{
|
|
6004
6017
|
kind: "primary",
|
|
6005
6018
|
size: "compact",
|
|
6006
6019
|
onClick: c,
|
|
6007
|
-
className:
|
|
6020
|
+
className: Fe[`${Re}__button-text`]
|
|
6008
6021
|
},
|
|
6009
6022
|
a
|
|
6010
6023
|
), n && /* @__PURE__ */ e.createElement(W, { size: "compact", kind: "text", onClick: i }, n));
|
|
6011
|
-
return /* @__PURE__ */ e.createElement("div", { ref: s, className: f }, /* @__PURE__ */ e.createElement("div", { className:
|
|
6024
|
+
return /* @__PURE__ */ e.createElement("div", { ref: s, className: f }, /* @__PURE__ */ e.createElement("div", { className: Fe[`${Re}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: Fe[`${Re}__img`] }), /* @__PURE__ */ e.createElement("div", { className: Fe[`${Re}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: Fe[`${Re}__header`] }, _), /* @__PURE__ */ e.createElement(B, { as: "div" }, r), p !== "large" && b), p === "large" && b), d && /* @__PURE__ */ e.createElement(
|
|
6012
6025
|
"button",
|
|
6013
6026
|
{
|
|
6014
6027
|
type: "button",
|
|
6015
|
-
className:
|
|
6028
|
+
className: Fe[`${Re}__close-icon`],
|
|
6016
6029
|
onClick: d
|
|
6017
6030
|
},
|
|
6018
6031
|
/* @__PURE__ */ e.createElement(x, { source: Ie, size: "large", kind: "primary" })
|
|
@@ -6027,7 +6040,7 @@ const aa = {
|
|
|
6027
6040
|
"promo-banner-v2__close": "lc-PromoBannerV2-module__promo-banner-v2__close___rOh-U",
|
|
6028
6041
|
"promo-banner-v2__close__btn": "lc-PromoBannerV2-module__promo-banner-v2__close__btn___5AZQC",
|
|
6029
6042
|
"promo-banner-v2--vertical": "lc-PromoBannerV2-module__promo-banner-v2--vertical___p0mSU"
|
|
6030
|
-
}, ut = "promo-banner-v2",
|
|
6043
|
+
}, ut = "promo-banner-v2", Bi = ({
|
|
6031
6044
|
children: t,
|
|
6032
6045
|
className: a,
|
|
6033
6046
|
additionalContent: r,
|
|
@@ -6103,7 +6116,7 @@ const aa = {
|
|
|
6103
6116
|
"radio-button__helper": "lc-RadioButton-module__radio-button__helper___r8gJJ",
|
|
6104
6117
|
"radio-button--selected": "lc-RadioButton-module__radio-button--selected___s9lqj",
|
|
6105
6118
|
"radio-button--disabled": "lc-RadioButton-module__radio-button--disabled___wHSA7"
|
|
6106
|
-
}, rt = "radio-button",
|
|
6119
|
+
}, rt = "radio-button", Ii = e.forwardRef(
|
|
6107
6120
|
(c, n) => {
|
|
6108
6121
|
var d = c, { children: t, className: a = "", description: r, checked: _, disabled: o } = d, l = D(d, ["children", "className", "description", "checked", "disabled"]);
|
|
6109
6122
|
const i = u(at[rt], a, {
|
|
@@ -6121,7 +6134,7 @@ const aa = {
|
|
|
6121
6134
|
})
|
|
6122
6135
|
)), t && /* @__PURE__ */ e.createElement(B, { as: "div", size: "md", className: at[`${rt}__text`] }, t)), r && /* @__PURE__ */ e.createElement(za, { className: at[`${rt}__helper`] }, r));
|
|
6123
6136
|
}
|
|
6124
|
-
),
|
|
6137
|
+
), Me = {
|
|
6125
6138
|
"search-input": "lc-Search-module__search-input___FsbCk",
|
|
6126
6139
|
"search-input--compact": "lc-Search-module__search-input--compact___498To",
|
|
6127
6140
|
"search-input--medium": "lc-Search-module__search-input--medium___Hwteg",
|
|
@@ -6135,7 +6148,7 @@ const aa = {
|
|
|
6135
6148
|
"search-input__loader": "lc-Search-module__search-input__loader___pkpIG",
|
|
6136
6149
|
"search-input__input-wrapper": "lc-Search-module__search-input__input-wrapper___k8bvn",
|
|
6137
6150
|
"search-input__input-wrapper--crop": "lc-Search-module__search-input__input-wrapper--crop___nBPKY"
|
|
6138
|
-
},
|
|
6151
|
+
}, Ve = "search-input", jr = `${Ve}__input-wrapper`, Ti = ({
|
|
6139
6152
|
isCollapsable: t,
|
|
6140
6153
|
isDisabled: a,
|
|
6141
6154
|
isLoading: r,
|
|
@@ -6146,14 +6159,14 @@ const aa = {
|
|
|
6146
6159
|
cropOnBlur: c = !0,
|
|
6147
6160
|
onChange: d
|
|
6148
6161
|
}) => {
|
|
6149
|
-
const [i, s] = e.useState(!0), [p, m] = e.useState(!1), f = e.useRef(null), b = !!l && !a && !r,
|
|
6162
|
+
const [i, s] = e.useState(!0), [p, m] = e.useState(!1), f = e.useRef(null), b = !!l && !a && !r, h = t && !i && "true", v = u(
|
|
6150
6163
|
n,
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
p &&
|
|
6154
|
-
a &&
|
|
6155
|
-
t &&
|
|
6156
|
-
!i &&
|
|
6164
|
+
Me[Ve],
|
|
6165
|
+
Me[`${Ve}--${o}`],
|
|
6166
|
+
p && Me[`${Ve}--focused`],
|
|
6167
|
+
a && Me[`${Ve}--disabled`],
|
|
6168
|
+
t && Me[`${Ve}--collapsable`],
|
|
6169
|
+
!i && Me[`${Ve}--collapsable--open`]
|
|
6157
6170
|
);
|
|
6158
6171
|
e.useEffect(() => {
|
|
6159
6172
|
t && l && s(!1);
|
|
@@ -6176,15 +6189,15 @@ const aa = {
|
|
|
6176
6189
|
return /* @__PURE__ */ e.createElement(
|
|
6177
6190
|
"div",
|
|
6178
6191
|
{
|
|
6179
|
-
"aria-expanded":
|
|
6192
|
+
"aria-expanded": h,
|
|
6180
6193
|
role: "search",
|
|
6181
|
-
className:
|
|
6194
|
+
className: v,
|
|
6182
6195
|
onClick: $
|
|
6183
6196
|
},
|
|
6184
6197
|
/* @__PURE__ */ e.createElement(
|
|
6185
6198
|
x,
|
|
6186
6199
|
{
|
|
6187
|
-
className:
|
|
6200
|
+
className: Me[`${Ve}__search-icon`],
|
|
6188
6201
|
source: V_,
|
|
6189
6202
|
disabled: a,
|
|
6190
6203
|
kind: "primary"
|
|
@@ -6195,8 +6208,8 @@ const aa = {
|
|
|
6195
6208
|
{
|
|
6196
6209
|
as: "div",
|
|
6197
6210
|
className: u(
|
|
6198
|
-
|
|
6199
|
-
c &&
|
|
6211
|
+
Me[jr],
|
|
6212
|
+
c && Me[`${jr}--crop`]
|
|
6200
6213
|
)
|
|
6201
6214
|
},
|
|
6202
6215
|
/* @__PURE__ */ e.createElement(
|
|
@@ -6220,25 +6233,25 @@ const aa = {
|
|
|
6220
6233
|
{
|
|
6221
6234
|
"aria-label": "Clear search",
|
|
6222
6235
|
title: "Clear search",
|
|
6223
|
-
className:
|
|
6236
|
+
className: Me[`${Ve}__clear-icon`],
|
|
6224
6237
|
onClick: E,
|
|
6225
6238
|
icon: /* @__PURE__ */ e.createElement(x, { source: Ie, kind: "primary" }),
|
|
6226
6239
|
kind: "text",
|
|
6227
6240
|
size: "compact"
|
|
6228
6241
|
}
|
|
6229
6242
|
),
|
|
6230
|
-
r && /* @__PURE__ */ e.createElement("div", { className:
|
|
6243
|
+
r && /* @__PURE__ */ e.createElement("div", { className: Me[`${Ve}__loader`] }, /* @__PURE__ */ e.createElement(Cr, { size: "small" }))
|
|
6231
6244
|
);
|
|
6232
|
-
},
|
|
6245
|
+
}, Vn = "lc-Skeleton-module__loading___MHvGo", Ct = {
|
|
6233
6246
|
"skeleton-wrapper": "lc-Skeleton-module__skeleton-wrapper___MXuR8",
|
|
6234
6247
|
"skeleton-wrapper--vertical": "lc-Skeleton-module__skeleton-wrapper--vertical___H3weP",
|
|
6235
6248
|
"skeleton-avatar": "lc-Skeleton-module__skeleton-avatar___qWzIc",
|
|
6236
6249
|
"skeleton-avatar--square": "lc-Skeleton-module__skeleton-avatar--square___GNIE4",
|
|
6237
6250
|
"skeleton-avatar--animated": "lc-Skeleton-module__skeleton-avatar--animated___rqj9A",
|
|
6238
|
-
loading:
|
|
6251
|
+
loading: Vn,
|
|
6239
6252
|
"skeleton-text": "lc-Skeleton-module__skeleton-text___rgElk",
|
|
6240
6253
|
"skeleton-text--animated": "lc-Skeleton-module__skeleton-text--animated___xOUsy"
|
|
6241
|
-
}, Qr = "skeleton-wrapper",
|
|
6254
|
+
}, Qr = "skeleton-wrapper", Di = (o) => {
|
|
6242
6255
|
var l = o, {
|
|
6243
6256
|
children: t,
|
|
6244
6257
|
vertical: a,
|
|
@@ -6260,7 +6273,7 @@ const aa = {
|
|
|
6260
6273
|
}, _),
|
|
6261
6274
|
n
|
|
6262
6275
|
);
|
|
6263
|
-
}, nr = "skeleton-avatar",
|
|
6276
|
+
}, nr = "skeleton-avatar", Pi = ({
|
|
6264
6277
|
square: t = !1,
|
|
6265
6278
|
size: a = 16,
|
|
6266
6279
|
animated: r
|
|
@@ -6276,7 +6289,7 @@ const aa = {
|
|
|
6276
6289
|
height: a
|
|
6277
6290
|
}
|
|
6278
6291
|
}
|
|
6279
|
-
), e_ = "skeleton-text",
|
|
6292
|
+
), e_ = "skeleton-text", Ai = ({
|
|
6280
6293
|
height: t = 13,
|
|
6281
6294
|
width: a,
|
|
6282
6295
|
animated: r
|
|
@@ -6305,7 +6318,7 @@ const aa = {
|
|
|
6305
6318
|
"status-badge--offline": "lc-StatusBadge-module__status-badge--offline___0BHxn",
|
|
6306
6319
|
"status-badge--accept": "lc-StatusBadge-module__status-badge--accept___6g3cx",
|
|
6307
6320
|
"status-badge--not-accept": "lc-StatusBadge-module__status-badge--not-accept___tUgKD"
|
|
6308
|
-
}, ir = "status-badge",
|
|
6321
|
+
}, ir = "status-badge", Fi = (o) => {
|
|
6309
6322
|
var l = o, {
|
|
6310
6323
|
className: t,
|
|
6311
6324
|
kind: a = "offline",
|
|
@@ -6322,7 +6335,7 @@ const aa = {
|
|
|
6322
6335
|
t
|
|
6323
6336
|
);
|
|
6324
6337
|
return /* @__PURE__ */ e.createElement("span", k({ className: n }, _));
|
|
6325
|
-
},
|
|
6338
|
+
}, Kn = "lc-Switch-module__switch__input___NiiOR", Yn = "lc-Switch-module__switch__container___79F7W", qn = "lc-Switch-module__switch__track___2wr2M", Zn = "lc-Switch-module__switch__slider___WHd--", Xn = "lc-Switch-module__switch__loader___FE-fA", Jn = "lc-Switch-module__switch__icon___-O1qY", ae = {
|
|
6326
6339
|
switch: "lc-Switch-module__switch___AaA2k",
|
|
6327
6340
|
"switch__track--enabled": "lc-Switch-module__switch__track--enabled___sy4Xl",
|
|
6328
6341
|
"switch__track--on": "lc-Switch-module__switch__track--on___aOMWe",
|
|
@@ -6331,13 +6344,13 @@ const aa = {
|
|
|
6331
6344
|
"switch--compact": "lc-Switch-module__switch--compact___OGFIX",
|
|
6332
6345
|
"switch--medium": "lc-Switch-module__switch--medium___EcZwT",
|
|
6333
6346
|
"switch--focused": "lc-Switch-module__switch--focused___P9d9S",
|
|
6334
|
-
switch__input:
|
|
6347
|
+
switch__input: Kn,
|
|
6335
6348
|
"switch__input--disabled": "lc-Switch-module__switch__input--disabled___Po8gh",
|
|
6336
|
-
switch__container:
|
|
6337
|
-
switch__track:
|
|
6349
|
+
switch__container: Yn,
|
|
6350
|
+
switch__track: qn,
|
|
6338
6351
|
"switch__container--focused": "lc-Switch-module__switch__container--focused___bKy79",
|
|
6339
6352
|
"switch__track--disabled": "lc-Switch-module__switch__track--disabled___HkDhl",
|
|
6340
|
-
switch__slider:
|
|
6353
|
+
switch__slider: Zn,
|
|
6341
6354
|
"switch__slider--large": "lc-Switch-module__switch__slider--large___WoEgi",
|
|
6342
6355
|
"switch__slider--large--on": "lc-Switch-module__switch__slider--large--on___7Qp3G",
|
|
6343
6356
|
"switch__slider--large--off": "lc-Switch-module__switch__slider--large--off___iRMmD",
|
|
@@ -6348,12 +6361,12 @@ const aa = {
|
|
|
6348
6361
|
"switch__slider--medium--on": "lc-Switch-module__switch__slider--medium--on___SfeAV",
|
|
6349
6362
|
"switch__slider--medium--off": "lc-Switch-module__switch__slider--medium--off___eXJJz",
|
|
6350
6363
|
"switch__slider--disabled": "lc-Switch-module__switch__slider--disabled___A6hPg",
|
|
6351
|
-
switch__loader:
|
|
6364
|
+
switch__loader: Xn,
|
|
6352
6365
|
"switch__loader--compact": "lc-Switch-module__switch__loader--compact___3imUh",
|
|
6353
6366
|
"switch__loader--medium": "lc-Switch-module__switch__loader--medium___2zi05",
|
|
6354
6367
|
"switch__loader--large": "lc-Switch-module__switch__loader--large___vLRFa",
|
|
6355
|
-
switch__icon:
|
|
6356
|
-
}, te = "switch",
|
|
6368
|
+
switch__icon: Jn
|
|
6369
|
+
}, te = "switch", Ri = (p) => {
|
|
6357
6370
|
var m = p, {
|
|
6358
6371
|
className: t = "",
|
|
6359
6372
|
defaultOn: a = !1,
|
|
@@ -6377,17 +6390,17 @@ const aa = {
|
|
|
6377
6390
|
"innerRef",
|
|
6378
6391
|
"ariaLabel"
|
|
6379
6392
|
]);
|
|
6380
|
-
const f = o !== void 0, [b,
|
|
6393
|
+
const f = o !== void 0, [b, h] = e.useState(
|
|
6381
6394
|
() => f ? o : a
|
|
6382
|
-
), [
|
|
6395
|
+
), [v, y] = e.useState(!1), E = f ? o : b, $ = c === "loading", w = c === "locked", C = n === "large" ? "small" : "xsmall", g = E ? "on" : "off", N = r || $ || w, S = N ? "disabled" : "enabled", M = u(
|
|
6383
6396
|
ae[te],
|
|
6384
6397
|
ae[`${te}--${n}`],
|
|
6385
6398
|
{
|
|
6386
|
-
[ae[`${te}--focused`]]:
|
|
6399
|
+
[ae[`${te}--focused`]]: v
|
|
6387
6400
|
},
|
|
6388
6401
|
t
|
|
6389
6402
|
), G = (I) => {
|
|
6390
|
-
l == null || l(I, !E), f || (I.stopPropagation(),
|
|
6403
|
+
l == null || l(I, !E), f || (I.stopPropagation(), h((O) => !O));
|
|
6391
6404
|
};
|
|
6392
6405
|
return /* @__PURE__ */ e.createElement("span", { className: M }, /* @__PURE__ */ e.createElement(
|
|
6393
6406
|
"input",
|
|
@@ -6411,7 +6424,7 @@ const aa = {
|
|
|
6411
6424
|
"span",
|
|
6412
6425
|
{
|
|
6413
6426
|
className: u(ae[`${te}__container`], {
|
|
6414
|
-
[ae[`${te}__container--focused`]]:
|
|
6427
|
+
[ae[`${te}__container--focused`]]: v
|
|
6415
6428
|
})
|
|
6416
6429
|
},
|
|
6417
6430
|
/* @__PURE__ */ e.createElement(
|
|
@@ -6456,17 +6469,17 @@ const aa = {
|
|
|
6456
6469
|
)
|
|
6457
6470
|
)
|
|
6458
6471
|
));
|
|
6459
|
-
},
|
|
6460
|
-
tab:
|
|
6461
|
-
tab__count:
|
|
6472
|
+
}, jn = "lc-Tab-module__tab___fME7u", Qn = "lc-Tab-module__tab__count___gc8tA", ec = "lc-Tab-module__tab__icon___wvUqO", tc = "lc-Tab-module__tab__badge___W9c-T", yt = {
|
|
6473
|
+
tab: jn,
|
|
6474
|
+
tab__count: Qn,
|
|
6462
6475
|
"tab--compact": "lc-Tab-module__tab--compact___4qead",
|
|
6463
6476
|
"tab--medium": "lc-Tab-module__tab--medium___bHnGV",
|
|
6464
6477
|
"tab--large": "lc-Tab-module__tab--large___JL30g",
|
|
6465
|
-
tab__icon:
|
|
6466
|
-
tab__badge:
|
|
6478
|
+
tab__icon: ec,
|
|
6479
|
+
tab__badge: tc,
|
|
6467
6480
|
"tab--selected": "lc-Tab-module__tab--selected___c0EkL",
|
|
6468
6481
|
"tab--disabled": "lc-Tab-module__tab--disabled___URdTh"
|
|
6469
|
-
}, wt = "tab",
|
|
6482
|
+
}, wt = "tab", Mi = (d) => {
|
|
6470
6483
|
var i = d, {
|
|
6471
6484
|
children: t,
|
|
6472
6485
|
className: a,
|
|
@@ -6513,13 +6526,13 @@ const aa = {
|
|
|
6513
6526
|
}
|
|
6514
6527
|
)
|
|
6515
6528
|
);
|
|
6516
|
-
},
|
|
6517
|
-
tabs:
|
|
6518
|
-
tabs__list:
|
|
6519
|
-
}, C_ = "tabs",
|
|
6529
|
+
}, ac = "lc-TabsWrapper-module__tabs___Y2xyD", rc = "lc-TabsWrapper-module__tabs__list___i6tVO", w_ = {
|
|
6530
|
+
tabs: ac,
|
|
6531
|
+
tabs__list: rc
|
|
6532
|
+
}, C_ = "tabs", Li = ({
|
|
6520
6533
|
className: t,
|
|
6521
6534
|
children: a
|
|
6522
|
-
}) => /* @__PURE__ */ e.createElement("div", { className: u(w_[C_], t) }, a),
|
|
6535
|
+
}) => /* @__PURE__ */ e.createElement("div", { className: u(w_[C_], t) }, a), Oi = ({
|
|
6523
6536
|
className: t,
|
|
6524
6537
|
children: a
|
|
6525
6538
|
}) => /* @__PURE__ */ e.createElement("div", { role: "tablist", className: u(w_[`${C_}__list`], t) }, a), la = {
|
|
@@ -6529,7 +6542,7 @@ const aa = {
|
|
|
6529
6542
|
"tag-input__input--medium": "lc-TagInput-module__tag-input__input--medium___DYF7X",
|
|
6530
6543
|
"tag-input__input--large": "lc-TagInput-module__tag-input__input--large___G6iEO",
|
|
6531
6544
|
"tag-input__tag__content": "lc-TagInput-module__tag-input__tag__content___x95-M"
|
|
6532
|
-
},
|
|
6545
|
+
}, _c = ({
|
|
6533
6546
|
className: t = "",
|
|
6534
6547
|
innerEditableRef: a,
|
|
6535
6548
|
inputRef: r,
|
|
@@ -6559,8 +6572,8 @@ const aa = {
|
|
|
6559
6572
|
}
|
|
6560
6573
|
}, f = (b) => {
|
|
6561
6574
|
b.preventDefault();
|
|
6562
|
-
const
|
|
6563
|
-
document.execCommand("insertHTML", !1, Dr(
|
|
6575
|
+
const h = b.clipboardData.getData("text/plain");
|
|
6576
|
+
document.execCommand("insertHTML", !1, Dr(h));
|
|
6564
6577
|
};
|
|
6565
6578
|
return /* @__PURE__ */ e.createElement(
|
|
6566
6579
|
"div",
|
|
@@ -6574,7 +6587,7 @@ const aa = {
|
|
|
6574
6587
|
dangerouslySetInnerHTML: { __html: Dr(l) }
|
|
6575
6588
|
}
|
|
6576
6589
|
);
|
|
6577
|
-
},
|
|
6590
|
+
}, oc = "tag-input__tag", t_ = ({
|
|
6578
6591
|
children: t,
|
|
6579
6592
|
index: a,
|
|
6580
6593
|
remove: r,
|
|
@@ -6586,24 +6599,24 @@ const aa = {
|
|
|
6586
6599
|
}) => {
|
|
6587
6600
|
const d = e.useMemo(() => _ !== void 0 ? _(t) : !0, [t, _]), i = e.useRef(null), s = () => r(a), p = () => d ? c ? c.kind : "default" : "error";
|
|
6588
6601
|
return /* @__PURE__ */ e.createElement(h_, T(k({ size: n }, c), { kind: p(), onRemove: s }), /* @__PURE__ */ e.createElement(
|
|
6589
|
-
|
|
6602
|
+
_c,
|
|
6590
6603
|
{
|
|
6591
6604
|
value: t,
|
|
6592
6605
|
inputRef: o,
|
|
6593
6606
|
innerEditableRef: i,
|
|
6594
|
-
className: la[`${
|
|
6607
|
+
className: la[`${oc}__content`],
|
|
6595
6608
|
change: (m) => l(a, m),
|
|
6596
6609
|
remove: s,
|
|
6597
6610
|
validator: _
|
|
6598
6611
|
}
|
|
6599
6612
|
));
|
|
6600
|
-
}, Da = "tag-input",
|
|
6613
|
+
}, Da = "tag-input", lc = [
|
|
6601
6614
|
de.enter,
|
|
6602
6615
|
de.spacebar,
|
|
6603
6616
|
de.tab,
|
|
6604
6617
|
de.semicolon,
|
|
6605
6618
|
de.comma
|
|
6606
|
-
],
|
|
6619
|
+
], nc = [de.backspace, de.delete], cc = (m) => {
|
|
6607
6620
|
var f = m, {
|
|
6608
6621
|
id: t,
|
|
6609
6622
|
tags: a,
|
|
@@ -6635,31 +6648,31 @@ const aa = {
|
|
|
6635
6648
|
[la[`${Da}--error`]]: o
|
|
6636
6649
|
},
|
|
6637
6650
|
c
|
|
6638
|
-
),
|
|
6651
|
+
), h = u(
|
|
6639
6652
|
d,
|
|
6640
6653
|
la[`${Da}__input`],
|
|
6641
6654
|
la[`${Da}__input--${n}`]
|
|
6642
|
-
), [
|
|
6655
|
+
), [v, y] = e.useState(""), E = e.useRef(null), $ = (I) => {
|
|
6643
6656
|
I.trim() !== "" && (r([...a || [], I]), y(""));
|
|
6644
6657
|
}, w = (I) => {
|
|
6645
6658
|
const O = [...a || []];
|
|
6646
6659
|
O.splice(I, 1), r(O);
|
|
6647
6660
|
}, C = (I) => y(I.target.value), g = (I) => {
|
|
6648
|
-
if (
|
|
6649
|
-
if (I.preventDefault(),
|
|
6661
|
+
if (lc.includes(I.key)) {
|
|
6662
|
+
if (I.preventDefault(), v === "")
|
|
6650
6663
|
return;
|
|
6651
|
-
$(
|
|
6652
|
-
} else if (
|
|
6653
|
-
if (
|
|
6664
|
+
$(v);
|
|
6665
|
+
} else if (nc.includes(I.key)) {
|
|
6666
|
+
if (v !== "" || !(a != null && a.length))
|
|
6654
6667
|
return;
|
|
6655
6668
|
w(a.length - 1);
|
|
6656
6669
|
}
|
|
6657
6670
|
}, N = (I) => {
|
|
6658
|
-
s && $(
|
|
6671
|
+
s && $(v), i == null || i(I);
|
|
6659
6672
|
}, S = (I, O) => {
|
|
6660
6673
|
const Y = [...a || []];
|
|
6661
6674
|
Y.reduce(
|
|
6662
|
-
(L, U,
|
|
6675
|
+
(L, U, ue) => L + (U === O && ue !== I ? 1 : 0),
|
|
6663
6676
|
0
|
|
6664
6677
|
) > 0 ? Y.splice(I, 1) : Y[I] = O, r(Y);
|
|
6665
6678
|
}, M = (I) => {
|
|
@@ -6697,27 +6710,27 @@ const aa = {
|
|
|
6697
6710
|
T(k({}, p), {
|
|
6698
6711
|
id: t,
|
|
6699
6712
|
ref: E,
|
|
6700
|
-
className:
|
|
6713
|
+
className: h,
|
|
6701
6714
|
placeholder: l,
|
|
6702
|
-
value:
|
|
6715
|
+
value: v,
|
|
6703
6716
|
onChange: C,
|
|
6704
6717
|
onKeyDown: g,
|
|
6705
6718
|
onPaste: M,
|
|
6706
6719
|
onBlur: N
|
|
6707
6720
|
})
|
|
6708
6721
|
)), o && /* @__PURE__ */ e.createElement(Sr, null, o));
|
|
6709
|
-
},
|
|
6722
|
+
}, ic = /^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)])$/i, sc = "name@company.com", dc = (t) => ic.test(t), Gi = (r) => {
|
|
6710
6723
|
var _ = r, {
|
|
6711
|
-
placeholder: t =
|
|
6724
|
+
placeholder: t = sc
|
|
6712
6725
|
} = _, a = D(_, [
|
|
6713
6726
|
"placeholder"
|
|
6714
6727
|
]);
|
|
6715
|
-
return /* @__PURE__ */ e.createElement(
|
|
6716
|
-
},
|
|
6717
|
-
toast:
|
|
6718
|
-
toast__content:
|
|
6719
|
-
toast__actions:
|
|
6720
|
-
toast__actions__button:
|
|
6728
|
+
return /* @__PURE__ */ e.createElement(cc, T(k({}, a), { placeholder: t, validator: dc }));
|
|
6729
|
+
}, uc = "lc-Toast-module__toast___j5Amn", mc = "lc-Toast-module__toast__content___HjaNw", pc = "lc-Toast-module__toast__actions___JWu-1", gc = "lc-Toast-module__toast__actions__button___Iblrl", re = {
|
|
6730
|
+
toast: uc,
|
|
6731
|
+
toast__content: mc,
|
|
6732
|
+
toast__actions: pc,
|
|
6733
|
+
toast__actions__button: gc,
|
|
6721
6734
|
"toast__actions__button--success": "lc-Toast-module__toast__actions__button--success___5JmFw",
|
|
6722
6735
|
"toast__actions__button--warning": "lc-Toast-module__toast__actions__button--warning___zGQ-Q",
|
|
6723
6736
|
"toast__actions__button--error": "lc-Toast-module__toast__actions__button--error___PuTv3",
|
|
@@ -6743,7 +6756,7 @@ const aa = {
|
|
|
6743
6756
|
"toast-appear-active--fade": "lc-Toast-module__toast-appear-active--fade___D3--J",
|
|
6744
6757
|
"toast-exit--fade": "lc-Toast-module__toast-exit--fade___iDA1p",
|
|
6745
6758
|
"toast-exit-active--fade": "lc-Toast-module__toast-exit-active--fade___tL7sb"
|
|
6746
|
-
},
|
|
6759
|
+
}, fc = {
|
|
6747
6760
|
success: {
|
|
6748
6761
|
source: vr
|
|
6749
6762
|
},
|
|
@@ -6756,7 +6769,7 @@ const aa = {
|
|
|
6756
6769
|
info: {
|
|
6757
6770
|
source: ca
|
|
6758
6771
|
}
|
|
6759
|
-
}, mt = "toast",
|
|
6772
|
+
}, mt = "toast", bc = (c) => {
|
|
6760
6773
|
var d = c, {
|
|
6761
6774
|
action: t,
|
|
6762
6775
|
className: a,
|
|
@@ -6777,7 +6790,7 @@ const aa = {
|
|
|
6777
6790
|
re[`${mt}--${o}`],
|
|
6778
6791
|
a
|
|
6779
6792
|
), s = typeof r == "string", p = (m) => m && m.closesOnClick && l ? (m.onClick(), l()) : m.onClick();
|
|
6780
|
-
return /* @__PURE__ */ e.createElement("div", k({ className: i }, n), /* @__PURE__ */ e.createElement("div", { className: re[`${mt}__icon`] }, /* @__PURE__ */ e.createElement(x, T(k({},
|
|
6793
|
+
return /* @__PURE__ */ e.createElement("div", k({ className: i }, n), /* @__PURE__ */ e.createElement("div", { className: re[`${mt}__icon`] }, /* @__PURE__ */ e.createElement(x, T(k({}, fc[o]), { size: "medium" }))), /* @__PURE__ */ e.createElement("div", { className: re[`${mt}__content`] }, s ? /* @__PURE__ */ e.createElement(B, { as: "div" }, r) : r), (t || _) && /* @__PURE__ */ e.createElement("div", { className: re[`${mt}__actions`] }, t && /* @__PURE__ */ e.createElement(
|
|
6781
6794
|
W,
|
|
6782
6795
|
{
|
|
6783
6796
|
className: re[`${mt}__actions--custom`],
|
|
@@ -6798,7 +6811,7 @@ const aa = {
|
|
|
6798
6811
|
},
|
|
6799
6812
|
/* @__PURE__ */ e.createElement(x, { source: Ie, size: "medium" })
|
|
6800
6813
|
)));
|
|
6801
|
-
},
|
|
6814
|
+
}, hc = 200, _a = "toast-wrapper", Ui = ({
|
|
6802
6815
|
className: t,
|
|
6803
6816
|
toasts: a = [],
|
|
6804
6817
|
fixed: r = !0,
|
|
@@ -6827,10 +6840,10 @@ const aa = {
|
|
|
6827
6840
|
exit: re[`toast-exit--${o}`],
|
|
6828
6841
|
exitActive: re[`toast-exit-active--${o}`]
|
|
6829
6842
|
},
|
|
6830
|
-
timeout:
|
|
6843
|
+
timeout: hc
|
|
6831
6844
|
},
|
|
6832
6845
|
/* @__PURE__ */ e.createElement(
|
|
6833
|
-
|
|
6846
|
+
bc,
|
|
6834
6847
|
{
|
|
6835
6848
|
kind: i,
|
|
6836
6849
|
onClose: f,
|
|
@@ -6840,12 +6853,12 @@ const aa = {
|
|
|
6840
6853
|
s
|
|
6841
6854
|
)
|
|
6842
6855
|
))));
|
|
6843
|
-
},
|
|
6844
|
-
textarea:
|
|
6856
|
+
}, vc = "lc-Textarea-module__textarea___g6U8F", Pa = {
|
|
6857
|
+
textarea: vc,
|
|
6845
6858
|
"textarea--focused": "lc-Textarea-module__textarea--focused___1vtEx",
|
|
6846
6859
|
"textarea--disabled": "lc-Textarea-module__textarea--disabled___xXaGv",
|
|
6847
6860
|
"textarea--error": "lc-Textarea-module__textarea--error___0EGuq"
|
|
6848
|
-
}, Aa = "textarea",
|
|
6861
|
+
}, Aa = "textarea", Hi = e.forwardRef(
|
|
6849
6862
|
(o, _) => {
|
|
6850
6863
|
var l = o, { className: t, error: a } = l, r = D(l, ["className", "error"]);
|
|
6851
6864
|
const { disabled: n, onBlur: c, onFocus: d } = r, [i, s] = e.useState(!1), p = u(t, Pa[Aa], {
|
|
@@ -6866,9 +6879,9 @@ const aa = {
|
|
|
6866
6879
|
})
|
|
6867
6880
|
));
|
|
6868
6881
|
}
|
|
6869
|
-
),
|
|
6882
|
+
), kc = {
|
|
6870
6883
|
"update-badge": "lc-UpdateBadge-module__update-badge___Y-CXQ"
|
|
6871
|
-
},
|
|
6884
|
+
}, Ec = "update-badge", zi = () => /* @__PURE__ */ e.createElement("span", { className: kc[Ec] }), sr = {
|
|
6872
6885
|
"file-upload-progress-actions": "lc-FileUploadProgressActions-module__file-upload-progress-actions___qOBr2",
|
|
6873
6886
|
"file-upload-progress-actions__close-button": "lc-FileUploadProgressActions-module__file-upload-progress-actions__close-button___Eh4um",
|
|
6874
6887
|
"file-upload-progress-actions__retry-button": "lc-FileUploadProgressActions-module__file-upload-progress-actions__retry-button___DqFEo"
|
|
@@ -6890,7 +6903,7 @@ const aa = {
|
|
|
6890
6903
|
onClick: a
|
|
6891
6904
|
},
|
|
6892
6905
|
/* @__PURE__ */ e.createElement(x, { size: "small", source: Ie })
|
|
6893
|
-
)),
|
|
6906
|
+
)), Le = {
|
|
6894
6907
|
"file-upload-progress": "lc-FileUploadProgress-module__file-upload-progress___xw8h8",
|
|
6895
6908
|
"file-upload-progress__icon": "lc-FileUploadProgress-module__file-upload-progress__icon___p8Rfz",
|
|
6896
6909
|
"file-upload-progress__icon--success": "lc-FileUploadProgress-module__file-upload-progress__icon--success___X40uH",
|
|
@@ -6901,7 +6914,7 @@ const aa = {
|
|
|
6901
6914
|
"file-upload-progress__wrapper__header__title": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title___2IVuv",
|
|
6902
6915
|
"file-upload-progress__wrapper__header__title--success": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--success___E6DQl",
|
|
6903
6916
|
"file-upload-progress__wrapper__header__title--error": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--error___5BPpI"
|
|
6904
|
-
}, _t = "file-upload-progress", ur = `${_t}__wrapper__header__title`,
|
|
6917
|
+
}, _t = "file-upload-progress", ur = `${_t}__wrapper__header__title`, yc = e.forwardRef(
|
|
6905
6918
|
({
|
|
6906
6919
|
actionsVisibility: t = "hidden",
|
|
6907
6920
|
className: a,
|
|
@@ -6912,28 +6925,28 @@ const aa = {
|
|
|
6912
6925
|
status: n = "normal",
|
|
6913
6926
|
onCloseButtonClick: c,
|
|
6914
6927
|
onRetryButtonClick: d
|
|
6915
|
-
}, i) => /* @__PURE__ */ e.createElement("div", { className:
|
|
6928
|
+
}, i) => /* @__PURE__ */ e.createElement("div", { className: Le[_t], ref: i }, r && n !== "success" && /* @__PURE__ */ e.createElement("div", { className: Le[`${_t}__icon`] }, r), n === "success" && /* @__PURE__ */ e.createElement(
|
|
6916
6929
|
"div",
|
|
6917
6930
|
{
|
|
6918
6931
|
className: u(
|
|
6919
|
-
|
|
6920
|
-
|
|
6932
|
+
Le[`${_t}__icon`],
|
|
6933
|
+
Le[`${_t}__icon--success`]
|
|
6921
6934
|
)
|
|
6922
6935
|
},
|
|
6923
6936
|
/* @__PURE__ */ e.createElement(x, { source: ia })
|
|
6924
6937
|
), /* @__PURE__ */ e.createElement(
|
|
6925
6938
|
"div",
|
|
6926
6939
|
{
|
|
6927
|
-
className: u(
|
|
6928
|
-
[
|
|
6940
|
+
className: u(Le[`${_t}__wrapper`], {
|
|
6941
|
+
[Le[`${_t}__wrapper--with-icon`]]: r
|
|
6929
6942
|
})
|
|
6930
6943
|
},
|
|
6931
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
6944
|
+
/* @__PURE__ */ e.createElement("div", { className: Le[`${_t}__wrapper__header`] }, _ && /* @__PURE__ */ e.createElement(
|
|
6932
6945
|
"div",
|
|
6933
6946
|
{
|
|
6934
|
-
className: u(
|
|
6935
|
-
[
|
|
6936
|
-
[
|
|
6947
|
+
className: u(Le[ur], {
|
|
6948
|
+
[Le[`${ur}--success`]]: n === "success",
|
|
6949
|
+
[Le[`${ur}--error`]]: n === "error"
|
|
6937
6950
|
})
|
|
6938
6951
|
},
|
|
6939
6952
|
/* @__PURE__ */ e.createElement(B, { size: "sm", as: "div" }, _)
|
|
@@ -6941,7 +6954,7 @@ const aa = {
|
|
|
6941
6954
|
"div",
|
|
6942
6955
|
{
|
|
6943
6956
|
className: u({
|
|
6944
|
-
[
|
|
6957
|
+
[Le[`${_t}__wrapper__header__actions`]]: t === "hover"
|
|
6945
6958
|
})
|
|
6946
6959
|
},
|
|
6947
6960
|
/* @__PURE__ */ e.createElement(
|
|
@@ -6954,7 +6967,7 @@ const aa = {
|
|
|
6954
6967
|
)
|
|
6955
6968
|
)),
|
|
6956
6969
|
n !== "success" && /* @__PURE__ */ e.createElement(
|
|
6957
|
-
|
|
6970
|
+
Un,
|
|
6958
6971
|
{
|
|
6959
6972
|
className: a,
|
|
6960
6973
|
percent: o,
|
|
@@ -6984,7 +6997,7 @@ const aa = {
|
|
|
6984
6997
|
"upload-bar__files--exit-done": "lc-UploadBar-module__upload-bar__files--exit-done___2I72G",
|
|
6985
6998
|
"upload-bar__files-wrapper": "lc-UploadBar-module__upload-bar__files-wrapper___93bs8",
|
|
6986
6999
|
"upload-bar__files__list": "lc-UploadBar-module__upload-bar__files__list___QJFEq"
|
|
6987
|
-
},
|
|
7000
|
+
}, Ee = "upload-bar", ot = `${Ee}__wrapper__header`, wc = 300, Cc = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement(
|
|
6988
7001
|
"div",
|
|
6989
7002
|
{
|
|
6990
7003
|
"data-testid": "success-icon",
|
|
@@ -6999,13 +7012,13 @@ const aa = {
|
|
|
6999
7012
|
},
|
|
7000
7013
|
/* @__PURE__ */ e.createElement(x, { source: q_ })
|
|
7001
7014
|
) : /* @__PURE__ */ e.createElement(
|
|
7002
|
-
|
|
7015
|
+
Gn,
|
|
7003
7016
|
{
|
|
7004
7017
|
className: K[`${ot}__loader`],
|
|
7005
7018
|
status: t,
|
|
7006
7019
|
progressValue: a
|
|
7007
7020
|
}
|
|
7008
|
-
),
|
|
7021
|
+
), Wi = ({
|
|
7009
7022
|
children: t,
|
|
7010
7023
|
className: a,
|
|
7011
7024
|
progressValue: r,
|
|
@@ -7019,12 +7032,12 @@ const aa = {
|
|
|
7019
7032
|
onCloseButtonClick: s,
|
|
7020
7033
|
onRetryButtonClick: p
|
|
7021
7034
|
}) => {
|
|
7022
|
-
const [m, f] = e.useState(o || !1), b = n === "error",
|
|
7023
|
-
[K[`${
|
|
7024
|
-
[K[`${
|
|
7035
|
+
const [m, f] = e.useState(o || !1), b = n === "error", h = n === "success", v = u(K[Ee], a, {
|
|
7036
|
+
[K[`${Ee}--error`]]: b,
|
|
7037
|
+
[K[`${Ee}--success`]]: h
|
|
7025
7038
|
}), y = !(b && (p || s)), E = () => f(!m);
|
|
7026
|
-
return i === "single" ? /* @__PURE__ */ e.createElement("div", { className:
|
|
7027
|
-
|
|
7039
|
+
return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: v }, /* @__PURE__ */ e.createElement("div", { className: K[`${Ee}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement(
|
|
7040
|
+
yc,
|
|
7028
7041
|
{
|
|
7029
7042
|
title: b && l || _,
|
|
7030
7043
|
progressValue: r,
|
|
@@ -7039,13 +7052,13 @@ const aa = {
|
|
|
7039
7052
|
onCloseButtonClick: s,
|
|
7040
7053
|
onRetryButtonClick: p
|
|
7041
7054
|
}
|
|
7042
|
-
))) : /* @__PURE__ */ e.createElement("div", { className:
|
|
7055
|
+
))) : /* @__PURE__ */ e.createElement("div", { className: v }, /* @__PURE__ */ e.createElement(
|
|
7043
7056
|
"div",
|
|
7044
7057
|
{
|
|
7045
|
-
className: K[`${
|
|
7058
|
+
className: K[`${Ee}__wrapper`],
|
|
7046
7059
|
onClick: E
|
|
7047
7060
|
},
|
|
7048
|
-
/* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}__icon`] },
|
|
7061
|
+
/* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}__icon`] }, Cc(n, r)), /* @__PURE__ */ e.createElement("div", { className: K[`${ot}__title`] }, /* @__PURE__ */ e.createElement(B, { size: "sm", as: "div" }, b ? l : _)), y && /* @__PURE__ */ e.createElement(
|
|
7049
7062
|
"button",
|
|
7050
7063
|
{
|
|
7051
7064
|
className: K[`${ot}__collapse-button`],
|
|
@@ -7065,115 +7078,115 @@ const aa = {
|
|
|
7065
7078
|
), /* @__PURE__ */ e.createElement(c_, { component: null }, m && /* @__PURE__ */ e.createElement(
|
|
7066
7079
|
i_,
|
|
7067
7080
|
{
|
|
7068
|
-
timeout:
|
|
7081
|
+
timeout: wc,
|
|
7069
7082
|
classNames: {
|
|
7070
|
-
enter: K[`${
|
|
7071
|
-
enterActive: K[`${
|
|
7072
|
-
exit: K[`${
|
|
7073
|
-
exitActive: K[`${
|
|
7074
|
-
exitDone: K[`${
|
|
7083
|
+
enter: K[`${Ee}__files--enter`],
|
|
7084
|
+
enterActive: K[`${Ee}__files--enter-active`],
|
|
7085
|
+
exit: K[`${Ee}__files--exit`],
|
|
7086
|
+
exitActive: K[`${Ee}__files--exit-active`],
|
|
7087
|
+
exitDone: K[`${Ee}__files--exit-done`]
|
|
7075
7088
|
}
|
|
7076
7089
|
},
|
|
7077
|
-
/* @__PURE__ */ e.createElement("div", { className: K[`${
|
|
7090
|
+
/* @__PURE__ */ e.createElement("div", { className: K[`${Ee}__files`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${Ee}__files-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${Ee}__files__list`] }, t)))
|
|
7078
7091
|
)));
|
|
7079
7092
|
};
|
|
7080
7093
|
export {
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7094
|
+
hc as ANIMATION_TIME,
|
|
7095
|
+
jc as ActionBar,
|
|
7096
|
+
Qc as ActionCard,
|
|
7084
7097
|
mo as ActionMenu,
|
|
7085
7098
|
po as ActionMenuItem,
|
|
7086
|
-
|
|
7087
|
-
|
|
7088
|
-
|
|
7099
|
+
Ei as ActionModalContent,
|
|
7100
|
+
ei as Alert,
|
|
7101
|
+
ti as AppFrame,
|
|
7089
7102
|
co as AppFrameProvider,
|
|
7090
7103
|
il as Avatar,
|
|
7091
7104
|
Ra as Badge,
|
|
7092
7105
|
W as Button,
|
|
7093
|
-
|
|
7106
|
+
ci as Card,
|
|
7094
7107
|
Dl as Checkbox,
|
|
7095
7108
|
Ol as DatePicker,
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
-
|
|
7101
|
-
|
|
7109
|
+
ii as DatePickerRangeCalendarsWrapper,
|
|
7110
|
+
Lc as DesignToken,
|
|
7111
|
+
si as DetailsCard,
|
|
7112
|
+
di as DetailsCardInfo,
|
|
7113
|
+
Kc as Display,
|
|
7114
|
+
Gi as EmailTagInput,
|
|
7102
7115
|
za as FieldDescription,
|
|
7103
7116
|
Sr as FieldError,
|
|
7104
|
-
|
|
7105
|
-
|
|
7117
|
+
ui as FieldGroup,
|
|
7118
|
+
yc as FileUploadProgress,
|
|
7106
7119
|
hr as FileUploadProgressActions,
|
|
7107
|
-
|
|
7108
|
-
|
|
7109
|
-
|
|
7120
|
+
mi as Form,
|
|
7121
|
+
pi as FormField,
|
|
7122
|
+
gi as FormGroup,
|
|
7110
7123
|
ne as Heading,
|
|
7111
7124
|
x as Icon,
|
|
7112
|
-
|
|
7113
|
-
|
|
7114
|
-
|
|
7115
|
-
|
|
7125
|
+
qc as Info,
|
|
7126
|
+
fi as Input,
|
|
7127
|
+
Zc as Interactive,
|
|
7128
|
+
bi as Link,
|
|
7116
7129
|
Cr as Loader,
|
|
7117
|
-
|
|
7130
|
+
hi as Modal,
|
|
7118
7131
|
en as ModalBase,
|
|
7119
7132
|
Xr as ModalCloseButton,
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7123
|
-
|
|
7124
|
-
|
|
7133
|
+
ki as ModalHeader,
|
|
7134
|
+
vi as ModalPortal,
|
|
7135
|
+
li as Navigation,
|
|
7136
|
+
_i as NavigationGroup,
|
|
7137
|
+
oi as NavigationItem,
|
|
7125
7138
|
g_ as NavigationTopBar,
|
|
7126
7139
|
tl as NavigationTopBarAlert,
|
|
7127
7140
|
el as NavigationTopBarTitle,
|
|
7128
|
-
|
|
7129
|
-
|
|
7130
|
-
|
|
7141
|
+
yi as NumericInput,
|
|
7142
|
+
wi as OnboardingChecklist,
|
|
7143
|
+
Ci as Picker,
|
|
7131
7144
|
sn as PickerList,
|
|
7132
|
-
|
|
7133
|
-
|
|
7145
|
+
$i as Popover,
|
|
7146
|
+
Ni as ProductSwitcher,
|
|
7134
7147
|
Sn as ProductSwitcherProducts,
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
-
|
|
7140
|
-
|
|
7148
|
+
Un as ProgressBar,
|
|
7149
|
+
Gn as ProgressCircle,
|
|
7150
|
+
xi as PromoBanner,
|
|
7151
|
+
Bi as PromoBannerV2,
|
|
7152
|
+
Ii as RadioButton,
|
|
7153
|
+
Uc as RadiusToken,
|
|
7141
7154
|
Ul as RangeDatePicker,
|
|
7142
|
-
|
|
7155
|
+
Jc as Reports,
|
|
7143
7156
|
zo as SIDE_NAVIGATION_ACTIVE_ITEM_TEST_ID,
|
|
7144
7157
|
Ho as SIDE_NAVIGATION_ITEM_TEST_ID,
|
|
7145
7158
|
Wo as SIDE_NAVIGATION_PARENT_ICON_TEST_ID,
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7150
|
-
|
|
7159
|
+
Ti as SearchInput,
|
|
7160
|
+
ni as SegmentedControl,
|
|
7161
|
+
Gc as ShadowToken,
|
|
7162
|
+
ai as SideNavigation,
|
|
7163
|
+
ri as SideNavigationGroup,
|
|
7151
7164
|
Vo as SideNavigationItem,
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7160
|
-
|
|
7161
|
-
|
|
7165
|
+
Yc as Simple,
|
|
7166
|
+
Pi as SkeletonAvatar,
|
|
7167
|
+
Ai as SkeletonText,
|
|
7168
|
+
Di as SkeletonWrapper,
|
|
7169
|
+
Oc as SpacingToken,
|
|
7170
|
+
Fi as StatusBadge,
|
|
7171
|
+
Ri as Switch,
|
|
7172
|
+
Mi as Tab,
|
|
7173
|
+
Oi as TabsList,
|
|
7174
|
+
Li as TabsWrapper,
|
|
7162
7175
|
h_ as Tag,
|
|
7163
|
-
|
|
7176
|
+
cc as TagInput,
|
|
7164
7177
|
B as Text,
|
|
7165
|
-
|
|
7166
|
-
|
|
7167
|
-
|
|
7178
|
+
Hi as Textarea,
|
|
7179
|
+
bc as Toast,
|
|
7180
|
+
Ui as ToastWrapper,
|
|
7168
7181
|
Lt as Tooltip,
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
-
|
|
7174
|
-
|
|
7182
|
+
Wc as TransitionDelayToken,
|
|
7183
|
+
Hc as TransitionDurationToken,
|
|
7184
|
+
zc as TransitionTimingToken,
|
|
7185
|
+
zi as UpdateBadge,
|
|
7186
|
+
Wi as UploadBar,
|
|
7187
|
+
Xc as UserGuide,
|
|
7175
7188
|
al as generateAvatarColor,
|
|
7176
|
-
|
|
7189
|
+
Vc as getDesignTokenWithOpacity,
|
|
7177
7190
|
no as useAppFrame,
|
|
7178
|
-
|
|
7191
|
+
Si as useProductSwitcher
|
|
7179
7192
|
};
|