@opexa/portal-components 0.0.289 → 0.0.291

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.
Files changed (266) hide show
  1. package/dist/client/hooks/useAuthenticateMutation.js +8 -3
  2. package/dist/client/hooks/useSignInMutation.js +8 -3
  3. package/dist/components/Banner/Banner.client.d.ts +12 -0
  4. package/dist/components/Banner/Banner.client.js +49 -0
  5. package/dist/components/Bonus/Bonus.client.js +4 -4
  6. package/dist/components/Cashback/Cashback.client.js +1 -1
  7. package/dist/components/CustomPromo/CustomPromo.js +1 -1
  8. package/dist/components/GameLaunch/GameLaunch.lazy.js +1 -1
  9. package/dist/components/GamesSearch/GamesSearch.js +1 -1
  10. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  11. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  12. package/dist/components/KYC/utils.js +18 -18
  13. package/dist/components/News/News.js +1 -1
  14. package/dist/components/PortalProvider/FeatureFlag.js +1 -1
  15. package/dist/components/PortalProvider/PortalProvider.d.ts +3 -2
  16. package/dist/components/PortalProvider/PortalProvider.js +3 -4
  17. package/dist/components/PortalProvider/Providers.d.ts +5 -4
  18. package/dist/components/PortalProvider/Providers.js +3 -2
  19. package/dist/components/Promo/Promo.client.js +1 -1
  20. package/dist/components/Quests/JourneyQuest.d.ts +1 -0
  21. package/dist/components/Quests/JourneyQuest.js +61 -0
  22. package/dist/components/Quests/Quests.client.js +2 -0
  23. package/dist/components/Search/Search.lazy.js +1 -1
  24. package/dist/components/SignIn/MobileNumberSignIn.d.ts +1 -5
  25. package/dist/components/SignIn/MobileNumberSignIn.js +5 -23
  26. package/dist/components/SignIn/NameAndPasswordSignIn.d.ts +1 -5
  27. package/dist/components/SignIn/NameAndPasswordSignIn.js +6 -14
  28. package/dist/components/SignIn/SignIn.lazy.js +1 -1
  29. package/dist/components/SignIn/SignInForm.d.ts +1 -5
  30. package/dist/components/SignIn/SignInForm.js +2 -2
  31. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +3 -7
  32. package/dist/components/SignUp/SignUpKYC/utils.js +18 -18
  33. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  34. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  35. package/dist/constants/EnvVar.d.ts +0 -2
  36. package/dist/constants/EnvVar.js +0 -11
  37. package/dist/constants/GameProvider.d.ts +1 -1
  38. package/dist/constants/GameProvider.js +1 -0
  39. package/dist/handlers/postAuthenticate.js +1 -1
  40. package/dist/handlers/postSession.js +1 -1
  41. package/dist/handlers/postTransformIdFrontImage.d.ts +3 -0
  42. package/dist/handlers/postTransformIdFrontImage.js +82 -0
  43. package/dist/handlers/postTransformSelfieImage.d.ts +3 -0
  44. package/dist/handlers/postTransformSelfieImage.js +82 -0
  45. package/dist/services/graphqlRequest.js +1 -9
  46. package/dist/services/httpRequest.js +1 -9
  47. package/dist/services/queries.js +2574 -2574
  48. package/dist/styles/theme.css +704 -701
  49. package/dist/ui/AlertDialog/AlertDialog.d.ts +55 -55
  50. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +5 -5
  51. package/dist/ui/Badge/Badge.d.ts +12 -0
  52. package/dist/ui/Badge/badge.recipe.d.ts +3 -0
  53. package/dist/ui/Badge/badge.recipe.js +11 -0
  54. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  55. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  56. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  57. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  58. package/dist/ui/Dialog/Dialog.d.ts +55 -55
  59. package/dist/ui/Dialog/dialog.recipe.d.ts +5 -5
  60. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  61. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  62. package/dist/ui/Field/Field.d.ts +21 -21
  63. package/dist/ui/Field/field.recipe.d.ts +3 -3
  64. package/package.json +164 -163
  65. package/dist/client/hooks/index.d.ts +0 -65
  66. package/dist/client/hooks/index.js +0 -65
  67. package/dist/client/services/index.d.ts +0 -4
  68. package/dist/client/services/index.js +0 -4
  69. package/dist/client/utils/index.d.ts +0 -3
  70. package/dist/client/utils/index.js +0 -3
  71. package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +0 -2
  72. package/dist/components/CashbackBonus/CashbackBonus.client.js +0 -9
  73. package/dist/components/CashbackBonus/CashbackBonus.d.ts +0 -10
  74. package/dist/components/CashbackBonus/CashbackBonus.js +0 -5
  75. package/dist/components/CashbackBonus/index.d.ts +0 -1
  76. package/dist/components/CashbackBonus/index.js +0 -1
  77. package/dist/components/Empty.d.ts +0 -9
  78. package/dist/components/Empty.js +0 -7
  79. package/dist/components/FeatureFlag/FeatureFlag.d.ts +0 -1
  80. package/dist/components/FeatureFlag/FeatureFlag.js +0 -29
  81. package/dist/components/FeatureFlag/index.d.ts +0 -1
  82. package/dist/components/FeatureFlag/index.js +0 -1
  83. package/dist/components/Games/GameContext.d.ts +0 -2
  84. package/dist/components/Games/GameContext.js +0 -2
  85. package/dist/components/InfiniteScroll.d.ts +0 -10
  86. package/dist/components/InfiniteScroll.js +0 -25
  87. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
  88. package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
  89. package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
  90. package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
  91. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
  92. package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
  93. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
  94. package/dist/components/JackpotCounter/index.d.ts +0 -1
  95. package/dist/components/JackpotCounter/index.js +0 -1
  96. package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
  97. package/dist/components/Jackpots/JackpotDesktop.js +0 -45
  98. package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
  99. package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
  100. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +0 -9
  101. package/dist/components/Jackpots/JackpotItemDesktop.js +0 -43
  102. package/dist/components/Jackpots/JackpotItemMobile.d.ts +0 -9
  103. package/dist/components/Jackpots/JackpotItemMobile.js +0 -44
  104. package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
  105. package/dist/components/Jackpots/JackpotMobile.js +0 -46
  106. package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
  107. package/dist/components/Jackpots/JackpotRules.js +0 -11
  108. package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
  109. package/dist/components/Jackpots/Jackpots.client.js +0 -29
  110. package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
  111. package/dist/components/Jackpots/JackpotsContext.js +0 -3
  112. package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
  113. package/dist/components/Jackpots/useJackpotData.js +0 -93
  114. package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -20
  115. package/dist/components/Jackpots/useJackpotItemData.js +0 -87
  116. package/dist/components/KYC/AutoOpen.d.ts +0 -1
  117. package/dist/components/KYC/AutoOpen.js +0 -45
  118. package/dist/components/KYC/Header.d.ts +0 -1
  119. package/dist/components/KYC/Header.js +0 -8
  120. package/dist/components/KYC/Step1.d.ts +0 -1
  121. package/dist/components/KYC/Step1.js +0 -13
  122. package/dist/components/KYC/Step2.d.ts +0 -1
  123. package/dist/components/KYC/Step2.js +0 -13
  124. package/dist/components/KYC/Step3.d.ts +0 -1
  125. package/dist/components/KYC/Step3.js +0 -13
  126. package/dist/components/KYC/Step4.d.ts +0 -1
  127. package/dist/components/KYC/Step4.js +0 -7
  128. package/dist/components/KYC/backup/Header.d.ts +0 -1
  129. package/dist/components/KYC/backup/Header.js +0 -8
  130. package/dist/components/KYC/backup/Indicator.d.ts +0 -1
  131. package/dist/components/KYC/backup/Indicator.js +0 -9
  132. package/dist/components/KYC/backup/KYC.d.ts +0 -1
  133. package/dist/components/KYC/backup/KYC.js +0 -14
  134. package/dist/components/KYC/backup/KYC.lazy.d.ts +0 -1
  135. package/dist/components/KYC/backup/KYC.lazy.js +0 -26
  136. package/dist/components/KYC/backup/KYCContext.d.ts +0 -6
  137. package/dist/components/KYC/backup/KYCContext.js +0 -2
  138. package/dist/components/KYC/backup/Step1.d.ts +0 -1
  139. package/dist/components/KYC/backup/Step1.js +0 -13
  140. package/dist/components/KYC/backup/Step2.d.ts +0 -1
  141. package/dist/components/KYC/backup/Step2.js +0 -13
  142. package/dist/components/KYC/backup/Step3.d.ts +0 -1
  143. package/dist/components/KYC/backup/Step3.js +0 -13
  144. package/dist/components/KYC/backup/Step4.d.ts +0 -1
  145. package/dist/components/KYC/backup/Step4.js +0 -7
  146. package/dist/components/KYC/backup/useKYC.d.ts +0 -10
  147. package/dist/components/KYC/backup/useKYC.js +0 -8
  148. package/dist/components/KYC/loadModels.d.ts +0 -1
  149. package/dist/components/KYC/loadModels.js +0 -9
  150. package/dist/components/Messages/Message.d.ts +0 -1
  151. package/dist/components/Messages/Message.js +0 -34
  152. package/dist/components/Messages/MessageContext.d.ts +0 -6
  153. package/dist/components/Messages/MessageContext.js +0 -2
  154. package/dist/components/Messages/MessageItem.d.ts +0 -4
  155. package/dist/components/Messages/MessageItem.js +0 -34
  156. package/dist/components/Messages/MessagePopup.d.ts +0 -1
  157. package/dist/components/Messages/MessagePopup.js +0 -19
  158. package/dist/components/Messages/MessageTrigger.d.ts +0 -8
  159. package/dist/components/Messages/MessageTrigger.js +0 -19
  160. package/dist/components/Promo/PromoContent.d.ts +0 -2
  161. package/dist/components/Promo/PromoContent.js +0 -9
  162. package/dist/components/Promos/PromoCarousel.d.ts +0 -2
  163. package/dist/components/Promos/PromoCarousel.js +0 -41
  164. package/dist/components/Promos/PromoGrid.d.ts +0 -2
  165. package/dist/components/Promos/PromoGrid.js +0 -12
  166. package/dist/components/Promos/PromoItem.d.ts +0 -7
  167. package/dist/components/Promos/PromoItem.js +0 -10
  168. package/dist/components/Quests/CountdownTimer.d.ts +0 -15
  169. package/dist/components/Quests/CountdownTimer.js +0 -33
  170. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +0 -4
  171. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +0 -78
  172. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +0 -8
  173. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +0 -9
  174. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +0 -4
  175. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +0 -4
  176. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +0 -4
  177. package/dist/components/Quests/WageringQuest/WageringQuest.js +0 -20
  178. package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +0 -9
  179. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +0 -9
  180. package/dist/components/SignUp/SignUp.lazy.d.ts +0 -12
  181. package/dist/components/SignUp/SignUp.lazy.js +0 -18
  182. package/dist/components/SignUp/SignUpContext.d.ts +0 -6
  183. package/dist/components/SignUp/SignUpContext.js +0 -2
  184. package/dist/components/SignUp/SignUpForm.d.ts +0 -1
  185. package/dist/components/SignUp/SignUpForm.js +0 -288
  186. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
  187. package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
  188. package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
  189. package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
  190. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
  191. package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
  192. package/dist/components/TournamentCounter/index.d.ts +0 -1
  193. package/dist/components/TournamentCounter/index.js +0 -1
  194. package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
  195. package/dist/components/Tournaments/TournamentDesktop.js +0 -57
  196. package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
  197. package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
  198. package/dist/components/Tournaments/TournamentItemDesktop.d.ts +0 -7
  199. package/dist/components/Tournaments/TournamentItemDesktop.js +0 -56
  200. package/dist/components/Tournaments/TournamentItemMobile.d.ts +0 -7
  201. package/dist/components/Tournaments/TournamentItemMobile.js +0 -54
  202. package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
  203. package/dist/components/Tournaments/TournamentMobile.js +0 -55
  204. package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
  205. package/dist/components/Tournaments/TournamentRules.js +0 -11
  206. package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
  207. package/dist/components/Tournaments/Tournaments.client.js +0 -20
  208. package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
  209. package/dist/components/Tournaments/TournamentsContext.js +0 -3
  210. package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
  211. package/dist/components/Tournaments/useTournamentData.js +0 -72
  212. package/dist/components/Tournaments/useTournamentItemData.d.ts +0 -16
  213. package/dist/components/Tournaments/useTournamentItemData.js +0 -64
  214. package/dist/components/index.d.ts +0 -33
  215. package/dist/components/index.js +0 -33
  216. package/dist/components/shared/IdDocumentField.client.d.ts +0 -25
  217. package/dist/components/shared/IdDocumentField.client.js +0 -204
  218. package/dist/components/shared/IdDocumentField.d.ts +0 -2
  219. package/dist/components/shared/IdDocumentField.js +0 -11
  220. package/dist/components/shared/SelfieField.client.d.ts +0 -20
  221. package/dist/components/shared/SelfieField.client.js +0 -327
  222. package/dist/components/shared/SelfieField.d.ts +0 -2
  223. package/dist/components/shared/SelfieField.js +0 -11
  224. package/dist/constants/BranchCode.d.ts +0 -4
  225. package/dist/constants/BranchCode.js +0 -42
  226. package/dist/constants/endpoints.d.ts +0 -10
  227. package/dist/constants/endpoints.js +0 -41
  228. package/dist/constants/envVars.d.ts +0 -5
  229. package/dist/constants/envVars.js +0 -28
  230. package/dist/constants/gameProviders.d.ts +0 -76
  231. package/dist/constants/gameProviders.js +0 -361
  232. package/dist/constants/gameTypes.d.ts +0 -3
  233. package/dist/constants/gameTypes.js +0 -64
  234. package/dist/constants/headerKeys.d.ts +0 -2
  235. package/dist/constants/headerKeys.js +0 -2
  236. package/dist/constants/secretQuestions.d.ts +0 -3
  237. package/dist/constants/secretQuestions.js +0 -24
  238. package/dist/constants/storageKeys.d.ts +0 -2
  239. package/dist/constants/storageKeys.js +0 -2
  240. package/dist/handlers.d.ts +0 -43
  241. package/dist/handlers.js +0 -297
  242. package/dist/icons/BellRingIcon.d.ts +0 -2
  243. package/dist/icons/BellRingIcon.js +0 -4
  244. package/dist/icons/index.d.ts +0 -65
  245. package/dist/icons/index.js +0 -65
  246. package/dist/images/hacksaw-gaming.png +0 -0
  247. package/dist/server/services/index.d.ts +0 -4
  248. package/dist/server/services/index.js +0 -4
  249. package/dist/server/utils/index.d.ts +0 -29
  250. package/dist/server/utils/index.js +0 -29
  251. package/dist/ui/Presence.d.ts +0 -2
  252. package/dist/ui/Presence.js +0 -7
  253. package/dist/ui/Prose.d.ts +0 -2
  254. package/dist/ui/Prose.js +0 -5
  255. package/dist/ui/index.d.ts +0 -26
  256. package/dist/ui/index.js +0 -26
  257. package/dist/utils/createErrorFromCode.d.ts +0 -2
  258. package/dist/utils/createErrorFromCode.js +0 -11
  259. package/dist/utils/dataUrlToBlob.d.ts +0 -1
  260. package/dist/utils/dataUrlToBlob.js +0 -11
  261. package/dist/utils/index.d.ts +0 -17
  262. package/dist/utils/index.js +0 -17
  263. package/dist/utils/isMobile.d.ts +0 -5
  264. package/dist/utils/isMobile.js +0 -9
  265. package/dist/utils/resizeImageSize.d.ts +0 -1
  266. package/dist/utils/resizeImageSize.js +0 -6
