fansunited-widgets-cdn 0.0.86-RC3 → 0.0.86-RC5

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.
Files changed (85) hide show
  1. package/chunks/{Alert-CuOsmojH.js → Alert-B6o66mYo.js} +39 -39
  2. package/chunks/{CardContent-CD-WZh1l.js → CardContent-NCZhfGcZ.js} +16 -16
  3. package/chunks/{Snackbar-DHxnbCA3.js → ChevronRight-1pLZ7T0v.js} +100 -94
  4. package/chunks/{ClassicQuizWrapper-t04e9_6c.js → ClassicQuizWrapper-n2epPO4k.js} +201 -205
  5. package/chunks/CollectLeadForm-C_3plJtn-Dr8J3eDw.js +3918 -0
  6. package/chunks/{CollectLeadWrapper-CVAVswua.js → CollectLeadWrapper-CCtTZAxL.js} +55 -56
  7. package/chunks/EitherOrById-ClGwMK0b.js +6820 -0
  8. package/chunks/EitherOrPreviewWrapper-BYiKyYwi.js +46 -0
  9. package/chunks/Error-BurPfBJw-DWYn31sK.js +1119 -0
  10. package/chunks/{EventGameWrapper-BxyLL3eA.js → EventGameWrapper-BphusLTk.js} +208 -219
  11. package/chunks/{Grid-Dpv_ZL23.js → Grid-yjqNNhEx.js} +32 -32
  12. package/chunks/{IconButton-Lt9Xks7c.js → IconButton-D7onwgY0.js} +22 -22
  13. package/chunks/{List-DLPlZGTP.js → List-8Vy9IZiv.js} +26 -29
  14. package/chunks/{MatchPredictionContainer-Ct6gXvLw.js → MatchPredictionContainer-BGytBwLo.js} +52 -54
  15. package/chunks/{MatchQuizWrapper-Fu6RfWVn.js → MatchQuizWrapper-BGjldBpF.js} +73 -85
  16. package/chunks/{OverlayLeadAfterCollection-DnqztPJ5-CpELr0AC.js → OverlayLeadAfterCollection-Bjh1xAB5-DgVOuSX5.js} +104 -105
  17. package/chunks/{OverlayScoreStateSkeleton-C9FUhcnd-DMFELrvA.js → OverlayScoreStateSkeleton-Cha5KeNi-fyZTu-l5.js} +18 -19
  18. package/chunks/{PersonalityQuizWrapper-MpUK4n3Y.js → PersonalityQuizWrapper-BgLFw5tM.js} +3 -3
  19. package/chunks/{PlayerOfTheMatch-D4vuR7pz.js → PlayerOfTheMatch-CImBLG3T.js} +1008 -609
  20. package/chunks/{PollWrapper-CzKj8xxE.js → PollWrapper-QpIKCCVF.js} +30 -34
  21. package/chunks/Portal-DegkUXpU-ByGP9zS1.js +19236 -0
  22. package/chunks/{PreviewQuizById-WWS_LyJR.js → PreviewQuizById-Ba6yhxKV.js} +11 -14
  23. package/chunks/Sheet-U5EnSrgg.js +282 -0
  24. package/chunks/{Stack-Dgf2LXN0.js → Stack-DbDi7kPO.js} +30 -30
  25. package/chunks/Tabs-leN3Fb8D--YMyy3EM.js +783 -0
  26. package/chunks/{TeamNextMatchPrediction-C7HilNqW.js → TeamNextMatchPrediction-9VSQOCcC.js} +2 -2
  27. package/chunks/Tutorial-CRJLOovs.js +1072 -0
  28. package/chunks/createLucideIcon-CMWOQsDL.js +381 -0
  29. package/chunks/{createSvgIcon-DVA0KIUd.js → createSvgIcon-D9D4a1R9.js} +412 -390
  30. package/chunks/default-quiz-bg-ADjjIfPj.js +126 -0
  31. package/chunks/{index-C9MpfjqV.js → index-0ADq_9jd.js} +1 -1
  32. package/chunks/{index-DePIySlY.js → index-B74jHeYm.js} +2 -2
  33. package/chunks/{index-tzsdMoo-.js → index-BfVvJg5R.js} +1 -1
  34. package/chunks/{index-BqCHiyI6.js → index-BycLbIYY.js} +1 -1
  35. package/chunks/{index-DvgG9XJj.js → index-C6KAc5B_.js} +1 -1
  36. package/chunks/{index-24AwmTVJ.js → index-CHV6tlpH.js} +5 -5
  37. package/chunks/{index-C5qRf4TV.js → index-CILd3yUc.js} +1 -1
  38. package/chunks/index-CJqcqbHq.js +5 -0
  39. package/chunks/{index-CMmQs5A5.js → index-CK2RXrJm.js} +1 -1
  40. package/chunks/{index-BU6iona7.js → index-CPTAlr_t.js} +1 -1
  41. package/chunks/{index-DNeawo0R.js → index-CiB_Gqim.js} +1 -1
  42. package/chunks/{index-QpZE-92Y.js → index-CvGJXa6l.js} +1 -1
  43. package/chunks/{index-BSD7mvEU.js → index-CviTG4Nv.js} +1 -1
  44. package/chunks/index-DUQ2LFod-Cw45tHim.js +4510 -0
  45. package/chunks/{index-rgFj976B.js → index-Da0AXb_O.js} +1 -1
  46. package/chunks/{index-DoRYU_1L.js → index-DwR4J2nN.js} +1 -1
  47. package/chunks/{index-3vJS8JzK.js → index-UwW9niUj.js} +1 -1
  48. package/chunks/index.es-wHqA4PHm.js +11480 -0
  49. package/chunks/{init-BEkECL0v.js → init-C-gCorsh.js} +1 -1
  50. package/chunks/{main-XP7dqk6g.js → main-Bh6iw92_.js} +548 -564
  51. package/chunks/{Button-BV7YIFkS.js → resolveProps-Bgg0H6c2.js} +471 -313
  52. package/chunks/{users-D_xgC4iQ.js → users-CXdzg3DM.js} +1 -1
  53. package/fu-widgets.es.js +2 -2
  54. package/fu-widgets.iife.js +310 -257
  55. package/manifest.json +56 -72
  56. package/package.json +1 -1
  57. package/chunks/AspectRatio-D3Sgxj7p.js +0 -125
  58. package/chunks/Avatar-BTsEKfhc.js +0 -186
  59. package/chunks/Card-DRIT0wtY.js +0 -129
  60. package/chunks/ChevronRight-BrCKlr3T.js +0 -11
  61. package/chunks/Chip-6HLNTHMI.js +0 -281
  62. package/chunks/CollectLeadForm-DtmR2Vuf-B_3JkHJC.js +0 -1560
  63. package/chunks/DialogActions-C5kAgHal.js +0 -45
  64. package/chunks/DialogContent-MIXff4nd.js +0 -60
  65. package/chunks/EitherOrById-CAo8gPjm.js +0 -1496
  66. package/chunks/EitherOrPreviewWrapper-DFi2bviS.js +0 -47
  67. package/chunks/Error-DhQL89pn-BwTV1meb.js +0 -418
  68. package/chunks/Link-DLuj1USf.js +0 -228
  69. package/chunks/ListItemDecorator-CE2eQLip.js +0 -1882
  70. package/chunks/ModalDialog-Ci3hulZA.js +0 -619
  71. package/chunks/NotFoundSkeleton-BYJTzYJR-Be3R34nS.js +0 -2764
  72. package/chunks/Portal-BWqqFvVm-TuHZWjxn.js +0 -12717
  73. package/chunks/Portal-DA1mxzSo.js +0 -41
  74. package/chunks/Select-p_cHpLhi.js +0 -3418
  75. package/chunks/Sheet-BaCzogZK.js +0 -167
  76. package/chunks/Tabs-CSu_cWNi.js +0 -784
  77. package/chunks/Tutorial-DFNZxmAx.js +0 -427
  78. package/chunks/createLucideIcon-B6NxpYkb.js +0 -79
  79. package/chunks/createSvgIcon-7h7XC877.js +0 -119
  80. package/chunks/default-quiz-bg-CTzaADn7.js +0 -4
  81. package/chunks/getReactElementRef-BD-S8A24.js +0 -25
  82. package/chunks/index-CicEY2Jv.js +0 -5
  83. package/chunks/index.es-CHqz6mjo.js +0 -6162
  84. package/chunks/resolveProps-BfYZubfk.js +0 -37
  85. package/chunks/variantColorInheritance-DI3wUohX.js +0 -28
