@ciromaciel/components-kit 1.4.0 → 1.5.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 +585 -544
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { createTheme as
|
|
2
|
-
import { jsxs as r, jsx as e, Fragment as
|
|
3
|
-
import { isValidElement as
|
|
4
|
-
import { IconCheck as G, IconCopy as
|
|
5
|
-
import { useWindowScroll as
|
|
6
|
-
import { AreaChart as
|
|
7
|
-
const
|
|
1
|
+
import { createTheme as ve, Stack as f, Group as y, Badge as P, Text as t, Title as D, 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 I, SimpleGrid as A, Image as _, List as $, ThemeIcon as v, Grid as z, RingProgress as Fe, Anchor as me, UnstyledButton as ke, TextInput as te, Divider as j, SegmentedControl as qe, Accordion as N, Avatar as De } from "@mantine/core";
|
|
2
|
+
import { jsxs as r, jsx as e, Fragment as ne } from "react/jsx-runtime";
|
|
3
|
+
import { isValidElement as Ce, useState as H, useMemo as Ee, Fragment as Be, useEffect as ue, useRef as Pe } from "react";
|
|
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
|
+
import { useMounted as er, useWindowScroll as rr, useMediaQuery as ar } from "@mantine/hooks";
|
|
6
|
+
import { AreaChart as tr } from "@mantine/charts";
|
|
7
|
+
const Er = 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',
|
|
@@ -39,6 +39,11 @@ const Ir = we({
|
|
|
39
39
|
vermelho para quem tem daltonismo vermelho-verde. green.6 preenche
|
|
40
40
|
(ponto, disco, barra); green.7 é a tinta de texto sobre branco
|
|
41
41
|
(5,0:1). Como o vermelho, nunca aparece sem a palavra ou o glifo. */
|
|
42
|
+
/* A rampa que o Mantine usa para as próprias superfícies no escuro
|
|
43
|
+
(corpo, campo, botão default, texto apagado). São os mesmos valores
|
|
44
|
+
do bloco escuro do CSS: dark.7 é a base, dark.6 a superfície
|
|
45
|
+
elevada, dark.4 a borda, dark.0–3 as tintas. */
|
|
46
|
+
dark: ["#D3D8DE", "#B6BEC8", "#98A1AC", "#7D8794", "#2F3840", "#2A333B", "#1A2127", "#0B0F12", "#080B0D", "#050708"],
|
|
42
47
|
green: ["#F0FDF4", "#DCFCE7", "#BBF7D0", "#86EFAC", "#4ADE80", "#22C55E", "#16A34A", "#15803D", "#166534", "#14532D"]
|
|
43
48
|
},
|
|
44
49
|
/* O `--mantine-color-text` do Mantine é `theme.black`, que por padrão é
|
|
@@ -228,21 +233,21 @@ const Ir = we({
|
|
|
228
233
|
}
|
|
229
234
|
}
|
|
230
235
|
});
|
|
231
|
-
function
|
|
236
|
+
function xe({ badge: a, subtitle: c, title: l, titleOrder: i = 2, titleFz: n = "var(--fz-section-title)", ta: o = "left", maw: g }) {
|
|
232
237
|
return !l && !c && !a ? null : /* @__PURE__ */ r(
|
|
233
238
|
f,
|
|
234
239
|
{
|
|
235
240
|
gap: "xs",
|
|
236
|
-
align:
|
|
237
|
-
ta:
|
|
241
|
+
align: o === "center" ? "center" : "flex-start",
|
|
242
|
+
ta: o,
|
|
238
243
|
children: [
|
|
239
244
|
a && /* @__PURE__ */ e(
|
|
240
245
|
y,
|
|
241
246
|
{
|
|
242
|
-
justify:
|
|
247
|
+
justify: o === "center" ? "center" : "flex-start",
|
|
243
248
|
mb: "xs",
|
|
244
249
|
children: /* @__PURE__ */ e(
|
|
245
|
-
|
|
250
|
+
P,
|
|
246
251
|
{
|
|
247
252
|
variant: "dot",
|
|
248
253
|
color: "gray",
|
|
@@ -267,8 +272,8 @@ function fe({ badge: a, subtitle: c, title: l, titleOrder: n = 2, titleFz: i = "
|
|
|
267
272
|
l && /* @__PURE__ */ e(
|
|
268
273
|
D,
|
|
269
274
|
{
|
|
270
|
-
order:
|
|
271
|
-
fz:
|
|
275
|
+
order: i,
|
|
276
|
+
fz: n,
|
|
272
277
|
maw: g,
|
|
273
278
|
children: l
|
|
274
279
|
}
|
|
@@ -277,7 +282,7 @@ function fe({ badge: a, subtitle: c, title: l, titleOrder: n = 2, titleFz: i = "
|
|
|
277
282
|
}
|
|
278
283
|
);
|
|
279
284
|
}
|
|
280
|
-
function
|
|
285
|
+
function be({ video: a, image: c, width: l = "100%", maw: i, alt: n }) {
|
|
281
286
|
return a ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
282
287
|
x,
|
|
283
288
|
{
|
|
@@ -287,7 +292,7 @@ function ye({ video: a, image: c, width: l = "100%", maw: n, alt: i }) {
|
|
|
287
292
|
loop: !0,
|
|
288
293
|
muted: !0,
|
|
289
294
|
playsInline: !0,
|
|
290
|
-
"aria-label":
|
|
295
|
+
"aria-label": n || "Demonstração em vídeo",
|
|
291
296
|
w: a.width || l,
|
|
292
297
|
h: "auto",
|
|
293
298
|
style: { filter: a.filter || "none" }
|
|
@@ -297,24 +302,24 @@ function ye({ video: a, image: c, width: l = "100%", maw: n, alt: i }) {
|
|
|
297
302
|
{
|
|
298
303
|
component: "img",
|
|
299
304
|
src: c,
|
|
300
|
-
alt:
|
|
305
|
+
alt: n || "",
|
|
301
306
|
w: l,
|
|
302
307
|
h: "auto",
|
|
303
|
-
maw:
|
|
308
|
+
maw: i
|
|
304
309
|
}
|
|
305
310
|
) }) : null;
|
|
306
311
|
}
|
|
307
|
-
function
|
|
312
|
+
function M({
|
|
308
313
|
label: a,
|
|
309
314
|
href: c,
|
|
310
315
|
onClick: l,
|
|
311
|
-
icon:
|
|
312
|
-
size:
|
|
313
|
-
variant:
|
|
316
|
+
icon: i,
|
|
317
|
+
size: n = "lg",
|
|
318
|
+
variant: o = "filled",
|
|
314
319
|
color: g,
|
|
315
320
|
target: d,
|
|
316
321
|
px: h,
|
|
317
|
-
fullWidth:
|
|
322
|
+
fullWidth: s,
|
|
318
323
|
leftSection: m,
|
|
319
324
|
className: p,
|
|
320
325
|
...u
|
|
@@ -322,24 +327,24 @@ function N({
|
|
|
322
327
|
return /* @__PURE__ */ e(
|
|
323
328
|
U,
|
|
324
329
|
{
|
|
325
|
-
size:
|
|
330
|
+
size: n,
|
|
326
331
|
component: c ? "a" : "button",
|
|
327
332
|
href: c,
|
|
328
333
|
onClick: l,
|
|
329
334
|
target: d,
|
|
330
|
-
rightSection:
|
|
335
|
+
rightSection: i,
|
|
331
336
|
leftSection: m,
|
|
332
|
-
variant:
|
|
337
|
+
variant: o,
|
|
333
338
|
color: g,
|
|
334
339
|
px: h,
|
|
335
|
-
fullWidth:
|
|
340
|
+
fullWidth: s,
|
|
336
341
|
className: p ? `rlg-cta ${p}` : "rlg-cta",
|
|
337
342
|
...u,
|
|
338
343
|
children: a
|
|
339
344
|
}
|
|
340
345
|
);
|
|
341
346
|
}
|
|
342
|
-
function
|
|
347
|
+
function nr({ children: a, fz: c = 28, c: l = "gray.9", ...i }) {
|
|
343
348
|
return /* @__PURE__ */ e(
|
|
344
349
|
t,
|
|
345
350
|
{
|
|
@@ -349,14 +354,14 @@ function Xe({ children: a, fz: c = 28, c: l = "gray.9", ...n }) {
|
|
|
349
354
|
lh: 1,
|
|
350
355
|
c: l,
|
|
351
356
|
display: "block",
|
|
352
|
-
...
|
|
353
|
-
style: { whiteSpace: "nowrap", ...
|
|
357
|
+
...i,
|
|
358
|
+
style: { whiteSpace: "nowrap", ...i.style },
|
|
354
359
|
children: a
|
|
355
360
|
}
|
|
356
361
|
);
|
|
357
362
|
}
|
|
358
|
-
function
|
|
359
|
-
return a ?
|
|
363
|
+
function ee({ logo: a, objectPosition: c = "left" }) {
|
|
364
|
+
return a ? Ce(a) ? a : typeof a == "object" && a.src ? /* @__PURE__ */ e(
|
|
360
365
|
"img",
|
|
361
366
|
{
|
|
362
367
|
src: a.src,
|
|
@@ -366,11 +371,11 @@ function Z({ logo: a, objectPosition: c = "left" }) {
|
|
|
366
371
|
}
|
|
367
372
|
) : a : null;
|
|
368
373
|
}
|
|
369
|
-
function
|
|
374
|
+
function ir({ children: a, label: c, chrome: l = !0, copy: i = !0, variant: n = "dark", style: o }) {
|
|
370
375
|
const g = typeof a == "string" ? a : String(a ?? ""), d = g.split(`
|
|
371
376
|
`).filter((p) => p.trimStart().startsWith("$ ")), h = d.length ? d.map((p) => p.trimStart().slice(2)).join(`
|
|
372
|
-
`) : g,
|
|
373
|
-
shell: "
|
|
377
|
+
`) : g, s = n === "dark", m = s ? {
|
|
378
|
+
shell: "#11181C",
|
|
374
379
|
bar: "rgba(255, 255, 255, 0.06)",
|
|
375
380
|
line: "rgba(255, 255, 255, 0.10)",
|
|
376
381
|
dot: "rgba(255, 255, 255, 0.22)",
|
|
@@ -388,14 +393,14 @@ function Je({ children: a, label: c, chrome: l = !0, copy: n = !0, variant: i =
|
|
|
388
393
|
x,
|
|
389
394
|
{
|
|
390
395
|
style: {
|
|
391
|
-
border: `1px solid ${
|
|
396
|
+
border: `1px solid ${s ? "var(--rlg-shell-edge, #11181C)" : "var(--mantine-color-gray-3)"}`,
|
|
392
397
|
background: m.shell,
|
|
393
398
|
// `overflow: hidden` aqui cortava o código em vez de deixar o
|
|
394
399
|
// <pre> rolar: a linha longa ficava inacessível, sem barra e
|
|
395
400
|
// sem reticências. `hidden` só na vertical preserva o recorte
|
|
396
401
|
// do cabeçalho; a horizontal fica com o <pre>, que tem auto.
|
|
397
402
|
overflowY: "hidden",
|
|
398
|
-
...
|
|
403
|
+
...o
|
|
399
404
|
},
|
|
400
405
|
children: [
|
|
401
406
|
l && /* @__PURE__ */ r(
|
|
@@ -442,19 +447,19 @@ function Je({ children: a, label: c, chrome: l = !0, copy: n = !0, variant: i =
|
|
|
442
447
|
]
|
|
443
448
|
}
|
|
444
449
|
),
|
|
445
|
-
|
|
446
|
-
|
|
450
|
+
i && /* @__PURE__ */ e(
|
|
451
|
+
Se,
|
|
447
452
|
{
|
|
448
453
|
value: h,
|
|
449
454
|
timeout: 1600,
|
|
450
455
|
children: ({ copied: p, copy: u }) => /* @__PURE__ */ e(
|
|
451
|
-
|
|
456
|
+
re,
|
|
452
457
|
{
|
|
453
458
|
label: p ? "Copiado" : "Copiar",
|
|
454
459
|
withArrow: !0,
|
|
455
460
|
position: "left",
|
|
456
461
|
children: /* @__PURE__ */ e(
|
|
457
|
-
|
|
462
|
+
Y,
|
|
458
463
|
{
|
|
459
464
|
variant: "subtle",
|
|
460
465
|
size: "sm",
|
|
@@ -464,7 +469,7 @@ function Je({ children: a, label: c, chrome: l = !0, copy: n = !0, variant: i =
|
|
|
464
469
|
style: {
|
|
465
470
|
color: p ? "var(--mantine-color-green-4)" : m.label
|
|
466
471
|
},
|
|
467
|
-
children: p ? /* @__PURE__ */ e(G, { size: 14 }) : /* @__PURE__ */ e(
|
|
472
|
+
children: p ? /* @__PURE__ */ e(G, { size: 14 }) : /* @__PURE__ */ e(je, { size: 14 })
|
|
468
473
|
}
|
|
469
474
|
)
|
|
470
475
|
}
|
|
@@ -497,26 +502,61 @@ function Je({ children: a, label: c, chrome: l = !0, copy: n = !0, variant: i =
|
|
|
497
502
|
}
|
|
498
503
|
);
|
|
499
504
|
}
|
|
500
|
-
const
|
|
501
|
-
|
|
505
|
+
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 Br({ size: a = 36, ...c }) {
|
|
507
|
+
const { colorScheme: l, setColorScheme: i } = Ie(), o = er() ? l : "auto", g = lr[o], d = `Tema: ${oe[o]}. Mudar para ${oe[le[o]]}.`;
|
|
508
|
+
return /* @__PURE__ */ e(
|
|
509
|
+
re,
|
|
510
|
+
{
|
|
511
|
+
label: d,
|
|
512
|
+
position: "top",
|
|
513
|
+
withArrow: !1,
|
|
514
|
+
children: /* @__PURE__ */ e(
|
|
515
|
+
Y,
|
|
516
|
+
{
|
|
517
|
+
"data-color-scheme-toggle": !0,
|
|
518
|
+
variant: "subtle",
|
|
519
|
+
color: "gray.9",
|
|
520
|
+
size: a,
|
|
521
|
+
radius: 0,
|
|
522
|
+
"aria-label": d,
|
|
523
|
+
onClick: () => i(le[o]),
|
|
524
|
+
...c,
|
|
525
|
+
children: /* @__PURE__ */ e(
|
|
526
|
+
g,
|
|
527
|
+
{
|
|
528
|
+
size: 18,
|
|
529
|
+
stroke: 1.5,
|
|
530
|
+
"aria-hidden": !0
|
|
531
|
+
}
|
|
532
|
+
)
|
|
533
|
+
}
|
|
534
|
+
)
|
|
535
|
+
}
|
|
536
|
+
);
|
|
537
|
+
}
|
|
538
|
+
const Z = {
|
|
539
|
+
// gray.0 e nao 'white': os dois sao #FFFFFF no claro, mas no escuro
|
|
540
|
+
// 'white' e a superficie ELEVADA (cartao, modal), e o palco e a base.
|
|
541
|
+
white: "gray.0",
|
|
502
542
|
gray: "gray.1"
|
|
503
|
-
}, O = (a) => a === "gray.9" || a === "dark" ?
|
|
504
|
-
function F({ children: a, badge: c, title: l, subtitle:
|
|
505
|
-
const m = O(
|
|
543
|
+
}, O = (a) => a === "gray.9" || a === "dark" ? Z.gray : a === "white" ? Z.white : Z.gray;
|
|
544
|
+
function F({ children: a, badge: c, title: l, subtitle: i, id: n, background: o = "white", py: g = { base: 80, md: 120 }, maw: d = 800, ta: h = "left", stackGap: s = "xl" }) {
|
|
545
|
+
const m = O(o);
|
|
506
546
|
return /* @__PURE__ */ e(
|
|
507
547
|
x,
|
|
508
548
|
{
|
|
509
549
|
component: "section",
|
|
510
|
-
id:
|
|
550
|
+
id: n,
|
|
511
551
|
bg: m,
|
|
512
552
|
py: g,
|
|
513
553
|
style: { overflow: "hidden" },
|
|
514
|
-
children: /* @__PURE__ */ e(B, { size: "lg", children: /* @__PURE__ */ r(f, { gap:
|
|
554
|
+
children: /* @__PURE__ */ e(B, { size: "lg", children: /* @__PURE__ */ r(f, { gap: s, children: [
|
|
515
555
|
/* @__PURE__ */ e(
|
|
516
|
-
|
|
556
|
+
xe,
|
|
517
557
|
{
|
|
518
558
|
badge: c,
|
|
519
|
-
subtitle:
|
|
559
|
+
subtitle: i,
|
|
520
560
|
title: l,
|
|
521
561
|
ta: h,
|
|
522
562
|
maw: d
|
|
@@ -527,9 +567,9 @@ function F({ children: a, badge: c, title: l, subtitle: n, id: i, background: s
|
|
|
527
567
|
}
|
|
528
568
|
);
|
|
529
569
|
}
|
|
530
|
-
function
|
|
570
|
+
function Pr({ brand: a, label: c = "Verificando sua sessão...", ...l }) {
|
|
531
571
|
return /* @__PURE__ */ e(
|
|
532
|
-
|
|
572
|
+
Te,
|
|
533
573
|
{
|
|
534
574
|
h: "100dvh",
|
|
535
575
|
justify: "center",
|
|
@@ -542,7 +582,7 @@ function Tr({ brand: a, label: c = "Verificando sua sessão...", ...l }) {
|
|
|
542
582
|
gap: "md",
|
|
543
583
|
children: [
|
|
544
584
|
a ? /* @__PURE__ */ e(
|
|
545
|
-
|
|
585
|
+
nr,
|
|
546
586
|
{
|
|
547
587
|
fz: 11,
|
|
548
588
|
fw: 800,
|
|
@@ -554,7 +594,7 @@ function Tr({ brand: a, label: c = "Verificando sua sessão...", ...l }) {
|
|
|
554
594
|
children: a
|
|
555
595
|
}
|
|
556
596
|
) : null,
|
|
557
|
-
/* @__PURE__ */ e(
|
|
597
|
+
/* @__PURE__ */ e(Ae, { size: "sm" }),
|
|
558
598
|
/* @__PURE__ */ e(
|
|
559
599
|
t,
|
|
560
600
|
{
|
|
@@ -571,7 +611,7 @@ function Tr({ brand: a, label: c = "Verificando sua sessão...", ...l }) {
|
|
|
571
611
|
}
|
|
572
612
|
);
|
|
573
613
|
}
|
|
574
|
-
function
|
|
614
|
+
function jr({ children: a, style: c, ...l }) {
|
|
575
615
|
return /* @__PURE__ */ e(
|
|
576
616
|
x,
|
|
577
617
|
{
|
|
@@ -587,19 +627,19 @@ function Ar({ children: a, style: c, ...l }) {
|
|
|
587
627
|
}
|
|
588
628
|
);
|
|
589
629
|
}
|
|
590
|
-
function
|
|
591
|
-
const { icon: l, label:
|
|
630
|
+
function se({ cta: a, filled: c }) {
|
|
631
|
+
const { icon: l, label: i, labelMobile: n, component: o, ...g } = a;
|
|
592
632
|
return /* @__PURE__ */ e(
|
|
593
|
-
|
|
633
|
+
Y,
|
|
594
634
|
{
|
|
595
635
|
...g,
|
|
596
|
-
component:
|
|
636
|
+
component: o || (a.href ? "a" : "button"),
|
|
597
637
|
className: "ck-cta-icon",
|
|
598
|
-
"aria-label":
|
|
599
|
-
title:
|
|
638
|
+
"aria-label": i,
|
|
639
|
+
title: i,
|
|
600
640
|
size: 36,
|
|
601
641
|
radius: 0,
|
|
602
|
-
color: "
|
|
642
|
+
color: "gray.9",
|
|
603
643
|
variant: c ? "filled" : "subtle",
|
|
604
644
|
children: /* @__PURE__ */ e(
|
|
605
645
|
l,
|
|
@@ -611,8 +651,8 @@ function ne({ cta: a, filled: c }) {
|
|
|
611
651
|
}
|
|
612
652
|
);
|
|
613
653
|
}
|
|
614
|
-
function
|
|
615
|
-
const d = O(
|
|
654
|
+
function or({ logo: a, logoLink: c, navLinks: l = [], loginCta: i, signupCta: n, background: o = "white", logoMinWidth: g = 176 }) {
|
|
655
|
+
const d = O(o), [h] = rr(), s = h.y > 10, m = (u) => {
|
|
616
656
|
u === "top" ? window.scrollTo({ top: 0, behavior: "smooth" }) : document.getElementById(u)?.scrollIntoView({ behavior: "smooth" });
|
|
617
657
|
}, p = (u, w) => {
|
|
618
658
|
(u.key === "Enter" || u.key === " ") && (u.preventDefault(), m(w));
|
|
@@ -634,12 +674,12 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
634
674
|
children: /* @__PURE__ */ e(
|
|
635
675
|
I,
|
|
636
676
|
{
|
|
637
|
-
shadow:
|
|
677
|
+
shadow: s ? "sm" : "none",
|
|
638
678
|
radius: "0",
|
|
639
679
|
py: "xs",
|
|
640
680
|
px: "sm",
|
|
641
681
|
bg: d,
|
|
642
|
-
bd:
|
|
682
|
+
bd: s ? "1px solid var(--mantine-color-gray-2)" : "1px solid transparent",
|
|
643
683
|
style: { pointerEvents: "auto", transition: "all 0.2s ease" },
|
|
644
684
|
children: /* @__PURE__ */ r(
|
|
645
685
|
y,
|
|
@@ -658,7 +698,7 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
658
698
|
...T,
|
|
659
699
|
"aria-label": "Ir para a página inicial",
|
|
660
700
|
style: u,
|
|
661
|
-
children: /* @__PURE__ */ e(
|
|
701
|
+
children: /* @__PURE__ */ e(ee, { logo: a })
|
|
662
702
|
}
|
|
663
703
|
);
|
|
664
704
|
}
|
|
@@ -671,7 +711,7 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
671
711
|
w.preventDefault(), window.scrollTo({ top: 0, behavior: "smooth" });
|
|
672
712
|
},
|
|
673
713
|
style: u,
|
|
674
|
-
children: /* @__PURE__ */ e(
|
|
714
|
+
children: /* @__PURE__ */ e(ee, { logo: a })
|
|
675
715
|
}
|
|
676
716
|
);
|
|
677
717
|
})(),
|
|
@@ -697,7 +737,7 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
697
737
|
fw: 900,
|
|
698
738
|
tt: "uppercase",
|
|
699
739
|
lts: "1px",
|
|
700
|
-
c: "
|
|
740
|
+
c: "gray.9",
|
|
701
741
|
...u,
|
|
702
742
|
component: u.component || "span",
|
|
703
743
|
role: u.component ? void 0 : "link",
|
|
@@ -718,32 +758,32 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
718
758
|
wrap: "nowrap",
|
|
719
759
|
style: { flexShrink: 0 },
|
|
720
760
|
children: [
|
|
721
|
-
|
|
761
|
+
i && /* @__PURE__ */ r(
|
|
722
762
|
x,
|
|
723
763
|
{
|
|
724
764
|
className: "ck-cta-login",
|
|
725
765
|
display: "inline-flex",
|
|
726
|
-
visibleFrom:
|
|
766
|
+
visibleFrom: i.icon ? void 0 : "xs",
|
|
727
767
|
children: [
|
|
728
768
|
/* @__PURE__ */ e(
|
|
729
769
|
U,
|
|
730
770
|
{
|
|
731
771
|
variant: "subtle",
|
|
732
|
-
...(({ icon: u, ...w }) => w)(
|
|
733
|
-
component:
|
|
772
|
+
...(({ icon: u, ...w }) => w)(i),
|
|
773
|
+
component: i.component || (i.href ? "a" : "button"),
|
|
734
774
|
className: "ck-cta-label",
|
|
735
775
|
c: "gray.7",
|
|
736
776
|
size: "sm",
|
|
737
777
|
radius: "0",
|
|
738
778
|
fw: 900,
|
|
739
|
-
children:
|
|
779
|
+
children: i.label
|
|
740
780
|
}
|
|
741
781
|
),
|
|
742
|
-
|
|
782
|
+
i.icon && /* @__PURE__ */ e(se, { cta: i })
|
|
743
783
|
]
|
|
744
784
|
}
|
|
745
785
|
),
|
|
746
|
-
|
|
786
|
+
n && /* @__PURE__ */ r(
|
|
747
787
|
x,
|
|
748
788
|
{
|
|
749
789
|
className: "ck-cta-signup",
|
|
@@ -752,12 +792,12 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
752
792
|
/* @__PURE__ */ r(
|
|
753
793
|
U,
|
|
754
794
|
{
|
|
755
|
-
...(({ icon: u, ...w }) => w)(
|
|
756
|
-
component:
|
|
795
|
+
...(({ icon: u, ...w }) => w)(n),
|
|
796
|
+
component: n.component || (n.href ? "a" : "button"),
|
|
757
797
|
className: "ck-cta-label",
|
|
758
798
|
size: "sm",
|
|
759
799
|
radius: "0",
|
|
760
|
-
color: "
|
|
800
|
+
color: "gray.9",
|
|
761
801
|
variant: "filled",
|
|
762
802
|
children: [
|
|
763
803
|
/* @__PURE__ */ e(
|
|
@@ -768,7 +808,7 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
768
808
|
c: "white",
|
|
769
809
|
fw: 900,
|
|
770
810
|
size: "sm",
|
|
771
|
-
children:
|
|
811
|
+
children: n.label
|
|
772
812
|
}
|
|
773
813
|
),
|
|
774
814
|
/* @__PURE__ */ e(
|
|
@@ -779,16 +819,16 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
779
819
|
c: "white",
|
|
780
820
|
fw: 900,
|
|
781
821
|
size: "xs",
|
|
782
|
-
children:
|
|
822
|
+
children: n.labelMobile || n.label
|
|
783
823
|
}
|
|
784
824
|
)
|
|
785
825
|
]
|
|
786
826
|
}
|
|
787
827
|
),
|
|
788
|
-
|
|
789
|
-
|
|
828
|
+
n.icon && /* @__PURE__ */ e(
|
|
829
|
+
se,
|
|
790
830
|
{
|
|
791
|
-
cta:
|
|
831
|
+
cta: n,
|
|
792
832
|
filled: !0
|
|
793
833
|
}
|
|
794
834
|
)
|
|
@@ -808,12 +848,12 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
808
848
|
}
|
|
809
849
|
);
|
|
810
850
|
}
|
|
811
|
-
const
|
|
851
|
+
const Mr = or, ce = {
|
|
812
852
|
root: { height: "auto", maxWidth: "100%" },
|
|
813
853
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
814
854
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
815
855
|
};
|
|
816
|
-
function
|
|
856
|
+
function Nr({ subtitle: a, title: c, description: l, cta: i, secondaryCta: n, note: o, video: g, image: d, background: h = "white", mediaMaw: s, titleFz: m = "var(--fz-hero)", descriptionFz: p = "xl" }) {
|
|
817
857
|
const u = !!(g || d);
|
|
818
858
|
return /* @__PURE__ */ e(
|
|
819
859
|
x,
|
|
@@ -837,7 +877,7 @@ function qr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
837
877
|
ta: u ? { base: "center", md: "left" } : "center",
|
|
838
878
|
children: [
|
|
839
879
|
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
840
|
-
|
|
880
|
+
xe,
|
|
841
881
|
{
|
|
842
882
|
subtitle: a,
|
|
843
883
|
title: c,
|
|
@@ -857,7 +897,7 @@ function qr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
857
897
|
children: l
|
|
858
898
|
}
|
|
859
899
|
) }),
|
|
860
|
-
(
|
|
900
|
+
(i || n) && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(
|
|
861
901
|
y,
|
|
862
902
|
{
|
|
863
903
|
gap: "md",
|
|
@@ -866,24 +906,8 @@ function qr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
866
906
|
style: { maxWidth: "100%" },
|
|
867
907
|
className: "rlg-cta-group",
|
|
868
908
|
children: [
|
|
869
|
-
n && /* @__PURE__ */ e(
|
|
870
|
-
N,
|
|
871
|
-
{
|
|
872
|
-
label: n.label,
|
|
873
|
-
href: n.href,
|
|
874
|
-
icon: n.icon,
|
|
875
|
-
leftSection: n.leftSection,
|
|
876
|
-
target: n.target,
|
|
877
|
-
rel: n.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
878
|
-
size: n.size || "xl",
|
|
879
|
-
px: n.px || 48,
|
|
880
|
-
variant: n.variant,
|
|
881
|
-
color: n.color,
|
|
882
|
-
styles: le
|
|
883
|
-
}
|
|
884
|
-
),
|
|
885
909
|
i && /* @__PURE__ */ e(
|
|
886
|
-
|
|
910
|
+
M,
|
|
887
911
|
{
|
|
888
912
|
label: i.label,
|
|
889
913
|
href: i.href,
|
|
@@ -893,15 +917,31 @@ function qr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
893
917
|
rel: i.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
894
918
|
size: i.size || "xl",
|
|
895
919
|
px: i.px || 48,
|
|
896
|
-
variant: i.variant
|
|
920
|
+
variant: i.variant,
|
|
897
921
|
color: i.color,
|
|
898
|
-
styles:
|
|
922
|
+
styles: ce
|
|
923
|
+
}
|
|
924
|
+
),
|
|
925
|
+
n && /* @__PURE__ */ e(
|
|
926
|
+
M,
|
|
927
|
+
{
|
|
928
|
+
label: n.label,
|
|
929
|
+
href: n.href,
|
|
930
|
+
icon: n.icon,
|
|
931
|
+
leftSection: n.leftSection,
|
|
932
|
+
target: n.target,
|
|
933
|
+
rel: n.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
934
|
+
size: n.size || "xl",
|
|
935
|
+
px: n.px || 48,
|
|
936
|
+
variant: n.variant || "default",
|
|
937
|
+
color: n.color,
|
|
938
|
+
styles: ce
|
|
899
939
|
}
|
|
900
940
|
)
|
|
901
941
|
]
|
|
902
942
|
}
|
|
903
943
|
) }),
|
|
904
|
-
|
|
944
|
+
o && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
905
945
|
t,
|
|
906
946
|
{
|
|
907
947
|
size: "sm",
|
|
@@ -909,18 +949,18 @@ function qr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
909
949
|
maw: 620,
|
|
910
950
|
fw: 500,
|
|
911
951
|
lh: 1.7,
|
|
912
|
-
children:
|
|
952
|
+
children: o
|
|
913
953
|
}
|
|
914
954
|
) })
|
|
915
955
|
]
|
|
916
956
|
}
|
|
917
957
|
),
|
|
918
958
|
u && /* @__PURE__ */ e(
|
|
919
|
-
|
|
959
|
+
be,
|
|
920
960
|
{
|
|
921
961
|
video: g,
|
|
922
962
|
image: d,
|
|
923
|
-
maw:
|
|
963
|
+
maw: s,
|
|
924
964
|
alt: "Demonstração do produto"
|
|
925
965
|
}
|
|
926
966
|
)
|
|
@@ -930,7 +970,7 @@ function qr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
930
970
|
}
|
|
931
971
|
);
|
|
932
972
|
}
|
|
933
|
-
function
|
|
973
|
+
function sr({ logo: a, index: c }) {
|
|
934
974
|
const l = {
|
|
935
975
|
src: a.src,
|
|
936
976
|
alt: a.alt || `Logo ${c}`,
|
|
@@ -941,11 +981,11 @@ function er({ logo: a, index: c }) {
|
|
|
941
981
|
transition: "filter 0.3s ease, opacity 0.3s ease",
|
|
942
982
|
...a.style
|
|
943
983
|
},
|
|
944
|
-
onMouseEnter: (
|
|
945
|
-
|
|
984
|
+
onMouseEnter: (i) => {
|
|
985
|
+
i.currentTarget.style.filter = "grayscale(0) opacity(0.8)";
|
|
946
986
|
},
|
|
947
|
-
onMouseLeave: (
|
|
948
|
-
|
|
987
|
+
onMouseLeave: (i) => {
|
|
988
|
+
i.currentTarget.style.filter = "grayscale(1) opacity(0.4)";
|
|
949
989
|
}
|
|
950
990
|
};
|
|
951
991
|
return a.url ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
@@ -958,14 +998,14 @@ function er({ logo: a, index: c }) {
|
|
|
958
998
|
}
|
|
959
999
|
) }) : /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(_, { ...l }) });
|
|
960
1000
|
}
|
|
961
|
-
function
|
|
1001
|
+
function Or({ id: a, title: c, logos: l, background: i = "gray" }) {
|
|
962
1002
|
return !l || l.length === 0 ? null : /* @__PURE__ */ e(
|
|
963
1003
|
x,
|
|
964
1004
|
{
|
|
965
1005
|
component: "section",
|
|
966
1006
|
id: a,
|
|
967
1007
|
py: { base: 40, md: 60 },
|
|
968
|
-
bg:
|
|
1008
|
+
bg: i,
|
|
969
1009
|
bd: { bottom: "1px solid var(--mantine-color-gray-2)" },
|
|
970
1010
|
children: /* @__PURE__ */ e(B, { size: "lg", children: /* @__PURE__ */ r(
|
|
971
1011
|
f,
|
|
@@ -992,13 +1032,13 @@ function kr({ id: a, title: c, logos: l, background: n = "gray" }) {
|
|
|
992
1032
|
gap: { base: 40, md: 80 },
|
|
993
1033
|
style: { rowGap: 40 },
|
|
994
1034
|
w: "100%",
|
|
995
|
-
children: l.map((
|
|
996
|
-
|
|
1035
|
+
children: l.map((n, o) => /* @__PURE__ */ e(
|
|
1036
|
+
sr,
|
|
997
1037
|
{
|
|
998
|
-
logo:
|
|
999
|
-
index:
|
|
1038
|
+
logo: n,
|
|
1039
|
+
index: o
|
|
1000
1040
|
},
|
|
1001
|
-
|
|
1041
|
+
o
|
|
1002
1042
|
))
|
|
1003
1043
|
}
|
|
1004
1044
|
)
|
|
@@ -1008,8 +1048,8 @@ function kr({ id: a, title: c, logos: l, background: n = "gray" }) {
|
|
|
1008
1048
|
}
|
|
1009
1049
|
);
|
|
1010
1050
|
}
|
|
1011
|
-
function
|
|
1012
|
-
const u =
|
|
1051
|
+
function Lr({ id: a, subtitle: c, title: l, description: i, descriptionFz: n, featuresList: o, cta: g, video: d, image: h, reverse: s = !1, background: m = "white", mediaMaw: p }) {
|
|
1052
|
+
const u = o && o.length > 0 && /* @__PURE__ */ e(
|
|
1013
1053
|
$,
|
|
1014
1054
|
{
|
|
1015
1055
|
spacing: "md",
|
|
@@ -1030,7 +1070,7 @@ function Dr({ id: a, subtitle: c, title: l, description: n, descriptionFz: i, fe
|
|
|
1030
1070
|
)
|
|
1031
1071
|
}
|
|
1032
1072
|
),
|
|
1033
|
-
children:
|
|
1073
|
+
children: o.map((q, S) => /* @__PURE__ */ e($.Item, { children: q }, S))
|
|
1034
1074
|
}
|
|
1035
1075
|
), w = /* @__PURE__ */ r(
|
|
1036
1076
|
f,
|
|
@@ -1038,7 +1078,7 @@ function Dr({ id: a, subtitle: c, title: l, description: n, descriptionFz: i, fe
|
|
|
1038
1078
|
justify: "center",
|
|
1039
1079
|
gap: "lg",
|
|
1040
1080
|
children: [
|
|
1041
|
-
|
|
1081
|
+
i && /* `descriptionFz` existe porque 20px (o `size="xl"`) é grande
|
|
1042
1082
|
demais ao lado de uma lista de 16px: o parágrafo lê como se
|
|
1043
1083
|
estivesse solto no espaço. O `Hero` e o `HeroSplit` já
|
|
1044
1084
|
aceitavam essa prop; o `FeatureSplit` não, e quem precisava
|
|
@@ -1053,14 +1093,14 @@ function Dr({ id: a, subtitle: c, title: l, description: n, descriptionFz: i, fe
|
|
|
1053
1093
|
{
|
|
1054
1094
|
c: "gray.6",
|
|
1055
1095
|
size: "xl",
|
|
1056
|
-
fz:
|
|
1096
|
+
fz: n,
|
|
1057
1097
|
lh: 1.6,
|
|
1058
|
-
children:
|
|
1098
|
+
children: i
|
|
1059
1099
|
}
|
|
1060
1100
|
),
|
|
1061
1101
|
u,
|
|
1062
1102
|
g && /* @__PURE__ */ e(y, { mt: "md", children: /* @__PURE__ */ e(
|
|
1063
|
-
|
|
1103
|
+
M,
|
|
1064
1104
|
{
|
|
1065
1105
|
label: g.label,
|
|
1066
1106
|
href: g.href,
|
|
@@ -1086,7 +1126,7 @@ function Dr({ id: a, subtitle: c, title: l, description: n, descriptionFz: i, fe
|
|
|
1086
1126
|
imagem de 52 a 338 (286px). A imagem não vazava — estava estreita
|
|
1087
1127
|
demais para o lugar onde tinha ido parar. */
|
|
1088
1128
|
/* @__PURE__ */ e(
|
|
1089
|
-
|
|
1129
|
+
be,
|
|
1090
1130
|
{
|
|
1091
1131
|
video: d,
|
|
1092
1132
|
image: h,
|
|
@@ -1107,10 +1147,10 @@ function Dr({ id: a, subtitle: c, title: l, description: n, descriptionFz: i, fe
|
|
|
1107
1147
|
cols: { base: 1, md: 2 },
|
|
1108
1148
|
spacing: { base: 40, md: 80 },
|
|
1109
1149
|
verticalSpacing: { base: 40, md: 50 },
|
|
1110
|
-
children:
|
|
1150
|
+
children: s ? /* @__PURE__ */ r(ne, { children: [
|
|
1111
1151
|
T,
|
|
1112
1152
|
w
|
|
1113
|
-
] }) : /* @__PURE__ */ r(
|
|
1153
|
+
] }) : /* @__PURE__ */ r(ne, { children: [
|
|
1114
1154
|
w,
|
|
1115
1155
|
T
|
|
1116
1156
|
] })
|
|
@@ -1119,19 +1159,19 @@ function Dr({ id: a, subtitle: c, title: l, description: n, descriptionFz: i, fe
|
|
|
1119
1159
|
}
|
|
1120
1160
|
);
|
|
1121
1161
|
}
|
|
1122
|
-
function
|
|
1162
|
+
function Rr({ id: a, badge: c, subtitle: l, title: i, description: n, background: o = "gray", items: g = [], ta: d = "left", note: h }) {
|
|
1123
1163
|
return /* @__PURE__ */ r(
|
|
1124
1164
|
F,
|
|
1125
1165
|
{
|
|
1126
1166
|
id: a,
|
|
1127
1167
|
badge: c,
|
|
1128
1168
|
subtitle: l,
|
|
1129
|
-
title:
|
|
1130
|
-
background:
|
|
1169
|
+
title: i,
|
|
1170
|
+
background: o,
|
|
1131
1171
|
ta: d,
|
|
1132
1172
|
maw: d === "center" ? 900 : 800,
|
|
1133
1173
|
children: [
|
|
1134
|
-
|
|
1174
|
+
n && /* @__PURE__ */ e(
|
|
1135
1175
|
t,
|
|
1136
1176
|
{
|
|
1137
1177
|
c: "gray.6",
|
|
@@ -1141,13 +1181,13 @@ function Pr({ id: a, badge: c, subtitle: l, title: n, description: i, background
|
|
|
1141
1181
|
maw: 780,
|
|
1142
1182
|
mx: d === "center" ? "auto" : void 0,
|
|
1143
1183
|
mb: 40,
|
|
1144
|
-
children:
|
|
1184
|
+
children: n
|
|
1145
1185
|
}
|
|
1146
1186
|
),
|
|
1147
|
-
/* @__PURE__ */ e(z, { gutter: "lg", children: g.map((
|
|
1148
|
-
|
|
1187
|
+
/* @__PURE__ */ e(z, { gutter: "lg", children: g.map((s, m) => /* @__PURE__ */ e(
|
|
1188
|
+
cr,
|
|
1149
1189
|
{
|
|
1150
|
-
...
|
|
1190
|
+
...s
|
|
1151
1191
|
},
|
|
1152
1192
|
m
|
|
1153
1193
|
)) }),
|
|
@@ -1168,17 +1208,17 @@ function Pr({ id: a, badge: c, subtitle: l, title: n, description: i, background
|
|
|
1168
1208
|
}
|
|
1169
1209
|
);
|
|
1170
1210
|
}
|
|
1171
|
-
function
|
|
1211
|
+
function cr({
|
|
1172
1212
|
icon: a,
|
|
1173
1213
|
iconVariant: c,
|
|
1174
1214
|
iconColor: l,
|
|
1175
|
-
label:
|
|
1176
|
-
title:
|
|
1177
|
-
titleSize:
|
|
1215
|
+
label: i,
|
|
1216
|
+
title: n,
|
|
1217
|
+
titleSize: o,
|
|
1178
1218
|
description: g,
|
|
1179
1219
|
descriptionSize: d,
|
|
1180
1220
|
descriptionMaw: h,
|
|
1181
|
-
span:
|
|
1221
|
+
span: s = { base: 12, md: 6 },
|
|
1182
1222
|
background: m = "white",
|
|
1183
1223
|
visual: p,
|
|
1184
1224
|
secondaryVisual: u,
|
|
@@ -1186,15 +1226,15 @@ function rr({
|
|
|
1186
1226
|
badges: T,
|
|
1187
1227
|
// Acoes do card, no shape universal de cta: { label, href, icon, variant }.
|
|
1188
1228
|
// Sao dados, nunca JSX — o card monta os botoes, o consumidor so declara.
|
|
1189
|
-
actions:
|
|
1229
|
+
actions: q,
|
|
1190
1230
|
codeBlock: S,
|
|
1191
1231
|
// layout="split": quantas das 12 colunas o codigo ocupa. O padrao 6
|
|
1192
1232
|
// divide o card ao meio; suba para 7 quando as linhas forem longas.
|
|
1193
|
-
codeSpan:
|
|
1233
|
+
codeSpan: C = 6,
|
|
1194
1234
|
// Rotulo da barra do terminal (ex: "bash", "index.js").
|
|
1195
1235
|
codeLabel: b,
|
|
1196
1236
|
decorativeContent: L,
|
|
1197
|
-
style:
|
|
1237
|
+
style: k,
|
|
1198
1238
|
...R
|
|
1199
1239
|
}) {
|
|
1200
1240
|
const K = /* @__PURE__ */ r(x, { children: [
|
|
@@ -1215,7 +1255,7 @@ function rr({
|
|
|
1215
1255
|
)
|
|
1216
1256
|
}
|
|
1217
1257
|
),
|
|
1218
|
-
|
|
1258
|
+
i && /* @__PURE__ */ e(
|
|
1219
1259
|
t,
|
|
1220
1260
|
{
|
|
1221
1261
|
size: "sm",
|
|
@@ -1224,18 +1264,18 @@ function rr({
|
|
|
1224
1264
|
lts: "1.5px",
|
|
1225
1265
|
c: "gray.5",
|
|
1226
1266
|
mb: "xs",
|
|
1227
|
-
children:
|
|
1267
|
+
children: i
|
|
1228
1268
|
}
|
|
1229
1269
|
),
|
|
1230
|
-
|
|
1270
|
+
n && /* @__PURE__ */ e(
|
|
1231
1271
|
t,
|
|
1232
1272
|
{
|
|
1233
|
-
fz:
|
|
1273
|
+
fz: o || (w === "compact" ? "h4" : "h3"),
|
|
1234
1274
|
fw: 900,
|
|
1235
1275
|
lh: 1.2,
|
|
1236
1276
|
mb: "sm",
|
|
1237
1277
|
c: void 0,
|
|
1238
|
-
children:
|
|
1278
|
+
children: n
|
|
1239
1279
|
}
|
|
1240
1280
|
),
|
|
1241
1281
|
g && /* @__PURE__ */ e(
|
|
@@ -1248,34 +1288,34 @@ function rr({
|
|
|
1248
1288
|
children: g
|
|
1249
1289
|
}
|
|
1250
1290
|
),
|
|
1251
|
-
T && T.length > 0 && /* @__PURE__ */ e(y, { children: T.map((
|
|
1252
|
-
|
|
1291
|
+
T && T.length > 0 && /* @__PURE__ */ e(y, { children: T.map((J, Q) => /* @__PURE__ */ e(
|
|
1292
|
+
P,
|
|
1253
1293
|
{
|
|
1254
1294
|
variant: "dot",
|
|
1255
1295
|
color: "gray",
|
|
1256
1296
|
radius: "0",
|
|
1257
|
-
children:
|
|
1297
|
+
children: J
|
|
1258
1298
|
},
|
|
1259
1299
|
Q
|
|
1260
1300
|
)) }),
|
|
1261
|
-
|
|
1301
|
+
q && q.length > 0 && /* @__PURE__ */ e(
|
|
1262
1302
|
y,
|
|
1263
1303
|
{
|
|
1264
1304
|
gap: "sm",
|
|
1265
1305
|
mt: "xl",
|
|
1266
|
-
children:
|
|
1267
|
-
|
|
1306
|
+
children: q.map((J, Q) => /* @__PURE__ */ e(
|
|
1307
|
+
M,
|
|
1268
1308
|
{
|
|
1269
1309
|
size: "md",
|
|
1270
1310
|
variant: Q === 0 ? "filled" : "default",
|
|
1271
|
-
...
|
|
1311
|
+
...J
|
|
1272
1312
|
},
|
|
1273
1313
|
Q
|
|
1274
1314
|
))
|
|
1275
1315
|
}
|
|
1276
1316
|
)
|
|
1277
|
-
] }), V = p ?
|
|
1278
|
-
return w === "split" ? /* @__PURE__ */ e(z.Col, { span:
|
|
1317
|
+
] }), V = p ? de(p) : null, ae = u ? de(u) : null;
|
|
1318
|
+
return w === "split" ? /* @__PURE__ */ e(z.Col, { span: s, children: /* @__PURE__ */ e(
|
|
1279
1319
|
I,
|
|
1280
1320
|
{
|
|
1281
1321
|
h: "100%",
|
|
@@ -1283,7 +1323,7 @@ function rr({
|
|
|
1283
1323
|
radius: "0",
|
|
1284
1324
|
bg: O(m),
|
|
1285
1325
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1286
|
-
style:
|
|
1326
|
+
style: k,
|
|
1287
1327
|
...R,
|
|
1288
1328
|
children: /* @__PURE__ */ r(
|
|
1289
1329
|
z,
|
|
@@ -1291,16 +1331,16 @@ function rr({
|
|
|
1291
1331
|
align: "center",
|
|
1292
1332
|
gutter: "xl",
|
|
1293
1333
|
children: [
|
|
1294
|
-
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 12 -
|
|
1295
|
-
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm:
|
|
1334
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 12 - C }, children: K }),
|
|
1335
|
+
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: C }, children: [
|
|
1296
1336
|
V,
|
|
1297
|
-
S && /* @__PURE__ */ e(
|
|
1337
|
+
S && /* @__PURE__ */ e(ir, { label: b, children: S })
|
|
1298
1338
|
] })
|
|
1299
1339
|
]
|
|
1300
1340
|
}
|
|
1301
1341
|
)
|
|
1302
1342
|
}
|
|
1303
|
-
) }) : w === "compact" ? /* @__PURE__ */ e(z.Col, { span:
|
|
1343
|
+
) }) : w === "compact" ? /* @__PURE__ */ e(z.Col, { span: s, children: /* @__PURE__ */ r(
|
|
1304
1344
|
I,
|
|
1305
1345
|
{
|
|
1306
1346
|
h: "100%",
|
|
@@ -1308,14 +1348,14 @@ function rr({
|
|
|
1308
1348
|
radius: "0",
|
|
1309
1349
|
bg: O(m),
|
|
1310
1350
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1311
|
-
style:
|
|
1351
|
+
style: k,
|
|
1312
1352
|
...R,
|
|
1313
1353
|
children: [
|
|
1314
1354
|
K,
|
|
1315
1355
|
V
|
|
1316
1356
|
]
|
|
1317
1357
|
}
|
|
1318
|
-
) }) : L ? /* @__PURE__ */ e(z.Col, { span:
|
|
1358
|
+
) }) : L ? /* @__PURE__ */ e(z.Col, { span: s, children: /* @__PURE__ */ e(
|
|
1319
1359
|
I,
|
|
1320
1360
|
{
|
|
1321
1361
|
h: "100%",
|
|
@@ -1324,7 +1364,7 @@ function rr({
|
|
|
1324
1364
|
bg: O(m),
|
|
1325
1365
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1326
1366
|
pos: "relative",
|
|
1327
|
-
style:
|
|
1367
|
+
style: k,
|
|
1328
1368
|
...R,
|
|
1329
1369
|
children: /* @__PURE__ */ r(
|
|
1330
1370
|
z,
|
|
@@ -1352,7 +1392,7 @@ function rr({
|
|
|
1352
1392
|
}
|
|
1353
1393
|
)
|
|
1354
1394
|
}
|
|
1355
|
-
) }) : /* @__PURE__ */ e(z.Col, { span:
|
|
1395
|
+
) }) : /* @__PURE__ */ e(z.Col, { span: s, children: /* @__PURE__ */ r(
|
|
1356
1396
|
I,
|
|
1357
1397
|
{
|
|
1358
1398
|
h: "100%",
|
|
@@ -1364,19 +1404,19 @@ function rr({
|
|
|
1364
1404
|
style: {
|
|
1365
1405
|
flexDirection: "column",
|
|
1366
1406
|
justifyContent: "space-between",
|
|
1367
|
-
...
|
|
1407
|
+
...k
|
|
1368
1408
|
},
|
|
1369
1409
|
...R,
|
|
1370
1410
|
children: [
|
|
1371
1411
|
K,
|
|
1372
|
-
V &&
|
|
1412
|
+
V && ae ? /* @__PURE__ */ r(
|
|
1373
1413
|
y,
|
|
1374
1414
|
{
|
|
1375
1415
|
gap: 40,
|
|
1376
1416
|
align: "center",
|
|
1377
1417
|
children: [
|
|
1378
1418
|
V,
|
|
1379
|
-
|
|
1419
|
+
ae
|
|
1380
1420
|
]
|
|
1381
1421
|
}
|
|
1382
1422
|
) : V
|
|
@@ -1384,12 +1424,12 @@ function rr({
|
|
|
1384
1424
|
}
|
|
1385
1425
|
) });
|
|
1386
1426
|
}
|
|
1387
|
-
function
|
|
1427
|
+
function de(a) {
|
|
1388
1428
|
if (!a) return null;
|
|
1389
1429
|
switch (a.type) {
|
|
1390
1430
|
case "ring":
|
|
1391
1431
|
return /* @__PURE__ */ e(
|
|
1392
|
-
|
|
1432
|
+
Fe,
|
|
1393
1433
|
{
|
|
1394
1434
|
size: a.size || 140,
|
|
1395
1435
|
thickness: a.thickness || 12,
|
|
@@ -1446,7 +1486,7 @@ function oe(a) {
|
|
|
1446
1486
|
}
|
|
1447
1487
|
),
|
|
1448
1488
|
a.badge && /* @__PURE__ */ e(
|
|
1449
|
-
|
|
1489
|
+
P,
|
|
1450
1490
|
{
|
|
1451
1491
|
mt: "md",
|
|
1452
1492
|
color: "gray",
|
|
@@ -1511,15 +1551,15 @@ function oe(a) {
|
|
|
1511
1551
|
return null;
|
|
1512
1552
|
}
|
|
1513
1553
|
}
|
|
1514
|
-
function
|
|
1515
|
-
const h =
|
|
1554
|
+
function $r({ id: a, subtitle: c, title: l, items: i = [], cols: n, background: o = "white", ta: g = "center", note: d }) {
|
|
1555
|
+
const h = n ?? Math.min(Math.max(i.length, 1), 4);
|
|
1516
1556
|
return /* @__PURE__ */ r(
|
|
1517
1557
|
F,
|
|
1518
1558
|
{
|
|
1519
1559
|
id: a,
|
|
1520
1560
|
subtitle: c,
|
|
1521
1561
|
title: l,
|
|
1522
|
-
background:
|
|
1562
|
+
background: o,
|
|
1523
1563
|
ta: g,
|
|
1524
1564
|
maw: 900,
|
|
1525
1565
|
children: [
|
|
@@ -1528,7 +1568,7 @@ function Er({ id: a, subtitle: c, title: l, items: n = [], cols: i, background:
|
|
|
1528
1568
|
{
|
|
1529
1569
|
cols: { base: 1, sm: h === 3 ? 3 : 2, lg: h },
|
|
1530
1570
|
spacing: 0,
|
|
1531
|
-
children:
|
|
1571
|
+
children: i.map((s, m) => /* @__PURE__ */ r(
|
|
1532
1572
|
I,
|
|
1533
1573
|
{
|
|
1534
1574
|
px: "lg",
|
|
@@ -1549,7 +1589,7 @@ function Er({ id: a, subtitle: c, title: l, items: n = [], cols: i, background:
|
|
|
1549
1589
|
mb: "lg",
|
|
1550
1590
|
c: "gray.9",
|
|
1551
1591
|
style: { letterSpacing: "-0.04em" },
|
|
1552
|
-
children:
|
|
1592
|
+
children: s.value
|
|
1553
1593
|
}
|
|
1554
1594
|
),
|
|
1555
1595
|
/* @__PURE__ */ e(
|
|
@@ -1562,10 +1602,10 @@ function Er({ id: a, subtitle: c, title: l, items: n = [], cols: i, background:
|
|
|
1562
1602
|
mb: "xs",
|
|
1563
1603
|
c: "gray.9",
|
|
1564
1604
|
style: { letterSpacing: "-0.01em" },
|
|
1565
|
-
children:
|
|
1605
|
+
children: s.label
|
|
1566
1606
|
}
|
|
1567
1607
|
),
|
|
1568
|
-
|
|
1608
|
+
s.description && /* @__PURE__ */ e(
|
|
1569
1609
|
t,
|
|
1570
1610
|
{
|
|
1571
1611
|
component: "div",
|
|
@@ -1574,12 +1614,12 @@ function Er({ id: a, subtitle: c, title: l, items: n = [], cols: i, background:
|
|
|
1574
1614
|
lh: 1.5,
|
|
1575
1615
|
maw: 220,
|
|
1576
1616
|
mx: "auto",
|
|
1577
|
-
children:
|
|
1617
|
+
children: s.description
|
|
1578
1618
|
}
|
|
1579
1619
|
)
|
|
1580
1620
|
]
|
|
1581
1621
|
},
|
|
1582
|
-
|
|
1622
|
+
s.label || m
|
|
1583
1623
|
))
|
|
1584
1624
|
}
|
|
1585
1625
|
),
|
|
@@ -1605,13 +1645,13 @@ const W = {
|
|
|
1605
1645
|
degraded: { color: "yellow.7", chart: "yellow.7", title: "Desempenho degradado", badge: "Degradado" },
|
|
1606
1646
|
down: { color: "red.7", chart: "red.7", title: "Interrupção em andamento", badge: "Fora do ar" },
|
|
1607
1647
|
loading: { color: "gray.4", chart: "gray.5", title: "Verificando os sistemas", badge: "Verificando" }
|
|
1608
|
-
},
|
|
1648
|
+
}, dr = (a) => {
|
|
1609
1649
|
if (!a) return null;
|
|
1610
1650
|
const c = new Date(a);
|
|
1611
1651
|
return Number.isNaN(c.getTime()) ? null : c.toLocaleString("pt-BR", { dateStyle: "short", timeStyle: "medium" });
|
|
1612
1652
|
};
|
|
1613
|
-
function
|
|
1614
|
-
const d = g ? W.down : W[c] || W.loading, h =
|
|
1653
|
+
function Vr({ service: a, status: c = "loading", checkedAt: l, checks: i = [], latency: n = [], uptime: o = [], error: g }) {
|
|
1654
|
+
const d = g ? W.down : W[c] || W.loading, h = dr(l);
|
|
1615
1655
|
return /* @__PURE__ */ e(
|
|
1616
1656
|
x,
|
|
1617
1657
|
{
|
|
@@ -1681,13 +1721,13 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1681
1721
|
}
|
|
1682
1722
|
)
|
|
1683
1723
|
] }),
|
|
1684
|
-
(
|
|
1724
|
+
(o.length > 0 || n.length > 0) && /* @__PURE__ */ r(
|
|
1685
1725
|
A,
|
|
1686
1726
|
{
|
|
1687
1727
|
cols: { base: 1, md: 2 },
|
|
1688
1728
|
spacing: 48,
|
|
1689
1729
|
children: [
|
|
1690
|
-
|
|
1730
|
+
o.length > 0 && /* @__PURE__ */ r(f, { gap: "lg", children: [
|
|
1691
1731
|
/* @__PURE__ */ r(f, { gap: 4, children: [
|
|
1692
1732
|
/* @__PURE__ */ e(
|
|
1693
1733
|
t,
|
|
@@ -1709,7 +1749,7 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1709
1749
|
lh: 1,
|
|
1710
1750
|
lts: "-0.04em",
|
|
1711
1751
|
children: [
|
|
1712
|
-
(
|
|
1752
|
+
(o.reduce((s, m) => s + m.pct, 0) / o.length).toFixed(2),
|
|
1713
1753
|
/* @__PURE__ */ e(
|
|
1714
1754
|
t,
|
|
1715
1755
|
{
|
|
@@ -1731,17 +1771,17 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1731
1771
|
h: 140,
|
|
1732
1772
|
align: "flex-end",
|
|
1733
1773
|
wrap: "nowrap",
|
|
1734
|
-
children:
|
|
1735
|
-
|
|
1774
|
+
children: o.map((s, m) => /* @__PURE__ */ e(
|
|
1775
|
+
re,
|
|
1736
1776
|
{
|
|
1737
|
-
label: `${
|
|
1777
|
+
label: `${s.day} · ${s.pct.toFixed(2)}%`,
|
|
1738
1778
|
withArrow: !0,
|
|
1739
1779
|
children: /* @__PURE__ */ e(
|
|
1740
1780
|
x,
|
|
1741
1781
|
{
|
|
1742
1782
|
w: 14,
|
|
1743
|
-
h: Math.max(8,
|
|
1744
|
-
bg:
|
|
1783
|
+
h: Math.max(8, s.pct / 100 * 96),
|
|
1784
|
+
bg: s.pct === 100 ? d.chart : s.pct > 0 ? "yellow.7" : "red.7"
|
|
1745
1785
|
}
|
|
1746
1786
|
)
|
|
1747
1787
|
},
|
|
@@ -1750,7 +1790,7 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1750
1790
|
}
|
|
1751
1791
|
)
|
|
1752
1792
|
] }),
|
|
1753
|
-
|
|
1793
|
+
n.length > 0 && /* @__PURE__ */ r(f, { gap: "lg", children: [
|
|
1754
1794
|
/* @__PURE__ */ r(f, { gap: 4, children: [
|
|
1755
1795
|
/* @__PURE__ */ e(
|
|
1756
1796
|
t,
|
|
@@ -1772,7 +1812,7 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1772
1812
|
lh: 1,
|
|
1773
1813
|
lts: "-0.04em",
|
|
1774
1814
|
children: [
|
|
1775
|
-
Math.round(
|
|
1815
|
+
Math.round(n[n.length - 1]?.ms ?? 0),
|
|
1776
1816
|
/* @__PURE__ */ e(
|
|
1777
1817
|
t,
|
|
1778
1818
|
{
|
|
@@ -1788,10 +1828,10 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1788
1828
|
)
|
|
1789
1829
|
] }),
|
|
1790
1830
|
/* @__PURE__ */ e(
|
|
1791
|
-
|
|
1831
|
+
tr,
|
|
1792
1832
|
{
|
|
1793
1833
|
h: 140,
|
|
1794
|
-
data:
|
|
1834
|
+
data: n,
|
|
1795
1835
|
dataKey: "time",
|
|
1796
1836
|
series: [{ name: "ms", color: d.chart, label: "Resposta" }],
|
|
1797
1837
|
curveType: "linear",
|
|
@@ -1800,14 +1840,14 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1800
1840
|
withXAxis: !1,
|
|
1801
1841
|
yAxisProps: { width: 40 },
|
|
1802
1842
|
fillOpacity: 0.12,
|
|
1803
|
-
valueFormatter: (
|
|
1843
|
+
valueFormatter: (s) => `${Math.round(s)} ms`
|
|
1804
1844
|
}
|
|
1805
1845
|
)
|
|
1806
1846
|
] })
|
|
1807
1847
|
]
|
|
1808
1848
|
}
|
|
1809
1849
|
),
|
|
1810
|
-
|
|
1850
|
+
i.length > 0 && /* @__PURE__ */ r(f, { gap: 0, children: [
|
|
1811
1851
|
/* @__PURE__ */ e(
|
|
1812
1852
|
t,
|
|
1813
1853
|
{
|
|
@@ -1820,8 +1860,8 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1820
1860
|
children: "Componentes"
|
|
1821
1861
|
}
|
|
1822
1862
|
),
|
|
1823
|
-
|
|
1824
|
-
const p = W[
|
|
1863
|
+
i.map((s, m) => {
|
|
1864
|
+
const p = W[s.status] || W.loading;
|
|
1825
1865
|
return /* @__PURE__ */ r(
|
|
1826
1866
|
I,
|
|
1827
1867
|
{
|
|
@@ -1862,15 +1902,15 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1862
1902
|
c: "gray.9",
|
|
1863
1903
|
fw: 700,
|
|
1864
1904
|
size: "sm",
|
|
1865
|
-
children:
|
|
1905
|
+
children: s.name
|
|
1866
1906
|
}
|
|
1867
1907
|
),
|
|
1868
|
-
|
|
1908
|
+
s.description && /* @__PURE__ */ e(
|
|
1869
1909
|
t,
|
|
1870
1910
|
{
|
|
1871
1911
|
size: "xs",
|
|
1872
1912
|
c: "gray.5",
|
|
1873
|
-
children:
|
|
1913
|
+
children: s.description
|
|
1874
1914
|
}
|
|
1875
1915
|
)
|
|
1876
1916
|
] })
|
|
@@ -1884,7 +1924,7 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1884
1924
|
wrap: "nowrap",
|
|
1885
1925
|
align: "center",
|
|
1886
1926
|
children: [
|
|
1887
|
-
typeof
|
|
1927
|
+
typeof s.latencyMs == "number" && /* @__PURE__ */ r(
|
|
1888
1928
|
t,
|
|
1889
1929
|
{
|
|
1890
1930
|
size: "xs",
|
|
@@ -1892,13 +1932,13 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1892
1932
|
c: "gray.4",
|
|
1893
1933
|
style: { whiteSpace: "nowrap" },
|
|
1894
1934
|
children: [
|
|
1895
|
-
|
|
1935
|
+
s.latencyMs,
|
|
1896
1936
|
" ms"
|
|
1897
1937
|
]
|
|
1898
1938
|
}
|
|
1899
1939
|
),
|
|
1900
1940
|
/* @__PURE__ */ e(
|
|
1901
|
-
|
|
1941
|
+
P,
|
|
1902
1942
|
{
|
|
1903
1943
|
variant: "dot",
|
|
1904
1944
|
color: p.color.split(".")[0],
|
|
@@ -1912,13 +1952,13 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1912
1952
|
]
|
|
1913
1953
|
}
|
|
1914
1954
|
),
|
|
1915
|
-
|
|
1955
|
+
s.metrics && Object.keys(s.metrics).length > 0 && /* @__PURE__ */ e(
|
|
1916
1956
|
y,
|
|
1917
1957
|
{
|
|
1918
1958
|
gap: "xl",
|
|
1919
1959
|
mt: "md",
|
|
1920
1960
|
ml: 23,
|
|
1921
|
-
children: Object.entries(
|
|
1961
|
+
children: Object.entries(s.metrics).map(([u, w]) => /* @__PURE__ */ r(
|
|
1922
1962
|
f,
|
|
1923
1963
|
{
|
|
1924
1964
|
gap: 2,
|
|
@@ -1942,7 +1982,7 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1942
1982
|
tt: "uppercase",
|
|
1943
1983
|
lts: "1.5px",
|
|
1944
1984
|
c: "gray.4",
|
|
1945
|
-
children:
|
|
1985
|
+
children: hr[u] || u
|
|
1946
1986
|
}
|
|
1947
1987
|
)
|
|
1948
1988
|
]
|
|
@@ -1953,7 +1993,7 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1953
1993
|
)
|
|
1954
1994
|
]
|
|
1955
1995
|
},
|
|
1956
|
-
|
|
1996
|
+
s.name || m
|
|
1957
1997
|
);
|
|
1958
1998
|
})
|
|
1959
1999
|
] }),
|
|
@@ -1972,26 +2012,26 @@ function Br({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1972
2012
|
}
|
|
1973
2013
|
);
|
|
1974
2014
|
}
|
|
1975
|
-
const
|
|
2015
|
+
const hr = {
|
|
1976
2016
|
activeSessions: "Sessões ativas",
|
|
1977
2017
|
pendingVerifications: "Verificações pendentes",
|
|
1978
2018
|
publicKeys: "Chaves públicas",
|
|
1979
2019
|
domainsFailing: "Domínios com erro"
|
|
1980
|
-
},
|
|
2020
|
+
}, he = {
|
|
1981
2021
|
operational: { color: "green.6", label: "Todos os sistemas operando" },
|
|
1982
2022
|
degraded: { color: "yellow.7", label: "Desempenho degradado" },
|
|
1983
2023
|
down: { color: "red.7", label: "Interrupção em andamento" },
|
|
1984
2024
|
loading: { color: "gray.4", label: "Verificando status" }
|
|
1985
|
-
},
|
|
1986
|
-
function
|
|
1987
|
-
const
|
|
2025
|
+
}, X = 20;
|
|
2026
|
+
function Wr({ status: a = "loading", history: c = [], label: l, link: i, ...n }) {
|
|
2027
|
+
const o = he[a] || he.loading, g = c.slice(-X), d = Array(Math.max(0, X - g.length)).fill(null), h = [...d, ...g];
|
|
1988
2028
|
return /* @__PURE__ */ e(
|
|
1989
|
-
|
|
2029
|
+
me,
|
|
1990
2030
|
{
|
|
1991
2031
|
underline: "never",
|
|
1992
|
-
"aria-label": `${l ||
|
|
1993
|
-
...n,
|
|
2032
|
+
"aria-label": `${l || o.label}. Ver página de status`,
|
|
1994
2033
|
...i,
|
|
2034
|
+
...n,
|
|
1995
2035
|
children: /* @__PURE__ */ r(
|
|
1996
2036
|
y,
|
|
1997
2037
|
{
|
|
@@ -2002,13 +2042,13 @@ function Cr({ status: a = "loading", history: c = [], label: l, link: n, ...i })
|
|
|
2002
2042
|
x,
|
|
2003
2043
|
{
|
|
2004
2044
|
component: "svg",
|
|
2005
|
-
viewBox: `0 0 ${
|
|
2006
|
-
w:
|
|
2045
|
+
viewBox: `0 0 ${X * 4 - 1} 16`,
|
|
2046
|
+
w: X * 4 - 1,
|
|
2007
2047
|
h: 16,
|
|
2008
2048
|
"aria-hidden": "true",
|
|
2009
2049
|
style: { display: "block", overflow: "visible" },
|
|
2010
|
-
children: h.map((
|
|
2011
|
-
const p =
|
|
2050
|
+
children: h.map((s, m) => {
|
|
2051
|
+
const p = s === null ? 2 : Math.max(2, s * 16), u = h.length - d.length - 1 || 1, w = m - d.length;
|
|
2012
2052
|
return /* @__PURE__ */ e(
|
|
2013
2053
|
x,
|
|
2014
2054
|
{
|
|
@@ -2017,8 +2057,8 @@ function Cr({ status: a = "loading", history: c = [], label: l, link: n, ...i })
|
|
|
2017
2057
|
y: 16 - p,
|
|
2018
2058
|
width: 3,
|
|
2019
2059
|
height: p,
|
|
2020
|
-
fill:
|
|
2021
|
-
opacity:
|
|
2060
|
+
fill: s === null ? "var(--mantine-color-gray-2)" : `var(--mantine-color-${o.color.replace(".", "-")})`,
|
|
2061
|
+
opacity: s === null ? 0.6 : 0.55 + w / u * 0.45
|
|
2022
2062
|
},
|
|
2023
2063
|
m
|
|
2024
2064
|
);
|
|
@@ -2034,7 +2074,7 @@ function Cr({ status: a = "loading", history: c = [], label: l, link: n, ...i })
|
|
|
2034
2074
|
lts: "1px",
|
|
2035
2075
|
c: "gray.5",
|
|
2036
2076
|
style: { whiteSpace: "nowrap" },
|
|
2037
|
-
children: l ||
|
|
2077
|
+
children: l || o.label
|
|
2038
2078
|
}
|
|
2039
2079
|
)
|
|
2040
2080
|
]
|
|
@@ -2043,7 +2083,7 @@ function Cr({ status: a = "loading", history: c = [], label: l, link: n, ...i })
|
|
|
2043
2083
|
}
|
|
2044
2084
|
);
|
|
2045
2085
|
}
|
|
2046
|
-
function
|
|
2086
|
+
function Ur({ id: a, subtitle: c, title: l, description: i, items: n = [], ctaIcon: o, note: g, background: d = "white", ta: h = "center" }) {
|
|
2047
2087
|
return /* @__PURE__ */ r(
|
|
2048
2088
|
F,
|
|
2049
2089
|
{
|
|
@@ -2054,7 +2094,7 @@ function jr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2054
2094
|
ta: h,
|
|
2055
2095
|
maw: 900,
|
|
2056
2096
|
children: [
|
|
2057
|
-
|
|
2097
|
+
i && /* @__PURE__ */ e(
|
|
2058
2098
|
t,
|
|
2059
2099
|
{
|
|
2060
2100
|
c: "gray.6",
|
|
@@ -2064,15 +2104,15 @@ function jr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2064
2104
|
mx: h === "center" ? "auto" : void 0,
|
|
2065
2105
|
size: "lg",
|
|
2066
2106
|
lh: 1.6,
|
|
2067
|
-
children:
|
|
2107
|
+
children: i
|
|
2068
2108
|
}
|
|
2069
2109
|
),
|
|
2070
|
-
/* @__PURE__ */ e(z, { gutter: "xl", children:
|
|
2071
|
-
const p =
|
|
2110
|
+
/* @__PURE__ */ e(z, { gutter: "xl", children: n.map((s, m) => {
|
|
2111
|
+
const p = s.icon;
|
|
2072
2112
|
return /* @__PURE__ */ e(
|
|
2073
2113
|
z.Col,
|
|
2074
2114
|
{
|
|
2075
|
-
span: { base: 12, md:
|
|
2115
|
+
span: { base: 12, md: s.span || 6 },
|
|
2076
2116
|
children: /* @__PURE__ */ r(
|
|
2077
2117
|
I,
|
|
2078
2118
|
{
|
|
@@ -2092,7 +2132,7 @@ function jr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2092
2132
|
wrap: "nowrap",
|
|
2093
2133
|
children: [
|
|
2094
2134
|
/* @__PURE__ */ r(x, { children: [
|
|
2095
|
-
|
|
2135
|
+
s.category && /* @__PURE__ */ e(
|
|
2096
2136
|
t,
|
|
2097
2137
|
{
|
|
2098
2138
|
size: "xs",
|
|
@@ -2101,7 +2141,7 @@ function jr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2101
2141
|
lts: "1.5px",
|
|
2102
2142
|
c: "gray.4",
|
|
2103
2143
|
mb: 4,
|
|
2104
|
-
children:
|
|
2144
|
+
children: s.category
|
|
2105
2145
|
}
|
|
2106
2146
|
),
|
|
2107
2147
|
/* @__PURE__ */ e(
|
|
@@ -2111,7 +2151,7 @@ function jr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2111
2151
|
fz: "h2",
|
|
2112
2152
|
fw: 800,
|
|
2113
2153
|
c: "gray.9",
|
|
2114
|
-
children:
|
|
2154
|
+
children: s.name
|
|
2115
2155
|
}
|
|
2116
2156
|
)
|
|
2117
2157
|
] }),
|
|
@@ -2126,7 +2166,7 @@ function jr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2126
2166
|
]
|
|
2127
2167
|
}
|
|
2128
2168
|
),
|
|
2129
|
-
|
|
2169
|
+
s.headline && /* @__PURE__ */ e(
|
|
2130
2170
|
t,
|
|
2131
2171
|
{
|
|
2132
2172
|
fw: 700,
|
|
@@ -2135,10 +2175,10 @@ function jr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2135
2175
|
mb: "sm",
|
|
2136
2176
|
c: "gray.9",
|
|
2137
2177
|
style: { letterSpacing: "-0.01em" },
|
|
2138
|
-
children:
|
|
2178
|
+
children: s.headline
|
|
2139
2179
|
}
|
|
2140
2180
|
),
|
|
2141
|
-
|
|
2181
|
+
s.description && /* @__PURE__ */ e(
|
|
2142
2182
|
t,
|
|
2143
2183
|
{
|
|
2144
2184
|
size: "md",
|
|
@@ -2146,20 +2186,20 @@ function jr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2146
2186
|
lh: 1.6,
|
|
2147
2187
|
mb: "xl",
|
|
2148
2188
|
style: { flexGrow: 1 },
|
|
2149
|
-
children:
|
|
2189
|
+
children: s.description
|
|
2150
2190
|
}
|
|
2151
2191
|
),
|
|
2152
|
-
|
|
2192
|
+
s.href && /* @__PURE__ */ e(
|
|
2153
2193
|
U,
|
|
2154
2194
|
{
|
|
2155
2195
|
component: "a",
|
|
2156
|
-
href:
|
|
2157
|
-
target:
|
|
2158
|
-
rel:
|
|
2196
|
+
href: s.href,
|
|
2197
|
+
target: s.target,
|
|
2198
|
+
rel: s.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
2159
2199
|
variant: "default",
|
|
2160
2200
|
size: "md",
|
|
2161
2201
|
radius: "0",
|
|
2162
|
-
rightSection:
|
|
2202
|
+
rightSection: o,
|
|
2163
2203
|
style: {
|
|
2164
2204
|
width: "100%",
|
|
2165
2205
|
justifyContent: "space-between",
|
|
@@ -2168,14 +2208,14 @@ function jr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2168
2208
|
paddingTop: 16,
|
|
2169
2209
|
marginTop: "auto"
|
|
2170
2210
|
},
|
|
2171
|
-
children:
|
|
2211
|
+
children: s.ctaLabel || `Abrir ${s.name}`
|
|
2172
2212
|
}
|
|
2173
2213
|
)
|
|
2174
2214
|
]
|
|
2175
2215
|
}
|
|
2176
2216
|
)
|
|
2177
2217
|
},
|
|
2178
|
-
|
|
2218
|
+
s.name || m
|
|
2179
2219
|
);
|
|
2180
2220
|
}) }),
|
|
2181
2221
|
g && /* @__PURE__ */ e(
|
|
@@ -2196,13 +2236,13 @@ function jr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2196
2236
|
}
|
|
2197
2237
|
);
|
|
2198
2238
|
}
|
|
2199
|
-
function
|
|
2239
|
+
function _r({
|
|
2200
2240
|
id: a,
|
|
2201
2241
|
subtitle: c,
|
|
2202
2242
|
title: l,
|
|
2203
|
-
description:
|
|
2204
|
-
items:
|
|
2205
|
-
categories:
|
|
2243
|
+
description: i,
|
|
2244
|
+
items: n = [],
|
|
2245
|
+
categories: o = [],
|
|
2206
2246
|
filtersLabel: g = "Filtrar por categoria",
|
|
2207
2247
|
note: d,
|
|
2208
2248
|
background: h = "white",
|
|
@@ -2211,9 +2251,9 @@ function Nr({
|
|
|
2211
2251
|
// produto dentro de outro — o erro que já tirou a marca do topo com o
|
|
2212
2252
|
// `Wordmark` e anunciou "monitores" no log de e-mails do Payments. Sem
|
|
2213
2253
|
// rótulo a chamada não é desenhada; quem chama diz a palavra.
|
|
2214
|
-
ctaLabel:
|
|
2254
|
+
ctaLabel: s
|
|
2215
2255
|
}) {
|
|
2216
|
-
const [m, p] = H("todas"), u =
|
|
2256
|
+
const [m, p] = H("todas"), u = ar("(min-width: 48em)", !1), w = Ee(() => m === "todas" ? n : [...n].sort((S, C) => +(C.category === m) - +(S.category === m)), [n, m]), [T, ...q] = w;
|
|
2217
2257
|
return T ? (
|
|
2218
2258
|
// O CABEÇALHO É CENTRALIZADO, O CONTEÚDO NÃO. `ta="center"` no
|
|
2219
2259
|
// `Section` alinha o kicker, o título e — por herança — tudo que
|
|
@@ -2232,7 +2272,7 @@ function Nr({
|
|
|
2232
2272
|
background: h,
|
|
2233
2273
|
ta: "center",
|
|
2234
2274
|
children: [
|
|
2235
|
-
|
|
2275
|
+
i && /* @__PURE__ */ e(
|
|
2236
2276
|
t,
|
|
2237
2277
|
{
|
|
2238
2278
|
c: "gray.6",
|
|
@@ -2241,10 +2281,10 @@ function Nr({
|
|
|
2241
2281
|
maw: 780,
|
|
2242
2282
|
mx: "auto",
|
|
2243
2283
|
mb: 40,
|
|
2244
|
-
children:
|
|
2284
|
+
children: i
|
|
2245
2285
|
}
|
|
2246
2286
|
),
|
|
2247
|
-
|
|
2287
|
+
o.length > 0 && /* @__PURE__ */ e(
|
|
2248
2288
|
y,
|
|
2249
2289
|
{
|
|
2250
2290
|
gap: "xs",
|
|
@@ -2254,8 +2294,8 @@ function Nr({
|
|
|
2254
2294
|
role: "group",
|
|
2255
2295
|
"aria-label": g,
|
|
2256
2296
|
className: "rlg-shelf-filters",
|
|
2257
|
-
children:
|
|
2258
|
-
|
|
2297
|
+
children: o.map((S) => /* @__PURE__ */ e(
|
|
2298
|
+
ke,
|
|
2259
2299
|
{
|
|
2260
2300
|
onClick: () => p(S.id),
|
|
2261
2301
|
className: "rlg-shelf-pill",
|
|
@@ -2269,17 +2309,17 @@ function Nr({
|
|
|
2269
2309
|
),
|
|
2270
2310
|
/* @__PURE__ */ r(z, { gutter: "lg", children: [
|
|
2271
2311
|
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 5, xl: 4 }, children: /* @__PURE__ */ e(
|
|
2272
|
-
|
|
2312
|
+
pr,
|
|
2273
2313
|
{
|
|
2274
2314
|
item: T,
|
|
2275
|
-
ctaLabel:
|
|
2315
|
+
ctaLabel: s
|
|
2276
2316
|
}
|
|
2277
2317
|
) }),
|
|
2278
|
-
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 7, xl: 8 }, children: /* @__PURE__ */ e(z, { gutter: "lg", children:
|
|
2318
|
+
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 7, xl: 8 }, children: /* @__PURE__ */ e(z, { gutter: "lg", children: q.map((S) => /* @__PURE__ */ e(
|
|
2279
2319
|
z.Col,
|
|
2280
2320
|
{
|
|
2281
2321
|
span: { base: 12, xs: 6, md: 4, lg: 6, xl: 4 },
|
|
2282
|
-
children: /* @__PURE__ */ e(
|
|
2322
|
+
children: /* @__PURE__ */ e(gr, { item: S })
|
|
2283
2323
|
},
|
|
2284
2324
|
S.name
|
|
2285
2325
|
)) }) })
|
|
@@ -2301,18 +2341,18 @@ function Nr({
|
|
|
2301
2341
|
)
|
|
2302
2342
|
) : null;
|
|
2303
2343
|
}
|
|
2304
|
-
const
|
|
2344
|
+
const we = (a) => ({
|
|
2305
2345
|
component: "a",
|
|
2306
2346
|
href: a.href,
|
|
2307
2347
|
target: a.target,
|
|
2308
2348
|
rel: a.target === "_blank" ? "noopener noreferrer" : void 0
|
|
2309
2349
|
});
|
|
2310
|
-
function
|
|
2350
|
+
function pr({ item: a, ctaLabel: c }) {
|
|
2311
2351
|
const l = a.icon;
|
|
2312
2352
|
return /* @__PURE__ */ r(
|
|
2313
2353
|
I,
|
|
2314
2354
|
{
|
|
2315
|
-
...
|
|
2355
|
+
...we(a),
|
|
2316
2356
|
className: "rlg-shelf-feature",
|
|
2317
2357
|
radius: "0",
|
|
2318
2358
|
p: 0,
|
|
@@ -2397,7 +2437,7 @@ function ir({ item: a, ctaLabel: c }) {
|
|
|
2397
2437
|
}
|
|
2398
2438
|
),
|
|
2399
2439
|
/* @__PURE__ */ e(
|
|
2400
|
-
|
|
2440
|
+
Le,
|
|
2401
2441
|
{
|
|
2402
2442
|
size: 16,
|
|
2403
2443
|
stroke: 2.5,
|
|
@@ -2415,12 +2455,12 @@ function ir({ item: a, ctaLabel: c }) {
|
|
|
2415
2455
|
}
|
|
2416
2456
|
);
|
|
2417
2457
|
}
|
|
2418
|
-
function
|
|
2458
|
+
function gr({ item: a }) {
|
|
2419
2459
|
const c = a.icon;
|
|
2420
2460
|
return /* @__PURE__ */ r(
|
|
2421
2461
|
I,
|
|
2422
2462
|
{
|
|
2423
|
-
...
|
|
2463
|
+
...we(a),
|
|
2424
2464
|
className: "rlg-shelf-card",
|
|
2425
2465
|
radius: "0",
|
|
2426
2466
|
p: "lg",
|
|
@@ -2483,7 +2523,7 @@ function nr({ item: a }) {
|
|
|
2483
2523
|
}
|
|
2484
2524
|
);
|
|
2485
2525
|
}
|
|
2486
|
-
function
|
|
2526
|
+
function Hr({ id: a, subtitle: c, title: l, description: i, items: n = [], note: o, background: g = "gray", ta: d = "center" }) {
|
|
2487
2527
|
return /* @__PURE__ */ r(
|
|
2488
2528
|
F,
|
|
2489
2529
|
{
|
|
@@ -2494,7 +2534,7 @@ function Mr({ id: a, subtitle: c, title: l, description: n, items: i = [], note:
|
|
|
2494
2534
|
ta: d,
|
|
2495
2535
|
maw: 900,
|
|
2496
2536
|
children: [
|
|
2497
|
-
|
|
2537
|
+
i && /* @__PURE__ */ e(
|
|
2498
2538
|
t,
|
|
2499
2539
|
{
|
|
2500
2540
|
c: "gray.6",
|
|
@@ -2504,7 +2544,7 @@ function Mr({ id: a, subtitle: c, title: l, description: n, items: i = [], note:
|
|
|
2504
2544
|
mx: d === "center" ? "auto" : void 0,
|
|
2505
2545
|
size: "lg",
|
|
2506
2546
|
lh: 1.7,
|
|
2507
|
-
children:
|
|
2547
|
+
children: i
|
|
2508
2548
|
}
|
|
2509
2549
|
),
|
|
2510
2550
|
/* @__PURE__ */ e(
|
|
@@ -2515,13 +2555,13 @@ function Mr({ id: a, subtitle: c, title: l, description: n, items: i = [], note:
|
|
|
2515
2555
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
2516
2556
|
px: { base: "lg", md: 40 },
|
|
2517
2557
|
py: { base: "xs", md: "md" },
|
|
2518
|
-
children:
|
|
2558
|
+
children: n.map((h, s) => /* @__PURE__ */ r(
|
|
2519
2559
|
z,
|
|
2520
2560
|
{
|
|
2521
2561
|
gutter: { base: 4, sm: "xl" },
|
|
2522
2562
|
py: { base: "lg", md: "xl" },
|
|
2523
2563
|
ta: "left",
|
|
2524
|
-
style:
|
|
2564
|
+
style: s === 0 ? void 0 : { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2525
2565
|
children: [
|
|
2526
2566
|
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 4 }, children: /* @__PURE__ */ e(
|
|
2527
2567
|
t,
|
|
@@ -2555,11 +2595,11 @@ function Mr({ id: a, subtitle: c, title: l, description: n, items: i = [], note:
|
|
|
2555
2595
|
] })
|
|
2556
2596
|
]
|
|
2557
2597
|
},
|
|
2558
|
-
h.criterion ||
|
|
2598
|
+
h.criterion || s
|
|
2559
2599
|
))
|
|
2560
2600
|
}
|
|
2561
2601
|
),
|
|
2562
|
-
|
|
2602
|
+
o && /* @__PURE__ */ e(
|
|
2563
2603
|
t,
|
|
2564
2604
|
{
|
|
2565
2605
|
size: "sm",
|
|
@@ -2569,14 +2609,14 @@ function Mr({ id: a, subtitle: c, title: l, description: n, items: i = [], note:
|
|
|
2569
2609
|
maw: 720,
|
|
2570
2610
|
mx: d === "center" ? "auto" : void 0,
|
|
2571
2611
|
lh: 1.7,
|
|
2572
|
-
children:
|
|
2612
|
+
children: o
|
|
2573
2613
|
}
|
|
2574
2614
|
)
|
|
2575
2615
|
]
|
|
2576
2616
|
}
|
|
2577
2617
|
);
|
|
2578
2618
|
}
|
|
2579
|
-
function
|
|
2619
|
+
function Gr({ id: a, subtitle: c, title: l, description: i, cardLabel: n, items: o = [], footnote: g, background: d = "gray", ta: h = "center" }) {
|
|
2580
2620
|
return /* @__PURE__ */ r(
|
|
2581
2621
|
F,
|
|
2582
2622
|
{
|
|
@@ -2587,7 +2627,7 @@ function Or({ id: a, subtitle: c, title: l, description: n, cardLabel: i, items:
|
|
|
2587
2627
|
ta: h,
|
|
2588
2628
|
maw: 800,
|
|
2589
2629
|
children: [
|
|
2590
|
-
|
|
2630
|
+
i && /* @__PURE__ */ e(
|
|
2591
2631
|
t,
|
|
2592
2632
|
{
|
|
2593
2633
|
c: "gray.6",
|
|
@@ -2597,7 +2637,7 @@ function Or({ id: a, subtitle: c, title: l, description: n, cardLabel: i, items:
|
|
|
2597
2637
|
maw: 720,
|
|
2598
2638
|
mx: h === "center" ? "auto" : void 0,
|
|
2599
2639
|
mb: 48,
|
|
2600
|
-
children:
|
|
2640
|
+
children: i
|
|
2601
2641
|
}
|
|
2602
2642
|
),
|
|
2603
2643
|
/* @__PURE__ */ r(
|
|
@@ -2609,7 +2649,7 @@ function Or({ id: a, subtitle: c, title: l, description: n, cardLabel: i, items:
|
|
|
2609
2649
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
2610
2650
|
ta: "left",
|
|
2611
2651
|
children: [
|
|
2612
|
-
|
|
2652
|
+
n && /* @__PURE__ */ e(
|
|
2613
2653
|
t,
|
|
2614
2654
|
{
|
|
2615
2655
|
size: "xs",
|
|
@@ -2618,7 +2658,7 @@ function Or({ id: a, subtitle: c, title: l, description: n, cardLabel: i, items:
|
|
|
2618
2658
|
lts: "1.5px",
|
|
2619
2659
|
c: "gray.4",
|
|
2620
2660
|
mb: "lg",
|
|
2621
|
-
children:
|
|
2661
|
+
children: n
|
|
2622
2662
|
}
|
|
2623
2663
|
),
|
|
2624
2664
|
/* @__PURE__ */ e(
|
|
@@ -2628,28 +2668,28 @@ function Or({ id: a, subtitle: c, title: l, description: n, cardLabel: i, items:
|
|
|
2628
2668
|
m: 0,
|
|
2629
2669
|
pl: "lg",
|
|
2630
2670
|
style: { display: "flex", flexDirection: "column", gap: 16 },
|
|
2631
|
-
children:
|
|
2671
|
+
children: o.map((s, m) => /* @__PURE__ */ r(
|
|
2632
2672
|
t,
|
|
2633
2673
|
{
|
|
2634
2674
|
component: "li",
|
|
2635
2675
|
c: "gray.6",
|
|
2636
2676
|
lh: 1.7,
|
|
2637
2677
|
children: [
|
|
2638
|
-
|
|
2678
|
+
s.lead && /* @__PURE__ */ e(
|
|
2639
2679
|
t,
|
|
2640
2680
|
{
|
|
2641
2681
|
component: "span",
|
|
2642
2682
|
fw: 700,
|
|
2643
2683
|
c: "gray.9",
|
|
2644
2684
|
inherit: !0,
|
|
2645
|
-
children:
|
|
2685
|
+
children: s.lead
|
|
2646
2686
|
}
|
|
2647
2687
|
),
|
|
2648
2688
|
" ",
|
|
2649
|
-
|
|
2689
|
+
s.text
|
|
2650
2690
|
]
|
|
2651
2691
|
},
|
|
2652
|
-
|
|
2692
|
+
s.lead || m
|
|
2653
2693
|
))
|
|
2654
2694
|
}
|
|
2655
2695
|
),
|
|
@@ -2685,18 +2725,18 @@ function Or({ id: a, subtitle: c, title: l, description: n, cardLabel: i, items:
|
|
|
2685
2725
|
}
|
|
2686
2726
|
);
|
|
2687
2727
|
}
|
|
2688
|
-
function
|
|
2728
|
+
function Kr({ id: a, subtitle: c, title: l, description: i, avatar: n, name: o, role: g, quote: d, credentials: h = [], background: s = "white", ta: m = "center" }) {
|
|
2689
2729
|
return /* @__PURE__ */ r(
|
|
2690
2730
|
F,
|
|
2691
2731
|
{
|
|
2692
2732
|
id: a,
|
|
2693
2733
|
subtitle: c,
|
|
2694
2734
|
title: l,
|
|
2695
|
-
background:
|
|
2735
|
+
background: s,
|
|
2696
2736
|
ta: m,
|
|
2697
2737
|
maw: 900,
|
|
2698
2738
|
children: [
|
|
2699
|
-
|
|
2739
|
+
i && /* @__PURE__ */ e(
|
|
2700
2740
|
t,
|
|
2701
2741
|
{
|
|
2702
2742
|
c: "gray.6",
|
|
@@ -2706,7 +2746,7 @@ function Lr({ id: a, subtitle: c, title: l, description: n, avatar: i, name: s,
|
|
|
2706
2746
|
mx: m === "center" ? "auto" : void 0,
|
|
2707
2747
|
fz: "lg",
|
|
2708
2748
|
lh: 1.6,
|
|
2709
|
-
children:
|
|
2749
|
+
children: i
|
|
2710
2750
|
}
|
|
2711
2751
|
),
|
|
2712
2752
|
/* @__PURE__ */ r(
|
|
@@ -2726,7 +2766,7 @@ function Lr({ id: a, subtitle: c, title: l, description: n, avatar: i, name: s,
|
|
|
2726
2766
|
gutter: { base: "xl", md: 48 },
|
|
2727
2767
|
align: "flex-start",
|
|
2728
2768
|
children: [
|
|
2729
|
-
|
|
2769
|
+
n && // O retrato vira linha própria e centralizada no celular,
|
|
2730
2770
|
// onde o layout de duas colunas não cabe.
|
|
2731
2771
|
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: "content" }, children: /* @__PURE__ */ e(
|
|
2732
2772
|
x,
|
|
@@ -2736,8 +2776,8 @@ function Lr({ id: a, subtitle: c, title: l, description: n, avatar: i, name: s,
|
|
|
2736
2776
|
children: /* @__PURE__ */ e(
|
|
2737
2777
|
_,
|
|
2738
2778
|
{
|
|
2739
|
-
src:
|
|
2740
|
-
alt:
|
|
2779
|
+
src: n.src,
|
|
2780
|
+
alt: n.alt || o || "",
|
|
2741
2781
|
w: "100%",
|
|
2742
2782
|
radius: "0",
|
|
2743
2783
|
style: {
|
|
@@ -2750,7 +2790,7 @@ function Lr({ id: a, subtitle: c, title: l, description: n, avatar: i, name: s,
|
|
|
2750
2790
|
}
|
|
2751
2791
|
) }),
|
|
2752
2792
|
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: "auto" }, children: [
|
|
2753
|
-
(
|
|
2793
|
+
(o || g) && /* @__PURE__ */ r(
|
|
2754
2794
|
y,
|
|
2755
2795
|
{
|
|
2756
2796
|
mb: "lg",
|
|
@@ -2758,18 +2798,18 @@ function Lr({ id: a, subtitle: c, title: l, description: n, avatar: i, name: s,
|
|
|
2758
2798
|
wrap: "wrap",
|
|
2759
2799
|
justify: { base: "center", sm: "flex-start" },
|
|
2760
2800
|
children: [
|
|
2761
|
-
|
|
2801
|
+
o && /* @__PURE__ */ e(
|
|
2762
2802
|
t,
|
|
2763
2803
|
{
|
|
2764
2804
|
fz: { base: "lg", md: "xl" },
|
|
2765
2805
|
fw: 800,
|
|
2766
2806
|
c: "gray.9",
|
|
2767
2807
|
style: { letterSpacing: "-0.02em" },
|
|
2768
|
-
children:
|
|
2808
|
+
children: o
|
|
2769
2809
|
}
|
|
2770
2810
|
),
|
|
2771
2811
|
g && /* @__PURE__ */ e(
|
|
2772
|
-
|
|
2812
|
+
P,
|
|
2773
2813
|
{
|
|
2774
2814
|
variant: "dot",
|
|
2775
2815
|
color: "gray",
|
|
@@ -2849,19 +2889,19 @@ function Lr({ id: a, subtitle: c, title: l, description: n, avatar: i, name: s,
|
|
|
2849
2889
|
}
|
|
2850
2890
|
);
|
|
2851
2891
|
}
|
|
2852
|
-
function
|
|
2892
|
+
function Qr({ id: a, badge: c, subtitle: l, title: i, description: n, items: o = [], background: g = "gray", ta: d = "center" }) {
|
|
2853
2893
|
return /* @__PURE__ */ r(
|
|
2854
2894
|
F,
|
|
2855
2895
|
{
|
|
2856
2896
|
id: a,
|
|
2857
2897
|
badge: c,
|
|
2858
2898
|
subtitle: l,
|
|
2859
|
-
title:
|
|
2899
|
+
title: i,
|
|
2860
2900
|
background: g,
|
|
2861
2901
|
ta: d,
|
|
2862
2902
|
maw: 900,
|
|
2863
2903
|
children: [
|
|
2864
|
-
|
|
2904
|
+
n && /* @__PURE__ */ e(
|
|
2865
2905
|
t,
|
|
2866
2906
|
{
|
|
2867
2907
|
c: "gray.6",
|
|
@@ -2871,16 +2911,16 @@ function Rr({ id: a, badge: c, subtitle: l, title: n, description: i, items: s =
|
|
|
2871
2911
|
mx: d === "center" ? "auto" : void 0,
|
|
2872
2912
|
fz: "lg",
|
|
2873
2913
|
lh: 1.6,
|
|
2874
|
-
children:
|
|
2914
|
+
children: n
|
|
2875
2915
|
}
|
|
2876
2916
|
),
|
|
2877
2917
|
/* @__PURE__ */ e(
|
|
2878
2918
|
A,
|
|
2879
2919
|
{
|
|
2880
|
-
cols: { base: 1, md:
|
|
2920
|
+
cols: { base: 1, md: o.length <= 4 ? o.length : 3 },
|
|
2881
2921
|
spacing: "xl",
|
|
2882
2922
|
verticalSpacing: { base: 56, md: "xl" },
|
|
2883
|
-
children:
|
|
2923
|
+
children: o.map((h, s) => {
|
|
2884
2924
|
const m = h.icon;
|
|
2885
2925
|
return /* @__PURE__ */ r(
|
|
2886
2926
|
x,
|
|
@@ -2903,7 +2943,7 @@ function Rr({ id: a, badge: c, subtitle: l, title: n, description: i, items: s =
|
|
|
2903
2943
|
letterSpacing: "-0.05em",
|
|
2904
2944
|
pointerEvents: "none"
|
|
2905
2945
|
},
|
|
2906
|
-
children: h.number || String(
|
|
2946
|
+
children: h.number || String(s + 1).padStart(2, "0")
|
|
2907
2947
|
}
|
|
2908
2948
|
),
|
|
2909
2949
|
m && /* @__PURE__ */ e(
|
|
@@ -2950,7 +2990,7 @@ function Rr({ id: a, badge: c, subtitle: l, title: n, description: i, items: s =
|
|
|
2950
2990
|
)
|
|
2951
2991
|
]
|
|
2952
2992
|
},
|
|
2953
|
-
h.title ||
|
|
2993
|
+
h.title || s
|
|
2954
2994
|
);
|
|
2955
2995
|
})
|
|
2956
2996
|
}
|
|
@@ -2959,12 +2999,12 @@ function Rr({ id: a, badge: c, subtitle: l, title: n, description: i, items: s =
|
|
|
2959
2999
|
}
|
|
2960
3000
|
);
|
|
2961
3001
|
}
|
|
2962
|
-
const
|
|
2963
|
-
function
|
|
2964
|
-
const [m, p] = H(() => Object.fromEntries(
|
|
2965
|
-
const { value:
|
|
2966
|
-
p((R) => ({ ...R, [b]:
|
|
2967
|
-
}, S =
|
|
3002
|
+
const pe = (a) => a.requiredMessage || `Preencha o campo ${a.label}`;
|
|
3003
|
+
function Xr({ id: a, badge: c, title: l, description: i, fields: n = [], whatsappNumber: o, messageIntro: g = "Olá! Vim pelo site.", submit: d = {}, reassurance: h, onSubmit: s }) {
|
|
3004
|
+
const [m, p] = H(() => Object.fromEntries(n.map((b) => [b.name, ""]))), [u, w] = H(!1), T = (b) => (L) => {
|
|
3005
|
+
const { value: k } = L.currentTarget;
|
|
3006
|
+
p((R) => ({ ...R, [b]: k }));
|
|
3007
|
+
}, S = n.filter((b) => b.required).every((b) => m[b.name]?.trim());
|
|
2968
3008
|
return /* @__PURE__ */ e(
|
|
2969
3009
|
x,
|
|
2970
3010
|
{
|
|
@@ -2979,7 +3019,7 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
2979
3019
|
justify: "center",
|
|
2980
3020
|
mb: "md",
|
|
2981
3021
|
children: /* @__PURE__ */ e(
|
|
2982
|
-
|
|
3022
|
+
P,
|
|
2983
3023
|
{
|
|
2984
3024
|
variant: "light",
|
|
2985
3025
|
color: "gray",
|
|
@@ -3001,7 +3041,7 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
3001
3041
|
children: l
|
|
3002
3042
|
}
|
|
3003
3043
|
),
|
|
3004
|
-
|
|
3044
|
+
i && /* @__PURE__ */ e(
|
|
3005
3045
|
t,
|
|
3006
3046
|
{
|
|
3007
3047
|
ta: "center",
|
|
@@ -3011,7 +3051,7 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
3011
3051
|
mx: "auto",
|
|
3012
3052
|
fz: "lg",
|
|
3013
3053
|
lh: 1.6,
|
|
3014
|
-
children:
|
|
3054
|
+
children: i
|
|
3015
3055
|
}
|
|
3016
3056
|
),
|
|
3017
3057
|
/* @__PURE__ */ e(
|
|
@@ -3022,15 +3062,15 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
3022
3062
|
bg: "white",
|
|
3023
3063
|
children: /* @__PURE__ */ e("form", { onSubmit: (b) => {
|
|
3024
3064
|
if (b.preventDefault(), w(!0), !S) return;
|
|
3025
|
-
const L = [g, "", ...
|
|
3065
|
+
const L = [g, "", ...n.filter((k) => m[k.name]?.trim()).map((k) => `${k.label}: ${m[k.name]}`)].join(`
|
|
3026
3066
|
`);
|
|
3027
|
-
if (
|
|
3028
|
-
const
|
|
3029
|
-
window.open(
|
|
3067
|
+
if (s?.(m), o) {
|
|
3068
|
+
const k = `https://wa.me/${o}?text=${encodeURIComponent(L)}`;
|
|
3069
|
+
window.open(k, "_blank", "noopener,noreferrer");
|
|
3030
3070
|
}
|
|
3031
3071
|
}, children: /* @__PURE__ */ r(f, { gap: "md", children: [
|
|
3032
|
-
/* @__PURE__ */ e(A, { cols: { base: 1, sm: 2 }, children:
|
|
3033
|
-
|
|
3072
|
+
/* @__PURE__ */ e(A, { cols: { base: 1, sm: 2 }, children: n.filter((b) => b.span !== "full").map((b) => /* @__PURE__ */ e(
|
|
3073
|
+
te,
|
|
3034
3074
|
{
|
|
3035
3075
|
label: b.label,
|
|
3036
3076
|
placeholder: b.placeholder,
|
|
@@ -3038,12 +3078,12 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
3038
3078
|
required: b.required,
|
|
3039
3079
|
value: m[b.name] || "",
|
|
3040
3080
|
onChange: T(b.name),
|
|
3041
|
-
error: u && b.required && !m[b.name]?.trim() ?
|
|
3081
|
+
error: u && b.required && !m[b.name]?.trim() ? pe(b) : null
|
|
3042
3082
|
},
|
|
3043
3083
|
b.name
|
|
3044
3084
|
)) }),
|
|
3045
|
-
|
|
3046
|
-
|
|
3085
|
+
n.filter((b) => b.span === "full").map((b) => /* @__PURE__ */ e(
|
|
3086
|
+
te,
|
|
3047
3087
|
{
|
|
3048
3088
|
label: b.label,
|
|
3049
3089
|
placeholder: b.placeholder,
|
|
@@ -3051,7 +3091,7 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
3051
3091
|
required: b.required,
|
|
3052
3092
|
value: m[b.name] || "",
|
|
3053
3093
|
onChange: T(b.name),
|
|
3054
|
-
error: u && b.required && !m[b.name]?.trim() ?
|
|
3094
|
+
error: u && b.required && !m[b.name]?.trim() ? pe(b) : null
|
|
3055
3095
|
},
|
|
3056
3096
|
b.name
|
|
3057
3097
|
)),
|
|
@@ -3086,7 +3126,7 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
3086
3126
|
color: "gray",
|
|
3087
3127
|
size: "sm",
|
|
3088
3128
|
children: /* @__PURE__ */ e(
|
|
3089
|
-
|
|
3129
|
+
fe,
|
|
3090
3130
|
{
|
|
3091
3131
|
size: 16,
|
|
3092
3132
|
stroke: 1.5
|
|
@@ -3112,14 +3152,14 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
3112
3152
|
}
|
|
3113
3153
|
);
|
|
3114
3154
|
}
|
|
3115
|
-
function
|
|
3155
|
+
function Yr({ id: a, subtitle: c, title: l, traditionalCol: i, newCol: n, background: o = "white" }) {
|
|
3116
3156
|
return /* @__PURE__ */ e(
|
|
3117
3157
|
F,
|
|
3118
3158
|
{
|
|
3119
3159
|
id: a,
|
|
3120
3160
|
subtitle: c,
|
|
3121
3161
|
title: l,
|
|
3122
|
-
background:
|
|
3162
|
+
background: o,
|
|
3123
3163
|
children: /* @__PURE__ */ e(
|
|
3124
3164
|
I,
|
|
3125
3165
|
{
|
|
@@ -3135,7 +3175,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3135
3175
|
/* @__PURE__ */ e(
|
|
3136
3176
|
x,
|
|
3137
3177
|
{
|
|
3138
|
-
bg:
|
|
3178
|
+
bg: o === "gray" ? "gray.1" : "white",
|
|
3139
3179
|
p: { base: 30, md: 60 },
|
|
3140
3180
|
children: /* @__PURE__ */ r(f, { gap: "xl", children: [
|
|
3141
3181
|
/* @__PURE__ */ r(x, { children: [
|
|
@@ -3146,7 +3186,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3146
3186
|
fz: "h2",
|
|
3147
3187
|
c: "gray.9",
|
|
3148
3188
|
mb: 4,
|
|
3149
|
-
children:
|
|
3189
|
+
children: i.title
|
|
3150
3190
|
}
|
|
3151
3191
|
),
|
|
3152
3192
|
/* @__PURE__ */ e(
|
|
@@ -3157,7 +3197,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3157
3197
|
tt: "uppercase",
|
|
3158
3198
|
lts: "1.5px",
|
|
3159
3199
|
c: "gray.5",
|
|
3160
|
-
children:
|
|
3200
|
+
children: i.subtitle
|
|
3161
3201
|
}
|
|
3162
3202
|
)
|
|
3163
3203
|
] }),
|
|
@@ -3166,7 +3206,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3166
3206
|
{
|
|
3167
3207
|
gap: "md",
|
|
3168
3208
|
mb: 40,
|
|
3169
|
-
children:
|
|
3209
|
+
children: i.items.map((g, d) => /* @__PURE__ */ r(Be, { children: [
|
|
3170
3210
|
/* @__PURE__ */ r(y, { justify: "space-between", children: [
|
|
3171
3211
|
/* @__PURE__ */ e(
|
|
3172
3212
|
t,
|
|
@@ -3185,14 +3225,14 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3185
3225
|
}
|
|
3186
3226
|
)
|
|
3187
3227
|
] }),
|
|
3188
|
-
d <
|
|
3228
|
+
d < i.items.length - 1 && /* @__PURE__ */ e(j, { color: "var(--mantine-color-gray-2)" })
|
|
3189
3229
|
] }, d))
|
|
3190
3230
|
}
|
|
3191
3231
|
),
|
|
3192
3232
|
/* @__PURE__ */ r(
|
|
3193
3233
|
x,
|
|
3194
3234
|
{
|
|
3195
|
-
bg:
|
|
3235
|
+
bg: o === "gray" ? "gray.1" : "white",
|
|
3196
3236
|
p: "lg",
|
|
3197
3237
|
radius: "0",
|
|
3198
3238
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
@@ -3203,7 +3243,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3203
3243
|
{
|
|
3204
3244
|
fw: 900,
|
|
3205
3245
|
c: "gray.7",
|
|
3206
|
-
children:
|
|
3246
|
+
children: i.totalLabel || "Total Estimado"
|
|
3207
3247
|
}
|
|
3208
3248
|
),
|
|
3209
3249
|
/* @__PURE__ */ e(
|
|
@@ -3212,18 +3252,18 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3212
3252
|
fw: 900,
|
|
3213
3253
|
fz: 32,
|
|
3214
3254
|
c: "gray.9",
|
|
3215
|
-
children:
|
|
3255
|
+
children: i.totalValue
|
|
3216
3256
|
}
|
|
3217
3257
|
)
|
|
3218
3258
|
] }),
|
|
3219
|
-
|
|
3259
|
+
i.footerText && /* @__PURE__ */ e(
|
|
3220
3260
|
t,
|
|
3221
3261
|
{
|
|
3222
3262
|
size: "xs",
|
|
3223
3263
|
c: "red.6",
|
|
3224
3264
|
ta: "right",
|
|
3225
3265
|
mt: 4,
|
|
3226
|
-
children:
|
|
3266
|
+
children: i.footerText
|
|
3227
3267
|
}
|
|
3228
3268
|
)
|
|
3229
3269
|
]
|
|
@@ -3235,7 +3275,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3235
3275
|
/* @__PURE__ */ e(
|
|
3236
3276
|
x,
|
|
3237
3277
|
{
|
|
3238
|
-
bg:
|
|
3278
|
+
bg: o === "gray" ? "gray.1" : "white",
|
|
3239
3279
|
p: { base: 30, md: 60 },
|
|
3240
3280
|
pos: "relative",
|
|
3241
3281
|
children: /* @__PURE__ */ r(
|
|
@@ -3253,16 +3293,16 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3253
3293
|
fz: "h2",
|
|
3254
3294
|
c: "gray.9",
|
|
3255
3295
|
mb: 4,
|
|
3256
|
-
children:
|
|
3296
|
+
children: n.title
|
|
3257
3297
|
}
|
|
3258
3298
|
),
|
|
3259
|
-
|
|
3260
|
-
|
|
3299
|
+
n.badge && /* @__PURE__ */ e(
|
|
3300
|
+
P,
|
|
3261
3301
|
{
|
|
3262
3302
|
color: "gray.9",
|
|
3263
3303
|
variant: "filled",
|
|
3264
3304
|
radius: "0",
|
|
3265
|
-
children:
|
|
3305
|
+
children: n.badge
|
|
3266
3306
|
}
|
|
3267
3307
|
)
|
|
3268
3308
|
] }),
|
|
@@ -3271,7 +3311,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3271
3311
|
{
|
|
3272
3312
|
size: "sm",
|
|
3273
3313
|
c: "gray.6",
|
|
3274
|
-
children:
|
|
3314
|
+
children: n.description
|
|
3275
3315
|
}
|
|
3276
3316
|
)
|
|
3277
3317
|
] }),
|
|
@@ -3297,13 +3337,13 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3297
3337
|
)
|
|
3298
3338
|
}
|
|
3299
3339
|
),
|
|
3300
|
-
children:
|
|
3340
|
+
children: n.items.map((g, d) => /* @__PURE__ */ e($.Item, { children: g }, d))
|
|
3301
3341
|
}
|
|
3302
3342
|
),
|
|
3303
|
-
|
|
3343
|
+
n.pricingBox && /* @__PURE__ */ e(
|
|
3304
3344
|
x,
|
|
3305
3345
|
{
|
|
3306
|
-
bg:
|
|
3346
|
+
bg: o === "gray" ? "gray.1" : "white",
|
|
3307
3347
|
p: "lg",
|
|
3308
3348
|
radius: "0",
|
|
3309
3349
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
@@ -3316,7 +3356,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3316
3356
|
tt: "uppercase",
|
|
3317
3357
|
lts: "1.5px",
|
|
3318
3358
|
c: "gray.5",
|
|
3319
|
-
children:
|
|
3359
|
+
children: n.pricingBox.label
|
|
3320
3360
|
}
|
|
3321
3361
|
),
|
|
3322
3362
|
/* @__PURE__ */ e(
|
|
@@ -3326,29 +3366,29 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3326
3366
|
fz: 48,
|
|
3327
3367
|
c: "gray.9",
|
|
3328
3368
|
lh: 1,
|
|
3329
|
-
children:
|
|
3369
|
+
children: n.pricingBox.price
|
|
3330
3370
|
}
|
|
3331
3371
|
),
|
|
3332
|
-
|
|
3372
|
+
n.pricingBox.subtext && /* @__PURE__ */ e(
|
|
3333
3373
|
t,
|
|
3334
3374
|
{
|
|
3335
3375
|
size: "xs",
|
|
3336
3376
|
c: "gray.5",
|
|
3337
3377
|
mt: "sm",
|
|
3338
|
-
children:
|
|
3378
|
+
children: n.pricingBox.subtext
|
|
3339
3379
|
}
|
|
3340
3380
|
)
|
|
3341
3381
|
] })
|
|
3342
3382
|
}
|
|
3343
3383
|
),
|
|
3344
|
-
|
|
3345
|
-
|
|
3384
|
+
n.cta && /* @__PURE__ */ e(x, { mt: "xl", children: /* @__PURE__ */ e(
|
|
3385
|
+
M,
|
|
3346
3386
|
{
|
|
3347
|
-
label:
|
|
3348
|
-
href:
|
|
3349
|
-
icon:
|
|
3350
|
-
size:
|
|
3351
|
-
color:
|
|
3387
|
+
label: n.cta.label,
|
|
3388
|
+
href: n.cta.href,
|
|
3389
|
+
icon: n.cta.icon,
|
|
3390
|
+
size: n.cta.size || "lg",
|
|
3391
|
+
color: n.cta.color || "gray.9",
|
|
3352
3392
|
fullWidth: !0
|
|
3353
3393
|
}
|
|
3354
3394
|
) })
|
|
@@ -3365,20 +3405,20 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3365
3405
|
}
|
|
3366
3406
|
);
|
|
3367
3407
|
}
|
|
3368
|
-
function
|
|
3408
|
+
function Jr({
|
|
3369
3409
|
id: a,
|
|
3370
3410
|
badge: c,
|
|
3371
3411
|
subtitle: l,
|
|
3372
|
-
title:
|
|
3373
|
-
description:
|
|
3374
|
-
billingOptions:
|
|
3412
|
+
title: i,
|
|
3413
|
+
description: n,
|
|
3414
|
+
billingOptions: o = [
|
|
3375
3415
|
{ label: "Mensal", value: "monthly" },
|
|
3376
3416
|
{ label: "Anual", value: "annual" }
|
|
3377
3417
|
],
|
|
3378
3418
|
billing: g,
|
|
3379
3419
|
setBilling: d,
|
|
3380
3420
|
promoBadge: h,
|
|
3381
|
-
plans:
|
|
3421
|
+
plans: s,
|
|
3382
3422
|
background: m = "white"
|
|
3383
3423
|
}) {
|
|
3384
3424
|
return /* @__PURE__ */ r(
|
|
@@ -3387,12 +3427,12 @@ function Wr({
|
|
|
3387
3427
|
id: a,
|
|
3388
3428
|
badge: c,
|
|
3389
3429
|
subtitle: l,
|
|
3390
|
-
title:
|
|
3430
|
+
title: i,
|
|
3391
3431
|
ta: "center",
|
|
3392
3432
|
background: m,
|
|
3393
3433
|
maw: 900,
|
|
3394
3434
|
children: [
|
|
3395
|
-
|
|
3435
|
+
n && /* @__PURE__ */ e(
|
|
3396
3436
|
t,
|
|
3397
3437
|
{
|
|
3398
3438
|
c: "gray.6",
|
|
@@ -3402,10 +3442,10 @@ function Wr({
|
|
|
3402
3442
|
mx: "auto",
|
|
3403
3443
|
fz: "lg",
|
|
3404
3444
|
lh: 1.6,
|
|
3405
|
-
children:
|
|
3445
|
+
children: n
|
|
3406
3446
|
}
|
|
3407
3447
|
),
|
|
3408
|
-
|
|
3448
|
+
o && o.length > 0 && /* @__PURE__ */ e(
|
|
3409
3449
|
f,
|
|
3410
3450
|
{
|
|
3411
3451
|
align: "center",
|
|
@@ -3413,20 +3453,20 @@ function Wr({
|
|
|
3413
3453
|
mb: 80,
|
|
3414
3454
|
children: /* @__PURE__ */ r(y, { gap: "xs", children: [
|
|
3415
3455
|
/* @__PURE__ */ e(
|
|
3416
|
-
|
|
3456
|
+
qe,
|
|
3417
3457
|
{
|
|
3418
3458
|
value: g,
|
|
3419
3459
|
onChange: d,
|
|
3420
3460
|
radius: "0",
|
|
3421
3461
|
size: "md",
|
|
3422
|
-
data:
|
|
3462
|
+
data: o,
|
|
3423
3463
|
color: "gray.9",
|
|
3424
3464
|
bg: "white",
|
|
3425
3465
|
style: { border: "1px solid var(--mantine-color-gray-2)" }
|
|
3426
3466
|
}
|
|
3427
3467
|
),
|
|
3428
3468
|
g === "annual" && h && /* @__PURE__ */ e(
|
|
3429
|
-
|
|
3469
|
+
P,
|
|
3430
3470
|
{
|
|
3431
3471
|
variant: "filled",
|
|
3432
3472
|
color: "gray.9",
|
|
@@ -3441,10 +3481,10 @@ function Wr({
|
|
|
3441
3481
|
/* @__PURE__ */ e(
|
|
3442
3482
|
A,
|
|
3443
3483
|
{
|
|
3444
|
-
cols: { base: 1, md:
|
|
3484
|
+
cols: { base: 1, md: s.length <= 3 ? s.length : 3 },
|
|
3445
3485
|
spacing: "xl",
|
|
3446
3486
|
verticalSpacing: "xl",
|
|
3447
|
-
children:
|
|
3487
|
+
children: s.map((p) => /* @__PURE__ */ r(
|
|
3448
3488
|
I,
|
|
3449
3489
|
{
|
|
3450
3490
|
p: "xl",
|
|
@@ -3480,7 +3520,7 @@ function Wr({
|
|
|
3480
3520
|
}
|
|
3481
3521
|
),
|
|
3482
3522
|
p.highlight && /* @__PURE__ */ e(
|
|
3483
|
-
|
|
3523
|
+
P,
|
|
3484
3524
|
{
|
|
3485
3525
|
variant: "dot",
|
|
3486
3526
|
color: "gray.9",
|
|
@@ -3676,7 +3716,7 @@ function Wr({
|
|
|
3676
3716
|
}
|
|
3677
3717
|
),
|
|
3678
3718
|
p.cta && /* @__PURE__ */ e(x, { mt: "auto", children: /* @__PURE__ */ e(
|
|
3679
|
-
|
|
3719
|
+
M,
|
|
3680
3720
|
{
|
|
3681
3721
|
label: p.cta.label,
|
|
3682
3722
|
href: p.cta.href,
|
|
@@ -3717,8 +3757,8 @@ function Wr({
|
|
|
3717
3757
|
}
|
|
3718
3758
|
);
|
|
3719
3759
|
}
|
|
3720
|
-
function
|
|
3721
|
-
const
|
|
3760
|
+
function Zr({ id: a, badge: c, subtitle: l, title: i, description: n, questions: o = [], contactCard: g, background: d = "white", ta: h = "left" }) {
|
|
3761
|
+
const s = Math.ceil(o.length / 2), m = {
|
|
3722
3762
|
item: {
|
|
3723
3763
|
backgroundColor: d === "gray" ? "gray.1" : "white",
|
|
3724
3764
|
border: "1px solid var(--mantine-color-gray-2)"
|
|
@@ -3743,12 +3783,12 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3743
3783
|
id: a,
|
|
3744
3784
|
badge: c,
|
|
3745
3785
|
subtitle: l,
|
|
3746
|
-
title:
|
|
3786
|
+
title: i,
|
|
3747
3787
|
background: d,
|
|
3748
3788
|
ta: h,
|
|
3749
3789
|
maw: h === "center" ? 900 : 800,
|
|
3750
3790
|
children: [
|
|
3751
|
-
|
|
3791
|
+
n && /* @__PURE__ */ e(
|
|
3752
3792
|
t,
|
|
3753
3793
|
{
|
|
3754
3794
|
c: "gray.6",
|
|
@@ -3758,7 +3798,7 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3758
3798
|
maw: 700,
|
|
3759
3799
|
mx: h === "center" ? "auto" : void 0,
|
|
3760
3800
|
mb: 40,
|
|
3761
|
-
children:
|
|
3801
|
+
children: n
|
|
3762
3802
|
}
|
|
3763
3803
|
),
|
|
3764
3804
|
/* @__PURE__ */ r(
|
|
@@ -3768,20 +3808,20 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3768
3808
|
spacing: "xl",
|
|
3769
3809
|
children: [
|
|
3770
3810
|
/* @__PURE__ */ e(
|
|
3771
|
-
|
|
3811
|
+
N,
|
|
3772
3812
|
{
|
|
3773
3813
|
variant: "separated",
|
|
3774
3814
|
radius: "0",
|
|
3775
3815
|
chevronPosition: "right",
|
|
3776
3816
|
styles: m,
|
|
3777
|
-
children:
|
|
3778
|
-
|
|
3817
|
+
children: o.slice(0, s).map((p, u) => /* @__PURE__ */ r(
|
|
3818
|
+
N.Item,
|
|
3779
3819
|
{
|
|
3780
3820
|
value: p.value || String(u),
|
|
3781
3821
|
mb: "md",
|
|
3782
3822
|
children: [
|
|
3783
3823
|
/* @__PURE__ */ e(
|
|
3784
|
-
|
|
3824
|
+
N.Control,
|
|
3785
3825
|
{
|
|
3786
3826
|
icon: /* @__PURE__ */ e(
|
|
3787
3827
|
v,
|
|
@@ -3795,7 +3835,7 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3795
3835
|
children: p.question
|
|
3796
3836
|
}
|
|
3797
3837
|
),
|
|
3798
|
-
/* @__PURE__ */ e(
|
|
3838
|
+
/* @__PURE__ */ e(N.Panel, { c: "gray.6", children: p.answer })
|
|
3799
3839
|
]
|
|
3800
3840
|
},
|
|
3801
3841
|
p.value || u
|
|
@@ -3803,20 +3843,20 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3803
3843
|
}
|
|
3804
3844
|
),
|
|
3805
3845
|
/* @__PURE__ */ e(
|
|
3806
|
-
|
|
3846
|
+
N,
|
|
3807
3847
|
{
|
|
3808
3848
|
variant: "separated",
|
|
3809
3849
|
radius: "0",
|
|
3810
3850
|
chevronPosition: "right",
|
|
3811
3851
|
styles: m,
|
|
3812
|
-
children:
|
|
3813
|
-
|
|
3852
|
+
children: o.slice(s).map((p, u) => /* @__PURE__ */ r(
|
|
3853
|
+
N.Item,
|
|
3814
3854
|
{
|
|
3815
|
-
value: p.value || String(
|
|
3855
|
+
value: p.value || String(s + u),
|
|
3816
3856
|
mb: "md",
|
|
3817
3857
|
children: [
|
|
3818
3858
|
/* @__PURE__ */ e(
|
|
3819
|
-
|
|
3859
|
+
N.Control,
|
|
3820
3860
|
{
|
|
3821
3861
|
icon: /* @__PURE__ */ e(
|
|
3822
3862
|
v,
|
|
@@ -3830,10 +3870,10 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3830
3870
|
children: p.question
|
|
3831
3871
|
}
|
|
3832
3872
|
),
|
|
3833
|
-
/* @__PURE__ */ e(
|
|
3873
|
+
/* @__PURE__ */ e(N.Panel, { c: "gray.6", children: p.answer })
|
|
3834
3874
|
]
|
|
3835
3875
|
},
|
|
3836
|
-
p.value ||
|
|
3876
|
+
p.value || s + u
|
|
3837
3877
|
))
|
|
3838
3878
|
}
|
|
3839
3879
|
)
|
|
@@ -3887,7 +3927,7 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3887
3927
|
}
|
|
3888
3928
|
),
|
|
3889
3929
|
/* @__PURE__ */ e(f, { align: { base: "center", md: "flex-end" }, children: /* @__PURE__ */ e(
|
|
3890
|
-
|
|
3930
|
+
M,
|
|
3891
3931
|
{
|
|
3892
3932
|
label: g.cta.label,
|
|
3893
3933
|
href: g.cta.href,
|
|
@@ -3906,20 +3946,20 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3906
3946
|
}
|
|
3907
3947
|
);
|
|
3908
3948
|
}
|
|
3909
|
-
function
|
|
3949
|
+
function ea({ id: a, title: c, subtitle: l, items: i = [], background: n = "gray" }) {
|
|
3910
3950
|
return /* @__PURE__ */ e(
|
|
3911
3951
|
F,
|
|
3912
3952
|
{
|
|
3913
3953
|
id: a,
|
|
3914
|
-
background:
|
|
3954
|
+
background: n,
|
|
3915
3955
|
title: c,
|
|
3916
3956
|
subtitle: l,
|
|
3917
3957
|
children: /* @__PURE__ */ e(
|
|
3918
3958
|
A,
|
|
3919
3959
|
{
|
|
3920
|
-
cols: { base: 1, md:
|
|
3960
|
+
cols: { base: 1, md: i.length > 3 ? 4 : i.length || 3 },
|
|
3921
3961
|
spacing: "xl",
|
|
3922
|
-
children:
|
|
3962
|
+
children: i.map((o, g) => /* @__PURE__ */ e(
|
|
3923
3963
|
I,
|
|
3924
3964
|
{
|
|
3925
3965
|
p: "xl",
|
|
@@ -3934,7 +3974,7 @@ function _r({ id: a, title: c, subtitle: l, items: n = [], background: i = "gray
|
|
|
3934
3974
|
h: "100%",
|
|
3935
3975
|
children: [
|
|
3936
3976
|
/* @__PURE__ */ e(
|
|
3937
|
-
|
|
3977
|
+
Re,
|
|
3938
3978
|
{
|
|
3939
3979
|
size: 32,
|
|
3940
3980
|
color: "var(--mantine-color-gray-3)"
|
|
@@ -3950,7 +3990,7 @@ function _r({ id: a, title: c, subtitle: l, items: n = [], background: i = "gray
|
|
|
3950
3990
|
flex: 1,
|
|
3951
3991
|
children: [
|
|
3952
3992
|
'"',
|
|
3953
|
-
|
|
3993
|
+
o.content,
|
|
3954
3994
|
'"'
|
|
3955
3995
|
]
|
|
3956
3996
|
}
|
|
@@ -3962,13 +4002,13 @@ function _r({ id: a, title: c, subtitle: l, items: n = [], background: i = "gray
|
|
|
3962
4002
|
mt: "xl",
|
|
3963
4003
|
children: [
|
|
3964
4004
|
/* @__PURE__ */ e(
|
|
3965
|
-
|
|
4005
|
+
De,
|
|
3966
4006
|
{
|
|
3967
4007
|
size: "md",
|
|
3968
4008
|
radius: "0",
|
|
3969
4009
|
color: "gray",
|
|
3970
|
-
src:
|
|
3971
|
-
children:
|
|
4010
|
+
src: o.avatarSrc,
|
|
4011
|
+
children: o.initials
|
|
3972
4012
|
}
|
|
3973
4013
|
),
|
|
3974
4014
|
/* @__PURE__ */ r(f, { gap: 0, children: [
|
|
@@ -3978,7 +4018,7 @@ function _r({ id: a, title: c, subtitle: l, items: n = [], background: i = "gray
|
|
|
3978
4018
|
c: "gray.9",
|
|
3979
4019
|
size: "sm",
|
|
3980
4020
|
fw: 900,
|
|
3981
|
-
children:
|
|
4021
|
+
children: o.name
|
|
3982
4022
|
}
|
|
3983
4023
|
),
|
|
3984
4024
|
/* @__PURE__ */ e(
|
|
@@ -3989,7 +4029,7 @@ function _r({ id: a, title: c, subtitle: l, items: n = [], background: i = "gray
|
|
|
3989
4029
|
tt: "uppercase",
|
|
3990
4030
|
lts: "1px",
|
|
3991
4031
|
c: "gray.5",
|
|
3992
|
-
children:
|
|
4032
|
+
children: o.role
|
|
3993
4033
|
}
|
|
3994
4034
|
)
|
|
3995
4035
|
] })
|
|
@@ -4007,17 +4047,17 @@ function _r({ id: a, title: c, subtitle: l, items: n = [], background: i = "gray
|
|
|
4007
4047
|
}
|
|
4008
4048
|
);
|
|
4009
4049
|
}
|
|
4010
|
-
const
|
|
4050
|
+
const ge = {
|
|
4011
4051
|
root: { height: "auto", maxWidth: "100%" },
|
|
4012
4052
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
4013
4053
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
4014
4054
|
};
|
|
4015
|
-
function
|
|
4055
|
+
function ze({ id: a, subtitle: c, title: l, titleOrder: i = 2, description: n, featuresList: o, featuresLabel: g, cta: d, secondaryCta: h, background: s = "gray", ta: m = "center" }) {
|
|
4016
4056
|
return /* @__PURE__ */ e(
|
|
4017
4057
|
F,
|
|
4018
4058
|
{
|
|
4019
4059
|
id: a,
|
|
4020
|
-
background:
|
|
4060
|
+
background: s,
|
|
4021
4061
|
ta: "center",
|
|
4022
4062
|
children: /* @__PURE__ */ e(
|
|
4023
4063
|
I,
|
|
@@ -4051,23 +4091,23 @@ function be({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: i, f
|
|
|
4051
4091
|
/* @__PURE__ */ e(
|
|
4052
4092
|
D,
|
|
4053
4093
|
{
|
|
4054
|
-
order:
|
|
4094
|
+
order: i,
|
|
4055
4095
|
fz: "var(--fz-section-title)",
|
|
4056
4096
|
lh: 1.2,
|
|
4057
4097
|
maw: 700,
|
|
4058
4098
|
children: l
|
|
4059
4099
|
}
|
|
4060
4100
|
),
|
|
4061
|
-
|
|
4101
|
+
n && /* @__PURE__ */ e(
|
|
4062
4102
|
t,
|
|
4063
4103
|
{
|
|
4064
4104
|
c: "gray.7",
|
|
4065
4105
|
size: "xl",
|
|
4066
4106
|
maw: m === "center" ? 550 : 640,
|
|
4067
|
-
children:
|
|
4107
|
+
children: n
|
|
4068
4108
|
}
|
|
4069
4109
|
),
|
|
4070
|
-
|
|
4110
|
+
o && o.length > 0 && /* @__PURE__ */ r(x, { ta: "left", children: [
|
|
4071
4111
|
g && /* @__PURE__ */ e(
|
|
4072
4112
|
t,
|
|
4073
4113
|
{
|
|
@@ -4097,7 +4137,7 @@ function be({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: i, f
|
|
|
4097
4137
|
)
|
|
4098
4138
|
}
|
|
4099
4139
|
),
|
|
4100
|
-
children:
|
|
4140
|
+
children: o.map((u, w) => /* @__PURE__ */ e($.Item, { children: /* @__PURE__ */ e(
|
|
4101
4141
|
t,
|
|
4102
4142
|
{
|
|
4103
4143
|
c: "gray.6",
|
|
@@ -4126,7 +4166,7 @@ function be({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: i, f
|
|
|
4126
4166
|
className: "rlg-cta-group",
|
|
4127
4167
|
children: [
|
|
4128
4168
|
d && /* @__PURE__ */ e(
|
|
4129
|
-
|
|
4169
|
+
M,
|
|
4130
4170
|
{
|
|
4131
4171
|
label: d.label,
|
|
4132
4172
|
href: d.href,
|
|
@@ -4138,11 +4178,11 @@ function be({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: i, f
|
|
|
4138
4178
|
px: d.px,
|
|
4139
4179
|
variant: d.variant,
|
|
4140
4180
|
color: d.color,
|
|
4141
|
-
styles:
|
|
4181
|
+
styles: ge
|
|
4142
4182
|
}
|
|
4143
4183
|
),
|
|
4144
4184
|
h && /* @__PURE__ */ e(
|
|
4145
|
-
|
|
4185
|
+
M,
|
|
4146
4186
|
{
|
|
4147
4187
|
label: h.label,
|
|
4148
4188
|
href: h.href,
|
|
@@ -4154,7 +4194,7 @@ function be({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: i, f
|
|
|
4154
4194
|
px: h.px,
|
|
4155
4195
|
variant: h.variant || "default",
|
|
4156
4196
|
color: h.color,
|
|
4157
|
-
styles:
|
|
4197
|
+
styles: ge
|
|
4158
4198
|
}
|
|
4159
4199
|
)
|
|
4160
4200
|
]
|
|
@@ -4170,27 +4210,27 @@ function be({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: i, f
|
|
|
4170
4210
|
}
|
|
4171
4211
|
);
|
|
4172
4212
|
}
|
|
4173
|
-
const
|
|
4174
|
-
function
|
|
4175
|
-
|
|
4213
|
+
const ra = ze;
|
|
4214
|
+
function mr() {
|
|
4215
|
+
ue(() => {
|
|
4176
4216
|
const a = document.createElement("meta");
|
|
4177
4217
|
return a.name = "robots", a.content = "noindex, follow", document.head.appendChild(a), () => a.remove();
|
|
4178
4218
|
}, []);
|
|
4179
4219
|
}
|
|
4180
|
-
function
|
|
4181
|
-
return
|
|
4182
|
-
|
|
4220
|
+
function aa({ subtitle: a = "Erro 404", title: c = "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" }) {
|
|
4221
|
+
return mr(), /* @__PURE__ */ e(
|
|
4222
|
+
ze,
|
|
4183
4223
|
{
|
|
4184
4224
|
subtitle: a,
|
|
4185
4225
|
title: c,
|
|
4186
4226
|
titleOrder: 1,
|
|
4187
4227
|
description: l,
|
|
4188
|
-
background:
|
|
4189
|
-
cta:
|
|
4228
|
+
background: o,
|
|
4229
|
+
cta: n ?? {
|
|
4190
4230
|
label: "Voltar para a home",
|
|
4191
|
-
href:
|
|
4231
|
+
href: i,
|
|
4192
4232
|
leftSection: /* @__PURE__ */ e(
|
|
4193
|
-
|
|
4233
|
+
$e,
|
|
4194
4234
|
{
|
|
4195
4235
|
size: 18,
|
|
4196
4236
|
stroke: 1.5
|
|
@@ -4200,13 +4240,13 @@ function Gr({ subtitle: a = "Erro 404", title: c = "Esta página não existe", d
|
|
|
4200
4240
|
}
|
|
4201
4241
|
);
|
|
4202
4242
|
}
|
|
4203
|
-
function
|
|
4204
|
-
const
|
|
4243
|
+
function ur({ text: a = "Selo Exclusivo", color: c = "green.6", background: l = "gray" }) {
|
|
4244
|
+
const i = O(l);
|
|
4205
4245
|
return /* @__PURE__ */ e(
|
|
4206
4246
|
x,
|
|
4207
4247
|
{
|
|
4208
4248
|
p: "xs",
|
|
4209
|
-
bg:
|
|
4249
|
+
bg: i,
|
|
4210
4250
|
style: {
|
|
4211
4251
|
border: "1px solid var(--mantine-color-gray-2)",
|
|
4212
4252
|
display: "inline-block"
|
|
@@ -4219,7 +4259,7 @@ function or({ text: a = "Selo Exclusivo", color: c = "green.6", background: l =
|
|
|
4219
4259
|
variant: "light",
|
|
4220
4260
|
size: "sm",
|
|
4221
4261
|
children: /* @__PURE__ */ e(
|
|
4222
|
-
|
|
4262
|
+
Ve,
|
|
4223
4263
|
{
|
|
4224
4264
|
size: 14,
|
|
4225
4265
|
"aria-hidden": "true"
|
|
@@ -4242,8 +4282,8 @@ function or({ text: a = "Selo Exclusivo", color: c = "green.6", background: l =
|
|
|
4242
4282
|
}
|
|
4243
4283
|
);
|
|
4244
4284
|
}
|
|
4245
|
-
const
|
|
4246
|
-
function
|
|
4285
|
+
const ta = ur;
|
|
4286
|
+
function na({ logo: a, description: c, sections: l = [], socialLinks: i = [], copyrightText: n, madeByText: o, background: g = "white", status: d }) {
|
|
4247
4287
|
const h = O(g);
|
|
4248
4288
|
return /* @__PURE__ */ e(
|
|
4249
4289
|
x,
|
|
@@ -4260,7 +4300,7 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4260
4300
|
spacing: "xl",
|
|
4261
4301
|
children: [
|
|
4262
4302
|
/* @__PURE__ */ r(f, { gap: "lg", children: [
|
|
4263
|
-
a && /* @__PURE__ */ e(
|
|
4303
|
+
a && /* @__PURE__ */ e(ee, { logo: a }),
|
|
4264
4304
|
c && /* @__PURE__ */ e(
|
|
4265
4305
|
t,
|
|
4266
4306
|
{
|
|
@@ -4278,11 +4318,11 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4278
4318
|
{
|
|
4279
4319
|
cols: {
|
|
4280
4320
|
base: 2,
|
|
4281
|
-
sm: l.length + (
|
|
4321
|
+
sm: l.length + (i?.length > 0 ? 1 : 0) || 4
|
|
4282
4322
|
},
|
|
4283
4323
|
spacing: "xl",
|
|
4284
4324
|
children: [
|
|
4285
|
-
l.map((
|
|
4325
|
+
l.map((s, m) => /* @__PURE__ */ r(
|
|
4286
4326
|
f,
|
|
4287
4327
|
{
|
|
4288
4328
|
gap: "md",
|
|
@@ -4295,11 +4335,11 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4295
4335
|
size: "xs",
|
|
4296
4336
|
tt: "uppercase",
|
|
4297
4337
|
lts: "1.5px",
|
|
4298
|
-
children:
|
|
4338
|
+
children: s.title
|
|
4299
4339
|
}
|
|
4300
4340
|
),
|
|
4301
|
-
/* @__PURE__ */ e(f, { gap: "xs", children:
|
|
4302
|
-
|
|
4341
|
+
/* @__PURE__ */ e(f, { gap: "xs", children: s.links.map((p, u) => /* @__PURE__ */ e(
|
|
4342
|
+
me,
|
|
4303
4343
|
{
|
|
4304
4344
|
c: "gray.6",
|
|
4305
4345
|
size: "sm",
|
|
@@ -4314,7 +4354,7 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4314
4354
|
},
|
|
4315
4355
|
m
|
|
4316
4356
|
)),
|
|
4317
|
-
|
|
4357
|
+
i && i.length > 0 && /* @__PURE__ */ r(f, { gap: "md", children: [
|
|
4318
4358
|
/* @__PURE__ */ e(
|
|
4319
4359
|
t,
|
|
4320
4360
|
{
|
|
@@ -4326,18 +4366,18 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4326
4366
|
children: "Social"
|
|
4327
4367
|
}
|
|
4328
4368
|
),
|
|
4329
|
-
/* @__PURE__ */ e(y, { gap: "xs", children:
|
|
4330
|
-
|
|
4369
|
+
/* @__PURE__ */ e(y, { gap: "xs", children: i.map((s, m) => /* @__PURE__ */ e(
|
|
4370
|
+
Y,
|
|
4331
4371
|
{
|
|
4332
4372
|
size: "md",
|
|
4333
4373
|
variant: "subtle",
|
|
4334
4374
|
color: "gray",
|
|
4335
4375
|
component: "a",
|
|
4336
|
-
href:
|
|
4376
|
+
href: s.href,
|
|
4337
4377
|
target: "_blank",
|
|
4338
4378
|
radius: "0",
|
|
4339
|
-
"aria-label":
|
|
4340
|
-
children:
|
|
4379
|
+
"aria-label": s.label || `Social link ${m + 1}`,
|
|
4380
|
+
children: s.icon
|
|
4341
4381
|
},
|
|
4342
4382
|
m
|
|
4343
4383
|
)) })
|
|
@@ -4373,10 +4413,10 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4373
4413
|
tt: "uppercase",
|
|
4374
4414
|
lts: "1px",
|
|
4375
4415
|
c: "gray.5",
|
|
4376
|
-
children:
|
|
4416
|
+
children: n
|
|
4377
4417
|
}
|
|
4378
4418
|
),
|
|
4379
|
-
|
|
4419
|
+
o && /* @__PURE__ */ e(
|
|
4380
4420
|
t,
|
|
4381
4421
|
{
|
|
4382
4422
|
size: "xs",
|
|
@@ -4384,7 +4424,7 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4384
4424
|
tt: "uppercase",
|
|
4385
4425
|
lts: "1px",
|
|
4386
4426
|
c: "gray.5",
|
|
4387
|
-
children:
|
|
4427
|
+
children: o
|
|
4388
4428
|
}
|
|
4389
4429
|
)
|
|
4390
4430
|
]
|
|
@@ -4394,8 +4434,8 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4394
4434
|
}
|
|
4395
4435
|
);
|
|
4396
4436
|
}
|
|
4397
|
-
function
|
|
4398
|
-
const
|
|
4437
|
+
function ia({ companyName: a = "Infrastructure", legalEntity: c, productName: l = "nossos produtos" }) {
|
|
4438
|
+
const i = c || a, n = i.split(" (")[0];
|
|
4399
4439
|
return /* @__PURE__ */ e(
|
|
4400
4440
|
x,
|
|
4401
4441
|
{
|
|
@@ -4476,7 +4516,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4476
4516
|
radius: "0",
|
|
4477
4517
|
color: "gray",
|
|
4478
4518
|
children: /* @__PURE__ */ e(
|
|
4479
|
-
|
|
4519
|
+
fe,
|
|
4480
4520
|
{
|
|
4481
4521
|
size: 32,
|
|
4482
4522
|
stroke: 1.2
|
|
@@ -4528,7 +4568,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4528
4568
|
radius: "0",
|
|
4529
4569
|
color: "gray",
|
|
4530
4570
|
children: /* @__PURE__ */ e(
|
|
4531
|
-
|
|
4571
|
+
ye,
|
|
4532
4572
|
{
|
|
4533
4573
|
size: 32,
|
|
4534
4574
|
stroke: 1.2
|
|
@@ -4576,7 +4616,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4576
4616
|
radius: "0",
|
|
4577
4617
|
color: "gray",
|
|
4578
4618
|
children: /* @__PURE__ */ e(
|
|
4579
|
-
|
|
4619
|
+
We,
|
|
4580
4620
|
{
|
|
4581
4621
|
size: 32,
|
|
4582
4622
|
stroke: 1.2
|
|
@@ -4603,7 +4643,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4603
4643
|
c: "gray.6",
|
|
4604
4644
|
lh: 1.7,
|
|
4605
4645
|
children: [
|
|
4606
|
-
|
|
4646
|
+
i,
|
|
4607
4647
|
" não vende, aluga nem compartilha listas de contatos, dados de uso ou registros de atividade com corretores de dados ou redes de publicidade. A receita vem das assinaturas dos produtos. Os provedores que operam a infraestrutura (como Cloudflare, Fly.io, AWS e Stripe) tratam dados só para prestar esse serviço."
|
|
4608
4648
|
]
|
|
4609
4649
|
}
|
|
@@ -4627,7 +4667,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4627
4667
|
radius: "0",
|
|
4628
4668
|
color: "gray",
|
|
4629
4669
|
children: /* @__PURE__ */ e(
|
|
4630
|
-
|
|
4670
|
+
Ue,
|
|
4631
4671
|
{
|
|
4632
4672
|
size: 32,
|
|
4633
4673
|
stroke: 1.2
|
|
@@ -4689,7 +4729,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4689
4729
|
"O ",
|
|
4690
4730
|
l,
|
|
4691
4731
|
" opera sob a lei brasileira e trata os dados conforme a Lei Geral de Proteção de Dados (Lei nº 13.709/2018). Não há certificação nem auditoria de terceiro. Um incidente que atinja dados pessoais é comunicado aos titulares e à ANPD nos prazos da regulamentação. Para falar com o Encarregado de Dados de ",
|
|
4692
|
-
|
|
4732
|
+
n,
|
|
4693
4733
|
", use o canal de suporte do produto."
|
|
4694
4734
|
]
|
|
4695
4735
|
}
|
|
@@ -4699,8 +4739,8 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4699
4739
|
}
|
|
4700
4740
|
);
|
|
4701
4741
|
}
|
|
4702
|
-
function
|
|
4703
|
-
const
|
|
4742
|
+
function la({ companyName: a = "Infrastructure", legalEntity: c, productName: l = "nossos produtos", lastUpdated: i = "20 de setembro de 2026" }) {
|
|
4743
|
+
const n = c || a, o = n.split(" (")[0];
|
|
4704
4744
|
return /* @__PURE__ */ e(
|
|
4705
4745
|
x,
|
|
4706
4746
|
{
|
|
@@ -4748,7 +4788,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4748
4788
|
"Bem-vindo ao ",
|
|
4749
4789
|
/* @__PURE__ */ e("strong", { children: l }),
|
|
4750
4790
|
". Este documento constitui um contrato vinculativo entre você e ",
|
|
4751
|
-
|
|
4791
|
+
n,
|
|
4752
4792
|
". Ao acessar a plataforma, criar uma conta ou utilizar qualquer funcionalidade do software, você confirma que leu, entendeu e aceita integralmente estes termos."
|
|
4753
4793
|
]
|
|
4754
4794
|
}
|
|
@@ -4779,7 +4819,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4779
4819
|
radius: "0",
|
|
4780
4820
|
color: "gray",
|
|
4781
4821
|
children: /* @__PURE__ */ e(
|
|
4782
|
-
|
|
4822
|
+
_e,
|
|
4783
4823
|
{
|
|
4784
4824
|
size: 32,
|
|
4785
4825
|
stroke: 1.2
|
|
@@ -4806,7 +4846,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4806
4846
|
c: "gray.6",
|
|
4807
4847
|
lh: 1.7,
|
|
4808
4848
|
children: [
|
|
4809
|
-
|
|
4849
|
+
o,
|
|
4810
4850
|
" concede a você uma licença limitada, revogável, não exclusiva e intransferível para utilizar o ",
|
|
4811
4851
|
l,
|
|
4812
4852
|
" como um serviço (SaaS). Esta licença é estritamente para os fins descritos em sua modalidade de assinatura. É expressamente proibido: (a) realizar engenharia reversa; (b) sublicenciar o acesso sem autorização prévia por escrito; (c) utilizar o software para desenvolver produtos concorrentes ou (d) contornar quaisquer limitações técnicas impostas ao sistema."
|
|
@@ -4832,7 +4872,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4832
4872
|
radius: "0",
|
|
4833
4873
|
color: "gray",
|
|
4834
4874
|
children: /* @__PURE__ */ e(
|
|
4835
|
-
|
|
4875
|
+
He,
|
|
4836
4876
|
{
|
|
4837
4877
|
size: 32,
|
|
4838
4878
|
stroke: 1.2
|
|
@@ -4860,7 +4900,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4860
4900
|
lh: 1.7,
|
|
4861
4901
|
children: [
|
|
4862
4902
|
"A segurança da sua conta é uma responsabilidade compartilhada. Você deve fornecer informações precisas e manter a confidencialidade de suas senhas. Qualquer uso indevido da conta por terceiros, resultante de negligência do usuário, será de sua inteira responsabilidade.",
|
|
4863
|
-
|
|
4903
|
+
o,
|
|
4864
4904
|
" reserva-se o direito de suspender contas que apresentem comportamento suspeito ou que violem as normas de segurança da infraestrutura."
|
|
4865
4905
|
]
|
|
4866
4906
|
}
|
|
@@ -4884,7 +4924,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4884
4924
|
radius: "0",
|
|
4885
4925
|
color: "gray",
|
|
4886
4926
|
children: /* @__PURE__ */ e(
|
|
4887
|
-
|
|
4927
|
+
Ge,
|
|
4888
4928
|
{
|
|
4889
4929
|
size: 32,
|
|
4890
4930
|
stroke: 1.2
|
|
@@ -4914,7 +4954,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4914
4954
|
"Todo o código-fonte, design, interfaces, logotipos e textos do ",
|
|
4915
4955
|
l,
|
|
4916
4956
|
" são propriedade exclusiva de ",
|
|
4917
|
-
|
|
4957
|
+
o,
|
|
4918
4958
|
". No entanto, você retém todos os direitos sobre o conteúdo e dados que inseridos no sistema. Ao utilizar o produto, você nos concede apenas uma licença técnica, mundial e livre de royalties, para hospedar, copiar e exibir tais dados conforme necessário para prestar o serviço contratado."
|
|
4919
4959
|
]
|
|
4920
4960
|
}
|
|
@@ -4938,7 +4978,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4938
4978
|
radius: "0",
|
|
4939
4979
|
color: "gray",
|
|
4940
4980
|
children: /* @__PURE__ */ e(
|
|
4941
|
-
|
|
4981
|
+
Ke,
|
|
4942
4982
|
{
|
|
4943
4983
|
size: 32,
|
|
4944
4984
|
stroke: 1.2
|
|
@@ -4990,7 +5030,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4990
5030
|
radius: "0",
|
|
4991
5031
|
color: "gray",
|
|
4992
5032
|
children: /* @__PURE__ */ e(
|
|
4993
|
-
|
|
5033
|
+
Qe,
|
|
4994
5034
|
{
|
|
4995
5035
|
size: 32,
|
|
4996
5036
|
stroke: 1.2
|
|
@@ -5022,7 +5062,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5022
5062
|
" é fornecido ",
|
|
5023
5063
|
/* @__PURE__ */ e("em", { children: '"as is"' }),
|
|
5024
5064
|
" (como está). Embora busquemos a excelência técnica, ",
|
|
5025
|
-
|
|
5065
|
+
o,
|
|
5026
5066
|
" não garante que o software seja livre de erros ou interrupções. Em nenhuma hipótese a companhia será responsável por danos indiretos, lucros cessantes ou qualquer perda de dados que ultrapasse o valor total pago pelo usuário nos últimos 12 meses."
|
|
5027
5067
|
]
|
|
5028
5068
|
}
|
|
@@ -5054,9 +5094,9 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5054
5094
|
lh: 1.8,
|
|
5055
5095
|
children: [
|
|
5056
5096
|
"Reservamo-nos o direito de alterar estes Termos a qualquer momento. Alterações substanciais serão comunicadas com pelo menos 30 dias de antecedência. Este contrato é regido pelas leis da República Federativa do Brasil, sendo eleito o foro da comarca da sede de ",
|
|
5057
|
-
|
|
5097
|
+
o,
|
|
5058
5098
|
" para dirimir quaisquer controvérsias. Última atualização: ",
|
|
5059
|
-
|
|
5099
|
+
i,
|
|
5060
5100
|
"."
|
|
5061
5101
|
]
|
|
5062
5102
|
}
|
|
@@ -5066,9 +5106,9 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5066
5106
|
}
|
|
5067
5107
|
);
|
|
5068
5108
|
}
|
|
5069
|
-
function
|
|
5070
|
-
const
|
|
5071
|
-
return
|
|
5109
|
+
function oa({ companyName: a = "Infrastructure", legalEntity: c, productName: l = "nossos produtos" }) {
|
|
5110
|
+
const i = c || a;
|
|
5111
|
+
return i.split(" (")[0], /* @__PURE__ */ e(
|
|
5072
5112
|
x,
|
|
5073
5113
|
{
|
|
5074
5114
|
py: 100,
|
|
@@ -5146,7 +5186,7 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5146
5186
|
radius: "0",
|
|
5147
5187
|
color: "gray",
|
|
5148
5188
|
children: /* @__PURE__ */ e(
|
|
5149
|
-
|
|
5189
|
+
Xe,
|
|
5150
5190
|
{
|
|
5151
5191
|
size: 32,
|
|
5152
5192
|
stroke: 1.2
|
|
@@ -5198,7 +5238,7 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5198
5238
|
radius: "0",
|
|
5199
5239
|
color: "gray",
|
|
5200
5240
|
children: /* @__PURE__ */ e(
|
|
5201
|
-
|
|
5241
|
+
ye,
|
|
5202
5242
|
{
|
|
5203
5243
|
size: 32,
|
|
5204
5244
|
stroke: 1.2
|
|
@@ -5250,7 +5290,7 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5250
5290
|
radius: "0",
|
|
5251
5291
|
color: "gray",
|
|
5252
5292
|
children: /* @__PURE__ */ e(
|
|
5253
|
-
|
|
5293
|
+
Ye,
|
|
5254
5294
|
{
|
|
5255
5295
|
size: 32,
|
|
5256
5296
|
stroke: 1.2
|
|
@@ -5298,7 +5338,7 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5298
5338
|
radius: "0",
|
|
5299
5339
|
color: "gray",
|
|
5300
5340
|
children: /* @__PURE__ */ e(
|
|
5301
|
-
|
|
5341
|
+
Je,
|
|
5302
5342
|
{
|
|
5303
5343
|
size: 32,
|
|
5304
5344
|
stroke: 1.2
|
|
@@ -5335,7 +5375,7 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5335
5375
|
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
5336
5376
|
/* @__PURE__ */ r(f, { gap: "lg", children: [
|
|
5337
5377
|
/* @__PURE__ */ r(y, { gap: "sm", children: [
|
|
5338
|
-
/* @__PURE__ */ e(v, { variant: "transparent", color: "gray.9", children: /* @__PURE__ */ e(
|
|
5378
|
+
/* @__PURE__ */ e(v, { variant: "transparent", color: "gray.9", children: /* @__PURE__ */ e(Ze, { size: 18 }) }),
|
|
5339
5379
|
/* @__PURE__ */ e(
|
|
5340
5380
|
t,
|
|
5341
5381
|
{
|
|
@@ -5357,7 +5397,7 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5357
5397
|
lh: 1.8,
|
|
5358
5398
|
children: [
|
|
5359
5399
|
"Se um incidente atingir dados pessoais, ",
|
|
5360
|
-
|
|
5400
|
+
i,
|
|
5361
5401
|
" comunica os titulares afetados e a Autoridade Nacional de Proteção de Dados (ANPD) nos prazos que a regulamentação exige. Encontrou uma vulnerabilidade? Fale com a gente pelo canal de suporte do produto: quem responde é quem escreveu o código."
|
|
5362
5402
|
]
|
|
5363
5403
|
}
|
|
@@ -5367,23 +5407,23 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5367
5407
|
}
|
|
5368
5408
|
);
|
|
5369
5409
|
}
|
|
5370
|
-
const
|
|
5371
|
-
function
|
|
5372
|
-
const [
|
|
5373
|
-
return
|
|
5410
|
+
const fr = 6, yr = 2e3;
|
|
5411
|
+
function sa(a, { intervalMs: c = 3e4, maxSamples: l = 40 } = {}) {
|
|
5412
|
+
const [i, n] = H({ status: "loading", checks: [], checkedAt: null, error: null, loading: !0 }), [o, g] = H([]), d = Pe([]);
|
|
5413
|
+
return ue(() => {
|
|
5374
5414
|
if (!a) return;
|
|
5375
5415
|
d.current = [], g([]);
|
|
5376
5416
|
let h = !1;
|
|
5377
|
-
const
|
|
5417
|
+
const s = (S) => {
|
|
5378
5418
|
d.current = [...d.current, S].slice(-l), g(d.current);
|
|
5379
5419
|
}, m = () => (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit", second: "2-digit" }), p = async () => {
|
|
5380
5420
|
const S = Date.now();
|
|
5381
5421
|
try {
|
|
5382
|
-
const
|
|
5383
|
-
if (!
|
|
5384
|
-
const b = await
|
|
5422
|
+
const C = await fetch(a, { headers: { accept: "application/json" } });
|
|
5423
|
+
if (!C.ok) throw new Error(`HTTP ${C.status}`);
|
|
5424
|
+
const b = await C.json();
|
|
5385
5425
|
if (h) return;
|
|
5386
|
-
u ? u = !1 :
|
|
5426
|
+
u ? u = !1 : s({ time: m(), ms: Date.now() - S, up: b.status !== "down" }), n({
|
|
5387
5427
|
status: b.status || "operational",
|
|
5388
5428
|
checks: b.checks || [],
|
|
5389
5429
|
checkedAt: b.checkedAt || null,
|
|
@@ -5393,77 +5433,78 @@ function Zr(a, { intervalMs: c = 3e4, maxSamples: l = 40 } = {}) {
|
|
|
5393
5433
|
});
|
|
5394
5434
|
} catch {
|
|
5395
5435
|
if (h) return;
|
|
5396
|
-
u = !1,
|
|
5436
|
+
u = !1, s({ time: m(), ms: Date.now() - S, up: !1 }), n((b) => ({ ...b, error: "unreachable", loading: !1 }));
|
|
5397
5437
|
}
|
|
5398
5438
|
};
|
|
5399
5439
|
let u = !0, w = 0, T;
|
|
5400
|
-
const
|
|
5401
|
-
await p(), !h && (w += 1, T = setTimeout(
|
|
5440
|
+
const q = async () => {
|
|
5441
|
+
await p(), !h && (w += 1, T = setTimeout(q, w < fr ? yr : c));
|
|
5402
5442
|
};
|
|
5403
|
-
return
|
|
5443
|
+
return q(), () => {
|
|
5404
5444
|
h = !0, clearTimeout(T);
|
|
5405
5445
|
};
|
|
5406
5446
|
}, [a, c, l]), {
|
|
5407
|
-
...
|
|
5408
|
-
latency:
|
|
5447
|
+
...i,
|
|
5448
|
+
latency: o.map((h) => ({ time: h.time, ms: h.ms })),
|
|
5409
5449
|
// A "disponibilidade" aqui é a das amostras desta sessão, agrupadas em
|
|
5410
5450
|
// blocos — não um SLA de 90 dias. O rótulo na página diz isso.
|
|
5411
|
-
uptime:
|
|
5451
|
+
uptime: xr(o),
|
|
5412
5452
|
// 1 = respondeu, 0.25 = falhou. Zero puro sumiria da barra e a falha
|
|
5413
5453
|
// ficaria invisível justamente quando importa.
|
|
5414
|
-
history:
|
|
5454
|
+
history: o.map((h) => h.up ? 1 : 0.25)
|
|
5415
5455
|
};
|
|
5416
5456
|
}
|
|
5417
|
-
function
|
|
5457
|
+
function xr(a, c = 12) {
|
|
5418
5458
|
if (a.length === 0) return [];
|
|
5419
|
-
const l = Math.max(1, Math.ceil(a.length / c)),
|
|
5420
|
-
for (let
|
|
5421
|
-
const
|
|
5422
|
-
|
|
5459
|
+
const l = Math.max(1, Math.ceil(a.length / c)), i = [];
|
|
5460
|
+
for (let n = 0; n < a.length; n += l) {
|
|
5461
|
+
const o = a.slice(n, n + l), g = o.filter((d) => d.up).length;
|
|
5462
|
+
i.push({ day: o[o.length - 1].time, pct: g / o.length * 100 });
|
|
5423
5463
|
}
|
|
5424
|
-
return
|
|
5464
|
+
return i;
|
|
5425
5465
|
}
|
|
5426
5466
|
export {
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5467
|
+
Pr as AuthLoader,
|
|
5468
|
+
ee as BrandLogo,
|
|
5469
|
+
ze as CTABanner,
|
|
5470
|
+
M as CTAButton,
|
|
5471
|
+
Gr as Callout,
|
|
5472
|
+
ir as CodeBlock,
|
|
5473
|
+
Br as ColorSchemeToggle,
|
|
5474
|
+
Yr as Comparison,
|
|
5475
|
+
Hr as CriteriaList,
|
|
5476
|
+
Zr as FAQ,
|
|
5477
|
+
Lr as FeatureSplit,
|
|
5478
|
+
Rr as FeaturesGrid,
|
|
5479
|
+
na as Footer,
|
|
5480
|
+
Kr as FounderCard,
|
|
5481
|
+
or as Header,
|
|
5482
|
+
Nr as Hero,
|
|
5483
|
+
jr as Layout,
|
|
5484
|
+
Xr as LeadForm,
|
|
5485
|
+
ia as LegalPrivacy,
|
|
5486
|
+
oa as LegalSecurity,
|
|
5487
|
+
la as LegalTerms,
|
|
5488
|
+
be as MediaBlock,
|
|
5489
|
+
Mr as Navbar,
|
|
5490
|
+
aa as NotFound,
|
|
5491
|
+
_r as PlatformShelf,
|
|
5492
|
+
Jr as Pricing,
|
|
5493
|
+
Ur as ProductGrid,
|
|
5494
|
+
Z as SECTION_BACKGROUNDS,
|
|
5495
|
+
ra as SecondaryCTA,
|
|
5455
5496
|
F as Section,
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5461
|
-
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5497
|
+
xe as SectionHeader,
|
|
5498
|
+
ta as SeloExclusivo,
|
|
5499
|
+
Or as SocialProof,
|
|
5500
|
+
$r as StatsGrid,
|
|
5501
|
+
Vr as StatusBoard,
|
|
5502
|
+
Wr as StatusIndicator,
|
|
5503
|
+
Qr as Steps,
|
|
5504
|
+
ea as Testimonials,
|
|
5505
|
+
ur as TrustBadge,
|
|
5506
|
+
nr as Wordmark,
|
|
5466
5507
|
O as resolveBackground,
|
|
5467
|
-
|
|
5468
|
-
|
|
5508
|
+
Er as theme,
|
|
5509
|
+
sa as useServiceStatus
|
|
5469
5510
|
};
|