fansunited-widgets-cdn 0.0.93 → 0.0.94

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 (86) hide show
  1. package/chunks/{AlertMessage-C2aBXCrl-DMEpVllO.js → AlertMessage-BBIRgWGu-BRXawIQx.js} +72 -72
  2. package/chunks/ArrowRightAlt-BuGlVWmA-SQpe5AU1.js +83 -0
  3. package/chunks/Avatar-D5Ca-p3i-BcCjgzWs.js +188 -0
  4. package/chunks/ChanceGameEmbedVariant-Bp3ii_VS-BaREt663.js +790 -0
  5. package/chunks/{ChanceGameWrapper-DKwuuMiB.js → ChanceGameWrapper-pzd_z7_0.js} +104 -103
  6. package/chunks/{CheckCircle-D-GH16Lb-cavKstqp.js → CheckCircle-BN-6n2s4-R-q5t3Vt.js} +242 -242
  7. package/chunks/ChevronRight-DRNoyuJB.js +2850 -0
  8. package/chunks/{ClassicQuizWrapper-A3Sqgi6k.js → ClassicQuizWrapper-BkaDuSoZ.js} +539 -612
  9. package/chunks/{CollectLeadForm-o9NdYQgu-CUMAxsH0.js → CollectLeadForm-DbuD6K36-C9VwIpKk.js} +6 -6
  10. package/chunks/{CollectLeadWrapper-2GQWSJWc.js → CollectLeadWrapper-DIfc09XL.js} +43 -43
  11. package/chunks/{DiscussionWrapper-Dql3NbPJ.js → DiscussionWrapper-C0cmVM1D.js} +226 -228
  12. package/chunks/EitherOrWrapper-iWvloD7l.js +3808 -0
  13. package/chunks/{EventGameWrapper-B1uK5fKz.js → EventGameWrapper-BrCGSojQ.js} +143 -140
  14. package/chunks/FavoriteBorder-BRZGDJoN-DFtU71Hm.js +11 -0
  15. package/chunks/{Grid-0xP47fij.js → Grid-DfBc77M5.js} +37 -37
  16. package/chunks/{default-quiz-bg-BimyF6dh.js → List-DtHNl_1T.js} +1268 -114
  17. package/chunks/MatchPredictionContainer-C8lW41_P.js +889 -0
  18. package/chunks/{MatchQuizWrapper-rroyDwfJ.js → MatchQuizWrapper-BKARaPz9.js} +373 -369
  19. package/chunks/{useInfoPage-v91yL5SS-D3wg-Ua1.js → NotFoundSkeleton-BWhIYfwK-d66PhBeC.js} +376 -422
  20. package/chunks/Notification-BByoWylW-DxJmvZrq.js +423 -0
  21. package/chunks/OverlayLeadAfterCollection-BZzelHmI-Dvureobp.js +673 -0
  22. package/chunks/{OverlayScoreStateSkeleton-xvq9lQEi-Dz3_EpIk.js → OverlayScoreStateSkeleton-DLuFPA2v-yAMUGNjF.js} +12 -12
  23. package/chunks/Person-CWp0SazC-SAtHQ-KC.js +379 -0
  24. package/chunks/{PersonalityQuizWrapper-DBt5vciM.js → PersonalityQuizWrapper-BrR-F-EY.js} +6290 -5416
  25. package/chunks/{PickOneOfX-C2YpLk40-DCZzREKo.js → PickOneOfX-ClXzFCpd-D9hv0kR8.js} +106 -106
  26. package/chunks/{PickThePairWrapper-CHJkMZqd.js → PickThePairWrapper-BtF14Cxo.js} +122 -121
  27. package/chunks/{PlayerOfTheMatch-DPhs4Bhl.js → PlayerOfTheMatch-CPjc9gZj.js} +982 -834
  28. package/chunks/{PollWrapper-CZD14CBn.js → PollWrapper-QdsT5pe6.js} +27 -25
  29. package/chunks/{Portal-DWAr8MhA-Bl5WTabM.js → Portal-BgtHMXTp-DCBFH5Eu.js} +8 -8
  30. package/chunks/{ConstantsProvider-BPJJz9fq-DsiaVKq7.js → PrizeCard-Daz27Vrl-CxGr97qS.js} +3474 -2601
  31. package/chunks/{Spinner-m59ZJZ35-B9fqKh3x.js → Spinner-CsUckp7U-C3GY2Olv.js} +85 -85
  32. package/chunks/SplitLeadAfterCollection-BGHkV2Q2-BVIAEjmb.js +231 -0
  33. package/chunks/{Tabs-BGihvj9C-DSLBKFty.js → Tabs-ChEhfzcs-B1xz3p5G.js} +73 -73
  34. package/chunks/{TeamNextMatchPrediction-xuJsbTWL.js → TeamNextMatchPrediction-CWtStZF5.js} +2 -2
  35. package/chunks/{Textarea-Bzlb89Zp-DfRqQEMq.js → Textarea-DfHLYaSy-BtzH5-8a.js} +57 -57
  36. package/chunks/{TimerOutlined-DiX8hCoC-kfaf0JMF.js → TimerOutlined-4HfKsPd2-Cag5415h.js} +2 -2
  37. package/chunks/chevron-right-DvgkvJY1-BKQm7Ea-.js +203 -0
  38. package/chunks/createLucideIcon-DJqw4PBb.js +649 -0
  39. package/chunks/{resolveProps-B2rN5yMQ.js → identifier-ChEcU7R0.js} +900 -679
  40. package/chunks/index-B0XVLSad-BGJBZ6fU.js +1621 -0
  41. package/chunks/{index-D1PLzdhA.js → index-B4ym1tTj.js} +1 -1
  42. package/chunks/{index-DjFC9PD7.js → index-BOAWaOw7.js} +1 -1
  43. package/chunks/{index-CMkYhq5p.js → index-BYSZ4ija.js} +1 -1
  44. package/chunks/{index-CQyqbeOQ.js → index-BhC47vbA.js} +1 -1
  45. package/chunks/{index-BxXG99CP.js → index-Bss0Qmv_.js} +1 -1
  46. package/chunks/{index-BxMMcWpz.js → index-CJ9C-uWB.js} +1 -1
  47. package/chunks/index-D0_ZAGV7.js +56 -0
  48. package/chunks/{index-ZxiiuPUs.js → index-DJCZ2ylk.js} +1 -1
  49. package/chunks/{index-DZ_IVYob.js → index-D_kb5ECY.js} +1 -1
  50. package/chunks/{index-NKyn2Vh3.js → index-Db6dxh3m.js} +2 -2
  51. package/chunks/{index-CvUTYxRM.js → index-DtwMfEXO.js} +1 -1
  52. package/chunks/{index-DHSwzFQ6.js → index-DwUJ_3i7.js} +1 -1
  53. package/chunks/{index-D2D_wwt7.js → index-P3TaDtrb.js} +1 -1
  54. package/chunks/{index-DzYbZTQr.js → index-rZZdbh9t.js} +2 -2
  55. package/chunks/{init-w2VjjkQ5.js → init-BiNlS2G7.js} +1 -1
  56. package/chunks/main-DgdGPAG0.js +48430 -0
  57. package/chunks/{useImageVariant-Do8kOVs2-DGrYxG0D.js → useImageVariant-PuJUajGW-Ca1KAPRF.js} +1 -1
  58. package/chunks/useInfoPage-BHdgKdme-CwPZNThs.js +50 -0
  59. package/fu-widgets.es.js +1 -1
  60. package/fu-widgets.iife.js +336 -398
  61. package/manifest.json +60 -67
  62. package/package.json +1 -1
  63. package/chunks/Alert-sB8I_Og4.js +0 -149
  64. package/chunks/CardContent-DFk65wUh.js +0 -61
  65. package/chunks/ChanceGameEmbedVariant-BvIKBhq_-KmMtmCVA.js +0 -2393
  66. package/chunks/ChevronRight-ii0XLARA.js +0 -364
  67. package/chunks/EitherOrById-ByxbKg7o.js +0 -6820
  68. package/chunks/EitherOrPreviewWrapper-BE73_RX8.js +0 -46
  69. package/chunks/IconButton-C3UWcV-V.js +0 -207
  70. package/chunks/List-2CRDMLh7.js +0 -394
  71. package/chunks/MatchPredictionContainer-ydl0xbQF.js +0 -749
  72. package/chunks/Notification-Bwcoljir-BOHYuvRU.js +0 -606
  73. package/chunks/OverlayLeadAfterCollection-B3D5ct0J-D1WEFAq_.js +0 -897
  74. package/chunks/PreviewQuizById-BnWz47H7.js +0 -4884
  75. package/chunks/Sheet-Bco6vL1_.js +0 -282
  76. package/chunks/Stack-C8gdvj29.js +0 -117
  77. package/chunks/Tutorial-sfIBuU-1.js +0 -1071
  78. package/chunks/chevron-right-Dlc9ZKhv-B97MdiP6.js +0 -578
  79. package/chunks/createLucideIcon-DrYLcXBF.js +0 -381
  80. package/chunks/createSvgIcon-BmSnSgDM.js +0 -2512
  81. package/chunks/index-BMPoSoGG.js +0 -20
  82. package/chunks/index-BRz42pj6.js +0 -33
  83. package/chunks/index-CACQ9Mei.js +0 -20
  84. package/chunks/index-DNBKuFoN.js +0 -85
  85. package/chunks/main-Crd2Ko2z.js +0 -51553
  86. package/chunks/users-ClQSODcv.js +0 -16
