@team14/cms-library 0.1.1 → 0.1.2

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.
@@ -0,0 +1,1369 @@
1
+ import { useEffect as e, useState as t } from "react";
2
+ import { jsx as n, jsxs as r } from "react/jsx-runtime";
3
+ import { AnimatePresence as i, motion as a } from "framer-motion";
4
+ //#region src/hooks/fetchTestimonials.tsx
5
+ var o = ({ apiKey: n }) => {
6
+ let [r, i] = t(), [a, o] = t(!0);
7
+ return e(() => {
8
+ (async () => {
9
+ if (!n) return;
10
+ let e = await (await fetch("https://s03-26-equipo-14-web-app-development.onrender.com/embed", {
11
+ method: "Get",
12
+ headers: { "x-embed-key": n }
13
+ })).json();
14
+ e.success && o(!1), i(e.data);
15
+ })();
16
+ }, []), {
17
+ testimonials: r,
18
+ isLoading: a
19
+ };
20
+ }, s = ({}) => /* @__PURE__ */ n("div", { children: "QuoteCard" }), c = ({}) => /* @__PURE__ */ n("div", { children: "VideoCard" });
21
+ //#endregion
22
+ //#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
23
+ function l(e) {
24
+ var t, n, r = "";
25
+ if (typeof e == "string" || typeof e == "number") r += e;
26
+ else if (typeof e == "object") if (Array.isArray(e)) {
27
+ var i = e.length;
28
+ for (t = 0; t < i; t++) e[t] && (n = l(e[t])) && (r && (r += " "), r += n);
29
+ } else for (n in e) e[n] && (r && (r += " "), r += n);
30
+ return r;
31
+ }
32
+ function u() {
33
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = l(e)) && (r && (r += " "), r += t);
34
+ return r;
35
+ }
36
+ //#endregion
37
+ //#region ../../node_modules/.pnpm/tailwind-merge@2.6.1/node_modules/tailwind-merge/dist/bundle-mjs.mjs
38
+ var d = "-", f = (e) => {
39
+ let t = g(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
40
+ return {
41
+ getClassGroupId: (e) => {
42
+ let n = e.split(d);
43
+ return n[0] === "" && n.length !== 1 && n.shift(), p(n, t) || h(e);
44
+ },
45
+ getConflictingClassGroupIds: (e, t) => {
46
+ let i = n[e] || [];
47
+ return t && r[e] ? [...i, ...r[e]] : i;
48
+ }
49
+ };
50
+ }, p = (e, t) => {
51
+ if (e.length === 0) return t.classGroupId;
52
+ let n = e[0], r = t.nextPart.get(n), i = r ? p(e.slice(1), r) : void 0;
53
+ if (i) return i;
54
+ if (t.validators.length === 0) return;
55
+ let a = e.join(d);
56
+ return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
57
+ }, m = /^\[(.+)\]$/, h = (e) => {
58
+ if (m.test(e)) {
59
+ let t = m.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
60
+ if (n) return "arbitrary.." + n;
61
+ }
62
+ }, g = (e) => {
63
+ let { theme: t, prefix: n } = e, r = {
64
+ nextPart: /* @__PURE__ */ new Map(),
65
+ validators: []
66
+ };
67
+ return b(Object.entries(e.classGroups), n).forEach(([e, n]) => {
68
+ _(n, r, e, t);
69
+ }), r;
70
+ }, _ = (e, t, n, r) => {
71
+ e.forEach((e) => {
72
+ if (typeof e == "string") {
73
+ let r = e === "" ? t : v(t, e);
74
+ r.classGroupId = n;
75
+ return;
76
+ }
77
+ if (typeof e == "function") {
78
+ if (y(e)) {
79
+ _(e(r), t, n, r);
80
+ return;
81
+ }
82
+ t.validators.push({
83
+ validator: e,
84
+ classGroupId: n
85
+ });
86
+ return;
87
+ }
88
+ Object.entries(e).forEach(([e, i]) => {
89
+ _(i, v(t, e), n, r);
90
+ });
91
+ });
92
+ }, v = (e, t) => {
93
+ let n = e;
94
+ return t.split(d).forEach((e) => {
95
+ n.nextPart.has(e) || n.nextPart.set(e, {
96
+ nextPart: /* @__PURE__ */ new Map(),
97
+ validators: []
98
+ }), n = n.nextPart.get(e);
99
+ }), n;
100
+ }, y = (e) => e.isThemeGetter, b = (e, t) => t ? e.map(([e, n]) => [e, n.map((e) => typeof e == "string" ? t + e : typeof e == "object" ? Object.fromEntries(Object.entries(e).map(([e, n]) => [t + e, n])) : e)]) : e, x = (e) => {
101
+ if (e < 1) return {
102
+ get: () => void 0,
103
+ set: () => {}
104
+ };
105
+ let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (i, a) => {
106
+ n.set(i, a), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
107
+ };
108
+ return {
109
+ get(e) {
110
+ let t = n.get(e);
111
+ if (t !== void 0) return t;
112
+ if ((t = r.get(e)) !== void 0) return i(e, t), t;
113
+ },
114
+ set(e, t) {
115
+ n.has(e) ? n.set(e, t) : i(e, t);
116
+ }
117
+ };
118
+ }, S = "!", C = (e) => {
119
+ let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
120
+ let n = [], o = 0, s = 0, c;
121
+ for (let l = 0; l < e.length; l++) {
122
+ let u = e[l];
123
+ if (o === 0) {
124
+ if (u === i && (r || e.slice(l, l + a) === t)) {
125
+ n.push(e.slice(s, l)), s = l + a;
126
+ continue;
127
+ }
128
+ if (u === "/") {
129
+ c = l;
130
+ continue;
131
+ }
132
+ }
133
+ u === "[" ? o++ : u === "]" && o--;
134
+ }
135
+ let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(S);
136
+ return {
137
+ modifiers: n,
138
+ hasImportantModifier: u,
139
+ baseClassName: u ? l.substring(1) : l,
140
+ maybePostfixModifierPosition: c && c > s ? c - s : void 0
141
+ };
142
+ };
143
+ return n ? (e) => n({
144
+ className: e,
145
+ parseClassName: o
146
+ }) : o;
147
+ }, w = (e) => {
148
+ if (e.length <= 1) return e;
149
+ let t = [], n = [];
150
+ return e.forEach((e) => {
151
+ e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
152
+ }), t.push(...n.sort()), t;
153
+ }, T = (e) => ({
154
+ cache: x(e.cacheSize),
155
+ parseClassName: C(e),
156
+ ...f(e)
157
+ }), E = /\s+/, D = (e, t) => {
158
+ let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(E), s = "";
159
+ for (let e = o.length - 1; e >= 0; --e) {
160
+ let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
161
+ if (!p) {
162
+ if (!f) {
163
+ s = t + (s.length > 0 ? " " + s : s);
164
+ continue;
165
+ }
166
+ if (p = r(u), !p) {
167
+ s = t + (s.length > 0 ? " " + s : s);
168
+ continue;
169
+ }
170
+ f = !1;
171
+ }
172
+ let m = w(c).join(":"), h = l ? m + S : m, g = h + p;
173
+ if (a.includes(g)) continue;
174
+ a.push(g);
175
+ let _ = i(p, f);
176
+ for (let e = 0; e < _.length; ++e) {
177
+ let t = _[e];
178
+ a.push(h + t);
179
+ }
180
+ s = t + (s.length > 0 ? " " + s : s);
181
+ }
182
+ return s;
183
+ };
184
+ function O() {
185
+ let e = 0, t, n, r = "";
186
+ for (; e < arguments.length;) (t = arguments[e++]) && (n = k(t)) && (r && (r += " "), r += n);
187
+ return r;
188
+ }
189
+ var k = (e) => {
190
+ if (typeof e == "string") return e;
191
+ let t, n = "";
192
+ for (let r = 0; r < e.length; r++) e[r] && (t = k(e[r])) && (n && (n += " "), n += t);
193
+ return n;
194
+ };
195
+ function A(e, ...t) {
196
+ let n, r, i, a = o;
197
+ function o(o) {
198
+ return n = T(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
199
+ }
200
+ function s(e) {
201
+ let t = r(e);
202
+ if (t) return t;
203
+ let a = D(e, n);
204
+ return i(e, a), a;
205
+ }
206
+ return function() {
207
+ return a(O.apply(null, arguments));
208
+ };
209
+ }
210
+ var j = (e) => {
211
+ let t = (t) => t[e] || [];
212
+ return t.isThemeGetter = !0, t;
213
+ }, M = /^\[(?:([a-z-]+):)?(.+)\]$/i, N = /^\d+\/\d+$/, P = /* @__PURE__ */ new Set([
214
+ "px",
215
+ "full",
216
+ "screen"
217
+ ]), F = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, I = /\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$/, L = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, R = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, z = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, B = (e) => H(e) || P.has(e) || N.test(e), V = (e) => Z(e, "length", ie), H = (e) => !!e && !Number.isNaN(Number(e)), U = (e) => Z(e, "number", H), W = (e) => !!e && Number.isInteger(Number(e)), G = (e) => e.endsWith("%") && H(e.slice(0, -1)), K = (e) => M.test(e), q = (e) => F.test(e), J = /* @__PURE__ */ new Set([
218
+ "length",
219
+ "size",
220
+ "percentage"
221
+ ]), Y = (e) => Z(e, J, Q), ee = (e) => Z(e, "position", Q), te = /* @__PURE__ */ new Set(["image", "url"]), ne = (e) => Z(e, te, oe), re = (e) => Z(e, "", ae), X = () => !0, Z = (e, t, n) => {
222
+ let r = M.exec(e);
223
+ return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
224
+ }, ie = (e) => I.test(e) && !L.test(e), Q = () => !1, ae = (e) => R.test(e), oe = (e) => z.test(e), se = /* @__PURE__ */ A(() => {
225
+ let e = j("colors"), t = j("spacing"), n = j("blur"), r = j("brightness"), i = j("borderColor"), a = j("borderRadius"), o = j("borderSpacing"), s = j("borderWidth"), c = j("contrast"), l = j("grayscale"), u = j("hueRotate"), d = j("invert"), f = j("gap"), p = j("gradientColorStops"), m = j("gradientColorStopPositions"), h = j("inset"), g = j("margin"), _ = j("opacity"), v = j("padding"), y = j("saturate"), b = j("scale"), x = j("sepia"), S = j("skew"), C = j("space"), w = j("translate"), T = () => [
226
+ "auto",
227
+ "contain",
228
+ "none"
229
+ ], E = () => [
230
+ "auto",
231
+ "hidden",
232
+ "clip",
233
+ "visible",
234
+ "scroll"
235
+ ], D = () => [
236
+ "auto",
237
+ K,
238
+ t
239
+ ], O = () => [K, t], k = () => [
240
+ "",
241
+ B,
242
+ V
243
+ ], A = () => [
244
+ "auto",
245
+ H,
246
+ K
247
+ ], M = () => [
248
+ "bottom",
249
+ "center",
250
+ "left",
251
+ "left-bottom",
252
+ "left-top",
253
+ "right",
254
+ "right-bottom",
255
+ "right-top",
256
+ "top"
257
+ ], N = () => [
258
+ "solid",
259
+ "dashed",
260
+ "dotted",
261
+ "double",
262
+ "none"
263
+ ], P = () => [
264
+ "normal",
265
+ "multiply",
266
+ "screen",
267
+ "overlay",
268
+ "darken",
269
+ "lighten",
270
+ "color-dodge",
271
+ "color-burn",
272
+ "hard-light",
273
+ "soft-light",
274
+ "difference",
275
+ "exclusion",
276
+ "hue",
277
+ "saturation",
278
+ "color",
279
+ "luminosity"
280
+ ], F = () => [
281
+ "start",
282
+ "end",
283
+ "center",
284
+ "between",
285
+ "around",
286
+ "evenly",
287
+ "stretch"
288
+ ], I = () => [
289
+ "",
290
+ "0",
291
+ K
292
+ ], L = () => [
293
+ "auto",
294
+ "avoid",
295
+ "all",
296
+ "avoid-page",
297
+ "page",
298
+ "left",
299
+ "right",
300
+ "column"
301
+ ], R = () => [H, K];
302
+ return {
303
+ cacheSize: 500,
304
+ separator: ":",
305
+ theme: {
306
+ colors: [X],
307
+ spacing: [B, V],
308
+ blur: [
309
+ "none",
310
+ "",
311
+ q,
312
+ K
313
+ ],
314
+ brightness: R(),
315
+ borderColor: [e],
316
+ borderRadius: [
317
+ "none",
318
+ "",
319
+ "full",
320
+ q,
321
+ K
322
+ ],
323
+ borderSpacing: O(),
324
+ borderWidth: k(),
325
+ contrast: R(),
326
+ grayscale: I(),
327
+ hueRotate: R(),
328
+ invert: I(),
329
+ gap: O(),
330
+ gradientColorStops: [e],
331
+ gradientColorStopPositions: [G, V],
332
+ inset: D(),
333
+ margin: D(),
334
+ opacity: R(),
335
+ padding: O(),
336
+ saturate: R(),
337
+ scale: R(),
338
+ sepia: I(),
339
+ skew: R(),
340
+ space: O(),
341
+ translate: O()
342
+ },
343
+ classGroups: {
344
+ aspect: [{ aspect: [
345
+ "auto",
346
+ "square",
347
+ "video",
348
+ K
349
+ ] }],
350
+ container: ["container"],
351
+ columns: [{ columns: [q] }],
352
+ "break-after": [{ "break-after": L() }],
353
+ "break-before": [{ "break-before": L() }],
354
+ "break-inside": [{ "break-inside": [
355
+ "auto",
356
+ "avoid",
357
+ "avoid-page",
358
+ "avoid-column"
359
+ ] }],
360
+ "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
361
+ box: [{ box: ["border", "content"] }],
362
+ display: [
363
+ "block",
364
+ "inline-block",
365
+ "inline",
366
+ "flex",
367
+ "inline-flex",
368
+ "table",
369
+ "inline-table",
370
+ "table-caption",
371
+ "table-cell",
372
+ "table-column",
373
+ "table-column-group",
374
+ "table-footer-group",
375
+ "table-header-group",
376
+ "table-row-group",
377
+ "table-row",
378
+ "flow-root",
379
+ "grid",
380
+ "inline-grid",
381
+ "contents",
382
+ "list-item",
383
+ "hidden"
384
+ ],
385
+ float: [{ float: [
386
+ "right",
387
+ "left",
388
+ "none",
389
+ "start",
390
+ "end"
391
+ ] }],
392
+ clear: [{ clear: [
393
+ "left",
394
+ "right",
395
+ "both",
396
+ "none",
397
+ "start",
398
+ "end"
399
+ ] }],
400
+ isolation: ["isolate", "isolation-auto"],
401
+ "object-fit": [{ object: [
402
+ "contain",
403
+ "cover",
404
+ "fill",
405
+ "none",
406
+ "scale-down"
407
+ ] }],
408
+ "object-position": [{ object: [...M(), K] }],
409
+ overflow: [{ overflow: E() }],
410
+ "overflow-x": [{ "overflow-x": E() }],
411
+ "overflow-y": [{ "overflow-y": E() }],
412
+ overscroll: [{ overscroll: T() }],
413
+ "overscroll-x": [{ "overscroll-x": T() }],
414
+ "overscroll-y": [{ "overscroll-y": T() }],
415
+ position: [
416
+ "static",
417
+ "fixed",
418
+ "absolute",
419
+ "relative",
420
+ "sticky"
421
+ ],
422
+ inset: [{ inset: [h] }],
423
+ "inset-x": [{ "inset-x": [h] }],
424
+ "inset-y": [{ "inset-y": [h] }],
425
+ start: [{ start: [h] }],
426
+ end: [{ end: [h] }],
427
+ top: [{ top: [h] }],
428
+ right: [{ right: [h] }],
429
+ bottom: [{ bottom: [h] }],
430
+ left: [{ left: [h] }],
431
+ visibility: [
432
+ "visible",
433
+ "invisible",
434
+ "collapse"
435
+ ],
436
+ z: [{ z: [
437
+ "auto",
438
+ W,
439
+ K
440
+ ] }],
441
+ basis: [{ basis: D() }],
442
+ "flex-direction": [{ flex: [
443
+ "row",
444
+ "row-reverse",
445
+ "col",
446
+ "col-reverse"
447
+ ] }],
448
+ "flex-wrap": [{ flex: [
449
+ "wrap",
450
+ "wrap-reverse",
451
+ "nowrap"
452
+ ] }],
453
+ flex: [{ flex: [
454
+ "1",
455
+ "auto",
456
+ "initial",
457
+ "none",
458
+ K
459
+ ] }],
460
+ grow: [{ grow: I() }],
461
+ shrink: [{ shrink: I() }],
462
+ order: [{ order: [
463
+ "first",
464
+ "last",
465
+ "none",
466
+ W,
467
+ K
468
+ ] }],
469
+ "grid-cols": [{ "grid-cols": [X] }],
470
+ "col-start-end": [{ col: [
471
+ "auto",
472
+ { span: [
473
+ "full",
474
+ W,
475
+ K
476
+ ] },
477
+ K
478
+ ] }],
479
+ "col-start": [{ "col-start": A() }],
480
+ "col-end": [{ "col-end": A() }],
481
+ "grid-rows": [{ "grid-rows": [X] }],
482
+ "row-start-end": [{ row: [
483
+ "auto",
484
+ { span: [W, K] },
485
+ K
486
+ ] }],
487
+ "row-start": [{ "row-start": A() }],
488
+ "row-end": [{ "row-end": A() }],
489
+ "grid-flow": [{ "grid-flow": [
490
+ "row",
491
+ "col",
492
+ "dense",
493
+ "row-dense",
494
+ "col-dense"
495
+ ] }],
496
+ "auto-cols": [{ "auto-cols": [
497
+ "auto",
498
+ "min",
499
+ "max",
500
+ "fr",
501
+ K
502
+ ] }],
503
+ "auto-rows": [{ "auto-rows": [
504
+ "auto",
505
+ "min",
506
+ "max",
507
+ "fr",
508
+ K
509
+ ] }],
510
+ gap: [{ gap: [f] }],
511
+ "gap-x": [{ "gap-x": [f] }],
512
+ "gap-y": [{ "gap-y": [f] }],
513
+ "justify-content": [{ justify: ["normal", ...F()] }],
514
+ "justify-items": [{ "justify-items": [
515
+ "start",
516
+ "end",
517
+ "center",
518
+ "stretch"
519
+ ] }],
520
+ "justify-self": [{ "justify-self": [
521
+ "auto",
522
+ "start",
523
+ "end",
524
+ "center",
525
+ "stretch"
526
+ ] }],
527
+ "align-content": [{ content: [
528
+ "normal",
529
+ ...F(),
530
+ "baseline"
531
+ ] }],
532
+ "align-items": [{ items: [
533
+ "start",
534
+ "end",
535
+ "center",
536
+ "baseline",
537
+ "stretch"
538
+ ] }],
539
+ "align-self": [{ self: [
540
+ "auto",
541
+ "start",
542
+ "end",
543
+ "center",
544
+ "stretch",
545
+ "baseline"
546
+ ] }],
547
+ "place-content": [{ "place-content": [...F(), "baseline"] }],
548
+ "place-items": [{ "place-items": [
549
+ "start",
550
+ "end",
551
+ "center",
552
+ "baseline",
553
+ "stretch"
554
+ ] }],
555
+ "place-self": [{ "place-self": [
556
+ "auto",
557
+ "start",
558
+ "end",
559
+ "center",
560
+ "stretch"
561
+ ] }],
562
+ p: [{ p: [v] }],
563
+ px: [{ px: [v] }],
564
+ py: [{ py: [v] }],
565
+ ps: [{ ps: [v] }],
566
+ pe: [{ pe: [v] }],
567
+ pt: [{ pt: [v] }],
568
+ pr: [{ pr: [v] }],
569
+ pb: [{ pb: [v] }],
570
+ pl: [{ pl: [v] }],
571
+ m: [{ m: [g] }],
572
+ mx: [{ mx: [g] }],
573
+ my: [{ my: [g] }],
574
+ ms: [{ ms: [g] }],
575
+ me: [{ me: [g] }],
576
+ mt: [{ mt: [g] }],
577
+ mr: [{ mr: [g] }],
578
+ mb: [{ mb: [g] }],
579
+ ml: [{ ml: [g] }],
580
+ "space-x": [{ "space-x": [C] }],
581
+ "space-x-reverse": ["space-x-reverse"],
582
+ "space-y": [{ "space-y": [C] }],
583
+ "space-y-reverse": ["space-y-reverse"],
584
+ w: [{ w: [
585
+ "auto",
586
+ "min",
587
+ "max",
588
+ "fit",
589
+ "svw",
590
+ "lvw",
591
+ "dvw",
592
+ K,
593
+ t
594
+ ] }],
595
+ "min-w": [{ "min-w": [
596
+ K,
597
+ t,
598
+ "min",
599
+ "max",
600
+ "fit"
601
+ ] }],
602
+ "max-w": [{ "max-w": [
603
+ K,
604
+ t,
605
+ "none",
606
+ "full",
607
+ "min",
608
+ "max",
609
+ "fit",
610
+ "prose",
611
+ { screen: [q] },
612
+ q
613
+ ] }],
614
+ h: [{ h: [
615
+ K,
616
+ t,
617
+ "auto",
618
+ "min",
619
+ "max",
620
+ "fit",
621
+ "svh",
622
+ "lvh",
623
+ "dvh"
624
+ ] }],
625
+ "min-h": [{ "min-h": [
626
+ K,
627
+ t,
628
+ "min",
629
+ "max",
630
+ "fit",
631
+ "svh",
632
+ "lvh",
633
+ "dvh"
634
+ ] }],
635
+ "max-h": [{ "max-h": [
636
+ K,
637
+ t,
638
+ "min",
639
+ "max",
640
+ "fit",
641
+ "svh",
642
+ "lvh",
643
+ "dvh"
644
+ ] }],
645
+ size: [{ size: [
646
+ K,
647
+ t,
648
+ "auto",
649
+ "min",
650
+ "max",
651
+ "fit"
652
+ ] }],
653
+ "font-size": [{ text: [
654
+ "base",
655
+ q,
656
+ V
657
+ ] }],
658
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
659
+ "font-style": ["italic", "not-italic"],
660
+ "font-weight": [{ font: [
661
+ "thin",
662
+ "extralight",
663
+ "light",
664
+ "normal",
665
+ "medium",
666
+ "semibold",
667
+ "bold",
668
+ "extrabold",
669
+ "black",
670
+ U
671
+ ] }],
672
+ "font-family": [{ font: [X] }],
673
+ "fvn-normal": ["normal-nums"],
674
+ "fvn-ordinal": ["ordinal"],
675
+ "fvn-slashed-zero": ["slashed-zero"],
676
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
677
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
678
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
679
+ tracking: [{ tracking: [
680
+ "tighter",
681
+ "tight",
682
+ "normal",
683
+ "wide",
684
+ "wider",
685
+ "widest",
686
+ K
687
+ ] }],
688
+ "line-clamp": [{ "line-clamp": [
689
+ "none",
690
+ H,
691
+ U
692
+ ] }],
693
+ leading: [{ leading: [
694
+ "none",
695
+ "tight",
696
+ "snug",
697
+ "normal",
698
+ "relaxed",
699
+ "loose",
700
+ B,
701
+ K
702
+ ] }],
703
+ "list-image": [{ "list-image": ["none", K] }],
704
+ "list-style-type": [{ list: [
705
+ "none",
706
+ "disc",
707
+ "decimal",
708
+ K
709
+ ] }],
710
+ "list-style-position": [{ list: ["inside", "outside"] }],
711
+ "placeholder-color": [{ placeholder: [e] }],
712
+ "placeholder-opacity": [{ "placeholder-opacity": [_] }],
713
+ "text-alignment": [{ text: [
714
+ "left",
715
+ "center",
716
+ "right",
717
+ "justify",
718
+ "start",
719
+ "end"
720
+ ] }],
721
+ "text-color": [{ text: [e] }],
722
+ "text-opacity": [{ "text-opacity": [_] }],
723
+ "text-decoration": [
724
+ "underline",
725
+ "overline",
726
+ "line-through",
727
+ "no-underline"
728
+ ],
729
+ "text-decoration-style": [{ decoration: [...N(), "wavy"] }],
730
+ "text-decoration-thickness": [{ decoration: [
731
+ "auto",
732
+ "from-font",
733
+ B,
734
+ V
735
+ ] }],
736
+ "underline-offset": [{ "underline-offset": [
737
+ "auto",
738
+ B,
739
+ K
740
+ ] }],
741
+ "text-decoration-color": [{ decoration: [e] }],
742
+ "text-transform": [
743
+ "uppercase",
744
+ "lowercase",
745
+ "capitalize",
746
+ "normal-case"
747
+ ],
748
+ "text-overflow": [
749
+ "truncate",
750
+ "text-ellipsis",
751
+ "text-clip"
752
+ ],
753
+ "text-wrap": [{ text: [
754
+ "wrap",
755
+ "nowrap",
756
+ "balance",
757
+ "pretty"
758
+ ] }],
759
+ indent: [{ indent: O() }],
760
+ "vertical-align": [{ align: [
761
+ "baseline",
762
+ "top",
763
+ "middle",
764
+ "bottom",
765
+ "text-top",
766
+ "text-bottom",
767
+ "sub",
768
+ "super",
769
+ K
770
+ ] }],
771
+ whitespace: [{ whitespace: [
772
+ "normal",
773
+ "nowrap",
774
+ "pre",
775
+ "pre-line",
776
+ "pre-wrap",
777
+ "break-spaces"
778
+ ] }],
779
+ break: [{ break: [
780
+ "normal",
781
+ "words",
782
+ "all",
783
+ "keep"
784
+ ] }],
785
+ hyphens: [{ hyphens: [
786
+ "none",
787
+ "manual",
788
+ "auto"
789
+ ] }],
790
+ content: [{ content: ["none", K] }],
791
+ "bg-attachment": [{ bg: [
792
+ "fixed",
793
+ "local",
794
+ "scroll"
795
+ ] }],
796
+ "bg-clip": [{ "bg-clip": [
797
+ "border",
798
+ "padding",
799
+ "content",
800
+ "text"
801
+ ] }],
802
+ "bg-opacity": [{ "bg-opacity": [_] }],
803
+ "bg-origin": [{ "bg-origin": [
804
+ "border",
805
+ "padding",
806
+ "content"
807
+ ] }],
808
+ "bg-position": [{ bg: [...M(), ee] }],
809
+ "bg-repeat": [{ bg: ["no-repeat", { repeat: [
810
+ "",
811
+ "x",
812
+ "y",
813
+ "round",
814
+ "space"
815
+ ] }] }],
816
+ "bg-size": [{ bg: [
817
+ "auto",
818
+ "cover",
819
+ "contain",
820
+ Y
821
+ ] }],
822
+ "bg-image": [{ bg: [
823
+ "none",
824
+ { "gradient-to": [
825
+ "t",
826
+ "tr",
827
+ "r",
828
+ "br",
829
+ "b",
830
+ "bl",
831
+ "l",
832
+ "tl"
833
+ ] },
834
+ ne
835
+ ] }],
836
+ "bg-color": [{ bg: [e] }],
837
+ "gradient-from-pos": [{ from: [m] }],
838
+ "gradient-via-pos": [{ via: [m] }],
839
+ "gradient-to-pos": [{ to: [m] }],
840
+ "gradient-from": [{ from: [p] }],
841
+ "gradient-via": [{ via: [p] }],
842
+ "gradient-to": [{ to: [p] }],
843
+ rounded: [{ rounded: [a] }],
844
+ "rounded-s": [{ "rounded-s": [a] }],
845
+ "rounded-e": [{ "rounded-e": [a] }],
846
+ "rounded-t": [{ "rounded-t": [a] }],
847
+ "rounded-r": [{ "rounded-r": [a] }],
848
+ "rounded-b": [{ "rounded-b": [a] }],
849
+ "rounded-l": [{ "rounded-l": [a] }],
850
+ "rounded-ss": [{ "rounded-ss": [a] }],
851
+ "rounded-se": [{ "rounded-se": [a] }],
852
+ "rounded-ee": [{ "rounded-ee": [a] }],
853
+ "rounded-es": [{ "rounded-es": [a] }],
854
+ "rounded-tl": [{ "rounded-tl": [a] }],
855
+ "rounded-tr": [{ "rounded-tr": [a] }],
856
+ "rounded-br": [{ "rounded-br": [a] }],
857
+ "rounded-bl": [{ "rounded-bl": [a] }],
858
+ "border-w": [{ border: [s] }],
859
+ "border-w-x": [{ "border-x": [s] }],
860
+ "border-w-y": [{ "border-y": [s] }],
861
+ "border-w-s": [{ "border-s": [s] }],
862
+ "border-w-e": [{ "border-e": [s] }],
863
+ "border-w-t": [{ "border-t": [s] }],
864
+ "border-w-r": [{ "border-r": [s] }],
865
+ "border-w-b": [{ "border-b": [s] }],
866
+ "border-w-l": [{ "border-l": [s] }],
867
+ "border-opacity": [{ "border-opacity": [_] }],
868
+ "border-style": [{ border: [...N(), "hidden"] }],
869
+ "divide-x": [{ "divide-x": [s] }],
870
+ "divide-x-reverse": ["divide-x-reverse"],
871
+ "divide-y": [{ "divide-y": [s] }],
872
+ "divide-y-reverse": ["divide-y-reverse"],
873
+ "divide-opacity": [{ "divide-opacity": [_] }],
874
+ "divide-style": [{ divide: N() }],
875
+ "border-color": [{ border: [i] }],
876
+ "border-color-x": [{ "border-x": [i] }],
877
+ "border-color-y": [{ "border-y": [i] }],
878
+ "border-color-s": [{ "border-s": [i] }],
879
+ "border-color-e": [{ "border-e": [i] }],
880
+ "border-color-t": [{ "border-t": [i] }],
881
+ "border-color-r": [{ "border-r": [i] }],
882
+ "border-color-b": [{ "border-b": [i] }],
883
+ "border-color-l": [{ "border-l": [i] }],
884
+ "divide-color": [{ divide: [i] }],
885
+ "outline-style": [{ outline: ["", ...N()] }],
886
+ "outline-offset": [{ "outline-offset": [B, K] }],
887
+ "outline-w": [{ outline: [B, V] }],
888
+ "outline-color": [{ outline: [e] }],
889
+ "ring-w": [{ ring: k() }],
890
+ "ring-w-inset": ["ring-inset"],
891
+ "ring-color": [{ ring: [e] }],
892
+ "ring-opacity": [{ "ring-opacity": [_] }],
893
+ "ring-offset-w": [{ "ring-offset": [B, V] }],
894
+ "ring-offset-color": [{ "ring-offset": [e] }],
895
+ shadow: [{ shadow: [
896
+ "",
897
+ "inner",
898
+ "none",
899
+ q,
900
+ re
901
+ ] }],
902
+ "shadow-color": [{ shadow: [X] }],
903
+ opacity: [{ opacity: [_] }],
904
+ "mix-blend": [{ "mix-blend": [
905
+ ...P(),
906
+ "plus-lighter",
907
+ "plus-darker"
908
+ ] }],
909
+ "bg-blend": [{ "bg-blend": P() }],
910
+ filter: [{ filter: ["", "none"] }],
911
+ blur: [{ blur: [n] }],
912
+ brightness: [{ brightness: [r] }],
913
+ contrast: [{ contrast: [c] }],
914
+ "drop-shadow": [{ "drop-shadow": [
915
+ "",
916
+ "none",
917
+ q,
918
+ K
919
+ ] }],
920
+ grayscale: [{ grayscale: [l] }],
921
+ "hue-rotate": [{ "hue-rotate": [u] }],
922
+ invert: [{ invert: [d] }],
923
+ saturate: [{ saturate: [y] }],
924
+ sepia: [{ sepia: [x] }],
925
+ "backdrop-filter": [{ "backdrop-filter": ["", "none"] }],
926
+ "backdrop-blur": [{ "backdrop-blur": [n] }],
927
+ "backdrop-brightness": [{ "backdrop-brightness": [r] }],
928
+ "backdrop-contrast": [{ "backdrop-contrast": [c] }],
929
+ "backdrop-grayscale": [{ "backdrop-grayscale": [l] }],
930
+ "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [u] }],
931
+ "backdrop-invert": [{ "backdrop-invert": [d] }],
932
+ "backdrop-opacity": [{ "backdrop-opacity": [_] }],
933
+ "backdrop-saturate": [{ "backdrop-saturate": [y] }],
934
+ "backdrop-sepia": [{ "backdrop-sepia": [x] }],
935
+ "border-collapse": [{ border: ["collapse", "separate"] }],
936
+ "border-spacing": [{ "border-spacing": [o] }],
937
+ "border-spacing-x": [{ "border-spacing-x": [o] }],
938
+ "border-spacing-y": [{ "border-spacing-y": [o] }],
939
+ "table-layout": [{ table: ["auto", "fixed"] }],
940
+ caption: [{ caption: ["top", "bottom"] }],
941
+ transition: [{ transition: [
942
+ "none",
943
+ "all",
944
+ "",
945
+ "colors",
946
+ "opacity",
947
+ "shadow",
948
+ "transform",
949
+ K
950
+ ] }],
951
+ duration: [{ duration: R() }],
952
+ ease: [{ ease: [
953
+ "linear",
954
+ "in",
955
+ "out",
956
+ "in-out",
957
+ K
958
+ ] }],
959
+ delay: [{ delay: R() }],
960
+ animate: [{ animate: [
961
+ "none",
962
+ "spin",
963
+ "ping",
964
+ "pulse",
965
+ "bounce",
966
+ K
967
+ ] }],
968
+ transform: [{ transform: [
969
+ "",
970
+ "gpu",
971
+ "none"
972
+ ] }],
973
+ scale: [{ scale: [b] }],
974
+ "scale-x": [{ "scale-x": [b] }],
975
+ "scale-y": [{ "scale-y": [b] }],
976
+ rotate: [{ rotate: [W, K] }],
977
+ "translate-x": [{ "translate-x": [w] }],
978
+ "translate-y": [{ "translate-y": [w] }],
979
+ "skew-x": [{ "skew-x": [S] }],
980
+ "skew-y": [{ "skew-y": [S] }],
981
+ "transform-origin": [{ origin: [
982
+ "center",
983
+ "top",
984
+ "top-right",
985
+ "right",
986
+ "bottom-right",
987
+ "bottom",
988
+ "bottom-left",
989
+ "left",
990
+ "top-left",
991
+ K
992
+ ] }],
993
+ accent: [{ accent: ["auto", e] }],
994
+ appearance: [{ appearance: ["none", "auto"] }],
995
+ cursor: [{ cursor: [
996
+ "auto",
997
+ "default",
998
+ "pointer",
999
+ "wait",
1000
+ "text",
1001
+ "move",
1002
+ "help",
1003
+ "not-allowed",
1004
+ "none",
1005
+ "context-menu",
1006
+ "progress",
1007
+ "cell",
1008
+ "crosshair",
1009
+ "vertical-text",
1010
+ "alias",
1011
+ "copy",
1012
+ "no-drop",
1013
+ "grab",
1014
+ "grabbing",
1015
+ "all-scroll",
1016
+ "col-resize",
1017
+ "row-resize",
1018
+ "n-resize",
1019
+ "e-resize",
1020
+ "s-resize",
1021
+ "w-resize",
1022
+ "ne-resize",
1023
+ "nw-resize",
1024
+ "se-resize",
1025
+ "sw-resize",
1026
+ "ew-resize",
1027
+ "ns-resize",
1028
+ "nesw-resize",
1029
+ "nwse-resize",
1030
+ "zoom-in",
1031
+ "zoom-out",
1032
+ K
1033
+ ] }],
1034
+ "caret-color": [{ caret: [e] }],
1035
+ "pointer-events": [{ "pointer-events": ["none", "auto"] }],
1036
+ resize: [{ resize: [
1037
+ "none",
1038
+ "y",
1039
+ "x",
1040
+ ""
1041
+ ] }],
1042
+ "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1043
+ "scroll-m": [{ "scroll-m": O() }],
1044
+ "scroll-mx": [{ "scroll-mx": O() }],
1045
+ "scroll-my": [{ "scroll-my": O() }],
1046
+ "scroll-ms": [{ "scroll-ms": O() }],
1047
+ "scroll-me": [{ "scroll-me": O() }],
1048
+ "scroll-mt": [{ "scroll-mt": O() }],
1049
+ "scroll-mr": [{ "scroll-mr": O() }],
1050
+ "scroll-mb": [{ "scroll-mb": O() }],
1051
+ "scroll-ml": [{ "scroll-ml": O() }],
1052
+ "scroll-p": [{ "scroll-p": O() }],
1053
+ "scroll-px": [{ "scroll-px": O() }],
1054
+ "scroll-py": [{ "scroll-py": O() }],
1055
+ "scroll-ps": [{ "scroll-ps": O() }],
1056
+ "scroll-pe": [{ "scroll-pe": O() }],
1057
+ "scroll-pt": [{ "scroll-pt": O() }],
1058
+ "scroll-pr": [{ "scroll-pr": O() }],
1059
+ "scroll-pb": [{ "scroll-pb": O() }],
1060
+ "scroll-pl": [{ "scroll-pl": O() }],
1061
+ "snap-align": [{ snap: [
1062
+ "start",
1063
+ "end",
1064
+ "center",
1065
+ "align-none"
1066
+ ] }],
1067
+ "snap-stop": [{ snap: ["normal", "always"] }],
1068
+ "snap-type": [{ snap: [
1069
+ "none",
1070
+ "x",
1071
+ "y",
1072
+ "both"
1073
+ ] }],
1074
+ "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
1075
+ touch: [{ touch: [
1076
+ "auto",
1077
+ "none",
1078
+ "manipulation"
1079
+ ] }],
1080
+ "touch-x": [{ "touch-pan": [
1081
+ "x",
1082
+ "left",
1083
+ "right"
1084
+ ] }],
1085
+ "touch-y": [{ "touch-pan": [
1086
+ "y",
1087
+ "up",
1088
+ "down"
1089
+ ] }],
1090
+ "touch-pz": ["touch-pinch-zoom"],
1091
+ select: [{ select: [
1092
+ "none",
1093
+ "text",
1094
+ "all",
1095
+ "auto"
1096
+ ] }],
1097
+ "will-change": [{ "will-change": [
1098
+ "auto",
1099
+ "scroll",
1100
+ "contents",
1101
+ "transform",
1102
+ K
1103
+ ] }],
1104
+ fill: [{ fill: [e, "none"] }],
1105
+ "stroke-w": [{ stroke: [
1106
+ B,
1107
+ V,
1108
+ U
1109
+ ] }],
1110
+ stroke: [{ stroke: [e, "none"] }],
1111
+ sr: ["sr-only", "not-sr-only"],
1112
+ "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1113
+ },
1114
+ conflictingClassGroups: {
1115
+ overflow: ["overflow-x", "overflow-y"],
1116
+ overscroll: ["overscroll-x", "overscroll-y"],
1117
+ inset: [
1118
+ "inset-x",
1119
+ "inset-y",
1120
+ "start",
1121
+ "end",
1122
+ "top",
1123
+ "right",
1124
+ "bottom",
1125
+ "left"
1126
+ ],
1127
+ "inset-x": ["right", "left"],
1128
+ "inset-y": ["top", "bottom"],
1129
+ flex: [
1130
+ "basis",
1131
+ "grow",
1132
+ "shrink"
1133
+ ],
1134
+ gap: ["gap-x", "gap-y"],
1135
+ p: [
1136
+ "px",
1137
+ "py",
1138
+ "ps",
1139
+ "pe",
1140
+ "pt",
1141
+ "pr",
1142
+ "pb",
1143
+ "pl"
1144
+ ],
1145
+ px: ["pr", "pl"],
1146
+ py: ["pt", "pb"],
1147
+ m: [
1148
+ "mx",
1149
+ "my",
1150
+ "ms",
1151
+ "me",
1152
+ "mt",
1153
+ "mr",
1154
+ "mb",
1155
+ "ml"
1156
+ ],
1157
+ mx: ["mr", "ml"],
1158
+ my: ["mt", "mb"],
1159
+ size: ["w", "h"],
1160
+ "font-size": ["leading"],
1161
+ "fvn-normal": [
1162
+ "fvn-ordinal",
1163
+ "fvn-slashed-zero",
1164
+ "fvn-figure",
1165
+ "fvn-spacing",
1166
+ "fvn-fraction"
1167
+ ],
1168
+ "fvn-ordinal": ["fvn-normal"],
1169
+ "fvn-slashed-zero": ["fvn-normal"],
1170
+ "fvn-figure": ["fvn-normal"],
1171
+ "fvn-spacing": ["fvn-normal"],
1172
+ "fvn-fraction": ["fvn-normal"],
1173
+ "line-clamp": ["display", "overflow"],
1174
+ rounded: [
1175
+ "rounded-s",
1176
+ "rounded-e",
1177
+ "rounded-t",
1178
+ "rounded-r",
1179
+ "rounded-b",
1180
+ "rounded-l",
1181
+ "rounded-ss",
1182
+ "rounded-se",
1183
+ "rounded-ee",
1184
+ "rounded-es",
1185
+ "rounded-tl",
1186
+ "rounded-tr",
1187
+ "rounded-br",
1188
+ "rounded-bl"
1189
+ ],
1190
+ "rounded-s": ["rounded-ss", "rounded-es"],
1191
+ "rounded-e": ["rounded-se", "rounded-ee"],
1192
+ "rounded-t": ["rounded-tl", "rounded-tr"],
1193
+ "rounded-r": ["rounded-tr", "rounded-br"],
1194
+ "rounded-b": ["rounded-br", "rounded-bl"],
1195
+ "rounded-l": ["rounded-tl", "rounded-bl"],
1196
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
1197
+ "border-w": [
1198
+ "border-w-s",
1199
+ "border-w-e",
1200
+ "border-w-t",
1201
+ "border-w-r",
1202
+ "border-w-b",
1203
+ "border-w-l"
1204
+ ],
1205
+ "border-w-x": ["border-w-r", "border-w-l"],
1206
+ "border-w-y": ["border-w-t", "border-w-b"],
1207
+ "border-color": [
1208
+ "border-color-s",
1209
+ "border-color-e",
1210
+ "border-color-t",
1211
+ "border-color-r",
1212
+ "border-color-b",
1213
+ "border-color-l"
1214
+ ],
1215
+ "border-color-x": ["border-color-r", "border-color-l"],
1216
+ "border-color-y": ["border-color-t", "border-color-b"],
1217
+ "scroll-m": [
1218
+ "scroll-mx",
1219
+ "scroll-my",
1220
+ "scroll-ms",
1221
+ "scroll-me",
1222
+ "scroll-mt",
1223
+ "scroll-mr",
1224
+ "scroll-mb",
1225
+ "scroll-ml"
1226
+ ],
1227
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
1228
+ "scroll-my": ["scroll-mt", "scroll-mb"],
1229
+ "scroll-p": [
1230
+ "scroll-px",
1231
+ "scroll-py",
1232
+ "scroll-ps",
1233
+ "scroll-pe",
1234
+ "scroll-pt",
1235
+ "scroll-pr",
1236
+ "scroll-pb",
1237
+ "scroll-pl"
1238
+ ],
1239
+ "scroll-px": ["scroll-pr", "scroll-pl"],
1240
+ "scroll-py": ["scroll-pt", "scroll-pb"],
1241
+ touch: [
1242
+ "touch-x",
1243
+ "touch-y",
1244
+ "touch-pz"
1245
+ ],
1246
+ "touch-x": ["touch"],
1247
+ "touch-y": ["touch"],
1248
+ "touch-pz": ["touch"]
1249
+ },
1250
+ conflictingClassGroupModifiers: { "font-size": ["leading"] }
1251
+ };
1252
+ });
1253
+ //#endregion
1254
+ //#region src/lib/index.tsx
1255
+ function $(...e) {
1256
+ return se(u(e));
1257
+ }
1258
+ //#endregion
1259
+ //#region src/components/UI/CaseCard.tsx
1260
+ var ce = ({ data: e, className: t }) => /* @__PURE__ */ r("div", {
1261
+ className: $("border border-border bg-card text-card-foreground rounded-2xl p-8 shadow-sm", "flex flex-col min-h-60", t),
1262
+ children: [/* @__PURE__ */ r("div", {
1263
+ className: "flex-1 text-lg leading-relaxed text-foreground",
1264
+ children: [
1265
+ "“",
1266
+ e.content,
1267
+ "”"
1268
+ ]
1269
+ }), /* @__PURE__ */ r("div", {
1270
+ className: "mt-8 flex items-center gap-4",
1271
+ children: [/* @__PURE__ */ n("div", {
1272
+ className: "w-12 h-12 rounded-full bg-muted shrink-0 overflow-hidden border border-border",
1273
+ children: e.author_photo ? /* @__PURE__ */ n("img", {
1274
+ src: e.author_photo,
1275
+ alt: e.author,
1276
+ className: "w-full h-full object-cover"
1277
+ }) : /* @__PURE__ */ n("div", { className: "w-full h-full bg-primary/10" })
1278
+ }), /* @__PURE__ */ r("div", { children: [/* @__PURE__ */ n("p", {
1279
+ className: "font-semibold text-foreground",
1280
+ children: e.author
1281
+ }), /* @__PURE__ */ n("p", {
1282
+ className: "text-sm text-muted-foreground",
1283
+ children: e.author_role
1284
+ })] })]
1285
+ })]
1286
+ }), le = {
1287
+ enter: (e) => ({
1288
+ x: e > 0 ? 300 : -300,
1289
+ opacity: 0
1290
+ }),
1291
+ center: {
1292
+ x: 0,
1293
+ opacity: 1
1294
+ },
1295
+ exit: (e) => ({
1296
+ x: e > 0 ? -300 : 300,
1297
+ opacity: 0
1298
+ })
1299
+ }, ue = ({ apiKey: e, length: l = 2, className: u }) => {
1300
+ let { isLoading: d, testimonials: f } = o({ apiKey: e }), [p, m] = t(0), [h, g] = t(1), _ = f?.slice(0, l) ?? [], v = (e) => {
1301
+ g(e), m((t) => (t + e + _.length) % _.length);
1302
+ };
1303
+ return /* @__PURE__ */ n("div", {
1304
+ className: $("w-full flex flex-col my-10", u),
1305
+ children: /* @__PURE__ */ n("div", {
1306
+ className: "flex items-center justify-center px-4",
1307
+ children: d ? /* @__PURE__ */ n("div", {
1308
+ className: "text-muted-foreground",
1309
+ children: "Cargando testimonios..."
1310
+ }) : /* @__PURE__ */ r("div", {
1311
+ className: "w-full max-w-3xl flex flex-col gap-8",
1312
+ children: [/* @__PURE__ */ n("div", {
1313
+ className: "min-h-70 flex items-center",
1314
+ children: /* @__PURE__ */ n(i, {
1315
+ custom: h,
1316
+ mode: "wait",
1317
+ children: /* @__PURE__ */ n(a.div, {
1318
+ custom: h,
1319
+ variants: le,
1320
+ initial: "enter",
1321
+ animate: "center",
1322
+ exit: "exit",
1323
+ transition: {
1324
+ duration: .5,
1325
+ ease: "easeInOut"
1326
+ },
1327
+ className: "w-full",
1328
+ children: _[p] && ((e) => {
1329
+ switch (e.type) {
1330
+ case "case": return /* @__PURE__ */ n(ce, { data: e });
1331
+ case "video": return /* @__PURE__ */ n(c, { data: e });
1332
+ default: return /* @__PURE__ */ n(s, { data: e });
1333
+ }
1334
+ })(_[p])
1335
+ }, p)
1336
+ })
1337
+ }), /* @__PURE__ */ r("div", {
1338
+ className: "flex items-center justify-center gap-8",
1339
+ children: [
1340
+ /* @__PURE__ */ n("button", {
1341
+ onClick: () => v(-1),
1342
+ className: "w-11 h-11 flex items-center justify-center rounded-full border border-border bg-card hover:bg-accent hover:text-accent-foreground transition-colors shadow-sm",
1343
+ "aria-label": "Anterior",
1344
+ children: "←"
1345
+ }),
1346
+ /* @__PURE__ */ n("div", {
1347
+ className: "flex gap-3",
1348
+ children: _.map((e, t) => /* @__PURE__ */ n("button", {
1349
+ onClick: () => {
1350
+ g(t - p), m(t);
1351
+ },
1352
+ className: $("w-3.5 h-3.5 rounded-full transition-all", t === p ? "bg-primary scale-125" : "bg-muted-foreground/30 hover:bg-muted-foreground/50"),
1353
+ "aria-label": `Ir al testimonio ${t + 1}`
1354
+ }, t))
1355
+ }),
1356
+ /* @__PURE__ */ n("button", {
1357
+ onClick: () => v(1),
1358
+ className: "w-11 h-11 flex items-center justify-center rounded-full border border-border bg-card hover:bg-accent hover:text-accent-foreground transition-colors shadow-sm",
1359
+ "aria-label": "Siguiente",
1360
+ children: "→"
1361
+ })
1362
+ ]
1363
+ })]
1364
+ })
1365
+ })
1366
+ });
1367
+ };
1368
+ //#endregion
1369
+ export { ue as TestimonialCarrousel };