@@ -1,184 +1,184 @@
1
- @keyframes arrow-green-flash {
2
- 0% {
3
- color: #abefc6;
4
- }
5
- 100% {
6
- color: #079455;
7
- }
8
- }
9
-
10
- .animate-arrow-green-flash-1 {
11
- animation: arrow-green-flash 0.4s infinite;
12
- animation-delay: -0.2s;
13
- }
14
-
15
- .animate-arrow-green-flash-2 {
16
- animation: arrow-green-flash 0.4s infinite;
17
- animation-delay: -0.1s;
18
- }
19
-
20
- .animate-arrow-green-flash-3 {
21
- animation: arrow-green-flash 0.4s infinite;
22
- }
23
-
24
- @keyframes arrow-red-flash {
25
- 0%,
26
- 100% {
27
- color: #f97066;
28
- }
29
- 50% {
30
- color: #fecdca;
31
- }
32
- }
33
-
34
- .animate-arrow-red-flash-1 {
35
- animation: arrow-red-flash 0.4s infinite;
36
- }
37
-
38
- .animate-arrow-red-flash-2 {
39
- animation: arrow-red-flash 0.4s infinite;
40
- animation-delay: -0.1s;
41
- }
42
-
43
- .animate-arrow-red-flash-3 {
44
- animation: arrow-red-flash 0.4s infinite;
45
- animation-delay: -0.2s;
46
- }
47
-
48
- /* Animated BG */
49
- @keyframes rotate {
50
- to {
51
- transform: rotate(1turn);
52
- }
53
- }
54
-
55
- .light-rays {
56
- position: absolute;
57
- top: 0;
58
- left: 0;
59
- right: 0;
60
- bottom: 0;
61
- overflow: hidden;
62
-
63
- --first: var(--color-bg-tertiary);
64
- --second: var(--color-bg-quaternary);
65
- }
66
-
67
- .light-rays::before,
68
- .light-rays::after {
69
- content: '';
70
- position: absolute;
71
- top: var(--light-rays-top, 150px);
72
- left: calc(50% - 90px);
73
- margin: -100vmax;
74
- width: 200vmax;
75
- height: 200vmax;
76
- opacity: 0.6;
77
- transform-origin: center;
78
- }
79
-
80
- .light-rays::before {
81
- background: conic-gradient(
82
- var(--first) 0deg 7.2deg,
83
- var(--second) 7.2deg 14.4deg,
84
- var(--first) 14.4deg 21.6deg,
85
- var(--second) 21.6deg 28.8deg,
86
- var(--first) 28.8deg 36deg,
87
- var(--second) 36deg 43.2deg,
88
- var(--first) 43.2deg 50.4deg,
89
- var(--second) 50.4deg 57.6deg,
90
- var(--first) 57.6deg 64.8deg,
91
- var(--second) 64.8deg 72deg,
92
- var(--first) 72deg 79.2deg,
93
- var(--second) 79.2deg 86.4deg,
94
- var(--first) 86.4deg 93.6deg,
95
- var(--second) 93.6deg 100.8deg,
96
- var(--first) 100.8deg 108deg,
97
- var(--second) 108deg 115.2deg,
98
- var(--first) 115.2deg 122.4deg,
99
- var(--second) 122.4deg 129.6deg,
100
- var(--first) 129.6deg 136.8deg,
101
- var(--second) 136.8deg 144deg,
102
- var(--first) 144deg 151.2deg,
103
- var(--second) 151.2deg 158.4deg,
104
- var(--first) 158.4deg 165.6deg,
105
- var(--second) 165.6deg 172.8deg,
106
- var(--first) 172.8deg 180deg,
107
- var(--second) 180deg 187.2deg,
108
- var(--first) 187.2deg 194.4deg,
109
- var(--second) 194.4deg 201.6deg,
110
- var(--first) 201.6deg 208.8deg,
111
- var(--second) 208.8deg 216deg,
112
- var(--first) 216deg 223.2deg,
113
- var(--second) 223.2deg 230.4deg,
114
- var(--first) 230.4deg 237.6deg,
115
- var(--second) 237.6deg 244.8deg,
116
- var(--first) 244.8deg 252deg,
117
- var(--second) 252deg 259.2deg,
118
- var(--first) 259.2deg 266.4deg,
119
- var(--second) 266.4deg 273.6deg,
120
- var(--first) 273.6deg 280.8deg,
121
- var(--second) 280.8deg 288deg,
122
- var(--first) 288deg 295.2deg,
123
- var(--second) 295.2deg 302.4deg,
124
- var(--first) 302.4deg 309.6deg,
125
- var(--second) 309.6deg 316.8deg,
126
- var(--first) 316.8deg 324deg,
127
- var(--second) 324deg 331.2deg,
128
- var(--first) 331.2deg 338.4deg,
129
- var(--second) 338.4deg 345.6deg,
130
- var(--first) 345.6deg 352.8deg,
131
- var(--second) 352.8deg 360deg
132
- );
133
- animation: rotate 20s linear infinite;
134
- }
135
-
136
- @media (max-width: 1024px) {
137
- .light-rays::before,
138
- .light-rays::after {
139
- left: auto;
140
- right: 11%;
141
- }
142
- }
143
-
144
- /* ScrollArea.module.css */
145
- .scrollArea {
146
- overflow-y: scroll;
147
- padding-right: 4px;
148
- }
149
-
150
- /* WebKit-based browsers */
151
- .scrollArea::-webkit-scrollbar {
152
- width: 8px;
153
- }
154
-
155
- .scrollArea::-webkit-scrollbar-track {
156
- background: var(--color-bg-primary-alt);
157
- border-radius: 9999px;
158
- }
159
-
160
- .scrollArea::-webkit-scrollbar-thumb {
161
- background-color: var(--color-bg-quaternary);
162
- border-radius: 9999px;
163
- }
164
-
165
- @keyframes waveColor {
166
- 0%,
167
- 2.5% {
168
- color: var(--wave-highlight-color);
169
- }
170
- 2.51%,
171
- 100% {
172
- color: var(--color-brand-300);
173
- }
174
- }
175
-
176
- .animate-wave-color-success {
177
- --wave-highlight-color: var(--color-success-800);
178
- animation: waveColor 4s ease-in-out infinite;
179
- }
180
-
181
- .animate-wave-color-error {
182
- --wave-highlight-color: var(--color-error-600);
183
- animation: waveColor 4s ease-in-out infinite;
184
- }
1
+ @keyframes arrow-green-flash {
2
+ 0% {
3
+ color: #abefc6;
4
+ }
5
+ 100% {
6
+ color: #079455;
7
+ }
8
+ }
9
+
10
+ .animate-arrow-green-flash-1 {
11
+ animation: arrow-green-flash 0.4s infinite;
12
+ animation-delay: -0.2s;
13
+ }
14
+
15
+ .animate-arrow-green-flash-2 {
16
+ animation: arrow-green-flash 0.4s infinite;
17
+ animation-delay: -0.1s;
18
+ }
19
+
20
+ .animate-arrow-green-flash-3 {
21
+ animation: arrow-green-flash 0.4s infinite;
22
+ }
23
+
24
+ @keyframes arrow-red-flash {
25
+ 0%,
26
+ 100% {
27
+ color: #f97066;
28
+ }
29
+ 50% {
30
+ color: #fecdca;
31
+ }
32
+ }
33
+
34
+ .animate-arrow-red-flash-1 {
35
+ animation: arrow-red-flash 0.4s infinite;
36
+ }
37
+
38
+ .animate-arrow-red-flash-2 {
39
+ animation: arrow-red-flash 0.4s infinite;
40
+ animation-delay: -0.1s;
41
+ }
42
+
43
+ .animate-arrow-red-flash-3 {
44
+ animation: arrow-red-flash 0.4s infinite;
45
+ animation-delay: -0.2s;
46
+ }
47
+
48
+ /* Animated BG */
49
+ @keyframes rotate {
50
+ to {
51
+ transform: rotate(1turn);
52
+ }
53
+ }
54
+
55
+ .light-rays {
56
+ position: absolute;
57
+ top: 0;
58
+ left: 0;
59
+ right: 0;
60
+ bottom: 0;
61
+ overflow: hidden;
62
+
63
+ --first: var(--color-bg-tertiary);
64
+ --second: var(--color-bg-quaternary);
65
+ }
66
+
67
+ .light-rays::before,
68
+ .light-rays::after {
69
+ content: '';
70
+ position: absolute;
71
+ top: var(--light-rays-top, 150px);
72
+ left: calc(50% - 90px);
73
+ margin: -100vmax;
74
+ width: 200vmax;
75
+ height: 200vmax;
76
+ opacity: 0.6;
77
+ transform-origin: center;
78
+ }
79
+
80
+ .light-rays::before {
81
+ background: conic-gradient(
82
+ var(--first) 0deg 7.2deg,
83
+ var(--second) 7.2deg 14.4deg,
84
+ var(--first) 14.4deg 21.6deg,
85
+ var(--second) 21.6deg 28.8deg,
86
+ var(--first) 28.8deg 36deg,
87
+ var(--second) 36deg 43.2deg,
88
+ var(--first) 43.2deg 50.4deg,
89
+ var(--second) 50.4deg 57.6deg,
90
+ var(--first) 57.6deg 64.8deg,
91
+ var(--second) 64.8deg 72deg,
92
+ var(--first) 72deg 79.2deg,
93
+ var(--second) 79.2deg 86.4deg,
94
+ var(--first) 86.4deg 93.6deg,
95
+ var(--second) 93.6deg 100.8deg,
96
+ var(--first) 100.8deg 108deg,
97
+ var(--second) 108deg 115.2deg,
98
+ var(--first) 115.2deg 122.4deg,
99
+ var(--second) 122.4deg 129.6deg,
100
+ var(--first) 129.6deg 136.8deg,
101
+ var(--second) 136.8deg 144deg,
102
+ var(--first) 144deg 151.2deg,
103
+ var(--second) 151.2deg 158.4deg,
104
+ var(--first) 158.4deg 165.6deg,
105
+ var(--second) 165.6deg 172.8deg,
106
+ var(--first) 172.8deg 180deg,
107
+ var(--second) 180deg 187.2deg,
108
+ var(--first) 187.2deg 194.4deg,
109
+ var(--second) 194.4deg 201.6deg,
110
+ var(--first) 201.6deg 208.8deg,
111
+ var(--second) 208.8deg 216deg,
112
+ var(--first) 216deg 223.2deg,
113
+ var(--second) 223.2deg 230.4deg,
114
+ var(--first) 230.4deg 237.6deg,
115
+ var(--second) 237.6deg 244.8deg,
116
+ var(--first) 244.8deg 252deg,
117
+ var(--second) 252deg 259.2deg,
118
+ var(--first) 259.2deg 266.4deg,
119
+ var(--second) 266.4deg 273.6deg,
120
+ var(--first) 273.6deg 280.8deg,
121
+ var(--second) 280.8deg 288deg,
122
+ var(--first) 288deg 295.2deg,
123
+ var(--second) 295.2deg 302.4deg,
124
+ var(--first) 302.4deg 309.6deg,
125
+ var(--second) 309.6deg 316.8deg,
126
+ var(--first) 316.8deg 324deg,
127
+ var(--second) 324deg 331.2deg,
128
+ var(--first) 331.2deg 338.4deg,
129
+ var(--second) 338.4deg 345.6deg,
130
+ var(--first) 345.6deg 352.8deg,
131
+ var(--second) 352.8deg 360deg
132
+ );
133
+ animation: rotate 20s linear infinite;
134
+ }
135
+
136
+ @media (max-width: 1024px) {
137
+ .light-rays::before,
138
+ .light-rays::after {
139
+ left: auto;
140
+ right: 11%;
141
+ }
142
+ }
143
+
144
+ /* ScrollArea.module.css */
145
+ .scrollArea {
146
+ overflow-y: scroll;
147
+ padding-right: 4px;
148
+ }
149
+
150
+ /* WebKit-based browsers */
151
+ .scrollArea::-webkit-scrollbar {
152
+ width: 8px;
153
+ }
154
+
155
+ .scrollArea::-webkit-scrollbar-track {
156
+ background: var(--color-bg-primary-alt);
157
+ border-radius: 9999px;
158
+ }
159
+
160
+ .scrollArea::-webkit-scrollbar-thumb {
161
+ background-color: var(--color-bg-quaternary);
162
+ border-radius: 9999px;
163
+ }
164
+
165
+ @keyframes waveColor {
166
+ 0%,
167
+ 2.5% {
168
+ color: var(--wave-highlight-color);
169
+ }
170
+ 2.51%,
171
+ 100% {
172
+ color: var(--color-brand-300);
173
+ }
174
+ }
175
+
176
+ .animate-wave-color-success {
177
+ --wave-highlight-color: var(--color-success-800);
178
+ animation: waveColor 4s ease-in-out infinite;
179
+ }
180
+
181
+ .animate-wave-color-error {
182
+ --wave-highlight-color: var(--color-error-600);
183
+ animation: waveColor 4s ease-in-out infinite;
184
+ }
@@ -50,24 +50,24 @@ export function validateFile(file) {
50
50
  return 'Unsupported file';
51
51
  }
