@latte-macchiat-io/latte-vanilla-components 0.0.176 → 0.0.178
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.
- package/package.json +9 -22
- package/src/assets/styles/mediaqueries.tsx +24 -0
- package/src/components/Actions/Actions.tsx +132 -0
- package/src/components/Actions/export.tsx +4 -0
- package/src/components/{Main/stories.ts → Actions/stories.tsx} +14 -13
- package/src/components/Button/Button.tsx +132 -0
- package/src/components/Button/export.tsx +5 -0
- package/src/components/Carousel/Carousel.tsx +328 -0
- package/src/components/Carousel/export.tsx +4 -0
- package/src/components/Columns/Columns.tsx +142 -0
- package/src/components/Columns/export.tsx +5 -0
- package/src/components/ConsentCookie/ConsentCookie.tsx +202 -0
- package/src/components/ConsentCookie/export.tsx +4 -0
- package/src/components/{Icon/stories.ts → ConsentCookie/stories.tsx} +7 -8
- package/src/components/Footer/Footer.tsx +130 -0
- package/src/components/Footer/export.tsx +4 -0
- package/src/components/Footer/stories.tsx +26 -0
- package/src/components/Form/Form.tsx +127 -0
- package/src/components/Form/Row/Row.tsx +137 -0
- package/src/components/Form/Row/stories.tsx +41 -0
- package/src/components/Form/TextField/Input/Input.tsx +139 -0
- package/src/components/Form/TextField/Input/export.tsx +6 -0
- package/src/components/Form/TextField/Label/Label.tsx +133 -0
- package/src/components/Form/TextField/Label/export.tsx +4 -0
- package/src/components/Form/TextField/TextField.tsx +200 -0
- package/src/components/Form/TextField/Textarea/Textarea.tsx +135 -0
- package/src/components/Form/TextField/Textarea/export.tsx +6 -0
- package/src/components/Form/TextField/Textarea/stories.tsx +44 -0
- package/src/components/Form/TextField/export.tsx +4 -0
- package/src/components/Form/export.tsx +4 -0
- package/src/components/Header/Header.tsx +158 -0
- package/src/components/Header/HeaderOverlay/index.tsx +32 -0
- package/src/components/Header/ToggleNav/index.tsx +32 -0
- package/src/components/Header/export.tsx +4 -0
- package/src/components/Header/stories.tsx +26 -0
- package/src/components/Icon/Icon.tsx +159 -0
- package/src/components/Icon/export.tsx +4 -0
- package/src/components/KeyNumber/KeyNumber.tsx +166 -0
- package/src/components/KeyNumber/export.tsx +4 -0
- package/src/components/LanguageSwitcher/LanguageSwitcher.tsx +168 -0
- package/src/components/LanguageSwitcher/export.tsx +4 -0
- package/src/components/Logo/Logo.tsx +137 -0
- package/src/components/Logo/export.tsx +4 -0
- package/src/components/Logo/stories.tsx +28 -0
- package/src/components/Main/Main.tsx +130 -0
- package/src/components/Main/export.tsx +4 -0
- package/src/components/Modal/Modal.tsx +194 -0
- package/src/components/Modal/export.tsx +4 -0
- package/src/components/Modal/types.tsx +5 -0
- package/src/components/Nav/Nav.tsx +129 -0
- package/src/components/Nav/export.tsx +4 -0
- package/src/components/Nav/stories.tsx +28 -0
- package/src/components/NavLegal/NavLegal.tsx +133 -0
- package/src/components/NavLegal/export.tsx +4 -0
- package/src/components/NavLegal/stories.tsx +28 -0
- package/src/components/NavSocial/NavSocial.tsx +169 -0
- package/src/components/NavSocial/export.tsx +5 -0
- package/src/components/{Columns/stories.ts → NavSocial/stories.tsx} +12 -14
- package/src/components/Section/Section.tsx +130 -0
- package/src/components/Section/export.tsx +6 -0
- package/src/components/ToRemove/ToRemove.tsx +3 -0
- package/src/components/Video/Video.tsx +243 -0
- package/src/components/Video/export.tsx +2 -0
- package/src/components/VideoFullWidth/VideoFullWidth.tsx +152 -0
- package/src/components/VideoFullWidth/export.tsx +2 -0
- package/dist/components/Actions/Actions.css.ts +0 -113
- package/dist/components/Button/Button.css.ts +0 -119
- package/dist/components/Carousel/Carousel.css.ts +0 -179
- package/dist/components/Columns/Columns.css.ts +0 -185
- package/dist/components/ConsentCookie/ConsentCookie.css.ts +0 -167
- package/dist/components/Footer/Footer.css.ts +0 -108
- package/dist/components/Form/Form.css.ts +0 -64
- package/dist/components/Form/Row/Row.css.ts +0 -70
- package/dist/components/Form/TextField/Input/Input.css.ts +0 -106
- package/dist/components/Form/TextField/Label/Label.css.ts +0 -58
- package/dist/components/Form/TextField/TextField.css.ts +0 -139
- package/dist/components/Form/TextField/Textarea/Textarea.css.ts +0 -121
- package/dist/components/Header/Header.css.ts +0 -111
- package/dist/components/Header/HeaderOverlay/styles.css.ts +0 -33
- package/dist/components/Header/ToggleNav/styles.css.ts +0 -40
- package/dist/components/Icon/Icon.css.ts +0 -102
- package/dist/components/KeyNumber/KeyNumber.css.ts +0 -158
- package/dist/components/LanguageSwitcher/LanguageSwitcher.css.ts +0 -120
- package/dist/components/Logo/Logo.css.ts +0 -98
- package/dist/components/Main/Main.css.ts +0 -62
- package/dist/components/Modal/Modal.css.ts +0 -203
- package/dist/components/Nav/Nav.css.ts +0 -123
- package/dist/components/NavLegal/NavLegal.css.ts +0 -121
- package/dist/components/NavSocial/NavSocial.css.ts +0 -121
- package/dist/components/Section/Section.css.ts +0 -101
- package/dist/components/Video/Video.css.ts +0 -210
- package/dist/components/VideoFullWidth/VideoFullWidth.css.ts +0 -50
- package/dist/css/index.cjs +0 -1
- package/dist/css/index.js +0 -34
- package/dist/index.cjs.js +0 -2
- package/dist/index.es.js +0 -3863
- package/dist/styles/sprinkles.css.ts +0 -84
- package/dist/theme/contract.css.ts +0 -83
- package/dist/theme.css-CNjMk-g_.cjs +0 -1
- package/dist/theme.css-Dj6kL9o0.js +0 -3020
- package/dist/types/components/Actions/Actions.css.d.ts +0 -74
- package/dist/types/components/Actions/Actions.d.ts +0 -7
- package/dist/types/components/Actions/stories.d.ts +0 -0
- package/dist/types/components/Button/Button.css.d.ts +0 -65
- package/dist/types/components/Button/Button.d.ts +0 -8
- package/dist/types/components/Button/export.d.ts +0 -0
- package/dist/types/components/Button/stories.d.ts +0 -0
- package/dist/types/components/Carousel/Carousel.css.d.ts +0 -33
- package/dist/types/components/Carousel/Carousel.d.ts +0 -15
- package/dist/types/components/Carousel/export.d.ts +0 -0
- package/dist/types/components/Columns/Columns.css.d.ts +0 -104
- package/dist/types/components/Columns/Columns.d.ts +0 -8
- package/dist/types/components/Columns/export.d.ts +0 -0
- package/dist/types/components/Columns/stories.d.ts +0 -0
- package/dist/types/components/ConsentCookie/ConsentCookie.css.d.ts +0 -15
- package/dist/types/components/ConsentCookie/ConsentCookie.d.ts +0 -17
- package/dist/types/components/ConsentCookie/export.d.ts +0 -0
- package/dist/types/components/ConsentCookie/stories.d.ts +0 -0
- package/dist/types/components/Footer/Footer.css.d.ts +0 -50
- package/dist/types/components/Footer/Footer.d.ts +0 -7
- package/dist/types/components/Footer/export.d.ts +0 -0
- package/dist/types/components/Footer/stories.d.ts +0 -6
- package/dist/types/components/Form/Form.css.d.ts +0 -46
- package/dist/types/components/Form/Form.d.ts +0 -7
- package/dist/types/components/Form/Row/Row.css.d.ts +0 -51
- package/dist/types/components/Form/Row/Row.d.ts +0 -9
- package/dist/types/components/Form/Row/index.d.ts +0 -0
- package/dist/types/components/Form/Row/stories.d.ts +0 -0
- package/dist/types/components/Form/TextField/Input/Input.css.d.ts +0 -32
- package/dist/types/components/Form/TextField/Input/Input.d.ts +0 -10
- package/dist/types/components/Form/TextField/Input/export.d.ts +0 -0
- package/dist/types/components/Form/TextField/Label/Label.css.d.ts +0 -23
- package/dist/types/components/Form/TextField/Label/Label.d.ts +0 -9
- package/dist/types/components/Form/TextField/Label/export.d.ts +0 -0
- package/dist/types/components/Form/TextField/TextField.css.d.ts +0 -19
- package/dist/types/components/Form/TextField/TextField.d.ts +0 -21
- package/dist/types/components/Form/TextField/Textarea/Textarea.css.d.ts +0 -56
- package/dist/types/components/Form/TextField/Textarea/Textarea.d.ts +0 -8
- package/dist/types/components/Form/TextField/Textarea/export.d.ts +0 -0
- package/dist/types/components/Form/TextField/Textarea/stories.d.ts +0 -0
- package/dist/types/components/Form/TextField/export.d.ts +0 -0
- package/dist/types/components/Form/export.d.ts +0 -0
- package/dist/types/components/Header/Header.css.d.ts +0 -36
- package/dist/types/components/Header/Header.d.ts +0 -11
- package/dist/types/components/Header/HeaderOverlay/index.d.ts +0 -7
- package/dist/types/components/Header/HeaderOverlay/styles.css.d.ts +0 -5
- package/dist/types/components/Header/ToggleNav/index.d.ts +0 -9
- package/dist/types/components/Header/ToggleNav/styles.css.d.ts +0 -5
- package/dist/types/components/Header/export.d.ts +0 -0
- package/dist/types/components/Header/stories.d.ts +0 -6
- package/dist/types/components/Icon/Icon.css.d.ts +0 -45
- package/dist/types/components/Icon/Icon.d.ts +0 -12
- package/dist/types/components/Icon/export.d.ts +0 -0
- package/dist/types/components/Icon/path.d.ts +0 -19
- package/dist/types/components/Icon/stories.d.ts +0 -0
- package/dist/types/components/KeyNumber/KeyNumber.css.d.ts +0 -40
- package/dist/types/components/KeyNumber/KeyNumber.d.ts +0 -15
- package/dist/types/components/KeyNumber/export.d.ts +0 -0
- package/dist/types/components/LanguageSwitcher/LanguageSwitcher.css.d.ts +0 -18
- package/dist/types/components/LanguageSwitcher/LanguageSwitcher.d.ts +0 -16
- package/dist/types/components/LanguageSwitcher/export.d.ts +0 -0
- package/dist/types/components/Logo/Logo.css.d.ts +0 -54
- package/dist/types/components/Logo/Logo.d.ts +0 -8
- package/dist/types/components/Logo/export.d.ts +0 -0
- package/dist/types/components/Logo/stories.d.ts +0 -6
- package/dist/types/components/Main/Main.css.d.ts +0 -32
- package/dist/types/components/Main/Main.d.ts +0 -7
- package/dist/types/components/Main/export.d.ts +0 -0
- package/dist/types/components/Main/stories.d.ts +0 -0
- package/dist/types/components/Modal/Modal.css.d.ts +0 -82
- package/dist/types/components/Modal/Modal.d.ts +0 -15
- package/dist/types/components/Modal/export.d.ts +0 -0
- package/dist/types/components/Modal/types.d.ts +0 -5
- package/dist/types/components/Nav/Nav.css.d.ts +0 -52
- package/dist/types/components/Nav/Nav.d.ts +0 -7
- package/dist/types/components/Nav/export.d.ts +0 -0
- package/dist/types/components/Nav/stories.d.ts +0 -6
- package/dist/types/components/NavLegal/NavLegal.css.d.ts +0 -57
- package/dist/types/components/NavLegal/NavLegal.d.ts +0 -7
- package/dist/types/components/NavLegal/export.d.ts +0 -0
- package/dist/types/components/NavLegal/stories.d.ts +0 -6
- package/dist/types/components/NavSocial/NavSocial.css.d.ts +0 -30
- package/dist/types/components/NavSocial/NavSocial.d.ts +0 -15
- package/dist/types/components/NavSocial/export.d.ts +0 -0
- package/dist/types/components/NavSocial/stories.d.ts +0 -0
- package/dist/types/components/Section/Section.css.d.ts +0 -60
- package/dist/types/components/Section/Section.d.ts +0 -7
- package/dist/types/components/Section/export.d.ts +0 -0
- package/dist/types/components/Section/stories.d.ts +0 -0
- package/dist/types/components/ToRemove/ToRemove.d.ts +0 -1
- package/dist/types/components/Video/Video.css.d.ts +0 -43
- package/dist/types/components/Video/Video.d.ts +0 -17
- package/dist/types/components/Video/export.d.ts +0 -0
- package/dist/types/components/VideoFullWidth/VideoFullWidth.css.d.ts +0 -18
- package/dist/types/components/VideoFullWidth/VideoFullWidth.d.ts +0 -14
- package/dist/types/components/VideoFullWidth/export.d.ts +0 -0
- package/dist/types/css/index.d.ts +0 -28
- package/dist/types/index.d.ts +0 -58
- package/dist/types/styles/mediaqueries.d.ts +0 -16
- package/dist/types/styles/sprinkles.css.d.ts +0 -3423
- package/dist/types/theme/baseThemeValues.d.ts +0 -158
- package/dist/types/theme/contract.css.d.ts +0 -79
- package/dist/types/theme/index.d.ts +0 -3
- package/dist/types/theme/utils.d.ts +0 -86
- package/dist/types/utils/cookie.d.ts +0 -2
- package/dist/types/utils/deep-merge-objects.d.ts +0 -2
- package/dist/types/utils/theme.css.d.ts +0 -173
- package/dist/types/utils/use-breakpoint-key.d.ts +0 -1
- package/dist/types/utils/use-window-size.d.ts +0 -5
- package/dist/utils/theme.css.ts +0 -129
- package/src/components/Button/stories.ts +0 -127
- package/src/components/Section/stories.ts +0 -64
- package/src/css/index.ts +0 -33
- package/src/themes/dark.ts +0 -3
- package/src/themes/index.ts +0 -5
- package/src/themes/light.ts +0 -3
- /package/{dist/types/components/Actions/export.d.ts → src/components/Form/Row/index.tsx} +0 -0
- /package/{dist/types/components/NavLegal/types.d.ts → src/components/NavLegal/types.tsx} +0 -0
- /package/{dist/types/components/NavSocial/types.d.ts → src/components/NavSocial/types.tsx} +0 -0
@@ -1,210 +0,0 @@
|
|
1
|
-
import { style } from '@vanilla-extract/css';
|
2
|
-
import { recipe, RecipeVariants } from '@vanilla-extract/recipes';
|
3
|
-
import { themeContract } from '../../theme/contract.css';
|
4
|
-
|
5
|
-
const videoBase = style({
|
6
|
-
position: 'relative',
|
7
|
-
overflow: 'hidden',
|
8
|
-
backgroundColor: themeContract.colors.background,
|
9
|
-
});
|
10
|
-
|
11
|
-
const videoElement = style({
|
12
|
-
top: '50%',
|
13
|
-
left: '50%',
|
14
|
-
width: 'auto',
|
15
|
-
minWidth: '100%',
|
16
|
-
minHeight: '100%',
|
17
|
-
position: 'absolute',
|
18
|
-
transform: 'translate(-50%, -50%)',
|
19
|
-
});
|
20
|
-
|
21
|
-
const videoPoster = style({
|
22
|
-
top: 0,
|
23
|
-
left: 0,
|
24
|
-
width: '100%',
|
25
|
-
height: '100%',
|
26
|
-
position: 'absolute',
|
27
|
-
opacity: 1,
|
28
|
-
transition: 'opacity 0.3s ease-in-out',
|
29
|
-
pointerEvents: 'auto',
|
30
|
-
|
31
|
-
// selectors: {
|
32
|
-
// '&[data-playing="true"]': {
|
33
|
-
// opacity: 0,
|
34
|
-
// pointerEvents: 'none',
|
35
|
-
// },
|
36
|
-
// },
|
37
|
-
});
|
38
|
-
|
39
|
-
const posterImage = style({
|
40
|
-
width: '100%',
|
41
|
-
height: '100%',
|
42
|
-
minWidth: '100%',
|
43
|
-
minHeight: '100%',
|
44
|
-
objectFit: 'cover',
|
45
|
-
});
|
46
|
-
|
47
|
-
const playButton = style({
|
48
|
-
position: 'absolute',
|
49
|
-
top: '50%',
|
50
|
-
left: '50%',
|
51
|
-
transform: 'translate(-50%, -50%)',
|
52
|
-
border: 'none',
|
53
|
-
borderRadius: themeContract.radii.full,
|
54
|
-
backgroundColor: 'rgba(0, 0, 0, 0.7)',
|
55
|
-
color: themeContract.colors.background,
|
56
|
-
cursor: 'pointer',
|
57
|
-
transition: 'all 0.3s ease-in-out',
|
58
|
-
display: 'flex',
|
59
|
-
alignItems: 'center',
|
60
|
-
justifyContent: 'center',
|
61
|
-
opacity: 1,
|
62
|
-
pointerEvents: 'auto',
|
63
|
-
|
64
|
-
':hover': {
|
65
|
-
backgroundColor: 'rgba(0, 0, 0, 0.9)',
|
66
|
-
transform: 'translate(-50%, -50%) scale(1.1)',
|
67
|
-
},
|
68
|
-
|
69
|
-
':focus': {
|
70
|
-
outline: '2px solid',
|
71
|
-
outlineColor: themeContract.colors.primary,
|
72
|
-
outlineOffset: '2px',
|
73
|
-
},
|
74
|
-
|
75
|
-
// selectors: {
|
76
|
-
// '&[data-playing="true"]': {
|
77
|
-
// opacity: 0,
|
78
|
-
// pointerEvents: 'none',
|
79
|
-
// },
|
80
|
-
// '&[data-hidden="true"]': {
|
81
|
-
// display: 'none',
|
82
|
-
// },
|
83
|
-
// },
|
84
|
-
});
|
85
|
-
|
86
|
-
const controlButton = style({
|
87
|
-
position: 'absolute',
|
88
|
-
border: 'none',
|
89
|
-
borderRadius: themeContract.radii.md,
|
90
|
-
backgroundColor: 'rgba(0, 0, 0, 0.7)',
|
91
|
-
color: themeContract.colors.background,
|
92
|
-
cursor: 'pointer',
|
93
|
-
transition: 'all 0.3s ease-in-out',
|
94
|
-
display: 'flex',
|
95
|
-
alignItems: 'center',
|
96
|
-
justifyContent: 'center',
|
97
|
-
|
98
|
-
// ':hover': {
|
99
|
-
// backgroundColor: 'rgba(0, 0, 0, 0.9)',
|
100
|
-
// },
|
101
|
-
|
102
|
-
// ':focus': {
|
103
|
-
// outline: '2px solid',
|
104
|
-
// outlineColor: themeContract.colors.primary,
|
105
|
-
// outlineOffset: '2px',
|
106
|
-
// },
|
107
|
-
});
|
108
|
-
|
109
|
-
const closeButton = style([
|
110
|
-
controlButton,
|
111
|
-
{
|
112
|
-
top: themeContract.space.md,
|
113
|
-
right: themeContract.space.md,
|
114
|
-
width: '40px',
|
115
|
-
height: '40px',
|
116
|
-
|
117
|
-
'@media': {
|
118
|
-
'screen and (min-width: 768px)': {
|
119
|
-
width: '48px',
|
120
|
-
height: '48px',
|
121
|
-
top: themeContract.space.lg,
|
122
|
-
right: themeContract.space.lg,
|
123
|
-
},
|
124
|
-
},
|
125
|
-
},
|
126
|
-
]);
|
127
|
-
|
128
|
-
const pauseButton = style([
|
129
|
-
controlButton,
|
130
|
-
{
|
131
|
-
bottom: themeContract.space.md,
|
132
|
-
right: '80px',
|
133
|
-
width: '40px',
|
134
|
-
height: '40px',
|
135
|
-
|
136
|
-
'@media': {
|
137
|
-
'screen and (min-width: 768px)': {
|
138
|
-
width: '48px',
|
139
|
-
height: '48px',
|
140
|
-
bottom: themeContract.space.lg,
|
141
|
-
right: '100px',
|
142
|
-
},
|
143
|
-
},
|
144
|
-
},
|
145
|
-
]);
|
146
|
-
|
147
|
-
const soundButton = style([
|
148
|
-
controlButton,
|
149
|
-
{
|
150
|
-
bottom: themeContract.space.md,
|
151
|
-
right: themeContract.space.md,
|
152
|
-
width: '40px',
|
153
|
-
height: '40px',
|
154
|
-
|
155
|
-
'@media': {
|
156
|
-
'screen and (min-width: 768px)': {
|
157
|
-
width: '48px',
|
158
|
-
height: '48px',
|
159
|
-
bottom: themeContract.space.lg,
|
160
|
-
right: themeContract.space.lg,
|
161
|
-
},
|
162
|
-
},
|
163
|
-
},
|
164
|
-
]);
|
165
|
-
|
166
|
-
export const videoRecipe = recipe({
|
167
|
-
base: videoBase,
|
168
|
-
|
169
|
-
variants: {
|
170
|
-
size: {
|
171
|
-
sm: {
|
172
|
-
width: '300px',
|
173
|
-
height: '200px',
|
174
|
-
},
|
175
|
-
md: {
|
176
|
-
width: '500px',
|
177
|
-
height: '300px',
|
178
|
-
},
|
179
|
-
lg: {
|
180
|
-
width: '800px',
|
181
|
-
height: '450px',
|
182
|
-
},
|
183
|
-
fullWidth: {
|
184
|
-
width: '100vw',
|
185
|
-
height: 0,
|
186
|
-
paddingBottom: '56.25%', // 16:9 aspect ratio
|
187
|
-
position: 'relative',
|
188
|
-
},
|
189
|
-
},
|
190
|
-
aspectRatio: {
|
191
|
-
'16:9': {
|
192
|
-
aspectRatio: '16/9',
|
193
|
-
},
|
194
|
-
'4:3': {
|
195
|
-
aspectRatio: '4/3',
|
196
|
-
},
|
197
|
-
'1:1': {
|
198
|
-
aspectRatio: '1/1',
|
199
|
-
},
|
200
|
-
},
|
201
|
-
},
|
202
|
-
|
203
|
-
defaultVariants: {
|
204
|
-
size: 'md',
|
205
|
-
aspectRatio: '16:9',
|
206
|
-
},
|
207
|
-
});
|
208
|
-
|
209
|
-
export { videoElement, videoPoster, posterImage, playButton, closeButton, pauseButton, soundButton };
|
210
|
-
export type VideoVariants = RecipeVariants<typeof videoRecipe>;
|
@@ -1,50 +0,0 @@
|
|
1
|
-
import { style } from '@vanilla-extract/css';
|
2
|
-
import { recipe, RecipeVariants } from '@vanilla-extract/recipes';
|
3
|
-
import { themeContract } from '../../theme/contract.css';
|
4
|
-
|
5
|
-
const videoFullWidthBase = style({
|
6
|
-
height: 0,
|
7
|
-
width: '100vw',
|
8
|
-
overflow: 'hidden',
|
9
|
-
position: 'relative',
|
10
|
-
paddingBottom: '56.25%', // 16:9 aspect ratio
|
11
|
-
backgroundColor: themeContract.colors.background,
|
12
|
-
|
13
|
-
// Break out of container padding
|
14
|
-
marginLeft: `calc(-50vw + 50%)`,
|
15
|
-
marginRight: `calc(-50vw + 50%)`,
|
16
|
-
|
17
|
-
'@media': {
|
18
|
-
'screen and (min-width: 768px)': {
|
19
|
-
marginLeft: `calc(-50vw + 50%)`,
|
20
|
-
marginRight: `calc(-50vw + 50%)`,
|
21
|
-
},
|
22
|
-
},
|
23
|
-
});
|
24
|
-
|
25
|
-
export const videoFullWidthRecipe = recipe({
|
26
|
-
base: videoFullWidthBase,
|
27
|
-
|
28
|
-
variants: {
|
29
|
-
aspectRatio: {
|
30
|
-
'16:9': {
|
31
|
-
paddingBottom: '56.25%',
|
32
|
-
},
|
33
|
-
'4:3': {
|
34
|
-
paddingBottom: '75%',
|
35
|
-
},
|
36
|
-
'1:1': {
|
37
|
-
paddingBottom: '100%',
|
38
|
-
},
|
39
|
-
'21:9': {
|
40
|
-
paddingBottom: '42.86%',
|
41
|
-
},
|
42
|
-
},
|
43
|
-
},
|
44
|
-
|
45
|
-
defaultVariants: {
|
46
|
-
aspectRatio: '16:9',
|
47
|
-
},
|
48
|
-
});
|
49
|
-
|
50
|
-
export type VideoFullWidthVariants = RecipeVariants<typeof videoFullWidthRecipe>;
|
package/dist/css/index.cjs
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../theme.css-CNjMk-g_.cjs");exports.actionsRecipe=e.actionsRecipe;exports.buttonRecipe=e.buttonRecipe;exports.carouselRecipe=e.carouselRecipe;exports.columnsRecipe=e.columnsRecipe;exports.consentRecipe=e.consentRecipe;exports.createDarkTheme=e.createDarkTheme;exports.createLightTheme=e.createLightTheme;exports.footerRecipe=e.footerRecipe;exports.formRecipe=e.formRecipe;exports.headerRecipe=e.headerRecipe;exports.iconRecipe=e.iconRecipe;exports.inputRecipe=e.inputRecipe;exports.keyNumberRecipe=e.keyNumberRecipe;exports.labelRecipe=e.labelRecipe;exports.languageSwitcherRecipe=e.languageSwitcherRecipe;exports.logoRecipe=e.logoRecipe;exports.mainRecipe=e.mainRecipe;exports.modalContentRecipe=e.modalContentRecipe;exports.modalRecipe=e.modalRecipe;exports.navLegalRecipe=e.navLegalRecipe;exports.navRecipe=e.navRecipe;exports.navSocialRecipe=e.navSocialRecipe;exports.responsiveProperties=e.responsiveProperties;exports.rowRecipe=e.rowRecipe;exports.sectionRecipe=e.sectionRecipe;exports.sprinkles=e.sprinkles;exports.textFieldRecipe=e.textFieldRecipe;exports.textareaRecipe=e.textareaRecipe;exports.themeContract=e.themeContract;exports.videoFullWidthRecipe=e.videoFullWidthRecipe;exports.videoRecipe=e.videoRecipe;
|
package/dist/css/index.js
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
import { b as i, d as s, e as c, f as p, g as R, a as o, c as t, h as n, i as r, o as l, p as m, k as d, q as h, l as u, u as v, v as g, w as b, y as f, x as k, A as x, z as w, B as C, r as y, j as D, C as F, s as L, m as S, n as T, t as j, E as q, D as z } from "../theme.css-Dj6kL9o0.js";
|
2
|
-
export {
|
3
|
-
i as actionsRecipe,
|
4
|
-
s as buttonRecipe,
|
5
|
-
c as carouselRecipe,
|
6
|
-
p as columnsRecipe,
|
7
|
-
R as consentRecipe,
|
8
|
-
o as createDarkTheme,
|
9
|
-
t as createLightTheme,
|
10
|
-
n as footerRecipe,
|
11
|
-
r as formRecipe,
|
12
|
-
l as headerRecipe,
|
13
|
-
m as iconRecipe,
|
14
|
-
d as inputRecipe,
|
15
|
-
h as keyNumberRecipe,
|
16
|
-
u as labelRecipe,
|
17
|
-
v as languageSwitcherRecipe,
|
18
|
-
g as logoRecipe,
|
19
|
-
b as mainRecipe,
|
20
|
-
f as modalContentRecipe,
|
21
|
-
k as modalRecipe,
|
22
|
-
x as navLegalRecipe,
|
23
|
-
w as navRecipe,
|
24
|
-
C as navSocialRecipe,
|
25
|
-
y as responsiveProperties,
|
26
|
-
D as rowRecipe,
|
27
|
-
F as sectionRecipe,
|
28
|
-
L as sprinkles,
|
29
|
-
S as textFieldRecipe,
|
30
|
-
T as textareaRecipe,
|
31
|
-
j as themeContract,
|
32
|
-
q as videoFullWidthRecipe,
|
33
|
-
z as videoRecipe
|
34
|
-
};
|
package/dist/index.cjs.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./theme.css-CNjMk-g_.cjs"),f=require("react/jsx-runtime"),ee=require("react");function lt(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const we=lt(ee),ct=e=>({...l.baseLightTheme,...e,colors:{...l.baseLightTheme.colors,...e.colors},space:{...l.baseLightTheme.space,...e.space},radii:{...l.baseLightTheme.radii,...e.radii},fonts:{...l.baseLightTheme.fonts,...e.fonts},fontSizes:{...l.baseLightTheme.fontSizes,...e.fontSizes},lineHeights:{...l.baseLightTheme.lineHeights,...e.lineHeights},shadows:{...l.baseLightTheme.shadows,...e.shadows}}),ut=()=>l.themeContract,dt=(e=!1)=>e?l.baseDarkTheme:l.baseLightTheme,ft=()=>{const e=document.documentElement,r=e.getAttribute("data-theme")==="dark"?null:"dark";return r?e.setAttribute("data-theme",r):e.removeAttribute("data-theme"),r==="dark"},ht=e=>{const t=document.documentElement;e==="dark"?t.setAttribute("data-theme","dark"):t.removeAttribute("data-theme")},mt=()=>typeof window>"u"?"light":document.documentElement.getAttribute("data-theme")==="dark"?"dark":"light";function _e(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=_e(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function se(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=_e(e))&&(o&&(o+=" "),o+=t);return o}const Ee=ee.forwardRef(({variant:e,size:t,fullWidth:r,isPending:o=!1,disabled:n,css:d,className:h,children:u,margin:p,marginTop:v,marginBottom:j,marginLeft:C,marginRight:D,padding:T,paddingTop:N,paddingBottom:_,paddingLeft:O,paddingRight:y,gap:M,display:I,flexDirection:G,justifyContent:B,flexWrap:J,flex:Q,width:i,height:a,minWidth:s,maxWidth:c,minHeight:m,position:g,top:V,bottom:R,left:b,right:w,zIndex:x,fontSize:z,fontFamily:P,lineHeight:H,textAlign:W,fontWeight:A,color:E,backgroundColor:$,borderRadius:S,borderWidth:q,borderStyle:L,borderColor:F,boxShadow:X,opacity:Y,overflow:K,overflowX:k,overflowY:Z,...U},te)=>f.jsx("button",{ref:te,className:se(l.buttonRecipe({variant:e,size:t,fullWidth:r}),l.sprinkles({margin:p,marginTop:v,marginBottom:j,marginLeft:C,marginRight:D,padding:T,paddingTop:N,paddingBottom:_,paddingLeft:O,paddingRight:y,gap:M,display:I,flexDirection:G,justifyContent:B,flexWrap:J,flex:Q,width:i,height:a,minWidth:s,maxWidth:c,minHeight:m,position:g,top:V,bottom:R,left:b,right:w,zIndex:x,fontSize:z,fontFamily:P,lineHeight:H,textAlign:W,fontWeight:A,color:E,backgroundColor:$,borderRadius:S,borderWidth:q,borderStyle:L,borderColor:F,boxShadow:X,opacity:Y,overflow:K,overflowX:k,overflowY:Z}),d,h),disabled:n||o,...U,children:o?"Loading...":u}));Ee.displayName="Button";const pt=ee.forwardRef(({children:e,align:t,isDark:r,isFullHeight:o,spacing:n,as:d="section",css:h,className:u,margin:p,marginTop:v,marginBottom:j,marginLeft:C,marginRight:D,padding:T,paddingTop:N,paddingBottom:_,paddingLeft:O,paddingRight:y,gap:M,display:I,flexDirection:G,justifyContent:B,flexWrap:J,flex:Q,width:i,height:a,minWidth:s,maxWidth:c,minHeight:m,position:g,top:V,bottom:R,left:b,right:w,zIndex:x,fontSize:z,fontFamily:P,lineHeight:H,textAlign:W,fontWeight:A,color:E,backgroundColor:$,borderRadius:S,borderWidth:q,borderStyle:L,borderColor:F,boxShadow:X,opacity:Y,overflow:K,overflowX:k,overflowY:Z,...U},te)=>f.jsx(d,{ref:te,className:se(l.sectionRecipe({align:t,isDark:r,isFullHeight:o,spacing:n}),l.sprinkles({margin:p,marginTop:v,marginBottom:j,marginLeft:C,marginRight:D,padding:T,paddingTop:N,paddingBottom:_,paddingLeft:O,paddingRight:y,gap:M,display:I,flexDirection:G,justifyContent:B,flexWrap:J,flex:Q,width:i,height:a,minWidth:s,maxWidth:c,minHeight:m,position:g,top:V,bottom:R,left:b,right:w,zIndex:x,fontSize:z,fontFamily:P,lineHeight:H,textAlign:W,fontWeight:A,color:E,backgroundColor:$,borderRadius:S,borderWidth:q,borderStyle:L,borderColor:F,boxShadow:X,opacity:Y,overflow:K,overflowX:k,overflowY:Z}),h,u),...U,children:e})),Ue=ee.forwardRef(({children:e,centered:t,fullWidth:r,noPadding:o,as:n="main",css:d,className:h,margin:u,marginTop:p,marginBottom:v,marginLeft:j,marginRight:C,padding:D,paddingTop:T,paddingBottom:N,paddingLeft:_,paddingRight:O,gap:y,display:M,flexDirection:I,justifyContent:G,flexWrap:B,flex:J,width:Q,height:i,minWidth:a,maxWidth:s,minHeight:c,position:m,top:g,bottom:V,left:R,right:b,zIndex:w,fontSize:x,fontFamily:z,lineHeight:P,textAlign:H,fontWeight:W,color:A,backgroundColor:E,borderRadius:$,borderWidth:S,borderStyle:q,borderColor:L,boxShadow:F,opacity:X,overflow:Y,overflowX:K,overflowY:k,...Z},U)=>f.jsx(n,{ref:U,className:se(l.mainRecipe({centered:t,fullWidth:r,noPadding:o}),l.sprinkles({margin:u,marginTop:p,marginBottom:v,marginLeft:j,marginRight:C,padding:D,paddingTop:T,paddingBottom:N,paddingLeft:_,paddingRight:O,gap:y,display:M,flexDirection:I,justifyContent:G,flexWrap:B,flex:J,width:Q,height:i,minWidth:a,maxWidth:s,minHeight:c,position:m,top:g,bottom:V,left:R,right:b,zIndex:w,fontSize:x,fontFamily:z,lineHeight:P,textAlign:H,fontWeight:W,color:A,backgroundColor:E,borderRadius:$,borderWidth:S,borderStyle:q,borderColor:L,boxShadow:F,opacity:X,overflow:Y,overflowX:K,overflowY:k}),d,h),...Z,children:e}));Ue.displayName="Main";const De=ee.forwardRef(({children:e,position:t,variant:r,size:o,isFixed:n,hideToggleNav:d,childrenOverlay:h,displayToggleNavOnDesktop:u,as:p="header",css:v,className:j,margin:C,marginTop:D,marginBottom:T,marginLeft:N,marginRight:_,padding:O,paddingTop:y,paddingBottom:M,paddingLeft:I,paddingRight:G,gap:B,display:J,flexDirection:Q,justifyContent:i,flexWrap:a,flex:s,width:c,height:m,minWidth:g,maxWidth:V,minHeight:R,zIndex:b,fontSize:w,fontFamily:x,lineHeight:z,textAlign:P,fontWeight:H,color:W,backgroundColor:A,borderRadius:E,borderWidth:$,borderStyle:S,borderColor:q,boxShadow:L,opacity:F,overflow:X,overflowX:Y,overflowY:K,...k},Z)=>{const[U,te]=ee.useState(!1),ne=t||(n?"fixed":"relative");return f.jsxs(f.Fragment,{children:[f.jsxs(p,{ref:Z,className:se(l.headerRecipe({variant:r,size:o}),l.sprinkles({margin:C,marginTop:D,marginBottom:T,marginLeft:N,marginRight:_,padding:O,paddingTop:y,paddingBottom:M,paddingLeft:I,paddingRight:G,gap:B,display:J,flexDirection:Q,justifyContent:i,flexWrap:a,flex:s,width:c,height:m,minWidth:g,maxWidth:V,minHeight:R,zIndex:b,fontSize:w,fontFamily:x,lineHeight:z,textAlign:P,fontWeight:H,color:W,backgroundColor:A,borderRadius:E,borderWidth:$,borderStyle:S,borderColor:q,boxShadow:L,opacity:F,overflow:X,overflowX:Y,overflowY:K}),v,j),...k,children:[h&&f.jsx("div",{className:se("header-overlay",U&&"header-overlay--open"),children:h}),e,!d&&f.jsxs("button",{type:"button",className:"header-nav-toggle",onClick:()=>te(!U),"aria-expanded":U,"aria-label":"Toggle navigation",children:[f.jsx("span",{className:"sr-only",children:"Toggle navigation"}),f.jsxs("div",{className:`hamburger ${U?"hamburger--open":""}`,children:[f.jsx("span",{}),f.jsx("span",{}),f.jsx("span",{})]})]})]}),(ne==="fixed"||n)&&f.jsx("div",{className:l.headerPlaceholder})]})});De.displayName="Header";const Be=ee.forwardRef(({children:e,variant:t,size:r,layout:o,as:n="footer",css:d,className:h,margin:u,marginTop:p,marginBottom:v,marginLeft:j,marginRight:C,padding:D,paddingTop:T,paddingBottom:N,paddingLeft:_,paddingRight:O,gap:y,display:M,flexDirection:I,justifyContent:G,flexWrap:B,flex:J,width:Q,height:i,minWidth:a,maxWidth:s,minHeight:c,position:m,top:g,bottom:V,left:R,right:b,zIndex:w,fontSize:x,fontFamily:z,lineHeight:P,textAlign:H,fontWeight:W,color:A,backgroundColor:E,borderRadius:$,borderWidth:S,borderStyle:q,borderColor:L,boxShadow:F,opacity:X,overflow:Y,overflowX:K,overflowY:k,...Z},U)=>f.jsx(n,{ref:U,className:se(l.footerRecipe({variant:t,size:r,layout:o}),l.sprinkles({margin:u,marginTop:p,marginBottom:v,marginLeft:j,marginRight:C,padding:D,paddingTop:T,paddingBottom:N,paddingLeft:_,paddingRight:O,gap:y,display:M,flexDirection:I,justifyContent:G,flexWrap:B,flex:J,width:Q,height:i,minWidth:a,maxWidth:s,minHeight:c,position:m,top:g,bottom:V,left:R,right:b,zIndex:w,fontSize:x,fontFamily:z,lineHeight:P,textAlign:H,fontWeight:W,color:A,backgroundColor:E,borderRadius:$,borderWidth:S,borderStyle:q,borderColor:L,boxShadow:F,opacity:X,overflow:Y,overflowX:K,overflowY:k}),d,h),...Z,children:e}));Be.displayName="Footer";const He=ee.forwardRef(({children:e,orientation:t,variant:r,justify:o,as:n="nav",css:d,className:h,margin:u,marginTop:p,marginBottom:v,marginLeft:j,marginRight:C,padding:D,paddingTop:T,paddingBottom:N,paddingLeft:_,paddingRight:O,gap:y,display:M,flexDirection:I,justifyContent:G,flexWrap:B,flex:J,width:Q,height:i,minWidth:a,maxWidth:s,minHeight:c,position:m,top:g,bottom:V,left:R,right:b,zIndex:w,fontSize:x,fontFamily:z,lineHeight:P,textAlign:H,fontWeight:W,color:A,backgroundColor:E,borderRadius:$,borderWidth:S,borderStyle:q,borderColor:L,boxShadow:F,opacity:X,overflow:Y,overflowX:K,overflowY:k,...Z},U)=>f.jsx(n,{ref:U,className:se(l.navRecipe({orientation:t,variant:r,justify:o}),l.sprinkles({margin:u,marginTop:p,marginBottom:v,marginLeft:j,marginRight:C,padding:D,paddingTop:T,paddingBottom:N,paddingLeft:_,paddingRight:O,gap:y,display:M,flexDirection:I,justifyContent:G,flexWrap:B,flex:J,width:Q,height:i,minWidth:a,maxWidth:s,minHeight:c,position:m,top:g,bottom:V,left:R,right:b,zIndex:w,fontSize:x,fontFamily:z,lineHeight:P,textAlign:H,fontWeight:W,color:A,backgroundColor:E,borderRadius:$,borderWidth:S,borderStyle:q,borderColor:L,boxShadow:F,opacity:X,overflow:Y,overflowX:K,overflowY:k}),d,h),...Z,children:e}));He.displayName="Nav";const gt={caret:"M8.12 9.29 12 13.17l3.88-3.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-4.59 4.59c-.39.39-1.02.39-1.41 0L6.7 10.7a.9959.9959 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0",close:"M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4",arrowBack:"M19 11H7.83l4.88-4.88c.39-.39.39-1.03 0-1.42a.996.996 0 0 0-1.41 0l-6.59 6.59c-.39.39-.39 1.02 0 1.41l6.59 6.59c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L7.83 13H19c.55 0 1-.45 1-1s-.45-1-1-1",arrowForward:"M5 13h11.17l-4.88 4.88c-.39.39-.39 1.03 0 1.42s1.02.39 1.41 0l6.59-6.59c.39-.39.39-1.02 0-1.41l-6.58-6.6a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L16.17 11H5c-.55 0-1 .45-1 1s.45 1 1 1",play:"M8 5v14l11-7z",pause:"M6 19h4V5H6zm8-14v14h4V5z",volumeMute:"M7 9v6h4l5 5V4l-5 5z",volumeUp:"M3 9v6h4l5 5V4L7 9zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02M14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77",socialFacebook:"M 22.2816,10.9924 C 22.2816,4.92145 17.3602,0 11.2892,0 5.21832,0 0.296875,4.92145 0.296875,10.9924 c 0,5.4865 4.019725,10.0342 9.274805,10.8588 V 14.1698 H 6.78065 V 10.9924 H 9.57168 V 8.57061 c 0,-2.75496 1.64112,-4.27672 4.15202,-4.27672 1.2023,0 2.4606,0.2147 2.4606,0.2147 v 2.70515 h -1.3861 c -1.3654,0 -1.7914,0.8474 -1.7914,1.71756 v 2.0611 h 3.0487 l -0.4874,3.1774 h -2.5613 v 7.6814 c 5.2551,-0.8246 9.2748,-5.3723 9.2748,-10.8588 z",socialInstagram:"M7.8 2h8.4C19.4 2 22 4.6 22 7.8v8.4a5.8 5.8 0 0 1-5.8 5.8H7.8C4.6 22 2 19.4 2 16.2V7.8A5.8 5.8 0 0 1 7.8 2m-.2 2A3.6 3.6 0 0 0 4 7.6v8.8C4 18.39 5.61 20 7.6 20h8.8a3.6 3.6 0 0 0 3.6-3.6V7.6C20 5.61 18.39 4 16.4 4H7.6m9.65 1.5a1.25 1.25 0 0 1 1.25 1.25A1.25 1.25 0 0 1 17.25 8 1.25 1.25 0 0 1 16 6.75a1.25 1.25 0 0 1 1.25-1.25M12 7a5 5 0 0 1 5 5 5 5 0 0 1-5 5 5 5 0 0 1-5-5 5 5 0 0 1 5-5m0 2a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3z",socialPinterest:"M9.04 21.54c.96.29 1.93.46 2.96.46a10 10 0 0 0 10-10A10 10 0 0 0 12 2 10 10 0 0 0 2 12c0 4.25 2.67 7.9 6.44 9.34-.09-.78-.18-2.07 0-2.96l1.15-4.94s-.29-.58-.29-1.5c0-1.38.86-2.41 1.84-2.41.86 0 1.26.63 1.26 1.44 0 .86-.57 2.09-.86 3.27-.17.98.52 1.84 1.52 1.84 1.78 0 3.16-1.9 3.16-4.58 0-2.4-1.72-4.04-4.19-4.04-2.82 0-4.48 2.1-4.48 4.31 0 .86.28 1.73.74 2.3.09.06.09.14.06.29l-.29 1.09c0 .17-.11.23-.28.11-1.28-.56-2.02-2.38-2.02-3.85 0-3.16 2.24-6.03 6.56-6.03 3.44 0 6.12 2.47 6.12 5.75 0 3.44-2.13 6.2-5.18 6.2-.97 0-1.92-.52-2.26-1.13l-.67 2.37c-.23.86-.86 2.01-1.29 2.7v-.03z",socialLinkedIn:"M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14m-.5 15.5v-5.3a3.26 3.26 0 0 0-3.26-3.26c-.85 0-1.84.52-2.32 1.3v-1.11h-2.79v8.37h2.79v-4.93c0-.77.62-1.4 1.39-1.4a1.4 1.4 0 0 1 1.4 1.4v4.93h2.79M6.88 8.56a1.68 1.68 0 0 0 1.68-1.68c0-.93-.75-1.69-1.68-1.69a1.69 1.69 0 0 0-1.69 1.69c0 .93.76 1.68 1.69 1.68m1.39 9.94v-8.37H5.5v8.37h2.77z",socialSpotify:"",socialTiktok:"M21,2H3A1,1,0,0,0,2,3V21a1,1,0,0,0,1,1H21a1,1,0,0,0,1-1V3A1,1,0,0,0,21,2Zm-3.281,8.725h0c-.109.011-.219.016-.328.017A3.571,3.571,0,0,1,14.4,9.129v5.493a4.061,4.061,0,1,1-4.06-4.06c.085,0,.167.008.251.013v2a2.067,2.067,0,1,0-.251,4.119A2.123,2.123,0,0,0,12.5,14.649l.02-9.331h1.914A3.564,3.564,0,0,0,17.719,8.5Z",socialX:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z",socialYoutube:"M10 15l5.19-3L10 9v6m11.56-7.83c.13.47.22 1.1.28 1.9.07.8.1 1.49.1 2.09L22 12c0 2.19-.16 3.8-.44 4.83-.25.9-.83 1.48-1.73 1.73-.47.13-1.33.22-2.65.28-1.3.07-2.49.1-3.59.1L12 19c-4.19 0-6.8-.16-7.83-.44-.9-.25-1.48-.83-1.73-1.73-.13-.47-.22-1.1-.28-1.9-.07-.8-.1-1.49-.1-2.09L2 12c0-2.19.16-3.8.44-4.83.25-.9.83-1.48 1.73-1.73.47-.13 1.33-.22 2.65-.28 1.3-.07 2.49-.1 3.59-.1L12 5c4.19 0 6.8.16 7.83.44.9.25 1.48.83 1.73 1.73z"},me=ee.forwardRef(({icon:e,iconPath:t,size:r,color:o,customSize:n,customColor:d,interactive:h,viewBox:u="0 0 24 24",css:p,className:v,margin:j,marginTop:C,marginBottom:D,marginLeft:T,marginRight:N,padding:_,paddingTop:O,paddingBottom:y,paddingLeft:M,paddingRight:I,gap:G,display:B,flexDirection:J,justifyContent:Q,flexWrap:i,flex:a,width:s,height:c,minWidth:m,maxWidth:g,minHeight:V,position:R,top:b,bottom:w,left:x,right:z,zIndex:P,fontSize:H,fontFamily:W,lineHeight:A,textAlign:E,fontWeight:$,backgroundColor:S,borderRadius:q,borderWidth:L,borderStyle:F,borderColor:X,boxShadow:Y,opacity:K,overflow:k,overflowX:Z,overflowY:U,...te},ne)=>{const re=t||(e?gt[e]:""),ae=n?{width:`${n}px`,height:`${n}px`}:{},ce=d?{fill:d}:{};return f.jsx("svg",{ref:ne,viewBox:u,className:se(l.iconRecipe({size:n?void 0:r,interactive:h}),l.sprinkles({margin:j,marginTop:C,marginBottom:D,marginLeft:T,marginRight:N,padding:_,paddingTop:O,paddingBottom:y,paddingLeft:M,paddingRight:I,gap:G,display:B,flexDirection:J,justifyContent:Q,flexWrap:i,flex:a,width:s,height:c,minWidth:m,maxWidth:g,minHeight:V,position:R,top:b,bottom:w,left:x,right:z,zIndex:P,fontSize:H,fontFamily:W,lineHeight:A,textAlign:E,fontWeight:$,backgroundColor:S,borderRadius:q,borderWidth:L,borderStyle:F,borderColor:X,boxShadow:Y,opacity:K,overflow:k,overflowX:Z,overflowY:U}),p,v),style:ae,"aria-hidden":!te["aria-label"]&&!te["aria-labelledby"],...te,children:f.jsx("path",{className:t,d:re,style:ce})})});me.displayName="Icon";const We=ee.forwardRef(({children:e,isOpen:t,onClose:r,showCloseButton:o=!0,closeOnBackdropClick:n=!0,closeOnEscape:d=!0,contentProps:h={},size:u,centered:p,css:v,className:j,margin:C,marginTop:D,marginBottom:T,marginLeft:N,marginRight:_,padding:O,paddingTop:y,paddingBottom:M,paddingLeft:I,paddingRight:G,gap:B,display:J,flexDirection:Q,justifyContent:i,flexWrap:a,flex:s,width:c,height:m,minWidth:g,maxWidth:V,minHeight:R,position:b,top:w,bottom:x,left:z,right:P,zIndex:H,fontSize:W,fontFamily:A,lineHeight:E,textAlign:$,fontWeight:S,color:q,backgroundColor:L,borderRadius:F,borderWidth:X,borderStyle:Y,borderColor:K,boxShadow:k,opacity:Z,overflow:U,overflowX:te,overflowY:ne,...re},ae)=>{const[ce,le]=ee.useState(t);ee.useEffect(()=>{if(t)le(!0),document.body.style.overflow="hidden";else{const fe=setTimeout(()=>le(!1),300);return document.body.style.overflow="",()=>clearTimeout(fe)}},[t]),ee.useEffect(()=>{const fe=oe=>{d&&oe.key==="Escape"&&r&&r()};if(t)return document.addEventListener("keydown",fe),()=>document.removeEventListener("keydown",fe)},[t,d,r]);const de=fe=>{n&&fe.target===fe.currentTarget&&r&&r()};return ce?f.jsx("div",{ref:ae,className:se(l.modalRecipe({size:u,centered:p}),l.sprinkles({margin:C,marginTop:D,marginBottom:T,marginLeft:N,marginRight:_,padding:O,paddingTop:y,paddingBottom:M,paddingLeft:I,paddingRight:G,gap:B,display:J,flexDirection:Q,justifyContent:i,flexWrap:a,flex:s,width:c,height:m,minWidth:g,maxWidth:V,minHeight:R,position:b,top:w,bottom:x,left:z,right:P,zIndex:H,fontSize:W,fontFamily:A,lineHeight:E,textAlign:$,fontWeight:S,color:q,backgroundColor:L,borderRadius:F,borderWidth:X,borderStyle:Y,borderColor:K,boxShadow:k,opacity:Z,overflow:U,overflowX:te,overflowY:ne}),v,j),onClick:de,role:"dialog","aria-modal":"true",...re,children:f.jsxs("div",{className:se(l.modalContentRecipe({size:h.size||u,align:h.align}),h.css,h.className),children:[o&&r&&f.jsx("button",{type:"button",className:l.modalCloseButton,onClick:r,"aria-label":"Close modal",children:f.jsx(me,{icon:"close",size:"sm"})}),e]})}):null});We.displayName="Modal";const $e=ee.forwardRef(({children:e,size:t,variant:r,responsive:o,as:n="div",href:d,css:h,className:u,margin:p,marginTop:v,marginBottom:j,marginLeft:C,marginRight:D,padding:T,paddingTop:N,paddingBottom:_,paddingLeft:O,paddingRight:y,gap:M,display:I,flexDirection:G,justifyContent:B,flexWrap:J,flex:Q,width:i,height:a,minWidth:s,maxWidth:c,minHeight:m,position:g,top:V,bottom:R,left:b,right:w,zIndex:x,fontSize:z,fontFamily:P,lineHeight:H,textAlign:W,fontWeight:A,color:E,backgroundColor:$,borderRadius:S,borderWidth:q,borderStyle:L,borderColor:F,boxShadow:X,opacity:Y,overflow:K,overflowX:k,overflowY:Z,...U},te)=>{const ne=d?"link":r;return f.jsx("div",{ref:te,className:se(l.logoRecipe({size:t,variant:ne,responsive:o}),l.sprinkles({margin:p,marginTop:v,marginBottom:j,marginLeft:C,marginRight:D,padding:T,paddingTop:N,paddingBottom:_,paddingLeft:O,paddingRight:y,gap:M,display:I,flexDirection:G,justifyContent:B,flexWrap:J,flex:Q,width:i,height:a,minWidth:s,maxWidth:c,minHeight:m,position:g,top:V,bottom:R,left:b,right:w,zIndex:x,fontSize:z,fontFamily:P,lineHeight:H,textAlign:W,fontWeight:A,color:E,backgroundColor:$,borderRadius:S,borderWidth:q,borderStyle:L,borderColor:F,boxShadow:X,opacity:Y,overflow:K,overflowX:k,overflowY:Z}),h,u),...U,children:e})});$e.displayName="Logo";const qe=ee.forwardRef(({children:e,columns:t,align:r,spacing:o,wrap:n,reverse:d,alignItems:h,as:u="div",css:p,className:v,margin:j,marginTop:C,marginBottom:D,marginLeft:T,marginRight:N,padding:_,paddingTop:O,paddingBottom:y,paddingLeft:M,paddingRight:I,gap:G,display:B,flexDirection:J,justifyContent:Q,flexWrap:i,flex:a,width:s,height:c,minWidth:m,maxWidth:g,minHeight:V,position:R,top:b,bottom:w,left:x,right:z,zIndex:P,fontSize:H,fontFamily:W,lineHeight:A,textAlign:E,fontWeight:$,color:S,backgroundColor:q,borderRadius:L,borderWidth:F,borderStyle:X,borderColor:Y,boxShadow:K,opacity:k,overflow:Z,overflowX:U,overflowY:te,...ne},re)=>{const ae=Array.isArray(e)?e:[e];return f.jsx(u,{ref:re,className:se(l.columnsRecipe({align:r,spacing:o,wrap:n,reverse:d,alignItems:h}),l.sprinkles({margin:j,marginTop:C,marginBottom:D,marginLeft:T,marginRight:N,padding:_,paddingTop:O,paddingBottom:y,paddingLeft:M,paddingRight:I,gap:G,display:B,flexDirection:J,justifyContent:Q,flexWrap:i,flex:a,width:s,height:c,minWidth:m,maxWidth:g,minHeight:V,position:R,top:b,bottom:w,left:x,right:z,zIndex:P,fontSize:H,fontFamily:W,lineHeight:A,textAlign:E,fontWeight:$,color:S,backgroundColor:q,borderRadius:L,borderWidth:F,borderStyle:X,borderColor:Y,boxShadow:K,opacity:k,overflow:Z,overflowX:U,overflowY:te}),p,v),...ne,children:t&&t.length>0?ae.map((ce,le)=>f.jsx("div",{className:se(t[le]&&l.columnWidths[t[le]]),children:ce},le)):e})});qe.displayName="Columns";const Xe=ee.forwardRef(({children:e,align:t,direction:r,spacing:o,wrap:n,fullWidth:d,as:h="div",css:u,className:p,margin:v,marginTop:j,marginBottom:C,marginLeft:D,marginRight:T,padding:N,paddingTop:_,paddingBottom:O,paddingLeft:y,paddingRight:M,gap:I,display:G,flexDirection:B,justifyContent:J,flexWrap:Q,flex:i,width:a,height:s,minWidth:c,maxWidth:m,minHeight:g,position:V,top:R,bottom:b,left:w,right:x,zIndex:z,fontSize:P,fontFamily:H,lineHeight:W,textAlign:A,fontWeight:E,color:$,backgroundColor:S,borderRadius:q,borderWidth:L,borderStyle:F,borderColor:X,boxShadow:Y,opacity:K,overflow:k,overflowX:Z,overflowY:U,...te},ne)=>f.jsx(h,{ref:ne,className:se(l.actionsRecipe({align:t,direction:r,spacing:o,wrap:n,fullWidth:d}),l.sprinkles({margin:v,marginTop:j,marginBottom:C,marginLeft:D,marginRight:T,padding:N,paddingTop:_,paddingBottom:O,paddingLeft:y,paddingRight:M,gap:I,display:G,flexDirection:B,justifyContent:J,flexWrap:Q,flex:i,width:a,height:s,minWidth:c,maxWidth:m,minHeight:g,position:V,top:R,bottom:b,left:w,right:x,zIndex:z,fontSize:P,fontFamily:H,lineHeight:W,textAlign:A,fontWeight:E,color:$,backgroundColor:S,borderRadius:q,borderWidth:L,borderStyle:F,borderColor:X,boxShadow:Y,opacity:K,overflow:k,overflowX:Z,overflowY:U}),u,p),...te,children:e}));Xe.displayName="Actions";const vt=()=>{const[e,t]=ee.useState({width:void 0,height:void 0});return ee.useEffect(()=>{const r=()=>{t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",r),r(),()=>window.removeEventListener("resize",r)},[]),e},Ye=ee.forwardRef(({data:e,itemsPerView:t=1,showNavButtons:r=!1,showBullets:o=!1,autoplay:n=!1,autoplayInterval:d=3e3,gap:h=16,fullWidth:u,as:p="div",css:v,className:j,margin:C,marginTop:D,marginBottom:T,marginLeft:N,marginRight:_,padding:O,paddingTop:y,paddingBottom:M,paddingLeft:I,paddingRight:G,display:B,flexDirection:J,justifyContent:Q,flexWrap:i,flex:a,width:s,height:c,minWidth:m,maxWidth:g,minHeight:V,position:R,top:b,bottom:w,left:x,right:z,zIndex:P,fontSize:H,fontFamily:W,lineHeight:A,textAlign:E,fontWeight:$,color:S,backgroundColor:q,borderRadius:L,borderWidth:F,borderStyle:X,borderColor:Y,boxShadow:K,opacity:k,overflow:Z,overflowX:U,overflowY:te,...ne},re)=>{const{width:ae}=vt(),[ce,le]=ee.useState(0),[de,fe]=ee.useState(0),[oe,he]=ee.useState(t),pe=ee.useRef(null),ge=ee.useRef(null),je=ae!==void 0&&ae>l.breakpoints.md,Ne=ae!==void 0&&ae>l.breakpoints.lg;ee.useEffect(()=>{he(Ne?t:je?Math.max(1,Math.floor(t/2)):1)},[je,Ne,t]),ee.useEffect(()=>{const ie=()=>{if(pe.current){const ue=pe.current.getBoundingClientRect().width,ye=(oe-1)*h;fe((ue-ye)/oe)}};return ie(),window.addEventListener("resize",ie),()=>window.removeEventListener("resize",ie)},[oe,h]),ee.useEffect(()=>{if(!n)return;const ie=setInterval(()=>{le(ue=>{const ye=Math.max(0,e.length-oe);return ue>=ye?0:ue+1})},d);return()=>clearInterval(ie)},[n,d,e.length,oe]),ee.useEffect(()=>{const ie=pe.current;if(!ie)return;let ue=0,ye=0;const Ae=Se=>{ue=Se.changedTouches[0].screenX},Le=Se=>{ye=Se.changedTouches[0].screenX,ot()},ot=()=>{const Fe=ue-ye;Math.abs(Fe)>100&&(Fe>0?Re():ve())};return ie.addEventListener("touchstart",Ae,{passive:!0}),ie.addEventListener("touchend",Le,{passive:!0}),()=>{ie.removeEventListener("touchstart",Ae),ie.removeEventListener("touchend",Le)}},[]);const ve=()=>{le(ie=>Math.max(0,ie-1))},Re=()=>{const ie=Math.max(0,e.length-oe);le(ue=>Math.min(ie,ue+1))},Ce=ie=>{const ue=Math.max(0,e.length-oe);le(Math.min(ie,ue))},Te=-(ce*(de+h)),be=Math.max(0,e.length-oe);return f.jsxs(p,{ref:re,className:se(l.carouselRecipe({fullWidth:u}),l.sprinkles({margin:C,marginTop:D,marginBottom:T,marginLeft:N,marginRight:_,padding:O,paddingTop:y,paddingBottom:M,paddingLeft:I,paddingRight:G,display:B,flexDirection:J,justifyContent:Q,flexWrap:i,flex:a,width:s,height:c,minWidth:m,maxWidth:g,minHeight:V,position:R,top:b,bottom:w,left:x,right:z,zIndex:P,fontSize:H,fontFamily:W,lineHeight:A,textAlign:E,fontWeight:$,color:S,backgroundColor:q,borderRadius:L,borderWidth:F,borderStyle:X,borderColor:Y,boxShadow:K,opacity:k,overflow:Z,overflowX:U,overflowY:te}),v,j),...ne,children:[f.jsx("div",{ref:pe,className:l.carouselContent,children:f.jsx("div",{ref:ge,className:l.carouselSlide,style:{transform:`translateX(${Te}px)`,gap:`${h}px`},children:e.map((ie,ue)=>f.jsx("div",{className:l.carouselItem,style:{width:`${de}px`},children:ie},ue))})}),r&&f.jsxs("div",{className:l.carouselNav,children:[f.jsx("button",{type:"button",className:l.carouselNavButton,onClick:ve,disabled:ce===0,"aria-label":"Previous slide",children:f.jsx(me,{icon:"arrowBack",size:"md"})}),f.jsx("button",{type:"button",className:l.carouselNavButton,onClick:Re,disabled:ce>=be,"aria-label":"Next slide",children:f.jsx(me,{icon:"arrowForward",size:"md"})})]}),o&&f.jsx("div",{className:l.carouselBullets,children:Array.from({length:be+1},(ie,ue)=>f.jsx("button",{type:"button",className:se(l.carouselBullet,ue===ce&&l.carouselBulletActive),onClick:()=>Ce(ue),"aria-label":`Go to slide ${ue+1}`},ue))})]})});Ye.displayName="Carousel";function yt(e){const t=e+"=",o=decodeURIComponent(document.cookie).split(";");for(let n=0;n<o.length;n++){let d=o[n];for(;d.charAt(0)==" ";)d=d.substring(1);if(d.indexOf(t)==0)return d.substring(t.length,d.length)}return""}function Ie(e,t,r){const o=new Date;o.setTime(o.getTime()+r*24*60*60*1e3);const n="expires="+o.toUTCString();document.cookie=e+"="+t+";"+n+";path=/"}const Ge=ee.forwardRef(({children:e,variant:t,cookieName:r="consent",cookieExpirationDays:o=365,onAccept:n,onReject:d,translations:h,enableGoogleAnalytics:u=!0,css:p,className:v,margin:j,marginTop:C,marginBottom:D,marginLeft:T,marginRight:N,padding:_,paddingTop:O,paddingBottom:y,paddingLeft:M,paddingRight:I,gap:G,display:B,flexDirection:J,justifyContent:Q,flexWrap:i,flex:a,width:s,height:c,minWidth:m,maxWidth:g,minHeight:V,zIndex:R,fontSize:b,fontFamily:w,lineHeight:x,textAlign:z,fontWeight:P,color:H,backgroundColor:W,borderRadius:A,borderWidth:E,borderStyle:$,borderColor:S,boxShadow:q,opacity:L,overflow:F,overflowX:X,overflowY:Y,...K},k)=>{const[Z,U]=ee.useState(!1),te=()=>{U(!1),Ie(r,"true",o),u&&typeof window<"u"&&typeof window.gtag<"u"&&window.gtag("consent","update",{analytics_storage:"granted"}),n?.()},ne=()=>{U(!1),Ie(r,"false",o),u&&typeof window<"u"&&typeof window.gtag<"u"&&window.gtag("consent","update",{analytics_storage:"denied"}),d?.()};return ee.useEffect(()=>{const re=yt(r),ae=re!=="true"&&re!=="false",ce=re==="true";if(ae&&U(!0),u&&typeof window<"u"&&typeof window.gtag<"u"){const le=ce?"granted":"denied";window.gtag("consent","update",{analytics_storage:le})}},[r,u]),Z?f.jsx("div",{ref:k,className:se(l.consentRecipe({variant:t}),l.sprinkles({margin:j,marginTop:C,marginBottom:D,marginLeft:T,marginRight:N,padding:_,paddingTop:O,paddingBottom:y,paddingLeft:M,paddingRight:I,gap:G,display:B,flexDirection:J,justifyContent:Q,flexWrap:i,flex:a,width:s,height:c,minWidth:m,maxWidth:g,minHeight:V,zIndex:R,fontSize:b,fontFamily:w,lineHeight:x,textAlign:z,fontWeight:P,color:H,backgroundColor:W,borderRadius:A,borderWidth:E,borderStyle:$,borderColor:S,boxShadow:q,opacity:L,overflow:F,overflowX:X,overflowY:Y}),p,v),role:"dialog","aria-modal":"true","aria-labelledby":"consent-title",...K,children:f.jsxs("div",{className:l.consentContent,children:[e,f.jsxs("div",{className:l.consentActions,children:[f.jsx(Ee,{variant:"outline",size:"sm",onClick:ne,children:h?.actions.reject||"Reject"}),f.jsx(Ee,{variant:"primary",size:"sm",onClick:te,children:h?.actions.accept||"Accept"})]})]})}):null});Ge.displayName="ConsentCookie";function bt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function wt(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function o(){var n=!1;try{n=this instanceof o}catch{}return n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),r}var xe={},ke=function(){return ke=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},ke.apply(this,arguments)},xt=(function(){function e(t,r,o){var n=this;this.endVal=r,this.options=o,this.version="2.8.0",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,useIndianSeparators:!1,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:"",enableScrollSpy:!1,scrollSpyDelay:200,scrollSpyOnce:!1},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.once=!1,this.count=function(d){n.startTime||(n.startTime=d);var h=d-n.startTime;n.remaining=n.duration-h,n.useEasing?n.countDown?n.frameVal=n.startVal-n.easingFn(h,0,n.startVal-n.endVal,n.duration):n.frameVal=n.easingFn(h,n.startVal,n.endVal-n.startVal,n.duration):n.frameVal=n.startVal+(n.endVal-n.startVal)*(h/n.duration);var u=n.countDown?n.frameVal<n.endVal:n.frameVal>n.endVal;n.frameVal=u?n.endVal:n.frameVal,n.frameVal=Number(n.frameVal.toFixed(n.options.decimalPlaces)),n.printValue(n.frameVal),h<n.duration?n.rAF=requestAnimationFrame(n.count):n.finalEndVal!==null?n.update(n.finalEndVal):n.options.onCompleteCallback&&n.options.onCompleteCallback()},this.formatNumber=function(d){var h,u,p,v,j=d<0?"-":"";h=Math.abs(d).toFixed(n.options.decimalPlaces);var C=(h+="").split(".");if(u=C[0],p=C.length>1?n.options.decimal+C[1]:"",n.options.useGrouping){v="";for(var D=3,T=0,N=0,_=u.length;N<_;++N)n.options.useIndianSeparators&&N===4&&(D=2,T=1),N!==0&&T%D==0&&(v=n.options.separator+v),T++,v=u[_-N-1]+v;u=v}return n.options.numerals&&n.options.numerals.length&&(u=u.replace(/[0-9]/g,(function(O){return n.options.numerals[+O]})),p=p.replace(/[0-9]/g,(function(O){return n.options.numerals[+O]}))),j+n.options.prefix+u+p+n.options.suffix},this.easeOutExpo=function(d,h,u,p){return u*(1-Math.pow(2,-10*d/p))*1024/1023+h},this.options=ke(ke({},this.defaults),o),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(r),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,this.options.separator===""&&(this.options.useGrouping=!1),this.el=typeof t=="string"?document.getElementById(t):t,this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined",typeof window<"u"&&this.options.enableScrollSpy&&(this.error?console.error(this.error,t):(window.onScrollFns=window.onScrollFns||[],window.onScrollFns.push((function(){return n.handleScroll(n)})),window.onscroll=function(){window.onScrollFns.forEach((function(d){return d()}))},this.handleScroll(this)))}return e.prototype.handleScroll=function(t){if(t&&window&&!t.once){var r=window.innerHeight+window.scrollY,o=t.el.getBoundingClientRect(),n=o.top+window.pageYOffset,d=o.top+o.height+window.pageYOffset;d<r&&d>window.scrollY&&t.paused?(t.paused=!1,setTimeout((function(){return t.start()}),t.options.scrollSpyDelay),t.options.scrollSpyOnce&&(t.once=!0)):(window.scrollY>d||n>r)&&!t.paused&&t.reset()}},e.prototype.determineDirectionAndSmartEasing=function(){var t=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>t;var r=t-this.startVal;if(Math.abs(r)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=t;var o=this.countDown?1:-1;this.endVal=t+o*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=t,this.finalEndVal=null;this.finalEndVal!==null?this.useEasing=!1:this.useEasing=this.options.useEasing},e.prototype.start=function(t){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),t&&(this.options.onCompleteCallback=t),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},e.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},e.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},e.prototype.update=function(t){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(t),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal==null&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},e.prototype.printValue=function(t){var r;if(this.el){var o=this.formattingFn(t);!((r=this.options.plugin)===null||r===void 0)&&r.render?this.options.plugin.render(this.el,o):this.el.tagName==="INPUT"?this.el.value=o:this.el.tagName==="text"||this.el.tagName==="tspan"?this.el.textContent=o:this.el.innerHTML=o}},e.prototype.ensureNumber=function(t){return typeof t=="number"&&!isNaN(t)},e.prototype.validateValue=function(t){var r=Number(t);return this.ensureNumber(r)?r:(this.error="[CountUp] invalid start or end value: ".concat(t),null)},e.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},e})();const jt=Object.freeze(Object.defineProperty({__proto__:null,CountUp:xt},Symbol.toStringTag,{value:"Module"})),Nt=wt(jt);var ze;function Rt(){if(ze)return xe;ze=1,Object.defineProperty(xe,"__esModule",{value:!0});var e=ee,t=Nt;function r(i,a){var s=i==null?null:typeof Symbol<"u"&&i[Symbol.iterator]||i["@@iterator"];if(s!=null){var c,m,g,V,R=[],b=!0,w=!1;try{if(g=(s=s.call(i)).next,a!==0)for(;!(b=(c=g.call(s)).done)&&(R.push(c.value),R.length!==a);b=!0);}catch(x){w=!0,m=x}finally{try{if(!b&&s.return!=null&&(V=s.return(),Object(V)!==V))return}finally{if(w)throw m}}return R}}function o(i,a){var s=Object.keys(i);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(i);a&&(c=c.filter(function(m){return Object.getOwnPropertyDescriptor(i,m).enumerable})),s.push.apply(s,c)}return s}function n(i){for(var a=1;a<arguments.length;a++){var s=arguments[a]!=null?arguments[a]:{};a%2?o(Object(s),!0).forEach(function(c){u(i,c,s[c])}):Object.getOwnPropertyDescriptors?Object.defineProperties(i,Object.getOwnPropertyDescriptors(s)):o(Object(s)).forEach(function(c){Object.defineProperty(i,c,Object.getOwnPropertyDescriptor(s,c))})}return i}function d(i,a){if(typeof i!="object"||!i)return i;var s=i[Symbol.toPrimitive];if(s!==void 0){var c=s.call(i,a);if(typeof c!="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(a==="string"?String:Number)(i)}function h(i){var a=d(i,"string");return typeof a=="symbol"?a:String(a)}function u(i,a,s){return a=h(a),a in i?Object.defineProperty(i,a,{value:s,enumerable:!0,configurable:!0,writable:!0}):i[a]=s,i}function p(){return p=Object.assign?Object.assign.bind():function(i){for(var a=1;a<arguments.length;a++){var s=arguments[a];for(var c in s)Object.prototype.hasOwnProperty.call(s,c)&&(i[c]=s[c])}return i},p.apply(this,arguments)}function v(i,a){if(i==null)return{};var s={},c=Object.keys(i),m,g;for(g=0;g<c.length;g++)m=c[g],!(a.indexOf(m)>=0)&&(s[m]=i[m]);return s}function j(i,a){if(i==null)return{};var s=v(i,a),c,m;if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(i);for(m=0;m<g.length;m++)c=g[m],!(a.indexOf(c)>=0)&&Object.prototype.propertyIsEnumerable.call(i,c)&&(s[c]=i[c])}return s}function C(i,a){return D(i)||r(i,a)||T(i,a)||_()}function D(i){if(Array.isArray(i))return i}function T(i,a){if(i){if(typeof i=="string")return N(i,a);var s=Object.prototype.toString.call(i).slice(8,-1);if(s==="Object"&&i.constructor&&(s=i.constructor.name),s==="Map"||s==="Set")return Array.from(i);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return N(i,a)}}function N(i,a){(a==null||a>i.length)&&(a=i.length);for(var s=0,c=new Array(a);s<a;s++)c[s]=i[s];return c}function _(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
2
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var O=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?e.useLayoutEffect:e.useEffect;function y(i){var a=e.useRef(i);return O(function(){a.current=i}),e.useCallback(function(){for(var s=arguments.length,c=new Array(s),m=0;m<s;m++)c[m]=arguments[m];return a.current.apply(void 0,c)},[])}var M=function(a,s){var c=s.decimal,m=s.decimals,g=s.duration,V=s.easingFn,R=s.end,b=s.formattingFn,w=s.numerals,x=s.prefix,z=s.separator,P=s.start,H=s.suffix,W=s.useEasing,A=s.useGrouping,E=s.useIndianSeparators,$=s.enableScrollSpy,S=s.scrollSpyDelay,q=s.scrollSpyOnce,L=s.plugin;return new t.CountUp(a,R,{startVal:P,duration:g,decimal:c,decimalPlaces:m,easingFn:V,formattingFn:b,numerals:w,separator:z,prefix:x,suffix:H,plugin:L,useEasing:W,useIndianSeparators:E,useGrouping:A,enableScrollSpy:$,scrollSpyDelay:S,scrollSpyOnce:q})},I=["ref","startOnMount","enableReinitialize","delay","onEnd","onStart","onPauseResume","onReset","onUpdate"],G={decimal:".",separator:",",delay:null,prefix:"",suffix:"",duration:2,start:0,decimals:0,startOnMount:!0,enableReinitialize:!0,useEasing:!0,useGrouping:!0,useIndianSeparators:!1},B=function(a){var s=Object.fromEntries(Object.entries(a).filter(function(k){var Z=C(k,2),U=Z[1];return U!==void 0})),c=e.useMemo(function(){return n(n({},G),s)},[a]),m=c.ref,g=c.startOnMount,V=c.enableReinitialize,R=c.delay,b=c.onEnd,w=c.onStart,x=c.onPauseResume,z=c.onReset,P=c.onUpdate,H=j(c,I),W=e.useRef(),A=e.useRef(),E=e.useRef(!1),$=y(function(){return M(typeof m=="string"?m:m.current,H)}),S=y(function(k){var Z=W.current;if(Z&&!k)return Z;var U=$();return W.current=U,U}),q=y(function(){var k=function(){return S(!0).start(function(){b?.({pauseResume:L,reset:F,start:Y,update:X})})};R&&R>0?A.current=setTimeout(k,R*1e3):k(),w?.({pauseResume:L,reset:F,update:X})}),L=y(function(){S().pauseResume(),x?.({reset:F,start:Y,update:X})}),F=y(function(){S().el&&(A.current&&clearTimeout(A.current),S().reset(),z?.({pauseResume:L,start:Y,update:X}))}),X=y(function(k){S().update(k),P?.({pauseResume:L,reset:F,start:Y})}),Y=y(function(){F(),q()}),K=y(function(k){g&&(k&&F(),q())});return e.useEffect(function(){E.current?V&&K(!0):(E.current=!0,K())},[V,E,K,R,a.start,a.suffix,a.prefix,a.duration,a.separator,a.decimals,a.decimal,a.formattingFn]),e.useEffect(function(){return function(){F()}},[F]),{start:Y,pauseResume:L,reset:F,update:X,getCountUp:S}},J=["className","redraw","containerProps","children","style"],Q=function(a){var s=a.className,c=a.redraw,m=a.containerProps,g=a.children,V=a.style,R=j(a,J),b=e.useRef(null),w=e.useRef(!1),x=B(n(n({},R),{},{ref:b,startOnMount:typeof g!="function"||a.delay===0,enableReinitialize:!1})),z=x.start,P=x.reset,H=x.update,W=x.pauseResume,A=x.getCountUp,E=y(function(){z()}),$=y(function(L){a.preserveValue||P(),H(L)}),S=y(function(){if(typeof a.children=="function"&&!(b.current instanceof Element)){console.error(`Couldn't find attached element to hook the CountUp instance into! Try to attach "containerRef" from the render prop to a an Element, eg. <span ref={containerRef} />.`);return}A()});e.useEffect(function(){S()},[S]),e.useEffect(function(){w.current&&$(a.end)},[a.end,$]);var q=c&&a;return e.useEffect(function(){c&&w.current&&E()},[E,c,q]),e.useEffect(function(){!c&&w.current&&E()},[E,c,a.start,a.suffix,a.prefix,a.duration,a.separator,a.decimals,a.decimal,a.className,a.formattingFn]),e.useEffect(function(){w.current=!0},[]),typeof g=="function"?g({countUpRef:b,start:z,reset:P,update:H,pauseResume:W,getCountUp:A}):e.createElement("span",p({className:s,ref:b,style:V},m),typeof a.start<"u"?A().formattingFn(a.start):"")};return xe.default=Q,xe.useCountUp=B,xe}var St=Rt();const Vt=bt(St);var Oe=new Map,Ve=new WeakMap,Pe=0,Et=void 0;function kt(e){return e?(Ve.has(e)||(Pe+=1,Ve.set(e,Pe.toString())),Ve.get(e)):"0"}function Ct(e){return Object.keys(e).sort().filter(t=>e[t]!==void 0).map(t=>`${t}_${t==="root"?kt(e.root):e[t]}`).toString()}function Tt(e){const t=Ct(e);let r=Oe.get(t);if(!r){const o=new Map;let n;const d=new IntersectionObserver(h=>{h.forEach(u=>{var p;const v=u.isIntersecting&&n.some(j=>u.intersectionRatio>=j);e.trackVisibility&&typeof u.isVisible>"u"&&(u.isVisible=v),(p=o.get(u.target))==null||p.forEach(j=>{j(v,u)})})},e);n=d.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),r={id:t,observer:d,elements:o},Oe.set(t,r)}return r}function Ot(e,t,r={},o=Et){if(typeof window.IntersectionObserver>"u"&&o!==void 0){const p=e.getBoundingClientRect();return t(o,{isIntersecting:o,target:e,intersectionRatio:typeof r.threshold=="number"?r.threshold:0,time:0,boundingClientRect:p,intersectionRect:p,rootBounds:p}),()=>{}}const{id:n,observer:d,elements:h}=Tt(r),u=h.get(e)||[];return h.has(e)||h.set(e,u),u.push(t),d.observe(e),function(){u.splice(u.indexOf(t),1),u.length===0&&(h.delete(e),d.unobserve(e)),h.size===0&&(d.disconnect(),Oe.delete(n))}}function Mt({threshold:e,delay:t,trackVisibility:r,rootMargin:o,root:n,triggerOnce:d,skip:h,initialInView:u,fallbackInView:p,onChange:v}={}){var j;const[C,D]=we.useState(null),T=we.useRef(v),[N,_]=we.useState({inView:!!u,entry:void 0});T.current=v,we.useEffect(()=>{if(h||!C)return;let I;return I=Ot(C,(G,B)=>{_({inView:G,entry:B}),T.current&&T.current(G,B),B.isIntersecting&&d&&I&&(I(),I=void 0)},{root:n,rootMargin:o,threshold:e,trackVisibility:r,delay:t},p),()=>{I&&I()}},[Array.isArray(e)?e.toString():e,C,n,o,d,h,r,p,t]);const O=(j=N.entry)==null?void 0:j.target,y=we.useRef(void 0);!C&&O&&!d&&!h&&y.current!==O&&(y.current=O,_({inView:!!u,entry:void 0}));const M=[D,N.inView,N.entry];return M.ref=M[0],M.inView=M[1],M.entry=M[2],M}const Ke=ee.forwardRef(({value:e,label:t,suffix:r="",prefix:o="",duration:n=2,threshold:d=.3,separator:h=",",decimals:u=0,size:p,variant:v,align:j,color:C,as:D="div",css:T,className:N,margin:_,marginTop:O,marginBottom:y,marginLeft:M,marginRight:I,padding:G,paddingTop:B,paddingBottom:J,paddingLeft:Q,paddingRight:i,gap:a,display:s,flexDirection:c,justifyContent:m,flexWrap:g,flex:V,width:R,height:b,minWidth:w,maxWidth:x,minHeight:z,position:P,top:H,bottom:W,left:A,right:E,zIndex:$,fontSize:S,fontFamily:q,lineHeight:L,textAlign:F,fontWeight:X,backgroundColor:Y,borderRadius:K,borderWidth:k,borderStyle:Z,borderColor:U,boxShadow:te,opacity:ne,overflow:re,overflowX:ae,overflowY:ce,...le},de)=>{const[fe,oe]=Mt({threshold:d,triggerOnce:!0});return f.jsxs(D,{ref:he=>{fe(he),de&&(typeof de=="function"?de(he):de.current=he)},className:se(l.keyNumberRecipe({size:p,variant:v,align:j}),l.sprinkles({margin:_,marginTop:O,marginBottom:y,marginLeft:M,marginRight:I,padding:G,paddingTop:B,paddingBottom:J,paddingLeft:Q,paddingRight:i,gap:a,display:s,flexDirection:c,justifyContent:m,flexWrap:g,flex:V,width:R,height:b,minWidth:w,maxWidth:x,minHeight:z,position:P,top:H,bottom:W,left:A,right:E,zIndex:$,fontSize:S,fontFamily:q,lineHeight:L,textAlign:F,fontWeight:X,backgroundColor:Y,borderRadius:K,borderWidth:k,borderStyle:Z,borderColor:U,boxShadow:te,opacity:ne,overflow:re,overflowX:ae,overflowY:ce}),T,N),...le,children:[f.jsxs("div",{className:l.keyNumberValue,children:[o,f.jsx("span",{children:f.jsx(Vt,{end:oe?e:0,duration:n,separator:h,decimals:u})}),r]}),f.jsx("p",{className:l.keyNumberLabel,children:t})]})});Ke.displayName="KeyNumber";const Ze=ee.forwardRef(({links:e,iconSize:t="md",orientation:r,size:o,variant:n,as:d="nav",css:h,className:u,margin:p,marginTop:v,marginBottom:j,marginLeft:C,marginRight:D,padding:T,paddingTop:N,paddingBottom:_,paddingLeft:O,paddingRight:y,gap:M,display:I,flexDirection:G,justifyContent:B,flexWrap:J,flex:Q,width:i,height:a,minWidth:s,maxWidth:c,minHeight:m,position:g,top:V,bottom:R,left:b,right:w,zIndex:x,fontSize:z,fontFamily:P,lineHeight:H,textAlign:W,fontWeight:A,color:E,backgroundColor:$,borderRadius:S,borderWidth:q,borderStyle:L,borderColor:F,boxShadow:X,opacity:Y,overflow:K,overflowX:k,overflowY:Z,...U},te)=>{const ne=re=>({instagram:"socialInstagram",linkedIn:"socialLinkedIn",facebook:"socialFacebook",pinterest:"socialPinterest",spotify:"socialSpotify",X:"socialX",youtube:"socialYoutube",tiktok:"socialTiktok"})[re];return f.jsx(d,{ref:te,className:se(l.navSocialRecipe({orientation:r,size:o,variant:n}),l.sprinkles({margin:p,marginTop:v,marginBottom:j,marginLeft:C,marginRight:D,padding:T,paddingTop:N,paddingBottom:_,paddingLeft:O,paddingRight:y,gap:M,display:I,flexDirection:G,justifyContent:B,flexWrap:J,flex:Q,width:i,height:a,minWidth:s,maxWidth:c,minHeight:m,position:g,top:V,bottom:R,left:b,right:w,zIndex:x,fontSize:z,fontFamily:P,lineHeight:H,textAlign:W,fontWeight:A,color:E,backgroundColor:$,borderRadius:S,borderWidth:q,borderStyle:L,borderColor:F,boxShadow:X,opacity:Y,overflow:K,overflowX:k,overflowY:Z}),h,u),role:"navigation","aria-label":"Social media links",...U,children:e.map((re,ae)=>f.jsx("a",{href:re.url,target:"_blank",rel:"noopener noreferrer",className:l.navSocialLink,"aria-label":re.label||`Visit our ${re.name} page`,children:f.jsx(me,{icon:ne(re.name),size:t,"aria-hidden":"true"})},`${re.name}-${ae}`))})});Ze.displayName="NavSocial";const Je=ee.forwardRef(({children:e,orientation:t,size:r,variant:o,align:n,as:d="nav",css:h,className:u,margin:p,marginTop:v,marginBottom:j,marginLeft:C,marginRight:D,padding:T,paddingTop:N,paddingBottom:_,paddingLeft:O,paddingRight:y,gap:M,display:I,flexDirection:G,justifyContent:B,flexWrap:J,flex:Q,width:i,height:a,minWidth:s,maxWidth:c,minHeight:m,position:g,top:V,bottom:R,left:b,right:w,zIndex:x,fontSize:z,fontFamily:P,lineHeight:H,textAlign:W,fontWeight:A,color:E,backgroundColor:$,borderRadius:S,borderWidth:q,borderStyle:L,borderColor:F,boxShadow:X,opacity:Y,overflow:K,overflowX:k,overflowY:Z,...U},te)=>f.jsx(d,{ref:te,className:se(l.navLegalRecipe({orientation:t,size:r,variant:o,align:n}),l.sprinkles({margin:p,marginTop:v,marginBottom:j,marginLeft:C,marginRight:D,padding:T,paddingTop:N,paddingBottom:_,paddingLeft:O,paddingRight:y,gap:M,display:I,flexDirection:G,justifyContent:B,flexWrap:J,flex:Q,width:i,height:a,minWidth:s,maxWidth:c,minHeight:m,position:g,top:V,bottom:R,left:b,right:w,zIndex:x,fontSize:z,fontFamily:P,lineHeight:H,textAlign:W,fontWeight:A,color:E,backgroundColor:$,borderRadius:S,borderWidth:q,borderStyle:L,borderColor:F,boxShadow:X,opacity:Y,overflow:K,overflowX:k,overflowY:Z}),h,u),role:"navigation","aria-label":"Legal navigation",...U,children:e}));Je.displayName="NavLegal";const Qe=ee.forwardRef(({locales:e,currentLocale:t,onChange:r,disabled:o=!1,placeholder:n,variant:d,size:h,css:u,className:p,margin:v,marginTop:j,marginBottom:C,marginLeft:D,marginRight:T,padding:N,paddingTop:_,paddingBottom:O,paddingLeft:y,paddingRight:M,gap:I,display:G,flexDirection:B,justifyContent:J,flexWrap:Q,flex:i,width:a,height:s,minWidth:c,maxWidth:m,minHeight:g,position:V,top:R,bottom:b,left:w,right:x,zIndex:z,fontSize:P,fontFamily:H,lineHeight:W,textAlign:A,fontWeight:E,color:$,backgroundColor:S,borderRadius:q,borderWidth:L,borderStyle:F,borderColor:X,boxShadow:Y,opacity:K,overflow:k,overflowX:Z,overflowY:U,...te},ne)=>{const re=ae=>{r(ae.target.value)};return f.jsxs("div",{ref:ne,className:se(l.languageSwitcherRecipe({variant:d,size:h}),l.sprinkles({margin:v,marginTop:j,marginBottom:C,marginLeft:D,marginRight:T,padding:N,paddingTop:_,paddingBottom:O,paddingLeft:y,paddingRight:M,gap:I,display:G,flexDirection:B,justifyContent:J,flexWrap:Q,flex:i,width:a,height:s,minWidth:c,maxWidth:m,minHeight:g,position:V,top:R,bottom:b,left:w,right:x,zIndex:z,fontSize:P,fontFamily:H,lineHeight:W,textAlign:A,fontWeight:E,color:$,backgroundColor:S,borderRadius:q,borderWidth:L,borderStyle:F,borderColor:X,boxShadow:Y,opacity:K,overflow:k,overflowX:Z,overflowY:U}),u,p),...te,children:[f.jsxs("select",{className:l.languageSwitcherSelect,value:t,onChange:re,disabled:o,"aria-label":"Switch language",children:[n&&f.jsx("option",{value:"",disabled:!0,children:n}),e.map(ae=>f.jsx("option",{value:ae.code,disabled:ae.code===t,children:ae.label||ae.name},ae.code))]}),f.jsx("div",{className:l.languageSwitcherIcon,children:f.jsx(me,{icon:"caret",size:"sm"})})]})});Qe.displayName="LanguageSwitcher";const Me=ee.forwardRef(({video:e,poster:t,isAutoPlay:r=!1,startMuted:o=!1,showControls:n=!1,hidePlayButton:d=!1,isVideoFullWidth:h=!1,isPlayingFullScreen:u=!1,onPlay:p,onClose:v,onEnded:j,size:C,aspectRatio:D,css:T,className:N,margin:_,marginTop:O,marginBottom:y,marginLeft:M,marginRight:I,padding:G,paddingTop:B,paddingBottom:J,paddingLeft:Q,paddingRight:i,gap:a,display:s,flexDirection:c,justifyContent:m,flexWrap:g,flex:V,width:R,height:b,minWidth:w,maxWidth:x,minHeight:z,position:P,top:H,bottom:W,left:A,right:E,zIndex:$,fontSize:S,fontFamily:q,lineHeight:L,textAlign:F,fontWeight:X,color:Y,backgroundColor:K,borderRadius:k,borderWidth:Z,borderStyle:U,borderColor:te,boxShadow:ne,opacity:re,overflow:ae,overflowX:ce,overflowY:le,...de},fe)=>{const oe=ee.useRef(null),[he,pe]=ee.useState(!1),[ge,je]=ee.useState(r||o),Ne=()=>{p&&p(),oe.current?.play(),pe(!0)},ve=()=>{v&&v(),oe.current?.pause(),pe(!1)},Re=()=>{oe.current?.pause(),pe(!1)},Ce=()=>{const ie=!ge;je(ie),oe.current&&(oe.current.muted=ie)},Te=()=>{j&&j(),ve()},be=ie=>{ie.key==="Escape"&&ve()};return ee.useEffect(()=>(window.addEventListener("keydown",be),()=>{window.removeEventListener("keydown",be)}),[]),ee.useEffect(()=>{oe.current&&(oe.current.muted=ge)},[ge]),f.jsxs("div",{ref:fe,className:se(l.videoRecipe({size:h?"fullWidth":C,aspectRatio:D}),l.sprinkles({margin:_,marginTop:O,marginBottom:y,marginLeft:M,marginRight:I,padding:G,paddingTop:B,paddingBottom:J,paddingLeft:Q,paddingRight:i,gap:a,display:s,flexDirection:c,justifyContent:m,flexWrap:g,flex:V,width:R,height:b,minWidth:w,maxWidth:x,minHeight:z,position:P,top:H,bottom:W,left:A,right:E,zIndex:$,fontSize:S,fontFamily:q,lineHeight:L,textAlign:F,fontWeight:X,color:Y,backgroundColor:K,borderRadius:k,borderWidth:Z,borderStyle:U,borderColor:te,boxShadow:ne,opacity:re,overflow:ae,overflowX:ce,overflowY:le}),T,N),...de,children:[f.jsx("video",{ref:oe,className:l.videoElement,playsInline:!0,muted:ge,autoPlay:r,onEnded:Te,children:f.jsx("source",{src:e,type:"video/mp4"})}),t&&f.jsx("div",{className:l.videoPoster,"data-playing":he,children:f.jsx("img",{src:t,alt:"Video poster",className:l.posterImage,sizes:"2560"})}),!d&&!r&&f.jsx("button",{className:l.playButton,"data-playing":he,onClick:Ne,"aria-label":"Play video",type:"button",children:f.jsx(me,{icon:"play",size:"lg"})}),u&&f.jsx("button",{className:l.closeButton,onClick:ve,"aria-label":"Close video",type:"button",children:f.jsx(me,{icon:"close",size:"md"})}),he&&n&&f.jsx("button",{className:l.pauseButton,onClick:Re,"aria-label":"Pause video",type:"button",children:f.jsx(me,{icon:"pause",size:"md"})}),n&&f.jsx("button",{className:l.soundButton,onClick:Ce,"aria-label":ge?"Unmute video":"Mute video",type:"button",children:f.jsx(me,{icon:ge?"volumeMute":"volumeUp",size:"md"})})]})});Me.displayName="Video";const et=ee.forwardRef(({video:e,poster:t,isAutoPlay:r=!1,startMuted:o=!1,showControls:n=!1,onPlay:d,onClose:h,onEnded:u,aspectRatio:p,css:v,className:j,margin:C,marginTop:D,marginBottom:T,marginLeft:N,marginRight:_,padding:O,paddingTop:y,paddingBottom:M,paddingLeft:I,paddingRight:G,gap:B,display:J,flexDirection:Q,justifyContent:i,flexWrap:a,flex:s,width:c,height:m,minWidth:g,maxWidth:V,minHeight:R,position:b,top:w,bottom:x,left:z,right:P,zIndex:H,fontSize:W,fontFamily:A,lineHeight:E,textAlign:$,fontWeight:S,color:q,backgroundColor:L,borderRadius:F,borderWidth:X,borderStyle:Y,borderColor:K,boxShadow:k,opacity:Z,overflow:U,overflowX:te,overflowY:ne,...re},ae)=>f.jsx("div",{ref:ae,className:se(l.videoFullWidthRecipe({aspectRatio:p}),l.sprinkles({margin:C,marginTop:D,marginBottom:T,marginLeft:N,marginRight:_,padding:O,paddingTop:y,paddingBottom:M,paddingLeft:I,paddingRight:G,gap:B,display:J,flexDirection:Q,justifyContent:i,flexWrap:a,flex:s,width:c,height:m,minWidth:g,maxWidth:V,minHeight:R,position:b,top:w,bottom:x,left:z,right:P,zIndex:H,fontSize:W,fontFamily:A,lineHeight:E,textAlign:$,fontWeight:S,color:q,backgroundColor:L,borderRadius:F,borderWidth:X,borderStyle:Y,borderColor:K,boxShadow:k,opacity:Z,overflow:U,overflowX:te,overflowY:ne}),v,j),...re,children:f.jsx(Me,{video:e,poster:t,isAutoPlay:r,startMuted:o,showControls:n,onPlay:d,onClose:h,onEnded:u,isVideoFullWidth:!0,size:"fullWidth"})}));et.displayName="VideoFullWidth";const tt=ee.forwardRef(({children:e,spacing:t,layout:r,css:o,className:n,margin:d,marginTop:h,marginBottom:u,marginLeft:p,marginRight:v,padding:j,paddingTop:C,paddingBottom:D,paddingLeft:T,paddingRight:N,gap:_,display:O,flexDirection:y,justifyContent:M,flexWrap:I,flex:G,width:B,height:J,minWidth:Q,maxWidth:i,minHeight:a,position:s,top:c,bottom:m,left:g,right:V,zIndex:R,fontSize:b,fontFamily:w,lineHeight:x,textAlign:z,fontWeight:P,color:H,backgroundColor:W,borderRadius:A,borderWidth:E,borderStyle:$,borderColor:S,boxShadow:q,opacity:L,overflow:F,overflowX:X,overflowY:Y,...K},k)=>f.jsx("form",{ref:k,className:se(l.formRecipe({spacing:t,layout:r}),l.sprinkles({margin:d,marginTop:h,marginBottom:u,marginLeft:p,marginRight:v,padding:j,paddingTop:C,paddingBottom:D,paddingLeft:T,paddingRight:N,gap:_,display:O,flexDirection:y,justifyContent:M,flexWrap:I,flex:G,width:B,height:J,minWidth:Q,maxWidth:i,minHeight:a,position:s,top:c,bottom:m,left:g,right:V,zIndex:R,fontSize:b,fontFamily:w,lineHeight:x,textAlign:z,fontWeight:P,color:H,backgroundColor:W,borderRadius:A,borderWidth:E,borderStyle:$,borderColor:S,boxShadow:q,opacity:L,overflow:F,overflowX:X,overflowY:Y}),o,n),...K,children:e}));tt.displayName="Form";const nt=ee.forwardRef(({children:e,align:t,variant:r,spacing:o,isActions:n=!1,isMessage:d=!1,css:h,className:u,margin:p,marginTop:v,marginBottom:j,marginLeft:C,marginRight:D,padding:T,paddingTop:N,paddingBottom:_,paddingLeft:O,paddingRight:y,gap:M,display:I,flexDirection:G,justifyContent:B,flexWrap:J,flex:Q,width:i,height:a,minWidth:s,maxWidth:c,minHeight:m,position:g,top:V,bottom:R,left:b,right:w,zIndex:x,fontSize:z,fontFamily:P,lineHeight:H,textAlign:W,fontWeight:A,color:E,backgroundColor:$,borderRadius:S,borderWidth:q,borderStyle:L,borderColor:F,boxShadow:X,opacity:Y,overflow:K,overflowX:k,overflowY:Z,...U},te)=>{let ne=r;return n&&(ne="actions"),d&&(ne="message"),f.jsx("div",{ref:te,className:se(l.rowRecipe({align:t,variant:ne,spacing:o}),l.sprinkles({margin:p,marginTop:v,marginBottom:j,marginLeft:C,marginRight:D,padding:T,paddingTop:N,paddingBottom:_,paddingLeft:O,paddingRight:y,gap:M,display:I,flexDirection:G,justifyContent:B,flexWrap:J,flex:Q,width:i,height:a,minWidth:s,maxWidth:c,minHeight:m,position:g,top:V,bottom:R,left:b,right:w,zIndex:x,fontSize:z,fontFamily:P,lineHeight:H,textAlign:W,fontWeight:A,color:E,backgroundColor:$,borderRadius:S,borderWidth:q,borderStyle:L,borderColor:F,boxShadow:X,opacity:Y,overflow:K,overflowX:k,overflowY:Z}),h,u),...U,children:e})});nt.displayName="Row";const at=ee.forwardRef(({name:e,label:t,value:r="",rows:o=3,disabled:n=!1,required:d=!1,placeholder:h="",errors:u,type:p="text",onChange:v,size:j,css:C,className:D,margin:T,marginTop:N,marginBottom:_,marginLeft:O,marginRight:y,padding:M,paddingTop:I,paddingBottom:G,paddingLeft:B,paddingRight:J,gap:Q,display:i,flexDirection:a,justifyContent:s,flexWrap:c,flex:m,width:g,height:V,minWidth:R,maxWidth:b,minHeight:w,position:x,top:z,bottom:P,left:H,right:W,zIndex:A,fontSize:E,fontFamily:$,lineHeight:S,textAlign:q,fontWeight:L,color:F,backgroundColor:X,borderRadius:Y,borderWidth:K,borderStyle:k,borderColor:Z,boxShadow:U,opacity:te,overflow:ne,overflowX:re,overflowY:ae,...ce},le)=>{const de=ee.useMemo(()=>u?Array.isArray(u)?u.length>0:!!u:!1,[u]),fe=p==="textarea";return f.jsxs("div",{ref:le,className:se(l.textFieldRecipe({size:j}),l.sprinkles({margin:T,marginTop:N,marginBottom:_,marginLeft:O,marginRight:y,padding:M,paddingTop:I,paddingBottom:G,paddingLeft:B,paddingRight:J,gap:Q,display:i,flexDirection:a,justifyContent:s,flexWrap:c,flex:m,width:g,height:V,minWidth:R,maxWidth:b,minHeight:w,position:x,top:z,bottom:P,left:H,right:W,zIndex:A,fontSize:E,fontFamily:$,lineHeight:S,textAlign:q,fontWeight:L,color:F,backgroundColor:X,borderRadius:Y,borderWidth:K,borderStyle:k,borderColor:Z,boxShadow:U,opacity:te,overflow:ne,overflowX:re,overflowY:ae}),C,D),...ce,children:[t&&f.jsx("label",{htmlFor:e,className:l.labelBase,"data-required":d,children:t}),fe?f.jsx("textarea",{id:e,name:e,rows:o,value:r,disabled:n,placeholder:h,className:l.textareaBase,onChange:v,"data-error":de,required:d}):f.jsx("input",{id:e,name:e,type:p,value:r,disabled:n,placeholder:h,className:l.inputBase,onChange:v,"data-error":de,required:d}),de&&f.jsx("div",{className:l.messageContainer,children:Array.isArray(u)?u.map((oe,he)=>f.jsx("span",{className:l.errorMessage,children:oe},he)):f.jsx("span",{className:l.errorMessage,children:u})})]})});at.displayName="TextField";const rt=ee.forwardRef(({label:e,name:t,required:r=!1,size:o,variant:n,css:d,className:h,margin:u,marginTop:p,marginBottom:v,marginLeft:j,marginRight:C,padding:D,paddingTop:T,paddingBottom:N,paddingLeft:_,paddingRight:O,gap:y,display:M,flexDirection:I,justifyContent:G,flexWrap:B,flex:J,width:Q,height:i,minWidth:a,maxWidth:s,minHeight:c,position:m,top:g,bottom:V,left:R,right:b,zIndex:w,fontSize:x,fontFamily:z,lineHeight:P,textAlign:H,fontWeight:W,color:A,backgroundColor:E,borderRadius:$,borderWidth:S,borderStyle:q,borderColor:L,boxShadow:F,opacity:X,overflow:Y,overflowX:K,overflowY:k,...Z},U)=>f.jsx("label",{ref:U,htmlFor:t,className:se(l.labelRecipe({size:o,variant:n}),l.sprinkles({margin:u,marginTop:p,marginBottom:v,marginLeft:j,marginRight:C,padding:D,paddingTop:T,paddingBottom:N,paddingLeft:_,paddingRight:O,gap:y,display:M,flexDirection:I,justifyContent:G,flexWrap:B,flex:J,width:Q,height:i,minWidth:a,maxWidth:s,minHeight:c,position:m,top:g,bottom:V,left:R,right:b,zIndex:w,fontSize:x,fontFamily:z,lineHeight:P,textAlign:H,fontWeight:W,color:A,backgroundColor:E,borderRadius:$,borderWidth:S,borderStyle:q,borderColor:L,boxShadow:F,opacity:X,overflow:Y,overflowX:K,overflowY:k}),d,h),"data-required":r,...Z,children:e}));rt.displayName="Label";const st=ee.forwardRef(({name:e,type:t="text",hasError:r=!1,size:o,variant:n,css:d,className:h,margin:u,marginTop:p,marginBottom:v,marginLeft:j,marginRight:C,padding:D,paddingTop:T,paddingBottom:N,paddingLeft:_,paddingRight:O,gap:y,display:M,flexDirection:I,justifyContent:G,flexWrap:B,flex:J,width:Q,height:i,minWidth:a,maxWidth:s,minHeight:c,position:m,top:g,bottom:V,left:R,right:b,zIndex:w,fontSize:x,fontFamily:z,lineHeight:P,textAlign:H,fontWeight:W,color:A,backgroundColor:E,borderRadius:$,borderWidth:S,borderStyle:q,borderColor:L,boxShadow:F,opacity:X,overflow:Y,overflowX:K,overflowY:k,...Z},U)=>f.jsx("input",{ref:U,id:e,name:e,type:t,className:se(l.inputRecipe({size:o,variant:n}),l.sprinkles({margin:u,marginTop:p,marginBottom:v,marginLeft:j,marginRight:C,padding:D,paddingTop:T,paddingBottom:N,paddingLeft:_,paddingRight:O,gap:y,display:M,flexDirection:I,justifyContent:G,flexWrap:B,flex:J,width:Q,height:i,minWidth:a,maxWidth:s,minHeight:c,position:m,top:g,bottom:V,left:R,right:b,zIndex:w,fontSize:x,fontFamily:z,lineHeight:P,textAlign:H,fontWeight:W,color:A,backgroundColor:E,borderRadius:$,borderWidth:S,borderStyle:q,borderColor:L,boxShadow:F,opacity:X,overflow:Y,overflowX:K,overflowY:k}),d,h),"data-error":r,...Z}));st.displayName="Input";const it=ee.forwardRef(({name:e,hasError:t=!1,size:r,variant:o,resize:n,css:d,className:h,margin:u,marginTop:p,marginBottom:v,marginLeft:j,marginRight:C,padding:D,paddingTop:T,paddingBottom:N,paddingLeft:_,paddingRight:O,gap:y,display:M,flexDirection:I,justifyContent:G,flexWrap:B,flex:J,width:Q,height:i,minWidth:a,maxWidth:s,minHeight:c,position:m,top:g,bottom:V,left:R,right:b,zIndex:w,fontSize:x,fontFamily:z,lineHeight:P,textAlign:H,fontWeight:W,color:A,backgroundColor:E,borderRadius:$,borderWidth:S,borderStyle:q,borderColor:L,boxShadow:F,opacity:X,overflow:Y,overflowX:K,overflowY:k,...Z},U)=>f.jsx("textarea",{ref:U,id:e,name:e,className:se(l.textareaRecipe({size:r,variant:o,resize:n}),l.sprinkles({margin:u,marginTop:p,marginBottom:v,marginLeft:j,marginRight:C,padding:D,paddingTop:T,paddingBottom:N,paddingLeft:_,paddingRight:O,gap:y,display:M,flexDirection:I,justifyContent:G,flexWrap:B,flex:J,width:Q,height:i,minWidth:a,maxWidth:s,minHeight:c,position:m,top:g,bottom:V,left:R,right:b,zIndex:w,fontSize:x,fontFamily:z,lineHeight:P,textAlign:H,fontWeight:W,color:A,backgroundColor:E,borderRadius:$,borderWidth:S,borderStyle:q,borderColor:L,boxShadow:F,opacity:X,overflow:Y,overflowX:K,overflowY:k}),d,h),"data-error":t,...Z}));it.displayName="Textarea";const At=()=>f.jsx("div",{children:"ToRemove"});exports.baseDarkTheme=l.baseDarkTheme;exports.baseLightTheme=l.baseLightTheme;exports.breakpoints=l.breakpoints;exports.createDarkTheme=l.createDarkTheme;exports.createLightTheme=l.createLightTheme;exports.queries=l.queries;exports.responsiveProperties=l.responsiveProperties;exports.sprinkles=l.sprinkles;exports.themeContract=l.themeContract;exports.Actions=Xe;exports.Button=Ee;exports.Carousel=Ye;exports.Columns=qe;exports.ConsentCookie=Ge;exports.Footer=Be;exports.Form=tt;exports.Header=De;exports.Icon=me;exports.Input=st;exports.KeyNumber=Ke;exports.Label=rt;exports.LanguageSwitcher=Qe;exports.Logo=$e;exports.Main=Ue;exports.Modal=We;exports.Nav=He;exports.NavLegal=Je;exports.NavSocial=Ze;exports.Row=nt;exports.Section=pt;exports.TextField=at;exports.Textarea=it;exports.ToRemove=At;exports.Video=Me;exports.VideoFullWidth=et;exports.createThemeOverride=ct;exports.getCurrentTheme=mt;exports.getThemeContract=ut;exports.getThemeValues=dt;exports.setTheme=ht;exports.toggleTheme=ft;
|