@opexa/portal-components 0.0.186 → 0.0.188

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 (188) 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/Messages/Message.js +3 -2
  10. package/dist/components/Messages/MessagePopup.js +3 -2
  11. package/dist/components/News/News.js +1 -1
  12. package/dist/components/Promo/Promo.client.js +1 -1
  13. package/dist/components/Quests/DailyCheckInQuest.js +10 -11
  14. package/dist/components/Search/Search.lazy.js +1 -1
  15. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +3 -1
  16. package/dist/components/SignUp/SignUpForm.js +0 -4
  17. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +1 -0
  18. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +198 -0
  19. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +1 -0
  20. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +251 -0
  21. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +10 -0
  22. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +41 -0
  23. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +1 -0
  24. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +429 -0
  25. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +13 -0
  26. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +26 -0
  27. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +7 -0
  28. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +2 -0
  29. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +11 -0
  30. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +20 -0
  31. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  32. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  33. package/dist/services/queries.js +2357 -2357
  34. package/dist/styles/theme.css +693 -693
  35. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +14 -14
  36. package/dist/ui/Avatar/avatar.recipe.d.ts +3 -3
  37. package/dist/ui/Badge/badge.anatomy.d.ts +1 -1
  38. package/dist/ui/Badge/badge.recipe.d.ts +3 -3
  39. package/dist/ui/Carousel/carousel.recipe.d.ts +8 -8
  40. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  41. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  42. package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
  43. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  44. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  45. package/dist/ui/Dialog/dialog.recipe.d.ts +14 -14
  46. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  47. package/dist/ui/Menu/menu.recipe.d.ts +20 -20
  48. package/dist/ui/PasswordInput/passwordInput.recipe.d.ts +3 -3
  49. package/dist/ui/Popover/popover.recipe.d.ts +8 -8
  50. package/dist/ui/SegmentGroup/segmentGroup.recipe.d.ts +3 -3
  51. package/dist/ui/Select/select.recipe.d.ts +3 -3
  52. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  53. package/dist/ui/Table/table.recipe.d.ts +3 -3
  54. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  55. package/dist/ui/Tooltip/tooltip.recipe.d.ts +5 -5
  56. package/dist/utils/resizeImageSize.d.ts +1 -0
  57. package/dist/utils/resizeImageSize.js +5 -0
  58. package/package.json +164 -164
  59. package/dist/client/hooks/index.d.ts +0 -65
  60. package/dist/client/hooks/index.js +0 -65
  61. package/dist/client/services/index.d.ts +0 -4
  62. package/dist/client/services/index.js +0 -4
  63. package/dist/client/utils/index.d.ts +0 -3
  64. package/dist/client/utils/index.js +0 -3
  65. package/dist/components/CashbackBonus/CashbackBonus.client.d.ts +0 -2
  66. package/dist/components/CashbackBonus/CashbackBonus.client.js +0 -9
  67. package/dist/components/CashbackBonus/CashbackBonus.d.ts +0 -10
  68. package/dist/components/CashbackBonus/CashbackBonus.js +0 -5
  69. package/dist/components/CashbackBonus/index.d.ts +0 -1
  70. package/dist/components/CashbackBonus/index.js +0 -1
  71. package/dist/components/Empty.d.ts +0 -9
  72. package/dist/components/Empty.js +0 -7
  73. package/dist/components/Games/GameContext.d.ts +0 -2
  74. package/dist/components/Games/GameContext.js +0 -2
  75. package/dist/components/InfiniteScroll.d.ts +0 -10
  76. package/dist/components/InfiniteScroll.js +0 -25
  77. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
  78. package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
  79. package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
  80. package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
  81. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
  82. package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
  83. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
  84. package/dist/components/JackpotCounter/index.d.ts +0 -1
  85. package/dist/components/JackpotCounter/index.js +0 -1
  86. package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
  87. package/dist/components/Jackpots/JackpotDesktop.js +0 -45
  88. package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
  89. package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
  90. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +0 -9
  91. package/dist/components/Jackpots/JackpotItemDesktop.js +0 -43
  92. package/dist/components/Jackpots/JackpotItemMobile.d.ts +0 -9
  93. package/dist/components/Jackpots/JackpotItemMobile.js +0 -44
  94. package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
  95. package/dist/components/Jackpots/JackpotMobile.js +0 -46
  96. package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
  97. package/dist/components/Jackpots/JackpotRules.js +0 -11
  98. package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
  99. package/dist/components/Jackpots/Jackpots.client.js +0 -29
  100. package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
  101. package/dist/components/Jackpots/JackpotsContext.js +0 -3
  102. package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
  103. package/dist/components/Jackpots/useJackpotData.js +0 -93
  104. package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -20
  105. package/dist/components/Jackpots/useJackpotItemData.js +0 -87
  106. package/dist/components/KYC/Header.d.ts +0 -1
  107. package/dist/components/KYC/Header.js +0 -8
  108. package/dist/components/KYC/Step1.d.ts +0 -1
  109. package/dist/components/KYC/Step1.js +0 -13
  110. package/dist/components/KYC/Step2.d.ts +0 -1
  111. package/dist/components/KYC/Step2.js +0 -13
  112. package/dist/components/KYC/Step3.d.ts +0 -1
  113. package/dist/components/KYC/Step3.js +0 -13
  114. package/dist/components/KYC/Step4.d.ts +0 -1
  115. package/dist/components/KYC/Step4.js +0 -7
  116. package/dist/components/Messages/MessageItem.d.ts +0 -4
  117. package/dist/components/Messages/MessageItem.js +0 -34
  118. package/dist/components/Promo/PromoContent.d.ts +0 -2
  119. package/dist/components/Promo/PromoContent.js +0 -9
  120. package/dist/components/Promos/PromoCarousel.d.ts +0 -2
  121. package/dist/components/Promos/PromoCarousel.js +0 -41
  122. package/dist/components/Promos/PromoGrid.d.ts +0 -2
  123. package/dist/components/Promos/PromoGrid.js +0 -12
  124. package/dist/components/Promos/PromoItem.d.ts +0 -7
  125. package/dist/components/Promos/PromoItem.js +0 -10
  126. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
  127. package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
  128. package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
  129. package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
  130. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
  131. package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
  132. package/dist/components/TournamentCounter/index.d.ts +0 -1
  133. package/dist/components/TournamentCounter/index.js +0 -1
  134. package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
  135. package/dist/components/Tournaments/TournamentDesktop.js +0 -57
  136. package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
  137. package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
  138. package/dist/components/Tournaments/TournamentItemDesktop.d.ts +0 -7
  139. package/dist/components/Tournaments/TournamentItemDesktop.js +0 -56
  140. package/dist/components/Tournaments/TournamentItemMobile.d.ts +0 -7
  141. package/dist/components/Tournaments/TournamentItemMobile.js +0 -54
  142. package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
  143. package/dist/components/Tournaments/TournamentMobile.js +0 -55
  144. package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
  145. package/dist/components/Tournaments/TournamentRules.js +0 -11
  146. package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
  147. package/dist/components/Tournaments/Tournaments.client.js +0 -20
  148. package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
  149. package/dist/components/Tournaments/TournamentsContext.js +0 -3
  150. package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
  151. package/dist/components/Tournaments/useTournamentData.js +0 -72
  152. package/dist/components/Tournaments/useTournamentItemData.d.ts +0 -16
  153. package/dist/components/Tournaments/useTournamentItemData.js +0 -64
  154. package/dist/components/index.d.ts +0 -33
  155. package/dist/components/index.js +0 -33
  156. package/dist/constants/endpoints.d.ts +0 -10
  157. package/dist/constants/endpoints.js +0 -41
  158. package/dist/constants/envVars.d.ts +0 -5
  159. package/dist/constants/envVars.js +0 -28
  160. package/dist/constants/gameProviders.d.ts +0 -4
  161. package/dist/constants/gameProviders.js +0 -368
  162. package/dist/constants/gameTypes.d.ts +0 -3
  163. package/dist/constants/gameTypes.js +0 -64
  164. package/dist/constants/headerKeys.d.ts +0 -2
  165. package/dist/constants/headerKeys.js +0 -2
  166. package/dist/constants/secretQuestions.d.ts +0 -3
  167. package/dist/constants/secretQuestions.js +0 -24
  168. package/dist/constants/storageKeys.d.ts +0 -2
  169. package/dist/constants/storageKeys.js +0 -2
  170. package/dist/icons/index.d.ts +0 -65
  171. package/dist/icons/index.js +0 -65
  172. package/dist/images/hacksaw-gaming.png +0 -0
  173. package/dist/server/services/index.d.ts +0 -4
  174. package/dist/server/services/index.js +0 -4
  175. package/dist/server/utils/index.d.ts +0 -29
  176. package/dist/server/utils/index.js +0 -29
  177. package/dist/ui/Presence.d.ts +0 -2
  178. package/dist/ui/Presence.js +0 -7
  179. package/dist/ui/Prose.d.ts +0 -2
  180. package/dist/ui/Prose.js +0 -5
  181. package/dist/ui/index.d.ts +0 -26
  182. package/dist/ui/index.js +0 -26
  183. package/dist/utils/createErrorFromCode.d.ts +0 -2
  184. package/dist/utils/createErrorFromCode.js +0 -11
  185. package/dist/utils/index.d.ts +0 -17
  186. package/dist/utils/index.js +0 -17
  187. package/dist/utils/isMobile.d.ts +0 -5
  188. package/dist/utils/isMobile.js +0 -9
