@livechat/design-system-react-components 1.33.5 → 1.33.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/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",
|
|
@@ -655,8 +655,8 @@ const Mc = {
|
|
|
655
655
|
}, d),
|
|
656
656
|
r
|
|
657
657
|
);
|
|
658
|
-
}, B = (
|
|
659
|
-
var
|
|
658
|
+
}, B = (f) => {
|
|
659
|
+
var b = f, {
|
|
660
660
|
as: t = "p",
|
|
661
661
|
size: a = "md",
|
|
662
662
|
caps: r = !1,
|
|
@@ -669,7 +669,7 @@ const Mc = {
|
|
|
669
669
|
customColor: i,
|
|
670
670
|
textAlign: s,
|
|
671
671
|
noMargin: p
|
|
672
|
-
} =
|
|
672
|
+
} = b, m = D(b, [
|
|
673
673
|
"as",
|
|
674
674
|
"size",
|
|
675
675
|
"caps",
|
|
@@ -683,18 +683,18 @@ const Mc = {
|
|
|
683
683
|
"textAlign",
|
|
684
684
|
"noMargin"
|
|
685
685
|
]);
|
|
686
|
-
const
|
|
686
|
+
const v = "paragraph";
|
|
687
687
|
return e.createElement(
|
|
688
688
|
t,
|
|
689
689
|
k({
|
|
690
690
|
className: u(
|
|
691
691
|
{
|
|
692
|
-
[Ge[`${
|
|
693
|
-
[Ge[`${
|
|
694
|
-
[Ge[`${
|
|
695
|
-
[Ge[`${
|
|
696
|
-
[Ge[`${
|
|
697
|
-
[Ge[`${
|
|
692
|
+
[Ge[`${v}-${a}`]]: !0,
|
|
693
|
+
[Ge[`${v}--bold`]]: o,
|
|
694
|
+
[Ge[`${v}--strike`]]: n,
|
|
695
|
+
[Ge[`${v}--underline`]]: l,
|
|
696
|
+
[Ge[`${v}--uppercase`]]: _ || r,
|
|
697
|
+
[Ge[`${v}--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",
|
|
@@ -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
|
-
}, ze = "action-menu", mo = (
|
|
750
|
-
var
|
|
749
|
+
}, ze = "action-menu", mo = (v) => {
|
|
750
|
+
var h = v, {
|
|
751
751
|
className: t,
|
|
752
752
|
triggerClassName: a,
|
|
753
753
|
options: r,
|
|
@@ -761,8 +761,8 @@ const Mc = {
|
|
|
761
761
|
onOpen: s,
|
|
762
762
|
floatingStrategy: p,
|
|
763
763
|
selectedOptions: m,
|
|
764
|
-
footer:
|
|
765
|
-
} =
|
|
764
|
+
footer: f
|
|
765
|
+
} = h, b = D(h, [
|
|
766
766
|
"className",
|
|
767
767
|
"triggerClassName",
|
|
768
768
|
"options",
|
|
@@ -778,9 +778,9 @@ const Mc = {
|
|
|
778
778
|
"selectedOptions",
|
|
779
779
|
"footer"
|
|
780
780
|
]);
|
|
781
|
-
const y = d !== void 0, [E, $] = e.useState(l), [w, C] = e.useState(null),
|
|
781
|
+
const y = d !== void 0, [E, $] = e.useState(l), [w, C] = e.useState(null), g = e.useRef(-1), N = Ga(), S = sa(), M = e.useRef(null), G = y ? d : E, I = () => {
|
|
782
782
|
G ? (i == null || i(), !y && $(!1)) : (s == null || s(), !y && $(!0));
|
|
783
|
-
}, { x: O, y: Y, strategy:
|
|
783
|
+
}, { x: O, y: Y, strategy: j, refs: L, context: U } = da({
|
|
784
784
|
nodeId: S,
|
|
785
785
|
middleware: [
|
|
786
786
|
ua(4),
|
|
@@ -796,10 +796,10 @@ const Mc = {
|
|
|
796
796
|
strategy: p,
|
|
797
797
|
onOpenChange: I,
|
|
798
798
|
whileElementsMounted: ma
|
|
799
|
-
}),
|
|
799
|
+
}), ue = pa(U), Ke = ga(U, {
|
|
800
800
|
enabled: G
|
|
801
801
|
}), Ue = fa(U), { getReferenceProps: Ne, getFloatingProps: $t } = ba([
|
|
802
|
-
|
|
802
|
+
ue,
|
|
803
803
|
Ke,
|
|
804
804
|
Ue
|
|
805
805
|
]), { styles: ft } = kr(U, {
|
|
@@ -816,29 +816,29 @@ const Mc = {
|
|
|
816
816
|
})
|
|
817
817
|
}), Nt = (P) => {
|
|
818
818
|
var Ye, qe;
|
|
819
|
-
const V =
|
|
820
|
-
let
|
|
821
|
-
for (; (Ye = r[
|
|
822
|
-
if (
|
|
823
|
-
|
|
819
|
+
const V = g.current;
|
|
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
|
-
|
|
830
|
-
const V = (Ye = M.current) == null ? void 0 : Ye.children,
|
|
831
|
-
return
|
|
829
|
+
g.current = Nt(P);
|
|
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
|
-
P.key === de.arrowUp &&
|
|
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
|
};
|
|
835
835
|
e.useEffect(() => {
|
|
836
836
|
if (G)
|
|
837
837
|
return document.addEventListener("keydown", lt), () => document.removeEventListener("keydown", lt);
|
|
838
|
-
|
|
838
|
+
g.current = -1;
|
|
839
839
|
}, [G, lt]);
|
|
840
840
|
const ht = (P, V) => {
|
|
841
|
-
|
|
841
|
+
g.current = P, V == null || V(), !y && !n && ($(!1), i == null || i());
|
|
842
842
|
}, St = (P, V) => P.groupHeader ? /* @__PURE__ */ e.createElement(
|
|
843
843
|
"li",
|
|
844
844
|
{
|
|
@@ -887,18 +887,18 @@ const Mc = {
|
|
|
887
887
|
ref: L.setFloating,
|
|
888
888
|
className: He[ze],
|
|
889
889
|
style: k(k({
|
|
890
|
-
position:
|
|
890
|
+
position: j,
|
|
891
891
|
top: Y != null ? Y : "",
|
|
892
892
|
left: O != null ? O : ""
|
|
893
893
|
}, !!w && { maxHeight: w }), ft)
|
|
894
894
|
}, $t()),
|
|
895
895
|
r.length > 0 && /* @__PURE__ */ e.createElement(
|
|
896
896
|
"ul",
|
|
897
|
-
T(k({},
|
|
897
|
+
T(k({}, b), {
|
|
898
898
|
className: u(
|
|
899
899
|
He[`${ze}__list`],
|
|
900
900
|
{
|
|
901
|
-
[He[`${ze}__list--with-footer`]]:
|
|
901
|
+
[He[`${ze}__list--with-footer`]]: f
|
|
902
902
|
},
|
|
903
903
|
t
|
|
904
904
|
),
|
|
@@ -907,14 +907,14 @@ const Mc = {
|
|
|
907
907
|
}),
|
|
908
908
|
r.map(St)
|
|
909
909
|
),
|
|
910
|
-
|
|
910
|
+
f && /* @__PURE__ */ e.createElement(
|
|
911
911
|
B,
|
|
912
912
|
{
|
|
913
913
|
size: "sm",
|
|
914
914
|
as: "div",
|
|
915
915
|
className: He[`${ze}__footer`]
|
|
916
916
|
},
|
|
917
|
-
|
|
917
|
+
f
|
|
918
918
|
)
|
|
919
919
|
)));
|
|
920
920
|
return N === null ? /* @__PURE__ */ e.createElement(Ha, null, xt) : xt;
|
|
@@ -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
|
+
(v, b) => {
|
|
1024
|
+
var h = v, {
|
|
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
|
+
} = h, f = D(h, [
|
|
1039
1039
|
"loading",
|
|
1040
1040
|
"disabled",
|
|
1041
1041
|
"type",
|
|
@@ -1052,49 +1052,49 @@ 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(
|
|
1068
1068
|
w,
|
|
1069
1069
|
k(k({
|
|
1070
|
-
ref:
|
|
1070
|
+
ref: b,
|
|
1071
1071
|
className: C,
|
|
1072
1072
|
"aria-disabled": y,
|
|
1073
1073
|
type: r,
|
|
1074
1074
|
disabled: y
|
|
1075
|
-
}, !y && { href: p, onClick: m }),
|
|
1075
|
+
}, !y && { href: p, onClick: m }), f),
|
|
1076
1076
|
t && /* @__PURE__ */ e.createElement(
|
|
1077
1077
|
Cr,
|
|
1078
1078
|
k({
|
|
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
|
);
|
|
@@ -1180,16 +1180,16 @@ const Co = (t) => {
|
|
|
1180
1180
|
onOpen: s,
|
|
1181
1181
|
withFadeAnimation: p = !0,
|
|
1182
1182
|
transitionDuration: m = 200,
|
|
1183
|
-
hoverOnDuration:
|
|
1184
|
-
hoverOffDuration:
|
|
1185
|
-
transitionDelay:
|
|
1186
|
-
hoverOnDelay:
|
|
1183
|
+
hoverOnDuration: f,
|
|
1184
|
+
hoverOffDuration: b,
|
|
1185
|
+
transitionDelay: v = 0,
|
|
1186
|
+
hoverOnDelay: h,
|
|
1187
1187
|
hoverOffDelay: y,
|
|
1188
1188
|
triggerOnClick: E = !1,
|
|
1189
1189
|
triggerOnHover: $ = !0,
|
|
1190
1190
|
offsetMainAxis: w = 8,
|
|
1191
1191
|
offsetCrossAxis: C = 0,
|
|
1192
|
-
referenceElement:
|
|
1192
|
+
referenceElement: g,
|
|
1193
1193
|
activationThreshold: N = 0,
|
|
1194
1194
|
useDismissHookProps: S,
|
|
1195
1195
|
useClickHookProps: M,
|
|
@@ -1197,20 +1197,20 @@ const Co = (t) => {
|
|
|
1197
1197
|
arrowOffsetY: I,
|
|
1198
1198
|
arrowOffsetX: O,
|
|
1199
1199
|
closeOnTriggerBlur: Y = !1,
|
|
1200
|
-
floatingStrategy:
|
|
1200
|
+
floatingStrategy: j
|
|
1201
1201
|
}) => {
|
|
1202
|
-
const L = c !== void 0, [U,
|
|
1202
|
+
const L = c !== void 0, [U, ue] = e.useState(!1), Ke = e.useRef(null), Ue = 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 !== Ue && (pe ? s == null || s() : i == null || i(), !L && ue(pe));
|
|
1209
|
+
}, ht = (pe) => p ? pe != null ? pe : m : 0, St = (pe) => pe != null ? pe : v, {
|
|
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: [
|
|
@@ -1221,14 +1221,14 @@ const Co = (t) => {
|
|
|
1221
1221
|
],
|
|
1222
1222
|
placement: n,
|
|
1223
1223
|
open: Ue,
|
|
1224
|
-
strategy:
|
|
1224
|
+
strategy: j,
|
|
1225
1225
|
onOpenChange: lt,
|
|
1226
1226
|
whileElementsMounted: ma
|
|
1227
1227
|
}), qe = X_(V, {
|
|
1228
1228
|
move: !1,
|
|
1229
1229
|
restMs: N,
|
|
1230
1230
|
delay: {
|
|
1231
|
-
open: St(
|
|
1231
|
+
open: St(h),
|
|
1232
1232
|
close: St(y || G)
|
|
1233
1233
|
},
|
|
1234
1234
|
enabled: $,
|
|
@@ -1237,8 +1237,8 @@ const Co = (t) => {
|
|
|
1237
1237
|
enabled: E
|
|
1238
1238
|
}, M)), { isMounted: qa, styles: Za } = kr(V, {
|
|
1239
1239
|
duration: {
|
|
1240
|
-
open: ht(
|
|
1241
|
-
close: ht(
|
|
1240
|
+
open: ht(f),
|
|
1241
|
+
close: ht(b)
|
|
1242
1242
|
}
|
|
1243
1243
|
}), { status: Xa } = Q_(V), { getReferenceProps: Ja, getFloatingProps: ja } = ba([
|
|
1244
1244
|
qe,
|
|
@@ -1248,8 +1248,8 @@ const Co = (t) => {
|
|
|
1248
1248
|
Ya
|
|
1249
1249
|
]);
|
|
1250
1250
|
e.useEffect(() => {
|
|
1251
|
-
|
|
1252
|
-
}, [P.setReference,
|
|
1251
|
+
g && P.setReference(g);
|
|
1252
|
+
}, [P.setReference, g]);
|
|
1253
1253
|
const Gt = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
1254
1254
|
"div",
|
|
1255
1255
|
T(k({
|
|
@@ -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",
|
|
@@ -1648,26 +1648,26 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
1648
1648
|
}) => {
|
|
1649
1649
|
const [c, d] = e.useState(
|
|
1650
1650
|
_.length
|
|
1651
|
-
), [i, s] = e.useState([]), [p, m] = e.useState(!1),
|
|
1651
|
+
), [i, s] = e.useState([]), [p, m] = e.useState(!1), f = r === "scroll", b = u(
|
|
1652
1652
|
q[wa],
|
|
1653
1653
|
t,
|
|
1654
1654
|
l && q[`${wa}--vertical`]
|
|
1655
|
-
),
|
|
1655
|
+
), v = !f && i.length !== 0;
|
|
1656
1656
|
e.useEffect(() => {
|
|
1657
|
-
|
|
1657
|
+
f || (_.length > c ? s(_.slice(c, _.length)) : s([]));
|
|
1658
1658
|
}, [_, c]), e.useEffect(() => {
|
|
1659
1659
|
const E = !!window.ResizeObserver;
|
|
1660
|
-
if (!
|
|
1660
|
+
if (!f && E) {
|
|
1661
1661
|
const $ = new ResizeObserver((w) => {
|
|
1662
|
-
const { width: C, height:
|
|
1662
|
+
const { width: C, height: g } = w[0].contentRect, N = l ? g : C, S = i.length > 0 ? 60 : 0, M = Math.floor(
|
|
1663
1663
|
(N - S) / Do
|
|
1664
1664
|
);
|
|
1665
1665
|
M >= 0 && M !== c && d(M);
|
|
1666
1666
|
});
|
|
1667
1667
|
return $.observe(document.querySelector(`#${a}`)), () => $.disconnect();
|
|
1668
1668
|
}
|
|
1669
|
-
}, [i,
|
|
1670
|
-
const
|
|
1669
|
+
}, [i, f, c]);
|
|
1670
|
+
const h = e.useCallback(() => i.reduce(
|
|
1671
1671
|
(E, $) => {
|
|
1672
1672
|
if (!$.hideInMenu) {
|
|
1673
1673
|
const w = {
|
|
@@ -1682,11 +1682,11 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
1682
1682
|
},
|
|
1683
1683
|
[]
|
|
1684
1684
|
), [i]), y = i.find((E) => E.key === o);
|
|
1685
|
-
return /* @__PURE__ */ e.createElement("div", { id: a, className:
|
|
1685
|
+
return /* @__PURE__ */ e.createElement("div", { id: a, className: b }, /* @__PURE__ */ e.createElement(
|
|
1686
1686
|
"div",
|
|
1687
1687
|
{
|
|
1688
1688
|
className: u(q[`${wa}__items`], {
|
|
1689
|
-
[q[`${wa}__items--scroll`]]:
|
|
1689
|
+
[q[`${wa}__items--scroll`]]: f
|
|
1690
1690
|
})
|
|
1691
1691
|
},
|
|
1692
1692
|
_.slice(0, c).map((E) => /* @__PURE__ */ e.createElement(
|
|
@@ -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
|
+
), v && /* @__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: h(),
|
|
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,
|
|
@@ -1865,10 +1865,10 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
1865
1865
|
a
|
|
1866
1866
|
);
|
|
1867
1867
|
return e.useEffect(() => {
|
|
1868
|
-
const
|
|
1869
|
-
|
|
1868
|
+
const f = () => i.current && i.current.offsetWidth <= 400 ? p("small") : i.current && i.current.offsetWidth > 400 && i.current.offsetWidth <= 800 ? p("medium") : p("large"), b = n_(() => {
|
|
1869
|
+
f();
|
|
1870
1870
|
}, 500);
|
|
1871
|
-
return window.addEventListener("resize",
|
|
1871
|
+
return window.addEventListener("resize", b), f(), () => window.removeEventListener("resize", b);
|
|
1872
1872
|
}), /* @__PURE__ */ e.createElement("div", k({ ref: i, className: m }, n), /* @__PURE__ */ e.createElement("div", { className: Se[`${xe}__content`] }, /* @__PURE__ */ e.createElement("div", { className: Se[`${xe}__content__wrapper`] }, /* @__PURE__ */ e.createElement(
|
|
1873
1873
|
x,
|
|
1874
1874
|
T(k({}, Go[o]), {
|
|
@@ -1952,7 +1952,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
1952
1952
|
topBarClassName: n,
|
|
1953
1953
|
sideNavigationContainerClassName: c,
|
|
1954
1954
|
contentClassName: d
|
|
1955
|
-
} = t, i = u(Je[p_], r), { isSideNavigationVisible: s } = no(), p = e.useRef(null), { isOpen: m, isMounted:
|
|
1955
|
+
} = t, i = u(Je[p_], r), { isSideNavigationVisible: s } = no(), p = e.useRef(null), { isOpen: m, isMounted: f } = $r({
|
|
1956
1956
|
isVisible: s,
|
|
1957
1957
|
elementRef: p
|
|
1958
1958
|
});
|
|
@@ -1989,7 +1989,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Zc = (t) => {
|
|
|
1989
1989
|
}
|
|
1990
1990
|
)
|
|
1991
1991
|
},
|
|
1992
|
-
|
|
1992
|
+
f && o
|
|
1993
1993
|
),
|
|
1994
1994
|
/* @__PURE__ */ e.createElement(
|
|
1995
1995
|
"div",
|
|
@@ -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,
|
|
@@ -2053,7 +2053,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
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
|
}, De = "side-navigation-item", Vo = (m) => {
|
|
2056
|
-
var
|
|
2056
|
+
var f = m, {
|
|
2057
2057
|
leftNode: t,
|
|
2058
2058
|
shouldKeepIconSpace: a = !0,
|
|
2059
2059
|
url: r,
|
|
@@ -2065,7 +2065,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2065
2065
|
isMainEntry: d,
|
|
2066
2066
|
onItemHover: i,
|
|
2067
2067
|
isIconHidden: s
|
|
2068
|
-
} =
|
|
2068
|
+
} = f, p = D(f, [
|
|
2069
2069
|
"leftNode",
|
|
2070
2070
|
"shouldKeepIconSpace",
|
|
2071
2071
|
"url",
|
|
@@ -2078,9 +2078,9 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2078
2078
|
"onItemHover",
|
|
2079
2079
|
"isIconHidden"
|
|
2080
2080
|
]);
|
|
2081
|
-
const
|
|
2081
|
+
const b = typeof _ == "string", v = (y) => {
|
|
2082
2082
|
y.preventDefault(), n == null || n();
|
|
2083
|
-
},
|
|
2083
|
+
}, h = (y) => {
|
|
2084
2084
|
y.key === "Enter" && (y.preventDefault(), n == null || n());
|
|
2085
2085
|
};
|
|
2086
2086
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -2100,8 +2100,8 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2100
2100
|
[Te[`${De}__anchor--icon-hidden`]]: s
|
|
2101
2101
|
}),
|
|
2102
2102
|
href: r,
|
|
2103
|
-
onClick:
|
|
2104
|
-
onKeyDown:
|
|
2103
|
+
onClick: v,
|
|
2104
|
+
onKeyDown: h,
|
|
2105
2105
|
onMouseEnter: i || Fa,
|
|
2106
2106
|
onFocus: i || Fa
|
|
2107
2107
|
},
|
|
@@ -2115,7 +2115,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2115
2115
|
},
|
|
2116
2116
|
t
|
|
2117
2117
|
),
|
|
2118
|
-
|
|
2118
|
+
b ? /* @__PURE__ */ e.createElement(
|
|
2119
2119
|
B,
|
|
2120
2120
|
{
|
|
2121
2121
|
bold: c || d,
|
|
@@ -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,13 +2155,13 @@ 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),
|
|
2158
|
+
const [d, i] = e.useState(!1), [s, p] = e.useState(0), m = e.useRef(!1), f = e.useRef(null), { isOpen: b, isMounted: v, setIsOpen: h } = $r({
|
|
2159
2159
|
isVisible: !o || n,
|
|
2160
|
-
elementRef:
|
|
2161
|
-
}), y = typeof a == "function" ? a(
|
|
2162
|
-
o &&
|
|
2163
|
-
}, C = (
|
|
2164
|
-
const N =
|
|
2160
|
+
elementRef: f
|
|
2161
|
+
}), y = typeof a == "function" ? a(b) : a, E = typeof t == "function" ? t(b) : t, $ = () => h(!0), w = () => {
|
|
2162
|
+
o && h((g) => !g);
|
|
2163
|
+
}, C = (g) => {
|
|
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"
|
|
2166
2166
|
) : !1;
|
|
2167
2167
|
i(S);
|
|
@@ -2177,7 +2177,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2177
2177
|
"div",
|
|
2178
2178
|
{
|
|
2179
2179
|
className: u(ct[`${it}__chevron`], {
|
|
2180
|
-
[ct[`${it}__chevron--active`]]:
|
|
2180
|
+
[ct[`${it}__chevron--active`]]: b
|
|
2181
2181
|
})
|
|
2182
2182
|
},
|
|
2183
2183
|
/* @__PURE__ */ e.createElement(x, { source: La, size: "small" })
|
|
@@ -2199,16 +2199,16 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2199
2199
|
), /* @__PURE__ */ e.createElement(
|
|
2200
2200
|
"div",
|
|
2201
2201
|
{
|
|
2202
|
-
ref:
|
|
2202
|
+
ref: f,
|
|
2203
2203
|
className: u([
|
|
2204
2204
|
ct[`${it}__list-wrapper`],
|
|
2205
2205
|
{
|
|
2206
|
-
[ct[`${it}__list-wrapper--expanded`]]:
|
|
2206
|
+
[ct[`${it}__list-wrapper--expanded`]]: b
|
|
2207
2207
|
}
|
|
2208
2208
|
]),
|
|
2209
|
-
style: { maxHeight:
|
|
2209
|
+
style: { maxHeight: b ? s : 0 }
|
|
2210
2210
|
},
|
|
2211
|
-
|
|
2211
|
+
v && /* @__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,
|
|
@@ -2371,7 +2371,7 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2371
2371
|
},
|
|
2372
2372
|
"lc-dark-theme"
|
|
2373
2373
|
),
|
|
2374
|
-
onClick: (
|
|
2374
|
+
onClick: (f) => !l && d(f, t),
|
|
2375
2375
|
href: _
|
|
2376
2376
|
}, s),
|
|
2377
2377
|
r
|
|
@@ -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
|
|
@@ -2432,14 +2432,14 @@ 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",
|
|
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: Ve[`${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,
|
|
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: Ve[`${st}__children-wrapper`] }, _, f), r && /* @__PURE__ */ e.createElement(
|
|
2443
2443
|
"button",
|
|
2444
2444
|
k({
|
|
2445
2445
|
className: Ve[`${st}__close-button`]
|
|
@@ -2473,7 +2473,7 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2473
2473
|
t
|
|
2474
2474
|
)
|
|
2475
2475
|
},
|
|
2476
|
-
|
|
2476
|
+
b
|
|
2477
2477
|
)
|
|
2478
2478
|
));
|
|
2479
2479
|
};
|
|
@@ -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,26 +2580,26 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2580
2580
|
"type",
|
|
2581
2581
|
"withRim"
|
|
2582
2582
|
]);
|
|
2583
|
-
const
|
|
2584
|
-
[
|
|
2585
|
-
[
|
|
2586
|
-
[
|
|
2587
|
-
[
|
|
2583
|
+
const f = d === "image" && !l, [b, v] = e.useState(f), h = 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 = (
|
|
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(() => v(!0), []);
|
|
2600
2600
|
return e.useEffect(() => {
|
|
2601
|
-
|
|
2602
|
-
}, [
|
|
2601
|
+
v(f);
|
|
2602
|
+
}, [f]), /* @__PURE__ */ e.createElement("div", k({ className: S, style: N }, s), i && /* @__PURE__ */ e.createElement(
|
|
2603
2603
|
"div",
|
|
2604
2604
|
{
|
|
2605
2605
|
"data-testid": `${_e}__rim`,
|
|
@@ -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
|
+
), h && /* @__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
|
|
@@ -2624,12 +2624,12 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2624
2624
|
{
|
|
2625
2625
|
as: "span",
|
|
2626
2626
|
size: O(o),
|
|
2627
|
-
style: { color:
|
|
2627
|
+
style: { color: g },
|
|
2628
2628
|
bold: w,
|
|
2629
2629
|
uppercase: w
|
|
2630
2630
|
},
|
|
2631
2631
|
$
|
|
2632
|
-
),
|
|
2632
|
+
), b && /* @__PURE__ */ e.createElement(
|
|
2633
2633
|
x,
|
|
2634
2634
|
{
|
|
2635
2635
|
"data-testid": `${_e}__icon`,
|
|
@@ -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,
|
|
@@ -2657,30 +2657,30 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2657
2657
|
e.useEffect(() => {
|
|
2658
2658
|
s && i(o);
|
|
2659
2659
|
}, [o]);
|
|
2660
|
-
const p = (
|
|
2661
|
-
s || i(
|
|
2662
|
-
}, m = a.map(({ id:
|
|
2663
|
-
const E =
|
|
2660
|
+
const p = (f, b) => {
|
|
2661
|
+
s || i(f), n(f, b);
|
|
2662
|
+
}, m = a.map(({ id: f, label: b, loading: v, disabled: h, icon: y }) => {
|
|
2663
|
+
const E = f === d, $ = E ? Na["btn--active"] : "", w = E ? !1 : v;
|
|
2664
2664
|
return /* @__PURE__ */ e.createElement(
|
|
2665
2665
|
W,
|
|
2666
2666
|
{
|
|
2667
|
-
key:
|
|
2667
|
+
key: f,
|
|
2668
2668
|
fullWidth: l,
|
|
2669
2669
|
loading: w,
|
|
2670
|
-
disabled:
|
|
2670
|
+
disabled: h,
|
|
2671
2671
|
"aria-pressed": E,
|
|
2672
2672
|
kind: "secondary",
|
|
2673
2673
|
icon: y,
|
|
2674
2674
|
className: u(Na.btn, Na[`btn--${t}`], $),
|
|
2675
2675
|
onClick: (C) => {
|
|
2676
|
-
p(
|
|
2676
|
+
p(f, C);
|
|
2677
2677
|
}
|
|
2678
2678
|
},
|
|
2679
|
-
|
|
2679
|
+
b
|
|
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,50 +2714,50 @@ 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),
|
|
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", v = (a == null ? void 0 : a.length) > 0, h = !!l, y = v || h, 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:
|
|
2741
|
-
({ kind: C, onClick:
|
|
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`] }, v && a.map(
|
|
2741
|
+
({ kind: C, onClick: g, children: N }, S) => /* @__PURE__ */ e.createElement(
|
|
2742
2742
|
W,
|
|
2743
2743
|
{
|
|
2744
2744
|
key: S,
|
|
2745
2745
|
size: "compact",
|
|
2746
2746
|
kind: C,
|
|
2747
|
-
onClick:
|
|
2747
|
+
onClick: g
|
|
2748
2748
|
},
|
|
2749
2749
|
N
|
|
2750
2750
|
)
|
|
2751
|
-
),
|
|
2751
|
+
), h && /* @__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
|
-
icon: /* @__PURE__ */ e.createElement(x, { source:
|
|
2757
|
+
icon: /* @__PURE__ */ e.createElement(x, { source: f }),
|
|
2758
2758
|
onClick: () => m(!p)
|
|
2759
2759
|
},
|
|
2760
|
-
|
|
2760
|
+
b
|
|
2761
2761
|
))));
|
|
2762
2762
|
}, wl = {
|
|
2763
2763
|
"field-description": "lc-FieldDescription-module__field-description___IcRDH"
|
|
@@ -2855,26 +2855,26 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2855
2855
|
toMonth: p
|
|
2856
2856
|
} = t, m = () => {
|
|
2857
2857
|
typeof a == "function" && a();
|
|
2858
|
-
},
|
|
2858
|
+
}, f = () => {
|
|
2859
2859
|
typeof _ == "function" && _();
|
|
2860
|
-
},
|
|
2860
|
+
}, b = () => {
|
|
2861
2861
|
if (!s) {
|
|
2862
2862
|
const E = Rt(i, 12);
|
|
2863
2863
|
return r(E);
|
|
2864
2864
|
}
|
|
2865
|
-
const
|
|
2865
|
+
const h = Math.abs(Ir(i, s)), y = Rt(
|
|
2866
2866
|
i,
|
|
2867
|
-
!Number.isNaN(
|
|
2867
|
+
!Number.isNaN(h) && h > 12 ? 12 : h
|
|
2868
2868
|
);
|
|
2869
2869
|
return r(y);
|
|
2870
|
-
},
|
|
2870
|
+
}, v = () => {
|
|
2871
2871
|
if (!p) {
|
|
2872
2872
|
const E = Tr(i, 12);
|
|
2873
2873
|
return r(E);
|
|
2874
2874
|
}
|
|
2875
|
-
const
|
|
2875
|
+
const h = Math.abs(Ir(p, i)), y = Tr(
|
|
2876
2876
|
i,
|
|
2877
|
-
!Number.isNaN(
|
|
2877
|
+
!Number.isNaN(h) && h > 12 ? 12 : h
|
|
2878
2878
|
);
|
|
2879
2879
|
return d === 2 && pr(y, p) ? r(Rt(y, 1)) : r(y);
|
|
2880
2880
|
};
|
|
@@ -2886,7 +2886,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2886
2886
|
[c.navButtonPrev]: !0,
|
|
2887
2887
|
[c.navButtonInteractionDisabled]: !l
|
|
2888
2888
|
}),
|
|
2889
|
-
onClick:
|
|
2889
|
+
onClick: b
|
|
2890
2890
|
},
|
|
2891
2891
|
/* @__PURE__ */ e.createElement(x, { source: D_, kind: "subtle" })
|
|
2892
2892
|
), /* @__PURE__ */ e.createElement(
|
|
@@ -2908,7 +2908,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2908
2908
|
[c.navButtonNext]: !0,
|
|
2909
2909
|
[c.navButtonInteractionDisabled]: !o
|
|
2910
2910
|
}),
|
|
2911
|
-
onClick:
|
|
2911
|
+
onClick: f
|
|
2912
2912
|
},
|
|
2913
2913
|
/* @__PURE__ */ e.createElement(x, { source: La, kind: "subtle" })
|
|
2914
2914
|
), /* @__PURE__ */ e.createElement(
|
|
@@ -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: v
|
|
2923
2923
|
},
|
|
2924
2924
|
/* @__PURE__ */ e.createElement(x, { source: A_, kind: "subtle" })
|
|
2925
2925
|
)));
|
|
@@ -3014,25 +3014,25 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
3014
3014
|
"navbarElement",
|
|
3015
3015
|
"renderDay",
|
|
3016
3016
|
"innerRef"
|
|
3017
|
-
]), [m,
|
|
3017
|
+
]), [m, f] = e.useState(o || /* @__PURE__ */ new Date());
|
|
3018
3018
|
e.useEffect(() => {
|
|
3019
|
-
o && o !== m &&
|
|
3019
|
+
o && o !== m && f(o);
|
|
3020
3020
|
}, [o, m]), e.useEffect(() => {
|
|
3021
|
-
_ && o !== m && (f_(m, { from: l, to: _ }) ||
|
|
3021
|
+
_ && o !== m && (f_(m, { from: l, to: _ }) || f(_));
|
|
3022
3022
|
}, [o, m, _, l]);
|
|
3023
|
-
const
|
|
3023
|
+
const b = e.useCallback(
|
|
3024
3024
|
(E) => {
|
|
3025
3025
|
if (t.onMonthChange && E) {
|
|
3026
3026
|
t.onMonthChange(E);
|
|
3027
3027
|
return;
|
|
3028
3028
|
}
|
|
3029
|
-
|
|
3029
|
+
f(E);
|
|
3030
3030
|
},
|
|
3031
3031
|
[o, t.onMonthChange]
|
|
3032
3032
|
);
|
|
3033
|
-
let
|
|
3034
|
-
(n === 0 || n && n < 7) && (
|
|
3035
|
-
const
|
|
3033
|
+
let v = 1;
|
|
3034
|
+
(n === 0 || n && n < 7) && (v = n);
|
|
3035
|
+
const h = e.useMemo(
|
|
3036
3036
|
() => Rl(r, a),
|
|
3037
3037
|
[r, a]
|
|
3038
3038
|
);
|
|
@@ -3043,19 +3043,19 @@ 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: h,
|
|
3047
3047
|
numberOfMonths: c,
|
|
3048
|
-
onMonthChange:
|
|
3048
|
+
onMonthChange: b,
|
|
3049
3049
|
toMonth: _,
|
|
3050
3050
|
fromMonth: l
|
|
3051
3051
|
}
|
|
3052
3052
|
),
|
|
3053
3053
|
ref: s,
|
|
3054
|
-
classNames:
|
|
3054
|
+
classNames: h,
|
|
3055
3055
|
numberOfMonths: c,
|
|
3056
3056
|
toMonth: _,
|
|
3057
3057
|
fromMonth: l,
|
|
3058
|
-
firstDayOfWeek:
|
|
3058
|
+
firstDayOfWeek: v,
|
|
3059
3059
|
month: m,
|
|
3060
3060
|
renderDay: i || Ml
|
|
3061
3061
|
}, p)
|
|
@@ -3064,7 +3064,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
3064
3064
|
(t, a) => /* @__PURE__ */ e.createElement(Ll, k({ innerRef: a }, t))
|
|
3065
3065
|
);
|
|
3066
3066
|
Ol.displayName = "DatePicker";
|
|
3067
|
-
var
|
|
3067
|
+
var J = /* @__PURE__ */ ((t) => (t.NEW_SELECTED_ITEM = "NEW_SELECTED_ITEM", t.NEW_TEMPORARY_TO_VALUE = "NEW_TEMPORARY_TO_VALUE", t.CLEAR = "CLEAR", t.SET_FROM = "SET_FROM", t.SET_TO = "SET_TO", t.SELECT_FIRST_DAY = "SELECT_FIRST_DAY", t.SELECT_SECOND_DAY_AS_FROM = "SELECT_SECOND_DAY_AS_FROM", t.SELECT_SECOND_DAY_AS_TO = "SELECT_SECOND_DAY_AS_TO", t.CURRENT_MONTH_CHANGE = "CURRENT_MONTH_CHANGE", t))(J || {});
|
|
3068
3068
|
const Gl = (t) => {
|
|
3069
3069
|
const a = b_(
|
|
3070
3070
|
t.initialFromDate,
|
|
@@ -3079,7 +3079,7 @@ const Gl = (t) => {
|
|
|
3079
3079
|
}), Fl(t));
|
|
3080
3080
|
function o(l, n) {
|
|
3081
3081
|
switch (n.type) {
|
|
3082
|
-
case
|
|
3082
|
+
case J.NEW_SELECTED_ITEM:
|
|
3083
3083
|
return {
|
|
3084
3084
|
selectedItem: n.payload.selectedItem,
|
|
3085
3085
|
from: void 0,
|
|
@@ -3087,36 +3087,36 @@ const Gl = (t) => {
|
|
|
3087
3087
|
temporaryTo: void 0,
|
|
3088
3088
|
currentMonth: a
|
|
3089
3089
|
};
|
|
3090
|
-
case
|
|
3090
|
+
case J.NEW_TEMPORARY_TO_VALUE:
|
|
3091
3091
|
return T(k({}, l), {
|
|
3092
3092
|
temporaryTo: n.payload.date
|
|
3093
3093
|
});
|
|
3094
|
-
case
|
|
3094
|
+
case J.SELECT_FIRST_DAY:
|
|
3095
3095
|
return T(k({}, l), {
|
|
3096
3096
|
from: n.payload.date,
|
|
3097
3097
|
to: void 0,
|
|
3098
3098
|
temporaryTo: void 0
|
|
3099
3099
|
});
|
|
3100
|
-
case
|
|
3100
|
+
case J.SELECT_SECOND_DAY_AS_FROM:
|
|
3101
3101
|
return T(k({}, l), {
|
|
3102
3102
|
from: n.payload.date,
|
|
3103
3103
|
to: l.from,
|
|
3104
3104
|
temporaryTo: l.from
|
|
3105
3105
|
});
|
|
3106
|
-
case
|
|
3106
|
+
case J.SELECT_SECOND_DAY_AS_TO:
|
|
3107
3107
|
return T(k({}, l), {
|
|
3108
3108
|
to: n.payload.date,
|
|
3109
3109
|
temporaryTo: n.payload.date
|
|
3110
3110
|
});
|
|
3111
|
-
case
|
|
3111
|
+
case J.CURRENT_MONTH_CHANGE:
|
|
3112
3112
|
return T(k({}, l), {
|
|
3113
3113
|
currentMonth: n.payload.date
|
|
3114
3114
|
});
|
|
3115
|
-
case
|
|
3115
|
+
case J.SET_FROM:
|
|
3116
3116
|
return T(k({}, l), {
|
|
3117
3117
|
from: n.payload.date
|
|
3118
3118
|
});
|
|
3119
|
-
case
|
|
3119
|
+
case J.SET_TO:
|
|
3120
3120
|
return T(k({}, l), {
|
|
3121
3121
|
to: n.payload.date
|
|
3122
3122
|
});
|
|
@@ -3147,122 +3147,122 @@ const Gl = (t) => {
|
|
|
3147
3147
|
});
|
|
3148
3148
|
Ft(() => {
|
|
3149
3149
|
i({
|
|
3150
|
-
type:
|
|
3150
|
+
type: J.SET_FROM,
|
|
3151
3151
|
payload: { date: r }
|
|
3152
3152
|
});
|
|
3153
3153
|
}, [r]), Ft(() => {
|
|
3154
3154
|
i({
|
|
3155
|
-
type:
|
|
3155
|
+
type: J.SET_TO,
|
|
3156
3156
|
payload: { date: _ }
|
|
3157
3157
|
});
|
|
3158
3158
|
}, [_]), Ft(() => {
|
|
3159
|
-
const
|
|
3159
|
+
const v = b_(
|
|
3160
3160
|
r,
|
|
3161
3161
|
_,
|
|
3162
3162
|
o
|
|
3163
3163
|
);
|
|
3164
3164
|
i({
|
|
3165
|
-
type:
|
|
3166
|
-
payload: { date:
|
|
3165
|
+
type: J.CURRENT_MONTH_CHANGE,
|
|
3166
|
+
payload: { date: v }
|
|
3167
3167
|
});
|
|
3168
3168
|
}, [o, r, _]), Ft(() => {
|
|
3169
|
-
const { from:
|
|
3170
|
-
if (!(
|
|
3169
|
+
const { from: v, selectedItem: h, to: y } = d;
|
|
3170
|
+
if (!(v && y))
|
|
3171
3171
|
return;
|
|
3172
|
-
const E = oa(
|
|
3172
|
+
const E = oa(h, t);
|
|
3173
3173
|
E && (l == null || l(T(k({}, E), {
|
|
3174
3174
|
value: {
|
|
3175
|
-
from:
|
|
3175
|
+
from: v,
|
|
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: v } = d;
|
|
3181
|
+
if (v === c.current)
|
|
3182
3182
|
return;
|
|
3183
|
-
if (!
|
|
3183
|
+
if (!v) {
|
|
3184
3184
|
l(null);
|
|
3185
3185
|
return;
|
|
3186
3186
|
}
|
|
3187
|
-
if (!oa(
|
|
3187
|
+
if (!oa(v, 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[v]);
|
|
3194
3194
|
}, [l, d.selectedItem, t]);
|
|
3195
3195
|
const s = ka(
|
|
3196
|
-
(
|
|
3197
|
-
const
|
|
3198
|
-
!zr(d.from, d.to) &&
|
|
3199
|
-
type:
|
|
3200
|
-
payload: { date:
|
|
3196
|
+
(v) => {
|
|
3197
|
+
const h = o ? wr(o, v) >= 0 : !0;
|
|
3198
|
+
!zr(d.from, d.to) && h && i({
|
|
3199
|
+
type: J.NEW_TEMPORARY_TO_VALUE,
|
|
3200
|
+
payload: { date: v }
|
|
3201
3201
|
});
|
|
3202
3202
|
},
|
|
3203
3203
|
[o, d.from, d.to]
|
|
3204
3204
|
), p = ka(
|
|
3205
|
-
(
|
|
3206
|
-
const { from:
|
|
3207
|
-
f_(
|
|
3208
|
-
type:
|
|
3209
|
-
payload: { date:
|
|
3210
|
-
}) :
|
|
3211
|
-
type:
|
|
3212
|
-
payload: { date:
|
|
3205
|
+
(v) => {
|
|
3206
|
+
const { from: h, to: y } = d;
|
|
3207
|
+
f_(v, { to: o }) && (zr(h, y) ? i({
|
|
3208
|
+
type: J.SELECT_FIRST_DAY,
|
|
3209
|
+
payload: { date: v }
|
|
3210
|
+
}) : h && gr(v, h) || h && fr(v, h) ? i({
|
|
3211
|
+
type: J.SELECT_SECOND_DAY_AS_TO,
|
|
3212
|
+
payload: { date: v }
|
|
3213
3213
|
}) : i({
|
|
3214
|
-
type:
|
|
3215
|
-
payload: { date:
|
|
3214
|
+
type: J.SELECT_SECOND_DAY_AS_FROM,
|
|
3215
|
+
payload: { date: v }
|
|
3216
3216
|
}));
|
|
3217
3217
|
},
|
|
3218
3218
|
[o, d.from, d.to]
|
|
3219
3219
|
), m = ka(
|
|
3220
|
-
(
|
|
3221
|
-
if (
|
|
3220
|
+
(v) => {
|
|
3221
|
+
if (v === null) {
|
|
3222
3222
|
i({
|
|
3223
|
-
type:
|
|
3223
|
+
type: J.NEW_SELECTED_ITEM,
|
|
3224
3224
|
payload: { selectedItem: null }
|
|
3225
3225
|
});
|
|
3226
3226
|
return;
|
|
3227
3227
|
}
|
|
3228
|
-
oa(
|
|
3229
|
-
type:
|
|
3230
|
-
payload: { selectedItem:
|
|
3228
|
+
oa(v, t) && i({
|
|
3229
|
+
type: J.NEW_SELECTED_ITEM,
|
|
3230
|
+
payload: { selectedItem: v }
|
|
3231
3231
|
});
|
|
3232
3232
|
},
|
|
3233
3233
|
[t]
|
|
3234
|
-
),
|
|
3234
|
+
), f = ka((v) => {
|
|
3235
3235
|
i({
|
|
3236
|
-
type:
|
|
3237
|
-
payload: { date:
|
|
3236
|
+
type: J.CURRENT_MONTH_CHANGE,
|
|
3237
|
+
payload: { date: v }
|
|
3238
3238
|
});
|
|
3239
3239
|
}, []);
|
|
3240
3240
|
return n((() => {
|
|
3241
|
-
const { currentMonth:
|
|
3242
|
-
() => Al(
|
|
3243
|
-
[
|
|
3244
|
-
), C = Ea(() => oa(y, t), [t, y]),
|
|
3241
|
+
const { currentMonth: v, from: h, selectedItem: y, temporaryTo: E, to: $ } = d, w = Ea(
|
|
3242
|
+
() => Al(h, E),
|
|
3243
|
+
[h, E]
|
|
3244
|
+
), C = Ea(() => oa(y, t), [t, y]), g = Ea(() => [h, { from: h, to: E }], [h, 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: h,
|
|
3252
3252
|
toDate: $
|
|
3253
3253
|
},
|
|
3254
3254
|
datepicker: {
|
|
3255
3255
|
range: !0,
|
|
3256
|
-
month:
|
|
3256
|
+
month: v,
|
|
3257
3257
|
numberOfMonths: 2,
|
|
3258
3258
|
onDayClick: p,
|
|
3259
|
-
selectedDays:
|
|
3259
|
+
selectedDays: g,
|
|
3260
3260
|
modifiers: w,
|
|
3261
3261
|
initialMonth: o && Rt(o, 1),
|
|
3262
3262
|
toMonth: o,
|
|
3263
3263
|
disabledDays: N,
|
|
3264
3264
|
onDayMouseEnter: s,
|
|
3265
|
-
onMonthChange:
|
|
3265
|
+
onMonthChange: f
|
|
3266
3266
|
},
|
|
3267
3267
|
selectedOption: C
|
|
3268
3268
|
};
|
|
@@ -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,35 +3320,35 @@ const ci = (t) => {
|
|
|
3320
3320
|
hideLabelOnOpen: d,
|
|
3321
3321
|
onClick: i
|
|
3322
3322
|
}) => {
|
|
3323
|
-
const [s, p] = e.useState(c), [m,
|
|
3323
|
+
const [s, p] = e.useState(c), [m, f] = e.useState(0), b = e.useRef(null), v = u(
|
|
3324
3324
|
H[z],
|
|
3325
3325
|
l && H[`${z}--with-divider`],
|
|
3326
3326
|
a
|
|
3327
|
-
),
|
|
3327
|
+
), h = d && s, y = typeof o == "string", E = (w) => {
|
|
3328
3328
|
p((C) => !C), w.currentTarget.blur(), i == null || i(w);
|
|
3329
3329
|
}, $ = (w) => {
|
|
3330
|
-
const
|
|
3331
|
-
Hl.includes(
|
|
3330
|
+
const g = w.target.tagName.toLowerCase();
|
|
3331
|
+
Hl.includes(g) || (p((N) => !N), i == null || i(w));
|
|
3332
3332
|
};
|
|
3333
3333
|
return e.useEffect(() => {
|
|
3334
3334
|
const w = !!window.IntersectionObserver;
|
|
3335
|
-
if (
|
|
3335
|
+
if (b.current && w) {
|
|
3336
3336
|
const C = new ResizeObserver(() => {
|
|
3337
|
-
|
|
3337
|
+
b.current && m !== b.current.offsetHeight && f(b.current.offsetHeight);
|
|
3338
3338
|
});
|
|
3339
|
-
return C.observe(
|
|
3339
|
+
return C.observe(b.current), () => C.disconnect();
|
|
3340
3340
|
}
|
|
3341
|
-
}, [
|
|
3341
|
+
}, [b]), /* @__PURE__ */ e.createElement("div", { className: v }, /* @__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
|
+
h && 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": h,
|
|
3352
3352
|
"data-testid": "details-card-label",
|
|
3353
3353
|
onClick: $
|
|
3354
3354
|
},
|
|
@@ -3408,7 +3408,7 @@ const ci = (t) => {
|
|
|
3408
3408
|
/* @__PURE__ */ e.createElement(
|
|
3409
3409
|
"div",
|
|
3410
3410
|
{
|
|
3411
|
-
ref:
|
|
3411
|
+
ref: b,
|
|
3412
3412
|
className: u(
|
|
3413
3413
|
H[`${z}__content`],
|
|
3414
3414
|
n && H[`${z}__content--full-space`],
|
|
@@ -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,
|
|
@@ -3491,7 +3491,7 @@ const ci = (t) => {
|
|
|
3491
3491
|
"formFooter"
|
|
3492
3492
|
]);
|
|
3493
3493
|
return /* @__PURE__ */ e.createElement("form", k({ className: u(Kt[Yt], t) }, l), (r || _) && /* @__PURE__ */ e.createElement("div", { className: Kt[`${Yt}__header`] }, r && /* @__PURE__ */ e.createElement(ne, { size: "sm", className: Kt[`${Yt}__label`] }, r), _ && /* @__PURE__ */ e.createElement(B, { as: "p", size: "sm", className: Kt[`${Yt}__helper`] }, _)), a, o && /* @__PURE__ */ e.createElement("div", { className: Kt[`${Yt}__footer`] }, o));
|
|
3494
|
-
},
|
|
3494
|
+
}, Q = {
|
|
3495
3495
|
"form-field": "lc-FormField-module__form-field___JqnX6",
|
|
3496
3496
|
"form-field--inline": "lc-FormField-module__form-field--inline___4DgIq",
|
|
3497
3497
|
"form-field__wrapper--inline": "lc-FormField-module__form-field__wrapper--inline___Ubvrn",
|
|
@@ -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
|
-
},
|
|
3511
|
+
}, ee = "form-field", pi = ({
|
|
3512
3512
|
inline: t,
|
|
3513
3513
|
error: a,
|
|
3514
3514
|
description: r,
|
|
@@ -3520,49 +3520,49 @@ const ci = (t) => {
|
|
|
3520
3520
|
labelRightNode: d
|
|
3521
3521
|
}) => {
|
|
3522
3522
|
const i = e.useRef(null), [s, p] = e.useState("auto"), m = u(
|
|
3523
|
-
|
|
3523
|
+
Q[ee],
|
|
3524
3524
|
{
|
|
3525
|
-
[
|
|
3525
|
+
[Q[`${ee}--inline`]]: t
|
|
3526
3526
|
},
|
|
3527
3527
|
l
|
|
3528
3528
|
);
|
|
3529
3529
|
return e.useEffect(() => {
|
|
3530
|
-
const
|
|
3531
|
-
return t &&
|
|
3530
|
+
const f = i;
|
|
3531
|
+
return t && f.current ? p(`${f.current.clientHeight}px`) : p("auto");
|
|
3532
3532
|
}), /* @__PURE__ */ e.createElement("div", { className: m }, d && t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
3533
3533
|
B,
|
|
3534
3534
|
{
|
|
3535
3535
|
as: "div",
|
|
3536
3536
|
size: "sm",
|
|
3537
3537
|
className: u(
|
|
3538
|
-
|
|
3539
|
-
|
|
3538
|
+
Q[`${ee}__label-right-node`],
|
|
3539
|
+
Q[`${ee}__label-right-node--inline`]
|
|
3540
3540
|
)
|
|
3541
3541
|
},
|
|
3542
3542
|
d
|
|
3543
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
3543
|
+
), /* @__PURE__ */ e.createElement("div", { className: Q[`${ee}__row-break`] })), /* @__PURE__ */ e.createElement(
|
|
3544
3544
|
"div",
|
|
3545
3545
|
{
|
|
3546
3546
|
className: u(
|
|
3547
|
-
|
|
3548
|
-
t &&
|
|
3547
|
+
Q[`${ee}__wrapper`],
|
|
3548
|
+
t && Q[`${ee}__wrapper--inline`]
|
|
3549
3549
|
)
|
|
3550
3550
|
},
|
|
3551
3551
|
(_ || d) && /* @__PURE__ */ e.createElement(
|
|
3552
3552
|
"div",
|
|
3553
3553
|
{
|
|
3554
3554
|
className: u(
|
|
3555
|
-
|
|
3556
|
-
t &&
|
|
3557
|
-
!_ &&
|
|
3555
|
+
Q[`${ee}__label`],
|
|
3556
|
+
t && Q[`${ee}__label--inline`],
|
|
3557
|
+
!_ && Q[`${ee}__label--no-text`]
|
|
3558
3558
|
)
|
|
3559
3559
|
},
|
|
3560
3560
|
_ && /* @__PURE__ */ e.createElement(
|
|
3561
3561
|
"div",
|
|
3562
3562
|
{
|
|
3563
3563
|
className: u(
|
|
3564
|
-
|
|
3565
|
-
t &&
|
|
3564
|
+
Q[`${ee}__label-wrapper`],
|
|
3565
|
+
t && Q[`${ee}__label-wrapper--inline`]
|
|
3566
3566
|
),
|
|
3567
3567
|
style: {
|
|
3568
3568
|
height: s
|
|
@@ -3571,7 +3571,7 @@ const ci = (t) => {
|
|
|
3571
3571
|
/* @__PURE__ */ e.createElement(
|
|
3572
3572
|
"label",
|
|
3573
3573
|
{
|
|
3574
|
-
className:
|
|
3574
|
+
className: Q[`${ee}__label-left-node`],
|
|
3575
3575
|
htmlFor: n
|
|
3576
3576
|
},
|
|
3577
3577
|
/* @__PURE__ */ e.createElement(B, { as: "span", size: "sm" }, _)
|
|
@@ -3582,8 +3582,8 @@ const ci = (t) => {
|
|
|
3582
3582
|
as: "div",
|
|
3583
3583
|
size: "sm",
|
|
3584
3584
|
className: u(
|
|
3585
|
-
|
|
3586
|
-
t &&
|
|
3585
|
+
Q[`${ee}__label-adornment`],
|
|
3586
|
+
t && Q[`${ee}__label-adornment--inline`]
|
|
3587
3587
|
)
|
|
3588
3588
|
},
|
|
3589
3589
|
o
|
|
@@ -3594,15 +3594,15 @@ const ci = (t) => {
|
|
|
3594
3594
|
{
|
|
3595
3595
|
as: "div",
|
|
3596
3596
|
size: "sm",
|
|
3597
|
-
className: u(
|
|
3597
|
+
className: u(Q[`${ee}__label-right-node`])
|
|
3598
3598
|
},
|
|
3599
3599
|
d
|
|
3600
3600
|
)
|
|
3601
3601
|
),
|
|
3602
|
-
/* @__PURE__ */ e.createElement("div", { className: u(
|
|
3602
|
+
/* @__PURE__ */ e.createElement("div", { className: u(Q[`${ee}__content`]) }, /* @__PURE__ */ e.createElement("div", { ref: i }, c), a && /* @__PURE__ */ e.createElement(Sr, null, a), !a && r && /* @__PURE__ */ e.createElement(
|
|
3603
3603
|
za,
|
|
3604
3604
|
{
|
|
3605
|
-
className: u(
|
|
3605
|
+
className: u(Q[`${ee}__content__description`])
|
|
3606
3606
|
},
|
|
3607
3607
|
r
|
|
3608
3608
|
))
|
|
@@ -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,
|
|
@@ -3667,7 +3667,7 @@ const ci = (t) => {
|
|
|
3667
3667
|
[Le[`${Oe}__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,7 +3686,7 @@ 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), [
|
|
3689
|
+
const [p, m] = e.useState(!1), [f, b] = e.useState(!1), { type: v, onFocus: h, onBlur: y } = n, E = u(
|
|
3690
3690
|
o,
|
|
3691
3691
|
Le[Oe],
|
|
3692
3692
|
Le[`${Oe}--${t}`],
|
|
@@ -3697,7 +3697,7 @@ const ci = (t) => {
|
|
|
3697
3697
|
[Le[`${Oe}--crop`]]: l,
|
|
3698
3698
|
[Le[`${Oe}--read-only`]]: n.readOnly
|
|
3699
3699
|
}
|
|
3700
|
-
), $ = r ? "var(--content-disabled)" : "var(--content-default)", w =
|
|
3700
|
+
), $ = r ? "var(--content-disabled)" : "var(--content-default)", w = f ? F_ : R_, C = _ && _.place === "left", g = _ && v !== "password" && _.place === "right", N = () => {
|
|
3701
3701
|
var S;
|
|
3702
3702
|
(S = s.current) == null || S.focus();
|
|
3703
3703
|
};
|
|
@@ -3716,24 +3716,24 @@ const ci = (t) => {
|
|
|
3716
3716
|
T(k({}, n), {
|
|
3717
3717
|
ref: s,
|
|
3718
3718
|
onFocus: (S) => {
|
|
3719
|
-
m(!0),
|
|
3719
|
+
m(!0), h == null || h(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: v && !f ? v : "text"
|
|
3726
3726
|
})
|
|
3727
3727
|
),
|
|
3728
|
-
|
|
3729
|
-
|
|
3728
|
+
g && Yr(_, r),
|
|
3729
|
+
v === "password" && /* @__PURE__ */ e.createElement(
|
|
3730
3730
|
W,
|
|
3731
3731
|
{
|
|
3732
3732
|
disabled: r,
|
|
3733
3733
|
kind: "text",
|
|
3734
3734
|
size: "compact",
|
|
3735
3735
|
icon: /* @__PURE__ */ e.createElement(x, { customColor: $, source: w }),
|
|
3736
|
-
onClick: () =>
|
|
3736
|
+
onClick: () => b((S) => !S),
|
|
3737
3737
|
className: Le[`${Oe}__visibility-button`]
|
|
3738
3738
|
}
|
|
3739
3739
|
)
|
|
@@ -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 = ""
|
|
@@ -3802,8 +3802,8 @@ const ci = (t) => {
|
|
|
3802
3802
|
e.useEffect(() => {
|
|
3803
3803
|
if (!_)
|
|
3804
3804
|
return;
|
|
3805
|
-
const m = (
|
|
3806
|
-
|
|
3805
|
+
const m = (f) => {
|
|
3806
|
+
f.key === de.esc && r();
|
|
3807
3807
|
};
|
|
3808
3808
|
return document.addEventListener("keyup", m, !0), () => document.removeEventListener("keyup", m, !0);
|
|
3809
3809
|
}, [_]);
|
|
@@ -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 = "",
|
|
@@ -3869,8 +3869,8 @@ const ci = (t) => {
|
|
|
3869
3869
|
"onClose",
|
|
3870
3870
|
"contentClassName"
|
|
3871
3871
|
]);
|
|
3872
|
-
const p = u(se[dt], a), m = typeof t == "string",
|
|
3873
|
-
|
|
3872
|
+
const p = u(se[dt], a), m = typeof t == "string", f = (b) => {
|
|
3873
|
+
b.preventDefault(), b.stopPropagation(), n();
|
|
3874
3874
|
};
|
|
3875
3875
|
return /* @__PURE__ */ e.createElement(
|
|
3876
3876
|
en,
|
|
@@ -3893,7 +3893,7 @@ const ci = (t) => {
|
|
|
3893
3893
|
{
|
|
3894
3894
|
labelType: !!_,
|
|
3895
3895
|
customColor: "var(--color-white)",
|
|
3896
|
-
onClick:
|
|
3896
|
+
onClick: f
|
|
3897
3897
|
}
|
|
3898
3898
|
)),
|
|
3899
3899
|
!_ && /* @__PURE__ */ e.createElement(
|
|
@@ -3912,7 +3912,7 @@ const ci = (t) => {
|
|
|
3912
3912
|
},
|
|
3913
3913
|
r
|
|
3914
3914
|
),
|
|
3915
|
-
/* @__PURE__ */ e.createElement(Xr, { onClick:
|
|
3915
|
+
/* @__PURE__ */ e.createElement(Xr, { onClick: f })
|
|
3916
3916
|
),
|
|
3917
3917
|
/* @__PURE__ */ e.createElement(
|
|
3918
3918
|
"div",
|
|
@@ -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,
|
|
@@ -4028,7 +4028,7 @@ const ci = (t) => {
|
|
|
4028
4028
|
"style",
|
|
4029
4029
|
"onChange"
|
|
4030
4030
|
]);
|
|
4031
|
-
const m = e.useRef(null),
|
|
4031
|
+
const m = e.useRef(null), f = u(
|
|
4032
4032
|
Pt[At],
|
|
4033
4033
|
{
|
|
4034
4034
|
[Pt[`${At}--error`]]: a,
|
|
@@ -4036,29 +4036,29 @@ const ci = (t) => {
|
|
|
4036
4036
|
[Pt[`${At}--disabled`]]: l
|
|
4037
4037
|
},
|
|
4038
4038
|
t
|
|
4039
|
-
),
|
|
4040
|
-
const N = parseInt(r, 10) +
|
|
4041
|
-
return
|
|
4042
|
-
}, y = (
|
|
4043
|
-
|
|
4044
|
-
}, E = (
|
|
4045
|
-
|
|
4046
|
-
const N =
|
|
4039
|
+
), b = (g) => d(String(g)), v = (g) => _ !== void 0 && g > _ ? _ : o !== void 0 && g < o ? o : g, h = (g) => {
|
|
4040
|
+
const N = parseInt(r, 10) + g;
|
|
4041
|
+
return b(v(N));
|
|
4042
|
+
}, y = (g) => {
|
|
4043
|
+
g.key === de.arrowDown && (g.preventDefault(), h(-1)), g.key === de.arrowUp && (g.preventDefault(), h(1));
|
|
4044
|
+
}, E = (g, N) => N !== void 0 && parseInt(g, 10) === N, $ = (g) => {
|
|
4045
|
+
g.preventDefault(), g.stopPropagation();
|
|
4046
|
+
const N = g.currentTarget.value.replace(
|
|
4047
4047
|
/((?!([-]|([-]?\d+))).)/,
|
|
4048
4048
|
""
|
|
4049
4049
|
);
|
|
4050
4050
|
if (N === "" || N === "-")
|
|
4051
|
-
return
|
|
4051
|
+
return b(N);
|
|
4052
4052
|
const S = parseInt(N, 10);
|
|
4053
|
-
return
|
|
4053
|
+
return b(v(S));
|
|
4054
4054
|
}, w = () => {
|
|
4055
|
-
var
|
|
4056
|
-
return (
|
|
4055
|
+
var g;
|
|
4056
|
+
return (g = m.current) == null || g.focus(), h(1);
|
|
4057
4057
|
}, C = () => {
|
|
4058
|
-
var
|
|
4059
|
-
return (
|
|
4058
|
+
var g;
|
|
4059
|
+
return (g = m.current) == null || g.focus(), h(-1);
|
|
4060
4060
|
};
|
|
4061
|
-
return /* @__PURE__ */ e.createElement("div", { className:
|
|
4061
|
+
return /* @__PURE__ */ e.createElement("div", { className: f, style: c }, /* @__PURE__ */ e.createElement(
|
|
4062
4062
|
"input",
|
|
4063
4063
|
T(k({
|
|
4064
4064
|
type: "text",
|
|
@@ -4119,6 +4119,7 @@ const ci = (t) => {
|
|
|
4119
4119
|
"checklist-item__content__label": "lc-CheckListItem-module__checklist-item__content__label___79MZg",
|
|
4120
4120
|
"checklist-item__content__label--open": "lc-CheckListItem-module__checklist-item__content__label--open___go30G",
|
|
4121
4121
|
"checklist-item__content__label--checked": "lc-CheckListItem-module__checklist-item__content__label--checked___-P-5P",
|
|
4122
|
+
"checklist-item__content__hint": "lc-CheckListItem-module__checklist-item__content__hint___s2ISh",
|
|
4122
4123
|
"checklist-item__content__inner": "lc-CheckListItem-module__checklist-item__content__inner___idZ9Y",
|
|
4123
4124
|
"checklist-item__content__inner--open": "lc-CheckListItem-module__checklist-item__content__inner--open___hwIrI",
|
|
4124
4125
|
"checklist-item__content__inner__description": "lc-CheckListItem-module__checklist-item__content__inner__description___FBp5h",
|
|
@@ -4135,20 +4136,20 @@ const ci = (t) => {
|
|
|
4135
4136
|
onClick: c,
|
|
4136
4137
|
cta: d
|
|
4137
4138
|
}) => {
|
|
4138
|
-
const i = e.useRef(null), s = e.useRef(null), [p, m] = e.useState(0),
|
|
4139
|
+
const i = e.useRef(null), s = e.useRef(null), [p, m] = e.useState(0), f = e.useRef(p);
|
|
4139
4140
|
return e.useEffect(() => {
|
|
4140
4141
|
a && i.current && i.current.focus();
|
|
4141
4142
|
}, [a]), e.useEffect(() => {
|
|
4142
|
-
const
|
|
4143
|
-
if (s.current &&
|
|
4144
|
-
const
|
|
4145
|
-
const y =
|
|
4143
|
+
const b = !!window.ResizeObserver;
|
|
4144
|
+
if (s.current && b) {
|
|
4145
|
+
const v = new ResizeObserver((h) => {
|
|
4146
|
+
const y = h[0];
|
|
4146
4147
|
if (!y)
|
|
4147
4148
|
return;
|
|
4148
4149
|
const E = y.contentRect.height + tn;
|
|
4149
|
-
|
|
4150
|
+
f.current !== E && (m(E), f.current = E);
|
|
4150
4151
|
});
|
|
4151
|
-
return
|
|
4152
|
+
return v.observe(s.current), () => v.disconnect();
|
|
4152
4153
|
}
|
|
4153
4154
|
}, [s]), /* @__PURE__ */ e.createElement(
|
|
4154
4155
|
"div",
|
|
@@ -4180,7 +4181,7 @@ const ci = (t) => {
|
|
|
4180
4181
|
[oe[`${le}__content--open`]]: a
|
|
4181
4182
|
})
|
|
4182
4183
|
},
|
|
4183
|
-
/* @__PURE__ */ e.createElement(
|
|
4184
|
+
/* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
|
|
4184
4185
|
ne,
|
|
4185
4186
|
{
|
|
4186
4187
|
size: "xs",
|
|
@@ -4198,10 +4199,10 @@ const ci = (t) => {
|
|
|
4198
4199
|
size: "lg",
|
|
4199
4200
|
className: oe[`${le}__content__hint`]
|
|
4200
4201
|
},
|
|
4202
|
+
" ",
|
|
4201
4203
|
l
|
|
4202
4204
|
)
|
|
4203
|
-
),
|
|
4204
|
-
/* @__PURE__ */ e.createElement(
|
|
4205
|
+
), /* @__PURE__ */ e.createElement(
|
|
4205
4206
|
"div",
|
|
4206
4207
|
{
|
|
4207
4208
|
className: u(oe[`${le}__content__inner`], {
|
|
@@ -4217,11 +4218,11 @@ const ci = (t) => {
|
|
|
4217
4218
|
},
|
|
4218
4219
|
n
|
|
4219
4220
|
), /* @__PURE__ */ e.createElement("div", { className: oe[`${le}__content__inner__cta`] }, d))
|
|
4220
|
-
),
|
|
4221
|
+
)),
|
|
4221
4222
|
!a && /* @__PURE__ */ e.createElement("div", { className: oe[`${le}__chevron`] }, /* @__PURE__ */ e.createElement(x, { source: La }))
|
|
4222
4223
|
)
|
|
4223
4224
|
);
|
|
4224
|
-
},
|
|
4225
|
+
}, Z = {
|
|
4225
4226
|
"onboarding-checklist": "lc-OnboardingChecklist-module__onboarding-checklist___xwJSs",
|
|
4226
4227
|
"onboarding-checklist--complete": "lc-OnboardingChecklist-module__onboarding-checklist--complete___7guKi",
|
|
4227
4228
|
"onboarding-checklist__complete": "lc-OnboardingChecklist-module__onboarding-checklist__complete___MWabe",
|
|
@@ -4230,6 +4231,7 @@ const ci = (t) => {
|
|
|
4230
4231
|
"onboarding-checklist__complete__title": "lc-OnboardingChecklist-module__onboarding-checklist__complete__title___Fenvu",
|
|
4231
4232
|
"onboarding-checklist__column": "lc-OnboardingChecklist-module__onboarding-checklist__column___Uzq7i",
|
|
4232
4233
|
"onboarding-checklist__column--right": "lc-OnboardingChecklist-module__onboarding-checklist__column--right___CZCfy",
|
|
4234
|
+
"onboarding-checklist__column--right--completed": "lc-OnboardingChecklist-module__onboarding-checklist__column--right--completed___8LSA8",
|
|
4233
4235
|
"onboarding-checklist__header": "lc-OnboardingChecklist-module__onboarding-checklist__header___GlTPZ",
|
|
4234
4236
|
"onboarding-checklist__header__label": "lc-OnboardingChecklist-module__onboarding-checklist__header__label___YpUEt",
|
|
4235
4237
|
"onboarding-checklist__header__title": "lc-OnboardingChecklist-module__onboarding-checklist__header__title___23C6-",
|
|
@@ -4238,7 +4240,7 @@ const ci = (t) => {
|
|
|
4238
4240
|
"onboarding-checklist__button": "lc-OnboardingChecklist-module__onboarding-checklist__button___Gnl9l",
|
|
4239
4241
|
"onboarding-checklist__button__icon": "lc-OnboardingChecklist-module__onboarding-checklist__button__icon___oW59S",
|
|
4240
4242
|
"onboarding-checklist__button__icon--open": "lc-OnboardingChecklist-module__onboarding-checklist__button__icon--open___HrIjs"
|
|
4241
|
-
},
|
|
4243
|
+
}, X = "onboarding-checklist", wi = ({
|
|
4242
4244
|
activeItemId: t,
|
|
4243
4245
|
completedItemsIds: a,
|
|
4244
4246
|
title: r,
|
|
@@ -4251,16 +4253,16 @@ const ci = (t) => {
|
|
|
4251
4253
|
className: i
|
|
4252
4254
|
}) => {
|
|
4253
4255
|
var $;
|
|
4254
|
-
const [s, p] = e.useState(c), [m,
|
|
4255
|
-
|
|
4256
|
+
const [s, p] = e.useState(c), [m, f] = e.useState(!c), [b, v] = e.useState(void 0), h = e.useRef(null), y = d.height || 96, E = () => {
|
|
4257
|
+
f((w) => !w);
|
|
4256
4258
|
};
|
|
4257
4259
|
return e.useEffect(() => {
|
|
4258
|
-
const w = d.delay || 1500, C =
|
|
4260
|
+
const w = d.delay || 1500, C = h.current;
|
|
4259
4261
|
if (c && C) {
|
|
4260
|
-
const
|
|
4261
|
-
|
|
4262
|
+
const g = C.offsetHeight;
|
|
4263
|
+
v(g);
|
|
4262
4264
|
const N = setTimeout(() => {
|
|
4263
|
-
p(!0),
|
|
4265
|
+
p(!0), f(!1);
|
|
4264
4266
|
}, w);
|
|
4265
4267
|
return () => {
|
|
4266
4268
|
clearTimeout(N);
|
|
@@ -4269,33 +4271,33 @@ const ci = (t) => {
|
|
|
4269
4271
|
}, [c]), /* @__PURE__ */ e.createElement(
|
|
4270
4272
|
"div",
|
|
4271
4273
|
{
|
|
4272
|
-
ref:
|
|
4274
|
+
ref: h,
|
|
4273
4275
|
className: u(
|
|
4274
|
-
|
|
4276
|
+
Z[X],
|
|
4275
4277
|
{
|
|
4276
|
-
[
|
|
4278
|
+
[Z[`${X}--complete`]]: s && !m
|
|
4277
4279
|
},
|
|
4278
4280
|
i
|
|
4279
4281
|
),
|
|
4280
4282
|
style: {
|
|
4281
|
-
height: !s || m ?
|
|
4283
|
+
height: !s || m ? b : y
|
|
4282
4284
|
}
|
|
4283
4285
|
},
|
|
4284
|
-
m && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className:
|
|
4286
|
+
m && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: Z[`${X}__column`] }, /* @__PURE__ */ e.createElement("div", { className: Z[`${X}__header`] }, _ && /* @__PURE__ */ e.createElement(
|
|
4285
4287
|
B,
|
|
4286
4288
|
{
|
|
4287
4289
|
size: "lg",
|
|
4288
|
-
className:
|
|
4290
|
+
className: Z[`${X}__header__label`]
|
|
4289
4291
|
},
|
|
4290
4292
|
_
|
|
4291
4293
|
), /* @__PURE__ */ e.createElement(
|
|
4292
4294
|
ne,
|
|
4293
4295
|
{
|
|
4294
4296
|
size: "lg",
|
|
4295
|
-
className:
|
|
4297
|
+
className: Z[`${X}__header__title`]
|
|
4296
4298
|
},
|
|
4297
4299
|
r
|
|
4298
|
-
)), /* @__PURE__ */ e.createElement("div", { className:
|
|
4300
|
+
)), /* @__PURE__ */ e.createElement("div", { className: Z[`${X}__checklist`] }, o.map((w, C) => /* @__PURE__ */ e.createElement(
|
|
4299
4301
|
an,
|
|
4300
4302
|
{
|
|
4301
4303
|
key: C,
|
|
@@ -4313,33 +4315,36 @@ const ci = (t) => {
|
|
|
4313
4315
|
"div",
|
|
4314
4316
|
{
|
|
4315
4317
|
className: u(
|
|
4316
|
-
|
|
4317
|
-
|
|
4318
|
+
Z[`${X}__column`],
|
|
4319
|
+
Z[`${X}__column--right`],
|
|
4320
|
+
{
|
|
4321
|
+
[Z[`${X}__column--right--completed`]]: c
|
|
4322
|
+
},
|
|
4318
4323
|
n
|
|
4319
4324
|
)
|
|
4320
4325
|
},
|
|
4321
|
-
!c && /* @__PURE__ */ e.createElement("div", { className:
|
|
4322
|
-
c && /* @__PURE__ */ e.createElement("div", { className:
|
|
4326
|
+
!c && /* @__PURE__ */ e.createElement("div", { className: Z[`${X}__placeholder`] }, ($ = o.find((w) => w.id === t)) == null ? void 0 : $.placeholder),
|
|
4327
|
+
c && /* @__PURE__ */ e.createElement("div", { className: Z[`${X}__placeholder`] }, d.placeholder)
|
|
4323
4328
|
)),
|
|
4324
|
-
!m && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className:
|
|
4329
|
+
!m && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: Z[`${X}__complete`] }, /* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(
|
|
4325
4330
|
x,
|
|
4326
4331
|
{
|
|
4327
4332
|
size: "large",
|
|
4328
|
-
className:
|
|
4333
|
+
className: Z[`${X}__complete__icon`],
|
|
4329
4334
|
source: vr
|
|
4330
4335
|
}
|
|
4331
4336
|
)), /* @__PURE__ */ e.createElement("div", null, (d == null ? void 0 : d.greetingText) && /* @__PURE__ */ e.createElement(
|
|
4332
4337
|
B,
|
|
4333
4338
|
{
|
|
4334
4339
|
size: "lg",
|
|
4335
|
-
className:
|
|
4340
|
+
className: Z[`${X}__complete__label`]
|
|
4336
4341
|
},
|
|
4337
4342
|
d.greetingText
|
|
4338
4343
|
), /* @__PURE__ */ e.createElement(
|
|
4339
4344
|
ne,
|
|
4340
4345
|
{
|
|
4341
4346
|
size: "sm",
|
|
4342
|
-
className:
|
|
4347
|
+
className: Z[`${X}__complete__title`]
|
|
4343
4348
|
},
|
|
4344
4349
|
d.title
|
|
4345
4350
|
)))),
|
|
@@ -4352,12 +4357,12 @@ const ci = (t) => {
|
|
|
4352
4357
|
{
|
|
4353
4358
|
source: Ot,
|
|
4354
4359
|
className: u(
|
|
4355
|
-
|
|
4356
|
-
m &&
|
|
4360
|
+
Z[`${X}__button__icon`],
|
|
4361
|
+
m && Z[`${X}__button__icon--open`]
|
|
4357
4362
|
)
|
|
4358
4363
|
}
|
|
4359
4364
|
),
|
|
4360
|
-
className:
|
|
4365
|
+
className: Z[`${X}__button`],
|
|
4361
4366
|
onClick: E,
|
|
4362
4367
|
"aria-expanded": m
|
|
4363
4368
|
}
|
|
@@ -4378,7 +4383,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4378
4383
|
}), r;
|
|
4379
4384
|
}, br = (t) => t.filter(
|
|
4380
4385
|
({ key: a, disabled: r, groupHeader: _ }) => !(a === Mt || r || _)
|
|
4381
|
-
), 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 = {
|
|
4382
4387
|
"item-wrapper": "lc-PickerListItem-module__item-wrapper___ETYMU",
|
|
4383
4388
|
"item-wrapper__first": "lc-PickerListItem-module__item-wrapper__first___uit1z",
|
|
4384
4389
|
"item-wrapper__last": "lc-PickerListItem-module__item-wrapper__last___cWmGF",
|
|
@@ -4403,37 +4408,37 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4403
4408
|
item: n,
|
|
4404
4409
|
numberOfItems: c
|
|
4405
4410
|
}) => {
|
|
4406
|
-
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[`${Pe}__custom`] }, s.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, s.showCheckbox && /* @__PURE__ */ e.createElement(
|
|
4407
4412
|
Dl,
|
|
4408
4413
|
{
|
|
4409
|
-
className:
|
|
4414
|
+
className: be[`${Pe}__checkbox`],
|
|
4410
4415
|
checked: r
|
|
4411
4416
|
}
|
|
4412
4417
|
), s.icon && /* @__PURE__ */ e.createElement(
|
|
4413
4418
|
x,
|
|
4414
4419
|
{
|
|
4415
|
-
className:
|
|
4420
|
+
className: be[`${Pe}__icon`],
|
|
4416
4421
|
kind: "link",
|
|
4417
4422
|
source: s.icon
|
|
4418
4423
|
}
|
|
4419
4424
|
), s.avatarSrc && /* @__PURE__ */ e.createElement(
|
|
4420
4425
|
"img",
|
|
4421
4426
|
{
|
|
4422
|
-
className: u(
|
|
4427
|
+
className: u(be[`${Pe}__avatar`]),
|
|
4423
4428
|
src: s.avatarSrc,
|
|
4424
4429
|
alt: s.name
|
|
4425
4430
|
}
|
|
4426
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
4431
|
+
), /* @__PURE__ */ e.createElement("div", { className: be[`${Pe}__label-container`] }, /* @__PURE__ */ e.createElement(
|
|
4427
4432
|
B,
|
|
4428
4433
|
{
|
|
4429
4434
|
as: "span",
|
|
4430
|
-
className: u([
|
|
4431
|
-
[
|
|
4435
|
+
className: u([be[`${Pe}__label`]], {
|
|
4436
|
+
[be[`${Pe}__main-label`]]: s.secondaryText
|
|
4432
4437
|
}),
|
|
4433
4438
|
"aria-disabled": s.disabled
|
|
4434
4439
|
},
|
|
4435
4440
|
s.name
|
|
4436
|
-
), s.secondaryText && /* @__PURE__ */ e.createElement("span", { className:
|
|
4441
|
+
), s.secondaryText && /* @__PURE__ */ e.createElement("span", { className: be[`${Pe}__secondary-label`] }, s.secondaryText)));
|
|
4437
4442
|
if (n.groupHeader)
|
|
4438
4443
|
return /* @__PURE__ */ e.createElement(
|
|
4439
4444
|
"div",
|
|
@@ -4441,7 +4446,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4441
4446
|
id: `item-${t}`,
|
|
4442
4447
|
key: n.key,
|
|
4443
4448
|
role: "group",
|
|
4444
|
-
className:
|
|
4449
|
+
className: be[`${Pe}__header`]
|
|
4445
4450
|
}, l()),
|
|
4446
4451
|
/* @__PURE__ */ e.createElement(ne, { size: "2xs", uppercase: !0, bold: !0, as: "div" }, n.name)
|
|
4447
4452
|
);
|
|
@@ -4463,9 +4468,9 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4463
4468
|
}, l({
|
|
4464
4469
|
onClick: () => i(n.key)
|
|
4465
4470
|
})), {
|
|
4466
|
-
className: u(
|
|
4467
|
-
[
|
|
4468
|
-
[
|
|
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
|
|
4469
4474
|
})
|
|
4470
4475
|
}),
|
|
4471
4476
|
/* @__PURE__ */ e.createElement(
|
|
@@ -4474,8 +4479,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4474
4479
|
"aria-selected": r,
|
|
4475
4480
|
"aria-disabled": n.disabled,
|
|
4476
4481
|
"aria-current": a && !n.disabled,
|
|
4477
|
-
className: u(
|
|
4478
|
-
[
|
|
4482
|
+
className: u(be[Pe], {
|
|
4483
|
+
[be[`${Pe}--select-all`]]: n.key === Mt
|
|
4479
4484
|
})
|
|
4480
4485
|
},
|
|
4481
4486
|
d(n),
|
|
@@ -4508,13 +4513,13 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4508
4513
|
getFloatingProps: s,
|
|
4509
4514
|
getItemProps: p,
|
|
4510
4515
|
emptyStateText: m = "No results found",
|
|
4511
|
-
pickerType:
|
|
4512
|
-
listClassName:
|
|
4513
|
-
virtuosoProps:
|
|
4516
|
+
pickerType: f = "single",
|
|
4517
|
+
listClassName: b,
|
|
4518
|
+
virtuosoProps: v
|
|
4514
4519
|
}) => {
|
|
4515
|
-
const [
|
|
4520
|
+
const [h, y] = e.useState(0), E = o.length, $ = e.useCallback(
|
|
4516
4521
|
(C) => {
|
|
4517
|
-
C !==
|
|
4522
|
+
C !== h && (C < _ ? y(C + (E - 1) * rn) : y(_));
|
|
4518
4523
|
},
|
|
4519
4524
|
[E]
|
|
4520
4525
|
);
|
|
@@ -4538,7 +4543,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4538
4543
|
"data-testid": "picker-list",
|
|
4539
4544
|
ref: a,
|
|
4540
4545
|
tabIndex: -1,
|
|
4541
|
-
className: u(Qt.listbox,
|
|
4546
|
+
className: u(Qt.listbox, b),
|
|
4542
4547
|
style: T(k({}, r), {
|
|
4543
4548
|
maxHeight: _
|
|
4544
4549
|
})
|
|
@@ -4547,7 +4552,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4547
4552
|
"div",
|
|
4548
4553
|
k({
|
|
4549
4554
|
tabIndex: 0,
|
|
4550
|
-
"aria-multiselectable":
|
|
4555
|
+
"aria-multiselectable": f === "multi",
|
|
4551
4556
|
className: Qt["listbox-wrapper"]
|
|
4552
4557
|
}, s({
|
|
4553
4558
|
onKeyDown(C) {
|
|
@@ -4564,21 +4569,21 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4564
4569
|
lo,
|
|
4565
4570
|
T(k({
|
|
4566
4571
|
totalListHeightChanged: $,
|
|
4567
|
-
style: { height: `${
|
|
4572
|
+
style: { height: `${h}px`, maxHeight: _ },
|
|
4568
4573
|
totalCount: o.length,
|
|
4569
4574
|
data: o,
|
|
4570
4575
|
increaseViewportBy: 200
|
|
4571
|
-
},
|
|
4572
|
-
itemContent: (C,
|
|
4576
|
+
}, v), {
|
|
4577
|
+
itemContent: (C, g) => /* @__PURE__ */ e.createElement(
|
|
4573
4578
|
nn,
|
|
4574
4579
|
{
|
|
4575
4580
|
index: C,
|
|
4576
4581
|
getItemProps: p,
|
|
4577
4582
|
listElementsRef: c,
|
|
4578
4583
|
isActive: l === C,
|
|
4579
|
-
isSelected: w(
|
|
4584
|
+
isSelected: w(g.key),
|
|
4580
4585
|
onSelect: i,
|
|
4581
|
-
item:
|
|
4586
|
+
item: g,
|
|
4582
4587
|
numberOfItems: E
|
|
4583
4588
|
}
|
|
4584
4589
|
)
|
|
@@ -4586,7 +4591,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4586
4591
|
)
|
|
4587
4592
|
)
|
|
4588
4593
|
));
|
|
4589
|
-
},
|
|
4594
|
+
}, he = {
|
|
4590
4595
|
"picker-trigger": "lc-PickerTrigger-module__picker-trigger___-tjS0",
|
|
4591
4596
|
"picker-trigger--multi-select": "lc-PickerTrigger-module__picker-trigger--multi-select___av4Ws",
|
|
4592
4597
|
"picker-trigger--multi-select--with-items": "lc-PickerTrigger-module__picker-trigger--multi-select--with-items___7uI-R",
|
|
@@ -4618,43 +4623,43 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4618
4623
|
isError: s,
|
|
4619
4624
|
onClear: p,
|
|
4620
4625
|
children: m,
|
|
4621
|
-
setTriggerFocus:
|
|
4626
|
+
setTriggerFocus: f
|
|
4622
4627
|
}) => {
|
|
4623
|
-
const
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
o &&
|
|
4627
|
-
o && l &&
|
|
4628
|
-
c &&
|
|
4629
|
-
i &&
|
|
4630
|
-
s &&
|
|
4631
|
-
),
|
|
4628
|
+
const b = u(
|
|
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
|
+
), v = !n && l && !c && !d, h = (y) => {
|
|
4632
4637
|
y.stopPropagation(), p();
|
|
4633
4638
|
};
|
|
4634
4639
|
return e.useEffect(() => {
|
|
4635
|
-
i ||
|
|
4640
|
+
i || f(!1);
|
|
4636
4641
|
}, [i]), /* @__PURE__ */ e.createElement(
|
|
4637
4642
|
"button",
|
|
4638
4643
|
T(k({
|
|
4639
4644
|
tabIndex: c ? -1 : 0,
|
|
4640
4645
|
"aria-disabled": c,
|
|
4641
4646
|
disabled: c,
|
|
4642
|
-
className:
|
|
4647
|
+
className: b,
|
|
4643
4648
|
"data-testid": r,
|
|
4644
4649
|
ref: t,
|
|
4645
4650
|
type: "button"
|
|
4646
4651
|
}, a()), {
|
|
4647
|
-
onFocus: () =>
|
|
4648
|
-
onBlur: () =>
|
|
4652
|
+
onFocus: () => f(!0),
|
|
4653
|
+
onBlur: () => f(!1)
|
|
4649
4654
|
}),
|
|
4650
4655
|
/* @__PURE__ */ e.createElement(
|
|
4651
4656
|
B,
|
|
4652
4657
|
{
|
|
4653
4658
|
as: "div",
|
|
4654
4659
|
className: u(
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
o && l &&
|
|
4660
|
+
he[`${ie}__content`],
|
|
4661
|
+
he[`${ie}__content--${_}`],
|
|
4662
|
+
o && l && he[`${ie}__content--with-items`]
|
|
4658
4663
|
)
|
|
4659
4664
|
},
|
|
4660
4665
|
m
|
|
@@ -4663,23 +4668,23 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4663
4668
|
"div",
|
|
4664
4669
|
{
|
|
4665
4670
|
className: u(
|
|
4666
|
-
|
|
4667
|
-
|
|
4671
|
+
he[`${ie}__controls`],
|
|
4672
|
+
he[`${ie}__controls--${_}`]
|
|
4668
4673
|
)
|
|
4669
4674
|
},
|
|
4670
|
-
|
|
4675
|
+
v && /* @__PURE__ */ e.createElement(
|
|
4671
4676
|
"div",
|
|
4672
4677
|
{
|
|
4673
4678
|
"data-testid": `${ie}__clear-icon`,
|
|
4674
|
-
className:
|
|
4675
|
-
onClick:
|
|
4679
|
+
className: he[`${ie}__clear-icon`],
|
|
4680
|
+
onClick: h
|
|
4676
4681
|
},
|
|
4677
4682
|
/* @__PURE__ */ e.createElement(x, { kind: "primary", size: "small", source: Ie })
|
|
4678
4683
|
),
|
|
4679
4684
|
/* @__PURE__ */ e.createElement(
|
|
4680
4685
|
x,
|
|
4681
4686
|
{
|
|
4682
|
-
className:
|
|
4687
|
+
className: he[`${ie}__chevron-icon`],
|
|
4683
4688
|
source: i ? Oa : Ot,
|
|
4684
4689
|
size: "medium",
|
|
4685
4690
|
disabled: c
|
|
@@ -4687,7 +4692,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4687
4692
|
)
|
|
4688
4693
|
)
|
|
4689
4694
|
);
|
|
4690
|
-
}, 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 = {
|
|
4691
4696
|
tag: un,
|
|
4692
4697
|
"tag__content-wrapper": "lc-Tag-module__tag__content-wrapper___oyXA4",
|
|
4693
4698
|
"tag--success": "lc-Tag-module__tag--success___P2hXQ",
|
|
@@ -4721,8 +4726,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4721
4726
|
"tag__remove--hover": "lc-Tag-module__tag__remove--hover___2ROEU",
|
|
4722
4727
|
tag__node: pn,
|
|
4723
4728
|
tag__content: gn
|
|
4724
|
-
},
|
|
4725
|
-
var
|
|
4729
|
+
}, $e = "tag", fn = (t) => t ? yr(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", h_ = (v) => {
|
|
4730
|
+
var h = v, {
|
|
4726
4731
|
className: t = "",
|
|
4727
4732
|
children: a,
|
|
4728
4733
|
dismissible: r = !1,
|
|
@@ -4736,8 +4741,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4736
4741
|
rightNode: s,
|
|
4737
4742
|
customColor: p,
|
|
4738
4743
|
iconOnly: m = !1,
|
|
4739
|
-
value:
|
|
4740
|
-
} =
|
|
4744
|
+
value: f
|
|
4745
|
+
} = h, b = D(h, [
|
|
4741
4746
|
"className",
|
|
4742
4747
|
"children",
|
|
4743
4748
|
"dismissible",
|
|
@@ -4754,15 +4759,15 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4754
4759
|
"value"
|
|
4755
4760
|
]);
|
|
4756
4761
|
const y = _ || c && m, E = u(
|
|
4757
|
-
|
|
4762
|
+
Ce[$e],
|
|
4758
4763
|
t,
|
|
4759
|
-
|
|
4760
|
-
|
|
4764
|
+
Ce[`${$e}--${l}`],
|
|
4765
|
+
Ce[`${$e}--${n}`],
|
|
4761
4766
|
{
|
|
4762
|
-
[
|
|
4763
|
-
[
|
|
4764
|
-
[
|
|
4765
|
-
[
|
|
4767
|
+
[Ce[`${$e}--outline`]]: d,
|
|
4768
|
+
[Ce[`${$e}--${fn(p)}`]]: !!p,
|
|
4769
|
+
[Ce[`${$e}--icon-only`]]: m,
|
|
4770
|
+
[Ce[`${$e}--dismissible-on-hover`]]: y
|
|
4766
4771
|
}
|
|
4767
4772
|
), $ = l === "small" ? "small" : "medium", w = l === "small" ? "sm" : "md", C = () => p ? d ? {
|
|
4768
4773
|
style: {
|
|
@@ -4770,7 +4775,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4770
4775
|
color: p,
|
|
4771
4776
|
borderColor: p
|
|
4772
4777
|
}
|
|
4773
|
-
} : { style: { backgroundColor: p } } : {},
|
|
4778
|
+
} : { style: { backgroundColor: p } } : {}, g = () => {
|
|
4774
4779
|
if (p)
|
|
4775
4780
|
return d ? p : yr(p, "#FFFFFF") > 4.5 ? "#FFFFFF" : "#000000";
|
|
4776
4781
|
};
|
|
@@ -4778,24 +4783,24 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4778
4783
|
B,
|
|
4779
4784
|
T(k(k({
|
|
4780
4785
|
className: E
|
|
4781
|
-
},
|
|
4786
|
+
}, b), C()), {
|
|
4782
4787
|
as: "div",
|
|
4783
4788
|
size: w
|
|
4784
4789
|
}),
|
|
4785
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
4790
|
+
/* @__PURE__ */ e.createElement("div", { className: Ce[`${$e}__content-wrapper`] }, i && !m && /* @__PURE__ */ e.createElement(
|
|
4786
4791
|
"div",
|
|
4787
4792
|
{
|
|
4788
4793
|
"data-testid": "lc-tag-left-node",
|
|
4789
|
-
className:
|
|
4790
|
-
style: { color:
|
|
4794
|
+
className: Ce[`${$e}__node`],
|
|
4795
|
+
style: { color: g() }
|
|
4791
4796
|
},
|
|
4792
4797
|
i
|
|
4793
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
4798
|
+
), /* @__PURE__ */ e.createElement("div", { className: Ce[`${$e}__content`] }, f || a), s && !m && /* @__PURE__ */ e.createElement(
|
|
4794
4799
|
"div",
|
|
4795
4800
|
{
|
|
4796
4801
|
"data-testid": "lc-tag-right-node",
|
|
4797
|
-
className:
|
|
4798
|
-
style: { color:
|
|
4802
|
+
className: Ce[`${$e}__node`],
|
|
4803
|
+
style: { color: g() }
|
|
4799
4804
|
},
|
|
4800
4805
|
s
|
|
4801
4806
|
)),
|
|
@@ -4807,8 +4812,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4807
4812
|
onClick: c,
|
|
4808
4813
|
role: "button",
|
|
4809
4814
|
"aria-label": "Remove tag",
|
|
4810
|
-
className: u(
|
|
4811
|
-
[
|
|
4815
|
+
className: u(Ce[`${$e}__remove`], {
|
|
4816
|
+
[Ce[`${$e}__remove--hover`]]: y
|
|
4812
4817
|
})
|
|
4813
4818
|
},
|
|
4814
4819
|
/* @__PURE__ */ e.createElement(
|
|
@@ -4817,12 +4822,12 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4817
4822
|
"data-dismiss-icon": !0,
|
|
4818
4823
|
source: Ie,
|
|
4819
4824
|
size: $,
|
|
4820
|
-
customColor:
|
|
4825
|
+
customColor: g()
|
|
4821
4826
|
}
|
|
4822
4827
|
)
|
|
4823
4828
|
)
|
|
4824
4829
|
);
|
|
4825
|
-
},
|
|
4830
|
+
}, ve = {
|
|
4826
4831
|
"picker-trigger-body": "lc-PickerTriggerBody-module__picker-trigger-body___xL0Rq",
|
|
4827
4832
|
"picker-trigger-body--single": "lc-PickerTriggerBody-module__picker-trigger-body--single___5LWZK",
|
|
4828
4833
|
"picker-trigger-body__item-container": "lc-PickerTriggerBody-module__picker-trigger-body__item-container___5Qs5E",
|
|
@@ -4840,7 +4845,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4840
4845
|
"picker-trigger-body__tag--compact": "lc-PickerTriggerBody-module__picker-trigger-body__tag--compact___vajtL",
|
|
4841
4846
|
"picker-trigger-body__tag--medium": "lc-PickerTriggerBody-module__picker-trigger-body__tag--medium___yhMyC",
|
|
4842
4847
|
"picker-trigger-body__tag--large": "lc-PickerTriggerBody-module__picker-trigger-body__tag--large___FbETT"
|
|
4843
|
-
},
|
|
4848
|
+
}, ke = "picker-trigger-body", bn = ({
|
|
4844
4849
|
isOpen: t,
|
|
4845
4850
|
isSearchDisabled: a,
|
|
4846
4851
|
isDisabled: r,
|
|
@@ -4854,41 +4859,41 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4854
4859
|
onFilter: s,
|
|
4855
4860
|
onClear: p,
|
|
4856
4861
|
searchPhrase: m,
|
|
4857
|
-
virtualItemRef:
|
|
4858
|
-
isTriggerFocused:
|
|
4859
|
-
inputRef:
|
|
4862
|
+
virtualItemRef: f,
|
|
4863
|
+
isTriggerFocused: b,
|
|
4864
|
+
inputRef: v
|
|
4860
4865
|
}) => {
|
|
4861
|
-
const
|
|
4866
|
+
const h = t && !a;
|
|
4862
4867
|
e.useEffect(() => {
|
|
4863
|
-
n &&
|
|
4868
|
+
n && v != null && v.current && v.current.focus();
|
|
4864
4869
|
}, [o, n]);
|
|
4865
|
-
const y = (
|
|
4866
|
-
|
|
4870
|
+
const y = (g) => {
|
|
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());
|
|
4867
4872
|
};
|
|
4868
|
-
e.useEffect(() => (!t &&
|
|
4869
|
-
const E = (
|
|
4873
|
+
e.useEffect(() => (!t && b ? document.addEventListener("keydown", y) : document.removeEventListener("keydown", y), () => document.removeEventListener("keydown", y)), [t, o, b]);
|
|
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(
|
|
4870
4875
|
x,
|
|
4871
4876
|
{
|
|
4872
|
-
source:
|
|
4873
|
-
className:
|
|
4877
|
+
source: g.icon,
|
|
4878
|
+
className: ve[`${ke}__item__icon`]
|
|
4874
4879
|
}
|
|
4875
|
-
),
|
|
4880
|
+
), g.avatarSrc && /* @__PURE__ */ e.createElement(
|
|
4876
4881
|
"img",
|
|
4877
4882
|
{
|
|
4878
|
-
src:
|
|
4883
|
+
src: g.avatarSrc,
|
|
4879
4884
|
alt: "",
|
|
4880
|
-
className:
|
|
4885
|
+
className: ve[`${ke}__item__avatar`]
|
|
4881
4886
|
}
|
|
4882
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
4887
|
+
), /* @__PURE__ */ e.createElement("div", { className: ve[`${ke}__item__content`] }, g.name)), $ = (g) => s(g.target.value), w = (g) => {
|
|
4883
4888
|
var N, S;
|
|
4884
|
-
(N =
|
|
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);
|
|
4885
4890
|
}, C = () => /* @__PURE__ */ e.createElement(
|
|
4886
4891
|
"input",
|
|
4887
4892
|
{
|
|
4888
|
-
ref:
|
|
4893
|
+
ref: v,
|
|
4889
4894
|
className: u(
|
|
4890
|
-
|
|
4891
|
-
|
|
4895
|
+
ve[`${ke}__input`],
|
|
4896
|
+
ve[`${ke}__input--${c}`]
|
|
4892
4897
|
),
|
|
4893
4898
|
placeholder: _,
|
|
4894
4899
|
onChange: $,
|
|
@@ -4897,38 +4902,38 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4897
4902
|
value: m
|
|
4898
4903
|
}
|
|
4899
4904
|
);
|
|
4900
|
-
return !o || o.length === 0 ?
|
|
4905
|
+
return !o || o.length === 0 ? h ? C() : /* @__PURE__ */ e.createElement(
|
|
4901
4906
|
"div",
|
|
4902
4907
|
{
|
|
4903
4908
|
className: u({
|
|
4904
|
-
[
|
|
4905
|
-
[
|
|
4909
|
+
[ve[`${ke}__placeholder`]]: !0,
|
|
4910
|
+
[ve[`${ke}__placeholder--disabled`]]: r
|
|
4906
4911
|
})
|
|
4907
4912
|
},
|
|
4908
4913
|
_
|
|
4909
4914
|
) : /* @__PURE__ */ e.createElement(
|
|
4910
4915
|
"div",
|
|
4911
4916
|
{
|
|
4912
|
-
className: u(
|
|
4913
|
-
[
|
|
4917
|
+
className: u(ve[ke], {
|
|
4918
|
+
[ve[`${ke}--single`]]: l === "single"
|
|
4914
4919
|
})
|
|
4915
4920
|
},
|
|
4916
|
-
/* @__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(
|
|
4917
4922
|
h_,
|
|
4918
4923
|
{
|
|
4919
|
-
key:
|
|
4924
|
+
key: g.key,
|
|
4920
4925
|
className: u(
|
|
4921
|
-
|
|
4922
|
-
|
|
4926
|
+
ve[`${ke}__tag`],
|
|
4927
|
+
ve[`${ke}__tag--${c}`]
|
|
4923
4928
|
),
|
|
4924
4929
|
disabled: r,
|
|
4925
4930
|
onRemove: (N) => {
|
|
4926
|
-
N.stopPropagation(), d(
|
|
4931
|
+
N.stopPropagation(), d(g.key);
|
|
4927
4932
|
}
|
|
4928
4933
|
},
|
|
4929
|
-
E(
|
|
4934
|
+
E(g)
|
|
4930
4935
|
))),
|
|
4931
|
-
|
|
4936
|
+
h && C()
|
|
4932
4937
|
);
|
|
4933
4938
|
}, hn = 10, vn = ({
|
|
4934
4939
|
disabled: t,
|
|
@@ -4943,11 +4948,11 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4943
4948
|
onVisibilityChange: i,
|
|
4944
4949
|
searchPhrase: s
|
|
4945
4950
|
}) => {
|
|
4946
|
-
const p = sa(), [m,
|
|
4951
|
+
const p = sa(), [m, f] = e.useState(!1), [b, v] = e.useState(null), [h, y] = e.useState(o), E = e.useRef([]), $ = e.useRef(null);
|
|
4947
4952
|
e.useEffect(() => {
|
|
4948
|
-
$.current = null,
|
|
4953
|
+
$.current = null, v(null);
|
|
4949
4954
|
}, [s]);
|
|
4950
|
-
const { refs: w, floatingStyles: C, context:
|
|
4955
|
+
const { refs: w, floatingStyles: C, context: g, isPositioned: N } = da({
|
|
4951
4956
|
nodeId: p,
|
|
4952
4957
|
open: d,
|
|
4953
4958
|
strategy: l,
|
|
@@ -4959,7 +4964,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4959
4964
|
Ua({ padding: 10 }),
|
|
4960
4965
|
Er(),
|
|
4961
4966
|
__({
|
|
4962
|
-
apply({ availableHeight: L, rects: U, elements:
|
|
4967
|
+
apply({ availableHeight: L, rects: U, elements: ue }) {
|
|
4963
4968
|
l_.flushSync(() => {
|
|
4964
4969
|
y(
|
|
4965
4970
|
Math.max(
|
|
@@ -4967,47 +4972,47 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4967
4972
|
_
|
|
4968
4973
|
)
|
|
4969
4974
|
);
|
|
4970
|
-
}), Object.assign(
|
|
4975
|
+
}), Object.assign(ue.floating.style, {
|
|
4971
4976
|
width: `${U.reference.width}px`
|
|
4972
4977
|
});
|
|
4973
4978
|
},
|
|
4974
4979
|
padding: hn
|
|
4975
4980
|
})
|
|
4976
4981
|
]
|
|
4977
|
-
}), S = pa(
|
|
4982
|
+
}), S = pa(g, k({
|
|
4978
4983
|
enabled: !t,
|
|
4979
4984
|
keyboardHandlers: !1,
|
|
4980
4985
|
toggle: !1
|
|
4981
|
-
}, c)), M = fa(
|
|
4986
|
+
}, c)), M = fa(g, { role: "listbox" }), G = ga(g, n), I = ao(g, {
|
|
4982
4987
|
enabled: a.length > 0 && !t,
|
|
4983
4988
|
listRef: E,
|
|
4984
|
-
activeIndex:
|
|
4985
|
-
onNavigate:
|
|
4989
|
+
activeIndex: b,
|
|
4990
|
+
onNavigate: v,
|
|
4986
4991
|
virtual: !0,
|
|
4987
4992
|
virtualItemRef: $,
|
|
4988
4993
|
disabledIndices: ln(
|
|
4989
4994
|
a,
|
|
4990
4995
|
(L) => !!L.disabled || !!L.groupHeader
|
|
4991
4996
|
)
|
|
4992
|
-
}), { getReferenceProps: O, getFloatingProps: Y, getItemProps:
|
|
4997
|
+
}), { getReferenceProps: O, getFloatingProps: Y, getItemProps: j } = ba(
|
|
4993
4998
|
[S, G, M, I]
|
|
4994
4999
|
);
|
|
4995
|
-
return !d && m &&
|
|
5000
|
+
return !d && m && f(!1), {
|
|
4996
5001
|
getReferenceProps: O,
|
|
4997
5002
|
getFloatingProps: Y,
|
|
4998
|
-
getItemProps:
|
|
5003
|
+
getItemProps: j,
|
|
4999
5004
|
setReference: w.setReference,
|
|
5000
5005
|
floatingStyles: C,
|
|
5001
5006
|
isPositioned: N,
|
|
5002
|
-
context:
|
|
5007
|
+
context: g,
|
|
5003
5008
|
nodeId: p,
|
|
5004
5009
|
setFloating: w.setFloating,
|
|
5005
|
-
activeIndex:
|
|
5010
|
+
activeIndex: b,
|
|
5006
5011
|
listElementsRef: E,
|
|
5007
5012
|
virtualItemRef: $,
|
|
5008
|
-
maxHeight:
|
|
5013
|
+
maxHeight: h,
|
|
5009
5014
|
pointer: m,
|
|
5010
|
-
setPointer:
|
|
5015
|
+
setPointer: f
|
|
5011
5016
|
};
|
|
5012
5017
|
}, kn = ({
|
|
5013
5018
|
selected: t,
|
|
@@ -5021,18 +5026,18 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5021
5026
|
}) => {
|
|
5022
5027
|
const [d, i] = e.useState(
|
|
5023
5028
|
() => (t == null ? void 0 : t.map(lr)) || []
|
|
5024
|
-
), s = t !== void 0, p = s ? (t == null ? void 0 : t.map(lr)) || [] : d, [m,
|
|
5025
|
-
!s && i([]), o(null),
|
|
5029
|
+
), s = t !== void 0, p = s ? (t == null ? void 0 : t.map(lr)) || [] : d, [m, f] = e.useState(""), b = (w) => f(w), v = (w) => $(w), h = () => {
|
|
5030
|
+
!s && i([]), o(null), f(""), l(!1);
|
|
5026
5031
|
}, y = () => {
|
|
5027
|
-
|
|
5032
|
+
b(""), c.current && (c.current.value = "");
|
|
5028
5033
|
}, E = e.useMemo(() => {
|
|
5029
5034
|
const w = r === "multi" && _;
|
|
5030
5035
|
let C = a;
|
|
5031
|
-
return m && (C = C.filter((
|
|
5036
|
+
return m && (C = C.filter((g) => {
|
|
5032
5037
|
var G;
|
|
5033
|
-
if (
|
|
5038
|
+
if (g.groupHeader)
|
|
5034
5039
|
return !1;
|
|
5035
|
-
const N = m.toLowerCase(), S =
|
|
5040
|
+
const N = m.toLowerCase(), S = g.name.toLowerCase(), M = (G = g.secondaryText) == null ? void 0 : G.toLowerCase();
|
|
5036
5041
|
return S.includes(N) || (M == null ? void 0 : M.includes(N));
|
|
5037
5042
|
})), w && C.length > 1 && (C = [
|
|
5038
5043
|
{
|
|
@@ -5042,22 +5047,22 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5042
5047
|
...C
|
|
5043
5048
|
]), C;
|
|
5044
5049
|
}, [m, a, r, _]), $ = (w) => {
|
|
5045
|
-
const C = a.find((
|
|
5050
|
+
const C = a.find((g) => g.key === w);
|
|
5046
5051
|
if (!((!C || C.disabled) && w !== Mt))
|
|
5047
5052
|
if (r === "single")
|
|
5048
5053
|
i(() => (C && o([C]), [w])), l(!1);
|
|
5049
5054
|
else if (w === Mt)
|
|
5050
5055
|
p.length === br(a).length ? i(() => (o(null), [])) : i(() => {
|
|
5051
|
-
const
|
|
5052
|
-
return o(
|
|
5056
|
+
const g = br(a);
|
|
5057
|
+
return o(g), g.map(({ key: N }) => N);
|
|
5053
5058
|
});
|
|
5054
5059
|
else {
|
|
5055
5060
|
if (s) {
|
|
5056
|
-
const
|
|
5061
|
+
const g = (t == null ? void 0 : t.map(lr)) || [], N = Jr(g, w);
|
|
5057
5062
|
o(a.filter(({ key: S }) => N.includes(S)));
|
|
5058
5063
|
} else
|
|
5059
|
-
i((
|
|
5060
|
-
const N = Jr(
|
|
5064
|
+
i((g) => {
|
|
5065
|
+
const N = Jr(g, w);
|
|
5061
5066
|
return o(a.filter(({ key: S }) => N.includes(S))), N;
|
|
5062
5067
|
});
|
|
5063
5068
|
n && y();
|
|
@@ -5068,14 +5073,14 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5068
5073
|
items: E,
|
|
5069
5074
|
searchPhrase: m,
|
|
5070
5075
|
handleSelect: $,
|
|
5071
|
-
handleOnFilter:
|
|
5072
|
-
handleItemRemove:
|
|
5073
|
-
handleClear:
|
|
5076
|
+
handleOnFilter: b,
|
|
5077
|
+
handleItemRemove: v,
|
|
5078
|
+
handleClear: h
|
|
5074
5079
|
};
|
|
5075
5080
|
}, En = {
|
|
5076
5081
|
"picker-wrapper": "lc-Picker-module__picker-wrapper___2EDne"
|
|
5077
|
-
},
|
|
5078
|
-
var
|
|
5082
|
+
}, Ci = (Y) => {
|
|
5083
|
+
var j = Y, {
|
|
5079
5084
|
id: t,
|
|
5080
5085
|
className: a,
|
|
5081
5086
|
listClassName: r,
|
|
@@ -5089,22 +5094,22 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5089
5094
|
placeholder: s = "Select option",
|
|
5090
5095
|
isRequired: p,
|
|
5091
5096
|
noSearchResultText: m = "No results found",
|
|
5092
|
-
selectAllOptionText:
|
|
5093
|
-
type:
|
|
5094
|
-
searchDisabled:
|
|
5095
|
-
hideClearButton:
|
|
5097
|
+
selectAllOptionText: f,
|
|
5098
|
+
type: b = "single",
|
|
5099
|
+
searchDisabled: v = !1,
|
|
5100
|
+
hideClearButton: h,
|
|
5096
5101
|
isVisible: y,
|
|
5097
5102
|
onOpen: E,
|
|
5098
5103
|
onClose: $,
|
|
5099
5104
|
openedOnInit: w = !1,
|
|
5100
5105
|
clearSearchAfterSelection: C = !0,
|
|
5101
|
-
onSelect:
|
|
5106
|
+
onSelect: g,
|
|
5102
5107
|
placement: N,
|
|
5103
5108
|
floatingStrategy: S,
|
|
5104
5109
|
useDismissHookProps: M,
|
|
5105
5110
|
useClickHookProps: G,
|
|
5106
5111
|
virtuosoProps: I
|
|
5107
|
-
} =
|
|
5112
|
+
} = j, O = D(j, [
|
|
5108
5113
|
"id",
|
|
5109
5114
|
"className",
|
|
5110
5115
|
"listClassName",
|
|
@@ -5134,8 +5139,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5134
5139
|
"useClickHookProps",
|
|
5135
5140
|
"virtuosoProps"
|
|
5136
5141
|
]);
|
|
5137
|
-
const [L, U] = e.useState(w), [
|
|
5138
|
-
Gt ? !Ne && (E == null || E(
|
|
5142
|
+
const [L, U] = e.useState(w), [ue, Ke] = e.useState(!1), Ue = y !== void 0, Ne = Ue ? y : L, $t = e.useRef(null), ft = (Gt, pe) => {
|
|
5143
|
+
Gt ? !Ne && (E == null || E(pe)) : Ne && ($ == null || $(pe)), !Ue && U(Gt);
|
|
5139
5144
|
}, {
|
|
5140
5145
|
selectedKeys: Nt,
|
|
5141
5146
|
items: bt,
|
|
@@ -5147,15 +5152,15 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5147
5152
|
} = kn({
|
|
5148
5153
|
selected: d,
|
|
5149
5154
|
options: c,
|
|
5150
|
-
type:
|
|
5151
|
-
selectAllOptionText:
|
|
5152
|
-
onSelect:
|
|
5155
|
+
type: b,
|
|
5156
|
+
selectAllOptionText: f,
|
|
5157
|
+
onSelect: g,
|
|
5153
5158
|
setOpen: ft,
|
|
5154
5159
|
clearSearchAfterSelection: C,
|
|
5155
5160
|
inputRef: $t
|
|
5156
5161
|
}), {
|
|
5157
5162
|
context: V,
|
|
5158
|
-
nodeId:
|
|
5163
|
+
nodeId: me,
|
|
5159
5164
|
getReferenceProps: Ye,
|
|
5160
5165
|
setReference: qe,
|
|
5161
5166
|
getFloatingProps: Wa,
|
|
@@ -5190,11 +5195,11 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5190
5195
|
isItemSelected: Nt.length > 0,
|
|
5191
5196
|
isOpen: Ne,
|
|
5192
5197
|
onClear: P,
|
|
5193
|
-
hideClearButton:
|
|
5198
|
+
hideClearButton: h,
|
|
5194
5199
|
isDisabled: l,
|
|
5195
5200
|
isError: n,
|
|
5196
5201
|
isRequired: p,
|
|
5197
|
-
isMultiSelect:
|
|
5202
|
+
isMultiSelect: b === "multi",
|
|
5198
5203
|
size: i,
|
|
5199
5204
|
setTriggerFocus: Ke
|
|
5200
5205
|
},
|
|
@@ -5202,11 +5207,11 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5202
5207
|
bn,
|
|
5203
5208
|
{
|
|
5204
5209
|
isOpen: Ne,
|
|
5205
|
-
isSearchDisabled:
|
|
5210
|
+
isSearchDisabled: v,
|
|
5206
5211
|
isDisabled: l,
|
|
5207
5212
|
placeholder: s,
|
|
5208
5213
|
selectedItems: d,
|
|
5209
|
-
type:
|
|
5214
|
+
type: b,
|
|
5210
5215
|
size: i,
|
|
5211
5216
|
clearSearchAfterSelection: C,
|
|
5212
5217
|
inputRef: $t,
|
|
@@ -5216,13 +5221,13 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5216
5221
|
onClear: P,
|
|
5217
5222
|
searchPhrase: lt,
|
|
5218
5223
|
virtualItemRef: Za,
|
|
5219
|
-
isTriggerFocused:
|
|
5224
|
+
isTriggerFocused: ue
|
|
5220
5225
|
}
|
|
5221
5226
|
)
|
|
5222
|
-
), /* @__PURE__ */ e.createElement(ha, { id:
|
|
5227
|
+
), /* @__PURE__ */ e.createElement(ha, { id: me }, Ne && /* @__PURE__ */ e.createElement(o_, null, /* @__PURE__ */ e.createElement(
|
|
5223
5228
|
sn,
|
|
5224
5229
|
{
|
|
5225
|
-
pickerType:
|
|
5230
|
+
pickerType: b,
|
|
5226
5231
|
options: bt,
|
|
5227
5232
|
listClassName: r,
|
|
5228
5233
|
context: V,
|
|
@@ -5242,7 +5247,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5242
5247
|
))));
|
|
5243
5248
|
}, yn = "lc-Popover-module__popover___8X1b2", wn = {
|
|
5244
5249
|
popover: yn
|
|
5245
|
-
},
|
|
5250
|
+
}, $i = ({
|
|
5246
5251
|
triggerRenderer: t,
|
|
5247
5252
|
onClose: a,
|
|
5248
5253
|
onOpen: r,
|
|
@@ -5256,34 +5261,34 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5256
5261
|
openedOnInit: s,
|
|
5257
5262
|
closeOnEsc: p = !0,
|
|
5258
5263
|
useDismissHookProps: m,
|
|
5259
|
-
useClickHookProps:
|
|
5260
|
-
floatingStrategy:
|
|
5264
|
+
useClickHookProps: f,
|
|
5265
|
+
floatingStrategy: b
|
|
5261
5266
|
}) => {
|
|
5262
|
-
const [
|
|
5263
|
-
Ke ? r == null || r(Ue) : a == null || a(Ue), !$ &&
|
|
5267
|
+
const [v, h] = e.useState(s), y = Ga(), E = sa(), $ = i !== void 0, w = $ ? i : v, C = typeof _ == "string", g = typeof t == "function", N = (Ke, Ue) => {
|
|
5268
|
+
Ke ? r == null || r(Ue) : a == null || a(Ue), !$ && h(Ke);
|
|
5264
5269
|
}, { refs: S, context: M, floatingStyles: G } = da({
|
|
5265
5270
|
nodeId: E,
|
|
5266
5271
|
open: w,
|
|
5267
5272
|
onOpenChange: N,
|
|
5268
5273
|
middleware: [ua(d), Ua(c), Er()],
|
|
5269
5274
|
placement: n,
|
|
5270
|
-
strategy:
|
|
5275
|
+
strategy: b,
|
|
5271
5276
|
whileElementsMounted: ma
|
|
5272
|
-
}), I = pa(M,
|
|
5277
|
+
}), I = pa(M, f), O = ga(M, k({
|
|
5273
5278
|
escapeKey: p
|
|
5274
|
-
}, m)), Y = fa(M), { getReferenceProps:
|
|
5279
|
+
}, m)), Y = fa(M), { getReferenceProps: j, getFloatingProps: L } = ba([
|
|
5275
5280
|
I,
|
|
5276
5281
|
O,
|
|
5277
5282
|
Y
|
|
5278
|
-
]), U = u(wn.popover, o),
|
|
5283
|
+
]), U = u(wn.popover, o), ue = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
5279
5284
|
"div",
|
|
5280
5285
|
T(k({
|
|
5281
5286
|
"data-testid": "popover-trigger-button",
|
|
5282
5287
|
ref: S.setReference
|
|
5283
|
-
},
|
|
5288
|
+
}, j()), {
|
|
5284
5289
|
className: l
|
|
5285
5290
|
}),
|
|
5286
|
-
|
|
5291
|
+
g ? t() : t
|
|
5287
5292
|
), /* @__PURE__ */ e.createElement(ha, { id: E }, w && /* @__PURE__ */ e.createElement(mr, { context: M, modal: !1 }, /* @__PURE__ */ e.createElement(
|
|
5288
5293
|
"div",
|
|
5289
5294
|
k({
|
|
@@ -5293,7 +5298,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5293
5298
|
}, L()),
|
|
5294
5299
|
C ? /* @__PURE__ */ e.createElement(B, { as: "div" }, _) : _
|
|
5295
5300
|
))));
|
|
5296
|
-
return y === null ? /* @__PURE__ */ e.createElement(Ha, null,
|
|
5301
|
+
return y === null ? /* @__PURE__ */ e.createElement(Ha, null, ue) : ue;
|
|
5297
5302
|
};
|
|
5298
5303
|
function Cn(t, a, r, _) {
|
|
5299
5304
|
return _ && t === 0 ? _ : t === 1 ? a : r;
|
|
@@ -5396,17 +5401,14 @@ const Be = {
|
|
|
5396
5401
|
nameAdornment: p
|
|
5397
5402
|
},
|
|
5398
5403
|
onClick: m,
|
|
5399
|
-
isActive:
|
|
5404
|
+
isActive: f = !1
|
|
5400
5405
|
}) => /* @__PURE__ */ e.createElement(e.Fragment, null, c && /* @__PURE__ */ e.createElement("div", { className: Qe[`${et}__divider`] }), /* @__PURE__ */ e.createElement(
|
|
5401
5406
|
"a",
|
|
5402
5407
|
{
|
|
5403
5408
|
href: n,
|
|
5404
5409
|
target: "_blank",
|
|
5405
5410
|
"aria-label": `Go to ${l} product`,
|
|
5406
|
-
onClick: (
|
|
5407
|
-
var h;
|
|
5408
|
-
g.preventDefault(), m(g, t), (h = window.open(n, "_blank")) == null || h.focus();
|
|
5409
|
-
},
|
|
5411
|
+
onClick: (b) => m(b, t, n),
|
|
5410
5412
|
className: u(Qe[et], {
|
|
5411
5413
|
[Qe[`${et}--expired`]]: i
|
|
5412
5414
|
})
|
|
@@ -5419,7 +5421,7 @@ const Be = {
|
|
|
5419
5421
|
expired: i,
|
|
5420
5422
|
backgroundColors: _,
|
|
5421
5423
|
notificationCount: o,
|
|
5422
|
-
withBorder:
|
|
5424
|
+
withBorder: f
|
|
5423
5425
|
}
|
|
5424
5426
|
), /* @__PURE__ */ e.createElement(B, { as: "div", bold: !0, className: Qe[`${et}__name`] }, l, i && /* @__PURE__ */ e.createElement(
|
|
5425
5427
|
Lt,
|
|
@@ -5454,130 +5456,11 @@ const Be = {
|
|
|
5454
5456
|
"left in your trial. Time to upgrade"
|
|
5455
5457
|
), p)),
|
|
5456
5458
|
d && /* @__PURE__ */ e.createElement(B, { size: "sm", className: Qe[`${et}__shortcut`] }, "⌘", d)
|
|
5457
|
-
)), ea = {
|
|
5458
|
-
"product-switcher": "lc-ProductSwitcher-module__product-switcher___mI-WG",
|
|
5459
|
-
"product-switcher__content": "lc-ProductSwitcher-module__product-switcher__content___6jGuY",
|
|
5460
|
-
"product-switcher__footer": "lc-ProductSwitcher-module__product-switcher__footer___V-2O1",
|
|
5461
|
-
"product-switcher__footer-link": "lc-ProductSwitcher-module__product-switcher__footer-link___NmChu",
|
|
5462
|
-
"product-switcher__tooltip": "lc-ProductSwitcher-module__product-switcher__tooltip___nKPYG"
|
|
5463
|
-
}, ta = "product-switcher", $i = ({
|
|
5464
|
-
productOptions: t,
|
|
5465
|
-
mainProductId: a,
|
|
5466
|
-
openedOnInit: r = !1,
|
|
5467
|
-
isVisible: _,
|
|
5468
|
-
onOpen: o,
|
|
5469
|
-
onClose: l,
|
|
5470
|
-
onSelect: n,
|
|
5471
|
-
textURL: c = "https://www.text.com"
|
|
5472
|
-
}) => {
|
|
5473
|
-
const [d, i] = e.useState(r), [s, p] = I_(
|
|
5474
|
-
!1
|
|
5475
|
-
), m = Ga(), b = sa(), g = _ !== void 0, h = g ? _ : d, v = (L, U) => {
|
|
5476
|
-
L ? o == null || o(U) : l == null || l(U), !g && i(L);
|
|
5477
|
-
}, { refs: y, context: E, floatingStyles: $ } = da({
|
|
5478
|
-
nodeId: b,
|
|
5479
|
-
strategy: "fixed",
|
|
5480
|
-
placement: "right-start",
|
|
5481
|
-
open: h,
|
|
5482
|
-
onOpenChange: (L, U) => {
|
|
5483
|
-
p(!1), v(L, U);
|
|
5484
|
-
},
|
|
5485
|
-
middleware: [ua({ mainAxis: 5 })],
|
|
5486
|
-
whileElementsMounted: ma
|
|
5487
|
-
}), w = pa(E), C = fa(E), f = ga(E), { isMounted: N, styles: S } = kr(E, {
|
|
5488
|
-
duration: 200,
|
|
5489
|
-
common: {
|
|
5490
|
-
transformOrigin: "left top"
|
|
5491
|
-
},
|
|
5492
|
-
initial: {
|
|
5493
|
-
opacity: 0,
|
|
5494
|
-
transform: "scale(0.84) translateX(-22px)"
|
|
5495
|
-
}
|
|
5496
|
-
}), { getReferenceProps: M, getFloatingProps: G } = ba([
|
|
5497
|
-
w,
|
|
5498
|
-
f,
|
|
5499
|
-
C
|
|
5500
|
-
]), I = t.find(
|
|
5501
|
-
(L) => L.id === a
|
|
5502
|
-
);
|
|
5503
|
-
if (!I)
|
|
5504
|
-
return null;
|
|
5505
|
-
const O = (L, U) => {
|
|
5506
|
-
U === a && L.preventDefault(), i(!1), n == null || n(U);
|
|
5507
|
-
}, Y = t.reduce(
|
|
5508
|
-
(L, U) => L + (U.notificationCount || 0),
|
|
5509
|
-
0
|
|
5510
|
-
), X = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", k({ ref: y.setReference }, M()), /* @__PURE__ */ e.createElement(
|
|
5511
|
-
Lt,
|
|
5512
|
-
{
|
|
5513
|
-
isVisible: s,
|
|
5514
|
-
onOpen: () => p(!0),
|
|
5515
|
-
onClose: () => p(!1),
|
|
5516
|
-
offsetCrossAxis: 2,
|
|
5517
|
-
arrowOffsetY: 2,
|
|
5518
|
-
offsetMainAxis: 10,
|
|
5519
|
-
className: u(ea[`${ta}__tooltip`], "lc-dark-theme"),
|
|
5520
|
-
placement: "right",
|
|
5521
|
-
floatingStrategy: "fixed",
|
|
5522
|
-
triggerRenderer: /* @__PURE__ */ e.createElement(
|
|
5523
|
-
v_,
|
|
5524
|
-
{
|
|
5525
|
-
isMainProduct: !0,
|
|
5526
|
-
icon: I.icon,
|
|
5527
|
-
iconColor: I.iconColor,
|
|
5528
|
-
backgroundColors: I.backgroundColors,
|
|
5529
|
-
notificationCount: Y
|
|
5530
|
-
}
|
|
5531
|
-
)
|
|
5532
|
-
},
|
|
5533
|
-
"Switch product"
|
|
5534
|
-
)), /* @__PURE__ */ e.createElement(ha, { id: b }, /* @__PURE__ */ e.createElement(
|
|
5535
|
-
"div",
|
|
5536
|
-
k({
|
|
5537
|
-
ref: y.setFloating,
|
|
5538
|
-
style: $
|
|
5539
|
-
}, G()),
|
|
5540
|
-
N && /* @__PURE__ */ e.createElement(
|
|
5541
|
-
"div",
|
|
5542
|
-
{
|
|
5543
|
-
className: u("lc-dark-theme", ea[ta]),
|
|
5544
|
-
style: S
|
|
5545
|
-
},
|
|
5546
|
-
/* @__PURE__ */ e.createElement("div", { className: ea[`${ta}__content`] }, t.map((L) => /* @__PURE__ */ e.createElement(
|
|
5547
|
-
$n,
|
|
5548
|
-
{
|
|
5549
|
-
key: L.id,
|
|
5550
|
-
isActive: L.id === a,
|
|
5551
|
-
product: L,
|
|
5552
|
-
onClick: O
|
|
5553
|
-
}
|
|
5554
|
-
))),
|
|
5555
|
-
/* @__PURE__ */ e.createElement("div", { className: ea[`${ta}__footer`] }, /* @__PURE__ */ e.createElement(
|
|
5556
|
-
"a",
|
|
5557
|
-
{
|
|
5558
|
-
href: c,
|
|
5559
|
-
target: "_blank",
|
|
5560
|
-
className: ea[`${ta}__footer-link`],
|
|
5561
|
-
onClick: () => v(!1)
|
|
5562
|
-
},
|
|
5563
|
-
/* @__PURE__ */ e.createElement(B, { noMargin: !0 }, "powered by"),
|
|
5564
|
-
/* @__PURE__ */ e.createElement(
|
|
5565
|
-
x,
|
|
5566
|
-
{
|
|
5567
|
-
size: "xlarge",
|
|
5568
|
-
source: M_,
|
|
5569
|
-
customColor: "var(--content-locked-white)"
|
|
5570
|
-
}
|
|
5571
|
-
)
|
|
5572
|
-
))
|
|
5573
|
-
)
|
|
5574
|
-
)));
|
|
5575
|
-
return m === null ? /* @__PURE__ */ e.createElement(Ha, null, X) : X;
|
|
5576
|
-
}, 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 = [
|
|
5459
|
+
)), 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 = [
|
|
5577
5460
|
{
|
|
5578
5461
|
id: "livechat",
|
|
5579
5462
|
name: "LiveChat",
|
|
5580
|
-
icon:
|
|
5463
|
+
icon: M_,
|
|
5581
5464
|
backgroundColors: {
|
|
5582
5465
|
main: "var(--products-livechat)",
|
|
5583
5466
|
second: "var(--products-helpdesk)",
|
|
@@ -5588,7 +5471,7 @@ const Be = {
|
|
|
5588
5471
|
{
|
|
5589
5472
|
id: "chatbot",
|
|
5590
5473
|
name: "ChatBot",
|
|
5591
|
-
icon:
|
|
5474
|
+
icon: L_,
|
|
5592
5475
|
backgroundColors: {
|
|
5593
5476
|
main: "var(--products-chatbot)",
|
|
5594
5477
|
second: "var(--products-livechat)",
|
|
@@ -5599,7 +5482,7 @@ const Be = {
|
|
|
5599
5482
|
{
|
|
5600
5483
|
id: "helpdesk",
|
|
5601
5484
|
name: "HelpDesk",
|
|
5602
|
-
icon:
|
|
5485
|
+
icon: O_,
|
|
5603
5486
|
backgroundColors: {
|
|
5604
5487
|
main: "var(--products-helpdesk)",
|
|
5605
5488
|
second: "var(--products-livechat)",
|
|
@@ -5611,7 +5494,7 @@ const Be = {
|
|
|
5611
5494
|
{
|
|
5612
5495
|
id: "knowledgebase",
|
|
5613
5496
|
name: "KnowledgeBase",
|
|
5614
|
-
icon:
|
|
5497
|
+
icon: G_,
|
|
5615
5498
|
backgroundColors: {
|
|
5616
5499
|
main: "var(--products-knowledgebase)",
|
|
5617
5500
|
second: "var(--products-helpdesk)",
|
|
@@ -5623,7 +5506,7 @@ const Be = {
|
|
|
5623
5506
|
{
|
|
5624
5507
|
id: "openwidget",
|
|
5625
5508
|
name: "OpenWidget",
|
|
5626
|
-
icon:
|
|
5509
|
+
icon: U_,
|
|
5627
5510
|
backgroundColors: {
|
|
5628
5511
|
main: `url('${Nn}')`,
|
|
5629
5512
|
second: "var(--products-livechat)",
|
|
@@ -5634,7 +5517,7 @@ const Be = {
|
|
|
5634
5517
|
{
|
|
5635
5518
|
id: "hello",
|
|
5636
5519
|
name: "Hello",
|
|
5637
|
-
icon:
|
|
5520
|
+
icon: H_,
|
|
5638
5521
|
backgroundColors: {
|
|
5639
5522
|
main: "var(--products-hello)",
|
|
5640
5523
|
second: "var(--products-livechat)",
|
|
@@ -5645,7 +5528,7 @@ const Be = {
|
|
|
5645
5528
|
{
|
|
5646
5529
|
id: "accounts",
|
|
5647
5530
|
name: "Accounts",
|
|
5648
|
-
icon:
|
|
5531
|
+
icon: z_,
|
|
5649
5532
|
backgroundColors: {
|
|
5650
5533
|
main: "var(--surface-locked-white)",
|
|
5651
5534
|
second: "var(--products-livechat)",
|
|
@@ -5805,7 +5688,130 @@ const Be = {
|
|
|
5805
5688
|
default:
|
|
5806
5689
|
return [];
|
|
5807
5690
|
}
|
|
5808
|
-
},
|
|
5691
|
+
}, Rn = (t, a) => {
|
|
5692
|
+
const r = window.open(t, a);
|
|
5693
|
+
r ? r.focus() : window.open(t, "_blank");
|
|
5694
|
+
}, ea = {
|
|
5695
|
+
"product-switcher": "lc-ProductSwitcher-module__product-switcher___mI-WG",
|
|
5696
|
+
"product-switcher__content": "lc-ProductSwitcher-module__product-switcher__content___6jGuY",
|
|
5697
|
+
"product-switcher__footer": "lc-ProductSwitcher-module__product-switcher__footer___V-2O1",
|
|
5698
|
+
"product-switcher__footer-link": "lc-ProductSwitcher-module__product-switcher__footer-link___NmChu",
|
|
5699
|
+
"product-switcher__tooltip": "lc-ProductSwitcher-module__product-switcher__tooltip___nKPYG"
|
|
5700
|
+
}, ta = "product-switcher", Ni = ({
|
|
5701
|
+
productOptions: t,
|
|
5702
|
+
mainProductId: a,
|
|
5703
|
+
openedOnInit: r = !1,
|
|
5704
|
+
isVisible: _,
|
|
5705
|
+
onOpen: o,
|
|
5706
|
+
onClose: l,
|
|
5707
|
+
onSelect: n,
|
|
5708
|
+
textURL: c = "https://www.text.com"
|
|
5709
|
+
}) => {
|
|
5710
|
+
const [d, i] = e.useState(r), [s, p] = I_(
|
|
5711
|
+
!1
|
|
5712
|
+
), m = Ga(), f = sa(), b = _ !== void 0, v = b ? _ : d, h = (L, U) => {
|
|
5713
|
+
L ? o == null || o(U) : l == null || l(U), !b && i(L);
|
|
5714
|
+
}, { refs: y, context: E, floatingStyles: $ } = da({
|
|
5715
|
+
nodeId: f,
|
|
5716
|
+
strategy: "fixed",
|
|
5717
|
+
placement: "right-start",
|
|
5718
|
+
open: v,
|
|
5719
|
+
onOpenChange: (L, U) => {
|
|
5720
|
+
p(!1), h(L, U);
|
|
5721
|
+
},
|
|
5722
|
+
middleware: [ua({ mainAxis: 5 })],
|
|
5723
|
+
whileElementsMounted: ma
|
|
5724
|
+
}), w = pa(E), C = fa(E), g = ga(E), { isMounted: N, styles: S } = kr(E, {
|
|
5725
|
+
duration: 200,
|
|
5726
|
+
common: {
|
|
5727
|
+
transformOrigin: "left top"
|
|
5728
|
+
},
|
|
5729
|
+
initial: {
|
|
5730
|
+
opacity: 0,
|
|
5731
|
+
transform: "scale(0.84) translateX(-22px)"
|
|
5732
|
+
}
|
|
5733
|
+
}), { getReferenceProps: M, getFloatingProps: G } = ba([
|
|
5734
|
+
w,
|
|
5735
|
+
g,
|
|
5736
|
+
C
|
|
5737
|
+
]), I = t.find(
|
|
5738
|
+
(L) => L.id === a
|
|
5739
|
+
);
|
|
5740
|
+
if (!I)
|
|
5741
|
+
return null;
|
|
5742
|
+
const O = (L, U, ue) => {
|
|
5743
|
+
L.preventDefault(), U !== a && Rn(ue, U), i(!1), n == null || n(U);
|
|
5744
|
+
}, Y = t.reduce(
|
|
5745
|
+
(L, U) => L + (U.notificationCount || 0),
|
|
5746
|
+
0
|
|
5747
|
+
), j = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", k({ ref: y.setReference }, M()), /* @__PURE__ */ e.createElement(
|
|
5748
|
+
Lt,
|
|
5749
|
+
{
|
|
5750
|
+
isVisible: s,
|
|
5751
|
+
onOpen: () => p(!0),
|
|
5752
|
+
onClose: () => p(!1),
|
|
5753
|
+
offsetCrossAxis: 2,
|
|
5754
|
+
arrowOffsetY: 2,
|
|
5755
|
+
offsetMainAxis: 10,
|
|
5756
|
+
className: ea[`${ta}__tooltip`],
|
|
5757
|
+
placement: "right",
|
|
5758
|
+
floatingStrategy: "fixed",
|
|
5759
|
+
kind: "invert",
|
|
5760
|
+
triggerRenderer: /* @__PURE__ */ e.createElement(
|
|
5761
|
+
v_,
|
|
5762
|
+
{
|
|
5763
|
+
isMainProduct: !0,
|
|
5764
|
+
icon: I.icon,
|
|
5765
|
+
iconColor: I.iconColor,
|
|
5766
|
+
backgroundColors: I.backgroundColors,
|
|
5767
|
+
notificationCount: Y
|
|
5768
|
+
}
|
|
5769
|
+
)
|
|
5770
|
+
},
|
|
5771
|
+
"Switch product"
|
|
5772
|
+
)), /* @__PURE__ */ e.createElement(ha, { id: f }, /* @__PURE__ */ e.createElement(
|
|
5773
|
+
"div",
|
|
5774
|
+
k({
|
|
5775
|
+
ref: y.setFloating,
|
|
5776
|
+
style: $
|
|
5777
|
+
}, G()),
|
|
5778
|
+
N && /* @__PURE__ */ e.createElement(
|
|
5779
|
+
"div",
|
|
5780
|
+
{
|
|
5781
|
+
className: u("lc-dark-theme", ea[ta]),
|
|
5782
|
+
style: S
|
|
5783
|
+
},
|
|
5784
|
+
/* @__PURE__ */ e.createElement("div", { className: ea[`${ta}__content`] }, t.map((L) => /* @__PURE__ */ e.createElement(
|
|
5785
|
+
$n,
|
|
5786
|
+
{
|
|
5787
|
+
key: L.id,
|
|
5788
|
+
isActive: L.id === a,
|
|
5789
|
+
product: L,
|
|
5790
|
+
onClick: O
|
|
5791
|
+
}
|
|
5792
|
+
))),
|
|
5793
|
+
/* @__PURE__ */ e.createElement("div", { className: ea[`${ta}__footer`] }, /* @__PURE__ */ e.createElement(
|
|
5794
|
+
"a",
|
|
5795
|
+
{
|
|
5796
|
+
href: c,
|
|
5797
|
+
target: "_blank",
|
|
5798
|
+
className: ea[`${ta}__footer-link`],
|
|
5799
|
+
onClick: () => h(!1)
|
|
5800
|
+
},
|
|
5801
|
+
/* @__PURE__ */ e.createElement(B, { noMargin: !0 }, "powered by"),
|
|
5802
|
+
/* @__PURE__ */ e.createElement(
|
|
5803
|
+
x,
|
|
5804
|
+
{
|
|
5805
|
+
size: "xlarge",
|
|
5806
|
+
source: W_,
|
|
5807
|
+
customColor: "var(--content-locked-white)"
|
|
5808
|
+
}
|
|
5809
|
+
)
|
|
5810
|
+
))
|
|
5811
|
+
)
|
|
5812
|
+
)));
|
|
5813
|
+
return m === null ? /* @__PURE__ */ e.createElement(Ha, null, j) : j;
|
|
5814
|
+
}, Si = ({
|
|
5809
5815
|
env: t,
|
|
5810
5816
|
installedProducts: a,
|
|
5811
5817
|
subscriptions: r,
|
|
@@ -5828,9 +5834,9 @@ const Be = {
|
|
|
5828
5834
|
[]
|
|
5829
5835
|
)
|
|
5830
5836
|
};
|
|
5831
|
-
},
|
|
5837
|
+
}, Mn = (t) => Math.min(Math.max(t, 0), 100);
|
|
5832
5838
|
function y_(t, a = 0) {
|
|
5833
|
-
return t === "error" ? 0 :
|
|
5839
|
+
return t === "error" ? 0 : Mn(parseInt(a.toString(), 10));
|
|
5834
5840
|
}
|
|
5835
5841
|
const aa = {
|
|
5836
5842
|
"progress-circle": "lc-ProgressCircle-module__progress-circle___NRHCi",
|
|
@@ -5843,15 +5849,15 @@ const aa = {
|
|
|
5843
5849
|
"progress-circle__indicator--normal": "lc-ProgressCircle-module__progress-circle__indicator--normal___0SdkX",
|
|
5844
5850
|
"progress-circle__indicator--success": "lc-ProgressCircle-module__progress-circle__indicator--success___fLwRR",
|
|
5845
5851
|
"progress-circle__indicator--error": "lc-ProgressCircle-module__progress-circle__indicator--error___nwJS9"
|
|
5846
|
-
},
|
|
5852
|
+
}, Ln = {
|
|
5847
5853
|
small: 2,
|
|
5848
5854
|
medium: 3,
|
|
5849
5855
|
large: 4
|
|
5850
|
-
},
|
|
5856
|
+
}, On = {
|
|
5851
5857
|
small: 15,
|
|
5852
5858
|
medium: 36,
|
|
5853
5859
|
large: 56
|
|
5854
|
-
}, ra = "progress-circle",
|
|
5860
|
+
}, ra = "progress-circle", Gn = e.forwardRef(
|
|
5855
5861
|
(n, l) => {
|
|
5856
5862
|
var c = n, {
|
|
5857
5863
|
status: t = "normal",
|
|
@@ -5864,17 +5870,17 @@ const aa = {
|
|
|
5864
5870
|
"className",
|
|
5865
5871
|
"size"
|
|
5866
5872
|
]);
|
|
5867
|
-
const d = y_(t, a), i =
|
|
5873
|
+
const d = y_(t, a), i = Ln[_], s = On[_], p = u(
|
|
5868
5874
|
aa[ra],
|
|
5869
5875
|
{
|
|
5870
5876
|
[aa[`${ra}--${_}`]]: _,
|
|
5871
5877
|
[aa[`${ra}--${t}`]]: t
|
|
5872
5878
|
},
|
|
5873
5879
|
r
|
|
5874
|
-
), m = 2 * Math.PI * ((s - i) / 2),
|
|
5880
|
+
), m = 2 * Math.PI * ((s - i) / 2), f = {
|
|
5875
5881
|
strokeDasharray: m.toFixed(3),
|
|
5876
5882
|
strokeDashoffset: `${((100 - d) / 100 * m).toFixed(3)}px`
|
|
5877
|
-
},
|
|
5883
|
+
}, b = `${s / 2} ${s / 2} ${s} ${s}`;
|
|
5878
5884
|
return /* @__PURE__ */ e.createElement(
|
|
5879
5885
|
"div",
|
|
5880
5886
|
k({
|
|
@@ -5882,7 +5888,7 @@ const aa = {
|
|
|
5882
5888
|
ref: l,
|
|
5883
5889
|
role: "progressbar"
|
|
5884
5890
|
}, o),
|
|
5885
|
-
/* @__PURE__ */ e.createElement("svg", { viewBox:
|
|
5891
|
+
/* @__PURE__ */ e.createElement("svg", { viewBox: b }, /* @__PURE__ */ e.createElement(
|
|
5886
5892
|
"circle",
|
|
5887
5893
|
{
|
|
5888
5894
|
className: aa[`${ra}__bg-line--${t}`],
|
|
@@ -5896,7 +5902,7 @@ const aa = {
|
|
|
5896
5902
|
"circle",
|
|
5897
5903
|
{
|
|
5898
5904
|
className: aa[`${ra}__indicator--${t}`],
|
|
5899
|
-
style:
|
|
5905
|
+
style: f,
|
|
5900
5906
|
cx: s,
|
|
5901
5907
|
cy: s,
|
|
5902
5908
|
r: (s - i) / 2,
|
|
@@ -5916,7 +5922,7 @@ const aa = {
|
|
|
5916
5922
|
"progress-bar--normal": "lc-ProgressBar-module__progress-bar--normal___ZwCb-",
|
|
5917
5923
|
"progress-bar__indicator--success": "lc-ProgressBar-module__progress-bar__indicator--success___wRjR3",
|
|
5918
5924
|
"progress-bar__indicator--normal": "lc-ProgressBar-module__progress-bar__indicator--normal___0Uhle"
|
|
5919
|
-
}, Ta = "progress-bar",
|
|
5925
|
+
}, Ta = "progress-bar", Un = e.forwardRef(
|
|
5920
5926
|
(n, l) => {
|
|
5921
5927
|
var c = n, {
|
|
5922
5928
|
status: t = "normal",
|
|
@@ -5966,7 +5972,7 @@ const aa = {
|
|
|
5966
5972
|
"promo-banner--small": "lc-PromoBanner-module__promo-banner--small___7sWLV",
|
|
5967
5973
|
"promo-banner--large": "lc-PromoBanner-module__promo-banner--large___pMiCU",
|
|
5968
5974
|
"promo-banner__close-icon": "lc-PromoBanner-module__promo-banner__close-icon___GowBL"
|
|
5969
|
-
},
|
|
5975
|
+
}, Hn = 400, zn = 800, Wn = 500, Fe = "promo-banner", xi = ({
|
|
5970
5976
|
className: t,
|
|
5971
5977
|
buttonText: a,
|
|
5972
5978
|
children: r,
|
|
@@ -5978,7 +5984,7 @@ const aa = {
|
|
|
5978
5984
|
onClose: d,
|
|
5979
5985
|
onLinkClick: i
|
|
5980
5986
|
}) => {
|
|
5981
|
-
const s = e.useRef(null), [p, m] = e.useState("medium"),
|
|
5987
|
+
const s = e.useRef(null), [p, m] = e.useState("medium"), f = u(
|
|
5982
5988
|
Ae[Fe],
|
|
5983
5989
|
{
|
|
5984
5990
|
[Ae[`${Fe}--light`]]: l,
|
|
@@ -5988,15 +5994,15 @@ const aa = {
|
|
|
5988
5994
|
t
|
|
5989
5995
|
);
|
|
5990
5996
|
e.useEffect(() => {
|
|
5991
|
-
const
|
|
5992
|
-
|
|
5993
|
-
|
|
5997
|
+
const v = () => s.current && s.current.offsetWidth <= Hn ? m("small") : s.current && s.current.offsetWidth >= zn ? m("large") : m("medium"), h = n_(
|
|
5998
|
+
v,
|
|
5999
|
+
Wn
|
|
5994
6000
|
);
|
|
5995
|
-
return window.addEventListener("resize",
|
|
5996
|
-
|
|
6001
|
+
return window.addEventListener("resize", h), v(), () => {
|
|
6002
|
+
h.cancel(), window.removeEventListener("resize", h);
|
|
5997
6003
|
};
|
|
5998
6004
|
}, []);
|
|
5999
|
-
const
|
|
6005
|
+
const b = /* @__PURE__ */ e.createElement("div", { className: Ae[`${Fe}__footer`] }, a && /* @__PURE__ */ e.createElement(
|
|
6000
6006
|
W,
|
|
6001
6007
|
{
|
|
6002
6008
|
kind: "primary",
|
|
@@ -6006,7 +6012,7 @@ const aa = {
|
|
|
6006
6012
|
},
|
|
6007
6013
|
a
|
|
6008
6014
|
), n && /* @__PURE__ */ e.createElement(W, { size: "compact", kind: "text", onClick: i }, n));
|
|
6009
|
-
return /* @__PURE__ */ e.createElement("div", { ref: s, className:
|
|
6015
|
+
return /* @__PURE__ */ e.createElement("div", { ref: s, className: f }, /* @__PURE__ */ e.createElement("div", { className: Ae[`${Fe}__content`] }, o && /* @__PURE__ */ e.createElement("img", { src: o, className: Ae[`${Fe}__img`] }), /* @__PURE__ */ e.createElement("div", { className: Ae[`${Fe}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: Ae[`${Fe}__header`] }, _), /* @__PURE__ */ e.createElement(B, { as: "div" }, r), p !== "large" && b), p === "large" && b), d && /* @__PURE__ */ e.createElement(
|
|
6010
6016
|
"button",
|
|
6011
6017
|
{
|
|
6012
6018
|
type: "button",
|
|
@@ -6025,7 +6031,7 @@ const aa = {
|
|
|
6025
6031
|
"promo-banner-v2__close": "lc-PromoBannerV2-module__promo-banner-v2__close___rOh-U",
|
|
6026
6032
|
"promo-banner-v2__close__btn": "lc-PromoBannerV2-module__promo-banner-v2__close__btn___5AZQC",
|
|
6027
6033
|
"promo-banner-v2--vertical": "lc-PromoBannerV2-module__promo-banner-v2--vertical___p0mSU"
|
|
6028
|
-
}, ut = "promo-banner-v2",
|
|
6034
|
+
}, ut = "promo-banner-v2", Bi = ({
|
|
6029
6035
|
children: t,
|
|
6030
6036
|
className: a,
|
|
6031
6037
|
additionalContent: r,
|
|
@@ -6101,7 +6107,7 @@ const aa = {
|
|
|
6101
6107
|
"radio-button__helper": "lc-RadioButton-module__radio-button__helper___r8gJJ",
|
|
6102
6108
|
"radio-button--selected": "lc-RadioButton-module__radio-button--selected___s9lqj",
|
|
6103
6109
|
"radio-button--disabled": "lc-RadioButton-module__radio-button--disabled___wHSA7"
|
|
6104
|
-
}, rt = "radio-button",
|
|
6110
|
+
}, rt = "radio-button", Ii = e.forwardRef(
|
|
6105
6111
|
(c, n) => {
|
|
6106
6112
|
var d = c, { children: t, className: a = "", description: r, checked: _, disabled: o } = d, l = D(d, ["children", "className", "description", "checked", "disabled"]);
|
|
6107
6113
|
const i = u(at[rt], a, {
|
|
@@ -6133,7 +6139,7 @@ const aa = {
|
|
|
6133
6139
|
"search-input__loader": "lc-Search-module__search-input__loader___pkpIG",
|
|
6134
6140
|
"search-input__input-wrapper": "lc-Search-module__search-input__input-wrapper___k8bvn",
|
|
6135
6141
|
"search-input__input-wrapper--crop": "lc-Search-module__search-input__input-wrapper--crop___nBPKY"
|
|
6136
|
-
}, We = "search-input", jr = `${We}__input-wrapper`,
|
|
6142
|
+
}, We = "search-input", jr = `${We}__input-wrapper`, Ti = ({
|
|
6137
6143
|
isCollapsable: t,
|
|
6138
6144
|
isDisabled: a,
|
|
6139
6145
|
isLoading: r,
|
|
@@ -6144,7 +6150,7 @@ const aa = {
|
|
|
6144
6150
|
cropOnBlur: c = !0,
|
|
6145
6151
|
onChange: d
|
|
6146
6152
|
}) => {
|
|
6147
|
-
const [i, s] = e.useState(!0), [p, m] = e.useState(!1),
|
|
6153
|
+
const [i, s] = e.useState(!0), [p, m] = e.useState(!1), f = e.useRef(null), b = !!l && !a && !r, v = t && !i && "true", h = u(
|
|
6148
6154
|
n,
|
|
6149
6155
|
Re[We],
|
|
6150
6156
|
Re[`${We}--${o}`],
|
|
@@ -6163,20 +6169,20 @@ const aa = {
|
|
|
6163
6169
|
d("");
|
|
6164
6170
|
}, $ = () => {
|
|
6165
6171
|
var N;
|
|
6166
|
-
(N =
|
|
6172
|
+
(N = f.current) == null || N.focus();
|
|
6167
6173
|
}, w = () => {
|
|
6168
6174
|
t && s(!1), m(!0);
|
|
6169
6175
|
}, C = () => {
|
|
6170
6176
|
t && !l && s(!0), m(!1);
|
|
6171
|
-
},
|
|
6177
|
+
}, g = (N) => {
|
|
6172
6178
|
N.key === de.enter && (N.preventDefault(), d(l));
|
|
6173
6179
|
};
|
|
6174
6180
|
return /* @__PURE__ */ e.createElement(
|
|
6175
6181
|
"div",
|
|
6176
6182
|
{
|
|
6177
|
-
"aria-expanded":
|
|
6183
|
+
"aria-expanded": v,
|
|
6178
6184
|
role: "search",
|
|
6179
|
-
className:
|
|
6185
|
+
className: h,
|
|
6180
6186
|
onClick: $
|
|
6181
6187
|
},
|
|
6182
6188
|
/* @__PURE__ */ e.createElement(
|
|
@@ -6201,19 +6207,19 @@ const aa = {
|
|
|
6201
6207
|
"input",
|
|
6202
6208
|
{
|
|
6203
6209
|
role: "searchbox",
|
|
6204
|
-
ref:
|
|
6210
|
+
ref: f,
|
|
6205
6211
|
type: "text",
|
|
6206
6212
|
value: l,
|
|
6207
6213
|
placeholder: _,
|
|
6208
6214
|
onChange: y,
|
|
6209
6215
|
onBlur: C,
|
|
6210
6216
|
onFocus: w,
|
|
6211
|
-
onKeyDown:
|
|
6217
|
+
onKeyDown: g,
|
|
6212
6218
|
disabled: a
|
|
6213
6219
|
}
|
|
6214
6220
|
)
|
|
6215
6221
|
),
|
|
6216
|
-
|
|
6222
|
+
b && /* @__PURE__ */ e.createElement(
|
|
6217
6223
|
W,
|
|
6218
6224
|
{
|
|
6219
6225
|
"aria-label": "Clear search",
|
|
@@ -6227,16 +6233,16 @@ const aa = {
|
|
|
6227
6233
|
),
|
|
6228
6234
|
r && /* @__PURE__ */ e.createElement("div", { className: Re[`${We}__loader`] }, /* @__PURE__ */ e.createElement(Cr, { size: "small" }))
|
|
6229
6235
|
);
|
|
6230
|
-
},
|
|
6236
|
+
}, Vn = "lc-Skeleton-module__loading___MHvGo", Ct = {
|
|
6231
6237
|
"skeleton-wrapper": "lc-Skeleton-module__skeleton-wrapper___MXuR8",
|
|
6232
6238
|
"skeleton-wrapper--vertical": "lc-Skeleton-module__skeleton-wrapper--vertical___H3weP",
|
|
6233
6239
|
"skeleton-avatar": "lc-Skeleton-module__skeleton-avatar___qWzIc",
|
|
6234
6240
|
"skeleton-avatar--square": "lc-Skeleton-module__skeleton-avatar--square___GNIE4",
|
|
6235
6241
|
"skeleton-avatar--animated": "lc-Skeleton-module__skeleton-avatar--animated___rqj9A",
|
|
6236
|
-
loading:
|
|
6242
|
+
loading: Vn,
|
|
6237
6243
|
"skeleton-text": "lc-Skeleton-module__skeleton-text___rgElk",
|
|
6238
6244
|
"skeleton-text--animated": "lc-Skeleton-module__skeleton-text--animated___xOUsy"
|
|
6239
|
-
}, Qr = "skeleton-wrapper",
|
|
6245
|
+
}, Qr = "skeleton-wrapper", Di = (o) => {
|
|
6240
6246
|
var l = o, {
|
|
6241
6247
|
children: t,
|
|
6242
6248
|
vertical: a,
|
|
@@ -6258,7 +6264,7 @@ const aa = {
|
|
|
6258
6264
|
}, _),
|
|
6259
6265
|
n
|
|
6260
6266
|
);
|
|
6261
|
-
}, nr = "skeleton-avatar",
|
|
6267
|
+
}, nr = "skeleton-avatar", Pi = ({
|
|
6262
6268
|
square: t = !1,
|
|
6263
6269
|
size: a = 16,
|
|
6264
6270
|
animated: r
|
|
@@ -6274,7 +6280,7 @@ const aa = {
|
|
|
6274
6280
|
height: a
|
|
6275
6281
|
}
|
|
6276
6282
|
}
|
|
6277
|
-
), e_ = "skeleton-text",
|
|
6283
|
+
), e_ = "skeleton-text", Ai = ({
|
|
6278
6284
|
height: t = 13,
|
|
6279
6285
|
width: a,
|
|
6280
6286
|
animated: r
|
|
@@ -6303,7 +6309,7 @@ const aa = {
|
|
|
6303
6309
|
"status-badge--offline": "lc-StatusBadge-module__status-badge--offline___0BHxn",
|
|
6304
6310
|
"status-badge--accept": "lc-StatusBadge-module__status-badge--accept___6g3cx",
|
|
6305
6311
|
"status-badge--not-accept": "lc-StatusBadge-module__status-badge--not-accept___tUgKD"
|
|
6306
|
-
}, ir = "status-badge",
|
|
6312
|
+
}, ir = "status-badge", Fi = (o) => {
|
|
6307
6313
|
var l = o, {
|
|
6308
6314
|
className: t,
|
|
6309
6315
|
kind: a = "offline",
|
|
@@ -6320,7 +6326,7 @@ const aa = {
|
|
|
6320
6326
|
t
|
|
6321
6327
|
);
|
|
6322
6328
|
return /* @__PURE__ */ e.createElement("span", k({ className: n }, _));
|
|
6323
|
-
},
|
|
6329
|
+
}, 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 = {
|
|
6324
6330
|
switch: "lc-Switch-module__switch___AaA2k",
|
|
6325
6331
|
"switch__track--enabled": "lc-Switch-module__switch__track--enabled___sy4Xl",
|
|
6326
6332
|
"switch__track--on": "lc-Switch-module__switch__track--on___aOMWe",
|
|
@@ -6329,13 +6335,13 @@ const aa = {
|
|
|
6329
6335
|
"switch--compact": "lc-Switch-module__switch--compact___OGFIX",
|
|
6330
6336
|
"switch--medium": "lc-Switch-module__switch--medium___EcZwT",
|
|
6331
6337
|
"switch--focused": "lc-Switch-module__switch--focused___P9d9S",
|
|
6332
|
-
switch__input:
|
|
6338
|
+
switch__input: Kn,
|
|
6333
6339
|
"switch__input--disabled": "lc-Switch-module__switch__input--disabled___Po8gh",
|
|
6334
|
-
switch__container:
|
|
6335
|
-
switch__track:
|
|
6340
|
+
switch__container: Yn,
|
|
6341
|
+
switch__track: qn,
|
|
6336
6342
|
"switch__container--focused": "lc-Switch-module__switch__container--focused___bKy79",
|
|
6337
6343
|
"switch__track--disabled": "lc-Switch-module__switch__track--disabled___HkDhl",
|
|
6338
|
-
switch__slider:
|
|
6344
|
+
switch__slider: Zn,
|
|
6339
6345
|
"switch__slider--large": "lc-Switch-module__switch__slider--large___WoEgi",
|
|
6340
6346
|
"switch__slider--large--on": "lc-Switch-module__switch__slider--large--on___7Qp3G",
|
|
6341
6347
|
"switch__slider--large--off": "lc-Switch-module__switch__slider--large--off___iRMmD",
|
|
@@ -6346,12 +6352,12 @@ const aa = {
|
|
|
6346
6352
|
"switch__slider--medium--on": "lc-Switch-module__switch__slider--medium--on___SfeAV",
|
|
6347
6353
|
"switch__slider--medium--off": "lc-Switch-module__switch__slider--medium--off___eXJJz",
|
|
6348
6354
|
"switch__slider--disabled": "lc-Switch-module__switch__slider--disabled___A6hPg",
|
|
6349
|
-
switch__loader:
|
|
6355
|
+
switch__loader: Xn,
|
|
6350
6356
|
"switch__loader--compact": "lc-Switch-module__switch__loader--compact___3imUh",
|
|
6351
6357
|
"switch__loader--medium": "lc-Switch-module__switch__loader--medium___2zi05",
|
|
6352
6358
|
"switch__loader--large": "lc-Switch-module__switch__loader--large___vLRFa",
|
|
6353
|
-
switch__icon:
|
|
6354
|
-
}, te = "switch",
|
|
6359
|
+
switch__icon: Jn
|
|
6360
|
+
}, te = "switch", Ri = (p) => {
|
|
6355
6361
|
var m = p, {
|
|
6356
6362
|
className: t = "",
|
|
6357
6363
|
defaultOn: a = !1,
|
|
@@ -6375,17 +6381,17 @@ const aa = {
|
|
|
6375
6381
|
"innerRef",
|
|
6376
6382
|
"ariaLabel"
|
|
6377
6383
|
]);
|
|
6378
|
-
const
|
|
6379
|
-
() =>
|
|
6380
|
-
), [
|
|
6384
|
+
const f = o !== void 0, [b, v] = e.useState(
|
|
6385
|
+
() => f ? o : a
|
|
6386
|
+
), [h, 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(
|
|
6381
6387
|
ae[te],
|
|
6382
6388
|
ae[`${te}--${n}`],
|
|
6383
6389
|
{
|
|
6384
|
-
[ae[`${te}--focused`]]:
|
|
6390
|
+
[ae[`${te}--focused`]]: h
|
|
6385
6391
|
},
|
|
6386
6392
|
t
|
|
6387
6393
|
), G = (I) => {
|
|
6388
|
-
l == null || l(I, !E),
|
|
6394
|
+
l == null || l(I, !E), f || (I.stopPropagation(), v((O) => !O));
|
|
6389
6395
|
};
|
|
6390
6396
|
return /* @__PURE__ */ e.createElement("span", { className: M }, /* @__PURE__ */ e.createElement(
|
|
6391
6397
|
"input",
|
|
@@ -6409,7 +6415,7 @@ const aa = {
|
|
|
6409
6415
|
"span",
|
|
6410
6416
|
{
|
|
6411
6417
|
className: u(ae[`${te}__container`], {
|
|
6412
|
-
[ae[`${te}__container--focused`]]:
|
|
6418
|
+
[ae[`${te}__container--focused`]]: h
|
|
6413
6419
|
})
|
|
6414
6420
|
},
|
|
6415
6421
|
/* @__PURE__ */ e.createElement(
|
|
@@ -6417,7 +6423,7 @@ const aa = {
|
|
|
6417
6423
|
{
|
|
6418
6424
|
className: u(
|
|
6419
6425
|
ae[`${te}__track`],
|
|
6420
|
-
ae[`${te}__track--${
|
|
6426
|
+
ae[`${te}__track--${g}`],
|
|
6421
6427
|
ae[`${te}__track--${S}`]
|
|
6422
6428
|
)
|
|
6423
6429
|
}
|
|
@@ -6429,7 +6435,7 @@ const aa = {
|
|
|
6429
6435
|
ae[`${te}__slider`],
|
|
6430
6436
|
ae[`${te}__slider--${S}`],
|
|
6431
6437
|
ae[`${te}__slider--${n}`],
|
|
6432
|
-
ae[`${te}__slider--${n}--${
|
|
6438
|
+
ae[`${te}__slider--${n}--${g}`]
|
|
6433
6439
|
)
|
|
6434
6440
|
},
|
|
6435
6441
|
$ && /* @__PURE__ */ e.createElement(
|
|
@@ -6454,17 +6460,17 @@ const aa = {
|
|
|
6454
6460
|
)
|
|
6455
6461
|
)
|
|
6456
6462
|
));
|
|
6457
|
-
},
|
|
6458
|
-
tab:
|
|
6459
|
-
tab__count:
|
|
6463
|
+
}, 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 = {
|
|
6464
|
+
tab: jn,
|
|
6465
|
+
tab__count: Qn,
|
|
6460
6466
|
"tab--compact": "lc-Tab-module__tab--compact___4qead",
|
|
6461
6467
|
"tab--medium": "lc-Tab-module__tab--medium___bHnGV",
|
|
6462
6468
|
"tab--large": "lc-Tab-module__tab--large___JL30g",
|
|
6463
|
-
tab__icon:
|
|
6464
|
-
tab__badge:
|
|
6469
|
+
tab__icon: ec,
|
|
6470
|
+
tab__badge: tc,
|
|
6465
6471
|
"tab--selected": "lc-Tab-module__tab--selected___c0EkL",
|
|
6466
6472
|
"tab--disabled": "lc-Tab-module__tab--disabled___URdTh"
|
|
6467
|
-
}, wt = "tab",
|
|
6473
|
+
}, wt = "tab", Mi = (d) => {
|
|
6468
6474
|
var i = d, {
|
|
6469
6475
|
children: t,
|
|
6470
6476
|
className: a,
|
|
@@ -6511,13 +6517,13 @@ const aa = {
|
|
|
6511
6517
|
}
|
|
6512
6518
|
)
|
|
6513
6519
|
);
|
|
6514
|
-
},
|
|
6515
|
-
tabs:
|
|
6516
|
-
tabs__list:
|
|
6517
|
-
}, C_ = "tabs",
|
|
6520
|
+
}, ac = "lc-TabsWrapper-module__tabs___Y2xyD", rc = "lc-TabsWrapper-module__tabs__list___i6tVO", w_ = {
|
|
6521
|
+
tabs: ac,
|
|
6522
|
+
tabs__list: rc
|
|
6523
|
+
}, C_ = "tabs", Li = ({
|
|
6518
6524
|
className: t,
|
|
6519
6525
|
children: a
|
|
6520
|
-
}) => /* @__PURE__ */ e.createElement("div", { className: u(w_[C_], t) }, a),
|
|
6526
|
+
}) => /* @__PURE__ */ e.createElement("div", { className: u(w_[C_], t) }, a), Oi = ({
|
|
6521
6527
|
className: t,
|
|
6522
6528
|
children: a
|
|
6523
6529
|
}) => /* @__PURE__ */ e.createElement("div", { role: "tablist", className: u(w_[`${C_}__list`], t) }, a), la = {
|
|
@@ -6527,7 +6533,7 @@ const aa = {
|
|
|
6527
6533
|
"tag-input__input--medium": "lc-TagInput-module__tag-input__input--medium___DYF7X",
|
|
6528
6534
|
"tag-input__input--large": "lc-TagInput-module__tag-input__input--large___G6iEO",
|
|
6529
6535
|
"tag-input__tag__content": "lc-TagInput-module__tag-input__tag__content___x95-M"
|
|
6530
|
-
},
|
|
6536
|
+
}, _c = ({
|
|
6531
6537
|
className: t = "",
|
|
6532
6538
|
innerEditableRef: a,
|
|
6533
6539
|
inputRef: r,
|
|
@@ -6536,29 +6542,29 @@ const aa = {
|
|
|
6536
6542
|
value: l
|
|
6537
6543
|
}) => {
|
|
6538
6544
|
const [n, c] = e.useState(!1), d = () => a.current, i = () => {
|
|
6539
|
-
const
|
|
6540
|
-
return
|
|
6545
|
+
const b = d();
|
|
6546
|
+
return b ? b.innerText : "";
|
|
6541
6547
|
}, s = () => {
|
|
6542
6548
|
r && r.current && r.current.focus();
|
|
6543
|
-
}, p = (
|
|
6544
|
-
if (
|
|
6545
|
-
|
|
6549
|
+
}, p = (b) => {
|
|
6550
|
+
if (b.key === de.enter) {
|
|
6551
|
+
b.preventDefault(), s();
|
|
6546
6552
|
return;
|
|
6547
6553
|
}
|
|
6548
|
-
|
|
6554
|
+
b.key === de.backspace && i() === "" && (c(!0), o(), s());
|
|
6549
6555
|
}, m = () => {
|
|
6550
|
-
const
|
|
6551
|
-
if (!(n || !
|
|
6552
|
-
if (
|
|
6556
|
+
const b = d();
|
|
6557
|
+
if (!(n || !b)) {
|
|
6558
|
+
if (b.innerText === "") {
|
|
6553
6559
|
o();
|
|
6554
6560
|
return;
|
|
6555
6561
|
}
|
|
6556
|
-
_(
|
|
6562
|
+
_(b.innerText);
|
|
6557
6563
|
}
|
|
6558
|
-
},
|
|
6559
|
-
|
|
6560
|
-
const
|
|
6561
|
-
document.execCommand("insertHTML", !1, Dr(
|
|
6564
|
+
}, f = (b) => {
|
|
6565
|
+
b.preventDefault();
|
|
6566
|
+
const v = b.clipboardData.getData("text/plain");
|
|
6567
|
+
document.execCommand("insertHTML", !1, Dr(v));
|
|
6562
6568
|
};
|
|
6563
6569
|
return /* @__PURE__ */ e.createElement(
|
|
6564
6570
|
"div",
|
|
@@ -6566,13 +6572,13 @@ const aa = {
|
|
|
6566
6572
|
ref: a,
|
|
6567
6573
|
className: t,
|
|
6568
6574
|
contentEditable: !0,
|
|
6569
|
-
onPaste:
|
|
6575
|
+
onPaste: f,
|
|
6570
6576
|
onBlur: m,
|
|
6571
6577
|
onKeyDown: p,
|
|
6572
6578
|
dangerouslySetInnerHTML: { __html: Dr(l) }
|
|
6573
6579
|
}
|
|
6574
6580
|
);
|
|
6575
|
-
},
|
|
6581
|
+
}, oc = "tag-input__tag", t_ = ({
|
|
6576
6582
|
children: t,
|
|
6577
6583
|
index: a,
|
|
6578
6584
|
remove: r,
|
|
@@ -6584,25 +6590,25 @@ const aa = {
|
|
|
6584
6590
|
}) => {
|
|
6585
6591
|
const d = e.useMemo(() => _ !== void 0 ? _(t) : !0, [t, _]), i = e.useRef(null), s = () => r(a), p = () => d ? c ? c.kind : "default" : "error";
|
|
6586
6592
|
return /* @__PURE__ */ e.createElement(h_, T(k({ size: n }, c), { kind: p(), onRemove: s }), /* @__PURE__ */ e.createElement(
|
|
6587
|
-
|
|
6593
|
+
_c,
|
|
6588
6594
|
{
|
|
6589
6595
|
value: t,
|
|
6590
6596
|
inputRef: o,
|
|
6591
6597
|
innerEditableRef: i,
|
|
6592
|
-
className: la[`${
|
|
6598
|
+
className: la[`${oc}__content`],
|
|
6593
6599
|
change: (m) => l(a, m),
|
|
6594
6600
|
remove: s,
|
|
6595
6601
|
validator: _
|
|
6596
6602
|
}
|
|
6597
6603
|
));
|
|
6598
|
-
}, Da = "tag-input",
|
|
6604
|
+
}, Da = "tag-input", lc = [
|
|
6599
6605
|
de.enter,
|
|
6600
6606
|
de.spacebar,
|
|
6601
6607
|
de.tab,
|
|
6602
6608
|
de.semicolon,
|
|
6603
6609
|
de.comma
|
|
6604
|
-
],
|
|
6605
|
-
var
|
|
6610
|
+
], nc = [de.backspace, de.delete], cc = (m) => {
|
|
6611
|
+
var f = m, {
|
|
6606
6612
|
id: t,
|
|
6607
6613
|
tags: a,
|
|
6608
6614
|
onChange: r,
|
|
@@ -6614,7 +6620,7 @@ const aa = {
|
|
|
6614
6620
|
inputClassName: d,
|
|
6615
6621
|
onBlur: i,
|
|
6616
6622
|
addOnBlur: s = !0
|
|
6617
|
-
} =
|
|
6623
|
+
} = f, p = D(f, [
|
|
6618
6624
|
"id",
|
|
6619
6625
|
"tags",
|
|
6620
6626
|
"onChange",
|
|
@@ -6627,37 +6633,37 @@ const aa = {
|
|
|
6627
6633
|
"onBlur",
|
|
6628
6634
|
"addOnBlur"
|
|
6629
6635
|
]);
|
|
6630
|
-
const
|
|
6636
|
+
const b = u(
|
|
6631
6637
|
la[Da],
|
|
6632
6638
|
{
|
|
6633
6639
|
[la[`${Da}--error`]]: o
|
|
6634
6640
|
},
|
|
6635
6641
|
c
|
|
6636
|
-
),
|
|
6642
|
+
), v = u(
|
|
6637
6643
|
d,
|
|
6638
6644
|
la[`${Da}__input`],
|
|
6639
6645
|
la[`${Da}__input--${n}`]
|
|
6640
|
-
), [
|
|
6646
|
+
), [h, y] = e.useState(""), E = e.useRef(null), $ = (I) => {
|
|
6641
6647
|
I.trim() !== "" && (r([...a || [], I]), y(""));
|
|
6642
6648
|
}, w = (I) => {
|
|
6643
6649
|
const O = [...a || []];
|
|
6644
6650
|
O.splice(I, 1), r(O);
|
|
6645
|
-
}, C = (I) => y(I.target.value),
|
|
6646
|
-
if (
|
|
6647
|
-
if (I.preventDefault(),
|
|
6651
|
+
}, C = (I) => y(I.target.value), g = (I) => {
|
|
6652
|
+
if (lc.includes(I.key)) {
|
|
6653
|
+
if (I.preventDefault(), h === "")
|
|
6648
6654
|
return;
|
|
6649
|
-
$(
|
|
6650
|
-
} else if (
|
|
6651
|
-
if (
|
|
6655
|
+
$(h);
|
|
6656
|
+
} else if (nc.includes(I.key)) {
|
|
6657
|
+
if (h !== "" || !(a != null && a.length))
|
|
6652
6658
|
return;
|
|
6653
6659
|
w(a.length - 1);
|
|
6654
6660
|
}
|
|
6655
6661
|
}, N = (I) => {
|
|
6656
|
-
s && $(
|
|
6662
|
+
s && $(h), i == null || i(I);
|
|
6657
6663
|
}, S = (I, O) => {
|
|
6658
6664
|
const Y = [...a || []];
|
|
6659
6665
|
Y.reduce(
|
|
6660
|
-
(L, U,
|
|
6666
|
+
(L, U, ue) => L + (U === O && ue !== I ? 1 : 0),
|
|
6661
6667
|
0
|
|
6662
6668
|
) > 0 ? Y.splice(I, 1) : Y[I] = O, r(Y);
|
|
6663
6669
|
}, M = (I) => {
|
|
@@ -6690,32 +6696,32 @@ const aa = {
|
|
|
6690
6696
|
},
|
|
6691
6697
|
I.value || I.children
|
|
6692
6698
|
);
|
|
6693
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(B, { as: "div", className:
|
|
6699
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(B, { as: "div", className: b }, a == null ? void 0 : a.map(G), /* @__PURE__ */ e.createElement(
|
|
6694
6700
|
"input",
|
|
6695
6701
|
T(k({}, p), {
|
|
6696
6702
|
id: t,
|
|
6697
6703
|
ref: E,
|
|
6698
|
-
className:
|
|
6704
|
+
className: v,
|
|
6699
6705
|
placeholder: l,
|
|
6700
|
-
value:
|
|
6706
|
+
value: h,
|
|
6701
6707
|
onChange: C,
|
|
6702
|
-
onKeyDown:
|
|
6708
|
+
onKeyDown: g,
|
|
6703
6709
|
onPaste: M,
|
|
6704
6710
|
onBlur: N
|
|
6705
6711
|
})
|
|
6706
6712
|
)), o && /* @__PURE__ */ e.createElement(Sr, null, o));
|
|
6707
|
-
},
|
|
6713
|
+
}, 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) => {
|
|
6708
6714
|
var _ = r, {
|
|
6709
|
-
placeholder: t =
|
|
6715
|
+
placeholder: t = sc
|
|
6710
6716
|
} = _, a = D(_, [
|
|
6711
6717
|
"placeholder"
|
|
6712
6718
|
]);
|
|
6713
|
-
return /* @__PURE__ */ e.createElement(
|
|
6714
|
-
},
|
|
6715
|
-
toast:
|
|
6716
|
-
toast__content:
|
|
6717
|
-
toast__actions:
|
|
6718
|
-
toast__actions__button:
|
|
6719
|
+
return /* @__PURE__ */ e.createElement(cc, T(k({}, a), { placeholder: t, validator: dc }));
|
|
6720
|
+
}, 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 = {
|
|
6721
|
+
toast: uc,
|
|
6722
|
+
toast__content: mc,
|
|
6723
|
+
toast__actions: pc,
|
|
6724
|
+
toast__actions__button: gc,
|
|
6719
6725
|
"toast__actions__button--success": "lc-Toast-module__toast__actions__button--success___5JmFw",
|
|
6720
6726
|
"toast__actions__button--warning": "lc-Toast-module__toast__actions__button--warning___zGQ-Q",
|
|
6721
6727
|
"toast__actions__button--error": "lc-Toast-module__toast__actions__button--error___PuTv3",
|
|
@@ -6741,7 +6747,7 @@ const aa = {
|
|
|
6741
6747
|
"toast-appear-active--fade": "lc-Toast-module__toast-appear-active--fade___D3--J",
|
|
6742
6748
|
"toast-exit--fade": "lc-Toast-module__toast-exit--fade___iDA1p",
|
|
6743
6749
|
"toast-exit-active--fade": "lc-Toast-module__toast-exit-active--fade___tL7sb"
|
|
6744
|
-
},
|
|
6750
|
+
}, fc = {
|
|
6745
6751
|
success: {
|
|
6746
6752
|
source: vr
|
|
6747
6753
|
},
|
|
@@ -6754,7 +6760,7 @@ const aa = {
|
|
|
6754
6760
|
info: {
|
|
6755
6761
|
source: ca
|
|
6756
6762
|
}
|
|
6757
|
-
}, mt = "toast",
|
|
6763
|
+
}, mt = "toast", bc = (c) => {
|
|
6758
6764
|
var d = c, {
|
|
6759
6765
|
action: t,
|
|
6760
6766
|
className: a,
|
|
@@ -6775,7 +6781,7 @@ const aa = {
|
|
|
6775
6781
|
re[`${mt}--${o}`],
|
|
6776
6782
|
a
|
|
6777
6783
|
), s = typeof r == "string", p = (m) => m && m.closesOnClick && l ? (m.onClick(), l()) : m.onClick();
|
|
6778
|
-
return /* @__PURE__ */ e.createElement("div", k({ className: i }, n), /* @__PURE__ */ e.createElement("div", { className: re[`${mt}__icon`] }, /* @__PURE__ */ e.createElement(x, T(k({},
|
|
6784
|
+
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(
|
|
6779
6785
|
W,
|
|
6780
6786
|
{
|
|
6781
6787
|
className: re[`${mt}__actions--custom`],
|
|
@@ -6796,7 +6802,7 @@ const aa = {
|
|
|
6796
6802
|
},
|
|
6797
6803
|
/* @__PURE__ */ e.createElement(x, { source: Ie, size: "medium" })
|
|
6798
6804
|
)));
|
|
6799
|
-
},
|
|
6805
|
+
}, hc = 200, _a = "toast-wrapper", Ui = ({
|
|
6800
6806
|
className: t,
|
|
6801
6807
|
toasts: a = [],
|
|
6802
6808
|
fixed: r = !0,
|
|
@@ -6815,7 +6821,7 @@ const aa = {
|
|
|
6815
6821
|
},
|
|
6816
6822
|
t
|
|
6817
6823
|
);
|
|
6818
|
-
return /* @__PURE__ */ e.createElement("div", { className: c }, /* @__PURE__ */ e.createElement(c_, { component: null }, a.map(({ id: d, kind: i, content: s, removable: p, action: m, onClose:
|
|
6824
|
+
return /* @__PURE__ */ e.createElement("div", { className: c }, /* @__PURE__ */ e.createElement(c_, { component: null }, a.map(({ id: d, kind: i, content: s, removable: p, action: m, onClose: f }) => /* @__PURE__ */ e.createElement(
|
|
6819
6825
|
i_,
|
|
6820
6826
|
{
|
|
6821
6827
|
key: d,
|
|
@@ -6825,48 +6831,48 @@ const aa = {
|
|
|
6825
6831
|
exit: re[`toast-exit--${o}`],
|
|
6826
6832
|
exitActive: re[`toast-exit-active--${o}`]
|
|
6827
6833
|
},
|
|
6828
|
-
timeout:
|
|
6834
|
+
timeout: hc
|
|
6829
6835
|
},
|
|
6830
6836
|
/* @__PURE__ */ e.createElement(
|
|
6831
|
-
|
|
6837
|
+
bc,
|
|
6832
6838
|
{
|
|
6833
6839
|
kind: i,
|
|
6834
|
-
onClose:
|
|
6840
|
+
onClose: f,
|
|
6835
6841
|
removable: p,
|
|
6836
6842
|
action: m
|
|
6837
6843
|
},
|
|
6838
6844
|
s
|
|
6839
6845
|
)
|
|
6840
6846
|
))));
|
|
6841
|
-
},
|
|
6842
|
-
textarea:
|
|
6847
|
+
}, vc = "lc-Textarea-module__textarea___g6U8F", Pa = {
|
|
6848
|
+
textarea: vc,
|
|
6843
6849
|
"textarea--focused": "lc-Textarea-module__textarea--focused___1vtEx",
|
|
6844
6850
|
"textarea--disabled": "lc-Textarea-module__textarea--disabled___xXaGv",
|
|
6845
6851
|
"textarea--error": "lc-Textarea-module__textarea--error___0EGuq"
|
|
6846
|
-
}, Aa = "textarea",
|
|
6852
|
+
}, Aa = "textarea", Hi = e.forwardRef(
|
|
6847
6853
|
(o, _) => {
|
|
6848
6854
|
var l = o, { className: t, error: a } = l, r = D(l, ["className", "error"]);
|
|
6849
6855
|
const { disabled: n, onBlur: c, onFocus: d } = r, [i, s] = e.useState(!1), p = u(t, Pa[Aa], {
|
|
6850
6856
|
[Pa[`${Aa}--disabled`]]: n,
|
|
6851
6857
|
[Pa[`${Aa}--focused`]]: i,
|
|
6852
6858
|
[Pa[`${Aa}--error`]]: a
|
|
6853
|
-
}), m = (
|
|
6854
|
-
s(!1), c == null || c(
|
|
6855
|
-
},
|
|
6856
|
-
s(!0), d == null || d(
|
|
6859
|
+
}), m = (b) => {
|
|
6860
|
+
s(!1), c == null || c(b);
|
|
6861
|
+
}, f = (b) => {
|
|
6862
|
+
s(!0), d == null || d(b);
|
|
6857
6863
|
};
|
|
6858
6864
|
return /* @__PURE__ */ e.createElement(B, { as: "div", className: p }, /* @__PURE__ */ e.createElement(
|
|
6859
6865
|
"textarea",
|
|
6860
6866
|
T(k({}, r), {
|
|
6861
6867
|
ref: _,
|
|
6862
|
-
onFocus:
|
|
6868
|
+
onFocus: f,
|
|
6863
6869
|
onBlur: m
|
|
6864
6870
|
})
|
|
6865
6871
|
));
|
|
6866
6872
|
}
|
|
6867
|
-
),
|
|
6873
|
+
), kc = {
|
|
6868
6874
|
"update-badge": "lc-UpdateBadge-module__update-badge___Y-CXQ"
|
|
6869
|
-
},
|
|
6875
|
+
}, Ec = "update-badge", zi = () => /* @__PURE__ */ e.createElement("span", { className: kc[Ec] }), sr = {
|
|
6870
6876
|
"file-upload-progress-actions": "lc-FileUploadProgressActions-module__file-upload-progress-actions___qOBr2",
|
|
6871
6877
|
"file-upload-progress-actions__close-button": "lc-FileUploadProgressActions-module__file-upload-progress-actions__close-button___Eh4um",
|
|
6872
6878
|
"file-upload-progress-actions__retry-button": "lc-FileUploadProgressActions-module__file-upload-progress-actions__retry-button___DqFEo"
|
|
@@ -6899,7 +6905,7 @@ const aa = {
|
|
|
6899
6905
|
"file-upload-progress__wrapper__header__title": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title___2IVuv",
|
|
6900
6906
|
"file-upload-progress__wrapper__header__title--success": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--success___E6DQl",
|
|
6901
6907
|
"file-upload-progress__wrapper__header__title--error": "lc-FileUploadProgress-module__file-upload-progress__wrapper__header__title--error___5BPpI"
|
|
6902
|
-
}, _t = "file-upload-progress", ur = `${_t}__wrapper__header__title`,
|
|
6908
|
+
}, _t = "file-upload-progress", ur = `${_t}__wrapper__header__title`, yc = e.forwardRef(
|
|
6903
6909
|
({
|
|
6904
6910
|
actionsVisibility: t = "hidden",
|
|
6905
6911
|
className: a,
|
|
@@ -6952,7 +6958,7 @@ const aa = {
|
|
|
6952
6958
|
)
|
|
6953
6959
|
)),
|
|
6954
6960
|
n !== "success" && /* @__PURE__ */ e.createElement(
|
|
6955
|
-
|
|
6961
|
+
Un,
|
|
6956
6962
|
{
|
|
6957
6963
|
className: a,
|
|
6958
6964
|
percent: o,
|
|
@@ -6982,7 +6988,7 @@ const aa = {
|
|
|
6982
6988
|
"upload-bar__files--exit-done": "lc-UploadBar-module__upload-bar__files--exit-done___2I72G",
|
|
6983
6989
|
"upload-bar__files-wrapper": "lc-UploadBar-module__upload-bar__files-wrapper___93bs8",
|
|
6984
6990
|
"upload-bar__files__list": "lc-UploadBar-module__upload-bar__files__list___QJFEq"
|
|
6985
|
-
},
|
|
6991
|
+
}, Ee = "upload-bar", ot = `${Ee}__wrapper__header`, wc = 300, Cc = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement(
|
|
6986
6992
|
"div",
|
|
6987
6993
|
{
|
|
6988
6994
|
"data-testid": "success-icon",
|
|
@@ -6997,13 +7003,13 @@ const aa = {
|
|
|
6997
7003
|
},
|
|
6998
7004
|
/* @__PURE__ */ e.createElement(x, { source: q_ })
|
|
6999
7005
|
) : /* @__PURE__ */ e.createElement(
|
|
7000
|
-
|
|
7006
|
+
Gn,
|
|
7001
7007
|
{
|
|
7002
7008
|
className: K[`${ot}__loader`],
|
|
7003
7009
|
status: t,
|
|
7004
7010
|
progressValue: a
|
|
7005
7011
|
}
|
|
7006
|
-
),
|
|
7012
|
+
), Wi = ({
|
|
7007
7013
|
children: t,
|
|
7008
7014
|
className: a,
|
|
7009
7015
|
progressValue: r,
|
|
@@ -7017,14 +7023,14 @@ const aa = {
|
|
|
7017
7023
|
onCloseButtonClick: s,
|
|
7018
7024
|
onRetryButtonClick: p
|
|
7019
7025
|
}) => {
|
|
7020
|
-
const [m,
|
|
7021
|
-
[K[`${
|
|
7022
|
-
[K[`${
|
|
7023
|
-
}), y = !(
|
|
7024
|
-
return i === "single" ? /* @__PURE__ */ e.createElement("div", { className:
|
|
7025
|
-
|
|
7026
|
+
const [m, f] = e.useState(o || !1), b = n === "error", v = n === "success", h = u(K[Ee], a, {
|
|
7027
|
+
[K[`${Ee}--error`]]: b,
|
|
7028
|
+
[K[`${Ee}--success`]]: v
|
|
7029
|
+
}), y = !(b && (p || s)), E = () => f(!m);
|
|
7030
|
+
return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: h }, /* @__PURE__ */ e.createElement("div", { className: K[`${Ee}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement(
|
|
7031
|
+
yc,
|
|
7026
7032
|
{
|
|
7027
|
-
title:
|
|
7033
|
+
title: b && l || _,
|
|
7028
7034
|
progressValue: r,
|
|
7029
7035
|
status: n,
|
|
7030
7036
|
icon: c,
|
|
@@ -7037,13 +7043,13 @@ const aa = {
|
|
|
7037
7043
|
onCloseButtonClick: s,
|
|
7038
7044
|
onRetryButtonClick: p
|
|
7039
7045
|
}
|
|
7040
|
-
))) : /* @__PURE__ */ e.createElement("div", { className:
|
|
7046
|
+
))) : /* @__PURE__ */ e.createElement("div", { className: h }, /* @__PURE__ */ e.createElement(
|
|
7041
7047
|
"div",
|
|
7042
7048
|
{
|
|
7043
|
-
className: K[`${
|
|
7049
|
+
className: K[`${Ee}__wrapper`],
|
|
7044
7050
|
onClick: E
|
|
7045
7051
|
},
|
|
7046
|
-
/* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}__icon`] },
|
|
7052
|
+
/* @__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(
|
|
7047
7053
|
"button",
|
|
7048
7054
|
{
|
|
7049
7055
|
className: K[`${ot}__collapse-button`],
|
|
@@ -7063,115 +7069,115 @@ const aa = {
|
|
|
7063
7069
|
), /* @__PURE__ */ e.createElement(c_, { component: null }, m && /* @__PURE__ */ e.createElement(
|
|
7064
7070
|
i_,
|
|
7065
7071
|
{
|
|
7066
|
-
timeout:
|
|
7072
|
+
timeout: wc,
|
|
7067
7073
|
classNames: {
|
|
7068
|
-
enter: K[`${
|
|
7069
|
-
enterActive: K[`${
|
|
7070
|
-
exit: K[`${
|
|
7071
|
-
exitActive: K[`${
|
|
7072
|
-
exitDone: K[`${
|
|
7074
|
+
enter: K[`${Ee}__files--enter`],
|
|
7075
|
+
enterActive: K[`${Ee}__files--enter-active`],
|
|
7076
|
+
exit: K[`${Ee}__files--exit`],
|
|
7077
|
+
exitActive: K[`${Ee}__files--exit-active`],
|
|
7078
|
+
exitDone: K[`${Ee}__files--exit-done`]
|
|
7073
7079
|
}
|
|
7074
7080
|
},
|
|
7075
|
-
/* @__PURE__ */ e.createElement("div", { className: K[`${
|
|
7081
|
+
/* @__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)))
|
|
7076
7082
|
)));
|
|
7077
7083
|
};
|
|
7078
7084
|
export {
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7085
|
+
hc as ANIMATION_TIME,
|
|
7086
|
+
jc as ActionBar,
|
|
7087
|
+
Qc as ActionCard,
|
|
7082
7088
|
mo as ActionMenu,
|
|
7083
7089
|
po as ActionMenuItem,
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7090
|
+
Ei as ActionModalContent,
|
|
7091
|
+
ei as Alert,
|
|
7092
|
+
ti as AppFrame,
|
|
7087
7093
|
co as AppFrameProvider,
|
|
7088
7094
|
il as Avatar,
|
|
7089
7095
|
Ra as Badge,
|
|
7090
7096
|
W as Button,
|
|
7091
|
-
|
|
7097
|
+
ci as Card,
|
|
7092
7098
|
Dl as Checkbox,
|
|
7093
7099
|
Ol as DatePicker,
|
|
7094
|
-
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
7099
|
-
|
|
7100
|
+
ii as DatePickerRangeCalendarsWrapper,
|
|
7101
|
+
Lc as DesignToken,
|
|
7102
|
+
si as DetailsCard,
|
|
7103
|
+
di as DetailsCardInfo,
|
|
7104
|
+
Kc as Display,
|
|
7105
|
+
Gi as EmailTagInput,
|
|
7100
7106
|
za as FieldDescription,
|
|
7101
7107
|
Sr as FieldError,
|
|
7102
|
-
|
|
7103
|
-
|
|
7108
|
+
ui as FieldGroup,
|
|
7109
|
+
yc as FileUploadProgress,
|
|
7104
7110
|
hr as FileUploadProgressActions,
|
|
7105
|
-
|
|
7106
|
-
|
|
7107
|
-
|
|
7111
|
+
mi as Form,
|
|
7112
|
+
pi as FormField,
|
|
7113
|
+
gi as FormGroup,
|
|
7108
7114
|
ne as Heading,
|
|
7109
7115
|
x as Icon,
|
|
7110
|
-
|
|
7111
|
-
|
|
7112
|
-
|
|
7113
|
-
|
|
7116
|
+
qc as Info,
|
|
7117
|
+
fi as Input,
|
|
7118
|
+
Zc as Interactive,
|
|
7119
|
+
bi as Link,
|
|
7114
7120
|
Cr as Loader,
|
|
7115
|
-
|
|
7121
|
+
hi as Modal,
|
|
7116
7122
|
en as ModalBase,
|
|
7117
7123
|
Xr as ModalCloseButton,
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7122
|
-
|
|
7124
|
+
ki as ModalHeader,
|
|
7125
|
+
vi as ModalPortal,
|
|
7126
|
+
li as Navigation,
|
|
7127
|
+
_i as NavigationGroup,
|
|
7128
|
+
oi as NavigationItem,
|
|
7123
7129
|
g_ as NavigationTopBar,
|
|
7124
7130
|
tl as NavigationTopBarAlert,
|
|
7125
7131
|
el as NavigationTopBarTitle,
|
|
7126
|
-
|
|
7127
|
-
|
|
7128
|
-
|
|
7132
|
+
yi as NumericInput,
|
|
7133
|
+
wi as OnboardingChecklist,
|
|
7134
|
+
Ci as Picker,
|
|
7129
7135
|
sn as PickerList,
|
|
7130
|
-
|
|
7131
|
-
|
|
7136
|
+
$i as Popover,
|
|
7137
|
+
Ni as ProductSwitcher,
|
|
7132
7138
|
Sn as ProductSwitcherProducts,
|
|
7133
|
-
|
|
7134
|
-
|
|
7135
|
-
|
|
7136
|
-
|
|
7137
|
-
|
|
7138
|
-
|
|
7139
|
+
Un as ProgressBar,
|
|
7140
|
+
Gn as ProgressCircle,
|
|
7141
|
+
xi as PromoBanner,
|
|
7142
|
+
Bi as PromoBannerV2,
|
|
7143
|
+
Ii as RadioButton,
|
|
7144
|
+
Uc as RadiusToken,
|
|
7139
7145
|
Ul as RangeDatePicker,
|
|
7140
|
-
|
|
7146
|
+
Jc as Reports,
|
|
7141
7147
|
zo as SIDE_NAVIGATION_ACTIVE_ITEM_TEST_ID,
|
|
7142
7148
|
Ho as SIDE_NAVIGATION_ITEM_TEST_ID,
|
|
7143
7149
|
Wo as SIDE_NAVIGATION_PARENT_ICON_TEST_ID,
|
|
7144
|
-
|
|
7145
|
-
|
|
7146
|
-
|
|
7147
|
-
|
|
7148
|
-
|
|
7150
|
+
Ti as SearchInput,
|
|
7151
|
+
ni as SegmentedControl,
|
|
7152
|
+
Gc as ShadowToken,
|
|
7153
|
+
ai as SideNavigation,
|
|
7154
|
+
ri as SideNavigationGroup,
|
|
7149
7155
|
Vo as SideNavigationItem,
|
|
7150
|
-
|
|
7151
|
-
|
|
7152
|
-
|
|
7153
|
-
|
|
7154
|
-
|
|
7155
|
-
|
|
7156
|
-
|
|
7157
|
-
|
|
7158
|
-
|
|
7159
|
-
|
|
7156
|
+
Yc as Simple,
|
|
7157
|
+
Pi as SkeletonAvatar,
|
|
7158
|
+
Ai as SkeletonText,
|
|
7159
|
+
Di as SkeletonWrapper,
|
|
7160
|
+
Oc as SpacingToken,
|
|
7161
|
+
Fi as StatusBadge,
|
|
7162
|
+
Ri as Switch,
|
|
7163
|
+
Mi as Tab,
|
|
7164
|
+
Oi as TabsList,
|
|
7165
|
+
Li as TabsWrapper,
|
|
7160
7166
|
h_ as Tag,
|
|
7161
|
-
|
|
7167
|
+
cc as TagInput,
|
|
7162
7168
|
B as Text,
|
|
7163
|
-
|
|
7164
|
-
|
|
7165
|
-
|
|
7169
|
+
Hi as Textarea,
|
|
7170
|
+
bc as Toast,
|
|
7171
|
+
Ui as ToastWrapper,
|
|
7166
7172
|
Lt as Tooltip,
|
|
7167
|
-
|
|
7168
|
-
|
|
7169
|
-
|
|
7170
|
-
|
|
7171
|
-
|
|
7172
|
-
|
|
7173
|
+
Wc as TransitionDelayToken,
|
|
7174
|
+
Hc as TransitionDurationToken,
|
|
7175
|
+
zc as TransitionTimingToken,
|
|
7176
|
+
zi as UpdateBadge,
|
|
7177
|
+
Wi as UploadBar,
|
|
7178
|
+
Xc as UserGuide,
|
|
7173
7179
|
al as generateAvatarColor,
|
|
7174
|
-
|
|
7180
|
+
Vc as getDesignTokenWithOpacity,
|
|
7175
7181
|
no as useAppFrame,
|
|
7176
|
-
|
|
7182
|
+
Si as useProductSwitcher
|
|
7177
7183
|
};
|