@opexa/portal-components 0.0.186 → 0.0.187

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 (253) hide show
  1. package/dist/components/Bonus/Bonus.client.js +1 -1
  2. package/dist/components/Cashback/Cashback.client.js +1 -1
  3. package/dist/components/CustomPromo/CustomPromo.js +1 -1
  4. package/dist/components/GameLaunch/GameLaunch.lazy.js +1 -1
  5. package/dist/components/GamesSearch/GamesSearch.js +1 -1
  6. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  7. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  8. package/dist/components/KYC/utils.js +18 -18
  9. package/dist/components/News/News.js +1 -1
  10. package/dist/components/Promo/Promo.client.js +1 -1
  11. package/dist/components/Quests/DailyCheckInQuest.js +10 -11
  12. package/dist/components/Search/Search.lazy.js +1 -1
  13. package/dist/components/SignUp/SignUpForm.js +1 -6
  14. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +1 -0
  15. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +198 -0
  16. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +1 -0
  17. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +251 -0
  18. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +10 -0
  19. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +41 -0
  20. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +1 -0
  21. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +429 -0
  22. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +13 -0
  23. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +26 -0
  24. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +7 -0
  25. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +2 -0
  26. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +11 -0
  27. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +20 -0
  28. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  29. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  30. package/dist/services/queries.js +2357 -2357
  31. package/dist/styles/theme.css +693 -693
  32. package/dist/ui/AlertDialog/AlertDialog.d.ts +121 -121
  33. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +11 -11
  34. package/dist/ui/Avatar/Avatar.d.ts +9 -9
  35. package/dist/ui/Avatar/avatar.recipe.d.ts +3 -3
  36. package/dist/ui/Badge/Badge.d.ts +12 -12
  37. package/dist/ui/Carousel/Carousel.d.ts +45 -45
  38. package/dist/ui/Carousel/carousel.recipe.d.ts +5 -5
  39. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  40. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  41. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  42. package/dist/ui/Collapsible/Collapsible.d.ts +32 -32
  43. package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
  44. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  45. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  46. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  47. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  48. package/dist/ui/Dialog/Dialog.d.ts +121 -121
  49. package/dist/ui/Dialog/dialog.recipe.d.ts +11 -11
  50. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  51. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  52. package/dist/ui/Field/Field.d.ts +21 -21
  53. package/dist/ui/Menu/Menu.d.ts +144 -144
  54. package/dist/ui/Menu/menu.recipe.d.ts +20 -20
  55. package/dist/ui/NumberInput/NumberInput.d.ts +24 -24
  56. package/dist/ui/PasswordInput/PasswordInput.d.ts +18 -18
  57. package/dist/ui/PinInput/PinInput.d.ts +12 -12
  58. package/dist/ui/Popover/Popover.d.ts +88 -88
  59. package/dist/ui/Popover/popover.recipe.d.ts +8 -8
  60. package/dist/ui/Progress/Progress.d.ts +27 -27
  61. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  62. package/dist/ui/QrCode/QrCode.d.ts +25 -25
  63. package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
  64. package/dist/ui/SegmentGroup/SegmentGroup.d.ts +18 -18
  65. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  66. package/dist/ui/Select/Select.d.ts +45 -45
  67. package/dist/ui/Select/select.recipe.d.ts +3 -3
  68. package/dist/ui/Table/Table.d.ts +21 -21
  69. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  70. package/dist/ui/Table/table.recipe.d.ts +3 -3
  71. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  72. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  73. package/package.json +164 -164
  74. package/dist/client/hooks/index.d.ts +0 -65
  75. package/dist/client/hooks/index.js +0 -65
  76. package/dist/client/services/index.d.ts +0 -4
  77. package/dist/client/services/index.js +0 -4
  78. package/dist/client/utils/index.d.ts +0 -3
  79. package/dist/client/utils/index.js +0 -3
  80. package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +0 -2
  81. package/dist/components/CashbackBonus/CashbackBonus.client.js +0 -9
  82. package/dist/components/CashbackBonus/CashbackBonus.d.ts +0 -10
  83. package/dist/components/CashbackBonus/CashbackBonus.js +0 -5
  84. package/dist/components/CashbackBonus/index.d.ts +0 -1
  85. package/dist/components/CashbackBonus/index.js +0 -1
  86. package/dist/components/Empty.d.ts +0 -9
  87. package/dist/components/Empty.js +0 -7
  88. package/dist/components/Games/GameContext.d.ts +0 -2
  89. package/dist/components/Games/GameContext.js +0 -2
  90. package/dist/components/InfiniteScroll.d.ts +0 -10
  91. package/dist/components/InfiniteScroll.js +0 -25
  92. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
  93. package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
  94. package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
  95. package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
  96. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
  97. package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
  98. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
  99. package/dist/components/JackpotCounter/index.d.ts +0 -1
  100. package/dist/components/JackpotCounter/index.js +0 -1
  101. package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
  102. package/dist/components/Jackpots/JackpotDesktop.js +0 -45
  103. package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
  104. package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
  105. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +0 -9
  106. package/dist/components/Jackpots/JackpotItemDesktop.js +0 -43
  107. package/dist/components/Jackpots/JackpotItemMobile.d.ts +0 -9
  108. package/dist/components/Jackpots/JackpotItemMobile.js +0 -44
  109. package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
  110. package/dist/components/Jackpots/JackpotMobile.js +0 -46
  111. package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
  112. package/dist/components/Jackpots/JackpotRules.js +0 -11
  113. package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
  114. package/dist/components/Jackpots/Jackpots.client.js +0 -29
  115. package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
  116. package/dist/components/Jackpots/JackpotsContext.js +0 -3
  117. package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
  118. package/dist/components/Jackpots/useJackpotData.js +0 -93
  119. package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -20
  120. package/dist/components/Jackpots/useJackpotItemData.js +0 -87
  121. package/dist/components/KYC/Header.d.ts +0 -1
  122. package/dist/components/KYC/Header.js +0 -8
  123. package/dist/components/KYC/Step1.d.ts +0 -1
  124. package/dist/components/KYC/Step1.js +0 -13
  125. package/dist/components/KYC/Step2.d.ts +0 -1
  126. package/dist/components/KYC/Step2.js +0 -13
  127. package/dist/components/KYC/Step3.d.ts +0 -1
  128. package/dist/components/KYC/Step3.js +0 -13
  129. package/dist/components/KYC/Step4.d.ts +0 -1
  130. package/dist/components/KYC/Step4.js +0 -7
  131. package/dist/components/KYC/backup/Header.d.ts +0 -1
  132. package/dist/components/KYC/backup/Header.js +0 -8
  133. package/dist/components/KYC/backup/Indicator.d.ts +0 -1
  134. package/dist/components/KYC/backup/Indicator.js +0 -9
  135. package/dist/components/KYC/backup/KYC.d.ts +0 -1
  136. package/dist/components/KYC/backup/KYC.js +0 -14
  137. package/dist/components/KYC/backup/KYC.lazy.d.ts +0 -1
  138. package/dist/components/KYC/backup/KYC.lazy.js +0 -26
  139. package/dist/components/KYC/backup/KYCContext.d.ts +0 -6
  140. package/dist/components/KYC/backup/KYCContext.js +0 -2
  141. package/dist/components/KYC/backup/Step1.d.ts +0 -1
  142. package/dist/components/KYC/backup/Step1.js +0 -13
  143. package/dist/components/KYC/backup/Step2.d.ts +0 -1
  144. package/dist/components/KYC/backup/Step2.js +0 -13
  145. package/dist/components/KYC/backup/Step3.d.ts +0 -1
  146. package/dist/components/KYC/backup/Step3.js +0 -13
  147. package/dist/components/KYC/backup/Step4.d.ts +0 -1
  148. package/dist/components/KYC/backup/Step4.js +0 -7
  149. package/dist/components/KYC/backup/useKYC.d.ts +0 -10
  150. package/dist/components/KYC/backup/useKYC.js +0 -8
  151. package/dist/components/KYC/loadModels.d.ts +0 -1
  152. package/dist/components/KYC/loadModels.js +0 -9
  153. package/dist/components/Messages/Message.d.ts +0 -1
  154. package/dist/components/Messages/Message.js +0 -34
  155. package/dist/components/Messages/MessageContext.d.ts +0 -6
  156. package/dist/components/Messages/MessageContext.js +0 -2
  157. package/dist/components/Messages/MessageItem.d.ts +0 -4
  158. package/dist/components/Messages/MessageItem.js +0 -34
  159. package/dist/components/Messages/MessagePopup.d.ts +0 -1
  160. package/dist/components/Messages/MessagePopup.js +0 -19
  161. package/dist/components/Messages/MessageTrigger.d.ts +0 -8
  162. package/dist/components/Messages/MessageTrigger.js +0 -19
  163. package/dist/components/Promo/PromoContent.d.ts +0 -2
  164. package/dist/components/Promo/PromoContent.js +0 -9
  165. package/dist/components/Promos/PromoCarousel.d.ts +0 -2
  166. package/dist/components/Promos/PromoCarousel.js +0 -41
  167. package/dist/components/Promos/PromoGrid.d.ts +0 -2
  168. package/dist/components/Promos/PromoGrid.js +0 -12
  169. package/dist/components/Promos/PromoItem.d.ts +0 -7
  170. package/dist/components/Promos/PromoItem.js +0 -10
  171. package/dist/components/Quests/CountdownTimer.d.ts +0 -15
  172. package/dist/components/Quests/CountdownTimer.js +0 -33
  173. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +0 -4
  174. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +0 -78
  175. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +0 -8
  176. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +0 -9
  177. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +0 -4
  178. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +0 -4
  179. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +0 -4
  180. package/dist/components/Quests/WageringQuest/WageringQuest.js +0 -20
  181. package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +0 -9
  182. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +0 -9
  183. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
  184. package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
  185. package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
  186. package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
  187. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
  188. package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
  189. package/dist/components/TournamentCounter/index.d.ts +0 -1
  190. package/dist/components/TournamentCounter/index.js +0 -1
  191. package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
  192. package/dist/components/Tournaments/TournamentDesktop.js +0 -57
  193. package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
  194. package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
  195. package/dist/components/Tournaments/TournamentItemDesktop.d.ts +0 -7
  196. package/dist/components/Tournaments/TournamentItemDesktop.js +0 -56
  197. package/dist/components/Tournaments/TournamentItemMobile.d.ts +0 -7
  198. package/dist/components/Tournaments/TournamentItemMobile.js +0 -54
  199. package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
  200. package/dist/components/Tournaments/TournamentMobile.js +0 -55
  201. package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
  202. package/dist/components/Tournaments/TournamentRules.js +0 -11
  203. package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
  204. package/dist/components/Tournaments/Tournaments.client.js +0 -20
  205. package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
  206. package/dist/components/Tournaments/TournamentsContext.js +0 -3
  207. package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
  208. package/dist/components/Tournaments/useTournamentData.js +0 -72
  209. package/dist/components/Tournaments/useTournamentItemData.d.ts +0 -16
  210. package/dist/components/Tournaments/useTournamentItemData.js +0 -64
  211. package/dist/components/index.d.ts +0 -33
  212. package/dist/components/index.js +0 -33
  213. package/dist/constants/BranchCode.d.ts +0 -4
  214. package/dist/constants/BranchCode.js +0 -42
  215. package/dist/constants/endpoints.d.ts +0 -10
  216. package/dist/constants/endpoints.js +0 -41
  217. package/dist/constants/envVars.d.ts +0 -5
  218. package/dist/constants/envVars.js +0 -28
  219. package/dist/constants/gameProviders.d.ts +0 -4
  220. package/dist/constants/gameProviders.js +0 -368
  221. package/dist/constants/gameTypes.d.ts +0 -3
  222. package/dist/constants/gameTypes.js +0 -64
  223. package/dist/constants/headerKeys.d.ts +0 -2
  224. package/dist/constants/headerKeys.js +0 -2
  225. package/dist/constants/secretQuestions.d.ts +0 -3
  226. package/dist/constants/secretQuestions.js +0 -24
  227. package/dist/constants/storageKeys.d.ts +0 -2
  228. package/dist/constants/storageKeys.js +0 -2
  229. package/dist/icons/BellRingIcon.d.ts +0 -2
  230. package/dist/icons/BellRingIcon.js +0 -4
  231. package/dist/icons/index.d.ts +0 -65
  232. package/dist/icons/index.js +0 -65
  233. package/dist/images/hacksaw-gaming.png +0 -0
  234. package/dist/server/services/index.d.ts +0 -4
  235. package/dist/server/services/index.js +0 -4
  236. package/dist/server/utils/index.d.ts +0 -29
  237. package/dist/server/utils/index.js +0 -29
  238. package/dist/ui/Presence.d.ts +0 -2
  239. package/dist/ui/Presence.js +0 -7
  240. package/dist/ui/Prose.d.ts +0 -2
  241. package/dist/ui/Prose.js +0 -5
  242. package/dist/ui/index.d.ts +0 -26
  243. package/dist/ui/index.js +0 -26
  244. package/dist/utils/createErrorFromCode.d.ts +0 -2
  245. package/dist/utils/createErrorFromCode.js +0 -11
  246. package/dist/utils/dataUrlToBlob.d.ts +0 -1
  247. package/dist/utils/dataUrlToBlob.js +0 -11
  248. package/dist/utils/index.d.ts +0 -17
  249. package/dist/utils/index.js +0 -17
  250. package/dist/utils/isMobile.d.ts +0 -5
  251. package/dist/utils/isMobile.js +0 -9
  252. package/dist/utils/resizeImageSize.d.ts +0 -1
  253. 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
