fansunited-frontend-components 0.0.78 → 0.0.80

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 (115) hide show
  1. package/Betslip.js +1 -1
  2. package/ChanceGame.js +12 -11
  3. package/ClassicQuizPlay.js +1 -1
  4. package/CollectLead.js +39 -38
  5. package/Discussion.js +1 -1
  6. package/EitherOrPlay.js +1 -1
  7. package/EventCard.js +61 -61
  8. package/EventGamePlay.js +1 -1
  9. package/Leaderboard.js +13 -13
  10. package/List.js +93 -82
  11. package/MatchQuizPlay.js +1 -1
  12. package/PersonalityQuizPlay.js +1 -1
  13. package/PickThePair.js +13 -12
  14. package/PlayerOfTheMatch.js +22 -22
  15. package/PollVote.js +1 -1
  16. package/Predictor.js +1 -1
  17. package/README.md +131 -16
  18. package/Standings.js +26 -26
  19. package/TopX.js +27 -27
  20. package/chunks/{AccessTime-B30dztb0.js → AccessTime-BoYoyig3.js} +1 -1
  21. package/chunks/{AlertMessage-DioJxnEH.js → AlertMessage-DBbObbCr.js} +13 -13
  22. package/chunks/{Avatar-BDK_vO0c.js → Avatar-Bs2ODH24.js} +25 -25
  23. package/chunks/{Button-CsvEgUxT.js → Button-By0gW9vl.js} +17 -17
  24. package/chunks/{Card-Bp7sboHu.js → Card-Bbq-568c.js} +17 -17
  25. package/chunks/{CardActions-ehD6I2GZ.js → CardActions-DntJimyi.js} +14 -14
  26. package/chunks/{CardContent-BZDBKTQD.js → CardContent-JrB_z1Or.js} +5 -5
  27. package/chunks/{ChanceGameEmbedVariant-DMI7i2Me.js → ChanceGameEmbedVariant-D8b8PZnU.js} +21 -20
  28. package/chunks/{CheckCircle-BXhOrVkK.js → CheckCircle-BVTGl0Ft.js} +1 -1
  29. package/chunks/{Chip-Bm-Ccjvy.js → Chip-WC9No4h9.js} +10 -10
  30. package/chunks/{Close-CG_aSJDO.js → Close-CKW5gQRw.js} +1 -1
  31. package/chunks/{Close-AaOgLIme.js → Close-tWsMMKfA.js} +1 -1
  32. package/chunks/{CollectLeadForm-DZe1Ymdq.js → CollectLeadForm-CwcEETPM.js} +90 -90
  33. package/chunks/{ConsentsList-DooBFFmw.js → ConsentsList-D1KKdfOJ.js} +39 -39
  34. package/chunks/{DirectionScope-oLk_U3C_.js → DirectionScope-BYGJWPAq.js} +1 -1
  35. package/chunks/{Divider-CAgadBhD.js → Divider-4Rcw4h05.js} +5 -5
  36. package/chunks/{Edit-kXDl-pRS.js → Edit-D7yPt8sV.js} +13 -13
  37. package/chunks/{EditOutlined-BX5qBF8L.js → EditOutlined-DvZLGuHA.js} +1 -1
  38. package/chunks/{EmojiEvents-xseHOk4b.js → EmojiEvents-YHRdPnXx.js} +1 -1
  39. package/chunks/{FavoriteBorder-BMOLtK7X.js → FavoriteBorder-BXLiJyTv.js} +1 -1
  40. package/chunks/{FormControl-BTDS6ct5.js → FormControl-yhrIQ7ci.js} +17 -17
  41. package/chunks/{FormLabel-Ddvg7Uaw.js → FormLabel-COGIjfEx.js} +10 -10
  42. package/chunks/{InlineSpinner-CvwR2FB_.js → InlineSpinner-CyqM_yQn.js} +2 -2
  43. package/chunks/{Input-aCtmZdRk.js → Input-Dm3GnI0X.js} +10 -10
  44. package/chunks/{KeyboardArrowDown-BFuNjWbC.js → KeyboardArrowDown-CCFl-_Cw.js} +1 -1
  45. package/chunks/{KeyboardArrowRight-DaukpNJR.js → KeyboardArrowRight-387qOqAR.js} +1 -1
  46. package/chunks/{Link-lifAyVr-.js → Link-ByX_uwKs.js} +16 -16
  47. package/chunks/{ListItemButton-BSg2RH3G.js → ListItemButton-CxWpt9SR.js} +52 -52
  48. package/chunks/{ModalClose-C-dgGCpP.js → ModalClose-Cm8vOuk-.js} +17 -17
  49. package/chunks/{ModalDialog-DyJQmPgR.js → ModalDialog-CXSBeWlQ.js} +42 -42
  50. package/chunks/{NotFoundSkeleton-CPrI2SnC.js → NotFoundSkeleton-BV0mXA7z.js} +40 -39
  51. package/chunks/{Notification-1ogsNUiX.js → Notification-preGSwrO.js} +12 -12
  52. package/chunks/{OverlayScoreStateSkeleton-DALoMahw.js → OverlayScoreStateSkeleton-CA4yxhzc.js} +4 -4
  53. package/chunks/{OverlayScoreStateWrapperSkeleton-BDDNd4hM.js → OverlayScoreStateWrapperSkeleton-BwDWj5VX.js} +1 -1
  54. package/chunks/{OverlaySignInSkeleton-BUiNvDRX.js → OverlaySignInSkeleton-C0gpFLV4.js} +11 -10
  55. package/chunks/{Person-CtBkSz4s.js → Person-DFs8t3vY.js} +1 -1
  56. package/chunks/{PersonOutline-ftsY5SqE.js → PersonOutline-BHHHU-iP.js} +1 -1
  57. package/chunks/{PickOneOfX-ASPYutVw.js → PickOneOfX-eEOpXC-f.js} +3 -3
  58. package/chunks/{Popper-Bj1kl7y_.js → Popper-BJbMQoEj.js} +19 -19
  59. package/chunks/{Portal-B5LOp_VA.js → Portal-0HYQP6vC.js} +9 -8
  60. package/chunks/{Portal-DxNZWqOV.js → Portal-Cd3abSBt.js} +2 -2
  61. package/chunks/{Predictor-o1ZtxfmB.js → Predictor-Db1YZFlF.js} +27 -27
  62. package/chunks/{PrizeCard-DG54vy2l.js → PrizeCard-YH9jftwY.js} +1773 -1611
  63. package/chunks/{Search-Jq0gJI9j.js → Search-CWYaTHth.js} +1 -1
  64. package/chunks/{Select-Dvq1fOJv.js → Select-osvV4zXY.js} +82 -82
  65. package/chunks/{Sheet-emOLchyd.js → Sheet-Bj4wdH5F.js} +14 -14
  66. package/chunks/{SignInCta-DUarOlDT.js → SignInCta-3q_FTCgs.js} +3 -3
  67. package/chunks/{Spinner-CfnxZwI6.js → Spinner-CP7juuny.js} +2 -2
  68. package/chunks/{Stack-Ck9Xjygq.js → Stack-DuL71jRI.js} +27 -27
  69. package/chunks/{StandardContentSkeleton-Bx2HVrwG.js → StandardContentSkeleton-CsYymZyn.js} +1 -1
  70. package/chunks/{Table-DU0BCrKV.js → Table-DvjSYLKy.js} +5 -5
  71. package/chunks/{Tabs-Dx0bzmUT.js → Tabs-D44eIyd1.js} +19 -19
  72. package/chunks/{Textarea-CrulPENr.js → Textarea-Cjks7P0A.js} +27 -27
  73. package/chunks/{TimerOutlined-C3LRF5_A.js → TimerOutlined-D-ySNoFF.js} +1 -1
  74. package/chunks/{Tooltip-C8hJsZr9.js → Tooltip-C9OhGeHY.js} +52 -52
  75. package/chunks/{Typography-ECqxGAdq.js → Typography-Ce4eGDV-.js} +29 -29
  76. package/chunks/{WorkspacePremiumOutlined-DZe6H7gK.js → WorkspacePremiumOutlined-mcdyqu4a.js} +1 -1
  77. package/chunks/{createSvgIcon-SFvnySaS.js → createSvgIcon-D2EzyIzB.js} +12 -12
  78. package/chunks/{createSvgIcon-ZK1E4tSQ.js → createSvgIcon-D9F_KILu.js} +40 -40
  79. package/chunks/{dividerClasses-vQL1-lZZ.js → dividerClasses-D7_NXMv_.js} +1 -1
  80. package/chunks/{elementAcceptingRef-BQjX8_HI.js → elementAcceptingRef-z3i9EgXj.js} +1 -1
  81. package/chunks/enums-B1lTCQvC.js +15 -0
  82. package/chunks/{formLabelClasses-C6bWt8jt.js → formLabelClasses-DWH0zNVd.js} +1 -1
  83. package/chunks/{helpers-DK7NIWA3.js → helpers-B4K14VMy.js} +1 -1
  84. package/chunks/index-7P5xWKpe.js +4 -0
  85. package/chunks/index-BU6n6VAs.js +4 -0
  86. package/chunks/index-BeAwxbb7.js +4 -0
  87. package/chunks/index-CYbzrOCD.js +4 -0
  88. package/chunks/{index-D5NQUqT3.js → index-D6_vWz9t.js} +1 -1
  89. package/chunks/index-DfmHCVlq.js +4 -0
  90. package/chunks/index-Do8G2ehs.js +4 -0
  91. package/chunks/index-bI2wtknX.js +4 -0
  92. package/chunks/{main-CsgyDzQn.js → main-3TaPwm3t.js} +21 -20
  93. package/chunks/{main-BFR2-Jev.js → main-ChI4MrZS.js} +3788 -1553
  94. package/chunks/{main-t-kBnJfd.js → main-Cn8QJIGS.js} +190 -189
  95. package/chunks/{main-CMaUkaQg.js → main-D1KgLv-3.js} +36 -35
  96. package/chunks/{main-BpEXHrXG.js → main-D3vY3EZB.js} +177 -176
  97. package/chunks/{main-DXZDk8yw.js → main-eplFgf8K.js} +3 -3
  98. package/chunks/{main-XzVztuyY.js → main-la4AkVWG.js} +32 -31
  99. package/chunks/{main-BqzP5wNI.js → main-ndsgeKK2.js} +43 -43
  100. package/chunks/{useButton-BuGBhKba.js → useButton-BkNIp1Dt.js} +2 -2
  101. package/chunks/{useConsents-CTrXjPMT.js → useConsents-G3YImrA0.js} +27 -26
  102. package/chunks/{useEventCallback-BL4OQp0i.js → useEventCallback-Bpmr_fht.js} +1 -1
  103. package/chunks/{useForwardedInput-87iBLSE1.js → useForwardedInput-BnX6YP2x.js} +27 -27
  104. package/chunks/{useImageVariant-BpkocGDo.js → useImageVariant-CHZmm8-4.js} +6 -5
  105. package/chunks/{useParticipationDraft-C39xos8n.js → useParticipationDraft-CLycICaf.js} +6 -6
  106. package/chunks/{useSwitch-wS7XLrgV.js → useSwitch-C5TzU7zu.js} +2 -2
  107. package/index.js +4 -4
  108. package/package.json +2 -2
  109. package/chunks/index--sCTbryp.js +0 -4
  110. package/chunks/index-629uVyFa.js +0 -4
  111. package/chunks/index-BJfy__18.js +0 -4
  112. package/chunks/index-DD09ekhb.js +0 -4
  113. package/chunks/index-Dbxw2Q2L.js +0 -4
  114. package/chunks/index-GkKP5Yym.js +0 -4
  115. package/chunks/index-Ke1RX9Pb.js +0 -4
