@opexa/portal-components 0.0.226 → 0.0.227

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 (167) 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/Disclaimer/Disclaimer.d.ts +1 -0
  5. package/dist/components/Disclaimer/Disclaimer.js +1 -1
  6. package/dist/components/Disclaimer/DisclaimerV2.d.ts +1 -0
  7. package/dist/components/Disclaimer/DisclaimerV2.js +6 -2
  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/AutoOpen.js +3 -8
  13. package/dist/components/KYC/backup/KYCContext.d.ts +5 -1
  14. package/dist/components/KYC/loadModels.d.ts +1 -0
  15. package/dist/components/KYC/loadModels.js +9 -0
  16. package/dist/components/KYC/utils.js +18 -18
  17. package/dist/components/Messages/MessageContext.d.ts +5 -1
  18. package/dist/components/News/News.js +1 -1
  19. package/dist/components/Promo/Promo.client.js +1 -1
  20. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +1 -1
  21. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +10 -5
  22. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +4 -3
  23. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +1 -1
  24. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +1 -1
  25. package/dist/components/Quests/WageringQuest/WageringQuest.js +3 -2
  26. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +4 -3
  27. package/dist/components/Search/Search.lazy.js +1 -1
  28. package/dist/components/SignUp/SignUpForm.js +2 -1
  29. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +1 -0
  30. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +198 -0
  31. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +1 -0
  32. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +251 -0
  33. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +10 -0
  34. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +41 -0
  35. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +1 -0
  36. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +429 -0
  37. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +13 -0
  38. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +26 -0
  39. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +7 -0
  40. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +2 -0
  41. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +11 -0
  42. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +20 -0
  43. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  44. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  45. package/dist/constants/BranchCode.d.ts +4 -0
  46. package/dist/constants/BranchCode.js +42 -0
  47. package/dist/services/queries.js +2527 -2527
  48. package/dist/styles/theme.css +694 -694
  49. package/dist/utils/resizeImageSize.d.ts +1 -0
  50. package/dist/utils/resizeImageSize.js +5 -0
  51. package/package.json +164 -164
  52. package/dist/client/hooks/index.d.ts +0 -65
  53. package/dist/client/hooks/index.js +0 -65
  54. package/dist/client/services/index.d.ts +0 -4
  55. package/dist/client/services/index.js +0 -4
  56. package/dist/client/utils/index.d.ts +0 -3
  57. package/dist/client/utils/index.js +0 -3
  58. package/dist/components/Empty.d.ts +0 -10
  59. package/dist/components/Empty.js +0 -7
  60. package/dist/components/Games/GameContext.d.ts +0 -2
  61. package/dist/components/Games/GameContext.js +0 -2
  62. package/dist/components/InfiniteScroll.d.ts +0 -10
  63. package/dist/components/InfiniteScroll.js +0 -25
  64. package/dist/components/JackpotCounter/JackpotCounter.client.d.ts +0 -2
  65. package/dist/components/JackpotCounter/JackpotCounter.client.js +0 -66
  66. package/dist/components/JackpotCounter/JackpotCounter.d.ts +0 -17
  67. package/dist/components/JackpotCounter/JackpotCounter.js +0 -21
  68. package/dist/components/JackpotCounter/JackpotCounterItem.d.ts +0 -18
  69. package/dist/components/JackpotCounter/JackpotCounterItem.js +0 -109
  70. package/dist/components/JackpotCounter/JackpotCounterItem.module.css +0 -184
  71. package/dist/components/JackpotCounter/index.d.ts +0 -1
  72. package/dist/components/JackpotCounter/index.js +0 -1
  73. package/dist/components/Jackpots/JackpotDesktop.d.ts +0 -1
  74. package/dist/components/Jackpots/JackpotDesktop.js +0 -45
  75. package/dist/components/Jackpots/JackpotGameProviders.d.ts +0 -5
  76. package/dist/components/Jackpots/JackpotGameProviders.js +0 -41
  77. package/dist/components/Jackpots/JackpotItemDesktop.d.ts +0 -9
  78. package/dist/components/Jackpots/JackpotItemDesktop.js +0 -43
  79. package/dist/components/Jackpots/JackpotItemMobile.d.ts +0 -9
  80. package/dist/components/Jackpots/JackpotItemMobile.js +0 -44
  81. package/dist/components/Jackpots/JackpotMobile.d.ts +0 -1
  82. package/dist/components/Jackpots/JackpotMobile.js +0 -46
  83. package/dist/components/Jackpots/JackpotRules.d.ts +0 -5
  84. package/dist/components/Jackpots/JackpotRules.js +0 -11
  85. package/dist/components/Jackpots/Jackpots.client.d.ts +0 -2
  86. package/dist/components/Jackpots/Jackpots.client.js +0 -29
  87. package/dist/components/Jackpots/JackpotsContext.d.ts +0 -4
  88. package/dist/components/Jackpots/JackpotsContext.js +0 -3
  89. package/dist/components/Jackpots/useJackpotData.d.ts +0 -14
  90. package/dist/components/Jackpots/useJackpotData.js +0 -93
  91. package/dist/components/Jackpots/useJackpotItemData.d.ts +0 -20
  92. package/dist/components/Jackpots/useJackpotItemData.js +0 -87
  93. package/dist/components/KYC/Header.d.ts +0 -1
  94. package/dist/components/KYC/Header.js +0 -6
  95. package/dist/components/KYC/Step1.d.ts +0 -1
  96. package/dist/components/KYC/Step1.js +0 -12
  97. package/dist/components/KYC/Step2.d.ts +0 -1
  98. package/dist/components/KYC/Step2.js +0 -12
  99. package/dist/components/KYC/Step3.d.ts +0 -1
  100. package/dist/components/KYC/Step3.js +0 -11
  101. package/dist/components/KYC/Step4.d.ts +0 -1
  102. package/dist/components/KYC/Step4.js +0 -6
  103. package/dist/components/Messages/MessageItem.d.ts +0 -4
  104. package/dist/components/Messages/MessageItem.js +0 -34
  105. package/dist/components/TournamentCounter/TournamentCounter.client.d.ts +0 -2
  106. package/dist/components/TournamentCounter/TournamentCounter.client.js +0 -50
  107. package/dist/components/TournamentCounter/TournamentCounter.d.ts +0 -8
  108. package/dist/components/TournamentCounter/TournamentCounter.js +0 -21
  109. package/dist/components/TournamentCounter/TournamentCounterItem.d.ts +0 -8
  110. package/dist/components/TournamentCounter/TournamentCounterItem.js +0 -106
  111. package/dist/components/TournamentCounter/index.d.ts +0 -1
  112. package/dist/components/TournamentCounter/index.js +0 -1
  113. package/dist/components/Tournaments/TournamentDesktop.d.ts +0 -1
  114. package/dist/components/Tournaments/TournamentDesktop.js +0 -57
  115. package/dist/components/Tournaments/TournamentGameProviders.d.ts +0 -5
  116. package/dist/components/Tournaments/TournamentGameProviders.js +0 -38
  117. package/dist/components/Tournaments/TournamentItemDesktop.d.ts +0 -7
  118. package/dist/components/Tournaments/TournamentItemDesktop.js +0 -56
  119. package/dist/components/Tournaments/TournamentItemMobile.d.ts +0 -7
  120. package/dist/components/Tournaments/TournamentItemMobile.js +0 -54
  121. package/dist/components/Tournaments/TournamentMobile.d.ts +0 -1
  122. package/dist/components/Tournaments/TournamentMobile.js +0 -55
  123. package/dist/components/Tournaments/TournamentRules.d.ts +0 -5
  124. package/dist/components/Tournaments/TournamentRules.js +0 -11
  125. package/dist/components/Tournaments/Tournaments.client.d.ts +0 -2
  126. package/dist/components/Tournaments/Tournaments.client.js +0 -20
  127. package/dist/components/Tournaments/TournamentsContext.d.ts +0 -4
  128. package/dist/components/Tournaments/TournamentsContext.js +0 -3
  129. package/dist/components/Tournaments/useTournamentData.d.ts +0 -10
  130. package/dist/components/Tournaments/useTournamentData.js +0 -72
  131. package/dist/components/Tournaments/useTournamentItemData.d.ts +0 -16
  132. package/dist/components/Tournaments/useTournamentItemData.js +0 -64
  133. package/dist/components/index.d.ts +0 -33
  134. package/dist/components/index.js +0 -33
  135. package/dist/constants/envVars.d.ts +0 -5
  136. package/dist/constants/envVars.js +0 -28
  137. package/dist/constants/gameProviders.d.ts +0 -5
  138. package/dist/constants/gameProviders.js +0 -362
  139. package/dist/constants/gameTypes.d.ts +0 -4
  140. package/dist/constants/gameTypes.js +0 -64
  141. package/dist/constants/headerKeys.d.ts +0 -1
  142. package/dist/constants/headerKeys.js +0 -1
  143. package/dist/constants/secretQuestions.d.ts +0 -3
  144. package/dist/constants/secretQuestions.js +0 -24
  145. package/dist/constants/storageKeys.d.ts +0 -2
  146. package/dist/constants/storageKeys.js +0 -2
  147. package/dist/icons/index.d.ts +0 -65
  148. package/dist/icons/index.js +0 -65
  149. package/dist/images/hacksaw-gaming.png +0 -0
  150. package/dist/server/services/index.d.ts +0 -4
  151. package/dist/server/services/index.js +0 -4
  152. package/dist/server/utils/index.d.ts +0 -29
  153. package/dist/server/utils/index.js +0 -29
  154. package/dist/ui/Presence.d.ts +0 -2
  155. package/dist/ui/Presence.js +0 -7
  156. package/dist/ui/Prose.d.ts +0 -2
  157. package/dist/ui/Prose.js +0 -5
  158. package/dist/ui/index.d.ts +0 -26
  159. package/dist/ui/index.js +0 -26
  160. package/dist/utils/constants.d.ts +0 -2
  161. package/dist/utils/constants.js +0 -2
  162. package/dist/utils/index.d.ts +0 -17
  163. package/dist/utils/index.js +0 -17
  164. package/dist/utils/isBetween3amAnd3pm.d.ts +0 -1
  165. package/dist/utils/isBetween3amAnd3pm.js +0 -5
  166. package/dist/utils/isMobile.d.ts +0 -5
  167. 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
