@ciromaciel/components-kit 1.3.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 +669 -600
- 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',
|
|
@@ -33,8 +33,22 @@ const Ir = we({
|
|
|
33
33
|
// 8: Primary Text Dark
|
|
34
34
|
"#11181C"
|
|
35
35
|
// 9: Primary Text (Absolute)
|
|
36
|
-
]
|
|
36
|
+
],
|
|
37
|
+
/* Sucesso — o "deu certo" medido (14/10/2026). Verde, não teal: é o
|
|
38
|
+
verde do "No ar" que todo painel já usava, e se separa melhor do
|
|
39
|
+
vermelho para quem tem daltonismo vermelho-verde. green.6 preenche
|
|
40
|
+
(ponto, disco, barra); green.7 é a tinta de texto sobre branco
|
|
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"],
|
|
47
|
+
green: ["#F0FDF4", "#DCFCE7", "#BBF7D0", "#86EFAC", "#4ADE80", "#22C55E", "#16A34A", "#15803D", "#166534", "#14532D"]
|
|
37
48
|
},
|
|
49
|
+
/* O `--mantine-color-text` do Mantine é `theme.black`, que por padrão é
|
|
50
|
+
#000 — um preto que a rampa não tem. gray.9 é o preto do sistema. */
|
|
51
|
+
black: "#11181C",
|
|
38
52
|
primaryColor: "gray",
|
|
39
53
|
primaryShade: 9,
|
|
40
54
|
autoContrast: !0,
|
|
@@ -165,10 +179,21 @@ const Ir = we({
|
|
|
165
179
|
// Zen Massive Hierarchy
|
|
166
180
|
}
|
|
167
181
|
},
|
|
182
|
+
/* O TEXTO SEM COR HERDA — E O QUE ELE HERDA DA PÁGINA É O CORPO.
|
|
183
|
+
*
|
|
184
|
+
* Até 14/10/2026 o padrão era `c: 'gray.9'`: o parágrafo em que ninguém
|
|
185
|
+
* escreveu a cor saía tão escuro quanto o título, e a hierarquia sumia —
|
|
186
|
+
* o "corpo em gray.9" que o checklist bloqueia.
|
|
187
|
+
*
|
|
188
|
+
* A troca não é `c: 'gray.6'` aqui. Uma cor fixa atropelaria a herança:
|
|
189
|
+
* o rótulo dentro de um botão preto e a linha dentro de um bloco escuro
|
|
190
|
+
* deixariam de herdar o branco do pai. Em vez disso, o Text não tem cor
|
|
191
|
+
* própria, e `--mantine-color-text` — a cor da página — passa a ser
|
|
192
|
+
* gray.6 (global.css). Título diz gray.9; valor e destaque dizem a cor
|
|
193
|
+
* explicitamente. */
|
|
168
194
|
Text: {
|
|
169
195
|
defaultProps: {
|
|
170
196
|
lh: 1.6,
|
|
171
|
-
c: "gray.9",
|
|
172
197
|
size: "md"
|
|
173
198
|
}
|
|
174
199
|
},
|
|
@@ -208,21 +233,21 @@ const Ir = we({
|
|
|
208
233
|
}
|
|
209
234
|
}
|
|
210
235
|
});
|
|
211
|
-
function
|
|
236
|
+
function xe({ badge: a, subtitle: c, title: l, titleOrder: i = 2, titleFz: n = "var(--fz-section-title)", ta: o = "left", maw: g }) {
|
|
212
237
|
return !l && !c && !a ? null : /* @__PURE__ */ r(
|
|
213
238
|
f,
|
|
214
239
|
{
|
|
215
240
|
gap: "xs",
|
|
216
|
-
align:
|
|
217
|
-
ta:
|
|
241
|
+
align: o === "center" ? "center" : "flex-start",
|
|
242
|
+
ta: o,
|
|
218
243
|
children: [
|
|
219
244
|
a && /* @__PURE__ */ e(
|
|
220
245
|
y,
|
|
221
246
|
{
|
|
222
|
-
justify:
|
|
247
|
+
justify: o === "center" ? "center" : "flex-start",
|
|
223
248
|
mb: "xs",
|
|
224
249
|
children: /* @__PURE__ */ e(
|
|
225
|
-
|
|
250
|
+
P,
|
|
226
251
|
{
|
|
227
252
|
variant: "dot",
|
|
228
253
|
color: "gray",
|
|
@@ -245,10 +270,10 @@ function fe({ badge: a, subtitle: c, title: l, titleOrder: n = 2, titleFz: i = "
|
|
|
245
270
|
}
|
|
246
271
|
),
|
|
247
272
|
l && /* @__PURE__ */ e(
|
|
248
|
-
|
|
273
|
+
D,
|
|
249
274
|
{
|
|
250
|
-
order:
|
|
251
|
-
fz:
|
|
275
|
+
order: i,
|
|
276
|
+
fz: n,
|
|
252
277
|
maw: g,
|
|
253
278
|
children: l
|
|
254
279
|
}
|
|
@@ -257,8 +282,8 @@ function fe({ badge: a, subtitle: c, title: l, titleOrder: n = 2, titleFz: i = "
|
|
|
257
282
|
}
|
|
258
283
|
);
|
|
259
284
|
}
|
|
260
|
-
function
|
|
261
|
-
return a ? /* @__PURE__ */ e(
|
|
285
|
+
function be({ video: a, image: c, width: l = "100%", maw: i, alt: n }) {
|
|
286
|
+
return a ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
262
287
|
x,
|
|
263
288
|
{
|
|
264
289
|
component: "video",
|
|
@@ -267,34 +292,34 @@ function ye({ video: a, image: c, width: l = "100%", maw: n, alt: i }) {
|
|
|
267
292
|
loop: !0,
|
|
268
293
|
muted: !0,
|
|
269
294
|
playsInline: !0,
|
|
270
|
-
"aria-label":
|
|
295
|
+
"aria-label": n || "Demonstração em vídeo",
|
|
271
296
|
w: a.width || l,
|
|
272
297
|
h: "auto",
|
|
273
298
|
style: { filter: a.filter || "none" }
|
|
274
299
|
}
|
|
275
|
-
) }) : c ? /* @__PURE__ */ e(
|
|
300
|
+
) }) : c ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
276
301
|
x,
|
|
277
302
|
{
|
|
278
303
|
component: "img",
|
|
279
304
|
src: c,
|
|
280
|
-
alt:
|
|
305
|
+
alt: n || "",
|
|
281
306
|
w: l,
|
|
282
307
|
h: "auto",
|
|
283
|
-
maw:
|
|
308
|
+
maw: i
|
|
284
309
|
}
|
|
285
310
|
) }) : null;
|
|
286
311
|
}
|
|
287
|
-
function
|
|
312
|
+
function M({
|
|
288
313
|
label: a,
|
|
289
314
|
href: c,
|
|
290
315
|
onClick: l,
|
|
291
|
-
icon:
|
|
292
|
-
size:
|
|
293
|
-
variant:
|
|
316
|
+
icon: i,
|
|
317
|
+
size: n = "lg",
|
|
318
|
+
variant: o = "filled",
|
|
294
319
|
color: g,
|
|
295
320
|
target: d,
|
|
296
321
|
px: h,
|
|
297
|
-
fullWidth:
|
|
322
|
+
fullWidth: s,
|
|
298
323
|
leftSection: m,
|
|
299
324
|
className: p,
|
|
300
325
|
...u
|
|
@@ -302,24 +327,24 @@ function N({
|
|
|
302
327
|
return /* @__PURE__ */ e(
|
|
303
328
|
U,
|
|
304
329
|
{
|
|
305
|
-
size:
|
|
330
|
+
size: n,
|
|
306
331
|
component: c ? "a" : "button",
|
|
307
332
|
href: c,
|
|
308
333
|
onClick: l,
|
|
309
334
|
target: d,
|
|
310
|
-
rightSection:
|
|
335
|
+
rightSection: i,
|
|
311
336
|
leftSection: m,
|
|
312
|
-
variant:
|
|
337
|
+
variant: o,
|
|
313
338
|
color: g,
|
|
314
339
|
px: h,
|
|
315
|
-
fullWidth:
|
|
340
|
+
fullWidth: s,
|
|
316
341
|
className: p ? `rlg-cta ${p}` : "rlg-cta",
|
|
317
342
|
...u,
|
|
318
343
|
children: a
|
|
319
344
|
}
|
|
320
345
|
);
|
|
321
346
|
}
|
|
322
|
-
function
|
|
347
|
+
function nr({ children: a, fz: c = 28, c: l = "gray.9", ...i }) {
|
|
323
348
|
return /* @__PURE__ */ e(
|
|
324
349
|
t,
|
|
325
350
|
{
|
|
@@ -329,14 +354,14 @@ function Xe({ children: a, fz: c = 28, c: l = "gray.9", ...n }) {
|
|
|
329
354
|
lh: 1,
|
|
330
355
|
c: l,
|
|
331
356
|
display: "block",
|
|
332
|
-
...
|
|
333
|
-
style: { whiteSpace: "nowrap", ...
|
|
357
|
+
...i,
|
|
358
|
+
style: { whiteSpace: "nowrap", ...i.style },
|
|
334
359
|
children: a
|
|
335
360
|
}
|
|
336
361
|
);
|
|
337
362
|
}
|
|
338
|
-
function
|
|
339
|
-
return a ?
|
|
363
|
+
function ee({ logo: a, objectPosition: c = "left" }) {
|
|
364
|
+
return a ? Ce(a) ? a : typeof a == "object" && a.src ? /* @__PURE__ */ e(
|
|
340
365
|
"img",
|
|
341
366
|
{
|
|
342
367
|
src: a.src,
|
|
@@ -346,11 +371,11 @@ function Z({ logo: a, objectPosition: c = "left" }) {
|
|
|
346
371
|
}
|
|
347
372
|
) : a : null;
|
|
348
373
|
}
|
|
349
|
-
function
|
|
374
|
+
function ir({ children: a, label: c, chrome: l = !0, copy: i = !0, variant: n = "dark", style: o }) {
|
|
350
375
|
const g = typeof a == "string" ? a : String(a ?? ""), d = g.split(`
|
|
351
376
|
`).filter((p) => p.trimStart().startsWith("$ ")), h = d.length ? d.map((p) => p.trimStart().slice(2)).join(`
|
|
352
|
-
`) : g,
|
|
353
|
-
shell: "
|
|
377
|
+
`) : g, s = n === "dark", m = s ? {
|
|
378
|
+
shell: "#11181C",
|
|
354
379
|
bar: "rgba(255, 255, 255, 0.06)",
|
|
355
380
|
line: "rgba(255, 255, 255, 0.10)",
|
|
356
381
|
dot: "rgba(255, 255, 255, 0.22)",
|
|
@@ -368,14 +393,14 @@ function Je({ children: a, label: c, chrome: l = !0, copy: n = !0, variant: i =
|
|
|
368
393
|
x,
|
|
369
394
|
{
|
|
370
395
|
style: {
|
|
371
|
-
border: `1px solid ${
|
|
396
|
+
border: `1px solid ${s ? "var(--rlg-shell-edge, #11181C)" : "var(--mantine-color-gray-3)"}`,
|
|
372
397
|
background: m.shell,
|
|
373
398
|
// `overflow: hidden` aqui cortava o código em vez de deixar o
|
|
374
399
|
// <pre> rolar: a linha longa ficava inacessível, sem barra e
|
|
375
400
|
// sem reticências. `hidden` só na vertical preserva o recorte
|
|
376
401
|
// do cabeçalho; a horizontal fica com o <pre>, que tem auto.
|
|
377
402
|
overflowY: "hidden",
|
|
378
|
-
...
|
|
403
|
+
...o
|
|
379
404
|
},
|
|
380
405
|
children: [
|
|
381
406
|
l && /* @__PURE__ */ r(
|
|
@@ -422,19 +447,19 @@ function Je({ children: a, label: c, chrome: l = !0, copy: n = !0, variant: i =
|
|
|
422
447
|
]
|
|
423
448
|
}
|
|
424
449
|
),
|
|
425
|
-
|
|
426
|
-
|
|
450
|
+
i && /* @__PURE__ */ e(
|
|
451
|
+
Se,
|
|
427
452
|
{
|
|
428
453
|
value: h,
|
|
429
454
|
timeout: 1600,
|
|
430
455
|
children: ({ copied: p, copy: u }) => /* @__PURE__ */ e(
|
|
431
|
-
|
|
456
|
+
re,
|
|
432
457
|
{
|
|
433
458
|
label: p ? "Copiado" : "Copiar",
|
|
434
459
|
withArrow: !0,
|
|
435
460
|
position: "left",
|
|
436
461
|
children: /* @__PURE__ */ e(
|
|
437
|
-
|
|
462
|
+
Y,
|
|
438
463
|
{
|
|
439
464
|
variant: "subtle",
|
|
440
465
|
size: "sm",
|
|
@@ -442,9 +467,9 @@ function Je({ children: a, label: c, chrome: l = !0, copy: n = !0, variant: i =
|
|
|
442
467
|
onClick: u,
|
|
443
468
|
"aria-label": "Copiar codigo",
|
|
444
469
|
style: {
|
|
445
|
-
color: p ? "var(--mantine-color-
|
|
470
|
+
color: p ? "var(--mantine-color-green-4)" : m.label
|
|
446
471
|
},
|
|
447
|
-
children: p ? /* @__PURE__ */ e(G, { size: 14 }) : /* @__PURE__ */ e(
|
|
472
|
+
children: p ? /* @__PURE__ */ e(G, { size: 14 }) : /* @__PURE__ */ e(je, { size: 14 })
|
|
448
473
|
}
|
|
449
474
|
)
|
|
450
475
|
}
|
|
@@ -477,26 +502,61 @@ function Je({ children: a, label: c, chrome: l = !0, copy: n = !0, variant: i =
|
|
|
477
502
|
}
|
|
478
503
|
);
|
|
479
504
|
}
|
|
480
|
-
const
|
|
481
|
-
|
|
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",
|
|
482
542
|
gray: "gray.1"
|
|
483
|
-
}, O = (a) => a === "gray.9" || a === "dark" ?
|
|
484
|
-
function
|
|
485
|
-
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);
|
|
486
546
|
return /* @__PURE__ */ e(
|
|
487
547
|
x,
|
|
488
548
|
{
|
|
489
549
|
component: "section",
|
|
490
|
-
id:
|
|
550
|
+
id: n,
|
|
491
551
|
bg: m,
|
|
492
552
|
py: g,
|
|
493
553
|
style: { overflow: "hidden" },
|
|
494
|
-
children: /* @__PURE__ */ e(
|
|
554
|
+
children: /* @__PURE__ */ e(B, { size: "lg", children: /* @__PURE__ */ r(f, { gap: s, children: [
|
|
495
555
|
/* @__PURE__ */ e(
|
|
496
|
-
|
|
556
|
+
xe,
|
|
497
557
|
{
|
|
498
558
|
badge: c,
|
|
499
|
-
subtitle:
|
|
559
|
+
subtitle: i,
|
|
500
560
|
title: l,
|
|
501
561
|
ta: h,
|
|
502
562
|
maw: d
|
|
@@ -507,9 +567,9 @@ function q({ children: a, badge: c, title: l, subtitle: n, id: i, background: s
|
|
|
507
567
|
}
|
|
508
568
|
);
|
|
509
569
|
}
|
|
510
|
-
function
|
|
570
|
+
function Pr({ brand: a, label: c = "Verificando sua sessão...", ...l }) {
|
|
511
571
|
return /* @__PURE__ */ e(
|
|
512
|
-
|
|
572
|
+
Te,
|
|
513
573
|
{
|
|
514
574
|
h: "100dvh",
|
|
515
575
|
justify: "center",
|
|
@@ -522,7 +582,7 @@ function Tr({ brand: a, label: c = "Verificando sua sessão...", ...l }) {
|
|
|
522
582
|
gap: "md",
|
|
523
583
|
children: [
|
|
524
584
|
a ? /* @__PURE__ */ e(
|
|
525
|
-
|
|
585
|
+
nr,
|
|
526
586
|
{
|
|
527
587
|
fz: 11,
|
|
528
588
|
fw: 800,
|
|
@@ -534,7 +594,7 @@ function Tr({ brand: a, label: c = "Verificando sua sessão...", ...l }) {
|
|
|
534
594
|
children: a
|
|
535
595
|
}
|
|
536
596
|
) : null,
|
|
537
|
-
/* @__PURE__ */ e(
|
|
597
|
+
/* @__PURE__ */ e(Ae, { size: "sm" }),
|
|
538
598
|
/* @__PURE__ */ e(
|
|
539
599
|
t,
|
|
540
600
|
{
|
|
@@ -551,7 +611,7 @@ function Tr({ brand: a, label: c = "Verificando sua sessão...", ...l }) {
|
|
|
551
611
|
}
|
|
552
612
|
);
|
|
553
613
|
}
|
|
554
|
-
function
|
|
614
|
+
function jr({ children: a, style: c, ...l }) {
|
|
555
615
|
return /* @__PURE__ */ e(
|
|
556
616
|
x,
|
|
557
617
|
{
|
|
@@ -567,19 +627,19 @@ function Ar({ children: a, style: c, ...l }) {
|
|
|
567
627
|
}
|
|
568
628
|
);
|
|
569
629
|
}
|
|
570
|
-
function
|
|
571
|
-
const { icon: l, label:
|
|
630
|
+
function se({ cta: a, filled: c }) {
|
|
631
|
+
const { icon: l, label: i, labelMobile: n, component: o, ...g } = a;
|
|
572
632
|
return /* @__PURE__ */ e(
|
|
573
|
-
|
|
633
|
+
Y,
|
|
574
634
|
{
|
|
575
635
|
...g,
|
|
576
|
-
component:
|
|
636
|
+
component: o || (a.href ? "a" : "button"),
|
|
577
637
|
className: "ck-cta-icon",
|
|
578
|
-
"aria-label":
|
|
579
|
-
title:
|
|
638
|
+
"aria-label": i,
|
|
639
|
+
title: i,
|
|
580
640
|
size: 36,
|
|
581
641
|
radius: 0,
|
|
582
|
-
color: "
|
|
642
|
+
color: "gray.9",
|
|
583
643
|
variant: c ? "filled" : "subtle",
|
|
584
644
|
children: /* @__PURE__ */ e(
|
|
585
645
|
l,
|
|
@@ -591,8 +651,8 @@ function ne({ cta: a, filled: c }) {
|
|
|
591
651
|
}
|
|
592
652
|
);
|
|
593
653
|
}
|
|
594
|
-
function
|
|
595
|
-
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) => {
|
|
596
656
|
u === "top" ? window.scrollTo({ top: 0, behavior: "smooth" }) : document.getElementById(u)?.scrollIntoView({ behavior: "smooth" });
|
|
597
657
|
}, p = (u, w) => {
|
|
598
658
|
(u.key === "Enter" || u.key === " ") && (u.preventDefault(), m(w));
|
|
@@ -606,7 +666,7 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
606
666
|
w: "100%",
|
|
607
667
|
style: { zIndex: 100, pointerEvents: "none" },
|
|
608
668
|
children: /* @__PURE__ */ e(
|
|
609
|
-
|
|
669
|
+
B,
|
|
610
670
|
{
|
|
611
671
|
size: "xl",
|
|
612
672
|
py: "md",
|
|
@@ -614,12 +674,12 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
614
674
|
children: /* @__PURE__ */ e(
|
|
615
675
|
I,
|
|
616
676
|
{
|
|
617
|
-
shadow:
|
|
677
|
+
shadow: s ? "sm" : "none",
|
|
618
678
|
radius: "0",
|
|
619
679
|
py: "xs",
|
|
620
680
|
px: "sm",
|
|
621
681
|
bg: d,
|
|
622
|
-
bd:
|
|
682
|
+
bd: s ? "1px solid var(--mantine-color-gray-2)" : "1px solid transparent",
|
|
623
683
|
style: { pointerEvents: "auto", transition: "all 0.2s ease" },
|
|
624
684
|
children: /* @__PURE__ */ r(
|
|
625
685
|
y,
|
|
@@ -638,7 +698,7 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
638
698
|
...T,
|
|
639
699
|
"aria-label": "Ir para a página inicial",
|
|
640
700
|
style: u,
|
|
641
|
-
children: /* @__PURE__ */ e(
|
|
701
|
+
children: /* @__PURE__ */ e(ee, { logo: a })
|
|
642
702
|
}
|
|
643
703
|
);
|
|
644
704
|
}
|
|
@@ -651,7 +711,7 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
651
711
|
w.preventDefault(), window.scrollTo({ top: 0, behavior: "smooth" });
|
|
652
712
|
},
|
|
653
713
|
style: u,
|
|
654
|
-
children: /* @__PURE__ */ e(
|
|
714
|
+
children: /* @__PURE__ */ e(ee, { logo: a })
|
|
655
715
|
}
|
|
656
716
|
);
|
|
657
717
|
})(),
|
|
@@ -677,7 +737,7 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
677
737
|
fw: 900,
|
|
678
738
|
tt: "uppercase",
|
|
679
739
|
lts: "1px",
|
|
680
|
-
c: "
|
|
740
|
+
c: "gray.9",
|
|
681
741
|
...u,
|
|
682
742
|
component: u.component || "span",
|
|
683
743
|
role: u.component ? void 0 : "link",
|
|
@@ -698,32 +758,32 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
698
758
|
wrap: "nowrap",
|
|
699
759
|
style: { flexShrink: 0 },
|
|
700
760
|
children: [
|
|
701
|
-
|
|
761
|
+
i && /* @__PURE__ */ r(
|
|
702
762
|
x,
|
|
703
763
|
{
|
|
704
764
|
className: "ck-cta-login",
|
|
705
765
|
display: "inline-flex",
|
|
706
|
-
visibleFrom:
|
|
766
|
+
visibleFrom: i.icon ? void 0 : "xs",
|
|
707
767
|
children: [
|
|
708
768
|
/* @__PURE__ */ e(
|
|
709
769
|
U,
|
|
710
770
|
{
|
|
711
771
|
variant: "subtle",
|
|
712
|
-
...(({ icon: u, ...w }) => w)(
|
|
713
|
-
component:
|
|
772
|
+
...(({ icon: u, ...w }) => w)(i),
|
|
773
|
+
component: i.component || (i.href ? "a" : "button"),
|
|
714
774
|
className: "ck-cta-label",
|
|
715
775
|
c: "gray.7",
|
|
716
776
|
size: "sm",
|
|
717
777
|
radius: "0",
|
|
718
778
|
fw: 900,
|
|
719
|
-
children:
|
|
779
|
+
children: i.label
|
|
720
780
|
}
|
|
721
781
|
),
|
|
722
|
-
|
|
782
|
+
i.icon && /* @__PURE__ */ e(se, { cta: i })
|
|
723
783
|
]
|
|
724
784
|
}
|
|
725
785
|
),
|
|
726
|
-
|
|
786
|
+
n && /* @__PURE__ */ r(
|
|
727
787
|
x,
|
|
728
788
|
{
|
|
729
789
|
className: "ck-cta-signup",
|
|
@@ -732,12 +792,12 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
732
792
|
/* @__PURE__ */ r(
|
|
733
793
|
U,
|
|
734
794
|
{
|
|
735
|
-
...(({ icon: u, ...w }) => w)(
|
|
736
|
-
component:
|
|
795
|
+
...(({ icon: u, ...w }) => w)(n),
|
|
796
|
+
component: n.component || (n.href ? "a" : "button"),
|
|
737
797
|
className: "ck-cta-label",
|
|
738
798
|
size: "sm",
|
|
739
799
|
radius: "0",
|
|
740
|
-
color: "
|
|
800
|
+
color: "gray.9",
|
|
741
801
|
variant: "filled",
|
|
742
802
|
children: [
|
|
743
803
|
/* @__PURE__ */ e(
|
|
@@ -748,7 +808,7 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
748
808
|
c: "white",
|
|
749
809
|
fw: 900,
|
|
750
810
|
size: "sm",
|
|
751
|
-
children:
|
|
811
|
+
children: n.label
|
|
752
812
|
}
|
|
753
813
|
),
|
|
754
814
|
/* @__PURE__ */ e(
|
|
@@ -759,16 +819,16 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
759
819
|
c: "white",
|
|
760
820
|
fw: 900,
|
|
761
821
|
size: "xs",
|
|
762
|
-
children:
|
|
822
|
+
children: n.labelMobile || n.label
|
|
763
823
|
}
|
|
764
824
|
)
|
|
765
825
|
]
|
|
766
826
|
}
|
|
767
827
|
),
|
|
768
|
-
|
|
769
|
-
|
|
828
|
+
n.icon && /* @__PURE__ */ e(
|
|
829
|
+
se,
|
|
770
830
|
{
|
|
771
|
-
cta:
|
|
831
|
+
cta: n,
|
|
772
832
|
filled: !0
|
|
773
833
|
}
|
|
774
834
|
)
|
|
@@ -788,12 +848,12 @@ function Ze({ logo: a, logoLink: c, navLinks: l = [], loginCta: n, signupCta: i,
|
|
|
788
848
|
}
|
|
789
849
|
);
|
|
790
850
|
}
|
|
791
|
-
const
|
|
851
|
+
const Mr = or, ce = {
|
|
792
852
|
root: { height: "auto", maxWidth: "100%" },
|
|
793
853
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
794
854
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
795
855
|
};
|
|
796
|
-
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" }) {
|
|
797
857
|
const u = !!(g || d);
|
|
798
858
|
return /* @__PURE__ */ e(
|
|
799
859
|
x,
|
|
@@ -801,7 +861,7 @@ function Fr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
801
861
|
py: { base: 80, sm: 100, md: 140 },
|
|
802
862
|
id: "hero",
|
|
803
863
|
bg: h,
|
|
804
|
-
children: /* @__PURE__ */ e(
|
|
864
|
+
children: /* @__PURE__ */ e(B, { size: "lg", children: /* @__PURE__ */ r(
|
|
805
865
|
A,
|
|
806
866
|
{
|
|
807
867
|
cols: { base: 1, md: u ? 2 : 1 },
|
|
@@ -816,8 +876,8 @@ function Fr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
816
876
|
gap: { base: 32, md: 48 },
|
|
817
877
|
ta: u ? { base: "center", md: "left" } : "center",
|
|
818
878
|
children: [
|
|
819
|
-
/* @__PURE__ */ e(
|
|
820
|
-
|
|
879
|
+
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
880
|
+
xe,
|
|
821
881
|
{
|
|
822
882
|
subtitle: a,
|
|
823
883
|
title: c,
|
|
@@ -827,7 +887,7 @@ function Fr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
827
887
|
maw: u ? void 0 : 940
|
|
828
888
|
}
|
|
829
889
|
) }),
|
|
830
|
-
l && /* @__PURE__ */ e(
|
|
890
|
+
l && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
831
891
|
t,
|
|
832
892
|
{
|
|
833
893
|
size: p,
|
|
@@ -837,7 +897,7 @@ function Fr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
837
897
|
children: l
|
|
838
898
|
}
|
|
839
899
|
) }),
|
|
840
|
-
(
|
|
900
|
+
(i || n) && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(
|
|
841
901
|
y,
|
|
842
902
|
{
|
|
843
903
|
gap: "md",
|
|
@@ -846,24 +906,8 @@ function Fr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
846
906
|
style: { maxWidth: "100%" },
|
|
847
907
|
className: "rlg-cta-group",
|
|
848
908
|
children: [
|
|
849
|
-
n && /* @__PURE__ */ e(
|
|
850
|
-
N,
|
|
851
|
-
{
|
|
852
|
-
label: n.label,
|
|
853
|
-
href: n.href,
|
|
854
|
-
icon: n.icon,
|
|
855
|
-
leftSection: n.leftSection,
|
|
856
|
-
target: n.target,
|
|
857
|
-
rel: n.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
858
|
-
size: n.size || "xl",
|
|
859
|
-
px: n.px || 48,
|
|
860
|
-
variant: n.variant,
|
|
861
|
-
color: n.color,
|
|
862
|
-
styles: le
|
|
863
|
-
}
|
|
864
|
-
),
|
|
865
909
|
i && /* @__PURE__ */ e(
|
|
866
|
-
|
|
910
|
+
M,
|
|
867
911
|
{
|
|
868
912
|
label: i.label,
|
|
869
913
|
href: i.href,
|
|
@@ -873,15 +917,31 @@ function Fr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
873
917
|
rel: i.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
874
918
|
size: i.size || "xl",
|
|
875
919
|
px: i.px || 48,
|
|
876
|
-
variant: i.variant
|
|
920
|
+
variant: i.variant,
|
|
877
921
|
color: i.color,
|
|
878
|
-
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
|
|
879
939
|
}
|
|
880
940
|
)
|
|
881
941
|
]
|
|
882
942
|
}
|
|
883
943
|
) }),
|
|
884
|
-
|
|
944
|
+
o && /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
885
945
|
t,
|
|
886
946
|
{
|
|
887
947
|
size: "sm",
|
|
@@ -889,18 +949,18 @@ function Fr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
889
949
|
maw: 620,
|
|
890
950
|
fw: 500,
|
|
891
951
|
lh: 1.7,
|
|
892
|
-
children:
|
|
952
|
+
children: o
|
|
893
953
|
}
|
|
894
954
|
) })
|
|
895
955
|
]
|
|
896
956
|
}
|
|
897
957
|
),
|
|
898
958
|
u && /* @__PURE__ */ e(
|
|
899
|
-
|
|
959
|
+
be,
|
|
900
960
|
{
|
|
901
961
|
video: g,
|
|
902
962
|
image: d,
|
|
903
|
-
maw:
|
|
963
|
+
maw: s,
|
|
904
964
|
alt: "Demonstração do produto"
|
|
905
965
|
}
|
|
906
966
|
)
|
|
@@ -910,7 +970,7 @@ function Fr({ subtitle: a, title: c, description: l, cta: n, secondaryCta: i, no
|
|
|
910
970
|
}
|
|
911
971
|
);
|
|
912
972
|
}
|
|
913
|
-
function
|
|
973
|
+
function sr({ logo: a, index: c }) {
|
|
914
974
|
const l = {
|
|
915
975
|
src: a.src,
|
|
916
976
|
alt: a.alt || `Logo ${c}`,
|
|
@@ -921,14 +981,14 @@ function er({ logo: a, index: c }) {
|
|
|
921
981
|
transition: "filter 0.3s ease, opacity 0.3s ease",
|
|
922
982
|
...a.style
|
|
923
983
|
},
|
|
924
|
-
onMouseEnter: (
|
|
925
|
-
|
|
984
|
+
onMouseEnter: (i) => {
|
|
985
|
+
i.currentTarget.style.filter = "grayscale(0) opacity(0.8)";
|
|
926
986
|
},
|
|
927
|
-
onMouseLeave: (
|
|
928
|
-
|
|
987
|
+
onMouseLeave: (i) => {
|
|
988
|
+
i.currentTarget.style.filter = "grayscale(1) opacity(0.4)";
|
|
929
989
|
}
|
|
930
990
|
};
|
|
931
|
-
return a.url ? /* @__PURE__ */ e(
|
|
991
|
+
return a.url ? /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
|
|
932
992
|
"a",
|
|
933
993
|
{
|
|
934
994
|
href: a.url,
|
|
@@ -936,18 +996,18 @@ function er({ logo: a, index: c }) {
|
|
|
936
996
|
rel: "noopener noreferrer",
|
|
937
997
|
children: /* @__PURE__ */ e(_, { ...l })
|
|
938
998
|
}
|
|
939
|
-
) }) : /* @__PURE__ */ e(
|
|
999
|
+
) }) : /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(_, { ...l }) });
|
|
940
1000
|
}
|
|
941
|
-
function
|
|
1001
|
+
function Or({ id: a, title: c, logos: l, background: i = "gray" }) {
|
|
942
1002
|
return !l || l.length === 0 ? null : /* @__PURE__ */ e(
|
|
943
1003
|
x,
|
|
944
1004
|
{
|
|
945
1005
|
component: "section",
|
|
946
1006
|
id: a,
|
|
947
1007
|
py: { base: 40, md: 60 },
|
|
948
|
-
bg:
|
|
1008
|
+
bg: i,
|
|
949
1009
|
bd: { bottom: "1px solid var(--mantine-color-gray-2)" },
|
|
950
|
-
children: /* @__PURE__ */ e(
|
|
1010
|
+
children: /* @__PURE__ */ e(B, { size: "lg", children: /* @__PURE__ */ r(
|
|
951
1011
|
f,
|
|
952
1012
|
{
|
|
953
1013
|
align: "center",
|
|
@@ -972,13 +1032,13 @@ function kr({ id: a, title: c, logos: l, background: n = "gray" }) {
|
|
|
972
1032
|
gap: { base: 40, md: 80 },
|
|
973
1033
|
style: { rowGap: 40 },
|
|
974
1034
|
w: "100%",
|
|
975
|
-
children: l.map((
|
|
976
|
-
|
|
1035
|
+
children: l.map((n, o) => /* @__PURE__ */ e(
|
|
1036
|
+
sr,
|
|
977
1037
|
{
|
|
978
|
-
logo:
|
|
979
|
-
index:
|
|
1038
|
+
logo: n,
|
|
1039
|
+
index: o
|
|
980
1040
|
},
|
|
981
|
-
|
|
1041
|
+
o
|
|
982
1042
|
))
|
|
983
1043
|
}
|
|
984
1044
|
)
|
|
@@ -988,8 +1048,8 @@ function kr({ id: a, title: c, logos: l, background: n = "gray" }) {
|
|
|
988
1048
|
}
|
|
989
1049
|
);
|
|
990
1050
|
}
|
|
991
|
-
function
|
|
992
|
-
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(
|
|
993
1053
|
$,
|
|
994
1054
|
{
|
|
995
1055
|
spacing: "md",
|
|
@@ -1010,7 +1070,7 @@ function Pr({ id: a, subtitle: c, title: l, description: n, descriptionFz: i, fe
|
|
|
1010
1070
|
)
|
|
1011
1071
|
}
|
|
1012
1072
|
),
|
|
1013
|
-
children:
|
|
1073
|
+
children: o.map((q, S) => /* @__PURE__ */ e($.Item, { children: q }, S))
|
|
1014
1074
|
}
|
|
1015
1075
|
), w = /* @__PURE__ */ r(
|
|
1016
1076
|
f,
|
|
@@ -1018,7 +1078,7 @@ function Pr({ id: a, subtitle: c, title: l, description: n, descriptionFz: i, fe
|
|
|
1018
1078
|
justify: "center",
|
|
1019
1079
|
gap: "lg",
|
|
1020
1080
|
children: [
|
|
1021
|
-
|
|
1081
|
+
i && /* `descriptionFz` existe porque 20px (o `size="xl"`) é grande
|
|
1022
1082
|
demais ao lado de uma lista de 16px: o parágrafo lê como se
|
|
1023
1083
|
estivesse solto no espaço. O `Hero` e o `HeroSplit` já
|
|
1024
1084
|
aceitavam essa prop; o `FeatureSplit` não, e quem precisava
|
|
@@ -1033,14 +1093,14 @@ function Pr({ id: a, subtitle: c, title: l, description: n, descriptionFz: i, fe
|
|
|
1033
1093
|
{
|
|
1034
1094
|
c: "gray.6",
|
|
1035
1095
|
size: "xl",
|
|
1036
|
-
fz:
|
|
1096
|
+
fz: n,
|
|
1037
1097
|
lh: 1.6,
|
|
1038
|
-
children:
|
|
1098
|
+
children: i
|
|
1039
1099
|
}
|
|
1040
1100
|
),
|
|
1041
1101
|
u,
|
|
1042
1102
|
g && /* @__PURE__ */ e(y, { mt: "md", children: /* @__PURE__ */ e(
|
|
1043
|
-
|
|
1103
|
+
M,
|
|
1044
1104
|
{
|
|
1045
1105
|
label: g.label,
|
|
1046
1106
|
href: g.href,
|
|
@@ -1066,7 +1126,7 @@ function Pr({ id: a, subtitle: c, title: l, description: n, descriptionFz: i, fe
|
|
|
1066
1126
|
imagem de 52 a 338 (286px). A imagem não vazava — estava estreita
|
|
1067
1127
|
demais para o lugar onde tinha ido parar. */
|
|
1068
1128
|
/* @__PURE__ */ e(
|
|
1069
|
-
|
|
1129
|
+
be,
|
|
1070
1130
|
{
|
|
1071
1131
|
video: d,
|
|
1072
1132
|
image: h,
|
|
@@ -1075,7 +1135,7 @@ function Pr({ id: a, subtitle: c, title: l, description: n, descriptionFz: i, fe
|
|
|
1075
1135
|
}
|
|
1076
1136
|
);
|
|
1077
1137
|
return /* @__PURE__ */ e(
|
|
1078
|
-
|
|
1138
|
+
F,
|
|
1079
1139
|
{
|
|
1080
1140
|
id: a,
|
|
1081
1141
|
subtitle: c,
|
|
@@ -1087,10 +1147,10 @@ function Pr({ id: a, subtitle: c, title: l, description: n, descriptionFz: i, fe
|
|
|
1087
1147
|
cols: { base: 1, md: 2 },
|
|
1088
1148
|
spacing: { base: 40, md: 80 },
|
|
1089
1149
|
verticalSpacing: { base: 40, md: 50 },
|
|
1090
|
-
children:
|
|
1150
|
+
children: s ? /* @__PURE__ */ r(ne, { children: [
|
|
1091
1151
|
T,
|
|
1092
1152
|
w
|
|
1093
|
-
] }) : /* @__PURE__ */ r(
|
|
1153
|
+
] }) : /* @__PURE__ */ r(ne, { children: [
|
|
1094
1154
|
w,
|
|
1095
1155
|
T
|
|
1096
1156
|
] })
|
|
@@ -1099,19 +1159,19 @@ function Pr({ id: a, subtitle: c, title: l, description: n, descriptionFz: i, fe
|
|
|
1099
1159
|
}
|
|
1100
1160
|
);
|
|
1101
1161
|
}
|
|
1102
|
-
function
|
|
1162
|
+
function Rr({ id: a, badge: c, subtitle: l, title: i, description: n, background: o = "gray", items: g = [], ta: d = "left", note: h }) {
|
|
1103
1163
|
return /* @__PURE__ */ r(
|
|
1104
|
-
|
|
1164
|
+
F,
|
|
1105
1165
|
{
|
|
1106
1166
|
id: a,
|
|
1107
1167
|
badge: c,
|
|
1108
1168
|
subtitle: l,
|
|
1109
|
-
title:
|
|
1110
|
-
background:
|
|
1169
|
+
title: i,
|
|
1170
|
+
background: o,
|
|
1111
1171
|
ta: d,
|
|
1112
1172
|
maw: d === "center" ? 900 : 800,
|
|
1113
1173
|
children: [
|
|
1114
|
-
|
|
1174
|
+
n && /* @__PURE__ */ e(
|
|
1115
1175
|
t,
|
|
1116
1176
|
{
|
|
1117
1177
|
c: "gray.6",
|
|
@@ -1121,13 +1181,13 @@ function Br({ id: a, badge: c, subtitle: l, title: n, description: i, background
|
|
|
1121
1181
|
maw: 780,
|
|
1122
1182
|
mx: d === "center" ? "auto" : void 0,
|
|
1123
1183
|
mb: 40,
|
|
1124
|
-
children:
|
|
1184
|
+
children: n
|
|
1125
1185
|
}
|
|
1126
1186
|
),
|
|
1127
|
-
/* @__PURE__ */ e(z, { gutter: "lg", children: g.map((
|
|
1128
|
-
|
|
1187
|
+
/* @__PURE__ */ e(z, { gutter: "lg", children: g.map((s, m) => /* @__PURE__ */ e(
|
|
1188
|
+
cr,
|
|
1129
1189
|
{
|
|
1130
|
-
...
|
|
1190
|
+
...s
|
|
1131
1191
|
},
|
|
1132
1192
|
m
|
|
1133
1193
|
)) }),
|
|
@@ -1148,17 +1208,17 @@ function Br({ id: a, badge: c, subtitle: l, title: n, description: i, background
|
|
|
1148
1208
|
}
|
|
1149
1209
|
);
|
|
1150
1210
|
}
|
|
1151
|
-
function
|
|
1211
|
+
function cr({
|
|
1152
1212
|
icon: a,
|
|
1153
1213
|
iconVariant: c,
|
|
1154
1214
|
iconColor: l,
|
|
1155
|
-
label:
|
|
1156
|
-
title:
|
|
1157
|
-
titleSize:
|
|
1215
|
+
label: i,
|
|
1216
|
+
title: n,
|
|
1217
|
+
titleSize: o,
|
|
1158
1218
|
description: g,
|
|
1159
1219
|
descriptionSize: d,
|
|
1160
1220
|
descriptionMaw: h,
|
|
1161
|
-
span:
|
|
1221
|
+
span: s = { base: 12, md: 6 },
|
|
1162
1222
|
background: m = "white",
|
|
1163
1223
|
visual: p,
|
|
1164
1224
|
secondaryVisual: u,
|
|
@@ -1166,15 +1226,15 @@ function rr({
|
|
|
1166
1226
|
badges: T,
|
|
1167
1227
|
// Acoes do card, no shape universal de cta: { label, href, icon, variant }.
|
|
1168
1228
|
// Sao dados, nunca JSX — o card monta os botoes, o consumidor so declara.
|
|
1169
|
-
actions:
|
|
1229
|
+
actions: q,
|
|
1170
1230
|
codeBlock: S,
|
|
1171
1231
|
// layout="split": quantas das 12 colunas o codigo ocupa. O padrao 6
|
|
1172
1232
|
// divide o card ao meio; suba para 7 quando as linhas forem longas.
|
|
1173
|
-
codeSpan:
|
|
1233
|
+
codeSpan: C = 6,
|
|
1174
1234
|
// Rotulo da barra do terminal (ex: "bash", "index.js").
|
|
1175
1235
|
codeLabel: b,
|
|
1176
1236
|
decorativeContent: L,
|
|
1177
|
-
style:
|
|
1237
|
+
style: k,
|
|
1178
1238
|
...R
|
|
1179
1239
|
}) {
|
|
1180
1240
|
const K = /* @__PURE__ */ r(x, { children: [
|
|
@@ -1195,7 +1255,7 @@ function rr({
|
|
|
1195
1255
|
)
|
|
1196
1256
|
}
|
|
1197
1257
|
),
|
|
1198
|
-
|
|
1258
|
+
i && /* @__PURE__ */ e(
|
|
1199
1259
|
t,
|
|
1200
1260
|
{
|
|
1201
1261
|
size: "sm",
|
|
@@ -1204,18 +1264,18 @@ function rr({
|
|
|
1204
1264
|
lts: "1.5px",
|
|
1205
1265
|
c: "gray.5",
|
|
1206
1266
|
mb: "xs",
|
|
1207
|
-
children:
|
|
1267
|
+
children: i
|
|
1208
1268
|
}
|
|
1209
1269
|
),
|
|
1210
|
-
|
|
1270
|
+
n && /* @__PURE__ */ e(
|
|
1211
1271
|
t,
|
|
1212
1272
|
{
|
|
1213
|
-
fz:
|
|
1273
|
+
fz: o || (w === "compact" ? "h4" : "h3"),
|
|
1214
1274
|
fw: 900,
|
|
1215
1275
|
lh: 1.2,
|
|
1216
1276
|
mb: "sm",
|
|
1217
1277
|
c: void 0,
|
|
1218
|
-
children:
|
|
1278
|
+
children: n
|
|
1219
1279
|
}
|
|
1220
1280
|
),
|
|
1221
1281
|
g && /* @__PURE__ */ e(
|
|
@@ -1228,34 +1288,34 @@ function rr({
|
|
|
1228
1288
|
children: g
|
|
1229
1289
|
}
|
|
1230
1290
|
),
|
|
1231
|
-
T && T.length > 0 && /* @__PURE__ */ e(y, { children: T.map((
|
|
1232
|
-
|
|
1291
|
+
T && T.length > 0 && /* @__PURE__ */ e(y, { children: T.map((J, Q) => /* @__PURE__ */ e(
|
|
1292
|
+
P,
|
|
1233
1293
|
{
|
|
1234
1294
|
variant: "dot",
|
|
1235
1295
|
color: "gray",
|
|
1236
1296
|
radius: "0",
|
|
1237
|
-
children:
|
|
1297
|
+
children: J
|
|
1238
1298
|
},
|
|
1239
1299
|
Q
|
|
1240
1300
|
)) }),
|
|
1241
|
-
|
|
1301
|
+
q && q.length > 0 && /* @__PURE__ */ e(
|
|
1242
1302
|
y,
|
|
1243
1303
|
{
|
|
1244
1304
|
gap: "sm",
|
|
1245
1305
|
mt: "xl",
|
|
1246
|
-
children:
|
|
1247
|
-
|
|
1306
|
+
children: q.map((J, Q) => /* @__PURE__ */ e(
|
|
1307
|
+
M,
|
|
1248
1308
|
{
|
|
1249
1309
|
size: "md",
|
|
1250
1310
|
variant: Q === 0 ? "filled" : "default",
|
|
1251
|
-
...
|
|
1311
|
+
...J
|
|
1252
1312
|
},
|
|
1253
1313
|
Q
|
|
1254
1314
|
))
|
|
1255
1315
|
}
|
|
1256
1316
|
)
|
|
1257
|
-
] }), V = p ?
|
|
1258
|
-
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(
|
|
1259
1319
|
I,
|
|
1260
1320
|
{
|
|
1261
1321
|
h: "100%",
|
|
@@ -1263,7 +1323,7 @@ function rr({
|
|
|
1263
1323
|
radius: "0",
|
|
1264
1324
|
bg: O(m),
|
|
1265
1325
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1266
|
-
style:
|
|
1326
|
+
style: k,
|
|
1267
1327
|
...R,
|
|
1268
1328
|
children: /* @__PURE__ */ r(
|
|
1269
1329
|
z,
|
|
@@ -1271,16 +1331,16 @@ function rr({
|
|
|
1271
1331
|
align: "center",
|
|
1272
1332
|
gutter: "xl",
|
|
1273
1333
|
children: [
|
|
1274
|
-
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 12 -
|
|
1275
|
-
/* @__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: [
|
|
1276
1336
|
V,
|
|
1277
|
-
S && /* @__PURE__ */ e(
|
|
1337
|
+
S && /* @__PURE__ */ e(ir, { label: b, children: S })
|
|
1278
1338
|
] })
|
|
1279
1339
|
]
|
|
1280
1340
|
}
|
|
1281
1341
|
)
|
|
1282
1342
|
}
|
|
1283
|
-
) }) : w === "compact" ? /* @__PURE__ */ e(z.Col, { span:
|
|
1343
|
+
) }) : w === "compact" ? /* @__PURE__ */ e(z.Col, { span: s, children: /* @__PURE__ */ r(
|
|
1284
1344
|
I,
|
|
1285
1345
|
{
|
|
1286
1346
|
h: "100%",
|
|
@@ -1288,14 +1348,14 @@ function rr({
|
|
|
1288
1348
|
radius: "0",
|
|
1289
1349
|
bg: O(m),
|
|
1290
1350
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1291
|
-
style:
|
|
1351
|
+
style: k,
|
|
1292
1352
|
...R,
|
|
1293
1353
|
children: [
|
|
1294
1354
|
K,
|
|
1295
1355
|
V
|
|
1296
1356
|
]
|
|
1297
1357
|
}
|
|
1298
|
-
) }) : L ? /* @__PURE__ */ e(z.Col, { span:
|
|
1358
|
+
) }) : L ? /* @__PURE__ */ e(z.Col, { span: s, children: /* @__PURE__ */ e(
|
|
1299
1359
|
I,
|
|
1300
1360
|
{
|
|
1301
1361
|
h: "100%",
|
|
@@ -1304,7 +1364,7 @@ function rr({
|
|
|
1304
1364
|
bg: O(m),
|
|
1305
1365
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
1306
1366
|
pos: "relative",
|
|
1307
|
-
style:
|
|
1367
|
+
style: k,
|
|
1308
1368
|
...R,
|
|
1309
1369
|
children: /* @__PURE__ */ r(
|
|
1310
1370
|
z,
|
|
@@ -1332,7 +1392,7 @@ function rr({
|
|
|
1332
1392
|
}
|
|
1333
1393
|
)
|
|
1334
1394
|
}
|
|
1335
|
-
) }) : /* @__PURE__ */ e(z.Col, { span:
|
|
1395
|
+
) }) : /* @__PURE__ */ e(z.Col, { span: s, children: /* @__PURE__ */ r(
|
|
1336
1396
|
I,
|
|
1337
1397
|
{
|
|
1338
1398
|
h: "100%",
|
|
@@ -1344,19 +1404,19 @@ function rr({
|
|
|
1344
1404
|
style: {
|
|
1345
1405
|
flexDirection: "column",
|
|
1346
1406
|
justifyContent: "space-between",
|
|
1347
|
-
...
|
|
1407
|
+
...k
|
|
1348
1408
|
},
|
|
1349
1409
|
...R,
|
|
1350
1410
|
children: [
|
|
1351
1411
|
K,
|
|
1352
|
-
V &&
|
|
1412
|
+
V && ae ? /* @__PURE__ */ r(
|
|
1353
1413
|
y,
|
|
1354
1414
|
{
|
|
1355
1415
|
gap: 40,
|
|
1356
1416
|
align: "center",
|
|
1357
1417
|
children: [
|
|
1358
1418
|
V,
|
|
1359
|
-
|
|
1419
|
+
ae
|
|
1360
1420
|
]
|
|
1361
1421
|
}
|
|
1362
1422
|
) : V
|
|
@@ -1364,17 +1424,17 @@ function rr({
|
|
|
1364
1424
|
}
|
|
1365
1425
|
) });
|
|
1366
1426
|
}
|
|
1367
|
-
function
|
|
1427
|
+
function de(a) {
|
|
1368
1428
|
if (!a) return null;
|
|
1369
1429
|
switch (a.type) {
|
|
1370
1430
|
case "ring":
|
|
1371
1431
|
return /* @__PURE__ */ e(
|
|
1372
|
-
|
|
1432
|
+
Fe,
|
|
1373
1433
|
{
|
|
1374
1434
|
size: a.size || 140,
|
|
1375
1435
|
thickness: a.thickness || 12,
|
|
1376
1436
|
sections: [{ value: a.value || 100, color: "gray.7" }],
|
|
1377
|
-
label: /* @__PURE__ */ e(
|
|
1437
|
+
label: /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(
|
|
1378
1438
|
f,
|
|
1379
1439
|
{
|
|
1380
1440
|
gap: 0,
|
|
@@ -1383,6 +1443,7 @@ function oe(a) {
|
|
|
1383
1443
|
/* @__PURE__ */ e(
|
|
1384
1444
|
t,
|
|
1385
1445
|
{
|
|
1446
|
+
c: "gray.9",
|
|
1386
1447
|
fw: 900,
|
|
1387
1448
|
size: "xl",
|
|
1388
1449
|
lh: 1,
|
|
@@ -1425,7 +1486,7 @@ function oe(a) {
|
|
|
1425
1486
|
}
|
|
1426
1487
|
),
|
|
1427
1488
|
a.badge && /* @__PURE__ */ e(
|
|
1428
|
-
|
|
1489
|
+
P,
|
|
1429
1490
|
{
|
|
1430
1491
|
mt: "md",
|
|
1431
1492
|
color: "gray",
|
|
@@ -1457,7 +1518,7 @@ function oe(a) {
|
|
|
1457
1518
|
);
|
|
1458
1519
|
case "typography":
|
|
1459
1520
|
return /* @__PURE__ */ e(
|
|
1460
|
-
|
|
1521
|
+
E,
|
|
1461
1522
|
{
|
|
1462
1523
|
h: a.height || 160,
|
|
1463
1524
|
bg: "gray.0",
|
|
@@ -1490,15 +1551,15 @@ function oe(a) {
|
|
|
1490
1551
|
return null;
|
|
1491
1552
|
}
|
|
1492
1553
|
}
|
|
1493
|
-
function
|
|
1494
|
-
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);
|
|
1495
1556
|
return /* @__PURE__ */ r(
|
|
1496
|
-
|
|
1557
|
+
F,
|
|
1497
1558
|
{
|
|
1498
1559
|
id: a,
|
|
1499
1560
|
subtitle: c,
|
|
1500
1561
|
title: l,
|
|
1501
|
-
background:
|
|
1562
|
+
background: o,
|
|
1502
1563
|
ta: g,
|
|
1503
1564
|
maw: 900,
|
|
1504
1565
|
children: [
|
|
@@ -1507,7 +1568,7 @@ function Dr({ id: a, subtitle: c, title: l, items: n = [], cols: i, background:
|
|
|
1507
1568
|
{
|
|
1508
1569
|
cols: { base: 1, sm: h === 3 ? 3 : 2, lg: h },
|
|
1509
1570
|
spacing: 0,
|
|
1510
|
-
children:
|
|
1571
|
+
children: i.map((s, m) => /* @__PURE__ */ r(
|
|
1511
1572
|
I,
|
|
1512
1573
|
{
|
|
1513
1574
|
px: "lg",
|
|
@@ -1528,7 +1589,7 @@ function Dr({ id: a, subtitle: c, title: l, items: n = [], cols: i, background:
|
|
|
1528
1589
|
mb: "lg",
|
|
1529
1590
|
c: "gray.9",
|
|
1530
1591
|
style: { letterSpacing: "-0.04em" },
|
|
1531
|
-
children:
|
|
1592
|
+
children: s.value
|
|
1532
1593
|
}
|
|
1533
1594
|
),
|
|
1534
1595
|
/* @__PURE__ */ e(
|
|
@@ -1541,10 +1602,10 @@ function Dr({ id: a, subtitle: c, title: l, items: n = [], cols: i, background:
|
|
|
1541
1602
|
mb: "xs",
|
|
1542
1603
|
c: "gray.9",
|
|
1543
1604
|
style: { letterSpacing: "-0.01em" },
|
|
1544
|
-
children:
|
|
1605
|
+
children: s.label
|
|
1545
1606
|
}
|
|
1546
1607
|
),
|
|
1547
|
-
|
|
1608
|
+
s.description && /* @__PURE__ */ e(
|
|
1548
1609
|
t,
|
|
1549
1610
|
{
|
|
1550
1611
|
component: "div",
|
|
@@ -1553,12 +1614,12 @@ function Dr({ id: a, subtitle: c, title: l, items: n = [], cols: i, background:
|
|
|
1553
1614
|
lh: 1.5,
|
|
1554
1615
|
maw: 220,
|
|
1555
1616
|
mx: "auto",
|
|
1556
|
-
children:
|
|
1617
|
+
children: s.description
|
|
1557
1618
|
}
|
|
1558
1619
|
)
|
|
1559
1620
|
]
|
|
1560
1621
|
},
|
|
1561
|
-
|
|
1622
|
+
s.label || m
|
|
1562
1623
|
))
|
|
1563
1624
|
}
|
|
1564
1625
|
),
|
|
@@ -1580,24 +1641,24 @@ function Dr({ id: a, subtitle: c, title: l, items: n = [], cols: i, background:
|
|
|
1580
1641
|
);
|
|
1581
1642
|
}
|
|
1582
1643
|
const W = {
|
|
1583
|
-
operational: { color: "
|
|
1644
|
+
operational: { color: "green.6", chart: "green.6", title: "Todos os sistemas operando", badge: "Operacional" },
|
|
1584
1645
|
degraded: { color: "yellow.7", chart: "yellow.7", title: "Desempenho degradado", badge: "Degradado" },
|
|
1585
1646
|
down: { color: "red.7", chart: "red.7", title: "Interrupção em andamento", badge: "Fora do ar" },
|
|
1586
1647
|
loading: { color: "gray.4", chart: "gray.5", title: "Verificando os sistemas", badge: "Verificando" }
|
|
1587
|
-
},
|
|
1648
|
+
}, dr = (a) => {
|
|
1588
1649
|
if (!a) return null;
|
|
1589
1650
|
const c = new Date(a);
|
|
1590
1651
|
return Number.isNaN(c.getTime()) ? null : c.toLocaleString("pt-BR", { dateStyle: "short", timeStyle: "medium" });
|
|
1591
1652
|
};
|
|
1592
|
-
function
|
|
1593
|
-
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);
|
|
1594
1655
|
return /* @__PURE__ */ e(
|
|
1595
1656
|
x,
|
|
1596
1657
|
{
|
|
1597
1658
|
component: "section",
|
|
1598
1659
|
bg: "white",
|
|
1599
1660
|
children: /* @__PURE__ */ e(
|
|
1600
|
-
|
|
1661
|
+
B,
|
|
1601
1662
|
{
|
|
1602
1663
|
size: "lg",
|
|
1603
1664
|
py: 80,
|
|
@@ -1634,7 +1695,7 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1634
1695
|
}
|
|
1635
1696
|
),
|
|
1636
1697
|
/* @__PURE__ */ e(
|
|
1637
|
-
|
|
1698
|
+
D,
|
|
1638
1699
|
{
|
|
1639
1700
|
order: 1,
|
|
1640
1701
|
fz: { base: 32, md: 56 },
|
|
@@ -1660,13 +1721,13 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1660
1721
|
}
|
|
1661
1722
|
)
|
|
1662
1723
|
] }),
|
|
1663
|
-
(
|
|
1724
|
+
(o.length > 0 || n.length > 0) && /* @__PURE__ */ r(
|
|
1664
1725
|
A,
|
|
1665
1726
|
{
|
|
1666
1727
|
cols: { base: 1, md: 2 },
|
|
1667
1728
|
spacing: 48,
|
|
1668
1729
|
children: [
|
|
1669
|
-
|
|
1730
|
+
o.length > 0 && /* @__PURE__ */ r(f, { gap: "lg", children: [
|
|
1670
1731
|
/* @__PURE__ */ r(f, { gap: 4, children: [
|
|
1671
1732
|
/* @__PURE__ */ e(
|
|
1672
1733
|
t,
|
|
@@ -1682,12 +1743,13 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1682
1743
|
/* @__PURE__ */ r(
|
|
1683
1744
|
t,
|
|
1684
1745
|
{
|
|
1746
|
+
c: "gray.9",
|
|
1685
1747
|
fz: 40,
|
|
1686
1748
|
fw: 900,
|
|
1687
1749
|
lh: 1,
|
|
1688
1750
|
lts: "-0.04em",
|
|
1689
1751
|
children: [
|
|
1690
|
-
(
|
|
1752
|
+
(o.reduce((s, m) => s + m.pct, 0) / o.length).toFixed(2),
|
|
1691
1753
|
/* @__PURE__ */ e(
|
|
1692
1754
|
t,
|
|
1693
1755
|
{
|
|
@@ -1709,17 +1771,17 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1709
1771
|
h: 140,
|
|
1710
1772
|
align: "flex-end",
|
|
1711
1773
|
wrap: "nowrap",
|
|
1712
|
-
children:
|
|
1713
|
-
|
|
1774
|
+
children: o.map((s, m) => /* @__PURE__ */ e(
|
|
1775
|
+
re,
|
|
1714
1776
|
{
|
|
1715
|
-
label: `${
|
|
1777
|
+
label: `${s.day} · ${s.pct.toFixed(2)}%`,
|
|
1716
1778
|
withArrow: !0,
|
|
1717
1779
|
children: /* @__PURE__ */ e(
|
|
1718
1780
|
x,
|
|
1719
1781
|
{
|
|
1720
1782
|
w: 14,
|
|
1721
|
-
h: Math.max(8,
|
|
1722
|
-
bg:
|
|
1783
|
+
h: Math.max(8, s.pct / 100 * 96),
|
|
1784
|
+
bg: s.pct === 100 ? d.chart : s.pct > 0 ? "yellow.7" : "red.7"
|
|
1723
1785
|
}
|
|
1724
1786
|
)
|
|
1725
1787
|
},
|
|
@@ -1728,7 +1790,7 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1728
1790
|
}
|
|
1729
1791
|
)
|
|
1730
1792
|
] }),
|
|
1731
|
-
|
|
1793
|
+
n.length > 0 && /* @__PURE__ */ r(f, { gap: "lg", children: [
|
|
1732
1794
|
/* @__PURE__ */ r(f, { gap: 4, children: [
|
|
1733
1795
|
/* @__PURE__ */ e(
|
|
1734
1796
|
t,
|
|
@@ -1744,12 +1806,13 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1744
1806
|
/* @__PURE__ */ r(
|
|
1745
1807
|
t,
|
|
1746
1808
|
{
|
|
1809
|
+
c: "gray.9",
|
|
1747
1810
|
fz: 40,
|
|
1748
1811
|
fw: 900,
|
|
1749
1812
|
lh: 1,
|
|
1750
1813
|
lts: "-0.04em",
|
|
1751
1814
|
children: [
|
|
1752
|
-
Math.round(
|
|
1815
|
+
Math.round(n[n.length - 1]?.ms ?? 0),
|
|
1753
1816
|
/* @__PURE__ */ e(
|
|
1754
1817
|
t,
|
|
1755
1818
|
{
|
|
@@ -1765,10 +1828,10 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1765
1828
|
)
|
|
1766
1829
|
] }),
|
|
1767
1830
|
/* @__PURE__ */ e(
|
|
1768
|
-
|
|
1831
|
+
tr,
|
|
1769
1832
|
{
|
|
1770
1833
|
h: 140,
|
|
1771
|
-
data:
|
|
1834
|
+
data: n,
|
|
1772
1835
|
dataKey: "time",
|
|
1773
1836
|
series: [{ name: "ms", color: d.chart, label: "Resposta" }],
|
|
1774
1837
|
curveType: "linear",
|
|
@@ -1777,14 +1840,14 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1777
1840
|
withXAxis: !1,
|
|
1778
1841
|
yAxisProps: { width: 40 },
|
|
1779
1842
|
fillOpacity: 0.12,
|
|
1780
|
-
valueFormatter: (
|
|
1843
|
+
valueFormatter: (s) => `${Math.round(s)} ms`
|
|
1781
1844
|
}
|
|
1782
1845
|
)
|
|
1783
1846
|
] })
|
|
1784
1847
|
]
|
|
1785
1848
|
}
|
|
1786
1849
|
),
|
|
1787
|
-
|
|
1850
|
+
i.length > 0 && /* @__PURE__ */ r(f, { gap: 0, children: [
|
|
1788
1851
|
/* @__PURE__ */ e(
|
|
1789
1852
|
t,
|
|
1790
1853
|
{
|
|
@@ -1797,8 +1860,8 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1797
1860
|
children: "Componentes"
|
|
1798
1861
|
}
|
|
1799
1862
|
),
|
|
1800
|
-
|
|
1801
|
-
const p = W[
|
|
1863
|
+
i.map((s, m) => {
|
|
1864
|
+
const p = W[s.status] || W.loading;
|
|
1802
1865
|
return /* @__PURE__ */ r(
|
|
1803
1866
|
I,
|
|
1804
1867
|
{
|
|
@@ -1836,17 +1899,18 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1836
1899
|
/* @__PURE__ */ e(
|
|
1837
1900
|
t,
|
|
1838
1901
|
{
|
|
1902
|
+
c: "gray.9",
|
|
1839
1903
|
fw: 700,
|
|
1840
1904
|
size: "sm",
|
|
1841
|
-
children:
|
|
1905
|
+
children: s.name
|
|
1842
1906
|
}
|
|
1843
1907
|
),
|
|
1844
|
-
|
|
1908
|
+
s.description && /* @__PURE__ */ e(
|
|
1845
1909
|
t,
|
|
1846
1910
|
{
|
|
1847
1911
|
size: "xs",
|
|
1848
1912
|
c: "gray.5",
|
|
1849
|
-
children:
|
|
1913
|
+
children: s.description
|
|
1850
1914
|
}
|
|
1851
1915
|
)
|
|
1852
1916
|
] })
|
|
@@ -1860,7 +1924,7 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1860
1924
|
wrap: "nowrap",
|
|
1861
1925
|
align: "center",
|
|
1862
1926
|
children: [
|
|
1863
|
-
typeof
|
|
1927
|
+
typeof s.latencyMs == "number" && /* @__PURE__ */ r(
|
|
1864
1928
|
t,
|
|
1865
1929
|
{
|
|
1866
1930
|
size: "xs",
|
|
@@ -1868,13 +1932,13 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1868
1932
|
c: "gray.4",
|
|
1869
1933
|
style: { whiteSpace: "nowrap" },
|
|
1870
1934
|
children: [
|
|
1871
|
-
|
|
1935
|
+
s.latencyMs,
|
|
1872
1936
|
" ms"
|
|
1873
1937
|
]
|
|
1874
1938
|
}
|
|
1875
1939
|
),
|
|
1876
1940
|
/* @__PURE__ */ e(
|
|
1877
|
-
|
|
1941
|
+
P,
|
|
1878
1942
|
{
|
|
1879
1943
|
variant: "dot",
|
|
1880
1944
|
color: p.color.split(".")[0],
|
|
@@ -1888,13 +1952,13 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1888
1952
|
]
|
|
1889
1953
|
}
|
|
1890
1954
|
),
|
|
1891
|
-
|
|
1955
|
+
s.metrics && Object.keys(s.metrics).length > 0 && /* @__PURE__ */ e(
|
|
1892
1956
|
y,
|
|
1893
1957
|
{
|
|
1894
1958
|
gap: "xl",
|
|
1895
1959
|
mt: "md",
|
|
1896
1960
|
ml: 23,
|
|
1897
|
-
children: Object.entries(
|
|
1961
|
+
children: Object.entries(s.metrics).map(([u, w]) => /* @__PURE__ */ r(
|
|
1898
1962
|
f,
|
|
1899
1963
|
{
|
|
1900
1964
|
gap: 2,
|
|
@@ -1902,6 +1966,7 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1902
1966
|
/* @__PURE__ */ e(
|
|
1903
1967
|
t,
|
|
1904
1968
|
{
|
|
1969
|
+
c: "gray.9",
|
|
1905
1970
|
fz: 20,
|
|
1906
1971
|
fw: 900,
|
|
1907
1972
|
lh: 1,
|
|
@@ -1917,7 +1982,7 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1917
1982
|
tt: "uppercase",
|
|
1918
1983
|
lts: "1.5px",
|
|
1919
1984
|
c: "gray.4",
|
|
1920
|
-
children:
|
|
1985
|
+
children: hr[u] || u
|
|
1921
1986
|
}
|
|
1922
1987
|
)
|
|
1923
1988
|
]
|
|
@@ -1928,7 +1993,7 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1928
1993
|
)
|
|
1929
1994
|
]
|
|
1930
1995
|
},
|
|
1931
|
-
|
|
1996
|
+
s.name || m
|
|
1932
1997
|
);
|
|
1933
1998
|
})
|
|
1934
1999
|
] }),
|
|
@@ -1947,26 +2012,26 @@ function Er({ service: a, status: c = "loading", checkedAt: l, checks: n = [], l
|
|
|
1947
2012
|
}
|
|
1948
2013
|
);
|
|
1949
2014
|
}
|
|
1950
|
-
const
|
|
2015
|
+
const hr = {
|
|
1951
2016
|
activeSessions: "Sessões ativas",
|
|
1952
2017
|
pendingVerifications: "Verificações pendentes",
|
|
1953
2018
|
publicKeys: "Chaves públicas",
|
|
1954
2019
|
domainsFailing: "Domínios com erro"
|
|
1955
|
-
},
|
|
1956
|
-
operational: { color: "
|
|
2020
|
+
}, he = {
|
|
2021
|
+
operational: { color: "green.6", label: "Todos os sistemas operando" },
|
|
1957
2022
|
degraded: { color: "yellow.7", label: "Desempenho degradado" },
|
|
1958
2023
|
down: { color: "red.7", label: "Interrupção em andamento" },
|
|
1959
2024
|
loading: { color: "gray.4", label: "Verificando status" }
|
|
1960
|
-
},
|
|
1961
|
-
function
|
|
1962
|
-
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];
|
|
1963
2028
|
return /* @__PURE__ */ e(
|
|
1964
|
-
|
|
2029
|
+
me,
|
|
1965
2030
|
{
|
|
1966
2031
|
underline: "never",
|
|
1967
|
-
"aria-label": `${l ||
|
|
1968
|
-
...n,
|
|
2032
|
+
"aria-label": `${l || o.label}. Ver página de status`,
|
|
1969
2033
|
...i,
|
|
2034
|
+
...n,
|
|
1970
2035
|
children: /* @__PURE__ */ r(
|
|
1971
2036
|
y,
|
|
1972
2037
|
{
|
|
@@ -1977,13 +2042,13 @@ function jr({ status: a = "loading", history: c = [], label: l, link: n, ...i })
|
|
|
1977
2042
|
x,
|
|
1978
2043
|
{
|
|
1979
2044
|
component: "svg",
|
|
1980
|
-
viewBox: `0 0 ${
|
|
1981
|
-
w:
|
|
2045
|
+
viewBox: `0 0 ${X * 4 - 1} 16`,
|
|
2046
|
+
w: X * 4 - 1,
|
|
1982
2047
|
h: 16,
|
|
1983
2048
|
"aria-hidden": "true",
|
|
1984
2049
|
style: { display: "block", overflow: "visible" },
|
|
1985
|
-
children: h.map((
|
|
1986
|
-
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;
|
|
1987
2052
|
return /* @__PURE__ */ e(
|
|
1988
2053
|
x,
|
|
1989
2054
|
{
|
|
@@ -1992,8 +2057,8 @@ function jr({ status: a = "loading", history: c = [], label: l, link: n, ...i })
|
|
|
1992
2057
|
y: 16 - p,
|
|
1993
2058
|
width: 3,
|
|
1994
2059
|
height: p,
|
|
1995
|
-
fill:
|
|
1996
|
-
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
|
|
1997
2062
|
},
|
|
1998
2063
|
m
|
|
1999
2064
|
);
|
|
@@ -2009,7 +2074,7 @@ function jr({ status: a = "loading", history: c = [], label: l, link: n, ...i })
|
|
|
2009
2074
|
lts: "1px",
|
|
2010
2075
|
c: "gray.5",
|
|
2011
2076
|
style: { whiteSpace: "nowrap" },
|
|
2012
|
-
children: l ||
|
|
2077
|
+
children: l || o.label
|
|
2013
2078
|
}
|
|
2014
2079
|
)
|
|
2015
2080
|
]
|
|
@@ -2018,9 +2083,9 @@ function jr({ status: a = "loading", history: c = [], label: l, link: n, ...i })
|
|
|
2018
2083
|
}
|
|
2019
2084
|
);
|
|
2020
2085
|
}
|
|
2021
|
-
function
|
|
2086
|
+
function Ur({ id: a, subtitle: c, title: l, description: i, items: n = [], ctaIcon: o, note: g, background: d = "white", ta: h = "center" }) {
|
|
2022
2087
|
return /* @__PURE__ */ r(
|
|
2023
|
-
|
|
2088
|
+
F,
|
|
2024
2089
|
{
|
|
2025
2090
|
id: a,
|
|
2026
2091
|
subtitle: c,
|
|
@@ -2029,7 +2094,7 @@ function Cr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2029
2094
|
ta: h,
|
|
2030
2095
|
maw: 900,
|
|
2031
2096
|
children: [
|
|
2032
|
-
|
|
2097
|
+
i && /* @__PURE__ */ e(
|
|
2033
2098
|
t,
|
|
2034
2099
|
{
|
|
2035
2100
|
c: "gray.6",
|
|
@@ -2039,15 +2104,15 @@ function Cr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2039
2104
|
mx: h === "center" ? "auto" : void 0,
|
|
2040
2105
|
size: "lg",
|
|
2041
2106
|
lh: 1.6,
|
|
2042
|
-
children:
|
|
2107
|
+
children: i
|
|
2043
2108
|
}
|
|
2044
2109
|
),
|
|
2045
|
-
/* @__PURE__ */ e(z, { gutter: "xl", children:
|
|
2046
|
-
const p =
|
|
2110
|
+
/* @__PURE__ */ e(z, { gutter: "xl", children: n.map((s, m) => {
|
|
2111
|
+
const p = s.icon;
|
|
2047
2112
|
return /* @__PURE__ */ e(
|
|
2048
2113
|
z.Col,
|
|
2049
2114
|
{
|
|
2050
|
-
span: { base: 12, md:
|
|
2115
|
+
span: { base: 12, md: s.span || 6 },
|
|
2051
2116
|
children: /* @__PURE__ */ r(
|
|
2052
2117
|
I,
|
|
2053
2118
|
{
|
|
@@ -2067,7 +2132,7 @@ function Cr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2067
2132
|
wrap: "nowrap",
|
|
2068
2133
|
children: [
|
|
2069
2134
|
/* @__PURE__ */ r(x, { children: [
|
|
2070
|
-
|
|
2135
|
+
s.category && /* @__PURE__ */ e(
|
|
2071
2136
|
t,
|
|
2072
2137
|
{
|
|
2073
2138
|
size: "xs",
|
|
@@ -2076,17 +2141,17 @@ function Cr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2076
2141
|
lts: "1.5px",
|
|
2077
2142
|
c: "gray.4",
|
|
2078
2143
|
mb: 4,
|
|
2079
|
-
children:
|
|
2144
|
+
children: s.category
|
|
2080
2145
|
}
|
|
2081
2146
|
),
|
|
2082
2147
|
/* @__PURE__ */ e(
|
|
2083
|
-
|
|
2148
|
+
D,
|
|
2084
2149
|
{
|
|
2085
2150
|
order: 3,
|
|
2086
2151
|
fz: "h2",
|
|
2087
2152
|
fw: 800,
|
|
2088
2153
|
c: "gray.9",
|
|
2089
|
-
children:
|
|
2154
|
+
children: s.name
|
|
2090
2155
|
}
|
|
2091
2156
|
)
|
|
2092
2157
|
] }),
|
|
@@ -2101,7 +2166,7 @@ function Cr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2101
2166
|
]
|
|
2102
2167
|
}
|
|
2103
2168
|
),
|
|
2104
|
-
|
|
2169
|
+
s.headline && /* @__PURE__ */ e(
|
|
2105
2170
|
t,
|
|
2106
2171
|
{
|
|
2107
2172
|
fw: 700,
|
|
@@ -2110,10 +2175,10 @@ function Cr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2110
2175
|
mb: "sm",
|
|
2111
2176
|
c: "gray.9",
|
|
2112
2177
|
style: { letterSpacing: "-0.01em" },
|
|
2113
|
-
children:
|
|
2178
|
+
children: s.headline
|
|
2114
2179
|
}
|
|
2115
2180
|
),
|
|
2116
|
-
|
|
2181
|
+
s.description && /* @__PURE__ */ e(
|
|
2117
2182
|
t,
|
|
2118
2183
|
{
|
|
2119
2184
|
size: "md",
|
|
@@ -2121,20 +2186,20 @@ function Cr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2121
2186
|
lh: 1.6,
|
|
2122
2187
|
mb: "xl",
|
|
2123
2188
|
style: { flexGrow: 1 },
|
|
2124
|
-
children:
|
|
2189
|
+
children: s.description
|
|
2125
2190
|
}
|
|
2126
2191
|
),
|
|
2127
|
-
|
|
2192
|
+
s.href && /* @__PURE__ */ e(
|
|
2128
2193
|
U,
|
|
2129
2194
|
{
|
|
2130
2195
|
component: "a",
|
|
2131
|
-
href:
|
|
2132
|
-
target:
|
|
2133
|
-
rel:
|
|
2196
|
+
href: s.href,
|
|
2197
|
+
target: s.target,
|
|
2198
|
+
rel: s.target === "_blank" ? "noopener noreferrer" : void 0,
|
|
2134
2199
|
variant: "default",
|
|
2135
2200
|
size: "md",
|
|
2136
2201
|
radius: "0",
|
|
2137
|
-
rightSection:
|
|
2202
|
+
rightSection: o,
|
|
2138
2203
|
style: {
|
|
2139
2204
|
width: "100%",
|
|
2140
2205
|
justifyContent: "space-between",
|
|
@@ -2143,14 +2208,14 @@ function Cr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2143
2208
|
paddingTop: 16,
|
|
2144
2209
|
marginTop: "auto"
|
|
2145
2210
|
},
|
|
2146
|
-
children:
|
|
2211
|
+
children: s.ctaLabel || `Abrir ${s.name}`
|
|
2147
2212
|
}
|
|
2148
2213
|
)
|
|
2149
2214
|
]
|
|
2150
2215
|
}
|
|
2151
2216
|
)
|
|
2152
2217
|
},
|
|
2153
|
-
|
|
2218
|
+
s.name || m
|
|
2154
2219
|
);
|
|
2155
2220
|
}) }),
|
|
2156
2221
|
g && /* @__PURE__ */ e(
|
|
@@ -2171,13 +2236,13 @@ function Cr({ id: a, subtitle: c, title: l, description: n, items: i = [], ctaIc
|
|
|
2171
2236
|
}
|
|
2172
2237
|
);
|
|
2173
2238
|
}
|
|
2174
|
-
function
|
|
2239
|
+
function _r({
|
|
2175
2240
|
id: a,
|
|
2176
2241
|
subtitle: c,
|
|
2177
2242
|
title: l,
|
|
2178
|
-
description:
|
|
2179
|
-
items:
|
|
2180
|
-
categories:
|
|
2243
|
+
description: i,
|
|
2244
|
+
items: n = [],
|
|
2245
|
+
categories: o = [],
|
|
2181
2246
|
filtersLabel: g = "Filtrar por categoria",
|
|
2182
2247
|
note: d,
|
|
2183
2248
|
background: h = "white",
|
|
@@ -2186,9 +2251,9 @@ function Nr({
|
|
|
2186
2251
|
// produto dentro de outro — o erro que já tirou a marca do topo com o
|
|
2187
2252
|
// `Wordmark` e anunciou "monitores" no log de e-mails do Payments. Sem
|
|
2188
2253
|
// rótulo a chamada não é desenhada; quem chama diz a palavra.
|
|
2189
|
-
ctaLabel:
|
|
2254
|
+
ctaLabel: s
|
|
2190
2255
|
}) {
|
|
2191
|
-
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;
|
|
2192
2257
|
return T ? (
|
|
2193
2258
|
// O CABEÇALHO É CENTRALIZADO, O CONTEÚDO NÃO. `ta="center"` no
|
|
2194
2259
|
// `Section` alinha o kicker, o título e — por herança — tudo que
|
|
@@ -2199,7 +2264,7 @@ function Nr({
|
|
|
2199
2264
|
// recomeçar. Centralizado é o que se lê uma vez; à esquerda é o que
|
|
2200
2265
|
// se compara em coluna.
|
|
2201
2266
|
/* @__PURE__ */ r(
|
|
2202
|
-
|
|
2267
|
+
F,
|
|
2203
2268
|
{
|
|
2204
2269
|
id: a,
|
|
2205
2270
|
subtitle: c,
|
|
@@ -2207,7 +2272,7 @@ function Nr({
|
|
|
2207
2272
|
background: h,
|
|
2208
2273
|
ta: "center",
|
|
2209
2274
|
children: [
|
|
2210
|
-
|
|
2275
|
+
i && /* @__PURE__ */ e(
|
|
2211
2276
|
t,
|
|
2212
2277
|
{
|
|
2213
2278
|
c: "gray.6",
|
|
@@ -2216,10 +2281,10 @@ function Nr({
|
|
|
2216
2281
|
maw: 780,
|
|
2217
2282
|
mx: "auto",
|
|
2218
2283
|
mb: 40,
|
|
2219
|
-
children:
|
|
2284
|
+
children: i
|
|
2220
2285
|
}
|
|
2221
2286
|
),
|
|
2222
|
-
|
|
2287
|
+
o.length > 0 && /* @__PURE__ */ e(
|
|
2223
2288
|
y,
|
|
2224
2289
|
{
|
|
2225
2290
|
gap: "xs",
|
|
@@ -2229,8 +2294,8 @@ function Nr({
|
|
|
2229
2294
|
role: "group",
|
|
2230
2295
|
"aria-label": g,
|
|
2231
2296
|
className: "rlg-shelf-filters",
|
|
2232
|
-
children:
|
|
2233
|
-
|
|
2297
|
+
children: o.map((S) => /* @__PURE__ */ e(
|
|
2298
|
+
ke,
|
|
2234
2299
|
{
|
|
2235
2300
|
onClick: () => p(S.id),
|
|
2236
2301
|
className: "rlg-shelf-pill",
|
|
@@ -2244,17 +2309,17 @@ function Nr({
|
|
|
2244
2309
|
),
|
|
2245
2310
|
/* @__PURE__ */ r(z, { gutter: "lg", children: [
|
|
2246
2311
|
/* @__PURE__ */ e(z.Col, { span: { base: 12, lg: 5, xl: 4 }, children: /* @__PURE__ */ e(
|
|
2247
|
-
|
|
2312
|
+
pr,
|
|
2248
2313
|
{
|
|
2249
2314
|
item: T,
|
|
2250
|
-
ctaLabel:
|
|
2315
|
+
ctaLabel: s
|
|
2251
2316
|
}
|
|
2252
2317
|
) }),
|
|
2253
|
-
/* @__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(
|
|
2254
2319
|
z.Col,
|
|
2255
2320
|
{
|
|
2256
2321
|
span: { base: 12, xs: 6, md: 4, lg: 6, xl: 4 },
|
|
2257
|
-
children: /* @__PURE__ */ e(
|
|
2322
|
+
children: /* @__PURE__ */ e(gr, { item: S })
|
|
2258
2323
|
},
|
|
2259
2324
|
S.name
|
|
2260
2325
|
)) }) })
|
|
@@ -2276,18 +2341,18 @@ function Nr({
|
|
|
2276
2341
|
)
|
|
2277
2342
|
) : null;
|
|
2278
2343
|
}
|
|
2279
|
-
const
|
|
2344
|
+
const we = (a) => ({
|
|
2280
2345
|
component: "a",
|
|
2281
2346
|
href: a.href,
|
|
2282
2347
|
target: a.target,
|
|
2283
2348
|
rel: a.target === "_blank" ? "noopener noreferrer" : void 0
|
|
2284
2349
|
});
|
|
2285
|
-
function
|
|
2350
|
+
function pr({ item: a, ctaLabel: c }) {
|
|
2286
2351
|
const l = a.icon;
|
|
2287
2352
|
return /* @__PURE__ */ r(
|
|
2288
2353
|
I,
|
|
2289
2354
|
{
|
|
2290
|
-
...
|
|
2355
|
+
...we(a),
|
|
2291
2356
|
className: "rlg-shelf-feature",
|
|
2292
2357
|
radius: "0",
|
|
2293
2358
|
p: 0,
|
|
@@ -2335,7 +2400,7 @@ function ir({ item: a, ctaLabel: c }) {
|
|
|
2335
2400
|
] }),
|
|
2336
2401
|
/* @__PURE__ */ r(x, { className: "rlg-shelf-feature-bottom", children: [
|
|
2337
2402
|
/* @__PURE__ */ e(
|
|
2338
|
-
|
|
2403
|
+
D,
|
|
2339
2404
|
{
|
|
2340
2405
|
order: 3,
|
|
2341
2406
|
className: "rlg-shelf-feature-title",
|
|
@@ -2372,7 +2437,7 @@ function ir({ item: a, ctaLabel: c }) {
|
|
|
2372
2437
|
}
|
|
2373
2438
|
),
|
|
2374
2439
|
/* @__PURE__ */ e(
|
|
2375
|
-
|
|
2440
|
+
Le,
|
|
2376
2441
|
{
|
|
2377
2442
|
size: 16,
|
|
2378
2443
|
stroke: 2.5,
|
|
@@ -2390,12 +2455,12 @@ function ir({ item: a, ctaLabel: c }) {
|
|
|
2390
2455
|
}
|
|
2391
2456
|
);
|
|
2392
2457
|
}
|
|
2393
|
-
function
|
|
2458
|
+
function gr({ item: a }) {
|
|
2394
2459
|
const c = a.icon;
|
|
2395
2460
|
return /* @__PURE__ */ r(
|
|
2396
2461
|
I,
|
|
2397
2462
|
{
|
|
2398
|
-
...
|
|
2463
|
+
...we(a),
|
|
2399
2464
|
className: "rlg-shelf-card",
|
|
2400
2465
|
radius: "0",
|
|
2401
2466
|
p: "lg",
|
|
@@ -2430,7 +2495,7 @@ function nr({ item: a }) {
|
|
|
2430
2495
|
),
|
|
2431
2496
|
/* @__PURE__ */ r(x, { children: [
|
|
2432
2497
|
/* @__PURE__ */ e(
|
|
2433
|
-
|
|
2498
|
+
D,
|
|
2434
2499
|
{
|
|
2435
2500
|
order: 3,
|
|
2436
2501
|
fz: "h4",
|
|
@@ -2458,9 +2523,9 @@ function nr({ item: a }) {
|
|
|
2458
2523
|
}
|
|
2459
2524
|
);
|
|
2460
2525
|
}
|
|
2461
|
-
function
|
|
2526
|
+
function Hr({ id: a, subtitle: c, title: l, description: i, items: n = [], note: o, background: g = "gray", ta: d = "center" }) {
|
|
2462
2527
|
return /* @__PURE__ */ r(
|
|
2463
|
-
|
|
2528
|
+
F,
|
|
2464
2529
|
{
|
|
2465
2530
|
id: a,
|
|
2466
2531
|
subtitle: c,
|
|
@@ -2469,7 +2534,7 @@ function Mr({ id: a, subtitle: c, title: l, description: n, items: i = [], note:
|
|
|
2469
2534
|
ta: d,
|
|
2470
2535
|
maw: 900,
|
|
2471
2536
|
children: [
|
|
2472
|
-
|
|
2537
|
+
i && /* @__PURE__ */ e(
|
|
2473
2538
|
t,
|
|
2474
2539
|
{
|
|
2475
2540
|
c: "gray.6",
|
|
@@ -2479,7 +2544,7 @@ function Mr({ id: a, subtitle: c, title: l, description: n, items: i = [], note:
|
|
|
2479
2544
|
mx: d === "center" ? "auto" : void 0,
|
|
2480
2545
|
size: "lg",
|
|
2481
2546
|
lh: 1.7,
|
|
2482
|
-
children:
|
|
2547
|
+
children: i
|
|
2483
2548
|
}
|
|
2484
2549
|
),
|
|
2485
2550
|
/* @__PURE__ */ e(
|
|
@@ -2490,13 +2555,13 @@ function Mr({ id: a, subtitle: c, title: l, description: n, items: i = [], note:
|
|
|
2490
2555
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
2491
2556
|
px: { base: "lg", md: 40 },
|
|
2492
2557
|
py: { base: "xs", md: "md" },
|
|
2493
|
-
children:
|
|
2558
|
+
children: n.map((h, s) => /* @__PURE__ */ r(
|
|
2494
2559
|
z,
|
|
2495
2560
|
{
|
|
2496
2561
|
gutter: { base: 4, sm: "xl" },
|
|
2497
2562
|
py: { base: "lg", md: "xl" },
|
|
2498
2563
|
ta: "left",
|
|
2499
|
-
style:
|
|
2564
|
+
style: s === 0 ? void 0 : { borderTop: "1px solid var(--mantine-color-gray-2)" },
|
|
2500
2565
|
children: [
|
|
2501
2566
|
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: 4 }, children: /* @__PURE__ */ e(
|
|
2502
2567
|
t,
|
|
@@ -2530,11 +2595,11 @@ function Mr({ id: a, subtitle: c, title: l, description: n, items: i = [], note:
|
|
|
2530
2595
|
] })
|
|
2531
2596
|
]
|
|
2532
2597
|
},
|
|
2533
|
-
h.criterion ||
|
|
2598
|
+
h.criterion || s
|
|
2534
2599
|
))
|
|
2535
2600
|
}
|
|
2536
2601
|
),
|
|
2537
|
-
|
|
2602
|
+
o && /* @__PURE__ */ e(
|
|
2538
2603
|
t,
|
|
2539
2604
|
{
|
|
2540
2605
|
size: "sm",
|
|
@@ -2544,16 +2609,16 @@ function Mr({ id: a, subtitle: c, title: l, description: n, items: i = [], note:
|
|
|
2544
2609
|
maw: 720,
|
|
2545
2610
|
mx: d === "center" ? "auto" : void 0,
|
|
2546
2611
|
lh: 1.7,
|
|
2547
|
-
children:
|
|
2612
|
+
children: o
|
|
2548
2613
|
}
|
|
2549
2614
|
)
|
|
2550
2615
|
]
|
|
2551
2616
|
}
|
|
2552
2617
|
);
|
|
2553
2618
|
}
|
|
2554
|
-
function
|
|
2619
|
+
function Gr({ id: a, subtitle: c, title: l, description: i, cardLabel: n, items: o = [], footnote: g, background: d = "gray", ta: h = "center" }) {
|
|
2555
2620
|
return /* @__PURE__ */ r(
|
|
2556
|
-
|
|
2621
|
+
F,
|
|
2557
2622
|
{
|
|
2558
2623
|
id: a,
|
|
2559
2624
|
subtitle: c,
|
|
@@ -2562,7 +2627,7 @@ function Or({ id: a, subtitle: c, title: l, description: n, cardLabel: i, items:
|
|
|
2562
2627
|
ta: h,
|
|
2563
2628
|
maw: 800,
|
|
2564
2629
|
children: [
|
|
2565
|
-
|
|
2630
|
+
i && /* @__PURE__ */ e(
|
|
2566
2631
|
t,
|
|
2567
2632
|
{
|
|
2568
2633
|
c: "gray.6",
|
|
@@ -2572,7 +2637,7 @@ function Or({ id: a, subtitle: c, title: l, description: n, cardLabel: i, items:
|
|
|
2572
2637
|
maw: 720,
|
|
2573
2638
|
mx: h === "center" ? "auto" : void 0,
|
|
2574
2639
|
mb: 48,
|
|
2575
|
-
children:
|
|
2640
|
+
children: i
|
|
2576
2641
|
}
|
|
2577
2642
|
),
|
|
2578
2643
|
/* @__PURE__ */ r(
|
|
@@ -2584,7 +2649,7 @@ function Or({ id: a, subtitle: c, title: l, description: n, cardLabel: i, items:
|
|
|
2584
2649
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
2585
2650
|
ta: "left",
|
|
2586
2651
|
children: [
|
|
2587
|
-
|
|
2652
|
+
n && /* @__PURE__ */ e(
|
|
2588
2653
|
t,
|
|
2589
2654
|
{
|
|
2590
2655
|
size: "xs",
|
|
@@ -2593,7 +2658,7 @@ function Or({ id: a, subtitle: c, title: l, description: n, cardLabel: i, items:
|
|
|
2593
2658
|
lts: "1.5px",
|
|
2594
2659
|
c: "gray.4",
|
|
2595
2660
|
mb: "lg",
|
|
2596
|
-
children:
|
|
2661
|
+
children: n
|
|
2597
2662
|
}
|
|
2598
2663
|
),
|
|
2599
2664
|
/* @__PURE__ */ e(
|
|
@@ -2603,28 +2668,28 @@ function Or({ id: a, subtitle: c, title: l, description: n, cardLabel: i, items:
|
|
|
2603
2668
|
m: 0,
|
|
2604
2669
|
pl: "lg",
|
|
2605
2670
|
style: { display: "flex", flexDirection: "column", gap: 16 },
|
|
2606
|
-
children:
|
|
2671
|
+
children: o.map((s, m) => /* @__PURE__ */ r(
|
|
2607
2672
|
t,
|
|
2608
2673
|
{
|
|
2609
2674
|
component: "li",
|
|
2610
2675
|
c: "gray.6",
|
|
2611
2676
|
lh: 1.7,
|
|
2612
2677
|
children: [
|
|
2613
|
-
|
|
2678
|
+
s.lead && /* @__PURE__ */ e(
|
|
2614
2679
|
t,
|
|
2615
2680
|
{
|
|
2616
2681
|
component: "span",
|
|
2617
2682
|
fw: 700,
|
|
2618
2683
|
c: "gray.9",
|
|
2619
2684
|
inherit: !0,
|
|
2620
|
-
children:
|
|
2685
|
+
children: s.lead
|
|
2621
2686
|
}
|
|
2622
2687
|
),
|
|
2623
2688
|
" ",
|
|
2624
|
-
|
|
2689
|
+
s.text
|
|
2625
2690
|
]
|
|
2626
2691
|
},
|
|
2627
|
-
|
|
2692
|
+
s.lead || m
|
|
2628
2693
|
))
|
|
2629
2694
|
}
|
|
2630
2695
|
),
|
|
@@ -2660,18 +2725,18 @@ function Or({ id: a, subtitle: c, title: l, description: n, cardLabel: i, items:
|
|
|
2660
2725
|
}
|
|
2661
2726
|
);
|
|
2662
2727
|
}
|
|
2663
|
-
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" }) {
|
|
2664
2729
|
return /* @__PURE__ */ r(
|
|
2665
|
-
|
|
2730
|
+
F,
|
|
2666
2731
|
{
|
|
2667
2732
|
id: a,
|
|
2668
2733
|
subtitle: c,
|
|
2669
2734
|
title: l,
|
|
2670
|
-
background:
|
|
2735
|
+
background: s,
|
|
2671
2736
|
ta: m,
|
|
2672
2737
|
maw: 900,
|
|
2673
2738
|
children: [
|
|
2674
|
-
|
|
2739
|
+
i && /* @__PURE__ */ e(
|
|
2675
2740
|
t,
|
|
2676
2741
|
{
|
|
2677
2742
|
c: "gray.6",
|
|
@@ -2681,7 +2746,7 @@ function Lr({ id: a, subtitle: c, title: l, description: n, avatar: i, name: s,
|
|
|
2681
2746
|
mx: m === "center" ? "auto" : void 0,
|
|
2682
2747
|
fz: "lg",
|
|
2683
2748
|
lh: 1.6,
|
|
2684
|
-
children:
|
|
2749
|
+
children: i
|
|
2685
2750
|
}
|
|
2686
2751
|
),
|
|
2687
2752
|
/* @__PURE__ */ r(
|
|
@@ -2701,7 +2766,7 @@ function Lr({ id: a, subtitle: c, title: l, description: n, avatar: i, name: s,
|
|
|
2701
2766
|
gutter: { base: "xl", md: 48 },
|
|
2702
2767
|
align: "flex-start",
|
|
2703
2768
|
children: [
|
|
2704
|
-
|
|
2769
|
+
n && // O retrato vira linha própria e centralizada no celular,
|
|
2705
2770
|
// onde o layout de duas colunas não cabe.
|
|
2706
2771
|
/* @__PURE__ */ e(z.Col, { span: { base: 12, sm: "content" }, children: /* @__PURE__ */ e(
|
|
2707
2772
|
x,
|
|
@@ -2711,8 +2776,8 @@ function Lr({ id: a, subtitle: c, title: l, description: n, avatar: i, name: s,
|
|
|
2711
2776
|
children: /* @__PURE__ */ e(
|
|
2712
2777
|
_,
|
|
2713
2778
|
{
|
|
2714
|
-
src:
|
|
2715
|
-
alt:
|
|
2779
|
+
src: n.src,
|
|
2780
|
+
alt: n.alt || o || "",
|
|
2716
2781
|
w: "100%",
|
|
2717
2782
|
radius: "0",
|
|
2718
2783
|
style: {
|
|
@@ -2725,7 +2790,7 @@ function Lr({ id: a, subtitle: c, title: l, description: n, avatar: i, name: s,
|
|
|
2725
2790
|
}
|
|
2726
2791
|
) }),
|
|
2727
2792
|
/* @__PURE__ */ r(z.Col, { span: { base: 12, sm: "auto" }, children: [
|
|
2728
|
-
(
|
|
2793
|
+
(o || g) && /* @__PURE__ */ r(
|
|
2729
2794
|
y,
|
|
2730
2795
|
{
|
|
2731
2796
|
mb: "lg",
|
|
@@ -2733,18 +2798,18 @@ function Lr({ id: a, subtitle: c, title: l, description: n, avatar: i, name: s,
|
|
|
2733
2798
|
wrap: "wrap",
|
|
2734
2799
|
justify: { base: "center", sm: "flex-start" },
|
|
2735
2800
|
children: [
|
|
2736
|
-
|
|
2801
|
+
o && /* @__PURE__ */ e(
|
|
2737
2802
|
t,
|
|
2738
2803
|
{
|
|
2739
2804
|
fz: { base: "lg", md: "xl" },
|
|
2740
2805
|
fw: 800,
|
|
2741
2806
|
c: "gray.9",
|
|
2742
2807
|
style: { letterSpacing: "-0.02em" },
|
|
2743
|
-
children:
|
|
2808
|
+
children: o
|
|
2744
2809
|
}
|
|
2745
2810
|
),
|
|
2746
2811
|
g && /* @__PURE__ */ e(
|
|
2747
|
-
|
|
2812
|
+
P,
|
|
2748
2813
|
{
|
|
2749
2814
|
variant: "dot",
|
|
2750
2815
|
color: "gray",
|
|
@@ -2824,19 +2889,19 @@ function Lr({ id: a, subtitle: c, title: l, description: n, avatar: i, name: s,
|
|
|
2824
2889
|
}
|
|
2825
2890
|
);
|
|
2826
2891
|
}
|
|
2827
|
-
function
|
|
2892
|
+
function Qr({ id: a, badge: c, subtitle: l, title: i, description: n, items: o = [], background: g = "gray", ta: d = "center" }) {
|
|
2828
2893
|
return /* @__PURE__ */ r(
|
|
2829
|
-
|
|
2894
|
+
F,
|
|
2830
2895
|
{
|
|
2831
2896
|
id: a,
|
|
2832
2897
|
badge: c,
|
|
2833
2898
|
subtitle: l,
|
|
2834
|
-
title:
|
|
2899
|
+
title: i,
|
|
2835
2900
|
background: g,
|
|
2836
2901
|
ta: d,
|
|
2837
2902
|
maw: 900,
|
|
2838
2903
|
children: [
|
|
2839
|
-
|
|
2904
|
+
n && /* @__PURE__ */ e(
|
|
2840
2905
|
t,
|
|
2841
2906
|
{
|
|
2842
2907
|
c: "gray.6",
|
|
@@ -2846,16 +2911,16 @@ function Rr({ id: a, badge: c, subtitle: l, title: n, description: i, items: s =
|
|
|
2846
2911
|
mx: d === "center" ? "auto" : void 0,
|
|
2847
2912
|
fz: "lg",
|
|
2848
2913
|
lh: 1.6,
|
|
2849
|
-
children:
|
|
2914
|
+
children: n
|
|
2850
2915
|
}
|
|
2851
2916
|
),
|
|
2852
2917
|
/* @__PURE__ */ e(
|
|
2853
2918
|
A,
|
|
2854
2919
|
{
|
|
2855
|
-
cols: { base: 1, md:
|
|
2920
|
+
cols: { base: 1, md: o.length <= 4 ? o.length : 3 },
|
|
2856
2921
|
spacing: "xl",
|
|
2857
2922
|
verticalSpacing: { base: 56, md: "xl" },
|
|
2858
|
-
children:
|
|
2923
|
+
children: o.map((h, s) => {
|
|
2859
2924
|
const m = h.icon;
|
|
2860
2925
|
return /* @__PURE__ */ r(
|
|
2861
2926
|
x,
|
|
@@ -2878,7 +2943,7 @@ function Rr({ id: a, badge: c, subtitle: l, title: n, description: i, items: s =
|
|
|
2878
2943
|
letterSpacing: "-0.05em",
|
|
2879
2944
|
pointerEvents: "none"
|
|
2880
2945
|
},
|
|
2881
|
-
children: h.number || String(
|
|
2946
|
+
children: h.number || String(s + 1).padStart(2, "0")
|
|
2882
2947
|
}
|
|
2883
2948
|
),
|
|
2884
2949
|
m && /* @__PURE__ */ e(
|
|
@@ -2901,7 +2966,7 @@ function Rr({ id: a, badge: c, subtitle: l, title: n, description: i, items: s =
|
|
|
2901
2966
|
}
|
|
2902
2967
|
),
|
|
2903
2968
|
/* @__PURE__ */ e(
|
|
2904
|
-
|
|
2969
|
+
D,
|
|
2905
2970
|
{
|
|
2906
2971
|
order: 3,
|
|
2907
2972
|
fz: "h3",
|
|
@@ -2925,7 +2990,7 @@ function Rr({ id: a, badge: c, subtitle: l, title: n, description: i, items: s =
|
|
|
2925
2990
|
)
|
|
2926
2991
|
]
|
|
2927
2992
|
},
|
|
2928
|
-
h.title ||
|
|
2993
|
+
h.title || s
|
|
2929
2994
|
);
|
|
2930
2995
|
})
|
|
2931
2996
|
}
|
|
@@ -2934,12 +2999,12 @@ function Rr({ id: a, badge: c, subtitle: l, title: n, description: i, items: s =
|
|
|
2934
2999
|
}
|
|
2935
3000
|
);
|
|
2936
3001
|
}
|
|
2937
|
-
const
|
|
2938
|
-
function
|
|
2939
|
-
const [m, p] = H(() => Object.fromEntries(
|
|
2940
|
-
const { value:
|
|
2941
|
-
p((R) => ({ ...R, [b]:
|
|
2942
|
-
}, 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());
|
|
2943
3008
|
return /* @__PURE__ */ e(
|
|
2944
3009
|
x,
|
|
2945
3010
|
{
|
|
@@ -2947,14 +3012,14 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
2947
3012
|
component: "section",
|
|
2948
3013
|
py: { base: 80, md: 120 },
|
|
2949
3014
|
bg: "gray.9",
|
|
2950
|
-
children: /* @__PURE__ */ r(
|
|
3015
|
+
children: /* @__PURE__ */ r(B, { size: "md", children: [
|
|
2951
3016
|
c && /* @__PURE__ */ e(
|
|
2952
3017
|
y,
|
|
2953
3018
|
{
|
|
2954
3019
|
justify: "center",
|
|
2955
3020
|
mb: "md",
|
|
2956
3021
|
children: /* @__PURE__ */ e(
|
|
2957
|
-
|
|
3022
|
+
P,
|
|
2958
3023
|
{
|
|
2959
3024
|
variant: "light",
|
|
2960
3025
|
color: "gray",
|
|
@@ -2966,7 +3031,7 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
2966
3031
|
}
|
|
2967
3032
|
),
|
|
2968
3033
|
l && /* @__PURE__ */ e(
|
|
2969
|
-
|
|
3034
|
+
D,
|
|
2970
3035
|
{
|
|
2971
3036
|
order: 2,
|
|
2972
3037
|
ta: "center",
|
|
@@ -2976,7 +3041,7 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
2976
3041
|
children: l
|
|
2977
3042
|
}
|
|
2978
3043
|
),
|
|
2979
|
-
|
|
3044
|
+
i && /* @__PURE__ */ e(
|
|
2980
3045
|
t,
|
|
2981
3046
|
{
|
|
2982
3047
|
ta: "center",
|
|
@@ -2986,7 +3051,7 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
2986
3051
|
mx: "auto",
|
|
2987
3052
|
fz: "lg",
|
|
2988
3053
|
lh: 1.6,
|
|
2989
|
-
children:
|
|
3054
|
+
children: i
|
|
2990
3055
|
}
|
|
2991
3056
|
),
|
|
2992
3057
|
/* @__PURE__ */ e(
|
|
@@ -2997,15 +3062,15 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
2997
3062
|
bg: "white",
|
|
2998
3063
|
children: /* @__PURE__ */ e("form", { onSubmit: (b) => {
|
|
2999
3064
|
if (b.preventDefault(), w(!0), !S) return;
|
|
3000
|
-
const L = [g, "", ...
|
|
3065
|
+
const L = [g, "", ...n.filter((k) => m[k.name]?.trim()).map((k) => `${k.label}: ${m[k.name]}`)].join(`
|
|
3001
3066
|
`);
|
|
3002
|
-
if (
|
|
3003
|
-
const
|
|
3004
|
-
window.open(
|
|
3067
|
+
if (s?.(m), o) {
|
|
3068
|
+
const k = `https://wa.me/${o}?text=${encodeURIComponent(L)}`;
|
|
3069
|
+
window.open(k, "_blank", "noopener,noreferrer");
|
|
3005
3070
|
}
|
|
3006
3071
|
}, children: /* @__PURE__ */ r(f, { gap: "md", children: [
|
|
3007
|
-
/* @__PURE__ */ e(A, { cols: { base: 1, sm: 2 }, children:
|
|
3008
|
-
|
|
3072
|
+
/* @__PURE__ */ e(A, { cols: { base: 1, sm: 2 }, children: n.filter((b) => b.span !== "full").map((b) => /* @__PURE__ */ e(
|
|
3073
|
+
te,
|
|
3009
3074
|
{
|
|
3010
3075
|
label: b.label,
|
|
3011
3076
|
placeholder: b.placeholder,
|
|
@@ -3013,12 +3078,12 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
3013
3078
|
required: b.required,
|
|
3014
3079
|
value: m[b.name] || "",
|
|
3015
3080
|
onChange: T(b.name),
|
|
3016
|
-
error: u && b.required && !m[b.name]?.trim() ?
|
|
3081
|
+
error: u && b.required && !m[b.name]?.trim() ? pe(b) : null
|
|
3017
3082
|
},
|
|
3018
3083
|
b.name
|
|
3019
3084
|
)) }),
|
|
3020
|
-
|
|
3021
|
-
|
|
3085
|
+
n.filter((b) => b.span === "full").map((b) => /* @__PURE__ */ e(
|
|
3086
|
+
te,
|
|
3022
3087
|
{
|
|
3023
3088
|
label: b.label,
|
|
3024
3089
|
placeholder: b.placeholder,
|
|
@@ -3026,7 +3091,7 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
3026
3091
|
required: b.required,
|
|
3027
3092
|
value: m[b.name] || "",
|
|
3028
3093
|
onChange: T(b.name),
|
|
3029
|
-
error: u && b.required && !m[b.name]?.trim() ?
|
|
3094
|
+
error: u && b.required && !m[b.name]?.trim() ? pe(b) : null
|
|
3030
3095
|
},
|
|
3031
3096
|
b.name
|
|
3032
3097
|
)),
|
|
@@ -3061,7 +3126,7 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
3061
3126
|
color: "gray",
|
|
3062
3127
|
size: "sm",
|
|
3063
3128
|
children: /* @__PURE__ */ e(
|
|
3064
|
-
|
|
3129
|
+
fe,
|
|
3065
3130
|
{
|
|
3066
3131
|
size: 16,
|
|
3067
3132
|
stroke: 1.5
|
|
@@ -3087,14 +3152,14 @@ function $r({ id: a, badge: c, title: l, description: n, fields: i = [], whatsap
|
|
|
3087
3152
|
}
|
|
3088
3153
|
);
|
|
3089
3154
|
}
|
|
3090
|
-
function
|
|
3155
|
+
function Yr({ id: a, subtitle: c, title: l, traditionalCol: i, newCol: n, background: o = "white" }) {
|
|
3091
3156
|
return /* @__PURE__ */ e(
|
|
3092
|
-
|
|
3157
|
+
F,
|
|
3093
3158
|
{
|
|
3094
3159
|
id: a,
|
|
3095
3160
|
subtitle: c,
|
|
3096
3161
|
title: l,
|
|
3097
|
-
background:
|
|
3162
|
+
background: o,
|
|
3098
3163
|
children: /* @__PURE__ */ e(
|
|
3099
3164
|
I,
|
|
3100
3165
|
{
|
|
@@ -3110,7 +3175,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3110
3175
|
/* @__PURE__ */ e(
|
|
3111
3176
|
x,
|
|
3112
3177
|
{
|
|
3113
|
-
bg:
|
|
3178
|
+
bg: o === "gray" ? "gray.1" : "white",
|
|
3114
3179
|
p: { base: 30, md: 60 },
|
|
3115
3180
|
children: /* @__PURE__ */ r(f, { gap: "xl", children: [
|
|
3116
3181
|
/* @__PURE__ */ r(x, { children: [
|
|
@@ -3121,7 +3186,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3121
3186
|
fz: "h2",
|
|
3122
3187
|
c: "gray.9",
|
|
3123
3188
|
mb: 4,
|
|
3124
|
-
children:
|
|
3189
|
+
children: i.title
|
|
3125
3190
|
}
|
|
3126
3191
|
),
|
|
3127
3192
|
/* @__PURE__ */ e(
|
|
@@ -3132,7 +3197,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3132
3197
|
tt: "uppercase",
|
|
3133
3198
|
lts: "1.5px",
|
|
3134
3199
|
c: "gray.5",
|
|
3135
|
-
children:
|
|
3200
|
+
children: i.subtitle
|
|
3136
3201
|
}
|
|
3137
3202
|
)
|
|
3138
3203
|
] }),
|
|
@@ -3141,7 +3206,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3141
3206
|
{
|
|
3142
3207
|
gap: "md",
|
|
3143
3208
|
mb: 40,
|
|
3144
|
-
children:
|
|
3209
|
+
children: i.items.map((g, d) => /* @__PURE__ */ r(Be, { children: [
|
|
3145
3210
|
/* @__PURE__ */ r(y, { justify: "space-between", children: [
|
|
3146
3211
|
/* @__PURE__ */ e(
|
|
3147
3212
|
t,
|
|
@@ -3160,14 +3225,14 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3160
3225
|
}
|
|
3161
3226
|
)
|
|
3162
3227
|
] }),
|
|
3163
|
-
d <
|
|
3228
|
+
d < i.items.length - 1 && /* @__PURE__ */ e(j, { color: "var(--mantine-color-gray-2)" })
|
|
3164
3229
|
] }, d))
|
|
3165
3230
|
}
|
|
3166
3231
|
),
|
|
3167
3232
|
/* @__PURE__ */ r(
|
|
3168
3233
|
x,
|
|
3169
3234
|
{
|
|
3170
|
-
bg:
|
|
3235
|
+
bg: o === "gray" ? "gray.1" : "white",
|
|
3171
3236
|
p: "lg",
|
|
3172
3237
|
radius: "0",
|
|
3173
3238
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
@@ -3178,7 +3243,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3178
3243
|
{
|
|
3179
3244
|
fw: 900,
|
|
3180
3245
|
c: "gray.7",
|
|
3181
|
-
children:
|
|
3246
|
+
children: i.totalLabel || "Total Estimado"
|
|
3182
3247
|
}
|
|
3183
3248
|
),
|
|
3184
3249
|
/* @__PURE__ */ e(
|
|
@@ -3187,18 +3252,18 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3187
3252
|
fw: 900,
|
|
3188
3253
|
fz: 32,
|
|
3189
3254
|
c: "gray.9",
|
|
3190
|
-
children:
|
|
3255
|
+
children: i.totalValue
|
|
3191
3256
|
}
|
|
3192
3257
|
)
|
|
3193
3258
|
] }),
|
|
3194
|
-
|
|
3259
|
+
i.footerText && /* @__PURE__ */ e(
|
|
3195
3260
|
t,
|
|
3196
3261
|
{
|
|
3197
3262
|
size: "xs",
|
|
3198
3263
|
c: "red.6",
|
|
3199
3264
|
ta: "right",
|
|
3200
3265
|
mt: 4,
|
|
3201
|
-
children:
|
|
3266
|
+
children: i.footerText
|
|
3202
3267
|
}
|
|
3203
3268
|
)
|
|
3204
3269
|
]
|
|
@@ -3210,7 +3275,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3210
3275
|
/* @__PURE__ */ e(
|
|
3211
3276
|
x,
|
|
3212
3277
|
{
|
|
3213
|
-
bg:
|
|
3278
|
+
bg: o === "gray" ? "gray.1" : "white",
|
|
3214
3279
|
p: { base: 30, md: 60 },
|
|
3215
3280
|
pos: "relative",
|
|
3216
3281
|
children: /* @__PURE__ */ r(
|
|
@@ -3228,16 +3293,16 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3228
3293
|
fz: "h2",
|
|
3229
3294
|
c: "gray.9",
|
|
3230
3295
|
mb: 4,
|
|
3231
|
-
children:
|
|
3296
|
+
children: n.title
|
|
3232
3297
|
}
|
|
3233
3298
|
),
|
|
3234
|
-
|
|
3235
|
-
|
|
3299
|
+
n.badge && /* @__PURE__ */ e(
|
|
3300
|
+
P,
|
|
3236
3301
|
{
|
|
3237
3302
|
color: "gray.9",
|
|
3238
3303
|
variant: "filled",
|
|
3239
3304
|
radius: "0",
|
|
3240
|
-
children:
|
|
3305
|
+
children: n.badge
|
|
3241
3306
|
}
|
|
3242
3307
|
)
|
|
3243
3308
|
] }),
|
|
@@ -3246,7 +3311,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3246
3311
|
{
|
|
3247
3312
|
size: "sm",
|
|
3248
3313
|
c: "gray.6",
|
|
3249
|
-
children:
|
|
3314
|
+
children: n.description
|
|
3250
3315
|
}
|
|
3251
3316
|
)
|
|
3252
3317
|
] }),
|
|
@@ -3272,13 +3337,13 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3272
3337
|
)
|
|
3273
3338
|
}
|
|
3274
3339
|
),
|
|
3275
|
-
children:
|
|
3340
|
+
children: n.items.map((g, d) => /* @__PURE__ */ e($.Item, { children: g }, d))
|
|
3276
3341
|
}
|
|
3277
3342
|
),
|
|
3278
|
-
|
|
3343
|
+
n.pricingBox && /* @__PURE__ */ e(
|
|
3279
3344
|
x,
|
|
3280
3345
|
{
|
|
3281
|
-
bg:
|
|
3346
|
+
bg: o === "gray" ? "gray.1" : "white",
|
|
3282
3347
|
p: "lg",
|
|
3283
3348
|
radius: "0",
|
|
3284
3349
|
bd: "1px solid var(--mantine-color-gray-2)",
|
|
@@ -3291,7 +3356,7 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3291
3356
|
tt: "uppercase",
|
|
3292
3357
|
lts: "1.5px",
|
|
3293
3358
|
c: "gray.5",
|
|
3294
|
-
children:
|
|
3359
|
+
children: n.pricingBox.label
|
|
3295
3360
|
}
|
|
3296
3361
|
),
|
|
3297
3362
|
/* @__PURE__ */ e(
|
|
@@ -3301,29 +3366,29 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3301
3366
|
fz: 48,
|
|
3302
3367
|
c: "gray.9",
|
|
3303
3368
|
lh: 1,
|
|
3304
|
-
children:
|
|
3369
|
+
children: n.pricingBox.price
|
|
3305
3370
|
}
|
|
3306
3371
|
),
|
|
3307
|
-
|
|
3372
|
+
n.pricingBox.subtext && /* @__PURE__ */ e(
|
|
3308
3373
|
t,
|
|
3309
3374
|
{
|
|
3310
3375
|
size: "xs",
|
|
3311
3376
|
c: "gray.5",
|
|
3312
3377
|
mt: "sm",
|
|
3313
|
-
children:
|
|
3378
|
+
children: n.pricingBox.subtext
|
|
3314
3379
|
}
|
|
3315
3380
|
)
|
|
3316
3381
|
] })
|
|
3317
3382
|
}
|
|
3318
3383
|
),
|
|
3319
|
-
|
|
3320
|
-
|
|
3384
|
+
n.cta && /* @__PURE__ */ e(x, { mt: "xl", children: /* @__PURE__ */ e(
|
|
3385
|
+
M,
|
|
3321
3386
|
{
|
|
3322
|
-
label:
|
|
3323
|
-
href:
|
|
3324
|
-
icon:
|
|
3325
|
-
size:
|
|
3326
|
-
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",
|
|
3327
3392
|
fullWidth: !0
|
|
3328
3393
|
}
|
|
3329
3394
|
) })
|
|
@@ -3340,34 +3405,34 @@ function Vr({ id: a, subtitle: c, title: l, traditionalCol: n, newCol: i, backgr
|
|
|
3340
3405
|
}
|
|
3341
3406
|
);
|
|
3342
3407
|
}
|
|
3343
|
-
function
|
|
3408
|
+
function Jr({
|
|
3344
3409
|
id: a,
|
|
3345
3410
|
badge: c,
|
|
3346
3411
|
subtitle: l,
|
|
3347
|
-
title:
|
|
3348
|
-
description:
|
|
3349
|
-
billingOptions:
|
|
3412
|
+
title: i,
|
|
3413
|
+
description: n,
|
|
3414
|
+
billingOptions: o = [
|
|
3350
3415
|
{ label: "Mensal", value: "monthly" },
|
|
3351
3416
|
{ label: "Anual", value: "annual" }
|
|
3352
3417
|
],
|
|
3353
3418
|
billing: g,
|
|
3354
3419
|
setBilling: d,
|
|
3355
3420
|
promoBadge: h,
|
|
3356
|
-
plans:
|
|
3421
|
+
plans: s,
|
|
3357
3422
|
background: m = "white"
|
|
3358
3423
|
}) {
|
|
3359
3424
|
return /* @__PURE__ */ r(
|
|
3360
|
-
|
|
3425
|
+
F,
|
|
3361
3426
|
{
|
|
3362
3427
|
id: a,
|
|
3363
3428
|
badge: c,
|
|
3364
3429
|
subtitle: l,
|
|
3365
|
-
title:
|
|
3430
|
+
title: i,
|
|
3366
3431
|
ta: "center",
|
|
3367
3432
|
background: m,
|
|
3368
3433
|
maw: 900,
|
|
3369
3434
|
children: [
|
|
3370
|
-
|
|
3435
|
+
n && /* @__PURE__ */ e(
|
|
3371
3436
|
t,
|
|
3372
3437
|
{
|
|
3373
3438
|
c: "gray.6",
|
|
@@ -3377,10 +3442,10 @@ function Wr({
|
|
|
3377
3442
|
mx: "auto",
|
|
3378
3443
|
fz: "lg",
|
|
3379
3444
|
lh: 1.6,
|
|
3380
|
-
children:
|
|
3445
|
+
children: n
|
|
3381
3446
|
}
|
|
3382
3447
|
),
|
|
3383
|
-
|
|
3448
|
+
o && o.length > 0 && /* @__PURE__ */ e(
|
|
3384
3449
|
f,
|
|
3385
3450
|
{
|
|
3386
3451
|
align: "center",
|
|
@@ -3388,20 +3453,20 @@ function Wr({
|
|
|
3388
3453
|
mb: 80,
|
|
3389
3454
|
children: /* @__PURE__ */ r(y, { gap: "xs", children: [
|
|
3390
3455
|
/* @__PURE__ */ e(
|
|
3391
|
-
|
|
3456
|
+
qe,
|
|
3392
3457
|
{
|
|
3393
3458
|
value: g,
|
|
3394
3459
|
onChange: d,
|
|
3395
3460
|
radius: "0",
|
|
3396
3461
|
size: "md",
|
|
3397
|
-
data:
|
|
3462
|
+
data: o,
|
|
3398
3463
|
color: "gray.9",
|
|
3399
3464
|
bg: "white",
|
|
3400
3465
|
style: { border: "1px solid var(--mantine-color-gray-2)" }
|
|
3401
3466
|
}
|
|
3402
3467
|
),
|
|
3403
3468
|
g === "annual" && h && /* @__PURE__ */ e(
|
|
3404
|
-
|
|
3469
|
+
P,
|
|
3405
3470
|
{
|
|
3406
3471
|
variant: "filled",
|
|
3407
3472
|
color: "gray.9",
|
|
@@ -3416,10 +3481,10 @@ function Wr({
|
|
|
3416
3481
|
/* @__PURE__ */ e(
|
|
3417
3482
|
A,
|
|
3418
3483
|
{
|
|
3419
|
-
cols: { base: 1, md:
|
|
3484
|
+
cols: { base: 1, md: s.length <= 3 ? s.length : 3 },
|
|
3420
3485
|
spacing: "xl",
|
|
3421
3486
|
verticalSpacing: "xl",
|
|
3422
|
-
children:
|
|
3487
|
+
children: s.map((p) => /* @__PURE__ */ r(
|
|
3423
3488
|
I,
|
|
3424
3489
|
{
|
|
3425
3490
|
p: "xl",
|
|
@@ -3455,7 +3520,7 @@ function Wr({
|
|
|
3455
3520
|
}
|
|
3456
3521
|
),
|
|
3457
3522
|
p.highlight && /* @__PURE__ */ e(
|
|
3458
|
-
|
|
3523
|
+
P,
|
|
3459
3524
|
{
|
|
3460
3525
|
variant: "dot",
|
|
3461
3526
|
color: "gray.9",
|
|
@@ -3607,7 +3672,7 @@ function Wr({
|
|
|
3607
3672
|
)
|
|
3608
3673
|
] }),
|
|
3609
3674
|
/* @__PURE__ */ e(
|
|
3610
|
-
|
|
3675
|
+
j,
|
|
3611
3676
|
{
|
|
3612
3677
|
mb: "xl",
|
|
3613
3678
|
color: "gray.1"
|
|
@@ -3651,7 +3716,7 @@ function Wr({
|
|
|
3651
3716
|
}
|
|
3652
3717
|
),
|
|
3653
3718
|
p.cta && /* @__PURE__ */ e(x, { mt: "auto", children: /* @__PURE__ */ e(
|
|
3654
|
-
|
|
3719
|
+
M,
|
|
3655
3720
|
{
|
|
3656
3721
|
label: p.cta.label,
|
|
3657
3722
|
href: p.cta.href,
|
|
@@ -3692,8 +3757,8 @@ function Wr({
|
|
|
3692
3757
|
}
|
|
3693
3758
|
);
|
|
3694
3759
|
}
|
|
3695
|
-
function
|
|
3696
|
-
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 = {
|
|
3697
3762
|
item: {
|
|
3698
3763
|
backgroundColor: d === "gray" ? "gray.1" : "white",
|
|
3699
3764
|
border: "1px solid var(--mantine-color-gray-2)"
|
|
@@ -3713,17 +3778,17 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3713
3778
|
}
|
|
3714
3779
|
};
|
|
3715
3780
|
return /* @__PURE__ */ r(
|
|
3716
|
-
|
|
3781
|
+
F,
|
|
3717
3782
|
{
|
|
3718
3783
|
id: a,
|
|
3719
3784
|
badge: c,
|
|
3720
3785
|
subtitle: l,
|
|
3721
|
-
title:
|
|
3786
|
+
title: i,
|
|
3722
3787
|
background: d,
|
|
3723
3788
|
ta: h,
|
|
3724
3789
|
maw: h === "center" ? 900 : 800,
|
|
3725
3790
|
children: [
|
|
3726
|
-
|
|
3791
|
+
n && /* @__PURE__ */ e(
|
|
3727
3792
|
t,
|
|
3728
3793
|
{
|
|
3729
3794
|
c: "gray.6",
|
|
@@ -3733,7 +3798,7 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3733
3798
|
maw: 700,
|
|
3734
3799
|
mx: h === "center" ? "auto" : void 0,
|
|
3735
3800
|
mb: 40,
|
|
3736
|
-
children:
|
|
3801
|
+
children: n
|
|
3737
3802
|
}
|
|
3738
3803
|
),
|
|
3739
3804
|
/* @__PURE__ */ r(
|
|
@@ -3743,20 +3808,20 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3743
3808
|
spacing: "xl",
|
|
3744
3809
|
children: [
|
|
3745
3810
|
/* @__PURE__ */ e(
|
|
3746
|
-
|
|
3811
|
+
N,
|
|
3747
3812
|
{
|
|
3748
3813
|
variant: "separated",
|
|
3749
3814
|
radius: "0",
|
|
3750
3815
|
chevronPosition: "right",
|
|
3751
3816
|
styles: m,
|
|
3752
|
-
children:
|
|
3753
|
-
|
|
3817
|
+
children: o.slice(0, s).map((p, u) => /* @__PURE__ */ r(
|
|
3818
|
+
N.Item,
|
|
3754
3819
|
{
|
|
3755
3820
|
value: p.value || String(u),
|
|
3756
3821
|
mb: "md",
|
|
3757
3822
|
children: [
|
|
3758
3823
|
/* @__PURE__ */ e(
|
|
3759
|
-
|
|
3824
|
+
N.Control,
|
|
3760
3825
|
{
|
|
3761
3826
|
icon: /* @__PURE__ */ e(
|
|
3762
3827
|
v,
|
|
@@ -3770,7 +3835,7 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3770
3835
|
children: p.question
|
|
3771
3836
|
}
|
|
3772
3837
|
),
|
|
3773
|
-
/* @__PURE__ */ e(
|
|
3838
|
+
/* @__PURE__ */ e(N.Panel, { c: "gray.6", children: p.answer })
|
|
3774
3839
|
]
|
|
3775
3840
|
},
|
|
3776
3841
|
p.value || u
|
|
@@ -3778,20 +3843,20 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3778
3843
|
}
|
|
3779
3844
|
),
|
|
3780
3845
|
/* @__PURE__ */ e(
|
|
3781
|
-
|
|
3846
|
+
N,
|
|
3782
3847
|
{
|
|
3783
3848
|
variant: "separated",
|
|
3784
3849
|
radius: "0",
|
|
3785
3850
|
chevronPosition: "right",
|
|
3786
3851
|
styles: m,
|
|
3787
|
-
children:
|
|
3788
|
-
|
|
3852
|
+
children: o.slice(s).map((p, u) => /* @__PURE__ */ r(
|
|
3853
|
+
N.Item,
|
|
3789
3854
|
{
|
|
3790
|
-
value: p.value || String(
|
|
3855
|
+
value: p.value || String(s + u),
|
|
3791
3856
|
mb: "md",
|
|
3792
3857
|
children: [
|
|
3793
3858
|
/* @__PURE__ */ e(
|
|
3794
|
-
|
|
3859
|
+
N.Control,
|
|
3795
3860
|
{
|
|
3796
3861
|
icon: /* @__PURE__ */ e(
|
|
3797
3862
|
v,
|
|
@@ -3805,10 +3870,10 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3805
3870
|
children: p.question
|
|
3806
3871
|
}
|
|
3807
3872
|
),
|
|
3808
|
-
/* @__PURE__ */ e(
|
|
3873
|
+
/* @__PURE__ */ e(N.Panel, { c: "gray.6", children: p.answer })
|
|
3809
3874
|
]
|
|
3810
3875
|
},
|
|
3811
|
-
p.value ||
|
|
3876
|
+
p.value || s + u
|
|
3812
3877
|
))
|
|
3813
3878
|
}
|
|
3814
3879
|
)
|
|
@@ -3862,7 +3927,7 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3862
3927
|
}
|
|
3863
3928
|
),
|
|
3864
3929
|
/* @__PURE__ */ e(f, { align: { base: "center", md: "flex-end" }, children: /* @__PURE__ */ e(
|
|
3865
|
-
|
|
3930
|
+
M,
|
|
3866
3931
|
{
|
|
3867
3932
|
label: g.cta.label,
|
|
3868
3933
|
href: g.cta.href,
|
|
@@ -3881,20 +3946,20 @@ function Ur({ id: a, badge: c, subtitle: l, title: n, description: i, questions:
|
|
|
3881
3946
|
}
|
|
3882
3947
|
);
|
|
3883
3948
|
}
|
|
3884
|
-
function
|
|
3949
|
+
function ea({ id: a, title: c, subtitle: l, items: i = [], background: n = "gray" }) {
|
|
3885
3950
|
return /* @__PURE__ */ e(
|
|
3886
|
-
|
|
3951
|
+
F,
|
|
3887
3952
|
{
|
|
3888
3953
|
id: a,
|
|
3889
|
-
background:
|
|
3954
|
+
background: n,
|
|
3890
3955
|
title: c,
|
|
3891
3956
|
subtitle: l,
|
|
3892
3957
|
children: /* @__PURE__ */ e(
|
|
3893
3958
|
A,
|
|
3894
3959
|
{
|
|
3895
|
-
cols: { base: 1, md:
|
|
3960
|
+
cols: { base: 1, md: i.length > 3 ? 4 : i.length || 3 },
|
|
3896
3961
|
spacing: "xl",
|
|
3897
|
-
children:
|
|
3962
|
+
children: i.map((o, g) => /* @__PURE__ */ e(
|
|
3898
3963
|
I,
|
|
3899
3964
|
{
|
|
3900
3965
|
p: "xl",
|
|
@@ -3909,7 +3974,7 @@ function _r({ id: a, title: c, subtitle: l, items: n = [], background: i = "gray
|
|
|
3909
3974
|
h: "100%",
|
|
3910
3975
|
children: [
|
|
3911
3976
|
/* @__PURE__ */ e(
|
|
3912
|
-
|
|
3977
|
+
Re,
|
|
3913
3978
|
{
|
|
3914
3979
|
size: 32,
|
|
3915
3980
|
color: "var(--mantine-color-gray-3)"
|
|
@@ -3925,7 +3990,7 @@ function _r({ id: a, title: c, subtitle: l, items: n = [], background: i = "gray
|
|
|
3925
3990
|
flex: 1,
|
|
3926
3991
|
children: [
|
|
3927
3992
|
'"',
|
|
3928
|
-
|
|
3993
|
+
o.content,
|
|
3929
3994
|
'"'
|
|
3930
3995
|
]
|
|
3931
3996
|
}
|
|
@@ -3937,22 +4002,23 @@ function _r({ id: a, title: c, subtitle: l, items: n = [], background: i = "gray
|
|
|
3937
4002
|
mt: "xl",
|
|
3938
4003
|
children: [
|
|
3939
4004
|
/* @__PURE__ */ e(
|
|
3940
|
-
|
|
4005
|
+
De,
|
|
3941
4006
|
{
|
|
3942
4007
|
size: "md",
|
|
3943
4008
|
radius: "0",
|
|
3944
4009
|
color: "gray",
|
|
3945
|
-
src:
|
|
3946
|
-
children:
|
|
4010
|
+
src: o.avatarSrc,
|
|
4011
|
+
children: o.initials
|
|
3947
4012
|
}
|
|
3948
4013
|
),
|
|
3949
4014
|
/* @__PURE__ */ r(f, { gap: 0, children: [
|
|
3950
4015
|
/* @__PURE__ */ e(
|
|
3951
4016
|
t,
|
|
3952
4017
|
{
|
|
4018
|
+
c: "gray.9",
|
|
3953
4019
|
size: "sm",
|
|
3954
4020
|
fw: 900,
|
|
3955
|
-
children:
|
|
4021
|
+
children: o.name
|
|
3956
4022
|
}
|
|
3957
4023
|
),
|
|
3958
4024
|
/* @__PURE__ */ e(
|
|
@@ -3963,7 +4029,7 @@ function _r({ id: a, title: c, subtitle: l, items: n = [], background: i = "gray
|
|
|
3963
4029
|
tt: "uppercase",
|
|
3964
4030
|
lts: "1px",
|
|
3965
4031
|
c: "gray.5",
|
|
3966
|
-
children:
|
|
4032
|
+
children: o.role
|
|
3967
4033
|
}
|
|
3968
4034
|
)
|
|
3969
4035
|
] })
|
|
@@ -3981,17 +4047,17 @@ function _r({ id: a, title: c, subtitle: l, items: n = [], background: i = "gray
|
|
|
3981
4047
|
}
|
|
3982
4048
|
);
|
|
3983
4049
|
}
|
|
3984
|
-
const
|
|
4050
|
+
const ge = {
|
|
3985
4051
|
root: { height: "auto", maxWidth: "100%" },
|
|
3986
4052
|
label: { whiteSpace: "normal", lineHeight: 1.4 },
|
|
3987
4053
|
inner: { paddingTop: 12, paddingBottom: 12 }
|
|
3988
4054
|
};
|
|
3989
|
-
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" }) {
|
|
3990
4056
|
return /* @__PURE__ */ e(
|
|
3991
|
-
|
|
4057
|
+
F,
|
|
3992
4058
|
{
|
|
3993
4059
|
id: a,
|
|
3994
|
-
background:
|
|
4060
|
+
background: s,
|
|
3995
4061
|
ta: "center",
|
|
3996
4062
|
children: /* @__PURE__ */ e(
|
|
3997
4063
|
I,
|
|
@@ -4023,25 +4089,25 @@ function be({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: i, f
|
|
|
4023
4089
|
// da página (um 404, por exemplo) e sem heading ela fica
|
|
4024
4090
|
// sem estrutura para leitor de tela.
|
|
4025
4091
|
/* @__PURE__ */ e(
|
|
4026
|
-
|
|
4092
|
+
D,
|
|
4027
4093
|
{
|
|
4028
|
-
order:
|
|
4094
|
+
order: i,
|
|
4029
4095
|
fz: "var(--fz-section-title)",
|
|
4030
4096
|
lh: 1.2,
|
|
4031
4097
|
maw: 700,
|
|
4032
4098
|
children: l
|
|
4033
4099
|
}
|
|
4034
4100
|
),
|
|
4035
|
-
|
|
4101
|
+
n && /* @__PURE__ */ e(
|
|
4036
4102
|
t,
|
|
4037
4103
|
{
|
|
4038
4104
|
c: "gray.7",
|
|
4039
4105
|
size: "xl",
|
|
4040
4106
|
maw: m === "center" ? 550 : 640,
|
|
4041
|
-
children:
|
|
4107
|
+
children: n
|
|
4042
4108
|
}
|
|
4043
4109
|
),
|
|
4044
|
-
|
|
4110
|
+
o && o.length > 0 && /* @__PURE__ */ r(x, { ta: "left", children: [
|
|
4045
4111
|
g && /* @__PURE__ */ e(
|
|
4046
4112
|
t,
|
|
4047
4113
|
{
|
|
@@ -4071,7 +4137,7 @@ function be({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: i, f
|
|
|
4071
4137
|
)
|
|
4072
4138
|
}
|
|
4073
4139
|
),
|
|
4074
|
-
children:
|
|
4140
|
+
children: o.map((u, w) => /* @__PURE__ */ e($.Item, { children: /* @__PURE__ */ e(
|
|
4075
4141
|
t,
|
|
4076
4142
|
{
|
|
4077
4143
|
c: "gray.6",
|
|
@@ -4100,7 +4166,7 @@ function be({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: i, f
|
|
|
4100
4166
|
className: "rlg-cta-group",
|
|
4101
4167
|
children: [
|
|
4102
4168
|
d && /* @__PURE__ */ e(
|
|
4103
|
-
|
|
4169
|
+
M,
|
|
4104
4170
|
{
|
|
4105
4171
|
label: d.label,
|
|
4106
4172
|
href: d.href,
|
|
@@ -4112,11 +4178,11 @@ function be({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: i, f
|
|
|
4112
4178
|
px: d.px,
|
|
4113
4179
|
variant: d.variant,
|
|
4114
4180
|
color: d.color,
|
|
4115
|
-
styles:
|
|
4181
|
+
styles: ge
|
|
4116
4182
|
}
|
|
4117
4183
|
),
|
|
4118
4184
|
h && /* @__PURE__ */ e(
|
|
4119
|
-
|
|
4185
|
+
M,
|
|
4120
4186
|
{
|
|
4121
4187
|
label: h.label,
|
|
4122
4188
|
href: h.href,
|
|
@@ -4128,7 +4194,7 @@ function be({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: i, f
|
|
|
4128
4194
|
px: h.px,
|
|
4129
4195
|
variant: h.variant || "default",
|
|
4130
4196
|
color: h.color,
|
|
4131
|
-
styles:
|
|
4197
|
+
styles: ge
|
|
4132
4198
|
}
|
|
4133
4199
|
)
|
|
4134
4200
|
]
|
|
@@ -4144,27 +4210,27 @@ function be({ id: a, subtitle: c, title: l, titleOrder: n = 2, description: i, f
|
|
|
4144
4210
|
}
|
|
4145
4211
|
);
|
|
4146
4212
|
}
|
|
4147
|
-
const
|
|
4148
|
-
function
|
|
4149
|
-
|
|
4213
|
+
const ra = ze;
|
|
4214
|
+
function mr() {
|
|
4215
|
+
ue(() => {
|
|
4150
4216
|
const a = document.createElement("meta");
|
|
4151
4217
|
return a.name = "robots", a.content = "noindex, follow", document.head.appendChild(a), () => a.remove();
|
|
4152
4218
|
}, []);
|
|
4153
4219
|
}
|
|
4154
|
-
function
|
|
4155
|
-
return
|
|
4156
|
-
|
|
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,
|
|
4157
4223
|
{
|
|
4158
4224
|
subtitle: a,
|
|
4159
4225
|
title: c,
|
|
4160
4226
|
titleOrder: 1,
|
|
4161
4227
|
description: l,
|
|
4162
|
-
background:
|
|
4163
|
-
cta:
|
|
4228
|
+
background: o,
|
|
4229
|
+
cta: n ?? {
|
|
4164
4230
|
label: "Voltar para a home",
|
|
4165
|
-
href:
|
|
4231
|
+
href: i,
|
|
4166
4232
|
leftSection: /* @__PURE__ */ e(
|
|
4167
|
-
|
|
4233
|
+
$e,
|
|
4168
4234
|
{
|
|
4169
4235
|
size: 18,
|
|
4170
4236
|
stroke: 1.5
|
|
@@ -4174,13 +4240,13 @@ function Gr({ subtitle: a = "Erro 404", title: c = "Esta página não existe", d
|
|
|
4174
4240
|
}
|
|
4175
4241
|
);
|
|
4176
4242
|
}
|
|
4177
|
-
function
|
|
4178
|
-
const
|
|
4243
|
+
function ur({ text: a = "Selo Exclusivo", color: c = "green.6", background: l = "gray" }) {
|
|
4244
|
+
const i = O(l);
|
|
4179
4245
|
return /* @__PURE__ */ e(
|
|
4180
4246
|
x,
|
|
4181
4247
|
{
|
|
4182
4248
|
p: "xs",
|
|
4183
|
-
bg:
|
|
4249
|
+
bg: i,
|
|
4184
4250
|
style: {
|
|
4185
4251
|
border: "1px solid var(--mantine-color-gray-2)",
|
|
4186
4252
|
display: "inline-block"
|
|
@@ -4193,7 +4259,7 @@ function or({ text: a = "Selo Exclusivo", color: c = "green.6", background: l =
|
|
|
4193
4259
|
variant: "light",
|
|
4194
4260
|
size: "sm",
|
|
4195
4261
|
children: /* @__PURE__ */ e(
|
|
4196
|
-
|
|
4262
|
+
Ve,
|
|
4197
4263
|
{
|
|
4198
4264
|
size: 14,
|
|
4199
4265
|
"aria-hidden": "true"
|
|
@@ -4216,8 +4282,8 @@ function or({ text: a = "Selo Exclusivo", color: c = "green.6", background: l =
|
|
|
4216
4282
|
}
|
|
4217
4283
|
);
|
|
4218
4284
|
}
|
|
4219
|
-
const
|
|
4220
|
-
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 }) {
|
|
4221
4287
|
const h = O(g);
|
|
4222
4288
|
return /* @__PURE__ */ e(
|
|
4223
4289
|
x,
|
|
@@ -4226,7 +4292,7 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4226
4292
|
py: "xl",
|
|
4227
4293
|
bg: h,
|
|
4228
4294
|
bd: { top: "1px solid var(--mantine-color-gray-2)" },
|
|
4229
|
-
children: /* @__PURE__ */ r(
|
|
4295
|
+
children: /* @__PURE__ */ r(B, { size: "xl", children: [
|
|
4230
4296
|
/* @__PURE__ */ r(
|
|
4231
4297
|
A,
|
|
4232
4298
|
{
|
|
@@ -4234,7 +4300,7 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4234
4300
|
spacing: "xl",
|
|
4235
4301
|
children: [
|
|
4236
4302
|
/* @__PURE__ */ r(f, { gap: "lg", children: [
|
|
4237
|
-
a && /* @__PURE__ */ e(
|
|
4303
|
+
a && /* @__PURE__ */ e(ee, { logo: a }),
|
|
4238
4304
|
c && /* @__PURE__ */ e(
|
|
4239
4305
|
t,
|
|
4240
4306
|
{
|
|
@@ -4252,11 +4318,11 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4252
4318
|
{
|
|
4253
4319
|
cols: {
|
|
4254
4320
|
base: 2,
|
|
4255
|
-
sm: l.length + (
|
|
4321
|
+
sm: l.length + (i?.length > 0 ? 1 : 0) || 4
|
|
4256
4322
|
},
|
|
4257
4323
|
spacing: "xl",
|
|
4258
4324
|
children: [
|
|
4259
|
-
l.map((
|
|
4325
|
+
l.map((s, m) => /* @__PURE__ */ r(
|
|
4260
4326
|
f,
|
|
4261
4327
|
{
|
|
4262
4328
|
gap: "md",
|
|
@@ -4264,15 +4330,16 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4264
4330
|
/* @__PURE__ */ e(
|
|
4265
4331
|
t,
|
|
4266
4332
|
{
|
|
4333
|
+
c: "gray.9",
|
|
4267
4334
|
fw: 900,
|
|
4268
4335
|
size: "xs",
|
|
4269
4336
|
tt: "uppercase",
|
|
4270
4337
|
lts: "1.5px",
|
|
4271
|
-
children:
|
|
4338
|
+
children: s.title
|
|
4272
4339
|
}
|
|
4273
4340
|
),
|
|
4274
|
-
/* @__PURE__ */ e(f, { gap: "xs", children:
|
|
4275
|
-
|
|
4341
|
+
/* @__PURE__ */ e(f, { gap: "xs", children: s.links.map((p, u) => /* @__PURE__ */ e(
|
|
4342
|
+
me,
|
|
4276
4343
|
{
|
|
4277
4344
|
c: "gray.6",
|
|
4278
4345
|
size: "sm",
|
|
@@ -4287,10 +4354,11 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4287
4354
|
},
|
|
4288
4355
|
m
|
|
4289
4356
|
)),
|
|
4290
|
-
|
|
4357
|
+
i && i.length > 0 && /* @__PURE__ */ r(f, { gap: "md", children: [
|
|
4291
4358
|
/* @__PURE__ */ e(
|
|
4292
4359
|
t,
|
|
4293
4360
|
{
|
|
4361
|
+
c: "gray.9",
|
|
4294
4362
|
fw: 900,
|
|
4295
4363
|
size: "xs",
|
|
4296
4364
|
tt: "uppercase",
|
|
@@ -4298,18 +4366,18 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4298
4366
|
children: "Social"
|
|
4299
4367
|
}
|
|
4300
4368
|
),
|
|
4301
|
-
/* @__PURE__ */ e(y, { gap: "xs", children:
|
|
4302
|
-
|
|
4369
|
+
/* @__PURE__ */ e(y, { gap: "xs", children: i.map((s, m) => /* @__PURE__ */ e(
|
|
4370
|
+
Y,
|
|
4303
4371
|
{
|
|
4304
4372
|
size: "md",
|
|
4305
4373
|
variant: "subtle",
|
|
4306
4374
|
color: "gray",
|
|
4307
4375
|
component: "a",
|
|
4308
|
-
href:
|
|
4376
|
+
href: s.href,
|
|
4309
4377
|
target: "_blank",
|
|
4310
4378
|
radius: "0",
|
|
4311
|
-
"aria-label":
|
|
4312
|
-
children:
|
|
4379
|
+
"aria-label": s.label || `Social link ${m + 1}`,
|
|
4380
|
+
children: s.icon
|
|
4313
4381
|
},
|
|
4314
4382
|
m
|
|
4315
4383
|
)) })
|
|
@@ -4321,7 +4389,7 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4321
4389
|
}
|
|
4322
4390
|
),
|
|
4323
4391
|
/* @__PURE__ */ e(
|
|
4324
|
-
|
|
4392
|
+
j,
|
|
4325
4393
|
{
|
|
4326
4394
|
my: "xl",
|
|
4327
4395
|
color: "gray.2"
|
|
@@ -4345,10 +4413,10 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4345
4413
|
tt: "uppercase",
|
|
4346
4414
|
lts: "1px",
|
|
4347
4415
|
c: "gray.5",
|
|
4348
|
-
children:
|
|
4416
|
+
children: n
|
|
4349
4417
|
}
|
|
4350
4418
|
),
|
|
4351
|
-
|
|
4419
|
+
o && /* @__PURE__ */ e(
|
|
4352
4420
|
t,
|
|
4353
4421
|
{
|
|
4354
4422
|
size: "xs",
|
|
@@ -4356,7 +4424,7 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4356
4424
|
tt: "uppercase",
|
|
4357
4425
|
lts: "1px",
|
|
4358
4426
|
c: "gray.5",
|
|
4359
|
-
children:
|
|
4427
|
+
children: o
|
|
4360
4428
|
}
|
|
4361
4429
|
)
|
|
4362
4430
|
]
|
|
@@ -4366,17 +4434,17 @@ function Qr({ logo: a, description: c, sections: l = [], socialLinks: n = [], co
|
|
|
4366
4434
|
}
|
|
4367
4435
|
);
|
|
4368
4436
|
}
|
|
4369
|
-
function
|
|
4370
|
-
const
|
|
4437
|
+
function ia({ companyName: a = "Infrastructure", legalEntity: c, productName: l = "nossos produtos" }) {
|
|
4438
|
+
const i = c || a, n = i.split(" (")[0];
|
|
4371
4439
|
return /* @__PURE__ */ e(
|
|
4372
4440
|
x,
|
|
4373
4441
|
{
|
|
4374
4442
|
py: 100,
|
|
4375
4443
|
bg: "white",
|
|
4376
|
-
children: /* @__PURE__ */ e(
|
|
4444
|
+
children: /* @__PURE__ */ e(B, { size: "md", children: /* @__PURE__ */ r(f, { gap: 80, children: [
|
|
4377
4445
|
/* @__PURE__ */ r(f, { gap: "sm", children: [
|
|
4378
4446
|
/* @__PURE__ */ e(
|
|
4379
|
-
|
|
4447
|
+
D,
|
|
4380
4448
|
{
|
|
4381
4449
|
order: 2,
|
|
4382
4450
|
ta: "center",
|
|
@@ -4405,7 +4473,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4405
4473
|
}
|
|
4406
4474
|
)
|
|
4407
4475
|
] }),
|
|
4408
|
-
/* @__PURE__ */ e(
|
|
4476
|
+
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
4409
4477
|
/* @__PURE__ */ r(f, { gap: "xl", children: [
|
|
4410
4478
|
/* @__PURE__ */ r(
|
|
4411
4479
|
t,
|
|
@@ -4448,7 +4516,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4448
4516
|
radius: "0",
|
|
4449
4517
|
color: "gray",
|
|
4450
4518
|
children: /* @__PURE__ */ e(
|
|
4451
|
-
|
|
4519
|
+
fe,
|
|
4452
4520
|
{
|
|
4453
4521
|
size: 32,
|
|
4454
4522
|
stroke: 1.2
|
|
@@ -4500,7 +4568,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4500
4568
|
radius: "0",
|
|
4501
4569
|
color: "gray",
|
|
4502
4570
|
children: /* @__PURE__ */ e(
|
|
4503
|
-
|
|
4571
|
+
ye,
|
|
4504
4572
|
{
|
|
4505
4573
|
size: 32,
|
|
4506
4574
|
stroke: 1.2
|
|
@@ -4548,7 +4616,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4548
4616
|
radius: "0",
|
|
4549
4617
|
color: "gray",
|
|
4550
4618
|
children: /* @__PURE__ */ e(
|
|
4551
|
-
|
|
4619
|
+
We,
|
|
4552
4620
|
{
|
|
4553
4621
|
size: 32,
|
|
4554
4622
|
stroke: 1.2
|
|
@@ -4575,7 +4643,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4575
4643
|
c: "gray.6",
|
|
4576
4644
|
lh: 1.7,
|
|
4577
4645
|
children: [
|
|
4578
|
-
|
|
4646
|
+
i,
|
|
4579
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."
|
|
4580
4648
|
]
|
|
4581
4649
|
}
|
|
@@ -4599,7 +4667,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4599
4667
|
radius: "0",
|
|
4600
4668
|
color: "gray",
|
|
4601
4669
|
children: /* @__PURE__ */ e(
|
|
4602
|
-
|
|
4670
|
+
Ue,
|
|
4603
4671
|
{
|
|
4604
4672
|
size: 32,
|
|
4605
4673
|
stroke: 1.2
|
|
@@ -4637,7 +4705,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4637
4705
|
}
|
|
4638
4706
|
)
|
|
4639
4707
|
] }),
|
|
4640
|
-
/* @__PURE__ */ e(
|
|
4708
|
+
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
4641
4709
|
/* @__PURE__ */ r(f, { gap: "lg", children: [
|
|
4642
4710
|
/* @__PURE__ */ e(
|
|
4643
4711
|
t,
|
|
@@ -4661,7 +4729,7 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4661
4729
|
"O ",
|
|
4662
4730
|
l,
|
|
4663
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 ",
|
|
4664
|
-
|
|
4732
|
+
n,
|
|
4665
4733
|
", use o canal de suporte do produto."
|
|
4666
4734
|
]
|
|
4667
4735
|
}
|
|
@@ -4671,17 +4739,17 @@ function Yr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4671
4739
|
}
|
|
4672
4740
|
);
|
|
4673
4741
|
}
|
|
4674
|
-
function
|
|
4675
|
-
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];
|
|
4676
4744
|
return /* @__PURE__ */ e(
|
|
4677
4745
|
x,
|
|
4678
4746
|
{
|
|
4679
4747
|
py: 100,
|
|
4680
4748
|
bg: "white",
|
|
4681
|
-
children: /* @__PURE__ */ e(
|
|
4749
|
+
children: /* @__PURE__ */ e(B, { size: "md", children: /* @__PURE__ */ r(f, { gap: 80, children: [
|
|
4682
4750
|
/* @__PURE__ */ r(f, { gap: "sm", children: [
|
|
4683
4751
|
/* @__PURE__ */ e(
|
|
4684
|
-
|
|
4752
|
+
D,
|
|
4685
4753
|
{
|
|
4686
4754
|
order: 2,
|
|
4687
4755
|
ta: "center",
|
|
@@ -4708,7 +4776,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4708
4776
|
}
|
|
4709
4777
|
)
|
|
4710
4778
|
] }),
|
|
4711
|
-
/* @__PURE__ */ e(
|
|
4779
|
+
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
4712
4780
|
/* @__PURE__ */ r(f, { gap: "xl", children: [
|
|
4713
4781
|
/* @__PURE__ */ r(
|
|
4714
4782
|
t,
|
|
@@ -4720,7 +4788,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4720
4788
|
"Bem-vindo ao ",
|
|
4721
4789
|
/* @__PURE__ */ e("strong", { children: l }),
|
|
4722
4790
|
". Este documento constitui um contrato vinculativo entre você e ",
|
|
4723
|
-
|
|
4791
|
+
n,
|
|
4724
4792
|
". Ao acessar a plataforma, criar uma conta ou utilizar qualquer funcionalidade do software, você confirma que leu, entendeu e aceita integralmente estes termos."
|
|
4725
4793
|
]
|
|
4726
4794
|
}
|
|
@@ -4751,7 +4819,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4751
4819
|
radius: "0",
|
|
4752
4820
|
color: "gray",
|
|
4753
4821
|
children: /* @__PURE__ */ e(
|
|
4754
|
-
|
|
4822
|
+
_e,
|
|
4755
4823
|
{
|
|
4756
4824
|
size: 32,
|
|
4757
4825
|
stroke: 1.2
|
|
@@ -4778,7 +4846,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4778
4846
|
c: "gray.6",
|
|
4779
4847
|
lh: 1.7,
|
|
4780
4848
|
children: [
|
|
4781
|
-
|
|
4849
|
+
o,
|
|
4782
4850
|
" concede a você uma licença limitada, revogável, não exclusiva e intransferível para utilizar o ",
|
|
4783
4851
|
l,
|
|
4784
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."
|
|
@@ -4804,7 +4872,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4804
4872
|
radius: "0",
|
|
4805
4873
|
color: "gray",
|
|
4806
4874
|
children: /* @__PURE__ */ e(
|
|
4807
|
-
|
|
4875
|
+
He,
|
|
4808
4876
|
{
|
|
4809
4877
|
size: 32,
|
|
4810
4878
|
stroke: 1.2
|
|
@@ -4832,7 +4900,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4832
4900
|
lh: 1.7,
|
|
4833
4901
|
children: [
|
|
4834
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.",
|
|
4835
|
-
|
|
4903
|
+
o,
|
|
4836
4904
|
" reserva-se o direito de suspender contas que apresentem comportamento suspeito ou que violem as normas de segurança da infraestrutura."
|
|
4837
4905
|
]
|
|
4838
4906
|
}
|
|
@@ -4856,7 +4924,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4856
4924
|
radius: "0",
|
|
4857
4925
|
color: "gray",
|
|
4858
4926
|
children: /* @__PURE__ */ e(
|
|
4859
|
-
|
|
4927
|
+
Ge,
|
|
4860
4928
|
{
|
|
4861
4929
|
size: 32,
|
|
4862
4930
|
stroke: 1.2
|
|
@@ -4886,7 +4954,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4886
4954
|
"Todo o código-fonte, design, interfaces, logotipos e textos do ",
|
|
4887
4955
|
l,
|
|
4888
4956
|
" são propriedade exclusiva de ",
|
|
4889
|
-
|
|
4957
|
+
o,
|
|
4890
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."
|
|
4891
4959
|
]
|
|
4892
4960
|
}
|
|
@@ -4910,7 +4978,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4910
4978
|
radius: "0",
|
|
4911
4979
|
color: "gray",
|
|
4912
4980
|
children: /* @__PURE__ */ e(
|
|
4913
|
-
|
|
4981
|
+
Ke,
|
|
4914
4982
|
{
|
|
4915
4983
|
size: 32,
|
|
4916
4984
|
stroke: 1.2
|
|
@@ -4962,7 +5030,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4962
5030
|
radius: "0",
|
|
4963
5031
|
color: "gray",
|
|
4964
5032
|
children: /* @__PURE__ */ e(
|
|
4965
|
-
|
|
5033
|
+
Qe,
|
|
4966
5034
|
{
|
|
4967
5035
|
size: 32,
|
|
4968
5036
|
stroke: 1.2
|
|
@@ -4994,7 +5062,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
4994
5062
|
" é fornecido ",
|
|
4995
5063
|
/* @__PURE__ */ e("em", { children: '"as is"' }),
|
|
4996
5064
|
" (como está). Embora busquemos a excelência técnica, ",
|
|
4997
|
-
|
|
5065
|
+
o,
|
|
4998
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."
|
|
4999
5067
|
]
|
|
5000
5068
|
}
|
|
@@ -5004,7 +5072,7 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5004
5072
|
}
|
|
5005
5073
|
)
|
|
5006
5074
|
] }),
|
|
5007
|
-
/* @__PURE__ */ e(
|
|
5075
|
+
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
5008
5076
|
/* @__PURE__ */ r(f, { gap: "lg", children: [
|
|
5009
5077
|
/* @__PURE__ */ e(
|
|
5010
5078
|
t,
|
|
@@ -5026,9 +5094,9 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5026
5094
|
lh: 1.8,
|
|
5027
5095
|
children: [
|
|
5028
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 ",
|
|
5029
|
-
|
|
5097
|
+
o,
|
|
5030
5098
|
" para dirimir quaisquer controvérsias. Última atualização: ",
|
|
5031
|
-
|
|
5099
|
+
i,
|
|
5032
5100
|
"."
|
|
5033
5101
|
]
|
|
5034
5102
|
}
|
|
@@ -5038,17 +5106,17 @@ function Xr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5038
5106
|
}
|
|
5039
5107
|
);
|
|
5040
5108
|
}
|
|
5041
|
-
function
|
|
5042
|
-
const
|
|
5043
|
-
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(
|
|
5044
5112
|
x,
|
|
5045
5113
|
{
|
|
5046
5114
|
py: 100,
|
|
5047
5115
|
bg: "white",
|
|
5048
|
-
children: /* @__PURE__ */ e(
|
|
5116
|
+
children: /* @__PURE__ */ e(B, { size: "md", children: /* @__PURE__ */ r(f, { gap: 80, children: [
|
|
5049
5117
|
/* @__PURE__ */ r(f, { gap: "sm", children: [
|
|
5050
5118
|
/* @__PURE__ */ e(
|
|
5051
|
-
|
|
5119
|
+
D,
|
|
5052
5120
|
{
|
|
5053
5121
|
order: 2,
|
|
5054
5122
|
ta: "center",
|
|
@@ -5075,7 +5143,7 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5075
5143
|
}
|
|
5076
5144
|
)
|
|
5077
5145
|
] }),
|
|
5078
|
-
/* @__PURE__ */ e(
|
|
5146
|
+
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
5079
5147
|
/* @__PURE__ */ r(f, { gap: "xl", children: [
|
|
5080
5148
|
/* @__PURE__ */ r(
|
|
5081
5149
|
t,
|
|
@@ -5118,7 +5186,7 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5118
5186
|
radius: "0",
|
|
5119
5187
|
color: "gray",
|
|
5120
5188
|
children: /* @__PURE__ */ e(
|
|
5121
|
-
|
|
5189
|
+
Xe,
|
|
5122
5190
|
{
|
|
5123
5191
|
size: 32,
|
|
5124
5192
|
stroke: 1.2
|
|
@@ -5170,7 +5238,7 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5170
5238
|
radius: "0",
|
|
5171
5239
|
color: "gray",
|
|
5172
5240
|
children: /* @__PURE__ */ e(
|
|
5173
|
-
|
|
5241
|
+
ye,
|
|
5174
5242
|
{
|
|
5175
5243
|
size: 32,
|
|
5176
5244
|
stroke: 1.2
|
|
@@ -5222,7 +5290,7 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5222
5290
|
radius: "0",
|
|
5223
5291
|
color: "gray",
|
|
5224
5292
|
children: /* @__PURE__ */ e(
|
|
5225
|
-
|
|
5293
|
+
Ye,
|
|
5226
5294
|
{
|
|
5227
5295
|
size: 32,
|
|
5228
5296
|
stroke: 1.2
|
|
@@ -5270,7 +5338,7 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5270
5338
|
radius: "0",
|
|
5271
5339
|
color: "gray",
|
|
5272
5340
|
children: /* @__PURE__ */ e(
|
|
5273
|
-
|
|
5341
|
+
Je,
|
|
5274
5342
|
{
|
|
5275
5343
|
size: 32,
|
|
5276
5344
|
stroke: 1.2
|
|
@@ -5304,10 +5372,10 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5304
5372
|
}
|
|
5305
5373
|
)
|
|
5306
5374
|
] }),
|
|
5307
|
-
/* @__PURE__ */ e(
|
|
5375
|
+
/* @__PURE__ */ e(j, { color: "gray.2" }),
|
|
5308
5376
|
/* @__PURE__ */ r(f, { gap: "lg", children: [
|
|
5309
5377
|
/* @__PURE__ */ r(y, { gap: "sm", children: [
|
|
5310
|
-
/* @__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 }) }),
|
|
5311
5379
|
/* @__PURE__ */ e(
|
|
5312
5380
|
t,
|
|
5313
5381
|
{
|
|
@@ -5329,7 +5397,7 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5329
5397
|
lh: 1.8,
|
|
5330
5398
|
children: [
|
|
5331
5399
|
"Se um incidente atingir dados pessoais, ",
|
|
5332
|
-
|
|
5400
|
+
i,
|
|
5333
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."
|
|
5334
5402
|
]
|
|
5335
5403
|
}
|
|
@@ -5339,23 +5407,23 @@ function Jr({ companyName: a = "Infrastructure", legalEntity: c, productName: l
|
|
|
5339
5407
|
}
|
|
5340
5408
|
);
|
|
5341
5409
|
}
|
|
5342
|
-
const
|
|
5343
|
-
function
|
|
5344
|
-
const [
|
|
5345
|
-
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(() => {
|
|
5346
5414
|
if (!a) return;
|
|
5347
5415
|
d.current = [], g([]);
|
|
5348
5416
|
let h = !1;
|
|
5349
|
-
const
|
|
5417
|
+
const s = (S) => {
|
|
5350
5418
|
d.current = [...d.current, S].slice(-l), g(d.current);
|
|
5351
5419
|
}, m = () => (/* @__PURE__ */ new Date()).toLocaleTimeString("pt-BR", { hour: "2-digit", minute: "2-digit", second: "2-digit" }), p = async () => {
|
|
5352
5420
|
const S = Date.now();
|
|
5353
5421
|
try {
|
|
5354
|
-
const
|
|
5355
|
-
if (!
|
|
5356
|
-
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();
|
|
5357
5425
|
if (h) return;
|
|
5358
|
-
u ? u = !1 :
|
|
5426
|
+
u ? u = !1 : s({ time: m(), ms: Date.now() - S, up: b.status !== "down" }), n({
|
|
5359
5427
|
status: b.status || "operational",
|
|
5360
5428
|
checks: b.checks || [],
|
|
5361
5429
|
checkedAt: b.checkedAt || null,
|
|
@@ -5365,77 +5433,78 @@ function Zr(a, { intervalMs: c = 3e4, maxSamples: l = 40 } = {}) {
|
|
|
5365
5433
|
});
|
|
5366
5434
|
} catch {
|
|
5367
5435
|
if (h) return;
|
|
5368
|
-
u = !1,
|
|
5436
|
+
u = !1, s({ time: m(), ms: Date.now() - S, up: !1 }), n((b) => ({ ...b, error: "unreachable", loading: !1 }));
|
|
5369
5437
|
}
|
|
5370
5438
|
};
|
|
5371
5439
|
let u = !0, w = 0, T;
|
|
5372
|
-
const
|
|
5373
|
-
await p(), !h && (w += 1, T = setTimeout(
|
|
5440
|
+
const q = async () => {
|
|
5441
|
+
await p(), !h && (w += 1, T = setTimeout(q, w < fr ? yr : c));
|
|
5374
5442
|
};
|
|
5375
|
-
return
|
|
5443
|
+
return q(), () => {
|
|
5376
5444
|
h = !0, clearTimeout(T);
|
|
5377
5445
|
};
|
|
5378
5446
|
}, [a, c, l]), {
|
|
5379
|
-
...
|
|
5380
|
-
latency:
|
|
5447
|
+
...i,
|
|
5448
|
+
latency: o.map((h) => ({ time: h.time, ms: h.ms })),
|
|
5381
5449
|
// A "disponibilidade" aqui é a das amostras desta sessão, agrupadas em
|
|
5382
5450
|
// blocos — não um SLA de 90 dias. O rótulo na página diz isso.
|
|
5383
|
-
uptime:
|
|
5451
|
+
uptime: xr(o),
|
|
5384
5452
|
// 1 = respondeu, 0.25 = falhou. Zero puro sumiria da barra e a falha
|
|
5385
5453
|
// ficaria invisível justamente quando importa.
|
|
5386
|
-
history:
|
|
5454
|
+
history: o.map((h) => h.up ? 1 : 0.25)
|
|
5387
5455
|
};
|
|
5388
5456
|
}
|
|
5389
|
-
function
|
|
5457
|
+
function xr(a, c = 12) {
|
|
5390
5458
|
if (a.length === 0) return [];
|
|
5391
|
-
const l = Math.max(1, Math.ceil(a.length / c)),
|
|
5392
|
-
for (let
|
|
5393
|
-
const
|
|
5394
|
-
|
|
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 });
|
|
5395
5463
|
}
|
|
5396
|
-
return
|
|
5464
|
+
return i;
|
|
5397
5465
|
}
|
|
5398
5466
|
export {
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
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,
|
|
5496
|
+
F as Section,
|
|
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,
|
|
5438
5507
|
O as resolveBackground,
|
|
5439
|
-
|
|
5440
|
-
|
|
5508
|
+
Er as theme,
|
|
5509
|
+
sa as useServiceStatus
|
|
5441
5510
|
};
|