@opexa/portal-components 0.0.305 → 0.0.306

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 (203) hide show
  1. package/dist/client/utils/recaptcha.d.ts +14 -0
  2. package/dist/client/utils/recaptcha.js +18 -0
  3. package/dist/components/DepositWithdrawal/DepositWithdrawal.lazy.js +1 -1
  4. package/dist/components/Disclaimer/DisclaimerV2.js +1 -1
  5. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  6. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  7. package/dist/components/Messages/Messages.lazy.js +1 -1
  8. package/dist/components/Messages/MessagesPopup.js +3 -3
  9. package/dist/components/ResponsibleGaming/ResponsibleGaming.lazy.js +1 -1
  10. package/dist/components/SignUp/SignUpKYC/SignUpKYC.lazy.js +1 -1
  11. package/dist/components/TermsAndConditions/TermsAndConditions.lazy.js +1 -1
  12. package/dist/components/TermsOfUse/TermsOfUse.lazy.js +1 -1
  13. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  14. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  15. package/dist/constants/EnvVar.d.ts +1 -1
  16. package/dist/services/queries.js +2639 -2639
  17. package/dist/styles/theme.css +706 -706
  18. package/dist/ui/AlertDialog/AlertDialog.d.ts +187 -187
  19. package/dist/ui/AlertDialog/alertDialog.recipe.d.ts +17 -17
  20. package/dist/ui/Avatar/Avatar.d.ts +9 -9
  21. package/dist/ui/Avatar/avatar.recipe.d.ts +3 -3
  22. package/dist/ui/Carousel/Carousel.d.ts +99 -99
  23. package/dist/ui/Carousel/carousel.recipe.d.ts +11 -11
  24. package/dist/ui/Checkbox/Checkbox.d.ts +23 -23
  25. package/dist/ui/Checkbox/checkbox.recipe.d.ts +3 -3
  26. package/dist/ui/Clipboard/Clipboard.d.ts +18 -18
  27. package/dist/ui/Clipboard/clipboard.recipe.d.ts +3 -3
  28. package/dist/ui/Collapsible/Collapsible.d.ts +20 -20
  29. package/dist/ui/Collapsible/collapsible.recipe.d.ts +5 -5
  30. package/dist/ui/Combobox/Combobox.d.ts +42 -42
  31. package/dist/ui/Combobox/combobox.recipe.d.ts +3 -3
  32. package/dist/ui/DatePicker/DatePicker.d.ts +72 -72
  33. package/dist/ui/DatePicker/datePicker.recipe.d.ts +3 -3
  34. package/dist/ui/Dialog/Dialog.d.ts +187 -187
  35. package/dist/ui/Dialog/dialog.recipe.d.ts +17 -17
  36. package/dist/ui/Drawer/Drawer.d.ts +33 -33
  37. package/dist/ui/Drawer/drawer.recipe.d.ts +3 -3
  38. package/dist/ui/Field/Field.d.ts +21 -21
  39. package/dist/ui/Field/field.recipe.d.ts +3 -3
  40. package/dist/ui/Menu/Menu.d.ts +90 -90
  41. package/dist/ui/Menu/menu.recipe.d.ts +5 -5
  42. package/dist/ui/Popover/Popover.d.ts +154 -154
  43. package/dist/ui/Popover/popover.recipe.d.ts +14 -14
  44. package/dist/ui/Progress/Progress.d.ts +27 -27
  45. package/dist/ui/Progress/progress.recipe.d.ts +3 -3
  46. package/dist/ui/QrCode/QrCode.d.ts +25 -25
  47. package/dist/ui/QrCode/qrCode.recipe.d.ts +5 -5
  48. package/dist/ui/Select/Select.d.ts +45 -45
  49. package/dist/ui/Select/select.recipe.d.ts +3 -3
  50. package/dist/ui/Table/Table.d.ts +21 -21
  51. package/dist/ui/Table/table.anatomy.d.ts +1 -1
  52. package/dist/ui/Table/table.recipe.d.ts +3 -3
  53. package/dist/ui/Tabs/Tabs.d.ts +15 -15
  54. package/dist/ui/Tabs/tabs.recipe.d.ts +3 -3
  55. package/package.json +164 -164
  56. package/dist/components/Disclaimer/ResponsibleGaming.d.ts +0 -10
  57. package/dist/components/Disclaimer/ResponsibleGaming.js +0 -13
  58. package/dist/components/Disclaimer/TermsOfUse.d.ts +0 -11
  59. package/dist/components/Disclaimer/TermsOfUse.js +0 -13
  60. package/dist/components/FeatureFlag/FeatureFlag.d.ts +0 -1
  61. package/dist/components/FeatureFlag/FeatureFlag.js +0 -29
  62. package/dist/components/FeatureFlag/index.d.ts +0 -1
  63. package/dist/components/FeatureFlag/index.js +0 -1
  64. package/dist/components/KYC/AutoOpen.d.ts +0 -1
  65. package/dist/components/KYC/AutoOpen.js +0 -40
  66. package/dist/components/KYC/CaptureIdDocument.d.ts +0 -1
  67. package/dist/components/KYC/CaptureIdDocument.js +0 -219
  68. package/dist/components/KYC/CaptureSelfie.d.ts +0 -1
  69. package/dist/components/KYC/CaptureSelfie.js +0 -285
  70. package/dist/components/KYC/DisplayImage.d.ts +0 -5
  71. package/dist/components/KYC/DisplayImage.js +0 -8
  72. package/dist/components/KYC/FileUpload.d.ts +0 -10
  73. package/dist/components/KYC/FileUpload.js +0 -72
  74. package/dist/components/KYC/NoCameraError.d.ts +0 -7
  75. package/dist/components/KYC/NoCameraError.js +0 -6
  76. package/dist/components/KYC/PersonOverlayDesktop.d.ts +0 -7
  77. package/dist/components/KYC/PersonOverlayDesktop.js +0 -9
  78. package/dist/components/KYC/backup/Header.d.ts +0 -1
  79. package/dist/components/KYC/backup/Header.js +0 -8
  80. package/dist/components/KYC/backup/Indicator.d.ts +0 -1
  81. package/dist/components/KYC/backup/Indicator.js +0 -9
  82. package/dist/components/KYC/backup/KYC.d.ts +0 -1
  83. package/dist/components/KYC/backup/KYC.js +0 -14
  84. package/dist/components/KYC/backup/KYC.lazy.d.ts +0 -1
  85. package/dist/components/KYC/backup/KYC.lazy.js +0 -26
  86. package/dist/components/KYC/backup/KYCContext.d.ts +0 -6
  87. package/dist/components/KYC/backup/KYCContext.js +0 -2
  88. package/dist/components/KYC/backup/Step1.d.ts +0 -1
  89. package/dist/components/KYC/backup/Step1.js +0 -13
  90. package/dist/components/KYC/backup/Step2.d.ts +0 -1
  91. package/dist/components/KYC/backup/Step2.js +0 -13
  92. package/dist/components/KYC/backup/Step3.d.ts +0 -1
  93. package/dist/components/KYC/backup/Step3.js +0 -13
  94. package/dist/components/KYC/backup/Step4.d.ts +0 -1
  95. package/dist/components/KYC/backup/Step4.js +0 -7
  96. package/dist/components/KYC/backup/useKYC.d.ts +0 -10
  97. package/dist/components/KYC/backup/useKYC.js +0 -8
  98. package/dist/components/KYC/loadModels.d.ts +0 -1
  99. package/dist/components/KYC/loadModels.js +0 -9
  100. package/dist/components/KYC/utils.d.ts +0 -9
  101. package/dist/components/KYC/utils.js +0 -79
  102. package/dist/components/Messages/Message.d.ts +0 -1
  103. package/dist/components/Messages/Message.js +0 -35
  104. package/dist/components/Messages/MessageContext.d.ts +0 -6
  105. package/dist/components/Messages/MessageContext.js +0 -2
  106. package/dist/components/Messages/MessagePopup.d.ts +0 -1
  107. package/dist/components/Messages/MessagePopup.js +0 -20
  108. package/dist/components/Messages/MessageTrigger.d.ts +0 -8
  109. package/dist/components/Messages/MessageTrigger.js +0 -19
  110. package/dist/components/Quests/CountdownTimer.d.ts +0 -15
  111. package/dist/components/Quests/CountdownTimer.js +0 -33
  112. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.d.ts +0 -4
  113. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuest.js +0 -78
  114. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.d.ts +0 -8
  115. package/dist/components/Quests/DailyCheckInQuest/DailyCheckInQuestModal.js +0 -9
  116. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.d.ts +0 -4
  117. package/dist/components/Quests/OnboardingQuest/OnboardingQuest.js +0 -4
  118. package/dist/components/Quests/WageringQuest/WageringQuest.d.ts +0 -4
  119. package/dist/components/Quests/WageringQuest/WageringQuest.js +0 -20
  120. package/dist/components/Quests/WageringQuest/WageringQuestModal.d.ts +0 -9
  121. package/dist/components/Quests/WageringQuest/WageringQuestModal.js +0 -9
  122. package/dist/components/SignUp/SignUp.lazy.d.ts +0 -12
  123. package/dist/components/SignUp/SignUp.lazy.js +0 -18
  124. package/dist/components/SignUp/SignUpContext.d.ts +0 -6
  125. package/dist/components/SignUp/SignUpContext.js +0 -2
  126. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.d.ts +0 -17
  127. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.js +0 -18
  128. package/dist/components/SignUp/SignUpDefault/SignUpContext.d.ts +0 -6
  129. package/dist/components/SignUp/SignUpDefault/SignUpContext.js +0 -2
  130. package/dist/components/SignUp/SignUpDefault/SignUpForm.d.ts +0 -1
  131. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +0 -310
  132. package/dist/components/SignUp/SignUpForm.d.ts +0 -1
  133. package/dist/components/SignUp/SignUpForm.js +0 -284
  134. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.d.ts +0 -1
  135. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.js +0 -198
  136. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.d.ts +0 -1
  137. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.js +0 -251
  138. package/dist/components/SignUp/SignUpKYC/ImageUploader.d.ts +0 -10
  139. package/dist/components/SignUp/SignUpKYC/ImageUploader.js +0 -42
  140. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.d.ts +0 -7
  141. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.js +0 -9
  142. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.d.ts +0 -1
  143. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +0 -464
  144. package/dist/components/SignUp/SignUpKYC/useImageUploader.d.ts +0 -11
  145. package/dist/components/SignUp/SignUpKYC/useImageUploader.js +0 -20
  146. package/dist/components/SignUp/SignUpKYC/utils.d.ts +0 -9
  147. package/dist/components/SignUp/SignUpKYC/utils.js +0 -79
  148. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.d.ts +0 -1
  149. package/dist/components/SignUp/SignUpPagcor/CaptureIdDocument.js +0 -198
  150. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.d.ts +0 -1
  151. package/dist/components/SignUp/SignUpPagcor/CaptureSelfie.js +0 -251
  152. package/dist/components/SignUp/SignUpPagcor/ImageUploader.d.ts +0 -10
  153. package/dist/components/SignUp/SignUpPagcor/ImageUploader.js +0 -41
  154. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.d.ts +0 -1
  155. package/dist/components/SignUp/SignUpPagcor/SignUpFormPagcor.js +0 -429
  156. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.d.ts +0 -13
  157. package/dist/components/SignUp/SignUpPagcor/SignUpPagcor.lazy.js +0 -26
  158. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.d.ts +0 -7
  159. package/dist/components/SignUp/SignUpPagcor/SignUpPagcorContext.js +0 -2
  160. package/dist/components/SignUp/SignUpPagcor/useImageUploader.d.ts +0 -11
  161. package/dist/components/SignUp/SignUpPagcor/useImageUploader.js +0 -20
  162. package/dist/components/shared/IdDocumentField.client.d.ts +0 -25
  163. package/dist/components/shared/IdDocumentField.client.js +0 -204
  164. package/dist/components/shared/IdDocumentField.d.ts +0 -2
  165. package/dist/components/shared/IdDocumentField.js +0 -11
  166. package/dist/components/shared/SelfieField.client.d.ts +0 -20
  167. package/dist/components/shared/SelfieField.client.js +0 -327
  168. package/dist/components/shared/SelfieField.d.ts +0 -2
  169. package/dist/components/shared/SelfieField.js +0 -11
  170. package/dist/constants/BranchCode.d.ts +0 -4
  171. package/dist/constants/BranchCode.js +0 -42
  172. package/dist/handlers/postTransformIdFrontImage.d.ts +0 -3
  173. package/dist/handlers/postTransformIdFrontImage.js +0 -67
  174. package/dist/handlers/postTransformSelfieImage.d.ts +0 -3
  175. package/dist/handlers/postTransformSelfieImage.js +0 -71
  176. package/dist/handlers.d.ts +0 -43
  177. package/dist/handlers.js +0 -297
  178. package/dist/icons/BellRingIcon.d.ts +0 -2
  179. package/dist/icons/BellRingIcon.js +0 -4
  180. package/dist/third-parties/FacebookPixel/FacebookPixel.d.ts +0 -4
  181. package/dist/third-parties/FacebookPixel/FacebookPixel.js +0 -4
  182. package/dist/third-parties/FacebookPixel/api.d.ts +0 -0
  183. package/dist/third-parties/FacebookPixel/api.js +0 -1
  184. package/dist/third-parties/FacebookPixel/index.d.ts +0 -1
  185. package/dist/third-parties/FacebookPixel/index.js +0 -1
  186. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.d.ts +0 -4
  187. package/dist/third-parties/GoogleRecaptcha/GoogleRecaptcha.js +0 -4
  188. package/dist/third-parties/GoogleRecaptcha/api.d.ts +0 -0
  189. package/dist/third-parties/GoogleRecaptcha/api.js +0 -1
  190. package/dist/third-parties/GoogleRecaptcha/index.d.ts +0 -1
  191. package/dist/third-parties/GoogleRecaptcha/index.js +0 -1
  192. package/dist/third-parties/index.d.ts +0 -2
  193. package/dist/third-parties/index.js +0 -2
  194. package/dist/utils/dataUrlToBlob.d.ts +0 -1
  195. package/dist/utils/dataUrlToBlob.js +0 -11
  196. package/dist/utils/gamesAvailable3pmTo3am.d.ts +0 -1
  197. package/dist/utils/gamesAvailable3pmTo3am.js +0 -1
  198. package/dist/utils/getGameName.d.ts +0 -1
  199. package/dist/utils/getGameName.js +0 -6
  200. package/dist/utils/isBetween3amAnd3pm.d.ts +0 -1
  201. package/dist/utils/isBetween3amAnd3pm.js +0 -5
  202. package/dist/utils/resizeImageSize.d.ts +0 -2
  203. package/dist/utils/resizeImageSize.js +0 -11
