@opexa/portal-components 0.0.18 → 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 +6 -3
- 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 +30 -20
- package/dist/client/hooks/useGlobalStore.js +1 -1
- package/dist/client/hooks/useGlobalStore.mjs +39 -6
- 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 +1 -5
- package/dist/client/hooks/useMarkMessageAsReadMutation.js +1 -1
- package/dist/client/hooks/useMarkMessageAsReadMutation.mjs +18 -18
- 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/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 +90 -84
- package/dist/components/Account/Account.d.ts +17 -10
- package/dist/components/Account/Account.js +1 -1
- package/dist/components/Account/Account.mjs +204 -148
- 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/BetRecords/BetRecords.js +1 -1
- package/dist/components/BetRecords/BetRecords.mjs +174 -150
- package/dist/components/Bonus/Bonus.client.js +1 -0
- package/dist/components/Bonus/Bonus.client.mjs +143 -0
- package/dist/components/Bonus/Bonus.js +1 -0
- package/dist/components/Bonus/Bonus.mjs +8 -0
- package/dist/components/Bonuses/Bonuses.js +1 -1
- package/dist/components/Bonuses/Bonuses.mjs +6 -5
- package/dist/components/DepositWithdrawal/AmountChoices.js +1 -1
- package/dist/components/DepositWithdrawal/AmountChoices.mjs +4 -2
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/AvailablePromos.mjs +25 -23
- 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 +15 -13
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaAppDeposit/MayaAppDeposit.mjs +4 -2
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/MayaDeposit/MayaDeposit.mjs +4 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositForm.mjs +4 -2
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/OnlineBankDeposit/OnlineBankDepositVCA.mjs +3 -2
- 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 +36 -34
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositQrCode.mjs +3 -2
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.js +1 -1
- package/dist/components/DepositWithdrawal/Deposit/QRPHDeposit/QRPHDepositSuccess.mjs +7 -6
- 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 +12 -10
- package/dist/components/DepositWithdrawal/PaymentMethods.js +1 -1
- package/dist/components/DepositWithdrawal/PaymentMethods.mjs +4 -2
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/GCashWithdrawal/GCashWithdrawal.mjs +9 -7
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/InstapayWithdrawal/InstapayWithdrawal.mjs +4 -2
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaAppWithdrawal/MayaAppWithdrawal.mjs +4 -2
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.js +1 -1
- package/dist/components/DepositWithdrawal/Withdrawal/MayaWithdrawal/MayaWithdrawal.mjs +9 -7
- 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 +7 -6
- 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 +147 -123
- 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 +91 -66
- 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 +1 -1
- package/dist/components/JackpotCounter/JackpotCounter.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounter.mjs +10 -114
- package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +1 -0
- package/dist/components/JackpotCounter/JackpotCounterItem.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.mjs +206 -119
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css.js +1 -1
- package/dist/components/JackpotCounter/JackpotCounterItem.module.css.mjs +11 -9
- package/dist/components/Jackpots/JackpotGameProviders.js +1 -0
- package/dist/components/Jackpots/JackpotGameProviders.mjs +105 -0
- package/dist/components/Jackpots/JackpotItem.d.ts +2 -2
- package/dist/components/Jackpots/JackpotItem.js +1 -0
- package/dist/components/Jackpots/JackpotItem.mjs +408 -0
- package/dist/components/Jackpots/JackpotItemMobile.d.ts +2 -2
- 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 +2 -2
- package/dist/components/Jackpots/Jackpots.js +1 -0
- package/dist/components/Jackpots/Jackpots.mjs +61 -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/Messages/MessageItem.js +1 -1
- package/dist/components/Messages/MessageItem.mjs +37 -28
- package/dist/components/Messages/MessagePopup.js +1 -1
- package/dist/components/Messages/MessagePopup.mjs +35 -29
- package/dist/components/Messages/Messages.js +1 -1
- package/dist/components/Messages/Messages.mjs +80 -61
- 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 +5 -3
- package/dist/components/Promos/PromoGrid.js +1 -1
- package/dist/components/Promos/PromoGrid.mjs +7 -6
- package/dist/components/Promos/PromoItem.js +1 -1
- package/dist/components/Promos/PromoItem.mjs +3 -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.js +1 -1
- package/dist/components/SignIn/SignIn.mjs +4 -2
- package/dist/components/SignIn/SignInForm.js +1 -1
- package/dist/components/SignIn/SignInForm.mjs +4 -2
- package/dist/components/SignUp/SignUp.js +1 -1
- package/dist/components/SignUp/SignUp.mjs +4 -2
- package/dist/components/SignUp/SignUpForm.js +1 -1
- package/dist/components/SignUp/SignUpForm.mjs +4 -2
- package/dist/components/TopWins/TopWins.client.js +1 -1
- package/dist/components/TopWins/TopWins.client.mjs +3 -2
- 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 +1 -1
- package/dist/components/TournamentCounter/TournamentCounter.js +1 -1
- package/dist/components/TournamentCounter/TournamentCounter.mjs +17 -111
- 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 +47 -38
- package/dist/components/TransactionRecords/TableFilters.js +1 -1
- package/dist/components/TransactionRecords/TableFilters.mjs +236 -194
- package/dist/components/TransactionRecords/TransactionRecords.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecords.mjs +3 -2
- package/dist/components/TransactionRecords/TransactionRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/TransactionRecordsTable.mjs +62 -53
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.js +1 -1
- package/dist/components/TransactionRecords/WithdrawalRecordsTable.mjs +61 -52
- package/dist/components/index.d.ts +8 -0
- package/dist/components.js +1 -1
- package/dist/components.mjs +56 -36
- package/dist/icons/ArrowNarrowDownIcon.js +1 -0
- package/dist/icons/ArrowNarrowDownIcon.mjs +22 -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/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/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.js +1 -1
- package/dist/icons/StarIcon.mjs +1 -2
- 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 +16 -0
- package/dist/icons.js +1 -1
- package/dist/icons.mjs +80 -48
- package/dist/images/fantasma-games.png.js +1 -0
- package/dist/images/fantasma-games.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/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.js +1 -1
- package/dist/server-utils.mjs +38 -36
- package/dist/theme.css +9 -2
- 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 +1 -1
- package/dist/ui/Checkbox/checkbox.recipe.js +1 -1
- package/dist/ui/Checkbox/checkbox.recipe.mjs +6 -6
- 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/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 +3 -3
- 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 +1 -1
- package/dist/ui/IconButton/iconButton.recipe.d.ts +1 -0
- package/dist/ui/IconButton/iconButton.recipe.js +1 -1
- package/dist/ui/IconButton/iconButton.recipe.mjs +3 -2
- package/dist/ui/Popover/Popover.d.ts +55 -55
- package/dist/ui/Popover/popover.recipe.d.ts +5 -5
- package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
- package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +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 +2 -1
- package/dist/utils/queryKeys.d.ts +7 -3
- package/dist/utils/queryKeys.js +1 -1
- package/dist/utils/queryKeys.mjs +53 -43
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +43 -39
- package/package.json +16 -11
- 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 -20
- package/dist/components/Empty/index.d.ts +0 -1
- package/dist/components/PortalProvider/Providers.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,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { jsxs as t, Fragment as
|
|
3
|
-
import { Presence as
|
|
4
|
-
import b from "next/image";
|
|
2
|
+
import { jsxs as t, Fragment as b, jsx as e } from "react/jsx-runtime";
|
|
3
|
+
import { Presence as A, Dialog as c, Portal as h } from "@ark-ui/react";
|
|
5
4
|
import { useRef as O } from "react";
|
|
6
|
-
import {
|
|
5
|
+
import { twMerge as f } from "tailwind-merge";
|
|
6
|
+
import { useShallow as w } from "zustand/shallow";
|
|
7
7
|
import "@opexa/portal-sdk-core";
|
|
8
8
|
import "@tanstack/react-query";
|
|
9
9
|
import "tiny-invariant";
|
|
@@ -13,122 +13,153 @@ import "../../utils/parseDecimal.mjs";
|
|
|
13
13
|
import "../../utils/getLocaleInfo.mjs";
|
|
14
14
|
import "../../utils/getQueryClient.mjs";
|
|
15
15
|
import "../../utils/isMobile.mjs";
|
|
16
|
+
import "../../client/services/getSession.mjs";
|
|
16
17
|
import "lodash-es";
|
|
17
18
|
import "@opexa/portal-sdk-core/object-id";
|
|
18
19
|
import { useDisclosure as g } from "../../client/hooks/useDisclosure.mjs";
|
|
19
|
-
import { useEndGameSessionMutation as
|
|
20
|
-
import {
|
|
20
|
+
import { useEndGameSessionMutation as C } from "../../client/hooks/useEndGameSessionMutation.mjs";
|
|
21
|
+
import { useFavoriteGamesQuery as k } from "../../client/hooks/useFavoriteGamesQuery.mjs";
|
|
22
|
+
import { useGlobalStore as M } from "../../client/hooks/useGlobalStore.mjs";
|
|
21
23
|
import "../../client/hooks/useInfiniteQueryHelper.mjs";
|
|
24
|
+
import { useMarkGameAsFavoriteMutation as D } from "../../client/hooks/useMarkGameAsFavoriteMutation.mjs";
|
|
22
25
|
import "usehooks-ts";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
26
|
+
import { useUnmarkGameAsFavoriteMutation as S } from "../../client/hooks/useUnmarkGameAsFavoriteMutation.mjs";
|
|
27
|
+
import { AlertCircleIcon as F } from "../../icons/AlertCircleIcon.mjs";
|
|
28
|
+
import { ChevronLeftIcon as P } from "../../icons/ChevronLeftIcon.mjs";
|
|
29
|
+
import { CoinsHandIcon as W } from "../../icons/CoinsHandIcon.mjs";
|
|
30
|
+
import { Expand03Icon as L } from "../../icons/Expand03Icon.mjs";
|
|
31
|
+
import { SpinnerIcon as N } from "../../icons/SpinnerIcon.mjs";
|
|
32
|
+
import { Star01Icon as z } from "../../icons/Star01Icon.mjs";
|
|
28
33
|
import { XIcon as I } from "../../icons/XIcon.mjs";
|
|
29
|
-
import { Root as
|
|
34
|
+
import { Root as E, Backdrop as Q, Positioner as T, Content as j, Header as Y, CloseTrigger as B, Body as R, Title as U, Description as H, Context as q, Footer as V } from "../../ui/AlertDialog/AlertDialog.mjs";
|
|
30
35
|
import "../../ui/Avatar/Avatar.mjs";
|
|
31
36
|
import "../../ui/Badge/Badge.mjs";
|
|
32
|
-
import { Button as
|
|
37
|
+
import { Button as x } from "../../ui/Button/Button.mjs";
|
|
33
38
|
import "../../ui/Checkbox/Checkbox.mjs";
|
|
34
39
|
import "../../ui/Clipboard/Clipboard.mjs";
|
|
35
40
|
import "../../ui/Collapsible/Collapsible.mjs";
|
|
41
|
+
import "../../ui/Combobox/Combobox.mjs";
|
|
36
42
|
import "../../ui/DatePicker/DatePicker.mjs";
|
|
37
43
|
import "../../ui/Dialog/Dialog.mjs";
|
|
38
44
|
import "../../ui/Drawer/Drawer.mjs";
|
|
39
45
|
import "../../ui/Field/Field.mjs";
|
|
40
|
-
import { IconButton as
|
|
46
|
+
import { IconButton as s } from "../../ui/IconButton/IconButton.mjs";
|
|
41
47
|
import "../../ui/NumberInput/NumberInput.mjs";
|
|
42
48
|
import "../../ui/PasswordInput/PasswordInput.mjs";
|
|
43
49
|
import "../../ui/PinInput/PinInput.mjs";
|
|
44
50
|
import "../../ui/Popover/Popover.mjs";
|
|
45
|
-
import "tailwind-merge";
|
|
46
51
|
import "../../ui/Progress/Progress.mjs";
|
|
47
52
|
import "../../ui/SegmentGroup/SegmentGroup.mjs";
|
|
48
53
|
import "../../ui/Select/Select.mjs";
|
|
49
54
|
import "../../ui/Table/Table.mjs";
|
|
50
55
|
import "../../ui/Tabs/Tabs.mjs";
|
|
51
|
-
function
|
|
52
|
-
var
|
|
53
|
-
const
|
|
56
|
+
function Je() {
|
|
57
|
+
var d;
|
|
58
|
+
const u = O(null), r = g({
|
|
54
59
|
defaultOpen: !0,
|
|
55
|
-
onOpenChange(
|
|
56
|
-
|
|
57
|
-
var
|
|
58
|
-
(
|
|
60
|
+
onOpenChange(i) {
|
|
61
|
+
i || setTimeout(() => {
|
|
62
|
+
var p;
|
|
63
|
+
(p = u.current) == null || p.scrollIntoView({
|
|
59
64
|
behavior: "smooth",
|
|
60
65
|
block: "start",
|
|
61
66
|
inline: "start"
|
|
62
67
|
});
|
|
63
68
|
}, 25);
|
|
64
69
|
}
|
|
65
|
-
}),
|
|
66
|
-
|
|
67
|
-
gameLaunch:
|
|
68
|
-
depositWithdrawal:
|
|
70
|
+
}), n = g(), l = C(), a = M(
|
|
71
|
+
w((i) => ({
|
|
72
|
+
gameLaunch: i.gameLaunch,
|
|
73
|
+
depositWithdrawal: i.depositWithdrawal
|
|
69
74
|
}))
|
|
70
75
|
);
|
|
71
|
-
async function
|
|
72
|
-
|
|
73
|
-
game:
|
|
74
|
-
session:
|
|
75
|
-
}),
|
|
76
|
+
async function m() {
|
|
77
|
+
a.gameLaunch.details.status === "PLAYING" && await l.mutateAsync({
|
|
78
|
+
game: a.gameLaunch.details.game,
|
|
79
|
+
session: a.gameLaunch.details.session
|
|
80
|
+
}), r.setOpen(!0), a.gameLaunch.setDetails({
|
|
76
81
|
status: "WAITING",
|
|
77
82
|
session: null,
|
|
78
83
|
game: null
|
|
79
84
|
});
|
|
80
85
|
}
|
|
81
|
-
|
|
86
|
+
const y = k().data ?? [], G = D(), v = S(), o = y.some((i) => a.gameLaunch.details.game ? "reference" in a.gameLaunch.details.game ? i.id === a.gameLaunch.details.game.reference : i.id === a.gameLaunch.details.game.id : !1);
|
|
87
|
+
return /* @__PURE__ */ t(b, { children: [
|
|
82
88
|
/* @__PURE__ */ t(
|
|
83
|
-
|
|
89
|
+
A,
|
|
84
90
|
{
|
|
85
|
-
ref:
|
|
86
|
-
present:
|
|
91
|
+
ref: u,
|
|
92
|
+
present: a.gameLaunch.details.status !== "WAITING" && !r.open,
|
|
87
93
|
lazyMount: !0,
|
|
88
|
-
unmountOnExit:
|
|
94
|
+
unmountOnExit: a.gameLaunch.details.status === "WAITING",
|
|
89
95
|
className: "border-border-primary bg-bg-primary-alt w-full overflow-hidden rounded-lg border ui-open:animate-fade-in ui-closed:animate-fade-out",
|
|
90
96
|
children: [
|
|
91
97
|
/* @__PURE__ */ t("section", { className: "aspect-[960/540] w-full", children: [
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
98
|
+
a.gameLaunch.details.status === "LOADING" && /* @__PURE__ */ e("div", { className: "flex size-full items-center justify-center", children: /* @__PURE__ */ e(N, { className: "size-8" }) }),
|
|
99
|
+
a.gameLaunch.details.status === "FAILED" && /* @__PURE__ */ e("div", {}),
|
|
100
|
+
a.gameLaunch.details.status === "PLAYING" && /* @__PURE__ */ e(
|
|
95
101
|
"iframe",
|
|
96
102
|
{
|
|
97
|
-
src: ((
|
|
103
|
+
src: ((d = a.gameLaunch.details.session) == null ? void 0 : d.launchUrl) ?? "",
|
|
98
104
|
className: "size-full"
|
|
99
105
|
}
|
|
100
106
|
)
|
|
101
107
|
] }),
|
|
102
|
-
/* @__PURE__ */ t("section", { className: "border-border-primary flex justify-end gap-
|
|
108
|
+
/* @__PURE__ */ t("section", { className: "border-border-primary flex justify-end gap-2 border-t p-2", children: [
|
|
103
109
|
/* @__PURE__ */ e(
|
|
104
|
-
|
|
110
|
+
s,
|
|
105
111
|
{
|
|
106
|
-
size: "
|
|
112
|
+
size: "xs",
|
|
107
113
|
variant: "outline",
|
|
108
114
|
colorScheme: "gray",
|
|
109
115
|
onClick: () => {
|
|
110
|
-
if (
|
|
111
|
-
|
|
116
|
+
if (a.gameLaunch.details.status !== "PLAYING") {
|
|
117
|
+
m();
|
|
112
118
|
return;
|
|
113
119
|
}
|
|
114
|
-
|
|
120
|
+
n.setOpen(!0);
|
|
115
121
|
},
|
|
116
|
-
disabled:
|
|
122
|
+
disabled: a.gameLaunch.details.status === "LOADING",
|
|
117
123
|
"aria-label": "Quit Game",
|
|
118
|
-
title: "Quit",
|
|
119
124
|
children: /* @__PURE__ */ e(I, { className: "size-5" })
|
|
120
125
|
}
|
|
121
126
|
),
|
|
122
127
|
/* @__PURE__ */ e(
|
|
123
|
-
|
|
128
|
+
s,
|
|
129
|
+
{
|
|
130
|
+
size: "xs",
|
|
131
|
+
variant: "outline",
|
|
132
|
+
colorScheme: "gray",
|
|
133
|
+
disabled: a.gameLaunch.details.status === "LOADING",
|
|
134
|
+
"aria-label": o ? "Remove from Favorites" : "Add to Favorites",
|
|
135
|
+
onClick: () => {
|
|
136
|
+
a.gameLaunch.details.game && (o ? v.mutate(
|
|
137
|
+
"reference" in a.gameLaunch.details.game ? a.gameLaunch.details.game.reference : a.gameLaunch.details.game.id
|
|
138
|
+
) : G.mutate(
|
|
139
|
+
"reference" in a.gameLaunch.details.game ? a.gameLaunch.details.game.reference : a.gameLaunch.details.game.id
|
|
140
|
+
));
|
|
141
|
+
},
|
|
142
|
+
children: /* @__PURE__ */ e(
|
|
143
|
+
z,
|
|
144
|
+
{
|
|
145
|
+
className: f(
|
|
146
|
+
"size-5",
|
|
147
|
+
o ? "text-yellow-400 fill-yellow-400" : "text-inherit"
|
|
148
|
+
)
|
|
149
|
+
}
|
|
150
|
+
)
|
|
151
|
+
}
|
|
152
|
+
),
|
|
153
|
+
/* @__PURE__ */ e(
|
|
154
|
+
s,
|
|
124
155
|
{
|
|
125
|
-
size: "
|
|
156
|
+
size: "xs",
|
|
126
157
|
variant: "outline",
|
|
127
158
|
colorScheme: "gray",
|
|
128
|
-
onClick: () =>
|
|
159
|
+
onClick: () => r.setOpen(!0),
|
|
129
160
|
title: "Maximize",
|
|
130
161
|
"aria-label": "Maximize",
|
|
131
|
-
children: /* @__PURE__ */ e(
|
|
162
|
+
children: /* @__PURE__ */ e(L, { className: "size-5" })
|
|
132
163
|
}
|
|
133
164
|
)
|
|
134
165
|
] })
|
|
@@ -138,77 +169,70 @@ function Me(u) {
|
|
|
138
169
|
/* @__PURE__ */ e(
|
|
139
170
|
c.Root,
|
|
140
171
|
{
|
|
141
|
-
open:
|
|
172
|
+
open: a.gameLaunch.details.status !== "WAITING" && r.open && !n.open,
|
|
142
173
|
lazyMount: !0,
|
|
143
174
|
closeOnEscape: !1,
|
|
144
175
|
closeOnInteractOutside: !1,
|
|
145
|
-
children: /* @__PURE__ */ e(
|
|
146
|
-
/* @__PURE__ */ t("section", { className: "
|
|
147
|
-
/* @__PURE__ */ e(
|
|
148
|
-
|
|
176
|
+
children: /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(c.Positioner, { className: "z-dialog fixed inset-0", children: /* @__PURE__ */ t(c.Content, { className: "ui-open:animate-dialog-in ui-closed:animate-dialog-out bg-bg-primary-alt flex size-full flex-col", children: [
|
|
177
|
+
/* @__PURE__ */ t("section", { className: "flex items-center gap-2 px-4 py-2", children: [
|
|
178
|
+
/* @__PURE__ */ e(
|
|
179
|
+
s,
|
|
149
180
|
{
|
|
150
|
-
size: "
|
|
181
|
+
size: "xs",
|
|
151
182
|
variant: "outline",
|
|
152
|
-
colorScheme: "gray",
|
|
153
183
|
onClick: () => {
|
|
154
|
-
if (
|
|
155
|
-
|
|
184
|
+
if (a.gameLaunch.details.status !== "PLAYING") {
|
|
185
|
+
m();
|
|
156
186
|
return;
|
|
157
187
|
}
|
|
158
|
-
|
|
188
|
+
n.setOpen(!0);
|
|
159
189
|
},
|
|
160
|
-
disabled:
|
|
190
|
+
disabled: a.gameLaunch.details.status === "LOADING",
|
|
161
191
|
title: "Quit",
|
|
162
192
|
"aria-label": "Quit Game",
|
|
163
|
-
children: /* @__PURE__ */ e(
|
|
193
|
+
children: /* @__PURE__ */ e(P, { className: "size-5" })
|
|
164
194
|
}
|
|
165
|
-
)
|
|
166
|
-
/* @__PURE__ */ e("div", { className: "
|
|
167
|
-
|
|
195
|
+
),
|
|
196
|
+
/* @__PURE__ */ e("div", { className: "grow" }),
|
|
197
|
+
/* @__PURE__ */ e(s, { size: "xs", variant: "outline", children: /* @__PURE__ */ e(
|
|
198
|
+
z,
|
|
168
199
|
{
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
className: "h-9 w-auto shrink-0"
|
|
200
|
+
className: f(
|
|
201
|
+
"size-5",
|
|
202
|
+
o ? "text-yellow-400 fill-yellow-400" : "text-inherit"
|
|
203
|
+
)
|
|
174
204
|
}
|
|
175
205
|
) }),
|
|
176
|
-
/* @__PURE__ */
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
title: "Minimize",
|
|
199
|
-
"aria-label": "Minimize",
|
|
200
|
-
children: /* @__PURE__ */ e(N, { className: "size-5" })
|
|
201
|
-
}
|
|
202
|
-
)
|
|
203
|
-
] })
|
|
206
|
+
/* @__PURE__ */ e(
|
|
207
|
+
s,
|
|
208
|
+
{
|
|
209
|
+
size: "xs",
|
|
210
|
+
variant: "outline",
|
|
211
|
+
onClick: () => r.setOpen(!1),
|
|
212
|
+
title: "Minimize",
|
|
213
|
+
"aria-label": "Minimize",
|
|
214
|
+
children: /* @__PURE__ */ e(L, { className: "size-5" })
|
|
215
|
+
}
|
|
216
|
+
),
|
|
217
|
+
/* @__PURE__ */ e(
|
|
218
|
+
s,
|
|
219
|
+
{
|
|
220
|
+
size: "xs",
|
|
221
|
+
fullWidth: !1,
|
|
222
|
+
onClick: () => {
|
|
223
|
+
a.depositWithdrawal.setOpen(!0);
|
|
224
|
+
},
|
|
225
|
+
children: /* @__PURE__ */ e(W, { className: "size-5" })
|
|
226
|
+
}
|
|
227
|
+
)
|
|
204
228
|
] }),
|
|
205
229
|
/* @__PURE__ */ t("section", { className: "grow", children: [
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
230
|
+
a.gameLaunch.details.status === "LOADING" && /* @__PURE__ */ e("div", { className: "flex size-full items-center justify-center", children: /* @__PURE__ */ e(N, { className: "size-8" }) }),
|
|
231
|
+
a.gameLaunch.details.status === "FAILED" && /* @__PURE__ */ e("div", {}),
|
|
232
|
+
a.gameLaunch.details.status === "PLAYING" && /* @__PURE__ */ e(
|
|
209
233
|
"iframe",
|
|
210
234
|
{
|
|
211
|
-
src:
|
|
235
|
+
src: a.gameLaunch.details.session.launchUrl ?? "",
|
|
212
236
|
className: "size-full"
|
|
213
237
|
}
|
|
214
238
|
)
|
|
@@ -217,47 +241,47 @@ function Me(u) {
|
|
|
217
241
|
}
|
|
218
242
|
),
|
|
219
243
|
/* @__PURE__ */ e(
|
|
220
|
-
|
|
244
|
+
E,
|
|
221
245
|
{
|
|
222
246
|
role: "alertdialog",
|
|
223
|
-
open:
|
|
224
|
-
onOpenChange: (
|
|
225
|
-
|
|
247
|
+
open: n.open,
|
|
248
|
+
onOpenChange: (i) => {
|
|
249
|
+
n.setOpen(i.open);
|
|
226
250
|
},
|
|
227
251
|
lazyMount: !0,
|
|
228
252
|
closeOnEscape: !1,
|
|
229
253
|
closeOnInteractOutside: !1,
|
|
230
|
-
children: /* @__PURE__ */ t(
|
|
231
|
-
/* @__PURE__ */ e(
|
|
232
|
-
/* @__PURE__ */ e(
|
|
233
|
-
/* @__PURE__ */ t(
|
|
234
|
-
/* @__PURE__ */ e("div", { className: "bg-error-700/25 text-error-200 flex size-12 items-center justify-center rounded-full", children: /* @__PURE__ */ e(
|
|
235
|
-
/* @__PURE__ */ e(
|
|
254
|
+
children: /* @__PURE__ */ t(h, { children: [
|
|
255
|
+
/* @__PURE__ */ e(Q, {}),
|
|
256
|
+
/* @__PURE__ */ e(T, { children: /* @__PURE__ */ t(j, { children: [
|
|
257
|
+
/* @__PURE__ */ t(Y, { children: [
|
|
258
|
+
/* @__PURE__ */ e("div", { className: "bg-error-700/25 text-error-200 flex size-12 items-center justify-center rounded-full", children: /* @__PURE__ */ e(F, {}) }),
|
|
259
|
+
/* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(I, {}) })
|
|
236
260
|
] }),
|
|
237
|
-
/* @__PURE__ */ t(
|
|
238
|
-
/* @__PURE__ */ e(
|
|
239
|
-
/* @__PURE__ */ e(
|
|
261
|
+
/* @__PURE__ */ t(R, { children: [
|
|
262
|
+
/* @__PURE__ */ e(U, { children: "Quit Game" }),
|
|
263
|
+
/* @__PURE__ */ e(H, { children: "Are you sure you want to quit?" })
|
|
240
264
|
] }),
|
|
241
|
-
/* @__PURE__ */ e(
|
|
265
|
+
/* @__PURE__ */ e(q, { children: (i) => /* @__PURE__ */ t(V, { children: [
|
|
242
266
|
/* @__PURE__ */ e(
|
|
243
|
-
|
|
267
|
+
x,
|
|
244
268
|
{
|
|
245
269
|
variant: "outline",
|
|
246
270
|
colorScheme: "gray",
|
|
247
271
|
disabled: l.isPending,
|
|
248
272
|
onClick: () => {
|
|
249
|
-
|
|
273
|
+
i.setOpen(!1);
|
|
250
274
|
},
|
|
251
275
|
children: "Cancel"
|
|
252
276
|
}
|
|
253
277
|
),
|
|
254
278
|
/* @__PURE__ */ e(
|
|
255
|
-
|
|
279
|
+
x,
|
|
256
280
|
{
|
|
257
281
|
colorScheme: "danger",
|
|
258
282
|
disabled: l.isPending,
|
|
259
283
|
onClick: async () => {
|
|
260
|
-
await
|
|
284
|
+
await m(), i.setOpen(!1);
|
|
261
285
|
},
|
|
262
286
|
children: "Proceed"
|
|
263
287
|
}
|
|
@@ -270,5 +294,5 @@ function Me(u) {
|
|
|
270
294
|
] });
|
|
271
295
|
}
|
|
272
296
|
export {
|
|
273
|
-
|
|
297
|
+
Je as GameLaunch
|
|
274
298
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLArkProps } from '@ark-ui/react';
|
|
2
|
-
import { Game } from '@opexa/portal-sdk-core';
|
|
2
|
+
import { FavoriteGame, Game } from '@opexa/portal-sdk-core';
|
|
3
3
|
export interface GameLaunchTriggerProps extends HTMLArkProps<'button'> {
|
|
4
|
-
game: Game;
|
|
4
|
+
game: Game | FavoriteGame;
|
|
5
5
|
}
|
|
6
6
|
export declare function GameLaunchTrigger(props: GameLaunchTriggerProps): import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react/jsx-runtime"),d=require("@ark-ui/react"),m=require("zustand/shallow");require("@opexa/portal-sdk-core");require("@tanstack/react-query");require("tiny-invariant");require("../../constants/index.js");require("../../utils/capitalize.js");const q=require("../../utils/dataAttr.js");require("../../utils/parseDecimal.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");const h=require("../../client/hooks/useSessionQuery.js");require("react");require("lodash-es");const L=require("../../client/hooks/useCreateGameSessionMutation.js");require("@opexa/portal-sdk-core/object-id");const G=require("../../client/hooks/useGlobalStore.js");require("../../client/hooks/useInfiniteQueryHelper.js");require("usehooks-ts");const I=require("../../client/utils/toaster.js");function S(e){var n,i;const r=h.useSessionQuery(),l=L.useCreateGameSessionMutation(),t=G.useGlobalStore(m.useShallow(a=>({signIn:a.signIn,gameLaunch:a.gameLaunch}))),u=((n=r.data)==null?void 0:n.status)==="unauthenticated"?!1:t.gameLaunch.details.status!=="WAITING"?!0:e.disabled;return g.jsx(d.ark.button,{type:"button",...e,onClick:async a=>{var o,c;if((o=e.onClick)==null||o.call(e,a),((c=r.data)==null?void 0:c.status)==="unauthenticated")return t.signIn.setOpen(!0);t.gameLaunch.setDetails({game:e.game,status:"LOADING",session:null});try{const s=await l.mutateAsync(e.game);t.gameLaunch.setDetails({game:e.game,session:s,status:"PLAYING"})}catch(s){t.gameLaunch.setDetails({game:e.game,session:null,status:"FAILED"}),I.toaster.error({description:s instanceof Error?s.message:"Failed to launch game"})}},disabled:u,"data-disabled":q.dataAttr(u),"data-state":((i=r.data)==null?void 0:i.status)==="unauthenticated"?t.signIn.open?"open":"closed":t.gameLaunch.details.status==="WAITING"?"closed":"open"})}exports.GameLaunchTrigger=S;
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const g=require("react/jsx-runtime"),d=require("@ark-ui/react"),m=require("zustand/shallow");require("@opexa/portal-sdk-core");require("@tanstack/react-query");require("tiny-invariant");require("../../constants/index.js");require("../../utils/capitalize.js");const q=require("../../utils/dataAttr.js");require("../../utils/parseDecimal.js");require("../../utils/getLocaleInfo.js");require("../../utils/getQueryClient.js");require("../../utils/isMobile.js");require("../../client/services/getSession.js");const h=require("../../client/hooks/useSessionQuery.js");require("react");require("lodash-es");const L=require("../../client/hooks/useCreateGameSessionMutation.js");require("@opexa/portal-sdk-core/object-id");const G=require("../../client/hooks/useGlobalStore.js");require("../../client/hooks/useInfiniteQueryHelper.js");require("usehooks-ts");const I=require("../../client/utils/toaster.js");function S(e){var n,i;const r=h.useSessionQuery(),l=L.useCreateGameSessionMutation(),t=G.useGlobalStore(m.useShallow(a=>({signIn:a.signIn,gameLaunch:a.gameLaunch}))),u=((n=r.data)==null?void 0:n.status)==="unauthenticated"?!1:t.gameLaunch.details.status!=="WAITING"?!0:e.disabled;return g.jsx(d.ark.button,{type:"button",...e,onClick:async a=>{var o,c;if((o=e.onClick)==null||o.call(e,a),((c=r.data)==null?void 0:c.status)==="unauthenticated")return t.signIn.setOpen(!0);t.gameLaunch.setDetails({game:e.game,status:"LOADING",session:null});try{const s=await l.mutateAsync(e.game);t.gameLaunch.setDetails({game:e.game,session:s,status:"PLAYING"})}catch(s){t.gameLaunch.setDetails({game:e.game,session:null,status:"FAILED"}),I.toaster.error({description:s instanceof Error?s.message:"Failed to launch game"})}},disabled:u,"data-disabled":q.dataAttr(u),"data-state":((i=r.data)==null?void 0:i.status)==="unauthenticated"?t.signIn.open?"open":"closed":t.gameLaunch.details.status==="WAITING"?"closed":"open"})}exports.GameLaunchTrigger=S;
|
|
@@ -12,6 +12,7 @@ import "../../utils/parseDecimal.mjs";
|
|
|
12
12
|
import "../../utils/getLocaleInfo.mjs";
|
|
13
13
|
import "../../utils/getQueryClient.mjs";
|
|
14
14
|
import "../../utils/isMobile.mjs";
|
|
15
|
+
import "../../client/services/getSession.mjs";
|
|
15
16
|
import { useSessionQuery as f } from "../../client/hooks/useSessionQuery.mjs";
|
|
16
17
|
import "react";
|
|
17
18
|
import "lodash-es";
|
|
@@ -21,14 +22,14 @@ import { useGlobalStore as L } from "../../client/hooks/useGlobalStore.mjs";
|
|
|
21
22
|
import "../../client/hooks/useInfiniteQueryHelper.mjs";
|
|
22
23
|
import "usehooks-ts";
|
|
23
24
|
import { toaster as p } from "../../client/utils/toaster.mjs";
|
|
24
|
-
function
|
|
25
|
-
var
|
|
25
|
+
function z(t) {
|
|
26
|
+
var n, m;
|
|
26
27
|
const i = f(), c = I(), e = L(
|
|
27
28
|
d((a) => ({
|
|
28
29
|
signIn: a.signIn,
|
|
29
30
|
gameLaunch: a.gameLaunch
|
|
30
31
|
}))
|
|
31
|
-
),
|
|
32
|
+
), o = ((n = i.data) == null ? void 0 : n.status) === "unauthenticated" ? !1 : e.gameLaunch.details.status !== "WAITING" ? !0 : t.disabled;
|
|
32
33
|
return /* @__PURE__ */ l(
|
|
33
34
|
g.button,
|
|
34
35
|
{
|
|
@@ -62,12 +63,12 @@ function v(t) {
|
|
|
62
63
|
});
|
|
63
64
|
}
|
|
64
65
|
},
|
|
65
|
-
disabled:
|
|
66
|
-
"data-disabled": h(
|
|
66
|
+
disabled: o,
|
|
67
|
+
"data-disabled": h(o),
|
|
67
68
|
"data-state": ((m = i.data) == null ? void 0 : m.status) === "unauthenticated" ? e.signIn.open ? "open" : "closed" : e.gameLaunch.details.status === "WAITING" ? "closed" : "open"
|
|
68
69
|
}
|
|
69
70
|
);
|
|
70
71
|
}
|
|
71
72
|
export {
|
|
72
|
-
|
|
73
|
+
z as GameLaunchTrigger
|
|
73
74
|
};
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ImageProps } from 'next/image';
|
|
3
|
-
interface ProviderData {
|
|
4
|
-
id: GameProvider;
|
|
5
|
-
logo: ImageProps['src'];
|
|
6
|
-
slug?: string;
|
|
7
|
-
}
|
|
1
|
+
import { GameProviderData } from '../../types';
|
|
8
2
|
export interface GameProvidersProps {
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
gameProviders: GameProviderData[];
|
|
4
|
+
heading?: string;
|
|
5
|
+
/**
|
|
6
|
+
* @default '/games'
|
|
7
|
+
*/
|
|
8
|
+
viewAllUrl?: string;
|
|
11
9
|
className?: string;
|
|
12
10
|
}
|
|
13
11
|
export declare function GameProviders(props: GameProvidersProps): import("react").JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),h=require("embla-carousel-react"),v=require("next/image"),n=require("next/link"),i=require("react"),f=require("../../icons/ArrowLeftIcon.js"),N=require("../../icons/ArrowRightIcon.js"),j=require("../../icons/ChevronRightIcon.js");require("../../ui/AlertDialog/AlertDialog.js");require("../../ui/Avatar/Avatar.js");require("../../ui/Badge/Badge.js");const o=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 w(l){const[a,r]=h({align:"start",slidesToScroll:1}),[u,d]=i.useState(!0),[q,g]=i.useState(!0),m=i.useCallback(()=>r==null?void 0:r.scrollPrev(),[r]),x=i.useCallback(async()=>{r==null||r.scrollNext()},[r]),t=i.useCallback(s=>{d(!(s!=null&&s.canScrollPrev())),g(!(s!=null&&s.canScrollNext()))},[]);i.useEffect(()=>{r&&(t(r),r.on("reInit",t).on("select",t))},[r,t]);const c=l.viewAllUrl??"/games/providers";return e.jsxs("div",{className:l.className,children:[e.jsxs("div",{className:"flex items-center",children:[e.jsx("h2",{className:"text-lg font-semibold",children:l.heading??"Providers"}),e.jsx("div",{className:"grow"}),e.jsxs("div",{className:"flex items-center justify-center gap-xl",children:[e.jsxs(n,{href:c,className:"text-button-tertiary-fg flex gap-sm text-sm font-semibold",children:["See All",e.jsx(j.ChevronRightIcon,{className:"size-5 lg:hidden"})]}),e.jsxs("div",{className:"hidden lg:flex",children:[e.jsx(o.Button,{variant:"outline",colorScheme:"gray",className:"rounded-r-none border-r-0",onClick:m,disabled:u,"aria-label":"Previous",children:e.jsx(f.ArrowLeftIcon,{className:"size-5"})}),e.jsx(o.Button,{variant:"outline",colorScheme:"gray",className:"rounded-l-none",onClick:x,disabled:q,"aria-label":"Next",children:e.jsx(N.ArrowRightIcon,{className:"size-5"})})]})]})]}),e.jsx("div",{ref:a,className:"relative mt-lg lg:overflow-hidden",children:e.jsx("div",{className:"grid auto-cols-[calc((100%-(0.375rem*2))/3)] grid-flow-col grid-rows-1 gap-sm lg:auto-cols-[calc((100%-(0.5rem*5))/6)] lg:gap-md",children:l.gameProviders.map(s=>e.jsx(n,{href:`${c}/${s.slug}`,className:"bg-gray-800 flex w-full items-center rounded-md px-md py-sm lg:h-[5.75rem]",children:e.jsx(v,{src:s.logo,alt:"",width:300,height:150,className:"mx-auto h-auto w-full"})},s.id))})})]})}exports.GameProviders=w;
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs as o, jsx as r } from "react/jsx-runtime";
|
|
3
|
+
import N from "embla-carousel-react";
|
|
4
|
+
import x from "next/image";
|
|
5
|
+
import c from "next/link";
|
|
6
|
+
import { useState as a, useCallback as s, useEffect as w } from "react";
|
|
7
|
+
import { ArrowLeftIcon as P } from "../../icons/ArrowLeftIcon.mjs";
|
|
8
|
+
import { ArrowRightIcon as S } from "../../icons/ArrowRightIcon.mjs";
|
|
9
|
+
import { ChevronRightIcon as y } from "../../icons/ChevronRightIcon.mjs";
|
|
10
|
+
import "../../ui/AlertDialog/AlertDialog.mjs";
|
|
11
|
+
import "../../ui/Avatar/Avatar.mjs";
|
|
12
|
+
import "../../ui/Badge/Badge.mjs";
|
|
13
|
+
import { Button as n } 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 ce(i) {
|
|
41
|
+
const [d, e] = N({
|
|
42
|
+
align: "start",
|
|
43
|
+
slidesToScroll: 1
|
|
44
|
+
}), [f, g] = a(!0), [u, h] = a(!0), p = s(
|
|
45
|
+
() => e == null ? void 0 : e.scrollPrev(),
|
|
46
|
+
[e]
|
|
47
|
+
), v = s(async () => {
|
|
48
|
+
e == null || e.scrollNext();
|
|
49
|
+
}, [e]), l = s((t) => {
|
|
50
|
+
g(!(t != null && t.canScrollPrev())), h(!(t != null && t.canScrollNext()));
|
|
51
|
+
}, []);
|
|
52
|
+
w(() => {
|
|
53
|
+
e && (l(e), e.on("reInit", l).on("select", l));
|
|
54
|
+
}, [e, l]);
|
|
55
|
+
const m = i.viewAllUrl ?? "/games/providers";
|
|
56
|
+
return /* @__PURE__ */ o("div", { className: i.className, children: [
|
|
57
|
+
/* @__PURE__ */ o("div", { className: "flex items-center", children: [
|
|
58
|
+
/* @__PURE__ */ r("h2", { className: "text-lg font-semibold", children: i.heading ?? "Providers" }),
|
|
59
|
+
/* @__PURE__ */ r("div", { className: "grow" }),
|
|
60
|
+
/* @__PURE__ */ o("div", { className: "flex items-center justify-center gap-xl", children: [
|
|
61
|
+
/* @__PURE__ */ o(
|
|
62
|
+
c,
|
|
63
|
+
{
|
|
64
|
+
href: m,
|
|
65
|
+
className: "text-button-tertiary-fg flex gap-sm text-sm font-semibold",
|
|
66
|
+
children: [
|
|
67
|
+
"See All",
|
|
68
|
+
/* @__PURE__ */ r(y, { className: "size-5 lg:hidden" })
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
),
|
|
72
|
+
/* @__PURE__ */ o("div", { className: "hidden lg:flex", children: [
|
|
73
|
+
/* @__PURE__ */ r(
|
|
74
|
+
n,
|
|
75
|
+
{
|
|
76
|
+
variant: "outline",
|
|
77
|
+
colorScheme: "gray",
|
|
78
|
+
className: "rounded-r-none border-r-0",
|
|
79
|
+
onClick: p,
|
|
80
|
+
disabled: f,
|
|
81
|
+
"aria-label": "Previous",
|
|
82
|
+
children: /* @__PURE__ */ r(P, { className: "size-5" })
|
|
83
|
+
}
|
|
84
|
+
),
|
|
85
|
+
/* @__PURE__ */ r(
|
|
86
|
+
n,
|
|
87
|
+
{
|
|
88
|
+
variant: "outline",
|
|
89
|
+
colorScheme: "gray",
|
|
90
|
+
className: "rounded-l-none",
|
|
91
|
+
onClick: v,
|
|
92
|
+
disabled: u,
|
|
93
|
+
"aria-label": "Next",
|
|
94
|
+
children: /* @__PURE__ */ r(S, { className: "size-5" })
|
|
95
|
+
}
|
|
96
|
+
)
|
|
97
|
+
] })
|
|
98
|
+
] })
|
|
99
|
+
] }),
|
|
100
|
+
/* @__PURE__ */ r("div", { ref: d, className: "relative mt-lg lg:overflow-hidden", children: /* @__PURE__ */ r("div", { className: "grid auto-cols-[calc((100%-(0.375rem*2))/3)] grid-flow-col grid-rows-1 gap-sm lg:auto-cols-[calc((100%-(0.5rem*5))/6)] lg:gap-md", children: i.gameProviders.map((t) => /* @__PURE__ */ r(
|
|
101
|
+
c,
|
|
102
|
+
{
|
|
103
|
+
href: `${m}/${t.slug}`,
|
|
104
|
+
className: "bg-gray-800 flex w-full items-center rounded-md px-md py-sm lg:h-[5.75rem]",
|
|
105
|
+
children: /* @__PURE__ */ r(
|
|
106
|
+
x,
|
|
107
|
+
{
|
|
108
|
+
src: t.logo,
|
|
109
|
+
alt: "",
|
|
110
|
+
width: 300,
|
|
111
|
+
height: 150,
|
|
112
|
+
className: "mx-auto h-auto w-full"
|
|
113
|
+
}
|
|
114
|
+
)
|
|
115
|
+
},
|
|
116
|
+
t.id
|
|
117
|
+
)) }) })
|
|
118
|
+
] });
|
|
119
|
+
}
|
|
120
|
+
export {
|
|
121
|
+
ce as GameProviders
|
|
122
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './GameProviders';
|