fansunited-frontend-components 0.0.49 → 0.0.52

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 (67) hide show
  1. package/Betslip.d.ts +5 -0
  2. package/Betslip.d.ts.map +1 -0
  3. package/Betslip.js +5 -0
  4. package/ChanceGame.js +87 -86
  5. package/ClassicQuizPlay.js +174 -173
  6. package/CollectLead.js +33 -32
  7. package/Discussion.js +1 -1
  8. package/EitherOrPlay.js +171 -170
  9. package/EventGamePlay.js +25 -24
  10. package/Leaderboard.js +88 -87
  11. package/MatchQuizPlay.js +28 -27
  12. package/PersonalityQuizPlay.js +21 -20
  13. package/PickThePair.js +87 -86
  14. package/PollVote.js +19 -18
  15. package/Predictor.js +4756 -4693
  16. package/README.md +523 -1
  17. package/chunks/{AlertMessage-Ds45MBHB.js → AlertMessage-CQ9WJHSb.js} +25 -24
  18. package/chunks/{ArrowRightAlt-DKADQN2o.js → ArrowRightAlt-C1U8SNu-.js} +5 -5
  19. package/chunks/{Avatar-K1EWhhkA.js → Avatar-COVJnfGS.js} +79 -78
  20. package/chunks/Button-COvmPv4P.js +2270 -0
  21. package/chunks/{ChanceGameEmbedVariant-DqFg4YKU.js → ChanceGameEmbedVariant-lfZlSATv.js} +44 -43
  22. package/chunks/{CheckCircle-CV9iMpkZ.js → CheckCircle-h7-xLUq-.js} +27 -26
  23. package/chunks/{Close-C6Cw96SJ.js → Close-BTC6xyyj.js} +1 -1
  24. package/chunks/{Close-BHp4N1-6.js → Close-DBaorsP1.js} +1 -1
  25. package/chunks/{CollectLeadForm-DnLKA8qz.js → CollectLeadForm-O7Cpe0ix.js} +128 -127
  26. package/chunks/{Divider-BvUimRFw.js → Divider-DBCeQt9x.js} +15 -14
  27. package/chunks/{Edit-CZ3ni-Ur.js → Edit-BwwxJdNv.js} +35 -34
  28. package/chunks/{EmojiEvents-DpmLq98V.js → EmojiEvents-DVPGlTU_.js} +3 -3
  29. package/chunks/{FavoriteBorder-DUK_DrY4.js → FavoriteBorder-BnhfbKy1.js} +1 -1
  30. package/chunks/{FormControl-BUItlVIg.js → FormControl-COjw1gQd.js} +38 -37
  31. package/chunks/{FormLabel-CeTNPUn7.js → FormLabel-e5_v5cjP.js} +18 -17
  32. package/chunks/{Input-MJCQcYzo.js → Input-er-Yyqtt.js} +17 -16
  33. package/chunks/{KeyboardArrowDown-SZpn2GhJ.js → KeyboardArrowDown-BeaYH92n.js} +1 -1
  34. package/chunks/{ModalDialog-Cfgv9UAA.js → ModalDialog-XkhZtgYm.js} +58 -57
  35. package/chunks/{NotFoundSkeleton-Cs6DtD9u.js → NotFoundSkeleton-C71TRYl5.js} +95 -94
  36. package/chunks/{Notification-pcKtlRms.js → Notification-CkPupg9q.js} +57 -56
  37. package/chunks/{OverlayApiErrorSkeleton-Dl3s5Oaf.js → OverlayApiErrorSkeleton-CkuDu9uV.js} +20 -19
  38. package/chunks/{OverlayLeadAfterCollection-F2TAV9wK.js → OverlayLeadAfterCollection-Dkxl4cKn.js} +28 -27
  39. package/chunks/{OverlayScoreStateSkeleton-LQ0svzeX.js → OverlayScoreStateSkeleton-RauDjIg5.js} +16 -15
  40. package/chunks/{Person-BGdniS_p.js → Person-WCt2MN5j.js} +32 -31
  41. package/chunks/{PickOneOfX-Ci4ZJf7G.js → PickOneOfX-DabfTR2W.js} +8 -7
  42. package/chunks/{Popper-DOVSI4rJ.js → Popper-OPgbZzY7.js} +127 -126
  43. package/chunks/{Portal-Cs0dgwmH.js → Portal-BQilulgu.js} +5 -5
  44. package/chunks/{PrizeCard-DF3QxwQJ.js → PrizeCard-DgHyperX.js} +5238 -6653
  45. package/chunks/{Select-BHeTdOYr.js → Select-9gmhEo71.js} +133 -132
  46. package/chunks/{Spinner-DbUB64Gj.js → Spinner-BoysVPn7.js} +12 -11
  47. package/chunks/{SplitLeadAfterCollection-DSw6X5fx.js → SplitLeadAfterCollection-C5oCDYT1.js} +15 -14
  48. package/chunks/{Stack-BpHk5eb0.js → Stack-INH9bhkC.js} +30 -29
  49. package/chunks/{StandardContentSkeleton-Bae1LLQ_.js → StandardContentSkeleton-DsAhzMfU.js} +1 -1
  50. package/chunks/{Tabs-hwJ7jsUl.js → Tabs-DaVatjCJ.js} +60 -59
  51. package/chunks/{Textarea-zOtMdgc5.js → Textarea-DeMxp3Zn.js} +48 -47
  52. package/chunks/{TimerOutlined-DWE7f0YX.js → TimerOutlined-DJh2vL3s.js} +3 -3
  53. package/chunks/{helpers-NuC1SzL3.js → helpers-Bd9FT9hj.js} +1 -1
  54. package/chunks/{index-D1K1OB4p.js → index-5MPtbA_r.js} +255 -239
  55. package/chunks/index-BjfKDjAM.js +4 -0
  56. package/chunks/main-DDb9jezz.js +1758 -0
  57. package/chunks/{main-hB01WcoP.js → main-DWw1vqVY.js} +38 -37
  58. package/chunks/{useEventCallback-CizlfWBo.js → useEventCallback-vbTEFVPa.js} +8 -7
  59. package/chunks/{useForwardedInput-RWDntqBU.js → useForwardedInput-DumYVfgj.js} +26 -25
  60. package/chunks/{useImageVariant-Cex1eIqq.js → useImageVariant-B1ObJh_B.js} +1 -1
  61. package/components.d.ts +2 -1
  62. package/components.d.ts.map +1 -1
  63. package/index.d.ts +1 -0
  64. package/index.d.ts.map +1 -1
  65. package/index.js +5 -3
  66. package/package.json +5 -1
  67. package/chunks/index-BaypiKlO.js +0 -4