@@ -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
+ }
@@ -92,7 +92,7 @@ export function MessageDetails() {
92
92
  const message = globalStore.message.data;
93
93
  return (_jsx(Dialog.Root, { lazyMount: true, unmountOnExit: true, open: globalStore.message.open, onOpenChange: (details) => {
94
94
  globalStore.message.setOpen(details.open);
95
- }, 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 p-3xl lg:min-w-[25rem] lg:max-w-[25rem] overflow-y-auto", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsx("div", { className: "bg-bg-brand-secondary text-text-brand mx-auto flex size-12 items-center justify-center rounded-full", children: _jsx(MessageIcon, { type: message?.icon ?? 'INFO', className: "size-6" }) }), _jsx(Dialog.Title, { className: "mt-lg text-center text-lg font-semibold lg:mt-xl", children: message?.title }), message?.content && (_jsx(Dialog.Description, { className: "text-text-secondary-700 mt-xs pb-5 text-center text-sm", dangerouslySetInnerHTML: {
95
+ }, 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: "max-h-[80vh] mx-auto min-w-[21.438rem] max-w-[21.438rem] rounded-xl p-3xl lg:min-w-[25rem] lg:max-w-[25rem] overflow-y-auto", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsx("div", { className: "bg-bg-brand-secondary text-text-brand mx-auto flex size-12 items-center justify-center rounded-full", children: _jsx(MessageIcon, { type: message?.icon ?? 'INFO', className: "size-6" }) }), _jsx(Dialog.Title, { className: "mt-lg text-center text-lg font-semibold lg:mt-xl", children: message?.title }), message?.content && (_jsx(Dialog.Description, { className: "text-text-secondary-700 mt-xs pb-5 text-center text-sm", dangerouslySetInnerHTML: {
96
96
  __html: message?.content,
97
97
  } })), message?.image && (_jsx("div", { className: "mt-5 pb-5", children: _jsx(Image, { src: message?.image, alt: "", width: 400, height: 250, loading: "lazy", unoptimized: true, className: "h-auto w-full rounded-sm" }) })), message?.actions.length ? (_jsx("div", { className: "mt-3xl flex flex-col gap-2 text-center lg:mt-4xl", children: message?.actions.map((action, index) => (_jsx(Button, { asChild: true, children: _jsx(Link, { href: normalizeActionUrl(action.url, {
98
98
  transactionsPageUrl,
@@ -95,12 +95,12 @@ export function MessagesPopup() {
95
95
  }, !disclosure.open && !paused ? 2500 : null);
96
96
  return (_jsx(Dialog.Root, { open: disclosure.open, onOpenChange: (details) => {
97
97
  disclosure.setOpen(details.open);
98
- }, lazyMount: true, unmountOnExit: true, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+3)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+4)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "min-h-auto mx-auto min-w-[21.438rem] max-w-[21.438rem] overflow-y-auto rounded-xl p-3xl lg:min-w-[25rem] lg:max-w-[25rem]", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs(Carousel.Root, { page: index, onPageChange: (details) => {
98
+ }, lazyMount: true, unmountOnExit: true, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "!z-[calc(var(--z-dialog)+3)]" }), _jsx(Dialog.Positioner, { className: "!z-[calc(var(--z-dialog)+4)] flex items-center justify-center", children: _jsxs(Dialog.Content, { className: "p-3xl mx-auto max-h-[80vh] min-w-[21.438rem] max-w-[21.438rem] overflow-y-auto rounded-xl lg:min-w-[25rem] lg:max-w-[25rem]", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsxs(Carousel.Root, { page: index, onPageChange: (details) => {
99
99
  setIndex(details.page);
100
- }, slideCount: messages.length, allowMouseDrag: true, autoplay: false, children: [_jsx(Carousel.ItemGroup, { children: messages.map((message, index) => (_jsxs(Carousel.Item, { index: index, className: "select-none", children: [_jsx("div", { className: "bg-bg-brand-secondary text-text-brand mx-auto flex size-12 items-center justify-center rounded-full", children: _jsx(MessageIcon, { type: message.icon, className: "size-6" }) }), _jsx("h2", { className: "mt-lg text-center text-lg font-semibold xl:mt-xl", children: message.title }), message.content && (_jsx("div", { dangerouslySetInnerHTML: { __html: message.content }, className: "text-text-secondary-700 mt-xs pb-5 text-center text-sm" })), message.image && (_jsx("div", { className: "mt-5 pb-5", children: _jsx(Image, { src: message.image, alt: "", width: 400, height: 250, loading: "lazy", unoptimized: true, className: "h-auto w-full rounded-sm" }) })), message.actions.length ? (_jsx("div", { className: "mt-3xl flex flex-col gap-2 text-center lg:mt-4xl", children: message.actions.map((action, index) => (_jsx(Button, { asChild: true, children: _jsx(Link, { href: normalizeActionUrl(action.url, {
100
+ }, slideCount: messages.length, allowMouseDrag: true, autoplay: false, children: [_jsx(Carousel.ItemGroup, { children: messages.map((message, index) => (_jsxs(Carousel.Item, { index: index, className: "select-none", children: [_jsx("div", { className: "bg-bg-brand-secondary text-text-brand mx-auto flex size-12 items-center justify-center rounded-full", children: _jsx(MessageIcon, { type: message.icon, className: "size-6" }) }), _jsx("h2", { className: "mt-lg xl:mt-xl text-center text-lg font-semibold", children: message.title }), message.content && (_jsx("div", { dangerouslySetInnerHTML: { __html: message.content }, className: "text-text-secondary-700 mt-xs pb-5 text-center text-sm" })), message.image && (_jsx("div", { className: "mt-5 pb-5", children: _jsx(Image, { src: message.image, alt: "", width: 400, height: 250, loading: "lazy", unoptimized: true, className: "h-auto w-full rounded-sm" }) })), message.actions.length ? (_jsx("div", { className: "mt-3xl lg:mt-4xl flex flex-col gap-2 text-center", children: message.actions.map((action, index) => (_jsx(Button, { asChild: true, children: _jsx(Link, { href: normalizeActionUrl(action.url, {
101
101
  questsPageUrl,
102
102
  transactionsPageUrl,
103
103
  }), onClick: () => {
104
104
  disclosure.setOpen(false);
105
- }, children: action.name }) }, index))) })) : null] }, message.id))) }), _jsxs(Carousel.Control, { className: "mt-5 flex items-center lg:mt-3xl", children: [_jsxs(Carousel.PrevTrigger, { className: "text-text-quarterary-500 hidden items-center gap-md font-semibold disabled:invisible lg:flex", children: [_jsx(ChevronLeftIcon, { className: "size-5" }), "Back"] }), _jsx(Carousel.IndicatorGroup, { className: "flex grow justify-center gap-xs", children: messages.map((message, index) => (_jsx(Carousel.Indicator, { index: index, className: "bg-bg-quaternary ui-current:bg-brand-400 size-2.5 rounded-full transition-all duration-150 ui-current:w-5" }, message.id))) }), _jsxs(Carousel.NextTrigger, { className: "text-text-quarterary-500 hidden items-center gap-md font-semibold disabled:invisible lg:flex", children: ["Next", _jsx(ChevronRightIcon, { className: "size-5" })] })] })] })] }) })] }) }));
105
+ }, children: action.name }) }, index))) })) : null] }, message.id))) }), _jsxs(Carousel.Control, { className: "lg:mt-3xl mt-5 flex items-center", children: [_jsxs(Carousel.PrevTrigger, { className: "text-text-quarterary-500 gap-md hidden items-center font-semibold disabled:invisible lg:flex", children: [_jsx(ChevronLeftIcon, { className: "size-5" }), "Back"] }), _jsx(Carousel.IndicatorGroup, { className: "gap-xs flex grow justify-center", children: messages.map((message, index) => (_jsx(Carousel.Indicator, { index: index, className: "bg-bg-quaternary ui-current:bg-brand-400 ui-current:w-5 size-2.5 rounded-full transition-all duration-150" }, message.id))) }), _jsxs(Carousel.NextTrigger, { className: "text-text-quarterary-500 gap-md hidden items-center font-semibold disabled:invisible lg:flex", children: ["Next", _jsx(ChevronRightIcon, { className: "size-5" })] })] })] })] }) })] }) }));
106
106
  }
