@opexa/portal-components 0.0.17 → 0.0.19
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/dist/client/hooks/index.d.ts +7 -1
- package/dist/client/hooks/useAuthenticateMutation.js +1 -1
- package/dist/client/hooks/useAuthenticateMutation.mjs +5 -4
- package/dist/client/hooks/useBonusesQuery.d.ts +3 -0
- package/dist/client/hooks/useBonusesQuery.js +1 -0
- package/dist/client/hooks/useBonusesQuery.mjs +38 -0
- package/dist/client/hooks/useCreateGameSessionMutation.d.ts +2 -2
- package/dist/client/hooks/useCreateGameSessionMutation.js +1 -1
- package/dist/client/hooks/useCreateGameSessionMutation.mjs +22 -22
- package/dist/client/hooks/useEndGameSessionMutation.d.ts +2 -2
- package/dist/client/hooks/useEndGameSessionMutation.js +1 -1
- package/dist/client/hooks/useEndGameSessionMutation.mjs +18 -18
- package/dist/client/hooks/useFavoriteGamesQuery.d.ts +3 -0
- package/dist/client/hooks/useFavoriteGamesQuery.js +1 -0
- package/dist/client/hooks/useFavoriteGamesQuery.mjs +38 -0
- package/dist/client/hooks/useGlobalStore.d.ts +34 -14
- package/dist/client/hooks/useGlobalStore.js +1 -1
- package/dist/client/hooks/useGlobalStore.mjs +113 -34
- package/dist/client/hooks/useJackpotPayoutsQuery.d.ts +3 -0
- package/dist/client/hooks/useJackpotPayoutsQuery.js +1 -0
- package/dist/client/hooks/useJackpotPayoutsQuery.mjs +31 -0
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.d.ts +2 -0
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.js +1 -0
- package/dist/client/hooks/useMarkGameAsFavoriteMutation.mjs +37 -0
- package/dist/client/hooks/useMarkMessageAsReadMutation.d.ts +2 -0
- package/dist/client/hooks/useMarkMessageAsReadMutation.js +1 -0
- package/dist/client/hooks/useMarkMessageAsReadMutation.mjs +39 -0
- package/dist/client/hooks/useMessagesQuery.d.ts +3 -0
- package/dist/client/hooks/useMessagesQuery.js +1 -0
- package/dist/client/hooks/useMessagesQuery.mjs +47 -0
- package/dist/client/hooks/useSignInMutation.js +1 -1
- package/dist/client/hooks/useSignInMutation.mjs +3 -2
- package/dist/client/hooks/useSignOutMutation.js +1 -1
- package/dist/client/hooks/useSignOutMutation.mjs +11 -10
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.d.ts +2 -0
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.js +1 -0
- package/dist/client/hooks/useUnmarkGameAsFavoriteMutation.mjs +37 -0
- package/dist/client/hooks/useUnreadMessagesCountQuery.d.ts +3 -0
- package/dist/client/hooks/useUnreadMessagesCountQuery.js +1 -0
- package/dist/client/hooks/useUnreadMessagesCountQuery.mjs +38 -0
- package/dist/client/services/getSession.d.ts +1 -1
- package/dist/client/services/getSession.js +1 -1
- package/dist/client/services/getSession.mjs +4 -3
- package/dist/client-hooks.js +1 -1
- package/dist/client-hooks.mjs +92 -80
- package/dist/components/Account/Account.d.ts +17 -8
- package/dist/components/Account/Account.js +1 -1
- package/dist/components/Account/Account.mjs +253 -130
- package/dist/components/Account/account.recipe.d.ts +61 -0
- package/dist/components/Account/account.recipe.js +1 -0
- package/dist/components/Account/account.recipe.mjs +35 -0
- package/dist/components/Banner/Banner.js +1 -1
- package/dist/components/Banner/Banner.mjs +6 -6
- package/dist/components/BetRecords/BetRecords.js +1 -1
- package/dist/components/BetRecords/BetRecords.mjs +375 -319
- package/dist/components/Bonus/Bonus.client.d.ts +2 -0
- package/dist/components/Bonus/Bonus.client.js +1 -0
- package/dist/components/Bonus/Bonus.client.mjs +143 -0
- package/dist/components/Bonus/Bonus.d.ts +10 -0
- package/dist/components/Bonus/Bonus.js +1 -0
- package/dist/components/Bonus/Bonus.mjs +8 -0
- package/dist/components/Bonus/index.d.ts +1 -0
- package/dist/components/Bonuses/Bonuses.d.ts +15 -0
- package/dist/components/Bonuses/Bonuses.js +1 -0
- package/dist/components/Bonuses/Bonuses.mjs +126 -0
- package/dist/components/Bonuses/index.d.ts +1 -0
- package/dist/components/DepositWithdrawal/AmountChoices.js +1 -1
- package/dist/components/DepositWithdrawal/AmountChoices.mjs +11 -6
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.mjs +32 -27
- package/dist/components/DepositWithdrawal/Deposit/Deposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/Deposit.mjs +3 -2
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/GCashDeposit/GCashDeposit.mjs +18 -13
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +7 -2
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +18 -13
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +7 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +10 -6
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/useOnlineBankDeposit.mjs +9 -8
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositForm.mjs +43 -38
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +10 -6
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +12 -8
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/useQRPHDeposit.mjs +9 -8
- package/dist/components/DepositWithdrawal/DepositWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/DepositWithdrawal.mjs +50 -48
- package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
- package/dist/components/DepositWithdrawal/PaymentMethods.mjs +28 -23
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.mjs +86 -74
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.mjs +120 -108
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.mjs +77 -65
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.mjs +96 -84
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/Withdrawal.mjs +3 -2
- package/dist/components/Disclaimer/Disclaimer.js +1 -1
- package/dist/components/Disclaimer/Disclaimer.mjs +16 -12
- package/dist/components/Empty.js +1 -0
- package/dist/components/{Empty/CloudIcon.mjs → Empty.mjs} +26 -11
- package/dist/components/FavoriteGames/FavoriteGames.client.d.ts +2 -0
- package/dist/components/FavoriteGames/FavoriteGames.client.js +1 -0
- package/dist/components/FavoriteGames/FavoriteGames.client.mjs +132 -0
- package/dist/components/FavoriteGames/FavoriteGames.d.ts +6 -0
- package/dist/components/FavoriteGames/FavoriteGames.js +1 -0
- package/dist/components/FavoriteGames/FavoriteGames.mjs +17 -0
- package/dist/components/FavoriteGames/index.d.ts +1 -0
- package/dist/components/GameLaunch/GameLaunch.d.ts +1 -5
- package/dist/components/GameLaunch/GameLaunch.js +1 -1
- package/dist/components/GameLaunch/GameLaunch.mjs +151 -124
- package/dist/components/GameLaunch/GameLaunchTrigger.d.ts +2 -2
- package/dist/components/GameLaunch/GameLaunchTrigger.js +1 -1
- package/dist/components/GameLaunch/GameLaunchTrigger.mjs +7 -6
- package/dist/components/GameProviders/GameProviders.d.ts +7 -10
- package/dist/components/GameProviders/GameProviders.js +1 -0
- package/dist/components/GameProviders/GameProviders.mjs +122 -0
- package/dist/components/GameProviders/index.d.ts +1 -0
- package/dist/components/Games/Games.client.js +1 -1
- package/dist/components/Games/Games.client.mjs +96 -68
- package/dist/components/Games/Games.d.ts +7 -2
- package/dist/components/Games/Games.js +1 -1
- package/dist/components/Games/Games.mjs +4 -2
- package/dist/components/GamesSearch/GamesSearch.d.ts +6 -0
- package/dist/components/GamesSearch/GamesSearch.js +1 -0
- package/dist/components/GamesSearch/GamesSearch.mjs +199 -0
- package/dist/components/GamesSearch/GamesSearchTrigger.d.ts +4 -0
- package/dist/components/GamesSearch/GamesSearchTrigger.js +1 -0
- package/dist/components/GamesSearch/GamesSearchTrigger.mjs +50 -0
- package/dist/components/GamesSearch/index.d.ts +2 -0
- package/dist/components/InfiniteScroll.d.ts +10 -0
- package/dist/components/InfiniteScroll.js +1 -0
- package/dist/components/InfiniteScroll.mjs +30 -0
- package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +2 -0
- package/dist/components/JackpotCounter/JackpotCounter.client.js +1 -0
- package/dist/components/JackpotCounter/JackpotCounter.client.mjs +139 -0
- package/dist/components/JackpotCounter/JackpotCounter.d.ts +5 -3
- package/dist/components/JackpotCounter/JackpotCounter.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounter.mjs +10 -110
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +4 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.mjs +370 -125
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css.mjs +13 -8
- package/dist/components/Jackpots/JackpotGameProviders.d.ts +1 -0
- package/dist/components/Jackpots/JackpotGameProviders.js +1 -0
- package/dist/components/Jackpots/JackpotGameProviders.mjs +105 -0
- package/dist/components/Jackpots/JackpotItem.d.ts +7 -0
- package/dist/components/Jackpots/JackpotItem.js +1 -0
- package/dist/components/Jackpots/JackpotItem.mjs +408 -0
- package/dist/components/Jackpots/JackpotItemMobile.d.ts +7 -0
- package/dist/components/Jackpots/JackpotItemMobile.js +1 -0
- package/dist/components/Jackpots/JackpotItemMobile.mjs +427 -0
- package/dist/components/Jackpots/JackpotRules.d.ts +6 -0
- package/dist/components/Jackpots/JackpotRules.js +1 -0
- package/dist/components/Jackpots/JackpotRules.mjs +78 -0
- package/dist/components/Jackpots/Jackpots.d.ts +8 -0
- package/dist/components/Jackpots/Jackpots.js +1 -0
- package/dist/components/Jackpots/Jackpots.mjs +61 -0
- package/dist/components/Jackpots/index.d.ts +1 -0
- package/dist/components/KYC/KYC.d.ts +5 -0
- package/dist/components/KYC/KYC.js +1 -0
- package/dist/components/KYC/KYC.mjs +84 -0
- package/dist/components/KYC/KYCContext.d.ts +3 -0
- package/dist/components/KYC/KYCContext.js +1 -0
- package/dist/components/KYC/KYCContext.mjs +11 -0
- package/dist/components/KYC/KYCTrigger.d.ts +5 -0
- package/dist/components/KYC/KYCTrigger.js +1 -0
- package/dist/components/KYC/KYCTrigger.mjs +42 -0
- package/dist/components/KYC/Step1.d.ts +1 -0
- package/dist/components/KYC/Step1.js +1 -0
- package/dist/components/KYC/Step1.mjs +67 -0
- package/dist/components/KYC/Step2.d.ts +1 -0
- package/dist/components/KYC/Step2.js +1 -0
- package/dist/components/KYC/Step2.mjs +126 -0
- package/dist/components/KYC/Step3.d.ts +1 -0
- package/dist/components/KYC/Step3.js +1 -0
- package/dist/components/KYC/Step3.mjs +98 -0
- package/dist/components/KYC/StepIndicator.d.ts +1 -0
- package/dist/components/KYC/StepIndicator.js +1 -0
- package/dist/components/KYC/StepIndicator.mjs +42 -0
- package/dist/components/KYC/UploadDocument.d.ts +1 -0
- package/dist/components/KYC/UploadDocument.js +1 -0
- package/dist/components/KYC/UploadDocument.mjs +69 -0
- package/dist/components/KYC/UploadSelfie.d.ts +1 -0
- package/dist/components/KYC/UploadSelfie.js +1 -0
- package/dist/components/KYC/UploadSelfie.mjs +65 -0
- package/dist/components/KYC/index.d.ts +2 -0
- package/dist/components/KYC/useKYC.d.ts +14 -0
- package/dist/components/KYC/useKYC.js +1 -0
- package/dist/components/KYC/useKYC.mjs +43 -0
- package/dist/components/KYC/utils.d.ts +1 -0
- package/dist/components/Marquee/Marquee.js +1 -1
- package/dist/components/Marquee/Marquee.mjs +7 -7
- package/dist/components/Messages/MessageItem.d.ts +4 -0
- package/dist/components/Messages/MessageItem.js +1 -0
- package/dist/components/Messages/MessageItem.mjs +75 -0
- package/dist/components/Messages/MessagePopup.d.ts +1 -0
- package/dist/components/Messages/MessagePopup.js +1 -0
- package/dist/components/Messages/MessagePopup.mjs +95 -0
- package/dist/components/Messages/Messages.d.ts +1 -0
- package/dist/components/Messages/Messages.js +1 -0
- package/dist/components/Messages/Messages.mjs +166 -0
- package/dist/components/Messages/index.d.ts +1 -0
- package/dist/components/Messages/utils.d.ts +3 -0
- package/dist/components/Messages/utils.js +1 -0
- package/dist/components/Messages/utils.mjs +16 -0
- package/dist/components/PortalProvider/PortalProvider.client.d.ts +2 -0
- package/dist/components/PortalProvider/{Providers.js → PortalProvider.client.js} +1 -1
- package/dist/components/PortalProvider/{Providers.mjs → PortalProvider.client.mjs} +28 -15
- package/dist/components/PortalProvider/PortalProvider.d.ts +9 -2
- package/dist/components/PortalProvider/PortalProvider.js +1 -1
- package/dist/components/PortalProvider/PortalProvider.mjs +17 -11
- package/dist/components/Promo/Promo.d.ts +4 -1
- package/dist/components/Promo/Promo.js +1 -1
- package/dist/components/Promo/Promo.mjs +2 -2
- package/dist/components/Promo/PromoContent.js +1 -1
- package/dist/components/Promo/PromoContent.mjs +75 -22
- package/dist/components/Promos/PromoCarousel.js +1 -1
- package/dist/components/Promos/PromoCarousel.mjs +30 -25
- package/dist/components/Promos/PromoGrid.js +1 -1
- package/dist/components/Promos/PromoGrid.mjs +14 -13
- package/dist/components/Promos/PromoItem.js +1 -1
- package/dist/components/Promos/PromoItem.mjs +11 -7
- package/dist/components/Promos/Promos.d.ts +4 -2
- package/dist/components/Protected/Protected.js +1 -1
- package/dist/components/Protected/Protected.mjs +3 -2
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +1 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +1 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.mjs +154 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +8 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +1 -0
- package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.mjs +66 -0
- package/dist/components/Quests/Quests.d.ts +1 -0
- package/dist/components/Quests/Quests.js +1 -0
- package/dist/components/Quests/Quests.mjs +15 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +1 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.js +1 -0
- package/dist/components/Quests/WageringQuest/WageringQuest.mjs +109 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +8 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.js +1 -0
- package/dist/components/Quests/WageringQuest/WageringQuestModal.mjs +63 -0
- package/dist/components/Quests/index.d.ts +1 -0
- package/dist/components/SignIn/SignIn.d.ts +0 -1
- package/dist/components/SignIn/SignIn.js +1 -1
- package/dist/components/SignIn/SignIn.mjs +34 -41
- package/dist/components/SignIn/SignInForm.js +1 -1
- package/dist/components/SignIn/SignInForm.mjs +169 -160
- package/dist/components/SignUp/SignUp.d.ts +0 -1
- package/dist/components/SignUp/SignUp.js +1 -1
- package/dist/components/SignUp/SignUp.mjs +34 -41
- package/dist/components/SignUp/SignUpForm.js +1 -1
- package/dist/components/SignUp/SignUpForm.mjs +125 -116
- package/dist/components/TopWins/TopWins.client.js +1 -1
- package/dist/components/TopWins/TopWins.client.mjs +15 -14
- package/dist/components/TopWins/TopWins.d.ts +2 -1
- package/dist/components/TopWins/TopWins.js +1 -1
- package/dist/components/TopWins/TopWins.mjs +4 -2
- package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +2 -0
- package/dist/components/TournamentCounter/TournamentCounter.client.js +1 -0
- package/dist/components/TournamentCounter/TournamentCounter.client.mjs +139 -0
- package/dist/components/TournamentCounter/TournamentCounter.d.ts +5 -3
- package/dist/components/TournamentCounter/TournamentCounter.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounter.mjs +17 -108
- package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +7 -5
- package/dist/components/TournamentCounter/TournamentCounterItem.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounterItem.mjs +225 -86
- package/dist/components/Tournaments/TournamentGameProviders.d.ts +1 -0
- package/dist/components/Tournaments/TournamentGameProviders.js +1 -0
- package/dist/components/Tournaments/TournamentGameProviders.mjs +105 -0
- package/dist/components/Tournaments/TournamentItem.d.ts +6 -0
- package/dist/components/Tournaments/TournamentItem.js +2 -0
- package/dist/components/Tournaments/TournamentItem.mjs +262 -0
- package/dist/components/Tournaments/TournamentItemMobile.d.ts +8 -0
- package/dist/components/Tournaments/TournamentItemMobile.js +2 -0
- package/dist/components/Tournaments/TournamentItemMobile.mjs +285 -0
- package/dist/components/Tournaments/TournamentRules.d.ts +6 -0
- package/dist/components/Tournaments/TournamentRules.js +1 -0
- package/dist/components/Tournaments/TournamentRules.mjs +78 -0
- package/dist/components/Tournaments/Tournaments.d.ts +8 -0
- package/dist/components/Tournaments/Tournaments.js +1 -0
- package/dist/components/Tournaments/Tournaments.mjs +47 -0
- package/dist/components/Tournaments/index.d.ts +1 -0
- package/dist/components/TransactionRecords/DepositRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/DepositRecordsTable.mjs +123 -100
- package/dist/components/TransactionRecords/TableFilters.d.ts +3 -1
- package/dist/components/TransactionRecords/TableFilters.js +1 -1
- package/dist/components/TransactionRecords/TableFilters.mjs +282 -179
- package/dist/components/TransactionRecords/TransactionRecords.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecords.mjs +22 -17
- package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +118 -97
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +120 -102
- package/dist/components/index.d.ts +10 -0
- package/dist/components.js +1 -1
- package/dist/components.mjs +56 -32
- package/dist/icons/ArrowNarrowDownIcon.d.ts +2 -0
- package/dist/icons/ArrowNarrowDownIcon.js +1 -0
- package/dist/icons/ArrowNarrowDownIcon.mjs +22 -0
- package/dist/icons/ArrowNarrowUpIcon.d.ts +2 -0
- package/dist/icons/ArrowNarrowUpIcon.js +1 -0
- package/dist/icons/ArrowNarrowUpIcon.mjs +22 -0
- package/dist/icons/Award01Icon.d.ts +2 -0
- package/dist/icons/Award01Icon.js +1 -0
- package/dist/icons/Award01Icon.mjs +22 -0
- package/dist/icons/Bell01Icon.d.ts +2 -0
- package/dist/icons/Bell01Icon.js +1 -0
- package/dist/icons/Bell01Icon.mjs +27 -0
- package/dist/icons/BellRingIcon.d.ts +2 -0
- package/dist/icons/BellRingIcon.js +1 -0
- package/dist/icons/BellRingIcon.mjs +27 -0
- package/dist/icons/CalendarIcon.d.ts +2 -0
- package/dist/icons/CalendarIcon.js +1 -0
- package/dist/icons/CalendarIcon.mjs +26 -0
- package/dist/icons/Camera01Icon.d.ts +2 -0
- package/dist/icons/Camera01Icon.js +1 -0
- package/dist/icons/Camera01Icon.mjs +25 -0
- package/dist/icons/CheckCircleIcon.d.ts +2 -0
- package/dist/icons/CheckCircleIcon.js +1 -0
- package/dist/icons/CheckCircleIcon.mjs +22 -0
- package/dist/icons/ClockStopWatchIcon.d.ts +2 -0
- package/dist/icons/ClockStopWatchIcon.js +1 -0
- package/dist/icons/ClockStopWatchIcon.mjs +26 -0
- package/dist/icons/CoinsHandIcon.d.ts +2 -0
- package/dist/icons/CoinsHandIcon.js +1 -0
- package/dist/icons/CoinsHandIcon.mjs +22 -0
- package/dist/icons/CoinsStacked02Icon.d.ts +2 -0
- package/dist/icons/CoinsStacked02Icon.js +1 -0
- package/dist/icons/CoinsStacked02Icon.mjs +22 -0
- package/dist/icons/CoinsSwap02Icon.d.ts +2 -0
- package/dist/icons/CoinsSwap02Icon.js +1 -0
- package/dist/icons/CoinsSwap02Icon.mjs +22 -0
- package/dist/icons/EyeIcon.d.ts +2 -0
- package/dist/icons/EyeIcon.js +1 -0
- package/dist/icons/EyeIcon.mjs +25 -0
- package/dist/icons/EyeOffIcon.d.ts +2 -0
- package/dist/icons/EyeOffIcon.js +1 -0
- package/dist/icons/EyeOffIcon.mjs +22 -0
- package/dist/icons/Flag06Icon.d.ts +2 -0
- package/dist/icons/Flag06Icon.js +1 -0
- package/dist/icons/Flag06Icon.mjs +22 -0
- package/dist/icons/HelpCircleIcon.d.ts +2 -0
- package/dist/icons/HelpCircleIcon.js +1 -0
- package/dist/icons/HelpCircleIcon.mjs +22 -0
- package/dist/icons/InfoCircleIcon.d.ts +2 -0
- package/dist/icons/InfoCircleIcon.js +1 -0
- package/dist/icons/InfoCircleIcon.mjs +27 -0
- package/dist/icons/Menu01Icon.d.ts +2 -0
- package/dist/icons/Menu01Icon.js +1 -0
- package/dist/icons/Menu01Icon.mjs +22 -0
- package/dist/icons/Menu03Icon.d.ts +2 -0
- package/dist/icons/Menu03Icon.js +1 -0
- package/dist/icons/Menu03Icon.mjs +22 -0
- package/dist/icons/SearchLgIcon.d.ts +2 -0
- package/dist/icons/SearchLgIcon.js +1 -0
- package/dist/icons/SearchLgIcon.mjs +22 -0
- package/dist/icons/Settings02Icon.d.ts +2 -0
- package/dist/icons/Settings02Icon.js +1 -0
- package/dist/icons/Settings02Icon.mjs +25 -0
- package/dist/icons/Star01Icon.d.ts +2 -0
- package/dist/icons/Star01Icon.js +1 -0
- package/dist/icons/Star01Icon.mjs +22 -0
- package/dist/icons/StarIcon.d.ts +2 -0
- package/dist/icons/StarIcon.js +1 -0
- package/dist/icons/StarIcon.mjs +18 -0
- package/dist/icons/StopWatchIcon.d.ts +2 -0
- package/dist/icons/StopWatchIcon.js +1 -0
- package/dist/icons/StopWatchIcon.mjs +22 -0
- package/dist/icons/Trophy01Icon.d.ts +2 -0
- package/dist/icons/Trophy01Icon.js +1 -0
- package/dist/icons/Trophy01Icon.mjs +22 -0
- package/dist/icons/UploadCloud02Icon.d.ts +2 -0
- package/dist/icons/UploadCloud02Icon.js +1 -0
- package/dist/icons/UploadCloud02Icon.mjs +22 -0
- package/dist/icons/index.d.ts +22 -0
- package/dist/icons.d.ts +2 -0
- package/dist/icons.js +1 -0
- package/dist/icons.mjs +94 -0
- package/dist/images/fantasma-games.png.js +1 -0
- package/dist/images/fantasma-games.png.mjs +4 -0
- package/dist/images/first-place.png.js +1 -0
- package/dist/images/first-place.png.mjs +4 -0
- package/dist/images/hacksaw-gaming.png.js +1 -0
- package/dist/images/hacksaw-gaming.png.mjs +4 -0
- package/dist/images/leaderboard.png.js +1 -0
- package/dist/images/leaderboard.png.mjs +4 -0
- package/dist/images/placeholder-avatar.png.js +1 -0
- package/dist/images/placeholder-avatar.png.mjs +4 -0
- package/dist/images/responsible-gaming.png.js +1 -1
- package/dist/images/responsible-gaming.png.mjs +2 -2
- package/dist/images/trophy-two.png.js +1 -0
- package/dist/images/trophy-two.png.mjs +4 -0
- package/dist/portal-components.css +1 -1
- package/dist/server/services/getSession.d.ts +1 -1
- package/dist/server/services/getSession.js +1 -1
- package/dist/server/services/getSession.mjs +6 -5
- package/dist/server/utils/index.d.ts +2 -1
- package/dist/server/utils/prefetchBonusesQuery.d.ts +1 -0
- package/dist/server/utils/prefetchBonusesQuery.js +1 -0
- package/dist/server/utils/prefetchBonusesQuery.mjs +26 -0
- package/dist/server/utils/prefetchFavoriteGamesQuery.d.ts +1 -0
- package/dist/server/utils/prefetchFavoriteGamesQuery.js +1 -0
- package/dist/server/utils/prefetchFavoriteGamesQuery.mjs +28 -0
- package/dist/server/utils/prefetchUnreadMessagesCountQuery.d.ts +2 -0
- package/dist/server-utils.js +1 -1
- package/dist/server-utils.mjs +38 -36
- package/dist/theme.css +131 -5
- package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +4 -0
- package/dist/third-parties/FacebookPixel/FacebookPixel.js +1 -0
- package/dist/third-parties/FacebookPixel/FacebookPixel.mjs +6 -0
- package/dist/third-parties/FacebookPixel/api.d.ts +1 -0
- package/dist/third-parties/FacebookPixel/index.d.ts +1 -0
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +4 -0
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +1 -0
- package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.mjs +6 -0
- package/dist/third-parties/GoogleRecaptcha/api.d.ts +1 -0
- package/dist/third-parties/GoogleRecaptcha/index.d.ts +1 -0
- package/dist/third-parties/index.d.ts +2 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types.d.ts +1 -0
- package/dist/types.js +1 -0
- package/dist/types.mjs +1 -0
- package/dist/ui/AlertDialog/AlertDialog.d.ts +88 -88
- package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +8 -8
- package/dist/ui/AlertDialog/alertDialog.recipe.js +1 -1
- package/dist/ui/AlertDialog/alertDialog.recipe.mjs +6 -6
- package/dist/ui/Badge/Badge.d.ts +274 -27
- package/dist/ui/Badge/Badge.js +1 -1
- package/dist/ui/Badge/Badge.mjs +14 -10
- package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
- package/dist/ui/Badge/badge.anatomy.js +1 -1
- package/dist/ui/Badge/badge.anatomy.mjs +1 -0
- package/dist/ui/Badge/badge.recipe.d.ts +57 -9
- package/dist/ui/Badge/badge.recipe.js +1 -1
- package/dist/ui/Badge/badge.recipe.mjs +57 -21
- package/dist/ui/Button/button.recipe.d.ts +2 -2
- package/dist/ui/Button/button.recipe.js +1 -1
- package/dist/ui/Button/button.recipe.mjs +17 -7
- package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
- package/dist/ui/Checkbox/checkbox.recipe.mjs +8 -8
- package/dist/ui/Collapsible/Collapsible.d.ts +114 -0
- package/dist/ui/Collapsible/Collapsible.js +1 -0
- package/dist/ui/Collapsible/Collapsible.mjs +13 -0
- package/dist/ui/Collapsible/collapsible.recipe.d.ts +28 -0
- package/dist/ui/Collapsible/collapsible.recipe.js +1 -0
- package/dist/ui/Collapsible/collapsible.recipe.mjs +18 -0
- package/dist/ui/Collapsible/index.d.ts +1 -0
- package/dist/ui/Combobox/Combobox.d.ts +815 -1
- package/dist/ui/Combobox/Combobox.js +1 -1
- package/dist/ui/Combobox/Combobox.mjs +27 -2
- package/dist/ui/Combobox/combobox.recipe.d.ts +58 -1
- package/dist/ui/Combobox/combobox.recipe.js +1 -0
- package/dist/ui/Combobox/combobox.recipe.mjs +15 -0
- package/dist/ui/DatePicker/DatePicker.d.ts +192 -192
- package/dist/ui/DatePicker/datePicker.recipe.d.ts +8 -8
- package/dist/ui/DatePicker/datePicker.recipe.js +1 -1
- package/dist/ui/DatePicker/datePicker.recipe.mjs +37 -6
- package/dist/ui/Dialog/Dialog.d.ts +88 -88
- package/dist/ui/Dialog/dialog.recipe.d.ts +8 -8
- package/dist/ui/Dialog/dialog.recipe.js +1 -1
- package/dist/ui/Dialog/dialog.recipe.mjs +5 -5
- package/dist/ui/Drawer/Drawer.d.ts +33 -33
- package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
- package/dist/ui/Drawer/drawer.recipe.js +1 -1
- package/dist/ui/Drawer/drawer.recipe.mjs +6 -6
- package/dist/ui/Field/field.recipe.js +1 -1
- package/dist/ui/Field/field.recipe.mjs +10 -12
- package/dist/ui/IconButton/iconButton.recipe.d.ts +3 -2
- package/dist/ui/IconButton/iconButton.recipe.js +1 -1
- package/dist/ui/IconButton/iconButton.recipe.mjs +7 -6
- package/dist/ui/NumberInput/numberInput.recipe.js +1 -1
- package/dist/ui/NumberInput/numberInput.recipe.mjs +8 -8
- package/dist/ui/PasswordInput/PasswordInput.d.ts +242 -1
- package/dist/ui/PasswordInput/PasswordInput.js +1 -0
- package/dist/ui/PasswordInput/PasswordInput.mjs +18 -0
- package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +6 -18
- package/dist/ui/PasswordInput/passwordInput.recipe.js +1 -0
- package/dist/ui/PasswordInput/passwordInput.recipe.mjs +48 -0
- package/dist/ui/PinInput/pinInput.recipe.js +1 -1
- package/dist/ui/PinInput/pinInput.recipe.mjs +3 -3
- package/dist/ui/Popover/Popover.d.ts +55 -55
- package/dist/ui/Popover/popover.recipe.d.ts +5 -5
- package/dist/ui/Popover/popover.recipe.js +1 -1
- package/dist/ui/Popover/popover.recipe.mjs +1 -1
- package/dist/ui/Progress/Progress.d.ts +335 -1
- package/dist/ui/Progress/Progress.js +1 -1
- package/dist/ui/Progress/Progress.mjs +15 -2
- package/dist/ui/Progress/progress.recipe.d.ts +37 -1
- package/dist/ui/Progress/progress.recipe.js +1 -0
- package/dist/ui/Progress/progress.recipe.mjs +41 -0
- package/dist/ui/Prose.d.ts +2 -0
- package/dist/ui/Prose.js +1 -0
- package/dist/ui/Prose.mjs +47 -0
- package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
- package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
- package/dist/ui/SegmentGroup/segmentGroup.recipe.js +1 -1
- package/dist/ui/SegmentGroup/segmentGroup.recipe.mjs +3 -3
- package/dist/ui/Select/Select.d.ts +45 -45
- package/dist/ui/Select/select.recipe.d.ts +3 -3
- package/dist/ui/Select/select.recipe.js +1 -1
- package/dist/ui/Select/select.recipe.mjs +7 -6
- package/dist/ui/Table/table.recipe.js +1 -1
- package/dist/ui/Table/table.recipe.mjs +4 -4
- package/dist/ui/Tabs/tabs.recipe.js +1 -1
- package/dist/ui/Tabs/tabs.recipe.mjs +3 -3
- package/dist/ui/index.d.ts +3 -0
- package/dist/ui.js +1 -1
- package/dist/ui.mjs +36 -30
- package/dist/utils/queryKeys.d.ts +9 -2
- package/dist/utils/queryKeys.js +1 -1
- package/dist/utils/queryKeys.mjs +56 -38
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +48 -41
- package/package.json +24 -12
- package/dist/client/hooks/useSiteQuery.d.ts +0 -3
- package/dist/client/hooks/useSiteQuery.js +0 -1
- package/dist/client/hooks/useSiteQuery.mjs +0 -23
- package/dist/components/Empty/CloudIcon.d.ts +0 -2
- package/dist/components/Empty/CloudIcon.js +0 -1
- package/dist/components/Empty/Empty.js +0 -1
- package/dist/components/Empty/Empty.mjs +0 -16
- package/dist/components/Empty/index.d.ts +0 -1
- package/dist/components/PortalProvider/Providers.d.ts +0 -2
- package/dist/components/Promos/PromosContent.d.ts +0 -2
- package/dist/images/ball.png.js +0 -1
- package/dist/images/ball.png.mjs +0 -4
- package/dist/images/card.png.js +0 -1
- package/dist/images/card.png.mjs +0 -4
- package/dist/server/utils/prefetchSiteQuery.d.ts +0 -1
- package/dist/server/utils/prefetchSiteQuery.js +0 -1
- package/dist/server/utils/prefetchSiteQuery.mjs +0 -23
- /package/dist/components/{Empty/Empty.d.ts → Empty.d.ts} +0 -0
|
@@ -1,135 +1,274 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { twMerge as
|
|
3
|
+
import { pick as P } from "lodash-es";
|
|
4
|
+
import o from "next/image";
|
|
5
|
+
import x, { useState as I, useMemo as S, useEffect as z } from "react";
|
|
6
|
+
import { twMerge as a } from "tailwind-merge";
|
|
7
7
|
import "@opexa/portal-sdk-core";
|
|
8
8
|
import "@tanstack/react-query";
|
|
9
9
|
import "tiny-invariant";
|
|
10
10
|
import "../../constants/index.mjs";
|
|
11
11
|
import "../../utils/capitalize.mjs";
|
|
12
|
-
import { formatNumber as
|
|
12
|
+
import { formatNumber as M } from "../../utils/formatNumber.mjs";
|
|
13
13
|
import "../../utils/getLocaleInfo.mjs";
|
|
14
14
|
import "../../utils/getQueryClient.mjs";
|
|
15
15
|
import "../../utils/isMobile.mjs";
|
|
16
16
|
import "../../utils/parseDecimal.mjs";
|
|
17
|
+
import "../../client/services/getSession.mjs";
|
|
17
18
|
import "@opexa/portal-sdk-core/object-id";
|
|
18
19
|
import "../../client/hooks/useGlobalStore.mjs";
|
|
19
20
|
import "../../client/hooks/useInfiniteQueryHelper.mjs";
|
|
20
|
-
import { useLocaleInfo as
|
|
21
|
+
import { useLocaleInfo as T } from "../../client/hooks/useLocaleInfo.mjs";
|
|
21
22
|
import "usehooks-ts";
|
|
22
|
-
import {
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
23
|
+
import { ChevronRightIcon as j } from "../../icons/ChevronRightIcon.mjs";
|
|
24
|
+
import { StarIcon as D } from "../../icons/StarIcon.mjs";
|
|
25
|
+
import { Trophy01Icon as k } from "../../icons/Trophy01Icon.mjs";
|
|
26
|
+
import { Award01Icon as q } from "../../icons/Award01Icon.mjs";
|
|
27
|
+
import R from "../../images/first-place.png.mjs";
|
|
28
|
+
import A from "../../images/trophy-two.png.mjs";
|
|
29
|
+
import h from "../../images/trophy.png.mjs";
|
|
30
|
+
import _ from "next/link";
|
|
31
|
+
import E from "../JackpotCounter/JackpotCounterItem.module.css.mjs";
|
|
32
|
+
function he({
|
|
33
|
+
jackpot: m,
|
|
34
|
+
className: b,
|
|
35
|
+
viewAllUrl: p
|
|
30
36
|
}) {
|
|
31
|
-
const
|
|
37
|
+
const y = T(), [i, c] = I({
|
|
32
38
|
days: 0,
|
|
33
39
|
hours: 0,
|
|
34
40
|
minutes: 0,
|
|
41
|
+
seconds: 0,
|
|
35
42
|
isPast: !1
|
|
36
|
-
}),
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
),
|
|
40
|
-
const
|
|
41
|
-
if (
|
|
42
|
-
|
|
43
|
+
}), n = S(() => {
|
|
44
|
+
const r = /* @__PURE__ */ new Date();
|
|
45
|
+
return new Date(r.setSeconds(r.getSeconds() + 2 * 24 * 60 * 60));
|
|
46
|
+
}, []), d = x.useCallback(() => {
|
|
47
|
+
const r = /* @__PURE__ */ new Date(), l = n.getTime() - r.getTime();
|
|
48
|
+
if (l <= 0) {
|
|
49
|
+
c({
|
|
50
|
+
days: 0,
|
|
51
|
+
hours: 0,
|
|
52
|
+
minutes: 0,
|
|
53
|
+
seconds: 0,
|
|
54
|
+
isPast: !0
|
|
55
|
+
});
|
|
43
56
|
return;
|
|
44
57
|
}
|
|
45
|
-
const
|
|
58
|
+
const s = Math.floor(l / 1e3), g = Math.floor(s / (3600 * 24)), N = Math.floor(s % (3600 * 24) / 3600), v = Math.floor(s % 3600 / 60), w = s % 60, C = P({ days: g, hours: N, minutes: v, seconds: w, isPast: !1 }, [
|
|
46
59
|
"days",
|
|
47
60
|
"hours",
|
|
48
61
|
"minutes",
|
|
62
|
+
"seconds",
|
|
49
63
|
"isPast"
|
|
50
64
|
]);
|
|
51
|
-
|
|
52
|
-
}, [
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
const
|
|
56
|
-
return () => clearInterval(
|
|
57
|
-
}, [
|
|
58
|
-
const
|
|
59
|
-
{ label: "Day", value:
|
|
60
|
-
{ label: "Hour", value:
|
|
61
|
-
{ label: "Min", value:
|
|
62
|
-
|
|
63
|
-
{
|
|
64
|
-
image: _
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
image: C
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
image: k
|
|
71
|
-
}
|
|
65
|
+
c(C);
|
|
66
|
+
}, [n]);
|
|
67
|
+
z(() => {
|
|
68
|
+
d();
|
|
69
|
+
const r = setInterval(d, 1e3);
|
|
70
|
+
return () => clearInterval(r);
|
|
71
|
+
}, [n, d]);
|
|
72
|
+
const f = [
|
|
73
|
+
{ label: "Day", value: i.days },
|
|
74
|
+
{ label: "Hour", value: i.hours },
|
|
75
|
+
{ label: "Min", value: i.minutes },
|
|
76
|
+
{ label: "Sec", value: i.seconds }
|
|
72
77
|
];
|
|
73
78
|
return /* @__PURE__ */ t(
|
|
74
79
|
"div",
|
|
75
80
|
{
|
|
76
|
-
className:
|
|
77
|
-
"bg-
|
|
78
|
-
|
|
81
|
+
className: a(
|
|
82
|
+
"bg-bg-tertiary border-border-primary relative flex shrink-0 rounded-2xl border p-3 text-center lg:gap-6 lg:p-5",
|
|
83
|
+
b
|
|
79
84
|
),
|
|
80
85
|
children: [
|
|
81
|
-
/* @__PURE__ */
|
|
82
|
-
/* @__PURE__ */ t("div", { className: "
|
|
83
|
-
/* @__PURE__ */
|
|
84
|
-
|
|
86
|
+
/* @__PURE__ */ e("div", { className: "z-1 relative flex flex-1 flex-col", children: /* @__PURE__ */ e("div", { className: "flex h-full flex-col justify-between", children: /* @__PURE__ */ e("div", { className: "flex w-full justify-between", children: /* @__PURE__ */ t("div", { className: "flex w-full flex-col", children: [
|
|
87
|
+
/* @__PURE__ */ t("div", { className: "relative flex w-full justify-between", children: [
|
|
88
|
+
/* @__PURE__ */ t("div", { className: "w-full", children: [
|
|
89
|
+
/* @__PURE__ */ t("div", { className: "flex w-full justify-between", children: [
|
|
90
|
+
/* @__PURE__ */ t("div", { className: "border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium", children: [
|
|
91
|
+
/* @__PURE__ */ e(q, { className: "text-utility-brand-500 size-3.5" }),
|
|
92
|
+
"Multiplier"
|
|
93
|
+
] }),
|
|
94
|
+
/* @__PURE__ */ e("div", { className: "flex h-fit", children: f.map((r, l) => /* @__PURE__ */ t(x.Fragment, { children: [
|
|
95
|
+
/* @__PURE__ */ t(
|
|
96
|
+
"div",
|
|
97
|
+
{
|
|
98
|
+
className: a(
|
|
99
|
+
"bg-bg-primary text-text-primary-900 flex h-fit w-8 flex-col items-center rounded-[4px] pb-1.5"
|
|
100
|
+
),
|
|
101
|
+
children: [
|
|
102
|
+
/* @__PURE__ */ e("span", { className: "text-base font-medium", children: String(r.value).padStart(2, "0") }),
|
|
103
|
+
/* @__PURE__ */ e("span", { className: "text-[8px]", children: r.label })
|
|
104
|
+
]
|
|
105
|
+
}
|
|
106
|
+
),
|
|
107
|
+
l < f.length - 1 && /* @__PURE__ */ t("div", { className: "flex flex-col justify-center gap-[6px] px-[6px]", children: [
|
|
108
|
+
/* @__PURE__ */ e("div", { className: "bg-bg-primary h-1 w-1 rounded-full" }),
|
|
109
|
+
/* @__PURE__ */ e("div", { className: "bg-bg-primary h-1 w-1 rounded-full" })
|
|
110
|
+
] })
|
|
111
|
+
] }, r.label)) })
|
|
112
|
+
] }),
|
|
113
|
+
/* @__PURE__ */ t("div", { className: "flex justify-between", children: [
|
|
114
|
+
/* @__PURE__ */ t("div", { children: [
|
|
115
|
+
/* @__PURE__ */ e("div", { className: "text-text-primary-900 mt-2.5 text-left text-lg font-medium lg:mt-5 lg:text-2xl", children: m.name }),
|
|
116
|
+
/* @__PURE__ */ e("div", { className: "bg-bg-primary text-brand-400 mt-1.5 w-fit rounded-md px-2 py-1 text-2xl font-bold lg:mt-2 lg:text-4xl", children: M(m.pool, {
|
|
117
|
+
currency: y.currency.code,
|
|
118
|
+
minDecimalPlaces: 2,
|
|
119
|
+
maxDecimalPlaces: 2
|
|
120
|
+
}) }),
|
|
121
|
+
/* @__PURE__ */ e("div", { className: "text-text-primary-900 mt-4 block text-left text-base lg:hidden", children: "Play and Win!" })
|
|
122
|
+
] }),
|
|
123
|
+
/* @__PURE__ */ e("div", { className: "flex items-end lg:hidden", children: /* @__PURE__ */ e(
|
|
124
|
+
o,
|
|
125
|
+
{
|
|
126
|
+
src: h,
|
|
127
|
+
alt: "trophy",
|
|
128
|
+
quality: 100,
|
|
129
|
+
className: "h-23 w-18"
|
|
130
|
+
}
|
|
131
|
+
) })
|
|
132
|
+
] })
|
|
133
|
+
] }),
|
|
134
|
+
/* @__PURE__ */ e("div", { className: "z-1 absolute bottom-[-60] right-0 hidden lg:block", children: /* @__PURE__ */ e(
|
|
135
|
+
o,
|
|
136
|
+
{
|
|
137
|
+
quality: 100,
|
|
138
|
+
width: 155,
|
|
139
|
+
height: 155,
|
|
140
|
+
src: h,
|
|
141
|
+
alt: "trophy",
|
|
142
|
+
className: "px-6 py-2.5"
|
|
143
|
+
}
|
|
144
|
+
) })
|
|
85
145
|
] }),
|
|
86
|
-
/* @__PURE__ */
|
|
87
|
-
/* @__PURE__ */
|
|
88
|
-
|
|
146
|
+
/* @__PURE__ */ t("div", { className: "bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex", children: [
|
|
147
|
+
/* @__PURE__ */ e(
|
|
148
|
+
o,
|
|
89
149
|
{
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
/* @__PURE__ */ e("span", { className: "text-[8px]", children: a.label })
|
|
96
|
-
]
|
|
150
|
+
width: 66,
|
|
151
|
+
height: 87,
|
|
152
|
+
src: R,
|
|
153
|
+
alt: "closeChest",
|
|
154
|
+
className: "size-full h-auto w-[66px] mix-blend-luminosity"
|
|
97
155
|
}
|
|
98
156
|
),
|
|
99
|
-
|
|
100
|
-
/* @__PURE__ */
|
|
101
|
-
|
|
157
|
+
/* @__PURE__ */ t("div", { className: "flex flex-col gap-1 text-left", children: [
|
|
158
|
+
/* @__PURE__ */ t("div", { className: "border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium", children: [
|
|
159
|
+
/* @__PURE__ */ e(k, { className: "text-utility-brand-600 size-3.5" }),
|
|
160
|
+
"Top Payout"
|
|
161
|
+
] }),
|
|
162
|
+
/* @__PURE__ */ e("div", { className: "font-semibold", children: "No winners yet" }),
|
|
163
|
+
/* @__PURE__ */ e("div", { className: "text-text-secondary-700 text-xs", children: "You could be the first to win the tournament!" })
|
|
102
164
|
] })
|
|
103
|
-
] }
|
|
104
|
-
] }),
|
|
105
|
-
/* @__PURE__ */ t("div", { className: "flex
|
|
106
|
-
/* @__PURE__ */ t("div", { className: "flex
|
|
107
|
-
/* @__PURE__ */ t("div", { children: [
|
|
108
|
-
/* @__PURE__ */ e(
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
165
|
+
] })
|
|
166
|
+
] }) }) }) }),
|
|
167
|
+
/* @__PURE__ */ t("div", { className: "z-1 hidden flex-1 space-y-4 lg:block", children: [
|
|
168
|
+
/* @__PURE__ */ t("div", { className: "flex items-center justify-between", children: [
|
|
169
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: [
|
|
170
|
+
/* @__PURE__ */ e(
|
|
171
|
+
o,
|
|
172
|
+
{
|
|
173
|
+
width: 24,
|
|
174
|
+
height: 24,
|
|
175
|
+
src: A,
|
|
176
|
+
quality: 100,
|
|
177
|
+
alt: "leaderboardIcon",
|
|
178
|
+
className: "size-full w-6"
|
|
179
|
+
}
|
|
180
|
+
),
|
|
181
|
+
/* @__PURE__ */ e("div", { className: "text-text-primary-900 text-lg font-semibold", children: "Starting soon!" })
|
|
114
182
|
] }),
|
|
115
|
-
/* @__PURE__ */
|
|
183
|
+
/* @__PURE__ */ t(
|
|
184
|
+
_,
|
|
185
|
+
{
|
|
186
|
+
className: "text-button-tertiary-fg flex text-sm font-semibold",
|
|
187
|
+
href: p ?? "/tournaments",
|
|
188
|
+
children: [
|
|
189
|
+
"See details",
|
|
190
|
+
/* @__PURE__ */ e(j, { className: "size-5" })
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
)
|
|
116
194
|
] }),
|
|
117
|
-
/* @__PURE__ */ e(
|
|
118
|
-
|
|
195
|
+
/* @__PURE__ */ e(
|
|
196
|
+
"div",
|
|
119
197
|
{
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
198
|
+
className: a(
|
|
199
|
+
"max-h-[272px] overflow-y-scroll",
|
|
200
|
+
E.scrollArea
|
|
201
|
+
),
|
|
202
|
+
children: /* @__PURE__ */ e("div", { className: "border-gray-200 overflow-hidden rounded-xl", children: /* @__PURE__ */ t("table", { className: "w-full", children: [
|
|
203
|
+
/* @__PURE__ */ e("thead", { children: /* @__PURE__ */ t("tr", { className: "bg-bg-secondary text-text-tertiary-600 h-8 text-xs font-medium", children: [
|
|
204
|
+
/* @__PURE__ */ e("th", { className: "w-[52px]", children: "#" }),
|
|
205
|
+
/* @__PURE__ */ e("th", { children: "Player" }),
|
|
206
|
+
/* @__PURE__ */ e("th", { children: "Multiplier" }),
|
|
207
|
+
/* @__PURE__ */ e("th", { children: "Prize" })
|
|
208
|
+
] }) }),
|
|
209
|
+
/* @__PURE__ */ e("tbody", { children: Array.from({ length: 10 }).map((r, l) => /* @__PURE__ */ t(
|
|
210
|
+
"tr",
|
|
211
|
+
{
|
|
212
|
+
className: "bg-bg-primary text-text-secondary-700 text-sm",
|
|
213
|
+
children: [
|
|
214
|
+
/* @__PURE__ */ e("td", { className: "border-border-secondary h-12 w-[52px] border-t-2", children: l + 1 < 6 ? /* @__PURE__ */ t("div", { className: "relative", children: [
|
|
215
|
+
/* @__PURE__ */ e(
|
|
216
|
+
D,
|
|
217
|
+
{
|
|
218
|
+
className: a(
|
|
219
|
+
"mx-auto size-6.5",
|
|
220
|
+
u[l].starColor
|
|
221
|
+
)
|
|
222
|
+
}
|
|
223
|
+
),
|
|
224
|
+
/* @__PURE__ */ e(
|
|
225
|
+
"span",
|
|
226
|
+
{
|
|
227
|
+
className: a(
|
|
228
|
+
"absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold",
|
|
229
|
+
u[l].numberColor
|
|
230
|
+
),
|
|
231
|
+
children: l + 1
|
|
232
|
+
}
|
|
233
|
+
)
|
|
234
|
+
] }) : "-" }),
|
|
235
|
+
/* @__PURE__ */ e("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }),
|
|
236
|
+
/* @__PURE__ */ e("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }),
|
|
237
|
+
/* @__PURE__ */ e("td", { className: "border-border-secondary h-12 border-t-2", children: "-" })
|
|
238
|
+
]
|
|
239
|
+
},
|
|
240
|
+
l
|
|
241
|
+
)) })
|
|
242
|
+
] }) })
|
|
126
243
|
}
|
|
127
|
-
)
|
|
244
|
+
)
|
|
128
245
|
] })
|
|
129
246
|
]
|
|
130
247
|
}
|
|
131
248
|
);
|
|
132
249
|
}
|
|
250
|
+
const u = [
|
|
251
|
+
{
|
|
252
|
+
starColor: "text-yellow-400",
|
|
253
|
+
numberColor: "text-bg-primary"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
starColor: "text-utility-gray-700",
|
|
257
|
+
numberColor: "text-bg-primary"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
starColor: "text-yellow-700",
|
|
261
|
+
numberColor: "text-bg-primary"
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
starColor: "text-bg-quaternary",
|
|
265
|
+
numberColor: "text-text-primary-900"
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
starColor: "text-bg-quaternary",
|
|
269
|
+
numberColor: "text-text-primary-900"
|
|
270
|
+
}
|
|
271
|
+
];
|
|
133
272
|
export {
|
|
134
|
-
|
|
273
|
+
he as TournamentCounterItem
|
|
135
274
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function TournamentGameProviders(): import("react").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react/jsx-runtime"),q=require("embla-carousel-react"),x=require("next/image"),s=require("react"),f=require("../../icons/ArrowLeftIcon.js"),v=require("../../icons/ArrowRightIcon.js"),N=require("../../images/fantasma-games.png.js"),b=require("../../images/hacksaw-gaming.png.js");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");const a=require("../../ui/Button/Button.js");require("../../ui/Checkbox/Checkbox.js");require("../../ui/Clipboard/Clipboard.js");require("../../ui/Collapsible/Collapsible.js");require("../../ui/Combobox/Combobox.js");require("../../ui/DatePicker/DatePicker.js");require("../../ui/Dialog/Dialog.js");require("../../ui/Drawer/Drawer.js");require("../../ui/Field/Field.js");require("@ark-ui/react");require("../../utils/capitalize.js");require("../../utils/parseDecimal.js");require("../../constants/index.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../ui/IconButton/iconButton.recipe.js");require("../../ui/NumberInput/NumberInput.js");require("../../ui/PasswordInput/PasswordInput.js");require("../../ui/PinInput/PinInput.js");require("../../ui/Popover/Popover.js");require("tailwind-merge");require("../../ui/Progress/Progress.js");require("../../ui/SegmentGroup/SegmentGroup.js");require("../../ui/Select/Select.js");require("../../ui/Table/Table.js");require("../../ui/Tabs/Tabs.js");function g(){const[n,e]=q({align:"start",slidesToScroll:1}),t=s.useCallback(()=>{e&&e.scrollPrev()},[e]),c=s.useCallback(()=>{e&&e.scrollNext()},[e]),[o,u]=s.useState(!1),[d,m]=s.useState(!1),i=s.useCallback(()=>{e&&(u(e.canScrollPrev()),m(e.canScrollNext()))},[e]);return s.useEffect(()=>{e&&(i(),e.on("select",i),e.on("reInit",i))},[e,i]),r.jsxs("div",{className:"p-4 pb-8",children:[r.jsxs("div",{className:"flex items-center justify-between",children:[r.jsx("div",{className:"text-text-primary-900 text-lg font-semibold",children:"Tournament Game Providers"}),r.jsxs("div",{className:"hidden lg:flex",children:[r.jsx(a.Button,{disabled:!o,onClick:t,variant:"outline",colorScheme:"gray",className:"rounded-r-none border-r-0","aria-label":"Previous",children:r.jsx(f.ArrowLeftIcon,{className:"size-5"})}),r.jsxs(a.Button,{disabled:!d,onClick:c,variant:"outline",colorScheme:"gray",className:"rounded-l-none","aria-label":"Next",children:[r.jsx("span",{className:"sr-only",children:"Next"}),r.jsx(v.ArrowRightIcon,{className:"size-5"})]})]})]}),r.jsx("div",{className:"relative mt-3 overflow-hidden",ref:n,children:r.jsx("div",{className:"flex gap-3.5",children:Array.from({length:12},(h,l)=>r.jsx("div",{className:"bg-gray-800 lg:bg-bg-primary-900 min-w-27.5 rounded-md",children:r.jsx(x,{src:l%2?b:N,alt:"provider",className:"size-full"})},l))})})]})}exports.TournamentGameProviders=g;
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import v from "embla-carousel-react";
|
|
4
|
+
import N from "next/image";
|
|
5
|
+
import { useCallback as i, useState as m, useEffect as h } from "react";
|
|
6
|
+
import { ArrowLeftIcon as x } from "../../icons/ArrowLeftIcon.mjs";
|
|
7
|
+
import { ArrowRightIcon as b } from "../../icons/ArrowRightIcon.mjs";
|
|
8
|
+
import g from "../../images/fantasma-games.png.mjs";
|
|
9
|
+
import S from "../../images/hacksaw-gaming.png.mjs";
|
|
10
|
+
import "../../ui/AlertDialog/AlertDialog.mjs";
|
|
11
|
+
import "../../ui/Avatar/Avatar.mjs";
|
|
12
|
+
import "../../ui/Badge/Badge.mjs";
|
|
13
|
+
import { Button as a } from "../../ui/Button/Button.mjs";
|
|
14
|
+
import "../../ui/Checkbox/Checkbox.mjs";
|
|
15
|
+
import "../../ui/Clipboard/Clipboard.mjs";
|
|
16
|
+
import "../../ui/Collapsible/Collapsible.mjs";
|
|
17
|
+
import "../../ui/Combobox/Combobox.mjs";
|
|
18
|
+
import "../../ui/DatePicker/DatePicker.mjs";
|
|
19
|
+
import "../../ui/Dialog/Dialog.mjs";
|
|
20
|
+
import "../../ui/Drawer/Drawer.mjs";
|
|
21
|
+
import "../../ui/Field/Field.mjs";
|
|
22
|
+
import "@ark-ui/react";
|
|
23
|
+
import "../../utils/capitalize.mjs";
|
|
24
|
+
import "../../utils/parseDecimal.mjs";
|
|
25
|
+
import "../../constants/index.mjs";
|
|
26
|
+
import "../../utils/getLocaleInfo.mjs";
|
|
27
|
+
import "../../utils/getQueryClient.mjs";
|
|
28
|
+
import "../../utils/isMobile.mjs";
|
|
29
|
+
import "../../ui/IconButton/iconButton.recipe.mjs";
|
|
30
|
+
import "../../ui/NumberInput/NumberInput.mjs";
|
|
31
|
+
import "../../ui/PasswordInput/PasswordInput.mjs";
|
|
32
|
+
import "../../ui/PinInput/PinInput.mjs";
|
|
33
|
+
import "../../ui/Popover/Popover.mjs";
|
|
34
|
+
import "tailwind-merge";
|
|
35
|
+
import "../../ui/Progress/Progress.mjs";
|
|
36
|
+
import "../../ui/SegmentGroup/SegmentGroup.mjs";
|
|
37
|
+
import "../../ui/Select/Select.mjs";
|
|
38
|
+
import "../../ui/Table/Table.mjs";
|
|
39
|
+
import "../../ui/Tabs/Tabs.mjs";
|
|
40
|
+
function ar() {
|
|
41
|
+
const [s, r] = v({
|
|
42
|
+
align: "start",
|
|
43
|
+
slidesToScroll: 1
|
|
44
|
+
}), n = i(() => {
|
|
45
|
+
r && r.scrollPrev();
|
|
46
|
+
}, [r]), c = i(() => {
|
|
47
|
+
r && r.scrollNext();
|
|
48
|
+
}, [r]), [p, d] = m(!1), [f, u] = m(!1), o = i(() => {
|
|
49
|
+
r && (d(r.canScrollPrev()), u(r.canScrollNext()));
|
|
50
|
+
}, [r]);
|
|
51
|
+
return h(() => {
|
|
52
|
+
r && (o(), r.on("select", o), r.on("reInit", o));
|
|
53
|
+
}, [r, o]), /* @__PURE__ */ t("div", { className: "p-4 pb-8", children: [
|
|
54
|
+
/* @__PURE__ */ t("div", { className: "flex items-center justify-between", children: [
|
|
55
|
+
/* @__PURE__ */ e("div", { className: "text-text-primary-900 text-lg font-semibold", children: "Tournament Game Providers" }),
|
|
56
|
+
/* @__PURE__ */ t("div", { className: "hidden lg:flex", children: [
|
|
57
|
+
/* @__PURE__ */ e(
|
|
58
|
+
a,
|
|
59
|
+
{
|
|
60
|
+
disabled: !p,
|
|
61
|
+
onClick: n,
|
|
62
|
+
variant: "outline",
|
|
63
|
+
colorScheme: "gray",
|
|
64
|
+
className: "rounded-r-none border-r-0",
|
|
65
|
+
"aria-label": "Previous",
|
|
66
|
+
children: /* @__PURE__ */ e(x, { className: "size-5" })
|
|
67
|
+
}
|
|
68
|
+
),
|
|
69
|
+
/* @__PURE__ */ t(
|
|
70
|
+
a,
|
|
71
|
+
{
|
|
72
|
+
disabled: !f,
|
|
73
|
+
onClick: c,
|
|
74
|
+
variant: "outline",
|
|
75
|
+
colorScheme: "gray",
|
|
76
|
+
className: "rounded-l-none",
|
|
77
|
+
"aria-label": "Next",
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ e("span", { className: "sr-only", children: "Next" }),
|
|
80
|
+
/* @__PURE__ */ e(b, { className: "size-5" })
|
|
81
|
+
]
|
|
82
|
+
}
|
|
83
|
+
)
|
|
84
|
+
] })
|
|
85
|
+
] }),
|
|
86
|
+
/* @__PURE__ */ e("div", { className: "relative mt-3 overflow-hidden", ref: s, children: /* @__PURE__ */ e("div", { className: "flex gap-3.5", children: Array.from({ length: 12 }, (y, l) => /* @__PURE__ */ e(
|
|
87
|
+
"div",
|
|
88
|
+
{
|
|
89
|
+
className: "bg-gray-800 lg:bg-bg-primary-900 min-w-27.5 rounded-md",
|
|
90
|
+
children: /* @__PURE__ */ e(
|
|
91
|
+
N,
|
|
92
|
+
{
|
|
93
|
+
src: l % 2 ? S : g,
|
|
94
|
+
alt: "provider",
|
|
95
|
+
className: "size-full"
|
|
96
|
+
}
|
|
97
|
+
)
|
|
98
|
+
},
|
|
99
|
+
l
|
|
100
|
+
)) }) })
|
|
101
|
+
] });
|
|
102
|
+
}
|
|
103
|
+
export {
|
|
104
|
+
ar as TournamentGameProviders
|
|
105
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),j=require("lodash-es"),c=require("next/image"),l=require("react"),s=require("tailwind-merge");require("@opexa/portal-sdk-core");require("@tanstack/react-query");require("tiny-invariant");require("../../constants/index.js");require("../../utils/capitalize.js");const N=require("../../utils/formatNumber.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../utils/parseDecimal.js");require("../../client/services/getSession.js");require("@opexa/portal-sdk-core/object-id");require("../../client/hooks/useGlobalStore.js");require("../../client/hooks/useInfiniteQueryHelper.js");const v=require("../../client/hooks/useLocaleInfo.js");require("usehooks-ts");const w=require("../../icons/StarIcon.js"),q=require("../../icons/Trophy01Icon.js"),T=require("../../icons/Award01Icon.js"),M=require("../../images/first-place.png.js"),I=require("../../images/trophy-two.png.js"),C=require("../../images/trophy.png.js"),P=require("../JackpotCounter/JackpotCounterItem.module.css.js"),S=require("./TournamentGameProviders.js"),z=require("./TournamentRules.js");function R({jackpot:d}){const h=v.useLocaleInfo(),[a,x]=l.useState({days:0,hours:0,minutes:0,seconds:0,isPast:!1}),n=l.useMemo(()=>{const r=new Date;return new Date(r.setSeconds(r.getSeconds()+2*24*60*60))},[]),o=l.useCallback(()=>{const r=new Date,t=n.getTime()-r.getTime();if(t<=0){x({days:0,hours:0,minutes:0,seconds:0,isPast:!0});return}const i=Math.floor(t/1e3),b=Math.floor(i/(3600*24)),f=Math.floor(i%(3600*24)/3600),y=Math.floor(i%3600/60),g=i%60,p=j.pick({days:b,hours:f,minutes:y,seconds:g,isPast:!1},["days","hours","minutes","seconds","isPast"]);x(p)},[n]);l.useEffect(()=>{o();const r=setInterval(o,1e3);return()=>clearInterval(r)},[n,o]);const u=[{label:"Day",value:a.days},{label:"Hour",value:a.hours},{label:"Min",value:a.minutes},{label:"Sec",value:a.seconds}];return e.jsxs("div",{className:s.twMerge("bg-bg-tertiary border-border-primary rounded-2xl border"),children:[e.jsxs("div",{className:s.twMerge("relative flex shrink-0 p-3 text-center lg:gap-6 lg:p-5"),children:[e.jsx("div",{className:"z-1 relative flex flex-1 flex-col",children:e.jsx("div",{className:"flex h-full flex-col justify-between",children:e.jsx("div",{className:"flex w-full justify-between",children:e.jsxs("div",{className:"flex w-full flex-col",children:[e.jsxs("div",{className:"relative flex w-full justify-between",children:[e.jsxs("div",{className:"w-full",children:[e.jsxs("div",{className:"flex w-full justify-between",children:[e.jsxs("div",{className:"border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium",children:[e.jsx(T.Award01Icon,{className:"text-utility-brand-500 size-3.5"}),"Multiplier"]}),e.jsx("div",{className:"flex h-fit",children:u.map((r,t)=>e.jsxs(l.Fragment,{children:[e.jsxs("div",{className:s.twMerge("bg-bg-primary text-text-primary-900 flex h-fit w-8 flex-col items-center rounded-[4px] pb-1.5"),children:[e.jsx("span",{className:"text-base font-medium",children:String(r.value).padStart(2,"0")}),e.jsx("span",{className:"text-[8px]",children:r.label})]}),t<u.length-1&&e.jsxs("div",{className:"flex flex-col justify-center gap-[6px] px-[6px]",children:[e.jsx("div",{className:"bg-bg-primary h-1 w-1 rounded-full"}),e.jsx("div",{className:"bg-bg-primary h-1 w-1 rounded-full"})]})]},r.label))})]}),e.jsx("div",{className:"text-text-primary-900 mt-1 text-left text-lg font-medium lg:mt-5 lg:text-2xl",children:d.name}),e.jsx("div",{className:"bg-bg-primary text-brand-400 mt-1.5 w-fit rounded-md px-2 py-1 text-2xl font-bold lg:mt-2 lg:text-4xl",children:N.formatNumber(d.pool,{currency:h.currency.code,minDecimalPlaces:2,maxDecimalPlaces:2})})]}),e.jsx("div",{className:"z-1 bottom-[-60] right-0 block lg:absolute",children:e.jsx("div",{className:"h-[155px] w-auto shrink-0",children:e.jsx(c,{quality:100,width:155,height:155,src:C,alt:"trophy",className:"px-6 py-2.5"})})})]}),e.jsxs("div",{className:"bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex",children:[e.jsx(c,{width:66,height:87,src:M,alt:"closeChest",className:"size-full h-auto w-[66px] mix-blend-luminosity"}),e.jsxs("div",{className:"flex flex-col gap-1 text-left",children:[e.jsxs("div",{className:"border-utility-brand-200 bg-utility-brand-50 text-utility-brand-700 flex h-fit w-fit items-center gap-1 rounded-sm border px-2 py-0.5 text-xs font-medium",children:[e.jsx(q.Trophy01Icon,{className:"text-utility-brand-600 size-3.5"}),"Top Payout"]}),e.jsx("div",{className:"font-semibold",children:"No winners yet"}),e.jsx("div",{className:"text-text-secondary-700 text-xs",children:"You could be the first to win the tournament!"})]})]})]})})})}),e.jsxs("div",{className:"z-1 hidden flex-1 space-y-4 lg:block",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(c,{width:24,height:24,src:I,quality:100,alt:"leaderboardIcon",className:"size-full w-6"}),e.jsx("div",{className:"text-text-primary-900 text-lg font-semibold",children:"Starting soon!"})]}),e.jsx(z.TournamentRules,{jackpotRules:`<strong>Rules and guidelines <br> 1/20/2025 ~ 1/21/2025</strong><br><br>\r
|
|
2
|
+
<p>1. The contest prize pool closely depends on the bankroll — the more players bet, the bigger it grows.</p>`})]}),e.jsx("div",{className:s.twMerge("max-h-[272px] overflow-y-scroll",P.default.scrollArea),children:e.jsx("div",{className:"border-gray-200 overflow-hidden rounded-xl",children:e.jsxs("table",{className:"w-full",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-bg-secondary text-text-tertiary-600 h-8 text-xs font-medium",children:[e.jsx("th",{className:"w-[52px]",children:"#"}),e.jsx("th",{children:"Player"}),e.jsx("th",{children:"Multiplier"}),e.jsx("th",{children:"Prize"})]})}),e.jsx("tbody",{children:Array.from({length:10}).map((r,t)=>e.jsxs("tr",{className:"bg-bg-primary text-text-secondary-700 text-sm",children:[e.jsx("td",{className:"border-border-secondary h-12 w-[52px] border-t-2",children:t+1<6?e.jsxs("div",{className:"relative",children:[e.jsx(w.StarIcon,{className:s.twMerge("mx-auto size-6.5",m[t].starColor)}),e.jsx("span",{className:s.twMerge("absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold",m[t].numberColor),children:t+1})]}):"-"}),e.jsx("td",{className:"border-border-secondary h-12 border-t-2",children:"-"}),e.jsx("td",{className:"border-border-secondary h-12 border-t-2",children:"-"}),e.jsx("td",{className:"border-border-secondary h-12 border-t-2",children:"-"})]},t))})]})})})]})]}),e.jsx(S.TournamentGameProviders,{})]})}const m=[{starColor:"text-yellow-400",numberColor:"text-bg-primary"},{starColor:"text-utility-gray-700",numberColor:"text-bg-primary"},{starColor:"text-yellow-700",numberColor:"text-bg-primary"},{starColor:"text-bg-quaternary",numberColor:"text-text-primary-900"},{starColor:"text-bg-quaternary",numberColor:"text-text-primary-900"}];exports.TournamentItem=R;
|