fansunited-frontend-components 0.0.31-RC5 → 0.0.31-RC6
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 +4847 -3
- package/CollectLead.js +1253 -3
- package/EventGamePlay.js +7595 -3
- package/MatchQuizPlay.js +11002 -3
- package/PersonalityQuizPlay.js +39512 -3
- package/PollVote.js +4167 -3
- package/chunks/CollectLeadForm-DtmR2Vuf.js +844 -0
- package/chunks/Error-DhQL89pn.js +120 -0
- package/chunks/NotFoundSkeleton-BYJTzYJR.js +2425 -0
- package/chunks/OverlayLeadAfterCollection-DnqztPJ5.js +899 -0
- package/chunks/OverlayScoreStateSkeleton-C9FUhcnd.js +147 -0
- package/chunks/Portal-BWqqFvVm.js +13823 -0
- 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
package/packages/collect-lead/src/components/Variants/Standard/LeadStandardVariant.styles.js
DELETED
|
@@ -1,313 +0,0 @@
|
|
|
1
|
-
const t = (e) => ({
|
|
2
|
-
// Mobile headline with image background
|
|
3
|
-
mobileHeadlineWithImage: {
|
|
4
|
-
display: { xs: "flex", md: "none" },
|
|
5
|
-
flexDirection: "column",
|
|
6
|
-
justifyContent: "space-between",
|
|
7
|
-
gap: "10px",
|
|
8
|
-
backgroundImage: `url(${e.finalImage})`,
|
|
9
|
-
backgroundSize: "cover",
|
|
10
|
-
backgroundPosition: "center",
|
|
11
|
-
borderTopLeftRadius: "5px",
|
|
12
|
-
borderTopRightRadius: "5px",
|
|
13
|
-
position: "relative",
|
|
14
|
-
minHeight: "210px",
|
|
15
|
-
overflow: "hidden",
|
|
16
|
-
height: "auto",
|
|
17
|
-
"&::before": {
|
|
18
|
-
content: '""',
|
|
19
|
-
position: "absolute",
|
|
20
|
-
width: "100%",
|
|
21
|
-
height: "100%",
|
|
22
|
-
background: e.imageBackgroundGradient,
|
|
23
|
-
borderTopLeftRadius: "5px",
|
|
24
|
-
borderTopRightRadius: "5px"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
// Mobile headline content
|
|
28
|
-
mobileHeadlineContent: {
|
|
29
|
-
zIndex: 1,
|
|
30
|
-
height: "100%",
|
|
31
|
-
p: e.spacingScale.xl,
|
|
32
|
-
gap: e.spacingScale["2xl"],
|
|
33
|
-
display: "flex",
|
|
34
|
-
flexDirection: "column",
|
|
35
|
-
justifyContent: "space-between"
|
|
36
|
-
},
|
|
37
|
-
// Mobile headline without image
|
|
38
|
-
mobileHeadlineWithoutImage: {
|
|
39
|
-
display: { xs: "flex", md: "none" },
|
|
40
|
-
flex: "0.5",
|
|
41
|
-
flexDirection: "column",
|
|
42
|
-
justifyContent: "space-between",
|
|
43
|
-
p: e.spacingScale.lg,
|
|
44
|
-
gap: e.spacingScale["2xl"]
|
|
45
|
-
},
|
|
46
|
-
// Headline typography (mobile with image)
|
|
47
|
-
headlineTypographyMobileImage: {
|
|
48
|
-
fontWeight: 500,
|
|
49
|
-
lineHeight: "166%",
|
|
50
|
-
letterSpacing: "1px",
|
|
51
|
-
fontSize: "0.75em",
|
|
52
|
-
color: e.darkTextColor,
|
|
53
|
-
opacity: "70%",
|
|
54
|
-
textTransform: "uppercase",
|
|
55
|
-
fontFamily: e.fontFamilySecondary,
|
|
56
|
-
textAlign: "center"
|
|
57
|
-
},
|
|
58
|
-
// Headline typography (mobile without image & desktop)
|
|
59
|
-
headlineTypography: {
|
|
60
|
-
fontWeight: 500,
|
|
61
|
-
lineHeight: "166%",
|
|
62
|
-
letterSpacing: "1px",
|
|
63
|
-
textTransform: "uppercase",
|
|
64
|
-
fontSize: "0.75em",
|
|
65
|
-
color: e.secondaryColor,
|
|
66
|
-
opacity: e.opacity,
|
|
67
|
-
fontFamily: e.fontFamilySecondary,
|
|
68
|
-
textAlign: { xs: "center", md: "left" }
|
|
69
|
-
},
|
|
70
|
-
// Headline typography (desktop centered)
|
|
71
|
-
headlineTypographyDesktop: {
|
|
72
|
-
fontWeight: 500,
|
|
73
|
-
lineHeight: "166%",
|
|
74
|
-
letterSpacing: "1px",
|
|
75
|
-
textTransform: "uppercase",
|
|
76
|
-
fontSize: "0.75em",
|
|
77
|
-
color: e.secondaryColor,
|
|
78
|
-
opacity: e.opacity,
|
|
79
|
-
fontFamily: e.fontFamilySecondary
|
|
80
|
-
},
|
|
81
|
-
// Content container
|
|
82
|
-
contentContainer: {
|
|
83
|
-
display: "flex",
|
|
84
|
-
flexDirection: "column",
|
|
85
|
-
gap: e.spacingScale["3xs"]
|
|
86
|
-
},
|
|
87
|
-
// Title typography (mobile with image)
|
|
88
|
-
titleTypographyMobileImage: {
|
|
89
|
-
fontWeight: 700,
|
|
90
|
-
lineHeight: "133%",
|
|
91
|
-
fontSize: "1.5em",
|
|
92
|
-
letterSpacing: "0.15px",
|
|
93
|
-
color: e.darkTextColor,
|
|
94
|
-
fontFamily: e.fontFamilyPrimary,
|
|
95
|
-
textAlign: "center"
|
|
96
|
-
},
|
|
97
|
-
// Title typography (mobile without image & desktop responsive)
|
|
98
|
-
titleTypography: {
|
|
99
|
-
fontWeight: 700,
|
|
100
|
-
lineHeight: "133%",
|
|
101
|
-
letterSpacing: "0px",
|
|
102
|
-
fontSize: "1.5em",
|
|
103
|
-
color: e.textColor,
|
|
104
|
-
fontFamily: e.fontFamilyPrimary,
|
|
105
|
-
textAlign: { xs: "center", md: "left" }
|
|
106
|
-
},
|
|
107
|
-
// Title typography (desktop centered)
|
|
108
|
-
titleTypographyDesktop: {
|
|
109
|
-
fontWeight: 700,
|
|
110
|
-
lineHeight: "133%",
|
|
111
|
-
letterSpacing: "0px",
|
|
112
|
-
fontSize: "1.5em",
|
|
113
|
-
color: e.textColor,
|
|
114
|
-
fontFamily: e.fontFamilyPrimary
|
|
115
|
-
},
|
|
116
|
-
// Description typography (mobile with image)
|
|
117
|
-
descriptionTypographyMobileImage: {
|
|
118
|
-
fontWeight: 400,
|
|
119
|
-
lineHeight: "140%",
|
|
120
|
-
fontSize: "1.25em",
|
|
121
|
-
letterSpacing: "0.15px",
|
|
122
|
-
color: e.darkTextColor,
|
|
123
|
-
opacity: "70%",
|
|
124
|
-
fontFamily: e.fontFamilyPrimary,
|
|
125
|
-
textAlign: "center"
|
|
126
|
-
},
|
|
127
|
-
// Description typography (mobile without image & desktop responsive)
|
|
128
|
-
descriptionTypography: {
|
|
129
|
-
fontWeight: 400,
|
|
130
|
-
lineHeight: "140%",
|
|
131
|
-
letterSpacing: "0.15px",
|
|
132
|
-
fontSize: "1.25em",
|
|
133
|
-
color: e.secondaryColor,
|
|
134
|
-
opacity: e.opacity,
|
|
135
|
-
fontFamily: e.fontFamilyPrimary,
|
|
136
|
-
textAlign: { xs: "center", md: "left" }
|
|
137
|
-
},
|
|
138
|
-
// Description typography (desktop centered)
|
|
139
|
-
descriptionTypographyDesktop: {
|
|
140
|
-
fontWeight: 400,
|
|
141
|
-
lineHeight: "140%",
|
|
142
|
-
letterSpacing: "0.15px",
|
|
143
|
-
fontSize: "1.25em",
|
|
144
|
-
color: e.secondaryColor,
|
|
145
|
-
opacity: e.opacity,
|
|
146
|
-
fontFamily: e.fontFamilyPrimary
|
|
147
|
-
},
|
|
148
|
-
// Image container (left position)
|
|
149
|
-
imageContainerLeft: {
|
|
150
|
-
display: { xs: "none", md: "block" },
|
|
151
|
-
flex: "0.3",
|
|
152
|
-
overflow: "hidden",
|
|
153
|
-
height: "auto",
|
|
154
|
-
position: "relative",
|
|
155
|
-
minHeight: "auto",
|
|
156
|
-
backgroundImage: `url(${e.finalImage})`,
|
|
157
|
-
backgroundSize: "cover",
|
|
158
|
-
backgroundPosition: "center center",
|
|
159
|
-
backgroundRepeat: "no-repeat",
|
|
160
|
-
alignItems: "center",
|
|
161
|
-
justifyContent: "center"
|
|
162
|
-
},
|
|
163
|
-
// Image container (right position)
|
|
164
|
-
imageContainerRight: {
|
|
165
|
-
display: { xs: "none", md: "block" },
|
|
166
|
-
flex: "0.3",
|
|
167
|
-
overflow: "hidden",
|
|
168
|
-
height: "auto",
|
|
169
|
-
position: "relative",
|
|
170
|
-
minHeight: "auto",
|
|
171
|
-
backgroundImage: `url(${e.finalImage})`,
|
|
172
|
-
backgroundSize: "cover",
|
|
173
|
-
backgroundPosition: "center center",
|
|
174
|
-
backgroundRepeat: "no-repeat",
|
|
175
|
-
alignItems: "center",
|
|
176
|
-
justifyContent: "center"
|
|
177
|
-
},
|
|
178
|
-
// Poll image
|
|
179
|
-
pollImage: {
|
|
180
|
-
width: "100%",
|
|
181
|
-
height: "100%",
|
|
182
|
-
objectFit: "cover"
|
|
183
|
-
},
|
|
184
|
-
// Main content area
|
|
185
|
-
mainContentArea: {
|
|
186
|
-
flex: { xs: "1", md: e.finalImage ? "0.7" : "1" },
|
|
187
|
-
display: "flex",
|
|
188
|
-
flexDirection: "column",
|
|
189
|
-
p: e.spacingScale.md,
|
|
190
|
-
gap: { xs: e.spacingScale.sm, md: e.spacingScale.md }
|
|
191
|
-
},
|
|
192
|
-
// Desktop headline container
|
|
193
|
-
desktopHeadlineContainer: {
|
|
194
|
-
display: { xs: "none", md: "flex" },
|
|
195
|
-
flexDirection: "column",
|
|
196
|
-
justifyContent: "space-between",
|
|
197
|
-
gap: e.spacingScale["2xl"],
|
|
198
|
-
textAlign: "center"
|
|
199
|
-
},
|
|
200
|
-
// Lead collection container
|
|
201
|
-
leadCollectionContainer: {
|
|
202
|
-
display: "flex",
|
|
203
|
-
flexDirection: "column",
|
|
204
|
-
p: e.spacingScale.md
|
|
205
|
-
},
|
|
206
|
-
// Lead question container
|
|
207
|
-
leadQuestionContainer: {
|
|
208
|
-
display: "flex",
|
|
209
|
-
flexDirection: "column",
|
|
210
|
-
gap: { xs: e.spacingScale.lg, md: e.spacingScale.md }
|
|
211
|
-
},
|
|
212
|
-
// Lead content container
|
|
213
|
-
leadContentContainer: {
|
|
214
|
-
borderRadius: e.mdBorderRadius,
|
|
215
|
-
px: e.spacingScale.md,
|
|
216
|
-
pt: e.spacingScale.md,
|
|
217
|
-
pb: e.spacingScale.lg,
|
|
218
|
-
gap: e.spacingScale.md,
|
|
219
|
-
bgcolor: `rgba(${e.bgcolor ? e.bgcolor.replace(/[^\d,]/g, "") : ""}, 0.5)`,
|
|
220
|
-
display: "flex",
|
|
221
|
-
flexDirection: "column",
|
|
222
|
-
backdropFilter: "blur(4px)"
|
|
223
|
-
},
|
|
224
|
-
// Question area
|
|
225
|
-
questionArea: {
|
|
226
|
-
display: "flex",
|
|
227
|
-
flexDirection: "column",
|
|
228
|
-
p: e.spacingScale.md
|
|
229
|
-
},
|
|
230
|
-
// Question container
|
|
231
|
-
questionContainer: {
|
|
232
|
-
display: "flex",
|
|
233
|
-
flexDirection: "column",
|
|
234
|
-
gap: { xs: e.spacingScale.lg, md: e.spacingScale.md }
|
|
235
|
-
},
|
|
236
|
-
// Question content container
|
|
237
|
-
questionContentContainer: {
|
|
238
|
-
borderRadius: e.mdBorderRadius,
|
|
239
|
-
px: e.spacingScale.md,
|
|
240
|
-
pt: e.spacingScale.md,
|
|
241
|
-
pb: e.spacingScale.lg,
|
|
242
|
-
gap: e.spacingScale.md,
|
|
243
|
-
bgcolor: `rgba(${e.bgcolor ? e.bgcolor.replace(/[^\d,]/g, "") : ""}, 0.5)`,
|
|
244
|
-
display: "flex",
|
|
245
|
-
flexDirection: "column",
|
|
246
|
-
backdropFilter: "blur(4px)"
|
|
247
|
-
},
|
|
248
|
-
// Aspect ratio container for embed/image
|
|
249
|
-
aspectRatioContainer: {
|
|
250
|
-
borderRadius: e.smBorderRadius,
|
|
251
|
-
height: "100%",
|
|
252
|
-
flex: 1,
|
|
253
|
-
// Take all available space
|
|
254
|
-
"& > div": {
|
|
255
|
-
height: "100% !important",
|
|
256
|
-
flex: "1 !important"
|
|
257
|
-
// Force flex growth
|
|
258
|
-
}
|
|
259
|
-
},
|
|
260
|
-
// Question text container
|
|
261
|
-
questionTextContainer: {
|
|
262
|
-
gap: "8px",
|
|
263
|
-
display: "flex",
|
|
264
|
-
justifyContent: "center"
|
|
265
|
-
},
|
|
266
|
-
// Question text
|
|
267
|
-
questionText: {
|
|
268
|
-
fontFamily: e.fontFamilyPrimary,
|
|
269
|
-
lineHeight: "150%",
|
|
270
|
-
letterSpacing: "0.15px",
|
|
271
|
-
fontWeight: 500,
|
|
272
|
-
fontSize: "1.25em",
|
|
273
|
-
textAlign: "center",
|
|
274
|
-
color: e.textColor
|
|
275
|
-
},
|
|
276
|
-
// Footer container
|
|
277
|
-
footerContainer: {
|
|
278
|
-
display: "flex",
|
|
279
|
-
flexDirection: { xs: "column", md: "row" },
|
|
280
|
-
justifyContent: "space-between",
|
|
281
|
-
alignItems: "center",
|
|
282
|
-
gap: e.spacingScale.lg
|
|
283
|
-
},
|
|
284
|
-
// Footer container (no logo)
|
|
285
|
-
footerContainerNoLogo: {
|
|
286
|
-
display: "flex",
|
|
287
|
-
flexDirection: { xs: "column", md: "row" },
|
|
288
|
-
justifyContent: "flex-end",
|
|
289
|
-
alignItems: "center",
|
|
290
|
-
gap: e.spacingScale.lg
|
|
291
|
-
},
|
|
292
|
-
// Presented by desktop
|
|
293
|
-
presentedByDesktop: {
|
|
294
|
-
display: { xs: "none", md: "block" }
|
|
295
|
-
},
|
|
296
|
-
// Presented by mobile
|
|
297
|
-
presentedByMobile: {
|
|
298
|
-
display: { xs: "block", md: "none" }
|
|
299
|
-
},
|
|
300
|
-
// Safe area indicator for Standard variant (30% width containers)
|
|
301
|
-
imageSafeArea: {
|
|
302
|
-
position: "relative",
|
|
303
|
-
zIndex: 2,
|
|
304
|
-
width: "165px",
|
|
305
|
-
// Safe area: 165px on desktop
|
|
306
|
-
height: "100%"
|
|
307
|
-
// Visual indicator for development (remove in production)
|
|
308
|
-
// border: "1px dashed rgba(255,255,255,0.7)",
|
|
309
|
-
}
|
|
310
|
-
});
|
|
311
|
-
export {
|
|
312
|
-
t as createStyles
|
|
313
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { j as n } from "../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import a from "./components/CollectLead.js";
|
|
3
|
-
import l from "../../common/src/components/Portal.js";
|
|
4
|
-
import { ConfigurationProvider as i } from "./providers/ConfigurationProvider.js";
|
|
5
|
-
const s = (e) => {
|
|
6
|
-
var t;
|
|
7
|
-
return /* @__PURE__ */ n.jsx(
|
|
8
|
-
l,
|
|
9
|
-
{
|
|
10
|
-
packageName: "collect-lead",
|
|
11
|
-
entityId: ((t = e.content) == null ? void 0 : t.id) || "",
|
|
12
|
-
...e,
|
|
13
|
-
children: /* @__PURE__ */ n.jsx(
|
|
14
|
-
i,
|
|
15
|
-
{
|
|
16
|
-
phoneCountryCode: e.phoneCountryCode,
|
|
17
|
-
language: e.language,
|
|
18
|
-
images: e.images,
|
|
19
|
-
content: e.content,
|
|
20
|
-
campaign: e.campaign,
|
|
21
|
-
branding: e.branding,
|
|
22
|
-
labels: e.labels,
|
|
23
|
-
defaultImagePlaceholderUrl: e.defaultImagePlaceholderUrl,
|
|
24
|
-
sdk: e.sdk,
|
|
25
|
-
fields: e.fields,
|
|
26
|
-
shadowRootElement: null,
|
|
27
|
-
onSuccessCta: e.onSuccessCTA,
|
|
28
|
-
customFields: e.customFields,
|
|
29
|
-
consents: e.consents,
|
|
30
|
-
syncWithProfile: e.syncWithProfile,
|
|
31
|
-
children: /* @__PURE__ */ n.jsx(a, { ...e })
|
|
32
|
-
}
|
|
33
|
-
)
|
|
34
|
-
}
|
|
35
|
-
);
|
|
36
|
-
};
|
|
37
|
-
export {
|
|
38
|
-
s as default
|
|
39
|
-
};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { j as C } from "../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { createContext as c } from "react";
|
|
3
|
-
const j = c({
|
|
4
|
-
shadowRootElement: null,
|
|
5
|
-
language: null,
|
|
6
|
-
sdk: null
|
|
7
|
-
}), P = ({
|
|
8
|
-
shadowRootElement: o,
|
|
9
|
-
phoneCountryCode: t,
|
|
10
|
-
images: n,
|
|
11
|
-
content: e,
|
|
12
|
-
campaign: r,
|
|
13
|
-
branding: l,
|
|
14
|
-
labels: a,
|
|
15
|
-
defaultImagePlaceholderUrl: i,
|
|
16
|
-
language: s = "en",
|
|
17
|
-
children: u,
|
|
18
|
-
sdk: m,
|
|
19
|
-
fields: x,
|
|
20
|
-
onSuccessCta: f,
|
|
21
|
-
customFields: d,
|
|
22
|
-
consents: g,
|
|
23
|
-
syncWithProfile: p = !1
|
|
24
|
-
}) => /* @__PURE__ */ C.jsx(
|
|
25
|
-
j.Provider,
|
|
26
|
-
{
|
|
27
|
-
value: {
|
|
28
|
-
shadowRootElement: o,
|
|
29
|
-
phoneCountryCode: t,
|
|
30
|
-
images: n,
|
|
31
|
-
content: e,
|
|
32
|
-
campaign: r,
|
|
33
|
-
branding: l,
|
|
34
|
-
labels: a,
|
|
35
|
-
defaultImagePlaceholderUrl: i,
|
|
36
|
-
language: s,
|
|
37
|
-
sdk: m,
|
|
38
|
-
fields: x,
|
|
39
|
-
onSuccessCta: f,
|
|
40
|
-
customFields: d,
|
|
41
|
-
consents: g,
|
|
42
|
-
syncWithProfile: p
|
|
43
|
-
},
|
|
44
|
-
children: u
|
|
45
|
-
}
|
|
46
|
-
);
|
|
47
|
-
export {
|
|
48
|
-
j as ConfigurationContext,
|
|
49
|
-
P as ConfigurationProvider
|
|
50
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { Button as o, Box as f, Typography as u } from "@mui/joy";
|
|
3
|
-
import { useTranslation as l } from "../../../../node_modules/react-i18next/dist/es/useTranslation.js";
|
|
4
|
-
const h = ({
|
|
5
|
-
additionalCTA: r,
|
|
6
|
-
buttonStyle: n,
|
|
7
|
-
buttonContentStyle: c,
|
|
8
|
-
textStyle: s
|
|
9
|
-
}) => {
|
|
10
|
-
const { t } = l();
|
|
11
|
-
return r ? r.component ? r.component : r.onClick ? /* @__PURE__ */ e.jsx(o, { sx: n, onClick: r.onClick, children: r.defaultLabel && /* @__PURE__ */ e.jsx(f, { sx: c, children: /* @__PURE__ */ e.jsx(u, { sx: s, children: r.defaultLabel }) }) }) : r.url ? /* @__PURE__ */ e.jsx(
|
|
12
|
-
o,
|
|
13
|
-
{
|
|
14
|
-
component: "a",
|
|
15
|
-
href: r.url,
|
|
16
|
-
target: r.target || "_self",
|
|
17
|
-
sx: n,
|
|
18
|
-
children: /* @__PURE__ */ e.jsx(u, { sx: s, children: r.defaultLabel || t("common.additional") })
|
|
19
|
-
}
|
|
20
|
-
) : null : null;
|
|
21
|
-
};
|
|
22
|
-
export {
|
|
23
|
-
h as default
|
|
24
|
-
};
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import { j as e } from "../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import m from "../../../../node_modules/@mui/icons-material/esm/CheckCircle.js";
|
|
3
|
-
import f from "../../../../node_modules/@mui/icons-material/esm/Info.js";
|
|
4
|
-
import d from "../../../../node_modules/@mui/icons-material/esm/Warning.js";
|
|
5
|
-
import { Alert as u, Stack as x, Typography as t } from "@mui/joy";
|
|
6
|
-
import { useInternalTheme as h, useCornerRadius as p, useFontFamily as y } from "../functions/theme.js";
|
|
7
|
-
const j = (r, o) => {
|
|
8
|
-
switch (r) {
|
|
9
|
-
case "success":
|
|
10
|
-
return /* @__PURE__ */ e.jsx(m, {});
|
|
11
|
-
case "error":
|
|
12
|
-
return /* @__PURE__ */ e.jsx(d, { sx: { color: o } });
|
|
13
|
-
case "info":
|
|
14
|
-
return /* @__PURE__ */ e.jsx(f, {});
|
|
15
|
-
}
|
|
16
|
-
}, g = (r) => {
|
|
17
|
-
switch (r) {
|
|
18
|
-
case "success":
|
|
19
|
-
return "success";
|
|
20
|
-
case "error":
|
|
21
|
-
return "danger";
|
|
22
|
-
case "info":
|
|
23
|
-
return "primary";
|
|
24
|
-
}
|
|
25
|
-
}, A = ({
|
|
26
|
-
variant: r,
|
|
27
|
-
title: o,
|
|
28
|
-
message: n,
|
|
29
|
-
description: c
|
|
30
|
-
}) => {
|
|
31
|
-
const i = h(), a = p(), s = y().secondary, l = g(r);
|
|
32
|
-
return /* @__PURE__ */ e.jsx(
|
|
33
|
-
u,
|
|
34
|
-
{
|
|
35
|
-
variant: "soft",
|
|
36
|
-
color: l,
|
|
37
|
-
startDecorator: j(
|
|
38
|
-
r,
|
|
39
|
-
i.colorSchemes.light.palette.danger.plainColor
|
|
40
|
-
),
|
|
41
|
-
sx: {
|
|
42
|
-
gap: 1,
|
|
43
|
-
borderRadius: a.sm,
|
|
44
|
-
fontSize: "0.875em",
|
|
45
|
-
"--Icon-fontSize": "1.25em"
|
|
46
|
-
},
|
|
47
|
-
children: /* @__PURE__ */ e.jsxs(
|
|
48
|
-
x,
|
|
49
|
-
{
|
|
50
|
-
sx: {
|
|
51
|
-
fontSize: "1.5em"
|
|
52
|
-
},
|
|
53
|
-
children: [
|
|
54
|
-
o && /* @__PURE__ */ e.jsx(
|
|
55
|
-
t,
|
|
56
|
-
{
|
|
57
|
-
level: "title-md",
|
|
58
|
-
color: l,
|
|
59
|
-
fontWeight: "bold",
|
|
60
|
-
sx: { fontFamily: s, fontSize: "0.875em" },
|
|
61
|
-
children: o
|
|
62
|
-
}
|
|
63
|
-
),
|
|
64
|
-
n && /* @__PURE__ */ e.jsx(
|
|
65
|
-
t,
|
|
66
|
-
{
|
|
67
|
-
level: "body-sm",
|
|
68
|
-
sx: { fontFamily: s, fontSize: "0.675em" },
|
|
69
|
-
children: n
|
|
70
|
-
}
|
|
71
|
-
),
|
|
72
|
-
c && /* @__PURE__ */ e.jsx(
|
|
73
|
-
t,
|
|
74
|
-
{
|
|
75
|
-
level: "body-xs",
|
|
76
|
-
sx: { fontFamily: s, fontSize: "0.6em" },
|
|
77
|
-
children: c
|
|
78
|
-
}
|
|
79
|
-
)
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
)
|
|
83
|
-
}
|
|
84
|
-
);
|
|
85
|
-
};
|
|
86
|
-
export {
|
|
87
|
-
A as default
|
|
88
|
-
};
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { j as t } from "../../../../../node_modules/react/jsx-runtime.js";
|
|
2
|
-
import { Box as g } from "@mui/joy";
|
|
3
|
-
import { useInternalTheme as D, isMobile as L, useSpacingScale as T } from "../../functions/theme.js";
|
|
4
|
-
import { extractBrandingProperties as W } from "../../functions/helpers.js";
|
|
5
|
-
import "../../../../../node_modules/i18next/dist/esm/i18next.js";
|
|
6
|
-
import "../../../../../node_modules/i18next-browser-languagedetector/dist/esm/i18nextBrowserLanguageDetector.js";
|
|
7
|
-
import { WidgetTemplate as v } from "../../enums/enums.js";
|
|
8
|
-
import "react";
|
|
9
|
-
import "../../providers/ConstantsProvider.js";
|
|
10
|
-
import R from "../Skeletons/Overlay/OverlaySkeleton.js";
|
|
11
|
-
import { useImageVariant as U } from "../../hooks/useImageVariant.js";
|
|
12
|
-
import "../../providers/ContainerProvider.js";
|
|
13
|
-
const H = (e) => {
|
|
14
|
-
const o = D(), d = L(), C = e.defaultImagePlaceholder ? e.defaultImagePlaceholder || "" : d ? e.mobileImagePlaceholder : e.defaultImagePlaceholder || "", { brandingImage: S, brandingColors: c, brandingLogo: I } = W(e.entity.branding || null), P = S || U(
|
|
15
|
-
{
|
|
16
|
-
images: e.entity.images || null,
|
|
17
|
-
imagePlaceholder: C || ""
|
|
18
|
-
},
|
|
19
|
-
v.OVERLAY
|
|
20
|
-
), s = T(), k = (c == null ? void 0 : c.backgroundColor) || o.colorSchemes.dark.surfaceVariant, m = {
|
|
21
|
-
mainContentSection: {
|
|
22
|
-
display: "flex",
|
|
23
|
-
flexDirection: "column",
|
|
24
|
-
gap: "24px"
|
|
25
|
-
},
|
|
26
|
-
contentContainerWithBackdrop: {
|
|
27
|
-
borderRadius: o.customRadius.dark.sm,
|
|
28
|
-
p: s.md,
|
|
29
|
-
display: "flex",
|
|
30
|
-
flexDirection: "column",
|
|
31
|
-
gap: s.md,
|
|
32
|
-
backdropFilter: "blur(4px)",
|
|
33
|
-
position: "relative",
|
|
34
|
-
"&::before": {
|
|
35
|
-
content: '""',
|
|
36
|
-
position: "absolute",
|
|
37
|
-
top: 0,
|
|
38
|
-
left: 0,
|
|
39
|
-
right: 0,
|
|
40
|
-
bottom: 0,
|
|
41
|
-
backgroundColor: k,
|
|
42
|
-
opacity: 0.5,
|
|
43
|
-
borderRadius: "inherit",
|
|
44
|
-
zIndex: 0
|
|
45
|
-
},
|
|
46
|
-
"& > *": {
|
|
47
|
-
position: "relative",
|
|
48
|
-
zIndex: 1
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
presentedByContainer: {
|
|
52
|
-
display: "flex",
|
|
53
|
-
alignItems: "center",
|
|
54
|
-
justifyContent: d ? "center" : "space-between",
|
|
55
|
-
flexDirection: d ? "column-reverse" : "row",
|
|
56
|
-
gap: s.md
|
|
57
|
-
}
|
|
58
|
-
}, j = () => {
|
|
59
|
-
var n, i, a, l, r;
|
|
60
|
-
return /* @__PURE__ */ t.jsx(
|
|
61
|
-
e.PresentedBy,
|
|
62
|
-
{
|
|
63
|
-
brandingLogo: I || "",
|
|
64
|
-
textColor: o.colorSchemes.dark.textColor,
|
|
65
|
-
label: ((n = e.entity.labels) == null ? void 0 : n.sponsor) || null,
|
|
66
|
-
primaryUrl: (a = (i = e.entity.branding) == null ? void 0 : i.urls) == null ? void 0 : a.primaryUrl,
|
|
67
|
-
secondaryUrl: (r = (l = e.entity.branding) == null ? void 0 : l.urls) == null ? void 0 : r.secondaryUrl
|
|
68
|
-
}
|
|
69
|
-
);
|
|
70
|
-
}, B = () => {
|
|
71
|
-
var n, i, a, l, r, u, y, b, f, x, h;
|
|
72
|
-
return /* @__PURE__ */ t.jsxs(g, { sx: m.mainContentSection, children: [
|
|
73
|
-
/* @__PURE__ */ t.jsx(g, { sx: m.contentContainerWithBackdrop, children: /* @__PURE__ */ t.jsx(
|
|
74
|
-
e.CollectLeadWrapper,
|
|
75
|
-
{
|
|
76
|
-
sdk: e.sdk,
|
|
77
|
-
contentId: e.entity.id,
|
|
78
|
-
contentName: e.entity.title,
|
|
79
|
-
brandingColors: (n = e.entity.branding) == null ? void 0 : n.colors,
|
|
80
|
-
brandingUrls: (i = e.entity.branding) == null ? void 0 : i.urls,
|
|
81
|
-
campaignId: (a = e.leads) == null ? void 0 : a.campaignId,
|
|
82
|
-
campaignName: (l = e.leads) == null ? void 0 : l.campaignName,
|
|
83
|
-
fields: (r = e.leads) == null ? void 0 : r.fields,
|
|
84
|
-
leadTitle: (u = e.entity.labels) == null ? void 0 : u.leadTitle,
|
|
85
|
-
leadDescription: (y = e.entity.labels) == null ? void 0 : y.leadDescription,
|
|
86
|
-
leadCta: (b = e.entity.labels) == null ? void 0 : b.leadCta,
|
|
87
|
-
leadSuccessTitle: (f = e.entity.labels) == null ? void 0 : f.leadSuccessTitle,
|
|
88
|
-
leadSuccessDescription: (x = e.entity.labels) == null ? void 0 : x.leadSuccessDescription,
|
|
89
|
-
syncWithProfile: (h = e.leads) == null ? void 0 : h.syncWithProfile,
|
|
90
|
-
startGame: e.onLeadSubmitted,
|
|
91
|
-
isAfterPosition: !0,
|
|
92
|
-
isSubmittingParticipation: e.isSubmitting
|
|
93
|
-
}
|
|
94
|
-
) }),
|
|
95
|
-
/* @__PURE__ */ t.jsx(g, { sx: m.presentedByContainer, children: j() })
|
|
96
|
-
] });
|
|
97
|
-
};
|
|
98
|
-
return /* @__PURE__ */ t.jsx(
|
|
99
|
-
R,
|
|
100
|
-
{
|
|
101
|
-
entity: e.entity,
|
|
102
|
-
headline: e.headline,
|
|
103
|
-
finalImage: P,
|
|
104
|
-
rulesDisplay: e.rulesDisplay,
|
|
105
|
-
children: B()
|
|
106
|
-
}
|
|
107
|
-
);
|
|
108
|
-
};
|
|
109
|
-
export {
|
|
110
|
-
H as default
|
|
111
|
-
};
|