52
52
  export function showPermissionInstructions() {
53
- const instructions = `
54
- Camera access is blocked. To enable camera access:
55
-
56
- Chrome/Edge:
57
- 1. Click the camera icon in the address bar
58
- 2. Select "Always allow" and click "Done"
59
- 3. Or go to Settings > Privacy and security > Site settings > Camera
60
-
61
- Firefox:
62
- 1. Click the shield icon in the address bar
63
- 2. Click on "Camera blocked"
64
- 3. Select "Allow" and refresh the page
65
-
66
- Safari:
67
- 1. Go to Safari > Settings > Websites > Camera
68
- 2. Find this website and change to "Allow"
69
-
70
- After changing permissions, please refresh the page and try again.
53
+ const instructions = `
54
+ Camera access is blocked. To enable camera access:
55
+
56
+ Chrome/Edge:
57
+ 1. Click the camera icon in the address bar
58
+ 2. Select "Always allow" and click "Done"
59
+ 3. Or go to Settings > Privacy and security > Site settings > Camera
60
+
61
+ Firefox:
62
+ 1. Click the shield icon in the address bar
63
+ 2. Click on "Camera blocked"
64
+ 3. Select "Allow" and refresh the page
65
+
66
+ Safari:
67
+ 1. Go to Safari > Settings > Websites > Camera
68
+ 2. Find this website and change to "Allow"
69
+
70
+ After changing permissions, please refresh the page and try again.
71
71
  `;
72
72
  alert(instructions);
73
73
  }
@@ -2,7 +2,7 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
2
2
  import Image from 'next/image';
3
3
  import Link from 'next/link';
4
4
  import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon.js';
5
- import { Prose } from '../../ui/Prose.js';
5
+ import { Prose } from '../../ui/Prose/index.js';
6
6
  import { stripTags } from '../../utils/stripTags.js';
7
7
  export async function News(props) {
8
8
  return (_jsxs(_Fragment, { children: [_jsx("meta", { name: "description", content: stripTags(props.news.content) }), _jsx("meta", { name: "og:title", content: props.news.title }), _jsx("meta", { name: "og:description", content: stripTags(props.news.content) }), _jsx("meta", { name: "og:image", content: props.news.image }), _jsx("meta", { name: "twitter:title", content: props.news.title }), _jsx("meta", { name: "twitter:description", content: stripTags(props.news.content) }), _jsx("meta", { name: "twitter:image", content: props.news.image }), _jsx("meta", { name: "twitter:card", content: "summary_large_image" }), _jsxs("div", { style: props.style, className: props.className, children: [_jsxs(Link, { href: props.viewAllUrl ?? '/news', className: "text-button-secondary-fg flex items-center gap-lg text-lg font-semibold", children: [_jsx(ChevronLeftIcon, { className: "size-6" }), "Back to all News"] }), _jsx(Image, { src: props.news.image, alt: "", width: 1024, height: 600, priority: true, unoptimized: true, className: "mt-3xl block h-auto w-full rounded-xl lg:mt-6" }), _jsx("p", { className: "text-brand-400 mt-xl text-sm font-semibold lg:mt-6", children: props.news.category }), _jsx("h2", { className: "mt-xl text-2xl font-semibold lg:mt-6", children: props.news.title }), _jsx(Prose, { className: "mt-xl lg:mt-6", dangerouslySetInnerHTML: {
@@ -4,7 +4,7 @@ import { usePathname, useRouter, useSearchParams } from 'next/navigation';
4
4
  import { useCallback, useEffect } from 'react';
5
5
  import { useFeatureFlag } from '../../client/hooks/useFeatureFlag.js';
6
6
  import { Portal } from '../../ui/Portal/index.js';
7
- import { Presence } from '../../ui/Presence.js';
7
+ import { Presence } from '../../ui/Presence/index.js';
8
8
  export function FeatureFlag() {
9
9
  const router = useRouter();
10
10
  const pathname = usePathname();
@@ -1,5 +1,6 @@
1
1
  import { type ReactNode } from 'react';
2
- export interface PortalProviderProps {
2
+ import { type ProvidersProps } from './Providers';
3
+ export interface PortalProviderProps extends ProvidersProps {
3
4
  children: ReactNode;
4
5
  }
5
- export declare function PortalProvider({ children }: PortalProviderProps): Promise<import("react/jsx-runtime").JSX.Element>;
6
+ export declare function PortalProvider({ recaptchaSiteKey, children, }: PortalProviderProps): Promise<import("react/jsx-runtime").JSX.Element>;
@@ -1,8 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
2
  import { dehydrate, HydrationBoundary } from '@tanstack/react-query';
3
- import Script from 'next/script';
4
3
  import { Suspense } from 'react';
5
- import { INTERNALS__REPORT_WEB_VITALS, RECAPTCHA_SITE_KEY, } from '../../constants/index.js';
4
+ import { INTERNALS__REPORT_WEB_VITALS } from '../../constants/index.js';
6
5
  import { prefetchAccountQuery } from '../../server/utils/prefetchAccountQuery.js';
7
6
  import { prefetchPlatformQuery } from '../../server/utils/prefetchPlatformQuery.js';
8
7
  import { prefetchSessionQuery } from '../../server/utils/prefetchSessionQuery.js';
@@ -13,7 +12,7 @@ import { Providers } from './Providers.js';
13
12
  import { SetupDomain } from './SetupDomain.js';
14
13
  import { Snackbar } from './Snackbar.js';
15
14
  import { WebVitals } from './WebVitals.js';
16
- export async function PortalProvider({ children }) {
15
+ export async function PortalProvider({ recaptchaSiteKey, children, }) {
17
16
  const queryClient = getQueryClient();
18
17
  await Promise.allSettled([
19
18
  prefetchPlatformQuery(),
@@ -21,5 +20,5 @@ export async function PortalProvider({ children }) {
21
20
  prefetchAccountQuery(),
22
21
  prefetchWalletQuery(),
23
22
  ]);
24
- return (_jsxs(_Fragment, { children: [INTERNALS__REPORT_WEB_VITALS && _jsx(WebVitals, {}), _jsx(Providers, { children: _jsxs(HydrationBoundary, { state: dehydrate(queryClient), children: [children, _jsx(Suspense, { fallback: null, children: _jsx(SetupDomain, {}) })] }) }), _jsx(Snackbar, {}), _jsx(Suspense, { fallback: null, children: _jsx(FeatureFlag, {}) }), RECAPTCHA_SITE_KEY && (_jsx(Script, { src: `https://www.google.com/recaptcha/api.js?render=${RECAPTCHA_SITE_KEY}` }))] }));
23
+ return (_jsxs(_Fragment, { children: [INTERNALS__REPORT_WEB_VITALS && _jsx(WebVitals, {}), _jsx(Providers, { recaptchaSiteKey: recaptchaSiteKey, children: _jsxs(HydrationBoundary, { state: dehydrate(queryClient), children: [children, _jsx(Suspense, { fallback: null, children: _jsx(SetupDomain, {}) })] }) }), _jsx(Snackbar, {}), _jsx(Suspense, { fallback: null, children: _jsx(FeatureFlag, {}) })] }));
25
24
  }