+ }
@@ -22,17 +22,12 @@ export function AutoOpen() {
22
22
  : isUploadCompleted
23
23
  ? 3
24
24
  : 2;
25
- const shouldOpen = !account?.realName ||
26
- !account?.birthDay ||
27
- !verification ||
28
- verification.status === 'REJECTED' ||
29
- verification.status === 'UNVERIFIED';
25
+ const shouldOpen = !isBasicInfoCompleted || !isUploadCompleted || isRejected;
30
26
  useEffect(() => {
31
27
  if (session?.status == 'authenticated' &&
32
- !kycStore['~touched'] &&
33
28
  shouldOpen &&
34
- localStorage.getItem(KYC_PROMPT_LOCALSTORAGE_KEY) == null) {
35
- kycStore.setOpen(true);
29
+ localStorage.getItem(KYC_PROMPT_LOCALSTORAGE_KEY) === null) {
30
+ kycStore.setKycReminder(true);
36
31
  return;
37
32
  }
38
33
  }, [kycStore, session?.status, shouldOpen]);
@@ -1,2 +1,6 @@
1
1
  import type { UseKYCReturn } from './useKYC';
2
- export declare const KYCContext: import("react").Context<UseKYCReturn>, useKYCContext: () => UseKYCReturn;
2
+ export declare const KYCContext: (props: {
3
+ value: UseKYCReturn;
4
+ } & {
5
+ children?: import("react").ReactNode | undefined;
6
+ }) => React.ReactNode, useKYCContext: () => UseKYCReturn;
@@ -0,0 +1 @@
1
+ export declare function loadFaceApiModels(): Promise<void>;
@@ -0,0 +1,9 @@
1
+ import * as faceapi from 'face-api.js';
2
+ export async function loadFaceApiModels() {
3
+ const MODEL_URL = '/models';
4
+ await Promise.all([
5
+ faceapi.nets.tinyFaceDetector.loadFromUri(MODEL_URL),
6
+ faceapi.nets.faceLandmark68Net.loadFromUri(MODEL_URL),
7
+ faceapi.nets.faceRecognitionNet.loadFromUri(MODEL_URL),
8
+ ]);
9
+ }
@@ -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
  }