package/EventGamePlay.js CHANGED
@@ -1,29 +1,30 @@
1
1
  import { jsx as t, jsxs as m, Fragment as j } from "react/jsx-runtime";
2
2
  import Je, { useState as Q, useEffect as je, useRef as At, createContext as zt, useCallback as et, useMemo as Ve } from "react";
3
- import { i as Y, b as J, a as p, d as He, B as i, c as q, T as x, e as ae, u as ue, I as De, f as ne, g as We, l as Se, C as It, r as Dt, k as Mt, j as Re, W as le, n as Ee, h as kt } from "./chunks/PrizeCard-DF3QxwQJ.js";
4
- import { P as Bt } from "./chunks/Portal-Cs0dgwmH.js";
3
+ import { i as Y, b as J, a as p, d as He, B as i, c as q, e as ae, u as ue, f as ne, g as We, k as Se, C as It, q as Dt, j as Mt, W as le, m as Ee, h as kt } from "./chunks/PrizeCard-DgHyperX.js";
4
+ import { P as Bt } from "./chunks/Portal-BQilulgu.js";
5
5
  import "react-dom";
6
- import { g as Ht, h as N, e as tt, s as Le, a as Wt, b as Et } from "./chunks/helpers-NuC1SzL3.js";
7
- import { S as Ft } from "./chunks/Spinner-DbUB64Gj.js";
8
- import { a as $t, b as Lt, S as Ut, C as xt, c as yt } from "./chunks/ChanceGameEmbedVariant-DqFg4YKU.js";
9
- import { N as Xe } from "./chunks/Notification-pcKtlRms.js";
10
- import { E as Vt, a as W, m as jt } from "./chunks/index-D1K1OB4p.js";
11
- import { T as ht, D as Nt, S as Tt, R as Ue, N as Ot, O as qt } from "./chunks/NotFoundSkeleton-Cs6DtD9u.js";
12
- import { b as Ce, d as Me, a as Be } from "./chunks/useImageVariant-Cex1eIqq.js";
13
- import { K as Yt, a as _t, H as Zt, D as Xt, E as Kt } from "./chunks/Edit-CZ3ni-Ur.js";
14
- import { I as wt } from "./chunks/Input-MJCQcYzo.js";
15
- import { S as Qt, a as Jt } from "./chunks/Select-BHeTdOYr.js";
16
- import { C as en } from "./chunks/Close-BHp4N1-6.js";
17
- import { M as tn, a as nn } from "./chunks/ModalDialog-Cfgv9UAA.js";
18
- import { S as Rt, T as pt, P as bt } from "./chunks/Person-BGdniS_p.js";
19
- import { A as Qe, S as an, O as on } from "./chunks/OverlayApiErrorSkeleton-Dl3s5Oaf.js";
20
- import { C as ln } from "./chunks/CheckCircle-CV9iMpkZ.js";
21
- import { A as rn, I as cn, W as dn } from "./chunks/AlertMessage-Ds45MBHB.js";
22
- import { S as sn } from "./chunks/Stack-BpHk5eb0.js";
23
- import { T as mn, a as gn, b as St, t as Ct, c as vt } from "./chunks/Tabs-hwJ7jsUl.js";
24
- import { A as Pt } from "./chunks/Avatar-K1EWhhkA.js";
6
+ import { g as Ht, h as N, e as tt, s as Le, a as Wt, b as Et } from "./chunks/helpers-Bd9FT9hj.js";
7
+ import { S as Ft } from "./chunks/Spinner-BoysVPn7.js";
8
+ import { a as $t, b as Lt, S as Ut, C as xt, c as yt } from "./chunks/ChanceGameEmbedVariant-lfZlSATv.js";
9
+ import { N as Xe } from "./chunks/Notification-CkPupg9q.js";
10
+ import { E as Vt, a as W, m as jt } from "./chunks/index-5MPtbA_r.js";
11
+ import { T as ht, D as Nt, S as Tt, R as Ue, N as Ot, O as qt } from "./chunks/NotFoundSkeleton-C71TRYl5.js";
12
+ import { b as Ce, d as Me, a as Be } from "./chunks/useImageVariant-B1ObJh_B.js";
13
+ import { T as x, I as De, B as Re } from "./chunks/Button-COvmPv4P.js";
14
+ import { K as Yt, a as _t, H as Zt, D as Xt, E as Kt } from "./chunks/Edit-BwwxJdNv.js";
15
+ import { I as wt } from "./chunks/Input-er-Yyqtt.js";
16
+ import { S as Qt, a as Jt } from "./chunks/Select-9gmhEo71.js";
17
+ import { C as en } from "./chunks/Close-DBaorsP1.js";
18
+ import { M as tn, a as nn } from "./chunks/ModalDialog-XkhZtgYm.js";
19
+ import { S as Rt, T as pt, P as bt } from "./chunks/Person-WCt2MN5j.js";
20
+ import { A as Qe, S as an, O as on } from "./chunks/OverlayApiErrorSkeleton-CkuDu9uV.js";
21
+ import { C as ln } from "./chunks/CheckCircle-h7-xLUq-.js";
22
+ import { A as rn, I as cn, W as dn } from "./chunks/AlertMessage-CQ9WJHSb.js";
23
+ import { S as sn } from "./chunks/Stack-INH9bhkC.js";
24
+ import { T as mn, a as gn, b as St, t as Ct, c as vt } from "./chunks/Tabs-DaVatjCJ.js";
25
+ import { A as Pt } from "./chunks/Avatar-COVJnfGS.js";
25
26
  import { C as un, a as fn } from "./chunks/chevron-right-B3IZtaMT.js";
