fansunited-widgets-cdn 0.0.85 → 0.0.86-RC2
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/chunks/Alert-CuOsmojH.js +149 -0
- package/chunks/AspectRatio-D3Sgxj7p.js +125 -0
- package/chunks/Avatar-BTsEKfhc.js +186 -0
- package/chunks/Button-BV7YIFkS.js +858 -0
- package/chunks/Card-DRIT0wtY.js +129 -0
- package/chunks/CardContent-CD-WZh1l.js +60 -0
- package/chunks/ChevronRight-BrCKlr3T.js +11 -0
- package/chunks/Chip-6HLNTHMI.js +281 -0
- package/chunks/ClassicQuizWrapper-t04e9_6c.js +4883 -0
- package/chunks/CollectLeadForm-DtmR2Vuf-B_3JkHJC.js +1560 -0
- package/chunks/CollectLeadWrapper-CVAVswua.js +1294 -0
- package/chunks/DialogActions-C5kAgHal.js +45 -0
- package/chunks/DialogContent-MIXff4nd.js +60 -0
- package/chunks/EitherOrById-CAo8gPjm.js +1496 -0
- package/chunks/EitherOrPreviewWrapper-DFi2bviS.js +47 -0
- package/chunks/Error-DhQL89pn-BwTV1meb.js +418 -0
- package/chunks/EventGameWrapper-BxyLL3eA.js +7633 -0
- package/chunks/Grid-Dpv_ZL23.js +279 -0
- package/chunks/IconButton-Lt9Xks7c.js +207 -0
- package/chunks/Link-DLuj1USf.js +228 -0
- package/chunks/List-DLPlZGTP.js +397 -0
- package/chunks/ListItemDecorator-CE2eQLip.js +1882 -0
- package/chunks/MatchPredictionContainer-Ct6gXvLw.js +751 -0
- package/chunks/MatchQuizWrapper-Fu6RfWVn.js +11046 -0
- package/chunks/ModalDialog-Ci3hulZA.js +619 -0
- package/chunks/NotFoundSkeleton-BYJTzYJR-Be3R34nS.js +2764 -0
- package/chunks/OverlayLeadAfterCollection-DnqztPJ5-CpELr0AC.js +896 -0
- package/chunks/OverlayScoreStateSkeleton-C9FUhcnd-DMFELrvA.js +146 -0
- package/chunks/PersonalityQuizWrapper-MpUK4n3Y.js +34374 -0
- package/chunks/PlayerOfTheMatch-D4vuR7pz.js +1406 -0
- package/chunks/PollWrapper-CzKj8xxE.js +4198 -0
- package/chunks/Portal-BWqqFvVm-TuHZWjxn.js +12717 -0
- package/chunks/Portal-DA1mxzSo.js +41 -0
- package/chunks/PreviewQuizById-WWS_LyJR.js +4864 -0
- package/chunks/Select-p_cHpLhi.js +3418 -0
- package/chunks/Sheet-BaCzogZK.js +167 -0
- package/chunks/Snackbar-DHxnbCA3.js +358 -0
- package/chunks/Stack-Dgf2LXN0.js +117 -0
- package/chunks/Tabs-CSu_cWNi.js +784 -0
- package/chunks/TeamNextMatchPrediction-C7HilNqW.js +6 -0
- package/chunks/Tutorial-DFNZxmAx.js +427 -0
- package/chunks/createLucideIcon-B6NxpYkb.js +79 -0
- package/chunks/createSvgIcon-7h7XC877.js +119 -0
- package/chunks/createSvgIcon-DVA0KIUd.js +2490 -0
- package/chunks/dataAttributeParser-CF9vxaVN.js +28 -0
- package/chunks/default-quiz-bg-CTzaADn7.js +4 -0
- package/chunks/getReactElementRef-BD-S8A24.js +25 -0
- package/chunks/index-24AwmTVJ.js +85 -0
- package/chunks/index-3vJS8JzK.js +63 -0
- package/chunks/index-BSD7mvEU.js +57 -0
- package/chunks/index-BU6iona7.js +57 -0
- package/chunks/index-BqCHiyI6.js +59 -0
- package/chunks/index-C5qRf4TV.js +20 -0
- package/chunks/index-C9MpfjqV.js +35 -0
- package/chunks/index-CMmQs5A5.js +56 -0
- package/chunks/index-CicEY2Jv.js +5 -0
- package/chunks/index-DNeawo0R.js +17 -0
- package/chunks/index-DePIySlY.js +29 -0
- package/chunks/index-DoRYU_1L.js +41 -0
- package/chunks/index-DvgG9XJj.js +20 -0
- package/chunks/index-QpZE-92Y.js +33 -0
- package/chunks/index-rgFj976B.js +17 -0
- package/chunks/index-tzsdMoo-.js +16 -0
- package/chunks/index.es-CHqz6mjo.js +6162 -0
- package/chunks/init-BEkECL0v.js +32 -0
- package/chunks/main-XP7dqk6g.js +39843 -0
- package/chunks/resolveProps-BfYZubfk.js +37 -0
- package/chunks/users-D_xgC4iQ.js +16 -0
- package/chunks/variantColorInheritance-DI3wUohX.js +28 -0
- package/fu-widgets-loader.es.js +73 -0
- package/fu-widgets-loader.js +1 -0
- package/fu-widgets.es.js +4 -0
- package/fu-widgets.iife.js +621 -682
- package/manifest.json +84 -0
- package/package.json +9 -2
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { r as i, j as e, B as d, C as h, a as x } from "./main-XP7dqk6g.js";
|
|
2
|
+
import { G as o, T as f } from "./Tutorial-DFNZxmAx.js";
|
|
3
|
+
import { C as p } from "./Card-DRIT0wtY.js";
|
|
4
|
+
import { T } from "./Button-BV7YIFkS.js";
|
|
5
|
+
const j = ({ gameId: s, sdk: n, url: a }) => {
|
|
6
|
+
const [c, l] = i.useState(o.LOADING), [r, u] = i.useState(null);
|
|
7
|
+
i.useEffect(() => {
|
|
8
|
+
(() => {
|
|
9
|
+
try {
|
|
10
|
+
n.getEitherOrById(s, !0).then((t) => {
|
|
11
|
+
u(t), l(o.TUTORIAL);
|
|
12
|
+
}).catch((t) => {
|
|
13
|
+
console.error(t), l(null);
|
|
14
|
+
});
|
|
15
|
+
} catch (t) {
|
|
16
|
+
return console.warn("Failed to fetch game:", t), "";
|
|
17
|
+
}
|
|
18
|
+
})();
|
|
19
|
+
}, [s, n]);
|
|
20
|
+
const m = () => {
|
|
21
|
+
switch (c) {
|
|
22
|
+
case o.LOADING:
|
|
23
|
+
return /* @__PURE__ */ e.jsx(d, { display: "flex", justifyContent: "center", alignItems: "center", minHeight: 400, children: /* @__PURE__ */ e.jsx(h, {}) });
|
|
24
|
+
case o.TUTORIAL:
|
|
25
|
+
return /* @__PURE__ */ e.jsx(
|
|
26
|
+
f,
|
|
27
|
+
{
|
|
28
|
+
onStart: () => {
|
|
29
|
+
location.href = a;
|
|
30
|
+
},
|
|
31
|
+
game: r
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
if (c !== null)
|
|
37
|
+
return /* @__PURE__ */ e.jsxs(p, { variant: "outlined", sx: { borderColor: "divider", "&:hover": { borderColor: "divider" } }, children: [
|
|
38
|
+
(r == null ? void 0 : r.title) && /* @__PURE__ */ e.jsx(T, { level: "h3", textAlign: "center", sx: { mb: 2 }, children: r.title }),
|
|
39
|
+
m()
|
|
40
|
+
] });
|
|
41
|
+
}, A = ({ initialGameId: s, url: n }) => {
|
|
42
|
+
const a = x();
|
|
43
|
+
return /* @__PURE__ */ e.jsx(j, { gameId: s, sdk: a.miniGames, url: n });
|
|
44
|
+
};
|
|
45
|
+
export {
|
|
46
|
+
A as default
|
|
47
|
+
};
|
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
import { F, G as H, r as p, v as L, _ as N, w as g, x as E, y as j, E as M, j as c, z as u, D as O } from "./main-XP7dqk6g.js";
|
|
2
|
+
import { c as P } from "./Button-BV7YIFkS.js";
|
|
3
|
+
import { g as h } from "./Portal-BWqqFvVm-TuHZWjxn.js";
|
|
4
|
+
function S(e) {
|
|
5
|
+
return F("MuiTable", e);
|
|
6
|
+
}
|
|
7
|
+
H("MuiTable", ["root", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "variantPlain", "variantOutlined", "variantSoft", "variantSolid", "sizeSm", "sizeMd", "sizeLg", "stickyHeader", "stickyFooter", "noWrap", "hoverRow", "borderAxisNone", "borderAxisX", "borderAxisXBetween", "borderAxisY", "borderAxisYBetween", "borderAxisBoth", "borderAxisBothBetween"]);
|
|
8
|
+
const X = ["className", "component", "children", "borderAxis", "hoverRow", "noWrap", "size", "variant", "color", "stripe", "stickyHeader", "stickyFooter", "slots", "slotProps"], Y = (e) => {
|
|
9
|
+
const {
|
|
10
|
+
size: t,
|
|
11
|
+
variant: o,
|
|
12
|
+
color: l,
|
|
13
|
+
borderAxis: s,
|
|
14
|
+
stickyHeader: a,
|
|
15
|
+
stickyFooter: d,
|
|
16
|
+
noWrap: i,
|
|
17
|
+
hoverRow: n
|
|
18
|
+
} = e, b = {
|
|
19
|
+
root: ["root", a && "stickyHeader", d && "stickyFooter", i && "noWrap", n && "hoverRow", s && `borderAxis${u(s)}`, o && `variant${u(o)}`, l && `color${u(l)}`, t && `size${u(t)}`]
|
|
20
|
+
};
|
|
21
|
+
return O(b, S, {});
|
|
22
|
+
}, r = {
|
|
23
|
+
/**
|
|
24
|
+
* According to https://www.w3.org/TR/2014/REC-html5-20141028/tabular-data.html#the-tr-element,
|
|
25
|
+
* `tr` can only have `td | th` as children, so using :first-of-type is better than :first-child to prevent emotion SSR warning
|
|
26
|
+
*/
|
|
27
|
+
getColumnExceptFirst() {
|
|
28
|
+
return "& tr > *:not(:first-of-type), & tr > th + td, & tr > td + th";
|
|
29
|
+
},
|
|
30
|
+
/**
|
|
31
|
+
* Every cell in the table
|
|
32
|
+
*/
|
|
33
|
+
getCell() {
|
|
34
|
+
return "& th, & td";
|
|
35
|
+
},
|
|
36
|
+
/**
|
|
37
|
+
* `th` cell of the table (could exist in the body)
|
|
38
|
+
*/
|
|
39
|
+
getHeadCell() {
|
|
40
|
+
return "& th";
|
|
41
|
+
},
|
|
42
|
+
/**
|
|
43
|
+
* Only the cell of `thead`
|
|
44
|
+
*/
|
|
45
|
+
getHeaderCell() {
|
|
46
|
+
return "& thead th";
|
|
47
|
+
},
|
|
48
|
+
getHeaderCellOfRow(e) {
|
|
49
|
+
return `& thead tr:nth-of-type(${e}) th`;
|
|
50
|
+
},
|
|
51
|
+
getBottomHeaderCell() {
|
|
52
|
+
return "& thead th:not([colspan])";
|
|
53
|
+
},
|
|
54
|
+
getHeaderNestedFirstColumn() {
|
|
55
|
+
return "& thead tr:not(:first-of-type) th:not([colspan]):first-of-type";
|
|
56
|
+
},
|
|
57
|
+
/**
|
|
58
|
+
* The body cell that contains data
|
|
59
|
+
*/
|
|
60
|
+
getDataCell() {
|
|
61
|
+
return "& td";
|
|
62
|
+
},
|
|
63
|
+
getDataCellExceptLastRow() {
|
|
64
|
+
return "& tr:not(:last-of-type) > td";
|
|
65
|
+
},
|
|
66
|
+
/**
|
|
67
|
+
* The body cell either `td` or `th`
|
|
68
|
+
*/
|
|
69
|
+
getBodyCellExceptLastRow() {
|
|
70
|
+
return `${this.getDataCellExceptLastRow()}, & tr:not(:last-of-type) > th[scope="row"]`;
|
|
71
|
+
},
|
|
72
|
+
getBodyCellOfRow(e) {
|
|
73
|
+
return typeof e == "number" && e < 0 ? `& tbody tr:nth-last-of-type(${Math.abs(e)}) td, & tbody tr:nth-last-of-type(${Math.abs(e)}) th[scope="row"]` : `& tbody tr:nth-of-type(${e}) td, & tbody tr:nth-of-type(${e}) th[scope="row"]`;
|
|
74
|
+
},
|
|
75
|
+
getBodyRow(e) {
|
|
76
|
+
return e === void 0 ? "& tbody tr" : `& tbody tr:nth-of-type(${e})`;
|
|
77
|
+
},
|
|
78
|
+
getFooterCell() {
|
|
79
|
+
return "& tfoot th, & tfoot td";
|
|
80
|
+
},
|
|
81
|
+
getFooterFirstRowCell() {
|
|
82
|
+
return "& tfoot tr:not(:last-of-type) th, & tfoot tr:not(:last-of-type) td";
|
|
83
|
+
}
|
|
84
|
+
}, D = j("table", {
|
|
85
|
+
name: "JoyTable",
|
|
86
|
+
slot: "Root",
|
|
87
|
+
overridesResolver: (e, t) => t.root
|
|
88
|
+
})(({
|
|
89
|
+
theme: e,
|
|
90
|
+
ownerState: t
|
|
91
|
+
}) => {
|
|
92
|
+
var o, l, s, a, d, i, n;
|
|
93
|
+
const b = (o = e.variants[t.variant]) == null ? void 0 : o[t.color];
|
|
94
|
+
return [g({
|
|
95
|
+
"--Table-headerUnderlineThickness": "2px",
|
|
96
|
+
"--TableCell-borderColor": (l = b == null ? void 0 : b.borderColor) != null ? l : e.vars.palette.divider,
|
|
97
|
+
"--TableCell-headBackground": `var(--Sheet-background, ${e.vars.palette.background.surface})`
|
|
98
|
+
}, t.size === "sm" && {
|
|
99
|
+
"--unstable_TableCell-height": "var(--TableCell-height, 32px)",
|
|
100
|
+
"--TableCell-paddingX": "0.25rem",
|
|
101
|
+
"--TableCell-paddingY": "0.25rem"
|
|
102
|
+
}, t.size === "md" && {
|
|
103
|
+
"--unstable_TableCell-height": "var(--TableCell-height, 40px)",
|
|
104
|
+
"--TableCell-paddingX": "0.5rem",
|
|
105
|
+
"--TableCell-paddingY": "0.375rem"
|
|
106
|
+
}, t.size === "lg" && {
|
|
107
|
+
"--unstable_TableCell-height": "var(--TableCell-height, 48px)",
|
|
108
|
+
"--TableCell-paddingX": "0.75rem",
|
|
109
|
+
"--TableCell-paddingY": "0.5rem"
|
|
110
|
+
}, {
|
|
111
|
+
tableLayout: "fixed",
|
|
112
|
+
width: "100%",
|
|
113
|
+
borderSpacing: "0px",
|
|
114
|
+
borderCollapse: "separate",
|
|
115
|
+
borderRadius: "var(--TableCell-cornerRadius, var(--unstable_actionRadius))"
|
|
116
|
+
}, e.typography[`body-${{
|
|
117
|
+
sm: "xs",
|
|
118
|
+
md: "sm",
|
|
119
|
+
lg: "md"
|
|
120
|
+
}[t.size]}`], (s = e.variants[t.variant]) == null ? void 0 : s[t.color], {
|
|
121
|
+
"& caption": {
|
|
122
|
+
color: e.vars.palette.text.tertiary,
|
|
123
|
+
padding: "calc(2 * var(--TableCell-paddingY)) var(--TableCell-paddingX)"
|
|
124
|
+
},
|
|
125
|
+
[r.getDataCell()]: g({
|
|
126
|
+
padding: "var(--TableCell-paddingY) var(--TableCell-paddingX)",
|
|
127
|
+
height: "var(--unstable_TableCell-height)",
|
|
128
|
+
borderColor: "var(--TableCell-borderColor)",
|
|
129
|
+
// must come after border bottom
|
|
130
|
+
backgroundColor: "var(--TableCell-dataBackground)"
|
|
131
|
+
}, t.noWrap && {
|
|
132
|
+
textOverflow: "ellipsis",
|
|
133
|
+
whiteSpace: "nowrap",
|
|
134
|
+
overflow: "hidden"
|
|
135
|
+
}),
|
|
136
|
+
[r.getHeadCell()]: {
|
|
137
|
+
textAlign: "left",
|
|
138
|
+
padding: "var(--TableCell-paddingY) var(--TableCell-paddingX)",
|
|
139
|
+
backgroundColor: "var(--TableCell-headBackground)",
|
|
140
|
+
// use `background-color` in case the Sheet has gradient background
|
|
141
|
+
height: "var(--unstable_TableCell-height)",
|
|
142
|
+
fontWeight: e.vars.fontWeight.lg,
|
|
143
|
+
borderColor: "var(--TableCell-borderColor)",
|
|
144
|
+
color: e.vars.palette.text.secondary,
|
|
145
|
+
textOverflow: "ellipsis",
|
|
146
|
+
whiteSpace: "nowrap",
|
|
147
|
+
overflow: "hidden"
|
|
148
|
+
},
|
|
149
|
+
[r.getHeaderCell()]: {
|
|
150
|
+
verticalAlign: "bottom",
|
|
151
|
+
// Automatic radius adjustment with Sheet
|
|
152
|
+
"&:first-of-type": {
|
|
153
|
+
borderTopLeftRadius: "var(--TableCell-cornerRadius, var(--unstable_actionRadius))"
|
|
154
|
+
},
|
|
155
|
+
"&:last-of-type": {
|
|
156
|
+
borderTopRightRadius: "var(--TableCell-cornerRadius, var(--unstable_actionRadius))"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"& tfoot tr > *": {
|
|
160
|
+
backgroundColor: `var(--TableCell-footBackground, ${e.vars.palette.background.level1})`,
|
|
161
|
+
// Automatic radius adjustment with Sheet
|
|
162
|
+
"&:first-of-type": {
|
|
163
|
+
borderBottomLeftRadius: "var(--TableCell-cornerRadius, var(--unstable_actionRadius))"
|
|
164
|
+
},
|
|
165
|
+
"&:last-of-type": {
|
|
166
|
+
borderBottomRightRadius: "var(--TableCell-cornerRadius, var(--unstable_actionRadius))"
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
}), (((a = t.borderAxis) == null ? void 0 : a.startsWith("x")) || ((d = t.borderAxis) == null ? void 0 : d.startsWith("both"))) && {
|
|
170
|
+
// insert border between rows
|
|
171
|
+
[r.getHeaderCell()]: {
|
|
172
|
+
borderBottomWidth: 1,
|
|
173
|
+
borderBottomStyle: "solid"
|
|
174
|
+
},
|
|
175
|
+
[r.getBottomHeaderCell()]: {
|
|
176
|
+
borderBottomWidth: "var(--Table-headerUnderlineThickness)",
|
|
177
|
+
borderBottomStyle: "solid"
|
|
178
|
+
},
|
|
179
|
+
[r.getBodyCellExceptLastRow()]: {
|
|
180
|
+
borderBottomWidth: 1,
|
|
181
|
+
borderBottomStyle: "solid"
|
|
182
|
+
},
|
|
183
|
+
[r.getFooterCell()]: {
|
|
184
|
+
borderTopWidth: 1,
|
|
185
|
+
borderTopStyle: "solid"
|
|
186
|
+
}
|
|
187
|
+
}, (((i = t.borderAxis) == null ? void 0 : i.startsWith("y")) || ((n = t.borderAxis) == null ? void 0 : n.startsWith("both"))) && {
|
|
188
|
+
// insert border between columns
|
|
189
|
+
[`${r.getColumnExceptFirst()}, ${r.getHeaderNestedFirstColumn()}`]: {
|
|
190
|
+
borderLeftWidth: 1,
|
|
191
|
+
borderLeftStyle: "solid"
|
|
192
|
+
}
|
|
193
|
+
}, (t.borderAxis === "x" || t.borderAxis === "both") && {
|
|
194
|
+
// insert border at the top of header and bottom of body
|
|
195
|
+
[r.getHeaderCellOfRow(1)]: {
|
|
196
|
+
borderTopWidth: 1,
|
|
197
|
+
borderTopStyle: "solid"
|
|
198
|
+
},
|
|
199
|
+
[r.getBodyCellOfRow(-1)]: {
|
|
200
|
+
borderBottomWidth: 1,
|
|
201
|
+
borderBottomStyle: "solid"
|
|
202
|
+
},
|
|
203
|
+
[r.getFooterCell()]: {
|
|
204
|
+
borderBottomWidth: 1,
|
|
205
|
+
borderBottomStyle: "solid"
|
|
206
|
+
}
|
|
207
|
+
}, (t.borderAxis === "y" || t.borderAxis === "both") && {
|
|
208
|
+
// insert border on the left of first column and right of the last column
|
|
209
|
+
"& tr > *:first-of-type": {
|
|
210
|
+
borderLeftWidth: 1,
|
|
211
|
+
borderLeftStyle: "solid"
|
|
212
|
+
},
|
|
213
|
+
"& tr > *:last-of-type:not(:first-of-type)": {
|
|
214
|
+
borderRightWidth: 1,
|
|
215
|
+
borderRightStyle: "solid"
|
|
216
|
+
}
|
|
217
|
+
}, t.stripe && {
|
|
218
|
+
[r.getBodyRow(t.stripe)]: {
|
|
219
|
+
// For customization, a table cell can look for this variable with a fallback value.
|
|
220
|
+
background: `var(--TableRow-stripeBackground, ${e.vars.palette.background.level2})`,
|
|
221
|
+
color: e.vars.palette.text.primary
|
|
222
|
+
}
|
|
223
|
+
}, t.hoverRow && {
|
|
224
|
+
[r.getBodyRow()]: {
|
|
225
|
+
"&:hover": {
|
|
226
|
+
background: `var(--TableRow-hoverBackground, ${e.vars.palette.background.level3})`
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
}, t.stickyHeader && {
|
|
230
|
+
// The column header
|
|
231
|
+
[r.getHeaderCell()]: {
|
|
232
|
+
position: "sticky",
|
|
233
|
+
top: 0,
|
|
234
|
+
zIndex: e.vars.zIndex.table
|
|
235
|
+
},
|
|
236
|
+
[r.getHeaderCellOfRow(2)]: {
|
|
237
|
+
// support upto 2 rows for the sticky header
|
|
238
|
+
top: "var(--unstable_TableCell-height)"
|
|
239
|
+
}
|
|
240
|
+
}, t.stickyFooter && {
|
|
241
|
+
// The column header
|
|
242
|
+
[r.getFooterCell()]: {
|
|
243
|
+
position: "sticky",
|
|
244
|
+
bottom: 0,
|
|
245
|
+
zIndex: e.vars.zIndex.table,
|
|
246
|
+
color: e.vars.palette.text.secondary,
|
|
247
|
+
fontWeight: e.vars.fontWeight.lg
|
|
248
|
+
},
|
|
249
|
+
[r.getFooterFirstRowCell()]: {
|
|
250
|
+
// support upto 2 rows for the sticky footer
|
|
251
|
+
bottom: "var(--unstable_TableCell-height)"
|
|
252
|
+
}
|
|
253
|
+
}];
|
|
254
|
+
}), G = /* @__PURE__ */ p.forwardRef(function(t, o) {
|
|
255
|
+
const l = L({
|
|
256
|
+
props: t,
|
|
257
|
+
name: "JoyTable"
|
|
258
|
+
}), {
|
|
259
|
+
className: s,
|
|
260
|
+
component: a,
|
|
261
|
+
children: d,
|
|
262
|
+
borderAxis: i = "xBetween",
|
|
263
|
+
hoverRow: n = !1,
|
|
264
|
+
noWrap: b = !1,
|
|
265
|
+
size: v = "md",
|
|
266
|
+
variant: x = "plain",
|
|
267
|
+
color: m = "neutral",
|
|
268
|
+
stripe: T,
|
|
269
|
+
stickyHeader: R = !1,
|
|
270
|
+
stickyFooter: k = !1,
|
|
271
|
+
slots: B = {},
|
|
272
|
+
slotProps: w = {}
|
|
273
|
+
} = l, A = N(l, X), C = g({}, l, {
|
|
274
|
+
borderAxis: i,
|
|
275
|
+
hoverRow: n,
|
|
276
|
+
noWrap: b,
|
|
277
|
+
component: a,
|
|
278
|
+
size: v,
|
|
279
|
+
color: m,
|
|
280
|
+
variant: x,
|
|
281
|
+
stripe: T,
|
|
282
|
+
stickyHeader: R,
|
|
283
|
+
stickyFooter: k
|
|
284
|
+
}), W = Y(C), $ = g({}, A, {
|
|
285
|
+
component: a,
|
|
286
|
+
slots: B,
|
|
287
|
+
slotProps: w
|
|
288
|
+
}), [z, _] = E("root", {
|
|
289
|
+
ref: o,
|
|
290
|
+
className: M(W.root, s),
|
|
291
|
+
elementType: D,
|
|
292
|
+
externalForwardedProps: $,
|
|
293
|
+
ownerState: C
|
|
294
|
+
});
|
|
295
|
+
return /* @__PURE__ */ c.jsx(P.Provider, {
|
|
296
|
+
value: !0,
|
|
297
|
+
children: /* @__PURE__ */ c.jsx(z, g({}, _, {
|
|
298
|
+
children: d
|
|
299
|
+
}))
|
|
300
|
+
});
|
|
301
|
+
}), Z = h(/* @__PURE__ */ c.jsx("path", {
|
|
302
|
+
d: "M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6z"
|
|
303
|
+
}), "KeyboardArrowLeft"), Q = h(/* @__PURE__ */ c.jsx("path", {
|
|
304
|
+
d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6z"
|
|
305
|
+
}), "KeyboardArrowRight"), ee = h(/* @__PURE__ */ c.jsx("path", {
|
|
306
|
+
d: "M11 18h2v-2h-2zm1-16C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8m0-14c-2.21 0-4 1.79-4 4h2c0-1.1.9-2 2-2s2 .9 2 2c0 2-3 1.75-3 5h2c0-2.25 3-2.5 3-5 0-2.21-1.79-4-4-4"
|
|
307
|
+
}), "HelpOutline"), te = h(/* @__PURE__ */ c.jsx("path", {
|
|
308
|
+
d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75z"
|
|
309
|
+
}), "Edit"), re = h(/* @__PURE__ */ c.jsx("path", {
|
|
310
|
+
d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4m0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4"
|
|
311
|
+
}), "Person");
|
|
312
|
+
/**
|
|
313
|
+
* @license lucide-react v0.454.0 - ISC
|
|
314
|
+
*
|
|
315
|
+
* This source code is licensed under the ISC license.
|
|
316
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
317
|
+
*/
|
|
318
|
+
const I = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), y = (...e) => e.filter((t, o, l) => !!t && t.trim() !== "" && l.indexOf(t) === o).join(" ").trim();
|
|
319
|
+
/**
|
|
320
|
+
* @license lucide-react v0.454.0 - ISC
|
|
321
|
+
*
|
|
322
|
+
* This source code is licensed under the ISC license.
|
|
323
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
324
|
+
*/
|
|
325
|
+
var U = {
|
|
326
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
327
|
+
width: 24,
|
|
328
|
+
height: 24,
|
|
329
|
+
viewBox: "0 0 24 24",
|
|
330
|
+
fill: "none",
|
|
331
|
+
stroke: "currentColor",
|
|
332
|
+
strokeWidth: 2,
|
|
333
|
+
strokeLinecap: "round",
|
|
334
|
+
strokeLinejoin: "round"
|
|
335
|
+
};
|
|
336
|
+
/**
|
|
337
|
+
* @license lucide-react v0.454.0 - ISC
|
|
338
|
+
*
|
|
339
|
+
* This source code is licensed under the ISC license.
|
|
340
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
341
|
+
*/
|
|
342
|
+
const K = p.forwardRef(
|
|
343
|
+
({
|
|
344
|
+
color: e = "currentColor",
|
|
345
|
+
size: t = 24,
|
|
346
|
+
strokeWidth: o = 2,
|
|
347
|
+
absoluteStrokeWidth: l,
|
|
348
|
+
className: s = "",
|
|
349
|
+
children: a,
|
|
350
|
+
iconNode: d,
|
|
351
|
+
...i
|
|
352
|
+
}, n) => p.createElement(
|
|
353
|
+
"svg",
|
|
354
|
+
{
|
|
355
|
+
ref: n,
|
|
356
|
+
...U,
|
|
357
|
+
width: t,
|
|
358
|
+
height: t,
|
|
359
|
+
stroke: e,
|
|
360
|
+
strokeWidth: l ? Number(o) * 24 / Number(t) : o,
|
|
361
|
+
className: y("lucide", s),
|
|
362
|
+
...i
|
|
363
|
+
},
|
|
364
|
+
[
|
|
365
|
+
...d.map(([b, v]) => p.createElement(b, v)),
|
|
366
|
+
...Array.isArray(a) ? a : [a]
|
|
367
|
+
]
|
|
368
|
+
)
|
|
369
|
+
);
|
|
370
|
+
/**
|
|
371
|
+
* @license lucide-react v0.454.0 - ISC
|
|
372
|
+
*
|
|
373
|
+
* This source code is licensed under the ISC license.
|
|
374
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
375
|
+
*/
|
|
376
|
+
const f = (e, t) => {
|
|
377
|
+
const o = p.forwardRef(
|
|
378
|
+
({ className: l, ...s }, a) => p.createElement(K, {
|
|
379
|
+
ref: a,
|
|
380
|
+
iconNode: t,
|
|
381
|
+
className: y(`lucide-${I(e)}`, l),
|
|
382
|
+
...s
|
|
383
|
+
})
|
|
384
|
+
);
|
|
385
|
+
return o.displayName = `${e}`, o;
|
|
386
|
+
};
|
|
387
|
+
/**
|
|
388
|
+
* @license lucide-react v0.454.0 - ISC
|
|
389
|
+
*
|
|
390
|
+
* This source code is licensed under the ISC license.
|
|
391
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
392
|
+
*/
|
|
393
|
+
const oe = f("ChevronLeft", [
|
|
394
|
+
["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]
|
|
395
|
+
]);
|
|
396
|
+
/**
|
|
397
|
+
* @license lucide-react v0.454.0 - ISC
|
|
398
|
+
*
|
|
399
|
+
* This source code is licensed under the ISC license.
|
|
400
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
401
|
+
*/
|
|
402
|
+
const le = f("ChevronRight", [
|
|
403
|
+
["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]
|
|
404
|
+
]), ae = h(/* @__PURE__ */ c.jsx("path", {
|
|
405
|
+
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-2h2zm0-4h-2V7h2z"
|
|
406
|
+
}), "Error");
|
|
407
|
+
export {
|
|
408
|
+
Q as A,
|
|
409
|
+
oe as E,
|
|
410
|
+
Z as I,
|
|
411
|
+
le as K,
|
|
412
|
+
te as M,
|
|
413
|
+
G as T,
|
|
414
|
+
ee as k,
|
|
415
|
+
f as m,
|
|
416
|
+
ae as x,
|
|
417
|
+
re as z
|
|
418
|
+
};
|