@opensite/ui 1.3.2 → 1.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (167) hide show
  1. package/dist/footer-accordion-social.cjs +1344 -0
  2. package/dist/footer-accordion-social.d.cts +154 -0
  3. package/dist/footer-accordion-social.d.ts +154 -0
  4. package/dist/footer-accordion-social.js +1322 -0
  5. package/dist/footer-info-cards-accordion.cjs +1427 -0
  6. package/dist/footer-info-cards-accordion.d.cts +278 -0
  7. package/dist/footer-info-cards-accordion.d.ts +278 -0
  8. package/dist/footer-info-cards-accordion.js +1404 -0
  9. package/dist/footer-newsletter-contact.cjs +1281 -0
  10. package/dist/footer-newsletter-contact.d.cts +163 -0
  11. package/dist/footer-newsletter-contact.d.ts +163 -0
  12. package/dist/footer-newsletter-contact.js +1259 -0
  13. package/dist/footer-split-image-accordion.cjs +1395 -0
  14. package/dist/footer-split-image-accordion.d.cts +236 -0
  15. package/dist/footer-split-image-accordion.d.ts +236 -0
  16. package/dist/footer-split-image-accordion.js +1372 -0
  17. package/dist/list-achievements-showcase.cjs +1141 -0
  18. package/dist/list-achievements-showcase.d.cts +131 -0
  19. package/dist/list-achievements-showcase.d.ts +131 -0
  20. package/dist/list-achievements-showcase.js +1119 -0
  21. package/dist/list-career-timeline.cjs +531 -0
  22. package/dist/list-career-timeline.d.cts +153 -0
  23. package/dist/list-career-timeline.d.ts +153 -0
  24. package/dist/list-career-timeline.js +509 -0
  25. package/dist/list-feature-comparison.cjs +1211 -0
  26. package/dist/list-feature-comparison.d.cts +189 -0
  27. package/dist/list-feature-comparison.d.ts +189 -0
  28. package/dist/list-feature-comparison.js +1190 -0
  29. package/dist/list-metrics-dashboard.cjs +1402 -0
  30. package/dist/list-metrics-dashboard.d.cts +191 -0
  31. package/dist/list-metrics-dashboard.d.ts +191 -0
  32. package/dist/list-metrics-dashboard.js +1379 -0
  33. package/dist/list-service-category-table.cjs +762 -0
  34. package/dist/list-service-category-table.d.cts +135 -0
  35. package/dist/list-service-category-table.d.ts +135 -0
  36. package/dist/list-service-category-table.js +741 -0
  37. package/dist/offer-modal-membership-image.cjs +1361 -0
  38. package/dist/offer-modal-membership-image.d.cts +194 -0
  39. package/dist/offer-modal-membership-image.d.ts +194 -0
  40. package/dist/offer-modal-membership-image.js +1339 -0
  41. package/dist/offer-modal-newsletter-discount.cjs +1296 -0
  42. package/dist/offer-modal-newsletter-discount.d.cts +164 -0
  43. package/dist/offer-modal-newsletter-discount.d.ts +164 -0
  44. package/dist/offer-modal-newsletter-discount.js +1274 -0
  45. package/dist/offer-modal-sheet-newsletter.cjs +1360 -0
  46. package/dist/offer-modal-sheet-newsletter.d.cts +221 -0
  47. package/dist/offer-modal-sheet-newsletter.d.ts +221 -0
  48. package/dist/offer-modal-sheet-newsletter.js +1337 -0
  49. package/dist/pricing-addons-cards.cjs +1143 -0
  50. package/dist/pricing-addons-cards.d.cts +203 -0
  51. package/dist/pricing-addons-cards.d.ts +203 -0
  52. package/dist/pricing-addons-cards.js +1122 -0
  53. package/dist/pricing-addons-featured.cjs +1224 -0
  54. package/dist/pricing-addons-featured.d.cts +271 -0
  55. package/dist/pricing-addons-featured.d.ts +271 -0
  56. package/dist/pricing-addons-featured.js +1203 -0
  57. package/dist/pricing-collapsible-plans.cjs +1315 -0
  58. package/dist/pricing-collapsible-plans.d.cts +258 -0
  59. package/dist/pricing-collapsible-plans.d.ts +258 -0
  60. package/dist/pricing-collapsible-plans.js +1294 -0
  61. package/dist/pricing-columns-toggle.cjs +1234 -0
  62. package/dist/pricing-columns-toggle.d.cts +251 -0
  63. package/dist/pricing-columns-toggle.d.ts +251 -0
  64. package/dist/pricing-columns-toggle.js +1212 -0
  65. package/dist/pricing-comparison-headers.cjs +1235 -0
  66. package/dist/pricing-comparison-headers.d.cts +245 -0
  67. package/dist/pricing-comparison-headers.d.ts +245 -0
  68. package/dist/pricing-comparison-headers.js +1213 -0
  69. package/dist/pricing-comparison-table.cjs +1374 -0
  70. package/dist/pricing-comparison-table.d.cts +280 -0
  71. package/dist/pricing-comparison-table.d.ts +280 -0
  72. package/dist/pricing-comparison-table.js +1352 -0
  73. package/dist/pricing-discount-card.cjs +1217 -0
  74. package/dist/pricing-discount-card.d.cts +195 -0
  75. package/dist/pricing-discount-card.d.ts +195 -0
  76. package/dist/pricing-discount-card.js +1195 -0
  77. package/dist/pricing-enterprise-contact.cjs +1094 -0
  78. package/dist/pricing-enterprise-contact.d.cts +170 -0
  79. package/dist/pricing-enterprise-contact.d.ts +170 -0
  80. package/dist/pricing-enterprise-contact.js +1073 -0
  81. package/dist/pricing-feature-matrix.cjs +1197 -0
  82. package/dist/pricing-feature-matrix.d.cts +56 -0
  83. package/dist/pricing-feature-matrix.d.ts +56 -0
  84. package/dist/pricing-feature-matrix.js +1174 -0
  85. package/dist/pricing-four-tier-toggle.cjs +1320 -0
  86. package/dist/pricing-four-tier-toggle.d.cts +266 -0
  87. package/dist/pricing-four-tier-toggle.d.ts +266 -0
  88. package/dist/pricing-four-tier-toggle.js +1297 -0
  89. package/dist/pricing-full-comparison.cjs +1301 -0
  90. package/dist/pricing-full-comparison.d.cts +265 -0
  91. package/dist/pricing-full-comparison.d.ts +265 -0
  92. package/dist/pricing-full-comparison.js +1279 -0
  93. package/dist/pricing-gradient-cards.cjs +1248 -0
  94. package/dist/pricing-gradient-cards.d.cts +258 -0
  95. package/dist/pricing-gradient-cards.d.ts +258 -0
  96. package/dist/pricing-gradient-cards.js +1226 -0
  97. package/dist/pricing-icon-headers.cjs +1163 -0
  98. package/dist/pricing-icon-headers.d.cts +218 -0
  99. package/dist/pricing-icon-headers.d.ts +218 -0
  100. package/dist/pricing-icon-headers.js +1142 -0
  101. package/dist/pricing-minimal-cards.cjs +1146 -0
  102. package/dist/pricing-minimal-cards.d.cts +210 -0
  103. package/dist/pricing-minimal-cards.d.ts +210 -0
  104. package/dist/pricing-minimal-cards.js +1125 -0
  105. package/dist/pricing-packages-radio.cjs +1203 -0
  106. package/dist/pricing-packages-radio.d.cts +243 -0
  107. package/dist/pricing-packages-radio.d.ts +243 -0
  108. package/dist/pricing-packages-radio.js +1182 -0
  109. package/dist/pricing-popular-highlight.cjs +1293 -0
  110. package/dist/pricing-popular-highlight.d.cts +255 -0
  111. package/dist/pricing-popular-highlight.d.ts +255 -0
  112. package/dist/pricing-popular-highlight.js +1271 -0
  113. package/dist/pricing-radio-toggle.cjs +1277 -0
  114. package/dist/pricing-radio-toggle.d.cts +251 -0
  115. package/dist/pricing-radio-toggle.d.ts +251 -0
  116. package/dist/pricing-radio-toggle.js +1255 -0
  117. package/dist/pricing-responsive-table.cjs +1229 -0
  118. package/dist/pricing-responsive-table.d.cts +55 -0
  119. package/dist/pricing-responsive-table.d.ts +55 -0
  120. package/dist/pricing-responsive-table.js +1206 -0
  121. package/dist/pricing-services-cards.cjs +1209 -0
  122. package/dist/pricing-services-cards.d.cts +230 -0
  123. package/dist/pricing-services-cards.d.ts +230 -0
  124. package/dist/pricing-services-cards.js +1188 -0
  125. package/dist/pricing-simple-card.cjs +1102 -0
  126. package/dist/pricing-simple-card.d.cts +174 -0
  127. package/dist/pricing-simple-card.d.ts +174 -0
  128. package/dist/pricing-simple-card.js +1081 -0
  129. package/dist/pricing-single-card.cjs +1174 -0
  130. package/dist/pricing-single-card.d.cts +201 -0
  131. package/dist/pricing-single-card.d.ts +201 -0
  132. package/dist/pricing-single-card.js +1152 -0
  133. package/dist/pricing-split-layout.cjs +1001 -0
  134. package/dist/pricing-split-layout.d.cts +44 -0
  135. package/dist/pricing-split-layout.d.ts +44 -0
  136. package/dist/pricing-split-layout.js +980 -0
  137. package/dist/pricing-spotlight-card.cjs +1157 -0
  138. package/dist/pricing-spotlight-card.d.cts +201 -0
  139. package/dist/pricing-spotlight-card.d.ts +201 -0
  140. package/dist/pricing-spotlight-card.js +1136 -0
  141. package/dist/pricing-switch-cards.cjs +1274 -0
  142. package/dist/pricing-switch-cards.d.cts +254 -0
  143. package/dist/pricing-switch-cards.d.ts +254 -0
  144. package/dist/pricing-switch-cards.js +1252 -0
  145. package/dist/pricing-tabs-toggle.cjs +1314 -0
  146. package/dist/pricing-tabs-toggle.d.cts +274 -0
  147. package/dist/pricing-tabs-toggle.d.ts +274 -0
  148. package/dist/pricing-tabs-toggle.js +1291 -0
  149. package/dist/pricing-tier-grid.cjs +1190 -0
  150. package/dist/pricing-tier-grid.d.cts +224 -0
  151. package/dist/pricing-tier-grid.d.ts +224 -0
  152. package/dist/pricing-tier-grid.js +1169 -0
  153. package/dist/pricing-toggle-cards.cjs +1330 -0
  154. package/dist/pricing-toggle-cards.d.cts +267 -0
  155. package/dist/pricing-toggle-cards.d.ts +267 -0
  156. package/dist/pricing-toggle-cards.js +1307 -0
  157. package/dist/pricing-toggle-period.cjs +1251 -0
  158. package/dist/pricing-toggle-period.d.cts +265 -0
  159. package/dist/pricing-toggle-period.d.ts +265 -0
  160. package/dist/pricing-toggle-period.js +1230 -0
  161. package/dist/pricing-two-column-basic.cjs +1243 -0
  162. package/dist/pricing-two-column-basic.d.cts +244 -0
  163. package/dist/pricing-two-column-basic.d.ts +244 -0
  164. package/dist/pricing-two-column-basic.js +1222 -0
  165. package/dist/registry.cjs +109 -85
  166. package/dist/registry.js +931 -907
  167. package/package.json +1 -1