@@ -1,427 +0,0 @@
1
- import { F as O, G as B, r as c, v as E, _ as M, w as g, x as P, y as A, E as $, j as t, D as U, I as C, u as V, B as D } from "./main-XP7dqk6g.js";
2
- import { d as F } from "./default-quiz-bg-CTzaADn7.js";
3
- import { c as x } from "./createSvgIcon-DVA0KIUd.js";
4
- import { S as j } from "./Stack-Dgf2LXN0.js";
5
- import { A as G } from "./AspectRatio-D3Sgxj7p.js";
6
- import { C as w } from "./Card-DRIT0wtY.js";
7
- import { C as L } from "./CardContent-CD-WZh1l.js";
8
- import { B as m, T as v } from "./Button-BV7YIFkS.js";
9
- import { M as N, a as Y } from "./ModalDialog-Ci3hulZA.js";
10
- import { G as S } from "./Grid-Dpv_ZL23.js";
11
- function H(e) {
12
- return O("MuiCardCover", e);
13
- }
14
- B("MuiCardCover", ["root"]);
15
- const _ = ["className", "component", "children", "slots", "slotProps"], J = () => U({
16
- root: ["root"]
17
- }, H, {}), Q = A("div", {
18
- name: "JoyCardCover",
19
- slot: "Root",
20
- overridesResolver: (e, r) => r.root
21
- })({
22
- position: "absolute",
23
- zIndex: 0,
24
- top: 0,
25
- left: 0,
26
- right: 0,
27
- bottom: 0,
28
- borderRadius: "var(--CardCover-radius)",
29
- // use data-attribute instead of :first-child to support zero config SSR (emotion)
30
- // use nested selector for integrating with nextjs image `fill` layout (spans are inserted on top of the img)
31
- "& [data-first-child]": {
32
- display: "flex",
33
- justifyContent: "center",
34
- alignItems: "center",
35
- width: "100%",
36
- height: "100%",
37
- objectFit: "cover",
38
- boxSizing: "border-box",
39
- borderRadius: "var(--CardCover-radius)",
40
- margin: 0,
41
- padding: 0,
42
- "& > img": {
43
- // support art-direction that uses <picture><img /></picture>
44
- width: "100%",
45
- height: "100%",
46
- objectFit: "cover"
47
- }
48
- }
49
- }), k = /* @__PURE__ */ c.forwardRef(function(r, a) {
50
- const i = E({
51
- props: r,
52
- name: "JoyCardCover"
53
- }), {
54
- className: h,
55
- component: s = "div",
56
- children: o,
57
- slots: u = {},
58
- slotProps: n = {}
59
- } = i, p = M(i, _), l = g({}, i, {
60
- component: s
61
- }), f = J(), R = g({}, p, {
62
- component: s,
63
- slots: u,
64
- slotProps: n
65
- }), [z, T] = P("root", {
66
- ref: a,
67
- className: $(f.root, h),
68
- elementType: Q,
69
- externalForwardedProps: R,
70
- ownerState: l
71
- });
72
- return /* @__PURE__ */ t.jsx(z, g({}, T, {
73
- children: c.Children.map(o, (b, W) => W === 0 && /* @__PURE__ */ c.isValidElement(b) ? /* @__PURE__ */ c.cloneElement(b, {
74
- "data-first-child": ""
75
- }) : b)
76
- }));
77
- }), Z = x(/* @__PURE__ */ t.jsx("path", {
78
- 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"
79
- }), "Info"), pt = {
80
- LOADING: "loading",
81
- TUTORIAL: "tutorial",
82
- PLAYING: "playing",
83
- RESULTS: "results"
84
- }, q = x(/* @__PURE__ */ t.jsx("path", {
85
- d: "m12 21.35-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54z"
86
- }), "Favorite"), K = C`
87
- 0% {
88
- opacity: 1;
89
- transform: translateY(0);
90
- }
91
- 100% {
92
- opacity: 0;
93
- transform: translateY(-20px);
94
- }
95
- `, mt = {
96
- pointsAdded: {
97
- position: "absolute",
98
- top: -20,
99
- right: 0,
100
- color: "primary.500",
101
- animation: `${K} 1s ease-out forwards`
102
- },
103
- optionWrapper: {
104
- position: "relative",
105
- flex: 1,
106
- transition: "transform 0.2s"
107
- },
108
- dividerWrapper: {
109
- width: { xs: "100%", sm: "40px" },
110
- my: { xs: 2, sm: 0 }
111
- },
112
- dividerButton: {
113
- borderRadius: "50%",
114
- bgcolor: "background.surface",
115
- boxShadow: "sm",
116
- width: "30px",
117
- height: "30px",
118
- "&:hover": { bgcolor: "background.level1" }
119
- },
120
- dividerText: {
121
- fontWeight: "lg",
122
- color: "text.secondary",
123
- display: { xs: "none", sm: "block" },
124
- textTransform: "uppercase",
125
- fontSize: "0.675em !important"
126
- },
127
- timerProgressWrapper: {
128
- position: "relative",
129
- width: "100%",
130
- height: 8,
131
- bgcolor: "neutral.200",
132
- borderRadius: "4px",
133
- overflow: "hidden"
134
- },
135
- timerProgress: {
136
- position: "absolute",
137
- left: 0,
138
- top: 0,
139
- height: "100%",
140
- transition: "width 1s linear, background-color 0.3s ease",
141
- borderRadius: "inherit",
142
- transform: "translateZ(0)"
143
- }
144
- }, xt = (e, r) => ({
145
- flex: 1,
146
- mx: 0.5,
147
- height: 4,
148
- bgcolor: r < e ? "primary.500" : "primary.softBg",
149
- borderRadius: "2px",
150
- transition: "background-color 0.3s ease"
151
- }), y = {
152
- fadeInUp: C`
153
- from {
154
- opacity: 0;
155
- transform: translateY(20px);
156
- }
157
- to {
158
- opacity: 1;
159
- transform: translateY(0);
160
- }
161
- `,
162
- pulse: C`
163
- 0% {
164
- transform: scale(1);
165
- }
166
- 50% {
167
- transform: scale(1.02);
168
- }
169
- 100% {
170
- transform: scale(1);
171
- }
172
- `
173
- }, ht = {
174
- wrapper: {
175
- animation: `${y.fadeInUp} 0.6s ease-out`
176
- },
177
- mainCard: {
178
- mb: 3,
179
- minHeight: "300px",
180
- position: "relative",
181
- overflow: "hidden",
182
- background: (e) => `linear-gradient(135deg, ${e.vars.palette.background.level2} 0%, ${e.vars.palette.background.surface} 100%)`
183
- },
184
- fieldPattern: {
185
- position: "absolute",
186
- top: 0,
187
- left: 0,
188
- right: 0,
189
- bottom: 0,
190
- opacity: 0.1,
191
- pointerEvents: "none",
192
- background: (e) => `
193
- linear-gradient(to right, ${e.vars.palette.neutral[400]} 1px, transparent 1px) 0 0 / 50px 100%,
194
- linear-gradient(${e.vars.palette.neutral[400]} 1px, transparent 1px) 0 0 / 100% 50px
195
- `
196
- },
197
- mainContent: {
198
- height: "100%",
199
- position: "relative",
200
- zIndex: 1,
201
- p: 2
202
- },
203
- scoreSection: {
204
- color: "primary.500"
205
- },
206
- scoreValue: {
207
- fontSize: "4.5em",
208
- fontWeight: "bold",
209
- color: "primary.500",
210
- animation: `${y.pulse} 2s infinite`,
211
- textShadow: "0 2px 4px rgba(0,0,0,0.1)"
212
- },
213
- statsSection: {
214
- width: "100%",
215
- direction: { xs: "column", sm: "row" }
216
- },
217
- statsCard: {
218
- p: 2,
219
- borderRadius: "lg",
220
- minWidth: "200px",
221
- display: "flex",
222
- flexDirection: "column",
223
- alignItems: "center",
224
- gap: 1
225
- },
226
- leaderboardCard: {
227
- mb: 3,
228
- background: "background.surface",
229
- borderColor: "divider",
230
- "&:hover": { borderColor: "divider" }
231
- },
232
- rankNumber: {
233
- width: 20,
234
- textAlign: "center"
235
- },
236
- actionButton: {
237
- transition: "all 0.2s",
238
- "&:hover": {
239
- transform: "translateY(-2px)"
240
- },
241
- animation: `${y.fadeInUp} 0.6s ease-out 0.3s backwards`
242
- },
243
- getLeaderboardItemStyles: {
244
- bgcolor: "transparent",
245
- borderRadius: "sm",
246
- transition: "all 0.2s",
247
- "&:hover": {
248
- bgcolor: (e) => `${e.vars.palette.primary[500]}10`
249
- }
250
- }
251
- }, ut = (e) => ({
252
- fontWeight: "bold",
253
- color: (r) => e ? r.vars.palette.primary[500] : "inherit"
254
- }), ft = (e) => (r) => e === 0 ? r.vars.palette.warning[400] : e === 1 ? r.vars.palette.neutral[400] : r.vars.palette.warning[700], I = {
255
- shadow: {
256
- background: {
257
- xs: "linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0) 120px), linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0) 180px)",
258
- md: "linear-gradient(to top, rgba(0,0,0,0.4), rgba(0,0,0,0) 200px), linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0) 300px)"
259
- }
260
- },
261
- contentWrapper: {
262
- justifyContent: "flex-end",
263
- pb: { xs: 3, sm: 4, md: 5 },
264
- px: { xs: 2, md: 5 },
265
- width: "100%"
266
- }
267
- }, d = {
268
- iconWrapper: {
269
- mb: 2,
270
- display: "flex",
271
- alignItems: "center",
272
- justifyContent: "center",
273
- width: 48,
274
- height: 48,
275
- borderRadius: "50%",
276
- bgcolor: "primary.100",
277
- color: "primary.500"
278
- },
279
- ruleCard: {
280
- display: "flex",
281
- flexDirection: "column",
282
- alignItems: "center",
283
- p: 3,
284
- mb: 2,
285
- textAlign: "center",
286
- backgroundColor: "background.level1"
287
- },
288
- mainButton: {
289
- px: 10,
290
- position: "relative",
291
- transition: "transform 0.2s ease",
292
- animation: "pulse 2s infinite",
293
- "@keyframes pulse": {
294
- "0%": {
295
- boxShadow: "0 0 0 0 rgba(var(--joy-palette-primary-500), 0.4)",
296
- transform: "scale(1)"
297
- },
298
- "70%": {
299
- boxShadow: "0 0 0 10px rgba(var(--joy-palette-primary-500), 0)",
300
- transform: "scale(1.02)"
301
- },
302
- "100%": {
303
- boxShadow: "0 0 0 0 rgba(var(--joy-palette-primary-500), 0)",
304
- transform: "scale(1)"
305
- }
306
- },
307
- "&:hover": {
308
- animation: "none",
309
- transform: "scale(1.05)",
310
- transition: "transform 0.2s ease"
311
- }
312
- },
313
- infoButton: {
314
- position: "absolute",
315
- top: 8,
316
- right: 8,
317
- minWidth: 40,
318
- p: 1
319
- }
320
- }, bt = {
321
- wrapper: {
322
- cursor: "pointer",
323
- border: "none",
324
- "&:hover": { border: "none" },
325
- "&:focus": { border: "none" },
326
- "&:active": { border: "none" }
327
- },
328
- card: {
329
- position: "absolute",
330
- width: "100%",
331
- height: "100%",
332
- borderRadius: "sm",
333
- border: "none",
334
- "--Card-padding": "0px"
335
- },
336
- image: {
337
- width: "100%",
338
- height: "100%",
339
- objectFit: "cover"
340
- },
341
- overlay: {
342
- transition: "background 0.3s ease"
343
- },
344
- iconWrapper: {
345
- position: "absolute",
346
- top: "50%",
347
- left: "50%",
348
- transform: "translate(-50%, -50%)",
349
- display: "flex",
350
- alignItems: "center",
351
- justifyContent: "center",
352
- zIndex: 2
353
- },
354
- icon: {
355
- fontSize: 64,
356
- width: 64,
357
- height: 64,
358
- filter: "drop-shadow(0 2px 4px rgba(0,0,0,0.4))"
359
- },
360
- content: {
361
- justifyContent: "flex-end",
362
- p: 2
363
- },
364
- label: {
365
- color: "#fff",
366
- textAlign: "center",
367
- fontWeight: 700,
368
- textShadow: "0 1px 2px rgba(0,0,0,0.4)"
369
- }
370
- }, X = x(/* @__PURE__ */ t.jsx("path", {
371
- d: "M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2M5 8V7h2v3.82C5.84 10.4 5 9.3 5 8m14 0c0 1.3-.84 2.4-2 2.82V7h2z"
372
- }), "EmojiEvents"), tt = x(/* @__PURE__ */ t.jsx("path", {
373
- d: "M9 1h6v2H9zm10.03 6.39 1.42-1.42c-.43-.51-.9-.99-1.41-1.41l-1.42 1.42C16.07 4.74 14.12 4 12 4c-4.97 0-9 4.03-9 9s4.02 9 9 9 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61M13 14h-2V8h2z"
374
- }), "Timer"), gt = ({ onStart: e, game: r, signInCTA: a, showSignInCTA: i }) => {
375
- var p;
376
- const [h, s] = c.useState(!1), { t: o } = V(), u = [
377
- {
378
- icon: /* @__PURE__ */ t.jsx(tt, {}),
379
- title: o("eitherOr.tutorial.step1Title"),
380
- description: o("eitherOr.tutorial.step1Description", { seconds: (r == null ? void 0 : r.time) ?? 10 })
381
- },
382
- {
383
- icon: /* @__PURE__ */ t.jsx(q, {}),
384
- title: o("eitherOr.tutorial.step2Title", { lives: (r == null ? void 0 : r.lives) ?? 3 }),
385
- description: o("eitherOr.tutorial.step2Description", { lives: (r == null ? void 0 : r.lives) ?? 3 })
386
- },
387
- {
388
- icon: /* @__PURE__ */ t.jsx(X, {}),
389
- title: o("eitherOr.tutorial.step3Title"),
390
- description: o("eitherOr.tutorial.step3Description")
391
- }
392
- ];
393
- if (!r) return null;
394
- const n = ((p = r == null ? void 0 : r.images) == null ? void 0 : p.main) || F;
395
- return /* @__PURE__ */ t.jsxs(j, { spacing: 3, children: [
396
- /* @__PURE__ */ t.jsx(G, { ratio: 16 / 9, children: /* @__PURE__ */ t.jsxs(w, { sx: { borderColor: "divider", "&:hover": { borderColor: "divider" } }, children: [
397
- /* @__PURE__ */ t.jsx(k, { children: /* @__PURE__ */ t.jsx("img", { src: n, srcSet: `${n} 1x, ${n} 2x`, loading: "lazy", alt: r.title }) }),
398
- /* @__PURE__ */ t.jsx(k, { sx: I.shadow }),
399
- /* @__PURE__ */ t.jsxs(L, { sx: I.contentWrapper, children: [
400
- /* @__PURE__ */ t.jsx(m, { size: "sm", variant: "soft", color: "primary", onClick: () => s(!0), sx: d.infoButton, children: /* @__PURE__ */ t.jsx(Z, {}) }),
401
- /* @__PURE__ */ t.jsx(j, { justifyContent: "center", alignItems: "center", spacing: 2, children: i && a ? /* @__PURE__ */ t.jsx(m, { size: "md", variant: "solid", color: "primary", onClick: a.onClick, sx: d.mainButton, children: a.defaultLabel }) : /* @__PURE__ */ t.jsx(m, { size: "md", variant: "solid", color: "primary", onClick: e, sx: d.mainButton, children: o("eitherOr.buttons.start") }) })
402
- ] })
403
- ] }) }),
404
- /* @__PURE__ */ t.jsx(N, { open: h, onClose: () => s(!1), children: /* @__PURE__ */ t.jsxs(Y, { children: [
405
- /* @__PURE__ */ t.jsx(v, { level: "h4", sx: { mb: 3, textAlign: "center" }, children: o("eitherOr.tutorial.howToPlay") }),
406
- /* @__PURE__ */ t.jsx(S, { container: !0, spacing: 2, sx: { overflow: "auto" }, children: u.map((l, f) => /* @__PURE__ */ t.jsx(S, { xs: 12, md: 4, children: /* @__PURE__ */ t.jsxs(w, { sx: d.ruleCard, variant: "outlined", children: [
407
- /* @__PURE__ */ t.jsx(D, { sx: d.iconWrapper, children: l.icon }),
408
- /* @__PURE__ */ t.jsx(v, { level: "h4", sx: { mb: 1 }, children: l.title }),
409
- /* @__PURE__ */ t.jsx(v, { level: "body-sm", children: l.description })
410
- ] }) }, f)) }),
411
- /* @__PURE__ */ t.jsx(m, { size: "lg", variant: "solid", color: "primary", onClick: () => s(!1), sx: { mt: 3, alignSelf: "center" }, children: o("common.close") })
412
- ] }) })
413
- ] });
414
- };
415
- export {
416
- k as C,
417
- q as F,
418
- pt as G,
419
- Z as I,
420
- gt as T,
421
- mt as a,
422
- ht as b,
423
- ft as c,
424
- ut as d,
425
- bt as e,
426
- xt as g
427
- };
@@ -1,79 +0,0 @@
1
- import { r as a } from "./main-XP7dqk6g.js";
2
- /**
3
- * @license lucide-react v0.474.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */
8
- const w = (r) => r.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), c = (...r) => r.filter((e, t, o) => !!e && e.trim() !== "" && o.indexOf(e) === t).join(" ").trim();
9
- /**
10
- * @license lucide-react v0.474.0 - ISC
11
- *
12
- * This source code is licensed under the ISC license.
13
- * See the LICENSE file in the root directory of this source tree.
14
- */
15
- var f = {
16
- xmlns: "http://www.w3.org/2000/svg",
17
- width: 24,
18
- height: 24,
19
- viewBox: "0 0 24 24",
20
- fill: "none",
21
- stroke: "currentColor",
22
- strokeWidth: 2,
23
- strokeLinecap: "round",
24
- strokeLinejoin: "round"
25
- };
26
- /**
27
- * @license lucide-react v0.474.0 - ISC
28
- *
29
- * This source code is licensed under the ISC license.
30
- * See the LICENSE file in the root directory of this source tree.
31
- */
32
- const p = a.forwardRef(
33
- ({
34
- color: r = "currentColor",
35
- size: e = 24,
36
- strokeWidth: t = 2,
37
- absoluteStrokeWidth: o,
38
- className: s = "",
39
- children: n,
40
- iconNode: i,
41
- ...l
42
- }, u) => a.createElement(
43
- "svg",
44
- {
45
- ref: u,
46
- ...f,
47
- width: e,
48
- height: e,
49
- stroke: r,
50
- strokeWidth: o ? Number(t) * 24 / Number(e) : t,
51
- className: c("lucide", s),
52
- ...l
53
- },
54
- [
55
- ...i.map(([m, d]) => a.createElement(m, d)),
56
- ...Array.isArray(n) ? n : [n]
57
- ]
58
- )
59
- );
60
- /**
61
- * @license lucide-react v0.474.0 - ISC
62
- *
63
- * This source code is licensed under the ISC license.
64
- * See the LICENSE file in the root directory of this source tree.
65
- */
66
- const h = (r, e) => {
67
- const t = a.forwardRef(
68
- ({ className: o, ...s }, n) => a.createElement(p, {
69
- ref: n,
70
- iconNode: e,
71
- className: c(`lucide-${w(r)}`, o),
72
- ...s
73
- })
74
- );
75
- return t.displayName = `${r}`, t;
76
- };
77
- export {
78
- h as c
79
- };
@@ -1,119 +0,0 @@
1
- import { F as P, G as M, r as l, v as X, _, w as t, x as b, y as A, E as B, j as z, z as a, D as E } from "./main-XP7dqk6g.js";
2
- function U(e) {
3
- return P("MuiSvgIcon", e);
4
- }
5
- M("MuiSvgIcon", ["root", "colorInherit", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "fontSizeInherit", "fontSizeXs", "fontSizeSm", "fontSizeMd", "fontSizeLg", "fontSizeXl", "fontSizeXl2", "fontSizeXl3", "fontSizeXl4", "sizeSm", "sizeMd", "sizeLg"]);
6
- const L = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox", "size", "slots", "slotProps"], V = (e) => {
7
- const {
8
- color: o,
9
- size: s,
10
- fontSize: n
11
- } = e, i = {
12
- root: ["root", o && o !== "inherit" && `color${a(o)}`, s && `size${a(s)}`, n && `fontSize${a(n)}`]
13
- };
14
- return E(i, U, {});
15
- }, p = {
16
- sm: "xl",
17
- md: "xl2",
18
- lg: "xl3"
19
- }, k = A("svg", {
20
- name: "JoySvgIcon",
21
- slot: "Root",
22
- overridesResolver: (e, o) => o.root
23
- })(({
24
- theme: e,
25
- ownerState: o
26
- }) => {
27
- var s;
28
- return t({}, o.instanceSize && {
29
- "--Icon-fontSize": e.vars.fontSize[p[o.instanceSize]]
30
- }, o.instanceFontSize && o.instanceFontSize !== "inherit" && {
31
- "--Icon-fontSize": e.vars.fontSize[o.instanceFontSize]
32
- }, {
33
- userSelect: "none",
34
- margin: "var(--Icon-margin)",
35
- width: "1em",
36
- height: "1em",
37
- display: "inline-block",
38
- // the <svg> will define the property that has `currentColor`
39
- // for example heroicons uses fill="none" and stroke="currentColor"
40
- fill: o.hasSvgAsChild ? void 0 : "currentColor",
41
- flexShrink: 0,
42
- fontSize: `var(--Icon-fontSize, ${e.vars.fontSize[p[o.size]] || "unset"})`
43
- }, o.fontSize && o.fontSize !== "inherit" && {
44
- fontSize: `var(--Icon-fontSize, ${e.fontSize[o.fontSize]})`
45
- }, !o.htmlColor && t({
46
- color: `var(--Icon-color, ${e.vars.palette.text.icon})`
47
- }, o.color === "inherit" && {
48
- color: "inherit"
49
- }, o.color !== "inherit" && e.vars.palette[o.color] && {
50
- color: `rgba(${(s = e.vars.palette[o.color]) == null ? void 0 : s.mainChannel} / 1)`
51
- }));
52
- }), m = /* @__PURE__ */ l.forwardRef(function(o, s) {
53
- const n = X({
54
- props: o,
55
- name: "JoySvgIcon"
56
- }), {
57
- children: i,
58
- className: u,
59
- color: g,
60
- component: f = "svg",
61
- fontSize: h,
62
- htmlColor: x,
63
- inheritViewBox: S = !1,
64
- titleAccess: r,
65
- viewBox: v = "0 0 24 24",
66
- size: I = "md",
67
- slots: C = {},
68
- slotProps: y = {}
69
- } = n, $ = _(n, L), c = /* @__PURE__ */ l.isValidElement(i) && i.type === "svg", d = t({}, n, {
70
- color: g,
71
- component: f,
72
- size: I,
73
- instanceSize: o.size,
74
- fontSize: h,
75
- instanceFontSize: o.fontSize,
76
- inheritViewBox: S,
77
- viewBox: v,
78
- hasSvgAsChild: c
79
- }), R = V(d), j = t({}, $, {
80
- component: f,
81
- slots: C,
82
- slotProps: y
83
- }), [F, N] = b("root", {
84
- ref: s,
85
- className: B(R.root, u),
86
- elementType: k,
87
- externalForwardedProps: j,
88
- ownerState: d,
89
- additionalProps: t({
90
- color: x,
91
- focusable: !1
92
- }, r && {
93
- role: "img"
94
- }, !r && {
95
- "aria-hidden": !0
96
- }, !S && {
97
- viewBox: v
98
- }, c && i.props)
99
- });
100
- return /* @__PURE__ */ z.jsxs(F, t({}, N, {
101
- children: [c ? i.props.children : i, r ? /* @__PURE__ */ z.jsx("title", {
102
- children: r
103
- }) : null]
104
- }));
105
- });
106
- function J(e, o) {
107
- function s(n, i) {
108
- return /* @__PURE__ */ z.jsx(m, t({
109
- "data-testid": `${o}Icon`,
110
- ref: i
111
- }, n, {
112
- children: e
113
- }));
114
- }
115
- return s.muiName = m.muiName, /* @__PURE__ */ l.memo(/* @__PURE__ */ l.forwardRef(s));
116
- }
117
- export {
118
- J as c
119
- };