@riligar/components-kit 1.2.1 → 1.4.0
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.esm.js +262 -216
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createTheme as
|
|
1
|
+
import { createTheme as Z, Stack as m, Text as t, Title as q, Center as S, Box as f, Button as H, Container as C, Paper as x, Group as y, SimpleGrid as v, Image as K, List as G, ThemeIcon as T, Grid as b, Badge as A, Code as ee, RingProgress as re, Divider as N, SegmentedControl as le, Accordion as w, Avatar as ie, Anchor as ne, ActionIcon as ae } from "@mantine/core";
|
|
2
2
|
import { jsxs as i, jsx as e, Fragment as L } from "react/jsx-runtime";
|
|
3
|
-
import { useWindowScroll as
|
|
4
|
-
import { IconCheck as V, IconBolt as U, IconQuote as
|
|
5
|
-
import { Fragment as
|
|
6
|
-
const
|
|
3
|
+
import { useWindowScroll as te } from "@mantine/hooks";
|
|
4
|
+
import { IconCheck as V, IconBolt as U, IconQuote as ce, IconCircleCheck as oe } from "@tabler/icons-react";
|
|
5
|
+
import { Fragment as se } from "react";
|
|
6
|
+
const Be = Z({
|
|
7
7
|
fontFamily: 'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
|
|
8
8
|
headings: {
|
|
9
9
|
fontFamily: 'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
|
|
@@ -141,7 +141,7 @@ const Pe = q({
|
|
|
141
141
|
}
|
|
142
142
|
}
|
|
143
143
|
});
|
|
144
|
-
function
|
|
144
|
+
function Q({
|
|
145
145
|
subtitle: l,
|
|
146
146
|
title: c,
|
|
147
147
|
titleOrder: a = 2,
|
|
@@ -151,12 +151,12 @@ function J({
|
|
|
151
151
|
}) {
|
|
152
152
|
return !c && !l ? null : /* @__PURE__ */ i(m, { gap: "xs", align: n === "center" ? "center" : "flex-start", ta: n, children: [
|
|
153
153
|
l && /* @__PURE__ */ e(t, { c: "gray.4", size: "xs", fw: 800, tt: "uppercase", ls: "1.5px", children: l }),
|
|
154
|
-
c && /* @__PURE__ */ e(
|
|
154
|
+
c && /* @__PURE__ */ e(q, { order: a, fz: r, maw: o, children: c })
|
|
155
155
|
] });
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function J({ video: l, image: c, width: a = "100%", alt: r }) {
|
|
158
158
|
return l ? /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(
|
|
159
|
-
|
|
159
|
+
f,
|
|
160
160
|
{
|
|
161
161
|
component: "video",
|
|
162
162
|
src: l.src,
|
|
@@ -169,7 +169,7 @@ function X({ video: l, image: c, width: a = "100%", alt: r }) {
|
|
|
169
169
|
h: "auto",
|
|
170
170
|
style: { filter: l.filter || "none" }
|
|
171
171
|
}
|
|
172
|
-
) }) : c ? /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(
|
|
172
|
+
) }) : c ? /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(f, { component: "img", src: c, alt: r || "", w: a, h: "auto" }) }) : null;
|
|
173
173
|
}
|
|
174
174
|
function B({
|
|
175
175
|
label: l,
|
|
@@ -204,10 +204,10 @@ function B({
|
|
|
204
204
|
}
|
|
205
205
|
);
|
|
206
206
|
}
|
|
207
|
-
const
|
|
207
|
+
const Pe = {
|
|
208
208
|
white: "white",
|
|
209
|
-
gray: "gray.
|
|
210
|
-
},
|
|
209
|
+
gray: "gray.1"
|
|
210
|
+
}, z = (l) => l;
|
|
211
211
|
function I({
|
|
212
212
|
children: l,
|
|
213
213
|
title: c,
|
|
@@ -219,9 +219,9 @@ function I({
|
|
|
219
219
|
ta: d = "left",
|
|
220
220
|
stackGap: p = "xl"
|
|
221
221
|
}) {
|
|
222
|
-
const s =
|
|
222
|
+
const s = z(n);
|
|
223
223
|
return /* @__PURE__ */ e(
|
|
224
|
-
|
|
224
|
+
f,
|
|
225
225
|
{
|
|
226
226
|
component: "section",
|
|
227
227
|
id: r,
|
|
@@ -229,26 +229,26 @@ function I({
|
|
|
229
229
|
py: o,
|
|
230
230
|
style: { overflow: "hidden" },
|
|
231
231
|
children: /* @__PURE__ */ e(C, { size: "lg", children: /* @__PURE__ */ i(m, { gap: p, children: [
|
|
232
|
-
/* @__PURE__ */ e(
|
|
233
|
-
/* @__PURE__ */ e(
|
|
232
|
+
/* @__PURE__ */ e(Q, { subtitle: a, title: c, ta: d, maw: h }),
|
|
233
|
+
/* @__PURE__ */ e(f, { children: l })
|
|
234
234
|
] }) })
|
|
235
235
|
}
|
|
236
236
|
);
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function de({
|
|
239
239
|
logo: l,
|
|
240
240
|
navLinks: c = [],
|
|
241
241
|
loginCta: a,
|
|
242
242
|
signupCta: r,
|
|
243
243
|
background: n = "white"
|
|
244
244
|
}) {
|
|
245
|
-
const o =
|
|
245
|
+
const o = z(n), [h] = te(), d = h.y > 10, p = (g) => {
|
|
246
246
|
g === "top" ? window.scrollTo({ top: 0, behavior: "smooth" }) : document.getElementById(g)?.scrollIntoView({ behavior: "smooth" });
|
|
247
247
|
}, s = (g, u) => {
|
|
248
248
|
(g.key === "Enter" || g.key === " ") && (g.preventDefault(), p(u));
|
|
249
249
|
};
|
|
250
250
|
return /* @__PURE__ */ e(
|
|
251
|
-
|
|
251
|
+
f,
|
|
252
252
|
{
|
|
253
253
|
component: "header",
|
|
254
254
|
pos: "sticky",
|
|
@@ -256,7 +256,7 @@ function he({
|
|
|
256
256
|
w: "100%",
|
|
257
257
|
style: { zIndex: 100, pointerEvents: "none" },
|
|
258
258
|
children: /* @__PURE__ */ e(C, { size: "xl", py: "md", children: /* @__PURE__ */ e(
|
|
259
|
-
|
|
259
|
+
x,
|
|
260
260
|
{
|
|
261
261
|
shadow: d ? "sm" : "none",
|
|
262
262
|
radius: "0",
|
|
@@ -265,7 +265,7 @@ function he({
|
|
|
265
265
|
bd: d ? "1px solid var(--mantine-color-gray-2)" : "1px solid transparent",
|
|
266
266
|
style: { pointerEvents: "auto", transition: "all 0.2s ease" },
|
|
267
267
|
children: /* @__PURE__ */ i(
|
|
268
|
-
|
|
268
|
+
y,
|
|
269
269
|
{
|
|
270
270
|
justify: "space-between",
|
|
271
271
|
align: "center",
|
|
@@ -292,7 +292,7 @@ function he({
|
|
|
292
292
|
}
|
|
293
293
|
),
|
|
294
294
|
c.length > 0 && /* @__PURE__ */ e(
|
|
295
|
-
|
|
295
|
+
y,
|
|
296
296
|
{
|
|
297
297
|
gap: "xl",
|
|
298
298
|
visibleFrom: "sm",
|
|
@@ -318,7 +318,7 @@ function he({
|
|
|
318
318
|
))
|
|
319
319
|
}
|
|
320
320
|
),
|
|
321
|
-
/* @__PURE__ */ i(
|
|
321
|
+
/* @__PURE__ */ i(y, { gap: "sm", children: [
|
|
322
322
|
a && /* @__PURE__ */ e(
|
|
323
323
|
H,
|
|
324
324
|
{
|
|
@@ -359,71 +359,86 @@ function he({
|
|
|
359
359
|
}
|
|
360
360
|
);
|
|
361
361
|
}
|
|
362
|
-
const De =
|
|
363
|
-
function Ae({
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
description: a,
|
|
367
|
-
cta: r,
|
|
368
|
-
video: n,
|
|
369
|
-
image: o,
|
|
370
|
-
background: h = "white"
|
|
371
|
-
}) {
|
|
372
|
-
const d = b(h);
|
|
373
|
-
return /* @__PURE__ */ e(y, { py: { base: 80, sm: 100, md: 140 }, id: "hero", bg: d, children: /* @__PURE__ */ e(C, { size: "lg", children: /* @__PURE__ */ i(
|
|
374
|
-
v,
|
|
362
|
+
const De = de;
|
|
363
|
+
function Ae({ subtitle: l, title: c, description: a, cta: r, video: n, image: o, background: h = "white" }) {
|
|
364
|
+
return /* @__PURE__ */ e(
|
|
365
|
+
f,
|
|
375
366
|
{
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
children:
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
{
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
367
|
+
py: { base: 80, sm: 100, md: 140 },
|
|
368
|
+
id: "hero",
|
|
369
|
+
bg: h,
|
|
370
|
+
children: /* @__PURE__ */ e(C, { size: "lg", children: /* @__PURE__ */ i(
|
|
371
|
+
v,
|
|
372
|
+
{
|
|
373
|
+
cols: { base: 1, md: 2 },
|
|
374
|
+
spacing: { base: 60, md: 100 },
|
|
375
|
+
verticalSpacing: 60,
|
|
376
|
+
children: [
|
|
377
|
+
/* @__PURE__ */ i(
|
|
378
|
+
m,
|
|
379
|
+
{
|
|
380
|
+
align: { base: "center", md: "flex-start" },
|
|
381
|
+
justify: "center",
|
|
382
|
+
gap: { base: 32, md: 48 },
|
|
383
|
+
ta: { base: "center", md: "left" },
|
|
384
|
+
children: [
|
|
385
|
+
/* @__PURE__ */ e(
|
|
386
|
+
Q,
|
|
387
|
+
{
|
|
388
|
+
subtitle: l,
|
|
389
|
+
title: c,
|
|
390
|
+
titleOrder: 1,
|
|
391
|
+
titleFz: "var(--fz-hero)",
|
|
392
|
+
ta: "inherit"
|
|
393
|
+
}
|
|
394
|
+
),
|
|
395
|
+
a && /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(
|
|
396
|
+
t,
|
|
397
|
+
{
|
|
398
|
+
size: "xl",
|
|
399
|
+
c: "gray.6",
|
|
400
|
+
lh: 1.6,
|
|
401
|
+
maw: 600,
|
|
402
|
+
children: a
|
|
403
|
+
}
|
|
404
|
+
) }),
|
|
405
|
+
r && /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(
|
|
406
|
+
y,
|
|
407
|
+
{
|
|
408
|
+
gap: "md",
|
|
409
|
+
justify: { base: "center", md: "flex-start" },
|
|
410
|
+
children: /* @__PURE__ */ e(
|
|
411
|
+
B,
|
|
412
|
+
{
|
|
413
|
+
label: r.label,
|
|
414
|
+
href: r.href,
|
|
415
|
+
icon: r.icon,
|
|
416
|
+
size: r.size || "xl",
|
|
417
|
+
px: r.px || 48,
|
|
418
|
+
variant: r.variant,
|
|
419
|
+
color: r.color
|
|
420
|
+
}
|
|
421
|
+
)
|
|
422
|
+
}
|
|
423
|
+
) })
|
|
424
|
+
]
|
|
425
|
+
}
|
|
426
|
+
),
|
|
427
|
+
/* @__PURE__ */ e(
|
|
428
|
+
J,
|
|
429
|
+
{
|
|
430
|
+
video: n,
|
|
431
|
+
image: o,
|
|
432
|
+
alt: "Demonstração do produto"
|
|
433
|
+
}
|
|
434
|
+
)
|
|
435
|
+
]
|
|
436
|
+
}
|
|
437
|
+
) })
|
|
423
438
|
}
|
|
424
|
-
)
|
|
439
|
+
);
|
|
425
440
|
}
|
|
426
|
-
function
|
|
441
|
+
function he({ logo: l, index: c }) {
|
|
427
442
|
const a = {
|
|
428
443
|
src: l.src,
|
|
429
444
|
alt: l.alt || `Logo ${c}`,
|
|
@@ -441,31 +456,63 @@ function ge({ logo: l, index: c }) {
|
|
|
441
456
|
r.currentTarget.style.filter = "grayscale(1) opacity(0.4)";
|
|
442
457
|
}
|
|
443
458
|
};
|
|
444
|
-
return l.url ? /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(
|
|
459
|
+
return l.url ? /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(
|
|
460
|
+
"a",
|
|
461
|
+
{
|
|
462
|
+
href: l.url,
|
|
463
|
+
target: "_blank",
|
|
464
|
+
rel: "noopener noreferrer",
|
|
465
|
+
children: /* @__PURE__ */ e(K, { ...a })
|
|
466
|
+
}
|
|
467
|
+
) }) : /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(K, { ...a }) });
|
|
445
468
|
}
|
|
446
469
|
function Ce({ id: l, title: c, logos: a, background: r = "gray" }) {
|
|
447
|
-
const n = b(r);
|
|
448
470
|
return !a || a.length === 0 ? null : /* @__PURE__ */ e(
|
|
449
|
-
|
|
471
|
+
f,
|
|
450
472
|
{
|
|
451
473
|
component: "section",
|
|
452
474
|
id: l,
|
|
453
475
|
py: { base: 40, md: 60 },
|
|
454
|
-
bg:
|
|
476
|
+
bg: r,
|
|
455
477
|
bd: { bottom: "1px solid var(--mantine-color-gray-1)" },
|
|
456
|
-
children: /* @__PURE__ */ e(C, { size: "lg", children: /* @__PURE__ */ i(
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
478
|
+
children: /* @__PURE__ */ e(C, { size: "lg", children: /* @__PURE__ */ i(
|
|
479
|
+
m,
|
|
480
|
+
{
|
|
481
|
+
align: "center",
|
|
482
|
+
ta: "center",
|
|
483
|
+
gap: "xl",
|
|
484
|
+
children: [
|
|
485
|
+
c && /* @__PURE__ */ e(
|
|
486
|
+
t,
|
|
487
|
+
{
|
|
488
|
+
fw: 500,
|
|
489
|
+
c: "gray.5",
|
|
490
|
+
size: "sm",
|
|
491
|
+
tt: "uppercase",
|
|
492
|
+
ls: "0.1em",
|
|
493
|
+
children: c
|
|
494
|
+
}
|
|
495
|
+
),
|
|
496
|
+
/* @__PURE__ */ e(
|
|
497
|
+
y,
|
|
498
|
+
{
|
|
499
|
+
justify: "space-between",
|
|
500
|
+
gap: { base: 40, md: 80 },
|
|
501
|
+
style: { rowGap: 40 },
|
|
502
|
+
w: "100%",
|
|
503
|
+
children: a.map((n, o) => /* @__PURE__ */ e(
|
|
504
|
+
he,
|
|
505
|
+
{
|
|
506
|
+
logo: n,
|
|
507
|
+
index: o
|
|
508
|
+
},
|
|
509
|
+
o
|
|
510
|
+
))
|
|
511
|
+
}
|
|
512
|
+
)
|
|
513
|
+
]
|
|
514
|
+
}
|
|
515
|
+
) })
|
|
469
516
|
}
|
|
470
517
|
);
|
|
471
518
|
}
|
|
@@ -493,7 +540,7 @@ function je({
|
|
|
493
540
|
), u = /* @__PURE__ */ i(m, { justify: "center", gap: "lg", children: [
|
|
494
541
|
r && /* @__PURE__ */ e(t, { c: "gray.6", size: "xl", lh: 1.6, children: r }),
|
|
495
542
|
g,
|
|
496
|
-
o && /* @__PURE__ */ e(
|
|
543
|
+
o && /* @__PURE__ */ e(y, { mt: "md", children: /* @__PURE__ */ e(
|
|
497
544
|
B,
|
|
498
545
|
{
|
|
499
546
|
label: o.label,
|
|
@@ -504,7 +551,7 @@ function je({
|
|
|
504
551
|
color: o.color
|
|
505
552
|
}
|
|
506
553
|
) })
|
|
507
|
-
] }), P = (h || d) && /* @__PURE__ */ e(
|
|
554
|
+
] }), P = (h || d) && /* @__PURE__ */ e(J, { video: h, image: d, width: "80%" });
|
|
508
555
|
return /* @__PURE__ */ e(I, { id: l, subtitle: c, title: a, background: s, children: /* @__PURE__ */ e(
|
|
509
556
|
v,
|
|
510
557
|
{
|
|
@@ -521,16 +568,16 @@ function je({
|
|
|
521
568
|
}
|
|
522
569
|
) });
|
|
523
570
|
}
|
|
524
|
-
function
|
|
525
|
-
return
|
|
571
|
+
function Ee({ id: l, subtitle: c, title: a, background: r = "gray", items: n = [] }) {
|
|
572
|
+
return /* @__PURE__ */ e(
|
|
526
573
|
I,
|
|
527
574
|
{
|
|
528
575
|
id: l,
|
|
529
576
|
subtitle: c,
|
|
530
577
|
title: a,
|
|
531
578
|
background: r,
|
|
532
|
-
children: /* @__PURE__ */ e(
|
|
533
|
-
|
|
579
|
+
children: /* @__PURE__ */ e(b, { gutter: "lg", children: n.map((o, h) => /* @__PURE__ */ e(
|
|
580
|
+
ge,
|
|
534
581
|
{
|
|
535
582
|
...o
|
|
536
583
|
},
|
|
@@ -539,7 +586,7 @@ function ke({ id: l, subtitle: c, title: a, background: r = "gray", items: n = [
|
|
|
539
586
|
}
|
|
540
587
|
);
|
|
541
588
|
}
|
|
542
|
-
function
|
|
589
|
+
function ge({
|
|
543
590
|
icon: l,
|
|
544
591
|
iconVariant: c,
|
|
545
592
|
iconColor: a,
|
|
@@ -555,13 +602,13 @@ function pe({
|
|
|
555
602
|
visual: P,
|
|
556
603
|
secondaryVisual: j,
|
|
557
604
|
layout: F = "stacked",
|
|
558
|
-
badges:
|
|
605
|
+
badges: E,
|
|
559
606
|
codeBlock: W,
|
|
560
607
|
decorativeContent: O,
|
|
561
|
-
style:
|
|
562
|
-
...
|
|
608
|
+
style: M,
|
|
609
|
+
...k
|
|
563
610
|
}) {
|
|
564
|
-
const R = /* @__PURE__ */ i(
|
|
611
|
+
const R = /* @__PURE__ */ i(f, { children: [
|
|
565
612
|
l && /* @__PURE__ */ e(
|
|
566
613
|
T,
|
|
567
614
|
{
|
|
@@ -609,42 +656,42 @@ function pe({
|
|
|
609
656
|
c: u ? "gray.4" : "gray.6",
|
|
610
657
|
size: d || (F === "compact" ? "sm" : "lg"),
|
|
611
658
|
maw: p,
|
|
612
|
-
mb:
|
|
659
|
+
mb: E ? "xl" : F === "compact" ? "lg" : void 0,
|
|
613
660
|
children: h
|
|
614
661
|
}
|
|
615
662
|
),
|
|
616
|
-
|
|
663
|
+
E && E.length > 0 && /* @__PURE__ */ e(y, { children: E.map((X, Y) => /* @__PURE__ */ e(
|
|
617
664
|
A,
|
|
618
665
|
{
|
|
619
666
|
variant: "dot",
|
|
620
667
|
color: "gray",
|
|
621
668
|
radius: "0",
|
|
622
|
-
children:
|
|
669
|
+
children: X
|
|
623
670
|
},
|
|
624
|
-
|
|
671
|
+
Y
|
|
625
672
|
)) })
|
|
626
|
-
] }), D = P ?
|
|
627
|
-
return F === "split" ? /* @__PURE__ */ e(
|
|
628
|
-
|
|
673
|
+
] }), D = P ? _(P, u) : null, $ = j ? _(j, u) : null;
|
|
674
|
+
return F === "split" ? /* @__PURE__ */ e(b.Col, { span: s, children: /* @__PURE__ */ e(
|
|
675
|
+
x,
|
|
629
676
|
{
|
|
630
677
|
h: "100%",
|
|
631
678
|
p: { base: "xl", md: 40 },
|
|
632
679
|
radius: "0",
|
|
633
|
-
bg:
|
|
680
|
+
bg: z(g),
|
|
634
681
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
635
|
-
style:
|
|
636
|
-
...
|
|
682
|
+
style: M,
|
|
683
|
+
...k,
|
|
637
684
|
children: /* @__PURE__ */ i(
|
|
638
|
-
|
|
685
|
+
b,
|
|
639
686
|
{
|
|
640
687
|
align: "center",
|
|
641
688
|
gutter: "xl",
|
|
642
689
|
children: [
|
|
643
|
-
/* @__PURE__ */ e(
|
|
644
|
-
/* @__PURE__ */ i(
|
|
690
|
+
/* @__PURE__ */ e(b.Col, { span: { base: 12, sm: 6 }, children: R }),
|
|
691
|
+
/* @__PURE__ */ i(b.Col, { span: { base: 12, sm: 6 }, children: [
|
|
645
692
|
D,
|
|
646
693
|
W && /* @__PURE__ */ e(
|
|
647
|
-
|
|
694
|
+
ee,
|
|
648
695
|
{
|
|
649
696
|
block: !0,
|
|
650
697
|
color: "gray.0",
|
|
@@ -658,40 +705,40 @@ function pe({
|
|
|
658
705
|
}
|
|
659
706
|
)
|
|
660
707
|
}
|
|
661
|
-
) }) : F === "compact" ? /* @__PURE__ */ e(
|
|
662
|
-
|
|
708
|
+
) }) : F === "compact" ? /* @__PURE__ */ e(b.Col, { span: s, children: /* @__PURE__ */ i(
|
|
709
|
+
x,
|
|
663
710
|
{
|
|
664
711
|
h: "100%",
|
|
665
712
|
p: { base: "xl", md: 40 },
|
|
666
713
|
radius: "0",
|
|
667
|
-
bg:
|
|
714
|
+
bg: z(g),
|
|
668
715
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
669
|
-
style:
|
|
670
|
-
...
|
|
716
|
+
style: M,
|
|
717
|
+
...k,
|
|
671
718
|
children: [
|
|
672
719
|
R,
|
|
673
720
|
D
|
|
674
721
|
]
|
|
675
722
|
}
|
|
676
|
-
) }) : O ? /* @__PURE__ */ e(
|
|
677
|
-
|
|
723
|
+
) }) : O ? /* @__PURE__ */ e(b.Col, { span: s, children: /* @__PURE__ */ e(
|
|
724
|
+
x,
|
|
678
725
|
{
|
|
679
726
|
h: "100%",
|
|
680
727
|
p: { base: "xl", md: 40 },
|
|
681
728
|
radius: "0",
|
|
682
|
-
bg:
|
|
729
|
+
bg: z(g),
|
|
683
730
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
684
731
|
pos: "relative",
|
|
685
|
-
style:
|
|
686
|
-
...
|
|
732
|
+
style: M,
|
|
733
|
+
...k,
|
|
687
734
|
children: /* @__PURE__ */ i(
|
|
688
|
-
|
|
735
|
+
b,
|
|
689
736
|
{
|
|
690
737
|
gutter: 0,
|
|
691
738
|
pos: "relative",
|
|
692
739
|
children: [
|
|
693
740
|
/* @__PURE__ */ e(
|
|
694
|
-
|
|
741
|
+
b.Col,
|
|
695
742
|
{
|
|
696
743
|
span: { base: 12, sm: 7 },
|
|
697
744
|
style: { zIndex: 1 },
|
|
@@ -699,7 +746,7 @@ function pe({
|
|
|
699
746
|
}
|
|
700
747
|
),
|
|
701
748
|
/* @__PURE__ */ e(
|
|
702
|
-
|
|
749
|
+
b.Col,
|
|
703
750
|
{
|
|
704
751
|
span: 5,
|
|
705
752
|
visibleFrom: "sm",
|
|
@@ -710,25 +757,25 @@ function pe({
|
|
|
710
757
|
}
|
|
711
758
|
)
|
|
712
759
|
}
|
|
713
|
-
) }) : /* @__PURE__ */ e(
|
|
714
|
-
|
|
760
|
+
) }) : /* @__PURE__ */ e(b.Col, { span: s, children: /* @__PURE__ */ i(
|
|
761
|
+
x,
|
|
715
762
|
{
|
|
716
763
|
h: "100%",
|
|
717
764
|
p: { base: "xl", md: 40 },
|
|
718
765
|
radius: "0",
|
|
719
|
-
bg,
|
|
766
|
+
bg: z(g),
|
|
720
767
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
721
768
|
display: "flex",
|
|
722
769
|
style: {
|
|
723
770
|
flexDirection: "column",
|
|
724
771
|
justifyContent: "space-between",
|
|
725
|
-
...
|
|
772
|
+
...M
|
|
726
773
|
},
|
|
727
|
-
...
|
|
774
|
+
...k,
|
|
728
775
|
children: [
|
|
729
776
|
R,
|
|
730
777
|
D && $ ? /* @__PURE__ */ i(
|
|
731
|
-
|
|
778
|
+
y,
|
|
732
779
|
{
|
|
733
780
|
gap: 40,
|
|
734
781
|
align: "center",
|
|
@@ -742,12 +789,12 @@ function pe({
|
|
|
742
789
|
}
|
|
743
790
|
) });
|
|
744
791
|
}
|
|
745
|
-
function
|
|
792
|
+
function _(l, c) {
|
|
746
793
|
if (!l) return null;
|
|
747
794
|
switch (l.type) {
|
|
748
795
|
case "ring":
|
|
749
796
|
return /* @__PURE__ */ e(
|
|
750
|
-
|
|
797
|
+
re,
|
|
751
798
|
{
|
|
752
799
|
size: l.size || 140,
|
|
753
800
|
thickness: l.thickness || 12,
|
|
@@ -815,14 +862,14 @@ function Q(l, c) {
|
|
|
815
862
|
] });
|
|
816
863
|
case "bars":
|
|
817
864
|
return /* @__PURE__ */ e(
|
|
818
|
-
|
|
865
|
+
y,
|
|
819
866
|
{
|
|
820
867
|
align: "flex-end",
|
|
821
868
|
gap: 8,
|
|
822
869
|
h: l.height || 100,
|
|
823
870
|
preventGrowOverflow: !1,
|
|
824
871
|
children: (l.data || []).map((a, r) => /* @__PURE__ */ e(
|
|
825
|
-
|
|
872
|
+
f,
|
|
826
873
|
{
|
|
827
874
|
w: 20,
|
|
828
875
|
h: `${a}%`,
|
|
@@ -867,7 +914,7 @@ function Q(l, c) {
|
|
|
867
914
|
return null;
|
|
868
915
|
}
|
|
869
916
|
}
|
|
870
|
-
function
|
|
917
|
+
function Me({ id: l, subtitle: c, title: a, traditionalCol: r, newCol: n, background: o = "white" }) {
|
|
871
918
|
return /* @__PURE__ */ e(
|
|
872
919
|
I,
|
|
873
920
|
{
|
|
@@ -876,7 +923,7 @@ function Ee({ id: l, subtitle: c, title: a, traditionalCol: r, newCol: n, backgr
|
|
|
876
923
|
title: a,
|
|
877
924
|
background: o,
|
|
878
925
|
children: /* @__PURE__ */ e(
|
|
879
|
-
|
|
926
|
+
x,
|
|
880
927
|
{
|
|
881
928
|
radius: "0",
|
|
882
929
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
@@ -888,12 +935,12 @@ function Ee({ id: l, subtitle: c, title: a, traditionalCol: r, newCol: n, backgr
|
|
|
888
935
|
spacing: 0,
|
|
889
936
|
children: [
|
|
890
937
|
/* @__PURE__ */ e(
|
|
891
|
-
|
|
938
|
+
f,
|
|
892
939
|
{
|
|
893
|
-
bg:
|
|
940
|
+
bg: o === "gray" ? "gray.1" : "white",
|
|
894
941
|
p: { base: 30, md: 60 },
|
|
895
942
|
children: /* @__PURE__ */ i(m, { gap: "xl", children: [
|
|
896
|
-
/* @__PURE__ */ i(
|
|
943
|
+
/* @__PURE__ */ i(f, { children: [
|
|
897
944
|
/* @__PURE__ */ e(
|
|
898
945
|
t,
|
|
899
946
|
{
|
|
@@ -921,8 +968,8 @@ function Ee({ id: l, subtitle: c, title: a, traditionalCol: r, newCol: n, backgr
|
|
|
921
968
|
{
|
|
922
969
|
gap: "md",
|
|
923
970
|
mb: 40,
|
|
924
|
-
children: r.items.map((h, d) => /* @__PURE__ */ i(
|
|
925
|
-
/* @__PURE__ */ i(
|
|
971
|
+
children: r.items.map((h, d) => /* @__PURE__ */ i(se, { children: [
|
|
972
|
+
/* @__PURE__ */ i(y, { justify: "space-between", children: [
|
|
926
973
|
/* @__PURE__ */ e(
|
|
927
974
|
t,
|
|
928
975
|
{
|
|
@@ -945,14 +992,14 @@ function Ee({ id: l, subtitle: c, title: a, traditionalCol: r, newCol: n, backgr
|
|
|
945
992
|
}
|
|
946
993
|
),
|
|
947
994
|
/* @__PURE__ */ i(
|
|
948
|
-
|
|
995
|
+
f,
|
|
949
996
|
{
|
|
950
|
-
bg:
|
|
997
|
+
bg: o === "gray" ? "gray.1" : "white",
|
|
951
998
|
p: "lg",
|
|
952
999
|
radius: "0",
|
|
953
1000
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
954
1001
|
children: [
|
|
955
|
-
/* @__PURE__ */ i(
|
|
1002
|
+
/* @__PURE__ */ i(y, { justify: "space-between", children: [
|
|
956
1003
|
/* @__PURE__ */ e(
|
|
957
1004
|
t,
|
|
958
1005
|
{
|
|
@@ -988,9 +1035,9 @@ function Ee({ id: l, subtitle: c, title: a, traditionalCol: r, newCol: n, backgr
|
|
|
988
1035
|
}
|
|
989
1036
|
),
|
|
990
1037
|
/* @__PURE__ */ e(
|
|
991
|
-
|
|
1038
|
+
f,
|
|
992
1039
|
{
|
|
993
|
-
bg:
|
|
1040
|
+
bg: o === "gray" ? "gray.1" : "white",
|
|
994
1041
|
p: { base: 30, md: 60 },
|
|
995
1042
|
pos: "relative",
|
|
996
1043
|
children: /* @__PURE__ */ i(
|
|
@@ -999,8 +1046,8 @@ function Ee({ id: l, subtitle: c, title: a, traditionalCol: r, newCol: n, backgr
|
|
|
999
1046
|
gap: "xl",
|
|
1000
1047
|
h: "100%",
|
|
1001
1048
|
children: [
|
|
1002
|
-
/* @__PURE__ */ i(
|
|
1003
|
-
/* @__PURE__ */ i(
|
|
1049
|
+
/* @__PURE__ */ i(f, { children: [
|
|
1050
|
+
/* @__PURE__ */ i(y, { gap: "xs", children: [
|
|
1004
1051
|
/* @__PURE__ */ e(
|
|
1005
1052
|
t,
|
|
1006
1053
|
{
|
|
@@ -1056,9 +1103,9 @@ function Ee({ id: l, subtitle: c, title: a, traditionalCol: r, newCol: n, backgr
|
|
|
1056
1103
|
}
|
|
1057
1104
|
),
|
|
1058
1105
|
n.pricingBox && /* @__PURE__ */ e(
|
|
1059
|
-
|
|
1106
|
+
f,
|
|
1060
1107
|
{
|
|
1061
|
-
bg:
|
|
1108
|
+
bg: o === "gray" ? "gray.1" : "white",
|
|
1062
1109
|
p: "lg",
|
|
1063
1110
|
radius: "0",
|
|
1064
1111
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
@@ -1096,7 +1143,7 @@ function Ee({ id: l, subtitle: c, title: a, traditionalCol: r, newCol: n, backgr
|
|
|
1096
1143
|
] })
|
|
1097
1144
|
}
|
|
1098
1145
|
),
|
|
1099
|
-
n.cta && /* @__PURE__ */ e(
|
|
1146
|
+
n.cta && /* @__PURE__ */ e(f, { mt: "xl", children: /* @__PURE__ */ e(
|
|
1100
1147
|
B,
|
|
1101
1148
|
{
|
|
1102
1149
|
label: n.cta.label,
|
|
@@ -1120,7 +1167,7 @@ function Ee({ id: l, subtitle: c, title: a, traditionalCol: r, newCol: n, backgr
|
|
|
1120
1167
|
}
|
|
1121
1168
|
);
|
|
1122
1169
|
}
|
|
1123
|
-
function
|
|
1170
|
+
function ke({
|
|
1124
1171
|
id: l,
|
|
1125
1172
|
subtitle: c,
|
|
1126
1173
|
title: a,
|
|
@@ -1143,9 +1190,9 @@ function Me({
|
|
|
1143
1190
|
ta: "center",
|
|
1144
1191
|
background: p,
|
|
1145
1192
|
children: [
|
|
1146
|
-
r && r.length > 0 && /* @__PURE__ */ e(m, { align: "center", gap: "xl", mb: 80, children: /* @__PURE__ */ i(
|
|
1193
|
+
r && r.length > 0 && /* @__PURE__ */ e(m, { align: "center", gap: "xl", mb: 80, children: /* @__PURE__ */ i(y, { gap: "xs", children: [
|
|
1147
1194
|
/* @__PURE__ */ e(
|
|
1148
|
-
|
|
1195
|
+
le,
|
|
1149
1196
|
{
|
|
1150
1197
|
value: n,
|
|
1151
1198
|
onChange: o,
|
|
@@ -1166,7 +1213,7 @@ function Me({
|
|
|
1166
1213
|
spacing: "xl",
|
|
1167
1214
|
verticalSpacing: "xl",
|
|
1168
1215
|
children: d.map((s) => /* @__PURE__ */ i(
|
|
1169
|
-
|
|
1216
|
+
x,
|
|
1170
1217
|
{
|
|
1171
1218
|
p: "xl",
|
|
1172
1219
|
radius: "0",
|
|
@@ -1178,13 +1225,13 @@ function Me({
|
|
|
1178
1225
|
bg: "white",
|
|
1179
1226
|
children: [
|
|
1180
1227
|
/* @__PURE__ */ i(m, { gap: "md", mb: "xl", children: [
|
|
1181
|
-
/* @__PURE__ */ i(
|
|
1228
|
+
/* @__PURE__ */ i(y, { justify: "space-between", align: "center", children: [
|
|
1182
1229
|
/* @__PURE__ */ e(t, { size: "xs", fw: 800, tt: "uppercase", ls: "1.5px", c: "gray.4", children: s.name }),
|
|
1183
1230
|
s.highlight && /* @__PURE__ */ e(A, { variant: "dot", color: "gray.9", children: s.highlightBadge || "RECOMENDADO" })
|
|
1184
1231
|
] }),
|
|
1185
1232
|
/* @__PURE__ */ e(t, { size: "sm", c: "gray.6", fw: 500, lh: 1.5, h: { md: 42 }, children: s.description })
|
|
1186
1233
|
] }),
|
|
1187
|
-
/* @__PURE__ */ i(
|
|
1234
|
+
/* @__PURE__ */ i(f, { mb: "xl", children: [
|
|
1188
1235
|
/* @__PURE__ */ e(
|
|
1189
1236
|
t,
|
|
1190
1237
|
{
|
|
@@ -1197,9 +1244,9 @@ function Me({
|
|
|
1197
1244
|
children: s.pricePrefix || "A partir de"
|
|
1198
1245
|
}
|
|
1199
1246
|
),
|
|
1200
|
-
/* @__PURE__ */ i(
|
|
1247
|
+
/* @__PURE__ */ i(y, { gap: 8, align: "flex-start", children: [
|
|
1201
1248
|
/* @__PURE__ */ e(t, { size: "xl", fw: 900, c: "gray.9", style: { marginTop: 8 }, children: s.priceDisplay?.currency }),
|
|
1202
|
-
/* @__PURE__ */ i(
|
|
1249
|
+
/* @__PURE__ */ i(y, { gap: 4, align: "flex-end", children: [
|
|
1203
1250
|
/* @__PURE__ */ e(
|
|
1204
1251
|
t,
|
|
1205
1252
|
{
|
|
@@ -1232,7 +1279,7 @@ function Me({
|
|
|
1232
1279
|
] })
|
|
1233
1280
|
] }),
|
|
1234
1281
|
/* @__PURE__ */ e(N, { mb: "xl", color: "gray.1" }),
|
|
1235
|
-
/* @__PURE__ */ e(m, { gap: "sm", mb: 40, style: { flex: 1 }, children: s.features.map((g, u) => /* @__PURE__ */ i(
|
|
1282
|
+
/* @__PURE__ */ e(m, { gap: "sm", mb: 40, style: { flex: 1 }, children: s.features.map((g, u) => /* @__PURE__ */ i(y, { gap: "sm", wrap: "nowrap", align: "flex-start", children: [
|
|
1236
1283
|
/* @__PURE__ */ e(
|
|
1237
1284
|
V,
|
|
1238
1285
|
{
|
|
@@ -1243,7 +1290,7 @@ function Me({
|
|
|
1243
1290
|
),
|
|
1244
1291
|
/* @__PURE__ */ e(t, { size: "sm", fw: 500, c: "gray.6", lh: 1.4, children: g })
|
|
1245
1292
|
] }, u)) }),
|
|
1246
|
-
/* @__PURE__ */ e(
|
|
1293
|
+
/* @__PURE__ */ e(f, { mt: "auto", children: /* @__PURE__ */ e(
|
|
1247
1294
|
B,
|
|
1248
1295
|
{
|
|
1249
1296
|
label: s.cta.label,
|
|
@@ -1265,10 +1312,9 @@ function Me({
|
|
|
1265
1312
|
);
|
|
1266
1313
|
}
|
|
1267
1314
|
function Re({ id: l, subtitle: c, title: a, questions: r = [], contactCard: n, background: o = "white" }) {
|
|
1268
|
-
b(o);
|
|
1269
1315
|
const h = {
|
|
1270
1316
|
item: {
|
|
1271
|
-
backgroundColor:
|
|
1317
|
+
backgroundColor: o === "gray" ? "gray.1" : "white",
|
|
1272
1318
|
border: "1px solid var(--mantine-color-gray-2)"
|
|
1273
1319
|
},
|
|
1274
1320
|
control: {
|
|
@@ -1373,12 +1419,12 @@ function Re({ id: l, subtitle: c, title: a, questions: r = [], contactCard: n, b
|
|
|
1373
1419
|
}
|
|
1374
1420
|
),
|
|
1375
1421
|
n && /* @__PURE__ */ e(
|
|
1376
|
-
|
|
1422
|
+
x,
|
|
1377
1423
|
{
|
|
1378
1424
|
mt: { base: 40, md: 80 },
|
|
1379
1425
|
radius: "0",
|
|
1380
1426
|
p: { base: "xl", md: 60 },
|
|
1381
|
-
bg:
|
|
1427
|
+
bg: o === "gray" ? "gray.1" : "white",
|
|
1382
1428
|
bd: "1px solid var(--mantine-color-gray-1)",
|
|
1383
1429
|
pos: "relative",
|
|
1384
1430
|
style: { overflow: "hidden" },
|
|
@@ -1452,12 +1498,12 @@ function Ge({ id: l, title: c, subtitle: a, items: r = [], background: n = "gray
|
|
|
1452
1498
|
cols: { base: 1, md: r.length > 3 ? 4 : r.length || 3 },
|
|
1453
1499
|
spacing: "xl",
|
|
1454
1500
|
children: r.map((o, h) => /* @__PURE__ */ e(
|
|
1455
|
-
|
|
1501
|
+
x,
|
|
1456
1502
|
{
|
|
1457
1503
|
p: "xl",
|
|
1458
1504
|
radius: "0",
|
|
1459
1505
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1460
|
-
bg:
|
|
1506
|
+
bg: z("white"),
|
|
1461
1507
|
children: /* @__PURE__ */ i(
|
|
1462
1508
|
m,
|
|
1463
1509
|
{
|
|
@@ -1466,7 +1512,7 @@ function Ge({ id: l, title: c, subtitle: a, items: r = [], background: n = "gray
|
|
|
1466
1512
|
h: "100%",
|
|
1467
1513
|
children: [
|
|
1468
1514
|
/* @__PURE__ */ e(
|
|
1469
|
-
|
|
1515
|
+
ce,
|
|
1470
1516
|
{
|
|
1471
1517
|
size: 32,
|
|
1472
1518
|
color: "var(--mantine-color-gray-3)"
|
|
@@ -1488,13 +1534,13 @@ function Ge({ id: l, title: c, subtitle: a, items: r = [], background: n = "gray
|
|
|
1488
1534
|
}
|
|
1489
1535
|
),
|
|
1490
1536
|
/* @__PURE__ */ i(
|
|
1491
|
-
|
|
1537
|
+
y,
|
|
1492
1538
|
{
|
|
1493
1539
|
gap: "sm",
|
|
1494
1540
|
mt: "xl",
|
|
1495
1541
|
children: [
|
|
1496
1542
|
/* @__PURE__ */ e(
|
|
1497
|
-
|
|
1543
|
+
ie,
|
|
1498
1544
|
{
|
|
1499
1545
|
size: "md",
|
|
1500
1546
|
radius: "0",
|
|
@@ -1538,7 +1584,7 @@ function Ge({ id: l, title: c, subtitle: a, items: r = [], background: n = "gray
|
|
|
1538
1584
|
}
|
|
1539
1585
|
);
|
|
1540
1586
|
}
|
|
1541
|
-
function
|
|
1587
|
+
function pe({ id: l, title: c, description: a, cta: r, background: n = "gray" }) {
|
|
1542
1588
|
return /* @__PURE__ */ e(
|
|
1543
1589
|
I,
|
|
1544
1590
|
{
|
|
@@ -1546,10 +1592,10 @@ function me({ id: l, title: c, description: a, cta: r, background: n = "gray" })
|
|
|
1546
1592
|
background: n,
|
|
1547
1593
|
ta: "center",
|
|
1548
1594
|
children: /* @__PURE__ */ e(
|
|
1549
|
-
|
|
1595
|
+
x,
|
|
1550
1596
|
{
|
|
1551
1597
|
p: { base: "xl", sm: 80 },
|
|
1552
|
-
bg:
|
|
1598
|
+
bg: z("white"),
|
|
1553
1599
|
radius: "0",
|
|
1554
1600
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1555
1601
|
style: { borderTop: "4px solid var(--mantine-color-gray-9)" },
|
|
@@ -1580,7 +1626,7 @@ function me({ id: l, title: c, description: a, cta: r, background: n = "gray" })
|
|
|
1580
1626
|
children: a
|
|
1581
1627
|
}
|
|
1582
1628
|
),
|
|
1583
|
-
r && /* @__PURE__ */ e(
|
|
1629
|
+
r && /* @__PURE__ */ e(f, { mt: "md", children: /* @__PURE__ */ e(
|
|
1584
1630
|
B,
|
|
1585
1631
|
{
|
|
1586
1632
|
label: r.label,
|
|
@@ -1599,15 +1645,15 @@ function me({ id: l, title: c, description: a, cta: r, background: n = "gray" })
|
|
|
1599
1645
|
}
|
|
1600
1646
|
);
|
|
1601
1647
|
}
|
|
1602
|
-
const He =
|
|
1603
|
-
function
|
|
1648
|
+
const He = pe;
|
|
1649
|
+
function me({
|
|
1604
1650
|
text: l = "Selo Exclusivo RiLiGar",
|
|
1605
1651
|
color: c = "green.6",
|
|
1606
1652
|
background: a = "gray"
|
|
1607
1653
|
}) {
|
|
1608
|
-
const r =
|
|
1654
|
+
const r = z(a);
|
|
1609
1655
|
return /* @__PURE__ */ e(
|
|
1610
|
-
|
|
1656
|
+
f,
|
|
1611
1657
|
{
|
|
1612
1658
|
p: "xs",
|
|
1613
1659
|
bg: r,
|
|
@@ -1616,18 +1662,18 @@ function fe({
|
|
|
1616
1662
|
border: "1px solid var(--mantine-color-gray-2)",
|
|
1617
1663
|
display: "inline-block"
|
|
1618
1664
|
},
|
|
1619
|
-
children: /* @__PURE__ */ i(
|
|
1620
|
-
/* @__PURE__ */ e(T, { color: c, variant: "light", size: "sm", radius: "xl", children: /* @__PURE__ */ e(
|
|
1665
|
+
children: /* @__PURE__ */ i(y, { gap: "xs", children: [
|
|
1666
|
+
/* @__PURE__ */ e(T, { color: c, variant: "light", size: "sm", radius: "xl", children: /* @__PURE__ */ e(oe, { size: 14, "aria-hidden": "true" }) }),
|
|
1621
1667
|
/* @__PURE__ */ e(t, { size: "xs", fw: 700, c: "gray.7", tt: "uppercase", lts: 0.5, children: l })
|
|
1622
1668
|
] })
|
|
1623
1669
|
}
|
|
1624
1670
|
);
|
|
1625
1671
|
}
|
|
1626
|
-
const Ne =
|
|
1672
|
+
const Ne = me;
|
|
1627
1673
|
function Ve({ logo: l, description: c, sections: a = [], socialLinks: r = [], copyrightText: n, madeByText: o, background: h = "white" }) {
|
|
1628
|
-
const d =
|
|
1674
|
+
const d = z(h);
|
|
1629
1675
|
return /* @__PURE__ */ e(
|
|
1630
|
-
|
|
1676
|
+
f,
|
|
1631
1677
|
{
|
|
1632
1678
|
component: "footer",
|
|
1633
1679
|
py: "xl",
|
|
@@ -1686,7 +1732,7 @@ function Ve({ logo: l, description: c, sections: a = [], socialLinks: r = [], co
|
|
|
1686
1732
|
}
|
|
1687
1733
|
),
|
|
1688
1734
|
/* @__PURE__ */ e(m, { gap: "xs", children: p.links.map((g, u) => /* @__PURE__ */ e(
|
|
1689
|
-
|
|
1735
|
+
ne,
|
|
1690
1736
|
{
|
|
1691
1737
|
c: "gray.6",
|
|
1692
1738
|
size: "sm",
|
|
@@ -1713,8 +1759,8 @@ function Ve({ logo: l, description: c, sections: a = [], socialLinks: r = [], co
|
|
|
1713
1759
|
children: "Social"
|
|
1714
1760
|
}
|
|
1715
1761
|
),
|
|
1716
|
-
/* @__PURE__ */ e(
|
|
1717
|
-
|
|
1762
|
+
/* @__PURE__ */ e(y, { gap: "xs", children: r.map((p, s) => /* @__PURE__ */ e(
|
|
1763
|
+
ae,
|
|
1718
1764
|
{
|
|
1719
1765
|
size: "md",
|
|
1720
1766
|
variant: "subtle",
|
|
@@ -1743,7 +1789,7 @@ function Ve({ logo: l, description: c, sections: a = [], socialLinks: r = [], co
|
|
|
1743
1789
|
}
|
|
1744
1790
|
),
|
|
1745
1791
|
/* @__PURE__ */ i(
|
|
1746
|
-
|
|
1792
|
+
y,
|
|
1747
1793
|
{
|
|
1748
1794
|
justify: "space-between",
|
|
1749
1795
|
mt: 30,
|
|
@@ -1761,7 +1807,7 @@ function Ve({ logo: l, description: c, sections: a = [], socialLinks: r = [], co
|
|
|
1761
1807
|
children: n
|
|
1762
1808
|
}
|
|
1763
1809
|
),
|
|
1764
|
-
o && /* @__PURE__ */ e(
|
|
1810
|
+
o && /* @__PURE__ */ e(y, { gap: "sm", children: /* @__PURE__ */ e(
|
|
1765
1811
|
t,
|
|
1766
1812
|
{
|
|
1767
1813
|
size: "xs",
|
|
@@ -1780,26 +1826,26 @@ function Ve({ logo: l, description: c, sections: a = [], socialLinks: r = [], co
|
|
|
1780
1826
|
);
|
|
1781
1827
|
}
|
|
1782
1828
|
export {
|
|
1783
|
-
|
|
1829
|
+
pe as CTABanner,
|
|
1784
1830
|
B as CTAButton,
|
|
1785
|
-
|
|
1831
|
+
Me as Comparison,
|
|
1786
1832
|
Re as FAQ,
|
|
1787
1833
|
je as FeatureSplit,
|
|
1788
|
-
|
|
1834
|
+
Ee as FeaturesGrid,
|
|
1789
1835
|
Ve as Footer,
|
|
1790
|
-
|
|
1836
|
+
de as Header,
|
|
1791
1837
|
Ae as Hero,
|
|
1792
1838
|
I as Layout,
|
|
1793
|
-
|
|
1839
|
+
J as MediaBlock,
|
|
1794
1840
|
De as Navbar,
|
|
1795
|
-
|
|
1796
|
-
|
|
1841
|
+
ke as Pricing,
|
|
1842
|
+
Pe as SECTION_BACKGROUNDS,
|
|
1797
1843
|
He as SecondaryCTA,
|
|
1798
|
-
|
|
1844
|
+
Q as SectionHeader,
|
|
1799
1845
|
Ne as SeloExclusivo,
|
|
1800
1846
|
Ce as SocialProof,
|
|
1801
1847
|
Ge as Testimonials,
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1848
|
+
me as TrustBadge,
|
|
1849
|
+
z as resolveBackground,
|
|
1850
|
+
Be as theme
|
|
1805
1851
|
};
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(o,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("@mantine/core"),require("react/jsx-runtime"),require("@mantine/hooks"),require("@tabler/icons-react"),require("react")):typeof define=="function"&&define.amd?define(["exports","@mantine/core","react/jsx-runtime","@mantine/hooks","@tabler/icons-react","react"],e):(o=typeof globalThis<"u"?globalThis:o||self,e(o.RiligarComponentsKit={},o.MantineCore,o.jsxRuntime,o.MantineHooks,o.TablerIcons,o.React))})(this,(function(o,e,r,N,b,u){"use strict";const L=e.createTheme({fontFamily:'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',headings:{fontFamily:'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',fontWeight:"900"},colors:{gray:["#FFFFFF","#F9FAFB","#F3F4F6","#E5E7EB","#9CA3AF","#6B7280","#4B5563","#374151","#1F2937","#11181C"]},primaryColor:"gray",primaryShade:9,autoContrast:!0,defaultRadius:"0",components:{Container:{defaultProps:{size:"xl",px:"md"}},Paper:{defaultProps:{withBorder:!0,shadow:"none",radius:"0",bg:"white"}},Card:{defaultProps:{withBorder:!1,shadow:"none",radius:"0",padding:"xl",bg:"transparent"}},Button:{defaultProps:{size:"md",fw:800,radius:"0",variant:"filled",color:"gray.9"},styles:{root:{textTransform:"uppercase",letterSpacing:"1px"}}},TextInput:{defaultProps:{size:"lg",radius:"0",variant:"unstyled"},styles:{input:{borderBottom:"1px solid var(--mantine-color-gray-2)",paddingLeft:0,paddingRight:0}}},Title:{defaultProps:{lh:1.1,c:"gray.9",ls:"-0.04em"}},Text:{defaultProps:{lh:1.6,c:"gray.9",size:"md"}},Badge:{defaultProps:{variant:"dot",color:"gray",radius:"0",size:"sm"},styles:{root:{textTransform:"uppercase",letterSpacing:"1.5px",fontWeight:800}}},ThemeIcon:{defaultProps:{variant:"light",color:"gray",radius:"0",size:"lg"}},Divider:{defaultProps:{color:"gray.2"}}}});function F({subtitle:a,title:n,titleOrder:i=2,titleFz:l="var(--fz-section-title)",ta:s="left",maw:t}){return!n&&!a?null:r.jsxs(e.Stack,{gap:"xs",align:s==="center"?"center":"flex-start",ta:s,children:[a&&r.jsx(e.Text,{c:"gray.4",size:"xs",fw:800,tt:"uppercase",ls:"1.5px",children:a}),n&&r.jsx(e.Title,{order:i,fz:l,maw:t,children:n})]})}function I({video:a,image:n,width:i="100%",alt:l}){return a?r.jsx(e.Center,{children:r.jsx(e.Box,{component:"video",src:a.src,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,"aria-label":l||"Demonstração em vídeo",w:a.width||i,h:"auto",style:{filter:a.filter||"none"}})}):n?r.jsx(e.Center,{children:r.jsx(e.Box,{component:"img",src:n,alt:l||"",w:i,h:"auto"})}):null}function z({label:a,href:n,onClick:i,icon:l,size:s="lg",variant:t="filled",color:h,target:c,px:p,fullWidth:d,leftSection:g,...y}){return r.jsx(e.Button,{size:s,component:n?"a":"button",href:n,onClick:i,target:c,rightSection:l,leftSection:g,variant:t,color:h,px:p,fullWidth:d,...y,children:a})}const P={white:"white",gray:"gray.0"},f=a=>P[a]||P.white;function x({children:a,title:n,subtitle:i,id:l,background:s="white",py:t={base:80,md:120},maw:h=800,ta:c="left",stackGap:p="xl"}){const d=f(s);return r.jsx(e.Box,{component:"section",id:l,bg:d,py:t,style:{overflow:"hidden"},children:r.jsx(e.Container,{size:"lg",children:r.jsxs(e.Stack,{gap:p,children:[r.jsx(F,{subtitle:i,title:n,ta:c,maw:h}),r.jsx(e.Box,{children:a})]})})})}function C({logo:a,navLinks:n=[],loginCta:i,signupCta:l,background:s="white"}){const t=f(s),[h]=N.useWindowScroll(),c=h.y>10,p=g=>{g==="top"?window.scrollTo({top:0,behavior:"smooth"}):document.getElementById(g)?.scrollIntoView({behavior:"smooth"})},d=(g,y)=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),p(y))};return r.jsx(e.Box,{component:"header",pos:"sticky",top:0,w:"100%",style:{zIndex:100,pointerEvents:"none"},children:r.jsx(e.Container,{size:"xl",py:"md",children:r.jsx(e.Paper,{shadow:c?"sm":"none",radius:"0",p:"xs",bg:t,bd:c?"1px solid var(--mantine-color-gray-2)":"1px solid transparent",style:{pointerEvents:"auto",transition:"all 0.2s ease"},children:r.jsxs(e.Group,{justify:"space-between",align:"center",px:{base:"xs",sm:"md"},children:[a&&r.jsx("a",{href:"#","aria-label":"Voltar ao topo",onClick:g=>{g.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})},style:{display:"inline-flex"},children:r.jsx("img",{src:a.src,alt:a.alt||"",height:a.height||32,style:{objectFit:"contain"}})}),n.length>0&&r.jsx(e.Group,{gap:"xl",visibleFrom:"sm",component:"nav",role:"navigation","aria-label":"Menu principal",children:n.map(g=>r.jsx(e.Text,{size:"sm",fw:900,tt:"uppercase",ls:"1px",c:"dark",role:"link",tabIndex:0,style:{cursor:"pointer"},onClick:()=>p(g.target),onKeyDown:y=>d(y,g.target),children:g.label},g.label))}),r.jsxs(e.Group,{gap:"sm",children:[i&&r.jsx(e.Button,{variant:"subtle",component:i.href?"a":"button",href:i.href,onClick:i.onClick,c:"gray.7",size:"sm",radius:"0",visibleFrom:"xs",fw:900,children:i.label}),l&&r.jsxs(e.Button,{component:l.href?"a":"button",href:l.href,onClick:l.onClick,size:"sm",radius:"0",color:"dark",variant:"filled",children:[r.jsx(e.Text,{span:!0,visibleFrom:"sm",c:"white",fw:900,size:"sm",children:l.label}),r.jsx(e.Text,{span:!0,hiddenFrom:"sm",c:"white",fw:900,size:"xs",children:l.labelMobile||l.label})]})]})]})})})})}const O=C;function W({subtitle:a,title:n,description:i,cta:l,video:s,image:t,background:h="white"}){const c=f(h);return r.jsx(e.Box,{py:{base:80,sm:100,md:140},id:"hero",bg:c,children:r.jsx(e.Container,{size:"lg",children:r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:{base:60,md:100},verticalSpacing:60,children:[r.jsxs(e.Stack,{align:{base:"center",md:"flex-start"},justify:"center",gap:{base:32,md:48},ta:{base:"center",md:"left"},children:[r.jsx(F,{subtitle:a,title:n,titleOrder:1,titleFz:"var(--fz-hero)",ta:"inherit"}),i&&r.jsx(e.Center,{children:r.jsx(e.Text,{size:"xl",c:"gray.6",lh:1.6,maw:600,children:i})}),l&&r.jsx(e.Center,{children:r.jsx(e.Group,{gap:"md",justify:{base:"center",md:"flex-start"},children:r.jsx(z,{label:l.label,href:l.href,icon:l.icon,size:l.size||"xl",px:l.px||48,variant:l.variant,color:l.color})})})]}),r.jsx(I,{video:s,image:t,alt:"Demonstração do produto"})]})})})}function K({logo:a,index:n}){const i={src:a.src,alt:a.alt||`Logo ${n}`,h:a.height||50,w:"auto",style:{filter:"grayscale(1) opacity(0.4)",transition:"filter 0.3s ease, opacity 0.3s ease",...a.style},onMouseEnter:l=>{l.currentTarget.style.filter="grayscale(0) opacity(0.8)"},onMouseLeave:l=>{l.currentTarget.style.filter="grayscale(1) opacity(0.4)"}};return a.url?r.jsx(e.Center,{children:r.jsx("a",{href:a.url,target:"_blank",rel:"noopener noreferrer",children:r.jsx(e.Image,{...i})})}):r.jsx(e.Center,{children:r.jsx(e.Image,{...i})})}function V({id:a,title:n,logos:i,background:l="gray"}){const s=f(l);return!i||i.length===0?null:r.jsx(e.Box,{component:"section",id:a,py:{base:40,md:60},bg:s,bd:{bottom:"1px solid var(--mantine-color-gray-1)"},children:r.jsx(e.Container,{size:"lg",children:r.jsxs(e.Stack,{align:"center",ta:"center",gap:"xl",children:[n&&r.jsx(e.Text,{fw:500,c:"gray.5",size:"sm",tt:"uppercase",ls:"0.1em",children:n}),r.jsx(e.Group,{justify:"space-between",gap:{base:40,md:80},style:{rowGap:40},w:"100%",children:i.map((t,h)=>r.jsx(K,{logo:t,index:h},h))})]})})})}function q({id:a,subtitle:n,title:i,description:l,featuresList:s,cta:t,video:h,image:c,reverse:p=!1,background:d="white"}){const g=s&&s.length>0&&r.jsx(e.List,{spacing:"md",size:"md",center:!0,icon:r.jsx(e.ThemeIcon,{color:"gray.2",size:24,radius:"0",children:r.jsx(b.IconCheck,{size:14,color:"var(--mantine-color-gray-9)"})}),children:s.map((S,v)=>r.jsx(e.List.Item,{children:S},v))}),y=r.jsxs(e.Stack,{justify:"center",gap:"lg",children:[l&&r.jsx(e.Text,{c:"gray.6",size:"xl",lh:1.6,children:l}),g,t&&r.jsx(e.Group,{mt:"md",children:r.jsx(z,{label:t.label,href:t.href,icon:t.icon,size:t.size||"lg",variant:t.variant,color:t.color})})]}),w=(h||c)&&r.jsx(I,{video:h,image:c,width:"80%"});return r.jsx(x,{id:a,subtitle:n,title:i,background:d,children:r.jsx(e.SimpleGrid,{cols:{base:1,md:2},spacing:{base:40,md:80},verticalSpacing:{base:40,md:50},children:p?r.jsxs(r.Fragment,{children:[w,y]}):r.jsxs(r.Fragment,{children:[y,w]})})})}function U({id:a,subtitle:n,title:i,background:l="gray",items:s=[]}){return f(l),r.jsx(x,{id:a,subtitle:n,title:i,background:l,children:r.jsx(e.Grid,{gutter:"lg",children:s.map((t,h)=>r.jsx(_,{...t},h))})})}function _({icon:a,iconVariant:n,iconColor:i,label:l,title:s,titleSize:t,description:h,descriptionSize:c,descriptionMaw:p,span:d={base:12,md:6},background:g="white",dark:y=!1,visual:w,secondaryVisual:S,layout:v="stacked",badges:B,codeBlock:M,decorativeContent:E,style:G,...k}){const rr=y?"white":void 0,er=y?"gray.4":"gray.6",lr="gray.5",ar=n||(y?"filled":"light"),sr=i||(y?"gray.7":"gray"),ir=t||(v==="compact"?"h4":"h3"),nr=c||(v==="compact"?"sm":"lg"),m=r.jsxs(e.Box,{children:[a&&r.jsx(e.ThemeIcon,{size:48,radius:"0",variant:ar,color:sr,mb:"lg",style:y?{color:"white"}:void 0,children:r.jsx(a,{size:24,stroke:1.5})}),l&&r.jsx(e.Text,{size:"sm",fw:800,tt:"uppercase",ls:"1.5px",c:lr,mb:"xs",children:l}),s&&r.jsx(e.Text,{fz:ir,fw:900,lh:1.2,mb:"sm",c:rr,children:s}),h&&r.jsx(e.Text,{c:er,size:nr,maw:p,mb:B?"xl":v==="compact"?"lg":void 0,children:h}),B&&B.length>0&&r.jsx(e.Group,{children:B.map((tr,dr)=>r.jsx(e.Badge,{variant:"dot",color:"gray",radius:"0",children:tr},dr))})]}),T=w?A(w,y):null,H=S?A(S,y):null;return v==="split"?r.jsx(e.Grid.Col,{span:d,children:r.jsx(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",style:G,...k,children:r.jsxs(e.Grid,{align:"center",gutter:"xl",children:[r.jsx(e.Grid.Col,{span:{base:12,sm:6},children:m}),r.jsxs(e.Grid.Col,{span:{base:12,sm:6},children:[T,M&&r.jsx(e.Code,{block:!0,color:"gray.0",c:"gray.7",style:{fontSize:12,lineHeight:1.4,borderRadius:0},children:M})]})]})})}):v==="compact"?r.jsx(e.Grid.Col,{span:d,children:r.jsxs(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",style:G,...k,children:[m,T]})}):E?r.jsx(e.Grid.Col,{span:d,children:r.jsx(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",pos:"relative",style:G,...k,children:r.jsxs(e.Grid,{gutter:0,pos:"relative",children:[r.jsx(e.Grid.Col,{span:{base:12,sm:7},style:{zIndex:1},children:m}),r.jsx(e.Grid.Col,{span:5,visibleFrom:"sm",children:E})]})})}):r.jsx(e.Grid.Col,{span:d,children:r.jsxs(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg,bd:"1px solid var(--mantine-color-gray-2)",display:"flex",style:{flexDirection:"column",justifyContent:"space-between",...G},...k,children:[m,T&&H?r.jsxs(e.Group,{gap:40,align:"center",children:[T,H]}):T]})})}function A(a,n){if(!a)return null;switch(a.type){case"ring":return r.jsx(e.RingProgress,{size:a.size||140,thickness:a.thickness||12,sections:[{value:a.value||100,color:"gray.9"}],label:r.jsx(e.Center,{children:r.jsxs(e.Stack,{gap:0,align:"center",children:[r.jsx(e.Text,{fw:900,size:"xl",lh:1,children:a.label}),a.sublabel&&r.jsx(e.Text,{size:"xs",c:"gray.5",fw:700,children:a.sublabel})]})})});case"metric":return r.jsxs(e.Stack,{gap:0,children:[r.jsx(e.Text,{fw:900,fz:32,c:"gray.9",lh:1,children:a.value}),r.jsx(e.Text,{size:"sm",c:"gray.5",mt:4,children:a.label}),a.badge&&r.jsx(e.Badge,{mt:"md",color:"gray",variant:"dot",radius:"0",children:a.badge})]});case"bars":return r.jsx(e.Group,{align:"flex-end",gap:8,h:a.height||100,preventGrowOverflow:!1,children:(a.data||[]).map((i,l)=>r.jsx(e.Box,{w:20,h:`${i}%`,bg:l===a.highlight?"gray.9":"gray.2",radius:"0"},l))});case"typography":return r.jsx(e.Center,{h:a.height||160,bg:n?"gray.8":"gray.1",radius:"0",children:r.jsx(e.Text,{fz:a.fontSize||100,fw:900,c:n?"gray.6":"gray.3",style:{letterSpacing:-6},children:a.text||"Aa"})});case"icon-large":{const i=a.icon;return i?r.jsx(i,{size:a.size||64,stroke:a.stroke||1,color:a.color||"var(--mantine-color-gray-2)"}):null}default:return null}}function Q({id:a,subtitle:n,title:i,traditionalCol:l,newCol:s,background:t="white"}){return r.jsx(x,{id:a,subtitle:n,title:i,background:t,children:r.jsx(e.Paper,{radius:"0",bd:"1px solid var(--mantine-color-gray-2)",style:{overflow:"hidden"},children:r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:0,children:[r.jsx(e.Box,{bg:f("gray"),p:{base:30,md:60},children:r.jsxs(e.Stack,{gap:"xl",children:[r.jsxs(e.Box,{children:[r.jsx(e.Text,{fw:900,fz:"h2",c:"gray.9",mb:4,children:l.title}),r.jsx(e.Text,{size:"sm",fw:800,tt:"uppercase",ls:"1.5px",c:"gray.5",children:l.subtitle})]}),r.jsx(e.Stack,{gap:"md",mb:40,children:l.items.map((h,c)=>r.jsxs(u.Fragment,{children:[r.jsxs(e.Group,{justify:"space-between",children:[r.jsx(e.Text,{size:"sm",c:"gray.6",children:h.label}),r.jsx(e.Text,{fw:700,c:"gray.9",children:h.value})]}),c<l.items.length-1&&r.jsx(e.Divider,{color:"var(--mantine-color-gray-2)"})]},c))}),r.jsxs(e.Box,{bg:f("white"),p:"lg",radius:"0",bd:"1px solid var(--mantine-color-gray-2)",children:[r.jsxs(e.Group,{justify:"space-between",children:[r.jsx(e.Text,{fw:900,c:"gray.7",children:l.totalLabel||"Total Estimado"}),r.jsx(e.Text,{fw:900,fz:32,c:"gray.9",children:l.totalValue})]}),l.footerText&&r.jsx(e.Text,{size:"xs",c:"red.6",ta:"right",mt:4,children:l.footerText})]})]})}),r.jsx(e.Box,{bg:f("white"),p:{base:30,md:60},pos:"relative",children:r.jsxs(e.Stack,{gap:"xl",h:"100%",children:[r.jsxs(e.Box,{children:[r.jsxs(e.Group,{gap:"xs",children:[r.jsx(e.Text,{fw:900,fz:"h2",c:"gray.9",mb:4,children:s.title}),s.badge&&r.jsx(e.Badge,{color:"gray.9",variant:"filled",radius:"0",children:s.badge})]}),r.jsx(e.Text,{size:"sm",c:"gray.6",children:s.description})]}),r.jsx(e.List,{spacing:"md",size:"md",c:"gray.6",icon:r.jsx(e.ThemeIcon,{color:"gray.0",size:20,radius:"0",bd:"1px solid var(--mantine-color-gray-2)",children:r.jsx(b.IconCheck,{size:12,color:"var(--mantine-color-gray-9)"})}),children:s.items.map((h,c)=>r.jsx(e.List.Item,{children:h},c))}),s.pricingBox&&r.jsx(e.Box,{bg:f("gray"),p:"lg",radius:"0",bd:"1px solid var(--mantine-color-gray-2)",children:r.jsxs(e.Stack,{gap:4,children:[r.jsx(e.Text,{size:"sm",fw:800,tt:"uppercase",ls:"1.5px",c:"gray.5",children:s.pricingBox.label}),r.jsx(e.Text,{fw:900,fz:48,c:"gray.9",lh:1,children:s.pricingBox.price}),s.pricingBox.subtext&&r.jsx(e.Text,{size:"xs",c:"gray.5",mt:"sm",children:s.pricingBox.subtext})]})}),s.cta&&r.jsx(e.Box,{mt:"xl",children:r.jsx(z,{label:s.cta.label,href:s.cta.href,icon:s.cta.icon,size:s.cta.size||"lg",color:s.cta.color||"gray.9",fullWidth:!0})})]})})]})})})}function $({id:a,subtitle:n,title:i,billingOptions:l=[{label:"Mensal",value:"monthly"},{label:"Anual",value:"annual"}],billing:s,setBilling:t,promoBadge:h,plans:c,background:p="white"}){return r.jsxs(x,{id:a,subtitle:n,title:i,ta:"center",background:p,children:[l&&l.length>0&&r.jsx(e.Stack,{align:"center",gap:"xl",mb:80,children:r.jsxs(e.Group,{gap:"xs",children:[r.jsx(e.SegmentedControl,{value:s,onChange:t,radius:"0",size:"md",data:l,color:"gray.9",bg:"white",style:{border:"1px solid var(--mantine-color-gray-2)"}}),s==="annual"&&h&&r.jsx(e.Badge,{variant:"filled",color:"gray.9",radius:"0",size:"lg",children:h})]})}),r.jsx(e.SimpleGrid,{cols:{base:1,md:c.length<=3?c.length:3},spacing:"xl",verticalSpacing:"xl",children:c.map(d=>r.jsxs(e.Paper,{p:"xl",radius:"0",withBorder:!0,bd:d.highlight?"2px solid var(--mantine-color-gray-9)":"1px solid var(--mantine-color-gray-2)",display:"flex",h:"100%",style:{flexDirection:"column"},bg:"white",children:[r.jsxs(e.Stack,{gap:"md",mb:"xl",children:[r.jsxs(e.Group,{justify:"space-between",align:"center",children:[r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1.5px",c:"gray.4",children:d.name}),d.highlight&&r.jsx(e.Badge,{variant:"dot",color:"gray.9",children:d.highlightBadge||"RECOMENDADO"})]}),r.jsx(e.Text,{size:"sm",c:"gray.6",fw:500,lh:1.5,h:{md:42},children:d.description})]}),r.jsxs(e.Box,{mb:"xl",children:[r.jsx(e.Text,{size:"xs",c:"gray.4",fw:800,tt:"uppercase",ls:"1px",mb:4,children:d.pricePrefix||"A partir de"}),r.jsxs(e.Group,{gap:8,align:"flex-start",children:[r.jsx(e.Text,{size:"xl",fw:900,c:"gray.9",style:{marginTop:8},children:d.priceDisplay?.currency}),r.jsxs(e.Group,{gap:4,align:"flex-end",children:[r.jsx(e.Text,{fz:"var(--fz-big-metric)",fw:900,ls:"-0.04em",lh:.8,c:"gray.9",children:d.priceDisplay?.whole}),d.priceDisplay?.fraction&&r.jsxs(e.Stack,{gap:0,mb:6,children:[r.jsxs(e.Text,{size:"xl",fw:900,lh:1,c:"gray.9",children:[",",d.priceDisplay.fraction]}),r.jsx(e.Text,{size:"xs",c:"gray.5",fw:800,tt:"uppercase",ls:"0.5px",children:d.period||d.priceSuffix||"/mês"})]})]})]})]}),r.jsx(e.Divider,{mb:"xl",color:"gray.1"}),r.jsx(e.Stack,{gap:"sm",mb:40,style:{flex:1},children:d.features.map((g,y)=>r.jsxs(e.Group,{gap:"sm",wrap:"nowrap",align:"flex-start",children:[r.jsx(b.IconCheck,{size:16,color:"var(--mantine-color-gray-9)",style:{marginTop:2,flexShrink:0}}),r.jsx(e.Text,{size:"sm",fw:500,c:"gray.6",lh:1.4,children:g})]},y))}),r.jsx(e.Box,{mt:"auto",children:r.jsx(z,{label:d.cta.label,href:d.cta.href,size:d.cta.size||"xl",variant:d.cta.variant,color:d.cta.color||"gray.9",fullWidth:!0})})]},d.name))})]})}function J({id:a,subtitle:n,title:i,questions:l=[],contactCard:s,background:t="white"}){f(t);const h={item:{backgroundColor:f("white"),border:"1px solid var(--mantine-color-gray-2)"},control:{padding:"1.25rem"},content:{padding:"0 1.25rem 1.25rem 1.25rem"},label:{fontWeight:900,color:"var(--mantine-color-gray-9)"},chevron:{color:"var(--mantine-color-gray-5)"}};return r.jsxs(x,{id:a,subtitle:n,title:i,background:t,children:[r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:"xl",children:[r.jsx(e.Accordion,{variant:"separated",radius:"0",chevronPosition:"right",styles:h,children:l.slice(0,Math.ceil(l.length/2)).map((c,p)=>r.jsxs(e.Accordion.Item,{value:c.value||String(p),mb:"md",children:[r.jsx(e.Accordion.Control,{icon:r.jsx(e.ThemeIcon,{variant:"light",color:"gray",radius:"0",children:r.jsx(b.IconBolt,{size:16})}),children:c.question}),r.jsx(e.Accordion.Panel,{c:"gray.6",children:c.answer})]},c.value||p))}),r.jsx(e.Accordion,{variant:"separated",radius:"0",chevronPosition:"right",styles:h,children:l.slice(Math.ceil(l.length/2)).map((c,p)=>r.jsxs(e.Accordion.Item,{value:c.value||String(p),mb:"md",children:[r.jsx(e.Accordion.Control,{icon:r.jsx(e.ThemeIcon,{variant:"light",color:"gray",radius:"0",children:r.jsx(b.IconBolt,{size:16})}),children:c.question}),r.jsx(e.Accordion.Panel,{c:"gray.6",children:c.answer})]},c.value||p))})]}),s&&r.jsx(e.Paper,{mt:{base:40,md:80},radius:"0",p:{base:"xl",md:60},bg:f("gray"),bd:"1px solid var(--mantine-color-gray-1)",pos:"relative",style:{overflow:"hidden"},children:r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:"xl",style:{position:"relative",zIndex:1,alignItems:"center"},children:[r.jsxs(e.Stack,{gap:"sm",ta:{base:"center",md:"left"},align:{base:"center",md:"flex-start"},children:[r.jsx(e.Text,{fz:"h2",fw:900,c:"gray.9",lh:1.2,children:s.title}),r.jsx(e.Text,{c:"gray.6",maw:500,size:"lg",children:s.description})]}),r.jsx(e.Stack,{align:{base:"center",md:"flex-end"},children:r.jsx(z,{label:s.cta.label,href:s.cta.href,target:s.cta.target,leftSection:s.cta.icon,size:s.cta.size||"xl",color:s.cta.color||"dark"})})]})})]})}function X({id:a,title:n,subtitle:i,items:l=[],background:s="gray"}){return r.jsx(x,{id:a,background:s,title:n,subtitle:i,children:r.jsx(e.SimpleGrid,{cols:{base:1,md:l.length>3?4:l.length||3},spacing:"xl",children:l.map((t,h)=>r.jsx(e.Paper,{p:"xl",radius:"0",bd:"1px solid var(--mantine-color-gray-2)",bg:f("white"),children:r.jsxs(e.Stack,{gap:"md",align:"flex-start",h:"100%",children:[r.jsx(b.IconQuote,{size:32,color:"var(--mantine-color-gray-3)"}),r.jsxs(e.Text,{size:"lg",c:"gray.7",lh:1.6,fs:"italic",flex:1,children:['"',t.content,'"']}),r.jsxs(e.Group,{gap:"sm",mt:"xl",children:[r.jsx(e.Avatar,{size:"md",radius:"0",color:"gray",src:t.avatarSrc,children:t.initials}),r.jsxs(e.Stack,{gap:0,children:[r.jsx(e.Text,{size:"sm",fw:900,children:t.name}),r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1px",c:"gray.5",children:t.role})]})]})]})},h))})})}function D({id:a,title:n,description:i,cta:l,background:s="gray"}){return r.jsx(x,{id:a,background:s,ta:"center",children:r.jsx(e.Paper,{p:{base:"xl",sm:80},bg:f("white"),radius:"0",bd:"1px solid var(--mantine-color-gray-2)",style:{borderTop:"4px solid var(--mantine-color-gray-9)"},children:r.jsxs(e.Stack,{align:"center",ta:"center",gap:"xl",children:[n&&r.jsx(e.Text,{fz:"var(--fz-section-title)",fw:900,lh:1.2,ls:"-0.04em",maw:700,children:n}),i&&r.jsx(e.Text,{c:"gray.7",size:"xl",maw:550,children:i}),l&&r.jsx(e.Box,{mt:"md",children:r.jsx(z,{label:l.label,href:l.href,size:l.size||"xl",px:l.px||{base:32,md:60},variant:l.variant,color:l.color})})]})})})}const Y=D;function j({text:a="Selo Exclusivo RiLiGar",color:n="green.6",background:i="gray"}){const l=f(i);return r.jsx(e.Box,{p:"xs",bg:l,style:{borderRadius:"8px",border:"1px solid var(--mantine-color-gray-2)",display:"inline-block"},children:r.jsxs(e.Group,{gap:"xs",children:[r.jsx(e.ThemeIcon,{color:n,variant:"light",size:"sm",radius:"xl",children:r.jsx(b.IconCircleCheck,{size:14,"aria-hidden":"true"})}),r.jsx(e.Text,{size:"xs",fw:700,c:"gray.7",tt:"uppercase",lts:.5,children:a})]})})}const Z=j;function R({logo:a,description:n,sections:i=[],socialLinks:l=[],copyrightText:s,madeByText:t,background:h="white"}){const c=f(h);return r.jsx(e.Box,{component:"footer",py:"xl",bg:c,bd:{top:"1px solid var(--mantine-color-gray-2)"},children:r.jsxs(e.Container,{size:"xl",children:[r.jsxs(e.SimpleGrid,{cols:{base:1,sm:2},spacing:"xl",children:[r.jsxs(e.Stack,{gap:"lg",children:[a&&r.jsx("img",{src:a.src,alt:a.alt||"",height:a.height||32,style:{objectFit:"contain",objectPosition:"left"}}),n&&r.jsx(e.Text,{size:"md",c:"gray.6",lh:1.6,maw:400,children:n})]}),r.jsxs(e.SimpleGrid,{cols:{base:2,sm:i.length+(l?.length>0?1:0)||4},spacing:"xl",children:[i.map((p,d)=>r.jsxs(e.Stack,{gap:"md",children:[r.jsx(e.Text,{fw:900,size:"xs",tt:"uppercase",ls:"1.5px",children:p.title}),r.jsx(e.Stack,{gap:"xs",children:p.links.map((g,y)=>r.jsx(e.Anchor,{c:"gray.6",size:"sm",component:g.href?"a":"button",href:g.href,onClick:g.onClick,fw:500,children:g.label},y))})]},d)),l&&l.length>0&&r.jsxs(e.Stack,{gap:"md",children:[r.jsx(e.Text,{fw:900,size:"xs",tt:"uppercase",ls:"1.5px",children:"Social"}),r.jsx(e.Group,{gap:"xs",children:l.map((p,d)=>r.jsx(e.ActionIcon,{size:"md",variant:"subtle",color:"gray",component:"a",href:p.href,target:"_blank",radius:"0","aria-label":p.label||`Social link ${d+1}`,children:p.icon},d))})]})]})]}),r.jsx(e.Divider,{my:"xl",color:"gray.2"}),r.jsxs(e.Group,{justify:"space-between",mt:30,wrap:"wrap",gap:"sm",children:[r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1px",c:"gray.5",children:s}),t&&r.jsx(e.Group,{gap:"sm",children:r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1px",c:"gray.5",children:t})})]})]})})}o.CTABanner=D,o.CTAButton=z,o.Comparison=Q,o.FAQ=J,o.FeatureSplit=q,o.FeaturesGrid=U,o.Footer=R,o.Header=C,o.Hero=W,o.Layout=x,o.MediaBlock=I,o.Navbar=O,o.Pricing=$,o.SECTION_BACKGROUNDS=P,o.SecondaryCTA=Y,o.SectionHeader=F,o.SeloExclusivo=Z,o.SocialProof=V,o.Testimonials=X,o.TrustBadge=j,o.resolveBackground=f,o.theme=L,Object.defineProperty(o,Symbol.toStringTag,{value:"Module"})}));
|
|
1
|
+
(function(c,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("@mantine/core"),require("react/jsx-runtime"),require("@mantine/hooks"),require("@tabler/icons-react"),require("react")):typeof define=="function"&&define.amd?define(["exports","@mantine/core","react/jsx-runtime","@mantine/hooks","@tabler/icons-react","react"],e):(c=typeof globalThis<"u"?globalThis:c||self,e(c.RiligarComponentsKit={},c.MantineCore,c.jsxRuntime,c.MantineHooks,c.TablerIcons,c.React))})(this,(function(c,e,r,H,b,N){"use strict";const L=e.createTheme({fontFamily:'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',headings:{fontFamily:'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',fontWeight:"900"},colors:{gray:["#FFFFFF","#F9FAFB","#F3F4F6","#E5E7EB","#9CA3AF","#6B7280","#4B5563","#374151","#1F2937","#11181C"]},primaryColor:"gray",primaryShade:9,autoContrast:!0,defaultRadius:"0",components:{Container:{defaultProps:{size:"xl",px:"md"}},Paper:{defaultProps:{withBorder:!0,shadow:"none",radius:"0",bg:"white"}},Card:{defaultProps:{withBorder:!1,shadow:"none",radius:"0",padding:"xl",bg:"transparent"}},Button:{defaultProps:{size:"md",fw:800,radius:"0",variant:"filled",color:"gray.9"},styles:{root:{textTransform:"uppercase",letterSpacing:"1px"}}},TextInput:{defaultProps:{size:"lg",radius:"0",variant:"unstyled"},styles:{input:{borderBottom:"1px solid var(--mantine-color-gray-2)",paddingLeft:0,paddingRight:0}}},Title:{defaultProps:{lh:1.1,c:"gray.9",ls:"-0.04em"}},Text:{defaultProps:{lh:1.6,c:"gray.9",size:"md"}},Badge:{defaultProps:{variant:"dot",color:"gray",radius:"0",size:"sm"},styles:{root:{textTransform:"uppercase",letterSpacing:"1.5px",fontWeight:800}}},ThemeIcon:{defaultProps:{variant:"light",color:"gray",radius:"0",size:"lg"}},Divider:{defaultProps:{color:"gray.2"}}}});function F({subtitle:a,title:n,titleOrder:i=2,titleFz:l="var(--fz-section-title)",ta:s="left",maw:t}){return!n&&!a?null:r.jsxs(e.Stack,{gap:"xs",align:s==="center"?"center":"flex-start",ta:s,children:[a&&r.jsx(e.Text,{c:"gray.4",size:"xs",fw:800,tt:"uppercase",ls:"1.5px",children:a}),n&&r.jsx(e.Title,{order:i,fz:l,maw:t,children:n})]})}function I({video:a,image:n,width:i="100%",alt:l}){return a?r.jsx(e.Center,{children:r.jsx(e.Box,{component:"video",src:a.src,autoPlay:!0,loop:!0,muted:!0,playsInline:!0,"aria-label":l||"Demonstração em vídeo",w:a.width||i,h:"auto",style:{filter:a.filter||"none"}})}):n?r.jsx(e.Center,{children:r.jsx(e.Box,{component:"img",src:n,alt:l||"",w:i,h:"auto"})}):null}function z({label:a,href:n,onClick:i,icon:l,size:s="lg",variant:t="filled",color:o,target:h,px:p,fullWidth:d,leftSection:g,...y}){return r.jsx(e.Button,{size:s,component:n?"a":"button",href:n,onClick:i,target:h,rightSection:l,leftSection:g,variant:t,color:o,px:p,fullWidth:d,...y,children:a})}const O={white:"white",gray:"gray.1"},f=a=>a;function x({children:a,title:n,subtitle:i,id:l,background:s="white",py:t={base:80,md:120},maw:o=800,ta:h="left",stackGap:p="xl"}){const d=f(s);return r.jsx(e.Box,{component:"section",id:l,bg:d,py:t,style:{overflow:"hidden"},children:r.jsx(e.Container,{size:"lg",children:r.jsxs(e.Stack,{gap:p,children:[r.jsx(F,{subtitle:i,title:n,ta:h,maw:o}),r.jsx(e.Box,{children:a})]})})})}function P({logo:a,navLinks:n=[],loginCta:i,signupCta:l,background:s="white"}){const t=f(s),[o]=H.useWindowScroll(),h=o.y>10,p=g=>{g==="top"?window.scrollTo({top:0,behavior:"smooth"}):document.getElementById(g)?.scrollIntoView({behavior:"smooth"})},d=(g,y)=>{(g.key==="Enter"||g.key===" ")&&(g.preventDefault(),p(y))};return r.jsx(e.Box,{component:"header",pos:"sticky",top:0,w:"100%",style:{zIndex:100,pointerEvents:"none"},children:r.jsx(e.Container,{size:"xl",py:"md",children:r.jsx(e.Paper,{shadow:h?"sm":"none",radius:"0",p:"xs",bg:t,bd:h?"1px solid var(--mantine-color-gray-2)":"1px solid transparent",style:{pointerEvents:"auto",transition:"all 0.2s ease"},children:r.jsxs(e.Group,{justify:"space-between",align:"center",px:{base:"xs",sm:"md"},children:[a&&r.jsx("a",{href:"#","aria-label":"Voltar ao topo",onClick:g=>{g.preventDefault(),window.scrollTo({top:0,behavior:"smooth"})},style:{display:"inline-flex"},children:r.jsx("img",{src:a.src,alt:a.alt||"",height:a.height||32,style:{objectFit:"contain"}})}),n.length>0&&r.jsx(e.Group,{gap:"xl",visibleFrom:"sm",component:"nav",role:"navigation","aria-label":"Menu principal",children:n.map(g=>r.jsx(e.Text,{size:"sm",fw:900,tt:"uppercase",ls:"1px",c:"dark",role:"link",tabIndex:0,style:{cursor:"pointer"},onClick:()=>p(g.target),onKeyDown:y=>d(y,g.target),children:g.label},g.label))}),r.jsxs(e.Group,{gap:"sm",children:[i&&r.jsx(e.Button,{variant:"subtle",component:i.href?"a":"button",href:i.href,onClick:i.onClick,c:"gray.7",size:"sm",radius:"0",visibleFrom:"xs",fw:900,children:i.label}),l&&r.jsxs(e.Button,{component:l.href?"a":"button",href:l.href,onClick:l.onClick,size:"sm",radius:"0",color:"dark",variant:"filled",children:[r.jsx(e.Text,{span:!0,visibleFrom:"sm",c:"white",fw:900,size:"sm",children:l.label}),r.jsx(e.Text,{span:!0,hiddenFrom:"sm",c:"white",fw:900,size:"xs",children:l.labelMobile||l.label})]})]})]})})})})}const W=P;function K({subtitle:a,title:n,description:i,cta:l,video:s,image:t,background:o="white"}){return r.jsx(e.Box,{py:{base:80,sm:100,md:140},id:"hero",bg:o,children:r.jsx(e.Container,{size:"lg",children:r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:{base:60,md:100},verticalSpacing:60,children:[r.jsxs(e.Stack,{align:{base:"center",md:"flex-start"},justify:"center",gap:{base:32,md:48},ta:{base:"center",md:"left"},children:[r.jsx(F,{subtitle:a,title:n,titleOrder:1,titleFz:"var(--fz-hero)",ta:"inherit"}),i&&r.jsx(e.Center,{children:r.jsx(e.Text,{size:"xl",c:"gray.6",lh:1.6,maw:600,children:i})}),l&&r.jsx(e.Center,{children:r.jsx(e.Group,{gap:"md",justify:{base:"center",md:"flex-start"},children:r.jsx(z,{label:l.label,href:l.href,icon:l.icon,size:l.size||"xl",px:l.px||48,variant:l.variant,color:l.color})})})]}),r.jsx(I,{video:s,image:t,alt:"Demonstração do produto"})]})})})}function V({logo:a,index:n}){const i={src:a.src,alt:a.alt||`Logo ${n}`,h:a.height||50,w:"auto",style:{filter:"grayscale(1) opacity(0.4)",transition:"filter 0.3s ease, opacity 0.3s ease",...a.style},onMouseEnter:l=>{l.currentTarget.style.filter="grayscale(0) opacity(0.8)"},onMouseLeave:l=>{l.currentTarget.style.filter="grayscale(1) opacity(0.4)"}};return a.url?r.jsx(e.Center,{children:r.jsx("a",{href:a.url,target:"_blank",rel:"noopener noreferrer",children:r.jsx(e.Image,{...i})})}):r.jsx(e.Center,{children:r.jsx(e.Image,{...i})})}function q({id:a,title:n,logos:i,background:l="gray"}){return!i||i.length===0?null:r.jsx(e.Box,{component:"section",id:a,py:{base:40,md:60},bg:l,bd:{bottom:"1px solid var(--mantine-color-gray-1)"},children:r.jsx(e.Container,{size:"lg",children:r.jsxs(e.Stack,{align:"center",ta:"center",gap:"xl",children:[n&&r.jsx(e.Text,{fw:500,c:"gray.5",size:"sm",tt:"uppercase",ls:"0.1em",children:n}),r.jsx(e.Group,{justify:"space-between",gap:{base:40,md:80},style:{rowGap:40},w:"100%",children:i.map((s,t)=>r.jsx(V,{logo:s,index:t},t))})]})})})}function U({id:a,subtitle:n,title:i,description:l,featuresList:s,cta:t,video:o,image:h,reverse:p=!1,background:d="white"}){const g=s&&s.length>0&&r.jsx(e.List,{spacing:"md",size:"md",center:!0,icon:r.jsx(e.ThemeIcon,{color:"gray.2",size:24,radius:"0",children:r.jsx(b.IconCheck,{size:14,color:"var(--mantine-color-gray-9)"})}),children:s.map((S,v)=>r.jsx(e.List.Item,{children:S},v))}),y=r.jsxs(e.Stack,{justify:"center",gap:"lg",children:[l&&r.jsx(e.Text,{c:"gray.6",size:"xl",lh:1.6,children:l}),g,t&&r.jsx(e.Group,{mt:"md",children:r.jsx(z,{label:t.label,href:t.href,icon:t.icon,size:t.size||"lg",variant:t.variant,color:t.color})})]}),w=(o||h)&&r.jsx(I,{video:o,image:h,width:"80%"});return r.jsx(x,{id:a,subtitle:n,title:i,background:d,children:r.jsx(e.SimpleGrid,{cols:{base:1,md:2},spacing:{base:40,md:80},verticalSpacing:{base:40,md:50},children:p?r.jsxs(r.Fragment,{children:[w,y]}):r.jsxs(r.Fragment,{children:[y,w]})})})}function _({id:a,subtitle:n,title:i,background:l="gray",items:s=[]}){return r.jsx(x,{id:a,subtitle:n,title:i,background:l,children:r.jsx(e.Grid,{gutter:"lg",children:s.map((t,o)=>r.jsx(Q,{...t},o))})})}function Q({icon:a,iconVariant:n,iconColor:i,label:l,title:s,titleSize:t,description:o,descriptionSize:h,descriptionMaw:p,span:d={base:12,md:6},background:g="white",dark:y=!1,visual:w,secondaryVisual:S,layout:v="stacked",badges:B,codeBlock:j,decorativeContent:M,style:G,...m}){const rr=y?"white":void 0,er=y?"gray.4":"gray.6",lr="gray.5",ar=n||(y?"filled":"light"),sr=i||(y?"gray.7":"gray"),ir=t||(v==="compact"?"h4":"h3"),nr=h||(v==="compact"?"sm":"lg"),k=r.jsxs(e.Box,{children:[a&&r.jsx(e.ThemeIcon,{size:48,radius:"0",variant:ar,color:sr,mb:"lg",style:y?{color:"white"}:void 0,children:r.jsx(a,{size:24,stroke:1.5})}),l&&r.jsx(e.Text,{size:"sm",fw:800,tt:"uppercase",ls:"1.5px",c:lr,mb:"xs",children:l}),s&&r.jsx(e.Text,{fz:ir,fw:900,lh:1.2,mb:"sm",c:rr,children:s}),o&&r.jsx(e.Text,{c:er,size:nr,maw:p,mb:B?"xl":v==="compact"?"lg":void 0,children:o}),B&&B.length>0&&r.jsx(e.Group,{children:B.map((tr,dr)=>r.jsx(e.Badge,{variant:"dot",color:"gray",radius:"0",children:tr},dr))})]}),T=w?C(w,y):null,E=S?C(S,y):null;return v==="split"?r.jsx(e.Grid.Col,{span:d,children:r.jsx(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",style:G,...m,children:r.jsxs(e.Grid,{align:"center",gutter:"xl",children:[r.jsx(e.Grid.Col,{span:{base:12,sm:6},children:k}),r.jsxs(e.Grid.Col,{span:{base:12,sm:6},children:[T,j&&r.jsx(e.Code,{block:!0,color:"gray.0",c:"gray.7",style:{fontSize:12,lineHeight:1.4,borderRadius:0},children:j})]})]})})}):v==="compact"?r.jsx(e.Grid.Col,{span:d,children:r.jsxs(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",style:G,...m,children:[k,T]})}):M?r.jsx(e.Grid.Col,{span:d,children:r.jsx(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",pos:"relative",style:G,...m,children:r.jsxs(e.Grid,{gutter:0,pos:"relative",children:[r.jsx(e.Grid.Col,{span:{base:12,sm:7},style:{zIndex:1},children:k}),r.jsx(e.Grid.Col,{span:5,visibleFrom:"sm",children:M})]})})}):r.jsx(e.Grid.Col,{span:d,children:r.jsxs(e.Paper,{h:"100%",p:{base:"xl",md:40},radius:"0",bg:f(g),bd:"1px solid var(--mantine-color-gray-2)",display:"flex",style:{flexDirection:"column",justifyContent:"space-between",...G},...m,children:[k,T&&E?r.jsxs(e.Group,{gap:40,align:"center",children:[T,E]}):T]})})}function C(a,n){if(!a)return null;switch(a.type){case"ring":return r.jsx(e.RingProgress,{size:a.size||140,thickness:a.thickness||12,sections:[{value:a.value||100,color:"gray.9"}],label:r.jsx(e.Center,{children:r.jsxs(e.Stack,{gap:0,align:"center",children:[r.jsx(e.Text,{fw:900,size:"xl",lh:1,children:a.label}),a.sublabel&&r.jsx(e.Text,{size:"xs",c:"gray.5",fw:700,children:a.sublabel})]})})});case"metric":return r.jsxs(e.Stack,{gap:0,children:[r.jsx(e.Text,{fw:900,fz:32,c:"gray.9",lh:1,children:a.value}),r.jsx(e.Text,{size:"sm",c:"gray.5",mt:4,children:a.label}),a.badge&&r.jsx(e.Badge,{mt:"md",color:"gray",variant:"dot",radius:"0",children:a.badge})]});case"bars":return r.jsx(e.Group,{align:"flex-end",gap:8,h:a.height||100,preventGrowOverflow:!1,children:(a.data||[]).map((i,l)=>r.jsx(e.Box,{w:20,h:`${i}%`,bg:l===a.highlight?"gray.9":"gray.2",radius:"0"},l))});case"typography":return r.jsx(e.Center,{h:a.height||160,bg:n?"gray.8":"gray.1",radius:"0",children:r.jsx(e.Text,{fz:a.fontSize||100,fw:900,c:n?"gray.6":"gray.3",style:{letterSpacing:-6},children:a.text||"Aa"})});case"icon-large":{const i=a.icon;return i?r.jsx(i,{size:a.size||64,stroke:a.stroke||1,color:a.color||"var(--mantine-color-gray-2)"}):null}default:return null}}function $({id:a,subtitle:n,title:i,traditionalCol:l,newCol:s,background:t="white"}){return r.jsx(x,{id:a,subtitle:n,title:i,background:t,children:r.jsx(e.Paper,{radius:"0",bd:"1px solid var(--mantine-color-gray-2)",style:{overflow:"hidden"},children:r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:0,children:[r.jsx(e.Box,{bg:t==="gray"?"gray.1":"white",p:{base:30,md:60},children:r.jsxs(e.Stack,{gap:"xl",children:[r.jsxs(e.Box,{children:[r.jsx(e.Text,{fw:900,fz:"h2",c:"gray.9",mb:4,children:l.title}),r.jsx(e.Text,{size:"sm",fw:800,tt:"uppercase",ls:"1.5px",c:"gray.5",children:l.subtitle})]}),r.jsx(e.Stack,{gap:"md",mb:40,children:l.items.map((o,h)=>r.jsxs(N.Fragment,{children:[r.jsxs(e.Group,{justify:"space-between",children:[r.jsx(e.Text,{size:"sm",c:"gray.6",children:o.label}),r.jsx(e.Text,{fw:700,c:"gray.9",children:o.value})]}),h<l.items.length-1&&r.jsx(e.Divider,{color:"var(--mantine-color-gray-2)"})]},h))}),r.jsxs(e.Box,{bg:t==="gray"?"gray.1":"white",p:"lg",radius:"0",bd:"1px solid var(--mantine-color-gray-2)",children:[r.jsxs(e.Group,{justify:"space-between",children:[r.jsx(e.Text,{fw:900,c:"gray.7",children:l.totalLabel||"Total Estimado"}),r.jsx(e.Text,{fw:900,fz:32,c:"gray.9",children:l.totalValue})]}),l.footerText&&r.jsx(e.Text,{size:"xs",c:"red.6",ta:"right",mt:4,children:l.footerText})]})]})}),r.jsx(e.Box,{bg:t==="gray"?"gray.1":"white",p:{base:30,md:60},pos:"relative",children:r.jsxs(e.Stack,{gap:"xl",h:"100%",children:[r.jsxs(e.Box,{children:[r.jsxs(e.Group,{gap:"xs",children:[r.jsx(e.Text,{fw:900,fz:"h2",c:"gray.9",mb:4,children:s.title}),s.badge&&r.jsx(e.Badge,{color:"gray.9",variant:"filled",radius:"0",children:s.badge})]}),r.jsx(e.Text,{size:"sm",c:"gray.6",children:s.description})]}),r.jsx(e.List,{spacing:"md",size:"md",c:"gray.6",icon:r.jsx(e.ThemeIcon,{color:"gray.0",size:20,radius:"0",bd:"1px solid var(--mantine-color-gray-2)",children:r.jsx(b.IconCheck,{size:12,color:"var(--mantine-color-gray-9)"})}),children:s.items.map((o,h)=>r.jsx(e.List.Item,{children:o},h))}),s.pricingBox&&r.jsx(e.Box,{bg:t==="gray"?"gray.1":"white",p:"lg",radius:"0",bd:"1px solid var(--mantine-color-gray-2)",children:r.jsxs(e.Stack,{gap:4,children:[r.jsx(e.Text,{size:"sm",fw:800,tt:"uppercase",ls:"1.5px",c:"gray.5",children:s.pricingBox.label}),r.jsx(e.Text,{fw:900,fz:48,c:"gray.9",lh:1,children:s.pricingBox.price}),s.pricingBox.subtext&&r.jsx(e.Text,{size:"xs",c:"gray.5",mt:"sm",children:s.pricingBox.subtext})]})}),s.cta&&r.jsx(e.Box,{mt:"xl",children:r.jsx(z,{label:s.cta.label,href:s.cta.href,icon:s.cta.icon,size:s.cta.size||"lg",color:s.cta.color||"gray.9",fullWidth:!0})})]})})]})})})}function u({id:a,subtitle:n,title:i,billingOptions:l=[{label:"Mensal",value:"monthly"},{label:"Anual",value:"annual"}],billing:s,setBilling:t,promoBadge:o,plans:h,background:p="white"}){return r.jsxs(x,{id:a,subtitle:n,title:i,ta:"center",background:p,children:[l&&l.length>0&&r.jsx(e.Stack,{align:"center",gap:"xl",mb:80,children:r.jsxs(e.Group,{gap:"xs",children:[r.jsx(e.SegmentedControl,{value:s,onChange:t,radius:"0",size:"md",data:l,color:"gray.9",bg:"white",style:{border:"1px solid var(--mantine-color-gray-2)"}}),s==="annual"&&o&&r.jsx(e.Badge,{variant:"filled",color:"gray.9",radius:"0",size:"lg",children:o})]})}),r.jsx(e.SimpleGrid,{cols:{base:1,md:h.length<=3?h.length:3},spacing:"xl",verticalSpacing:"xl",children:h.map(d=>r.jsxs(e.Paper,{p:"xl",radius:"0",withBorder:!0,bd:d.highlight?"2px solid var(--mantine-color-gray-9)":"1px solid var(--mantine-color-gray-2)",display:"flex",h:"100%",style:{flexDirection:"column"},bg:"white",children:[r.jsxs(e.Stack,{gap:"md",mb:"xl",children:[r.jsxs(e.Group,{justify:"space-between",align:"center",children:[r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1.5px",c:"gray.4",children:d.name}),d.highlight&&r.jsx(e.Badge,{variant:"dot",color:"gray.9",children:d.highlightBadge||"RECOMENDADO"})]}),r.jsx(e.Text,{size:"sm",c:"gray.6",fw:500,lh:1.5,h:{md:42},children:d.description})]}),r.jsxs(e.Box,{mb:"xl",children:[r.jsx(e.Text,{size:"xs",c:"gray.4",fw:800,tt:"uppercase",ls:"1px",mb:4,children:d.pricePrefix||"A partir de"}),r.jsxs(e.Group,{gap:8,align:"flex-start",children:[r.jsx(e.Text,{size:"xl",fw:900,c:"gray.9",style:{marginTop:8},children:d.priceDisplay?.currency}),r.jsxs(e.Group,{gap:4,align:"flex-end",children:[r.jsx(e.Text,{fz:"var(--fz-big-metric)",fw:900,ls:"-0.04em",lh:.8,c:"gray.9",children:d.priceDisplay?.whole}),d.priceDisplay?.fraction&&r.jsxs(e.Stack,{gap:0,mb:6,children:[r.jsxs(e.Text,{size:"xl",fw:900,lh:1,c:"gray.9",children:[",",d.priceDisplay.fraction]}),r.jsx(e.Text,{size:"xs",c:"gray.5",fw:800,tt:"uppercase",ls:"0.5px",children:d.period||d.priceSuffix||"/mês"})]})]})]})]}),r.jsx(e.Divider,{mb:"xl",color:"gray.1"}),r.jsx(e.Stack,{gap:"sm",mb:40,style:{flex:1},children:d.features.map((g,y)=>r.jsxs(e.Group,{gap:"sm",wrap:"nowrap",align:"flex-start",children:[r.jsx(b.IconCheck,{size:16,color:"var(--mantine-color-gray-9)",style:{marginTop:2,flexShrink:0}}),r.jsx(e.Text,{size:"sm",fw:500,c:"gray.6",lh:1.4,children:g})]},y))}),r.jsx(e.Box,{mt:"auto",children:r.jsx(z,{label:d.cta.label,href:d.cta.href,size:d.cta.size||"xl",variant:d.cta.variant,color:d.cta.color||"gray.9",fullWidth:!0})})]},d.name))})]})}function J({id:a,subtitle:n,title:i,questions:l=[],contactCard:s,background:t="white"}){const o={item:{backgroundColor:t==="gray"?"gray.1":"white",border:"1px solid var(--mantine-color-gray-2)"},control:{padding:"1.25rem"},content:{padding:"0 1.25rem 1.25rem 1.25rem"},label:{fontWeight:900,color:"var(--mantine-color-gray-9)"},chevron:{color:"var(--mantine-color-gray-5)"}};return r.jsxs(x,{id:a,subtitle:n,title:i,background:t,children:[r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:"xl",children:[r.jsx(e.Accordion,{variant:"separated",radius:"0",chevronPosition:"right",styles:o,children:l.slice(0,Math.ceil(l.length/2)).map((h,p)=>r.jsxs(e.Accordion.Item,{value:h.value||String(p),mb:"md",children:[r.jsx(e.Accordion.Control,{icon:r.jsx(e.ThemeIcon,{variant:"light",color:"gray",radius:"0",children:r.jsx(b.IconBolt,{size:16})}),children:h.question}),r.jsx(e.Accordion.Panel,{c:"gray.6",children:h.answer})]},h.value||p))}),r.jsx(e.Accordion,{variant:"separated",radius:"0",chevronPosition:"right",styles:o,children:l.slice(Math.ceil(l.length/2)).map((h,p)=>r.jsxs(e.Accordion.Item,{value:h.value||String(p),mb:"md",children:[r.jsx(e.Accordion.Control,{icon:r.jsx(e.ThemeIcon,{variant:"light",color:"gray",radius:"0",children:r.jsx(b.IconBolt,{size:16})}),children:h.question}),r.jsx(e.Accordion.Panel,{c:"gray.6",children:h.answer})]},h.value||p))})]}),s&&r.jsx(e.Paper,{mt:{base:40,md:80},radius:"0",p:{base:"xl",md:60},bg:t==="gray"?"gray.1":"white",bd:"1px solid var(--mantine-color-gray-1)",pos:"relative",style:{overflow:"hidden"},children:r.jsxs(e.SimpleGrid,{cols:{base:1,md:2},spacing:"xl",style:{position:"relative",zIndex:1,alignItems:"center"},children:[r.jsxs(e.Stack,{gap:"sm",ta:{base:"center",md:"left"},align:{base:"center",md:"flex-start"},children:[r.jsx(e.Text,{fz:"h2",fw:900,c:"gray.9",lh:1.2,children:s.title}),r.jsx(e.Text,{c:"gray.6",maw:500,size:"lg",children:s.description})]}),r.jsx(e.Stack,{align:{base:"center",md:"flex-end"},children:r.jsx(z,{label:s.cta.label,href:s.cta.href,target:s.cta.target,leftSection:s.cta.icon,size:s.cta.size||"xl",color:s.cta.color||"dark"})})]})})]})}function X({id:a,title:n,subtitle:i,items:l=[],background:s="gray"}){return r.jsx(x,{id:a,background:s,title:n,subtitle:i,children:r.jsx(e.SimpleGrid,{cols:{base:1,md:l.length>3?4:l.length||3},spacing:"xl",children:l.map((t,o)=>r.jsx(e.Paper,{p:"xl",radius:"0",bd:"1px solid var(--mantine-color-gray-2)",bg:f("white"),children:r.jsxs(e.Stack,{gap:"md",align:"flex-start",h:"100%",children:[r.jsx(b.IconQuote,{size:32,color:"var(--mantine-color-gray-3)"}),r.jsxs(e.Text,{size:"lg",c:"gray.7",lh:1.6,fs:"italic",flex:1,children:['"',t.content,'"']}),r.jsxs(e.Group,{gap:"sm",mt:"xl",children:[r.jsx(e.Avatar,{size:"md",radius:"0",color:"gray",src:t.avatarSrc,children:t.initials}),r.jsxs(e.Stack,{gap:0,children:[r.jsx(e.Text,{size:"sm",fw:900,children:t.name}),r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1px",c:"gray.5",children:t.role})]})]})]})},o))})})}function A({id:a,title:n,description:i,cta:l,background:s="gray"}){return r.jsx(x,{id:a,background:s,ta:"center",children:r.jsx(e.Paper,{p:{base:"xl",sm:80},bg:f("white"),radius:"0",bd:"1px solid var(--mantine-color-gray-2)",style:{borderTop:"4px solid var(--mantine-color-gray-9)"},children:r.jsxs(e.Stack,{align:"center",ta:"center",gap:"xl",children:[n&&r.jsx(e.Text,{fz:"var(--fz-section-title)",fw:900,lh:1.2,ls:"-0.04em",maw:700,children:n}),i&&r.jsx(e.Text,{c:"gray.7",size:"xl",maw:550,children:i}),l&&r.jsx(e.Box,{mt:"md",children:r.jsx(z,{label:l.label,href:l.href,size:l.size||"xl",px:l.px||{base:32,md:60},variant:l.variant,color:l.color})})]})})})}const Y=A;function D({text:a="Selo Exclusivo RiLiGar",color:n="green.6",background:i="gray"}){const l=f(i);return r.jsx(e.Box,{p:"xs",bg:l,style:{borderRadius:"8px",border:"1px solid var(--mantine-color-gray-2)",display:"inline-block"},children:r.jsxs(e.Group,{gap:"xs",children:[r.jsx(e.ThemeIcon,{color:n,variant:"light",size:"sm",radius:"xl",children:r.jsx(b.IconCircleCheck,{size:14,"aria-hidden":"true"})}),r.jsx(e.Text,{size:"xs",fw:700,c:"gray.7",tt:"uppercase",lts:.5,children:a})]})})}const Z=D;function R({logo:a,description:n,sections:i=[],socialLinks:l=[],copyrightText:s,madeByText:t,background:o="white"}){const h=f(o);return r.jsx(e.Box,{component:"footer",py:"xl",bg:h,bd:{top:"1px solid var(--mantine-color-gray-2)"},children:r.jsxs(e.Container,{size:"xl",children:[r.jsxs(e.SimpleGrid,{cols:{base:1,sm:2},spacing:"xl",children:[r.jsxs(e.Stack,{gap:"lg",children:[a&&r.jsx("img",{src:a.src,alt:a.alt||"",height:a.height||32,style:{objectFit:"contain",objectPosition:"left"}}),n&&r.jsx(e.Text,{size:"md",c:"gray.6",lh:1.6,maw:400,children:n})]}),r.jsxs(e.SimpleGrid,{cols:{base:2,sm:i.length+(l?.length>0?1:0)||4},spacing:"xl",children:[i.map((p,d)=>r.jsxs(e.Stack,{gap:"md",children:[r.jsx(e.Text,{fw:900,size:"xs",tt:"uppercase",ls:"1.5px",children:p.title}),r.jsx(e.Stack,{gap:"xs",children:p.links.map((g,y)=>r.jsx(e.Anchor,{c:"gray.6",size:"sm",component:g.href?"a":"button",href:g.href,onClick:g.onClick,fw:500,children:g.label},y))})]},d)),l&&l.length>0&&r.jsxs(e.Stack,{gap:"md",children:[r.jsx(e.Text,{fw:900,size:"xs",tt:"uppercase",ls:"1.5px",children:"Social"}),r.jsx(e.Group,{gap:"xs",children:l.map((p,d)=>r.jsx(e.ActionIcon,{size:"md",variant:"subtle",color:"gray",component:"a",href:p.href,target:"_blank",radius:"0","aria-label":p.label||`Social link ${d+1}`,children:p.icon},d))})]})]})]}),r.jsx(e.Divider,{my:"xl",color:"gray.2"}),r.jsxs(e.Group,{justify:"space-between",mt:30,wrap:"wrap",gap:"sm",children:[r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1px",c:"gray.5",children:s}),t&&r.jsx(e.Group,{gap:"sm",children:r.jsx(e.Text,{size:"xs",fw:800,tt:"uppercase",ls:"1px",c:"gray.5",children:t})})]})]})})}c.CTABanner=A,c.CTAButton=z,c.Comparison=$,c.FAQ=J,c.FeatureSplit=U,c.FeaturesGrid=_,c.Footer=R,c.Header=P,c.Hero=K,c.Layout=x,c.MediaBlock=I,c.Navbar=W,c.Pricing=u,c.SECTION_BACKGROUNDS=O,c.SecondaryCTA=Y,c.SectionHeader=F,c.SeloExclusivo=Z,c.SocialProof=q,c.Testimonials=X,c.TrustBadge=D,c.resolveBackground=f,c.theme=L,Object.defineProperty(c,Symbol.toStringTag,{value:"Module"})}));
|