@@ -1,2 +1,6 @@
1
1
  import type { Message } from '../../types';
2
- export declare const MessageContext: import("react").Context<Message>, useMessageContext: () => Message;
2
+ export declare const MessageContext: (props: {
3
+ value: Message;
4
+ } & {
5
+ children?: import("react").ReactNode | undefined;
6
+ }) => React.ReactNode, useMessageContext: () => Message;
@@ -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();
@@ -1,4 +1,4 @@
1
- import type { Quest } from '@opexa/portal-sdk-core';
1
+ import type { Quest } from '../../../types';
2
2
  export declare function DailyCheckInQuest({ quest }: {
3
3
  quest: Quest;
4
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -3,11 +3,16 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
3
3
  import { addDays, isEqual, startOfDay } from 'date-fns';
4
4
  import { useState } from 'react';
5
5
  import { twMerge } from 'tailwind-merge';
6
- import { useCheckInDailyCheckInQuestMutation } from '../../../client/hooks/index.js';
7
- import { toaster } from '../../../client/utils/index.js';
8
- import { CalendarIcon, CheckIcon, ClockStopWatchIcon, InfoCircleIcon, } from '../../../icons/index.js';
9
- import { Badge, Button } from '../../../ui/index.js';
10
- import { getAvailableQuestsQueryKey, getQueryClient } from '../../../utils/index.js';
6
+ import { useCheckInDailyCheckInQuestMutation } from '../../../client/hooks/useCheckInDailyCheckInQuestMutation.js';
7
+ import { toaster } from '../../../client/utils/toaster.js';
8
+ import { CalendarIcon } from '../../../icons/CalendarIcon.js';
9
+ import { CheckIcon } from '../../../icons/CheckIcon.js';
10
+ import { ClockStopWatchIcon } from '../../../icons/ClockStopWatchIcon.js';
11
+ import { InfoCircleIcon } from '../../../icons/InfoCircleIcon.js';
12
+ import { Badge } from '../../../ui/Badge/index.js';
13
+ import { Button } from '../../../ui/Button/index.js';
14
+ import { getQueryClient } from '../../../utils/getQueryClient.js';
15
+ import { getAvailableQuestsQueryKey } from '../../../utils/queryKeys.js';
11
16
  import CountdownTimer from '../CountdownTimer.js';
12
17
  import { DailyCheckInQuestModal } from './DailyCheckInQuestModal.js';
13
18
  export function DailyCheckInQuest({ quest }) {
@@ -1,8 +1,9 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Portal } from '@ark-ui/react';
4
- import { XIcon } from '../../../icons/index.js';
5
- import { Button, Dialog } from '../../../ui/index.js';
3
+ import { XIcon } from '../../../icons/XIcon.js';
4
+ import { Button } from '../../../ui/Button/index.js';
5
+ import { Dialog } from '../../../ui/Dialog/index.js';
6
+ import { Portal } from '../../../ui/Portal/index.js';
6
7
  export function DailyCheckInQuestModal(props) {
7
8
  return (_jsx(Dialog.Root, { lazyMount: true, unmountOnExit: true, open: props.modalState.isOpen, onOpenChange: ({ open }) => props.modalState.setIsOpen(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-[343px] rounded-xl px-4 pb-0 pt-5", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "flex flex-col space-y-5", children: [_jsx("p", { className: "text-text-primary-900 text-lg font-semibold", children: "Daily Check-In Rules" }), _jsxs("ul", { className: "text-text-tertiary-600 group list-disc text-wrap pl-4 text-sm font-normal", children: [_jsx("li", { children: "Earn rewards just for checking in each day!" }), _jsx("li", { children: "Stay consistent to unlock special rewards on the 3rd, 5th, and 7th day." }), _jsx("li", { children: "Missing a day will reset your streak, starting again from Day 1." }), _jsx("li", { children: "Each check-in unlocks the next one on the following day." }), _jsx("li", { children: "Successfully check in for 7 consecutive days to complete the quest and reset the cycle." })] })] }), _jsx("div", { className: "pb-4 pt-6", children: _jsx(Button, { onClick: () => props.modalState.setIsOpen(false), children: "Ok" }) })] }) })] }) }));
8
9
  }
@@ -1,4 +1,4 @@
1
- import type { Quest } from '@opexa/portal-sdk-core';
1
+ import type { Quest } from '../../../types';
2
2
  export declare function OnboardingQuest(props: {
3
3
  quest: Quest;
4
4
  }): null;
@@ -1,4 +1,4 @@
1
- import type { Quest } from '@opexa/portal-sdk-core';
1
+ import type { Quest } from '../../../types';
2
2
  export declare function WageringQuest({ quest }: {
3
3
  quest: Quest;
4
4
  }): import("react/jsx-runtime").JSX.Element;
@@ -2,8 +2,9 @@
2
2
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
3
3
  import { useState } from 'react';
4
4
  import { twMerge } from 'tailwind-merge';
5
- import { ClockStopWatchIcon, InfoCircleIcon } from '../../../icons/index.js';
6
- import { Badge } from '../../../ui/index.js';
5
+ import { ClockStopWatchIcon } from '../../../icons/ClockStopWatchIcon.js';
6
+ import { InfoCircleIcon } from '../../../icons/InfoCircleIcon.js';
7
+ import { Badge } from '../../../ui/Badge/index.js';
7
8
  import CountdownTimer from '../CountdownTimer.js';
8
9
  import { WageringQuestModal } from './WageringQuestModal.js';
9
10
  export function WageringQuest({ quest }) {
@@ -1,8 +1,9 @@
1
1
  'use client';
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { Portal } from '@ark-ui/react';
4
- import { XIcon } from '../../../icons/index.js';
5
- import { Button, Dialog } from '../../../ui/index.js';
3
+ import { XIcon } from '../../../icons/XIcon.js';
4
+ import { Button } from '../../../ui/Button/index.js';
5
+ import { Dialog } from '../../../ui/Dialog/index.js';
6
+ import { Portal } from '../../../ui/Portal/index.js';
6
7
  export function WageringQuestModal(props) {
7
8
  return (_jsx(Dialog.Root, { lazyMount: true, unmountOnExit: true, open: props.modalState.isOpen, onOpenChange: ({ open }) => props.modalState.setIsOpen(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-[343px] rounded-xl px-4 pb-0 pt-5", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs("div", { className: "flex flex-col space-y-5", children: [_jsx("p", { className: "text-text-primary-900 text-lg font-semibold", children: props.questName }), _jsxs("ul", { className: "text-text-tertiary-600 group list-disc text-wrap pl-4 text-sm font-normal", children: [_jsx("li", { children: "Earn extra rewards just by playing Slots, every bet counts, win or lose!" }), _jsx("li", { children: "Reach the wagering requirement in bets to complete the quest and claim your reward." })] })] }), _jsx("div", { className: "pb-4 pt-6", children: _jsx(Button, { onClick: () => props.modalState.setIsOpen(false), children: "Ok" }) })] }) })] }) }));
8
9
  }
@@ -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';
@@ -192,6 +192,7 @@ export function SignUpForm() {
192
192
  mobileNumber: mobileNumberParser.format(mobileNumber),
193
193
  verificationCode: verificationCode.join(''),
194
194
  referralCode: search.get('referralCode') ?? undefined,
195
+ domain: search.get('domain') ?? undefined,
195
196
  btag: search.get('btag') ?? undefined,
196
197
  });
197
198
  const name = mobileNumberParser.format(mobileNumber);
@@ -251,7 +252,7 @@ export function SignUpForm() {
251
252
  o.field.onChange(details.value);
252
253
  }, onValueComplete: () => {
253
254
  form2Ref.current?.requestSubmit();
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 () => {
255
+ }, 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 () => {
255
256
  await sendVerificationCodeMutation.mutateAsync({
256
257
  channel: 'SMS',
257
258
  recipient: mobileNumberParser.format(step1Form.getValues('mobileNumber')),
@@ -0,0 +1 @@
1
+ export declare function CaptureIdDocument(): import("react/jsx-runtime").JSX.Element;