@selectwin/kit 0.1.82 → 0.1.83
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/SelectMarkStack.d.ts +19 -0
- package/dist/SelectOfferPrice.d.ts +12 -0
- package/dist/SelectRatingQuote.d.ts +13 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +793 -738
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as e, jsxs as u, Fragment as ue } from "react/jsx-runtime";
|
|
2
|
-
import { useRef as J, useEffect as pe, forwardRef as
|
|
2
|
+
import { useRef as J, useEffect as pe, forwardRef as I, useState as D, useId as ge, useCallback as Qe, useLayoutEffect as qe, useMemo as Oe, Fragment as Zn, Children as Oc, useContext as Vn, createContext as Gn } from "react";
|
|
3
3
|
import We from "gsap";
|
|
4
4
|
import { createPortal as yn } from "react-dom";
|
|
5
5
|
import { Link as Ul, useNavigate as zl } from "react-router-dom";
|
|
@@ -20,7 +20,7 @@ function jc(t, n) {
|
|
|
20
20
|
const c = l.match(/(\d+)[,\s]+(\d+)[,\s]+(\d+)/);
|
|
21
21
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : n;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Lr({ className: t, theme: n, glowTarget: l }) {
|
|
24
24
|
const c = J(null);
|
|
25
25
|
return pe(() => {
|
|
26
26
|
var ee;
|
|
@@ -52,8 +52,8 @@ function Cr({ className: t, theme: n, glowTarget: l }) {
|
|
|
52
52
|
if (!L) return;
|
|
53
53
|
const se = L.getBoundingClientRect(), ke = se.left - A + se.width / 2, Te = se.top - B + se.height / 2, de = se.width / 2, Ee = se.height / 2, Ue = (ne - ke) / (de + x), De = ($e - Te) / (Ee + x), Pe = Math.sqrt(Ue * Ue + De * De), Ke = Pe < 1 ? 1 - Pe : 0, ze = Ke * Ke * (3 - 2 * Ke);
|
|
54
54
|
if (ze > 1e-3 || E > 1e-3) {
|
|
55
|
-
const
|
|
56
|
-
L.style.setProperty("--select-card-glow", ze.toFixed(3)), L.style.setProperty("--select-card-glow-rgb", `${xe}, ${Ne}, ${Me}`), L.style.setProperty("--select-card-glow-x", `${
|
|
55
|
+
const R = al((ne - ke) / Math.max(de, 1), -1, 1) * 10 * ze, U = al(($e - Te) / Math.max(Ee, 1), -1, 1) * 10 * ze;
|
|
56
|
+
L.style.setProperty("--select-card-glow", ze.toFixed(3)), L.style.setProperty("--select-card-glow-rgb", `${xe}, ${Ne}, ${Me}`), L.style.setProperty("--select-card-glow-x", `${R.toFixed(1)}px`), L.style.setProperty("--select-card-glow-y", `${U.toFixed(1)}px`);
|
|
57
57
|
}
|
|
58
58
|
E = ze;
|
|
59
59
|
}
|
|
@@ -69,8 +69,8 @@ function Cr({ className: t, theme: n, glowTarget: l }) {
|
|
|
69
69
|
const Ne = F.x, Me = F.y;
|
|
70
70
|
a.clearRect(0, 0, $, g);
|
|
71
71
|
for (let se = 0; se < C.length; se++) {
|
|
72
|
-
const ke = C[se], Te = ke.x - Ne, de = ke.y - Me, Ee = Math.sqrt(Te * Te + de * de), Ue = Ee < p ? 1 - Ee / p : 0, De = Ue * Ue, Pe = Math.sin(ne * 1.4 + ke.phase) * 0.5 + 0.5, Ke = De * h, ze = Ee > 1e-4 ? 1 / Ee : 0,
|
|
73
|
-
De > 0.12 ? (a.shadowColor = `rgba(${k},${w},${y},${0.6 * De})`, a.shadowBlur = 12 * De) : a.shadowBlur = 0, a.beginPath(), a.arc(
|
|
72
|
+
const ke = C[se], Te = ke.x - Ne, de = ke.y - Me, Ee = Math.sqrt(Te * Te + de * de), Ue = Ee < p ? 1 - Ee / p : 0, De = Ue * Ue, Pe = Math.sin(ne * 1.4 + ke.phase) * 0.5 + 0.5, Ke = De * h, ze = Ee > 1e-4 ? 1 / Ee : 0, R = ke.x - Te * ze * Ke, U = ke.y - de * ze * Ke, Y = 1 + De * (f - 1) + Pe * 0.14, ye = Math.min(1, v + Pe * 0.08 + De * (1 - v)), G = b + (k - b) * De | 0, Z = m + (w - m) * De | 0, X = N + (y - N) * De | 0;
|
|
73
|
+
De > 0.12 ? (a.shadowColor = `rgba(${k},${w},${y},${0.6 * De})`, a.shadowBlur = 12 * De) : a.shadowBlur = 0, a.beginPath(), a.arc(R, U, d * Y, 0, M), a.fillStyle = `rgba(${G},${Z},${X},${ye})`, a.fill();
|
|
74
74
|
}
|
|
75
75
|
a.shadowBlur = 0, W(Ne, Me, k, w, y);
|
|
76
76
|
}
|
|
@@ -90,7 +90,7 @@ function Cr({ className: t, theme: n, glowTarget: l }) {
|
|
|
90
90
|
});
|
|
91
91
|
}, [n, l]), /* @__PURE__ */ e("canvas", { ref: c, className: t, "aria-hidden": "true" });
|
|
92
92
|
}
|
|
93
|
-
const
|
|
93
|
+
const Ar = ["dots", "plexus", "grid", "flow", "circuit", "liquid"], Rt = Math.PI * 2, gt = (t, n, l) => t < n ? n : t > l ? l : t, mn = (t, n, l) => t + (n - t) * l;
|
|
94
94
|
function Zc(t, n, l) {
|
|
95
95
|
const c = t.getPropertyValue(n).match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);
|
|
96
96
|
return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : l;
|
|
@@ -125,7 +125,7 @@ const Gc = (t) => {
|
|
|
125
125
|
const y = _.x, $ = _.y;
|
|
126
126
|
for (const g of i) {
|
|
127
127
|
const C = g.x - y, A = g.y - $, B = Math.hypot(C, A), L = f > 0 && B < 150 ? 1 - B / 150 : 0, E = L * L * f, F = Math.sin(h * 1.1 + g.phase) * 0.5 + 0.5, T = E * 6, O = B > 1e-3 ? 1 / B : 0, q = g.x - C * O * T, H = g.y - A * O * T, V = 1 + E * (2.4 - 1) + F * 0.1, P = Math.min(1, 0.3 + F * 0.06 + E * (1 - 0.3)), W = x + (b - x) * E | 0, K = M + (m - M) * E | 0, te = S + (N - S) * E | 0;
|
|
128
|
-
t.dark && E > 0.14 ? (v.shadowColor = `rgba(${b},${m},${N},${0.5 * E})`, v.shadowBlur = 10 * E) : v.shadowBlur = 0, v.beginPath(), v.arc(q, H, 1.2 * V, 0,
|
|
128
|
+
t.dark && E > 0.14 ? (v.shadowColor = `rgba(${b},${m},${N},${0.5 * E})`, v.shadowBlur = 10 * E) : v.shadowBlur = 0, v.beginPath(), v.arc(q, H, 1.2 * V, 0, Rt), v.fillStyle = `rgba(${W},${K},${te},${P})`, v.fill();
|
|
129
129
|
}
|
|
130
130
|
v.shadowBlur = 0;
|
|
131
131
|
}
|
|
@@ -171,7 +171,7 @@ const Gc = (t) => {
|
|
|
171
171
|
$ < 175 && (N = 1 - $ / 175, d.strokeStyle = `rgba(${_},${x},${M},${(N * N * 0.5).toFixed(3)})`, d.beginPath(), d.moveTo(S, b), d.lineTo(m.x, m.y), d.stroke());
|
|
172
172
|
}
|
|
173
173
|
const k = h + (_ - h) * N | 0, w = f + (x - f) * N | 0, y = v + (M - v) * N | 0;
|
|
174
|
-
t.dark && N > 0.2 ? (d.shadowColor = `rgba(${_},${x},${M},${0.6 * N})`, d.shadowBlur = 10 * N) : d.shadowBlur = 0, d.beginPath(), d.arc(m.x, m.y, 1.4 + N * 2.2, 0,
|
|
174
|
+
t.dark && N > 0.2 ? (d.shadowColor = `rgba(${_},${x},${M},${0.6 * N})`, d.shadowBlur = 10 * N) : d.shadowBlur = 0, d.beginPath(), d.arc(m.x, m.y, 1.4 + N * 2.2, 0, Rt), d.fillStyle = `rgba(${k},${w},${y},${0.5 + N * 0.5})`, d.fill();
|
|
175
175
|
}
|
|
176
176
|
d.shadowBlur = 0;
|
|
177
177
|
}
|
|
@@ -216,7 +216,7 @@ const Gc = (t) => {
|
|
|
216
216
|
}
|
|
217
217
|
if (F < 0.02) continue;
|
|
218
218
|
const T = x + (b - x) * F | 0, O = M + (m - M) * F | 0, q = S + (N - S) * F | 0;
|
|
219
|
-
v.beginPath(), v.arc(E, C, 1 + F * 2.2, 0,
|
|
219
|
+
v.beginPath(), v.arc(E, C, 1 + F * 2.2, 0, Rt), v.fillStyle = `rgba(${T},${O},${q},${0.3 + F * 0.6})`, v.fill();
|
|
220
220
|
}
|
|
221
221
|
}
|
|
222
222
|
}
|
|
@@ -326,7 +326,7 @@ const Gc = (t) => {
|
|
|
326
326
|
}
|
|
327
327
|
function i(d, p, h, f, v, _) {
|
|
328
328
|
const { ctx: x } = t;
|
|
329
|
-
x.lineWidth = 1.2, x.strokeStyle = `rgba(${h},${f},${v},${0.45 + _ * 0.4})`, x.beginPath(), x.arc(d, p, 2.4, 0,
|
|
329
|
+
x.lineWidth = 1.2, x.strokeStyle = `rgba(${h},${f},${v},${0.45 + _ * 0.4})`, x.beginPath(), x.arc(d, p, 2.4, 0, Rt), x.stroke(), x.beginPath(), x.arc(d, p, 0.9, 0, Rt), x.fillStyle = `rgba(${h},${f},${v},${0.6 + _ * 0.4})`, x.fill();
|
|
330
330
|
}
|
|
331
331
|
function o(d, p) {
|
|
332
332
|
const { ctx: h, pointer: f } = t, [v, _, x] = t.ink, [M, S, b] = t.accent;
|
|
@@ -344,7 +344,7 @@ const Gc = (t) => {
|
|
|
344
344
|
for (const y of k.pulses) {
|
|
345
345
|
y.p += y.sp * d, y.p > 1 && (y.p -= 1);
|
|
346
346
|
const [$, g] = r(k, y.p);
|
|
347
|
-
t.dark && (h.shadowColor = `rgba(${M},${S},${b},0.85)`, h.shadowBlur = 10), h.beginPath(), h.arc($, g, 2.1, 0,
|
|
347
|
+
t.dark && (h.shadowColor = `rgba(${M},${S},${b},0.85)`, h.shadowBlur = 10), h.beginPath(), h.arc($, g, 2.1, 0, Rt), h.fillStyle = `rgba(${M},${S},${b},0.95)`, h.fill(), h.shadowBlur = 0;
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
}
|
|
@@ -357,7 +357,7 @@ const Gc = (t) => {
|
|
|
357
357
|
o(0, !1), t.clearGlow();
|
|
358
358
|
}
|
|
359
359
|
};
|
|
360
|
-
},
|
|
360
|
+
}, Ut = (t, n, l) => {
|
|
361
361
|
const c = gt((l - t) / (n - t), 0, 1);
|
|
362
362
|
return c * c * (3 - 2 * c);
|
|
363
363
|
}, Ae = {
|
|
@@ -390,7 +390,7 @@ const Gc = (t) => {
|
|
|
390
390
|
const w = k(1.5, 2, 2.5), y = k(-2, -1, -1), $ = 1 / o, g = 1 / 0.9, C = 1 / 1.2, A = new Float32Array(14), B = new Float32Array(14), L = new Float32Array(14);
|
|
391
391
|
for (let G = 0; G < 14; G++) {
|
|
392
392
|
const Z = G / 13;
|
|
393
|
-
A[G] = Math.cos(Z * d), B[G] = Math.sin(Z * d), L[G] =
|
|
393
|
+
A[G] = Math.cos(Z * d), B[G] = Math.sin(Z * d), L[G] = Ut(1, 0.45, Z);
|
|
394
394
|
}
|
|
395
395
|
const E = { twist: Ae.TWIST, tension: Ae.TENSION };
|
|
396
396
|
let F = null;
|
|
@@ -428,17 +428,17 @@ const Gc = (t) => {
|
|
|
428
428
|
const Ye = 1 - Ve;
|
|
429
429
|
let ct = (Ye * Math.sqrt(Ye) - 0.05) * g;
|
|
430
430
|
ct < 0 ? ct = 0 : ct > 1 && (ct = 1);
|
|
431
|
-
const
|
|
432
|
-
let st = w[0] + Ce, _t = w[1] + Le, at = w[2] + Ze,
|
|
431
|
+
const Dt = ct * ct * (3 - 2 * ct);
|
|
432
|
+
let st = w[0] + Ce, _t = w[1] + Le, at = w[2] + Ze, Lt = 1 / Math.sqrt(st * st + _t * _t + at * at), Je = (_e * st + ve * at) * Lt;
|
|
433
433
|
Je < 0 && (Je = 0);
|
|
434
|
-
const
|
|
435
|
-
st = y[0] + Ce, _t = y[1] + Le, at = y[2] + Ze,
|
|
436
|
-
const
|
|
434
|
+
const Wt = Je * Je, At = Wt * Wt, tn = At * At * At;
|
|
435
|
+
st = y[0] + Ce, _t = y[1] + Le, at = y[2] + Ze, Lt = 1 / Math.sqrt(st * st + _t * _t + at * at), Je = (_e * st + ve * at) * Lt, Je < 0 && (Je = 0);
|
|
436
|
+
const Ot = Je * Je, Ht = Ot * Ot, nn = Ht * Ht;
|
|
437
437
|
let rt = (-(-Ce + 2 * Ve * _e) * N - Le * m + 0.2) * C;
|
|
438
438
|
rt < 0 ? rt = 0 : rt > 1 && (rt = 1);
|
|
439
|
-
const tt = rt * rt * (3 - 2 * rt),
|
|
440
|
-
let bt =
|
|
441
|
-
bt > 1 && (bt = 1), q.lift[de] = bt, q.a[de] = (M + S *
|
|
439
|
+
const tt = rt * rt * (3 - 2 * rt), Et = tn * 0.9 + nn * 0.45;
|
|
440
|
+
let bt = Dt * 0.55 + Et;
|
|
441
|
+
bt > 1 && (bt = 1), q.lift[de] = bt, q.a[de] = (M + S * Dt + b * Et + tt * 0.06) * le * Te * Fe, q.x[de] = Se, q.z[de] = fe, Se < Ee && (Ee = Se), Se > Ue && (Ue = Se), de++;
|
|
442
442
|
}, ze = (G, Z) => {
|
|
443
443
|
const X = G * ke, Q = Math.cos(X), he = -Math.sin(X) * Pe, fe = 1 / Math.sqrt(Pe * Pe * Q * Q + 1), _e = Pe * Q * fe, ve = fe;
|
|
444
444
|
for (let we = 0; we < 14; we++) {
|
|
@@ -446,14 +446,14 @@ const Gc = (t) => {
|
|
|
446
446
|
Ke(X + Ae.ROUND * (Ce - _e), he + Ae.ROUND * (Le - ve), Ce, Le, L[Be]);
|
|
447
447
|
}
|
|
448
448
|
};
|
|
449
|
-
function
|
|
449
|
+
function R(G, Z, X) {
|
|
450
450
|
const Q = Math.max(t.h(), 1), le = X * Ae.TWIST_SPEED * 0.15, he = X * Ae.TWIST_SPEED * 0.2, _e = -((G + 0.5) / ie * 2 * j - j) / (Q * Ae.ZOOM);
|
|
451
451
|
se = _e * Ae.CAM / Ae.FOCAL;
|
|
452
452
|
for (let Ie = 0; Ie < 2; Ie++)
|
|
453
453
|
se = _e * (Ae.CAM + Math.sin(se * 1.2 + le) * Ae.BILLOW) / Ae.FOCAL;
|
|
454
454
|
Me = Math.sin(se * 1.2 + le) * Ae.BILLOW;
|
|
455
|
-
const ve = se < 0 ? -se : se, we =
|
|
456
|
-
xe = Math.cos(Be), Ne = Math.sin(Be), ke = Ae.WIDTH * we, Te =
|
|
455
|
+
const ve = se < 0 ? -se : se, we = Ut(7, 1, ve), Be = se * E.twist * Ut(8, 0, ve) - he;
|
|
456
|
+
xe = Math.cos(Be), Ne = Math.sin(Be), ke = Ae.WIDTH * we, Te = Ut(0.06, 0.46, xe < 0 ? -xe : xe) * Ut(0, 0.06, we), q = Z, de = 0, Ee = 1e9, Ue = -1e9, ze(-1, !0);
|
|
457
457
|
const Fe = 2 * ke / 107, Se = Math.cos(Fe), Ce = Math.sin(Fe);
|
|
458
458
|
let Le = Math.cos(-ke), Ze = Math.sin(-ke);
|
|
459
459
|
for (let Ie = 0; Ie < 108; Ie++) {
|
|
@@ -475,10 +475,10 @@ const Gc = (t) => {
|
|
|
475
475
|
let Fe = Math.floor(_e), Se = Math.ceil(we);
|
|
476
476
|
if (Se < 0 || Fe > te - 1) return;
|
|
477
477
|
Fe < 0 && (Fe = 0), Se > te - 1 && (Se = te - 1), K.fill(-1e9, Fe, Se + 1);
|
|
478
|
-
const Ce = G * te, Le = he * he, Ze = Le * he, Ie = -0.5 * Ze + Le - 0.5 * he, Ve = 1.5 * Ze - 2.5 * Le + 1, Ye = -1.5 * Ze + 2 * Le + 0.5 * he, ut = 0.5 * Ze - 0.5 * Le, ct = Z.x,
|
|
479
|
-
let tt = Ie * ct[0] + Ve *
|
|
478
|
+
const Ce = G * te, Le = he * he, Ze = Le * he, Ie = -0.5 * Ze + Le - 0.5 * he, Ve = 1.5 * Ze - 2.5 * Le + 1, Ye = -1.5 * Ze + 2 * Le + 0.5 * he, ut = 0.5 * Ze - 0.5 * Le, ct = Z.x, Dt = X.x, st = Q.x, _t = le.x, at = Z.z, Lt = X.z, Je = Q.z, Wt = le.z, At = Z.lift, Sn = X.lift, tn = Q.lift, Ot = le.lift, Ht = Z.a, nn = X.a, Cn = Q.a, rt = le.a;
|
|
479
|
+
let tt = Ie * ct[0] + Ve * Dt[0] + Ye * st[0] + ut * _t[0], Et = Ie * at[0] + Ve * Lt[0] + Ye * Je[0] + ut * Wt[0], bt = Ie * At[0] + Ve * Sn[0] + Ye * tn[0] + ut * Ot[0], Ln = Ie * Ht[0] + Ve * nn[0] + Ye * Cn[0] + ut * rt[0];
|
|
480
480
|
for (let oe = 1; oe < 136; oe++) {
|
|
481
|
-
const nt = Ie * ct[oe] + Ve *
|
|
481
|
+
const nt = Ie * ct[oe] + Ve * Dt[oe] + Ye * st[oe] + ut * _t[oe], Zt = Ie * at[oe] + Ve * Lt[oe] + Ye * Je[oe] + ut * Wt[oe], Vt = Ie * At[oe] + Ve * Sn[oe] + Ye * tn[oe] + ut * Ot[oe], Gt = Ie * Ht[oe] + Ve * nn[oe] + Ye * Cn[oe] + ut * rt[oe];
|
|
482
482
|
if (!Number.isNaN(tt) && !Number.isNaN(nt)) {
|
|
483
483
|
let xt = Math.max(Fe, Math.ceil((tt < nt ? tt : nt) - 0.5)), ln = Math.min(Se, Math.floor((tt > nt ? tt : nt) - 0.5));
|
|
484
484
|
if (ln < xt) {
|
|
@@ -486,37 +486,37 @@ const Gc = (t) => {
|
|
|
486
486
|
yt >= Fe && yt <= Se && (xt = yt, ln = yt);
|
|
487
487
|
}
|
|
488
488
|
if (ln >= xt) {
|
|
489
|
-
const yt = nt - tt, Tc = yt !== 0 ? 1 / yt : 0, Pc =
|
|
490
|
-
for (let
|
|
491
|
-
let Nt = (
|
|
489
|
+
const yt = nt - tt, Tc = yt !== 0 ? 1 / yt : 0, Pc = Zt - Et, Dc = Vt - bt, Wc = Gt - Ln;
|
|
490
|
+
for (let Bt = xt; Bt <= ln; Bt++) {
|
|
491
|
+
let Nt = (Bt + 0.5 - tt) * Tc;
|
|
492
492
|
Nt < 0 ? Nt = 0 : Nt > 1 && (Nt = 1);
|
|
493
|
-
const sl =
|
|
494
|
-
if (sl <= K[
|
|
495
|
-
K[
|
|
493
|
+
const sl = Et + Pc * Nt;
|
|
494
|
+
if (sl <= K[Bt]) continue;
|
|
495
|
+
K[Bt] = sl;
|
|
496
496
|
const En = bt + Dc * Nt;
|
|
497
|
-
fe[Ce +
|
|
497
|
+
fe[Ce + Bt] = cn(p + v * En) << Xc | cn(h + _ * En) << Kc | cn(f + x * En) << Jc | cn(Ln + Wc * Nt) << vt;
|
|
498
498
|
}
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
tt = nt,
|
|
501
|
+
tt = nt, Et = Zt, bt = Vt, Ln = Gt;
|
|
502
502
|
}
|
|
503
|
-
let
|
|
503
|
+
let jt = -1, An = -1;
|
|
504
504
|
for (let oe = Fe; oe <= Se; oe++) if ((fe[Ce + oe] >>> vt & 255) > 0) {
|
|
505
|
-
|
|
505
|
+
jt = oe;
|
|
506
506
|
break;
|
|
507
507
|
}
|
|
508
|
-
if (
|
|
509
|
-
for (let oe = Se; oe >=
|
|
508
|
+
if (jt < 0) return;
|
|
509
|
+
for (let oe = Se; oe >= jt; oe--) if ((fe[Ce + oe] >>> vt & 255) > 0) {
|
|
510
510
|
An = oe;
|
|
511
511
|
break;
|
|
512
512
|
}
|
|
513
|
-
if (An -
|
|
513
|
+
if (An - jt <= 2 * r.length) return;
|
|
514
514
|
const cl = ~(255 << vt);
|
|
515
515
|
for (let oe = 0; oe < r.length; oe++) {
|
|
516
|
-
const nt = r[oe],
|
|
517
|
-
fe[
|
|
518
|
-
const
|
|
519
|
-
fe[
|
|
516
|
+
const nt = r[oe], Zt = Ce + jt + oe, Vt = fe[Zt];
|
|
517
|
+
fe[Zt] = Vt & cl | ((Vt >>> vt & 255) * nt | 0) << vt;
|
|
518
|
+
const Gt = Ce + An - oe, xt = fe[Gt];
|
|
519
|
+
fe[Gt] = xt & cl | ((xt >>> vt & 255) * nt | 0) << vt;
|
|
520
520
|
}
|
|
521
521
|
}
|
|
522
522
|
function Y(G) {
|
|
@@ -524,14 +524,14 @@ const Gc = (t) => {
|
|
|
524
524
|
W.fill(0), Pe = E.tension, De = Ae.ZOOM * Math.max(t.h(), 1) * ee;
|
|
525
525
|
const Z = Math.max(1, Math.ceil((ie - 1) / 3)), X = (_e) => Math.min(_e * 3, ie - 1);
|
|
526
526
|
let Q = 0;
|
|
527
|
-
|
|
527
|
+
R(X(0), O[0], G);
|
|
528
528
|
let le = 0, he = X(0), fe = X(1);
|
|
529
529
|
for (let _e = 0; _e < ie; _e++) {
|
|
530
530
|
for (; _e > fe && le + 1 < Z; )
|
|
531
531
|
le++, he = fe, fe = X(le + 1);
|
|
532
532
|
const ve = le + 2 < Z ? le + 2 : Z;
|
|
533
533
|
for (; Q < ve; )
|
|
534
|
-
Q++,
|
|
534
|
+
Q++, R(X(Q), O[Q & 3], G);
|
|
535
535
|
const we = fe - he;
|
|
536
536
|
U(
|
|
537
537
|
_e,
|
|
@@ -569,7 +569,7 @@ const Gc = (t) => {
|
|
|
569
569
|
circuit: Yc,
|
|
570
570
|
liquid: Qc
|
|
571
571
|
};
|
|
572
|
-
function
|
|
572
|
+
function Er({
|
|
573
573
|
className: t,
|
|
574
574
|
theme: n,
|
|
575
575
|
glowTarget: l,
|
|
@@ -633,7 +633,7 @@ function Ar({
|
|
|
633
633
|
});
|
|
634
634
|
}, [n, l, c]), /* @__PURE__ */ e("canvas", { ref: s, className: t, "aria-hidden": "true" });
|
|
635
635
|
}
|
|
636
|
-
const
|
|
636
|
+
const Br = I(function({ title: n, subtitle: l, logo: c, mark: s, children: a, footer: r, className: i, ...o }, d) {
|
|
637
637
|
return /* @__PURE__ */ u("div", { ref: d, ...o, className: `select-card${i ? " " + i : ""}`, children: [
|
|
638
638
|
/* @__PURE__ */ u("div", { className: "select-card__body", children: [
|
|
639
639
|
c && /* @__PURE__ */ e("div", { className: "select-card__brand", children: c }),
|
|
@@ -646,7 +646,7 @@ const Er = R(function({ title: n, subtitle: l, logo: c, mark: s, children: a, fo
|
|
|
646
646
|
] }),
|
|
647
647
|
r && /* @__PURE__ */ e("div", { className: "select-card__footer", children: r })
|
|
648
648
|
] });
|
|
649
|
-
}), Re =
|
|
649
|
+
}), Re = I(function({
|
|
650
650
|
variant: n = "primary",
|
|
651
651
|
type: l = "button",
|
|
652
652
|
size: c = "md",
|
|
@@ -692,7 +692,7 @@ const Er = R(function({ title: n, subtitle: l, logo: c, mark: s, children: a, fo
|
|
|
692
692
|
!s && r && /* @__PURE__ */ e("span", { className: "select-btn__icon select-btn__icon--trailing", children: r })
|
|
693
693
|
] });
|
|
694
694
|
});
|
|
695
|
-
function
|
|
695
|
+
function Fr() {
|
|
696
696
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: [
|
|
697
697
|
/* @__PURE__ */ e(
|
|
698
698
|
"path",
|
|
@@ -724,7 +724,7 @@ function Br() {
|
|
|
724
724
|
)
|
|
725
725
|
] });
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function Ir() {
|
|
728
728
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
729
729
|
"path",
|
|
730
730
|
{
|
|
@@ -745,7 +745,7 @@ function je() {
|
|
|
745
745
|
function zn() {
|
|
746
746
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M9.57 5.93L3.5 12l6.07 6.07M20.5 12H3.67" }) });
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function Rr() {
|
|
749
749
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5.4 2.1h13.2c1.1 0 2 .9 2 2v2.2c0 .8-.5 1.8-1 2.3l-4.3 3.8c-.6.5-1 1.5-1 2.3V19c0 .6-.4 1.4-.9 1.7l-1.4.9c-1.3.8-3.1-.1-3.1-1.7v-5.3c0-.7-.4-1.6-.8-2.1l-3.8-4c-.5-.5-.9-1.4-.9-2V4.2c0-1.2.9-2.1 2-2.1ZM10.93 2.1 6 10" }) });
|
|
750
750
|
}
|
|
751
751
|
function qn() {
|
|
@@ -767,10 +767,10 @@ function Yn() {
|
|
|
767
767
|
function Xn() {
|
|
768
768
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M13 11l8.2-8.2M22 6.8V2h-4.8M11 2H9C4 2 2 4 2 9v6c0 5 2 7 7 7h6c5 0 7-2 7-7v-2" }) });
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function St() {
|
|
771
771
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6 6 18 18M18 6 6 18" }) });
|
|
772
772
|
}
|
|
773
|
-
function
|
|
773
|
+
function Tr() {
|
|
774
774
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM19 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2ZM12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2Z" }) });
|
|
775
775
|
}
|
|
776
776
|
function ts() {
|
|
@@ -781,30 +781,30 @@ function ts() {
|
|
|
781
781
|
/* @__PURE__ */ e("path", { d: "M14 21a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7Z" })
|
|
782
782
|
] });
|
|
783
783
|
}
|
|
784
|
-
function
|
|
784
|
+
function Pr() {
|
|
785
785
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
786
786
|
/* @__PURE__ */ e("path", { d: "M22 12c0 5.52-4.48 10-10 10S2 17.52 2 12 6.48 2 12 2s10 4.48 10 10Z" }),
|
|
787
787
|
/* @__PURE__ */ e("path", { d: "m15.71 15.18-3.1-1.85c-.54-.32-.98-1.09-.98-1.72v-4.1" })
|
|
788
788
|
] });
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function Dr() {
|
|
791
791
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
792
792
|
/* @__PURE__ */ e("path", { d: "M9.25 9.05a8 8 0 0 0 5.5 0" }),
|
|
793
793
|
/* @__PURE__ */ e("path", { d: "M16.82 2H7.18C5.05 2 3.32 3.74 3.32 5.86v14.09c0 1.8 1.29 2.56 2.87 1.69l4.88-2.71c.52-.29 1.36-.29 1.87 0l4.88 2.71c1.58.88 2.87.12 2.87-1.69V5.86C20.68 3.74 18.95 2 16.82 2Z" }),
|
|
794
794
|
/* @__PURE__ */ e("path", { d: "M16.82 2H7.18C5.05 2 3.32 3.74 3.32 5.86v14.09c0 1.8 1.29 2.56 2.87 1.69l4.88-2.71c.52-.29 1.36-.29 1.87 0l4.88 2.71c1.58.88 2.87.12 2.87-1.69V5.86C20.68 3.74 18.95 2 16.82 2Z" })
|
|
795
795
|
] });
|
|
796
796
|
}
|
|
797
|
-
function
|
|
797
|
+
function Wr({ filled: t = !1 } = {}) {
|
|
798
798
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
799
799
|
/* @__PURE__ */ e("path", { d: "M10 2.5v6.2c0 .38-.2.73-.52.93L6.7 11.4c-.75.47-1.2 1.29-1.2 2.17 0 .35.28.63.63.63h11.74c.35 0 .63-.28.63-.63 0-.88-.45-1.7-1.2-2.17l-2.78-1.77a1.1 1.1 0 0 1-.52-.93V2.5", ...t ? { fill: "currentColor" } : {} }),
|
|
800
800
|
/* @__PURE__ */ e("path", { d: "M8.5 2.5h7" }),
|
|
801
801
|
/* @__PURE__ */ e("path", { d: "M12 14.2v7.3" })
|
|
802
802
|
] });
|
|
803
803
|
}
|
|
804
|
-
const
|
|
804
|
+
const Or = I(function({ filled: n = !1, className: l, ...c }, s) {
|
|
805
805
|
return n ? /* @__PURE__ */ e("svg", { ref: s, ...c, className: l, viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5.74 16c.11-.49-.09-1.19-.44-1.54l-2.43-2.43c-.76-.76-1.06-1.57-.84-2.27.23-.7.94-1.18 2-1.36l3.12-.52c.45-.08 1-.48 1.21-.89l1.72-3.45C10.58 2.55 11.26 2 12 2s1.42.55 1.92 1.54l1.72 3.45c.13.26.4.51.69.68L5.56 18.44c-.14.14-.38.01-.34-.19L5.74 16ZM18.7 14.462c-.36.36-.56 1.05-.44 1.54l.69 3.01c.29 1.25.11 2.19-.51 2.64a1.5 1.5 0 0 1-.9.27c-.51 0-1.11-.19-1.77-.58l-2.93-1.74c-.46-.27-1.22-.27-1.68 0l-2.93 1.74c-1.11.65-2.06.76-2.67.31-.23-.17-.4-.4-.51-.7l12.16-12.16c.46-.46 1.11-.67 1.74-.56l1.01.17c1.06.18 1.77.66 2 1.36.22.7-.08 1.51-.84 2.27l-2.42 2.43Z" }) }) : /* @__PURE__ */ e("svg", { ref: s, ...c, className: l, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "m13.73 3.51 1.76 3.52c.24.49.88.96 1.42 1.05l3.19.53c2.04.34 2.52 1.82 1.05 3.28l-2.48 2.48c-.42.42-.65 1.23-.52 1.81l.71 3.07c.56 2.43-.73 3.37-2.88 2.1l-2.99-1.77c-.54-.32-1.43-.32-1.98 0l-2.99 1.77c-2.14 1.27-3.44.32-2.88-2.1l.71-3.07c.13-.58-.1-1.39-.52-1.81l-2.48-2.48c-1.46-1.46-.99-2.94 1.05-3.28l3.19-.53c.53-.09 1.17-.56 1.41-1.05l1.76-3.52c.96-1.91 2.52-1.91 3.47 0Z" }) });
|
|
806
806
|
});
|
|
807
|
-
function
|
|
807
|
+
function Hr({ duotone: t = !1 } = {}) {
|
|
808
808
|
return t ? /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
809
809
|
/* @__PURE__ */ e("path", { opacity: ".4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", d: "M16.96 6.17c2 1.39 3.38 3.6 3.66 6.15M3.49 12.37a8.601 8.601 0 0 1 3.6-6.15M8.19 20.94c1.16.59 2.48.92 3.87.92 1.34 0 2.6-.3 3.73-.85" }),
|
|
810
810
|
/* @__PURE__ */ e("path", { fill: "currentColor", d: "M12.06 7.7a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56ZM4.83 19.92a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56ZM19.17 19.92a2.78 2.78 0 1 0 0-5.56 2.78 2.78 0 0 0 0 5.56Z" })
|
|
@@ -829,7 +829,7 @@ function Mn() {
|
|
|
829
829
|
/* @__PURE__ */ e("path", { d: "M11.995 16h.009" })
|
|
830
830
|
] });
|
|
831
831
|
}
|
|
832
|
-
function
|
|
832
|
+
function jr() {
|
|
833
833
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
834
834
|
/* @__PURE__ */ e("path", { d: "M12 22c5.5 0 10-4.5 10-10S17.5 2 12 2 2 6.5 2 12s4.5 10 10 10Z" }),
|
|
835
835
|
/* @__PURE__ */ e("path", { d: "M9.95 9.55c0-1.13.92-2.05 2.05-2.05s2.05.92 2.05 2.05c0 1.06-.72 1.6-1.35 1.95-.44.25-.7.6-.7 1.15v.35" }),
|
|
@@ -842,10 +842,10 @@ function ls() {
|
|
|
842
842
|
/* @__PURE__ */ e("path", { d: "M11.995 17h.009" })
|
|
843
843
|
] });
|
|
844
844
|
}
|
|
845
|
-
function
|
|
845
|
+
function Zr() {
|
|
846
846
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M12 12a5 5 0 1 0 0-10 5 5 0 0 0 0 10ZM20.59 22c0-3.87-3.85-7-8.59-7s-8.59 3.13-8.59 7" }) });
|
|
847
847
|
}
|
|
848
|
-
function
|
|
848
|
+
function Vr() {
|
|
849
849
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
850
850
|
/* @__PURE__ */ e("path", { d: "M12.02 2.91c-3.31 0-6 2.69-6 6v2.89c0 .61-.26 1.54-.57 2.06L4.3 15.77c-.71 1.18-.22 2.49 1.08 2.93 4.31 1.44 8.96 1.44 13.27 0 1.21-.4 1.74-1.83 1.08-2.93l-1.15-1.91c-.3-.52-.56-1.45-.56-2.06V8.91c0-3.3-2.7-6-6-6Z" }),
|
|
851
851
|
/* @__PURE__ */ e("path", { d: "M13.87 3.2a6.754 6.754 0 0 0-3.7 0c.29-.74 1.01-1.26 1.85-1.26.84 0 1.56.52 1.85 1.26Z" }),
|
|
@@ -858,7 +858,7 @@ function cs() {
|
|
|
858
858
|
/* @__PURE__ */ e("path", { d: "M9 22h6c5 0 7-2 7-7V9c0-5-2-7-7-7H9C4 2 2 4 2 9v6c0 5 2 7 7 7ZM2.23 8.01 21.45 8" })
|
|
859
859
|
] });
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function Gr() {
|
|
862
862
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
863
863
|
/* @__PURE__ */ e("path", { d: "M5 15c-1.5 1.3-2 5-2 5s3.7-.5 5-2c.8-.9.8-2.2 0-3a2.1 2.1 0 0 0-3 0Z" }),
|
|
864
864
|
/* @__PURE__ */ e("path", { d: "M9 12a13 13 0 0 1 9-9 13 13 0 0 1-9 9Z" }),
|
|
@@ -900,19 +900,19 @@ function Xl({ duotone: t = !1 } = {}) {
|
|
|
900
900
|
function os() {
|
|
901
901
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M22 12c0 5.52-4.48 10-10 10s-8.89-5.56-8.89-5.56m0 0h4.52m-4.52 0v5M2 12C2 6.48 6.44 2 12 2c6.67 0 10 5.56 10 5.56m0 0v-5m0 5h-4.44" }) });
|
|
902
902
|
}
|
|
903
|
-
function
|
|
903
|
+
function Ct() {
|
|
904
904
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6 12h12M12 18V6" }) });
|
|
905
905
|
}
|
|
906
|
-
function
|
|
906
|
+
function Ur({ duotone: t = !1 } = {}) {
|
|
907
907
|
return /* @__PURE__ */ e(Xl, { duotone: t });
|
|
908
908
|
}
|
|
909
|
-
function
|
|
909
|
+
function zr() {
|
|
910
910
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
911
911
|
/* @__PURE__ */ e("path", { d: "M20.75 13.25c0 4.83-3.92 8.75-8.75 8.75s-8.75-3.92-8.75-8.75S7.17 4.5 12 4.5s8.75 3.92 8.75 8.75ZM12 8v5" }),
|
|
912
912
|
/* @__PURE__ */ e("path", { d: "M9 2h6" })
|
|
913
913
|
] });
|
|
914
914
|
}
|
|
915
|
-
function
|
|
915
|
+
function qr({ duotone: t = !1 } = {}) {
|
|
916
916
|
return t ? /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
917
917
|
/* @__PURE__ */ e("path", { opacity: ".4", fill: "currentColor", d: "M17 20.5H7c-3 0-5-1.5-5-5v-7c0-3.5 2-5 5-5h10c3 0 5 1.5 5 5v7c0 3.5-2 5-5 5Z" }),
|
|
918
918
|
/* @__PURE__ */ e("path", { stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", d: "m17 9-3.13 2.5c-1.03.82-2.72.82-3.75 0L7 9" })
|
|
@@ -921,7 +921,7 @@ function zr({ duotone: t = !1 } = {}) {
|
|
|
921
921
|
/* @__PURE__ */ e("path", { d: "m17 9-3.13 2.5c-1.03.82-2.72.82-3.75 0L7 9" })
|
|
922
922
|
] });
|
|
923
923
|
}
|
|
924
|
-
function
|
|
924
|
+
function Yr() {
|
|
925
925
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
926
926
|
"path",
|
|
927
927
|
{
|
|
@@ -930,20 +930,20 @@ function qr() {
|
|
|
930
930
|
}
|
|
931
931
|
) });
|
|
932
932
|
}
|
|
933
|
-
function
|
|
933
|
+
function Xr() {
|
|
934
934
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M17.05 12.54c-.02-2.05 1.68-3.03 1.75-3.08-.95-1.4-2.44-1.59-2.97-1.61-1.26-.13-2.47.74-3.11.74-.64 0-1.63-.72-2.69-.7-1.38.02-2.66.8-3.37 2.04-1.44 2.5-.37 6.19 1.03 8.22.69.99 1.5 2.1 2.57 2.06 1.03-.04 1.42-.66 2.66-.66 1.24 0 1.59.66 2.68.64 1.11-.02 1.81-1 2.49-2 .78-1.15 1.1-2.26 1.12-2.32-.02-.01-2.15-.83-2.17-3.27ZM15.1 6.34c.56-.69.94-1.63.84-2.59-.81.03-1.8.54-2.39 1.22-.52.6-.98 1.57-.86 2.49.91.07 1.84-.46 2.41-1.12Z" }) });
|
|
935
935
|
}
|
|
936
|
-
function
|
|
936
|
+
function Kr() {
|
|
937
937
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
938
938
|
/* @__PURE__ */ e("path", { d: "M12 14.88c-.91 0-1.65-.74-1.65-1.65v-2.47c0-.91.74-1.65 1.65-1.65.91 0 1.65.74 1.65 1.65v2.47c0 .91-.74 1.65-1.65 1.65Z" }),
|
|
939
939
|
/* @__PURE__ */ e("path", { d: "M16.98 13.47c-.2 2.58-2.36 4.6-4.98 4.6-2.76 0-5-2.24-5-5v-2.14c0-2.76 2.24-5 5-5 2.59 0 4.72 1.97 4.97 4.49" }),
|
|
940
940
|
/* @__PURE__ */ e("path", { d: "M15 2h2c3 0 5 2 5 5v2M2 9V7c0-3 2-5 5-5h2M15 22h2c3 0 5-2 5-5v-2M2 15v2c0 3 2 5 5 5h2" })
|
|
941
941
|
] });
|
|
942
942
|
}
|
|
943
|
-
function
|
|
943
|
+
function Jr() {
|
|
944
944
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M14.43 5.93L20.5 12l-6.07 6.07M3.5 12h16.83" }) });
|
|
945
945
|
}
|
|
946
|
-
function
|
|
946
|
+
function Qr() {
|
|
947
947
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
948
948
|
/* @__PURE__ */ e("path", { d: "M10.49 2.23 5.5 4.11c-1.15.43-2.09 1.79-2.09 3.01v7.43c0 1.18.78 2.73 1.73 3.44l4.3 3.21c1.41 1.06 3.73 1.06 5.14 0l4.3-3.21c.95-.71 1.73-2.26 1.73-3.44V7.12c0-1.23-.94-2.59-2.09-3.02l-4.99-1.87c-.85-.31-2.21-.31-3.04 0Z" }),
|
|
949
949
|
/* @__PURE__ */ e("path", { d: "m9.05 11.87 1.61 1.61 4.3-4.3" })
|
|
@@ -971,23 +971,23 @@ function is() {
|
|
|
971
971
|
/* @__PURE__ */ e("path", { d: "m7.75 12 2.83 2.83 5.67-5.66" })
|
|
972
972
|
] });
|
|
973
973
|
}
|
|
974
|
-
function
|
|
974
|
+
function eo() {
|
|
975
975
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.8", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
976
976
|
/* @__PURE__ */ e("circle", { cx: "12", cy: "12", r: "4" }),
|
|
977
977
|
/* @__PURE__ */ e("path", { d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.9 7.9" })
|
|
978
978
|
] });
|
|
979
979
|
}
|
|
980
|
-
function
|
|
980
|
+
function to() {
|
|
981
981
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M16.29 2.15H7.7C6 2.15 5.25 3 4.79 4.04L2.23 9.8c-.46 1.04-.21 2.59.56 3.43l6.86 7.54c1.3 1.42 3.42 1.42 4.71 0l6.85-7.55c.77-.85 1.02-2.39.55-3.43L19.2 4.03c-.46-1.03-1.21-1.88-2.91-1.88ZM3.5 8h17" }) });
|
|
982
982
|
}
|
|
983
|
-
function
|
|
983
|
+
function no() {
|
|
984
984
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
985
985
|
/* @__PURE__ */ e("path", { d: "M6.7 18H4.15C2.72 18 2 17.28 2 15.85V4.15C2 2.72 2.72 2 4.15 2h4.3c1.43 0 2.15.72 2.15 2.15V6" }),
|
|
986
986
|
/* @__PURE__ */ e("path", { d: "M17.37 8.42v11.16c0 1.61-.8 2.42-2.41 2.42H9.12c-1.61 0-2.42-.81-2.42-2.42V8.42C6.7 6.81 7.51 6 9.12 6h5.84c1.61 0 2.41.81 2.41 2.42Z" }),
|
|
987
987
|
/* @__PURE__ */ e("path", { d: "M13.4 6V4.15c0-1.43.72-2.15 2.15-2.15h4.3C21.28 2 22 2.72 22 4.15v11.7c0 1.43-.72 2.15-2.15 2.15h-2.48M10 11h4M10 14h4M12 22v-3" })
|
|
988
988
|
] });
|
|
989
989
|
}
|
|
990
|
-
function
|
|
990
|
+
function lo() {
|
|
991
991
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
992
992
|
/* @__PURE__ */ e("path", { d: "M19.79 14.93a7.575 7.575 0 0 1-7.6 1.87l-4.71 4.7c-.34.35-1.01.56-1.49.49l-2.18-.3c-.72-.1-1.39-.78-1.5-1.5l-.3-2.18c-.07-.48.16-1.15.49-1.49l4.7-4.7c-.8-2.6-.18-5.55 1.88-7.6 2.95-2.95 7.74-2.95 10.7 0 2.96 2.95 2.96 7.76.01 10.71ZM6.89 17.49l2.3 2.3" }),
|
|
993
993
|
/* @__PURE__ */ e("path", { d: "M14.5 11a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z" })
|
|
@@ -996,7 +996,7 @@ function no() {
|
|
|
996
996
|
function Ql() {
|
|
997
997
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M21 5.98c-3.33-.33-6.68-.5-10.02-.5-1.98 0-3.96.1-5.94.3L3 5.98M8.5 4.97l.22-1.31C8.88 2.71 9 2 10.69 2h2.62c1.69 0 1.82.75 1.97 1.67l.22 1.3M18.85 9.14l-.65 10.07C18.09 20.78 18 22 15.21 22H8.79C6 22 5.91 20.78 5.8 19.21L5.15 9.14M10.33 16.5h3.33M9.5 12.5h5" }) });
|
|
998
998
|
}
|
|
999
|
-
function
|
|
999
|
+
function co() {
|
|
1000
1000
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "m9.02 2.84-5.39 4.2C2.73 7.74 2 9.23 2 10.36v7.41c0 2.32 1.89 4.22 4.21 4.22h11.58c2.32 0 4.21-1.9 4.21-4.21V10.5c0-1.21-.81-2.76-1.8-3.45l-6.18-4.33c-1.4-.98-3.65-.93-5 .12ZM12 17.99v-3" }) });
|
|
1001
1001
|
}
|
|
1002
1002
|
function ds() {
|
|
@@ -1005,29 +1005,29 @@ function ds() {
|
|
|
1005
1005
|
/* @__PURE__ */ e("path", { d: "M2 12.88v-1.76c0-1.04.85-1.9 1.9-1.9 1.81 0 2.55-1.28 1.64-2.85-.52-.9-.21-2.07.7-2.59l1.73-.99c.79-.47 1.81-.19 2.28.6l.11.19c.9 1.57 2.38 1.57 3.29 0l.11-.19c.47-.79 1.49-1.07 2.28-.6l1.73.99c.91.52 1.22 1.69.7 2.59-.91 1.57-.17 2.85 1.64 2.85 1.04 0 1.9.85 1.9 1.9v1.76c0 1.04-.85 1.9-1.9 1.9-1.81 0-2.55 1.28-1.64 2.85.52.91.21 2.07-.7 2.59l-1.73.99c-.79.47-1.81.19-2.28-.6l-.11-.19c-.9-1.57-2.38-1.57-3.29 0l-.11.19c-.47.79-1.49 1.07-2.28.6l-1.73-.99a1.899 1.899 0 0 1-.7-2.59c.91-1.57.17-2.85-1.64-2.85-1.05 0-1.9-.86-1.9-1.9Z" })
|
|
1006
1006
|
] });
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1008
|
+
function so() {
|
|
1009
1009
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1010
1010
|
/* @__PURE__ */ e("path", { d: "M13 11.15H7M2 11.15V6.53c0-2.04 1.65-3.69 3.69-3.69h5.62c2.04 0 3.69 1.27 3.69 3.31" }),
|
|
1011
1011
|
/* @__PURE__ */ e("path", { d: "M17.48 12.2c-.5.48-.74 1.22-.54 1.98.25.93 1.17 1.52 2.13 1.52H20v1.45c0 2.21-1.79 4-4 4H6c-2.21 0-4-1.79-4-4v-7c0-2.21 1.79-4 4-4h10c2.2 0 4 1.8 4 4v1.45h-1.08c-.56 0-1.07.22-1.44.6Z" }),
|
|
1012
1012
|
/* @__PURE__ */ e("path", { d: "M22 12.62v2.06c0 .56-.46 1.02-1.03 1.02h-1.93c-1.08 0-2.07-.79-2.16-1.87-.06-.63.18-1.22.6-1.63.37-.38.88-.6 1.44-.6h2.05c.57 0 1.03.46 1.03 1.02Z" })
|
|
1013
1013
|
] });
|
|
1014
1014
|
}
|
|
1015
|
-
function
|
|
1015
|
+
function ao() {
|
|
1016
1016
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1017
1017
|
/* @__PURE__ */ e("path", { d: "M2 8.505h20M6 16.505h2M10.5 16.505h4" }),
|
|
1018
1018
|
/* @__PURE__ */ e("path", { d: "M6.44 3.505h11.11c3.56 0 4.45.88 4.45 4.39v8.21c0 3.51-.89 4.39-4.44 4.39H6.44c-3.55.01-4.44-.87-4.44-4.38v-8.22c0-3.51.89-4.39 4.44-4.39Z" })
|
|
1019
1019
|
] });
|
|
1020
1020
|
}
|
|
1021
|
-
function
|
|
1021
|
+
function ro() {
|
|
1022
1022
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1023
1023
|
/* @__PURE__ */ e("path", { d: "m13.26 3.6-8.21 8.69c-.31.33-.61.98-.67 1.43l-.37 3.24c-.13 1.17.71 1.97 1.87 1.77l3.22-.55c.45-.08 1.08-.41 1.39-.75l8.21-8.69c1.42-1.5 2.06-3.21-.15-5.3-2.2-2.07-3.87-1.34-5.29.16Z" }),
|
|
1024
1024
|
/* @__PURE__ */ e("path", { d: "M11.89 5.05a6.126 6.126 0 0 0 5.45 5.15M3 22h18" })
|
|
1025
1025
|
] });
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1027
|
+
function oo() {
|
|
1028
1028
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "m7.4 6.32 8.49-2.83c3.81-1.27 5.88.81 4.62 4.62l-2.83 8.49c-1.9 5.71-5.02 5.71-6.92 0l-.84-2.52-2.52-.84c-5.71-1.9-5.71-5.01 0-6.92ZM10.11 13.65l3.58-3.59" }) });
|
|
1029
1029
|
}
|
|
1030
|
-
function
|
|
1030
|
+
function io() {
|
|
1031
1031
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1032
1032
|
/* @__PURE__ */ e("path", { d: "M6 10V8c0-3.31 1-6 6-6s6 2.69 6 6v2M12 18.5a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5Z" }),
|
|
1033
1033
|
/* @__PURE__ */ e("path", { d: "M17 22H7c-4 0-5-1-5-5v-2c0-4 1-5 5-5h10c4 0 5 1 5 5v2c0 4-1 5-5 5Z" })
|
|
@@ -1042,7 +1042,7 @@ function ec() {
|
|
|
1042
1042
|
function tc() {
|
|
1043
1043
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M19.92 15.05L13.4 8.53c-.77-.77-2.03-.77-2.8 0l-6.52 6.52" }) });
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function ho() {
|
|
1046
1046
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M9.32 6.5l2.56-2.56 2.56 2.56M11.88 14.18V4.01M4 12c0 4.42 3 8 8 8s8-3.58 8-8" }) });
|
|
1047
1047
|
}
|
|
1048
1048
|
function hs() {
|
|
@@ -1057,19 +1057,19 @@ function us() {
|
|
|
1057
1057
|
/* @__PURE__ */ e("path", { d: "M14.5 4.5v2c0 1.1.9 2 2 2h2M8 13h4M8 17h8" })
|
|
1058
1058
|
] });
|
|
1059
1059
|
}
|
|
1060
|
-
function
|
|
1060
|
+
function uo() {
|
|
1061
1061
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1062
1062
|
/* @__PURE__ */ e("path", { d: "m3.989 14.66-1.52-1.52c-.62-.62-.62-1.64 0-2.26l1.52-1.52c.26-.26.47-.77.47-1.13V6.08c0-.88.72-1.6 1.6-1.6h2.15c.36 0 .87-.21 1.13-.47l1.52-1.52c.62-.62 1.64-.62 2.26 0l1.52 1.52c.26.26.77.47 1.13.47h2.15c.88 0 1.6.72 1.6 1.6v2.15c0 .36.21.87.47 1.13l1.52 1.52c.62.62.62 1.64 0 2.26l-1.52 1.52c-.26.26-.47.77-.47 1.13v2.15c0 .88-.72 1.6-1.6 1.6h-2.15c-.36 0-.87.21-1.13.47l-1.52 1.52c-.62.62-1.64.62-2.26 0l-1.52-1.52c-.26-.26-.77-.47-1.13-.47h-2.15c-.88 0-1.6-.72-1.6-1.6v-2.15c0-.37-.21-.88-.47-1.13ZM9 15l6-6" }),
|
|
1063
1063
|
/* @__PURE__ */ e("path", { d: "M14.495 14.5h.009M9.495 9.5h.008" })
|
|
1064
1064
|
] });
|
|
1065
1065
|
}
|
|
1066
|
-
function
|
|
1066
|
+
function po() {
|
|
1067
1067
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1068
1068
|
/* @__PURE__ */ e("path", { d: "M2 2v17c0 1.66 1.34 3 3 3h17" }),
|
|
1069
1069
|
/* @__PURE__ */ e("path", { d: "m5 17 4.59-5.36c.76-.88 2.11-.94 2.93-.11l.95.95c.82.82 2.17.77 2.93-.11L21 7" })
|
|
1070
1070
|
] });
|
|
1071
1071
|
}
|
|
1072
|
-
function
|
|
1072
|
+
function mo({ duotone: t = !1 } = {}) {
|
|
1073
1073
|
return t ? /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: [
|
|
1074
1074
|
/* @__PURE__ */ e("path", { opacity: ".4", d: "M3.01 11.22v4.49C3.01 20.2 4.81 22 9.3 22h5.39c4.49 0 6.29-1.8 6.29-6.29v-4.49H3.01Z" }),
|
|
1075
1075
|
/* @__PURE__ */ e("path", { d: "M12 12c1.83 0 3.18-1.49 3-3.32L14.34 2H9.67L9 8.68C8.82 10.51 10.17 12 12 12ZM18.31 12c2.02 0 3.5-1.64 3.3-3.65l-.28-2.75C20.97 3 19.97 2 17.35 2H14.3l.7 7.01c.17 1.65 1.66 2.99 3.31 2.99ZM5.64 12c1.65 0 3.14-1.34 3.3-2.99l.22-2.21.48-4.8H6.59C3.97 2 2.97 3 2.61 5.6l-.27 2.75C2.14 10.36 3.62 12 5.64 12ZM12 17c-1.67 0-2.5.83-2.5 2.5V22h5v-2.5c0-1.67-.83-2.5-2.5-2.5Z" })
|
|
@@ -1079,22 +1079,22 @@ function po({ duotone: t = !1 } = {}) {
|
|
|
1079
1079
|
/* @__PURE__ */ e("path", { d: "M18.31 12c2.02 0 3.5-1.64 3.3-3.65l-.28-2.75C20.97 3 19.97 2 17.35 2H14.3l.7 7.01c.17 1.65 1.66 2.99 3.31 2.99ZM5.64 12c1.65 0 3.14-1.34 3.3-2.99l.22-2.21.48-4.8H6.59C3.97 2 2.97 3 2.61 5.6l-.27 2.75C2.14 10.36 3.62 12 5.64 12ZM12 17c-1.67 0-2.5.83-2.5 2.5V22h5v-2.5c0-1.67-.83-2.5-2.5-2.5Z" })
|
|
1080
1080
|
] });
|
|
1081
1081
|
}
|
|
1082
|
-
function
|
|
1082
|
+
function fo() {
|
|
1083
1083
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5 10h2c2 0 3-1 3-3V5c0-2-1-3-3-3H5C3 2 2 3 2 5v2c0 2 1 3 3 3ZM17 10h2c2 0 3-1 3-3V5c0-2-1-3-3-3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM17 22h2c2 0 3-1 3-3v-2c0-2-1-3-3-3h-2c-2 0-3 1-3 3v2c0 2 1 3 3 3ZM5 22h2c2 0 3-1 3-3v-2c0-2-1-3-3-3H5c-2 0-3 1-3 3v2c0 2 1 3 3 3Z" }) });
|
|
1084
1084
|
}
|
|
1085
|
-
function
|
|
1085
|
+
function _o() {
|
|
1086
1086
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M11.92 22c5.5 0 10-4.5 10-10s-4.5-10-10-10-10 4.5-10 10 4.5 10 10 10ZM7.92 12h8" }) });
|
|
1087
1087
|
}
|
|
1088
|
-
function
|
|
1088
|
+
function vo() {
|
|
1089
1089
|
return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
|
|
1090
1090
|
/* @__PURE__ */ e("path", { d: "M4.05 3h1.3c.79 0 1.41.68 1.35 1.47l-.62 7.42c-.1 1.24.88 2.31 2.13 2.31h9.11c1.09 0 2.05-.9 2.13-1.99l.4-5.57a1.86 1.86 0 0 0-1.86-1.99H6.7" }),
|
|
1091
1091
|
/* @__PURE__ */ e("path", { d: "M16.3 22a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5ZM9.2 22a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5Z" })
|
|
1092
1092
|
] });
|
|
1093
1093
|
}
|
|
1094
|
-
function
|
|
1094
|
+
function go() {
|
|
1095
1095
|
return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M3 7h18M3 12h18M3 17h18" }) });
|
|
1096
1096
|
}
|
|
1097
|
-
function
|
|
1097
|
+
function bo({ duotone: t = !1 } = {}) {
|
|
1098
1098
|
return t ? /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
|
|
1099
1099
|
/* @__PURE__ */ e("path", { opacity: ".4", fill: "currentColor", d: "M13 22H5c-2 0-3-1-3-3v-8c0-2 1-3 3-3h5v11c0 2 1 3 3 3ZM10.11 4c-.08.3-.11.63-.11 1v3H5V6c0-1.1.9-2 2-2h3.11ZM10 19V5c0-2 1-3 3-3h6c2 0 3 1 3 3v14c0 2-1 3-3 3h-6c-2 0-3-1-3-3Z" }),
|
|
1100
1100
|
/* @__PURE__ */ e("path", { fill: "currentColor", d: "M17 17h-2c-.55 0-1 .45-1 1v4h4v-4c0-.55-.45-1-1-1Z" }),
|
|
@@ -1221,7 +1221,7 @@ function Kn({
|
|
|
1221
1221
|
)
|
|
1222
1222
|
] });
|
|
1223
1223
|
}
|
|
1224
|
-
const ft =
|
|
1224
|
+
const ft = I(function({ content: n, title: l, label: c = "Mais informações", placement: s = "top", className: a, ...r }, i) {
|
|
1225
1225
|
return /* @__PURE__ */ e(
|
|
1226
1226
|
Kn,
|
|
1227
1227
|
{
|
|
@@ -1245,7 +1245,7 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1245
1245
|
)
|
|
1246
1246
|
}
|
|
1247
1247
|
);
|
|
1248
|
-
}),
|
|
1248
|
+
}), Tt = I(function({ htmlFor: n, label: l, help: c, info: s, action: a, className: r, ...i }, o) {
|
|
1249
1249
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-field__labelrow${r ? " " + r : ""}`, children: [
|
|
1250
1250
|
/* @__PURE__ */ u("span", { className: "select-field__labelwrap", children: [
|
|
1251
1251
|
/* @__PURE__ */ e("label", { className: "select-field__label", htmlFor: n, children: l }),
|
|
@@ -1253,7 +1253,7 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1253
1253
|
] }),
|
|
1254
1254
|
a
|
|
1255
1255
|
] });
|
|
1256
|
-
}), pt =
|
|
1256
|
+
}), pt = I(function({ label: n, value: l, onChange: c, type: s = "text", labelAction: a, help: r, info: i, description: o, hint: d, error: p, prefix: h, suffix: f, trailingAction: v, mono: _, autoComplete: x, placeholder: M, required: S, disabled: b, readOnly: m, name: N, id: k, minLength: w, maxLength: y, min: $, max: g, step: C, inputMode: A, autoFocus: B, onBlur: L, onKeyDown: E, size: F = "md", className: T, ...O }, q) {
|
|
1257
1257
|
const H = ge(), V = k ?? H, [P, W] = D(!1), K = s === "password", te = K && P ? "text" : s, ie = p ? `${V}-err` : d ? `${V}-hint` : void 0, me = h != null || f != null, j = s === "number" && !me && !m, ee = l === "" ? null : Number(l), ne = (se) => {
|
|
1258
1258
|
const ke = Number(C ?? 1) || 1;
|
|
1259
1259
|
let de = (ee != null && Number.isFinite(ee) ? ee : 0) + se * ke;
|
|
@@ -1326,7 +1326,7 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1326
1326
|
] })
|
|
1327
1327
|
] });
|
|
1328
1328
|
return /* @__PURE__ */ u("div", { ref: q, ...O, className: `select-field${F === "sm" ? " select-field--sm" : ""}${T ? " " + T : ""}`, children: [
|
|
1329
|
-
(n || r || i || a) && /* @__PURE__ */ e(
|
|
1329
|
+
(n || r || i || a) && /* @__PURE__ */ e(Tt, { htmlFor: V, label: n, help: r, info: i, action: a }),
|
|
1330
1330
|
o && /* @__PURE__ */ e("p", { className: "select-field__desc", children: o }),
|
|
1331
1331
|
v != null ? /* @__PURE__ */ u("div", { className: "select-field__control", children: [
|
|
1332
1332
|
Me,
|
|
@@ -1334,7 +1334,7 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1334
1334
|
] }) : Me,
|
|
1335
1335
|
p ? /* @__PURE__ */ e("p", { id: `${V}-err`, className: "select-field__error", children: p }) : d ? /* @__PURE__ */ e("p", { id: `${V}-hint`, className: "select-field__hint", children: d }) : null
|
|
1336
1336
|
] });
|
|
1337
|
-
}),
|
|
1337
|
+
}), xo = I(function({ label: n, checked: l, onChange: c, disabled: s, hint: a, name: r, className: i, ...o }, d) {
|
|
1338
1338
|
return /* @__PURE__ */ u("span", { ref: d, ...o, className: `select-checkbox-field${s ? " select-checkbox-field--disabled" : ""}${i ? " " + i : ""}`, children: [
|
|
1339
1339
|
/* @__PURE__ */ u("label", { className: "select-checkbox", children: [
|
|
1340
1340
|
/* @__PURE__ */ e(
|
|
@@ -1352,10 +1352,10 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1352
1352
|
] }),
|
|
1353
1353
|
a && /* @__PURE__ */ e("span", { className: "select-checkbox__hint", children: a })
|
|
1354
1354
|
] });
|
|
1355
|
-
}),
|
|
1355
|
+
}), yo = I(function({ label: n, value: l, onChange: c, labelAction: s, help: a, info: r, description: i, hint: o, error: d, placeholder: p, rows: h = 4, mono: f, name: v, required: _, disabled: x, maxLength: M, onBlur: S, size: b = "md", className: m, ...N }, k) {
|
|
1356
1356
|
const w = ge(), y = d ? `${w}-err` : o ? `${w}-hint` : void 0;
|
|
1357
1357
|
return /* @__PURE__ */ u("div", { ref: k, ...N, className: `select-field${b === "sm" ? " select-field--sm" : ""}${m ? " " + m : ""}`, children: [
|
|
1358
|
-
(n || a || r || s) && /* @__PURE__ */ e(
|
|
1358
|
+
(n || a || r || s) && /* @__PURE__ */ e(Tt, { htmlFor: w, label: n, help: a, info: r, action: s }),
|
|
1359
1359
|
i && /* @__PURE__ */ e("p", { className: "select-field__desc", children: i }),
|
|
1360
1360
|
/* @__PURE__ */ e(
|
|
1361
1361
|
"textarea",
|
|
@@ -1377,10 +1377,10 @@ const ft = R(function({ content: n, title: l, label: c = "Mais informações", p
|
|
|
1377
1377
|
),
|
|
1378
1378
|
d ? /* @__PURE__ */ e("p", { id: `${w}-err`, className: "select-field__error", children: d }) : o ? /* @__PURE__ */ e("p", { id: `${w}-hint`, className: "select-field__hint", children: o }) : null
|
|
1379
1379
|
] });
|
|
1380
|
-
}),
|
|
1380
|
+
}), No = I(function({ label: n, value: l, onChange: c, unit: s, info: a, hint: r, error: i, placeholder: o = "0", disabled: d = !1, min: p, max: h, className: f, ...v }, _) {
|
|
1381
1381
|
const x = ge();
|
|
1382
1382
|
return /* @__PURE__ */ u("div", { ref: _, ...v, className: `select-field${f ? " " + f : ""}`, children: [
|
|
1383
|
-
n && /* @__PURE__ */ e(
|
|
1383
|
+
n && /* @__PURE__ */ e(Tt, { htmlFor: x, label: n, info: a }),
|
|
1384
1384
|
/* @__PURE__ */ u("div", { className: `select-unit${i ? " select-unit--error" : ""}${d ? " select-unit--disabled" : ""}`, children: [
|
|
1385
1385
|
/* @__PURE__ */ e(
|
|
1386
1386
|
"input",
|
|
@@ -1414,7 +1414,7 @@ function ol(t, n) {
|
|
|
1414
1414
|
}
|
|
1415
1415
|
return 0;
|
|
1416
1416
|
}
|
|
1417
|
-
const
|
|
1417
|
+
const Mo = I(function({ label: n, value: l, onChange: c, info: s, hint: a, error: r, onBlur: i, placeholder: o = "0,00", name: d, disabled: p = !1, size: h = "md", className: f, ...v }, _) {
|
|
1418
1418
|
const x = ge(), M = J(null), S = J(null), b = l == null ? "" : rl.format(l / 100);
|
|
1419
1419
|
qe(() => {
|
|
1420
1420
|
const N = M.current;
|
|
@@ -1436,7 +1436,7 @@ const No = R(function({ label: n, value: l, onChange: c, info: s, hint: a, error
|
|
|
1436
1436
|
k.value = B, k.setSelectionRange(L, L), S.current = g.length, c(A);
|
|
1437
1437
|
};
|
|
1438
1438
|
return /* @__PURE__ */ u("div", { ref: _, ...v, className: `select-field${h === "sm" ? " select-field--sm" : ""}${f ? " " + f : ""}`, children: [
|
|
1439
|
-
n && /* @__PURE__ */ e(
|
|
1439
|
+
n && /* @__PURE__ */ e(Tt, { htmlFor: x, label: n, info: s }),
|
|
1440
1440
|
/* @__PURE__ */ u(
|
|
1441
1441
|
"div",
|
|
1442
1442
|
{
|
|
@@ -1478,7 +1478,7 @@ function _s(t) {
|
|
|
1478
1478
|
const n = Jn(t).slice(0, 14);
|
|
1479
1479
|
return n.length <= 11 ? n.replace(/^(\d{3})(\d)/, "$1.$2").replace(/^(\d{3})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1-$2") : n.replace(/^(\d{2})(\d)/, "$1.$2").replace(/^(\d{2})\.(\d{3})(\d)/, "$1.$2.$3").replace(/\.(\d{3})(\d)/, ".$1/$2").replace(/(\d{4})(\d)/, "$1-$2");
|
|
1480
1480
|
}
|
|
1481
|
-
function
|
|
1481
|
+
function wo({
|
|
1482
1482
|
label: t = "CPF/CNPJ",
|
|
1483
1483
|
value: n,
|
|
1484
1484
|
onChange: l,
|
|
@@ -1506,13 +1506,13 @@ function Mo({
|
|
|
1506
1506
|
}
|
|
1507
1507
|
);
|
|
1508
1508
|
}
|
|
1509
|
-
const
|
|
1509
|
+
const Pt = I(function({ children: n, tone: l = "critical", title: c, action: s, className: a, ...r }, i) {
|
|
1510
1510
|
return /* @__PURE__ */ u("div", { ref: i, ...r, className: `select-alert select-alert--${l}${a ? " " + a : ""}`, role: "alert", children: [
|
|
1511
1511
|
c != null && /* @__PURE__ */ e("p", { className: "select-alert__title", children: c }),
|
|
1512
1512
|
n != null && /* @__PURE__ */ e("div", { className: "select-alert__body", children: n }),
|
|
1513
1513
|
s != null && /* @__PURE__ */ e("div", { className: "select-alert__action", children: s })
|
|
1514
1514
|
] });
|
|
1515
|
-
}), _n =
|
|
1515
|
+
}), _n = I(function({ src: n, docExt: l, name: c, sub: s, badge: a, onRemove: r, className: i, ...o }, d) {
|
|
1516
1516
|
return /* @__PURE__ */ u("div", { ref: d, ...o, className: `select-filetile${i ? " " + i : ""}`, children: [
|
|
1517
1517
|
/* @__PURE__ */ u("div", { className: "select-filetile__media", children: [
|
|
1518
1518
|
n ? /* @__PURE__ */ e(
|
|
@@ -1537,7 +1537,7 @@ const Tt = R(function({ children: n, tone: l = "critical", title: c, action: s,
|
|
|
1537
1537
|
className: "select-filetile__remove",
|
|
1538
1538
|
"aria-label": `Remover ${c}`,
|
|
1539
1539
|
onClick: r,
|
|
1540
|
-
children: /* @__PURE__ */ e(
|
|
1540
|
+
children: /* @__PURE__ */ e(St, {})
|
|
1541
1541
|
}
|
|
1542
1542
|
)
|
|
1543
1543
|
] }),
|
|
@@ -1569,7 +1569,7 @@ function oc(t) {
|
|
|
1569
1569
|
return t;
|
|
1570
1570
|
}
|
|
1571
1571
|
}
|
|
1572
|
-
const
|
|
1572
|
+
const ko = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, allowMultiple: a = !0, maxFiles: r, hint: i, className: o, ...d }, p) {
|
|
1573
1573
|
const h = J(null), [f, v] = D(!1), [_, x] = D(0), M = s * 1024 * 1024, S = Oe(() => n.map((C) => sc(C) ? URL.createObjectURL(C) : null), [n]);
|
|
1574
1574
|
pe(
|
|
1575
1575
|
() => () => {
|
|
@@ -1653,19 +1653,19 @@ const wo = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1653
1653
|
}
|
|
1654
1654
|
}
|
|
1655
1655
|
),
|
|
1656
|
-
_ > 0 && /* @__PURE__ */ u(
|
|
1656
|
+
_ > 0 && /* @__PURE__ */ u(Pt, { tone: "warning", children: [
|
|
1657
1657
|
_,
|
|
1658
1658
|
" arquivo(s) ignorado(s): tipo não permitido ou acima de ",
|
|
1659
1659
|
s,
|
|
1660
1660
|
" MB."
|
|
1661
1661
|
] })
|
|
1662
1662
|
] });
|
|
1663
|
-
}), vs =
|
|
1663
|
+
}), vs = I(function({ children: n, onClick: l, icon: c, className: s, ...a }, r) {
|
|
1664
1664
|
return /* @__PURE__ */ u("button", { ref: r, ...a, type: "button", className: `select-addbtn${s ? " " + s : ""}`, onClick: l, children: [
|
|
1665
|
-
/* @__PURE__ */ e("span", { className: "select-addbtn__icon", "aria-hidden": "true", children: c ?? /* @__PURE__ */ e(
|
|
1665
|
+
/* @__PURE__ */ e("span", { className: "select-addbtn__icon", "aria-hidden": "true", children: c ?? /* @__PURE__ */ e(Ct, {}) }),
|
|
1666
1666
|
n
|
|
1667
1667
|
] });
|
|
1668
|
-
}),
|
|
1668
|
+
}), $o = I(function({ label: n, urls: l, onChange: c, maxUrls: s, placeholder: a, helpText: r, className: i, ...o }, d) {
|
|
1669
1669
|
const [p, h] = D(""), [f, v] = D(null), _ = s != null && l.length >= s, x = () => {
|
|
1670
1670
|
const b = p.trim();
|
|
1671
1671
|
if (b) {
|
|
@@ -1706,7 +1706,7 @@ const wo = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1706
1706
|
] }),
|
|
1707
1707
|
r != null && !f && /* @__PURE__ */ e("p", { className: "select-field__hint", children: r })
|
|
1708
1708
|
] });
|
|
1709
|
-
}), gs =
|
|
1709
|
+
}), gs = I(function({ label: n, mode: l = "multiple", files: c, onFilesChange: s, urls: a, onUrlsChange: r, accept: i = ".jpg,.jpeg,.png,.webp", maxSizeMB: o = 3, maxItems: d = 10, maxFiles: p, uploadHint: h, urlPlaceholder: f, helpText: v, className: _, ...x }, M) {
|
|
1710
1710
|
const S = l === "single", b = J(null), [m, N] = D(!1), [k, w] = D(0), [y, $] = D(""), [g, C] = D(null), A = S ? 1 : Math.max(1, d), B = S ? 1 : p ?? A, L = c.length + a.length, E = S ? L === 0 : L < A && c.length < B, F = S ? L === 0 : L < A, T = L > 0, O = o * 1024 * 1024, q = Oe(() => c.map((j) => sc(j) ? URL.createObjectURL(j) : null), [c]);
|
|
1711
1711
|
pe(
|
|
1712
1712
|
() => () => {
|
|
@@ -1815,7 +1815,7 @@ const wo = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1815
1815
|
}
|
|
1816
1816
|
)
|
|
1817
1817
|
] }),
|
|
1818
|
-
k > 0 && /* @__PURE__ */ u(
|
|
1818
|
+
k > 0 && /* @__PURE__ */ u(Pt, { tone: "warning", children: [
|
|
1819
1819
|
k,
|
|
1820
1820
|
" arquivo(s) ignorado(s): tipo não permitido ou acima de ",
|
|
1821
1821
|
o,
|
|
@@ -1823,7 +1823,7 @@ const wo = R(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
|
|
|
1823
1823
|
] }),
|
|
1824
1824
|
v != null && /* @__PURE__ */ e("p", { className: "select-field__hint", children: v })
|
|
1825
1825
|
] });
|
|
1826
|
-
}), ic =
|
|
1826
|
+
}), ic = I(function({ label: n, value: l, onChange: c, options: s, labelAction: a, help: r, info: i, description: o, hint: d, error: p, placeholder: h, name: f, required: v, disabled: _, size: x = "md", className: M, ...S }, b) {
|
|
1827
1827
|
const m = ge(), N = p ? `${m}-err` : d ? `${m}-hint` : void 0;
|
|
1828
1828
|
return /* @__PURE__ */ u("div", { ref: b, ...S, className: `select-field${x === "sm" ? " select-field--sm" : ""}${M ? " " + M : ""}`, children: [
|
|
1829
1829
|
(n || r || i || a) && /* @__PURE__ */ u("div", { className: "select-field__labelrow", children: [
|
|
@@ -1992,7 +1992,7 @@ function ys(t, n) {
|
|
|
1992
1992
|
function Qt(t) {
|
|
1993
1993
|
return ((t == null ? void 0 : t.closest("[data-theme]")) ?? document.documentElement).getAttribute("data-theme") === "dark" ? "dark" : "light";
|
|
1994
1994
|
}
|
|
1995
|
-
const
|
|
1995
|
+
const Ft = [];
|
|
1996
1996
|
function dt({
|
|
1997
1997
|
active: t,
|
|
1998
1998
|
onClose: n,
|
|
@@ -2028,9 +2028,9 @@ function dt({
|
|
|
2028
2028
|
if (!t) return;
|
|
2029
2029
|
const b = h.current;
|
|
2030
2030
|
if (b)
|
|
2031
|
-
return
|
|
2032
|
-
const m =
|
|
2033
|
-
m !== -1 &&
|
|
2031
|
+
return Ft.push(b), () => {
|
|
2032
|
+
const m = Ft.lastIndexOf(b);
|
|
2033
|
+
m !== -1 && Ft.splice(m, 1);
|
|
2034
2034
|
};
|
|
2035
2035
|
}, [t]), pe(() => {
|
|
2036
2036
|
if (!t) return;
|
|
@@ -2043,7 +2043,7 @@ function dt({
|
|
|
2043
2043
|
const b = (N) => {
|
|
2044
2044
|
var w, y;
|
|
2045
2045
|
const k = N.target;
|
|
2046
|
-
(w = h.current) != null && w.contains(k) || (y = p.current) != null && y.contains(k) ||
|
|
2046
|
+
(w = h.current) != null && w.contains(k) || (y = p.current) != null && y.contains(k) || Ft.length && Ft[Ft.length - 1] !== h.current || n();
|
|
2047
2047
|
}, m = (N) => {
|
|
2048
2048
|
N.key === "Escape" && (N.stopPropagation(), n());
|
|
2049
2049
|
};
|
|
@@ -2073,7 +2073,7 @@ function Ns({ count: t, children: n }) {
|
|
|
2073
2073
|
const l = t > 0 ? Math.min(0.03, 0.35 / t) : 0, c = wn({ selector: ".select-combobox__option", y: 6, duration: 0.3, stagger: l });
|
|
2074
2074
|
return /* @__PURE__ */ e("div", { className: "select-combobox__list", ref: c, children: n });
|
|
2075
2075
|
}
|
|
2076
|
-
const Ms =
|
|
2076
|
+
const Ms = I(function({ label: n, value: l, onChange: c, options: s, placeholder: a = "Selecionar…", searchPlaceholder: r = "Buscar…", labelAction: i, help: o, hint: d, error: p, emptyText: h = "Nenhum resultado", disabled: f, required: v, size: _ = "md", searchable: x = !0, className: M, ...S }, b) {
|
|
2077
2077
|
const m = ge(), [N, k] = D(!1), [w, y] = D(""), $ = s.find((L) => L.value === l), g = Oe(() => {
|
|
2078
2078
|
const L = w.trim().toLowerCase();
|
|
2079
2079
|
return !x || !L ? s : s.filter((E) => {
|
|
@@ -2158,14 +2158,14 @@ const Ms = R(function({ label: n, value: l, onChange: c, options: s, placeholder
|
|
|
2158
2158
|
) }),
|
|
2159
2159
|
p ? /* @__PURE__ */ e("p", { id: `${m}-err`, className: "select-field__error", children: p }) : d ? /* @__PURE__ */ e("p", { id: `${m}-hint`, className: "select-field__hint", children: d }) : null
|
|
2160
2160
|
] });
|
|
2161
|
-
}), ws =
|
|
2161
|
+
}), ws = I(function({ children: n, columns: l = 2, className: c, ...s }, a) {
|
|
2162
2162
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-fieldgrid select-fieldgrid--${l}${c ? " " + c : ""}`, children: n });
|
|
2163
2163
|
}), ks = (t) => t.replace(/\D/g, "");
|
|
2164
2164
|
function $s(t) {
|
|
2165
2165
|
const n = t.replace(/[^\d-]/g, ""), [l = "", ...c] = n.split("-");
|
|
2166
2166
|
return c.length ? `${l}-${c.join("").replace(/\D/g, "").slice(0, 2)}` : l;
|
|
2167
2167
|
}
|
|
2168
|
-
const
|
|
2168
|
+
const So = I(function({ value: n, onChange: l, banks: c = [], showType: s = !1, error: a, className: r, ...i }, o) {
|
|
2169
2169
|
const d = (h) => l({ ...n, ...h }), p = c.map((h) => ({ label: h.name || h.code, value: h.code }));
|
|
2170
2170
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-stack${r ? " " + r : ""}`, children: [
|
|
2171
2171
|
/* @__PURE__ */ e(
|
|
@@ -2208,17 +2208,17 @@ const $o = R(function({ value: n, onChange: l, banks: c = [], showType: s = !1,
|
|
|
2208
2208
|
}
|
|
2209
2209
|
)
|
|
2210
2210
|
] });
|
|
2211
|
-
}), Qn =
|
|
2211
|
+
}), Qn = I(function({ checked: n, onChange: l, disabled: c = !1, label: s, className: a, ...r }, i) {
|
|
2212
2212
|
return /* @__PURE__ */ e("button", { ref: i, ...r, type: "button", role: "switch", "aria-checked": n, "aria-label": s, disabled: c, className: `select-switch${n ? " select-switch--on" : ""}${a ? " " + a : ""}`, onClick: () => l(!n), children: /* @__PURE__ */ e("span", { className: "select-switch__knob", "aria-hidden": "true" }) });
|
|
2213
|
-
}),
|
|
2213
|
+
}), Co = I(function({ children: n, scroll: l = !1, className: c, ...s }, a) {
|
|
2214
2214
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-togglelist${l ? " select-togglelist--scroll" : ""}${c ? " " + c : ""}`, children: n });
|
|
2215
|
-
}),
|
|
2215
|
+
}), Lo = I(function({ icon: n, label: l, checked: c, onChange: s, disabled: a = !1, className: r, ...i }, o) {
|
|
2216
2216
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-togglerow${a ? " select-togglerow--disabled" : ""}${r ? " " + r : ""}`, children: [
|
|
2217
2217
|
n && /* @__PURE__ */ e("span", { className: "select-togglerow__icon", children: n }),
|
|
2218
2218
|
/* @__PURE__ */ e("span", { className: "select-togglerow__label", children: l }),
|
|
2219
2219
|
/* @__PURE__ */ e(Qn, { checked: c, onChange: s, disabled: a, label: typeof l == "string" ? l : void 0 })
|
|
2220
2220
|
] });
|
|
2221
|
-
}),
|
|
2221
|
+
}), Ao = I(function({ icon: n, title: l, checked: c, onChange: s, children: a, disabled: r = !1, className: i, ...o }, d) {
|
|
2222
2222
|
return /* @__PURE__ */ u("div", { ref: d, ...o, className: `select-togglepanel${c ? " is-on" : ""}${i ? " " + i : ""}`, children: [
|
|
2223
2223
|
/* @__PURE__ */ u("div", { className: "select-togglepanel__header", children: [
|
|
2224
2224
|
/* @__PURE__ */ e(Qn, { checked: c, onChange: s, disabled: r, label: typeof l == "string" ? l : void 0 }),
|
|
@@ -2341,7 +2341,7 @@ function Ts(t) {
|
|
|
2341
2341
|
var n;
|
|
2342
2342
|
return ((n = pc.find((l) => l.iso === t)) == null ? void 0 : n.dial) ?? "";
|
|
2343
2343
|
}
|
|
2344
|
-
const
|
|
2344
|
+
const Eo = I(function({ label: n, value: l, onChange: c, labelAction: s, hint: a, error: r, onBlur: i, placeholder: o, className: d, ...p }, h) {
|
|
2345
2345
|
const f = ge(), v = Ts(l.country), _ = r ? `${f}-err` : a ? `${f}-hint` : void 0;
|
|
2346
2346
|
return /* @__PURE__ */ u("div", { ref: h, ...p, className: `select-field${d ? " " + d : ""}`, children: [
|
|
2347
2347
|
/* @__PURE__ */ u("div", { className: "select-field__labelrow", children: [
|
|
@@ -2391,7 +2391,7 @@ const Ao = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2391
2391
|
] }),
|
|
2392
2392
|
r ? /* @__PURE__ */ e("p", { id: `${f}-err`, className: "select-field__error", children: r }) : a ? /* @__PURE__ */ e("p", { id: `${f}-hint`, className: "select-field__hint", children: a }) : null
|
|
2393
2393
|
] });
|
|
2394
|
-
}),
|
|
2394
|
+
}), Bo = I(function({ value: n, onChange: l, options: c, name: s, className: a, ...r }, i) {
|
|
2395
2395
|
const o = ge(), d = s ?? o;
|
|
2396
2396
|
return /* @__PURE__ */ e("div", { ref: i, ...r, className: `select-radiogroup${a ? " " + a : ""}`, role: "radiogroup", children: c.map((p) => {
|
|
2397
2397
|
const h = p.value === n;
|
|
@@ -2423,7 +2423,7 @@ const Ao = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2423
2423
|
p.value
|
|
2424
2424
|
);
|
|
2425
2425
|
}) });
|
|
2426
|
-
}),
|
|
2426
|
+
}), Fo = I(function({ value: n, onChange: l, options: c, ariaLabel: s, fullWidth: a = !1, className: r, ...i }, o) {
|
|
2427
2427
|
const d = Math.max(0, c.findIndex((_) => _.value === n)), p = J([]), [h, f] = D(null);
|
|
2428
2428
|
qe(() => {
|
|
2429
2429
|
const _ = p.current[d];
|
|
@@ -2453,7 +2453,7 @@ const Ao = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2453
2453
|
);
|
|
2454
2454
|
})
|
|
2455
2455
|
] });
|
|
2456
|
-
}), mc =
|
|
2456
|
+
}), mc = I(function({ children: n, tone: l = "neutral", icon: c, size: s = "md", className: a, ...r }, i) {
|
|
2457
2457
|
return /* @__PURE__ */ u(
|
|
2458
2458
|
"span",
|
|
2459
2459
|
{
|
|
@@ -2484,7 +2484,7 @@ const Ao = R(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
|
|
|
2484
2484
|
chargeback: { label: "Chargeback", tone: "critical" },
|
|
2485
2485
|
dispute: { label: "Em disputa", tone: "critical" }
|
|
2486
2486
|
};
|
|
2487
|
-
function
|
|
2487
|
+
function Io({
|
|
2488
2488
|
status: t,
|
|
2489
2489
|
map: n = Ps,
|
|
2490
2490
|
size: l
|
|
@@ -2529,7 +2529,7 @@ function fc({ items: t, sections: n, onAction: l, autoFocus: c = !0, className:
|
|
|
2529
2529
|
))
|
|
2530
2530
|
] }, p)) });
|
|
2531
2531
|
}
|
|
2532
|
-
function
|
|
2532
|
+
function Ro({
|
|
2533
2533
|
items: t,
|
|
2534
2534
|
label: n = "Ações",
|
|
2535
2535
|
disabled: l
|
|
@@ -2604,7 +2604,7 @@ function Wn({ children: t, gap: n, align: l, inlineAlign: c, as: s = "div", clas
|
|
|
2604
2604
|
};
|
|
2605
2605
|
return /* @__PURE__ */ e(i, { ...r, className: kn("select-stack", a), style: o, children: t });
|
|
2606
2606
|
}
|
|
2607
|
-
function
|
|
2607
|
+
function qt({ children: t, gap: n, align: l, blockAlign: c = "center", wrap: s = !0, as: a = "div", className: r, ...i }) {
|
|
2608
2608
|
const o = a, d = {
|
|
2609
2609
|
columnGap: n ? wt[n] : void 0,
|
|
2610
2610
|
rowGap: n ? wt[n] : void 0,
|
|
@@ -2614,7 +2614,7 @@ function zt({ children: t, gap: n, align: l, blockAlign: c = "center", wrap: s =
|
|
|
2614
2614
|
};
|
|
2615
2615
|
return /* @__PURE__ */ e(o, { ...i, className: kn("select-inline", r), style: d, children: t });
|
|
2616
2616
|
}
|
|
2617
|
-
function
|
|
2617
|
+
function To({ children: t, columns: n = 2, gap: l = "400", alignItems: c, collapseBelow: s, as: a = "div", className: r, ...i }) {
|
|
2618
2618
|
const o = a, d = {
|
|
2619
2619
|
"--select-grid-columns": typeof n == "number" ? `repeat(${n}, minmax(0, 1fr))` : n,
|
|
2620
2620
|
gap: wt[l],
|
|
@@ -2712,7 +2712,7 @@ function pl(t) {
|
|
|
2712
2712
|
var n;
|
|
2713
2713
|
return ((n = _c(t)) == null ? void 0 : n.file) ?? null;
|
|
2714
2714
|
}
|
|
2715
|
-
function
|
|
2715
|
+
function Po({
|
|
2716
2716
|
method: t,
|
|
2717
2717
|
cardBrand: n,
|
|
2718
2718
|
/** Chip height in px; width is derived to a card aspect ratio (1.2). Default 24×29. */
|
|
@@ -2747,7 +2747,7 @@ function To({
|
|
|
2747
2747
|
}
|
|
2748
2748
|
}
|
|
2749
2749
|
);
|
|
2750
|
-
return c ? /* @__PURE__ */ u(
|
|
2750
|
+
return c ? /* @__PURE__ */ u(qt, { gap: "150", blockAlign: "center", wrap: !1, children: [
|
|
2751
2751
|
_,
|
|
2752
2752
|
/* @__PURE__ */ e(kt, { as: "span", variant: "bodySm", children: a || t && sn[t] || i || t })
|
|
2753
2753
|
] }) : _;
|
|
@@ -2790,12 +2790,12 @@ function To({
|
|
|
2790
2790
|
)
|
|
2791
2791
|
}
|
|
2792
2792
|
);
|
|
2793
|
-
return c ? /* @__PURE__ */ u(
|
|
2793
|
+
return c ? /* @__PURE__ */ u(qt, { gap: "150", blockAlign: "center", wrap: !1, children: [
|
|
2794
2794
|
f,
|
|
2795
2795
|
/* @__PURE__ */ e(kt, { as: "span", variant: "bodySm", children: a || t && sn[t] || i || t })
|
|
2796
2796
|
] }) : f;
|
|
2797
2797
|
}
|
|
2798
|
-
const He =
|
|
2798
|
+
const He = I(function({ icon: n, label: l, onClick: c, disabled: s = !1, size: a = "md", variant: r = "ghost", active: i = !1, className: o, ...d }, p) {
|
|
2799
2799
|
return /* @__PURE__ */ e(Kn, { content: l, children: /* @__PURE__ */ e("button", { ref: p, ...d, type: "button", className: `select-iconbtn select-iconbtn--${a} select-iconbtn--${r}${i ? " is-active" : ""}${o ? " " + o : ""}`, "aria-label": l, "aria-pressed": i, onClick: c, disabled: s, children: n }) });
|
|
2800
2800
|
});
|
|
2801
2801
|
function Vs({
|
|
@@ -3064,7 +3064,7 @@ function aa({ text: t, term: n }) {
|
|
|
3064
3064
|
const l = Oe(() => t.length > la ? null : ea(t), [t]);
|
|
3065
3065
|
return l ? /* @__PURE__ */ e("pre", { className: "select-json__pre", children: l.map((c, s) => /* @__PURE__ */ e("span", { className: `select-json__v--${c.cls}`, children: /* @__PURE__ */ e(vn, { text: c.text, term: n }) }, s)) }) : /* @__PURE__ */ e("pre", { className: "select-json__pre", children: /* @__PURE__ */ e(vn, { text: t, term: n }) });
|
|
3066
3066
|
}
|
|
3067
|
-
const
|
|
3067
|
+
const Do = I(function({ value: n, title: l = "Metadados", maxHeight: c = 360, defaultOpen: s = !1, defaultExpandDepth: a = 1, searchable: r = !0, emptyLabel: i = "Sem dados", className: o, ...d }, p) {
|
|
3068
3068
|
const [h, f] = D(s), [v, _] = D("tree"), [x, M] = D(""), [S, b] = D(/* @__PURE__ */ new Set()), [m, N] = sa(), k = J(null), w = Oe(() => zs(n), [n]), y = qs(w), $ = Oe(
|
|
3069
3069
|
() => typeof n == "string" && w === n ? n : xc(w),
|
|
3070
3070
|
[n, w]
|
|
@@ -3154,7 +3154,7 @@ const Po = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
3154
3154
|
warning: "var(--select-warning-text)",
|
|
3155
3155
|
info: "var(--select-info-text)",
|
|
3156
3156
|
default: "var(--select-text-secondary)"
|
|
3157
|
-
},
|
|
3157
|
+
}, Wo = I(function({ items: n, className: l, ...c }, s) {
|
|
3158
3158
|
var i;
|
|
3159
3159
|
const a = n.length ? ((i = n[0]) == null ? void 0 : i.tone) ?? "default" : "default", r = { "--tl-final": ra[a] };
|
|
3160
3160
|
return /* @__PURE__ */ e("ul", { ref: s, ...c, className: `select-timeline${l ? " " + l : ""}`, style: r, children: n.map((o, d) => /* @__PURE__ */ u("li", { className: "select-timeline__item", children: [
|
|
@@ -3168,20 +3168,20 @@ const Po = R(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
|
|
|
3168
3168
|
o.content != null && /* @__PURE__ */ e("div", { className: "select-timeline__content", children: o.content })
|
|
3169
3169
|
] })
|
|
3170
3170
|
] }, d)) });
|
|
3171
|
-
}), oa =
|
|
3171
|
+
}), oa = I(function({ children: n, onClick: l, disabled: c = !1, tone: s = "default", className: a, ...r }, i) {
|
|
3172
3172
|
return /* @__PURE__ */ e("button", { ref: i, ...r, type: "button", className: `select-linkbtn${s === "critical" ? " select-linkbtn--critical" : ""}${a ? " " + a : ""}`, onClick: l, disabled: c, children: n });
|
|
3173
|
-
}),
|
|
3173
|
+
}), Oo = I(function({ children: n, className: l, ...c }, s) {
|
|
3174
3174
|
return n == null ? /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-divider select-divider--plain${l ? " " + l : ""}`, role: "separator" }) : /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-divider${l ? " " + l : ""}`, children: n });
|
|
3175
|
-
}), ia =
|
|
3175
|
+
}), ia = I(function({ name: n, src: l, icon: c, dashed: s = !1, round: a = !1, className: r, ...i }, o) {
|
|
3176
3176
|
var p, h;
|
|
3177
3177
|
const d = ((h = (p = n == null ? void 0 : n.trim()) == null ? void 0 : p[0]) == null ? void 0 : h.toUpperCase()) ?? "?";
|
|
3178
3178
|
return /* @__PURE__ */ e("span", { ref: o, ...i, className: `select-avatar${s ? " select-avatar--dashed" : ""}${a ? " select-avatar--round" : ""}${r ? " " + r : ""}`, "aria-hidden": "true", children: l ? /* @__PURE__ */ e("img", { src: l, alt: "", className: "select-avatar__img" }) : c ? /* @__PURE__ */ e("span", { className: "select-avatar__icon", children: c }) : /* @__PURE__ */ e("span", { className: "select-avatar__initial", children: d }) });
|
|
3179
3179
|
});
|
|
3180
|
-
function
|
|
3180
|
+
function Ho({ children: t, className: n, ...l }) {
|
|
3181
3181
|
const c = wn({ selector: ".select-optionrow", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
3182
3182
|
return /* @__PURE__ */ e("div", { ...l, className: `select-optionlist${n ? " " + n : ""}`, ref: c, children: t });
|
|
3183
3183
|
}
|
|
3184
|
-
function
|
|
3184
|
+
function jo({
|
|
3185
3185
|
title: t,
|
|
3186
3186
|
subtitle: n,
|
|
3187
3187
|
leading: l,
|
|
@@ -3199,7 +3199,7 @@ function Ho({
|
|
|
3199
3199
|
] }), d = `select-optionrow${a ? " select-optionrow--muted" : ""}`;
|
|
3200
3200
|
return r ? /* @__PURE__ */ e("button", { type: "button", className: d, onClick: s, children: o }) : /* @__PURE__ */ e("div", { className: d, children: o });
|
|
3201
3201
|
}
|
|
3202
|
-
const
|
|
3202
|
+
const Zo = I(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix: s = "Conectado como", className: a, ...r }, i) {
|
|
3203
3203
|
return /* @__PURE__ */ u("span", { ref: i, ...r, className: `select-identity${a ? " " + a : ""}`, children: [
|
|
3204
3204
|
/* @__PURE__ */ u("span", { className: "select-identity__text", children: [
|
|
3205
3205
|
s,
|
|
@@ -3208,7 +3208,7 @@ const jo = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
3208
3208
|
] }),
|
|
3209
3209
|
l && /* @__PURE__ */ e("button", { type: "button", className: "select-identity__action", onClick: l, children: c })
|
|
3210
3210
|
] });
|
|
3211
|
-
}),
|
|
3211
|
+
}), Vo = I(function({ value: n, onChange: l, length: c = 6, onComplete: s, autoFocus: a = !1, disabled: r = !1, className: i, ...o }, d) {
|
|
3212
3212
|
const p = J([]), h = Array.from({ length: c }, (b, m) => n[m] ?? ""), f = (b) => {
|
|
3213
3213
|
var m;
|
|
3214
3214
|
return (m = p.current[b]) == null ? void 0 : m.focus();
|
|
@@ -3265,7 +3265,7 @@ const jo = R(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
|
|
|
3265
3265
|
m
|
|
3266
3266
|
)) });
|
|
3267
3267
|
});
|
|
3268
|
-
function
|
|
3268
|
+
function Go({
|
|
3269
3269
|
children: t = "Voltar",
|
|
3270
3270
|
onClick: n,
|
|
3271
3271
|
href: l
|
|
@@ -3276,7 +3276,7 @@ function Vo({
|
|
|
3276
3276
|
] });
|
|
3277
3277
|
return l ? /* @__PURE__ */ e("a", { className: "select-backlink", href: l, children: c }) : /* @__PURE__ */ e("button", { type: "button", className: "select-backlink", onClick: n, children: c });
|
|
3278
3278
|
}
|
|
3279
|
-
const
|
|
3279
|
+
const Uo = I(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar código", className: s, ...a }, r) {
|
|
3280
3280
|
const [i, o] = D(l);
|
|
3281
3281
|
pe(() => {
|
|
3282
3282
|
if (i <= 0) return;
|
|
@@ -3299,18 +3299,18 @@ function da(t) {
|
|
|
3299
3299
|
let n = 0;
|
|
3300
3300
|
return t.length >= 8 && n++, t.length >= 12 && n++, /[a-z]/.test(t) && /[A-Z]/.test(t) && n++, /\d/.test(t) && /[^A-Za-z0-9]/.test(t) && n++, Math.min(n, 4);
|
|
3301
3301
|
}
|
|
3302
|
-
const
|
|
3302
|
+
const zo = I(function({ value: n, className: l, ...c }, s) {
|
|
3303
3303
|
const a = da(n), r = gl[a] ?? gl[0];
|
|
3304
3304
|
return /* @__PURE__ */ u("div", { ref: s, ...c, className: `select-strength${l ? " " + l : ""}`, "aria-hidden": !n, children: [
|
|
3305
3305
|
/* @__PURE__ */ e("div", { className: `select-strength__bars select-strength__bars--${r.cls}`, children: [0, 1, 2, 3].map((i) => /* @__PURE__ */ e("span", { className: `select-strength__bar${i < a ? " is-on" : ""}` }, i)) }),
|
|
3306
3306
|
n && /* @__PURE__ */ e("span", { className: "select-strength__label", children: r.label })
|
|
3307
3307
|
] });
|
|
3308
|
-
}), ha =
|
|
3308
|
+
}), ha = I(function({ label: n, mark: l, className: c, ...s }, a) {
|
|
3309
3309
|
return /* @__PURE__ */ u("div", { ref: a, ...s, className: `select-loader${c ? " " + c : ""}`, role: "status", "aria-live": "polite", children: [
|
|
3310
3310
|
l != null ? /* @__PURE__ */ e("span", { className: "select-loader__mark", "aria-hidden": "true", children: l }) : /* @__PURE__ */ e("span", { className: "select-loader__spinner", "aria-hidden": "true" }),
|
|
3311
3311
|
n && /* @__PURE__ */ e("span", { className: "select-loader__label", children: n })
|
|
3312
3312
|
] });
|
|
3313
|
-
}), ua =
|
|
3313
|
+
}), ua = I(function({ title: n, subtitle: l, primaryAction: c, secondaryActions: s, headerActions: a, backAction: r, children: i, className: o, ...d }, p) {
|
|
3314
3314
|
const h = !!c || s && s.length > 0 || !!a, f = r || n || l || h;
|
|
3315
3315
|
return /* @__PURE__ */ u("div", { ref: p, ...d, className: `select select-page${o ? " " + o : ""}`, children: [
|
|
3316
3316
|
f && /* @__PURE__ */ u("div", { className: "select-page__header", children: [
|
|
@@ -3370,7 +3370,7 @@ function pa({ children: t }) {
|
|
|
3370
3370
|
function ma({ children: t, columns: n = 2 }) {
|
|
3371
3371
|
return /* @__PURE__ */ e("div", { className: "select-formlayout__group", style: { "--cols": String(n) }, children: t });
|
|
3372
3372
|
}
|
|
3373
|
-
const
|
|
3373
|
+
const qo = Object.assign(pa, { Group: ma });
|
|
3374
3374
|
function bl({ lines: t = 3 }) {
|
|
3375
3375
|
return /* @__PURE__ */ e("div", { className: "select-skel-body", children: Array.from({ length: Math.max(1, t) }, (n, l) => /* @__PURE__ */ e("div", { className: "select-skeleton select-skel-line" }, l)) });
|
|
3376
3376
|
}
|
|
@@ -3383,7 +3383,7 @@ function _a({ size: t = "medium" }) {
|
|
|
3383
3383
|
function va({ height: t = 240 }) {
|
|
3384
3384
|
return /* @__PURE__ */ e("div", { className: "select-skeleton select-skel-block", style: { height: t } });
|
|
3385
3385
|
}
|
|
3386
|
-
const
|
|
3386
|
+
const Yo = Object.assign(
|
|
3387
3387
|
function({ lines: n }) {
|
|
3388
3388
|
return /* @__PURE__ */ e(bl, { lines: n });
|
|
3389
3389
|
},
|
|
@@ -3398,15 +3398,15 @@ function ba({
|
|
|
3398
3398
|
const s = ["select-icon", l !== "inherit" && l !== "base" ? `select-icon--${l}` : ""].filter(Boolean).join(" "), a = ga[c] ?? c;
|
|
3399
3399
|
return /* @__PURE__ */ e("span", { className: s, style: { "--select-icon-size": a }, "aria-hidden": "true", children: t ? /* @__PURE__ */ e(t, {}) : n });
|
|
3400
3400
|
}
|
|
3401
|
-
const
|
|
3401
|
+
const Xo = I(function({ children: n, tone: l = "neutral", hideIcon: c = !1, className: s, ...a }, r) {
|
|
3402
3402
|
const i = l === "warning" || l === "critical" ? /* @__PURE__ */ e(ls, {}) : /* @__PURE__ */ e(Mn, {});
|
|
3403
3403
|
return /* @__PURE__ */ u("div", { ref: r, ...a, className: `select-note select-note--${l}${s ? " " + s : ""}`, children: [
|
|
3404
3404
|
!c && /* @__PURE__ */ e("span", { className: "select-note__icon", children: i }),
|
|
3405
3405
|
/* @__PURE__ */ e("span", { className: "select-note__body", children: n })
|
|
3406
3406
|
] });
|
|
3407
|
-
}),
|
|
3407
|
+
}), Ko = I(function({ children: n, className: l, ...c }, s) {
|
|
3408
3408
|
return /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-settinglist${l ? " " + l : ""}`, children: n });
|
|
3409
|
-
}),
|
|
3409
|
+
}), Jo = I(function({ control: n, title: l, badge: c, description: s, children: a, bodyOpen: r, className: i, ...o }, d) {
|
|
3410
3410
|
return /* @__PURE__ */ u("div", { ref: d, ...o, className: `select-setting${i ? " " + i : ""}`, children: [
|
|
3411
3411
|
n && /* @__PURE__ */ e("div", { className: "select-setting__control", children: n }),
|
|
3412
3412
|
/* @__PURE__ */ u("div", { className: "select-setting__main", children: [
|
|
@@ -3424,7 +3424,7 @@ const Yo = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
3424
3424
|
))
|
|
3425
3425
|
] })
|
|
3426
3426
|
] });
|
|
3427
|
-
}),
|
|
3427
|
+
}), Qo = I(function({ title: n, description: l, headerAction: c, footer: s, children: a, tone: r = "default", flush: i = !1, className: o, ...d }, p) {
|
|
3428
3428
|
return /* @__PURE__ */ u("div", { ref: p, ...d, className: `select-panel${r === "highlight" ? " select-panel--highlight" : ""}${o ? " " + o : ""}`, children: [
|
|
3429
3429
|
(n || c) && /* @__PURE__ */ u("div", { className: "select-panel__header", children: [
|
|
3430
3430
|
/* @__PURE__ */ u("div", { className: "select-panel__heading", children: [
|
|
@@ -3436,7 +3436,7 @@ const Yo = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
3436
3436
|
a && /* @__PURE__ */ e("div", { className: `select-panel__body${i ? " select-panel__body--flush" : ""}`, children: a }),
|
|
3437
3437
|
s && /* @__PURE__ */ e("div", { className: "select-panel__footer", children: s })
|
|
3438
3438
|
] });
|
|
3439
|
-
}),
|
|
3439
|
+
}), e1 = I(function({ title: n, help: l, description: c, action: s, collapsible: a = !1, defaultOpen: r = !0, children: i, className: o, ...d }, p) {
|
|
3440
3440
|
const [h, f] = D(r);
|
|
3441
3441
|
return a ? /* @__PURE__ */ u("div", { ref: p, ...d, className: `select-section select-section--collapsible${h ? " is-open" : ""}${o ? " " + o : ""}`, children: [
|
|
3442
3442
|
/* @__PURE__ */ u("button", { type: "button", className: "select-section__head select-section__head--toggle", "aria-expanded": h, onClick: () => f((v) => !v), children: [
|
|
@@ -3458,7 +3458,7 @@ const Yo = R(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
|
|
|
3458
3458
|
/* @__PURE__ */ e("div", { className: "select-section__body", children: i })
|
|
3459
3459
|
] });
|
|
3460
3460
|
});
|
|
3461
|
-
function
|
|
3461
|
+
function t1({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
|
|
3462
3462
|
const r = J(null), [i, o] = D({ left: 0, width: 0 });
|
|
3463
3463
|
qe(() => {
|
|
3464
3464
|
const p = r.current;
|
|
@@ -3561,7 +3561,7 @@ function xa({
|
|
|
3561
3561
|
] }) })
|
|
3562
3562
|
] });
|
|
3563
3563
|
}
|
|
3564
|
-
const
|
|
3564
|
+
const n1 = I(function({ sections: n, active: l, onSelect: c, header: s, className: a, ...r }, i) {
|
|
3565
3565
|
return /* @__PURE__ */ u("nav", { ref: i, ...r, className: `select-sidenav${a ? " " + a : ""}`, children: [
|
|
3566
3566
|
s && /* @__PURE__ */ e("div", { className: "select-sidenav__header", children: s }),
|
|
3567
3567
|
n.map((o, d) => /* @__PURE__ */ u("div", { className: "select-sidenav__section", children: [
|
|
@@ -3583,7 +3583,7 @@ const t1 = R(function({ sections: n, active: l, onSelect: c, header: s, classNam
|
|
|
3583
3583
|
)
|
|
3584
3584
|
] }, d))
|
|
3585
3585
|
] });
|
|
3586
|
-
}), nl =
|
|
3586
|
+
}), nl = I(function({ value: n, onChange: l, placeholder: c = "Buscar…", shortcut: s, className: a, ...r }, i) {
|
|
3587
3587
|
return /* @__PURE__ */ u("div", { ref: i, ...r, className: `select-search${a ? " " + a : ""}`, children: [
|
|
3588
3588
|
/* @__PURE__ */ e("span", { className: "select-search__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(qn, {}) }),
|
|
3589
3589
|
/* @__PURE__ */ e(
|
|
@@ -3618,7 +3618,7 @@ function Na(t, n, l, c, s, a) {
|
|
|
3618
3618
|
r.push(`${t} ${s}`);
|
|
3619
3619
|
return a && c != null && c > 0 && r.push(`Página ${l} de ${c}`), r.length > 0 ? r.join(" · ") : null;
|
|
3620
3620
|
}
|
|
3621
|
-
const Ma =
|
|
3621
|
+
const Ma = I(function({ page: n, pageCount: l, total: c, pageSize: s, hasPrevious: a, hasNext: r, onPrevious: i, onNext: o, onPage: d, noun: p = "resultados", className: h, ...f }, v) {
|
|
3622
3622
|
const _ = a ?? n > 1, x = r ?? (l != null ? n < l : !0), M = i ?? (d ? () => d(n - 1) : void 0), S = o ?? (d ? () => d(n + 1) : void 0), b = l != null && l > 1 && d != null, m = b ? ya(n, l) : [], N = Na(c, s, n, l, p, b);
|
|
3623
3623
|
return /* @__PURE__ */ u("nav", { ref: v, ...f, className: `select-pagination${h ? " " + h : ""}`, "aria-label": "Paginação", children: [
|
|
3624
3624
|
/* @__PURE__ */ u("div", { className: "select-pagination__controls", children: [
|
|
@@ -3773,7 +3773,7 @@ function Nl(t) {
|
|
|
3773
3773
|
const n = parseFloat(getComputedStyle(document.documentElement).fontSize) || 16;
|
|
3774
3774
|
return `${Math.round(t / n * 1e3) / 1e3}rem`;
|
|
3775
3775
|
}
|
|
3776
|
-
const $a =
|
|
3776
|
+
const $a = I(function({
|
|
3777
3777
|
columns: n,
|
|
3778
3778
|
children: l,
|
|
3779
3779
|
empty: c,
|
|
@@ -3876,7 +3876,7 @@ const $a = R(function({
|
|
|
3876
3876
|
] }) }),
|
|
3877
3877
|
s && /* @__PURE__ */ e("div", { className: "select-table__footer", children: s })
|
|
3878
3878
|
] });
|
|
3879
|
-
}),
|
|
3879
|
+
}), l1 = I(function({ name: n, secondary: l, src: c, className: s, ...a }, r) {
|
|
3880
3880
|
return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-usercell${s ? " " + s : ""}`, children: [
|
|
3881
3881
|
/* @__PURE__ */ e(ia, { name: typeof n == "string" ? n : void 0, src: c }),
|
|
3882
3882
|
/* @__PURE__ */ u("span", { className: "select-usercell__text", children: [
|
|
@@ -3888,24 +3888,24 @@ const $a = R(function({
|
|
|
3888
3888
|
function Ml({ children: t, onClick: n }) {
|
|
3889
3889
|
return n ? /* @__PURE__ */ e("button", { type: "button", className: "select-table__row select-table__row--clickable", onClick: n, children: t }) : /* @__PURE__ */ e("div", { className: "select-table__row", role: "row", children: t });
|
|
3890
3890
|
}
|
|
3891
|
-
const wl =
|
|
3891
|
+
const wl = I(function({ children: n, align: l = "start", className: c, ...s }, a) {
|
|
3892
3892
|
return /* @__PURE__ */ e("div", { ref: a, ...s, role: "cell", className: `select-table__td select-table__cell--${l}${c ? " " + c : ""}`, children: n });
|
|
3893
|
-
}), $c =
|
|
3893
|
+
}), $c = I(function({ icon: n, title: l, subtitle: c, action: s, className: a, ...r }, i) {
|
|
3894
3894
|
return /* @__PURE__ */ u("div", { ref: i, ...r, className: `select-table-empty${a ? " " + a : ""}`, children: [
|
|
3895
3895
|
n && /* @__PURE__ */ e("span", { className: "select-table-empty__icon", children: n }),
|
|
3896
3896
|
/* @__PURE__ */ e("p", { className: "select-table-empty__title", children: l }),
|
|
3897
3897
|
c && /* @__PURE__ */ e("p", { className: "select-table-empty__subtitle", children: c }),
|
|
3898
3898
|
s && /* @__PURE__ */ e("div", { className: "select-table-empty__action", children: s })
|
|
3899
3899
|
] });
|
|
3900
|
-
}), Sa =
|
|
3900
|
+
}), Sa = I(function({ children: n, className: l, ...c }, s) {
|
|
3901
3901
|
return /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-menu${l ? " " + l : ""}`, role: "menu", children: n });
|
|
3902
|
-
}), Ca =
|
|
3902
|
+
}), Ca = I(function({ children: n, icon: l, trailing: c, onClick: s, active: a = !1, tone: r = "default", className: i, ...o }, d) {
|
|
3903
3903
|
return /* @__PURE__ */ u("button", { ref: d, ...o, type: "button", role: "menuitem", className: `select-menu__item select-menu__item--${r}${a ? " is-active" : ""}${i ? " " + i : ""}`, onClick: s, children: [
|
|
3904
3904
|
l && /* @__PURE__ */ e("span", { className: "select-menu__icon", children: l }),
|
|
3905
3905
|
/* @__PURE__ */ e("span", { className: "select-menu__label", children: n }),
|
|
3906
3906
|
c && /* @__PURE__ */ e("span", { className: "select-menu__trailing", children: c })
|
|
3907
3907
|
] });
|
|
3908
|
-
}),
|
|
3908
|
+
}), c1 = I(function({ children: n, href: l, icon: c, trailing: s, external: a, tone: r = "default", className: i, ...o }, d) {
|
|
3909
3909
|
const p = a ?? /^(https?:|mailto:|tel:)/i.test(l), h = s ?? (p ? /* @__PURE__ */ e(Xn, {}) : void 0);
|
|
3910
3910
|
return /* @__PURE__ */ u(
|
|
3911
3911
|
"a",
|
|
@@ -3925,23 +3925,23 @@ const wl = R(function({ children: n, align: l = "start", className: c, ...s }, a
|
|
|
3925
3925
|
}
|
|
3926
3926
|
);
|
|
3927
3927
|
});
|
|
3928
|
-
function
|
|
3928
|
+
function s1({ children: t }) {
|
|
3929
3929
|
return /* @__PURE__ */ e("div", { className: "select-menu__heading", children: t });
|
|
3930
3930
|
}
|
|
3931
|
-
function
|
|
3931
|
+
function a1() {
|
|
3932
3932
|
return /* @__PURE__ */ e("div", { className: "select-menu__divider", role: "separator" });
|
|
3933
3933
|
}
|
|
3934
|
-
const La =
|
|
3934
|
+
const La = I(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, r) {
|
|
3935
3935
|
return /* @__PURE__ */ u("button", { ref: r, ...a, type: "button", className: `select-menubtn${c ? " is-active" : ""}${s ? " " + s : ""}`, onClick: l, "aria-haspopup": "menu", "aria-expanded": c, children: [
|
|
3936
3936
|
/* @__PURE__ */ e("span", { children: n }),
|
|
3937
3937
|
/* @__PURE__ */ e("span", { className: "select-menubtn__caret", "aria-hidden": "true", children: /* @__PURE__ */ e(je, {}) })
|
|
3938
3938
|
] });
|
|
3939
|
-
}),
|
|
3939
|
+
}), r1 = I(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, r) {
|
|
3940
3940
|
return /* @__PURE__ */ u("button", { ref: r, ...a, type: "button", className: `select-chip${c ? " select-chip--active" : ""}${s ? " " + s : ""}`, onClick: l, children: [
|
|
3941
|
-
!c && /* @__PURE__ */ e("span", { className: "select-chip__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
3941
|
+
!c && /* @__PURE__ */ e("span", { className: "select-chip__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Ct, {}) }),
|
|
3942
3942
|
n
|
|
3943
3943
|
] });
|
|
3944
|
-
}),
|
|
3944
|
+
}), o1 = I(function({ label: n, value: l, href: c, onCopy: s, className: a, ...r }, i) {
|
|
3945
3945
|
return /* @__PURE__ */ u("div", { ref: i, ...r, className: `select-copyrow${a ? " " + a : ""}`, children: [
|
|
3946
3946
|
n && /* @__PURE__ */ e("span", { className: "select-copyrow__label", children: n }),
|
|
3947
3947
|
/* @__PURE__ */ u("div", { className: "select-copyrow__value", children: [
|
|
@@ -3953,7 +3953,7 @@ const La = R(function({ children: n, onClick: l, active: c = !1, className: s, .
|
|
|
3953
3953
|
] })
|
|
3954
3954
|
] });
|
|
3955
3955
|
});
|
|
3956
|
-
function
|
|
3956
|
+
function i1({
|
|
3957
3957
|
value: t,
|
|
3958
3958
|
children: n,
|
|
3959
3959
|
truncate: l,
|
|
@@ -3986,7 +3986,7 @@ function o1({
|
|
|
3986
3986
|
) })
|
|
3987
3987
|
] });
|
|
3988
3988
|
}
|
|
3989
|
-
const
|
|
3989
|
+
const d1 = I(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !1, className: a, ...r }, i) {
|
|
3990
3990
|
const [o, d] = D(c);
|
|
3991
3991
|
return /* @__PURE__ */ u("div", { ref: i, ...r, className: `select-collapsible${s ? " select-collapsible--plain" : ""}${o ? " is-open" : ""}${a ? " " + a : ""}`, children: [
|
|
3992
3992
|
/* @__PURE__ */ u("button", { type: "button", className: "select-collapsible__header", onClick: () => d((p) => !p), "aria-expanded": o, children: [
|
|
@@ -3995,9 +3995,9 @@ const i1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
3995
3995
|
] }),
|
|
3996
3996
|
/* @__PURE__ */ e("div", { className: "select-collapsible__bodywrap", children: /* @__PURE__ */ e("div", { className: "select-collapsible__bodyclip", "aria-hidden": !o, children: /* @__PURE__ */ e("div", { className: "select-collapsible__body", children: l }) }) })
|
|
3997
3997
|
] });
|
|
3998
|
-
}),
|
|
3998
|
+
}), h1 = I(function({ icon: n, title: l, description: c, action: s, onDismiss: a, className: r, ...i }, o) {
|
|
3999
3999
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-actioncard${r ? " " + r : ""}`, children: [
|
|
4000
|
-
a && /* @__PURE__ */ e("div", { className: "select-actioncard__dismiss", children: /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(
|
|
4000
|
+
a && /* @__PURE__ */ e("div", { className: "select-actioncard__dismiss", children: /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(St, {}), label: "Dispensar", onClick: a }) }),
|
|
4001
4001
|
n && /* @__PURE__ */ e("span", { className: "select-actioncard__icon", children: n }),
|
|
4002
4002
|
/* @__PURE__ */ u("div", { className: "select-actioncard__text", children: [
|
|
4003
4003
|
/* @__PURE__ */ e("h4", { className: "select-actioncard__title", children: l }),
|
|
@@ -4005,7 +4005,7 @@ const i1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
4005
4005
|
] }),
|
|
4006
4006
|
s && /* @__PURE__ */ e("div", { className: "select-actioncard__action", children: s })
|
|
4007
4007
|
] });
|
|
4008
|
-
}),
|
|
4008
|
+
}), u1 = I(function({ media: n, sublabel: l, title: c, badge: s, meta: a, accent: r = !0, onClick: i, className: o, ...d }, p) {
|
|
4009
4009
|
return /* @__PURE__ */ u("button", { ref: p, ...d, type: "button", className: `select-tile${o ? " " + o : ""}`, onClick: i, children: [
|
|
4010
4010
|
r && /* @__PURE__ */ e("span", { className: "select-tile__accent", "aria-hidden": "true" }),
|
|
4011
4011
|
/* @__PURE__ */ u("div", { className: "select-tile__main", children: [
|
|
@@ -4020,12 +4020,12 @@ const i1 = R(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
|
|
|
4020
4020
|
] }),
|
|
4021
4021
|
a && /* @__PURE__ */ e("div", { className: "select-tile__meta", children: a })
|
|
4022
4022
|
] });
|
|
4023
|
-
}),
|
|
4023
|
+
}), p1 = I(function({ label: n, onClick: l, className: c, ...s }, a) {
|
|
4024
4024
|
return /* @__PURE__ */ u("button", { ref: a, ...s, type: "button", className: `select-tile select-tile--create${c ? " " + c : ""}`, onClick: l, children: [
|
|
4025
|
-
/* @__PURE__ */ e("span", { className: "select-tile__plus", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
4025
|
+
/* @__PURE__ */ e("span", { className: "select-tile__plus", "aria-hidden": "true", children: /* @__PURE__ */ e(Ct, {}) }),
|
|
4026
4026
|
/* @__PURE__ */ e("span", { className: "select-tile__createlabel", children: n })
|
|
4027
4027
|
] });
|
|
4028
|
-
}),
|
|
4028
|
+
}), m1 = I(function({ avatar: n, name: l, badge: c, onClick: s, className: a, ...r }, i) {
|
|
4029
4029
|
return /* @__PURE__ */ u("button", { ref: i, ...r, type: "button", className: `select-wsswitcher${a ? " " + a : ""}`, onClick: s, "aria-haspopup": "menu", children: [
|
|
4030
4030
|
n && /* @__PURE__ */ e("span", { className: "select-wsswitcher__avatar", children: n }),
|
|
4031
4031
|
/* @__PURE__ */ e("span", { className: "select-wsswitcher__name", children: l }),
|
|
@@ -4069,7 +4069,7 @@ function $n({
|
|
|
4069
4069
|
document.removeEventListener("keydown", b), document.body.style.overflow = m;
|
|
4070
4070
|
};
|
|
4071
4071
|
}, [f, n]), !f) return null;
|
|
4072
|
-
const M = o && /* @__PURE__ */ e("button", { type: "button", className: "select-modal__close", "aria-label": "Fechar", onClick: n, children: /* @__PURE__ */ e(
|
|
4072
|
+
const M = o && /* @__PURE__ */ e("button", { type: "button", className: "select-modal__close", "aria-label": "Fechar", onClick: n, children: /* @__PURE__ */ e(St, {}) }), S = `select-modal__header${p ? " select-modal__header--divided" : ""}`;
|
|
4073
4073
|
return yn(
|
|
4074
4074
|
/* @__PURE__ */ e(
|
|
4075
4075
|
"div",
|
|
@@ -4110,7 +4110,7 @@ function $n({
|
|
|
4110
4110
|
document.body
|
|
4111
4111
|
);
|
|
4112
4112
|
}
|
|
4113
|
-
function
|
|
4113
|
+
function f1({ actions: t, label: n = "Ações" }) {
|
|
4114
4114
|
const [l, c] = D(!1);
|
|
4115
4115
|
return /* @__PURE__ */ e(
|
|
4116
4116
|
dt,
|
|
@@ -4133,7 +4133,7 @@ function m1({ actions: t, label: n = "Ações" }) {
|
|
|
4133
4133
|
}
|
|
4134
4134
|
);
|
|
4135
4135
|
}
|
|
4136
|
-
function
|
|
4136
|
+
function _1({
|
|
4137
4137
|
open: t,
|
|
4138
4138
|
onClose: n,
|
|
4139
4139
|
onConfirm: l,
|
|
@@ -4171,7 +4171,7 @@ function f1({
|
|
|
4171
4171
|
}
|
|
4172
4172
|
);
|
|
4173
4173
|
}
|
|
4174
|
-
function
|
|
4174
|
+
function v1({
|
|
4175
4175
|
open: t,
|
|
4176
4176
|
onClose: n,
|
|
4177
4177
|
onSubmit: l,
|
|
@@ -4212,7 +4212,7 @@ function _1({
|
|
|
4212
4212
|
)
|
|
4213
4213
|
] }),
|
|
4214
4214
|
children: [
|
|
4215
|
-
h != null && h !== !1 && /* @__PURE__ */ e("div", { className: "select-formmodal__error", children: /* @__PURE__ */ e(
|
|
4215
|
+
h != null && h !== !1 && /* @__PURE__ */ e("div", { className: "select-formmodal__error", children: /* @__PURE__ */ e(Pt, { tone: "critical", children: h }) }),
|
|
4216
4216
|
/* @__PURE__ */ e(
|
|
4217
4217
|
"form",
|
|
4218
4218
|
{
|
|
@@ -4226,7 +4226,7 @@ function _1({
|
|
|
4226
4226
|
}
|
|
4227
4227
|
);
|
|
4228
4228
|
}
|
|
4229
|
-
const
|
|
4229
|
+
const g1 = "9.5rem", b1 = { minWidth: "9.5rem", grow: 2 }, Hn = "select-datatable:hidden-cols:";
|
|
4230
4230
|
function Ea(t) {
|
|
4231
4231
|
try {
|
|
4232
4232
|
const n = localStorage.getItem(Hn + t), l = n ? JSON.parse(n) : null;
|
|
@@ -4264,7 +4264,7 @@ function $l(t, n) {
|
|
|
4264
4264
|
}
|
|
4265
4265
|
}
|
|
4266
4266
|
const Sl = "select-datatable:page-size:";
|
|
4267
|
-
function
|
|
4267
|
+
function x1(t, n, l) {
|
|
4268
4268
|
const [c, s] = D(() => {
|
|
4269
4269
|
try {
|
|
4270
4270
|
const r = Number(localStorage.getItem(Sl + t));
|
|
@@ -4285,7 +4285,7 @@ function Ia(t, n, l) {
|
|
|
4285
4285
|
const c = t == null || t === "", s = n == null || n === "";
|
|
4286
4286
|
return c || s ? c && s ? 0 : c ? 1 : -1 : typeof t == "number" && typeof n == "number" ? l * (t - n) : l * String(t).localeCompare(String(n), "pt-BR", { numeric: !0, sensitivity: "base" });
|
|
4287
4287
|
}
|
|
4288
|
-
function
|
|
4288
|
+
function y1({
|
|
4289
4289
|
columns: t,
|
|
4290
4290
|
items: n,
|
|
4291
4291
|
getId: l,
|
|
@@ -4408,14 +4408,14 @@ function x1({
|
|
|
4408
4408
|
a && /* @__PURE__ */ e(kc, { pagination: a })
|
|
4409
4409
|
] });
|
|
4410
4410
|
}
|
|
4411
|
-
const Ra =
|
|
4411
|
+
const Ra = I(function({ label: n, description: l, onClick: c, icon: s, className: a, ...r }, i) {
|
|
4412
4412
|
return /* @__PURE__ */ u("button", { ref: i, ...r, type: "button", className: `select-addcard${a ? " " + a : ""}`, onClick: c, children: [
|
|
4413
|
-
/* @__PURE__ */ e("span", { className: "select-addcard__glyph", "aria-hidden": "true", children: s ?? /* @__PURE__ */ e(
|
|
4413
|
+
/* @__PURE__ */ e("span", { className: "select-addcard__glyph", "aria-hidden": "true", children: s ?? /* @__PURE__ */ e(Ct, {}) }),
|
|
4414
4414
|
/* @__PURE__ */ e("span", { className: "select-addcard__label", children: n }),
|
|
4415
4415
|
l && /* @__PURE__ */ e("span", { className: "select-addcard__desc", children: l })
|
|
4416
4416
|
] });
|
|
4417
4417
|
});
|
|
4418
|
-
function
|
|
4418
|
+
function N1({
|
|
4419
4419
|
items: t,
|
|
4420
4420
|
getId: n,
|
|
4421
4421
|
renderItem: l,
|
|
@@ -4453,7 +4453,7 @@ function y1({
|
|
|
4453
4453
|
r && /* @__PURE__ */ e(kc, { pagination: r })
|
|
4454
4454
|
] });
|
|
4455
4455
|
}
|
|
4456
|
-
const
|
|
4456
|
+
const M1 = I(function({ media: n, title: l, subtitle: c, actions: s, body: a, tags: r, status: i, meta: o, to: d, accent: p = !1, className: h, ...f }, v) {
|
|
4457
4457
|
const _ = i != null || o != null;
|
|
4458
4458
|
return /* @__PURE__ */ u("div", { ref: v, ...f, className: `select-rcard${d ? " select-rcard--link" : ""}${h ? " " + h : ""}`, children: [
|
|
4459
4459
|
p && /* @__PURE__ */ e("span", { className: "select-rcard__accent", "aria-hidden": "true" }),
|
|
@@ -4477,7 +4477,7 @@ const N1 = R(function({ media: n, title: l, subtitle: c, actions: s, body: a, ta
|
|
|
4477
4477
|
o && /* @__PURE__ */ e("span", { className: "select-rcard__meta", children: o })
|
|
4478
4478
|
] })
|
|
4479
4479
|
] });
|
|
4480
|
-
}),
|
|
4480
|
+
}), w1 = I(function({ kind: n, className: l, ...c }, s) {
|
|
4481
4481
|
return /* @__PURE__ */ u("span", { ref: s, ...c, className: `select-rcard__thumb${l ? " " + l : ""}`, "aria-hidden": "true", children: [
|
|
4482
4482
|
/* @__PURE__ */ e("span", { className: "select-rcard__thumbline select-rcard__thumbline--accent" }),
|
|
4483
4483
|
n === "steps" ? /* @__PURE__ */ u(ue, { children: [
|
|
@@ -4501,7 +4501,7 @@ function Cl({ node: t, origin: n = !1 }) {
|
|
|
4501
4501
|
t.share != null && /* @__PURE__ */ e("span", { className: "select-chain__share", children: t.share })
|
|
4502
4502
|
] });
|
|
4503
4503
|
}
|
|
4504
|
-
const
|
|
4504
|
+
const k1 = I(function({ nodes: n, origin: l, max: c = 3, className: s, ...a }, r) {
|
|
4505
4505
|
const i = n.slice(0, c), o = n.length - i.length, d = [], p = (h) => /* @__PURE__ */ e("span", { className: "select-chain__link", "aria-hidden": "true" }, h);
|
|
4506
4506
|
l && d.push(/* @__PURE__ */ e(Cl, { node: l, origin: !0 }, "__origin"));
|
|
4507
4507
|
for (const h of i)
|
|
@@ -4512,7 +4512,169 @@ const w1 = R(function({ nodes: n, origin: l, max: c = 3, className: s, ...a }, r
|
|
|
4512
4512
|
o
|
|
4513
4513
|
] }, "__more")
|
|
4514
4514
|
)), /* @__PURE__ */ e("div", { ref: r, ...a, className: `select-chain${s ? " " + s : ""}`, children: d });
|
|
4515
|
-
}), Pa =
|
|
4515
|
+
}), Pa = new Intl.NumberFormat("pt-BR", { style: "currency", currency: "BRL" });
|
|
4516
|
+
function Da(t) {
|
|
4517
|
+
const n = typeof t == "string" ? Number(t) : t;
|
|
4518
|
+
return typeof n == "number" && Number.isFinite(n) ? n : 0;
|
|
4519
|
+
}
|
|
4520
|
+
function Wa(t) {
|
|
4521
|
+
return Pa.format(Da(t) / 100);
|
|
4522
|
+
}
|
|
4523
|
+
const Sc = "sw:hide-money", Oa = { hidden: !1, toggle: () => {
|
|
4524
|
+
}, setHidden: () => {
|
|
4525
|
+
} }, Cc = Gn(null);
|
|
4526
|
+
function Ha() {
|
|
4527
|
+
try {
|
|
4528
|
+
return localStorage.getItem(Sc) === "1";
|
|
4529
|
+
} catch {
|
|
4530
|
+
return !1;
|
|
4531
|
+
}
|
|
4532
|
+
}
|
|
4533
|
+
function Ll(t) {
|
|
4534
|
+
try {
|
|
4535
|
+
localStorage.setItem(Sc, t ? "1" : "0");
|
|
4536
|
+
} catch {
|
|
4537
|
+
}
|
|
4538
|
+
}
|
|
4539
|
+
function $1({ children: t }) {
|
|
4540
|
+
const [n, l] = D(Ha), c = Qe((r) => {
|
|
4541
|
+
l(r), Ll(r);
|
|
4542
|
+
}, []), s = Qe(() => {
|
|
4543
|
+
l((r) => {
|
|
4544
|
+
const i = !r;
|
|
4545
|
+
return Ll(i), i;
|
|
4546
|
+
});
|
|
4547
|
+
}, []), a = Oe(() => ({ hidden: n, toggle: s, setHidden: c }), [n, s, c]);
|
|
4548
|
+
return /* @__PURE__ */ e(Cc.Provider, { value: a, children: t });
|
|
4549
|
+
}
|
|
4550
|
+
function Lc() {
|
|
4551
|
+
return Vn(Cc) ?? Oa;
|
|
4552
|
+
}
|
|
4553
|
+
const ja = I(function({ children: n, label: l = "valor oculto", className: c, ...s }, a) {
|
|
4554
|
+
const { hidden: r } = Lc();
|
|
4555
|
+
return /* @__PURE__ */ e("span", { ref: a, ...s, className: `select-sensitive${r ? " select-sensitive--hidden" : ""}${c ? " " + c : ""}`, "aria-label": r ? l : void 0, children: n });
|
|
4556
|
+
});
|
|
4557
|
+
function $t({
|
|
4558
|
+
cents: t,
|
|
4559
|
+
sensitive: n = !0
|
|
4560
|
+
}) {
|
|
4561
|
+
const l = Wa(t);
|
|
4562
|
+
return n ? /* @__PURE__ */ e(ja, { children: l }) : /* @__PURE__ */ e(ue, { children: l });
|
|
4563
|
+
}
|
|
4564
|
+
const Za = new Intl.NumberFormat("pt-BR", {
|
|
4565
|
+
signDisplay: "exceptZero",
|
|
4566
|
+
minimumFractionDigits: 1,
|
|
4567
|
+
maximumFractionDigits: 1
|
|
4568
|
+
}), Va = I(function({ value: n, invert: l = !1, caption: c, className: s, ...a }, r) {
|
|
4569
|
+
if (n == null || !Number.isFinite(n))
|
|
4570
|
+
return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-delta select-delta--muted${s ? " " + s : ""}`, children: [
|
|
4571
|
+
"—",
|
|
4572
|
+
c ? ` ${c}` : ""
|
|
4573
|
+
] });
|
|
4574
|
+
const i = n === 0, o = n > 0, d = i ? null : l ? !o : o, p = d == null ? "muted" : d ? "up" : "down", h = i ? "" : o ? "▲" : "▼";
|
|
4575
|
+
return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-delta${s ? " " + s : ""}`, children: [
|
|
4576
|
+
/* @__PURE__ */ u("span", { className: `select-delta__value select-delta__value--${p}`, children: [
|
|
4577
|
+
h ? `${h} ` : "",
|
|
4578
|
+
Za.format(n),
|
|
4579
|
+
"%"
|
|
4580
|
+
] }),
|
|
4581
|
+
c != null && /* @__PURE__ */ e("span", { className: "select-delta__caption", children: c })
|
|
4582
|
+
] });
|
|
4583
|
+
});
|
|
4584
|
+
function S1() {
|
|
4585
|
+
const { hidden: t, toggle: n } = Lc();
|
|
4586
|
+
return /* @__PURE__ */ e(
|
|
4587
|
+
He,
|
|
4588
|
+
{
|
|
4589
|
+
variant: "outline",
|
|
4590
|
+
icon: t ? /* @__PURE__ */ e(Jl, {}) : /* @__PURE__ */ e(Kl, {}),
|
|
4591
|
+
label: t ? "Mostrar valores" : "Ocultar valores",
|
|
4592
|
+
active: t,
|
|
4593
|
+
onClick: n
|
|
4594
|
+
}
|
|
4595
|
+
);
|
|
4596
|
+
}
|
|
4597
|
+
const C1 = I(function({ price: n, was: l, hideDiscount: c = !1, className: s, ...a }, r) {
|
|
4598
|
+
const i = Number(n);
|
|
4599
|
+
if (!Number.isFinite(i)) return null;
|
|
4600
|
+
const o = Number(l), d = Number.isFinite(o) && o > i, p = d ? Math.round((o - i) / o * 100) : 0;
|
|
4601
|
+
return /* @__PURE__ */ u("div", { ref: r, ...a, className: `select-offerprice${s ? " " + s : ""}`, children: [
|
|
4602
|
+
/* @__PURE__ */ e("span", { className: "select-offerprice__now", children: /* @__PURE__ */ e($t, { cents: i }) }),
|
|
4603
|
+
d && /* @__PURE__ */ e("s", { className: "select-offerprice__was", children: /* @__PURE__ */ e($t, { cents: o }) }),
|
|
4604
|
+
d && !c && p > 0 && /* @__PURE__ */ u("span", { className: "select-offerprice__off", children: [
|
|
4605
|
+
"−",
|
|
4606
|
+
p,
|
|
4607
|
+
"%"
|
|
4608
|
+
] })
|
|
4609
|
+
] });
|
|
4610
|
+
});
|
|
4611
|
+
function Ga({ size: t }) {
|
|
4612
|
+
return /* @__PURE__ */ e("svg", { width: t, height: t, viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
4613
|
+
"path",
|
|
4614
|
+
{
|
|
4615
|
+
fill: "currentColor",
|
|
4616
|
+
d: "M12 .587l3.668 7.431 8.2 1.193-5.934 5.787 1.401 8.169L12 18.896l-7.335 3.871 1.401-8.169L.132 9.211l8.2-1.193z"
|
|
4617
|
+
}
|
|
4618
|
+
) });
|
|
4619
|
+
}
|
|
4620
|
+
const Ua = I(function({ value: n, max: l = 5, onChange: c, size: s = 20, label: a, disabled: r = !1, className: i, ...o }, d) {
|
|
4621
|
+
const p = !!c && !r, [h, f] = D(null), v = h ?? n;
|
|
4622
|
+
return /* @__PURE__ */ e("div", { ref: d, ...o, className: `select-rating${p ? " select-rating--interactive" : ""}${i ? " " + i : ""}`, role: p ? "slider" : "img", "aria-label": a ?? `Avaliação ${n} de ${l}`, "aria-valuenow": p ? n : void 0, "aria-valuemin": p ? 0 : void 0, "aria-valuemax": p ? l : void 0, onMouseLeave: () => p && f(null), children: Array.from({ length: l }, (_, x) => {
|
|
4623
|
+
const M = x < v, S = /* @__PURE__ */ e("span", { className: `select-rating__star${M ? " is-filled" : ""}`, children: /* @__PURE__ */ e(Ga, { size: s }) });
|
|
4624
|
+
return p ? /* @__PURE__ */ e(
|
|
4625
|
+
"button",
|
|
4626
|
+
{
|
|
4627
|
+
type: "button",
|
|
4628
|
+
className: "select-rating__btn",
|
|
4629
|
+
"aria-label": `${x + 1} ${x + 1 === 1 ? "estrela" : "estrelas"}`,
|
|
4630
|
+
onMouseEnter: () => f(x + 1),
|
|
4631
|
+
onFocus: () => f(x + 1),
|
|
4632
|
+
onBlur: () => f(null),
|
|
4633
|
+
onClick: () => c == null ? void 0 : c(x + 1),
|
|
4634
|
+
children: S
|
|
4635
|
+
},
|
|
4636
|
+
x
|
|
4637
|
+
) : /* @__PURE__ */ e("span", { children: S }, x);
|
|
4638
|
+
}) });
|
|
4639
|
+
}), L1 = I(function({ stars: n, max: l = 5, title: c, text: s, className: a, ...r }, i) {
|
|
4640
|
+
const o = Number(n), d = Number.isFinite(o) && o > 0;
|
|
4641
|
+
return /* @__PURE__ */ u("div", { ref: i, ...r, className: `select-quote${a ? " " + a : ""}`, children: [
|
|
4642
|
+
d && /* @__PURE__ */ e(Ua, { value: o, max: l, size: 13 }),
|
|
4643
|
+
c != null && /* @__PURE__ */ e("span", { className: "select-quote__title", children: c }),
|
|
4644
|
+
s != null && /* @__PURE__ */ e("p", { className: "select-quote__text", children: s })
|
|
4645
|
+
] });
|
|
4646
|
+
}), A1 = I(function({ marks: n, max: l = 4, className: c, ...s }, a) {
|
|
4647
|
+
const r = n.slice(0, l), i = n.length - r.length, o = r.some((d) => d.icon == null && (d.initials ?? "").length > 2);
|
|
4648
|
+
return /* @__PURE__ */ u(
|
|
4649
|
+
"div",
|
|
4650
|
+
{
|
|
4651
|
+
ref: a,
|
|
4652
|
+
...s,
|
|
4653
|
+
className: `select-markstack${o ? " select-markstack--spaced" : ""}${c ? " " + c : ""}`,
|
|
4654
|
+
children: [
|
|
4655
|
+
r.map((d) => {
|
|
4656
|
+
var f;
|
|
4657
|
+
const p = d.initials ?? ((f = d.label.trim()[0]) == null ? void 0 : f.toUpperCase()) ?? "•", h = d.icon == null && p.length > 2;
|
|
4658
|
+
return /* @__PURE__ */ e(
|
|
4659
|
+
"span",
|
|
4660
|
+
{
|
|
4661
|
+
className: `select-markstack__mark${h ? " select-markstack__mark--wide" : ""}`,
|
|
4662
|
+
role: "img",
|
|
4663
|
+
"aria-label": d.label,
|
|
4664
|
+
title: d.label,
|
|
4665
|
+
children: d.icon ?? p
|
|
4666
|
+
},
|
|
4667
|
+
d.id
|
|
4668
|
+
);
|
|
4669
|
+
}),
|
|
4670
|
+
i > 0 && /* @__PURE__ */ u("span", { className: "select-markstack__mark select-markstack__mark--more", title: n.slice(l).map((d) => d.label).join(", "), children: [
|
|
4671
|
+
"+",
|
|
4672
|
+
i
|
|
4673
|
+
] })
|
|
4674
|
+
]
|
|
4675
|
+
}
|
|
4676
|
+
);
|
|
4677
|
+
}), za = ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"], qa = [
|
|
4516
4678
|
"Janeiro",
|
|
4517
4679
|
"Fevereiro",
|
|
4518
4680
|
"Março",
|
|
@@ -4525,29 +4687,29 @@ const w1 = R(function({ nodes: n, origin: l, max: c = 3, className: s, ...a }, r
|
|
|
4525
4687
|
"Outubro",
|
|
4526
4688
|
"Novembro",
|
|
4527
4689
|
"Dezembro"
|
|
4528
|
-
], it = (t) => String(t).padStart(2, "0"),
|
|
4529
|
-
function
|
|
4690
|
+
], it = (t) => String(t).padStart(2, "0"), zt = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), an = (t) => new Date(t.getFullYear(), t.getMonth(), 1), Al = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), El = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), Bl = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate();
|
|
4691
|
+
function Ya(t) {
|
|
4530
4692
|
const n = /^(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2}))?/.exec(t || "");
|
|
4531
4693
|
return n ? new Date(Number(n[1]), Number(n[2]) - 1, Number(n[3]), Number(n[4] ?? 0), Number(n[5] ?? 0)) : null;
|
|
4532
4694
|
}
|
|
4533
|
-
function
|
|
4695
|
+
function Fl(t, n) {
|
|
4534
4696
|
const l = `${t.getFullYear()}-${it(t.getMonth() + 1)}-${it(t.getDate())}`;
|
|
4535
4697
|
return n ? `${l}T${it(t.getHours())}:${it(t.getMinutes())}` : l;
|
|
4536
4698
|
}
|
|
4537
|
-
function
|
|
4699
|
+
function Xa(t, n) {
|
|
4538
4700
|
const l = `${it(t.getDate())}/${it(t.getMonth() + 1)}/${t.getFullYear()}`;
|
|
4539
4701
|
return n ? `${l} ${it(t.getHours())}:${it(t.getMinutes())}` : l;
|
|
4540
4702
|
}
|
|
4541
|
-
const
|
|
4542
|
-
const S = ge(), b = v ?? S, [m, N] = D(!1), k =
|
|
4703
|
+
const Ka = I(function({ label: n, value: l, onChange: c, showTime: s = !1, placeholder: a, required: r, disabled: i, error: o, hint: d, minDate: p, maxDate: h, clearable: f = !0, id: v, className: _, ...x }, M) {
|
|
4704
|
+
const S = ge(), b = v ?? S, [m, N] = D(!1), k = Ya(l), [w, y] = D(() => an(k ?? /* @__PURE__ */ new Date())), $ = p ? zt(p) : null, g = h ? zt(h) : null, C = (H) => !!$ && zt(H) < $ || !!g && zt(H) > g, A = Al(an(w), -an(w).getDay()), B = Array.from({ length: 42 }, (H, V) => Al(A, V)), L = zt(/* @__PURE__ */ new Date()), E = () => {
|
|
4543
4705
|
i || (y(an(k ?? /* @__PURE__ */ new Date())), N((H) => !H));
|
|
4544
4706
|
}, F = (H) => {
|
|
4545
4707
|
if (C(H)) return;
|
|
4546
4708
|
const V = new Date(H);
|
|
4547
|
-
s && V.setHours((k == null ? void 0 : k.getHours()) ?? 0, (k == null ? void 0 : k.getMinutes()) ?? 0, 0, 0), c(
|
|
4709
|
+
s && V.setHours((k == null ? void 0 : k.getHours()) ?? 0, (k == null ? void 0 : k.getMinutes()) ?? 0, 0, 0), c(Fl(V, s)), s || N(!1);
|
|
4548
4710
|
}, T = (H) => {
|
|
4549
4711
|
const [V = "", P = ""] = H.split(":"), W = Number(V), K = Number(P), te = new Date(k ?? L);
|
|
4550
|
-
te.setHours(Number.isFinite(W) ? W : 0, Number.isFinite(K) ? K : 0, 0, 0), c(
|
|
4712
|
+
te.setHours(Number.isFinite(W) ? W : 0, Number.isFinite(K) ? K : 0, 0, 0), c(Fl(te, !0));
|
|
4551
4713
|
}, O = () => {
|
|
4552
4714
|
c(""), N(!1);
|
|
4553
4715
|
}, q = /* @__PURE__ */ u("div", { className: `select-input-wrap${o ? " select-input-wrap--error" : ""}`, children: [
|
|
@@ -4562,27 +4724,27 @@ const Ha = R(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
4562
4724
|
"aria-haspopup": "dialog",
|
|
4563
4725
|
"aria-expanded": m,
|
|
4564
4726
|
"aria-invalid": o ? !0 : void 0,
|
|
4565
|
-
children: k ?
|
|
4727
|
+
children: k ? Xa(k, s) : /* @__PURE__ */ e("span", { className: "select-datefield__ph", children: a ?? (s ? "Selecione data e hora" : "Selecione uma data") })
|
|
4566
4728
|
}
|
|
4567
4729
|
),
|
|
4568
4730
|
/* @__PURE__ */ e("span", { className: "select-datefield__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(ec, {}) })
|
|
4569
4731
|
] });
|
|
4570
4732
|
return /* @__PURE__ */ u("div", { ref: M, ...x, className: `select-field${_ ? " " + _ : ""}`, children: [
|
|
4571
|
-
n && /* @__PURE__ */ e(
|
|
4733
|
+
n && /* @__PURE__ */ e(Tt, { htmlFor: b, label: r ? `${n} *` : n }),
|
|
4572
4734
|
/* @__PURE__ */ e("div", { className: "select-datefield", children: /* @__PURE__ */ e(dt, { active: m, onClose: () => N(!1), placement: "bottom-start", role: "dialog", activator: q, children: /* @__PURE__ */ u("div", { className: "select-datefield__pop", children: [
|
|
4573
4735
|
/* @__PURE__ */ u("div", { className: "select-datepicker__calhead", children: [
|
|
4574
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => y((H) =>
|
|
4736
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => y((H) => El(H, -1)), children: /* @__PURE__ */ e(Un, {}) }),
|
|
4575
4737
|
/* @__PURE__ */ u("span", { className: "select-datepicker__monthlabel", children: [
|
|
4576
|
-
|
|
4738
|
+
qa[w.getMonth()],
|
|
4577
4739
|
" ",
|
|
4578
4740
|
w.getFullYear()
|
|
4579
4741
|
] }),
|
|
4580
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => y((H) =>
|
|
4742
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Próximo mês", onClick: () => y((H) => El(H, 1)), children: /* @__PURE__ */ e(Jt, {}) })
|
|
4581
4743
|
] }),
|
|
4582
4744
|
/* @__PURE__ */ u("div", { className: "select-datepicker__grid", role: "grid", children: [
|
|
4583
|
-
|
|
4745
|
+
za.map((H) => /* @__PURE__ */ e("div", { className: "select-datepicker__weekday", children: H }, H)),
|
|
4584
4746
|
B.map((H) => {
|
|
4585
|
-
const V = H.getMonth() !== w.getMonth(), P = !!k &&
|
|
4747
|
+
const V = H.getMonth() !== w.getMonth(), P = !!k && Bl(H, k), W = "select-datepicker__daybtn" + (P ? " is-selected" : "") + (Bl(H, L) && !P ? " is-today" : "") + (V ? " is-outside" : "");
|
|
4586
4748
|
return /* @__PURE__ */ e("div", { className: "select-datepicker__day", children: /* @__PURE__ */ e("button", { type: "button", className: W, disabled: C(H), onClick: () => F(H), children: H.getDate() }) }, H.getTime());
|
|
4587
4749
|
})
|
|
4588
4750
|
] }),
|
|
@@ -4610,11 +4772,11 @@ const Ha = R(function({ label: n, value: l, onChange: c, showTime: s = !1, place
|
|
|
4610
4772
|
o ? /* @__PURE__ */ e("p", { id: `${b}-err`, className: "select-field__error", children: o }) : d ? /* @__PURE__ */ e("p", { id: `${b}-hint`, className: "select-field__hint", children: d }) : null
|
|
4611
4773
|
] });
|
|
4612
4774
|
});
|
|
4613
|
-
function
|
|
4775
|
+
function Ac(t, n) {
|
|
4614
4776
|
var l, c;
|
|
4615
4777
|
return t.type === "select" ? ((c = (l = t.options) == null ? void 0 : l.find((s) => s.value === n)) == null ? void 0 : c.label) ?? n : n;
|
|
4616
4778
|
}
|
|
4617
|
-
function
|
|
4779
|
+
function Ja({
|
|
4618
4780
|
filter: t,
|
|
4619
4781
|
value: n,
|
|
4620
4782
|
onChange: l,
|
|
@@ -4627,7 +4789,7 @@ function ja({
|
|
|
4627
4789
|
pe(() => {
|
|
4628
4790
|
c || o("");
|
|
4629
4791
|
}, [c]);
|
|
4630
|
-
const d = n.trim() !== "", p = d ?
|
|
4792
|
+
const d = n.trim() !== "", p = d ? Ac(t, n) : null, h = d && !!t.error, f = t.options ?? [], v = f.length > 7, _ = v ? f.filter((x) => x.label.toLowerCase().includes(i.trim().toLowerCase())) : f;
|
|
4631
4793
|
return /* @__PURE__ */ u(
|
|
4632
4794
|
dt,
|
|
4633
4795
|
{
|
|
@@ -4673,7 +4835,7 @@ function ja({
|
|
|
4673
4835
|
x.value
|
|
4674
4836
|
);
|
|
4675
4837
|
}) })
|
|
4676
|
-
] }) : t.type === "date" ? /* @__PURE__ */ e("div", { className: "select-facet__field", children: /* @__PURE__ */ e(
|
|
4838
|
+
] }) : t.type === "date" ? /* @__PURE__ */ e("div", { className: "select-facet__field", children: /* @__PURE__ */ e(Ka, { value: n, onChange: l, placeholder: t.placeholder, clearable: !1 }) }) : /* @__PURE__ */ e(
|
|
4677
4839
|
"div",
|
|
4678
4840
|
{
|
|
4679
4841
|
className: "select-facet__field",
|
|
@@ -4699,7 +4861,7 @@ function ja({
|
|
|
4699
4861
|
}
|
|
4700
4862
|
);
|
|
4701
4863
|
}
|
|
4702
|
-
const
|
|
4864
|
+
const E1 = I(function({ filters: n, values: l, onChange: c, onClearAll: s, search: a, disabled: r, className: i, ...o }, d) {
|
|
4703
4865
|
const [p, h] = D([]), [f, v] = D(null), [_, x] = D(!1), M = (y) => (l[y.key] ?? "").trim() !== "", S = (y) => !!y.pinned || M(y) || p.includes(y.key), b = n.filter(S), m = n.filter((y) => !S(y)), N = n.filter(M), k = () => {
|
|
4704
4866
|
h([]), v(null), s();
|
|
4705
4867
|
}, w = (y) => {
|
|
@@ -4727,12 +4889,12 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4727
4889
|
className: "select-filterbar__query-clear",
|
|
4728
4890
|
"aria-label": "Limpar busca",
|
|
4729
4891
|
onClick: () => a.onChange(""),
|
|
4730
|
-
children: /* @__PURE__ */ e(
|
|
4892
|
+
children: /* @__PURE__ */ e(St, {})
|
|
4731
4893
|
}
|
|
4732
4894
|
)
|
|
4733
4895
|
] }),
|
|
4734
4896
|
b.map((y) => /* @__PURE__ */ e(
|
|
4735
|
-
|
|
4897
|
+
Ja,
|
|
4736
4898
|
{
|
|
4737
4899
|
filter: y,
|
|
4738
4900
|
value: l[y.key] ?? "",
|
|
@@ -4759,7 +4921,7 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4759
4921
|
disabled: r,
|
|
4760
4922
|
"aria-expanded": _,
|
|
4761
4923
|
children: [
|
|
4762
|
-
/* @__PURE__ */ e("span", { className: "select-facet__addicon", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
4924
|
+
/* @__PURE__ */ e("span", { className: "select-facet__addicon", "aria-hidden": "true", children: /* @__PURE__ */ e(Ct, {}) }),
|
|
4763
4925
|
"Mais filtros"
|
|
4764
4926
|
]
|
|
4765
4927
|
}
|
|
@@ -4791,7 +4953,7 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4791
4953
|
children: [
|
|
4792
4954
|
y.label,
|
|
4793
4955
|
": ",
|
|
4794
|
-
|
|
4956
|
+
Ac(y, l[y.key] ?? ""),
|
|
4795
4957
|
/* @__PURE__ */ e(
|
|
4796
4958
|
"button",
|
|
4797
4959
|
{
|
|
@@ -4799,7 +4961,7 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4799
4961
|
className: "select-filterbar__tagx",
|
|
4800
4962
|
"aria-label": `Remover filtro ${y.label}`,
|
|
4801
4963
|
onClick: () => c(y.key, ""),
|
|
4802
|
-
children: /* @__PURE__ */ e(
|
|
4964
|
+
children: /* @__PURE__ */ e(St, {})
|
|
4803
4965
|
}
|
|
4804
4966
|
)
|
|
4805
4967
|
]
|
|
@@ -4810,7 +4972,7 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4810
4972
|
/* @__PURE__ */ e("button", { type: "button", className: "select-filterbar__clear", onClick: k, children: "Limpar tudo" })
|
|
4811
4973
|
] })
|
|
4812
4974
|
] });
|
|
4813
|
-
}),
|
|
4975
|
+
}), B1 = I(function({ label: n, options: l, selected: c, onChange: s, placeholder: a = "Selecionar…", hint: r, help: i, error: o, onBlur: d, size: p = "md", className: h, ...f }, v) {
|
|
4814
4976
|
const [_, x] = D(!1), [M, S] = D(""), b = l.filter((k) => k.label.toLowerCase().includes(M.trim().toLowerCase())), m = (k) => s(c.includes(k) ? c.filter((w) => w !== k) : [...c, k]), N = c.map((k) => l.find((w) => w.value === k)).filter((k) => k != null);
|
|
4815
4977
|
return /* @__PURE__ */ u("div", { ref: v, ...f, className: `select-field${p === "sm" ? " select-field--sm" : ""}${h ? " " + h : ""}`, children: [
|
|
4816
4978
|
(n || i) && /* @__PURE__ */ e("div", { className: "select-field__labelrow", children: /* @__PURE__ */ u("span", { className: "select-field__labelwrap", children: [
|
|
@@ -4852,7 +5014,7 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4852
5014
|
onClick: (w) => {
|
|
4853
5015
|
w.stopPropagation(), m(k.value);
|
|
4854
5016
|
},
|
|
4855
|
-
children: /* @__PURE__ */ e(
|
|
5017
|
+
children: /* @__PURE__ */ e(St, {})
|
|
4856
5018
|
}
|
|
4857
5019
|
)
|
|
4858
5020
|
] }, k.value)),
|
|
@@ -4889,7 +5051,7 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4889
5051
|
),
|
|
4890
5052
|
o ? /* @__PURE__ */ e("p", { className: "select-field__error", children: o }) : r ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: r }) : null
|
|
4891
5053
|
] });
|
|
4892
|
-
}),
|
|
5054
|
+
}), F1 = I(function({ title: n, description: l, headerAction: c, footer: s, children: a, flush: r = !1, className: i, ...o }, d) {
|
|
4893
5055
|
return /* @__PURE__ */ u("div", { ref: d, ...o, className: `select-surface${i ? " " + i : ""}`, children: [
|
|
4894
5056
|
(n || l || c) && /* @__PURE__ */ u("div", { className: "select-surface__header", children: [
|
|
4895
5057
|
/* @__PURE__ */ u("div", { className: "select-surface__heading", children: [
|
|
@@ -4901,19 +5063,19 @@ const k1 = R(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
|
|
|
4901
5063
|
/* @__PURE__ */ e("div", { className: `select-surface__body${r ? " select-surface__body--flush" : ""}`, children: a }),
|
|
4902
5064
|
s && /* @__PURE__ */ e("div", { className: "select-surface__footer", children: s })
|
|
4903
5065
|
] });
|
|
4904
|
-
}),
|
|
4905
|
-
function
|
|
5066
|
+
}), Ec = Gn(null), Qa = 220, er = 4e3, tr = 8, nr = 0.04, lr = 5;
|
|
5067
|
+
function I1({ children: t }) {
|
|
4906
5068
|
const [n, l] = D([]), c = J(0), s = J(/* @__PURE__ */ new Map()), a = Qe((d) => {
|
|
4907
5069
|
l((p) => p.filter((h) => h.id !== d)), s.current.delete(d);
|
|
4908
5070
|
}, []), r = Qe(
|
|
4909
5071
|
(d) => {
|
|
4910
5072
|
const p = s.current.get(d);
|
|
4911
|
-
p && clearTimeout(p), l((h) => h.map((f) => f.id === d ? { ...f, exiting: !0 } : f)), s.current.set(d, setTimeout(() => a(d),
|
|
5073
|
+
p && clearTimeout(p), l((h) => h.map((f) => f.id === d ? { ...f, exiting: !0 } : f)), s.current.set(d, setTimeout(() => a(d), Qa));
|
|
4912
5074
|
},
|
|
4913
5075
|
[a]
|
|
4914
5076
|
), i = Qe(
|
|
4915
5077
|
(d, p) => {
|
|
4916
|
-
const h = ++c.current, f = (p == null ? void 0 : p.duration) ??
|
|
5078
|
+
const h = ++c.current, f = (p == null ? void 0 : p.duration) ?? er;
|
|
4917
5079
|
l((v) => [...v, { id: h, content: d, variant: (p == null ? void 0 : p.variant) ?? "neutral" }]), f > 0 && s.current.set(h, setTimeout(() => r(h), f));
|
|
4918
5080
|
},
|
|
4919
5081
|
[r]
|
|
@@ -4933,31 +5095,31 @@ function C1({ children: t }) {
|
|
|
4933
5095
|
}),
|
|
4934
5096
|
[i]
|
|
4935
5097
|
);
|
|
4936
|
-
return /* @__PURE__ */ u(
|
|
5098
|
+
return /* @__PURE__ */ u(Ec.Provider, { value: o, children: [
|
|
4937
5099
|
t,
|
|
4938
5100
|
n.length > 0 && yn(
|
|
4939
5101
|
/* @__PURE__ */ e("div", { className: "select select-toasts", role: "region", "aria-live": "polite", "aria-label": "Notificações", children: n.map((d, p) => {
|
|
4940
|
-
const h = n.length - 1 - p, f = d.exiting || h >=
|
|
4941
|
-
transform: `translate(-50%, ${-h *
|
|
5102
|
+
const h = n.length - 1 - p, f = d.exiting || h >= lr, v = {
|
|
5103
|
+
transform: `translate(-50%, ${-h * tr}px) scale(${1 - h * nr})`,
|
|
4942
5104
|
opacity: f ? 0 : 1,
|
|
4943
5105
|
zIndex: 1e3 - h,
|
|
4944
5106
|
pointerEvents: h === 0 && !d.exiting ? "auto" : "none"
|
|
4945
5107
|
};
|
|
4946
5108
|
return /* @__PURE__ */ u("div", { className: `select-toast select-toast--${d.variant}`, role: "status", style: v, children: [
|
|
4947
5109
|
/* @__PURE__ */ e("span", { className: "select-toast__content", children: d.content }),
|
|
4948
|
-
/* @__PURE__ */ e("button", { type: "button", className: "select-toast__close", "aria-label": "Fechar", onClick: () => r(d.id), children: /* @__PURE__ */ e(
|
|
5110
|
+
/* @__PURE__ */ e("button", { type: "button", className: "select-toast__close", "aria-label": "Fechar", onClick: () => r(d.id), children: /* @__PURE__ */ e(St, {}) })
|
|
4949
5111
|
] }, d.id);
|
|
4950
5112
|
}) }),
|
|
4951
5113
|
document.body
|
|
4952
5114
|
)
|
|
4953
5115
|
] });
|
|
4954
5116
|
}
|
|
4955
|
-
function
|
|
4956
|
-
const t = Vn(
|
|
5117
|
+
function R1() {
|
|
5118
|
+
const t = Vn(Ec);
|
|
4957
5119
|
if (!t) throw new Error("useSelectToast must be used within a SelectToastProvider");
|
|
4958
5120
|
return t;
|
|
4959
5121
|
}
|
|
4960
|
-
const
|
|
5122
|
+
const cr = 390, sr = 1280, T1 = I(function({ src: n, title: l = "Pré-visualização", height: c = 560, fill: s = !1, initialDevice: a = "desktop", showDeviceToggle: r = !0, emptyLabel: i = "Salve para gerar a pré-visualização.", onReload: o, notice: d, iframeRef: p, desktopWidth: h = sr, className: f, ...v }, _) {
|
|
4961
5123
|
const [x, M] = D(a), [S, b] = D(0), [m, N] = D(!0), k = J(null), [w, y] = D({ w: 0, h: 0 });
|
|
4962
5124
|
qe(() => {
|
|
4963
5125
|
const B = k.current;
|
|
@@ -4969,7 +5131,7 @@ const qa = 390, Ya = 1280, A1 = R(function({ src: n, title: l = "Pré-visualiza
|
|
|
4969
5131
|
});
|
|
4970
5132
|
return L.observe(B), () => L.disconnect();
|
|
4971
5133
|
}, []);
|
|
4972
|
-
const $ = x === "mobile" ?
|
|
5134
|
+
const $ = x === "mobile" ? cr : h, g = w.w > 0 ? Math.min(1, w.w / $) : 1, C = n ? `${n}${n.includes("?") ? "&" : "?"}_pv=${S}` : "", A = () => {
|
|
4973
5135
|
if (N(!0), o) {
|
|
4974
5136
|
o();
|
|
4975
5137
|
return;
|
|
@@ -5047,89 +5209,7 @@ const qa = 390, Ya = 1280, A1 = R(function({ src: n, title: l = "Pré-visualiza
|
|
|
5047
5209
|
] })
|
|
5048
5210
|
) : /* @__PURE__ */ e("p", { className: "select-preview__empty", children: i }) })
|
|
5049
5211
|
] });
|
|
5050
|
-
}),
|
|
5051
|
-
function Ka(t) {
|
|
5052
|
-
const n = typeof t == "string" ? Number(t) : t;
|
|
5053
|
-
return typeof n == "number" && Number.isFinite(n) ? n : 0;
|
|
5054
|
-
}
|
|
5055
|
-
function Ja(t) {
|
|
5056
|
-
return Xa.format(Ka(t) / 100);
|
|
5057
|
-
}
|
|
5058
|
-
const Lc = "sw:hide-money", Qa = { hidden: !1, toggle: () => {
|
|
5059
|
-
}, setHidden: () => {
|
|
5060
|
-
} }, Ac = Gn(null);
|
|
5061
|
-
function er() {
|
|
5062
|
-
try {
|
|
5063
|
-
return localStorage.getItem(Lc) === "1";
|
|
5064
|
-
} catch {
|
|
5065
|
-
return !1;
|
|
5066
|
-
}
|
|
5067
|
-
}
|
|
5068
|
-
function Fl(t) {
|
|
5069
|
-
try {
|
|
5070
|
-
localStorage.setItem(Lc, t ? "1" : "0");
|
|
5071
|
-
} catch {
|
|
5072
|
-
}
|
|
5073
|
-
}
|
|
5074
|
-
function E1({ children: t }) {
|
|
5075
|
-
const [n, l] = D(er), c = Qe((r) => {
|
|
5076
|
-
l(r), Fl(r);
|
|
5077
|
-
}, []), s = Qe(() => {
|
|
5078
|
-
l((r) => {
|
|
5079
|
-
const i = !r;
|
|
5080
|
-
return Fl(i), i;
|
|
5081
|
-
});
|
|
5082
|
-
}, []), a = Oe(() => ({ hidden: n, toggle: s, setHidden: c }), [n, s, c]);
|
|
5083
|
-
return /* @__PURE__ */ e(Ac.Provider, { value: a, children: t });
|
|
5084
|
-
}
|
|
5085
|
-
function Ec() {
|
|
5086
|
-
return Vn(Ac) ?? Qa;
|
|
5087
|
-
}
|
|
5088
|
-
const tr = R(function({ children: n, label: l = "valor oculto", className: c, ...s }, a) {
|
|
5089
|
-
const { hidden: r } = Ec();
|
|
5090
|
-
return /* @__PURE__ */ e("span", { ref: a, ...s, className: `select-sensitive${r ? " select-sensitive--hidden" : ""}${c ? " " + c : ""}`, "aria-label": r ? l : void 0, children: n });
|
|
5091
|
-
});
|
|
5092
|
-
function qt({
|
|
5093
|
-
cents: t,
|
|
5094
|
-
sensitive: n = !0
|
|
5095
|
-
}) {
|
|
5096
|
-
const l = Ja(t);
|
|
5097
|
-
return n ? /* @__PURE__ */ e(tr, { children: l }) : /* @__PURE__ */ e(ue, { children: l });
|
|
5098
|
-
}
|
|
5099
|
-
const nr = new Intl.NumberFormat("pt-BR", {
|
|
5100
|
-
signDisplay: "exceptZero",
|
|
5101
|
-
minimumFractionDigits: 1,
|
|
5102
|
-
maximumFractionDigits: 1
|
|
5103
|
-
}), lr = R(function({ value: n, invert: l = !1, caption: c, className: s, ...a }, r) {
|
|
5104
|
-
if (n == null || !Number.isFinite(n))
|
|
5105
|
-
return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-delta select-delta--muted${s ? " " + s : ""}`, children: [
|
|
5106
|
-
"—",
|
|
5107
|
-
c ? ` ${c}` : ""
|
|
5108
|
-
] });
|
|
5109
|
-
const i = n === 0, o = n > 0, d = i ? null : l ? !o : o, p = d == null ? "muted" : d ? "up" : "down", h = i ? "" : o ? "▲" : "▼";
|
|
5110
|
-
return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-delta${s ? " " + s : ""}`, children: [
|
|
5111
|
-
/* @__PURE__ */ u("span", { className: `select-delta__value select-delta__value--${p}`, children: [
|
|
5112
|
-
h ? `${h} ` : "",
|
|
5113
|
-
nr.format(n),
|
|
5114
|
-
"%"
|
|
5115
|
-
] }),
|
|
5116
|
-
c != null && /* @__PURE__ */ e("span", { className: "select-delta__caption", children: c })
|
|
5117
|
-
] });
|
|
5118
|
-
});
|
|
5119
|
-
function B1() {
|
|
5120
|
-
const { hidden: t, toggle: n } = Ec();
|
|
5121
|
-
return /* @__PURE__ */ e(
|
|
5122
|
-
He,
|
|
5123
|
-
{
|
|
5124
|
-
variant: "outline",
|
|
5125
|
-
icon: t ? /* @__PURE__ */ e(Jl, {}) : /* @__PURE__ */ e(Kl, {}),
|
|
5126
|
-
label: t ? "Mostrar valores" : "Ocultar valores",
|
|
5127
|
-
active: t,
|
|
5128
|
-
onClick: n
|
|
5129
|
-
}
|
|
5130
|
-
);
|
|
5131
|
-
}
|
|
5132
|
-
const F1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponível", delta: c, buckets: s = [], action: a, className: r, ...i }, o) {
|
|
5212
|
+
}), P1 = I(function({ availableCents: n, availableLabel: l = "Saldo disponível", delta: c, buckets: s = [], action: a, className: r, ...i }, o) {
|
|
5133
5213
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-balance${r ? " " + r : ""}`, children: [
|
|
5134
5214
|
/* @__PURE__ */ u("div", { className: "select-balance__head", children: [
|
|
5135
5215
|
/* @__PURE__ */ e("h3", { className: "select-balance__title", children: l }),
|
|
@@ -5148,39 +5228,39 @@ const F1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
5148
5228
|
] }),
|
|
5149
5229
|
/* @__PURE__ */ u("div", { className: "select-balance__body", children: [
|
|
5150
5230
|
/* @__PURE__ */ u("div", { className: "select-balance__heromain", children: [
|
|
5151
|
-
/* @__PURE__ */ e("span", { className: "select-balance__heroamount", children: /* @__PURE__ */ e(
|
|
5152
|
-
c != null && /* @__PURE__ */ e(
|
|
5231
|
+
/* @__PURE__ */ e("span", { className: "select-balance__heroamount", children: /* @__PURE__ */ e($t, { cents: n }) }),
|
|
5232
|
+
c != null && /* @__PURE__ */ e(Va, { value: c, caption: "vs. período anterior" })
|
|
5153
5233
|
] }),
|
|
5154
5234
|
s.length > 0 && /* @__PURE__ */ e("div", { className: "select-balance__buckets", children: s.map((d) => /* @__PURE__ */ u("div", { className: "select-balance__bucket", children: [
|
|
5155
5235
|
d.icon && /* @__PURE__ */ e("span", { className: "select-balance__bucketicon", children: d.icon }),
|
|
5156
5236
|
/* @__PURE__ */ u("span", { className: "select-balance__bucketbody", children: [
|
|
5157
5237
|
/* @__PURE__ */ e("span", { className: "select-balance__bucketlabel", title: d.label, children: d.label }),
|
|
5158
|
-
/* @__PURE__ */ e("span", { className: "select-balance__bucketamount", children: /* @__PURE__ */ e(
|
|
5238
|
+
/* @__PURE__ */ e("span", { className: "select-balance__bucketamount", children: /* @__PURE__ */ e($t, { cents: d.cents }) })
|
|
5159
5239
|
] })
|
|
5160
5240
|
] }, d.label)) })
|
|
5161
5241
|
] })
|
|
5162
5242
|
] });
|
|
5163
|
-
}),
|
|
5243
|
+
}), D1 = I(function({ grossCents: n, fees: l, netCents: c, grossLabel: s = "Valor bruto", netLabel: a = "Valor líquido", className: r, ...i }, o) {
|
|
5164
5244
|
const d = c ?? n - l.reduce((p, h) => p + h.cents, 0);
|
|
5165
5245
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-fees${r ? " " + r : ""}`, children: [
|
|
5166
5246
|
/* @__PURE__ */ u("div", { className: "select-fees__row", children: [
|
|
5167
5247
|
/* @__PURE__ */ e("span", { children: s }),
|
|
5168
|
-
/* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(
|
|
5248
|
+
/* @__PURE__ */ e("span", { children: /* @__PURE__ */ e($t, { cents: n }) })
|
|
5169
5249
|
] }),
|
|
5170
5250
|
l.map((p) => /* @__PURE__ */ u("div", { className: "select-fees__row", children: [
|
|
5171
5251
|
/* @__PURE__ */ e("span", { children: p.label }),
|
|
5172
5252
|
/* @__PURE__ */ u("span", { className: "select-fees__neg", children: [
|
|
5173
5253
|
"− ",
|
|
5174
|
-
/* @__PURE__ */ e(
|
|
5254
|
+
/* @__PURE__ */ e($t, { cents: p.cents })
|
|
5175
5255
|
] })
|
|
5176
5256
|
] }, p.label)),
|
|
5177
5257
|
/* @__PURE__ */ e("div", { className: "select-fees__divider" }),
|
|
5178
5258
|
/* @__PURE__ */ u("div", { className: "select-fees__row select-fees__row--net", children: [
|
|
5179
5259
|
/* @__PURE__ */ e("span", { children: a }),
|
|
5180
|
-
/* @__PURE__ */ e("span", { className: "select-fees__netvalue", children: /* @__PURE__ */ e(
|
|
5260
|
+
/* @__PURE__ */ e("span", { className: "select-fees__netvalue", children: /* @__PURE__ */ e($t, { cents: d }) })
|
|
5181
5261
|
] })
|
|
5182
5262
|
] });
|
|
5183
|
-
}),
|
|
5263
|
+
}), W1 = I(function({ label: n, value: l, caption: c, chart: s, help: a, tone: r, bare: i = !1, className: o, ...d }, p) {
|
|
5184
5264
|
return /* @__PURE__ */ u("div", { ref: p, ...d, className: `select-kpi${i ? " select-kpi--bare" : ""}${o ? " " + o : ""}`, children: [
|
|
5185
5265
|
/* @__PURE__ */ u("span", { className: `select-kpi__label${a != null ? " select-kpi__label--help" : ""}`, children: [
|
|
5186
5266
|
a != null ? /* @__PURE__ */ e("span", { className: "select-kpi__labeltext", children: n }) : n,
|
|
@@ -5190,7 +5270,7 @@ const F1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
5190
5270
|
s != null && /* @__PURE__ */ e("div", { className: "select-kpi__chart", children: s }),
|
|
5191
5271
|
c != null && /* @__PURE__ */ e("span", { className: "select-kpi__caption", children: c })
|
|
5192
5272
|
] });
|
|
5193
|
-
}),
|
|
5273
|
+
}), O1 = I(function({ title: n, caption: l, action: c, help: s, loading: a = !1, hideValues: r = !1, height: i = 260, flush: o = !1, insight: d, insightTone: p = "neutral", children: h, className: f, ...v }, _) {
|
|
5194
5274
|
const x = i === "auto" ? void 0 : `${i / 16}rem`, M = i === "auto" ? "10rem" : `${i / 16}rem`;
|
|
5195
5275
|
return /* @__PURE__ */ u("div", { ref: _, ...v, className: `select-chartcard${f ? " " + f : ""}`, children: [
|
|
5196
5276
|
(n || c || l) && /* @__PURE__ */ u("div", { className: "select-chartcard__head", children: [
|
|
@@ -5214,7 +5294,7 @@ const F1 = R(function({ availableCents: n, availableLabel: l = "Saldo disponíve
|
|
|
5214
5294
|
d != null && !a && /* @__PURE__ */ e("div", { className: `select-chartcard__insight select-chartcard__insight--${p}`, children: (Array.isArray(d) ? d : [d]).filter((S) => S != null).map((S, b) => /* @__PURE__ */ e("span", { className: "select-chartcard__insightpill", children: S }, b)) })
|
|
5215
5295
|
] });
|
|
5216
5296
|
});
|
|
5217
|
-
function
|
|
5297
|
+
function ar() {
|
|
5218
5298
|
const [t, n] = D(1);
|
|
5219
5299
|
return qe(() => {
|
|
5220
5300
|
const l = () => {
|
|
@@ -5225,7 +5305,7 @@ function cr() {
|
|
|
5225
5305
|
}, []), t;
|
|
5226
5306
|
}
|
|
5227
5307
|
function be(t) {
|
|
5228
|
-
const n = J(null), [l, c] = D(0), s =
|
|
5308
|
+
const n = J(null), [l, c] = D(0), s = ar();
|
|
5229
5309
|
return qe(() => {
|
|
5230
5310
|
const a = n.current;
|
|
5231
5311
|
if (!a) return;
|
|
@@ -5260,7 +5340,7 @@ function Ge(t) {
|
|
|
5260
5340
|
function Xe(t, n = 4) {
|
|
5261
5341
|
return Array.from({ length: n + 1 }, (l, c) => t / n * c);
|
|
5262
5342
|
}
|
|
5263
|
-
function
|
|
5343
|
+
function rr(t, n = 5) {
|
|
5264
5344
|
if (!(t > 0)) return { max: 1, values: [0, 1] };
|
|
5265
5345
|
const l = t / n, c = Math.pow(10, Math.floor(Math.log10(l))), s = l / c, a = (s <= 1 ? 1 : s <= 2 ? 2 : s <= 5 ? 5 : 10) * c, r = Math.ceil(t / a) * a, i = [];
|
|
5266
5346
|
for (let o = 0; o <= r + a / 2; o += a) i.push(Math.round(o * 1e6) / 1e6);
|
|
@@ -5328,7 +5408,7 @@ function ce(t) {
|
|
|
5328
5408
|
return n >= 1e9 ? (t / 1e9).toFixed(1).replace(/\.0$/, "") + "B" : n >= 1e6 ? (t / 1e6).toFixed(1).replace(/\.0$/, "") + "M" : n >= 1e3 ? (t / 1e3).toFixed(1).replace(/\.0$/, "") + "k" : String(Math.round(t));
|
|
5329
5409
|
}
|
|
5330
5410
|
const lt = { top: 16, right: 22, bottom: 32, left: 48 };
|
|
5331
|
-
function
|
|
5411
|
+
function H1({ data: t, color: n, height: l = 40, className: c, ...s }) {
|
|
5332
5412
|
const { ref: a, width: r } = be(l), i = n ?? z(0), o = ge(), d = 4;
|
|
5333
5413
|
let p = null;
|
|
5334
5414
|
if (r > 0 && t.length > 1) {
|
|
@@ -5388,7 +5468,7 @@ function re({ tip: t, className: n, ...l }) {
|
|
|
5388
5468
|
] }, o))
|
|
5389
5469
|
] });
|
|
5390
5470
|
}
|
|
5391
|
-
function
|
|
5471
|
+
function j1({ data: t, height: n = 240, color: l, format: c = ce, className: s, ...a }) {
|
|
5392
5472
|
const { ref: r, width: i } = be(n), o = ae(), d = ge(), p = l ?? z(0), h = Ge(Math.max(0, ...t.map((m) => m.value))), f = lt, v = Math.max(0, i - f.left - f.right), _ = n - f.top - f.bottom, x = t.length > 0 ? v / t.length : 0, M = Math.min(x * 0.62, 44), S = f.top + _, b = (m) => S - m / h * _;
|
|
5393
5473
|
return /* @__PURE__ */ u("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: r, children: [
|
|
5394
5474
|
i > 0 && /* @__PURE__ */ u("svg", { width: i, height: n, className: "select-chart", children: [
|
|
@@ -5439,8 +5519,8 @@ function D1({ data: t, height: n = 240, color: l, format: c = ce, className: s,
|
|
|
5439
5519
|
/* @__PURE__ */ e(re, { tip: o.tip })
|
|
5440
5520
|
] });
|
|
5441
5521
|
}
|
|
5442
|
-
function
|
|
5443
|
-
const { ref: i, width: o } = be(l), d = ae(), p = ge(), [h, f] = D(null), { max: v, values: _ } =
|
|
5522
|
+
function Z1({ series: t, labels: n, height: l = 240, format: c = ce, area: s = !1, className: a, ...r }) {
|
|
5523
|
+
const { ref: i, width: o } = be(l), d = ae(), p = ge(), [h, f] = D(null), { max: v, values: _ } = rr(Math.max(0, ...t.flatMap(($) => $.data))), x = lt, M = Math.max(0, o - x.left - x.right), S = l - x.top - x.bottom, b = n.length, m = ($) => x.left + (b <= 1 ? M / 2 : $ / (b - 1) * M), N = ($) => x.top + S - $ / v * S, k = b > 1 ? M / (b - 1) : M, w = Math.max(1, Math.ceil(b / 7)), y = x.top + S;
|
|
5444
5524
|
return /* @__PURE__ */ u("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
5445
5525
|
o > 0 && /* @__PURE__ */ u("svg", { width: o, height: l, className: "select-chart", children: [
|
|
5446
5526
|
/* @__PURE__ */ e("defs", { children: t.map(($, g) => {
|
|
@@ -5526,7 +5606,7 @@ function W1({ series: t, labels: n, height: l = 240, format: c = ce, area: s = !
|
|
|
5526
5606
|
/* @__PURE__ */ e(re, { tip: d.tip })
|
|
5527
5607
|
] });
|
|
5528
5608
|
}
|
|
5529
|
-
function
|
|
5609
|
+
function V1({ series: t, labels: n, height: l = 240, format: c = ce, className: s, ...a }) {
|
|
5530
5610
|
const { ref: r, width: i } = be(l), o = ae(), d = ge(), [p, h] = D(null), f = n.length, v = new Array(f).fill(0), _ = t.map(
|
|
5531
5611
|
(g) => g.data.map((C, A) => (v[A] = (v[A] ?? 0) + (C ?? 0), v[A]))
|
|
5532
5612
|
), x = Ge(Math.max(0, ...v)), M = lt, S = Math.max(0, i - M.left - M.right), b = l - M.top - M.bottom, m = (g) => M.left + (f <= 1 ? S / 2 : g / (f - 1) * S), N = (g) => M.top + b - g / x * b, k = f > 1 ? S / (f - 1) : S, w = Math.max(1, Math.ceil(f / 7)), y = M.top + b, $ = _[_.length - 1];
|
|
@@ -5592,7 +5672,7 @@ function O1({ series: t, labels: n, height: l = 240, format: c = ce, className:
|
|
|
5592
5672
|
/* @__PURE__ */ e(re, { tip: o.tip })
|
|
5593
5673
|
] });
|
|
5594
5674
|
}
|
|
5595
|
-
function
|
|
5675
|
+
function G1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = ce, formatLine: a = (o) => `${Math.round(o)}%`, className: r, ...i }) {
|
|
5596
5676
|
const { ref: o, width: d } = be(c), p = ae(), h = ge(), [f, v] = D(null), _ = { ...lt, right: 58 }, x = Math.max(0, d - _.left - _.right), M = c - _.top - _.bottom, S = t.length, b = Ge(Math.max(0, ...n.data)), m = Ge(Math.max(0, ...l.data)), N = S > 0 ? x / S : 0, k = Math.min(N * 0.5, 36), w = Math.max(1, Math.ceil(S / 8)), y = n.color ?? z(0), $ = l.color ?? z(1), g = _.top + M, C = (E) => g - E / b * M, A = (E) => g - E / m * M, B = (E) => _.left + N * E + N / 2, L = l.data.map((E, F) => [B(F), A(E)]);
|
|
5597
5677
|
return /* @__PURE__ */ u("div", { ...i, className: `select-chart-wrap${r ? " " + r : ""}`, ref: o, children: [
|
|
5598
5678
|
d > 0 && /* @__PURE__ */ u("svg", { width: d, height: c, className: "select-chart", children: [
|
|
@@ -5690,7 +5770,7 @@ function H1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = ce, f
|
|
|
5690
5770
|
/* @__PURE__ */ e(re, { tip: p.tip })
|
|
5691
5771
|
] });
|
|
5692
5772
|
}
|
|
5693
|
-
const
|
|
5773
|
+
const U1 = I(function({ segments: n, size: l = 200, thickness: c = 26, format: s = ce, centerLabel: a, legend: r = !0, gap: i = 2, pie: o = !1, className: d, ...p }, h) {
|
|
5694
5774
|
const f = ae(), v = ge(), _ = J(null), x = gn(_, l), M = n.reduce((w, y) => w + y.value, 0) || 1, S = x / 2, b = x / 2, m = x / 2 - 2, N = o ? 0 : m - c;
|
|
5695
5775
|
let k = 0;
|
|
5696
5776
|
return /* @__PURE__ */ u("div", { ref: h, ...p, className: `select-donut-wrap${d ? " " + d : ""}`, children: [
|
|
@@ -5739,7 +5819,7 @@ const j1 = R(function({ segments: n, size: l = 200, thickness: c = 26, format: s
|
|
|
5739
5819
|
/* @__PURE__ */ e(re, { tip: f.tip })
|
|
5740
5820
|
] });
|
|
5741
5821
|
});
|
|
5742
|
-
function
|
|
5822
|
+
function z1({ series: t, labels: n, height: l = 240, format: c = ce, stacked: s = !1, className: a, ...r }) {
|
|
5743
5823
|
const { ref: i, width: o } = be(l), d = ae(), p = ge(), h = n.length, f = t.length || 1, v = n.map((y, $) => t.reduce((g, C) => g + (C.data[$] ?? 0), 0)), _ = Ge(s ? Math.max(0, ...v) : Math.max(0, ...t.flatMap((y) => y.data))), x = lt, M = Math.max(0, o - x.left - x.right), S = l - x.top - x.bottom, b = x.top + S, m = h ? M / h : 0, N = (y) => b - y / _ * S, k = Math.min(m * 0.72, f * 40), w = s ? Math.min(m * 0.5, 44) : k / f;
|
|
5744
5824
|
return /* @__PURE__ */ u("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
5745
5825
|
o > 0 && /* @__PURE__ */ u("svg", { width: o, height: l, className: "select-chart", children: [
|
|
@@ -5831,7 +5911,7 @@ function Z1({ series: t, labels: n, height: l = 240, format: c = ce, stacked: s
|
|
|
5831
5911
|
/* @__PURE__ */ e(re, { tip: d.tip })
|
|
5832
5912
|
] });
|
|
5833
5913
|
}
|
|
5834
|
-
const
|
|
5914
|
+
const q1 = I(function({ stages: n, format: l = ce, className: c, ...s }, a) {
|
|
5835
5915
|
const r = Math.max(1, ...n.map((i) => i.value));
|
|
5836
5916
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-funnel${c ? " " + c : ""}`, children: n.map((i, o) => {
|
|
5837
5917
|
const d = o > 0 ? n[o - 1].value || 1 : i.value || 1, p = o > 0 ? i.value / d * 100 : 100, h = z(o);
|
|
@@ -5857,7 +5937,7 @@ const V1 = R(function({ stages: n, format: l = ce, className: c, ...s }, a) {
|
|
|
5857
5937
|
] }, o);
|
|
5858
5938
|
}) });
|
|
5859
5939
|
});
|
|
5860
|
-
function
|
|
5940
|
+
function or(t) {
|
|
5861
5941
|
return Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0;
|
|
5862
5942
|
}
|
|
5863
5943
|
function Tl(t, n, l, c) {
|
|
@@ -5868,8 +5948,8 @@ function Pl(t, n, l, c, s) {
|
|
|
5868
5948
|
const [a, r] = Tl(t, n, l, c), [i, o] = Tl(t, n, l, s);
|
|
5869
5949
|
return `M ${a.toFixed(2)} ${r.toFixed(2)} A ${l} ${l} 0 0 1 ${i.toFixed(2)} ${o.toFixed(2)}`;
|
|
5870
5950
|
}
|
|
5871
|
-
const
|
|
5872
|
-
const h =
|
|
5951
|
+
const ir = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`, Y1 = I(function({ value: n, label: l, caption: c, size: s = 220, thickness: a, color: r, format: i = ir, className: o, ...d }, p) {
|
|
5952
|
+
const h = or(n), f = a ?? Math.max(8, Math.round(s * 0.075)), v = f / 2 + 2, _ = s / 2 - v, x = s / 2, M = s / 2, S = M + v, b = bs({ value: h, format: i });
|
|
5873
5953
|
return /* @__PURE__ */ u("div", { ref: p, ...d, className: `select-gauge${o ? " " + o : ""}`, style: { width: `${s / 16}rem` }, children: [
|
|
5874
5954
|
/* @__PURE__ */ u("div", { className: "select-gauge__ring", style: { width: "100%", aspectRatio: `${s} / ${S}` }, children: [
|
|
5875
5955
|
/* @__PURE__ */ u("svg", { width: "100%", height: "100%", viewBox: `0 0 ${s} ${S}`, className: "select-chart", "aria-hidden": "true", children: [
|
|
@@ -5903,7 +5983,7 @@ const rr = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5903
5983
|
] }),
|
|
5904
5984
|
c != null && /* @__PURE__ */ e("div", { className: "select-gauge__caption", children: c })
|
|
5905
5985
|
] });
|
|
5906
|
-
}),
|
|
5986
|
+
}), X1 = I(function({ columns: n, rows: l, format: c = ce, formatValue: s, color: a = "var(--select-chart-1)", showValues: r = !0, min: i, max: o, cellSize: d = 40, maxCellSize: p = 96, cellHeight: h = 30, className: f, ...v }, _) {
|
|
5907
5987
|
const x = ae(), M = l.flatMap((y) => y.values).filter((y) => y != null && Number.isFinite(y)), S = i ?? (M.length ? Math.min(...M) : 0), m = (o ?? (M.length ? Math.max(...M) : 1)) - S || 1, N = { "--heat-color": a }, k = {
|
|
5908
5988
|
gridTemplateColumns: `minmax(56px, max-content) repeat(${n.length}, minmax(${d}px, ${Math.max(d, p)}px))`,
|
|
5909
5989
|
width: "fit-content",
|
|
@@ -5954,7 +6034,7 @@ const rr = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
|
|
|
5954
6034
|
/* @__PURE__ */ e(re, { tip: x.tip })
|
|
5955
6035
|
] });
|
|
5956
6036
|
});
|
|
5957
|
-
function
|
|
6037
|
+
function K1({
|
|
5958
6038
|
items: t,
|
|
5959
6039
|
format: n = ce,
|
|
5960
6040
|
color: l,
|
|
@@ -5988,7 +6068,7 @@ function z1({
|
|
|
5988
6068
|
] }, `${a.label}-${r}`);
|
|
5989
6069
|
}) });
|
|
5990
6070
|
}
|
|
5991
|
-
const Fn = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0,
|
|
6071
|
+
const Fn = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, J1 = I(function({ series: n, size: l = 200, thickness: c = 14, gap: s = 8, format: a = (h) => `${Math.round(h)}%`, centerLabel: r, legend: i = !0, className: o, ...d }, p) {
|
|
5992
6072
|
const h = ge(), f = l / 2, v = l / 2;
|
|
5993
6073
|
return /* @__PURE__ */ u("div", { ref: p, ...d, className: `select-donut-wrap${o ? " " + o : ""}`, children: [
|
|
5994
6074
|
/* @__PURE__ */ u("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
|
|
@@ -6033,11 +6113,11 @@ const Fn = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, q1 = R
|
|
|
6033
6113
|
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: a(Fn(_.value)) })
|
|
6034
6114
|
] }, x)) })
|
|
6035
6115
|
] });
|
|
6036
|
-
}), Dl = 6.1, In = 12, Wl = 56,
|
|
6037
|
-
function
|
|
6116
|
+
}), Dl = 6.1, In = 12, Wl = 56, dr = 0.4;
|
|
6117
|
+
function Q1({ data: t, height: n, color: l, format: c = ce, formatValue: s, distributed: a = !0, labelWidth: r, className: i, ...o }) {
|
|
6038
6118
|
const v = n ?? t.length * 36 + 6 + 26, { ref: _, width: x } = be(v), M = ae(), S = ge(), b = Ge(Math.max(0, ...t.map((E) => E.value))), m = t.reduce((E, F) => Math.max(E, F.label.length), 0), N = Math.min(
|
|
6039
6119
|
Math.max(Wl, m * Dl + In),
|
|
6040
|
-
Math.max(Wl, x *
|
|
6120
|
+
Math.max(Wl, x * dr)
|
|
6041
6121
|
), k = r ?? N, w = Math.max(3, Math.floor((k - In) / Dl)), y = (E) => E.length <= w ? E : `${E.slice(0, w - 1).trimEnd()}…`, $ = Math.max(0, x - k - 28), g = v - 6 - 26, C = t.length ? g / t.length : 0, A = Math.min(C * 0.62, 22), B = (E) => k + E / b * $, L = (E, F) => E.color ?? (a ? z(F) : l ?? z(0));
|
|
6042
6122
|
return /* @__PURE__ */ u("div", { ...o, className: `select-chart-wrap${i ? " " + i : ""}`, ref: _, children: [
|
|
6043
6123
|
x > 0 && /* @__PURE__ */ u("svg", { width: x, height: v, className: "select-chart", children: [
|
|
@@ -6105,7 +6185,7 @@ function Y1({ data: t, height: n, color: l, format: c = ce, formatValue: s, dist
|
|
|
6105
6185
|
/* @__PURE__ */ e(re, { tip: M.tip })
|
|
6106
6186
|
] });
|
|
6107
6187
|
}
|
|
6108
|
-
function
|
|
6188
|
+
function ei({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
6109
6189
|
const { ref: a, width: r } = be(n), i = ae(), o = ge();
|
|
6110
6190
|
let d = 0;
|
|
6111
6191
|
const p = t.map((w) => {
|
|
@@ -6175,7 +6255,7 @@ function X1({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
|
6175
6255
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
6176
6256
|
] });
|
|
6177
6257
|
}
|
|
6178
|
-
const Ol = (t) => Math.max(0, Math.min(100, t)),
|
|
6258
|
+
const Ol = (t) => Math.max(0, Math.min(100, t)), ti = I(function({ items: n, format: l = ce, className: c, ...s }, a) {
|
|
6179
6259
|
return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-bullet${c ? " " + c : ""}`, children: n.map((r, i) => {
|
|
6180
6260
|
const o = r.color ?? z(i), d = r.max ?? (Math.max(r.value, r.target) * 1.25 || 1), p = r.value >= r.target;
|
|
6181
6261
|
return /* @__PURE__ */ u("div", { className: "select-bullet__row", children: [
|
|
@@ -6211,7 +6291,7 @@ const Ol = (t) => Math.max(0, Math.min(100, t)), K1 = R(function({ items: n, for
|
|
|
6211
6291
|
] }, `${r.label}-${i}`);
|
|
6212
6292
|
}) });
|
|
6213
6293
|
});
|
|
6214
|
-
function
|
|
6294
|
+
function hr(t, n, l) {
|
|
6215
6295
|
const c = [], s = (r, i) => {
|
|
6216
6296
|
const o = r.reduce((h, f) => h + f, 0), d = Math.max(...r), p = Math.min(...r);
|
|
6217
6297
|
return Math.max(i * i * d / (o * o), o * o / (i * i * p));
|
|
@@ -6254,8 +6334,8 @@ function ir(t, n, l) {
|
|
|
6254
6334
|
l
|
|
6255
6335
|
), c;
|
|
6256
6336
|
}
|
|
6257
|
-
function
|
|
6258
|
-
const { ref: a, width: r } = be(n), i = ae(), o = ge(), d = t.map((h, f) => f).sort((h, f) => t[f].value - t[h].value), p = r > 0 ?
|
|
6337
|
+
function ni({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
6338
|
+
const { ref: a, width: r } = be(n), i = ae(), o = ge(), d = t.map((h, f) => f).sort((h, f) => t[f].value - t[h].value), p = r > 0 ? hr(d.map((h) => t[h].value), r, n) : [];
|
|
6259
6339
|
return /* @__PURE__ */ u("div", { ...s, className: `select-chart-wrap select-treemap${c ? " " + c : ""}`, ref: a, children: [
|
|
6260
6340
|
r > 0 && /* @__PURE__ */ u("svg", { width: r, height: n, className: "select-chart", children: [
|
|
6261
6341
|
/* @__PURE__ */ e("defs", { children: t.map((h, f) => {
|
|
@@ -6296,7 +6376,7 @@ function J1({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
|
6296
6376
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
6297
6377
|
] });
|
|
6298
6378
|
}
|
|
6299
|
-
function
|
|
6379
|
+
function li({ series: t, height: n = 240, xFormat: l = ce, yFormat: c = ce, xMax: s, yMax: a, maxRadius: r = 18, className: i, ...o }) {
|
|
6300
6380
|
const { ref: d, width: p } = be(n), h = ae(), f = t.flatMap((y) => y.points), v = Ge(s ?? Math.max(0, ...f.map((y) => y.x))), _ = Ge(a ?? Math.max(0, ...f.map((y) => y.y))), x = Math.max(1, ...f.map((y) => y.r ?? 0)), M = lt, S = Math.max(0, p - M.left - M.right), b = n - M.top - M.bottom, m = M.top + b, N = (y) => M.left + y / v * S, k = (y) => m - y / _ * b, w = (y) => y.r ? 4 + Math.sqrt(y.r) / Math.sqrt(x) * (r - 4) : 4.5;
|
|
6301
6381
|
return /* @__PURE__ */ u("div", { ...o, className: `select-chart-wrap${i ? " " + i : ""}`, ref: d, children: [
|
|
6302
6382
|
p > 0 && /* @__PURE__ */ u("svg", { width: p, height: n, className: "select-chart", children: [
|
|
@@ -6343,7 +6423,7 @@ function Q1({ series: t, height: n = 240, xFormat: l = ce, yFormat: c = ce, xMax
|
|
|
6343
6423
|
/* @__PURE__ */ e(re, { tip: h.tip })
|
|
6344
6424
|
] });
|
|
6345
6425
|
}
|
|
6346
|
-
const
|
|
6426
|
+
const ci = I(function({ axes: n, series: l, size: c = 240, max: s, format: a = ce, levels: r = 4, legend: i = !0, className: o, ...d }, p) {
|
|
6347
6427
|
const h = ae(), f = ge(), v = n.length, _ = c / 2, x = c / 2, M = c / 2 - 30, S = s ?? Ge(Math.max(1, ...l.flatMap((k) => k.values))), b = (k) => (-90 + k * 360 / v) * Math.PI / 180, m = (k, w) => [_ + w * Math.cos(b(k)), x + w * Math.sin(b(k))], N = (k) => k.map((w, y) => `${y === 0 ? "M" : "L"}${m(y, w).map(($) => $.toFixed(2)).join(",")}`).join(" ") + " Z";
|
|
6348
6428
|
return /* @__PURE__ */ u("div", { ref: p, ...d, className: `select-donut-wrap${o ? " " + o : ""}`, children: [
|
|
6349
6429
|
/* @__PURE__ */ u("div", { className: "select-radar", style: { width: c, aspectRatio: "1" }, children: [
|
|
@@ -6413,7 +6493,7 @@ const ei = R(function({ axes: n, series: l, size: c = 240, max: s, format: a = c
|
|
|
6413
6493
|
] }, w)) })
|
|
6414
6494
|
] });
|
|
6415
6495
|
});
|
|
6416
|
-
function
|
|
6496
|
+
function si({ links: t, height: n = 260, format: l = ce, nodeWidth: c = 14, nodeGap: s = 14, className: a, ...r }) {
|
|
6417
6497
|
const { ref: i, width: o } = be(n), d = ae(), p = [], h = [];
|
|
6418
6498
|
for (const g of t)
|
|
6419
6499
|
p.includes(g.source) || p.push(g.source), h.includes(g.target) || h.push(g.target);
|
|
@@ -6461,7 +6541,7 @@ function ti({ links: t, height: n = 260, format: l = ce, nodeWidth: c = 14, node
|
|
|
6461
6541
|
/* @__PURE__ */ e(re, { tip: d.tip })
|
|
6462
6542
|
] });
|
|
6463
6543
|
}
|
|
6464
|
-
function
|
|
6544
|
+
function ai({ data: t, height: n = 240, format: l = ce, upColor: c = "var(--select-chart-4)", downColor: s = "var(--select-chart-3)", className: a, ...r }) {
|
|
6465
6545
|
const { ref: i, width: o } = be(n), d = ae(), p = lt, h = Math.max(0, o - p.left - p.right), f = n - p.top - p.bottom, v = p.top + f, _ = Math.max(1, ...t.map(($) => $.high)), x = Math.min(_, ...t.map(($) => $.low)), M = (_ - x) * 0.08 || 1, S = x - M, b = _ + M, m = ($) => v - ($ - S) / (b - S) * f, N = t.length, k = N ? h / N : 0, w = Math.min(k * 0.5, 18), y = Array.from({ length: 5 }, ($, g) => S + (b - S) * g / 4);
|
|
6466
6546
|
return /* @__PURE__ */ u("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
6467
6547
|
o > 0 && /* @__PURE__ */ u("svg", { width: o, height: n, className: "select-chart", children: [
|
|
@@ -6513,7 +6593,7 @@ function ni({ data: t, height: n = 240, format: l = ce, upColor: c = "var(--sele
|
|
|
6513
6593
|
/* @__PURE__ */ e(re, { tip: d.tip })
|
|
6514
6594
|
] });
|
|
6515
6595
|
}
|
|
6516
|
-
function
|
|
6596
|
+
function ri({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
6517
6597
|
const { ref: a, width: r } = be(n), i = ae(), o = lt, d = Math.max(0, r - o.left - o.right), p = n - o.top - o.bottom, h = o.top + p, f = Ge(Math.max(1, ...t.map((S) => S.max))), v = (S) => h - S / f * p, _ = t.length, x = _ ? d / _ : 0, M = Math.min(x * 0.5, 40);
|
|
6518
6598
|
return /* @__PURE__ */ u("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
|
|
6519
6599
|
r > 0 && /* @__PURE__ */ u("svg", { width: r, height: n, className: "select-chart", children: [
|
|
@@ -6569,7 +6649,7 @@ function li({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
|
6569
6649
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
6570
6650
|
] });
|
|
6571
6651
|
}
|
|
6572
|
-
function
|
|
6652
|
+
function oi({ data: t, height: n, min: l, max: c, format: s = ce, labelWidth: a = 96, className: r, ...i }) {
|
|
6573
6653
|
const f = n ?? t.length * 36 + 6 + 26, { ref: v, width: _ } = be(f), x = ae(), M = ge(), S = l ?? Math.min(0, ...t.map((A) => A.start)), m = (c ?? Math.max(1, ...t.map((A) => A.end))) - S || 1, N = a, k = Math.max(0, _ - N - 14), w = f - 6 - 26, y = t.length ? w / t.length : 0, $ = Math.min(y * 0.6, 22), g = (A) => N + (A - S) / m * k, C = Array.from({ length: 5 }, (A, B) => S + m * B / 4);
|
|
6574
6654
|
return /* @__PURE__ */ u("div", { ...i, className: `select-chart-wrap${r ? " " + r : ""}`, ref: v, children: [
|
|
6575
6655
|
_ > 0 && /* @__PURE__ */ u("svg", { width: _, height: f, className: "select-chart", children: [
|
|
@@ -6624,7 +6704,7 @@ function ci({ data: t, height: n, min: l, max: c, format: s = ce, labelWidth: a
|
|
|
6624
6704
|
/* @__PURE__ */ e(re, { tip: x.tip })
|
|
6625
6705
|
] });
|
|
6626
6706
|
}
|
|
6627
|
-
const
|
|
6707
|
+
const ii = I(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels: c = ["Seg", "", "Qua", "", "Sex", "", "Dom"], columnLabels: s, format: a = ce, cell: r = 14, gap: i = 3, min: o, max: d, className: p, ...h }, f) {
|
|
6628
6708
|
const v = ae();
|
|
6629
6709
|
ge();
|
|
6630
6710
|
const _ = n.flat().filter(($) => $ != null && Number.isFinite($)), x = o ?? (_.length ? Math.min(..._) : 0), S = (d ?? (_.length ? Math.max(..._) : 1)) - x || 1, b = 30, m = s ? 16 : 4, N = r + i, k = b + n.length * N, w = m + 7 * N, y = { "--heat-color": l };
|
|
@@ -6668,7 +6748,7 @@ const si = R(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
|
|
|
6668
6748
|
] }),
|
|
6669
6749
|
/* @__PURE__ */ e(re, { tip: v.tip })
|
|
6670
6750
|
] });
|
|
6671
|
-
}),
|
|
6751
|
+
}), di = I(function({ segments: n, size: l = 200, format: c = ce, legend: s = !0, rose: a = !1, className: r, ...i }, o) {
|
|
6672
6752
|
const d = ae(), p = l / 2, h = l / 2, f = l / 2 - 2, v = n.length || 1, _ = Ge(Math.max(1, ...n.map((S) => S.value))), x = (S) => a ? Math.max(0, S) / _ * f : Math.sqrt(Math.max(0, S) / _) * f, M = 360 / v;
|
|
6673
6753
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-donut-wrap${r ? " " + r : ""}`, children: [
|
|
6674
6754
|
/* @__PURE__ */ u("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
|
|
@@ -6699,7 +6779,7 @@ const si = R(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
|
|
|
6699
6779
|
] }, b)) })
|
|
6700
6780
|
] });
|
|
6701
6781
|
});
|
|
6702
|
-
function
|
|
6782
|
+
function hi({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s = ce, className: a, ...r }) {
|
|
6703
6783
|
const { ref: i, width: o } = be(c), d = ae(), p = { top: 24, right: 64, bottom: 12, left: 132 }, h = Ge(Math.max(1, ...t.flatMap((M) => [M.left, M.right]))), f = c - p.top - p.bottom, v = (M) => p.top + f - M / h * f, _ = p.left, x = o - p.right;
|
|
6704
6784
|
return /* @__PURE__ */ u("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
|
|
6705
6785
|
o > 0 && /* @__PURE__ */ u("svg", { width: o, height: c, className: "select-chart", children: [
|
|
@@ -6746,7 +6826,7 @@ function ri({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s =
|
|
|
6746
6826
|
/* @__PURE__ */ e(re, { tip: d.tip })
|
|
6747
6827
|
] });
|
|
6748
6828
|
}
|
|
6749
|
-
function
|
|
6829
|
+
function ui({ data: t, height: n, format: l = ce, fromLabel: c = "Antes", toLabel: s = "Depois", labelWidth: a = 96, className: r, ...i }) {
|
|
6750
6830
|
const f = n ?? t.length * 34 + 6 + 26, { ref: v, width: _ } = be(f), x = ae(), M = "var(--select-chart-2)", S = "var(--select-chart-1)", b = Ge(Math.max(1, ...t.flatMap(($) => [$.from, $.to]))), m = a, N = Math.max(0, _ - m - 14), k = f - 6 - 26, w = t.length ? k / t.length : 0, y = ($) => m + $ / b * N;
|
|
6751
6831
|
return /* @__PURE__ */ u("div", { ...i, className: `select-chart-wrap${r ? " " + r : ""}`, ref: v, children: [
|
|
6752
6832
|
_ > 0 && /* @__PURE__ */ u("svg", { width: _, height: f, className: "select-chart", children: [
|
|
@@ -6798,7 +6878,7 @@ function oi({ data: t, height: n, format: l = ce, fromLabel: c = "Antes", toLabe
|
|
|
6798
6878
|
/* @__PURE__ */ e(re, { tip: x.tip })
|
|
6799
6879
|
] });
|
|
6800
6880
|
}
|
|
6801
|
-
function
|
|
6881
|
+
function pi({ columns: t, height: n = 240, format: l = ce, gap: c = 3, className: s, ...a }) {
|
|
6802
6882
|
const { ref: r, width: i } = be(n), o = ae(), d = { top: 6, right: 6, bottom: 24, left: 6 }, p = Math.max(0, i - d.left - d.right), h = n - d.top - d.bottom, f = t.map((m) => m.segments.reduce((N, k) => N + k.value, 0)), v = f.reduce((m, N) => m + N, 0) || 1, _ = [];
|
|
6803
6883
|
t.forEach((m) => m.segments.forEach((N) => {
|
|
6804
6884
|
_.includes(N.key) || _.push(N.key);
|
|
@@ -6850,7 +6930,7 @@ function ii({ columns: t, height: n = 240, format: l = ce, gap: c = 3, className
|
|
|
6850
6930
|
/* @__PURE__ */ e(re, { tip: o.tip })
|
|
6851
6931
|
] });
|
|
6852
6932
|
}
|
|
6853
|
-
const
|
|
6933
|
+
const mi = I(function({ value: n, max: l = 100, bands: c, size: s = 220, thickness: a, label: r, format: i = (h) => `${Math.round(h)}`, className: o, ...d }, p) {
|
|
6854
6934
|
const h = a ?? Math.max(10, Math.round(s * 0.08)), f = h / 2 + 2, v = s / 2 - f, _ = s / 2, x = s / 2, M = x + f, S = (A) => Math.max(0, Math.min(l, A)), b = (A) => {
|
|
6855
6935
|
const B = Math.PI + A * Math.PI;
|
|
6856
6936
|
return [_ + v * Math.cos(B), x + v * Math.sin(B)];
|
|
@@ -6875,7 +6955,7 @@ const di = R(function({ value: n, max: l = 100, bands: c, size: s = 220, thickne
|
|
|
6875
6955
|
] })
|
|
6876
6956
|
] }) });
|
|
6877
6957
|
});
|
|
6878
|
-
function
|
|
6958
|
+
function fi({ series: t, labels: n, height: l = 240, format: c = ce, className: s, ...a }) {
|
|
6879
6959
|
const { ref: r, width: i } = be(l), o = ae(), d = ge(), [p, h] = D(null), f = n.length, v = { top: 14, right: 14, bottom: 28, left: 14 }, _ = Math.max(0, i - v.left - v.right), x = l - v.top - v.bottom, M = n.map((w, y) => t.reduce(($, g) => $ + (g.data[y] ?? 0), 0)), S = Math.max(1, ...M), b = x / S, m = (w) => v.left + (f <= 1 ? _ / 2 : w / (f - 1) * _), N = n.map(() => 0), k = t.map((w, y) => {
|
|
6880
6960
|
const $ = [], g = [];
|
|
6881
6961
|
return n.forEach((C, A) => {
|
|
@@ -6921,7 +7001,7 @@ function hi({ series: t, labels: n, height: l = 240, format: c = ce, className:
|
|
|
6921
7001
|
/* @__PURE__ */ e(re, { tip: o.tip })
|
|
6922
7002
|
] });
|
|
6923
7003
|
}
|
|
6924
|
-
const
|
|
7004
|
+
const _i = I(function({ data: n, size: l = 220, format: c = ce, legend: s = !0, className: a, ...r }, i) {
|
|
6925
7005
|
const o = ae(), d = l / 2, p = l / 2, h = l / 2 - 2, f = h * 0.62, v = h * 0.32, _ = n.map((S) => {
|
|
6926
7006
|
var b;
|
|
6927
7007
|
return (b = S.children) != null && b.length ? S.children.reduce((m, N) => m + N.value, 0) : S.value ?? 0;
|
|
@@ -6982,7 +7062,7 @@ const ui = R(function({ data: n, size: l = 220, format: c = ce, legend: s = !0,
|
|
|
6982
7062
|
] }, b)) })
|
|
6983
7063
|
] });
|
|
6984
7064
|
});
|
|
6985
|
-
function
|
|
7065
|
+
function vi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
6986
7066
|
const { ref: a, width: r } = be(n), i = ae(), o = lt, d = Math.max(0, r - o.left - o.right), p = n - o.top - o.bottom, h = o.top + p, f = Ge(Math.max(1, ...t.map((b) => b.max))), v = (b) => h - b / f * p, _ = t.length, x = _ ? d / _ : 0, M = Math.min(x * 0.42, 46), S = Math.max(1, ...t.flatMap((b) => b.bins));
|
|
6987
7067
|
return /* @__PURE__ */ u("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
|
|
6988
7068
|
r > 0 && /* @__PURE__ */ u("svg", { width: r, height: n, className: "select-chart", children: [
|
|
@@ -7036,7 +7116,7 @@ function pi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
|
7036
7116
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
7037
7117
|
] });
|
|
7038
7118
|
}
|
|
7039
|
-
const
|
|
7119
|
+
const gi = I(function({ matrix: n, labels: l, size: c = 240, format: s = ce, padAngle: a = 0.05, className: r, ...i }, o) {
|
|
7040
7120
|
const d = ae(), p = l.length, h = c / 2, f = c / 2, v = c / 2 - 22, _ = v - 9, x = n.map((g) => g.reduce((C, A) => C + A, 0)), M = x.reduce((g, C) => g + C, 0) || 1, S = (2 * Math.PI - p * a) / M, b = [];
|
|
7041
7121
|
let m = 0;
|
|
7042
7122
|
for (let g = 0; g < p; g++) {
|
|
@@ -7101,7 +7181,7 @@ const mi = R(function({ matrix: n, labels: l, size: c = 240, format: s = ce, pad
|
|
|
7101
7181
|
/* @__PURE__ */ e(re, { tip: d.tip })
|
|
7102
7182
|
] }) });
|
|
7103
7183
|
});
|
|
7104
|
-
function
|
|
7184
|
+
function bi({ points: t, height: n = 240, radius: l = 16, color: c = "var(--select-chart-1)", xMax: s, yMax: a, format: r = ce, className: i, ...o }) {
|
|
7105
7185
|
const { ref: d, width: p } = be(n), h = ae(), f = 12, v = Math.max(0, p - f * 2), _ = n - f * 2, x = s ?? Math.max(1, ...t.map((C) => C.x)), M = a ?? Math.max(1, ...t.map((C) => C.y)), S = (C) => f + C / x * v, b = (C) => f + _ - C / M * _, m = l, N = Math.sqrt(3), k = (C, A) => {
|
|
7106
7186
|
let B = C, L = A, E = -B - L, F = Math.round(B), T = Math.round(E), O = Math.round(L);
|
|
7107
7187
|
const q = Math.abs(F - B), H = Math.abs(T - E), V = Math.abs(O - L);
|
|
@@ -7142,7 +7222,7 @@ function fi({ points: t, height: n = 240, radius: l = 16, color: c = "var(--sele
|
|
|
7142
7222
|
/* @__PURE__ */ e(re, { tip: h.tip })
|
|
7143
7223
|
] });
|
|
7144
7224
|
}
|
|
7145
|
-
const
|
|
7225
|
+
const xi = I(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s, ...a }, r) {
|
|
7146
7226
|
const i = n.map((f) => f.value), o = Math.max(1, ...i), d = Math.min(...i), p = o - d || 1, h = (f) => l + (f - d) / p * (c - l);
|
|
7147
7227
|
return /* @__PURE__ */ e("div", { ref: r, ...a, className: `select-wordcloud${s ? " " + s : ""}`, children: n.map((f, v) => /* @__PURE__ */ e(
|
|
7148
7228
|
"span",
|
|
@@ -7158,7 +7238,7 @@ const _i = R(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s
|
|
|
7158
7238
|
},
|
|
7159
7239
|
`${f.text}-${v}`
|
|
7160
7240
|
)) });
|
|
7161
|
-
}),
|
|
7241
|
+
}), ur = [
|
|
7162
7242
|
[-59.6, -80, -59.9, -80.5, -60.2, -81, -62.3, -80.9, -64.5, -80.9, -65.7, -80.6, -65.7, -80.5, -66.3, -80.3, -64, -80.3, -61.9, -80.4, -61.1, -80, -60.6, -79.6, -59.6, -80],
|
|
7163
7243
|
[-159.2, -79.5, -161.1, -79.6, -162.4, -79.3, -163, -78.9, -163.1, -78.9, -163.7, -78.6, -163.1, -78.2, -161.2, -78.4, -160.2, -78.7, -159.5, -79, -159.2, -79.5],
|
|
7164
7244
|
[-45.2, -78, -43.9, -78.5, -43.5, -79.1, -43.4, -79.5, -43.3, -80, -44.9, -80.3, -46.5, -80.6, -48.4, -80.8, -50.5, -81, -52.9, -81, -54.2, -80.6, -54, -80.2, -51.9, -79.9, -51, -79.6, -50.4, -79.2, -49.9, -78.8, -49.3, -78.5, -48.7, -78, -48.2, -78, -46.7, -77.8, -45.2, -78],
|
|
@@ -7287,7 +7367,7 @@ const _i = R(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s
|
|
|
7287
7367
|
[-68.5, 83.1, -65.8, 83, -63.7, 82.9, -61.8, 82.6, -61.9, 82.4, -64.3, 81.9, -66.8, 81.7, -67.7, 81.5, -65.5, 81.5, -67.8, 80.9, -69.5, 80.6, -71.2, 79.8, -73.2, 79.6, -73.9, 79.4, -76.9, 79.3, -75.5, 79.2, -76.2, 79, -75.4, 78.5, -76.3, 78.2, -77.9, 77.9, -78.4, 77.5, -79.8, 77.2, -79.6, 77, -77.9, 77, -77.9, 76.8, -80.6, 76.2, -83.2, 76.5, -86.1, 76.3, -87.6, 76.4, -89.5, 76.5, -89.6, 77, -87.8, 77.2, -88.3, 77.9, -87.6, 78, -85, 77.5, -86.3, 78.2, -88, 78.4, -87.2, 78.8, -85.4, 79, -85.1, 79.3, -86.5, 79.7, -86.9, 80.3, -84.2, 80.2, -83.4, 80.1, -81.8, 80.5, -84.1, 80.6, -87.6, 80.5, -89.4, 80.9, -90.2, 81.3, -91.4, 81.6, -91.6, 81.9, -90.1, 82.1, -88.9, 82.1, -87, 82.3, -85.5, 82.7, -84.3, 82.6, -83.2, 82.3, -82.4, 82.9, -81.1, 83, -79.3, 83.1, -76.2, 83.2, -75.7, 83.1, -72.8, 83.2, -70.7, 83.2, -68.5, 83.1],
|
|
7288
7368
|
[-27.1, 83.5, -20.8, 82.7, -22.7, 82.3, -26.5, 82.3, -31.9, 82.2, -31.4, 82, -27.9, 82.1, -24.8, 81.8, -22.9, 82.1, -22.1, 81.7, -23.2, 81.2, -20.6, 81.5, -15.8, 81.9, -12.8, 81.7, -12.2, 81.3, -16.3, 80.6, -16.8, 80.4, -20, 80.2, -17.7, 80.1, -18.9, 79.4, -19.7, 78.8, -19.7, 77.6, -18.5, 77, -20, 76.9, -21.7, 76.6, -19.8, 76.1, -19.6, 75.2, -20.7, 75.2, -19.4, 74.3, -21.6, 74.2, -20.4, 73.8, -20.8, 73.5, -22.2, 73.3, -23.6, 73.3, -22.3, 72.6, -22.3, 72.2, -24.3, 72.6, -24.8, 72.3, -23.4, 72.1, -22.1, 71.5, -21.8, 70.7, -23.5, 70.5, -24.3, 70.9, -25.5, 71.4, -25.2, 70.8, -26.4, 70.2, -23.7, 70.2, -22.3, 70.1, -25, 69.3, -27.7, 68.5, -30.7, 68.1, -31.8, 68.1, -32.8, 67.7, -34.2, 66.7, -36.4, 66, -37, 65.9, -38.4, 65.7, -39.8, 65.5, -40.7, 64.8, -40.7, 64.1, -41.2, 63.5, -42.8, 62.7, -42.4, 61.9, -42.9, 61.1, -43.4, 60.1, -44.8, 60, -46.3, 60.9, -48.3, 60.9, -49.2, 61.4, -49.9, 62.4, -51.6, 63.6, -52.1, 64.3, -52.3, 65.2, -53.7, 66.1, -53.3, 66.8, -54, 67.2, -53, 68.4, -51.5, 68.7, -51.1, 69.1, -50.9, 69.9, -52, 69.6, -52.6, 69.4, -53.5, 69.3, -54.7, 69.6, -54.8, 70.3, -54.4, 70.8, -53.4, 70.8, -51.4, 70.6, -53.1, 71.2, -54, 71.5, -55, 71.4, -55.8, 71.7, -54.7, 72.6, -55.3, 73, -56.1, 73.6, -57.3, 74.7, -58.6, 75.1, -58.6, 75.5, -61.3, 76.1, -63.4, 76.2, -66.1, 76.1, -68.5, 76.1, -69.7, 76.4, -71.4, 77, -68.8, 77.3, -66.8, 77.4, -71, 77.6, -73.3, 78, -73.2, 78.4, -69.4, 78.9, -65.7, 79.4, -65.3, 79.8, -68, 80.1, -67.2, 80.5, -63.7, 81.2, -62.2, 81.3, -62.7, 81.8, -60.3, 82, -57.2, 82.2, -54.1, 82.2, -53, 81.9, -50.4, 82.4, -48, 82.1, -46.6, 82, -44.5, 81.7, -46.9, 82.2, -46.8, 82.6, -43.4, 83.2, -39.9, 83.2, -38.6, 83.5, -35.1, 83.6, -27.1, 83.5]
|
|
7289
7369
|
], bn = Math.PI / 180;
|
|
7290
|
-
function
|
|
7370
|
+
function It(t, n) {
|
|
7291
7371
|
const l = t * bn, c = n * bn;
|
|
7292
7372
|
return [Math.cos(l) * Math.sin(c), Math.sin(l), Math.cos(l) * Math.cos(c)];
|
|
7293
7373
|
}
|
|
@@ -7303,16 +7383,16 @@ function Hl(t, n, l) {
|
|
|
7303
7383
|
const a = Math.sin(s), r = Math.sin((1 - l) * s) / a, i = Math.sin(l * s) / a;
|
|
7304
7384
|
return [t[0] * r + n[0] * i, t[1] * r + n[1] * i, t[2] * r + n[2] * i];
|
|
7305
7385
|
}
|
|
7306
|
-
const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6,
|
|
7386
|
+
const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6, yi = I(function({ points: n = [], arcs: l = [], size: c = 320, tilt: s = -18, spin: a = !0, speed: r = 7, color: i = "var(--select-chart-1)", format: o = ce, legend: d = !0, map: p = !0, fluid: h = !1, onZoomChange: f, className: v, ..._ }, x) {
|
|
7307
7387
|
var ze;
|
|
7308
|
-
const M = ge(), S = ae(), b = J(null), m = gn(b, c), N = n.length ? n.reduce((
|
|
7388
|
+
const M = ge(), S = ae(), b = J(null), m = gn(b, c), N = n.length ? n.reduce((R, U) => R + U.lng, 0) / n.length : 0, k = J(
|
|
7309
7389
|
typeof window < "u" && !!((ze = window.matchMedia) != null && ze.call(window, "(prefers-reduced-motion: reduce)").matches)
|
|
7310
7390
|
), w = J({ lng: -N, lat: s }), y = J({ lng: 0, lat: 0 }), $ = J(1), g = J(null), C = J(null), A = J(!1), B = J(0), L = J(0), E = J(0), [, F] = D(0), [T, O] = D(!1), [q, H] = D(null), V = () => {
|
|
7311
7391
|
L.current || (E.current = performance.now(), L.current = requestAnimationFrame(P));
|
|
7312
7392
|
};
|
|
7313
|
-
function P(
|
|
7314
|
-
const U = Math.min(0.05, (
|
|
7315
|
-
E.current =
|
|
7393
|
+
function P(R) {
|
|
7394
|
+
const U = Math.min(0.05, (R - E.current) / 1e3);
|
|
7395
|
+
E.current = R, B.current += U;
|
|
7316
7396
|
const Y = y.current, ye = Math.abs(Y.lng) + Math.abs(Y.lat) > 0.02;
|
|
7317
7397
|
if (!C.current) if (g.current) {
|
|
7318
7398
|
const Z = Math.min(1, U * 6);
|
|
@@ -7325,54 +7405,54 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7325
7405
|
}), []);
|
|
7326
7406
|
const W = J(f);
|
|
7327
7407
|
W.current = f, pe(() => {
|
|
7328
|
-
const
|
|
7329
|
-
if (!
|
|
7408
|
+
const R = b.current;
|
|
7409
|
+
if (!R) return;
|
|
7330
7410
|
const U = (Y) => {
|
|
7331
7411
|
var Z;
|
|
7332
7412
|
Y.preventDefault();
|
|
7333
7413
|
const ye = Math.max(-240, Math.min(240, Y.deltaMode ? Y.deltaY * 40 : Y.deltaY)), G = $.current * Math.exp(-ye * 12e-4);
|
|
7334
7414
|
$.current = Math.max(0.8, Math.min(1.8, G)), (Z = W.current) == null || Z.call(W, $.current), V(), F((X) => (X + 1) % 1e6);
|
|
7335
7415
|
};
|
|
7336
|
-
return
|
|
7416
|
+
return R.addEventListener("wheel", U, { passive: !1 }), () => R.removeEventListener("wheel", U);
|
|
7337
7417
|
}, []);
|
|
7338
|
-
const K = (
|
|
7418
|
+
const K = (R) => {
|
|
7339
7419
|
var U, Y;
|
|
7340
|
-
(Y = (U =
|
|
7341
|
-
}, te = (
|
|
7420
|
+
(Y = (U = R.target).setPointerCapture) == null || Y.call(U, R.pointerId), C.current = { x: R.clientX, y: R.clientY }, y.current = { lng: 0, lat: 0 }, g.current = null, O(!0), V();
|
|
7421
|
+
}, te = (R) => {
|
|
7342
7422
|
if (!C.current) return;
|
|
7343
|
-
const U = 0.34 / $.current, Y =
|
|
7344
|
-
C.current = { x:
|
|
7345
|
-
}, ie = (
|
|
7423
|
+
const U = 0.34 / $.current, Y = R.clientX - C.current.x, ye = R.clientY - C.current.y;
|
|
7424
|
+
C.current = { x: R.clientX, y: R.clientY }, w.current.lng += Y * U, w.current.lat = Math.max(-85, Math.min(85, w.current.lat + ye * U)), y.current = { lng: Y * U, lat: ye * U };
|
|
7425
|
+
}, ie = (R) => {
|
|
7346
7426
|
var U, Y;
|
|
7347
|
-
C.current && ((Y = (U =
|
|
7348
|
-
}, me = (m / 2 - 6) * $.current, j = m / 2, ee = m / 2, ne = (
|
|
7349
|
-
const U = on(
|
|
7427
|
+
C.current && ((Y = (U = R.target).releasePointerCapture) == null || Y.call(U, R.pointerId), C.current = null, O(!1), V());
|
|
7428
|
+
}, me = (m / 2 - 6) * $.current, j = m / 2, ee = m / 2, ne = (R) => {
|
|
7429
|
+
const U = on(R, w.current.lng, w.current.lat);
|
|
7350
7430
|
return { x: j + me * U[0], y: ee - me * U[1], z: U[2] };
|
|
7351
7431
|
}, $e = Oe(() => {
|
|
7352
7432
|
const U = [];
|
|
7353
7433
|
for (let Y = -180; Y < 180; Y += 30) {
|
|
7354
7434
|
const ye = [];
|
|
7355
|
-
for (let G = 0; G <= 48; G++) ye.push(
|
|
7435
|
+
for (let G = 0; G <= 48; G++) ye.push(It(-90 + 180 * G / 48, Y));
|
|
7356
7436
|
U.push(ye);
|
|
7357
7437
|
}
|
|
7358
7438
|
for (let Y = -60; Y <= 60; Y += 30) {
|
|
7359
7439
|
const ye = [];
|
|
7360
|
-
for (let G = 0; G <= 48; G++) ye.push(
|
|
7440
|
+
for (let G = 0; G <= 48; G++) ye.push(It(Y, -180 + 360 * G / 48));
|
|
7361
7441
|
U.push(ye);
|
|
7362
7442
|
}
|
|
7363
7443
|
return U;
|
|
7364
7444
|
}, []), xe = Oe(
|
|
7365
|
-
() =>
|
|
7445
|
+
() => ur.map((R) => {
|
|
7366
7446
|
const U = [];
|
|
7367
|
-
for (let Y = 0; Y <
|
|
7447
|
+
for (let Y = 0; Y < R.length; Y += 2) U.push(It(R[Y + 1], R[Y]));
|
|
7368
7448
|
return U;
|
|
7369
7449
|
}),
|
|
7370
7450
|
[]
|
|
7371
|
-
), Ne = (
|
|
7451
|
+
), Ne = (R) => ({ x: j + me * R[0], y: ee - me * R[1] });
|
|
7372
7452
|
let Me = "", se = "";
|
|
7373
7453
|
if (p)
|
|
7374
|
-
for (const
|
|
7375
|
-
const U =
|
|
7454
|
+
for (const R of xe) {
|
|
7455
|
+
const U = R.map((Z) => on(Z, w.current.lng, w.current.lat)), Y = U.length;
|
|
7376
7456
|
let ye = !1;
|
|
7377
7457
|
for (const Z of U)
|
|
7378
7458
|
if (Z[2] > 0) {
|
|
@@ -7405,33 +7485,33 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7405
7485
|
Me += Z(G[G.length - 1], G[0]), Me += "Z";
|
|
7406
7486
|
}
|
|
7407
7487
|
}
|
|
7408
|
-
const ke = (
|
|
7488
|
+
const ke = (R) => {
|
|
7409
7489
|
let U = "", Y = !1;
|
|
7410
|
-
for (const ye of
|
|
7490
|
+
for (const ye of R) {
|
|
7411
7491
|
const G = ne(ye);
|
|
7412
7492
|
G.z > 0 ? (U += `${Y ? "L" : "M"}${G.x.toFixed(1)},${G.y.toFixed(1)}`, Y = !0) : Y = !1;
|
|
7413
7493
|
}
|
|
7414
7494
|
return U;
|
|
7415
|
-
}, Te = Math.max(1, ...n.map((
|
|
7416
|
-
const Y = ne(
|
|
7495
|
+
}, Te = Math.max(1, ...n.map((R) => R.value ?? 0)), de = n.map((R, U) => {
|
|
7496
|
+
const Y = ne(It(R.lat, R.lng));
|
|
7417
7497
|
return {
|
|
7418
|
-
...
|
|
7498
|
+
...R,
|
|
7419
7499
|
i: U,
|
|
7420
7500
|
p: Y,
|
|
7421
7501
|
vis: Y.z > 0,
|
|
7422
|
-
r: 3 + Math.max(0,
|
|
7423
|
-
col:
|
|
7502
|
+
r: 3 + Math.max(0, R.value ?? 0) / Te * 6,
|
|
7503
|
+
col: R.color ?? i
|
|
7424
7504
|
};
|
|
7425
|
-
}), Ee = q != null ? n[q] : null, Ue = 0.16, De = l.map((
|
|
7426
|
-
const Y =
|
|
7505
|
+
}), Ee = q != null ? n[q] : null, Ue = 0.16, De = l.map((R, U) => {
|
|
7506
|
+
const Y = It(R.from.lat, R.from.lng), ye = It(R.to.lat, R.to.lng);
|
|
7427
7507
|
let G = "", Z = !1;
|
|
7428
7508
|
for (let ve = 0; ve <= 40; ve++) {
|
|
7429
7509
|
const we = ve / 40, Be = Hl(Y, ye, we), Fe = 1 + 0.34 * Math.sin(Math.PI * we), Se = on(Be, w.current.lng, w.current.lat), Ce = ne([Be[0] * Fe, Be[1] * Fe, Be[2] * Fe]);
|
|
7430
7510
|
Se[2] > -0.05 ? (G += `${Z ? "L" : "M"}${Ce.x.toFixed(1)},${Ce.y.toFixed(1)}`, Z = !0) : Z = !1;
|
|
7431
7511
|
}
|
|
7432
|
-
const X = k.current ? 0.5 : (B.current * Ue + U * 0.27) % 1, Q = Hl(Y, ye, X), le = 1 + 0.34 * Math.sin(Math.PI * X), he = on(Q, w.current.lng, w.current.lat), fe = ne([Q[0] * le, Q[1] * le, Q[2] * le]), _e = Ee != null && (jl(
|
|
7433
|
-
return { d: G, col:
|
|
7434
|
-
}), Pe = Ee != null, Ke = d ? [...n].sort((
|
|
7512
|
+
const X = k.current ? 0.5 : (B.current * Ue + U * 0.27) % 1, Q = Hl(Y, ye, X), le = 1 + 0.34 * Math.sin(Math.PI * X), he = on(Q, w.current.lng, w.current.lat), fe = ne([Q[0] * le, Q[1] * le, Q[2] * le]), _e = Ee != null && (jl(R.from, Ee) || jl(R.to, Ee));
|
|
7513
|
+
return { d: G, col: R.color ?? i, i: U, flow: { ...fe, vis: he[2] > 0 }, active: _e };
|
|
7514
|
+
}), Pe = Ee != null, Ke = d ? [...n].sort((R, U) => (U.value ?? 0) - (R.value ?? 0)).slice(0, 6) : [];
|
|
7435
7515
|
return /* @__PURE__ */ u("div", { ref: x, ..._, className: `select-globe${v ? " " + v : ""}`, children: [
|
|
7436
7516
|
/* @__PURE__ */ u(
|
|
7437
7517
|
"div",
|
|
@@ -7442,8 +7522,8 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7442
7522
|
onPointerEnter: () => {
|
|
7443
7523
|
A.current = !0;
|
|
7444
7524
|
},
|
|
7445
|
-
onPointerLeave: (
|
|
7446
|
-
A.current = !1, ie(
|
|
7525
|
+
onPointerLeave: (R) => {
|
|
7526
|
+
A.current = !1, ie(R), H(null), S.hide(), V();
|
|
7447
7527
|
},
|
|
7448
7528
|
onPointerDown: K,
|
|
7449
7529
|
onPointerMove: te,
|
|
@@ -7506,83 +7586,83 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
|
|
|
7506
7586
|
stroke: `color-mix(in srgb, ${i} 68%, transparent)`
|
|
7507
7587
|
}
|
|
7508
7588
|
),
|
|
7509
|
-
$e.map((
|
|
7510
|
-
De.map((
|
|
7589
|
+
$e.map((R, U) => /* @__PURE__ */ e("path", { d: ke(R), className: "select-globe__grid" }, `g${U}`)),
|
|
7590
|
+
De.map((R) => /* @__PURE__ */ u(
|
|
7511
7591
|
"g",
|
|
7512
7592
|
{
|
|
7513
7593
|
className: "select-globe__arcgrp",
|
|
7514
|
-
style: { opacity: Pe && !
|
|
7594
|
+
style: { opacity: Pe && !R.active ? 0.18 : 1 },
|
|
7515
7595
|
children: [
|
|
7516
7596
|
/* @__PURE__ */ e(
|
|
7517
7597
|
"path",
|
|
7518
7598
|
{
|
|
7519
|
-
d:
|
|
7599
|
+
d: R.d,
|
|
7520
7600
|
className: "select-globe__arc",
|
|
7521
|
-
stroke:
|
|
7522
|
-
strokeWidth:
|
|
7601
|
+
stroke: R.col === i ? `url(#${M}-arc)` : R.col,
|
|
7602
|
+
strokeWidth: R.active ? 2.5 : 1.75
|
|
7523
7603
|
}
|
|
7524
7604
|
),
|
|
7525
|
-
|
|
7605
|
+
R.flow.vis && /* @__PURE__ */ e(
|
|
7526
7606
|
"circle",
|
|
7527
7607
|
{
|
|
7528
|
-
cx:
|
|
7529
|
-
cy:
|
|
7530
|
-
r:
|
|
7531
|
-
fill:
|
|
7608
|
+
cx: R.flow.x,
|
|
7609
|
+
cy: R.flow.y,
|
|
7610
|
+
r: R.active ? 3 : 2.2,
|
|
7611
|
+
fill: R.col,
|
|
7532
7612
|
className: "select-globe__flow",
|
|
7533
|
-
style: { filter: `drop-shadow(0 0 4px ${
|
|
7613
|
+
style: { filter: `drop-shadow(0 0 4px ${R.col})` }
|
|
7534
7614
|
}
|
|
7535
7615
|
)
|
|
7536
7616
|
]
|
|
7537
7617
|
},
|
|
7538
|
-
`a${
|
|
7618
|
+
`a${R.i}`
|
|
7539
7619
|
))
|
|
7540
7620
|
] }),
|
|
7541
|
-
de.filter((
|
|
7542
|
-
const U = q ===
|
|
7621
|
+
de.filter((R) => R.vis).map((R) => {
|
|
7622
|
+
const U = q === R.i;
|
|
7543
7623
|
return /* @__PURE__ */ u("g", { style: { opacity: Pe && !U ? 0.45 : 1 }, children: [
|
|
7544
|
-
/* @__PURE__ */ e("circle", { cx:
|
|
7545
|
-
U && /* @__PURE__ */ e("circle", { cx:
|
|
7624
|
+
/* @__PURE__ */ e("circle", { cx: R.p.x, cy: R.p.y, r: R.r, fill: R.col, className: "select-globe__pulse" }),
|
|
7625
|
+
U && /* @__PURE__ */ e("circle", { cx: R.p.x, cy: R.p.y, r: R.r + 4, fill: "none", stroke: R.col, strokeWidth: 1.5, opacity: 0.6 }),
|
|
7546
7626
|
/* @__PURE__ */ e(
|
|
7547
7627
|
"circle",
|
|
7548
7628
|
{
|
|
7549
|
-
cx:
|
|
7550
|
-
cy:
|
|
7551
|
-
r: U ?
|
|
7552
|
-
fill:
|
|
7629
|
+
cx: R.p.x,
|
|
7630
|
+
cy: R.p.y,
|
|
7631
|
+
r: U ? R.r + 1.5 : R.r,
|
|
7632
|
+
fill: R.col,
|
|
7553
7633
|
className: "select-globe__point",
|
|
7554
7634
|
onPointerEnter: () => {
|
|
7555
|
-
H(
|
|
7556
|
-
x:
|
|
7557
|
-
y:
|
|
7558
|
-
place:
|
|
7559
|
-
title:
|
|
7560
|
-
rows:
|
|
7635
|
+
H(R.i), S.show({
|
|
7636
|
+
x: R.p.x,
|
|
7637
|
+
y: R.p.y - R.r - 4,
|
|
7638
|
+
place: R.p.y < ee ? "bottom" : "top",
|
|
7639
|
+
title: R.label,
|
|
7640
|
+
rows: R.value != null ? [{ label: "Volume", value: o(R.value), color: R.col }] : []
|
|
7561
7641
|
});
|
|
7562
7642
|
},
|
|
7563
7643
|
onPointerLeave: () => {
|
|
7564
7644
|
H(null), S.hide();
|
|
7565
7645
|
},
|
|
7566
7646
|
onClick: () => {
|
|
7567
|
-
g.current = { lng: -
|
|
7647
|
+
g.current = { lng: -R.lng, lat: s }, V();
|
|
7568
7648
|
}
|
|
7569
7649
|
}
|
|
7570
7650
|
)
|
|
7571
|
-
] }, `m${
|
|
7651
|
+
] }, `m${R.i}`);
|
|
7572
7652
|
})
|
|
7573
7653
|
] }),
|
|
7574
7654
|
/* @__PURE__ */ e(re, { tip: S.tip })
|
|
7575
7655
|
]
|
|
7576
7656
|
}
|
|
7577
7657
|
),
|
|
7578
|
-
Ke.length > 0 && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: Ke.map((
|
|
7579
|
-
/* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background:
|
|
7580
|
-
/* @__PURE__ */ e("span", { className: "select-donut__leglabel", children:
|
|
7581
|
-
|
|
7658
|
+
Ke.length > 0 && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: Ke.map((R, U) => /* @__PURE__ */ u("li", { className: "select-donut__legitem", children: [
|
|
7659
|
+
/* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background: R.color ?? i } }),
|
|
7660
|
+
/* @__PURE__ */ e("span", { className: "select-donut__leglabel", children: R.label }),
|
|
7661
|
+
R.value != null && /* @__PURE__ */ e("span", { className: "select-donut__legval", children: o(R.value) })
|
|
7582
7662
|
] }, U)) })
|
|
7583
7663
|
] });
|
|
7584
7664
|
});
|
|
7585
|
-
function
|
|
7665
|
+
function Ni({ children: t, speed: n = 28, className: l, ...c }) {
|
|
7586
7666
|
const s = J(null), a = J(null), r = J(null), i = gn(s, 0), o = gn(r, 0), d = i > 0 && o > i + 1, p = J(0), h = J(null), f = J(!1);
|
|
7587
7667
|
pe(() => {
|
|
7588
7668
|
var k;
|
|
@@ -7630,7 +7710,7 @@ function gi({ children: t, speed: n = 28, className: l, ...c }) {
|
|
|
7630
7710
|
}
|
|
7631
7711
|
);
|
|
7632
7712
|
}
|
|
7633
|
-
function
|
|
7713
|
+
function Mi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
7634
7714
|
var L;
|
|
7635
7715
|
const { ref: a, width: r } = be(n), i = ae(), o = ge(), [d, p] = D(null), h = { ...lt, right: 44 }, f = [...t].sort((E, F) => F.value - E.value), v = f.length, _ = f.reduce((E, F) => E + F.value, 0) || 1;
|
|
7636
7716
|
let x = 0;
|
|
@@ -7697,7 +7777,7 @@ function bi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
|
7697
7777
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
7698
7778
|
] });
|
|
7699
7779
|
}
|
|
7700
|
-
const
|
|
7780
|
+
const wi = I(function({ segments: n, cols: l = 10, rows: c = 10, format: s = ce, className: a, ...r }, i) {
|
|
7701
7781
|
const o = n.reduce((x, M) => x + M.value, 0) || 1, d = l * c, p = n.map((x) => x.value / o * d), h = p.map(Math.floor);
|
|
7702
7782
|
let f = h.reduce((x, M) => x + M, 0);
|
|
7703
7783
|
const v = p.map((x, M) => ({ i: M, frac: x - h[M] })).sort((x, M) => M.frac - x.frac);
|
|
@@ -7716,7 +7796,7 @@ const xi = R(function({ segments: n, cols: l = 10, rows: c = 10, format: s = ce,
|
|
|
7716
7796
|
] }, M)) })
|
|
7717
7797
|
] });
|
|
7718
7798
|
});
|
|
7719
|
-
function
|
|
7799
|
+
function ki({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", height: c, format: s = ce, leftColor: a, rightColor: r, centerWidth: i = 84, className: o, ...d }) {
|
|
7720
7800
|
const p = c ?? Math.max(180, t.length * 40 + 36), { ref: h, width: f } = be(p), v = ae(), [_, x] = D(null), M = 8, S = 26, b = 8, m = Math.max(1, ...t.flatMap((A) => [A.left, A.right])), N = Math.max(0, (f - i - M * 2) / 2), k = t.length ? (p - S - b) / t.length : 0, w = Math.min(k * 0.6, 26), y = M + N, $ = M + N + i, g = a ?? z(1), C = r ?? z(0);
|
|
7721
7801
|
return /* @__PURE__ */ u("div", { ...d, className: `select-chart-wrap${o ? " " + o : ""}`, ref: h, children: [
|
|
7722
7802
|
f > 0 && /* @__PURE__ */ u("svg", { width: f, height: p, className: "select-chart", onMouseLeave: () => {
|
|
@@ -7770,7 +7850,7 @@ function yi({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", hei
|
|
|
7770
7850
|
/* @__PURE__ */ e(re, { tip: v.tip })
|
|
7771
7851
|
] });
|
|
7772
7852
|
}
|
|
7773
|
-
function
|
|
7853
|
+
function $i({ series: t, labels: n, height: l = 240, format: c = ce, className: s, ...a }) {
|
|
7774
7854
|
const { ref: r, width: i } = be(l), o = ae(), [d, p] = D(null), h = { top: 16, right: 78, bottom: 28, left: 28 }, f = n.length, v = t.length, _ = Math.max(0, i - h.left - h.right), x = l - h.top - h.bottom, M = t.map(() => new Array(f).fill(0));
|
|
7775
7855
|
for (let m = 0; m < f; m++)
|
|
7776
7856
|
t.map((k, w) => ({ si: w, v: k.data[m] ?? 0 })).sort((k, w) => w.v - k.v).forEach((k, w) => {
|
|
@@ -7818,7 +7898,7 @@ function Ni({ series: t, labels: n, height: l = 240, format: c = ce, className:
|
|
|
7818
7898
|
/* @__PURE__ */ e(re, { tip: o.tip })
|
|
7819
7899
|
] });
|
|
7820
7900
|
}
|
|
7821
|
-
function
|
|
7901
|
+
function Si({ axes: t, data: n, height: l = 260, format: c = ce, className: s, ...a }) {
|
|
7822
7902
|
const { ref: r, width: i } = be(l), o = ae(), [d, p] = D(null), h = { top: 30, right: 28, bottom: 26, left: 28 }, f = Math.max(0, i - h.left - h.right), v = l - h.top - h.bottom, _ = t.length, x = (b) => h.left + (_ <= 1 ? f / 2 : f / (_ - 1) * b), M = t.map((b) => {
|
|
7823
7903
|
const m = n.map((N) => N.values[b.key] ?? 0);
|
|
7824
7904
|
return { min: Math.min(...m), max: Math.max(...m) };
|
|
@@ -7875,7 +7955,7 @@ function pn(t) {
|
|
|
7875
7955
|
function Ic(t, n = 0) {
|
|
7876
7956
|
return !t.children || !t.children.length ? n : Math.max(...t.children.map((l) => Ic(l, n + 1)));
|
|
7877
7957
|
}
|
|
7878
|
-
function
|
|
7958
|
+
function Ci({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
7879
7959
|
const { ref: a, width: r } = be(n), i = ae(), [o, d] = D(null), p = Ic(t), h = n / (p + 1), f = [], v = (_, x, M, S, b) => {
|
|
7880
7960
|
if (f.push({ node: _, x0: x, x1: M, depth: S, color: _.color ?? z(b), value: pn(_) }), _.children && _.children.length) {
|
|
7881
7961
|
const m = _.children.reduce((k, w) => k + pn(w), 0) || 1;
|
|
@@ -7919,7 +7999,7 @@ function wi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
|
|
|
7919
7999
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
7920
8000
|
] });
|
|
7921
8001
|
}
|
|
7922
|
-
function
|
|
8002
|
+
function Li({ data: t, height: n = 260, className: l, ...c }) {
|
|
7923
8003
|
const { ref: s, width: a } = be(n), r = ae(), [i, o] = D(null), d = { top: 14, right: 96, bottom: 14, left: 16 };
|
|
7924
8004
|
let p = null;
|
|
7925
8005
|
if (a > 0) {
|
|
@@ -7989,7 +8069,7 @@ function ki({ data: t, height: n = 260, className: l, ...c }) {
|
|
|
7989
8069
|
/* @__PURE__ */ e(re, { tip: r.tip })
|
|
7990
8070
|
] });
|
|
7991
8071
|
}
|
|
7992
|
-
const
|
|
8072
|
+
const Ai = I(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
7993
8073
|
const r = Math.min(3, n.length), i = l / 2, o = l / 2, d = Math.max(1, ...n.slice(0, r).map((v) => v.size)), p = l * 0.26, h = (v) => p * 0.45 + p * 0.55 * Math.sqrt(v.size / d), f = r <= 2 ? [
|
|
7994
8074
|
[i - p * 0.42, o],
|
|
7995
8075
|
[i + p * 0.42, o]
|
|
@@ -8037,7 +8117,7 @@ const $i = R(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
|
8037
8117
|
/* @__PURE__ */ e("span", { className: "select-donut__legval", children: v.size.toLocaleString("pt-BR") })
|
|
8038
8118
|
] }, _)) })
|
|
8039
8119
|
] });
|
|
8040
|
-
}),
|
|
8120
|
+
}), Ei = I(function({ data: n, size: l = 260, format: c = ce, className: s, ...a }, r) {
|
|
8041
8121
|
const i = ae(), [o, d] = D(null), p = Math.max(1, ...n.map((g) => g.value)), h = n.map((g, C) => ({ d: g, i: C, r: 8 + Math.sqrt(g.value / p) * 40 })).sort((g, C) => C.r - g.r), f = [];
|
|
8042
8122
|
for (const g of h) {
|
|
8043
8123
|
if (f.length === 0) {
|
|
@@ -8093,7 +8173,7 @@ const $i = R(function({ sets: n, size: l = 240, className: c, ...s }, a) {
|
|
|
8093
8173
|
/* @__PURE__ */ e(re, { tip: i.tip })
|
|
8094
8174
|
] });
|
|
8095
8175
|
});
|
|
8096
|
-
function
|
|
8176
|
+
function Bi({ nodes: t, links: n, height: l = 300, format: c = ce, className: s, ...a }) {
|
|
8097
8177
|
const { ref: r, width: i } = be(l), o = ae(), [d, p] = D(null), h = Oe(() => {
|
|
8098
8178
|
const _ = i || l, x = l, M = t.length, S = /* @__PURE__ */ new Map();
|
|
8099
8179
|
if (!M) return S;
|
|
@@ -8183,11 +8263,11 @@ const Rn = [
|
|
|
8183
8263
|
{ value: "dark", label: "Escuro", icon: /* @__PURE__ */ e(rs, {}) },
|
|
8184
8264
|
{ value: "system", label: "Sistema", icon: /* @__PURE__ */ e(Yl, {}) }
|
|
8185
8265
|
];
|
|
8186
|
-
function
|
|
8266
|
+
function Fi(t) {
|
|
8187
8267
|
var n;
|
|
8188
8268
|
return t === "system" ? (n = window.matchMedia) != null && n.call(window, "(prefers-color-scheme: dark)").matches ? "dark" : "light" : t;
|
|
8189
8269
|
}
|
|
8190
|
-
function
|
|
8270
|
+
function Ii({ value: t, onChange: n, className: l, ...c }) {
|
|
8191
8271
|
const [s, a] = D(!1), r = J(null), i = Rn.find((o) => o.value === t) ?? Rn[2];
|
|
8192
8272
|
return pe(() => {
|
|
8193
8273
|
if (!s) return;
|
|
@@ -8216,7 +8296,7 @@ function Ai({ value: t, onChange: n, className: l, ...c }) {
|
|
|
8216
8296
|
] });
|
|
8217
8297
|
}
|
|
8218
8298
|
const Rc = Gn(!1);
|
|
8219
|
-
function
|
|
8299
|
+
function Ri({
|
|
8220
8300
|
children: t,
|
|
8221
8301
|
stacked: n = !1,
|
|
8222
8302
|
loading: l = !1
|
|
@@ -8224,14 +8304,14 @@ function Ei({
|
|
|
8224
8304
|
const c = wn({ selector: ".select-detail", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
|
|
8225
8305
|
return /* @__PURE__ */ e(Rc.Provider, { value: l, children: /* @__PURE__ */ e("div", { className: `select-detaillist${n ? " select-detaillist--stacked" : ""}`, ref: c, children: t }) });
|
|
8226
8306
|
}
|
|
8227
|
-
const
|
|
8307
|
+
const Ti = I(function({ label: n, children: l, action: c, align: s = "center", loading: a, className: r, ...i }, o) {
|
|
8228
8308
|
const d = Vn(Rc), p = a ?? d;
|
|
8229
8309
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-detail select-detail--${s}${r ? " " + r : ""}`, children: [
|
|
8230
8310
|
/* @__PURE__ */ e("div", { className: "select-detail__label", children: n }),
|
|
8231
8311
|
/* @__PURE__ */ e("div", { className: "select-detail__value", children: p ? /* @__PURE__ */ e("span", { className: "select-skeleton select-detail__skel" }) : l }),
|
|
8232
8312
|
c && /* @__PURE__ */ e("div", { className: "select-detail__action", children: c })
|
|
8233
8313
|
] });
|
|
8234
|
-
}),
|
|
8314
|
+
}), Pi = I(function({ steps: n, current: l, onSelect: c, orientation: s = "horizontal", className: a, ...r }, i) {
|
|
8235
8315
|
const o = s === "vertical";
|
|
8236
8316
|
return /* @__PURE__ */ e(
|
|
8237
8317
|
"ol",
|
|
@@ -8251,7 +8331,7 @@ const Bi = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
8251
8331
|
})
|
|
8252
8332
|
}
|
|
8253
8333
|
);
|
|
8254
|
-
}),
|
|
8334
|
+
}), Di = I(function({ name: n, price: l, priceSuffix: c, headerAction: s, summary: a, cta: r, featuresTitle: i, features: o, featured: d = !1, className: p, ...h }, f) {
|
|
8255
8335
|
return /* @__PURE__ */ u("div", { ref: f, ...h, className: `select-plan${d ? " select-plan--featured" : ""}${p ? " " + p : ""}`, children: [
|
|
8256
8336
|
/* @__PURE__ */ u("div", { className: "select-plan__top", children: [
|
|
8257
8337
|
/* @__PURE__ */ u("div", { className: "select-plan__head", children: [
|
|
@@ -8273,7 +8353,7 @@ const Bi = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
8273
8353
|
] }, _)) })
|
|
8274
8354
|
] })
|
|
8275
8355
|
] });
|
|
8276
|
-
}),
|
|
8356
|
+
}), Wi = I(function({ title: n, description: l, headerAction: c, footer: s, children: a, className: r, ...i }, o) {
|
|
8277
8357
|
return /* @__PURE__ */ u("div", { ref: o, ...i, className: `select-listcard${r ? " " + r : ""}`, children: [
|
|
8278
8358
|
(n || c) && /* @__PURE__ */ u("div", { className: "select-listcard__head", children: [
|
|
8279
8359
|
/* @__PURE__ */ u("div", { className: "select-listcard__heading", children: [
|
|
@@ -8286,7 +8366,7 @@ const Bi = R(function({ label: n, children: l, action: c, align: s = "center", l
|
|
|
8286
8366
|
s && /* @__PURE__ */ e("div", { className: "select-listcard__footer", children: s })
|
|
8287
8367
|
] });
|
|
8288
8368
|
});
|
|
8289
|
-
function
|
|
8369
|
+
function Oi({
|
|
8290
8370
|
media: t,
|
|
8291
8371
|
title: n,
|
|
8292
8372
|
secondary: l,
|
|
@@ -8304,7 +8384,7 @@ function Ti({
|
|
|
8304
8384
|
] }), i = `select-listrow${s ? " select-listrow--muted" : ""}`;
|
|
8305
8385
|
return a ? /* @__PURE__ */ e("button", { type: "button", className: `${i} select-listrow--clickable`, onClick: a, children: r }) : /* @__PURE__ */ e("div", { className: i, children: r });
|
|
8306
8386
|
}
|
|
8307
|
-
const Zl =
|
|
8387
|
+
const Zl = I(function({ src: n, alt: l = "", size: c = 40, className: s, ...a }, r) {
|
|
8308
8388
|
const [i, o] = D(!1);
|
|
8309
8389
|
return pe(() => o(!1), [n]), /* @__PURE__ */ e("span", { ref: r, ...a, className: `select-thumb${s ? " " + s : ""}`, style: { width: c, height: c }, children: n && !i ? /* @__PURE__ */ e(
|
|
8310
8390
|
"img",
|
|
@@ -8317,7 +8397,7 @@ const Zl = R(function({ src: n, alt: l = "", size: c = 40, className: s, ...a },
|
|
|
8317
8397
|
}
|
|
8318
8398
|
) : /* @__PURE__ */ e("span", { className: "select-thumb__ph", "aria-hidden": "true", children: /* @__PURE__ */ e(ss, {}) }) });
|
|
8319
8399
|
});
|
|
8320
|
-
function
|
|
8400
|
+
function pr({
|
|
8321
8401
|
open: t,
|
|
8322
8402
|
onClose: n,
|
|
8323
8403
|
src: l,
|
|
@@ -8326,7 +8406,7 @@ function hr({
|
|
|
8326
8406
|
}) {
|
|
8327
8407
|
return /* @__PURE__ */ e($n, { open: t, onClose: n, title: s, size: "lg", theme: Qt(), children: /* @__PURE__ */ e("div", { className: "select-imagezoom", children: /* @__PURE__ */ e("img", { src: l, alt: c ?? s ?? "", className: "select-imagezoom__img" }) }) });
|
|
8328
8408
|
}
|
|
8329
|
-
function
|
|
8409
|
+
function Hi({
|
|
8330
8410
|
src: t,
|
|
8331
8411
|
alt: n = "",
|
|
8332
8412
|
size: l = 40,
|
|
@@ -8346,10 +8426,10 @@ function Pi({
|
|
|
8346
8426
|
children: /* @__PURE__ */ e(Zl, { src: t, size: l, alt: n })
|
|
8347
8427
|
}
|
|
8348
8428
|
),
|
|
8349
|
-
s && /* @__PURE__ */ e(
|
|
8429
|
+
s && /* @__PURE__ */ e(pr, { open: !0, onClose: () => a(!1), src: t, alt: n, title: c ?? n })
|
|
8350
8430
|
] }) : /* @__PURE__ */ e(Zl, { size: l, alt: n });
|
|
8351
8431
|
}
|
|
8352
|
-
const
|
|
8432
|
+
const ji = I(function({ media: n, title: l, secondary: c, className: s, ...a }, r) {
|
|
8353
8433
|
return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-mediacell${s ? " " + s : ""}`, children: [
|
|
8354
8434
|
n && /* @__PURE__ */ e("span", { className: "select-mediacell__media", children: n }),
|
|
8355
8435
|
/* @__PURE__ */ u("span", { className: "select-mediacell__text", children: [
|
|
@@ -8358,7 +8438,7 @@ const Di = R(function({ media: n, title: l, secondary: c, className: s, ...a },
|
|
|
8358
8438
|
] })
|
|
8359
8439
|
] });
|
|
8360
8440
|
});
|
|
8361
|
-
function
|
|
8441
|
+
function Zi() {
|
|
8362
8442
|
const [t, n] = D(
|
|
8363
8443
|
() => typeof navigator < "u" && navigator.onLine === !1
|
|
8364
8444
|
);
|
|
@@ -8378,11 +8458,11 @@ function Wi() {
|
|
|
8378
8458
|
theme: Qt(),
|
|
8379
8459
|
title: "Sem conexão",
|
|
8380
8460
|
subtitle: "Você está offline. Assim que a conexão voltar, reconectaremos automaticamente.",
|
|
8381
|
-
children: /* @__PURE__ */ e(
|
|
8461
|
+
children: /* @__PURE__ */ e(Pt, { tone: "warning", children: "Algumas ações ficam indisponíveis até a internet voltar." })
|
|
8382
8462
|
}
|
|
8383
8463
|
);
|
|
8384
8464
|
}
|
|
8385
|
-
function
|
|
8465
|
+
function mr(t) {
|
|
8386
8466
|
return Array.isArray(t) ? t.filter((n) => n != null && typeof n == "object").map((n) => ({
|
|
8387
8467
|
name: String(n.name ?? n.key ?? ""),
|
|
8388
8468
|
value: n.value == null ? "" : String(n.value)
|
|
@@ -8391,8 +8471,8 @@ function ur(t) {
|
|
|
8391
8471
|
value: l == null ? "" : String(l)
|
|
8392
8472
|
})) : [];
|
|
8393
8473
|
}
|
|
8394
|
-
const
|
|
8395
|
-
const f =
|
|
8474
|
+
const Vi = I(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valuePlaceholder: s = "Valor", keyOptions: a, addLabel: r = "Adicionar", max: i, helpText: o = "Linhas vazias serão ignoradas.", className: d, ...p }, h) {
|
|
8475
|
+
const f = mr(n), v = (S, b) => l(f.map((m, N) => N === S ? { ...m, ...b } : m)), _ = (S) => l(f.filter((b, m) => m !== S)), x = () => l([...f, { name: "", value: "" }]), M = i == null || f.length < i;
|
|
8396
8476
|
return /* @__PURE__ */ u("div", { ref: h, ...p, className: `select-kv${d ? " " + d : ""}`, children: [
|
|
8397
8477
|
f.map((S, b) => /* @__PURE__ */ u("div", { className: "select-kv__row", children: [
|
|
8398
8478
|
/* @__PURE__ */ e("div", { className: "select-kv__field", children: a ? /* @__PURE__ */ e(
|
|
@@ -8431,7 +8511,7 @@ const Oi = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8431
8511
|
] }) }),
|
|
8432
8512
|
o && /* @__PURE__ */ e("p", { className: "select-kv__hint", children: o })
|
|
8433
8513
|
] });
|
|
8434
|
-
}), Vl = (t) => String(t).padStart(2, "0"),
|
|
8514
|
+
}), Vl = (t) => String(t).padStart(2, "0"), fr = {
|
|
8435
8515
|
"en-US": {
|
|
8436
8516
|
weekdays: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
|
|
8437
8517
|
months: [
|
|
@@ -8479,7 +8559,7 @@ const Oi = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8479
8559
|
}, ot = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), dn = (t) => new Date(t.getFullYear(), t.getMonth(), 1), xn = (t, n) => new Date(t.getFullYear(), t.getMonth(), t.getDate() + n), Gl = (t, n) => new Date(t.getFullYear(), t.getMonth() + n, 1), hn = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), un = (t) => {
|
|
8480
8560
|
const n = /* @__PURE__ */ new Date();
|
|
8481
8561
|
return { from: new Date(n.getTime() - t * 6e4), to: n };
|
|
8482
|
-
},
|
|
8562
|
+
}, _r = [
|
|
8483
8563
|
{ id: "15m", label: "Last 15 minutes", range: () => un(15) },
|
|
8484
8564
|
{ id: "1h", label: "Last 1 hour", range: () => un(60) },
|
|
8485
8565
|
{ id: "3h", label: "Last 3 hours", range: () => un(180) },
|
|
@@ -8490,12 +8570,12 @@ const Oi = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8490
8570
|
], Mt = (t) => {
|
|
8491
8571
|
const n = ot(/* @__PURE__ */ new Date());
|
|
8492
8572
|
return { from: xn(n, -t), to: n };
|
|
8493
|
-
},
|
|
8573
|
+
}, vr = (t) => {
|
|
8494
8574
|
const n = xn(ot(/* @__PURE__ */ new Date()), -1);
|
|
8495
8575
|
return { from: n, to: n };
|
|
8496
|
-
},
|
|
8576
|
+
}, gr = [
|
|
8497
8577
|
{ id: "today", label: "Hoje", range: () => Mt(0) },
|
|
8498
|
-
{ id: "yesterday", label: "Ontem", range: () =>
|
|
8578
|
+
{ id: "yesterday", label: "Ontem", range: () => vr() },
|
|
8499
8579
|
{ id: "7d", label: "Últimos 7 dias", range: () => Mt(6) },
|
|
8500
8580
|
{ id: "10d", label: "Últimos 10 dias", range: () => Mt(9) },
|
|
8501
8581
|
{ id: "15d", label: "Últimos 15 dias", range: () => Mt(14) },
|
|
@@ -8503,14 +8583,14 @@ const Oi = R(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
|
|
|
8503
8583
|
{ id: "30d", label: "Últimos 30 dias", range: () => Mt(29) },
|
|
8504
8584
|
{ id: "90d", label: "Últimos 90 dias", range: () => Mt(89) }
|
|
8505
8585
|
];
|
|
8506
|
-
function
|
|
8586
|
+
function br(t) {
|
|
8507
8587
|
if (!t) return "—";
|
|
8508
8588
|
let n = t.getHours();
|
|
8509
8589
|
const l = n < 12 ? "AM" : "PM";
|
|
8510
8590
|
return n = n % 12 || 12, `${n} : ${String(t.getMinutes()).padStart(2, "0")} ${l}`;
|
|
8511
8591
|
}
|
|
8512
|
-
const
|
|
8513
|
-
const v =
|
|
8592
|
+
const xr = I(function({ value: n, presets: l = _r, onApply: c, onCancel: s, accentVar: a, locale: r = "en-US", showTime: i = !0, maxDate: o, embedded: d = !1, className: p, ...h }, f) {
|
|
8593
|
+
const v = fr[r], _ = ot(/* @__PURE__ */ new Date()), x = o ? ot(o) : null, [M, S] = D(n ?? { from: _, to: _ }), [b, m] = D(dn((n == null ? void 0 : n.from) ?? /* @__PURE__ */ new Date())), [N, k] = D(null), w = xn(dn(b), -dn(b).getDay()), y = Array.from({ length: 42 }, (L, E) => xn(w, E)), $ = (L) => x ? ot(L) > x : !1, g = (L) => L ? v.formatDate(L) : /* @__PURE__ */ e("span", { className: "select-datepicker__placeholder", children: "— / — / ——" }), C = (L) => {
|
|
8514
8594
|
$(L) || (k(null), S((E) => !E.from || E.from && E.to ? { from: L, to: null } : L < ot(E.from) ? { from: L, to: null } : { from: E.from, to: L }));
|
|
8515
8595
|
}, A = (L) => {
|
|
8516
8596
|
if (L.disabled || !L.range) return;
|
|
@@ -8541,7 +8621,7 @@ const gr = R(function({ value: n, presets: l = mr, onApply: c, onCancel: s, acce
|
|
|
8541
8621
|
/* @__PURE__ */ e("div", { className: "select-datepicker__fields", children: ["from", "to"].map((L) => /* @__PURE__ */ u("div", { className: "select-datepicker__fieldrow", children: [
|
|
8542
8622
|
/* @__PURE__ */ e("span", { className: "select-datepicker__fieldlabel", children: L === "from" ? v.from : v.to }),
|
|
8543
8623
|
/* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--date", children: g(M[L]) }),
|
|
8544
|
-
i && /* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--time", children:
|
|
8624
|
+
i && /* @__PURE__ */ e("span", { className: "select-datepicker__pill select-datepicker__pill--time", children: br(M[L]) })
|
|
8545
8625
|
] }, L)) }),
|
|
8546
8626
|
/* @__PURE__ */ u("div", { className: "select-datepicker__calhead", children: [
|
|
8547
8627
|
/* @__PURE__ */ e(
|
|
@@ -8584,7 +8664,7 @@ const gr = R(function({ value: n, presets: l = mr, onApply: c, onCancel: s, acce
|
|
|
8584
8664
|
] })
|
|
8585
8665
|
] }) });
|
|
8586
8666
|
}), Tn = (t) => new Date(t.getFullYear(), t.getMonth(), t.getDate()), Pn = (t, n) => t.getFullYear() === n.getFullYear() && t.getMonth() === n.getMonth() && t.getDate() === n.getDate(), Dn = (t) => `${String(t.getDate()).padStart(2, "0")}/${String(t.getMonth() + 1).padStart(2, "0")}/${t.getFullYear()}`;
|
|
8587
|
-
function
|
|
8667
|
+
function yr(t, n) {
|
|
8588
8668
|
var l;
|
|
8589
8669
|
for (const c of n) {
|
|
8590
8670
|
const s = (l = c.range) == null ? void 0 : l.call(c);
|
|
@@ -8592,10 +8672,10 @@ function br(t, n) {
|
|
|
8592
8672
|
}
|
|
8593
8673
|
return Pn(t.start, t.end) ? Dn(t.start) : `${Dn(t.start)} – ${Dn(t.end)}`;
|
|
8594
8674
|
}
|
|
8595
|
-
function
|
|
8675
|
+
function Gi({
|
|
8596
8676
|
value: t,
|
|
8597
8677
|
onChange: n,
|
|
8598
|
-
presets: l =
|
|
8678
|
+
presets: l = gr,
|
|
8599
8679
|
maxDate: c,
|
|
8600
8680
|
placement: s = "bottom-end",
|
|
8601
8681
|
size: a = "md",
|
|
@@ -8620,11 +8700,11 @@ function Hi({
|
|
|
8620
8700
|
icon: /* @__PURE__ */ e(ec, {}),
|
|
8621
8701
|
trailingIcon: /* @__PURE__ */ e(je, {}),
|
|
8622
8702
|
onClick: () => d((h) => !h),
|
|
8623
|
-
children:
|
|
8703
|
+
children: yr(t, l)
|
|
8624
8704
|
}
|
|
8625
8705
|
),
|
|
8626
8706
|
children: /* @__PURE__ */ e(
|
|
8627
|
-
|
|
8707
|
+
xr,
|
|
8628
8708
|
{
|
|
8629
8709
|
embedded: !0,
|
|
8630
8710
|
locale: "pt-BR",
|
|
@@ -8641,35 +8721,7 @@ function Hi({
|
|
|
8641
8721
|
}
|
|
8642
8722
|
);
|
|
8643
8723
|
}
|
|
8644
|
-
|
|
8645
|
-
return /* @__PURE__ */ e("svg", { width: t, height: t, viewBox: "0 0 24 24", "aria-hidden": "true", children: /* @__PURE__ */ e(
|
|
8646
|
-
"path",
|
|
8647
|
-
{
|
|
8648
|
-
fill: "currentColor",
|
|
8649
|
-
d: "M12 .587l3.668 7.431 8.2 1.193-5.934 5.787 1.401 8.169L12 18.896l-7.335 3.871 1.401-8.169L.132 9.211l8.2-1.193z"
|
|
8650
|
-
}
|
|
8651
|
-
) });
|
|
8652
|
-
}
|
|
8653
|
-
const ji = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label: a, disabled: r = !1, className: i, ...o }, d) {
|
|
8654
|
-
const p = !!c && !r, [h, f] = D(null), v = h ?? n;
|
|
8655
|
-
return /* @__PURE__ */ e("div", { ref: d, ...o, className: `select-rating${p ? " select-rating--interactive" : ""}${i ? " " + i : ""}`, role: p ? "slider" : "img", "aria-label": a ?? `Avaliação ${n} de ${l}`, "aria-valuenow": p ? n : void 0, "aria-valuemin": p ? 0 : void 0, "aria-valuemax": p ? l : void 0, onMouseLeave: () => p && f(null), children: Array.from({ length: l }, (_, x) => {
|
|
8656
|
-
const M = x < v, S = /* @__PURE__ */ e("span", { className: `select-rating__star${M ? " is-filled" : ""}`, children: /* @__PURE__ */ e(xr, { size: s }) });
|
|
8657
|
-
return p ? /* @__PURE__ */ e(
|
|
8658
|
-
"button",
|
|
8659
|
-
{
|
|
8660
|
-
type: "button",
|
|
8661
|
-
className: "select-rating__btn",
|
|
8662
|
-
"aria-label": `${x + 1} ${x + 1 === 1 ? "estrela" : "estrelas"}`,
|
|
8663
|
-
onMouseEnter: () => f(x + 1),
|
|
8664
|
-
onFocus: () => f(x + 1),
|
|
8665
|
-
onBlur: () => f(null),
|
|
8666
|
-
onClick: () => c == null ? void 0 : c(x + 1),
|
|
8667
|
-
children: S
|
|
8668
|
-
},
|
|
8669
|
-
x
|
|
8670
|
-
) : /* @__PURE__ */ e("span", { children: S }, x);
|
|
8671
|
-
}) });
|
|
8672
|
-
}), Zi = R(function({ label: n, value: l, onChange: c, min: s, max: a, step: r = 1, decimal: i = !1, disabled: o = !1, hint: d, error: p, onBlur: h, placeholder: f, size: v = "md", className: _, ...x }, M) {
|
|
8724
|
+
const Ui = I(function({ label: n, value: l, onChange: c, min: s, max: a, step: r = 1, decimal: i = !1, disabled: o = !1, hint: d, error: p, onBlur: h, placeholder: f, size: v = "md", className: _, ...x }, M) {
|
|
8673
8725
|
const S = ge(), b = (E) => Math.min(a ?? 1 / 0, Math.max(s ?? -1 / 0, E)), m = (E) => Math.round(E * 1e6) / 1e6, N = l ?? 0, k = s != null && N <= s, w = a != null && N >= a, [y, $] = D(!1), [g, C] = D(""), A = i && y ? g : l == null ? "" : String(l), B = (E) => {
|
|
8674
8726
|
const F = i ? E.replace(/[^\d.,-]/g, "").replace(",", ".") : E.replace(/[^\d-]/g, "");
|
|
8675
8727
|
if (i && C(F), F === "" || F === "-" || F === ".") return c(null);
|
|
@@ -8680,7 +8732,7 @@ const ji = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
8680
8732
|
i && C(String(F)), c(F);
|
|
8681
8733
|
};
|
|
8682
8734
|
return /* @__PURE__ */ u("div", { ref: M, ...x, className: `select-field${v === "sm" ? " select-field--sm" : ""}${_ ? " " + _ : ""}`, children: [
|
|
8683
|
-
n && /* @__PURE__ */ e(
|
|
8735
|
+
n && /* @__PURE__ */ e(Tt, { htmlFor: S, label: n }),
|
|
8684
8736
|
/* @__PURE__ */ u("div", { className: "select-numfield", children: [
|
|
8685
8737
|
/* @__PURE__ */ e(
|
|
8686
8738
|
He,
|
|
@@ -8719,7 +8771,7 @@ const ji = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
8719
8771
|
{
|
|
8720
8772
|
variant: "outline",
|
|
8721
8773
|
size: v,
|
|
8722
|
-
icon: /* @__PURE__ */ e(
|
|
8774
|
+
icon: /* @__PURE__ */ e(Ct, {}),
|
|
8723
8775
|
label: "Aumentar",
|
|
8724
8776
|
disabled: o || w,
|
|
8725
8777
|
onClick: () => L(r)
|
|
@@ -8729,7 +8781,7 @@ const ji = R(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
|
|
|
8729
8781
|
p ? /* @__PURE__ */ e("p", { className: "select-field__error", children: p }) : d ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: d }) : null
|
|
8730
8782
|
] });
|
|
8731
8783
|
});
|
|
8732
|
-
function
|
|
8784
|
+
function zi({
|
|
8733
8785
|
items: t,
|
|
8734
8786
|
onChange: n,
|
|
8735
8787
|
renderRow: l,
|
|
@@ -8765,9 +8817,9 @@ function Vi({
|
|
|
8765
8817
|
t.map((m, N) => {
|
|
8766
8818
|
const k = b(m, N);
|
|
8767
8819
|
return p === "bare" ? /* @__PURE__ */ e("div", { children: l(m, k) }, N) : /* @__PURE__ */ e(Os, { background: "surface", border: !0, borderRadius: "base", padding: "300", children: /* @__PURE__ */ u(Wn, { gap: "200", children: [
|
|
8768
|
-
/* @__PURE__ */ u(
|
|
8820
|
+
/* @__PURE__ */ u(qt, { align: "space-between", blockAlign: "center", gap: "200", children: [
|
|
8769
8821
|
/* @__PURE__ */ e(kt, { as: "span", variant: "bodySm", fontWeight: "medium", tone: "subdued", children: a ? a(N, m) : `#${N + 1}` }),
|
|
8770
|
-
/* @__PURE__ */ u(
|
|
8822
|
+
/* @__PURE__ */ u(qt, { gap: "100", blockAlign: "center", wrap: !1, children: [
|
|
8771
8823
|
d && /* @__PURE__ */ u(ue, { children: [
|
|
8772
8824
|
/* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(tc, {}), label: "Mover para cima", disabled: k.isFirst, onClick: k.moveUp }),
|
|
8773
8825
|
/* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(je, {}), label: "Mover para baixo", disabled: k.isLast, onClick: k.moveDown })
|
|
@@ -8778,13 +8830,13 @@ function Vi({
|
|
|
8778
8830
|
l(m, k)
|
|
8779
8831
|
] }) }, N);
|
|
8780
8832
|
}),
|
|
8781
|
-
/* @__PURE__ */ u(
|
|
8782
|
-
/* @__PURE__ */ e(Re, { variant: "secondary", size: "sm", inline: !0, icon: /* @__PURE__ */ e(
|
|
8833
|
+
/* @__PURE__ */ u(qt, { align: "space-between", blockAlign: "center", gap: "200", children: [
|
|
8834
|
+
/* @__PURE__ */ e(Re, { variant: "secondary", size: "sm", inline: !0, icon: /* @__PURE__ */ e(Ct, {}), disabled: !v, onClick: () => n([...t, c()]), children: s }),
|
|
8783
8835
|
f != null && /* @__PURE__ */ e(kt, { as: "span", variant: "bodyXs", tone: "subdued", children: f })
|
|
8784
8836
|
] })
|
|
8785
8837
|
] });
|
|
8786
8838
|
}
|
|
8787
|
-
function
|
|
8839
|
+
function qi({
|
|
8788
8840
|
title: t,
|
|
8789
8841
|
subtitle: n,
|
|
8790
8842
|
backTo: l,
|
|
@@ -8807,7 +8859,7 @@ function Gi({
|
|
|
8807
8859
|
primaryAction: { content: a, onAction: c, loading: s, disabled: r },
|
|
8808
8860
|
secondaryActions: i ? [{ content: "Cancelar", onAction: () => h(i), disabled: s }] : void 0,
|
|
8809
8861
|
children: /* @__PURE__ */ u(Wn, { gap: "400", children: [
|
|
8810
|
-
o != null && /* @__PURE__ */ e(
|
|
8862
|
+
o != null && /* @__PURE__ */ e(Pt, { tone: "critical", children: o }),
|
|
8811
8863
|
d != null ? /* @__PURE__ */ u("div", { className: "select-builder-split", children: [
|
|
8812
8864
|
/* @__PURE__ */ e("div", { className: "select-builder-split__form", children: p }),
|
|
8813
8865
|
/* @__PURE__ */ e("div", { className: "select-builder-split__preview", children: d })
|
|
@@ -8816,7 +8868,7 @@ function Gi({
|
|
|
8816
8868
|
}
|
|
8817
8869
|
);
|
|
8818
8870
|
}
|
|
8819
|
-
function
|
|
8871
|
+
function Yi({
|
|
8820
8872
|
title: t,
|
|
8821
8873
|
subtitle: n,
|
|
8822
8874
|
backTo: l,
|
|
@@ -8871,7 +8923,7 @@ function Ui({
|
|
|
8871
8923
|
/* @__PURE__ */ e(Re, { inline: !0, size: "sm", onClick: c, loading: s, disabled: r, children: a })
|
|
8872
8924
|
] })
|
|
8873
8925
|
] }),
|
|
8874
|
-
o != null && o !== "" && /* @__PURE__ */ e("div", { className: "select-bwork__error", children: /* @__PURE__ */ e(
|
|
8926
|
+
o != null && o !== "" && /* @__PURE__ */ e("div", { className: "select-bwork__error", children: /* @__PURE__ */ e(Pt, { tone: "critical", children: o }) }),
|
|
8875
8927
|
/* @__PURE__ */ u("div", { className: "select-bwork__body", children: [
|
|
8876
8928
|
/* @__PURE__ */ u("nav", { className: "select-bwork__rail", "aria-label": "Seções de configuração", children: [
|
|
8877
8929
|
f && /* @__PURE__ */ e("div", { className: "select-bwork__search", children: /* @__PURE__ */ e(nl, { value: N, onChange: k, placeholder: "Buscar ajuste…" }) }),
|
|
@@ -8908,7 +8960,7 @@ function Ui({
|
|
|
8908
8960
|
] })
|
|
8909
8961
|
] });
|
|
8910
8962
|
}
|
|
8911
|
-
const
|
|
8963
|
+
const Xi = I(function({ label: n, checked: l, onChange: c, disabled: s = !1, hint: a, help: r, className: i, ...o }, d) {
|
|
8912
8964
|
return /* @__PURE__ */ u("div", { ref: d, ...o, className: `select-switchfield${s ? " is-disabled" : ""}${i ? " " + i : ""}`, children: [
|
|
8913
8965
|
/* @__PURE__ */ u("div", { className: "select-switchfield__row", children: [
|
|
8914
8966
|
/* @__PURE__ */ e(Qn, { checked: l, onChange: c, disabled: s, label: n }),
|
|
@@ -8926,8 +8978,8 @@ const zi = R(function({ label: n, checked: l, onChange: c, disabled: s = !1, hin
|
|
|
8926
8978
|
] }),
|
|
8927
8979
|
a != null && /* @__PURE__ */ e("span", { className: "select-switchfield__hint", children: a })
|
|
8928
8980
|
] });
|
|
8929
|
-
}),
|
|
8930
|
-
function
|
|
8981
|
+
}), Nr = (t) => /^#[0-9a-fA-F]{6}$/.test(t);
|
|
8982
|
+
function Ki({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error: a }) {
|
|
8931
8983
|
return /* @__PURE__ */ e(
|
|
8932
8984
|
pt,
|
|
8933
8985
|
{
|
|
@@ -8949,7 +9001,7 @@ function qi({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error:
|
|
|
8949
9001
|
{
|
|
8950
9002
|
type: "color",
|
|
8951
9003
|
className: "select-color-swatch",
|
|
8952
|
-
value:
|
|
9004
|
+
value: Nr(n) ? n : "#000000",
|
|
8953
9005
|
onChange: (r) => l(r.target.value),
|
|
8954
9006
|
disabled: c,
|
|
8955
9007
|
"aria-label": t ? `${t} — escolher cor` : "Escolher cor"
|
|
@@ -8958,13 +9010,13 @@ function qi({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error:
|
|
|
8958
9010
|
}
|
|
8959
9011
|
);
|
|
8960
9012
|
}
|
|
8961
|
-
function
|
|
9013
|
+
function Mr(t) {
|
|
8962
9014
|
return new Promise((n, l) => {
|
|
8963
9015
|
const c = new FileReader();
|
|
8964
9016
|
c.onload = () => n(String(c.result)), c.onerror = () => l(c.error), c.readAsDataURL(t);
|
|
8965
9017
|
});
|
|
8966
9018
|
}
|
|
8967
|
-
const
|
|
9019
|
+
const Ji = I(function({ label: n, value: l, onChange: c, accept: s = "image/*", maxSizeMB: a = 3, urlPlaceholder: r, hint: i, uploadFile: o, className: d, ...p }, h) {
|
|
8968
9020
|
const [f, v] = D([]), [_, x] = D(null), M = l ? [l] : [], S = async (b) => {
|
|
8969
9021
|
const m = b[0];
|
|
8970
9022
|
if (!m) {
|
|
@@ -8972,7 +9024,7 @@ const Yi = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
8972
9024
|
return;
|
|
8973
9025
|
}
|
|
8974
9026
|
if (x(null), !o) {
|
|
8975
|
-
c(await
|
|
9027
|
+
c(await Mr(m)), v([]);
|
|
8976
9028
|
return;
|
|
8977
9029
|
}
|
|
8978
9030
|
v([m]);
|
|
@@ -9002,7 +9054,7 @@ const Yi = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
9002
9054
|
),
|
|
9003
9055
|
_ && /* @__PURE__ */ e("span", { className: "select-imagefield__error", children: _ })
|
|
9004
9056
|
] });
|
|
9005
|
-
}),
|
|
9057
|
+
}), Qi = I(function({ items: n, multiple: l = !1, defaultOpenIds: c = [], className: s, ...a }, r) {
|
|
9006
9058
|
const [i, o] = D(() => new Set(c)), d = (p) => o((h) => {
|
|
9007
9059
|
const f = h.has(p), v = new Set(l ? h : []);
|
|
9008
9060
|
return f ? v.delete(p) : v.add(p), v;
|
|
@@ -9039,19 +9091,19 @@ const Yi = R(function({ label: n, value: l, onChange: c, accept: s = "image/*",
|
|
|
9039
9091
|
}) });
|
|
9040
9092
|
});
|
|
9041
9093
|
export {
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9094
|
+
Ar as AUTH_FX_VARIANTS,
|
|
9095
|
+
Xr as AppleIcon,
|
|
9096
|
+
fo as AppsIcon,
|
|
9045
9097
|
zn as ArrowLeftIcon,
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9098
|
+
Jr as ArrowRightIcon,
|
|
9099
|
+
eo as AtIcon,
|
|
9100
|
+
zr as AuthAppIcon,
|
|
9101
|
+
Vr as BellIcon,
|
|
9102
|
+
Dr as BookmarkIcon,
|
|
9103
|
+
no as BuildingIcon,
|
|
9052
9104
|
ec as CalendarIcon,
|
|
9053
|
-
|
|
9054
|
-
|
|
9105
|
+
vo as CartIcon,
|
|
9106
|
+
po as ChartLineIcon,
|
|
9055
9107
|
is as CheckCircleIcon,
|
|
9056
9108
|
et as CheckIcon,
|
|
9057
9109
|
je as ChevronDownIcon,
|
|
@@ -9059,258 +9111,261 @@ export {
|
|
|
9059
9111
|
Jt as ChevronRightIcon,
|
|
9060
9112
|
tc as ChevronUpIcon,
|
|
9061
9113
|
hs as ClipboardIcon,
|
|
9062
|
-
|
|
9063
|
-
|
|
9114
|
+
Pr as ClockIcon,
|
|
9115
|
+
St as CloseIcon,
|
|
9064
9116
|
Yn as CopyIcon,
|
|
9065
|
-
|
|
9117
|
+
ao as CreditCardIcon,
|
|
9066
9118
|
ss as CubeIcon,
|
|
9067
|
-
|
|
9068
|
-
|
|
9069
|
-
|
|
9070
|
-
|
|
9119
|
+
uo as DiscountIcon,
|
|
9120
|
+
Tr as DotsHorizontalIcon,
|
|
9121
|
+
ro as EditIcon,
|
|
9122
|
+
ho as ExportIcon,
|
|
9071
9123
|
Xn as ExternalLinkIcon,
|
|
9072
9124
|
Kl as EyeIcon,
|
|
9073
9125
|
Jl as EyeOffIcon,
|
|
9074
|
-
|
|
9075
|
-
|
|
9076
|
-
|
|
9126
|
+
Yr as FacebookIcon,
|
|
9127
|
+
Rr as FilterIcon,
|
|
9128
|
+
Ir as GithubIcon,
|
|
9077
9129
|
ns as GlobeIcon,
|
|
9078
|
-
|
|
9079
|
-
|
|
9080
|
-
|
|
9130
|
+
Fr as GoogleIcon,
|
|
9131
|
+
jr as HelpIcon,
|
|
9132
|
+
co as HomeIcon,
|
|
9081
9133
|
Mn as InfoIcon,
|
|
9082
|
-
|
|
9083
|
-
|
|
9084
|
-
|
|
9085
|
-
|
|
9086
|
-
|
|
9134
|
+
lo as KeyIcon,
|
|
9135
|
+
io as LockIcon,
|
|
9136
|
+
qr as MailIcon,
|
|
9137
|
+
go as MenuIcon,
|
|
9138
|
+
_o as MinusCircleIcon,
|
|
9087
9139
|
Xl as MobileIcon,
|
|
9088
9140
|
Yl as MonitorIcon,
|
|
9089
9141
|
rs as MoonIcon,
|
|
9090
9142
|
us as NoteIcon,
|
|
9091
|
-
|
|
9092
|
-
|
|
9093
|
-
|
|
9094
|
-
|
|
9143
|
+
Kr as PasskeyIcon,
|
|
9144
|
+
Ur as PhoneIcon,
|
|
9145
|
+
Wr as PinIcon,
|
|
9146
|
+
Ct as PlusIcon,
|
|
9095
9147
|
os as RefreshIcon,
|
|
9096
|
-
|
|
9148
|
+
Gr as RocketIcon,
|
|
9097
9149
|
Hs as SELECT_CARD_BRANDS,
|
|
9098
|
-
|
|
9099
|
-
|
|
9150
|
+
g1 as SELECT_COL_DATETIME,
|
|
9151
|
+
b1 as SELECT_COL_ID,
|
|
9100
9152
|
pc as SELECT_COUNTRIES,
|
|
9101
|
-
|
|
9102
|
-
|
|
9153
|
+
gr as SELECT_DAILY_PRESETS,
|
|
9154
|
+
_r as SELECT_DATE_PRESETS,
|
|
9103
9155
|
wt as SELECT_SPACE,
|
|
9104
9156
|
Ps as SELECT_TRANSACTION_STATUS,
|
|
9105
9157
|
qn as SearchIcon,
|
|
9106
|
-
|
|
9107
|
-
|
|
9158
|
+
Qi as SelectAccordion,
|
|
9159
|
+
h1 as SelectActionCard,
|
|
9108
9160
|
fc as SelectActionList,
|
|
9109
|
-
|
|
9161
|
+
Ro as SelectActionMenu,
|
|
9110
9162
|
vs as SelectAddButton,
|
|
9111
9163
|
Ra as SelectAddCard,
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
-
|
|
9164
|
+
Pt as SelectAlert,
|
|
9165
|
+
u1 as SelectAppTile,
|
|
9166
|
+
Er as SelectAuthFx,
|
|
9115
9167
|
ia as SelectAvatar,
|
|
9116
|
-
|
|
9168
|
+
Go as SelectBackLink,
|
|
9117
9169
|
mc as SelectBadge,
|
|
9118
|
-
|
|
9119
|
-
|
|
9120
|
-
|
|
9170
|
+
P1 as SelectBalanceCard,
|
|
9171
|
+
So as SelectBankAccountField,
|
|
9172
|
+
j1 as SelectBarChart,
|
|
9121
9173
|
Os as SelectBox,
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
-
|
|
9125
|
-
|
|
9126
|
-
|
|
9174
|
+
ri as SelectBoxPlot,
|
|
9175
|
+
qi as SelectBuilderLayout,
|
|
9176
|
+
Yi as SelectBuilderWorkspace,
|
|
9177
|
+
ti as SelectBullet,
|
|
9178
|
+
$i as SelectBump,
|
|
9127
9179
|
Re as SelectButton,
|
|
9128
|
-
|
|
9129
|
-
|
|
9130
|
-
|
|
9131
|
-
|
|
9132
|
-
|
|
9133
|
-
|
|
9134
|
-
|
|
9135
|
-
|
|
9136
|
-
|
|
9137
|
-
|
|
9138
|
-
|
|
9139
|
-
|
|
9180
|
+
ii as SelectCalendarHeatmap,
|
|
9181
|
+
ai as SelectCandlestick,
|
|
9182
|
+
Br as SelectCard,
|
|
9183
|
+
N1 as SelectCardGrid,
|
|
9184
|
+
O1 as SelectChartCard,
|
|
9185
|
+
xo as SelectCheckbox,
|
|
9186
|
+
gi as SelectChord,
|
|
9187
|
+
Ei as SelectCirclePack,
|
|
9188
|
+
d1 as SelectCollapsible,
|
|
9189
|
+
Ki as SelectColorField,
|
|
9190
|
+
z1 as SelectColumnChart,
|
|
9191
|
+
G1 as SelectComboChart,
|
|
9140
9192
|
Ms as SelectCombobox,
|
|
9141
|
-
|
|
9142
|
-
|
|
9143
|
-
|
|
9144
|
-
|
|
9145
|
-
|
|
9146
|
-
|
|
9147
|
-
|
|
9148
|
-
|
|
9149
|
-
|
|
9150
|
-
|
|
9193
|
+
_1 as SelectConfirmModal,
|
|
9194
|
+
o1 as SelectCopyRow,
|
|
9195
|
+
i1 as SelectCopyableId,
|
|
9196
|
+
p1 as SelectCreateTile,
|
|
9197
|
+
y1 as SelectDataTable,
|
|
9198
|
+
Ka as SelectDateField,
|
|
9199
|
+
xr as SelectDatePicker,
|
|
9200
|
+
Gi as SelectDateRangeField,
|
|
9201
|
+
Ri as SelectDetailList,
|
|
9202
|
+
Ti as SelectDetailRow,
|
|
9151
9203
|
Vs as SelectDisclosureButton,
|
|
9152
|
-
|
|
9153
|
-
|
|
9154
|
-
|
|
9155
|
-
|
|
9156
|
-
|
|
9157
|
-
|
|
9204
|
+
Oo as SelectDivider,
|
|
9205
|
+
wo as SelectDocumentField,
|
|
9206
|
+
U1 as SelectDonut,
|
|
9207
|
+
Lr as SelectDotField,
|
|
9208
|
+
ui as SelectDumbbell,
|
|
9209
|
+
D1 as SelectFeeBreakdown,
|
|
9158
9210
|
pt as SelectField,
|
|
9159
9211
|
ws as SelectFieldGrid,
|
|
9160
|
-
|
|
9212
|
+
ko as SelectFileDropzone,
|
|
9161
9213
|
_n as SelectFileTile,
|
|
9162
|
-
|
|
9163
|
-
|
|
9164
|
-
|
|
9165
|
-
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
|
|
9169
|
-
|
|
9170
|
-
|
|
9171
|
-
|
|
9172
|
-
|
|
9173
|
-
|
|
9174
|
-
|
|
9175
|
-
|
|
9214
|
+
E1 as SelectFilterBar,
|
|
9215
|
+
r1 as SelectFilterChip,
|
|
9216
|
+
qo as SelectFormLayout,
|
|
9217
|
+
v1 as SelectFormModal,
|
|
9218
|
+
q1 as SelectFunnel,
|
|
9219
|
+
Y1 as SelectGauge,
|
|
9220
|
+
mi as SelectGaugeBands,
|
|
9221
|
+
yi as SelectGlobe,
|
|
9222
|
+
To as SelectGrid,
|
|
9223
|
+
X1 as SelectHeatmap,
|
|
9224
|
+
bi as SelectHexbin,
|
|
9225
|
+
S1 as SelectHideMoneyToggle,
|
|
9226
|
+
Q1 as SelectHorizontalBar,
|
|
9227
|
+
Ci as SelectIcicle,
|
|
9176
9228
|
ba as SelectIcon,
|
|
9177
9229
|
He as SelectIconButton,
|
|
9178
|
-
|
|
9179
|
-
|
|
9230
|
+
Zo as SelectIdentityFooter,
|
|
9231
|
+
Ji as SelectImageField,
|
|
9180
9232
|
gs as SelectImageUploadField,
|
|
9181
|
-
|
|
9182
|
-
|
|
9233
|
+
$o as SelectImageUrlsField,
|
|
9234
|
+
pr as SelectImageZoomModal,
|
|
9183
9235
|
ft as SelectInfoTip,
|
|
9184
|
-
|
|
9185
|
-
|
|
9186
|
-
|
|
9187
|
-
|
|
9188
|
-
|
|
9189
|
-
|
|
9190
|
-
|
|
9236
|
+
qt as SelectInline,
|
|
9237
|
+
Do as SelectJsonViewer,
|
|
9238
|
+
Vi as SelectKeyValueEditor,
|
|
9239
|
+
W1 as SelectKpiCard,
|
|
9240
|
+
Tt as SelectLabelRow,
|
|
9241
|
+
w1 as SelectLayoutThumb,
|
|
9242
|
+
Z1 as SelectLineChart,
|
|
9191
9243
|
oa as SelectLinkButton,
|
|
9192
|
-
|
|
9193
|
-
|
|
9244
|
+
Wi as SelectListCard,
|
|
9245
|
+
Oi as SelectListRow,
|
|
9194
9246
|
ha as SelectLoader,
|
|
9195
|
-
|
|
9196
|
-
|
|
9247
|
+
pi as SelectMarimekko,
|
|
9248
|
+
A1 as SelectMarkStack,
|
|
9249
|
+
ji as SelectMediaCell,
|
|
9197
9250
|
Sa as SelectMenu,
|
|
9198
9251
|
La as SelectMenuButton,
|
|
9199
|
-
|
|
9200
|
-
|
|
9252
|
+
a1 as SelectMenuDivider,
|
|
9253
|
+
s1 as SelectMenuHeading,
|
|
9201
9254
|
Ca as SelectMenuItem,
|
|
9202
|
-
|
|
9203
|
-
|
|
9255
|
+
c1 as SelectMenuLink,
|
|
9256
|
+
Va as SelectMetricDelta,
|
|
9204
9257
|
$n as SelectModal,
|
|
9205
|
-
|
|
9206
|
-
|
|
9207
|
-
|
|
9208
|
-
|
|
9209
|
-
|
|
9210
|
-
|
|
9211
|
-
|
|
9212
|
-
Ho as
|
|
9213
|
-
|
|
9258
|
+
$t as SelectMoney,
|
|
9259
|
+
Mo as SelectMoneyField,
|
|
9260
|
+
Bi as SelectNetwork,
|
|
9261
|
+
Xo as SelectNote,
|
|
9262
|
+
Ui as SelectNumberField,
|
|
9263
|
+
C1 as SelectOfferPrice,
|
|
9264
|
+
Zi as SelectOfflineModal,
|
|
9265
|
+
Ho as SelectOptionList,
|
|
9266
|
+
jo as SelectOptionRow,
|
|
9267
|
+
Vo as SelectOtpInput,
|
|
9214
9268
|
ua as SelectPage,
|
|
9215
9269
|
Ma as SelectPagination,
|
|
9216
|
-
|
|
9217
|
-
|
|
9218
|
-
|
|
9219
|
-
|
|
9220
|
-
|
|
9221
|
-
|
|
9222
|
-
|
|
9223
|
-
|
|
9270
|
+
Qo as SelectPanel,
|
|
9271
|
+
Si as SelectParallel,
|
|
9272
|
+
Mi as SelectPareto,
|
|
9273
|
+
zo as SelectPasswordStrength,
|
|
9274
|
+
Po as SelectPaymentBrand,
|
|
9275
|
+
Eo as SelectPhoneField,
|
|
9276
|
+
Di as SelectPlanCard,
|
|
9277
|
+
di as SelectPolarArea,
|
|
9224
9278
|
dt as SelectPopover,
|
|
9225
|
-
|
|
9226
|
-
|
|
9227
|
-
|
|
9228
|
-
|
|
9229
|
-
|
|
9230
|
-
|
|
9231
|
-
|
|
9232
|
-
|
|
9233
|
-
|
|
9234
|
-
|
|
9235
|
-
|
|
9236
|
-
|
|
9237
|
-
|
|
9238
|
-
|
|
9279
|
+
T1 as SelectPreviewFrame,
|
|
9280
|
+
K1 as SelectProgressList,
|
|
9281
|
+
ki as SelectPyramid,
|
|
9282
|
+
ci as SelectRadar,
|
|
9283
|
+
J1 as SelectRadialBar,
|
|
9284
|
+
Bo as SelectRadioGroup,
|
|
9285
|
+
oi as SelectRangeBar,
|
|
9286
|
+
Ua as SelectRating,
|
|
9287
|
+
L1 as SelectRatingQuote,
|
|
9288
|
+
M1 as SelectRecordCard,
|
|
9289
|
+
zi as SelectRepeatingFieldArray,
|
|
9290
|
+
Uo as SelectResendButton,
|
|
9291
|
+
f1 as SelectRowActions,
|
|
9292
|
+
si as SelectSankey,
|
|
9293
|
+
li as SelectScatter,
|
|
9239
9294
|
nl as SelectSearchInput,
|
|
9240
|
-
|
|
9241
|
-
|
|
9295
|
+
e1 as SelectSection,
|
|
9296
|
+
Fo as SelectSegmented,
|
|
9242
9297
|
ic as SelectSelect,
|
|
9243
|
-
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9249
|
-
|
|
9250
|
-
|
|
9298
|
+
ja as SelectSensitiveValue,
|
|
9299
|
+
Ko as SelectSettingList,
|
|
9300
|
+
Jo as SelectSettingRow,
|
|
9301
|
+
n1 as SelectSideNav,
|
|
9302
|
+
Yo as SelectSkeleton,
|
|
9303
|
+
hi as SelectSlope,
|
|
9304
|
+
H1 as SelectSparkline,
|
|
9305
|
+
k1 as SelectSplitChain,
|
|
9251
9306
|
Wn as SelectStack,
|
|
9252
|
-
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9307
|
+
V1 as SelectStackedArea,
|
|
9308
|
+
Io as SelectStatusBadge,
|
|
9309
|
+
Pi as SelectSteps,
|
|
9310
|
+
fi as SelectStreamGraph,
|
|
9311
|
+
_i as SelectSunburst,
|
|
9312
|
+
F1 as SelectSurface,
|
|
9258
9313
|
Qn as SelectSwitch,
|
|
9259
|
-
|
|
9314
|
+
Xi as SelectSwitchField,
|
|
9260
9315
|
$a as SelectTable,
|
|
9261
9316
|
wl as SelectTableCell,
|
|
9262
9317
|
$c as SelectTableEmpty,
|
|
9263
9318
|
Ml as SelectTableRow,
|
|
9264
|
-
|
|
9265
|
-
|
|
9319
|
+
t1 as SelectTabs,
|
|
9320
|
+
B1 as SelectTagSelect,
|
|
9266
9321
|
kt as SelectText,
|
|
9267
|
-
|
|
9268
|
-
|
|
9322
|
+
yo as SelectTextarea,
|
|
9323
|
+
Ii as SelectThemeSwitcher,
|
|
9269
9324
|
Zl as SelectThumbnail,
|
|
9270
|
-
|
|
9271
|
-
|
|
9272
|
-
|
|
9273
|
-
|
|
9274
|
-
|
|
9275
|
-
|
|
9325
|
+
Ni as SelectTicker,
|
|
9326
|
+
Wo as SelectTimeline,
|
|
9327
|
+
I1 as SelectToastProvider,
|
|
9328
|
+
Co as SelectToggleList,
|
|
9329
|
+
Ao as SelectTogglePanel,
|
|
9330
|
+
Lo as SelectToggleRow,
|
|
9276
9331
|
Kn as SelectTooltip,
|
|
9277
|
-
|
|
9278
|
-
|
|
9279
|
-
|
|
9280
|
-
|
|
9281
|
-
|
|
9282
|
-
|
|
9283
|
-
|
|
9284
|
-
|
|
9285
|
-
|
|
9286
|
-
|
|
9287
|
-
|
|
9288
|
-
|
|
9332
|
+
Li as SelectTree,
|
|
9333
|
+
ni as SelectTreemap,
|
|
9334
|
+
No as SelectUnitInput,
|
|
9335
|
+
l1 as SelectUserCell,
|
|
9336
|
+
$1 as SelectValueVisibilityProvider,
|
|
9337
|
+
Ai as SelectVenn,
|
|
9338
|
+
vi as SelectViolin,
|
|
9339
|
+
wi as SelectWaffle,
|
|
9340
|
+
ei as SelectWaterfall,
|
|
9341
|
+
xi as SelectWordCloud,
|
|
9342
|
+
m1 as SelectWorkspaceSwitcher,
|
|
9343
|
+
Hi as SelectZoomThumbnail,
|
|
9289
9344
|
ql as SelectorIcon,
|
|
9290
|
-
|
|
9345
|
+
oo as SendIcon,
|
|
9291
9346
|
ts as Setting4Icon,
|
|
9292
9347
|
ds as SettingsIcon,
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9296
|
-
|
|
9297
|
-
|
|
9348
|
+
Qr as ShieldIcon,
|
|
9349
|
+
Hr as SplitIcon,
|
|
9350
|
+
Or as StarIcon,
|
|
9351
|
+
mo as StoreIcon,
|
|
9352
|
+
bo as StorefrontIcon,
|
|
9298
9353
|
as as SunIcon,
|
|
9299
9354
|
cs as TerminalIcon,
|
|
9300
9355
|
Ql as TrashIcon,
|
|
9301
9356
|
fn as UploadIcon,
|
|
9302
|
-
|
|
9303
|
-
|
|
9357
|
+
Zr as UserIcon,
|
|
9358
|
+
so as WalletIcon,
|
|
9304
9359
|
ls as WarningIcon,
|
|
9305
|
-
|
|
9360
|
+
to as Web3Icon,
|
|
9306
9361
|
Qt as detectSelectTheme,
|
|
9307
9362
|
Ts as dialCodeOf,
|
|
9308
9363
|
da as passwordScore,
|
|
9309
|
-
|
|
9364
|
+
Fi as resolveSelectTheme,
|
|
9310
9365
|
_c as selectCardBrand,
|
|
9311
9366
|
js as selectCardBrandLabel,
|
|
9312
|
-
|
|
9313
|
-
|
|
9314
|
-
|
|
9367
|
+
x1 as useSelectPageSize,
|
|
9368
|
+
R1 as useSelectToast,
|
|
9369
|
+
Lc as useSelectValueVisibility
|
|
9315
9370
|
};
|
|
9316
9371
|
//# sourceMappingURL=index.js.map
|