fansunited-frontend-components 0.0.38 → 0.0.39

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 (28) hide show
  1. package/ChanceGame.js +5 -5
  2. package/ClassicQuizPlay.js +19 -18
  3. package/CollectLead.js +4 -4
  4. package/Discussion.js +1562 -1343
  5. package/EventGamePlay.js +528 -581
  6. package/MatchQuizPlay.js +808 -860
  7. package/PersonalityQuizPlay.js +142 -112
  8. package/PickThePair.js +6 -6
  9. package/PollVote.js +59 -58
  10. package/README.md +231 -0
  11. package/chunks/{AlertMessage-DZAXIV4L.js → AlertMessage-C2aBXCrl.js} +69 -72
  12. package/chunks/{ChanceGameEmbedVariant-B5jX_jMO.js → ChanceGameEmbedVariant-BvIKBhq_.js} +5 -5
  13. package/chunks/{Select-DSxMtwH4.js → CheckCircle-D-GH16Lb.js} +321 -317
  14. package/chunks/{CollectLeadForm-D7pLjJkA.js → CollectLeadForm-o9NdYQgu.js} +5 -5
  15. package/chunks/{ConstantsProvider-YKCgQ1mh.js → ConstantsProvider-BPJJz9fq.js} +390 -360
  16. package/chunks/{Snackbar-DIH2D4Gx.js → Notification-Bwcoljir.js} +294 -238
  17. package/chunks/{OverlayLeadAfterCollection-9i_et1r0.js → OverlayLeadAfterCollection-B3D5ct0J.js} +4 -4
  18. package/chunks/{OverlayScoreStateSkeleton-BEe63pWp.js → OverlayScoreStateSkeleton-xvq9lQEi.js} +3 -3
  19. package/chunks/{PickOneOfX-UVJCgkSX.js → PickOneOfX-C2YpLk40.js} +1 -1
  20. package/chunks/{Portal-CfeOliT5.js → Portal-DWAr8MhA.js} +7 -7
  21. package/chunks/{Spinner-kT93nizf.js → Spinner-m59ZJZ35.js} +55 -55
  22. package/chunks/{Tabs-B6f7vU-w.js → Tabs-BGihvj9C.js} +44 -44
  23. package/chunks/{Textarea-EApa88SY.js → Textarea-Bzlb89Zp.js} +2 -2
  24. package/chunks/{TimerOutlined-CtKZ9Yp9.js → TimerOutlined-DiX8hCoC.js} +1 -1
  25. package/chunks/{Error-ZEDfLj_t.js → chevron-right-Dlc9ZKhv.js} +56 -59
  26. package/chunks/{useImageVariant-BB7FL7DQ.js → useImageVariant-Do8kOVs2.js} +1 -1
  27. package/chunks/{useInfoPage-Cjw5ykNz.js → useInfoPage-v91yL5SS.js} +37 -37
  28. package/package.json +1 -1
package/EventGamePlay.js CHANGED
@@ -1,20 +1,20 @@
1
- import { jsx as t, jsxs as s, Fragment as j } from "react/jsx-runtime";
2
- import Je, { useState as J, useEffect as je, useRef as At, createContext as Dt, useCallback as et, useMemo as Ve } from "react";
3
- import { e as Y, w as K, x as p, a2 as He, B as i, v as O, T as x, f as ae, u as ue, ak as De, a0 as ne, a1 as We, aq as Se, aj as It, au as Mt, ay as Bt, a5 as Re, W as le, y as Ee, a3 as kt } from "./chunks/ConstantsProvider-YKCgQ1mh.js";
4
- import { P as Ht } from "./chunks/Portal-CfeOliT5.js";
5
- import { g as Wt, u as Ce, h as N, d as Me, a as Be, e as tt, s as Le, b as Et, n as $t } from "./chunks/useImageVariant-BB7FL7DQ.js";
6
- import { a as Lt, b as Ut, S as Ft } from "./chunks/Spinner-kT93nizf.js";
1
+ import { jsx as t, jsxs as m, Fragment as j } from "react/jsx-runtime";
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 { e as Y, w as J, x as p, a2 as He, B as i, v as q, T as x, f as ae, u as ue, an as De, a0 as ne, a1 as We, aq as Se, am as It, au as Dt, ay as Mt, a5 as Re, W as le, y as Ee, a3 as kt } from "./chunks/ConstantsProvider-BPJJz9fq.js";
4
+ import { P as Bt } from "./chunks/Portal-DWAr8MhA.js";
5
+ import { g as Ht, u as Ce, h as N, d as Me, a as Be, e as tt, s as Le, b as Wt, n as Et } from "./chunks/useImageVariant-Do8kOVs2.js";
6
+ import { a as $t, b as Lt, S as Ft } from "./chunks/Spinner-m59ZJZ35.js";
7
7
  import "react-dom";
