@ciromaciel/components-kit 1.2.0 → 1.2.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.
- package/dist/index.esm.js +264 -249
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { createTheme as be, Stack as u, Group as f, Badge as j, Text as i, Title as F, Center as
|
|
1
|
+
import { createTheme as be, Stack as u, Group as f, Badge as j, Text as i, Title as F, Center as E, Box as b, Button as U, CopyButton as xe, Tooltip as se, ActionIcon as ce, Container as B, Flex as we, Loader as ve, Paper as I, SimpleGrid as A, Image as H, List as V, ThemeIcon as z, Grid as v, RingProgress as ze, Anchor as de, UnstyledButton as Se, TextInput as re, Divider as C, SegmentedControl as Ie, Accordion as R, Avatar as Te } from "@mantine/core";
|
|
2
2
|
import { jsxs as r, jsx as e, Fragment as ae } from "react/jsx-runtime";
|
|
3
3
|
import { isValidElement as Ae, useState as _, useMemo as Pe, Fragment as qe, useEffect as pe, useRef as De } from "react";
|
|
4
|
-
import { IconCheck as G, IconCopy as Fe, IconArrowUpRight as
|
|
4
|
+
import { IconCheck as G, IconCopy as Fe, IconArrowUpRight as ke, IconShieldCheck as he, IconBolt as ie, IconQuote as Ee, IconArrowLeft as Be, IconCircleCheck as je, IconCloudLock as ge, IconEyeOff as Ce, IconUserShield as Me, IconScale as Re, IconUserCheck as Ne, IconFileDescription as Le, IconBan as Oe, IconAlertCircle as Ve, IconShieldLock as $e, IconDatabase as We, IconUsers as Ue, IconActivity as He } from "@tabler/icons-react";
|
|
5
5
|
import { useWindowScroll as _e, useMediaQuery as Ge } from "@mantine/hooks";
|
|
6
6
|
import { AreaChart as Ke } from "@mantine/charts";
|
|
7
7
|
const zr = be({
|
|
@@ -208,7 +208,7 @@ const zr = be({
|
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
});
|
|
211
|
-
function
|
|
211
|
+
function me({ badge: a, subtitle: d, title: l, titleOrder: n = 2, titleFz: t = "var(--fz-section-title)", ta: c = "left", maw: g }) {
|
|
212
212
|
return !l && !d && !a ? null : /* @__PURE__ */ r(
|
|
213
213
|
u,
|
|
214
214
|
{
|
|
@@ -249,7 +249,7 @@ function ge({ badge: a, subtitle: d, title: l, titleOrder: n = 2, titleFz: t = "
|
|
|
249
249
|
{
|
|
250
250
|
order: n,
|
|
251
251
|
fz: t,
|
|
252
|
-
maw:
|
|
252
|
+
maw: g,
|
|
253
253
|
children: l
|
|
254
254
|
}
|
|
255
255
|
)
|
|
@@ -258,7 +258,7 @@ function ge({ badge: a, subtitle: d, title: l, titleOrder: n = 2, titleFz: t = "
|
|
|
258
258
|
);
|
|
259
259
|
}
|
|
260
260
|
function ue({ video: a, image: d, width: l = "100%", maw: n, alt: t }) {
|
|
261
|
-
return a ? /* @__PURE__ */ e(
|
|
261
|
+
return a ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
262
262
|
b,
|
|
263
263
|
{
|
|
264
264
|
component: "video",
|
|
@@ -272,7 +272,7 @@ function ue({ video: a, image: d, width: l = "100%", maw: n, alt: t }) {
|
|
|
272
272
|
h: "auto",
|
|
273
273
|
style: { filter: a.filter || "none" }
|
|
274
274
|
}
|
|
275
|
-
) }) : d ? /* @__PURE__ */ e(
|
|
275
|
+
) }) : d ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
276
276
|
b,
|
|
277
277
|
{
|
|
278
278
|
component: "img",
|
|
@@ -291,16 +291,16 @@ function M({
|
|
|
291
291
|
icon: n,
|
|
292
292
|
size: t = "lg",
|
|
293
293
|
variant: c = "filled",
|
|
294
|
-
color:
|
|
294
|
+
color: g,
|
|
295
295
|
target: h,
|
|
296
296
|
px: p,
|
|
297
297
|
fullWidth: s,
|
|
298
|
-
leftSection:
|
|
298
|
+
leftSection: m,
|
|
299
299
|
className: o,
|
|
300
300
|
...y
|
|
301
301
|
}) {
|
|
302
302
|
return /* @__PURE__ */ e(
|
|
303
|
-
|
|
303
|
+
U,
|
|
304
304
|
{
|
|
305
305
|
size: t,
|
|
306
306
|
component: d ? "a" : "button",
|
|
@@ -308,9 +308,9 @@ function M({
|
|
|
308
308
|
onClick: l,
|
|
309
309
|
target: h,
|
|
310
310
|
rightSection: n,
|
|
311
|
-
leftSection:
|
|
311
|
+
leftSection: m,
|
|
312
312
|
variant: c,
|
|
313
|
-
color:
|
|
313
|
+
color: g,
|
|
314
314
|
px: p,
|
|
315
315
|
fullWidth: s,
|
|
316
316
|
className: o ? `rlg-cta ${o}` : "rlg-cta",
|
|
@@ -347,9 +347,9 @@ function Z({ logo: a, objectPosition: d = "left" }) {
|
|
|
347
347
|
) : a : null;
|
|
348
348
|
}
|
|
349
349
|
function Ye({ children: a, label: d, chrome: l = !0, copy: n = !0, variant: t = "dark", style: c }) {
|
|
350
|
-
const
|
|
350
|
+
const g = typeof a == "string" ? a : String(a ?? ""), h = g.split(`
|
|
351
351
|
`).filter((o) => o.trimStart().startsWith("$ ")), p = h.length ? h.map((o) => o.trimStart().slice(2)).join(`
|
|
352
|
-
`) :
|
|
352
|
+
`) : g, s = t === "dark", m = s ? {
|
|
353
353
|
shell: "var(--mantine-color-gray-9)",
|
|
354
354
|
bar: "rgba(255, 255, 255, 0.06)",
|
|
355
355
|
line: "rgba(255, 255, 255, 0.10)",
|
|
@@ -369,7 +369,7 @@ function Ye({ children: a, label: d, chrome: l = !0, copy: n = !0, variant: t =
|
|
|
369
369
|
{
|
|
370
370
|
style: {
|
|
371
371
|
border: `1px solid ${s ? "var(--mantine-color-gray-9)" : "var(--mantine-color-gray-3)"}`,
|
|
372
|
-
background:
|
|
372
|
+
background: m.shell,
|
|
373
373
|
// `overflow: hidden` aqui cortava o código em vez de deixar o
|
|
374
374
|
// <pre> rolar: a linha longa ficava inacessível, sem barra e
|
|
375
375
|
// sem reticências. `hidden` só na vertical preserva o recorte
|
|
@@ -386,8 +386,8 @@ function Ye({ children: a, label: d, chrome: l = !0, copy: n = !0, variant: t =
|
|
|
386
386
|
px: 14,
|
|
387
387
|
py: 8,
|
|
388
388
|
style: {
|
|
389
|
-
borderBottom: `1px solid ${
|
|
390
|
-
background:
|
|
389
|
+
borderBottom: `1px solid ${m.line}`,
|
|
390
|
+
background: m.bar
|
|
391
391
|
},
|
|
392
392
|
children: [
|
|
393
393
|
/* @__PURE__ */ r(
|
|
@@ -401,7 +401,7 @@ function Ye({ children: a, label: d, chrome: l = !0, copy: n = !0, variant: t =
|
|
|
401
401
|
{
|
|
402
402
|
w: 9,
|
|
403
403
|
h: 9,
|
|
404
|
-
style: { borderRadius: "50%", background:
|
|
404
|
+
style: { borderRadius: "50%", background: m.dot }
|
|
405
405
|
},
|
|
406
406
|
o
|
|
407
407
|
)),
|
|
@@ -414,7 +414,7 @@ function Ye({ children: a, label: d, chrome: l = !0, copy: n = !0, variant: t =
|
|
|
414
414
|
fontFamily: "var(--mantine-font-family-monospace)",
|
|
415
415
|
fontSize: 11,
|
|
416
416
|
letterSpacing: "0.5px",
|
|
417
|
-
color:
|
|
417
|
+
color: m.label
|
|
418
418
|
},
|
|
419
419
|
children: d
|
|
420
420
|
}
|
|
@@ -442,7 +442,7 @@ function Ye({ children: a, label: d, chrome: l = !0, copy: n = !0, variant: t =
|
|
|
442
442
|
onClick: y,
|
|
443
443
|
"aria-label": "Copiar codigo",
|
|
444
444
|
style: {
|
|
445
|
-
color: o ? "var(--mantine-color-teal-4)" :
|
|
445
|
+
color: o ? "var(--mantine-color-teal-4)" : m.label
|
|
446
446
|
},
|
|
447
447
|
children: o ? /* @__PURE__ */ e(G, { size: 14 }) : /* @__PURE__ */ e(Fe, { size: 14 })
|
|
448
448
|
}
|
|
@@ -465,12 +465,12 @@ function Ye({ children: a, label: d, chrome: l = !0, copy: n = !0, variant: t =
|
|
|
465
465
|
fontFamily: "var(--mantine-font-family-monospace)",
|
|
466
466
|
fontSize: 12.5,
|
|
467
467
|
lineHeight: 1.65,
|
|
468
|
-
color:
|
|
468
|
+
color: m.text,
|
|
469
469
|
whiteSpace: "pre",
|
|
470
470
|
overflowX: "auto",
|
|
471
471
|
tabSize: 2
|
|
472
472
|
},
|
|
473
|
-
children:
|
|
473
|
+
children: g
|
|
474
474
|
}
|
|
475
475
|
)
|
|
476
476
|
]
|
|
@@ -481,19 +481,19 @@ const J = {
|
|
|
481
481
|
white: "white",
|
|
482
482
|
gray: "gray.1"
|
|
483
483
|
}, N = (a) => a === "gray.9" || a === "dark" ? J.gray : a === "white" ? J.white : J.gray;
|
|
484
|
-
function P({ children: a, badge: d, title: l, subtitle: n, id: t, background: c = "white", py:
|
|
485
|
-
const
|
|
484
|
+
function P({ children: a, badge: d, title: l, subtitle: n, id: t, background: c = "white", py: g = { base: 80, md: 120 }, maw: h = 800, ta: p = "left", stackGap: s = "xl" }) {
|
|
485
|
+
const m = N(c);
|
|
486
486
|
return /* @__PURE__ */ e(
|
|
487
487
|
b,
|
|
488
488
|
{
|
|
489
489
|
component: "section",
|
|
490
490
|
id: t,
|
|
491
|
-
bg:
|
|
492
|
-
py:
|
|
491
|
+
bg: m,
|
|
492
|
+
py: g,
|
|
493
493
|
style: { overflow: "hidden" },
|
|
494
494
|
children: /* @__PURE__ */ e(B, { size: "lg", children: /* @__PURE__ */ r(u, { gap: s, children: [
|
|
495
495
|
/* @__PURE__ */ e(
|
|
496
|
-
|
|
496
|
+
me,
|
|
497
497
|
{
|
|
498
498
|
badge: d,
|
|
499
499
|
subtitle: n,
|
|
@@ -568,9 +568,9 @@ function Ir({ children: a, style: d, ...l }) {
|
|
|
568
568
|
);
|
|
569
569
|
}
|
|
570
570
|
function Xe({ logo: a, logoLink: d, navLinks: l = [], loginCta: n, signupCta: t, background: c = "white" }) {
|
|
571
|
-
const
|
|
571
|
+
const g = N(c), [h] = _e(), p = h.y > 10, s = (o) => {
|
|
572
572
|
o === "top" ? window.scrollTo({ top: 0, behavior: "smooth" }) : document.getElementById(o)?.scrollIntoView({ behavior: "smooth" });
|
|
573
|
-
},
|
|
573
|
+
}, m = (o, y) => {
|
|
574
574
|
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), s(y));
|
|
575
575
|
};
|
|
576
576
|
return /* @__PURE__ */ e(
|
|
@@ -591,8 +591,9 @@ function Xe({ logo: a, logoLink: d, navLinks: l = [], loginCta: n, signupCta: t,
|
|
|
591
591
|
{
|
|
592
592
|
shadow: p ? "sm" : "none",
|
|
593
593
|
radius: "0",
|
|
594
|
-
|
|
595
|
-
|
|
594
|
+
py: "xs",
|
|
595
|
+
px: 0,
|
|
596
|
+
bg: g,
|
|
596
597
|
bd: p ? "1px solid var(--mantine-color-gray-2)" : "1px solid transparent",
|
|
597
598
|
style: { pointerEvents: "auto", transition: "all 0.2s ease" },
|
|
598
599
|
children: /* @__PURE__ */ r(
|
|
@@ -601,10 +602,9 @@ function Xe({ logo: a, logoLink: d, navLinks: l = [], loginCta: n, signupCta: t,
|
|
|
601
602
|
justify: "space-between",
|
|
602
603
|
align: "center",
|
|
603
604
|
wrap: "nowrap",
|
|
604
|
-
px: { base: "xs", sm: "md" },
|
|
605
605
|
children: [
|
|
606
606
|
a && (() => {
|
|
607
|
-
const o = { display: "inline-flex", textDecoration: "none" };
|
|
607
|
+
const o = { display: "inline-flex", textDecoration: "none", minWidth: 0, flex: "0 1 auto" };
|
|
608
608
|
if (d) {
|
|
609
609
|
const { component: y = "a", ...w } = d;
|
|
610
610
|
return /* @__PURE__ */ e(
|
|
@@ -630,11 +630,18 @@ function Xe({ logo: a, logoLink: d, navLinks: l = [], loginCta: n, signupCta: t,
|
|
|
630
630
|
}
|
|
631
631
|
);
|
|
632
632
|
})(),
|
|
633
|
-
l.length > 0 && /*
|
|
633
|
+
l.length > 0 && /* FROM 1200px (`lg`), NOT FROM 768px. Four links, the
|
|
634
|
+
logo and two buttons need about 1 250px on one line;
|
|
635
|
+
from `sm` the nav wrapped into two rows and pushed the
|
|
636
|
+
second button under the first, doubling the sticky bar
|
|
637
|
+
between 768 and 1 200px. Below `lg` the links are the
|
|
638
|
+
sections of the page, one scroll away. */
|
|
639
|
+
/* @__PURE__ */ e(
|
|
634
640
|
f,
|
|
635
641
|
{
|
|
636
642
|
gap: "xl",
|
|
637
|
-
visibleFrom: "
|
|
643
|
+
visibleFrom: "lg",
|
|
644
|
+
wrap: "nowrap",
|
|
638
645
|
component: "nav",
|
|
639
646
|
role: "navigation",
|
|
640
647
|
"aria-label": "Menu principal",
|
|
@@ -652,64 +659,72 @@ function Xe({ logo: a, logoLink: d, navLinks: l = [], loginCta: n, signupCta: t,
|
|
|
652
659
|
tabIndex: o.component ? void 0 : 0,
|
|
653
660
|
style: { cursor: "pointer", ...o.style },
|
|
654
661
|
onClick: o.target ? () => s(o.target) : o.onClick,
|
|
655
|
-
onKeyDown: o.target ? (y) =>
|
|
662
|
+
onKeyDown: o.target ? (y) => m(y, o.target) : o.onKeyDown,
|
|
656
663
|
children: o.label
|
|
657
664
|
},
|
|
658
665
|
o.label
|
|
659
666
|
))
|
|
660
667
|
}
|
|
661
668
|
),
|
|
662
|
-
/* @__PURE__ */ r(
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
669
|
+
/* @__PURE__ */ r(
|
|
670
|
+
f,
|
|
671
|
+
{
|
|
672
|
+
gap: "sm",
|
|
673
|
+
wrap: "nowrap",
|
|
674
|
+
style: { flexShrink: 0 },
|
|
675
|
+
children: [
|
|
676
|
+
n && /* @__PURE__ */ e(
|
|
677
|
+
U,
|
|
678
|
+
{
|
|
679
|
+
variant: "subtle",
|
|
680
|
+
...n,
|
|
681
|
+
component: n.component || (n.href ? "a" : "button"),
|
|
682
|
+
c: "gray.7",
|
|
683
|
+
size: "sm",
|
|
684
|
+
radius: "0",
|
|
685
|
+
visibleFrom: "xs",
|
|
686
|
+
fw: 900,
|
|
687
|
+
children: n.label
|
|
688
|
+
}
|
|
689
|
+
),
|
|
690
|
+
t && /* @__PURE__ */ r(
|
|
691
|
+
U,
|
|
692
|
+
{
|
|
693
|
+
...t,
|
|
694
|
+
component: t.component || (t.href ? "a" : "button"),
|
|
695
|
+
size: "sm",
|
|
696
|
+
radius: "0",
|
|
697
|
+
color: "dark",
|
|
698
|
+
variant: "filled",
|
|
699
|
+
children: [
|
|
700
|
+
/* @__PURE__ */ e(
|
|
701
|
+
i,
|
|
702
|
+
{
|
|
703
|
+
span: !0,
|
|
704
|
+
visibleFrom: "sm",
|
|
705
|
+
c: "white",
|
|
706
|
+
fw: 900,
|
|
707
|
+
size: "sm",
|
|
708
|
+
children: t.label
|
|
709
|
+
}
|
|
710
|
+
),
|
|
711
|
+
/* @__PURE__ */ e(
|
|
712
|
+
i,
|
|
713
|
+
{
|
|
714
|
+
span: !0,
|
|
715
|
+
hiddenFrom: "sm",
|
|
716
|
+
c: "white",
|
|
717
|
+
fw: 900,
|
|
718
|
+
size: "xs",
|
|
719
|
+
children: t.labelMobile || t.label
|
|
720
|
+
}
|
|
721
|
+
)
|
|
722
|
+
]
|
|
723
|
+
}
|
|
724
|
+
)
|
|
725
|
+
]
|
|
726
|
+
}
|
|
727
|
+
)
|
|
713
728
|
]
|
|
714
729
|
}
|
|
715
730
|
)
|
|
@@ -725,8 +740,8 @@ const Tr = Xe, te = {
|
|
|
725
740
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
726
741
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
727
742
|
};
|
|
728
|
-
function Ar({ subtitle: a, title: d, description: l, cta: n, secondaryCta: t, note: c, video:
|
|
729
|
-
const y = !!(
|
|
743
|
+
function Ar({ subtitle: a, title: d, description: l, cta: n, secondaryCta: t, note: c, video: g, image: h, background: p = "white", mediaMaw: s, titleFz: m = "var(--fz-hero)", descriptionFz: o = "xl" }) {
|
|
744
|
+
const y = !!(g || h);
|
|
730
745
|
return /* @__PURE__ */ e(
|
|
731
746
|
b,
|
|
732
747
|
{
|
|
@@ -748,18 +763,18 @@ function Ar({ subtitle: a, title: d, description: l, cta: n, secondaryCta: t, no
|
|
|
748
763
|
gap: { base: 32, md: 48 },
|
|
749
764
|
ta: y ? { base: "center", md: "left" } : "center",
|
|
750
765
|
children: [
|
|
751
|
-
/* @__PURE__ */ e(
|
|
752
|
-
|
|
766
|
+
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
767
|
+
me,
|
|
753
768
|
{
|
|
754
769
|
subtitle: a,
|
|
755
770
|
title: d,
|
|
756
771
|
titleOrder: 1,
|
|
757
|
-
titleFz:
|
|
772
|
+
titleFz: m,
|
|
758
773
|
ta: y ? "inherit" : "center",
|
|
759
774
|
maw: y ? void 0 : 940
|
|
760
775
|
}
|
|
761
776
|
) }),
|
|
762
|
-
l && /* @__PURE__ */ e(
|
|
777
|
+
l && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
763
778
|
i,
|
|
764
779
|
{
|
|
765
780
|
size: o,
|
|
@@ -769,7 +784,7 @@ function Ar({ subtitle: a, title: d, description: l, cta: n, secondaryCta: t, no
|
|
|
769
784
|
children: l
|
|
770
785
|
}
|
|
771
786
|
) }),
|
|
772
|
-
(n || t) && /* @__PURE__ */ e(
|
|
787
|
+
(n || t) && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(
|
|
773
788
|
f,
|
|
774
789
|
{
|
|
775
790
|
gap: "md",
|
|
@@ -813,7 +828,7 @@ function Ar({ subtitle: a, title: d, description: l, cta: n, secondaryCta: t, no
|
|
|
813
828
|
]
|
|
814
829
|
}
|
|
815
830
|
) }),
|
|
816
|
-
c && /* @__PURE__ */ e(
|
|
831
|
+
c && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
817
832
|
i,
|
|
818
833
|
{
|
|
819
834
|
size: "sm",
|
|
@@ -830,7 +845,7 @@ function Ar({ subtitle: a, title: d, description: l, cta: n, secondaryCta: t, no
|
|
|
830
845
|
y && /* @__PURE__ */ e(
|
|
831
846
|
ue,
|
|
832
847
|
{
|
|
833
|
-
video:
|
|
848
|
+
video: g,
|
|
834
849
|
image: h,
|
|
835
850
|
maw: s,
|
|
836
851
|
alt: "Demonstração do produto"
|
|
@@ -860,7 +875,7 @@ function Je({ logo: a, index: d }) {
|
|
|
860
875
|
n.currentTarget.style.filter = "grayscale(1) opacity(0.4)";
|
|
861
876
|
}
|
|
862
877
|
};
|
|
863
|
-
return a.url ? /* @__PURE__ */ e(
|
|
878
|
+
return a.url ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
864
879
|
"a",
|
|
865
880
|
{
|
|
866
881
|
href: a.url,
|
|
@@ -868,7 +883,7 @@ function Je({ logo: a, index: d }) {
|
|
|
868
883
|
rel: "noopener noreferrer",
|
|
869
884
|
children: /* @__PURE__ */ e(H, { ...l })
|
|
870
885
|
}
|
|
871
|
-
) }) : /* @__PURE__ */ e(
|
|
886
|
+
) }) : /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(H, { ...l }) });
|
|
872
887
|
}
|
|
873
888
|
function Pr({ id: a, title: d, logos: l, background: n = "gray" }) {
|
|
874
889
|
return !l || l.length === 0 ? null : /* @__PURE__ */ e(
|
|
@@ -920,7 +935,7 @@ function Pr({ id: a, title: d, logos: l, background: n = "gray" }) {
|
|
|
920
935
|
}
|
|
921
936
|
);
|
|
922
937
|
}
|
|
923
|
-
function qr({ id: a, subtitle: d, title: l, description: n, descriptionFz: t, featuresList: c, cta:
|
|
938
|
+
function qr({ id: a, subtitle: d, title: l, description: n, descriptionFz: t, featuresList: c, cta: g, video: h, image: p, reverse: s = !1, background: m = "white", mediaMaw: o }) {
|
|
924
939
|
const y = c && c.length > 0 && /* @__PURE__ */ e(
|
|
925
940
|
V,
|
|
926
941
|
{
|
|
@@ -971,15 +986,15 @@ function qr({ id: a, subtitle: d, title: l, description: n, descriptionFz: t, fe
|
|
|
971
986
|
}
|
|
972
987
|
),
|
|
973
988
|
y,
|
|
974
|
-
|
|
989
|
+
g && /* @__PURE__ */ e(f, { mt: "md", children: /* @__PURE__ */ e(
|
|
975
990
|
M,
|
|
976
991
|
{
|
|
977
|
-
label:
|
|
978
|
-
href:
|
|
979
|
-
icon:
|
|
980
|
-
size:
|
|
981
|
-
variant:
|
|
982
|
-
color:
|
|
992
|
+
label: g.label,
|
|
993
|
+
href: g.href,
|
|
994
|
+
icon: g.icon,
|
|
995
|
+
size: g.size || "lg",
|
|
996
|
+
variant: g.variant,
|
|
997
|
+
color: g.color
|
|
983
998
|
}
|
|
984
999
|
) })
|
|
985
1000
|
]
|
|
@@ -1012,7 +1027,7 @@ function qr({ id: a, subtitle: d, title: l, description: n, descriptionFz: t, fe
|
|
|
1012
1027
|
id: a,
|
|
1013
1028
|
subtitle: d,
|
|
1014
1029
|
title: l,
|
|
1015
|
-
background:
|
|
1030
|
+
background: m,
|
|
1016
1031
|
children: /* @__PURE__ */ e(
|
|
1017
1032
|
A,
|
|
1018
1033
|
{
|
|
@@ -1031,7 +1046,7 @@ function qr({ id: a, subtitle: d, title: l, description: n, descriptionFz: t, fe
|
|
|
1031
1046
|
}
|
|
1032
1047
|
);
|
|
1033
1048
|
}
|
|
1034
|
-
function Dr({ id: a, badge: d, subtitle: l, title: n, description: t, background: c = "gray", items:
|
|
1049
|
+
function Dr({ id: a, badge: d, subtitle: l, title: n, description: t, background: c = "gray", items: g = [], ta: h = "left", note: p }) {
|
|
1035
1050
|
return /* @__PURE__ */ r(
|
|
1036
1051
|
P,
|
|
1037
1052
|
{
|
|
@@ -1056,12 +1071,12 @@ function Dr({ id: a, badge: d, subtitle: l, title: n, description: t, background
|
|
|
1056
1071
|
children: t
|
|
1057
1072
|
}
|
|
1058
1073
|
),
|
|
1059
|
-
/* @__PURE__ */ e(v, { gutter: "lg", children:
|
|
1074
|
+
/* @__PURE__ */ e(v, { gutter: "lg", children: g.map((s, m) => /* @__PURE__ */ e(
|
|
1060
1075
|
Ze,
|
|
1061
1076
|
{
|
|
1062
1077
|
...s
|
|
1063
1078
|
},
|
|
1064
|
-
|
|
1079
|
+
m
|
|
1065
1080
|
)) }),
|
|
1066
1081
|
p && /* @__PURE__ */ e(
|
|
1067
1082
|
i,
|
|
@@ -1087,11 +1102,11 @@ function Ze({
|
|
|
1087
1102
|
label: n,
|
|
1088
1103
|
title: t,
|
|
1089
1104
|
titleSize: c,
|
|
1090
|
-
description:
|
|
1105
|
+
description: g,
|
|
1091
1106
|
descriptionSize: h,
|
|
1092
1107
|
descriptionMaw: p,
|
|
1093
1108
|
span: s = { base: 12, md: 6 },
|
|
1094
|
-
background:
|
|
1109
|
+
background: m = "white",
|
|
1095
1110
|
visual: o,
|
|
1096
1111
|
secondaryVisual: y,
|
|
1097
1112
|
layout: w = "stacked",
|
|
@@ -1102,7 +1117,7 @@ function Ze({
|
|
|
1102
1117
|
codeBlock: S,
|
|
1103
1118
|
// layout="split": quantas das 12 colunas o codigo ocupa. O padrao 6
|
|
1104
1119
|
// divide o card ao meio; suba para 7 quando as linhas forem longas.
|
|
1105
|
-
codeSpan:
|
|
1120
|
+
codeSpan: k = 6,
|
|
1106
1121
|
// Rotulo da barra do terminal (ex: "bash", "index.js").
|
|
1107
1122
|
codeLabel: x,
|
|
1108
1123
|
decorativeContent: L,
|
|
@@ -1150,14 +1165,14 @@ function Ze({
|
|
|
1150
1165
|
children: t
|
|
1151
1166
|
}
|
|
1152
1167
|
),
|
|
1153
|
-
|
|
1168
|
+
g && /* @__PURE__ */ e(
|
|
1154
1169
|
i,
|
|
1155
1170
|
{
|
|
1156
1171
|
c: "gray.6",
|
|
1157
1172
|
size: h || (w === "compact" ? "sm" : "lg"),
|
|
1158
1173
|
maw: p,
|
|
1159
1174
|
mb: T ? "xl" : w === "compact" ? "lg" : void 0,
|
|
1160
|
-
children:
|
|
1175
|
+
children: g
|
|
1161
1176
|
}
|
|
1162
1177
|
),
|
|
1163
1178
|
T && T.length > 0 && /* @__PURE__ */ e(f, { children: T.map((X, Q) => /* @__PURE__ */ e(
|
|
@@ -1193,7 +1208,7 @@ function Ze({
|
|
|
1193
1208
|
h: "100%",
|
|
1194
1209
|
p: { base: "xl", md: 40 },
|
|
1195
1210
|
radius: "0",
|
|
1196
|
-
bg: N(
|
|
1211
|
+
bg: N(m),
|
|
1197
1212
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1198
1213
|
style: q,
|
|
1199
1214
|
...O,
|
|
@@ -1203,8 +1218,8 @@ function Ze({
|
|
|
1203
1218
|
align: "center",
|
|
1204
1219
|
gutter: "xl",
|
|
1205
1220
|
children: [
|
|
1206
|
-
/* @__PURE__ */ e(v.Col, { span: { base: 12, sm: 12 -
|
|
1207
|
-
/* @__PURE__ */ r(v.Col, { span: { base: 12, sm:
|
|
1221
|
+
/* @__PURE__ */ e(v.Col, { span: { base: 12, sm: 12 - k }, children: K }),
|
|
1222
|
+
/* @__PURE__ */ r(v.Col, { span: { base: 12, sm: k }, children: [
|
|
1208
1223
|
$,
|
|
1209
1224
|
S && /* @__PURE__ */ e(Ye, { label: x, children: S })
|
|
1210
1225
|
] })
|
|
@@ -1218,7 +1233,7 @@ function Ze({
|
|
|
1218
1233
|
h: "100%",
|
|
1219
1234
|
p: { base: "xl", md: 40 },
|
|
1220
1235
|
radius: "0",
|
|
1221
|
-
bg: N(
|
|
1236
|
+
bg: N(m),
|
|
1222
1237
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1223
1238
|
style: q,
|
|
1224
1239
|
...O,
|
|
@@ -1233,7 +1248,7 @@ function Ze({
|
|
|
1233
1248
|
h: "100%",
|
|
1234
1249
|
p: { base: "xl", md: 40 },
|
|
1235
1250
|
radius: "0",
|
|
1236
|
-
bg: N(
|
|
1251
|
+
bg: N(m),
|
|
1237
1252
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1238
1253
|
pos: "relative",
|
|
1239
1254
|
style: q,
|
|
@@ -1270,7 +1285,7 @@ function Ze({
|
|
|
1270
1285
|
h: "100%",
|
|
1271
1286
|
p: { base: "xl", md: 40 },
|
|
1272
1287
|
radius: "0",
|
|
1273
|
-
bg: N(
|
|
1288
|
+
bg: N(m),
|
|
1274
1289
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1275
1290
|
display: "flex",
|
|
1276
1291
|
style: {
|
|
@@ -1306,7 +1321,7 @@ function ne(a) {
|
|
|
1306
1321
|
size: a.size || 140,
|
|
1307
1322
|
thickness: a.thickness || 12,
|
|
1308
1323
|
sections: [{ value: a.value || 100, color: "gray.7" }],
|
|
1309
|
-
label: /* @__PURE__ */ e(
|
|
1324
|
+
label: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(
|
|
1310
1325
|
u,
|
|
1311
1326
|
{
|
|
1312
1327
|
gap: 0,
|
|
@@ -1389,7 +1404,7 @@ function ne(a) {
|
|
|
1389
1404
|
);
|
|
1390
1405
|
case "typography":
|
|
1391
1406
|
return /* @__PURE__ */ e(
|
|
1392
|
-
|
|
1407
|
+
E,
|
|
1393
1408
|
{
|
|
1394
1409
|
h: a.height || 160,
|
|
1395
1410
|
bg: "gray.0",
|
|
@@ -1422,7 +1437,7 @@ function ne(a) {
|
|
|
1422
1437
|
return null;
|
|
1423
1438
|
}
|
|
1424
1439
|
}
|
|
1425
|
-
function Fr({ id: a, subtitle: d, title: l, items: n = [], cols: t, background: c = "white", ta:
|
|
1440
|
+
function Fr({ id: a, subtitle: d, title: l, items: n = [], cols: t, background: c = "white", ta: g = "center", note: h }) {
|
|
1426
1441
|
const p = t ?? Math.min(Math.max(n.length, 1), 4);
|
|
1427
1442
|
return /* @__PURE__ */ r(
|
|
1428
1443
|
P,
|
|
@@ -1431,7 +1446,7 @@ function Fr({ id: a, subtitle: d, title: l, items: n = [], cols: t, background:
|
|
|
1431
1446
|
subtitle: d,
|
|
1432
1447
|
title: l,
|
|
1433
1448
|
background: c,
|
|
1434
|
-
ta:
|
|
1449
|
+
ta: g,
|
|
1435
1450
|
maw: 900,
|
|
1436
1451
|
children: [
|
|
1437
1452
|
/* @__PURE__ */ e(
|
|
@@ -1439,7 +1454,7 @@ function Fr({ id: a, subtitle: d, title: l, items: n = [], cols: t, background:
|
|
|
1439
1454
|
{
|
|
1440
1455
|
cols: { base: 1, sm: p === 3 ? 3 : 2, lg: p },
|
|
1441
1456
|
spacing: 0,
|
|
1442
|
-
children: n.map((s,
|
|
1457
|
+
children: n.map((s, m) => /* @__PURE__ */ r(
|
|
1443
1458
|
I,
|
|
1444
1459
|
{
|
|
1445
1460
|
px: "lg",
|
|
@@ -1490,7 +1505,7 @@ function Fr({ id: a, subtitle: d, title: l, items: n = [], cols: t, background:
|
|
|
1490
1505
|
)
|
|
1491
1506
|
]
|
|
1492
1507
|
},
|
|
1493
|
-
s.label ||
|
|
1508
|
+
s.label || m
|
|
1494
1509
|
))
|
|
1495
1510
|
}
|
|
1496
1511
|
),
|
|
@@ -1511,7 +1526,7 @@ function Fr({ id: a, subtitle: d, title: l, items: n = [], cols: t, background:
|
|
|
1511
1526
|
}
|
|
1512
1527
|
);
|
|
1513
1528
|
}
|
|
1514
|
-
const
|
|
1529
|
+
const W = {
|
|
1515
1530
|
operational: { color: "teal.7", chart: "teal.7", title: "Todos os sistemas operando", badge: "Operacional" },
|
|
1516
1531
|
degraded: { color: "yellow.7", chart: "yellow.7", title: "Desempenho degradado", badge: "Degradado" },
|
|
1517
1532
|
down: { color: "red.7", chart: "red.7", title: "Interrupção em andamento", badge: "Fora do ar" },
|
|
@@ -1521,8 +1536,8 @@ const U = {
|
|
|
1521
1536
|
const d = new Date(a);
|
|
1522
1537
|
return Number.isNaN(d.getTime()) ? null : d.toLocaleString("pt-BR", { dateStyle: "short", timeStyle: "medium" });
|
|
1523
1538
|
};
|
|
1524
|
-
function
|
|
1525
|
-
const h =
|
|
1539
|
+
function kr({ service: a, status: d = "loading", checkedAt: l, checks: n = [], latency: t = [], uptime: c = [], error: g }) {
|
|
1540
|
+
const h = g ? W.down : W[d] || W.loading, p = er(l);
|
|
1526
1541
|
return /* @__PURE__ */ e(
|
|
1527
1542
|
b,
|
|
1528
1543
|
{
|
|
@@ -1573,7 +1588,7 @@ function Er({ service: a, status: d = "loading", checkedAt: l, checks: n = [], l
|
|
|
1573
1588
|
fw: 900,
|
|
1574
1589
|
lts: "-0.04em",
|
|
1575
1590
|
lh: 1.05,
|
|
1576
|
-
children:
|
|
1591
|
+
children: g ? "Não foi possível verificar" : h.title
|
|
1577
1592
|
}
|
|
1578
1593
|
)
|
|
1579
1594
|
]
|
|
@@ -1584,7 +1599,7 @@ function Er({ service: a, status: d = "loading", checkedAt: l, checks: n = [], l
|
|
|
1584
1599
|
{
|
|
1585
1600
|
size: "sm",
|
|
1586
1601
|
c: "gray.5",
|
|
1587
|
-
children:
|
|
1602
|
+
children: g ? (
|
|
1588
1603
|
// O erro é da consulta feita pelo navegador, não do serviço:
|
|
1589
1604
|
// dizer "fora do ar" aqui seria afirmar mais do que se sabe.
|
|
1590
1605
|
"Esta página não conseguiu falar com o serviço. Pode ser a sua conexão — ou o próprio serviço."
|
|
@@ -1619,7 +1634,7 @@ function Er({ service: a, status: d = "loading", checkedAt: l, checks: n = [], l
|
|
|
1619
1634
|
lh: 1,
|
|
1620
1635
|
lts: "-0.04em",
|
|
1621
1636
|
children: [
|
|
1622
|
-
(c.reduce((s,
|
|
1637
|
+
(c.reduce((s, m) => s + m.pct, 0) / c.length).toFixed(2),
|
|
1623
1638
|
/* @__PURE__ */ e(
|
|
1624
1639
|
i,
|
|
1625
1640
|
{
|
|
@@ -1641,7 +1656,7 @@ function Er({ service: a, status: d = "loading", checkedAt: l, checks: n = [], l
|
|
|
1641
1656
|
h: 140,
|
|
1642
1657
|
align: "flex-end",
|
|
1643
1658
|
wrap: "nowrap",
|
|
1644
|
-
children: c.map((s,
|
|
1659
|
+
children: c.map((s, m) => /* @__PURE__ */ e(
|
|
1645
1660
|
se,
|
|
1646
1661
|
{
|
|
1647
1662
|
label: `${s.day} · ${s.pct.toFixed(2)}%`,
|
|
@@ -1655,7 +1670,7 @@ function Er({ service: a, status: d = "loading", checkedAt: l, checks: n = [], l
|
|
|
1655
1670
|
}
|
|
1656
1671
|
)
|
|
1657
1672
|
},
|
|
1658
|
-
|
|
1673
|
+
m
|
|
1659
1674
|
))
|
|
1660
1675
|
}
|
|
1661
1676
|
)
|
|
@@ -1729,15 +1744,15 @@ function Er({ service: a, status: d = "loading", checkedAt: l, checks: n = [], l
|
|
|
1729
1744
|
children: "Componentes"
|
|
1730
1745
|
}
|
|
1731
1746
|
),
|
|
1732
|
-
n.map((s,
|
|
1733
|
-
const o =
|
|
1747
|
+
n.map((s, m) => {
|
|
1748
|
+
const o = W[s.status] || W.loading;
|
|
1734
1749
|
return /* @__PURE__ */ r(
|
|
1735
1750
|
I,
|
|
1736
1751
|
{
|
|
1737
1752
|
bg: "transparent",
|
|
1738
1753
|
withBorder: !1,
|
|
1739
1754
|
py: "lg",
|
|
1740
|
-
bd: { top:
|
|
1755
|
+
bd: { top: m === 0 ? "1px solid var(--mantine-color-gray-2)" : void 0, bottom: "1px solid var(--mantine-color-gray-2)" },
|
|
1741
1756
|
children: [
|
|
1742
1757
|
/* @__PURE__ */ r(
|
|
1743
1758
|
f,
|
|
@@ -1860,7 +1875,7 @@ function Er({ service: a, status: d = "loading", checkedAt: l, checks: n = [], l
|
|
|
1860
1875
|
)
|
|
1861
1876
|
]
|
|
1862
1877
|
},
|
|
1863
|
-
s.name ||
|
|
1878
|
+
s.name || m
|
|
1864
1879
|
);
|
|
1865
1880
|
})
|
|
1866
1881
|
] }),
|
|
@@ -1890,8 +1905,8 @@ const rr = {
|
|
|
1890
1905
|
down: { color: "red.7", label: "Interrupção em andamento" },
|
|
1891
1906
|
loading: { color: "gray.4", label: "Verificando status" }
|
|
1892
1907
|
}, Y = 20;
|
|
1893
|
-
function
|
|
1894
|
-
const c = oe[a] || oe.loading,
|
|
1908
|
+
function Er({ status: a = "loading", history: d = [], label: l, link: n, ...t }) {
|
|
1909
|
+
const c = oe[a] || oe.loading, g = d.slice(-Y), h = Array(Math.max(0, Y - g.length)).fill(null), p = [...h, ...g];
|
|
1895
1910
|
return /* @__PURE__ */ e(
|
|
1896
1911
|
de,
|
|
1897
1912
|
{
|
|
@@ -1914,20 +1929,20 @@ function kr({ status: a = "loading", history: d = [], label: l, link: n, ...t })
|
|
|
1914
1929
|
h: 16,
|
|
1915
1930
|
"aria-hidden": "true",
|
|
1916
1931
|
style: { display: "block", overflow: "visible" },
|
|
1917
|
-
children: p.map((s,
|
|
1918
|
-
const o = s === null ? 2 : Math.max(2, s * 16), y = p.length - h.length - 1 || 1, w =
|
|
1932
|
+
children: p.map((s, m) => {
|
|
1933
|
+
const o = s === null ? 2 : Math.max(2, s * 16), y = p.length - h.length - 1 || 1, w = m - h.length;
|
|
1919
1934
|
return /* @__PURE__ */ e(
|
|
1920
1935
|
b,
|
|
1921
1936
|
{
|
|
1922
1937
|
component: "rect",
|
|
1923
|
-
x:
|
|
1938
|
+
x: m * 4,
|
|
1924
1939
|
y: 16 - o,
|
|
1925
1940
|
width: 3,
|
|
1926
1941
|
height: o,
|
|
1927
1942
|
fill: s === null ? "var(--mantine-color-gray-2)" : `var(--mantine-color-${c.color.replace(".", "-")})`,
|
|
1928
1943
|
opacity: s === null ? 0.6 : 0.55 + w / y * 0.45
|
|
1929
1944
|
},
|
|
1930
|
-
|
|
1945
|
+
m
|
|
1931
1946
|
);
|
|
1932
1947
|
})
|
|
1933
1948
|
}
|
|
@@ -1950,7 +1965,7 @@ function kr({ status: a = "loading", history: d = [], label: l, link: n, ...t })
|
|
|
1950
1965
|
}
|
|
1951
1966
|
);
|
|
1952
1967
|
}
|
|
1953
|
-
function Br({ id: a, subtitle: d, title: l, description: n, items: t = [], ctaIcon: c, note:
|
|
1968
|
+
function Br({ id: a, subtitle: d, title: l, description: n, items: t = [], ctaIcon: c, note: g, background: h = "white", ta: p = "center" }) {
|
|
1954
1969
|
return /* @__PURE__ */ r(
|
|
1955
1970
|
P,
|
|
1956
1971
|
{
|
|
@@ -1974,7 +1989,7 @@ function Br({ id: a, subtitle: d, title: l, description: n, items: t = [], ctaIc
|
|
|
1974
1989
|
children: n
|
|
1975
1990
|
}
|
|
1976
1991
|
),
|
|
1977
|
-
/* @__PURE__ */ e(v, { gutter: "xl", children: t.map((s,
|
|
1992
|
+
/* @__PURE__ */ e(v, { gutter: "xl", children: t.map((s, m) => {
|
|
1978
1993
|
const o = s.icon;
|
|
1979
1994
|
return /* @__PURE__ */ e(
|
|
1980
1995
|
v.Col,
|
|
@@ -2057,7 +2072,7 @@ function Br({ id: a, subtitle: d, title: l, description: n, items: t = [], ctaIc
|
|
|
2057
2072
|
}
|
|
2058
2073
|
),
|
|
2059
2074
|
s.href && /* @__PURE__ */ e(
|
|
2060
|
-
|
|
2075
|
+
U,
|
|
2061
2076
|
{
|
|
2062
2077
|
component: "a",
|
|
2063
2078
|
href: s.href,
|
|
@@ -2082,10 +2097,10 @@ function Br({ id: a, subtitle: d, title: l, description: n, items: t = [], ctaIc
|
|
|
2082
2097
|
}
|
|
2083
2098
|
)
|
|
2084
2099
|
},
|
|
2085
|
-
s.name ||
|
|
2100
|
+
s.name || m
|
|
2086
2101
|
);
|
|
2087
2102
|
}) }),
|
|
2088
|
-
|
|
2103
|
+
g && /* @__PURE__ */ e(
|
|
2089
2104
|
i,
|
|
2090
2105
|
{
|
|
2091
2106
|
size: "sm",
|
|
@@ -2096,7 +2111,7 @@ function Br({ id: a, subtitle: d, title: l, description: n, items: t = [], ctaIc
|
|
|
2096
2111
|
mx: p === "center" ? "auto" : void 0,
|
|
2097
2112
|
lh: 1.6,
|
|
2098
2113
|
fs: "italic",
|
|
2099
|
-
children:
|
|
2114
|
+
children: g
|
|
2100
2115
|
}
|
|
2101
2116
|
)
|
|
2102
2117
|
]
|
|
@@ -2110,7 +2125,7 @@ function jr({
|
|
|
2110
2125
|
description: n,
|
|
2111
2126
|
items: t = [],
|
|
2112
2127
|
categories: c = [],
|
|
2113
|
-
filtersLabel:
|
|
2128
|
+
filtersLabel: g = "Filtrar por categoria",
|
|
2114
2129
|
note: h,
|
|
2115
2130
|
background: p = "white",
|
|
2116
2131
|
// SEM DEFAULT COM PALAVRA DE PRODUTO. Este texto aparece na tela, e um
|
|
@@ -2120,7 +2135,7 @@ function jr({
|
|
|
2120
2135
|
// rótulo a chamada não é desenhada; quem chama diz a palavra.
|
|
2121
2136
|
ctaLabel: s
|
|
2122
2137
|
}) {
|
|
2123
|
-
const [
|
|
2138
|
+
const [m, o] = _("todas"), y = Ge("(min-width: 48em)", !1), w = Pe(() => m === "todas" ? t : [...t].sort((S, k) => +(k.category === m) - +(S.category === m)), [t, m]), [T, ...D] = w;
|
|
2124
2139
|
return T ? (
|
|
2125
2140
|
// O CABEÇALHO É CENTRALIZADO, O CONTEÚDO NÃO. `ta="center"` no
|
|
2126
2141
|
// `Section` alinha o kicker, o título e — por herança — tudo que
|
|
@@ -2159,15 +2174,15 @@ function jr({
|
|
|
2159
2174
|
justify: y ? "center" : "flex-start",
|
|
2160
2175
|
wrap: "nowrap",
|
|
2161
2176
|
role: "group",
|
|
2162
|
-
"aria-label":
|
|
2177
|
+
"aria-label": g,
|
|
2163
2178
|
className: "rlg-shelf-filters",
|
|
2164
2179
|
children: c.map((S) => /* @__PURE__ */ e(
|
|
2165
2180
|
Se,
|
|
2166
2181
|
{
|
|
2167
2182
|
onClick: () => o(S.id),
|
|
2168
2183
|
className: "rlg-shelf-pill",
|
|
2169
|
-
"data-active":
|
|
2170
|
-
"aria-pressed":
|
|
2184
|
+
"data-active": m === S.id || void 0,
|
|
2185
|
+
"aria-pressed": m === S.id,
|
|
2171
2186
|
children: S.label
|
|
2172
2187
|
},
|
|
2173
2188
|
S.id
|
|
@@ -2304,7 +2319,7 @@ function ar({ item: a, ctaLabel: d }) {
|
|
|
2304
2319
|
}
|
|
2305
2320
|
),
|
|
2306
2321
|
/* @__PURE__ */ e(
|
|
2307
|
-
|
|
2322
|
+
ke,
|
|
2308
2323
|
{
|
|
2309
2324
|
size: 16,
|
|
2310
2325
|
stroke: 2.5,
|
|
@@ -2390,14 +2405,14 @@ function ir({ item: a }) {
|
|
|
2390
2405
|
}
|
|
2391
2406
|
);
|
|
2392
2407
|
}
|
|
2393
|
-
function Cr({ id: a, subtitle: d, title: l, description: n, items: t = [], note: c, background:
|
|
2408
|
+
function Cr({ id: a, subtitle: d, title: l, description: n, items: t = [], note: c, background: g = "gray", ta: h = "center" }) {
|
|
2394
2409
|
return /* @__PURE__ */ r(
|
|
2395
2410
|
P,
|
|
2396
2411
|
{
|
|
2397
2412
|
id: a,
|
|
2398
2413
|
subtitle: d,
|
|
2399
2414
|
title: l,
|
|
2400
|
-
background:
|
|
2415
|
+
background: g,
|
|
2401
2416
|
ta: h,
|
|
2402
2417
|
maw: 900,
|
|
2403
2418
|
children: [
|
|
@@ -2483,7 +2498,7 @@ function Cr({ id: a, subtitle: d, title: l, description: n, items: t = [], note:
|
|
|
2483
2498
|
}
|
|
2484
2499
|
);
|
|
2485
2500
|
}
|
|
2486
|
-
function Mr({ id: a, subtitle: d, title: l, description: n, cardLabel: t, items: c = [], footnote:
|
|
2501
|
+
function Mr({ id: a, subtitle: d, title: l, description: n, cardLabel: t, items: c = [], footnote: g, background: h = "gray", ta: p = "center" }) {
|
|
2487
2502
|
return /* @__PURE__ */ r(
|
|
2488
2503
|
P,
|
|
2489
2504
|
{
|
|
@@ -2535,7 +2550,7 @@ function Mr({ id: a, subtitle: d, title: l, description: n, cardLabel: t, items:
|
|
|
2535
2550
|
m: 0,
|
|
2536
2551
|
pl: "lg",
|
|
2537
2552
|
style: { display: "flex", flexDirection: "column", gap: 16 },
|
|
2538
|
-
children: c.map((s,
|
|
2553
|
+
children: c.map((s, m) => /* @__PURE__ */ r(
|
|
2539
2554
|
i,
|
|
2540
2555
|
{
|
|
2541
2556
|
component: "li",
|
|
@@ -2556,11 +2571,11 @@ function Mr({ id: a, subtitle: d, title: l, description: n, cardLabel: t, items:
|
|
|
2556
2571
|
s.text
|
|
2557
2572
|
]
|
|
2558
2573
|
},
|
|
2559
|
-
s.lead ||
|
|
2574
|
+
s.lead || m
|
|
2560
2575
|
))
|
|
2561
2576
|
}
|
|
2562
2577
|
),
|
|
2563
|
-
|
|
2578
|
+
g && /* @__PURE__ */ r(
|
|
2564
2579
|
i,
|
|
2565
2580
|
{
|
|
2566
2581
|
size: "sm",
|
|
@@ -2570,18 +2585,18 @@ function Mr({ id: a, subtitle: d, title: l, description: n, cardLabel: t, items:
|
|
|
2570
2585
|
lh: 1.7,
|
|
2571
2586
|
style: { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2572
2587
|
children: [
|
|
2573
|
-
|
|
2588
|
+
g.lead && /* @__PURE__ */ e(
|
|
2574
2589
|
i,
|
|
2575
2590
|
{
|
|
2576
2591
|
component: "span",
|
|
2577
2592
|
fw: 700,
|
|
2578
2593
|
c: "gray.9",
|
|
2579
2594
|
inherit: !0,
|
|
2580
|
-
children:
|
|
2595
|
+
children: g.lead
|
|
2581
2596
|
}
|
|
2582
2597
|
),
|
|
2583
2598
|
" ",
|
|
2584
|
-
|
|
2599
|
+
g.text
|
|
2585
2600
|
]
|
|
2586
2601
|
}
|
|
2587
2602
|
)
|
|
@@ -2592,7 +2607,7 @@ function Mr({ id: a, subtitle: d, title: l, description: n, cardLabel: t, items:
|
|
|
2592
2607
|
}
|
|
2593
2608
|
);
|
|
2594
2609
|
}
|
|
2595
|
-
function Rr({ id: a, subtitle: d, title: l, description: n, avatar: t, name: c, role:
|
|
2610
|
+
function Rr({ id: a, subtitle: d, title: l, description: n, avatar: t, name: c, role: g, quote: h, credentials: p = [], background: s = "white", ta: m = "center" }) {
|
|
2596
2611
|
return /* @__PURE__ */ r(
|
|
2597
2612
|
P,
|
|
2598
2613
|
{
|
|
@@ -2600,17 +2615,17 @@ function Rr({ id: a, subtitle: d, title: l, description: n, avatar: t, name: c,
|
|
|
2600
2615
|
subtitle: d,
|
|
2601
2616
|
title: l,
|
|
2602
2617
|
background: s,
|
|
2603
|
-
ta:
|
|
2618
|
+
ta: m,
|
|
2604
2619
|
maw: 900,
|
|
2605
2620
|
children: [
|
|
2606
2621
|
n && /* @__PURE__ */ e(
|
|
2607
2622
|
i,
|
|
2608
2623
|
{
|
|
2609
2624
|
c: "gray.6",
|
|
2610
|
-
ta:
|
|
2625
|
+
ta: m,
|
|
2611
2626
|
mb: 60,
|
|
2612
2627
|
maw: 800,
|
|
2613
|
-
mx:
|
|
2628
|
+
mx: m === "center" ? "auto" : void 0,
|
|
2614
2629
|
fz: "lg",
|
|
2615
2630
|
lh: 1.6,
|
|
2616
2631
|
children: n
|
|
@@ -2657,7 +2672,7 @@ function Rr({ id: a, subtitle: d, title: l, description: n, avatar: t, name: c,
|
|
|
2657
2672
|
}
|
|
2658
2673
|
) }),
|
|
2659
2674
|
/* @__PURE__ */ r(v.Col, { span: { base: 12, sm: "auto" }, children: [
|
|
2660
|
-
(c ||
|
|
2675
|
+
(c || g) && /* @__PURE__ */ r(
|
|
2661
2676
|
f,
|
|
2662
2677
|
{
|
|
2663
2678
|
mb: "lg",
|
|
@@ -2675,14 +2690,14 @@ function Rr({ id: a, subtitle: d, title: l, description: n, avatar: t, name: c,
|
|
|
2675
2690
|
children: c
|
|
2676
2691
|
}
|
|
2677
2692
|
),
|
|
2678
|
-
|
|
2693
|
+
g && /* @__PURE__ */ e(
|
|
2679
2694
|
j,
|
|
2680
2695
|
{
|
|
2681
2696
|
variant: "dot",
|
|
2682
2697
|
color: "gray",
|
|
2683
2698
|
size: "sm",
|
|
2684
2699
|
radius: "0",
|
|
2685
|
-
children:
|
|
2700
|
+
children: g
|
|
2686
2701
|
}
|
|
2687
2702
|
)
|
|
2688
2703
|
]
|
|
@@ -2756,7 +2771,7 @@ function Rr({ id: a, subtitle: d, title: l, description: n, avatar: t, name: c,
|
|
|
2756
2771
|
}
|
|
2757
2772
|
);
|
|
2758
2773
|
}
|
|
2759
|
-
function Nr({ id: a, badge: d, subtitle: l, title: n, description: t, items: c = [], background:
|
|
2774
|
+
function Nr({ id: a, badge: d, subtitle: l, title: n, description: t, items: c = [], background: g = "gray", ta: h = "center" }) {
|
|
2760
2775
|
return /* @__PURE__ */ r(
|
|
2761
2776
|
P,
|
|
2762
2777
|
{
|
|
@@ -2764,7 +2779,7 @@ function Nr({ id: a, badge: d, subtitle: l, title: n, description: t, items: c =
|
|
|
2764
2779
|
badge: d,
|
|
2765
2780
|
subtitle: l,
|
|
2766
2781
|
title: n,
|
|
2767
|
-
background:
|
|
2782
|
+
background: g,
|
|
2768
2783
|
ta: h,
|
|
2769
2784
|
maw: 900,
|
|
2770
2785
|
children: [
|
|
@@ -2788,7 +2803,7 @@ function Nr({ id: a, badge: d, subtitle: l, title: n, description: t, items: c =
|
|
|
2788
2803
|
spacing: "xl",
|
|
2789
2804
|
verticalSpacing: { base: 56, md: "xl" },
|
|
2790
2805
|
children: c.map((p, s) => {
|
|
2791
|
-
const
|
|
2806
|
+
const m = p.icon;
|
|
2792
2807
|
return /* @__PURE__ */ r(
|
|
2793
2808
|
b,
|
|
2794
2809
|
{
|
|
@@ -2813,7 +2828,7 @@ function Nr({ id: a, badge: d, subtitle: l, title: n, description: t, items: c =
|
|
|
2813
2828
|
children: p.number || String(s + 1).padStart(2, "0")
|
|
2814
2829
|
}
|
|
2815
2830
|
),
|
|
2816
|
-
|
|
2831
|
+
m && /* @__PURE__ */ e(
|
|
2817
2832
|
z,
|
|
2818
2833
|
{
|
|
2819
2834
|
size: 60,
|
|
@@ -2824,7 +2839,7 @@ function Nr({ id: a, badge: d, subtitle: l, title: n, description: t, items: c =
|
|
|
2824
2839
|
pos: "relative",
|
|
2825
2840
|
style: { zIndex: 1 },
|
|
2826
2841
|
children: /* @__PURE__ */ e(
|
|
2827
|
-
|
|
2842
|
+
m,
|
|
2828
2843
|
{
|
|
2829
2844
|
size: 30,
|
|
2830
2845
|
stroke: 1.5
|
|
@@ -2866,11 +2881,11 @@ function Nr({ id: a, badge: d, subtitle: l, title: n, description: t, items: c =
|
|
|
2866
2881
|
}
|
|
2867
2882
|
);
|
|
2868
2883
|
}
|
|
2869
|
-
function Lr({ id: a, badge: d, title: l, description: n, fields: t = [], whatsappNumber: c, messageIntro:
|
|
2870
|
-
const [
|
|
2884
|
+
function Lr({ id: a, badge: d, title: l, description: n, fields: t = [], whatsappNumber: c, messageIntro: g = "Olá! Vim pelo site.", submit: h = {}, reassurance: p, onSubmit: s }) {
|
|
2885
|
+
const [m, o] = _(() => Object.fromEntries(t.map((x) => [x.name, ""]))), [y, w] = _(!1), T = (x) => (L) => {
|
|
2871
2886
|
const { value: q } = L.currentTarget;
|
|
2872
2887
|
o((O) => ({ ...O, [x]: q }));
|
|
2873
|
-
}, S = t.filter((x) => x.required).every((x) =>
|
|
2888
|
+
}, S = t.filter((x) => x.required).every((x) => m[x.name]?.trim());
|
|
2874
2889
|
return /* @__PURE__ */ e(
|
|
2875
2890
|
b,
|
|
2876
2891
|
{
|
|
@@ -2928,9 +2943,9 @@ function Lr({ id: a, badge: d, title: l, description: n, fields: t = [], whatsap
|
|
|
2928
2943
|
bg: "white",
|
|
2929
2944
|
children: /* @__PURE__ */ e("form", { onSubmit: (x) => {
|
|
2930
2945
|
if (x.preventDefault(), w(!0), !S) return;
|
|
2931
|
-
const L = [
|
|
2946
|
+
const L = [g, "", ...t.filter((q) => m[q.name]?.trim()).map((q) => `${q.label}: ${m[q.name]}`)].join(`
|
|
2932
2947
|
`);
|
|
2933
|
-
if (s?.(
|
|
2948
|
+
if (s?.(m), c) {
|
|
2934
2949
|
const q = `https://wa.me/${c}?text=${encodeURIComponent(L)}`;
|
|
2935
2950
|
window.open(q, "_blank", "noopener,noreferrer");
|
|
2936
2951
|
}
|
|
@@ -2942,9 +2957,9 @@ function Lr({ id: a, badge: d, title: l, description: n, fields: t = [], whatsap
|
|
|
2942
2957
|
placeholder: x.placeholder,
|
|
2943
2958
|
type: x.type || "text",
|
|
2944
2959
|
required: x.required,
|
|
2945
|
-
value:
|
|
2960
|
+
value: m[x.name] || "",
|
|
2946
2961
|
onChange: T(x.name),
|
|
2947
|
-
error: y && x.required && !
|
|
2962
|
+
error: y && x.required && !m[x.name]?.trim() ? "Obrigatório" : null
|
|
2948
2963
|
},
|
|
2949
2964
|
x.name
|
|
2950
2965
|
)) }),
|
|
@@ -2955,14 +2970,14 @@ function Lr({ id: a, badge: d, title: l, description: n, fields: t = [], whatsap
|
|
|
2955
2970
|
placeholder: x.placeholder,
|
|
2956
2971
|
type: x.type || "text",
|
|
2957
2972
|
required: x.required,
|
|
2958
|
-
value:
|
|
2973
|
+
value: m[x.name] || "",
|
|
2959
2974
|
onChange: T(x.name),
|
|
2960
|
-
error: y && x.required && !
|
|
2975
|
+
error: y && x.required && !m[x.name]?.trim() ? "Obrigatório" : null
|
|
2961
2976
|
},
|
|
2962
2977
|
x.name
|
|
2963
2978
|
)),
|
|
2964
2979
|
/* @__PURE__ */ e(
|
|
2965
|
-
|
|
2980
|
+
U,
|
|
2966
2981
|
{
|
|
2967
2982
|
type: "submit",
|
|
2968
2983
|
size: "lg",
|
|
@@ -3072,14 +3087,14 @@ function Or({ id: a, subtitle: d, title: l, traditionalCol: n, newCol: t, backgr
|
|
|
3072
3087
|
{
|
|
3073
3088
|
gap: "md",
|
|
3074
3089
|
mb: 40,
|
|
3075
|
-
children: n.items.map((
|
|
3090
|
+
children: n.items.map((g, h) => /* @__PURE__ */ r(qe, { children: [
|
|
3076
3091
|
/* @__PURE__ */ r(f, { justify: "space-between", children: [
|
|
3077
3092
|
/* @__PURE__ */ e(
|
|
3078
3093
|
i,
|
|
3079
3094
|
{
|
|
3080
3095
|
size: "sm",
|
|
3081
3096
|
c: "gray.6",
|
|
3082
|
-
children:
|
|
3097
|
+
children: g.label
|
|
3083
3098
|
}
|
|
3084
3099
|
),
|
|
3085
3100
|
/* @__PURE__ */ e(
|
|
@@ -3087,7 +3102,7 @@ function Or({ id: a, subtitle: d, title: l, traditionalCol: n, newCol: t, backgr
|
|
|
3087
3102
|
{
|
|
3088
3103
|
fw: 700,
|
|
3089
3104
|
c: "gray.9",
|
|
3090
|
-
children:
|
|
3105
|
+
children: g.value
|
|
3091
3106
|
}
|
|
3092
3107
|
)
|
|
3093
3108
|
] }),
|
|
@@ -3203,7 +3218,7 @@ function Or({ id: a, subtitle: d, title: l, traditionalCol: n, newCol: t, backgr
|
|
|
3203
3218
|
)
|
|
3204
3219
|
}
|
|
3205
3220
|
),
|
|
3206
|
-
children: t.items.map((
|
|
3221
|
+
children: t.items.map((g, h) => /* @__PURE__ */ e(V.Item, { children: g }, h))
|
|
3207
3222
|
}
|
|
3208
3223
|
),
|
|
3209
3224
|
t.pricingBox && /* @__PURE__ */ e(
|
|
@@ -3281,11 +3296,11 @@ function Vr({
|
|
|
3281
3296
|
{ label: "Mensal", value: "monthly" },
|
|
3282
3297
|
{ label: "Anual", value: "annual" }
|
|
3283
3298
|
],
|
|
3284
|
-
billing:
|
|
3299
|
+
billing: g,
|
|
3285
3300
|
setBilling: h,
|
|
3286
3301
|
promoBadge: p,
|
|
3287
3302
|
plans: s,
|
|
3288
|
-
background:
|
|
3303
|
+
background: m = "white"
|
|
3289
3304
|
}) {
|
|
3290
3305
|
return /* @__PURE__ */ r(
|
|
3291
3306
|
P,
|
|
@@ -3295,7 +3310,7 @@ function Vr({
|
|
|
3295
3310
|
subtitle: l,
|
|
3296
3311
|
title: n,
|
|
3297
3312
|
ta: "center",
|
|
3298
|
-
background:
|
|
3313
|
+
background: m,
|
|
3299
3314
|
maw: 900,
|
|
3300
3315
|
children: [
|
|
3301
3316
|
t && /* @__PURE__ */ e(
|
|
@@ -3321,7 +3336,7 @@ function Vr({
|
|
|
3321
3336
|
/* @__PURE__ */ e(
|
|
3322
3337
|
Ie,
|
|
3323
3338
|
{
|
|
3324
|
-
value:
|
|
3339
|
+
value: g,
|
|
3325
3340
|
onChange: h,
|
|
3326
3341
|
radius: "0",
|
|
3327
3342
|
size: "md",
|
|
@@ -3331,7 +3346,7 @@ function Vr({
|
|
|
3331
3346
|
style: { border: "1px solid var(--mantine-color-gray-2)" }
|
|
3332
3347
|
}
|
|
3333
3348
|
),
|
|
3334
|
-
|
|
3349
|
+
g === "annual" && p && /* @__PURE__ */ e(
|
|
3335
3350
|
j,
|
|
3336
3351
|
{
|
|
3337
3352
|
variant: "filled",
|
|
@@ -3623,8 +3638,8 @@ function Vr({
|
|
|
3623
3638
|
}
|
|
3624
3639
|
);
|
|
3625
3640
|
}
|
|
3626
|
-
function $r({ id: a, badge: d, subtitle: l, title: n, description: t, questions: c = [], contactCard:
|
|
3627
|
-
const s = Math.ceil(c.length / 2),
|
|
3641
|
+
function $r({ id: a, badge: d, subtitle: l, title: n, description: t, questions: c = [], contactCard: g, background: h = "white", ta: p = "left" }) {
|
|
3642
|
+
const s = Math.ceil(c.length / 2), m = {
|
|
3628
3643
|
item: {
|
|
3629
3644
|
backgroundColor: h === "gray" ? "gray.1" : "white",
|
|
3630
3645
|
border: "1px solid var(--mantine-color-gray-2)"
|
|
@@ -3679,7 +3694,7 @@ function $r({ id: a, badge: d, subtitle: l, title: n, description: t, questions:
|
|
|
3679
3694
|
variant: "separated",
|
|
3680
3695
|
radius: "0",
|
|
3681
3696
|
chevronPosition: "right",
|
|
3682
|
-
styles:
|
|
3697
|
+
styles: m,
|
|
3683
3698
|
children: c.slice(0, s).map((o, y) => /* @__PURE__ */ r(
|
|
3684
3699
|
R.Item,
|
|
3685
3700
|
{
|
|
@@ -3714,7 +3729,7 @@ function $r({ id: a, badge: d, subtitle: l, title: n, description: t, questions:
|
|
|
3714
3729
|
variant: "separated",
|
|
3715
3730
|
radius: "0",
|
|
3716
3731
|
chevronPosition: "right",
|
|
3717
|
-
styles:
|
|
3732
|
+
styles: m,
|
|
3718
3733
|
children: c.slice(s).map((o, y) => /* @__PURE__ */ r(
|
|
3719
3734
|
R.Item,
|
|
3720
3735
|
{
|
|
@@ -3746,7 +3761,7 @@ function $r({ id: a, badge: d, subtitle: l, title: n, description: t, questions:
|
|
|
3746
3761
|
]
|
|
3747
3762
|
}
|
|
3748
3763
|
),
|
|
3749
|
-
|
|
3764
|
+
g && /* @__PURE__ */ e(
|
|
3750
3765
|
I,
|
|
3751
3766
|
{
|
|
3752
3767
|
mt: { base: 40, md: 80 },
|
|
@@ -3777,7 +3792,7 @@ function $r({ id: a, badge: d, subtitle: l, title: n, description: t, questions:
|
|
|
3777
3792
|
fw: 900,
|
|
3778
3793
|
c: "gray.9",
|
|
3779
3794
|
lh: 1.2,
|
|
3780
|
-
children:
|
|
3795
|
+
children: g.title
|
|
3781
3796
|
}
|
|
3782
3797
|
),
|
|
3783
3798
|
/* @__PURE__ */ e(
|
|
@@ -3786,7 +3801,7 @@ function $r({ id: a, badge: d, subtitle: l, title: n, description: t, questions:
|
|
|
3786
3801
|
c: "gray.6",
|
|
3787
3802
|
maw: 500,
|
|
3788
3803
|
size: "lg",
|
|
3789
|
-
children:
|
|
3804
|
+
children: g.description
|
|
3790
3805
|
}
|
|
3791
3806
|
)
|
|
3792
3807
|
]
|
|
@@ -3795,12 +3810,12 @@ function $r({ id: a, badge: d, subtitle: l, title: n, description: t, questions:
|
|
|
3795
3810
|
/* @__PURE__ */ e(u, { align: { base: "center", md: "flex-end" }, children: /* @__PURE__ */ e(
|
|
3796
3811
|
M,
|
|
3797
3812
|
{
|
|
3798
|
-
label:
|
|
3799
|
-
href:
|
|
3800
|
-
target:
|
|
3801
|
-
leftSection:
|
|
3802
|
-
size:
|
|
3803
|
-
color:
|
|
3813
|
+
label: g.cta.label,
|
|
3814
|
+
href: g.cta.href,
|
|
3815
|
+
target: g.cta.target,
|
|
3816
|
+
leftSection: g.cta.icon,
|
|
3817
|
+
size: g.cta.size || "xl",
|
|
3818
|
+
color: g.cta.color || "gray.8"
|
|
3804
3819
|
}
|
|
3805
3820
|
) })
|
|
3806
3821
|
]
|
|
@@ -3812,7 +3827,7 @@ function $r({ id: a, badge: d, subtitle: l, title: n, description: t, questions:
|
|
|
3812
3827
|
}
|
|
3813
3828
|
);
|
|
3814
3829
|
}
|
|
3815
|
-
function
|
|
3830
|
+
function Wr({ id: a, title: d, subtitle: l, items: n = [], background: t = "gray" }) {
|
|
3816
3831
|
return /* @__PURE__ */ e(
|
|
3817
3832
|
P,
|
|
3818
3833
|
{
|
|
@@ -3825,7 +3840,7 @@ function Ur({ id: a, title: d, subtitle: l, items: n = [], background: t = "gray
|
|
|
3825
3840
|
{
|
|
3826
3841
|
cols: { base: 1, md: n.length > 3 ? 4 : n.length || 3 },
|
|
3827
3842
|
spacing: "xl",
|
|
3828
|
-
children: n.map((c,
|
|
3843
|
+
children: n.map((c, g) => /* @__PURE__ */ e(
|
|
3829
3844
|
I,
|
|
3830
3845
|
{
|
|
3831
3846
|
p: "xl",
|
|
@@ -3840,7 +3855,7 @@ function Ur({ id: a, title: d, subtitle: l, items: n = [], background: t = "gray
|
|
|
3840
3855
|
h: "100%",
|
|
3841
3856
|
children: [
|
|
3842
3857
|
/* @__PURE__ */ e(
|
|
3843
|
-
|
|
3858
|
+
Ee,
|
|
3844
3859
|
{
|
|
3845
3860
|
size: 32,
|
|
3846
3861
|
color: "var(--mantine-color-gray-3)"
|
|
@@ -3905,7 +3920,7 @@ function Ur({ id: a, title: d, subtitle: l, items: n = [], background: t = "gray
|
|
|
3905
3920
|
}
|
|
3906
3921
|
)
|
|
3907
3922
|
},
|
|
3908
|
-
|
|
3923
|
+
g
|
|
3909
3924
|
))
|
|
3910
3925
|
}
|
|
3911
3926
|
)
|
|
@@ -3917,7 +3932,7 @@ const le = {
|
|
|
3917
3932
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
3918
3933
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
3919
3934
|
};
|
|
3920
|
-
function ye({ id: a, subtitle: d, title: l, titleOrder: n = 2, description: t, featuresList: c, featuresLabel:
|
|
3935
|
+
function ye({ id: a, subtitle: d, title: l, titleOrder: n = 2, description: t, featuresList: c, featuresLabel: g, cta: h, secondaryCta: p, background: s = "gray", ta: m = "center" }) {
|
|
3921
3936
|
return /* @__PURE__ */ e(
|
|
3922
3937
|
P,
|
|
3923
3938
|
{
|
|
@@ -3935,8 +3950,8 @@ function ye({ id: a, subtitle: d, title: l, titleOrder: n = 2, description: t, f
|
|
|
3935
3950
|
children: /* @__PURE__ */ r(
|
|
3936
3951
|
u,
|
|
3937
3952
|
{
|
|
3938
|
-
align:
|
|
3939
|
-
ta:
|
|
3953
|
+
align: m === "center" ? "center" : "flex-start",
|
|
3954
|
+
ta: m,
|
|
3940
3955
|
gap: "xl",
|
|
3941
3956
|
children: [
|
|
3942
3957
|
d && /* @__PURE__ */ e(
|
|
@@ -3968,18 +3983,18 @@ function ye({ id: a, subtitle: d, title: l, titleOrder: n = 2, description: t, f
|
|
|
3968
3983
|
{
|
|
3969
3984
|
c: "gray.7",
|
|
3970
3985
|
size: "xl",
|
|
3971
|
-
maw:
|
|
3986
|
+
maw: m === "center" ? 550 : 640,
|
|
3972
3987
|
children: t
|
|
3973
3988
|
}
|
|
3974
3989
|
),
|
|
3975
3990
|
c && c.length > 0 && /* @__PURE__ */ r(b, { ta: "left", children: [
|
|
3976
|
-
|
|
3991
|
+
g && /* @__PURE__ */ e(
|
|
3977
3992
|
i,
|
|
3978
3993
|
{
|
|
3979
3994
|
fw: 700,
|
|
3980
3995
|
c: "gray.9",
|
|
3981
3996
|
mb: "md",
|
|
3982
|
-
children:
|
|
3997
|
+
children: g
|
|
3983
3998
|
}
|
|
3984
3999
|
),
|
|
3985
4000
|
/* @__PURE__ */ e(
|
|
@@ -4021,12 +4036,12 @@ function ye({ id: a, subtitle: d, title: l, titleOrder: n = 2, description: t, f
|
|
|
4021
4036
|
{
|
|
4022
4037
|
mt: "md",
|
|
4023
4038
|
w: "100%",
|
|
4024
|
-
style: { display: "flex", justifyContent:
|
|
4039
|
+
style: { display: "flex", justifyContent: m === "center" ? "center" : "flex-start" },
|
|
4025
4040
|
children: /* @__PURE__ */ r(
|
|
4026
4041
|
f,
|
|
4027
4042
|
{
|
|
4028
4043
|
gap: "md",
|
|
4029
|
-
justify:
|
|
4044
|
+
justify: m === "center" ? "center" : "flex-start",
|
|
4030
4045
|
style: { maxWidth: "100%" },
|
|
4031
4046
|
className: "rlg-cta-group",
|
|
4032
4047
|
children: [
|
|
@@ -4075,7 +4090,7 @@ function ye({ id: a, subtitle: d, title: l, titleOrder: n = 2, description: t, f
|
|
|
4075
4090
|
}
|
|
4076
4091
|
);
|
|
4077
4092
|
}
|
|
4078
|
-
const
|
|
4093
|
+
const Ur = ye;
|
|
4079
4094
|
function tr() {
|
|
4080
4095
|
pe(() => {
|
|
4081
4096
|
const a = document.createElement("meta");
|
|
@@ -4148,8 +4163,8 @@ function nr({ text: a = "Selo Exclusivo", color: d = "green.6", background: l =
|
|
|
4148
4163
|
);
|
|
4149
4164
|
}
|
|
4150
4165
|
const _r = nr;
|
|
4151
|
-
function Gr({ logo: a, description: d, sections: l = [], socialLinks: n = [], copyrightText: t, madeByText: c, background:
|
|
4152
|
-
const p = N(
|
|
4166
|
+
function Gr({ logo: a, description: d, sections: l = [], socialLinks: n = [], copyrightText: t, madeByText: c, background: g = "white", status: h }) {
|
|
4167
|
+
const p = N(g);
|
|
4153
4168
|
return /* @__PURE__ */ e(
|
|
4154
4169
|
b,
|
|
4155
4170
|
{
|
|
@@ -4187,7 +4202,7 @@ function Gr({ logo: a, description: d, sections: l = [], socialLinks: n = [], co
|
|
|
4187
4202
|
},
|
|
4188
4203
|
spacing: "xl",
|
|
4189
4204
|
children: [
|
|
4190
|
-
l.map((s,
|
|
4205
|
+
l.map((s, m) => /* @__PURE__ */ r(
|
|
4191
4206
|
u,
|
|
4192
4207
|
{
|
|
4193
4208
|
gap: "md",
|
|
@@ -4216,7 +4231,7 @@ function Gr({ logo: a, description: d, sections: l = [], socialLinks: n = [], co
|
|
|
4216
4231
|
)) })
|
|
4217
4232
|
]
|
|
4218
4233
|
},
|
|
4219
|
-
|
|
4234
|
+
m
|
|
4220
4235
|
)),
|
|
4221
4236
|
n && n.length > 0 && /* @__PURE__ */ r(u, { gap: "md", children: [
|
|
4222
4237
|
/* @__PURE__ */ e(
|
|
@@ -4229,7 +4244,7 @@ function Gr({ logo: a, description: d, sections: l = [], socialLinks: n = [], co
|
|
|
4229
4244
|
children: "Social"
|
|
4230
4245
|
}
|
|
4231
4246
|
),
|
|
4232
|
-
/* @__PURE__ */ e(f, { gap: "xs", children: n.map((s,
|
|
4247
|
+
/* @__PURE__ */ e(f, { gap: "xs", children: n.map((s, m) => /* @__PURE__ */ e(
|
|
4233
4248
|
ce,
|
|
4234
4249
|
{
|
|
4235
4250
|
size: "md",
|
|
@@ -4239,10 +4254,10 @@ function Gr({ logo: a, description: d, sections: l = [], socialLinks: n = [], co
|
|
|
4239
4254
|
href: s.href,
|
|
4240
4255
|
target: "_blank",
|
|
4241
4256
|
radius: "0",
|
|
4242
|
-
"aria-label": s.label || `Social link ${
|
|
4257
|
+
"aria-label": s.label || `Social link ${m + 1}`,
|
|
4243
4258
|
children: s.icon
|
|
4244
4259
|
},
|
|
4245
|
-
|
|
4260
|
+
m
|
|
4246
4261
|
)) })
|
|
4247
4262
|
] })
|
|
4248
4263
|
]
|
|
@@ -4433,7 +4448,7 @@ function Kr({ companyName: a = "Infrastructure", legalEntity: d, productName: l
|
|
|
4433
4448
|
radius: "0",
|
|
4434
4449
|
color: "gray",
|
|
4435
4450
|
children: /* @__PURE__ */ e(
|
|
4436
|
-
|
|
4451
|
+
ge,
|
|
4437
4452
|
{
|
|
4438
4453
|
size: 32,
|
|
4439
4454
|
stroke: 1.2
|
|
@@ -5107,7 +5122,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: d, productName: l
|
|
|
5107
5122
|
radius: "0",
|
|
5108
5123
|
color: "gray",
|
|
5109
5124
|
children: /* @__PURE__ */ e(
|
|
5110
|
-
|
|
5125
|
+
ge,
|
|
5111
5126
|
{
|
|
5112
5127
|
size: 32,
|
|
5113
5128
|
stroke: 1.2
|
|
@@ -5155,7 +5170,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: d, productName: l
|
|
|
5155
5170
|
radius: "0",
|
|
5156
5171
|
color: "gray",
|
|
5157
5172
|
children: /* @__PURE__ */ e(
|
|
5158
|
-
|
|
5173
|
+
We,
|
|
5159
5174
|
{
|
|
5160
5175
|
size: 32,
|
|
5161
5176
|
stroke: 1.2
|
|
@@ -5203,7 +5218,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: d, productName: l
|
|
|
5203
5218
|
radius: "0",
|
|
5204
5219
|
color: "gray",
|
|
5205
5220
|
children: /* @__PURE__ */ e(
|
|
5206
|
-
|
|
5221
|
+
Ue,
|
|
5207
5222
|
{
|
|
5208
5223
|
size: 32,
|
|
5209
5224
|
stroke: 1.2
|
|
@@ -5273,21 +5288,21 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: d, productName: l
|
|
|
5273
5288
|
}
|
|
5274
5289
|
const or = 6, lr = 2e3;
|
|
5275
5290
|
function Xr(a, { intervalMs: d = 3e4, maxSamples: l = 40 } = {}) {
|
|
5276
|
-
const [n, t] = _({ status: "loading", checks: [], checkedAt: null, error: null, loading: !0 }), [c,
|
|
5291
|
+
const [n, t] = _({ status: "loading", checks: [], checkedAt: null, error: null, loading: !0 }), [c, g] = _([]), h = De([]);
|
|
5277
5292
|
return pe(() => {
|
|
5278
5293
|
if (!a) return;
|
|
5279
|
-
h.current = [],
|
|
5294
|
+
h.current = [], g([]);
|
|
5280
5295
|
let p = !1;
|
|
5281
5296
|
const s = (S) => {
|
|
5282
|
-
h.current = [...h.current, S].slice(-l),
|
|
5283
|
-
},
|
|
5297
|
+
h.current = [...h.current, S].slice(-l), g(h.current);
|
|
5298
|
+
}, m = () => (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit", second: "2-digit" }), o = async () => {
|
|
5284
5299
|
const S = Date.now();
|
|
5285
5300
|
try {
|
|
5286
|
-
const
|
|
5287
|
-
if (!
|
|
5288
|
-
const x = await
|
|
5301
|
+
const k = await fetch(a, { headers: { accept: "application/json" } });
|
|
5302
|
+
if (!k.ok) throw new Error(`HTTP ${k.status}`);
|
|
5303
|
+
const x = await k.json();
|
|
5289
5304
|
if (p) return;
|
|
5290
|
-
y ? y = !1 : s({ time:
|
|
5305
|
+
y ? y = !1 : s({ time: m(), ms: Date.now() - S, up: x.status !== "down" }), t({
|
|
5291
5306
|
status: x.status || "operational",
|
|
5292
5307
|
checks: x.checks || [],
|
|
5293
5308
|
checkedAt: x.checkedAt || null,
|
|
@@ -5297,7 +5312,7 @@ function Xr(a, { intervalMs: d = 3e4, maxSamples: l = 40 } = {}) {
|
|
|
5297
5312
|
});
|
|
5298
5313
|
} catch {
|
|
5299
5314
|
if (p) return;
|
|
5300
|
-
y = !1, s({ time:
|
|
5315
|
+
y = !1, s({ time: m(), ms: Date.now() - S, up: !1 }), t((x) => ({ ...x, error: "unreachable", loading: !1 }));
|
|
5301
5316
|
}
|
|
5302
5317
|
};
|
|
5303
5318
|
let y = !0, w = 0, T;
|
|
@@ -5322,8 +5337,8 @@ function sr(a, d = 12) {
|
|
|
5322
5337
|
if (a.length === 0) return [];
|
|
5323
5338
|
const l = Math.max(1, Math.ceil(a.length / d)), n = [];
|
|
5324
5339
|
for (let t = 0; t < a.length; t += l) {
|
|
5325
|
-
const c = a.slice(t, t + l),
|
|
5326
|
-
n.push({ day: c[c.length - 1].time, pct:
|
|
5340
|
+
const c = a.slice(t, t + l), g = c.filter((h) => h.up).length;
|
|
5341
|
+
n.push({ day: c[c.length - 1].time, pct: g / c.length * 100 });
|
|
5327
5342
|
}
|
|
5328
5343
|
return n;
|
|
5329
5344
|
}
|
|
@@ -5355,16 +5370,16 @@ export {
|
|
|
5355
5370
|
Vr as Pricing,
|
|
5356
5371
|
Br as ProductGrid,
|
|
5357
5372
|
J as SECTION_BACKGROUNDS,
|
|
5358
|
-
|
|
5373
|
+
Ur as SecondaryCTA,
|
|
5359
5374
|
P as Section,
|
|
5360
|
-
|
|
5375
|
+
me as SectionHeader,
|
|
5361
5376
|
_r as SeloExclusivo,
|
|
5362
5377
|
Pr as SocialProof,
|
|
5363
5378
|
Fr as StatsGrid,
|
|
5364
|
-
|
|
5365
|
-
|
|
5379
|
+
kr as StatusBoard,
|
|
5380
|
+
Er as StatusIndicator,
|
|
5366
5381
|
Nr as Steps,
|
|
5367
|
-
|
|
5382
|
+
Wr as Testimonials,
|
|
5368
5383
|
nr as TrustBadge,
|
|
5369
5384
|
Qe as Wordmark,
|
|
5370
5385
|
N as resolveBackground,
|