@opexa/portal-components 0.0.284 → 0.0.286

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 (67) hide show
  1. package/dist/client/hooks/useCreateVentajaWithdrawalMutation.d.ts +7 -2
  2. package/dist/client/hooks/useCreateVentajaWithdrawalMutation.js +3 -2
  3. package/dist/components/Banner/Banner.d.ts +12 -3
  4. package/dist/components/Banner/Banner.js +48 -7
  5. package/dist/components/Bonuses/Bonuses.client.js +2 -1
  6. package/dist/components/DepositWithdrawal/Withdrawal/VentajaWithdrawal/VentajaWithdrawal.js +5 -3
  7. package/dist/components/Jackpots/JackpotsCarousel/JackpotsCarouselItem.module.css +184 -184
  8. package/dist/components/Jackpots/JackpotsList/JackpotsListItem.module.css +184 -184
  9. package/dist/components/Search/Search.lazy.js +1 -1
  10. package/dist/components/Tournaments/TournamentsCarousel/TournamentsCarouselItem.module.css +184 -184
  11. package/dist/components/Tournaments/TournamentsList/TournamentItem.module.css +184 -184
  12. package/dist/next.config.js +0 -1
  13. package/dist/services/queries.js +2574 -2574
  14. package/dist/services/wallet.d.ts +3 -2
  15. package/dist/services/wallet.js +2 -2
  16. package/dist/styles/theme.css +697 -697
  17. package/package.json +163 -163
  18. package/dist/components/Disclaimer/ResponsibleGaming.d.ts +0 -10
  19. package/dist/components/Disclaimer/ResponsibleGaming.js +0 -13
  20. package/dist/components/Disclaimer/TermsOfUse.d.ts +0 -11
  21. package/dist/components/Disclaimer/TermsOfUse.js +0 -13
  22. package/dist/components/KYC/CaptureIdDocument.d.ts +0 -1
  23. package/dist/components/KYC/CaptureIdDocument.js +0 -219
  24. package/dist/components/KYC/CaptureSelfie.d.ts +0 -1
  25. package/dist/components/KYC/CaptureSelfie.js +0 -285
  26. package/dist/components/KYC/DisplayImage.d.ts +0 -5
  27. package/dist/components/KYC/DisplayImage.js +0 -8
  28. package/dist/components/KYC/FileUpload.d.ts +0 -10
  29. package/dist/components/KYC/FileUpload.js +0 -72
  30. package/dist/components/KYC/NoCameraError.d.ts +0 -7
  31. package/dist/components/KYC/NoCameraError.js +0 -6
  32. package/dist/components/KYC/PersonOverlayDesktop.d.ts +0 -7
  33. package/dist/components/KYC/PersonOverlayDesktop.js +0 -9
  34. package/dist/components/KYC/utils.d.ts +0 -9
  35. package/dist/components/KYC/utils.js +0 -79
  36. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.d.ts +0 -17
  37. package/dist/components/SignUp/SignUpDefault/SignUp.lazy.js +0 -18
  38. package/dist/components/SignUp/SignUpDefault/SignUpContext.d.ts +0 -6
  39. package/dist/components/SignUp/SignUpDefault/SignUpContext.js +0 -2
  40. package/dist/components/SignUp/SignUpDefault/SignUpForm.d.ts +0 -1
  41. package/dist/components/SignUp/SignUpDefault/SignUpForm.js +0 -310
  42. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.d.ts +0 -1
  43. package/dist/components/SignUp/SignUpKYC/CaptureIdDocument.js +0 -198
  44. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.d.ts +0 -1
  45. package/dist/components/SignUp/SignUpKYC/CaptureSelfie.js +0 -251
  46. package/dist/components/SignUp/SignUpKYC/ImageUploader.d.ts +0 -10
  47. package/dist/components/SignUp/SignUpKYC/ImageUploader.js +0 -42
  48. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.d.ts +0 -7
  49. package/dist/components/SignUp/SignUpKYC/PersonOverlayDesktop.js +0 -9
  50. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.d.ts +0 -1
  51. package/dist/components/SignUp/SignUpKYC/SignUpFormKYC.js +0 -464
  52. package/dist/components/SignUp/SignUpKYC/useImageUploader.d.ts +0 -11
  53. package/dist/components/SignUp/SignUpKYC/useImageUploader.js +0 -20
  54. package/dist/components/SignUp/SignUpKYC/utils.d.ts +0 -9
  55. package/dist/components/SignUp/SignUpKYC/utils.js +0 -79
  56. package/dist/handlers/postTransformIdFrontImage.d.ts +0 -3
  57. package/dist/handlers/postTransformIdFrontImage.js +0 -82
  58. package/dist/handlers/postTransformSelfieImage.d.ts +0 -3
  59. package/dist/handlers/postTransformSelfieImage.js +0 -82
  60. package/dist/utils/gamesAvailable3pmTo3am.d.ts +0 -1
  61. package/dist/utils/gamesAvailable3pmTo3am.js +0 -1
  62. package/dist/utils/getGameName.d.ts +0 -1
  63. package/dist/utils/getGameName.js +0 -6
  64. package/dist/utils/getPercentage.d.ts +0 -1
  65. package/dist/utils/getPercentage.js +0 -6
  66. package/dist/utils/isBetween3amAnd3pm.d.ts +0 -1
  67. package/dist/utils/isBetween3amAnd3pm.js +0 -5