26
- import { O as xn } from "./chunks/OverlayScoreStateSkeleton-LQ0svzeX.js";
27
+ import { O as xn } from "./chunks/OverlayScoreStateSkeleton-RauDjIg5.js";
27
28
  const yn = (e, n, a) => {
28
29
  const [r, c] = Q(null), [d, f] = Q(null), o = async () => {
29
30
  try {
@@ -7961,7 +7962,7 @@ const li = (e) => {
7961
7962
  H(),
7962
7963
  /* @__PURE__ */ t(Xe, { notification: P, onClose: F })
7963
7964
  ] });
7964
- }, ri = (e) => /* @__PURE__ */ t(Bt, { packageName: "event-game-play", ...e, children: /* @__PURE__ */ t(li, { ...e }) }), Mi = ri;
7965
+ }, ri = (e) => /* @__PURE__ */ t(Bt, { packageName: "event-game-play", ...e, children: /* @__PURE__ */ t(li, { ...e }) }), Bi = ri;
7965
7966
  export {
7966
- Mi as EventGamePlay
7967
+ Bi as EventGamePlay
7967
7968
  };
package/Leaderboard.js CHANGED
@@ -1,22 +1,23 @@
1
1
  import { jsxs as T, jsx as s, Fragment as le } from "react/jsx-runtime";
2
- import I, { useState as z, useEffect as U, useCallback as ce, useMemo as H } from "react";
3
- import { f as D, g as de, C as ue, r as pe, a as X, b as ie, c as O, e as j, B as L, T as A, u as se, l as fe, I as k, j as Y, o as me, J as he, K as ge, L as be, M as ye, N as xe } from "./chunks/PrizeCard-DF3QxwQJ.js";
4
- import { a as q } from "./chunks/AlertMessage-Ds45MBHB.js";
2
+ import I, { useState as M, useEffect as U, useCallback as ce, useMemo as H } from "react";
3
+ import { f as D, g as de, C as ue, q as pe, a as X, b as ie, c as O, e as G, B as L, u as se, k as me, n as fe, z as he, A as ge, D as be, E as ye, F as xe } from "./chunks/PrizeCard-DgHyperX.js";
4
+ import { a as Y } from "./chunks/AlertMessage-CQ9WJHSb.js";
5
5
  import { createPortal as Ce } from "react-dom";
6
- import { F as ve } from "./chunks/FormLabel-CeTNPUn7.js";
7
- import { S as Te, a as Pe } from "./chunks/Select-BHeTdOYr.js";
8
- import { S as Se, T as we, P as J } from "./chunks/Person-BGdniS_p.js";
9
- import { h as B, s as Re } from "./chunks/helpers-NuC1SzL3.js";
10
- import { S as Ee } from "./chunks/Spinner-DbUB64Gj.js";
11
- import { A as K } from "./chunks/Avatar-K1EWhhkA.js";
6
+ import { F as ve } from "./chunks/FormLabel-e5_v5cjP.js";
7
+ import { T as A, I as Q, B as q } from "./chunks/Button-COvmPv4P.js";
8
+ import { S as Te, a as Pe } from "./chunks/Select-9gmhEo71.js";
9
+ import { S as Se, T as we, P as J } from "./chunks/Person-WCt2MN5j.js";
10
+ import { h as B, s as Re } from "./chunks/helpers-Bd9FT9hj.js";
11
+ import { S as Ee } from "./chunks/Spinner-BoysVPn7.js";
12
+ import { A as K } from "./chunks/Avatar-COVJnfGS.js";
12
13
  import { C as Ae, a as Le } from "./chunks/chevrons-right-CRIN5sOe.js";
