fansunited-frontend-components 0.0.38 → 0.0.39
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/ChanceGame.js +5 -5
- package/ClassicQuizPlay.js +19 -18
- package/CollectLead.js +4 -4
- package/Discussion.js +1562 -1343
- package/EventGamePlay.js +528 -581
- package/MatchQuizPlay.js +808 -860
- package/PersonalityQuizPlay.js +142 -112
- package/PickThePair.js +6 -6
- package/PollVote.js +59 -58
- package/README.md +231 -0
- package/chunks/{AlertMessage-DZAXIV4L.js → AlertMessage-C2aBXCrl.js} +69 -72
- package/chunks/{ChanceGameEmbedVariant-B5jX_jMO.js → ChanceGameEmbedVariant-BvIKBhq_.js} +5 -5
- package/chunks/{Select-DSxMtwH4.js → CheckCircle-D-GH16Lb.js} +321 -317
- package/chunks/{CollectLeadForm-D7pLjJkA.js → CollectLeadForm-o9NdYQgu.js} +5 -5
- package/chunks/{ConstantsProvider-YKCgQ1mh.js → ConstantsProvider-BPJJz9fq.js} +390 -360
- package/chunks/{Snackbar-DIH2D4Gx.js → Notification-Bwcoljir.js} +294 -238
- package/chunks/{OverlayLeadAfterCollection-9i_et1r0.js → OverlayLeadAfterCollection-B3D5ct0J.js} +4 -4
- package/chunks/{OverlayScoreStateSkeleton-BEe63pWp.js → OverlayScoreStateSkeleton-xvq9lQEi.js} +3 -3
- package/chunks/{PickOneOfX-UVJCgkSX.js → PickOneOfX-C2YpLk40.js} +1 -1
- package/chunks/{Portal-CfeOliT5.js → Portal-DWAr8MhA.js} +7 -7
- package/chunks/{Spinner-kT93nizf.js → Spinner-m59ZJZ35.js} +55 -55
- package/chunks/{Tabs-B6f7vU-w.js → Tabs-BGihvj9C.js} +44 -44
- package/chunks/{Textarea-EApa88SY.js → Textarea-Bzlb89Zp.js} +2 -2
- package/chunks/{TimerOutlined-CtKZ9Yp9.js → TimerOutlined-DiX8hCoC.js} +1 -1
- package/chunks/{Error-ZEDfLj_t.js → chevron-right-Dlc9ZKhv.js} +56 -59
- package/chunks/{useImageVariant-BB7FL7DQ.js → useImageVariant-Do8kOVs2.js} +1 -1
- package/chunks/{useInfoPage-Cjw5ykNz.js → useInfoPage-v91yL5SS.js} +37 -37
- package/package.json +1 -1
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { z as vr, P as r, A as fr, _ as l, D as L, F as B, G as mr, H as gr, I as hr, J as Ir, k as j, K as G, L as yr, M as U, t as V, N as br, n as q, m as K, s as f, O as Cr, Q as Dr, R as xr, p as M, q as C, r as x, S as Or, d as Q, u as Tr, w as zr, v as Sr, T as F } from "./ConstantsProvider-BPJJz9fq.js";
|
|
2
2
|
import * as O from "react";
|
|
3
|
-
import { u as Rr } from "./
|
|
4
|
-
import { jsx as u, jsxs as
|
|
5
|
-
const
|
|
3
|
+
import { u as Rr, C as Pr } from "./CheckCircle-D-GH16Lb.js";
|
|
4
|
+
import { jsx as u, jsxs as J } from "react/jsx-runtime";
|
|
5
|
+
const Ar = vr(), kr = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"], $r = fr(), Hr = Ar("div", {
|
|
6
6
|
name: "MuiStack",
|
|
7
7
|
slot: "Root",
|
|
8
8
|
overridesResolver: (e, o) => o.root
|
|
9
9
|
});
|
|
10
|
-
function
|
|
10
|
+
function _r(e) {
|
|
11
11
|
return yr({
|
|
12
12
|
props: e,
|
|
13
13
|
name: "MuiStack",
|
|
14
|
-
defaultTheme:
|
|
14
|
+
defaultTheme: $r
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function Wr(e, o) {
|
|
18
18
|
const n = O.Children.toArray(e).filter(Boolean);
|
|
19
19
|
return n.reduce((t, s, a) => (t.push(s), a < n.length - 1 && t.push(/* @__PURE__ */ O.cloneElement(o, {
|
|
20
20
|
key: `separator-${a}`
|
|
21
21
|
})), t), []);
|
|
22
22
|
}
|
|
23
|
-
const
|
|
23
|
+
const Er = (e) => ({
|
|
24
24
|
row: "Left",
|
|
25
25
|
"row-reverse": "Right",
|
|
26
26
|
column: "Top",
|
|
27
27
|
"column-reverse": "Bottom"
|
|
28
|
-
})[e],
|
|
28
|
+
})[e], Nr = ({
|
|
29
29
|
ownerState: e,
|
|
30
30
|
theme: o
|
|
31
31
|
}) => {
|
|
32
32
|
let n = l({
|
|
33
33
|
display: "flex",
|
|
34
34
|
flexDirection: "column"
|
|
35
|
-
},
|
|
35
|
+
}, L({
|
|
36
36
|
theme: o
|
|
37
37
|
}, B({
|
|
38
38
|
values: e.direction,
|
|
@@ -53,10 +53,10 @@ const Wr = (e) => ({
|
|
|
53
53
|
const h = d > 0 ? a[m[d - 1]] : "column";
|
|
54
54
|
a[i] = h;
|
|
55
55
|
}
|
|
56
|
-
}), n = gr(n,
|
|
56
|
+
}), n = gr(n, L({
|
|
57
57
|
theme: o
|
|
58
58
|
}, c, (i, d) => e.useFlexGap ? {
|
|
59
|
-
gap:
|
|
59
|
+
gap: U(t, i)
|
|
60
60
|
} : {
|
|
61
61
|
// The useFlexGap={false} implement relies on each child to give up control of the margin.
|
|
62
62
|
// We need to reset the margin to avoid double spacing.
|
|
@@ -64,21 +64,21 @@ const Wr = (e) => ({
|
|
|
64
64
|
margin: 0
|
|
65
65
|
},
|
|
66
66
|
"& > :not(style) ~ :not(style)": {
|
|
67
|
-
[`margin${
|
|
67
|
+
[`margin${Er(d ? a[d] : e.direction)}`]: U(t, i)
|
|
68
68
|
}
|
|
69
69
|
}));
|
|
70
70
|
}
|
|
71
71
|
return n = hr(o.breakpoints, n), n;
|
|
72
72
|
};
|
|
73
|
-
function
|
|
73
|
+
function Br(e = {}) {
|
|
74
74
|
const {
|
|
75
75
|
// This will allow adding custom styled fn (for example for custom sx style function)
|
|
76
|
-
createStyledComponent: o =
|
|
77
|
-
useThemeProps: n =
|
|
76
|
+
createStyledComponent: o = Hr,
|
|
77
|
+
useThemeProps: n = _r,
|
|
78
78
|
componentName: t = "MuiStack"
|
|
79
79
|
} = e, s = () => V({
|
|
80
80
|
root: ["root"]
|
|
81
|
-
}, (i) => br(t, i), {}), a = o(
|
|
81
|
+
}, (i) => br(t, i), {}), a = o(Nr), c = /* @__PURE__ */ O.forwardRef(function(i, d) {
|
|
82
82
|
const m = n(i), g = Ir(m), {
|
|
83
83
|
component: h = "div",
|
|
84
84
|
direction: T = "column",
|
|
@@ -87,7 +87,7 @@ function Nr(e = {}) {
|
|
|
87
87
|
children: p,
|
|
88
88
|
className: I,
|
|
89
89
|
useFlexGap: y = !1
|
|
90
|
-
} = g, b =
|
|
90
|
+
} = g, b = j(g, kr), S = {
|
|
91
91
|
direction: T,
|
|
92
92
|
spacing: z,
|
|
93
93
|
useFlexGap: y
|
|
@@ -96,9 +96,9 @@ function Nr(e = {}) {
|
|
|
96
96
|
as: h,
|
|
97
97
|
ownerState: S,
|
|
98
98
|
ref: d,
|
|
99
|
-
className:
|
|
99
|
+
className: G(R.root, I)
|
|
100
100
|
}, b, {
|
|
101
|
-
children: D ?
|
|
101
|
+
children: D ? Wr(p, D) : p
|
|
102
102
|
}));
|
|
103
103
|
});
|
|
104
104
|
return process.env.NODE_ENV !== "production" && (c.propTypes = {
|
|
@@ -109,11 +109,11 @@ function Nr(e = {}) {
|
|
|
109
109
|
sx: r.oneOfType([r.arrayOf(r.oneOfType([r.func, r.object, r.bool])), r.func, r.object])
|
|
110
110
|
}), c;
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
return
|
|
112
|
+
function Fr(e) {
|
|
113
|
+
return q("MuiAlert", e);
|
|
114
114
|
}
|
|
115
|
-
|
|
116
|
-
const jr = ["children", "className", "color", "invertedColors", "role", "variant", "size", "startDecorator", "endDecorator", "component", "slots", "slotProps"],
|
|
115
|
+
K("MuiAlert", ["root", "startDecorator", "endDecorator", "colorPrimary", "colorDanger", "colorNeutral", "colorSuccess", "colorWarning", "colorContext", "sizeSm", "sizeMd", "sizeLg", "variantPlain", "variantOutlined", "variantSoft", "variantSolid"]);
|
|
116
|
+
const jr = ["children", "className", "color", "invertedColors", "role", "variant", "size", "startDecorator", "endDecorator", "component", "slots", "slotProps"], Vr = (e) => {
|
|
117
117
|
const {
|
|
118
118
|
variant: o,
|
|
119
119
|
color: n,
|
|
@@ -123,8 +123,8 @@ const jr = ["children", "className", "color", "invertedColors", "role", "variant
|
|
|
123
123
|
startDecorator: ["startDecorator"],
|
|
124
124
|
endDecorator: ["endDecorator"]
|
|
125
125
|
};
|
|
126
|
-
return V(s,
|
|
127
|
-
},
|
|
126
|
+
return V(s, Fr, {});
|
|
127
|
+
}, Mr = f("div", {
|
|
128
128
|
name: "JoyAlert",
|
|
129
129
|
slot: "Root",
|
|
130
130
|
overridesResolver: (e, o) => o.root
|
|
@@ -184,14 +184,14 @@ const jr = ["children", "className", "color", "invertedColors", "role", "variant
|
|
|
184
184
|
}, a !== void 0 && {
|
|
185
185
|
"--Alert-radius": a
|
|
186
186
|
}];
|
|
187
|
-
}),
|
|
187
|
+
}), Jr = f("span", {
|
|
188
188
|
name: "JoyAlert",
|
|
189
189
|
slot: "StartDecorator",
|
|
190
190
|
overridesResolver: (e, o) => o.startDecorator
|
|
191
191
|
})({
|
|
192
192
|
display: "inherit",
|
|
193
193
|
flex: "none"
|
|
194
|
-
}),
|
|
194
|
+
}), Lr = f("span", {
|
|
195
195
|
name: "JoyAlert",
|
|
196
196
|
slot: "EndDecorator",
|
|
197
197
|
overridesResolver: (e, o) => o.endDecorator
|
|
@@ -216,19 +216,19 @@ const jr = ["children", "className", "color", "invertedColors", "role", "variant
|
|
|
216
216
|
component: T,
|
|
217
217
|
slots: z = {},
|
|
218
218
|
slotProps: D = {}
|
|
219
|
-
} = t, p =
|
|
219
|
+
} = t, p = j(t, jr), I = l({}, t, {
|
|
220
220
|
color: c,
|
|
221
221
|
invertedColors: v,
|
|
222
222
|
variant: d,
|
|
223
223
|
size: m
|
|
224
|
-
}), y =
|
|
224
|
+
}), y = Vr(I), b = l({}, p, {
|
|
225
225
|
component: T,
|
|
226
226
|
slots: z,
|
|
227
227
|
slotProps: D
|
|
228
228
|
}), [S, R] = C("root", {
|
|
229
229
|
ref: n,
|
|
230
|
-
className:
|
|
231
|
-
elementType:
|
|
230
|
+
className: G(y.root, a),
|
|
231
|
+
elementType: Mr,
|
|
232
232
|
externalForwardedProps: b,
|
|
233
233
|
ownerState: I,
|
|
234
234
|
additionalProps: {
|
|
@@ -236,16 +236,16 @@ const jr = ["children", "className", "color", "invertedColors", "role", "variant
|
|
|
236
236
|
}
|
|
237
237
|
}), [_, W] = C("startDecorator", {
|
|
238
238
|
className: y.startDecorator,
|
|
239
|
-
elementType:
|
|
239
|
+
elementType: Jr,
|
|
240
240
|
externalForwardedProps: b,
|
|
241
241
|
ownerState: I
|
|
242
242
|
}), [A, k] = C("endDecorator", {
|
|
243
243
|
className: y.endDecorator,
|
|
244
|
-
elementType:
|
|
244
|
+
elementType: Lr,
|
|
245
245
|
externalForwardedProps: b,
|
|
246
246
|
ownerState: I
|
|
247
247
|
});
|
|
248
|
-
return /* @__PURE__ */
|
|
248
|
+
return /* @__PURE__ */ J(S, l({}, R, {
|
|
249
249
|
children: [g && /* @__PURE__ */ u(_, l({}, W, {
|
|
250
250
|
children: g
|
|
251
251
|
})), s, h && /* @__PURE__ */ u(A, l({}, k, {
|
|
@@ -327,10 +327,10 @@ process.env.NODE_ENV !== "production" && (X.propTypes = {
|
|
|
327
327
|
*/
|
|
328
328
|
variant: r.oneOfType([r.oneOf(["outlined", "plain", "soft", "solid"]), r.string])
|
|
329
329
|
});
|
|
330
|
-
function
|
|
331
|
-
return
|
|
330
|
+
function Ur(e) {
|
|
331
|
+
return q("MuiInput", e);
|
|
332
332
|
}
|
|
333
|
-
const Y =
|
|
333
|
+
const Y = K("MuiInput", ["root", "input", "formControl", "focused", "disabled", "error", "adornedStart", "adornedEnd", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "sizeSm", "sizeMd", "sizeLg", "variantPlain", "variantOutlined", "variantSoft", "variantSolid", "fullWidth", "startDecorator", "endDecorator"]), Gr = ["propsToForward", "rootStateClasses", "inputStateClasses", "getRootProps", "getInputProps", "formControl", "focused", "error", "disabled", "fullWidth", "size", "color", "variant", "startDecorator", "endDecorator", "component", "slots", "slotProps"], qr = (e) => {
|
|
334
334
|
const {
|
|
335
335
|
disabled: o,
|
|
336
336
|
fullWidth: n,
|
|
@@ -343,8 +343,8 @@ const Y = Q("MuiInput", ["root", "input", "formControl", "focused", "disabled",
|
|
|
343
343
|
startDecorator: ["startDecorator"],
|
|
344
344
|
endDecorator: ["endDecorator"]
|
|
345
345
|
};
|
|
346
|
-
return V(c,
|
|
347
|
-
},
|
|
346
|
+
return V(c, Ur, {});
|
|
347
|
+
}, Kr = f("div")(({
|
|
348
348
|
theme: e,
|
|
349
349
|
ownerState: o
|
|
350
350
|
}) => {
|
|
@@ -433,7 +433,7 @@ const Y = Q("MuiInput", ["root", "input", "formControl", "focused", "disabled",
|
|
|
433
433
|
"--Input-focused": "1"
|
|
434
434
|
}
|
|
435
435
|
}];
|
|
436
|
-
}),
|
|
436
|
+
}), Qr = f("input")(({
|
|
437
437
|
ownerState: e
|
|
438
438
|
}) => ({
|
|
439
439
|
border: "none",
|
|
@@ -485,7 +485,7 @@ const Y = Q("MuiInput", ["root", "input", "formControl", "focused", "disabled",
|
|
|
485
485
|
color: "var(--Input-placeholderColor)",
|
|
486
486
|
opacity: "var(--Input-placeholderOpacity)"
|
|
487
487
|
}
|
|
488
|
-
})),
|
|
488
|
+
})), Xr = f("div")({
|
|
489
489
|
"--Button-margin": "0 0 0 calc(var(--Input-decoratorChildOffset) * -1)",
|
|
490
490
|
"--IconButton-margin": "0 0 0 calc(var(--Input-decoratorChildOffset) * -1)",
|
|
491
491
|
"--Icon-margin": "0 0 0 calc(var(--Input-paddingInline) / -4)",
|
|
@@ -498,7 +498,7 @@ const Y = Q("MuiInput", ["root", "input", "formControl", "focused", "disabled",
|
|
|
498
498
|
marginInlineEnd: "var(--Input-gap)",
|
|
499
499
|
color: "var(--Input-decoratorColor)",
|
|
500
500
|
cursor: "initial"
|
|
501
|
-
}),
|
|
501
|
+
}), Yr = f("div")({
|
|
502
502
|
"--Button-margin": "0 calc(var(--Input-decoratorChildOffset) * -1) 0 0",
|
|
503
503
|
"--IconButton-margin": "0 calc(var(--Input-decoratorChildOffset) * -1) 0 0",
|
|
504
504
|
"--Icon-margin": "0 calc(var(--Input-paddingInline) / -4) 0 0",
|
|
@@ -507,23 +507,23 @@ const Y = Q("MuiInput", ["root", "input", "formControl", "focused", "disabled",
|
|
|
507
507
|
marginInlineStart: "var(--Input-gap)",
|
|
508
508
|
color: "var(--Input-decoratorColor)",
|
|
509
509
|
cursor: "initial"
|
|
510
|
-
}),
|
|
510
|
+
}), Zr = f(Kr, {
|
|
511
511
|
name: "JoyInput",
|
|
512
512
|
slot: "Root",
|
|
513
513
|
overridesResolver: (e, o) => o.root
|
|
514
|
-
})({}),
|
|
514
|
+
})({}), wr = f(Qr, {
|
|
515
515
|
name: "JoyInput",
|
|
516
516
|
slot: "Input",
|
|
517
517
|
overridesResolver: (e, o) => o.input
|
|
518
|
-
})({}),
|
|
518
|
+
})({}), ro = f(Xr, {
|
|
519
519
|
name: "JoyInput",
|
|
520
520
|
slot: "StartDecorator",
|
|
521
521
|
overridesResolver: (e, o) => o.startDecorator
|
|
522
|
-
})({}),
|
|
522
|
+
})({}), oo = f(Yr, {
|
|
523
523
|
name: "JoyInput",
|
|
524
524
|
slot: "EndDecorator",
|
|
525
525
|
overridesResolver: (e, o) => o.endDecorator
|
|
526
|
-
})({}),
|
|
526
|
+
})({}), eo = /* @__PURE__ */ O.forwardRef(function(o, n) {
|
|
527
527
|
var t, s, a, c, v, i;
|
|
528
528
|
const d = M({
|
|
529
529
|
props: o,
|
|
@@ -549,7 +549,7 @@ const Y = Q("MuiInput", ["root", "input", "formControl", "focused", "disabled",
|
|
|
549
549
|
component: w,
|
|
550
550
|
slots: rr = {},
|
|
551
551
|
slotProps: or = {}
|
|
552
|
-
} = m, er =
|
|
552
|
+
} = m, er = j(m, Gr);
|
|
553
553
|
if (process.env.NODE_ENV !== "production") {
|
|
554
554
|
const N = p == null ? void 0 : p.registerEffect;
|
|
555
555
|
O.useEffect(() => {
|
|
@@ -567,14 +567,14 @@ const Y = Q("MuiInput", ["root", "input", "formControl", "focused", "disabled",
|
|
|
567
567
|
focused: I,
|
|
568
568
|
size: tr,
|
|
569
569
|
variant: W
|
|
570
|
-
}), $ =
|
|
570
|
+
}), $ = qr(P), H = l({}, er, {
|
|
571
571
|
component: w,
|
|
572
572
|
slots: rr,
|
|
573
573
|
slotProps: or
|
|
574
574
|
}), [ar, sr] = C("root", {
|
|
575
575
|
ref: n,
|
|
576
576
|
className: [$.root, h],
|
|
577
|
-
elementType:
|
|
577
|
+
elementType: Zr,
|
|
578
578
|
getSlotProps: z,
|
|
579
579
|
externalForwardedProps: H,
|
|
580
580
|
ownerState: P
|
|
@@ -585,23 +585,23 @@ const Y = Q("MuiInput", ["root", "input", "formControl", "focused", "disabled",
|
|
|
585
585
|
}
|
|
586
586
|
}, {
|
|
587
587
|
className: [$.input, T],
|
|
588
|
-
elementType:
|
|
588
|
+
elementType: wr,
|
|
589
589
|
getSlotProps: D,
|
|
590
590
|
internalForwardedProps: g,
|
|
591
591
|
externalForwardedProps: H,
|
|
592
592
|
ownerState: P
|
|
593
593
|
})), [cr, dr] = C("startDecorator", {
|
|
594
594
|
className: $.startDecorator,
|
|
595
|
-
elementType:
|
|
595
|
+
elementType: ro,
|
|
596
596
|
externalForwardedProps: H,
|
|
597
597
|
ownerState: P
|
|
598
598
|
}), [pr, ur] = C("endDecorator", {
|
|
599
599
|
className: $.endDecorator,
|
|
600
|
-
elementType:
|
|
600
|
+
elementType: oo,
|
|
601
601
|
externalForwardedProps: H,
|
|
602
602
|
ownerState: P
|
|
603
603
|
});
|
|
604
|
-
return /* @__PURE__ */
|
|
604
|
+
return /* @__PURE__ */ J(ar, l({}, sr, {
|
|
605
605
|
children: [A && /* @__PURE__ */ u(cr, l({}, dr, {
|
|
606
606
|
children: A
|
|
607
607
|
})), /* @__PURE__ */ u(ir, l({}, lr)), k && /* @__PURE__ */ u(pr, l({}, ur, {
|
|
@@ -609,7 +609,7 @@ const Y = Q("MuiInput", ["root", "input", "formControl", "focused", "disabled",
|
|
|
609
609
|
}))]
|
|
610
610
|
}));
|
|
611
611
|
});
|
|
612
|
-
process.env.NODE_ENV !== "production" && (
|
|
612
|
+
process.env.NODE_ENV !== "production" && (eo.propTypes = {
|
|
613
613
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
614
614
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
615
615
|
// │ To update them, edit the TypeScript types and run `pnpm proptypes`. │
|
|
@@ -705,7 +705,7 @@ process.env.NODE_ENV !== "production" && (oo.propTypes = {
|
|
|
705
705
|
*/
|
|
706
706
|
variant: r.oneOfType([r.oneOf(["outlined", "plain", "soft", "solid"]), r.string])
|
|
707
707
|
});
|
|
708
|
-
const Z =
|
|
708
|
+
const Z = Br({
|
|
709
709
|
createStyledComponent: f("div", {
|
|
710
710
|
name: "JoyStack",
|
|
711
711
|
slot: "Root",
|
|
@@ -760,16 +760,14 @@ process.env.NODE_ENV !== "production" && (Z.propTypes = {
|
|
|
760
760
|
*/
|
|
761
761
|
useFlexGap: r.bool
|
|
762
762
|
});
|
|
763
|
-
const
|
|
764
|
-
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"
|
|
765
|
-
}), "CheckCircle"), to = J(/* @__PURE__ */ u("path", {
|
|
763
|
+
const to = Q(/* @__PURE__ */ u("path", {
|
|
766
764
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-6h2zm0-8h-2V7h2z"
|
|
767
|
-
}), "Info"), no =
|
|
765
|
+
}), "Info"), no = Q(/* @__PURE__ */ u("path", {
|
|
768
766
|
d: "M1 21h22L12 2zm12-3h-2v-2h2zm0-4h-2v-4h2z"
|
|
769
767
|
}), "Warning"), ao = (e, o) => {
|
|
770
768
|
switch (e) {
|
|
771
769
|
case "success":
|
|
772
|
-
return /* @__PURE__ */ u(
|
|
770
|
+
return /* @__PURE__ */ u(Pr, {});
|
|
773
771
|
case "error":
|
|
774
772
|
return /* @__PURE__ */ u(no, { sx: { color: o } });
|
|
775
773
|
case "info":
|
|
@@ -809,7 +807,7 @@ const eo = J(/* @__PURE__ */ u("path", {
|
|
|
809
807
|
fontSize: "0.875em",
|
|
810
808
|
"--Icon-fontSize": "1.25em"
|
|
811
809
|
},
|
|
812
|
-
children: /* @__PURE__ */
|
|
810
|
+
children: /* @__PURE__ */ J(
|
|
813
811
|
Z,
|
|
814
812
|
{
|
|
815
813
|
sx: {
|
|
@@ -817,7 +815,7 @@ const eo = J(/* @__PURE__ */ u("path", {
|
|
|
817
815
|
},
|
|
818
816
|
children: [
|
|
819
817
|
o && /* @__PURE__ */ u(
|
|
820
|
-
|
|
818
|
+
F,
|
|
821
819
|
{
|
|
822
820
|
level: "title-md",
|
|
823
821
|
color: v,
|
|
@@ -827,7 +825,7 @@ const eo = J(/* @__PURE__ */ u("path", {
|
|
|
827
825
|
}
|
|
828
826
|
),
|
|
829
827
|
n && /* @__PURE__ */ u(
|
|
830
|
-
|
|
828
|
+
F,
|
|
831
829
|
{
|
|
832
830
|
level: "body-sm",
|
|
833
831
|
sx: { fontFamily: c, fontSize: "0.675em" },
|
|
@@ -835,7 +833,7 @@ const eo = J(/* @__PURE__ */ u("path", {
|
|
|
835
833
|
}
|
|
836
834
|
),
|
|
837
835
|
t && /* @__PURE__ */ u(
|
|
838
|
-
|
|
836
|
+
F,
|
|
839
837
|
{
|
|
840
838
|
level: "body-xs",
|
|
841
839
|
sx: { fontFamily: c, fontSize: "0.6em" },
|
|
@@ -850,13 +848,12 @@ const eo = J(/* @__PURE__ */ u("path", {
|
|
|
850
848
|
};
|
|
851
849
|
export {
|
|
852
850
|
po as A,
|
|
853
|
-
eo as
|
|
854
|
-
|
|
855
|
-
qr as S,
|
|
851
|
+
eo as I,
|
|
852
|
+
Kr as S,
|
|
856
853
|
no as W,
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
854
|
+
Qr as a,
|
|
855
|
+
Xr as b,
|
|
856
|
+
Yr as c,
|
|
860
857
|
Z as d,
|
|
861
858
|
X as e,
|
|
862
859
|
to as f
|
|
@@ -2,13 +2,13 @@ var pe = Object.defineProperty;
|
|
|
2
2
|
var De = (e, t, a) => t in e ? pe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a;
|
|
3
3
|
var i = (e, t, a) => De(e, typeof t != "symbol" ? t + "" : t, a);
|
|
4
4
|
import { jsx as c, jsxs as b, Fragment as U } from "react/jsx-runtime";
|
|
5
|
-
import { a0 as le, a5 as te, B as m, T as L, e as ie, a3 as Ie, u as ae, f as ne, v as q, w as Q, x as V, y as oe, W as $,
|
|
6
|
-
import { h as be, g as Ne, s as j, u as _e, d as we, a as Pe, e as Me, b as ke } from "./useImageVariant-
|
|
5
|
+
import { a0 as le, a5 as te, B as m, T as L, e as ie, a3 as Ie, u as ae, f as ne, v as q, w as Q, x as V, y as oe, W as $, d as ve, a2 as Le, a8 as ue } from "./ConstantsProvider-BPJJz9fq.js";
|
|
6
|
+
import { h as be, g as Ne, s as j, u as _e, d as we, a as Pe, e as Me, b as ke } from "./useImageVariant-Do8kOVs2.js";
|
|
7
7
|
import "react";
|
|
8
|
-
import { R as W, A as Fe, u as Ve } from "./useInfoPage-
|
|
8
|
+
import { R as W, A as Fe, u as Ve } from "./useInfoPage-v91yL5SS.js";
|
|
9
9
|
import "react-dom";
|
|
10
|
-
import { A as xe } from "./AlertMessage-
|
|
11
|
-
import { f as Ge, e as He, P as Be } from "./PickOneOfX-
|
|
10
|
+
import { A as xe } from "./AlertMessage-C2aBXCrl.js";
|
|
11
|
+
import { f as Ge, e as He, P as Be } from "./PickOneOfX-C2YpLk40.js";
|
|
12
12
|
const $t = ({
|
|
13
13
|
additionalCTA: e,
|
|
14
14
|
buttonStyle: t,
|