package/List.js CHANGED
@@ -1,29 +1,30 @@
1
- import { jsx as o, jsxs as M } from "react/jsx-runtime";
1
+ import { jsx as o, jsxs as v } from "react/jsx-runtime";
2
2
  import * as D from "react";
3
3
  import { useState as z, useRef as O, useCallback as V, useEffect as at, lazy as Q, Suspense as ct } from "react";
4
- import { H as lt, I as dt, J as pt, _ as $, K as mt, L as h, g as ut, u as ft, f as ht, d as gt, a as J, i as et, B as x, b as yt, y as Ct, W as xt } from "./chunks/PrizeCard-DG54vy2l.js";
5
- import { P as It } from "./chunks/Portal-B5LOp_VA.js";
4
+ import { F as lt, G as dt, H as pt, _ as $, I as mt, P as h, g as ut, u as ft, f as ht, d as gt, a as J, i as et, B as x, b as yt, v as Ct } from "./chunks/PrizeCard-YH9jftwY.js";
5
+ import { P as xt } from "./chunks/Portal-0HYQP6vC.js";
6
6
  import "react-dom";
7
- import { S as nt } from "./chunks/Spinner-CfnxZwI6.js";
8
- import { a as wt } from "./chunks/index-D5NQUqT3.js";
9
- import { C as St } from "./chunks/Card-Bp7sboHu.js";
10
- import { s as bt, b as Tt, c as Pt, d as Et, T as Z } from "./chunks/Typography-ECqxGAdq.js";
11
- import { C as Mt } from "./chunks/CardContent-BZDBKTQD.js";
12
- import { C as vt } from "./chunks/Chip-Bm-Ccjvy.js";
13
- import { c as Lt } from "./chunks/createLucideIcon-YBRjY5Kl.js";
14
- import { M as Ut, a as Rt } from "./chunks/ModalDialog-DyJQmPgR.js";
15
- import { M as _t } from "./chunks/ModalClose-C-dgGCpP.js";
16
- import { D as W } from "./chunks/DirectionScope-oLk_U3C_.js";
17
- import { I as Y, B as ot } from "./chunks/Button-CsvEgUxT.js";
7
+ import { S as nt } from "./chunks/Spinner-CP7juuny.js";
8
+ import { a as It } from "./chunks/index-D6_vWz9t.js";
9
+ import { C as bt } from "./chunks/Card-Bbq-568c.js";
10
+ import { s as St, b as wt, c as Tt, d as Pt, T as Z } from "./chunks/Typography-Ce4eGDV-.js";
11
+ import { C as Et } from "./chunks/CardContent-JrB_z1Or.js";
12
+ import { C as vt } from "./chunks/Chip-WC9No4h9.js";
13
+ import { c as Mt } from "./chunks/createLucideIcon-YBRjY5Kl.js";
14
+ import { W as Lt } from "./chunks/enums-B1lTCQvC.js";
15
+ import { M as Ut, a as Rt } from "./chunks/ModalDialog-CXSBeWlQ.js";
16
+ import { M as _t } from "./chunks/ModalClose-Cm8vOuk-.js";
17
+ import { D as W } from "./chunks/DirectionScope-BYGJWPAq.js";
18
+ import { I as G, B as ot } from "./chunks/Button-By0gW9vl.js";
18
19
  import { C as Ft, a as Ot } from "./chunks/chevrons-right-CXSpQt9w.js";
