@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,168 +1,413 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import { Progress as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
2
|
+
import { jsx as e, jsxs as r, Fragment as v } from "react/jsx-runtime";
|
|
3
|
+
import { Progress as y } from "@ark-ui/react";
|
|
4
|
+
import p from "next/image";
|
|
5
|
+
import A from "next/link";
|
|
6
|
+
import { useCallback as D, useMemo as J } from "react";
|
|
7
|
+
import { twMerge as a } from "tailwind-merge";
|
|
6
8
|
import "@opexa/portal-sdk-core";
|
|
7
9
|
import "@tanstack/react-query";
|
|
8
10
|
import "tiny-invariant";
|
|
9
11
|
import "../../constants/index.mjs";
|
|
10
12
|
import "../../utils/capitalize.mjs";
|
|
11
|
-
import { formatNumber as
|
|
13
|
+
import { formatNumber as n } from "../../utils/formatNumber.mjs";
|
|
12
14
|
import "../../utils/getLocaleInfo.mjs";
|
|
13
15
|
import "../../utils/getQueryClient.mjs";
|
|
14
16
|
import "../../utils/isMobile.mjs";
|
|
15
17
|
import "../../utils/parseDecimal.mjs";
|
|
16
|
-
import "
|
|
18
|
+
import "../../client/services/getSession.mjs";
|
|
17
19
|
import "lodash-es";
|
|
18
20
|
import "@opexa/portal-sdk-core/object-id";
|
|
19
21
|
import "../../client/hooks/useGlobalStore.mjs";
|
|
20
22
|
import "../../client/hooks/useInfiniteQueryHelper.mjs";
|
|
21
|
-
import { useLocaleInfo as
|
|
23
|
+
import { useLocaleInfo as L } from "../../client/hooks/useLocaleInfo.mjs";
|
|
22
24
|
import "usehooks-ts";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
+
import { useJackpotPayoutsQuery as T } from "../../client/hooks/useJackpotPayoutsQuery.mjs";
|
|
26
|
+
import { ArrowNarrowUpRightIcon as S } from "../../icons/ArrowNarrowUpRightIcon.mjs";
|
|
27
|
+
import { ChevronLeftIcon as x } from "../../icons/ChevronLeftIcon.mjs";
|
|
25
28
|
import { ChevronRightIcon as d } from "../../icons/ChevronRightIcon.mjs";
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
import { StarIcon as w } from "../../icons/StarIcon.mjs";
|
|
30
|
+
import { Trophy01Icon as P } from "../../icons/Trophy01Icon.mjs";
|
|
31
|
+
import q from "../../images/close-chest.png.mjs";
|
|
32
|
+
import M from "../../images/first-place.png.mjs";
|
|
33
|
+
import R from "../../images/leaderboard.png.mjs";
|
|
34
|
+
import O from "../../images/open-chest.png.mjs";
|
|
35
|
+
import s from "./JackpotCounterItem.module.css.mjs";
|
|
36
|
+
function Ne({
|
|
37
|
+
jackpot: t,
|
|
38
|
+
className: o,
|
|
39
|
+
viewAllUrl: u
|
|
32
40
|
}) {
|
|
33
|
-
|
|
34
|
-
|
|
41
|
+
var N;
|
|
42
|
+
const h = ((N = T({
|
|
43
|
+
first: 30,
|
|
44
|
+
filter: {
|
|
45
|
+
jackpot: {
|
|
46
|
+
equal: t.id
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
sort: {
|
|
50
|
+
cursor: "AMOUNT",
|
|
51
|
+
order: "DESC"
|
|
52
|
+
}
|
|
53
|
+
}).data) == null ? void 0 : N.pages[0].edges.map((c) => c.node)) ?? [], b = h[0] ?? [], m = L(), i = t.drawing, z = i ? t.maximumJackpotPoolLimit : t.pool, g = D(
|
|
54
|
+
({ index: c }) => /* @__PURE__ */ e(
|
|
55
|
+
i ? x : d,
|
|
56
|
+
{
|
|
57
|
+
className: a(
|
|
58
|
+
"scale-400 lg:scale-250 text-brand-300 min-w-2.5 lg:min-w-4",
|
|
59
|
+
i ? s["animate-wave-color-error"] : s["animate-wave-color-success"]
|
|
60
|
+
),
|
|
61
|
+
style: {
|
|
62
|
+
animationDelay: i ? `${(40 - c - 1) * 0.1}s` : `${c * 0.1}s`
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
),
|
|
66
|
+
[i]
|
|
67
|
+
), I = J(
|
|
68
|
+
() => Array.from({ length: 40 }, (c, l) => /* @__PURE__ */ e(g, { isFirst: l === 0, index: l }, l)),
|
|
69
|
+
[g]
|
|
70
|
+
);
|
|
71
|
+
return /* @__PURE__ */ r(
|
|
35
72
|
"div",
|
|
36
73
|
{
|
|
37
|
-
className:
|
|
38
|
-
"bg-
|
|
39
|
-
|
|
74
|
+
className: a(
|
|
75
|
+
"bg-bg-tertiary border-border-primary relative flex shrink-0 rounded-2xl border p-3 text-center lg:gap-4 lg:p-5",
|
|
76
|
+
o
|
|
40
77
|
),
|
|
41
78
|
children: [
|
|
42
|
-
/* @__PURE__ */
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
|
|
45
|
-
/* @__PURE__ */
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
height: 100,
|
|
63
|
-
src: s ? x : p,
|
|
64
|
-
alt: "closeChest",
|
|
65
|
-
quality: 100,
|
|
66
|
-
className: "h-25 w-25 size-full"
|
|
67
|
-
}
|
|
68
|
-
) })
|
|
69
|
-
] }),
|
|
70
|
-
/* @__PURE__ */ i("div", { className: "flex justify-between", children: [
|
|
71
|
-
/* @__PURE__ */ e("div", { className: "text-xs font-medium", children: o(0, {
|
|
72
|
-
currency: l.currency.code,
|
|
73
|
-
compact: !0
|
|
74
|
-
}) }),
|
|
75
|
-
/* @__PURE__ */ i("div", { className: "relative flex items-center justify-end gap-1.5", children: [
|
|
76
|
-
s ? /* @__PURE__ */ i("div", { className: "flex w-6 items-center", children: [
|
|
77
|
-
/* @__PURE__ */ e(
|
|
78
|
-
"div",
|
|
79
|
+
/* @__PURE__ */ r("div", { className: "z-1 relative flex flex-1 flex-col", children: [
|
|
80
|
+
/* @__PURE__ */ e("div", { className: "flex h-full flex-col justify-between", children: /* @__PURE__ */ e("div", { className: "flex w-full justify-between", children: /* @__PURE__ */ r("div", { className: "flex w-full flex-col", children: [
|
|
81
|
+
/* @__PURE__ */ r("div", { className: "relative flex w-full justify-between", children: [
|
|
82
|
+
/* @__PURE__ */ r("div", { children: [
|
|
83
|
+
i ? /* @__PURE__ */ r("div", { className: "border-utility-success-200 bg-utility-success-50 text-utility-success-700 flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium", children: [
|
|
84
|
+
/* @__PURE__ */ e("span", { className: "full bg-utility-success-500 size-1.5 animate-pulse rounded" }),
|
|
85
|
+
"Paying Out"
|
|
86
|
+
] }) : /* @__PURE__ */ r("div", { className: "border-utility-blue-200 bg-utility-blue-50 text-utility-blue-700 flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium", children: [
|
|
87
|
+
/* @__PURE__ */ e(S, { className: "text-utility-blue-500 size-3.5" }),
|
|
88
|
+
"Accumulating"
|
|
89
|
+
] }),
|
|
90
|
+
/* @__PURE__ */ e("div", { className: "text-text-primary-900 mt-1 text-left text-lg font-medium lg:mt-5 lg:text-2xl", children: t.name }),
|
|
91
|
+
/* @__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: n(z, {
|
|
92
|
+
currency: m.currency.code,
|
|
93
|
+
minDecimalPlaces: 2,
|
|
94
|
+
maxDecimalPlaces: 2
|
|
95
|
+
}) })
|
|
96
|
+
] }),
|
|
97
|
+
/* @__PURE__ */ e("div", { className: "z-1 bottom-[-60] right-0 lg:absolute", children: /* @__PURE__ */ e(
|
|
98
|
+
p,
|
|
79
99
|
{
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
100
|
+
width: 150,
|
|
101
|
+
height: 150,
|
|
102
|
+
src: i ? O : q,
|
|
103
|
+
alt: "closeChest",
|
|
104
|
+
quality: 100,
|
|
105
|
+
className: "h-25 w-25 lg:h-37.5 lg:w-37.5 size-full p-2"
|
|
85
106
|
}
|
|
86
|
-
)
|
|
107
|
+
) })
|
|
108
|
+
] }),
|
|
109
|
+
b.amount ? /* @__PURE__ */ e("div", { children: /* @__PURE__ */ r("div", { className: "bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex", children: [
|
|
110
|
+
/* @__PURE__ */ e("div", { className: "border-yellow-400 relative h-18 w-18 rounded-full border", children: /* @__PURE__ */ e("div", { className: "bg-yellow-400 text-brand-950 border-bg-primary absolute bottom-0 right-0 flex h-6 w-6 items-center justify-center rounded-full border-[1.5px] text-xs font-bold", children: "1st" }) }),
|
|
111
|
+
/* @__PURE__ */ r("div", { className: "flex flex-col gap-1 text-left", children: [
|
|
112
|
+
/* @__PURE__ */ r("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: [
|
|
113
|
+
/* @__PURE__ */ e(P, { className: "text-utility-brand-600 size-3.5" }),
|
|
114
|
+
"Top Payout"
|
|
115
|
+
] }),
|
|
116
|
+
/* @__PURE__ */ e("div", { className: "font-semibold", children: C(b.member.name) }),
|
|
117
|
+
/* @__PURE__ */ e("div", { className: "text-brand-400 text-2xl", children: n(b.amount, {
|
|
118
|
+
currency: m.currency.code,
|
|
119
|
+
minDecimalPlaces: 2,
|
|
120
|
+
maxDecimalPlaces: 2
|
|
121
|
+
}) })
|
|
122
|
+
] })
|
|
123
|
+
] }) }) : /* @__PURE__ */ r("div", { className: "bg-bg-primary relative mt-4 hidden w-full gap-4 rounded-lg p-4 lg:flex", children: [
|
|
87
124
|
/* @__PURE__ */ e(
|
|
88
|
-
|
|
125
|
+
p,
|
|
89
126
|
{
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
127
|
+
width: 66,
|
|
128
|
+
height: 87,
|
|
129
|
+
src: M,
|
|
130
|
+
alt: "closeChest",
|
|
131
|
+
className: "size-full h-auto w-[66px] mix-blend-luminosity"
|
|
95
132
|
}
|
|
96
133
|
),
|
|
97
|
-
/* @__PURE__ */
|
|
98
|
-
"div",
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
134
|
+
/* @__PURE__ */ r("div", { className: "flex flex-col gap-1 text-left", children: [
|
|
135
|
+
/* @__PURE__ */ r("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: [
|
|
136
|
+
/* @__PURE__ */ e(P, { className: "text-utility-brand-600 size-3.5" }),
|
|
137
|
+
"Top Payout"
|
|
138
|
+
] }),
|
|
139
|
+
/* @__PURE__ */ e("div", { className: "font-semibold", children: "No winners yet" }),
|
|
140
|
+
/* @__PURE__ */ e("div", { className: "text-text-secondary-700 text-xs", children: "You could be the first to win the tournament!" })
|
|
141
|
+
] })
|
|
142
|
+
] })
|
|
143
|
+
] }) }) }),
|
|
144
|
+
/* @__PURE__ */ r("div", { className: "mt-3 lg:mt-4", children: [
|
|
145
|
+
/* @__PURE__ */ r("div", { className: "mb-1 flex justify-between", children: [
|
|
146
|
+
/* @__PURE__ */ e("div", { className: "text-text-primary-900 text-xs font-semibold", children: n(0, {
|
|
147
|
+
currency: m.currency.code,
|
|
148
|
+
compact: !0
|
|
149
|
+
}) }),
|
|
150
|
+
/* @__PURE__ */ r("div", { className: "relative flex items-center justify-end gap-1.5", children: [
|
|
151
|
+
i ? /* @__PURE__ */ r("div", { className: "flex w-6 items-center", children: [
|
|
152
|
+
/* @__PURE__ */ e(
|
|
153
|
+
"div",
|
|
154
|
+
{
|
|
155
|
+
className: a(
|
|
156
|
+
"absolute left-0",
|
|
157
|
+
s["animate-arrow-red-flash-1"]
|
|
158
|
+
),
|
|
159
|
+
children: /* @__PURE__ */ e(x, { className: "size-4.5" })
|
|
160
|
+
}
|
|
103
161
|
),
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
a["animate-arrow-green-flash-1"]
|
|
162
|
+
/* @__PURE__ */ e(
|
|
163
|
+
"div",
|
|
164
|
+
{
|
|
165
|
+
className: a(
|
|
166
|
+
"absolute left-1.5",
|
|
167
|
+
s["animate-arrow-red-flash-2"]
|
|
168
|
+
),
|
|
169
|
+
children: /* @__PURE__ */ e(x, { className: "size-4.5" })
|
|
170
|
+
}
|
|
114
171
|
),
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
172
|
+
/* @__PURE__ */ e(
|
|
173
|
+
"div",
|
|
174
|
+
{
|
|
175
|
+
className: a(
|
|
176
|
+
"absolute left-3",
|
|
177
|
+
s["animate-arrow-red-flash-3"]
|
|
178
|
+
),
|
|
179
|
+
children: /* @__PURE__ */ e(x, { className: "size-4.5" })
|
|
180
|
+
}
|
|
181
|
+
)
|
|
182
|
+
] }) : /* @__PURE__ */ r("div", { className: "flex w-6 items-center", children: [
|
|
183
|
+
/* @__PURE__ */ e(
|
|
184
|
+
"div",
|
|
185
|
+
{
|
|
186
|
+
className: a(
|
|
187
|
+
"absolute left-0",
|
|
188
|
+
s["animate-arrow-green-flash-1"]
|
|
189
|
+
),
|
|
190
|
+
children: /* @__PURE__ */ e(d, { className: "size-4.5" })
|
|
191
|
+
}
|
|
124
192
|
),
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
193
|
+
/* @__PURE__ */ e(
|
|
194
|
+
"div",
|
|
195
|
+
{
|
|
196
|
+
className: a(
|
|
197
|
+
"absolute left-1.5",
|
|
198
|
+
s["animate-arrow-green-flash-2"]
|
|
199
|
+
),
|
|
200
|
+
children: /* @__PURE__ */ e(d, { className: "size-4.5" })
|
|
201
|
+
}
|
|
202
|
+
),
|
|
203
|
+
/* @__PURE__ */ e(
|
|
204
|
+
"div",
|
|
205
|
+
{
|
|
206
|
+
className: a(
|
|
207
|
+
"absolute left-3",
|
|
208
|
+
s["animate-arrow-green-flash-3"]
|
|
209
|
+
),
|
|
210
|
+
children: /* @__PURE__ */ e(d, { className: "size-4.5" })
|
|
211
|
+
}
|
|
212
|
+
)
|
|
213
|
+
] }),
|
|
214
|
+
/* @__PURE__ */ e("div", { className: "text-text-primary-900 text-xs font-semibold", children: n(t == null ? void 0 : t.maximumJackpotPoolLimit, {
|
|
215
|
+
currency: m.currency.code,
|
|
216
|
+
compact: !0
|
|
217
|
+
}) })
|
|
218
|
+
] })
|
|
219
|
+
] }),
|
|
220
|
+
/* @__PURE__ */ e(
|
|
221
|
+
y.Root,
|
|
222
|
+
{
|
|
223
|
+
className: "bg-bg-primary h-2 w-full rounded-full lg:h-4",
|
|
224
|
+
max: 100,
|
|
225
|
+
value: Q(
|
|
226
|
+
Number(t.pool),
|
|
227
|
+
Number(t.maximumJackpotPoolLimit)
|
|
228
|
+
),
|
|
229
|
+
children: /* @__PURE__ */ e(y.Track, { className: "bg-bg-primary h-full overflow-hidden rounded-full", children: /* @__PURE__ */ e(y.Range, { className: "bg-brand-500 relative h-full overflow-hidden rounded-full pl-1.5", children: /* @__PURE__ */ e(
|
|
230
|
+
"div",
|
|
231
|
+
{
|
|
232
|
+
className: "pointer-events-none absolute inset-0 flex items-center justify-start pl-1.5",
|
|
233
|
+
"aria-hidden": "true",
|
|
234
|
+
children: I
|
|
235
|
+
}
|
|
236
|
+
) }) })
|
|
237
|
+
}
|
|
238
|
+
),
|
|
239
|
+
/* @__PURE__ */ e("div", { className: "mt-1 block text-start text-2xs lg:hidden", children: i ? `The pot has hit ${n(
|
|
240
|
+
t == null ? void 0 : t.maximumJackpotPoolLimit,
|
|
241
|
+
{
|
|
242
|
+
currency: m.currency.code,
|
|
243
|
+
compact: !0
|
|
244
|
+
}
|
|
245
|
+
)} Play now for your chance to win big! π₯` : $(
|
|
246
|
+
Number(t == null ? void 0 : t.pool) ?? 0,
|
|
247
|
+
Number(t == null ? void 0 : t.maximumJackpotPoolLimit) ?? 0
|
|
248
|
+
) })
|
|
249
|
+
] })
|
|
250
|
+
] }),
|
|
251
|
+
/* @__PURE__ */ r("div", { className: "z-1 hidden flex-1 space-y-4 lg:block", children: [
|
|
252
|
+
/* @__PURE__ */ r("div", { className: "flex items-center justify-between", children: [
|
|
253
|
+
/* @__PURE__ */ r("div", { className: "flex gap-2", children: [
|
|
128
254
|
/* @__PURE__ */ e(
|
|
129
|
-
|
|
255
|
+
p,
|
|
130
256
|
{
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
257
|
+
width: 24,
|
|
258
|
+
height: 24,
|
|
259
|
+
src: R,
|
|
260
|
+
quality: 100,
|
|
261
|
+
alt: "leaderboardIcon",
|
|
262
|
+
className: "size-full h-auto w-6"
|
|
136
263
|
}
|
|
137
|
-
)
|
|
264
|
+
),
|
|
265
|
+
/* @__PURE__ */ e("div", { className: "text-text-primary-900 text-lg font-semibold", children: h.length ? "Leaderboard" : "Starting soon!" })
|
|
138
266
|
] }),
|
|
139
|
-
/* @__PURE__ */
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
267
|
+
/* @__PURE__ */ r(
|
|
268
|
+
A,
|
|
269
|
+
{
|
|
270
|
+
className: "text-button-tertiary-fg flex text-sm font-semibold",
|
|
271
|
+
href: u ?? "/jackpots",
|
|
272
|
+
children: [
|
|
273
|
+
"See details",
|
|
274
|
+
/* @__PURE__ */ e(d, { className: "size-5" })
|
|
275
|
+
]
|
|
276
|
+
}
|
|
277
|
+
)
|
|
278
|
+
] }),
|
|
279
|
+
/* @__PURE__ */ e(
|
|
280
|
+
"div",
|
|
281
|
+
{
|
|
282
|
+
className: a(
|
|
283
|
+
"max-h-[272px] overflow-y-scroll",
|
|
284
|
+
s.scrollArea
|
|
285
|
+
),
|
|
286
|
+
children: /* @__PURE__ */ e("div", { className: "border-gray-200 overflow-hidden rounded-xl", children: /* @__PURE__ */ r("table", { className: "w-full", children: [
|
|
287
|
+
/* @__PURE__ */ e("thead", { children: /* @__PURE__ */ r("tr", { className: "bg-bg-secondary text-text-tertiary-600 h-8 text-xs font-medium", children: [
|
|
288
|
+
/* @__PURE__ */ e("th", { className: "w-[52px]", children: "#" }),
|
|
289
|
+
/* @__PURE__ */ e("th", { children: "Player" }),
|
|
290
|
+
/* @__PURE__ */ e("th", { children: "Multiplier" }),
|
|
291
|
+
/* @__PURE__ */ e("th", { children: "Prize" })
|
|
292
|
+
] }) }),
|
|
293
|
+
/* @__PURE__ */ e("tbody", { children: h.length ? /* @__PURE__ */ e(v, { children: h.map((c, l) => /* @__PURE__ */ r(
|
|
294
|
+
"tr",
|
|
295
|
+
{
|
|
296
|
+
className: "bg-bg-primary text-text-secondary-700 text-sm",
|
|
297
|
+
children: [
|
|
298
|
+
/* @__PURE__ */ e("td", { className: "border-border-secondary h-12 w-[52px] border-t-2", children: l + 1 < 6 ? /* @__PURE__ */ r("div", { className: "relative", children: [
|
|
299
|
+
/* @__PURE__ */ e(
|
|
300
|
+
w,
|
|
301
|
+
{
|
|
302
|
+
className: a(
|
|
303
|
+
"mx-auto size-6.5",
|
|
304
|
+
f[l].starColor
|
|
305
|
+
)
|
|
306
|
+
}
|
|
307
|
+
),
|
|
308
|
+
/* @__PURE__ */ e(
|
|
309
|
+
"span",
|
|
310
|
+
{
|
|
311
|
+
className: a(
|
|
312
|
+
"absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold",
|
|
313
|
+
f[l].numberColor
|
|
314
|
+
),
|
|
315
|
+
children: l + 1
|
|
316
|
+
}
|
|
317
|
+
)
|
|
318
|
+
] }) : l + 1 }),
|
|
319
|
+
/* @__PURE__ */ e("td", { className: "border-border-secondary h-12 border-t-2", children: C(c.member.name) }),
|
|
320
|
+
/* @__PURE__ */ r("td", { className: "border-border-secondary h-12 border-t-2", children: [
|
|
321
|
+
c.multiplier,
|
|
322
|
+
"x"
|
|
323
|
+
] }),
|
|
324
|
+
/* @__PURE__ */ e("td", { className: "border-border-secondary text-brand-400 h-12 border-t-2", children: n(b.amount, {
|
|
325
|
+
currency: m.currency.code,
|
|
326
|
+
minDecimalPlaces: 2,
|
|
327
|
+
maxDecimalPlaces: 2
|
|
328
|
+
}) })
|
|
329
|
+
]
|
|
330
|
+
},
|
|
331
|
+
l
|
|
332
|
+
)) }) : /* @__PURE__ */ e(v, { children: Array.from({ length: 10 }).map((c, l) => /* @__PURE__ */ r(
|
|
333
|
+
"tr",
|
|
334
|
+
{
|
|
335
|
+
className: "bg-bg-primary text-text-secondary-700 text-sm",
|
|
336
|
+
children: [
|
|
337
|
+
/* @__PURE__ */ e("td", { className: "border-border-secondary h-12 w-[52px] border-t-2", children: l + 1 < 6 ? /* @__PURE__ */ r("div", { className: "relative", children: [
|
|
338
|
+
/* @__PURE__ */ e(
|
|
339
|
+
w,
|
|
340
|
+
{
|
|
341
|
+
className: a(
|
|
342
|
+
"mx-auto size-6.5",
|
|
343
|
+
f[l].starColor
|
|
344
|
+
)
|
|
345
|
+
}
|
|
346
|
+
),
|
|
347
|
+
/* @__PURE__ */ e(
|
|
348
|
+
"span",
|
|
349
|
+
{
|
|
350
|
+
className: a(
|
|
351
|
+
"absolute inset-0 mt-0.5 flex items-center justify-center text-2xs font-bold",
|
|
352
|
+
f[l].numberColor
|
|
353
|
+
),
|
|
354
|
+
children: l + 1
|
|
355
|
+
}
|
|
356
|
+
)
|
|
357
|
+
] }) : l + 1 }),
|
|
358
|
+
/* @__PURE__ */ e("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }),
|
|
359
|
+
/* @__PURE__ */ e("td", { className: "border-border-secondary h-12 border-t-2", children: "-" }),
|
|
360
|
+
/* @__PURE__ */ e("td", { className: "border-border-secondary h-12 border-t-2", children: "-" })
|
|
361
|
+
]
|
|
362
|
+
},
|
|
363
|
+
l
|
|
364
|
+
)) }) })
|
|
365
|
+
] }) })
|
|
366
|
+
}
|
|
367
|
+
)
|
|
144
368
|
] }),
|
|
145
|
-
/* @__PURE__ */ e(
|
|
146
|
-
|
|
369
|
+
i && /* @__PURE__ */ e(
|
|
370
|
+
"div",
|
|
147
371
|
{
|
|
148
|
-
className:
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
372
|
+
className: a(
|
|
373
|
+
s["light-rays"],
|
|
374
|
+
"absolute right-0 top-0 rounded-2xl [--light-rays-top:25%] lg:[--light-rays-top:150px]"
|
|
375
|
+
)
|
|
152
376
|
}
|
|
153
|
-
)
|
|
154
|
-
/* @__PURE__ */ e("div", { className: "mt-1 text-start text-[10px]", children: s ? `The pot has hit ${o(r == null ? void 0 : r.maximumJackpotPoolLimit, {
|
|
155
|
-
currency: l.currency.code,
|
|
156
|
-
compact: !0
|
|
157
|
-
})} Play now for your chance to win big! π₯` : y(
|
|
158
|
-
Number(r == null ? void 0 : r.pool) ?? 0,
|
|
159
|
-
Number(r == null ? void 0 : r.maximumJackpotPoolLimit) ?? 0
|
|
160
|
-
) })
|
|
377
|
+
)
|
|
161
378
|
]
|
|
162
379
|
}
|
|
163
380
|
);
|
|
164
381
|
}
|
|
165
|
-
|
|
382
|
+
function C(t) {
|
|
383
|
+
if (t.length <= 7)
|
|
384
|
+
return "*".repeat(t.length);
|
|
385
|
+
const o = t.slice(0, 3), u = "*".repeat(7);
|
|
386
|
+
return o + u;
|
|
387
|
+
}
|
|
388
|
+
const Q = (t, o) => o === 0 ? 0 : t / o * 100, $ = (t, o) => (o === 0 ? 0 : t / o * 100) <= 90 ? "The jackpot is heating up! Keep playing to stay in the action and watch it grow!" : "π₯ Itβs about to pop! Stay in the game for your shot at the prize!", f = [
|
|
389
|
+
{
|
|
390
|
+
starColor: "text-yellow-400",
|
|
391
|
+
numberColor: "text-bg-primary"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
starColor: "text-utility-gray-700",
|
|
395
|
+
numberColor: "text-bg-primary"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
starColor: "text-yellow-700",
|
|
399
|
+
numberColor: "text-bg-primary"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
starColor: "text-bg-quaternary",
|
|
403
|
+
numberColor: "text-text-primary-900"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
starColor: "text-bg-quaternary",
|
|
407
|
+
numberColor: "text-text-primary-900"
|
|
408
|
+
}
|
|
409
|
+
];
|
|
166
410
|
export {
|
|
167
|
-
|
|
411
|
+
Ne as JackpotCounterItem,
|
|
412
|
+
C as maskName
|
|
168
413
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const a={"animate-arrow-green-flash-1":"_animate-arrow-green-flash-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a="_scrollArea_oua78_289",r={"animate-arrow-green-flash-1":"_animate-arrow-green-flash-1_oua78_19","animate-arrow-green-flash-2":"_animate-arrow-green-flash-2_oua78_29","animate-arrow-green-flash-3":"_animate-arrow-green-flash-3_oua78_39","animate-arrow-red-flash-1":"_animate-arrow-red-flash-1_oua78_67","animate-arrow-red-flash-2":"_animate-arrow-red-flash-2_oua78_75","animate-arrow-red-flash-3":"_animate-arrow-red-flash-3_oua78_85","light-rays":"_light-rays_oua78_109",scrollArea:a,"animate-wave-color-success":"_animate-wave-color-success_oua78_351","animate-wave-color-error":"_animate-wave-color-error_oua78_361"};exports.default=r;exports.scrollArea=a;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
|
-
const a = {
|
|
2
|
-
"animate-arrow-green-flash-1": "_animate-arrow-green-flash-
|
|
3
|
-
"animate-arrow-green-flash-2": "_animate-arrow-green-flash-
|
|
4
|
-
"animate-arrow-green-flash-3": "_animate-arrow-green-flash-
|
|
5
|
-
"animate-arrow-red-flash-1": "_animate-arrow-red-flash-
|
|
6
|
-
"animate-arrow-red-flash-2": "_animate-arrow-red-flash-
|
|
7
|
-
"animate-arrow-red-flash-3": "_animate-arrow-red-flash-
|
|
1
|
+
const a = "_scrollArea_oua78_289", r = {
|
|
2
|
+
"animate-arrow-green-flash-1": "_animate-arrow-green-flash-1_oua78_19",
|
|
3
|
+
"animate-arrow-green-flash-2": "_animate-arrow-green-flash-2_oua78_29",
|
|
4
|
+
"animate-arrow-green-flash-3": "_animate-arrow-green-flash-3_oua78_39",
|
|
5
|
+
"animate-arrow-red-flash-1": "_animate-arrow-red-flash-1_oua78_67",
|
|
6
|
+
"animate-arrow-red-flash-2": "_animate-arrow-red-flash-2_oua78_75",
|
|
7
|
+
"animate-arrow-red-flash-3": "_animate-arrow-red-flash-3_oua78_85",
|
|
8
|
+
"light-rays": "_light-rays_oua78_109",
|
|
9
|
+
scrollArea: a,
|
|
10
|
+
"animate-wave-color-success": "_animate-wave-color-success_oua78_351",
|
|
11
|
+
"animate-wave-color-error": "_animate-wave-color-error_oua78_361"
|
|
8
12
|
};
|
|
9
13
|
export {
|
|
10
|
-
|
|
14
|
+
r as default,
|
|
15
|
+
a as scrollArea
|
|
11
16
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function JackpotGameProviders(): 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"),m=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[c,e]=m({align:"start",slidesToScroll:1}),t=s.useCallback(()=>{e&&e.scrollPrev()},[e]),n=s.useCallback(()=>{e&&e.scrollNext()},[e]),[o,u]=s.useState(!1),[d,q]=s.useState(!1),i=s.useCallback(()=>{e&&(u(e.canScrollPrev()),q(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:"Jackpot 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:n,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:c,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.JackpotGameProviders=g;
|