fansunited-frontend-components 0.0.92 → 0.0.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/Betslip.js +1 -1
  2. package/ChanceGame.js +139 -146
  3. package/ClassicQuizPlay.js +1 -1
  4. package/CollectLead.js +14 -20
  5. package/CompetitionStatistics.js +27 -27
  6. package/CompetitorCard.js +895 -891
  7. package/Discussion.js +1 -1
  8. package/EitherOrPlay.js +1 -1
  9. package/EventCard.js +1494 -1571
  10. package/EventGamePlay.js +1 -1
  11. package/Leaderboard.js +249 -257
  12. package/List.js +319 -436
  13. package/MatchQuizPlay.js +1 -1
  14. package/Odds.js +30 -30
  15. package/PersonalityQuizPlay.js +1 -1
  16. package/PickThePair.js +627 -693
  17. package/PlayerOfTheMatch.js +256 -279
  18. package/PollVote.js +1 -1
  19. package/Predictor.js +19443 -2
  20. package/README.md +2 -1
  21. package/Standings.js +94 -99
  22. package/TopX.js +5871 -6988
  23. package/chunks/ChanceGameEmbedVariant-C3NGwvTF.js +21 -0
  24. package/chunks/OddsSkeleton-Bav8FHHN.js +26 -0
  25. package/chunks/{OddsStrip-B159Nivm.js → OddsStrip-CviVfQI4.js} +51 -53
  26. package/chunks/{PickOneOfX-D9qlxKTD.js → PickOneOfX-a6Dv0-rR.js} +210 -212
  27. package/chunks/index-B1d9q8fX.js +4 -0
  28. package/chunks/index-BP0pvFJ4.js +4 -0
  29. package/chunks/index-CHZyL_g_.js +4 -0
  30. package/chunks/index-CeCUdRmF.js +4 -0
  31. package/chunks/index-Ckyyw-I8.js +4 -0
  32. package/chunks/index-DGvCP5G8.js +4 -0
  33. package/chunks/index-yjMVOgwO.js +4 -0
  34. package/chunks/{main-CcPVuc5G.js → main-CFwRpvUi.js} +219 -238
  35. package/chunks/{main-By2Fg4Us.js → main-D9tFZv2q.js} +272 -309
  36. package/chunks/{main-Db4YC1C9.js → main-Dj4Manb5.js} +386 -407
  37. package/chunks/{main-BhONg691.js → main-DjiQz1dv.js} +764 -1125
  38. package/chunks/{main-BoLNJccN.js → main-Dys2_Jt2.js} +1625 -1954
  39. package/chunks/{main-JAewg2VD.js → main-dwV_55lz.js} +409 -432
  40. package/chunks/main-eAQMCxQ7.js +1949 -0
  41. package/chunks/{main-CWfREbUv.js → main-gexg6lc-.js} +959 -977
  42. package/index.js +40 -44
  43. package/package.json +13 -5
  44. package/chunks/AccessTime-B7Q_InTi.js +0 -10
  45. package/chunks/AlertMessage-CTbc9daZ.js +0 -318
  46. package/chunks/Avatar-Ve0m4ut_.js +0 -353
  47. package/chunks/Button-x1sQVMH2.js +0 -665
  48. package/chunks/Card-DfxnA3Cz.js +0 -196
  49. package/chunks/CardActions-TMBAbk8a.js +0 -140
  50. package/chunks/CardContent-CLQHztIU.js +0 -106
  51. package/chunks/ChanceGameEmbedVariant-C3TKbPI4.js +0 -913
  52. package/chunks/CheckCircle-DW1VzjQO.js +0 -8
  53. package/chunks/Chip-BUoNpinI.js +0 -365
  54. package/chunks/CircularProgress-D88LgW2V.js +0 -317
  55. package/chunks/Close-BxLZcPtb.js +0 -9
  56. package/chunks/Close-DVx6f5-e.js +0 -8
  57. package/chunks/CollectLeadForm-DtUFKk99.js +0 -3419
  58. package/chunks/ConsentsList-BcIMKviP.js +0 -339
  59. package/chunks/DirectionScope-CK0duYt8.js +0 -36
  60. package/chunks/Divider-D_ALv2uC.js +0 -166
  61. package/chunks/Edit-CiKqhDom.js +0 -99
  62. package/chunks/EmojiEvents-BYoxruEl.js +0 -8
  63. package/chunks/FavoriteBorder-YhT6RHv5.js +0 -11
  64. package/chunks/FormControl-BNG04EhC.js +0 -656
  65. package/chunks/FormControlContext-Ct0huDDM.js +0 -6
  66. package/chunks/FormLabel-Bl7hTa8O.js +0 -130
  67. package/chunks/GlobalStyles-PokSS9bO.js +0 -12
  68. package/chunks/InlineSpinner-BhKW6lxZ.js +0 -28
  69. package/chunks/Input-B7kPqO0b.js +0 -391
  70. package/chunks/KeyboardArrowDown-OGGGLEnE.js +0 -8
  71. package/chunks/KeyboardArrowRight-DN7qrp17.js +0 -11
  72. package/chunks/KeyboardArrowUp-jvN5m_A0.js +0 -8
  73. package/chunks/Link-brb09X-6.js +0 -319
  74. package/chunks/ListItemButton-BFG5QJbo.js +0 -1151
  75. package/chunks/ModalClose-D3i-AyMB.js +0 -153
  76. package/chunks/ModalDialog-Be6w76fh.js +0 -880
  77. package/chunks/NotFoundSkeleton-BHRVG8yg.js +0 -83
  78. package/chunks/Notification-CC66HKXb.js +0 -614
  79. package/chunks/OddsSkeleton-BBOVhfsn.js +0 -137
  80. package/chunks/OverlayScoreStateSkeleton-D5rnBJ_w.js +0 -154
  81. package/chunks/OverlayScoreStateWrapperSkeleton-CTXzD0bm.js +0 -81
  82. package/chunks/OverlaySignInSkeleton-T8A_9Tco.js +0 -518
  83. package/chunks/OverlaySkeleton-y02LRXZy.js +0 -1193
  84. package/chunks/Person-BD-IO4aX.js +0 -8
  85. package/chunks/PersonOutline-Nxl_9g9S.js +0 -8
  86. package/chunks/Popper-CGfJHTbM.js +0 -1263
  87. package/chunks/Portal-DQQSLiON.js +0 -74
  88. package/chunks/Portal-X8O64KaQ.js +0 -66
  89. package/chunks/Predictor-BJBBwZ6R.js +0 -19513
  90. package/chunks/PrizeCard-B2tBhY45.js +0 -36400
  91. package/chunks/Search-jaDXe8g7.js +0 -14
  92. package/chunks/Select-CzBMHr7z.js +0 -1165
  93. package/chunks/Sheet-x-YGYOYz.js +0 -132
  94. package/chunks/SignInCta-3NFxIOuf.js +0 -79
  95. package/chunks/Spinner-_5U881sC.js +0 -39
  96. package/chunks/SportsSoccer-DLUgspA-.js +0 -20
  97. package/chunks/Stack-CDpKA1D-.js +0 -169
  98. package/chunks/StandardContentSkeleton-DaZftDxZ.js +0 -57
  99. package/chunks/Table-IJ9-D2DF.js +0 -394
  100. package/chunks/Tabs-iyOvjGfd.js +0 -1084
  101. package/chunks/Textarea-Dv_Z4l5j.js +0 -475
  102. package/chunks/TimerOutlined-jNsK__Zz.js +0 -8
  103. package/chunks/Tooltip-clSjN1oC.js +0 -535
  104. package/chunks/Typography-BsucZNXl.js +0 -775
  105. package/chunks/areArraysEqual-B3mXtHvh.js +0 -6
  106. package/chunks/colorInversionUtils-AoR_6ghW.js +0 -347
  107. package/chunks/createSvgIcon-BWoHeNkc.js +0 -2813
  108. package/chunks/createSvgIcon-DBkOhFdn.js +0 -206
  109. package/chunks/dividerClasses-BkQMLbsL.js +0 -9
  110. package/chunks/elementAcceptingRef-DjUfkpLB.js +0 -25
  111. package/chunks/enums-B1lTCQvC.js +0 -15
  112. package/chunks/formLabelClasses-N0g8NZ67.js +0 -9
  113. package/chunks/getReactElementRef-B3MFPBbS.js +0 -21
  114. package/chunks/helpers-CKFwVhwj.js +0 -558
  115. package/chunks/index-Bg5jypgn.js +0 -11
  116. package/chunks/index-Bnad45hB.js +0 -4
  117. package/chunks/index-C6rtfeRX.js +0 -4
  118. package/chunks/index-CFc0WTOi.js +0 -848
  119. package/chunks/index-C_kf8WZI.js +0 -4
  120. package/chunks/index-CaVpDbdC.js +0 -4
  121. package/chunks/index-DJJVbXn_.js +0 -4
  122. package/chunks/index-DQO7VDRC.js +0 -4
  123. package/chunks/index-Kgehqf8J.js +0 -4
  124. package/chunks/main-W_W6YBtr.js +0 -3280
  125. package/chunks/ownerWindow-PI509BpA.js +0 -7
  126. package/chunks/searchEntities-SJcoznz0.js +0 -38
  127. package/chunks/sportsEvents-CGX-WkNB.js +0 -27
  128. package/chunks/useButton-C9taTgFS.js +0 -106
  129. package/chunks/useConsents-BLhgfEDf.js +0 -1168
  130. package/chunks/useControlled-BYdyS7Pn.js +0 -31
  131. package/chunks/useEmbedCode-DCWnWGak.js +0 -31
  132. package/chunks/useEventCallback-C9W0M_8l.js +0 -14
  133. package/chunks/useForwardedInput-CkAnayh_.js +0 -180
  134. package/chunks/useImageVariant-B62O7iLC.js +0 -15
  135. package/chunks/useInfoPage-BHdgKdme.js +0 -50
  136. package/chunks/useParticipationDraft-Brnd_p3w.js +0 -307
  137. package/chunks/useSwitch-DLSSqtcZ.js +0 -66
  138. package/chunks/variantColorInheritance-DZr7CNx6.js +0 -30
  139. package/chunks/visuallyHidden-B8J7BVSJ.js +0 -14
@@ -1,46 +1,25 @@
1
1
  import { jsx as t, jsxs as g, Fragment as p } from "react/jsx-runtime";
2
- import gt, { useState as ee, useEffect as et, createContext as vn, memo as Tt, useCallback as Ze, useMemo as it, useRef as At } from "react";
3
- import { u as oe, i as de, B as i, a as te, g as Q, f as se, d as Ce, m as Xe, b as Ue, x as En, a4 as Dn, v as Ln, c as Be, h as It, e as dt, k as Rn, j as _n } from "./PrizeCard-B2tBhY45.js";
4
- import "react-dom";
5
- import { P as Mn } from "./Portal-X8O64KaQ.js";
6
- import { g as Qn, d as kt, s as Xt, h as ye, a as Rt, f as On, c as un } from "./helpers-CKFwVhwj.js";
7
- import { W as xe } from "./enums-B1lTCQvC.js";
8
- import { S as $t } from "./Spinner-_5U881sC.js";
9
- import { S as Hn, c as Kt, a as Bn, b as Wn, C as gn, d as hn } from "./ChanceGameEmbedVariant-C3TKbPI4.js";
10
- import { N as Ft } from "./Notification-CC66HKXb.js";
11
- import { C as xt, d as Dt, b as Zt, c as Jt, a as vt, S as Vn, O as jn, u as $n } from "./useConsents-BLhgfEDf.js";
12
- import { S as Nn, a as pt, u as Un, b as Gn } from "./useParticipationDraft-Brnd_p3w.js";
13
- import { f as Yn, n as c, d as Pn } from "./index-CFc0WTOi.js";
14
- import { d as lt, a as rt } from "./index-Bg5jypgn.js";
15
- import { T as x } from "./Typography-BsucZNXl.js";
16
- import { C as qn } from "./CollectLeadForm-DtUFKk99.js";
17
- import { D as at } from "./DirectionScope-CK0duYt8.js";
18
- import { K as Xn } from "./KeyboardArrowUp-jvN5m_A0.js";
19
- import { K as Kn } from "./KeyboardArrowDown-OGGGLEnE.js";
20
- import { a as en, K as tn } from "./KeyboardArrowRight-DN7qrp17.js";
21
- import { I as Ne, B as we } from "./Button-x1sQVMH2.js";
22
- import { H as Zn, D as Jn, E as pn } from "./Edit-CiKqhDom.js";
23
- import { T as fn } from "./Tooltip-clSjN1oC.js";
24
- import { P as Et } from "./PersonOutline-Nxl_9g9S.js";
25
- import { T as Tn, a as In, b as Nt, c as Ut, t as xn } from "./Tabs-iyOvjGfd.js";
26
- import { F as yn, C as Cn } from "./FormControl-BNG04EhC.js";
27
- import { C as ei } from "./Close-DVx6f5-e.js";
28
- import { M as ti, a as ni } from "./ModalDialog-Be6w76fh.js";
29
- import { D as ii, O as ai, S as kn, R as Pt } from "./OverlaySkeleton-y02LRXZy.js";
30
- import { S as zn } from "./Sheet-x-YGYOYz.js";
31
- import { T as wn } from "./Table-IJ9-D2DF.js";
32
- import { u as tt } from "./useImageVariant-B62O7iLC.js";
33
- import { C as oi } from "./CheckCircle-DW1VzjQO.js";
34
- import { a as li, I as ri, W as ci } from "./AlertMessage-CTbc9daZ.js";
35
- import { S as si } from "./Stack-CDpKA1D-.js";
36
- import { P as Sn } from "./Person-BD-IO4aX.js";
37
- import { A as bn } from "./Avatar-Ve0m4ut_.js";
38
- import { C as di, a as mi } from "./chevrons-right-CXSpQt9w.js";
39
- import { C as ui } from "./chevron-left-CxfCSZcr.js";
40
- import { C as gi } from "./chevron-right-BEQMacFn.js";
41
- import { O as hi } from "./OverlayScoreStateSkeleton-D5rnBJ_w.js";
42
- import { N as fi } from "./NotFoundSkeleton-BHRVG8yg.js";
43
- import { S as xi, O as yi } from "./OverlaySignInSkeleton-T8A_9Tco.js";
2
+ import { useFontFamily as oe, isMobile as de, getBrandingClickUrl as Fn, CollectLeadForm as En, useColors as Q, useCornerRadius as se, useSpacingScale as Ce, isExtraSmall as Xe, useConstantContext as Ue, DirectionalIcon as at, getSpacing as Dn, ConstantsContext as Ln, useInternalTheme as Be, extractBrandingModelProperties as Tt, defaultBgVertical as lt, defaultBg as rt, useImageVariant as tt, WidgetTemplate as xe, OverlaySkeleton as _n, ConsentPanel as xt, ConsentCta as Dt, useBorderSize as It, sanitizeBackgroundUrl as Xt, useImageBackgroundGradient as dt, hexToRgb as ye, StandardSkeleton as Rn, isLarge as Pn, SplitSkeleton as Mn, StandardLeadAfterCollection as Zt, SplitLeadAfterCollection as Kt, OverlayLeadAfterCollection as Jt, AdditionalCTA as Ft, SplitScoreStateSkeleton as Qn, Spinner as $t, Rules as Rt, stripHtmlTags as Pt, OverlayScoreStateSkeleton as On, NotFoundSkeleton as Hn, StandardApiErrorSkeleton as Bn, SplitApiErrorSkeleton as Wn, OverlayApiErrorSkeleton as Vn, StandardSignInSkeleton as jn, SplitSignInSkeleton as $n, OverlaySignInSkeleton as Nn, SignInGatePanel as pt, usePhysicalImagePosition as Un, useSignInGate as Gn, useConsents as Yn, useParticipationDraft as qn, getRelatedInfoPageId as Xn, ChanceGameEmbed as un, Notification as At, extractSdkError as gn, Portal as Zn } from "fansunited-frontend-core";
3
+ import gt, { useState as ee, useEffect as et, createContext as Kn, memo as kt, useCallback as Ke, useMemo as it, useRef as vt } from "react";
4
+ import { C as hn } from "./ChanceGameEmbedVariant-C3NGwvTF.js";
5
+ import { GameByIdModel as Jn, MarketEnum as c, PredictionRequestModel as Tn } from "fansunited-sdk-esm";
6
+ import { Box as i, Typography as x, IconButton as Ne, Tooltip as fn, useTheme as pn, Tabs as In, TabList as kn, Tab as Nt, TabPanel as Ut, FormControl as xn, Checkbox as yn, Modal as ei, ModalDialog as ti, DialogContent as ni, DialogActions as ii, Button as we, Sheet as zn, Table as wn, Alert as ai, Stack as oi, tabClasses as Cn, Avatar as Sn } from "@mui/joy";
7
+ import { useTranslation as te } from "react-i18next";
8
+ import li from "@mui/icons-material/KeyboardArrowUp";
9
+ import ri from "@mui/icons-material/KeyboardArrowDown";
10
+ import en from "@mui/icons-material/KeyboardArrowLeft";
11
+ import tn from "@mui/icons-material/KeyboardArrowRight";
12
+ import ci from "@mui/icons-material/HelpOutline";
13
+ import Et from "@mui/icons-material/PersonOutline";
14
+ import si from "@mui/icons-material/Edit";
15
+ import di from "@mui/icons-material/Close";
16
+ import mi from "@mui/icons-material/CheckCircle";
17
+ import ui from "@mui/icons-material/Info";
18
+ import gi from "@mui/icons-material/Warning";
19
+ import bn from "@mui/icons-material/Person";
20
+ import { C as hi, a as fi } from "./chevrons-right-CXSpQt9w.js";
21
+ import { C as xi } from "./chevron-left-CxfCSZcr.js";
22
+ import { C as yi } from "./chevron-right-BEQMacFn.js";
44
23
  const Ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CORRECT_SCORE_ADVANCED", ft = (e) => e === "PLAYER_SCORE" || e === "PLAYER_YELLOW_CARD" || e === "PLAYER_RED_CARD" || e === "PLAYER_SCORE_FIRST_GOAL" || e === "PLAYER_SCORE_HATTRICK" || e === "PLAYER_SCORE_TWICE", nn = (e) => {
45
24
  const n = (/* @__PURE__ */ new Date()).getTime(), a = new Date(e).getTime();
46
25
  return n > a;
@@ -66,7 +45,7 @@ const Ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CO
66
45
  }
67
46
  d(C);
68
47
  } catch (s) {
69
- console.warn(s), r(new Yn()), d(/* @__PURE__ */ new Map());
48
+ console.warn(s), r(new Jn()), d(/* @__PURE__ */ new Map());
70
49
  }