@@ -30,7 +30,7 @@ export function ResponsibleGaming(props) {
30
30
  globalStore.disclaimer.setOpen(true);
31
31
  }
32
32
  globalStore.responsibleGaming.setNext(null);
33
- }, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "z-popover" }), _jsx(Dialog.Positioner, { className: "z-popover", children: _jsxs(Dialog.Content, { className: twMerge('p-3xl flex h-full w-full flex-col items-start overflow-y-auto lg:mx-auto lg:min-h-[80vh] lg:w-[400px]', 'scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent scrollbar:h-2 scrollbar:w-2 scrollbar-thumb:rounded-full'), children: [_jsx(Image, { src: props.logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[7.5rem]", draggable: false }), _jsxs("div", { className: "w-full grow", children: [_jsx(Dialog.Title, { className: "text-brand-400 mt-3xl text-center text-lg font-semibold", children: "Responsible Gaming" }), _jsx(Dialog.Description, { className: "leading-2xl mt-xs text-sm", children: props.content }), _jsxs("div", { className: "gap-3xl mt-5 flex items-center justify-center", children: [_jsx(Image, { src: pagcorLogo, alt: "", height: 75, width: 88, className: "h-[5.5rem] w-auto shrink-0", draggable: false }), _jsx(Image, { src: props.responsibleGamingLogo ?? responsibleGamingLogo, alt: "", height: 62, width: 186, className: "h-[3.875rem] w-auto shrink-0", draggable: false })] })] }), _jsx(Dialog.Context, { children: (api) => (_jsx(Button, { type: "button", className: "mt-3 py-2.5", onClick: () => {
33
+ }, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "z-popover" }), _jsx(Dialog.Positioner, { className: "z-popover", children: _jsxs(Dialog.Content, { className: twMerge('p-3xl flex h-full w-full flex-col items-start overflow-y-auto lg:mx-auto lg:h-auto lg:max-h-[80vh] lg:w-[400px]', 'scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent scrollbar:h-2 scrollbar:w-2 scrollbar-thumb:rounded-full'), children: [_jsx(Image, { src: props.logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[7.5rem]", draggable: false }), _jsxs("div", { className: "w-full grow", children: [_jsx(Dialog.Title, { className: "text-brand-400 mt-3xl text-center text-lg font-semibold", children: "Responsible Gaming" }), _jsx(Dialog.Description, { className: "leading-2xl mt-xs text-sm", children: props.content }), _jsxs("div", { className: "gap-3xl mt-5 flex items-center justify-center", children: [_jsx(Image, { src: pagcorLogo, alt: "", height: 75, width: 88, className: "h-[5.5rem] w-auto shrink-0", draggable: false }), _jsx(Image, { src: props.responsibleGamingLogo ?? responsibleGamingLogo, alt: "", height: 62, width: 186, className: "h-[3.875rem] w-auto shrink-0", draggable: false })] })] }), _jsx(Dialog.Context, { children: (api) => (_jsx(Button, { type: "button", className: "mt-3 py-2.5", onClick: () => {
34
34
  api.setOpen(false);
35
35
  }, children: "I Agree" })) })] }) })] }) }));
