@ciromaciel/components-kit 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components-kit.css +1 -1
- package/dist/index.esm.js +657 -652
- package/dist/index.js +3 -3
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { createTheme as ve, Stack as
|
|
1
|
+
import { createTheme as ve, Stack as u, Group as f, Badge as P, Text as t, Title as q, Center as E, Box as x, Button as U, CopyButton as Se, Tooltip as re, ActionIcon as Y, useMantineColorScheme as Ie, Container as B, Flex as Te, Loader as Ae, Paper as T, SimpleGrid as A, Image as _, List as $, ThemeIcon as S, Grid as v, RingProgress as Fe, Anchor as me, UnstyledButton as ke, TextInput as te, Divider as j, SegmentedControl as De, Accordion as N, Avatar as qe } from "@mantine/core";
|
|
2
2
|
import { jsxs as r, jsx as e, Fragment as ne } from "react/jsx-runtime";
|
|
3
3
|
import { isValidElement as Ce, useState as H, useMemo as Ee, Fragment as Be, useEffect as ue, useRef as Pe } from "react";
|
|
4
4
|
import { IconCheck as G, IconCopy as je, IconMoon as Me, IconSun as Ne, IconDeviceDesktop as Oe, IconArrowUpRight as Le, IconShieldCheck as fe, IconBolt as ie, IconQuote as Re, IconArrowLeft as $e, IconCircleCheck as Ve, IconCloudLock as ye, IconEyeOff as We, IconUserShield as Ue, IconScale as _e, IconUserCheck as He, IconFileDescription as Ge, IconBan as Ke, IconAlertCircle as Qe, IconShieldLock as Xe, IconDatabase as Ye, IconUsers as Je, IconActivity as Ze } from "@tabler/icons-react";
|
|
5
5
|
import { useMounted as er, useWindowScroll as rr, useMediaQuery as ar } from "@mantine/hooks";
|
|
6
6
|
import { AreaChart as tr } from "@mantine/charts";
|
|
7
|
-
const
|
|
7
|
+
const Br = ve({
|
|
8
8
|
fontFamily: 'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
|
|
9
9
|
headings: {
|
|
10
10
|
fontFamily: 'Montserrat, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif',
|
|
@@ -233,16 +233,16 @@ const Er = ve({
|
|
|
233
233
|
}
|
|
234
234
|
}
|
|
235
235
|
});
|
|
236
|
-
function xe({ badge: a, subtitle:
|
|
237
|
-
return !l && !
|
|
238
|
-
|
|
236
|
+
function xe({ badge: a, subtitle: s, title: l, titleOrder: i = 2, titleFz: n = "var(--fz-section-title)", ta: o = "left", maw: g }) {
|
|
237
|
+
return !l && !s && !a ? null : /* @__PURE__ */ r(
|
|
238
|
+
u,
|
|
239
239
|
{
|
|
240
240
|
gap: "xs",
|
|
241
241
|
align: o === "center" ? "center" : "flex-start",
|
|
242
242
|
ta: o,
|
|
243
243
|
children: [
|
|
244
244
|
a && /* @__PURE__ */ e(
|
|
245
|
-
|
|
245
|
+
f,
|
|
246
246
|
{
|
|
247
247
|
justify: o === "center" ? "center" : "flex-start",
|
|
248
248
|
mb: "xs",
|
|
@@ -258,7 +258,7 @@ function xe({ badge: a, subtitle: c, title: l, titleOrder: i = 2, titleFz: n = "
|
|
|
258
258
|
)
|
|
259
259
|
}
|
|
260
260
|
),
|
|
261
|
-
|
|
261
|
+
s && /* @__PURE__ */ e(
|
|
262
262
|
t,
|
|
263
263
|
{
|
|
264
264
|
c: "gray.4",
|
|
@@ -266,11 +266,11 @@ function xe({ badge: a, subtitle: c, title: l, titleOrder: i = 2, titleFz: n = "
|
|
|
266
266
|
fw: 800,
|
|
267
267
|
tt: "uppercase",
|
|
268
268
|
lts: "1.5px",
|
|
269
|
-
children:
|
|
269
|
+
children: s
|
|
270
270
|
}
|
|
271
271
|
),
|
|
272
272
|
l && /* @__PURE__ */ e(
|
|
273
|
-
|
|
273
|
+
q,
|
|
274
274
|
{
|
|
275
275
|
order: i,
|
|
276
276
|
fz: n,
|
|
@@ -282,7 +282,7 @@ function xe({ badge: a, subtitle: c, title: l, titleOrder: i = 2, titleFz: n = "
|
|
|
282
282
|
}
|
|
283
283
|
);
|
|
284
284
|
}
|
|
285
|
-
function be({ video: a, image:
|
|
285
|
+
function be({ video: a, image: s, width: l = "100%", maw: i, alt: n }) {
|
|
286
286
|
return a ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
287
287
|
x,
|
|
288
288
|
{
|
|
@@ -297,11 +297,11 @@ function be({ video: a, image: c, width: l = "100%", maw: i, alt: n }) {
|
|
|
297
297
|
h: "auto",
|
|
298
298
|
style: { filter: a.filter || "none" }
|
|
299
299
|
}
|
|
300
|
-
) }) :
|
|
300
|
+
) }) : s ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
301
301
|
x,
|
|
302
302
|
{
|
|
303
303
|
component: "img",
|
|
304
|
-
src:
|
|
304
|
+
src: s,
|
|
305
305
|
alt: n || "",
|
|
306
306
|
w: l,
|
|
307
307
|
h: "auto",
|
|
@@ -311,45 +311,45 @@ function be({ video: a, image: c, width: l = "100%", maw: i, alt: n }) {
|
|
|
311
311
|
}
|
|
312
312
|
function M({
|
|
313
313
|
label: a,
|
|
314
|
-
href:
|
|
314
|
+
href: s,
|
|
315
315
|
onClick: l,
|
|
316
316
|
icon: i,
|
|
317
317
|
size: n = "lg",
|
|
318
318
|
variant: o = "filled",
|
|
319
319
|
color: g,
|
|
320
320
|
target: d,
|
|
321
|
-
px:
|
|
322
|
-
fullWidth:
|
|
321
|
+
px: p,
|
|
322
|
+
fullWidth: c,
|
|
323
323
|
leftSection: m,
|
|
324
|
-
className:
|
|
325
|
-
...
|
|
324
|
+
className: h,
|
|
325
|
+
...b
|
|
326
326
|
}) {
|
|
327
327
|
return /* @__PURE__ */ e(
|
|
328
328
|
U,
|
|
329
329
|
{
|
|
330
330
|
size: n,
|
|
331
|
-
component:
|
|
332
|
-
href:
|
|
331
|
+
component: s ? "a" : "button",
|
|
332
|
+
href: s,
|
|
333
333
|
onClick: l,
|
|
334
334
|
target: d,
|
|
335
335
|
rightSection: i,
|
|
336
336
|
leftSection: m,
|
|
337
337
|
variant: o,
|
|
338
338
|
color: g,
|
|
339
|
-
px:
|
|
340
|
-
fullWidth:
|
|
341
|
-
className:
|
|
342
|
-
...
|
|
339
|
+
px: p,
|
|
340
|
+
fullWidth: c,
|
|
341
|
+
className: h ? `rlg-cta ${h}` : "rlg-cta",
|
|
342
|
+
...b,
|
|
343
343
|
children: a
|
|
344
344
|
}
|
|
345
345
|
);
|
|
346
346
|
}
|
|
347
|
-
function nr({ children: a, fz:
|
|
347
|
+
function nr({ children: a, fz: s = 28, c: l = "gray.9", ...i }) {
|
|
348
348
|
return /* @__PURE__ */ e(
|
|
349
349
|
t,
|
|
350
350
|
{
|
|
351
351
|
component: "span",
|
|
352
|
-
fz:
|
|
352
|
+
fz: s,
|
|
353
353
|
fw: 900,
|
|
354
354
|
lh: 1,
|
|
355
355
|
c: l,
|
|
@@ -360,21 +360,22 @@ function nr({ children: a, fz: c = 28, c: l = "gray.9", ...i }) {
|
|
|
360
360
|
}
|
|
361
361
|
);
|
|
362
362
|
}
|
|
363
|
-
function ee({ logo: a, objectPosition:
|
|
363
|
+
function ee({ logo: a, objectPosition: s = "left" }) {
|
|
364
364
|
return a ? Ce(a) ? a : typeof a == "object" && a.src ? /* @__PURE__ */ e(
|
|
365
365
|
"img",
|
|
366
366
|
{
|
|
367
367
|
src: a.src,
|
|
368
368
|
alt: a.alt || "",
|
|
369
369
|
height: a.height || 32,
|
|
370
|
-
|
|
370
|
+
"data-invert-dark": a.invertDark === !1 ? void 0 : "",
|
|
371
|
+
style: { objectFit: "contain", objectPosition: s }
|
|
371
372
|
}
|
|
372
373
|
) : a : null;
|
|
373
374
|
}
|
|
374
|
-
function ir({ children: a, label:
|
|
375
|
+
function ir({ children: a, label: s, chrome: l = !0, copy: i = !0, variant: n = "dark", style: o }) {
|
|
375
376
|
const g = typeof a == "string" ? a : String(a ?? ""), d = g.split(`
|
|
376
|
-
`).filter((
|
|
377
|
-
`) : g,
|
|
377
|
+
`).filter((h) => h.trimStart().startsWith("$ ")), p = d.length ? d.map((h) => h.trimStart().slice(2)).join(`
|
|
378
|
+
`) : g, c = n === "dark", m = c ? {
|
|
378
379
|
shell: "#11181C",
|
|
379
380
|
bar: "rgba(255, 255, 255, 0.06)",
|
|
380
381
|
line: "rgba(255, 255, 255, 0.10)",
|
|
@@ -393,7 +394,7 @@ function ir({ children: a, label: c, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
393
394
|
x,
|
|
394
395
|
{
|
|
395
396
|
style: {
|
|
396
|
-
border: `1px solid ${
|
|
397
|
+
border: `1px solid ${c ? "var(--rlg-shell-edge, #11181C)" : "var(--mantine-color-gray-3)"}`,
|
|
397
398
|
background: m.shell,
|
|
398
399
|
// `overflow: hidden` aqui cortava o código em vez de deixar o
|
|
399
400
|
// <pre> rolar: a linha longa ficava inacessível, sem barra e
|
|
@@ -404,7 +405,7 @@ function ir({ children: a, label: c, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
404
405
|
},
|
|
405
406
|
children: [
|
|
406
407
|
l && /* @__PURE__ */ r(
|
|
407
|
-
|
|
408
|
+
f,
|
|
408
409
|
{
|
|
409
410
|
justify: "space-between",
|
|
410
411
|
wrap: "nowrap",
|
|
@@ -416,21 +417,21 @@ function ir({ children: a, label: c, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
416
417
|
},
|
|
417
418
|
children: [
|
|
418
419
|
/* @__PURE__ */ r(
|
|
419
|
-
|
|
420
|
+
f,
|
|
420
421
|
{
|
|
421
422
|
gap: 6,
|
|
422
423
|
wrap: "nowrap",
|
|
423
424
|
children: [
|
|
424
|
-
[0, 1, 2].map((
|
|
425
|
+
[0, 1, 2].map((h) => /* @__PURE__ */ e(
|
|
425
426
|
x,
|
|
426
427
|
{
|
|
427
428
|
w: 9,
|
|
428
429
|
h: 9,
|
|
429
430
|
style: { borderRadius: "50%", background: m.dot }
|
|
430
431
|
},
|
|
431
|
-
|
|
432
|
+
h
|
|
432
433
|
)),
|
|
433
|
-
|
|
434
|
+
s && /* @__PURE__ */ e(
|
|
434
435
|
x,
|
|
435
436
|
{
|
|
436
437
|
component: "span",
|
|
@@ -441,7 +442,7 @@ function ir({ children: a, label: c, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
441
442
|
letterSpacing: "0.5px",
|
|
442
443
|
color: m.label
|
|
443
444
|
},
|
|
444
|
-
children:
|
|
445
|
+
children: s
|
|
445
446
|
}
|
|
446
447
|
)
|
|
447
448
|
]
|
|
@@ -450,12 +451,12 @@ function ir({ children: a, label: c, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
450
451
|
i && /* @__PURE__ */ e(
|
|
451
452
|
Se,
|
|
452
453
|
{
|
|
453
|
-
value:
|
|
454
|
+
value: p,
|
|
454
455
|
timeout: 1600,
|
|
455
|
-
children: ({ copied:
|
|
456
|
+
children: ({ copied: h, copy: b }) => /* @__PURE__ */ e(
|
|
456
457
|
re,
|
|
457
458
|
{
|
|
458
|
-
label:
|
|
459
|
+
label: h ? "Copiado" : "Copiar",
|
|
459
460
|
withArrow: !0,
|
|
460
461
|
position: "left",
|
|
461
462
|
children: /* @__PURE__ */ e(
|
|
@@ -464,12 +465,12 @@ function ir({ children: a, label: c, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
464
465
|
variant: "subtle",
|
|
465
466
|
size: "sm",
|
|
466
467
|
radius: "0",
|
|
467
|
-
onClick:
|
|
468
|
+
onClick: b,
|
|
468
469
|
"aria-label": "Copiar codigo",
|
|
469
470
|
style: {
|
|
470
|
-
color:
|
|
471
|
+
color: h ? "var(--mantine-color-green-4)" : m.label
|
|
471
472
|
},
|
|
472
|
-
children:
|
|
473
|
+
children: h ? /* @__PURE__ */ e(G, { size: 14 }) : /* @__PURE__ */ e(je, { size: 14 })
|
|
473
474
|
}
|
|
474
475
|
)
|
|
475
476
|
}
|
|
@@ -503,7 +504,7 @@ function ir({ children: a, label: c, chrome: l = !0, copy: i = !0, variant: n =
|
|
|
503
504
|
);
|
|
504
505
|
}
|
|
505
506
|
const le = { auto: "light", light: "dark", dark: "auto" }, oe = { auto: "Automático", light: "Claro", dark: "Escuro" }, lr = { auto: Oe, light: Ne, dark: Me };
|
|
506
|
-
function
|
|
507
|
+
function or({ size: a = 36, ...s }) {
|
|
507
508
|
const { colorScheme: l, setColorScheme: i } = Ie(), o = er() ? l : "auto", g = lr[o], d = `Tema: ${oe[o]}. Mudar para ${oe[le[o]]}.`;
|
|
508
509
|
return /* @__PURE__ */ e(
|
|
509
510
|
re,
|
|
@@ -521,7 +522,7 @@ function Br({ size: a = 36, ...c }) {
|
|
|
521
522
|
radius: 0,
|
|
522
523
|
"aria-label": d,
|
|
523
524
|
onClick: () => i(le[o]),
|
|
524
|
-
...
|
|
525
|
+
...s,
|
|
525
526
|
children: /* @__PURE__ */ e(
|
|
526
527
|
g,
|
|
527
528
|
{
|
|
@@ -541,7 +542,7 @@ const Z = {
|
|
|
541
542
|
white: "gray.0",
|
|
542
543
|
gray: "gray.1"
|
|
543
544
|
}, O = (a) => a === "gray.9" || a === "dark" ? Z.gray : a === "white" ? Z.white : Z.gray;
|
|
544
|
-
function F({ children: a, badge:
|
|
545
|
+
function F({ children: a, badge: s, title: l, subtitle: i, id: n, background: o = "white", py: g = { base: 80, md: 120 }, maw: d = 800, ta: p = "left", stackGap: c = "xl" }) {
|
|
545
546
|
const m = O(o);
|
|
546
547
|
return /* @__PURE__ */ e(
|
|
547
548
|
x,
|
|
@@ -551,14 +552,14 @@ function F({ children: a, badge: c, title: l, subtitle: i, id: n, background: o
|
|
|
551
552
|
bg: m,
|
|
552
553
|
py: g,
|
|
553
554
|
style: { overflow: "hidden" },
|
|
554
|
-
children: /* @__PURE__ */ e(B, { size: "lg", children: /* @__PURE__ */ r(
|
|
555
|
+
children: /* @__PURE__ */ e(B, { size: "lg", children: /* @__PURE__ */ r(u, { gap: c, children: [
|
|
555
556
|
/* @__PURE__ */ e(
|
|
556
557
|
xe,
|
|
557
558
|
{
|
|
558
|
-
badge:
|
|
559
|
+
badge: s,
|
|
559
560
|
subtitle: i,
|
|
560
561
|
title: l,
|
|
561
|
-
ta:
|
|
562
|
+
ta: p,
|
|
562
563
|
maw: d
|
|
563
564
|
}
|
|
564
565
|
),
|
|
@@ -567,7 +568,7 @@ function F({ children: a, badge: c, title: l, subtitle: i, id: n, background: o
|
|
|
567
568
|
}
|
|
568
569
|
);
|
|
569
570
|
}
|
|
570
|
-
function Pr({ brand: a, label:
|
|
571
|
+
function Pr({ brand: a, label: s = "Verificando sua sessão...", ...l }) {
|
|
571
572
|
return /* @__PURE__ */ e(
|
|
572
573
|
Te,
|
|
573
574
|
{
|
|
@@ -576,7 +577,7 @@ function Pr({ brand: a, label: c = "Verificando sua sessão...", ...l }) {
|
|
|
576
577
|
align: "center",
|
|
577
578
|
...l,
|
|
578
579
|
children: /* @__PURE__ */ r(
|
|
579
|
-
|
|
580
|
+
u,
|
|
580
581
|
{
|
|
581
582
|
align: "center",
|
|
582
583
|
gap: "md",
|
|
@@ -602,7 +603,7 @@ function Pr({ brand: a, label: c = "Verificando sua sessão...", ...l }) {
|
|
|
602
603
|
fw: 500,
|
|
603
604
|
fz: "sm",
|
|
604
605
|
c: "gray.6",
|
|
605
|
-
children:
|
|
606
|
+
children: s
|
|
606
607
|
}
|
|
607
608
|
)
|
|
608
609
|
]
|
|
@@ -611,7 +612,7 @@ function Pr({ brand: a, label: c = "Verificando sua sessão...", ...l }) {
|
|
|
611
612
|
}
|
|
612
613
|
);
|
|
613
614
|
}
|
|
614
|
-
function jr({ children: a, style:
|
|
615
|
+
function jr({ children: a, style: s, ...l }) {
|
|
615
616
|
return /* @__PURE__ */ e(
|
|
616
617
|
x,
|
|
617
618
|
{
|
|
@@ -621,13 +622,13 @@ function jr({ children: a, style: c, ...l }) {
|
|
|
621
622
|
flexDirection: "column",
|
|
622
623
|
minHeight: "100vh",
|
|
623
624
|
scrollBehavior: "smooth",
|
|
624
|
-
...
|
|
625
|
+
...s
|
|
625
626
|
},
|
|
626
627
|
children: a
|
|
627
628
|
}
|
|
628
629
|
);
|
|
629
630
|
}
|
|
630
|
-
function se({ cta: a, filled:
|
|
631
|
+
function se({ cta: a, filled: s }) {
|
|
631
632
|
const { icon: l, label: i, labelMobile: n, component: o, ...g } = a;
|
|
632
633
|
return /* @__PURE__ */ e(
|
|
633
634
|
Y,
|
|
@@ -640,7 +641,7 @@ function se({ cta: a, filled: c }) {
|
|
|
640
641
|
size: 36,
|
|
641
642
|
radius: 0,
|
|
642
643
|
color: "gray.9",
|
|
643
|
-
variant:
|
|
644
|
+
variant: s ? "filled" : "subtle",
|
|
644
645
|
children: /* @__PURE__ */ e(
|
|
645
646
|
l,
|
|
646
647
|
{
|
|
@@ -651,11 +652,11 @@ function se({ cta: a, filled: c }) {
|
|
|
651
652
|
}
|
|
652
653
|
);
|
|
653
654
|
}
|
|
654
|
-
function
|
|
655
|
-
const
|
|
656
|
-
|
|
657
|
-
},
|
|
658
|
-
(
|
|
655
|
+
function sr({ logo: a, logoLink: s, navLinks: l = [], loginCta: i, signupCta: n, background: o = "white", logoMinWidth: g = 176, withColorScheme: d = !0 }) {
|
|
656
|
+
const p = O(o), [c] = rr(), m = c.y > 10, h = (y) => {
|
|
657
|
+
y === "top" ? window.scrollTo({ top: 0, behavior: "smooth" }) : document.getElementById(y)?.scrollIntoView({ behavior: "smooth" });
|
|
658
|
+
}, b = (y, z) => {
|
|
659
|
+
(y.key === "Enter" || y.key === " ") && (y.preventDefault(), h(z));
|
|
659
660
|
};
|
|
660
661
|
return /* @__PURE__ */ e(
|
|
661
662
|
x,
|
|
@@ -672,32 +673,32 @@ function or({ logo: a, logoLink: c, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
672
673
|
py: "md",
|
|
673
674
|
px: "xs",
|
|
674
675
|
children: /* @__PURE__ */ e(
|
|
675
|
-
|
|
676
|
+
T,
|
|
676
677
|
{
|
|
677
|
-
shadow:
|
|
678
|
+
shadow: m ? "sm" : "none",
|
|
678
679
|
radius: "0",
|
|
679
680
|
py: "xs",
|
|
680
681
|
px: "sm",
|
|
681
|
-
bg:
|
|
682
|
-
bd:
|
|
682
|
+
bg: p,
|
|
683
|
+
bd: m ? "1px solid var(--mantine-color-gray-2)" : "1px solid transparent",
|
|
683
684
|
style: { pointerEvents: "auto", transition: "all 0.2s ease" },
|
|
684
685
|
children: /* @__PURE__ */ r(
|
|
685
|
-
|
|
686
|
+
f,
|
|
686
687
|
{
|
|
687
688
|
justify: "space-between",
|
|
688
689
|
align: "center",
|
|
689
690
|
wrap: "nowrap",
|
|
690
691
|
children: [
|
|
691
692
|
a && (() => {
|
|
692
|
-
const
|
|
693
|
-
if (
|
|
694
|
-
const { component:
|
|
693
|
+
const y = { display: "inline-flex", textDecoration: "none", minWidth: g, flex: "0 1 auto" };
|
|
694
|
+
if (s) {
|
|
695
|
+
const { component: z = "a", ...k } = s;
|
|
695
696
|
return /* @__PURE__ */ e(
|
|
696
|
-
|
|
697
|
+
z,
|
|
697
698
|
{
|
|
698
|
-
...
|
|
699
|
+
...k,
|
|
699
700
|
"aria-label": "Ir para a página inicial",
|
|
700
|
-
style:
|
|
701
|
+
style: y,
|
|
701
702
|
children: /* @__PURE__ */ e(ee, { logo: a })
|
|
702
703
|
}
|
|
703
704
|
);
|
|
@@ -707,10 +708,10 @@ function or({ logo: a, logoLink: c, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
707
708
|
{
|
|
708
709
|
href: "#",
|
|
709
710
|
"aria-label": "Voltar ao topo",
|
|
710
|
-
onClick: (
|
|
711
|
-
|
|
711
|
+
onClick: (z) => {
|
|
712
|
+
z.preventDefault(), window.scrollTo({ top: 0, behavior: "smooth" });
|
|
712
713
|
},
|
|
713
|
-
style:
|
|
714
|
+
style: y,
|
|
714
715
|
children: /* @__PURE__ */ e(ee, { logo: a })
|
|
715
716
|
}
|
|
716
717
|
);
|
|
@@ -722,7 +723,7 @@ function or({ logo: a, logoLink: c, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
722
723
|
between 768 and 1 200px. Below `lg` the links are the
|
|
723
724
|
sections of the page, one scroll away. */
|
|
724
725
|
/* @__PURE__ */ e(
|
|
725
|
-
|
|
726
|
+
f,
|
|
726
727
|
{
|
|
727
728
|
gap: "xl",
|
|
728
729
|
visibleFrom: "lg",
|
|
@@ -730,7 +731,7 @@ function or({ logo: a, logoLink: c, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
730
731
|
component: "nav",
|
|
731
732
|
role: "navigation",
|
|
732
733
|
"aria-label": "Menu principal",
|
|
733
|
-
children: l.map((
|
|
734
|
+
children: l.map((y) => /* @__PURE__ */ e(
|
|
734
735
|
t,
|
|
735
736
|
{
|
|
736
737
|
size: "sm",
|
|
@@ -738,26 +739,27 @@ function or({ logo: a, logoLink: c, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
738
739
|
tt: "uppercase",
|
|
739
740
|
lts: "1px",
|
|
740
741
|
c: "gray.9",
|
|
741
|
-
...
|
|
742
|
-
component:
|
|
743
|
-
role:
|
|
744
|
-
tabIndex:
|
|
745
|
-
style: { cursor: "pointer", ...
|
|
746
|
-
onClick:
|
|
747
|
-
onKeyDown:
|
|
748
|
-
children:
|
|
742
|
+
...y,
|
|
743
|
+
component: y.component || "span",
|
|
744
|
+
role: y.component ? void 0 : "link",
|
|
745
|
+
tabIndex: y.component ? void 0 : 0,
|
|
746
|
+
style: { cursor: "pointer", ...y.style },
|
|
747
|
+
onClick: y.target ? () => h(y.target) : y.onClick,
|
|
748
|
+
onKeyDown: y.target ? (z) => b(z, y.target) : y.onKeyDown,
|
|
749
|
+
children: y.label
|
|
749
750
|
},
|
|
750
|
-
|
|
751
|
+
y.label
|
|
751
752
|
))
|
|
752
753
|
}
|
|
753
754
|
),
|
|
754
755
|
/* @__PURE__ */ r(
|
|
755
|
-
|
|
756
|
+
f,
|
|
756
757
|
{
|
|
757
758
|
gap: "sm",
|
|
758
759
|
wrap: "nowrap",
|
|
759
760
|
style: { flexShrink: 0 },
|
|
760
761
|
children: [
|
|
762
|
+
d && /* @__PURE__ */ e(or, {}),
|
|
761
763
|
i && /* @__PURE__ */ r(
|
|
762
764
|
x,
|
|
763
765
|
{
|
|
@@ -769,7 +771,7 @@ function or({ logo: a, logoLink: c, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
769
771
|
U,
|
|
770
772
|
{
|
|
771
773
|
variant: "subtle",
|
|
772
|
-
...(({ icon:
|
|
774
|
+
...(({ icon: y, ...z }) => z)(i),
|
|
773
775
|
component: i.component || (i.href ? "a" : "button"),
|
|
774
776
|
className: "ck-cta-label",
|
|
775
777
|
c: "gray.7",
|
|
@@ -792,7 +794,7 @@ function or({ logo: a, logoLink: c, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
792
794
|
/* @__PURE__ */ r(
|
|
793
795
|
U,
|
|
794
796
|
{
|
|
795
|
-
...(({ icon:
|
|
797
|
+
...(({ icon: y, ...z }) => z)(n),
|
|
796
798
|
component: n.component || (n.href ? "a" : "button"),
|
|
797
799
|
className: "ck-cta-label",
|
|
798
800
|
size: "sm",
|
|
@@ -848,49 +850,49 @@ function or({ logo: a, logoLink: c, navLinks: l = [], loginCta: i, signupCta: n,
|
|
|
848
850
|
}
|
|
849
851
|
);
|
|
850
852
|
}
|
|
851
|
-
const Mr =
|
|
853
|
+
const Mr = sr, ce = {
|
|
852
854
|
root: { height: "auto", maxWidth: "100%" },
|
|
853
855
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
854
856
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
855
857
|
};
|
|
856
|
-
function Nr({ subtitle: a, title:
|
|
857
|
-
const
|
|
858
|
+
function Nr({ subtitle: a, title: s, description: l, cta: i, secondaryCta: n, note: o, video: g, image: d, background: p = "white", mediaMaw: c, titleFz: m = "var(--fz-hero)", descriptionFz: h = "xl" }) {
|
|
859
|
+
const b = !!(g || d);
|
|
858
860
|
return /* @__PURE__ */ e(
|
|
859
861
|
x,
|
|
860
862
|
{
|
|
861
863
|
py: { base: 80, sm: 100, md: 140 },
|
|
862
864
|
id: "hero",
|
|
863
|
-
bg:
|
|
865
|
+
bg: p,
|
|
864
866
|
children: /* @__PURE__ */ e(B, { size: "lg", children: /* @__PURE__ */ r(
|
|
865
867
|
A,
|
|
866
868
|
{
|
|
867
|
-
cols: { base: 1, md:
|
|
869
|
+
cols: { base: 1, md: b ? 2 : 1 },
|
|
868
870
|
spacing: { base: 60, md: 100 },
|
|
869
871
|
verticalSpacing: 60,
|
|
870
872
|
children: [
|
|
871
873
|
/* @__PURE__ */ r(
|
|
872
|
-
|
|
874
|
+
u,
|
|
873
875
|
{
|
|
874
|
-
align:
|
|
876
|
+
align: b ? { base: "center", md: "flex-start" } : "center",
|
|
875
877
|
justify: "center",
|
|
876
878
|
gap: { base: 32, md: 48 },
|
|
877
|
-
ta:
|
|
879
|
+
ta: b ? { base: "center", md: "left" } : "center",
|
|
878
880
|
children: [
|
|
879
881
|
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
880
882
|
xe,
|
|
881
883
|
{
|
|
882
884
|
subtitle: a,
|
|
883
|
-
title:
|
|
885
|
+
title: s,
|
|
884
886
|
titleOrder: 1,
|
|
885
887
|
titleFz: m,
|
|
886
|
-
ta:
|
|
887
|
-
maw:
|
|
888
|
+
ta: b ? "inherit" : "center",
|
|
889
|
+
maw: b ? void 0 : 940
|
|
888
890
|
}
|
|
889
891
|
) }),
|
|
890
892
|
l && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
891
893
|
t,
|
|
892
894
|
{
|
|
893
|
-
size:
|
|
895
|
+
size: h,
|
|
894
896
|
c: "gray.6",
|
|
895
897
|
lh: 1.6,
|
|
896
898
|
maw: 600,
|
|
@@ -898,7 +900,7 @@ function Nr({ subtitle: a, title: c, description: l, cta: i, secondaryCta: n, no
|
|
|
898
900
|
}
|
|
899
901
|
) }),
|
|
900
902
|
(i || n) && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(
|
|
901
|
-
|
|
903
|
+
f,
|
|
902
904
|
{
|
|
903
905
|
gap: "md",
|
|
904
906
|
justify: "center",
|
|
@@ -955,12 +957,12 @@ function Nr({ subtitle: a, title: c, description: l, cta: i, secondaryCta: n, no
|
|
|
955
957
|
]
|
|
956
958
|
}
|
|
957
959
|
),
|
|
958
|
-
|
|
960
|
+
b && /* @__PURE__ */ e(
|
|
959
961
|
be,
|
|
960
962
|
{
|
|
961
963
|
video: g,
|
|
962
964
|
image: d,
|
|
963
|
-
maw:
|
|
965
|
+
maw: c,
|
|
964
966
|
alt: "Demonstração do produto"
|
|
965
967
|
}
|
|
966
968
|
)
|
|
@@ -970,10 +972,10 @@ function Nr({ subtitle: a, title: c, description: l, cta: i, secondaryCta: n, no
|
|
|
970
972
|
}
|
|
971
973
|
);
|
|
972
974
|
}
|
|
973
|
-
function
|
|
975
|
+
function cr({ logo: a, index: s }) {
|
|
974
976
|
const l = {
|
|
975
977
|
src: a.src,
|
|
976
|
-
alt: a.alt || `Logo ${
|
|
978
|
+
alt: a.alt || `Logo ${s}`,
|
|
977
979
|
h: a.height || 50,
|
|
978
980
|
w: "auto",
|
|
979
981
|
style: {
|
|
@@ -998,7 +1000,7 @@ function sr({ logo: a, index: c }) {
|
|
|
998
1000
|
}
|
|
999
1001
|
) }) : /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(_, { ...l }) });
|
|
1000
1002
|
}
|
|
1001
|
-
function Or({ id: a, title:
|
|
1003
|
+
function Or({ id: a, title: s, logos: l, background: i = "gray" }) {
|
|
1002
1004
|
return !l || l.length === 0 ? null : /* @__PURE__ */ e(
|
|
1003
1005
|
x,
|
|
1004
1006
|
{
|
|
@@ -1008,13 +1010,13 @@ function Or({ id: a, title: c, logos: l, background: i = "gray" }) {
|
|
|
1008
1010
|
bg: i,
|
|
1009
1011
|
bd: { bottom: "1px solid var(--mantine-color-gray-2)" },
|
|
1010
1012
|
children: /* @__PURE__ */ e(B, { size: "lg", children: /* @__PURE__ */ r(
|
|
1011
|
-
|
|
1013
|
+
u,
|
|
1012
1014
|
{
|
|
1013
1015
|
align: "center",
|
|
1014
1016
|
ta: "center",
|
|
1015
1017
|
gap: "xl",
|
|
1016
1018
|
children: [
|
|
1017
|
-
|
|
1019
|
+
s && /* @__PURE__ */ e(
|
|
1018
1020
|
t,
|
|
1019
1021
|
{
|
|
1020
1022
|
fw: 500,
|
|
@@ -1022,18 +1024,18 @@ function Or({ id: a, title: c, logos: l, background: i = "gray" }) {
|
|
|
1022
1024
|
size: "sm",
|
|
1023
1025
|
tt: "uppercase",
|
|
1024
1026
|
lts: "1.5px",
|
|
1025
|
-
children:
|
|
1027
|
+
children: s
|
|
1026
1028
|
}
|
|
1027
1029
|
),
|
|
1028
1030
|
/* @__PURE__ */ e(
|
|
1029
|
-
|
|
1031
|
+
f,
|
|
1030
1032
|
{
|
|
1031
1033
|
justify: "space-between",
|
|
1032
1034
|
gap: { base: 40, md: 80 },
|
|
1033
1035
|
style: { rowGap: 40 },
|
|
1034
1036
|
w: "100%",
|
|
1035
1037
|
children: l.map((n, o) => /* @__PURE__ */ e(
|
|
1036
|
-
|
|
1038
|
+
cr,
|
|
1037
1039
|
{
|
|
1038
1040
|
logo: n,
|
|
1039
1041
|
index: o
|
|
@@ -1048,15 +1050,15 @@ function Or({ id: a, title: c, logos: l, background: i = "gray" }) {
|
|
|
1048
1050
|
}
|
|
1049
1051
|
);
|
|
1050
1052
|
}
|
|
1051
|
-
function Lr({ id: a, subtitle:
|
|
1052
|
-
const
|
|
1053
|
+
function Lr({ id: a, subtitle: s, title: l, description: i, descriptionFz: n, featuresList: o, cta: g, video: d, image: p, reverse: c = !1, background: m = "white", mediaMaw: h }) {
|
|
1054
|
+
const b = o && o.length > 0 && /* @__PURE__ */ e(
|
|
1053
1055
|
$,
|
|
1054
1056
|
{
|
|
1055
1057
|
spacing: "md",
|
|
1056
1058
|
size: "md",
|
|
1057
1059
|
center: !0,
|
|
1058
1060
|
icon: /* @__PURE__ */ e(
|
|
1059
|
-
|
|
1061
|
+
S,
|
|
1060
1062
|
{
|
|
1061
1063
|
color: "gray.2",
|
|
1062
1064
|
size: 24,
|
|
@@ -1070,10 +1072,10 @@ function Lr({ id: a, subtitle: c, title: l, description: i, descriptionFz: n, fe
|
|
|
1070
1072
|
)
|
|
1071
1073
|
}
|
|
1072
1074
|
),
|
|
1073
|
-
children: o.map((
|
|
1075
|
+
children: o.map((k, I) => /* @__PURE__ */ e($.Item, { children: k }, I))
|
|
1074
1076
|
}
|
|
1075
|
-
),
|
|
1076
|
-
|
|
1077
|
+
), y = /* @__PURE__ */ r(
|
|
1078
|
+
u,
|
|
1077
1079
|
{
|
|
1078
1080
|
justify: "center",
|
|
1079
1081
|
gap: "lg",
|
|
@@ -1098,8 +1100,8 @@ function Lr({ id: a, subtitle: c, title: l, description: i, descriptionFz: n, fe
|
|
|
1098
1100
|
children: i
|
|
1099
1101
|
}
|
|
1100
1102
|
),
|
|
1101
|
-
|
|
1102
|
-
g && /* @__PURE__ */ e(
|
|
1103
|
+
b,
|
|
1104
|
+
g && /* @__PURE__ */ e(f, { mt: "md", children: /* @__PURE__ */ e(
|
|
1103
1105
|
M,
|
|
1104
1106
|
{
|
|
1105
1107
|
label: g.label,
|
|
@@ -1112,7 +1114,7 @@ function Lr({ id: a, subtitle: c, title: l, description: i, descriptionFz: n, fe
|
|
|
1112
1114
|
) })
|
|
1113
1115
|
]
|
|
1114
1116
|
}
|
|
1115
|
-
),
|
|
1117
|
+
), z = (d || p) && /* 80% SÓ A PARTIR DO `md`, e a coluna inteira abaixo disso.
|
|
1116
1118
|
|
|
1117
1119
|
No desktop a mídia divide a linha com o texto, e os 80% deixam o ar
|
|
1118
1120
|
que separa uma coluna da outra. No celular não há duas colunas: o
|
|
@@ -1129,16 +1131,16 @@ function Lr({ id: a, subtitle: c, title: l, description: i, descriptionFz: n, fe
|
|
|
1129
1131
|
be,
|
|
1130
1132
|
{
|
|
1131
1133
|
video: d,
|
|
1132
|
-
image:
|
|
1134
|
+
image: p,
|
|
1133
1135
|
width: { base: "100%", md: "80%" },
|
|
1134
|
-
maw:
|
|
1136
|
+
maw: h
|
|
1135
1137
|
}
|
|
1136
1138
|
);
|
|
1137
1139
|
return /* @__PURE__ */ e(
|
|
1138
1140
|
F,
|
|
1139
1141
|
{
|
|
1140
1142
|
id: a,
|
|
1141
|
-
subtitle:
|
|
1143
|
+
subtitle: s,
|
|
1142
1144
|
title: l,
|
|
1143
1145
|
background: m,
|
|
1144
1146
|
children: /* @__PURE__ */ e(
|
|
@@ -1147,24 +1149,24 @@ function Lr({ id: a, subtitle: c, title: l, description: i, descriptionFz: n, fe
|
|
|
1147
1149
|
cols: { base: 1, md: 2 },
|
|
1148
1150
|
spacing: { base: 40, md: 80 },
|
|
1149
1151
|
verticalSpacing: { base: 40, md: 50 },
|
|
1150
|
-
children:
|
|
1151
|
-
|
|
1152
|
-
|
|
1152
|
+
children: c ? /* @__PURE__ */ r(ne, { children: [
|
|
1153
|
+
z,
|
|
1154
|
+
y
|
|
1153
1155
|
] }) : /* @__PURE__ */ r(ne, { children: [
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
+
y,
|
|
1157
|
+
z
|
|
1156
1158
|
] })
|
|
1157
1159
|
}
|
|
1158
1160
|
)
|
|
1159
1161
|
}
|
|
1160
1162
|
);
|
|
1161
1163
|
}
|
|
1162
|
-
function Rr({ id: a, badge:
|
|
1164
|
+
function Rr({ id: a, badge: s, subtitle: l, title: i, description: n, background: o = "gray", items: g = [], ta: d = "left", note: p }) {
|
|
1163
1165
|
return /* @__PURE__ */ r(
|
|
1164
1166
|
F,
|
|
1165
1167
|
{
|
|
1166
1168
|
id: a,
|
|
1167
|
-
badge:
|
|
1169
|
+
badge: s,
|
|
1168
1170
|
subtitle: l,
|
|
1169
1171
|
title: i,
|
|
1170
1172
|
background: o,
|
|
@@ -1184,14 +1186,14 @@ function Rr({ id: a, badge: c, subtitle: l, title: i, description: n, background
|
|
|
1184
1186
|
children: n
|
|
1185
1187
|
}
|
|
1186
1188
|
),
|
|
1187
|
-
/* @__PURE__ */ e(
|
|
1188
|
-
|
|
1189
|
+
/* @__PURE__ */ e(v, { gutter: "lg", children: g.map((c, m) => /* @__PURE__ */ e(
|
|
1190
|
+
dr,
|
|
1189
1191
|
{
|
|
1190
|
-
...
|
|
1192
|
+
...c
|
|
1191
1193
|
},
|
|
1192
1194
|
m
|
|
1193
1195
|
)) }),
|
|
1194
|
-
|
|
1196
|
+
p && /* @__PURE__ */ e(
|
|
1195
1197
|
t,
|
|
1196
1198
|
{
|
|
1197
1199
|
c: "gray.6",
|
|
@@ -1201,49 +1203,49 @@ function Rr({ id: a, badge: c, subtitle: l, title: i, description: n, background
|
|
|
1201
1203
|
mx: d === "center" ? "auto" : void 0,
|
|
1202
1204
|
lh: 1.7,
|
|
1203
1205
|
fs: "italic",
|
|
1204
|
-
children:
|
|
1206
|
+
children: p
|
|
1205
1207
|
}
|
|
1206
1208
|
)
|
|
1207
1209
|
]
|
|
1208
1210
|
}
|
|
1209
1211
|
);
|
|
1210
1212
|
}
|
|
1211
|
-
function
|
|
1213
|
+
function dr({
|
|
1212
1214
|
icon: a,
|
|
1213
|
-
iconVariant:
|
|
1215
|
+
iconVariant: s,
|
|
1214
1216
|
iconColor: l,
|
|
1215
1217
|
label: i,
|
|
1216
1218
|
title: n,
|
|
1217
1219
|
titleSize: o,
|
|
1218
1220
|
description: g,
|
|
1219
1221
|
descriptionSize: d,
|
|
1220
|
-
descriptionMaw:
|
|
1221
|
-
span:
|
|
1222
|
+
descriptionMaw: p,
|
|
1223
|
+
span: c = { base: 12, md: 6 },
|
|
1222
1224
|
background: m = "white",
|
|
1223
|
-
visual:
|
|
1224
|
-
secondaryVisual:
|
|
1225
|
-
layout:
|
|
1226
|
-
badges:
|
|
1225
|
+
visual: h,
|
|
1226
|
+
secondaryVisual: b,
|
|
1227
|
+
layout: y = "stacked",
|
|
1228
|
+
badges: z,
|
|
1227
1229
|
// Acoes do card, no shape universal de cta: { label, href, icon, variant }.
|
|
1228
1230
|
// Sao dados, nunca JSX — o card monta os botoes, o consumidor so declara.
|
|
1229
|
-
actions:
|
|
1230
|
-
codeBlock:
|
|
1231
|
+
actions: k,
|
|
1232
|
+
codeBlock: I,
|
|
1231
1233
|
// layout="split": quantas das 12 colunas o codigo ocupa. O padrao 6
|
|
1232
1234
|
// divide o card ao meio; suba para 7 quando as linhas forem longas.
|
|
1233
1235
|
codeSpan: C = 6,
|
|
1234
1236
|
// Rotulo da barra do terminal (ex: "bash", "index.js").
|
|
1235
|
-
codeLabel:
|
|
1237
|
+
codeLabel: w,
|
|
1236
1238
|
decorativeContent: L,
|
|
1237
|
-
style:
|
|
1239
|
+
style: D,
|
|
1238
1240
|
...R
|
|
1239
1241
|
}) {
|
|
1240
1242
|
const K = /* @__PURE__ */ r(x, { children: [
|
|
1241
1243
|
a && /* @__PURE__ */ e(
|
|
1242
|
-
|
|
1244
|
+
S,
|
|
1243
1245
|
{
|
|
1244
1246
|
size: 48,
|
|
1245
1247
|
radius: "0",
|
|
1246
|
-
variant:
|
|
1248
|
+
variant: s || "light",
|
|
1247
1249
|
color: l || "gray",
|
|
1248
1250
|
mb: "lg",
|
|
1249
1251
|
children: /* @__PURE__ */ e(
|
|
@@ -1270,7 +1272,7 @@ function cr({
|
|
|
1270
1272
|
n && /* @__PURE__ */ e(
|
|
1271
1273
|
t,
|
|
1272
1274
|
{
|
|
1273
|
-
fz: o || (
|
|
1275
|
+
fz: o || (y === "compact" ? "h4" : "h3"),
|
|
1274
1276
|
fw: 900,
|
|
1275
1277
|
lh: 1.2,
|
|
1276
1278
|
mb: "sm",
|
|
@@ -1282,13 +1284,13 @@ function cr({
|
|
|
1282
1284
|
t,
|
|
1283
1285
|
{
|
|
1284
1286
|
c: "gray.6",
|
|
1285
|
-
size: d || (
|
|
1286
|
-
maw:
|
|
1287
|
-
mb:
|
|
1287
|
+
size: d || (y === "compact" ? "sm" : "lg"),
|
|
1288
|
+
maw: p,
|
|
1289
|
+
mb: z ? "xl" : y === "compact" ? "lg" : void 0,
|
|
1288
1290
|
children: g
|
|
1289
1291
|
}
|
|
1290
1292
|
),
|
|
1291
|
-
|
|
1293
|
+
z && z.length > 0 && /* @__PURE__ */ e(f, { children: z.map((J, Q) => /* @__PURE__ */ e(
|
|
1292
1294
|
P,
|
|
1293
1295
|
{
|
|
1294
1296
|
variant: "dot",
|
|
@@ -1298,12 +1300,12 @@ function cr({
|
|
|
1298
1300
|
},
|
|
1299
1301
|
Q
|
|
1300
1302
|
)) }),
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
+
k && k.length > 0 && /* @__PURE__ */ e(
|
|
1304
|
+
f,
|
|
1303
1305
|
{
|
|
1304
1306
|
gap: "sm",
|
|
1305
1307
|
mt: "xl",
|
|
1306
|
-
children:
|
|
1308
|
+
children: k.map((J, Q) => /* @__PURE__ */ e(
|
|
1307
1309
|
M,
|
|
1308
1310
|
{
|
|
1309
1311
|
size: "md",
|
|
@@ -1314,49 +1316,49 @@ function cr({
|
|
|
1314
1316
|
))
|
|
1315
1317
|
}
|
|
1316
1318
|
)
|
|
1317
|
-
] }), V =
|
|
1318
|
-
return
|
|
1319
|
-
|
|
1319
|
+
] }), V = h ? de(h) : null, ae = b ? de(b) : null;
|
|
1320
|
+
return y === "split" ? /* @__PURE__ */ e(v.Col, { span: c, children: /* @__PURE__ */ e(
|
|
1321
|
+
T,
|
|
1320
1322
|
{
|
|
1321
1323
|
h: "100%",
|
|
1322
1324
|
p: { base: "xl", md: 40 },
|
|
1323
1325
|
radius: "0",
|
|
1324
1326
|
bg: O(m),
|
|
1325
1327
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1326
|
-
style:
|
|
1328
|
+
style: D,
|
|
1327
1329
|
...R,
|
|
1328
1330
|
children: /* @__PURE__ */ r(
|
|
1329
|
-
|
|
1331
|
+
v,
|
|
1330
1332
|
{
|
|
1331
1333
|
align: "center",
|
|
1332
1334
|
gutter: "xl",
|
|
1333
1335
|
children: [
|
|
1334
|
-
/* @__PURE__ */ e(
|
|
1335
|
-
/* @__PURE__ */ r(
|
|
1336
|
+
/* @__PURE__ */ e(v.Col, { span: { base: 12, sm: 12 - C }, children: K }),
|
|
1337
|
+
/* @__PURE__ */ r(v.Col, { span: { base: 12, sm: C }, children: [
|
|
1336
1338
|
V,
|
|
1337
|
-
|
|
1339
|
+
I && /* @__PURE__ */ e(ir, { label: w, children: I })
|
|
1338
1340
|
] })
|
|
1339
1341
|
]
|
|
1340
1342
|
}
|
|
1341
1343
|
)
|
|
1342
1344
|
}
|
|
1343
|
-
) }) :
|
|
1344
|
-
|
|
1345
|
+
) }) : y === "compact" ? /* @__PURE__ */ e(v.Col, { span: c, children: /* @__PURE__ */ r(
|
|
1346
|
+
T,
|
|
1345
1347
|
{
|
|
1346
1348
|
h: "100%",
|
|
1347
1349
|
p: { base: "xl", md: 40 },
|
|
1348
1350
|
radius: "0",
|
|
1349
1351
|
bg: O(m),
|
|
1350
1352
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1351
|
-
style:
|
|
1353
|
+
style: D,
|
|
1352
1354
|
...R,
|
|
1353
1355
|
children: [
|
|
1354
1356
|
K,
|
|
1355
1357
|
V
|
|
1356
1358
|
]
|
|
1357
1359
|
}
|
|
1358
|
-
) }) : L ? /* @__PURE__ */ e(
|
|
1359
|
-
|
|
1360
|
+
) }) : L ? /* @__PURE__ */ e(v.Col, { span: c, children: /* @__PURE__ */ e(
|
|
1361
|
+
T,
|
|
1360
1362
|
{
|
|
1361
1363
|
h: "100%",
|
|
1362
1364
|
p: { base: "xl", md: 40 },
|
|
@@ -1364,16 +1366,16 @@ function cr({
|
|
|
1364
1366
|
bg: O(m),
|
|
1365
1367
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1366
1368
|
pos: "relative",
|
|
1367
|
-
style:
|
|
1369
|
+
style: D,
|
|
1368
1370
|
...R,
|
|
1369
1371
|
children: /* @__PURE__ */ r(
|
|
1370
|
-
|
|
1372
|
+
v,
|
|
1371
1373
|
{
|
|
1372
1374
|
gutter: 0,
|
|
1373
1375
|
pos: "relative",
|
|
1374
1376
|
children: [
|
|
1375
1377
|
/* @__PURE__ */ e(
|
|
1376
|
-
|
|
1378
|
+
v.Col,
|
|
1377
1379
|
{
|
|
1378
1380
|
span: { base: 12, sm: 7 },
|
|
1379
1381
|
style: { zIndex: 1 },
|
|
@@ -1381,7 +1383,7 @@ function cr({
|
|
|
1381
1383
|
}
|
|
1382
1384
|
),
|
|
1383
1385
|
/* @__PURE__ */ e(
|
|
1384
|
-
|
|
1386
|
+
v.Col,
|
|
1385
1387
|
{
|
|
1386
1388
|
span: 5,
|
|
1387
1389
|
visibleFrom: "sm",
|
|
@@ -1392,8 +1394,8 @@ function cr({
|
|
|
1392
1394
|
}
|
|
1393
1395
|
)
|
|
1394
1396
|
}
|
|
1395
|
-
) }) : /* @__PURE__ */ e(
|
|
1396
|
-
|
|
1397
|
+
) }) : /* @__PURE__ */ e(v.Col, { span: c, children: /* @__PURE__ */ r(
|
|
1398
|
+
T,
|
|
1397
1399
|
{
|
|
1398
1400
|
h: "100%",
|
|
1399
1401
|
p: { base: "xl", md: 40 },
|
|
@@ -1404,13 +1406,13 @@ function cr({
|
|
|
1404
1406
|
style: {
|
|
1405
1407
|
flexDirection: "column",
|
|
1406
1408
|
justifyContent: "space-between",
|
|
1407
|
-
...
|
|
1409
|
+
...D
|
|
1408
1410
|
},
|
|
1409
1411
|
...R,
|
|
1410
1412
|
children: [
|
|
1411
1413
|
K,
|
|
1412
1414
|
V && ae ? /* @__PURE__ */ r(
|
|
1413
|
-
|
|
1415
|
+
f,
|
|
1414
1416
|
{
|
|
1415
1417
|
gap: 40,
|
|
1416
1418
|
align: "center",
|
|
@@ -1435,7 +1437,7 @@ function de(a) {
|
|
|
1435
1437
|
thickness: a.thickness || 12,
|
|
1436
1438
|
sections: [{ value: a.value || 100, color: "gray.7" }],
|
|
1437
1439
|
label: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(
|
|
1438
|
-
|
|
1440
|
+
u,
|
|
1439
1441
|
{
|
|
1440
1442
|
gap: 0,
|
|
1441
1443
|
align: "center",
|
|
@@ -1465,7 +1467,7 @@ function de(a) {
|
|
|
1465
1467
|
}
|
|
1466
1468
|
);
|
|
1467
1469
|
case "metric":
|
|
1468
|
-
return /* @__PURE__ */ r(
|
|
1470
|
+
return /* @__PURE__ */ r(u, { gap: 0, children: [
|
|
1469
1471
|
/* @__PURE__ */ e(
|
|
1470
1472
|
t,
|
|
1471
1473
|
{
|
|
@@ -1498,17 +1500,17 @@ function de(a) {
|
|
|
1498
1500
|
] });
|
|
1499
1501
|
case "bars":
|
|
1500
1502
|
return /* @__PURE__ */ e(
|
|
1501
|
-
|
|
1503
|
+
f,
|
|
1502
1504
|
{
|
|
1503
1505
|
align: "flex-end",
|
|
1504
1506
|
gap: 8,
|
|
1505
1507
|
h: a.height || 100,
|
|
1506
1508
|
preventGrowOverflow: !1,
|
|
1507
|
-
children: (a.data || []).map((
|
|
1509
|
+
children: (a.data || []).map((s, l) => /* @__PURE__ */ e(
|
|
1508
1510
|
x,
|
|
1509
1511
|
{
|
|
1510
1512
|
w: 20,
|
|
1511
|
-
h: `${
|
|
1513
|
+
h: `${s}%`,
|
|
1512
1514
|
bg: l === a.highlight ? "gray.5" : "gray.2",
|
|
1513
1515
|
radius: "0"
|
|
1514
1516
|
},
|
|
@@ -1537,9 +1539,9 @@ function de(a) {
|
|
|
1537
1539
|
}
|
|
1538
1540
|
);
|
|
1539
1541
|
case "icon-large": {
|
|
1540
|
-
const
|
|
1541
|
-
return
|
|
1542
|
-
|
|
1542
|
+
const s = a.icon;
|
|
1543
|
+
return s ? /* @__PURE__ */ e(
|
|
1544
|
+
s,
|
|
1543
1545
|
{
|
|
1544
1546
|
size: a.size || 64,
|
|
1545
1547
|
stroke: a.stroke || 1,
|
|
@@ -1551,13 +1553,13 @@ function de(a) {
|
|
|
1551
1553
|
return null;
|
|
1552
1554
|
}
|
|
1553
1555
|
}
|
|
1554
|
-
function $r({ id: a, subtitle:
|
|
1555
|
-
const
|
|
1556
|
+
function $r({ id: a, subtitle: s, title: l, items: i = [], cols: n, background: o = "white", ta: g = "center", note: d }) {
|
|
1557
|
+
const p = n ?? Math.min(Math.max(i.length, 1), 4);
|
|
1556
1558
|
return /* @__PURE__ */ r(
|
|
1557
1559
|
F,
|
|
1558
1560
|
{
|
|
1559
1561
|
id: a,
|
|
1560
|
-
subtitle:
|
|
1562
|
+
subtitle: s,
|
|
1561
1563
|
title: l,
|
|
1562
1564
|
background: o,
|
|
1563
1565
|
ta: g,
|
|
@@ -1566,10 +1568,10 @@ function $r({ id: a, subtitle: c, title: l, items: i = [], cols: n, background:
|
|
|
1566
1568
|
/* @__PURE__ */ e(
|
|
1567
1569
|
A,
|
|
1568
1570
|
{
|
|
1569
|
-
cols: { base: 1, sm:
|
|
1571
|
+
cols: { base: 1, sm: p === 3 ? 3 : 2, lg: p },
|
|
1570
1572
|
spacing: 0,
|
|
1571
|
-
children: i.map((
|
|
1572
|
-
|
|
1573
|
+
children: i.map((c, m) => /* @__PURE__ */ r(
|
|
1574
|
+
T,
|
|
1573
1575
|
{
|
|
1574
1576
|
px: "lg",
|
|
1575
1577
|
py: 40,
|
|
@@ -1589,7 +1591,7 @@ function $r({ id: a, subtitle: c, title: l, items: i = [], cols: n, background:
|
|
|
1589
1591
|
mb: "lg",
|
|
1590
1592
|
c: "gray.9",
|
|
1591
1593
|
style: { letterSpacing: "-0.04em" },
|
|
1592
|
-
children:
|
|
1594
|
+
children: c.value
|
|
1593
1595
|
}
|
|
1594
1596
|
),
|
|
1595
1597
|
/* @__PURE__ */ e(
|
|
@@ -1602,10 +1604,10 @@ function $r({ id: a, subtitle: c, title: l, items: i = [], cols: n, background:
|
|
|
1602
1604
|
mb: "xs",
|
|
1603
1605
|
c: "gray.9",
|
|
1604
1606
|
style: { letterSpacing: "-0.01em" },
|
|
1605
|
-
children:
|
|
1607
|
+
children: c.label
|
|
1606
1608
|
}
|
|
1607
1609
|
),
|
|
1608
|
-
|
|
1610
|
+
c.description && /* @__PURE__ */ e(
|
|
1609
1611
|
t,
|
|
1610
1612
|
{
|
|
1611
1613
|
component: "div",
|
|
@@ -1614,12 +1616,12 @@ function $r({ id: a, subtitle: c, title: l, items: i = [], cols: n, background:
|
|
|
1614
1616
|
lh: 1.5,
|
|
1615
1617
|
maw: 220,
|
|
1616
1618
|
mx: "auto",
|
|
1617
|
-
children:
|
|
1619
|
+
children: c.description
|
|
1618
1620
|
}
|
|
1619
1621
|
)
|
|
1620
1622
|
]
|
|
1621
1623
|
},
|
|
1622
|
-
|
|
1624
|
+
c.label || m
|
|
1623
1625
|
))
|
|
1624
1626
|
}
|
|
1625
1627
|
),
|
|
@@ -1645,13 +1647,13 @@ const W = {
|
|
|
1645
1647
|
degraded: { color: "yellow.7", chart: "yellow.7", title: "Desempenho degradado", badge: "Degradado" },
|
|
1646
1648
|
down: { color: "red.7", chart: "red.7", title: "Interrupção em andamento", badge: "Fora do ar" },
|
|
1647
1649
|
loading: { color: "gray.4", chart: "gray.5", title: "Verificando os sistemas", badge: "Verificando" }
|
|
1648
|
-
},
|
|
1650
|
+
}, hr = (a) => {
|
|
1649
1651
|
if (!a) return null;
|
|
1650
|
-
const
|
|
1651
|
-
return Number.isNaN(
|
|
1652
|
+
const s = new Date(a);
|
|
1653
|
+
return Number.isNaN(s.getTime()) ? null : s.toLocaleString("pt-BR", { dateStyle: "short", timeStyle: "medium" });
|
|
1652
1654
|
};
|
|
1653
|
-
function Vr({ service: a, status:
|
|
1654
|
-
const d = g ? W.down : W[
|
|
1655
|
+
function Vr({ service: a, status: s = "loading", checkedAt: l, checks: i = [], latency: n = [], uptime: o = [], error: g }) {
|
|
1656
|
+
const d = g ? W.down : W[s] || W.loading, p = hr(l);
|
|
1655
1657
|
return /* @__PURE__ */ e(
|
|
1656
1658
|
x,
|
|
1657
1659
|
{
|
|
@@ -1662,8 +1664,8 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1662
1664
|
{
|
|
1663
1665
|
size: "lg",
|
|
1664
1666
|
py: 80,
|
|
1665
|
-
children: /* @__PURE__ */ r(
|
|
1666
|
-
/* @__PURE__ */ r(
|
|
1667
|
+
children: /* @__PURE__ */ r(u, { gap: 60, children: [
|
|
1668
|
+
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
1667
1669
|
/* @__PURE__ */ r(
|
|
1668
1670
|
t,
|
|
1669
1671
|
{
|
|
@@ -1679,7 +1681,7 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1679
1681
|
}
|
|
1680
1682
|
),
|
|
1681
1683
|
/* @__PURE__ */ r(
|
|
1682
|
-
|
|
1684
|
+
f,
|
|
1683
1685
|
{
|
|
1684
1686
|
gap: "lg",
|
|
1685
1687
|
align: "center",
|
|
@@ -1695,7 +1697,7 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1695
1697
|
}
|
|
1696
1698
|
),
|
|
1697
1699
|
/* @__PURE__ */ e(
|
|
1698
|
-
|
|
1700
|
+
q,
|
|
1699
1701
|
{
|
|
1700
1702
|
order: 1,
|
|
1701
1703
|
fz: { base: 32, md: 56 },
|
|
@@ -1717,7 +1719,7 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1717
1719
|
// O erro é da consulta feita pelo navegador, não do serviço:
|
|
1718
1720
|
// dizer "fora do ar" aqui seria afirmar mais do que se sabe.
|
|
1719
1721
|
"Esta página não conseguiu falar com o serviço. Pode ser a sua conexão — ou o próprio serviço."
|
|
1720
|
-
) :
|
|
1722
|
+
) : p ? `Última verificação em ${p}` : "Verificando…"
|
|
1721
1723
|
}
|
|
1722
1724
|
)
|
|
1723
1725
|
] }),
|
|
@@ -1727,8 +1729,8 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1727
1729
|
cols: { base: 1, md: 2 },
|
|
1728
1730
|
spacing: 48,
|
|
1729
1731
|
children: [
|
|
1730
|
-
o.length > 0 && /* @__PURE__ */ r(
|
|
1731
|
-
/* @__PURE__ */ r(
|
|
1732
|
+
o.length > 0 && /* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
1733
|
+
/* @__PURE__ */ r(u, { gap: 4, children: [
|
|
1732
1734
|
/* @__PURE__ */ e(
|
|
1733
1735
|
t,
|
|
1734
1736
|
{
|
|
@@ -1749,7 +1751,7 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1749
1751
|
lh: 1,
|
|
1750
1752
|
lts: "-0.04em",
|
|
1751
1753
|
children: [
|
|
1752
|
-
(o.reduce((
|
|
1754
|
+
(o.reduce((c, m) => c + m.pct, 0) / o.length).toFixed(2),
|
|
1753
1755
|
/* @__PURE__ */ e(
|
|
1754
1756
|
t,
|
|
1755
1757
|
{
|
|
@@ -1765,23 +1767,23 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1765
1767
|
)
|
|
1766
1768
|
] }),
|
|
1767
1769
|
/* @__PURE__ */ e(
|
|
1768
|
-
|
|
1770
|
+
f,
|
|
1769
1771
|
{
|
|
1770
1772
|
gap: 3,
|
|
1771
1773
|
h: 140,
|
|
1772
1774
|
align: "flex-end",
|
|
1773
1775
|
wrap: "nowrap",
|
|
1774
|
-
children: o.map((
|
|
1776
|
+
children: o.map((c, m) => /* @__PURE__ */ e(
|
|
1775
1777
|
re,
|
|
1776
1778
|
{
|
|
1777
|
-
label: `${
|
|
1779
|
+
label: `${c.day} · ${c.pct.toFixed(2)}%`,
|
|
1778
1780
|
withArrow: !0,
|
|
1779
1781
|
children: /* @__PURE__ */ e(
|
|
1780
1782
|
x,
|
|
1781
1783
|
{
|
|
1782
1784
|
w: 14,
|
|
1783
|
-
h: Math.max(8,
|
|
1784
|
-
bg:
|
|
1785
|
+
h: Math.max(8, c.pct / 100 * 96),
|
|
1786
|
+
bg: c.pct === 100 ? d.chart : c.pct > 0 ? "yellow.7" : "red.7"
|
|
1785
1787
|
}
|
|
1786
1788
|
)
|
|
1787
1789
|
},
|
|
@@ -1790,8 +1792,8 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1790
1792
|
}
|
|
1791
1793
|
)
|
|
1792
1794
|
] }),
|
|
1793
|
-
n.length > 0 && /* @__PURE__ */ r(
|
|
1794
|
-
/* @__PURE__ */ r(
|
|
1795
|
+
n.length > 0 && /* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
1796
|
+
/* @__PURE__ */ r(u, { gap: 4, children: [
|
|
1795
1797
|
/* @__PURE__ */ e(
|
|
1796
1798
|
t,
|
|
1797
1799
|
{
|
|
@@ -1840,14 +1842,14 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1840
1842
|
withXAxis: !1,
|
|
1841
1843
|
yAxisProps: { width: 40 },
|
|
1842
1844
|
fillOpacity: 0.12,
|
|
1843
|
-
valueFormatter: (
|
|
1845
|
+
valueFormatter: (c) => `${Math.round(c)} ms`
|
|
1844
1846
|
}
|
|
1845
1847
|
)
|
|
1846
1848
|
] })
|
|
1847
1849
|
]
|
|
1848
1850
|
}
|
|
1849
1851
|
),
|
|
1850
|
-
i.length > 0 && /* @__PURE__ */ r(
|
|
1852
|
+
i.length > 0 && /* @__PURE__ */ r(u, { gap: 0, children: [
|
|
1851
1853
|
/* @__PURE__ */ e(
|
|
1852
1854
|
t,
|
|
1853
1855
|
{
|
|
@@ -1860,10 +1862,10 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1860
1862
|
children: "Componentes"
|
|
1861
1863
|
}
|
|
1862
1864
|
),
|
|
1863
|
-
i.map((
|
|
1864
|
-
const
|
|
1865
|
+
i.map((c, m) => {
|
|
1866
|
+
const h = W[c.status] || W.loading;
|
|
1865
1867
|
return /* @__PURE__ */ r(
|
|
1866
|
-
|
|
1868
|
+
T,
|
|
1867
1869
|
{
|
|
1868
1870
|
bg: "transparent",
|
|
1869
1871
|
withBorder: !1,
|
|
@@ -1871,7 +1873,7 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1871
1873
|
bd: { top: m === 0 ? "1px solid var(--mantine-color-gray-2)" : void 0, bottom: "1px solid var(--mantine-color-gray-2)" },
|
|
1872
1874
|
children: [
|
|
1873
1875
|
/* @__PURE__ */ r(
|
|
1874
|
-
|
|
1876
|
+
f,
|
|
1875
1877
|
{
|
|
1876
1878
|
justify: "space-between",
|
|
1877
1879
|
align: "flex-start",
|
|
@@ -1879,7 +1881,7 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1879
1881
|
gap: "lg",
|
|
1880
1882
|
children: [
|
|
1881
1883
|
/* @__PURE__ */ r(
|
|
1882
|
-
|
|
1884
|
+
f,
|
|
1883
1885
|
{
|
|
1884
1886
|
gap: "md",
|
|
1885
1887
|
align: "flex-start",
|
|
@@ -1891,26 +1893,26 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1891
1893
|
w: 7,
|
|
1892
1894
|
h: 7,
|
|
1893
1895
|
mt: 7,
|
|
1894
|
-
bg:
|
|
1896
|
+
bg: h.color,
|
|
1895
1897
|
style: { borderRadius: "50%", flexShrink: 0 }
|
|
1896
1898
|
}
|
|
1897
1899
|
),
|
|
1898
|
-
/* @__PURE__ */ r(
|
|
1900
|
+
/* @__PURE__ */ r(u, { gap: 2, children: [
|
|
1899
1901
|
/* @__PURE__ */ e(
|
|
1900
1902
|
t,
|
|
1901
1903
|
{
|
|
1902
1904
|
c: "gray.9",
|
|
1903
1905
|
fw: 700,
|
|
1904
1906
|
size: "sm",
|
|
1905
|
-
children:
|
|
1907
|
+
children: c.name
|
|
1906
1908
|
}
|
|
1907
1909
|
),
|
|
1908
|
-
|
|
1910
|
+
c.description && /* @__PURE__ */ e(
|
|
1909
1911
|
t,
|
|
1910
1912
|
{
|
|
1911
1913
|
size: "xs",
|
|
1912
1914
|
c: "gray.5",
|
|
1913
|
-
children:
|
|
1915
|
+
children: c.description
|
|
1914
1916
|
}
|
|
1915
1917
|
)
|
|
1916
1918
|
] })
|
|
@@ -1918,13 +1920,13 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1918
1920
|
}
|
|
1919
1921
|
),
|
|
1920
1922
|
/* @__PURE__ */ r(
|
|
1921
|
-
|
|
1923
|
+
f,
|
|
1922
1924
|
{
|
|
1923
1925
|
gap: "lg",
|
|
1924
1926
|
wrap: "nowrap",
|
|
1925
1927
|
align: "center",
|
|
1926
1928
|
children: [
|
|
1927
|
-
typeof
|
|
1929
|
+
typeof c.latencyMs == "number" && /* @__PURE__ */ r(
|
|
1928
1930
|
t,
|
|
1929
1931
|
{
|
|
1930
1932
|
size: "xs",
|
|
@@ -1932,7 +1934,7 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1932
1934
|
c: "gray.4",
|
|
1933
1935
|
style: { whiteSpace: "nowrap" },
|
|
1934
1936
|
children: [
|
|
1935
|
-
|
|
1937
|
+
c.latencyMs,
|
|
1936
1938
|
" ms"
|
|
1937
1939
|
]
|
|
1938
1940
|
}
|
|
@@ -1941,9 +1943,9 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1941
1943
|
P,
|
|
1942
1944
|
{
|
|
1943
1945
|
variant: "dot",
|
|
1944
|
-
color:
|
|
1946
|
+
color: h.color.split(".")[0],
|
|
1945
1947
|
visibleFrom: "sm",
|
|
1946
|
-
children:
|
|
1948
|
+
children: h.badge
|
|
1947
1949
|
}
|
|
1948
1950
|
)
|
|
1949
1951
|
]
|
|
@@ -1952,14 +1954,14 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1952
1954
|
]
|
|
1953
1955
|
}
|
|
1954
1956
|
),
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
+
c.metrics && Object.keys(c.metrics).length > 0 && /* @__PURE__ */ e(
|
|
1958
|
+
f,
|
|
1957
1959
|
{
|
|
1958
1960
|
gap: "xl",
|
|
1959
1961
|
mt: "md",
|
|
1960
1962
|
ml: 23,
|
|
1961
|
-
children: Object.entries(
|
|
1962
|
-
|
|
1963
|
+
children: Object.entries(c.metrics).map(([b, y]) => /* @__PURE__ */ r(
|
|
1964
|
+
u,
|
|
1963
1965
|
{
|
|
1964
1966
|
gap: 2,
|
|
1965
1967
|
children: [
|
|
@@ -1971,7 +1973,7 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1971
1973
|
fw: 900,
|
|
1972
1974
|
lh: 1,
|
|
1973
1975
|
lts: "-0.02em",
|
|
1974
|
-
children: typeof
|
|
1976
|
+
children: typeof y == "number" ? y.toLocaleString("pt-BR") : y
|
|
1975
1977
|
}
|
|
1976
1978
|
),
|
|
1977
1979
|
/* @__PURE__ */ e(
|
|
@@ -1982,18 +1984,18 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
1982
1984
|
tt: "uppercase",
|
|
1983
1985
|
lts: "1.5px",
|
|
1984
1986
|
c: "gray.4",
|
|
1985
|
-
children:
|
|
1987
|
+
children: pr[b] || b
|
|
1986
1988
|
}
|
|
1987
1989
|
)
|
|
1988
1990
|
]
|
|
1989
1991
|
},
|
|
1990
|
-
|
|
1992
|
+
b
|
|
1991
1993
|
))
|
|
1992
1994
|
}
|
|
1993
1995
|
)
|
|
1994
1996
|
]
|
|
1995
1997
|
},
|
|
1996
|
-
|
|
1998
|
+
c.name || m
|
|
1997
1999
|
);
|
|
1998
2000
|
})
|
|
1999
2001
|
] }),
|
|
@@ -2012,7 +2014,7 @@ function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], l
|
|
|
2012
2014
|
}
|
|
2013
2015
|
);
|
|
2014
2016
|
}
|
|
2015
|
-
const
|
|
2017
|
+
const pr = {
|
|
2016
2018
|
activeSessions: "Sessões ativas",
|
|
2017
2019
|
pendingVerifications: "Verificações pendentes",
|
|
2018
2020
|
publicKeys: "Chaves públicas",
|
|
@@ -2023,8 +2025,8 @@ const hr = {
|
|
|
2023
2025
|
down: { color: "red.7", label: "Interrupção em andamento" },
|
|
2024
2026
|
loading: { color: "gray.4", label: "Verificando status" }
|
|
2025
2027
|
}, X = 20;
|
|
2026
|
-
function Wr({ status: a = "loading", history:
|
|
2027
|
-
const o = he[a] || he.loading, g =
|
|
2028
|
+
function Wr({ status: a = "loading", history: s = [], label: l, link: i, ...n }) {
|
|
2029
|
+
const o = he[a] || he.loading, g = s.slice(-X), d = Array(Math.max(0, X - g.length)).fill(null), p = [...d, ...g];
|
|
2028
2030
|
return /* @__PURE__ */ e(
|
|
2029
2031
|
me,
|
|
2030
2032
|
{
|
|
@@ -2033,7 +2035,7 @@ function Wr({ status: a = "loading", history: c = [], label: l, link: i, ...n })
|
|
|
2033
2035
|
...i,
|
|
2034
2036
|
...n,
|
|
2035
2037
|
children: /* @__PURE__ */ r(
|
|
2036
|
-
|
|
2038
|
+
f,
|
|
2037
2039
|
{
|
|
2038
2040
|
gap: "xs",
|
|
2039
2041
|
wrap: "nowrap",
|
|
@@ -2047,18 +2049,18 @@ function Wr({ status: a = "loading", history: c = [], label: l, link: i, ...n })
|
|
|
2047
2049
|
h: 16,
|
|
2048
2050
|
"aria-hidden": "true",
|
|
2049
2051
|
style: { display: "block", overflow: "visible" },
|
|
2050
|
-
children:
|
|
2051
|
-
const
|
|
2052
|
+
children: p.map((c, m) => {
|
|
2053
|
+
const h = c === null ? 2 : Math.max(2, c * 16), b = p.length - d.length - 1 || 1, y = m - d.length;
|
|
2052
2054
|
return /* @__PURE__ */ e(
|
|
2053
2055
|
x,
|
|
2054
2056
|
{
|
|
2055
2057
|
component: "rect",
|
|
2056
2058
|
x: m * 4,
|
|
2057
|
-
y: 16 -
|
|
2059
|
+
y: 16 - h,
|
|
2058
2060
|
width: 3,
|
|
2059
|
-
height:
|
|
2060
|
-
fill:
|
|
2061
|
-
opacity:
|
|
2061
|
+
height: h,
|
|
2062
|
+
fill: c === null ? "var(--mantine-color-gray-2)" : `var(--mantine-color-${o.color.replace(".", "-")})`,
|
|
2063
|
+
opacity: c === null ? 0.6 : 0.55 + y / b * 0.45
|
|
2062
2064
|
},
|
|
2063
2065
|
m
|
|
2064
2066
|
);
|
|
@@ -2083,38 +2085,38 @@ function Wr({ status: a = "loading", history: c = [], label: l, link: i, ...n })
|
|
|
2083
2085
|
}
|
|
2084
2086
|
);
|
|
2085
2087
|
}
|
|
2086
|
-
function Ur({ id: a, subtitle:
|
|
2088
|
+
function Ur({ id: a, subtitle: s, title: l, description: i, items: n = [], ctaIcon: o, note: g, background: d = "white", ta: p = "center" }) {
|
|
2087
2089
|
return /* @__PURE__ */ r(
|
|
2088
2090
|
F,
|
|
2089
2091
|
{
|
|
2090
2092
|
id: a,
|
|
2091
|
-
subtitle:
|
|
2093
|
+
subtitle: s,
|
|
2092
2094
|
title: l,
|
|
2093
2095
|
background: d,
|
|
2094
|
-
ta:
|
|
2096
|
+
ta: p,
|
|
2095
2097
|
maw: 900,
|
|
2096
2098
|
children: [
|
|
2097
2099
|
i && /* @__PURE__ */ e(
|
|
2098
2100
|
t,
|
|
2099
2101
|
{
|
|
2100
2102
|
c: "gray.6",
|
|
2101
|
-
ta:
|
|
2103
|
+
ta: p,
|
|
2102
2104
|
mb: 80,
|
|
2103
2105
|
maw: 780,
|
|
2104
|
-
mx:
|
|
2106
|
+
mx: p === "center" ? "auto" : void 0,
|
|
2105
2107
|
size: "lg",
|
|
2106
2108
|
lh: 1.6,
|
|
2107
2109
|
children: i
|
|
2108
2110
|
}
|
|
2109
2111
|
),
|
|
2110
|
-
/* @__PURE__ */ e(
|
|
2111
|
-
const
|
|
2112
|
+
/* @__PURE__ */ e(v, { gutter: "xl", children: n.map((c, m) => {
|
|
2113
|
+
const h = c.icon;
|
|
2112
2114
|
return /* @__PURE__ */ e(
|
|
2113
|
-
|
|
2115
|
+
v.Col,
|
|
2114
2116
|
{
|
|
2115
|
-
span: { base: 12, md:
|
|
2117
|
+
span: { base: 12, md: c.span || 6 },
|
|
2116
2118
|
children: /* @__PURE__ */ r(
|
|
2117
|
-
|
|
2119
|
+
T,
|
|
2118
2120
|
{
|
|
2119
2121
|
p: "xl",
|
|
2120
2122
|
radius: "0",
|
|
@@ -2124,7 +2126,7 @@ function Ur({ id: a, subtitle: c, title: l, description: i, items: n = [], ctaIc
|
|
|
2124
2126
|
style: { height: "100%", display: "flex", flexDirection: "column" },
|
|
2125
2127
|
children: [
|
|
2126
2128
|
/* @__PURE__ */ r(
|
|
2127
|
-
|
|
2129
|
+
f,
|
|
2128
2130
|
{
|
|
2129
2131
|
justify: "space-between",
|
|
2130
2132
|
align: "flex-start",
|
|
@@ -2132,7 +2134,7 @@ function Ur({ id: a, subtitle: c, title: l, description: i, items: n = [], ctaIc
|
|
|
2132
2134
|
wrap: "nowrap",
|
|
2133
2135
|
children: [
|
|
2134
2136
|
/* @__PURE__ */ r(x, { children: [
|
|
2135
|
-
|
|
2137
|
+
c.category && /* @__PURE__ */ e(
|
|
2136
2138
|
t,
|
|
2137
2139
|
{
|
|
2138
2140
|
size: "xs",
|
|
@@ -2141,22 +2143,22 @@ function Ur({ id: a, subtitle: c, title: l, description: i, items: n = [], ctaIc
|
|
|
2141
2143
|
lts: "1.5px",
|
|
2142
2144
|
c: "gray.4",
|
|
2143
2145
|
mb: 4,
|
|
2144
|
-
children:
|
|
2146
|
+
children: c.category
|
|
2145
2147
|
}
|
|
2146
2148
|
),
|
|
2147
2149
|
/* @__PURE__ */ e(
|
|
2148
|
-
|
|
2150
|
+
q,
|
|
2149
2151
|
{
|
|
2150
2152
|
order: 3,
|
|
2151
2153
|
fz: "h2",
|
|
2152
2154
|
fw: 800,
|
|
2153
2155
|
c: "gray.9",
|
|
2154
|
-
children:
|
|
2156
|
+
children: c.name
|
|
2155
2157
|
}
|
|
2156
2158
|
)
|
|
2157
2159
|
] }),
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
+
h && /* @__PURE__ */ e(
|
|
2161
|
+
h,
|
|
2160
2162
|
{
|
|
2161
2163
|
size: 28,
|
|
2162
2164
|
stroke: 1.5,
|
|
@@ -2166,7 +2168,7 @@ function Ur({ id: a, subtitle: c, title: l, description: i, items: n = [], ctaIc
|
|
|
2166
2168
|
]
|
|
2167
2169
|
}
|
|
2168
2170
|
),
|
|
2169
|
-
|
|
2171
|
+
c.headline && /* @__PURE__ */ e(
|
|
2170
2172
|
t,
|
|
2171
2173
|
{
|
|
2172
2174
|
fw: 700,
|
|
@@ -2175,10 +2177,10 @@ function Ur({ id: a, subtitle: c, title: l, description: i, items: n = [], ctaIc
|
|
|
2175
2177
|
mb: "sm",
|
|
2176
2178
|
c: "gray.9",
|
|
2177
2179
|
style: { letterSpacing: "-0.01em" },
|
|
2178
|
-
children:
|
|
2180
|
+
children: c.headline
|
|
2179
2181
|
}
|
|
2180
2182
|
),
|
|
2181
|
-
|
|
2183
|
+
c.description && /* @__PURE__ */ e(
|
|
2182
2184
|
t,
|
|
2183
2185
|
{
|
|
2184
2186
|
size: "md",
|
|
@@ -2186,16 +2188,16 @@ function Ur({ id: a, subtitle: c, title: l, description: i, items: n = [], ctaIc
|
|
|
2186
2188
|
lh: 1.6,
|
|
2187
2189
|
mb: "xl",
|
|
2188
2190
|
style: { flexGrow: 1 },
|
|
2189
|
-
children:
|
|
2191
|
+
children: c.description
|
|
2190
2192
|
}
|
|
2191
2193
|
),
|
|
2192
|
-
|
|
2194
|
+
c.href && /* @__PURE__ */ e(
|
|
2193
2195
|
U,
|
|
2194
2196
|
{
|
|
2195
2197
|
component: "a",
|
|
2196
|
-
href:
|
|
2197
|
-
target:
|
|
2198
|
-
rel:
|
|
2198
|
+
href: c.href,
|
|
2199
|
+
target: c.target,
|
|
2200
|
+
rel: c.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
2199
2201
|
variant: "default",
|
|
2200
2202
|
size: "md",
|
|
2201
2203
|
radius: "0",
|
|
@@ -2208,14 +2210,14 @@ function Ur({ id: a, subtitle: c, title: l, description: i, items: n = [], ctaIc
|
|
|
2208
2210
|
paddingTop: 16,
|
|
2209
2211
|
marginTop: "auto"
|
|
2210
2212
|
},
|
|
2211
|
-
children:
|
|
2213
|
+
children: c.ctaLabel || `Abrir ${c.name}`
|
|
2212
2214
|
}
|
|
2213
2215
|
)
|
|
2214
2216
|
]
|
|
2215
2217
|
}
|
|
2216
2218
|
)
|
|
2217
2219
|
},
|
|
2218
|
-
|
|
2220
|
+
c.name || m
|
|
2219
2221
|
);
|
|
2220
2222
|
}) }),
|
|
2221
2223
|
g && /* @__PURE__ */ e(
|
|
@@ -2223,10 +2225,10 @@ function Ur({ id: a, subtitle: c, title: l, description: i, items: n = [], ctaIc
|
|
|
2223
2225
|
{
|
|
2224
2226
|
size: "sm",
|
|
2225
2227
|
c: "gray.6",
|
|
2226
|
-
ta:
|
|
2228
|
+
ta: p,
|
|
2227
2229
|
mt: 60,
|
|
2228
2230
|
maw: 800,
|
|
2229
|
-
mx:
|
|
2231
|
+
mx: p === "center" ? "auto" : void 0,
|
|
2230
2232
|
lh: 1.6,
|
|
2231
2233
|
fs: "italic",
|
|
2232
2234
|
children: g
|
|
@@ -2238,23 +2240,23 @@ function Ur({ id: a, subtitle: c, title: l, description: i, items: n = [], ctaIc
|
|
|
2238
2240
|
}
|
|
2239
2241
|
function _r({
|
|
2240
2242
|
id: a,
|
|
2241
|
-
subtitle:
|
|
2243
|
+
subtitle: s,
|
|
2242
2244
|
title: l,
|
|
2243
2245
|
description: i,
|
|
2244
2246
|
items: n = [],
|
|
2245
2247
|
categories: o = [],
|
|
2246
2248
|
filtersLabel: g = "Filtrar por categoria",
|
|
2247
2249
|
note: d,
|
|
2248
|
-
background:
|
|
2250
|
+
background: p = "white",
|
|
2249
2251
|
// SEM DEFAULT COM PALAVRA DE PRODUTO. Este texto aparece na tela, e um
|
|
2250
2252
|
// default como "Conhecer a peça" faria o kit anunciar o vocabulário de um
|
|
2251
2253
|
// produto dentro de outro — o erro que já tirou a marca do topo com o
|
|
2252
2254
|
// `Wordmark` e anunciou "monitores" no log de e-mails do Payments. Sem
|
|
2253
2255
|
// rótulo a chamada não é desenhada; quem chama diz a palavra.
|
|
2254
|
-
ctaLabel:
|
|
2256
|
+
ctaLabel: c
|
|
2255
2257
|
}) {
|
|
2256
|
-
const [m,
|
|
2257
|
-
return
|
|
2258
|
+
const [m, h] = H("todas"), b = ar("(min-width: 48em)", !1), y = Ee(() => m === "todas" ? n : [...n].sort((I, C) => +(C.category === m) - +(I.category === m)), [n, m]), [z, ...k] = y;
|
|
2259
|
+
return z ? (
|
|
2258
2260
|
// O CABEÇALHO É CENTRALIZADO, O CONTEÚDO NÃO. `ta="center"` no
|
|
2259
2261
|
// `Section` alinha o kicker, o título e — por herança — tudo que
|
|
2260
2262
|
// vier abaixo, incluindo o texto dentro dos cards. Por isso cada
|
|
@@ -2267,9 +2269,9 @@ function _r({
|
|
|
2267
2269
|
F,
|
|
2268
2270
|
{
|
|
2269
2271
|
id: a,
|
|
2270
|
-
subtitle:
|
|
2272
|
+
subtitle: s,
|
|
2271
2273
|
title: l,
|
|
2272
|
-
background:
|
|
2274
|
+
background: p,
|
|
2273
2275
|
ta: "center",
|
|
2274
2276
|
children: [
|
|
2275
2277
|
i && /* @__PURE__ */ e(
|
|
@@ -2285,43 +2287,43 @@ function _r({
|
|
|
2285
2287
|
}
|
|
2286
2288
|
),
|
|
2287
2289
|
o.length > 0 && /* @__PURE__ */ e(
|
|
2288
|
-
|
|
2290
|
+
f,
|
|
2289
2291
|
{
|
|
2290
2292
|
gap: "xs",
|
|
2291
2293
|
mb: 40,
|
|
2292
|
-
justify:
|
|
2294
|
+
justify: b ? "center" : "flex-start",
|
|
2293
2295
|
wrap: "nowrap",
|
|
2294
2296
|
role: "group",
|
|
2295
2297
|
"aria-label": g,
|
|
2296
2298
|
className: "rlg-shelf-filters",
|
|
2297
|
-
children: o.map((
|
|
2299
|
+
children: o.map((I) => /* @__PURE__ */ e(
|
|
2298
2300
|
ke,
|
|
2299
2301
|
{
|
|
2300
|
-
onClick: () =>
|
|
2302
|
+
onClick: () => h(I.id),
|
|
2301
2303
|
className: "rlg-shelf-pill",
|
|
2302
|
-
"data-active": m ===
|
|
2303
|
-
"aria-pressed": m ===
|
|
2304
|
-
children:
|
|
2304
|
+
"data-active": m === I.id || void 0,
|
|
2305
|
+
"aria-pressed": m === I.id,
|
|
2306
|
+
children: I.label
|
|
2305
2307
|
},
|
|
2306
|
-
|
|
2308
|
+
I.id
|
|
2307
2309
|
))
|
|
2308
2310
|
}
|
|
2309
2311
|
),
|
|
2310
|
-
/* @__PURE__ */ r(
|
|
2311
|
-
/* @__PURE__ */ e(
|
|
2312
|
-
|
|
2312
|
+
/* @__PURE__ */ r(v, { gutter: "lg", children: [
|
|
2313
|
+
/* @__PURE__ */ e(v.Col, { span: { base: 12, lg: 5, xl: 4 }, children: /* @__PURE__ */ e(
|
|
2314
|
+
gr,
|
|
2313
2315
|
{
|
|
2314
|
-
item:
|
|
2315
|
-
ctaLabel:
|
|
2316
|
+
item: z,
|
|
2317
|
+
ctaLabel: c
|
|
2316
2318
|
}
|
|
2317
2319
|
) }),
|
|
2318
|
-
/* @__PURE__ */ e(
|
|
2319
|
-
|
|
2320
|
+
/* @__PURE__ */ e(v.Col, { span: { base: 12, lg: 7, xl: 8 }, children: /* @__PURE__ */ e(v, { gutter: "lg", children: k.map((I) => /* @__PURE__ */ e(
|
|
2321
|
+
v.Col,
|
|
2320
2322
|
{
|
|
2321
2323
|
span: { base: 12, xs: 6, md: 4, lg: 6, xl: 4 },
|
|
2322
|
-
children: /* @__PURE__ */ e(
|
|
2324
|
+
children: /* @__PURE__ */ e(mr, { item: I })
|
|
2323
2325
|
},
|
|
2324
|
-
|
|
2326
|
+
I.name
|
|
2325
2327
|
)) }) })
|
|
2326
2328
|
] }),
|
|
2327
2329
|
d && /* @__PURE__ */ e(
|
|
@@ -2347,10 +2349,10 @@ const we = (a) => ({
|
|
|
2347
2349
|
target: a.target,
|
|
2348
2350
|
rel: a.target === "_blank" ? "noopener noreferrer" : void 0
|
|
2349
2351
|
});
|
|
2350
|
-
function
|
|
2352
|
+
function gr({ item: a, ctaLabel: s }) {
|
|
2351
2353
|
const l = a.icon;
|
|
2352
2354
|
return /* @__PURE__ */ r(
|
|
2353
|
-
|
|
2355
|
+
T,
|
|
2354
2356
|
{
|
|
2355
2357
|
...we(a),
|
|
2356
2358
|
className: "rlg-shelf-feature",
|
|
@@ -2371,7 +2373,7 @@ function pr({ item: a, ctaLabel: c }) {
|
|
|
2371
2373
|
}
|
|
2372
2374
|
),
|
|
2373
2375
|
/* @__PURE__ */ r(
|
|
2374
|
-
|
|
2376
|
+
u,
|
|
2375
2377
|
{
|
|
2376
2378
|
className: "rlg-shelf-feature-body",
|
|
2377
2379
|
gap: "md",
|
|
@@ -2400,7 +2402,7 @@ function pr({ item: a, ctaLabel: c }) {
|
|
|
2400
2402
|
] }),
|
|
2401
2403
|
/* @__PURE__ */ r(x, { className: "rlg-shelf-feature-bottom", children: [
|
|
2402
2404
|
/* @__PURE__ */ e(
|
|
2403
|
-
|
|
2405
|
+
q,
|
|
2404
2406
|
{
|
|
2405
2407
|
order: 3,
|
|
2406
2408
|
className: "rlg-shelf-feature-title",
|
|
@@ -2419,8 +2421,8 @@ function pr({ item: a, ctaLabel: c }) {
|
|
|
2419
2421
|
children: a.description
|
|
2420
2422
|
}
|
|
2421
2423
|
),
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
+
s && /* @__PURE__ */ r(
|
|
2425
|
+
f,
|
|
2424
2426
|
{
|
|
2425
2427
|
className: "rlg-shelf-feature-cta",
|
|
2426
2428
|
gap: 8,
|
|
@@ -2433,7 +2435,7 @@ function pr({ item: a, ctaLabel: c }) {
|
|
|
2433
2435
|
size: "sm",
|
|
2434
2436
|
fw: 800,
|
|
2435
2437
|
c: "gray.9",
|
|
2436
|
-
children:
|
|
2438
|
+
children: s
|
|
2437
2439
|
}
|
|
2438
2440
|
),
|
|
2439
2441
|
/* @__PURE__ */ e(
|
|
@@ -2455,10 +2457,10 @@ function pr({ item: a, ctaLabel: c }) {
|
|
|
2455
2457
|
}
|
|
2456
2458
|
);
|
|
2457
2459
|
}
|
|
2458
|
-
function
|
|
2459
|
-
const
|
|
2460
|
+
function mr({ item: a }) {
|
|
2461
|
+
const s = a.icon;
|
|
2460
2462
|
return /* @__PURE__ */ r(
|
|
2461
|
-
|
|
2463
|
+
T,
|
|
2462
2464
|
{
|
|
2463
2465
|
...we(a),
|
|
2464
2466
|
className: "rlg-shelf-card",
|
|
@@ -2480,13 +2482,13 @@ function gr({ item: a }) {
|
|
|
2480
2482
|
}
|
|
2481
2483
|
),
|
|
2482
2484
|
/* @__PURE__ */ r(
|
|
2483
|
-
|
|
2485
|
+
u,
|
|
2484
2486
|
{
|
|
2485
2487
|
className: "rlg-shelf-card-body",
|
|
2486
2488
|
gap: "sm",
|
|
2487
2489
|
children: [
|
|
2488
|
-
|
|
2489
|
-
|
|
2490
|
+
s && /* @__PURE__ */ e(
|
|
2491
|
+
s,
|
|
2490
2492
|
{
|
|
2491
2493
|
size: 22,
|
|
2492
2494
|
stroke: 1.5,
|
|
@@ -2495,7 +2497,7 @@ function gr({ item: a }) {
|
|
|
2495
2497
|
),
|
|
2496
2498
|
/* @__PURE__ */ r(x, { children: [
|
|
2497
2499
|
/* @__PURE__ */ e(
|
|
2498
|
-
|
|
2500
|
+
q,
|
|
2499
2501
|
{
|
|
2500
2502
|
order: 3,
|
|
2501
2503
|
fz: "h4",
|
|
@@ -2523,12 +2525,12 @@ function gr({ item: a }) {
|
|
|
2523
2525
|
}
|
|
2524
2526
|
);
|
|
2525
2527
|
}
|
|
2526
|
-
function Hr({ id: a, subtitle:
|
|
2528
|
+
function Hr({ id: a, subtitle: s, title: l, description: i, items: n = [], note: o, background: g = "gray", ta: d = "center" }) {
|
|
2527
2529
|
return /* @__PURE__ */ r(
|
|
2528
2530
|
F,
|
|
2529
2531
|
{
|
|
2530
2532
|
id: a,
|
|
2531
|
-
subtitle:
|
|
2533
|
+
subtitle: s,
|
|
2532
2534
|
title: l,
|
|
2533
2535
|
background: g,
|
|
2534
2536
|
ta: d,
|
|
@@ -2548,54 +2550,54 @@ function Hr({ id: a, subtitle: c, title: l, description: i, items: n = [], note:
|
|
|
2548
2550
|
}
|
|
2549
2551
|
),
|
|
2550
2552
|
/* @__PURE__ */ e(
|
|
2551
|
-
|
|
2553
|
+
T,
|
|
2552
2554
|
{
|
|
2553
2555
|
radius: "0",
|
|
2554
2556
|
bg: "white",
|
|
2555
2557
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
2556
2558
|
px: { base: "lg", md: 40 },
|
|
2557
2559
|
py: { base: "xs", md: "md" },
|
|
2558
|
-
children: n.map((
|
|
2559
|
-
|
|
2560
|
+
children: n.map((p, c) => /* @__PURE__ */ r(
|
|
2561
|
+
v,
|
|
2560
2562
|
{
|
|
2561
2563
|
gutter: { base: 4, sm: "xl" },
|
|
2562
2564
|
py: { base: "lg", md: "xl" },
|
|
2563
2565
|
ta: "left",
|
|
2564
|
-
style:
|
|
2566
|
+
style: c === 0 ? void 0 : { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2565
2567
|
children: [
|
|
2566
|
-
/* @__PURE__ */ e(
|
|
2568
|
+
/* @__PURE__ */ e(v.Col, { span: { base: 12, sm: 4 }, children: /* @__PURE__ */ e(
|
|
2567
2569
|
t,
|
|
2568
2570
|
{
|
|
2569
2571
|
fw: 700,
|
|
2570
2572
|
lh: 1.4,
|
|
2571
2573
|
c: "gray.9",
|
|
2572
|
-
children:
|
|
2574
|
+
children: p.criterion
|
|
2573
2575
|
}
|
|
2574
2576
|
) }),
|
|
2575
|
-
/* @__PURE__ */ r(
|
|
2577
|
+
/* @__PURE__ */ r(v.Col, { span: { base: 12, sm: 8 }, children: [
|
|
2576
2578
|
/* @__PURE__ */ e(
|
|
2577
2579
|
t,
|
|
2578
2580
|
{
|
|
2579
2581
|
fw: 700,
|
|
2580
2582
|
lh: 1.4,
|
|
2581
2583
|
mb: 6,
|
|
2582
|
-
c:
|
|
2583
|
-
children:
|
|
2584
|
+
c: p.muted ? "gray.5" : "gray.9",
|
|
2585
|
+
children: p.value
|
|
2584
2586
|
}
|
|
2585
2587
|
),
|
|
2586
|
-
|
|
2588
|
+
p.note && /* @__PURE__ */ e(
|
|
2587
2589
|
t,
|
|
2588
2590
|
{
|
|
2589
2591
|
size: "sm",
|
|
2590
2592
|
c: "gray.6",
|
|
2591
2593
|
lh: 1.6,
|
|
2592
|
-
children:
|
|
2594
|
+
children: p.note
|
|
2593
2595
|
}
|
|
2594
2596
|
)
|
|
2595
2597
|
] })
|
|
2596
2598
|
]
|
|
2597
2599
|
},
|
|
2598
|
-
|
|
2600
|
+
p.criterion || c
|
|
2599
2601
|
))
|
|
2600
2602
|
}
|
|
2601
2603
|
),
|
|
@@ -2616,32 +2618,32 @@ function Hr({ id: a, subtitle: c, title: l, description: i, items: n = [], note:
|
|
|
2616
2618
|
}
|
|
2617
2619
|
);
|
|
2618
2620
|
}
|
|
2619
|
-
function Gr({ id: a, subtitle:
|
|
2621
|
+
function Gr({ id: a, subtitle: s, title: l, description: i, cardLabel: n, items: o = [], footnote: g, background: d = "gray", ta: p = "center" }) {
|
|
2620
2622
|
return /* @__PURE__ */ r(
|
|
2621
2623
|
F,
|
|
2622
2624
|
{
|
|
2623
2625
|
id: a,
|
|
2624
|
-
subtitle:
|
|
2626
|
+
subtitle: s,
|
|
2625
2627
|
title: l,
|
|
2626
2628
|
background: d,
|
|
2627
|
-
ta:
|
|
2629
|
+
ta: p,
|
|
2628
2630
|
maw: 800,
|
|
2629
2631
|
children: [
|
|
2630
2632
|
i && /* @__PURE__ */ e(
|
|
2631
2633
|
t,
|
|
2632
2634
|
{
|
|
2633
2635
|
c: "gray.6",
|
|
2634
|
-
ta:
|
|
2636
|
+
ta: p,
|
|
2635
2637
|
size: "lg",
|
|
2636
2638
|
lh: 1.7,
|
|
2637
2639
|
maw: 720,
|
|
2638
|
-
mx:
|
|
2640
|
+
mx: p === "center" ? "auto" : void 0,
|
|
2639
2641
|
mb: 48,
|
|
2640
2642
|
children: i
|
|
2641
2643
|
}
|
|
2642
2644
|
),
|
|
2643
2645
|
/* @__PURE__ */ r(
|
|
2644
|
-
|
|
2646
|
+
T,
|
|
2645
2647
|
{
|
|
2646
2648
|
p: { base: "lg", md: "xl" },
|
|
2647
2649
|
radius: "0",
|
|
@@ -2668,28 +2670,28 @@ function Gr({ id: a, subtitle: c, title: l, description: i, cardLabel: n, items:
|
|
|
2668
2670
|
m: 0,
|
|
2669
2671
|
pl: "lg",
|
|
2670
2672
|
style: { display: "flex", flexDirection: "column", gap: 16 },
|
|
2671
|
-
children: o.map((
|
|
2673
|
+
children: o.map((c, m) => /* @__PURE__ */ r(
|
|
2672
2674
|
t,
|
|
2673
2675
|
{
|
|
2674
2676
|
component: "li",
|
|
2675
2677
|
c: "gray.6",
|
|
2676
2678
|
lh: 1.7,
|
|
2677
2679
|
children: [
|
|
2678
|
-
|
|
2680
|
+
c.lead && /* @__PURE__ */ e(
|
|
2679
2681
|
t,
|
|
2680
2682
|
{
|
|
2681
2683
|
component: "span",
|
|
2682
2684
|
fw: 700,
|
|
2683
2685
|
c: "gray.9",
|
|
2684
2686
|
inherit: !0,
|
|
2685
|
-
children:
|
|
2687
|
+
children: c.lead
|
|
2686
2688
|
}
|
|
2687
2689
|
),
|
|
2688
2690
|
" ",
|
|
2689
|
-
|
|
2691
|
+
c.text
|
|
2690
2692
|
]
|
|
2691
2693
|
},
|
|
2692
|
-
|
|
2694
|
+
c.lead || m
|
|
2693
2695
|
))
|
|
2694
2696
|
}
|
|
2695
2697
|
),
|
|
@@ -2725,14 +2727,14 @@ function Gr({ id: a, subtitle: c, title: l, description: i, cardLabel: n, items:
|
|
|
2725
2727
|
}
|
|
2726
2728
|
);
|
|
2727
2729
|
}
|
|
2728
|
-
function Kr({ id: a, subtitle:
|
|
2730
|
+
function Kr({ id: a, subtitle: s, title: l, description: i, avatar: n, name: o, role: g, quote: d, credentials: p = [], background: c = "white", ta: m = "center" }) {
|
|
2729
2731
|
return /* @__PURE__ */ r(
|
|
2730
2732
|
F,
|
|
2731
2733
|
{
|
|
2732
2734
|
id: a,
|
|
2733
|
-
subtitle:
|
|
2735
|
+
subtitle: s,
|
|
2734
2736
|
title: l,
|
|
2735
|
-
background:
|
|
2737
|
+
background: c,
|
|
2736
2738
|
ta: m,
|
|
2737
2739
|
maw: 900,
|
|
2738
2740
|
children: [
|
|
@@ -2750,7 +2752,7 @@ function Kr({ id: a, subtitle: c, title: l, description: i, avatar: n, name: o,
|
|
|
2750
2752
|
}
|
|
2751
2753
|
),
|
|
2752
2754
|
/* @__PURE__ */ r(
|
|
2753
|
-
|
|
2755
|
+
T,
|
|
2754
2756
|
{
|
|
2755
2757
|
radius: "0",
|
|
2756
2758
|
maw: 880,
|
|
@@ -2761,14 +2763,14 @@ function Kr({ id: a, subtitle: c, title: l, description: i, avatar: n, name: o,
|
|
|
2761
2763
|
ta: "left",
|
|
2762
2764
|
children: [
|
|
2763
2765
|
/* @__PURE__ */ r(
|
|
2764
|
-
|
|
2766
|
+
v,
|
|
2765
2767
|
{
|
|
2766
2768
|
gutter: { base: "xl", md: 48 },
|
|
2767
2769
|
align: "flex-start",
|
|
2768
2770
|
children: [
|
|
2769
2771
|
n && // O retrato vira linha própria e centralizada no celular,
|
|
2770
2772
|
// onde o layout de duas colunas não cabe.
|
|
2771
|
-
/* @__PURE__ */ e(
|
|
2773
|
+
/* @__PURE__ */ e(v.Col, { span: { base: 12, sm: "content" }, children: /* @__PURE__ */ e(
|
|
2772
2774
|
x,
|
|
2773
2775
|
{
|
|
2774
2776
|
mx: { base: "auto", sm: 0 },
|
|
@@ -2789,9 +2791,9 @@ function Kr({ id: a, subtitle: c, title: l, description: i, avatar: n, name: o,
|
|
|
2789
2791
|
)
|
|
2790
2792
|
}
|
|
2791
2793
|
) }),
|
|
2792
|
-
/* @__PURE__ */ r(
|
|
2794
|
+
/* @__PURE__ */ r(v.Col, { span: { base: 12, sm: "auto" }, children: [
|
|
2793
2795
|
(o || g) && /* @__PURE__ */ r(
|
|
2794
|
-
|
|
2796
|
+
f,
|
|
2795
2797
|
{
|
|
2796
2798
|
mb: "lg",
|
|
2797
2799
|
gap: "sm",
|
|
@@ -2837,15 +2839,15 @@ function Kr({ id: a, subtitle: c, title: l, description: i, avatar: n, name: o,
|
|
|
2837
2839
|
]
|
|
2838
2840
|
}
|
|
2839
2841
|
),
|
|
2840
|
-
|
|
2842
|
+
p.length > 0 && /* @__PURE__ */ e(
|
|
2841
2843
|
A,
|
|
2842
2844
|
{
|
|
2843
|
-
cols:
|
|
2845
|
+
cols: p.length,
|
|
2844
2846
|
spacing: { base: "xs", sm: "lg" },
|
|
2845
2847
|
mt: { base: 32, md: 48 },
|
|
2846
2848
|
pt: { base: "lg", md: "xl" },
|
|
2847
2849
|
style: { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2848
|
-
children:
|
|
2850
|
+
children: p.map((h, b) => /* @__PURE__ */ r(
|
|
2849
2851
|
x,
|
|
2850
2852
|
{
|
|
2851
2853
|
ta: { base: "center", sm: "left" },
|
|
@@ -2860,7 +2862,7 @@ function Kr({ id: a, subtitle: c, title: l, description: i, avatar: n, name: o,
|
|
|
2860
2862
|
mb: 8,
|
|
2861
2863
|
c: "gray.9",
|
|
2862
2864
|
style: { letterSpacing: "-0.04em" },
|
|
2863
|
-
children:
|
|
2865
|
+
children: h.value
|
|
2864
2866
|
}
|
|
2865
2867
|
),
|
|
2866
2868
|
/* @__PURE__ */ e(
|
|
@@ -2873,12 +2875,12 @@ function Kr({ id: a, subtitle: c, title: l, description: i, avatar: n, name: o,
|
|
|
2873
2875
|
lh: 1.4,
|
|
2874
2876
|
tt: "uppercase",
|
|
2875
2877
|
lts: "1.5px",
|
|
2876
|
-
children:
|
|
2878
|
+
children: h.label
|
|
2877
2879
|
}
|
|
2878
2880
|
)
|
|
2879
2881
|
]
|
|
2880
2882
|
},
|
|
2881
|
-
|
|
2883
|
+
h.label || b
|
|
2882
2884
|
))
|
|
2883
2885
|
}
|
|
2884
2886
|
)
|
|
@@ -2889,12 +2891,12 @@ function Kr({ id: a, subtitle: c, title: l, description: i, avatar: n, name: o,
|
|
|
2889
2891
|
}
|
|
2890
2892
|
);
|
|
2891
2893
|
}
|
|
2892
|
-
function Qr({ id: a, badge:
|
|
2894
|
+
function Qr({ id: a, badge: s, subtitle: l, title: i, description: n, items: o = [], background: g = "gray", ta: d = "center" }) {
|
|
2893
2895
|
return /* @__PURE__ */ r(
|
|
2894
2896
|
F,
|
|
2895
2897
|
{
|
|
2896
2898
|
id: a,
|
|
2897
|
-
badge:
|
|
2899
|
+
badge: s,
|
|
2898
2900
|
subtitle: l,
|
|
2899
2901
|
title: i,
|
|
2900
2902
|
background: g,
|
|
@@ -2920,8 +2922,8 @@ function Qr({ id: a, badge: c, subtitle: l, title: i, description: n, items: o =
|
|
|
2920
2922
|
cols: { base: 1, md: o.length <= 4 ? o.length : 3 },
|
|
2921
2923
|
spacing: "xl",
|
|
2922
2924
|
verticalSpacing: { base: 56, md: "xl" },
|
|
2923
|
-
children: o.map((
|
|
2924
|
-
const m =
|
|
2925
|
+
children: o.map((p, c) => {
|
|
2926
|
+
const m = p.icon;
|
|
2925
2927
|
return /* @__PURE__ */ r(
|
|
2926
2928
|
x,
|
|
2927
2929
|
{
|
|
@@ -2943,11 +2945,11 @@ function Qr({ id: a, badge: c, subtitle: l, title: i, description: n, items: o =
|
|
|
2943
2945
|
letterSpacing: "-0.05em",
|
|
2944
2946
|
pointerEvents: "none"
|
|
2945
2947
|
},
|
|
2946
|
-
children:
|
|
2948
|
+
children: p.number || String(c + 1).padStart(2, "0")
|
|
2947
2949
|
}
|
|
2948
2950
|
),
|
|
2949
2951
|
m && /* @__PURE__ */ e(
|
|
2950
|
-
|
|
2952
|
+
S,
|
|
2951
2953
|
{
|
|
2952
2954
|
size: 60,
|
|
2953
2955
|
radius: "0",
|
|
@@ -2966,7 +2968,7 @@ function Qr({ id: a, badge: c, subtitle: l, title: i, description: n, items: o =
|
|
|
2966
2968
|
}
|
|
2967
2969
|
),
|
|
2968
2970
|
/* @__PURE__ */ e(
|
|
2969
|
-
|
|
2971
|
+
q,
|
|
2970
2972
|
{
|
|
2971
2973
|
order: 3,
|
|
2972
2974
|
fz: "h3",
|
|
@@ -2974,7 +2976,7 @@ function Qr({ id: a, badge: c, subtitle: l, title: i, description: n, items: o =
|
|
|
2974
2976
|
mb: "xs",
|
|
2975
2977
|
pos: "relative",
|
|
2976
2978
|
style: { zIndex: 1 },
|
|
2977
|
-
children:
|
|
2979
|
+
children: p.title
|
|
2978
2980
|
}
|
|
2979
2981
|
),
|
|
2980
2982
|
/* @__PURE__ */ e(
|
|
@@ -2985,12 +2987,12 @@ function Qr({ id: a, badge: c, subtitle: l, title: i, description: n, items: o =
|
|
|
2985
2987
|
lh: 1.6,
|
|
2986
2988
|
pos: "relative",
|
|
2987
2989
|
style: { zIndex: 1 },
|
|
2988
|
-
children:
|
|
2990
|
+
children: p.description
|
|
2989
2991
|
}
|
|
2990
2992
|
)
|
|
2991
2993
|
]
|
|
2992
2994
|
},
|
|
2993
|
-
|
|
2995
|
+
p.title || c
|
|
2994
2996
|
);
|
|
2995
2997
|
})
|
|
2996
2998
|
}
|
|
@@ -3000,11 +3002,11 @@ function Qr({ id: a, badge: c, subtitle: l, title: i, description: n, items: o =
|
|
|
3000
3002
|
);
|
|
3001
3003
|
}
|
|
3002
3004
|
const pe = (a) => a.requiredMessage || `Preencha o campo ${a.label}`;
|
|
3003
|
-
function Xr({ id: a, badge:
|
|
3004
|
-
const [m,
|
|
3005
|
-
const { value:
|
|
3006
|
-
|
|
3007
|
-
},
|
|
3005
|
+
function Xr({ id: a, badge: s, title: l, description: i, fields: n = [], whatsappNumber: o, messageIntro: g = "Olá! Vim pelo site.", submit: d = {}, reassurance: p, onSubmit: c }) {
|
|
3006
|
+
const [m, h] = H(() => Object.fromEntries(n.map((w) => [w.name, ""]))), [b, y] = H(!1), z = (w) => (L) => {
|
|
3007
|
+
const { value: D } = L.currentTarget;
|
|
3008
|
+
h((R) => ({ ...R, [w]: D }));
|
|
3009
|
+
}, I = n.filter((w) => w.required).every((w) => m[w.name]?.trim());
|
|
3008
3010
|
return /* @__PURE__ */ e(
|
|
3009
3011
|
x,
|
|
3010
3012
|
{
|
|
@@ -3013,8 +3015,8 @@ function Xr({ id: a, badge: c, title: l, description: i, fields: n = [], whatsap
|
|
|
3013
3015
|
py: { base: 80, md: 120 },
|
|
3014
3016
|
bg: "gray.9",
|
|
3015
3017
|
children: /* @__PURE__ */ r(B, { size: "md", children: [
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
+
s && /* @__PURE__ */ e(
|
|
3019
|
+
f,
|
|
3018
3020
|
{
|
|
3019
3021
|
justify: "center",
|
|
3020
3022
|
mb: "md",
|
|
@@ -3025,13 +3027,13 @@ function Xr({ id: a, badge: c, title: l, description: i, fields: n = [], whatsap
|
|
|
3025
3027
|
color: "gray",
|
|
3026
3028
|
size: "lg",
|
|
3027
3029
|
radius: "0",
|
|
3028
|
-
children:
|
|
3030
|
+
children: s
|
|
3029
3031
|
}
|
|
3030
3032
|
)
|
|
3031
3033
|
}
|
|
3032
3034
|
),
|
|
3033
3035
|
l && /* @__PURE__ */ e(
|
|
3034
|
-
|
|
3036
|
+
q,
|
|
3035
3037
|
{
|
|
3036
3038
|
order: 2,
|
|
3037
3039
|
ta: "center",
|
|
@@ -3055,45 +3057,45 @@ function Xr({ id: a, badge: c, title: l, description: i, fields: n = [], whatsap
|
|
|
3055
3057
|
}
|
|
3056
3058
|
),
|
|
3057
3059
|
/* @__PURE__ */ e(
|
|
3058
|
-
|
|
3060
|
+
T,
|
|
3059
3061
|
{
|
|
3060
3062
|
p: "xl",
|
|
3061
3063
|
radius: "0",
|
|
3062
3064
|
bg: "white",
|
|
3063
|
-
children: /* @__PURE__ */ e("form", { onSubmit: (
|
|
3064
|
-
if (
|
|
3065
|
-
const L = [g, "", ...n.filter((
|
|
3065
|
+
children: /* @__PURE__ */ e("form", { onSubmit: (w) => {
|
|
3066
|
+
if (w.preventDefault(), y(!0), !I) return;
|
|
3067
|
+
const L = [g, "", ...n.filter((D) => m[D.name]?.trim()).map((D) => `${D.label}: ${m[D.name]}`)].join(`
|
|
3066
3068
|
`);
|
|
3067
|
-
if (
|
|
3068
|
-
const
|
|
3069
|
-
window.open(
|
|
3069
|
+
if (c?.(m), o) {
|
|
3070
|
+
const D = `https://wa.me/${o}?text=${encodeURIComponent(L)}`;
|
|
3071
|
+
window.open(D, "_blank", "noopener,noreferrer");
|
|
3070
3072
|
}
|
|
3071
|
-
}, children: /* @__PURE__ */ r(
|
|
3072
|
-
/* @__PURE__ */ e(A, { cols: { base: 1, sm: 2 }, children: n.filter((
|
|
3073
|
+
}, children: /* @__PURE__ */ r(u, { gap: "md", children: [
|
|
3074
|
+
/* @__PURE__ */ e(A, { cols: { base: 1, sm: 2 }, children: n.filter((w) => w.span !== "full").map((w) => /* @__PURE__ */ e(
|
|
3073
3075
|
te,
|
|
3074
3076
|
{
|
|
3075
|
-
label:
|
|
3076
|
-
placeholder:
|
|
3077
|
-
type:
|
|
3078
|
-
required:
|
|
3079
|
-
value: m[
|
|
3080
|
-
onChange:
|
|
3081
|
-
error:
|
|
3077
|
+
label: w.label,
|
|
3078
|
+
placeholder: w.placeholder,
|
|
3079
|
+
type: w.type || "text",
|
|
3080
|
+
required: w.required,
|
|
3081
|
+
value: m[w.name] || "",
|
|
3082
|
+
onChange: z(w.name),
|
|
3083
|
+
error: b && w.required && !m[w.name]?.trim() ? pe(w) : null
|
|
3082
3084
|
},
|
|
3083
|
-
|
|
3085
|
+
w.name
|
|
3084
3086
|
)) }),
|
|
3085
|
-
n.filter((
|
|
3087
|
+
n.filter((w) => w.span === "full").map((w) => /* @__PURE__ */ e(
|
|
3086
3088
|
te,
|
|
3087
3089
|
{
|
|
3088
|
-
label:
|
|
3089
|
-
placeholder:
|
|
3090
|
-
type:
|
|
3091
|
-
required:
|
|
3092
|
-
value: m[
|
|
3093
|
-
onChange:
|
|
3094
|
-
error:
|
|
3090
|
+
label: w.label,
|
|
3091
|
+
placeholder: w.placeholder,
|
|
3092
|
+
type: w.type || "text",
|
|
3093
|
+
required: w.required,
|
|
3094
|
+
value: m[w.name] || "",
|
|
3095
|
+
onChange: z(w.name),
|
|
3096
|
+
error: b && w.required && !m[w.name]?.trim() ? pe(w) : null
|
|
3095
3097
|
},
|
|
3096
|
-
|
|
3098
|
+
w.name
|
|
3097
3099
|
)),
|
|
3098
3100
|
/* @__PURE__ */ e(
|
|
3099
3101
|
U,
|
|
@@ -3112,15 +3114,15 @@ function Xr({ id: a, badge: c, title: l, description: i, fields: n = [], whatsap
|
|
|
3112
3114
|
children: d.label || "Enviar"
|
|
3113
3115
|
}
|
|
3114
3116
|
),
|
|
3115
|
-
|
|
3116
|
-
|
|
3117
|
+
p && /* @__PURE__ */ r(
|
|
3118
|
+
f,
|
|
3117
3119
|
{
|
|
3118
3120
|
gap: "xs",
|
|
3119
3121
|
justify: "center",
|
|
3120
3122
|
mt: "xs",
|
|
3121
3123
|
children: [
|
|
3122
3124
|
/* @__PURE__ */ e(
|
|
3123
|
-
|
|
3125
|
+
S,
|
|
3124
3126
|
{
|
|
3125
3127
|
variant: "transparent",
|
|
3126
3128
|
color: "gray",
|
|
@@ -3139,7 +3141,7 @@ function Xr({ id: a, badge: c, title: l, description: i, fields: n = [], whatsap
|
|
|
3139
3141
|
{
|
|
3140
3142
|
size: "xs",
|
|
3141
3143
|
c: "gray.6",
|
|
3142
|
-
children:
|
|
3144
|
+
children: p
|
|
3143
3145
|
}
|
|
3144
3146
|
)
|
|
3145
3147
|
]
|
|
@@ -3152,16 +3154,16 @@ function Xr({ id: a, badge: c, title: l, description: i, fields: n = [], whatsap
|
|
|
3152
3154
|
}
|
|
3153
3155
|
);
|
|
3154
3156
|
}
|
|
3155
|
-
function Yr({ id: a, subtitle:
|
|
3157
|
+
function Yr({ id: a, subtitle: s, title: l, traditionalCol: i, newCol: n, background: o = "white" }) {
|
|
3156
3158
|
return /* @__PURE__ */ e(
|
|
3157
3159
|
F,
|
|
3158
3160
|
{
|
|
3159
3161
|
id: a,
|
|
3160
|
-
subtitle:
|
|
3162
|
+
subtitle: s,
|
|
3161
3163
|
title: l,
|
|
3162
3164
|
background: o,
|
|
3163
3165
|
children: /* @__PURE__ */ e(
|
|
3164
|
-
|
|
3166
|
+
T,
|
|
3165
3167
|
{
|
|
3166
3168
|
radius: "0",
|
|
3167
3169
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
@@ -3177,7 +3179,7 @@ function Yr({ id: a, subtitle: c, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3177
3179
|
{
|
|
3178
3180
|
bg: o === "gray" ? "gray.1" : "white",
|
|
3179
3181
|
p: { base: 30, md: 60 },
|
|
3180
|
-
children: /* @__PURE__ */ r(
|
|
3182
|
+
children: /* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
3181
3183
|
/* @__PURE__ */ r(x, { children: [
|
|
3182
3184
|
/* @__PURE__ */ e(
|
|
3183
3185
|
t,
|
|
@@ -3202,12 +3204,12 @@ function Yr({ id: a, subtitle: c, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3202
3204
|
)
|
|
3203
3205
|
] }),
|
|
3204
3206
|
/* @__PURE__ */ e(
|
|
3205
|
-
|
|
3207
|
+
u,
|
|
3206
3208
|
{
|
|
3207
3209
|
gap: "md",
|
|
3208
3210
|
mb: 40,
|
|
3209
3211
|
children: i.items.map((g, d) => /* @__PURE__ */ r(Be, { children: [
|
|
3210
|
-
/* @__PURE__ */ r(
|
|
3212
|
+
/* @__PURE__ */ r(f, { justify: "space-between", children: [
|
|
3211
3213
|
/* @__PURE__ */ e(
|
|
3212
3214
|
t,
|
|
3213
3215
|
{
|
|
@@ -3237,7 +3239,7 @@ function Yr({ id: a, subtitle: c, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3237
3239
|
radius: "0",
|
|
3238
3240
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
3239
3241
|
children: [
|
|
3240
|
-
/* @__PURE__ */ r(
|
|
3242
|
+
/* @__PURE__ */ r(f, { justify: "space-between", children: [
|
|
3241
3243
|
/* @__PURE__ */ e(
|
|
3242
3244
|
t,
|
|
3243
3245
|
{
|
|
@@ -3279,13 +3281,13 @@ function Yr({ id: a, subtitle: c, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3279
3281
|
p: { base: 30, md: 60 },
|
|
3280
3282
|
pos: "relative",
|
|
3281
3283
|
children: /* @__PURE__ */ r(
|
|
3282
|
-
|
|
3284
|
+
u,
|
|
3283
3285
|
{
|
|
3284
3286
|
gap: "xl",
|
|
3285
3287
|
h: "100%",
|
|
3286
3288
|
children: [
|
|
3287
3289
|
/* @__PURE__ */ r(x, { children: [
|
|
3288
|
-
/* @__PURE__ */ r(
|
|
3290
|
+
/* @__PURE__ */ r(f, { gap: "xs", children: [
|
|
3289
3291
|
/* @__PURE__ */ e(
|
|
3290
3292
|
t,
|
|
3291
3293
|
{
|
|
@@ -3322,7 +3324,7 @@ function Yr({ id: a, subtitle: c, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3322
3324
|
size: "md",
|
|
3323
3325
|
c: "gray.6",
|
|
3324
3326
|
icon: /* @__PURE__ */ e(
|
|
3325
|
-
|
|
3327
|
+
S,
|
|
3326
3328
|
{
|
|
3327
3329
|
color: "gray.0",
|
|
3328
3330
|
size: 20,
|
|
@@ -3347,7 +3349,7 @@ function Yr({ id: a, subtitle: c, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3347
3349
|
p: "lg",
|
|
3348
3350
|
radius: "0",
|
|
3349
3351
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
3350
|
-
children: /* @__PURE__ */ r(
|
|
3352
|
+
children: /* @__PURE__ */ r(u, { gap: 4, children: [
|
|
3351
3353
|
/* @__PURE__ */ e(
|
|
3352
3354
|
t,
|
|
3353
3355
|
{
|
|
@@ -3407,7 +3409,7 @@ function Yr({ id: a, subtitle: c, title: l, traditionalCol: i, newCol: n, backgr
|
|
|
3407
3409
|
}
|
|
3408
3410
|
function Jr({
|
|
3409
3411
|
id: a,
|
|
3410
|
-
badge:
|
|
3412
|
+
badge: s,
|
|
3411
3413
|
subtitle: l,
|
|
3412
3414
|
title: i,
|
|
3413
3415
|
description: n,
|
|
@@ -3417,15 +3419,15 @@ function Jr({
|
|
|
3417
3419
|
],
|
|
3418
3420
|
billing: g,
|
|
3419
3421
|
setBilling: d,
|
|
3420
|
-
promoBadge:
|
|
3421
|
-
plans:
|
|
3422
|
+
promoBadge: p,
|
|
3423
|
+
plans: c,
|
|
3422
3424
|
background: m = "white"
|
|
3423
3425
|
}) {
|
|
3424
3426
|
return /* @__PURE__ */ r(
|
|
3425
3427
|
F,
|
|
3426
3428
|
{
|
|
3427
3429
|
id: a,
|
|
3428
|
-
badge:
|
|
3430
|
+
badge: s,
|
|
3429
3431
|
subtitle: l,
|
|
3430
3432
|
title: i,
|
|
3431
3433
|
ta: "center",
|
|
@@ -3446,14 +3448,14 @@ function Jr({
|
|
|
3446
3448
|
}
|
|
3447
3449
|
),
|
|
3448
3450
|
o && o.length > 0 && /* @__PURE__ */ e(
|
|
3449
|
-
|
|
3451
|
+
u,
|
|
3450
3452
|
{
|
|
3451
3453
|
align: "center",
|
|
3452
3454
|
gap: "xl",
|
|
3453
3455
|
mb: 80,
|
|
3454
|
-
children: /* @__PURE__ */ r(
|
|
3456
|
+
children: /* @__PURE__ */ r(f, { gap: "xs", children: [
|
|
3455
3457
|
/* @__PURE__ */ e(
|
|
3456
|
-
|
|
3458
|
+
De,
|
|
3457
3459
|
{
|
|
3458
3460
|
value: g,
|
|
3459
3461
|
onChange: d,
|
|
@@ -3465,14 +3467,14 @@ function Jr({
|
|
|
3465
3467
|
style: { border: "1px solid var(--mantine-color-gray-2)" }
|
|
3466
3468
|
}
|
|
3467
3469
|
),
|
|
3468
|
-
g === "annual" &&
|
|
3470
|
+
g === "annual" && p && /* @__PURE__ */ e(
|
|
3469
3471
|
P,
|
|
3470
3472
|
{
|
|
3471
3473
|
variant: "filled",
|
|
3472
3474
|
color: "gray.9",
|
|
3473
3475
|
radius: "0",
|
|
3474
3476
|
size: "lg",
|
|
3475
|
-
children:
|
|
3477
|
+
children: p
|
|
3476
3478
|
}
|
|
3477
3479
|
)
|
|
3478
3480
|
] })
|
|
@@ -3481,29 +3483,29 @@ function Jr({
|
|
|
3481
3483
|
/* @__PURE__ */ e(
|
|
3482
3484
|
A,
|
|
3483
3485
|
{
|
|
3484
|
-
cols: { base: 1, md:
|
|
3486
|
+
cols: { base: 1, md: c.length <= 3 ? c.length : 3 },
|
|
3485
3487
|
spacing: "xl",
|
|
3486
3488
|
verticalSpacing: "xl",
|
|
3487
|
-
children:
|
|
3488
|
-
|
|
3489
|
+
children: c.map((h) => /* @__PURE__ */ r(
|
|
3490
|
+
T,
|
|
3489
3491
|
{
|
|
3490
3492
|
p: "xl",
|
|
3491
3493
|
radius: "0",
|
|
3492
3494
|
withBorder: !0,
|
|
3493
|
-
bd:
|
|
3495
|
+
bd: h.highlight ? "2px solid var(--mantine-color-gray-9)" : "1px solid var(--mantine-color-gray-2)",
|
|
3494
3496
|
display: "flex",
|
|
3495
3497
|
h: "100%",
|
|
3496
3498
|
style: { flexDirection: "column" },
|
|
3497
3499
|
bg: "white",
|
|
3498
3500
|
children: [
|
|
3499
3501
|
/* @__PURE__ */ r(
|
|
3500
|
-
|
|
3502
|
+
u,
|
|
3501
3503
|
{
|
|
3502
3504
|
gap: "md",
|
|
3503
3505
|
mb: "xl",
|
|
3504
3506
|
children: [
|
|
3505
3507
|
/* @__PURE__ */ r(
|
|
3506
|
-
|
|
3508
|
+
f,
|
|
3507
3509
|
{
|
|
3508
3510
|
justify: "space-between",
|
|
3509
3511
|
align: "center",
|
|
@@ -3516,15 +3518,15 @@ function Jr({
|
|
|
3516
3518
|
tt: "uppercase",
|
|
3517
3519
|
lts: "1.5px",
|
|
3518
3520
|
c: "gray.4",
|
|
3519
|
-
children:
|
|
3521
|
+
children: h.name
|
|
3520
3522
|
}
|
|
3521
3523
|
),
|
|
3522
|
-
|
|
3524
|
+
h.highlight && /* @__PURE__ */ e(
|
|
3523
3525
|
P,
|
|
3524
3526
|
{
|
|
3525
3527
|
variant: "dot",
|
|
3526
3528
|
color: "gray.9",
|
|
3527
|
-
children:
|
|
3529
|
+
children: h.highlightBadge || "RECOMENDADO"
|
|
3528
3530
|
}
|
|
3529
3531
|
)
|
|
3530
3532
|
]
|
|
@@ -3538,14 +3540,14 @@ function Jr({
|
|
|
3538
3540
|
fw: 500,
|
|
3539
3541
|
lh: 1.5,
|
|
3540
3542
|
h: { md: 42 },
|
|
3541
|
-
children:
|
|
3543
|
+
children: h.description
|
|
3542
3544
|
}
|
|
3543
3545
|
)
|
|
3544
3546
|
]
|
|
3545
3547
|
}
|
|
3546
3548
|
),
|
|
3547
3549
|
/* @__PURE__ */ r(x, { mb: "xl", children: [
|
|
3548
|
-
|
|
3550
|
+
h.pricePrefix !== null && /* @__PURE__ */ e(
|
|
3549
3551
|
t,
|
|
3550
3552
|
{
|
|
3551
3553
|
size: "xs",
|
|
@@ -3554,15 +3556,15 @@ function Jr({
|
|
|
3554
3556
|
tt: "uppercase",
|
|
3555
3557
|
lts: "1px",
|
|
3556
3558
|
mb: 4,
|
|
3557
|
-
children:
|
|
3559
|
+
children: h.pricePrefix || "A partir de"
|
|
3558
3560
|
}
|
|
3559
3561
|
),
|
|
3560
|
-
|
|
3562
|
+
h.priceText ? (
|
|
3561
3563
|
// Escape hatch para preço que não é número
|
|
3562
3564
|
// ("Sob consulta"), onde currency/whole/fraction
|
|
3563
3565
|
// não têm o que representar.
|
|
3564
3566
|
/* @__PURE__ */ r(
|
|
3565
|
-
|
|
3567
|
+
f,
|
|
3566
3568
|
{
|
|
3567
3569
|
gap: 8,
|
|
3568
3570
|
align: "baseline",
|
|
@@ -3575,22 +3577,22 @@ function Jr({
|
|
|
3575
3577
|
lts: "-0.04em",
|
|
3576
3578
|
lh: 1,
|
|
3577
3579
|
c: "gray.9",
|
|
3578
|
-
children:
|
|
3580
|
+
children: h.priceText
|
|
3579
3581
|
}
|
|
3580
3582
|
),
|
|
3581
|
-
|
|
3583
|
+
h.period && /* @__PURE__ */ e(
|
|
3582
3584
|
t,
|
|
3583
3585
|
{
|
|
3584
3586
|
size: "md",
|
|
3585
3587
|
c: "gray.5",
|
|
3586
|
-
children:
|
|
3588
|
+
children: h.period
|
|
3587
3589
|
}
|
|
3588
3590
|
)
|
|
3589
3591
|
]
|
|
3590
3592
|
}
|
|
3591
3593
|
)
|
|
3592
3594
|
) : /* @__PURE__ */ r(
|
|
3593
|
-
|
|
3595
|
+
f,
|
|
3594
3596
|
{
|
|
3595
3597
|
gap: 8,
|
|
3596
3598
|
align: "flex-start",
|
|
@@ -3602,11 +3604,11 @@ function Jr({
|
|
|
3602
3604
|
fw: 900,
|
|
3603
3605
|
c: "gray.9",
|
|
3604
3606
|
style: { marginTop: 8 },
|
|
3605
|
-
children:
|
|
3607
|
+
children: h.priceDisplay?.currency
|
|
3606
3608
|
}
|
|
3607
3609
|
),
|
|
3608
3610
|
/* @__PURE__ */ r(
|
|
3609
|
-
|
|
3611
|
+
f,
|
|
3610
3612
|
{
|
|
3611
3613
|
gap: 4,
|
|
3612
3614
|
align: "flex-end",
|
|
@@ -3619,11 +3621,11 @@ function Jr({
|
|
|
3619
3621
|
lts: "-0.04em",
|
|
3620
3622
|
lh: 0.8,
|
|
3621
3623
|
c: "gray.9",
|
|
3622
|
-
children:
|
|
3624
|
+
children: h.priceDisplay?.whole
|
|
3623
3625
|
}
|
|
3624
3626
|
),
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
+
h.priceDisplay?.fraction && /* @__PURE__ */ r(
|
|
3628
|
+
u,
|
|
3627
3629
|
{
|
|
3628
3630
|
gap: 0,
|
|
3629
3631
|
mb: 6,
|
|
@@ -3637,7 +3639,7 @@ function Jr({
|
|
|
3637
3639
|
c: "gray.9",
|
|
3638
3640
|
children: [
|
|
3639
3641
|
",",
|
|
3640
|
-
|
|
3642
|
+
h.priceDisplay.fraction
|
|
3641
3643
|
]
|
|
3642
3644
|
}
|
|
3643
3645
|
),
|
|
@@ -3649,7 +3651,7 @@ function Jr({
|
|
|
3649
3651
|
fw: 800,
|
|
3650
3652
|
tt: "uppercase",
|
|
3651
3653
|
lts: "1px",
|
|
3652
|
-
children:
|
|
3654
|
+
children: h.period || h.priceSuffix || "/mês"
|
|
3653
3655
|
}
|
|
3654
3656
|
)
|
|
3655
3657
|
]
|
|
@@ -3661,13 +3663,13 @@ function Jr({
|
|
|
3661
3663
|
]
|
|
3662
3664
|
}
|
|
3663
3665
|
),
|
|
3664
|
-
|
|
3666
|
+
h.priceNote && /* @__PURE__ */ e(
|
|
3665
3667
|
t,
|
|
3666
3668
|
{
|
|
3667
3669
|
size: "sm",
|
|
3668
3670
|
c: "gray.6",
|
|
3669
3671
|
mt: "md",
|
|
3670
|
-
children:
|
|
3672
|
+
children: h.priceNote
|
|
3671
3673
|
}
|
|
3672
3674
|
)
|
|
3673
3675
|
] }),
|
|
@@ -3679,13 +3681,13 @@ function Jr({
|
|
|
3679
3681
|
}
|
|
3680
3682
|
),
|
|
3681
3683
|
/* @__PURE__ */ e(
|
|
3682
|
-
|
|
3684
|
+
u,
|
|
3683
3685
|
{
|
|
3684
3686
|
gap: "sm",
|
|
3685
3687
|
mb: 40,
|
|
3686
3688
|
style: { flex: 1 },
|
|
3687
|
-
children: (
|
|
3688
|
-
|
|
3689
|
+
children: (h.features || []).map((b, y) => /* @__PURE__ */ r(
|
|
3690
|
+
f,
|
|
3689
3691
|
{
|
|
3690
3692
|
gap: "sm",
|
|
3691
3693
|
wrap: "nowrap",
|
|
@@ -3706,31 +3708,31 @@ function Jr({
|
|
|
3706
3708
|
fw: 500,
|
|
3707
3709
|
c: "gray.6",
|
|
3708
3710
|
lh: 1.4,
|
|
3709
|
-
children:
|
|
3711
|
+
children: b
|
|
3710
3712
|
}
|
|
3711
3713
|
)
|
|
3712
3714
|
]
|
|
3713
3715
|
},
|
|
3714
|
-
|
|
3716
|
+
y
|
|
3715
3717
|
))
|
|
3716
3718
|
}
|
|
3717
3719
|
),
|
|
3718
|
-
|
|
3720
|
+
h.cta && /* @__PURE__ */ e(x, { mt: "auto", children: /* @__PURE__ */ e(
|
|
3719
3721
|
M,
|
|
3720
3722
|
{
|
|
3721
|
-
label:
|
|
3722
|
-
href:
|
|
3723
|
-
target:
|
|
3724
|
-
rel:
|
|
3725
|
-
icon:
|
|
3726
|
-
leftSection:
|
|
3727
|
-
size:
|
|
3728
|
-
variant:
|
|
3729
|
-
color:
|
|
3723
|
+
label: h.cta.label,
|
|
3724
|
+
href: h.cta.href,
|
|
3725
|
+
target: h.cta.target,
|
|
3726
|
+
rel: h.cta.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
3727
|
+
icon: h.cta.icon,
|
|
3728
|
+
leftSection: h.cta.leftSection,
|
|
3729
|
+
size: h.cta.size || "xl",
|
|
3730
|
+
variant: h.cta.variant,
|
|
3731
|
+
color: h.cta.color || "gray.9",
|
|
3730
3732
|
fullWidth: !0
|
|
3731
3733
|
}
|
|
3732
3734
|
) }),
|
|
3733
|
-
|
|
3735
|
+
h.note && /* @__PURE__ */ e(
|
|
3734
3736
|
x,
|
|
3735
3737
|
{
|
|
3736
3738
|
mt: "auto",
|
|
@@ -3742,14 +3744,14 @@ function Jr({
|
|
|
3742
3744
|
size: "xs",
|
|
3743
3745
|
c: "gray.5",
|
|
3744
3746
|
lh: 1.5,
|
|
3745
|
-
children:
|
|
3747
|
+
children: h.note
|
|
3746
3748
|
}
|
|
3747
3749
|
)
|
|
3748
3750
|
}
|
|
3749
3751
|
)
|
|
3750
3752
|
]
|
|
3751
3753
|
},
|
|
3752
|
-
|
|
3754
|
+
h.name
|
|
3753
3755
|
))
|
|
3754
3756
|
}
|
|
3755
3757
|
)
|
|
@@ -3757,10 +3759,13 @@ function Jr({
|
|
|
3757
3759
|
}
|
|
3758
3760
|
);
|
|
3759
3761
|
}
|
|
3760
|
-
function Zr({ id: a, badge:
|
|
3761
|
-
const
|
|
3762
|
+
function Zr({ id: a, badge: s, subtitle: l, title: i, description: n, questions: o = [], contactCard: g, background: d = "white", ta: p = "left" }) {
|
|
3763
|
+
const c = Math.ceil(o.length / 2), m = {
|
|
3762
3764
|
item: {
|
|
3763
|
-
|
|
3765
|
+
// A CSS variable, not the name: a `styles` object is plain CSS, so
|
|
3766
|
+
// 'white' was the literal colour — it stayed white in dark mode —
|
|
3767
|
+
// and 'gray.1' was not a colour at all.
|
|
3768
|
+
backgroundColor: d === "gray" ? "var(--mantine-color-gray-1)" : "var(--mantine-color-white)",
|
|
3764
3769
|
border: "1px solid var(--mantine-color-gray-2)"
|
|
3765
3770
|
},
|
|
3766
3771
|
control: {
|
|
@@ -3781,22 +3786,22 @@ function Zr({ id: a, badge: c, subtitle: l, title: i, description: n, questions:
|
|
|
3781
3786
|
F,
|
|
3782
3787
|
{
|
|
3783
3788
|
id: a,
|
|
3784
|
-
badge:
|
|
3789
|
+
badge: s,
|
|
3785
3790
|
subtitle: l,
|
|
3786
3791
|
title: i,
|
|
3787
3792
|
background: d,
|
|
3788
|
-
ta:
|
|
3789
|
-
maw:
|
|
3793
|
+
ta: p,
|
|
3794
|
+
maw: p === "center" ? 900 : 800,
|
|
3790
3795
|
children: [
|
|
3791
3796
|
n && /* @__PURE__ */ e(
|
|
3792
3797
|
t,
|
|
3793
3798
|
{
|
|
3794
3799
|
c: "gray.6",
|
|
3795
|
-
ta:
|
|
3800
|
+
ta: p,
|
|
3796
3801
|
size: "lg",
|
|
3797
3802
|
lh: 1.6,
|
|
3798
3803
|
maw: 700,
|
|
3799
|
-
mx:
|
|
3804
|
+
mx: p === "center" ? "auto" : void 0,
|
|
3800
3805
|
mb: 40,
|
|
3801
3806
|
children: n
|
|
3802
3807
|
}
|
|
@@ -3814,17 +3819,17 @@ function Zr({ id: a, badge: c, subtitle: l, title: i, description: n, questions:
|
|
|
3814
3819
|
radius: "0",
|
|
3815
3820
|
chevronPosition: "right",
|
|
3816
3821
|
styles: m,
|
|
3817
|
-
children: o.slice(0,
|
|
3822
|
+
children: o.slice(0, c).map((h, b) => /* @__PURE__ */ r(
|
|
3818
3823
|
N.Item,
|
|
3819
3824
|
{
|
|
3820
|
-
value:
|
|
3825
|
+
value: h.value || String(b),
|
|
3821
3826
|
mb: "md",
|
|
3822
3827
|
children: [
|
|
3823
3828
|
/* @__PURE__ */ e(
|
|
3824
3829
|
N.Control,
|
|
3825
3830
|
{
|
|
3826
3831
|
icon: /* @__PURE__ */ e(
|
|
3827
|
-
|
|
3832
|
+
S,
|
|
3828
3833
|
{
|
|
3829
3834
|
variant: "light",
|
|
3830
3835
|
color: "gray",
|
|
@@ -3832,13 +3837,13 @@ function Zr({ id: a, badge: c, subtitle: l, title: i, description: n, questions:
|
|
|
3832
3837
|
children: /* @__PURE__ */ e(ie, { size: 16 })
|
|
3833
3838
|
}
|
|
3834
3839
|
),
|
|
3835
|
-
children:
|
|
3840
|
+
children: h.question
|
|
3836
3841
|
}
|
|
3837
3842
|
),
|
|
3838
|
-
/* @__PURE__ */ e(N.Panel, { c: "gray.6", children:
|
|
3843
|
+
/* @__PURE__ */ e(N.Panel, { c: "gray.6", children: h.answer })
|
|
3839
3844
|
]
|
|
3840
3845
|
},
|
|
3841
|
-
|
|
3846
|
+
h.value || b
|
|
3842
3847
|
))
|
|
3843
3848
|
}
|
|
3844
3849
|
),
|
|
@@ -3849,17 +3854,17 @@ function Zr({ id: a, badge: c, subtitle: l, title: i, description: n, questions:
|
|
|
3849
3854
|
radius: "0",
|
|
3850
3855
|
chevronPosition: "right",
|
|
3851
3856
|
styles: m,
|
|
3852
|
-
children: o.slice(
|
|
3857
|
+
children: o.slice(c).map((h, b) => /* @__PURE__ */ r(
|
|
3853
3858
|
N.Item,
|
|
3854
3859
|
{
|
|
3855
|
-
value:
|
|
3860
|
+
value: h.value || String(c + b),
|
|
3856
3861
|
mb: "md",
|
|
3857
3862
|
children: [
|
|
3858
3863
|
/* @__PURE__ */ e(
|
|
3859
3864
|
N.Control,
|
|
3860
3865
|
{
|
|
3861
3866
|
icon: /* @__PURE__ */ e(
|
|
3862
|
-
|
|
3867
|
+
S,
|
|
3863
3868
|
{
|
|
3864
3869
|
variant: "light",
|
|
3865
3870
|
color: "gray",
|
|
@@ -3867,13 +3872,13 @@ function Zr({ id: a, badge: c, subtitle: l, title: i, description: n, questions:
|
|
|
3867
3872
|
children: /* @__PURE__ */ e(ie, { size: 16 })
|
|
3868
3873
|
}
|
|
3869
3874
|
),
|
|
3870
|
-
children:
|
|
3875
|
+
children: h.question
|
|
3871
3876
|
}
|
|
3872
3877
|
),
|
|
3873
|
-
/* @__PURE__ */ e(N.Panel, { c: "gray.6", children:
|
|
3878
|
+
/* @__PURE__ */ e(N.Panel, { c: "gray.6", children: h.answer })
|
|
3874
3879
|
]
|
|
3875
3880
|
},
|
|
3876
|
-
|
|
3881
|
+
h.value || c + b
|
|
3877
3882
|
))
|
|
3878
3883
|
}
|
|
3879
3884
|
)
|
|
@@ -3881,7 +3886,7 @@ function Zr({ id: a, badge: c, subtitle: l, title: i, description: n, questions:
|
|
|
3881
3886
|
}
|
|
3882
3887
|
),
|
|
3883
3888
|
g && /* @__PURE__ */ e(
|
|
3884
|
-
|
|
3889
|
+
T,
|
|
3885
3890
|
{
|
|
3886
3891
|
mt: { base: 40, md: 80 },
|
|
3887
3892
|
radius: "0",
|
|
@@ -3898,7 +3903,7 @@ function Zr({ id: a, badge: c, subtitle: l, title: i, description: n, questions:
|
|
|
3898
3903
|
style: { position: "relative", zIndex: 1, alignItems: "center" },
|
|
3899
3904
|
children: [
|
|
3900
3905
|
/* @__PURE__ */ r(
|
|
3901
|
-
|
|
3906
|
+
u,
|
|
3902
3907
|
{
|
|
3903
3908
|
gap: "sm",
|
|
3904
3909
|
ta: { base: "center", md: "left" },
|
|
@@ -3926,7 +3931,7 @@ function Zr({ id: a, badge: c, subtitle: l, title: i, description: n, questions:
|
|
|
3926
3931
|
]
|
|
3927
3932
|
}
|
|
3928
3933
|
),
|
|
3929
|
-
/* @__PURE__ */ e(
|
|
3934
|
+
/* @__PURE__ */ e(u, { align: { base: "center", md: "flex-end" }, children: /* @__PURE__ */ e(
|
|
3930
3935
|
M,
|
|
3931
3936
|
{
|
|
3932
3937
|
label: g.cta.label,
|
|
@@ -3946,13 +3951,13 @@ function Zr({ id: a, badge: c, subtitle: l, title: i, description: n, questions:
|
|
|
3946
3951
|
}
|
|
3947
3952
|
);
|
|
3948
3953
|
}
|
|
3949
|
-
function ea({ id: a, title:
|
|
3954
|
+
function ea({ id: a, title: s, subtitle: l, items: i = [], background: n = "gray" }) {
|
|
3950
3955
|
return /* @__PURE__ */ e(
|
|
3951
3956
|
F,
|
|
3952
3957
|
{
|
|
3953
3958
|
id: a,
|
|
3954
3959
|
background: n,
|
|
3955
|
-
title:
|
|
3960
|
+
title: s,
|
|
3956
3961
|
subtitle: l,
|
|
3957
3962
|
children: /* @__PURE__ */ e(
|
|
3958
3963
|
A,
|
|
@@ -3960,14 +3965,14 @@ function ea({ id: a, title: c, subtitle: l, items: i = [], background: n = "gray
|
|
|
3960
3965
|
cols: { base: 1, md: i.length > 3 ? 4 : i.length || 3 },
|
|
3961
3966
|
spacing: "xl",
|
|
3962
3967
|
children: i.map((o, g) => /* @__PURE__ */ e(
|
|
3963
|
-
|
|
3968
|
+
T,
|
|
3964
3969
|
{
|
|
3965
3970
|
p: "xl",
|
|
3966
3971
|
radius: "0",
|
|
3967
3972
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
3968
3973
|
bg: "white",
|
|
3969
3974
|
children: /* @__PURE__ */ r(
|
|
3970
|
-
|
|
3975
|
+
u,
|
|
3971
3976
|
{
|
|
3972
3977
|
gap: "md",
|
|
3973
3978
|
align: "flex-start",
|
|
@@ -3996,13 +4001,13 @@ function ea({ id: a, title: c, subtitle: l, items: i = [], background: n = "gray
|
|
|
3996
4001
|
}
|
|
3997
4002
|
),
|
|
3998
4003
|
/* @__PURE__ */ r(
|
|
3999
|
-
|
|
4004
|
+
f,
|
|
4000
4005
|
{
|
|
4001
4006
|
gap: "sm",
|
|
4002
4007
|
mt: "xl",
|
|
4003
4008
|
children: [
|
|
4004
4009
|
/* @__PURE__ */ e(
|
|
4005
|
-
|
|
4010
|
+
qe,
|
|
4006
4011
|
{
|
|
4007
4012
|
size: "md",
|
|
4008
4013
|
radius: "0",
|
|
@@ -4011,7 +4016,7 @@ function ea({ id: a, title: c, subtitle: l, items: i = [], background: n = "gray
|
|
|
4011
4016
|
children: o.initials
|
|
4012
4017
|
}
|
|
4013
4018
|
),
|
|
4014
|
-
/* @__PURE__ */ r(
|
|
4019
|
+
/* @__PURE__ */ r(u, { gap: 0, children: [
|
|
4015
4020
|
/* @__PURE__ */ e(
|
|
4016
4021
|
t,
|
|
4017
4022
|
{
|
|
@@ -4052,15 +4057,15 @@ const ge = {
|
|
|
4052
4057
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
4053
4058
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
4054
4059
|
};
|
|
4055
|
-
function ze({ id: a, subtitle:
|
|
4060
|
+
function ze({ id: a, subtitle: s, title: l, titleOrder: i = 2, description: n, featuresList: o, featuresLabel: g, cta: d, secondaryCta: p, background: c = "gray", ta: m = "center" }) {
|
|
4056
4061
|
return /* @__PURE__ */ e(
|
|
4057
4062
|
F,
|
|
4058
4063
|
{
|
|
4059
4064
|
id: a,
|
|
4060
|
-
background:
|
|
4065
|
+
background: c,
|
|
4061
4066
|
ta: "center",
|
|
4062
4067
|
children: /* @__PURE__ */ e(
|
|
4063
|
-
|
|
4068
|
+
T,
|
|
4064
4069
|
{
|
|
4065
4070
|
p: { base: "xl", sm: 80 },
|
|
4066
4071
|
bg: "white",
|
|
@@ -4068,13 +4073,13 @@ function ze({ id: a, subtitle: c, title: l, titleOrder: i = 2, description: n, f
|
|
|
4068
4073
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
4069
4074
|
style: { borderTop: "4px solid var(--mantine-color-gray-2)" },
|
|
4070
4075
|
children: /* @__PURE__ */ r(
|
|
4071
|
-
|
|
4076
|
+
u,
|
|
4072
4077
|
{
|
|
4073
4078
|
align: m === "center" ? "center" : "flex-start",
|
|
4074
4079
|
ta: m,
|
|
4075
4080
|
gap: "xl",
|
|
4076
4081
|
children: [
|
|
4077
|
-
|
|
4082
|
+
s && /* @__PURE__ */ e(
|
|
4078
4083
|
t,
|
|
4079
4084
|
{
|
|
4080
4085
|
size: "xs",
|
|
@@ -4082,14 +4087,14 @@ function ze({ id: a, subtitle: c, title: l, titleOrder: i = 2, description: n, f
|
|
|
4082
4087
|
tt: "uppercase",
|
|
4083
4088
|
lts: "1.5px",
|
|
4084
4089
|
c: "gray.4",
|
|
4085
|
-
children:
|
|
4090
|
+
children: s
|
|
4086
4091
|
}
|
|
4087
4092
|
),
|
|
4088
4093
|
l && // Title, e não Text: o banner costuma ser a única seção
|
|
4089
4094
|
// da página (um 404, por exemplo) e sem heading ela fica
|
|
4090
4095
|
// sem estrutura para leitor de tela.
|
|
4091
4096
|
/* @__PURE__ */ e(
|
|
4092
|
-
|
|
4097
|
+
q,
|
|
4093
4098
|
{
|
|
4094
4099
|
order: i,
|
|
4095
4100
|
fz: "var(--fz-section-title)",
|
|
@@ -4123,7 +4128,7 @@ function ze({ id: a, subtitle: c, title: l, titleOrder: i = 2, description: n, f
|
|
|
4123
4128
|
spacing: "sm",
|
|
4124
4129
|
size: "md",
|
|
4125
4130
|
icon: /* @__PURE__ */ e(
|
|
4126
|
-
|
|
4131
|
+
S,
|
|
4127
4132
|
{
|
|
4128
4133
|
color: "gray.2",
|
|
4129
4134
|
size: 24,
|
|
@@ -4137,18 +4142,18 @@ function ze({ id: a, subtitle: c, title: l, titleOrder: i = 2, description: n, f
|
|
|
4137
4142
|
)
|
|
4138
4143
|
}
|
|
4139
4144
|
),
|
|
4140
|
-
children: o.map((
|
|
4145
|
+
children: o.map((b, y) => /* @__PURE__ */ e($.Item, { children: /* @__PURE__ */ e(
|
|
4141
4146
|
t,
|
|
4142
4147
|
{
|
|
4143
4148
|
c: "gray.6",
|
|
4144
4149
|
lh: 1.6,
|
|
4145
|
-
children:
|
|
4150
|
+
children: b
|
|
4146
4151
|
}
|
|
4147
|
-
) },
|
|
4152
|
+
) }, y))
|
|
4148
4153
|
}
|
|
4149
4154
|
)
|
|
4150
4155
|
] }),
|
|
4151
|
-
(d ||
|
|
4156
|
+
(d || p) && // O Box acompanha o alinhamento do Stack em vez de esticar:
|
|
4152
4157
|
// sem isso o botão ocupava a linha inteira e ficava colado
|
|
4153
4158
|
// à esquerda, fora do eixo do texto centralizado.
|
|
4154
4159
|
/* @__PURE__ */ e(
|
|
@@ -4158,7 +4163,7 @@ function ze({ id: a, subtitle: c, title: l, titleOrder: i = 2, description: n, f
|
|
|
4158
4163
|
w: "100%",
|
|
4159
4164
|
style: { display: "flex", justifyContent: m === "center" ? "center" : "flex-start" },
|
|
4160
4165
|
children: /* @__PURE__ */ r(
|
|
4161
|
-
|
|
4166
|
+
f,
|
|
4162
4167
|
{
|
|
4163
4168
|
gap: "md",
|
|
4164
4169
|
justify: m === "center" ? "center" : "flex-start",
|
|
@@ -4181,19 +4186,19 @@ function ze({ id: a, subtitle: c, title: l, titleOrder: i = 2, description: n, f
|
|
|
4181
4186
|
styles: ge
|
|
4182
4187
|
}
|
|
4183
4188
|
),
|
|
4184
|
-
|
|
4189
|
+
p && /* @__PURE__ */ e(
|
|
4185
4190
|
M,
|
|
4186
4191
|
{
|
|
4187
|
-
label:
|
|
4188
|
-
href:
|
|
4189
|
-
icon:
|
|
4190
|
-
leftSection:
|
|
4191
|
-
target:
|
|
4192
|
-
rel:
|
|
4193
|
-
size:
|
|
4194
|
-
px:
|
|
4195
|
-
variant:
|
|
4196
|
-
color:
|
|
4192
|
+
label: p.label,
|
|
4193
|
+
href: p.href,
|
|
4194
|
+
icon: p.icon,
|
|
4195
|
+
leftSection: p.leftSection,
|
|
4196
|
+
target: p.target,
|
|
4197
|
+
rel: p.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
4198
|
+
size: p.size || "xl",
|
|
4199
|
+
px: p.px,
|
|
4200
|
+
variant: p.variant || "default",
|
|
4201
|
+
color: p.color,
|
|
4197
4202
|
styles: ge
|
|
4198
4203
|
}
|
|
4199
4204
|
)
|
|
@@ -4211,18 +4216,18 @@ function ze({ id: a, subtitle: c, title: l, titleOrder: i = 2, description: n, f
|
|
|
4211
4216
|
);
|
|
4212
4217
|
}
|
|
4213
4218
|
const ra = ze;
|
|
4214
|
-
function
|
|
4219
|
+
function ur() {
|
|
4215
4220
|
ue(() => {
|
|
4216
4221
|
const a = document.createElement("meta");
|
|
4217
4222
|
return a.name = "robots", a.content = "noindex, follow", document.head.appendChild(a), () => a.remove();
|
|
4218
4223
|
}, []);
|
|
4219
4224
|
}
|
|
4220
|
-
function aa({ subtitle: a = "Erro 404", title:
|
|
4221
|
-
return
|
|
4225
|
+
function aa({ subtitle: a = "Erro 404", title: s = "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: i = "/", cta: n, background: o = "white" }) {
|
|
4226
|
+
return ur(), /* @__PURE__ */ e(
|
|
4222
4227
|
ze,
|
|
4223
4228
|
{
|
|
4224
4229
|
subtitle: a,
|
|
4225
|
-
title:
|
|
4230
|
+
title: s,
|
|
4226
4231
|
titleOrder: 1,
|
|
4227
4232
|
description: l,
|
|
4228
4233
|
background: o,
|
|
@@ -4240,7 +4245,7 @@ function aa({ subtitle: a = "Erro 404", title: c = "Esta página não existe", d
|
|
|
4240
4245
|
}
|
|
4241
4246
|
);
|
|
4242
4247
|
}
|
|
4243
|
-
function
|
|
4248
|
+
function fr({ text: a = "Selo Exclusivo", color: s = "green.6", background: l = "gray" }) {
|
|
4244
4249
|
const i = O(l);
|
|
4245
4250
|
return /* @__PURE__ */ e(
|
|
4246
4251
|
x,
|
|
@@ -4251,11 +4256,11 @@ function ur({ text: a = "Selo Exclusivo", color: c = "green.6", background: l =
|
|
|
4251
4256
|
border: "1px solid var(--mantine-color-gray-2)",
|
|
4252
4257
|
display: "inline-block"
|
|
4253
4258
|
},
|
|
4254
|
-
children: /* @__PURE__ */ r(
|
|
4259
|
+
children: /* @__PURE__ */ r(f, { gap: "xs", children: [
|
|
4255
4260
|
/* @__PURE__ */ e(
|
|
4256
|
-
|
|
4261
|
+
S,
|
|
4257
4262
|
{
|
|
4258
|
-
color:
|
|
4263
|
+
color: s,
|
|
4259
4264
|
variant: "light",
|
|
4260
4265
|
size: "sm",
|
|
4261
4266
|
children: /* @__PURE__ */ e(
|
|
@@ -4282,15 +4287,15 @@ function ur({ text: a = "Selo Exclusivo", color: c = "green.6", background: l =
|
|
|
4282
4287
|
}
|
|
4283
4288
|
);
|
|
4284
4289
|
}
|
|
4285
|
-
const ta =
|
|
4286
|
-
function na({ logo: a, description:
|
|
4287
|
-
const
|
|
4290
|
+
const ta = fr;
|
|
4291
|
+
function na({ logo: a, description: s, sections: l = [], socialLinks: i = [], copyrightText: n, madeByText: o, background: g = "white", status: d }) {
|
|
4292
|
+
const p = O(g);
|
|
4288
4293
|
return /* @__PURE__ */ e(
|
|
4289
4294
|
x,
|
|
4290
4295
|
{
|
|
4291
4296
|
component: "footer",
|
|
4292
4297
|
py: "xl",
|
|
4293
|
-
bg:
|
|
4298
|
+
bg: p,
|
|
4294
4299
|
bd: { top: "1px solid var(--mantine-color-gray-2)" },
|
|
4295
4300
|
children: /* @__PURE__ */ r(B, { size: "xl", children: [
|
|
4296
4301
|
/* @__PURE__ */ r(
|
|
@@ -4299,16 +4304,16 @@ function na({ logo: a, description: c, sections: l = [], socialLinks: i = [], co
|
|
|
4299
4304
|
cols: { base: 1, sm: 2 },
|
|
4300
4305
|
spacing: "xl",
|
|
4301
4306
|
children: [
|
|
4302
|
-
/* @__PURE__ */ r(
|
|
4307
|
+
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
4303
4308
|
a && /* @__PURE__ */ e(ee, { logo: a }),
|
|
4304
|
-
|
|
4309
|
+
s && /* @__PURE__ */ e(
|
|
4305
4310
|
t,
|
|
4306
4311
|
{
|
|
4307
4312
|
size: "md",
|
|
4308
4313
|
c: "gray.6",
|
|
4309
4314
|
lh: 1.6,
|
|
4310
4315
|
maw: 400,
|
|
4311
|
-
children:
|
|
4316
|
+
children: s
|
|
4312
4317
|
}
|
|
4313
4318
|
),
|
|
4314
4319
|
d
|
|
@@ -4322,8 +4327,8 @@ function na({ logo: a, description: c, sections: l = [], socialLinks: i = [], co
|
|
|
4322
4327
|
},
|
|
4323
4328
|
spacing: "xl",
|
|
4324
4329
|
children: [
|
|
4325
|
-
l.map((
|
|
4326
|
-
|
|
4330
|
+
l.map((c, m) => /* @__PURE__ */ r(
|
|
4331
|
+
u,
|
|
4327
4332
|
{
|
|
4328
4333
|
gap: "md",
|
|
4329
4334
|
children: [
|
|
@@ -4335,26 +4340,26 @@ function na({ logo: a, description: c, sections: l = [], socialLinks: i = [], co
|
|
|
4335
4340
|
size: "xs",
|
|
4336
4341
|
tt: "uppercase",
|
|
4337
4342
|
lts: "1.5px",
|
|
4338
|
-
children:
|
|
4343
|
+
children: c.title
|
|
4339
4344
|
}
|
|
4340
4345
|
),
|
|
4341
|
-
/* @__PURE__ */ e(
|
|
4346
|
+
/* @__PURE__ */ e(u, { gap: "xs", children: c.links.map((h, b) => /* @__PURE__ */ e(
|
|
4342
4347
|
me,
|
|
4343
4348
|
{
|
|
4344
4349
|
c: "gray.6",
|
|
4345
4350
|
size: "sm",
|
|
4346
|
-
...
|
|
4347
|
-
component:
|
|
4351
|
+
...h,
|
|
4352
|
+
component: h.component || (h.href ? "a" : "button"),
|
|
4348
4353
|
fw: 500,
|
|
4349
|
-
children:
|
|
4354
|
+
children: h.label
|
|
4350
4355
|
},
|
|
4351
|
-
|
|
4356
|
+
b
|
|
4352
4357
|
)) })
|
|
4353
4358
|
]
|
|
4354
4359
|
},
|
|
4355
4360
|
m
|
|
4356
4361
|
)),
|
|
4357
|
-
i && i.length > 0 && /* @__PURE__ */ r(
|
|
4362
|
+
i && i.length > 0 && /* @__PURE__ */ r(u, { gap: "md", children: [
|
|
4358
4363
|
/* @__PURE__ */ e(
|
|
4359
4364
|
t,
|
|
4360
4365
|
{
|
|
@@ -4366,18 +4371,18 @@ function na({ logo: a, description: c, sections: l = [], socialLinks: i = [], co
|
|
|
4366
4371
|
children: "Social"
|
|
4367
4372
|
}
|
|
4368
4373
|
),
|
|
4369
|
-
/* @__PURE__ */ e(
|
|
4374
|
+
/* @__PURE__ */ e(f, { gap: "xs", children: i.map((c, m) => /* @__PURE__ */ e(
|
|
4370
4375
|
Y,
|
|
4371
4376
|
{
|
|
4372
4377
|
size: "md",
|
|
4373
4378
|
variant: "subtle",
|
|
4374
4379
|
color: "gray",
|
|
4375
4380
|
component: "a",
|
|
4376
|
-
href:
|
|
4381
|
+
href: c.href,
|
|
4377
4382
|
target: "_blank",
|
|
4378
4383
|
radius: "0",
|
|
4379
|
-
"aria-label":
|
|
4380
|
-
children:
|
|
4384
|
+
"aria-label": c.label || `Social link ${m + 1}`,
|
|
4385
|
+
children: c.icon
|
|
4381
4386
|
},
|
|
4382
4387
|
m
|
|
4383
4388
|
)) })
|
|
@@ -4396,7 +4401,7 @@ function na({ logo: a, description: c, sections: l = [], socialLinks: i = [], co
|
|
|
4396
4401
|
}
|
|
4397
4402
|
),
|
|
4398
4403
|
/* @__PURE__ */ r(
|
|
4399
|
-
|
|
4404
|
+
f,
|
|
4400
4405
|
{
|
|
4401
4406
|
className: "rlg-footer-bottom",
|
|
4402
4407
|
justify: "space-between",
|
|
@@ -4434,17 +4439,17 @@ function na({ logo: a, description: c, sections: l = [], socialLinks: i = [], co
|
|
|
4434
4439
|
}
|
|
4435
4440
|
);
|
|
4436
4441
|
}
|
|
4437
|
-
function ia({ companyName: a = "Infrastructure", legalEntity:
|
|
4438
|
-
const i =
|
|
4442
|
+
function ia({ companyName: a = "Infrastructure", legalEntity: s, productName: l = "nossos produtos" }) {
|
|
4443
|
+
const i = s || a, n = i.split(" (")[0];
|
|
4439
4444
|
return /* @__PURE__ */ e(
|
|
4440
4445
|
x,
|
|
4441
4446
|
{
|
|
4442
4447
|
py: 100,
|
|
4443
4448
|
bg: "white",
|
|
4444
|
-
children: /* @__PURE__ */ e(B, { size: "md", children: /* @__PURE__ */ r(
|
|
4445
|
-
/* @__PURE__ */ r(
|
|
4449
|
+
children: /* @__PURE__ */ e(B, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
4450
|
+
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
4446
4451
|
/* @__PURE__ */ e(
|
|
4447
|
-
|
|
4452
|
+
q,
|
|
4448
4453
|
{
|
|
4449
4454
|
order: 2,
|
|
4450
4455
|
ta: "center",
|
|
@@ -4474,7 +4479,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4474
4479
|
)
|
|
4475
4480
|
] }),
|
|
4476
4481
|
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
4477
|
-
/* @__PURE__ */ r(
|
|
4482
|
+
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
4478
4483
|
/* @__PURE__ */ r(
|
|
4479
4484
|
t,
|
|
4480
4485
|
{
|
|
@@ -4500,16 +4505,16 @@ function ia({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4500
4505
|
}
|
|
4501
4506
|
)
|
|
4502
4507
|
] }),
|
|
4503
|
-
/* @__PURE__ */ r(
|
|
4508
|
+
/* @__PURE__ */ r(u, { gap: 50, children: [
|
|
4504
4509
|
/* @__PURE__ */ r(
|
|
4505
|
-
|
|
4510
|
+
f,
|
|
4506
4511
|
{
|
|
4507
4512
|
align: "flex-start",
|
|
4508
4513
|
wrap: "nowrap",
|
|
4509
4514
|
gap: "xl",
|
|
4510
4515
|
children: [
|
|
4511
4516
|
/* @__PURE__ */ e(
|
|
4512
|
-
|
|
4517
|
+
S,
|
|
4513
4518
|
{
|
|
4514
4519
|
variant: "light",
|
|
4515
4520
|
size: 64,
|
|
@@ -4524,7 +4529,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4524
4529
|
)
|
|
4525
4530
|
}
|
|
4526
4531
|
),
|
|
4527
|
-
/* @__PURE__ */ r(
|
|
4532
|
+
/* @__PURE__ */ r(u, { gap: "xs", children: [
|
|
4528
4533
|
/* @__PURE__ */ e(
|
|
4529
4534
|
t,
|
|
4530
4535
|
{
|
|
@@ -4554,14 +4559,14 @@ function ia({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4554
4559
|
}
|
|
4555
4560
|
),
|
|
4556
4561
|
/* @__PURE__ */ r(
|
|
4557
|
-
|
|
4562
|
+
f,
|
|
4558
4563
|
{
|
|
4559
4564
|
align: "flex-start",
|
|
4560
4565
|
wrap: "nowrap",
|
|
4561
4566
|
gap: "xl",
|
|
4562
4567
|
children: [
|
|
4563
4568
|
/* @__PURE__ */ e(
|
|
4564
|
-
|
|
4569
|
+
S,
|
|
4565
4570
|
{
|
|
4566
4571
|
variant: "light",
|
|
4567
4572
|
size: 64,
|
|
@@ -4576,7 +4581,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4576
4581
|
)
|
|
4577
4582
|
}
|
|
4578
4583
|
),
|
|
4579
|
-
/* @__PURE__ */ r(
|
|
4584
|
+
/* @__PURE__ */ r(u, { gap: "xs", children: [
|
|
4580
4585
|
/* @__PURE__ */ e(
|
|
4581
4586
|
t,
|
|
4582
4587
|
{
|
|
@@ -4602,14 +4607,14 @@ function ia({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4602
4607
|
}
|
|
4603
4608
|
),
|
|
4604
4609
|
/* @__PURE__ */ r(
|
|
4605
|
-
|
|
4610
|
+
f,
|
|
4606
4611
|
{
|
|
4607
4612
|
align: "flex-start",
|
|
4608
4613
|
wrap: "nowrap",
|
|
4609
4614
|
gap: "xl",
|
|
4610
4615
|
children: [
|
|
4611
4616
|
/* @__PURE__ */ e(
|
|
4612
|
-
|
|
4617
|
+
S,
|
|
4613
4618
|
{
|
|
4614
4619
|
variant: "light",
|
|
4615
4620
|
size: 64,
|
|
@@ -4624,7 +4629,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4624
4629
|
)
|
|
4625
4630
|
}
|
|
4626
4631
|
),
|
|
4627
|
-
/* @__PURE__ */ r(
|
|
4632
|
+
/* @__PURE__ */ r(u, { gap: "xs", children: [
|
|
4628
4633
|
/* @__PURE__ */ e(
|
|
4629
4634
|
t,
|
|
4630
4635
|
{
|
|
@@ -4653,14 +4658,14 @@ function ia({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4653
4658
|
}
|
|
4654
4659
|
),
|
|
4655
4660
|
/* @__PURE__ */ r(
|
|
4656
|
-
|
|
4661
|
+
f,
|
|
4657
4662
|
{
|
|
4658
4663
|
align: "flex-start",
|
|
4659
4664
|
wrap: "nowrap",
|
|
4660
4665
|
gap: "xl",
|
|
4661
4666
|
children: [
|
|
4662
4667
|
/* @__PURE__ */ e(
|
|
4663
|
-
|
|
4668
|
+
S,
|
|
4664
4669
|
{
|
|
4665
4670
|
variant: "light",
|
|
4666
4671
|
size: 64,
|
|
@@ -4675,7 +4680,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4675
4680
|
)
|
|
4676
4681
|
}
|
|
4677
4682
|
),
|
|
4678
|
-
/* @__PURE__ */ r(
|
|
4683
|
+
/* @__PURE__ */ r(u, { gap: "xs", children: [
|
|
4679
4684
|
/* @__PURE__ */ e(
|
|
4680
4685
|
t,
|
|
4681
4686
|
{
|
|
@@ -4706,7 +4711,7 @@ function ia({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4706
4711
|
)
|
|
4707
4712
|
] }),
|
|
4708
4713
|
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
4709
|
-
/* @__PURE__ */ r(
|
|
4714
|
+
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
4710
4715
|
/* @__PURE__ */ e(
|
|
4711
4716
|
t,
|
|
4712
4717
|
{
|
|
@@ -4739,17 +4744,17 @@ function ia({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4739
4744
|
}
|
|
4740
4745
|
);
|
|
4741
4746
|
}
|
|
4742
|
-
function la({ companyName: a = "Infrastructure", legalEntity:
|
|
4743
|
-
const n =
|
|
4747
|
+
function la({ companyName: a = "Infrastructure", legalEntity: s, productName: l = "nossos produtos", lastUpdated: i = "20 de setembro de 2026" }) {
|
|
4748
|
+
const n = s || a, o = n.split(" (")[0];
|
|
4744
4749
|
return /* @__PURE__ */ e(
|
|
4745
4750
|
x,
|
|
4746
4751
|
{
|
|
4747
4752
|
py: 100,
|
|
4748
4753
|
bg: "white",
|
|
4749
|
-
children: /* @__PURE__ */ e(B, { size: "md", children: /* @__PURE__ */ r(
|
|
4750
|
-
/* @__PURE__ */ r(
|
|
4754
|
+
children: /* @__PURE__ */ e(B, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
4755
|
+
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
4751
4756
|
/* @__PURE__ */ e(
|
|
4752
|
-
|
|
4757
|
+
q,
|
|
4753
4758
|
{
|
|
4754
4759
|
order: 2,
|
|
4755
4760
|
ta: "center",
|
|
@@ -4777,7 +4782,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4777
4782
|
)
|
|
4778
4783
|
] }),
|
|
4779
4784
|
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
4780
|
-
/* @__PURE__ */ r(
|
|
4785
|
+
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
4781
4786
|
/* @__PURE__ */ r(
|
|
4782
4787
|
t,
|
|
4783
4788
|
{
|
|
@@ -4803,16 +4808,16 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4803
4808
|
}
|
|
4804
4809
|
)
|
|
4805
4810
|
] }),
|
|
4806
|
-
/* @__PURE__ */ r(
|
|
4811
|
+
/* @__PURE__ */ r(u, { gap: 50, children: [
|
|
4807
4812
|
/* @__PURE__ */ r(
|
|
4808
|
-
|
|
4813
|
+
f,
|
|
4809
4814
|
{
|
|
4810
4815
|
align: "flex-start",
|
|
4811
4816
|
wrap: "nowrap",
|
|
4812
4817
|
gap: "xl",
|
|
4813
4818
|
children: [
|
|
4814
4819
|
/* @__PURE__ */ e(
|
|
4815
|
-
|
|
4820
|
+
S,
|
|
4816
4821
|
{
|
|
4817
4822
|
variant: "light",
|
|
4818
4823
|
size: 64,
|
|
@@ -4827,7 +4832,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4827
4832
|
)
|
|
4828
4833
|
}
|
|
4829
4834
|
),
|
|
4830
|
-
/* @__PURE__ */ r(
|
|
4835
|
+
/* @__PURE__ */ r(u, { gap: "xs", children: [
|
|
4831
4836
|
/* @__PURE__ */ e(
|
|
4832
4837
|
t,
|
|
4833
4838
|
{
|
|
@@ -4858,14 +4863,14 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4858
4863
|
}
|
|
4859
4864
|
),
|
|
4860
4865
|
/* @__PURE__ */ r(
|
|
4861
|
-
|
|
4866
|
+
f,
|
|
4862
4867
|
{
|
|
4863
4868
|
align: "flex-start",
|
|
4864
4869
|
wrap: "nowrap",
|
|
4865
4870
|
gap: "xl",
|
|
4866
4871
|
children: [
|
|
4867
4872
|
/* @__PURE__ */ e(
|
|
4868
|
-
|
|
4873
|
+
S,
|
|
4869
4874
|
{
|
|
4870
4875
|
variant: "light",
|
|
4871
4876
|
size: 64,
|
|
@@ -4880,7 +4885,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4880
4885
|
)
|
|
4881
4886
|
}
|
|
4882
4887
|
),
|
|
4883
|
-
/* @__PURE__ */ r(
|
|
4888
|
+
/* @__PURE__ */ r(u, { gap: "xs", children: [
|
|
4884
4889
|
/* @__PURE__ */ e(
|
|
4885
4890
|
t,
|
|
4886
4891
|
{
|
|
@@ -4910,14 +4915,14 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4910
4915
|
}
|
|
4911
4916
|
),
|
|
4912
4917
|
/* @__PURE__ */ r(
|
|
4913
|
-
|
|
4918
|
+
f,
|
|
4914
4919
|
{
|
|
4915
4920
|
align: "flex-start",
|
|
4916
4921
|
wrap: "nowrap",
|
|
4917
4922
|
gap: "xl",
|
|
4918
4923
|
children: [
|
|
4919
4924
|
/* @__PURE__ */ e(
|
|
4920
|
-
|
|
4925
|
+
S,
|
|
4921
4926
|
{
|
|
4922
4927
|
variant: "light",
|
|
4923
4928
|
size: 64,
|
|
@@ -4932,7 +4937,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4932
4937
|
)
|
|
4933
4938
|
}
|
|
4934
4939
|
),
|
|
4935
|
-
/* @__PURE__ */ r(
|
|
4940
|
+
/* @__PURE__ */ r(u, { gap: "xs", children: [
|
|
4936
4941
|
/* @__PURE__ */ e(
|
|
4937
4942
|
t,
|
|
4938
4943
|
{
|
|
@@ -4964,14 +4969,14 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4964
4969
|
}
|
|
4965
4970
|
),
|
|
4966
4971
|
/* @__PURE__ */ r(
|
|
4967
|
-
|
|
4972
|
+
f,
|
|
4968
4973
|
{
|
|
4969
4974
|
align: "flex-start",
|
|
4970
4975
|
wrap: "nowrap",
|
|
4971
4976
|
gap: "xl",
|
|
4972
4977
|
children: [
|
|
4973
4978
|
/* @__PURE__ */ e(
|
|
4974
|
-
|
|
4979
|
+
S,
|
|
4975
4980
|
{
|
|
4976
4981
|
variant: "light",
|
|
4977
4982
|
size: 64,
|
|
@@ -4986,7 +4991,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4986
4991
|
)
|
|
4987
4992
|
}
|
|
4988
4993
|
),
|
|
4989
|
-
/* @__PURE__ */ r(
|
|
4994
|
+
/* @__PURE__ */ r(u, { gap: "xs", children: [
|
|
4990
4995
|
/* @__PURE__ */ e(
|
|
4991
4996
|
t,
|
|
4992
4997
|
{
|
|
@@ -5016,14 +5021,14 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5016
5021
|
}
|
|
5017
5022
|
),
|
|
5018
5023
|
/* @__PURE__ */ r(
|
|
5019
|
-
|
|
5024
|
+
f,
|
|
5020
5025
|
{
|
|
5021
5026
|
align: "flex-start",
|
|
5022
5027
|
wrap: "nowrap",
|
|
5023
5028
|
gap: "xl",
|
|
5024
5029
|
children: [
|
|
5025
5030
|
/* @__PURE__ */ e(
|
|
5026
|
-
|
|
5031
|
+
S,
|
|
5027
5032
|
{
|
|
5028
5033
|
variant: "light",
|
|
5029
5034
|
size: 64,
|
|
@@ -5038,7 +5043,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5038
5043
|
)
|
|
5039
5044
|
}
|
|
5040
5045
|
),
|
|
5041
|
-
/* @__PURE__ */ r(
|
|
5046
|
+
/* @__PURE__ */ r(u, { gap: "xs", children: [
|
|
5042
5047
|
/* @__PURE__ */ e(
|
|
5043
5048
|
t,
|
|
5044
5049
|
{
|
|
@@ -5073,7 +5078,7 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5073
5078
|
)
|
|
5074
5079
|
] }),
|
|
5075
5080
|
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
5076
|
-
/* @__PURE__ */ r(
|
|
5081
|
+
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
5077
5082
|
/* @__PURE__ */ e(
|
|
5078
5083
|
t,
|
|
5079
5084
|
{
|
|
@@ -5106,17 +5111,17 @@ function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5106
5111
|
}
|
|
5107
5112
|
);
|
|
5108
5113
|
}
|
|
5109
|
-
function oa({ companyName: a = "Infrastructure", legalEntity:
|
|
5110
|
-
const i =
|
|
5114
|
+
function oa({ companyName: a = "Infrastructure", legalEntity: s, productName: l = "nossos produtos" }) {
|
|
5115
|
+
const i = s || a;
|
|
5111
5116
|
return i.split(" (")[0], /* @__PURE__ */ e(
|
|
5112
5117
|
x,
|
|
5113
5118
|
{
|
|
5114
5119
|
py: 100,
|
|
5115
5120
|
bg: "white",
|
|
5116
|
-
children: /* @__PURE__ */ e(B, { size: "md", children: /* @__PURE__ */ r(
|
|
5117
|
-
/* @__PURE__ */ r(
|
|
5121
|
+
children: /* @__PURE__ */ e(B, { size: "md", children: /* @__PURE__ */ r(u, { gap: 80, children: [
|
|
5122
|
+
/* @__PURE__ */ r(u, { gap: "sm", children: [
|
|
5118
5123
|
/* @__PURE__ */ e(
|
|
5119
|
-
|
|
5124
|
+
q,
|
|
5120
5125
|
{
|
|
5121
5126
|
order: 2,
|
|
5122
5127
|
ta: "center",
|
|
@@ -5144,7 +5149,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5144
5149
|
)
|
|
5145
5150
|
] }),
|
|
5146
5151
|
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
5147
|
-
/* @__PURE__ */ r(
|
|
5152
|
+
/* @__PURE__ */ r(u, { gap: "xl", children: [
|
|
5148
5153
|
/* @__PURE__ */ r(
|
|
5149
5154
|
t,
|
|
5150
5155
|
{
|
|
@@ -5170,16 +5175,16 @@ function oa({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5170
5175
|
}
|
|
5171
5176
|
)
|
|
5172
5177
|
] }),
|
|
5173
|
-
/* @__PURE__ */ r(
|
|
5178
|
+
/* @__PURE__ */ r(u, { gap: 50, children: [
|
|
5174
5179
|
/* @__PURE__ */ r(
|
|
5175
|
-
|
|
5180
|
+
f,
|
|
5176
5181
|
{
|
|
5177
5182
|
align: "flex-start",
|
|
5178
5183
|
wrap: "nowrap",
|
|
5179
5184
|
gap: "xl",
|
|
5180
5185
|
children: [
|
|
5181
5186
|
/* @__PURE__ */ e(
|
|
5182
|
-
|
|
5187
|
+
S,
|
|
5183
5188
|
{
|
|
5184
5189
|
variant: "light",
|
|
5185
5190
|
size: 64,
|
|
@@ -5194,7 +5199,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5194
5199
|
)
|
|
5195
5200
|
}
|
|
5196
5201
|
),
|
|
5197
|
-
/* @__PURE__ */ r(
|
|
5202
|
+
/* @__PURE__ */ r(u, { gap: "xs", children: [
|
|
5198
5203
|
/* @__PURE__ */ e(
|
|
5199
5204
|
t,
|
|
5200
5205
|
{
|
|
@@ -5224,14 +5229,14 @@ function oa({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5224
5229
|
}
|
|
5225
5230
|
),
|
|
5226
5231
|
/* @__PURE__ */ r(
|
|
5227
|
-
|
|
5232
|
+
f,
|
|
5228
5233
|
{
|
|
5229
5234
|
align: "flex-start",
|
|
5230
5235
|
wrap: "nowrap",
|
|
5231
5236
|
gap: "xl",
|
|
5232
5237
|
children: [
|
|
5233
5238
|
/* @__PURE__ */ e(
|
|
5234
|
-
|
|
5239
|
+
S,
|
|
5235
5240
|
{
|
|
5236
5241
|
variant: "light",
|
|
5237
5242
|
size: 64,
|
|
@@ -5246,7 +5251,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5246
5251
|
)
|
|
5247
5252
|
}
|
|
5248
5253
|
),
|
|
5249
|
-
/* @__PURE__ */ r(
|
|
5254
|
+
/* @__PURE__ */ r(u, { gap: "xs", children: [
|
|
5250
5255
|
/* @__PURE__ */ e(
|
|
5251
5256
|
t,
|
|
5252
5257
|
{
|
|
@@ -5276,14 +5281,14 @@ function oa({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5276
5281
|
}
|
|
5277
5282
|
),
|
|
5278
5283
|
/* @__PURE__ */ r(
|
|
5279
|
-
|
|
5284
|
+
f,
|
|
5280
5285
|
{
|
|
5281
5286
|
align: "flex-start",
|
|
5282
5287
|
wrap: "nowrap",
|
|
5283
5288
|
gap: "xl",
|
|
5284
5289
|
children: [
|
|
5285
5290
|
/* @__PURE__ */ e(
|
|
5286
|
-
|
|
5291
|
+
S,
|
|
5287
5292
|
{
|
|
5288
5293
|
variant: "light",
|
|
5289
5294
|
size: 64,
|
|
@@ -5298,7 +5303,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5298
5303
|
)
|
|
5299
5304
|
}
|
|
5300
5305
|
),
|
|
5301
|
-
/* @__PURE__ */ r(
|
|
5306
|
+
/* @__PURE__ */ r(u, { gap: "xs", children: [
|
|
5302
5307
|
/* @__PURE__ */ e(
|
|
5303
5308
|
t,
|
|
5304
5309
|
{
|
|
@@ -5324,14 +5329,14 @@ function oa({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5324
5329
|
}
|
|
5325
5330
|
),
|
|
5326
5331
|
/* @__PURE__ */ r(
|
|
5327
|
-
|
|
5332
|
+
f,
|
|
5328
5333
|
{
|
|
5329
5334
|
align: "flex-start",
|
|
5330
5335
|
wrap: "nowrap",
|
|
5331
5336
|
gap: "xl",
|
|
5332
5337
|
children: [
|
|
5333
5338
|
/* @__PURE__ */ e(
|
|
5334
|
-
|
|
5339
|
+
S,
|
|
5335
5340
|
{
|
|
5336
5341
|
variant: "light",
|
|
5337
5342
|
size: 64,
|
|
@@ -5346,7 +5351,7 @@ function oa({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5346
5351
|
)
|
|
5347
5352
|
}
|
|
5348
5353
|
),
|
|
5349
|
-
/* @__PURE__ */ r(
|
|
5354
|
+
/* @__PURE__ */ r(u, { gap: "xs", children: [
|
|
5350
5355
|
/* @__PURE__ */ e(
|
|
5351
5356
|
t,
|
|
5352
5357
|
{
|
|
@@ -5373,9 +5378,9 @@ function oa({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5373
5378
|
)
|
|
5374
5379
|
] }),
|
|
5375
5380
|
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
5376
|
-
/* @__PURE__ */ r(
|
|
5377
|
-
/* @__PURE__ */ r(
|
|
5378
|
-
/* @__PURE__ */ e(
|
|
5381
|
+
/* @__PURE__ */ r(u, { gap: "lg", children: [
|
|
5382
|
+
/* @__PURE__ */ r(f, { gap: "sm", children: [
|
|
5383
|
+
/* @__PURE__ */ e(S, { variant: "transparent", color: "gray.9", children: /* @__PURE__ */ e(Ze, { size: 18 }) }),
|
|
5379
5384
|
/* @__PURE__ */ e(
|
|
5380
5385
|
t,
|
|
5381
5386
|
{
|
|
@@ -5407,56 +5412,56 @@ function oa({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5407
5412
|
}
|
|
5408
5413
|
);
|
|
5409
5414
|
}
|
|
5410
|
-
const
|
|
5411
|
-
function sa(a, { intervalMs:
|
|
5415
|
+
const yr = 6, xr = 2e3;
|
|
5416
|
+
function sa(a, { intervalMs: s = 3e4, maxSamples: l = 40 } = {}) {
|
|
5412
5417
|
const [i, n] = H({ status: "loading", checks: [], checkedAt: null, error: null, loading: !0 }), [o, g] = H([]), d = Pe([]);
|
|
5413
5418
|
return ue(() => {
|
|
5414
5419
|
if (!a) return;
|
|
5415
5420
|
d.current = [], g([]);
|
|
5416
|
-
let
|
|
5417
|
-
const
|
|
5418
|
-
d.current = [...d.current,
|
|
5419
|
-
}, m = () => (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit", second: "2-digit" }),
|
|
5420
|
-
const
|
|
5421
|
+
let p = !1;
|
|
5422
|
+
const c = (I) => {
|
|
5423
|
+
d.current = [...d.current, I].slice(-l), g(d.current);
|
|
5424
|
+
}, m = () => (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit", second: "2-digit" }), h = async () => {
|
|
5425
|
+
const I = Date.now();
|
|
5421
5426
|
try {
|
|
5422
5427
|
const C = await fetch(a, { headers: { accept: "application/json" } });
|
|
5423
5428
|
if (!C.ok) throw new Error(`HTTP ${C.status}`);
|
|
5424
|
-
const
|
|
5425
|
-
if (
|
|
5426
|
-
|
|
5427
|
-
status:
|
|
5428
|
-
checks:
|
|
5429
|
-
checkedAt:
|
|
5430
|
-
service:
|
|
5429
|
+
const w = await C.json();
|
|
5430
|
+
if (p) return;
|
|
5431
|
+
b ? b = !1 : c({ time: m(), ms: Date.now() - I, up: w.status !== "down" }), n({
|
|
5432
|
+
status: w.status || "operational",
|
|
5433
|
+
checks: w.checks || [],
|
|
5434
|
+
checkedAt: w.checkedAt || null,
|
|
5435
|
+
service: w.service,
|
|
5431
5436
|
error: null,
|
|
5432
5437
|
loading: !1
|
|
5433
5438
|
});
|
|
5434
5439
|
} catch {
|
|
5435
|
-
if (
|
|
5436
|
-
|
|
5440
|
+
if (p) return;
|
|
5441
|
+
b = !1, c({ time: m(), ms: Date.now() - I, up: !1 }), n((w) => ({ ...w, error: "unreachable", loading: !1 }));
|
|
5437
5442
|
}
|
|
5438
5443
|
};
|
|
5439
|
-
let
|
|
5440
|
-
const
|
|
5441
|
-
await
|
|
5444
|
+
let b = !0, y = 0, z;
|
|
5445
|
+
const k = async () => {
|
|
5446
|
+
await h(), !p && (y += 1, z = setTimeout(k, y < yr ? xr : s));
|
|
5442
5447
|
};
|
|
5443
|
-
return
|
|
5444
|
-
|
|
5448
|
+
return k(), () => {
|
|
5449
|
+
p = !0, clearTimeout(z);
|
|
5445
5450
|
};
|
|
5446
|
-
}, [a,
|
|
5451
|
+
}, [a, s, l]), {
|
|
5447
5452
|
...i,
|
|
5448
|
-
latency: o.map((
|
|
5453
|
+
latency: o.map((p) => ({ time: p.time, ms: p.ms })),
|
|
5449
5454
|
// A "disponibilidade" aqui é a das amostras desta sessão, agrupadas em
|
|
5450
5455
|
// blocos — não um SLA de 90 dias. O rótulo na página diz isso.
|
|
5451
|
-
uptime:
|
|
5456
|
+
uptime: br(o),
|
|
5452
5457
|
// 1 = respondeu, 0.25 = falhou. Zero puro sumiria da barra e a falha
|
|
5453
5458
|
// ficaria invisível justamente quando importa.
|
|
5454
|
-
history: o.map((
|
|
5459
|
+
history: o.map((p) => p.up ? 1 : 0.25)
|
|
5455
5460
|
};
|
|
5456
5461
|
}
|
|
5457
|
-
function
|
|
5462
|
+
function br(a, s = 12) {
|
|
5458
5463
|
if (a.length === 0) return [];
|
|
5459
|
-
const l = Math.max(1, Math.ceil(a.length /
|
|
5464
|
+
const l = Math.max(1, Math.ceil(a.length / s)), i = [];
|
|
5460
5465
|
for (let n = 0; n < a.length; n += l) {
|
|
5461
5466
|
const o = a.slice(n, n + l), g = o.filter((d) => d.up).length;
|
|
5462
5467
|
i.push({ day: o[o.length - 1].time, pct: g / o.length * 100 });
|
|
@@ -5470,7 +5475,7 @@ export {
|
|
|
5470
5475
|
M as CTAButton,
|
|
5471
5476
|
Gr as Callout,
|
|
5472
5477
|
ir as CodeBlock,
|
|
5473
|
-
|
|
5478
|
+
or as ColorSchemeToggle,
|
|
5474
5479
|
Yr as Comparison,
|
|
5475
5480
|
Hr as CriteriaList,
|
|
5476
5481
|
Zr as FAQ,
|
|
@@ -5478,7 +5483,7 @@ export {
|
|
|
5478
5483
|
Rr as FeaturesGrid,
|
|
5479
5484
|
na as Footer,
|
|
5480
5485
|
Kr as FounderCard,
|
|
5481
|
-
|
|
5486
|
+
sr as Header,
|
|
5482
5487
|
Nr as Hero,
|
|
5483
5488
|
jr as Layout,
|
|
5484
5489
|
Xr as LeadForm,
|
|
@@ -5502,9 +5507,9 @@ export {
|
|
|
5502
5507
|
Wr as StatusIndicator,
|
|
5503
5508
|
Qr as Steps,
|
|
5504
5509
|
ea as Testimonials,
|
|
5505
|
-
|
|
5510
|
+
fr as TrustBadge,
|
|
5506
5511
|
nr as Wordmark,
|
|
5507
5512
|
O as resolveBackground,
|
|
5508
|
-
|
|
5513
|
+
Br as theme,
|
|
5509
5514
|
sa as useServiceStatus
|
|
5510
5515
|
};
|