@ugurdemirel/landcraft 0.1.2 → 0.1.3
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/dist/index.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +861 -857
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/MegaMenu.tsx +10 -1
package/dist/index.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { jsx as e, jsxs as n, Fragment as
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
function
|
|
1
|
+
import { jsx as e, jsxs as n, Fragment as we } from "react/jsx-runtime";
|
|
2
|
+
import { forwardRef as A, isValidElement as _e, Children as Je, cloneElement as Qe, useState as F, useEffect as q, useId as de, useRef as he } from "react";
|
|
3
|
+
function Ve(r) {
|
|
4
4
|
var t, o, l = "";
|
|
5
5
|
if (typeof r == "string" || typeof r == "number") l += r;
|
|
6
6
|
else if (typeof r == "object") if (Array.isArray(r)) {
|
|
7
7
|
var c = r.length;
|
|
8
|
-
for (t = 0; t < c; t++) r[t] && (o =
|
|
8
|
+
for (t = 0; t < c; t++) r[t] && (o = Ve(r[t])) && (l && (l += " "), l += o);
|
|
9
9
|
} else for (o in r) r[o] && (l && (l += " "), l += o);
|
|
10
10
|
return l;
|
|
11
11
|
}
|
|
12
|
-
function
|
|
13
|
-
for (var r, t, o = 0, l = "", c = arguments.length; o < c; o++) (r = arguments[o]) && (t =
|
|
12
|
+
function Xe() {
|
|
13
|
+
for (var r, t, o = 0, l = "", c = arguments.length; o < c; o++) (r = arguments[o]) && (t = Ve(r)) && (l && (l += " "), l += t);
|
|
14
14
|
return l;
|
|
15
15
|
}
|
|
16
|
-
const
|
|
17
|
-
const t =
|
|
16
|
+
const ke = "-", er = (r) => {
|
|
17
|
+
const t = tr(r), {
|
|
18
18
|
conflictingClassGroups: o,
|
|
19
19
|
conflictingClassGroupModifiers: l
|
|
20
20
|
} = r;
|
|
21
21
|
return {
|
|
22
22
|
getClassGroupId: (s) => {
|
|
23
|
-
const d = s.split(
|
|
24
|
-
return d[0] === "" && d.length !== 1 && d.shift(),
|
|
23
|
+
const d = s.split(ke);
|
|
24
|
+
return d[0] === "" && d.length !== 1 && d.shift(), Fe(d, t) || rr(s);
|
|
25
25
|
},
|
|
26
26
|
getConflictingClassGroupIds: (s, d) => {
|
|
27
|
-
const
|
|
28
|
-
return d && l[s] ? [...
|
|
27
|
+
const f = o[s] || [];
|
|
28
|
+
return d && l[s] ? [...f, ...l[s]] : f;
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
|
-
},
|
|
31
|
+
}, Fe = (r, t) => {
|
|
32
32
|
var s;
|
|
33
33
|
if (r.length === 0)
|
|
34
34
|
return t.classGroupId;
|
|
35
|
-
const o = r[0], l = t.nextPart.get(o), c = l ?
|
|
35
|
+
const o = r[0], l = t.nextPart.get(o), c = l ? Fe(r.slice(1), l) : void 0;
|
|
36
36
|
if (c)
|
|
37
37
|
return c;
|
|
38
38
|
if (t.validators.length === 0)
|
|
39
39
|
return;
|
|
40
|
-
const i = r.join(
|
|
40
|
+
const i = r.join(ke);
|
|
41
41
|
return (s = t.validators.find(({
|
|
42
42
|
validator: d
|
|
43
43
|
}) => d(i))) == null ? void 0 : s.classGroupId;
|
|
44
|
-
},
|
|
45
|
-
if (
|
|
46
|
-
const t =
|
|
44
|
+
}, Se = /^\[(.+)\]$/, rr = (r) => {
|
|
45
|
+
if (Se.test(r)) {
|
|
46
|
+
const t = Se.exec(r)[1], o = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
47
47
|
if (o)
|
|
48
48
|
return "arbitrary.." + o;
|
|
49
49
|
}
|
|
50
|
-
},
|
|
50
|
+
}, tr = (r) => {
|
|
51
51
|
const {
|
|
52
52
|
theme: t,
|
|
53
53
|
prefix: o
|
|
@@ -55,19 +55,19 @@ const we = "-", Xe = (r) => {
|
|
|
55
55
|
nextPart: /* @__PURE__ */ new Map(),
|
|
56
56
|
validators: []
|
|
57
57
|
};
|
|
58
|
-
return
|
|
59
|
-
|
|
58
|
+
return nr(Object.entries(r.classGroups), o).forEach(([i, s]) => {
|
|
59
|
+
xe(s, l, i, t);
|
|
60
60
|
}), l;
|
|
61
|
-
},
|
|
61
|
+
}, xe = (r, t, o, l) => {
|
|
62
62
|
r.forEach((c) => {
|
|
63
63
|
if (typeof c == "string") {
|
|
64
|
-
const i = c === "" ? t :
|
|
64
|
+
const i = c === "" ? t : je(t, c);
|
|
65
65
|
i.classGroupId = o;
|
|
66
66
|
return;
|
|
67
67
|
}
|
|
68
68
|
if (typeof c == "function") {
|
|
69
|
-
if (
|
|
70
|
-
|
|
69
|
+
if (or(c)) {
|
|
70
|
+
xe(c(l), t, o, l);
|
|
71
71
|
return;
|
|
72
72
|
}
|
|
73
73
|
t.validators.push({
|
|
@@ -77,21 +77,21 @@ const we = "-", Xe = (r) => {
|
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
79
|
Object.entries(c).forEach(([i, s]) => {
|
|
80
|
-
|
|
80
|
+
xe(s, je(t, i), o, l);
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
|
-
},
|
|
83
|
+
}, je = (r, t) => {
|
|
84
84
|
let o = r;
|
|
85
|
-
return t.split(
|
|
85
|
+
return t.split(ke).forEach((l) => {
|
|
86
86
|
o.nextPart.has(l) || o.nextPart.set(l, {
|
|
87
87
|
nextPart: /* @__PURE__ */ new Map(),
|
|
88
88
|
validators: []
|
|
89
89
|
}), o = o.nextPart.get(l);
|
|
90
90
|
}), o;
|
|
91
|
-
},
|
|
91
|
+
}, or = (r) => r.isThemeGetter, nr = (r, t) => t ? r.map(([o, l]) => {
|
|
92
92
|
const c = l.map((i) => typeof i == "string" ? t + i : typeof i == "object" ? Object.fromEntries(Object.entries(i).map(([s, d]) => [t + s, d])) : i);
|
|
93
93
|
return [o, c];
|
|
94
|
-
}) : r,
|
|
94
|
+
}) : r, lr = (r) => {
|
|
95
95
|
if (r < 1)
|
|
96
96
|
return {
|
|
97
97
|
get: () => {
|
|
@@ -115,32 +115,32 @@ const we = "-", Xe = (r) => {
|
|
|
115
115
|
o.has(i) ? o.set(i, s) : c(i, s);
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
|
-
},
|
|
118
|
+
}, $e = "!", sr = (r) => {
|
|
119
119
|
const {
|
|
120
120
|
separator: t,
|
|
121
121
|
experimentalParseClassName: o
|
|
122
122
|
} = r, l = t.length === 1, c = t[0], i = t.length, s = (d) => {
|
|
123
|
-
const
|
|
123
|
+
const f = [];
|
|
124
124
|
let p = 0, h = 0, m;
|
|
125
|
-
for (let
|
|
126
|
-
let N = d[
|
|
125
|
+
for (let v = 0; v < d.length; v++) {
|
|
126
|
+
let N = d[v];
|
|
127
127
|
if (p === 0) {
|
|
128
|
-
if (N === c && (l || d.slice(
|
|
129
|
-
|
|
128
|
+
if (N === c && (l || d.slice(v, v + i) === t)) {
|
|
129
|
+
f.push(d.slice(h, v)), h = v + i;
|
|
130
130
|
continue;
|
|
131
131
|
}
|
|
132
132
|
if (N === "/") {
|
|
133
|
-
m =
|
|
133
|
+
m = v;
|
|
134
134
|
continue;
|
|
135
135
|
}
|
|
136
136
|
}
|
|
137
137
|
N === "[" ? p++ : N === "]" && p--;
|
|
138
138
|
}
|
|
139
|
-
const
|
|
139
|
+
const b = f.length === 0 ? d : d.substring(h), g = b.startsWith($e), u = g ? b.substring(1) : b, x = m && m > h ? m - h : void 0;
|
|
140
140
|
return {
|
|
141
|
-
modifiers:
|
|
141
|
+
modifiers: f,
|
|
142
142
|
hasImportantModifier: g,
|
|
143
|
-
baseClassName:
|
|
143
|
+
baseClassName: u,
|
|
144
144
|
maybePostfixModifierPosition: x
|
|
145
145
|
};
|
|
146
146
|
};
|
|
@@ -148,7 +148,7 @@ const we = "-", Xe = (r) => {
|
|
|
148
148
|
className: d,
|
|
149
149
|
parseClassName: s
|
|
150
150
|
}) : s;
|
|
151
|
-
},
|
|
151
|
+
}, ar = (r) => {
|
|
152
152
|
if (r.length <= 1)
|
|
153
153
|
return r;
|
|
154
154
|
const t = [];
|
|
@@ -156,122 +156,122 @@ const we = "-", Xe = (r) => {
|
|
|
156
156
|
return r.forEach((l) => {
|
|
157
157
|
l[0] === "[" ? (t.push(...o.sort(), l), o = []) : o.push(l);
|
|
158
158
|
}), t.push(...o.sort()), t;
|
|
159
|
-
},
|
|
160
|
-
cache:
|
|
161
|
-
parseClassName:
|
|
162
|
-
...
|
|
163
|
-
}),
|
|
159
|
+
}, ir = (r) => ({
|
|
160
|
+
cache: lr(r.cacheSize),
|
|
161
|
+
parseClassName: sr(r),
|
|
162
|
+
...er(r)
|
|
163
|
+
}), cr = /\s+/, dr = (r, t) => {
|
|
164
164
|
const {
|
|
165
165
|
parseClassName: o,
|
|
166
166
|
getClassGroupId: l,
|
|
167
167
|
getConflictingClassGroupIds: c
|
|
168
|
-
} = t, i = [], s = r.trim().split(
|
|
168
|
+
} = t, i = [], s = r.trim().split(cr);
|
|
169
169
|
let d = "";
|
|
170
|
-
for (let
|
|
171
|
-
const p = s[
|
|
170
|
+
for (let f = s.length - 1; f >= 0; f -= 1) {
|
|
171
|
+
const p = s[f], {
|
|
172
172
|
modifiers: h,
|
|
173
173
|
hasImportantModifier: m,
|
|
174
|
-
baseClassName:
|
|
174
|
+
baseClassName: b,
|
|
175
175
|
maybePostfixModifierPosition: g
|
|
176
176
|
} = o(p);
|
|
177
|
-
let
|
|
177
|
+
let u = !!g, x = l(u ? b.substring(0, g) : b);
|
|
178
178
|
if (!x) {
|
|
179
|
-
if (!
|
|
179
|
+
if (!u) {
|
|
180
180
|
d = p + (d.length > 0 ? " " + d : d);
|
|
181
181
|
continue;
|
|
182
182
|
}
|
|
183
|
-
if (x = l(
|
|
183
|
+
if (x = l(b), !x) {
|
|
184
184
|
d = p + (d.length > 0 ? " " + d : d);
|
|
185
185
|
continue;
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
u = !1;
|
|
188
188
|
}
|
|
189
|
-
const
|
|
190
|
-
if (i.includes(
|
|
189
|
+
const v = ar(h).join(":"), N = m ? v + $e : v, k = N + x;
|
|
190
|
+
if (i.includes(k))
|
|
191
191
|
continue;
|
|
192
|
-
i.push(
|
|
193
|
-
const
|
|
194
|
-
for (let
|
|
195
|
-
const
|
|
196
|
-
i.push(N +
|
|
192
|
+
i.push(k);
|
|
193
|
+
const L = c(x, u);
|
|
194
|
+
for (let P = 0; P < L.length; ++P) {
|
|
195
|
+
const S = L[P];
|
|
196
|
+
i.push(N + S);
|
|
197
197
|
}
|
|
198
198
|
d = p + (d.length > 0 ? " " + d : d);
|
|
199
199
|
}
|
|
200
200
|
return d;
|
|
201
201
|
};
|
|
202
|
-
function
|
|
202
|
+
function mr() {
|
|
203
203
|
let r = 0, t, o, l = "";
|
|
204
204
|
for (; r < arguments.length; )
|
|
205
|
-
(t = arguments[r++]) && (o =
|
|
205
|
+
(t = arguments[r++]) && (o = He(t)) && (l && (l += " "), l += o);
|
|
206
206
|
return l;
|
|
207
207
|
}
|
|
208
|
-
const
|
|
208
|
+
const He = (r) => {
|
|
209
209
|
if (typeof r == "string")
|
|
210
210
|
return r;
|
|
211
211
|
let t, o = "";
|
|
212
212
|
for (let l = 0; l < r.length; l++)
|
|
213
|
-
r[l] && (t =
|
|
213
|
+
r[l] && (t = He(r[l])) && (o && (o += " "), o += t);
|
|
214
214
|
return o;
|
|
215
215
|
};
|
|
216
|
-
function
|
|
216
|
+
function ur(r, ...t) {
|
|
217
217
|
let o, l, c, i = s;
|
|
218
|
-
function s(
|
|
218
|
+
function s(f) {
|
|
219
219
|
const p = t.reduce((h, m) => m(h), r());
|
|
220
|
-
return o =
|
|
220
|
+
return o = ir(p), l = o.cache.get, c = o.cache.set, i = d, d(f);
|
|
221
221
|
}
|
|
222
|
-
function d(
|
|
223
|
-
const p = l(
|
|
222
|
+
function d(f) {
|
|
223
|
+
const p = l(f);
|
|
224
224
|
if (p)
|
|
225
225
|
return p;
|
|
226
|
-
const h =
|
|
227
|
-
return c(
|
|
226
|
+
const h = dr(f, o);
|
|
227
|
+
return c(f, h), h;
|
|
228
228
|
}
|
|
229
229
|
return function() {
|
|
230
|
-
return i(
|
|
230
|
+
return i(mr.apply(null, arguments));
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
|
-
const
|
|
233
|
+
const z = (r) => {
|
|
234
234
|
const t = (o) => o[r] || [];
|
|
235
235
|
return t.isThemeGetter = !0, t;
|
|
236
|
-
},
|
|
237
|
-
const l =
|
|
236
|
+
}, Oe = /^\[(?:([a-z-]+):)?(.+)\]$/i, fr = /^\d+\/\d+$/, pr = /* @__PURE__ */ new Set(["px", "full", "screen"]), gr = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, hr = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, xr = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, br = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, vr = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, H = (r) => Q(r) || pr.has(r) || fr.test(r), K = (r) => re(r, "length", jr), Q = (r) => !!r && !Number.isNaN(Number(r)), me = (r) => re(r, "number", Q), ne = (r) => !!r && Number.isInteger(Number(r)), yr = (r) => r.endsWith("%") && Q(r.slice(0, -1)), w = (r) => Oe.test(r), D = (r) => gr.test(r), Nr = /* @__PURE__ */ new Set(["length", "size", "percentage"]), wr = (r) => re(r, Nr, Ue), kr = (r) => re(r, "position", Ue), Cr = /* @__PURE__ */ new Set(["image", "url"]), Mr = (r) => re(r, Cr, Ar), Sr = (r) => re(r, "", zr), le = () => !0, re = (r, t, o) => {
|
|
237
|
+
const l = Oe.exec(r);
|
|
238
238
|
return l ? l[1] ? typeof t == "string" ? l[1] === t : t.has(l[1]) : o(l[2]) : !1;
|
|
239
|
-
},
|
|
239
|
+
}, jr = (r) => (
|
|
240
240
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
241
241
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
242
242
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
243
|
-
|
|
244
|
-
),
|
|
245
|
-
const r =
|
|
243
|
+
hr.test(r) && !xr.test(r)
|
|
244
|
+
), Ue = () => !1, zr = (r) => br.test(r), Ar = (r) => vr.test(r), Tr = () => {
|
|
245
|
+
const r = z("colors"), t = z("spacing"), o = z("blur"), l = z("brightness"), c = z("borderColor"), i = z("borderRadius"), s = z("borderSpacing"), d = z("borderWidth"), f = z("contrast"), p = z("grayscale"), h = z("hueRotate"), m = z("invert"), b = z("gap"), g = z("gradientColorStops"), u = z("gradientColorStopPositions"), x = z("inset"), v = z("margin"), N = z("opacity"), k = z("padding"), L = z("saturate"), P = z("scale"), S = z("sepia"), G = z("skew"), B = z("space"), C = z("translate"), I = () => ["auto", "contain", "none"], R = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", w, t], j = () => [w, t], se = () => ["", H, K], Z = () => ["auto", Q, w], te = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], _ = () => ["solid", "dashed", "dotted", "double", "none"], oe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], J = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], U = () => ["", "0", w], ae = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], y = () => [Q, w];
|
|
246
246
|
return {
|
|
247
247
|
cacheSize: 500,
|
|
248
248
|
separator: ":",
|
|
249
249
|
theme: {
|
|
250
|
-
colors: [
|
|
251
|
-
spacing: [
|
|
252
|
-
blur: ["none", "",
|
|
253
|
-
brightness:
|
|
250
|
+
colors: [le],
|
|
251
|
+
spacing: [H, K],
|
|
252
|
+
blur: ["none", "", D, w],
|
|
253
|
+
brightness: y(),
|
|
254
254
|
borderColor: [r],
|
|
255
|
-
borderRadius: ["none", "", "full",
|
|
256
|
-
borderSpacing:
|
|
257
|
-
borderWidth:
|
|
258
|
-
contrast:
|
|
259
|
-
grayscale:
|
|
260
|
-
hueRotate:
|
|
261
|
-
invert:
|
|
262
|
-
gap:
|
|
255
|
+
borderRadius: ["none", "", "full", D, w],
|
|
256
|
+
borderSpacing: j(),
|
|
257
|
+
borderWidth: se(),
|
|
258
|
+
contrast: y(),
|
|
259
|
+
grayscale: U(),
|
|
260
|
+
hueRotate: y(),
|
|
261
|
+
invert: U(),
|
|
262
|
+
gap: j(),
|
|
263
263
|
gradientColorStops: [r],
|
|
264
|
-
gradientColorStopPositions: [
|
|
265
|
-
inset:
|
|
266
|
-
margin:
|
|
267
|
-
opacity:
|
|
268
|
-
padding:
|
|
269
|
-
saturate:
|
|
270
|
-
scale:
|
|
271
|
-
sepia:
|
|
272
|
-
skew:
|
|
273
|
-
space:
|
|
274
|
-
translate:
|
|
264
|
+
gradientColorStopPositions: [yr, K],
|
|
265
|
+
inset: O(),
|
|
266
|
+
margin: O(),
|
|
267
|
+
opacity: y(),
|
|
268
|
+
padding: j(),
|
|
269
|
+
saturate: y(),
|
|
270
|
+
scale: y(),
|
|
271
|
+
sepia: U(),
|
|
272
|
+
skew: y(),
|
|
273
|
+
space: j(),
|
|
274
|
+
translate: j()
|
|
275
275
|
},
|
|
276
276
|
classGroups: {
|
|
277
277
|
// Layout
|
|
@@ -280,7 +280,7 @@ const T = (r) => {
|
|
|
280
280
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
281
281
|
*/
|
|
282
282
|
aspect: [{
|
|
283
|
-
aspect: ["auto", "square", "video",
|
|
283
|
+
aspect: ["auto", "square", "video", w]
|
|
284
284
|
}],
|
|
285
285
|
/**
|
|
286
286
|
* Container
|
|
@@ -292,21 +292,21 @@ const T = (r) => {
|
|
|
292
292
|
* @see https://tailwindcss.com/docs/columns
|
|
293
293
|
*/
|
|
294
294
|
columns: [{
|
|
295
|
-
columns: [
|
|
295
|
+
columns: [D]
|
|
296
296
|
}],
|
|
297
297
|
/**
|
|
298
298
|
* Break After
|
|
299
299
|
* @see https://tailwindcss.com/docs/break-after
|
|
300
300
|
*/
|
|
301
301
|
"break-after": [{
|
|
302
|
-
"break-after":
|
|
302
|
+
"break-after": ae()
|
|
303
303
|
}],
|
|
304
304
|
/**
|
|
305
305
|
* Break Before
|
|
306
306
|
* @see https://tailwindcss.com/docs/break-before
|
|
307
307
|
*/
|
|
308
308
|
"break-before": [{
|
|
309
|
-
"break-before":
|
|
309
|
+
"break-before": ae()
|
|
310
310
|
}],
|
|
311
311
|
/**
|
|
312
312
|
* Break Inside
|
|
@@ -365,49 +365,49 @@ const T = (r) => {
|
|
|
365
365
|
* @see https://tailwindcss.com/docs/object-position
|
|
366
366
|
*/
|
|
367
367
|
"object-position": [{
|
|
368
|
-
object: [...
|
|
368
|
+
object: [...te(), w]
|
|
369
369
|
}],
|
|
370
370
|
/**
|
|
371
371
|
* Overflow
|
|
372
372
|
* @see https://tailwindcss.com/docs/overflow
|
|
373
373
|
*/
|
|
374
374
|
overflow: [{
|
|
375
|
-
overflow:
|
|
375
|
+
overflow: R()
|
|
376
376
|
}],
|
|
377
377
|
/**
|
|
378
378
|
* Overflow X
|
|
379
379
|
* @see https://tailwindcss.com/docs/overflow
|
|
380
380
|
*/
|
|
381
381
|
"overflow-x": [{
|
|
382
|
-
"overflow-x":
|
|
382
|
+
"overflow-x": R()
|
|
383
383
|
}],
|
|
384
384
|
/**
|
|
385
385
|
* Overflow Y
|
|
386
386
|
* @see https://tailwindcss.com/docs/overflow
|
|
387
387
|
*/
|
|
388
388
|
"overflow-y": [{
|
|
389
|
-
"overflow-y":
|
|
389
|
+
"overflow-y": R()
|
|
390
390
|
}],
|
|
391
391
|
/**
|
|
392
392
|
* Overscroll Behavior
|
|
393
393
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
394
394
|
*/
|
|
395
395
|
overscroll: [{
|
|
396
|
-
overscroll:
|
|
396
|
+
overscroll: I()
|
|
397
397
|
}],
|
|
398
398
|
/**
|
|
399
399
|
* Overscroll Behavior X
|
|
400
400
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
401
401
|
*/
|
|
402
402
|
"overscroll-x": [{
|
|
403
|
-
"overscroll-x":
|
|
403
|
+
"overscroll-x": I()
|
|
404
404
|
}],
|
|
405
405
|
/**
|
|
406
406
|
* Overscroll Behavior Y
|
|
407
407
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
408
408
|
*/
|
|
409
409
|
"overscroll-y": [{
|
|
410
|
-
"overscroll-y":
|
|
410
|
+
"overscroll-y": I()
|
|
411
411
|
}],
|
|
412
412
|
/**
|
|
413
413
|
* Position
|
|
@@ -487,7 +487,7 @@ const T = (r) => {
|
|
|
487
487
|
* @see https://tailwindcss.com/docs/z-index
|
|
488
488
|
*/
|
|
489
489
|
z: [{
|
|
490
|
-
z: ["auto",
|
|
490
|
+
z: ["auto", ne, w]
|
|
491
491
|
}],
|
|
492
492
|
// Flexbox and Grid
|
|
493
493
|
/**
|
|
@@ -495,7 +495,7 @@ const T = (r) => {
|
|
|
495
495
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
496
496
|
*/
|
|
497
497
|
basis: [{
|
|
498
|
-
basis:
|
|
498
|
+
basis: O()
|
|
499
499
|
}],
|
|
500
500
|
/**
|
|
501
501
|
* Flex Direction
|
|
@@ -516,35 +516,35 @@ const T = (r) => {
|
|
|
516
516
|
* @see https://tailwindcss.com/docs/flex
|
|
517
517
|
*/
|
|
518
518
|
flex: [{
|
|
519
|
-
flex: ["1", "auto", "initial", "none",
|
|
519
|
+
flex: ["1", "auto", "initial", "none", w]
|
|
520
520
|
}],
|
|
521
521
|
/**
|
|
522
522
|
* Flex Grow
|
|
523
523
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
524
524
|
*/
|
|
525
525
|
grow: [{
|
|
526
|
-
grow:
|
|
526
|
+
grow: U()
|
|
527
527
|
}],
|
|
528
528
|
/**
|
|
529
529
|
* Flex Shrink
|
|
530
530
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
531
531
|
*/
|
|
532
532
|
shrink: [{
|
|
533
|
-
shrink:
|
|
533
|
+
shrink: U()
|
|
534
534
|
}],
|
|
535
535
|
/**
|
|
536
536
|
* Order
|
|
537
537
|
* @see https://tailwindcss.com/docs/order
|
|
538
538
|
*/
|
|
539
539
|
order: [{
|
|
540
|
-
order: ["first", "last", "none",
|
|
540
|
+
order: ["first", "last", "none", ne, w]
|
|
541
541
|
}],
|
|
542
542
|
/**
|
|
543
543
|
* Grid Template Columns
|
|
544
544
|
* @see https://tailwindcss.com/docs/grid-template-columns
|
|
545
545
|
*/
|
|
546
546
|
"grid-cols": [{
|
|
547
|
-
"grid-cols": [
|
|
547
|
+
"grid-cols": [le]
|
|
548
548
|
}],
|
|
549
549
|
/**
|
|
550
550
|
* Grid Column Start / End
|
|
@@ -552,29 +552,29 @@ const T = (r) => {
|
|
|
552
552
|
*/
|
|
553
553
|
"col-start-end": [{
|
|
554
554
|
col: ["auto", {
|
|
555
|
-
span: ["full",
|
|
556
|
-
},
|
|
555
|
+
span: ["full", ne, w]
|
|
556
|
+
}, w]
|
|
557
557
|
}],
|
|
558
558
|
/**
|
|
559
559
|
* Grid Column Start
|
|
560
560
|
* @see https://tailwindcss.com/docs/grid-column
|
|
561
561
|
*/
|
|
562
562
|
"col-start": [{
|
|
563
|
-
"col-start":
|
|
563
|
+
"col-start": Z()
|
|
564
564
|
}],
|
|
565
565
|
/**
|
|
566
566
|
* Grid Column End
|
|
567
567
|
* @see https://tailwindcss.com/docs/grid-column
|
|
568
568
|
*/
|
|
569
569
|
"col-end": [{
|
|
570
|
-
"col-end":
|
|
570
|
+
"col-end": Z()
|
|
571
571
|
}],
|
|
572
572
|
/**
|
|
573
573
|
* Grid Template Rows
|
|
574
574
|
* @see https://tailwindcss.com/docs/grid-template-rows
|
|
575
575
|
*/
|
|
576
576
|
"grid-rows": [{
|
|
577
|
-
"grid-rows": [
|
|
577
|
+
"grid-rows": [le]
|
|
578
578
|
}],
|
|
579
579
|
/**
|
|
580
580
|
* Grid Row Start / End
|
|
@@ -582,22 +582,22 @@ const T = (r) => {
|
|
|
582
582
|
*/
|
|
583
583
|
"row-start-end": [{
|
|
584
584
|
row: ["auto", {
|
|
585
|
-
span: [
|
|
586
|
-
},
|
|
585
|
+
span: [ne, w]
|
|
586
|
+
}, w]
|
|
587
587
|
}],
|
|
588
588
|
/**
|
|
589
589
|
* Grid Row Start
|
|
590
590
|
* @see https://tailwindcss.com/docs/grid-row
|
|
591
591
|
*/
|
|
592
592
|
"row-start": [{
|
|
593
|
-
"row-start":
|
|
593
|
+
"row-start": Z()
|
|
594
594
|
}],
|
|
595
595
|
/**
|
|
596
596
|
* Grid Row End
|
|
597
597
|
* @see https://tailwindcss.com/docs/grid-row
|
|
598
598
|
*/
|
|
599
599
|
"row-end": [{
|
|
600
|
-
"row-end":
|
|
600
|
+
"row-end": Z()
|
|
601
601
|
}],
|
|
602
602
|
/**
|
|
603
603
|
* Grid Auto Flow
|
|
@@ -611,35 +611,35 @@ const T = (r) => {
|
|
|
611
611
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
612
612
|
*/
|
|
613
613
|
"auto-cols": [{
|
|
614
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
614
|
+
"auto-cols": ["auto", "min", "max", "fr", w]
|
|
615
615
|
}],
|
|
616
616
|
/**
|
|
617
617
|
* Grid Auto Rows
|
|
618
618
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
619
619
|
*/
|
|
620
620
|
"auto-rows": [{
|
|
621
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
621
|
+
"auto-rows": ["auto", "min", "max", "fr", w]
|
|
622
622
|
}],
|
|
623
623
|
/**
|
|
624
624
|
* Gap
|
|
625
625
|
* @see https://tailwindcss.com/docs/gap
|
|
626
626
|
*/
|
|
627
627
|
gap: [{
|
|
628
|
-
gap: [
|
|
628
|
+
gap: [b]
|
|
629
629
|
}],
|
|
630
630
|
/**
|
|
631
631
|
* Gap X
|
|
632
632
|
* @see https://tailwindcss.com/docs/gap
|
|
633
633
|
*/
|
|
634
634
|
"gap-x": [{
|
|
635
|
-
"gap-x": [
|
|
635
|
+
"gap-x": [b]
|
|
636
636
|
}],
|
|
637
637
|
/**
|
|
638
638
|
* Gap Y
|
|
639
639
|
* @see https://tailwindcss.com/docs/gap
|
|
640
640
|
*/
|
|
641
641
|
"gap-y": [{
|
|
642
|
-
"gap-y": [
|
|
642
|
+
"gap-y": [b]
|
|
643
643
|
}],
|
|
644
644
|
/**
|
|
645
645
|
* Justify Content
|
|
@@ -710,133 +710,133 @@ const T = (r) => {
|
|
|
710
710
|
* @see https://tailwindcss.com/docs/padding
|
|
711
711
|
*/
|
|
712
712
|
p: [{
|
|
713
|
-
p: [
|
|
713
|
+
p: [k]
|
|
714
714
|
}],
|
|
715
715
|
/**
|
|
716
716
|
* Padding X
|
|
717
717
|
* @see https://tailwindcss.com/docs/padding
|
|
718
718
|
*/
|
|
719
719
|
px: [{
|
|
720
|
-
px: [
|
|
720
|
+
px: [k]
|
|
721
721
|
}],
|
|
722
722
|
/**
|
|
723
723
|
* Padding Y
|
|
724
724
|
* @see https://tailwindcss.com/docs/padding
|
|
725
725
|
*/
|
|
726
726
|
py: [{
|
|
727
|
-
py: [
|
|
727
|
+
py: [k]
|
|
728
728
|
}],
|
|
729
729
|
/**
|
|
730
730
|
* Padding Start
|
|
731
731
|
* @see https://tailwindcss.com/docs/padding
|
|
732
732
|
*/
|
|
733
733
|
ps: [{
|
|
734
|
-
ps: [
|
|
734
|
+
ps: [k]
|
|
735
735
|
}],
|
|
736
736
|
/**
|
|
737
737
|
* Padding End
|
|
738
738
|
* @see https://tailwindcss.com/docs/padding
|
|
739
739
|
*/
|
|
740
740
|
pe: [{
|
|
741
|
-
pe: [
|
|
741
|
+
pe: [k]
|
|
742
742
|
}],
|
|
743
743
|
/**
|
|
744
744
|
* Padding Top
|
|
745
745
|
* @see https://tailwindcss.com/docs/padding
|
|
746
746
|
*/
|
|
747
747
|
pt: [{
|
|
748
|
-
pt: [
|
|
748
|
+
pt: [k]
|
|
749
749
|
}],
|
|
750
750
|
/**
|
|
751
751
|
* Padding Right
|
|
752
752
|
* @see https://tailwindcss.com/docs/padding
|
|
753
753
|
*/
|
|
754
754
|
pr: [{
|
|
755
|
-
pr: [
|
|
755
|
+
pr: [k]
|
|
756
756
|
}],
|
|
757
757
|
/**
|
|
758
758
|
* Padding Bottom
|
|
759
759
|
* @see https://tailwindcss.com/docs/padding
|
|
760
760
|
*/
|
|
761
761
|
pb: [{
|
|
762
|
-
pb: [
|
|
762
|
+
pb: [k]
|
|
763
763
|
}],
|
|
764
764
|
/**
|
|
765
765
|
* Padding Left
|
|
766
766
|
* @see https://tailwindcss.com/docs/padding
|
|
767
767
|
*/
|
|
768
768
|
pl: [{
|
|
769
|
-
pl: [
|
|
769
|
+
pl: [k]
|
|
770
770
|
}],
|
|
771
771
|
/**
|
|
772
772
|
* Margin
|
|
773
773
|
* @see https://tailwindcss.com/docs/margin
|
|
774
774
|
*/
|
|
775
775
|
m: [{
|
|
776
|
-
m: [
|
|
776
|
+
m: [v]
|
|
777
777
|
}],
|
|
778
778
|
/**
|
|
779
779
|
* Margin X
|
|
780
780
|
* @see https://tailwindcss.com/docs/margin
|
|
781
781
|
*/
|
|
782
782
|
mx: [{
|
|
783
|
-
mx: [
|
|
783
|
+
mx: [v]
|
|
784
784
|
}],
|
|
785
785
|
/**
|
|
786
786
|
* Margin Y
|
|
787
787
|
* @see https://tailwindcss.com/docs/margin
|
|
788
788
|
*/
|
|
789
789
|
my: [{
|
|
790
|
-
my: [
|
|
790
|
+
my: [v]
|
|
791
791
|
}],
|
|
792
792
|
/**
|
|
793
793
|
* Margin Start
|
|
794
794
|
* @see https://tailwindcss.com/docs/margin
|
|
795
795
|
*/
|
|
796
796
|
ms: [{
|
|
797
|
-
ms: [
|
|
797
|
+
ms: [v]
|
|
798
798
|
}],
|
|
799
799
|
/**
|
|
800
800
|
* Margin End
|
|
801
801
|
* @see https://tailwindcss.com/docs/margin
|
|
802
802
|
*/
|
|
803
803
|
me: [{
|
|
804
|
-
me: [
|
|
804
|
+
me: [v]
|
|
805
805
|
}],
|
|
806
806
|
/**
|
|
807
807
|
* Margin Top
|
|
808
808
|
* @see https://tailwindcss.com/docs/margin
|
|
809
809
|
*/
|
|
810
810
|
mt: [{
|
|
811
|
-
mt: [
|
|
811
|
+
mt: [v]
|
|
812
812
|
}],
|
|
813
813
|
/**
|
|
814
814
|
* Margin Right
|
|
815
815
|
* @see https://tailwindcss.com/docs/margin
|
|
816
816
|
*/
|
|
817
817
|
mr: [{
|
|
818
|
-
mr: [
|
|
818
|
+
mr: [v]
|
|
819
819
|
}],
|
|
820
820
|
/**
|
|
821
821
|
* Margin Bottom
|
|
822
822
|
* @see https://tailwindcss.com/docs/margin
|
|
823
823
|
*/
|
|
824
824
|
mb: [{
|
|
825
|
-
mb: [
|
|
825
|
+
mb: [v]
|
|
826
826
|
}],
|
|
827
827
|
/**
|
|
828
828
|
* Margin Left
|
|
829
829
|
* @see https://tailwindcss.com/docs/margin
|
|
830
830
|
*/
|
|
831
831
|
ml: [{
|
|
832
|
-
ml: [
|
|
832
|
+
ml: [v]
|
|
833
833
|
}],
|
|
834
834
|
/**
|
|
835
835
|
* Space Between X
|
|
836
836
|
* @see https://tailwindcss.com/docs/space
|
|
837
837
|
*/
|
|
838
838
|
"space-x": [{
|
|
839
|
-
"space-x": [
|
|
839
|
+
"space-x": [B]
|
|
840
840
|
}],
|
|
841
841
|
/**
|
|
842
842
|
* Space Between X Reverse
|
|
@@ -848,7 +848,7 @@ const T = (r) => {
|
|
|
848
848
|
* @see https://tailwindcss.com/docs/space
|
|
849
849
|
*/
|
|
850
850
|
"space-y": [{
|
|
851
|
-
"space-y": [
|
|
851
|
+
"space-y": [B]
|
|
852
852
|
}],
|
|
853
853
|
/**
|
|
854
854
|
* Space Between Y Reverse
|
|
@@ -861,51 +861,51 @@ const T = (r) => {
|
|
|
861
861
|
* @see https://tailwindcss.com/docs/width
|
|
862
862
|
*/
|
|
863
863
|
w: [{
|
|
864
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
864
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", w, t]
|
|
865
865
|
}],
|
|
866
866
|
/**
|
|
867
867
|
* Min-Width
|
|
868
868
|
* @see https://tailwindcss.com/docs/min-width
|
|
869
869
|
*/
|
|
870
870
|
"min-w": [{
|
|
871
|
-
"min-w": [
|
|
871
|
+
"min-w": [w, t, "min", "max", "fit"]
|
|
872
872
|
}],
|
|
873
873
|
/**
|
|
874
874
|
* Max-Width
|
|
875
875
|
* @see https://tailwindcss.com/docs/max-width
|
|
876
876
|
*/
|
|
877
877
|
"max-w": [{
|
|
878
|
-
"max-w": [
|
|
879
|
-
screen: [
|
|
880
|
-
},
|
|
878
|
+
"max-w": [w, t, "none", "full", "min", "max", "fit", "prose", {
|
|
879
|
+
screen: [D]
|
|
880
|
+
}, D]
|
|
881
881
|
}],
|
|
882
882
|
/**
|
|
883
883
|
* Height
|
|
884
884
|
* @see https://tailwindcss.com/docs/height
|
|
885
885
|
*/
|
|
886
886
|
h: [{
|
|
887
|
-
h: [
|
|
887
|
+
h: [w, t, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
888
888
|
}],
|
|
889
889
|
/**
|
|
890
890
|
* Min-Height
|
|
891
891
|
* @see https://tailwindcss.com/docs/min-height
|
|
892
892
|
*/
|
|
893
893
|
"min-h": [{
|
|
894
|
-
"min-h": [
|
|
894
|
+
"min-h": [w, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
895
895
|
}],
|
|
896
896
|
/**
|
|
897
897
|
* Max-Height
|
|
898
898
|
* @see https://tailwindcss.com/docs/max-height
|
|
899
899
|
*/
|
|
900
900
|
"max-h": [{
|
|
901
|
-
"max-h": [
|
|
901
|
+
"max-h": [w, t, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
902
902
|
}],
|
|
903
903
|
/**
|
|
904
904
|
* Size
|
|
905
905
|
* @see https://tailwindcss.com/docs/size
|
|
906
906
|
*/
|
|
907
907
|
size: [{
|
|
908
|
-
size: [
|
|
908
|
+
size: [w, t, "auto", "min", "max", "fit"]
|
|
909
909
|
}],
|
|
910
910
|
// Typography
|
|
911
911
|
/**
|
|
@@ -913,7 +913,7 @@ const T = (r) => {
|
|
|
913
913
|
* @see https://tailwindcss.com/docs/font-size
|
|
914
914
|
*/
|
|
915
915
|
"font-size": [{
|
|
916
|
-
text: ["base",
|
|
916
|
+
text: ["base", D, K]
|
|
917
917
|
}],
|
|
918
918
|
/**
|
|
919
919
|
* Font Smoothing
|
|
@@ -930,14 +930,14 @@ const T = (r) => {
|
|
|
930
930
|
* @see https://tailwindcss.com/docs/font-weight
|
|
931
931
|
*/
|
|
932
932
|
"font-weight": [{
|
|
933
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
933
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", me]
|
|
934
934
|
}],
|
|
935
935
|
/**
|
|
936
936
|
* Font Family
|
|
937
937
|
* @see https://tailwindcss.com/docs/font-family
|
|
938
938
|
*/
|
|
939
939
|
"font-family": [{
|
|
940
|
-
font: [
|
|
940
|
+
font: [le]
|
|
941
941
|
}],
|
|
942
942
|
/**
|
|
943
943
|
* Font Variant Numeric
|
|
@@ -974,35 +974,35 @@ const T = (r) => {
|
|
|
974
974
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
975
975
|
*/
|
|
976
976
|
tracking: [{
|
|
977
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
977
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", w]
|
|
978
978
|
}],
|
|
979
979
|
/**
|
|
980
980
|
* Line Clamp
|
|
981
981
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
982
982
|
*/
|
|
983
983
|
"line-clamp": [{
|
|
984
|
-
"line-clamp": ["none", Q,
|
|
984
|
+
"line-clamp": ["none", Q, me]
|
|
985
985
|
}],
|
|
986
986
|
/**
|
|
987
987
|
* Line Height
|
|
988
988
|
* @see https://tailwindcss.com/docs/line-height
|
|
989
989
|
*/
|
|
990
990
|
leading: [{
|
|
991
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
991
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", H, w]
|
|
992
992
|
}],
|
|
993
993
|
/**
|
|
994
994
|
* List Style Image
|
|
995
995
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
996
996
|
*/
|
|
997
997
|
"list-image": [{
|
|
998
|
-
"list-image": ["none",
|
|
998
|
+
"list-image": ["none", w]
|
|
999
999
|
}],
|
|
1000
1000
|
/**
|
|
1001
1001
|
* List Style Type
|
|
1002
1002
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1003
1003
|
*/
|
|
1004
1004
|
"list-style-type": [{
|
|
1005
|
-
list: ["none", "disc", "decimal",
|
|
1005
|
+
list: ["none", "disc", "decimal", w]
|
|
1006
1006
|
}],
|
|
1007
1007
|
/**
|
|
1008
1008
|
* List Style Position
|
|
@@ -1057,21 +1057,21 @@ const T = (r) => {
|
|
|
1057
1057
|
* @see https://tailwindcss.com/docs/text-decoration-style
|
|
1058
1058
|
*/
|
|
1059
1059
|
"text-decoration-style": [{
|
|
1060
|
-
decoration: [...
|
|
1060
|
+
decoration: [..._(), "wavy"]
|
|
1061
1061
|
}],
|
|
1062
1062
|
/**
|
|
1063
1063
|
* Text Decoration Thickness
|
|
1064
1064
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1065
1065
|
*/
|
|
1066
1066
|
"text-decoration-thickness": [{
|
|
1067
|
-
decoration: ["auto", "from-font",
|
|
1067
|
+
decoration: ["auto", "from-font", H, K]
|
|
1068
1068
|
}],
|
|
1069
1069
|
/**
|
|
1070
1070
|
* Text Underline Offset
|
|
1071
1071
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1072
1072
|
*/
|
|
1073
1073
|
"underline-offset": [{
|
|
1074
|
-
"underline-offset": ["auto",
|
|
1074
|
+
"underline-offset": ["auto", H, w]
|
|
1075
1075
|
}],
|
|
1076
1076
|
/**
|
|
1077
1077
|
* Text Decoration Color
|
|
@@ -1102,14 +1102,14 @@ const T = (r) => {
|
|
|
1102
1102
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1103
1103
|
*/
|
|
1104
1104
|
indent: [{
|
|
1105
|
-
indent:
|
|
1105
|
+
indent: j()
|
|
1106
1106
|
}],
|
|
1107
1107
|
/**
|
|
1108
1108
|
* Vertical Alignment
|
|
1109
1109
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1110
1110
|
*/
|
|
1111
1111
|
"vertical-align": [{
|
|
1112
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1112
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", w]
|
|
1113
1113
|
}],
|
|
1114
1114
|
/**
|
|
1115
1115
|
* Whitespace
|
|
@@ -1137,7 +1137,7 @@ const T = (r) => {
|
|
|
1137
1137
|
* @see https://tailwindcss.com/docs/content
|
|
1138
1138
|
*/
|
|
1139
1139
|
content: [{
|
|
1140
|
-
content: ["none",
|
|
1140
|
+
content: ["none", w]
|
|
1141
1141
|
}],
|
|
1142
1142
|
// Backgrounds
|
|
1143
1143
|
/**
|
|
@@ -1174,7 +1174,7 @@ const T = (r) => {
|
|
|
1174
1174
|
* @see https://tailwindcss.com/docs/background-position
|
|
1175
1175
|
*/
|
|
1176
1176
|
"bg-position": [{
|
|
1177
|
-
bg: [...
|
|
1177
|
+
bg: [...te(), kr]
|
|
1178
1178
|
}],
|
|
1179
1179
|
/**
|
|
1180
1180
|
* Background Repeat
|
|
@@ -1190,7 +1190,7 @@ const T = (r) => {
|
|
|
1190
1190
|
* @see https://tailwindcss.com/docs/background-size
|
|
1191
1191
|
*/
|
|
1192
1192
|
"bg-size": [{
|
|
1193
|
-
bg: ["auto", "cover", "contain",
|
|
1193
|
+
bg: ["auto", "cover", "contain", wr]
|
|
1194
1194
|
}],
|
|
1195
1195
|
/**
|
|
1196
1196
|
* Background Image
|
|
@@ -1199,7 +1199,7 @@ const T = (r) => {
|
|
|
1199
1199
|
"bg-image": [{
|
|
1200
1200
|
bg: ["none", {
|
|
1201
1201
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1202
|
-
},
|
|
1202
|
+
}, Mr]
|
|
1203
1203
|
}],
|
|
1204
1204
|
/**
|
|
1205
1205
|
* Background Color
|
|
@@ -1213,21 +1213,21 @@ const T = (r) => {
|
|
|
1213
1213
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1214
1214
|
*/
|
|
1215
1215
|
"gradient-from-pos": [{
|
|
1216
|
-
from: [
|
|
1216
|
+
from: [u]
|
|
1217
1217
|
}],
|
|
1218
1218
|
/**
|
|
1219
1219
|
* Gradient Color Stops Via Position
|
|
1220
1220
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1221
1221
|
*/
|
|
1222
1222
|
"gradient-via-pos": [{
|
|
1223
|
-
via: [
|
|
1223
|
+
via: [u]
|
|
1224
1224
|
}],
|
|
1225
1225
|
/**
|
|
1226
1226
|
* Gradient Color Stops To Position
|
|
1227
1227
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1228
1228
|
*/
|
|
1229
1229
|
"gradient-to-pos": [{
|
|
1230
|
-
to: [
|
|
1230
|
+
to: [u]
|
|
1231
1231
|
}],
|
|
1232
1232
|
/**
|
|
1233
1233
|
* Gradient Color Stops From
|
|
@@ -1431,7 +1431,7 @@ const T = (r) => {
|
|
|
1431
1431
|
* @see https://tailwindcss.com/docs/border-style
|
|
1432
1432
|
*/
|
|
1433
1433
|
"border-style": [{
|
|
1434
|
-
border: [...
|
|
1434
|
+
border: [..._(), "hidden"]
|
|
1435
1435
|
}],
|
|
1436
1436
|
/**
|
|
1437
1437
|
* Divide Width X
|
|
@@ -1469,7 +1469,7 @@ const T = (r) => {
|
|
|
1469
1469
|
* @see https://tailwindcss.com/docs/divide-style
|
|
1470
1470
|
*/
|
|
1471
1471
|
"divide-style": [{
|
|
1472
|
-
divide:
|
|
1472
|
+
divide: _()
|
|
1473
1473
|
}],
|
|
1474
1474
|
/**
|
|
1475
1475
|
* Border Color
|
|
@@ -1546,21 +1546,21 @@ const T = (r) => {
|
|
|
1546
1546
|
* @see https://tailwindcss.com/docs/outline-style
|
|
1547
1547
|
*/
|
|
1548
1548
|
"outline-style": [{
|
|
1549
|
-
outline: ["", ...
|
|
1549
|
+
outline: ["", ..._()]
|
|
1550
1550
|
}],
|
|
1551
1551
|
/**
|
|
1552
1552
|
* Outline Offset
|
|
1553
1553
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1554
1554
|
*/
|
|
1555
1555
|
"outline-offset": [{
|
|
1556
|
-
"outline-offset": [
|
|
1556
|
+
"outline-offset": [H, w]
|
|
1557
1557
|
}],
|
|
1558
1558
|
/**
|
|
1559
1559
|
* Outline Width
|
|
1560
1560
|
* @see https://tailwindcss.com/docs/outline-width
|
|
1561
1561
|
*/
|
|
1562
1562
|
"outline-w": [{
|
|
1563
|
-
outline: [
|
|
1563
|
+
outline: [H, K]
|
|
1564
1564
|
}],
|
|
1565
1565
|
/**
|
|
1566
1566
|
* Outline Color
|
|
@@ -1574,7 +1574,7 @@ const T = (r) => {
|
|
|
1574
1574
|
* @see https://tailwindcss.com/docs/ring-width
|
|
1575
1575
|
*/
|
|
1576
1576
|
"ring-w": [{
|
|
1577
|
-
ring:
|
|
1577
|
+
ring: se()
|
|
1578
1578
|
}],
|
|
1579
1579
|
/**
|
|
1580
1580
|
* Ring Width Inset
|
|
@@ -1600,7 +1600,7 @@ const T = (r) => {
|
|
|
1600
1600
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
1601
1601
|
*/
|
|
1602
1602
|
"ring-offset-w": [{
|
|
1603
|
-
"ring-offset": [
|
|
1603
|
+
"ring-offset": [H, K]
|
|
1604
1604
|
}],
|
|
1605
1605
|
/**
|
|
1606
1606
|
* Ring Offset Color
|
|
@@ -1615,14 +1615,14 @@ const T = (r) => {
|
|
|
1615
1615
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
1616
1616
|
*/
|
|
1617
1617
|
shadow: [{
|
|
1618
|
-
shadow: ["", "inner", "none",
|
|
1618
|
+
shadow: ["", "inner", "none", D, Sr]
|
|
1619
1619
|
}],
|
|
1620
1620
|
/**
|
|
1621
1621
|
* Box Shadow Color
|
|
1622
1622
|
* @see https://tailwindcss.com/docs/box-shadow-color
|
|
1623
1623
|
*/
|
|
1624
1624
|
"shadow-color": [{
|
|
1625
|
-
shadow: [
|
|
1625
|
+
shadow: [le]
|
|
1626
1626
|
}],
|
|
1627
1627
|
/**
|
|
1628
1628
|
* Opacity
|
|
@@ -1636,14 +1636,14 @@ const T = (r) => {
|
|
|
1636
1636
|
* @see https://tailwindcss.com/docs/mix-blend-mode
|
|
1637
1637
|
*/
|
|
1638
1638
|
"mix-blend": [{
|
|
1639
|
-
"mix-blend": [...
|
|
1639
|
+
"mix-blend": [...oe(), "plus-lighter", "plus-darker"]
|
|
1640
1640
|
}],
|
|
1641
1641
|
/**
|
|
1642
1642
|
* Background Blend Mode
|
|
1643
1643
|
* @see https://tailwindcss.com/docs/background-blend-mode
|
|
1644
1644
|
*/
|
|
1645
1645
|
"bg-blend": [{
|
|
1646
|
-
"bg-blend":
|
|
1646
|
+
"bg-blend": oe()
|
|
1647
1647
|
}],
|
|
1648
1648
|
// Filters
|
|
1649
1649
|
/**
|
|
@@ -1673,14 +1673,14 @@ const T = (r) => {
|
|
|
1673
1673
|
* @see https://tailwindcss.com/docs/contrast
|
|
1674
1674
|
*/
|
|
1675
1675
|
contrast: [{
|
|
1676
|
-
contrast: [
|
|
1676
|
+
contrast: [f]
|
|
1677
1677
|
}],
|
|
1678
1678
|
/**
|
|
1679
1679
|
* Drop Shadow
|
|
1680
1680
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
1681
1681
|
*/
|
|
1682
1682
|
"drop-shadow": [{
|
|
1683
|
-
"drop-shadow": ["", "none",
|
|
1683
|
+
"drop-shadow": ["", "none", D, w]
|
|
1684
1684
|
}],
|
|
1685
1685
|
/**
|
|
1686
1686
|
* Grayscale
|
|
@@ -1708,14 +1708,14 @@ const T = (r) => {
|
|
|
1708
1708
|
* @see https://tailwindcss.com/docs/saturate
|
|
1709
1709
|
*/
|
|
1710
1710
|
saturate: [{
|
|
1711
|
-
saturate: [
|
|
1711
|
+
saturate: [L]
|
|
1712
1712
|
}],
|
|
1713
1713
|
/**
|
|
1714
1714
|
* Sepia
|
|
1715
1715
|
* @see https://tailwindcss.com/docs/sepia
|
|
1716
1716
|
*/
|
|
1717
1717
|
sepia: [{
|
|
1718
|
-
sepia: [
|
|
1718
|
+
sepia: [S]
|
|
1719
1719
|
}],
|
|
1720
1720
|
/**
|
|
1721
1721
|
* Backdrop Filter
|
|
@@ -1744,7 +1744,7 @@ const T = (r) => {
|
|
|
1744
1744
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
1745
1745
|
*/
|
|
1746
1746
|
"backdrop-contrast": [{
|
|
1747
|
-
"backdrop-contrast": [
|
|
1747
|
+
"backdrop-contrast": [f]
|
|
1748
1748
|
}],
|
|
1749
1749
|
/**
|
|
1750
1750
|
* Backdrop Grayscale
|
|
@@ -1779,14 +1779,14 @@ const T = (r) => {
|
|
|
1779
1779
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1780
1780
|
*/
|
|
1781
1781
|
"backdrop-saturate": [{
|
|
1782
|
-
"backdrop-saturate": [
|
|
1782
|
+
"backdrop-saturate": [L]
|
|
1783
1783
|
}],
|
|
1784
1784
|
/**
|
|
1785
1785
|
* Backdrop Sepia
|
|
1786
1786
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1787
1787
|
*/
|
|
1788
1788
|
"backdrop-sepia": [{
|
|
1789
|
-
"backdrop-sepia": [
|
|
1789
|
+
"backdrop-sepia": [S]
|
|
1790
1790
|
}],
|
|
1791
1791
|
// Tables
|
|
1792
1792
|
/**
|
|
@@ -1837,35 +1837,35 @@ const T = (r) => {
|
|
|
1837
1837
|
* @see https://tailwindcss.com/docs/transition-property
|
|
1838
1838
|
*/
|
|
1839
1839
|
transition: [{
|
|
1840
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
1840
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", w]
|
|
1841
1841
|
}],
|
|
1842
1842
|
/**
|
|
1843
1843
|
* Transition Duration
|
|
1844
1844
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
1845
1845
|
*/
|
|
1846
1846
|
duration: [{
|
|
1847
|
-
duration:
|
|
1847
|
+
duration: y()
|
|
1848
1848
|
}],
|
|
1849
1849
|
/**
|
|
1850
1850
|
* Transition Timing Function
|
|
1851
1851
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
1852
1852
|
*/
|
|
1853
1853
|
ease: [{
|
|
1854
|
-
ease: ["linear", "in", "out", "in-out",
|
|
1854
|
+
ease: ["linear", "in", "out", "in-out", w]
|
|
1855
1855
|
}],
|
|
1856
1856
|
/**
|
|
1857
1857
|
* Transition Delay
|
|
1858
1858
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
1859
1859
|
*/
|
|
1860
1860
|
delay: [{
|
|
1861
|
-
delay:
|
|
1861
|
+
delay: y()
|
|
1862
1862
|
}],
|
|
1863
1863
|
/**
|
|
1864
1864
|
* Animation
|
|
1865
1865
|
* @see https://tailwindcss.com/docs/animation
|
|
1866
1866
|
*/
|
|
1867
1867
|
animate: [{
|
|
1868
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
1868
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", w]
|
|
1869
1869
|
}],
|
|
1870
1870
|
// Transforms
|
|
1871
1871
|
/**
|
|
@@ -1880,63 +1880,63 @@ const T = (r) => {
|
|
|
1880
1880
|
* @see https://tailwindcss.com/docs/scale
|
|
1881
1881
|
*/
|
|
1882
1882
|
scale: [{
|
|
1883
|
-
scale: [
|
|
1883
|
+
scale: [P]
|
|
1884
1884
|
}],
|
|
1885
1885
|
/**
|
|
1886
1886
|
* Scale X
|
|
1887
1887
|
* @see https://tailwindcss.com/docs/scale
|
|
1888
1888
|
*/
|
|
1889
1889
|
"scale-x": [{
|
|
1890
|
-
"scale-x": [
|
|
1890
|
+
"scale-x": [P]
|
|
1891
1891
|
}],
|
|
1892
1892
|
/**
|
|
1893
1893
|
* Scale Y
|
|
1894
1894
|
* @see https://tailwindcss.com/docs/scale
|
|
1895
1895
|
*/
|
|
1896
1896
|
"scale-y": [{
|
|
1897
|
-
"scale-y": [
|
|
1897
|
+
"scale-y": [P]
|
|
1898
1898
|
}],
|
|
1899
1899
|
/**
|
|
1900
1900
|
* Rotate
|
|
1901
1901
|
* @see https://tailwindcss.com/docs/rotate
|
|
1902
1902
|
*/
|
|
1903
1903
|
rotate: [{
|
|
1904
|
-
rotate: [
|
|
1904
|
+
rotate: [ne, w]
|
|
1905
1905
|
}],
|
|
1906
1906
|
/**
|
|
1907
1907
|
* Translate X
|
|
1908
1908
|
* @see https://tailwindcss.com/docs/translate
|
|
1909
1909
|
*/
|
|
1910
1910
|
"translate-x": [{
|
|
1911
|
-
"translate-x": [
|
|
1911
|
+
"translate-x": [C]
|
|
1912
1912
|
}],
|
|
1913
1913
|
/**
|
|
1914
1914
|
* Translate Y
|
|
1915
1915
|
* @see https://tailwindcss.com/docs/translate
|
|
1916
1916
|
*/
|
|
1917
1917
|
"translate-y": [{
|
|
1918
|
-
"translate-y": [
|
|
1918
|
+
"translate-y": [C]
|
|
1919
1919
|
}],
|
|
1920
1920
|
/**
|
|
1921
1921
|
* Skew X
|
|
1922
1922
|
* @see https://tailwindcss.com/docs/skew
|
|
1923
1923
|
*/
|
|
1924
1924
|
"skew-x": [{
|
|
1925
|
-
"skew-x": [
|
|
1925
|
+
"skew-x": [G]
|
|
1926
1926
|
}],
|
|
1927
1927
|
/**
|
|
1928
1928
|
* Skew Y
|
|
1929
1929
|
* @see https://tailwindcss.com/docs/skew
|
|
1930
1930
|
*/
|
|
1931
1931
|
"skew-y": [{
|
|
1932
|
-
"skew-y": [
|
|
1932
|
+
"skew-y": [G]
|
|
1933
1933
|
}],
|
|
1934
1934
|
/**
|
|
1935
1935
|
* Transform Origin
|
|
1936
1936
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
1937
1937
|
*/
|
|
1938
1938
|
"transform-origin": [{
|
|
1939
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
1939
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", w]
|
|
1940
1940
|
}],
|
|
1941
1941
|
// Interactivity
|
|
1942
1942
|
/**
|
|
@@ -1958,7 +1958,7 @@ const T = (r) => {
|
|
|
1958
1958
|
* @see https://tailwindcss.com/docs/cursor
|
|
1959
1959
|
*/
|
|
1960
1960
|
cursor: [{
|
|
1961
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
1961
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", w]
|
|
1962
1962
|
}],
|
|
1963
1963
|
/**
|
|
1964
1964
|
* Caret Color
|
|
@@ -1993,126 +1993,126 @@ const T = (r) => {
|
|
|
1993
1993
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
1994
1994
|
*/
|
|
1995
1995
|
"scroll-m": [{
|
|
1996
|
-
"scroll-m":
|
|
1996
|
+
"scroll-m": j()
|
|
1997
1997
|
}],
|
|
1998
1998
|
/**
|
|
1999
1999
|
* Scroll Margin X
|
|
2000
2000
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2001
2001
|
*/
|
|
2002
2002
|
"scroll-mx": [{
|
|
2003
|
-
"scroll-mx":
|
|
2003
|
+
"scroll-mx": j()
|
|
2004
2004
|
}],
|
|
2005
2005
|
/**
|
|
2006
2006
|
* Scroll Margin Y
|
|
2007
2007
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2008
2008
|
*/
|
|
2009
2009
|
"scroll-my": [{
|
|
2010
|
-
"scroll-my":
|
|
2010
|
+
"scroll-my": j()
|
|
2011
2011
|
}],
|
|
2012
2012
|
/**
|
|
2013
2013
|
* Scroll Margin Start
|
|
2014
2014
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2015
2015
|
*/
|
|
2016
2016
|
"scroll-ms": [{
|
|
2017
|
-
"scroll-ms":
|
|
2017
|
+
"scroll-ms": j()
|
|
2018
2018
|
}],
|
|
2019
2019
|
/**
|
|
2020
2020
|
* Scroll Margin End
|
|
2021
2021
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2022
2022
|
*/
|
|
2023
2023
|
"scroll-me": [{
|
|
2024
|
-
"scroll-me":
|
|
2024
|
+
"scroll-me": j()
|
|
2025
2025
|
}],
|
|
2026
2026
|
/**
|
|
2027
2027
|
* Scroll Margin Top
|
|
2028
2028
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2029
2029
|
*/
|
|
2030
2030
|
"scroll-mt": [{
|
|
2031
|
-
"scroll-mt":
|
|
2031
|
+
"scroll-mt": j()
|
|
2032
2032
|
}],
|
|
2033
2033
|
/**
|
|
2034
2034
|
* Scroll Margin Right
|
|
2035
2035
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2036
2036
|
*/
|
|
2037
2037
|
"scroll-mr": [{
|
|
2038
|
-
"scroll-mr":
|
|
2038
|
+
"scroll-mr": j()
|
|
2039
2039
|
}],
|
|
2040
2040
|
/**
|
|
2041
2041
|
* Scroll Margin Bottom
|
|
2042
2042
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2043
2043
|
*/
|
|
2044
2044
|
"scroll-mb": [{
|
|
2045
|
-
"scroll-mb":
|
|
2045
|
+
"scroll-mb": j()
|
|
2046
2046
|
}],
|
|
2047
2047
|
/**
|
|
2048
2048
|
* Scroll Margin Left
|
|
2049
2049
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2050
2050
|
*/
|
|
2051
2051
|
"scroll-ml": [{
|
|
2052
|
-
"scroll-ml":
|
|
2052
|
+
"scroll-ml": j()
|
|
2053
2053
|
}],
|
|
2054
2054
|
/**
|
|
2055
2055
|
* Scroll Padding
|
|
2056
2056
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2057
2057
|
*/
|
|
2058
2058
|
"scroll-p": [{
|
|
2059
|
-
"scroll-p":
|
|
2059
|
+
"scroll-p": j()
|
|
2060
2060
|
}],
|
|
2061
2061
|
/**
|
|
2062
2062
|
* Scroll Padding X
|
|
2063
2063
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2064
2064
|
*/
|
|
2065
2065
|
"scroll-px": [{
|
|
2066
|
-
"scroll-px":
|
|
2066
|
+
"scroll-px": j()
|
|
2067
2067
|
}],
|
|
2068
2068
|
/**
|
|
2069
2069
|
* Scroll Padding Y
|
|
2070
2070
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2071
2071
|
*/
|
|
2072
2072
|
"scroll-py": [{
|
|
2073
|
-
"scroll-py":
|
|
2073
|
+
"scroll-py": j()
|
|
2074
2074
|
}],
|
|
2075
2075
|
/**
|
|
2076
2076
|
* Scroll Padding Start
|
|
2077
2077
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2078
2078
|
*/
|
|
2079
2079
|
"scroll-ps": [{
|
|
2080
|
-
"scroll-ps":
|
|
2080
|
+
"scroll-ps": j()
|
|
2081
2081
|
}],
|
|
2082
2082
|
/**
|
|
2083
2083
|
* Scroll Padding End
|
|
2084
2084
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2085
2085
|
*/
|
|
2086
2086
|
"scroll-pe": [{
|
|
2087
|
-
"scroll-pe":
|
|
2087
|
+
"scroll-pe": j()
|
|
2088
2088
|
}],
|
|
2089
2089
|
/**
|
|
2090
2090
|
* Scroll Padding Top
|
|
2091
2091
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2092
2092
|
*/
|
|
2093
2093
|
"scroll-pt": [{
|
|
2094
|
-
"scroll-pt":
|
|
2094
|
+
"scroll-pt": j()
|
|
2095
2095
|
}],
|
|
2096
2096
|
/**
|
|
2097
2097
|
* Scroll Padding Right
|
|
2098
2098
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2099
2099
|
*/
|
|
2100
2100
|
"scroll-pr": [{
|
|
2101
|
-
"scroll-pr":
|
|
2101
|
+
"scroll-pr": j()
|
|
2102
2102
|
}],
|
|
2103
2103
|
/**
|
|
2104
2104
|
* Scroll Padding Bottom
|
|
2105
2105
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2106
2106
|
*/
|
|
2107
2107
|
"scroll-pb": [{
|
|
2108
|
-
"scroll-pb":
|
|
2108
|
+
"scroll-pb": j()
|
|
2109
2109
|
}],
|
|
2110
2110
|
/**
|
|
2111
2111
|
* Scroll Padding Left
|
|
2112
2112
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2113
2113
|
*/
|
|
2114
2114
|
"scroll-pl": [{
|
|
2115
|
-
"scroll-pl":
|
|
2115
|
+
"scroll-pl": j()
|
|
2116
2116
|
}],
|
|
2117
2117
|
/**
|
|
2118
2118
|
* Scroll Snap Align
|
|
@@ -2180,7 +2180,7 @@ const T = (r) => {
|
|
|
2180
2180
|
* @see https://tailwindcss.com/docs/will-change
|
|
2181
2181
|
*/
|
|
2182
2182
|
"will-change": [{
|
|
2183
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2183
|
+
"will-change": ["auto", "scroll", "contents", "transform", w]
|
|
2184
2184
|
}],
|
|
2185
2185
|
// SVG
|
|
2186
2186
|
/**
|
|
@@ -2195,7 +2195,7 @@ const T = (r) => {
|
|
|
2195
2195
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2196
2196
|
*/
|
|
2197
2197
|
"stroke-w": [{
|
|
2198
|
-
stroke: [
|
|
2198
|
+
stroke: [H, K, me]
|
|
2199
2199
|
}],
|
|
2200
2200
|
/**
|
|
2201
2201
|
* Stroke
|
|
@@ -2270,24 +2270,24 @@ const T = (r) => {
|
|
|
2270
2270
|
"font-size": ["leading"]
|
|
2271
2271
|
}
|
|
2272
2272
|
};
|
|
2273
|
-
},
|
|
2273
|
+
}, Lr = /* @__PURE__ */ ur(Tr);
|
|
2274
2274
|
function a(...r) {
|
|
2275
|
-
return
|
|
2275
|
+
return Lr(Xe(r));
|
|
2276
2276
|
}
|
|
2277
|
-
function
|
|
2277
|
+
function Pr(r) {
|
|
2278
2278
|
return typeof window > "u" ? "" : window.getComputedStyle(document.documentElement).getPropertyValue(r).trim();
|
|
2279
2279
|
}
|
|
2280
|
-
function
|
|
2280
|
+
function Gr(r) {
|
|
2281
2281
|
let t = r;
|
|
2282
2282
|
const o = t.match(/var\(--[\w-]+/g) ?? [];
|
|
2283
2283
|
for (const l of o) {
|
|
2284
|
-
const c = l.replace(/^var\(/, ""), i =
|
|
2284
|
+
const c = l.replace(/^var\(/, ""), i = Pr(c);
|
|
2285
2285
|
i && (t = t.split(l).join(i));
|
|
2286
2286
|
}
|
|
2287
2287
|
return t;
|
|
2288
2288
|
}
|
|
2289
|
-
function
|
|
2290
|
-
var
|
|
2289
|
+
function Er(r) {
|
|
2290
|
+
var f;
|
|
2291
2291
|
let t = r.trim();
|
|
2292
2292
|
if (/^#([0-9a-f]{3}){1,2}$/i.test(t))
|
|
2293
2293
|
return t.length === 4 && (t = "#" + t.slice(1).split("").map((p) => p + p).join("")), {
|
|
@@ -2295,7 +2295,7 @@ function Gr(r) {
|
|
|
2295
2295
|
g: parseInt(t.slice(3, 5), 16),
|
|
2296
2296
|
b: parseInt(t.slice(5, 7), 16)
|
|
2297
2297
|
};
|
|
2298
|
-
const c = ((
|
|
2298
|
+
const c = ((f = Gr(t).replace(/[()/;,]/g, " ").match(/-?\d+(\.\d+)?/g)) == null ? void 0 : f.map(Number)) ?? [];
|
|
2299
2299
|
if (c.length < 3) return null;
|
|
2300
2300
|
const [i, s, d] = c;
|
|
2301
2301
|
return {
|
|
@@ -2304,21 +2304,21 @@ function Gr(r) {
|
|
|
2304
2304
|
b: Math.max(0, Math.min(255, Math.round(d)))
|
|
2305
2305
|
};
|
|
2306
2306
|
}
|
|
2307
|
-
function
|
|
2308
|
-
const t =
|
|
2307
|
+
function ue(r) {
|
|
2308
|
+
const t = Er(r);
|
|
2309
2309
|
if (!t) return 0;
|
|
2310
2310
|
const o = [t.r, t.g, t.b].map((l) => l / 255).map((l) => l <= 0.03928 ? l / 12.92 : Math.pow((l + 0.055) / 1.055, 2.4));
|
|
2311
2311
|
return 0.2126 * o[0] + 0.7152 * o[1] + 0.0722 * o[2];
|
|
2312
2312
|
}
|
|
2313
|
-
function
|
|
2313
|
+
function ze(r, t) {
|
|
2314
2314
|
const [o, l] = r > t ? [r, t] : [t, r];
|
|
2315
2315
|
return (o + 0.05) / (l + 0.05);
|
|
2316
2316
|
}
|
|
2317
2317
|
function $(r, t = "#ffffff", o = "#0f172a") {
|
|
2318
|
-
const l =
|
|
2319
|
-
return
|
|
2318
|
+
const l = ue(r), c = ue(t), i = ue(o);
|
|
2319
|
+
return ze(l, c) >= ze(l, i) ? t : o;
|
|
2320
2320
|
}
|
|
2321
|
-
function
|
|
2321
|
+
function Br(r, t) {
|
|
2322
2322
|
const o = { ...t };
|
|
2323
2323
|
for (const l in t) {
|
|
2324
2324
|
const c = r[l], i = t[l];
|
|
@@ -2328,34 +2328,34 @@ function Er(r, t) {
|
|
|
2328
2328
|
}
|
|
2329
2329
|
return { ...r, ...o };
|
|
2330
2330
|
}
|
|
2331
|
-
function
|
|
2331
|
+
function Ir(...r) {
|
|
2332
2332
|
return (t) => {
|
|
2333
2333
|
for (const o of r)
|
|
2334
2334
|
typeof o == "function" ? o(t) : o != null && (o.current = t);
|
|
2335
2335
|
};
|
|
2336
2336
|
}
|
|
2337
|
-
const
|
|
2337
|
+
const We = A((r, t) => {
|
|
2338
2338
|
const { children: o, ...l } = r;
|
|
2339
|
-
if (!
|
|
2339
|
+
if (!_e(o))
|
|
2340
2340
|
return null;
|
|
2341
|
-
const c =
|
|
2342
|
-
return
|
|
2343
|
-
...
|
|
2341
|
+
const c = Je.only(o), i = Ir(t, c.ref);
|
|
2342
|
+
return Qe(c, {
|
|
2343
|
+
...Br(l, c.props),
|
|
2344
2344
|
ref: i
|
|
2345
2345
|
});
|
|
2346
2346
|
});
|
|
2347
|
-
|
|
2348
|
-
const
|
|
2347
|
+
We.displayName = "Slot";
|
|
2348
|
+
const Rr = {
|
|
2349
2349
|
primary: "bg-primary text-on-primary hover:bg-primary-hover",
|
|
2350
2350
|
dark: "bg-secondary text-on-secondary hover:bg-secondary-hover",
|
|
2351
2351
|
outline: "border border-border bg-transparent text-foreground hover:border-foreground/30 hover:bg-surface",
|
|
2352
2352
|
ghost: "text-foreground hover:bg-surface",
|
|
2353
2353
|
link: "px-0 h-auto text-primary hover:text-primary-hover"
|
|
2354
|
-
},
|
|
2354
|
+
}, Vr = {
|
|
2355
2355
|
sm: "h-9 px-4 text-[13px] gap-1.5",
|
|
2356
2356
|
md: "h-11 px-5 text-sm gap-2",
|
|
2357
2357
|
lg: "h-12 px-7 text-[15px] gap-2"
|
|
2358
|
-
},
|
|
2358
|
+
}, Fr = "group inline-flex select-none items-center justify-center rounded-lg font-medium tracking-tight transition-[background-color,border-color,color,box-shadow] duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 cursor-pointer", $r = A(
|
|
2359
2359
|
({
|
|
2360
2360
|
className: r,
|
|
2361
2361
|
variant: t = "primary",
|
|
@@ -2365,40 +2365,40 @@ const Ir = {
|
|
|
2365
2365
|
customColor: i,
|
|
2366
2366
|
fullWidth: s,
|
|
2367
2367
|
asChild: d,
|
|
2368
|
-
style:
|
|
2368
|
+
style: f,
|
|
2369
2369
|
type: p = "button",
|
|
2370
2370
|
children: h,
|
|
2371
2371
|
...m
|
|
2372
|
-
},
|
|
2372
|
+
}, b) => {
|
|
2373
2373
|
const g = i ? {
|
|
2374
|
-
...
|
|
2374
|
+
...f,
|
|
2375
2375
|
backgroundColor: i,
|
|
2376
2376
|
color: $(i)
|
|
2377
|
-
} :
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
i ? "hover:brightness-95" :
|
|
2381
|
-
|
|
2377
|
+
} : f, u = t === "link", x = a(
|
|
2378
|
+
Fr,
|
|
2379
|
+
Vr[o],
|
|
2380
|
+
i ? "hover:brightness-95" : Rr[t],
|
|
2381
|
+
u && "underline-offset-4 hover:underline",
|
|
2382
2382
|
s && "w-full",
|
|
2383
2383
|
r
|
|
2384
2384
|
);
|
|
2385
|
-
return d ? /* @__PURE__ */ e(
|
|
2385
|
+
return d ? /* @__PURE__ */ e(We, { ref: b, style: g, className: x, ...m, children: h }) : /* @__PURE__ */ n(
|
|
2386
2386
|
"button",
|
|
2387
2387
|
{
|
|
2388
|
-
ref:
|
|
2388
|
+
ref: b,
|
|
2389
2389
|
type: p,
|
|
2390
2390
|
style: g,
|
|
2391
2391
|
className: x,
|
|
2392
2392
|
...m,
|
|
2393
2393
|
children: [
|
|
2394
|
-
l ? /* @__PURE__ */ e("span", { className: a("shrink-0", !
|
|
2394
|
+
l ? /* @__PURE__ */ e("span", { className: a("shrink-0", !u && "opacity-70"), children: l }) : null,
|
|
2395
2395
|
h,
|
|
2396
2396
|
c ? /* @__PURE__ */ e(
|
|
2397
2397
|
"span",
|
|
2398
2398
|
{
|
|
2399
2399
|
className: a(
|
|
2400
2400
|
"shrink-0 transition-transform duration-200",
|
|
2401
|
-
!
|
|
2401
|
+
!u && "opacity-70 group-hover:translate-x-0.5"
|
|
2402
2402
|
),
|
|
2403
2403
|
children: c
|
|
2404
2404
|
}
|
|
@@ -2408,27 +2408,27 @@ const Ir = {
|
|
|
2408
2408
|
);
|
|
2409
2409
|
}
|
|
2410
2410
|
);
|
|
2411
|
-
|
|
2412
|
-
const
|
|
2411
|
+
$r.displayName = "Button";
|
|
2412
|
+
const Hr = "inline-flex items-center rounded-full font-medium tracking-tight transition-colors duration-200", Or = {
|
|
2413
2413
|
sm: "px-2.5 py-0.5 text-xs gap-1",
|
|
2414
2414
|
md: "px-3 py-1 text-[13px] gap-1.5"
|
|
2415
|
-
},
|
|
2415
|
+
}, Ur = {
|
|
2416
2416
|
solid: "bg-primary text-on-primary",
|
|
2417
2417
|
soft: "bg-primary-soft text-primary",
|
|
2418
2418
|
outline: "text-muted-foreground ring-1 ring-inset ring-border",
|
|
2419
2419
|
dot: "text-foreground ring-1 ring-inset ring-border bg-surface"
|
|
2420
|
-
},
|
|
2421
|
-
({ className: r, variant: t = "soft", size: o = "md", icon: l, customColor: c, style: i, children: s, ...d },
|
|
2420
|
+
}, be = A(
|
|
2421
|
+
({ className: r, variant: t = "soft", size: o = "md", icon: l, customColor: c, style: i, children: s, ...d }, f) => {
|
|
2422
2422
|
const p = c ? { ...i, backgroundColor: c, color: $(c, "#111111", "#ffffff") } : i;
|
|
2423
2423
|
return /* @__PURE__ */ n(
|
|
2424
2424
|
"span",
|
|
2425
2425
|
{
|
|
2426
|
-
ref:
|
|
2426
|
+
ref: f,
|
|
2427
2427
|
style: p,
|
|
2428
2428
|
className: a(
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
c ? void 0 :
|
|
2429
|
+
Hr,
|
|
2430
|
+
Or[o],
|
|
2431
|
+
c ? void 0 : Ur[t],
|
|
2432
2432
|
r
|
|
2433
2433
|
),
|
|
2434
2434
|
...d,
|
|
@@ -2451,19 +2451,19 @@ const $r = "inline-flex items-center rounded-full font-medium tracking-tight tra
|
|
|
2451
2451
|
);
|
|
2452
2452
|
}
|
|
2453
2453
|
);
|
|
2454
|
-
|
|
2455
|
-
const
|
|
2454
|
+
be.displayName = "Badge";
|
|
2455
|
+
const Wr = {
|
|
2456
2456
|
outlined: "border border-border bg-surface",
|
|
2457
2457
|
elevated: "border border-border bg-surface shadow-soft",
|
|
2458
2458
|
inset: "bg-surface-strong"
|
|
2459
|
-
},
|
|
2459
|
+
}, Kr = A(
|
|
2460
2460
|
({ className: r, variant: t = "outlined", interactive: o = !1, ...l }, c) => /* @__PURE__ */ e(
|
|
2461
2461
|
"div",
|
|
2462
2462
|
{
|
|
2463
2463
|
ref: c,
|
|
2464
2464
|
className: a(
|
|
2465
2465
|
"rounded-xl transition-[border-color,box-shadow,transform] duration-200",
|
|
2466
|
-
|
|
2466
|
+
Wr[t],
|
|
2467
2467
|
o && "cursor-pointer hover:-translate-y-0.5 hover:border-foreground/20 hover:shadow-raised",
|
|
2468
2468
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
2469
2469
|
r
|
|
@@ -2472,15 +2472,15 @@ const Ur = {
|
|
|
2472
2472
|
}
|
|
2473
2473
|
)
|
|
2474
2474
|
);
|
|
2475
|
-
|
|
2476
|
-
const
|
|
2475
|
+
Kr.displayName = "Card";
|
|
2476
|
+
const Dr = A(
|
|
2477
2477
|
({ className: r, icon: t, children: o, ...l }, c) => /* @__PURE__ */ n("div", { ref: c, className: a("flex flex-col gap-2 p-6 pb-0", r), ...l, children: [
|
|
2478
2478
|
t ? /* @__PURE__ */ e("div", { className: "mb-1.5", children: t }) : null,
|
|
2479
2479
|
o
|
|
2480
2480
|
] })
|
|
2481
2481
|
);
|
|
2482
|
-
|
|
2483
|
-
const
|
|
2482
|
+
Dr.displayName = "CardHeader";
|
|
2483
|
+
const Yr = A(
|
|
2484
2484
|
({ className: r, ...t }, o) => /* @__PURE__ */ e(
|
|
2485
2485
|
"h3",
|
|
2486
2486
|
{
|
|
@@ -2490,32 +2490,32 @@ const Dr = L(
|
|
|
2490
2490
|
}
|
|
2491
2491
|
)
|
|
2492
2492
|
);
|
|
2493
|
-
|
|
2494
|
-
const
|
|
2493
|
+
Yr.displayName = "CardTitle";
|
|
2494
|
+
const qr = A(
|
|
2495
2495
|
({ className: r, ...t }, o) => /* @__PURE__ */ e("p", { ref: o, className: a("text-sm leading-6 text-muted-foreground", r), ...t })
|
|
2496
2496
|
);
|
|
2497
|
-
|
|
2498
|
-
const
|
|
2497
|
+
qr.displayName = "CardDescription";
|
|
2498
|
+
const Zr = A(
|
|
2499
2499
|
({ className: r, ...t }, o) => /* @__PURE__ */ e("div", { ref: o, className: a("p-6 pt-5", r), ...t })
|
|
2500
2500
|
);
|
|
2501
|
-
|
|
2502
|
-
const
|
|
2501
|
+
Zr.displayName = "CardContent";
|
|
2502
|
+
const _r = A(
|
|
2503
2503
|
({ className: r, ...t }, o) => /* @__PURE__ */ e("div", { ref: o, className: a("flex items-center gap-3 border-t border-border/70 p-6 pt-5", r), ...t })
|
|
2504
2504
|
);
|
|
2505
|
-
|
|
2506
|
-
const
|
|
2505
|
+
_r.displayName = "CardFooter";
|
|
2506
|
+
const Jr = {
|
|
2507
2507
|
sm: "max-w-xl",
|
|
2508
2508
|
md: "max-w-3xl",
|
|
2509
2509
|
lg: "max-w-5xl",
|
|
2510
2510
|
xl: "max-w-6xl"
|
|
2511
|
-
},
|
|
2511
|
+
}, Y = A(
|
|
2512
2512
|
({ className: r, as: t, size: o = "xl", gutters: l = !0, ...c }, i) => /* @__PURE__ */ e(
|
|
2513
2513
|
t ?? "div",
|
|
2514
2514
|
{
|
|
2515
2515
|
ref: i,
|
|
2516
2516
|
className: a(
|
|
2517
2517
|
"mx-auto w-full",
|
|
2518
|
-
o !== "full" &&
|
|
2518
|
+
o !== "full" && Jr[o],
|
|
2519
2519
|
l && "px-5 sm:px-8",
|
|
2520
2520
|
r
|
|
2521
2521
|
),
|
|
@@ -2523,8 +2523,8 @@ const _r = {
|
|
|
2523
2523
|
}
|
|
2524
2524
|
)
|
|
2525
2525
|
);
|
|
2526
|
-
|
|
2527
|
-
const
|
|
2526
|
+
Y.displayName = "Container";
|
|
2527
|
+
const Qr = {
|
|
2528
2528
|
0: "gap-0",
|
|
2529
2529
|
1: "gap-1",
|
|
2530
2530
|
2: "gap-2",
|
|
@@ -2537,7 +2537,7 @@ const Jr = {
|
|
|
2537
2537
|
12: "gap-12",
|
|
2538
2538
|
16: "gap-16",
|
|
2539
2539
|
20: "gap-20"
|
|
2540
|
-
},
|
|
2540
|
+
}, Xr = A(
|
|
2541
2541
|
({ className: r, gap: t = 4, horizontal: o = !1, ...l }, c) => /* @__PURE__ */ e(
|
|
2542
2542
|
"div",
|
|
2543
2543
|
{
|
|
@@ -2545,26 +2545,26 @@ const Jr = {
|
|
|
2545
2545
|
className: a(
|
|
2546
2546
|
"flex",
|
|
2547
2547
|
o ? "flex-row flex-wrap items-center" : "flex-col",
|
|
2548
|
-
|
|
2548
|
+
Qr[t],
|
|
2549
2549
|
r
|
|
2550
2550
|
),
|
|
2551
2551
|
...l
|
|
2552
2552
|
}
|
|
2553
2553
|
)
|
|
2554
2554
|
);
|
|
2555
|
-
|
|
2556
|
-
const
|
|
2557
|
-
caps: a(
|
|
2555
|
+
Xr.displayName = "Stack";
|
|
2556
|
+
const fe = "inline-flex items-center gap-2 text-xs font-semibold tracking-[0.18em] uppercase", et = {
|
|
2557
|
+
caps: a(fe, "text-foreground/50"),
|
|
2558
2558
|
soft: a(
|
|
2559
|
-
|
|
2559
|
+
fe,
|
|
2560
2560
|
"rounded-full px-3 py-1 text-primary tracking-widest bg-primary-soft uppercase"
|
|
2561
2561
|
),
|
|
2562
|
-
plain: a(
|
|
2563
|
-
},
|
|
2564
|
-
({ className: r, eyebrow: t, eyebrowStyle: o = "caps", title: l, description: c, align: i = "center", children: s, ...d },
|
|
2562
|
+
plain: a(fe, "text-primary")
|
|
2563
|
+
}, Ke = A(
|
|
2564
|
+
({ className: r, eyebrow: t, eyebrowStyle: o = "caps", title: l, description: c, align: i = "center", children: s, ...d }, f) => /* @__PURE__ */ n(
|
|
2565
2565
|
"div",
|
|
2566
2566
|
{
|
|
2567
|
-
ref:
|
|
2567
|
+
ref: f,
|
|
2568
2568
|
className: a(
|
|
2569
2569
|
"mb-14 max-w-2xl",
|
|
2570
2570
|
i === "center" && "mx-auto text-center",
|
|
@@ -2572,7 +2572,7 @@ const ue = "inline-flex items-center gap-2 text-xs font-semibold tracking-[0.18e
|
|
|
2572
2572
|
),
|
|
2573
2573
|
...d,
|
|
2574
2574
|
children: [
|
|
2575
|
-
t ? /* @__PURE__ */ e("p", { className:
|
|
2575
|
+
t ? /* @__PURE__ */ e("p", { className: et[o], children: t }) : null,
|
|
2576
2576
|
l ? /* @__PURE__ */ e("h2", { className: "mt-5 font-display text-balance text-[1.9rem] font-semibold leading-[1.08] tracking-tight text-foreground sm:text-4xl", children: l }) : null,
|
|
2577
2577
|
c ? /* @__PURE__ */ e("p", { className: "mt-4 text-pretty text-base leading-7 text-muted-foreground sm:text-lg", children: c }) : null,
|
|
2578
2578
|
s
|
|
@@ -2580,12 +2580,12 @@ const ue = "inline-flex items-center gap-2 text-xs font-semibold tracking-[0.18e
|
|
|
2580
2580
|
}
|
|
2581
2581
|
)
|
|
2582
2582
|
);
|
|
2583
|
-
|
|
2584
|
-
const
|
|
2583
|
+
Ke.displayName = "SectionHeader";
|
|
2584
|
+
const rt = {
|
|
2585
2585
|
sm: "py-14",
|
|
2586
2586
|
md: "py-20 sm:py-24",
|
|
2587
2587
|
lg: "py-24 sm:py-32"
|
|
2588
|
-
},
|
|
2588
|
+
}, tt = A(
|
|
2589
2589
|
({
|
|
2590
2590
|
className: r,
|
|
2591
2591
|
containerClassName: t,
|
|
@@ -2595,12 +2595,12 @@ const et = {
|
|
|
2595
2595
|
title: i,
|
|
2596
2596
|
description: s,
|
|
2597
2597
|
align: d = "center",
|
|
2598
|
-
children:
|
|
2598
|
+
children: f,
|
|
2599
2599
|
id: p,
|
|
2600
2600
|
...h
|
|
2601
|
-
}, m) => /* @__PURE__ */ e("section", { ref: m, id: p, className: a("w-full",
|
|
2601
|
+
}, m) => /* @__PURE__ */ e("section", { ref: m, id: p, className: a("w-full", rt[o], r), ...h, children: /* @__PURE__ */ n(Y, { className: t, children: [
|
|
2602
2602
|
l || i || s ? /* @__PURE__ */ e(
|
|
2603
|
-
|
|
2603
|
+
Ke,
|
|
2604
2604
|
{
|
|
2605
2605
|
eyebrow: l,
|
|
2606
2606
|
eyebrowStyle: c,
|
|
@@ -2609,21 +2609,21 @@ const et = {
|
|
|
2609
2609
|
align: d
|
|
2610
2610
|
}
|
|
2611
2611
|
) : null,
|
|
2612
|
-
|
|
2612
|
+
f
|
|
2613
2613
|
] }) })
|
|
2614
2614
|
);
|
|
2615
|
-
|
|
2616
|
-
function
|
|
2615
|
+
tt.displayName = "Section";
|
|
2616
|
+
function Ae(r) {
|
|
2617
2617
|
return typeof window > "u" ? "" : window.getComputedStyle(document.documentElement).getPropertyValue(r).trim();
|
|
2618
2618
|
}
|
|
2619
|
-
function
|
|
2620
|
-
const [o, l] =
|
|
2621
|
-
const c =
|
|
2619
|
+
function Ce(r, t = "#ffffff") {
|
|
2620
|
+
const [o, l] = F(() => {
|
|
2621
|
+
const c = Ae(r);
|
|
2622
2622
|
return c ? $(c) : t;
|
|
2623
2623
|
});
|
|
2624
|
-
return
|
|
2624
|
+
return q(() => {
|
|
2625
2625
|
const c = () => {
|
|
2626
|
-
const s =
|
|
2626
|
+
const s = Ae(r);
|
|
2627
2627
|
l(s ? $(s) : t);
|
|
2628
2628
|
};
|
|
2629
2629
|
c();
|
|
@@ -2634,9 +2634,9 @@ function ke(r, t = "#ffffff") {
|
|
|
2634
2634
|
}), () => i.disconnect();
|
|
2635
2635
|
}, [r, t]), o;
|
|
2636
2636
|
}
|
|
2637
|
-
const
|
|
2638
|
-
({ className: r, variant: t = "split", eyebrow: o, title: l, description: c, primaryAction: i, secondaryAction: s, media: d, meta:
|
|
2639
|
-
const
|
|
2637
|
+
const Te = "font-display font-semibold tracking-[-0.03em] text-balance text-foreground", ot = A(
|
|
2638
|
+
({ className: r, variant: t = "split", eyebrow: o, title: l, description: c, primaryAction: i, secondaryAction: s, media: d, meta: f, id: p, ...h }, m) => {
|
|
2639
|
+
const b = t === "centered", u = Ce(t === "statement" ? "--color-secondary" : "--color-primary"), x = "relative mx-auto flex w-full max-w-6xl flex-col items-center px-5 sm:px-8", v = typeof o == "string" ? /* @__PURE__ */ e("p", { className: "text-xs font-semibold uppercase tracking-[0.2em] text-primary", children: o }) : o ? /* @__PURE__ */ e("div", { children: o }) : null, N = i || s ? /* @__PURE__ */ n("div", { className: "flex flex-wrap items-center gap-4", children: [
|
|
2640
2640
|
i,
|
|
2641
2641
|
s
|
|
2642
2642
|
] }) : null;
|
|
@@ -2649,19 +2649,19 @@ const Ae = "font-display font-semibold tracking-[-0.03em] text-balance text-fore
|
|
|
2649
2649
|
...h,
|
|
2650
2650
|
children: /* @__PURE__ */ n("div", { className: a(x, "items-start gap-14 pt-20 pb-20 sm:pt-28 sm:pb-28 lg:grid lg:grid-cols-[1.05fr_0.95fr] lg:gap-20"), children: [
|
|
2651
2651
|
/* @__PURE__ */ n("div", { className: "max-w-xl", children: [
|
|
2652
|
-
|
|
2653
|
-
/* @__PURE__ */ e("h1", { className: a(
|
|
2652
|
+
v,
|
|
2653
|
+
/* @__PURE__ */ e("h1", { className: a(Te, "mt-6 text-5xl leading-[1.03] sm:text-6xl lg:text-7xl"), children: l }),
|
|
2654
2654
|
c ? /* @__PURE__ */ e("p", { className: "mt-7 max-w-md text-pretty leading-relaxed text-muted-foreground sm:text-lg", children: c }) : null,
|
|
2655
2655
|
N ? /* @__PURE__ */ e("div", { className: "mt-10", children: N }) : null,
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
|
|
2659
|
-
] },
|
|
2656
|
+
f ? /* @__PURE__ */ e("ul", { className: "mt-14 flex flex-wrap items-center gap-x-8 gap-y-3 border-t border-border pt-6", children: f.map((k) => /* @__PURE__ */ n("li", { className: "flex items-center gap-2 text-sm text-muted-foreground", children: [
|
|
2657
|
+
k.icon ? /* @__PURE__ */ e("span", { className: "text-foreground/35", children: k.icon }) : null,
|
|
2658
|
+
k.label
|
|
2659
|
+
] }, k.label)) }) : null
|
|
2660
2660
|
] }),
|
|
2661
2661
|
d ? /* @__PURE__ */ e("div", { className: "w-full self-center", children: d }) : null
|
|
2662
2662
|
] })
|
|
2663
2663
|
}
|
|
2664
|
-
) :
|
|
2664
|
+
) : b ? /* @__PURE__ */ e(
|
|
2665
2665
|
"section",
|
|
2666
2666
|
{
|
|
2667
2667
|
ref: m,
|
|
@@ -2669,23 +2669,23 @@ const Ae = "font-display font-semibold tracking-[-0.03em] text-balance text-fore
|
|
|
2669
2669
|
className: a("relative w-full border-b border-border bg-background", r),
|
|
2670
2670
|
...h,
|
|
2671
2671
|
children: /* @__PURE__ */ n("div", { className: a(x, "pt-24 pb-20 text-center sm:pt-32 sm:pb-24"), children: [
|
|
2672
|
-
|
|
2673
|
-
/* @__PURE__ */ e("h1", { className: a(
|
|
2672
|
+
v,
|
|
2673
|
+
/* @__PURE__ */ e("h1", { className: a(Te, "mt-7 max-w-4xl text-5xl leading-[1.04] sm:text-6xl lg:text-7xl"), children: l }),
|
|
2674
2674
|
c ? /* @__PURE__ */ e("p", { className: "mx-auto mt-7 max-w-xl text-pretty leading-relaxed text-muted-foreground sm:text-lg", children: c }) : null,
|
|
2675
2675
|
N ? /* @__PURE__ */ e("div", { className: "mt-10 justify-center", children: N }) : null,
|
|
2676
|
-
|
|
2676
|
+
f ? /* @__PURE__ */ e("ul", { className: "mt-14 flex flex-wrap items-center justify-center gap-x-9 gap-y-3", children: f.map((k, L) => /* @__PURE__ */ n(
|
|
2677
2677
|
"li",
|
|
2678
2678
|
{
|
|
2679
2679
|
className: a(
|
|
2680
2680
|
"flex items-center gap-2 text-sm text-muted-foreground",
|
|
2681
|
-
|
|
2681
|
+
L > 0 && "sm:border-l sm:border-border sm:pl-9"
|
|
2682
2682
|
),
|
|
2683
2683
|
children: [
|
|
2684
|
-
|
|
2685
|
-
|
|
2684
|
+
k.icon ? /* @__PURE__ */ e("span", { className: "text-foreground/35", children: k.icon }) : null,
|
|
2685
|
+
k.label
|
|
2686
2686
|
]
|
|
2687
2687
|
},
|
|
2688
|
-
|
|
2688
|
+
k.label
|
|
2689
2689
|
)) }) : null,
|
|
2690
2690
|
d ? /* @__PURE__ */ e("div", { className: "mt-16 w-full", children: d }) : null
|
|
2691
2691
|
] })
|
|
@@ -2696,7 +2696,7 @@ const Ae = "font-display font-semibold tracking-[-0.03em] text-balance text-fore
|
|
|
2696
2696
|
ref: m,
|
|
2697
2697
|
id: p,
|
|
2698
2698
|
className: a("relative w-full overflow-hidden bg-secondary", r),
|
|
2699
|
-
style: { color:
|
|
2699
|
+
style: { color: u },
|
|
2700
2700
|
...h,
|
|
2701
2701
|
children: [
|
|
2702
2702
|
/* @__PURE__ */ e("div", { "aria-hidden": !0, className: "pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay" }),
|
|
@@ -2706,24 +2706,24 @@ const Ae = "font-display font-semibold tracking-[-0.03em] text-balance text-fore
|
|
|
2706
2706
|
"h1",
|
|
2707
2707
|
{
|
|
2708
2708
|
className: "max-w-5xl font-display text-[2.9rem] font-semibold leading-[1.02] tracking-[-0.04em] text-balance sm:text-7xl lg:text-8xl",
|
|
2709
|
-
style: { color:
|
|
2709
|
+
style: { color: u },
|
|
2710
2710
|
children: l
|
|
2711
2711
|
}
|
|
2712
2712
|
),
|
|
2713
|
-
c ? /* @__PURE__ */ e("p", { className: "mx-auto mt-8 max-w-xl text-pretty leading-relaxed sm:text-lg", style: { color:
|
|
2713
|
+
c ? /* @__PURE__ */ e("p", { className: "mx-auto mt-8 max-w-xl text-pretty leading-relaxed sm:text-lg", style: { color: u, opacity: 0.72 }, children: c }) : null,
|
|
2714
2714
|
N ? /* @__PURE__ */ e("div", { className: "mt-11 justify-center", children: N }) : null,
|
|
2715
|
-
|
|
2716
|
-
|
|
2717
|
-
|
|
2718
|
-
] },
|
|
2715
|
+
f ? /* @__PURE__ */ e("ul", { className: "mt-16 flex flex-wrap items-center justify-center gap-x-10 gap-y-3", children: f.map((k) => /* @__PURE__ */ n("li", { className: "flex items-center gap-2 text-sm font-medium", style: { color: u, opacity: 0.72 }, children: [
|
|
2716
|
+
k.icon ? /* @__PURE__ */ e("span", { children: k.icon }) : null,
|
|
2717
|
+
k.label
|
|
2718
|
+
] }, k.label)) }) : null
|
|
2719
2719
|
] })
|
|
2720
2720
|
]
|
|
2721
2721
|
}
|
|
2722
2722
|
);
|
|
2723
2723
|
}
|
|
2724
2724
|
);
|
|
2725
|
-
|
|
2726
|
-
const
|
|
2725
|
+
ot.displayName = "Hero";
|
|
2726
|
+
const M = {
|
|
2727
2727
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2728
2728
|
viewBox: "0 0 24 24",
|
|
2729
2729
|
fill: "none",
|
|
@@ -2732,82 +2732,82 @@ const C = {
|
|
|
2732
2732
|
strokeLinecap: "round",
|
|
2733
2733
|
strokeLinejoin: "round",
|
|
2734
2734
|
"aria-hidden": !0
|
|
2735
|
-
}, X = (r) => /* @__PURE__ */ n("svg", { ...
|
|
2735
|
+
}, X = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2736
2736
|
/* @__PURE__ */ e("path", { d: "M5 12h14" }),
|
|
2737
2737
|
/* @__PURE__ */ e("path", { d: "m13 6 6 6-6 6" })
|
|
2738
|
-
] }),
|
|
2738
|
+
] }), nt = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2739
2739
|
/* @__PURE__ */ e("path", { d: "M7 17 17 7" }),
|
|
2740
2740
|
/* @__PURE__ */ e("path", { d: "M8 7h9v9" })
|
|
2741
|
-
] }),
|
|
2741
|
+
] }), lt = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2742
2742
|
/* @__PURE__ */ e("path", { d: "M12 5v14" }),
|
|
2743
2743
|
/* @__PURE__ */ e("path", { d: "m6 13 6 6 6-6" })
|
|
2744
|
-
] }),
|
|
2744
|
+
] }), st = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2745
2745
|
/* @__PURE__ */ e("path", { d: "M12 19V5" }),
|
|
2746
2746
|
/* @__PURE__ */ e("path", { d: "m6 11 6-6 6 6" })
|
|
2747
|
-
] }), ee = (r) => /* @__PURE__ */ e("svg", { ...
|
|
2747
|
+
] }), ee = (r) => /* @__PURE__ */ e("svg", { ...M, ...r, children: /* @__PURE__ */ e("path", { d: "M20 6 9 17l-5-5" }) }), Le = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2748
2748
|
/* @__PURE__ */ e("path", { d: "M12 5v14" }),
|
|
2749
2749
|
/* @__PURE__ */ e("path", { d: "M5 12h14" })
|
|
2750
|
-
] }),
|
|
2750
|
+
] }), Me = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2751
2751
|
/* @__PURE__ */ e("path", { d: "M18 6 6 18" }),
|
|
2752
2752
|
/* @__PURE__ */ e("path", { d: "m6 6 12 12" })
|
|
2753
|
-
] }),
|
|
2753
|
+
] }), De = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2754
2754
|
/* @__PURE__ */ e("path", { d: "M4 7h16" }),
|
|
2755
2755
|
/* @__PURE__ */ e("path", { d: "M4 12h16" }),
|
|
2756
2756
|
/* @__PURE__ */ e("path", { d: "M4 17h16" })
|
|
2757
|
-
] }),
|
|
2757
|
+
] }), ve = (r) => /* @__PURE__ */ e("svg", { ...M, ...r, children: /* @__PURE__ */ e("path", { d: "m6 9 6 6 6-6" }) }), at = (r) => /* @__PURE__ */ e("svg", { ...M, ...r, children: /* @__PURE__ */ e("path", { d: "m9 6 6 6-6 6" }) }), it = (r) => /* @__PURE__ */ e("svg", { ...M, ...r, children: /* @__PURE__ */ e("path", { d: "m15 6-6 6 6 6" }) }), Ht = (r) => /* @__PURE__ */ e("svg", { ...M, ...r, children: /* @__PURE__ */ e("path", { d: "M13 2 3 14h7l-1 8 10-12h-7l1-8z" }) }), Ot = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2758
2758
|
/* @__PURE__ */ e("path", { d: "M12 3 5 6v5c0 4.5 3 7.5 7 9 4-1.5 7-4.5 7-9V6l-7-3z" }),
|
|
2759
2759
|
/* @__PURE__ */ e("path", { d: "m9 12 2 2 4-4" })
|
|
2760
|
-
] }),
|
|
2760
|
+
] }), Ut = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2761
2761
|
/* @__PURE__ */ e("path", { d: "m12 2 9 5-9 5-9-5 9-5z" }),
|
|
2762
2762
|
/* @__PURE__ */ e("path", { d: "m3 12 9 5 9-5" }),
|
|
2763
2763
|
/* @__PURE__ */ e("path", { d: "m3 17 9 5 9-5" })
|
|
2764
|
-
] }),
|
|
2764
|
+
] }), Wt = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2765
2765
|
/* @__PURE__ */ e("rect", { width: "14", height: "20", x: "5", y: "2", rx: "2.5" }),
|
|
2766
2766
|
/* @__PURE__ */ e("path", { d: "M12 18h.01" })
|
|
2767
|
-
] }),
|
|
2767
|
+
] }), Kt = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2768
2768
|
/* @__PURE__ */ e("path", { d: "M12 20a8 8 0 1 0 0-16 8 8 0 0 0 0 16z" }),
|
|
2769
2769
|
/* @__PURE__ */ e("path", { d: "m12 14 4-4" }),
|
|
2770
2770
|
/* @__PURE__ */ e("path", { d: "M12 10.5 9 13.5" })
|
|
2771
|
-
] }),
|
|
2771
|
+
] }), Dt = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2772
2772
|
/* @__PURE__ */ e("path", { d: "M3 20h18" }),
|
|
2773
2773
|
/* @__PURE__ */ e("path", { d: "M7 20V8" }),
|
|
2774
2774
|
/* @__PURE__ */ e("path", { d: "M12 20V4" }),
|
|
2775
2775
|
/* @__PURE__ */ e("path", { d: "M17 20v-7" })
|
|
2776
|
-
] }),
|
|
2776
|
+
] }), Yt = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2777
2777
|
/* @__PURE__ */ e("path", { d: "M16 21v-2a4 4 0 0 0-4-4H7a4 4 0 0 0-4 4v2" }),
|
|
2778
2778
|
/* @__PURE__ */ e("circle", { cx: "9", cy: "7", r: "4" }),
|
|
2779
2779
|
/* @__PURE__ */ e("path", { d: "M22 21v-2a4 4 0 0 0-3-3.87" }),
|
|
2780
2780
|
/* @__PURE__ */ e("path", { d: "M16 3.13a4 4 0 0 1 0 7.75" })
|
|
2781
|
-
] }),
|
|
2781
|
+
] }), ct = (r) => /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": !0, ...r, children: /* @__PURE__ */ e("path", { d: "M12 2.5c.33 0 .63.19.77.5l1.98 4.01 4.42.64c.62.09.87.85.42 1.29l-3.2 3.12.76 4.4c.11.62-.55 1.1-1.1.8L12 15.13l-3.95 2.08c-.56.29-1.21-.18-1.1-.8l.76-4.4-3.2-3.12a.78.78 0 0 1 .42-1.29l4.42-.64L11.23 3c.14-.31.44-.5.77-.5z" }) }), Ye = (r) => /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": !0, ...r, children: /* @__PURE__ */ e("path", { d: "M10.5 5C7 5 4.5 7.5 4.5 11c0 3.3 2.2 5.5 5.2 5.5.2 0 .4 0 .5-.1-.2 1.5-1.3 2.6-2.9 3.2a.75.75 0 1 0 .4 1.4c3.6-1 5.8-3.8 5.8-7.7V7.5C13 6.1 11.9 5 10.5 5zm9 0C16 5 13.5 7.5 13.5 11c0 3.3 2.2 5.5 5.2 5.5.2 0 .4 0 .5-.1-.2 1.5-1.3 2.6-2.9 3.2a.75.75 0 1 0 .4 1.4c3.6-1 5.8-3.8 5.8-7.7V7.5C22 6.1 20.9 5 19.5 5z" }) }), Pe = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2782
2782
|
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2783
2783
|
/* @__PURE__ */ e("path", { d: "M3 12h18" }),
|
|
2784
2784
|
/* @__PURE__ */ e("path", { d: "M12 3a14 14 0 0 1 0 18 14 14 0 0 1 0-18z" })
|
|
2785
|
-
] }),
|
|
2785
|
+
] }), dt = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2786
2786
|
/* @__PURE__ */ e("rect", { width: "18", height: "14", x: "3", y: "5", rx: "2" }),
|
|
2787
2787
|
/* @__PURE__ */ e("path", { d: "m3 7 9 6 9-6" })
|
|
2788
|
-
] }),
|
|
2788
|
+
] }), qt = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2789
2789
|
/* @__PURE__ */ e("rect", { width: "18", height: "11", x: "3", y: "11", rx: "2" }),
|
|
2790
2790
|
/* @__PURE__ */ e("path", { d: "M7 11V7a5 5 0 0 1 10 0v4" })
|
|
2791
|
-
] }),
|
|
2791
|
+
] }), Zt = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2792
2792
|
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "9" }),
|
|
2793
2793
|
/* @__PURE__ */ e("path", { d: "M12 7v5l3 2" })
|
|
2794
|
-
] }),
|
|
2794
|
+
] }), _t = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2795
2795
|
/* @__PURE__ */ e("path", { d: "M12 2v20" }),
|
|
2796
2796
|
/* @__PURE__ */ e("path", { d: "M17 5.5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6" })
|
|
2797
|
-
] }),
|
|
2797
|
+
] }), Jt = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2798
2798
|
/* @__PURE__ */ e("path", { d: "m16 18 6-6-6-6" }),
|
|
2799
2799
|
/* @__PURE__ */ e("path", { d: "m8 6-6 6 6 6" })
|
|
2800
|
-
] }),
|
|
2800
|
+
] }), Qt = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2801
2801
|
/* @__PURE__ */ e("path", { d: "m5 17 5-5-5-5" }),
|
|
2802
2802
|
/* @__PURE__ */ e("path", { d: "M13 19h6" })
|
|
2803
|
-
] }),
|
|
2803
|
+
] }), Xt = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2804
2804
|
/* @__PURE__ */ e("path", { d: "m3 11 18-8-7 18-3-7-8-3z" }),
|
|
2805
2805
|
/* @__PURE__ */ e("path", { d: "M11 14 21 3" })
|
|
2806
|
-
] }),
|
|
2806
|
+
] }), eo = (r) => /* @__PURE__ */ e("svg", { ...M, ...r, children: /* @__PURE__ */ e("path", { d: "m8 5 11 7-11 7V5z" }) }), ro = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2807
2807
|
/* @__PURE__ */ e("path", { d: "M15 3h6v6" }),
|
|
2808
2808
|
/* @__PURE__ */ e("path", { d: "M10 14 21 3" }),
|
|
2809
2809
|
/* @__PURE__ */ e("path", { d: "M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" })
|
|
2810
|
-
] }),
|
|
2810
|
+
] }), to = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2811
2811
|
/* @__PURE__ */ e("path", { d: "M4 6h10" }),
|
|
2812
2812
|
/* @__PURE__ */ e("path", { d: "M18 6h2" }),
|
|
2813
2813
|
/* @__PURE__ */ e("circle", { cx: "16", cy: "6", r: "2" }),
|
|
@@ -2817,34 +2817,34 @@ const C = {
|
|
|
2817
2817
|
/* @__PURE__ */ e("path", { d: "M4 18h10" }),
|
|
2818
2818
|
/* @__PURE__ */ e("path", { d: "M18 18h2" }),
|
|
2819
2819
|
/* @__PURE__ */ e("circle", { cx: "16", cy: "18", r: "2" })
|
|
2820
|
-
] }),
|
|
2820
|
+
] }), oo = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2821
2821
|
/* @__PURE__ */ e("ellipse", { cx: "12", cy: "5", rx: "8", ry: "3" }),
|
|
2822
2822
|
/* @__PURE__ */ e("path", { d: "M4 5v7c0 1.66 3.58 3 8 3s8-1.34 8-3V5" }),
|
|
2823
2823
|
/* @__PURE__ */ e("path", { d: "M4 12v7c0 1.66 3.58 3 8 3s8-1.34 8-3v-7" })
|
|
2824
|
-
] }),
|
|
2824
|
+
] }), no = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2825
2825
|
/* @__PURE__ */ e("path", { d: "M21 8 12 3 3 8v8l9 5 9-5V8z" }),
|
|
2826
2826
|
/* @__PURE__ */ e("path", { d: "m3 8 9 5 9-5" }),
|
|
2827
2827
|
/* @__PURE__ */ e("path", { d: "M12 13v8" })
|
|
2828
|
-
] }),
|
|
2828
|
+
] }), lo = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2829
2829
|
/* @__PURE__ */ e("rect", { width: "16", height: "16", x: "4", y: "4", rx: "2" }),
|
|
2830
2830
|
/* @__PURE__ */ e("rect", { width: "8", height: "8", x: "8", y: "8", rx: "1" }),
|
|
2831
2831
|
/* @__PURE__ */ e("path", { d: "M9 2v2M15 2v2M9 20v2M15 20v2M2 9h2M2 15h2M20 9h2M20 15h2" })
|
|
2832
|
-
] }),
|
|
2832
|
+
] }), so = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2833
2833
|
/* @__PURE__ */ e("path", { d: "M12 3a9 9 0 1 0 0 18c1.66 0 2-1.34 2-2 0-.66-.27-1.16-.58-1.66-.3-.48-.42-.84-.42-1.34 0-.83.67-1.5 1.5-1.5h3.2A4.3 4.3 0 0 0 21 10 9 9 0 0 0 12 3z" }),
|
|
2834
2834
|
/* @__PURE__ */ e("circle", { cx: "7.5", cy: "10.5", r: "0.8", fill: "currentColor", stroke: "none" }),
|
|
2835
2835
|
/* @__PURE__ */ e("circle", { cx: "12", cy: "7.5", r: "0.8", fill: "currentColor", stroke: "none" }),
|
|
2836
2836
|
/* @__PURE__ */ e("circle", { cx: "16.5", cy: "10.5", r: "0.8", fill: "currentColor", stroke: "none" })
|
|
2837
|
-
] }),
|
|
2837
|
+
] }), ao = (r) => /* @__PURE__ */ n("svg", { ...M, ...r, children: [
|
|
2838
2838
|
/* @__PURE__ */ e("path", { d: "M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z" }),
|
|
2839
2839
|
/* @__PURE__ */ e("path", { d: "m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z" }),
|
|
2840
2840
|
/* @__PURE__ */ e("path", { d: "M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0" }),
|
|
2841
2841
|
/* @__PURE__ */ e("path", { d: "M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5" }),
|
|
2842
2842
|
/* @__PURE__ */ e("circle", { cx: "15.5", cy: "8.5", r: "1.5", fill: "currentColor", stroke: "none" })
|
|
2843
|
-
] }),
|
|
2843
|
+
] }), mt = {
|
|
2844
2844
|
classic: "text-muted-foreground hover:text-foreground",
|
|
2845
2845
|
floating: "text-muted-foreground hover:text-foreground",
|
|
2846
2846
|
inverse: "text-on-secondary/60 hover:text-on-secondary"
|
|
2847
|
-
},
|
|
2847
|
+
}, ut = ({
|
|
2848
2848
|
className: r,
|
|
2849
2849
|
variant: t = "classic",
|
|
2850
2850
|
brand: o,
|
|
@@ -2853,33 +2853,33 @@ const C = {
|
|
|
2853
2853
|
logoAlt: i,
|
|
2854
2854
|
logoClassName: s,
|
|
2855
2855
|
brandHref: d = "#",
|
|
2856
|
-
links:
|
|
2856
|
+
links: f,
|
|
2857
2857
|
actions: p,
|
|
2858
2858
|
cta: h,
|
|
2859
2859
|
languageSwitcher: m,
|
|
2860
|
-
sticky:
|
|
2860
|
+
sticky: b = !0,
|
|
2861
2861
|
LinkComponent: g,
|
|
2862
|
-
...
|
|
2862
|
+
...u
|
|
2863
2863
|
}) => {
|
|
2864
|
-
const [x,
|
|
2864
|
+
const [x, v] = F(!1), N = t === "inverse", k = g ?? "a", L = a(
|
|
2865
2865
|
"w-full transition-colors duration-200",
|
|
2866
|
-
|
|
2866
|
+
b && "sticky top-0 z-50",
|
|
2867
2867
|
t === "classic" && "border-b border-border bg-background/85 backdrop-blur-md supports-[backdrop-filter]:bg-background/75",
|
|
2868
2868
|
t === "floating" && "px-0",
|
|
2869
2869
|
t === "inverse" && "border-b border-white/10 bg-[#101010]/85 backdrop-blur-md"
|
|
2870
|
-
),
|
|
2870
|
+
), P = a(
|
|
2871
2871
|
"flex h-16 w-full items-center justify-between gap-4 transition-colors duration-200",
|
|
2872
2872
|
t === "floating" && "mx-auto mt-3 max-w-5xl rounded-xl border border-border bg-surface/90 px-5 shadow-soft backdrop-blur-md supports-[backdrop-filter]:bg-surface/70",
|
|
2873
2873
|
t === "classic" && "mx-auto max-w-6xl px-5 sm:px-8",
|
|
2874
2874
|
t === "inverse" && "mx-auto max-w-6xl px-5 sm:px-8"
|
|
2875
|
-
),
|
|
2875
|
+
), S = l ?? (c ? /* @__PURE__ */ e(
|
|
2876
2876
|
"img",
|
|
2877
2877
|
{
|
|
2878
2878
|
src: c,
|
|
2879
2879
|
alt: i ?? (typeof o == "string" ? o : "Logo"),
|
|
2880
2880
|
className: a("h-7 w-auto", s)
|
|
2881
2881
|
}
|
|
2882
|
-
) : null),
|
|
2882
|
+
) : null), G = S ? /* @__PURE__ */ e("span", { className: "flex items-center", children: S }) : /* @__PURE__ */ n(
|
|
2883
2883
|
"span",
|
|
2884
2884
|
{
|
|
2885
2885
|
className: a(
|
|
@@ -2901,20 +2901,20 @@ const C = {
|
|
|
2901
2901
|
]
|
|
2902
2902
|
}
|
|
2903
2903
|
);
|
|
2904
|
-
return /* @__PURE__ */ n("header", { className: a(
|
|
2905
|
-
/* @__PURE__ */ n("nav", { className:
|
|
2906
|
-
/* @__PURE__ */ e(
|
|
2907
|
-
/* @__PURE__ */ e("ul", { className: "hidden items-center gap-7 md:flex", children:
|
|
2908
|
-
|
|
2904
|
+
return /* @__PURE__ */ n("header", { className: a(L, t === "floating" && "px-3 sm:px-6", r), ...u, children: [
|
|
2905
|
+
/* @__PURE__ */ n("nav", { className: P, "aria-label": "Main navigation", children: [
|
|
2906
|
+
/* @__PURE__ */ e(k, { href: d, className: "shrink-0", children: G }),
|
|
2907
|
+
/* @__PURE__ */ e("ul", { className: "hidden items-center gap-7 md:flex", children: f.map((B) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
2908
|
+
k,
|
|
2909
2909
|
{
|
|
2910
|
-
href:
|
|
2910
|
+
href: B.href,
|
|
2911
2911
|
className: a(
|
|
2912
2912
|
"text-sm font-medium transition-colors duration-150",
|
|
2913
|
-
|
|
2913
|
+
mt[t]
|
|
2914
2914
|
),
|
|
2915
|
-
children:
|
|
2915
|
+
children: B.label
|
|
2916
2916
|
}
|
|
2917
|
-
) },
|
|
2917
|
+
) }, B.href)) }),
|
|
2918
2918
|
/* @__PURE__ */ n("div", { className: "hidden items-center gap-3 md:flex", children: [
|
|
2919
2919
|
m,
|
|
2920
2920
|
p,
|
|
@@ -2927,13 +2927,13 @@ const C = {
|
|
|
2927
2927
|
type: "button",
|
|
2928
2928
|
"aria-label": x ? "Close menu" : "Open menu",
|
|
2929
2929
|
"aria-expanded": x,
|
|
2930
|
-
onClick: () =>
|
|
2930
|
+
onClick: () => v((B) => !B),
|
|
2931
2931
|
className: a(
|
|
2932
2932
|
"inline-flex h-10 w-10 shrink-0 cursor-pointer items-center justify-center rounded-md md:hidden",
|
|
2933
2933
|
"transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
2934
2934
|
N ? "text-on-secondary hover:bg-white/10" : "text-foreground hover:bg-surface"
|
|
2935
2935
|
),
|
|
2936
|
-
children: x ? /* @__PURE__ */ e(
|
|
2936
|
+
children: x ? /* @__PURE__ */ e(Me, { className: "h-5 w-5" }) : /* @__PURE__ */ e(De, { className: "h-5 w-5" })
|
|
2937
2937
|
}
|
|
2938
2938
|
)
|
|
2939
2939
|
] }),
|
|
@@ -2946,30 +2946,30 @@ const C = {
|
|
|
2946
2946
|
N ? "border-t border-white/10 bg-[#101010]" : t === "floating" ? "mx-3 mb-3 max-w-5xl overflow-hidden rounded-b-xl border border-border bg-surface" : "border-t border-border bg-background"
|
|
2947
2947
|
),
|
|
2948
2948
|
children: /* @__PURE__ */ e("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ n("ul", { className: a("flex flex-col py-4", t !== "floating" && "px-5"), children: [
|
|
2949
|
-
|
|
2950
|
-
|
|
2949
|
+
f.map((B) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
2950
|
+
k,
|
|
2951
2951
|
{
|
|
2952
|
-
href:
|
|
2953
|
-
onClick: () =>
|
|
2952
|
+
href: B.href,
|
|
2953
|
+
onClick: () => v(!1),
|
|
2954
2954
|
className: a(
|
|
2955
2955
|
"block rounded-md px-2 py-2.5 text-sm font-medium transition-colors duration-150",
|
|
2956
2956
|
N ? "text-on-secondary/70 hover:bg-white/10 hover:text-on-secondary" : "text-muted-foreground hover:bg-surface hover:text-foreground"
|
|
2957
2957
|
),
|
|
2958
|
-
children:
|
|
2958
|
+
children: B.label
|
|
2959
2959
|
}
|
|
2960
|
-
) },
|
|
2960
|
+
) }, B.href)),
|
|
2961
2961
|
h ? /* @__PURE__ */ e("li", { className: "mt-3 px-2 pb-2", children: h }) : p ? /* @__PURE__ */ e("li", { className: "mt-3 flex flex-wrap gap-3 px-2 pb-2", children: p }) : null
|
|
2962
2962
|
] }) })
|
|
2963
2963
|
}
|
|
2964
2964
|
)
|
|
2965
2965
|
] });
|
|
2966
2966
|
};
|
|
2967
|
-
|
|
2968
|
-
const
|
|
2967
|
+
ut.displayName = "Navbar";
|
|
2968
|
+
const ft = {
|
|
2969
2969
|
classic: "text-muted-foreground hover:text-foreground hover:bg-surface",
|
|
2970
2970
|
floating: "text-muted-foreground hover:text-foreground hover:bg-surface",
|
|
2971
2971
|
inverse: "text-on-secondary/60 hover:text-on-secondary hover:bg-white/10"
|
|
2972
|
-
},
|
|
2972
|
+
}, pt = ({
|
|
2973
2973
|
className: r,
|
|
2974
2974
|
variant: t = "classic",
|
|
2975
2975
|
brand: o,
|
|
@@ -2978,38 +2978,39 @@ const ut = {
|
|
|
2978
2978
|
logoAlt: i,
|
|
2979
2979
|
logoClassName: s,
|
|
2980
2980
|
brandHref: d = "#",
|
|
2981
|
-
items:
|
|
2981
|
+
items: f,
|
|
2982
2982
|
actions: p,
|
|
2983
2983
|
cta: h,
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2984
|
+
languageSwitcher: m,
|
|
2985
|
+
sticky: b = !0,
|
|
2986
|
+
LinkComponent: g,
|
|
2987
|
+
onKeyDown: u,
|
|
2988
|
+
...x
|
|
2988
2989
|
}) => {
|
|
2989
|
-
const
|
|
2990
|
-
|
|
2991
|
-
},
|
|
2990
|
+
const v = de(), N = g ?? "a", [k, L] = F(null), [P, S] = F(!1), [G, B] = F(null), C = t === "inverse", I = () => L(null), R = () => {
|
|
2991
|
+
L(null), S(!1), B(null);
|
|
2992
|
+
}, O = C ? "border-white/10 bg-[#161616]" : "border-border bg-surface shadow-raised", j = (y) => `${v}-panel-${y}`, se = a(
|
|
2992
2993
|
"relative w-full transition-colors duration-200",
|
|
2993
|
-
|
|
2994
|
+
b && "sticky top-0 z-50",
|
|
2994
2995
|
t === "classic" && "border-b border-border bg-background/85 backdrop-blur-md supports-[backdrop-filter]:bg-background/75",
|
|
2995
2996
|
t === "inverse" && "border-b border-white/10 bg-[#101010]/85 backdrop-blur-md"
|
|
2996
|
-
),
|
|
2997
|
+
), Z = a(
|
|
2997
2998
|
"relative flex h-16 w-full items-center justify-between gap-4 transition-colors duration-200",
|
|
2998
2999
|
t === "floating" && "mx-auto mt-3 max-w-5xl rounded-xl border border-border bg-surface/90 px-5 shadow-soft backdrop-blur-md supports-[backdrop-filter]:bg-surface/70",
|
|
2999
3000
|
t !== "floating" && "mx-auto max-w-6xl px-5 sm:px-8"
|
|
3000
|
-
),
|
|
3001
|
+
), te = l ?? (c ? /* @__PURE__ */ e(
|
|
3001
3002
|
"img",
|
|
3002
3003
|
{
|
|
3003
3004
|
src: c,
|
|
3004
3005
|
alt: i ?? (typeof o == "string" ? o : "Logo"),
|
|
3005
3006
|
className: a("h-7 w-auto", s)
|
|
3006
3007
|
}
|
|
3007
|
-
) : null),
|
|
3008
|
+
) : null), _ = te ? /* @__PURE__ */ e("span", { className: "flex items-center", children: te }) : /* @__PURE__ */ n(
|
|
3008
3009
|
"span",
|
|
3009
3010
|
{
|
|
3010
3011
|
className: a(
|
|
3011
3012
|
"flex items-center gap-2 font-display text-[17px] font-bold tracking-tight",
|
|
3012
|
-
|
|
3013
|
+
C ? "text-on-secondary" : "text-foreground"
|
|
3013
3014
|
),
|
|
3014
3015
|
children: [
|
|
3015
3016
|
/* @__PURE__ */ e(
|
|
@@ -3018,18 +3019,18 @@ const ut = {
|
|
|
3018
3019
|
"aria-hidden": !0,
|
|
3019
3020
|
className: a(
|
|
3020
3021
|
"inline-block h-2.5 w-2.5 rounded-sm",
|
|
3021
|
-
|
|
3022
|
+
C ? "bg-on-secondary" : "bg-foreground"
|
|
3022
3023
|
)
|
|
3023
3024
|
}
|
|
3024
3025
|
),
|
|
3025
3026
|
o
|
|
3026
3027
|
]
|
|
3027
3028
|
}
|
|
3028
|
-
),
|
|
3029
|
+
), oe = a(
|
|
3029
3030
|
"flex items-center gap-1.5 rounded-md px-3 py-2 text-sm font-medium transition-colors duration-150",
|
|
3030
|
-
|
|
3031
|
-
),
|
|
3032
|
-
var
|
|
3031
|
+
ft[t]
|
|
3032
|
+
), J = (y) => {
|
|
3033
|
+
var E;
|
|
3033
3034
|
return /* @__PURE__ */ e(
|
|
3034
3035
|
"div",
|
|
3035
3036
|
{
|
|
@@ -3037,67 +3038,67 @@ const ut = {
|
|
|
3037
3038
|
"grid gap-x-10 gap-y-8 sm:grid-cols-2",
|
|
3038
3039
|
y.featured ? "" : "lg:grid-cols-3"
|
|
3039
3040
|
),
|
|
3040
|
-
children: (
|
|
3041
|
-
|
|
3041
|
+
children: (E = y.columns) == null ? void 0 : E.map((T, V) => /* @__PURE__ */ n("div", { children: [
|
|
3042
|
+
T.title ? /* @__PURE__ */ e(
|
|
3042
3043
|
"h4",
|
|
3043
3044
|
{
|
|
3044
3045
|
className: a(
|
|
3045
3046
|
"text-xs font-semibold uppercase tracking-[0.14em]",
|
|
3046
|
-
|
|
3047
|
+
C ? "text-on-secondary/45" : "text-muted-foreground/70"
|
|
3047
3048
|
),
|
|
3048
|
-
children:
|
|
3049
|
+
children: T.title
|
|
3049
3050
|
}
|
|
3050
3051
|
) : null,
|
|
3051
|
-
/* @__PURE__ */ e("ul", { className: a(
|
|
3052
|
-
|
|
3052
|
+
/* @__PURE__ */ e("ul", { className: a(T.title && "mt-3", "space-y-0.5"), children: T.links.map((W) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ n(
|
|
3053
|
+
N,
|
|
3053
3054
|
{
|
|
3054
|
-
href:
|
|
3055
|
-
onClick:
|
|
3055
|
+
href: W.href,
|
|
3056
|
+
onClick: R,
|
|
3056
3057
|
className: a(
|
|
3057
3058
|
"-mx-2 block rounded-md px-2 py-2 transition-colors duration-150",
|
|
3058
|
-
|
|
3059
|
+
C ? "hover:bg-white/10" : "hover:bg-surface-strong"
|
|
3059
3060
|
),
|
|
3060
3061
|
children: [
|
|
3061
|
-
/* @__PURE__ */ e("span", { className: "block text-sm font-medium text-foreground", children:
|
|
3062
|
-
|
|
3062
|
+
/* @__PURE__ */ e("span", { className: "block text-sm font-medium text-foreground", children: W.label }),
|
|
3063
|
+
W.description ? /* @__PURE__ */ e(
|
|
3063
3064
|
"span",
|
|
3064
3065
|
{
|
|
3065
3066
|
className: a(
|
|
3066
3067
|
"mt-0.5 block text-[13px] leading-snug",
|
|
3067
|
-
|
|
3068
|
+
C ? "text-on-secondary/50" : "text-muted-foreground"
|
|
3068
3069
|
),
|
|
3069
|
-
children:
|
|
3070
|
+
children: W.description
|
|
3070
3071
|
}
|
|
3071
3072
|
) : null
|
|
3072
3073
|
]
|
|
3073
3074
|
}
|
|
3074
|
-
) },
|
|
3075
|
-
] },
|
|
3075
|
+
) }, W.href)) })
|
|
3076
|
+
] }, T.title ?? V))
|
|
3076
3077
|
}
|
|
3077
3078
|
);
|
|
3078
|
-
},
|
|
3079
|
-
const
|
|
3080
|
-
if (!
|
|
3081
|
-
const
|
|
3079
|
+
}, U = (y, E = !1) => {
|
|
3080
|
+
const T = y.featured;
|
|
3081
|
+
if (!T) return null;
|
|
3082
|
+
const V = T.accent ? { backgroundColor: T.accent, color: $(T.accent) } : void 0;
|
|
3082
3083
|
return /* @__PURE__ */ n(
|
|
3083
|
-
|
|
3084
|
+
N,
|
|
3084
3085
|
{
|
|
3085
|
-
href:
|
|
3086
|
-
onClick:
|
|
3086
|
+
href: T.href,
|
|
3087
|
+
onClick: R,
|
|
3087
3088
|
className: a(
|
|
3088
3089
|
"group relative block overflow-hidden rounded-lg p-6 transition-transform duration-150 hover:-translate-y-0.5",
|
|
3089
|
-
|
|
3090
|
-
!
|
|
3090
|
+
E && "mt-8",
|
|
3091
|
+
!T.accent && "bg-primary text-on-primary"
|
|
3091
3092
|
),
|
|
3092
|
-
style:
|
|
3093
|
+
style: V,
|
|
3093
3094
|
children: [
|
|
3094
3095
|
/* @__PURE__ */ n("div", { className: "flex h-full flex-col justify-between gap-4", children: [
|
|
3095
3096
|
/* @__PURE__ */ n("div", { children: [
|
|
3096
|
-
/* @__PURE__ */ e("h4", { className: "font-display text-base font-semibold tracking-tight", children:
|
|
3097
|
-
|
|
3097
|
+
/* @__PURE__ */ e("h4", { className: "font-display text-base font-semibold tracking-tight", children: T.title }),
|
|
3098
|
+
T.description ? /* @__PURE__ */ e("p", { className: "mt-1.5 text-[13px] leading-relaxed opacity-80", children: T.description }) : null
|
|
3098
3099
|
] }),
|
|
3099
|
-
|
|
3100
|
-
|
|
3100
|
+
T.cta ? /* @__PURE__ */ n("span", { className: "text-sm font-semibold underline decoration-1 underline-offset-4", children: [
|
|
3101
|
+
T.cta,
|
|
3101
3102
|
" →"
|
|
3102
3103
|
] }) : null
|
|
3103
3104
|
] }),
|
|
@@ -3111,33 +3112,33 @@ const ut = {
|
|
|
3111
3112
|
]
|
|
3112
3113
|
}
|
|
3113
3114
|
);
|
|
3114
|
-
},
|
|
3115
|
-
y.key === "Escape" &&
|
|
3115
|
+
}, ae = (y) => {
|
|
3116
|
+
y.key === "Escape" && R(), u == null || u(y);
|
|
3116
3117
|
};
|
|
3117
3118
|
return /* @__PURE__ */ n(
|
|
3118
3119
|
"header",
|
|
3119
3120
|
{
|
|
3120
|
-
className: a(
|
|
3121
|
-
onKeyDown:
|
|
3122
|
-
...
|
|
3121
|
+
className: a(se, t === "floating" && "px-3 sm:px-6", r),
|
|
3122
|
+
onKeyDown: ae,
|
|
3123
|
+
...x,
|
|
3123
3124
|
children: [
|
|
3124
|
-
/* @__PURE__ */ n("nav", { className:
|
|
3125
|
-
/* @__PURE__ */ e(
|
|
3126
|
-
/* @__PURE__ */ e("ul", { className: "hidden items-center gap-1 lg:flex", children:
|
|
3127
|
-
var
|
|
3128
|
-
const
|
|
3129
|
-
return /* @__PURE__ */ e("li", { className: "relative", children:
|
|
3125
|
+
/* @__PURE__ */ n("nav", { className: Z, onMouseLeave: I, "aria-label": "Mega menu", children: [
|
|
3126
|
+
/* @__PURE__ */ e(N, { href: d, className: "shrink-0", children: _ }),
|
|
3127
|
+
/* @__PURE__ */ e("ul", { className: "hidden items-center gap-1 lg:flex", children: f.map((y, E) => {
|
|
3128
|
+
var W;
|
|
3129
|
+
const T = !!((W = y.columns) != null && W.length || y.featured), V = k === E;
|
|
3130
|
+
return /* @__PURE__ */ e("li", { className: "relative", children: T ? /* @__PURE__ */ n(
|
|
3130
3131
|
"button",
|
|
3131
3132
|
{
|
|
3132
3133
|
type: "button",
|
|
3133
3134
|
"aria-haspopup": "true",
|
|
3134
|
-
"aria-expanded":
|
|
3135
|
-
"aria-controls":
|
|
3136
|
-
onClick: () =>
|
|
3137
|
-
onMouseEnter: () =>
|
|
3135
|
+
"aria-expanded": V,
|
|
3136
|
+
"aria-controls": j(E),
|
|
3137
|
+
onClick: () => L(V ? null : E),
|
|
3138
|
+
onMouseEnter: () => L(E),
|
|
3138
3139
|
className: a(
|
|
3139
|
-
|
|
3140
|
-
|
|
3140
|
+
oe,
|
|
3141
|
+
V && (C ? "bg-white/10 text-on-secondary" : "bg-surface text-foreground")
|
|
3141
3142
|
),
|
|
3142
3143
|
children: [
|
|
3143
3144
|
/* @__PURE__ */ n("span", { className: "flex items-center gap-1.5", children: [
|
|
@@ -3147,74 +3148,77 @@ const ut = {
|
|
|
3147
3148
|
{
|
|
3148
3149
|
className: a(
|
|
3149
3150
|
"rounded-full px-1.5 py-0.5 text-[10px] font-semibold tracking-wide",
|
|
3150
|
-
|
|
3151
|
+
C ? "bg-white/15 text-on-secondary" : "bg-primary-soft text-primary"
|
|
3151
3152
|
),
|
|
3152
3153
|
children: y.badge
|
|
3153
3154
|
}
|
|
3154
3155
|
) : null
|
|
3155
3156
|
] }),
|
|
3156
3157
|
/* @__PURE__ */ e(
|
|
3157
|
-
|
|
3158
|
+
ve,
|
|
3158
3159
|
{
|
|
3159
3160
|
className: a(
|
|
3160
3161
|
"h-4 w-4 shrink-0 transition-transform duration-150",
|
|
3161
|
-
|
|
3162
|
+
V && "rotate-180"
|
|
3162
3163
|
)
|
|
3163
3164
|
}
|
|
3164
3165
|
)
|
|
3165
3166
|
]
|
|
3166
3167
|
}
|
|
3167
|
-
) : /* @__PURE__ */ n(
|
|
3168
|
+
) : /* @__PURE__ */ n(N, { href: y.href ?? "#", className: oe, children: [
|
|
3168
3169
|
y.label,
|
|
3169
3170
|
y.badge ? /* @__PURE__ */ e("span", { className: "rounded-full bg-primary-soft px-1.5 py-0.5 text-[10px] font-semibold tracking-wide text-primary", children: y.badge }) : null
|
|
3170
3171
|
] }) }, y.label);
|
|
3171
3172
|
}) }),
|
|
3172
3173
|
/* @__PURE__ */ n("div", { className: "hidden items-center gap-3 lg:flex", children: [
|
|
3174
|
+
m,
|
|
3173
3175
|
p,
|
|
3174
3176
|
h
|
|
3175
3177
|
] }),
|
|
3178
|
+
m ? /* @__PURE__ */ e("div", { className: "flex items-center lg:hidden", children: m }) : null,
|
|
3176
3179
|
/* @__PURE__ */ e(
|
|
3177
3180
|
"button",
|
|
3178
3181
|
{
|
|
3179
3182
|
type: "button",
|
|
3180
|
-
"aria-label":
|
|
3181
|
-
"aria-expanded":
|
|
3182
|
-
onClick: () =>
|
|
3183
|
+
"aria-label": P ? "Close menu" : "Open menu",
|
|
3184
|
+
"aria-expanded": P,
|
|
3185
|
+
onClick: () => S((y) => !y),
|
|
3183
3186
|
className: a(
|
|
3184
3187
|
"inline-flex h-10 w-10 shrink-0 cursor-pointer items-center justify-center rounded-md lg:hidden",
|
|
3185
3188
|
"transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
3186
|
-
|
|
3189
|
+
C ? "text-on-secondary hover:bg-white/10" : "text-foreground hover:bg-surface"
|
|
3187
3190
|
),
|
|
3188
|
-
children:
|
|
3191
|
+
children: P ? /* @__PURE__ */ e(Me, { className: "h-5 w-5" }) : /* @__PURE__ */ e(De, { className: "h-5 w-5" })
|
|
3189
3192
|
}
|
|
3190
3193
|
)
|
|
3191
3194
|
] }),
|
|
3192
|
-
|
|
3193
|
-
var
|
|
3194
|
-
if (!((
|
|
3195
|
-
const
|
|
3195
|
+
f.map((y, E) => {
|
|
3196
|
+
var V;
|
|
3197
|
+
if (!((V = y.columns) != null && V.length) && !y.featured) return null;
|
|
3198
|
+
const T = k === E;
|
|
3196
3199
|
return /* @__PURE__ */ e(
|
|
3197
3200
|
"div",
|
|
3198
3201
|
{
|
|
3199
|
-
id:
|
|
3202
|
+
id: j(E),
|
|
3200
3203
|
role: "region",
|
|
3201
3204
|
"aria-label": `${y.label} menu`,
|
|
3202
|
-
onMouseEnter: () =>
|
|
3205
|
+
onMouseEnter: () => L(E),
|
|
3203
3206
|
className: a(
|
|
3204
|
-
"absolute
|
|
3205
|
-
|
|
3207
|
+
"absolute top-full z-50 pt-2 transition-all duration-150",
|
|
3208
|
+
t === "floating" ? "inset-x-0 mx-auto w-full max-w-5xl" : "inset-x-0",
|
|
3209
|
+
T ? "visible translate-y-0 opacity-100" : "pointer-events-none invisible -translate-y-1 opacity-0"
|
|
3206
3210
|
),
|
|
3207
3211
|
children: /* @__PURE__ */ n(
|
|
3208
3212
|
"div",
|
|
3209
3213
|
{
|
|
3210
3214
|
className: a(
|
|
3211
3215
|
"overflow-hidden rounded-xl border p-6 md:p-8",
|
|
3212
|
-
|
|
3216
|
+
O,
|
|
3213
3217
|
y.featured ? "lg:grid lg:grid-cols-[minmax(0,1fr)_auto] lg:gap-12" : ""
|
|
3214
3218
|
),
|
|
3215
3219
|
children: [
|
|
3216
|
-
|
|
3217
|
-
y.featured && /* @__PURE__ */ e("div", { className: a("mt-8 max-w-sm lg:mt-0 lg:w-64"), children:
|
|
3220
|
+
J(y),
|
|
3221
|
+
y.featured && /* @__PURE__ */ e("div", { className: a("mt-8 max-w-sm lg:mt-0 lg:w-64"), children: U(y) })
|
|
3218
3222
|
]
|
|
3219
3223
|
}
|
|
3220
3224
|
)
|
|
@@ -3227,23 +3231,23 @@ const ut = {
|
|
|
3227
3231
|
{
|
|
3228
3232
|
className: a(
|
|
3229
3233
|
"grid transition-[grid-template-rows,opacity] duration-200 lg:hidden",
|
|
3230
|
-
|
|
3231
|
-
|
|
3234
|
+
P ? "grid-rows-[1fr] opacity-100" : "grid-rows-[0fr] opacity-0",
|
|
3235
|
+
C ? "border-t border-white/10 bg-[#101010]" : t === "floating" ? "mx-3 mb-3 max-w-5xl overflow-hidden rounded-b-xl border border-border bg-surface" : "border-t border-border bg-background"
|
|
3232
3236
|
),
|
|
3233
3237
|
children: /* @__PURE__ */ e("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ n("ul", { className: "flex flex-col py-4", children: [
|
|
3234
|
-
|
|
3235
|
-
(y,
|
|
3236
|
-
var
|
|
3237
|
-
return (
|
|
3238
|
+
f.map(
|
|
3239
|
+
(y, E) => {
|
|
3240
|
+
var T;
|
|
3241
|
+
return (T = y.columns) != null && T.length || y.featured ? /* @__PURE__ */ n("li", { className: "px-5", children: [
|
|
3238
3242
|
/* @__PURE__ */ n(
|
|
3239
3243
|
"button",
|
|
3240
3244
|
{
|
|
3241
3245
|
type: "button",
|
|
3242
|
-
"aria-expanded":
|
|
3243
|
-
onClick: () =>
|
|
3246
|
+
"aria-expanded": G === E,
|
|
3247
|
+
onClick: () => B((V) => V === E ? null : E),
|
|
3244
3248
|
className: a(
|
|
3245
3249
|
"flex w-full items-center justify-between rounded-md px-2 py-2.5 text-sm font-medium transition-colors duration-150",
|
|
3246
|
-
|
|
3250
|
+
C ? "text-on-secondary hover:bg-white/10" : "text-foreground hover:bg-surface"
|
|
3247
3251
|
),
|
|
3248
3252
|
children: [
|
|
3249
3253
|
/* @__PURE__ */ n("span", { className: "flex items-center gap-2", children: [
|
|
@@ -3251,11 +3255,11 @@ const ut = {
|
|
|
3251
3255
|
y.badge ? /* @__PURE__ */ e("span", { className: "rounded-full bg-primary-soft px-1.5 py-0.5 text-[10px] font-semibold tracking-wide text-primary", children: y.badge }) : null
|
|
3252
3256
|
] }),
|
|
3253
3257
|
/* @__PURE__ */ e(
|
|
3254
|
-
|
|
3258
|
+
ve,
|
|
3255
3259
|
{
|
|
3256
3260
|
className: a(
|
|
3257
3261
|
"h-4 w-4 shrink-0 transition-transform duration-150",
|
|
3258
|
-
|
|
3262
|
+
G === E && "rotate-180"
|
|
3259
3263
|
)
|
|
3260
3264
|
}
|
|
3261
3265
|
)
|
|
@@ -3267,22 +3271,22 @@ const ut = {
|
|
|
3267
3271
|
{
|
|
3268
3272
|
className: a(
|
|
3269
3273
|
"grid transition-[grid-template-rows,opacity] duration-200",
|
|
3270
|
-
|
|
3274
|
+
G === E ? "grid-rows-[1fr] opacity-100" : "grid-rows-[0fr] opacity-0"
|
|
3271
3275
|
),
|
|
3272
3276
|
children: /* @__PURE__ */ e("div", { className: "min-h-0 overflow-hidden", children: /* @__PURE__ */ n("div", { className: "py-2 pl-1", children: [
|
|
3273
|
-
|
|
3274
|
-
y.featured ? /* @__PURE__ */ e("div", { className: "max-w-sm", children:
|
|
3277
|
+
J(y),
|
|
3278
|
+
y.featured ? /* @__PURE__ */ e("div", { className: "max-w-sm", children: U(y, !0) }) : null
|
|
3275
3279
|
] }) })
|
|
3276
3280
|
}
|
|
3277
3281
|
)
|
|
3278
3282
|
] }, y.label) : /* @__PURE__ */ e("li", { className: "px-5", children: /* @__PURE__ */ e(
|
|
3279
|
-
|
|
3283
|
+
N,
|
|
3280
3284
|
{
|
|
3281
3285
|
href: y.href ?? "#",
|
|
3282
|
-
onClick: () =>
|
|
3286
|
+
onClick: () => S(!1),
|
|
3283
3287
|
className: a(
|
|
3284
3288
|
"block rounded-md px-2 py-2.5 text-sm font-medium transition-colors duration-150",
|
|
3285
|
-
|
|
3289
|
+
C ? "text-on-secondary/70 hover:bg-white/10 hover:text-on-secondary" : "text-muted-foreground hover:bg-surface hover:text-foreground"
|
|
3286
3290
|
),
|
|
3287
3291
|
children: y.label
|
|
3288
3292
|
}
|
|
@@ -3297,8 +3301,8 @@ const ut = {
|
|
|
3297
3301
|
}
|
|
3298
3302
|
);
|
|
3299
3303
|
};
|
|
3300
|
-
|
|
3301
|
-
const
|
|
3304
|
+
pt.displayName = "MegaMenu";
|
|
3305
|
+
const gt = ({ name: r }) => /* @__PURE__ */ e("span", { className: "text-lg font-semibold tracking-tight text-foreground/45 transition-colors duration-200 group-hover:text-foreground", children: r }), pe = ({ logo: r }) => r.src ? /* @__PURE__ */ e(
|
|
3302
3306
|
"img",
|
|
3303
3307
|
{
|
|
3304
3308
|
src: r.src,
|
|
@@ -3309,28 +3313,28 @@ const pt = ({ name: r }) => /* @__PURE__ */ e("span", { className: "text-lg font
|
|
|
3309
3313
|
"h-7"
|
|
3310
3314
|
)
|
|
3311
3315
|
}
|
|
3312
|
-
) : /* @__PURE__ */ e(
|
|
3316
|
+
) : /* @__PURE__ */ e(gt, { name: r.name }), ht = A(
|
|
3313
3317
|
({ className: r, logos: t, title: o, option: l = "quiet", ...c }, i) => {
|
|
3314
3318
|
if (l === "marquee") {
|
|
3315
3319
|
const s = [...t, ...t];
|
|
3316
3320
|
return /* @__PURE__ */ n("div", { ref: i, className: a("w-full overflow-hidden", r), ...c, children: [
|
|
3317
3321
|
o ? /* @__PURE__ */ e("p", { className: "mb-8 text-center text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground", children: o }) : null,
|
|
3318
|
-
/* @__PURE__ */ e("div", { className: "mask-fade-x", children: /* @__PURE__ */ e("div", { className: "flex w-max animate-marquee gap-14 pr-14 motion-reduce:animate-none", children: s.map((d,
|
|
3322
|
+
/* @__PURE__ */ e("div", { className: "mask-fade-x", children: /* @__PURE__ */ e("div", { className: "flex w-max animate-marquee gap-14 pr-14 motion-reduce:animate-none", children: s.map((d, f) => /* @__PURE__ */ e("div", { className: "group shrink-0", children: /* @__PURE__ */ e(pe, { logo: d }) }, `${d.name}-${f}`)) }) })
|
|
3319
3323
|
] });
|
|
3320
3324
|
}
|
|
3321
3325
|
return l === "strip" ? /* @__PURE__ */ n("div", { ref: i, className: a("w-full", r), ...c, children: [
|
|
3322
3326
|
o ? /* @__PURE__ */ e("p", { className: "mb-8 text-center text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground", children: o }) : null,
|
|
3323
|
-
/* @__PURE__ */ e("ul", { className: "flex flex-wrap items-center justify-center gap-x-10 gap-y-4 rounded-2xl border border-border bg-surface px-6 py-7 sm:gap-x-14", children: t.map((s) => /* @__PURE__ */ e("li", { className: "group", children: /* @__PURE__ */ e(
|
|
3327
|
+
/* @__PURE__ */ e("ul", { className: "flex flex-wrap items-center justify-center gap-x-10 gap-y-4 rounded-2xl border border-border bg-surface px-6 py-7 sm:gap-x-14", children: t.map((s) => /* @__PURE__ */ e("li", { className: "group", children: /* @__PURE__ */ e(pe, { logo: s }) }, s.name)) })
|
|
3324
3328
|
] }) : /* @__PURE__ */ n("div", { ref: i, className: a("w-full", r), ...c, children: [
|
|
3325
3329
|
o ? /* @__PURE__ */ e("p", { className: "mb-8 text-center text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground", children: o }) : null,
|
|
3326
|
-
/* @__PURE__ */ e("ul", { className: "flex flex-wrap items-center justify-center gap-x-12 gap-y-6", children: t.map((s) => /* @__PURE__ */ e("li", { className: "group", children: /* @__PURE__ */ e(
|
|
3330
|
+
/* @__PURE__ */ e("ul", { className: "flex flex-wrap items-center justify-center gap-x-12 gap-y-6", children: t.map((s) => /* @__PURE__ */ e("li", { className: "group", children: /* @__PURE__ */ e(pe, { logo: s }) }, s.name)) })
|
|
3327
3331
|
] });
|
|
3328
3332
|
}
|
|
3329
3333
|
);
|
|
3330
|
-
|
|
3331
|
-
const
|
|
3334
|
+
ht.displayName = "LogoCloud";
|
|
3335
|
+
const ye = A(
|
|
3332
3336
|
({ className: r, icon: t, title: o, description: l, accent: c, large: i = !1, ...s }, d) => {
|
|
3333
|
-
const
|
|
3337
|
+
const f = c ? { backgroundColor: c, color: $(c, "#111111", "#ffffff") } : void 0;
|
|
3334
3338
|
return /* @__PURE__ */ n(
|
|
3335
3339
|
"div",
|
|
3336
3340
|
{
|
|
@@ -3348,7 +3352,7 @@ const ve = L(
|
|
|
3348
3352
|
"mb-5 inline-flex h-10 w-10 items-center justify-center rounded-lg text-[1.05rem]",
|
|
3349
3353
|
!c && "bg-primary-soft text-primary"
|
|
3350
3354
|
),
|
|
3351
|
-
style:
|
|
3355
|
+
style: f,
|
|
3352
3356
|
children: t
|
|
3353
3357
|
}
|
|
3354
3358
|
) : null,
|
|
@@ -3359,19 +3363,19 @@ const ve = L(
|
|
|
3359
3363
|
);
|
|
3360
3364
|
}
|
|
3361
3365
|
);
|
|
3362
|
-
|
|
3363
|
-
const
|
|
3366
|
+
ye.displayName = "FeatureCard";
|
|
3367
|
+
const xt = {
|
|
3364
3368
|
2: "sm:grid-cols-2",
|
|
3365
3369
|
3: "sm:grid-cols-2 lg:grid-cols-3",
|
|
3366
3370
|
4: "sm:grid-cols-2 lg:grid-cols-4"
|
|
3367
|
-
},
|
|
3371
|
+
}, Ge = [
|
|
3368
3372
|
"sm:col-span-2 lg:row-span-2",
|
|
3369
3373
|
"",
|
|
3370
3374
|
"",
|
|
3371
3375
|
"lg:col-span-2",
|
|
3372
3376
|
"",
|
|
3373
3377
|
"lg:col-span-2"
|
|
3374
|
-
],
|
|
3378
|
+
], bt = A(
|
|
3375
3379
|
({ className: r, features: t, option: o = "columns", columns: l = 3, ...c }, i) => o === "editorialRows" ? /* @__PURE__ */ e("div", { ref: i, className: a("w-full", r), ...c, children: /* @__PURE__ */ e("div", { className: "divide-y divide-border border-t border-b border-border", children: t.map((s, d) => /* @__PURE__ */ n(
|
|
3376
3380
|
"div",
|
|
3377
3381
|
{
|
|
@@ -3396,7 +3400,7 @@ const ht = {
|
|
|
3396
3400
|
),
|
|
3397
3401
|
...c,
|
|
3398
3402
|
children: t.map(
|
|
3399
|
-
(s, d) => s ? /* @__PURE__ */ e("div", { className: a(d <
|
|
3403
|
+
(s, d) => s ? /* @__PURE__ */ e("div", { className: a(d < Ge.length && Ge[d]), children: /* @__PURE__ */ e(ye, { ...s, large: d === 0, className: "h-full" }) }, d) : null
|
|
3400
3404
|
)
|
|
3401
3405
|
}
|
|
3402
3406
|
) : /* @__PURE__ */ e(
|
|
@@ -3405,22 +3409,22 @@ const ht = {
|
|
|
3405
3409
|
ref: i,
|
|
3406
3410
|
className: a(
|
|
3407
3411
|
"grid grid-cols-1 gap-4",
|
|
3408
|
-
|
|
3412
|
+
xt[l],
|
|
3409
3413
|
r
|
|
3410
3414
|
),
|
|
3411
3415
|
...c,
|
|
3412
|
-
children: t.map((s, d) => /* @__PURE__ */ e(
|
|
3416
|
+
children: t.map((s, d) => /* @__PURE__ */ e(ye, { ...s, className: "h-full" }, d))
|
|
3413
3417
|
}
|
|
3414
3418
|
)
|
|
3415
3419
|
);
|
|
3416
|
-
|
|
3417
|
-
const
|
|
3420
|
+
bt.displayName = "FeatureGrid";
|
|
3421
|
+
const ie = "font-display font-semibold tabular-nums tracking-[-0.02em] text-foreground", ce = "ml-1 font-sans text-sm font-normal tracking-normal text-muted-foreground", ge = {
|
|
3418
3422
|
2: "sm:grid-cols-2",
|
|
3419
3423
|
3: "sm:grid-cols-2 lg:grid-cols-3",
|
|
3420
3424
|
4: "sm:grid-cols-2 lg:grid-cols-4"
|
|
3421
3425
|
};
|
|
3422
|
-
function
|
|
3423
|
-
const t = r >= 0, o = t ?
|
|
3426
|
+
function Ee({ delta: r }) {
|
|
3427
|
+
const t = r >= 0, o = t ? st : lt;
|
|
3424
3428
|
return /* @__PURE__ */ n(
|
|
3425
3429
|
"span",
|
|
3426
3430
|
{
|
|
@@ -3436,7 +3440,7 @@ function Ge({ delta: r }) {
|
|
|
3436
3440
|
}
|
|
3437
3441
|
);
|
|
3438
3442
|
}
|
|
3439
|
-
const
|
|
3443
|
+
const vt = A(
|
|
3440
3444
|
({ className: r, stats: t, option: o = "editorial", columns: l = 4, ...c }, i) => o === "ticker" ? /* @__PURE__ */ e(
|
|
3441
3445
|
"dl",
|
|
3442
3446
|
{
|
|
@@ -3456,11 +3460,11 @@ const bt = L(
|
|
|
3456
3460
|
children: [
|
|
3457
3461
|
/* @__PURE__ */ n("div", { className: "flex items-center justify-between gap-3", children: [
|
|
3458
3462
|
/* @__PURE__ */ e("dt", { className: "text-xs font-semibold uppercase tracking-[0.14em] text-muted-foreground", children: s.label }),
|
|
3459
|
-
typeof s.delta == "number" ? /* @__PURE__ */ e(
|
|
3463
|
+
typeof s.delta == "number" ? /* @__PURE__ */ e(Ee, { delta: s.delta }) : null
|
|
3460
3464
|
] }),
|
|
3461
|
-
/* @__PURE__ */ n("dd", { className: a(
|
|
3465
|
+
/* @__PURE__ */ n("dd", { className: a(ie, "text-3xl", s.accent ? "text-primary" : void 0), children: [
|
|
3462
3466
|
s.value,
|
|
3463
|
-
s.suffix ? /* @__PURE__ */ e("span", { className:
|
|
3467
|
+
s.suffix ? /* @__PURE__ */ e("span", { className: ce, children: s.suffix }) : null
|
|
3464
3468
|
] }),
|
|
3465
3469
|
s.sub ? /* @__PURE__ */ e("p", { className: "text-[13px] leading-5 text-muted-foreground", children: s.sub }) : null
|
|
3466
3470
|
]
|
|
@@ -3472,16 +3476,16 @@ const bt = L(
|
|
|
3472
3476
|
"dl",
|
|
3473
3477
|
{
|
|
3474
3478
|
ref: i,
|
|
3475
|
-
className: a("grid grid-cols-1 gap-4",
|
|
3479
|
+
className: a("grid grid-cols-1 gap-4", ge[l], r),
|
|
3476
3480
|
...c,
|
|
3477
3481
|
children: t.map((s) => /* @__PURE__ */ n(
|
|
3478
3482
|
"div",
|
|
3479
3483
|
{
|
|
3480
3484
|
className: "flex min-h-[8.5rem] flex-col justify-between rounded-xl border border-border bg-surface p-6",
|
|
3481
3485
|
children: [
|
|
3482
|
-
/* @__PURE__ */ n("dd", { className: a(
|
|
3486
|
+
/* @__PURE__ */ n("dd", { className: a(ie, "text-3xl", s.accent ? "text-primary" : void 0), children: [
|
|
3483
3487
|
s.value,
|
|
3484
|
-
s.suffix ? /* @__PURE__ */ e("span", { className:
|
|
3488
|
+
s.suffix ? /* @__PURE__ */ e("span", { className: ce, children: s.suffix }) : null
|
|
3485
3489
|
] }),
|
|
3486
3490
|
/* @__PURE__ */ n("div", { className: "mt-5 flex items-center justify-between gap-3", children: [
|
|
3487
3491
|
/* @__PURE__ */ e("dt", { className: "text-sm text-muted-foreground", children: s.label }),
|
|
@@ -3496,7 +3500,7 @@ const bt = L(
|
|
|
3496
3500
|
"dl",
|
|
3497
3501
|
{
|
|
3498
3502
|
ref: i,
|
|
3499
|
-
className: a("grid grid-cols-1 gap-y-10",
|
|
3503
|
+
className: a("grid grid-cols-1 gap-y-10", ge[l], r),
|
|
3500
3504
|
...c,
|
|
3501
3505
|
children: t.map((s, d) => /* @__PURE__ */ n(
|
|
3502
3506
|
"div",
|
|
@@ -3506,9 +3510,9 @@ const bt = L(
|
|
|
3506
3510
|
l > 1 && d > 0 && "sm:border-l sm:border-border"
|
|
3507
3511
|
),
|
|
3508
3512
|
children: [
|
|
3509
|
-
/* @__PURE__ */ n("dd", { className: a(
|
|
3513
|
+
/* @__PURE__ */ n("dd", { className: a(ie, "text-5xl", s.accent ? "text-primary" : void 0), children: [
|
|
3510
3514
|
s.value,
|
|
3511
|
-
s.suffix ? /* @__PURE__ */ e("span", { className:
|
|
3515
|
+
s.suffix ? /* @__PURE__ */ e("span", { className: ce, children: s.suffix }) : null
|
|
3512
3516
|
] }),
|
|
3513
3517
|
/* @__PURE__ */ e("dt", { className: "mt-3 text-xs font-semibold uppercase tracking-[0.16em] text-muted-foreground", children: s.label })
|
|
3514
3518
|
]
|
|
@@ -3520,24 +3524,24 @@ const bt = L(
|
|
|
3520
3524
|
"dl",
|
|
3521
3525
|
{
|
|
3522
3526
|
ref: i,
|
|
3523
|
-
className: a("grid grid-cols-1 gap-x-10 gap-y-12",
|
|
3527
|
+
className: a("grid grid-cols-1 gap-x-10 gap-y-12", ge[l], r),
|
|
3524
3528
|
...c,
|
|
3525
3529
|
children: t.map((s) => /* @__PURE__ */ n("div", { className: "border-t border-border pt-6", children: [
|
|
3526
3530
|
/* @__PURE__ */ n("div", { className: "flex items-center justify-between gap-3", children: [
|
|
3527
3531
|
/* @__PURE__ */ e("dt", { className: "text-xs font-semibold uppercase tracking-[0.18em] text-muted-foreground", children: s.label }),
|
|
3528
|
-
typeof s.delta == "number" ? /* @__PURE__ */ e(
|
|
3532
|
+
typeof s.delta == "number" ? /* @__PURE__ */ e(Ee, { delta: s.delta }) : null
|
|
3529
3533
|
] }),
|
|
3530
3534
|
/* @__PURE__ */ n(
|
|
3531
3535
|
"dd",
|
|
3532
3536
|
{
|
|
3533
3537
|
className: a(
|
|
3534
|
-
|
|
3538
|
+
ie,
|
|
3535
3539
|
"mt-4 text-5xl sm:text-6xl",
|
|
3536
3540
|
s.accent ? "text-primary" : void 0
|
|
3537
3541
|
),
|
|
3538
3542
|
children: [
|
|
3539
3543
|
s.value,
|
|
3540
|
-
s.suffix ? /* @__PURE__ */ e("span", { className:
|
|
3544
|
+
s.suffix ? /* @__PURE__ */ e("span", { className: ce, children: s.suffix }) : null
|
|
3541
3545
|
]
|
|
3542
3546
|
}
|
|
3543
3547
|
),
|
|
@@ -3546,13 +3550,13 @@ const bt = L(
|
|
|
3546
3550
|
}
|
|
3547
3551
|
)
|
|
3548
3552
|
);
|
|
3549
|
-
|
|
3550
|
-
function
|
|
3553
|
+
vt.displayName = "Stats";
|
|
3554
|
+
function Be({
|
|
3551
3555
|
value: r,
|
|
3552
3556
|
billing: t,
|
|
3553
3557
|
dim: o
|
|
3554
3558
|
}) {
|
|
3555
|
-
return r === null ? /* @__PURE__ */ e("span", { children: "Custom" }) : /* @__PURE__ */ n(
|
|
3559
|
+
return r === null ? /* @__PURE__ */ e("span", { children: "Custom" }) : /* @__PURE__ */ n(we, { children: [
|
|
3556
3560
|
/* @__PURE__ */ n("span", { className: "text-[2.6rem] font-semibold tracking-tight sm:text-[3rem]", children: [
|
|
3557
3561
|
"$",
|
|
3558
3562
|
r
|
|
@@ -3563,12 +3567,12 @@ function Ee({
|
|
|
3563
3567
|
] })
|
|
3564
3568
|
] });
|
|
3565
3569
|
}
|
|
3566
|
-
function
|
|
3570
|
+
function yt({
|
|
3567
3571
|
billing: r,
|
|
3568
3572
|
onChange: t,
|
|
3569
3573
|
dark: o
|
|
3570
3574
|
}) {
|
|
3571
|
-
const l =
|
|
3575
|
+
const l = Ce("--color-accent");
|
|
3572
3576
|
return /* @__PURE__ */ n("div", { className: "mb-10 flex items-center justify-center gap-4", children: [
|
|
3573
3577
|
/* @__PURE__ */ e(
|
|
3574
3578
|
"span",
|
|
@@ -3626,7 +3630,7 @@ function vt({
|
|
|
3626
3630
|
)
|
|
3627
3631
|
] });
|
|
3628
3632
|
}
|
|
3629
|
-
const
|
|
3633
|
+
const Nt = ({
|
|
3630
3634
|
className: r,
|
|
3631
3635
|
plans: t,
|
|
3632
3636
|
option: o = "cards",
|
|
@@ -3634,8 +3638,8 @@ const yt = ({
|
|
|
3634
3638
|
onSelect: c,
|
|
3635
3639
|
...i
|
|
3636
3640
|
}) => {
|
|
3637
|
-
const [s, d] =
|
|
3638
|
-
const g = m.highlighted && !m.customColor,
|
|
3641
|
+
const [s, d] = F(l), f = (m) => s === "monthly" ? m.monthly : m.yearly, p = (m) => m === null ? "Custom" : `$${m}`, h = (m, b) => {
|
|
3642
|
+
const g = m.highlighted && !m.customColor, u = m.customColor ? $(m.customColor, "#111111", "#ffffff") : void 0;
|
|
3639
3643
|
return /* @__PURE__ */ n(
|
|
3640
3644
|
"button",
|
|
3641
3645
|
{
|
|
@@ -3644,9 +3648,9 @@ const yt = ({
|
|
|
3644
3648
|
className: a(
|
|
3645
3649
|
"inline-flex h-11 cursor-pointer items-center justify-center gap-2 rounded-lg px-5 text-sm font-semibold transition-colors duration-200",
|
|
3646
3650
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
3647
|
-
g || m.customColor ? "hover:brightness-95" :
|
|
3651
|
+
g || m.customColor ? "hover:brightness-95" : b ? "bg-white text-black hover:bg-white/90" : "border border-border text-foreground hover:bg-surface"
|
|
3648
3652
|
),
|
|
3649
|
-
style: m.customColor ? { backgroundColor: m.customColor, color:
|
|
3653
|
+
style: m.customColor ? { backgroundColor: m.customColor, color: u } : g ? {
|
|
3650
3654
|
backgroundColor: "rgb(var(--color-primary))",
|
|
3651
3655
|
color: "rgb(var(--color-on-primary))"
|
|
3652
3656
|
} : void 0,
|
|
@@ -3658,31 +3662,31 @@ const yt = ({
|
|
|
3658
3662
|
);
|
|
3659
3663
|
};
|
|
3660
3664
|
return o === "compact" ? /* @__PURE__ */ e("div", { className: a("w-full", r), ...i, children: /* @__PURE__ */ e("div", { className: "divide-y divide-border overflow-hidden rounded-xl border border-border bg-surface", children: t.map((m) => {
|
|
3661
|
-
const
|
|
3665
|
+
const b = m.highlighted && !m.customColor, g = m.customColor ? "rgb(var(--color-surface))" : b ? "rgb(var(--color-primary-soft))" : void 0, u = m.customColor ? m.customColor : b ? "rgb(var(--color-primary))" : void 0;
|
|
3662
3666
|
return /* @__PURE__ */ n(
|
|
3663
3667
|
"div",
|
|
3664
3668
|
{
|
|
3665
3669
|
className: a(
|
|
3666
3670
|
"group flex flex-col gap-5 p-5 transition-colors duration-200 hover:bg-surface-strong sm:flex-row sm:items-center sm:justify-between",
|
|
3667
|
-
|
|
3671
|
+
b && "bg-primary-soft/60"
|
|
3668
3672
|
),
|
|
3669
3673
|
style: g ? { backgroundColor: g } : void 0,
|
|
3670
3674
|
children: [
|
|
3671
3675
|
/* @__PURE__ */ n("div", { className: "min-w-0", children: [
|
|
3672
3676
|
/* @__PURE__ */ n("div", { className: "flex items-center gap-2.5", children: [
|
|
3673
3677
|
/* @__PURE__ */ e("h3", { className: "font-display text-lg font-semibold tracking-tight text-foreground", children: m.name }),
|
|
3674
|
-
|
|
3678
|
+
b ? /* @__PURE__ */ e("span", { className: "rounded-full bg-primary px-2.5 py-0.5 text-[11px] font-semibold text-on-primary uppercase tracking-wider", children: "Popular" }) : null
|
|
3675
3679
|
] }),
|
|
3676
3680
|
m.description ? /* @__PURE__ */ e("p", { className: "mt-1 truncate text-sm text-muted-foreground", children: m.description }) : null
|
|
3677
3681
|
] }),
|
|
3678
3682
|
/* @__PURE__ */ n("div", { className: "flex items-center gap-6", children: [
|
|
3679
|
-
/* @__PURE__ */ e("ul", { className: "hidden items-center gap-4 lg:flex", children: m.features.slice(0, 3).map((x) => /* @__PURE__ */ n("li", { className: "flex items-center gap-1.5 text-sm text-muted-foreground", style: { color:
|
|
3683
|
+
/* @__PURE__ */ e("ul", { className: "hidden items-center gap-4 lg:flex", children: m.features.slice(0, 3).map((x) => /* @__PURE__ */ n("li", { className: "flex items-center gap-1.5 text-sm text-muted-foreground", style: { color: u }, children: [
|
|
3680
3684
|
/* @__PURE__ */ e(ee, { className: "h-3.5 w-3.5 text-current" }),
|
|
3681
3685
|
x
|
|
3682
3686
|
] }, x)) }),
|
|
3683
3687
|
/* @__PURE__ */ n("div", { className: "font-display text-2xl font-semibold tracking-tight text-foreground", children: [
|
|
3684
|
-
p(
|
|
3685
|
-
|
|
3688
|
+
p(f(m)),
|
|
3689
|
+
f(m) !== null ? /* @__PURE__ */ n("span", { className: "text-sm font-normal text-muted-foreground", children: [
|
|
3686
3690
|
"/",
|
|
3687
3691
|
s === "monthly" ? "mo" : "yr"
|
|
3688
3692
|
] }) : null
|
|
@@ -3694,7 +3698,7 @@ const yt = ({
|
|
|
3694
3698
|
m.name
|
|
3695
3699
|
);
|
|
3696
3700
|
}) }) }) : o === "bento" ? /* @__PURE__ */ e("div", { className: a("w-full", r), ...i, children: /* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 lg:grid-cols-2", children: t.map((m) => {
|
|
3697
|
-
const
|
|
3701
|
+
const b = m.highlighted && !m.customColor, g = m.customColor || (b ? "rgb(var(--color-primary))" : void 0), u = m.customColor ? $(m.customColor, "#111111", "#ffffff") : b ? "rgb(var(--color-on-primary))" : void 0;
|
|
3698
3702
|
return /* @__PURE__ */ n(
|
|
3699
3703
|
"div",
|
|
3700
3704
|
{
|
|
@@ -3702,14 +3706,14 @@ const yt = ({
|
|
|
3702
3706
|
"flex h-full flex-col rounded-xl p-8",
|
|
3703
3707
|
g ? "lg:col-span-2" : "border border-border bg-surface"
|
|
3704
3708
|
),
|
|
3705
|
-
style: g ? { backgroundColor: g, color:
|
|
3709
|
+
style: g ? { backgroundColor: g, color: u } : void 0,
|
|
3706
3710
|
children: [
|
|
3707
3711
|
/* @__PURE__ */ n("div", { className: "flex flex-wrap items-start justify-between gap-4", children: [
|
|
3708
3712
|
/* @__PURE__ */ n("div", { children: [
|
|
3709
3713
|
/* @__PURE__ */ e("h3", { className: a("font-display text-xl font-semibold tracking-tight", g ? "text-current" : "text-foreground"), children: m.name }),
|
|
3710
3714
|
m.description ? /* @__PURE__ */ e("p", { className: a("mt-1.5 text-sm", g ? void 0 : "text-muted-foreground"), children: m.description }) : null
|
|
3711
3715
|
] }),
|
|
3712
|
-
/* @__PURE__ */ e("div", { className: a("font-display", g ? "text-current" : "text-foreground"), children: /* @__PURE__ */ e(
|
|
3716
|
+
/* @__PURE__ */ e("div", { className: a("font-display", g ? "text-current" : "text-foreground"), children: /* @__PURE__ */ e(Be, { value: f(m), billing: s, dim: !g }) })
|
|
3713
3717
|
] }),
|
|
3714
3718
|
/* @__PURE__ */ e(
|
|
3715
3719
|
"ul",
|
|
@@ -3730,20 +3734,20 @@ const yt = ({
|
|
|
3730
3734
|
m.name
|
|
3731
3735
|
);
|
|
3732
3736
|
}) }) }) : /* @__PURE__ */ n("div", { className: a("w-full", r), ...i, children: [
|
|
3733
|
-
/* @__PURE__ */ e(
|
|
3737
|
+
/* @__PURE__ */ e(yt, { billing: s, onChange: d }),
|
|
3734
3738
|
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-5 md:grid-cols-2 lg:grid-cols-3", children: t.map((m) => {
|
|
3735
|
-
const
|
|
3739
|
+
const b = m.highlighted && !m.customColor, g = m.customColor || (b ? "rgb(var(--color-primary))" : void 0), u = m.customColor ? $(m.customColor, "#111111", "#ffffff") : b ? "rgb(var(--color-on-primary))" : void 0;
|
|
3736
3740
|
return /* @__PURE__ */ n(
|
|
3737
3741
|
"div",
|
|
3738
3742
|
{
|
|
3739
3743
|
className: a(
|
|
3740
3744
|
"relative flex flex-col rounded-xl p-7",
|
|
3741
3745
|
g ? "shadow-raised" : "border border-border bg-surface",
|
|
3742
|
-
!g &&
|
|
3746
|
+
!g && b && "border-primary"
|
|
3743
3747
|
),
|
|
3744
|
-
style: g ? { backgroundColor: g, color:
|
|
3748
|
+
style: g ? { backgroundColor: g, color: u } : void 0,
|
|
3745
3749
|
children: [
|
|
3746
|
-
|
|
3750
|
+
b ? /* @__PURE__ */ e(
|
|
3747
3751
|
"span",
|
|
3748
3752
|
{
|
|
3749
3753
|
className: a(
|
|
@@ -3756,7 +3760,7 @@ const yt = ({
|
|
|
3756
3760
|
) : null,
|
|
3757
3761
|
/* @__PURE__ */ e("h3", { className: a("font-display text-lg font-semibold tracking-tight", g ? "text-current" : "text-foreground"), children: m.name }),
|
|
3758
3762
|
m.description ? /* @__PURE__ */ e("p", { className: a("mt-1.5 text-sm", g ? void 0 : "text-muted-foreground"), children: m.description }) : null,
|
|
3759
|
-
/* @__PURE__ */ e("div", { className: a("mt-6 flex items-baseline font-display", g ? "text-current" : "text-foreground"), children: /* @__PURE__ */ e(
|
|
3763
|
+
/* @__PURE__ */ e("div", { className: a("mt-6 flex items-baseline font-display", g ? "text-current" : "text-foreground"), children: /* @__PURE__ */ e(Be, { value: f(m), billing: s, dim: !g }) }),
|
|
3760
3764
|
/* @__PURE__ */ e("ul", { className: a("mt-7 flex-1 space-y-2.5 text-sm", g ? "text-current" : "text-muted-foreground"), children: m.features.map((x) => /* @__PURE__ */ n("li", { className: "flex items-start gap-2.5", children: [
|
|
3761
3765
|
/* @__PURE__ */ e(ee, { className: a("mt-0.5 h-4 w-4 shrink-0", g ? "text-current" : "text-primary") }),
|
|
3762
3766
|
x
|
|
@@ -3769,10 +3773,10 @@ const yt = ({
|
|
|
3769
3773
|
}) })
|
|
3770
3774
|
] });
|
|
3771
3775
|
};
|
|
3772
|
-
|
|
3773
|
-
const
|
|
3776
|
+
Nt.displayName = "Pricing";
|
|
3777
|
+
const qe = (r) => r.split(" ").map((t) => t[0]).join("").slice(0, 2).toUpperCase(), Ie = A(
|
|
3774
3778
|
function({ className: t, testimonial: o, ...l }, c) {
|
|
3775
|
-
const { quote: i, author: s, role: d, company:
|
|
3779
|
+
const { quote: i, author: s, role: d, company: f, avatar: p, accent: h, rating: m } = o, b = h ? { backgroundColor: h, color: $(h, "#111111", "#ffffff") } : void 0;
|
|
3776
3780
|
return /* @__PURE__ */ n(
|
|
3777
3781
|
"figure",
|
|
3778
3782
|
{
|
|
@@ -3784,51 +3788,51 @@ const Ye = (r) => r.split(" ").map((t) => t[0]).join("").slice(0, 2).toUpperCase
|
|
|
3784
3788
|
...l,
|
|
3785
3789
|
children: [
|
|
3786
3790
|
/* @__PURE__ */ n("div", { className: "mb-5 flex items-center justify-between", children: [
|
|
3787
|
-
/* @__PURE__ */ e(
|
|
3788
|
-
m ? /* @__PURE__ */ e("span", { className: "flex items-center gap-0.5 text-amber-500", "aria-label": `${m} / 5`, children: Array.from({ length: 5 }).map((g,
|
|
3791
|
+
/* @__PURE__ */ e(Ye, { className: a("h-6 w-6", h ? void 0 : "text-primary/30"), style: h ? { color: h } : void 0 }),
|
|
3792
|
+
m ? /* @__PURE__ */ e("span", { className: "flex items-center gap-0.5 text-amber-500", "aria-label": `${m} / 5`, children: Array.from({ length: 5 }).map((g, u) => /* @__PURE__ */ e(ct, { className: "h-3.5 w-3.5" }, u)) }) : null
|
|
3789
3793
|
] }),
|
|
3790
3794
|
/* @__PURE__ */ e("blockquote", { className: "flex-1 text-[15px] leading-7 text-foreground/85", children: i }),
|
|
3791
3795
|
/* @__PURE__ */ n("figcaption", { className: "mt-6 flex items-center gap-3", children: [
|
|
3792
3796
|
p || /* @__PURE__ */ e(
|
|
3793
3797
|
"span",
|
|
3794
3798
|
{
|
|
3795
|
-
style:
|
|
3799
|
+
style: b,
|
|
3796
3800
|
className: a(
|
|
3797
3801
|
"inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-full text-xs font-bold",
|
|
3798
3802
|
!h && "bg-primary-soft text-primary"
|
|
3799
3803
|
),
|
|
3800
|
-
children:
|
|
3804
|
+
children: qe(s)
|
|
3801
3805
|
}
|
|
3802
3806
|
),
|
|
3803
3807
|
/* @__PURE__ */ n("div", { children: [
|
|
3804
3808
|
/* @__PURE__ */ e("div", { className: "text-sm font-semibold text-foreground", children: s }),
|
|
3805
|
-
(d ||
|
|
3809
|
+
(d || f) && /* @__PURE__ */ e("div", { className: "text-xs text-muted-foreground", children: [d, f].filter(Boolean).join(" · ") })
|
|
3806
3810
|
] })
|
|
3807
3811
|
] })
|
|
3808
3812
|
]
|
|
3809
3813
|
}
|
|
3810
3814
|
);
|
|
3811
3815
|
}
|
|
3812
|
-
),
|
|
3816
|
+
), wt = ({ className: r, items: t, option: o = "grid", ...l }) => {
|
|
3813
3817
|
if (o === "carousel")
|
|
3814
|
-
return /* @__PURE__ */ e(
|
|
3818
|
+
return /* @__PURE__ */ e(kt, { items: t, className: r, ...l });
|
|
3815
3819
|
if (o === "marquee") {
|
|
3816
3820
|
const c = [...t, ...t];
|
|
3817
|
-
return /* @__PURE__ */ e("div", { className: a("w-full overflow-hidden", r), ...l, children: /* @__PURE__ */ e("div", { className: "mask-fade-x", children: /* @__PURE__ */ e("div", { className: "flex w-max animate-marquee gap-4 pr-4 motion-reduce:animate-none", children: c.map((i, s) => /* @__PURE__ */ e("div", { className: "w-[19rem] shrink-0 sm:w-[24rem]", children: /* @__PURE__ */ e(
|
|
3821
|
+
return /* @__PURE__ */ e("div", { className: a("w-full overflow-hidden", r), ...l, children: /* @__PURE__ */ e("div", { className: "mask-fade-x", children: /* @__PURE__ */ e("div", { className: "flex w-max animate-marquee gap-4 pr-4 motion-reduce:animate-none", children: c.map((i, s) => /* @__PURE__ */ e("div", { className: "w-[19rem] shrink-0 sm:w-[24rem]", children: /* @__PURE__ */ e(Ie, { testimonial: i, className: "m-0" }) }, s)) }) }) });
|
|
3818
3822
|
}
|
|
3819
|
-
return /* @__PURE__ */ e("div", { className: a("columns-1 gap-4 md:columns-2 lg:columns-3", r), ...l, children: t.map((c, i) => /* @__PURE__ */ e(
|
|
3823
|
+
return /* @__PURE__ */ e("div", { className: a("columns-1 gap-4 md:columns-2 lg:columns-3", r), ...l, children: t.map((c, i) => /* @__PURE__ */ e(Ie, { testimonial: c }, i)) });
|
|
3820
3824
|
};
|
|
3821
|
-
|
|
3822
|
-
function
|
|
3825
|
+
wt.displayName = "Testimonials";
|
|
3826
|
+
function kt({
|
|
3823
3827
|
items: r,
|
|
3824
3828
|
className: t,
|
|
3825
3829
|
...o
|
|
3826
3830
|
}) {
|
|
3827
|
-
const [l, c] =
|
|
3831
|
+
const [l, c] = F(0), i = r[l % r.length], s = i.accent ? { backgroundColor: i.accent, color: $(i.accent, "#111111", "#ffffff") } : void 0, d = (f) => c((p) => (p + f + r.length) % r.length);
|
|
3828
3832
|
return /* @__PURE__ */ n("div", { className: a("mx-auto w-full max-w-3xl", t), ...o, children: [
|
|
3829
3833
|
/* @__PURE__ */ n("figure", { className: "relative rounded-2xl border border-border bg-surface p-10 text-center sm:p-14", children: [
|
|
3830
3834
|
/* @__PURE__ */ e(
|
|
3831
|
-
|
|
3835
|
+
Ye,
|
|
3832
3836
|
{
|
|
3833
3837
|
className: a("mx-auto mb-6 h-8 w-8", i.accent ? void 0 : "text-primary/25"),
|
|
3834
3838
|
style: i.accent ? { color: i.accent } : void 0,
|
|
@@ -3845,7 +3849,7 @@ function wt({
|
|
|
3845
3849
|
"inline-flex h-11 w-11 items-center justify-center rounded-full text-xs font-bold",
|
|
3846
3850
|
!i.accent && "bg-foreground text-background"
|
|
3847
3851
|
),
|
|
3848
|
-
children:
|
|
3852
|
+
children: qe(i.author)
|
|
3849
3853
|
}
|
|
3850
3854
|
),
|
|
3851
3855
|
/* @__PURE__ */ n("div", { className: "text-left", children: [
|
|
@@ -3862,10 +3866,10 @@ function wt({
|
|
|
3862
3866
|
"aria-label": "Previous testimonial",
|
|
3863
3867
|
onClick: () => d(-1),
|
|
3864
3868
|
className: "inline-flex h-10 w-10 cursor-pointer items-center justify-center rounded-full border border-border bg-surface text-foreground transition-colors duration-150 hover:border-foreground/25 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
3865
|
-
children: /* @__PURE__ */ e(
|
|
3869
|
+
children: /* @__PURE__ */ e(it, { className: "h-4 w-4" })
|
|
3866
3870
|
}
|
|
3867
3871
|
),
|
|
3868
|
-
/* @__PURE__ */ e("div", { className: "flex items-center gap-1.5", children: r.map((
|
|
3872
|
+
/* @__PURE__ */ e("div", { className: "flex items-center gap-1.5", children: r.map((f, p) => /* @__PURE__ */ e(
|
|
3869
3873
|
"button",
|
|
3870
3874
|
{
|
|
3871
3875
|
type: "button",
|
|
@@ -3886,16 +3890,16 @@ function wt({
|
|
|
3886
3890
|
"aria-label": "Next testimonial",
|
|
3887
3891
|
onClick: () => d(1),
|
|
3888
3892
|
className: "inline-flex h-10 w-10 cursor-pointer items-center justify-center rounded-full border border-border bg-surface text-foreground transition-colors duration-150 hover:border-foreground/25 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
3889
|
-
children: /* @__PURE__ */ e(
|
|
3893
|
+
children: /* @__PURE__ */ e(at, { className: "h-4 w-4" })
|
|
3890
3894
|
}
|
|
3891
3895
|
)
|
|
3892
3896
|
] })
|
|
3893
3897
|
] });
|
|
3894
3898
|
}
|
|
3895
|
-
const
|
|
3896
|
-
({ className: r, title: t, description: o, action: l, secondaryAction: c, option: i = "panel", align: s = "left", id: d, ...
|
|
3897
|
-
const h = i === "panel",
|
|
3898
|
-
return i === "surface" ? /* @__PURE__ */ e("section", { ref: p, id: d, className: a("w-full", r), ...
|
|
3899
|
+
const Ct = A(
|
|
3900
|
+
({ className: r, title: t, description: o, action: l, secondaryAction: c, option: i = "panel", align: s = "left", id: d, ...f }, p) => {
|
|
3901
|
+
const h = i === "panel", b = Ce(i === "inverse" ? "--color-secondary" : "--color-primary");
|
|
3902
|
+
return i === "surface" ? /* @__PURE__ */ e("section", { ref: p, id: d, className: a("w-full", r), ...f, children: /* @__PURE__ */ e(Y, { className: "py-20 sm:py-24", children: /* @__PURE__ */ n(
|
|
3899
3903
|
"div",
|
|
3900
3904
|
{
|
|
3901
3905
|
className: a(
|
|
@@ -3922,13 +3926,13 @@ const kt = L(
|
|
|
3922
3926
|
)
|
|
3923
3927
|
]
|
|
3924
3928
|
}
|
|
3925
|
-
) }) }) : /* @__PURE__ */ e("section", { ref: p, id: d, className: a("w-full py-6 pb-20", r), ...
|
|
3929
|
+
) }) }) : /* @__PURE__ */ e("section", { ref: p, id: d, className: a("w-full py-6 pb-20", r), ...f, children: /* @__PURE__ */ e(Y, { children: h ? /* @__PURE__ */ n(
|
|
3926
3930
|
"div",
|
|
3927
3931
|
{
|
|
3928
3932
|
className: "relative overflow-hidden rounded-[1.75rem] px-7 py-14 sm:px-14 sm:py-20",
|
|
3929
3933
|
style: {
|
|
3930
3934
|
background: "radial-gradient(120% 160% at 0% 0%, rgb(var(--color-primary)), rgb(var(--color-primary-hover)) 55%, rgb(var(--color-primary) / 0.85))",
|
|
3931
|
-
color:
|
|
3935
|
+
color: b
|
|
3932
3936
|
},
|
|
3933
3937
|
children: [
|
|
3934
3938
|
/* @__PURE__ */ e("div", { "aria-hidden": !0, className: "pointer-events-none absolute inset-0 grain opacity-[0.07] mix-blend-overlay" }),
|
|
@@ -3985,7 +3989,7 @@ const kt = L(
|
|
|
3985
3989
|
className: "relative overflow-hidden rounded-[1.75rem] px-7 py-16 sm:px-16 sm:py-20",
|
|
3986
3990
|
style: {
|
|
3987
3991
|
backgroundColor: "rgb(var(--color-secondary))",
|
|
3988
|
-
color:
|
|
3992
|
+
color: b
|
|
3989
3993
|
},
|
|
3990
3994
|
children: [
|
|
3991
3995
|
/* @__PURE__ */ e("div", { "aria-hidden": !0, className: "pointer-events-none absolute inset-0 grain opacity-[0.09] mix-blend-overlay" }),
|
|
@@ -4023,8 +4027,8 @@ const kt = L(
|
|
|
4023
4027
|
) }) });
|
|
4024
4028
|
}
|
|
4025
4029
|
);
|
|
4026
|
-
|
|
4027
|
-
const
|
|
4030
|
+
Ct.displayName = "CTA";
|
|
4031
|
+
const Mt = ({
|
|
4028
4032
|
className: r,
|
|
4029
4033
|
items: t,
|
|
4030
4034
|
option: o = "accordion",
|
|
@@ -4033,98 +4037,98 @@ const Ct = ({
|
|
|
4033
4037
|
eyebrow: i,
|
|
4034
4038
|
title: s,
|
|
4035
4039
|
description: d,
|
|
4036
|
-
...
|
|
4040
|
+
...f
|
|
4037
4041
|
}) => {
|
|
4038
|
-
const [p, h] =
|
|
4042
|
+
const [p, h] = F(
|
|
4039
4043
|
() => new Set(l ? c : c.slice(0, 1))
|
|
4040
|
-
), m = (
|
|
4044
|
+
), m = (u) => {
|
|
4041
4045
|
h((x) => {
|
|
4042
|
-
const
|
|
4043
|
-
return
|
|
4046
|
+
const v = new Set(x);
|
|
4047
|
+
return v.has(u) ? v.delete(u) : (l || v.clear(), v.add(u)), v;
|
|
4044
4048
|
});
|
|
4045
|
-
},
|
|
4049
|
+
}, b = (u) => /* @__PURE__ */ e("p", { className: "text-xs font-semibold uppercase tracking-[0.18em] text-primary", children: u });
|
|
4046
4050
|
if (o === "cards")
|
|
4047
|
-
return /* @__PURE__ */ n("div", { className: a("w-full", r), ...
|
|
4048
|
-
i ? /* @__PURE__ */ e("div", { className: "mb-10", children:
|
|
4049
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2", children: t.map((
|
|
4051
|
+
return /* @__PURE__ */ n("div", { className: a("w-full", r), ...f, children: [
|
|
4052
|
+
i ? /* @__PURE__ */ e("div", { className: "mb-10", children: b(String(i)) }) : null,
|
|
4053
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-1 gap-4 md:grid-cols-2", children: t.map((u, x) => /* @__PURE__ */ n(
|
|
4050
4054
|
"div",
|
|
4051
4055
|
{
|
|
4052
4056
|
className: "flex flex-col rounded-xl border border-border bg-surface p-7",
|
|
4053
4057
|
children: [
|
|
4054
4058
|
/* @__PURE__ */ n("div", { className: "flex items-baseline gap-4", children: [
|
|
4055
4059
|
/* @__PURE__ */ e("span", { className: "font-display text-sm font-semibold tabular-nums text-foreground/35", children: String(x + 1).padStart(2, "0") }),
|
|
4056
|
-
/* @__PURE__ */ e("h3", { className: "font-display text-lg font-semibold tracking-tight text-foreground", children:
|
|
4060
|
+
/* @__PURE__ */ e("h3", { className: "font-display text-lg font-semibold tracking-tight text-foreground", children: u.question })
|
|
4057
4061
|
] }),
|
|
4058
|
-
/* @__PURE__ */ e("p", { className: "mt-4 border-t border-border pt-4 text-sm leading-6 text-muted-foreground", children:
|
|
4062
|
+
/* @__PURE__ */ e("p", { className: "mt-4 border-t border-border pt-4 text-sm leading-6 text-muted-foreground", children: u.answer })
|
|
4059
4063
|
]
|
|
4060
4064
|
},
|
|
4061
|
-
|
|
4065
|
+
u.question
|
|
4062
4066
|
)) })
|
|
4063
4067
|
] });
|
|
4064
|
-
const g = /* @__PURE__ */ e("div", { className: "divide-y divide-border rounded-2xl border border-border bg-surface", children: t.map((
|
|
4065
|
-
const
|
|
4068
|
+
const g = /* @__PURE__ */ e("div", { className: "divide-y divide-border rounded-2xl border border-border bg-surface", children: t.map((u, x) => {
|
|
4069
|
+
const v = p.has(x);
|
|
4066
4070
|
return /* @__PURE__ */ n("div", { children: [
|
|
4067
4071
|
/* @__PURE__ */ e("h3", { children: /* @__PURE__ */ n(
|
|
4068
4072
|
"button",
|
|
4069
4073
|
{
|
|
4070
4074
|
type: "button",
|
|
4071
|
-
"aria-expanded":
|
|
4075
|
+
"aria-expanded": v,
|
|
4072
4076
|
onClick: () => m(x),
|
|
4073
4077
|
className: "flex w-full cursor-pointer items-center justify-between gap-4 px-6 py-5 text-left text-[15px] font-medium text-foreground transition-colors duration-150 hover:bg-surface-strong/60 focus-visible:outline-none",
|
|
4074
4078
|
children: [
|
|
4075
|
-
|
|
4079
|
+
u.question,
|
|
4076
4080
|
/* @__PURE__ */ e(
|
|
4077
|
-
|
|
4081
|
+
Le,
|
|
4078
4082
|
{
|
|
4079
4083
|
className: a(
|
|
4080
4084
|
"h-4.5 w-4.5 shrink-0 text-foreground/45 transition-transform duration-200 sm:h-5 sm:w-5",
|
|
4081
|
-
|
|
4085
|
+
v && "rotate-45 text-primary"
|
|
4082
4086
|
)
|
|
4083
4087
|
}
|
|
4084
4088
|
)
|
|
4085
4089
|
]
|
|
4086
4090
|
}
|
|
4087
4091
|
) }),
|
|
4088
|
-
|
|
4089
|
-
] },
|
|
4092
|
+
v ? /* @__PURE__ */ e("p", { className: "px-6 pb-6 text-sm leading-7 text-muted-foreground", children: u.answer }) : null
|
|
4093
|
+
] }, u.question);
|
|
4090
4094
|
}) });
|
|
4091
|
-
return o === "split" ? /* @__PURE__ */ n("div", { className: a("grid w-full gap-10 lg:grid-cols-[0.9fr_1.1fr] lg:gap-20", r), ...
|
|
4095
|
+
return o === "split" ? /* @__PURE__ */ n("div", { className: a("grid w-full gap-10 lg:grid-cols-[0.9fr_1.1fr] lg:gap-20", r), ...f, children: [
|
|
4092
4096
|
/* @__PURE__ */ n("div", { className: "lg:sticky lg:top-24 lg:self-start", children: [
|
|
4093
|
-
i ?
|
|
4097
|
+
i ? b(String(i)) : null,
|
|
4094
4098
|
s ? /* @__PURE__ */ e("h2", { className: "mt-4 font-display text-3xl font-semibold leading-[1.08] tracking-tight text-foreground sm:text-4xl", children: s }) : null,
|
|
4095
4099
|
d ? /* @__PURE__ */ e("p", { className: "mt-4 text-pretty text-base leading-7 text-muted-foreground", children: d }) : null
|
|
4096
4100
|
] }),
|
|
4097
|
-
/* @__PURE__ */ e("div", { className: "divide-y divide-border", children: t.map((
|
|
4098
|
-
const
|
|
4101
|
+
/* @__PURE__ */ e("div", { className: "divide-y divide-border", children: t.map((u, x) => {
|
|
4102
|
+
const v = p.has(x);
|
|
4099
4103
|
return /* @__PURE__ */ n("div", { children: [
|
|
4100
4104
|
/* @__PURE__ */ e("h3", { children: /* @__PURE__ */ n(
|
|
4101
4105
|
"button",
|
|
4102
4106
|
{
|
|
4103
4107
|
type: "button",
|
|
4104
|
-
"aria-expanded":
|
|
4108
|
+
"aria-expanded": v,
|
|
4105
4109
|
onClick: () => m(x),
|
|
4106
4110
|
className: "flex w-full cursor-pointer items-center justify-between gap-4 py-5 text-left text-base font-semibold text-foreground transition-colors duration-150 focus-visible:outline-none",
|
|
4107
4111
|
children: [
|
|
4108
|
-
|
|
4112
|
+
u.question,
|
|
4109
4113
|
/* @__PURE__ */ e(
|
|
4110
|
-
|
|
4114
|
+
Le,
|
|
4111
4115
|
{
|
|
4112
4116
|
className: a(
|
|
4113
4117
|
"h-4.5 w-4.5 shrink-0 text-foreground/45 transition-transform duration-200 sm:h-5 sm:w-5",
|
|
4114
|
-
|
|
4118
|
+
v && "rotate-45 text-primary"
|
|
4115
4119
|
)
|
|
4116
4120
|
}
|
|
4117
4121
|
)
|
|
4118
4122
|
]
|
|
4119
4123
|
}
|
|
4120
4124
|
) }),
|
|
4121
|
-
|
|
4122
|
-
] },
|
|
4125
|
+
v ? /* @__PURE__ */ e("p", { className: "pb-6 text-sm leading-7 text-muted-foreground", children: u.answer }) : null
|
|
4126
|
+
] }, u.question);
|
|
4123
4127
|
}) })
|
|
4124
|
-
] }) : /* @__PURE__ */ e("div", { className: a("mx-auto w-full max-w-3xl", r), ...
|
|
4128
|
+
] }) : /* @__PURE__ */ e("div", { className: a("mx-auto w-full max-w-3xl", r), ...f, children: g });
|
|
4125
4129
|
};
|
|
4126
|
-
|
|
4127
|
-
const
|
|
4130
|
+
Mt.displayName = "FAQ";
|
|
4131
|
+
const St = ({
|
|
4128
4132
|
className: r,
|
|
4129
4133
|
brand: t,
|
|
4130
4134
|
logo: o,
|
|
@@ -4133,44 +4137,44 @@ const Mt = ({
|
|
|
4133
4137
|
logoClassName: i,
|
|
4134
4138
|
description: s,
|
|
4135
4139
|
columns: d,
|
|
4136
|
-
socials:
|
|
4140
|
+
socials: f,
|
|
4137
4141
|
bottom: p,
|
|
4138
4142
|
languageSwitcher: h,
|
|
4139
4143
|
option: m = "classic",
|
|
4140
|
-
badge:
|
|
4144
|
+
badge: b,
|
|
4141
4145
|
LinkComponent: g,
|
|
4142
|
-
...
|
|
4146
|
+
...u
|
|
4143
4147
|
}) => {
|
|
4144
|
-
const x = g ?? "a",
|
|
4148
|
+
const x = g ?? "a", v = (S = "h-7 w-auto") => o ?? (l ? /* @__PURE__ */ e(
|
|
4145
4149
|
"img",
|
|
4146
4150
|
{
|
|
4147
4151
|
src: l,
|
|
4148
4152
|
alt: c ?? (typeof t == "string" ? t : "Logo"),
|
|
4149
|
-
className: a(
|
|
4153
|
+
className: a(S, i)
|
|
4150
4154
|
}
|
|
4151
4155
|
) : null), N = /* @__PURE__ */ n("span", { className: "flex items-center gap-2 font-display text-lg font-bold tracking-tight", children: [
|
|
4152
4156
|
/* @__PURE__ */ e("span", { "aria-hidden": !0, className: "inline-block h-2.5 w-2.5 rounded-sm bg-current" }),
|
|
4153
4157
|
t
|
|
4154
|
-
] }),
|
|
4155
|
-
return m === "minimal" ? /* @__PURE__ */ e("footer", { className: a("w-full border-t border-border bg-background", r), ...
|
|
4156
|
-
|
|
4157
|
-
/* @__PURE__ */ e("ul", { className: "flex flex-wrap items-center justify-center gap-x-8 gap-y-3", children: d.flatMap((
|
|
4158
|
+
] }), k = v() ?? N, L = v() ?? N, P = v("h-12 w-auto") ?? /* @__PURE__ */ e("span", { className: "font-display text-5xl font-bold tracking-[-0.03em] text-foreground sm:text-7xl", children: t });
|
|
4159
|
+
return m === "minimal" ? /* @__PURE__ */ e("footer", { className: a("w-full border-t border-border bg-background", r), ...u, children: /* @__PURE__ */ n(Y, { className: "flex flex-col items-center justify-between gap-6 py-10 sm:flex-row", children: [
|
|
4160
|
+
L,
|
|
4161
|
+
/* @__PURE__ */ e("ul", { className: "flex flex-wrap items-center justify-center gap-x-8 gap-y-3", children: d.flatMap((S) => S.links).slice(0, 6).map((S) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(x, { href: S.href, className: "text-sm text-muted-foreground transition-colors duration-150 hover:text-foreground", children: S.label }) }, S.href)) }),
|
|
4158
4162
|
/* @__PURE__ */ n("div", { className: "flex flex-col items-center gap-3", children: [
|
|
4159
4163
|
h ? /* @__PURE__ */ e("div", { children: h }) : null,
|
|
4160
4164
|
/* @__PURE__ */ e("div", { className: "text-sm text-muted-foreground", children: p })
|
|
4161
4165
|
] })
|
|
4162
|
-
] }) }) : m === "editorial" ? /* @__PURE__ */ e("footer", { className: a("w-full border-t border-border bg-background", r), ...
|
|
4166
|
+
] }) }) : m === "editorial" ? /* @__PURE__ */ e("footer", { className: a("w-full border-t border-border bg-background", r), ...u, children: /* @__PURE__ */ n(Y, { className: "py-16 sm:py-20", children: [
|
|
4163
4167
|
/* @__PURE__ */ n("div", { className: "mb-14 flex flex-col justify-between gap-8 sm:flex-row sm:items-end", children: [
|
|
4164
4168
|
/* @__PURE__ */ n("div", { children: [
|
|
4165
|
-
|
|
4169
|
+
P,
|
|
4166
4170
|
s ? /* @__PURE__ */ e("p", { className: "mt-3 max-w-sm text-sm leading-6 text-muted-foreground", children: s }) : null
|
|
4167
4171
|
] }),
|
|
4168
|
-
|
|
4172
|
+
f ? /* @__PURE__ */ e("div", { className: "flex items-center gap-3", children: f }) : null
|
|
4169
4173
|
] }),
|
|
4170
|
-
/* @__PURE__ */ e("div", { className: "grid grid-cols-2 gap-8 border-t border-border pt-12 md:grid-cols-4", children: d.map((
|
|
4171
|
-
/* @__PURE__ */ e("h3", { className: "text-xs font-semibold uppercase tracking-[0.16em] text-muted-foreground", children:
|
|
4172
|
-
/* @__PURE__ */ e("ul", { className: "mt-4 space-y-2.5", children:
|
|
4173
|
-
] },
|
|
4174
|
+
/* @__PURE__ */ e("div", { className: "grid grid-cols-2 gap-8 border-t border-border pt-12 md:grid-cols-4", children: d.map((S) => /* @__PURE__ */ n("div", { children: [
|
|
4175
|
+
/* @__PURE__ */ e("h3", { className: "text-xs font-semibold uppercase tracking-[0.16em] text-muted-foreground", children: S.title }),
|
|
4176
|
+
/* @__PURE__ */ e("ul", { className: "mt-4 space-y-2.5", children: S.links.map((G) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(x, { href: G.href, className: "text-[15px] text-foreground/80 transition-colors duration-150 hover:text-foreground", children: G.label }) }, G.href)) })
|
|
4177
|
+
] }, S.title)) }),
|
|
4174
4178
|
/* @__PURE__ */ n("div", { className: "mt-12 flex flex-col items-center justify-between gap-4 border-t border-border pt-8 text-sm text-muted-foreground sm:flex-row", children: [
|
|
4175
4179
|
/* @__PURE__ */ e("span", { children: p }),
|
|
4176
4180
|
h ? /* @__PURE__ */ e("div", { children: h }) : null,
|
|
@@ -4182,25 +4186,25 @@ const Mt = ({
|
|
|
4182
4186
|
". All rights reserved."
|
|
4183
4187
|
] })
|
|
4184
4188
|
] })
|
|
4185
|
-
] }) }) : /* @__PURE__ */ e("footer", { className: a("w-full bg-secondary text-on-secondary", r), ...
|
|
4189
|
+
] }) }) : /* @__PURE__ */ e("footer", { className: a("w-full bg-secondary text-on-secondary", r), ...u, children: /* @__PURE__ */ n(Y, { className: "py-16", children: [
|
|
4186
4190
|
/* @__PURE__ */ n("div", { className: "grid grid-cols-2 gap-10 md:grid-cols-4 lg:grid-cols-6", children: [
|
|
4187
4191
|
/* @__PURE__ */ n("div", { className: "col-span-2", children: [
|
|
4188
|
-
/* @__PURE__ */ e("span", { style: { color: "rgb(var(--color-on-secondary))" }, children:
|
|
4192
|
+
/* @__PURE__ */ e("span", { style: { color: "rgb(var(--color-on-secondary))" }, children: k }),
|
|
4189
4193
|
s ? /* @__PURE__ */ e("p", { className: "mt-4 max-w-xs text-sm leading-6 text-on-secondary/60", children: s }) : null,
|
|
4190
|
-
|
|
4191
|
-
|
|
4194
|
+
f ? /* @__PURE__ */ e("div", { className: "mt-6 flex items-center gap-3", children: f }) : null,
|
|
4195
|
+
b ? /* @__PURE__ */ e("div", { className: "mt-6", children: b }) : null
|
|
4192
4196
|
] }),
|
|
4193
|
-
d.map((
|
|
4194
|
-
/* @__PURE__ */ e("h3", { className: "text-xs font-semibold uppercase tracking-[0.16em] text-on-secondary/50", children:
|
|
4195
|
-
/* @__PURE__ */ e("ul", { className: "mt-4 space-y-2.5", children:
|
|
4197
|
+
d.map((S) => /* @__PURE__ */ n("div", { children: [
|
|
4198
|
+
/* @__PURE__ */ e("h3", { className: "text-xs font-semibold uppercase tracking-[0.16em] text-on-secondary/50", children: S.title }),
|
|
4199
|
+
/* @__PURE__ */ e("ul", { className: "mt-4 space-y-2.5", children: S.links.map((G) => /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e(
|
|
4196
4200
|
x,
|
|
4197
4201
|
{
|
|
4198
|
-
href:
|
|
4202
|
+
href: G.href,
|
|
4199
4203
|
className: "text-sm text-on-secondary/70 transition-colors duration-150 hover:text-on-secondary",
|
|
4200
|
-
children:
|
|
4204
|
+
children: G.label
|
|
4201
4205
|
}
|
|
4202
|
-
) },
|
|
4203
|
-
] },
|
|
4206
|
+
) }, G.href)) })
|
|
4207
|
+
] }, S.title))
|
|
4204
4208
|
] }),
|
|
4205
4209
|
/* @__PURE__ */ n("div", { className: "mt-14 flex flex-col items-center justify-between gap-4 border-t border-white/10 pt-8 text-sm text-on-secondary/50 sm:flex-row", children: [
|
|
4206
4210
|
/* @__PURE__ */ e("span", { children: p }),
|
|
@@ -4215,8 +4219,8 @@ const Mt = ({
|
|
|
4215
4219
|
] })
|
|
4216
4220
|
] }) });
|
|
4217
4221
|
};
|
|
4218
|
-
|
|
4219
|
-
const
|
|
4222
|
+
St.displayName = "Footer";
|
|
4223
|
+
const jt = new Set(
|
|
4220
4224
|
`AD AE AF AG AI AL AM AO AQ AR AS AT AU AW AX AZ BA BB BD BE BF BG BH BI BJ BL BM BN BO BQ BR BS BT BV BW BY BZ
|
|
4221
4225
|
CA CC CD CF CG CH CI CK CL CM CN CO CR CU CV CW CX CY CZ DE DJ DK DM DO DZ EC EE EG EH ER ES ET FI FJ FK FM FO FR
|
|
4222
4226
|
GA GB GD GE GF GG GH GI GL GM GN GP GQ GR GS GT GU GW GY HK HM HN HR HT HU ID IE IL IM IN IO IQ IR IS IT JE JM JO
|
|
@@ -4225,34 +4229,34 @@ const St = new Set(
|
|
|
4225
4229
|
RS RU RW SA SB SC SD SE SG SH SI SJ SK SL SM SN SO SR SS ST SV SX SY SZ TC TD TF TG TH TJ TK TL TM TN TO TR TT TV
|
|
4226
4230
|
TW TZ UA UG UM US UY UZ VA VC VE VG VI VN VU WF WS YE YT ZA ZM ZW`.split(/\s+/)
|
|
4227
4231
|
);
|
|
4228
|
-
function
|
|
4232
|
+
function zt(r) {
|
|
4229
4233
|
const t = r.toUpperCase();
|
|
4230
|
-
return
|
|
4234
|
+
return jt.has(t) ? String.fromCodePoint(127462 + t.charCodeAt(0) - 65, 127462 + t.charCodeAt(1) - 65) : "";
|
|
4231
4235
|
}
|
|
4232
|
-
const
|
|
4236
|
+
const At = {
|
|
4233
4237
|
sm: "max-w-sm",
|
|
4234
4238
|
md: "max-w-lg",
|
|
4235
4239
|
lg: "max-w-2xl"
|
|
4236
|
-
},
|
|
4237
|
-
({ className: r, open: t, onClose: o, title: l, description: c, footer: i, size: s = "md", children: d, ...
|
|
4238
|
-
const h =
|
|
4239
|
-
return
|
|
4240
|
+
}, Ze = A(
|
|
4241
|
+
({ className: r, open: t, onClose: o, title: l, description: c, footer: i, size: s = "md", children: d, ...f }, p) => {
|
|
4242
|
+
const h = de(), m = de(), b = he(null), g = he(o);
|
|
4243
|
+
return q(() => {
|
|
4240
4244
|
g.current = o;
|
|
4241
|
-
}, [o]),
|
|
4242
|
-
const
|
|
4243
|
-
|
|
4244
|
-
}, []),
|
|
4245
|
-
const
|
|
4246
|
-
|
|
4247
|
-
}, [t]),
|
|
4248
|
-
const
|
|
4249
|
-
if (!
|
|
4250
|
-
const x = (
|
|
4245
|
+
}, [o]), q(() => {
|
|
4246
|
+
const u = b.current;
|
|
4247
|
+
u && (u.hasAttribute("popover") || u.setAttribute("popover", "auto"));
|
|
4248
|
+
}, []), q(() => {
|
|
4249
|
+
const u = b.current;
|
|
4250
|
+
u && (t ? (u.matches(":popover-open") || u.showPopover(), document.body.style.overflow = "hidden") : (u.matches(":popover-open") && u.hidePopover(), document.body.style.overflow = ""));
|
|
4251
|
+
}, [t]), q(() => {
|
|
4252
|
+
const u = b.current;
|
|
4253
|
+
if (!u) return;
|
|
4254
|
+
const x = (v) => {
|
|
4251
4255
|
var N;
|
|
4252
|
-
|
|
4256
|
+
v.newState === "closed" && ((N = g.current) == null || N.call(g));
|
|
4253
4257
|
};
|
|
4254
|
-
return
|
|
4255
|
-
}, []),
|
|
4258
|
+
return u.addEventListener("toggle", x), () => u.removeEventListener("toggle", x);
|
|
4259
|
+
}, []), q(
|
|
4256
4260
|
() => () => {
|
|
4257
4261
|
document.body.style.overflow = "";
|
|
4258
4262
|
},
|
|
@@ -4260,8 +4264,8 @@ const zt = {
|
|
|
4260
4264
|
), /* @__PURE__ */ n(
|
|
4261
4265
|
"div",
|
|
4262
4266
|
{
|
|
4263
|
-
ref: (
|
|
4264
|
-
|
|
4267
|
+
ref: (u) => {
|
|
4268
|
+
b.current = u, typeof p == "function" ? p(u) : p && (p.current = u);
|
|
4265
4269
|
},
|
|
4266
4270
|
role: "dialog",
|
|
4267
4271
|
"aria-modal": "true",
|
|
@@ -4269,10 +4273,10 @@ const zt = {
|
|
|
4269
4273
|
"aria-describedby": c ? m : void 0,
|
|
4270
4274
|
className: a(
|
|
4271
4275
|
"modal-anim modal-backdrop fixed inset-0 z-[100] m-auto h-fit max-h-[calc(100vh-2rem)] w-fit max-w-[calc(100vw-2rem)] overflow-y-auto rounded-2xl border border-border bg-surface p-6 text-foreground shadow-overlay",
|
|
4272
|
-
|
|
4276
|
+
At[s],
|
|
4273
4277
|
r
|
|
4274
4278
|
),
|
|
4275
|
-
...
|
|
4279
|
+
...f,
|
|
4276
4280
|
children: [
|
|
4277
4281
|
l ? /* @__PURE__ */ e(
|
|
4278
4282
|
"h2",
|
|
@@ -4290,7 +4294,7 @@ const zt = {
|
|
|
4290
4294
|
"aria-label": "Close dialog",
|
|
4291
4295
|
onClick: o,
|
|
4292
4296
|
className: "absolute right-4 top-4 inline-flex h-8 w-8 cursor-pointer items-center justify-center rounded-md text-muted-foreground transition-colors duration-150 hover:bg-surface-strong hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
4293
|
-
children: /* @__PURE__ */ e(
|
|
4297
|
+
children: /* @__PURE__ */ e(Me, { className: "h-4 w-4" })
|
|
4294
4298
|
}
|
|
4295
4299
|
),
|
|
4296
4300
|
/* @__PURE__ */ e("div", { className: l || c ? "mt-4" : "pt-8", children: d }),
|
|
@@ -4300,8 +4304,8 @@ const zt = {
|
|
|
4300
4304
|
);
|
|
4301
4305
|
}
|
|
4302
4306
|
);
|
|
4303
|
-
|
|
4304
|
-
const
|
|
4307
|
+
Ze.displayName = "Modal";
|
|
4308
|
+
const Tt = ({
|
|
4305
4309
|
className: r,
|
|
4306
4310
|
languages: t,
|
|
4307
4311
|
option: o = "dropdown",
|
|
@@ -4310,55 +4314,55 @@ const At = ({
|
|
|
4310
4314
|
onChange: i,
|
|
4311
4315
|
align: s = "end",
|
|
4312
4316
|
modalTitle: d,
|
|
4313
|
-
showFlag:
|
|
4317
|
+
showFlag: f = !1,
|
|
4314
4318
|
inverse: p = !1,
|
|
4315
4319
|
...h
|
|
4316
4320
|
}) => {
|
|
4317
|
-
var
|
|
4318
|
-
const m =
|
|
4319
|
-
N(
|
|
4320
|
-
},
|
|
4321
|
-
const
|
|
4322
|
-
return
|
|
4321
|
+
var B;
|
|
4322
|
+
const m = de(), b = `--ls-${m.replace(/:/g, "")}`, g = he(null), [u, x] = F(!1), [v, N] = F(c ?? ((B = t[0]) == null ? void 0 : B.code) ?? ""), k = l ?? v, L = t.find((C) => C.code === k) ?? t[0], P = (C) => {
|
|
4323
|
+
N(C), x(!1), i == null || i(C);
|
|
4324
|
+
}, S = (C, { size: I = "text-sm", globeClass: R = "text-muted-foreground" } = {}) => {
|
|
4325
|
+
const O = zt(C);
|
|
4326
|
+
return O ? /* @__PURE__ */ e("span", { "aria-hidden": !0, className: a(I, "leading-none"), children: O }) : /* @__PURE__ */ e(Pe, { className: a("h-4 w-4 shrink-0", R) });
|
|
4323
4327
|
};
|
|
4324
|
-
if (
|
|
4325
|
-
if (!
|
|
4326
|
-
const
|
|
4327
|
-
g.current && !g.current.contains(
|
|
4328
|
-
},
|
|
4329
|
-
|
|
4328
|
+
if (q(() => {
|
|
4329
|
+
if (!u || o !== "dropdown") return;
|
|
4330
|
+
const C = (R) => {
|
|
4331
|
+
g.current && !g.current.contains(R.target) && x(!1);
|
|
4332
|
+
}, I = (R) => {
|
|
4333
|
+
R.key === "Escape" && x(!1);
|
|
4330
4334
|
};
|
|
4331
|
-
return document.addEventListener("pointerdown",
|
|
4332
|
-
document.removeEventListener("pointerdown",
|
|
4335
|
+
return document.addEventListener("pointerdown", C), document.addEventListener("keydown", I), () => {
|
|
4336
|
+
document.removeEventListener("pointerdown", C), document.removeEventListener("keydown", I);
|
|
4333
4337
|
};
|
|
4334
|
-
}, [
|
|
4335
|
-
const
|
|
4338
|
+
}, [u, o]), t.length === 0) return null;
|
|
4339
|
+
const G = /* @__PURE__ */ n(
|
|
4336
4340
|
"button",
|
|
4337
4341
|
{
|
|
4338
4342
|
type: "button",
|
|
4339
4343
|
"aria-haspopup": o === "dropdown" ? "listbox" : "dialog",
|
|
4340
|
-
"aria-expanded":
|
|
4344
|
+
"aria-expanded": u,
|
|
4341
4345
|
"aria-controls": o === "dropdown" ? m : void 0,
|
|
4342
|
-
onClick: () => x((
|
|
4343
|
-
style: { anchorName:
|
|
4346
|
+
onClick: () => x((C) => !C),
|
|
4347
|
+
style: { anchorName: b },
|
|
4344
4348
|
className: a(
|
|
4345
4349
|
"inline-flex h-9 cursor-pointer items-center gap-1.5 rounded-lg border px-3 text-[13px] font-medium transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
4346
4350
|
p ? "border-white/10 text-on-secondary hover:bg-white/10" : "border-border text-foreground hover:bg-surface"
|
|
4347
4351
|
),
|
|
4348
4352
|
children: [
|
|
4349
|
-
|
|
4350
|
-
|
|
4353
|
+
f ? S(L.code, { globeClass: p ? "opacity-70" : "text-muted-foreground" }) : /* @__PURE__ */ e(
|
|
4354
|
+
Pe,
|
|
4351
4355
|
{
|
|
4352
4356
|
className: a("h-4 w-4", p ? "opacity-70" : "text-muted-foreground")
|
|
4353
4357
|
}
|
|
4354
4358
|
),
|
|
4355
|
-
/* @__PURE__ */ e("span", { className: "tracking-tight", children:
|
|
4359
|
+
/* @__PURE__ */ e("span", { className: "tracking-tight", children: L.label }),
|
|
4356
4360
|
/* @__PURE__ */ e(
|
|
4357
|
-
|
|
4361
|
+
ve,
|
|
4358
4362
|
{
|
|
4359
4363
|
className: a(
|
|
4360
4364
|
"h-3.5 w-3.5 transition-transform duration-150",
|
|
4361
|
-
|
|
4365
|
+
u && "rotate-180",
|
|
4362
4366
|
p ? "opacity-70" : "text-muted-foreground"
|
|
4363
4367
|
)
|
|
4364
4368
|
}
|
|
@@ -4366,37 +4370,37 @@ const At = ({
|
|
|
4366
4370
|
]
|
|
4367
4371
|
}
|
|
4368
4372
|
);
|
|
4369
|
-
return o === "modal" ? /* @__PURE__ */ n(
|
|
4370
|
-
/* @__PURE__ */ e("div", { ref: g, className: a("relative inline-flex", r), ...h, children:
|
|
4371
|
-
/* @__PURE__ */ e(
|
|
4372
|
-
const
|
|
4373
|
+
return o === "modal" ? /* @__PURE__ */ n(we, { children: [
|
|
4374
|
+
/* @__PURE__ */ e("div", { ref: g, className: a("relative inline-flex", r), ...h, children: G }),
|
|
4375
|
+
/* @__PURE__ */ e(Ze, { open: u, onClose: () => x(!1), title: d, size: "sm", children: /* @__PURE__ */ e("div", { role: "listbox", "aria-label": "Select language", className: "grid min-w-[19rem] gap-1.5", children: t.map((C) => {
|
|
4376
|
+
const I = C.code === k;
|
|
4373
4377
|
return /* @__PURE__ */ n(
|
|
4374
4378
|
"button",
|
|
4375
4379
|
{
|
|
4376
4380
|
type: "button",
|
|
4377
4381
|
role: "option",
|
|
4378
|
-
"aria-selected":
|
|
4379
|
-
onClick: () =>
|
|
4382
|
+
"aria-selected": I,
|
|
4383
|
+
onClick: () => P(C.code),
|
|
4380
4384
|
className: a(
|
|
4381
4385
|
"flex w-full cursor-pointer items-center justify-between gap-3 rounded-lg border px-4 py-3 text-left transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
4382
|
-
|
|
4386
|
+
I ? "border-primary/40 bg-primary-soft text-foreground" : "border-border text-foreground hover:bg-surface-strong"
|
|
4383
4387
|
),
|
|
4384
4388
|
children: [
|
|
4385
4389
|
/* @__PURE__ */ n("span", { className: "flex items-center gap-3", children: [
|
|
4386
|
-
|
|
4387
|
-
/* @__PURE__ */ e("span", { className: "text-sm font-medium", children:
|
|
4390
|
+
f ? S(C.code, { size: "text-base" }) : null,
|
|
4391
|
+
/* @__PURE__ */ e("span", { className: "text-sm font-medium", children: C.label })
|
|
4388
4392
|
] }),
|
|
4389
4393
|
/* @__PURE__ */ n("span", { className: "flex items-center gap-2 text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: [
|
|
4390
|
-
|
|
4391
|
-
|
|
4394
|
+
C.code,
|
|
4395
|
+
I ? /* @__PURE__ */ e(ee, { className: "h-4 w-4 text-primary" }) : null
|
|
4392
4396
|
] })
|
|
4393
4397
|
]
|
|
4394
4398
|
},
|
|
4395
|
-
|
|
4399
|
+
C.code
|
|
4396
4400
|
);
|
|
4397
4401
|
}) }) })
|
|
4398
4402
|
] }) : /* @__PURE__ */ n("div", { ref: g, className: a("relative inline-flex", r), ...h, children: [
|
|
4399
|
-
|
|
4403
|
+
G,
|
|
4400
4404
|
/* @__PURE__ */ e(
|
|
4401
4405
|
"div",
|
|
4402
4406
|
{
|
|
@@ -4404,45 +4408,45 @@ const At = ({
|
|
|
4404
4408
|
role: "listbox",
|
|
4405
4409
|
"aria-label": "Select language",
|
|
4406
4410
|
style: {
|
|
4407
|
-
positionAnchor:
|
|
4411
|
+
positionAnchor: b,
|
|
4408
4412
|
top: "anchor(bottom)",
|
|
4409
4413
|
...s === "start" ? { left: "anchor(left)" } : { right: "anchor(right)" }
|
|
4410
4414
|
},
|
|
4411
4415
|
className: a(
|
|
4412
4416
|
"absolute top-full z-50 mt-2 min-w-[10rem] rounded-lg border border-border bg-surface p-1 shadow-raised transition-all duration-150",
|
|
4413
4417
|
s === "start" ? "left-0" : "right-0",
|
|
4414
|
-
|
|
4418
|
+
u ? "visible translate-y-0 opacity-100" : "pointer-events-none invisible -translate-y-1 opacity-0"
|
|
4415
4419
|
),
|
|
4416
|
-
children: t.map((
|
|
4417
|
-
const
|
|
4420
|
+
children: t.map((C) => {
|
|
4421
|
+
const I = C.code === k;
|
|
4418
4422
|
return /* @__PURE__ */ n(
|
|
4419
4423
|
"button",
|
|
4420
4424
|
{
|
|
4421
4425
|
type: "button",
|
|
4422
4426
|
role: "option",
|
|
4423
|
-
"aria-selected":
|
|
4424
|
-
onClick: () =>
|
|
4427
|
+
"aria-selected": I,
|
|
4428
|
+
onClick: () => P(C.code),
|
|
4425
4429
|
className: a(
|
|
4426
4430
|
"flex w-full cursor-pointer items-center justify-between gap-3 rounded-md px-3 py-2 text-[13px] font-medium transition-colors duration-150 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
4427
|
-
|
|
4431
|
+
I ? "bg-surface-strong text-foreground" : "text-muted-foreground hover:bg-surface-strong hover:text-foreground"
|
|
4428
4432
|
),
|
|
4429
4433
|
children: [
|
|
4430
4434
|
/* @__PURE__ */ n("span", { className: "flex items-center gap-2.5", children: [
|
|
4431
|
-
|
|
4432
|
-
|
|
4435
|
+
f ? S(C.code) : null,
|
|
4436
|
+
C.label
|
|
4433
4437
|
] }),
|
|
4434
|
-
|
|
4438
|
+
I ? /* @__PURE__ */ e(ee, { className: "h-3.5 w-3.5 text-primary" }) : null
|
|
4435
4439
|
]
|
|
4436
4440
|
},
|
|
4437
|
-
|
|
4441
|
+
C.code
|
|
4438
4442
|
);
|
|
4439
4443
|
})
|
|
4440
4444
|
}
|
|
4441
4445
|
)
|
|
4442
4446
|
] });
|
|
4443
4447
|
};
|
|
4444
|
-
|
|
4445
|
-
const
|
|
4448
|
+
Tt.displayName = "LanguageSwitcher";
|
|
4449
|
+
const Re = "w-full rounded-lg border border-border bg-surface px-4 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:ring-offset-background", Lt = ({
|
|
4446
4450
|
className: r,
|
|
4447
4451
|
option: t = "inline",
|
|
4448
4452
|
placeholder: o = "you@company.com",
|
|
@@ -4452,9 +4456,9 @@ const Ie = "w-full rounded-lg border border-border bg-surface px-4 text-sm text-
|
|
|
4452
4456
|
onSubmit: s,
|
|
4453
4457
|
...d
|
|
4454
4458
|
}) => {
|
|
4455
|
-
const [
|
|
4456
|
-
|
|
4457
|
-
const N =
|
|
4459
|
+
const [f, p] = F(""), [h, m] = F(!1), [b, g] = F(null), u = (v) => {
|
|
4460
|
+
v.preventDefault();
|
|
4461
|
+
const N = f.trim();
|
|
4458
4462
|
if (!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(N)) {
|
|
4459
4463
|
g("Please enter a valid email.");
|
|
4460
4464
|
return;
|
|
@@ -4464,9 +4468,9 @@ const Ie = "w-full rounded-lg border border-border bg-surface px-4 text-sm text-
|
|
|
4464
4468
|
/* @__PURE__ */ e(ee, { className: "h-4 w-4" }),
|
|
4465
4469
|
c
|
|
4466
4470
|
] });
|
|
4467
|
-
return t === "card" ? /* @__PURE__ */ e("form", { onSubmit:
|
|
4471
|
+
return t === "card" ? /* @__PURE__ */ e("form", { onSubmit: u, className: a("w-full", r), ...d, children: h ? x : /* @__PURE__ */ n("div", { className: "rounded-xl border border-border bg-surface p-7", children: [
|
|
4468
4472
|
/* @__PURE__ */ n("div", { className: "mb-5 flex items-center gap-3", children: [
|
|
4469
|
-
/* @__PURE__ */ e("span", { className: "inline-flex h-9 w-9 items-center justify-center rounded-lg bg-primary-soft text-primary", children: /* @__PURE__ */ e(
|
|
4473
|
+
/* @__PURE__ */ e("span", { className: "inline-flex h-9 w-9 items-center justify-center rounded-lg bg-primary-soft text-primary", children: /* @__PURE__ */ e(dt, { className: "h-4 w-4" }) }),
|
|
4470
4474
|
/* @__PURE__ */ e("p", { className: "font-display text-lg font-semibold tracking-tight text-foreground", children: "Monthly digest" })
|
|
4471
4475
|
] }),
|
|
4472
4476
|
/* @__PURE__ */ e("label", { htmlFor: "newsletter-email", className: "sr-only", children: "Your email address" }),
|
|
@@ -4477,12 +4481,12 @@ const Ie = "w-full rounded-lg border border-border bg-surface px-4 text-sm text-
|
|
|
4477
4481
|
id: "newsletter-email",
|
|
4478
4482
|
type: "email",
|
|
4479
4483
|
autoComplete: "email",
|
|
4480
|
-
value:
|
|
4481
|
-
onChange: (
|
|
4482
|
-
p(
|
|
4484
|
+
value: f,
|
|
4485
|
+
onChange: (v) => {
|
|
4486
|
+
p(v.target.value), b && g(null);
|
|
4483
4487
|
},
|
|
4484
4488
|
placeholder: o,
|
|
4485
|
-
className: a(
|
|
4489
|
+
className: a(Re, "h-11")
|
|
4486
4490
|
}
|
|
4487
4491
|
),
|
|
4488
4492
|
/* @__PURE__ */ n(
|
|
@@ -4497,8 +4501,8 @@ const Ie = "w-full rounded-lg border border-border bg-surface px-4 text-sm text-
|
|
|
4497
4501
|
}
|
|
4498
4502
|
)
|
|
4499
4503
|
] }),
|
|
4500
|
-
|
|
4501
|
-
] }) }) : t === "underline" ? /* @__PURE__ */ n("form", { onSubmit:
|
|
4504
|
+
b ? /* @__PURE__ */ e("p", { className: "mt-2 text-sm font-medium text-red-500", role: "alert", children: b }) : i ? /* @__PURE__ */ e("p", { className: "mt-3 text-xs leading-5 text-muted-foreground", children: i }) : null
|
|
4505
|
+
] }) }) : t === "underline" ? /* @__PURE__ */ n("form", { onSubmit: u, className: a("w-full", r), ...d, children: [
|
|
4502
4506
|
h ? x : /* @__PURE__ */ n("div", { className: "flex items-end gap-3 border-b border-foreground/20 pb-3 transition-colors duration-200 focus-within:border-foreground", children: [
|
|
4503
4507
|
/* @__PURE__ */ e("label", { htmlFor: "newsletter-email", className: "sr-only", children: "Your email address" }),
|
|
4504
4508
|
/* @__PURE__ */ e(
|
|
@@ -4507,9 +4511,9 @@ const Ie = "w-full rounded-lg border border-border bg-surface px-4 text-sm text-
|
|
|
4507
4511
|
id: "newsletter-email",
|
|
4508
4512
|
type: "email",
|
|
4509
4513
|
autoComplete: "email",
|
|
4510
|
-
value:
|
|
4511
|
-
onChange: (
|
|
4512
|
-
p(
|
|
4514
|
+
value: f,
|
|
4515
|
+
onChange: (v) => {
|
|
4516
|
+
p(v.target.value), b && g(null);
|
|
4513
4517
|
},
|
|
4514
4518
|
placeholder: o,
|
|
4515
4519
|
className: "w-full bg-transparent text-sm text-foreground placeholder:text-muted-foreground focus:outline-none"
|
|
@@ -4527,8 +4531,8 @@ const Ie = "w-full rounded-lg border border-border bg-surface px-4 text-sm text-
|
|
|
4527
4531
|
}
|
|
4528
4532
|
)
|
|
4529
4533
|
] }),
|
|
4530
|
-
|
|
4531
|
-
] }) : /* @__PURE__ */ e("form", { onSubmit:
|
|
4534
|
+
b ? /* @__PURE__ */ e("p", { className: "mt-2 text-sm font-medium text-red-500", role: "alert", children: b }) : i ? /* @__PURE__ */ e("p", { className: "mt-2 text-xs leading-5 text-muted-foreground", children: i }) : null
|
|
4535
|
+
] }) : /* @__PURE__ */ e("form", { onSubmit: u, className: a("w-full", r), ...d, children: h ? x : /* @__PURE__ */ n(we, { children: [
|
|
4532
4536
|
/* @__PURE__ */ e("label", { htmlFor: "newsletter-email", className: "sr-only", children: "Your email address" }),
|
|
4533
4537
|
/* @__PURE__ */ n("div", { className: "flex flex-col gap-3 sm:flex-row", children: [
|
|
4534
4538
|
/* @__PURE__ */ e(
|
|
@@ -4537,12 +4541,12 @@ const Ie = "w-full rounded-lg border border-border bg-surface px-4 text-sm text-
|
|
|
4537
4541
|
id: "newsletter-email",
|
|
4538
4542
|
type: "email",
|
|
4539
4543
|
autoComplete: "email",
|
|
4540
|
-
value:
|
|
4541
|
-
onChange: (
|
|
4542
|
-
p(
|
|
4544
|
+
value: f,
|
|
4545
|
+
onChange: (v) => {
|
|
4546
|
+
p(v.target.value), b && g(null);
|
|
4543
4547
|
},
|
|
4544
4548
|
placeholder: o,
|
|
4545
|
-
className: a(
|
|
4549
|
+
className: a(Re, "h-11")
|
|
4546
4550
|
}
|
|
4547
4551
|
),
|
|
4548
4552
|
/* @__PURE__ */ n(
|
|
@@ -4557,24 +4561,24 @@ const Ie = "w-full rounded-lg border border-border bg-surface px-4 text-sm text-
|
|
|
4557
4561
|
}
|
|
4558
4562
|
)
|
|
4559
4563
|
] }),
|
|
4560
|
-
|
|
4564
|
+
b ? /* @__PURE__ */ e("p", { className: "mt-2 text-sm font-medium text-red-500", role: "alert", children: b }) : i ? /* @__PURE__ */ e("p", { className: "mt-2 text-xs leading-5 text-muted-foreground", children: i }) : null
|
|
4561
4565
|
] }) });
|
|
4562
4566
|
};
|
|
4563
|
-
|
|
4564
|
-
const
|
|
4567
|
+
Lt.displayName = "Newsletter";
|
|
4568
|
+
const Pt = {
|
|
4565
4569
|
sm: "prose-sm",
|
|
4566
4570
|
md: "prose",
|
|
4567
4571
|
lg: "prose-lg",
|
|
4568
4572
|
xl: "prose-xl",
|
|
4569
4573
|
"2xl": "prose-2xl"
|
|
4570
|
-
},
|
|
4574
|
+
}, Gt = A(
|
|
4571
4575
|
({ className: r, size: t = "lg", html: o, wide: l = !1, children: c, ...i }, s) => /* @__PURE__ */ e(
|
|
4572
4576
|
"article",
|
|
4573
4577
|
{
|
|
4574
4578
|
ref: s,
|
|
4575
4579
|
className: a(
|
|
4576
4580
|
"prose prose-neutral",
|
|
4577
|
-
|
|
4581
|
+
Pt[t],
|
|
4578
4582
|
!l && "max-w-3xl",
|
|
4579
4583
|
r
|
|
4580
4584
|
),
|
|
@@ -4584,17 +4588,17 @@ const Lt = {
|
|
|
4584
4588
|
}
|
|
4585
4589
|
)
|
|
4586
4590
|
);
|
|
4587
|
-
|
|
4588
|
-
const
|
|
4591
|
+
Gt.displayName = "Prose";
|
|
4592
|
+
const Et = A(
|
|
4589
4593
|
({ className: r, ...t }, o) => /* @__PURE__ */ e("p", { ref: o, className: a("lead", r), ...t })
|
|
4590
4594
|
);
|
|
4591
|
-
|
|
4592
|
-
function
|
|
4595
|
+
Et.displayName = "ProseLead";
|
|
4596
|
+
function Bt({ name: r, avatar: t }) {
|
|
4593
4597
|
if (t) return t;
|
|
4594
4598
|
const o = r.split(" ").map((l) => l[0]).join("").slice(0, 2).toUpperCase();
|
|
4595
4599
|
return /* @__PURE__ */ e("span", { className: "grid h-8 w-8 shrink-0 place-items-center rounded-full bg-primary-soft text-[11px] font-bold text-primary", children: o });
|
|
4596
4600
|
}
|
|
4597
|
-
const
|
|
4601
|
+
const It = ({ post: r }) => {
|
|
4598
4602
|
var t, o;
|
|
4599
4603
|
return r.cover ? /* @__PURE__ */ e("img", { src: r.cover, alt: "", loading: "lazy", className: "aspect-[16/10] w-full object-cover" }) : /* @__PURE__ */ e(
|
|
4600
4604
|
"div",
|
|
@@ -4611,7 +4615,7 @@ const Bt = ({ post: r }) => {
|
|
|
4611
4615
|
)
|
|
4612
4616
|
}
|
|
4613
4617
|
);
|
|
4614
|
-
},
|
|
4618
|
+
}, Ne = A(
|
|
4615
4619
|
({ className: r, post: t, option: o = "card", LinkComponent: l, ...c }, i) => {
|
|
4616
4620
|
const s = l ?? "a";
|
|
4617
4621
|
if (o === "row")
|
|
@@ -4625,7 +4629,7 @@ const Bt = ({ post: r }) => {
|
|
|
4625
4629
|
children: [
|
|
4626
4630
|
/* @__PURE__ */ n("div", { className: "min-w-0 flex-1", children: [
|
|
4627
4631
|
/* @__PURE__ */ n("div", { className: "flex items-center gap-3", children: [
|
|
4628
|
-
t.category ? /* @__PURE__ */ e(
|
|
4632
|
+
t.category ? /* @__PURE__ */ e(be, { variant: "soft", size: "sm", children: t.category }) : null,
|
|
4629
4633
|
/* @__PURE__ */ n("span", { className: "text-xs tabular-nums text-muted-foreground", children: [
|
|
4630
4634
|
t.date,
|
|
4631
4635
|
t.readTime ? ` · ${t.readTime}` : ""
|
|
@@ -4633,7 +4637,7 @@ const Bt = ({ post: r }) => {
|
|
|
4633
4637
|
] }),
|
|
4634
4638
|
/* @__PURE__ */ e("h3", { className: "mt-2.5 font-display text-xl font-semibold tracking-tight text-foreground transition-transform duration-200 group-hover:translate-x-1 sm:text-2xl", children: t.title })
|
|
4635
4639
|
] }),
|
|
4636
|
-
/* @__PURE__ */ e("span", { className: "text-foreground/30 transition-all duration-200 group-hover:translate-x-0.5 group-hover:text-foreground", children: /* @__PURE__ */ e(
|
|
4640
|
+
/* @__PURE__ */ e("span", { className: "text-foreground/30 transition-all duration-200 group-hover:translate-x-0.5 group-hover:text-foreground", children: /* @__PURE__ */ e(nt, { className: "h-5 w-5" }) })
|
|
4637
4641
|
]
|
|
4638
4642
|
}
|
|
4639
4643
|
);
|
|
@@ -4649,17 +4653,17 @@ const Bt = ({ post: r }) => {
|
|
|
4649
4653
|
),
|
|
4650
4654
|
...c,
|
|
4651
4655
|
children: [
|
|
4652
|
-
/* @__PURE__ */ e("div", { className: "overflow-hidden", children: /* @__PURE__ */ e(
|
|
4656
|
+
/* @__PURE__ */ e("div", { className: "overflow-hidden", children: /* @__PURE__ */ e(It, { post: t }) }),
|
|
4653
4657
|
/* @__PURE__ */ n("div", { className: "flex flex-1 flex-col p-6", children: [
|
|
4654
4658
|
/* @__PURE__ */ n("div", { className: "flex items-center justify-between gap-3", children: [
|
|
4655
|
-
t.category ? /* @__PURE__ */ e(
|
|
4659
|
+
t.category ? /* @__PURE__ */ e(be, { variant: "soft", size: "sm", children: t.category }) : /* @__PURE__ */ e("span", {}),
|
|
4656
4660
|
t.readTime ? /* @__PURE__ */ e("span", { className: "text-xs text-muted-foreground", children: t.readTime }) : null
|
|
4657
4661
|
] }),
|
|
4658
4662
|
/* @__PURE__ */ e("h3", { className: "mt-4 font-display text-lg font-semibold leading-snug tracking-tight text-foreground sm:text-xl", children: t.title }),
|
|
4659
4663
|
t.excerpt ? /* @__PURE__ */ e("p", { className: "mt-2.5 line-clamp-2 text-sm leading-6 text-muted-foreground", children: t.excerpt }) : null,
|
|
4660
4664
|
/* @__PURE__ */ n("div", { className: "mt-5 flex items-center justify-between gap-3 border-t border-border pt-4", children: [
|
|
4661
4665
|
d ? /* @__PURE__ */ n("span", { className: "flex min-w-0 items-center gap-2.5", children: [
|
|
4662
|
-
/* @__PURE__ */ e(
|
|
4666
|
+
/* @__PURE__ */ e(Bt, { name: d.name, avatar: d.avatar }),
|
|
4663
4667
|
/* @__PURE__ */ e("span", { className: "truncate text-xs font-medium text-foreground", children: d.name })
|
|
4664
4668
|
] }) : /* @__PURE__ */ e("span", { className: "text-xs tabular-nums text-muted-foreground", children: t.date }),
|
|
4665
4669
|
/* @__PURE__ */ e(X, { className: "h-4 w-4 text-foreground/35 transition-all duration-200 group-hover:translate-x-0.5 group-hover:text-foreground" })
|
|
@@ -4670,11 +4674,11 @@ const Bt = ({ post: r }) => {
|
|
|
4670
4674
|
);
|
|
4671
4675
|
}
|
|
4672
4676
|
);
|
|
4673
|
-
|
|
4674
|
-
const
|
|
4677
|
+
Ne.displayName = "BlogCard";
|
|
4678
|
+
const Rt = {
|
|
4675
4679
|
2: "sm:grid-cols-2",
|
|
4676
4680
|
3: "sm:grid-cols-2 lg:grid-cols-3"
|
|
4677
|
-
},
|
|
4681
|
+
}, Vt = A(
|
|
4678
4682
|
({
|
|
4679
4683
|
className: r,
|
|
4680
4684
|
posts: t,
|
|
@@ -4684,15 +4688,15 @@ const It = {
|
|
|
4684
4688
|
eyebrow: i,
|
|
4685
4689
|
eyebrowStyle: s = "caps",
|
|
4686
4690
|
title: d,
|
|
4687
|
-
description:
|
|
4691
|
+
description: f,
|
|
4688
4692
|
showAllLabel: p,
|
|
4689
4693
|
showAllHref: h,
|
|
4690
4694
|
LinkComponent: m,
|
|
4691
|
-
...
|
|
4695
|
+
...b
|
|
4692
4696
|
}, g) => {
|
|
4693
|
-
const
|
|
4694
|
-
return /* @__PURE__ */ e("section", { ref: g, className: a("w-full py-20 sm:py-24", r), ...
|
|
4695
|
-
(i || d ||
|
|
4697
|
+
const u = o ? t.slice(0, o) : t, x = m ?? "a";
|
|
4698
|
+
return /* @__PURE__ */ e("section", { ref: g, className: a("w-full py-20 sm:py-24", r), ...b, children: /* @__PURE__ */ n(Y, { children: [
|
|
4699
|
+
(i || d || f || h) && /* @__PURE__ */ n("div", { className: "mb-12 flex flex-col gap-6 sm:flex-row sm:items-end sm:justify-between", children: [
|
|
4696
4700
|
/* @__PURE__ */ n("div", { className: "max-w-2xl", children: [
|
|
4697
4701
|
i ? /* @__PURE__ */ e(
|
|
4698
4702
|
"p",
|
|
@@ -4707,7 +4711,7 @@ const It = {
|
|
|
4707
4711
|
}
|
|
4708
4712
|
) : null,
|
|
4709
4713
|
d ? /* @__PURE__ */ e("h2", { className: "mt-4 font-display text-balance text-3xl font-semibold leading-[1.08] tracking-tight text-foreground sm:text-4xl", children: d }) : null,
|
|
4710
|
-
|
|
4714
|
+
f ? /* @__PURE__ */ e("p", { className: "mt-4 text-pretty text-base leading-7 text-muted-foreground", children: f }) : null
|
|
4711
4715
|
] }),
|
|
4712
4716
|
h ? /* @__PURE__ */ n(
|
|
4713
4717
|
x,
|
|
@@ -4721,84 +4725,84 @@ const It = {
|
|
|
4721
4725
|
}
|
|
4722
4726
|
) : null
|
|
4723
4727
|
] }),
|
|
4724
|
-
c === "row" ? /* @__PURE__ */ e("div", { className: "divide-y divide-border border-t border-border", children:
|
|
4728
|
+
c === "row" ? /* @__PURE__ */ e("div", { className: "divide-y divide-border border-t border-border", children: u.map((v) => /* @__PURE__ */ e(Ne, { post: v, option: "row", LinkComponent: m }, v.title)) }) : /* @__PURE__ */ e("div", { className: a("grid grid-cols-1 gap-4", Rt[l]), children: u.map((v) => /* @__PURE__ */ e(Ne, { post: v, option: "card", LinkComponent: m }, v.title)) })
|
|
4725
4729
|
] }) });
|
|
4726
4730
|
}
|
|
4727
4731
|
);
|
|
4728
|
-
|
|
4732
|
+
Vt.displayName = "BlogSection";
|
|
4729
4733
|
export {
|
|
4730
|
-
|
|
4734
|
+
lt as ArrowDown,
|
|
4731
4735
|
X as ArrowRight,
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4736
|
+
st as ArrowUp,
|
|
4737
|
+
nt as ArrowUpRight,
|
|
4738
|
+
be as Badge,
|
|
4739
|
+
Dt as BarChart,
|
|
4740
|
+
Ne as BlogCard,
|
|
4741
|
+
Vt as BlogSection,
|
|
4742
|
+
no as Box,
|
|
4743
|
+
$r as Button,
|
|
4744
|
+
Ct as CTA,
|
|
4745
|
+
Kr as Card,
|
|
4746
|
+
Zr as CardContent,
|
|
4747
|
+
qr as CardDescription,
|
|
4748
|
+
_r as CardFooter,
|
|
4749
|
+
Dr as CardHeader,
|
|
4750
|
+
Yr as CardTitle,
|
|
4747
4751
|
ee as Check,
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4752
|
+
ve as ChevronDown,
|
|
4753
|
+
it as ChevronLeft,
|
|
4754
|
+
at as ChevronRight,
|
|
4755
|
+
Zt as Clock,
|
|
4756
|
+
Jt as Code,
|
|
4757
|
+
Y as Container,
|
|
4758
|
+
lo as Cpu,
|
|
4759
|
+
oo as Database,
|
|
4760
|
+
_t as DollarSign,
|
|
4761
|
+
ro as ExternalLink,
|
|
4762
|
+
Mt as FAQ,
|
|
4763
|
+
ye as FeatureCard,
|
|
4764
|
+
bt as FeatureGrid,
|
|
4765
|
+
St as Footer,
|
|
4766
|
+
Kt as Gauge,
|
|
4767
|
+
Pe as Globe,
|
|
4768
|
+
ot as Hero,
|
|
4769
|
+
Tt as LanguageSwitcher,
|
|
4770
|
+
Ut as Layers,
|
|
4771
|
+
qt as Lock,
|
|
4772
|
+
ht as LogoCloud,
|
|
4773
|
+
dt as Mail,
|
|
4774
|
+
pt as MegaMenu,
|
|
4775
|
+
De as Menu,
|
|
4776
|
+
Ze as Modal,
|
|
4777
|
+
ut as Navbar,
|
|
4778
|
+
Lt as Newsletter,
|
|
4779
|
+
so as Palette,
|
|
4780
|
+
eo as Play,
|
|
4781
|
+
Le as Plus,
|
|
4782
|
+
Nt as Pricing,
|
|
4783
|
+
Gt as Prose,
|
|
4784
|
+
Et as ProseLead,
|
|
4785
|
+
Ye as Quote,
|
|
4786
|
+
ao as Rocket,
|
|
4787
|
+
tt as Section,
|
|
4788
|
+
Ke as SectionHeader,
|
|
4789
|
+
Xt as Send,
|
|
4790
|
+
Ot as ShieldCheck,
|
|
4791
|
+
to as Sliders,
|
|
4792
|
+
We as Slot,
|
|
4793
|
+
Wt as Smartphone,
|
|
4794
|
+
Xr as Stack,
|
|
4795
|
+
ct as Star,
|
|
4796
|
+
vt as Stats,
|
|
4797
|
+
Qt as Terminal,
|
|
4798
|
+
Ie as TestimonialCard,
|
|
4799
|
+
wt as Testimonials,
|
|
4800
|
+
Yt as Users,
|
|
4801
|
+
Me as X,
|
|
4802
|
+
Ht as Zap,
|
|
4799
4803
|
a as cn,
|
|
4800
4804
|
$ as getContrastText,
|
|
4801
|
-
|
|
4802
|
-
|
|
4805
|
+
zt as iso2ToFlagEmoji,
|
|
4806
|
+
Ce as useTokenForeground
|
|
4803
4807
|
};
|
|
4804
4808
|
//# sourceMappingURL=index.js.map
|