@@ -1,4 +1,9 @@
1
1
  import type { SetOptional } from 'type-fest';
2
- import { type CreateVentajaDisbursementWithdrawalInput } from '../../services/wallet';
2
+ import { type CreateVentajaDisbursementWithdrawalInput, type CreateVentajaDisbursmentTransactionPasswordInput } from '../../services/wallet';
3
3
  import type { Mutation } from '../../types';
4
- export declare const useCreateVentajaDisbursementWithdrawalMutation: Mutation<string, SetOptional<CreateVentajaDisbursementWithdrawalInput, 'id'>>;
4
+ interface CreateVentajaDisbursementWithdrawalVariablesLocal {
5
+ input: SetOptional<CreateVentajaDisbursementWithdrawalInput, 'id'>;
6
+ transactionPassword: CreateVentajaDisbursmentTransactionPasswordInput;
7
+ }
8
+ export declare const useCreateVentajaDisbursementWithdrawalMutation: Mutation<string, CreateVentajaDisbursementWithdrawalVariablesLocal>;
9
+ export {};
@@ -9,11 +9,12 @@ export const useCreateVentajaDisbursementWithdrawalMutation = (config) => {
9
9
  const mutation = useMutation({
10
10
  ...config,
11
11
  mutationKey: getCreateVentajaDisbursementWithdrawalMutationKey(),
12
- mutationFn: async (input) => {
12
+ mutationFn: async (props) => {
13
+ const { input, transactionPassword } = props;
13
14
  const id = input.id ?? ObjectId.generate(ObjectType.Withdrawal).toString();
14
15
  const session = await getSession();
15
16
  invariant(session.status === 'authenticated');
16
- await createVentajaDisbursementWithdrawal({ ...input, id }, {
17
+ await createVentajaDisbursementWithdrawal({ ...input, id }, transactionPassword, {
17
18
  headers: {
18
19
  Authorization: `Bearer ${session.token}`,
19
20
  ...(session.domain && {
@@ -1,3 +1,12 @@
1
- import { type BannerEntry, type BannerProps } from './Banner.client';
2
- export declare function Banner(props: BannerProps): Promise<import("react/jsx-runtime").JSX.Element>;
3
- export type { BannerEntry, BannerProps };
1
+ import type { ImageProps } from 'next/image';
2
+ export interface BannerEntry {
3
+ src: ImageProps['src'];
4
+ redirectUrl?: string;
5
+ }
6
+ export interface BannerProps {
7
+ banners: BannerEntry[];
8
+ imageWidth?: number | [mobile: number, desktop: number];
9
+ imageHeight?: number | [mobile: number, desktop: number];
10
+ className?: string;
11
+ }
12
+ export declare function Banner(props: BannerProps): import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,49 @@
1
- 'use cache';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- import { unstable_cacheLife as cacheLife } from 'next/cache';
4
- import { Banner__client, } from './Banner.client.js';
5
- export async function Banner(props) {
6
- cacheLife('days');
7
- return _jsx(Banner__client, { ...props });
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import emblaCarouselAutoplay from 'embla-carousel-autoplay';
4
+ import useEmblaCarousel, {} from 'embla-carousel-react';
5
+ import isMobile from 'is-mobile';
6
+ import Image from 'next/image';
7
+ import Link from 'next/link';
8
+ import { Fragment, useEffect, useState } from 'react';
9
+ import { twMerge } from 'tailwind-merge';
10
+ import { dataAttr } from '../../utils/dataAttr.js';
11
+ export function Banner(props) {
12
+ const [emblaRef, emblaApi] = useEmblaCarousel({
13
+ loop: true,
14
+ align: 'start',
15
+ }, [
16
+ emblaCarouselAutoplay({
17
+ playOnInit: true,
18
+ delay: 5000,
19
+ }),
20
+ ]);
21
+ const [currentIndex, setCurrentIndex] = useState(0);
22
+ useEffect(() => {
23
+ function handler(detail) {
24
+ setCurrentIndex(detail?.selectedScrollSnap() ?? 0);
25
+ }
26
+ emblaApi?.on('scroll', handler);
27
+ emblaApi?.on('init', handler);
28
+ return () => {
29
+ emblaApi?.on('init', handler);
30
+ emblaApi?.off('scroll', handler);
31
+ };
32
+ }, [emblaApi]);
33
+ const imageWidth = !props.imageWidth
34
+ ? [400, 1200]
35
+ : Array.isArray(props.imageWidth)
36
+ ? props.imageWidth
37
+ : [props.imageWidth, props.imageWidth];
38
+ const imageHeight = !props.imageHeight
39
+ ? [225, 300]
40
+ : Array.isArray(props.imageHeight)
41
+ ? props.imageHeight
42
+ : [props.imageHeight, props.imageHeight];
43
+ return (_jsxs("div", { className: twMerge('relative', props.className), children: [_jsx("div", { ref: emblaRef, className: "overflow-hidden", children: _jsx("div", { className: "flex gap-2", children: props.banners.map((banner, index) => {
44
+ const img = (_jsx(Image, { src: banner.src, alt: "", width: isMobile() ? imageWidth[0] : imageWidth[1], height: isMobile() ? imageHeight[0] : imageHeight[1], className: "block h-auto w-full", priority: index === 0 }));
45
+ return (_jsx(Fragment, { children: !banner.redirectUrl ? (_jsx("div", { className: "w-full shrink-0", children: img })) : (_jsx(Link, { href: banner.redirectUrl, className: "block w-full shrink-0", "aria-label": `Open ${banner.redirectUrl}`, children: img })) }, index));
46
+ }) }) }), _jsx("div", { className: "absolute bottom-lg left-1/2 flex w-fit -translate-x-1/2 gap-2", children: props.banners.map((_, index) => (_jsx("button", { type: "button", className: "ui-active:bg-brand-500 bg-gray-300 size-3 shrink-0 rounded-full border border-white transition-all duration-300 ui-active:w-9", onClick: () => {
47
+ emblaApi?.scrollTo(index);
48
+ }, "aria-label": `Go to slide ${index + 1}`, "data-active": dataAttr(index === currentIndex) }, index))) })] }));
8
49
  }
@@ -105,7 +105,8 @@ function CashbackBonus(props) {
105
105
  const minimumCashback = parseDecimal(props.data.cashback.minimumCashback, 0);
106
106
  const maximumMonthlyCashbackLimit = parseDecimal(props.data.cashback.maximumMonthlyCashback, 0);
107
107
  const hasNoCashback = currentAccumulatedCashbackAmount <= 0;
108
- const hasReachedOrExceededMonthlyLimit = totalAccumulatedCashbackAmount >= maximumMonthlyCashbackLimit;
108
+ const hasReachedOrExceededMonthlyLimit = currentAccumulatedCashbackAmount === 0 &&
109
+ totalAccumulatedCashbackAmount === maximumMonthlyCashbackLimit;
109
110
  const belowMinimumCashbackThreshold = currentAccumulatedCashbackAmount < minimumCashback;
110
111
  const disabled = hasNoCashback ||
111
112
  hasReachedOrExceededMonthlyLimit ||
@@ -115,10 +115,12 @@ export function VentajaWithdrawal() {
115
115
  }, [form, instapayBankList]);
116
116
  const handleSubmit = form.handleSubmit(async (data) => {
117
117
  createWithdrawalMutation.mutate({
118
- amount: data.amount,
118
+ input: {
119
+ amount: data.amount,
120
+ accountNumber: data.accountNumber,
121
+ bankCode: data.bankCode,
122
+ },
119
123
  transactionPassword: data.password,
120
- accountNumber: data.accountNumber,
121
- bankCode: data.bankCode,
122
124
  });
123
125
  });
124
126
  const bankCollection = useMemo(() => createListCollection({
@@ -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
+ }