8
- import { L as Vt, e as W, A as Qe, a as jt, c as Nt, b as Ot, O as qt, S as Yt, C as xt, d as yt, f as _t } from "./chunks/ChanceGameEmbedVariant-B5jX_jMO.js";
9
- import { T as ht, C as Zt, D as Xt, S as Tt, R as Ue, N as Kt, O as Qt } from "./chunks/useInfoPage-Cjw5ykNz.js";
10
- import { K as Jt, a as en, H as tn, D as nn, S as wt, T as Rt, E as an, P as bt, C as on, b as ln, c as rn } from "./chunks/Error-ZEDfLj_t.js";
11
- import { I as pt, e as cn, d as dn, f as sn, W as mn, C as zt } from "./chunks/AlertMessage-DZAXIV4L.js";
12
- import { v as gn, w as un } from "./chunks/Select-DSxMtwH4.js";
13
- import { T as fn, a as xn, b as St, t as Ct, c as vt } from "./chunks/Tabs-B6f7vU-w.js";
14
- import { A as Pt, S as yn } from "./chunks/Snackbar-DIH2D4Gx.js";
15
- import { O as hn } from "./chunks/OverlayScoreStateSkeleton-BEe63pWp.js";
16
- const bn = (e, n, a) => {
17
- const [r, c] = J(null), [d, f] = J(null), o = async () => {
8
+ import { L as Ut, e as W, A as Qe, a as Vt, c as jt, b as Nt, O as Ot, S as qt, C as xt, d as yt, f as Yt } from "./chunks/ChanceGameEmbedVariant-BvIKBhq_.js";
9
+ import { A as ht, N as Xe } from "./chunks/Notification-Bwcoljir.js";
10
+ import { T as bt, C as _t, D as Zt, S as Tt, R as Ue, N as Xt, O as Kt } from "./chunks/useInfoPage-v91yL5SS.js";
11
+ import { K as Qt, a as Jt, H as en, D as tn, S as wt, T as Rt, E as nn, P as St, C as an, b as on } from "./chunks/chevron-right-Dlc9ZKhv.js";
12
+ import { I as pt, e as ln, d as rn, f as cn, W as dn } from "./chunks/AlertMessage-C2aBXCrl.js";
13
+ import { w as sn, x as mn, C as gn } from "./chunks/CheckCircle-D-GH16Lb.js";
14
+ import { T as un, a as fn, b as Ct, t as vt, c as Pt } from "./chunks/Tabs-BGihvj9C.js";
15
+ import { O as xn } from "./chunks/OverlayScoreStateSkeleton-xvq9lQEi.js";
16
+ const yn = (e, n, a) => {
17
+ const [r, c] = Q(null), [d, f] = Q(null), o = async () => {
18
18
  try {
19
19
  const l = await n.eventGame.getGameById(e, !0);
20
20
  if (c(l), a && l.fixtures) {
@@ -28,18 +28,18 @@ const bn = (e, n, a) => {
28
28
  } else
29
29
  f([]);
30
30
  } catch (l) {
31
- console.warn(l), c(new Vt()), f([]);
31
+ console.warn(l), c(new Ut()), f([]);
32
32
  }
33
33
  };
34
34
  return je(() => (o(), () => {
35
35
  c(null), f(null);
36
36
  }), [e, n, a]), { game: r, points: d };
37
- }, Sn = (e, n) => {
38
- const [a, r] = J(void 0), [c, d] = J(!1), [f, o] = J(!1), [l, g] = J(""), b = async () => {
37
+ }, hn = (e, n) => {
38
+ const [a, r] = Q(void 0), [c, d] = Q(!1), [f, o] = Q(!1), [l, g] = Q(""), b = async () => {
39
39
  var k, u, T;
40
- let m = "";
40
+ let s = "";
41
41
  try {
42
- m = (await n.profile.getOwn().getInfo()).id;
42
+ s = (await n.profile.getOwn().getInfo()).id;
43
43
  } catch (h) {
44
44
  if (n.helpers.getSDKConfiguration().errorHandlingMode === "standard") {
45
45
  const v = h;
@@ -61,7 +61,7 @@ const bn = (e, n, a) => {
61
61
  try {
62
62
  const h = await n.eventGame.getGamePredictionsForUser(
63
63
  e,
64
- m,
64
+ s,
65
65
  void 0,
66
66
  !0
67
67
  );
@@ -90,7 +90,7 @@ const bn = (e, n, a) => {
90
90
  children: e,
91
91
  brandingBorderColor: n
92
92
  }) => {
93
- const a = Y(), r = K().md, c = n || p().secondaryContainer, f = He().size + " solid " + c;
93
+ const a = Y(), r = J().md, c = n || p().secondaryContainer, f = He().size + " solid " + c;
94
94
  return /* @__PURE__ */ t(
95
95
  i,
96
96
  {
@@ -109,7 +109,7 @@ const bn = (e, n, a) => {
109
109
  }
110
110
  );
111
111
  }, xe = (e) => {
112
- const n = O().secondary, a = Y(), r = e.flexDirection || "column", c = Wt(e.primaryUrl, e.secondaryUrl, "logo");
112
+ const n = q().secondary, a = Y(), r = e.flexDirection || "column", c = Ht(e.primaryUrl, e.secondaryUrl, "logo");
113
113
  if (!e.brandingLogo)
114
114
  return null;
115
115
  const d = () => {
@@ -147,7 +147,7 @@ const bn = (e, n, a) => {
147
147
  children: f
148
148
  }
149
149
  );
150
- return e.isCentered || a ? /* @__PURE__ */ s(
150
+ return e.isCentered || a ? /* @__PURE__ */ m(
151
151
  i,
152
152
  {
153
153
  sx: {
@@ -179,7 +179,7 @@ const bn = (e, n, a) => {
179
179
  o
180
180
  ]
181
181
  }
182
- ) : /* @__PURE__ */ s(
182
+ ) : /* @__PURE__ */ m(
183
183
  i,
184
184
  {
185
185
  sx: {
@@ -211,7 +211,7 @@ const bn = (e, n, a) => {
211
211
  ]
212
212
  }
213
213
  );
214
- }, Cn = (e) => ({
214
+ }, bn = (e) => ({
215
215
  // Mobile headline with image background
216
216
  mobileHeadlineWithImage: {
217
217
  display: e.isMobile ? "flex" : "none",
@@ -580,7 +580,7 @@ const bn = (e, n, a) => {
580
580
  color: e.textColor,
581
581
  lineHeight: 1
582
582
  }
583
- }), vn = (e) => ({
583
+ }), Sn = (e) => ({
584
584
  container: {
585
585
  display: "flex",
586
586
  alignItems: "center",
@@ -640,8 +640,8 @@ const bn = (e, n, a) => {
640
640
  display: "none"
641
641
  }
642
642
  }
643
- }), Pn = (e) => {
644
- const n = p(), a = K(), r = O(), c = ae(), d = Y(), f = ue(), [o, l] = J(e.prediction), g = At(null), b = e.minValue !== void 0 ? e.minValue : -1 / 0, m = e.maxValue !== void 0 ? e.maxValue : 1 / 0, k = f.mode === "dark" || e.isOverlayVariant, u = vn({
643
+ }), Cn = (e) => {
644
+ const n = p(), a = J(), r = q(), c = ae(), d = Y(), f = ue(), [o, l] = Q(e.prediction), g = At(null), b = e.minValue !== void 0 ? e.minValue : -1 / 0, s = e.maxValue !== void 0 ? e.maxValue : 1 / 0, k = f.mode === "dark" || e.isOverlayVariant, u = Sn({
645
645
  spacingScale: c,
646
646
  borderRadius: a,
647
647
  fontFamilyPrimary: r.primary,
@@ -655,7 +655,7 @@ const bn = (e, n, a) => {
655
655
  isMobile: d,
656
656
  iconColor: k ? "#FFFFFF" : n.textPrimary
657
657
  }), T = (P) => {
658
- const C = P ? Math.min(o + 1, m) : Math.max(o - 1, b);
658
+ const C = P ? Math.min(o + 1, s) : Math.max(o - 1, b);
659
659
  g.current && (g.current.value = String(C)), l(C), e.onChange(C);
660
660
  }, h = (P) => {
661
661
  const C = P.target.value;
@@ -664,7 +664,7 @@ const bn = (e, n, a) => {
664
664
  const v = parseInt(C, 10);
665
665
  l(v), e.onChange(v);
666
666
  };
667
- return /* @__PURE__ */ t(i, { sx: u.container, children: /* @__PURE__ */ s(i, { sx: u.numberInputContainer, children: [
667
+ return /* @__PURE__ */ t(i, { sx: u.container, children: /* @__PURE__ */ m(i, { sx: u.numberInputContainer, children: [
668
668
  /* @__PURE__ */ t(
669
669
  De,
670
670
  {
@@ -673,7 +673,7 @@ const bn = (e, n, a) => {
673
673
  onClick: () => T(!1),
674
674
  sx: u.numberButton,
675
675
  disabled: o <= b,
676
- children: /* @__PURE__ */ t(Jt, { fontSize: "small" })
676
+ children: /* @__PURE__ */ t(Qt, { fontSize: "small" })
677
677
  }
678
678
  ),
679
679
  /* @__PURE__ */ t(
@@ -702,12 +702,12 @@ const bn = (e, n, a) => {
702
702
  variant: "plain",
703
703
  onClick: () => T(!0),
704
704
  sx: u.numberButton,
705
- disabled: o >= m,
706
- children: /* @__PURE__ */ t(en, { fontSize: "small" })
705
+ disabled: o >= s,
706
+ children: /* @__PURE__ */ t(Jt, { fontSize: "small" })
707
707
  }
708
708
  )
709
709
  ] }) });
710
- }, In = (e) => {
710
+ }, vn = (e) => {
711
711
  const n = Y();
712
712
  return {
713
713
  container: {
@@ -732,7 +732,7 @@ const bn = (e, n, a) => {
732
732
  mb: e.spacingScale.xs
733
733
  }
734
734
  };
735
- }, kn = (e) => ({
735
+ }, Pn = (e) => ({
736
736
  container: {
737
737
  backgroundColor: e.neutralSoftBg,
738
738
  color: e.textPrimary,
@@ -826,7 +826,7 @@ const bn = (e, n, a) => {
826
826
  fontSize: "1em",
827
827
  color: e.textPrimary
828
828
  }
829
- }), Ne = Dt({
829
+ }), Ne = zt({
830
830
  points: []
831
831
  }), at = ({ points: e, children: n }) => /* @__PURE__ */ t(
832
832
  Ne.Provider,
@@ -837,7 +837,7 @@ const bn = (e, n, a) => {
837
837
  children: n
838
838
  }
839
839
  ), ot = (e) => {
840
- const { t: n } = ne(), a = p(), r = K(), c = O(), d = ae(), f = Y(), [o, l] = J(!1), { points: g } = We(Ne), b = kn({
840
+ const { t: n } = ne(), a = p(), r = J(), c = q(), d = ae(), f = Y(), [o, l] = Q(!1), { points: g } = We(Ne), b = Pn({
841
841
  spacingScale: d,
842
842
  borderRadius: r,
843
843
  fontFamilyPrimary: c.primary,
@@ -847,14 +847,14 @@ const bn = (e, n, a) => {
847
847
  neutralSoftBg: a.palette.neutral.softBg,
848
848
  neutralOutlinedBorder: a.palette.neutral.outlinedBorder,
849
849
  neutralPlainHoverBg: a.palette.neutral.plainHoverBg
850
- }), m = g.find((u) => u.id === e.fixtureId);
851
- if (!m)
850
+ }), s = g.find((u) => u.id === e.fixtureId);
851
+ if (!s)
852
852
  return null;
853
853
  const k = () => /* @__PURE__ */ t(x, { level: "body-sm", sx: b.tooltipText, children: n("eventGame.points.earnPointsForCorrect", {
854
- points: m.points
854
+ points: s.points
855
855
  }) });
856
856
  return f || e.isSplitVariant ? /* @__PURE__ */ t(
857
- ht,
857
+ bt,
858
858
  {
859
859
  title: k(),
860
860
  placement: "top-start",
@@ -871,27 +871,27 @@ const bn = (e, n, a) => {
871
871
  {
872
872
  onClick: () => l(!o),
873
873
  sx: b.mobileIconButton,
874
- children: /* @__PURE__ */ t(tn, { sx: b.mobileIcon })
874
+ children: /* @__PURE__ */ t(en, { sx: b.mobileIcon })
875
875
  }
876
876
  )
877
877
  }
878
878
  ) : /* @__PURE__ */ t(
879
- ht,
879
+ bt,
880
880
  {
881
881
  title: k(),
882
882
  placement: "top-start",
883
883
  variant: "soft",
884
884
  sx: b.tooltip,
885
885
  disablePortal: !0,
886
- children: /* @__PURE__ */ s(i, { sx: b.container, children: [
887
- /* @__PURE__ */ t(x, { level: "body-sm", sx: b.pointsText, children: m.points }),
886
+ children: /* @__PURE__ */ m(i, { sx: b.container, children: [
887
+ /* @__PURE__ */ t(x, { level: "body-sm", sx: b.pointsText, children: s.points }),
888
888
  /* @__PURE__ */ t(x, { level: "body-xs", sx: b.ptsLabel, children: n("eventGame.points.pts") })
889
889
  ] })
890
890
  }
891
891
  );
892
892
  }, nt = (e) => {
893
893
  var k, u;
894
- const { t: n } = ne(), a = p(), r = Se(), c = K(), d = O(), f = ae(), { points: o } = We(Ne), l = e.useExtraSmallLayout !== void 0 ? e.useExtraSmallLayout : r, g = In({
894
+ const { t: n } = ne(), a = p(), r = Se(), c = J(), d = q(), f = ae(), { points: o } = We(Ne), l = e.useExtraSmallLayout !== void 0 ? e.useExtraSmallLayout : r, g = vn({
895
895
  spacingScale: f,
896
896
  borderRadius: c,
897
897
  fontFamilyPrimary: d.primary,
@@ -899,13 +899,13 @@ const bn = (e, n, a) => {
899
899
  textPrimary: a.textPrimary,
900
900
  textSecondary: a.textSecondary,
901
901
  isExtraSmall: l
902
- }), m = (() => {
902
+ }), s = (() => {
903
903
  if (!e.validOutcomes) return null;
904
904
  const { min: T, max: h } = e.validOutcomes, P = T != null, C = h != null;
905
905
  return P && C ? n("eventGame.fixtures.numberRangeDescription", { min: T, max: h }) : P ? n("eventGame.fixtures.numberMinDescription", { min: T }) : C ? n("eventGame.fixtures.numberMaxDescription", { max: h }) : null;
906
906
  })();
907
- return /* @__PURE__ */ s(i, { sx: g.container, children: [
908
- /* @__PURE__ */ s(
907
+ return /* @__PURE__ */ m(i, { sx: g.container, children: [
908
+ /* @__PURE__ */ m(
909
909
  i,
910
910
  {
911
911
  sx: {
@@ -929,9 +929,9 @@ const bn = (e, n, a) => {
929
929
  ]
930
930
  }
931
931
  ),
932
- m && /* @__PURE__ */ t(x, { level: "body-sm", sx: g.description, children: m }),
932
+ s && /* @__PURE__ */ t(x, { level: "body-sm", sx: g.description, children: s }),
933
933
  /* @__PURE__ */ t(
934
- Pn,
934
+ Cn,
935
935
  {
936
936
  onChange: e.onChange,
937
937
  prediction: e.prediction,
@@ -941,7 +941,7 @@ const bn = (e, n, a) => {
941
941
  }
942
942
  )
943
943
  ] });
944
- }, Fn = (e) => ({
944
+ }, In = (e) => ({
945
945
  base: {
946
946
  width: e.isMobile ? "48px" : "64px",
947
947
  height: e.isMobile ? "48px" : "64px",
@@ -977,8 +977,8 @@ const bn = (e, n, a) => {
977
977
  selectedText: e.onPrimary ? {
978
978
  color: e.onPrimary
979
979
  } : {}
980
- }), Tn = (e) => ({
981
- ...Fn(e),
980
+ }), kn = (e) => ({
981
+ ...In(e),
982
982
  selectedYes: e.successMain ? {
983
983
  backgroundColor: e.successMain,
984
984
  color: "white",
@@ -999,8 +999,8 @@ const bn = (e, n, a) => {
999
999
  } : {
1000
1000
  borderRadius: e.spacingScale.sm
1001
1001
  }
1002
- }), wn = (e) => {
1003
- const n = Tn({
1002
+ }), Fn = (e) => {
1003
+ const n = kn({
1004
1004
  spacingScale: e.spacingScale,
1005
1005
  neutralSoftBg: e.neutralSoftBg,
1006
1006
  neutralPlainHoverBg: e.neutralPlainHoverBg,
@@ -1038,10 +1038,10 @@ const bn = (e, n, a) => {
1038
1038
  textAlign: "center"
1039
1039
  }
1040
1040
  };
1041
- }, Rn = (e) => {
1042
- const { t: n } = ne(), a = p(), r = K(), c = O(), d = ae(), f = Y(), [o, l] = J(
1041
+ }, Tn = (e) => {
1042
+ const { t: n } = ne(), a = p(), r = J(), c = q(), d = ae(), f = Y(), [o, l] = Q(
1043
1043
  e.prediction
1044
- ), g = wn({
1044
+ ), g = Fn({
1045
1045
  spacingScale: d,
1046
1046
  borderRadius: r,
1047
1047
  fontFamilyPrimary: c.primary,
@@ -1061,7 +1061,7 @@ const bn = (e, n, a) => {
1061
1061
  }, k = {
1062
1062
  yes: n("eventGame.fixtures.yes"),
1063
1063
  no: n("eventGame.fixtures.no")
1064
- }, u = ({ isSelected: h }) => /* @__PURE__ */ s(i, { sx: g.optionContainer, children: [
1064
+ }, u = ({ isSelected: h }) => /* @__PURE__ */ m(i, { sx: g.optionContainer, children: [
1065
1065
  /* @__PURE__ */ t(
1066
1066
  i,
1067
1067
  {
@@ -1094,7 +1094,7 @@ const bn = (e, n, a) => {
1094
1094
  }
1095
1095
  ),
1096
1096
  /* @__PURE__ */ t(x, { level: "body-sm", sx: g.optionLabel, children: k.yes })
1097
- ] }), T = ({ isSelected: h }) => /* @__PURE__ */ s(i, { sx: g.optionContainer, children: [
1097
+ ] }), T = ({ isSelected: h }) => /* @__PURE__ */ m(i, { sx: g.optionContainer, children: [
1098
1098
  /* @__PURE__ */ t(
1099
1099
  i,
1100
1100
  {
@@ -1128,11 +1128,11 @@ const bn = (e, n, a) => {
1128
1128
  ),
1129
1129
  /* @__PURE__ */ t(x, { level: "body-sm", sx: g.optionLabel, children: k.no })
1130
1130
  ] });
1131
- return /* @__PURE__ */ s(i, { sx: g.container, children: [
1131
+ return /* @__PURE__ */ m(i, { sx: g.container, children: [
1132
1132
  /* @__PURE__ */ t(u, { isSelected: o === !0 }),
1133
1133
  /* @__PURE__ */ t(T, { isSelected: o === !1 })
1134
1134
  ] });
1135
- }, pn = (e) => {
1135
+ }, wn = (e) => {
1136
1136
  const n = Y();
1137
1137
  return {
1138
1138
  container: {
@@ -1150,7 +1150,7 @@ const bn = (e, n, a) => {
1150
1150
  }
1151
1151
  };
1152
1152
  }, it = (e) => {
1153
- const n = p(), a = Se(), r = K(), c = O(), d = ae(), { points: f } = We(Ne), o = e.useExtraSmallLayout !== void 0 ? e.useExtraSmallLayout : a, l = pn({
1153
+ const n = p(), a = Se(), r = J(), c = q(), d = ae(), { points: f } = We(Ne), o = e.useExtraSmallLayout !== void 0 ? e.useExtraSmallLayout : a, l = wn({
1154
1154
  spacingScale: d,
1155
1155
  borderRadius: r,
1156
1156
  fontFamilyPrimary: c.primary,
@@ -1159,8 +1159,8 @@ const bn = (e, n, a) => {
1159
1159
  textSecondary: n.textSecondary,
1160
1160
  isExtraSmall: o
1161
1161
  });
1162
- return /* @__PURE__ */ s(i, { sx: l.container, children: [
1163
- /* @__PURE__ */ s(
1162
+ return /* @__PURE__ */ m(i, { sx: l.container, children: [
1163
+ /* @__PURE__ */ m(
1164
1164
  i,
1165
1165
  {
1166
1166
  sx: {
@@ -1185,14 +1185,14 @@ const bn = (e, n, a) => {
1185
1185
  }
1186
1186
  ),
1187
1187
  /* @__PURE__ */ t(
1188
- Rn,
1188
+ Tn,
1189
1189
  {
1190
1190
  onSelectionChange: e.onSelectionChange,
1191
1191
  prediction: e.prediction
1192
1192
  }
1193
1193
  )
1194
1194
  ] });
1195
- }, zn = (e) => ({
1195
+ }, Rn = (e) => ({
1196
1196
  container: {
1197
1197
  display: "flex",
1198
1198
  alignItems: "center",
@@ -1258,8 +1258,8 @@ const bn = (e, n, a) => {
1258
1258
  color: `${e.textPrimary} !important`
1259
1259
  }
1260
1260
  }
1261
- }), Gn = (e) => {
1262
- const { t: n } = ne(), a = p(), r = K(), c = O(), d = ae(), f = Y(), { shadowRootElement: o } = We(It), l = Mt(), g = ue(), b = He().size, [m, k] = J(e.prediction || ""), u = {
1261
+ }), pn = (e) => {
1262
+ const { t: n } = ne(), a = p(), r = J(), c = q(), d = ae(), f = Y(), { shadowRootElement: o } = We(It), l = Dt(), g = ue(), b = He().size, [s, k] = Q(e.prediction || ""), u = {
1263
1263
  background: {
1264
1264
  surface: l.colorSchemes.light.palette.background.surface,
1265
1265
  popup: l.colorSchemes.light.palette.background.popup
@@ -1345,7 +1345,7 @@ const bn = (e, n, a) => {
1345
1345
  bgcolor: `${u.neutral.outlinedHoverBg} !important`,
1346
1346
  color: `${u.neutral.outlinedColor} !important`
1347
1347
  }
1348
- }, C = zn({
1348
+ }, C = Rn({
1349
1349
  spacingScale: d,
1350
1350
  borderRadius: r,
1351
1351
  fontFamilyPrimary: c.primary,
@@ -1365,15 +1365,15 @@ const bn = (e, n, a) => {
1365
1365
  y !== null && (k(y), e.onTextChange(y));
1366
1366
  }, I = e.validOutcomes ? typeof e.validOutcomes == "object" && "options" in e.validOutcomes ? e.validOutcomes.options : Array.isArray(e.validOutcomes) ? e.validOutcomes : null : null, $ = I && I.length > 0, w = () => {
1367
1367
  if (!I || !e.optionsLayout) return null;
1368
- const H = a.palette.primary.plainColor, y = a.palette.primary.onPrimary, G = g.colorSchemes.light.textColor, E = (S) => m === S ? {
1368
+ const H = a.palette.primary.plainColor, y = a.palette.primary.onPrimary, A = g.colorSchemes.light.textColor, E = (S) => s === S ? {
1369
1369
  bgcolor: H,
1370
1370
  boxShadow: `inset 0 0 0 ${b} ${H}`,
1371
1371
  color: y
1372
1372
  } : {
1373
1373
  bgcolor: "#FFFFFF",
1374
- color: G,
1374
+ color: A,
1375
1375
  boxShadow: "none"
1376
- }, A = (S) => {
1376
+ }, z = (S) => {
1377
1377
  k(S), e.onTextChange(S);
1378
1378
  };
1379
1379
  if (e.optionsLayout === "twoByTwo") {
@@ -1414,7 +1414,7 @@ const bn = (e, n, a) => {
1414
1414
  display: "flex",
1415
1415
  flexDirection: "column"
1416
1416
  },
1417
- onClick: () => A(U),
1417
+ onClick: () => z(U),
1418
1418
  children: /* @__PURE__ */ t(
1419
1419
  x,
1420
1420
  {
@@ -1465,7 +1465,7 @@ const bn = (e, n, a) => {
1465
1465
  display: "flex",
1466
1466
  flexDirection: "column"
1467
1467
  },
1468
- onClick: () => A(S),
1468
+ onClick: () => z(S),
1469
1469
  children: /* @__PURE__ */ t(
1470
1470
  x,
1471
1471
  {
@@ -1520,7 +1520,7 @@ const bn = (e, n, a) => {
1520
1520
  display: "flex",
1521
1521
  flexDirection: "column"
1522
1522
  },
1523
- onClick: () => A(S),
1523
+ onClick: () => z(S),
1524
1524
  children: /* @__PURE__ */ t(
1525
1525
  x,
1526
1526
  {
@@ -1552,19 +1552,19 @@ const bn = (e, n, a) => {
1552
1552
  ) : (
1553
1553
  // Otherwise, render select dropdown (default behavior)
1554
1554
  /* @__PURE__ */ t(
1555
- gn,
1555
+ sn,
1556
1556
  {
1557
- value: m || null,
1557
+ value: s || null,
1558
1558
  onChange: F,
1559
1559
  placeholder: n("eventGame.fixtures.textSelectPlaceholder"),
1560
1560
  slotProps: h,
1561
- children: I.map((H, y) => /* @__PURE__ */ t(un, { value: H, sx: P, children: H }, y))
1561
+ children: I.map((H, y) => /* @__PURE__ */ t(mn, { value: H, sx: P, children: H }, y))
1562
1562
  }
1563
1563
  )
1564
1564
  ) }) : /* @__PURE__ */ t(i, { sx: C.inputContainer, children: /* @__PURE__ */ t(
1565
1565
  pt,
1566
1566
  {
1567
- value: m,
1567
+ value: s,
1568
1568
  onChange: v,
1569
1569
  placeholder: n("eventGame.fixtures.textInputPlaceholder"),
1570
1570
  sx: {
@@ -1587,7 +1587,7 @@ const bn = (e, n, a) => {
1587
1587
  }
1588
1588
  }
1589
1589
  ) }) });
1590
- }, An = (e) => {
1590
+ }, Gn = (e) => {
1591
1591
  const n = Y();
1592
1592
  return {
1593
1593
  container: {
@@ -1605,7 +1605,7 @@ const bn = (e, n, a) => {
1605
1605
  }
1606
1606
  };
1607
1607
  }, pe = (e) => {
1608
- const n = p(), a = Se(), r = K(), c = O(), d = ae(), { points: f } = We(Ne), o = e.useExtraSmallLayout !== void 0 ? e.useExtraSmallLayout : a, l = An({
1608
+ const n = p(), a = Se(), r = J(), c = q(), d = ae(), { points: f } = We(Ne), o = e.useExtraSmallLayout !== void 0 ? e.useExtraSmallLayout : a, l = Gn({
1609
1609
  spacingScale: d,
1610
1610
  borderRadius: r,
1611
1611
  fontFamilyPrimary: c.primary,
@@ -1614,8 +1614,8 @@ const bn = (e, n, a) => {
1614
1614
  textSecondary: n.textSecondary,
1615
1615
  isExtraSmall: o
1616
1616
  });
1617
- return /* @__PURE__ */ s(i, { sx: l.container, children: [
1618
- /* @__PURE__ */ s(
1617
+ return /* @__PURE__ */ m(i, { sx: l.container, children: [
1618
+ /* @__PURE__ */ m(
1619
1619
  i,
1620
1620
  {
1621
1621
  sx: {
@@ -1640,7 +1640,7 @@ const bn = (e, n, a) => {
1640
1640
  }
1641
1641
  ),
1642
1642
  /* @__PURE__ */ t(
1643
- Gn,
1643
+ pn,
1644
1644
  {
1645
1645
  onTextChange: e.onTextChange,
1646
1646
  prediction: e.prediction,
@@ -1650,9 +1650,9 @@ const bn = (e, n, a) => {
1650
1650
  )
1651
1651
  ] });
1652
1652
  }, lt = (e) => {
1653
- const n = p(), a = K(), r = Y(), c = () => {
1653
+ const n = p(), a = J(), r = Y(), c = () => {
1654
1654
  const f = a.full, o = e.brandingPrimaryColor || n.palette.primary.plainColor, l = e.brandingPrimaryColor || n.palette.primary.outlinedBorder, g = "#FFFFFF", b = n.outlineEnabledBorder;
1655
- return /* @__PURE__ */ s(
1655
+ return /* @__PURE__ */ m(
1656
1656
  i,
1657
1657
  {
1658
1658
  sx: {
@@ -1721,8 +1721,8 @@ const bn = (e, n, a) => {
1721
1721
  const f = a.full, o = e.totalSteps || e.eventGame.fixtures.length, l = [];
1722
1722
  for (let g = 0; g < o; g++) {
1723
1723
  const b = g + 1;
1724
- let m, k, u;
1725
- if (b < e.currentStep ? (m = e.brandingPrimaryColor || n.palette.primary.plainColor, k = e.brandingPrimaryColor || n.palette.primary.outlinedBorder, u = "#FFFFFF") : b === e.currentStep ? (m = e.brandingPrimaryColor || n.palette.primary.plainColor, k = e.brandingPrimaryColor || n.palette.primary.outlinedBorder, u = n.palette.primary.onPrimary) : (m = n.palette.neutral.softBg, k = n.outlineEnabledBorder, u = n.textColor), l.push(
1724
+ let s, k, u;
1725
+ if (b < e.currentStep ? (s = e.brandingPrimaryColor || n.palette.primary.plainColor, k = e.brandingPrimaryColor || n.palette.primary.outlinedBorder, u = "#FFFFFF") : b === e.currentStep ? (s = e.brandingPrimaryColor || n.palette.primary.plainColor, k = e.brandingPrimaryColor || n.palette.primary.outlinedBorder, u = n.palette.primary.onPrimary) : (s = n.palette.neutral.softBg, k = n.outlineEnabledBorder, u = n.textColor), l.push(
1726
1726
  /* @__PURE__ */ t(
1727
1727
  i,
1728
1728
  {
@@ -1730,7 +1730,7 @@ const bn = (e, n, a) => {
1730
1730
  width: "32px",
1731
1731
  height: "32px",
1732
1732
  borderRadius: f,
1733
- backgroundColor: m,
1733
+ backgroundColor: s,
1734
1734
  border: `1px solid ${k}`,
1735
1735
  display: "flex",
1736
1736
  alignItems: "center",
@@ -1781,7 +1781,7 @@ const bn = (e, n, a) => {
1781
1781
  display: "flex",
1782
1782
  alignItems: "center",
1783
1783
  justifyContent: "center",
1784
- py: Bt("xs"),
1784
+ py: Mt("xs"),
1785
1785
  width: "100%",
1786
1786
  zIndex: 1
1787
1787
  },
@@ -1789,7 +1789,7 @@ const bn = (e, n, a) => {
1789
1789
  }
1790
1790
  );
1791
1791
  }, rt = (e) => {
1792
- const { t: n } = ne(), a = p(), r = K(), c = O(), d = ae(), o = Y() || e.isSplitVariant, [l, g] = J({
1792
+ const { t: n } = ne(), a = p(), r = J(), c = q(), d = ae(), o = Y() || e.isSplitVariant, [l, g] = Q({
1793
1793
  days: 0,
1794
1794
  hours: 0,
1795
1795
  minutes: 0,
@@ -1813,7 +1813,7 @@ const bn = (e, n, a) => {
1813
1813
  return () => clearInterval(u);
1814
1814
  }, [b]), l.total <= 0)
1815
1815
  return null;
1816
- const m = {
1816
+ const s = {
1817
1817
  container: {
1818
1818
  display: "flex",
1819
1819
  flexDirection: "column",
@@ -1872,35 +1872,35 @@ const bn = (e, n, a) => {
1872
1872
  flexShrink: 0
1873
1873
  }
1874
1874
  };
1875
- return /* @__PURE__ */ s(i, { sx: m.container, children: [
1876
- /* @__PURE__ */ t(x, { sx: m.participationText, children: n("eventGame.countdown.participationTimeLeft") }),
1877
- /* @__PURE__ */ s(i, { sx: m.countdownContainer, children: [
1878
- l.days > 0 && /* @__PURE__ */ s(j, { children: [
1879
- /* @__PURE__ */ s(i, { sx: m.timeUnit, children: [
1880
- /* @__PURE__ */ t(x, { sx: m.timeValue, children: l.days.toString().padStart(2, "0") }),
1881
- /* @__PURE__ */ t(x, { sx: m.timeLabel, children: n("eventGame.countdown.daysShort") })
1875
+ return /* @__PURE__ */ m(i, { sx: s.container, children: [
1876
+ /* @__PURE__ */ t(x, { sx: s.participationText, children: n("eventGame.countdown.participationTimeLeft") }),
1877
+ /* @__PURE__ */ m(i, { sx: s.countdownContainer, children: [
1878
+ l.days > 0 && /* @__PURE__ */ m(j, { children: [
1879
+ /* @__PURE__ */ m(i, { sx: s.timeUnit, children: [
1880
+ /* @__PURE__ */ t(x, { sx: s.timeValue, children: l.days.toString().padStart(2, "0") }),
1881
+ /* @__PURE__ */ t(x, { sx: s.timeLabel, children: n("eventGame.countdown.daysShort") })
1882
1882
  ] }),
1883
- /* @__PURE__ */ t(x, { sx: m.separator, children: ":" })
1883
+ /* @__PURE__ */ t(x, { sx: s.separator, children: ":" })
1884
1884
  ] }),
1885
- (l.days > 0 || l.hours > 0) && /* @__PURE__ */ s(j, { children: [
1886
- /* @__PURE__ */ s(i, { sx: m.timeUnit, children: [
1887
- /* @__PURE__ */ t(x, { sx: m.timeValue, children: l.hours.toString().padStart(2, "0") }),
1888
- /* @__PURE__ */ t(x, { sx: m.timeLabel, children: n("eventGame.countdown.hoursShort") })
1885
+ (l.days > 0 || l.hours > 0) && /* @__PURE__ */ m(j, { children: [
1886
+ /* @__PURE__ */ m(i, { sx: s.timeUnit, children: [
1887
+ /* @__PURE__ */ t(x, { sx: s.timeValue, children: l.hours.toString().padStart(2, "0") }),
1888
+ /* @__PURE__ */ t(x, { sx: s.timeLabel, children: n("eventGame.countdown.hoursShort") })
1889
1889
  ] }),
1890
- /* @__PURE__ */ t(x, { sx: m.separator, children: ":" })
1890
+ /* @__PURE__ */ t(x, { sx: s.separator, children: ":" })
1891
1891
  ] }),
1892
- /* @__PURE__ */ s(i, { sx: m.timeUnit, children: [
1893
- /* @__PURE__ */ t(x, { sx: m.timeValue, children: l.minutes.toString().padStart(2, "0") }),
1894
- /* @__PURE__ */ t(x, { sx: m.timeLabel, children: n("eventGame.countdown.minutesShort") })
1892
+ /* @__PURE__ */ m(i, { sx: s.timeUnit, children: [
1893
+ /* @__PURE__ */ t(x, { sx: s.timeValue, children: l.minutes.toString().padStart(2, "0") }),
1894
+ /* @__PURE__ */ t(x, { sx: s.timeLabel, children: n("eventGame.countdown.minutesShort") })
1895
1895
  ] }),
1896
- /* @__PURE__ */ t(x, { sx: m.separator, children: ":" }),
1897
- /* @__PURE__ */ s(i, { sx: m.timeUnit, children: [
1898
- /* @__PURE__ */ t(x, { sx: m.timeValue, children: l.seconds.toString().padStart(2, "0") }),
1899
- /* @__PURE__ */ t(x, { sx: m.timeLabel, children: n("eventGame.countdown.secondsShort") })
1896
+ /* @__PURE__ */ t(x, { sx: s.separator, children: ":" }),
1897
+ /* @__PURE__ */ m(i, { sx: s.timeUnit, children: [
1898
+ /* @__PURE__ */ t(x, { sx: s.timeValue, children: l.seconds.toString().padStart(2, "0") }),
1899
+ /* @__PURE__ */ t(x, { sx: s.timeLabel, children: n("eventGame.countdown.secondsShort") })
1900
1900
  ] })
1901
1901
  ] })
1902
1902
  ] });
1903
- }, Dn = (e) => ({
1903
+ }, An = (e) => ({
1904
1904
  container: {
1905
1905
  display: "flex",
1906
1906
  flexDirection: "column",
@@ -2076,7 +2076,7 @@ const bn = (e, n, a) => {
2076
2076
  color: e.textPrimary
2077
2077
  }
2078
2078
  }
2079
- }), Mn = (e) => {
2079
+ }), zn = (e) => {
2080
2080
  const n = Y();
2081
2081
  return {
2082
2082
  modalDialog: {
@@ -2180,8 +2180,8 @@ const bn = (e, n, a) => {
2180
2180
  }, Oe = (e, n) => {
2181
2181
  let a = e;
2182
2182
  return (n == null ? void 0 : n.min) !== null && (n == null ? void 0 : n.min) !== void 0 && (a = Math.max(a, n.min)), (n == null ? void 0 : n.max) !== null && (n == null ? void 0 : n.max) !== void 0 && (a = Math.min(a, n.max)), a;
2183
- }, Bn = (e) => {
2184
- const { t: n } = ne(), { shadowRootElement: a } = We(It), r = p(), c = K(), d = O(), f = ae(), [o, l] = J(!1), g = e.brandingPrimaryColor || r.palette.primary.plainColor, b = Mn({
2183
+ }, Dn = (e) => {
2184
+ const { t: n } = ne(), { shadowRootElement: a } = We(It), r = p(), c = J(), d = q(), f = ae(), [o, l] = Q(!1), g = e.brandingPrimaryColor || r.palette.primary.plainColor, b = zn({
2185
2185
  spacingScale: f,
2186
2186
  borderRadius: c,
2187
2187
  fontFamilyPrimary: d.primary,
@@ -2190,7 +2190,7 @@ const bn = (e, n, a) => {
2190
2190
  textSecondary: r.textSecondary,
2191
2191
  primaryColor: g,
2192
2192
  surface: r.surface
2193
- }), m = e.prediction.fixtures.find(
2193
+ }), s = e.prediction.fixtures.find(
2194
2194
  (h) => h.id === e.fixture.id
2195
2195
  ), k = (h) => {
2196
2196
  const P = { ...e.prediction }, C = P.fixtures.findIndex(
@@ -2203,12 +2203,12 @@ const bn = (e, n, a) => {
2203
2203
  }, u = async () => {
2204
2204
  if (l(!0), e.fixture.outcomeType === W.NUMBER) {
2205
2205
  const h = e.fixture.validOutcomes;
2206
- if (m && typeof m.prediction == "number") {
2206
+ if (s && typeof s.prediction == "number") {
2207
2207
  const P = Oe(
2208
- m.prediction,
2208
+ s.prediction,
2209
2209
  h
2210
2210
  );
2211
- P !== m.prediction && k(P);
2211
+ P !== s.prediction && k(P);
2212
2212
  }
2213
2213
  }
2214
2214
  try {
@@ -2221,7 +2221,7 @@ const bn = (e, n, a) => {
2221
2221
  }, T = () => {
2222
2222
  const h = e.fixture.outcomeType;
2223
2223
  if (h === W.NUMBER) {
2224
- const P = m == null ? void 0 : m.prediction, C = e.fixture.validOutcomes;
2224
+ const P = s == null ? void 0 : s.prediction, C = e.fixture.validOutcomes;
2225
2225
  return /* @__PURE__ */ t(
2226
2226
  nt,
2227
2227
  {
@@ -2238,7 +2238,7 @@ const bn = (e, n, a) => {
2238
2238
  );
2239
2239
  }
2240
2240
  if (h === W.BOOLEAN) {
2241
- const P = m == null ? void 0 : m.prediction;
2241
+ const P = s == null ? void 0 : s.prediction;
2242
2242
  return /* @__PURE__ */ t(
2243
2243
  it,
2244
2244
  {
@@ -2253,7 +2253,7 @@ const bn = (e, n, a) => {
2253
2253
  );
2254
2254
  }
2255
2255
  if (h === W.FREE_INPUT) {
2256
- const P = m == null ? void 0 : m.prediction;
2256
+ const P = s == null ? void 0 : s.prediction;
2257
2257
  return /* @__PURE__ */ t(
2258
2258
  pe,
2259
2259
  {
@@ -2269,7 +2269,7 @@ const bn = (e, n, a) => {
2269
2269
  );
2270
2270
  }
2271
2271
  if (h === W.ENUM) {
2272
- const P = m == null ? void 0 : m.prediction;
2272
+ const P = s == null ? void 0 : s.prediction;
2273
2273
  return /* @__PURE__ */ t(
2274
2274
  pe,
2275
2275
  {
@@ -2287,16 +2287,16 @@ const bn = (e, n, a) => {
2287
2287
  return null;
2288
2288
  };
2289
2289
  return /* @__PURE__ */ t(
2290
- Lt,
2290
+ $t,
2291
2291
  {
2292
2292
  open: e.isOpen,
2293
2293
  onClose: e.onClose,
2294
2294
  container: a,
2295
2295
  sx: { zIndex: 1300 },
2296
- children: /* @__PURE__ */ s(Ut, { sx: b.modalDialog, children: [
2297
- /* @__PURE__ */ t(De, { onClick: e.onClose, sx: b.closeButton, children: /* @__PURE__ */ t(Zt, {}) }),
2298
- /* @__PURE__ */ t(Xt, { sx: b.content, children: T() }),
2299
- e.view === "score" && /* @__PURE__ */ s(nn, { children: [
2296
+ children: /* @__PURE__ */ m(Lt, { sx: b.modalDialog, children: [
2297
+ /* @__PURE__ */ t(De, { onClick: e.onClose, sx: b.closeButton, children: /* @__PURE__ */ t(_t, {}) }),
2298
+ /* @__PURE__ */ t(Zt, { sx: b.content, children: T() }),
2299
+ e.view === "score" && /* @__PURE__ */ m(tn, { children: [
2300
2300
  /* @__PURE__ */ t(
2301
2301
  Re,
2302
2302
  {
@@ -2341,7 +2341,7 @@ const bn = (e, n, a) => {
2341
2341
  }
2342
2342
  );
2343
2343
  }, $e = (e) => {
2344
- const { t: n } = ne(), a = p(), r = K(), c = O(), d = ae(), f = Y(), [o, l] = J(!1), [g, b] = J(null), m = Dn({
2344
+ const { t: n } = ne(), a = p(), r = J(), c = q(), d = ae(), f = Y(), [o, l] = Q(!1), [g, b] = Q(null), s = An({
2345
2345
  spacingScale: d,
2346
2346
  borderRadius: r,
2347
2347
  fontFamilyPrimary: c.primary,
@@ -2390,38 +2390,38 @@ const bn = (e, n, a) => {
2390
2390
  if (!C) return null;
2391
2391
  if (P.outcomeType === W.BOOLEAN) {
2392
2392
  const D = C.prediction === !0;
2393
- return /* @__PURE__ */ t(i, { sx: m.predictionBox, children: /* @__PURE__ */ t(x, { sx: m.selectionText, children: n(D ? "eventGame.fixtures.yes" : "eventGame.fixtures.no") }) });
2393
+ return /* @__PURE__ */ t(i, { sx: s.predictionBox, children: /* @__PURE__ */ t(x, { sx: s.selectionText, children: n(D ? "eventGame.fixtures.yes" : "eventGame.fixtures.no") }) });
2394
2394
  }
2395
- return /* @__PURE__ */ t(i, { sx: m.predictionBox, children: /* @__PURE__ */ t(x, { sx: m.selectionText, children: C.prediction }) });
2395
+ return /* @__PURE__ */ t(i, { sx: s.predictionBox, children: /* @__PURE__ */ t(x, { sx: s.selectionText, children: C.prediction }) });
2396
2396
  };
2397
- return /* @__PURE__ */ t(j, { children: /* @__PURE__ */ s(i, { sx: m.container, children: [
2398
- /* @__PURE__ */ t(x, { sx: m.title, children: n("eventGame.summary.title") }),
2399
- /* @__PURE__ */ t(wt, { sx: m.tableContainer, children: /* @__PURE__ */ s(
2397
+ return /* @__PURE__ */ t(j, { children: /* @__PURE__ */ m(i, { sx: s.container, children: [
2398
+ /* @__PURE__ */ t(x, { sx: s.title, children: n("eventGame.summary.title") }),
2399
+ /* @__PURE__ */ t(wt, { sx: s.tableContainer, children: /* @__PURE__ */ m(
2400
2400
  Rt,
2401
2401
  {
2402
2402
  variant: "outlined",
2403
2403
  hoverRow: !1,
2404
2404
  borderAxis: "bothBetween",
2405
2405
  size: "sm",
2406
- sx: m.table,
2406
+ sx: s.table,
2407
2407
  children: [
2408
- /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ s("tr", { children: [
2409
- /* @__PURE__ */ t("th", { style: m.headerCell, children: n("eventGame.summary.prediction") }),
2410
- /* @__PURE__ */ t("th", { style: m.headerCellAction })
2408
+ /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ m("tr", { children: [
2409
+ /* @__PURE__ */ t("th", { style: s.headerCell, children: n("eventGame.summary.prediction") }),
2410
+ /* @__PURE__ */ t("th", { style: s.headerCellAction })
2411
2411
  ] }) }),
2412
- /* @__PURE__ */ t("tbody", { children: e.fixtures.map((P, C) => /* @__PURE__ */ s("tr", { children: [
2413
- /* @__PURE__ */ t("td", { style: m.predictionCell, children: /* @__PURE__ */ s(i, { sx: m.predictionContent, children: [
2414
- /* @__PURE__ */ t(x, { sx: m.questionText, children: P.question }),
2412
+ /* @__PURE__ */ t("tbody", { children: e.fixtures.map((P, C) => /* @__PURE__ */ m("tr", { children: [
2413
+ /* @__PURE__ */ t("td", { style: s.predictionCell, children: /* @__PURE__ */ m(i, { sx: s.predictionContent, children: [
2414
+ /* @__PURE__ */ t(x, { sx: s.questionText, children: P.question }),
2415
2415
  h(P)
2416
2416
  ] }) }),
2417
- /* @__PURE__ */ t("td", { style: m.actionCell, children: /* @__PURE__ */ t(
2417
+ /* @__PURE__ */ t("td", { style: s.actionCell, children: /* @__PURE__ */ t(
2418
2418
  De,
2419
2419
  {
2420
2420
  variant: "plain",
2421
2421
  size: "sm",
2422
- sx: m.editIconButton,
2422
+ sx: s.editIconButton,
2423
2423
  onClick: () => k(C),
2424
- children: /* @__PURE__ */ t(an, {})
2424
+ children: /* @__PURE__ */ t(nn, {})
2425
2425
  }
2426
2426
  ) })
2427
2427
  ] }, `${P.id}-${C}`)) })
@@ -2429,7 +2429,7 @@ const bn = (e, n, a) => {
2429
2429
  }
2430
2430
  ) }),
2431
2431
  g && /* @__PURE__ */ t(
2432
- Bn,
2432
+ Dn,
2433
2433
  {
2434
2434
  isOpen: o,
2435
2435
  onClose: u,
@@ -2444,17 +2444,17 @@ const bn = (e, n, a) => {
2444
2444
  }
2445
2445
  )
2446
2446
  ] }) });
2447
- }, Hn = (e) => {
2448
- var ke, Fe, Te, we, B, Q, re;
2449
- const [n, a] = Je.useState(1), r = ue(), { t: c } = ne(), d = Y(), f = Se(), o = ((ke = e.eventGame.branding) == null ? void 0 : ke.colors) || null, l = d ? ((Te = (Fe = e.eventGame.branding) == null ? void 0 : Fe.images) == null ? void 0 : Te.mobileLogo) || ((B = (we = e.eventGame.branding) == null ? void 0 : we.images) == null ? void 0 : B.mainLogo) || "" : ((re = (Q = e.eventGame.branding) == null ? void 0 : Q.images) == null ? void 0 : re.mainLogo) || "", g = e.imagePosition || "left", b = Ce(
2447
+ }, Mn = (e) => {
2448
+ var ke, Fe, Te, we, B, K, re;
2449
+ const [n, a] = Je.useState(1), r = ue(), { t: c } = ne(), d = Y(), f = Se(), o = ((ke = e.eventGame.branding) == null ? void 0 : ke.colors) || null, l = d ? ((Te = (Fe = e.eventGame.branding) == null ? void 0 : Fe.images) == null ? void 0 : Te.mobileLogo) || ((B = (we = e.eventGame.branding) == null ? void 0 : we.images) == null ? void 0 : B.mainLogo) || "" : ((re = (K = e.eventGame.branding) == null ? void 0 : K.images) == null ? void 0 : re.mainLogo) || "", g = e.imagePosition || "left", b = Ce(
2450
2450
  {
2451
2451
  images: e.eventGame.images,
2452
2452
  imagePlaceholder: e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : ""
2453
2453
  },
2454
2454
  le.STANDARD
2455
- ), m = f || d && !!b, k = p().palette.danger.plainColor, u = (o == null ? void 0 : o.contentColor) || p().textColor, T = (o == null ? void 0 : o.secondaryColor) || p().textColor, h = O().secondary, P = "60%", C = O().primary, v = (o == null ? void 0 : o.backgroundColor) || p().surfaceVariant, F = K(), D = (o == null ? void 0 : o.primaryColor) || p().palette.primary.plainColor, I = p().palette.primary.onPrimary, $ = K().xl, w = ae(), H = Ee(
2455
+ ), s = f || d && !!b, k = p().palette.danger.plainColor, u = (o == null ? void 0 : o.contentColor) || p().textColor, T = (o == null ? void 0 : o.secondaryColor) || p().textColor, h = q().secondary, P = "60%", C = q().primary, v = (o == null ? void 0 : o.backgroundColor) || p().surfaceVariant, F = J(), D = (o == null ? void 0 : o.primaryColor) || p().palette.primary.plainColor, I = p().palette.primary.onPrimary, $ = J().xl, w = ae(), H = Ee(
2456
2456
  le.STANDARD
2457
- ), y = Cn({
2457
+ ), y = bn({
2458
2458
  finalImage: b,
2459
2459
  spacingScale: w,
2460
2460
  borderRadius: F,
@@ -2467,15 +2467,15 @@ const bn = (e, n, a) => {
2467
2467
  darkTextColor: r.colorSchemes.dark.textColor,
2468
2468
  imageBackgroundGradient: H,
2469
2469
  isMobile: d,
2470
- isExtraSmall: m,
2470
+ isExtraSmall: s,
2471
2471
  dangerColor: k
2472
- }), G = (z, V) => {
2472
+ }), A = (G, V) => {
2473
2473
  var Z, ce, ie, de;
2474
2474
  return /* @__PURE__ */ t(
2475
2475
  xe,
2476
2476
  {
2477
2477
  brandingLogo: l,
2478
- textColor: z,
2478
+ textColor: G,
2479
2479
  label: null,
2480
2480
  flexDirection: V,
2481
2481
  primaryUrl: (ce = (Z = e.eventGame.branding) == null ? void 0 : Z.urls) == null ? void 0 : ce.primaryUrl,
@@ -2483,85 +2483,85 @@ const bn = (e, n, a) => {
2483
2483
  }
2484
2484
  );
2485
2485
  }, E = et(
2486
- (z, V) => {
2486
+ (G, V) => {
2487
2487
  e.setPrediction((Z) => {
2488
2488
  const ce = { ...Z }, ie = ce.fixtures.find(
2489
- (de) => de.id === z
2489
+ (de) => de.id === G
2490
2490
  );
2491
2491
  return ie && (ie.prediction = V), ce;
2492
2492
  });
2493
2493
  },
2494
2494
  [e.setPrediction]
2495
- ), A = e.eventGame.fixtures.length + 1, S = e.eventGame.status === "OPEN" && ct(e.eventGame.predictionsCutoff || ""), R = () => {
2495
+ ), z = e.eventGame.fixtures.length + 1, S = e.eventGame.status === "OPEN" && ct(e.eventGame.predictionsCutoff || ""), R = () => {
2496
2496
  var V, Z;
2497
- const z = e.eventGame.fixtures[n - 1];
2498
- if (z && z.outcomeType === W.NUMBER) {
2499
- const ce = z.validOutcomes, ie = (Z = (V = e.prediction) == null ? void 0 : V.fixtures) == null ? void 0 : Z.find(
2500
- (de) => de.id === z.id
2497
+ const G = e.eventGame.fixtures[n - 1];
2498
+ if (G && G.outcomeType === W.NUMBER) {
2499
+ const ce = G.validOutcomes, ie = (Z = (V = e.prediction) == null ? void 0 : V.fixtures) == null ? void 0 : Z.find(
2500
+ (de) => de.id === G.id
2501
2501
  );
2502
2502
  if (ie && typeof ie.prediction == "number") {
2503
2503
  const de = Oe(
2504
2504
  ie.prediction,
2505
2505
  ce
2506
2506
  );
2507
- de !== ie.prediction && E(z.id, de);
2507
+ de !== ie.prediction && E(G.id, de);
2508
2508
  }
2509
2509
  }
2510
- n < A ? a(n + 1) : e.play();
2511
- }, L = (z) => {
2512
- a(z + 1);
2510
+ n < z ? a(n + 1) : e.play();
2511
+ }, L = (G) => {
2512
+ a(G + 1);
2513
2513
  }, U = () => {
2514
2514
  var Z, ce;
2515
- if (n === A) return !0;
2516
- const z = e.eventGame.fixtures[n - 1];
2517
- if (!z) return !1;
2515
+ if (n === z) return !0;
2516
+ const G = e.eventGame.fixtures[n - 1];
2517
+ if (!G) return !1;
2518
2518
  const V = (ce = (Z = e.prediction) == null ? void 0 : Z.fixtures) == null ? void 0 : ce.find(
2519
- (ie) => ie.id === z.id
2519
+ (ie) => ie.id === G.id
2520
2520
  );
2521
- return V ? (z.outcomeType === W.NUMBER, V.prediction !== null) : !1;
2521
+ return V ? (G.outcomeType === W.NUMBER, V.prediction !== null) : !1;
2522
2522
  }, _ = () => {
2523
2523
  n > 1 && a(n - 1);
2524
- }, oe = () => /* @__PURE__ */ t(i, { sx: y.questionArea, children: /* @__PURE__ */ s(i, { sx: y.questionContainer, children: [
2525
- /* @__PURE__ */ t(i, { sx: y.questionContentContainer, children: /* @__PURE__ */ s(i, { sx: y.gameStateContainer, children: [
2524
+ }, oe = () => /* @__PURE__ */ t(i, { sx: y.questionArea, children: /* @__PURE__ */ m(i, { sx: y.questionContainer, children: [
2525
+ /* @__PURE__ */ t(i, { sx: y.questionContentContainer, children: /* @__PURE__ */ m(i, { sx: y.gameStateContainer, children: [
2526
2526
  /* @__PURE__ */ t(x, { sx: y.stateTitle, children: c("eventGame.states.pending.title") }),
2527
2527
  /* @__PURE__ */ t(x, { sx: y.stateDescription, children: c("eventGame.states.pending.description") })
2528
2528
  ] }) }),
2529
- /* @__PURE__ */ t(i, { sx: y.footerContainer, children: G(u) })
2530
- ] }) }), me = () => /* @__PURE__ */ t(i, { sx: y.questionArea, children: /* @__PURE__ */ s(i, { sx: y.questionContainer, children: [
2531
- /* @__PURE__ */ t(i, { sx: y.questionContentContainer, children: /* @__PURE__ */ s(i, { sx: y.gameStateContainer, children: [
2532
- /* @__PURE__ */ s(i, { sx: y.liveIndicatorContainer, children: [
2529
+ /* @__PURE__ */ t(i, { sx: y.footerContainer, children: A(u) })
2530
+ ] }) }), me = () => /* @__PURE__ */ t(i, { sx: y.questionArea, children: /* @__PURE__ */ m(i, { sx: y.questionContainer, children: [
2531
+ /* @__PURE__ */ t(i, { sx: y.questionContentContainer, children: /* @__PURE__ */ m(i, { sx: y.gameStateContainer, children: [
2532
+ /* @__PURE__ */ m(i, { sx: y.liveIndicatorContainer, children: [
2533
2533
  /* @__PURE__ */ t(i, { sx: y.liveIndicator }),
2534
2534
  /* @__PURE__ */ t(x, { sx: y.liveText, children: c("eventGame.states.live.indicator") })
2535
2535
  ] }),
2536
2536
  /* @__PURE__ */ t(x, { sx: y.stateDescription, children: c("eventGame.states.live.description") })
2537
2537
  ] }) }),
2538
- /* @__PURE__ */ t(i, { sx: y.footerContainer, children: G(u) })
2539
- ] }) }), ye = () => /* @__PURE__ */ t(i, { sx: y.questionArea, children: /* @__PURE__ */ s(i, { sx: y.questionContainer, children: [
2540
- /* @__PURE__ */ t(i, { sx: y.questionContentContainer, children: /* @__PURE__ */ s(i, { sx: y.gameStateContainer, children: [
2538
+ /* @__PURE__ */ t(i, { sx: y.footerContainer, children: A(u) })
2539
+ ] }) }), ye = () => /* @__PURE__ */ t(i, { sx: y.questionArea, children: /* @__PURE__ */ m(i, { sx: y.questionContainer, children: [
2540
+ /* @__PURE__ */ t(i, { sx: y.questionContentContainer, children: /* @__PURE__ */ m(i, { sx: y.gameStateContainer, children: [
2541
2541
  /* @__PURE__ */ t(i, { sx: y.closedStateHeader, children: /* @__PURE__ */ t(x, { sx: y.stateTitle, children: c("eventGame.states.closed.title") }) }),
2542
2542
  /* @__PURE__ */ t(x, { sx: y.stateDescription, children: c("eventGame.states.closed.description") })
2543
2543
  ] }) }),
2544
- /* @__PURE__ */ t(i, { sx: y.footerContainer, children: G(u) })
2545
- ] }) }), Pe = () => /* @__PURE__ */ s(i, { sx: y.gameStateContainer, children: [
2544
+ /* @__PURE__ */ t(i, { sx: y.footerContainer, children: A(u) })
2545
+ ] }) }), Pe = () => /* @__PURE__ */ m(i, { sx: y.gameStateContainer, children: [
2546
2546
  /* @__PURE__ */ t(x, { sx: y.stateTitle, children: c("eventGame.states.open.title") }),
2547
2547
  /* @__PURE__ */ t(x, { sx: y.stateDescription, children: c("eventGame.states.open.description") })
2548
- ] }), Ie = () => /* @__PURE__ */ s(j, { children: [
2548
+ ] }), Ie = () => /* @__PURE__ */ m(j, { children: [
2549
2549
  e.showCountdown && e.eventGame.status === "OPEN" && /* @__PURE__ */ t(
2550
2550
  rt,
2551
2551
  {
2552
2552
  predictionsCutoffTime: e.eventGame.predictionsCutoff || ""
2553
2553
  }
2554
2554
  ),
2555
- /* @__PURE__ */ t(i, { sx: y.questionArea, children: /* @__PURE__ */ s(i, { sx: y.questionContainer, children: [
2555
+ /* @__PURE__ */ t(i, { sx: y.questionArea, children: /* @__PURE__ */ m(i, { sx: y.questionContainer, children: [
2556
2556
  !S && /* @__PURE__ */ t(i, { sx: y.paginationContainer, children: /* @__PURE__ */ t(
2557
2557
  lt,
2558
2558
  {
2559
2559
  eventGame: e.eventGame,
2560
2560
  currentStep: n,
2561
- totalSteps: A
2561
+ totalSteps: z
2562
2562
  }
2563
2563
  ) }),
2564
- n === A ? /* @__PURE__ */ t(
2564
+ n === z ? /* @__PURE__ */ t(
2565
2565
  $e,
2566
2566
  {
2567
2567
  fixtures: e.eventGame.fixtures,
@@ -2572,15 +2572,15 @@ const bn = (e, n, a) => {
2572
2572
  play: async () => e.play(),
2573
2573
  brandingPrimaryColor: o == null ? void 0 : o.primaryColor
2574
2574
  }
2575
- ) : /* @__PURE__ */ t(i, { sx: y.questionContentContainer, children: Ge() }),
2576
- /* @__PURE__ */ s(
2575
+ ) : /* @__PURE__ */ t(i, { sx: y.questionContentContainer, children: Ae() }),
2576
+ /* @__PURE__ */ m(
2577
2577
  i,
2578
2578
  {
2579
2579
  sx: l ? y.footerContainer : y.footerContainerNoLogo,
2580
2580
  children: [
2581
- m ? /* @__PURE__ */ t(j, {}) : G(u, "row"),
2582
- /* @__PURE__ */ s(i, { sx: y.navigationContainer, children: [
2583
- n > 1 && n < A && /* @__PURE__ */ t(
2581
+ s ? /* @__PURE__ */ t(j, {}) : A(u, "row"),
2582
+ /* @__PURE__ */ m(i, { sx: y.navigationContainer, children: [
2583
+ n > 1 && n < z && /* @__PURE__ */ t(
2584
2584
  Re,
2585
2585
  {
2586
2586
  variant: "outlined",
@@ -2672,13 +2672,13 @@ const bn = (e, n, a) => {
2672
2672
  display: "flex",
2673
2673
  alignItems: "center"
2674
2674
  },
2675
- children: c(n === A ? "eventGame.buttons.play" : "eventGame.buttons.next")
2675
+ children: c(n === z ? "eventGame.buttons.play" : "eventGame.buttons.next")
2676
2676
  }
2677
2677
  )
2678
2678
  }
2679
2679
  )
2680
2680
  ] }),
2681
- m ? G(u) : /* @__PURE__ */ t(j, {})
2681
+ s ? A(u) : /* @__PURE__ */ t(j, {})
2682
2682
  ]
2683
2683
  }
2684
2684
  )
@@ -2694,76 +2694,76 @@ const bn = (e, n, a) => {
2694
2694
  default:
2695
2695
  return Ie();
2696
2696
  }
2697
- }, ze = Ve(() => e.eventGame.fixtures[n - 1], [e.eventGame.fixtures, n]), Ge = () => {
2697
+ }, Ge = Ve(() => e.eventGame.fixtures[n - 1], [e.eventGame.fixtures, n]), Ae = () => {
2698
2698
  var V, Z, ce, ie, de, he, M, X;
2699
- const z = ze;
2699
+ const G = Ge;
2700
2700
  if (S)
2701
2701
  return Pe();
2702
- if (z)
2703
- switch (z.outcomeType) {
2702
+ if (G)
2703
+ switch (G.outcomeType) {
2704
2704
  case W.BOOLEAN:
2705
2705
  const ee = (Z = (V = e.prediction) == null ? void 0 : V.fixtures) == null ? void 0 : Z.find(
2706
- (se) => se.id === z.id
2706
+ (se) => se.id === G.id
2707
2707
  );
2708
2708
  return /* @__PURE__ */ t(
2709
2709
  it,
2710
2710
  {
2711
2711
  prediction: typeof (ee == null ? void 0 : ee.prediction) == "boolean" ? ee.prediction : null,
2712
- onSelectionChange: (se) => E(z.id, se),
2713
- useExtraSmallLayout: m,
2714
- question: z.question,
2715
- fixtureId: z.id
2712
+ onSelectionChange: (se) => E(G.id, se),
2713
+ useExtraSmallLayout: s,
2714
+ question: G.question,
2715
+ fixtureId: G.id
2716
2716
  },
2717
- `${z.outcomeType}-${z.id}`
2717
+ `${G.outcomeType}-${G.id}`
2718
2718
  );
2719
2719
  case W.NUMBER:
2720
2720
  const te = (ie = (ce = e.prediction) == null ? void 0 : ce.fixtures) == null ? void 0 : ie.find(
2721
- (se) => se.id === z.id
2722
- ), q = z.validOutcomes;
2721
+ (se) => se.id === G.id
2722
+ ), O = G.validOutcomes;
2723
2723
  return /* @__PURE__ */ t(
2724
2724
  nt,
2725
2725
  {
2726
2726
  prediction: typeof (te == null ? void 0 : te.prediction) == "number" ? te.prediction : 0,
2727
- onChange: (se) => E(z.id, se),
2728
- useExtraSmallLayout: m,
2729
- question: z.question,
2730
- validOutcomes: q,
2731
- fixtureId: z.id
2727
+ onChange: (se) => E(G.id, se),
2728
+ useExtraSmallLayout: s,
2729
+ question: G.question,
2730
+ validOutcomes: O,
2731
+ fixtureId: G.id
2732
2732
  },
2733
- `${z.outcomeType}-${z.id}`
2733
+ `${G.outcomeType}-${G.id}`
2734
2734
  );
2735
2735
  case W.FREE_INPUT:
2736
2736
  const fe = (he = (de = e.prediction) == null ? void 0 : de.fixtures) == null ? void 0 : he.find(
2737
- (se) => se.id === z.id
2737
+ (se) => se.id === G.id
2738
2738
  );
2739
2739
  return /* @__PURE__ */ t(
2740
2740
  pe,
2741
2741
  {
2742
- question: z.question,
2742
+ question: G.question,
2743
2743
  prediction: typeof (fe == null ? void 0 : fe.prediction) == "string" ? fe.prediction : null,
2744
2744
  validOutcomes: null,
2745
- onTextChange: (se) => E(z.id, se),
2746
- useExtraSmallLayout: m,
2747
- fixtureId: z.id
2745
+ onTextChange: (se) => E(G.id, se),
2746
+ useExtraSmallLayout: s,
2747
+ fixtureId: G.id
2748
2748
  },
2749
- `${z.outcomeType}-${z.id}`
2749
+ `${G.outcomeType}-${G.id}`
2750
2750
  );
2751
2751
  case W.ENUM:
2752
- const Ae = (X = (M = e.prediction) == null ? void 0 : M.fixtures) == null ? void 0 : X.find(
2753
- (se) => se.id === z.id
2752
+ const ze = (X = (M = e.prediction) == null ? void 0 : M.fixtures) == null ? void 0 : X.find(
2753
+ (se) => se.id === G.id
2754
2754
  );
2755
2755
  return /* @__PURE__ */ t(
2756
2756
  pe,
2757
2757
  {
2758
- question: z.question,
2759
- prediction: typeof (Ae == null ? void 0 : Ae.prediction) == "string" ? Ae.prediction : null,
2760
- validOutcomes: z.validOutcomes,
2761
- onTextChange: (se) => E(z.id, se),
2762
- useExtraSmallLayout: m,
2763
- fixtureId: z.id,
2758
+ question: G.question,
2759
+ prediction: typeof (ze == null ? void 0 : ze.prediction) == "string" ? ze.prediction : null,
2760
+ validOutcomes: G.validOutcomes,
2761
+ onTextChange: (se) => E(G.id, se),
2762
+ useExtraSmallLayout: s,
2763
+ fixtureId: G.id,
2764
2764
  optionsLayout: e.optionsLayout
2765
2765
  },
2766
- `${z.id}-${n}`
2766
+ `${G.id}-${n}`
2767
2767
  );
2768
2768
  default:
2769
2769
  return /* @__PURE__ */ t(j, {});
@@ -2780,7 +2780,7 @@ const bn = (e, n, a) => {
2780
2780
  children: be()
2781
2781
  }
2782
2782
  ) });
2783
- }, Wn = (e) => {
2783
+ }, Bn = (e) => {
2784
2784
  var n, a, r;
2785
2785
  return {
2786
2786
  // Main content area
@@ -3034,16 +3034,16 @@ const bn = (e, n, a) => {
3034
3034
  // border: "1px dashed rgba(255,255,255,0.7)",
3035
3035
  }
3036
3036
  };
3037
- }, En = (e, n) => {
3037
+ }, Hn = (e, n) => {
3038
3038
  switch (e) {
3039
3039
  case "success":
3040
- return /* @__PURE__ */ t(zt, {});
3040
+ return /* @__PURE__ */ t(gn, {});
3041
3041
  case "error":
3042
- return /* @__PURE__ */ t(mn, { sx: { color: n } });
3042
+ return /* @__PURE__ */ t(dn, { sx: { color: n } });
3043
3043
  case "info":
3044
- return /* @__PURE__ */ t(sn, {});
3044
+ return /* @__PURE__ */ t(cn, {});
3045
3045
  }
3046
- }, $n = (e) => {
3046
+ }, Wn = (e) => {
3047
3047
  switch (e) {
3048
3048
  case "success":
3049
3049
  return "success";
@@ -3058,13 +3058,13 @@ const bn = (e, n, a) => {
3058
3058
  message: a,
3059
3059
  description: r
3060
3060
  }) => {
3061
- const c = ue(), d = K(), f = O().secondary, o = Y(), l = $n(e);
3061
+ const c = ue(), d = J(), f = q().secondary, o = Y(), l = Wn(e);
3062
3062
  return /* @__PURE__ */ t(
3063
- cn,
3063
+ ln,
3064
3064
  {
3065
3065
  variant: "soft",
3066
3066
  color: l,
3067
- startDecorator: En(
3067
+ startDecorator: Hn(
3068
3068
  e,
3069
3069
  c.colorSchemes.light.palette.danger.plainColor
3070
3070
  ),
@@ -3074,8 +3074,8 @@ const bn = (e, n, a) => {
3074
3074
  fontSize: o ? "0.75em" : "0.875em",
3075
3075
  "--Icon-fontSize": o ? "1em" : "1.25em"
3076
3076
  },
3077
- children: /* @__PURE__ */ s(
3078
- dn,
3077
+ children: /* @__PURE__ */ m(
3078
+ rn,
3079
3079
  {
3080
3080
  sx: {
3081
3081
  fontSize: "1.5em"
@@ -3112,24 +3112,24 @@ const bn = (e, n, a) => {
3112
3112
  )
3113
3113
  }
3114
3114
  );
3115
- }, Ln = (e) => {
3116
- var G, E, A, S, R, L, U;
3115
+ }, En = (e) => {
3116
+ var A, E, z, S, R, L, U;
3117
3117
  const n = ue(), a = Y(), r = Ce(
3118
3118
  {
3119
3119
  images: e.eventGame.images,
3120
3120
  imagePlaceholder: e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : ""
3121
3121
  },
3122
3122
  le.STANDARD
3123
- ), { t: c } = ne(), d = a ? ((E = (G = e.eventGame.branding) == null ? void 0 : G.images) == null ? void 0 : E.mobileLogo) || ((S = (A = e.eventGame.branding) == null ? void 0 : A.images) == null ? void 0 : S.mainLogo) || "" : ((L = (R = e.eventGame.branding) == null ? void 0 : R.images) == null ? void 0 : L.mainLogo) || "", f = ((U = e.eventGame.branding) == null ? void 0 : U.colors) || null, o = e.imagePosition || "left", l = e.eventGame.status === "OPEN", g = (_) => {
3123
+ ), { t: c } = ne(), d = a ? ((E = (A = e.eventGame.branding) == null ? void 0 : A.images) == null ? void 0 : E.mobileLogo) || ((S = (z = e.eventGame.branding) == null ? void 0 : z.images) == null ? void 0 : S.mainLogo) || "" : ((L = (R = e.eventGame.branding) == null ? void 0 : R.images) == null ? void 0 : L.mainLogo) || "", f = ((U = e.eventGame.branding) == null ? void 0 : U.colors) || null, o = e.imagePosition || "left", l = e.eventGame.status === "OPEN", g = (_) => {
3124
3124
  console.log(`Edit prediction for fixture at index: ${_}`);
3125
- }, b = (f == null ? void 0 : f.contentColor) || p().textColor, m = O().secondary, k = O().primary, u = K(), T = ae(), h = `rgba(${N(p().surfaceVariant)}, 0.5)`, P = Ee(
3125
+ }, b = (f == null ? void 0 : f.contentColor) || p().textColor, s = q().secondary, k = q().primary, u = J(), T = ae(), h = `rgba(${N(p().surfaceVariant)}, 0.5)`, P = Ee(
3126
3126
  le.STANDARD
3127
- ), C = "60%", v = (f == null ? void 0 : f.secondaryColor) || p().textSecondary, F = p().secondaryContainer, D = He().size, I = Wn({
3127
+ ), C = "60%", v = (f == null ? void 0 : f.secondaryColor) || p().textSecondary, F = p().secondaryContainer, D = He().size, I = Bn({
3128
3128
  finalImage: r,
3129
3129
  spacingScale: T,
3130
3130
  borderRadius: u,
3131
3131
  fontFamilyPrimary: k,
3132
- fontFamilySecondary: m,
3132
+ fontFamilySecondary: s,
3133
3133
  textColor: b,
3134
3134
  surfaceVariant: h,
3135
3135
  brandingColors: f,
@@ -3167,7 +3167,7 @@ const bn = (e, n, a) => {
3167
3167
  lineHeight: "22px",
3168
3168
  letterSpacing: "0.46px",
3169
3169
  textTransform: "uppercase"
3170
- }, y = () => /* @__PURE__ */ s(j, { children: [
3170
+ }, y = () => /* @__PURE__ */ m(j, { children: [
3171
3171
  e.isUnauthorized ? /* @__PURE__ */ t(j, { children: /* @__PURE__ */ t(
3172
3172
  dt,
3173
3173
  {
@@ -3189,7 +3189,7 @@ const bn = (e, n, a) => {
3189
3189
  }
3190
3190
  ) : null }) }) }) }),
3191
3191
  e.chanceGameContent && /* @__PURE__ */ t(i, { sx: { p: T.md }, children: e.chanceGameContent }),
3192
- (d || e.additionalCTA) && /* @__PURE__ */ s(
3192
+ (d || e.additionalCTA) && /* @__PURE__ */ m(
3193
3193
  i,
3194
3194
  {
3195
3195
  sx: {
@@ -3229,7 +3229,7 @@ const bn = (e, n, a) => {
3229
3229
  children: y()
3230
3230
  }
3231
3231
  ) });
3232
- }, Un = (e) => ({
3232
+ }, $n = (e) => ({
3233
3233
  // Question area content wrapper
3234
3234
  questionAreaContent: {
3235
3235
  p: e.spacingScale.lg,
@@ -3270,15 +3270,15 @@ const bn = (e, n, a) => {
3270
3270
  alertMessageWrapper: {
3271
3271
  p: e.spacingScale.lg
3272
3272
  }
3273
- }), Vn = (e) => {
3274
- var y, G, E, A, S, R, L, U, _, oe, me;
3273
+ }), Ln = (e) => {
3274
+ var y, A, E, z, S, R, L, U, _, oe, me;
3275
3275
  const { t: n } = ne(), a = Y(), r = kt(), c = ue(), d = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : a ? Me : Be, f = Ce(
3276
3276
  {
3277
3277
  images: e.eventGame.images,
3278
3278
  imagePlaceholder: d
3279
3279
  },
3280
3280
  le.SPLIT
3281
- ), o = a ? ((G = (y = e.eventGame.branding) == null ? void 0 : y.images) == null ? void 0 : G.mobileLogo) || ((A = (E = e.eventGame.branding) == null ? void 0 : E.images) == null ? void 0 : A.mainLogo) || "" : ((R = (S = e.eventGame.branding) == null ? void 0 : S.images) == null ? void 0 : R.mainLogo) || "", l = ((L = e.eventGame.branding) == null ? void 0 : L.colors) || null, g = (l == null ? void 0 : l.secondaryColor) || p().textSecondary, b = p().secondaryContainer, m = O().primary, k = (l == null ? void 0 : l.backgroundColor) || p().surfaceVariant, u = (l == null ? void 0 : l.contentColor) || p().textColor, T = K(), h = ae(), P = He().size, C = e.eventGame.status === "OPEN" && e.prediction && e.onPredictionUpdate, v = (ye) => {
3281
+ ), o = a ? ((A = (y = e.eventGame.branding) == null ? void 0 : y.images) == null ? void 0 : A.mobileLogo) || ((z = (E = e.eventGame.branding) == null ? void 0 : E.images) == null ? void 0 : z.mainLogo) || "" : ((R = (S = e.eventGame.branding) == null ? void 0 : S.images) == null ? void 0 : R.mainLogo) || "", l = ((L = e.eventGame.branding) == null ? void 0 : L.colors) || null, g = (l == null ? void 0 : l.secondaryColor) || p().textSecondary, b = p().secondaryContainer, s = q().primary, k = (l == null ? void 0 : l.backgroundColor) || p().surfaceVariant, u = (l == null ? void 0 : l.contentColor) || p().textColor, T = J(), h = ae(), P = He().size, C = e.eventGame.status === "OPEN" && e.prediction && e.onPredictionUpdate, v = (ye) => {
3282
3282
  console.log(`Edit prediction for fixture at index: ${ye}`);
3283
3283
  }, F = r ? null : /* @__PURE__ */ t(
3284
3284
  xe,
@@ -3289,7 +3289,7 @@ const bn = (e, n, a) => {
3289
3289
  primaryUrl: (_ = (U = e.eventGame.branding) == null ? void 0 : U.urls) == null ? void 0 : _.primaryUrl,
3290
3290
  secondaryUrl: (me = (oe = e.eventGame.branding) == null ? void 0 : oe.urls) == null ? void 0 : me.secondaryUrl
3291
3291
  }
3292
- ), D = Un({
3292
+ ), D = $n({
3293
3293
  spacingScale: h,
3294
3294
  borderRadius: T,
3295
3295
  bgcolor: N(k || ""),
@@ -3318,7 +3318,7 @@ const bn = (e, n, a) => {
3318
3318
  gap: "8px"
3319
3319
  }, w = {
3320
3320
  color: g,
3321
- fontFamily: m,
3321
+ fontFamily: s,
3322
3322
  fontStyle: "normal",
3323
3323
  fontWeight: 500,
3324
3324
  lineHeight: "22px",
@@ -3327,7 +3327,7 @@ const bn = (e, n, a) => {
3327
3327
  }, H = () => {
3328
3328
  var ye, Pe, Ie, be;
3329
3329
  return /* @__PURE__ */ t(
3330
- jt,
3330
+ Vt,
3331
3331
  {
3332
3332
  entity: { ...e.eventGame, labels: null },
3333
3333
  headline: n("eventGame.headline"),
@@ -3343,7 +3343,7 @@ const bn = (e, n, a) => {
3343
3343
  title: n("common.authentication.accessRequired"),
3344
3344
  message: n("common.authentication.invalidOrMissingAuth")
3345
3345
  }
3346
- ) }) }) : /* @__PURE__ */ s(i, { sx: D.questionAreaContent, children: [
3346
+ ) }) }) : /* @__PURE__ */ m(i, { sx: D.questionAreaContent, children: [
3347
3347
  /* @__PURE__ */ t(
3348
3348
  i,
3349
3349
  {
@@ -3410,7 +3410,7 @@ const bn = (e, n, a) => {
3410
3410
  );
3411
3411
  };
3412
3412
  return /* @__PURE__ */ t(ve, { brandingBorderColor: (l == null ? void 0 : l.borderColor) || null, children: H() });
3413
- }, jn = (e) => {
3413
+ }, Un = (e) => {
3414
3414
  var n, a, r, c, d;
3415
3415
  return {
3416
3416
  // Main container with background overlay
@@ -4107,7 +4107,7 @@ const bn = (e, n, a) => {
4107
4107
  zIndex: 1
4108
4108
  }
4109
4109
  };
4110
- }, Nn = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_929_1048'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_929_1048)'%3e%3cpath%20d='M12%2020.6254L5.20005%2016.9254V11.1254L1.36255%209.01289L12%203.21289L22.65%209.01464V16.7504H20.775V10.0504L18.8%2011.1254V16.9254L12%2020.6254ZM12%2012.6754L18.75%209.01289L12%205.36289L5.26255%209.01289L12%2012.6754ZM12%2018.4879L16.925%2015.8296V12.1129L12%2014.8254L7.07505%2012.1129V15.8296L12%2018.4879Z'%20fill='%23212121'/%3e%3c/g%3e%3c/svg%3e", On = "data:image/svg+xml,%3csvg%20width='25'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_929_504'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='25'%20height='24'%3e%3crect%20x='0.5'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_929_504)'%3e%3cpath%20d='M9.6875%206H11.5625V4.125H9.6875V6ZM13.4375%206V4.125H15.3125V6H13.4375ZM9.6875%2013.5V11.625H11.5625V13.5H9.6875ZM17.1875%209.75V7.875H19.0625V9.75H17.1875ZM17.1875%2013.5V11.625H19.0625V13.5H17.1875ZM13.4375%2013.5V11.625H15.3125V13.5H13.4375ZM17.1875%206V4.125H19.0625V6H17.1875ZM11.5625%207.875V6H13.4375V7.875H11.5625ZM5.9375%2019.825V4.125H7.8125V6H9.6875V7.875H7.8125V9.75H9.6875V11.625H7.8125V19.825H5.9375ZM15.3125%2011.625V9.75H17.1875V11.625H15.3125ZM11.5625%2011.625V9.75H13.4375V11.625H11.5625ZM9.6875%209.75V7.875H11.5625V9.75H9.6875ZM13.4375%209.75V7.875H15.3125V9.75H13.4375ZM15.3125%207.875V6H17.1875V7.875H15.3125Z'%20fill='%23212121'/%3e%3c/g%3e%3c/svg%3e", st = ({
4110
+ }, Vn = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_929_1048'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_929_1048)'%3e%3cpath%20d='M12%2020.6254L5.20005%2016.9254V11.1254L1.36255%209.01289L12%203.21289L22.65%209.01464V16.7504H20.775V10.0504L18.8%2011.1254V16.9254L12%2020.6254ZM12%2012.6754L18.75%209.01289L12%205.36289L5.26255%209.01289L12%2012.6754ZM12%2018.4879L16.925%2015.8296V12.1129L12%2014.8254L7.07505%2012.1129V15.8296L12%2018.4879Z'%20fill='%23212121'/%3e%3c/g%3e%3c/svg%3e", jn = "data:image/svg+xml,%3csvg%20width='25'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cmask%20id='mask0_929_504'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='25'%20height='24'%3e%3crect%20x='0.5'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_929_504)'%3e%3cpath%20d='M9.6875%206H11.5625V4.125H9.6875V6ZM13.4375%206V4.125H15.3125V6H13.4375ZM9.6875%2013.5V11.625H11.5625V13.5H9.6875ZM17.1875%209.75V7.875H19.0625V9.75H17.1875ZM17.1875%2013.5V11.625H19.0625V13.5H17.1875ZM13.4375%2013.5V11.625H15.3125V13.5H13.4375ZM17.1875%206V4.125H19.0625V6H17.1875ZM11.5625%207.875V6H13.4375V7.875H11.5625ZM5.9375%2019.825V4.125H7.8125V6H9.6875V7.875H7.8125V9.75H9.6875V11.625H7.8125V19.825H5.9375ZM15.3125%2011.625V9.75H17.1875V11.625H15.3125ZM11.5625%2011.625V9.75H13.4375V11.625H11.5625ZM9.6875%209.75V7.875H11.5625V9.75H9.6875ZM13.4375%209.75V7.875H15.3125V9.75H13.4375ZM15.3125%207.875V6H17.1875V7.875H15.3125Z'%20fill='%23212121'/%3e%3c/g%3e%3c/svg%3e", st = ({
4111
4111
  prediction: e,
4112
4112
  game: n,
4113
4113
  resultsTabPanelSxProps: a,
@@ -4115,10 +4115,10 @@ const bn = (e, n, a) => {
4115
4115
  children: c,
4116
4116
  brandingColors: d
4117
4117
  }) => {
4118
- const [f, o] = Je.useState(0), l = ue(), { t: g } = ne(), b = Y(), m = Se(), k = K().md, u = r ? l.colorSchemes.dark.textPrimary : p().textPrimary, T = r ? l.colorSchemes.dark.textSecondary : p().textSecondary, h = O().primary, P = O().secondary, C = r ? l.colorSchemes.dark.secondaryContainer : p().secondaryContainer, v = d != null && d.backgroundColor || r ? l.colorSchemes.dark.surfaceVariant : p().surfaceVariant, F = ae(), D = r ? l.colorSchemes.dark.palette.success.plainColor : p().palette.success.plainColor, I = r ? l.colorSchemes.dark.palette.danger.plainColor : p().palette.danger.plainColor, $ = r ? l.colorSchemes.dark.outlineEnabledBorder : p().outlineEnabledBorder, w = r ? l.colorSchemes.dark.palette.neutral.softBg : p().palette.neutral.softBg;
4118
+ const [f, o] = Je.useState(0), l = ue(), { t: g } = ne(), b = Y(), s = Se(), k = J().md, u = r ? l.colorSchemes.dark.textPrimary : p().textPrimary, T = r ? l.colorSchemes.dark.textSecondary : p().textSecondary, h = q().primary, P = q().secondary, C = r ? l.colorSchemes.dark.secondaryContainer : p().secondaryContainer, v = d != null && d.backgroundColor || r ? l.colorSchemes.dark.surfaceVariant : p().surfaceVariant, F = ae(), D = r ? l.colorSchemes.dark.palette.success.plainColor : p().palette.success.plainColor, I = r ? l.colorSchemes.dark.palette.danger.plainColor : p().palette.danger.plainColor, $ = r ? l.colorSchemes.dark.outlineEnabledBorder : p().outlineEnabledBorder, w = r ? l.colorSchemes.dark.palette.neutral.softBg : p().palette.neutral.softBg;
4119
4119
  let H = r ? l.colorSchemes.dark.textPrimary : p().textPrimary;
4120
4120
  d != null && d.primaryColor && (H = d.primaryColor);
4121
- const y = (A, S) => {
4121
+ const y = (z, S) => {
4122
4122
  const R = {
4123
4123
  display: "flex",
4124
4124
  alignItems: "center",
@@ -4136,8 +4136,8 @@ const bn = (e, n, a) => {
4136
4136
  fontSize: "0.875em",
4137
4137
  color: u
4138
4138
  };
4139
- return S === W.BOOLEAN ? /* @__PURE__ */ t(i, { sx: R, children: /* @__PURE__ */ t(x, { sx: L, children: g(A === !0 ? "eventGame.fixtures.yes" : "eventGame.fixtures.no") }) }) : S === W.NUMBER ? /* @__PURE__ */ t(i, { sx: R, children: /* @__PURE__ */ t(x, { sx: L, children: A }) }) : S === W.ENUM || S === W.FREE_INPUT ? /* @__PURE__ */ t(i, { sx: R, children: /* @__PURE__ */ t(x, { sx: L, children: A }) }) : null;
4140
- }, G = (A, S) => {
4139
+ return S === W.BOOLEAN ? /* @__PURE__ */ t(i, { sx: R, children: /* @__PURE__ */ t(x, { sx: L, children: g(z === !0 ? "eventGame.fixtures.yes" : "eventGame.fixtures.no") }) }) : S === W.NUMBER ? /* @__PURE__ */ t(i, { sx: R, children: /* @__PURE__ */ t(x, { sx: L, children: z }) }) : S === W.ENUM || S === W.FREE_INPUT ? /* @__PURE__ */ t(i, { sx: R, children: /* @__PURE__ */ t(x, { sx: L, children: z }) }) : null;
4140
+ }, A = (z, S) => {
4141
4141
  const R = {
4142
4142
  display: "flex",
4143
4143
  alignItems: "center",
@@ -4152,14 +4152,14 @@ const bn = (e, n, a) => {
4152
4152
  }, L = {
4153
4153
  fontFamily: h,
4154
4154
  fontWeight: 500,
4155
- fontSize: m ? "0.75em" : "0.875em",
4155
+ fontSize: s ? "0.75em" : "0.875em",
4156
4156
  color: u
4157
4157
  };
4158
- return S === W.BOOLEAN ? /* @__PURE__ */ t(i, { sx: R, children: /* @__PURE__ */ t(x, { sx: L, children: g(A === !0 ? "eventGame.fixtures.yes" : "eventGame.fixtures.no") }) }) : S === W.NUMBER ? /* @__PURE__ */ t(i, { sx: R, children: /* @__PURE__ */ t(x, { sx: L, children: A }) }) : S === W.ENUM || S === W.FREE_INPUT ? /* @__PURE__ */ t(i, { sx: R, children: /* @__PURE__ */ t(x, { sx: L, children: A }) }) : null;
4159
- }, E = (A) => {
4158
+ return S === W.BOOLEAN ? /* @__PURE__ */ t(i, { sx: R, children: /* @__PURE__ */ t(x, { sx: L, children: g(z === !0 ? "eventGame.fixtures.yes" : "eventGame.fixtures.no") }) }) : S === W.NUMBER ? /* @__PURE__ */ t(i, { sx: R, children: /* @__PURE__ */ t(x, { sx: L, children: z }) }) : S === W.ENUM || S === W.FREE_INPUT ? /* @__PURE__ */ t(i, { sx: R, children: /* @__PURE__ */ t(x, { sx: L, children: z }) }) : null;
4159
+ }, E = (z) => {
4160
4160
  var U;
4161
- const S = n.fixtures.find((_) => _.id === A), R = (U = e == null ? void 0 : e.fixtures) == null ? void 0 : U.find(
4162
- (_) => _.id === A
4161
+ const S = n.fixtures.find((_) => _.id === z), R = (U = e == null ? void 0 : e.fixtures) == null ? void 0 : U.find(
4162
+ (_) => _.id === z
4163
4163
  );
4164
4164
  if (!S || !R) return null;
4165
4165
  const L = R.correct === !0;
@@ -4194,7 +4194,7 @@ const bn = (e, n, a) => {
4194
4194
  zIndex: 1
4195
4195
  }
4196
4196
  },
4197
- children: /* @__PURE__ */ s(
4197
+ children: /* @__PURE__ */ m(
4198
4198
  i,
4199
4199
  {
4200
4200
  sx: {
@@ -4205,7 +4205,7 @@ const bn = (e, n, a) => {
4205
4205
  alignSelf: "stretch"
4206
4206
  },
4207
4207
  children: [
4208
- /* @__PURE__ */ s(
4208
+ /* @__PURE__ */ m(
4209
4209
  i,
4210
4210
  {
4211
4211
  sx: {
@@ -4231,7 +4231,7 @@ const bn = (e, n, a) => {
4231
4231
  children: S.question
4232
4232
  }
4233
4233
  ),
4234
- !m && R.points !== void 0 && R.points !== null && /* @__PURE__ */ t(
4234
+ !s && R.points !== void 0 && R.points !== null && /* @__PURE__ */ t(
4235
4235
  i,
4236
4236
  {
4237
4237
  sx: {
@@ -4242,7 +4242,7 @@ const bn = (e, n, a) => {
4242
4242
  borderRadius: k,
4243
4243
  backgroundColor: w
4244
4244
  },
4245
- children: /* @__PURE__ */ s(
4245
+ children: /* @__PURE__ */ m(
4246
4246
  x,
4247
4247
  {
4248
4248
  sx: {
@@ -4263,7 +4263,7 @@ const bn = (e, n, a) => {
4263
4263
  ]
4264
4264
  }
4265
4265
  ),
4266
- /* @__PURE__ */ s(
4266
+ /* @__PURE__ */ m(
4267
4267
  i,
4268
4268
  {
4269
4269
  sx: {
@@ -4273,7 +4273,7 @@ const bn = (e, n, a) => {
4273
4273
  gap: F.xs
4274
4274
  },
4275
4275
  children: [
4276
- /* @__PURE__ */ s(
4276
+ /* @__PURE__ */ m(
4277
4277
  i,
4278
4278
  {
4279
4279
  sx: {
@@ -4304,7 +4304,7 @@ const bn = (e, n, a) => {
4304
4304
  ]
4305
4305
  }
4306
4306
  ),
4307
- !L && S.outcome !== null && S.outcome !== void 0 && /* @__PURE__ */ s(
4307
+ !L && S.outcome !== null && S.outcome !== void 0 && /* @__PURE__ */ m(
4308
4308
  i,
4309
4309
  {
4310
4310
  sx: {
@@ -4328,7 +4328,7 @@ const bn = (e, n, a) => {
4328
4328
  children: g("eventGame.correctPrediction")
4329
4329
  }
4330
4330
  ),
4331
- G(
4331
+ A(
4332
4332
  S.outcome,
4333
4333
  S.outcomeType
4334
4334
  )
@@ -4338,7 +4338,7 @@ const bn = (e, n, a) => {
4338
4338
  ]
4339
4339
  }
4340
4340
  ),
4341
- m && R.points !== void 0 && R.points !== null && R.points > 0 && /* @__PURE__ */ s(j, { children: [
4341
+ s && R.points !== void 0 && R.points !== null && R.points > 0 && /* @__PURE__ */ m(j, { children: [
4342
4342
  /* @__PURE__ */ t(
4343
4343
  i,
4344
4344
  {
@@ -4358,7 +4358,7 @@ const bn = (e, n, a) => {
4358
4358
  alignItems: "center",
4359
4359
  alignSelf: "stretch"
4360
4360
  },
4361
- children: /* @__PURE__ */ s(
4361
+ children: /* @__PURE__ */ m(
4362
4362
  x,
4363
4363
  {
4364
4364
  sx: {
@@ -4382,17 +4382,17 @@ const bn = (e, n, a) => {
4382
4382
  ] })
4383
4383
  ]
4384
4384
  },
4385
- `single-prediction-${A}`
4385
+ `single-prediction-${z}`
4386
4386
  )
4387
4387
  },
4388
- `user-prediction-${A}`
4388
+ `user-prediction-${z}`
4389
4389
  );
4390
4390
  };
4391
- return /* @__PURE__ */ t(i, { sx: { width: "100%" }, children: /* @__PURE__ */ s(
4392
- fn,
4391
+ return /* @__PURE__ */ t(i, { sx: { width: "100%" }, children: /* @__PURE__ */ m(
4392
+ un,
4393
4393
  {
4394
4394
  value: f,
4395
- onChange: (A, S) => o(S),
4395
+ onChange: (z, S) => o(S),
4396
4396
  sx: {
4397
4397
  borderRadius: k,
4398
4398
  width: "100%",
@@ -4400,8 +4400,8 @@ const bn = (e, n, a) => {
4400
4400
  backgroundColor: "transparent"
4401
4401
  },
4402
4402
  children: [
4403
- /* @__PURE__ */ s(
4404
- xn,
4403
+ /* @__PURE__ */ m(
4404
+ fn,
4405
4405
  {
4406
4406
  sx: {
4407
4407
  fontSize: b ? "0.75em" : "1em",
@@ -4409,7 +4409,7 @@ const bn = (e, n, a) => {
4409
4409
  },
4410
4410
  children: [
4411
4411
  /* @__PURE__ */ t(
4412
- St,
4412
+ Ct,
4413
4413
  {
4414
4414
  sx: {
4415
4415
  display: "flex",
@@ -4424,7 +4424,7 @@ const bn = (e, n, a) => {
4424
4424
  bgcolor: r ? "#FAFAFA14" : "#2121210A"
4425
4425
  // Highlight selected tab
4426
4426
  },
4427
- [`&.${Ct.selected}`]: {
4427
+ [`&.${vt.selected}`]: {
4428
4428
  bgcolor: r ? "#FAFAFA14" : "#2121210A",
4429
4429
  // Highlight selected tab
4430
4430
  borderBottom: "3px solid " + H,
@@ -4433,7 +4433,7 @@ const bn = (e, n, a) => {
4433
4433
  }
4434
4434
  },
4435
4435
  disableIndicator: !0,
4436
- children: /* @__PURE__ */ s(
4436
+ children: /* @__PURE__ */ m(
4437
4437
  i,
4438
4438
  {
4439
4439
  sx: {
@@ -4450,7 +4450,7 @@ const bn = (e, n, a) => {
4450
4450
  /* @__PURE__ */ t(
4451
4451
  "img",
4452
4452
  {
4453
- src: On,
4453
+ src: jn,
4454
4454
  alt: "results-icon",
4455
4455
  style: {
4456
4456
  display: "flex",
@@ -4484,7 +4484,7 @@ const bn = (e, n, a) => {
4484
4484
  }
4485
4485
  ),
4486
4486
  /* @__PURE__ */ t(
4487
- St,
4487
+ Ct,
4488
4488
  {
4489
4489
  sx: {
4490
4490
  display: "flex",
@@ -4499,7 +4499,7 @@ const bn = (e, n, a) => {
4499
4499
  bgcolor: r ? "#FAFAFA14" : "#2121210A"
4500
4500
  // Highlight selected tab
4501
4501
  },
4502
- [`&.${Ct.selected}`]: {
4502
+ [`&.${vt.selected}`]: {
4503
4503
  bgcolor: r ? "#FAFAFA14" : "#2121210A",
4504
4504
  // Highlight selected tab
4505
4505
  borderBottom: "3px solid " + H,
@@ -4508,7 +4508,7 @@ const bn = (e, n, a) => {
4508
4508
  }
4509
4509
  },
4510
4510
  disableIndicator: !0,
4511
- children: /* @__PURE__ */ s(
4511
+ children: /* @__PURE__ */ m(
4512
4512
  i,
4513
4513
  {
4514
4514
  sx: {
@@ -4525,7 +4525,7 @@ const bn = (e, n, a) => {
4525
4525
  /* @__PURE__ */ t(
4526
4526
  "img",
4527
4527
  {
4528
- src: Nn,
4528
+ src: Vn,
4529
4529
  alt: "predictions-icon",
4530
4530
  style: {
4531
4531
  display: "flex",
@@ -4562,24 +4562,24 @@ const bn = (e, n, a) => {
4562
4562
  }
4563
4563
  ),
4564
4564
  /* @__PURE__ */ t(
4565
- vt,
4565
+ Pt,
4566
4566
  {
4567
4567
  value: 0,
4568
4568
  sx: {
4569
4569
  ...a,
4570
- fontSize: m ? "0.625em" : b ? "0.75em" : "1em"
4570
+ fontSize: s ? "0.625em" : b ? "0.75em" : "1em"
4571
4571
  },
4572
4572
  children: c
4573
4573
  }
4574
4574
  ),
4575
4575
  /* @__PURE__ */ t(
4576
- vt,
4576
+ Pt,
4577
4577
  {
4578
4578
  value: 1,
4579
4579
  sx: {
4580
4580
  overflowY: "auto",
4581
4581
  maxHeight: b ? "auto" : "450px",
4582
- fontSize: m ? "0.75em" : "1em"
4582
+ fontSize: s ? "0.75em" : "1em"
4583
4583
  },
4584
4584
  children: /* @__PURE__ */ t(
4585
4585
  i,
@@ -4592,7 +4592,7 @@ const bn = (e, n, a) => {
4592
4592
  gap: "16px",
4593
4593
  alignSelf: "stretch"
4594
4594
  },
4595
- children: e != null && e.fixtures && e.fixtures.length > 0 ? n.fixtures.map((A) => E(A.id)) : (
4595
+ children: e != null && e.fixtures && e.fixtures.length > 0 ? n.fixtures.map((z) => E(z.id)) : (
4596
4596
  // Empty state when user has no predictions
4597
4597
  /* @__PURE__ */ t(
4598
4598
  i,
@@ -4608,7 +4608,7 @@ const bn = (e, n, a) => {
4608
4608
  textAlign: "center",
4609
4609
  py: F.xl
4610
4610
  },
4611
- children: /* @__PURE__ */ s(
4611
+ children: /* @__PURE__ */ m(
4612
4612
  i,
4613
4613
  {
4614
4614
  sx: {
@@ -4664,7 +4664,7 @@ const bn = (e, n, a) => {
4664
4664
  isSplitVariant: r,
4665
4665
  loading: c = !1
4666
4666
  }) => {
4667
- const { t: d } = ne(), f = ue(), o = p(), l = o.palette.primary.plainColor, g = o.textColor, b = O().primary, m = O().secondary, k = K(), u = ae(), T = Se(), h = o.surfaceVariant, P = f.colorSchemes.light.palette.primary.onPrimary, C = o.outlineEnabledBorder, v = {
4667
+ const { t: d } = ne(), f = ue(), o = p(), l = o.palette.primary.plainColor, g = o.textColor, b = q().primary, s = q().secondary, k = J(), u = ae(), T = Se(), h = o.surfaceVariant, P = f.colorSchemes.light.palette.primary.onPrimary, C = o.outlineEnabledBorder, v = {
4668
4668
  leaderboardContainer: {
4669
4669
  display: "flex",
4670
4670
  flexDirection: "column",
@@ -4787,7 +4787,7 @@ const bn = (e, n, a) => {
4787
4787
  color: P
4788
4788
  },
4789
4789
  noLeaderboardText: {
4790
- fontFamily: m,
4790
+ fontFamily: s,
4791
4791
  fontSize: "1.25em",
4792
4792
  color: g,
4793
4793
  textAlign: "center",
@@ -4799,9 +4799,9 @@ const bn = (e, n, a) => {
4799
4799
  if (e.length === 0)
4800
4800
  return /* @__PURE__ */ t(x, { level: "body-lg", sx: v.noLeaderboardText, children: d("eventGame.leaderboard.noLeaderboardAvailable") });
4801
4801
  const F = n == null ? void 0 : n.position, D = F && e.some((I) => I.position === F);
4802
- return /* @__PURE__ */ s(i, { sx: v.leaderboardContainer, children: [
4802
+ return /* @__PURE__ */ m(i, { sx: v.leaderboardContainer, children: [
4803
4803
  a && /* @__PURE__ */ t(x, { level: "h4", sx: v.leaderboardTitle, children: d("eventGame.leaderboard.title") }),
4804
- /* @__PURE__ */ t(wt, { sx: v.tableContainer, children: /* @__PURE__ */ s(
4804
+ /* @__PURE__ */ t(wt, { sx: v.tableContainer, children: /* @__PURE__ */ m(
4805
4805
  Rt,
4806
4806
  {
4807
4807
  variant: "outlined",
@@ -4810,45 +4810,45 @@ const bn = (e, n, a) => {
4810
4810
  size: "sm",
4811
4811
  sx: v.table,
4812
4812
  children: [
4813
- /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ s("tr", { children: [
4813
+ /* @__PURE__ */ t("thead", { children: /* @__PURE__ */ m("tr", { children: [
4814
4814
  /* @__PURE__ */ t("th", { style: v.headerCellPosition, children: T || r ? "" : d("eventGame.leaderboard.position") }),
4815
4815
  /* @__PURE__ */ t("th", { style: v.headerCellName, children: d("eventGame.leaderboard.name") }),
4816
4816
  /* @__PURE__ */ t("th", { style: v.headerCellPoints, children: T || r ? "🎯" : d("eventGame.leaderboard.points") })
4817
4817
  ] }) }),
4818
- /* @__PURE__ */ s("tbody", { children: [
4819
- n && !D && /* @__PURE__ */ s("tr", { style: v.userRow, children: [
4820
- /* @__PURE__ */ t("td", { style: v.tableCellPosition, children: /* @__PURE__ */ s(x, { sx: v.positionText, children: [
4818
+ /* @__PURE__ */ m("tbody", { children: [
4819
+ n && !D && /* @__PURE__ */ m("tr", { style: v.userRow, children: [
4820
+ /* @__PURE__ */ t("td", { style: v.tableCellPosition, children: /* @__PURE__ */ m(x, { sx: v.positionText, children: [
4821
4821
  "#",
4822
4822
  n.position
4823
4823
  ] }) }),
4824
- /* @__PURE__ */ t("td", { style: v.tableCellName, children: /* @__PURE__ */ s(i, { sx: v.nameCell, children: [
4825
- /* @__PURE__ */ t(Pt, { sx: v.leaderboardAvatar, children: /* @__PURE__ */ t(bt, { sx: v.avatarIcon }) }),
4824
+ /* @__PURE__ */ t("td", { style: v.tableCellName, children: /* @__PURE__ */ m(i, { sx: v.nameCell, children: [
4825
+ /* @__PURE__ */ t(ht, { sx: v.leaderboardAvatar, children: /* @__PURE__ */ t(St, { sx: v.avatarIcon }) }),
4826
4826
  /* @__PURE__ */ t(x, { sx: v.nameText, children: d("eventGame.leaderboard.you") })
4827
4827
  ] }) }),
4828
4828
  /* @__PURE__ */ t("td", { style: v.tableCellPoints, children: /* @__PURE__ */ t(x, { sx: v.pointsText, children: n.totalPoints }) })
4829
4829
  ] }),
4830
4830
  e.map((I) => {
4831
- var w, H, y, G;
4831
+ var w, H, y, A;
4832
4832
  const $ = F === I.position;
4833
- return /* @__PURE__ */ s(
4833
+ return /* @__PURE__ */ m(
4834
4834
  "tr",
4835
4835
  {
4836
4836
  style: $ ? v.userRow : void 0,
4837
4837
  children: [
4838
- /* @__PURE__ */ t("td", { style: v.tableCellPosition, children: /* @__PURE__ */ s(x, { sx: v.positionText, children: [
4838
+ /* @__PURE__ */ t("td", { style: v.tableCellPosition, children: /* @__PURE__ */ m(x, { sx: v.positionText, children: [
4839
4839
  "#",
4840
4840
  I.position
4841
4841
  ] }) }),
4842
- /* @__PURE__ */ t("td", { style: v.tableCellName, children: /* @__PURE__ */ s(i, { sx: v.nameCell, children: [
4842
+ /* @__PURE__ */ t("td", { style: v.tableCellName, children: /* @__PURE__ */ m(i, { sx: v.nameCell, children: [
4843
4843
  /* @__PURE__ */ t(
4844
- Pt,
4844
+ ht,
4845
4845
  {
4846
4846
  src: ((w = I.profileModel) == null ? void 0 : w.avatar) || void 0,
4847
4847
  sx: v.leaderboardAvatar,
4848
- children: (H = I.profileModel) != null && H.avatar ? /* @__PURE__ */ t(j, {}) : /* @__PURE__ */ t(bt, { sx: v.avatarIcon })
4848
+ children: (H = I.profileModel) != null && H.avatar ? /* @__PURE__ */ t(j, {}) : /* @__PURE__ */ t(St, { sx: v.avatarIcon })
4849
4849
  }
4850
4850
  ),
4851
- /* @__PURE__ */ t(x, { sx: v.nameText, children: $ ? d("eventGame.leaderboard.you") : ((y = I.profileModel) == null ? void 0 : y.nickname) || ((G = I.profileModel) == null ? void 0 : G.name) })
4851
+ /* @__PURE__ */ t(x, { sx: v.nameText, children: $ ? d("eventGame.leaderboard.you") : ((y = I.profileModel) == null ? void 0 : y.nickname) || ((A = I.profileModel) == null ? void 0 : A.name) })
4852
4852
  ] }) }),
4853
4853
  /* @__PURE__ */ t("td", { style: v.tableCellPoints, children: /* @__PURE__ */ t(x, { sx: v.pointsText, children: I.totalPoints }) })
4854
4854
  ]
@@ -4898,7 +4898,7 @@ const bn = (e, n, a) => {
4898
4898
  }
4899
4899
  };
4900
4900
  };
4901
- return /* @__PURE__ */ s(
4901
+ return /* @__PURE__ */ m(
4902
4902
  i,
4903
4903
  {
4904
4904
  sx: {
@@ -4917,7 +4917,7 @@ const bn = (e, n, a) => {
4917
4917
  onClick: r,
4918
4918
  disabled: !n,
4919
4919
  sx: o(),
4920
- children: /* @__PURE__ */ t(on, { size: 20 })
4920
+ children: /* @__PURE__ */ t(an, { size: 20 })
4921
4921
  }
4922
4922
  ),
4923
4923
  /* @__PURE__ */ t(
@@ -4929,18 +4929,18 @@ const bn = (e, n, a) => {
4929
4929
  onClick: a,
4930
4930
  disabled: !e,
4931
4931
  sx: o(),
4932
- children: /* @__PURE__ */ t(ln, { size: 20 })
4932
+ children: /* @__PURE__ */ t(on, { size: 20 })
4933
4933
  }
4934
4934
  )
4935
4935
  ]
4936
4936
  }
4937
4937
  );
4938
4938
  }, ut = (e, n) => {
4939
- const [a, r] = J(
4939
+ const [a, r] = Q(
4940
4940
  null
4941
- ), [c, d] = J(!1), [f, o] = J(!1), [l, g] = J(
4941
+ ), [c, d] = Q(!1), [f, o] = Q(!1), [l, g] = Q(
4942
4942
  null
4943
- ), [b, m] = J([]), [k, u] = J(null), [T, h] = J(!1), P = async (F = null, D) => {
4943
+ ), [b, s] = Q([]), [k, u] = Q(null), [T, h] = Q(!1), P = async (F = null, D) => {
4944
4944
  try {
4945
4945
  h(!0);
4946
4946
  const I = {
@@ -4969,16 +4969,16 @@ const bn = (e, n, a) => {
4969
4969
  ...b,
4970
4970
  l
4971
4971
  ];
4972
- m(F), g(k.nextPageStartsAfter), P(k.nextPageStartsAfter, F);
4972
+ s(F), g(k.nextPageStartsAfter), P(k.nextPageStartsAfter, F);
4973
4973
  }
4974
4974
  }, v = () => {
4975
4975
  if (b.length > 0) {
4976
4976
  const F = [...b], D = F.pop() || null;
4977
- m(F), g(D), P(D, F);
4977
+ s(F), g(D), P(D, F);
4978
4978
  }
4979
4979
  };
4980
4980
  return je(() => (P(), () => {
4981
- r(null), d(!1), o(!1), u(null), g(null), m([]);
4981
+ r(null), d(!1), o(!1), u(null), g(null), s([]);
4982
4982
  }), [e, n]), {
4983
4983
  rankings: a,
4984
4984
  pagination: k,
@@ -4991,21 +4991,21 @@ const bn = (e, n, a) => {
4991
4991
  goToNextPage: C,
4992
4992
  goToPreviousPage: v
4993
4993
  };
4994
- }, qn = (e) => {
4994
+ }, Nn = (e) => {
4995
4995
  const n = ae(), a = ue(), { t: r } = ne(), c = Y(), d = Se(), f = Ee(
4996
4996
  le.OVERLAY
4997
- ), { brandingImage: o, brandingColors: l, brandingLogo: g } = tt(e.game.branding || null), b = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : c ? Me : Be, m = o || Ce(
4997
+ ), { brandingImage: o, brandingColors: l, brandingLogo: g } = tt(e.game.branding || null), b = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : c ? Me : Be, s = o || Ce(
4998
4998
  {
4999
4999
  images: e.game.images,
5000
5000
  imagePlaceholder: b
5001
5001
  },
5002
5002
  le.OVERLAY
5003
- ), k = p().textPrimary, u = (l == null ? void 0 : l.primaryColor) || p().palette.primary.plainColor, T = (l == null ? void 0 : l.contentColor) || p().textColor, h = O().secondary, P = O().primary, C = p().surface, v = `rgba(${N(
5003
+ ), k = p().textPrimary, u = (l == null ? void 0 : l.primaryColor) || p().palette.primary.plainColor, T = (l == null ? void 0 : l.contentColor) || p().textColor, h = q().secondary, P = q().primary, C = p().surface, v = `rgba(${N(
5004
5004
  (l == null ? void 0 : l.backgroundColor) || p().surfaceVariant
5005
- )}, 0.5)`, F = p().onSurface, D = K(), I = He().size, $ = `rgba(${N(
5005
+ )}, 0.5)`, F = p().onSurface, D = J(), I = He().size, $ = `rgba(${N(
5006
5006
  p().surfaceVariant || ""
5007
- )}, 0.5)`, w = (l == null ? void 0 : l.secondaryColor) || p().textColor, H = "60%", { rankings: y, pagination: G, loading: E, goToNextPage: A, goToPreviousPage: S } = ut(e.game.id, e.sdk), R = jn({
5008
- finalImage: m,
5007
+ )}, 0.5)`, w = (l == null ? void 0 : l.secondaryColor) || p().textColor, H = "60%", { rankings: y, pagination: A, loading: E, goToNextPage: z, goToPreviousPage: S } = ut(e.game.id, e.sdk), R = Un({
5008
+ finalImage: s,
5009
5009
  spacingScale: n,
5010
5010
  borderRadius: D,
5011
5011
  fontFamilyPrimary: P,
@@ -5036,13 +5036,13 @@ const bn = (e, n, a) => {
5036
5036
  textColor: a.colorSchemes.dark.textColor,
5037
5037
  label: null
5038
5038
  }
5039
- ), U = () => /* @__PURE__ */ s(
5039
+ ), U = () => /* @__PURE__ */ m(
5040
5040
  i,
5041
5041
  {
5042
5042
  sx: { display: "flex", flexDirection: "column", gap: n.md },
5043
5043
  children: [
5044
- /* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(i, { sx: R.headlineSection, children: /* @__PURE__ */ t(i, { sx: R.headlineContent, children: /* @__PURE__ */ s(i, { sx: R.headlineContentInner, children: [
5045
- /* @__PURE__ */ s(
5044
+ /* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(i, { sx: R.headlineSection, children: /* @__PURE__ */ t(i, { sx: R.headlineContent, children: /* @__PURE__ */ m(i, { sx: R.headlineContentInner, children: [
5045
+ /* @__PURE__ */ m(
5046
5046
  i,
5047
5047
  {
5048
5048
  sx: {
@@ -5064,13 +5064,13 @@ const bn = (e, n, a) => {
5064
5064
  ]
5065
5065
  }
5066
5066
  ),
5067
- /* @__PURE__ */ s(i, { sx: R.contentContainer, children: [
5067
+ /* @__PURE__ */ m(i, { sx: R.contentContainer, children: [
5068
5068
  /* @__PURE__ */ t(x, { level: "h4", sx: R.titleText, children: e.game.title }),
5069
5069
  e.game.description && /* @__PURE__ */ t(x, { level: "body-lg", sx: R.descriptionText, children: Le(e.game.description) })
5070
5070
  ] })
5071
5071
  ] }) }) }) }),
5072
- /* @__PURE__ */ s(i, { sx: R.mainContentSection, children: [
5073
- /* @__PURE__ */ s(i, { sx: R.contentContainerWithBackdrop, children: [
5072
+ /* @__PURE__ */ m(i, { sx: R.mainContentSection, children: [
5073
+ /* @__PURE__ */ m(i, { sx: R.contentContainerWithBackdrop, children: [
5074
5074
  /* @__PURE__ */ t(
5075
5075
  mt,
5076
5076
  {
@@ -5081,12 +5081,12 @@ const bn = (e, n, a) => {
5081
5081
  loading: E
5082
5082
  }
5083
5083
  ),
5084
- G && (G.hasNextPage || G.hasPreviousPage) && /* @__PURE__ */ t(
5084
+ A && (A.hasNextPage || A.hasPreviousPage) && /* @__PURE__ */ t(
5085
5085
  gt,
5086
5086
  {
5087
- hasNextPage: G.hasNextPage,
5088
- hasPreviousPage: G.hasPreviousPage,
5089
- onNextPage: A,
5087
+ hasNextPage: A.hasNextPage,
5088
+ hasPreviousPage: A.hasPreviousPage,
5089
+ onNextPage: z,
5090
5090
  onPreviousPage: S,
5091
5091
  isOverlayVariant: !0,
5092
5092
  justifyContent: "flex-end"
@@ -5112,20 +5112,20 @@ const bn = (e, n, a) => {
5112
5112
  children: U()
5113
5113
  }
5114
5114
  ) }) : /* @__PURE__ */ t(i, { sx: R.mainContainer, children: U() }) });
5115
- }, Yn = () => {
5115
+ }, On = () => {
5116
5116
  const { t: e } = ne();
5117
5117
  return /* @__PURE__ */ t(ve, { brandingBorderColor: null, children: /* @__PURE__ */ t(
5118
- Kt,
5118
+ Xt,
5119
5119
  {
5120
5120
  notFoundTitle: e("eventGame.eventGameNotFound"),
5121
5121
  notFoundMessage: e("eventGame.eventGameNotFoundDescription")
5122
5122
  }
5123
5123
  ) });
5124
- }, _n = (e) => {
5125
- var d, f, o, l, g, b, m;
5126
- const { t: n } = ne(), a = Y(), r = ((d = e.eventGame.branding) == null ? void 0 : d.colors) || null, c = a ? ((o = (f = e.eventGame.branding) == null ? void 0 : f.images) == null ? void 0 : o.mobileLogo) || ((g = (l = e.eventGame.branding) == null ? void 0 : l.images) == null ? void 0 : g.mainLogo) || "" : ((m = (b = e.eventGame.branding) == null ? void 0 : b.images) == null ? void 0 : m.mainLogo) || "";
5124
+ }, qn = (e) => {
5125
+ var d, f, o, l, g, b, s;
5126
+ const { t: n } = ne(), a = Y(), r = ((d = e.eventGame.branding) == null ? void 0 : d.colors) || null, c = a ? ((o = (f = e.eventGame.branding) == null ? void 0 : f.images) == null ? void 0 : o.mobileLogo) || ((g = (l = e.eventGame.branding) == null ? void 0 : l.images) == null ? void 0 : g.mainLogo) || "" : ((s = (b = e.eventGame.branding) == null ? void 0 : b.images) == null ? void 0 : s.mainLogo) || "";
5127
5127
  return /* @__PURE__ */ t(ve, { brandingBorderColor: (r == null ? void 0 : r.borderColor) || null, children: /* @__PURE__ */ t(
5128
- Nt,
5128
+ jt,
5129
5129
  {
5130
5130
  entity: { ...e.eventGame, labels: null },
5131
5131
  headline: n("eventGame.headline"),
@@ -5145,11 +5145,11 @@ const bn = (e, n, a) => {
5145
5145
  )
5146
5146
  }
5147
5147
  ) });
5148
- }, Zn = (e) => {
5149
- var d, f, o, l, g, b, m;
5150
- const { t: n } = ne(), a = Y(), r = ((d = e.eventGame.branding) == null ? void 0 : d.colors) || null, c = a ? ((o = (f = e.eventGame.branding) == null ? void 0 : f.images) == null ? void 0 : o.mobileLogo) || ((g = (l = e.eventGame.branding) == null ? void 0 : l.images) == null ? void 0 : g.mainLogo) || "" : ((m = (b = e.eventGame.branding) == null ? void 0 : b.images) == null ? void 0 : m.mainLogo) || "";
5148
+ }, Yn = (e) => {
5149
+ var d, f, o, l, g, b, s;
5150
+ const { t: n } = ne(), a = Y(), r = ((d = e.eventGame.branding) == null ? void 0 : d.colors) || null, c = a ? ((o = (f = e.eventGame.branding) == null ? void 0 : f.images) == null ? void 0 : o.mobileLogo) || ((g = (l = e.eventGame.branding) == null ? void 0 : l.images) == null ? void 0 : g.mainLogo) || "" : ((s = (b = e.eventGame.branding) == null ? void 0 : b.images) == null ? void 0 : s.mainLogo) || "";
5151
5151
  return /* @__PURE__ */ t(ve, { brandingBorderColor: (r == null ? void 0 : r.borderColor) || null, children: /* @__PURE__ */ t(
5152
- Ot,
5152
+ Nt,
5153
5153
  {
5154
5154
  entity: { ...e.eventGame, labels: null },
5155
5155
  headline: n("eventGame.headline"),
@@ -5168,12 +5168,12 @@ const bn = (e, n, a) => {
5168
5168
  )
5169
5169
  }
5170
5170
  ) });
5171
- }, Xn = (e) => {
5171
+ }, _n = (e) => {
5172
5172
  const { t: n } = ne(), a = Y(), { brandingLogo: r } = tt(
5173
5173
  e.eventGame.branding || null
5174
5174
  ), c = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : a ? Me : Be;
5175
5175
  return /* @__PURE__ */ t(
5176
- qt,
5176
+ Ot,
5177
5177
  {
5178
5178
  entity: { ...e.eventGame, labels: null },
5179
5179
  headline: n("eventGame.headline"),
@@ -5192,7 +5192,7 @@ const bn = (e, n, a) => {
5192
5192
  )
5193
5193
  }
5194
5194
  );
5195
- }, Kn = (e) => {
5195
+ }, Zn = (e) => {
5196
5196
  var n, a, r;
5197
5197
  return {
5198
5198
  // Main content area
@@ -5728,7 +5728,7 @@ const bn = (e, n, a) => {
5728
5728
  width: "100%"
5729
5729
  }
5730
5730
  };
5731
- }, Qn = (e) => {
5731
+ }, Xn = (e) => {
5732
5732
  var U, _, oe, me;
5733
5733
  const n = ue(), a = Ce(
5734
5734
  {
@@ -5736,13 +5736,13 @@ const bn = (e, n, a) => {
5736
5736
  imagePlaceholder: e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : ""
5737
5737
  },
5738
5738
  le.STANDARD
5739
- ), { t: r } = ne(), c = Y(), d = Se(), f = e.imagePosition || "left", o = c ? ((U = e.eventGame.branding) == null ? void 0 : U.images.mobileLogo) || ((_ = e.eventGame.branding) == null ? void 0 : _.images.mainLogo) || "" : ((oe = e.eventGame.branding) == null ? void 0 : oe.images.mainLogo) || "", l = ((me = e.eventGame.branding) == null ? void 0 : me.colors) || null, g = p().textPrimary, b = (l == null ? void 0 : l.primaryColor) || p().palette.primary.plainColor, m = (l == null ? void 0 : l.contentColor) || p().textColor, k = O().secondary, u = O().primary, T = p().surface, h = `rgba(${N(
5739
+ ), { t: r } = ne(), c = Y(), d = Se(), f = e.imagePosition || "left", o = c ? ((U = e.eventGame.branding) == null ? void 0 : U.images.mobileLogo) || ((_ = e.eventGame.branding) == null ? void 0 : _.images.mainLogo) || "" : ((oe = e.eventGame.branding) == null ? void 0 : oe.images.mainLogo) || "", l = ((me = e.eventGame.branding) == null ? void 0 : me.colors) || null, g = p().textPrimary, b = (l == null ? void 0 : l.primaryColor) || p().palette.primary.plainColor, s = (l == null ? void 0 : l.contentColor) || p().textColor, k = q().secondary, u = q().primary, T = p().surface, h = `rgba(${N(
5740
5740
  (l == null ? void 0 : l.backgroundColor) || p().surfaceVariant
5741
- )}, 0.5)`, P = p().onSurface, C = K(), v = He().size, F = ae(), D = `rgba(${N(
5741
+ )}, 0.5)`, P = p().onSurface, C = J(), v = He().size, F = ae(), D = `rgba(${N(
5742
5742
  p().surfaceVariant || ""
5743
5743
  )}, 0.5)`, I = Ee(
5744
5744
  le.STANDARD
5745
- ), $ = "60%", w = (l == null ? void 0 : l.secondaryColor) || p().textColor, { rankings: H, pagination: y, loading: G, goToNextPage: E, goToPreviousPage: A } = ut(e.eventGame.id, e.sdk), S = Kn({
5745
+ ), $ = "60%", w = (l == null ? void 0 : l.secondaryColor) || p().textColor, { rankings: H, pagination: y, loading: A, goToNextPage: E, goToPreviousPage: z } = ut(e.eventGame.id, e.sdk), S = Zn({
5746
5746
  finalImage: a,
5747
5747
  spacingScale: F,
5748
5748
  borderRadius: C,
@@ -5750,7 +5750,7 @@ const bn = (e, n, a) => {
5750
5750
  fontFamilySecondary: k,
5751
5751
  textPrimary: g,
5752
5752
  primaryColor: b,
5753
- textColor: m,
5753
+ textColor: s,
5754
5754
  bgcolor: h,
5755
5755
  buttonBgColor: T,
5756
5756
  onSurfaceColor: P,
@@ -5767,8 +5767,8 @@ const bn = (e, n, a) => {
5767
5767
  opacity: $,
5768
5768
  secondaryColor: w,
5769
5769
  isExtraSmall: d
5770
- }), R = () => /* @__PURE__ */ s(i, { sx: S.mainContentArea, children: [
5771
- !c && /* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(i, { sx: S.desktopHeadlineContainer, children: /* @__PURE__ */ s(
5770
+ }), R = () => /* @__PURE__ */ m(i, { sx: S.mainContentArea, children: [
5771
+ !c && /* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(i, { sx: S.desktopHeadlineContainer, children: /* @__PURE__ */ m(
5772
5772
  i,
5773
5773
  {
5774
5774
  sx: {
@@ -5777,7 +5777,7 @@ const bn = (e, n, a) => {
5777
5777
  alignItems: "center"
5778
5778
  },
5779
5779
  children: [
5780
- /* @__PURE__ */ s(
5780
+ /* @__PURE__ */ m(
5781
5781
  i,
5782
5782
  {
5783
5783
  sx: {
@@ -5805,7 +5805,7 @@ const bn = (e, n, a) => {
5805
5805
  ]
5806
5806
  }
5807
5807
  ),
5808
- /* @__PURE__ */ s(i, { sx: S.contentContainer, children: [
5808
+ /* @__PURE__ */ m(i, { sx: S.contentContainer, children: [
5809
5809
  /* @__PURE__ */ t(x, { level: "h4", sx: S.titleTypographyDesktop, children: e.eventGame.title }),
5810
5810
  /* @__PURE__ */ t(x, { sx: S.descriptionTypographyDesktop, children: Le(e.eventGame.description) })
5811
5811
  ] })
@@ -5818,15 +5818,15 @@ const bn = (e, n, a) => {
5818
5818
  leaderboard: H,
5819
5819
  userRanking: e.prediction,
5820
5820
  showHeading: !e.showPredictionDetails,
5821
- loading: G
5821
+ loading: A
5822
5822
  }
5823
5823
  ) }) }) }),
5824
- (o || (y == null ? void 0 : y.hasNextPage) || (y == null ? void 0 : y.hasPreviousPage)) && /* @__PURE__ */ s(i, { sx: S.presentedByContainer, children: [
5824
+ (o || (y == null ? void 0 : y.hasNextPage) || (y == null ? void 0 : y.hasPreviousPage)) && /* @__PURE__ */ m(i, { sx: S.presentedByContainer, children: [
5825
5825
  /* @__PURE__ */ t(
5826
5826
  xe,
5827
5827
  {
5828
5828
  brandingLogo: o,
5829
- textColor: m,
5829
+ textColor: s,
5830
5830
  label: null
5831
5831
  }
5832
5832
  ),
@@ -5843,7 +5843,7 @@ const bn = (e, n, a) => {
5843
5843
  hasNextPage: (y == null ? void 0 : y.hasNextPage) || !1,
5844
5844
  hasPreviousPage: (y == null ? void 0 : y.hasPreviousPage) || !1,
5845
5845
  onNextPage: E,
5846
- onPreviousPage: A,
5846
+ onPreviousPage: z,
5847
5847
  isOverlayVariant: !1,
5848
5848
  justifyContent: "flex-start"
5849
5849
  }
@@ -5851,8 +5851,8 @@ const bn = (e, n, a) => {
5851
5851
  }
5852
5852
  )
5853
5853
  ] })
5854
- ] }), L = () => c ? a ? /* @__PURE__ */ t(i, { sx: S.mobileHeadlineWithImage, children: /* @__PURE__ */ t(i, { sx: S.mobileHeadlineContent, children: /* @__PURE__ */ s(i, { children: [
5855
- /* @__PURE__ */ s(
5854
+ ] }), L = () => c ? a ? /* @__PURE__ */ t(i, { sx: S.mobileHeadlineWithImage, children: /* @__PURE__ */ t(i, { sx: S.mobileHeadlineContent, children: /* @__PURE__ */ m(i, { children: [
5855
+ /* @__PURE__ */ m(
5856
5856
  i,
5857
5857
  {
5858
5858
  sx: {
@@ -5881,12 +5881,12 @@ const bn = (e, n, a) => {
5881
5881
  ]
5882
5882
  }
5883
5883
  ),
5884
- /* @__PURE__ */ s(i, { sx: S.contentContainer, children: [
5884
+ /* @__PURE__ */ m(i, { sx: S.contentContainer, children: [
5885
5885
  /* @__PURE__ */ t(x, { sx: S.titleTypographyMobileImage, children: e.eventGame.title }),
5886
5886
  /* @__PURE__ */ t(x, { sx: S.descriptionTypographyMobileImage, children: Le(e.eventGame.description) })
5887
5887
  ] })
5888
- ] }) }) }) : /* @__PURE__ */ t(i, { sx: S.mobileHeadlineWithoutImage, children: /* @__PURE__ */ s(i, { children: [
5889
- /* @__PURE__ */ s(
5888
+ ] }) }) }) : /* @__PURE__ */ t(i, { sx: S.mobileHeadlineWithoutImage, children: /* @__PURE__ */ m(i, { children: [
5889
+ /* @__PURE__ */ m(
5890
5890
  i,
5891
5891
  {
5892
5892
  sx: {
@@ -5908,7 +5908,7 @@ const bn = (e, n, a) => {
5908
5908
  ]
5909
5909
  }
5910
5910
  ),
5911
- /* @__PURE__ */ s(i, { sx: S.contentContainer, children: [
5911
+ /* @__PURE__ */ m(i, { sx: S.contentContainer, children: [
5912
5912
  /* @__PURE__ */ t(x, { level: "h4", sx: S.titleTypography, children: e.eventGame.title }),
5913
5913
  /* @__PURE__ */ t(x, { sx: S.descriptionTypography, children: Le(e.eventGame.description) })
5914
5914
  ] })
@@ -5926,72 +5926,19 @@ const bn = (e, n, a) => {
5926
5926
  pb: 0,
5927
5927
  pt: 0
5928
5928
  },
5929
- children: /* @__PURE__ */ s(i, { sx: S.scoreStateWrapperContainer, children: [
5929
+ children: /* @__PURE__ */ m(i, { sx: S.scoreStateWrapperContainer, children: [
5930
5930
  a && f === "left" && /* @__PURE__ */ t(i, { sx: S.imageContainerLeft, children: /* @__PURE__ */ t(i, { sx: S.imageSafeArea }) }),
5931
5931
  R(),
5932
5932
  a && f === "right" && /* @__PURE__ */ t(i, { sx: S.imageContainerRight, children: /* @__PURE__ */ t(i, { sx: S.imageSafeArea }) })
5933
5933
  ] })
5934
5934
  }
5935
- ) : /* @__PURE__ */ s(j, { children: [
5935
+ ) : /* @__PURE__ */ m(j, { children: [
5936
5936
  L(),
5937
5937
  a && f === "left" && /* @__PURE__ */ t(i, { sx: S.imageContainerLeft, children: /* @__PURE__ */ t(i, { sx: S.imageSafeArea }) }),
5938
5938
  R(),
5939
5939
  a && f === "right" && /* @__PURE__ */ t(i, { sx: S.imageContainerRight, children: /* @__PURE__ */ t(i, { sx: S.imageSafeArea }) })
5940
5940
  ] }) });
5941
- }, Xe = ({
5942
- notification: e,
5943
- onClose: n
5944
- }) => {
5945
- const a = K(), r = O();
5946
- return e.open ? /* @__PURE__ */ t(
5947
- yn,
5948
- {
5949
- open: e.open,
5950
- onClose: n,
5951
- autoHideDuration: e.variant === "error" ? 5e3 : 3e3,
5952
- anchorOrigin: { vertical: "top", horizontal: "center" },
5953
- color: e.variant === "success" ? "success" : "danger",
5954
- variant: "soft",
5955
- startDecorator: e.variant === "success" ? /* @__PURE__ */ t(zt, {}) : /* @__PURE__ */ t(rn, {}),
5956
- sx: {
5957
- borderRadius: a.sm,
5958
- fontFamily: r.secondary,
5959
- minWidth: "300px",
5960
- maxWidth: "400px",
5961
- zIndex: 9999,
5962
- position: "fixed"
5963
- },
5964
- children: /* @__PURE__ */ s(i, { sx: { display: "flex", flexDirection: "column", gap: "4px" }, children: [
5965
- e.title && /* @__PURE__ */ t(
5966
- x,
5967
- {
5968
- level: "title-md",
5969
- sx: {
5970
- fontWeight: 600,
5971
- fontSize: "16px",
5972
- lineHeight: 1.2,
5973
- color: "inherit"
5974
- },
5975
- children: e.title
5976
- }
5977
- ),
5978
- e.message && /* @__PURE__ */ t(
5979
- x,
5980
- {
5981
- level: "body-sm",
5982
- sx: {
5983
- fontSize: "14px",
5984
- lineHeight: 1.3,
5985
- color: "inherit",
5986
- opacity: 0.9
5987
- },
5988
- children: e.message
5989
- }
5990
- )
5991
- ] })
5992
- }
5993
- ) : null;
5994
- }, Jn = (e) => ({
5941
+ }, Kn = (e) => ({
5995
5942
  // Content container with backdrop
5996
5943
  contentContainerWithBackdrop: {
5997
5944
  borderRadius: e.mdBorderRadius,
@@ -6200,15 +6147,15 @@ const bn = (e, n, a) => {
6200
6147
  justifyContent: "center",
6201
6148
  alignItems: "center"
6202
6149
  }
6203
- }), ei = (e) => {
6204
- var ze, Ge, ke, Fe, Te, we, B, Q, re, z, V, Z, ce, ie, de, he;
6205
- const [n, a] = Je.useState(1), r = ae(), c = ue(), { t: d } = ne(), f = Y(), o = Se(), { brandingImage: l, brandingColors: g, brandingLogo: b } = tt(e.eventGame.branding || null), m = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : f ? Me : Be, k = l || Ce(
6150
+ }), Qn = (e) => {
6151
+ var Ge, Ae, ke, Fe, Te, we, B, K, re, G, V, Z, ce, ie, de, he;
6152
+ const [n, a] = Je.useState(1), r = ae(), c = ue(), { t: d } = ne(), f = Y(), o = Se(), { brandingImage: l, brandingColors: g, brandingLogo: b } = tt(e.eventGame.branding || null), s = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : f ? Me : Be, k = l || Ce(
6206
6153
  {
6207
6154
  images: e.eventGame.images,
6208
- imagePlaceholder: m
6155
+ imagePlaceholder: s
6209
6156
  },
6210
6157
  le.OVERLAY
6211
- ), u = c.customRadius.dark.md, T = (g == null ? void 0 : g.backgroundColor) || ((Ge = (ze = c.colorSchemes) == null ? void 0 : ze.dark) == null ? void 0 : Ge.surfaceVariant), h = (Fe = (ke = c.customRadius) == null ? void 0 : ke.light) == null ? void 0 : Fe.xl, P = (g == null ? void 0 : g.primaryColor) || ((Q = (B = (we = (Te = c.colorSchemes) == null ? void 0 : Te.light) == null ? void 0 : we.palette) == null ? void 0 : B.primary) == null ? void 0 : Q.plainColor), C = (Z = (V = (z = (re = c.colorSchemes) == null ? void 0 : re.light) == null ? void 0 : z.palette) == null ? void 0 : V.primary) == null ? void 0 : Z.onPrimary, v = c.customFontFamily.dark.primary, F = c.colorSchemes.dark.textColor, D = (he = (de = (ie = (ce = c.colorSchemes) == null ? void 0 : ce.light) == null ? void 0 : ie.palette) == null ? void 0 : de.danger) == null ? void 0 : he.plainColor, I = (g == null ? void 0 : g.contentColor) || c.colorSchemes.dark.textColor, w = Jn({
6158
+ ), u = c.customRadius.dark.md, T = (g == null ? void 0 : g.backgroundColor) || ((Ae = (Ge = c.colorSchemes) == null ? void 0 : Ge.dark) == null ? void 0 : Ae.surfaceVariant), h = (Fe = (ke = c.customRadius) == null ? void 0 : ke.light) == null ? void 0 : Fe.xl, P = (g == null ? void 0 : g.primaryColor) || ((K = (B = (we = (Te = c.colorSchemes) == null ? void 0 : Te.light) == null ? void 0 : we.palette) == null ? void 0 : B.primary) == null ? void 0 : K.plainColor), C = (Z = (V = (G = (re = c.colorSchemes) == null ? void 0 : re.light) == null ? void 0 : G.palette) == null ? void 0 : V.primary) == null ? void 0 : Z.onPrimary, v = c.customFontFamily.dark.primary, F = c.colorSchemes.dark.textColor, D = (he = (de = (ie = (ce = c.colorSchemes) == null ? void 0 : ce.light) == null ? void 0 : ie.palette) == null ? void 0 : de.danger) == null ? void 0 : he.plainColor, I = (g == null ? void 0 : g.contentColor) || c.colorSchemes.dark.textColor, w = Kn({
6212
6159
  spacingScale: r,
6213
6160
  mdBorderRadius: u,
6214
6161
  contentBgColor: T,
@@ -6237,34 +6184,34 @@ const bn = (e, n, a) => {
6237
6184
  }, y = et(
6238
6185
  (M, X) => {
6239
6186
  e.setPrediction((ee) => {
6240
- const te = { ...ee }, q = te.fixtures.find((fe) => fe.id === M);
6241
- return q && (q.prediction = X), te;
6187
+ const te = { ...ee }, O = te.fixtures.find((fe) => fe.id === M);
6188
+ return O && (O.prediction = X), te;
6242
6189
  });
6243
6190
  },
6244
6191
  [e.setPrediction]
6245
- ), G = e.eventGame.fixtures.length + 1, E = e.eventGame.status === "OPEN" && ct(e.eventGame.predictionsCutoff || ""), A = () => {
6192
+ ), A = e.eventGame.fixtures.length + 1, E = e.eventGame.status === "OPEN" && ct(e.eventGame.predictionsCutoff || ""), z = () => {
6246
6193
  var X, ee;
6247
6194
  const M = e.eventGame.fixtures[n - 1];
6248
6195
  if (M && M.outcomeType === W.NUMBER) {
6249
- const te = M.validOutcomes, q = (ee = (X = e.prediction) == null ? void 0 : X.fixtures) == null ? void 0 : ee.find(
6196
+ const te = M.validOutcomes, O = (ee = (X = e.prediction) == null ? void 0 : X.fixtures) == null ? void 0 : ee.find(
6250
6197
  (fe) => fe.id === M.id
6251
6198
  );
6252
- if (q && typeof q.prediction == "number") {
6199
+ if (O && typeof O.prediction == "number") {
6253
6200
  const fe = Oe(
6254
- q.prediction,
6201
+ O.prediction,
6255
6202
  te
6256
6203
  );
6257
- fe !== q.prediction && y(M.id, fe);
6204
+ fe !== O.prediction && y(M.id, fe);
6258
6205
  }
6259
6206
  }
6260
- n < G ? a(n + 1) : e.play();
6207
+ n < A ? a(n + 1) : e.play();
6261
6208
  }, S = () => {
6262
6209
  var ee, te;
6263
- if (n === G) return !0;
6210
+ if (n === A) return !0;
6264
6211
  const M = e.eventGame.fixtures[n - 1];
6265
6212
  if (!M) return !1;
6266
6213
  const X = (te = (ee = e.prediction) == null ? void 0 : ee.fixtures) == null ? void 0 : te.find(
6267
- (q) => q.id === M.id
6214
+ (O) => O.id === M.id
6268
6215
  );
6269
6216
  if (!X) return !1;
6270
6217
  switch (M.outcomeType) {
@@ -6283,23 +6230,23 @@ const bn = (e, n, a) => {
6283
6230
  n > 1 && a(n - 1);
6284
6231
  }, L = (M) => {
6285
6232
  a(M + 1);
6286
- }, U = () => /* @__PURE__ */ t(i, { sx: w.contentContainerWithBackdrop, children: /* @__PURE__ */ s(i, { sx: w.gameStateContainer, children: [
6233
+ }, U = () => /* @__PURE__ */ t(i, { sx: w.contentContainerWithBackdrop, children: /* @__PURE__ */ m(i, { sx: w.gameStateContainer, children: [
6287
6234
  /* @__PURE__ */ t(x, { component: "h5", sx: w.stateTitle, children: d("eventGame.states.pending.title") }),
6288
6235
  /* @__PURE__ */ t(x, { sx: w.stateDescription, children: d("eventGame.states.pending.description") })
6289
- ] }) }), _ = () => /* @__PURE__ */ t(i, { sx: w.contentContainerWithBackdrop, children: /* @__PURE__ */ s(i, { sx: w.gameStateContainer, children: [
6290
- /* @__PURE__ */ s(i, { sx: w.liveIndicatorContainer, children: [
6236
+ ] }) }), _ = () => /* @__PURE__ */ t(i, { sx: w.contentContainerWithBackdrop, children: /* @__PURE__ */ m(i, { sx: w.gameStateContainer, children: [
6237
+ /* @__PURE__ */ m(i, { sx: w.liveIndicatorContainer, children: [
6291
6238
  /* @__PURE__ */ t(i, { sx: w.liveIndicator }),
6292
6239
  /* @__PURE__ */ t(x, { component: "h5", sx: w.liveText, children: d("eventGame.states.live.indicator") })
6293
6240
  ] }),
6294
6241
  /* @__PURE__ */ t(x, { sx: w.stateDescription, children: d("eventGame.states.live.description") })
6295
- ] }) }), oe = () => /* @__PURE__ */ t(i, { sx: w.contentContainerWithBackdrop, children: /* @__PURE__ */ s(i, { sx: w.gameStateContainer, children: [
6242
+ ] }) }), oe = () => /* @__PURE__ */ t(i, { sx: w.contentContainerWithBackdrop, children: /* @__PURE__ */ m(i, { sx: w.gameStateContainer, children: [
6296
6243
  /* @__PURE__ */ t(i, { sx: w.closedStateHeader, children: /* @__PURE__ */ t(x, { component: "h5", sx: w.stateTitle, children: d("eventGame.states.closed.title") }) }),
6297
6244
  /* @__PURE__ */ t(x, { sx: w.stateDescription, children: d("eventGame.states.closed.description") })
6298
- ] }) }), me = () => /* @__PURE__ */ s(i, { sx: w.gameStateContainer, children: [
6245
+ ] }) }), me = () => /* @__PURE__ */ m(i, { sx: w.gameStateContainer, children: [
6299
6246
  /* @__PURE__ */ t(x, { component: "h5", sx: w.stateTitle, children: d("eventGame.states.open.title") }),
6300
6247
  /* @__PURE__ */ t(x, { sx: w.stateDescription, children: d("eventGame.states.open.description") })
6301
6248
  ] }), ye = Ve(() => e.eventGame.fixtures[n - 1], [e.eventGame.fixtures, n]), Pe = () => {
6302
- var X, ee, te, q, fe, Ae, se, ft;
6249
+ var X, ee, te, O, fe, ze, se, ft;
6303
6250
  const M = ye;
6304
6251
  if (E)
6305
6252
  return me();
@@ -6322,7 +6269,7 @@ const bn = (e, n, a) => {
6322
6269
  `${M.outcomeType}-${n}-${M.id}`
6323
6270
  );
6324
6271
  case W.NUMBER:
6325
- const Ye = (q = (te = e.prediction) == null ? void 0 : te.fixtures) == null ? void 0 : q.find(
6272
+ const Ye = (O = (te = e.prediction) == null ? void 0 : te.fixtures) == null ? void 0 : O.find(
6326
6273
  (ge) => ge.id === M.id
6327
6274
  ), Gt = M.validOutcomes;
6328
6275
  return /* @__PURE__ */ t(
@@ -6340,7 +6287,7 @@ const bn = (e, n, a) => {
6340
6287
  `${M.outcomeType}-${n}-${M.id}`
6341
6288
  );
6342
6289
  case W.FREE_INPUT:
6343
- const _e = (Ae = (fe = e.prediction) == null ? void 0 : fe.fixtures) == null ? void 0 : Ae.find(
6290
+ const _e = (ze = (fe = e.prediction) == null ? void 0 : fe.fixtures) == null ? void 0 : ze.find(
6344
6291
  (ge) => ge.id === M.id
6345
6292
  );
6346
6293
  return /* @__PURE__ */ t(
@@ -6388,7 +6335,7 @@ const bn = (e, n, a) => {
6388
6335
  default:
6389
6336
  return be();
6390
6337
  }
6391
- }, be = () => /* @__PURE__ */ s(j, { children: [
6338
+ }, be = () => /* @__PURE__ */ m(j, { children: [
6392
6339
  e.showCountdown && e.eventGame.status === "OPEN" && /* @__PURE__ */ t(
6393
6340
  rt,
6394
6341
  {
@@ -6400,10 +6347,10 @@ const bn = (e, n, a) => {
6400
6347
  {
6401
6348
  eventGame: e.eventGame,
6402
6349
  currentStep: n,
6403
- totalSteps: G
6350
+ totalSteps: A
6404
6351
  }
6405
6352
  ),
6406
- /* @__PURE__ */ t(i, { sx: w.contentContainerWithBackdrop, children: n === G ? /* @__PURE__ */ t(
6353
+ /* @__PURE__ */ t(i, { sx: w.contentContainerWithBackdrop, children: n === A ? /* @__PURE__ */ t(
6407
6354
  $e,
6408
6355
  {
6409
6356
  fixtures: e.eventGame.fixtures,
@@ -6416,14 +6363,14 @@ const bn = (e, n, a) => {
6416
6363
  brandingPrimaryColor: g == null ? void 0 : g.primaryColor
6417
6364
  }
6418
6365
  ) : Pe() }),
6419
- /* @__PURE__ */ s(
6366
+ /* @__PURE__ */ m(
6420
6367
  i,
6421
6368
  {
6422
6369
  sx: b ? w.footerContainer : w.footerContainerNoLogo,
6423
6370
  children: [
6424
6371
  o ? /* @__PURE__ */ t(j, {}) : H(),
6425
- /* @__PURE__ */ s(i, { sx: w.navigationContainer, children: [
6426
- n > 1 && n < G && /* @__PURE__ */ t(
6372
+ /* @__PURE__ */ m(i, { sx: w.navigationContainer, children: [
6373
+ n > 1 && n < A && /* @__PURE__ */ t(
6427
6374
  Re,
6428
6375
  {
6429
6376
  variant: "outlined",
@@ -6474,7 +6421,7 @@ const bn = (e, n, a) => {
6474
6421
  Re,
6475
6422
  {
6476
6423
  variant: "soft",
6477
- onClick: S() ? A : () => {
6424
+ onClick: S() ? z : () => {
6478
6425
  },
6479
6426
  loading: e.isPlaying,
6480
6427
  sx: {
@@ -6523,7 +6470,7 @@ const bn = (e, n, a) => {
6523
6470
  display: "flex",
6524
6471
  alignItems: "center"
6525
6472
  },
6526
- children: d(n === G ? "eventGame.buttons.play" : "eventGame.buttons.next")
6473
+ children: d(n === A ? "eventGame.buttons.play" : "eventGame.buttons.next")
6527
6474
  }
6528
6475
  )
6529
6476
  }
@@ -6535,7 +6482,7 @@ const bn = (e, n, a) => {
6535
6482
  o ? H() : /* @__PURE__ */ t(j, {})
6536
6483
  ] });
6537
6484
  return /* @__PURE__ */ t(
6538
- Qt,
6485
+ Kt,
6539
6486
  {
6540
6487
  entity: { ...e.eventGame, labels: null },
6541
6488
  headline: d("eventGame.headline"),
@@ -6544,7 +6491,7 @@ const bn = (e, n, a) => {
6544
6491
  children: Ie()
6545
6492
  }
6546
6493
  );
6547
- }, ti = (e) => ({
6494
+ }, Jn = (e) => ({
6548
6495
  // Question area
6549
6496
  questionArea: {
6550
6497
  flex: e.isMobile ? "1" : "0 0 50%",
@@ -6689,15 +6636,15 @@ const bn = (e, n, a) => {
6689
6636
  color: e.textColor,
6690
6637
  lineHeight: 1
6691
6638
  }
6692
- }), ni = (e) => {
6693
- var be, ze, Ge, ke, Fe, Te, we;
6694
- const [n, a] = Je.useState(1), r = ue(), { t: c } = ne(), d = Y(), f = kt(), o = ((be = e.eventGame.branding) == null ? void 0 : be.colors) || null, l = d ? ((Ge = (ze = e.eventGame.branding) == null ? void 0 : ze.images) == null ? void 0 : Ge.mobileLogo) || ((Fe = (ke = e.eventGame.branding) == null ? void 0 : ke.images) == null ? void 0 : Fe.mainLogo) || "" : ((we = (Te = e.eventGame.branding) == null ? void 0 : Te.images) == null ? void 0 : we.mainLogo) || "", g = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : d ? Me : Be, b = Ce(
6639
+ }), ei = (e) => {
6640
+ var be, Ge, Ae, ke, Fe, Te, we;
6641
+ const [n, a] = Je.useState(1), r = ue(), { t: c } = ne(), d = Y(), f = kt(), o = ((be = e.eventGame.branding) == null ? void 0 : be.colors) || null, l = d ? ((Ae = (Ge = e.eventGame.branding) == null ? void 0 : Ge.images) == null ? void 0 : Ae.mobileLogo) || ((Fe = (ke = e.eventGame.branding) == null ? void 0 : ke.images) == null ? void 0 : Fe.mainLogo) || "" : ((we = (Te = e.eventGame.branding) == null ? void 0 : Te.images) == null ? void 0 : we.mainLogo) || "", g = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : d ? Me : Be, b = Ce(
6695
6642
  {
6696
6643
  images: e.eventGame.images,
6697
6644
  imagePlaceholder: g
6698
6645
  },
6699
6646
  le.SPLIT
6700
- ), m = p().palette.danger.plainColor, k = (o == null ? void 0 : o.contentColor) || p().textColor, u = (o == null ? void 0 : o.secondaryColor) || p().textColor, T = O().primary, h = (o == null ? void 0 : o.backgroundColor) || p().surfaceVariant, P = K(), C = (o == null ? void 0 : o.primaryColor) || p().palette.primary.plainColor, v = p().palette.primary.onPrimary, F = K().xl, D = ae(), I = ti({
6647
+ ), s = p().palette.danger.plainColor, k = (o == null ? void 0 : o.contentColor) || p().textColor, u = (o == null ? void 0 : o.secondaryColor) || p().textColor, T = q().primary, h = (o == null ? void 0 : o.backgroundColor) || p().surfaceVariant, P = J(), C = (o == null ? void 0 : o.primaryColor) || p().palette.primary.plainColor, v = p().palette.primary.onPrimary, F = J().xl, D = ae(), I = Jn({
6701
6648
  spacingScale: D,
6702
6649
  borderRadius: P,
6703
6650
  fontFamilyPrimary: T,
@@ -6705,40 +6652,40 @@ const bn = (e, n, a) => {
6705
6652
  textColor: k,
6706
6653
  secondaryColor: u,
6707
6654
  isMobile: d,
6708
- dangerColor: m
6655
+ dangerColor: s
6709
6656
  }), $ = (B) => {
6710
- var Q, re, z, V;
6657
+ var K, re, G, V;
6711
6658
  return /* @__PURE__ */ t(
6712
6659
  xe,
6713
6660
  {
6714
6661
  brandingLogo: l,
6715
6662
  textColor: B,
6716
6663
  label: null,
6717
- primaryUrl: (re = (Q = e.eventGame.branding) == null ? void 0 : Q.urls) == null ? void 0 : re.primaryUrl,
6718
- secondaryUrl: (V = (z = e.eventGame.branding) == null ? void 0 : z.urls) == null ? void 0 : V.secondaryUrl
6664
+ primaryUrl: (re = (K = e.eventGame.branding) == null ? void 0 : K.urls) == null ? void 0 : re.primaryUrl,
6665
+ secondaryUrl: (V = (G = e.eventGame.branding) == null ? void 0 : G.urls) == null ? void 0 : V.secondaryUrl
6719
6666
  }
6720
6667
  );
6721
6668
  }, w = et(
6722
- (B, Q) => {
6669
+ (B, K) => {
6723
6670
  e.setPrediction((re) => {
6724
- const z = { ...re }, V = z.fixtures.find(
6671
+ const G = { ...re }, V = G.fixtures.find(
6725
6672
  (Z) => Z.id === B
6726
6673
  );
6727
- return V && (V.prediction = Q), z;
6674
+ return V && (V.prediction = K), G;
6728
6675
  });
6729
6676
  },
6730
6677
  [e.setPrediction]
6731
- ), H = e.eventGame.fixtures.length + 1, y = e.eventGame.status === "OPEN" && ct(e.eventGame.predictionsCutoff || ""), G = () => {
6732
- var Q, re;
6678
+ ), H = e.eventGame.fixtures.length + 1, y = e.eventGame.status === "OPEN" && ct(e.eventGame.predictionsCutoff || ""), A = () => {
6679
+ var K, re;
6733
6680
  const B = e.eventGame.fixtures[n - 1];
6734
6681
  if (B && B.outcomeType === W.NUMBER) {
6735
- const z = B.validOutcomes, V = (re = (Q = e.prediction) == null ? void 0 : Q.fixtures) == null ? void 0 : re.find(
6682
+ const G = B.validOutcomes, V = (re = (K = e.prediction) == null ? void 0 : K.fixtures) == null ? void 0 : re.find(
6736
6683
  (Z) => Z.id === B.id
6737
6684
  );
6738
6685
  if (V && typeof V.prediction == "number") {
6739
6686
  const Z = Oe(
6740
6687
  V.prediction,
6741
- z
6688
+ G
6742
6689
  );
6743
6690
  Z !== V.prediction && w(B.id, Z);
6744
6691
  }
@@ -6746,63 +6693,63 @@ const bn = (e, n, a) => {
6746
6693
  n < H ? a(n + 1) : e.play();
6747
6694
  }, E = (B) => {
6748
6695
  a(B + 1);
6749
- }, A = () => {
6750
- var re, z;
6696
+ }, z = () => {
6697
+ var re, G;
6751
6698
  if (n === H) return !0;
6752
6699
  const B = e.eventGame.fixtures[n - 1];
6753
6700
  if (!B) return !1;
6754
- const Q = (z = (re = e.prediction) == null ? void 0 : re.fixtures) == null ? void 0 : z.find(
6701
+ const K = (G = (re = e.prediction) == null ? void 0 : re.fixtures) == null ? void 0 : G.find(
6755
6702
  (V) => V.id === B.id
6756
6703
  );
6757
- if (!Q) return !1;
6704
+ if (!K) return !1;
6758
6705
  switch (B.outcomeType) {
6759
6706
  case W.BOOLEAN:
6760
- return typeof Q.prediction == "boolean";
6707
+ return typeof K.prediction == "boolean";
6761
6708
  case W.NUMBER:
6762
- return typeof Q.prediction == "number";
6709
+ return typeof K.prediction == "number";
6763
6710
  case W.FREE_INPUT:
6764
- return typeof Q.prediction == "string" && Q.prediction.trim().length > 0;
6711
+ return typeof K.prediction == "string" && K.prediction.trim().length > 0;
6765
6712
  case W.ENUM:
6766
- return typeof Q.prediction == "string" && Q.prediction.trim().length > 0;
6713
+ return typeof K.prediction == "string" && K.prediction.trim().length > 0;
6767
6714
  default:
6768
6715
  return !1;
6769
6716
  }
6770
6717
  }, S = () => {
6771
6718
  n > 1 && a(n - 1);
6772
- }, R = () => /* @__PURE__ */ t(i, { sx: I.questionAreaContent, children: /* @__PURE__ */ t(i, { sx: I.mainContentContainer, children: /* @__PURE__ */ s(i, { sx: I.gameStateContainer, children: [
6719
+ }, R = () => /* @__PURE__ */ t(i, { sx: I.questionAreaContent, children: /* @__PURE__ */ t(i, { sx: I.mainContentContainer, children: /* @__PURE__ */ m(i, { sx: I.gameStateContainer, children: [
6773
6720
  /* @__PURE__ */ t(x, { sx: I.stateTitle, children: c("eventGame.states.pending.title") }),
6774
6721
  /* @__PURE__ */ t(x, { sx: I.stateDescription, children: c("eventGame.states.pending.description") })
6775
- ] }) }) }), L = () => /* @__PURE__ */ t(i, { sx: I.questionAreaContent, children: /* @__PURE__ */ t(i, { sx: I.mainContentContainer, children: /* @__PURE__ */ s(i, { sx: I.gameStateContainer, children: [
6776
- /* @__PURE__ */ s(i, { sx: I.liveIndicatorContainer, children: [
6722
+ ] }) }) }), L = () => /* @__PURE__ */ t(i, { sx: I.questionAreaContent, children: /* @__PURE__ */ t(i, { sx: I.mainContentContainer, children: /* @__PURE__ */ m(i, { sx: I.gameStateContainer, children: [
6723
+ /* @__PURE__ */ m(i, { sx: I.liveIndicatorContainer, children: [
6777
6724
  /* @__PURE__ */ t(i, { sx: I.liveIndicator }),
6778
6725
  /* @__PURE__ */ t(x, { sx: I.liveText, children: c("eventGame.states.live.indicator") })
6779
6726
  ] }),
6780
6727
  /* @__PURE__ */ t(x, { sx: I.stateDescription, children: c("eventGame.states.live.description") })
6781
- ] }) }) }), U = () => /* @__PURE__ */ t(i, { sx: I.questionAreaContent, children: /* @__PURE__ */ t(i, { sx: I.mainContentContainer, children: /* @__PURE__ */ s(i, { sx: I.gameStateContainer, children: [
6728
+ ] }) }) }), U = () => /* @__PURE__ */ t(i, { sx: I.questionAreaContent, children: /* @__PURE__ */ t(i, { sx: I.mainContentContainer, children: /* @__PURE__ */ m(i, { sx: I.gameStateContainer, children: [
6782
6729
  /* @__PURE__ */ t(x, { sx: I.stateTitle, children: c("eventGame.states.closed.title") }),
6783
6730
  /* @__PURE__ */ t(x, { sx: I.stateDescription, children: c("eventGame.states.closed.description") })
6784
- ] }) }) }), _ = () => /* @__PURE__ */ s(i, { sx: I.gameStateContainer, children: [
6731
+ ] }) }) }), _ = () => /* @__PURE__ */ m(i, { sx: I.gameStateContainer, children: [
6785
6732
  /* @__PURE__ */ t(x, { sx: I.stateTitle, children: c("eventGame.states.open.title") }),
6786
6733
  /* @__PURE__ */ t(x, { sx: I.stateDescription, children: c("eventGame.states.open.description") })
6787
6734
  ] }), oe = Ve(() => e.eventGame.fixtures[n - 1], [e.eventGame.fixtures, n]), me = Ve(() => oe ? {
6788
6735
  onSelectionChange: (B) => w(oe.id, B)
6789
6736
  } : {}, [oe == null ? void 0 : oe.id, w]), ye = () => {
6790
- var Q, re, z, V, Z, ce, ie, de;
6737
+ var K, re, G, V, Z, ce, ie, de;
6791
6738
  const B = oe;
6792
6739
  if (y)
6793
6740
  return _();
6794
6741
  if (B)
6795
6742
  switch (B.outcomeType) {
6796
6743
  case W.NUMBER:
6797
- const he = (re = (Q = e.prediction) == null ? void 0 : Q.fixtures) == null ? void 0 : re.find(
6798
- (q) => q.id === B.id
6744
+ const he = (re = (K = e.prediction) == null ? void 0 : K.fixtures) == null ? void 0 : re.find(
6745
+ (O) => O.id === B.id
6799
6746
  ), M = B.validOutcomes;
6800
6747
  return /* @__PURE__ */ t(
6801
6748
  nt,
6802
6749
  {
6803
6750
  prediction: typeof (he == null ? void 0 : he.prediction) == "number" ? he.prediction : 0,
6804
6751
  isSplitVariant: !0,
6805
- onChange: (q) => me.onSelectionChange(q),
6752
+ onChange: (O) => me.onSelectionChange(O),
6806
6753
  question: B.question,
6807
6754
  validOutcomes: M || null,
6808
6755
  fixtureId: B.id
@@ -6810,8 +6757,8 @@ const bn = (e, n, a) => {
6810
6757
  `${B.id}-${n}`
6811
6758
  );
6812
6759
  case W.BOOLEAN:
6813
- const X = (V = (z = e.prediction) == null ? void 0 : z.fixtures) == null ? void 0 : V.find(
6814
- (q) => q.id === B.id
6760
+ const X = (V = (G = e.prediction) == null ? void 0 : G.fixtures) == null ? void 0 : V.find(
6761
+ (O) => O.id === B.id
6815
6762
  );
6816
6763
  return /* @__PURE__ */ t(
6817
6764
  it,
@@ -6826,7 +6773,7 @@ const bn = (e, n, a) => {
6826
6773
  );
6827
6774
  case W.FREE_INPUT:
6828
6775
  const ee = (ce = (Z = e.prediction) == null ? void 0 : Z.fixtures) == null ? void 0 : ce.find(
6829
- (q) => q.id === B.id
6776
+ (O) => O.id === B.id
6830
6777
  );
6831
6778
  return /* @__PURE__ */ t(
6832
6779
  pe,
@@ -6834,7 +6781,7 @@ const bn = (e, n, a) => {
6834
6781
  question: B.question,
6835
6782
  prediction: typeof (ee == null ? void 0 : ee.prediction) == "string" ? ee.prediction : null,
6836
6783
  validOutcomes: null,
6837
- onTextChange: (q) => me.onSelectionChange(q),
6784
+ onTextChange: (O) => me.onSelectionChange(O),
6838
6785
  isSplitVariant: !0,
6839
6786
  fixtureId: B.id
6840
6787
  },
@@ -6842,7 +6789,7 @@ const bn = (e, n, a) => {
6842
6789
  );
6843
6790
  case W.ENUM:
6844
6791
  const te = (de = (ie = e.prediction) == null ? void 0 : ie.fixtures) == null ? void 0 : de.find(
6845
- (q) => q.id === B.id
6792
+ (O) => O.id === B.id
6846
6793
  );
6847
6794
  return /* @__PURE__ */ t(
6848
6795
  pe,
@@ -6850,7 +6797,7 @@ const bn = (e, n, a) => {
6850
6797
  question: B.question,
6851
6798
  prediction: typeof (te == null ? void 0 : te.prediction) == "string" ? te.prediction : null,
6852
6799
  validOutcomes: B.validOutcomes,
6853
- onTextChange: (q) => me.onSelectionChange(q),
6800
+ onTextChange: (O) => me.onSelectionChange(O),
6854
6801
  isSplitVariant: !0,
6855
6802
  fixtureId: B.id,
6856
6803
  optionsLayout: e.optionsLayout
@@ -6858,7 +6805,7 @@ const bn = (e, n, a) => {
6858
6805
  `${B.id}-${n}`
6859
6806
  );
6860
6807
  }
6861
- }, Pe = () => /* @__PURE__ */ s(j, { children: [
6808
+ }, Pe = () => /* @__PURE__ */ m(j, { children: [
6862
6809
  e.showCountdown && !y && e.eventGame.status === "OPEN" && /* @__PURE__ */ t(
6863
6810
  i,
6864
6811
  {
@@ -6883,7 +6830,7 @@ const bn = (e, n, a) => {
6883
6830
  isSplitVariant: !0
6884
6831
  }
6885
6832
  ) }),
6886
- /* @__PURE__ */ t(i, { sx: I.questionAreaContent, children: /* @__PURE__ */ s(i, { sx: I.mainContentContainer, children: [
6833
+ /* @__PURE__ */ t(i, { sx: I.questionAreaContent, children: /* @__PURE__ */ m(i, { sx: I.mainContentContainer, children: [
6887
6834
  n === H ? /* @__PURE__ */ t(
6888
6835
  $e,
6889
6836
  {
@@ -6897,7 +6844,7 @@ const bn = (e, n, a) => {
6897
6844
  brandingPrimaryColor: o == null ? void 0 : o.primaryColor
6898
6845
  }
6899
6846
  ) : ye(),
6900
- /* @__PURE__ */ s(i, { sx: I.navigationContainer, children: [
6847
+ /* @__PURE__ */ m(i, { sx: I.navigationContainer, children: [
6901
6848
  n > 1 && n < H && /* @__PURE__ */ t(
6902
6849
  Re,
6903
6850
  {
@@ -6945,12 +6892,12 @@ const bn = (e, n, a) => {
6945
6892
  Re,
6946
6893
  {
6947
6894
  variant: "soft",
6948
- onClick: A() ? G : () => {
6895
+ onClick: z() ? A : () => {
6949
6896
  },
6950
6897
  loading: e.isPlaying,
6951
6898
  sx: {
6952
- cursor: A() ? "pointer" : "not-allowed",
6953
- opacity: A() ? "1" : "0.5",
6899
+ cursor: z() ? "pointer" : "not-allowed",
6900
+ opacity: z() ? "1" : "0.5",
6954
6901
  borderRadius: F,
6955
6902
  py: "10px",
6956
6903
  px: "16px",
@@ -7009,9 +6956,9 @@ const bn = (e, n, a) => {
7009
6956
  return Pe();
7010
6957
  }
7011
6958
  };
7012
- return /* @__PURE__ */ s(ve, { brandingBorderColor: (o == null ? void 0 : o.borderColor) || null, children: [
6959
+ return /* @__PURE__ */ m(ve, { brandingBorderColor: (o == null ? void 0 : o.borderColor) || null, children: [
7013
6960
  /* @__PURE__ */ t(
7014
- Yt,
6961
+ qt,
7015
6962
  {
7016
6963
  entity: { ...e.eventGame, labels: null },
7017
6964
  headline: c("eventGame.headline"),
@@ -7026,7 +6973,7 @@ const bn = (e, n, a) => {
7026
6973
  (o == null ? void 0 : o.contentColor) || r.colorSchemes.dark.textColor
7027
6974
  ) })
7028
6975
  ] });
7029
- }, ii = (e) => {
6976
+ }, ti = (e) => {
7030
6977
  var n, a, r;
7031
6978
  return {
7032
6979
  // Main headline section with background image
@@ -7255,22 +7202,22 @@ const bn = (e, n, a) => {
7255
7202
  lineHeight: 1
7256
7203
  }
7257
7204
  };
7258
- }, ai = (e) => {
7259
- var E, A, S, R, L, U, _;
7205
+ }, ni = (e) => {
7206
+ var E, z, S, R, L, U, _;
7260
7207
  const n = ue(), { t: a } = ne(), r = Y(), c = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : r ? Me : Be, d = Ce(
7261
7208
  {
7262
7209
  images: e.event.images,
7263
7210
  imagePlaceholder: c
7264
7211
  },
7265
7212
  le.SPLIT
7266
- ), f = r ? ((A = (E = e.event.branding) == null ? void 0 : E.images) == null ? void 0 : A.mobileLogo) || ((R = (S = e.event.branding) == null ? void 0 : S.images) == null ? void 0 : R.mainLogo) || "" : ((U = (L = e.event.branding) == null ? void 0 : L.images) == null ? void 0 : U.mainLogo) || "", o = ((_ = e.event.branding) == null ? void 0 : _.colors) || null, l = p().palette.danger.plainColor, g = (o == null ? void 0 : o.contentColor) || p().textColor, b = (o == null ? void 0 : o.secondaryColor) || p().textColor, m = O().secondary, k = "60%", u = O().primary, T = (o == null ? void 0 : o.backgroundColor) || p().surfaceVariant, h = K(), P = ae(), C = Ee(
7213
+ ), f = r ? ((z = (E = e.event.branding) == null ? void 0 : E.images) == null ? void 0 : z.mobileLogo) || ((R = (S = e.event.branding) == null ? void 0 : S.images) == null ? void 0 : R.mainLogo) || "" : ((U = (L = e.event.branding) == null ? void 0 : L.images) == null ? void 0 : U.mainLogo) || "", o = ((_ = e.event.branding) == null ? void 0 : _.colors) || null, l = p().palette.danger.plainColor, g = (o == null ? void 0 : o.contentColor) || p().textColor, b = (o == null ? void 0 : o.secondaryColor) || p().textColor, s = q().secondary, k = "60%", u = q().primary, T = (o == null ? void 0 : o.backgroundColor) || p().surfaceVariant, h = J(), P = ae(), C = Ee(
7267
7214
  le.SPLIT
7268
- ), { rankings: v, pagination: F, loading: D, goToNextPage: I, goToPreviousPage: $ } = ut(e.event.id, e.sdk), w = ii({
7215
+ ), { rankings: v, pagination: F, loading: D, goToNextPage: I, goToPreviousPage: $ } = ut(e.event.id, e.sdk), w = ti({
7269
7216
  finalImage: d,
7270
7217
  spacingScale: P,
7271
7218
  borderRadius: h,
7272
7219
  fontFamilyPrimary: u,
7273
- fontFamilySecondary: m,
7220
+ fontFamilySecondary: s,
7274
7221
  secondaryColor: b,
7275
7222
  opacity: k,
7276
7223
  bgcolor: N(T || ""),
@@ -7281,7 +7228,7 @@ const bn = (e, n, a) => {
7281
7228
  dangerColor: l,
7282
7229
  isTabulated: e.showPredictionDetails || !1,
7283
7230
  brandingColors: o
7284
- }), H = () => /* @__PURE__ */ t(j, { children: /* @__PURE__ */ t(i, { sx: w.questionAreaContent, children: /* @__PURE__ */ s(i, { sx: w.mainContentContainer, children: [
7231
+ }), H = () => /* @__PURE__ */ t(j, { children: /* @__PURE__ */ t(i, { sx: w.questionAreaContent, children: /* @__PURE__ */ m(i, { sx: w.mainContentContainer, children: [
7285
7232
  /* @__PURE__ */ t(
7286
7233
  mt,
7287
7234
  {
@@ -7328,9 +7275,9 @@ const bn = (e, n, a) => {
7328
7275
  )
7329
7276
  }
7330
7277
  )
7331
- ] }) }) }), y = () => /* @__PURE__ */ t(i, { sx: w.headlineSection, children: /* @__PURE__ */ s(i, { sx: w.headlineContent, children: [
7332
- /* @__PURE__ */ s(i, { children: [
7333
- /* @__PURE__ */ s(
7278
+ ] }) }) }), y = () => /* @__PURE__ */ t(i, { sx: w.headlineSection, children: /* @__PURE__ */ m(i, { sx: w.headlineContent, children: [
7279
+ /* @__PURE__ */ m(i, { children: [
7280
+ /* @__PURE__ */ m(
7334
7281
  i,
7335
7282
  {
7336
7283
  sx: {
@@ -7352,15 +7299,15 @@ const bn = (e, n, a) => {
7352
7299
  ]
7353
7300
  }
7354
7301
  ),
7355
- /* @__PURE__ */ s(i, { sx: w.contentContainer, children: [
7302
+ /* @__PURE__ */ m(i, { sx: w.contentContainer, children: [
7356
7303
  /* @__PURE__ */ t(x, { sx: w.titleText, children: e.event.title }),
7357
7304
  /* @__PURE__ */ t(x, { sx: w.descriptionText, children: Le(e.event.description) })
7358
7305
  ] })
7359
7306
  ] }),
7360
- f && !r && /* @__PURE__ */ t(i, { children: G(
7307
+ f && !r && /* @__PURE__ */ t(i, { children: A(
7361
7308
  (o == null ? void 0 : o.contentColor) || n.colorSchemes.dark.textColor
7362
7309
  ) })
7363
- ] }) }), G = (oe) => /* @__PURE__ */ t(
7310
+ ] }) }), A = (oe) => /* @__PURE__ */ t(
7364
7311
  xe,
7365
7312
  {
7366
7313
  brandingLogo: f,
@@ -7368,7 +7315,7 @@ const bn = (e, n, a) => {
7368
7315
  label: null
7369
7316
  }
7370
7317
  );
7371
- return /* @__PURE__ */ t(ve, { brandingBorderColor: (o == null ? void 0 : o.borderColor) || null, children: e.showPredictionDetails ? /* @__PURE__ */ s(
7318
+ return /* @__PURE__ */ t(ve, { brandingBorderColor: (o == null ? void 0 : o.borderColor) || null, children: e.showPredictionDetails ? /* @__PURE__ */ m(
7372
7319
  st,
7373
7320
  {
7374
7321
  prediction: e.prediction,
@@ -7386,11 +7333,11 @@ const bn = (e, n, a) => {
7386
7333
  H()
7387
7334
  ]
7388
7335
  }
7389
- ) : /* @__PURE__ */ s(j, { children: [
7336
+ ) : /* @__PURE__ */ m(j, { children: [
7390
7337
  y(),
7391
7338
  H()
7392
7339
  ] }) });
7393
- }, oi = (e) => ({
7340
+ }, ii = (e) => ({
7394
7341
  // Main content wrapper
7395
7342
  mainContentWrapper: {
7396
7343
  display: "flex",
@@ -7542,7 +7489,7 @@ const bn = (e, n, a) => {
7542
7489
  zIndex: 1
7543
7490
  }
7544
7491
  }
7545
- }), li = (e) => {
7492
+ }), ai = (e) => {
7546
7493
  const n = ue(), a = ae(), { t: r } = ne(), c = Y(), d = Ee(
7547
7494
  le.OVERLAY
7548
7495
  ), { brandingImage: f, brandingColors: o, brandingLogo: l } = tt(e.eventGame.branding), g = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : c ? Me : Be, b = f || Ce(
@@ -7551,9 +7498,9 @@ const bn = (e, n, a) => {
7551
7498
  imagePlaceholder: g
7552
7499
  },
7553
7500
  le.OVERLAY
7554
- ), m = Et(b), k = (o == null ? void 0 : o.secondaryColor) || n.colorSchemes.dark.textSecondary, u = n.colorSchemes.dark.secondaryContainer, T = n.colorSchemes.dark.textPrimary, h = n.customFontFamily.light.primary, P = n.customRadius.light.md, C = n.customRadius.light.xl, v = (o == null ? void 0 : o.backgroundColor) || n.colorSchemes.dark.surfaceVariant, F = e.eventGame.status === "OPEN" && e.prediction && e.onPredictionUpdate, D = (G) => {
7555
- console.log(`Edit prediction for fixture at index: ${G}`);
7556
- }, I = oi({
7501
+ ), s = Wt(b), k = (o == null ? void 0 : o.secondaryColor) || n.colorSchemes.dark.textSecondary, u = n.colorSchemes.dark.secondaryContainer, T = n.colorSchemes.dark.textPrimary, h = n.customFontFamily.light.primary, P = n.customRadius.light.md, C = n.customRadius.light.xl, v = (o == null ? void 0 : o.backgroundColor) || n.colorSchemes.dark.surfaceVariant, F = e.eventGame.status === "OPEN" && e.prediction && e.onPredictionUpdate, D = (A) => {
7502
+ console.log(`Edit prediction for fixture at index: ${A}`);
7503
+ }, I = ii({
7557
7504
  spacingScale: a,
7558
7505
  textPrimary: T,
7559
7506
  fontFamilyPrimary: h,
@@ -7591,7 +7538,7 @@ const bn = (e, n, a) => {
7591
7538
  lineHeight: "24px",
7592
7539
  letterSpacing: "0.40px",
7593
7540
  textTransform: "uppercase"
7594
- }, y = () => /* @__PURE__ */ s(i, { sx: I.mainContentWrapper, children: [
7541
+ }, y = () => /* @__PURE__ */ m(i, { sx: I.mainContentWrapper, children: [
7595
7542
  e.isUnauthorized ? /* @__PURE__ */ t(j, { children: /* @__PURE__ */ t(
7596
7543
  dt,
7597
7544
  {
@@ -7614,7 +7561,7 @@ const bn = (e, n, a) => {
7614
7561
  }
7615
7562
  ) : null }) }),
7616
7563
  e.chanceGameContent,
7617
- c ? /* @__PURE__ */ s(j, { children: [
7564
+ c ? /* @__PURE__ */ m(j, { children: [
7618
7565
  e.additionalCTA && /* @__PURE__ */ t(
7619
7566
  i,
7620
7567
  {
@@ -7652,7 +7599,7 @@ const bn = (e, n, a) => {
7652
7599
  )
7653
7600
  }
7654
7601
  )
7655
- ] }) : /* @__PURE__ */ t(j, { children: (l || e.additionalCTA) && /* @__PURE__ */ s(
7602
+ ] }) : /* @__PURE__ */ t(j, { children: (l || e.additionalCTA) && /* @__PURE__ */ m(
7656
7603
  i,
7657
7604
  {
7658
7605
  sx: {
@@ -7685,17 +7632,17 @@ const bn = (e, n, a) => {
7685
7632
  ) })
7686
7633
  ] });
7687
7634
  return /* @__PURE__ */ t(
7688
- hn,
7635
+ xn,
7689
7636
  {
7690
7637
  entity: { ...e.eventGame, labels: null },
7691
7638
  headline: r("eventGame.headline"),
7692
- backgroundImage: m,
7639
+ backgroundImage: s,
7693
7640
  imageBackgroundGradient: d,
7694
7641
  rulesDisplay: e.rulesDisplay,
7695
7642
  children: y()
7696
7643
  }
7697
7644
  );
7698
- }, ri = (e) => {
7645
+ }, oi = (e) => {
7699
7646
  const n = (r, c) => {
7700
7647
  switch (r) {
7701
7648
  case W.NUMBER:
@@ -7705,7 +7652,7 @@ const bn = (e, n, a) => {
7705
7652
  case W.FREE_INPUT:
7706
7653
  return null;
7707
7654
  }
7708
- }, a = new _t();
7655
+ }, a = new Yt();
7709
7656
  return a.fixtures = e.map((r) => ({
7710
7657
  id: r.id,
7711
7658
  predictionType: r.outcomeType,
@@ -7718,8 +7665,8 @@ const bn = (e, n, a) => {
7718
7665
  function Ke(e) {
7719
7666
  return e.template === le.STANDARD;
7720
7667
  }
7721
- const ci = (e) => {
7722
- const { t: n } = ne(), { game: a, points: r } = bn(
7668
+ const li = (e) => {
7669
+ const { t: n } = ne(), { game: a, points: r } = yn(
7723
7670
  e.entityId,
7724
7671
  e.sdk,
7725
7672
  e.showPoints
@@ -7731,26 +7678,26 @@ const ci = (e) => {
7731
7678
  setIsApiError: l,
7732
7679
  isUnauthorized: g,
7733
7680
  setIsUnauthorized: b,
7734
- setApiErrorMessage: m
7735
- } = Sn(e.entityId, e.sdk), [k, u] = J(!1), [T, h] = J({
7681
+ setApiErrorMessage: s
7682
+ } = hn(e.entityId, e.sdk), [k, u] = Q(!1), [T, h] = Q({
7736
7683
  fixtures: [],
7737
7684
  tiebreaker: null
7738
- }), [P, C] = J({
7685
+ }), [P, C] = Q({
7739
7686
  open: !1,
7740
7687
  variant: "success",
7741
7688
  title: "",
7742
7689
  message: ""
7743
- }), v = (y, G, E) => {
7690
+ }), v = (y, A, E) => {
7744
7691
  C({
7745
7692
  open: !0,
7746
7693
  variant: y,
7747
- title: G,
7694
+ title: A,
7748
7695
  message: E
7749
7696
  });
7750
7697
  }, F = () => {
7751
7698
  C((y) => ({ ...y, open: !1 }));
7752
7699
  }, D = (y) => {
7753
- var G, E, A, S, R;
7700
+ var A, E, z, S, R;
7754
7701
  y.success ? v(
7755
7702
  "success",
7756
7703
  n("eventGame.alerts.play.success.title"),
@@ -7758,21 +7705,21 @@ const ci = (e) => {
7758
7705
  ) : v(
7759
7706
  "error",
7760
7707
  n("eventGame.alerts.play.error.title"),
7761
- ((A = (E = (G = y.error) == null ? void 0 : G.data) == null ? void 0 : E.error) == null ? void 0 : A.message) || ((R = (S = y.error) == null ? void 0 : S.error) == null ? void 0 : R.message) || n("eventGame.alerts.play.error.message")
7708
+ ((z = (E = (A = y.error) == null ? void 0 : A.data) == null ? void 0 : E.error) == null ? void 0 : z.message) || ((R = (S = y.error) == null ? void 0 : S.error) == null ? void 0 : R.message) || n("eventGame.alerts.play.error.message")
7762
7709
  );
7763
- }, I = Ve(() => a ? $t(a.related) : null, [a]);
7710
+ }, I = Ve(() => a ? Et(a.related) : null, [a]);
7764
7711
  if (je(() => {
7765
- a && a.status === "OPEN" && h(ri(a.fixtures));
7712
+ a && a.status === "OPEN" && h(oi(a.fixtures));
7766
7713
  }, [a == null ? void 0 : a.status]), !a || c === void 0)
7767
7714
  return /* @__PURE__ */ t(Ft, { my: 20 });
7768
7715
  if (!a.id)
7769
- return /* @__PURE__ */ t(Yn, {});
7716
+ return /* @__PURE__ */ t(On, {});
7770
7717
  const $ = () => {
7771
- l(!1), b(!1), m("");
7718
+ l(!1), b(!1), s("");
7772
7719
  };
7773
7720
  if (g || f)
7774
7721
  return Ke(e) ? /* @__PURE__ */ t(
7775
- _n,
7722
+ qn,
7776
7723
  {
7777
7724
  eventGame: a,
7778
7725
  imagePosition: e.imagePosition,
@@ -7782,7 +7729,7 @@ const ci = (e) => {
7782
7729
  toggleTryAgain: $
7783
7730
  }
7784
7731
  ) : e.template === le.OVERLAY ? /* @__PURE__ */ t(
7785
- Xn,
7732
+ _n,
7786
7733
  {
7787
7734
  eventGame: a,
7788
7735
  defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
@@ -7791,7 +7738,7 @@ const ci = (e) => {
7791
7738
  toggleTryAgain: $
7792
7739
  }
7793
7740
  ) : /* @__PURE__ */ t(
7794
- Zn,
7741
+ Yn,
7795
7742
  {
7796
7743
  eventGame: a,
7797
7744
  defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
@@ -7807,13 +7754,13 @@ const ci = (e) => {
7807
7754
  tiebreaker: null
7808
7755
  //TODO:
7809
7756
  };
7810
- c ? y.fixtures = c.fixtures.map((G) => ({
7811
- id: G.id,
7812
- predictionType: G.predictionType,
7813
- prediction: G.prediction
7757
+ c ? y.fixtures = c.fixtures.map((A) => ({
7758
+ id: A.id,
7759
+ predictionType: A.predictionType,
7760
+ prediction: A.prediction
7814
7761
  })) : y = { ...T };
7815
7762
  try {
7816
- const G = c ? await e.sdk.eventGame.updatePrediction(
7763
+ const A = c ? await e.sdk.eventGame.updatePrediction(
7817
7764
  e.entityId,
7818
7765
  c.id,
7819
7766
  y
@@ -7821,32 +7768,32 @@ const ci = (e) => {
7821
7768
  e.entityId,
7822
7769
  y
7823
7770
  );
7824
- d(G), v(
7771
+ d(A), v(
7825
7772
  "success",
7826
7773
  n("eventGame.alerts.play.success.title"),
7827
7774
  n("eventGame.alerts.play.success.message")
7828
7775
  );
7829
- } catch (G) {
7776
+ } catch (A) {
7830
7777
  if (e.sdk.helpers.getSDKConfiguration().errorHandlingMode === "standard") {
7831
- const A = G;
7832
- A.error.code === 401 || A.error.code === 403 ? b(!0) : v(
7778
+ const z = A;
7779
+ z.error.code === 401 || z.error.code === 403 ? b(!0) : v(
7833
7780
  "error",
7834
7781
  n("eventGame.alerts.play.error.title"),
7835
- A.error.message || n("eventGame.alerts.play.error.message")
7782
+ z.error.message || n("eventGame.alerts.play.error.message")
7836
7783
  );
7837
7784
  } else {
7838
- const A = G;
7839
- A.data.error.code === 401 || A.data.error.code === 403 ? b(!0) : v(
7785
+ const z = A;
7786
+ z.data.error.code === 401 || z.data.error.code === 403 ? b(!0) : v(
7840
7787
  "error",
7841
7788
  n("eventGame.alerts.play.error.title"),
7842
- A.data.error.message || n("eventGame.alerts.play.error.message")
7789
+ z.data.error.message || n("eventGame.alerts.play.error.message")
7843
7790
  );
7844
7791
  }
7845
7792
  } finally {
7846
7793
  u(!1);
7847
7794
  }
7848
7795
  }, H = () => e.template === le.OVERLAY ? /* @__PURE__ */ t(at, { points: r || [], children: /* @__PURE__ */ t(
7849
- ei,
7796
+ Qn,
7850
7797
  {
7851
7798
  isPlaying: k,
7852
7799
  prediction: T,
@@ -7861,7 +7808,7 @@ const ci = (e) => {
7861
7808
  rulesDisplay: e.rulesDisplay
7862
7809
  }
7863
7810
  ) }) : Ke(e) ? /* @__PURE__ */ t(at, { points: r || [], children: /* @__PURE__ */ t(
7864
- Hn,
7811
+ Mn,
7865
7812
  {
7866
7813
  isPlaying: k,
7867
7814
  sdk: e.sdk,
@@ -7877,7 +7824,7 @@ const ci = (e) => {
7877
7824
  rulesDisplay: e.rulesDisplay
7878
7825
  }
7879
7826
  ) }) : /* @__PURE__ */ t(at, { points: r || [], children: /* @__PURE__ */ t(
7880
- ni,
7827
+ ei,
7881
7828
  {
7882
7829
  isPlaying: k,
7883
7830
  prediction: T,
@@ -7894,7 +7841,7 @@ const ci = (e) => {
7894
7841
  ) });
7895
7842
  if (a.status === "SETTLED")
7896
7843
  return Ke(e) ? /* @__PURE__ */ t(
7897
- Qn,
7844
+ Xn,
7898
7845
  {
7899
7846
  sdk: e.sdk,
7900
7847
  eventGame: a,
@@ -7905,7 +7852,7 @@ const ci = (e) => {
7905
7852
  rulesDisplay: e.rulesDisplay
7906
7853
  }
7907
7854
  ) : e.template === le.OVERLAY ? /* @__PURE__ */ t(
7908
- qn,
7855
+ Nn,
7909
7856
  {
7910
7857
  sdk: e.sdk,
7911
7858
  game: a,
@@ -7915,7 +7862,7 @@ const ci = (e) => {
7915
7862
  rulesDisplay: e.rulesDisplay
7916
7863
  }
7917
7864
  ) : /* @__PURE__ */ t(
7918
- ai,
7865
+ ni,
7919
7866
  {
7920
7867
  sdk: e.sdk,
7921
7868
  event: a,
@@ -7926,10 +7873,10 @@ const ci = (e) => {
7926
7873
  }
7927
7874
  );
7928
7875
  if (c) {
7929
- const y = I ? /* @__PURE__ */ t(xt, { entityId: I, sdk: e.sdk, children: (E) => /* @__PURE__ */ t(yt, { infoPage: E, variant: e.chanceGameVariant }) }) : void 0, G = I ? /* @__PURE__ */ t(xt, { entityId: I, sdk: e.sdk, children: (E) => /* @__PURE__ */ t(yt, { infoPage: E, variant: e.chanceGameVariant, forceMobile: !0 }) }) : void 0;
7930
- return e.template === le.OVERLAY ? /* @__PURE__ */ s(j, { children: [
7876
+ const y = I ? /* @__PURE__ */ t(xt, { entityId: I, sdk: e.sdk, children: (E) => /* @__PURE__ */ t(yt, { infoPage: E, variant: e.chanceGameVariant }) }) : void 0, A = I ? /* @__PURE__ */ t(xt, { entityId: I, sdk: e.sdk, children: (E) => /* @__PURE__ */ t(yt, { infoPage: E, variant: e.chanceGameVariant, forceMobile: !0 }) }) : void 0;
7877
+ return e.template === le.OVERLAY ? /* @__PURE__ */ m(j, { children: [
7931
7878
  /* @__PURE__ */ t(
7932
- li,
7879
+ ai,
7933
7880
  {
7934
7881
  sdk: e.sdk,
7935
7882
  leads: e.leads,
@@ -7952,9 +7899,9 @@ const ci = (e) => {
7952
7899
  onClose: F
7953
7900
  }
7954
7901
  )
7955
- ] }) : Ke(e) ? /* @__PURE__ */ s(j, { children: [
7902
+ ] }) : Ke(e) ? /* @__PURE__ */ m(j, { children: [
7956
7903
  /* @__PURE__ */ t(
7957
- Ln,
7904
+ En,
7958
7905
  {
7959
7906
  imagePosition: e.imagePosition || "left",
7960
7907
  eventGame: a,
@@ -7968,7 +7915,7 @@ const ci = (e) => {
7968
7915
  onPlayResult: D,
7969
7916
  additionalCTA: e.additionalCTA,
7970
7917
  rulesDisplay: e.rulesDisplay,
7971
- chanceGameContent: G
7918
+ chanceGameContent: A
7972
7919
  }
7973
7920
  ),
7974
7921
  /* @__PURE__ */ t(
@@ -7978,9 +7925,9 @@ const ci = (e) => {
7978
7925
  onClose: F
7979
7926
  }
7980
7927
  )
7981
- ] }) : /* @__PURE__ */ s(j, { children: [
7928
+ ] }) : /* @__PURE__ */ m(j, { children: [
7982
7929
  /* @__PURE__ */ t(
7983
- Vn,
7930
+ Ln,
7984
7931
  {
7985
7932
  eventGame: a,
7986
7933
  sdk: e.sdk,
@@ -7993,17 +7940,17 @@ const ci = (e) => {
7993
7940
  onPlayResult: D,
7994
7941
  additionalCTA: e.additionalCTA,
7995
7942
  rulesDisplay: e.rulesDisplay,
7996
- chanceGameContent: G
7943
+ chanceGameContent: A
7997
7944
  }
7998
7945
  ),
7999
7946
  /* @__PURE__ */ t(Xe, { notification: P, onClose: F })
8000
7947
  ] });
8001
7948
  }
8002
- return /* @__PURE__ */ s(j, { children: [
7949
+ return /* @__PURE__ */ m(j, { children: [
8003
7950
  H(),
8004
7951
  /* @__PURE__ */ t(Xe, { notification: P, onClose: F })
8005
7952
  ] });
8006
- }, di = (e) => /* @__PURE__ */ t(Ht, { packageName: "event-game-play", ...e, children: /* @__PURE__ */ t(ci, { ...e }) }), Fi = di;
7953
+ }, ri = (e) => /* @__PURE__ */ t(Bt, { packageName: "event-game-play", ...e, children: /* @__PURE__ */ t(li, { ...e }) }), Ii = ri;
8007
7954
  export {
8008
- Fi as EventGamePlay
7955
+ Ii as EventGamePlay
8009
7956
  };