@@ -1,4 +1,5 @@
1
- import type { ReactNode } from 'react';
2
- export declare function Providers({ children }: {
3
- children: ReactNode;
4
- }): import("react/jsx-runtime").JSX.Element;
1
+ import type { PropsWithChildren } from 'react';
2
+ export interface ProvidersProps {
3
+ recaptchaSiteKey?: string;
4
+ }
5
+ export declare function Providers({ recaptchaSiteKey, children, }: PropsWithChildren<ProvidersProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,9 @@
1
1
  'use client';
2
2
  import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { QueryClientProvider } from '@tanstack/react-query';
4
+ import { ReCaptchaProvider } from 'next-recaptcha-v3';
4
5
  import { getQueryClient } from '../../utils/getQueryClient.js';
5
- export function Providers({ children }) {
6
+ export function Providers({ recaptchaSiteKey, children, }) {
6
7
  const queryClient = getQueryClient();
7
- return (_jsx(QueryClientProvider, { client: queryClient, children: children }));
8
+ return (_jsx(QueryClientProvider, { client: queryClient, children: _jsx(ReCaptchaProvider, { reCaptchaKey: recaptchaSiteKey, children: children }) }));
8
9
  }
@@ -11,7 +11,7 @@ import { useLocaleInfo } from '../../client/hooks/useLocaleInfo.js';
11
11
  import { usePromoQuery } from '../../client/hooks/usePromoQuery.js';
12
12
  import { ChevronLeftIcon } from '../../icons/ChevronLeftIcon.js';
13
13
  import { Button } from '../../ui/Button/index.js';
14
- import { Prose } from '../../ui/Prose.js';
14
+ import { Prose } from '../../ui/Prose/index.js';
15
15
  export function Promo__client(props) {
16
16
  const localeInfo = useLocaleInfo();
17
17
  const availablePromosQuery = useAvailablePromosQuery();
@@ -0,0 +1 @@
1
+ export declare function JourneyQuest(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,61 @@
1
+ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ import { useControllableState } from '../../client/hooks/useControllableState.js';
3
+ import { useDisclosure } from '../../client/hooks/useDisclosure.js';
4
+ import { useLocaleInfo } from '../../client/hooks/useLocaleInfo.js';
5
+ import { CheckIcon } from '../../icons/CheckIcon.js';
6
+ import { XIcon } from '../../icons/XIcon.js';
7
+ import { Button } from '../../ui/Button/index.js';
8
+ import { Checkbox } from '../../ui/Checkbox/index.js';
9
+ import { Dialog } from '../../ui/Dialog/index.js';
10
+ import { Portal } from '../../ui/Portal/index.js';
11
+ import { Progress } from '../../ui/Progress/index.js';
12
+ import { formatNumber } from '../../utils/formatNumber.js';
13
+ import { getPercentage } from '../../utils/getPercentage.js';
14
+ export function JourneyQuest() {
15
+ const disclosure = useDisclosure();
16
+ const localeInfo = useLocaleInfo();
17
+ // dummy data
18
+ const totalMilestones = 5;
19
+ const currentMilestone = 3;
20
+ const milestones = [
21
+ {
22
+ key: 'REGISTRATION',
23
+ label: 'Registration',
24
+ bonus: 20,
25
+ isCompleted: true,
26
+ },
27
+ {
28
+ key: 'ACCOUNT_VERIFICATION',
29
+ label: 'Account Verification',
30
+ bonus: null,
31
+ isCompleted: false,
32
+ },
33
+ {
34
+ key: 'FIRST_DEPOSIT',
35
+ label: 'First Deposit',
36
+ bonus: 20,
37
+ isCompleted: false,
38
+ },
39
+ {
40
+ key: 'IOS_FIRST_LOGIN',
41
+ label: 'IOS First Login',
42
+ bonus: null,
43
+ isCompleted: true,
44
+ },
45
+ ];
46
+ return (_jsxs(_Fragment, { children: [_jsxs("div", { className: "border-border-primary bg-bg-tertiary flex h-full w-full flex-col space-y-6 rounded-2xl border px-4 pb-6 pt-5", children: [_jsxs("div", { className: "flex flex-col space-y-2", children: [_jsx("div", { className: "flex max-h-7.5 items-start justify-between" }), _jsx("p", { className: "text-xl font-semibold", children: "Blucky Starter Quest" }), _jsxs("div", { className: "flex w-full items-center space-x-2", children: [_jsx(Progress.Root, { max: 100, className: "bg-bg-primary h-2 rounded-full", value: getPercentage(currentMilestone, totalMilestones), children: _jsx(Progress.Track, { children: _jsx(Progress.Range, { className: "bg-utility-brand-600" }) }) }), _jsxs("p", { className: "text-text-quarterary-brand text-xs", children: [currentMilestone, "/", totalMilestones] })] }), _jsxs("div", { className: "flex w-full flex-col space-y-2", children: [milestones.map((milestone) => (_jsx(QuestMilestone, { label: milestone.label, bonus: milestone.bonus, isCompleted: milestone.isCompleted }, milestone.key))), _jsx(QuestMilestone, { label: "Watch our Live event" }, "CUSTOM")] })] }), _jsx(Button, { size: "sm", onClick: () => disclosure.setOpen(true), "aria-label": "View Details", disabled: false, className: "disabled:bg-bg-primary disabled:text-text-disabled", children: "View Details" })] }), _jsx(Rules, { open: disclosure.open, onOpenChange: disclosure.setOpen })] }));
47
+ }
48
+ function Rules(props) {
49
+ const [open, setOpen] = useControllableState({
50
+ value: props.open,
51
+ defaultValue: props.defaultOpen ?? false,
52
+ onChange: props.onOpenChange,
53
+ });
54
+ return (_jsx(Dialog.Root, { lazyMount: true, unmountOnExit: true, open: open, onOpenChange: (details) => setOpen(details.open), closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+1)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+2)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "min-h-auto mx-auto max-w-[400px] overflow-y-auto rounded-xl px-4 py-5", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "text-text-quarterary-brand group flex flex-col space-y-5 text-sm", children: [_jsx("h2", { className: "text-text-primary-900 text-lg font-semibold", children: "Blucky Starter Quest" }), _jsx("p", { children: "Ready for a challenge? Complete them all and get amazing rewards!" }), _jsxs("div", { className: "bg-bg-tertiary flex flex-col space-y-2.5 rounded-xl p-3", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("p", { className: "text-base font-medium text-white", children: "Registration" }), _jsx("div", { className: "border-utility-success-200 bg-utility-success-50 text-utility-success-700 flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium", children: "Complete" })] }), _jsx("p", { className: "ml-1", children: "Register and win Php 50 Bonus" })] }), _jsxs("div", { className: "bg-bg-tertiary flex flex-col space-y-2.5 rounded-xl p-3", children: [_jsx("div", { className: "flex items-center justify-between", children: _jsx("p", { className: "text-base font-medium text-white", children: "Account Verification" }) }), _jsx("p", { className: "ml-1", children: "Verify your account and get Php 50 Bonus" }), _jsx(Button, { size: "sm", onClick: () => { }, "aria-label": "Verify Account", children: "Verify Account" })] }), _jsxs("div", { className: "bg-bg-tertiary flex flex-col space-y-2.5 rounded-xl p-3", children: [_jsx("div", { className: "flex items-center justify-between", children: _jsx("p", { className: "text-base font-medium text-white", children: "First Deposit" }) }), _jsx("p", { className: "ml-1", children: "Make your first deposit and get Php 50 Bonus" }), _jsx(Button, { size: "sm", onClick: () => { }, "aria-label": "Deposit", children: "Deposit" })] }), _jsxs("div", { className: "bg-bg-tertiary flex flex-col space-y-2.5 rounded-xl p-3", children: [_jsxs("div", { className: "flex items-center justify-between", children: [_jsx("p", { className: "text-base font-medium text-white", children: "IOS First Login" }), _jsx("div", { className: "border-utility-success-200 bg-utility-success-50 text-utility-success-700 flex w-fit items-center gap-1 rounded-full border px-2 py-0.5 text-xs font-medium", children: "Complete" })] }), _jsx("p", { className: "ml-1", children: "Login using iOS and get Php 50 Bonus" })] }), _jsxs("div", { className: "bg-bg-tertiary flex flex-col space-y-2.5 rounded-xl p-3", children: [_jsx("div", { className: "flex items-center justify-between", children: _jsx("p", { className: "whitespace-nowrap text-base font-medium text-white", children: "Like and Share our Official Facebook Page" }) }), _jsx("p", { className: "ml-1", children: "Win amazing prizes and bonus if you share and like our Official Facebook Page BLucky." })] }), _jsx("div", { className: "flex h-full items-end", children: _jsx("div", { className: "bg-button-secondary-bg border-bg-primary-hover w-full rounded-md border px-3.5 py-2.5 text-center text-white", children: _jsxs("p", { children: ["Complete target to", ' ', _jsx("span", { className: "text-brand-400", children: "\u20B150" }), " bonus!"] }) }) })] })] }) })] }) }));
55
+ }
56
+ function QuestMilestone({ label, bonus, isCompleted = false, }) {
57
+ const localeInfo = useLocaleInfo();
58
+ return (_jsxs("div", { className: "flex items-center justify-between", children: [_jsxs(Checkbox.Root, { checked: isCompleted, children: [_jsx(Checkbox.Control, { className: "bg-transparent", children: _jsx(Checkbox.Indicator, { asChild: true, children: _jsx(CheckIcon, {}) }) }), _jsx(Checkbox.Label, { className: "text-sm font-medium leading-tight", children: label }), _jsx(Checkbox.HiddenInput, {})] }), bonus && (_jsx("div", { className: "bg-bg-secondary-alt border-border-secondary rounded-[6px] border px-1.5 py-0.5", children: _jsxs("p", { className: "text-xs font-medium leading-tight", children: ["+", formatNumber(bonus, {
59
+ currency: localeInfo.currency.code,
60
+ }), ' ', "Bonus"] }) }))] }));
61
+ }
@@ -8,6 +8,7 @@ import { SpinnerIcon } from '../../icons/SpinnerIcon.js';
8
8
  import closeChest from '../../images/close-chest.png';
