@ciromaciel/components-kit 1.1.1 → 1.2.1
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 +280 -263
- package/dist/index.js +3 -3
- 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 me, 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,18 +208,18 @@ const zr = be({
|
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
210
|
});
|
|
211
|
-
function ge({ badge: a, subtitle:
|
|
212
|
-
return !l && !
|
|
211
|
+
function ge({ badge: a, subtitle: d, title: l, titleOrder: n = 2, titleFz: t = "var(--fz-section-title)", ta: c = "left", maw: m }) {
|
|
212
|
+
return !l && !d && !a ? null : /* @__PURE__ */ r(
|
|
213
213
|
u,
|
|
214
214
|
{
|
|
215
215
|
gap: "xs",
|
|
216
|
-
align:
|
|
217
|
-
ta:
|
|
216
|
+
align: c === "center" ? "center" : "flex-start",
|
|
217
|
+
ta: c,
|
|
218
218
|
children: [
|
|
219
219
|
a && /* @__PURE__ */ e(
|
|
220
220
|
f,
|
|
221
221
|
{
|
|
222
|
-
justify:
|
|
222
|
+
justify: c === "center" ? "center" : "flex-start",
|
|
223
223
|
mb: "xs",
|
|
224
224
|
children: /* @__PURE__ */ e(
|
|
225
225
|
j,
|
|
@@ -233,7 +233,7 @@ function ge({ badge: a, subtitle: c, title: l, titleOrder: n = 2, titleFz: t = "
|
|
|
233
233
|
)
|
|
234
234
|
}
|
|
235
235
|
),
|
|
236
|
-
|
|
236
|
+
d && /* @__PURE__ */ e(
|
|
237
237
|
i,
|
|
238
238
|
{
|
|
239
239
|
c: "gray.4",
|
|
@@ -241,7 +241,7 @@ function ge({ badge: a, subtitle: c, title: l, titleOrder: n = 2, titleFz: t = "
|
|
|
241
241
|
fw: 800,
|
|
242
242
|
tt: "uppercase",
|
|
243
243
|
ls: "1.5px",
|
|
244
|
-
children:
|
|
244
|
+
children: d
|
|
245
245
|
}
|
|
246
246
|
),
|
|
247
247
|
l && /* @__PURE__ */ e(
|
|
@@ -257,8 +257,8 @@ function ge({ badge: a, subtitle: c, title: l, titleOrder: n = 2, titleFz: t = "
|
|
|
257
257
|
}
|
|
258
258
|
);
|
|
259
259
|
}
|
|
260
|
-
function ue({ video: a, image:
|
|
261
|
-
return a ? /* @__PURE__ */ e(
|
|
260
|
+
function ue({ video: a, image: d, width: l = "100%", maw: n, alt: t }) {
|
|
261
|
+
return a ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
262
262
|
b,
|
|
263
263
|
{
|
|
264
264
|
component: "video",
|
|
@@ -272,11 +272,11 @@ function ue({ video: a, image: c, width: l = "100%", maw: n, alt: t }) {
|
|
|
272
272
|
h: "auto",
|
|
273
273
|
style: { filter: a.filter || "none" }
|
|
274
274
|
}
|
|
275
|
-
) }) :
|
|
275
|
+
) }) : d ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
276
276
|
b,
|
|
277
277
|
{
|
|
278
278
|
component: "img",
|
|
279
|
-
src:
|
|
279
|
+
src: d,
|
|
280
280
|
alt: t || "",
|
|
281
281
|
w: l,
|
|
282
282
|
h: "auto",
|
|
@@ -286,11 +286,11 @@ function ue({ video: a, image: c, width: l = "100%", maw: n, alt: t }) {
|
|
|
286
286
|
}
|
|
287
287
|
function M({
|
|
288
288
|
label: a,
|
|
289
|
-
href:
|
|
289
|
+
href: d,
|
|
290
290
|
onClick: l,
|
|
291
291
|
icon: n,
|
|
292
292
|
size: t = "lg",
|
|
293
|
-
variant:
|
|
293
|
+
variant: c = "filled",
|
|
294
294
|
color: m,
|
|
295
295
|
target: h,
|
|
296
296
|
px: p,
|
|
@@ -300,16 +300,16 @@ function M({
|
|
|
300
300
|
...y
|
|
301
301
|
}) {
|
|
302
302
|
return /* @__PURE__ */ e(
|
|
303
|
-
|
|
303
|
+
U,
|
|
304
304
|
{
|
|
305
305
|
size: t,
|
|
306
|
-
component:
|
|
307
|
-
href:
|
|
306
|
+
component: d ? "a" : "button",
|
|
307
|
+
href: d,
|
|
308
308
|
onClick: l,
|
|
309
309
|
target: h,
|
|
310
310
|
rightSection: n,
|
|
311
311
|
leftSection: g,
|
|
312
|
-
variant:
|
|
312
|
+
variant: c,
|
|
313
313
|
color: m,
|
|
314
314
|
px: p,
|
|
315
315
|
fullWidth: s,
|
|
@@ -319,12 +319,12 @@ function M({
|
|
|
319
319
|
}
|
|
320
320
|
);
|
|
321
321
|
}
|
|
322
|
-
function Qe({ children: a, fz:
|
|
322
|
+
function Qe({ children: a, fz: d = 28, c: l = "gray.9", ...n }) {
|
|
323
323
|
return /* @__PURE__ */ e(
|
|
324
324
|
i,
|
|
325
325
|
{
|
|
326
326
|
component: "span",
|
|
327
|
-
fz:
|
|
327
|
+
fz: d,
|
|
328
328
|
fw: 900,
|
|
329
329
|
lh: 1,
|
|
330
330
|
c: l,
|
|
@@ -335,18 +335,18 @@ function Qe({ children: a, fz: c = 28, c: l = "gray.9", ...n }) {
|
|
|
335
335
|
}
|
|
336
336
|
);
|
|
337
337
|
}
|
|
338
|
-
function Z({ logo: a, objectPosition:
|
|
338
|
+
function Z({ logo: a, objectPosition: d = "left" }) {
|
|
339
339
|
return a ? Ae(a) ? a : typeof a == "object" && a.src ? /* @__PURE__ */ e(
|
|
340
340
|
"img",
|
|
341
341
|
{
|
|
342
342
|
src: a.src,
|
|
343
343
|
alt: a.alt || "",
|
|
344
344
|
height: a.height || 32,
|
|
345
|
-
style: { objectFit: "contain", objectPosition:
|
|
345
|
+
style: { objectFit: "contain", objectPosition: d }
|
|
346
346
|
}
|
|
347
347
|
) : a : null;
|
|
348
348
|
}
|
|
349
|
-
function Ye({ children: a, label:
|
|
349
|
+
function Ye({ children: a, label: d, chrome: l = !0, copy: n = !0, variant: t = "dark", style: c }) {
|
|
350
350
|
const m = typeof a == "string" ? a : String(a ?? ""), h = m.split(`
|
|
351
351
|
`).filter((o) => o.trimStart().startsWith("$ ")), p = h.length ? h.map((o) => o.trimStart().slice(2)).join(`
|
|
352
352
|
`) : m, s = t === "dark", g = s ? {
|
|
@@ -375,7 +375,7 @@ function Ye({ children: a, label: c, chrome: l = !0, copy: n = !0, variant: t =
|
|
|
375
375
|
// sem reticências. `hidden` só na vertical preserva o recorte
|
|
376
376
|
// do cabeçalho; a horizontal fica com o <pre>, que tem auto.
|
|
377
377
|
overflowY: "hidden",
|
|
378
|
-
...
|
|
378
|
+
...c
|
|
379
379
|
},
|
|
380
380
|
children: [
|
|
381
381
|
l && /* @__PURE__ */ r(
|
|
@@ -405,7 +405,7 @@ function Ye({ children: a, label: c, chrome: l = !0, copy: n = !0, variant: t =
|
|
|
405
405
|
},
|
|
406
406
|
o
|
|
407
407
|
)),
|
|
408
|
-
|
|
408
|
+
d && /* @__PURE__ */ e(
|
|
409
409
|
b,
|
|
410
410
|
{
|
|
411
411
|
component: "span",
|
|
@@ -416,7 +416,7 @@ function Ye({ children: a, label: c, chrome: l = !0, copy: n = !0, variant: t =
|
|
|
416
416
|
letterSpacing: "0.5px",
|
|
417
417
|
color: g.label
|
|
418
418
|
},
|
|
419
|
-
children:
|
|
419
|
+
children: d
|
|
420
420
|
}
|
|
421
421
|
)
|
|
422
422
|
]
|
|
@@ -481,8 +481,8 @@ 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:
|
|
485
|
-
const g = N(
|
|
484
|
+
function P({ children: a, badge: d, title: l, subtitle: n, id: t, background: c = "white", py: m = { base: 80, md: 120 }, maw: h = 800, ta: p = "left", stackGap: s = "xl" }) {
|
|
485
|
+
const g = N(c);
|
|
486
486
|
return /* @__PURE__ */ e(
|
|
487
487
|
b,
|
|
488
488
|
{
|
|
@@ -495,7 +495,7 @@ function P({ children: a, badge: c, title: l, subtitle: n, id: t, background: d
|
|
|
495
495
|
/* @__PURE__ */ e(
|
|
496
496
|
ge,
|
|
497
497
|
{
|
|
498
|
-
badge:
|
|
498
|
+
badge: d,
|
|
499
499
|
subtitle: n,
|
|
500
500
|
title: l,
|
|
501
501
|
ta: p,
|
|
@@ -507,7 +507,7 @@ function P({ children: a, badge: c, title: l, subtitle: n, id: t, background: d
|
|
|
507
507
|
}
|
|
508
508
|
);
|
|
509
509
|
}
|
|
510
|
-
function Sr({ brand: a, label:
|
|
510
|
+
function Sr({ brand: a, label: d = "Verificando sua sessão...", ...l }) {
|
|
511
511
|
return /* @__PURE__ */ e(
|
|
512
512
|
we,
|
|
513
513
|
{
|
|
@@ -542,7 +542,7 @@ function Sr({ brand: a, label: c = "Verificando sua sessão...", ...l }) {
|
|
|
542
542
|
fw: 500,
|
|
543
543
|
fz: "sm",
|
|
544
544
|
c: "gray.6",
|
|
545
|
-
children:
|
|
545
|
+
children: d
|
|
546
546
|
}
|
|
547
547
|
)
|
|
548
548
|
]
|
|
@@ -551,7 +551,7 @@ function Sr({ brand: a, label: c = "Verificando sua sessão...", ...l }) {
|
|
|
551
551
|
}
|
|
552
552
|
);
|
|
553
553
|
}
|
|
554
|
-
function Ir({ children: a, style:
|
|
554
|
+
function Ir({ children: a, style: d, ...l }) {
|
|
555
555
|
return /* @__PURE__ */ e(
|
|
556
556
|
b,
|
|
557
557
|
{
|
|
@@ -561,14 +561,14 @@ function Ir({ children: a, style: c, ...l }) {
|
|
|
561
561
|
flexDirection: "column",
|
|
562
562
|
minHeight: "100vh",
|
|
563
563
|
scrollBehavior: "smooth",
|
|
564
|
-
...
|
|
564
|
+
...d
|
|
565
565
|
},
|
|
566
566
|
children: a
|
|
567
567
|
}
|
|
568
568
|
);
|
|
569
569
|
}
|
|
570
|
-
function Xe({ logo: a, logoLink:
|
|
571
|
-
const m = N(
|
|
570
|
+
function Xe({ logo: a, logoLink: d, navLinks: l = [], loginCta: n, signupCta: t, background: c = "white" }) {
|
|
571
|
+
const m = 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
|
}, g = (o, y) => {
|
|
574
574
|
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), s(y));
|
|
@@ -604,9 +604,9 @@ function Xe({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: t,
|
|
|
604
604
|
px: { base: "xs", sm: "md" },
|
|
605
605
|
children: [
|
|
606
606
|
a && (() => {
|
|
607
|
-
const o = { display: "inline-flex", textDecoration: "none" };
|
|
608
|
-
if (
|
|
609
|
-
const { component: y = "a", ...w } =
|
|
607
|
+
const o = { display: "inline-flex", textDecoration: "none", minWidth: 0, flex: "0 1 auto" };
|
|
608
|
+
if (d) {
|
|
609
|
+
const { component: y = "a", ...w } = d;
|
|
610
610
|
return /* @__PURE__ */ e(
|
|
611
611
|
y,
|
|
612
612
|
{
|
|
@@ -630,11 +630,18 @@ function Xe({ logo: a, logoLink: c, 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",
|
|
@@ -659,57 +666,65 @@ function Xe({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: t,
|
|
|
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,7 +740,7 @@ 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:
|
|
743
|
+
function Ar({ subtitle: a, title: d, description: l, cta: n, secondaryCta: t, note: c, video: m, image: h, background: p = "white", mediaMaw: s, titleFz: g = "var(--fz-hero)", descriptionFz: o = "xl" }) {
|
|
729
744
|
const y = !!(m || h);
|
|
730
745
|
return /* @__PURE__ */ e(
|
|
731
746
|
b,
|
|
@@ -748,18 +763,18 @@ function Ar({ subtitle: a, title: c, 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(
|
|
766
|
+
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
752
767
|
ge,
|
|
753
768
|
{
|
|
754
769
|
subtitle: a,
|
|
755
|
-
title:
|
|
770
|
+
title: d,
|
|
756
771
|
titleOrder: 1,
|
|
757
772
|
titleFz: g,
|
|
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: c, 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: c, description: l, cta: n, secondaryCta: t, no
|
|
|
813
828
|
]
|
|
814
829
|
}
|
|
815
830
|
) }),
|
|
816
|
-
|
|
831
|
+
c && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
817
832
|
i,
|
|
818
833
|
{
|
|
819
834
|
size: "sm",
|
|
@@ -821,7 +836,7 @@ function Ar({ subtitle: a, title: c, description: l, cta: n, secondaryCta: t, no
|
|
|
821
836
|
maw: 620,
|
|
822
837
|
fw: 500,
|
|
823
838
|
lh: 1.7,
|
|
824
|
-
children:
|
|
839
|
+
children: c
|
|
825
840
|
}
|
|
826
841
|
) })
|
|
827
842
|
]
|
|
@@ -842,10 +857,10 @@ function Ar({ subtitle: a, title: c, description: l, cta: n, secondaryCta: t, no
|
|
|
842
857
|
}
|
|
843
858
|
);
|
|
844
859
|
}
|
|
845
|
-
function Je({ logo: a, index:
|
|
860
|
+
function Je({ logo: a, index: d }) {
|
|
846
861
|
const l = {
|
|
847
862
|
src: a.src,
|
|
848
|
-
alt: a.alt || `Logo ${
|
|
863
|
+
alt: a.alt || `Logo ${d}`,
|
|
849
864
|
h: a.height || 50,
|
|
850
865
|
w: "auto",
|
|
851
866
|
style: {
|
|
@@ -860,7 +875,7 @@ function Je({ logo: a, index: c }) {
|
|
|
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,9 +883,9 @@ function Je({ logo: a, index: c }) {
|
|
|
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
|
-
function Pr({ id: a, title:
|
|
888
|
+
function Pr({ id: a, title: d, logos: l, background: n = "gray" }) {
|
|
874
889
|
return !l || l.length === 0 ? null : /* @__PURE__ */ e(
|
|
875
890
|
b,
|
|
876
891
|
{
|
|
@@ -886,7 +901,7 @@ function Pr({ id: a, title: c, logos: l, background: n = "gray" }) {
|
|
|
886
901
|
ta: "center",
|
|
887
902
|
gap: "xl",
|
|
888
903
|
children: [
|
|
889
|
-
|
|
904
|
+
d && /* @__PURE__ */ e(
|
|
890
905
|
i,
|
|
891
906
|
{
|
|
892
907
|
fw: 500,
|
|
@@ -894,7 +909,7 @@ function Pr({ id: a, title: c, logos: l, background: n = "gray" }) {
|
|
|
894
909
|
size: "sm",
|
|
895
910
|
tt: "uppercase",
|
|
896
911
|
ls: "0.1em",
|
|
897
|
-
children:
|
|
912
|
+
children: d
|
|
898
913
|
}
|
|
899
914
|
),
|
|
900
915
|
/* @__PURE__ */ e(
|
|
@@ -904,13 +919,13 @@ function Pr({ id: a, title: c, logos: l, background: n = "gray" }) {
|
|
|
904
919
|
gap: { base: 40, md: 80 },
|
|
905
920
|
style: { rowGap: 40 },
|
|
906
921
|
w: "100%",
|
|
907
|
-
children: l.map((t,
|
|
922
|
+
children: l.map((t, c) => /* @__PURE__ */ e(
|
|
908
923
|
Je,
|
|
909
924
|
{
|
|
910
925
|
logo: t,
|
|
911
|
-
index:
|
|
926
|
+
index: c
|
|
912
927
|
},
|
|
913
|
-
|
|
928
|
+
c
|
|
914
929
|
))
|
|
915
930
|
}
|
|
916
931
|
)
|
|
@@ -920,8 +935,8 @@ function Pr({ id: a, title: c, logos: l, background: n = "gray" }) {
|
|
|
920
935
|
}
|
|
921
936
|
);
|
|
922
937
|
}
|
|
923
|
-
function qr({ id: a, subtitle:
|
|
924
|
-
const y =
|
|
938
|
+
function qr({ id: a, subtitle: d, title: l, description: n, descriptionFz: t, featuresList: c, cta: m, video: h, image: p, reverse: s = !1, background: g = "white", mediaMaw: o }) {
|
|
939
|
+
const y = c && c.length > 0 && /* @__PURE__ */ e(
|
|
925
940
|
V,
|
|
926
941
|
{
|
|
927
942
|
spacing: "md",
|
|
@@ -942,7 +957,7 @@ function qr({ id: a, subtitle: c, title: l, description: n, descriptionFz: t, fe
|
|
|
942
957
|
)
|
|
943
958
|
}
|
|
944
959
|
),
|
|
945
|
-
children:
|
|
960
|
+
children: c.map((D, S) => /* @__PURE__ */ e(V.Item, { children: D }, S))
|
|
946
961
|
}
|
|
947
962
|
), w = /* @__PURE__ */ r(
|
|
948
963
|
u,
|
|
@@ -1010,7 +1025,7 @@ function qr({ id: a, subtitle: c, title: l, description: n, descriptionFz: t, fe
|
|
|
1010
1025
|
P,
|
|
1011
1026
|
{
|
|
1012
1027
|
id: a,
|
|
1013
|
-
subtitle:
|
|
1028
|
+
subtitle: d,
|
|
1014
1029
|
title: l,
|
|
1015
1030
|
background: g,
|
|
1016
1031
|
children: /* @__PURE__ */ e(
|
|
@@ -1031,15 +1046,15 @@ function qr({ id: a, subtitle: c, title: l, description: n, descriptionFz: t, fe
|
|
|
1031
1046
|
}
|
|
1032
1047
|
);
|
|
1033
1048
|
}
|
|
1034
|
-
function Dr({ id: a, badge:
|
|
1049
|
+
function Dr({ id: a, badge: d, subtitle: l, title: n, description: t, background: c = "gray", items: m = [], ta: h = "left", note: p }) {
|
|
1035
1050
|
return /* @__PURE__ */ r(
|
|
1036
1051
|
P,
|
|
1037
1052
|
{
|
|
1038
1053
|
id: a,
|
|
1039
|
-
badge:
|
|
1054
|
+
badge: d,
|
|
1040
1055
|
subtitle: l,
|
|
1041
1056
|
title: n,
|
|
1042
|
-
background:
|
|
1057
|
+
background: c,
|
|
1043
1058
|
ta: h,
|
|
1044
1059
|
maw: h === "center" ? 900 : 800,
|
|
1045
1060
|
children: [
|
|
@@ -1082,11 +1097,11 @@ function Dr({ id: a, badge: c, subtitle: l, title: n, description: t, background
|
|
|
1082
1097
|
}
|
|
1083
1098
|
function Ze({
|
|
1084
1099
|
icon: a,
|
|
1085
|
-
iconVariant:
|
|
1100
|
+
iconVariant: d,
|
|
1086
1101
|
iconColor: l,
|
|
1087
1102
|
label: n,
|
|
1088
1103
|
title: t,
|
|
1089
|
-
titleSize:
|
|
1104
|
+
titleSize: c,
|
|
1090
1105
|
description: m,
|
|
1091
1106
|
descriptionSize: h,
|
|
1092
1107
|
descriptionMaw: p,
|
|
@@ -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,
|
|
@@ -1115,7 +1130,7 @@ function Ze({
|
|
|
1115
1130
|
{
|
|
1116
1131
|
size: 48,
|
|
1117
1132
|
radius: "0",
|
|
1118
|
-
variant:
|
|
1133
|
+
variant: d || "light",
|
|
1119
1134
|
color: l || "gray",
|
|
1120
1135
|
mb: "lg",
|
|
1121
1136
|
children: /* @__PURE__ */ e(
|
|
@@ -1142,7 +1157,7 @@ function Ze({
|
|
|
1142
1157
|
t && /* @__PURE__ */ e(
|
|
1143
1158
|
i,
|
|
1144
1159
|
{
|
|
1145
|
-
fz:
|
|
1160
|
+
fz: c || (w === "compact" ? "h4" : "h3"),
|
|
1146
1161
|
fw: 900,
|
|
1147
1162
|
lh: 1.2,
|
|
1148
1163
|
mb: "sm",
|
|
@@ -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
|
] })
|
|
@@ -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,
|
|
@@ -1375,11 +1390,11 @@ function ne(a) {
|
|
|
1375
1390
|
gap: 8,
|
|
1376
1391
|
h: a.height || 100,
|
|
1377
1392
|
preventGrowOverflow: !1,
|
|
1378
|
-
children: (a.data || []).map((
|
|
1393
|
+
children: (a.data || []).map((d, l) => /* @__PURE__ */ e(
|
|
1379
1394
|
b,
|
|
1380
1395
|
{
|
|
1381
1396
|
w: 20,
|
|
1382
|
-
h: `${
|
|
1397
|
+
h: `${d}%`,
|
|
1383
1398
|
bg: l === a.highlight ? "gray.5" : "gray.2",
|
|
1384
1399
|
radius: "0"
|
|
1385
1400
|
},
|
|
@@ -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",
|
|
@@ -1408,9 +1423,9 @@ function ne(a) {
|
|
|
1408
1423
|
}
|
|
1409
1424
|
);
|
|
1410
1425
|
case "icon-large": {
|
|
1411
|
-
const
|
|
1412
|
-
return
|
|
1413
|
-
|
|
1426
|
+
const d = a.icon;
|
|
1427
|
+
return d ? /* @__PURE__ */ e(
|
|
1428
|
+
d,
|
|
1414
1429
|
{
|
|
1415
1430
|
size: a.size || 64,
|
|
1416
1431
|
stroke: a.stroke || 1,
|
|
@@ -1422,15 +1437,15 @@ function ne(a) {
|
|
|
1422
1437
|
return null;
|
|
1423
1438
|
}
|
|
1424
1439
|
}
|
|
1425
|
-
function Fr({ id: a, subtitle:
|
|
1440
|
+
function Fr({ id: a, subtitle: d, title: l, items: n = [], cols: t, background: c = "white", ta: m = "center", note: h }) {
|
|
1426
1441
|
const p = t ?? Math.min(Math.max(n.length, 1), 4);
|
|
1427
1442
|
return /* @__PURE__ */ r(
|
|
1428
1443
|
P,
|
|
1429
1444
|
{
|
|
1430
1445
|
id: a,
|
|
1431
|
-
subtitle:
|
|
1446
|
+
subtitle: d,
|
|
1432
1447
|
title: l,
|
|
1433
|
-
background:
|
|
1448
|
+
background: c,
|
|
1434
1449
|
ta: m,
|
|
1435
1450
|
maw: 900,
|
|
1436
1451
|
children: [
|
|
@@ -1511,18 +1526,18 @@ function Fr({ id: a, subtitle: c, 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" },
|
|
1518
1533
|
loading: { color: "gray.4", chart: "gray.5", title: "Verificando os sistemas", badge: "Verificando" }
|
|
1519
1534
|
}, er = (a) => {
|
|
1520
1535
|
if (!a) return null;
|
|
1521
|
-
const
|
|
1522
|
-
return Number.isNaN(
|
|
1536
|
+
const d = new Date(a);
|
|
1537
|
+
return Number.isNaN(d.getTime()) ? null : d.toLocaleString("pt-BR", { dateStyle: "short", timeStyle: "medium" });
|
|
1523
1538
|
};
|
|
1524
|
-
function
|
|
1525
|
-
const h = m ?
|
|
1539
|
+
function kr({ service: a, status: d = "loading", checkedAt: l, checks: n = [], latency: t = [], uptime: c = [], error: m }) {
|
|
1540
|
+
const h = m ? W.down : W[d] || W.loading, p = er(l);
|
|
1526
1541
|
return /* @__PURE__ */ e(
|
|
1527
1542
|
b,
|
|
1528
1543
|
{
|
|
@@ -1592,13 +1607,13 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1592
1607
|
}
|
|
1593
1608
|
)
|
|
1594
1609
|
] }),
|
|
1595
|
-
(
|
|
1610
|
+
(c.length > 0 || t.length > 0) && /* @__PURE__ */ r(
|
|
1596
1611
|
A,
|
|
1597
1612
|
{
|
|
1598
1613
|
cols: { base: 1, md: 2 },
|
|
1599
1614
|
spacing: 48,
|
|
1600
1615
|
children: [
|
|
1601
|
-
|
|
1616
|
+
c.length > 0 && /* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
1602
1617
|
/* @__PURE__ */ r(u, { gap: 4, children: [
|
|
1603
1618
|
/* @__PURE__ */ e(
|
|
1604
1619
|
i,
|
|
@@ -1619,7 +1634,7 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1619
1634
|
lh: 1,
|
|
1620
1635
|
lts: "-0.04em",
|
|
1621
1636
|
children: [
|
|
1622
|
-
(
|
|
1637
|
+
(c.reduce((s, g) => s + g.pct, 0) / c.length).toFixed(2),
|
|
1623
1638
|
/* @__PURE__ */ e(
|
|
1624
1639
|
i,
|
|
1625
1640
|
{
|
|
@@ -1641,7 +1656,7 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1641
1656
|
h: 140,
|
|
1642
1657
|
align: "flex-end",
|
|
1643
1658
|
wrap: "nowrap",
|
|
1644
|
-
children:
|
|
1659
|
+
children: c.map((s, g) => /* @__PURE__ */ e(
|
|
1645
1660
|
se,
|
|
1646
1661
|
{
|
|
1647
1662
|
label: `${s.day} · ${s.pct.toFixed(2)}%`,
|
|
@@ -1730,7 +1745,7 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1730
1745
|
}
|
|
1731
1746
|
),
|
|
1732
1747
|
n.map((s, g) => {
|
|
1733
|
-
const o =
|
|
1748
|
+
const o = W[s.status] || W.loading;
|
|
1734
1749
|
return /* @__PURE__ */ r(
|
|
1735
1750
|
I,
|
|
1736
1751
|
{
|
|
@@ -1890,13 +1905,13 @@ 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
|
|
1908
|
+
function Er({ status: a = "loading", history: d = [], label: l, link: n, ...t }) {
|
|
1909
|
+
const c = oe[a] || oe.loading, m = d.slice(-Y), h = Array(Math.max(0, Y - m.length)).fill(null), p = [...h, ...m];
|
|
1895
1910
|
return /* @__PURE__ */ e(
|
|
1896
1911
|
de,
|
|
1897
1912
|
{
|
|
1898
1913
|
underline: "never",
|
|
1899
|
-
"aria-label": `${l ||
|
|
1914
|
+
"aria-label": `${l || c.label}. Ver página de status`,
|
|
1900
1915
|
...n,
|
|
1901
1916
|
...t,
|
|
1902
1917
|
children: /* @__PURE__ */ r(
|
|
@@ -1924,7 +1939,7 @@ function kr({ status: a = "loading", history: c = [], label: l, link: n, ...t })
|
|
|
1924
1939
|
y: 16 - o,
|
|
1925
1940
|
width: 3,
|
|
1926
1941
|
height: o,
|
|
1927
|
-
fill: s === null ? "var(--mantine-color-gray-2)" : `var(--mantine-color-${
|
|
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
|
g
|
|
@@ -1941,7 +1956,7 @@ function kr({ status: a = "loading", history: c = [], label: l, link: n, ...t })
|
|
|
1941
1956
|
ls: "1px",
|
|
1942
1957
|
c: "gray.5",
|
|
1943
1958
|
style: { whiteSpace: "nowrap" },
|
|
1944
|
-
children: l ||
|
|
1959
|
+
children: l || c.label
|
|
1945
1960
|
}
|
|
1946
1961
|
)
|
|
1947
1962
|
]
|
|
@@ -1950,12 +1965,12 @@ function kr({ status: a = "loading", history: c = [], label: l, link: n, ...t })
|
|
|
1950
1965
|
}
|
|
1951
1966
|
);
|
|
1952
1967
|
}
|
|
1953
|
-
function Br({ id: a, subtitle:
|
|
1968
|
+
function Br({ id: a, subtitle: d, title: l, description: n, items: t = [], ctaIcon: c, note: m, background: h = "white", ta: p = "center" }) {
|
|
1954
1969
|
return /* @__PURE__ */ r(
|
|
1955
1970
|
P,
|
|
1956
1971
|
{
|
|
1957
1972
|
id: a,
|
|
1958
|
-
subtitle:
|
|
1973
|
+
subtitle: d,
|
|
1959
1974
|
title: l,
|
|
1960
1975
|
background: h,
|
|
1961
1976
|
ta: p,
|
|
@@ -2057,7 +2072,7 @@ function Br({ id: a, subtitle: c, 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,
|
|
@@ -2066,7 +2081,7 @@ function Br({ id: a, subtitle: c, title: l, description: n, items: t = [], ctaIc
|
|
|
2066
2081
|
variant: "default",
|
|
2067
2082
|
size: "md",
|
|
2068
2083
|
radius: "0",
|
|
2069
|
-
rightSection:
|
|
2084
|
+
rightSection: c,
|
|
2070
2085
|
style: {
|
|
2071
2086
|
width: "100%",
|
|
2072
2087
|
justifyContent: "space-between",
|
|
@@ -2105,11 +2120,11 @@ function Br({ id: a, subtitle: c, title: l, description: n, items: t = [], ctaIc
|
|
|
2105
2120
|
}
|
|
2106
2121
|
function jr({
|
|
2107
2122
|
id: a,
|
|
2108
|
-
subtitle:
|
|
2123
|
+
subtitle: d,
|
|
2109
2124
|
title: l,
|
|
2110
2125
|
description: n,
|
|
2111
2126
|
items: t = [],
|
|
2112
|
-
categories:
|
|
2127
|
+
categories: c = [],
|
|
2113
2128
|
filtersLabel: m = "Filtrar por categoria",
|
|
2114
2129
|
note: h,
|
|
2115
2130
|
background: p = "white",
|
|
@@ -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 [g, o] = _("todas"), y = Ge("(min-width: 48em)", !1), w = Pe(() => g === "todas" ? t : [...t].sort((S,
|
|
2138
|
+
const [g, o] = _("todas"), y = Ge("(min-width: 48em)", !1), w = Pe(() => g === "todas" ? t : [...t].sort((S, k) => +(k.category === g) - +(S.category === g)), [t, g]), [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
|
|
@@ -2134,7 +2149,7 @@ function jr({
|
|
|
2134
2149
|
P,
|
|
2135
2150
|
{
|
|
2136
2151
|
id: a,
|
|
2137
|
-
subtitle:
|
|
2152
|
+
subtitle: d,
|
|
2138
2153
|
title: l,
|
|
2139
2154
|
background: p,
|
|
2140
2155
|
ta: "center",
|
|
@@ -2151,7 +2166,7 @@ function jr({
|
|
|
2151
2166
|
children: n
|
|
2152
2167
|
}
|
|
2153
2168
|
),
|
|
2154
|
-
|
|
2169
|
+
c.length > 0 && /* @__PURE__ */ e(
|
|
2155
2170
|
f,
|
|
2156
2171
|
{
|
|
2157
2172
|
gap: "xs",
|
|
@@ -2161,7 +2176,7 @@ function jr({
|
|
|
2161
2176
|
role: "group",
|
|
2162
2177
|
"aria-label": m,
|
|
2163
2178
|
className: "rlg-shelf-filters",
|
|
2164
|
-
children:
|
|
2179
|
+
children: c.map((S) => /* @__PURE__ */ e(
|
|
2165
2180
|
Se,
|
|
2166
2181
|
{
|
|
2167
2182
|
onClick: () => o(S.id),
|
|
@@ -2214,7 +2229,7 @@ const fe = (a) => ({
|
|
|
2214
2229
|
target: a.target,
|
|
2215
2230
|
rel: a.target === "_blank" ? "noopener noreferrer" : void 0
|
|
2216
2231
|
});
|
|
2217
|
-
function ar({ item: a, ctaLabel:
|
|
2232
|
+
function ar({ item: a, ctaLabel: d }) {
|
|
2218
2233
|
const l = a.icon;
|
|
2219
2234
|
return /* @__PURE__ */ r(
|
|
2220
2235
|
I,
|
|
@@ -2286,7 +2301,7 @@ function ar({ item: a, ctaLabel: c }) {
|
|
|
2286
2301
|
children: a.description
|
|
2287
2302
|
}
|
|
2288
2303
|
),
|
|
2289
|
-
|
|
2304
|
+
d && /* @__PURE__ */ r(
|
|
2290
2305
|
f,
|
|
2291
2306
|
{
|
|
2292
2307
|
className: "rlg-shelf-feature-cta",
|
|
@@ -2300,11 +2315,11 @@ function ar({ item: a, ctaLabel: c }) {
|
|
|
2300
2315
|
size: "sm",
|
|
2301
2316
|
fw: 800,
|
|
2302
2317
|
c: "gray.9",
|
|
2303
|
-
children:
|
|
2318
|
+
children: d
|
|
2304
2319
|
}
|
|
2305
2320
|
),
|
|
2306
2321
|
/* @__PURE__ */ e(
|
|
2307
|
-
|
|
2322
|
+
ke,
|
|
2308
2323
|
{
|
|
2309
2324
|
size: 16,
|
|
2310
2325
|
stroke: 2.5,
|
|
@@ -2323,7 +2338,7 @@ function ar({ item: a, ctaLabel: c }) {
|
|
|
2323
2338
|
);
|
|
2324
2339
|
}
|
|
2325
2340
|
function ir({ item: a }) {
|
|
2326
|
-
const
|
|
2341
|
+
const d = a.icon;
|
|
2327
2342
|
return /* @__PURE__ */ r(
|
|
2328
2343
|
I,
|
|
2329
2344
|
{
|
|
@@ -2352,8 +2367,8 @@ function ir({ item: a }) {
|
|
|
2352
2367
|
className: "rlg-shelf-card-body",
|
|
2353
2368
|
gap: "sm",
|
|
2354
2369
|
children: [
|
|
2355
|
-
|
|
2356
|
-
|
|
2370
|
+
d && /* @__PURE__ */ e(
|
|
2371
|
+
d,
|
|
2357
2372
|
{
|
|
2358
2373
|
size: 22,
|
|
2359
2374
|
stroke: 1.5,
|
|
@@ -2390,12 +2405,12 @@ function ir({ item: a }) {
|
|
|
2390
2405
|
}
|
|
2391
2406
|
);
|
|
2392
2407
|
}
|
|
2393
|
-
function Cr({ id: a, subtitle:
|
|
2408
|
+
function Cr({ id: a, subtitle: d, title: l, description: n, items: t = [], note: c, background: m = "gray", ta: h = "center" }) {
|
|
2394
2409
|
return /* @__PURE__ */ r(
|
|
2395
2410
|
P,
|
|
2396
2411
|
{
|
|
2397
2412
|
id: a,
|
|
2398
|
-
subtitle:
|
|
2413
|
+
subtitle: d,
|
|
2399
2414
|
title: l,
|
|
2400
2415
|
background: m,
|
|
2401
2416
|
ta: h,
|
|
@@ -2466,7 +2481,7 @@ function Cr({ id: a, subtitle: c, title: l, description: n, items: t = [], note:
|
|
|
2466
2481
|
))
|
|
2467
2482
|
}
|
|
2468
2483
|
),
|
|
2469
|
-
|
|
2484
|
+
c && /* @__PURE__ */ e(
|
|
2470
2485
|
i,
|
|
2471
2486
|
{
|
|
2472
2487
|
size: "sm",
|
|
@@ -2476,19 +2491,19 @@ function Cr({ id: a, subtitle: c, title: l, description: n, items: t = [], note:
|
|
|
2476
2491
|
maw: 720,
|
|
2477
2492
|
mx: h === "center" ? "auto" : void 0,
|
|
2478
2493
|
lh: 1.7,
|
|
2479
|
-
children:
|
|
2494
|
+
children: c
|
|
2480
2495
|
}
|
|
2481
2496
|
)
|
|
2482
2497
|
]
|
|
2483
2498
|
}
|
|
2484
2499
|
);
|
|
2485
2500
|
}
|
|
2486
|
-
function Mr({ id: a, subtitle:
|
|
2501
|
+
function Mr({ id: a, subtitle: d, title: l, description: n, cardLabel: t, items: c = [], footnote: m, background: h = "gray", ta: p = "center" }) {
|
|
2487
2502
|
return /* @__PURE__ */ r(
|
|
2488
2503
|
P,
|
|
2489
2504
|
{
|
|
2490
2505
|
id: a,
|
|
2491
|
-
subtitle:
|
|
2506
|
+
subtitle: d,
|
|
2492
2507
|
title: l,
|
|
2493
2508
|
background: h,
|
|
2494
2509
|
ta: p,
|
|
@@ -2535,7 +2550,7 @@ function Mr({ id: a, subtitle: c, 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:
|
|
2553
|
+
children: c.map((s, g) => /* @__PURE__ */ r(
|
|
2539
2554
|
i,
|
|
2540
2555
|
{
|
|
2541
2556
|
component: "li",
|
|
@@ -2592,12 +2607,12 @@ function Mr({ id: a, subtitle: c, title: l, description: n, cardLabel: t, items:
|
|
|
2592
2607
|
}
|
|
2593
2608
|
);
|
|
2594
2609
|
}
|
|
2595
|
-
function Rr({ id: a, subtitle:
|
|
2610
|
+
function Rr({ id: a, subtitle: d, title: l, description: n, avatar: t, name: c, role: m, quote: h, credentials: p = [], background: s = "white", ta: g = "center" }) {
|
|
2596
2611
|
return /* @__PURE__ */ r(
|
|
2597
2612
|
P,
|
|
2598
2613
|
{
|
|
2599
2614
|
id: a,
|
|
2600
|
-
subtitle:
|
|
2615
|
+
subtitle: d,
|
|
2601
2616
|
title: l,
|
|
2602
2617
|
background: s,
|
|
2603
2618
|
ta: g,
|
|
@@ -2644,7 +2659,7 @@ function Rr({ id: a, subtitle: c, title: l, description: n, avatar: t, name: d,
|
|
|
2644
2659
|
H,
|
|
2645
2660
|
{
|
|
2646
2661
|
src: t.src,
|
|
2647
|
-
alt: t.alt ||
|
|
2662
|
+
alt: t.alt || c || "",
|
|
2648
2663
|
w: "100%",
|
|
2649
2664
|
radius: "0",
|
|
2650
2665
|
style: {
|
|
@@ -2657,7 +2672,7 @@ function Rr({ id: a, subtitle: c, title: l, description: n, avatar: t, name: d,
|
|
|
2657
2672
|
}
|
|
2658
2673
|
) }),
|
|
2659
2674
|
/* @__PURE__ */ r(v.Col, { span: { base: 12, sm: "auto" }, children: [
|
|
2660
|
-
(
|
|
2675
|
+
(c || m) && /* @__PURE__ */ r(
|
|
2661
2676
|
f,
|
|
2662
2677
|
{
|
|
2663
2678
|
mb: "lg",
|
|
@@ -2665,14 +2680,14 @@ function Rr({ id: a, subtitle: c, title: l, description: n, avatar: t, name: d,
|
|
|
2665
2680
|
wrap: "wrap",
|
|
2666
2681
|
justify: { base: "center", sm: "flex-start" },
|
|
2667
2682
|
children: [
|
|
2668
|
-
|
|
2683
|
+
c && /* @__PURE__ */ e(
|
|
2669
2684
|
i,
|
|
2670
2685
|
{
|
|
2671
2686
|
fz: { base: "lg", md: "xl" },
|
|
2672
2687
|
fw: 800,
|
|
2673
2688
|
c: "gray.9",
|
|
2674
2689
|
style: { letterSpacing: "-0.02em" },
|
|
2675
|
-
children:
|
|
2690
|
+
children: c
|
|
2676
2691
|
}
|
|
2677
2692
|
),
|
|
2678
2693
|
m && /* @__PURE__ */ e(
|
|
@@ -2756,12 +2771,12 @@ function Rr({ id: a, subtitle: c, title: l, description: n, avatar: t, name: d,
|
|
|
2756
2771
|
}
|
|
2757
2772
|
);
|
|
2758
2773
|
}
|
|
2759
|
-
function Nr({ id: a, badge:
|
|
2774
|
+
function Nr({ id: a, badge: d, subtitle: l, title: n, description: t, items: c = [], background: m = "gray", ta: h = "center" }) {
|
|
2760
2775
|
return /* @__PURE__ */ r(
|
|
2761
2776
|
P,
|
|
2762
2777
|
{
|
|
2763
2778
|
id: a,
|
|
2764
|
-
badge:
|
|
2779
|
+
badge: d,
|
|
2765
2780
|
subtitle: l,
|
|
2766
2781
|
title: n,
|
|
2767
2782
|
background: m,
|
|
@@ -2784,10 +2799,10 @@ function Nr({ id: a, badge: c, subtitle: l, title: n, description: t, items: d =
|
|
|
2784
2799
|
/* @__PURE__ */ e(
|
|
2785
2800
|
A,
|
|
2786
2801
|
{
|
|
2787
|
-
cols: { base: 1, md:
|
|
2802
|
+
cols: { base: 1, md: c.length <= 4 ? c.length : 3 },
|
|
2788
2803
|
spacing: "xl",
|
|
2789
2804
|
verticalSpacing: { base: 56, md: "xl" },
|
|
2790
|
-
children:
|
|
2805
|
+
children: c.map((p, s) => {
|
|
2791
2806
|
const g = p.icon;
|
|
2792
2807
|
return /* @__PURE__ */ r(
|
|
2793
2808
|
b,
|
|
@@ -2866,7 +2881,7 @@ function Nr({ id: a, badge: c, subtitle: l, title: n, description: t, items: d =
|
|
|
2866
2881
|
}
|
|
2867
2882
|
);
|
|
2868
2883
|
}
|
|
2869
|
-
function Lr({ id: a, badge:
|
|
2884
|
+
function Lr({ id: a, badge: d, title: l, description: n, fields: t = [], whatsappNumber: c, messageIntro: m = "Olá! Vim pelo site.", submit: h = {}, reassurance: p, onSubmit: s }) {
|
|
2870
2885
|
const [g, 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 }));
|
|
@@ -2879,7 +2894,7 @@ function Lr({ id: a, badge: c, title: l, description: n, fields: t = [], whatsap
|
|
|
2879
2894
|
py: { base: 80, md: 120 },
|
|
2880
2895
|
bg: "gray.9",
|
|
2881
2896
|
children: /* @__PURE__ */ r(B, { size: "md", children: [
|
|
2882
|
-
|
|
2897
|
+
d && /* @__PURE__ */ e(
|
|
2883
2898
|
f,
|
|
2884
2899
|
{
|
|
2885
2900
|
justify: "center",
|
|
@@ -2891,7 +2906,7 @@ function Lr({ id: a, badge: c, title: l, description: n, fields: t = [], whatsap
|
|
|
2891
2906
|
color: "gray",
|
|
2892
2907
|
size: "lg",
|
|
2893
2908
|
radius: "0",
|
|
2894
|
-
children:
|
|
2909
|
+
children: d
|
|
2895
2910
|
}
|
|
2896
2911
|
)
|
|
2897
2912
|
}
|
|
@@ -2930,8 +2945,8 @@ function Lr({ id: a, badge: c, title: l, description: n, fields: t = [], whatsap
|
|
|
2930
2945
|
if (x.preventDefault(), w(!0), !S) return;
|
|
2931
2946
|
const L = [m, "", ...t.filter((q) => g[q.name]?.trim()).map((q) => `${q.label}: ${g[q.name]}`)].join(`
|
|
2932
2947
|
`);
|
|
2933
|
-
if (s?.(g),
|
|
2934
|
-
const q = `https://wa.me/${
|
|
2948
|
+
if (s?.(g), c) {
|
|
2949
|
+
const q = `https://wa.me/${c}?text=${encodeURIComponent(L)}`;
|
|
2935
2950
|
window.open(q, "_blank", "noopener,noreferrer");
|
|
2936
2951
|
}
|
|
2937
2952
|
}, children: /* @__PURE__ */ r(u, { gap: "md", children: [
|
|
@@ -2962,7 +2977,7 @@ function Lr({ id: a, badge: c, title: l, description: n, fields: t = [], whatsap
|
|
|
2962
2977
|
x.name
|
|
2963
2978
|
)),
|
|
2964
2979
|
/* @__PURE__ */ e(
|
|
2965
|
-
|
|
2980
|
+
U,
|
|
2966
2981
|
{
|
|
2967
2982
|
type: "submit",
|
|
2968
2983
|
size: "lg",
|
|
@@ -3018,14 +3033,14 @@ function Lr({ id: a, badge: c, title: l, description: n, fields: t = [], whatsap
|
|
|
3018
3033
|
}
|
|
3019
3034
|
);
|
|
3020
3035
|
}
|
|
3021
|
-
function Or({ id: a, subtitle:
|
|
3036
|
+
function Or({ id: a, subtitle: d, title: l, traditionalCol: n, newCol: t, background: c = "white" }) {
|
|
3022
3037
|
return /* @__PURE__ */ e(
|
|
3023
3038
|
P,
|
|
3024
3039
|
{
|
|
3025
3040
|
id: a,
|
|
3026
|
-
subtitle:
|
|
3041
|
+
subtitle: d,
|
|
3027
3042
|
title: l,
|
|
3028
|
-
background:
|
|
3043
|
+
background: c,
|
|
3029
3044
|
children: /* @__PURE__ */ e(
|
|
3030
3045
|
I,
|
|
3031
3046
|
{
|
|
@@ -3041,7 +3056,7 @@ function Or({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: t, backgr
|
|
|
3041
3056
|
/* @__PURE__ */ e(
|
|
3042
3057
|
b,
|
|
3043
3058
|
{
|
|
3044
|
-
bg:
|
|
3059
|
+
bg: c === "gray" ? "gray.1" : "white",
|
|
3045
3060
|
p: { base: 30, md: 60 },
|
|
3046
3061
|
children: /* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
3047
3062
|
/* @__PURE__ */ r(b, { children: [
|
|
@@ -3098,7 +3113,7 @@ function Or({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: t, backgr
|
|
|
3098
3113
|
/* @__PURE__ */ r(
|
|
3099
3114
|
b,
|
|
3100
3115
|
{
|
|
3101
|
-
bg:
|
|
3116
|
+
bg: c === "gray" ? "gray.1" : "white",
|
|
3102
3117
|
p: "lg",
|
|
3103
3118
|
radius: "0",
|
|
3104
3119
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
@@ -3141,7 +3156,7 @@ function Or({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: t, backgr
|
|
|
3141
3156
|
/* @__PURE__ */ e(
|
|
3142
3157
|
b,
|
|
3143
3158
|
{
|
|
3144
|
-
bg:
|
|
3159
|
+
bg: c === "gray" ? "gray.1" : "white",
|
|
3145
3160
|
p: { base: 30, md: 60 },
|
|
3146
3161
|
pos: "relative",
|
|
3147
3162
|
children: /* @__PURE__ */ r(
|
|
@@ -3209,7 +3224,7 @@ function Or({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: t, backgr
|
|
|
3209
3224
|
t.pricingBox && /* @__PURE__ */ e(
|
|
3210
3225
|
b,
|
|
3211
3226
|
{
|
|
3212
|
-
bg:
|
|
3227
|
+
bg: c === "gray" ? "gray.1" : "white",
|
|
3213
3228
|
p: "lg",
|
|
3214
3229
|
radius: "0",
|
|
3215
3230
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
@@ -3273,11 +3288,11 @@ function Or({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: t, backgr
|
|
|
3273
3288
|
}
|
|
3274
3289
|
function Vr({
|
|
3275
3290
|
id: a,
|
|
3276
|
-
badge:
|
|
3291
|
+
badge: d,
|
|
3277
3292
|
subtitle: l,
|
|
3278
3293
|
title: n,
|
|
3279
3294
|
description: t,
|
|
3280
|
-
billingOptions:
|
|
3295
|
+
billingOptions: c = [
|
|
3281
3296
|
{ label: "Mensal", value: "monthly" },
|
|
3282
3297
|
{ label: "Anual", value: "annual" }
|
|
3283
3298
|
],
|
|
@@ -3291,7 +3306,7 @@ function Vr({
|
|
|
3291
3306
|
P,
|
|
3292
3307
|
{
|
|
3293
3308
|
id: a,
|
|
3294
|
-
badge:
|
|
3309
|
+
badge: d,
|
|
3295
3310
|
subtitle: l,
|
|
3296
3311
|
title: n,
|
|
3297
3312
|
ta: "center",
|
|
@@ -3311,7 +3326,7 @@ function Vr({
|
|
|
3311
3326
|
children: t
|
|
3312
3327
|
}
|
|
3313
3328
|
),
|
|
3314
|
-
|
|
3329
|
+
c && c.length > 0 && /* @__PURE__ */ e(
|
|
3315
3330
|
u,
|
|
3316
3331
|
{
|
|
3317
3332
|
align: "center",
|
|
@@ -3325,7 +3340,7 @@ function Vr({
|
|
|
3325
3340
|
onChange: h,
|
|
3326
3341
|
radius: "0",
|
|
3327
3342
|
size: "md",
|
|
3328
|
-
data:
|
|
3343
|
+
data: c,
|
|
3329
3344
|
color: "gray.9",
|
|
3330
3345
|
bg: "white",
|
|
3331
3346
|
style: { border: "1px solid var(--mantine-color-gray-2)" }
|
|
@@ -3623,8 +3638,8 @@ function Vr({
|
|
|
3623
3638
|
}
|
|
3624
3639
|
);
|
|
3625
3640
|
}
|
|
3626
|
-
function $r({ id: a, badge:
|
|
3627
|
-
const s = Math.ceil(
|
|
3641
|
+
function $r({ id: a, badge: d, subtitle: l, title: n, description: t, questions: c = [], contactCard: m, background: h = "white", ta: p = "left" }) {
|
|
3642
|
+
const s = Math.ceil(c.length / 2), g = {
|
|
3628
3643
|
item: {
|
|
3629
3644
|
backgroundColor: h === "gray" ? "gray.1" : "white",
|
|
3630
3645
|
border: "1px solid var(--mantine-color-gray-2)"
|
|
@@ -3647,7 +3662,7 @@ function $r({ id: a, badge: c, subtitle: l, title: n, description: t, questions:
|
|
|
3647
3662
|
P,
|
|
3648
3663
|
{
|
|
3649
3664
|
id: a,
|
|
3650
|
-
badge:
|
|
3665
|
+
badge: d,
|
|
3651
3666
|
subtitle: l,
|
|
3652
3667
|
title: n,
|
|
3653
3668
|
background: h,
|
|
@@ -3680,7 +3695,7 @@ function $r({ id: a, badge: c, subtitle: l, title: n, description: t, questions:
|
|
|
3680
3695
|
radius: "0",
|
|
3681
3696
|
chevronPosition: "right",
|
|
3682
3697
|
styles: g,
|
|
3683
|
-
children:
|
|
3698
|
+
children: c.slice(0, s).map((o, y) => /* @__PURE__ */ r(
|
|
3684
3699
|
R.Item,
|
|
3685
3700
|
{
|
|
3686
3701
|
value: o.value || String(y),
|
|
@@ -3715,7 +3730,7 @@ function $r({ id: a, badge: c, subtitle: l, title: n, description: t, questions:
|
|
|
3715
3730
|
radius: "0",
|
|
3716
3731
|
chevronPosition: "right",
|
|
3717
3732
|
styles: g,
|
|
3718
|
-
children:
|
|
3733
|
+
children: c.slice(s).map((o, y) => /* @__PURE__ */ r(
|
|
3719
3734
|
R.Item,
|
|
3720
3735
|
{
|
|
3721
3736
|
value: o.value || String(s + y),
|
|
@@ -3812,20 +3827,20 @@ function $r({ id: a, badge: c, 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
|
{
|
|
3819
3834
|
id: a,
|
|
3820
3835
|
background: t,
|
|
3821
|
-
title:
|
|
3836
|
+
title: d,
|
|
3822
3837
|
subtitle: l,
|
|
3823
3838
|
children: /* @__PURE__ */ e(
|
|
3824
3839
|
A,
|
|
3825
3840
|
{
|
|
3826
3841
|
cols: { base: 1, md: n.length > 3 ? 4 : n.length || 3 },
|
|
3827
3842
|
spacing: "xl",
|
|
3828
|
-
children: n.map((
|
|
3843
|
+
children: n.map((c, m) => /* @__PURE__ */ e(
|
|
3829
3844
|
I,
|
|
3830
3845
|
{
|
|
3831
3846
|
p: "xl",
|
|
@@ -3840,7 +3855,7 @@ function Ur({ id: a, title: c, 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)"
|
|
@@ -3856,7 +3871,7 @@ function Ur({ id: a, title: c, subtitle: l, items: n = [], background: t = "gray
|
|
|
3856
3871
|
flex: 1,
|
|
3857
3872
|
children: [
|
|
3858
3873
|
'"',
|
|
3859
|
-
|
|
3874
|
+
c.content,
|
|
3860
3875
|
'"'
|
|
3861
3876
|
]
|
|
3862
3877
|
}
|
|
@@ -3873,8 +3888,8 @@ function Ur({ id: a, title: c, subtitle: l, items: n = [], background: t = "gray
|
|
|
3873
3888
|
size: "md",
|
|
3874
3889
|
radius: "0",
|
|
3875
3890
|
color: "gray",
|
|
3876
|
-
src:
|
|
3877
|
-
children:
|
|
3891
|
+
src: c.avatarSrc,
|
|
3892
|
+
children: c.initials
|
|
3878
3893
|
}
|
|
3879
3894
|
),
|
|
3880
3895
|
/* @__PURE__ */ r(u, { gap: 0, children: [
|
|
@@ -3883,7 +3898,7 @@ function Ur({ id: a, title: c, subtitle: l, items: n = [], background: t = "gray
|
|
|
3883
3898
|
{
|
|
3884
3899
|
size: "sm",
|
|
3885
3900
|
fw: 900,
|
|
3886
|
-
children:
|
|
3901
|
+
children: c.name
|
|
3887
3902
|
}
|
|
3888
3903
|
),
|
|
3889
3904
|
/* @__PURE__ */ e(
|
|
@@ -3894,7 +3909,7 @@ function Ur({ id: a, title: c, subtitle: l, items: n = [], background: t = "gray
|
|
|
3894
3909
|
tt: "uppercase",
|
|
3895
3910
|
ls: "1px",
|
|
3896
3911
|
c: "gray.5",
|
|
3897
|
-
children:
|
|
3912
|
+
children: c.role
|
|
3898
3913
|
}
|
|
3899
3914
|
)
|
|
3900
3915
|
] })
|
|
@@ -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:
|
|
3935
|
+
function ye({ id: a, subtitle: d, title: l, titleOrder: n = 2, description: t, featuresList: c, featuresLabel: m, cta: h, secondaryCta: p, background: s = "gray", ta: g = "center" }) {
|
|
3921
3936
|
return /* @__PURE__ */ e(
|
|
3922
3937
|
P,
|
|
3923
3938
|
{
|
|
@@ -3939,7 +3954,7 @@ function ye({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: t, f
|
|
|
3939
3954
|
ta: g,
|
|
3940
3955
|
gap: "xl",
|
|
3941
3956
|
children: [
|
|
3942
|
-
|
|
3957
|
+
d && /* @__PURE__ */ e(
|
|
3943
3958
|
i,
|
|
3944
3959
|
{
|
|
3945
3960
|
size: "xs",
|
|
@@ -3947,7 +3962,7 @@ function ye({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: t, f
|
|
|
3947
3962
|
tt: "uppercase",
|
|
3948
3963
|
ls: "1.5px",
|
|
3949
3964
|
c: "gray.4",
|
|
3950
|
-
children:
|
|
3965
|
+
children: d
|
|
3951
3966
|
}
|
|
3952
3967
|
),
|
|
3953
3968
|
l && // Title, e não Text: o banner costuma ser a única seção
|
|
@@ -3972,7 +3987,7 @@ function ye({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: t, f
|
|
|
3972
3987
|
children: t
|
|
3973
3988
|
}
|
|
3974
3989
|
),
|
|
3975
|
-
|
|
3990
|
+
c && c.length > 0 && /* @__PURE__ */ r(b, { ta: "left", children: [
|
|
3976
3991
|
m && /* @__PURE__ */ e(
|
|
3977
3992
|
i,
|
|
3978
3993
|
{
|
|
@@ -4002,7 +4017,7 @@ function ye({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: t, f
|
|
|
4002
4017
|
)
|
|
4003
4018
|
}
|
|
4004
4019
|
),
|
|
4005
|
-
children:
|
|
4020
|
+
children: c.map((y, w) => /* @__PURE__ */ e(V.Item, { children: /* @__PURE__ */ e(
|
|
4006
4021
|
i,
|
|
4007
4022
|
{
|
|
4008
4023
|
c: "gray.6",
|
|
@@ -4075,22 +4090,22 @@ function ye({ id: a, subtitle: c, 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");
|
|
4082
4097
|
return a.name = "robots", a.content = "noindex, follow", document.head.appendChild(a), () => a.remove();
|
|
4083
4098
|
}, []);
|
|
4084
4099
|
}
|
|
4085
|
-
function Hr({ subtitle: a = "Erro 404", title:
|
|
4100
|
+
function Hr({ subtitle: a = "Erro 404", title: d = "Esta página não existe", description: l = "O endereço está errado ou a página saiu do ar. O conteúdo do site está todo na home.", homeHref: n = "/", cta: t, background: c = "white" }) {
|
|
4086
4101
|
return tr(), /* @__PURE__ */ e(
|
|
4087
4102
|
ye,
|
|
4088
4103
|
{
|
|
4089
4104
|
subtitle: a,
|
|
4090
|
-
title:
|
|
4105
|
+
title: d,
|
|
4091
4106
|
titleOrder: 1,
|
|
4092
4107
|
description: l,
|
|
4093
|
-
background:
|
|
4108
|
+
background: c,
|
|
4094
4109
|
cta: t ?? {
|
|
4095
4110
|
label: "Voltar para a home",
|
|
4096
4111
|
href: n,
|
|
@@ -4105,7 +4120,7 @@ function Hr({ subtitle: a = "Erro 404", title: c = "Esta página não existe", d
|
|
|
4105
4120
|
}
|
|
4106
4121
|
);
|
|
4107
4122
|
}
|
|
4108
|
-
function nr({ text: a = "Selo Exclusivo", color:
|
|
4123
|
+
function nr({ text: a = "Selo Exclusivo", color: d = "green.6", background: l = "gray" }) {
|
|
4109
4124
|
const n = N(l);
|
|
4110
4125
|
return /* @__PURE__ */ e(
|
|
4111
4126
|
b,
|
|
@@ -4120,7 +4135,7 @@ function nr({ text: a = "Selo Exclusivo", color: c = "green.6", background: l =
|
|
|
4120
4135
|
/* @__PURE__ */ e(
|
|
4121
4136
|
z,
|
|
4122
4137
|
{
|
|
4123
|
-
color:
|
|
4138
|
+
color: d,
|
|
4124
4139
|
variant: "light",
|
|
4125
4140
|
size: "sm",
|
|
4126
4141
|
children: /* @__PURE__ */ e(
|
|
@@ -4148,7 +4163,7 @@ function nr({ text: a = "Selo Exclusivo", color: c = "green.6", background: l =
|
|
|
4148
4163
|
);
|
|
4149
4164
|
}
|
|
4150
4165
|
const _r = nr;
|
|
4151
|
-
function Gr({ logo: a, description:
|
|
4166
|
+
function Gr({ logo: a, description: d, sections: l = [], socialLinks: n = [], copyrightText: t, madeByText: c, background: m = "white", status: h }) {
|
|
4152
4167
|
const p = N(m);
|
|
4153
4168
|
return /* @__PURE__ */ e(
|
|
4154
4169
|
b,
|
|
@@ -4166,14 +4181,14 @@ function Gr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4166
4181
|
children: [
|
|
4167
4182
|
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
4168
4183
|
a && /* @__PURE__ */ e(Z, { logo: a }),
|
|
4169
|
-
|
|
4184
|
+
d && /* @__PURE__ */ e(
|
|
4170
4185
|
i,
|
|
4171
4186
|
{
|
|
4172
4187
|
size: "md",
|
|
4173
4188
|
c: "gray.6",
|
|
4174
4189
|
lh: 1.6,
|
|
4175
4190
|
maw: 400,
|
|
4176
|
-
children:
|
|
4191
|
+
children: d
|
|
4177
4192
|
}
|
|
4178
4193
|
),
|
|
4179
4194
|
h
|
|
@@ -4279,7 +4294,7 @@ function Gr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4279
4294
|
children: t
|
|
4280
4295
|
}
|
|
4281
4296
|
),
|
|
4282
|
-
|
|
4297
|
+
c && /* @__PURE__ */ e(
|
|
4283
4298
|
i,
|
|
4284
4299
|
{
|
|
4285
4300
|
size: "xs",
|
|
@@ -4287,7 +4302,7 @@ function Gr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4287
4302
|
tt: "uppercase",
|
|
4288
4303
|
ls: "1px",
|
|
4289
4304
|
c: "gray.5",
|
|
4290
|
-
children:
|
|
4305
|
+
children: c
|
|
4291
4306
|
}
|
|
4292
4307
|
)
|
|
4293
4308
|
]
|
|
@@ -4297,8 +4312,8 @@ function Gr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4297
4312
|
}
|
|
4298
4313
|
);
|
|
4299
4314
|
}
|
|
4300
|
-
function Kr({ companyName: a = "Infrastructure", legalEntity:
|
|
4301
|
-
const n =
|
|
4315
|
+
function Kr({ companyName: a = "Infrastructure", legalEntity: d, productName: l = "nossos produtos" }) {
|
|
4316
|
+
const n = d || a, t = n.split(" (")[0];
|
|
4302
4317
|
return /* @__PURE__ */ e(
|
|
4303
4318
|
b,
|
|
4304
4319
|
{
|
|
@@ -4608,8 +4623,8 @@ function Kr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4608
4623
|
}
|
|
4609
4624
|
);
|
|
4610
4625
|
}
|
|
4611
|
-
function Qr({ companyName: a = "Infrastructure", legalEntity:
|
|
4612
|
-
const
|
|
4626
|
+
function Qr({ companyName: a = "Infrastructure", legalEntity: d, productName: l = "nossos produtos", lastUpdated: n = "20 de setembro de 2026" }) {
|
|
4627
|
+
const t = d || a, c = t.split(" (")[0];
|
|
4613
4628
|
return /* @__PURE__ */ e(
|
|
4614
4629
|
b,
|
|
4615
4630
|
{
|
|
@@ -4657,7 +4672,7 @@ function Qr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4657
4672
|
"Bem-vindo ao ",
|
|
4658
4673
|
/* @__PURE__ */ e("strong", { children: l }),
|
|
4659
4674
|
". Este documento constitui um contrato vinculativo entre você e ",
|
|
4660
|
-
|
|
4675
|
+
t,
|
|
4661
4676
|
". Ao acessar a plataforma, criar uma conta ou utilizar qualquer funcionalidade do software, você confirma que leu, entendeu e aceita integralmente estes termos."
|
|
4662
4677
|
]
|
|
4663
4678
|
}
|
|
@@ -4715,7 +4730,7 @@ function Qr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4715
4730
|
c: "gray.6",
|
|
4716
4731
|
lh: 1.7,
|
|
4717
4732
|
children: [
|
|
4718
|
-
|
|
4733
|
+
c,
|
|
4719
4734
|
" concede a você uma licença limitada, revogável, não exclusiva e intransferível para utilizar o ",
|
|
4720
4735
|
l,
|
|
4721
4736
|
" como um serviço (SaaS). Esta licença é estritamente para os fins descritos em sua modalidade de assinatura. É expressamente proibido: (a) realizar engenharia reversa; (b) sublicenciar o acesso sem autorização prévia por escrito; (c) utilizar o software para desenvolver produtos concorrentes ou (d) contornar quaisquer limitações técnicas impostas ao sistema."
|
|
@@ -4769,7 +4784,7 @@ function Qr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4769
4784
|
lh: 1.7,
|
|
4770
4785
|
children: [
|
|
4771
4786
|
"A segurança da sua conta é uma responsabilidade compartilhada. Você deve fornecer informações precisas e manter a confidencialidade de suas senhas. Qualquer uso indevido da conta por terceiros, resultante de negligência do usuário, será de sua inteira responsabilidade.",
|
|
4772
|
-
|
|
4787
|
+
c,
|
|
4773
4788
|
" reserva-se o direito de suspender contas que apresentem comportamento suspeito ou que violem as normas de segurança da infraestrutura."
|
|
4774
4789
|
]
|
|
4775
4790
|
}
|
|
@@ -4823,7 +4838,7 @@ function Qr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4823
4838
|
"Todo o código-fonte, design, interfaces, logotipos e textos do ",
|
|
4824
4839
|
l,
|
|
4825
4840
|
" são propriedade exclusiva de ",
|
|
4826
|
-
|
|
4841
|
+
c,
|
|
4827
4842
|
". No entanto, você retém todos os direitos sobre o conteúdo e dados que inseridos no sistema. Ao utilizar o produto, você nos concede apenas uma licença técnica, mundial e livre de royalties, para hospedar, copiar e exibir tais dados conforme necessário para prestar o serviço contratado."
|
|
4828
4843
|
]
|
|
4829
4844
|
}
|
|
@@ -4931,7 +4946,7 @@ function Qr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4931
4946
|
" é fornecido ",
|
|
4932
4947
|
/* @__PURE__ */ e("em", { children: '"as is"' }),
|
|
4933
4948
|
" (como está). Embora busquemos a excelência técnica, ",
|
|
4934
|
-
|
|
4949
|
+
c,
|
|
4935
4950
|
" não garante que o software seja livre de erros ou interrupções. Em nenhuma hipótese a companhia será responsável por danos indiretos, lucros cessantes ou qualquer perda de dados que ultrapasse o valor total pago pelo usuário nos últimos 12 meses."
|
|
4936
4951
|
]
|
|
4937
4952
|
}
|
|
@@ -4963,8 +4978,10 @@ function Qr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4963
4978
|
lh: 1.8,
|
|
4964
4979
|
children: [
|
|
4965
4980
|
"Reservamo-nos o direito de alterar estes Termos a qualquer momento. Alterações substanciais serão comunicadas com pelo menos 30 dias de antecedência. Este contrato é regido pelas leis da República Federativa do Brasil, sendo eleito o foro da comarca da sede de ",
|
|
4966
|
-
|
|
4967
|
-
" para dirimir quaisquer controvérsias. Última atualização:
|
|
4981
|
+
c,
|
|
4982
|
+
" para dirimir quaisquer controvérsias. Última atualização: ",
|
|
4983
|
+
n,
|
|
4984
|
+
"."
|
|
4968
4985
|
]
|
|
4969
4986
|
}
|
|
4970
4987
|
)
|
|
@@ -4973,8 +4990,8 @@ function Qr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4973
4990
|
}
|
|
4974
4991
|
);
|
|
4975
4992
|
}
|
|
4976
|
-
function Yr({ companyName: a = "Infrastructure", legalEntity:
|
|
4977
|
-
const n =
|
|
4993
|
+
function Yr({ companyName: a = "Infrastructure", legalEntity: d, productName: l = "nossos produtos" }) {
|
|
4994
|
+
const n = d || a;
|
|
4978
4995
|
return n.split(" (")[0], /* @__PURE__ */ e(
|
|
4979
4996
|
b,
|
|
4980
4997
|
{
|
|
@@ -5153,7 +5170,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5153
5170
|
radius: "0",
|
|
5154
5171
|
color: "gray",
|
|
5155
5172
|
children: /* @__PURE__ */ e(
|
|
5156
|
-
|
|
5173
|
+
We,
|
|
5157
5174
|
{
|
|
5158
5175
|
size: 32,
|
|
5159
5176
|
stroke: 1.2
|
|
@@ -5201,7 +5218,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5201
5218
|
radius: "0",
|
|
5202
5219
|
color: "gray",
|
|
5203
5220
|
children: /* @__PURE__ */ e(
|
|
5204
|
-
|
|
5221
|
+
Ue,
|
|
5205
5222
|
{
|
|
5206
5223
|
size: 32,
|
|
5207
5224
|
stroke: 1.2
|
|
@@ -5270,8 +5287,8 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5270
5287
|
);
|
|
5271
5288
|
}
|
|
5272
5289
|
const or = 6, lr = 2e3;
|
|
5273
|
-
function Xr(a, { intervalMs:
|
|
5274
|
-
const [n, t] = _({ status: "loading", checks: [], checkedAt: null, error: null, loading: !0 }), [
|
|
5290
|
+
function Xr(a, { intervalMs: d = 3e4, maxSamples: l = 40 } = {}) {
|
|
5291
|
+
const [n, t] = _({ status: "loading", checks: [], checkedAt: null, error: null, loading: !0 }), [c, m] = _([]), h = De([]);
|
|
5275
5292
|
return pe(() => {
|
|
5276
5293
|
if (!a) return;
|
|
5277
5294
|
h.current = [], m([]);
|
|
@@ -5281,9 +5298,9 @@ function Xr(a, { intervalMs: c = 3e4, maxSamples: l = 40 } = {}) {
|
|
|
5281
5298
|
}, g = () => (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit", second: "2-digit" }), o = async () => {
|
|
5282
5299
|
const S = Date.now();
|
|
5283
5300
|
try {
|
|
5284
|
-
const
|
|
5285
|
-
if (!
|
|
5286
|
-
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();
|
|
5287
5304
|
if (p) return;
|
|
5288
5305
|
y ? y = !1 : s({ time: g(), ms: Date.now() - S, up: x.status !== "down" }), t({
|
|
5289
5306
|
status: x.status || "operational",
|
|
@@ -5300,28 +5317,28 @@ function Xr(a, { intervalMs: c = 3e4, maxSamples: l = 40 } = {}) {
|
|
|
5300
5317
|
};
|
|
5301
5318
|
let y = !0, w = 0, T;
|
|
5302
5319
|
const D = async () => {
|
|
5303
|
-
await o(), !p && (w += 1, T = setTimeout(D, w < or ? lr :
|
|
5320
|
+
await o(), !p && (w += 1, T = setTimeout(D, w < or ? lr : d));
|
|
5304
5321
|
};
|
|
5305
5322
|
return D(), () => {
|
|
5306
5323
|
p = !0, clearTimeout(T);
|
|
5307
5324
|
};
|
|
5308
|
-
}, [a,
|
|
5325
|
+
}, [a, d, l]), {
|
|
5309
5326
|
...n,
|
|
5310
|
-
latency:
|
|
5327
|
+
latency: c.map((p) => ({ time: p.time, ms: p.ms })),
|
|
5311
5328
|
// A "disponibilidade" aqui é a das amostras desta sessão, agrupadas em
|
|
5312
5329
|
// blocos — não um SLA de 90 dias. O rótulo na página diz isso.
|
|
5313
|
-
uptime: sr(
|
|
5330
|
+
uptime: sr(c),
|
|
5314
5331
|
// 1 = respondeu, 0.25 = falhou. Zero puro sumiria da barra e a falha
|
|
5315
5332
|
// ficaria invisível justamente quando importa.
|
|
5316
|
-
history:
|
|
5333
|
+
history: c.map((p) => p.up ? 1 : 0.25)
|
|
5317
5334
|
};
|
|
5318
5335
|
}
|
|
5319
|
-
function sr(a,
|
|
5336
|
+
function sr(a, d = 12) {
|
|
5320
5337
|
if (a.length === 0) return [];
|
|
5321
|
-
const l = Math.max(1, Math.ceil(a.length /
|
|
5338
|
+
const l = Math.max(1, Math.ceil(a.length / d)), n = [];
|
|
5322
5339
|
for (let t = 0; t < a.length; t += l) {
|
|
5323
|
-
const
|
|
5324
|
-
n.push({ day:
|
|
5340
|
+
const c = a.slice(t, t + l), m = c.filter((h) => h.up).length;
|
|
5341
|
+
n.push({ day: c[c.length - 1].time, pct: m / c.length * 100 });
|
|
5325
5342
|
}
|
|
5326
5343
|
return n;
|
|
5327
5344
|
}
|
|
@@ -5353,16 +5370,16 @@ export {
|
|
|
5353
5370
|
Vr as Pricing,
|
|
5354
5371
|
Br as ProductGrid,
|
|
5355
5372
|
J as SECTION_BACKGROUNDS,
|
|
5356
|
-
|
|
5373
|
+
Ur as SecondaryCTA,
|
|
5357
5374
|
P as Section,
|
|
5358
5375
|
ge as SectionHeader,
|
|
5359
5376
|
_r as SeloExclusivo,
|
|
5360
5377
|
Pr as SocialProof,
|
|
5361
5378
|
Fr as StatsGrid,
|
|
5362
|
-
|
|
5363
|
-
|
|
5379
|
+
kr as StatusBoard,
|
|
5380
|
+
Er as StatusIndicator,
|
|
5364
5381
|
Nr as Steps,
|
|
5365
|
-
|
|
5382
|
+
Wr as Testimonials,
|
|
5366
5383
|
nr as TrustBadge,
|
|
5367
5384
|
Qe as Wordmark,
|
|
5368
5385
|
N as resolveBackground,
|