+ }
@@ -49,24 +49,24 @@ export function validateFile(file) {
49
49
  return 'Unsupported file';
50
50
  }
51
51
  export function showPermissionInstructions() {
52
- const instructions = `
53
- Camera access is blocked. To enable camera access:
54
-
55
- Chrome/Edge:
56
- 1. Click the camera icon in the address bar
57
- 2. Select "Always allow" and click "Done"
58
- 3. Or go to Settings > Privacy and security > Site settings > Camera
59
-
60
- Firefox:
61
- 1. Click the shield icon in the address bar
62
- 2. Click on "Camera blocked"
63
- 3. Select "Allow" and refresh the page
64
-
65
- Safari:
66
- 1. Go to Safari > Settings > Websites > Camera
67
- 2. Find this website and change to "Allow"
68
-
69
- After changing permissions, please refresh the page and try again.
52
+ const instructions = `
53
+ Camera access is blocked. To enable camera access:
54
+
55
+ Chrome/Edge:
56
+ 1. Click the camera icon in the address bar
57
+ 2. Select "Always allow" and click "Done"
58
+ 3. Or go to Settings > Privacy and security > Site settings > Camera
59
+
60
+ Firefox:
61
+ 1. Click the shield icon in the address bar
62
+ 2. Click on "Camera blocked"
63
+ 3. Select "Allow" and refresh the page
64
+
65
+ Safari:
66
+ 1. Go to Safari > Settings > Websites > Camera
67
+ 2. Find this website and change to "Allow"
68
+
69
+ After changing permissions, please refresh the page and try again.
70
70
  `;
71
71
  alert(instructions);
72
72
  }
@@ -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 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: {
@@ -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();
@@ -8,7 +8,6 @@ import { useDisclosure } from '../../client/hooks/useDisclosure.js';
8
8
  import { useLocaleInfo } from '../../client/hooks/useLocaleInfo.js';
9
9
  import { useRemainingTime } from '../../client/hooks/useRemainingTime.js';
10
10
  import { toaster } from '../../client/utils/toaster.js';
11
- import { CalendarIcon } from '../../icons/CalendarIcon.js';
12
11
  import { CheckIcon } from '../../icons/CheckIcon.js';
13
12
  import { InfoCircleIcon } from '../../icons/InfoCircleIcon.js';
14
13
  import { XIcon } from '../../icons/XIcon.js';
@@ -59,22 +58,22 @@ export function DailyCheckInQuest() {
59
58
  });
60
59
  const remainingTime = useRemainingTime(endDateTime);
61
60
  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: [_jsxs("div", { className: "flex max-h-7.5 items-start justify-between", children: [_jsx(RemainingTime, {}), _jsx("button", { type: "button", className: "bg-bg-primary border-border-secondary flex size-9 cursor-pointer items-center justify-center rounded-md border", onClick: () => disclosure.setOpen(true), "aria-label": "View Rules", children: _jsx(InfoCircleIcon, { className: "text-text-disabled size-5" }) })] }), _jsx("p", { className: "text-xl font-semibold", children: name }), _jsx("div", { className: "text-text-secondary-700 text-wrap text-sm font-normal", dangerouslySetInnerHTML: { __html: description } })] }), _jsxs("div", { className: "flex w-full flex-col space-y-2", children: [_jsx("div", { className: "grid grid-cols-7", children: dailyCheckedInData.map((item) => {
62
- const reward = item.reward
63
- ? `+${formatNumber(item.reward, {
64
- currency: localeInfo.currency.code,
65
- minDecimalPlaces: 0,
66
- maxDecimalPlaces: 0,
67
- })}`
68
- : '-';
69
- return (_jsx("div", { className: twMerge('flex items-center justify-center', item.day <= (checkInStreak || 0)
70
- ? 'text-brand-400'
71
- : 'text-text-secondary-700'), children: _jsx("p", { children: reward }) }, item.day));
61
+ const done = item.day <= (checkInStreak ?? 0);
62
+ const reward = item.reward ? (`+${formatNumber(item.reward, {
63
+ currency: localeInfo.currency.code,
64
+ minDecimalPlaces: 0,
65
+ maxDecimalPlaces: 0,
66
+ })}`) : done ? (_jsx(CheckIcon, { className: "size-4" })) : ('-');
67
+ return (_jsx("div", { className: twMerge('flex items-center justify-center', done ? 'text-brand-400' : 'text-text-secondary-700'), children: _jsx("p", { children: reward }) }, item.day));
72
68
  }) }), _jsx("div", { className: "bg-bg-primary h-2 w-full overflow-hidden rounded-full", children: _jsx("div", { className: "bg-utility-brand-600 h-full rounded-full transition-all duration-300", style: { width: `${progressPercentage}%` } }) }), _jsx("div", { className: "grid grid-cols-7 place-items-center", children: dailyCheckedInData.map((item) => (_jsxs("div", { className: "text-text-secondary-700 ui-active:text-brand-400 group relative size-fit", "data-active": dataAttr(item.day <= (checkInStreak ?? 0)), children: [_jsx(CalendarIcon, { className: "h-4.5 w-auto" }), _jsx("p", { className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-2xs leading-none", children: item.day })] }, item.day))) })] }), _jsx(Button, { onClick: () => checkInDailyQuestMutation.mutate(id), className: "disabled:bg-bg-primary disabled:text-text-disabled", disabled: status === 'COMPLETED' ||
73
69
  status === 'FAILED' ||
74
70
  remainingTime.expired ||
75
71
  hasCheckedInToday ||
76
72
  checkInDailyQuestMutation.isPending, children: hasCheckedInToday && status === 'IN_PROGRESS' ? (_jsx(RemainingTimeTilTomorrow, {})) : (_jsx("span", { children: "Check-In" })) })] }), _jsx(Rules, { open: disclosure.open, onOpenChange: disclosure.setOpen })] }));
77
73
  }
74
+ function CalendarIcon(props) {
75
+ return (_jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "17", height: "18", viewBox: "0 0 17 18", fill: "none", ...props, children: _jsx("path", { d: "M11.5477 0.666687V4.00002M4.88102 0.666687V4.00002M4.71436 17.3334H11.7144C13.1145 17.3334 13.8146 17.3334 14.3493 17.0609C14.8197 16.8212 15.2022 16.4387 15.4419 15.9683C15.7144 15.4336 15.7144 14.7335 15.7144 13.3334V6.33335C15.7144 4.93322 15.7144 4.23316 15.4419 3.69838C15.2022 3.22797 14.8197 2.84552 14.3493 2.60584C13.8146 2.33335 13.1145 2.33335 11.7144 2.33335H4.71436C3.31422 2.33335 2.61416 2.33335 2.07938 2.60584C1.60897 2.84552 1.22652 3.22797 0.986839 3.69838C0.714355 4.23316 0.714355 4.93322 0.714355 6.33335V13.3334C0.714355 14.7335 0.714355 15.4336 0.986839 15.9683C1.22652 16.4387 1.60897 16.8212 2.07938 17.0609C2.61416 17.3334 3.31422 17.3334 4.71436 17.3334Z", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round" }) }));
76
+ }
78
77
  function RemainingTimeTilTomorrow() {
79
78
  const queryClient = getQueryClient();
80
79
  const remainingTime = useRemainingTime(startOfDay(addDays(new Date(), 1)), {
@@ -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';
@@ -46,9 +46,6 @@ export function SignUpForm() {
46
46
  itemToValue: (item) => item.code,
47
47
  itemToString: (item) => `${item.code} - ${item.name}`,
48
48
  });
49
- const globalStore = useGlobalStore(useShallow((ctx) => ({
50
- kyc: ctx.kyc,
51
- })));
52
49
  const [step, setStep] = useState(1);
53
50
  const dialog = useDialogContext();
54
51
  const search = useSearchParams();
@@ -195,7 +192,6 @@ export function SignUpForm() {
195
192
  mobileNumber: mobileNumberParser.format(mobileNumber),
196
193
  verificationCode: verificationCode.join(''),
197
194
  referralCode: search.get('referralCode') ?? undefined,
198
- domain: search.get('domain') ?? undefined,
199
195
  btag: search.get('btag') ?? undefined,
200
196
  });
201
197
  const name = mobileNumberParser.format(mobileNumber);
@@ -242,7 +238,6 @@ export function SignUpForm() {
242
238
  dialog.setOpen(false);
243
239
  step1Form.reset();
244
240
  step2Form.reset();
245
- globalStore.kyc.setOpen(true);
246
241
  setStep(1);
247
242
  }
248
243
  catch (error) {
@@ -256,7 +251,7 @@ export function SignUpForm() {
256
251
  o.field.onChange(details.value);
257
252
  }, onValueComplete: () => {
258
253
  form2Ref.current?.requestSubmit();
259
- }, children: [_jsxs(PinInput.Control, { className: "grid-cols-[1fr_1fr_1fr_auto_1fr_1fr_1fr] items-center gap-md", children: [_jsx(PinInput.Input, { index: 0 }), _jsx(PinInput.Input, { index: 1 }), _jsx(PinInput.Input, { index: 2 }), _jsx("span", { className: "text-text-placeholder-subtle text-2xl font-medium", children: "\u2013" }), _jsx(PinInput.Input, { index: 3 }), _jsx(PinInput.Input, { index: 4 }), _jsx(PinInput.Input, { index: 5 })] }), _jsx(PinInput.HiddenInput, {})] }), _jsx(Field.ErrorText, { children: o.formState.errors.verificationCode?.message })] })) }), _jsx(Button, { type: "submit", className: "mt-4xl", disabled: step2Form.formState.isSubmitting, children: "Verify" }), _jsxs("div", { className: "mt-3 flex w-full items-center justify-center gap-xs text-sm", children: [_jsx("span", { className: "text-text-secondary-700", children: "Didn't recieve the code?" }), _jsx("button", { type: "button", className: "text-button-secondary-fg font-semibold disabled:cursor-not-allowed disabled:opacity-75", disabled: cooldown.cooling, onClick: async () => {
254
+ }, blurOnComplete: true, readOnly: step2Form.formState.isSubmitting, type: "numeric", children: [_jsxs(PinInput.Control, { className: "grid-cols-[1fr_1fr_1fr_auto_1fr_1fr_1fr] items-center gap-md", children: [_jsx(PinInput.Input, { index: 0 }), _jsx(PinInput.Input, { index: 1 }), _jsx(PinInput.Input, { index: 2 }), _jsx("span", { className: "text-text-placeholder-subtle text-2xl font-medium", children: "\u2013" }), _jsx(PinInput.Input, { index: 3 }), _jsx(PinInput.Input, { index: 4 }), _jsx(PinInput.Input, { index: 5 })] }), _jsx(PinInput.HiddenInput, {})] }), _jsx(Field.ErrorText, { children: o.formState.errors.verificationCode?.message })] })) }), _jsx(Button, { type: "submit", className: "mt-4xl", disabled: step2Form.formState.isSubmitting, children: "Verify" }), _jsxs("div", { className: "mt-3 flex w-full items-center justify-center gap-xs text-sm", children: [_jsx("span", { className: "text-text-secondary-700", children: "Didn't recieve the code?" }), _jsx("button", { type: "button", className: "text-button-secondary-fg font-semibold disabled:cursor-not-allowed disabled:opacity-75", disabled: cooldown.cooling, onClick: async () => {
260
255
  await sendVerificationCodeMutation.mutateAsync({
261
256
  channel: 'SMS',
262
257
  recipient: mobileNumberParser.format(step1Form.getValues('mobileNumber')),
@@ -0,0 +1 @@
1
+ export declare function CaptureIdDocument(): import("react/jsx-runtime").JSX.Element;