@@ -1,7 +1,7 @@
1
- import { a as sr, g as lr, h as dr, w as $, _ as T, n as N, o as l, D as f, N as u, q as M, e as _, a9 as cr, r as S, s as O, t as pr, A as ur, B as vr, aa as mr, ab as E, ac as F, ad as hr, ae as gr, af as J, ag as Ir, a6 as fr, I as L, F as G, ah as xr, ai as br, a8 as Sr } from "./ConstantsProvider-BPJJz9fq-DsiaVKq7.js";
2
- import { j as d, r as R } from "./main-Crd2Ko2z.js";
3
- import { i as yr, s as Cr } from "./CheckCircle-D-GH16Lb-cavKstqp.js";
4
- const zr = cr(), Dr = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"], wr = xr(), Rr = zr("div", {
1
+ import { a as sr, N as lr, E as dr, c as $, h as F, m as N, i as l, D as f, n as u, q as M, G as _, aa as cr, s as S, l as E, t as pr, x as ur, V as vr, ab as mr, ac as O, ad as T, ae as hr, af as gr, ag as J, ah as Ir, a7 as fr, B as L, o as G, ai as xr, aj as br, a9 as Sr } from "./PrizeCard-Daz27Vrl-CxGr97qS.js";
2
+ import { j as d, r as R } from "./main-DgdGPAG0.js";
3
+ import { i as yr, s as zr } from "./CheckCircle-BN-6n2s4-R-q5t3Vt.js";
4
+ const Cr = cr(), Dr = ["component", "direction", "spacing", "divider", "children", "className", "useFlexGap"], wr = xr(), Rr = Cr("div", {
5
5
  name: "MuiStack",
6
6
  slot: "Root",
7
7
  overridesResolver: (r, e) => e.root
@@ -13,13 +13,13 @@ function kr(r) {
13
13
  defaultTheme: wr
14
14
  });
15
15
  }