13
- import { C as Me, a as Ie } from "./chunks/chevron-right-B3IZtaMT.js";
14
- const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()).join(" "), Be = ({
14
+ import { C as ze, a as Ie } from "./chunks/chevron-right-B3IZtaMT.js";
15
+ const Me = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()).join(" "), Be = ({
15
16
  options: e,
16
17
  selectedId: t,
17
18
  onChange: l
18
19
  }) => {
19
- const { t: r } = D(), { shadowRootElement: n } = de(ue), g = pe(), p = X(), d = ie(), f = O().primary, h = j(), P = p.textColor, i = {
20
+ const { t: r } = D(), { shadowRootElement: n } = de(ue), g = pe(), p = X(), d = ie(), m = O().primary, h = G(), P = p.textColor, i = {
20
21
  background: {
21
22
  surface: g.colorSchemes.light.palette.background.surface,
22
23
  popup: g.colorSchemes.light.palette.background.popup
@@ -31,7 +32,7 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
31
32
  }
32
33
  }, x = {
33
34
  flexShrink: 0,
34
- fontFamily: f,
35
+ fontFamily: m,
35
36
  fontSize: "0.65em",
36
37
  fontWeight: 600,
37
38
  letterSpacing: "0.05em",
@@ -54,13 +55,13 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
54
55
  },
55
56
  children: [
56
57
  /* @__PURE__ */ s("span", { children: b.label }),
57
- b.type && /* @__PURE__ */ s(L, { sx: x, children: ze(b.type) })
58
+ b.type && /* @__PURE__ */ s(L, { sx: x, children: Me(b.type) })
58
59
  ]
59
60
  }
60
- ), M = {
61
+ ), z = {
61
62
  root: {
62
63
  sx: {
63
- fontFamily: f,
64
+ fontFamily: m,
64
65
  borderRadius: d.sm,
65
66
  bgcolor: i.background.surface,
66
67
  borderColor: i.neutral.outlinedBorder,
@@ -80,7 +81,7 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
80
81
  }
81
82
  }
82
83
  }, S = {
83
- fontFamily: f,
84
+ fontFamily: m,
84
85
  color: `${i.neutral.outlinedColor} !important`,
85
86
  bgcolor: "transparent",
86
87
  "&:hover": {
@@ -102,14 +103,14 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
102
103
  {
103
104
  sx: {
104
105
  color: `${P} !important`,
105
- fontFamily: f,
106
+ fontFamily: m,
106
107
  fontSize: "0.875em"
107
108
  },
108
109
  children: /* @__PURE__ */ s(
109
110
  A,
110
111
  {
111
112
  sx: {
112
- fontFamily: f,
113
+ fontFamily: m,
113
114
  fontSize: "0.875em",
114
115
  color: P
115
116
  },
@@ -123,7 +124,7 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
123
124
  {
124
125
  value: t,
125
126
  onChange: (b, w) => w && l(w),
126
- slotProps: M,
127
+ slotProps: z,
127
128
  renderValue: (b) => {
128
129
  if (!b) return null;
129
130
  const w = e.find((u) => u.id === b.value);
@@ -142,7 +143,7 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
142
143
  isSplitVariant: g,
143
144
  brandingColors: p
144
145
  }) => {
145
- const { t: d } = D(), f = se(), h = X(), P = (p == null ? void 0 : p.primaryColor) || h.palette.primary.plainColor, i = (p == null ? void 0 : p.contentColor) || h.textColor, x = h.textColor, C = O().primary, M = O().secondary, S = ie(), b = j(), w = fe(), u = h.surfaceVariant, c = f.colorSchemes.light.palette.primary.onPrimary, o = h.outlineEnabledBorder, a = {
146
+ const { t: d } = D(), m = se(), h = X(), P = (p == null ? void 0 : p.primaryColor) || h.palette.primary.plainColor, i = (p == null ? void 0 : p.contentColor) || h.textColor, x = h.textColor, C = O().primary, z = O().secondary, S = ie(), b = G(), w = me(), u = h.surfaceVariant, c = m.colorSchemes.light.palette.primary.onPrimary, o = h.outlineEnabledBorder, a = {
146
147
  leaderboardContainer: {
147
148
  display: "flex",
148
149
  flexDirection: "column",
@@ -266,7 +267,7 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
266
267
  color: c
267
268
  },
268
269
  noLeaderboardText: {
269
- fontFamily: M,
270
+ fontFamily: z,
270
271
  fontSize: "1.25em",
271
272
  color: i,
272
273
  textAlign: "center",
@@ -277,7 +278,7 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
277
278
  return /* @__PURE__ */ s(Ee, { my: 10 });
278
279
  if (e.length === 0)
279
280
  return /* @__PURE__ */ s(A, { level: "body-lg", sx: a.noLeaderboardText, children: d("leaderboard.noLeaderboardAvailable") });
280
- const m = t, y = m == null ? void 0 : m.position, R = y && e.some((E) => E.position === y);
281
+ const f = t, y = f == null ? void 0 : f.position, R = y && e.some((E) => E.position === y);
281
282
  return /* @__PURE__ */ T(L, { sx: a.leaderboardContainer, children: [
282
283
  l && /* @__PURE__ */ T(
283
284
  L,
@@ -301,7 +302,7 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
301
302
  fontSize: "0.75em",
302
303
  color: x,
303
304
  opacity: "60%",
304
- fontFamily: M
305
+ fontFamily: z
305
306
  },
306
307
  children: d("leaderboard.heading")
307
308
  }
@@ -352,19 +353,19 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
352
353
  /* @__PURE__ */ s("th", { style: a.headerCellPoints, children: w || g ? "🎯" : d("leaderboard.points") })
353
354
  ] }) }),
354
355
  /* @__PURE__ */ T("tbody", { children: [
355
- m && !R && /* @__PURE__ */ T("tr", { style: a.userRow, children: [
356
+ f && !R && /* @__PURE__ */ T("tr", { style: a.userRow, children: [
356
357
  /* @__PURE__ */ s("td", { style: a.tableCellPosition, children: /* @__PURE__ */ T(A, { sx: a.positionText, children: [
357
358
  "#",
358
- m.position
359
+ f.position
359
360
  ] }) }),
360
361
  /* @__PURE__ */ s("td", { style: a.tableCellName, children: /* @__PURE__ */ T(L, { sx: a.nameCell, children: [
361
362
  /* @__PURE__ */ s(K, { sx: a.leaderboardAvatar, children: /* @__PURE__ */ s(J, { sx: a.avatarIcon }) }),
362
363
  /* @__PURE__ */ s(A, { sx: a.nameText, children: d("leaderboard.you") })
363
364
  ] }) }),
364
- /* @__PURE__ */ s("td", { style: a.tableCellPoints, children: /* @__PURE__ */ s(A, { sx: a.pointsText, children: m.points }) })
365
+ /* @__PURE__ */ s("td", { style: a.tableCellPoints, children: /* @__PURE__ */ s(A, { sx: a.pointsText, children: f.points }) })
365
366
  ] }),
366
367
  e.map((E) => {
367
- var $, Q, N, V;
368
+ var $, k, N, V;
368
369
  const v = y === E.position;
369
370
  return /* @__PURE__ */ T(
370
371
  "tr",
@@ -381,7 +382,7 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
381
382
  {
382
383
  src: (($ = E.profileModel) == null ? void 0 : $.avatar) || void 0,
383
384
  sx: a.leaderboardAvatar,
384
- children: (Q = E.profileModel) != null && Q.avatar ? /* @__PURE__ */ s(le, {}) : /* @__PURE__ */ s(J, { sx: a.avatarIcon })
385
+ children: (k = E.profileModel) != null && k.avatar ? /* @__PURE__ */ s(le, {}) : /* @__PURE__ */ s(J, { sx: a.avatarIcon })
385
386
  }
386
387
  ),
387
388
  /* @__PURE__ */ s(A, { sx: a.nameText, children: v ? d("leaderboard.you") : ((N = E.profileModel) == null ? void 0 : N.nickname) || ((V = E.profileModel) == null ? void 0 : V.name) || d("leaderboard.anonymous") })
@@ -406,25 +407,25 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
406
407
  showFirstButton: g = !0,
407
408
  showLastButton: p = !0,
408
409
  size: d = "md",
409
- disabled: f = !1,
410
+ disabled: m = !1,
410
411
  isOverlayVariant: h = !1
411
412
  }) => {
412
413
  const P = se(), i = (c) => {
413
414
  l && c >= 1 && c <= e && l(c);
414
415
  }, x = (c, o) => {
415
416
  const a = [];
416
- for (let m = c; m <= o; m++) a.push(m);
417
+ for (let f = c; f <= o; f++) a.push(f);
417
418
  return a;
418
- }, M = (() => {
419
+ }, z = (() => {
419
420
  if (e <= 0) return [];
420
421
  const c = x(1, Math.min(n, e)), o = x(
421
422
  Math.max(e - n + 1, n + 1),
422
423
  e
423
- ), a = Math.max(n + 1, t - r), m = Math.min(e - n, t + r), y = [...c];
424
- if (a > n + 1 && y.push("ellipsis-start"), a <= m)
425
- for (let R = a; R <= m; R++)
424
+ ), a = Math.max(n + 1, t - r), f = Math.min(e - n, t + r), y = [...c];
425
+ if (a > n + 1 && y.push("ellipsis-start"), a <= f)
426
+ for (let R = a; R <= f; R++)
426
427
  y.push(R);
427
- m < e - n && y.push("ellipsis-end");
428
+ f < e - n && y.push("ellipsis-end");
428
429
  for (const R of o)
429
430
  y.includes(R) || y.push(R);
430
431
  return y;
@@ -498,33 +499,33 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
498
499
  },
499
500
  children: [
500
501
  g && /* @__PURE__ */ s(
501
- k,
502
+ Q,
502
503
  {
503
504
  size: S,
504
505
  variant: "plain",
505
506
  color: "neutral",
506
507
  onClick: () => i(1),
507
- disabled: f || t === 1,
508
+ disabled: m || t === 1,
508
509
  sx: u(),
509
510
  children: /* @__PURE__ */ s(Ae, { size: b })
510
511
  }
511
512
  ),
512
513
  /* @__PURE__ */ s(
513
- k,
514
+ Q,
514
515
  {
515
516
  size: S,
516
517
  variant: "plain",
517
518
  color: "neutral",
518
519
  onClick: () => i(t - 1),
519
- disabled: f || t === 1,
520
+ disabled: m || t === 1,
520
521
  sx: u(),
521
- children: /* @__PURE__ */ s(Me, { size: b })
522
+ children: /* @__PURE__ */ s(ze, { size: b })
522
523
  }
523
524
  ),
524
- M.map((c, o) => {
525
+ z.map((c, o) => {
525
526
  if (typeof c == "string" && c.startsWith("ellipsis"))
526
527
  return /* @__PURE__ */ s(
527
- Y,
528
+ q,
528
529
  {
529
530
  size: S,
530
531
  variant: "plain",
@@ -548,13 +549,13 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
548
549
  );
549
550
  const a = c === t;
550
551
  return /* @__PURE__ */ s(
551
- Y,
552
+ q,
552
553
  {
553
554
  size: S,
554
555
  variant: a ? "solid" : "plain",
555
556
  color: "neutral",
556
557
  onClick: () => i(c),
557
- disabled: f,
558
+ disabled: m,
558
559
  sx: w(a),
559
560
  children: c
560
561
  },
@@ -562,25 +563,25 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
562
563
  );
563
564
  }),
564
565
  /* @__PURE__ */ s(
565
- k,
566
+ Q,
566
567
  {
567
568
  size: S,
568
569
  variant: "plain",
569
570
  color: "neutral",
570
571
  onClick: () => i(t + 1),
571
- disabled: f || t === e,
572
+ disabled: m || t === e,
572
573
  sx: u(),
573
574
  children: /* @__PURE__ */ s(Ie, { size: b })
574
575
  }
575
576
  ),
576
577
  p && /* @__PURE__ */ s(
577
- k,
578
+ Q,
578
579
  {
579
580
  size: S,
580
581
  variant: "plain",
581
582
  color: "neutral",
582
583
  onClick: () => i(e),
583
- disabled: f || t === e,
584
+ disabled: m || t === e,
584
585
  sx: u(),
585
586
  children: /* @__PURE__ */ s(Le, { size: b })
586
587
  }
@@ -588,7 +589,7 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
588
589
  ]
589
590
  }
590
591
  );
591
- }, F = "ALL", G = (e) => ({
592
+ }, F = "ALL", j = (e) => ({
592
593
  currentPage: e.currentPage,
593
594
  totalPages: e.numberOfPages,
594
595
  totalItems: e.totalItems,
@@ -638,20 +639,20 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
638
639
  description: r.description || null,
639
640
  branding: ((n = r.branding) == null ? void 0 : n.colors) || null
640
641
  };
641
- }), Qe = async (e, t, l, r) => {
642
+ }), ke = async (e, t, l, r) => {
642
643
  const n = await t.loyalty.getLeaderboardForGame(e, { page: l, limit: r });
643
644
  return {
644
645
  leaderboard: Z(n.data),
645
- pagination: G(n.meta.pagination)
646
+ pagination: j(n.meta.pagination)
646
647
  };
647
- }, ke = async (e, t, l, r) => {
648
+ }, Qe = async (e, t, l, r) => {
648
649
  const n = await t.loyalty.getLeaderboard(
649
650
  e,
650
651
  { page: l, limit: r }
651
652
  );
652
653
  return {
653
654
  leaderboard: Z(n.data),
654
- pagination: G(n.meta.pagination)
655
+ pagination: j(n.meta.pagination)
655
656
  };
656
657
  }, W = async (e, t, l, r) => {
657
658
  const n = await t.miniGames.getLeaderboardForClassicQuizzes({
@@ -661,11 +662,11 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
661
662
  });
662
663
  return {
663
664
  leaderboard: Z(n.data),
664
- pagination: G(n.meta.pagination)
665
+ pagination: j(n.meta.pagination)
665
666
  };
666
667
  }, ne = (e, t, l, r) => {
667
668
  const n = e.type.toUpperCase();
668
- return n === "TOP_X" || n === "MATCH_QUIZ" ? Qe(e.id, t, l, r) : n === "TEMPLATE" ? ke(e.id, t, l, r) : W([e.id], t, l, r);
669
+ return n === "TOP_X" || n === "MATCH_QUIZ" ? ke(e.id, t, l, r) : n === "TEMPLATE" ? Qe(e.id, t, l, r) : W([e.id], t, l, r);
669
670
  }, He = async (e, t, l) => {
670
671
  const n = l.toUpperCase() === "TEMPLATE" ? { rankType: "TEMPLATE", leaderboardIds: [e] } : { rankType: "GAME", gameType: l.toUpperCase(), leaderboardIds: [e] }, d = (await t.loyalty.getOwnRankings(n, !0)).data[0] ?? null;
671
672
  return d ? {
@@ -690,9 +691,9 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
690
691
  const r = e.type.toUpperCase();
691
692
  return r === "TOP_X" || r === "MATCH_QUIZ" || r === "TEMPLATE" ? He(e.id, t, e.type) : _e(e.id, t, l);
692
693
  }, We = (e, t, l, r = 10) => {
693
- const [n, g] = z({}), [p, d] = z(null), [f, h] = z(!1), [P, i] = z(!1), [x, C] = z(
694
+ const [n, g] = M({}), [p, d] = M(null), [m, h] = M(!1), [P, i] = M(!1), [x, C] = M(
694
695
  null
695
- ), [M, S] = z(null);
696
+ ), [z, S] = M(null);
696
697
  U(() => {
697
698
  const u = {
698
699
  topX: e.filter((o) => o.type.toUpperCase() === "TOP_X").map((o) => o.id),
@@ -707,8 +708,8 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
707
708
  c(oe(u.classicQuiz, t))
708
709
  ]).then((o) => {
709
710
  const a = {};
710
- o.flat().forEach((m) => {
711
- a[m.id] = m;
711
+ o.flat().forEach((f) => {
712
+ a[f.id] = f;
712
713
  }), g(a);
713
714
  });
714
715
  }, [e, t]), U(() => {
@@ -749,7 +750,7 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
749
750
  try {
750
751
  const o = e.length > 1 && e.every((v) => v.type.toUpperCase() === "CLASSIC_QUIZ");
751
752
  if (l === F && o) {
752
- const v = e.map((Q) => Q.id), $ = await W(
753
+ const v = e.map((k) => k.id), $ = await W(
753
754
  v,
754
755
  t,
755
756
  1,
@@ -766,7 +767,7 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
766
767
  }
767
768
  const a = e.find((v) => v.id === l);
768
769
  if (!a) return;
769
- const m = a.type.toUpperCase(), y = m === "TOP_X" ? ee([l], t) : m === "MATCH_QUIZ" ? te([l], t) : m === "TEMPLATE" ? re([l], t) : oe([l], t), [R, E] = await Promise.all([
770
+ const f = a.type.toUpperCase(), y = f === "TOP_X" ? ee([l], t) : f === "MATCH_QUIZ" ? te([l], t) : f === "TEMPLATE" ? re([l], t) : oe([l], t), [R, E] = await Promise.all([
770
771
  ne(a, t, 1, r),
771
772
  y.catch(() => [])
772
773
  ]);
@@ -815,7 +816,7 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
815
816
  ), w = Object.fromEntries(
816
817
  Object.entries(n).map(([u, c]) => [u, c.title])
817
818
  );
818
- return { data: p, entityTitles: w, loading: f, error: P, setPage: b, userRank: M };
819
+ return { data: p, entityTitles: w, loading: m, error: P, setPage: b, userRank: z };
819
820
  }, _ = "ALL", ae = ["TOP_X", "MATCH_QUIZ", "TEMPLATE", "CLASSIC_QUIZ"], De = (e, t) => {
820
821
  if (!Array.isArray(e) || e.length === 0)
821
822
  return "The 'entities' setting is required and must be a non-empty array.";
@@ -840,41 +841,41 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
840
841
  pageSize: l
841
842
  }) => {
842
843
  var a;
843
- const { t: r } = D(), n = j(), g = X().surface, p = H(
844
+ const { t: r } = D(), n = G(), g = X().surface, p = H(
844
845
  () => De(e, l),
845
846
  [e, l]
846
847
  ), d = H(
847
- () => !p && e.length > 1 && e.every((m) => m.type.toUpperCase() === "CLASSIC_QUIZ"),
848
+ () => !p && e.length > 1 && e.every((f) => f.type.toUpperCase() === "CLASSIC_QUIZ"),
848
849
  [e, p]
849
- ), f = d ? _ : ((a = e[0]) == null ? void 0 : a.id) || "", [h, P] = z(f);
850
+ ), m = d ? _ : ((a = e[0]) == null ? void 0 : a.id) || "", [h, P] = M(m);
850
851
  U(() => {
851
- h === _ || e.some((y) => y.id === h) || P(f);
852
+ h === _ || e.some((y) => y.id === h) || P(m);
852
853
  }, [e]);
853
- const { data: i, entityTitles: x, loading: C, error: M, setPage: S, userRank: b } = We(
854
+ const { data: i, entityTitles: x, loading: C, error: z, setPage: S, userRank: b } = We(
854
855
  p ? [] : e,
855
856
  t,
856
857
  p ? "" : h,
857
858
  l
858
859
  ), w = H(() => {
859
860
  if (p) return [];
860
- const m = [];
861
- return d && m.push({ id: _, label: r("leaderboard.overall") }), e.forEach((y) => {
862
- m.push({
861
+ const f = [];
862
+ return d && f.push({ id: _, label: r("leaderboard.overall") }), e.forEach((y) => {
863
+ f.push({
863
864
  id: y.id,
864
865
  label: x[y.id] ?? "",
865
866
  type: y.type.toUpperCase()
866
867
  });
867
- }), m;
868
- }, [e, d, r, x, p]), u = e.every((m) => x[m.id] !== void 0), c = !p && (e.length > 1 || d) && u, o = (i == null ? void 0 : i.pagination) || null;
868
+ }), f;
869
+ }, [e, d, r, x, p]), u = e.every((f) => x[f.id] !== void 0), c = !p && (e.length > 1 || d) && u, o = (i == null ? void 0 : i.pagination) || null;
869
870
  return p ? /* @__PURE__ */ s(
870
- q,
871
+ Y,
871
872
  {
872
873
  variant: "error",
873
874
  title: "Configuration Error",
874
875
  message: p
875
876
  }
876
- ) : M ? /* @__PURE__ */ s(
877
- q,
877
+ ) : z ? /* @__PURE__ */ s(
878
+ Y,
878
879
  {
879
880
  variant: "error",
880
881
  title: "Failed to Load Leaderboard",
@@ -921,18 +922,18 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
921
922
  ]
922
923
  }
923
924
  );
924
- }, je = (e) => {
925
+ }, Ge = (e) => {
925
926
  var x;
926
927
  const [t, l] = I.useState(!1), [r, n] = I.useState(!1), g = I.useRef(
927
928
  `leaderboard-shadow-root-${Math.random().toString(36).substring(2, 11)}`
928
- ), p = I.useRef(null), d = I.useRef(null), f = I.useRef(null), h = I.useRef(null);
929
+ ), p = I.useRef(null), d = I.useRef(null), m = I.useRef(null), h = I.useRef(null);
929
930
  I.useEffect(() => {
930
- me(e.language || "en").finally(() => n(!0));
931
+ fe(e.language || "en").finally(() => n(!0));
931
932
  }, [e.language]), I.useEffect(() => {
932
933
  if (p.current)
933
- return p.current.shadowRoot ? (d.current = p.current.shadowRoot, f.current = d.current.getElementById(
934
+ return p.current.shadowRoot ? (d.current = p.current.shadowRoot, m.current = d.current.getElementById(
934
935
  g.current
935
- ), f.current || (f.current = document.createElement("div"), f.current.id = g.current, d.current.appendChild(f.current))) : (d.current = p.current.attachShadow({ mode: "open" }), f.current = document.createElement("div"), f.current.id = g.current, d.current.appendChild(f.current)), h.current || (h.current = he({
936
+ ), m.current || (m.current = document.createElement("div"), m.current.id = g.current, d.current.appendChild(m.current))) : (d.current = p.current.attachShadow({ mode: "open" }), m.current = document.createElement("div"), m.current.id = g.current, d.current.appendChild(m.current)), h.current || (h.current = he({
936
937
  key: "leaderboard-css",
937
938
  prepend: !0,
938
939
  container: d.current
@@ -940,17 +941,17 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
940
941
  l(!1);
941
942
  };
942
943
  }, []);
943
- const P = /* @__PURE__ */ s(L, { ref: p }), i = t && r && f.current && h.current ? Ce(
944
+ const P = /* @__PURE__ */ s(L, { ref: p }), i = t && r && m.current && h.current ? Ce(
944
945
  /* @__PURE__ */ s(ge, { value: h.current, children: /* @__PURE__ */ s(be, { containerRef: p, children: /* @__PURE__ */ s(
945
946
  ye,
946
947
  {
947
948
  customTheme: e.themeOptions,
948
949
  mode: (x = e.themeOptions) == null ? void 0 : x.mode,
949
- shadowRootElement: f.current,
950
+ shadowRootElement: m.current,
950
951
  children: /* @__PURE__ */ s(
951
952
  xe,
952
953
  {
953
- shadowRootElement: f.current,
954
+ shadowRootElement: m.current,
954
955
  leadPhoneCountryCode: null,
955
956
  language: e.language,
956
957
  optionsLayout: null,
@@ -959,13 +960,13 @@ const ze = (e) => e.split("_").map((t) => t.charAt(0) + t.slice(1).toLowerCase()
959
960
  )
960
961
  }
961
962
  ) }) }),
962
- f.current
963
+ m.current
963
964
  ) : null;
964
965
  return /* @__PURE__ */ T(le, { children: [
965
966
  P,
966
967
  i
967
968
  ] });
968
- }, Ge = (e) => /* @__PURE__ */ s(je, { ...e, children: /* @__PURE__ */ s(Xe, { ...e }) }), lt = Ge;
969
+ }, je = (e) => /* @__PURE__ */ s(Ge, { ...e, children: /* @__PURE__ */ s(Xe, { ...e }) }), it = je;
969
970
  export {
970
- lt as Leaderboard
971
+ it as Leaderboard
971
972
  };
package/MatchQuizPlay.js CHANGED
@@ -1,33 +1,34 @@
1
1
  import { jsx as t, jsxs as d, Fragment as p } from "react/jsx-runtime";
2
2
  import et, { useState as te, useEffect as gt, createContext as bn, memo as bt, useCallback as Ye, useMemo as tt } from "react";
3
- import { c as ee, i as ce, B as i, T as y, f as ne, a as L, b as re, e as Se, l as Ne, g as _e, I as De, m as Rn, r as Tn, k as Pn, C as zn, j as Pe, u as Ee, W as Ce, d as Rt, n as rt, h as mn } from "./chunks/PrizeCard-DF3QxwQJ.js";
4
- import { P as kn } from "./chunks/Portal-Cs0dgwmH.js";
3
+ import { c as ee, i as ce, B as i, f as ne, a as L, b as re, e as Se, k as Ne, g as _e, l as Rn, q as Tn, j as Pn, C as zn, u as Ee, W as Ce, d as Rt, m as rt, h as mn } from "./chunks/PrizeCard-DgHyperX.js";
4
+ import { P as kn } from "./chunks/Portal-BQilulgu.js";
5
5
  import "react-dom";
6
- import { g as In, e as Tt, a as Nt, h as ye, s as St, b as wn } from "./chunks/helpers-NuC1SzL3.js";
7
- import { S as Ht } from "./chunks/Spinner-DbUB64Gj.js";
8
- import { S as An, a as Fn, b as vn, C as nn, c as an } from "./chunks/ChanceGameEmbedVariant-DqFg4YKU.js";
9
- import { N as kt } from "./chunks/Notification-pcKtlRms.js";
10
- import { p as En, o as c, r as un } from "./chunks/index-D1K1OB4p.js";
11
- import { T as on, D as Dn, O as _n, S as gn, R as Ct, N as Ln } from "./chunks/NotFoundSkeleton-Cs6DtD9u.js";
12
- import { d as it, a as at, b as Je } from "./chunks/useImageVariant-Cex1eIqq.js";
13
- import { C as Mn } from "./chunks/CollectLeadForm-DnLKA8qz.js";
14
- import { K as Qn, a as On } from "./chunks/KeyboardArrowDown-SZpn2GhJ.js";
15
- import { K as Ut, a as Gt, H as Hn, D as Bn, E as Wn } from "./chunks/Edit-CZ3ni-Ur.js";
16
- import { T as hn, a as fn, b as Bt, c as Wt, t as ln } from "./chunks/Tabs-hwJ7jsUl.js";
17
- import { F as rn, C as cn } from "./chunks/FormControl-BUItlVIg.js";
18
- import { C as Vn } from "./chunks/Close-BHp4N1-6.js";
19
- import { M as jn, a as $n } from "./chunks/ModalDialog-Cfgv9UAA.js";
20
- import { S as xn, T as yn, P as sn } from "./chunks/Person-BGdniS_p.js";
21
- import { A as It, S as Nn, O as Un } from "./chunks/OverlayApiErrorSkeleton-Dl3s5Oaf.js";
22
- import { C as Gn } from "./chunks/CheckCircle-CV9iMpkZ.js";
23
- import { A as Yn, I as qn, W as Xn } from "./chunks/AlertMessage-Ds45MBHB.js";
24
- import { S as Kn } from "./chunks/Stack-BpHk5eb0.js";
25
- import { A as dn } from "./chunks/Avatar-K1EWhhkA.js";
6
+ import { g as In, e as Tt, a as Nt, h as ye, s as St, b as wn } from "./chunks/helpers-Bd9FT9hj.js";
7
+ import { S as Ht } from "./chunks/Spinner-BoysVPn7.js";
8
+ import { S as An, a as Fn, b as vn, C as nn, c as an } from "./chunks/ChanceGameEmbedVariant-lfZlSATv.js";
9
+ import { N as kt } from "./chunks/Notification-CkPupg9q.js";
10
+ import { p as En, o as c, r as un } from "./chunks/index-5MPtbA_r.js";
11
+ import { T as on, D as Dn, O as _n, S as gn, R as Ct, N as Ln } from "./chunks/NotFoundSkeleton-C71TRYl5.js";
12
+ import { d as it, a as at, b as Je } from "./chunks/useImageVariant-B1ObJh_B.js";
13
+ import { T as y, I as De, B as Pe } from "./chunks/Button-COvmPv4P.js";
14
+ import { C as Mn } from "./chunks/CollectLeadForm-O7Cpe0ix.js";
15
+ import { K as Qn, a as On } from "./chunks/KeyboardArrowDown-BeaYH92n.js";
16
+ import { K as Ut, a as Gt, H as Hn, D as Bn, E as Wn } from "./chunks/Edit-BwwxJdNv.js";
17
+ import { T as hn, a as fn, b as Bt, c as Wt, t as ln } from "./chunks/Tabs-DaVatjCJ.js";
18
+ import { F as rn, C as cn } from "./chunks/FormControl-COjw1gQd.js";
19
+ import { C as Vn } from "./chunks/Close-DBaorsP1.js";
20
+ import { M as jn, a as $n } from "./chunks/ModalDialog-XkhZtgYm.js";
21
+ import { S as xn, T as yn, P as sn } from "./chunks/Person-WCt2MN5j.js";
22
+ import { A as It, S as Nn, O as Un } from "./chunks/OverlayApiErrorSkeleton-CkuDu9uV.js";
23
+ import { C as Gn } from "./chunks/CheckCircle-h7-xLUq-.js";
24
+ import { A as Yn, I as qn, W as Xn } from "./chunks/AlertMessage-CQ9WJHSb.js";
25
+ import { S as Kn } from "./chunks/Stack-INH9bhkC.js";
26
+ import { A as dn } from "./chunks/Avatar-COVJnfGS.js";
26
27
  import { C as Zn, a as Jn } from "./chunks/chevrons-right-CRIN5sOe.js";
27
28
  import { C as pn, a as ei } from "./chunks/chevron-right-B3IZtaMT.js";
28
- import { O as ti } from "./chunks/OverlayScoreStateSkeleton-LQ0svzeX.js";
29
- import { S as ni, O as ii, a as ai, b as oi } from "./chunks/OverlayLeadAfterCollection-F2TAV9wK.js";
30
- import { S as li, a as ri } from "./chunks/SplitLeadAfterCollection-DSw6X5fx.js";
29
+ import { O as ti } from "./chunks/OverlayScoreStateSkeleton-RauDjIg5.js";
30
+ import { S as ni, O as ii, a as ai, b as oi } from "./chunks/OverlayLeadAfterCollection-Dkxl4cKn.js";
31
+ import { S as li, a as ri } from "./chunks/SplitLeadAfterCollection-C5oCDYT1.js";
31
32
  const ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CORRECT_SCORE_ADVANCED", ut = (e) => e === "PLAYER_SCORE" || e === "PLAYER_YELLOW_CARD" || e === "PLAYER_RED_CARD" || e === "PLAYER_SCORE_FIRST_GOAL" || e === "PLAYER_SCORE_HATTRICK" || e === "PLAYER_SCORE_TWICE", Yt = (e) => {
32
33
  const n = (/* @__PURE__ */ new Date()).getTime(), o = new Date(e).getTime();
33
34
  return n > o;
@@ -10972,7 +10973,7 @@ const ya = (e, n) => {
10972
10973
  ),
10973
10974
  /* @__PURE__ */ t(kt, { notification: D, onClose: V })
10974
10975
  ] });
10975
- }, Ca = (e) => /* @__PURE__ */ t(kn, { packageName: "match-quiz-play", ...e, children: /* @__PURE__ */ t(Sa, { ...e }) }), Ka = Ca;
10976
+ }, Ca = (e) => /* @__PURE__ */ t(kn, { packageName: "match-quiz-play", ...e, children: /* @__PURE__ */ t(Sa, { ...e }) }), Za = Ca;
10976
10977
  export {
10977
- Ka as MatchQuizPlay
10978
+ Za as MatchQuizPlay
10978
10979
  };