36
36
  }
@@ -14,5 +14,5 @@ export function SignUpKYC(props) {
14
14
  const signUpStore = useGlobalStore(useShallow((ctx) => ctx.signUp));
15
15
  return (_jsx(SignUpKYCPropsProvider, { value: props, children: _jsx(Dialog.Root, { open: signUpStore.open, onOpenChange: (details) => {
16
16
  signUpStore.setOpen(details.open);
17
- }, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, {}), _jsx(Dialog.Positioner, { children: _jsx(Dialog.Content, { className: twMerge('bg-bg-primary-alt z-banner p-3xl pb-4xl mx-auto flex size-full flex-col items-start overflow-y-auto lg:min-h-[80vh] lg:w-fit lg:rounded-xl', 'scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent scrollbar:h-2 scrollbar:w-2 scrollbar-thumb:rounded-full', props.className), children: _jsxs("div", { className: "size-full lg:w-[400px]", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsx(Image, { src: props.logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[7.5rem]", draggable: false }), _jsx(Suspense, { children: _jsx(SignUpKYCForm, {}) })] }) }) })] }) }) }));
17
+ }, lazyMount: true, unmountOnExit: true, closeOnEscape: false, closeOnInteractOutside: false, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, {}), _jsx(Dialog.Positioner, { children: _jsx(Dialog.Content, { className: twMerge('bg-bg-primary-alt z-banner p-3xl pb-4xl mx-auto flex size-full flex-col items-start overflow-y-auto lg:max-h-[80vh] lg:w-fit lg:rounded-xl', 'scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent scrollbar:h-2 scrollbar:w-2 scrollbar-thumb:rounded-full', props.className), children: _jsxs("div", { className: "size-full lg:w-[400px]", children: [_jsx(Dialog.CloseTrigger, { children: _jsx(XIcon, {}) }), _jsx(Image, { src: props.logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[7.5rem]", draggable: false }), _jsx(Suspense, { children: _jsx(SignUpKYCForm, {}) })] }) }) })] }) }) }));
18
18
  }
@@ -30,7 +30,7 @@ export function TermsAndConditions({ logo, siteName, content, ...props }) {
30
30
  globalStore.disclaimer.setOpen(true);
31
31
  }
32
32
  globalStore.termsAndConditions.setNext(null);
33
- }, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "z-popover" }), _jsx(Dialog.Positioner, { className: "z-popover", children: _jsxs(Dialog.Content, { className: twMerge('p-3xl flex h-full w-full flex-col items-start overflow-y-auto lg:mx-auto lg:min-h-[80vh] lg:w-[400px]', 'scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent scrollbar:h-2 scrollbar:w-2 scrollbar-thumb:rounded-full'), children: [_jsx(Image, { src: logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }), _jsxs("div", { className: "w-full grow", children: [_jsxs(Dialog.Title, { className: "text-brand-400 mt-3xl text-center text-lg font-semibold", children: [siteName, " Terms of Use"] }), _jsx(Dialog.Description, { className: "leading-2xl mt-xs text-sm", children: content }), _jsxs("div", { className: "gap-3xl mt-5 flex items-center justify-center", children: [_jsx(Image, { src: pagcorLogo, alt: "", height: 75, width: 88, className: "h-[5.5rem] w-auto shrink-0", draggable: false }), _jsx(Image, { src: props.responsibleGamingLogo ?? responsibleGamingLogo, alt: "", height: 62, width: 186, className: "h-[3.875rem] w-auto shrink-0", draggable: false })] })] }), _jsx(Dialog.Context, { children: (api) => (_jsx(Button, { type: "button", className: "mt-3 py-2.5", onClick: () => {
33
+ }, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "z-popover" }), _jsx(Dialog.Positioner, { className: "z-popover", children: _jsxs(Dialog.Content, { className: twMerge('p-3xl flex h-full w-full flex-col items-start overflow-y-auto lg:mx-auto lg:h-auto lg:max-h-[80vh] lg:w-[400px]', 'scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent scrollbar:h-2 scrollbar:w-2 scrollbar-thumb:rounded-full'), children: [_jsx(Image, { src: logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }), _jsxs("div", { className: "w-full grow", children: [_jsxs(Dialog.Title, { className: "text-brand-400 mt-3xl text-center text-lg font-semibold", children: [siteName, " Terms of Use"] }), _jsx(Dialog.Description, { className: "leading-2xl mt-xs text-sm", children: content }), _jsxs("div", { className: "gap-3xl mt-5 flex items-center justify-center", children: [_jsx(Image, { src: pagcorLogo, alt: "", height: 75, width: 88, className: "h-[5.5rem] w-auto shrink-0", draggable: false }), _jsx(Image, { src: props.responsibleGamingLogo ?? responsibleGamingLogo, alt: "", height: 62, width: 186, className: "h-[3.875rem] w-auto shrink-0", draggable: false })] })] }), _jsx(Dialog.Context, { children: (api) => (_jsx(Button, { type: "button", className: "mt-3 py-2.5", onClick: () => {
34
34
  api.setOpen(false);
35
35
  }, children: "I Agree" })) })] }) })] }) }));
36
36
  }
@@ -30,7 +30,7 @@ export function TermsOfUse({ logo, siteName, content, ...props }) {
30
30
  globalStore.disclaimer.setOpen(true);
31
31
  }
32
32
  globalStore.termsOfUse.setNext(null);
33
- }, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "z-popover" }), _jsx(Dialog.Positioner, { className: "z-popover", children: _jsxs(Dialog.Content, { className: twMerge('p-3xl flex h-full w-full flex-col items-start overflow-y-auto lg:mx-auto lg:min-h-[80vh] lg:w-[400px]', 'scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent scrollbar:h-2 scrollbar:w-2 scrollbar-thumb:rounded-full'), children: [_jsx(Image, { src: logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }), _jsxs("div", { className: "w-full grow", children: [_jsxs(Dialog.Title, { className: "text-brand-400 mt-3xl text-center text-lg font-semibold", children: [siteName, " Terms of Use"] }), _jsx(Dialog.Description, { className: "leading-2xl mt-xs text-sm", children: content }), _jsxs("div", { className: "gap-3xl mt-5 flex items-center justify-center", children: [_jsx(Image, { src: pagcorLogo, alt: "", height: 75, width: 88, className: "h-[5.5rem] w-auto shrink-0", draggable: false }), _jsx(Image, { src: props.responsibleGamingLogo ?? responsibleGamingLogo, alt: "", height: 62, width: 186, className: "h-[3.875rem] w-auto shrink-0", draggable: false })] })] }), _jsx(Dialog.Context, { children: (api) => (_jsx(Button, { type: "button", className: "mt-3 py-2.5", onClick: () => {
33
+ }, children: _jsxs(Portal, { children: [_jsx(Dialog.Backdrop, { className: "z-popover" }), _jsx(Dialog.Positioner, { className: "z-popover", children: _jsxs(Dialog.Content, { className: twMerge('p-3xl flex h-full w-full flex-col items-start overflow-y-auto lg:mx-auto lg:h-auto lg:max-h-[80vh] lg:w-[400px]', 'scrollbar-thumb:bg-bg-quaternary scrollbar-track:bg-transparent scrollbar:h-2 scrollbar:w-2 scrollbar-thumb:rounded-full'), children: [_jsx(Image, { src: logo, alt: "", width: 200, height: 100, className: "mx-auto h-auto w-[120px]", draggable: false }), _jsxs("div", { className: "w-full grow", children: [_jsxs(Dialog.Title, { className: "text-brand-400 mt-3xl text-center text-lg font-semibold", children: [siteName, " Terms of Use"] }), _jsx(Dialog.Description, { className: "leading-2xl mt-xs text-sm", children: content }), _jsxs("div", { className: "gap-3xl mt-5 flex items-center justify-center", children: [_jsx(Image, { src: pagcorLogo, alt: "", height: 75, width: 88, className: "h-[5.5rem] w-auto shrink-0", draggable: false }), _jsx(Image, { src: props.responsibleGamingLogo ?? responsibleGamingLogo, alt: "", height: 62, width: 186, className: "h-[3.875rem] w-auto shrink-0", draggable: false })] })] }), _jsx(Dialog.Context, { children: (api) => (_jsx(Button, { type: "button", className: "mt-3 py-2.5", onClick: () => {
34
34
  api.setOpen(false);
35
35
  }, children: "I Agree" })) })] }) })] }) }));
36
36
  }