9
9
  import { SegmentGroup } from '../../ui/SegmentGroup/index.js';
10
10
  import { DailyCheckInQuest } from './DailyCheckInQuest.js';
11
+ // import { JourneyQuest } from './JourneyQuest.js';
11
12
  import { OnboardingQuest } from './OnboardingQuest.js';
12
13
  import { QuestContext } from './QuestsContext.js';
13
14
  import { WageringQuest } from './WageringQuest.js';
@@ -15,6 +16,7 @@ const QUEST_COMPONENT_MAP = {
15
16
  DAILY_CHECKIN: DailyCheckInQuest,
16
17
  ONBOARDING: OnboardingQuest,
17
18
  WAGERING: WageringQuest,
19
+ // JOURNEY: JourneyQuest,
18
20
  };
19
21
  const TabDefinition = z.enum(['AVAILABLE', 'COMPLETED']);
20
22
  export function Quests__client(props) {
@@ -18,7 +18,7 @@ import { Dialog } from '../../ui/Dialog/index.js';
18
18
  import { Field } from '../../ui/Field/index.js';
19
19
  import { IconButton } from '../../ui/IconButton/index.js';
20
20
  import { Portal } from '../../ui/Portal/index.js';
21
- import { Presence } from '../../ui/Presence.js';
21
+ import { Presence } from '../../ui/Presence/index.js';
22
22
  import { callIfFn } from '../../utils/callIfFn.js';
23
23
  import { getGameImageUrl } from '../../utils/getGameImageUrl.js';
24
24
  import { GameLaunchTrigger } from '../GameLaunch/index.js';
@@ -1,5 +1 @@
1
- interface Props {
2
- siteName?: string;
3
- }
4
- export declare function MobileNumberSignIn(props: Props): import("react/jsx-runtime").JSX.Element;
5
- export {};
1
+ export declare function MobileNumberSignIn(): import("react/jsx-runtime").JSX.Element;