16
- function Ar(r, e) {
16
+ function Hr(r, e) {
17
17
  const t = R.Children.toArray(r).filter(Boolean);
18
18
  return t.reduce((o, n, a) => (o.push(n), a < t.length - 1 && o.push(/* @__PURE__ */ R.cloneElement(e, {
19
19
  key: `separator-${a}`
20
20
  })), o), []);
21
21
  }
22
- const Hr = (r) => ({
22
+ const Ar = (r) => ({
23
23
  row: "Left",
24
24
  "row-reverse": "Right",
25
25
  column: "Top",
@@ -31,19 +31,19 @@ const Hr = (r) => ({
31
31
  let t = l({
32
32
  display: "flex",
33
33
  flexDirection: "column"
34
- }, E({
34
+ }, O({
35
35
  theme: e
36
- }, F({
36
+ }, T({
37
37
  values: r.direction,
38
38
  breakpoints: e.breakpoints.values
39
39
  }), (o) => ({
40
40
  flexDirection: o
41
41
  })));
42
42
  if (r.spacing) {
43
- const o = hr(e), n = Object.keys(e.breakpoints.values).reduce((i, s) => ((typeof r.spacing == "object" && r.spacing[s] != null || typeof r.direction == "object" && r.direction[s] != null) && (i[s] = !0), i), {}), a = F({
43
+ const o = hr(e), n = Object.keys(e.breakpoints.values).reduce((i, s) => ((typeof r.spacing == "object" && r.spacing[s] != null || typeof r.direction == "object" && r.direction[s] != null) && (i[s] = !0), i), {}), a = T({
44
44
  values: r.direction,
45
45
  base: n
46
- }), c = F({
46
+ }), c = T({
47
47
  values: r.spacing,
48
48
  base: n
49
49
  });
@@ -52,7 +52,7 @@ const Hr = (r) => ({
52
52
  const v = s > 0 ? a[m[s - 1]] : "column";
53
53
  a[i] = v;
54
54
  }
55
- }), t = gr(t, E({
55
+ }), t = gr(t, O({
56
56
  theme: e
57
57
  }, c, (i, s) => r.useFlexGap ? {
58
58
  gap: J(o, i)
@@ -63,7 +63,7 @@ const Hr = (r) => ({
63
63
  margin: 0
64
64
  },
65
65
  "& > :not(style) ~ :not(style)": {
66
- [`margin${Hr(s ? a[s] : r.direction)}`]: J(o, i)
66
+ [`margin${Ar(s ? a[s] : r.direction)}`]: J(o, i)
67
67
  }
68
68
  }));
69
69
  }
@@ -75,30 +75,30 @@ function Wr(r = {}) {
75
75
  createStyledComponent: e = Rr,
76
76
  useThemeProps: t = kr,
77
77
  componentName: o = "MuiStack"
78
- } = r, n = () => O({
78
+ } = r, n = () => E({
79
79
  root: ["root"]
80
80
  }, (i) => br(o, i), {}), a = e(Pr);
81
81
  return /* @__PURE__ */ R.forwardRef(function(i, s) {
82
82
  const m = t(i), v = fr(m), {
83
83
  component: x = "div",
84
84
  direction: y = "column",
85
- spacing: C = 0,
85
+ spacing: z = 0,
86
86
  divider: b,
87
87
  children: p,
88
88
  className: h,
89
89
  useFlexGap: g = !1
90
- } = v, I = N(v, Dr), z = {
90
+ } = v, I = N(v, Dr), C = {
91
91
  direction: y,
92
- spacing: C,
92
+ spacing: z,
93
93
  useFlexGap: g
94
94
  }, D = n();
95
95
  return /* @__PURE__ */ d.jsx(a, l({
96
96
  as: x,
97
- ownerState: z,
97
+ ownerState: C,
98
98
  ref: s,
99
99
  className: M(D.root, h)
100
100
  }, I, {
101
- children: b ? Ar(p, b) : p
101
+ children: b ? Hr(p, b) : p
102
102
  }));
103
103
  });
104
104
  }
@@ -116,8 +116,8 @@ const Br = ["children", "className", "color", "invertedColors", "role", "variant
116
116
  startDecorator: ["startDecorator"],
117
117
  endDecorator: ["endDecorator"]
118
118
  };
119
- return O(n, jr, {});
120
- }, Fr = u("div", {
119
+ return E(n, jr, {});
120
+ }, Tr = u("div", {
121
121
  name: "JoyAlert",
122
122
  slot: "Root",
123
123
  overridesResolver: (r, e) => e.root
@@ -177,7 +177,7 @@ const Br = ["children", "className", "color", "invertedColors", "role", "variant
177
177
  }, a !== void 0 && {
178
178
  "--Alert-radius": a
179
179
  }];
180
- }), Tr = u("span", {
180
+ }), Fr = u("span", {
181
181
  name: "JoyAlert",
182
182
  slot: "StartDecorator",
183
183
  overridesResolver: (r, e) => e.startDecorator
@@ -192,8 +192,8 @@ const Br = ["children", "className", "color", "invertedColors", "role", "variant
192
192
  display: "inherit",
193
193
  flex: "none",
194
194
  marginLeft: "auto"
195
- }), Or = /* @__PURE__ */ R.forwardRef(function(r, e) {
196
- const t = T({
195
+ }), Er = /* @__PURE__ */ R.forwardRef(function(r, e) {
196
+ const t = F({
197
197
  props: r,
198
198
  name: "JoyAlert"
199
199
  }), {
@@ -207,7 +207,7 @@ const Br = ["children", "className", "color", "invertedColors", "role", "variant
207
207
  startDecorator: v,
208
208
  endDecorator: x,
209
209
  component: y,
210
- slots: C = {},
210
+ slots: z = {},
211
211
  slotProps: b = {}
212
212
  } = t, p = N(t, Br), h = l({}, t, {
213
213
  color: a,
@@ -216,12 +216,12 @@ const Br = ["children", "className", "color", "invertedColors", "role", "variant
216
216
  size: m
217
217
  }), g = $r(h), I = l({}, p, {
218
218
  component: y,
219
- slots: C,
219
+ slots: z,
220
220
  slotProps: b
221
- }), [z, D] = f("root", {
221
+ }), [C, D] = f("root", {
222
222
  ref: e,
223
223
  className: M(g.root, n),
224
- elementType: Fr,
224
+ elementType: Tr,
225
225
  externalForwardedProps: I,
226
226
  ownerState: h,
227
227
  additionalProps: {
@@ -229,24 +229,24 @@ const Br = ["children", "className", "color", "invertedColors", "role", "variant
229
229
  }
230
230
  }), [W, j] = f("startDecorator", {
231
231
  className: g.startDecorator,
232
- elementType: Tr,
232
+ elementType: Fr,
233
233
  externalForwardedProps: I,
234
234
  ownerState: h
235
- }), [k, A] = f("endDecorator", {
235
+ }), [k, H] = f("endDecorator", {
236
236
  className: g.endDecorator,
237
237
  elementType: Nr,
238
238
  externalForwardedProps: I,
239
239
  ownerState: h
240
240
  });
241
- return /* @__PURE__ */ d.jsxs(z, l({}, D, {
241
+ return /* @__PURE__ */ d.jsxs(C, l({}, D, {
242
242
  children: [v && /* @__PURE__ */ d.jsx(W, l({}, j, {
243
243
  children: v
244
- })), o, x && /* @__PURE__ */ d.jsx(k, l({}, A, {
244
+ })), o, x && /* @__PURE__ */ d.jsx(k, l({}, H, {
245
245
  children: x
246
246
  }))]
247
247
  }));
248
248
  });
249
- function Er(r) {
249
+ function Or(r) {
250
250
  return G("MuiInput", r);
251
251
  }
252
252
  const V = L("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"]), Jr = ["propsToForward", "rootStateClasses", "inputStateClasses", "getRootProps", "getInputProps", "formControl", "focused", "error", "disabled", "fullWidth", "size", "color", "variant", "startDecorator", "endDecorator", "component", "slots", "slotProps"], Mr = (r) => {
@@ -262,7 +262,7 @@ const V = L("MuiInput", ["root", "input", "formControl", "focused", "disabled",
262
262
  startDecorator: ["startDecorator"],
263
263
  endDecorator: ["endDecorator"]
264
264
  };
265
- return O(c, Er, {});
265
+ return E(c, Or, {});
266
266
  }, _r = u("div")(({
267
267
  theme: r,
268
268
  ownerState: e
@@ -426,67 +426,67 @@ const V = L("MuiInput", ["root", "input", "formControl", "focused", "disabled",
426
426
  marginInlineStart: "var(--Input-gap)",
427
427
  color: "var(--Input-decoratorColor)",
428
428
  cursor: "initial"
429
- }), Xr = u(_r, {
429
+ }), Kr = u(_r, {
430
430
  name: "JoyInput",
431
431
  slot: "Root",
432
432
  overridesResolver: (r, e) => e.root
433
- })({}), Yr = u(Lr, {
433
+ })({}), qr = u(Lr, {
434
434
  name: "JoyInput",
435
435
  slot: "Input",
436
436
  overridesResolver: (r, e) => e.input
437
- })({}), qr = u(Gr, {
437
+ })({}), Qr = u(Gr, {
438
438
  name: "JoyInput",
439
439
  slot: "StartDecorator",
440
440
  overridesResolver: (r, e) => e.startDecorator
441
- })({}), Kr = u(Vr, {
441
+ })({}), Xr = u(Vr, {
442
442
  name: "JoyInput",
443
443
  slot: "EndDecorator",
444
444
  overridesResolver: (r, e) => e.endDecorator
445
445
  })({}), ne = /* @__PURE__ */ R.forwardRef(function(r, e) {
446
446
  var t, o, n, a, c, i;
447
- const s = T({
447
+ const s = F({
448
448
  props: r,
449
449
  name: "JoyInput"
450
- }), m = Cr(l({}, s, {
450
+ }), m = zr(l({}, s, {
451
451
  disabledInProp: r.disabled
452
452
  }), V), {
453
453
  propsToForward: v,
454
454
  rootStateClasses: x,
455
455
  inputStateClasses: y,
456
- getRootProps: C,
456
+ getRootProps: z,
457
457
  getInputProps: b,
458
458
  formControl: p,
459
459
  focused: h,
460
460
  error: g = !1,
461
461
  disabled: I,
462
- fullWidth: z = !1,
462
+ fullWidth: C = !1,
463
463
  size: D = "md",
464
464
  color: W = "neutral",
465
465
  variant: j = "outlined",
466
466
  startDecorator: k,
467
- endDecorator: A,
468
- component: X,
469
- slots: Y = {},
470
- slotProps: q = {}
471
- } = m, K = N(m, Jr), B = (t = (o = r.error) != null ? o : p == null ? void 0 : p.error) != null ? t : g, Q = (n = (a = r.size) != null ? a : p == null ? void 0 : p.size) != null ? n : D, Z = (c = r.color) != null ? c : B ? "danger" : (i = p == null ? void 0 : p.color) != null ? i : W, w = l({
467
+ endDecorator: H,
468
+ component: K,
469
+ slots: q = {},
470
+ slotProps: Q = {}
471
+ } = m, X = N(m, Jr), B = (t = (o = r.error) != null ? o : p == null ? void 0 : p.error) != null ? t : g, Y = (n = (a = r.size) != null ? a : p == null ? void 0 : p.size) != null ? n : D, Z = (c = r.color) != null ? c : B ? "danger" : (i = p == null ? void 0 : p.color) != null ? i : W, w = l({
472
472
  instanceColor: B ? "danger" : r.color
473
473
  }, s, {
474
- fullWidth: z,
474
+ fullWidth: C,
475
475
  color: Z,
476
476
  disabled: I,
477
477
  error: B,
478
478
  focused: h,
479
- size: Q,
479
+ size: Y,
480
480
  variant: j
481
- }), H = Mr(w), P = l({}, K, {
482
- component: X,
483
- slots: Y,
484
- slotProps: q
481
+ }), A = Mr(w), P = l({}, X, {
482
+ component: K,
483
+ slots: q,
484
+ slotProps: Q
485
485
  }), [U, rr] = f("root", {
486
486
  ref: e,
487
- className: [H.root, x],
488
- elementType: Xr,
489
- getSlotProps: C,
487
+ className: [A.root, x],
488
+ elementType: Kr,
489
+ getSlotProps: z,
490
490
  externalForwardedProps: P,
491
491
  ownerState: w
492
492
  }), [er, tr] = f("input", l({}, p && {
@@ -495,37 +495,37 @@ const V = L("MuiInput", ["root", "input", "formControl", "focused", "disabled",
495
495
  "aria-describedby": p["aria-describedby"]
496
496
  }
497
497
  }, {
498
- className: [H.input, y],
499
- elementType: Yr,
498
+ className: [A.input, y],
499
+ elementType: qr,
500
500
  getSlotProps: b,
501
501
  internalForwardedProps: v,
502
502
  externalForwardedProps: P,
503
503
  ownerState: w
504
504
  })), [or, ar] = f("startDecorator", {
505
- className: H.startDecorator,
506
- elementType: qr,
505
+ className: A.startDecorator,
506
+ elementType: Qr,
507
507
  externalForwardedProps: P,
508
508
  ownerState: w
509
509
  }), [nr, ir] = f("endDecorator", {
510
- className: H.endDecorator,
511
- elementType: Kr,
510
+ className: A.endDecorator,
511
+ elementType: Xr,
512
512
  externalForwardedProps: P,
513
513
  ownerState: w
514
514
  });
515
515
  return /* @__PURE__ */ d.jsxs(U, l({}, rr, {
516
516
  children: [k && /* @__PURE__ */ d.jsx(or, l({}, ar, {
517
517
  children: k
518
- })), /* @__PURE__ */ d.jsx(er, l({}, tr)), A && /* @__PURE__ */ d.jsx(nr, l({}, ir, {
519
- children: A
518
+ })), /* @__PURE__ */ d.jsx(er, l({}, tr)), H && /* @__PURE__ */ d.jsx(nr, l({}, ir, {
519
+ children: H
520
520
  }))]
521
521
  }));
522
- }), Qr = Wr({
522
+ }), Yr = Wr({
523
523
  createStyledComponent: u("div", {
524
524
  name: "JoyStack",
525
525
  slot: "Root",
526
526
  overridesResolver: (r, e) => e.root
527
527
  }),
528
- useThemeProps: (r) => T({
528
+ useThemeProps: (r) => F({
529
529
  props: r,
530
530
  name: "JoyStack"
531
531
  })
@@ -562,7 +562,7 @@ const V = L("MuiInput", ["root", "input", "formControl", "focused", "disabled",
562
562
  }) => {
563
563
  const n = sr(), a = lr(), c = dr().secondary, i = ee(r);
564
564
  return /* @__PURE__ */ d.jsx(
565
- Or,
565
+ Er,
566
566
  {
567
567
  variant: "soft",
568
568
  color: i,
@@ -577,7 +577,7 @@ const V = L("MuiInput", ["root", "input", "formControl", "focused", "disabled",
577
577
  "--Icon-fontSize": "1.25em"
578
578
  },
579
579
  children: /* @__PURE__ */ d.jsxs(
580
- Qr,
580
+ Yr,
581
581
  {
582
582
  sx: {
583
583
  fontSize: "1.5em"
@@ -616,11 +616,11 @@ const V = L("MuiInput", ["root", "input", "formControl", "focused", "disabled",
616
616
  );
617
617
  };
618
618
  export {
619
- _r as K,
620
- Lr as Q,
621
- Or as X,
622
- Vr as Y,
623
- Qr as Z,
619
+ Vr as K,
620
+ Yr as Q,
621
+ _r as X,
622
+ Lr as Y,
623
+ Er as Z,
624
624
  Gr as a,
625
625
  ne as e,
626
626
  Ur as n,
@@ -0,0 +1,83 @@
1
+ import { j as d } from "./main-DgdGPAG0.js";
2
+ import { a as u, S as p, b as h, G as k } from "./PrizeCard-Daz27Vrl-CxGr97qS.js";
3
+ const x = (r) => ({
4
+ // Main container with background overlay (with ScoreStateWrapper)
5
+ mainContainerWithWrapper: {
6
+ boxShadow: "md",
7
+ border: `${r.borderSize} solid ${r.borderColor}`,
8
+ overflow: "hidden",
9
+ backgroundImage: r.backgroundImage,
10
+ backgroundSize: "cover",
11
+ backgroundPosition: "center",
12
+ position: "relative",
13
+ borderRadius: r.mdBorderRadius,
14
+ minHeight: "250px",
15
+ "&::before": {
16
+ content: '""',
17
+ position: "absolute",
18
+ top: 0,
19
+ left: 0,
20
+ right: 0,
21
+ bottom: 0,
22
+ borderRadius: "inherit",
23
+ zIndex: 0,
24
+ background: r.imageBackgroundGradient
25
+ }
26
+ },
27
+ // Main container with background overlay (without ScoreStateWrapper)
28
+ mainContainer: {
29
+ display: "flex",
30
+ flexDirection: "column",
31
+ gap: "40px",
32
+ p: r.spacingScale.xl,
33
+ boxShadow: "md",
34
+ border: `${r.borderSize} solid ${r.borderColor}`,
35
+ overflow: "hidden",
36
+ backgroundImage: r.backgroundImage,
37
+ backgroundPosition: "center",
38
+ backgroundSize: "cover",
39
+ position: "relative",
40
+ borderRadius: r.mdBorderRadius,
41
+ minHeight: "250px",
42
+ "&::before": {
43
+ content: '""',
44
+ position: "absolute",
45
+ top: 0,
46
+ left: 0,
47
+ right: 0,
48
+ bottom: 0,
49
+ borderRadius: "inherit",
50
+ zIndex: 0,
51
+ background: r.imageBackgroundGradient
52
+ }
53
+ }
54
+ }), v = ({
55
+ entity: r,
56
+ backgroundImage: n,
57
+ imageBackgroundGradient: t,
58
+ children: s,
59
+ isWrappedWithScoreStateWrapper: b = !1
60
+ }) => {
61
+ var e;
62
+ const o = u(), c = p(), i = ((e = r.branding) == null ? void 0 : e.colors) || null, g = o.customRadius.light.md, l = o.border.light.size, m = (i == null ? void 0 : i.borderColor) || o.colorSchemes.dark.secondaryContainer, a = x({
63
+ spacingScale: c,
64
+ mdBorderRadius: g,
65
+ borderSize: l,
66
+ borderColor: m,
67
+ backgroundImage: n,
68
+ imageBackgroundGradient: t
69
+ });
70
+ return /* @__PURE__ */ d.jsx(
71
+ h,
72
+ {
73
+ sx: b ? a.mainContainerWithWrapper : a.mainContainer,
74
+ children: s
75
+ }
76
+ );
77
+ }, R = k(/* @__PURE__ */ d.jsx("path", {
78
+ d: "M16.01 11H4v2h12.01v3L20 12l-3.99-4z"
79
+ }), "ArrowRightAlt");
80
+ export {
81
+ v as R,
82
+ R as z
83
+ };
@@ -0,0 +1,188 @@
1
+ import { h as N, m as O, i as s, D as A, n as p, s as S, l as D, o as E, B as w } from "./PrizeCard-Daz27Vrl-CxGr97qS.js";
2
+ import { r as v, j as d } from "./main-DgdGPAG0.js";
3
+ import { V as T } from "./CheckCircle-BN-6n2s4-R-q5t3Vt.js";
4
+ const B = T(/* @__PURE__ */ d.jsx("path", {
5
+ d: "M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"
6
+ }), "Person");
7
+ function V(e) {
8
+ return E("MuiAvatar", e);
9
+ }
10
+ w("MuiAvatar", ["root", "colorPrimary", "colorNeutral", "colorDanger", "colorSuccess", "colorWarning", "colorContext", "fallback", "sizeSm", "sizeMd", "sizeLg", "img", "variantOutlined", "variantSoft", "variantSolid"]);
11
+ w("MuiAvatarGroup", ["root"]);
12
+ const W = /* @__PURE__ */ v.createContext(void 0);
13
+ p("div", {
14
+ name: "JoyAvatarGroup",
15
+ slot: "Root",
16
+ overridesResolver: (e, r) => r.root
17
+ })(({
18
+ ownerState: e,
19
+ theme: r
20
+ }) => s({}, e.size === "sm" && {
21
+ "--AvatarGroup-gap": "-0.375rem",
22
+ "--Avatar-ringSize": "2px"
23
+ }, e.size === "md" && {
24
+ "--AvatarGroup-gap": "-0.5rem",
25
+ "--Avatar-ringSize": "2px"
26
+ }, e.size === "lg" && {
27
+ "--AvatarGroup-gap": "-0.625rem",
28
+ "--Avatar-ringSize": "4px"
29
+ }, {
30
+ "--Avatar-ring": `0 0 0 var(--Avatar-ringSize) var(--Avatar-ringColor, ${r.vars.palette.background.surface})`,
31
+ "--Avatar-marginInlineStart": "var(--AvatarGroup-gap)",
32
+ display: "flex",
33
+ marginInlineStart: "calc(-1 * var(--AvatarGroup-gap))"
34
+ }));
35
+ const q = ["alt", "color", "size", "variant", "src", "srcSet", "children", "component", "slots", "slotProps"], H = (e) => {
36
+ const {
37
+ size: r,
38
+ variant: t,
39
+ color: a,
40
+ src: i,
41
+ srcSet: n
42
+ } = e, l = {
43
+ root: ["root", t && `variant${S(t)}`, a && `color${S(a)}`, r && `size${S(r)}`],
44
+ img: [(i || n) && "img"],
45
+ fallback: ["fallback"]
46
+ };
47
+ return D(l, V, {});
48
+ }, L = p("div", {
49
+ name: "JoyAvatar",
50
+ slot: "Root",
51
+ overridesResolver: (e, r) => r.root
52
+ })(({
53
+ theme: e,
54
+ ownerState: r
55
+ }) => {
56
+ var t;
57
+ return s({
58
+ "--Icon-color": r.color !== "neutral" || r.variant === "solid" ? "currentColor" : e.vars.palette.text.icon
59
+ }, e.typography[`title-${r.size}`], r.size === "sm" && {
60
+ width: "var(--Avatar-size, 2rem)",
61
+ height: "var(--Avatar-size, 2rem)",
62
+ fontSize: "calc(var(--Avatar-size, 2rem) * 0.4375)"
63
+ // default as 14px
64
+ }, r.size === "md" && {
65
+ width: "var(--Avatar-size, 2.5rem)",
66
+ height: "var(--Avatar-size, 2.5rem)",
67
+ fontSize: "calc(var(--Avatar-size, 2.5rem) * 0.4)"
68
+ // default as 16px
69
+ }, r.size === "lg" && {
70
+ width: "var(--Avatar-size, 3rem)",
71
+ height: "var(--Avatar-size, 3rem)",
72
+ fontSize: "calc(var(--Avatar-size, 3rem) * 0.375)"
73
+ // default as 18px
74
+ }, {
75
+ marginInlineStart: "var(--Avatar-marginInlineStart)",
76
+ boxShadow: "var(--Avatar-ring)",
77
+ position: "relative",
78
+ display: "flex",
79
+ alignItems: "center",
80
+ justifyContent: "center",
81
+ flexShrink: 0,
82
+ lineHeight: 1,
83
+ overflow: "hidden",
84
+ borderRadius: "var(--Avatar-radius, 50%)",
85
+ userSelect: "none"
86
+ }, (t = e.variants[r.variant]) == null ? void 0 : t[r.color]);
87
+ }), U = p("img", {
88
+ name: "JoyAvatar",
89
+ slot: "Img",
90
+ overridesResolver: (e, r) => r.img
91
+ })({
92
+ width: "100%",
93
+ height: "100%",
94
+ textAlign: "center",
95
+ // Handle non-square image. The property isn't supported by IE11.
96
+ objectFit: "cover",
97
+ // Hide alt text.
98
+ color: "transparent",
99
+ // Hide the image broken icon, only works on Chrome.
100
+ textIndent: 1e4
101
+ }), Y = p(B, {
102
+ name: "JoyAvatar",
103
+ slot: "Fallback",
104
+ overridesResolver: (e, r) => r.fallback
105
+ })({
106
+ width: "64%",
107
+ height: "64%"
108
+ });
109
+ function Z({
110
+ crossOrigin: e,
111
+ referrerPolicy: r,
112
+ src: t,
113
+ srcSet: a
114
+ }) {
115
+ const [i, n] = v.useState(!1);
116
+ return v.useEffect(() => {
117
+ if (!t && !a)
118
+ return;
119
+ n(!1);
120
+ let l = !0;
121
+ const o = new Image();
122
+ return o.onload = () => {
123
+ l && n("loaded");
124
+ }, o.onerror = () => {
125
+ l && n("error");
126
+ }, o.crossOrigin = e, o.referrerPolicy = r, t && (o.src = t), a && (o.srcset = a), () => {
127
+ l = !1;
128
+ };
129
+ }, [e, r, t, a]), i;
130
+ }
131
+ const X = /* @__PURE__ */ v.forwardRef(function(e, r) {
132
+ const t = N({
133
+ props: e,
134
+ name: "JoyAvatar"
135
+ }), a = v.useContext(W), {
136
+ alt: i,
137
+ color: n = "neutral",
138
+ size: l = "md",
139
+ variant: o = "soft",
140
+ src: u,
141
+ srcSet: g,
142
+ children: h,
143
+ component: y,
144
+ slots: b = {},
145
+ slotProps: P = {}
146
+ } = t, k = O(t, q), I = e.variant || (a == null ? void 0 : a.variant) || o, R = e.color || (a == null ? void 0 : a.color) || n, j = e.size || (a == null ? void 0 : a.size) || l;
147
+ let c = null;
148
+ const m = s({}, t, {
149
+ color: R,
150
+ size: j,
151
+ variant: I,
152
+ grouped: !!a
153
+ }), z = H(m), f = s({}, k, {
154
+ component: y,
155
+ slots: b,
156
+ slotProps: P
157
+ }), [G, $] = A("root", {
158
+ ref: r,
159
+ className: z.root,
160
+ elementType: L,
161
+ externalForwardedProps: f,
162
+ ownerState: m
163
+ }), [C, x] = A("img", {
164
+ additionalProps: {
165
+ alt: i,
166
+ src: u,
167
+ srcSet: g
168
+ },
169
+ className: z.img,
170
+ elementType: U,
171
+ externalForwardedProps: f,
172
+ ownerState: m
173
+ }), [F, J] = A("fallback", {
174
+ className: z.fallback,
175
+ elementType: Y,
176
+ externalForwardedProps: f,
177
+ ownerState: m
178
+ }), M = Z(s({}, x, {
179
+ src: u,
180
+ srcSet: g
181
+ }));
182
+ return (u || g) && M !== "error" ? c = /* @__PURE__ */ d.jsx(C, s({}, x)) : h != null ? c = h : i ? c = i[0] : c = /* @__PURE__ */ d.jsx(F, s({}, J)), /* @__PURE__ */ d.jsx(G, s({}, $, {
183
+ children: c
184
+ }));
185
+ });
186
+ export {
187
+ X as a
188
+ };