@@ -0,0 +1,1372 @@
1
+ "use client";
2
+ import * as React from 'react';
3
+ import React__default, { useMemo } from 'react';
4
+ import { useForm, Form, Field } from '@page-speed/forms';
5
+ import { TextInput as TextInput$1 } from '@page-speed/forms/inputs';
6
+ import { clsx } from 'clsx';
7
+ import { twMerge } from 'tailwind-merge';
8
+ import { Img } from '@page-speed/img';
9
+ import { cva } from 'class-variance-authority';
10
+ import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
11
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
12
+ import { serializeForRails, deserializeErrors } from '@page-speed/forms/integration';
13
+ import * as SeparatorPrimitive from '@radix-ui/react-separator';
14
+
15
+ // components/blocks/footers/footer-split-image-accordion.tsx
16
+ var TextInput = TextInput$1;
17
+ function cn(...inputs) {
18
+ return twMerge(clsx(inputs));
19
+ }
20
+ function normalizePhoneNumber(input) {
21
+ const trimmed = input.trim();
22
+ if (trimmed.toLowerCase().startsWith("tel:")) {
23
+ return trimmed;
24
+ }
25
+ const match = trimmed.match(/^[\s\+\-\(\)]*(\d[\d\s\-\(\)\.]*\d)[\s\-]*(x|ext\.?|extension)?[\s\-]*(\d+)?$/i);
26
+ if (match) {
27
+ const mainNumber = match[1].replace(/[\s\-\(\)\.]/g, "");
28
+ const extension = match[3];
29
+ const normalized = mainNumber.length >= 10 && !trimmed.startsWith("+") ? `+${mainNumber}` : mainNumber;
30
+ const withExtension = extension ? `${normalized};ext=${extension}` : normalized;
31
+ return `tel:${withExtension}`;
32
+ }
33
+ const cleaned = trimmed.replace(/[\s\-\(\)\.]/g, "");
34
+ return `tel:${cleaned}`;
35
+ }
36
+ function normalizeEmail(input) {
37
+ const trimmed = input.trim();
38
+ if (trimmed.toLowerCase().startsWith("mailto:")) {
39
+ return trimmed;
40
+ }
41
+ return `mailto:${trimmed}`;
42
+ }
43
+ function isEmail(input) {
44
+ const emailRegex = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
45
+ return emailRegex.test(input.trim());
46
+ }
47
+ function isPhoneNumber(input) {
48
+ const trimmed = input.trim();
49
+ if (trimmed.toLowerCase().startsWith("tel:")) {
50
+ return true;
51
+ }
52
+ const phoneRegex = /^[\s\+\-\(\)]*\d[\d\s\-\(\)\.]*\d[\s\-]*(x|ext\.?|extension)?[\s\-]*\d*$/i;
53
+ return phoneRegex.test(trimmed);
54
+ }
55
+ function isInternalUrl(href) {
56
+ if (typeof window === "undefined") {
57
+ return href.startsWith("/") && !href.startsWith("//");
58
+ }
59
+ const trimmed = href.trim();
60
+ if (trimmed.startsWith("/") && !trimmed.startsWith("//")) {
61
+ return true;
62
+ }
63
+ try {
64
+ const url = new URL(trimmed, window.location.href);
65
+ const currentOrigin = window.location.origin;
66
+ const normalizeOrigin = (origin) => origin.replace(/^(https?:\/\/)(www\.)?/, "$1");
67
+ return normalizeOrigin(url.origin) === normalizeOrigin(currentOrigin);
68
+ } catch {
69
+ return false;
70
+ }
71
+ }
72
+ function toRelativePath(href) {
73
+ if (typeof window === "undefined") {
74
+ return href;
75
+ }
76
+ const trimmed = href.trim();
77
+ if (trimmed.startsWith("/") && !trimmed.startsWith("//")) {
78
+ return trimmed;
79
+ }
80
+ try {
81
+ const url = new URL(trimmed, window.location.href);
82
+ const currentOrigin = window.location.origin;
83
+ const normalizeOrigin = (origin) => origin.replace(/^(https?:\/\/)(www\.)?/, "$1");
84
+ if (normalizeOrigin(url.origin) === normalizeOrigin(currentOrigin)) {
85
+ return url.pathname + url.search + url.hash;
86
+ }
87
+ } catch {
88
+ }
89
+ return trimmed;
90
+ }
91
+ function useNavigation({
92
+ href,
93
+ onClick
94
+ } = {}) {
95
+ const linkType = React.useMemo(() => {
96
+ if (!href || href.trim() === "") {
97
+ return onClick ? "none" : "none";
98
+ }
99
+ const trimmed = href.trim();
100
+ if (trimmed.toLowerCase().startsWith("mailto:") || isEmail(trimmed)) {
101
+ return "mailto";
102
+ }
103
+ if (trimmed.toLowerCase().startsWith("tel:") || isPhoneNumber(trimmed)) {
104
+ return "tel";
105
+ }
106
+ if (isInternalUrl(trimmed)) {
107
+ return "internal";
108
+ }
109
+ try {
110
+ new URL(trimmed, typeof window !== "undefined" ? window.location.href : "http://localhost");
111
+ return "external";
112
+ } catch {
113
+ return "internal";
114
+ }
115
+ }, [href, onClick]);
116
+ const normalizedHref = React.useMemo(() => {
117
+ if (!href || href.trim() === "") {
118
+ return void 0;
119
+ }
120
+ const trimmed = href.trim();
121
+ switch (linkType) {
122
+ case "tel":
123
+ return normalizePhoneNumber(trimmed);
124
+ case "mailto":
125
+ return normalizeEmail(trimmed);
126
+ case "internal":
127
+ return toRelativePath(trimmed);
128
+ case "external":
129
+ return trimmed;
130
+ default:
131
+ return trimmed;
132
+ }
133
+ }, [href, linkType]);
134
+ const target = React.useMemo(() => {
135
+ switch (linkType) {
136
+ case "external":
137
+ return "_blank";
138
+ case "internal":
139
+ return "_self";
140
+ case "mailto":
141
+ case "tel":
142
+ return void 0;
143
+ default:
144
+ return void 0;
145
+ }
146
+ }, [linkType]);
147
+ const rel = React.useMemo(() => {
148
+ if (linkType === "external") {
149
+ return "noopener noreferrer";
150
+ }
151
+ return void 0;
152
+ }, [linkType]);
153
+ const isExternal = linkType === "external";
154
+ const isInternal = linkType === "internal";
155
+ const shouldUseRouter = isInternal && typeof normalizedHref === "string" && normalizedHref.startsWith("/");
156
+ const handleClick = React.useCallback(
157
+ (event) => {
158
+ if (onClick) {
159
+ try {
160
+ onClick(event);
161
+ } catch (error) {
162
+ console.error("Error in user onClick handler:", error);
163
+ }
164
+ }
165
+ if (event.defaultPrevented) {
166
+ return;
167
+ }
168
+ if (shouldUseRouter && normalizedHref && event.button === 0 && // left-click only
169
+ !event.metaKey && !event.altKey && !event.ctrlKey && !event.shiftKey) {
170
+ if (typeof window !== "undefined") {
171
+ const handler = window.__opensiteNavigationHandler;
172
+ if (typeof handler === "function") {
173
+ try {
174
+ const handled = handler(normalizedHref, event.nativeEvent || event);
175
+ if (handled !== false) {
176
+ event.preventDefault();
177
+ }
178
+ } catch (error) {
179
+ console.error("Error in navigation handler:", error);
180
+ }
181
+ }
182
+ }
183
+ }
184
+ },
185
+ [onClick, shouldUseRouter, normalizedHref]
186
+ );
187
+ return {
188
+ linkType,
189
+ normalizedHref,
190
+ target,
191
+ rel,
192
+ isExternal,
193
+ isInternal,
194
+ shouldUseRouter,
195
+ handleClick
196
+ };
197
+ }
198
+ var baseStyles = [
199
+ // Layout
200
+ "inline-flex items-center justify-center gap-2 whitespace-nowrap shrink-0",
201
+ // Typography - using CSS variables with sensible defaults
202
+ "font-[var(--button-font-family,inherit)]",
203
+ "font-[var(--button-font-weight,500)]",
204
+ "tracking-[var(--button-letter-spacing,0)]",
205
+ "leading-[var(--button-line-height,1.25)]",
206
+ "[text-transform:var(--button-text-transform,none)]",
207
+ "text-sm",
208
+ // Border radius
209
+ "rounded-[var(--button-radius,var(--radius,0.375rem))]",
210
+ // Smooth transition - using [transition:...] to set full shorthand property (not just transition-property)
211
+ "[transition:var(--button-transition,all_250ms_cubic-bezier(0.4,0,0.2,1))]",
212
+ // Box shadow (master level) - using [box-shadow:...] for complex multi-value shadows
213
+ "[box-shadow:var(--button-shadow,none)]",
214
+ "hover:[box-shadow:var(--button-shadow-hover,var(--button-shadow,none))]",
215
+ // Disabled state
216
+ "disabled:pointer-events-none disabled:opacity-50",
217
+ // SVG handling
218
+ "[&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:shrink-0",
219
+ // Focus styles
220
+ "outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
221
+ // Invalid state
222
+ "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive"
223
+ ].join(" ");
224
+ var buttonVariants = cva(baseStyles, {
225
+ variants: {
226
+ variant: {
227
+ // Default (Primary) variant - full customization
228
+ default: [
229
+ "bg-[var(--button-default-bg,hsl(var(--primary)))]",
230
+ "text-[var(--button-default-fg,hsl(var(--primary-foreground)))]",
231
+ "border-[length:var(--button-default-border-width,0px)]",
232
+ "border-[color:var(--button-default-border,transparent)]",
233
+ "[box-shadow:var(--button-default-shadow,var(--button-shadow,none))]",
234
+ "hover:bg-[var(--button-default-hover-bg,hsl(var(--primary)/0.9))]",
235
+ "hover:text-[var(--button-default-hover-fg,var(--button-default-fg,hsl(var(--primary-foreground))))]",
236
+ "hover:border-[color:var(--button-default-hover-border,var(--button-default-border,transparent))]",
237
+ "hover:[box-shadow:var(--button-default-shadow-hover,var(--button-shadow-hover,var(--button-default-shadow,var(--button-shadow,none))))]"
238
+ ].join(" "),
239
+ // Destructive variant - full customization
240
+ destructive: [
241
+ "bg-[var(--button-destructive-bg,hsl(var(--destructive)))]",
242
+ "text-[var(--button-destructive-fg,white)]",
243
+ "border-[length:var(--button-destructive-border-width,0px)]",
244
+ "border-[color:var(--button-destructive-border,transparent)]",
245
+ "[box-shadow:var(--button-destructive-shadow,var(--button-shadow,none))]",
246
+ "hover:bg-[var(--button-destructive-hover-bg,hsl(var(--destructive)/0.9))]",
247
+ "hover:text-[var(--button-destructive-hover-fg,var(--button-destructive-fg,white))]",
248
+ "hover:border-[color:var(--button-destructive-hover-border,var(--button-destructive-border,transparent))]",
249
+ "hover:[box-shadow:var(--button-destructive-shadow-hover,var(--button-shadow-hover,var(--button-destructive-shadow,var(--button-shadow,none))))]",
250
+ "focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40",
251
+ "dark:bg-destructive/60"
252
+ ].join(" "),
253
+ // Outline variant - full customization with proper border handling
254
+ outline: [
255
+ "bg-[var(--button-outline-bg,hsl(var(--background)))]",
256
+ "text-[var(--button-outline-fg,inherit)]",
257
+ "border-[length:var(--button-outline-border-width,1px)]",
258
+ "border-[color:var(--button-outline-border,hsl(var(--border)))]",
259
+ "[box-shadow:var(--button-outline-shadow,var(--button-shadow,0_1px_2px_0_rgb(0_0_0/0.05)))]",
260
+ "hover:bg-[var(--button-outline-hover-bg,hsl(var(--accent)))]",
261
+ "hover:text-[var(--button-outline-hover-fg,hsl(var(--accent-foreground)))]",
262
+ "hover:border-[color:var(--button-outline-hover-border,var(--button-outline-border,hsl(var(--border))))]",
263
+ "hover:[box-shadow:var(--button-outline-shadow-hover,var(--button-shadow-hover,var(--button-outline-shadow,var(--button-shadow,none))))]",
264
+ "dark:bg-input/30 dark:border-input dark:hover:bg-input/50"
265
+ ].join(" "),
266
+ // Secondary variant - full customization
267
+ secondary: [
268
+ "bg-[var(--button-secondary-bg,hsl(var(--secondary)))]",
269
+ "text-[var(--button-secondary-fg,hsl(var(--secondary-foreground)))]",
270
+ "border-[length:var(--button-secondary-border-width,0px)]",
271
+ "border-[color:var(--button-secondary-border,transparent)]",
272
+ "[box-shadow:var(--button-secondary-shadow,var(--button-shadow,none))]",
273
+ "hover:bg-[var(--button-secondary-hover-bg,hsl(var(--secondary)/0.8))]",
274
+ "hover:text-[var(--button-secondary-hover-fg,var(--button-secondary-fg,hsl(var(--secondary-foreground))))]",
275
+ "hover:border-[color:var(--button-secondary-hover-border,var(--button-secondary-border,transparent))]",
276
+ "hover:[box-shadow:var(--button-secondary-shadow-hover,var(--button-shadow-hover,var(--button-secondary-shadow,var(--button-shadow,none))))]"
277
+ ].join(" "),
278
+ // Ghost variant - full customization
279
+ ghost: [
280
+ "bg-[var(--button-ghost-bg,transparent)]",
281
+ "text-[var(--button-ghost-fg,inherit)]",
282
+ "border-[length:var(--button-ghost-border-width,0px)]",
283
+ "border-[color:var(--button-ghost-border,transparent)]",
284
+ "[box-shadow:var(--button-ghost-shadow,var(--button-shadow,none))]",
285
+ "hover:bg-[var(--button-ghost-hover-bg,hsl(var(--accent)))]",
286
+ "hover:text-[var(--button-ghost-hover-fg,hsl(var(--accent-foreground)))]",
287
+ "hover:border-[color:var(--button-ghost-hover-border,var(--button-ghost-border,transparent))]",
288
+ "hover:[box-shadow:var(--button-ghost-shadow-hover,var(--button-shadow-hover,var(--button-ghost-shadow,var(--button-shadow,none))))]",
289
+ "dark:hover:bg-accent/50"
290
+ ].join(" "),
291
+ // Link variant - full customization
292
+ link: [
293
+ "bg-[var(--button-link-bg,transparent)]",
294
+ "text-[var(--button-link-fg,hsl(var(--primary)))]",
295
+ "border-[length:var(--button-link-border-width,0px)]",
296
+ "border-[color:var(--button-link-border,transparent)]",
297
+ "[box-shadow:var(--button-link-shadow,none)]",
298
+ "hover:bg-[var(--button-link-hover-bg,transparent)]",
299
+ "hover:text-[var(--button-link-hover-fg,var(--button-link-fg,hsl(var(--primary))))]",
300
+ "hover:[box-shadow:var(--button-link-shadow-hover,none)]",
301
+ "underline-offset-4 hover:underline"
302
+ ].join(" ")
303
+ },
304
+ size: {
305
+ default: [
306
+ "h-[var(--button-height-md,2.25rem)]",
307
+ "px-[var(--button-padding-x-md,1rem)]",
308
+ "py-[var(--button-padding-y-md,0.5rem)]",
309
+ "has-[>svg]:px-[calc(var(--button-padding-x-md,1rem)*0.75)]"
310
+ ].join(" "),
311
+ sm: [
312
+ "h-[var(--button-height-sm,2rem)]",
313
+ "px-[var(--button-padding-x-sm,0.75rem)]",
314
+ "py-[var(--button-padding-y-sm,0.25rem)]",
315
+ "gap-1.5",
316
+ "has-[>svg]:px-[calc(var(--button-padding-x-sm,0.75rem)*0.83)]"
317
+ ].join(" "),
318
+ md: [
319
+ "h-[var(--button-height-md,2.25rem)]",
320
+ "px-[var(--button-padding-x-md,1rem)]",
321
+ "py-[var(--button-padding-y-md,0.5rem)]",
322
+ "has-[>svg]:px-[calc(var(--button-padding-x-md,1rem)*0.75)]"
323
+ ].join(" "),
324
+ lg: [
325
+ "h-[var(--button-height-lg,2.5rem)]",
326
+ "px-[var(--button-padding-x-lg,1.5rem)]",
327
+ "py-[var(--button-padding-y-lg,0.5rem)]",
328
+ "has-[>svg]:px-[calc(var(--button-padding-x-lg,1.5rem)*0.67)]"
329
+ ].join(" "),
330
+ icon: "size-[var(--button-height-md,2.25rem)]",
331
+ "icon-sm": "size-[var(--button-height-sm,2rem)]",
332
+ "icon-lg": "size-[var(--button-height-lg,2.5rem)]"
333
+ }
334
+ },
335
+ defaultVariants: {
336
+ variant: "default",
337
+ size: "default"
338
+ }
339
+ });
340
+ var Pressable = React.forwardRef(
341
+ ({
342
+ children,
343
+ className,
344
+ href,
345
+ onClick,
346
+ variant,
347
+ size,
348
+ asButton = false,
349
+ fallbackComponentType = "span",
350
+ componentType,
351
+ "aria-label": ariaLabel,
352
+ "aria-describedby": ariaDescribedby,
353
+ id,
354
+ ...props
355
+ }, ref) => {
356
+ const navigation = useNavigation({ href, onClick });
357
+ const {
358
+ normalizedHref,
359
+ target,
360
+ rel,
361
+ linkType,
362
+ isInternal,
363
+ handleClick
364
+ } = navigation;
365
+ const shouldRenderLink = normalizedHref && linkType !== "none";
366
+ const shouldRenderButton = !shouldRenderLink && onClick;
367
+ const effectiveComponentType = componentType || (shouldRenderLink ? "a" : shouldRenderButton ? "button" : fallbackComponentType);
368
+ const finalComponentType = isInternal && shouldRenderLink ? "a" : effectiveComponentType;
369
+ const shouldApplyButtonStyles = asButton || variant || size;
370
+ const combinedClassName = cn(
371
+ shouldApplyButtonStyles && buttonVariants({ variant, size }),
372
+ className
373
+ );
374
+ const dataProps = Object.fromEntries(
375
+ Object.entries(props).filter(([key]) => key.startsWith("data-"))
376
+ );
377
+ const buttonDataAttributes = shouldApplyButtonStyles ? {
378
+ "data-slot": "button",
379
+ "data-variant": variant ?? "default",
380
+ "data-size": size ?? "default"
381
+ } : {};
382
+ const commonProps = {
383
+ className: combinedClassName,
384
+ onClick: handleClick,
385
+ "aria-label": ariaLabel,
386
+ "aria-describedby": ariaDescribedby,
387
+ id,
388
+ ...dataProps,
389
+ ...buttonDataAttributes
390
+ };
391
+ if (finalComponentType === "a" && shouldRenderLink) {
392
+ return /* @__PURE__ */ jsx(
393
+ "a",
394
+ {
395
+ ref,
396
+ href: normalizedHref,
397
+ target,
398
+ rel,
399
+ ...commonProps,
400
+ ...props,
401
+ children
402
+ }
403
+ );
404
+ }
405
+ if (finalComponentType === "button") {
406
+ return /* @__PURE__ */ jsx(
407
+ "button",
408
+ {
409
+ ref,
410
+ type: props.type || "button",
411
+ ...commonProps,
412
+ ...props,
413
+ children
414
+ }
415
+ );
416
+ }
417
+ if (finalComponentType === "div") {
418
+ return /* @__PURE__ */ jsx(
419
+ "div",
420
+ {
421
+ ref,
422
+ ...commonProps,
423
+ children
424
+ }
425
+ );
426
+ }
427
+ return /* @__PURE__ */ jsx(
428
+ "span",
429
+ {
430
+ ref,
431
+ ...commonProps,
432
+ children
433
+ }
434
+ );
435
+ }
436
+ );
437
+ Pressable.displayName = "Pressable";
438
+ var svgCache = /* @__PURE__ */ new Map();
439
+ function DynamicIcon({
440
+ name,
441
+ size = 28,
442
+ color,
443
+ className,
444
+ alt
445
+ }) {
446
+ const [svgContent, setSvgContent] = React.useState(null);
447
+ const [isLoading, setIsLoading] = React.useState(true);
448
+ const [error, setError] = React.useState(null);
449
+ const { url, iconName } = React.useMemo(() => {
450
+ const separator = name.includes("/") ? "/" : ":";
451
+ const [prefix, iconName2] = name.split(separator);
452
+ const baseUrl = `https://icons.opensite.ai/api/icon/${prefix}/${iconName2}?format=svg&width=${size}&height=${size}`;
453
+ return {
454
+ url: baseUrl,
455
+ iconName: iconName2
456
+ };
457
+ }, [name, size]);
458
+ React.useEffect(() => {
459
+ let isMounted = true;
460
+ const fetchSvg = async () => {
461
+ const cached = svgCache.get(url);
462
+ if (cached) {
463
+ if (isMounted) {
464
+ setSvgContent(cached);
465
+ setIsLoading(false);
466
+ }
467
+ return;
468
+ }
469
+ try {
470
+ setIsLoading(true);
471
+ setError(null);
472
+ const response = await fetch(url);
473
+ if (!response.ok) {
474
+ throw new Error(`Failed to fetch icon: ${response.status}`);
475
+ }
476
+ let svg = await response.text();
477
+ svg = processSvgForCurrentColor(svg);
478
+ svgCache.set(url, svg);
479
+ if (isMounted) {
480
+ setSvgContent(svg);
481
+ setIsLoading(false);
482
+ }
483
+ } catch (err) {
484
+ if (isMounted) {
485
+ setError(err instanceof Error ? err.message : "Failed to load icon");
486
+ setIsLoading(false);
487
+ }
488
+ }
489
+ };
490
+ fetchSvg();
491
+ return () => {
492
+ isMounted = false;
493
+ };
494
+ }, [url]);
495
+ if (isLoading) {
496
+ return /* @__PURE__ */ jsx(
497
+ "span",
498
+ {
499
+ className: cn("inline-block", className),
500
+ style: { width: size, height: size },
501
+ "aria-hidden": "true"
502
+ }
503
+ );
504
+ }
505
+ if (error || !svgContent) {
506
+ return /* @__PURE__ */ jsx(
507
+ "span",
508
+ {
509
+ className: cn("inline-block", className),
510
+ style: { width: size, height: size },
511
+ role: "img",
512
+ "aria-label": alt || iconName
513
+ }
514
+ );
515
+ }
516
+ return /* @__PURE__ */ jsx(
517
+ "span",
518
+ {
519
+ className: cn("inline-flex items-center justify-center", className),
520
+ style: {
521
+ width: size,
522
+ height: size,
523
+ color: color || "inherit"
524
+ },
525
+ role: "img",
526
+ "aria-label": alt || iconName,
527
+ dangerouslySetInnerHTML: { __html: svgContent }
528
+ }
529
+ );
530
+ }
531
+ function processSvgForCurrentColor(svg) {
532
+ let processed = svg;
533
+ processed = processed.replace(
534
+ /stroke=["'](#000000|#000|black)["']/gi,
535
+ 'stroke="currentColor"'
536
+ );
537
+ processed = processed.replace(
538
+ /fill=["'](#000000|#000|black)["']/gi,
539
+ 'fill="currentColor"'
540
+ );
541
+ return processed;
542
+ }
543
+ function Accordion({
544
+ ...props
545
+ }) {
546
+ return /* @__PURE__ */ jsx(AccordionPrimitive.Root, { "data-slot": "accordion", ...props });
547
+ }
548
+ function AccordionItem({
549
+ className,
550
+ ...props
551
+ }) {
552
+ return /* @__PURE__ */ jsx(
553
+ AccordionPrimitive.Item,
554
+ {
555
+ "data-slot": "accordion-item",
556
+ className: cn("border-b ", className),
557
+ ...props
558
+ }
559
+ );
560
+ }
561
+ function AccordionTrigger({
562
+ className,
563
+ children,
564
+ ...props
565
+ }) {
566
+ return /* @__PURE__ */ jsx(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs(
567
+ AccordionPrimitive.Trigger,
568
+ {
569
+ "data-slot": "accordion-trigger",
570
+ className: cn(
571
+ "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-center justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
572
+ className
573
+ ),
574
+ ...props,
575
+ children: [
576
+ children,
577
+ /* @__PURE__ */ jsx(
578
+ DynamicIcon,
579
+ {
580
+ name: "lucide/chevron-down",
581
+ className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"
582
+ }
583
+ )
584
+ ]
585
+ }
586
+ ) });
587
+ }
588
+ function AccordionContent({
589
+ className,
590
+ children,
591
+ ...props
592
+ }) {
593
+ return /* @__PURE__ */ jsx(
594
+ AccordionPrimitive.Content,
595
+ {
596
+ "data-slot": "accordion-content",
597
+ className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
598
+ ...props,
599
+ children: /* @__PURE__ */ jsx("div", { className: cn("pt-0 pb-4", className), children })
600
+ }
601
+ );
602
+ }
603
+ var PageSpeedFormSubmissionError = class extends Error {
604
+ constructor(message, options = {}) {
605
+ super(message);
606
+ this.name = "PageSpeedFormSubmissionError";
607
+ this.formErrors = options.formErrors;
608
+ this.status = options.status;
609
+ }
610
+ };
611
+ var EMAIL_REGEX = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
612
+ function isValidEmail(value) {
613
+ return EMAIL_REGEX.test(value);
614
+ }
615
+ function buildUrlWithParams(endpoint, values) {
616
+ const base = typeof window === "undefined" ? "http://localhost" : window.location.origin;
617
+ const url = new URL(endpoint, base);
618
+ Object.entries(values).forEach(([key, value]) => {
619
+ if (value === void 0 || value === null) {
620
+ return;
621
+ }
622
+ if (Array.isArray(value)) {
623
+ value.forEach((item) => {
624
+ if (item !== void 0 && item !== null) {
625
+ url.searchParams.append(key, String(item));
626
+ }
627
+ });
628
+ return;
629
+ }
630
+ url.searchParams.set(key, String(value));
631
+ });
632
+ return url.toString();
633
+ }
634
+ function normalizeMethod(method) {
635
+ return (method || "post").toUpperCase();
636
+ }
637
+ function resolveFormat(config) {
638
+ if (config?.format) {
639
+ return config.format;
640
+ }
641
+ return config?.apiKey ? "rails" : "json";
642
+ }
643
+ function mergeValues(values, config) {
644
+ return {
645
+ ...config?.values ?? {},
646
+ ...values
647
+ };
648
+ }
649
+ async function submitPageSpeedForm(values, config) {
650
+ if (!config?.endpoint) {
651
+ return null;
652
+ }
653
+ const payload = mergeValues(values, config);
654
+ const method = normalizeMethod(config.method);
655
+ const format = resolveFormat(config);
656
+ const headers = { ...config.headers ?? {} };
657
+ if (format === "rails") {
658
+ if (!config.apiKey) {
659
+ throw new PageSpeedFormSubmissionError(
660
+ "Missing apiKey for Rails form submission."
661
+ );
662
+ }
663
+ const railsConfig = {
664
+ apiKey: config.apiKey,
665
+ contactCategoryToken: config.contactCategoryToken,
666
+ locationId: config.locationId,
667
+ websiteId: config.websiteId,
668
+ websiteFormAssignmentId: config.websiteFormAssignmentId,
669
+ visitorIpAddress: config.visitorIpAddress
670
+ };
671
+ const serialized = serializeForRails(payload, railsConfig);
672
+ if (serialized.contact.contact_form_upload_tokens) {
673
+ serialized.contact.contact_form_upload_tokens = serialized.contact.contact_form_upload_tokens.map((token) => token.replace(/^upload_/, ""));
674
+ }
675
+ headers["Content-Type"] ?? (headers["Content-Type"] = "application/json");
676
+ const response2 = await fetch(config.endpoint, {
677
+ method,
678
+ headers,
679
+ body: JSON.stringify(serialized)
680
+ });
681
+ const data2 = await response2.json().catch(() => null);
682
+ if (!response2.ok || data2 && data2.errors) {
683
+ const errorResponse = {
684
+ errors: data2?.errors ?? { base: ["Form submission failed"] },
685
+ status: data2?.status ?? response2.status
686
+ };
687
+ const formErrors = deserializeErrors(errorResponse);
688
+ throw new PageSpeedFormSubmissionError("Form submission failed.", {
689
+ formErrors,
690
+ status: errorResponse.status
691
+ });
692
+ }
693
+ return data2;
694
+ }
695
+ if (method === "GET") {
696
+ const url = buildUrlWithParams(config.endpoint, payload);
697
+ const response2 = await fetch(url, { method, headers });
698
+ const data2 = await response2.json().catch(() => null);
699
+ if (!response2.ok) {
700
+ throw new PageSpeedFormSubmissionError(
701
+ data2?.message || "Form submission failed.",
702
+ { status: response2.status }
703
+ );
704
+ }
705
+ return data2;
706
+ }
707
+ headers["Content-Type"] ?? (headers["Content-Type"] = "application/json");
708
+ const response = await fetch(config.endpoint, {
709
+ method,
710
+ headers,
711
+ body: JSON.stringify(payload)
712
+ });
713
+ const data = await response.json().catch(() => null);
714
+ if (!response.ok) {
715
+ throw new PageSpeedFormSubmissionError(
716
+ data?.message || "Form submission failed.",
717
+ { status: response.status }
718
+ );
719
+ }
720
+ return data;
721
+ }
722
+ function Separator({
723
+ className,
724
+ orientation = "horizontal",
725
+ decorative = true,
726
+ ...props
727
+ }) {
728
+ return /* @__PURE__ */ jsx(
729
+ SeparatorPrimitive.Root,
730
+ {
731
+ "data-slot": "separator",
732
+ decorative,
733
+ orientation,
734
+ className: cn(
735
+ "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
736
+ className
737
+ ),
738
+ ...props
739
+ }
740
+ );
741
+ }
742
+ var maxWidthStyles = {
743
+ sm: "max-w-screen-sm",
744
+ md: "max-w-screen-md",
745
+ lg: "max-w-screen-lg",
746
+ xl: "max-w-7xl",
747
+ "2xl": "max-w-screen-2xl",
748
+ "4xl": "max-w-[1536px]",
749
+ full: "max-w-full"
750
+ };
751
+ var Container = React__default.forwardRef(
752
+ ({ children, maxWidth = "xl", className, as = "div", ...props }, ref) => {
753
+ const Component = as;
754
+ return /* @__PURE__ */ jsx(
755
+ Component,
756
+ {
757
+ ref,
758
+ className: cn(
759
+ "mx-auto w-full px-2 sm:px-4 lg:px-8",
760
+ maxWidthStyles[maxWidth],
761
+ className
762
+ ),
763
+ ...props,
764
+ children
765
+ }
766
+ );
767
+ }
768
+ );
769
+ Container.displayName = "Container";
770
+
771
+ // lib/patternSvgs.ts
772
+ var patternSvgs = {
773
+ squareAltGrid: "https://cdn.ing/assets/files/record/286187/4gpn0yq2ptra8iwlvmwwv860ggwv",
774
+ grid1: "https://cdn.ing/assets/files/record/286186/nbdflpgp4ostrno079hygibsflp3",
775
+ noise: "https://cdn.ing/assets/i/r/286188/zrqcp9hynh3j7p2laihwzfbujgrl/noise.png",
776
+ dots: "https://cdn.ing/assets/files/record/286198/yfsjx9thvtxzhl2qtshxyhkrm524",
777
+ dotPattern: "https://cdn.ing/assets/files/record/286192/7ig0cku8aqbboiza8nuk6hw0nnsr",
778
+ dotPattern2: "https://cdn.ing/assets/files/record/286189/arez6gd2s7isn9i1o6c7sexdq7bl",
779
+ circles: "https://cdn.ing/assets/files/record/286190/gtmia3sncjtzetdshc20zf1d3c17",
780
+ waves: "https://cdn.ing/assets/files/record/286191/mqlb33fzxz9cdth1bx7if0wmpkp1",
781
+ crossPattern: "https://cdn.ing/assets/files/record/286193/9yfqwdbnqaipbp7fsb3wbzzmq472",
782
+ architect: "https://cdn.ing/assets/files/record/286194/vgs88ugpvyhxu13wqgy0acvae6re",
783
+ tinyCheckers: "https://cdn.ing/assets/files/record/286195/65efaknsw8kcpf9o3c2gybytsl5b",
784
+ p6: "https://cdn.ing/assets/i/r/286196/6kl0rqnd6mjk8j7e525fo8fo0vkc/p6.webp"
785
+ };
786
+ var maskTop = "radial-gradient(ellipse 70% 60% at 50% 0%, #000 60%, transparent 100%)";
787
+ var maskBottom = "radial-gradient(ellipse 100% 80% at 50% 100%, #000 50%, transparent 90%)";
788
+ var maskCenter = "radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%)";
789
+ var maskTopLeft = "radial-gradient(ellipse 80% 80% at 0% 0%, #000 50%, transparent 90%)";
790
+ var maskTopRight = "radial-gradient(ellipse 80% 80% at 100% 0%, #000 50%, transparent 90%)";
791
+ var maskBottomLeft = "radial-gradient(ellipse 80% 80% at 0% 100%, #000 50%, transparent 90%)";
792
+ var maskBottomRight = "radial-gradient(ellipse 80% 80% at 100% 100%, #000 50%, transparent 90%)";
793
+ var circuitBoardPattern = (id, mask) => /* @__PURE__ */ jsxs(
794
+ "svg",
795
+ {
796
+ className: "h-full w-full",
797
+ xmlns: "http://www.w3.org/2000/svg",
798
+ style: mask ? {
799
+ maskImage: mask,
800
+ WebkitMaskImage: mask
801
+ } : void 0,
802
+ children: [
803
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs(
804
+ "pattern",
805
+ {
806
+ id,
807
+ x: "0",
808
+ y: "0",
809
+ width: "100",
810
+ height: "100",
811
+ patternUnits: "userSpaceOnUse",
812
+ children: [
813
+ /* @__PURE__ */ jsx(
814
+ "path",
815
+ {
816
+ d: "M0 50h40M60 50h40M50 0v40M50 60v40",
817
+ stroke: "hsl(var(--muted))",
818
+ strokeWidth: "1",
819
+ fill: "none"
820
+ }
821
+ ),
822
+ /* @__PURE__ */ jsx("circle", { cx: "50", cy: "50", r: "3", fill: "hsl(var(--muted))" }),
823
+ /* @__PURE__ */ jsx("circle", { cx: "0", cy: "50", r: "2", fill: "hsl(var(--muted))" }),
824
+ /* @__PURE__ */ jsx("circle", { cx: "100", cy: "50", r: "2", fill: "hsl(var(--muted))" }),
825
+ /* @__PURE__ */ jsx("circle", { cx: "50", cy: "0", r: "2", fill: "hsl(var(--muted))" }),
826
+ /* @__PURE__ */ jsx("circle", { cx: "50", cy: "100", r: "2", fill: "hsl(var(--muted))" })
827
+ ]
828
+ }
829
+ ) }),
830
+ /* @__PURE__ */ jsx("rect", { width: "100%", height: "100%", fill: `url(#${id})` })
831
+ ]
832
+ }
833
+ );
834
+ var gridDotsPattern = (id, mask) => /* @__PURE__ */ jsxs(
835
+ "svg",
836
+ {
837
+ className: "h-full w-full",
838
+ xmlns: "http://www.w3.org/2000/svg",
839
+ style: mask ? {
840
+ maskImage: mask,
841
+ WebkitMaskImage: mask
842
+ } : void 0,
843
+ children: [
844
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs(
845
+ "pattern",
846
+ {
847
+ id,
848
+ x: "0",
849
+ y: "0",
850
+ width: "40",
851
+ height: "40",
852
+ patternUnits: "userSpaceOnUse",
853
+ children: [
854
+ /* @__PURE__ */ jsx(
855
+ "path",
856
+ {
857
+ d: "M0 20h40M20 0v40",
858
+ stroke: "hsl(var(--muted))",
859
+ strokeWidth: "0.5",
860
+ fill: "none"
861
+ }
862
+ ),
863
+ /* @__PURE__ */ jsx("circle", { cx: "20", cy: "20", r: "2", fill: "hsl(var(--muted))" })
864
+ ]
865
+ }
866
+ ) }),
867
+ /* @__PURE__ */ jsx("rect", { width: "100%", height: "100%", fill: `url(#${id})` })
868
+ ]
869
+ }
870
+ );
871
+ var gridPattern = (size, mask) => /* @__PURE__ */ jsx(
872
+ "div",
873
+ {
874
+ className: "h-full w-full bg-[linear-gradient(to_right,_hsl(var(--muted))_1px,_transparent_1px),linear-gradient(to_bottom,_hsl(var(--muted))_1px,_transparent_1px)]",
875
+ style: {
876
+ backgroundSize: `${size}px ${size}px`,
877
+ ...mask ? {
878
+ maskImage: mask,
879
+ WebkitMaskImage: mask
880
+ } : {}
881
+ }
882
+ }
883
+ );
884
+ var diagonalCrossPattern = (mask) => /* @__PURE__ */ jsx(
885
+ "div",
886
+ {
887
+ className: "h-full w-full",
888
+ style: {
889
+ backgroundImage: "repeating-linear-gradient(45deg, transparent, transparent 32px, hsl(var(--muted)) 32px, hsl(var(--muted)) 33px), repeating-linear-gradient(135deg, transparent, transparent 32px, hsl(var(--muted)) 32px, hsl(var(--muted)) 33px)",
890
+ ...mask ? {
891
+ maskImage: mask,
892
+ WebkitMaskImage: mask
893
+ } : {}
894
+ }
895
+ }
896
+ );
897
+ var dashedGridMaskBase = "repeating-linear-gradient(to right, black 0px, black 3px, transparent 3px, transparent 8px), repeating-linear-gradient(to bottom, black 0px, black 3px, transparent 3px, transparent 8px)";
898
+ var dashedGridPattern = (fadeMask) => {
899
+ const mask = fadeMask ? `${dashedGridMaskBase}, ${fadeMask}` : dashedGridMaskBase;
900
+ return /* @__PURE__ */ jsx(
901
+ "div",
902
+ {
903
+ className: "h-full w-full",
904
+ style: {
905
+ backgroundImage: "linear-gradient(to right, hsl(var(--muted)) 1px, transparent 1px), linear-gradient(to bottom, hsl(var(--muted)) 1px, transparent 1px)",
906
+ backgroundSize: "20px 20px",
907
+ backgroundPosition: "0 0, 0 0",
908
+ maskImage: mask,
909
+ WebkitMaskImage: mask,
910
+ maskComposite: "intersect",
911
+ WebkitMaskComposite: "source-in"
912
+ }
913
+ }
914
+ );
915
+ };
916
+ var gradientGlow = (position) => /* @__PURE__ */ jsx(
917
+ "div",
918
+ {
919
+ className: cn(
920
+ "pointer-events-none absolute left-1/2 z-0 aspect-square w-3/4 -translate-x-1/2 rounded-full opacity-50 blur-3xl",
921
+ position === "top" ? "-top-1/4" : "-bottom-1/4"
922
+ ),
923
+ style: {
924
+ background: "radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%)"
925
+ }
926
+ }
927
+ );
928
+ var spotlight = (position) => /* @__PURE__ */ jsx(
929
+ "div",
930
+ {
931
+ className: cn(
932
+ "pointer-events-none absolute top-1/2 z-0 aspect-square w-3/4 -translate-y-1/2 rounded-full opacity-40 blur-3xl",
933
+ position === "left" ? "-left-1/4" : "-right-1/4"
934
+ ),
935
+ style: {
936
+ background: "radial-gradient(circle, hsl(var(--primary)) 0%, transparent 70%)"
937
+ }
938
+ }
939
+ );
940
+ var patternOverlays = {
941
+ circuitBoardBasic: () => circuitBoardPattern("circuit-board-basic"),
942
+ circuitBoardFadeTop: () => circuitBoardPattern("circuit-board-fade-top", maskTop),
943
+ circuitBoardFadeBottom: () => circuitBoardPattern("circuit-board-fade-bottom", maskBottom),
944
+ circuitBoardFadeCenter: () => circuitBoardPattern("circuit-board-fade-center", maskCenter),
945
+ circuitBoardFadeTopLeft: () => circuitBoardPattern("circuit-board-fade-top-left", maskTopLeft),
946
+ circuitBoardFadeTopRight: () => circuitBoardPattern("circuit-board-fade-top-right", maskTopRight),
947
+ circuitBoardFadeBottomLeft: () => circuitBoardPattern("circuit-board-fade-bottom-left", maskBottomLeft),
948
+ circuitBoardFadeBottomRight: () => circuitBoardPattern("circuit-board-fade-bottom-right", maskBottomRight),
949
+ dashedGridBasic: () => dashedGridPattern(),
950
+ dashedGridFadeTop: () => dashedGridPattern(maskTop),
951
+ dashedGridFadeBottom: () => dashedGridPattern(maskBottom),
952
+ dashedGridFadeCenter: () => dashedGridPattern(maskCenter),
953
+ dashedGridFadeTopLeft: () => dashedGridPattern(maskTopLeft),
954
+ dashedGridFadeTopRight: () => dashedGridPattern(maskTopRight),
955
+ dashedGridFadeBottomLeft: () => dashedGridPattern(maskBottomLeft),
956
+ dashedGridFadeBottomRight: () => dashedGridPattern(maskBottomRight),
957
+ diagonalCrossBasic: () => diagonalCrossPattern(),
958
+ diagonalCrossFadeTop: () => diagonalCrossPattern(maskTop),
959
+ diagonalCrossFadeBottom: () => diagonalCrossPattern(maskBottom),
960
+ diagonalCrossFadeCenter: () => diagonalCrossPattern(maskCenter),
961
+ diagonalCrossFadeTopLeft: () => diagonalCrossPattern(maskTopLeft),
962
+ diagonalCrossFadeTopRight: () => diagonalCrossPattern(maskTopRight),
963
+ diagonalCrossFadeBottomLeft: () => diagonalCrossPattern(maskBottomLeft),
964
+ diagonalCrossFadeBottomRight: () => diagonalCrossPattern(maskBottomRight),
965
+ gridBasic: () => gridPattern(40),
966
+ gridFadeTop: () => gridPattern(32, maskTop),
967
+ gridFadeBottom: () => gridPattern(32, maskBottom),
968
+ gridFadeCenter: () => gridPattern(40, maskCenter),
969
+ gridFadeTopLeft: () => gridPattern(32, maskTopLeft),
970
+ gridFadeTopRight: () => gridPattern(32, maskTopRight),
971
+ gridFadeBottomLeft: () => gridPattern(32, maskBottomLeft),
972
+ gridFadeBottomRight: () => gridPattern(32, maskBottomRight),
973
+ gridDotsBasic: () => gridDotsPattern("grid-dots-basic"),
974
+ gridDotsFadeCenter: () => gridDotsPattern("grid-dots-fade-center", maskCenter),
975
+ gradientGlowTop: () => gradientGlow("top"),
976
+ gradientGlowBottom: () => gradientGlow("bottom"),
977
+ spotlightLeft: () => spotlight("left"),
978
+ spotlightRight: () => spotlight("right")
979
+ };
980
+ var inlinePatternStyles = {
981
+ radialGradientTop: {
982
+ background: "radial-gradient(125% 125% at 50% 10%, hsl(var(--background)) 40%, hsl(var(--primary)) 100%)"
983
+ },
984
+ radialGradientBottom: {
985
+ background: "radial-gradient(125% 125% at 50% 90%, hsl(var(--background)) 40%, hsl(var(--primary)) 100%)"
986
+ }
987
+ };
988
+ function PatternBackground({
989
+ pattern,
990
+ opacity = 0.08,
991
+ className,
992
+ style
993
+ }) {
994
+ if (!pattern) {
995
+ return null;
996
+ }
997
+ if (pattern in inlinePatternStyles) {
998
+ const inlineStyle = inlinePatternStyles[pattern];
999
+ return /* @__PURE__ */ jsx(
1000
+ "div",
1001
+ {
1002
+ className: cn("pointer-events-none absolute inset-0 z-0", className),
1003
+ style: { ...inlineStyle, opacity, ...style },
1004
+ "aria-hidden": "true"
1005
+ }
1006
+ );
1007
+ }
1008
+ if (pattern in patternOverlays) {
1009
+ const Overlay = patternOverlays[pattern];
1010
+ return /* @__PURE__ */ jsx(
1011
+ "div",
1012
+ {
1013
+ className: cn("pointer-events-none absolute inset-0 z-0", className),
1014
+ style: { opacity, ...style },
1015
+ "aria-hidden": "true",
1016
+ children: Overlay()
1017
+ }
1018
+ );
1019
+ }
1020
+ const patternUrl = pattern in patternSvgs ? patternSvgs[pattern] : pattern;
1021
+ return /* @__PURE__ */ jsx(
1022
+ "div",
1023
+ {
1024
+ className: cn("pointer-events-none absolute inset-0 z-0", className),
1025
+ style: {
1026
+ backgroundImage: `url(${patternUrl})`,
1027
+ backgroundRepeat: "repeat",
1028
+ backgroundSize: "auto",
1029
+ opacity,
1030
+ ...style
1031
+ },
1032
+ "aria-hidden": "true"
1033
+ }
1034
+ );
1035
+ }
1036
+ var backgroundStyles = {
1037
+ default: "bg-background text-foreground",
1038
+ white: "bg-white text-dark",
1039
+ gray: "bg-muted/30 text-foreground",
1040
+ dark: "bg-foreground text-background",
1041
+ transparent: "bg-transparent text-foreground",
1042
+ gradient: "bg-linear-to-br from-primary via-primary/90 to-foreground text-primary-foreground",
1043
+ primary: "bg-primary text-primary-foreground",
1044
+ secondary: "bg-secondary text-secondary-foreground",
1045
+ muted: "bg-muted text-muted-foreground"
1046
+ };
1047
+ var spacingStyles = {
1048
+ none: "py-0 md:py-0",
1049
+ sm: "py-12 md:py-16",
1050
+ md: "py-16 md:py-24",
1051
+ lg: "py-20 md:py-32",
1052
+ xl: "py-24 md:py-40"
1053
+ };
1054
+ var predefinedSpacings = ["none", "sm", "md", "lg", "xl"];
1055
+ var isPredefinedSpacing = (spacing) => predefinedSpacings.includes(spacing);
1056
+ var Section = React__default.forwardRef(
1057
+ ({
1058
+ id,
1059
+ title,
1060
+ subtitle,
1061
+ children,
1062
+ className,
1063
+ style,
1064
+ background = "default",
1065
+ spacing = "lg",
1066
+ pattern,
1067
+ patternOpacity,
1068
+ patternClassName,
1069
+ containerClassName,
1070
+ containerMaxWidth = "xl",
1071
+ ...props
1072
+ }, ref) => {
1073
+ const effectivePatternOpacity = patternOpacity !== void 0 ? patternOpacity : pattern ? 1 : 0;
1074
+ return /* @__PURE__ */ jsxs(
1075
+ "section",
1076
+ {
1077
+ ref,
1078
+ id,
1079
+ className: cn(
1080
+ "relative",
1081
+ pattern ? "overflow-hidden" : null,
1082
+ backgroundStyles[background],
1083
+ isPredefinedSpacing(spacing) ? spacingStyles[spacing] : spacing,
1084
+ className
1085
+ ),
1086
+ style,
1087
+ ...props,
1088
+ children: [
1089
+ /* @__PURE__ */ jsx(
1090
+ PatternBackground,
1091
+ {
1092
+ pattern,
1093
+ opacity: effectivePatternOpacity,
1094
+ className: patternClassName
1095
+ }
1096
+ ),
1097
+ /* @__PURE__ */ jsxs(
1098
+ Container,
1099
+ {
1100
+ maxWidth: containerMaxWidth,
1101
+ className: cn("relative z-10", containerClassName),
1102
+ children: [
1103
+ (title || subtitle) && /* @__PURE__ */ jsxs("div", { className: "mb-6 text-center md:mb-16", children: [
1104
+ subtitle && /* @__PURE__ */ jsx("p", { className: "mb-2 text-sm font-semibold uppercase tracking-wider", children: subtitle }),
1105
+ title && /* @__PURE__ */ jsx("h2", { className: "text-3xl font-bold tracking-tight md:text-4xl lg:text-5xl", children: title })
1106
+ ] }),
1107
+ children
1108
+ ]
1109
+ }
1110
+ )
1111
+ ]
1112
+ }
1113
+ );
1114
+ }
1115
+ );
1116
+ Section.displayName = "Section";
1117
+ function FooterSplitImageAccordion({
1118
+ newsletterTitle,
1119
+ emailPlaceholder,
1120
+ footerLinks,
1121
+ socialLinks,
1122
+ paymentMethods,
1123
+ submenuLinks,
1124
+ footerData,
1125
+ copyright,
1126
+ background,
1127
+ spacing,
1128
+ pattern,
1129
+ patternOpacity,
1130
+ className,
1131
+ gridClassName,
1132
+ imageColumnClassName,
1133
+ imageClassName,
1134
+ contentColumnClassName,
1135
+ newsletterSectionClassName,
1136
+ newsletterTitleClassName,
1137
+ newsletterFormClassName,
1138
+ socialLinksClassName,
1139
+ brandSectionClassName,
1140
+ logoClassName,
1141
+ brandTitleClassName,
1142
+ brandDescriptionClassName,
1143
+ accordionClassName,
1144
+ paymentMethodsClassName,
1145
+ bottomClassName,
1146
+ copyrightClassName,
1147
+ submenuLinksClassName,
1148
+ optixFlowConfig,
1149
+ formConfig,
1150
+ onSubmit,
1151
+ onSuccess,
1152
+ onError
1153
+ }) {
1154
+ const [isDesktop, setIsDesktop] = React.useState(false);
1155
+ const form = useForm({
1156
+ initialValues: {
1157
+ email: ""
1158
+ },
1159
+ validationSchema: {
1160
+ email: (value) => {
1161
+ if (!value) return "Email is required";
1162
+ if (!isValidEmail(value)) return "Please enter a valid email address";
1163
+ return void 0;
1164
+ }
1165
+ },
1166
+ onSubmit: async (values, helpers) => {
1167
+ const shouldAutoSubmit = Boolean(formConfig?.endpoint);
1168
+ if (!shouldAutoSubmit && !onSubmit) {
1169
+ return;
1170
+ }
1171
+ try {
1172
+ let result;
1173
+ if (shouldAutoSubmit) {
1174
+ result = await submitPageSpeedForm(values, formConfig);
1175
+ }
1176
+ if (onSubmit) {
1177
+ await onSubmit(values.email);
1178
+ }
1179
+ if (shouldAutoSubmit || onSubmit) {
1180
+ if (formConfig?.resetOnSuccess !== false) {
1181
+ helpers.resetForm();
1182
+ }
1183
+ onSuccess?.(result);
1184
+ }
1185
+ } catch (error) {
1186
+ if (error instanceof PageSpeedFormSubmissionError && error.formErrors) {
1187
+ helpers.setErrors(error.formErrors);
1188
+ }
1189
+ onError?.(error);
1190
+ throw error;
1191
+ }
1192
+ }
1193
+ });
1194
+ const formMethod = formConfig?.method?.toLowerCase() === "get" ? "get" : "post";
1195
+ React.useEffect(() => {
1196
+ const checkDesktop = () => setIsDesktop(window.innerWidth >= 1024);
1197
+ checkDesktop();
1198
+ window.addEventListener("resize", checkDesktop);
1199
+ return () => window.removeEventListener("resize", checkDesktop);
1200
+ }, []);
1201
+ const allAccordionIds = useMemo(
1202
+ () => footerLinks?.map(({ id }) => id) ?? [],
1203
+ [footerLinks]
1204
+ );
1205
+ return /* @__PURE__ */ jsx(
1206
+ Section,
1207
+ {
1208
+ background,
1209
+ spacing,
1210
+ pattern,
1211
+ patternOpacity,
1212
+ className,
1213
+ children: /* @__PURE__ */ jsxs("div", { className: cn("grid grid-cols-1 lg:grid-cols-2", gridClassName), children: [
1214
+ footerData?.image?.src && /* @__PURE__ */ jsx("div", { className: cn("overflow-hidden max-lg:aspect-square", imageColumnClassName), children: /* @__PURE__ */ jsx(
1215
+ Img,
1216
+ {
1217
+ src: footerData.image.src,
1218
+ alt: footerData.image.alt,
1219
+ className: cn("h-full w-full object-cover", imageClassName),
1220
+ optixFlowConfig
1221
+ }
1222
+ ) }),
1223
+ /* @__PURE__ */ jsxs("div", { className: cn("space-y-10 p-6 lg:p-12", contentColumnClassName), children: [
1224
+ newsletterTitle && /* @__PURE__ */ jsxs("div", { className: cn("space-y-6", newsletterSectionClassName), children: [
1225
+ /* @__PURE__ */ jsx("h3", { className: cn("text-2xl font-semibold lg:text-3xl", newsletterTitleClassName), children: newsletterTitle }),
1226
+ /* @__PURE__ */ jsxs(
1227
+ Form,
1228
+ {
1229
+ form,
1230
+ action: formConfig?.endpoint,
1231
+ method: formMethod,
1232
+ className: cn("flex gap-2", newsletterFormClassName),
1233
+ children: [
1234
+ /* @__PURE__ */ jsx(Field, { name: "email", className: "flex-1", children: ({ field, meta }) => /* @__PURE__ */ jsx(
1235
+ TextInput,
1236
+ {
1237
+ ...field,
1238
+ type: "email",
1239
+ placeholder: emailPlaceholder,
1240
+ error: meta.touched && !!meta.error,
1241
+ className: "flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
1242
+ "aria-label": emailPlaceholder
1243
+ }
1244
+ ) }),
1245
+ /* @__PURE__ */ jsx(
1246
+ Pressable,
1247
+ {
1248
+ componentType: "button",
1249
+ type: "submit",
1250
+ className: "inline-flex h-10 items-center justify-center rounded-md bg-primary px-4 text-sm font-medium text-primary-foreground hover:bg-primary/90",
1251
+ asButton: false,
1252
+ disabled: form.isSubmitting,
1253
+ children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/arrow-right", size: 16 })
1254
+ }
1255
+ )
1256
+ ]
1257
+ }
1258
+ ),
1259
+ socialLinks && socialLinks.length > 0 && /* @__PURE__ */ jsx("ul", { className: cn("flex flex-wrap gap-4", socialLinksClassName), children: socialLinks.map((social, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
1260
+ Pressable,
1261
+ {
1262
+ href: social.link,
1263
+ variant: "outline",
1264
+ size: "icon",
1265
+ asButton: true,
1266
+ className: "rounded-full",
1267
+ "aria-label": social.label,
1268
+ children: /* @__PURE__ */ jsx(DynamicIcon, { name: social.icon, size: 20 })
1269
+ }
1270
+ ) }, idx)) })
1271
+ ] }),
1272
+ /* @__PURE__ */ jsx(Separator, {}),
1273
+ footerData && /* @__PURE__ */ jsxs("div", { className: cn("space-y-6", brandSectionClassName), children: [
1274
+ footerData.logo && /* @__PURE__ */ jsxs(Pressable, { href: footerData.logoUrl, className: cn("inline-block max-w-60", logoClassName), children: [
1275
+ footerData.logo.light && /* @__PURE__ */ jsx(
1276
+ Img,
1277
+ {
1278
+ src: footerData.logo.light,
1279
+ alt: "Logo",
1280
+ className: "w-full dark:hidden",
1281
+ optixFlowConfig
1282
+ }
1283
+ ),
1284
+ footerData.logo.dark && /* @__PURE__ */ jsx(
1285
+ Img,
1286
+ {
1287
+ src: footerData.logo.dark,
1288
+ alt: "Logo",
1289
+ className: "hidden w-full dark:block",
1290
+ optixFlowConfig
1291
+ }
1292
+ )
1293
+ ] }),
1294
+ footerData.title && /* @__PURE__ */ jsx("h4", { className: cn("text-xl font-semibold", brandTitleClassName), children: footerData.title }),
1295
+ footerData.description && /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground", brandDescriptionClassName), children: footerData.description })
1296
+ ] }),
1297
+ footerLinks && footerLinks.length > 0 && /* @__PURE__ */ jsx(Fragment, { children: isDesktop ? /* @__PURE__ */ jsx(
1298
+ Accordion,
1299
+ {
1300
+ value: allAccordionIds,
1301
+ type: "multiple",
1302
+ className: cn("grid gap-4 lg:grid-cols-3", accordionClassName),
1303
+ children: footerLinks.map((section) => /* @__PURE__ */ jsxs(
1304
+ AccordionItem,
1305
+ {
1306
+ value: section.id,
1307
+ className: "border-transparent",
1308
+ children: [
1309
+ /* @__PURE__ */ jsx(AccordionTrigger, { className: "cursor-auto rounded-none pb-4 pt-0 text-base font-bold leading-normal hover:no-underline [&>svg]:hidden", children: section.title }),
1310
+ /* @__PURE__ */ jsx(AccordionContent, { className: "pb-1", children: /* @__PURE__ */ jsx("ul", { className: "space-y-2", children: section.items.map((item, idx) => /* @__PURE__ */ jsx("li", { className: "text-sm font-light leading-tight", children: /* @__PURE__ */ jsx(
1311
+ Pressable,
1312
+ {
1313
+ href: item.link,
1314
+ className: "hover:underline hover:underline-offset-2",
1315
+ children: item.text
1316
+ }
1317
+ ) }, idx)) }) })
1318
+ ]
1319
+ },
1320
+ section.id
1321
+ ))
1322
+ }
1323
+ ) : /* @__PURE__ */ jsx(Accordion, { type: "single", collapsible: true, className: cn("grid gap-4", accordionClassName), children: footerLinks.map((section) => /* @__PURE__ */ jsxs(
1324
+ AccordionItem,
1325
+ {
1326
+ value: section.id,
1327
+ className: "border-b",
1328
+ children: [
1329
+ /* @__PURE__ */ jsxs(AccordionTrigger, { className: "py-4 text-base font-bold leading-normal hover:no-underline [&>svg]:hidden", children: [
1330
+ section.title,
1331
+ /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/plus", size: 20 })
1332
+ ] }),
1333
+ /* @__PURE__ */ jsx(AccordionContent, { className: "py-4", children: /* @__PURE__ */ jsx("ul", { className: "space-y-3", children: section.items.map((item, idx) => /* @__PURE__ */ jsx("li", { className: "text-sm font-light leading-tight", children: /* @__PURE__ */ jsx(
1334
+ Pressable,
1335
+ {
1336
+ href: item.link,
1337
+ className: "hover:underline hover:underline-offset-2",
1338
+ children: item.text
1339
+ }
1340
+ ) }, idx)) }) })
1341
+ ]
1342
+ },
1343
+ section.id
1344
+ )) }) }),
1345
+ paymentMethods && paymentMethods.length > 0 && /* @__PURE__ */ jsx("ul", { className: cn("flex flex-wrap items-center gap-3", paymentMethodsClassName), children: paymentMethods.map((method, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
1346
+ Img,
1347
+ {
1348
+ src: method,
1349
+ alt: "Payment method",
1350
+ className: "h-6",
1351
+ optixFlowConfig
1352
+ }
1353
+ ) }, idx)) }),
1354
+ /* @__PURE__ */ jsx(Separator, {}),
1355
+ /* @__PURE__ */ jsxs("div", { className: cn("flex flex-wrap items-center justify-between gap-4", bottomClassName), children: [
1356
+ copyright && /* @__PURE__ */ jsx("p", { className: cn("text-sm text-muted-foreground", copyrightClassName), children: copyright }),
1357
+ submenuLinks && submenuLinks.length > 0 && /* @__PURE__ */ jsx("ul", { className: cn("flex flex-wrap gap-x-6 gap-y-2", submenuLinksClassName), children: submenuLinks.map((link, idx) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
1358
+ Pressable,
1359
+ {
1360
+ href: link.link,
1361
+ className: "text-sm font-light hover:underline",
1362
+ children: link.text
1363
+ }
1364
+ ) }, idx)) })
1365
+ ] })
1366
+ ] })
1367
+ ] })
1368
+ }
1369
+ );
1370
+ }
1371
+
1372
+ export { FooterSplitImageAccordion };