@livechat/design-system-react-components 1.33.7 → 1.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ProductSwitcher/components/ProductRow/ProductRow.d.ts +1 -1
- package/dist/components/ProductSwitcher/helpers.d.ts +5 -5
- package/dist/components/ProductSwitcher/hooks/useProductSwitcher.d.ts +4 -3
- package/dist/components/ProductSwitcher/types.d.ts +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +651 -644
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var N_ = Object.defineProperty, S_ = Object.defineProperties;
|
|
2
|
+
var x_ = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var va = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var Qa = (t, a, r) => a in t ?
|
|
4
|
+
var Br = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Qa = (t, a, r) => a in t ? N_(t, a, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[a] = r, k = (t, a) => {
|
|
6
6
|
for (var r in a || (a = {}))
|
|
7
|
-
|
|
7
|
+
Br.call(a, r) && Qa(t, r, a[r]);
|
|
8
8
|
if (va)
|
|
9
9
|
for (var r of va(a))
|
|
10
|
-
|
|
10
|
+
Ir.call(a, r) && Qa(t, r, a[r]);
|
|
11
11
|
return t;
|
|
12
|
-
}, T = (t, a) =>
|
|
12
|
+
}, T = (t, a) => S_(t, x_(a));
|
|
13
13
|
var D = (t, a) => {
|
|
14
14
|
var r = {};
|
|
15
15
|
for (var _ in t)
|
|
16
|
-
|
|
16
|
+
Br.call(t, _) && a.indexOf(_) < 0 && (r[_] = t[_]);
|
|
17
17
|
if (t != null && va)
|
|
18
18
|
for (var _ of va(t))
|
|
19
|
-
a.indexOf(_) < 0 &&
|
|
19
|
+
a.indexOf(_) < 0 && Ir.call(t, _) && (r[_] = t[_]);
|
|
20
20
|
return r;
|
|
21
21
|
};
|
|
22
22
|
var er = (t, a, r) => (Qa(t, typeof a != "symbol" ? a + "" : a, r), r);
|
|
23
23
|
import * as e from "react";
|
|
24
|
-
import { useReducer as
|
|
25
|
-
import { Check as ia, Close as Ie, ChevronDown as Ot, Info as ca, Warning as
|
|
24
|
+
import { useReducer as B_, useRef as I_, useEffect as Ft, useCallback as ka, useMemo as Ea, useState as T_ } from "react";
|
|
25
|
+
import { Check as ia, Close as Ie, ChevronDown as Ot, Info as ca, Warning as r_, CheckCircle as vr, Block as __, ChevronRight as La, Person as D_, ChevronUp as Oa, DoubleArrowLeft as P_, ChevronLeft as A_, DoubleArrowRight as F_, VisibilityOn as R_, VisibilityOff as M_, TextLogoFull as L_, LiveChatMono as O_, ChatBotMono as G_, HelpDeskMono as U_, KnowledgeBaseMono as H_, OpenWidgetMono as z_, HelloMono as W_, TextAccounts as V_, Search as K_, LockBlack as Y_, Refresh as q_, Error as Z_ } from "@livechat/design-system-icons";
|
|
26
26
|
import u from "clsx";
|
|
27
|
-
import { useFloatingParentNodeId as Ga, useFloatingNodeId as sa, useFloating as da, offset as ua, flip as Ua, size as
|
|
28
|
-
import * as
|
|
29
|
-
import { flushSync as
|
|
30
|
-
import
|
|
27
|
+
import { useFloatingParentNodeId as Ga, useFloatingNodeId as sa, useFloating as da, offset as ua, flip as Ua, size as o_, 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 X_, useHover as J_, safePolygon as j_, useFocus as Q_, useTransitionStatus as eo, FloatingArrow as to, FloatingPortal as l_, FloatingOverlay as ao, FloatingFocusManager as mr, useListNavigation as ro } from "@floating-ui/react";
|
|
28
|
+
import * as n_ from "react-dom";
|
|
29
|
+
import { flushSync as _o } from "react-dom";
|
|
30
|
+
import c_ from "lodash.debounce";
|
|
31
31
|
import { getContrast as yr } from "polished";
|
|
32
|
-
import
|
|
33
|
-
import { subMonths as Rt, differenceInCalendarMonths as
|
|
34
|
-
import { Virtuoso as
|
|
35
|
-
import
|
|
36
|
-
import { TransitionGroup as
|
|
32
|
+
import oo from "react-day-picker";
|
|
33
|
+
import { subMonths as Rt, differenceInCalendarMonths as Tr, addMonths as Dr, isSameMonth as pr, isSameDay as gr, isAfter as fr, differenceInCalendarDays as wr, isPast as lo } from "date-fns";
|
|
34
|
+
import { Virtuoso as no } from "react-virtuoso";
|
|
35
|
+
import Pr from "lodash.escape";
|
|
36
|
+
import { TransitionGroup as i_, CSSTransition as s_ } from "react-transition-group";
|
|
37
37
|
const Lc = {
|
|
38
38
|
/** @deprecated */
|
|
39
39
|
Background: "--background",
|
|
@@ -475,14 +475,14 @@ const Lc = {
|
|
|
475
475
|
Instant: "--delay-instant",
|
|
476
476
|
Moderate: "--delay-moderate",
|
|
477
477
|
Slow: "--delay-slow"
|
|
478
|
-
},
|
|
478
|
+
}, d_ = e.createContext(
|
|
479
479
|
void 0
|
|
480
|
-
),
|
|
481
|
-
const t = e.useContext(
|
|
480
|
+
), co = () => {
|
|
481
|
+
const t = e.useContext(d_);
|
|
482
482
|
if (!t)
|
|
483
483
|
throw new Error("useAppFrame must be used within a AppFrameProvider");
|
|
484
484
|
return t;
|
|
485
|
-
},
|
|
485
|
+
}, io = ({
|
|
486
486
|
children: t,
|
|
487
487
|
isSideNavigationVisible: a = !0
|
|
488
488
|
}) => {
|
|
@@ -493,7 +493,7 @@ const Lc = {
|
|
|
493
493
|
}),
|
|
494
494
|
[r, _]
|
|
495
495
|
);
|
|
496
|
-
return /* @__PURE__ */ e.createElement(
|
|
496
|
+
return /* @__PURE__ */ e.createElement(d_.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",
|
|
@@ -505,8 +505,8 @@ const Lc = {
|
|
|
505
505
|
comma: ",",
|
|
506
506
|
arrowUp: "ArrowUp",
|
|
507
507
|
arrowDown: "ArrowDown"
|
|
508
|
-
},
|
|
509
|
-
icon:
|
|
508
|
+
}, so = "lc-Icon-module__icon___tw31R", Ar = {
|
|
509
|
+
icon: so,
|
|
510
510
|
"icon--primary": "lc-Icon-module__icon--primary___JJnBV",
|
|
511
511
|
"icon--subtle": "lc-Icon-module__icon--subtle___sZIzL",
|
|
512
512
|
"icon--inverted": "lc-Icon-module__icon--inverted___zA9QC",
|
|
@@ -540,7 +540,7 @@ const Lc = {
|
|
|
540
540
|
"icon--disabled--action-warning": "lc-Icon-module__icon--disabled--action-warning___5VvCf",
|
|
541
541
|
"icon--disabled--action-neutral": "lc-Icon-module__icon--disabled--action-neutral___SxlyC",
|
|
542
542
|
"icon--disabled--lock-black": "lc-Icon-module__icon--disabled--lock-black___WJNua"
|
|
543
|
-
},
|
|
543
|
+
}, uo = {
|
|
544
544
|
xsmall: {
|
|
545
545
|
width: 12,
|
|
546
546
|
height: 12
|
|
@@ -569,7 +569,7 @@ const Lc = {
|
|
|
569
569
|
width: 64,
|
|
570
570
|
height: 64
|
|
571
571
|
}
|
|
572
|
-
},
|
|
572
|
+
}, Fr = "icon", x = (t) => {
|
|
573
573
|
const s = t, {
|
|
574
574
|
source: a,
|
|
575
575
|
size: r = "medium",
|
|
@@ -584,10 +584,10 @@ const Lc = {
|
|
|
584
584
|
"disabled",
|
|
585
585
|
"className",
|
|
586
586
|
"customColor"
|
|
587
|
-
]), d = e.createElement(a, k(k({},
|
|
587
|
+
]), d = e.createElement(a, k(k({}, uo[r]), n ? { color: n } : {})), i = u(
|
|
588
588
|
l,
|
|
589
|
-
|
|
590
|
-
_ &&
|
|
589
|
+
Ar[Fr],
|
|
590
|
+
_ && Ar[`${Fr}--${o ? "disabled--" : ""}${_}`]
|
|
591
591
|
);
|
|
592
592
|
return /* @__PURE__ */ e.createElement("span", T(k({}, c), { className: i }), d);
|
|
593
593
|
}, Ge = {
|
|
@@ -613,7 +613,7 @@ const Lc = {
|
|
|
613
613
|
"display-lg": "lc-Typography-module__display-lg___WKhIT",
|
|
614
614
|
"display-max": "lc-Typography-module__display-max___vR8yn",
|
|
615
615
|
"display--bold": "lc-Typography-module__display--bold___a1pLv"
|
|
616
|
-
},
|
|
616
|
+
}, mo = {
|
|
617
617
|
xl: "h1",
|
|
618
618
|
lg: "h2",
|
|
619
619
|
md: "h3",
|
|
@@ -641,7 +641,7 @@ const Lc = {
|
|
|
641
641
|
"textAlign"
|
|
642
642
|
]);
|
|
643
643
|
return e.createElement(
|
|
644
|
-
t ||
|
|
644
|
+
t || mo[a],
|
|
645
645
|
k({
|
|
646
646
|
className: u(
|
|
647
647
|
{
|
|
@@ -746,7 +746,7 @@ const Lc = {
|
|
|
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",
|
|
749
|
+
}, ze = "action-menu", po = (v) => {
|
|
750
750
|
var h = v, {
|
|
751
751
|
className: t,
|
|
752
752
|
triggerClassName: a,
|
|
@@ -785,9 +785,9 @@ const Lc = {
|
|
|
785
785
|
middleware: [
|
|
786
786
|
ua(4),
|
|
787
787
|
Ua(c),
|
|
788
|
-
|
|
788
|
+
o_({
|
|
789
789
|
apply({ availableHeight: P }) {
|
|
790
|
-
|
|
790
|
+
_o(() => C(P));
|
|
791
791
|
}
|
|
792
792
|
})
|
|
793
793
|
],
|
|
@@ -796,10 +796,10 @@ const Lc = {
|
|
|
796
796
|
strategy: p,
|
|
797
797
|
onOpenChange: I,
|
|
798
798
|
whileElementsMounted: ma
|
|
799
|
-
}),
|
|
799
|
+
}), $e = pa(U), Ke = ga(U, {
|
|
800
800
|
enabled: G
|
|
801
801
|
}), Ue = fa(U), { getReferenceProps: Ne, getFloatingProps: $t } = ba([
|
|
802
|
-
|
|
802
|
+
$e,
|
|
803
803
|
Ke,
|
|
804
804
|
Ue
|
|
805
805
|
]), { styles: ft } = kr(U, {
|
|
@@ -817,18 +817,18 @@ const Lc = {
|
|
|
817
817
|
}), Nt = (P) => {
|
|
818
818
|
var Ye, qe;
|
|
819
819
|
const V = g.current;
|
|
820
|
-
let
|
|
821
|
-
for (; (Ye = r[
|
|
822
|
-
if (
|
|
823
|
-
|
|
820
|
+
let ue = V + P;
|
|
821
|
+
for (; (Ye = r[ue]) != null && Ye.disabled || (qe = r[ue]) != null && qe.groupHeader; )
|
|
822
|
+
if (ue += P, ue === -1) {
|
|
823
|
+
ue = V;
|
|
824
824
|
break;
|
|
825
825
|
}
|
|
826
|
-
return
|
|
826
|
+
return ue;
|
|
827
827
|
}, bt = (P) => {
|
|
828
828
|
var Ye, qe;
|
|
829
829
|
g.current = Nt(P);
|
|
830
|
-
const V = (Ye = M.current) == null ? void 0 : Ye.children,
|
|
831
|
-
return
|
|
830
|
+
const V = (Ye = M.current) == null ? void 0 : Ye.children, ue = V && ((qe = V[g.current]) == null ? void 0 : qe.children[0]);
|
|
831
|
+
return ue == null ? void 0 : ue.focus();
|
|
832
832
|
}, lt = (P) => {
|
|
833
833
|
P.key === de.arrowUp && g.current > 0 && (P.preventDefault(), bt(-1)), P.key === de.arrowDown && g.current + 1 < r.length && (P.preventDefault(), bt(1));
|
|
834
834
|
};
|
|
@@ -924,7 +924,7 @@ const Lc = {
|
|
|
924
924
|
"action-menu-item__right-node": "lc-ActionMenuItem-module__action-menu-item__right-node___uq0Ym",
|
|
925
925
|
"action-menu-item__label": "lc-ActionMenuItem-module__action-menu-item__label___OgJ80",
|
|
926
926
|
"action-menu-item--warning": "lc-ActionMenuItem-module__action-menu-item--warning___DgeYg"
|
|
927
|
-
}, Ht = "action-menu-item",
|
|
927
|
+
}, Ht = "action-menu-item", go = ({ leftNode: t, rightNode: a, children: r, kind: _ }) => /* @__PURE__ */ e.createElement(
|
|
928
928
|
"div",
|
|
929
929
|
{
|
|
930
930
|
className: u(Ut[Ht], {
|
|
@@ -934,16 +934,16 @@ const Lc = {
|
|
|
934
934
|
t && /* @__PURE__ */ e.createElement("div", { className: Ut[`${Ht}__left-node`] }, t),
|
|
935
935
|
/* @__PURE__ */ e.createElement(B, { as: "div", className: Ut[`${Ht}__label`] }, r),
|
|
936
936
|
a && /* @__PURE__ */ e.createElement("div", { className: Ut[`${Ht}__right-node`] }, a)
|
|
937
|
-
),
|
|
938
|
-
loader:
|
|
939
|
-
loader__spinner:
|
|
937
|
+
), fo = "lc-Loader-module__loader___LRflD", bo = "lc-Loader-module__loader__spinner___l3C1g", ho = "lc-Loader-module__rotate___Tlni-", vo = "lc-Loader-module__loader__label___R74f6", zt = {
|
|
938
|
+
loader: fo,
|
|
939
|
+
loader__spinner: bo,
|
|
940
940
|
"loader__spinner--small": "lc-Loader-module__loader__spinner--small___dGFFt",
|
|
941
941
|
"loader__spinner--medium": "lc-Loader-module__loader__spinner--medium___J-ki0",
|
|
942
942
|
"loader__spinner--large": "lc-Loader-module__loader__spinner--large___Poqq7",
|
|
943
943
|
"loader__spinner-circle": "lc-Loader-module__loader__spinner-circle___ApBUO",
|
|
944
|
-
rotate:
|
|
945
|
-
loader__label:
|
|
946
|
-
},
|
|
944
|
+
rotate: ho,
|
|
945
|
+
loader__label: vo
|
|
946
|
+
}, u_ = "loader", Rr = `${u_}__spinner`, Cr = (n) => {
|
|
947
947
|
var c = n, {
|
|
948
948
|
primaryColor: t,
|
|
949
949
|
secondaryColor: a,
|
|
@@ -957,10 +957,10 @@ const Lc = {
|
|
|
957
957
|
"className",
|
|
958
958
|
"size"
|
|
959
959
|
]);
|
|
960
|
-
return /* @__PURE__ */ e.createElement("div", k({ className: u(zt[
|
|
960
|
+
return /* @__PURE__ */ e.createElement("div", k({ className: u(zt[u_], _) }, l), /* @__PURE__ */ e.createElement(
|
|
961
961
|
"div",
|
|
962
962
|
{
|
|
963
|
-
className: u(zt[
|
|
963
|
+
className: u(zt[Rr], zt[`${Rr}--${o}`])
|
|
964
964
|
},
|
|
965
965
|
/* @__PURE__ */ e.createElement(
|
|
966
966
|
"div",
|
|
@@ -975,7 +975,7 @@ const Lc = {
|
|
|
975
975
|
}
|
|
976
976
|
)
|
|
977
977
|
), r && /* @__PURE__ */ e.createElement(B, { as: "div", size: "md", className: zt.loader__label }, r));
|
|
978
|
-
},
|
|
978
|
+
}, ko = (t) => {
|
|
979
979
|
if (t === "primary" || t === "destructive")
|
|
980
980
|
return {
|
|
981
981
|
primaryColor: "var(--action-primary-default)",
|
|
@@ -986,8 +986,8 @@ const Lc = {
|
|
|
986
986
|
primaryColor: "var(--content-invert-primary)",
|
|
987
987
|
secondaryColor: "var(--surface-invert-secondary)"
|
|
988
988
|
};
|
|
989
|
-
},
|
|
990
|
-
btn:
|
|
989
|
+
}, Eo = "lc-Button-module__btn___aijZJ", yo = "lc-Button-module__btn__loader___c8zZz", wo = "lc-Button-module__btn__icon___GVExB", pe = {
|
|
990
|
+
btn: Eo,
|
|
991
991
|
"btn--disabled": "lc-Button-module__btn--disabled___lXBav",
|
|
992
992
|
"btn--full-width": "lc-Button-module__btn--full-width___kdbAr",
|
|
993
993
|
"btn--xcompact": "lc-Button-module__btn--xcompact___s-zG-",
|
|
@@ -1010,8 +1010,8 @@ const Lc = {
|
|
|
1010
1010
|
"btn--dotted": "lc-Button-module__btn--dotted___y1EEP",
|
|
1011
1011
|
"btn--high-contrast": "lc-Button-module__btn--high-contrast___zHSVM",
|
|
1012
1012
|
"btn--loading": "lc-Button-module__btn--loading___ZAgjv",
|
|
1013
|
-
btn__loader:
|
|
1014
|
-
btn__icon:
|
|
1013
|
+
btn__loader: yo,
|
|
1014
|
+
btn__icon: wo,
|
|
1015
1015
|
"btn__icon--left": "lc-Button-module__btn__icon--left___H68zu",
|
|
1016
1016
|
"btn__icon--right": "lc-Button-module__btn__icon--right___fHr3D",
|
|
1017
1017
|
"btn__icon--small": "lc-Button-module__btn__icon--small___WLk8c",
|
|
@@ -1019,7 +1019,7 @@ const Lc = {
|
|
|
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
|
-
},
|
|
1022
|
+
}, ge = "btn", W = e.forwardRef(
|
|
1023
1023
|
(v, b) => {
|
|
1024
1024
|
var h = v, {
|
|
1025
1025
|
loading: t = !1,
|
|
@@ -1052,16 +1052,16 @@ const Lc = {
|
|
|
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
|
-
ge
|
|
1056
|
-
|
|
1057
|
-
|
|
1055
|
+
pe[ge],
|
|
1056
|
+
pe[`${ge}--${o}`],
|
|
1057
|
+
pe[`${ge}--${l}`],
|
|
1058
1058
|
{
|
|
1059
|
-
[
|
|
1060
|
-
[
|
|
1061
|
-
[
|
|
1062
|
-
[
|
|
1063
|
-
[
|
|
1064
|
-
[
|
|
1059
|
+
[pe[`${ge}--loading`]]: t,
|
|
1060
|
+
[pe[`${ge}--full-width`]]: _,
|
|
1061
|
+
[pe[`${ge}--with-${c}-icon`]]: n && !E && !$,
|
|
1062
|
+
[pe[`${ge}--icon-only`]]: E,
|
|
1063
|
+
[pe[`${ge}--icon-only--bg`]]: E && $,
|
|
1064
|
+
[pe[`${ge}--disabled`]]: y
|
|
1065
1065
|
}
|
|
1066
1066
|
);
|
|
1067
1067
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -1079,26 +1079,26 @@ const Lc = {
|
|
|
1079
1079
|
"data-testid": "button-loader",
|
|
1080
1080
|
size: "small",
|
|
1081
1081
|
label: d,
|
|
1082
|
-
className:
|
|
1083
|
-
},
|
|
1082
|
+
className: pe[`${ge}__loader`]
|
|
1083
|
+
}, ko(o))
|
|
1084
1084
|
),
|
|
1085
1085
|
n && e.cloneElement(n, {
|
|
1086
1086
|
className: u(
|
|
1087
1087
|
n.props.className,
|
|
1088
|
-
|
|
1089
|
-
|
|
1088
|
+
pe[`${ge}__icon`],
|
|
1089
|
+
pe[`${ge}__icon--${c}`],
|
|
1090
1090
|
{
|
|
1091
|
-
[
|
|
1091
|
+
[pe[`${ge}__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: pe[`${ge}__content`] }, s)
|
|
1098
1098
|
);
|
|
1099
1099
|
}
|
|
1100
1100
|
);
|
|
1101
|
-
function
|
|
1101
|
+
function m_(t) {
|
|
1102
1102
|
switch (t) {
|
|
1103
1103
|
case "invert":
|
|
1104
1104
|
return "inverted";
|
|
@@ -1108,7 +1108,7 @@ function u_(t) {
|
|
|
1108
1108
|
return "primary";
|
|
1109
1109
|
}
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1111
|
+
function Co(t, a, r, _) {
|
|
1112
1112
|
if (r)
|
|
1113
1113
|
return {
|
|
1114
1114
|
top: t ? r + t : r
|
|
@@ -1118,7 +1118,7 @@ function wo(t, a, r, _) {
|
|
|
1118
1118
|
left: a ? _ + a : _
|
|
1119
1119
|
};
|
|
1120
1120
|
}
|
|
1121
|
-
const
|
|
1121
|
+
const $o = (t) => {
|
|
1122
1122
|
switch (t) {
|
|
1123
1123
|
case "invert":
|
|
1124
1124
|
return {
|
|
@@ -1136,13 +1136,13 @@ const Co = (t) => {
|
|
|
1136
1136
|
fill: "var(--tooltip-background-basic)"
|
|
1137
1137
|
};
|
|
1138
1138
|
}
|
|
1139
|
-
},
|
|
1140
|
-
tooltip:
|
|
1141
|
-
tooltip__content:
|
|
1139
|
+
}, No = "lc-Tooltip-module__tooltip___QOOAr", So = "lc-Tooltip-module__tooltip__content___RuamE", xo = "lc-Tooltip-module__tooltip__arrow___Ov1YW", Bo = "lc-Tooltip-module__tooltip__interactive___0JawB", A = {
|
|
1140
|
+
tooltip: No,
|
|
1141
|
+
tooltip__content: So,
|
|
1142
1142
|
"tooltip--invert": "lc-Tooltip-module__tooltip--invert___PVjhE",
|
|
1143
|
-
tooltip__arrow:
|
|
1143
|
+
tooltip__arrow: xo,
|
|
1144
1144
|
"tooltip--important": "lc-Tooltip-module__tooltip--important___X-IMK",
|
|
1145
|
-
tooltip__interactive:
|
|
1145
|
+
tooltip__interactive: Bo,
|
|
1146
1146
|
"tooltip__user-guide-step": "lc-Tooltip-module__tooltip__user-guide-step___evexI",
|
|
1147
1147
|
"tooltip--full-space": "lc-Tooltip-module__tooltip--full-space___wmbaw",
|
|
1148
1148
|
"tooltip-header": "lc-Tooltip-module__tooltip-header___QV0Vd",
|
|
@@ -1199,32 +1199,32 @@ const Co = (t) => {
|
|
|
1199
1199
|
closeOnTriggerBlur: Y = !1,
|
|
1200
1200
|
floatingStrategy: j
|
|
1201
1201
|
}) => {
|
|
1202
|
-
const L = c !== void 0, [U,
|
|
1202
|
+
const L = c !== void 0, [U, $e] = 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 = (me) => {
|
|
1208
|
+
me !== Ue && (me ? s == null || s() : i == null || i(), !L && $e(me));
|
|
1209
|
+
}, ht = (me) => p ? me != null ? me : m : 0, St = (me) => me != null ? me : v, {
|
|
1210
1210
|
floatingStyles: xt,
|
|
1211
1211
|
refs: P,
|
|
1212
1212
|
context: V,
|
|
1213
|
-
middlewareData: { arrow: { x:
|
|
1213
|
+
middlewareData: { arrow: { x: ue, y: Ye } = {} }
|
|
1214
1214
|
} = da({
|
|
1215
1215
|
nodeId: ft,
|
|
1216
1216
|
middleware: [
|
|
1217
1217
|
ua({ mainAxis: w, crossAxis: C }),
|
|
1218
1218
|
Er(),
|
|
1219
1219
|
Ua(),
|
|
1220
|
-
|
|
1220
|
+
X_({ element: Ke })
|
|
1221
1221
|
],
|
|
1222
1222
|
placement: n,
|
|
1223
1223
|
open: Ue,
|
|
1224
1224
|
strategy: j,
|
|
1225
1225
|
onOpenChange: lt,
|
|
1226
1226
|
whileElementsMounted: ma
|
|
1227
|
-
}), qe =
|
|
1227
|
+
}), qe = J_(V, {
|
|
1228
1228
|
move: !1,
|
|
1229
1229
|
restMs: N,
|
|
1230
1230
|
delay: {
|
|
@@ -1232,15 +1232,15 @@ const Co = (t) => {
|
|
|
1232
1232
|
close: St(y || G)
|
|
1233
1233
|
},
|
|
1234
1234
|
enabled: $,
|
|
1235
|
-
handleClose: Y ? null :
|
|
1236
|
-
}), Wa =
|
|
1235
|
+
handleClose: Y ? null : j_()
|
|
1236
|
+
}), Wa = Q_(V), Va = ga(V, S), Ka = fa(V, { role: "tooltip" }), Ya = pa(V, k({
|
|
1237
1237
|
enabled: E
|
|
1238
1238
|
}, M)), { isMounted: qa, styles: Za } = kr(V, {
|
|
1239
1239
|
duration: {
|
|
1240
1240
|
open: ht(f),
|
|
1241
1241
|
close: ht(b)
|
|
1242
1242
|
}
|
|
1243
|
-
}), { status: Xa } =
|
|
1243
|
+
}), { status: Xa } = eo(V), { getReferenceProps: Ja, getFloatingProps: ja } = ba([
|
|
1244
1244
|
qe,
|
|
1245
1245
|
Wa,
|
|
1246
1246
|
Va,
|
|
@@ -1270,20 +1270,20 @@ const Co = (t) => {
|
|
|
1270
1270
|
}),
|
|
1271
1271
|
/* @__PURE__ */ e.createElement(B, { as: "div", className: A[`${ya}__content`] }, t),
|
|
1272
1272
|
/* @__PURE__ */ e.createElement(
|
|
1273
|
-
|
|
1273
|
+
to,
|
|
1274
1274
|
k({
|
|
1275
1275
|
ref: Ke,
|
|
1276
1276
|
context: V,
|
|
1277
1277
|
strokeWidth: 1,
|
|
1278
1278
|
width: 10,
|
|
1279
1279
|
height: 5,
|
|
1280
|
-
style: k({},
|
|
1280
|
+
style: k({}, Co(
|
|
1281
1281
|
I,
|
|
1282
1282
|
O,
|
|
1283
1283
|
Ye,
|
|
1284
|
-
|
|
1284
|
+
ue
|
|
1285
1285
|
))
|
|
1286
|
-
},
|
|
1286
|
+
}, $o(Ne))
|
|
1287
1287
|
)
|
|
1288
1288
|
)));
|
|
1289
1289
|
return $t === null ? /* @__PURE__ */ e.createElement(Ha, null, Gt) : Gt;
|
|
@@ -1302,7 +1302,7 @@ const Co = (t) => {
|
|
|
1302
1302
|
className: A[`${Wt}-close`],
|
|
1303
1303
|
onClick: l
|
|
1304
1304
|
},
|
|
1305
|
-
/* @__PURE__ */ e.createElement(x, { source: Ie, kind: o ?
|
|
1305
|
+
/* @__PURE__ */ e.createElement(x, { source: Ie, kind: o ? m_(o) : "primary" })
|
|
1306
1306
|
), a && /* @__PURE__ */ e.createElement(
|
|
1307
1307
|
ne,
|
|
1308
1308
|
{
|
|
@@ -1342,7 +1342,7 @@ const Co = (t) => {
|
|
|
1342
1342
|
className: A[`${Ze}-close`],
|
|
1343
1343
|
onClick: l
|
|
1344
1344
|
},
|
|
1345
|
-
/* @__PURE__ */ e.createElement(x, { source: Ie, kind: o ?
|
|
1345
|
+
/* @__PURE__ */ e.createElement(x, { source: Ie, kind: o ? m_(o) : "primary" })
|
|
1346
1346
|
), r && /* @__PURE__ */ e.createElement("div", { className: A[`${Ze}-image-container`] }, /* @__PURE__ */ e.createElement(
|
|
1347
1347
|
"img",
|
|
1348
1348
|
{
|
|
@@ -1379,7 +1379,7 @@ const Co = (t) => {
|
|
|
1379
1379
|
c.label
|
|
1380
1380
|
)
|
|
1381
1381
|
));
|
|
1382
|
-
}, ce = "guide-tooltip",
|
|
1382
|
+
}, ce = "guide-tooltip", Io = ({
|
|
1383
1383
|
gap: t,
|
|
1384
1384
|
isVisible: a,
|
|
1385
1385
|
slide: r,
|
|
@@ -1466,7 +1466,7 @@ const Co = (t) => {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
));
|
|
1468
1468
|
};
|
|
1469
|
-
class
|
|
1469
|
+
class To {
|
|
1470
1470
|
constructor(a, r) {
|
|
1471
1471
|
er(this, "element");
|
|
1472
1472
|
er(this, "padding");
|
|
@@ -1495,7 +1495,7 @@ class Io {
|
|
|
1495
1495
|
return this.getBoundingClientRect().height;
|
|
1496
1496
|
}
|
|
1497
1497
|
}
|
|
1498
|
-
const
|
|
1498
|
+
const Mr = 8, Lr = "guide-tooltip", Or = (t, a) => new To(t, a), Xc = (t) => {
|
|
1499
1499
|
const {
|
|
1500
1500
|
className: a,
|
|
1501
1501
|
parentElementName: r,
|
|
@@ -1505,9 +1505,9 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1505
1505
|
null
|
|
1506
1506
|
), [c, d] = e.useState(null), [i, s] = e.useState(o), p = () => {
|
|
1507
1507
|
l && (d(
|
|
1508
|
-
|
|
1508
|
+
Or(
|
|
1509
1509
|
l,
|
|
1510
|
-
|
|
1510
|
+
Mr
|
|
1511
1511
|
).getBoundingClientRect()
|
|
1512
1512
|
), s(!1));
|
|
1513
1513
|
};
|
|
@@ -1523,13 +1523,13 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1523
1523
|
}
|
|
1524
1524
|
}, [r]), e.useEffect(() => {
|
|
1525
1525
|
l && d(
|
|
1526
|
-
|
|
1526
|
+
Or(
|
|
1527
1527
|
l,
|
|
1528
|
-
|
|
1528
|
+
Mr
|
|
1529
1529
|
).getBoundingClientRect()
|
|
1530
1530
|
), s(!0);
|
|
1531
|
-
}, [l]), l && _ && c ? /* @__PURE__ */ e.createElement(
|
|
1532
|
-
|
|
1531
|
+
}, [l]), l && _ && c ? /* @__PURE__ */ e.createElement(l_, null, /* @__PURE__ */ e.createElement(
|
|
1532
|
+
Io,
|
|
1533
1533
|
{
|
|
1534
1534
|
gap: c,
|
|
1535
1535
|
isVisible: _,
|
|
@@ -1545,8 +1545,8 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1545
1545
|
contextElement: l
|
|
1546
1546
|
},
|
|
1547
1547
|
className: u({
|
|
1548
|
-
[A[
|
|
1549
|
-
[A[`${
|
|
1548
|
+
[A[Lr]]: !0,
|
|
1549
|
+
[A[`${Lr}--slide`]]: i,
|
|
1550
1550
|
className: a
|
|
1551
1551
|
})
|
|
1552
1552
|
}),
|
|
@@ -1590,7 +1590,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1590
1590
|
"action-bar__items--with-menu": "lc-ActionBar-module__action-bar__items--with-menu___F6phI",
|
|
1591
1591
|
"action-bar__items__button": "lc-ActionBar-module__action-bar__items__button___Vdjl7",
|
|
1592
1592
|
"action-bar__items__button--active": "lc-ActionBar-module__action-bar__items__button--active___PFLdm"
|
|
1593
|
-
},
|
|
1593
|
+
}, p_ = "action-bar__items", Bt = `${p_}__button-wrapper`, Do = ({
|
|
1594
1594
|
option: t,
|
|
1595
1595
|
isActive: a,
|
|
1596
1596
|
vertical: r
|
|
@@ -1625,7 +1625,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1625
1625
|
{
|
|
1626
1626
|
kind: "invert",
|
|
1627
1627
|
placement: r ? "left" : "bottom",
|
|
1628
|
-
triggerClassName: q[`${
|
|
1628
|
+
triggerClassName: q[`${p_}__tooltip`],
|
|
1629
1629
|
triggerRenderer: () => o,
|
|
1630
1630
|
floatingStrategy: "fixed",
|
|
1631
1631
|
useClickHookProps: {
|
|
@@ -1637,7 +1637,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (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",
|
|
1640
|
+
}, wa = "action-bar", Xe = "action-bar__menu-wrapper", Po = 44, jc = ({
|
|
1641
1641
|
className: t,
|
|
1642
1642
|
id: a = "action-bar-area",
|
|
1643
1643
|
type: r = "menu",
|
|
@@ -1660,7 +1660,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1660
1660
|
if (!f && E) {
|
|
1661
1661
|
const $ = new ResizeObserver((w) => {
|
|
1662
1662
|
const { width: C, height: g } = w[0].contentRect, N = l ? g : C, S = i.length > 0 ? 60 : 0, M = Math.floor(
|
|
1663
|
-
(N - S) /
|
|
1663
|
+
(N - S) / Po
|
|
1664
1664
|
);
|
|
1665
1665
|
M >= 0 && M !== c && d(M);
|
|
1666
1666
|
});
|
|
@@ -1672,7 +1672,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1672
1672
|
if (!$.hideInMenu) {
|
|
1673
1673
|
const w = {
|
|
1674
1674
|
key: $.key,
|
|
1675
|
-
element: /* @__PURE__ */ e.createElement(
|
|
1675
|
+
element: /* @__PURE__ */ e.createElement(go, { leftNode: $.element }, $.label),
|
|
1676
1676
|
withDivider: $.withDivider,
|
|
1677
1677
|
onClick: $.onClick
|
|
1678
1678
|
};
|
|
@@ -1690,7 +1690,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1690
1690
|
})
|
|
1691
1691
|
},
|
|
1692
1692
|
_.slice(0, c).map((E) => /* @__PURE__ */ e.createElement(
|
|
1693
|
-
|
|
1693
|
+
Do,
|
|
1694
1694
|
{
|
|
1695
1695
|
option: E,
|
|
1696
1696
|
isActive: E.key === o,
|
|
@@ -1707,7 +1707,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1707
1707
|
)
|
|
1708
1708
|
},
|
|
1709
1709
|
/* @__PURE__ */ e.createElement(
|
|
1710
|
-
|
|
1710
|
+
po,
|
|
1711
1711
|
{
|
|
1712
1712
|
selectedOptions: o ? [o] : [],
|
|
1713
1713
|
onOpen: () => m(!0),
|
|
@@ -1807,14 +1807,14 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1807
1807
|
r
|
|
1808
1808
|
)
|
|
1809
1809
|
));
|
|
1810
|
-
},
|
|
1811
|
-
alert:
|
|
1812
|
-
alert__icon:
|
|
1813
|
-
alert__content:
|
|
1814
|
-
alert__content__wrapper:
|
|
1815
|
-
alert__content__wrapper__text:
|
|
1816
|
-
alert__content__wrapper__cta:
|
|
1817
|
-
alert__content__wrapper__cta__link:
|
|
1810
|
+
}, Ao = "lc-Alert-module__alert___HBTns", Fo = "lc-Alert-module__alert__icon___8TaAH", Ro = "lc-Alert-module__alert__content___9nZdf", Mo = "lc-Alert-module__alert__content__wrapper___aLBkP", Lo = "lc-Alert-module__alert__content__wrapper__text___HDMbR", Oo = "lc-Alert-module__alert__content__wrapper__cta___9L-oE", Go = "lc-Alert-module__alert__content__wrapper__cta__link___D9Igz", Se = {
|
|
1811
|
+
alert: Ao,
|
|
1812
|
+
alert__icon: Fo,
|
|
1813
|
+
alert__content: Ro,
|
|
1814
|
+
alert__content__wrapper: Mo,
|
|
1815
|
+
alert__content__wrapper__text: Lo,
|
|
1816
|
+
alert__content__wrapper__cta: Oo,
|
|
1817
|
+
alert__content__wrapper__cta__link: Go,
|
|
1818
1818
|
"alert__close-icon": "lc-Alert-module__alert__close-icon___rYxVy",
|
|
1819
1819
|
"alert--small": "lc-Alert-module__alert--small___Fyk-v",
|
|
1820
1820
|
"alert--medium": "lc-Alert-module__alert--medium___ItZWT",
|
|
@@ -1823,13 +1823,13 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1823
1823
|
"alert--warning": "lc-Alert-module__alert--warning___MubhD",
|
|
1824
1824
|
"alert--success": "lc-Alert-module__alert--success___fPtlZ",
|
|
1825
1825
|
"alert--error": "lc-Alert-module__alert--error___DKPo0"
|
|
1826
|
-
},
|
|
1826
|
+
}, Uo = {
|
|
1827
1827
|
info: {
|
|
1828
1828
|
source: ca,
|
|
1829
1829
|
kind: "link"
|
|
1830
1830
|
},
|
|
1831
1831
|
warning: {
|
|
1832
|
-
source:
|
|
1832
|
+
source: r_,
|
|
1833
1833
|
kind: "warning"
|
|
1834
1834
|
},
|
|
1835
1835
|
success: {
|
|
@@ -1837,7 +1837,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1837
1837
|
kind: "success"
|
|
1838
1838
|
},
|
|
1839
1839
|
error: {
|
|
1840
|
-
source:
|
|
1840
|
+
source: __,
|
|
1841
1841
|
kind: "error"
|
|
1842
1842
|
}
|
|
1843
1843
|
}, xe = "alert", ei = (c) => {
|
|
@@ -1865,13 +1865,13 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1865
1865
|
a
|
|
1866
1866
|
);
|
|
1867
1867
|
return e.useEffect(() => {
|
|
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 =
|
|
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 = c_(() => {
|
|
1869
1869
|
f();
|
|
1870
1870
|
}, 500);
|
|
1871
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
|
-
T(k({},
|
|
1874
|
+
T(k({}, Uo[o]), {
|
|
1875
1875
|
size: "large",
|
|
1876
1876
|
className: Se[`${xe}__icon`]
|
|
1877
1877
|
})
|
|
@@ -1942,7 +1942,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1942
1942
|
"app-frame__page-content-container__content-wrapper__nav-bar-wrapper": "lc-AppFrame-module__app-frame__page-content-container__content-wrapper__nav-bar-wrapper___pRQpx",
|
|
1943
1943
|
"app-frame__page-content-container__content-wrapper__nav-bar-wrapper--open": "lc-AppFrame-module__app-frame__page-content-container__content-wrapper__nav-bar-wrapper--open___VvUQT",
|
|
1944
1944
|
"app-frame__page-content-container__content-wrapper__content": "lc-AppFrame-module__app-frame__page-content-container__content-wrapper__content___e7Eeh"
|
|
1945
|
-
},
|
|
1945
|
+
}, g_ = "app-frame", nt = `${g_}__page-content-container`, Ho = (t) => {
|
|
1946
1946
|
const {
|
|
1947
1947
|
children: a,
|
|
1948
1948
|
className: r,
|
|
@@ -1952,7 +1952,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
1952
1952
|
topBarClassName: n,
|
|
1953
1953
|
sideNavigationContainerClassName: c,
|
|
1954
1954
|
contentClassName: d
|
|
1955
|
-
} = t, i = u(Je[
|
|
1955
|
+
} = t, i = u(Je[g_], r), { isSideNavigationVisible: s } = co(), p = e.useRef(null), { isOpen: m, isMounted: f } = $r({
|
|
1956
1956
|
isVisible: s,
|
|
1957
1957
|
elementRef: p
|
|
1958
1958
|
});
|
|
@@ -2002,7 +2002,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
2002
2002
|
a
|
|
2003
2003
|
)
|
|
2004
2004
|
)));
|
|
2005
|
-
}, ti = (t) => /* @__PURE__ */ e.createElement(
|
|
2005
|
+
}, ti = (t) => /* @__PURE__ */ e.createElement(io, null, /* @__PURE__ */ e.createElement(Ho, 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",
|
|
@@ -2040,7 +2040,7 @@ const Rr = 8, Mr = "guide-tooltip", Lr = (t, a) => new Io(t, a), Xc = (t) => {
|
|
|
2040
2040
|
};
|
|
2041
2041
|
function Fa() {
|
|
2042
2042
|
}
|
|
2043
|
-
const
|
|
2043
|
+
const zo = "side-navigation-item-test-id", Wo = "side-navigation-active-item-test-id", Vo = "side-navigation-parent-icon", Te = {
|
|
2044
2044
|
"side-navigation-item": "lc-SideNavigationItem-module__side-navigation-item___MsJTw",
|
|
2045
2045
|
"side-navigation-item__anchor": "lc-SideNavigationItem-module__side-navigation-item__anchor___zeXS-",
|
|
2046
2046
|
"side-navigation-item__custom-label": "lc-SideNavigationItem-module__side-navigation-item__custom-label___vOtD-",
|
|
@@ -2052,7 +2052,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2052
2052
|
"side-navigation-item__label": "lc-SideNavigationItem-module__side-navigation-item__label___8xcMR",
|
|
2053
2053
|
"side-navigation-item__label--active": "lc-SideNavigationItem-module__side-navigation-item__label--active___lHzUo",
|
|
2054
2054
|
"side-navigation-item__custom-label--active": "lc-SideNavigationItem-module__side-navigation-item__custom-label--active___js4w6"
|
|
2055
|
-
}, De = "side-navigation-item",
|
|
2055
|
+
}, De = "side-navigation-item", Ko = (m) => {
|
|
2056
2056
|
var f = m, {
|
|
2057
2057
|
leftNode: t,
|
|
2058
2058
|
shouldKeepIconSpace: a = !0,
|
|
@@ -2087,7 +2087,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2087
2087
|
"li",
|
|
2088
2088
|
k({
|
|
2089
2089
|
className: u([Te[De], o]),
|
|
2090
|
-
"data-testid": c ?
|
|
2090
|
+
"data-testid": c ? Wo : zo,
|
|
2091
2091
|
"data-active": c
|
|
2092
2092
|
}, p),
|
|
2093
2093
|
/* @__PURE__ */ e.createElement(
|
|
@@ -2111,7 +2111,7 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2111
2111
|
className: u(Te[`${De}__left-node`], {
|
|
2112
2112
|
[Te[`${De}__left-node--active`]]: c || d
|
|
2113
2113
|
}),
|
|
2114
|
-
"data-testid":
|
|
2114
|
+
"data-testid": Vo
|
|
2115
2115
|
},
|
|
2116
2116
|
t
|
|
2117
2117
|
),
|
|
@@ -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",
|
|
2148
|
+
}, it = "side-navigation-group", Yo = 34, ri = ({
|
|
2149
2149
|
label: t,
|
|
2150
2150
|
rightNode: a,
|
|
2151
2151
|
className: r,
|
|
@@ -2165,13 +2165,13 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2165
2165
|
(G) => G.getAttribute("data-active") === "true"
|
|
2166
2166
|
) : !1;
|
|
2167
2167
|
i(S);
|
|
2168
|
-
const M = ((N == null ? void 0 : N.length) || 0) *
|
|
2168
|
+
const M = ((N == null ? void 0 : N.length) || 0) * Yo;
|
|
2169
2169
|
p(M);
|
|
2170
2170
|
};
|
|
2171
2171
|
return e.useEffect(() => {
|
|
2172
2172
|
c && (!m.current && d && $(), m.current = d);
|
|
2173
2173
|
}, [d, c]), /* @__PURE__ */ e.createElement("div", { "data-testid": "side-navigation-group", className: ct[it] }, o ? /* @__PURE__ */ e.createElement(
|
|
2174
|
-
|
|
2174
|
+
Ko,
|
|
2175
2175
|
{
|
|
2176
2176
|
leftNode: /* @__PURE__ */ e.createElement(
|
|
2177
2177
|
"div",
|
|
@@ -2217,10 +2217,10 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2217
2217
|
_
|
|
2218
2218
|
)
|
|
2219
2219
|
));
|
|
2220
|
-
},
|
|
2220
|
+
}, Gr = {
|
|
2221
2221
|
"navigation-group": "lc-NavigationGroup-module__navigation-group___CxK9Y",
|
|
2222
2222
|
"navigation-group--scrollable": "lc-NavigationGroup-module__navigation-group--scrollable___lVA6K"
|
|
2223
|
-
},
|
|
2223
|
+
}, Ur = "navigation-group", _i = (o) => {
|
|
2224
2224
|
var l = o, {
|
|
2225
2225
|
children: t,
|
|
2226
2226
|
className: a,
|
|
@@ -2234,9 +2234,9 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2234
2234
|
"ul",
|
|
2235
2235
|
k({
|
|
2236
2236
|
className: u(
|
|
2237
|
-
|
|
2237
|
+
Gr[Ur],
|
|
2238
2238
|
{
|
|
2239
|
-
[
|
|
2239
|
+
[Gr[`${Ur}--scrollable`]]: r
|
|
2240
2240
|
},
|
|
2241
2241
|
a
|
|
2242
2242
|
)
|
|
@@ -2244,12 +2244,12 @@ const Ho = "side-navigation-item-test-id", zo = "side-navigation-active-item-tes
|
|
|
2244
2244
|
t
|
|
2245
2245
|
);
|
|
2246
2246
|
};
|
|
2247
|
-
function
|
|
2247
|
+
function qo(t, a) {
|
|
2248
2248
|
return t > a ? `${a}+` : `${t}`;
|
|
2249
2249
|
}
|
|
2250
|
-
const
|
|
2251
|
-
badge:
|
|
2252
|
-
badge__dot:
|
|
2250
|
+
const Zo = "lc-Badge-module__badge___GhLnu", Xo = "lc-Badge-module__badge__dot___z6RO6", Ca = {
|
|
2251
|
+
badge: Zo,
|
|
2252
|
+
badge__dot: Xo,
|
|
2253
2253
|
"badge--large": "lc-Badge-module__badge--large___B131q",
|
|
2254
2254
|
"badge--medium": "lc-Badge-module__badge--medium___TDU8a",
|
|
2255
2255
|
"badge--compact": "lc-Badge-module__badge--compact___9xJ4y",
|
|
@@ -2278,7 +2278,7 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2278
2278
|
Ca[`${$a}--${_}`],
|
|
2279
2279
|
Ca[`${$a}--${o}`]
|
|
2280
2280
|
), s = {
|
|
2281
|
-
counter:
|
|
2281
|
+
counter: qo(a, r),
|
|
2282
2282
|
alert: "!",
|
|
2283
2283
|
dot: /* @__PURE__ */ e.createElement("span", { "data-testid": "badge-dot", className: Ca[`${$a}__dot`] })
|
|
2284
2284
|
}[l];
|
|
@@ -2291,7 +2291,7 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2291
2291
|
"navigation-item__button--disabled": "lc-NavigationItem-module__navigation-item__button--disabled___BRd-i",
|
|
2292
2292
|
"navigation-item__button--active": "lc-NavigationItem-module__navigation-item__button--active___NiA3H",
|
|
2293
2293
|
"navigation-item__button--opacity": "lc-NavigationItem-module__navigation-item__button--opacity___sgLDT"
|
|
2294
|
-
}, gt = "navigation-item",
|
|
2294
|
+
}, gt = "navigation-item", Jo = (t, a) => typeof t == "number" ? /* @__PURE__ */ e.createElement(
|
|
2295
2295
|
Ra,
|
|
2296
2296
|
{
|
|
2297
2297
|
"data-testid": `${a}-badge-count`,
|
|
@@ -2375,14 +2375,14 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2375
2375
|
href: _
|
|
2376
2376
|
}, s),
|
|
2377
2377
|
r
|
|
2378
|
-
), n &&
|
|
2378
|
+
), n && Jo(n, t))
|
|
2379
2379
|
},
|
|
2380
2380
|
a
|
|
2381
2381
|
)
|
|
2382
2382
|
);
|
|
2383
|
-
},
|
|
2384
|
-
navigation:
|
|
2385
|
-
},
|
|
2383
|
+
}, jo = "lc-Navigation-module__navigation___x9vC9", Qo = {
|
|
2384
|
+
navigation: jo
|
|
2385
|
+
}, el = "navigation", li = (_) => {
|
|
2386
2386
|
var o = _, {
|
|
2387
2387
|
children: t,
|
|
2388
2388
|
className: a
|
|
@@ -2390,7 +2390,7 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2390
2390
|
"children",
|
|
2391
2391
|
"className"
|
|
2392
2392
|
]);
|
|
2393
|
-
return /* @__PURE__ */ e.createElement("nav", k({ className: u(
|
|
2393
|
+
return /* @__PURE__ */ e.createElement("nav", k({ className: u(Qo[el], a) }, r), t);
|
|
2394
2394
|
}, Ve = {
|
|
2395
2395
|
"navigation-top-bar": "lc-NavigationTopBar-module__navigation-top-bar___y5sPE",
|
|
2396
2396
|
"navigation-top-bar__title": "lc-NavigationTopBar-module__navigation-top-bar__title___GQaye",
|
|
@@ -2405,11 +2405,11 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2405
2405
|
"navigation-top-bar__alert__children-wrapper": "lc-NavigationTopBar-module__navigation-top-bar__alert__children-wrapper___KJ7Y-",
|
|
2406
2406
|
"navigation-top-bar__alert__close-button": "lc-NavigationTopBar-module__navigation-top-bar__alert__close-button___y7ep7",
|
|
2407
2407
|
"navigation-top-bar__alert__cta-wrapper": "lc-NavigationTopBar-module__navigation-top-bar__alert__cta-wrapper___nA7ir"
|
|
2408
|
-
}, Nr = "navigation-top-bar", st = `${Nr}__alert`,
|
|
2408
|
+
}, Nr = "navigation-top-bar", st = `${Nr}__alert`, f_ = ({
|
|
2409
2409
|
children: t,
|
|
2410
2410
|
className: a,
|
|
2411
2411
|
additionalNodes: r
|
|
2412
|
-
}) => /* @__PURE__ */ e.createElement("div", { className: u(Ve[Nr], a) }, t, r),
|
|
2412
|
+
}) => /* @__PURE__ */ e.createElement("div", { className: u(Ve[Nr], a) }, t, r), tl = ({
|
|
2413
2413
|
children: t,
|
|
2414
2414
|
className: a,
|
|
2415
2415
|
"data-testid": r
|
|
@@ -2420,7 +2420,7 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2420
2420
|
"data-testid": r
|
|
2421
2421
|
},
|
|
2422
2422
|
t
|
|
2423
|
-
),
|
|
2423
|
+
), al = ({
|
|
2424
2424
|
className: t,
|
|
2425
2425
|
kind: a = "info",
|
|
2426
2426
|
closeButton: r,
|
|
@@ -2477,19 +2477,19 @@ const qo = "lc-Badge-module__badge___GhLnu", Zo = "lc-Badge-module__badge__dot__
|
|
|
2477
2477
|
)
|
|
2478
2478
|
));
|
|
2479
2479
|
};
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
const
|
|
2480
|
+
f_.Alert = al;
|
|
2481
|
+
f_.Title = tl;
|
|
2482
|
+
const Hr = Array.from(
|
|
2483
2483
|
{ length: 10 },
|
|
2484
2484
|
(t, a) => `--surface-avatar-${a + 1}`
|
|
2485
2485
|
);
|
|
2486
|
-
function
|
|
2486
|
+
function rl(t) {
|
|
2487
2487
|
if (!t)
|
|
2488
2488
|
return;
|
|
2489
2489
|
const a = t.split("").reduce((r, _) => r + _.charCodeAt(0), 0);
|
|
2490
|
-
return `var(${
|
|
2490
|
+
return `var(${Hr[a % Hr.length]})`;
|
|
2491
2491
|
}
|
|
2492
|
-
function
|
|
2492
|
+
function _l(t = "", a = 2) {
|
|
2493
2493
|
const r = t.trim().split(/\s+/), _ = r.map((l) => [...l][0]);
|
|
2494
2494
|
if (a < 1)
|
|
2495
2495
|
return "";
|
|
@@ -2500,7 +2500,7 @@ function rl(t = "", a = 2) {
|
|
|
2500
2500
|
o.push(_[l]);
|
|
2501
2501
|
return o.join("").toUpperCase();
|
|
2502
2502
|
}
|
|
2503
|
-
function
|
|
2503
|
+
function ol(t) {
|
|
2504
2504
|
let a = t;
|
|
2505
2505
|
if (t.startsWith("var(--") && t.endsWith(")")) {
|
|
2506
2506
|
const r = t.slice(4, -1);
|
|
@@ -2508,9 +2508,9 @@ function _l(t) {
|
|
|
2508
2508
|
}
|
|
2509
2509
|
return a && yr(a, "#FFFFFF") > 3 ? "var(--color-white)" : "var(--color-black)";
|
|
2510
2510
|
}
|
|
2511
|
-
const
|
|
2512
|
-
avatar:
|
|
2513
|
-
avatar__status:
|
|
2511
|
+
const ll = "lc-Avatar-module__avatar___1zTCE", nl = "lc-Avatar-module__avatar__status___nX2Ls", cl = "lc-Avatar-module__avatar__rim___RCQ8Q", il = "lc-Avatar-module__avatar__image___YqfqE", Ee = {
|
|
2512
|
+
avatar: ll,
|
|
2513
|
+
avatar__status: nl,
|
|
2514
2514
|
"avatar__status--available": "lc-Avatar-module__avatar__status--available___tcpFg",
|
|
2515
2515
|
"avatar__status--unavailable": "lc-Avatar-module__avatar__status--unavailable___ciauF",
|
|
2516
2516
|
"avatar__status--unknown": "lc-Avatar-module__avatar__status--unknown___MBaGB",
|
|
@@ -2525,7 +2525,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2525
2525
|
"avatar__status--xxlarge": "lc-Avatar-module__avatar__status--xxlarge___crG9D",
|
|
2526
2526
|
"avatar__status--xxxlarge": "lc-Avatar-module__avatar__status--xxxlarge___Iv61X",
|
|
2527
2527
|
"avatar__status--rounded-square": "lc-Avatar-module__avatar__status--rounded-square___-My1P",
|
|
2528
|
-
avatar__rim:
|
|
2528
|
+
avatar__rim: cl,
|
|
2529
2529
|
"avatar__rim--xxxsmall": "lc-Avatar-module__avatar__rim--xxxsmall___0CH9D",
|
|
2530
2530
|
"avatar__rim--xxsmall": "lc-Avatar-module__avatar__rim--xxsmall___Mde0K",
|
|
2531
2531
|
"avatar__rim--xsmall": "lc-Avatar-module__avatar__rim--xsmall___LAN-b",
|
|
@@ -2535,7 +2535,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2535
2535
|
"avatar__rim--xlarge": "lc-Avatar-module__avatar__rim--xlarge___CY0kN",
|
|
2536
2536
|
"avatar__rim--xxlarge": "lc-Avatar-module__avatar__rim--xxlarge___tE053",
|
|
2537
2537
|
"avatar__rim--xxxlarge": "lc-Avatar-module__avatar__rim--xxxlarge___amlGP",
|
|
2538
|
-
avatar__image:
|
|
2538
|
+
avatar__image: il,
|
|
2539
2539
|
"avatar__icon--xxxsmall": "lc-Avatar-module__avatar__icon--xxxsmall___KaoMa",
|
|
2540
2540
|
"avatar__icon--xxsmall": "lc-Avatar-module__avatar__icon--xxsmall___NJJNV",
|
|
2541
2541
|
"avatar__icon--xsmall": "lc-Avatar-module__avatar__icon--xsmall___yHEZK",
|
|
@@ -2556,7 +2556,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2556
2556
|
"avatar--xlarge": "lc-Avatar-module__avatar--xlarge___zwgeW",
|
|
2557
2557
|
"avatar--xxlarge": "lc-Avatar-module__avatar--xxlarge___Ur0ul",
|
|
2558
2558
|
"avatar--xxxlarge": "lc-Avatar-module__avatar--xxxlarge___Z-54U"
|
|
2559
|
-
}, _e = "avatar",
|
|
2559
|
+
}, _e = "avatar", sl = (p) => {
|
|
2560
2560
|
var m = p, {
|
|
2561
2561
|
alt: t,
|
|
2562
2562
|
className: a,
|
|
@@ -2580,22 +2580,22 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2580
2580
|
"type",
|
|
2581
2581
|
"withRim"
|
|
2582
2582
|
]);
|
|
2583
|
-
const f = d === "image" && !l, [b, v] = e.useState(f), h = d === "image" && !!l && !b, y = d === "text", E = ["xxxsmall", "xxsmall", "xsmall"].includes(o) ? 1 : 2, $ =
|
|
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, $ = _l(c, E), w = ["xxxsmall", "xxsmall", "xsmall", "small"].includes(o), C = r || rl(c), g = C ? ol(C) : void 0, N = y ? { backgroundColor: C } : {}, S = u(k({
|
|
2584
|
+
[Ee[_e]]: !0,
|
|
2585
|
+
[Ee[`${_e}--${_}`]]: !0,
|
|
2586
|
+
[Ee[`${_e}--${o}`]]: !0,
|
|
2587
|
+
[Ee[`${_e}--with-rim`]]: i
|
|
2588
2588
|
}, a ? { [`${a}`]: a } : {})), M = u(
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
...n ? [
|
|
2589
|
+
Ee[`${_e}__status`],
|
|
2590
|
+
Ee[`${_e}__status--${_}`],
|
|
2591
|
+
Ee[`${_e}__status--${o}`],
|
|
2592
|
+
...n ? [Ee[`${_e}__status--${n}`]] : []
|
|
2593
2593
|
), G = u(
|
|
2594
|
-
|
|
2595
|
-
|
|
2594
|
+
Ee[`${_e}__icon`],
|
|
2595
|
+
Ee[`${_e}__icon--${o}`]
|
|
2596
2596
|
), I = u(
|
|
2597
|
-
|
|
2598
|
-
|
|
2597
|
+
Ee[`${_e}__rim`],
|
|
2598
|
+
Ee[`${_e}__rim--${o}`]
|
|
2599
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
2601
|
v(f);
|
|
@@ -2614,7 +2614,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2614
2614
|
), h && /* @__PURE__ */ e.createElement(
|
|
2615
2615
|
"img",
|
|
2616
2616
|
{
|
|
2617
|
-
className:
|
|
2617
|
+
className: Ee[`${_e}__image`],
|
|
2618
2618
|
src: l,
|
|
2619
2619
|
alt: t,
|
|
2620
2620
|
onError: Y
|
|
@@ -2634,17 +2634,17 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2634
2634
|
{
|
|
2635
2635
|
"data-testid": `${_e}__icon`,
|
|
2636
2636
|
className: G,
|
|
2637
|
-
source:
|
|
2637
|
+
source: D_
|
|
2638
2638
|
}
|
|
2639
2639
|
));
|
|
2640
|
-
},
|
|
2640
|
+
}, dl = "lc-SegmentedControl-module__btn___tfsvL", Na = {
|
|
2641
2641
|
"segmented-control": "lc-SegmentedControl-module__segmented-control___LHWSk",
|
|
2642
|
-
btn:
|
|
2642
|
+
btn: dl,
|
|
2643
2643
|
"btn--active": "lc-SegmentedControl-module__btn--active___Za-th",
|
|
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
|
-
},
|
|
2647
|
+
}, ul = "segmented-control", ni = ({
|
|
2648
2648
|
size: t = "medium",
|
|
2649
2649
|
buttons: a,
|
|
2650
2650
|
className: r,
|
|
@@ -2653,7 +2653,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2653
2653
|
fullWidth: l = !1,
|
|
2654
2654
|
onButtonClick: n = Fa
|
|
2655
2655
|
}) => {
|
|
2656
|
-
const c = u(Na[
|
|
2656
|
+
const c = u(Na[ul], r), [d, i] = e.useState(() => _), s = typeof o == "string";
|
|
2657
2657
|
e.useEffect(() => {
|
|
2658
2658
|
s && i(o);
|
|
2659
2659
|
}, [o]);
|
|
@@ -2680,21 +2680,21 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2680
2680
|
);
|
|
2681
2681
|
});
|
|
2682
2682
|
return /* @__PURE__ */ e.createElement("div", { role: "group", className: c }, m);
|
|
2683
|
-
},
|
|
2684
|
-
card:
|
|
2685
|
-
card__header:
|
|
2686
|
-
card__header__image:
|
|
2687
|
-
card__header__heading:
|
|
2688
|
-
card__header__heading__title:
|
|
2689
|
-
card__header__heading__description:
|
|
2683
|
+
}, ml = "lc-Card-module__card___GqMm2", pl = "lc-Card-module__card__header___0ptfD", gl = "lc-Card-module__card__header__image___QMwSu", fl = "lc-Card-module__card__header__heading___Wkikx", bl = "lc-Card-module__card__header__heading__title___Uxi8s", hl = "lc-Card-module__card__header__heading__description___6LnOK", vl = "lc-Card-module__card__content___KuDcc", kl = "lc-Card-module__card__actions___q9sAo", El = "lc-Card-module__card__actions__line___TF1bt", yl = "lc-Card-module__card__actions__buttons___PDMMR", ye = {
|
|
2684
|
+
card: ml,
|
|
2685
|
+
card__header: pl,
|
|
2686
|
+
card__header__image: gl,
|
|
2687
|
+
card__header__heading: fl,
|
|
2688
|
+
card__header__heading__title: bl,
|
|
2689
|
+
card__header__heading__description: hl,
|
|
2690
2690
|
"card__header__no-image": "lc-Card-module__card__header__no-image___UcnNY",
|
|
2691
|
-
card__content:
|
|
2691
|
+
card__content: vl,
|
|
2692
2692
|
"card__expanded-content": "lc-Card-module__card__expanded-content___yB-QL",
|
|
2693
|
-
card__actions:
|
|
2694
|
-
card__actions__line:
|
|
2695
|
-
card__actions__buttons:
|
|
2693
|
+
card__actions: kl,
|
|
2694
|
+
card__actions__line: El,
|
|
2695
|
+
card__actions__buttons: yl,
|
|
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`,
|
|
2697
|
+
}, na = "card", Ma = `${na}__header`, tr = `${Ma}__heading`, Sa = `${na}__actions`, wl = `${Ma}__no-image`, ci = (i) => {
|
|
2698
2698
|
var s = i, {
|
|
2699
2699
|
alt: t,
|
|
2700
2700
|
buttonsOptions: a = [],
|
|
@@ -2714,30 +2714,30 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2714
2714
|
"src",
|
|
2715
2715
|
"title"
|
|
2716
2716
|
]);
|
|
2717
|
-
const [p, m] = e.useState(!1), f = p ? Oa : Ot, b = p ? "Hide" : "Show more", v = (a == null ? void 0 : a.length) > 0, h = !!l, y = v || h, E = c, $ = n, w = $ ? "" :
|
|
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 = $ ? "" : ye[wl];
|
|
2718
|
+
return /* @__PURE__ */ e.createElement("div", k({ className: u(ye[na], _) }, d), E && /* @__PURE__ */ e.createElement("div", { className: u(ye[Ma], w) }, $ && /* @__PURE__ */ e.createElement(
|
|
2719
2719
|
"img",
|
|
2720
2720
|
{
|
|
2721
2721
|
alt: t,
|
|
2722
|
-
className:
|
|
2722
|
+
className: ye[`${Ma}__image`],
|
|
2723
2723
|
src: n
|
|
2724
2724
|
}
|
|
2725
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
2725
|
+
), /* @__PURE__ */ e.createElement("div", { className: ye[tr] }, /* @__PURE__ */ e.createElement(ne, { size: "xs", className: ye[`${tr}__title`] }, c), o && /* @__PURE__ */ e.createElement(
|
|
2726
2726
|
B,
|
|
2727
2727
|
{
|
|
2728
2728
|
size: "sm",
|
|
2729
|
-
className:
|
|
2729
|
+
className: ye[`${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: ye[`${na}__content`] }, r), p && /* @__PURE__ */ e.createElement(
|
|
2733
2733
|
B,
|
|
2734
2734
|
{
|
|
2735
2735
|
as: "div",
|
|
2736
2736
|
size: "md",
|
|
2737
|
-
className:
|
|
2737
|
+
className: ye[`${na}__expanded-content`]
|
|
2738
2738
|
},
|
|
2739
2739
|
l
|
|
2740
|
-
), y && /* @__PURE__ */ e.createElement("div", { className:
|
|
2740
|
+
), y && /* @__PURE__ */ e.createElement("div", { className: ye[Sa] }, /* @__PURE__ */ e.createElement("div", { className: ye[`${Sa}__line`] }), /* @__PURE__ */ e.createElement("div", { className: ye[`${Sa}__buttons`] }, v && a.map(
|
|
2741
2741
|
({ kind: C, onClick: g, children: N }, S) => /* @__PURE__ */ e.createElement(
|
|
2742
2742
|
W,
|
|
2743
2743
|
{
|
|
@@ -2751,7 +2751,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2751
2751
|
), h && /* @__PURE__ */ e.createElement(
|
|
2752
2752
|
W,
|
|
2753
2753
|
{
|
|
2754
|
-
className:
|
|
2754
|
+
className: ye[`${Sa}__buttons-expander`],
|
|
2755
2755
|
kind: "link",
|
|
2756
2756
|
iconPosition: "right",
|
|
2757
2757
|
icon: /* @__PURE__ */ e.createElement(x, { source: f }),
|
|
@@ -2759,9 +2759,9 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2759
2759
|
},
|
|
2760
2760
|
b
|
|
2761
2761
|
))));
|
|
2762
|
-
},
|
|
2762
|
+
}, Cl = {
|
|
2763
2763
|
"field-description": "lc-FieldDescription-module__field-description___IcRDH"
|
|
2764
|
-
},
|
|
2764
|
+
}, $l = "field-description", za = (_) => {
|
|
2765
2765
|
var o = _, {
|
|
2766
2766
|
children: t,
|
|
2767
2767
|
className: a = ""
|
|
@@ -2769,19 +2769,19 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2769
2769
|
"children",
|
|
2770
2770
|
"className"
|
|
2771
2771
|
]);
|
|
2772
|
-
const l = u(
|
|
2772
|
+
const l = u(Cl[$l], a);
|
|
2773
2773
|
return /* @__PURE__ */ e.createElement(B, T(k({ as: "span", size: "sm" }, r), { className: l }), t);
|
|
2774
|
-
},
|
|
2775
|
-
checkbox:
|
|
2776
|
-
checkbox__label:
|
|
2777
|
-
checkbox__text:
|
|
2778
|
-
checkbox__input:
|
|
2779
|
-
checkbox__checkmark:
|
|
2774
|
+
}, Nl = "lc-Checkbox-module__checkbox___G7nTf", Sl = "lc-Checkbox-module__checkbox__label___-o01x", xl = "lc-Checkbox-module__checkbox__text___P2SIq", Bl = "lc-Checkbox-module__checkbox__input___YLbVF", Il = "lc-Checkbox-module__checkbox__checkmark___16pfY", Tl = "lc-Checkbox-module__checkbox__square___MHUyd", Dl = "lc-Checkbox-module__checkbox__helper___YSJ-n", kt = {
|
|
2775
|
+
checkbox: Nl,
|
|
2776
|
+
checkbox__label: Sl,
|
|
2777
|
+
checkbox__text: xl,
|
|
2778
|
+
checkbox__input: Bl,
|
|
2779
|
+
checkbox__checkmark: Il,
|
|
2780
2780
|
"checkbox--selected": "lc-Checkbox-module__checkbox--selected___S2vqY",
|
|
2781
|
-
checkbox__square:
|
|
2781
|
+
checkbox__square: Tl,
|
|
2782
2782
|
"checkbox--disabled": "lc-Checkbox-module__checkbox--disabled___-lAqW",
|
|
2783
|
-
checkbox__helper:
|
|
2784
|
-
}, Et = "checkbox",
|
|
2783
|
+
checkbox__helper: Dl
|
|
2784
|
+
}, Et = "checkbox", Pl = e.forwardRef(
|
|
2785
2785
|
(c, n) => {
|
|
2786
2786
|
var d = c, { checked: t, disabled: a, children: r, description: _, className: o } = d, l = D(d, ["checked", "disabled", "children", "description", "className"]);
|
|
2787
2787
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -2840,7 +2840,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2840
2840
|
"date-picker--range__select-input": "lc-DatePicker-module__date-picker--range__select-input___6pyj3",
|
|
2841
2841
|
"date-picker--range__calendars-wrapper": "lc-DatePicker-module__date-picker--range__calendars-wrapper___8nWaW",
|
|
2842
2842
|
"date-picker__navbar-buttons-wrapper": "lc-DatePicker-module__date-picker__navbar-buttons-wrapper___Hnksb"
|
|
2843
|
-
},
|
|
2843
|
+
}, zr = "date-picker", Al = (t) => {
|
|
2844
2844
|
const {
|
|
2845
2845
|
onPreviousClick: a,
|
|
2846
2846
|
onMonthChange: r,
|
|
@@ -2862,23 +2862,23 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2862
2862
|
const E = Rt(i, 12);
|
|
2863
2863
|
return r(E);
|
|
2864
2864
|
}
|
|
2865
|
-
const h = Math.abs(
|
|
2865
|
+
const h = Math.abs(Tr(i, s)), y = Rt(
|
|
2866
2866
|
i,
|
|
2867
2867
|
!Number.isNaN(h) && h > 12 ? 12 : h
|
|
2868
2868
|
);
|
|
2869
2869
|
return r(y);
|
|
2870
2870
|
}, v = () => {
|
|
2871
2871
|
if (!p) {
|
|
2872
|
-
const E =
|
|
2872
|
+
const E = Dr(i, 12);
|
|
2873
2873
|
return r(E);
|
|
2874
2874
|
}
|
|
2875
|
-
const h = Math.abs(
|
|
2875
|
+
const h = Math.abs(Tr(p, i)), y = Dr(
|
|
2876
2876
|
i,
|
|
2877
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
|
};
|
|
2881
|
-
return /* @__PURE__ */ e.createElement("div", { className: n }, /* @__PURE__ */ e.createElement("div", { className: F[`${
|
|
2881
|
+
return /* @__PURE__ */ e.createElement("div", { className: n }, /* @__PURE__ */ e.createElement("div", { className: F[`${zr}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
|
|
2882
2882
|
"button",
|
|
2883
2883
|
{
|
|
2884
2884
|
"data-testid": "date-picker-prev-year-button",
|
|
@@ -2888,7 +2888,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2888
2888
|
}),
|
|
2889
2889
|
onClick: b
|
|
2890
2890
|
},
|
|
2891
|
-
/* @__PURE__ */ e.createElement(x, { source:
|
|
2891
|
+
/* @__PURE__ */ e.createElement(x, { source: P_, kind: "subtle" })
|
|
2892
2892
|
), /* @__PURE__ */ e.createElement(
|
|
2893
2893
|
"button",
|
|
2894
2894
|
{
|
|
@@ -2899,8 +2899,8 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2899
2899
|
}),
|
|
2900
2900
|
onClick: m
|
|
2901
2901
|
},
|
|
2902
|
-
/* @__PURE__ */ e.createElement(x, { source:
|
|
2903
|
-
)), /* @__PURE__ */ e.createElement("div", { className: F[`${
|
|
2902
|
+
/* @__PURE__ */ e.createElement(x, { source: A_, kind: "subtle" })
|
|
2903
|
+
)), /* @__PURE__ */ e.createElement("div", { className: F[`${zr}__navbar-buttons-wrapper`] }, /* @__PURE__ */ e.createElement(
|
|
2904
2904
|
"button",
|
|
2905
2905
|
{
|
|
2906
2906
|
"data-testid": "date-picker-next-month-button",
|
|
@@ -2921,12 +2921,12 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2921
2921
|
}),
|
|
2922
2922
|
onClick: v
|
|
2923
2923
|
},
|
|
2924
|
-
/* @__PURE__ */ e.createElement(x, { source:
|
|
2924
|
+
/* @__PURE__ */ e.createElement(x, { source: F_, kind: "subtle" })
|
|
2925
2925
|
)));
|
|
2926
|
-
}, R = "date-picker",
|
|
2926
|
+
}, R = "date-picker", b_ = (t, a) => {
|
|
2927
2927
|
const { from: r, to: _ } = a;
|
|
2928
2928
|
return !(_ && !gr(t, _) && fr(t, _) || r && !gr(t, r) && !fr(t, r));
|
|
2929
|
-
},
|
|
2929
|
+
}, h_ = (t, a, r) => a ? t && !pr(t, a) || r && pr(a, r) ? Rt(a, 1) : a : Rt(r || /* @__PURE__ */ new Date(), 1), Fl = (t, a) => {
|
|
2930
2930
|
const r = {
|
|
2931
2931
|
[F[`${R}__day--monday`]]: { daysOfWeek: [1] },
|
|
2932
2932
|
[F[`${R}__day--sunday`]]: { daysOfWeek: [0] },
|
|
@@ -2944,7 +2944,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2944
2944
|
}, oa = (t, a) => {
|
|
2945
2945
|
const r = a.find((_) => _.id === t);
|
|
2946
2946
|
return r || void 0;
|
|
2947
|
-
},
|
|
2947
|
+
}, Wr = (t, a) => !!(!t || t && a), Rl = (t) => {
|
|
2948
2948
|
const a = {};
|
|
2949
2949
|
if (!t.initialSelectedItemKey)
|
|
2950
2950
|
return a;
|
|
@@ -2953,7 +2953,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2953
2953
|
t.options
|
|
2954
2954
|
);
|
|
2955
2955
|
return r ? (a.selectedItem = t.initialSelectedItemKey, r.isManual && (t.initialFromDate && (a.from = t.initialFromDate), t.initialToDate && (a.to = t.initialToDate, a.temporaryTo = t.initialToDate)), a) : {};
|
|
2956
|
-
},
|
|
2956
|
+
}, Ml = (t, a) => k({
|
|
2957
2957
|
container: u({
|
|
2958
2958
|
[F[`${R}`]]: !0,
|
|
2959
2959
|
[F[`${R}--range`]]: t
|
|
@@ -2988,10 +2988,10 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
2988
2988
|
outside: F[`${R}__day--outside`],
|
|
2989
2989
|
start: F[`${R}__day--start`],
|
|
2990
2990
|
end: F[`${R}__day--end`]
|
|
2991
|
-
}, a),
|
|
2991
|
+
}, a), Vr = "date-picker", Ll = (t) => {
|
|
2992
2992
|
const a = t.getDate();
|
|
2993
|
-
return /* @__PURE__ */ e.createElement("div", { className: F[`${
|
|
2994
|
-
},
|
|
2993
|
+
return /* @__PURE__ */ e.createElement("div", { className: F[`${Vr}__day-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: F[`${Vr}__day-content`] }, a));
|
|
2994
|
+
}, Ol = (t) => {
|
|
2995
2995
|
const y = t, {
|
|
2996
2996
|
classNames: a,
|
|
2997
2997
|
range: r,
|
|
@@ -3018,7 +3018,7 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
3018
3018
|
e.useEffect(() => {
|
|
3019
3019
|
o && o !== m && f(o);
|
|
3020
3020
|
}, [o, m]), e.useEffect(() => {
|
|
3021
|
-
_ && o !== m && (
|
|
3021
|
+
_ && o !== m && (b_(m, { from: l, to: _ }) || f(_));
|
|
3022
3022
|
}, [o, m, _, l]);
|
|
3023
3023
|
const b = e.useCallback(
|
|
3024
3024
|
(E) => {
|
|
@@ -3033,14 +3033,14 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
3033
3033
|
let v = 1;
|
|
3034
3034
|
(n === 0 || n && n < 7) && (v = n);
|
|
3035
3035
|
const h = e.useMemo(
|
|
3036
|
-
() =>
|
|
3036
|
+
() => Ml(r, a),
|
|
3037
3037
|
[r, a]
|
|
3038
3038
|
);
|
|
3039
3039
|
return /* @__PURE__ */ e.createElement(
|
|
3040
|
-
|
|
3040
|
+
oo,
|
|
3041
3041
|
k({
|
|
3042
3042
|
navbarElement: d || /* @__PURE__ */ e.createElement(
|
|
3043
|
-
|
|
3043
|
+
Al,
|
|
3044
3044
|
{
|
|
3045
3045
|
month: m,
|
|
3046
3046
|
classNames: h,
|
|
@@ -3057,16 +3057,16 @@ const ol = "lc-Avatar-module__avatar___1zTCE", ll = "lc-Avatar-module__avatar__s
|
|
|
3057
3057
|
fromMonth: l,
|
|
3058
3058
|
firstDayOfWeek: v,
|
|
3059
3059
|
month: m,
|
|
3060
|
-
renderDay: i ||
|
|
3060
|
+
renderDay: i || Ll
|
|
3061
3061
|
}, p)
|
|
3062
3062
|
);
|
|
3063
|
-
},
|
|
3064
|
-
(t, a) => /* @__PURE__ */ e.createElement(
|
|
3063
|
+
}, Gl = e.forwardRef(
|
|
3064
|
+
(t, a) => /* @__PURE__ */ e.createElement(Ol, k({ innerRef: a }, t))
|
|
3065
3065
|
);
|
|
3066
|
-
|
|
3066
|
+
Gl.displayName = "DatePicker";
|
|
3067
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
|
-
const
|
|
3069
|
-
const a =
|
|
3068
|
+
const Ul = (t) => {
|
|
3069
|
+
const a = h_(
|
|
3070
3070
|
t.initialFromDate,
|
|
3071
3071
|
t.initialToDate,
|
|
3072
3072
|
t.toMonth
|
|
@@ -3076,7 +3076,7 @@ const Gl = (t) => {
|
|
|
3076
3076
|
to: void 0,
|
|
3077
3077
|
temporaryTo: void 0,
|
|
3078
3078
|
currentMonth: a
|
|
3079
|
-
}),
|
|
3079
|
+
}), Rl(t));
|
|
3080
3080
|
function o(l, n) {
|
|
3081
3081
|
switch (n.type) {
|
|
3082
3082
|
case J.NEW_SELECTED_ITEM:
|
|
@@ -3124,8 +3124,8 @@ const Gl = (t) => {
|
|
|
3124
3124
|
return l;
|
|
3125
3125
|
}
|
|
3126
3126
|
}
|
|
3127
|
-
return
|
|
3128
|
-
},
|
|
3127
|
+
return B_(o, _);
|
|
3128
|
+
}, Hl = ({
|
|
3129
3129
|
options: t,
|
|
3130
3130
|
initialSelectedItemKey: a,
|
|
3131
3131
|
initialFromDate: r,
|
|
@@ -3134,9 +3134,9 @@ const Gl = (t) => {
|
|
|
3134
3134
|
onChange: l,
|
|
3135
3135
|
children: n
|
|
3136
3136
|
}) => {
|
|
3137
|
-
const c =
|
|
3137
|
+
const c = I_(
|
|
3138
3138
|
a || null
|
|
3139
|
-
), [d, i] =
|
|
3139
|
+
), [d, i] = Ul({
|
|
3140
3140
|
options: t,
|
|
3141
3141
|
initialSelectedItemKey: a,
|
|
3142
3142
|
initialFromDate: r,
|
|
@@ -3156,7 +3156,7 @@ const Gl = (t) => {
|
|
|
3156
3156
|
payload: { date: _ }
|
|
3157
3157
|
});
|
|
3158
3158
|
}, [_]), Ft(() => {
|
|
3159
|
-
const v =
|
|
3159
|
+
const v = h_(
|
|
3160
3160
|
r,
|
|
3161
3161
|
_,
|
|
3162
3162
|
o
|
|
@@ -3195,7 +3195,7 @@ const Gl = (t) => {
|
|
|
3195
3195
|
const s = ka(
|
|
3196
3196
|
(v) => {
|
|
3197
3197
|
const h = o ? wr(o, v) >= 0 : !0;
|
|
3198
|
-
!
|
|
3198
|
+
!Wr(d.from, d.to) && h && i({
|
|
3199
3199
|
type: J.NEW_TEMPORARY_TO_VALUE,
|
|
3200
3200
|
payload: { date: v }
|
|
3201
3201
|
});
|
|
@@ -3204,7 +3204,7 @@ const Gl = (t) => {
|
|
|
3204
3204
|
), p = ka(
|
|
3205
3205
|
(v) => {
|
|
3206
3206
|
const { from: h, to: y } = d;
|
|
3207
|
-
|
|
3207
|
+
b_(v, { to: o }) && (Wr(h, y) ? i({
|
|
3208
3208
|
type: J.SELECT_FIRST_DAY,
|
|
3209
3209
|
payload: { date: v }
|
|
3210
3210
|
}) : h && gr(v, h) || h && fr(v, h) ? i({
|
|
@@ -3239,7 +3239,7 @@ const Gl = (t) => {
|
|
|
3239
3239
|
}, []);
|
|
3240
3240
|
return n((() => {
|
|
3241
3241
|
const { currentMonth: v, from: h, selectedItem: y, temporaryTo: E, to: $ } = d, w = Ea(
|
|
3242
|
-
() =>
|
|
3242
|
+
() => Fl(h, E),
|
|
3243
3243
|
[h, E]
|
|
3244
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 {
|
|
@@ -3268,7 +3268,7 @@ const Gl = (t) => {
|
|
|
3268
3268
|
};
|
|
3269
3269
|
})());
|
|
3270
3270
|
};
|
|
3271
|
-
|
|
3271
|
+
Hl.defaultProps = {
|
|
3272
3272
|
options: [
|
|
3273
3273
|
{
|
|
3274
3274
|
id: "default",
|
|
@@ -3308,7 +3308,7 @@ const ii = (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",
|
|
3311
|
+
}, z = "details-card", zl = ["input", "button", "select", "textarea", "a"], si = ({
|
|
3312
3312
|
children: t,
|
|
3313
3313
|
className: a,
|
|
3314
3314
|
leftNode: r,
|
|
@@ -3328,7 +3328,7 @@ const ii = (t) => {
|
|
|
3328
3328
|
p((C) => !C), w.currentTarget.blur(), i == null || i(w);
|
|
3329
3329
|
}, $ = (w) => {
|
|
3330
3330
|
const g = w.target.tagName.toLowerCase();
|
|
3331
|
-
|
|
3331
|
+
zl.includes(g) || (p((N) => !N), i == null || i(w));
|
|
3332
3332
|
};
|
|
3333
3333
|
return e.useEffect(() => {
|
|
3334
3334
|
const w = !!window.IntersectionObserver;
|
|
@@ -3425,10 +3425,10 @@ const ii = (t) => {
|
|
|
3425
3425
|
}, rr = "details-card-info", di = ({
|
|
3426
3426
|
children: t,
|
|
3427
3427
|
label: a
|
|
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)),
|
|
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)), Kr = {
|
|
3429
3429
|
"field-error": "lc-FieldError-module__field-error___IDkPT",
|
|
3430
3430
|
"field-error__icon": "lc-FieldError-module__field-error__icon___D4UNC"
|
|
3431
|
-
},
|
|
3431
|
+
}, Yr = "field-error", Sr = (_) => {
|
|
3432
3432
|
var o = _, {
|
|
3433
3433
|
children: t,
|
|
3434
3434
|
className: a = ""
|
|
@@ -3436,12 +3436,12 @@ const ii = (t) => {
|
|
|
3436
3436
|
"children",
|
|
3437
3437
|
"className"
|
|
3438
3438
|
]);
|
|
3439
|
-
const l = u(
|
|
3439
|
+
const l = u(Kr[Yr], a);
|
|
3440
3440
|
return /* @__PURE__ */ e.createElement(B, T(k({ as: "span", size: "sm" }, r), { className: l }), /* @__PURE__ */ e.createElement(
|
|
3441
3441
|
x,
|
|
3442
3442
|
{
|
|
3443
3443
|
source: ca,
|
|
3444
|
-
className:
|
|
3444
|
+
className: Kr[`${Yr}__icon`],
|
|
3445
3445
|
size: "small"
|
|
3446
3446
|
}
|
|
3447
3447
|
), t);
|
|
@@ -3470,12 +3470,12 @@ const ii = (t) => {
|
|
|
3470
3470
|
[_r[`${or}--stretched`]]: l
|
|
3471
3471
|
});
|
|
3472
3472
|
return /* @__PURE__ */ e.createElement("div", T(k({}, n), { className: i }), a, _ && /* @__PURE__ */ e.createElement(Sr, null, _), r && /* @__PURE__ */ e.createElement(za, null, r));
|
|
3473
|
-
},
|
|
3474
|
-
form:
|
|
3475
|
-
form__header:
|
|
3476
|
-
form__footer:
|
|
3477
|
-
form__label:
|
|
3478
|
-
form__helper:
|
|
3473
|
+
}, Wl = "lc-Form-module__form___1nOYF", Vl = "lc-Form-module__form__header___U4B7t", Kl = "lc-Form-module__form__footer___1-sUX", Yl = "lc-Form-module__form__label___spg-J", ql = "lc-Form-module__form__helper___bhfwS", Kt = {
|
|
3474
|
+
form: Wl,
|
|
3475
|
+
form__header: Vl,
|
|
3476
|
+
form__footer: Kl,
|
|
3477
|
+
form__label: Yl,
|
|
3478
|
+
form__helper: ql
|
|
3479
3479
|
}, Yt = "form", mi = (n) => {
|
|
3480
3480
|
var c = n, {
|
|
3481
3481
|
className: t,
|
|
@@ -3643,8 +3643,8 @@ const ii = (t) => {
|
|
|
3643
3643
|
), _ && /* @__PURE__ */ e.createElement(B, { as: "div", size: "sm", className: xa[`${Ba}__helper`] }, _)),
|
|
3644
3644
|
a
|
|
3645
3645
|
);
|
|
3646
|
-
},
|
|
3647
|
-
input:
|
|
3646
|
+
}, Zl = "lc-Input-module__input___qeMAQ", Le = {
|
|
3647
|
+
input: Zl,
|
|
3648
3648
|
"input--focused": "lc-Input-module__input--focused___wQH5-",
|
|
3649
3649
|
"input--disabled": "lc-Input-module__input--disabled___HidXX",
|
|
3650
3650
|
"input--crop": "lc-Input-module__input--crop___uzJS8",
|
|
@@ -3658,7 +3658,7 @@ const ii = (t) => {
|
|
|
3658
3658
|
"input__icon--left": "lc-Input-module__input__icon--left___BcySs",
|
|
3659
3659
|
"input__icon--right": "lc-Input-module__input__icon--right___VefSK",
|
|
3660
3660
|
"input__visibility-button": "lc-Input-module__input__visibility-button___eWrVe"
|
|
3661
|
-
}, Oe = "input",
|
|
3661
|
+
}, Oe = "input", qr = (t, a) => e.cloneElement(t.source, {
|
|
3662
3662
|
"data-testid": `input-icon-${t.place}`,
|
|
3663
3663
|
className: u(
|
|
3664
3664
|
Le[`${Oe}__icon`],
|
|
@@ -3697,7 +3697,7 @@ const ii = (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 = f ?
|
|
3700
|
+
), $ = r ? "var(--content-disabled)" : "var(--content-default)", w = f ? R_ : M_, C = _ && _.place === "left", g = _ && v !== "password" && _.place === "right", N = () => {
|
|
3701
3701
|
var S;
|
|
3702
3702
|
(S = s.current) == null || S.focus();
|
|
3703
3703
|
};
|
|
@@ -3710,7 +3710,7 @@ const ii = (t) => {
|
|
|
3710
3710
|
"tab-index": "0",
|
|
3711
3711
|
onClick: N
|
|
3712
3712
|
},
|
|
3713
|
-
C &&
|
|
3713
|
+
C && qr(_, r),
|
|
3714
3714
|
/* @__PURE__ */ e.createElement(
|
|
3715
3715
|
"input",
|
|
3716
3716
|
T(k({}, n), {
|
|
@@ -3725,7 +3725,7 @@ const ii = (t) => {
|
|
|
3725
3725
|
type: v && !f ? v : "text"
|
|
3726
3726
|
})
|
|
3727
3727
|
),
|
|
3728
|
-
g &&
|
|
3728
|
+
g && qr(_, r),
|
|
3729
3729
|
v === "password" && /* @__PURE__ */ e.createElement(
|
|
3730
3730
|
W,
|
|
3731
3731
|
{
|
|
@@ -3739,10 +3739,10 @@ const ii = (t) => {
|
|
|
3739
3739
|
)
|
|
3740
3740
|
);
|
|
3741
3741
|
}
|
|
3742
|
-
),
|
|
3743
|
-
link:
|
|
3742
|
+
), Xl = "lc-Link-module__link___kqx52", Zr = {
|
|
3743
|
+
link: Xl,
|
|
3744
3744
|
"link--bold": "lc-Link-module__link--bold___1rGdO"
|
|
3745
|
-
},
|
|
3745
|
+
}, Xr = "link", bi = (_) => {
|
|
3746
3746
|
var o = _, {
|
|
3747
3747
|
bold: t = !1,
|
|
3748
3748
|
className: a = ""
|
|
@@ -3754,13 +3754,13 @@ const ii = (t) => {
|
|
|
3754
3754
|
"a",
|
|
3755
3755
|
k({
|
|
3756
3756
|
className: u(
|
|
3757
|
-
|
|
3758
|
-
t &&
|
|
3757
|
+
Zr[Xr],
|
|
3758
|
+
t && Zr[`${Xr}--bold`],
|
|
3759
3759
|
a
|
|
3760
3760
|
)
|
|
3761
3761
|
}, r)
|
|
3762
3762
|
);
|
|
3763
|
-
},
|
|
3763
|
+
}, Jl = "lc-Modal-module__modal__body___M-jmN", jl = "lc-Modal-module__modal__header___Fp5VE", Ql = "lc-Modal-module__modal__heading___G9KVK", en = "lc-Modal-module__modal__footer___2LYdc", se = {
|
|
3764
3764
|
"modal-base": "lc-Modal-module__modal-base___hbL1U",
|
|
3765
3765
|
"fade-in": "lc-Modal-module__fade-in___gWlGs",
|
|
3766
3766
|
"modal-base--full-space": "lc-Modal-module__modal-base--full-space___KcGFL",
|
|
@@ -3769,14 +3769,14 @@ const ii = (t) => {
|
|
|
3769
3769
|
"modal-base__overlay--labelled": "lc-Modal-module__modal-base__overlay--labelled___THAo-",
|
|
3770
3770
|
"modal-base__close": "lc-Modal-module__modal-base__close___gJlgr",
|
|
3771
3771
|
"modal-base__close--label-type": "lc-Modal-module__modal-base__close--label-type___Om0Vb",
|
|
3772
|
-
modal__body:
|
|
3773
|
-
modal__header:
|
|
3772
|
+
modal__body: Jl,
|
|
3773
|
+
modal__header: jl,
|
|
3774
3774
|
"modal__header--without-heading": "lc-Modal-module__modal__header--without-heading___N2Bra",
|
|
3775
3775
|
"modal__label-header": "lc-Modal-module__modal__label-header___ZPtEy",
|
|
3776
|
-
modal__heading:
|
|
3776
|
+
modal__heading: Ql,
|
|
3777
3777
|
"modal__label-heading": "lc-Modal-module__modal__label-heading___WnYcF",
|
|
3778
|
-
modal__footer:
|
|
3779
|
-
}, qt = "modal-base",
|
|
3778
|
+
modal__footer: en
|
|
3779
|
+
}, qt = "modal-base", tn = (d) => {
|
|
3780
3780
|
var i = d, {
|
|
3781
3781
|
children: t,
|
|
3782
3782
|
className: a = "",
|
|
@@ -3811,7 +3811,7 @@ const ii = (t) => {
|
|
|
3811
3811
|
o && m.target === m.currentTarget && r();
|
|
3812
3812
|
};
|
|
3813
3813
|
return /* @__PURE__ */ e.createElement(
|
|
3814
|
-
|
|
3814
|
+
ao,
|
|
3815
3815
|
{
|
|
3816
3816
|
"data-testid": "lc-modal-overlay",
|
|
3817
3817
|
onMouseDown: p,
|
|
@@ -3831,7 +3831,7 @@ const ii = (t) => {
|
|
|
3831
3831
|
t
|
|
3832
3832
|
)
|
|
3833
3833
|
);
|
|
3834
|
-
},
|
|
3834
|
+
}, Jr = ({
|
|
3835
3835
|
labelType: t,
|
|
3836
3836
|
customColor: a,
|
|
3837
3837
|
onClick: r
|
|
@@ -3873,7 +3873,7 @@ const ii = (t) => {
|
|
|
3873
3873
|
b.preventDefault(), b.stopPropagation(), n();
|
|
3874
3874
|
};
|
|
3875
3875
|
return /* @__PURE__ */ e.createElement(
|
|
3876
|
-
|
|
3876
|
+
tn,
|
|
3877
3877
|
k({
|
|
3878
3878
|
className: p,
|
|
3879
3879
|
fullSpaceContent: o,
|
|
@@ -3889,7 +3889,7 @@ const ii = (t) => {
|
|
|
3889
3889
|
},
|
|
3890
3890
|
_
|
|
3891
3891
|
), /* @__PURE__ */ e.createElement(
|
|
3892
|
-
|
|
3892
|
+
Jr,
|
|
3893
3893
|
{
|
|
3894
3894
|
labelType: !!_,
|
|
3895
3895
|
customColor: "var(--color-white)",
|
|
@@ -3912,7 +3912,7 @@ const ii = (t) => {
|
|
|
3912
3912
|
},
|
|
3913
3913
|
r
|
|
3914
3914
|
),
|
|
3915
|
-
/* @__PURE__ */ e.createElement(
|
|
3915
|
+
/* @__PURE__ */ e.createElement(Jr, { onClick: f })
|
|
3916
3916
|
),
|
|
3917
3917
|
/* @__PURE__ */ e.createElement(
|
|
3918
3918
|
"div",
|
|
@@ -3937,7 +3937,7 @@ const ii = (t) => {
|
|
|
3937
3937
|
var n;
|
|
3938
3938
|
(n = document.querySelector(r)) == null || n.removeChild(o);
|
|
3939
3939
|
};
|
|
3940
|
-
}, [r]), /* @__PURE__ */ e.createElement(e.Fragment, null,
|
|
3940
|
+
}, [r]), /* @__PURE__ */ e.createElement(e.Fragment, null, n_.createPortal(t, o));
|
|
3941
3941
|
}, Zt = {
|
|
3942
3942
|
"modal-header": "lc-ModalHeader-module__modal-header___xk3bd",
|
|
3943
3943
|
"modal-header__heading-left-node": "lc-ModalHeader-module__modal-header__heading-left-node___1--G5",
|
|
@@ -3957,7 +3957,7 @@ const ii = (t) => {
|
|
|
3957
3957
|
className: Zt[`${Xt}__heading-left-node`]
|
|
3958
3958
|
}, a)
|
|
3959
3959
|
), r && /* @__PURE__ */ e.createElement(
|
|
3960
|
-
|
|
3960
|
+
sl,
|
|
3961
3961
|
k({
|
|
3962
3962
|
className: Zt[`${Xt}__heading-left-node`]
|
|
3963
3963
|
}, r)
|
|
@@ -4125,7 +4125,7 @@ const ii = (t) => {
|
|
|
4125
4125
|
"checklist-item__content__inner__description": "lc-CheckListItem-module__checklist-item__content__inner__description___FBp5h",
|
|
4126
4126
|
"checklist-item__content__inner__cta": "lc-CheckListItem-module__checklist-item__content__inner__cta___4s0rt",
|
|
4127
4127
|
"checklist-item__chevron": "lc-CheckListItem-module__checklist-item__chevron___1Fmqp"
|
|
4128
|
-
}, le = "checklist-item",
|
|
4128
|
+
}, le = "checklist-item", an = 3, rn = ({
|
|
4129
4129
|
id: t,
|
|
4130
4130
|
isActive: a,
|
|
4131
4131
|
isChecked: r,
|
|
@@ -4146,7 +4146,7 @@ const ii = (t) => {
|
|
|
4146
4146
|
const y = h[0];
|
|
4147
4147
|
if (!y)
|
|
4148
4148
|
return;
|
|
4149
|
-
const E = y.contentRect.height +
|
|
4149
|
+
const E = y.contentRect.height + an;
|
|
4150
4150
|
f.current !== E && (m(E), f.current = E);
|
|
4151
4151
|
});
|
|
4152
4152
|
return v.observe(s.current), () => v.disconnect();
|
|
@@ -4298,7 +4298,7 @@ const ii = (t) => {
|
|
|
4298
4298
|
},
|
|
4299
4299
|
r
|
|
4300
4300
|
)), /* @__PURE__ */ e.createElement("div", { className: Z[`${X}__checklist`] }, o.map((w, C) => /* @__PURE__ */ e.createElement(
|
|
4301
|
-
|
|
4301
|
+
rn,
|
|
4302
4302
|
{
|
|
4303
4303
|
key: C,
|
|
4304
4304
|
id: w.id,
|
|
@@ -4368,7 +4368,7 @@ const ii = (t) => {
|
|
|
4368
4368
|
}
|
|
4369
4369
|
)
|
|
4370
4370
|
);
|
|
4371
|
-
},
|
|
4371
|
+
}, _n = 2, on = 200, ln = 400;
|
|
4372
4372
|
[
|
|
4373
4373
|
...[...Array(100)].map((t, a) => ({
|
|
4374
4374
|
key: `option${a + 8}`,
|
|
@@ -4376,14 +4376,14 @@ const ii = (t) => {
|
|
|
4376
4376
|
disabled: a % 4 === 0
|
|
4377
4377
|
}))
|
|
4378
4378
|
];
|
|
4379
|
-
const Mt = "select-all",
|
|
4379
|
+
const Mt = "select-all", nn = (t, a) => {
|
|
4380
4380
|
const r = [];
|
|
4381
4381
|
return t.forEach((_, o) => {
|
|
4382
4382
|
a(_) && r.push(o);
|
|
4383
4383
|
}), r;
|
|
4384
4384
|
}, br = (t) => t.filter(
|
|
4385
4385
|
({ key: a, disabled: r, groupHeader: _ }) => !(a === Mt || r || _)
|
|
4386
|
-
), lr = ({ key: t }) => t,
|
|
4386
|
+
), lr = ({ key: t }) => t, jr = (t, a) => t.includes(a) ? t.filter((r) => r !== a) : [...t, a], fe = {
|
|
4387
4387
|
"item-wrapper": "lc-PickerListItem-module__item-wrapper___ETYMU",
|
|
4388
4388
|
"item-wrapper__first": "lc-PickerListItem-module__item-wrapper__first___uit1z",
|
|
4389
4389
|
"item-wrapper__last": "lc-PickerListItem-module__item-wrapper__last___cWmGF",
|
|
@@ -4398,7 +4398,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4398
4398
|
"picker-list__item__label": "lc-PickerListItem-module__picker-list__item__label___e0uwB",
|
|
4399
4399
|
"picker-list__item__main-label": "lc-PickerListItem-module__picker-list__item__main-label___YfUhr",
|
|
4400
4400
|
"picker-list__item__secondary-label": "lc-PickerListItem-module__picker-list__item__secondary-label___6xcMD"
|
|
4401
|
-
}, Pe = "picker-list__item",
|
|
4401
|
+
}, Pe = "picker-list__item", cn = ({
|
|
4402
4402
|
index: t,
|
|
4403
4403
|
isActive: a,
|
|
4404
4404
|
isSelected: r,
|
|
@@ -4408,37 +4408,37 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4408
4408
|
item: n,
|
|
4409
4409
|
numberOfItems: c
|
|
4410
4410
|
}) => {
|
|
4411
|
-
const d = (s) => s != null && s.customElement ? /* @__PURE__ */ e.createElement("div", { className:
|
|
4412
|
-
|
|
4411
|
+
const d = (s) => s != null && s.customElement ? /* @__PURE__ */ e.createElement("div", { className: fe[`${Pe}__custom`] }, s.customElement.listItemBody) : /* @__PURE__ */ e.createElement(e.Fragment, null, s.showCheckbox && /* @__PURE__ */ e.createElement(
|
|
4412
|
+
Pl,
|
|
4413
4413
|
{
|
|
4414
|
-
className:
|
|
4414
|
+
className: fe[`${Pe}__checkbox`],
|
|
4415
4415
|
checked: r
|
|
4416
4416
|
}
|
|
4417
4417
|
), s.icon && /* @__PURE__ */ e.createElement(
|
|
4418
4418
|
x,
|
|
4419
4419
|
{
|
|
4420
|
-
className:
|
|
4420
|
+
className: fe[`${Pe}__icon`],
|
|
4421
4421
|
kind: "link",
|
|
4422
4422
|
source: s.icon
|
|
4423
4423
|
}
|
|
4424
4424
|
), s.avatarSrc && /* @__PURE__ */ e.createElement(
|
|
4425
4425
|
"img",
|
|
4426
4426
|
{
|
|
4427
|
-
className: u(
|
|
4427
|
+
className: u(fe[`${Pe}__avatar`]),
|
|
4428
4428
|
src: s.avatarSrc,
|
|
4429
4429
|
alt: s.name
|
|
4430
4430
|
}
|
|
4431
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
4431
|
+
), /* @__PURE__ */ e.createElement("div", { className: fe[`${Pe}__label-container`] }, /* @__PURE__ */ e.createElement(
|
|
4432
4432
|
B,
|
|
4433
4433
|
{
|
|
4434
4434
|
as: "span",
|
|
4435
|
-
className: u([
|
|
4436
|
-
[
|
|
4435
|
+
className: u([fe[`${Pe}__label`]], {
|
|
4436
|
+
[fe[`${Pe}__main-label`]]: s.secondaryText
|
|
4437
4437
|
}),
|
|
4438
4438
|
"aria-disabled": s.disabled
|
|
4439
4439
|
},
|
|
4440
4440
|
s.name
|
|
4441
|
-
), s.secondaryText && /* @__PURE__ */ e.createElement("span", { className:
|
|
4441
|
+
), s.secondaryText && /* @__PURE__ */ e.createElement("span", { className: fe[`${Pe}__secondary-label`] }, s.secondaryText)));
|
|
4442
4442
|
if (n.groupHeader)
|
|
4443
4443
|
return /* @__PURE__ */ e.createElement(
|
|
4444
4444
|
"div",
|
|
@@ -4446,7 +4446,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4446
4446
|
id: `item-${t}`,
|
|
4447
4447
|
key: n.key,
|
|
4448
4448
|
role: "group",
|
|
4449
|
-
className:
|
|
4449
|
+
className: fe[`${Pe}__header`]
|
|
4450
4450
|
}, l()),
|
|
4451
4451
|
/* @__PURE__ */ e.createElement(ne, { size: "2xs", uppercase: !0, bold: !0, as: "div" }, n.name)
|
|
4452
4452
|
);
|
|
@@ -4468,9 +4468,9 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4468
4468
|
}, l({
|
|
4469
4469
|
onClick: () => i(n.key)
|
|
4470
4470
|
})), {
|
|
4471
|
-
className: u(
|
|
4472
|
-
[
|
|
4473
|
-
[
|
|
4471
|
+
className: u(fe["item-wrapper"], {
|
|
4472
|
+
[fe["item-wrapper__first"]]: t === 0 && !n.groupHeader,
|
|
4473
|
+
[fe["item-wrapper__last"]]: t === c - 1 && !n.groupHeader
|
|
4474
4474
|
})
|
|
4475
4475
|
}),
|
|
4476
4476
|
/* @__PURE__ */ e.createElement(
|
|
@@ -4479,8 +4479,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4479
4479
|
"aria-selected": r,
|
|
4480
4480
|
"aria-disabled": n.disabled,
|
|
4481
4481
|
"aria-current": a && !n.disabled,
|
|
4482
|
-
className: u(
|
|
4483
|
-
[
|
|
4482
|
+
className: u(fe[Pe], {
|
|
4483
|
+
[fe[`${Pe}--select-all`]]: n.key === Mt
|
|
4484
4484
|
})
|
|
4485
4485
|
},
|
|
4486
4486
|
d(n),
|
|
@@ -4494,12 +4494,12 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4494
4494
|
)
|
|
4495
4495
|
)
|
|
4496
4496
|
);
|
|
4497
|
-
},
|
|
4498
|
-
listbox:
|
|
4497
|
+
}, sn = "lc-PickerList-module__listbox___-LqE-", Qt = {
|
|
4498
|
+
listbox: sn,
|
|
4499
4499
|
"no-results": "lc-PickerList-module__no-results___QRce-",
|
|
4500
4500
|
"listbox-wrapper": "lc-PickerList-module__listbox-wrapper___FbDrf",
|
|
4501
4501
|
"no-results-text": "lc-PickerList-module__no-results-text___Bp1yO"
|
|
4502
|
-
},
|
|
4502
|
+
}, dn = ({
|
|
4503
4503
|
context: t,
|
|
4504
4504
|
setFloating: a,
|
|
4505
4505
|
floatingStyles: r,
|
|
@@ -4519,7 +4519,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4519
4519
|
}) => {
|
|
4520
4520
|
const [h, y] = e.useState(0), E = o.length, $ = e.useCallback(
|
|
4521
4521
|
(C) => {
|
|
4522
|
-
C !== h && (C < _ ? y(C + (E - 1) *
|
|
4522
|
+
C !== h && (C < _ ? y(C + (E - 1) * _n) : y(_));
|
|
4523
4523
|
},
|
|
4524
4524
|
[E]
|
|
4525
4525
|
);
|
|
@@ -4566,7 +4566,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4566
4566
|
}
|
|
4567
4567
|
})),
|
|
4568
4568
|
/* @__PURE__ */ e.createElement(
|
|
4569
|
-
|
|
4569
|
+
no,
|
|
4570
4570
|
T(k({
|
|
4571
4571
|
totalListHeightChanged: $,
|
|
4572
4572
|
style: { height: `${h}px`, maxHeight: _ },
|
|
@@ -4575,7 +4575,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4575
4575
|
increaseViewportBy: 200
|
|
4576
4576
|
}, v), {
|
|
4577
4577
|
itemContent: (C, g) => /* @__PURE__ */ e.createElement(
|
|
4578
|
-
|
|
4578
|
+
cn,
|
|
4579
4579
|
{
|
|
4580
4580
|
index: C,
|
|
4581
4581
|
getItemProps: p,
|
|
@@ -4591,7 +4591,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4591
4591
|
)
|
|
4592
4592
|
)
|
|
4593
4593
|
));
|
|
4594
|
-
},
|
|
4594
|
+
}, be = {
|
|
4595
4595
|
"picker-trigger": "lc-PickerTrigger-module__picker-trigger___-tjS0",
|
|
4596
4596
|
"picker-trigger--multi-select": "lc-PickerTrigger-module__picker-trigger--multi-select___av4Ws",
|
|
4597
4597
|
"picker-trigger--multi-select--with-items": "lc-PickerTrigger-module__picker-trigger--multi-select--with-items___7uI-R",
|
|
@@ -4609,7 +4609,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4609
4609
|
"picker-trigger--disabled": "lc-PickerTrigger-module__picker-trigger--disabled___4MGb4",
|
|
4610
4610
|
"picker-trigger--focused": "lc-PickerTrigger-module__picker-trigger--focused___vBA4d",
|
|
4611
4611
|
"picker-trigger--error": "lc-PickerTrigger-module__picker-trigger--error___yu6Dt"
|
|
4612
|
-
}, ie = "picker-trigger",
|
|
4612
|
+
}, ie = "picker-trigger", un = ({
|
|
4613
4613
|
setReference: t,
|
|
4614
4614
|
getReferenceProps: a,
|
|
4615
4615
|
testId: r,
|
|
@@ -4626,13 +4626,13 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4626
4626
|
setTriggerFocus: f
|
|
4627
4627
|
}) => {
|
|
4628
4628
|
const b = u(
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
o &&
|
|
4632
|
-
o && l &&
|
|
4633
|
-
c &&
|
|
4634
|
-
i &&
|
|
4635
|
-
s &&
|
|
4629
|
+
be[ie],
|
|
4630
|
+
be[`${ie}--${_}`],
|
|
4631
|
+
o && be[`${ie}--multi-select`],
|
|
4632
|
+
o && l && be[`${ie}--multi-select--with-items`],
|
|
4633
|
+
c && be[`${ie}--disabled`],
|
|
4634
|
+
i && be[`${ie}--focused`],
|
|
4635
|
+
s && be[`${ie}--error`]
|
|
4636
4636
|
), v = !n && l && !c && !d, h = (y) => {
|
|
4637
4637
|
y.stopPropagation(), p();
|
|
4638
4638
|
};
|
|
@@ -4657,9 +4657,9 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4657
4657
|
{
|
|
4658
4658
|
as: "div",
|
|
4659
4659
|
className: u(
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
o && l &&
|
|
4660
|
+
be[`${ie}__content`],
|
|
4661
|
+
be[`${ie}__content--${_}`],
|
|
4662
|
+
o && l && be[`${ie}__content--with-items`]
|
|
4663
4663
|
)
|
|
4664
4664
|
},
|
|
4665
4665
|
m
|
|
@@ -4668,15 +4668,15 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4668
4668
|
"div",
|
|
4669
4669
|
{
|
|
4670
4670
|
className: u(
|
|
4671
|
-
|
|
4672
|
-
|
|
4671
|
+
be[`${ie}__controls`],
|
|
4672
|
+
be[`${ie}__controls--${_}`]
|
|
4673
4673
|
)
|
|
4674
4674
|
},
|
|
4675
4675
|
v && /* @__PURE__ */ e.createElement(
|
|
4676
4676
|
"div",
|
|
4677
4677
|
{
|
|
4678
4678
|
"data-testid": `${ie}__clear-icon`,
|
|
4679
|
-
className:
|
|
4679
|
+
className: be[`${ie}__clear-icon`],
|
|
4680
4680
|
onClick: h
|
|
4681
4681
|
},
|
|
4682
4682
|
/* @__PURE__ */ e.createElement(x, { kind: "primary", size: "small", source: Ie })
|
|
@@ -4684,7 +4684,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4684
4684
|
/* @__PURE__ */ e.createElement(
|
|
4685
4685
|
x,
|
|
4686
4686
|
{
|
|
4687
|
-
className:
|
|
4687
|
+
className: be[`${ie}__chevron-icon`],
|
|
4688
4688
|
source: i ? Oa : Ot,
|
|
4689
4689
|
size: "medium",
|
|
4690
4690
|
disabled: c
|
|
@@ -4692,11 +4692,11 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4692
4692
|
)
|
|
4693
4693
|
)
|
|
4694
4694
|
);
|
|
4695
|
-
},
|
|
4696
|
-
tag:
|
|
4695
|
+
}, mn = "lc-Tag-module__tag___1QRVY", pn = "lc-Tag-module__tag__remove___UmtrW", gn = "lc-Tag-module__tag__node___rZTzB", fn = "lc-Tag-module__tag__content___q6vKK", we = {
|
|
4696
|
+
tag: mn,
|
|
4697
4697
|
"tag__content-wrapper": "lc-Tag-module__tag__content-wrapper___oyXA4",
|
|
4698
4698
|
"tag--success": "lc-Tag-module__tag--success___P2hXQ",
|
|
4699
|
-
tag__remove:
|
|
4699
|
+
tag__remove: pn,
|
|
4700
4700
|
"tag--error": "lc-Tag-module__tag--error___1cjsm",
|
|
4701
4701
|
"tag--warning": "lc-Tag-module__tag--warning___PstMG",
|
|
4702
4702
|
"tag--info": "lc-Tag-module__tag--info___RTH0C",
|
|
@@ -4724,9 +4724,9 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4724
4724
|
"tag--text-black": "lc-Tag-module__tag--text-black___dUvmD",
|
|
4725
4725
|
"tag--dismissible-on-hover": "lc-Tag-module__tag--dismissible-on-hover___t68Az",
|
|
4726
4726
|
"tag__remove--hover": "lc-Tag-module__tag__remove--hover___2ROEU",
|
|
4727
|
-
tag__node:
|
|
4728
|
-
tag__content:
|
|
4729
|
-
},
|
|
4727
|
+
tag__node: gn,
|
|
4728
|
+
tag__content: fn
|
|
4729
|
+
}, Ce = "tag", bn = (t) => t ? yr(t, "#FFFFFF") > 4.5 ? "text-white" : "text-black" : "", v_ = (v) => {
|
|
4730
4730
|
var h = v, {
|
|
4731
4731
|
className: t = "",
|
|
4732
4732
|
children: a,
|
|
@@ -4759,15 +4759,15 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4759
4759
|
"value"
|
|
4760
4760
|
]);
|
|
4761
4761
|
const y = _ || c && m, E = u(
|
|
4762
|
-
Ce
|
|
4762
|
+
we[Ce],
|
|
4763
4763
|
t,
|
|
4764
|
-
|
|
4765
|
-
|
|
4764
|
+
we[`${Ce}--${l}`],
|
|
4765
|
+
we[`${Ce}--${n}`],
|
|
4766
4766
|
{
|
|
4767
|
-
[
|
|
4768
|
-
[
|
|
4769
|
-
[
|
|
4770
|
-
[
|
|
4767
|
+
[we[`${Ce}--outline`]]: d,
|
|
4768
|
+
[we[`${Ce}--${bn(p)}`]]: !!p,
|
|
4769
|
+
[we[`${Ce}--icon-only`]]: m,
|
|
4770
|
+
[we[`${Ce}--dismissible-on-hover`]]: y
|
|
4771
4771
|
}
|
|
4772
4772
|
), $ = l === "small" ? "small" : "medium", w = l === "small" ? "sm" : "md", C = () => p ? d ? {
|
|
4773
4773
|
style: {
|
|
@@ -4787,19 +4787,19 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4787
4787
|
as: "div",
|
|
4788
4788
|
size: w
|
|
4789
4789
|
}),
|
|
4790
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
4790
|
+
/* @__PURE__ */ e.createElement("div", { className: we[`${Ce}__content-wrapper`] }, i && !m && /* @__PURE__ */ e.createElement(
|
|
4791
4791
|
"div",
|
|
4792
4792
|
{
|
|
4793
4793
|
"data-testid": "lc-tag-left-node",
|
|
4794
|
-
className:
|
|
4794
|
+
className: we[`${Ce}__node`],
|
|
4795
4795
|
style: { color: g() }
|
|
4796
4796
|
},
|
|
4797
4797
|
i
|
|
4798
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
4798
|
+
), /* @__PURE__ */ e.createElement("div", { className: we[`${Ce}__content`] }, f || a), s && !m && /* @__PURE__ */ e.createElement(
|
|
4799
4799
|
"div",
|
|
4800
4800
|
{
|
|
4801
4801
|
"data-testid": "lc-tag-right-node",
|
|
4802
|
-
className:
|
|
4802
|
+
className: we[`${Ce}__node`],
|
|
4803
4803
|
style: { color: g() }
|
|
4804
4804
|
},
|
|
4805
4805
|
s
|
|
@@ -4812,8 +4812,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4812
4812
|
onClick: c,
|
|
4813
4813
|
role: "button",
|
|
4814
4814
|
"aria-label": "Remove tag",
|
|
4815
|
-
className: u(
|
|
4816
|
-
[
|
|
4815
|
+
className: u(we[`${Ce}__remove`], {
|
|
4816
|
+
[we[`${Ce}__remove--hover`]]: y
|
|
4817
4817
|
})
|
|
4818
4818
|
},
|
|
4819
4819
|
/* @__PURE__ */ e.createElement(
|
|
@@ -4827,7 +4827,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4827
4827
|
)
|
|
4828
4828
|
)
|
|
4829
4829
|
);
|
|
4830
|
-
},
|
|
4830
|
+
}, he = {
|
|
4831
4831
|
"picker-trigger-body": "lc-PickerTriggerBody-module__picker-trigger-body___xL0Rq",
|
|
4832
4832
|
"picker-trigger-body--single": "lc-PickerTriggerBody-module__picker-trigger-body--single___5LWZK",
|
|
4833
4833
|
"picker-trigger-body__item-container": "lc-PickerTriggerBody-module__picker-trigger-body__item-container___5Qs5E",
|
|
@@ -4845,7 +4845,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4845
4845
|
"picker-trigger-body__tag--compact": "lc-PickerTriggerBody-module__picker-trigger-body__tag--compact___vajtL",
|
|
4846
4846
|
"picker-trigger-body__tag--medium": "lc-PickerTriggerBody-module__picker-trigger-body__tag--medium___yhMyC",
|
|
4847
4847
|
"picker-trigger-body__tag--large": "lc-PickerTriggerBody-module__picker-trigger-body__tag--large___FbETT"
|
|
4848
|
-
},
|
|
4848
|
+
}, ve = "picker-trigger-body", hn = ({
|
|
4849
4849
|
isOpen: t,
|
|
4850
4850
|
isSearchDisabled: a,
|
|
4851
4851
|
isDisabled: r,
|
|
@@ -4871,20 +4871,20 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4871
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());
|
|
4872
4872
|
};
|
|
4873
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:
|
|
4874
|
+
const E = (g) => l === "single" && t && !a ? null : g != null && g.customElement ? /* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item`] }, g.customElement.selectedItemBody) : /* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item`] }, g.icon && /* @__PURE__ */ e.createElement(
|
|
4875
4875
|
x,
|
|
4876
4876
|
{
|
|
4877
4877
|
source: g.icon,
|
|
4878
|
-
className:
|
|
4878
|
+
className: he[`${ve}__item__icon`]
|
|
4879
4879
|
}
|
|
4880
4880
|
), g.avatarSrc && /* @__PURE__ */ e.createElement(
|
|
4881
4881
|
"img",
|
|
4882
4882
|
{
|
|
4883
4883
|
src: g.avatarSrc,
|
|
4884
4884
|
alt: "",
|
|
4885
|
-
className:
|
|
4885
|
+
className: he[`${ve}__item__avatar`]
|
|
4886
4886
|
}
|
|
4887
|
-
), /* @__PURE__ */ e.createElement("div", { className:
|
|
4887
|
+
), /* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item__content`] }, g.name)), $ = (g) => s(g.target.value), w = (g) => {
|
|
4888
4888
|
var N, S;
|
|
4889
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);
|
|
4890
4890
|
}, C = () => /* @__PURE__ */ e.createElement(
|
|
@@ -4892,8 +4892,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4892
4892
|
{
|
|
4893
4893
|
ref: v,
|
|
4894
4894
|
className: u(
|
|
4895
|
-
|
|
4896
|
-
|
|
4895
|
+
he[`${ve}__input`],
|
|
4896
|
+
he[`${ve}__input--${c}`]
|
|
4897
4897
|
),
|
|
4898
4898
|
placeholder: _,
|
|
4899
4899
|
onChange: $,
|
|
@@ -4906,25 +4906,25 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4906
4906
|
"div",
|
|
4907
4907
|
{
|
|
4908
4908
|
className: u({
|
|
4909
|
-
[
|
|
4910
|
-
[
|
|
4909
|
+
[he[`${ve}__placeholder`]]: !0,
|
|
4910
|
+
[he[`${ve}__placeholder--disabled`]]: r
|
|
4911
4911
|
})
|
|
4912
4912
|
},
|
|
4913
4913
|
_
|
|
4914
4914
|
) : /* @__PURE__ */ e.createElement(
|
|
4915
4915
|
"div",
|
|
4916
4916
|
{
|
|
4917
|
-
className: u(ve
|
|
4918
|
-
[
|
|
4917
|
+
className: u(he[ve], {
|
|
4918
|
+
[he[`${ve}--single`]]: l === "single"
|
|
4919
4919
|
})
|
|
4920
4920
|
},
|
|
4921
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
4922
|
-
|
|
4921
|
+
/* @__PURE__ */ e.createElement("div", { className: he[`${ve}__item-container`] }, l === "single" ? E(o[0]) : o.map((g) => /* @__PURE__ */ e.createElement(
|
|
4922
|
+
v_,
|
|
4923
4923
|
{
|
|
4924
4924
|
key: g.key,
|
|
4925
4925
|
className: u(
|
|
4926
|
-
|
|
4927
|
-
|
|
4926
|
+
he[`${ve}__tag`],
|
|
4927
|
+
he[`${ve}__tag--${c}`]
|
|
4928
4928
|
),
|
|
4929
4929
|
disabled: r,
|
|
4930
4930
|
onRemove: (N) => {
|
|
@@ -4935,7 +4935,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4935
4935
|
))),
|
|
4936
4936
|
h && C()
|
|
4937
4937
|
);
|
|
4938
|
-
},
|
|
4938
|
+
}, vn = 10, kn = ({
|
|
4939
4939
|
disabled: t,
|
|
4940
4940
|
items: a,
|
|
4941
4941
|
placement: r,
|
|
@@ -4963,34 +4963,34 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
4963
4963
|
ua(4),
|
|
4964
4964
|
Ua({ padding: 10 }),
|
|
4965
4965
|
Er(),
|
|
4966
|
-
|
|
4967
|
-
apply({ availableHeight: L, rects: U, elements:
|
|
4968
|
-
|
|
4966
|
+
o_({
|
|
4967
|
+
apply({ availableHeight: L, rects: U, elements: $e }) {
|
|
4968
|
+
n_.flushSync(() => {
|
|
4969
4969
|
y(
|
|
4970
4970
|
Math.max(
|
|
4971
4971
|
Math.min(o, L),
|
|
4972
4972
|
_
|
|
4973
4973
|
)
|
|
4974
4974
|
);
|
|
4975
|
-
}), Object.assign(
|
|
4975
|
+
}), Object.assign($e.floating.style, {
|
|
4976
4976
|
width: `${U.reference.width}px`
|
|
4977
4977
|
});
|
|
4978
4978
|
},
|
|
4979
|
-
padding:
|
|
4979
|
+
padding: vn
|
|
4980
4980
|
})
|
|
4981
4981
|
]
|
|
4982
4982
|
}), S = pa(g, k({
|
|
4983
4983
|
enabled: !t,
|
|
4984
4984
|
keyboardHandlers: !1,
|
|
4985
4985
|
toggle: !1
|
|
4986
|
-
}, c)), M = fa(g, { role: "listbox" }), G = ga(g, n), I =
|
|
4986
|
+
}, c)), M = fa(g, { role: "listbox" }), G = ga(g, n), I = ro(g, {
|
|
4987
4987
|
enabled: a.length > 0 && !t,
|
|
4988
4988
|
listRef: E,
|
|
4989
4989
|
activeIndex: b,
|
|
4990
4990
|
onNavigate: v,
|
|
4991
4991
|
virtual: !0,
|
|
4992
4992
|
virtualItemRef: $,
|
|
4993
|
-
disabledIndices:
|
|
4993
|
+
disabledIndices: nn(
|
|
4994
4994
|
a,
|
|
4995
4995
|
(L) => !!L.disabled || !!L.groupHeader
|
|
4996
4996
|
)
|
|
@@ -5014,7 +5014,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5014
5014
|
pointer: m,
|
|
5015
5015
|
setPointer: f
|
|
5016
5016
|
};
|
|
5017
|
-
},
|
|
5017
|
+
}, En = ({
|
|
5018
5018
|
selected: t,
|
|
5019
5019
|
options: a,
|
|
5020
5020
|
type: r,
|
|
@@ -5058,11 +5058,11 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5058
5058
|
});
|
|
5059
5059
|
else {
|
|
5060
5060
|
if (s) {
|
|
5061
|
-
const g = (t == null ? void 0 : t.map(lr)) || [], N =
|
|
5061
|
+
const g = (t == null ? void 0 : t.map(lr)) || [], N = jr(g, w);
|
|
5062
5062
|
o(a.filter(({ key: S }) => N.includes(S)));
|
|
5063
5063
|
} else
|
|
5064
5064
|
i((g) => {
|
|
5065
|
-
const N =
|
|
5065
|
+
const N = jr(g, w);
|
|
5066
5066
|
return o(a.filter(({ key: S }) => N.includes(S))), N;
|
|
5067
5067
|
});
|
|
5068
5068
|
n && y();
|
|
@@ -5077,15 +5077,15 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5077
5077
|
handleItemRemove: v,
|
|
5078
5078
|
handleClear: h
|
|
5079
5079
|
};
|
|
5080
|
-
},
|
|
5080
|
+
}, yn = {
|
|
5081
5081
|
"picker-wrapper": "lc-Picker-module__picker-wrapper___2EDne"
|
|
5082
5082
|
}, Ci = (Y) => {
|
|
5083
5083
|
var j = Y, {
|
|
5084
5084
|
id: t,
|
|
5085
5085
|
className: a,
|
|
5086
5086
|
listClassName: r,
|
|
5087
|
-
minListHeight: _ =
|
|
5088
|
-
maxListHeight: o =
|
|
5087
|
+
minListHeight: _ = on,
|
|
5088
|
+
maxListHeight: o = ln,
|
|
5089
5089
|
disabled: l,
|
|
5090
5090
|
error: n,
|
|
5091
5091
|
options: c,
|
|
@@ -5139,8 +5139,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5139
5139
|
"useClickHookProps",
|
|
5140
5140
|
"virtuosoProps"
|
|
5141
5141
|
]);
|
|
5142
|
-
const [L, U] = e.useState(w), [
|
|
5143
|
-
Gt ? !Ne && (E == null || E(
|
|
5142
|
+
const [L, U] = e.useState(w), [$e, Ke] = e.useState(!1), Ue = y !== void 0, Ne = Ue ? y : L, $t = e.useRef(null), ft = (Gt, me) => {
|
|
5143
|
+
Gt ? !Ne && (E == null || E(me)) : Ne && ($ == null || $(me)), !Ue && U(Gt);
|
|
5144
5144
|
}, {
|
|
5145
5145
|
selectedKeys: Nt,
|
|
5146
5146
|
items: bt,
|
|
@@ -5149,7 +5149,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5149
5149
|
handleOnFilter: St,
|
|
5150
5150
|
handleItemRemove: xt,
|
|
5151
5151
|
handleClear: P
|
|
5152
|
-
} =
|
|
5152
|
+
} = En({
|
|
5153
5153
|
selected: d,
|
|
5154
5154
|
options: c,
|
|
5155
5155
|
type: b,
|
|
@@ -5160,7 +5160,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5160
5160
|
inputRef: $t
|
|
5161
5161
|
}), {
|
|
5162
5162
|
context: V,
|
|
5163
|
-
nodeId:
|
|
5163
|
+
nodeId: ue,
|
|
5164
5164
|
getReferenceProps: Ye,
|
|
5165
5165
|
setReference: qe,
|
|
5166
5166
|
getFloatingProps: Wa,
|
|
@@ -5172,7 +5172,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5172
5172
|
activeIndex: Xa,
|
|
5173
5173
|
maxHeight: Ja,
|
|
5174
5174
|
setPointer: ja
|
|
5175
|
-
} =
|
|
5175
|
+
} = kn({
|
|
5176
5176
|
openedOnInit: w,
|
|
5177
5177
|
disabled: l,
|
|
5178
5178
|
items: bt,
|
|
@@ -5186,8 +5186,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5186
5186
|
onVisibilityChange: ft,
|
|
5187
5187
|
searchPhrase: lt
|
|
5188
5188
|
});
|
|
5189
|
-
return /* @__PURE__ */ e.createElement("div", { id: t, className: u(
|
|
5190
|
-
|
|
5189
|
+
return /* @__PURE__ */ e.createElement("div", { id: t, className: u(yn["picker-wrapper"], a) }, /* @__PURE__ */ e.createElement(
|
|
5190
|
+
un,
|
|
5191
5191
|
{
|
|
5192
5192
|
getReferenceProps: Ye,
|
|
5193
5193
|
setReference: qe,
|
|
@@ -5204,7 +5204,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5204
5204
|
setTriggerFocus: Ke
|
|
5205
5205
|
},
|
|
5206
5206
|
/* @__PURE__ */ e.createElement(
|
|
5207
|
-
|
|
5207
|
+
hn,
|
|
5208
5208
|
{
|
|
5209
5209
|
isOpen: Ne,
|
|
5210
5210
|
isSearchDisabled: v,
|
|
@@ -5221,11 +5221,11 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5221
5221
|
onClear: P,
|
|
5222
5222
|
searchPhrase: lt,
|
|
5223
5223
|
virtualItemRef: Za,
|
|
5224
|
-
isTriggerFocused:
|
|
5224
|
+
isTriggerFocused: $e
|
|
5225
5225
|
}
|
|
5226
5226
|
)
|
|
5227
|
-
), /* @__PURE__ */ e.createElement(ha, { id:
|
|
5228
|
-
|
|
5227
|
+
), /* @__PURE__ */ e.createElement(ha, { id: ue }, Ne && /* @__PURE__ */ e.createElement(l_, null, /* @__PURE__ */ e.createElement(
|
|
5228
|
+
dn,
|
|
5229
5229
|
{
|
|
5230
5230
|
pickerType: b,
|
|
5231
5231
|
options: bt,
|
|
@@ -5245,8 +5245,8 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5245
5245
|
virtuosoProps: I
|
|
5246
5246
|
}
|
|
5247
5247
|
))));
|
|
5248
|
-
},
|
|
5249
|
-
popover:
|
|
5248
|
+
}, wn = "lc-Popover-module__popover___8X1b2", Cn = {
|
|
5249
|
+
popover: wn
|
|
5250
5250
|
}, $i = ({
|
|
5251
5251
|
triggerRenderer: t,
|
|
5252
5252
|
onClose: a,
|
|
@@ -5280,7 +5280,7 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5280
5280
|
I,
|
|
5281
5281
|
O,
|
|
5282
5282
|
Y
|
|
5283
|
-
]), U = u(
|
|
5283
|
+
]), U = u(Cn.popover, o), $e = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
5284
5284
|
"div",
|
|
5285
5285
|
T(k({
|
|
5286
5286
|
"data-testid": "popover-trigger-button",
|
|
@@ -5298,9 +5298,9 @@ const Mt = "select-all", ln = (t, a) => {
|
|
|
5298
5298
|
}, L()),
|
|
5299
5299
|
C ? /* @__PURE__ */ e.createElement(B, { as: "div" }, _) : _
|
|
5300
5300
|
))));
|
|
5301
|
-
return y === null ? /* @__PURE__ */ e.createElement(Ha, null,
|
|
5301
|
+
return y === null ? /* @__PURE__ */ e.createElement(Ha, null, $e) : $e;
|
|
5302
5302
|
};
|
|
5303
|
-
function
|
|
5303
|
+
function $n(t, a, r, _) {
|
|
5304
5304
|
return _ && t === 0 ? _ : t === 1 ? a : r;
|
|
5305
5305
|
}
|
|
5306
5306
|
const Be = {
|
|
@@ -5316,7 +5316,7 @@ const Be = {
|
|
|
5316
5316
|
"product-tile__icon": "lc-ProductTile-module__product-tile__icon___ftUbr",
|
|
5317
5317
|
"product-tile__icon--large": "lc-ProductTile-module__product-tile__icon--large___ilwGY",
|
|
5318
5318
|
"product-tile__icon--expired": "lc-ProductTile-module__product-tile__icon--expired___Ne4jK"
|
|
5319
|
-
}, je = "product-tile",
|
|
5319
|
+
}, je = "product-tile", k_ = ({
|
|
5320
5320
|
icon: t,
|
|
5321
5321
|
iconColor: a,
|
|
5322
5322
|
expired: r,
|
|
@@ -5385,7 +5385,7 @@ const Be = {
|
|
|
5385
5385
|
"product-row__name": "lc-ProductRow-module__product-row__name___zxxMl",
|
|
5386
5386
|
"product-row__tooltip-icon": "lc-ProductRow-module__product-row__tooltip-icon___o5AMn",
|
|
5387
5387
|
"product-row__trial-tooltip": "lc-ProductRow-module__product-row__trial-tooltip___h6mp9"
|
|
5388
|
-
}, et = "product-row",
|
|
5388
|
+
}, et = "product-row", Nn = ({
|
|
5389
5389
|
product: {
|
|
5390
5390
|
id: t,
|
|
5391
5391
|
icon: a,
|
|
@@ -5408,13 +5408,13 @@ const Be = {
|
|
|
5408
5408
|
href: n,
|
|
5409
5409
|
target: "_blank",
|
|
5410
5410
|
"aria-label": `Go to ${l} product`,
|
|
5411
|
-
onClick: (b) => m(b, t
|
|
5411
|
+
onClick: (b) => m(b, t),
|
|
5412
5412
|
className: u(Qe[et], {
|
|
5413
5413
|
[Qe[`${et}--expired`]]: i
|
|
5414
5414
|
})
|
|
5415
5415
|
},
|
|
5416
5416
|
/* @__PURE__ */ e.createElement("div", { className: Qe[`${et}__heading`] }, /* @__PURE__ */ e.createElement(
|
|
5417
|
-
|
|
5417
|
+
k_,
|
|
5418
5418
|
{
|
|
5419
5419
|
icon: a,
|
|
5420
5420
|
iconColor: r,
|
|
@@ -5451,16 +5451,136 @@ const Be = {
|
|
|
5451
5451
|
},
|
|
5452
5452
|
s,
|
|
5453
5453
|
" trial ",
|
|
5454
|
-
|
|
5454
|
+
$n(s, "day", "days"),
|
|
5455
5455
|
" ",
|
|
5456
5456
|
"left in your trial. Time to upgrade"
|
|
5457
5457
|
), p)),
|
|
5458
5458
|
d && /* @__PURE__ */ e.createElement(B, { size: "sm", className: Qe[`${et}__shortcut`] }, "⌘", d)
|
|
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 = [
|
|
5459
|
+
)), ea = {
|
|
5460
|
+
"product-switcher": "lc-ProductSwitcher-module__product-switcher___mI-WG",
|
|
5461
|
+
"product-switcher__content": "lc-ProductSwitcher-module__product-switcher__content___6jGuY",
|
|
5462
|
+
"product-switcher__footer": "lc-ProductSwitcher-module__product-switcher__footer___V-2O1",
|
|
5463
|
+
"product-switcher__footer-link": "lc-ProductSwitcher-module__product-switcher__footer-link___NmChu",
|
|
5464
|
+
"product-switcher__tooltip": "lc-ProductSwitcher-module__product-switcher__tooltip___nKPYG"
|
|
5465
|
+
}, ta = "product-switcher", Ni = ({
|
|
5466
|
+
productOptions: t,
|
|
5467
|
+
mainProductId: a,
|
|
5468
|
+
openedOnInit: r = !1,
|
|
5469
|
+
isVisible: _,
|
|
5470
|
+
onOpen: o,
|
|
5471
|
+
onClose: l,
|
|
5472
|
+
onSelect: n,
|
|
5473
|
+
textURL: c = "https://www.text.com"
|
|
5474
|
+
}) => {
|
|
5475
|
+
const [d, i] = e.useState(r), [s, p] = T_(
|
|
5476
|
+
!1
|
|
5477
|
+
), m = Ga(), f = sa(), b = _ !== void 0, v = b ? _ : d, h = (L, U) => {
|
|
5478
|
+
L ? o == null || o(U) : l == null || l(U), !b && i(L);
|
|
5479
|
+
}, { refs: y, context: E, floatingStyles: $ } = da({
|
|
5480
|
+
nodeId: f,
|
|
5481
|
+
strategy: "fixed",
|
|
5482
|
+
placement: "right-start",
|
|
5483
|
+
open: v,
|
|
5484
|
+
onOpenChange: (L, U) => {
|
|
5485
|
+
p(!1), h(L, U);
|
|
5486
|
+
},
|
|
5487
|
+
middleware: [ua({ mainAxis: 5 })],
|
|
5488
|
+
whileElementsMounted: ma
|
|
5489
|
+
}), w = pa(E), C = fa(E), g = ga(E), { isMounted: N, styles: S } = kr(E, {
|
|
5490
|
+
duration: 200,
|
|
5491
|
+
common: {
|
|
5492
|
+
transformOrigin: "left top"
|
|
5493
|
+
},
|
|
5494
|
+
initial: {
|
|
5495
|
+
opacity: 0,
|
|
5496
|
+
transform: "scale(0.84) translateX(-22px)"
|
|
5497
|
+
}
|
|
5498
|
+
}), { getReferenceProps: M, getFloatingProps: G } = ba([
|
|
5499
|
+
w,
|
|
5500
|
+
g,
|
|
5501
|
+
C
|
|
5502
|
+
]), I = t.find(
|
|
5503
|
+
(L) => L.id === a
|
|
5504
|
+
);
|
|
5505
|
+
if (!I)
|
|
5506
|
+
return null;
|
|
5507
|
+
const O = (L, U) => {
|
|
5508
|
+
U === a && L.preventDefault(), i(!1), n == null || n(U);
|
|
5509
|
+
}, Y = t.reduce(
|
|
5510
|
+
(L, U) => L + (U.notificationCount || 0),
|
|
5511
|
+
0
|
|
5512
|
+
), j = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", k({ ref: y.setReference }, M()), /* @__PURE__ */ e.createElement(
|
|
5513
|
+
Lt,
|
|
5514
|
+
{
|
|
5515
|
+
isVisible: s,
|
|
5516
|
+
onOpen: () => p(!0),
|
|
5517
|
+
onClose: () => p(!1),
|
|
5518
|
+
offsetCrossAxis: 2,
|
|
5519
|
+
arrowOffsetY: 2,
|
|
5520
|
+
offsetMainAxis: 10,
|
|
5521
|
+
className: ea[`${ta}__tooltip`],
|
|
5522
|
+
placement: "right",
|
|
5523
|
+
floatingStrategy: "fixed",
|
|
5524
|
+
kind: "invert",
|
|
5525
|
+
triggerRenderer: /* @__PURE__ */ e.createElement(
|
|
5526
|
+
k_,
|
|
5527
|
+
{
|
|
5528
|
+
isMainProduct: !0,
|
|
5529
|
+
icon: I.icon,
|
|
5530
|
+
iconColor: I.iconColor,
|
|
5531
|
+
backgroundColors: I.backgroundColors,
|
|
5532
|
+
notificationCount: Y
|
|
5533
|
+
}
|
|
5534
|
+
)
|
|
5535
|
+
},
|
|
5536
|
+
"Switch product"
|
|
5537
|
+
)), /* @__PURE__ */ e.createElement(ha, { id: f }, /* @__PURE__ */ e.createElement(
|
|
5538
|
+
"div",
|
|
5539
|
+
k({
|
|
5540
|
+
ref: y.setFloating,
|
|
5541
|
+
style: $
|
|
5542
|
+
}, G()),
|
|
5543
|
+
N && /* @__PURE__ */ e.createElement(
|
|
5544
|
+
"div",
|
|
5545
|
+
{
|
|
5546
|
+
className: u("lc-dark-theme", ea[ta]),
|
|
5547
|
+
style: S
|
|
5548
|
+
},
|
|
5549
|
+
/* @__PURE__ */ e.createElement("div", { className: ea[`${ta}__content`] }, t.map((L) => /* @__PURE__ */ e.createElement(
|
|
5550
|
+
Nn,
|
|
5551
|
+
{
|
|
5552
|
+
key: L.id,
|
|
5553
|
+
isActive: L.id === a,
|
|
5554
|
+
product: L,
|
|
5555
|
+
onClick: O
|
|
5556
|
+
}
|
|
5557
|
+
))),
|
|
5558
|
+
/* @__PURE__ */ e.createElement("div", { className: ea[`${ta}__footer`] }, /* @__PURE__ */ e.createElement(
|
|
5559
|
+
"a",
|
|
5560
|
+
{
|
|
5561
|
+
href: c,
|
|
5562
|
+
target: "_blank",
|
|
5563
|
+
className: ea[`${ta}__footer-link`],
|
|
5564
|
+
onClick: () => h(!1)
|
|
5565
|
+
},
|
|
5566
|
+
/* @__PURE__ */ e.createElement(B, { noMargin: !0 }, "powered by"),
|
|
5567
|
+
/* @__PURE__ */ e.createElement(
|
|
5568
|
+
x,
|
|
5569
|
+
{
|
|
5570
|
+
size: "xlarge",
|
|
5571
|
+
source: L_,
|
|
5572
|
+
customColor: "var(--content-locked-white)"
|
|
5573
|
+
}
|
|
5574
|
+
)
|
|
5575
|
+
))
|
|
5576
|
+
)
|
|
5577
|
+
)));
|
|
5578
|
+
return m === null ? /* @__PURE__ */ e.createElement(Ha, null, j) : j;
|
|
5579
|
+
}, Sn = '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', xn = [
|
|
5460
5580
|
{
|
|
5461
5581
|
id: "livechat",
|
|
5462
5582
|
name: "LiveChat",
|
|
5463
|
-
icon:
|
|
5583
|
+
icon: O_,
|
|
5464
5584
|
backgroundColors: {
|
|
5465
5585
|
main: "var(--products-livechat)",
|
|
5466
5586
|
second: "var(--products-helpdesk)",
|
|
@@ -5471,7 +5591,7 @@ const Be = {
|
|
|
5471
5591
|
{
|
|
5472
5592
|
id: "chatbot",
|
|
5473
5593
|
name: "ChatBot",
|
|
5474
|
-
icon:
|
|
5594
|
+
icon: G_,
|
|
5475
5595
|
backgroundColors: {
|
|
5476
5596
|
main: "var(--products-chatbot)",
|
|
5477
5597
|
second: "var(--products-livechat)",
|
|
@@ -5482,7 +5602,7 @@ const Be = {
|
|
|
5482
5602
|
{
|
|
5483
5603
|
id: "helpdesk",
|
|
5484
5604
|
name: "HelpDesk",
|
|
5485
|
-
icon:
|
|
5605
|
+
icon: U_,
|
|
5486
5606
|
backgroundColors: {
|
|
5487
5607
|
main: "var(--products-helpdesk)",
|
|
5488
5608
|
second: "var(--products-livechat)",
|
|
@@ -5494,7 +5614,7 @@ const Be = {
|
|
|
5494
5614
|
{
|
|
5495
5615
|
id: "knowledgebase",
|
|
5496
5616
|
name: "KnowledgeBase",
|
|
5497
|
-
icon:
|
|
5617
|
+
icon: H_,
|
|
5498
5618
|
backgroundColors: {
|
|
5499
5619
|
main: "var(--products-knowledgebase)",
|
|
5500
5620
|
second: "var(--products-helpdesk)",
|
|
@@ -5506,9 +5626,9 @@ const Be = {
|
|
|
5506
5626
|
{
|
|
5507
5627
|
id: "openwidget",
|
|
5508
5628
|
name: "OpenWidget",
|
|
5509
|
-
icon:
|
|
5629
|
+
icon: z_,
|
|
5510
5630
|
backgroundColors: {
|
|
5511
|
-
main: `url('${
|
|
5631
|
+
main: `url('${Sn}')`,
|
|
5512
5632
|
second: "var(--products-livechat)",
|
|
5513
5633
|
third: "var(--products-chatbot)"
|
|
5514
5634
|
},
|
|
@@ -5517,7 +5637,7 @@ const Be = {
|
|
|
5517
5637
|
{
|
|
5518
5638
|
id: "hello",
|
|
5519
5639
|
name: "Hello",
|
|
5520
|
-
icon:
|
|
5640
|
+
icon: W_,
|
|
5521
5641
|
backgroundColors: {
|
|
5522
5642
|
main: "var(--products-hello)",
|
|
5523
5643
|
second: "var(--products-livechat)",
|
|
@@ -5528,7 +5648,7 @@ const Be = {
|
|
|
5528
5648
|
{
|
|
5529
5649
|
id: "accounts",
|
|
5530
5650
|
name: "Accounts",
|
|
5531
|
-
icon:
|
|
5651
|
+
icon: V_,
|
|
5532
5652
|
backgroundColors: {
|
|
5533
5653
|
main: "var(--surface-locked-white)",
|
|
5534
5654
|
second: "var(--products-livechat)",
|
|
@@ -5538,7 +5658,7 @@ const Be = {
|
|
|
5538
5658
|
withDivider: !0,
|
|
5539
5659
|
url: ""
|
|
5540
5660
|
}
|
|
5541
|
-
],
|
|
5661
|
+
], Bn = [
|
|
5542
5662
|
{
|
|
5543
5663
|
clientId: "58737b5829e65621a45d598aa6f2ed8e",
|
|
5544
5664
|
redirectUri: "https://my.labs.livechatinc.com",
|
|
@@ -5571,7 +5691,7 @@ const Be = {
|
|
|
5571
5691
|
redirectUri: "https://accounts.labs.livechat.com/panel",
|
|
5572
5692
|
product: "Accounts"
|
|
5573
5693
|
}
|
|
5574
|
-
],
|
|
5694
|
+
], In = [
|
|
5575
5695
|
{
|
|
5576
5696
|
clientId: "bb9e5b2f1ab480e4a715977b7b1b4279",
|
|
5577
5697
|
redirectUri: "https://my.staging.livechatinc.com",
|
|
@@ -5579,7 +5699,7 @@ const Be = {
|
|
|
5579
5699
|
},
|
|
5580
5700
|
{
|
|
5581
5701
|
clientId: "82837eac-ff5e-45ca-bce1-00011acf925c",
|
|
5582
|
-
redirectUri: "https://app.helpdesk.com",
|
|
5702
|
+
redirectUri: "https://app.staging.helpdesk.com",
|
|
5583
5703
|
product: "HelpDesk"
|
|
5584
5704
|
},
|
|
5585
5705
|
{
|
|
@@ -5604,7 +5724,7 @@ const Be = {
|
|
|
5604
5724
|
redirectUri: "https://accounts.staging.livechat.com/panel",
|
|
5605
5725
|
product: "Accounts"
|
|
5606
5726
|
}
|
|
5607
|
-
],
|
|
5727
|
+
], E_ = [
|
|
5608
5728
|
{
|
|
5609
5729
|
clientId: "bb9e5b2f1ab480e4a715977b7b1b4279",
|
|
5610
5730
|
redirectUri: "https://my.livechatinc.com",
|
|
@@ -5637,12 +5757,12 @@ const Be = {
|
|
|
5637
5757
|
redirectUri: "https://accounts.livechat.com/panel",
|
|
5638
5758
|
product: "Accounts"
|
|
5639
5759
|
}
|
|
5640
|
-
],
|
|
5760
|
+
], Tn = [
|
|
5641
5761
|
"livechat",
|
|
5642
5762
|
"chatbot",
|
|
5643
5763
|
"helpdesk",
|
|
5644
5764
|
"accounts"
|
|
5645
|
-
],
|
|
5765
|
+
], xr = {
|
|
5646
5766
|
livechat: "LiveChat",
|
|
5647
5767
|
helpdesk: "HelpDesk",
|
|
5648
5768
|
accounts: "Accounts",
|
|
@@ -5650,192 +5770,79 @@ const Be = {
|
|
|
5650
5770
|
chatbot: "ChatBot",
|
|
5651
5771
|
openwidget: "OpenWidget",
|
|
5652
5772
|
hello: "Hello"
|
|
5653
|
-
},
|
|
5654
|
-
let
|
|
5655
|
-
|
|
5773
|
+
}, Dn = (t, a, r, _, o) => {
|
|
5774
|
+
let l = "";
|
|
5775
|
+
o && o !== "prod" ? l += `https://accounts.${o}.livechat.com` : l += "https://accounts.livechat.com";
|
|
5776
|
+
const n = Rn(o, _), c = `${l}?client_id=${t}&redirect_uri=${encodeURIComponent(
|
|
5656
5777
|
a
|
|
5657
5778
|
)}&response_type=token&organization_id=${r}`;
|
|
5658
|
-
|
|
5779
|
+
return n ? `${c}&utm_source=${n}&utm_medium=referral&utm_campaign=productswitcher` : c;
|
|
5780
|
+
}, Pn = (t) => {
|
|
5659
5781
|
const a = new Date(t), r = /* @__PURE__ */ new Date();
|
|
5660
|
-
return
|
|
5661
|
-
},
|
|
5662
|
-
(r) => r.product ===
|
|
5663
|
-
),
|
|
5664
|
-
var
|
|
5665
|
-
const
|
|
5666
|
-
(
|
|
5782
|
+
return lo(a) ? 0 : wr(a, r);
|
|
5783
|
+
}, An = (t, a) => Tn.includes(t) || a.some(
|
|
5784
|
+
(r) => r.product === xr[t]
|
|
5785
|
+
), Fn = (t, a, r, _, o, l) => {
|
|
5786
|
+
var c, d, i, s, p;
|
|
5787
|
+
const n = a.find(
|
|
5788
|
+
(m) => m.product === xr[t.id]
|
|
5667
5789
|
);
|
|
5668
|
-
if (!
|
|
5790
|
+
if (!n)
|
|
5669
5791
|
throw new Error(`Product data for ${t.id} not found`);
|
|
5670
5792
|
return T(k({}, t), {
|
|
5671
|
-
trialDaysLeft: r[t.id] && ((
|
|
5672
|
-
expired: ((
|
|
5673
|
-
url:
|
|
5674
|
-
|
|
5675
|
-
|
|
5793
|
+
trialDaysLeft: r[t.id] && ((c = r[t.id]) == null ? void 0 : c.status) === "trial" && ((d = r[t.id]) != null && d.next_charge_at) ? Pn((s = (i = r[t.id]) == null ? void 0 : i.next_charge_at) != null ? s : "") : void 0,
|
|
5794
|
+
expired: ((p = r[t.id]) == null ? void 0 : p.status) === "expired",
|
|
5795
|
+
url: Dn(
|
|
5796
|
+
n.clientId,
|
|
5797
|
+
n.redirectUri,
|
|
5676
5798
|
_,
|
|
5677
|
-
o
|
|
5799
|
+
o,
|
|
5800
|
+
l
|
|
5678
5801
|
)
|
|
5679
5802
|
});
|
|
5680
|
-
},
|
|
5803
|
+
}, y_ = (t) => {
|
|
5681
5804
|
switch (t) {
|
|
5682
5805
|
case "prod":
|
|
5683
|
-
return
|
|
5806
|
+
return E_;
|
|
5684
5807
|
case "staging":
|
|
5685
|
-
return
|
|
5808
|
+
return In;
|
|
5686
5809
|
case "labs":
|
|
5687
|
-
return
|
|
5810
|
+
return Bn;
|
|
5688
5811
|
default:
|
|
5689
5812
|
return [];
|
|
5690
5813
|
}
|
|
5691
5814
|
}, Rn = (t, a) => {
|
|
5692
|
-
const
|
|
5693
|
-
|
|
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
|
|
5815
|
+
const _ = y_(t).find(
|
|
5816
|
+
(o) => o.product === xr[a]
|
|
5739
5817
|
);
|
|
5740
|
-
|
|
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;
|
|
5818
|
+
return _ == null ? void 0 : _.redirectUri.replace("https://", "");
|
|
5814
5819
|
}, Si = ({
|
|
5815
|
-
env: t,
|
|
5820
|
+
env: t = "prod",
|
|
5816
5821
|
installedProducts: a,
|
|
5817
5822
|
subscriptions: r,
|
|
5818
|
-
organizationId: _
|
|
5823
|
+
organizationId: _,
|
|
5824
|
+
mainProductId: o
|
|
5819
5825
|
}) => {
|
|
5820
5826
|
if (!a || !r || !_)
|
|
5821
5827
|
throw new Error("Missing required parameters");
|
|
5822
|
-
const
|
|
5828
|
+
const l = t ? y_(t) : E_;
|
|
5823
5829
|
return {
|
|
5824
|
-
products:
|
|
5825
|
-
(
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
|
|
5830
|
+
products: xn.reduce(
|
|
5831
|
+
(n, c) => (An(c.id, a) && n.push(
|
|
5832
|
+
Fn(
|
|
5833
|
+
c,
|
|
5834
|
+
l,
|
|
5829
5835
|
r,
|
|
5830
5836
|
_,
|
|
5837
|
+
o,
|
|
5831
5838
|
t
|
|
5832
5839
|
)
|
|
5833
|
-
),
|
|
5840
|
+
), n),
|
|
5834
5841
|
[]
|
|
5835
5842
|
)
|
|
5836
5843
|
};
|
|
5837
5844
|
}, Mn = (t) => Math.min(Math.max(t, 0), 100);
|
|
5838
|
-
function
|
|
5845
|
+
function w_(t, a = 0) {
|
|
5839
5846
|
return t === "error" ? 0 : Mn(parseInt(a.toString(), 10));
|
|
5840
5847
|
}
|
|
5841
5848
|
const aa = {
|
|
@@ -5870,7 +5877,7 @@ const aa = {
|
|
|
5870
5877
|
"className",
|
|
5871
5878
|
"size"
|
|
5872
5879
|
]);
|
|
5873
|
-
const d =
|
|
5880
|
+
const d = w_(t, a), i = Ln[_], s = On[_], p = u(
|
|
5874
5881
|
aa[ra],
|
|
5875
5882
|
{
|
|
5876
5883
|
[aa[`${ra}--${_}`]]: _,
|
|
@@ -5935,7 +5942,7 @@ const aa = {
|
|
|
5935
5942
|
"size",
|
|
5936
5943
|
"className"
|
|
5937
5944
|
]);
|
|
5938
|
-
const d =
|
|
5945
|
+
const d = w_(t, a), i = u(
|
|
5939
5946
|
Ia[Ta],
|
|
5940
5947
|
{
|
|
5941
5948
|
[Ia[`${Ta}--${r}`]]: r,
|
|
@@ -5994,7 +6001,7 @@ const aa = {
|
|
|
5994
6001
|
t
|
|
5995
6002
|
);
|
|
5996
6003
|
e.useEffect(() => {
|
|
5997
|
-
const v = () => s.current && s.current.offsetWidth <= Hn ? m("small") : s.current && s.current.offsetWidth >= zn ? m("large") : m("medium"), h =
|
|
6004
|
+
const v = () => s.current && s.current.offsetWidth <= Hn ? m("small") : s.current && s.current.offsetWidth >= zn ? m("large") : m("medium"), h = c_(
|
|
5998
6005
|
v,
|
|
5999
6006
|
Wn
|
|
6000
6007
|
);
|
|
@@ -6139,7 +6146,7 @@ const aa = {
|
|
|
6139
6146
|
"search-input__loader": "lc-Search-module__search-input__loader___pkpIG",
|
|
6140
6147
|
"search-input__input-wrapper": "lc-Search-module__search-input__input-wrapper___k8bvn",
|
|
6141
6148
|
"search-input__input-wrapper--crop": "lc-Search-module__search-input__input-wrapper--crop___nBPKY"
|
|
6142
|
-
}, We = "search-input",
|
|
6149
|
+
}, We = "search-input", Qr = `${We}__input-wrapper`, Ti = ({
|
|
6143
6150
|
isCollapsable: t,
|
|
6144
6151
|
isDisabled: a,
|
|
6145
6152
|
isLoading: r,
|
|
@@ -6189,7 +6196,7 @@ const aa = {
|
|
|
6189
6196
|
x,
|
|
6190
6197
|
{
|
|
6191
6198
|
className: Re[`${We}__search-icon`],
|
|
6192
|
-
source:
|
|
6199
|
+
source: K_,
|
|
6193
6200
|
disabled: a,
|
|
6194
6201
|
kind: "primary"
|
|
6195
6202
|
}
|
|
@@ -6199,8 +6206,8 @@ const aa = {
|
|
|
6199
6206
|
{
|
|
6200
6207
|
as: "div",
|
|
6201
6208
|
className: u(
|
|
6202
|
-
Re[
|
|
6203
|
-
c && Re[`${
|
|
6209
|
+
Re[Qr],
|
|
6210
|
+
c && Re[`${Qr}--crop`]
|
|
6204
6211
|
)
|
|
6205
6212
|
},
|
|
6206
6213
|
/* @__PURE__ */ e.createElement(
|
|
@@ -6242,7 +6249,7 @@ const aa = {
|
|
|
6242
6249
|
loading: Vn,
|
|
6243
6250
|
"skeleton-text": "lc-Skeleton-module__skeleton-text___rgElk",
|
|
6244
6251
|
"skeleton-text--animated": "lc-Skeleton-module__skeleton-text--animated___xOUsy"
|
|
6245
|
-
},
|
|
6252
|
+
}, e_ = "skeleton-wrapper", Di = (o) => {
|
|
6246
6253
|
var l = o, {
|
|
6247
6254
|
children: t,
|
|
6248
6255
|
vertical: a,
|
|
@@ -6258,8 +6265,8 @@ const aa = {
|
|
|
6258
6265
|
return /* @__PURE__ */ e.createElement(
|
|
6259
6266
|
"div",
|
|
6260
6267
|
k({
|
|
6261
|
-
className: u(Ct[`${
|
|
6262
|
-
[Ct[`${
|
|
6268
|
+
className: u(Ct[`${e_}`], {
|
|
6269
|
+
[Ct[`${e_}--vertical`]]: a
|
|
6263
6270
|
})
|
|
6264
6271
|
}, _),
|
|
6265
6272
|
n
|
|
@@ -6280,15 +6287,15 @@ const aa = {
|
|
|
6280
6287
|
height: a
|
|
6281
6288
|
}
|
|
6282
6289
|
}
|
|
6283
|
-
),
|
|
6290
|
+
), t_ = "skeleton-text", Ai = ({
|
|
6284
6291
|
height: t = 13,
|
|
6285
6292
|
width: a,
|
|
6286
6293
|
animated: r
|
|
6287
6294
|
}) => /* @__PURE__ */ e.createElement(
|
|
6288
6295
|
"div",
|
|
6289
6296
|
{
|
|
6290
|
-
className: u(Ct[`${
|
|
6291
|
-
[Ct[`${
|
|
6297
|
+
className: u(Ct[`${t_}`], {
|
|
6298
|
+
[Ct[`${t_}--animated`]]: r
|
|
6292
6299
|
}),
|
|
6293
6300
|
style: {
|
|
6294
6301
|
height: t,
|
|
@@ -6454,7 +6461,7 @@ const aa = {
|
|
|
6454
6461
|
className: ae[`${te}__icon`],
|
|
6455
6462
|
"data-testid": "lock-icon",
|
|
6456
6463
|
size: C,
|
|
6457
|
-
source:
|
|
6464
|
+
source: Y_,
|
|
6458
6465
|
kind: "primary"
|
|
6459
6466
|
}
|
|
6460
6467
|
)
|
|
@@ -6517,16 +6524,16 @@ const aa = {
|
|
|
6517
6524
|
}
|
|
6518
6525
|
)
|
|
6519
6526
|
);
|
|
6520
|
-
}, ac = "lc-TabsWrapper-module__tabs___Y2xyD", rc = "lc-TabsWrapper-module__tabs__list___i6tVO",
|
|
6527
|
+
}, ac = "lc-TabsWrapper-module__tabs___Y2xyD", rc = "lc-TabsWrapper-module__tabs__list___i6tVO", C_ = {
|
|
6521
6528
|
tabs: ac,
|
|
6522
6529
|
tabs__list: rc
|
|
6523
|
-
},
|
|
6530
|
+
}, $_ = "tabs", Li = ({
|
|
6524
6531
|
className: t,
|
|
6525
6532
|
children: a
|
|
6526
|
-
}) => /* @__PURE__ */ e.createElement("div", { className: u(
|
|
6533
|
+
}) => /* @__PURE__ */ e.createElement("div", { className: u(C_[$_], t) }, a), Oi = ({
|
|
6527
6534
|
className: t,
|
|
6528
6535
|
children: a
|
|
6529
|
-
}) => /* @__PURE__ */ e.createElement("div", { role: "tablist", className: u(
|
|
6536
|
+
}) => /* @__PURE__ */ e.createElement("div", { role: "tablist", className: u(C_[`${$_}__list`], t) }, a), la = {
|
|
6530
6537
|
"tag-input": "lc-TagInput-module__tag-input___CLVY-",
|
|
6531
6538
|
"tag-input--error": "lc-TagInput-module__tag-input--error___RP0SB",
|
|
6532
6539
|
"tag-input__input": "lc-TagInput-module__tag-input__input___dgEYB",
|
|
@@ -6564,7 +6571,7 @@ const aa = {
|
|
|
6564
6571
|
}, f = (b) => {
|
|
6565
6572
|
b.preventDefault();
|
|
6566
6573
|
const v = b.clipboardData.getData("text/plain");
|
|
6567
|
-
document.execCommand("insertHTML", !1,
|
|
6574
|
+
document.execCommand("insertHTML", !1, Pr(v));
|
|
6568
6575
|
};
|
|
6569
6576
|
return /* @__PURE__ */ e.createElement(
|
|
6570
6577
|
"div",
|
|
@@ -6575,10 +6582,10 @@ const aa = {
|
|
|
6575
6582
|
onPaste: f,
|
|
6576
6583
|
onBlur: m,
|
|
6577
6584
|
onKeyDown: p,
|
|
6578
|
-
dangerouslySetInnerHTML: { __html:
|
|
6585
|
+
dangerouslySetInnerHTML: { __html: Pr(l) }
|
|
6579
6586
|
}
|
|
6580
6587
|
);
|
|
6581
|
-
}, oc = "tag-input__tag",
|
|
6588
|
+
}, oc = "tag-input__tag", a_ = ({
|
|
6582
6589
|
children: t,
|
|
6583
6590
|
index: a,
|
|
6584
6591
|
remove: r,
|
|
@@ -6589,7 +6596,7 @@ const aa = {
|
|
|
6589
6596
|
tagProps: c
|
|
6590
6597
|
}) => {
|
|
6591
6598
|
const d = e.useMemo(() => _ !== void 0 ? _(t) : !0, [t, _]), i = e.useRef(null), s = () => r(a), p = () => d ? c ? c.kind : "default" : "error";
|
|
6592
|
-
return /* @__PURE__ */ e.createElement(
|
|
6599
|
+
return /* @__PURE__ */ e.createElement(v_, T(k({ size: n }, c), { kind: p(), onRemove: s }), /* @__PURE__ */ e.createElement(
|
|
6593
6600
|
_c,
|
|
6594
6601
|
{
|
|
6595
6602
|
value: t,
|
|
@@ -6663,7 +6670,7 @@ const aa = {
|
|
|
6663
6670
|
}, S = (I, O) => {
|
|
6664
6671
|
const Y = [...a || []];
|
|
6665
6672
|
Y.reduce(
|
|
6666
|
-
(L, U,
|
|
6673
|
+
(L, U, $e) => L + (U === O && $e !== I ? 1 : 0),
|
|
6667
6674
|
0
|
|
6668
6675
|
) > 0 ? Y.splice(I, 1) : Y[I] = O, r(Y);
|
|
6669
6676
|
}, M = (I) => {
|
|
@@ -6671,7 +6678,7 @@ const aa = {
|
|
|
6671
6678
|
const Y = I.clipboardData.getData("text/plain").split(/[\s,;\n]+/);
|
|
6672
6679
|
r([...a || [], ...Y]);
|
|
6673
6680
|
}, G = (I, O) => typeof I == "string" ? /* @__PURE__ */ e.createElement(
|
|
6674
|
-
|
|
6681
|
+
a_,
|
|
6675
6682
|
{
|
|
6676
6683
|
index: O,
|
|
6677
6684
|
key: `${O}${I}`,
|
|
@@ -6683,7 +6690,7 @@ const aa = {
|
|
|
6683
6690
|
},
|
|
6684
6691
|
I
|
|
6685
6692
|
) : /* @__PURE__ */ e.createElement(
|
|
6686
|
-
|
|
6693
|
+
a_,
|
|
6687
6694
|
{
|
|
6688
6695
|
index: O,
|
|
6689
6696
|
key: `${O}${I.children}`,
|
|
@@ -6752,10 +6759,10 @@ const aa = {
|
|
|
6752
6759
|
source: vr
|
|
6753
6760
|
},
|
|
6754
6761
|
warning: {
|
|
6755
|
-
source:
|
|
6762
|
+
source: r_
|
|
6756
6763
|
},
|
|
6757
6764
|
error: {
|
|
6758
|
-
source:
|
|
6765
|
+
source: __
|
|
6759
6766
|
},
|
|
6760
6767
|
info: {
|
|
6761
6768
|
source: ca
|
|
@@ -6821,8 +6828,8 @@ const aa = {
|
|
|
6821
6828
|
},
|
|
6822
6829
|
t
|
|
6823
6830
|
);
|
|
6824
|
-
return /* @__PURE__ */ e.createElement("div", { className: c }, /* @__PURE__ */ e.createElement(
|
|
6825
|
-
|
|
6831
|
+
return /* @__PURE__ */ e.createElement("div", { className: c }, /* @__PURE__ */ e.createElement(i_, { component: null }, a.map(({ id: d, kind: i, content: s, removable: p, action: m, onClose: f }) => /* @__PURE__ */ e.createElement(
|
|
6832
|
+
s_,
|
|
6826
6833
|
{
|
|
6827
6834
|
key: d,
|
|
6828
6835
|
classNames: {
|
|
@@ -6884,7 +6891,7 @@ const aa = {
|
|
|
6884
6891
|
"aria-label": "Retry",
|
|
6885
6892
|
onClick: r
|
|
6886
6893
|
},
|
|
6887
|
-
/* @__PURE__ */ e.createElement(x, { size: "small", source:
|
|
6894
|
+
/* @__PURE__ */ e.createElement(x, { size: "small", source: q_ })
|
|
6888
6895
|
), a && t !== "success" && /* @__PURE__ */ e.createElement(
|
|
6889
6896
|
"button",
|
|
6890
6897
|
{
|
|
@@ -6988,7 +6995,7 @@ const aa = {
|
|
|
6988
6995
|
"upload-bar__files--exit-done": "lc-UploadBar-module__upload-bar__files--exit-done___2I72G",
|
|
6989
6996
|
"upload-bar__files-wrapper": "lc-UploadBar-module__upload-bar__files-wrapper___93bs8",
|
|
6990
6997
|
"upload-bar__files__list": "lc-UploadBar-module__upload-bar__files__list___QJFEq"
|
|
6991
|
-
},
|
|
6998
|
+
}, ke = "upload-bar", ot = `${ke}__wrapper__header`, wc = 300, Cc = (t, a) => t === "success" ? /* @__PURE__ */ e.createElement(
|
|
6992
6999
|
"div",
|
|
6993
7000
|
{
|
|
6994
7001
|
"data-testid": "success-icon",
|
|
@@ -7001,7 +7008,7 @@ const aa = {
|
|
|
7001
7008
|
"data-testid": "error-icon",
|
|
7002
7009
|
className: K[`${ot}__error-icon`]
|
|
7003
7010
|
},
|
|
7004
|
-
/* @__PURE__ */ e.createElement(x, { source:
|
|
7011
|
+
/* @__PURE__ */ e.createElement(x, { source: Z_ })
|
|
7005
7012
|
) : /* @__PURE__ */ e.createElement(
|
|
7006
7013
|
Gn,
|
|
7007
7014
|
{
|
|
@@ -7023,11 +7030,11 @@ const aa = {
|
|
|
7023
7030
|
onCloseButtonClick: s,
|
|
7024
7031
|
onRetryButtonClick: p
|
|
7025
7032
|
}) => {
|
|
7026
|
-
const [m, f] = e.useState(o || !1), b = n === "error", v = n === "success", h = u(K[
|
|
7027
|
-
[K[`${
|
|
7028
|
-
[K[`${
|
|
7033
|
+
const [m, f] = e.useState(o || !1), b = n === "error", v = n === "success", h = u(K[ke], a, {
|
|
7034
|
+
[K[`${ke}--error`]]: b,
|
|
7035
|
+
[K[`${ke}--success`]]: v
|
|
7029
7036
|
}), y = !(b && (p || s)), E = () => f(!m);
|
|
7030
|
-
return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: h }, /* @__PURE__ */ e.createElement("div", { className: K[`${
|
|
7037
|
+
return i === "single" ? /* @__PURE__ */ e.createElement("div", { className: h }, /* @__PURE__ */ e.createElement("div", { className: K[`${ke}__wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ot}`] }, /* @__PURE__ */ e.createElement(
|
|
7031
7038
|
yc,
|
|
7032
7039
|
{
|
|
7033
7040
|
title: b && l || _,
|
|
@@ -7046,7 +7053,7 @@ const aa = {
|
|
|
7046
7053
|
))) : /* @__PURE__ */ e.createElement("div", { className: h }, /* @__PURE__ */ e.createElement(
|
|
7047
7054
|
"div",
|
|
7048
7055
|
{
|
|
7049
|
-
className: K[`${
|
|
7056
|
+
className: K[`${ke}__wrapper`],
|
|
7050
7057
|
onClick: E
|
|
7051
7058
|
},
|
|
7052
7059
|
/* @__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(
|
|
@@ -7066,37 +7073,37 @@ const aa = {
|
|
|
7066
7073
|
onRetryButtonClick: p
|
|
7067
7074
|
}
|
|
7068
7075
|
)))
|
|
7069
|
-
), /* @__PURE__ */ e.createElement(
|
|
7070
|
-
|
|
7076
|
+
), /* @__PURE__ */ e.createElement(i_, { component: null }, m && /* @__PURE__ */ e.createElement(
|
|
7077
|
+
s_,
|
|
7071
7078
|
{
|
|
7072
7079
|
timeout: wc,
|
|
7073
7080
|
classNames: {
|
|
7074
|
-
enter: K[`${
|
|
7075
|
-
enterActive: K[`${
|
|
7076
|
-
exit: K[`${
|
|
7077
|
-
exitActive: K[`${
|
|
7078
|
-
exitDone: K[`${
|
|
7081
|
+
enter: K[`${ke}__files--enter`],
|
|
7082
|
+
enterActive: K[`${ke}__files--enter-active`],
|
|
7083
|
+
exit: K[`${ke}__files--exit`],
|
|
7084
|
+
exitActive: K[`${ke}__files--exit-active`],
|
|
7085
|
+
exitDone: K[`${ke}__files--exit-done`]
|
|
7079
7086
|
}
|
|
7080
7087
|
},
|
|
7081
|
-
/* @__PURE__ */ e.createElement("div", { className: K[`${
|
|
7088
|
+
/* @__PURE__ */ e.createElement("div", { className: K[`${ke}__files`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ke}__files-wrapper`] }, /* @__PURE__ */ e.createElement("div", { className: K[`${ke}__files__list`] }, t)))
|
|
7082
7089
|
)));
|
|
7083
7090
|
};
|
|
7084
7091
|
export {
|
|
7085
7092
|
hc as ANIMATION_TIME,
|
|
7086
7093
|
jc as ActionBar,
|
|
7087
7094
|
Qc as ActionCard,
|
|
7088
|
-
|
|
7089
|
-
|
|
7095
|
+
po as ActionMenu,
|
|
7096
|
+
go as ActionMenuItem,
|
|
7090
7097
|
Ei as ActionModalContent,
|
|
7091
7098
|
ei as Alert,
|
|
7092
7099
|
ti as AppFrame,
|
|
7093
|
-
|
|
7094
|
-
|
|
7100
|
+
io as AppFrameProvider,
|
|
7101
|
+
sl as Avatar,
|
|
7095
7102
|
Ra as Badge,
|
|
7096
7103
|
W as Button,
|
|
7097
7104
|
ci as Card,
|
|
7098
|
-
|
|
7099
|
-
|
|
7105
|
+
Pl as Checkbox,
|
|
7106
|
+
Gl as DatePicker,
|
|
7100
7107
|
ii as DatePickerRangeCalendarsWrapper,
|
|
7101
7108
|
Lc as DesignToken,
|
|
7102
7109
|
si as DetailsCard,
|
|
@@ -7119,40 +7126,40 @@ export {
|
|
|
7119
7126
|
bi as Link,
|
|
7120
7127
|
Cr as Loader,
|
|
7121
7128
|
hi as Modal,
|
|
7122
|
-
|
|
7123
|
-
|
|
7129
|
+
tn as ModalBase,
|
|
7130
|
+
Jr as ModalCloseButton,
|
|
7124
7131
|
ki as ModalHeader,
|
|
7125
7132
|
vi as ModalPortal,
|
|
7126
7133
|
li as Navigation,
|
|
7127
7134
|
_i as NavigationGroup,
|
|
7128
7135
|
oi as NavigationItem,
|
|
7129
|
-
|
|
7130
|
-
|
|
7131
|
-
|
|
7136
|
+
f_ as NavigationTopBar,
|
|
7137
|
+
al as NavigationTopBarAlert,
|
|
7138
|
+
tl as NavigationTopBarTitle,
|
|
7132
7139
|
yi as NumericInput,
|
|
7133
7140
|
wi as OnboardingChecklist,
|
|
7134
7141
|
Ci as Picker,
|
|
7135
|
-
|
|
7142
|
+
dn as PickerList,
|
|
7136
7143
|
$i as Popover,
|
|
7137
7144
|
Ni as ProductSwitcher,
|
|
7138
|
-
|
|
7145
|
+
xn as ProductSwitcherProducts,
|
|
7139
7146
|
Un as ProgressBar,
|
|
7140
7147
|
Gn as ProgressCircle,
|
|
7141
7148
|
xi as PromoBanner,
|
|
7142
7149
|
Bi as PromoBannerV2,
|
|
7143
7150
|
Ii as RadioButton,
|
|
7144
7151
|
Uc as RadiusToken,
|
|
7145
|
-
|
|
7152
|
+
Hl as RangeDatePicker,
|
|
7146
7153
|
Jc as Reports,
|
|
7147
|
-
|
|
7148
|
-
|
|
7149
|
-
|
|
7154
|
+
Wo as SIDE_NAVIGATION_ACTIVE_ITEM_TEST_ID,
|
|
7155
|
+
zo as SIDE_NAVIGATION_ITEM_TEST_ID,
|
|
7156
|
+
Vo as SIDE_NAVIGATION_PARENT_ICON_TEST_ID,
|
|
7150
7157
|
Ti as SearchInput,
|
|
7151
7158
|
ni as SegmentedControl,
|
|
7152
7159
|
Gc as ShadowToken,
|
|
7153
7160
|
ai as SideNavigation,
|
|
7154
7161
|
ri as SideNavigationGroup,
|
|
7155
|
-
|
|
7162
|
+
Ko as SideNavigationItem,
|
|
7156
7163
|
Yc as Simple,
|
|
7157
7164
|
Pi as SkeletonAvatar,
|
|
7158
7165
|
Ai as SkeletonText,
|
|
@@ -7163,7 +7170,7 @@ export {
|
|
|
7163
7170
|
Mi as Tab,
|
|
7164
7171
|
Oi as TabsList,
|
|
7165
7172
|
Li as TabsWrapper,
|
|
7166
|
-
|
|
7173
|
+
v_ as Tag,
|
|
7167
7174
|
cc as TagInput,
|
|
7168
7175
|
B as Text,
|
|
7169
7176
|
Hi as Textarea,
|
|
@@ -7176,8 +7183,8 @@ export {
|
|
|
7176
7183
|
zi as UpdateBadge,
|
|
7177
7184
|
Wi as UploadBar,
|
|
7178
7185
|
Xc as UserGuide,
|
|
7179
|
-
|
|
7186
|
+
rl as generateAvatarColor,
|
|
7180
7187
|
Vc as getDesignTokenWithOpacity,
|
|
7181
|
-
|
|
7188
|
+
co as useAppFrame,
|
|
7182
7189
|
Si as useProductSwitcher
|
|
7183
7190
|
};
|