19
20
  import { C as zt, a as At } from "./chunks/chevron-right-eZEqQ93O.js";
20
21
  function Nt(e) {
21
22
  return dt("MuiCardCover", e);
22
23
  }
23
24
  lt("MuiCardCover", ["root"]);
24
- const Bt = ["className", "component", "children", "slots", "slotProps"], Ht = () => Et({
25
+ const Bt = ["className", "component", "children", "slots", "slotProps"], Ht = () => Pt({
25
26
  root: ["root"]
26
- }, Nt, {}), Qt = bt("div", {
27
+ }, Nt, {}), Qt = St("div", {
27
28
  name: "JoyCardCover",
28
29
  slot: "Root",
29
30
  overridesResolver: (e, n) => n.root
@@ -56,7 +57,7 @@ const Bt = ["className", "component", "children", "slots", "slotProps"], Ht = ()
56
57
  }
57
58
  }
58
59
  }), q = /* @__PURE__ */ D.forwardRef(function(n, t) {
59
- const d = Tt({
60
+ const d = wt({
60
61
  props: n,
61
62
  name: "JoyCardCover"
62
63
  }), {
@@ -67,13 +68,13 @@ const Bt = ["className", "component", "children", "slots", "slotProps"], Ht = ()
67
68
  slotProps: C = {}
68
69
  } = d, i = pt(d, Bt), P = $({}, d, {
69
70
  component: a
70
- }), v = Ht(), A = $({}, i, {
71
+ }), M = Ht(), A = $({}, i, {
71
72
  component: a,
72
73
  slots: c,
73
74
  slotProps: C
74
- }), [L, _] = Pt("root", {
75
+ }), [L, _] = Tt("root", {
75
76
  ref: t,
76
- className: mt(v.root, l),
77
+ className: mt(M.root, l),
77
78
  elementType: Qt,
78
79
  externalForwardedProps: A,
79
80
  ownerState: P
@@ -128,7 +129,7 @@ process.env.NODE_ENV !== "production" && (q.propTypes = {
128
129
  * This source code is licensed under the ISC license.
129
130
  * See the LICENSE file in the root directory of this source tree.
130
131
  */
131
- const jt = Lt("Users", [
132
+ const jt = Mt("Users", [
132
133
  ["path", { d: "M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2", key: "1yyitq" }],
133
134
  ["circle", { cx: "9", cy: "7", r: "4", key: "nufk8" }],
134
135
  ["path", { d: "M22 21v-2a4 4 0 0 0-3-3.87", key: "kshegd" }],
@@ -204,7 +205,7 @@ const jt = Lt("Users", [
204
205
  const n = (t = rt(e)) == null ? void 0 : t.status;
205
206
  return !!(n && kt.has(n));
206
207
  }, Dt = 50, Vt = 3, Wt = (e, n, t, d) => {
207
- const l = d === "paged", a = d === "limited", [r, c] = z([]), [C, i] = z(!1), [P, v] = z(!1), [A, L] = z(!l), [_, I] = z(1), [S, N] = z(1), b = O([]), T = O([]), B = O(/* @__PURE__ */ new Set()), U = O(1), p = O(!1), u = O(!1), s = O(null), E = O(0), w = V(
208
+ const l = d === "paged", a = d === "limited", [r, c] = z([]), [C, i] = z(!1), [P, M] = z(!1), [A, L] = z(!l), [_, I] = z(1), [S, N] = z(1), w = O([]), T = O([]), B = O(/* @__PURE__ */ new Set()), U = O(1), p = O(!1), u = O(!1), s = O(null), E = O(0), b = V(
208
209
  async (m, g) => {
209
210
  var H;
210
211
  const f = await e.lists.getListContent(n, {
@@ -225,37 +226,37 @@ const jt = Lt("Users", [
225
226
  L(!1);
226
227
  return;
227
228
  }
228
- if (b.current.length < f && !p.current) {
229
+ if (w.current.length < f && !p.current) {
229
230
  u.current = !0, i(!0);
230
231
  try {
231
232
  let R = 0;
232
- for (; b.current.length < f && !p.current && R < Vt; ) {
233
+ for (; w.current.length < f && !p.current && R < Vt; ) {
233
234
  const {
234
235
  valid: H,
235
236
  rawCount: st,
236
237
  pageCount: it
237
- } = await w(U.current, Dt);
238
+ } = await b(U.current, Dt);
238
239
  if (g()) return;
239
240
  R += 1;
240
241
  const X = H.filter(
241
242
  (K) => !B.current.has(K.entityId)
242
243
  );
243
- X.forEach((K) => B.current.add(K.entityId)), b.current.push(...X), (st === 0 || U.current >= it) && (p.current = !0), U.current += 1;
244
+ X.forEach((K) => B.current.add(K.entityId)), w.current.push(...X), (st === 0 || U.current >= it) && (p.current = !0), U.current += 1;
244
245
  }
245
246
  } catch (R) {
246
247
  if (g()) return;
247
- console.warn("Error fetching list content:", R), v(!0);
248
+ console.warn("Error fetching list content:", R), M(!0);
248
249
  return;
249
250
  } finally {
250
251
  g() || (u.current = !1, i(!1));
251
252
  }
252
253
  }
253
254
  if (g()) return;
254
- const y = [...T.current, ...b.current.splice(0, f)];
255
+ const y = [...T.current, ...w.current.splice(0, f)];
255
256
  T.current = y, c(y), L(
256
- !a && (b.current.length > 0 || !p.current)
257
+ !a && (w.current.length > 0 || !p.current)
257
258
  );
258
- }, [w, a, t, n, e]), j = V(
259
+ }, [b, a, t, n, e]), j = V(
259
260
  (m, g) => {
260
261
  const f = Math.max(1, Math.ceil(m.length / t)), y = Math.min(Math.max(g, 1), f);
261
262
  c(m.slice((y - 1) * t, y * t)), N(f), I(y);
@@ -276,7 +277,7 @@ const jt = Lt("Users", [
276
277
  valid: y,
277
278
  rawCount: R,
278
279
  pageCount: H
279
- } = await w(m, t);
280
+ } = await b(m, t);
280
281
  if (f()) return;
281
282
  if (R > t) {
282
283
  s.current = y, j(y, m);
@@ -285,15 +286,15 @@ const jt = Lt("Users", [
285
286
  c(y), N(H), I(m);
286
287
  } catch (y) {
287
288
  if (f()) return;
288
- console.warn("Error fetching list content:", y), v(!0);
289
+ console.warn("Error fetching list content:", y), M(!0);
289
290
  } finally {
290
291
  f() || (u.current = !1, i(!1));
291
292
  }
292
293
  },
293
- [w, t, n, e, j]
294
+ [b, t, n, e, j]
294
295
  );
295
296
  return at(() => {
296
- E.current += 1, u.current = !1, b.current = [], T.current = [], B.current = /* @__PURE__ */ new Set(), U.current = 1, p.current = !1, s.current = null, c([]), v(!1), L(!l), I(1), N(1), l ? k(1) : F();
297
+ E.current += 1, u.current = !1, w.current = [], T.current = [], B.current = /* @__PURE__ */ new Set(), U.current = 1, p.current = !1, s.current = null, c([]), M(!1), L(!l), I(1), N(1), l ? k(1) : F();
297
298
  }, [l, k, F]), {
298
299
  items: r,
299
300
  loading: C,
@@ -304,7 +305,7 @@ const jt = Lt("Users", [
304
305
  pageCount: S,
305
306
  goToPage: k
306
307
  };
307
- }, G = () => {
308
+ }, Y = () => {
308
309
  const e = ut(), n = ft(), t = ht(), d = gt();
309
310
  return {
310
311
  fonts: n,
@@ -328,7 +329,7 @@ const jt = Lt("Users", [
328
329
  labelShadow: "0 1px 2px rgba(0,0,0,0.4)"
329
330
  }
330
331
  };
331
- }, tt = "{CONTENT_ID}", Yt = (e, n) => {
332
+ }, tt = "{CONTENT_ID}", Gt = (e, n) => {
332
333
  switch (e) {
333
334
  case "CLASSIC_QUIZ":
334
335
  return n == null ? void 0 : n.classicQuizUrl;
@@ -345,8 +346,8 @@ const jt = Lt("Users", [
345
346
  default:
346
347
  return;
347
348
  }
348
- }, Gt = (e) => !!(e != null && e.classicQuizUrl || e != null && e.personalityQuizUrl || e != null && e.eitherOrUrl || e != null && e.pollUrl || e != null && e.matchQuizUrl || e != null && e.eventGameUrl), Kt = (e, n) => {
349
- const t = Yt(e.entityType, n);
349
+ }, Yt = (e) => !!(e != null && e.classicQuizUrl || e != null && e.personalityQuizUrl || e != null && e.eitherOrUrl || e != null && e.pollUrl || e != null && e.matchQuizUrl || e != null && e.eventGameUrl), Kt = (e, n) => {
350
+ const t = Gt(e.entityType, n);
350
351
  return t ? t.includes(tt) ? t.replace(tt, e.entityId) : t : null;
351
352
  }, $t = (e, n) => {
352
353
  const t = e == null ? void 0 : e.images;
@@ -359,9 +360,9 @@ const jt = Lt("Users", [
359
360
  onClick: l
360
361
  }) => {
361
362
  var i, P;
362
- const { t: a } = J(), r = G(), c = et(), C = $t(n.branding, c);
363
- return /* @__PURE__ */ M(
364
- St,
363
+ const { t: a } = J(), r = Y(), c = et(), C = $t(n.branding, c);
364
+ return /* @__PURE__ */ v(
365
+ bt,
365
366
  {
366
367
  onClick: () => l(e),
367
368
  sx: {
@@ -386,15 +387,15 @@ const jt = Lt("Users", [
386
387
  /* @__PURE__ */ o(q, { children: /* @__PURE__ */ o(
387
388
  "img",
388
389
  {
389
- src: ((i = n.images) == null ? void 0 : i.cover) || ((P = n.images) == null ? void 0 : P.main) || d || wt,
390
+ src: ((i = n.images) == null ? void 0 : i.cover) || ((P = n.images) == null ? void 0 : P.main) || d || It,
390
391
  alt: n.title,
391
392
  loading: "lazy",
392
393
  style: { transition: "transform 0.4s ease-out" }
393
394
  }
394
395
  ) }),
395
396
  /* @__PURE__ */ o(q, { sx: { background: r.onImage.scrim } }),
396
- /* @__PURE__ */ M(Mt, { sx: { justifyContent: "flex-end", gap: 0 }, children: [
397
- /* @__PURE__ */ M(
397
+ /* @__PURE__ */ v(Et, { sx: { justifyContent: "flex-end", gap: 0 }, children: [
398
+ /* @__PURE__ */ v(
398
399
  x,
399
400
  {
400
401
  sx: {
@@ -404,8 +405,8 @@ const jt = Lt("Users", [
404
405
  gap: r.spacing.md
405
406
  },
406
407
  children: [
407
- /* @__PURE__ */ M(x, { children: [
408
- /* @__PURE__ */ M(
408
+ /* @__PURE__ */ v(x, { children: [
409
+ /* @__PURE__ */ v(
409
410
  x,
410
411
  {
411
412
  sx: {
@@ -463,7 +464,7 @@ const jt = Lt("Users", [
463
464
  }
464
465
  )
465
466
  ] }),
466
- C && !c && /* @__PURE__ */ M(
467
+ C && !c && /* @__PURE__ */ v(
467
468
  x,
468
469
  {
469
470
  sx: {
@@ -507,7 +508,7 @@ const jt = Lt("Users", [
507
508
  ]
508
509
  }
509
510
  ),
510
- C && c && /* @__PURE__ */ M(
511
+ C && c && /* @__PURE__ */ v(
511
512
  x,
512
513
  {
513
514
  sx: {
@@ -552,27 +553,27 @@ const jt = Lt("Users", [
552
553
  ]
553
554
  }
554
555
  );
555
- }, Jt = Q(() => import("./chunks/index--sCTbryp.js")), Xt = Q(
556
- () => import("./chunks/index-Dbxw2Q2L.js")
557
- ), te = Q(() => import("./chunks/index-DD09ekhb.js")), ee = Q(() => import("./chunks/index-GkKP5Yym.js")), ne = Q(() => import("./chunks/index-Ke1RX9Pb.js")), oe = Q(() => import("./chunks/index-629uVyFa.js")), re = ({
556
+ }, Jt = Q(() => import("./chunks/index-7P5xWKpe.js")), Xt = Q(
557
+ () => import("./chunks/index-BeAwxbb7.js")
558
+ ), te = Q(() => import("./chunks/index-DfmHCVlq.js")), ee = Q(() => import("./chunks/index-Do8G2ehs.js")), ne = Q(() => import("./chunks/index-BU6n6VAs.js")), oe = Q(() => import("./chunks/index-CYbzrOCD.js")), re = ({
558
559
  item: e,
559
560
  open: n,
560
561
  onClose: t,
561
562
  listProps: d
562
563
  }) => {
563
- const { t: l } = J(), a = G(), { shadowRootElement: r } = yt(Ct), {
564
+ const { t: l } = J(), a = Y(), { shadowRootElement: r } = yt(Ct), {
564
565
  sdk: c,
565
566
  language: C,
566
567
  themeOptions: i,
567
568
  userIsLoggedIn: P,
568
- signInCTA: v,
569
+ signInCTA: M,
569
570
  additionalCTA: A,
570
571
  shareCTA: L,
571
572
  rulesDisplay: _,
572
573
  leads: I,
573
574
  consents: S,
574
575
  chanceGameVariant: N,
575
- showAnswerExplanations: b,
576
+ showAnswerExplanations: w,
576
577
  optionsLayout: T,
577
578
  imagePosition: B,
578
579
  defaultImagePlaceholderUrl: U,
@@ -586,23 +587,23 @@ const jt = Lt("Users", [
586
587
  leads: I,
587
588
  consents: S,
588
589
  userIsLoggedIn: P,
589
- signInCTA: v,
590
+ signInCTA: M,
590
591
  additionalCTA: A,
591
592
  rulesDisplay: _,
592
593
  defaultImagePlaceholderUrl: U,
593
- template: xt.STANDARD,
594
+ template: Lt.STANDARD,
594
595
  imagePosition: B
595
- }, w = { ...E, chanceGameVariant: N }, F = () => {
596
+ }, b = { ...E, chanceGameVariant: N }, F = () => {
596
597
  if (!e) return null;
597
598
  switch (e.entityType) {
598
599
  case "CLASSIC_QUIZ":
599
600
  return /* @__PURE__ */ o(
600
601
  Jt,
601
602
  {
602
- ...w,
603
+ ...b,
603
604
  entityId: e.entityId,
604
605
  shareCTA: L,
605
- showAnswerExplanations: b,
606
+ showAnswerExplanations: w,
606
607
  optionsLayout: T,
607
608
  callbacks: {
608
609
  onFinish: s == null ? void 0 : s.onFinish,
@@ -614,9 +615,9 @@ const jt = Lt("Users", [
614
615
  return /* @__PURE__ */ o(
615
616
  Xt,
616
617
  {
617
- ...w,
618
+ ...b,
618
619
  entityId: e.entityId,
619
- showAnswerExplanations: b,
620
+ showAnswerExplanations: w,
620
621
  optionsLayout: T,
621
622
  callbacks: { onFinish: s == null ? void 0 : s.onFinish }
622
623
  }
@@ -625,7 +626,7 @@ const jt = Lt("Users", [
625
626
  return /* @__PURE__ */ o(
626
627
  te,
627
628
  {
628
- ...w,
629
+ ...b,
629
630
  entityId: e.entityId,
630
631
  optionsLayout: T,
631
632
  callbacks: { onFinish: s == null ? void 0 : s.onFinish }
@@ -644,7 +645,7 @@ const jt = Lt("Users", [
644
645
  return /* @__PURE__ */ o(
645
646
  ne,
646
647
  {
647
- ...w,
648
+ ...b,
648
649
  entityId: e.entityId,
649
650
  showPredictionDetails: (p == null ? void 0 : p.showPredictionDetails) ?? !0,
650
651
  showCountdown: (p == null ? void 0 : p.showCountdown) ?? !0,
@@ -657,7 +658,7 @@ const jt = Lt("Users", [
657
658
  return /* @__PURE__ */ o(
658
659
  oe,
659
660
  {
660
- ...w,
661
+ ...b,
661
662
  entityId: e.entityId,
662
663
  optionsLayout: T,
663
664
  showPredictionDetails: (u == null ? void 0 : u.showPredictionDetails) ?? !0,
@@ -687,7 +688,7 @@ const jt = Lt("Users", [
687
688
  onClose: t,
688
689
  container: r,
689
690
  sx: { zIndex: 1300 },
690
- children: /* @__PURE__ */ M(
691
+ children: /* @__PURE__ */ v(
691
692
  Rt,
692
693
  {
693
694
  sx: {
@@ -702,8 +703,18 @@ const jt = Lt("Users", [
702
703
  backgroundColor: a.colors.surface
703
704
  },
704
705
  children: [
705
- /* @__PURE__ */ o(_t, { sx: { zIndex: 1 } }),
706
- /* @__PURE__ */ o(ct, { fallback: /* @__PURE__ */ o(nt, { my: 4 }), children: F() })
706
+ /* @__PURE__ */ o(
707
+ _t,
708
+ {
709
+ sx: {
710
+ zIndex: 1,
711
+ // Joy's plain hover/active fill reads as a white tile over the item's image.
712
+ "&:hover": { backgroundColor: "transparent" },
713
+ "&:active": { backgroundColor: "transparent" }
714
+ }
715
+ }
716
+ ),
717
+ /* @__PURE__ */ o(x, { sx: { position: "relative", zIndex: 0, fontSize: "1em" }, children: /* @__PURE__ */ o(ct, { fallback: /* @__PURE__ */ o(nt, { my: 4 }), children: F() }) })
707
718
  ]
708
719
  }
709
720
  )
@@ -723,7 +734,7 @@ const jt = Lt("Users", [
723
734
  disabled: t = !1,
724
735
  onChange: d
725
736
  }) => {
726
- const l = G(), a = (c) => {
737
+ const l = Y(), a = (c) => {
727
738
  c >= 1 && c <= n && c !== e && d(c);
728
739
  }, r = {
729
740
  minWidth: "2em",
@@ -733,7 +744,7 @@ const jt = Lt("Users", [
733
744
  fontSize: "0.875em",
734
745
  color: l.colors.text
735
746
  };
736
- return /* @__PURE__ */ M(
747
+ return /* @__PURE__ */ v(
737
748
  x,
738
749
  {
739
750
  sx: {
@@ -745,7 +756,7 @@ const jt = Lt("Users", [
745
756
  },
746
757
  children: [
747
758
  /* @__PURE__ */ o(
748
- Y,
759
+ G,
749
760
  {
750
761
  variant: "plain",
751
762
  color: "neutral",
@@ -756,7 +767,7 @@ const jt = Lt("Users", [
756
767
  }
757
768
  ),
758
769
  /* @__PURE__ */ o(
759
- Y,
770
+ G,
760
771
  {
761
772
  variant: "plain",
762
773
  color: "neutral",
@@ -805,7 +816,7 @@ const jt = Lt("Users", [
805
816
  );
806
817
  }),
807
818
  /* @__PURE__ */ o(
808
- Y,
819
+ G,
809
820
  {
810
821
  variant: "plain",
811
822
  color: "neutral",
@@ -816,7 +827,7 @@ const jt = Lt("Users", [
816
827
  }
817
828
  ),
818
829
  /* @__PURE__ */ o(
819
- Y,
830
+ G,
820
831
  {
821
832
  variant: "plain",
822
833
  color: "neutral",
@@ -845,30 +856,30 @@ const jt = Lt("Users", [
845
856
  widgetMode: a = "load-more",
846
857
  urls: r,
847
858
  defaultImagePlaceholderUrl: c
848
- } = e, { t: C } = J(), i = G(), P = et(), [v, A] = z(null), [L, _] = z(!1), {
859
+ } = e, { t: C } = J(), i = Y(), P = et(), [M, A] = z(null), [L, _] = z(!1), {
849
860
  items: I,
850
861
  loading: S,
851
862
  error: N,
852
- hasMore: b,
863
+ hasMore: w,
853
864
  loadMore: T,
854
865
  page: B,
855
866
  pageCount: U,
856
867
  goToPage: p
857
- } = Wt(t, n, d, a), u = Gt(r), s = a === "paged", E = (m) => {
868
+ } = Wt(t, n, d, a), u = Yt(r), s = a === "paged", E = (m) => {
858
869
  const g = Kt(m, r);
859
870
  if (g) {
860
871
  window.location.href = g;
861
872
  return;
862
873
  }
863
874
  u || (A(m), _(!0));
864
- }, w = P ? 1 : Math.max(1, Math.floor(l)), F = s && U > 1, j = !s && b && !S, k = !(s && S);
865
- return N || !S && I.length === 0 && !F ? null : /* @__PURE__ */ M(x, { sx: { fontSize: "1em", fontFamily: i.fonts.secondary }, children: [
875
+ }, b = P ? 1 : Math.max(1, Math.floor(l)), F = s && U > 1, j = !s && w && !S, k = !(s && S);
876
+ return N || !S && I.length === 0 && !F ? null : /* @__PURE__ */ v(x, { sx: { fontSize: "1em", fontFamily: i.fonts.secondary }, children: [
866
877
  k && /* @__PURE__ */ o(
867
878
  x,
868
879
  {
869
880
  sx: {
870
881
  display: "grid",
871
- gridTemplateColumns: `repeat(${w}, minmax(0, 1fr))`,
882
+ gridTemplateColumns: `repeat(${b}, minmax(0, 1fr))`,
872
883
  gap: i.spacing.xs,
873
884
  marginBottom: i.spacing.md
874
885
  },
@@ -944,14 +955,14 @@ const jt = Lt("Users", [
944
955
  /* @__PURE__ */ o(
945
956
  re,
946
957
  {
947
- item: v,
958
+ item: M,
948
959
  open: L,
949
960
  onClose: () => _(!1),
950
961
  listProps: e
951
962
  }
952
963
  )
953
964
  ] });
954
- }, de = (e) => /* @__PURE__ */ o(It, { packageName: "list", ...e, children: /* @__PURE__ */ o(le, { ...e }) }), Le = de;
965
+ }, de = (e) => /* @__PURE__ */ o(xt, { packageName: "list", ...e, children: /* @__PURE__ */ o(le, { ...e }) }), Ue = de;
955
966
  export {
956
- Le as List
967
+ Ue as List
957
968
  };
package/MatchQuizPlay.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M as a } from "./chunks/main-CMaUkaQg.js";
1
+ import { M as a } from "./chunks/main-D1KgLv-3.js";
2
2
  const t = a;
3
3
  export {
4
4
  t as MatchQuizPlay
@@ -1,4 +1,4 @@
1
- import { M as o } from "./chunks/main-BpEXHrXG.js";
1
+ import { M as o } from "./chunks/main-D3vY3EZB.js";
2
2
  const i = o;
3
3
  export {
4
4
  i as PersonalityQuizPlay
package/PickThePair.js CHANGED
@@ -1,17 +1,18 @@
1
1
  import { jsx as t, jsxs as w, Fragment as K } from "react/jsx-runtime";
2
- import { g as Ie, h as se, e as We, l as De } from "./chunks/helpers-DK7NIWA3.js";
2
+ import { g as Ie, h as se, e as We, l as De } from "./chunks/helpers-B4K14VMy.js";
3
3
  import J, { useMemo as me, useCallback as Le, useEffect as de, useState as G } from "react";
4
- import { a as ne, i as Z, k as ze, f as ee, g as X, h as ge, B as x, P as le, u as re, l as Be, c as ue, d as te, m as ke, W as fe, n as Ue, o as Ae, p as $e, q as _e, r as He, C as Ee, s as Oe, E as Me, t as je, w as Ne } from "./chunks/PrizeCard-DG54vy2l.js";
5
- import { S as Ve } from "./chunks/Spinner-CfnxZwI6.js";
4
+ import { a as ne, i as Z, k as ze, f as ee, g as X, h as ge, B as x, u as re, l as Be, c as ue, d as te, m as ke, n as Ue, o as Ae, p as $e, q as _e, r as He, C as Ee, s as Oe, E as Me, t as je, w as Ne } from "./chunks/PrizeCard-YH9jftwY.js";
5
+ import { P as le, W as fe } from "./chunks/enums-B1lTCQvC.js";
6
+ import { S as Ve } from "./chunks/Spinner-CP7juuny.js";
6
7
  import { createPortal as Ye } from "react-dom";
7
8
  import { u as qe } from "./chunks/useInfoPage-BHdgKdme.js";
8
- import { N as Xe, S as Ge, O as Ke } from "./chunks/NotFoundSkeleton-CPrI2SnC.js";
9
- import { C as Qe } from "./chunks/CollectLeadForm-DZe1Ymdq.js";
10
- import { u as he } from "./chunks/useImageVariant-BpkocGDo.js";
11
- import { T as p } from "./chunks/Typography-ECqxGAdq.js";
12
- import { T as Je } from "./chunks/TimerOutlined-C3LRF5_A.js";
13
- import { B as pe } from "./chunks/Button-CsvEgUxT.js";
14
- import { d as Ze, a as et } from "./chunks/index-D5NQUqT3.js";
9
+ import { N as Xe, S as Ge, O as Ke } from "./chunks/NotFoundSkeleton-BV0mXA7z.js";
10
+ import { C as Qe } from "./chunks/CollectLeadForm-CwcEETPM.js";
11
+ import { u as he } from "./chunks/useImageVariant-CHZmm8-4.js";
12
+ import { T as p } from "./chunks/Typography-Ce4eGDV-.js";
13
+ import { T as Je } from "./chunks/TimerOutlined-D-ySNoFF.js";
14
+ import { B as pe } from "./chunks/Button-By0gW9vl.js";
15
+ import { d as Ze, a as et } from "./chunks/index-D6_vWz9t.js";
15
16
  const xe = ({
16
17
  sdk: e,
17
18
  contentId: n,
@@ -2103,7 +2104,7 @@ const ve = ({
2103
2104
  f,
2104
2105
  h
2105
2106
  ] });
2106
- }, ft = (e) => /* @__PURE__ */ t(ut, { ...e, children: /* @__PURE__ */ t(gt, { ...e }) }), It = ft;
2107
+ }, ft = (e) => /* @__PURE__ */ t(ut, { ...e, children: /* @__PURE__ */ t(gt, { ...e }) }), Wt = ft;
2107
2108
  export {
2108
- It as PickThePair
2109
+ Wt as PickThePair
2109
2110
  };
@@ -1,29 +1,29 @@
1
1
  import { jsx as o, jsxs as b, Fragment as de } from "react/jsx-runtime";
2
2
  import { useRef as we, useEffect as O, useState as I, useMemo as re } from "react";
3
- import { B as p, g as Ke, u as Xe, f as Ve, d as Ue, h as qe, a as H } from "./chunks/PrizeCard-DG54vy2l.js";
4
- import { P as _e } from "./chunks/Portal-B5LOp_VA.js";
3
+ import { B as p, g as Ke, u as Xe, f as Ve, d as Ue, h as qe, a as H } from "./chunks/PrizeCard-YH9jftwY.js";
4
+ import { P as _e } from "./chunks/Portal-0HYQP6vC.js";
5
5
  import "react-dom";
6
- import { h as U, c as me } from "./chunks/helpers-DK7NIWA3.js";
7
- import { S as $e } from "./chunks/Spinner-CfnxZwI6.js";
8
- import { L as et } from "./chunks/Link-lifAyVr-.js";
9
- import { N as tt } from "./chunks/Notification-1ogsNUiX.js";
10
- import { D as Je } from "./chunks/DirectionScope-oLk_U3C_.js";
11
- import { I as be, B as _ } from "./chunks/Button-CsvEgUxT.js";
12
- import { C as ot, a as nt, S as rt } from "./chunks/Search-Jq0gJI9j.js";
13
- import { T as f } from "./chunks/Typography-ECqxGAdq.js";
14
- import { C as Ee } from "./chunks/Card-Bp7sboHu.js";
15
- import { C as it } from "./chunks/CardContent-BZDBKTQD.js";
16
- import { A as N } from "./chunks/Avatar-BDK_vO0c.js";
17
- import { C as st } from "./chunks/CardActions-ehD6I2GZ.js";
6
+ import { h as U, c as me } from "./chunks/helpers-B4K14VMy.js";
7
+ import { S as $e } from "./chunks/Spinner-CP7juuny.js";
8
+ import { L as et } from "./chunks/Link-ByX_uwKs.js";
9
+ import { N as tt } from "./chunks/Notification-preGSwrO.js";
10
+ import { D as Je } from "./chunks/DirectionScope-BYGJWPAq.js";
11
+ import { I as be, B as _ } from "./chunks/Button-By0gW9vl.js";
12
+ import { C as ot, a as nt, S as rt } from "./chunks/Search-CWYaTHth.js";
13
+ import { T as f } from "./chunks/Typography-Ce4eGDV-.js";
14
+ import { C as Ee } from "./chunks/Card-Bbq-568c.js";
15
+ import { C as it } from "./chunks/CardContent-JrB_z1Or.js";
16
+ import { A as N } from "./chunks/Avatar-Bs2ODH24.js";
17
+ import { C as st } from "./chunks/CardActions-DntJimyi.js";
18
18
  import { c as at } from "./chunks/createLucideIcon-YBRjY5Kl.js";
19
- import { c as Se } from "./chunks/createSvgIcon-ZK1E4tSQ.js";
20
- import { C as ct } from "./chunks/Close-CG_aSJDO.js";
21
- import { I as At } from "./chunks/Input-aCtmZdRk.js";
22
- import { C as fe } from "./chunks/Chip-Bm-Ccjvy.js";
23
- import { S as K } from "./chunks/Stack-Ck9Xjygq.js";
24
- import { A as Me } from "./chunks/AccessTime-B30dztb0.js";
25
- import { C as lt } from "./chunks/CheckCircle-BXhOrVkK.js";
26
- import { S as gt } from "./chunks/Sheet-emOLchyd.js";
19
+ import { c as Se } from "./chunks/createSvgIcon-D9F_KILu.js";
20
+ import { C as ct } from "./chunks/Close-CKW5gQRw.js";
21
+ import { I as At } from "./chunks/Input-Dm3GnI0X.js";
22
+ import { C as fe } from "./chunks/Chip-WC9No4h9.js";
23
+ import { S as K } from "./chunks/Stack-DuL71jRI.js";
24
+ import { A as Me } from "./chunks/AccessTime-BoYoyig3.js";
25
+ import { C as lt } from "./chunks/CheckCircle-BVTGl0Ft.js";
26
+ import { S as gt } from "./chunks/Sheet-Bj4wdH5F.js";
27
27
  /**
28
28
  * @license lucide-react v0.454.0 - ISC
29
29
  *
package/PollVote.js CHANGED
@@ -1,4 +1,4 @@
1
- import { M as o } from "./chunks/main-CsgyDzQn.js";
1
+ import { M as o } from "./chunks/main-3TaPwm3t.js";
2
2
  const r = o;
3
3
  export {
4
4
  r as PollVote
package/Predictor.js CHANGED
@@ -1,4 +1,4 @@
1
- import { P as e } from "./chunks/Predictor-o1ZtxfmB.js";
1
+ import { P as e } from "./chunks/Predictor-Db1YZFlF.js";
2
2
  export {
3
3
  e as Predictor
4
4
  };