71
50
  }, S = async () => {
72
51
  try {
@@ -115,7 +94,7 @@ const Ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CO
115
94
  setApiErrorMessage: s
116
95
  };
117
96
  }, Re = (e) => {
118
- const n = oe().secondary, a = de(), l = e.flexDirection || "column", r = Qn(e.primaryUrl, e.secondaryUrl, "logo");
97
+ const n = oe().secondary, a = de(), l = e.flexDirection || "column", r = Fn(e.primaryUrl, e.secondaryUrl, "logo");
119
98
  if (!e.brandingLogo)
120
99
  return null;
121
100
  const m = () => {
@@ -239,12 +218,12 @@ const Ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CO
239
218
  isAfterPosition: I = !1,
240
219
  isSubmittingParticipation: k = !1
241
220
  }) => {
242
- const { t: v } = te(), h = o ?? v("leads.header.title"), D = S ?? v("leads.header.description"), R = s ?? v("leads.buttons.submit"), M = f ?? v("leads.success.title"), L = b ?? v("leads.success.description"), B = {
243
- defaultLabel: v(I ? "matchQuiz.buttons.play" : "matchQuiz.buttons.start"),
221
+ const { t: F } = te(), h = o ?? F("leads.header.title"), D = S ?? F("leads.header.description"), R = s ?? F("leads.buttons.submit"), M = f ?? F("leads.success.title"), L = b ?? F("leads.success.description"), B = {
222
+ defaultLabel: F(I ? "matchQuiz.buttons.play" : "matchQuiz.buttons.start"),
244
223
  onClick: u
245
224
  };
246
225
  return /* @__PURE__ */ t(
247
- qn,
226
+ En,
248
227
  {
249
228
  sdk: e,
250
229
  content: {
@@ -699,7 +678,7 @@ const Ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CO
699
678
  mx: e.isMobile ? e.spacingScale.md : e.spacingScale.lg
700
679
  }
701
680
  };
702
- }, Ge = vn({
681
+ }, Ge = Kn({
703
682
  showTeamLabels: !1,
704
683
  points: [],
705
684
  squads: /* @__PURE__ */ new Map()
@@ -718,7 +697,7 @@ const Ci = (e) => e === "CORRECT_SCORE" || e === "CORRECT_SCORE_HT" || e === "CO
718
697
  },
719
698
  children: l
720
699
  }
721
- ), Gt = Tt(({ team: e, isHome: n, styles: a, showTeamLabels: l }) => {
700
+ ), Gt = kt(({ team: e, isHome: n, styles: a, showTeamLabels: l }) => {
722
701
  var r;
723
702
  return /* @__PURE__ */ g(i, { sx: n ? a.homeTeamColumn : a.awayTeamColumn, children: [
724
703
  /* @__PURE__ */ t(i, { sx: a.teamLogo, children: (r = e.assets) != null && r.logo ? /* @__PURE__ */ t(
@@ -749,23 +728,23 @@ const Ii = (e) => {
749
728
  neutralOutlinedBorder: n.palette.neutral.outlinedBorder,
750
729
  neutralPlainHoverBg: n.palette.neutral.plainHoverBg,
751
730
  isMobile: m
752
- }), T = (k, v) => {
731
+ }), T = (k, F) => {
753
732
  if (k === "home") {
754
- const h = v ? Math.min(o + 1, 99) : Math.max(o - 1, 0);
733
+ const h = F ? Math.min(o + 1, 99) : Math.max(o - 1, 0);
755
734
  S(h), e.onScoreChange(h, s);
756
735
  } else {
757
- const h = v ? Math.min(s + 1, 99) : Math.max(s - 1, 0);
736
+ const h = F ? Math.min(s + 1, 99) : Math.max(s - 1, 0);
758
737
  f(h), e.onScoreChange(o, h);
759
738
  }
760
- }, C = ({ score: k, onIncrement: v, onDecrement: h }) => /* @__PURE__ */ g(i, { sx: b.scoreInputContainer, children: [
739
+ }, C = ({ score: k, onIncrement: F, onDecrement: h }) => /* @__PURE__ */ g(i, { sx: b.scoreInputContainer, children: [
761
740
  /* @__PURE__ */ t(
762
741
  Ne,
763
742
  {
764
743
  size: "sm",
765
744
  variant: "plain",
766
- onClick: v,
745
+ onClick: F,
767
746
  sx: b.scoreButton,
768
- children: /* @__PURE__ */ t(Xn, { fontSize: "small" })
747
+ children: /* @__PURE__ */ t(li, { fontSize: "small" })
769
748
  }
770
749
  ),
771
750
  /* @__PURE__ */ t(x, { level: "h2", sx: b.scoreDisplay, children: k }),
@@ -777,10 +756,10 @@ const Ii = (e) => {
777
756
  onClick: h,
778
757
  sx: b.scoreButton,
779
758
  disabled: k === 0,
780
- children: /* @__PURE__ */ t(Kn, { fontSize: "small" })
759
+ children: /* @__PURE__ */ t(ri, { fontSize: "small" })
781
760
  }
782
761
  )
783
- ] }), I = ({ team: k, score: v, onIncrement: h, onDecrement: D }) => {
762
+ ] }), I = ({ team: k, score: F, onIncrement: h, onDecrement: D }) => {
784
763
  var R;
785
764
  return /* @__PURE__ */ g(i, { sx: b.xsRow, children: [
786
765
  /* @__PURE__ */ g(i, { sx: b.xsTeamInfo, children: [
@@ -802,11 +781,11 @@ const Ii = (e) => {
802
781
  variant: "plain",
803
782
  onClick: D,
804
783
  sx: b.scoreButton,
805
- disabled: v === 0,
784
+ disabled: F === 0,
806
785
  children: /* @__PURE__ */ t(at, { children: /* @__PURE__ */ t(en, { fontSize: "small" }) })
807
786
  }
808
787
  ),
809
- /* @__PURE__ */ t(x, { level: "h2", sx: b.scoreDisplay, children: v }),
788
+ /* @__PURE__ */ t(x, { level: "h2", sx: b.scoreDisplay, children: F }),
810
789
  /* @__PURE__ */ t(
811
790
  Ne,
812
791
  {
@@ -960,7 +939,7 @@ const Ii = (e) => {
960
939
  bgcolor: e.neutralSoftBg,
961
940
  borderRadius: e.borderRadius.sm
962
941
  }
963
- }), Yt = Tt(({ team: e, score: n, onIncrement: a, onDecrement: l, styles: r, showTeamLabels: m }) => {
942
+ }), Yt = kt(({ team: e, score: n, onIncrement: a, onDecrement: l, styles: r, showTeamLabels: m }) => {
964
943
  var d;
965
944
  return /* @__PURE__ */ g(i, { sx: r.row, children: [
966
945
  /* @__PURE__ */ g(i, { sx: r.teamInfo, children: [
@@ -1239,7 +1218,7 @@ const zi = (e) => {
1239
1218
  {
1240
1219
  onClick: () => y(!u),
1241
1220
  sx: S.mobileIconButton,
1242
- children: /* @__PURE__ */ t(Zn, { sx: S.mobileIcon })
1221
+ children: /* @__PURE__ */ t(ci, { sx: S.mobileIcon })
1243
1222
  }
1244
1223
  )
1245
1224
  }
@@ -1310,7 +1289,7 @@ const zi = (e) => {
1310
1289
  }
1311
1290
  )
1312
1291
  ] });
1313
- }, Fi = (e) => {
1292
+ }, vi = (e) => {
1314
1293
  const n = Lt({
1315
1294
  spacingScale: e.spacingScale,
1316
1295
  neutralSoftBg: e.neutralSoftBg,
@@ -1406,7 +1385,7 @@ const zi = (e) => {
1406
1385
  textAlign: "center"
1407
1386
  }
1408
1387
  };
1409
- }, vi = (e) => ({
1388
+ }, Fi = (e) => ({
1410
1389
  // Split variant layout container: stacked rows
1411
1390
  container: {
1412
1391
  display: "flex",
@@ -1482,7 +1461,7 @@ const zi = (e) => {
1482
1461
  }), Ei = (e) => {
1483
1462
  const n = Q(), a = se(), l = oe(), r = Ce(), { t: m } = te(), { showTeamLabels: d } = Ue(Ge), [u, y] = ee(
1484
1463
  e.prediction
1485
- ), o = vi({
1464
+ ), o = Fi({
1486
1465
  spacingScale: r,
1487
1466
  borderRadius: a,
1488
1467
  fontFamilyPrimary: l.primary,
@@ -1560,7 +1539,7 @@ const zi = (e) => {
1560
1539
  }
1561
1540
  )
1562
1541
  ] });
1563
- }, qt = Tt(({ team: e, option: n, isSelected: a, styles: l, handleSelection: r }) => {
1542
+ }, qt = kt(({ team: e, option: n, isSelected: a, styles: l, handleSelection: r }) => {
1564
1543
  var m;
1565
1544
  return /* @__PURE__ */ t(i, { sx: l.iconContainer, children: /* @__PURE__ */ t(
1566
1545
  i,
@@ -1597,7 +1576,7 @@ const zi = (e) => {
1597
1576
  ) });
1598
1577
  });
1599
1578
  qt.displayName = "TeamIcon";
1600
- const An = Tt(({ isSelected: e, styles: n, handleSelection: a }) => /* @__PURE__ */ t(i, { sx: n.iconContainer, children: /* @__PURE__ */ t(
1579
+ const An = kt(({ isSelected: e, styles: n, handleSelection: a }) => /* @__PURE__ */ t(i, { sx: n.iconContainer, children: /* @__PURE__ */ t(
1601
1580
  i,
1602
1581
  {
1603
1582
  sx: {
@@ -1633,7 +1612,7 @@ const Di = (e) => {
1633
1612
  );
1634
1613
  const n = Q(), a = se(), l = oe(), r = Ce(), m = de(), { t: d } = te(), { showTeamLabels: u } = Ue(Ge), [y, o] = ee(
1635
1614
  e.prediction
1636
- ), S = Fi({
1615
+ ), S = vi({
1637
1616
  spacingScale: r,
1638
1617
  borderRadius: a,
1639
1618
  fontFamilyPrimary: l.primary,
@@ -2385,7 +2364,7 @@ const Di = (e) => {
2385
2364
  fontWeight: 500
2386
2365
  }
2387
2366
  };
2388
- }, Fn = Tt(({ player: e, isSelected: n, styles: a, handlePlayerSelection: l }) => {
2367
+ }, vn = kt(({ player: e, isSelected: n, styles: a, handlePlayerSelection: l }) => {
2389
2368
  var r;
2390
2369
  return /* @__PURE__ */ t(
2391
2370
  i,
@@ -2419,9 +2398,9 @@ const Di = (e) => {
2419
2398
  }
2420
2399
  );
2421
2400
  });
2422
- Fn.displayName = "PlayerAvatar";
2401
+ vn.displayName = "PlayerAvatar";
2423
2402
  const Vi = (e) => {
2424
- const n = Q(), a = se(), l = oe(), r = Ce(), m = de(), d = Xe(), u = En(), { t: y } = te(), { squads: o } = Ue(Ge), S = e.useExtraSmallLayout !== void 0 ? e.useExtraSmallLayout : d, [s, f] = ee(e.prediction), [b, T] = ee(e.prediction === "OWN_GOAL"), [C, I] = ee(e.prediction === null), [k, v] = ee("home"), [h, D] = ee(0), R = Wi({
2403
+ const n = Q(), a = se(), l = oe(), r = Ce(), m = de(), d = Xe(), u = pn(), { t: y } = te(), { squads: o } = Ue(Ge), S = e.useExtraSmallLayout !== void 0 ? e.useExtraSmallLayout : d, [s, f] = ee(e.prediction), [b, T] = ee(e.prediction === "OWN_GOAL"), [C, I] = ee(e.prediction === null), [k, F] = ee("home"), [h, D] = ee(0), R = Wi({
2425
2404
  spacingScale: r,
2426
2405
  borderRadius: a,
2427
2406
  fontFamilyPrimary: l.primary,
@@ -2456,7 +2435,7 @@ const Vi = (e) => {
2456
2435
  default:
2457
2436
  return [];
2458
2437
  }
2459
- }, K = ["attackers", "midfielders", "defenders", "goalkeepers"];
2438
+ }, Z = ["attackers", "midfielders", "defenders", "goalkeepers"];
2460
2439
  return /* @__PURE__ */ g(i, { sx: R.container, children: [
2461
2440
  /* @__PURE__ */ t(i, { sx: R.teamSelection, children: /* @__PURE__ */ g(i, { sx: R.badgesRow, children: [
2462
2441
  /* @__PURE__ */ t(
@@ -2469,9 +2448,9 @@ const Vi = (e) => {
2469
2448
  role: "button",
2470
2449
  "aria-pressed": k === "home",
2471
2450
  tabIndex: 0,
2472
- onClick: () => v("home"),
2451
+ onClick: () => F("home"),
2473
2452
  onKeyDown: (P) => {
2474
- (P.key === "Enter" || P.key === " ") && v("home");
2453
+ (P.key === "Enter" || P.key === " ") && F("home");
2475
2454
  },
2476
2455
  children: e.matchModel.homeTeam.name
2477
2456
  }
@@ -2486,25 +2465,25 @@ const Vi = (e) => {
2486
2465
  role: "button",
2487
2466
  "aria-pressed": k === "away",
2488
2467
  tabIndex: 0,
2489
- onClick: () => v("away"),
2468
+ onClick: () => F("away"),
2490
2469
  onKeyDown: (P) => {
2491
- (P.key === "Enter" || P.key === " ") && v("away");
2470
+ (P.key === "Enter" || P.key === " ") && F("away");
2492
2471
  },
2493
2472
  children: e.matchModel.awayTeam.name
2494
2473
  }
2495
2474
  )
2496
2475
  ] }) }),
2497
2476
  /* @__PURE__ */ t(i, { sx: R.tabsContainer, children: /* @__PURE__ */ g(
2498
- Tn,
2477
+ In,
2499
2478
  {
2500
2479
  value: h,
2501
2480
  onChange: (P, G) => D(G),
2502
2481
  sx: R.tabs,
2503
2482
  children: [
2504
- /* @__PURE__ */ t(In, { sx: R.tabList, children: K.map((P, G) => /* @__PURE__ */ t(Nt, { value: G, sx: R.tab, children: y(`matchQuiz.fixtures.${P}`) }, P)) }),
2505
- K.map((P, G) => /* @__PURE__ */ t(Ut, { value: G, sx: R.tabPanel, children: /* @__PURE__ */ t(i, { sx: R.playersGrid, children: _().map((W) => /* @__PURE__ */ g(i, { sx: R.playerContainer, children: [
2483
+ /* @__PURE__ */ t(kn, { sx: R.tabList, children: Z.map((P, G) => /* @__PURE__ */ t(Nt, { value: G, sx: R.tab, children: y(`matchQuiz.fixtures.${P}`) }, P)) }),
2484
+ Z.map((P, G) => /* @__PURE__ */ t(Ut, { value: G, sx: R.tabPanel, children: /* @__PURE__ */ t(i, { sx: R.playersGrid, children: _().map((W) => /* @__PURE__ */ g(i, { sx: R.playerContainer, children: [
2506
2485
  /* @__PURE__ */ t(
2507
- Fn,
2486
+ vn,
2508
2487
  {
2509
2488
  player: W,
2510
2489
  isSelected: s === W.id,
@@ -2529,8 +2508,8 @@ const Vi = (e) => {
2529
2508
  }
2530
2509
  ) }),
2531
2510
  /* @__PURE__ */ g(i, { sx: R.checkboxesContainer, children: [
2532
- /* @__PURE__ */ t(yn, { size: "sm", children: /* @__PURE__ */ t(i, { sx: R.checkboxRow, children: /* @__PURE__ */ t(
2533
- Cn,
2511
+ /* @__PURE__ */ t(xn, { size: "sm", children: /* @__PURE__ */ t(i, { sx: R.checkboxRow, children: /* @__PURE__ */ t(
2512
+ yn,
2534
2513
  {
2535
2514
  checked: b,
2536
2515
  onChange: (P) => L(P.target.checked),
@@ -2554,8 +2533,8 @@ const Vi = (e) => {
2554
2533
  label: y("matchQuiz.fixtures.ownGoal")
2555
2534
  }
2556
2535
  ) }) }),
2557
- /* @__PURE__ */ t(yn, { size: "sm", children: /* @__PURE__ */ t(i, { sx: R.checkboxRow, children: /* @__PURE__ */ t(
2558
- Cn,
2536
+ /* @__PURE__ */ t(xn, { size: "sm", children: /* @__PURE__ */ t(i, { sx: R.checkboxRow, children: /* @__PURE__ */ t(
2537
+ yn,
2559
2538
  {
2560
2539
  checked: C,
2561
2540
  onChange: (P) => B(P.target.checked),
@@ -2805,14 +2784,14 @@ const Vi = (e) => {
2805
2784
  minutes: 0,
2806
2785
  seconds: 0,
2807
2786
  total: 0
2808
- }), S = Ze(() => {
2787
+ }), S = Ke(() => {
2809
2788
  const f = (/* @__PURE__ */ new Date()).getTime(), T = new Date(e.predictionsCutoffTime).getTime() - f;
2810
2789
  if (T <= 0)
2811
2790
  return { days: 0, hours: 0, minutes: 0, seconds: 0, total: 0 };
2812
2791
  const C = Math.floor(T / (1e3 * 60 * 60 * 24)), I = Math.floor(
2813
2792
  T % (1e3 * 60 * 60 * 24) / (1e3 * 60 * 60)
2814
- ), k = Math.floor(T % (1e3 * 60 * 60) / (1e3 * 60)), v = Math.floor(T % (1e3 * 60) / 1e3);
2815
- return { days: C, hours: I, minutes: k, seconds: v, total: T };
2793
+ ), k = Math.floor(T % (1e3 * 60 * 60) / (1e3 * 60)), F = Math.floor(T % (1e3 * 60) / 1e3);
2794
+ return { days: C, hours: I, minutes: k, seconds: F, total: T };
2816
2795
  }, [e.predictionsCutoffTime]);
2817
2796
  if (et(() => {
2818
2797
  const f = () => {
@@ -3238,7 +3217,7 @@ const Vi = (e) => {
3238
3217
  (C) => C.market === e.fixture.market
3239
3218
  ), f = (C) => {
3240
3219
  const I = { ...e.prediction }, k = I.fixtures.findIndex(
3241
- (v) => v.market === e.fixture.market
3220
+ (F) => F.market === e.fixture.market
3242
3221
  );
3243
3222
  k !== -1 && (I.fixtures[k] = {
3244
3223
  ...I.fixtures[k],
@@ -3256,7 +3235,7 @@ const Vi = (e) => {
3256
3235
  }, T = () => {
3257
3236
  const C = e.fixture.market, I = e.fixture.matchModel;
3258
3237
  if (C === c.CORRECT_SCORE || C === c.CORRECT_SCORE_HT || C === c.CORRECT_SCORE_ADVANCED) {
3259
- const k = (s == null ? void 0 : s.prediction.value) || "0:0", [v, h] = k.split(":").map(Number);
3238
+ const k = (s == null ? void 0 : s.prediction.value) || "0:0", [F, h] = k.split(":").map(Number);
3260
3239
  return /* @__PURE__ */ t(
3261
3240
  _t,
3262
3241
  {
@@ -3265,7 +3244,7 @@ const Vi = (e) => {
3265
3244
  onScoreChange: (D, R) => {
3266
3245
  f({ value: `${D}:${R}` });
3267
3246
  },
3268
- initialHomeScore: v,
3247
+ initialHomeScore: F,
3269
3248
  initialAwayScore: h,
3270
3249
  showPoints: !1
3271
3250
  }
@@ -3321,15 +3300,15 @@ const Vi = (e) => {
3321
3300
  ) : null;
3322
3301
  };
3323
3302
  return /* @__PURE__ */ t(
3324
- ti,
3303
+ ei,
3325
3304
  {
3326
3305
  open: e.isOpen,
3327
3306
  onClose: e.onClose,
3328
3307
  container: a,
3329
- children: /* @__PURE__ */ g(ni, { sx: S.modalDialog, children: [
3330
- /* @__PURE__ */ t(Ne, { onClick: e.onClose, sx: S.closeButton, children: /* @__PURE__ */ t(ei, {}) }),
3331
- /* @__PURE__ */ t(ii, { children: T() }),
3332
- e.view === "score" && /* @__PURE__ */ g(Jn, { children: [
3308
+ children: /* @__PURE__ */ g(ti, { sx: S.modalDialog, children: [
3309
+ /* @__PURE__ */ t(Ne, { onClick: e.onClose, sx: S.closeButton, children: /* @__PURE__ */ t(di, {}) }),
3310
+ /* @__PURE__ */ t(ni, { children: T() }),
3311
+ e.view === "score" && /* @__PURE__ */ g(ii, { children: [
3333
3312
  /* @__PURE__ */ t(
3334
3313
  we,
3335
3314
  {
@@ -3442,8 +3421,8 @@ const Vi = (e) => {
3442
3421
  return R;
3443
3422
  }
3444
3423
  return null;
3445
- }, v = (h) => {
3446
- var L, B, _, K, P, G;
3424
+ }, F = (h) => {
3425
+ var L, B, _, Z, P, G;
3447
3426
  const D = (L = e.prediction.fixtures) == null ? void 0 : L.find(
3448
3427
  (W) => W.market === h.market
3449
3428
  );
@@ -3488,7 +3467,7 @@ const Vi = (e) => {
3488
3467
  if (R === c.FT_1X2 || R === c.HT_1X2) {
3489
3468
  const W = D.prediction.value;
3490
3469
  let O = "", E = null;
3491
- return W === "1" ? (O = M.homeTeam.name, E = (K = M.homeTeam.assets) == null ? void 0 : K.logo) : W === "x" ? O = n("matchQuiz.fixtures.draw") : W === "2" && (O = M.awayTeam.name, E = (P = M.awayTeam.assets) == null ? void 0 : P.logo), /* @__PURE__ */ g(i, { sx: f.predictionBox, children: [
3470
+ return W === "1" ? (O = M.homeTeam.name, E = (Z = M.homeTeam.assets) == null ? void 0 : Z.logo) : W === "x" ? O = n("matchQuiz.fixtures.draw") : W === "2" && (O = M.awayTeam.name, E = (P = M.awayTeam.assets) == null ? void 0 : P.logo), /* @__PURE__ */ g(i, { sx: f.predictionBox, children: [
3492
3471
  E && /* @__PURE__ */ t(i, { sx: f.teamLogo, children: /* @__PURE__ */ t(
3493
3472
  "img",
3494
3473
  {
@@ -3557,7 +3536,7 @@ const Vi = (e) => {
3557
3536
  /* @__PURE__ */ t("tbody", { children: e.fixtures.map((h, D) => /* @__PURE__ */ g("tr", { children: [
3558
3537
  /* @__PURE__ */ t("td", { style: f.predictionCell, children: /* @__PURE__ */ g(i, { sx: f.predictionContent, children: [
3559
3538
  /* @__PURE__ */ t(x, { sx: f.questionText, children: I(h.market) }),
3560
- v(h)
3539
+ F(h)
3561
3540
  ] }) }),
3562
3541
  /* @__PURE__ */ t("td", { style: f.actionCell, children: /* @__PURE__ */ t(
3563
3542
  Ne,
@@ -3566,7 +3545,7 @@ const Vi = (e) => {
3566
3545
  size: "sm",
3567
3546
  sx: f.editIconButton,
3568
3547
  onClick: () => b(D),
3569
- children: /* @__PURE__ */ t(pn, {})
3548
+ children: /* @__PURE__ */ t(si, {})
3570
3549
  }
3571
3550
  ) })
3572
3551
  ] }, `${h.market}-${D}`)) })
@@ -3589,7 +3568,7 @@ const Vi = (e) => {
3589
3568
  )
3590
3569
  ] }) });
3591
3570
  }, Gi = (e) => {
3592
- var Qe, Te, $e, Ve, je, Oe, Fe, Le, Ee, _e, He, A, U, Z, ae, Y, J, z, ie, re, ce, ge;
3571
+ var Qe, Te, $e, Ve, je, Oe, ve, Le, Ee, _e, He, A, U, K, ae, Y, J, z, ie, re, ce, ge;
3593
3572
  const { step: n, setStep: a } = e, [l, r] = gt.useState(
3594
3573
  ((Qe = e.leads) == null ? void 0 : Qe.position) === "before" && e.matchQuiz.authRequirement === "LEAD"
3595
3574
  );
@@ -3599,18 +3578,18 @@ const Vi = (e) => {
3599
3578
  ((w = e.leads) == null ? void 0 : w.position) === "before" && e.matchQuiz.authRequirement === "LEAD" || !1
3600
3579
  );
3601
3580
  }, [(Te = e.leads) == null ? void 0 : Te.position, e.matchQuiz.authRequirement]);
3602
- const m = Ce(), d = Be(), { t: u } = te(), y = de(), o = Xe(), { brandingImage: S, brandingColors: s, brandingLogo: f } = kt(e.matchQuiz.branding || null), b = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : y ? lt : rt, T = S || tt(
3581
+ const m = Ce(), d = Be(), { t: u } = te(), y = de(), o = Xe(), { brandingImage: S, brandingColors: s, brandingLogo: f } = Tt(e.matchQuiz.branding || null), b = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : y ? lt : rt, T = S || tt(
3603
3582
  {
3604
3583
  images: e.matchQuiz.images,
3605
3584
  imagePlaceholder: b
3606
3585
  },
3607
3586
  xe.OVERLAY
3608
- ), C = d.customRadius.dark.md, I = (s == null ? void 0 : s.backgroundColor) || ((Ve = ($e = d.colorSchemes) == null ? void 0 : $e.dark) == null ? void 0 : Ve.surfaceVariant), k = (Oe = (je = d.customRadius) == null ? void 0 : je.light) == null ? void 0 : Oe.xl, v = (s == null ? void 0 : s.primaryColor) || ((_e = (Ee = (Le = (Fe = d.colorSchemes) == null ? void 0 : Fe.light) == null ? void 0 : Le.palette) == null ? void 0 : Ee.primary) == null ? void 0 : _e.plainColor), h = (Z = (U = (A = (He = d.colorSchemes) == null ? void 0 : He.light) == null ? void 0 : A.palette) == null ? void 0 : U.primary) == null ? void 0 : Z.onPrimary, D = d.customFontFamily.dark.primary, R = d.colorSchemes.dark.textColor, M = (z = (J = (Y = (ae = d.colorSchemes) == null ? void 0 : ae.light) == null ? void 0 : Y.palette) == null ? void 0 : J.danger) == null ? void 0 : z.plainColor, L = (s == null ? void 0 : s.contentColor) || d.colorSchemes.dark.textColor, _ = Ri({
3587
+ ), C = d.customRadius.dark.md, I = (s == null ? void 0 : s.backgroundColor) || ((Ve = ($e = d.colorSchemes) == null ? void 0 : $e.dark) == null ? void 0 : Ve.surfaceVariant), k = (Oe = (je = d.customRadius) == null ? void 0 : je.light) == null ? void 0 : Oe.xl, F = (s == null ? void 0 : s.primaryColor) || ((_e = (Ee = (Le = (ve = d.colorSchemes) == null ? void 0 : ve.light) == null ? void 0 : Le.palette) == null ? void 0 : Ee.primary) == null ? void 0 : _e.plainColor), h = (K = (U = (A = (He = d.colorSchemes) == null ? void 0 : He.light) == null ? void 0 : A.palette) == null ? void 0 : U.primary) == null ? void 0 : K.onPrimary, D = d.customFontFamily.dark.primary, R = d.colorSchemes.dark.textColor, M = (z = (J = (Y = (ae = d.colorSchemes) == null ? void 0 : ae.light) == null ? void 0 : Y.palette) == null ? void 0 : J.danger) == null ? void 0 : z.plainColor, L = (s == null ? void 0 : s.contentColor) || d.colorSchemes.dark.textColor, _ = Ri({
3609
3588
  spacingScale: m,
3610
3589
  mdBorderRadius: C,
3611
3590
  contentBgColor: I,
3612
3591
  buttonRadius: k,
3613
- primaryColor: v,
3592
+ primaryColor: F,
3614
3593
  onPrimaryColor: h,
3615
3594
  fontFamilyPrimary: D,
3616
3595
  darkTextColor: R,
@@ -3619,41 +3598,41 @@ const Vi = (e) => {
3619
3598
  dangerColor: M,
3620
3599
  textColor: L,
3621
3600
  opacity: "60%"
3622
- }), K = () => {
3601
+ }), Z = () => {
3623
3602
  r(!1);
3624
- }, P = Ze(
3625
- (w, X, F) => {
3626
- const H = `${X}:${F}`;
3603
+ }, P = Ke(
3604
+ (w, X, v) => {
3605
+ const H = `${X}:${v}`;
3627
3606
  e.setPrediction(($) => {
3628
3607
  const j = { ...$ }, be = j.fixtures.find((Me) => Me.market === w);
3629
3608
  return be && (be.prediction.value = H), j;
3630
3609
  });
3631
3610
  },
3632
3611
  [e.setPrediction]
3633
- ), G = Ze(
3612
+ ), G = Ke(
3634
3613
  (w, X) => {
3635
- e.setPrediction((F) => {
3636
- const H = { ...F }, $ = H.fixtures.find(
3614
+ e.setPrediction((v) => {
3615
+ const H = { ...v }, $ = H.fixtures.find(
3637
3616
  (j) => j.market === w
3638
3617
  );
3639
3618
  return $ && ($.prediction.value = X), H;
3640
3619
  });
3641
3620
  },
3642
3621
  [e.setPrediction]
3643
- ), W = Ze(
3622
+ ), W = Ke(
3644
3623
  (w, X) => {
3645
- e.setPrediction((F) => {
3646
- const H = { ...F }, $ = H.fixtures.find(
3624
+ e.setPrediction((v) => {
3625
+ const H = { ...v }, $ = H.fixtures.find(
3647
3626
  (j) => j.market === w
3648
3627
  );
3649
3628
  return $ && ($.prediction.playerId = X), H;
3650
3629
  });
3651
3630
  },
3652
3631
  [e.setPrediction]
3653
- ), O = Ze(
3632
+ ), O = Ke(
3654
3633
  (w, X) => {
3655
- e.setPrediction((F) => {
3656
- const H = { ...F }, $ = H.fixtures.find((j) => j.market === w);
3634
+ e.setPrediction((v) => {
3635
+ const H = { ...v }, $ = H.fixtures.find((j) => j.market === w);
3657
3636
  return $ && ($.prediction.value = X), H;
3658
3637
  });
3659
3638
  },
@@ -3664,24 +3643,24 @@ const Vi = (e) => {
3664
3643
  n > 1 && a(n - 1);
3665
3644
  }, ke = (w) => {
3666
3645
  a(w + 1);
3667
- }, ve = () => {
3668
- var F, H;
3646
+ }, Fe = () => {
3647
+ var v, H;
3669
3648
  if (n === E) return !0;
3670
3649
  const w = e.matchQuiz.fixtures[n - 1];
3671
3650
  if (!w) return !1;
3672
- const X = (H = (F = e.prediction) == null ? void 0 : F.fixtures) == null ? void 0 : H.find(
3651
+ const X = (H = (v = e.prediction) == null ? void 0 : v.fixtures) == null ? void 0 : H.find(
3673
3652
  ($) => $.market === w.market
3674
3653
  );
3675
3654
  return X ? w.market === c.CORRECT_SCORE || w.market === c.CORRECT_SCORE_HT || w.market === c.CORRECT_SCORE_ADVANCED || w.market === c.CORNERS_MATCH ? !0 : w.market === c.PLAYER_SCORE || w.market === c.PLAYER_YELLOW_CARD || w.market === c.PLAYER_RED_CARD || w.market === c.PLAYER_SCORE_FIRST_GOAL || w.market === c.PLAYER_SCORE_HATTRICK || w.market === c.PLAYER_SCORE_TWICE ? X.prediction.playerId !== void 0 : X.prediction.value !== null : !1;
3676
3655
  }, Pe = () => {
3677
- var w, X, F, H, $;
3656
+ var w, X, v, H, $;
3678
3657
  return /* @__PURE__ */ t(
3679
3658
  Re,
3680
3659
  {
3681
3660
  brandingLogo: f,
3682
3661
  textColor: d.colorSchemes.dark.textColor,
3683
3662
  label: ((w = e.matchQuiz.labels) == null ? void 0 : w.sponsor) || null,
3684
- primaryUrl: (F = (X = e.matchQuiz.branding) == null ? void 0 : X.urls) == null ? void 0 : F.primaryUrl,
3663
+ primaryUrl: (v = (X = e.matchQuiz.branding) == null ? void 0 : X.urls) == null ? void 0 : v.primaryUrl,
3685
3664
  secondaryUrl: ($ = (H = e.matchQuiz.branding) == null ? void 0 : H.urls) == null ? void 0 : $.secondaryUrl
3686
3665
  }
3687
3666
  );
@@ -3689,7 +3668,7 @@ const Vi = (e) => {
3689
3668
  var H, $, j, be;
3690
3669
  const w = (H = e.matchQuiz.fixtures[0]) == null ? void 0 : H.matchModel;
3691
3670
  if (!w || !(($ = w.scores) != null && $.ftScore)) return null;
3692
- const X = w.scores.ftScore.homeGoals || 0, F = w.scores.ftScore.awayGoals || 0;
3671
+ const X = w.scores.ftScore.homeGoals || 0, v = w.scores.ftScore.awayGoals || 0;
3693
3672
  return /* @__PURE__ */ g(i, { sx: _.matchResultBadge, children: [
3694
3673
  ((j = w.homeTeam.assets) == null ? void 0 : j.logo) && /* @__PURE__ */ t(i, { sx: _.matchResultTeamLogo, children: /* @__PURE__ */ t(
3695
3674
  "img",
@@ -3707,7 +3686,7 @@ const Vi = (e) => {
3707
3686
  /* @__PURE__ */ g(x, { sx: _.matchResultScoreText, children: [
3708
3687
  X,
3709
3688
  " - ",
3710
- F
3689
+ v
3711
3690
  ] }),
3712
3691
  ((be = w.awayTeam.assets) == null ? void 0 : be.logo) && /* @__PURE__ */ t(i, { sx: _.matchResultTeamLogo, children: /* @__PURE__ */ t(
3713
3692
  "img",
@@ -3755,7 +3734,7 @@ const Vi = (e) => {
3755
3734
  O,
3756
3735
  W
3757
3736
  ]), De = () => {
3758
- var X, F, H, $, j, be, Me, Je, pe, Ke, ct, qe, wt, ht;
3737
+ var X, v, H, $, j, be, Me, Je, pe, Ze, ct, qe, wt, ht;
3759
3738
  const w = q;
3760
3739
  if (me)
3761
3740
  return le();
@@ -3764,7 +3743,7 @@ const Vi = (e) => {
3764
3743
  case c.CORRECT_SCORE:
3765
3744
  case c.CORRECT_SCORE_HT:
3766
3745
  case c.CORRECT_SCORE_ADVANCED:
3767
- const mt = (F = (X = e.prediction) == null ? void 0 : X.fixtures) == null ? void 0 : F.find(
3746
+ const mt = (v = (X = e.prediction) == null ? void 0 : X.fixtures) == null ? void 0 : v.find(
3768
3747
  (ot) => ot.market === w.market
3769
3748
  ), St = (mt == null ? void 0 : mt.prediction.value) || "0:0", [bt, nt] = St.split(":").map(Number);
3770
3749
  return /* @__PURE__ */ t(
@@ -3827,7 +3806,7 @@ const Vi = (e) => {
3827
3806
  case c.OVER_CORNERS_13_5:
3828
3807
  case c.RED_CARD_MATCH:
3829
3808
  case c.PENALTY_MATCH:
3830
- const Vt = (Ke = (pe = e.prediction) == null ? void 0 : pe.fixtures) == null ? void 0 : Ke.find(
3809
+ const Vt = (Ze = (pe = e.prediction) == null ? void 0 : pe.fixtures) == null ? void 0 : Ze.find(
3831
3810
  (ot) => ot.market === w.market
3832
3811
  );
3833
3812
  return /* @__PURE__ */ t(
@@ -3865,13 +3844,13 @@ const Vi = (e) => {
3865
3844
  return /* @__PURE__ */ t(p, {});
3866
3845
  }
3867
3846
  }, Ae = () => {
3868
- var w, X, F;
3847
+ var w, X, v;
3869
3848
  return /* @__PURE__ */ g(p, { children: [
3870
3849
  /* @__PURE__ */ t(i, { sx: _.contentContainerWithBackdrop, children: /* @__PURE__ */ t(
3871
3850
  xt,
3872
3851
  {
3873
3852
  consents: e.consents,
3874
- primaryColor: v,
3853
+ primaryColor: F,
3875
3854
  textColor: (s == null ? void 0 : s.contentColor) || d.colorSchemes.dark.textColor,
3876
3855
  brandingUrls: (w = e.matchQuiz.branding) == null ? void 0 : w.urls
3877
3856
  }
@@ -3886,9 +3865,9 @@ const Vi = (e) => {
3886
3865
  Dt,
3887
3866
  {
3888
3867
  onClick: e.startPredicting,
3889
- label: ((F = (X = e.consents) == null ? void 0 : X.labels) == null ? void 0 : F.ctaLabel) || u("matchQuiz.buttons.play"),
3868
+ label: ((v = (X = e.consents) == null ? void 0 : X.labels) == null ? void 0 : v.ctaLabel) || u("matchQuiz.buttons.play"),
3890
3869
  isSubmitting: e.isSubmitting,
3891
- primaryColor: v,
3870
+ primaryColor: F,
3892
3871
  showArrow: !1
3893
3872
  }
3894
3873
  )
@@ -3909,18 +3888,18 @@ const Vi = (e) => {
3909
3888
  return ne();
3910
3889
  }
3911
3890
  }, ne = () => {
3912
- var w, X, F, H, $, j, be, Me, Je, pe, Ke;
3891
+ var w, X, v, H, $, j, be, Me, Je, pe, Ze;
3913
3892
  return /* @__PURE__ */ t(p, { children: l ? /* @__PURE__ */ g(p, { children: [
3914
3893
  /* @__PURE__ */ t(i, { sx: _.contentContainerWithBackdrop, children: /* @__PURE__ */ t(
3915
3894
  yt,
3916
3895
  {
3917
3896
  sdk: e.sdk,
3918
- startGame: K,
3897
+ startGame: Z,
3919
3898
  contentId: e.matchQuiz.id,
3920
3899
  contentName: e.matchQuiz.title,
3921
3900
  brandingColors: (w = e.matchQuiz.branding) == null ? void 0 : w.colors,
3922
3901
  brandingUrls: (X = e.matchQuiz.branding) == null ? void 0 : X.urls,
3923
- campaignId: (F = e.leads) == null ? void 0 : F.campaignId,
3902
+ campaignId: (v = e.leads) == null ? void 0 : v.campaignId,
3924
3903
  campaignName: (H = e.leads) == null ? void 0 : H.campaignName,
3925
3904
  fields: ($ = e.leads) == null ? void 0 : $.fields,
3926
3905
  leadTitle: (j = e.matchQuiz.labels) == null ? void 0 : j.leadTitle,
@@ -3928,7 +3907,7 @@ const Vi = (e) => {
3928
3907
  leadCta: (Me = e.matchQuiz.labels) == null ? void 0 : Me.leadCta,
3929
3908
  leadSuccessTitle: (Je = e.matchQuiz.labels) == null ? void 0 : Je.leadSuccessTitle,
3930
3909
  leadSuccessDescription: (pe = e.matchQuiz.labels) == null ? void 0 : pe.leadSuccessDescription,
3931
- syncWithProfile: (Ke = e.leads) == null ? void 0 : Ke.syncWithProfile,
3910
+ syncWithProfile: (Ze = e.leads) == null ? void 0 : Ze.syncWithProfile,
3932
3911
  consents: e.leadConsents
3933
3912
  }
3934
3913
  ) }),
@@ -3978,14 +3957,14 @@ const Vi = (e) => {
3978
3957
  borderRadius: k,
3979
3958
  py: "10px",
3980
3959
  px: "16px",
3981
- borderColor: v,
3982
- color: v,
3960
+ borderColor: F,
3961
+ color: F,
3983
3962
  transition: "all 300ms cubic-bezier(0.2, 0, 0, 1)",
3984
3963
  transform: "scale(1)",
3985
3964
  alignSelf: "center",
3986
3965
  "&:hover": {
3987
- borderColor: v,
3988
- backgroundColor: `${v}10`,
3966
+ borderColor: F,
3967
+ backgroundColor: `${F}10`,
3989
3968
  transform: "scale(1.02)",
3990
3969
  boxShadow: "var(--joy-shadow-md)"
3991
3970
  },
@@ -4006,7 +3985,7 @@ const Vi = (e) => {
4006
3985
  lineHeight: "24px",
4007
3986
  letterSpacing: "0.46px",
4008
3987
  textTransform: "uppercase",
4009
- color: v,
3988
+ color: F,
4010
3989
  gap: "8px",
4011
3990
  display: "flex",
4012
3991
  alignItems: "center"
@@ -4021,19 +4000,19 @@ const Vi = (e) => {
4021
4000
  {
4022
4001
  variant: "soft",
4023
4002
  onClick: ue,
4024
- disabled: !ve(),
4003
+ disabled: !Fe(),
4025
4004
  loading: e.isPlaying,
4026
4005
  sx: {
4027
4006
  borderRadius: k,
4028
4007
  py: "10px",
4029
4008
  px: "16px",
4030
- bgcolor: v,
4009
+ bgcolor: F,
4031
4010
  color: h,
4032
4011
  transition: "all 300ms cubic-bezier(0.2, 0, 0, 1)",
4033
4012
  transform: "scale(1)",
4034
4013
  alignSelf: "center",
4035
4014
  "&:hover": {
4036
- bgcolor: v,
4015
+ bgcolor: F,
4037
4016
  boxShadow: "var(--joy-shadow-md)",
4038
4017
  transform: "scale(1.02)"
4039
4018
  },
@@ -4043,7 +4022,7 @@ const Vi = (e) => {
4043
4022
  boxShadow: "var(--joy-shadow-md)"
4044
4023
  },
4045
4024
  "&:disabled": {
4046
- bgcolor: v,
4025
+ bgcolor: F,
4047
4026
  color: h,
4048
4027
  opacity: "12%",
4049
4028
  boxShadow: "var(--joy-shadow-md)"
@@ -4080,7 +4059,7 @@ const Vi = (e) => {
4080
4059
  ] }) });
4081
4060
  };
4082
4061
  return /* @__PURE__ */ t(
4083
- ai,
4062
+ _n,
4084
4063
  {
4085
4064
  entity: e.matchQuiz,
4086
4065
  headline: u("matchQuiz.headline"),
@@ -4484,7 +4463,7 @@ const Vi = (e) => {
4484
4463
  }
4485
4464
  };
4486
4465
  }, qi = (e) => {
4487
- var Ve, je, Oe, Fe, Le, Ee, _e, He, A, U, Z, ae, Y, J;
4466
+ var Ve, je, Oe, ve, Le, Ee, _e, He, A, U, K, ae, Y, J;
4488
4467
  const { step: n, setStep: a } = e, [l, r] = gt.useState(
4489
4468
  ((Ve = e.leads) == null ? void 0 : Ve.position) === "before" && e.matchQuiz.authRequirement === "LEAD"
4490
4469
  ), m = Be(), { t: d } = te();
@@ -4494,13 +4473,13 @@ const Vi = (e) => {
4494
4473
  ((z = e.leads) == null ? void 0 : z.position) === "before" && e.matchQuiz.authRequirement === "LEAD" || !1
4495
4474
  );
4496
4475
  }, [(je = e.leads) == null ? void 0 : je.position, e.matchQuiz.authRequirement]);
4497
- const u = de(), y = Xe(), o = ((Oe = e.matchQuiz.branding) == null ? void 0 : Oe.colors) || null, S = u ? ((Le = (Fe = e.matchQuiz.branding) == null ? void 0 : Fe.images) == null ? void 0 : Le.mobileLogo) || ((_e = (Ee = e.matchQuiz.branding) == null ? void 0 : Ee.images) == null ? void 0 : _e.mainLogo) || "" : ((A = (He = e.matchQuiz.branding) == null ? void 0 : He.images) == null ? void 0 : A.mainLogo) || "", s = e.imagePosition || "left", f = tt(
4476
+ const u = de(), y = Xe(), o = ((Oe = e.matchQuiz.branding) == null ? void 0 : Oe.colors) || null, S = u ? ((Le = (ve = e.matchQuiz.branding) == null ? void 0 : ve.images) == null ? void 0 : Le.mobileLogo) || ((_e = (Ee = e.matchQuiz.branding) == null ? void 0 : Ee.images) == null ? void 0 : _e.mainLogo) || "" : ((A = (He = e.matchQuiz.branding) == null ? void 0 : He.images) == null ? void 0 : A.mainLogo) || "", s = e.imagePosition || "left", f = tt(
4498
4477
  {
4499
4478
  images: e.matchQuiz.images,
4500
4479
  imagePlaceholder: e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : ""
4501
4480
  },
4502
4481
  xe.STANDARD
4503
- ), b = y || u && !!f, T = Q().palette.danger.plainColor, C = (o == null ? void 0 : o.contentColor) || Q().textColor, I = (o == null ? void 0 : o.secondaryColor) || Q().textColor, k = oe().secondary, v = "60%", h = oe().primary, D = (o == null ? void 0 : o.backgroundColor) || Q().surfaceVariant, R = se(), M = (o == null ? void 0 : o.primaryColor) || Q().palette.primary.plainColor, L = Q().palette.primary.onPrimary, B = se().xl, _ = Ce(), K = dt(
4482
+ ), b = y || u && !!f, T = Q().palette.danger.plainColor, C = (o == null ? void 0 : o.contentColor) || Q().textColor, I = (o == null ? void 0 : o.secondaryColor) || Q().textColor, k = oe().secondary, F = "60%", h = oe().primary, D = (o == null ? void 0 : o.backgroundColor) || Q().surfaceVariant, R = se(), M = (o == null ? void 0 : o.primaryColor) || Q().palette.primary.plainColor, L = Q().palette.primary.onPrimary, B = se().xl, _ = Ce(), Z = dt(
4504
4483
  xe.STANDARD
4505
4484
  ), P = Yi({
4506
4485
  finalImage: f,
@@ -4511,25 +4490,25 @@ const Vi = (e) => {
4511
4490
  textColor: C,
4512
4491
  secondaryColor: I,
4513
4492
  bgcolor: ye(D || ""),
4514
- opacity: v,
4493
+ opacity: F,
4515
4494
  brandingColors: o,
4516
4495
  darkTextColor: m.colorSchemes.dark.textColor,
4517
- imageBackgroundGradient: K,
4496
+ imageBackgroundGradient: Z,
4518
4497
  isMobile: u,
4519
4498
  isExtraSmall: b,
4520
4499
  dangerColor: T
4521
4500
  }), G = () => {
4522
4501
  r(!1);
4523
- }, W = Ze(
4502
+ }, W = Ke(
4524
4503
  (z, ie, re) => {
4525
4504
  const ce = `${ie}:${re}`;
4526
4505
  e.setPrediction((ge) => {
4527
- const w = { ...ge }, X = w.fixtures.find((F) => F.market === z);
4506
+ const w = { ...ge }, X = w.fixtures.find((v) => v.market === z);
4528
4507
  return X && (X.prediction.value = ce), w;
4529
4508
  });
4530
4509
  },
4531
4510
  [e.setPrediction]
4532
- ), O = Ze(
4511
+ ), O = Ke(
4533
4512
  (z, ie) => {
4534
4513
  e.setPrediction((re) => {
4535
4514
  const ce = { ...re }, ge = ce.fixtures.find(
@@ -4539,7 +4518,7 @@ const Vi = (e) => {
4539
4518
  });
4540
4519
  },
4541
4520
  [e.setPrediction]
4542
- ), E = Ze(
4521
+ ), E = Ke(
4543
4522
  (z, ie) => {
4544
4523
  e.setPrediction((re) => {
4545
4524
  const ce = { ...re }, ge = ce.fixtures.find(
@@ -4549,7 +4528,7 @@ const Vi = (e) => {
4549
4528
  });
4550
4529
  },
4551
4530
  [e.setPrediction]
4552
- ), me = Ze(
4531
+ ), me = Ke(
4553
4532
  (z, ie) => {
4554
4533
  e.setPrediction((re) => {
4555
4534
  const ce = { ...re }, ge = ce.fixtures.find((w) => w.market === z);
@@ -4557,7 +4536,7 @@ const Vi = (e) => {
4557
4536
  });
4558
4537
  },
4559
4538
  [e.setPrediction]
4560
- ), ue = e.matchQuiz.fixtures.length + 1, Se = e.matchQuiz.status === "OPEN" && nn(e.matchQuiz.predictionsCutoff), ke = n === ue && ((U = e.leads) == null ? void 0 : U.position) !== "after" && !e.hasAfterConsents ? d("matchQuiz.buttons.play") : d("matchQuiz.buttons.next"), ve = () => {
4539
+ ), ue = e.matchQuiz.fixtures.length + 1, Se = e.matchQuiz.status === "OPEN" && nn(e.matchQuiz.predictionsCutoff), ke = n === ue && ((U = e.leads) == null ? void 0 : U.position) !== "after" && !e.hasAfterConsents ? d("matchQuiz.buttons.play") : d("matchQuiz.buttons.next"), Fe = () => {
4561
4540
  n < ue ? a(n + 1) : e.play();
4562
4541
  }, Pe = (z) => {
4563
4542
  a(z + 1);
@@ -4637,7 +4616,7 @@ const Vi = (e) => {
4637
4616
  /* @__PURE__ */ t(x, { sx: P.stateTitle, children: d("matchQuiz.states.open.title") }),
4638
4617
  /* @__PURE__ */ t(x, { sx: P.stateDescription, children: d("matchQuiz.states.open.description") })
4639
4618
  ] }), N = () => {
4640
- var z, ie, re, ce, ge, w, X, F, H, $, j;
4619
+ var z, ie, re, ce, ge, w, X, v, H, $, j;
4641
4620
  return /* @__PURE__ */ t(p, { children: l ? /* @__PURE__ */ t(i, { sx: P.leadCollectionContainer, children: /* @__PURE__ */ g(i, { sx: P.leadQuestionContainer, children: [
4642
4621
  /* @__PURE__ */ t(i, { sx: P.leadContentContainer, children: /* @__PURE__ */ t(
4643
4622
  yt,
@@ -4653,7 +4632,7 @@ const Vi = (e) => {
4653
4632
  fields: (ge = e.leads) == null ? void 0 : ge.fields,
4654
4633
  leadTitle: (w = e.matchQuiz.labels) == null ? void 0 : w.leadTitle,
4655
4634
  leadDescription: (X = e.matchQuiz.labels) == null ? void 0 : X.leadDescription,
4656
- leadCta: (F = e.matchQuiz.labels) == null ? void 0 : F.leadCta,
4635
+ leadCta: (v = e.matchQuiz.labels) == null ? void 0 : v.leadCta,
4657
4636
  leadSuccessTitle: (H = e.matchQuiz.labels) == null ? void 0 : H.leadSuccessTitle,
4658
4637
  leadSuccessDescription: ($ = e.matchQuiz.labels) == null ? void 0 : $.leadSuccessDescription,
4659
4638
  syncWithProfile: (j = e.leads) == null ? void 0 : j.syncWithProfile,
@@ -4746,7 +4725,7 @@ const Vi = (e) => {
4746
4725
  we,
4747
4726
  {
4748
4727
  variant: "soft",
4749
- onClick: ve,
4728
+ onClick: Fe,
4750
4729
  disabled: !ze(),
4751
4730
  loading: e.isPlaying,
4752
4731
  sx: {
@@ -4859,7 +4838,7 @@ const Vi = (e) => {
4859
4838
  }
4860
4839
  );
4861
4840
  }, ne = it(() => e.matchQuiz.fixtures[n - 1], [e.matchQuiz.fixtures, n]), Qe = it(() => ne == null ? void 0 : ne.matchModel, [
4862
- (ae = (Z = ne == null ? void 0 : ne.matchModel) == null ? void 0 : Z.homeTeam) == null ? void 0 : ae.id,
4841
+ (ae = (K = ne == null ? void 0 : ne.matchModel) == null ? void 0 : K.homeTeam) == null ? void 0 : ae.id,
4863
4842
  (J = (Y = ne == null ? void 0 : ne.matchModel) == null ? void 0 : Y.awayTeam) == null ? void 0 : J.id
4864
4843
  ]), Te = it(() => ne ? {
4865
4844
  onScoreChange: (z, ie) => W(ne.market, z, ie),
@@ -4873,7 +4852,7 @@ const Vi = (e) => {
4873
4852
  me,
4874
4853
  E
4875
4854
  ]), $e = () => {
4876
- var ie, re, ce, ge, w, X, F, H, $, j, be, Me, Je, pe;
4855
+ var ie, re, ce, ge, w, X, v, H, $, j, be, Me, Je, pe;
4877
4856
  const z = ne;
4878
4857
  if (Se)
4879
4858
  return V();
@@ -4882,9 +4861,9 @@ const Vi = (e) => {
4882
4861
  case c.CORRECT_SCORE:
4883
4862
  case c.CORRECT_SCORE_HT:
4884
4863
  case c.CORRECT_SCORE_ADVANCED:
4885
- const Ke = (re = (ie = e.prediction) == null ? void 0 : ie.fixtures) == null ? void 0 : re.find(
4864
+ const Ze = (re = (ie = e.prediction) == null ? void 0 : ie.fixtures) == null ? void 0 : re.find(
4886
4865
  (nt) => nt.market === z.market
4887
- ), ct = (Ke == null ? void 0 : Ke.prediction.value) || "0:0", [qe, wt] = ct.split(":").map(Number);
4866
+ ), ct = (Ze == null ? void 0 : Ze.prediction.value) || "0:0", [qe, wt] = ct.split(":").map(Number);
4888
4867
  return /* @__PURE__ */ t(
4889
4868
  _t,
4890
4869
  {
@@ -4916,7 +4895,7 @@ const Vi = (e) => {
4916
4895
  `${z.market}-${n}`
4917
4896
  );
4918
4897
  case c.CORNERS_MATCH:
4919
- const mt = (F = (X = e.prediction) == null ? void 0 : X.fixtures) == null ? void 0 : F.find(
4898
+ const mt = (v = (X = e.prediction) == null ? void 0 : X.fixtures) == null ? void 0 : v.find(
4920
4899
  (nt) => nt.market === z.market
4921
4900
  );
4922
4901
  return /* @__PURE__ */ t(
@@ -4989,7 +4968,7 @@ const Vi = (e) => {
4989
4968
  }
4990
4969
  };
4991
4970
  return /* @__PURE__ */ t(We, { brandingBorderColor: (o == null ? void 0 : o.borderColor) || null, children: /* @__PURE__ */ t(
4992
- kn,
4971
+ Rn,
4993
4972
  {
4994
4973
  entity: e.matchQuiz,
4995
4974
  headline: d("matchQuiz.headline"),
@@ -5144,8 +5123,8 @@ const Vi = (e) => {
5144
5123
  color: e.textColor,
5145
5124
  lineHeight: 1
5146
5125
  }
5147
- }), Ki = (e) => {
5148
- var fe, ne, Qe, Te, $e, Ve, je, Oe, Fe, Le, Ee, _e, He;
5126
+ }), Zi = (e) => {
5127
+ var fe, ne, Qe, Te, $e, Ve, je, Oe, ve, Le, Ee, _e, He;
5149
5128
  const { step: n, setStep: a } = e, [l, r] = gt.useState(
5150
5129
  ((fe = e.leads) == null ? void 0 : fe.position) === "before" && e.matchQuiz.authRequirement === "LEAD"
5151
5130
  );
@@ -5155,15 +5134,15 @@ const Vi = (e) => {
5155
5134
  ((A = e.leads) == null ? void 0 : A.position) === "before" && e.matchQuiz.authRequirement === "LEAD" || !1
5156
5135
  );
5157
5136
  }, [(ne = e.leads) == null ? void 0 : ne.position, e.matchQuiz.authRequirement]);
5158
- const m = Be(), { t: d } = te(), u = de(), y = Rn(), o = ((Qe = e.matchQuiz.branding) == null ? void 0 : Qe.colors) || null, S = u ? (($e = (Te = e.matchQuiz.branding) == null ? void 0 : Te.images) == null ? void 0 : $e.mobileLogo) || ((je = (Ve = e.matchQuiz.branding) == null ? void 0 : Ve.images) == null ? void 0 : je.mainLogo) || "" : ((Fe = (Oe = e.matchQuiz.branding) == null ? void 0 : Oe.images) == null ? void 0 : Fe.mainLogo) || "", s = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : u ? lt : rt, f = tt(
5137
+ const m = Be(), { t: d } = te(), u = de(), y = Pn(), o = ((Qe = e.matchQuiz.branding) == null ? void 0 : Qe.colors) || null, S = u ? (($e = (Te = e.matchQuiz.branding) == null ? void 0 : Te.images) == null ? void 0 : $e.mobileLogo) || ((je = (Ve = e.matchQuiz.branding) == null ? void 0 : Ve.images) == null ? void 0 : je.mainLogo) || "" : ((ve = (Oe = e.matchQuiz.branding) == null ? void 0 : Oe.images) == null ? void 0 : ve.mainLogo) || "", s = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : u ? lt : rt, f = tt(
5159
5138
  {
5160
5139
  images: e.matchQuiz.images,
5161
5140
  imagePlaceholder: s
5162
5141
  },
5163
5142
  xe.SPLIT
5164
- ), b = Q().palette.danger.plainColor, T = (o == null ? void 0 : o.contentColor) || Q().textColor, C = (o == null ? void 0 : o.secondaryColor) || Q().textColor, I = oe().primary, k = (o == null ? void 0 : o.backgroundColor) || Q().surfaceVariant, v = se(), h = (o == null ? void 0 : o.primaryColor) || Q().palette.primary.plainColor, D = Q().palette.primary.onPrimary, R = se().xl, M = Ce(), L = Xi({
5143
+ ), b = Q().palette.danger.plainColor, T = (o == null ? void 0 : o.contentColor) || Q().textColor, C = (o == null ? void 0 : o.secondaryColor) || Q().textColor, I = oe().primary, k = (o == null ? void 0 : o.backgroundColor) || Q().surfaceVariant, F = se(), h = (o == null ? void 0 : o.primaryColor) || Q().palette.primary.plainColor, D = Q().palette.primary.onPrimary, R = se().xl, M = Ce(), L = Xi({
5165
5144
  spacingScale: M,
5166
- borderRadius: v,
5145
+ borderRadius: F,
5167
5146
  fontFamilyPrimary: I,
5168
5147
  bgcolor: ye(k || ""),
5169
5148
  textColor: T,
@@ -5172,39 +5151,39 @@ const Vi = (e) => {
5172
5151
  dangerColor: b
5173
5152
  }), B = () => {
5174
5153
  r(!1);
5175
- }, _ = Ze(
5176
- (A, U, Z) => {
5177
- const ae = `${U}:${Z}`;
5154
+ }, _ = Ke(
5155
+ (A, U, K) => {
5156
+ const ae = `${U}:${K}`;
5178
5157
  e.setPrediction((Y) => {
5179
5158
  const J = { ...Y }, z = J.fixtures.find((ie) => ie.market === A);
5180
5159
  return z && (z.prediction.value = ae), J;
5181
5160
  });
5182
5161
  },
5183
5162
  [e.setPrediction]
5184
- ), K = Ze(
5163
+ ), Z = Ke(
5185
5164
  (A, U) => {
5186
- e.setPrediction((Z) => {
5187
- const ae = { ...Z }, Y = ae.fixtures.find(
5165
+ e.setPrediction((K) => {
5166
+ const ae = { ...K }, Y = ae.fixtures.find(
5188
5167
  (J) => J.market === A
5189
5168
  );
5190
5169
  return Y && (Y.prediction.value = U), ae;
5191
5170
  });
5192
5171
  },
5193
5172
  [e.setPrediction]
5194
- ), P = Ze(
5173
+ ), P = Ke(
5195
5174
  (A, U) => {
5196
- e.setPrediction((Z) => {
5197
- const ae = { ...Z }, Y = ae.fixtures.find(
5175
+ e.setPrediction((K) => {
5176
+ const ae = { ...K }, Y = ae.fixtures.find(
5198
5177
  (J) => J.market === A
5199
5178
  );
5200
5179
  return Y && (Y.prediction.playerId = U), ae;
5201
5180
  });
5202
5181
  },
5203
5182
  [e.setPrediction]
5204
- ), G = Ze(
5183
+ ), G = Ke(
5205
5184
  (A, U) => {
5206
- e.setPrediction((Z) => {
5207
- const ae = { ...Z }, Y = ae.fixtures.find((J) => J.market === A);
5185
+ e.setPrediction((K) => {
5186
+ const ae = { ...K }, Y = ae.fixtures.find((J) => J.market === A);
5208
5187
  return Y && (Y.prediction.value = U), ae;
5209
5188
  });
5210
5189
  },
@@ -5214,11 +5193,11 @@ const Vi = (e) => {
5214
5193
  }, me = (A) => {
5215
5194
  a(A + 1);
5216
5195
  }, ue = () => {
5217
- var Z, ae;
5196
+ var K, ae;
5218
5197
  if (n === W) return !0;
5219
5198
  const A = e.matchQuiz.fixtures[n - 1];
5220
5199
  if (!A) return !1;
5221
- const U = (ae = (Z = e.prediction) == null ? void 0 : Z.fixtures) == null ? void 0 : ae.find(
5200
+ const U = (ae = (K = e.prediction) == null ? void 0 : K.fixtures) == null ? void 0 : ae.find(
5222
5201
  (Y) => Y.market === A.market
5223
5202
  );
5224
5203
  return U ? A.market === c.CORRECT_SCORE || A.market === c.CORRECT_SCORE_HT || A.market === c.CORRECT_SCORE_ADVANCED || A.market === c.CORNERS_MATCH ? !0 : A.market === c.PLAYER_SCORE || A.market === c.PLAYER_YELLOW_CARD || A.market === c.PLAYER_RED_CARD || A.market === c.PLAYER_SCORE_FIRST_GOAL || A.market === c.PLAYER_SCORE_HATTRICK || A.market === c.PLAYER_SCORE_TWICE ? U.prediction.playerId !== void 0 : U.prediction.value !== null : !1;
@@ -5228,7 +5207,7 @@ const Vi = (e) => {
5228
5207
  var ae, Y, J, z;
5229
5208
  const A = (ae = e.matchQuiz.fixtures[0]) == null ? void 0 : ae.matchModel;
5230
5209
  if (!A || !((Y = A.scores) != null && Y.ftScore)) return null;
5231
- const U = A.scores.ftScore.homeGoals || 0, Z = A.scores.ftScore.awayGoals || 0;
5210
+ const U = A.scores.ftScore.homeGoals || 0, K = A.scores.ftScore.awayGoals || 0;
5232
5211
  return /* @__PURE__ */ g(i, { sx: L.matchResultBadge, children: [
5233
5212
  ((J = A.homeTeam.assets) == null ? void 0 : J.logo) && /* @__PURE__ */ t(i, { sx: L.matchResultTeamLogo, children: /* @__PURE__ */ t(
5234
5213
  "img",
@@ -5246,7 +5225,7 @@ const Vi = (e) => {
5246
5225
  /* @__PURE__ */ g(x, { sx: L.matchResultScoreText, children: [
5247
5226
  U,
5248
5227
  " - ",
5249
- Z
5228
+ K
5250
5229
  ] }),
5251
5230
  ((z = A.awayTeam.assets) == null ? void 0 : z.logo) && /* @__PURE__ */ t(i, { sx: L.matchResultTeamLogo, children: /* @__PURE__ */ t(
5252
5231
  "img",
@@ -5262,7 +5241,7 @@ const Vi = (e) => {
5262
5241
  }
5263
5242
  ) })
5264
5243
  ] });
5265
- }, ve = () => /* @__PURE__ */ t(i, { sx: L.questionAreaContent, children: /* @__PURE__ */ t(i, { sx: L.mainContentContainer, children: /* @__PURE__ */ g(i, { sx: L.gameStateContainer, children: [
5244
+ }, Fe = () => /* @__PURE__ */ t(i, { sx: L.questionAreaContent, children: /* @__PURE__ */ t(i, { sx: L.mainContentContainer, children: /* @__PURE__ */ g(i, { sx: L.gameStateContainer, children: [
5266
5245
  /* @__PURE__ */ t(x, { sx: L.stateTitle, children: d("matchQuiz.states.pending.title") }),
5267
5246
  /* @__PURE__ */ t(x, { sx: L.stateDescription, children: d("matchQuiz.states.pending.description") })
5268
5247
  ] }) }) }), Pe = () => /* @__PURE__ */ t(i, { sx: L.questionAreaContent, children: /* @__PURE__ */ t(i, { sx: L.mainContentContainer, children: /* @__PURE__ */ g(i, { sx: L.gameStateContainer, children: [
@@ -5284,17 +5263,17 @@ const Vi = (e) => {
5284
5263
  (He = (_e = he == null ? void 0 : he.matchModel) == null ? void 0 : _e.awayTeam) == null ? void 0 : He.id
5285
5264
  ]), le = it(() => he ? {
5286
5265
  onScoreChange: (A, U) => _(he.market, A, U),
5287
- onSelectionChange: (A) => K(he.market, A),
5266
+ onSelectionChange: (A) => Z(he.market, A),
5288
5267
  onCornersChange: (A) => G(he.market, A),
5289
5268
  onPlayerSelection: (A) => P(he.market, A)
5290
5269
  } : {}, [
5291
5270
  he == null ? void 0 : he.market,
5292
5271
  _,
5293
- K,
5272
+ Z,
5294
5273
  G,
5295
5274
  P
5296
5275
  ]), q = () => {
5297
- var U, Z, ae, Y, J, z, ie, re, ce, ge, w, X, F, H;
5276
+ var U, K, ae, Y, J, z, ie, re, ce, ge, w, X, v, H;
5298
5277
  const A = he;
5299
5278
  if (O)
5300
5279
  return Ye();
@@ -5303,7 +5282,7 @@ const Vi = (e) => {
5303
5282
  case c.CORRECT_SCORE:
5304
5283
  case c.CORRECT_SCORE_HT:
5305
5284
  case c.CORRECT_SCORE_ADVANCED:
5306
- const $ = (Z = (U = e.prediction) == null ? void 0 : U.fixtures) == null ? void 0 : Z.find(
5285
+ const $ = (K = (U = e.prediction) == null ? void 0 : U.fixtures) == null ? void 0 : K.find(
5307
5286
  (qe) => qe.market === A.market
5308
5287
  ), j = ($ == null ? void 0 : $.prediction.value) || "0:0", [be, Me] = j.split(":").map(Number);
5309
5288
  return /* @__PURE__ */ t(
@@ -5369,7 +5348,7 @@ const Vi = (e) => {
5369
5348
  case c.OVER_CORNERS_13_5:
5370
5349
  case c.RED_CARD_MATCH:
5371
5350
  case c.PENALTY_MATCH:
5372
- const Ke = (ge = (ce = e.prediction) == null ? void 0 : ce.fixtures) == null ? void 0 : ge.find(
5351
+ const Ze = (ge = (ce = e.prediction) == null ? void 0 : ce.fixtures) == null ? void 0 : ge.find(
5373
5352
  (qe) => qe.market === A.market
5374
5353
  );
5375
5354
  return /* @__PURE__ */ t(
@@ -5378,7 +5357,7 @@ const Vi = (e) => {
5378
5357
  matchModel: Ie,
5379
5358
  market: A.market,
5380
5359
  brandingPrimaryColor: o == null ? void 0 : o.primaryColor,
5381
- prediction: (w = Ke == null ? void 0 : Ke.prediction) == null ? void 0 : w.value,
5360
+ prediction: (w = Ze == null ? void 0 : Ze.prediction) == null ? void 0 : w.value,
5382
5361
  isSplitVariant: !0,
5383
5362
  onSelectionChange: le.onSelectionChange
5384
5363
  },
@@ -5390,7 +5369,7 @@ const Vi = (e) => {
5390
5369
  case c.PLAYER_SCORE_FIRST_GOAL:
5391
5370
  case c.PLAYER_SCORE_HATTRICK:
5392
5371
  case c.PLAYER_SCORE_TWICE:
5393
- const ct = (F = (X = e.prediction) == null ? void 0 : X.fixtures) == null ? void 0 : F.find(
5372
+ const ct = (v = (X = e.prediction) == null ? void 0 : X.fixtures) == null ? void 0 : v.find(
5394
5373
  (qe) => qe.market === A.market
5395
5374
  );
5396
5375
  return /* @__PURE__ */ t(
@@ -5409,7 +5388,7 @@ const Vi = (e) => {
5409
5388
  return /* @__PURE__ */ t(p, {});
5410
5389
  }
5411
5390
  }, V = () => {
5412
- var A, U, Z, ae, Y, J, z, ie, re, ce;
5391
+ var A, U, K, ae, Y, J, z, ie, re, ce;
5413
5392
  return /* @__PURE__ */ t(p, { children: l ? /* @__PURE__ */ t(
5414
5393
  i,
5415
5394
  {
@@ -5429,7 +5408,7 @@ const Vi = (e) => {
5429
5408
  contentName: e.matchQuiz.title,
5430
5409
  brandingColors: (A = e.matchQuiz.branding) == null ? void 0 : A.colors,
5431
5410
  brandingUrls: (U = e.matchQuiz.branding) == null ? void 0 : U.urls,
5432
- campaignId: (Z = e.leads) == null ? void 0 : Z.campaignId,
5411
+ campaignId: (K = e.leads) == null ? void 0 : K.campaignId,
5433
5412
  campaignName: (ae = e.leads) == null ? void 0 : ae.campaignName,
5434
5413
  fields: (Y = e.leads) == null ? void 0 : Y.fields,
5435
5414
  leadTitle: (J = e.matchQuiz.labels) == null ? void 0 : J.leadTitle,
@@ -5601,7 +5580,7 @@ const Vi = (e) => {
5601
5580
  }, De = () => {
5602
5581
  switch (e.matchQuiz.status) {
5603
5582
  case "PENDING":
5604
- return ve();
5583
+ return Fe();
5605
5584
  case "LIVE":
5606
5585
  return Pe();
5607
5586
  case "CLOSED":
@@ -5610,21 +5589,21 @@ const Vi = (e) => {
5610
5589
  return V();
5611
5590
  }
5612
5591
  }, Ae = (A) => {
5613
- var U, Z, ae, Y, J;
5592
+ var U, K, ae, Y, J;
5614
5593
  return /* @__PURE__ */ t(
5615
5594
  Re,
5616
5595
  {
5617
5596
  brandingLogo: S,
5618
5597
  textColor: A,
5619
5598
  label: ((U = e.matchQuiz.labels) == null ? void 0 : U.sponsor) || null,
5620
- primaryUrl: (ae = (Z = e.matchQuiz.branding) == null ? void 0 : Z.urls) == null ? void 0 : ae.primaryUrl,
5599
+ primaryUrl: (ae = (K = e.matchQuiz.branding) == null ? void 0 : K.urls) == null ? void 0 : ae.primaryUrl,
5621
5600
  secondaryUrl: (J = (Y = e.matchQuiz.branding) == null ? void 0 : Y.urls) == null ? void 0 : J.secondaryUrl
5622
5601
  }
5623
5602
  );
5624
5603
  };
5625
5604
  return /* @__PURE__ */ g(We, { brandingBorderColor: (o == null ? void 0 : o.borderColor) || null, children: [
5626
5605
  /* @__PURE__ */ t(
5627
- Hn,
5606
+ Mn,
5628
5607
  {
5629
5608
  entity: e.matchQuiz,
5630
5609
  headline: d("matchQuiz.headline"),
@@ -5639,7 +5618,7 @@ const Vi = (e) => {
5639
5618
  (o == null ? void 0 : o.contentColor) || m.colorSchemes.dark.textColor
5640
5619
  ) })
5641
5620
  ] });
5642
- }, Zi = (e) => {
5621
+ }, Ki = (e) => {
5643
5622
  var r, m, d;
5644
5623
  const { t: n } = te(), a = ((r = e.matchQuiz.branding) == null ? void 0 : r.colors) || null, l = (a == null ? void 0 : a.primaryColor) || Q().palette.primary.plainColor;
5645
5624
  return /* @__PURE__ */ t(
@@ -6001,11 +5980,11 @@ const Vi = (e) => {
6001
5980
  }, ta = (e, n) => {
6002
5981
  switch (e) {
6003
5982
  case "success":
6004
- return /* @__PURE__ */ t(oi, {});
5983
+ return /* @__PURE__ */ t(mi, {});
6005
5984
  case "error":
6006
- return /* @__PURE__ */ t(ci, { sx: { color: n } });
5985
+ return /* @__PURE__ */ t(gi, { sx: { color: n } });
6007
5986
  case "info":
6008
- return /* @__PURE__ */ t(ri, {});
5987
+ return /* @__PURE__ */ t(ui, {});
6009
5988
  }
6010
5989
  }, na = (e) => {
6011
5990
  switch (e) {
@@ -6024,7 +6003,7 @@ const Vi = (e) => {
6024
6003
  }) => {
6025
6004
  const r = Be(), m = se(), d = oe().secondary, u = de(), y = na(e);
6026
6005
  return /* @__PURE__ */ t(
6027
- li,
6006
+ ai,
6028
6007
  {
6029
6008
  variant: "soft",
6030
6009
  color: y,
@@ -6039,7 +6018,7 @@ const Vi = (e) => {
6039
6018
  "--Icon-fontSize": u ? "1em" : "1.25em"
6040
6019
  },
6041
6020
  children: /* @__PURE__ */ g(
6042
- si,
6021
+ oi,
6043
6022
  {
6044
6023
  sx: {
6045
6024
  fontSize: "1.5em"
@@ -6077,20 +6056,20 @@ const Vi = (e) => {
6077
6056
  }
6078
6057
  );
6079
6058
  }, ia = (e) => {
6080
- var K, P, G, W;
6059
+ var Z, P, G, W;
6081
6060
  const n = Be(), a = tt(
6082
6061
  {
6083
6062
  images: e.matchQuiz.images,
6084
6063
  imagePlaceholder: e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : ""
6085
6064
  },
6086
6065
  xe.STANDARD
6087
- ), { t: l } = te(), r = ((K = e.matchQuiz.branding) == null ? void 0 : K.colors) || null, m = de(), d = m ? ((P = e.matchQuiz.branding) == null ? void 0 : P.images.mobileLogo) || ((G = e.matchQuiz.branding) == null ? void 0 : G.images.mainLogo) || "" : ((W = e.matchQuiz.branding) == null ? void 0 : W.images.mainLogo) || "", u = e.imagePosition || "left", y = e.matchQuiz.status === "OPEN", o = (O) => {
6066
+ ), { t: l } = te(), r = ((Z = e.matchQuiz.branding) == null ? void 0 : Z.colors) || null, m = de(), d = m ? ((P = e.matchQuiz.branding) == null ? void 0 : P.images.mobileLogo) || ((G = e.matchQuiz.branding) == null ? void 0 : G.images.mainLogo) || "" : ((W = e.matchQuiz.branding) == null ? void 0 : W.images.mainLogo) || "", u = e.imagePosition || "left", y = e.matchQuiz.status === "OPEN", o = (O) => {
6088
6067
  console.log(`Edit prediction for fixture at index: ${O}`);
6089
6068
  }, S = (r == null ? void 0 : r.contentColor) || Q().textColor, s = oe().secondary, f = oe().primary, b = se(), T = Ce(), C = `rgba(${ye(
6090
6069
  Q().surfaceVariant || ""
6091
6070
  )}, 0.5)`, I = dt(
6092
6071
  xe.STANDARD
6093
- ), k = "60%", v = (r == null ? void 0 : r.secondaryColor) || Q().textSecondary, h = Q().secondaryContainer, D = It().size, R = ea({
6072
+ ), k = "60%", F = (r == null ? void 0 : r.secondaryColor) || Q().textSecondary, h = Q().secondaryContainer, D = It().size, R = ea({
6094
6073
  finalImage: a,
6095
6074
  spacingScale: T,
6096
6075
  borderRadius: b,
@@ -6103,7 +6082,7 @@ const Vi = (e) => {
6103
6082
  imageBackgroundGradient: I,
6104
6083
  darkTextColor: n.colorSchemes.dark.textColor,
6105
6084
  opacity: k,
6106
- secondaryColor: v
6085
+ secondaryColor: F
6107
6086
  }), M = {
6108
6087
  display: "flex",
6109
6088
  py: m ? T.xs : T.sm,
@@ -6125,7 +6104,7 @@ const Vi = (e) => {
6125
6104
  alignItems: "center",
6126
6105
  gap: "8px"
6127
6106
  }, B = {
6128
- color: v,
6107
+ color: F,
6129
6108
  fontFamily: f,
6130
6109
  fontSize: m ? "0.750em" : "0.8125em",
6131
6110
  fontStyle: "normal",
@@ -6174,7 +6153,7 @@ const Vi = (e) => {
6174
6153
  }
6175
6154
  ),
6176
6155
  /* @__PURE__ */ t(
6177
- vt,
6156
+ Ft,
6178
6157
  {
6179
6158
  additionalCTA: e.additionalCTA,
6180
6159
  buttonStyle: M,
@@ -6188,7 +6167,7 @@ const Vi = (e) => {
6188
6167
  ] });
6189
6168
  };
6190
6169
  return /* @__PURE__ */ t(We, { brandingBorderColor: (r == null ? void 0 : r.borderColor) || null, children: /* @__PURE__ */ t(
6191
- kn,
6170
+ Rn,
6192
6171
  {
6193
6172
  entity: e.matchQuiz,
6194
6173
  headline: l("matchQuiz.headline"),
@@ -6222,14 +6201,14 @@ const Vi = (e) => {
6222
6201
  p: e.spacingScale.lg
6223
6202
  }
6224
6203
  }), oa = (e) => {
6225
- var _, K, P, G, W, O, E, me, ue;
6226
- const n = Be(), { t: a } = te(), l = de(), r = Rn(), m = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : l ? lt : rt, d = tt(
6204
+ var _, Z, P, G, W, O, E, me, ue;
6205
+ const n = Be(), { t: a } = te(), l = de(), r = Pn(), m = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : l ? lt : rt, d = tt(
6227
6206
  {
6228
6207
  images: e.matchQuiz.images,
6229
6208
  imagePlaceholder: m
6230
6209
  },
6231
6210
  xe.SPLIT
6232
- ), u = ((_ = e.matchQuiz.branding) == null ? void 0 : _.colors) || null, y = (u == null ? void 0 : u.secondaryColor) || Q().textSecondary, o = Q().secondaryContainer, S = oe().primary, s = (u == null ? void 0 : u.backgroundColor) || Q().surfaceVariant, f = se(), b = Q().textColor, T = Ce(), C = It().size, I = l ? ((K = e.matchQuiz.branding) == null ? void 0 : K.images.mobileLogo) || ((P = e.matchQuiz.branding) == null ? void 0 : P.images.mainLogo) || "" : ((G = e.matchQuiz.branding) == null ? void 0 : G.images.mainLogo) || "", k = e.matchQuiz.status === "OPEN" && e.prediction && e.squads && e.onPredictionUpdate, v = (Se) => {
6211
+ ), u = ((_ = e.matchQuiz.branding) == null ? void 0 : _.colors) || null, y = (u == null ? void 0 : u.secondaryColor) || Q().textSecondary, o = Q().secondaryContainer, S = oe().primary, s = (u == null ? void 0 : u.backgroundColor) || Q().surfaceVariant, f = se(), b = Q().textColor, T = Ce(), C = It().size, I = l ? ((Z = e.matchQuiz.branding) == null ? void 0 : Z.images.mobileLogo) || ((P = e.matchQuiz.branding) == null ? void 0 : P.images.mainLogo) || "" : ((G = e.matchQuiz.branding) == null ? void 0 : G.images.mainLogo) || "", k = e.matchQuiz.status === "OPEN" && e.prediction && e.squads && e.onPredictionUpdate, F = (Se) => {
6233
6212
  console.log(`Edit prediction for fixture at index: ${Se}`);
6234
6213
  }, h = !r && I ? /* @__PURE__ */ t(
6235
6214
  Re,
@@ -6276,9 +6255,9 @@ const Vi = (e) => {
6276
6255
  letterSpacing: "0.46px",
6277
6256
  textTransform: "uppercase"
6278
6257
  }, B = () => {
6279
- var Se, ke, ve, Pe, ze;
6258
+ var Se, ke, Fe, Pe, ze;
6280
6259
  return /* @__PURE__ */ t(
6281
- Bn,
6260
+ Qn,
6282
6261
  {
6283
6262
  entity: e.matchQuiz,
6284
6263
  headline: a("matchQuiz.headline"),
@@ -6315,7 +6294,7 @@ const Vi = (e) => {
6315
6294
  fixtures: e.matchQuiz.fixtures,
6316
6295
  prediction: e.prediction,
6317
6296
  brandingPrimaryColor: u == null ? void 0 : u.primaryColor,
6318
- onEditPrediction: v,
6297
+ onEditPrediction: F,
6319
6298
  onPredictionUpdate: e.onPredictionUpdate,
6320
6299
  play: e.play,
6321
6300
  view: "score",
@@ -6335,7 +6314,7 @@ const Vi = (e) => {
6335
6314
  padding: l ? T.sm : T.md
6336
6315
  },
6337
6316
  children: /* @__PURE__ */ t(
6338
- vt,
6317
+ Ft,
6339
6318
  {
6340
6319
  additionalCTA: e.additionalCTA,
6341
6320
  buttonStyle: R,
@@ -6352,7 +6331,7 @@ const Vi = (e) => {
6352
6331
  brandingLogo: I,
6353
6332
  textColor: (u == null ? void 0 : u.contentColor) || b,
6354
6333
  label: ((Se = e.matchQuiz.labels) == null ? void 0 : Se.sponsor) || null,
6355
- primaryUrl: (ve = (ke = e.matchQuiz.branding) == null ? void 0 : ke.urls) == null ? void 0 : ve.primaryUrl,
6334
+ primaryUrl: (Fe = (ke = e.matchQuiz.branding) == null ? void 0 : ke.urls) == null ? void 0 : Fe.primaryUrl,
6356
6335
  secondaryUrl: (ze = (Pe = e.matchQuiz.branding) == null ? void 0 : Pe.urls) == null ? void 0 : ze.secondaryUrl
6357
6336
  }
6358
6337
  )
@@ -6607,7 +6586,7 @@ const Vi = (e) => {
6607
6586
  border: `1px solid ${C}`,
6608
6587
  minWidth: "fit-content",
6609
6588
  flexShrink: 0
6610
- }, v = {
6589
+ }, F = {
6611
6590
  fontFamily: m.primary,
6612
6591
  fontWeight: 700,
6613
6592
  fontSize: "0.875em",
@@ -6625,7 +6604,7 @@ const Vi = (e) => {
6625
6604
  color: l.textSecondary
6626
6605
  };
6627
6606
  return /* @__PURE__ */ g(i, { sx: k, children: [
6628
- /* @__PURE__ */ t(x, { sx: v, children: S }),
6607
+ /* @__PURE__ */ t(x, { sx: F, children: S }),
6629
6608
  /* @__PURE__ */ t(x, { sx: h, children: "/" }),
6630
6609
  /* @__PURE__ */ t(x, { sx: D, children: o }),
6631
6610
  /* @__PURE__ */ t(
@@ -6648,9 +6627,9 @@ const Vi = (e) => {
6648
6627
  brandingColors: m
6649
6628
  }) => {
6650
6629
  var W;
6651
- const [d, u] = gt.useState(0), y = Be(), { t: o } = te(), { squads: S, points: s } = Ue(Ge), f = de(), b = Xe(), T = se().md, C = l ? y.colorSchemes.dark.textPrimary : Q().textPrimary, I = l ? y.colorSchemes.dark.textSecondary : Q().textSecondary, k = oe().primary, v = oe().secondary, h = l ? y.colorSchemes.dark.secondaryContainer : Q().secondaryContainer, D = m != null && m.backgroundColor || l ? y.colorSchemes.dark.surfaceVariant : Q().surfaceVariant, R = Ce(), M = Q().palette.success.plainColor, L = Q().palette.danger.plainColor, B = l ? y.colorSchemes.dark.outlineEnabledBorder : Q().outlineEnabledBorder, _ = l ? y.colorSchemes.dark.palette.neutral.softBg : Q().palette.neutral.softBg;
6652
- let K = l ? y.colorSchemes.dark.textPrimary : Q().textPrimary;
6653
- m != null && m.primaryColor && (K = m.primaryColor);
6630
+ const [d, u] = gt.useState(0), y = Be(), { t: o } = te(), { squads: S, points: s } = Ue(Ge), f = de(), b = Xe(), T = se().md, C = l ? y.colorSchemes.dark.textPrimary : Q().textPrimary, I = l ? y.colorSchemes.dark.textSecondary : Q().textSecondary, k = oe().primary, F = oe().secondary, h = l ? y.colorSchemes.dark.secondaryContainer : Q().secondaryContainer, D = m != null && m.backgroundColor || l ? y.colorSchemes.dark.surfaceVariant : Q().surfaceVariant, R = Ce(), M = Q().palette.success.plainColor, L = Q().palette.danger.plainColor, B = l ? y.colorSchemes.dark.outlineEnabledBorder : Q().outlineEnabledBorder, _ = l ? y.colorSchemes.dark.palette.neutral.softBg : Q().palette.neutral.softBg;
6631
+ let Z = l ? y.colorSchemes.dark.textPrimary : Q().textPrimary;
6632
+ m != null && m.primaryColor && (Z = m.primaryColor);
6654
6633
  const P = (W = s.find(
6655
6634
  (O) => O.id === c.CORRECT_SCORE_ADVANCED
6656
6635
  )) == null ? void 0 : W.points, G = (O) => {
@@ -6734,7 +6713,7 @@ const Vi = (e) => {
6734
6713
  }
6735
6714
  return null;
6736
6715
  }, ke = (le, q) => {
6737
- var $e, Ve, je, Oe, Fe, Le, Ee, _e, He, A, U, Z, ae;
6716
+ var $e, Ve, je, Oe, ve, Le, Ee, _e, He, A, U, K, ae;
6738
6717
  if (!le) return null;
6739
6718
  const V = q.market, N = q.matchModel, De = ($e = le.prediction) == null ? void 0 : $e.value, Ae = (Ve = le.prediction) == null ? void 0 : Ve.playerId, fe = {
6740
6719
  display: "flex",
@@ -6794,7 +6773,7 @@ const Vi = (e) => {
6794
6773
  ":",
6795
6774
  z
6796
6775
  ] }),
6797
- ((Le = (Fe = N == null ? void 0 : N.awayTeam) == null ? void 0 : Fe.assets) == null ? void 0 : Le.logo) && /* @__PURE__ */ t(i, { sx: ne, children: /* @__PURE__ */ t(
6776
+ ((Le = (ve = N == null ? void 0 : N.awayTeam) == null ? void 0 : ve.assets) == null ? void 0 : Le.logo) && /* @__PURE__ */ t(i, { sx: ne, children: /* @__PURE__ */ t(
6798
6777
  "img",
6799
6778
  {
6800
6779
  src: N.awayTeam.assets.logo,
@@ -6812,7 +6791,7 @@ const Vi = (e) => {
6812
6791
  if (V === c.FT_1X2 || V === c.HT_1X2) {
6813
6792
  const Y = De;
6814
6793
  let J = "", z = null;
6815
- return Y === "1" ? (J = ((Ee = N == null ? void 0 : N.homeTeam) == null ? void 0 : Ee.name) || "Home", z = (He = (_e = N == null ? void 0 : N.homeTeam) == null ? void 0 : _e.assets) == null ? void 0 : He.logo) : Y === "x" || Y === "X" ? J = o("matchQuiz.fixtures.draw") : Y === "2" && (J = ((A = N == null ? void 0 : N.awayTeam) == null ? void 0 : A.name) || "Away", z = (Z = (U = N == null ? void 0 : N.awayTeam) == null ? void 0 : U.assets) == null ? void 0 : Z.logo), /* @__PURE__ */ g(i, { sx: fe, children: [
6794
+ return Y === "1" ? (J = ((Ee = N == null ? void 0 : N.homeTeam) == null ? void 0 : Ee.name) || "Home", z = (He = (_e = N == null ? void 0 : N.homeTeam) == null ? void 0 : _e.assets) == null ? void 0 : He.logo) : Y === "x" || Y === "X" ? J = o("matchQuiz.fixtures.draw") : Y === "2" && (J = ((A = N == null ? void 0 : N.awayTeam) == null ? void 0 : A.name) || "Away", z = (K = (U = N == null ? void 0 : N.awayTeam) == null ? void 0 : U.assets) == null ? void 0 : K.logo), /* @__PURE__ */ g(i, { sx: fe, children: [
6816
6795
  z && /* @__PURE__ */ t(i, { sx: ne, children: /* @__PURE__ */ t(
6817
6796
  "img",
6818
6797
  {
@@ -6858,8 +6837,8 @@ const Vi = (e) => {
6858
6837
  ] });
6859
6838
  }
6860
6839
  return V === c.PENALTY_MATCH || V === c.RED_CARD_MATCH || V.includes("OVER_") ? /* @__PURE__ */ t(i, { sx: fe, children: /* @__PURE__ */ t(x, { sx: Te, children: o(De === !0 ? "matchQuiz.fixtures.yes" : "matchQuiz.fixtures.no") }) }) : V === c.CORNERS_MATCH ? /* @__PURE__ */ t(i, { sx: fe, children: /* @__PURE__ */ t(x, { sx: Te, children: De || 6 }) }) : null;
6861
- }, ve = (le) => {
6862
- var Qe, Te, $e, Ve, je, Oe, Fe, Le, Ee, _e, He;
6840
+ }, Fe = (le) => {
6841
+ var Qe, Te, $e, Ve, je, Oe, ve, Le, Ee, _e, He;
6863
6842
  const q = le.market, V = le.matchModel, N = le.result, De = {
6864
6843
  display: "flex",
6865
6844
  alignItems: "center",
@@ -6898,7 +6877,7 @@ const Vi = (e) => {
6898
6877
  color: C
6899
6878
  };
6900
6879
  if (q === c.CORRECT_SCORE || q === c.CORRECT_SCORE_HT || q === c.CORRECT_SCORE_ADVANCED) {
6901
- const A = N || "0:0", [U, Z] = A.split(":");
6880
+ const A = N || "0:0", [U, K] = A.split(":");
6902
6881
  return /* @__PURE__ */ g(i, { sx: De, children: [
6903
6882
  ((Te = (Qe = V == null ? void 0 : V.homeTeam) == null ? void 0 : Qe.assets) == null ? void 0 : Te.logo) && /* @__PURE__ */ t(i, { sx: Ae, children: /* @__PURE__ */ t(
6904
6883
  "img",
@@ -6916,7 +6895,7 @@ const Vi = (e) => {
6916
6895
  /* @__PURE__ */ g(x, { sx: ne, children: [
6917
6896
  U,
6918
6897
  ":",
6919
- Z
6898
+ K
6920
6899
  ] }),
6921
6900
  ((Ve = ($e = V == null ? void 0 : V.awayTeam) == null ? void 0 : $e.assets) == null ? void 0 : Ve.logo) && /* @__PURE__ */ t(i, { sx: Ae, children: /* @__PURE__ */ t(
6922
6901
  "img",
@@ -6935,12 +6914,12 @@ const Vi = (e) => {
6935
6914
  }
6936
6915
  if (q === c.FT_1X2 || q === c.HT_1X2) {
6937
6916
  const A = N;
6938
- let U = "", Z = null;
6939
- return A === "1" ? (U = ((je = V == null ? void 0 : V.homeTeam) == null ? void 0 : je.name) || "Home", Z = (Fe = (Oe = V == null ? void 0 : V.homeTeam) == null ? void 0 : Oe.assets) == null ? void 0 : Fe.logo) : A === "x" || A === "X" ? U = o("matchQuiz.fixtures.draw") : A === "2" && (U = ((Le = V == null ? void 0 : V.awayTeam) == null ? void 0 : Le.name) || "Away", Z = (_e = (Ee = V == null ? void 0 : V.awayTeam) == null ? void 0 : Ee.assets) == null ? void 0 : _e.logo), /* @__PURE__ */ g(i, { sx: De, children: [
6940
- Z && /* @__PURE__ */ t(i, { sx: Ae, children: /* @__PURE__ */ t(
6917
+ let U = "", K = null;
6918
+ return A === "1" ? (U = ((je = V == null ? void 0 : V.homeTeam) == null ? void 0 : je.name) || "Home", K = (ve = (Oe = V == null ? void 0 : V.homeTeam) == null ? void 0 : Oe.assets) == null ? void 0 : ve.logo) : A === "x" || A === "X" ? U = o("matchQuiz.fixtures.draw") : A === "2" && (U = ((Le = V == null ? void 0 : V.awayTeam) == null ? void 0 : Le.name) || "Away", K = (_e = (Ee = V == null ? void 0 : V.awayTeam) == null ? void 0 : Ee.assets) == null ? void 0 : _e.logo), /* @__PURE__ */ g(i, { sx: De, children: [
6919
+ K && /* @__PURE__ */ t(i, { sx: Ae, children: /* @__PURE__ */ t(
6941
6920
  "img",
6942
6921
  {
6943
- src: Z,
6922
+ src: K,
6944
6923
  alt: U,
6945
6924
  style: {
6946
6925
  width: "100%",
@@ -6955,10 +6934,10 @@ const Vi = (e) => {
6955
6934
  }
6956
6935
  if (q.includes("PLAYER_")) {
6957
6936
  if (Array.isArray(N) && le.playerModels) {
6958
- const A = N.map((Z) => {
6937
+ const A = N.map((K) => {
6959
6938
  var Y;
6960
6939
  return (Y = le.playerModels) == null ? void 0 : Y.find(
6961
- (J) => J.id === Z
6940
+ (J) => J.id === K
6962
6941
  );
6963
6942
  }).filter(Boolean);
6964
6943
  if (A.length === 0)
@@ -6983,7 +6962,7 @@ const Vi = (e) => {
6983
6962
  sx: { fontSize: "0.75em", color: I }
6984
6963
  }
6985
6964
  ) }),
6986
- /* @__PURE__ */ t(x, { sx: ne, children: A.map((Z) => Z == null ? void 0 : Z.name).join(", ") })
6965
+ /* @__PURE__ */ t(x, { sx: ne, children: A.map((K) => K == null ? void 0 : K.name).join(", ") })
6987
6966
  ] });
6988
6967
  }
6989
6968
  return /* @__PURE__ */ t(i, { sx: De, children: /* @__PURE__ */ t(x, { sx: ne, children: o("matchQuiz.fixtures.noGoalWillBeScored") }) });
@@ -7092,7 +7071,7 @@ const Vi = (e) => {
7092
7071
  {
7093
7072
  sx: {
7094
7073
  color: ue(O, E) ? l ? y.colorSchemes.dark.palette.success.plainColor : M : l ? y.colorSchemes.dark.palette.danger.plainColor : L,
7095
- fontFamily: v,
7074
+ fontFamily: F,
7096
7075
  fontSize: "1em",
7097
7076
  fontStyle: "normal",
7098
7077
  fontWeight: ue(O, E) ? 700 : 600,
@@ -7120,7 +7099,7 @@ const Vi = (e) => {
7120
7099
  {
7121
7100
  sx: {
7122
7101
  color: C,
7123
- fontFamily: v,
7102
+ fontFamily: F,
7124
7103
  fontSize: "1em",
7125
7104
  fontStyle: "normal",
7126
7105
  fontWeight: 600,
@@ -7130,7 +7109,7 @@ const Vi = (e) => {
7130
7109
  children: o("matchQuiz.correctPrediction")
7131
7110
  }
7132
7111
  ),
7133
- ve(O)
7112
+ Fe(O)
7134
7113
  ]
7135
7114
  }
7136
7115
  )
@@ -7162,7 +7141,7 @@ const Vi = (e) => {
7162
7141
  {
7163
7142
  sx: {
7164
7143
  color: C,
7165
- fontFamily: v,
7144
+ fontFamily: F,
7166
7145
  fontSize: "1em",
7167
7146
  fontStyle: "normal",
7168
7147
  fontWeight: 600,
@@ -7184,7 +7163,7 @@ const Vi = (e) => {
7184
7163
  );
7185
7164
  };
7186
7165
  return /* @__PURE__ */ t(i, { sx: { width: "100%" }, children: /* @__PURE__ */ g(
7187
- Tn,
7166
+ In,
7188
7167
  {
7189
7168
  value: d,
7190
7169
  onChange: (O, E) => u(E),
@@ -7196,7 +7175,7 @@ const Vi = (e) => {
7196
7175
  },
7197
7176
  children: [
7198
7177
  /* @__PURE__ */ g(
7199
- In,
7178
+ kn,
7200
7179
  {
7201
7180
  sx: {
7202
7181
  fontSize: f ? "0.75em" : "1em",
@@ -7219,10 +7198,10 @@ const Vi = (e) => {
7219
7198
  bgcolor: l ? "#FAFAFA14" : "#2121210A"
7220
7199
  // Highlight selected tab
7221
7200
  },
7222
- [`&.${xn.selected}`]: {
7201
+ [`&.${Cn.selected}`]: {
7223
7202
  bgcolor: l ? "#FAFAFA14" : "#2121210A",
7224
7203
  // Highlight selected tab
7225
- borderBottom: "3px solid " + K,
7204
+ borderBottom: "3px solid " + Z,
7226
7205
  opacity: "100%",
7227
7206
  mb: "-1px"
7228
7207
  }
@@ -7294,10 +7273,10 @@ const Vi = (e) => {
7294
7273
  bgcolor: l ? "#FAFAFA14" : "#2121210A"
7295
7274
  // Highlight selected tab
7296
7275
  },
7297
- [`&.${xn.selected}`]: {
7276
+ [`&.${Cn.selected}`]: {
7298
7277
  bgcolor: l ? "#FAFAFA14" : "#2121210A",
7299
7278
  // Highlight selected tab
7300
- borderBottom: "3px solid " + K,
7279
+ borderBottom: "3px solid " + Z,
7301
7280
  opacity: "100%",
7302
7281
  mb: "-1px"
7303
7282
  }
@@ -7436,7 +7415,7 @@ const Vi = (e) => {
7436
7415
  {
7437
7416
  sx: {
7438
7417
  color: I,
7439
- fontFamily: v,
7418
+ fontFamily: F,
7440
7419
  fontSize: "1em",
7441
7420
  fontWeight: 400,
7442
7421
  lineHeight: "1.4"
@@ -7487,7 +7466,7 @@ const Vi = (e) => {
7487
7466
  ), [r, m] = ee(
7488
7467
  null
7489
7468
  ), [d, u] = ee(1), [y, o] = ee(null), [S, s] = ee(!1), f = async (k = 1) => {
7490
- var v;
7469
+ var F;
7491
7470
  try {
7492
7471
  s(!0);
7493
7472
  const h = await n.loyalty.getLeaderboardForGame(
@@ -7495,7 +7474,7 @@ const Vi = (e) => {
7495
7474
  { limit: 5, page: k },
7496
7475
  !0
7497
7476
  );
7498
- l(h.data), o(((v = h.meta) == null ? void 0 : v.pagination) || null), u(k);
7477
+ l(h.data), o(((F = h.meta) == null ? void 0 : F.pagination) || null), u(k);
7499
7478
  } catch (h) {
7500
7479
  console.warn(h), l([]), o(null);
7501
7480
  } finally {
@@ -7503,10 +7482,10 @@ const Vi = (e) => {
7503
7482
  }
7504
7483
  }, b = async () => {
7505
7484
  try {
7506
- const k = await n.profile.getOwn().getInfo(), v = await n.loyalty.getUserRankings(k.id, {
7485
+ const k = await n.profile.getOwn().getInfo(), F = await n.loyalty.getUserRankings(k.id, {
7507
7486
  leaderboardIds: [e]
7508
7487
  });
7509
- m(v.data);
7488
+ m(F.data);
7510
7489
  } catch (k) {
7511
7490
  console.warn(k), m([]);
7512
7491
  }
@@ -7537,7 +7516,7 @@ const Vi = (e) => {
7537
7516
  isSplitVariant: r
7538
7517
  }) => {
7539
7518
  var L;
7540
- const { t: m } = te(), d = Be(), u = Q(), y = ((L = a.branding) == null ? void 0 : L.colors) || null, o = (y == null ? void 0 : y.primaryColor) || u.palette.primary.plainColor, S = (y == null ? void 0 : y.contentColor) || u.textColor, s = oe().primary, f = oe().secondary, b = se(), T = Ce(), C = Xe(), I = u.surfaceVariant, k = d.colorSchemes.light.palette.primary.onPrimary, v = u.outlineEnabledBorder, h = {
7519
+ const { t: m } = te(), d = Be(), u = Q(), y = ((L = a.branding) == null ? void 0 : L.colors) || null, o = (y == null ? void 0 : y.primaryColor) || u.palette.primary.plainColor, S = (y == null ? void 0 : y.contentColor) || u.textColor, s = oe().primary, f = oe().secondary, b = se(), T = Ce(), C = Xe(), I = u.surfaceVariant, k = d.colorSchemes.light.palette.primary.onPrimary, F = u.outlineEnabledBorder, h = {
7541
7520
  leaderboardContainer: {
7542
7521
  display: "flex",
7543
7522
  flexDirection: "column",
@@ -7554,7 +7533,7 @@ const Vi = (e) => {
7554
7533
  tableContainer: {
7555
7534
  overflowX: "auto",
7556
7535
  borderRadius: b.md,
7557
- border: `1px solid ${v}`
7536
+ border: `1px solid ${F}`
7558
7537
  },
7559
7538
  table: {
7560
7539
  backgroundColor: I,
@@ -7571,7 +7550,7 @@ const Vi = (e) => {
7571
7550
  fontWeight: 600,
7572
7551
  fontSize: "0.875em",
7573
7552
  textAlign: "center",
7574
- borderBottom: `1px solid ${v}`
7553
+ borderBottom: `1px solid ${F}`
7575
7554
  }
7576
7555
  },
7577
7556
  headerCellPosition: {
@@ -7695,7 +7674,7 @@ const Vi = (e) => {
7695
7674
  D.position
7696
7675
  ] }) }),
7697
7676
  /* @__PURE__ */ t("td", { style: h.tableCellName, children: /* @__PURE__ */ g(i, { sx: h.nameCell, children: [
7698
- /* @__PURE__ */ t(bn, { sx: h.leaderboardAvatar, children: /* @__PURE__ */ t(Sn, { sx: h.avatarIcon }) }),
7677
+ /* @__PURE__ */ t(Sn, { sx: h.leaderboardAvatar, children: /* @__PURE__ */ t(bn, { sx: h.avatarIcon }) }),
7699
7678
  /* @__PURE__ */ t(x, { sx: h.nameText, children: m("matchQuiz.leaderboard.you") })
7700
7679
  ] }) }),
7701
7680
  /* @__PURE__ */ t("td", { style: h.tableCellPoints, children: /* @__PURE__ */ t(x, { sx: h.pointsText, children: D.points }) })
@@ -7713,11 +7692,11 @@ const Vi = (e) => {
7713
7692
  ] }) }),
7714
7693
  /* @__PURE__ */ t("td", { style: h.tableCellName, children: /* @__PURE__ */ g(i, { sx: h.nameCell, children: [
7715
7694
  /* @__PURE__ */ t(
7716
- bn,
7695
+ Sn,
7717
7696
  {
7718
7697
  src: B.profileModel.avatar || void 0,
7719
7698
  sx: h.leaderboardAvatar,
7720
- children: B.profileModel.avatar ? /* @__PURE__ */ t(p, {}) : /* @__PURE__ */ t(Sn, { sx: h.avatarIcon })
7699
+ children: B.profileModel.avatar ? /* @__PURE__ */ t(p, {}) : /* @__PURE__ */ t(bn, { sx: h.avatarIcon })
7721
7700
  }
7722
7701
  ),
7723
7702
  /* @__PURE__ */ t(x, { sx: h.nameText, children: _ ? m("matchQuiz.leaderboard.you") : B.profileModel.nickname || B.profileModel.name })
@@ -7794,7 +7773,7 @@ const Vi = (e) => {
7794
7773
  opacity: 0.5
7795
7774
  }
7796
7775
  };
7797
- }, v = () => {
7776
+ }, F = () => {
7798
7777
  if (!o)
7799
7778
  return {
7800
7779
  borderRadius: "8px",
@@ -7841,8 +7820,8 @@ const Vi = (e) => {
7841
7820
  color: "neutral",
7842
7821
  onClick: () => s(1),
7843
7822
  disabled: y || n === 1,
7844
- sx: v(),
7845
- children: /* @__PURE__ */ t(at, { children: /* @__PURE__ */ t(di, { size: I }) })
7823
+ sx: F(),
7824
+ children: /* @__PURE__ */ t(at, { children: /* @__PURE__ */ t(hi, { size: I }) })
7846
7825
  }
7847
7826
  ),
7848
7827
  /* @__PURE__ */ t(
@@ -7853,8 +7832,8 @@ const Vi = (e) => {
7853
7832
  color: "neutral",
7854
7833
  onClick: () => s(n - 1),
7855
7834
  disabled: y || n === 1,
7856
- sx: v(),
7857
- children: /* @__PURE__ */ t(at, { children: /* @__PURE__ */ t(ui, { size: I }) })
7835
+ sx: F(),
7836
+ children: /* @__PURE__ */ t(at, { children: /* @__PURE__ */ t(xi, { size: I }) })
7858
7837
  }
7859
7838
  ),
7860
7839
  T.map((h, D) => {
@@ -7905,8 +7884,8 @@ const Vi = (e) => {
7905
7884
  color: "neutral",
7906
7885
  onClick: () => s(n + 1),
7907
7886
  disabled: y || n === e,
7908
- sx: v(),
7909
- children: /* @__PURE__ */ t(at, { children: /* @__PURE__ */ t(gi, { size: I }) })
7887
+ sx: F(),
7888
+ children: /* @__PURE__ */ t(at, { children: /* @__PURE__ */ t(yi, { size: I }) })
7910
7889
  }
7911
7890
  ),
7912
7891
  d && /* @__PURE__ */ t(
@@ -7917,15 +7896,15 @@ const Vi = (e) => {
7917
7896
  color: "neutral",
7918
7897
  onClick: () => s(e),
7919
7898
  disabled: y || n === e,
7920
- sx: v(),
7921
- children: /* @__PURE__ */ t(at, { children: /* @__PURE__ */ t(mi, { size: I }) })
7899
+ sx: F(),
7900
+ children: /* @__PURE__ */ t(at, { children: /* @__PURE__ */ t(fi, { size: I }) })
7922
7901
  }
7923
7902
  )
7924
7903
  ]
7925
7904
  }
7926
7905
  );
7927
7906
  }, da = (e) => {
7928
- var W, O, E, me, ue, Se, ke, ve, Pe;
7907
+ var W, O, E, me, ue, Se, ke, Fe, Pe;
7929
7908
  const n = Be(), { t: a } = te(), l = de(), r = ((W = e.matchQuiz.branding) == null ? void 0 : W.colors) || null, m = l ? ((E = (O = e.matchQuiz.branding) == null ? void 0 : O.images) == null ? void 0 : E.mobileLogo) || ((ue = (me = e.matchQuiz.branding) == null ? void 0 : me.images) == null ? void 0 : ue.mainLogo) || "" : ((ke = (Se = e.matchQuiz.branding) == null ? void 0 : Se.images) == null ? void 0 : ke.mainLogo) || "", d = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : l ? lt : rt, u = tt(
7930
7909
  {
7931
7910
  images: e.matchQuiz.images,
@@ -7934,7 +7913,7 @@ const Vi = (e) => {
7934
7913
  xe.SPLIT
7935
7914
  ), y = Q().palette.danger.plainColor, o = (r == null ? void 0 : r.contentColor) || Q().textColor, S = (r == null ? void 0 : r.secondaryColor) || Q().textColor, s = oe().secondary, f = "60%", b = oe().primary, T = (r == null ? void 0 : r.backgroundColor) || Q().surfaceVariant, C = se(), I = Ce(), k = dt(
7936
7915
  xe.SPLIT
7937
- ), v = la({
7916
+ ), F = la({
7938
7917
  finalImage: u,
7939
7918
  spacingScale: I,
7940
7919
  borderRadius: C,
@@ -7950,11 +7929,11 @@ const Vi = (e) => {
7950
7929
  isMobile: l,
7951
7930
  dangerColor: y,
7952
7931
  isTabulated: e.showPredictionDetails || !1
7953
- }), h = ((ve = e.matchQuiz.labels) == null ? void 0 : ve.sponsor) || null, { leaderboard: D, userRankings: R, pagination: M, currentPage: L, goToPage: B } = sn(e.matchQuiz.id, e.sdk), _ = cn(
7932
+ }), h = ((Fe = e.matchQuiz.labels) == null ? void 0 : Fe.sponsor) || null, { leaderboard: D, userRankings: R, pagination: M, currentPage: L, goToPage: B } = sn(e.matchQuiz.id, e.sdk), _ = cn(
7954
7933
  e.matchQuiz.id,
7955
7934
  e.sdk,
7956
7935
  e.showPredictionDetails || !1
7957
- ), K = () => /* @__PURE__ */ t(p, { children: /* @__PURE__ */ t(i, { sx: v.questionAreaContent, children: /* @__PURE__ */ g(i, { sx: v.mainContentContainer, children: [
7936
+ ), Z = () => /* @__PURE__ */ t(p, { children: /* @__PURE__ */ t(i, { sx: F.questionAreaContent, children: /* @__PURE__ */ g(i, { sx: F.mainContentContainer, children: [
7958
7937
  /* @__PURE__ */ t(
7959
7938
  dn,
7960
7939
  {
@@ -7965,7 +7944,7 @@ const Vi = (e) => {
7965
7944
  isSplitVariant: !0
7966
7945
  }
7967
7946
  ),
7968
- R && M && M.numberOfPages > 1 && /* @__PURE__ */ t(i, { sx: v.paginationContainer, children: /* @__PURE__ */ t(
7947
+ R && M && M.numberOfPages > 1 && /* @__PURE__ */ t(i, { sx: F.paginationContainer, children: /* @__PURE__ */ t(
7969
7948
  mn,
7970
7949
  {
7971
7950
  count: M.numberOfPages,
@@ -8027,7 +8006,7 @@ const Vi = (e) => {
8027
8006
  textColor: ze,
8028
8007
  label: h
8029
8008
  }
8030
- ), G = () => /* @__PURE__ */ t(i, { sx: v.headlineSection, children: /* @__PURE__ */ g(i, { sx: v.headlineContent, children: [
8009
+ ), G = () => /* @__PURE__ */ t(i, { sx: F.headlineSection, children: /* @__PURE__ */ g(i, { sx: F.headlineContent, children: [
8031
8010
  /* @__PURE__ */ g(i, { children: [
8032
8011
  /* @__PURE__ */ g(
8033
8012
  i,
@@ -8039,9 +8018,9 @@ const Vi = (e) => {
8039
8018
  gap: I["3xs"]
8040
8019
  },
8041
8020
  children: [
8042
- /* @__PURE__ */ t(x, { sx: v.headlineText, children: a("matchQuiz.headline") }),
8021
+ /* @__PURE__ */ t(x, { sx: F.headlineText, children: a("matchQuiz.headline") }),
8043
8022
  /* @__PURE__ */ t(
8044
- Pt,
8023
+ Rt,
8045
8024
  {
8046
8025
  rules: e.matchQuiz.rules || "",
8047
8026
  rulesDisplay: e.rulesDisplay,
@@ -8051,9 +8030,9 @@ const Vi = (e) => {
8051
8030
  ]
8052
8031
  }
8053
8032
  ),
8054
- /* @__PURE__ */ g(i, { sx: v.contentContainer, children: [
8055
- /* @__PURE__ */ t(x, { sx: v.titleText, children: e.matchQuiz.title }),
8056
- /* @__PURE__ */ t(x, { sx: v.descriptionText, children: Rt(e.matchQuiz.description) })
8033
+ /* @__PURE__ */ g(i, { sx: F.contentContainer, children: [
8034
+ /* @__PURE__ */ t(x, { sx: F.titleText, children: e.matchQuiz.title }),
8035
+ /* @__PURE__ */ t(x, { sx: F.descriptionText, children: Pt(e.matchQuiz.description) })
8057
8036
  ] })
8058
8037
  ] }),
8059
8038
  m && !l && /* @__PURE__ */ t(i, { children: P(
@@ -8075,12 +8054,12 @@ const Vi = (e) => {
8075
8054
  },
8076
8055
  children: [
8077
8056
  G(),
8078
- K()
8057
+ Z()
8079
8058
  ]
8080
8059
  }
8081
8060
  ) : /* @__PURE__ */ g(p, { children: [
8082
8061
  G(),
8083
- K()
8062
+ Z()
8084
8063
  ] }) });
8085
8064
  }, ma = (e) => {
8086
8065
  var n, a, l, r, m;
@@ -8788,13 +8767,13 @@ const Vi = (e) => {
8788
8767
  var Se;
8789
8768
  const n = Ce(), a = Be(), { t: l } = te(), r = de(), m = Xe(), d = dt(
8790
8769
  xe.OVERLAY
8791
- ), { brandingImage: u, brandingColors: y, brandingLogo: o } = kt(e.matchQuiz.branding || null), S = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : r ? lt : rt, s = u || tt(
8770
+ ), { brandingImage: u, brandingColors: y, brandingLogo: o } = Tt(e.matchQuiz.branding || null), S = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : r ? lt : rt, s = u || tt(
8792
8771
  {
8793
8772
  images: e.matchQuiz.images,
8794
8773
  imagePlaceholder: S
8795
8774
  },
8796
8775
  xe.OVERLAY
8797
- ), f = Q().textPrimary, b = (y == null ? void 0 : y.primaryColor) || Q().palette.primary.plainColor, T = (y == null ? void 0 : y.contentColor) || Q().textColor, C = oe().secondary, I = oe().primary, k = Q().surface, v = `rgba(${ye(
8776
+ ), f = Q().textPrimary, b = (y == null ? void 0 : y.primaryColor) || Q().palette.primary.plainColor, T = (y == null ? void 0 : y.contentColor) || Q().textColor, C = oe().secondary, I = oe().primary, k = Q().surface, F = `rgba(${ye(
8798
8777
  (y == null ? void 0 : y.backgroundColor) || Q().surfaceVariant
8799
8778
  )}, 0.5)`, h = Q().onSurface, D = se(), R = It().size, M = `rgba(${ye(
8800
8779
  Q().surfaceVariant || ""
@@ -8807,7 +8786,7 @@ const Vi = (e) => {
8807
8786
  textPrimary: f,
8808
8787
  primaryColor: b,
8809
8788
  textColor: T,
8810
- bgcolor: v,
8789
+ bgcolor: F,
8811
8790
  buttonBgColor: k,
8812
8791
  onSurfaceColor: h,
8813
8792
  borderSize: R,
@@ -8823,7 +8802,7 @@ const Vi = (e) => {
8823
8802
  opacity: "60%",
8824
8803
  secondaryColor: L,
8825
8804
  isExtraSmall: m
8826
- }), { leaderboard: K, userRankings: P, pagination: G, currentPage: W, goToPage: O } = sn(e.matchQuiz.id, e.sdk), E = cn(
8805
+ }), { leaderboard: Z, userRankings: P, pagination: G, currentPage: W, goToPage: O } = sn(e.matchQuiz.id, e.sdk), E = cn(
8827
8806
  e.matchQuiz.id,
8828
8807
  e.sdk,
8829
8808
  e.showPredictionDetails || !1
@@ -8855,7 +8834,7 @@ const Vi = (e) => {
8855
8834
  children: [
8856
8835
  /* @__PURE__ */ t(x, { level: "body-sm", sx: _.headlineText, children: l("matchQuiz.headline") }),
8857
8836
  /* @__PURE__ */ t(
8858
- Pt,
8837
+ Rt,
8859
8838
  {
8860
8839
  rules: e.matchQuiz.rules || "",
8861
8840
  rulesDisplay: e.rulesDisplay,
@@ -8867,7 +8846,7 @@ const Vi = (e) => {
8867
8846
  ),
8868
8847
  /* @__PURE__ */ g(i, { sx: _.contentContainer, children: [
8869
8848
  /* @__PURE__ */ t(x, { level: "h4", sx: _.titleText, children: e.matchQuiz.title }),
8870
- e.matchQuiz.description && /* @__PURE__ */ t(x, { level: "body-lg", sx: _.descriptionText, children: Rt(e.matchQuiz.description) })
8849
+ e.matchQuiz.description && /* @__PURE__ */ t(x, { level: "body-lg", sx: _.descriptionText, children: Pt(e.matchQuiz.description) })
8871
8850
  ] })
8872
8851
  ] }) }) }) }),
8873
8852
  /* @__PURE__ */ g(i, { sx: _.mainContentSection, children: [
@@ -8875,7 +8854,7 @@ const Vi = (e) => {
8875
8854
  /* @__PURE__ */ t(
8876
8855
  dn,
8877
8856
  {
8878
- leaderboard: K,
8857
+ leaderboard: Z,
8879
8858
  userRankings: P,
8880
8859
  matchQuiz: e.matchQuiz,
8881
8860
  showHeading: !e.showPredictionDetails,
@@ -9042,21 +9021,21 @@ const Vi = (e) => {
9042
9021
  }), ha = (e) => {
9043
9022
  const n = Be(), a = Ce(), { t: l } = te(), r = de(), m = dt(
9044
9023
  xe.OVERLAY
9045
- ), { brandingImage: d, brandingColors: u, brandingLogo: y } = kt(e.matchQuiz.branding), o = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : r ? lt : rt, S = d || tt(
9024
+ ), { brandingImage: d, brandingColors: u, brandingLogo: y } = Tt(e.matchQuiz.branding), o = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : r ? lt : rt, S = d || tt(
9046
9025
  {
9047
9026
  images: e.matchQuiz.images,
9048
9027
  imagePlaceholder: o
9049
9028
  },
9050
9029
  xe.OVERLAY
9051
- ), s = Xt(S), f = (u == null ? void 0 : u.secondaryColor) || n.colorSchemes.dark.textSecondary, b = n.colorSchemes.dark.secondaryContainer, T = n.colorSchemes.dark.textPrimary, C = n.customFontFamily.light.primary, I = n.customRadius.light.md, k = n.customRadius.light.xl, v = (u == null ? void 0 : u.backgroundColor) || n.colorSchemes.dark.surfaceVariant, h = e.matchQuiz.status === "OPEN" && e.prediction && e.squads && e.onPredictionUpdate, D = (K) => {
9052
- console.log(`Edit prediction for fixture at index: ${K}`);
9030
+ ), s = Xt(S), f = (u == null ? void 0 : u.secondaryColor) || n.colorSchemes.dark.textSecondary, b = n.colorSchemes.dark.secondaryContainer, T = n.colorSchemes.dark.textPrimary, C = n.customFontFamily.light.primary, I = n.customRadius.light.md, k = n.customRadius.light.xl, F = (u == null ? void 0 : u.backgroundColor) || n.colorSchemes.dark.surfaceVariant, h = e.matchQuiz.status === "OPEN" && e.prediction && e.squads && e.onPredictionUpdate, D = (Z) => {
9031
+ console.log(`Edit prediction for fixture at index: ${Z}`);
9053
9032
  }, R = ga({
9054
9033
  spacingScale: a,
9055
9034
  textPrimary: T,
9056
9035
  fontFamilyPrimary: C,
9057
9036
  mdBorderRadius: I,
9058
9037
  xlBorderRadius: k,
9059
- contentBgColor: v,
9038
+ contentBgColor: F,
9060
9039
  onSurfaceColor: n.colorSchemes.dark.onSurface,
9061
9040
  surfaceVariantColor: n.colorSchemes.dark.surfaceVariant
9062
9041
  }), M = {
@@ -9089,7 +9068,7 @@ const Vi = (e) => {
9089
9068
  letterSpacing: "0.40px",
9090
9069
  textTransform: "uppercase"
9091
9070
  }, _ = () => {
9092
- var K, P;
9071
+ var Z, P;
9093
9072
  return /* @__PURE__ */ g(i, { sx: R.mainContentWrapper, children: [
9094
9073
  e.isUnauthorized ? /* @__PURE__ */ t(p, { children: /* @__PURE__ */ t(
9095
9074
  ln,
@@ -9122,7 +9101,7 @@ const Vi = (e) => {
9122
9101
  alignItems: "center"
9123
9102
  },
9124
9103
  children: /* @__PURE__ */ t(
9125
- vt,
9104
+ Ft,
9126
9105
  {
9127
9106
  additionalCTA: e.additionalCTA,
9128
9107
  buttonStyle: M,
@@ -9145,7 +9124,7 @@ const Vi = (e) => {
9145
9124
  {
9146
9125
  brandingLogo: y,
9147
9126
  textColor: n.colorSchemes.dark.textColor,
9148
- label: ((K = e.matchQuiz.labels) == null ? void 0 : K.sponsor) || null
9127
+ label: ((Z = e.matchQuiz.labels) == null ? void 0 : Z.sponsor) || null
9149
9128
  }
9150
9129
  )
9151
9130
  }
@@ -9170,7 +9149,7 @@ const Vi = (e) => {
9170
9149
  }
9171
9150
  ),
9172
9151
  /* @__PURE__ */ t(
9173
- vt,
9152
+ Ft,
9174
9153
  {
9175
9154
  additionalCTA: e.additionalCTA,
9176
9155
  buttonStyle: M,
@@ -9184,7 +9163,7 @@ const Vi = (e) => {
9184
9163
  ] });
9185
9164
  };
9186
9165
  return /* @__PURE__ */ t(
9187
- hi,
9166
+ On,
9188
9167
  {
9189
9168
  entity: e.matchQuiz,
9190
9169
  headline: l("matchQuiz.headline"),
@@ -9197,7 +9176,7 @@ const Vi = (e) => {
9197
9176
  }, fa = () => {
9198
9177
  const { t: e } = te();
9199
9178
  return /* @__PURE__ */ t(We, { brandingBorderColor: null, children: /* @__PURE__ */ t(
9200
- fi,
9179
+ Hn,
9201
9180
  {
9202
9181
  notFoundTitle: e("matchQuiz.matchQuizNotFound"),
9203
9182
  notFoundMessage: e("matchQuiz.matchQuizNotFoundDescription")
@@ -9207,7 +9186,7 @@ const Vi = (e) => {
9207
9186
  var r, m, d, u;
9208
9187
  const n = ((r = e.matchQuiz.branding) == null ? void 0 : r.colors) || null, a = de() ? ((m = e.matchQuiz.branding) == null ? void 0 : m.images.mobileLogo) || ((d = e.matchQuiz.branding) == null ? void 0 : d.images.mainLogo) || "" : ((u = e.matchQuiz.branding) == null ? void 0 : u.images.mainLogo) || "", { t: l } = te();
9209
9188
  return /* @__PURE__ */ t(We, { brandingBorderColor: (n == null ? void 0 : n.borderColor) || null, children: /* @__PURE__ */ t(
9210
- Vn,
9189
+ Bn,
9211
9190
  {
9212
9191
  entity: e.matchQuiz,
9213
9192
  headline: l("matchQuiz.headline"),
@@ -9259,11 +9238,11 @@ const Vi = (e) => {
9259
9238
  }
9260
9239
  ) });
9261
9240
  }, Ca = (e) => {
9262
- const { t: n } = te(), a = de(), l = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : a ? lt : rt, { brandingLogo: r } = kt(
9241
+ const { t: n } = te(), a = de(), l = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : a ? lt : rt, { brandingLogo: r } = Tt(
9263
9242
  e.matchQuiz.branding || null
9264
9243
  );
9265
9244
  return /* @__PURE__ */ t(
9266
- jn,
9245
+ Vn,
9267
9246
  {
9268
9247
  entity: e.matchQuiz,
9269
9248
  headline: n("matchQuiz.headline"),
@@ -9548,8 +9527,8 @@ const Vi = (e) => {
9548
9527
  onPrimaryColor: s,
9549
9528
  isMobile: l
9550
9529
  }), D = () => {
9551
- var K, P, G, W;
9552
- return e.signInCTA ? (K = e.signInCTA) != null && K.component ? e.signInCTA.component : (P = e.signInCTA) != null && P.onClick ? /* @__PURE__ */ t(
9530
+ var Z, P, G, W;
9531
+ return e.signInCTA ? (Z = e.signInCTA) != null && Z.component ? e.signInCTA.component : (P = e.signInCTA) != null && P.onClick ? /* @__PURE__ */ t(
9553
9532
  we,
9554
9533
  {
9555
9534
  variant: "soft",
@@ -9613,7 +9592,7 @@ const Vi = (e) => {
9613
9592
  );
9614
9593
  };
9615
9594
  return /* @__PURE__ */ t(We, { brandingBorderColor: (n == null ? void 0 : n.borderColor) || null, children: /* @__PURE__ */ t(
9616
- xi,
9595
+ jn,
9617
9596
  {
9618
9597
  entity: e.matchQuiz,
9619
9598
  headline: I("matchQuiz.headline"),
@@ -9680,7 +9659,7 @@ const Vi = (e) => {
9680
9659
  alignItems: "center"
9681
9660
  }
9682
9661
  }), Pa = (e) => {
9683
- var T, C, I, k, v;
9662
+ var T, C, I, k, F;
9684
9663
  const n = Be(), a = de(), l = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : a ? lt : rt, r = tt(
9685
9664
  {
9686
9665
  images: e.matchQuiz.images,
@@ -9758,7 +9737,7 @@ const Vi = (e) => {
9758
9737
  );
9759
9738
  };
9760
9739
  return /* @__PURE__ */ t(We, { brandingBorderColor: (d == null ? void 0 : d.borderColor) || null, children: /* @__PURE__ */ t(
9761
- Nn,
9740
+ $n,
9762
9741
  {
9763
9742
  entity: e.matchQuiz,
9764
9743
  headline: m("matchQuiz.headline"),
@@ -9769,7 +9748,7 @@ const Vi = (e) => {
9769
9748
  {
9770
9749
  brandingLogo: u,
9771
9750
  textColor: (d == null ? void 0 : d.contentColor) || n.colorSchemes.dark.textColor,
9772
- label: ((v = e.matchQuiz.labels) == null ? void 0 : v.sponsor) || null,
9751
+ label: ((F = e.matchQuiz.labels) == null ? void 0 : F.sponsor) || null,
9773
9752
  isCentered: a
9774
9753
  }
9775
9754
  ),
@@ -9815,16 +9794,16 @@ const Vi = (e) => {
9815
9794
  alignItems: "center"
9816
9795
  }
9817
9796
  }), Ia = (e) => {
9818
- var k, v, h, D, R, M, L, B, _, K, P;
9797
+ var k, F, h, D, R, M, L, B, _, Z, P;
9819
9798
  const n = Be(), { t: a } = te(), l = de(), r = dt(
9820
9799
  xe.OVERLAY
9821
- ), { brandingImage: m, brandingColors: d, brandingLogo: u } = kt(e.matchQuiz.branding || null), y = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : l ? lt : rt, o = m || tt(
9800
+ ), { brandingImage: m, brandingColors: d, brandingLogo: u } = Tt(e.matchQuiz.branding || null), y = e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : l ? lt : rt, o = m || tt(
9822
9801
  {
9823
9802
  images: e.matchQuiz.images,
9824
9803
  imagePlaceholder: y
9825
9804
  },
9826
9805
  xe.OVERLAY
9827
- ), S = Xt(o), s = (v = (k = n.customRadius) == null ? void 0 : k.light) == null ? void 0 : v.xl, f = (d == null ? void 0 : d.primaryColor) || ((M = (R = (D = (h = n.colorSchemes) == null ? void 0 : h.light) == null ? void 0 : D.palette) == null ? void 0 : R.primary) == null ? void 0 : M.plainColor), b = (K = (_ = (B = (L = n.colorSchemes) == null ? void 0 : L.light) == null ? void 0 : B.palette) == null ? void 0 : _.primary) == null ? void 0 : K.onPrimary, T = n.customFontFamily.dark.primary, C = Ta({
9806
+ ), S = Xt(o), s = (F = (k = n.customRadius) == null ? void 0 : k.light) == null ? void 0 : F.xl, f = (d == null ? void 0 : d.primaryColor) || ((M = (R = (D = (h = n.colorSchemes) == null ? void 0 : h.light) == null ? void 0 : D.palette) == null ? void 0 : R.primary) == null ? void 0 : M.plainColor), b = (Z = (_ = (B = (L = n.colorSchemes) == null ? void 0 : L.light) == null ? void 0 : B.palette) == null ? void 0 : _.primary) == null ? void 0 : Z.onPrimary, T = n.customFontFamily.dark.primary, C = Ta({
9828
9807
  buttonRadius: s,
9829
9808
  primaryColor: f,
9830
9809
  onPrimaryColor: b,
@@ -9895,7 +9874,7 @@ const Vi = (e) => {
9895
9874
  );
9896
9875
  };
9897
9876
  return /* @__PURE__ */ t(
9898
- yi,
9877
+ Nn,
9899
9878
  {
9900
9879
  entity: e.matchQuiz,
9901
9880
  headline: a("matchQuiz.headline"),
@@ -10013,7 +9992,7 @@ const Vi = (e) => {
10013
9992
  rulesDisplay: e.rulesDisplay
10014
9993
  }
10015
9994
  );
10016
- }, Fa = (e) => {
9995
+ }, va = (e) => {
10017
9996
  const { t: n } = te();
10018
9997
  return /* @__PURE__ */ t(
10019
9998
  Kt,
@@ -10031,7 +10010,7 @@ const Vi = (e) => {
10031
10010
  rulesDisplay: e.rulesDisplay
10032
10011
  }
10033
10012
  );
10034
- }, va = (e) => {
10013
+ }, Fa = (e) => {
10035
10014
  const { t: n } = te();
10036
10015
  return /* @__PURE__ */ t(
10037
10016
  Jt,
@@ -10589,24 +10568,24 @@ const Vi = (e) => {
10589
10568
  }
10590
10569
  };
10591
10570
  }, Da = (e) => {
10592
- var Se, ke, ve, Pe, ze;
10571
+ var Se, ke, Fe, Pe, ze;
10593
10572
  const n = Be(), a = tt(
10594
10573
  {
10595
10574
  images: e.matchQuiz.images,
10596
10575
  imagePlaceholder: e.defaultImagePlaceholderUrl ? e.defaultImagePlaceholderUrl : ""
10597
10576
  },
10598
10577
  xe.STANDARD
10599
- ), { t: l } = te(), r = ((Se = e.matchQuiz.branding) == null ? void 0 : Se.colors) || null, m = de(), d = Xe(), u = m ? ((ke = e.matchQuiz.branding) == null ? void 0 : ke.images.mobileLogo) || ((ve = e.matchQuiz.branding) == null ? void 0 : ve.images.mainLogo) || "" : ((Pe = e.matchQuiz.branding) == null ? void 0 : Pe.images.mainLogo) || "", y = e.imagePosition || "left", o = Q().textPrimary, S = (r == null ? void 0 : r.primaryColor) || Q().palette.primary.plainColor, s = (r == null ? void 0 : r.contentColor) || Q().textColor, f = oe().secondary, b = oe().primary, T = Q().surface, C = `rgba(${ye(
10578
+ ), { t: l } = te(), r = ((Se = e.matchQuiz.branding) == null ? void 0 : Se.colors) || null, m = de(), d = Xe(), u = m ? ((ke = e.matchQuiz.branding) == null ? void 0 : ke.images.mobileLogo) || ((Fe = e.matchQuiz.branding) == null ? void 0 : Fe.images.mainLogo) || "" : ((Pe = e.matchQuiz.branding) == null ? void 0 : Pe.images.mainLogo) || "", y = e.imagePosition || "left", o = Q().textPrimary, S = (r == null ? void 0 : r.primaryColor) || Q().palette.primary.plainColor, s = (r == null ? void 0 : r.contentColor) || Q().textColor, f = oe().secondary, b = oe().primary, T = Q().surface, C = `rgba(${ye(
10600
10579
  (r == null ? void 0 : r.backgroundColor) || Q().surfaceVariant
10601
- )}, 0.5)`, I = Q().onSurface, k = se(), v = It().size, h = Ce(), D = `rgba(${ye(
10580
+ )}, 0.5)`, I = Q().onSurface, k = se(), F = It().size, h = Ce(), D = `rgba(${ye(
10602
10581
  Q().surfaceVariant || ""
10603
10582
  )}, 0.5)`, R = dt(
10604
10583
  xe.STANDARD
10605
- ), M = "60%", L = (r == null ? void 0 : r.secondaryColor) || Q().textColor, { leaderboard: B, userRankings: _, pagination: K, currentPage: P, goToPage: G } = sn(e.matchQuiz.id, e.sdk), W = cn(
10584
+ ), M = "60%", L = (r == null ? void 0 : r.secondaryColor) || Q().textColor, { leaderboard: B, userRankings: _, pagination: Z, currentPage: P, goToPage: G } = sn(e.matchQuiz.id, e.sdk), W = cn(
10606
10585
  e.matchQuiz.id,
10607
10586
  e.sdk,
10608
10587
  e.showPredictionDetails || !1
10609
- ), O = _n(y), E = Ea({
10588
+ ), O = Un(y), E = Ea({
10610
10589
  finalImage: a,
10611
10590
  spacingScale: h,
10612
10591
  borderRadius: k,
@@ -10618,7 +10597,7 @@ const Vi = (e) => {
10618
10597
  bgcolor: C,
10619
10598
  buttonBgColor: T,
10620
10599
  onSurfaceColor: I,
10621
- borderSize: v,
10600
+ borderSize: F,
10622
10601
  surfaceVariant: D,
10623
10602
  brandingColors: r,
10624
10603
  imagePosition: y,
@@ -10654,7 +10633,7 @@ const Vi = (e) => {
10654
10633
  }
10655
10634
  ),
10656
10635
  /* @__PURE__ */ t(
10657
- Pt,
10636
+ Rt,
10658
10637
  {
10659
10638
  rules: e.matchQuiz.rules || "",
10660
10639
  rulesDisplay: e.rulesDisplay,
@@ -10666,7 +10645,7 @@ const Vi = (e) => {
10666
10645
  ),
10667
10646
  /* @__PURE__ */ g(i, { sx: E.contentContainer, children: [
10668
10647
  /* @__PURE__ */ t(x, { level: "h4", sx: E.titleTypographyDesktop, children: e.matchQuiz.title }),
10669
- /* @__PURE__ */ t(x, { sx: E.descriptionTypographyDesktop, children: Rt(e.matchQuiz.description) })
10648
+ /* @__PURE__ */ t(x, { sx: E.descriptionTypographyDesktop, children: Pt(e.matchQuiz.description) })
10670
10649
  ] })
10671
10650
  ] }) }) }),
10672
10651
  /* @__PURE__ */ t(i, { sx: E.questionArea, children: /* @__PURE__ */ t(i, { sx: E.questionContainer, children: /* @__PURE__ */ t(i, { sx: E.questionContentContainer, children: /* @__PURE__ */ t(
@@ -10678,7 +10657,7 @@ const Vi = (e) => {
10678
10657
  showHeading: !e.showPredictionDetails
10679
10658
  }
10680
10659
  ) }) }) }),
10681
- u || _ && K && K.numberOfPages > 1 ? /* @__PURE__ */ g(i, { sx: E.presentedByContainer, children: [
10660
+ u || _ && Z && Z.numberOfPages > 1 ? /* @__PURE__ */ g(i, { sx: E.presentedByContainer, children: [
10682
10661
  u ? /* @__PURE__ */ t(
10683
10662
  Re,
10684
10663
  {
@@ -10687,7 +10666,7 @@ const Vi = (e) => {
10687
10666
  label: ((Ye = e.matchQuiz.labels) == null ? void 0 : Ye.sponsor) || null
10688
10667
  }
10689
10668
  ) : /* @__PURE__ */ t(p, {}),
10690
- _ && K && K.numberOfPages > 1 && /* @__PURE__ */ t(
10669
+ _ && Z && Z.numberOfPages > 1 && /* @__PURE__ */ t(
10691
10670
  i,
10692
10671
  {
10693
10672
  sx: {
@@ -10697,7 +10676,7 @@ const Vi = (e) => {
10697
10676
  children: /* @__PURE__ */ t(
10698
10677
  mn,
10699
10678
  {
10700
- count: K.numberOfPages,
10679
+ count: Z.numberOfPages,
10701
10680
  page: P,
10702
10681
  onChange: G,
10703
10682
  size: m ? "sm" : "md",
@@ -10730,7 +10709,7 @@ const Vi = (e) => {
10730
10709
  }
10731
10710
  ),
10732
10711
  /* @__PURE__ */ t(
10733
- Pt,
10712
+ Rt,
10734
10713
  {
10735
10714
  rules: e.matchQuiz.rules || "",
10736
10715
  rulesDisplay: e.rulesDisplay,
@@ -10742,7 +10721,7 @@ const Vi = (e) => {
10742
10721
  ),
10743
10722
  /* @__PURE__ */ g(i, { sx: E.contentContainer, children: [
10744
10723
  /* @__PURE__ */ t(x, { sx: E.titleTypographyMobileImage, children: e.matchQuiz.title }),
10745
- /* @__PURE__ */ t(x, { sx: E.descriptionTypographyMobileImage, children: Rt(e.matchQuiz.description) })
10724
+ /* @__PURE__ */ t(x, { sx: E.descriptionTypographyMobileImage, children: Pt(e.matchQuiz.description) })
10746
10725
  ] })
10747
10726
  ] }) }) }) : /* @__PURE__ */ t(i, { sx: E.mobileHeadlineWithoutImage, children: /* @__PURE__ */ g(i, { children: [
10748
10727
  /* @__PURE__ */ g(
@@ -10757,7 +10736,7 @@ const Vi = (e) => {
10757
10736
  children: [
10758
10737
  /* @__PURE__ */ t(x, { level: "body-sm", sx: E.headlineTypography, children: l("matchQuiz.headline") }),
10759
10738
  /* @__PURE__ */ t(
10760
- Pt,
10739
+ Rt,
10761
10740
  {
10762
10741
  rules: e.matchQuiz.rules || "",
10763
10742
  rulesDisplay: e.rulesDisplay,
@@ -10769,7 +10748,7 @@ const Vi = (e) => {
10769
10748
  ),
10770
10749
  /* @__PURE__ */ g(i, { sx: E.contentContainer, children: [
10771
10750
  /* @__PURE__ */ t(x, { level: "h4", sx: E.titleTypography, children: e.matchQuiz.title }),
10772
- /* @__PURE__ */ t(x, { sx: E.descriptionTypography, children: Rt(e.matchQuiz.description) })
10751
+ /* @__PURE__ */ t(x, { sx: E.descriptionTypography, children: Pt(e.matchQuiz.description) })
10773
10752
  ] })
10774
10753
  ] }) }) : /* @__PURE__ */ t(p, {});
10775
10754
  return /* @__PURE__ */ t(We, { brandingBorderColor: (r == null ? void 0 : r.borderColor) || null, children: e.showPredictionDetails ? /* @__PURE__ */ t(
@@ -10802,7 +10781,7 @@ function st(e) {
10802
10781
  return e.template === xe.STANDARD;
10803
10782
  }
10804
10783
  const La = (e, n) => {
10805
- const a = (r) => Ci(r) ? "0:0" : ft(r) ? !0 : r === c.CORNERS_MATCH ? 6 : null, l = new Pn();
10784
+ const a = (r) => Ci(r) ? "0:0" : ft(r) ? !0 : r === c.CORNERS_MATCH ? 6 : null, l = new Tn();
10806
10785
  return l.gameInstanceId = e, l.fixtures = n.map((r) => {
10807
10786
  const m = a(r.market);
10808
10787
  return {
@@ -10821,7 +10800,7 @@ const La = (e, n) => {
10821
10800
  game: a,
10822
10801
  squads: l,
10823
10802
  points: r
10824
- } = Si(e.entityId, e.sdk, e.showPoints), m = Un({
10803
+ } = Si(e.entityId, e.sdk, e.showPoints), m = Gn({
10825
10804
  signInCTA: e.signInCTA,
10826
10805
  authRequired: (a == null ? void 0 : a.authRequirement) === "REGISTERED",
10827
10806
  userIsLoggedIn: e.userIsLoggedIn,
@@ -10841,9 +10820,9 @@ const La = (e, n) => {
10841
10820
  e.sdk,
10842
10821
  d,
10843
10822
  m.isSignedIn
10844
- ), [C, I] = ee(1), [k, v] = ee(!1), [h, D] = ee(!1), [R, M] = ee(
10845
- new Pn()
10846
- ), [L, B] = ee(!1), [_, K] = ee(!1), [P, G] = ee(!1), [W, O] = ee(!1), [E, me] = ee(!1), [ue, Se] = ee(!1), [ke, ve] = ee(!1), Pe = At(!1), [ze, Ye] = ee({
10823
+ ), [C, I] = ee(1), [k, F] = ee(!1), [h, D] = ee(!1), [R, M] = ee(
10824
+ new Tn()
10825
+ ), [L, B] = ee(!1), [_, Z] = ee(!1), [P, G] = ee(!1), [W, O] = ee(!1), [E, me] = ee(!1), [ue, Se] = ee(!1), [ke, Fe] = ee(!1), Pe = vt(!1), [ze, Ye] = ee({
10847
10826
  open: !1,
10848
10827
  variant: "success",
10849
10828
  title: "",
@@ -10855,17 +10834,17 @@ const La = (e, n) => {
10855
10834
  setChecked: q,
10856
10835
  allRequiredChecked: V,
10857
10836
  submit: N
10858
- } = $n({
10837
+ } = Yn({
10859
10838
  sdk: e.sdk,
10860
10839
  consents: (w = e.consents) == null ? void 0 : w.items,
10861
10840
  entityId: e.entityId,
10862
10841
  entityType: "match_quiz"
10863
- }), Ae = !!((a == null ? void 0 : a.authRequirement) === "LEAD" ? (X = e.leads) == null ? void 0 : X.position : void 0) && Ie.length > 0, fe = Ae ? [] : Ie.filter((F) => F.position !== "after"), ne = Ae ? [] : Ie.filter((F) => F.position === "after"), Qe = (F) => {
10864
- q(F), ve(!1);
10865
- }, Te = (F) => {
10842
+ }), Ae = !!((a == null ? void 0 : a.authRequirement) === "LEAD" ? (X = e.leads) == null ? void 0 : X.position : void 0) && Ie.length > 0, fe = Ae ? [] : Ie.filter((v) => v.position !== "after"), ne = Ae ? [] : Ie.filter((v) => v.position === "after"), Qe = (v) => {
10843
+ q(v), Fe(!1);
10844
+ }, Te = (v) => {
10866
10845
  var H;
10867
10846
  return {
10868
- items: F,
10847
+ items: v,
10869
10848
  checked: le,
10870
10849
  onChange: Qe,
10871
10850
  labels: (H = e.consents) == null ? void 0 : H.labels,
@@ -10874,44 +10853,44 @@ const La = (e, n) => {
10874
10853
  }, $e = it(() => {
10875
10854
  var H;
10876
10855
  if (!a) return "";
10877
- const F = (a.fixtures || []).map(($) => `${$.matchId}:${$.market}`).join(",");
10878
- return `${((H = a.fixtures) == null ? void 0 : H.length) ?? 0}|${F}`;
10856
+ const v = (a.fixtures || []).map(($) => `${$.matchId}:${$.market}`).join(",");
10857
+ return `${((H = a.fixtures) == null ? void 0 : H.length) ?? 0}|${v}`;
10879
10858
  }, [a]), {
10880
10859
  read: Ve,
10881
10860
  save: je,
10882
10861
  clear: Oe
10883
- } = Gn({
10862
+ } = qn({
10884
10863
  namespace: "match-quiz",
10885
10864
  entityId: e.entityId,
10886
10865
  fingerprint: $e
10887
- }), Fe = At([]), Le = At(!1);
10866
+ }), ve = vt([]), Le = vt(!1);
10888
10867
  et(() => {
10889
10868
  var H;
10890
10869
  if (he || Pe.current) return;
10891
- const F = (a == null ? void 0 : a.authRequirement) === "LEAD" && ((H = e.leads) == null ? void 0 : H.position) === "before";
10892
- O(!F && fe.length > 0);
10870
+ const v = (a == null ? void 0 : a.authRequirement) === "LEAD" && ((H = e.leads) == null ? void 0 : H.position) === "before";
10871
+ O(!v && fe.length > 0);
10893
10872
  }, [he, fe.length, a == null ? void 0 : a.authRequirement]);
10894
- const Ee = (F, H, $) => {
10873
+ const Ee = (v, H, $) => {
10895
10874
  Ye({
10896
10875
  open: !0,
10897
- variant: F,
10876
+ variant: v,
10898
10877
  title: H,
10899
10878
  message: $
10900
10879
  });
10901
10880
  }, _e = () => {
10902
- Ye((F) => ({ ...F, open: !1 }));
10903
- }, He = (F) => {
10881
+ Ye((v) => ({ ...v, open: !1 }));
10882
+ }, He = (v) => {
10904
10883
  var H, $, j, be, Me;
10905
- F.success ? Ee(
10884
+ v.success ? Ee(
10906
10885
  "success",
10907
10886
  n("matchQuiz.alerts.play.success.title"),
10908
10887
  n("matchQuiz.alerts.play.success.message")
10909
10888
  ) : Ee(
10910
10889
  "error",
10911
10890
  n("matchQuiz.alerts.play.error.title"),
10912
- ((j = ($ = (H = F.error) == null ? void 0 : H.data) == null ? void 0 : $.error) == null ? void 0 : j.message) || ((Me = (be = F.error) == null ? void 0 : be.error) == null ? void 0 : Me.message) || n("matchQuiz.alerts.play.error.message")
10891
+ ((j = ($ = (H = v.error) == null ? void 0 : H.data) == null ? void 0 : $.error) == null ? void 0 : j.message) || ((Me = (be = v.error) == null ? void 0 : be.error) == null ? void 0 : Me.message) || n("matchQuiz.alerts.play.error.message")
10913
10892
  );
10914
- }, A = it(() => a ? On(a.related) : null, [a]);
10893
+ }, A = it(() => a ? Xn(a.related) : null, [a]);
10915
10894
  et(() => {
10916
10895
  a && a.status === "OPEN" && M(
10917
10896
  La(e.entityId, a.fixtures)
@@ -10925,13 +10904,13 @@ const La = (e, n) => {
10925
10904
  return;
10926
10905
  }
10927
10906
  Le.current = !0;
10928
- const F = Ve();
10929
- if (F) {
10907
+ const v = Ve();
10908
+ if (v) {
10930
10909
  if (u) {
10931
10910
  Oe();
10932
10911
  return;
10933
10912
  }
10934
- F.prediction && M(F.prediction), I(F.step || 1), F.checkedConsents && q(F.checkedConsents), Fe.current = F.heldConsentIds || [], Pe.current = !0, O(!1);
10913
+ v.prediction && M(v.prediction), I(v.step || 1), v.checkedConsents && q(v.checkedConsents), ve.current = v.heldConsentIds || [], Pe.current = !0, O(!1);
10935
10914
  }
10936
10915
  }, [
10937
10916
  a,
@@ -10943,24 +10922,24 @@ const La = (e, n) => {
10943
10922
  u,
10944
10923
  C
10945
10924
  ]), et(() => {
10946
- var F;
10947
- !d || !(a != null && a.id) || (F = R == null ? void 0 : R.fixtures) != null && F.length && je({
10925
+ var v;
10926
+ !d || !(a != null && a.id) || (v = R == null ? void 0 : R.fixtures) != null && v.length && je({
10948
10927
  prediction: R,
10949
10928
  step: C,
10950
10929
  checkedConsents: le,
10951
- heldConsentIds: Fe.current
10930
+ heldConsentIds: ve.current
10952
10931
  });
10953
10932
  }, [d, a, R, C, le]), et(() => {
10954
- if (m.isPending || !Fe.current.length) return;
10955
- const F = Ie.filter(
10956
- (H) => Fe.current.includes(H.consentId)
10933
+ if (m.isPending || !ve.current.length) return;
10934
+ const v = Ie.filter(
10935
+ (H) => ve.current.includes(H.consentId)
10957
10936
  );
10958
- Fe.current = [], F.length && N(F);
10937
+ ve.current = [], v.length && N(v);
10959
10938
  }, [m.isPending, Ie, N]);
10960
- const U = At(null);
10939
+ const U = vt(null);
10961
10940
  if (et(() => {
10962
- var F;
10963
- m.isPending || !k || (v(!1), (F = U.current) == null || F.call(U));
10941
+ var v;
10942
+ m.isPending || !k || (F(!1), (v = U.current) == null || v.call(U));
10964
10943
  }, [m.isPending, k]), !a || !l || !r)
10965
10944
  return /* @__PURE__ */ t($t, { my: 20 });
10966
10945
  if (!a.id)
@@ -10992,7 +10971,7 @@ const La = (e, n) => {
10992
10971
  rulesDisplay: e.rulesDisplay
10993
10972
  }
10994
10973
  );
10995
- const Z = () => {
10974
+ const K = () => {
10996
10975
  f(!1), T(!1), b("");
10997
10976
  };
10998
10977
  if (o || S)
@@ -11004,7 +10983,7 @@ const La = (e, n) => {
11004
10983
  defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
11005
10984
  isApiError: S,
11006
10985
  apiErrorMessage: s,
11007
- toggleTryAgain: Z,
10986
+ toggleTryAgain: K,
11008
10987
  rulesDisplay: e.rulesDisplay
11009
10988
  }
11010
10989
  ) : e.template === xe.OVERLAY ? /* @__PURE__ */ t(
@@ -11014,7 +10993,7 @@ const La = (e, n) => {
11014
10993
  defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
11015
10994
  isApiError: S,
11016
10995
  apiErrorMessage: s,
11017
- toggleTryAgain: Z,
10996
+ toggleTryAgain: K,
11018
10997
  rulesDisplay: e.rulesDisplay
11019
10998
  }
11020
10999
  ) : /* @__PURE__ */ t(
@@ -11024,7 +11003,7 @@ const La = (e, n) => {
11024
11003
  defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
11025
11004
  isApiError: S,
11026
11005
  apiErrorMessage: s,
11027
- toggleTryAgain: Z,
11006
+ toggleTryAgain: K,
11028
11007
  rulesDisplay: e.rulesDisplay
11029
11008
  }
11030
11009
  );
@@ -11032,31 +11011,31 @@ const La = (e, n) => {
11032
11011
  if (fe.length > 0) {
11033
11012
  if (L) return;
11034
11013
  if (!V(fe)) {
11035
- ve(!0);
11014
+ Fe(!0);
11036
11015
  return;
11037
11016
  }
11038
- d ? Fe.current = fe.map(
11039
- (F) => F.consentId
11017
+ d ? ve.current = fe.map(
11018
+ (v) => v.consentId
11040
11019
  ) : (B(!0), await N(fe), B(!1));
11041
11020
  }
11042
11021
  Pe.current = !0, O(!1);
11043
11022
  }, Y = async () => {
11044
11023
  if (!V(ne)) {
11045
- ve(!0);
11024
+ Fe(!0);
11046
11025
  return;
11047
11026
  }
11048
11027
  B(!0), await N(ne), Se(!0), await z(), B(!1), me(!1);
11049
11028
  }, J = async () => {
11050
- var F;
11029
+ var v;
11051
11030
  if (d) {
11052
- v(!0);
11031
+ F(!0);
11053
11032
  return;
11054
11033
  }
11055
11034
  if (ne.length > 0 && !ue) {
11056
11035
  me(!0);
11057
11036
  return;
11058
11037
  }
11059
- if (((F = e.leads) == null ? void 0 : F.position) === "after" && a.authRequirement === "LEAD" && !_ && !u) {
11038
+ if (((v = e.leads) == null ? void 0 : v.position) === "after" && a.authRequirement === "LEAD" && !_ && !u) {
11060
11039
  G(!0);
11061
11040
  return;
11062
11041
  }
@@ -11066,11 +11045,11 @@ const La = (e, n) => {
11066
11045
  const z = async () => {
11067
11046
  var H, $;
11068
11047
  D(!0);
11069
- let F = {
11048
+ let v = {
11070
11049
  gameInstanceId: e.entityId,
11071
11050
  fixtures: []
11072
11051
  };
11073
- u ? F.fixtures = u.fixtures.map((j) => ({
11052
+ u ? v.fixtures = u.fixtures.map((j) => ({
11074
11053
  matchId: j.matchId,
11075
11054
  matchType: j.matchType,
11076
11055
  market: j.market,
@@ -11080,7 +11059,7 @@ const La = (e, n) => {
11080
11059
  } : {
11081
11060
  value: j.prediction.value
11082
11061
  }
11083
- })) : F = {
11062
+ })) : v = {
11084
11063
  ...R,
11085
11064
  fixtures: R.fixtures.map((j) => ({
11086
11065
  ...j,
@@ -11090,7 +11069,7 @@ const La = (e, n) => {
11090
11069
  }))
11091
11070
  };
11092
11071
  try {
11093
- const j = await e.sdk.matchQuiz.play(F);
11072
+ const j = await e.sdk.matchQuiz.play(v);
11094
11073
  y(j), Oe(), ($ = (H = e.callbacks) == null ? void 0 : H.onFinish) == null || $.call(H, j), Ee(
11095
11074
  "success",
11096
11075
  n("matchQuiz.alerts.play.success.title"),
@@ -11098,7 +11077,7 @@ const La = (e, n) => {
11098
11077
  );
11099
11078
  } catch (j) {
11100
11079
  console.error("[match-quiz-play] play failed", j);
11101
- const { code: be, message: Me } = un(j, e.sdk);
11080
+ const { code: be, message: Me } = gn(j, e.sdk);
11102
11081
  be === 401 || be === 403 ? T(!0) : Ee(
11103
11082
  "error",
11104
11083
  n("matchQuiz.alerts.play.error.title"),
@@ -11110,7 +11089,7 @@ const La = (e, n) => {
11110
11089
  }, ie = async () => {
11111
11090
  var H, $;
11112
11091
  B(!0);
11113
- let F = {
11092
+ let v = {
11114
11093
  gameInstanceId: e.entityId,
11115
11094
  fixtures: R.fixtures.map((j) => ({
11116
11095
  ...j,
@@ -11120,7 +11099,7 @@ const La = (e, n) => {
11120
11099
  }))
11121
11100
  };
11122
11101
  try {
11123
- const j = await e.sdk.matchQuiz.play(F);
11102
+ const j = await e.sdk.matchQuiz.play(v);
11124
11103
  y(j), Oe(), ($ = (H = e.callbacks) == null ? void 0 : H.onFinish) == null || $.call(H, j), Ee(
11125
11104
  "success",
11126
11105
  n("matchQuiz.alerts.play.success.title"),
@@ -11128,13 +11107,13 @@ const La = (e, n) => {
11128
11107
  );
11129
11108
  } catch (j) {
11130
11109
  console.error("[match-quiz-play] lead submit failed", j);
11131
- const { code: be, message: Me } = un(j, e.sdk);
11110
+ const { code: be, message: Me } = gn(j, e.sdk);
11132
11111
  be === 401 || be === 403 ? T(!0) : (f(!0), b(Me));
11133
11112
  } finally {
11134
- B(!1), K(!0);
11113
+ B(!1), Z(!0);
11135
11114
  }
11136
11115
  }, re = () => {
11137
- const F = Te(fe), H = Ae ? Ie : void 0, $ = ne.length > 0 && !ue;
11116
+ const v = Te(fe), H = Ae ? Ie : void 0, $ = ne.length > 0 && !ue;
11138
11117
  return e.template === xe.OVERLAY ? /* @__PURE__ */ t(
11139
11118
  Gi,
11140
11119
  {
@@ -11148,7 +11127,7 @@ const La = (e, n) => {
11148
11127
  setPrediction: M,
11149
11128
  showCountdown: e.showCountdown,
11150
11129
  rulesDisplay: e.rulesDisplay,
11151
- consents: F,
11130
+ consents: v,
11152
11131
  leadConsents: H,
11153
11132
  applyConsentGate: W,
11154
11133
  hasAfterConsents: $,
@@ -11171,7 +11150,7 @@ const La = (e, n) => {
11171
11150
  setPrediction: M,
11172
11151
  showCountdown: e.showCountdown,
11173
11152
  rulesDisplay: e.rulesDisplay,
11174
- consents: F,
11153
+ consents: v,
11175
11154
  leadConsents: H,
11176
11155
  applyConsentGate: W,
11177
11156
  hasAfterConsents: $,
@@ -11181,7 +11160,7 @@ const La = (e, n) => {
11181
11160
  setStep: I
11182
11161
  }
11183
11162
  ) : /* @__PURE__ */ t(
11184
- Ki,
11163
+ Zi,
11185
11164
  {
11186
11165
  isPlaying: h,
11187
11166
  prediction: R,
@@ -11193,7 +11172,7 @@ const La = (e, n) => {
11193
11172
  setPrediction: M,
11194
11173
  showCountdown: e.showCountdown,
11195
11174
  rulesDisplay: e.rulesDisplay,
11196
- consents: F,
11175
+ consents: v,
11197
11176
  leadConsents: H,
11198
11177
  applyConsentGate: W,
11199
11178
  hasAfterConsents: $,
@@ -11262,7 +11241,7 @@ const La = (e, n) => {
11262
11241
  }
11263
11242
  );
11264
11243
  if (d && (k || m.position === "step" && C > m.afterStep)) {
11265
- const F = {
11244
+ const v = {
11266
11245
  matchQuiz: a,
11267
11246
  sdk: e.sdk,
11268
11247
  signInCTA: e.signInCTA,
@@ -11272,13 +11251,13 @@ const La = (e, n) => {
11272
11251
  return st(e) ? /* @__PURE__ */ t(
11273
11252
  ka,
11274
11253
  {
11275
- ...F,
11254
+ ...v,
11276
11255
  imagePosition: e.imagePosition
11277
11256
  }
11278
- ) : e.template === xe.OVERLAY ? /* @__PURE__ */ t(wa, { ...F }) : /* @__PURE__ */ t(za, { ...F });
11257
+ ) : e.template === xe.OVERLAY ? /* @__PURE__ */ t(wa, { ...v }) : /* @__PURE__ */ t(za, { ...v });
11279
11258
  }
11280
11259
  if (E && ne.length > 0) {
11281
- const F = {
11260
+ const v = {
11282
11261
  matchQuiz: a,
11283
11262
  sdk: e.sdk,
11284
11263
  consents: Te(ne),
@@ -11288,12 +11267,12 @@ const La = (e, n) => {
11288
11267
  rulesDisplay: e.rulesDisplay
11289
11268
  };
11290
11269
  return st(e) ? /* @__PURE__ */ t(
11291
- Zi,
11270
+ Ki,
11292
11271
  {
11293
- ...F,
11272
+ ...v,
11294
11273
  imagePosition: e.imagePosition
11295
11274
  }
11296
- ) : e.template === xe.SPLIT ? /* @__PURE__ */ t(Ji, { ...F }) : /* @__PURE__ */ t(pi, { ...F });
11275
+ ) : e.template === xe.SPLIT ? /* @__PURE__ */ t(Ji, { ...v }) : /* @__PURE__ */ t(pi, { ...v });
11297
11276
  }
11298
11277
  if (P && !_)
11299
11278
  return st(e) ? /* @__PURE__ */ t(
@@ -11310,7 +11289,7 @@ const La = (e, n) => {
11310
11289
  consents: Ae ? Ie : void 0
11311
11290
  }
11312
11291
  ) : e.template === xe.SPLIT ? /* @__PURE__ */ t(
11313
- Fa,
11292
+ va,
11314
11293
  {
11315
11294
  matchQuiz: a,
11316
11295
  sdk: e.sdk,
@@ -11322,7 +11301,7 @@ const La = (e, n) => {
11322
11301
  consents: Ae ? Ie : void 0
11323
11302
  }
11324
11303
  ) : e.template === xe.OVERLAY ? /* @__PURE__ */ t(
11325
- va,
11304
+ Fa,
11326
11305
  {
11327
11306
  matchQuiz: a,
11328
11307
  sdk: e.sdk,
@@ -11335,7 +11314,7 @@ const La = (e, n) => {
11335
11314
  }
11336
11315
  ) : /* @__PURE__ */ t($t, { my: 20 });
11337
11316
  if (u) {
11338
- const F = A ? /* @__PURE__ */ t(gn, { entityId: A, sdk: e.sdk, children: ($) => /* @__PURE__ */ t(hn, { infoPage: $, variant: e.chanceGameVariant }) }) : void 0, H = A ? /* @__PURE__ */ t(gn, { entityId: A, sdk: e.sdk, children: ($) => /* @__PURE__ */ t(hn, { infoPage: $, variant: e.chanceGameVariant, forceMobile: !0 }) }) : void 0;
11317
+ const v = A ? /* @__PURE__ */ t(un, { entityId: A, sdk: e.sdk, children: ($) => /* @__PURE__ */ t(hn, { infoPage: $, variant: e.chanceGameVariant }) }) : void 0, H = A ? /* @__PURE__ */ t(un, { entityId: A, sdk: e.sdk, children: ($) => /* @__PURE__ */ t(hn, { infoPage: $, variant: e.chanceGameVariant, forceMobile: !0 }) }) : void 0;
11339
11318
  return e.template === xe.OVERLAY ? /* @__PURE__ */ g(
11340
11319
  ut,
11341
11320
  {
@@ -11359,11 +11338,11 @@ const La = (e, n) => {
11359
11338
  onPlayResult: He,
11360
11339
  additionalCTA: e.additionalCTA,
11361
11340
  rulesDisplay: e.rulesDisplay,
11362
- chanceGameContent: F
11341
+ chanceGameContent: v
11363
11342
  }
11364
11343
  ),
11365
11344
  /* @__PURE__ */ t(
11366
- Ft,
11345
+ At,
11367
11346
  {
11368
11347
  notification: ze,
11369
11348
  onClose: _e
@@ -11399,7 +11378,7 @@ const La = (e, n) => {
11399
11378
  }
11400
11379
  ),
11401
11380
  /* @__PURE__ */ t(
11402
- Ft,
11381
+ At,
11403
11382
  {
11404
11383
  notification: ze,
11405
11384
  onClose: _e
@@ -11433,7 +11412,7 @@ const La = (e, n) => {
11433
11412
  chanceGameContent: H
11434
11413
  }
11435
11414
  ),
11436
- /* @__PURE__ */ t(Ft, { notification: ze, onClose: _e })
11415
+ /* @__PURE__ */ t(At, { notification: ze, onClose: _e })
11437
11416
  ]
11438
11417
  }
11439
11418
  );
@@ -11448,9 +11427,9 @@ const La = (e, n) => {
11448
11427
  children: re()
11449
11428
  }
11450
11429
  ),
11451
- /* @__PURE__ */ t(Ft, { notification: ze, onClose: _e })
11430
+ /* @__PURE__ */ t(At, { notification: ze, onClose: _e })
11452
11431
  ] });
11453
- }, ko = (e) => /* @__PURE__ */ t(Mn, { packageName: "match-quiz-play", ...e, children: /* @__PURE__ */ t(_a, { ...e }) });
11432
+ }, io = (e) => /* @__PURE__ */ t(Zn, { packageName: "match-quiz-play", ...e, children: /* @__PURE__ */ t(_a, { ...e }) });
11454
11433
  export {
11455
- ko as M
11434
+ io as M
11456
11435
  };