@@ -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
  }
@@ -7,7 +7,7 @@ import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
7
7
  import { useLocaleInfo } from '../../client/hooks/useLocaleInfo.js';
8
8
  import { useMarkMessageAsReadMutation } from '../../client/hooks/useMarkMessageAsReadMutation.js';
9
9
  import { useMessageContext } from './MessageContext.js';
10
- import { MessageIcon } from './MessageIcon.js';
10
+ import { getMessageIcon } from './utils.js';
11
11
  export function Message() {
12
12
  const message = useMessageContext();
13
13
  const localeInfo = useLocaleInfo();
@@ -16,6 +16,7 @@ export function Message() {
16
16
  messages: ctx.messages,
17
17
  })));
18
18
  const markMessageAsReadMutation = useMarkMessageAsReadMutation();
19
+ const Icon = getMessageIcon(message.icon);
19
20
  const handleViewMessage = async () => {
20
21
  globalStore.message.setData(message);
21
22
  globalStore.message.setOpen(true);
@@ -30,5 +31,5 @@ export function Message() {
30
31
  };
31
32
  return (_jsxs("div", { role: "button", tabIndex: 0, className: "border-border-secondary rounded-xs bg-bg-secondary flex h-auto flex-shrink-0 cursor-pointer flex-col border px-3.5 py-2.5", onClick: handleViewMessage, "aria-pressed": "false", children: [_jsxs("div", { className: "flex items-center space-x-2", children: [_jsx("p", { className: "text-text-tertiary-600 text-xs font-normal", children: format(new Date(message.dateTimeCreated), 'M/d/yyyy - h:mma', {
32
33
  in: tz(localeInfo.timezone),
33
- }) }), !message.markedAsRead && (_jsx("div", { className: "bg-utility-success-500 h-2.5 w-2.5 rounded-full" }))] }), _jsxs("div", { className: "mb-2 flex items-center space-x-2", children: [_jsx(MessageIcon, { type: message.icon, className: "text-brand-400 size-5" }), _jsx("p", { className: "text-text-primary-brand text-sm font-semibold", children: message.title })] }), _jsx("p", { className: "line-clamp-3 text-wrap text-sm font-normal", dangerouslySetInnerHTML: { __html: message.content } }), message.actions.length > 0 && (_jsx("div", { className: "mt-2 flex flex-wrap items-center justify-end gap-2", children: message.actions.map((action, index) => (_jsx(Link, { className: "border-button-secondary-border text-button-secondary-fg rounded-md border px-3 py-2 text-sm", href: action.url, onClick: handleActionClick, children: action.name }, index))) }))] }));
34
+ }) }), !message.markedAsRead && (_jsx("div", { className: "bg-utility-success-500 h-2.5 w-2.5 rounded-full" }))] }), _jsxs("div", { className: "mb-2 flex items-center space-x-2", children: [_jsx(Icon, { className: "text-brand-400" }), _jsx("p", { className: "text-text-primary-brand text-sm font-semibold", children: message.title })] }), _jsx("p", { className: "line-clamp-3 text-wrap text-sm font-normal", dangerouslySetInnerHTML: { __html: message.content } }), message.actions.length > 0 && (_jsx("div", { className: "mt-2 flex flex-wrap items-center justify-end gap-2", children: message.actions.map((action, index) => (_jsx(Link, { className: "border-button-secondary-border text-button-secondary-fg rounded-md border px-3 py-2 text-sm", href: action.url, onClick: handleActionClick, children: action.name }, index))) }))] }));
34
35
  }
