fansunited-frontend-components 0.0.31-RC5 → 0.0.31-RC7
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.
- package/ClassicQuizPlay.js +4846 -3
- package/CollectLead.js +1252 -3
- package/EventGamePlay.js +7594 -3
- package/MatchQuizPlay.js +11001 -3
- package/PersonalityQuizPlay.js +39512 -3
- package/PollVote.js +4165 -3
- package/chunks/CollectLeadForm-C_3plJtn.js +5391 -0
- package/chunks/Error-BurPfBJw.js +1739 -0
- package/chunks/OverlayLeadAfterCollection-Bjh1xAB5.js +898 -0
- package/chunks/OverlayScoreStateSkeleton-Cha5KeNi.js +146 -0
- package/chunks/Portal-DegkUXpU.js +21877 -0
- package/chunks/Tabs-leN3Fb8D.js +1079 -0
- package/chunks/index-DUQ2LFod.js +5492 -0
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/_virtual/_commonjsHelpers.js +0 -6
- package/_virtual/index.js +0 -4
- package/_virtual/index2.js +0 -4
- package/_virtual/index3.js +0 -4
- package/_virtual/jsx-runtime.js +0 -4
- package/_virtual/react-is.development.js +0 -4
- package/_virtual/react-is.development2.js +0 -4
- package/_virtual/react-is.production.min.js +0 -4
- package/_virtual/react-is.production.min2.js +0 -4
- package/_virtual/react-jsx-runtime.development.js +0 -4
- package/_virtual/react-jsx-runtime.production.js +0 -4
- package/packages/classic-quiz-play/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/classic-quiz-play/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-bookmark-fav-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-crow-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-fire-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-flag-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-medal-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-rocket-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-target-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/3dicons-thumb-down-dynamic-color.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/bottle-with-popping-cork.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/crown.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/direct-hit.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/hundred-points.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/person-facepalming.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/sports-medal.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/thumbs-down.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/trophy.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/emojis/upside-down-face.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/hexagons/shape-hexagon-danger.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/hexagons/shape-hexagon-success.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/hexagons/shape-hexagon-warning.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/info.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/school.svg.js +0 -4
- package/packages/classic-quiz-play/src/assets/sports_score.svg.js +0 -4
- package/packages/classic-quiz-play/src/components/ClassicQuizNotFound.js +0 -23
- package/packages/classic-quiz-play/src/components/ClassicQuizPlay.js +0 -353
- package/packages/classic-quiz-play/src/components/Leads/CollectLeadWrapper.js +0 -65
- package/packages/classic-quiz-play/src/components/Shared/AlertMessage.js +0 -93
- package/packages/classic-quiz-play/src/components/Shared/Answers/Answers.js +0 -80
- package/packages/classic-quiz-play/src/components/Shared/Answers/Option.js +0 -130
- package/packages/classic-quiz-play/src/components/Shared/Button.js +0 -67
- package/packages/classic-quiz-play/src/components/Shared/MainCard.js +0 -34
- package/packages/classic-quiz-play/src/components/Shared/PresentedBy.js +0 -122
- package/packages/classic-quiz-play/src/components/Shared/ScoreStateWrapper.js +0 -443
- package/packages/classic-quiz-play/src/components/Shared/Stepper.js +0 -59
- package/packages/classic-quiz-play/src/components/Shared/Stopwatch.js +0 -109
- package/packages/classic-quiz-play/src/components/Variants/Overlay/Error/OverlayError.js +0 -45
- package/packages/classic-quiz-play/src/components/Variants/Overlay/LeadCollection/OverlayLeadAfterCollection.js +0 -35
- package/packages/classic-quiz-play/src/components/Variants/Overlay/OverlayVariant.js +0 -170
- package/packages/classic-quiz-play/src/components/Variants/Overlay/OverlayVariant.styles.js +0 -190
- package/packages/classic-quiz-play/src/components/Variants/Overlay/ScoreState/OverlayScoreState.js +0 -177
- package/packages/classic-quiz-play/src/components/Variants/Overlay/ScoreState/OverlayScoreState.styles.js +0 -373
- package/packages/classic-quiz-play/src/components/Variants/Overlay/SignIn/OverlaySignIn.js +0 -120
- package/packages/classic-quiz-play/src/components/Variants/Overlay/SignIn/OverlaySignIn.styles.js +0 -42
- package/packages/classic-quiz-play/src/components/Variants/Split/Error/SplitError.js +0 -42
- package/packages/classic-quiz-play/src/components/Variants/Split/LeadCollection/SplitLeadAfterCollection.js +0 -37
- package/packages/classic-quiz-play/src/components/Variants/Split/ScoreState/SplitScoreState.js +0 -231
- package/packages/classic-quiz-play/src/components/Variants/Split/ScoreState/SplitScoreState.styles.js +0 -353
- package/packages/classic-quiz-play/src/components/Variants/Split/SignIn/SplitSignIn.js +0 -118
- package/packages/classic-quiz-play/src/components/Variants/Split/SignIn/SplitSignIn.styles.js +0 -52
- package/packages/classic-quiz-play/src/components/Variants/Split/SplitVariant.js +0 -183
- package/packages/classic-quiz-play/src/components/Variants/Split/SplitVariant.styles.js +0 -145
- package/packages/classic-quiz-play/src/components/Variants/Standard/Error/StandardError.js +0 -43
- package/packages/classic-quiz-play/src/components/Variants/Standard/LeadCollection/StandardLeadAfterCollection.js +0 -35
- package/packages/classic-quiz-play/src/components/Variants/Standard/ScoreState/StandardScoreState.js +0 -220
- package/packages/classic-quiz-play/src/components/Variants/Standard/ScoreState/StandardScoreState.styles.js +0 -347
- package/packages/classic-quiz-play/src/components/Variants/Standard/SignIn/StandardSignIn.js +0 -117
- package/packages/classic-quiz-play/src/components/Variants/Standard/SignIn/StandardSignIn.styles.js +0 -52
- package/packages/classic-quiz-play/src/components/Variants/Standard/StandardVariant.js +0 -209
- package/packages/classic-quiz-play/src/components/Variants/Standard/StandardVariant.styles.js +0 -182
- package/packages/classic-quiz-play/src/constants/constants.js +0 -4
- package/packages/classic-quiz-play/src/hooks/useClassicQuizById.js +0 -18
- package/packages/classic-quiz-play/src/hooks/useEmbedCodeContainer.js +0 -30
- package/packages/classic-quiz-play/src/hooks/useMyParticipation.js +0 -40
- package/packages/classic-quiz-play/src/hooks/useScoreStateHelpers.js +0 -117
- package/packages/classic-quiz-play/src/index.js +0 -4
- package/packages/classic-quiz-play/src/main.js +0 -7
- package/packages/collect-lead/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/collect-lead/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/collect-lead/src/components/CollectLead.js +0 -18
- package/packages/collect-lead/src/components/Leads/CollectLeadWrapper.js +0 -63
- package/packages/collect-lead/src/components/Shared/MainCard.js +0 -31
- package/packages/collect-lead/src/components/Shared/PresentedBy.js +0 -118
- package/packages/collect-lead/src/components/Variants/Overlay/LeadOverlayVariant.js +0 -72
- package/packages/collect-lead/src/components/Variants/Overlay/LeadOverlayVariant.styles.js +0 -187
- package/packages/collect-lead/src/components/Variants/Split/LeadSplitVariant.js +0 -81
- package/packages/collect-lead/src/components/Variants/Split/LeadSplitVariant.styles.js +0 -338
- package/packages/collect-lead/src/components/Variants/Standard/LeadStandardVariant.js +0 -82
- package/packages/collect-lead/src/components/Variants/Standard/LeadStandardVariant.styles.js +0 -313
- package/packages/collect-lead/src/index.js +0 -4
- package/packages/collect-lead/src/main.js +0 -39
- package/packages/collect-lead/src/providers/ConfigurationProvider.js +0 -50
- package/packages/common/src/components/AdditionalCTA.js +0 -24
- package/packages/common/src/components/AlertMessage.js +0 -88
- package/packages/common/src/components/LeadCollection/OverlayLeadAfterCollection.js +0 -111
- package/packages/common/src/components/LeadCollection/SplitLeadAfterCollection.js +0 -103
- package/packages/common/src/components/LeadCollection/StandardLeadAfterCollection.js +0 -101
- package/packages/common/src/components/Leads/CollectLeadForm.js +0 -72
- package/packages/common/src/components/Leads/ConsentsCheckboxes.js +0 -82
- package/packages/common/src/components/Leads/LeadAgreementCheckbox.js +0 -104
- package/packages/common/src/components/Leads/LeadForm.js +0 -498
- package/packages/common/src/components/Portal.js +0 -62
- package/packages/common/src/components/Rules.js +0 -299
- package/packages/common/src/components/Skeletons/NotFoundSkeleton.js +0 -83
- package/packages/common/src/components/Skeletons/Overlay/ApiError/OverlayApiErrorSkeleton.js +0 -80
- package/packages/common/src/components/Skeletons/Overlay/ApiError/OverlayApiErrorSkeleton.styles.js +0 -190
- package/packages/common/src/components/Skeletons/Overlay/OverlaySkeleton.js +0 -68
- package/packages/common/src/components/Skeletons/Overlay/OverlaySkeleton.styles.js +0 -100
- package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateSkeleton.js +0 -65
- package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateSkeleton.styles.js +0 -90
- package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateWrapperSkeleton.js +0 -34
- package/packages/common/src/components/Skeletons/Overlay/ScoreState/OverlayScoreStateWrapperSkeleton.styles.js +0 -55
- package/packages/common/src/components/Skeletons/Overlay/SignIn/OverlaySignInSkeleton.js +0 -58
- package/packages/common/src/components/Skeletons/Overlay/SignIn/OverlaySignInSkeleton.styles.js +0 -105
- package/packages/common/src/components/Skeletons/Split/ApiError/SplitApiErrorSkeleton.js +0 -98
- package/packages/common/src/components/Skeletons/Split/ApiError/SplitApiErrorSkeleton.styles.js +0 -167
- package/packages/common/src/components/Skeletons/Split/ScoreState/SplitScoreStateSkeleton.js +0 -64
- package/packages/common/src/components/Skeletons/Split/ScoreState/SplitScoreStateSkeleton.styles.js +0 -107
- package/packages/common/src/components/Skeletons/Split/SignIn/SplitSignInSkeleton.js +0 -55
- package/packages/common/src/components/Skeletons/Split/SignIn/SplitSignInSkeleton.styles.js +0 -94
- package/packages/common/src/components/Skeletons/Split/SplitSkeleton.js +0 -186
- package/packages/common/src/components/Skeletons/Split/SplitSkeleton.styles.js +0 -181
- package/packages/common/src/components/Skeletons/Standard/ApiError/StandardApiErrorSkeleton.js +0 -173
- package/packages/common/src/components/Skeletons/Standard/ApiError/StandardApiErrorSkeleton.styles.js +0 -275
- package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardContentSkeleton.js +0 -23
- package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardContentSkeleton.styles.js +0 -40
- package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardScoreStateSkeleton.js +0 -142
- package/packages/common/src/components/Skeletons/Standard/ScoreState/StandardScoreStateSkeleton.styles.js +0 -203
- package/packages/common/src/components/Skeletons/Standard/SignIn/StandardSignInSkeleton.js +0 -157
- package/packages/common/src/components/Skeletons/Standard/SignIn/StandardSignInSkeleton.styles.js +0 -194
- package/packages/common/src/components/Skeletons/Standard/StandardSkeleton.js +0 -238
- package/packages/common/src/components/Skeletons/Standard/StandardSkeleton.styles.js +0 -211
- package/packages/common/src/components/Spinner.js +0 -36
- package/packages/common/src/constants/constants.js +0 -457
- package/packages/common/src/enums/enums.js +0 -4
- package/packages/common/src/functions/helpers.js +0 -58
- package/packages/common/src/functions/i18n.js +0 -69
- package/packages/common/src/functions/theme.js +0 -301
- package/packages/common/src/hooks/useConstantContext.js +0 -10
- package/packages/common/src/hooks/useImageUrl.js +0 -8
- package/packages/common/src/hooks/useImageVariant.js +0 -11
- package/packages/common/src/hooks/useLeadForm.js +0 -129
- package/packages/common/src/hooks/useThemeMode.js +0 -30
- package/packages/common/src/locales/bg.json.js +0 -363
- package/packages/common/src/locales/de.json.js +0 -362
- package/packages/common/src/locales/el.json.js +0 -362
- package/packages/common/src/locales/en.json.js +0 -368
- package/packages/common/src/locales/es.json.js +0 -362
- package/packages/common/src/locales/fr-be.json.js +0 -362
- package/packages/common/src/locales/fr.json.js +0 -362
- package/packages/common/src/locales/it.json.js +0 -362
- package/packages/common/src/locales/pl.json.js +0 -362
- package/packages/common/src/locales/pt-br.json.js +0 -362
- package/packages/common/src/locales/pt.json.js +0 -362
- package/packages/common/src/locales/ro.json.js +0 -362
- package/packages/common/src/locales/sk.json.js +0 -362
- package/packages/common/src/locales/sr.json.js +0 -362
- package/packages/common/src/providers/ConstantsProvider.js +0 -29
- package/packages/common/src/providers/ContainerProvider.js +0 -35
- package/packages/common/src/providers/FontProvider.js +0 -25
- package/packages/common/src/providers/ThemeProvider.js +0 -80
- package/packages/event-game-play/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/event-game-play/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/event-game-play/src/assets/school.svg.js +0 -4
- package/packages/event-game-play/src/assets/sports_score.svg.js +0 -4
- package/packages/event-game-play/src/components/EventGameNotFound.js +0 -23
- package/packages/event-game-play/src/components/EventGamePlay.js +0 -318
- package/packages/event-game-play/src/components/Shared/AlertMessage.js +0 -93
- package/packages/event-game-play/src/components/Shared/Countdown.js +0 -125
- package/packages/event-game-play/src/components/Shared/FinishedGameWrapper/FinishedGameWrapper.js +0 -574
- package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanFixture.js +0 -60
- package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanFixture.styles.js +0 -29
- package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanSelector.js +0 -108
- package/packages/event-game-play/src/components/Shared/Fixtures/Boolean/BooleanSelector.styles.js +0 -44
- package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberFixture.js +0 -70
- package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberFixture.styles.js +0 -37
- package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberSelector.js +0 -82
- package/packages/event-game-play/src/components/Shared/Fixtures/Number/NumberSelector.styles.js +0 -64
- package/packages/event-game-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.js +0 -70
- package/packages/event-game-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.styles.js +0 -98
- package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextFixture.js +0 -62
- package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextFixture.styles.js +0 -29
- package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextSelector.js +0 -344
- package/packages/event-game-play/src/components/Shared/Fixtures/Text/TextSelector.styles.js +0 -70
- package/packages/event-game-play/src/components/Shared/Fixtures/shared.styles.js +0 -63
- package/packages/event-game-play/src/components/Shared/Leaderboard/LeaderboardComponent.js +0 -220
- package/packages/event-game-play/src/components/Shared/Leaderboard/LeaderboardPagination.js +0 -88
- package/packages/event-game-play/src/components/Shared/MainCard.js +0 -34
- package/packages/event-game-play/src/components/Shared/Notification.js +0 -67
- package/packages/event-game-play/src/components/Shared/Stepper.js +0 -151
- package/packages/event-game-play/src/components/Shared/Summary/EditPredictionModal.js +0 -163
- package/packages/event-game-play/src/components/Shared/Summary/EditPredictionModal.styles.js +0 -110
- package/packages/event-game-play/src/components/Shared/Summary/PredictionSummary.js +0 -118
- package/packages/event-game-play/src/components/Shared/Summary/PredictionSummary.styles.js +0 -180
- package/packages/event-game-play/src/components/Variants/Overlay/Error/EventGameOverlayError.js +0 -30
- package/packages/event-game-play/src/components/Variants/Overlay/EventGameOverlayVariant.js +0 -348
- package/packages/event-game-play/src/components/Variants/Overlay/EventGameOverlayVariant.styles.js +0 -213
- package/packages/event-game-play/src/components/Variants/Overlay/FinishedGame/EventGameOverlayFinishedGame.js +0 -130
- package/packages/event-game-play/src/components/Variants/Overlay/FinishedGame/EventGameOverlayFinishedGame.styles.js +0 -712
- package/packages/event-game-play/src/components/Variants/Overlay/ScoreState/EventGameOverlayScoreState.js +0 -141
- package/packages/event-game-play/src/components/Variants/Overlay/ScoreState/EventGameOverlayScoreState.styles.js +0 -156
- package/packages/event-game-play/src/components/Variants/Split/Error/EventGameSplitError.js +0 -28
- package/packages/event-game-play/src/components/Variants/Split/EventGameSplitVariant.js +0 -347
- package/packages/event-game-play/src/components/Variants/Split/EventGameSplitVariant.styles.js +0 -149
- package/packages/event-game-play/src/components/Variants/Split/FinishedGame/EventGameSplitFinishedGame.js +0 -119
- package/packages/event-game-play/src/components/Variants/Split/FinishedGame/EventGameSplitFinishedGame.styles.js +0 -230
- package/packages/event-game-play/src/components/Variants/Split/ScoreState/EventGameSplitScoreState.js +0 -139
- package/packages/event-game-play/src/components/Variants/Split/ScoreState/EventGameSplitScoreState.styles.js +0 -45
- package/packages/event-game-play/src/components/Variants/Standard/Error/EventGameStandardError.js +0 -29
- package/packages/event-game-play/src/components/Variants/Standard/EventGameStandardVariant.js +0 -329
- package/packages/event-game-play/src/components/Variants/Standard/EventGameStandardVariant.styles.js +0 -373
- package/packages/event-game-play/src/components/Variants/Standard/FinishedGame/EventGameStandardFinishedGame.js +0 -219
- package/packages/event-game-play/src/components/Variants/Standard/FinishedGame/EventGameStandardFinishedGame.styles.js +0 -548
- package/packages/event-game-play/src/components/Variants/Standard/ScoreState/EventGameStandardScoreState.js +0 -117
- package/packages/event-game-play/src/components/Variants/Standard/ScoreState/EventGameStandardScoreState.styles.js +0 -259
- package/packages/event-game-play/src/helpers/helpers.js +0 -11
- package/packages/event-game-play/src/hooks/useEventGameById.js +0 -27
- package/packages/event-game-play/src/hooks/useEventGamePrediction.js +0 -54
- package/packages/event-game-play/src/hooks/useEventRankings.js +0 -61
- package/packages/event-game-play/src/index.js +0 -4
- package/packages/event-game-play/src/main.js +0 -7
- package/packages/event-game-play/src/providers/ConstantsProvider.js +0 -17
- package/packages/match-quiz-play/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/match-quiz-play/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/match-quiz-play/src/assets/school.svg.js +0 -4
- package/packages/match-quiz-play/src/assets/sports_score.svg.js +0 -4
- package/packages/match-quiz-play/src/components/Leads/CollectLeadWrapper.js +0 -65
- package/packages/match-quiz-play/src/components/MatchQuizNotFound.js +0 -23
- package/packages/match-quiz-play/src/components/MatchQuizPlay.js +0 -490
- package/packages/match-quiz-play/src/components/Shared/AlertMessage.js +0 -93
- package/packages/match-quiz-play/src/components/Shared/Countdown.js +0 -125
- package/packages/match-quiz-play/src/components/Shared/FinishedGameWrapper/EarnedPointsDisplay.js +0 -64
- package/packages/match-quiz-play/src/components/Shared/FinishedGameWrapper/FinishedGameWrapper.js +0 -854
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoFixture.js +0 -63
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoFixture.styles.js +0 -29
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelector.js +0 -143
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelector.styles.js +0 -101
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelectorSplit.js +0 -97
- package/packages/match-quiz-play/src/components/Shared/Fixtures/1X2/OneXTwoSelectorSplit.styles.js +0 -77
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersFixture.js +0 -61
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersFixture.styles.js +0 -29
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersSelector.js +0 -63
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Corners/CornersSelector.styles.js +0 -41
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/CorrectScoreFixture.js +0 -72
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/CorrectScoreFixture.styles.js +0 -30
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelector.js +0 -179
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelector.styles.js +0 -163
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelectorSplit.js +0 -103
- package/packages/match-quiz-play/src/components/Shared/Fixtures/CorrectScore/ScoreSelectorSplit.styles.js +0 -86
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersFixture.js +0 -79
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersFixture.styles.js +0 -29
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersSelector.js +0 -213
- package/packages/match-quiz-play/src/components/Shared/Fixtures/Players/PlayersSelector.styles.js +0 -293
- package/packages/match-quiz-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.js +0 -116
- package/packages/match-quiz-play/src/components/Shared/Fixtures/PointsDisplay/PointsDisplay.styles.js +0 -98
- package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoFixture.js +0 -72
- package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoFixture.styles.js +0 -29
- package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoSelector.js +0 -108
- package/packages/match-quiz-play/src/components/Shared/Fixtures/YesNo/YesNoSelector.styles.js +0 -44
- package/packages/match-quiz-play/src/components/Shared/Fixtures/shared.styles.js +0 -63
- package/packages/match-quiz-play/src/components/Shared/Leaderboard/LeaderboardComponent.js +0 -220
- package/packages/match-quiz-play/src/components/Shared/Leaderboard/RoundedPagination.js +0 -207
- package/packages/match-quiz-play/src/components/Shared/MainCard.js +0 -34
- package/packages/match-quiz-play/src/components/Shared/Notification.js +0 -67
- package/packages/match-quiz-play/src/components/Shared/PresentedBy.js +0 -118
- package/packages/match-quiz-play/src/components/Shared/Stepper.js +0 -151
- package/packages/match-quiz-play/src/components/Shared/Summary/EditPredictionModal.js +0 -172
- package/packages/match-quiz-play/src/components/Shared/Summary/EditPredictionModal.styles.js +0 -109
- package/packages/match-quiz-play/src/components/Shared/Summary/PredictionSummary.js +0 -235
- package/packages/match-quiz-play/src/components/Shared/Summary/PredictionSummary.styles.js +0 -219
- package/packages/match-quiz-play/src/components/Variants/Overlay/Error/MatchQuizOverlayError.js +0 -45
- package/packages/match-quiz-play/src/components/Variants/Overlay/FinishedGame/MatchQuizOverlayFinishedGame.js +0 -157
- package/packages/match-quiz-play/src/components/Variants/Overlay/FinishedGame/MatchQuizOverlayFinishedGame.styles.js +0 -710
- package/packages/match-quiz-play/src/components/Variants/Overlay/LeadCollection/OverlayLeadAfterCollection.js +0 -35
- package/packages/match-quiz-play/src/components/Variants/Overlay/MatchQuizOverlayVariant.js +0 -499
- package/packages/match-quiz-play/src/components/Variants/Overlay/MatchQuizOverlayVariant.styles.js +0 -213
- package/packages/match-quiz-play/src/components/Variants/Overlay/ScoreState/MatchQuizOverlayScoreState.js +0 -178
- package/packages/match-quiz-play/src/components/Variants/Overlay/ScoreState/MatchQuizOverlayScoreState.styles.js +0 -128
- package/packages/match-quiz-play/src/components/Variants/Overlay/SignIn/MatchQuizOverlaySignIn.js +0 -120
- package/packages/match-quiz-play/src/components/Variants/Overlay/SignIn/MatchQuizOverlaySignIn.styles.js +0 -42
- package/packages/match-quiz-play/src/components/Variants/Split/Error/MatchQuizSplitError.js +0 -42
- package/packages/match-quiz-play/src/components/Variants/Split/FinishedGame/MatchQuizSplitFinishedGame.js +0 -185
- package/packages/match-quiz-play/src/components/Variants/Split/FinishedGame/MatchQuizSplitFinishedGame.styles.js +0 -233
- package/packages/match-quiz-play/src/components/Variants/Split/LeadCollection/SplitLeadAfterCollection.js +0 -37
- package/packages/match-quiz-play/src/components/Variants/Split/MatchQuizSplitVariant.js +0 -511
- package/packages/match-quiz-play/src/components/Variants/Split/MatchQuizSplitVariant.styles.js +0 -149
- package/packages/match-quiz-play/src/components/Variants/Split/ScoreState/MatchQuizSplitScoreState.js +0 -164
- package/packages/match-quiz-play/src/components/Variants/Split/ScoreState/MatchQuizSplitScoreState.styles.js +0 -27
- package/packages/match-quiz-play/src/components/Variants/Split/SignIn/MatchQuizSplitSignIn.js +0 -118
- package/packages/match-quiz-play/src/components/Variants/Split/SignIn/MatchQuizSplitSignIn.styles.js +0 -52
- package/packages/match-quiz-play/src/components/Variants/Standard/Error/MatchQuizStandardError.js +0 -43
- package/packages/match-quiz-play/src/components/Variants/Standard/FinishedGame/MatchQuizStandardFinishedGame.js +0 -234
- package/packages/match-quiz-play/src/components/Variants/Standard/FinishedGame/MatchQuizStandardFinishedGame.styles.js +0 -548
- package/packages/match-quiz-play/src/components/Variants/Standard/LeadCollection/StandardLeadAfterCollection.js +0 -35
- package/packages/match-quiz-play/src/components/Variants/Standard/MatchQuizStandardVariant.js +0 -513
- package/packages/match-quiz-play/src/components/Variants/Standard/MatchQuizStandardVariant.styles.js +0 -376
- package/packages/match-quiz-play/src/components/Variants/Standard/ScoreState/MatchQuizStandardScoreState.js +0 -135
- package/packages/match-quiz-play/src/components/Variants/Standard/ScoreState/MatchQuizStandardScoreState.styles.js +0 -259
- package/packages/match-quiz-play/src/components/Variants/Standard/SignIn/MatchQuizStandardSignIn.js +0 -129
- package/packages/match-quiz-play/src/components/Variants/Standard/SignIn/MatchQuizStandardSignIn.styles.js +0 -239
- package/packages/match-quiz-play/src/helpers/helpers.js +0 -9
- package/packages/match-quiz-play/src/hooks/useMatchQuiz.js +0 -42
- package/packages/match-quiz-play/src/hooks/useMatchQuizLeaderboard.js +0 -53
- package/packages/match-quiz-play/src/hooks/useMatchQuizMarketsResults.js +0 -29
- package/packages/match-quiz-play/src/hooks/useMatchQuizPrediction.js +0 -38
- package/packages/match-quiz-play/src/index.js +0 -4
- package/packages/match-quiz-play/src/main.js +0 -7
- package/packages/match-quiz-play/src/providers/ConstantsProvider.js +0 -26
- package/packages/personality-quiz-play/dist/personality-quiz-play.es.js +0 -39513
- package/packages/poll-vote/src/assets/default-quiz-bg-vertical.jpg.js +0 -4
- package/packages/poll-vote/src/assets/default-quiz-bg.png.js +0 -4
- package/packages/poll-vote/src/components/Leads/CollectLeadWrapper.js +0 -65
- package/packages/poll-vote/src/components/PollNotFound.js +0 -23
- package/packages/poll-vote/src/components/PollVote.js +0 -270
- package/packages/poll-vote/src/components/Shared/AlertMessage.js +0 -93
- package/packages/poll-vote/src/components/Shared/Answers/PollOption.js +0 -132
- package/packages/poll-vote/src/components/Shared/Answers/PollOptions.js +0 -82
- package/packages/poll-vote/src/components/Shared/Button.js +0 -76
- package/packages/poll-vote/src/components/Shared/MainCard.js +0 -36
- package/packages/poll-vote/src/components/Shared/PresentedBy.js +0 -118
- package/packages/poll-vote/src/components/Shared/Results/PollOptionResult.js +0 -257
- package/packages/poll-vote/src/components/Shared/Results/PollOptionsResults.js +0 -232
- package/packages/poll-vote/src/components/Variants/Overlay/Error/PollOverlayError.js +0 -45
- package/packages/poll-vote/src/components/Variants/Overlay/LeadCollection/OverlayLeadAfterCollection.js +0 -34
- package/packages/poll-vote/src/components/Variants/Overlay/PollOverlayVariant.js +0 -137
- package/packages/poll-vote/src/components/Variants/Overlay/PollOverlayVariant.styles.js +0 -105
- package/packages/poll-vote/src/components/Variants/Overlay/ScoreState/PollOverlayScoreState.js +0 -107
- package/packages/poll-vote/src/components/Variants/Overlay/ScoreState/PollOverlayScoreState.styles.js +0 -178
- package/packages/poll-vote/src/components/Variants/Overlay/SignIn/PollOverlaySignIn.js +0 -120
- package/packages/poll-vote/src/components/Variants/Overlay/SignIn/PollOverlaySignIn.styles.js +0 -42
- package/packages/poll-vote/src/components/Variants/Split/Error/PollSplitError.js +0 -42
- package/packages/poll-vote/src/components/Variants/Split/LeadCollection/SplitLeadAfterCollection.js +0 -36
- package/packages/poll-vote/src/components/Variants/Split/PollSplitVariant.js +0 -231
- package/packages/poll-vote/src/components/Variants/Split/PollSplitVariant.styles.js +0 -332
- package/packages/poll-vote/src/components/Variants/Split/ScoreState/PollSplitScoreState.js +0 -155
- package/packages/poll-vote/src/components/Variants/Split/ScoreState/PollSplitScoreState.styles.js +0 -156
- package/packages/poll-vote/src/components/Variants/Split/SignIn/PollSplitSignIn.js +0 -117
- package/packages/poll-vote/src/components/Variants/Split/SignIn/PollSplitSignIn.styles.js +0 -52
- package/packages/poll-vote/src/components/Variants/Standard/Error/PollStandardError.js +0 -43
- package/packages/poll-vote/src/components/Variants/Standard/LeadCollection/StandardLeadAfterCollection.js +0 -34
- package/packages/poll-vote/src/components/Variants/Standard/PollStandardVariant.js +0 -138
- package/packages/poll-vote/src/components/Variants/Standard/PollStandardVariant.styles.js +0 -92
- package/packages/poll-vote/src/components/Variants/Standard/ScoreState/PollStandardScoreState.js +0 -146
- package/packages/poll-vote/src/components/Variants/Standard/ScoreState/PollStandardScoreState.styles.js +0 -164
- package/packages/poll-vote/src/components/Variants/Standard/SignIn/PollStandardSignIn.js +0 -129
- package/packages/poll-vote/src/components/Variants/Standard/SignIn/PollStandardSignIn.styles.js +0 -248
- package/packages/poll-vote/src/hooks/useEmbedCodeContainer.js +0 -30
- package/packages/poll-vote/src/hooks/useMyPollVote.js +0 -43
- package/packages/poll-vote/src/hooks/usePollById.js +0 -16
- package/packages/poll-vote/src/hooks/usePollOptionsImages.js +0 -19
- package/packages/poll-vote/src/index.js +0 -4
- package/packages/poll-vote/src/main.js +0 -7
|
@@ -1,511 +0,0 @@
|
|
|
1
|
-
import { j as a } from "../../../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import w, { useCallback as Q, useMemo as N } from "react";
|
|
3
|
-
import { Box as l, Typography as C, Button as he } from "@mui/joy";
|
|
4
|
-
import { useInternalTheme as Ne, isMobile as Fe, isLarge as Ge, useColors as E, useFontFamily as Ye, useCornerRadius as xe, useSpacingScale as He } from "../../../../../common/src/functions/theme.js";
|
|
5
|
-
import { hexToRgb as $e } from "../../../../../common/src/functions/helpers.js";
|
|
6
|
-
import "../../../../../../node_modules/i18next/dist/esm/i18next.js";
|
|
7
|
-
import "../../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js";
|
|
8
|
-
import { WidgetTemplate as Be } from "../../../../../common/src/enums/enums.js";
|
|
9
|
-
import "../../../../../common/src/providers/ConstantsProvider.js";
|
|
10
|
-
import Ue from "../../../../../common/src/components/Skeletons/Split/SplitSkeleton.js";
|
|
11
|
-
import { useImageVariant as We } from "../../../../../common/src/hooks/useImageVariant.js";
|
|
12
|
-
import "../../../../../common/src/providers/ContainerProvider.js";
|
|
13
|
-
import qe from "../../Shared/MainCard.js";
|
|
14
|
-
import Ke from "../../../assets/default-quiz-bg.png.js";
|
|
15
|
-
import Xe from "../../../assets/default-quiz-bg-vertical.jpg.js";
|
|
16
|
-
import Je from "../../Shared/PresentedBy.js";
|
|
17
|
-
import Ze from "../../Leads/CollectLeadWrapper.js";
|
|
18
|
-
import { createStyles as et } from "./MatchQuizSplitVariant.styles.js";
|
|
19
|
-
import { MarketEnum as r } from "fansunited-sdk-esm";
|
|
20
|
-
import tt from "../../Shared/Fixtures/CorrectScore/CorrectScoreFixture.js";
|
|
21
|
-
import at from "../../Shared/Fixtures/1X2/OneXTwoFixture.js";
|
|
22
|
-
import it from "../../Shared/Fixtures/Corners/CornersFixture.js";
|
|
23
|
-
import rt from "../../Shared/Fixtures/YesNo/YesNoFixture.js";
|
|
24
|
-
import nt from "../../Shared/Fixtures/Players/PlayersFixture.js";
|
|
25
|
-
import ot from "../../Shared/Stepper.js";
|
|
26
|
-
import st from "../../Shared/Countdown.js";
|
|
27
|
-
import ct from "../../Shared/Summary/PredictionSummary.js";
|
|
28
|
-
import { isPredictionsCutoffPassed as lt } from "../../../helpers/helpers.js";
|
|
29
|
-
import { useTranslation as mt } from "../../../../../../node_modules/react-i18next/dist/es/useTranslation.js";
|
|
30
|
-
const Nt = (t) => {
|
|
31
|
-
var q, K, X, J, Z, ee, te, ae, ie, re, ne, oe, se;
|
|
32
|
-
const [h, p] = w.useState(1), [fe, F] = w.useState(
|
|
33
|
-
((q = t.leads) == null ? void 0 : q.position) === "before" && t.matchQuiz.authRequirement === "LEAD"
|
|
34
|
-
);
|
|
35
|
-
w.useEffect(() => {
|
|
36
|
-
var e;
|
|
37
|
-
F(
|
|
38
|
-
((e = t.leads) == null ? void 0 : e.position) === "before" && t.matchQuiz.authRequirement === "LEAD" || !1
|
|
39
|
-
);
|
|
40
|
-
}, [(K = t.leads) == null ? void 0 : K.position, t.matchQuiz.authRequirement]);
|
|
41
|
-
const Ce = Ne(), { t: x } = mt(), A = Fe(), Se = Ge(), i = ((X = t.matchQuiz.branding) == null ? void 0 : X.colors) || null, L = A ? ((Z = (J = t.matchQuiz.branding) == null ? void 0 : J.images) == null ? void 0 : Z.mobileLogo) || ((te = (ee = t.matchQuiz.branding) == null ? void 0 : ee.images) == null ? void 0 : te.mainLogo) || "" : ((ie = (ae = t.matchQuiz.branding) == null ? void 0 : ae.images) == null ? void 0 : ie.mainLogo) || "", Re = t.defaultImagePlaceholderUrl ? t.defaultImagePlaceholderUrl : A ? Xe : Ke, ge = We(
|
|
42
|
-
{
|
|
43
|
-
images: t.matchQuiz.images,
|
|
44
|
-
imagePlaceholder: Re
|
|
45
|
-
},
|
|
46
|
-
Be.SPLIT
|
|
47
|
-
), _e = E().palette.danger.plainColor, Ee = (i == null ? void 0 : i.contentColor) || E().textColor, ye = (i == null ? void 0 : i.secondaryColor) || E().textColor, b = Ye().primary, ke = (i == null ? void 0 : i.backgroundColor) || E().surfaceVariant, Oe = xe(), R = (i == null ? void 0 : i.primaryColor) || E().palette.primary.plainColor, y = E().palette.primary.onPrimary, G = xe().xl, k = He(), n = et({
|
|
48
|
-
spacingScale: k,
|
|
49
|
-
borderRadius: Oe,
|
|
50
|
-
fontFamilyPrimary: b,
|
|
51
|
-
bgcolor: $e(ke || ""),
|
|
52
|
-
textColor: Ee,
|
|
53
|
-
secondaryColor: ye,
|
|
54
|
-
isMobile: A,
|
|
55
|
-
dangerColor: _e
|
|
56
|
-
}), je = () => {
|
|
57
|
-
F(!1);
|
|
58
|
-
}, Y = Q(
|
|
59
|
-
(e, s, m) => {
|
|
60
|
-
const o = `${s}:${m}`;
|
|
61
|
-
t.setPrediction((c) => {
|
|
62
|
-
const d = { ...c }, f = d.fixtures.find((g) => g.market === e);
|
|
63
|
-
return f && (f.prediction.value = o), d;
|
|
64
|
-
});
|
|
65
|
-
},
|
|
66
|
-
[t.setPrediction]
|
|
67
|
-
), H = Q(
|
|
68
|
-
(e, s) => {
|
|
69
|
-
t.setPrediction((m) => {
|
|
70
|
-
const o = { ...m }, c = o.fixtures.find(
|
|
71
|
-
(d) => d.market === e
|
|
72
|
-
);
|
|
73
|
-
return c && (c.prediction.value = s), o;
|
|
74
|
-
});
|
|
75
|
-
},
|
|
76
|
-
[t.setPrediction]
|
|
77
|
-
), $ = Q(
|
|
78
|
-
(e, s) => {
|
|
79
|
-
t.setPrediction((m) => {
|
|
80
|
-
const o = { ...m }, c = o.fixtures.find(
|
|
81
|
-
(d) => d.market === e
|
|
82
|
-
);
|
|
83
|
-
return c && (c.prediction.playerId = s), o;
|
|
84
|
-
});
|
|
85
|
-
},
|
|
86
|
-
[t.setPrediction]
|
|
87
|
-
), B = Q(
|
|
88
|
-
(e, s) => {
|
|
89
|
-
t.setPrediction((m) => {
|
|
90
|
-
const o = { ...m }, c = o.fixtures.find((d) => d.market === e);
|
|
91
|
-
return c && (c.prediction.value = s), o;
|
|
92
|
-
});
|
|
93
|
-
},
|
|
94
|
-
[t.setPrediction]
|
|
95
|
-
), _ = t.matchQuiz.fixtures.length + 1, T = t.matchQuiz.status === "OPEN" && lt(t.matchQuiz.predictionsCutoff), Pe = () => {
|
|
96
|
-
h < _ ? p(h + 1) : t.play();
|
|
97
|
-
}, ze = (e) => {
|
|
98
|
-
p(e + 1);
|
|
99
|
-
}, Te = () => {
|
|
100
|
-
var m, o;
|
|
101
|
-
if (h === _) return !0;
|
|
102
|
-
const e = t.matchQuiz.fixtures[h - 1];
|
|
103
|
-
if (!e) return !1;
|
|
104
|
-
const s = (o = (m = t.prediction) == null ? void 0 : m.fixtures) == null ? void 0 : o.find(
|
|
105
|
-
(c) => c.market === e.market
|
|
106
|
-
);
|
|
107
|
-
return s ? e.market === r.CORRECT_SCORE || e.market === r.CORRECT_SCORE_HT || e.market === r.CORRECT_SCORE_ADVANCED || e.market === r.CORNERS_MATCH ? !0 : e.market === r.PLAYER_SCORE || e.market === r.PLAYER_YELLOW_CARD || e.market === r.PLAYER_RED_CARD || e.market === r.PLAYER_SCORE_FIRST_GOAL || e.market === r.PLAYER_SCORE_HATTRICK || e.market === r.PLAYER_SCORE_TWICE ? s.prediction.playerId !== void 0 : s.prediction.value !== null : !1;
|
|
108
|
-
}, Qe = () => {
|
|
109
|
-
h > 1 && p(h - 1);
|
|
110
|
-
}, U = () => {
|
|
111
|
-
var o, c, d, f;
|
|
112
|
-
const e = (o = t.matchQuiz.fixtures[0]) == null ? void 0 : o.matchModel;
|
|
113
|
-
if (!e || !((c = e.scores) != null && c.ftScore)) return null;
|
|
114
|
-
const s = e.scores.ftScore.homeGoals || 0, m = e.scores.ftScore.awayGoals || 0;
|
|
115
|
-
return /* @__PURE__ */ a.jsxs(l, { sx: n.matchResultBadge, children: [
|
|
116
|
-
((d = e.homeTeam.assets) == null ? void 0 : d.logo) && /* @__PURE__ */ a.jsx(l, { sx: n.matchResultTeamLogo, children: /* @__PURE__ */ a.jsx(
|
|
117
|
-
"img",
|
|
118
|
-
{
|
|
119
|
-
src: e.homeTeam.assets.logo,
|
|
120
|
-
alt: e.homeTeam.name,
|
|
121
|
-
style: {
|
|
122
|
-
width: "100%",
|
|
123
|
-
height: "100%",
|
|
124
|
-
borderRadius: "50%",
|
|
125
|
-
objectFit: "cover"
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
) }),
|
|
129
|
-
/* @__PURE__ */ a.jsxs(C, { sx: n.matchResultScoreText, children: [
|
|
130
|
-
s,
|
|
131
|
-
" - ",
|
|
132
|
-
m
|
|
133
|
-
] }),
|
|
134
|
-
((f = e.awayTeam.assets) == null ? void 0 : f.logo) && /* @__PURE__ */ a.jsx(l, { sx: n.matchResultTeamLogo, children: /* @__PURE__ */ a.jsx(
|
|
135
|
-
"img",
|
|
136
|
-
{
|
|
137
|
-
src: e.awayTeam.assets.logo,
|
|
138
|
-
alt: e.awayTeam.name,
|
|
139
|
-
style: {
|
|
140
|
-
width: "100%",
|
|
141
|
-
height: "100%",
|
|
142
|
-
borderRadius: "50%",
|
|
143
|
-
objectFit: "cover"
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
) })
|
|
147
|
-
] });
|
|
148
|
-
}, pe = () => /* @__PURE__ */ a.jsx(l, { sx: n.questionAreaContent, children: /* @__PURE__ */ a.jsx(l, { sx: n.mainContentContainer, children: /* @__PURE__ */ a.jsxs(l, { sx: n.gameStateContainer, children: [
|
|
149
|
-
/* @__PURE__ */ a.jsx(C, { sx: n.stateTitle, children: x("matchQuiz.states.pending.title") }),
|
|
150
|
-
/* @__PURE__ */ a.jsx(C, { sx: n.stateDescription, children: x("matchQuiz.states.pending.description") })
|
|
151
|
-
] }) }) }), Ae = () => /* @__PURE__ */ a.jsx(l, { sx: n.questionAreaContent, children: /* @__PURE__ */ a.jsx(l, { sx: n.mainContentContainer, children: /* @__PURE__ */ a.jsxs(l, { sx: n.gameStateContainer, children: [
|
|
152
|
-
U(),
|
|
153
|
-
/* @__PURE__ */ a.jsxs(l, { sx: n.liveIndicatorContainer, children: [
|
|
154
|
-
/* @__PURE__ */ a.jsx(l, { sx: n.liveIndicator }),
|
|
155
|
-
/* @__PURE__ */ a.jsx(C, { sx: n.liveText, children: x("matchQuiz.states.live.indicator") })
|
|
156
|
-
] }),
|
|
157
|
-
/* @__PURE__ */ a.jsx(C, { sx: n.stateDescription, children: x("matchQuiz.states.live.description") })
|
|
158
|
-
] }) }) }), Le = () => /* @__PURE__ */ a.jsx(l, { sx: n.questionAreaContent, children: /* @__PURE__ */ a.jsx(l, { sx: n.mainContentContainer, children: /* @__PURE__ */ a.jsxs(l, { sx: n.gameStateContainer, children: [
|
|
159
|
-
U(),
|
|
160
|
-
/* @__PURE__ */ a.jsx(C, { sx: n.stateTitle, children: x("matchQuiz.states.closed.title") }),
|
|
161
|
-
/* @__PURE__ */ a.jsx(C, { sx: n.stateDescription, children: x("matchQuiz.states.closed.description") })
|
|
162
|
-
] }) }) }), be = () => /* @__PURE__ */ a.jsxs(l, { sx: n.gameStateContainer, children: [
|
|
163
|
-
/* @__PURE__ */ a.jsx(C, { sx: n.stateTitle, children: x("matchQuiz.states.open.title") }),
|
|
164
|
-
/* @__PURE__ */ a.jsx(C, { sx: n.stateDescription, children: x("matchQuiz.states.open.description") })
|
|
165
|
-
] }), u = N(() => t.matchQuiz.fixtures[h - 1], [t.matchQuiz.fixtures, h]), O = N(() => u == null ? void 0 : u.matchModel, [
|
|
166
|
-
(ne = (re = u == null ? void 0 : u.matchModel) == null ? void 0 : re.homeTeam) == null ? void 0 : ne.id,
|
|
167
|
-
(se = (oe = u == null ? void 0 : u.matchModel) == null ? void 0 : oe.awayTeam) == null ? void 0 : se.id
|
|
168
|
-
]), j = N(() => u ? {
|
|
169
|
-
onScoreChange: (e, s) => Y(u.market, e, s),
|
|
170
|
-
onSelectionChange: (e) => H(u.market, e),
|
|
171
|
-
onCornersChange: (e) => B(u.market, e),
|
|
172
|
-
onPlayerSelection: (e) => $(u.market, e)
|
|
173
|
-
} : {}, [
|
|
174
|
-
u == null ? void 0 : u.market,
|
|
175
|
-
Y,
|
|
176
|
-
H,
|
|
177
|
-
B,
|
|
178
|
-
$
|
|
179
|
-
]), Ve = () => {
|
|
180
|
-
var s, m, o, c, d, f, g, P, z, ce, le, me, de, ue;
|
|
181
|
-
const e = u;
|
|
182
|
-
if (T)
|
|
183
|
-
return be();
|
|
184
|
-
if (e)
|
|
185
|
-
switch (e.market) {
|
|
186
|
-
case r.CORRECT_SCORE:
|
|
187
|
-
case r.CORRECT_SCORE_HT:
|
|
188
|
-
case r.CORRECT_SCORE_ADVANCED:
|
|
189
|
-
const V = (m = (s = t.prediction) == null ? void 0 : s.fixtures) == null ? void 0 : m.find(
|
|
190
|
-
(S) => S.market === e.market
|
|
191
|
-
), ve = (V == null ? void 0 : V.prediction.value) || "0:0", [Me, we] = ve.split(":").map(Number);
|
|
192
|
-
return /* @__PURE__ */ a.jsx(
|
|
193
|
-
tt,
|
|
194
|
-
{
|
|
195
|
-
matchModel: O,
|
|
196
|
-
market: e.market,
|
|
197
|
-
brandingPrimaryColor: i == null ? void 0 : i.primaryColor,
|
|
198
|
-
onScoreChange: j.onScoreChange,
|
|
199
|
-
initialHomeScore: Me,
|
|
200
|
-
initialAwayScore: we,
|
|
201
|
-
isSplitVariant: !0
|
|
202
|
-
},
|
|
203
|
-
`${e.market}-${h}`
|
|
204
|
-
);
|
|
205
|
-
case r.FT_1X2:
|
|
206
|
-
case r.HT_1X2:
|
|
207
|
-
const D = (c = (o = t.prediction) == null ? void 0 : o.fixtures) == null ? void 0 : c.find(
|
|
208
|
-
(S) => S.market === e.market
|
|
209
|
-
);
|
|
210
|
-
return /* @__PURE__ */ a.jsx(
|
|
211
|
-
at,
|
|
212
|
-
{
|
|
213
|
-
matchModel: O,
|
|
214
|
-
market: e.market,
|
|
215
|
-
brandingPrimaryColor: i == null ? void 0 : i.primaryColor,
|
|
216
|
-
prediction: ((d = D == null ? void 0 : D.prediction) == null ? void 0 : d.value) || null,
|
|
217
|
-
isSplitVariant: !0,
|
|
218
|
-
onSelectionChange: j.onSelectionChange
|
|
219
|
-
},
|
|
220
|
-
`${e.market}-${h}`
|
|
221
|
-
);
|
|
222
|
-
case r.CORNERS_MATCH:
|
|
223
|
-
const I = (g = (f = t.prediction) == null ? void 0 : f.fixtures) == null ? void 0 : g.find(
|
|
224
|
-
(S) => S.market === e.market
|
|
225
|
-
);
|
|
226
|
-
return /* @__PURE__ */ a.jsx(
|
|
227
|
-
it,
|
|
228
|
-
{
|
|
229
|
-
matchModel: O,
|
|
230
|
-
market: e.market,
|
|
231
|
-
prediction: (P = I == null ? void 0 : I.prediction) == null ? void 0 : P.value,
|
|
232
|
-
brandingPrimaryColor: i == null ? void 0 : i.primaryColor,
|
|
233
|
-
isSplitVariant: !0,
|
|
234
|
-
onCornersChange: j.onCornersChange
|
|
235
|
-
},
|
|
236
|
-
`${e.market}-${h}`
|
|
237
|
-
);
|
|
238
|
-
case r.OVER_GOALS_0_5:
|
|
239
|
-
case r.OVER_GOALS_1_5:
|
|
240
|
-
case r.OVER_GOALS_2_5:
|
|
241
|
-
case r.OVER_GOALS_3_5:
|
|
242
|
-
case r.OVER_GOALS_4_5:
|
|
243
|
-
case r.OVER_GOALS_5_5:
|
|
244
|
-
case r.OVER_GOALS_6_5:
|
|
245
|
-
case r.OVER_CORNERS_6_5:
|
|
246
|
-
case r.OVER_CORNERS_7_5:
|
|
247
|
-
case r.OVER_CORNERS_8_5:
|
|
248
|
-
case r.OVER_CORNERS_9_5:
|
|
249
|
-
case r.OVER_CORNERS_10_5:
|
|
250
|
-
case r.OVER_CORNERS_11_5:
|
|
251
|
-
case r.OVER_CORNERS_12_5:
|
|
252
|
-
case r.OVER_CORNERS_13_5:
|
|
253
|
-
case r.RED_CARD_MATCH:
|
|
254
|
-
case r.PENALTY_MATCH:
|
|
255
|
-
const v = (ce = (z = t.prediction) == null ? void 0 : z.fixtures) == null ? void 0 : ce.find(
|
|
256
|
-
(S) => S.market === e.market
|
|
257
|
-
);
|
|
258
|
-
return /* @__PURE__ */ a.jsx(
|
|
259
|
-
rt,
|
|
260
|
-
{
|
|
261
|
-
matchModel: O,
|
|
262
|
-
market: e.market,
|
|
263
|
-
brandingPrimaryColor: i == null ? void 0 : i.primaryColor,
|
|
264
|
-
prediction: (le = v == null ? void 0 : v.prediction) == null ? void 0 : le.value,
|
|
265
|
-
isSplitVariant: !0,
|
|
266
|
-
onSelectionChange: j.onSelectionChange
|
|
267
|
-
},
|
|
268
|
-
e.market
|
|
269
|
-
);
|
|
270
|
-
case r.PLAYER_SCORE:
|
|
271
|
-
case r.PLAYER_YELLOW_CARD:
|
|
272
|
-
case r.PLAYER_RED_CARD:
|
|
273
|
-
case r.PLAYER_SCORE_FIRST_GOAL:
|
|
274
|
-
case r.PLAYER_SCORE_HATTRICK:
|
|
275
|
-
case r.PLAYER_SCORE_TWICE:
|
|
276
|
-
const M = (de = (me = t.prediction) == null ? void 0 : me.fixtures) == null ? void 0 : de.find(
|
|
277
|
-
(S) => S.market === e.market
|
|
278
|
-
);
|
|
279
|
-
return /* @__PURE__ */ a.jsx(
|
|
280
|
-
nt,
|
|
281
|
-
{
|
|
282
|
-
matchModel: O,
|
|
283
|
-
market: e.market,
|
|
284
|
-
brandingPrimaryColor: i == null ? void 0 : i.primaryColor,
|
|
285
|
-
prediction: (ue = M == null ? void 0 : M.prediction) == null ? void 0 : ue.playerId,
|
|
286
|
-
isSplitVariant: !0,
|
|
287
|
-
onPlayerSelection: j.onPlayerSelection
|
|
288
|
-
},
|
|
289
|
-
`${e.market}-${h}`
|
|
290
|
-
);
|
|
291
|
-
default:
|
|
292
|
-
return /* @__PURE__ */ a.jsx(a.Fragment, {});
|
|
293
|
-
}
|
|
294
|
-
}, De = () => {
|
|
295
|
-
var e, s, m, o, c, d, f, g, P, z;
|
|
296
|
-
return /* @__PURE__ */ a.jsx(a.Fragment, { children: fe ? /* @__PURE__ */ a.jsx(
|
|
297
|
-
l,
|
|
298
|
-
{
|
|
299
|
-
sx: {
|
|
300
|
-
p: k.lg,
|
|
301
|
-
display: "flex",
|
|
302
|
-
flexDirection: "column",
|
|
303
|
-
justifyContent: "center",
|
|
304
|
-
gap: "16px"
|
|
305
|
-
},
|
|
306
|
-
children: /* @__PURE__ */ a.jsx(l, { sx: n.leadContentContainer, children: /* @__PURE__ */ a.jsx(
|
|
307
|
-
Ze,
|
|
308
|
-
{
|
|
309
|
-
sdk: t.sdk,
|
|
310
|
-
startGame: je,
|
|
311
|
-
contentId: t.matchQuiz.id,
|
|
312
|
-
contentName: t.matchQuiz.title,
|
|
313
|
-
brandingColors: (e = t.matchQuiz.branding) == null ? void 0 : e.colors,
|
|
314
|
-
brandingUrls: (s = t.matchQuiz.branding) == null ? void 0 : s.urls,
|
|
315
|
-
campaignId: (m = t.leads) == null ? void 0 : m.campaignId,
|
|
316
|
-
campaignName: (o = t.leads) == null ? void 0 : o.campaignName,
|
|
317
|
-
fields: (c = t.leads) == null ? void 0 : c.fields,
|
|
318
|
-
leadTitle: (d = t.matchQuiz.labels) == null ? void 0 : d.leadTitle,
|
|
319
|
-
leadDescription: (f = t.matchQuiz.labels) == null ? void 0 : f.leadDescription,
|
|
320
|
-
leadCta: (g = t.matchQuiz.labels) == null ? void 0 : g.leadCta,
|
|
321
|
-
leadSuccessTitle: (P = t.matchQuiz.labels) == null ? void 0 : P.leadSuccessTitle,
|
|
322
|
-
leadSuccessDescription: (z = t.matchQuiz.labels) == null ? void 0 : z.leadSuccessDescription
|
|
323
|
-
}
|
|
324
|
-
) })
|
|
325
|
-
}
|
|
326
|
-
) : /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
327
|
-
t.showCountdown && !T && t.matchQuiz.status === "OPEN" && /* @__PURE__ */ a.jsx(
|
|
328
|
-
l,
|
|
329
|
-
{
|
|
330
|
-
sx: {
|
|
331
|
-
my: k.lg
|
|
332
|
-
},
|
|
333
|
-
children: /* @__PURE__ */ a.jsx(
|
|
334
|
-
st,
|
|
335
|
-
{
|
|
336
|
-
predictionsCutoffTime: t.matchQuiz.predictionsCutoff,
|
|
337
|
-
brandingPrimaryColor: i == null ? void 0 : i.primaryColor,
|
|
338
|
-
isSplitVariant: !0
|
|
339
|
-
}
|
|
340
|
-
)
|
|
341
|
-
}
|
|
342
|
-
),
|
|
343
|
-
!T && /* @__PURE__ */ a.jsx(l, { sx: n.paginationContainer, children: /* @__PURE__ */ a.jsx(
|
|
344
|
-
ot,
|
|
345
|
-
{
|
|
346
|
-
matchQuiz: t.matchQuiz,
|
|
347
|
-
currentStep: h,
|
|
348
|
-
totalSteps: _,
|
|
349
|
-
brandingPrimaryColor: i == null ? void 0 : i.primaryColor,
|
|
350
|
-
isSplitVariant: !0
|
|
351
|
-
}
|
|
352
|
-
) }),
|
|
353
|
-
/* @__PURE__ */ a.jsx(l, { sx: n.questionAreaContent, children: /* @__PURE__ */ a.jsxs(l, { sx: n.mainContentContainer, children: [
|
|
354
|
-
h === _ ? /* @__PURE__ */ a.jsx(
|
|
355
|
-
ct,
|
|
356
|
-
{
|
|
357
|
-
fixtures: t.matchQuiz.fixtures,
|
|
358
|
-
prediction: t.prediction,
|
|
359
|
-
brandingPrimaryColor: i == null ? void 0 : i.primaryColor,
|
|
360
|
-
onEditPrediction: ze,
|
|
361
|
-
onPredictionUpdate: t.setPrediction,
|
|
362
|
-
view: "play",
|
|
363
|
-
play: async () => t.play(),
|
|
364
|
-
isSplitVariant: !0
|
|
365
|
-
}
|
|
366
|
-
) : Ve(),
|
|
367
|
-
/* @__PURE__ */ a.jsxs(l, { sx: n.navigationContainer, children: [
|
|
368
|
-
h > 1 && h < _ && /* @__PURE__ */ a.jsx(
|
|
369
|
-
he,
|
|
370
|
-
{
|
|
371
|
-
variant: "outlined",
|
|
372
|
-
onClick: Qe,
|
|
373
|
-
sx: {
|
|
374
|
-
borderRadius: G,
|
|
375
|
-
py: "10px",
|
|
376
|
-
px: "16px",
|
|
377
|
-
borderColor: R,
|
|
378
|
-
color: R,
|
|
379
|
-
transition: "all 300ms cubic-bezier(0.2, 0, 0, 1)",
|
|
380
|
-
transform: "scale(1)",
|
|
381
|
-
alignSelf: "center",
|
|
382
|
-
"&:hover": {
|
|
383
|
-
borderColor: R,
|
|
384
|
-
backgroundColor: `${R}10`,
|
|
385
|
-
transform: "scale(1.02)"
|
|
386
|
-
},
|
|
387
|
-
"&:active": {
|
|
388
|
-
transform: "scale(0.98)"
|
|
389
|
-
},
|
|
390
|
-
fontSize: "0.9375em"
|
|
391
|
-
},
|
|
392
|
-
children: /* @__PURE__ */ a.jsx(
|
|
393
|
-
C,
|
|
394
|
-
{
|
|
395
|
-
sx: {
|
|
396
|
-
fontFamily: b,
|
|
397
|
-
fontWeight: 500,
|
|
398
|
-
fontSize: "0.9375em",
|
|
399
|
-
lineHeight: "24px",
|
|
400
|
-
letterSpacing: "0.46px",
|
|
401
|
-
textTransform: "uppercase",
|
|
402
|
-
color: R,
|
|
403
|
-
gap: "8px",
|
|
404
|
-
display: "flex",
|
|
405
|
-
alignItems: "center"
|
|
406
|
-
},
|
|
407
|
-
children: x("matchQuiz.buttons.back")
|
|
408
|
-
}
|
|
409
|
-
)
|
|
410
|
-
}
|
|
411
|
-
),
|
|
412
|
-
!T && /* @__PURE__ */ a.jsx(
|
|
413
|
-
he,
|
|
414
|
-
{
|
|
415
|
-
variant: "soft",
|
|
416
|
-
onClick: Pe,
|
|
417
|
-
disabled: !Te(),
|
|
418
|
-
loading: t.isPlaying,
|
|
419
|
-
sx: {
|
|
420
|
-
borderRadius: G,
|
|
421
|
-
py: "10px",
|
|
422
|
-
px: "16px",
|
|
423
|
-
bgcolor: R,
|
|
424
|
-
color: y,
|
|
425
|
-
transition: "all 300ms cubic-bezier(0.2, 0, 0, 1)",
|
|
426
|
-
transform: "scale(1)",
|
|
427
|
-
alignSelf: "center",
|
|
428
|
-
"&:hover": {
|
|
429
|
-
bgcolor: R,
|
|
430
|
-
transform: "scale(1.02)"
|
|
431
|
-
},
|
|
432
|
-
"&:active": {
|
|
433
|
-
color: y,
|
|
434
|
-
transform: "scale(0.98)"
|
|
435
|
-
},
|
|
436
|
-
"&:disabled": {
|
|
437
|
-
bgcolor: R,
|
|
438
|
-
color: y,
|
|
439
|
-
opacity: "12%"
|
|
440
|
-
},
|
|
441
|
-
"--Icon-color": y,
|
|
442
|
-
fontSize: "0.9375em"
|
|
443
|
-
},
|
|
444
|
-
children: /* @__PURE__ */ a.jsx(
|
|
445
|
-
C,
|
|
446
|
-
{
|
|
447
|
-
sx: {
|
|
448
|
-
fontFamily: b,
|
|
449
|
-
fontWeight: 500,
|
|
450
|
-
fontSize: "0.9375em",
|
|
451
|
-
lineHeight: "24px",
|
|
452
|
-
letterSpacing: "0.46px",
|
|
453
|
-
textTransform: "uppercase",
|
|
454
|
-
color: y,
|
|
455
|
-
gap: "8px",
|
|
456
|
-
display: "flex",
|
|
457
|
-
alignItems: "center"
|
|
458
|
-
},
|
|
459
|
-
children: x(h === _ ? "matchQuiz.buttons.play" : "matchQuiz.buttons.next")
|
|
460
|
-
}
|
|
461
|
-
)
|
|
462
|
-
}
|
|
463
|
-
)
|
|
464
|
-
] })
|
|
465
|
-
] }) })
|
|
466
|
-
] }) });
|
|
467
|
-
}, Ie = () => {
|
|
468
|
-
switch (t.matchQuiz.status) {
|
|
469
|
-
case "PENDING":
|
|
470
|
-
return pe();
|
|
471
|
-
case "LIVE":
|
|
472
|
-
return Ae();
|
|
473
|
-
case "CLOSED":
|
|
474
|
-
return Le();
|
|
475
|
-
default:
|
|
476
|
-
return De();
|
|
477
|
-
}
|
|
478
|
-
}, W = (e) => {
|
|
479
|
-
var s, m, o, c, d;
|
|
480
|
-
return /* @__PURE__ */ a.jsx(
|
|
481
|
-
Je,
|
|
482
|
-
{
|
|
483
|
-
brandingLogo: L,
|
|
484
|
-
textColor: e,
|
|
485
|
-
label: ((s = t.matchQuiz.labels) == null ? void 0 : s.sponsor) || null,
|
|
486
|
-
primaryUrl: (o = (m = t.matchQuiz.branding) == null ? void 0 : m.urls) == null ? void 0 : o.primaryUrl,
|
|
487
|
-
secondaryUrl: (d = (c = t.matchQuiz.branding) == null ? void 0 : c.urls) == null ? void 0 : d.secondaryUrl
|
|
488
|
-
}
|
|
489
|
-
);
|
|
490
|
-
};
|
|
491
|
-
return /* @__PURE__ */ a.jsxs(qe, { brandingBorderColor: (i == null ? void 0 : i.borderColor) || null, children: [
|
|
492
|
-
/* @__PURE__ */ a.jsx(
|
|
493
|
-
Ue,
|
|
494
|
-
{
|
|
495
|
-
entity: t.matchQuiz,
|
|
496
|
-
headline: x("matchQuiz.headline"),
|
|
497
|
-
finalImage: ge,
|
|
498
|
-
brandingLogo: L,
|
|
499
|
-
renderPresentedBy: W,
|
|
500
|
-
rulesDisplay: t.rulesDisplay,
|
|
501
|
-
children: Ie()
|
|
502
|
-
}
|
|
503
|
-
),
|
|
504
|
-
L && Se && /* @__PURE__ */ a.jsx(l, { sx: { mb: k.lg, px: k.lg }, children: W(
|
|
505
|
-
(i == null ? void 0 : i.contentColor) || Ce.colorSchemes.dark.textColor
|
|
506
|
-
) })
|
|
507
|
-
] });
|
|
508
|
-
};
|
|
509
|
-
export {
|
|
510
|
-
Nt as default
|
|
511
|
-
};
|
package/packages/match-quiz-play/src/components/Variants/Split/MatchQuizSplitVariant.styles.js
DELETED
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
const t = (e) => ({
|
|
2
|
-
// Question area
|
|
3
|
-
questionArea: {
|
|
4
|
-
flex: e.isMobile ? "1" : "0 0 50%",
|
|
5
|
-
width: e.isMobile ? "100%" : "50%",
|
|
6
|
-
minWidth: e.isMobile ? "100%" : "50%",
|
|
7
|
-
maxWidth: e.isMobile ? "100%" : "50%",
|
|
8
|
-
display: "flex",
|
|
9
|
-
flexDirection: "column",
|
|
10
|
-
justifyContent: "center"
|
|
11
|
-
},
|
|
12
|
-
// Lead content container (filter screen)
|
|
13
|
-
leadContentContainer: {
|
|
14
|
-
p: e.spacingScale.md,
|
|
15
|
-
gap: e.spacingScale.md,
|
|
16
|
-
display: "flex",
|
|
17
|
-
flexDirection: "column",
|
|
18
|
-
backdropFilter: "blur(4px)",
|
|
19
|
-
bgcolor: `rgba(${e.bgcolor ? e.bgcolor.replace(/[^\d,]/g, "") : ""}, 0.5)`,
|
|
20
|
-
borderRadius: e.borderRadius.sm
|
|
21
|
-
},
|
|
22
|
-
// Question area content wrapper
|
|
23
|
-
questionAreaContent: {
|
|
24
|
-
p: e.spacingScale.lg,
|
|
25
|
-
display: "flex",
|
|
26
|
-
flexDirection: "column",
|
|
27
|
-
justifyContent: "center",
|
|
28
|
-
gap: "16px"
|
|
29
|
-
},
|
|
30
|
-
// Main content container
|
|
31
|
-
mainContentContainer: {
|
|
32
|
-
p: e.spacingScale.lg,
|
|
33
|
-
gap: e.spacingScale.md,
|
|
34
|
-
display: "flex",
|
|
35
|
-
flexDirection: "column",
|
|
36
|
-
backdropFilter: "blur(4px)",
|
|
37
|
-
bgcolor: `rgba(${e.bgcolor ? e.bgcolor.replace(/[^\d,]/g, "") : ""}, 0.5)`,
|
|
38
|
-
borderRadius: e.borderRadius.sm,
|
|
39
|
-
position: "relative",
|
|
40
|
-
zIndex: 2
|
|
41
|
-
},
|
|
42
|
-
// Game state container
|
|
43
|
-
gameStateContainer: {
|
|
44
|
-
display: "flex",
|
|
45
|
-
flexDirection: "column",
|
|
46
|
-
gap: e.spacingScale.xs,
|
|
47
|
-
textAlign: "center"
|
|
48
|
-
},
|
|
49
|
-
// State title
|
|
50
|
-
stateTitle: {
|
|
51
|
-
fontFamily: e.fontFamilyPrimary,
|
|
52
|
-
fontWeight: 700,
|
|
53
|
-
fontSize: "1.5em",
|
|
54
|
-
lineHeight: "133%",
|
|
55
|
-
letterSpacing: "0.15px",
|
|
56
|
-
color: e.textColor
|
|
57
|
-
},
|
|
58
|
-
// State description
|
|
59
|
-
stateDescription: {
|
|
60
|
-
fontFamily: e.fontFamilyPrimary,
|
|
61
|
-
fontWeight: 400,
|
|
62
|
-
fontSize: "1.25em",
|
|
63
|
-
lineHeight: "140%",
|
|
64
|
-
letterSpacing: "0.15px",
|
|
65
|
-
color: e.secondaryColor,
|
|
66
|
-
opacity: "60%"
|
|
67
|
-
},
|
|
68
|
-
// Live indicator container
|
|
69
|
-
liveIndicatorContainer: {
|
|
70
|
-
display: "flex",
|
|
71
|
-
alignItems: "center",
|
|
72
|
-
justifyContent: "center",
|
|
73
|
-
gap: e.spacingScale.xs
|
|
74
|
-
},
|
|
75
|
-
// Live indicator
|
|
76
|
-
liveIndicator: {
|
|
77
|
-
width: "12px",
|
|
78
|
-
height: "12px",
|
|
79
|
-
borderRadius: "50%",
|
|
80
|
-
backgroundColor: e.dangerColor,
|
|
81
|
-
animation: "pulse 2s infinite",
|
|
82
|
-
"@keyframes pulse": {
|
|
83
|
-
"0%": {
|
|
84
|
-
opacity: 1,
|
|
85
|
-
transform: "scale(1)"
|
|
86
|
-
},
|
|
87
|
-
"50%": {
|
|
88
|
-
opacity: 0.7,
|
|
89
|
-
transform: "scale(1.1)"
|
|
90
|
-
},
|
|
91
|
-
"100%": {
|
|
92
|
-
opacity: 1,
|
|
93
|
-
transform: "scale(1)"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
// Live text
|
|
98
|
-
liveText: {
|
|
99
|
-
fontFamily: e.fontFamilyPrimary,
|
|
100
|
-
fontWeight: 600,
|
|
101
|
-
fontSize: "1em",
|
|
102
|
-
color: e.dangerColor,
|
|
103
|
-
textTransform: "uppercase",
|
|
104
|
-
letterSpacing: "0.5px"
|
|
105
|
-
},
|
|
106
|
-
// Pagination container
|
|
107
|
-
paginationContainer: {
|
|
108
|
-
display: "flex",
|
|
109
|
-
justifyContent: "center",
|
|
110
|
-
px: e.spacingScale.lg
|
|
111
|
-
},
|
|
112
|
-
// Navigation container
|
|
113
|
-
navigationContainer: {
|
|
114
|
-
display: "flex",
|
|
115
|
-
gap: e.spacingScale.md,
|
|
116
|
-
justifyContent: "center",
|
|
117
|
-
alignItems: "center"
|
|
118
|
-
},
|
|
119
|
-
matchResultBadge: {
|
|
120
|
-
display: "flex",
|
|
121
|
-
alignItems: "center",
|
|
122
|
-
alignSelf: "center",
|
|
123
|
-
gap: e.spacingScale.xs,
|
|
124
|
-
fontSize: "0.75em",
|
|
125
|
-
padding: "2px 6px",
|
|
126
|
-
minHeight: "20px",
|
|
127
|
-
borderRadius: e.borderRadius.sm,
|
|
128
|
-
border: `1px solid ${e.textColor}20`,
|
|
129
|
-
backgroundColor: e.textColor + "10",
|
|
130
|
-
width: "fit-content"
|
|
131
|
-
},
|
|
132
|
-
matchResultTeamLogo: {
|
|
133
|
-
width: "20px",
|
|
134
|
-
height: "20px",
|
|
135
|
-
borderRadius: "50%",
|
|
136
|
-
overflow: "hidden",
|
|
137
|
-
flexShrink: 0
|
|
138
|
-
},
|
|
139
|
-
matchResultScoreText: {
|
|
140
|
-
fontFamily: e.fontFamilyPrimary,
|
|
141
|
-
fontSize: "0.75em",
|
|
142
|
-
fontWeight: 600,
|
|
143
|
-
color: e.textColor,
|
|
144
|
-
lineHeight: 1
|
|
145
|
-
}
|
|
146
|
-
});
|
|
147
|
-
export {
|
|
148
|
-
t as createStyles
|
|
149
|
-
};
|