react-native-monflowts 0.5.1 → 0.5.3
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/README.md +37 -3
- package/android/build.gradle +1 -0
- package/android/src/main/java/com/monflowts/MonflowtsLottieView.kt +12 -4
- package/android/src/main/java/com/monflowts/MonflowtsNavigationModule.kt +43 -0
- package/android/src/main/java/com/monflowts/MonflowtsPackage.kt +10 -1
- package/android/src/main/java/com/monflowts/MonflowtsStackView.kt +456 -0
- package/android/src/main/java/com/monflowts/MonflowtsStackViewManager.kt +70 -0
- package/android/src/main/java/com/monflowts/MonflowtsWebView.kt +35 -11
- package/android/src/main/java/com/monflowts/MonflowtsWebViewManager.kt +10 -0
- package/ios/MonflowtsNavigationBridge.m +10 -0
- package/ios/MonflowtsNavigationModule.swift +28 -0
- package/ios/MonflowtsStackBridge.m +17 -0
- package/ios/MonflowtsStackUIView.swift +409 -0
- package/ios/MonflowtsStackViewManager.swift +14 -0
- package/ios/MonflowtsWebBridge.m +1 -0
- package/ios/MonflowtsWebUIView.swift +21 -0
- package/lib/module/HubContent.js +259 -219
- package/lib/module/HubContent.js.map +1 -1
- package/lib/module/MonflowtsHub.js +42 -3
- package/lib/module/MonflowtsHub.js.map +1 -1
- package/lib/module/NativeWebView.js.map +1 -1
- package/lib/module/api/mutations.js +4 -0
- package/lib/module/api/mutations.js.map +1 -1
- package/lib/module/api/queries.js +9 -3
- package/lib/module/api/queries.js.map +1 -1
- package/lib/module/components/AbandonPolicyNotice.js +7 -6
- package/lib/module/components/AbandonPolicyNotice.js.map +1 -1
- package/lib/module/components/CoinFlyOverlay.js +27 -20
- package/lib/module/components/CoinFlyOverlay.js.map +1 -1
- package/lib/module/components/GameRulesModal.js +13 -11
- package/lib/module/components/GameRulesModal.js.map +1 -1
- package/lib/module/components/HypeCallout.js +5 -5
- package/lib/module/components/HypeCallout.js.map +1 -1
- package/lib/module/components/InsufficientFundsOverlay.js +4 -3
- package/lib/module/components/InsufficientFundsOverlay.js.map +1 -1
- package/lib/module/components/JackpotNearMiss.js +4 -3
- package/lib/module/components/JackpotNearMiss.js.map +1 -1
- package/lib/module/components/JackpotTeaser.js +10 -9
- package/lib/module/components/JackpotTeaser.js.map +1 -1
- package/lib/module/components/MonflowtsButton.js +7 -4
- package/lib/module/components/MonflowtsButton.js.map +1 -1
- package/lib/module/components/QuitConfirmModal.js +8 -7
- package/lib/module/components/QuitConfirmModal.js.map +1 -1
- package/lib/module/components/SessionTimer.js +3 -2
- package/lib/module/components/SessionTimer.js.map +1 -1
- package/lib/module/components/ShopArtView.js +105 -0
- package/lib/module/components/ShopArtView.js.map +1 -0
- package/lib/module/components/SideDemoTab.js +22 -4
- package/lib/module/components/SideDemoTab.js.map +1 -1
- package/lib/module/components/StakeInput.js +7 -6
- package/lib/module/components/StakeInput.js.map +1 -1
- package/lib/module/content.js.map +1 -1
- package/lib/module/hooks/useAvailableGames.js +7 -2
- package/lib/module/hooks/useAvailableGames.js.map +1 -1
- package/lib/module/hooks/useLeaderboard.js.map +1 -1
- package/lib/module/hooks/usePlayGame.js +11 -5
- package/lib/module/hooks/usePlayGame.js.map +1 -1
- package/lib/module/hooks/useRaffleDrawState.js +4 -1
- package/lib/module/hooks/useRaffleDrawState.js.map +1 -1
- package/lib/module/index.js +15 -0
- package/lib/module/index.js.map +1 -1
- package/lib/module/navigation/NativeStackView.js +5 -0
- package/lib/module/navigation/NativeStackView.js.map +1 -0
- package/lib/module/navigation/Navigator.js +250 -0
- package/lib/module/navigation/Navigator.js.map +1 -0
- package/lib/module/navigation/engine.js +466 -0
- package/lib/module/navigation/engine.js.map +1 -0
- package/lib/module/navigation/hooks.js +29 -0
- package/lib/module/navigation/hooks.js.map +1 -0
- package/lib/module/navigation/index.js +7 -0
- package/lib/module/navigation/index.js.map +1 -0
- package/lib/module/navigation/routes.js +111 -0
- package/lib/module/navigation/routes.js.map +1 -0
- package/lib/module/theme.js +13 -13
- package/lib/module/theme.js.map +1 -1
- package/lib/module/utils/scale.js +35 -0
- package/lib/module/utils/scale.js.map +1 -0
- package/lib/module/views/DepositSelect.js +8 -7
- package/lib/module/views/DepositSelect.js.map +1 -1
- package/lib/module/views/DiceBattle.js +589 -218
- package/lib/module/views/DiceBattle.js.map +1 -1
- package/lib/module/views/DiceLobby.js +113 -74
- package/lib/module/views/DiceLobby.js.map +1 -1
- package/lib/module/views/FortuneWheel.js +417 -271
- package/lib/module/views/FortuneWheel.js.map +1 -1
- package/lib/module/views/Freefall.js +149 -90
- package/lib/module/views/Freefall.js.map +1 -1
- package/lib/module/views/History.js +10 -9
- package/lib/module/views/History.js.map +1 -1
- package/lib/module/views/Home.js +1058 -401
- package/lib/module/views/Home.js.map +1 -1
- package/lib/module/views/Jetstream.js +47 -23
- package/lib/module/views/Jetstream.js.map +1 -1
- package/lib/module/views/Leaderboard.js +112 -103
- package/lib/module/views/Leaderboard.js.map +1 -1
- package/lib/module/views/MillionaireHunter.js +752 -578
- package/lib/module/views/MillionaireHunter.js.map +1 -1
- package/lib/module/views/Minefield.js +41 -19
- package/lib/module/views/Minefield.js.map +1 -1
- package/lib/module/views/PaymentWebView.js +7 -6
- package/lib/module/views/PaymentWebView.js.map +1 -1
- package/lib/module/views/PlayerCard.js +5 -4
- package/lib/module/views/PlayerCard.js.map +1 -1
- package/lib/module/views/Profile.js +11 -10
- package/lib/module/views/Profile.js.map +1 -1
- package/lib/module/views/RaffleDraw.js +37 -27
- package/lib/module/views/RaffleDraw.js.map +1 -1
- package/lib/module/views/RevealWin.js +161 -34
- package/lib/module/views/RevealWin.js.map +1 -1
- package/lib/module/views/Splash.js +3 -2
- package/lib/module/views/Splash.js.map +1 -1
- package/lib/module/views/Success.js +6 -3
- package/lib/module/views/Success.js.map +1 -1
- package/lib/module/views/TicketShop.js +1067 -236
- package/lib/module/views/TicketShop.js.map +1 -1
- package/lib/module/views/TriviaLobby.js +57 -31
- package/lib/module/views/TriviaLobby.js.map +1 -1
- package/lib/module/views/TriviaMaster.js +28 -23
- package/lib/module/views/TriviaMaster.js.map +1 -1
- package/lib/module/views/Wallet.js +18 -17
- package/lib/module/views/Wallet.js.map +1 -1
- package/lib/module/views/WithdrawFlow.js +6 -5
- package/lib/module/views/WithdrawFlow.js.map +1 -1
- package/lib/module/views/dice3d/DiceTable3D.js +131 -0
- package/lib/module/views/dice3d/DiceTable3D.js.map +1 -0
- package/lib/module/views/dice3d/diceScene.js +873 -0
- package/lib/module/views/dice3d/diceScene.js.map +1 -0
- package/lib/module/views/dice3d/diceSim.js +300 -0
- package/lib/module/views/dice3d/diceSim.js.map +1 -0
- package/lib/module/views/diceDuel.js +35 -0
- package/lib/module/views/diceDuel.js.map +1 -0
- package/lib/module/views/freefallDrop.js +66 -0
- package/lib/module/views/freefallDrop.js.map +1 -0
- package/lib/module/views/homeLayout.js +47 -0
- package/lib/module/views/homeLayout.js.map +1 -0
- package/lib/module/views/launchFeatured.js +43 -0
- package/lib/module/views/launchFeatured.js.map +1 -0
- package/lib/module/views/leaderboardPhase.js +52 -0
- package/lib/module/views/leaderboardPhase.js.map +1 -0
- package/lib/module/views/lobbyKit.js +224 -0
- package/lib/module/views/lobbyKit.js.map +1 -0
- package/lib/module/views/raffleContent.js +11 -0
- package/lib/module/views/raffleContent.js.map +1 -0
- package/lib/module/views/rafflePhase.js +15 -0
- package/lib/module/views/rafflePhase.js.map +1 -0
- package/lib/module/views/revealWinHelpers.js +19 -0
- package/lib/module/views/revealWinHelpers.js.map +1 -1
- package/lib/module/views/shopArtMotion.js +25 -0
- package/lib/module/views/shopArtMotion.js.map +1 -0
- package/lib/module/views/ticketBundlePresets.js +15 -12
- package/lib/module/views/ticketBundlePresets.js.map +1 -1
- package/lib/module/views/ticketShopArt.js +391 -0
- package/lib/module/views/ticketShopArt.js.map +1 -0
- package/lib/module/views/treasureHunt.js +81 -0
- package/lib/module/views/treasureHunt.js.map +1 -0
- package/lib/module/views/wheelLayout.js +47 -0
- package/lib/module/views/wheelLayout.js.map +1 -0
- package/lib/typescript/src/HubContent.d.ts.map +1 -1
- package/lib/typescript/src/MonflowtsHub.d.ts.map +1 -1
- package/lib/typescript/src/NativeWebView.d.ts +1 -0
- package/lib/typescript/src/NativeWebView.d.ts.map +1 -1
- package/lib/typescript/src/api/gameTypes.d.ts +18 -2
- package/lib/typescript/src/api/gameTypes.d.ts.map +1 -1
- package/lib/typescript/src/api/mutations.d.ts.map +1 -1
- package/lib/typescript/src/api/queries.d.ts.map +1 -1
- package/lib/typescript/src/api/sdkTypes.d.ts +3 -0
- package/lib/typescript/src/api/sdkTypes.d.ts.map +1 -1
- package/lib/typescript/src/components/AbandonPolicyNotice.d.ts.map +1 -1
- package/lib/typescript/src/components/CoinFlyOverlay.d.ts.map +1 -1
- package/lib/typescript/src/components/GameRulesModal.d.ts +1 -0
- package/lib/typescript/src/components/GameRulesModal.d.ts.map +1 -1
- package/lib/typescript/src/components/HypeCallout.d.ts.map +1 -1
- package/lib/typescript/src/components/InsufficientFundsOverlay.d.ts.map +1 -1
- package/lib/typescript/src/components/JackpotNearMiss.d.ts.map +1 -1
- package/lib/typescript/src/components/JackpotTeaser.d.ts.map +1 -1
- package/lib/typescript/src/components/MonflowtsButton.d.ts.map +1 -1
- package/lib/typescript/src/components/QuitConfirmModal.d.ts.map +1 -1
- package/lib/typescript/src/components/SessionTimer.d.ts.map +1 -1
- package/lib/typescript/src/components/ShopArtView.d.ts +11 -0
- package/lib/typescript/src/components/ShopArtView.d.ts.map +1 -0
- package/lib/typescript/src/components/SideDemoTab.d.ts +1 -0
- package/lib/typescript/src/components/SideDemoTab.d.ts.map +1 -1
- package/lib/typescript/src/components/StakeInput.d.ts.map +1 -1
- package/lib/typescript/src/content.d.ts +1 -0
- package/lib/typescript/src/content.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useAvailableGames.d.ts +3 -0
- package/lib/typescript/src/hooks/useAvailableGames.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useLeaderboard.d.ts +4 -0
- package/lib/typescript/src/hooks/useLeaderboard.d.ts.map +1 -1
- package/lib/typescript/src/hooks/usePlayGame.d.ts +1 -1
- package/lib/typescript/src/hooks/usePlayGame.d.ts.map +1 -1
- package/lib/typescript/src/hooks/useRaffleDrawState.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +16 -0
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/navigation/NativeStackView.d.ts +41 -0
- package/lib/typescript/src/navigation/NativeStackView.d.ts.map +1 -0
- package/lib/typescript/src/navigation/Navigator.d.ts +13 -0
- package/lib/typescript/src/navigation/Navigator.d.ts.map +1 -0
- package/lib/typescript/src/navigation/engine.d.ts +69 -0
- package/lib/typescript/src/navigation/engine.d.ts.map +1 -0
- package/lib/typescript/src/navigation/hooks.d.ts +6 -0
- package/lib/typescript/src/navigation/hooks.d.ts.map +1 -0
- package/lib/typescript/src/navigation/index.d.ts +7 -0
- package/lib/typescript/src/navigation/index.d.ts.map +1 -0
- package/lib/typescript/src/navigation/routes.d.ts +80 -0
- package/lib/typescript/src/navigation/routes.d.ts.map +1 -0
- package/lib/typescript/src/theme.d.ts +3 -3
- package/lib/typescript/src/types.d.ts +0 -9
- package/lib/typescript/src/types.d.ts.map +1 -1
- package/lib/typescript/src/utils/scale.d.ts +12 -0
- package/lib/typescript/src/utils/scale.d.ts.map +1 -0
- package/lib/typescript/src/views/DiceBattle.d.ts.map +1 -1
- package/lib/typescript/src/views/DiceLobby.d.ts.map +1 -1
- package/lib/typescript/src/views/FortuneWheel.d.ts.map +1 -1
- package/lib/typescript/src/views/Freefall.d.ts.map +1 -1
- package/lib/typescript/src/views/History.d.ts.map +1 -1
- package/lib/typescript/src/views/Home.d.ts +2 -2
- package/lib/typescript/src/views/Home.d.ts.map +1 -1
- package/lib/typescript/src/views/Jetstream.d.ts.map +1 -1
- package/lib/typescript/src/views/Leaderboard.d.ts.map +1 -1
- package/lib/typescript/src/views/MillionaireHunter.d.ts.map +1 -1
- package/lib/typescript/src/views/Minefield.d.ts.map +1 -1
- package/lib/typescript/src/views/PlayerCard.d.ts.map +1 -1
- package/lib/typescript/src/views/Profile.d.ts.map +1 -1
- package/lib/typescript/src/views/RaffleDraw.d.ts +2 -1
- package/lib/typescript/src/views/RaffleDraw.d.ts.map +1 -1
- package/lib/typescript/src/views/RevealWin.d.ts.map +1 -1
- package/lib/typescript/src/views/Splash.d.ts.map +1 -1
- package/lib/typescript/src/views/Success.d.ts.map +1 -1
- package/lib/typescript/src/views/TicketShop.d.ts +1 -0
- package/lib/typescript/src/views/TicketShop.d.ts.map +1 -1
- package/lib/typescript/src/views/TriviaLobby.d.ts.map +1 -1
- package/lib/typescript/src/views/TriviaMaster.d.ts.map +1 -1
- package/lib/typescript/src/views/Wallet.d.ts.map +1 -1
- package/lib/typescript/src/views/dice3d/DiceTable3D.d.ts +41 -0
- package/lib/typescript/src/views/dice3d/DiceTable3D.d.ts.map +1 -0
- package/lib/typescript/src/views/dice3d/diceScene.d.ts +2 -0
- package/lib/typescript/src/views/dice3d/diceScene.d.ts.map +1 -0
- package/lib/typescript/src/views/dice3d/diceSim.d.ts +2 -0
- package/lib/typescript/src/views/dice3d/diceSim.d.ts.map +1 -0
- package/lib/typescript/src/views/diceDuel.d.ts +15 -0
- package/lib/typescript/src/views/diceDuel.d.ts.map +1 -0
- package/lib/typescript/src/views/freefallDrop.d.ts +19 -0
- package/lib/typescript/src/views/freefallDrop.d.ts.map +1 -0
- package/lib/typescript/src/views/homeLayout.d.ts +15 -0
- package/lib/typescript/src/views/homeLayout.d.ts.map +1 -0
- package/lib/typescript/src/views/launchFeatured.d.ts +2 -0
- package/lib/typescript/src/views/launchFeatured.d.ts.map +1 -0
- package/lib/typescript/src/views/leaderboardPhase.d.ts +6 -0
- package/lib/typescript/src/views/leaderboardPhase.d.ts.map +1 -0
- package/lib/typescript/src/views/lobbyKit.d.ts +45 -0
- package/lib/typescript/src/views/lobbyKit.d.ts.map +1 -0
- package/lib/typescript/src/views/raffleContent.d.ts +3 -0
- package/lib/typescript/src/views/raffleContent.d.ts.map +1 -0
- package/lib/typescript/src/views/rafflePhase.d.ts +9 -0
- package/lib/typescript/src/views/rafflePhase.d.ts.map +1 -0
- package/lib/typescript/src/views/revealWinHelpers.d.ts +9 -0
- package/lib/typescript/src/views/revealWinHelpers.d.ts.map +1 -1
- package/lib/typescript/src/views/shopArtMotion.d.ts +13 -0
- package/lib/typescript/src/views/shopArtMotion.d.ts.map +1 -0
- package/lib/typescript/src/views/ticketBundlePresets.d.ts +3 -17
- package/lib/typescript/src/views/ticketBundlePresets.d.ts.map +1 -1
- package/lib/typescript/src/views/ticketShopArt.d.ts +27 -0
- package/lib/typescript/src/views/ticketShopArt.d.ts.map +1 -0
- package/lib/typescript/src/views/treasureHunt.d.ts +29 -0
- package/lib/typescript/src/views/treasureHunt.d.ts.map +1 -0
- package/lib/typescript/src/views/wheelLayout.d.ts +30 -0
- package/lib/typescript/src/views/wheelLayout.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -68,6 +68,8 @@ export declare const theme: Readonly<{
|
|
|
68
68
|
primaryButton: {
|
|
69
69
|
backgroundColor: string;
|
|
70
70
|
borderRadius: number;
|
|
71
|
+
borderBottomWidth: number;
|
|
72
|
+
borderBottomColor: string;
|
|
71
73
|
height: number;
|
|
72
74
|
alignItems: "center";
|
|
73
75
|
justifyContent: "center";
|
|
@@ -77,9 +79,7 @@ export declare const theme: Readonly<{
|
|
|
77
79
|
primaryButtonText: {
|
|
78
80
|
color: string;
|
|
79
81
|
fontSize: number;
|
|
80
|
-
fontWeight: "
|
|
81
|
-
textTransform: "uppercase";
|
|
82
|
-
letterSpacing: number;
|
|
82
|
+
fontWeight: "800";
|
|
83
83
|
};
|
|
84
84
|
outlineButton: {
|
|
85
85
|
backgroundColor: string;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ImageSourcePropType } from 'react-native';
|
|
2
|
-
export type Screen = 'SPLASH' | 'HOME' | 'DICE_BATTLE' | 'TICKET_SHOP' | 'MILLIONAIRE_HUNTER' | 'WALLET' | 'HISTORY' | 'LEADERBOARD' | 'PROFILE' | 'SUCCESS' | 'FORTUNE_WHEEL' | 'TRIVIA_MASTER' | 'RAFFLE_DRAW' | 'TRIVIA_LOBBY' | 'DICE_LOBBY' | 'DEPOSIT_SELECT' | 'PAYMENT' | 'WITHDRAW' | 'REVEAL_WIN' | 'FREEFALL' | 'MINEFIELD' | 'JETSTREAM';
|
|
3
2
|
export interface GameResult {
|
|
4
3
|
id: string;
|
|
5
4
|
game: string;
|
|
@@ -16,14 +15,6 @@ export interface Transaction {
|
|
|
16
15
|
date: Date;
|
|
17
16
|
icon: string;
|
|
18
17
|
}
|
|
19
|
-
export interface TicketBundle {
|
|
20
|
-
id: string;
|
|
21
|
-
name: string;
|
|
22
|
-
tickets: number;
|
|
23
|
-
price: number;
|
|
24
|
-
tag?: string;
|
|
25
|
-
image: ImageSourcePropType;
|
|
26
|
-
}
|
|
27
18
|
export interface DiceValues {
|
|
28
19
|
die1: number;
|
|
29
20
|
die2: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExD,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,cAAc,CAAC;AAExD,MAAM,WAAW,UAAU;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,SAAS,GAAG,aAAa,CAAC;IACjD,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,mBAAmB,CAAC;CAC9B;AAED,MAAM,WAAW,WAAW;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,KAAK,GAAG,MAAM,GAAG,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,UAAU,CAAC;IACxE,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,UAAU;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,KAAK;IAClB,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,UAAU,CAAC;IACf,EAAE,EAAE,UAAU,CAAC;IACf,MAAM,EAAE,IAAI,GAAG,IAAI,GAAG,MAAM,CAAC;CAChC;AAED,MAAM,WAAW,SAAS;IACtB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,KAAK,EAAE,CAAC;IACjB,SAAS,EAAE,UAAU,CAAC;IACtB,SAAS,EAAE,UAAU,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,YAAY;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
export declare const FONT_BASE_WIDTH = 402;
|
|
3
|
+
export declare const FONT_SCALE_MIN = 0.88;
|
|
4
|
+
export declare const FONT_SCALE_MAX = 1;
|
|
5
|
+
export declare const fontScaleFor: (width: number) => number;
|
|
6
|
+
export declare const scaleFontAt: (width: number, size: number) => number;
|
|
7
|
+
export declare const scaleFont: (size: number) => number;
|
|
8
|
+
export declare function scaleTypography<T extends object>(styles: T, width: number): T;
|
|
9
|
+
type StyleSheetInput = Parameters<typeof StyleSheet.create>[0];
|
|
10
|
+
export declare function scaledStyles<S extends StyleSheetInput>(styles: S): Readonly<S>;
|
|
11
|
+
export {};
|
|
12
|
+
//# sourceMappingURL=scale.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"scale.d.ts","sourceRoot":"","sources":["../../../../src/utils/scale.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,UAAU,EAAE,MAAM,cAAc,CAAC;AAEtD,eAAO,MAAM,eAAe,MAAM,CAAC;AACnC,eAAO,MAAM,cAAc,OAAO,CAAC;AACnC,eAAO,MAAM,cAAc,IAAI,CAAC;AAIhC,eAAO,MAAM,YAAY,GAAI,OAAO,MAAM,KAAG,MACkD,CAAC;AAEhG,eAAO,MAAM,WAAW,GAAI,OAAO,MAAM,EAAE,MAAM,MAAM,KAAG,MAA4D,CAAC;AAKvH,eAAO,MAAM,SAAS,GAAI,MAAM,MAAM,KAAG,MAAiD,CAAC;AAE3F,wBAAgB,eAAe,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,CAgB7E;AAED,KAAK,eAAe,GAAG,UAAU,CAAC,OAAO,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AAE/D,wBAAgB,YAAY,CAAC,CAAC,SAAS,eAAe,EAAE,MAAM,EAAE,CAAC,GAAG,QAAQ,CAAC,CAAC,CAAC,CAE9E"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiceBattle.d.ts","sourceRoot":"","sources":["../../../../src/views/DiceBattle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DiceBattle.d.ts","sourceRoot":"","sources":["../../../../src/views/DiceBattle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAOjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAwBtD,UAAU,eAAe;IACrB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAgBD,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA0pBzC,CAAC;AAoGF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DiceLobby.d.ts","sourceRoot":"","sources":["../../../../src/views/DiceLobby.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"DiceLobby.d.ts","sourceRoot":"","sources":["../../../../src/views/DiceLobby.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAgBjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMtD,UAAU,cAAc;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,KAAK,IAAI,CAAC;IACrD,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAoOvC,CAAC;AA6EF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FortuneWheel.d.ts","sourceRoot":"","sources":["../../../../src/views/FortuneWheel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"FortuneWheel.d.ts","sourceRoot":"","sources":["../../../../src/views/FortuneWheel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAOjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAyBtD,UAAU,iBAAiB;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4kB7C,CAAC;AA+FF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Freefall.d.ts","sourceRoot":"","sources":["../../../../src/views/Freefall.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Freefall.d.ts","sourceRoot":"","sources":["../../../../src/views/Freefall.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmG,MAAM,OAAO,CAAC;AA4BxH,OAAO,KAAK,EAAE,aAAa,EAAgB,MAAM,kBAAkB,CAAC;AAEpE,UAAU,aAAa;IACrB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAwDD,QAAA,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC,aAAa,CAsWrC,CAAC;AA8DF,eAAe,QAAQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"History.d.ts","sourceRoot":"","sources":["../../../../src/views/History.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"History.d.ts","sourceRoot":"","sources":["../../../../src/views/History.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;AAYnD,UAAU,YAAY;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;CACtB;AA6BD,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA4HnC,CAAC;AA0CF,eAAe,OAAO,CAAC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ParamlessRoute } from '../navigation/routes';
|
|
3
3
|
import type { AvailableGame, GameCode } from '../api/gameTypes';
|
|
4
4
|
interface HomeProps {
|
|
5
|
-
onNavigate: (s:
|
|
5
|
+
onNavigate: (s: ParamlessRoute) => void;
|
|
6
6
|
balance: number;
|
|
7
7
|
availableGames?: AvailableGame[];
|
|
8
8
|
onGameSelect?: (gameCode: GameCode) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../src/views/Home.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../../../src/views/Home.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAYpE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAa3D,OAAO,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAehE,UAAU,SAAS;IACf,UAAU,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,CAAC;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,aAAa,EAAE,CAAC;IACjC,YAAY,CAAC,EAAE,CAAC,QAAQ,EAAE,QAAQ,KAAK,IAAI,CAAC;IAC5C,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACvB;AA+PD,QAAA,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA0M7B,CAAC;AAgIF,eAAe,IAAI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Jetstream.d.ts","sourceRoot":"","sources":["../../../../src/views/Jetstream.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Jetstream.d.ts","sourceRoot":"","sources":["../../../../src/views/Jetstream.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AA6BjF,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,kBAAkB,CAAC;AAElE,UAAU,cAAc;IACtB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAwBD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CA6cvC,CAAC;AAoEF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Leaderboard.d.ts","sourceRoot":"","sources":["../../../../src/views/Leaderboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Leaderboard.d.ts","sourceRoot":"","sources":["../../../../src/views/Leaderboard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAwBxE,UAAU,gBAAgB;IACtB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACzC;AA0ED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAse3C,CAAC;AAqaF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MillionaireHunter.d.ts","sourceRoot":"","sources":["../../../../src/views/MillionaireHunter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"MillionaireHunter.d.ts","sourceRoot":"","sources":["../../../../src/views/MillionaireHunter.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAyBjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAStD,UAAU,sBAAsB;IAC5B,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAiCD,QAAA,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC,sBAAsB,CA+lCvD,CAAC;AA0NF,eAAe,iBAAiB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Minefield.d.ts","sourceRoot":"","sources":["../../../../src/views/Minefield.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Minefield.d.ts","sourceRoot":"","sources":["../../../../src/views/Minefield.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAmCjF,OAAO,KAAK,EAAE,aAAa,EAAc,MAAM,kBAAkB,CAAC;AAElE,UAAU,cAAc;IACtB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB;AAqBD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAuavC,CAAC;AAyDF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlayerCard.d.ts","sourceRoot":"","sources":["../../../../src/views/PlayerCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"PlayerCard.d.ts","sourceRoot":"","sources":["../../../../src/views/PlayerCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAK3C,UAAU,eAAe;IACrB,YAAY,EAAE,CAAC,GAAG,CAAC,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,UAAU,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,OAAO,CAAC;CACtB;AAED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAyDzC,CAAC;AAyCF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/views/Profile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Profile.d.ts","sourceRoot":"","sources":["../../../../src/views/Profile.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAiC,MAAM,OAAO,CAAC;AAgBtD,UAAU,YAAY;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC,EAAC,MAAM,KAAK,IAAI,CAAC;CACvC;AAED,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CA0LnC,CAAC;AAqEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import type { ParamlessRoute } from '../navigation/routes';
|
|
2
3
|
import type { AvailableGame } from '../api/gameTypes';
|
|
3
4
|
interface RaffleDrawProps {
|
|
4
|
-
onNavigate: (screen:
|
|
5
|
+
onNavigate: (screen: ParamlessRoute) => void;
|
|
5
6
|
/** Fallback only — real entry count comes from getRaffleDrawState.myTicketCount. */
|
|
6
7
|
tickets?: number;
|
|
7
8
|
onBack: () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RaffleDraw.d.ts","sourceRoot":"","sources":["../../../../src/views/RaffleDraw.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RaffleDraw.d.ts","sourceRoot":"","sources":["../../../../src/views/RaffleDraw.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmD,MAAM,OAAO,CAAC;AAgBxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAetD,UAAU,eAAe;IACrB,UAAU,EAAE,CAAC,MAAM,EAAE,cAAc,KAAK,IAAI,CAAC;IAC7C,oFAAoF;IACpF,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,IAAI,CAAC,EAAE,aAAa,CAAC;CACxB;AA4UD,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA8RzC,CAAC;AAuJF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RevealWin.d.ts","sourceRoot":"","sources":["../../../../src/views/RevealWin.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"RevealWin.d.ts","sourceRoot":"","sources":["../../../../src/views/RevealWin.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAuBjF,OAAO,KAAK,EAAE,aAAa,EAAmC,MAAM,kBAAkB,CAAC;AAUvF,UAAU,cAAc;IACpB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,KAAK,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAsBD,QAAA,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC,cAAc,CAywBvC,CAAC;AAmJF,eAAe,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Splash.d.ts","sourceRoot":"","sources":["../../../../src/views/Splash.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Splash.d.ts","sourceRoot":"","sources":["../../../../src/views/Splash.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAY3D,UAAU,WAAW;IACjB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;CAC9B;AAoCD,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAuBjC,CAAC;AAqQF,eAAe,MAAM,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Success.d.ts","sourceRoot":"","sources":["../../../../src/views/Success.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Success.d.ts","sourceRoot":"","sources":["../../../../src/views/Success.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAgBjD,UAAU,YAAY;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IACzB,IAAI,EAAE;QAAE,IAAI,EAAE,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;QAAC,MAAM,EAAE,MAAM,CAAA;KAAE,GAAG,IAAI,CAAC;CACzE;AAED,QAAA,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAsJnC,CAAC;AA6FF,eAAe,OAAO,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TicketShop.d.ts","sourceRoot":"","sources":["../../../../src/views/TicketShop.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"TicketShop.d.ts","sourceRoot":"","sources":["../../../../src/views/TicketShop.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAUjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAyBtD,UAAU,eAAe;IACrB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,KAAK,IAAI,CAAC;IACzE,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAsLD,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CA+MzC,CAAC;AAqHF,eAAe,UAAU,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriviaLobby.d.ts","sourceRoot":"","sources":["../../../../src/views/TriviaLobby.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TriviaLobby.d.ts","sourceRoot":"","sources":["../../../../src/views/TriviaLobby.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4B,MAAM,OAAO,CAAC;AAiBjD,OAAO,KAAK,EAAE,aAAa,EAAgB,MAAM,kBAAkB,CAAC;AAMpE,UAAU,gBAAgB;IACtB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,EAAE,UAAU,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;IAC1E,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,QAAA,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CA2P3C,CAAC;AAyEF,eAAe,WAAW,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriviaMaster.d.ts","sourceRoot":"","sources":["../../../../src/views/TriviaMaster.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"TriviaMaster.d.ts","sourceRoot":"","sources":["../../../../src/views/TriviaMaster.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA4D,MAAM,OAAO,CAAC;AAcjF,OAAO,KAAK,EAAE,aAAa,EAAsB,MAAM,kBAAkB,CAAC;AAgB1E,UAAU,iBAAiB;IACvB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,aAAa,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACxB;AAED,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CA4iB7C,CAAC;AAkGF,eAAe,YAAY,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Wallet.d.ts","sourceRoot":"","sources":["../../../../src/views/Wallet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"Wallet.d.ts","sourceRoot":"","sources":["../../../../src/views/Wallet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAoB3D,UAAU,WAAW;IACjB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,IAAI,CAAC;IACvB,UAAU,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAUD,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CAiMjC,CAAC;AA+EF,eAAe,MAAM,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { type ViewStyle } from 'react-native';
|
|
2
|
+
export type DicePair = [number, number];
|
|
3
|
+
export interface DiceTableScene {
|
|
4
|
+
you: string;
|
|
5
|
+
house: string;
|
|
6
|
+
player: string;
|
|
7
|
+
playerInk: string;
|
|
8
|
+
houseColor: string;
|
|
9
|
+
houseInk: string;
|
|
10
|
+
felt: string;
|
|
11
|
+
rail: string;
|
|
12
|
+
accent: string;
|
|
13
|
+
background: string;
|
|
14
|
+
canGrab: boolean;
|
|
15
|
+
faces: number[];
|
|
16
|
+
}
|
|
17
|
+
export interface DiceTableHandle {
|
|
18
|
+
deliver: (player: DicePair, house: DicePair) => void;
|
|
19
|
+
autoThrow: () => void;
|
|
20
|
+
cancel: () => void;
|
|
21
|
+
outcome: (winner: 'player' | 'house' | 'draw') => void;
|
|
22
|
+
}
|
|
23
|
+
export interface DiceTableLayout {
|
|
24
|
+
centerY: number;
|
|
25
|
+
gap: number;
|
|
26
|
+
}
|
|
27
|
+
interface DiceTable3DProps {
|
|
28
|
+
scene: DiceTableScene;
|
|
29
|
+
onReady: () => void;
|
|
30
|
+
onUnsupported: () => void;
|
|
31
|
+
onGrab: () => void;
|
|
32
|
+
onThrow: (side: 'player' | 'house') => void;
|
|
33
|
+
onShake: () => void;
|
|
34
|
+
onImpact: (strength: number) => void;
|
|
35
|
+
onSettled: (side: 'player' | 'house', values: DicePair) => void;
|
|
36
|
+
onTableLayout: (layout: DiceTableLayout) => void;
|
|
37
|
+
style?: ViewStyle;
|
|
38
|
+
}
|
|
39
|
+
declare const DiceTable3D: import("react").ForwardRefExoticComponent<DiceTable3DProps & import("react").RefAttributes<DiceTableHandle>>;
|
|
40
|
+
export default DiceTable3D;
|
|
41
|
+
//# sourceMappingURL=DiceTable3D.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiceTable3D.d.ts","sourceRoot":"","sources":["../../../../../src/views/dice3d/DiceTable3D.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIhE,MAAM,MAAM,QAAQ,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAExC,MAAM,WAAW,cAAc;IAC7B,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,EAAE,MAAM,EAAE,CAAC;CACjB;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,KAAK,IAAI,CAAC;IACrD,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,CAAC,MAAM,EAAE,QAAQ,GAAG,OAAO,GAAG,MAAM,KAAK,IAAI,CAAC;CACxD;AAED,MAAM,WAAW,eAAe;IAC9B,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,MAAM,CAAC;CACb;AAED,UAAU,gBAAgB;IACxB,KAAK,EAAE,cAAc,CAAC;IACtB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,aAAa,EAAE,MAAM,IAAI,CAAC;IAC1B,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,OAAO,EAAE,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,KAAK,IAAI,CAAC;IAC5C,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,CAAC,IAAI,EAAE,QAAQ,GAAG,OAAO,EAAE,MAAM,EAAE,QAAQ,KAAK,IAAI,CAAC;IAChE,aAAa,EAAE,CAAC,MAAM,EAAE,eAAe,KAAK,IAAI,CAAC;IACjD,KAAK,CAAC,EAAE,SAAS,CAAC;CACnB;AAaD,QAAA,MAAM,WAAW,8GAuFf,CAAC;AAOH,eAAe,WAAW,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diceScene.d.ts","sourceRoot":"","sources":["../../../../../src/views/dice3d/diceScene.ts"],"names":[],"mappings":"AAu2BA,eAAO,MAAM,eAAe,QASlB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diceSim.d.ts","sourceRoot":"","sources":["../../../../../src/views/dice3d/diceSim.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,WAAW,QAwSvB,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface DiceDuelOdds {
|
|
2
|
+
win: number;
|
|
3
|
+
tie: number;
|
|
4
|
+
loss: number;
|
|
5
|
+
}
|
|
6
|
+
export interface DiceOddsRow {
|
|
7
|
+
key: 'higher' | 'tie' | 'lower';
|
|
8
|
+
probability: number;
|
|
9
|
+
payout: number;
|
|
10
|
+
}
|
|
11
|
+
export declare function diceDuelOdds(): DiceDuelOdds;
|
|
12
|
+
export declare function diceWinMultiplier(winMultiplier: unknown): number | null;
|
|
13
|
+
export declare function diceReturnToPlayer(winMultiplier: number): number;
|
|
14
|
+
export declare function diceOddsRows(winMultiplier: number, stake: number): DiceOddsRow[];
|
|
15
|
+
//# sourceMappingURL=diceDuel.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"diceDuel.d.ts","sourceRoot":"","sources":["../../../../src/views/diceDuel.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,QAAQ,GAAG,KAAK,GAAG,OAAO,CAAC;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,YAAY,IAAI,YAAY,CAK3C;AAED,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,OAAO,GAAG,MAAM,GAAG,IAAI,CAEvE;AAED,wBAAgB,kBAAkB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CAEhE;AAED,wBAAgB,YAAY,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,WAAW,EAAE,CAOhF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const hopMs: (row: number) => number;
|
|
2
|
+
export interface DropTimeline {
|
|
3
|
+
rowStartsMs: number[];
|
|
4
|
+
landMs: number;
|
|
5
|
+
totalMs: number;
|
|
6
|
+
xAt: (ms: number) => number;
|
|
7
|
+
yAt: (ms: number) => number;
|
|
8
|
+
opacityAt: (ms: number) => number;
|
|
9
|
+
}
|
|
10
|
+
export interface DropSamples {
|
|
11
|
+
totalMs: number;
|
|
12
|
+
input: number[];
|
|
13
|
+
x: number[];
|
|
14
|
+
y: number[];
|
|
15
|
+
opacity: number[];
|
|
16
|
+
}
|
|
17
|
+
export declare function sampleDrop(drop: DropTimeline, perHop?: number): DropSamples;
|
|
18
|
+
export declare function dropTimeline(path: readonly string[], slotWidth: number, rowHeight: number, pocketY: number): DropTimeline;
|
|
19
|
+
//# sourceMappingURL=freefallDrop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"freefallDrop.d.ts","sourceRoot":"","sources":["../../../../src/views/freefallDrop.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK,GAAI,KAAK,MAAM,KAAG,MAAgD,CAAC;AAErF,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE,MAAM,EAAE,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;IAC5B,GAAG,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;IAC5B,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,MAAM,CAAC;CACnC;AAED,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,CAAC,EAAE,MAAM,EAAE,CAAC;IACZ,CAAC,EAAE,MAAM,EAAE,CAAC;IACZ,OAAO,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,wBAAgB,UAAU,CAAC,IAAI,EAAE,YAAY,EAAE,MAAM,SAAI,GAAG,WAAW,CActE;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,SAAS,MAAM,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,YAAY,CAoCzH"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare const LOBBY_WIDE_MIN_WIDTH = 600;
|
|
2
|
+
export declare const LOBBY_COMPACT_MAX_WIDTH = 400;
|
|
3
|
+
export declare function lobbyColumns(width: number): number;
|
|
4
|
+
export declare function lobbyCardWidth(contentWidth: number, columns: number, gap: number): number;
|
|
5
|
+
export interface DrawCountdown {
|
|
6
|
+
days: string;
|
|
7
|
+
hours: string;
|
|
8
|
+
minutes: string;
|
|
9
|
+
}
|
|
10
|
+
export declare function drawCountdown(drawDate: string | null | undefined, now: number): DrawCountdown | null;
|
|
11
|
+
export declare function tipLines(text: string): string[];
|
|
12
|
+
export declare function sunburstPath(rays: number, radius: number, center?: number): string;
|
|
13
|
+
export declare function nextFeaturedCode(codes: readonly string[], last: string | null): string | null;
|
|
14
|
+
export declare function rotateToFront<T>(items: readonly T[], index: number): T[];
|
|
15
|
+
//# sourceMappingURL=homeLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"homeLayout.d.ts","sourceRoot":"","sources":["../../../../src/views/homeLayout.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB,MAAM,CAAC;AACxC,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAE3C,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAIlD;AAED,wBAAgB,cAAc,CAAC,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,CAEzF;AAED,MAAM,WAAW,aAAa;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACnB;AAID,wBAAgB,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,aAAa,GAAG,IAAI,CAUpG;AAED,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAK/C;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,SAAK,GAAG,MAAM,CAQ9E;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,IAAI,CAI7F;AAED,wBAAgB,aAAa,CAAC,CAAC,EAAE,KAAK,EAAE,SAAS,CAAC,EAAE,EAAE,KAAK,EAAE,MAAM,GAAG,CAAC,EAAE,CAGxE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"launchFeatured.d.ts","sourceRoot":"","sources":["../../../../src/views/launchFeatured.ts"],"names":[],"mappings":"AA4BA,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,GAAG,MAAM,GAAG,IAAI,CAuBzE"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export type LeaderboardPhase = 'none' | 'upcoming' | 'open' | 'locked' | 'drawing' | 'announced' | 'cancelled';
|
|
2
|
+
export declare function leaderboardPhase(state: string | null | undefined): LeaderboardPhase;
|
|
3
|
+
export type RafflePeriod = 'daily' | 'weekly' | 'monthly' | 'round';
|
|
4
|
+
export declare function rafflePeriod(recurrence: string | null | undefined): RafflePeriod;
|
|
5
|
+
export declare function countdownText(target: string | null | undefined, now: number): string | null;
|
|
6
|
+
//# sourceMappingURL=leaderboardPhase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"leaderboardPhase.d.ts","sourceRoot":"","sources":["../../../../src/views/leaderboardPhase.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,WAAW,GAAG,WAAW,CAAC;AAE/G,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,gBAAgB,CAwBnF;AAED,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAC;AAIpE,wBAAgB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,YAAY,CAEhF;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAW3F"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { type ViewStyle } from 'react-native';
|
|
3
|
+
export declare const LOBBY: {
|
|
4
|
+
bg: string;
|
|
5
|
+
surface: string;
|
|
6
|
+
border: string;
|
|
7
|
+
text: string;
|
|
8
|
+
muted: string;
|
|
9
|
+
subtle: string;
|
|
10
|
+
gold: string;
|
|
11
|
+
goldInk: string;
|
|
12
|
+
chip: string;
|
|
13
|
+
shade: string;
|
|
14
|
+
onBand: string;
|
|
15
|
+
leaderTint: string;
|
|
16
|
+
oracleTint: string;
|
|
17
|
+
oracleLabel: string;
|
|
18
|
+
dot: string;
|
|
19
|
+
fallbackBand: string;
|
|
20
|
+
success: string;
|
|
21
|
+
onHero: string;
|
|
22
|
+
};
|
|
23
|
+
export declare function useNow(intervalMs: number): number;
|
|
24
|
+
export declare function useReducedMotion(): boolean | null;
|
|
25
|
+
export declare const Perforation: React.FC<{
|
|
26
|
+
vertical?: boolean;
|
|
27
|
+
style: ViewStyle;
|
|
28
|
+
}>;
|
|
29
|
+
export declare const Notch: React.FC<{
|
|
30
|
+
size: number;
|
|
31
|
+
style: ViewStyle;
|
|
32
|
+
bordered?: boolean;
|
|
33
|
+
}>;
|
|
34
|
+
export declare const Sunburst: React.FC<{
|
|
35
|
+
size: number;
|
|
36
|
+
style: ViewStyle;
|
|
37
|
+
color?: string;
|
|
38
|
+
opacity?: number;
|
|
39
|
+
}>;
|
|
40
|
+
export declare const Countdown: React.FC<{
|
|
41
|
+
drawDate?: string | null;
|
|
42
|
+
compact: boolean;
|
|
43
|
+
labelColor?: string;
|
|
44
|
+
}>;
|
|
45
|
+
//# sourceMappingURL=lobbyKit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"lobbyKit.d.ts","sourceRoot":"","sources":["../../../../src/views/lobbyKit.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAC3D,OAAO,EAA+D,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAM3G,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;CAmBjB,CAAC;AAIF,wBAAgB,MAAM,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAOjD;AAED,wBAAgB,gBAAgB,IAAI,OAAO,GAAG,IAAI,CAYjD;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,SAAS,CAAA;CAAE,CAI1E,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,SAAS,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CASlF,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,SAAS,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAAE,CAmBnG,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAAK,CAAC,EAAE,CAAC;IAAE,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAmBnG,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"raffleContent.d.ts","sourceRoot":"","sources":["../../../../src/views/raffleContent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,aAAa,GAAG,IAAI,GAAG,SAAS,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAMxJ"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type RafflePhase = 'PRE_DRAW' | 'DRAW_DUE' | 'RESULT';
|
|
2
|
+
export declare const RAFFLE_RESULT_SHOW_MS: number;
|
|
3
|
+
export declare function rafflePhase(input: {
|
|
4
|
+
hasLatestDraw: boolean;
|
|
5
|
+
drawnAt: string | null | undefined;
|
|
6
|
+
drawDate: string | null | undefined;
|
|
7
|
+
now: number;
|
|
8
|
+
}): RafflePhase;
|
|
9
|
+
//# sourceMappingURL=rafflePhase.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"rafflePhase.d.ts","sourceRoot":"","sources":["../../../../src/views/rafflePhase.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE7D,eAAO,MAAM,qBAAqB,QAAiB,CAAC;AAEpD,wBAAgB,WAAW,CAAC,KAAK,EAAE;IAC/B,aAAa,EAAE,OAAO,CAAC;IACvB,OAAO,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACnC,QAAQ,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACpC,GAAG,EAAE,MAAM,CAAC;CACf,GAAG,WAAW,CAUd"}
|
|
@@ -12,4 +12,13 @@ export declare function buildRewardCards(round: RevealWinRound, symbols?: Reveal
|
|
|
12
12
|
export declare function isRoundOver(round: RevealWinRound): boolean;
|
|
13
13
|
export declare function boardCellCount(round: RevealWinRound): number;
|
|
14
14
|
export declare function symbolForRevealedTile(round: RevealWinRound, tileIndex: number): string | null;
|
|
15
|
+
export interface RevealPaytableRow {
|
|
16
|
+
code: string;
|
|
17
|
+
assetKey: string;
|
|
18
|
+
multiplier: number;
|
|
19
|
+
probability: number;
|
|
20
|
+
payout: number;
|
|
21
|
+
}
|
|
22
|
+
export declare function revealPaytableRows(symbols: RevealWinSymbol[], tiles: number, reveals: number, stake: number): RevealPaytableRow[];
|
|
23
|
+
export declare function revealReturnToPlayer(rows: RevealPaytableRow[]): number;
|
|
15
24
|
//# sourceMappingURL=revealWinHelpers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"revealWinHelpers.d.ts","sourceRoot":"","sources":["../../../../src/views/revealWinHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExE,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,eAAe,EAAE,GAAG,YAAY,EAAE,CAkBnG;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAE1D;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,CAE5D;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAI7F"}
|
|
1
|
+
{"version":3,"file":"revealWinHelpers.d.ts","sourceRoot":"","sources":["../../../../src/views/revealWinHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExE,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,eAAe,EAAE,MAAM,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;CACvB;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,CAAC,EAAE,eAAe,EAAE,GAAG,YAAY,EAAE,CAkBnG;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,cAAc,GAAG,OAAO,CAE1D;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,GAAG,MAAM,CAE5D;AAED,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAI7F;AAED,MAAM,WAAW,iBAAiB;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AASD,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,eAAe,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,iBAAiB,EAAE,CAYjI;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,EAAE,GAAG,MAAM,CAEtE"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const FLOAT_MS = 3600;
|
|
2
|
+
export declare const TWINKLE_MS = 2400;
|
|
3
|
+
export interface CycleTable {
|
|
4
|
+
inputRange: number[];
|
|
5
|
+
curve: number[];
|
|
6
|
+
}
|
|
7
|
+
export declare function cycleTable(samples?: number): CycleTable;
|
|
8
|
+
export declare function cycleRange(table: CycleTable, from: number, to: number): {
|
|
9
|
+
inputRange: number[];
|
|
10
|
+
outputRange: number[];
|
|
11
|
+
};
|
|
12
|
+
export declare function twinkleStartDelay(cssLeadMs: number, periodMs?: number): number;
|
|
13
|
+
//# sourceMappingURL=shopArtMotion.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"shopArtMotion.d.ts","sourceRoot":"","sources":["../../../../src/views/shopArtMotion.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,QAAQ,OAAO,CAAC;AAC7B,eAAO,MAAM,UAAU,OAAO,CAAC;AAE/B,MAAM,WAAW,UAAU;IACvB,UAAU,EAAE,MAAM,EAAE,CAAC;IACrB,KAAK,EAAE,MAAM,EAAE,CAAC;CACnB;AAED,wBAAgB,UAAU,CAAC,OAAO,SAAK,GAAG,UAAU,CAInD;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG;IAAE,UAAU,EAAE,MAAM,EAAE,CAAC;IAAC,WAAW,EAAE,MAAM,EAAE,CAAA;CAAE,CAEvH;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,SAAa,GAAG,MAAM,CAGlF"}
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
import type
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*
|
|
5
|
-
* Ticket bundles are DB-driven: the config (gameplayRules.ticketBundles) supplies each
|
|
6
|
-
* bundle's id, display name, ticket count and an `imageKey`. The images themselves are
|
|
7
|
-
* app-bundled brand assets, so the config references them by KEY — mirroring the existing
|
|
8
|
-
* `uiConfig.lottieId` convention — rather than shipping binaries or URLs for bundled art.
|
|
9
|
-
*
|
|
10
|
-
* Admins pick an `imageKey` from this palette per bundle. Add a new entry here (and its
|
|
11
|
-
* asset in IMAGES) to widen the palette without touching TicketShop.
|
|
12
|
-
*/
|
|
13
|
-
/**
|
|
14
|
-
* Resolve a bundle's preset image by key. Falls back to a stable rotation through the
|
|
15
|
-
* palette by index, so a bundle without a valid `imageKey` still renders a sensible image.
|
|
16
|
-
*/
|
|
17
|
-
export declare function resolveBundleImage(imageKey: string | undefined, index: number): ImageSourcePropType;
|
|
1
|
+
import { type ShopArt } from './ticketShopArt';
|
|
2
|
+
export declare const PACK_BANDS: string[];
|
|
3
|
+
export declare function resolveBundleArt(imageKey: string | undefined, tickets: number): ShopArt;
|
|
18
4
|
//# sourceMappingURL=ticketBundlePresets.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ticketBundlePresets.d.ts","sourceRoot":"","sources":["../../../../src/views/ticketBundlePresets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"ticketBundlePresets.d.ts","sourceRoot":"","sources":["../../../../src/views/ticketBundlePresets.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsD,KAAK,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAuBnG,eAAO,MAAM,UAAU,UAAoC,CAAC;AAE5D,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,EAAE,OAAO,EAAE,MAAM,GAAG,OAAO,CAKvF"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface ShopArtLayer {
|
|
2
|
+
d: string;
|
|
3
|
+
fill?: string;
|
|
4
|
+
stroke?: string;
|
|
5
|
+
strokeWidth?: number;
|
|
6
|
+
}
|
|
7
|
+
export interface ShopArtTwinkle {
|
|
8
|
+
x: number;
|
|
9
|
+
y: number;
|
|
10
|
+
size: number;
|
|
11
|
+
fill: string;
|
|
12
|
+
delayMs: number;
|
|
13
|
+
}
|
|
14
|
+
export interface ShopArt {
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
still: ShopArtLayer[];
|
|
18
|
+
floating: ShopArtLayer[];
|
|
19
|
+
twinkles: ShopArtTwinkle[];
|
|
20
|
+
}
|
|
21
|
+
export declare const TWINKLE_PATH = "M10 0C11.2 7 13 8.8 20 10C13 11.2 11.2 13 10 20C8.8 13 7 11.2 0 10C7 8.8 8.8 7 10 0Z";
|
|
22
|
+
export declare const SINGLE_TICKET_ART: ShopArt;
|
|
23
|
+
export declare const TICKET_FAN_ART: ShopArt;
|
|
24
|
+
export declare const TICKET_ROLL_ART: ShopArt;
|
|
25
|
+
export declare const TICKETS_SECURED_ART: ShopArt;
|
|
26
|
+
export declare const JACKPOT_TICKET_ART: ShopArt;
|
|
27
|
+
//# sourceMappingURL=ticketShopArt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ticketShopArt.d.ts","sourceRoot":"","sources":["../../../../src/views/ticketShopArt.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IACzB,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,cAAc;IAC3B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,OAAO;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,YAAY,EAAE,CAAC;IACtB,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,QAAQ,EAAE,cAAc,EAAE,CAAC;CAC9B;AAED,eAAO,MAAM,YAAY,yFAAyF,CAAC;AAEnH,eAAO,MAAM,iBAAiB,EAAE,OAiE/B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,OAwH5B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,OA4F7B,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,OAwJjC,CAAC;AAEF,eAAO,MAAM,kBAAkB,EAAE,OA4DhC,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type GridGeometry } from './gridGeometry';
|
|
2
|
+
export interface PaytableRow {
|
|
3
|
+
hits: number;
|
|
4
|
+
multiplier: number;
|
|
5
|
+
probability: number;
|
|
6
|
+
payout: number;
|
|
7
|
+
}
|
|
8
|
+
export declare function hitProbabilities(gridSize: number, treasureCount: number, picks: number): number[];
|
|
9
|
+
export declare function paytableRows(gridSize: number, treasureCount: number, hitMultipliers: number[], stake: number): PaytableRow[];
|
|
10
|
+
export declare function returnToPlayer(gridSize: number, treasureCount: number, hitMultipliers: number[]): number;
|
|
11
|
+
export declare function oddsLabel(probability: number): string;
|
|
12
|
+
export declare function quickPick(gridSize: number, chosen: number[], count: number, random?: () => number): number[];
|
|
13
|
+
export declare function togglePick(selected: number[], cell: number, maxPicks: number): number[];
|
|
14
|
+
export interface HunterLayout {
|
|
15
|
+
landscape: boolean;
|
|
16
|
+
boardWidth: number;
|
|
17
|
+
geometry: GridGeometry;
|
|
18
|
+
}
|
|
19
|
+
export declare const HUNTER_CHROME: {
|
|
20
|
+
portraitReserved: number;
|
|
21
|
+
landscapeReserved: number;
|
|
22
|
+
padding: number;
|
|
23
|
+
gap: number;
|
|
24
|
+
maxBoard: number;
|
|
25
|
+
twoPaneMinWidth: number;
|
|
26
|
+
singleColumnMinHeight: number;
|
|
27
|
+
};
|
|
28
|
+
export declare function hunterLayout(width: number, height: number, cellCount: number): HunterLayout;
|
|
29
|
+
//# sourceMappingURL=treasureHunt.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"treasureHunt.d.ts","sourceRoot":"","sources":["../../../../src/views/treasureHunt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAExE,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,EAAE,MAAM,CAAC;CAChB;AASD,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAKjG;AAED,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,MAAM,EAChB,aAAa,EAAE,MAAM,EACrB,cAAc,EAAE,MAAM,EAAE,EACxB,KAAK,EAAE,MAAM,GACZ,WAAW,EAAE,CAWf;AAED,wBAAgB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,EAAE,GAAG,MAAM,CAGxG;AAED,wBAAgB,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,MAAM,CAIrD;AAED,wBAAgB,SAAS,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,GAAE,MAAM,MAAoB,GAAG,MAAM,EAAE,CAOzH;AAED,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,EAAE,CAGvF;AAED,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,YAAY,CAAC;CACxB;AAED,eAAO,MAAM,aAAa;;;;;;;;CAA4I,CAAC;AAEvK,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,GAAG,YAAY,CAW3F"}
|