@@ -6,12 +6,13 @@ import { useGlobalStore } from '../../client/hooks/useGlobalStore.js';
6
6
  import { XIcon } from '../../icons/XIcon.js';
7
7
  import { Dialog } from '../../ui/Dialog/index.js';
8
8
  import { Portal } from '../../ui/Portal/index.js';
9
- import { MessageIcon } from './MessageIcon.js';
9
+ import { getMessageIcon } from './utils.js';
10
10
  export const MessagePopup = () => {
11
11
  const globalStore = useGlobalStore(useShallow((ctx) => ({ message: ctx.message })));
12
+ const Icon = getMessageIcon(globalStore.message.data?.icon ?? 'MESSAGE');
12
13
  return (_jsx(Dialog.Root, { lazyMount: true, unmountOnExit: true, open: globalStore.message.open, onOpenChange: ({ open }) => {
13
14
  globalStore.message.setOpen(open);
14
- }, 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 min-w-[21.438rem] max-w-[21.438rem] rounded-xl px-xl pb-0 pt-5 shadow-xl", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "pb-6", children: [_jsx("div", { className: "bg-bg-brand-secondary mx-auto w-fit rounded-full p-3", children: _jsx(MessageIcon, { type: globalStore.message.data?.icon ?? 'INFO', className: "text-text-brand size-6" }) }), _jsx("p", { className: "text-text-primary-brand mt-lg text-center text-lg font-semibold leading-tight", children: globalStore.message.data?.title }), _jsx("div", { className: "text-shadow-text-secondary-700 mt-xs text-center text-sm font-normal leading-tight", dangerouslySetInnerHTML: {
15
+ }, 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 min-w-[21.438rem] max-w-[21.438rem] rounded-xl px-xl pb-0 pt-5 shadow-xl", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "pb-6", children: [_jsx("div", { className: "bg-bg-brand-secondary mx-auto w-fit rounded-full p-3", children: _jsx(Icon, { className: "text-text-brand", height: "24", width: "24" }) }), _jsx("p", { className: "text-text-primary-brand mt-lg text-center text-lg font-semibold leading-tight", children: globalStore.message.data?.title }), _jsx("div", { className: "text-shadow-text-secondary-700 mt-xs text-center text-sm font-normal leading-tight", dangerouslySetInnerHTML: {
15
16
  __html: globalStore.message.data?.content ?? '',
16
17
  } })] }), globalStore.message.data?.actions.length ? (_jsx("div", { className: "flex flex-col space-y-2 px-4 pb-8 pt-6 text-center", children: globalStore.message.data.actions.map((action, index) => (_jsx(Link, { className: "bg-button-primary-bg rounded-xs text-button-primary-fg w-full px-4 py-2.5 text-base font-semibold", href: action.url, onClick: () => {
17
18
  globalStore.message.setOpen(false);
@@ -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';
@@ -215,6 +215,7 @@ export function SignUpForm() {
215
215
  const ok = await pollLogin();
216
216
  if (!ok) {
217
217
  signInStore.setOpen(true);
218
+ return;
218
219
  }
219
220
  else {
220
221
  const pollUpdateAccount = createPoll(async () => {
@@ -231,7 +232,8 @@ export function SignUpForm() {
231
232
  }
232
233
  }, {
233
234
  until: (ok) => ok,
234
- maxAttempt: 3,
235
+ maxAttempt: 5,
236
+ interval: 1000,
235
237
  });
236
238
  await pollUpdateAccount();
237
239
  }
@@ -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();
@@ -242,7 +239,6 @@ export function SignUpForm() {
242
239
  dialog.setOpen(false);
243
240
  step1Form.reset();
244
241
  step2Form.reset();
245
- globalStore.kyc.setOpen(true);
246
242
  setStep(1);
247
243
  }
248
244
  catch (error) {
@@ -0,0 +1 @@
1
+ export declare function CaptureIdDocument(): import("react/jsx-runtime").JSX.Element;