@selectwin/kit 0.1.85 → 0.1.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.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 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";
2
+ import { useRef as J, useEffect as pe, forwardRef as I, useState as D, useId as ge, useCallback as et, 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";
@@ -28,7 +28,7 @@ function Lr({ className: t, theme: n, glowTarget: l }) {
28
28
  if (!s) return;
29
29
  const a = s.getContext("2d");
30
30
  if (!a) return;
31
- const r = ((ee = window.matchMedia) == null ? void 0 : ee.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, d = n === "dark", o = 30, i = 1.2, p = 160, h = 8, f = 2.9, v = 0.32, _ = 1.4, x = 18, M = Math.PI * 2, S = getComputedStyle(s), [b, m, N] = Hc(S, "--select-dot", d ? [235, 238, 255] : [64, 68, 92]), [k, w, y] = jc(S.getPropertyValue("--select-primary"), d ? [255, 255, 255] : [33, 37, 41]);
31
+ const r = ((ee = window.matchMedia) == null ? void 0 : ee.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, d = n === "dark", o = 30, i = 1.2, p = 160, h = 8, f = 2.9, v = 0.32, _ = 1.4, x = 18, M = Math.PI * 2, S = getComputedStyle(s), [b, m, N] = Hc(S, "--select-dot", d ? [235, 238, 255] : [64, 68, 92]), [w, k, y] = jc(S.getPropertyValue("--select-primary"), d ? [255, 255, 255] : [33, 37, 41]);
32
32
  let $ = 0, g = 0, C = [], A = 0, B = 0, L = null, E = 0;
33
33
  const F = { x: 0, y: 0 };
34
34
  let T = 0, O = 0, q = -10;
@@ -40,19 +40,19 @@ function Lr({ className: t, theme: n, glowTarget: l }) {
40
40
  s.width = Math.round($ * $e), s.height = Math.round(g * $e), a.setTransform($e, 0, 0, $e, 0, 0);
41
41
  const xe = s.closest(".select-auth") ?? document;
42
42
  L = l ? xe.querySelector(l) : null, C = [];
43
- const Ne = Math.ceil($ / o) + 1, Me = Math.ceil(g / o) + 1, se = ($ - (Ne - 1) * o) / 2, ke = (g - (Me - 1) * o) / 2;
43
+ const Ne = Math.ceil($ / o) + 1, Me = Math.ceil(g / o) + 1, se = ($ - (Ne - 1) * o) / 2, we = (g - (Me - 1) * o) / 2;
44
44
  for (let Te = 0; Te < Me; Te++)
45
45
  for (let de = 0; de < Ne; de++) {
46
- const Ee = se + de * o, Ue = ke + Te * o;
46
+ const Ee = se + de * o, Ue = we + Te * o;
47
47
  C.push({ x: Ee, y: Ue, phase: (Ee + Ue) * 0.013 });
48
48
  }
49
49
  F.x === 0 && F.y === 0 && (F.x = T = $ / 2, F.y = O = g / 2);
50
50
  }
51
51
  function W(ne, $e, xe, Ne, Me) {
52
52
  if (!L) return;
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);
53
+ const se = L.getBoundingClientRect(), we = se.left - A + se.width / 2, Te = se.top - B + se.height / 2, de = se.width / 2, Ee = se.height / 2, Ue = (ne - we) / (de + x), De = ($e - Te) / (Ee + x), Pe = Math.sqrt(Ue * Ue + De * De), Je = Pe < 1 ? 1 - Pe : 0, ze = Je * Je * (3 - 2 * Je);
54
54
  if (ze > 1e-3 || E > 1e-3) {
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;
55
+ const R = al((ne - we) / Math.max(de, 1), -1, 1) * 10 * ze, U = al(($e - Te) / Math.max(Ee, 1), -1, 1) * 10 * ze;
56
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;
@@ -69,10 +69,10 @@ function Lr({ 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, 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, i * Y, 0, M), a.fillStyle = `rgba(${G},${Z},${X},${ye})`, a.fill();
72
+ const we = C[se], Te = we.x - Ne, de = we.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 + we.phase) * 0.5 + 0.5, Je = De * h, ze = Ee > 1e-4 ? 1 / Ee : 0, R = we.x - Te * ze * Je, U = we.y - de * ze * Je, Y = 1 + De * (f - 1) + Pe * 0.14, ye = Math.min(1, v + Pe * 0.08 + De * (1 - v)), G = b + (w - b) * De | 0, Z = m + (k - m) * De | 0, X = N + (y - N) * De | 0;
73
+ De > 0.12 ? (a.shadowColor = `rgba(${w},${k},${y},${0.6 * De})`, a.shadowBlur = 12 * De) : a.shadowBlur = 0, a.beginPath(), a.arc(R, U, i * Y, 0, M), a.fillStyle = `rgba(${G},${Z},${X},${ye})`, a.fill();
74
74
  }
75
- a.shadowBlur = 0, W(Ne, Me, k, w, y);
75
+ a.shadowBlur = 0, W(Ne, Me, w, k, y);
76
76
  }
77
77
  function ie(ne) {
78
78
  T = ne.clientX - A, O = ne.clientY - B, q = We.ticker.time;
@@ -120,8 +120,8 @@ const Gc = (t) => {
120
120
  }
121
121
  }
122
122
  function p(h, f) {
123
- const { ctx: v, pointer: _ } = t, [x, M, S] = t.ink, [b, m, N] = t.accent, k = t.w(), w = t.h();
124
- v.clearRect(0, 0, k, w);
123
+ const { ctx: v, pointer: _ } = t, [x, M, S] = t.ink, [b, m, N] = t.accent, w = t.w(), k = t.h();
124
+ v.clearRect(0, 0, w, k);
125
125
  const y = _.x, $ = _.y;
126
126
  for (const g of d) {
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;
@@ -155,11 +155,11 @@ const Gc = (t) => {
155
155
  i.lineWidth = 1;
156
156
  for (let m = 0; m < a.length; m++) {
157
157
  const N = a[m];
158
- for (let k = m + 1; k < a.length; k++) {
159
- const w = a[k], y = N.x - w.x, $ = N.y - w.y, g = y * y + $ * $;
158
+ for (let w = m + 1; w < a.length; w++) {
159
+ const k = a[w], y = N.x - k.x, $ = N.y - k.y, g = y * y + $ * $;
160
160
  if (g < 132 * 132) {
161
161
  const C = 1 - Math.sqrt(g) / 132;
162
- i.strokeStyle = `rgba(${h},${f},${v},${(C * C * 0.5).toFixed(3)})`, i.beginPath(), i.moveTo(N.x, N.y), i.lineTo(w.x, w.y), i.stroke();
162
+ i.strokeStyle = `rgba(${h},${f},${v},${(C * C * 0.5).toFixed(3)})`, i.beginPath(), i.moveTo(N.x, N.y), i.lineTo(k.x, k.y), i.stroke();
163
163
  }
164
164
  }
165
165
  }
@@ -170,8 +170,8 @@ const Gc = (t) => {
170
170
  const $ = Math.hypot(m.x - S, m.y - b);
171
171
  $ < 175 && (N = 1 - $ / 175, i.strokeStyle = `rgba(${_},${x},${M},${(N * N * 0.5).toFixed(3)})`, i.beginPath(), i.moveTo(S, b), i.lineTo(m.x, m.y), i.stroke());
172
172
  }
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 ? (i.shadowColor = `rgba(${_},${x},${M},${0.6 * N})`, i.shadowBlur = 10 * N) : i.shadowBlur = 0, i.beginPath(), i.arc(m.x, m.y, 1.4 + N * 2.2, 0, Rt), i.fillStyle = `rgba(${k},${w},${y},${0.5 + N * 0.5})`, i.fill();
173
+ const w = h + (_ - h) * N | 0, k = f + (x - f) * N | 0, y = v + (M - v) * N | 0;
174
+ t.dark && N > 0.2 ? (i.shadowColor = `rgba(${_},${x},${M},${0.6 * N})`, i.shadowBlur = 10 * N) : i.shadowBlur = 0, i.beginPath(), i.arc(m.x, m.y, 1.4 + N * 2.2, 0, Rt), i.fillStyle = `rgba(${w},${k},${y},${0.5 + N * 0.5})`, i.fill();
175
175
  }
176
176
  i.shadowBlur = 0;
177
177
  }
@@ -202,11 +202,11 @@ const Gc = (t) => {
202
202
  v.moveTo(0, C), v.lineTo(c, C);
203
203
  }
204
204
  v.stroke();
205
- const k = (h * 0.12 % 1 + 1) % 1 * s, w = v.createLinearGradient(0, k - 90, 0, k + 90);
206
- w.addColorStop(0, `rgba(${b},${m},${N},0)`), w.addColorStop(0.5, `rgba(${b},${m},${N},${t.dark ? 0.08 : 0.05})`), w.addColorStop(1, `rgba(${b},${m},${N},0)`), v.fillStyle = w, v.fillRect(0, k - 90, c, 90 * 2), v.strokeStyle = `rgba(${b},${m},${N},0.18)`, v.beginPath(), v.moveTo(0, k), v.lineTo(c, k), v.stroke();
205
+ const w = (h * 0.12 % 1 + 1) % 1 * s, k = v.createLinearGradient(0, w - 90, 0, w + 90);
206
+ k.addColorStop(0, `rgba(${b},${m},${N},0)`), k.addColorStop(0.5, `rgba(${b},${m},${N},${t.dark ? 0.08 : 0.05})`), k.addColorStop(1, `rgba(${b},${m},${N},0)`), v.fillStyle = k, v.fillRect(0, w - 90, c, 90 * 2), v.strokeStyle = `rgba(${b},${m},${N},0.18)`, v.beginPath(), v.moveTo(0, w), v.lineTo(c, w), v.stroke();
207
207
  const y = _.x, $ = _.y;
208
208
  for (let g = 0; g < r; g++) {
209
- const C = o + g * 44, A = 1 - Math.min(1, Math.abs(C - k) / 90), B = A * A * 0.8;
209
+ const C = o + g * 44, A = 1 - Math.min(1, Math.abs(C - w) / 90), B = A * A * 0.8;
210
210
  for (let L = 0; L < a; L++) {
211
211
  const E = d + L * 44;
212
212
  let F = B;
@@ -250,21 +250,21 @@ const Gc = (t) => {
250
250
  const { ctx: h, pointer: f } = t, [v, _, x] = t.ink, [M, S, b] = t.accent;
251
251
  h.clearRect(0, 0, l, c), h.lineCap = "round";
252
252
  const m = f.x, N = f.y;
253
- for (const k of s) {
254
- let w = a(k.x, k.y, i), y = 0;
253
+ for (const w of s) {
254
+ let k = a(w.x, w.y, i), y = 0;
255
255
  if (p) {
256
- const B = k.x - m, L = k.y - N, E = Math.hypot(B, L);
257
- E < 160 && (y = 1 - E / 160, w = mn(w, Math.atan2(L, B) + Math.PI / 2, y * 0.7));
256
+ const B = w.x - m, L = w.y - N, E = Math.hypot(B, L);
257
+ E < 160 && (y = 1 - E / 160, k = mn(k, Math.atan2(L, B) + Math.PI / 2, y * 0.7));
258
258
  }
259
259
  const $ = 0.9 + y * 0.6;
260
- if (k.x += Math.cos(w) * $, k.y += Math.sin(w) * $, k.hist.push(k.x, k.y), k.hist.length > 9 * 2 && k.hist.splice(0, k.hist.length - 9 * 2), ++k.life > k.max || k.x < -20 || k.x > l + 20 || k.y < -20 || k.y > c + 20) {
261
- r(k);
260
+ if (w.x += Math.cos(k) * $, w.y += Math.sin(k) * $, w.hist.push(w.x, w.y), w.hist.length > 9 * 2 && w.hist.splice(0, w.hist.length - 9 * 2), ++w.life > w.max || w.x < -20 || w.x > l + 20 || w.y < -20 || w.y > c + 20) {
261
+ r(w);
262
262
  continue;
263
263
  }
264
264
  const g = v + (M - v) * y | 0, C = _ + (S - _) * y | 0, A = x + (b - x) * y | 0;
265
265
  h.strokeStyle = `rgba(${g},${C},${A},${0.16 + y * 0.5})`, h.lineWidth = 1 + y * 0.8, h.beginPath();
266
- for (let B = 0; B < k.hist.length; B += 2) {
267
- const L = k.hist[B], E = k.hist[B + 1];
266
+ for (let B = 0; B < w.hist.length; B += 2) {
267
+ const L = w.hist[B], E = w.hist[B + 1];
268
268
  B === 0 ? h.moveTo(L, E) : h.lineTo(L, E);
269
269
  }
270
270
  h.stroke();
@@ -294,22 +294,22 @@ const Gc = (t) => {
294
294
  for (let M = 0; M < v; M++) {
295
295
  let S = Math.floor(Math.random() * i), b = Math.floor(Math.random() * p);
296
296
  const m = [h + S * 26, f + b * 26], N = 3 + Math.floor(Math.random() * 5);
297
- let k = Math.floor(Math.random() * 4);
297
+ let w = Math.floor(Math.random() * 4);
298
298
  for (let C = 0; C < N; C++) {
299
- Math.random() < 0.6 && (k = (k + (Math.random() < 0.5 ? 1 : 3)) % 4);
299
+ Math.random() < 0.6 && (w = (w + (Math.random() < 0.5 ? 1 : 3)) % 4);
300
300
  const A = 1 + Math.floor(Math.random() * 4);
301
- S = gt(S + _[k] * A, 0, i), b = gt(b + x[k] * A, 0, p), m.push(h + S * 26, f + b * 26);
301
+ S = gt(S + _[w] * A, 0, i), b = gt(b + x[w] * A, 0, p), m.push(h + S * 26, f + b * 26);
302
302
  }
303
- const w = [];
303
+ const k = [];
304
304
  let y = 0;
305
305
  for (let C = 2; C < m.length; C += 2) {
306
306
  const A = Math.hypot(m[C] - m[C - 2], m[C + 1] - m[C - 1]);
307
- w.push(A), y += A;
307
+ k.push(A), y += A;
308
308
  }
309
309
  if (y < 26) continue;
310
310
  const $ = [], g = 1 + (Math.random() < 0.4 ? 1 : 0);
311
311
  for (let C = 0; C < g; C++) $.push({ p: Math.random(), sp: 0.1 + Math.random() * 0.16 });
312
- s.push({ pts: m, len: y, seg: w, pulses: $ });
312
+ s.push({ pts: m, len: y, seg: k, pulses: $ });
313
313
  }
314
314
  }
315
315
  function r(i, p) {
@@ -332,18 +332,18 @@ const Gc = (t) => {
332
332
  const { ctx: h, pointer: f } = t, [v, _, x] = t.ink, [M, S, b] = t.accent;
333
333
  h.clearRect(0, 0, l, c), h.lineJoin = "round", h.lineCap = "round";
334
334
  const m = f.x, N = f.y;
335
- for (const k of s) {
336
- let w = 0;
335
+ for (const w of s) {
336
+ let k = 0;
337
337
  if (p) {
338
- const y = Math.hypot(k.pts[0] - m, k.pts[1] - N);
339
- y < 200 && (w = (1 - y / 200) * 0.6);
338
+ const y = Math.hypot(w.pts[0] - m, w.pts[1] - N);
339
+ y < 200 && (k = (1 - y / 200) * 0.6);
340
340
  }
341
- h.strokeStyle = `rgba(${v},${_},${x},${0.12 + w * 0.18})`, h.lineWidth = 1.2, h.beginPath(), h.moveTo(k.pts[0], k.pts[1]);
342
- for (let y = 2; y < k.pts.length; y += 2) h.lineTo(k.pts[y], k.pts[y + 1]);
343
- h.stroke(), d(k.pts[0], k.pts[1], v, _, x, w), d(k.pts[k.pts.length - 2], k.pts[k.pts.length - 1], v, _, x, w);
344
- for (const y of k.pulses) {
341
+ h.strokeStyle = `rgba(${v},${_},${x},${0.12 + k * 0.18})`, h.lineWidth = 1.2, h.beginPath(), h.moveTo(w.pts[0], w.pts[1]);
342
+ for (let y = 2; y < w.pts.length; y += 2) h.lineTo(w.pts[y], w.pts[y + 1]);
343
+ h.stroke(), d(w.pts[0], w.pts[1], v, _, x, k), d(w.pts[w.pts.length - 2], w.pts[w.pts.length - 1], v, _, x, k);
344
+ for (const y of w.pulses) {
345
345
  y.p += y.sp * i, y.p > 1 && (y.p -= 1);
346
- const [$, g] = r(k, y.p);
346
+ const [$, g] = r(w, y.p);
347
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
  }
@@ -383,11 +383,11 @@ const Gc = (t) => {
383
383
  return t[0] = 1, new Uint8Array(t.buffer)[0] === 1;
384
384
  })(), Xc = Nn ? 0 : 24, Kc = Nn ? 8 : 16, Jc = Nn ? 16 : 8, vt = Nn ? 24 : 0, Qc = (t) => {
385
385
  const r = [0.12, 0.3, 0.5, 0.7, 0.86], d = 1.6, o = 1.9, i = Math.PI / 2, p = t.ink[0] / 255, h = t.ink[1] / 255, f = t.ink[2] / 255, v = t.accent[0] / 255 - p, _ = t.accent[1] / 255 - h, x = t.accent[2] / 255 - f, M = t.dark ? 0.04 : 0.03, S = t.dark ? 0.34 : 0.2, b = t.dark ? 0.9 : 0.6, m = Math.cos(Ae.ROT), N = Math.sin(Ae.ROT);
386
- function k(G, Z, X) {
386
+ function w(G, Z, X) {
387
387
  const Q = Math.sqrt(G * G + Z * Z + X * X), le = G / Q, he = Z / Q, fe = X / Q;
388
388
  return [le * m - he * N, le * N + he * m, fe];
389
389
  }
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);
390
+ const k = w(1.5, 2, 2.5), y = w(-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
393
  A[G] = Math.cos(Z * i), B[G] = Math.sin(Z * i), L[G] = Ut(1, 0.45, Z);
@@ -407,20 +407,20 @@ const Gc = (t) => {
407
407
  const G = Math.max(t.w(), 1), Z = Math.max(t.h(), 1);
408
408
  me = (G * Math.abs(m) + Z * Math.abs(N)) / 2, j = (G * Math.abs(N) + Z * Math.abs(m)) / 2, ee = Math.min(1, Math.sqrt(42e4 / (4 * me * j))), te = Math.max(2, Math.round(2 * me * ee)), ie = Math.max(2, Math.round(2 * j * ee)), ne = Math.min(2.6, Math.max(0.7, 0.62 / ee)), H || (H = document.createElement("canvas")), H.width = te, H.height = ie, V = H.getContext("2d"), P = (V == null ? void 0 : V.createImageData(te, ie)) ?? null, W = P ? new Uint32Array(P.data.buffer) : null, K = new Float32Array(te);
409
409
  }
410
- let xe = 1, Ne = 0, Me = 0, se = 0, ke = 0, Te = 1, de = 0, Ee = 0, Ue = 0, De = 0, Pe = Ae.TENSION;
411
- const Ke = (G, Z, X, Q, le) => {
410
+ let xe = 1, Ne = 0, Me = 0, se = 0, we = 0, Te = 1, de = 0, Ee = 0, Ue = 0, De = 0, Pe = Ae.TENSION;
411
+ const Je = (G, Z, X, Q, le) => {
412
412
  const he = G * xe + Z * Ne, fe = -G * Ne + Z * xe - Me;
413
413
  let _e = X * xe + Q * Ne, ve = -X * Ne + Q * xe;
414
414
  ve < 0 && (_e = -_e, ve = -ve);
415
- const we = Ae.CAM - fe;
416
- if (we < d) {
415
+ const ke = Ae.CAM - fe;
416
+ if (ke < d) {
417
417
  q.x[de] = Number.NaN, q.z[de] = -1e9, q.a[de] = 0, q.lift[de] = 0, de++;
418
418
  return;
419
419
  }
420
- let Be = (we - d) * $;
420
+ let Be = (ke - d) * $;
421
421
  Be > 1 && (Be = 1);
422
- const Fe = Be * Be * (3 - 2 * Be), Se = he * Ae.FOCAL / we * De + te * 0.5;
423
- let Ce = -he, Le = -se, Ze = we;
422
+ const Fe = Be * Be * (3 - 2 * Be), Se = he * Ae.FOCAL / ke * De + te * 0.5;
423
+ let Ce = -he, Le = -se, Ze = ke;
424
424
  const Ie = 1 / Math.sqrt(Ce * Ce + Le * Le + Ze * Ze);
425
425
  Ce *= Ie, Le *= Ie, Ze *= Ie;
426
426
  let Ve = _e * Ce + ve * Ze;
@@ -429,21 +429,21 @@ const Gc = (t) => {
429
429
  let ct = (Ye * Math.sqrt(Ye) - 0.05) * g;
430
430
  ct < 0 ? ct = 0 : ct > 1 && (ct = 1);
431
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
- Je < 0 && (Je = 0);
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;
432
+ let st = k[0] + Ce, _t = k[1] + Le, at = k[2] + Ze, Lt = 1 / Math.sqrt(st * st + _t * _t + at * at), Qe = (_e * st + ve * at) * Lt;
433
+ Qe < 0 && (Qe = 0);
434
+ const Wt = Qe * Qe, 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), Qe = (_e * st + ve * at) * Lt, Qe < 0 && (Qe = 0);
436
+ const Ot = Qe * Qe, 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
439
  const tt = rt * rt * (3 - 2 * rt), Et = tn * 0.9 + nn * 0.45;
440
440
  let bt = Dt * 0.55 + Et;
441
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
- 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
- for (let we = 0; we < 14; we++) {
445
- const Be = Z ? 13 - we : we, Fe = A[Be], Se = B[Be], Ce = _e * Fe + G * ve * Se, Le = -G * _e * Se + ve * Fe;
446
- Ke(X + Ae.ROUND * (Ce - _e), he + Ae.ROUND * (Le - ve), Ce, Le, L[Be]);
443
+ const X = G * we, 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
+ for (let ke = 0; ke < 14; ke++) {
445
+ const Be = Z ? 13 - ke : ke, Fe = A[Be], Se = B[Be], Ce = _e * Fe + G * ve * Se, Le = -G * _e * Se + ve * Fe;
446
+ Je(X + Ae.ROUND * (Ce - _e), he + Ae.ROUND * (Le - ve), Ce, Le, L[Be]);
447
447
  }
448
448
  };
449
449
  function R(G, Z, X) {
@@ -452,13 +452,13 @@ const Gc = (t) => {
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 = 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
- const Fe = 2 * ke / 107, Se = Math.cos(Fe), Ce = Math.sin(Fe);
458
- let Le = Math.cos(-ke), Ze = Math.sin(-ke);
455
+ const ve = se < 0 ? -se : se, ke = Ut(7, 1, ve), Be = se * E.twist * Ut(8, 0, ve) - he;
456
+ xe = Math.cos(Be), Ne = Math.sin(Be), we = Ae.WIDTH * ke, Te = Ut(0.06, 0.46, xe < 0 ? -xe : xe) * Ut(0, 0.06, ke), q = Z, de = 0, Ee = 1e9, Ue = -1e9, ze(-1, !0);
457
+ const Fe = 2 * we / 107, Se = Math.cos(Fe), Ce = Math.sin(Fe);
458
+ let Le = Math.cos(-we), Ze = Math.sin(-we);
459
459
  for (let Ie = 0; Ie < 108; Ie++) {
460
460
  const Ve = 1 / Math.sqrt(Pe * Pe * Le * Le + 1);
461
- Ke(-ke + Ie * Fe, -Ze * Pe, Pe * Le * Ve, Ve, 1);
461
+ Je(-we + Ie * Fe, -Ze * Pe, Pe * Le * Ve, Ve, 1);
462
462
  const Ye = Le * Se - Ze * Ce;
463
463
  Ze = Ze * Se + Le * Ce, Le = Ye;
464
464
  }
@@ -469,16 +469,16 @@ const Gc = (t) => {
469
469
  let _e = Z.minx < X.minx ? Z.minx : X.minx;
470
470
  const ve = Q.minx < le.minx ? Q.minx : le.minx;
471
471
  ve < _e && (_e = ve);
472
- let we = Z.maxx > X.maxx ? Z.maxx : X.maxx;
472
+ let ke = Z.maxx > X.maxx ? Z.maxx : X.maxx;
473
473
  const Be = Q.maxx > le.maxx ? Q.maxx : le.maxx;
474
- Be > we && (we = Be);
475
- let Fe = Math.floor(_e), Se = Math.ceil(we);
474
+ Be > ke && (ke = Be);
475
+ let Fe = Math.floor(_e), Se = Math.ceil(ke);
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, 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];
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, Qe = 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 * Qe[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 * 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];
481
+ const nt = Ie * ct[oe] + Ve * Dt[oe] + Ye * st[oe] + ut * _t[oe], Zt = Ie * at[oe] + Ve * Lt[oe] + Ye * Qe[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) {
@@ -532,14 +532,14 @@ const Gc = (t) => {
532
532
  const ve = le + 2 < Z ? le + 2 : Z;
533
533
  for (; Q < ve; )
534
534
  Q++, R(X(Q), O[Q & 3], G);
535
- const we = fe - he;
535
+ const ke = fe - he;
536
536
  U(
537
537
  _e,
538
538
  O[(le > 0 ? le - 1 : 0) & 3],
539
539
  O[le & 3],
540
540
  O[le + 1 & 3],
541
541
  O[(le + 2 < Z ? le + 2 : Z) & 3],
542
- we > 0 ? (_e - he) / we : 0
542
+ ke > 0 ? (_e - he) / ke : 0
543
543
  );
544
544
  }
545
545
  V.putImageData(P, 0, 0);
@@ -585,14 +585,14 @@ function Er({
585
585
  const d = ((P = window.matchMedia) == null ? void 0 : P.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, o = n === "dark", i = getComputedStyle(a), p = Zc(i, "--select-dot", o ? [235, 238, 255] : [64, 68, 92]), h = Vc(i.getPropertyValue("--select-primary"), o ? [255, 255, 255] : [33, 37, 41]);
586
586
  let f = 0, v = 0, _ = 0, x = 0, M = null, S = 0;
587
587
  const b = 1.2, m = { x: 0, y: 0 }, N = { x: 0, y: 0, active: !1 };
588
- let k = 0, w = 0, y = -10;
588
+ let w = 0, k = 0, y = -10;
589
589
  const $ = We.quickTo(m, "x", { duration: 0.5, ease: "power3.out" }), g = We.quickTo(m, "y", { duration: 0.5, ease: "power3.out" });
590
590
  function C(W, K) {
591
591
  if (!M) return;
592
592
  const te = M.getBoundingClientRect(), ie = te.left - _ + te.width / 2, me = te.top - x + te.height / 2, j = te.width / 2, ee = te.height / 2, ne = 18, $e = (W - ie) / (j + ne), xe = (K - me) / (ee + ne), Ne = Math.sqrt($e * $e + xe * xe), Me = Ne < 1 ? 1 - Ne : 0, se = Me * Me * (3 - 2 * Me);
593
593
  if (se > 1e-3 || S > 1e-3) {
594
- const ke = gt((W - ie) / Math.max(j, 1), -1, 1) * 10 * se, Te = gt((K - me) / Math.max(ee, 1), -1, 1) * 10 * se;
595
- M.style.setProperty("--select-card-glow", se.toFixed(3)), M.style.setProperty("--select-card-glow-rgb", `${h[0]}, ${h[1]}, ${h[2]}`), M.style.setProperty("--select-card-glow-x", `${ke.toFixed(1)}px`), M.style.setProperty("--select-card-glow-y", `${Te.toFixed(1)}px`);
594
+ const we = gt((W - ie) / Math.max(j, 1), -1, 1) * 10 * se, Te = gt((K - me) / Math.max(ee, 1), -1, 1) * 10 * se;
595
+ M.style.setProperty("--select-card-glow", se.toFixed(3)), M.style.setProperty("--select-card-glow-rgb", `${h[0]}, ${h[1]}, ${h[2]}`), M.style.setProperty("--select-card-glow-x", `${we.toFixed(1)}px`), M.style.setProperty("--select-card-glow-y", `${Te.toFixed(1)}px`);
596
596
  }
597
597
  S = se;
598
598
  }
@@ -606,15 +606,15 @@ function Er({
606
606
  const K = Math.min(window.devicePixelRatio || 1, 2);
607
607
  a.width = Math.round(f * K), a.height = Math.round(v * K), r.setTransform(K, 0, 0, K, 0, 0);
608
608
  const te = a.closest(".select-auth") ?? document;
609
- M = l ? te.querySelector(l) : null, m.x === 0 && m.y === 0 && (m.x = k = f / 2, m.y = w = v / 2), L.build();
609
+ M = l ? te.querySelector(l) : null, m.x === 0 && m.y === 0 && (m.x = w = f / 2, m.y = k = v / 2), L.build();
610
610
  }
611
611
  let T = -1;
612
612
  function O(W) {
613
613
  const K = T < 0 ? 0 : Math.min(W - T, 0.05);
614
- T = W, E && (N.active = W - y < b, $(N.active ? k : f / 2), g(N.active ? w : v / 2), N.x = m.x, N.y = m.y), L.frame(W, K);
614
+ T = W, E && (N.active = W - y < b, $(N.active ? w : f / 2), g(N.active ? k : v / 2), N.x = m.x, N.y = m.y), L.frame(W, K);
615
615
  }
616
616
  function q(W) {
617
- k = W.clientX - _, w = W.clientY - x, y = We.ticker.time;
617
+ w = W.clientX - _, k = W.clientY - x, y = We.ticker.time;
618
618
  }
619
619
  function H() {
620
620
  const W = a.getBoundingClientRect();
@@ -660,13 +660,13 @@ const Br = I(function({ title: n, subtitle: l, logo: c, mark: s, children: a, fo
660
660
  ...h
661
661
  }, f) {
662
662
  const [v, _] = D([]), x = J(0), M = (b) => {
663
- var w;
664
- if (i == null || i(b), o || s || typeof window < "u" && ((w = window.matchMedia) != null && w.call(window, "(prefers-reduced-motion: reduce)").matches)) return;
665
- const m = b.currentTarget.getBoundingClientRect(), N = Math.max(m.width, m.height) * 2, k = x.current++;
663
+ var k;
664
+ if (i == null || i(b), o || s || typeof window < "u" && ((k = window.matchMedia) != null && k.call(window, "(prefers-reduced-motion: reduce)").matches)) return;
665
+ const m = b.currentTarget.getBoundingClientRect(), N = Math.max(m.width, m.height) * 2, w = x.current++;
666
666
  _((y) => [
667
667
  ...y,
668
668
  {
669
- key: k,
669
+ key: w,
670
670
  style: {
671
671
  width: N,
672
672
  height: N,
@@ -949,7 +949,7 @@ function Qr() {
949
949
  /* @__PURE__ */ e("path", { d: "m9.05 11.87 1.61 1.61 4.3-4.3" })
950
950
  ] });
951
951
  }
952
- function et() {
952
+ function Ke() {
953
953
  return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "3", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M5 12.5 10 17.5 19 6.5" }) });
954
954
  }
955
955
  function Kl() {
@@ -1083,12 +1083,19 @@ function mo() {
1083
1083
  ] });
1084
1084
  }
1085
1085
  function fo() {
1086
+ return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
1087
+ /* @__PURE__ */ e("path", { d: "M9.5 14.5 14.5 9.5" }),
1088
+ /* @__PURE__ */ e("path", { d: "M13.6 6.8l1.3-1.3a3.9 3.9 0 0 1 5.6 5.6l-2.5 2.5a3.9 3.9 0 0 1-5.6 0" }),
1089
+ /* @__PURE__ */ e("path", { d: "M10.4 17.2l-1.3 1.3a3.9 3.9 0 0 1-5.6-5.6l2.5-2.5a3.9 3.9 0 0 1 5.6 0" })
1090
+ ] });
1091
+ }
1092
+ function _o() {
1086
1093
  return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
1087
1094
  /* @__PURE__ */ e("path", { d: "M2 2v17c0 1.66 1.34 3 3 3h17" }),
1088
1095
  /* @__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" })
1089
1096
  ] });
1090
1097
  }
1091
- function _o({ duotone: t = !1 } = {}) {
1098
+ function vo({ duotone: t = !1 } = {}) {
1092
1099
  return t ? /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "currentColor", "aria-hidden": "true", children: [
1093
1100
  /* @__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" }),
1094
1101
  /* @__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" })
@@ -1098,22 +1105,22 @@ function _o({ duotone: t = !1 } = {}) {
1098
1105
  /* @__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" })
1099
1106
  ] });
1100
1107
  }
1101
- function vo() {
1108
+ function go() {
1102
1109
  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" }) });
1103
1110
  }
1104
- function go() {
1111
+ function bo() {
1105
1112
  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" }) });
1106
1113
  }
1107
- function bo() {
1114
+ function xo() {
1108
1115
  return /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: [
1109
1116
  /* @__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" }),
1110
1117
  /* @__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" })
1111
1118
  ] });
1112
1119
  }
1113
- function xo() {
1120
+ function yo() {
1114
1121
  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" }) });
1115
1122
  }
1116
- function yo({ duotone: t = !1 } = {}) {
1123
+ function No({ duotone: t = !1 } = {}) {
1117
1124
  return t ? /* @__PURE__ */ u("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true", children: [
1118
1125
  /* @__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" }),
1119
1126
  /* @__PURE__ */ e("path", { fill: "currentColor", d: "M17 17h-2c-.55 0-1 .45-1 1v4h4v-4c0-.55-.45-1-1-1Z" }),
@@ -1169,12 +1176,12 @@ function Kn({
1169
1176
  },
1170
1177
  []
1171
1178
  );
1172
- const k = Qe(() => {
1179
+ const w = et(() => {
1173
1180
  var g;
1174
- const w = ((g = f.current) == null ? void 0 : g.firstElementChild) ?? f.current, y = v.current;
1175
- if (!w || !y) return;
1181
+ const k = ((g = f.current) == null ? void 0 : g.firstElementChild) ?? f.current, y = v.current;
1182
+ if (!k || !y) return;
1176
1183
  const $ = nc(
1177
- w.getBoundingClientRect(),
1184
+ k.getBoundingClientRect(),
1178
1185
  { width: y.offsetWidth, height: y.offsetHeight },
1179
1186
  l,
1180
1187
  6
@@ -1186,27 +1193,27 @@ function Kn({
1186
1193
  M(null);
1187
1194
  return;
1188
1195
  }
1189
- k();
1190
- }, [h, k]), pe(() => {
1196
+ w();
1197
+ }, [h, w]), pe(() => {
1191
1198
  if (!h) return;
1192
- const w = () => k();
1193
- return window.addEventListener("scroll", w, !0), window.addEventListener("resize", w), () => {
1194
- window.removeEventListener("scroll", w, !0), window.removeEventListener("resize", w);
1199
+ const k = () => w();
1200
+ return window.addEventListener("scroll", k, !0), window.addEventListener("resize", k), () => {
1201
+ window.removeEventListener("scroll", k, !0), window.removeEventListener("resize", k);
1195
1202
  };
1196
- }, [h, k]), pe(() => {
1203
+ }, [h, w]), pe(() => {
1197
1204
  if (!h) return;
1198
- const w = (y) => {
1205
+ const k = (y) => {
1199
1206
  y.key === "Escape" && (o(!1), r(!1));
1200
1207
  };
1201
- return document.addEventListener("keydown", w), () => document.removeEventListener("keydown", w);
1208
+ return document.addEventListener("keydown", k), () => document.removeEventListener("keydown", k);
1202
1209
  }, [h]), pe(() => {
1203
1210
  if (!d) return;
1204
- const w = (y) => {
1211
+ const k = (y) => {
1205
1212
  var g, C;
1206
1213
  const $ = y.target;
1207
1214
  (g = f.current) != null && g.contains($) || (C = v.current) != null && C.contains($) || (o(!1), r(!1));
1208
1215
  };
1209
- return document.addEventListener("mousedown", w, !0), () => document.removeEventListener("mousedown", w, !0);
1216
+ return document.addEventListener("mousedown", k, !0), () => document.removeEventListener("mousedown", k, !0);
1210
1217
  }, [d]), /* @__PURE__ */ u(ue, { children: [
1211
1218
  /* @__PURE__ */ e(
1212
1219
  "span",
@@ -1215,8 +1222,8 @@ function Kn({
1215
1222
  ref: f,
1216
1223
  onMouseEnter: b,
1217
1224
  onMouseLeave: m,
1218
- onFocusCapture: (w) => {
1219
- ms(w.target) && r(!0);
1225
+ onFocusCapture: (k) => {
1226
+ ms(k.target) && r(!0);
1220
1227
  },
1221
1228
  onBlurCapture: m,
1222
1229
  onClick: s ? N : void 0,
@@ -1272,10 +1279,10 @@ const ft = I(function({ content: n, title: l, label: c = "Mais informações", p
1272
1279
  ] }),
1273
1280
  a
1274
1281
  ] });
1275
- }), pt = I(function({ label: n, value: l, onChange: c, type: s = "text", labelAction: a, help: r, info: d, description: o, hint: i, 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) {
1276
- const H = ge(), V = k ?? H, [P, W] = D(!1), K = s === "password", te = K && P ? "text" : s, ie = p ? `${V}-err` : i ? `${V}-hint` : void 0, me = h != null || f != null, j = s === "number" && !me && !m, ee = l === "" ? null : Number(l), ne = (se) => {
1277
- const ke = Number(C ?? 1) || 1;
1278
- let de = (ee != null && Number.isFinite(ee) ? ee : 0) + se * ke;
1282
+ }), pt = I(function({ label: n, value: l, onChange: c, type: s = "text", labelAction: a, help: r, info: d, description: o, hint: i, error: p, prefix: h, suffix: f, trailingAction: v, mono: _, autoComplete: x, placeholder: M, required: S, disabled: b, readOnly: m, name: N, id: w, minLength: k, maxLength: y, min: $, max: g, step: C, inputMode: A, autoFocus: B, onBlur: L, onKeyDown: E, size: F = "md", className: T, ...O }, q) {
1283
+ const H = ge(), V = w ?? H, [P, W] = D(!1), K = s === "password", te = K && P ? "text" : s, ie = p ? `${V}-err` : i ? `${V}-hint` : void 0, me = h != null || f != null, j = s === "number" && !me && !m, ee = l === "" ? null : Number(l), ne = (se) => {
1284
+ const we = Number(C ?? 1) || 1;
1285
+ let de = (ee != null && Number.isFinite(ee) ? ee : 0) + se * we;
1279
1286
  $ != null && (de = Math.max(Number($), de)), g != null && (de = Math.min(Number(g), de)), c(String(de));
1280
1287
  }, $e = $ != null && ee != null && ee <= Number($), xe = g != null && ee != null && ee >= Number(g), Ne = /* @__PURE__ */ e(
1281
1288
  "input",
@@ -1293,7 +1300,7 @@ const ft = I(function({ content: n, title: l, label: c = "Mais informações", p
1293
1300
  disabled: b,
1294
1301
  readOnly: m,
1295
1302
  name: N,
1296
- minLength: w,
1303
+ minLength: k,
1297
1304
  maxLength: y,
1298
1305
  min: $,
1299
1306
  max: g,
@@ -1353,7 +1360,7 @@ const ft = I(function({ content: n, title: l, label: c = "Mais informações", p
1353
1360
  ] }) : Me,
1354
1361
  p ? /* @__PURE__ */ e("p", { id: `${V}-err`, className: "select-field__error", children: p }) : i ? /* @__PURE__ */ e("p", { id: `${V}-hint`, className: "select-field__hint", children: i }) : null
1355
1362
  ] });
1356
- }), No = I(function({ label: n, checked: l, onChange: c, disabled: s, hint: a, name: r, className: d, ...o }, i) {
1363
+ }), Mo = I(function({ label: n, checked: l, onChange: c, disabled: s, hint: a, name: r, className: d, ...o }, i) {
1357
1364
  return /* @__PURE__ */ u("span", { ref: i, ...o, className: `select-checkbox-field${s ? " select-checkbox-field--disabled" : ""}${d ? " " + d : ""}`, children: [
1358
1365
  /* @__PURE__ */ u("label", { className: "select-checkbox", children: [
1359
1366
  /* @__PURE__ */ e(
@@ -1366,20 +1373,20 @@ const ft = I(function({ content: n, title: l, label: c = "Mais informações", p
1366
1373
  onChange: (p) => c(p.target.checked)
1367
1374
  }
1368
1375
  ),
1369
- /* @__PURE__ */ e("span", { className: "select-checkbox__box", "aria-hidden": "true", children: /* @__PURE__ */ e(et, {}) }),
1376
+ /* @__PURE__ */ e("span", { className: "select-checkbox__box", "aria-hidden": "true", children: /* @__PURE__ */ e(Ke, {}) }),
1370
1377
  /* @__PURE__ */ e("span", { className: "select-checkbox__label", children: n })
1371
1378
  ] }),
1372
1379
  a && /* @__PURE__ */ e("span", { className: "select-checkbox__hint", children: a })
1373
1380
  ] });
1374
- }), Mo = I(function({ label: n, value: l, onChange: c, labelAction: s, help: a, info: r, description: d, hint: o, error: i, placeholder: p, rows: h = 4, mono: f, name: v, required: _, disabled: x, maxLength: M, onBlur: S, size: b = "md", className: m, ...N }, k) {
1375
- const w = ge(), y = i ? `${w}-err` : o ? `${w}-hint` : void 0;
1376
- return /* @__PURE__ */ u("div", { ref: k, ...N, className: `select-field${b === "sm" ? " select-field--sm" : ""}${m ? " " + m : ""}`, children: [
1377
- (n || a || r || s) && /* @__PURE__ */ e(Tt, { htmlFor: w, label: n, help: a, info: r, action: s }),
1381
+ }), ko = I(function({ label: n, value: l, onChange: c, labelAction: s, help: a, info: r, description: d, hint: o, error: i, placeholder: p, rows: h = 4, mono: f, name: v, required: _, disabled: x, maxLength: M, onBlur: S, size: b = "md", className: m, ...N }, w) {
1382
+ const k = ge(), y = i ? `${k}-err` : o ? `${k}-hint` : void 0;
1383
+ return /* @__PURE__ */ u("div", { ref: w, ...N, className: `select-field${b === "sm" ? " select-field--sm" : ""}${m ? " " + m : ""}`, children: [
1384
+ (n || a || r || s) && /* @__PURE__ */ e(Tt, { htmlFor: k, label: n, help: a, info: r, action: s }),
1378
1385
  d && /* @__PURE__ */ e("p", { className: "select-field__desc", children: d }),
1379
1386
  /* @__PURE__ */ e(
1380
1387
  "textarea",
1381
1388
  {
1382
- id: w,
1389
+ id: k,
1383
1390
  className: `select-input select-textarea${f ? " select-textarea--mono" : ""}${i ? " select-input--error" : ""}`,
1384
1391
  value: l,
1385
1392
  onChange: ($) => c($.target.value),
@@ -1394,7 +1401,7 @@ const ft = I(function({ content: n, title: l, label: c = "Mais informações", p
1394
1401
  "aria-describedby": y
1395
1402
  }
1396
1403
  ),
1397
- i ? /* @__PURE__ */ e("p", { id: `${w}-err`, className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { id: `${w}-hint`, className: "select-field__hint", children: o }) : null
1404
+ i ? /* @__PURE__ */ e("p", { id: `${k}-err`, className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { id: `${k}-hint`, className: "select-field__hint", children: o }) : null
1398
1405
  ] });
1399
1406
  }), wo = I(function({ label: n, value: l, onChange: c, unit: s, info: a, hint: r, error: d, placeholder: o = "0", disabled: i = !1, min: p, max: h, className: f, ...v }, _) {
1400
1407
  const x = ge();
@@ -1433,26 +1440,26 @@ function ol(t, n) {
1433
1440
  }
1434
1441
  return 0;
1435
1442
  }
1436
- const ko = I(function({ label: n, value: l, onChange: c, info: s, hint: a, error: r, onBlur: d, placeholder: o = "0,00", name: i, disabled: p = !1, size: h = "md", className: f, ...v }, _) {
1443
+ const $o = I(function({ label: n, value: l, onChange: c, info: s, hint: a, error: r, onBlur: d, placeholder: o = "0,00", name: i, disabled: p = !1, size: h = "md", className: f, ...v }, _) {
1437
1444
  const x = ge(), M = J(null), S = J(null), b = l == null ? "" : rl.format(l / 100);
1438
1445
  qe(() => {
1439
1446
  const N = M.current;
1440
1447
  if (!N || S.current == null) return;
1441
- const k = S.current;
1448
+ const w = S.current;
1442
1449
  if (S.current = null, document.activeElement !== N) return;
1443
1450
  N.value !== b && (N.value = b);
1444
- const w = ol(N.value, k);
1445
- N.setSelectionRange(w, w);
1451
+ const k = ol(N.value, w);
1452
+ N.setSelectionRange(k, k);
1446
1453
  });
1447
1454
  const m = (N) => {
1448
- const k = N.currentTarget, w = k.value, y = k.selectionStart ?? w.length;
1449
- let $ = Bn(w.slice(0, y)), g = Bn(w.slice(y));
1455
+ const w = N.currentTarget, k = w.value, y = w.selectionStart ?? k.length;
1456
+ let $ = Bn(k.slice(0, y)), g = Bn(k.slice(y));
1450
1457
  if ($ + g === Bn(b)) {
1451
1458
  const E = N.nativeEvent.inputType;
1452
1459
  E === "deleteContentBackward" && $ ? $ = $.slice(0, -1) : E === "deleteContentForward" && g && (g = g.slice(1));
1453
1460
  }
1454
1461
  const C = $ + g, A = C ? parseInt(C, 10) : 0, B = rl.format(A / 100), L = ol(B, g.length);
1455
- k.value = B, k.setSelectionRange(L, L), S.current = g.length, c(A);
1462
+ w.value = B, w.setSelectionRange(L, L), S.current = g.length, c(A);
1456
1463
  };
1457
1464
  return /* @__PURE__ */ u("div", { ref: _, ...v, className: `select-field${h === "sm" ? " select-field--sm" : ""}${f ? " " + f : ""}`, children: [
1458
1465
  n && /* @__PURE__ */ e(Tt, { htmlFor: x, label: n, info: s }),
@@ -1497,7 +1504,7 @@ function _s(t) {
1497
1504
  const n = Jn(t).slice(0, 14);
1498
1505
  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");
1499
1506
  }
1500
- function $o({
1507
+ function So({
1501
1508
  label: t = "CPF/CNPJ",
1502
1509
  value: n,
1503
1510
  onChange: l,
@@ -1588,7 +1595,7 @@ function oc(t) {
1588
1595
  return t;
1589
1596
  }
1590
1597
  }
1591
- const So = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, allowMultiple: a = !0, maxFiles: r, hint: d, className: o, ...i }, p) {
1598
+ const Co = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, allowMultiple: a = !0, maxFiles: r, hint: d, className: o, ...i }, p) {
1592
1599
  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]);
1593
1600
  pe(
1594
1601
  () => () => {
@@ -1598,7 +1605,7 @@ const So = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1598
1605
  },
1599
1606
  [S]
1600
1607
  );
1601
- const b = Qe(
1608
+ const b = et(
1602
1609
  (C) => {
1603
1610
  const A = C.filter((B) => B.size <= M && cc(B, c));
1604
1611
  if (x(C.length - A.length), A.length) {
@@ -1615,10 +1622,10 @@ const So = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1615
1622
  onDrop: (C) => {
1616
1623
  C.preventDefault(), v(!1), b(Array.from(C.dataTransfer.files));
1617
1624
  }
1618
- }, k = () => {
1625
+ }, w = () => {
1619
1626
  var C;
1620
1627
  return (C = h.current) == null ? void 0 : C.click();
1621
- }, w = (C) => l(n.filter((A, B) => B !== C)), y = r != null && n.length >= r, $ = (a || n.length === 0) && !y, g = n.length > 0;
1628
+ }, k = (C) => l(n.filter((A, B) => B !== C)), y = r != null && n.length >= r, $ = (a || n.length === 0) && !y, g = n.length > 0;
1622
1629
  return /* @__PURE__ */ u("div", { ref: p, ...i, className: `select-dropzone-wrap${o ? " " + o : ""}`, children: [
1623
1630
  g && /* @__PURE__ */ u("div", { className: "select-filetile-grid", children: [
1624
1631
  n.map((C, A) => /* @__PURE__ */ e(
@@ -1628,7 +1635,7 @@ const So = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1628
1635
  docExt: ac(C.name),
1629
1636
  name: C.name,
1630
1637
  sub: lc(C.size),
1631
- onRemove: () => w(A)
1638
+ onRemove: () => k(A)
1632
1639
  },
1633
1640
  `${C.name}-${A}`
1634
1641
  )),
@@ -1637,7 +1644,7 @@ const So = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1637
1644
  {
1638
1645
  type: "button",
1639
1646
  className: `select-dropzone select-dropzone--tile${f ? " is-over" : ""}`,
1640
- onClick: k,
1647
+ onClick: w,
1641
1648
  ...N,
1642
1649
  children: [
1643
1650
  /* @__PURE__ */ e(fn, {}),
@@ -1651,7 +1658,7 @@ const So = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1651
1658
  {
1652
1659
  type: "button",
1653
1660
  className: `select-dropzone${f ? " is-over" : ""}`,
1654
- onClick: k,
1661
+ onClick: w,
1655
1662
  ...N,
1656
1663
  children: [
1657
1664
  /* @__PURE__ */ e(fn, {}),
@@ -1684,7 +1691,7 @@ const So = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1684
1691
  /* @__PURE__ */ e("span", { className: "select-addbtn__icon", "aria-hidden": "true", children: c ?? /* @__PURE__ */ e(Ct, {}) }),
1685
1692
  n
1686
1693
  ] });
1687
- }), Co = I(function({ label: n, urls: l, onChange: c, maxUrls: s, placeholder: a, helpText: r, className: d, ...o }, i) {
1694
+ }), Lo = I(function({ label: n, urls: l, onChange: c, maxUrls: s, placeholder: a, helpText: r, className: d, ...o }, i) {
1688
1695
  const [p, h] = D(""), [f, v] = D(null), _ = s != null && l.length >= s, x = () => {
1689
1696
  const b = p.trim();
1690
1697
  if (b) {
@@ -1726,7 +1733,7 @@ const So = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1726
1733
  r != null && !f && /* @__PURE__ */ e("p", { className: "select-field__hint", children: r })
1727
1734
  ] });
1728
1735
  }), gs = I(function({ label: n, mode: l = "multiple", files: c, onFilesChange: s, urls: a, onUrlsChange: r, accept: d = ".jpg,.jpeg,.png,.webp", maxSizeMB: o = 3, maxItems: i = 10, maxFiles: p, uploadHint: h, urlPlaceholder: f, helpText: v, className: _, ...x }, M) {
1729
- 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, i), 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]);
1736
+ const S = l === "single", b = J(null), [m, N] = D(!1), [w, k] = D(0), [y, $] = D(""), [g, C] = D(null), A = S ? 1 : Math.max(1, i), 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]);
1730
1737
  pe(
1731
1738
  () => () => {
1732
1739
  q.forEach((j) => {
@@ -1737,7 +1744,7 @@ const So = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1737
1744
  );
1738
1745
  const H = (j) => {
1739
1746
  const ee = j.filter((xe) => xe.size <= O && cc(xe, d));
1740
- if (w(j.length - ee.length), !ee.length) return;
1747
+ if (k(j.length - ee.length), !ee.length) return;
1741
1748
  if (S) {
1742
1749
  r([]), s(ee.slice(0, 1));
1743
1750
  return;
@@ -1834,8 +1841,8 @@ const So = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1834
1841
  }
1835
1842
  )
1836
1843
  ] }),
1837
- k > 0 && /* @__PURE__ */ u(Pt, { tone: "warning", children: [
1838
- k,
1844
+ w > 0 && /* @__PURE__ */ u(Pt, { tone: "warning", children: [
1845
+ w,
1839
1846
  " arquivo(s) ignorado(s): tipo não permitido ou acima de ",
1840
1847
  o,
1841
1848
  " MB."
@@ -1860,7 +1867,7 @@ const So = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1860
1867
  id: m,
1861
1868
  className: `select-input select-select${p ? " select-input--error" : ""}`,
1862
1869
  value: l,
1863
- onChange: (k) => c(k.target.value),
1870
+ onChange: (w) => c(w.target.value),
1864
1871
  name: f,
1865
1872
  required: v,
1866
1873
  disabled: _,
@@ -1868,7 +1875,7 @@ const So = I(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1868
1875
  "aria-describedby": N,
1869
1876
  children: [
1870
1877
  h && /* @__PURE__ */ e("option", { value: "", disabled: !0, children: h }),
1871
- s.map((k) => /* @__PURE__ */ e("option", { value: k.value, disabled: k.disabled, children: k.label }, k.value))
1878
+ s.map((w) => /* @__PURE__ */ e("option", { value: w.value, disabled: w.disabled, children: w.label }, w.value))
1872
1879
  ]
1873
1880
  }
1874
1881
  ),
@@ -1882,7 +1889,7 @@ function dc() {
1882
1889
  return typeof window < "u" && !!((t = window.matchMedia) != null && t.call(window, "(prefers-reduced-motion: reduce)").matches);
1883
1890
  }
1884
1891
  const hc = () => typeof IntersectionObserver < "u";
1885
- function wn(t = {}) {
1892
+ function kn(t = {}) {
1886
1893
  const n = J(null), l = J(t);
1887
1894
  return l.current = t, qe(() => {
1888
1895
  const c = n.current;
@@ -1919,8 +1926,8 @@ function wn(t = {}) {
1919
1926
  We.set(x, M);
1920
1927
  const m = new IntersectionObserver(
1921
1928
  (N) => {
1922
- for (const k of N)
1923
- k.isIntersecting && (b(), f && m.unobserve(k.target));
1929
+ for (const w of N)
1930
+ w.isIntersecting && (b(), f && m.unobserve(w.target));
1924
1931
  },
1925
1932
  { threshold: 0 }
1926
1933
  );
@@ -2024,12 +2031,12 @@ function dt({
2024
2031
  matchWidth: o = !1,
2025
2032
  theme: i
2026
2033
  }) {
2027
- const p = J(null), h = J(null), f = J(null), [v, _] = D(null), [x, M] = D("light"), S = Qe(() => {
2028
- var w;
2029
- const b = ((w = p.current) == null ? void 0 : w.firstElementChild) ?? p.current, m = h.current;
2034
+ const p = J(null), h = J(null), f = J(null), [v, _] = D(null), [x, M] = D("light"), S = et(() => {
2035
+ var k;
2036
+ const b = ((k = p.current) == null ? void 0 : k.firstElementChild) ?? p.current, m = h.current;
2030
2037
  if (!b || !m) return;
2031
- const N = b.getBoundingClientRect(), k = nc(N, { width: m.offsetWidth, height: m.offsetHeight }, s, a);
2032
- _({ top: k.top, left: k.left, minWidth: o ? N.width : void 0 });
2038
+ const N = b.getBoundingClientRect(), w = nc(N, { width: m.offsetWidth, height: m.offsetHeight }, s, a);
2039
+ _({ top: w.top, left: w.left, minWidth: o ? N.width : void 0 });
2033
2040
  }, [s, a, o]);
2034
2041
  return qe(() => {
2035
2042
  if (!t) {
@@ -2060,9 +2067,9 @@ function dt({
2060
2067
  }, [t, S]), pe(() => {
2061
2068
  if (!t) return;
2062
2069
  const b = (N) => {
2063
- var w, y;
2064
- const k = N.target;
2065
- (w = h.current) != null && w.contains(k) || (y = p.current) != null && y.contains(k) || Ft.length && Ft[Ft.length - 1] !== h.current || n();
2070
+ var k, y;
2071
+ const w = N.target;
2072
+ (k = h.current) != null && k.contains(w) || (y = p.current) != null && y.contains(w) || Ft.length && Ft[Ft.length - 1] !== h.current || n();
2066
2073
  }, m = (N) => {
2067
2074
  N.key === "Escape" && (N.stopPropagation(), n());
2068
2075
  };
@@ -2089,18 +2096,18 @@ function dt({
2089
2096
  ] });
2090
2097
  }
2091
2098
  function Ns({ count: t, children: n }) {
2092
- 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 });
2099
+ const l = t > 0 ? Math.min(0.03, 0.35 / t) : 0, c = kn({ selector: ".select-combobox__option", y: 6, duration: 0.3, stagger: l });
2093
2100
  return /* @__PURE__ */ e("div", { className: "select-combobox__list", ref: c, children: n });
2094
2101
  }
2095
2102
  const Ms = I(function({ label: n, value: l, onChange: c, options: s, placeholder: a = "Selecionar…", searchPlaceholder: r = "Buscar…", labelAction: d, help: o, hint: i, error: p, emptyText: h = "Nenhum resultado", disabled: f, required: v, size: _ = "md", searchable: x = !0, className: M, ...S }, b) {
2096
- const m = ge(), [N, k] = D(!1), [w, y] = D(""), $ = s.find((L) => L.value === l), g = Oe(() => {
2097
- const L = w.trim().toLowerCase();
2103
+ const m = ge(), [N, w] = D(!1), [k, y] = D(""), $ = s.find((L) => L.value === l), g = Oe(() => {
2104
+ const L = k.trim().toLowerCase();
2098
2105
  return !x || !L ? s : s.filter((E) => {
2099
2106
  var F;
2100
2107
  return E.label.toLowerCase().includes(L) || ((F = E.secondary) == null ? void 0 : F.toLowerCase().includes(L));
2101
2108
  });
2102
- }, [s, w, x]), C = () => {
2103
- k(!1), y("");
2109
+ }, [s, k, x]), C = () => {
2110
+ w(!1), y("");
2104
2111
  }, A = (L) => {
2105
2112
  c(L), C();
2106
2113
  }, B = p ? `${m}-err` : i ? `${m}-hint` : void 0;
@@ -2126,7 +2133,7 @@ const Ms = I(function({ label: n, value: l, onChange: c, options: s, placeholder
2126
2133
  id: m,
2127
2134
  type: "button",
2128
2135
  className: `select-combobox__trigger${p ? " select-input--error" : ""}${N ? " is-open" : ""}`,
2129
- onClick: () => N ? C() : k(!0),
2136
+ onClick: () => N ? C() : w(!0),
2130
2137
  disabled: f,
2131
2138
  "aria-haspopup": "listbox",
2132
2139
  "aria-expanded": N,
@@ -2144,7 +2151,7 @@ const Ms = I(function({ label: n, value: l, onChange: c, options: s, placeholder
2144
2151
  {
2145
2152
  className: "select-combobox__searchinput",
2146
2153
  type: "text",
2147
- value: w,
2154
+ value: k,
2148
2155
  onChange: (L) => y(L.target.value),
2149
2156
  placeholder: r,
2150
2157
  autoFocus: !0
@@ -2166,7 +2173,7 @@ const Ms = I(function({ label: n, value: l, onChange: c, options: s, placeholder
2166
2173
  /* @__PURE__ */ e("span", { className: "select-combobox__optionlabel", children: L.label }),
2167
2174
  L.secondary && /* @__PURE__ */ e("span", { className: "select-combobox__optionsecondary", children: L.secondary })
2168
2175
  ] }),
2169
- E && /* @__PURE__ */ e("span", { className: "select-combobox__check", "aria-hidden": "true", children: /* @__PURE__ */ e(et, {}) })
2176
+ E && /* @__PURE__ */ e("span", { className: "select-combobox__check", "aria-hidden": "true", children: /* @__PURE__ */ e(Ke, {}) })
2170
2177
  ]
2171
2178
  },
2172
2179
  L.value
@@ -2177,14 +2184,14 @@ const Ms = I(function({ label: n, value: l, onChange: c, options: s, placeholder
2177
2184
  ) }),
2178
2185
  p ? /* @__PURE__ */ e("p", { id: `${m}-err`, className: "select-field__error", children: p }) : i ? /* @__PURE__ */ e("p", { id: `${m}-hint`, className: "select-field__hint", children: i }) : null
2179
2186
  ] });
2180
- }), ws = I(function({ children: n, columns: l = 2, className: c, ...s }, a) {
2187
+ }), ks = I(function({ children: n, columns: l = 2, className: c, ...s }, a) {
2181
2188
  return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-fieldgrid select-fieldgrid--${l}${c ? " " + c : ""}`, children: n });
2182
- }), ks = (t) => t.replace(/\D/g, "");
2189
+ }), ws = (t) => t.replace(/\D/g, "");
2183
2190
  function $s(t) {
2184
2191
  const n = t.replace(/[^\d-]/g, ""), [l = "", ...c] = n.split("-");
2185
2192
  return c.length ? `${l}-${c.join("").replace(/\D/g, "").slice(0, 2)}` : l;
2186
2193
  }
2187
- const Lo = I(function({ value: n, onChange: l, banks: c = [], showType: s = !1, error: a, className: r, ...d }, o) {
2194
+ const Ao = I(function({ value: n, onChange: l, banks: c = [], showType: s = !1, error: a, className: r, ...d }, o) {
2188
2195
  const i = (h) => l({ ...n, ...h }), p = c.map((h) => ({ label: h.name || h.code, value: h.code }));
2189
2196
  return /* @__PURE__ */ u("div", { ref: o, ...d, className: `select-stack${r ? " " + r : ""}`, children: [
2190
2197
  /* @__PURE__ */ e(
@@ -2200,8 +2207,8 @@ const Lo = I(function({ value: n, onChange: l, banks: c = [], showType: s = !1,
2200
2207
  error: a
2201
2208
  }
2202
2209
  ),
2203
- /* @__PURE__ */ u(ws, { columns: 2, children: [
2204
- /* @__PURE__ */ e(pt, { label: "Agência", value: n.agency, onChange: (h) => i({ agency: ks(h) }), inputMode: "numeric", maxLength: 6 }),
2210
+ /* @__PURE__ */ u(ks, { columns: 2, children: [
2211
+ /* @__PURE__ */ e(pt, { label: "Agência", value: n.agency, onChange: (h) => i({ agency: ws(h) }), inputMode: "numeric", maxLength: 6 }),
2205
2212
  /* @__PURE__ */ e(
2206
2213
  pt,
2207
2214
  {
@@ -2229,15 +2236,15 @@ const Lo = I(function({ value: n, onChange: l, banks: c = [], showType: s = !1,
2229
2236
  ] });
2230
2237
  }), Qn = I(function({ checked: n, onChange: l, disabled: c = !1, label: s, className: a, ...r }, d) {
2231
2238
  return /* @__PURE__ */ e("button", { ref: d, ...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" }) });
2232
- }), Ao = I(function({ children: n, scroll: l = !1, className: c, ...s }, a) {
2239
+ }), Eo = I(function({ children: n, scroll: l = !1, className: c, ...s }, a) {
2233
2240
  return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-togglelist${l ? " select-togglelist--scroll" : ""}${c ? " " + c : ""}`, children: n });
2234
- }), Eo = I(function({ icon: n, label: l, checked: c, onChange: s, disabled: a = !1, className: r, ...d }, o) {
2241
+ }), Bo = I(function({ icon: n, label: l, checked: c, onChange: s, disabled: a = !1, className: r, ...d }, o) {
2235
2242
  return /* @__PURE__ */ u("div", { ref: o, ...d, className: `select-togglerow${a ? " select-togglerow--disabled" : ""}${r ? " " + r : ""}`, children: [
2236
2243
  n && /* @__PURE__ */ e("span", { className: "select-togglerow__icon", children: n }),
2237
2244
  /* @__PURE__ */ e("span", { className: "select-togglerow__label", children: l }),
2238
2245
  /* @__PURE__ */ e(Qn, { checked: c, onChange: s, disabled: a, label: typeof l == "string" ? l : void 0 })
2239
2246
  ] });
2240
- }), Bo = I(function({ icon: n, title: l, checked: c, onChange: s, children: a, disabled: r = !1, className: d, ...o }, i) {
2247
+ }), Fo = I(function({ icon: n, title: l, checked: c, onChange: s, children: a, disabled: r = !1, className: d, ...o }, i) {
2241
2248
  return /* @__PURE__ */ u("div", { ref: i, ...o, className: `select-togglepanel${c ? " is-on" : ""}${d ? " " + d : ""}`, children: [
2242
2249
  /* @__PURE__ */ u("div", { className: "select-togglepanel__header", children: [
2243
2250
  /* @__PURE__ */ e(Qn, { checked: c, onChange: s, disabled: r, label: typeof l == "string" ? l : void 0 }),
@@ -2360,7 +2367,7 @@ function Ts(t) {
2360
2367
  var n;
2361
2368
  return ((n = pc.find((l) => l.iso === t)) == null ? void 0 : n.dial) ?? "";
2362
2369
  }
2363
- const Fo = I(function({ label: n, value: l, onChange: c, labelAction: s, hint: a, error: r, onBlur: d, placeholder: o, className: i, ...p }, h) {
2370
+ const Io = I(function({ label: n, value: l, onChange: c, labelAction: s, hint: a, error: r, onBlur: d, placeholder: o, className: i, ...p }, h) {
2364
2371
  const f = ge(), v = Ts(l.country), _ = r ? `${f}-err` : a ? `${f}-hint` : void 0;
2365
2372
  return /* @__PURE__ */ u("div", { ref: h, ...p, className: `select-field${i ? " " + i : ""}`, children: [
2366
2373
  /* @__PURE__ */ u("div", { className: "select-field__labelrow", children: [
@@ -2410,7 +2417,7 @@ const Fo = I(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
2410
2417
  ] }),
2411
2418
  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
2412
2419
  ] });
2413
- }), Io = I(function({ value: n, onChange: l, options: c, name: s, className: a, ...r }, d) {
2420
+ }), Ro = I(function({ value: n, onChange: l, options: c, name: s, className: a, ...r }, d) {
2414
2421
  const o = ge(), i = s ?? o;
2415
2422
  return /* @__PURE__ */ e("div", { ref: d, ...r, className: `select-radiogroup${a ? " " + a : ""}`, role: "radiogroup", children: c.map((p) => {
2416
2423
  const h = p.value === n;
@@ -2442,7 +2449,7 @@ const Fo = I(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
2442
2449
  p.value
2443
2450
  );
2444
2451
  }) });
2445
- }), Ro = I(function({ value: n, onChange: l, options: c, ariaLabel: s, fullWidth: a = !1, className: r, ...d }, o) {
2452
+ }), To = I(function({ value: n, onChange: l, options: c, ariaLabel: s, fullWidth: a = !1, className: r, ...d }, o) {
2446
2453
  const i = Math.max(0, c.findIndex((_) => _.value === n)), p = J([]), [h, f] = D(null);
2447
2454
  qe(() => {
2448
2455
  const _ = p.current[i];
@@ -2503,7 +2510,7 @@ const Fo = I(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
2503
2510
  chargeback: { label: "Chargeback", tone: "critical" },
2504
2511
  dispute: { label: "Em disputa", tone: "critical" }
2505
2512
  };
2506
- function To({
2513
+ function Po({
2507
2514
  status: t,
2508
2515
  map: n = Ps,
2509
2516
  size: l
@@ -2548,7 +2555,7 @@ function fc({ items: t, sections: n, onAction: l, autoFocus: c = !0, className:
2548
2555
  ))
2549
2556
  ] }, p)) });
2550
2557
  }
2551
- function Po({
2558
+ function Do({
2552
2559
  items: t,
2553
2560
  label: n = "Ações",
2554
2561
  disabled: l
@@ -2576,7 +2583,7 @@ function Po({
2576
2583
  }
2577
2584
  );
2578
2585
  }
2579
- const wt = {
2586
+ const kt = {
2580
2587
  0: "0",
2581
2588
  "025": "0.0625rem",
2582
2589
  "050": "var(--select-sp-1)",
@@ -2612,34 +2619,34 @@ const wt = {
2612
2619
  baseline: "baseline",
2613
2620
  stretch: "stretch"
2614
2621
  };
2615
- function kn(...t) {
2622
+ function wn(...t) {
2616
2623
  return t.filter(Boolean).join(" ");
2617
2624
  }
2618
2625
  function Wn({ children: t, gap: n, align: l, inlineAlign: c, as: s = "div", className: a, ...r }) {
2619
2626
  const d = s, o = {
2620
- rowGap: n ? wt[n] : void 0,
2627
+ rowGap: n ? kt[n] : void 0,
2621
2628
  justifyContent: l ? Yt[l] : void 0,
2622
2629
  alignItems: c ? Yt[c] : void 0
2623
2630
  };
2624
- return /* @__PURE__ */ e(d, { ...r, className: kn("select-stack", a), style: o, children: t });
2631
+ return /* @__PURE__ */ e(d, { ...r, className: wn("select-stack", a), style: o, children: t });
2625
2632
  }
2626
2633
  function qt({ children: t, gap: n, align: l, blockAlign: c = "center", wrap: s = !0, as: a = "div", className: r, ...d }) {
2627
2634
  const o = a, i = {
2628
- columnGap: n ? wt[n] : void 0,
2629
- rowGap: n ? wt[n] : void 0,
2635
+ columnGap: n ? kt[n] : void 0,
2636
+ rowGap: n ? kt[n] : void 0,
2630
2637
  justifyContent: l ? Yt[l] : void 0,
2631
2638
  alignItems: Yt[c],
2632
2639
  flexWrap: s ? "wrap" : "nowrap"
2633
2640
  };
2634
- return /* @__PURE__ */ e(o, { ...d, className: kn("select-inline", r), style: i, children: t });
2641
+ return /* @__PURE__ */ e(o, { ...d, className: wn("select-inline", r), style: i, children: t });
2635
2642
  }
2636
- function Do({ children: t, columns: n = 2, gap: l = "400", alignItems: c, collapseBelow: s, as: a = "div", className: r, ...d }) {
2643
+ function Wo({ children: t, columns: n = 2, gap: l = "400", alignItems: c, collapseBelow: s, as: a = "div", className: r, ...d }) {
2637
2644
  const o = a, i = {
2638
2645
  "--select-grid-columns": typeof n == "number" ? `repeat(${n}, minmax(0, 1fr))` : n,
2639
- gap: wt[l],
2646
+ gap: kt[l],
2640
2647
  alignItems: c ? Yt[c] : void 0
2641
2648
  };
2642
- return /* @__PURE__ */ e(o, { ...d, className: kn("select-grid", s && `select-grid--collapse-${s}`, r), style: i, children: t });
2649
+ return /* @__PURE__ */ e(o, { ...d, className: wn("select-grid", s && `select-grid--collapse-${s}`, r), style: i, children: t });
2643
2650
  }
2644
2651
  const Ds = {
2645
2652
  surface: "var(--select-surface)",
@@ -2656,9 +2663,9 @@ const Ds = {
2656
2663
  };
2657
2664
  function Os({ children: t, padding: n, paddingInline: l, paddingBlock: c, background: s, borderRadius: a, border: r = !1, shadow: d = !1, width: o, minHeight: i, as: p = "div", className: h, style: f, ...v }) {
2658
2665
  const _ = p, x = {
2659
- padding: n ? wt[n] : void 0,
2660
- paddingInline: l ? wt[l] : void 0,
2661
- paddingBlock: c ? wt[c] : void 0,
2666
+ padding: n ? kt[n] : void 0,
2667
+ paddingInline: l ? kt[l] : void 0,
2668
+ paddingBlock: c ? kt[c] : void 0,
2662
2669
  background: s ? Ds[s] : void 0,
2663
2670
  borderRadius: a ? Ws[a] : void 0,
2664
2671
  border: r ? "1px solid var(--select-border)" : void 0,
@@ -2667,9 +2674,9 @@ function Os({ children: t, padding: n, paddingInline: l, paddingBlock: c, backgr
2667
2674
  minHeight: i,
2668
2675
  ...f
2669
2676
  };
2670
- return /* @__PURE__ */ e(_, { ...v, className: kn("select-box", h), style: x, children: t });
2677
+ return /* @__PURE__ */ e(_, { ...v, className: wn("select-box", h), style: x, children: t });
2671
2678
  }
2672
- function kt({ children: t, as: n = "p", variant: l = "bodyMd", tone: c, fontWeight: s, alignment: a, truncate: r = !1, numeric: d = !1, className: o, ...i }) {
2679
+ function wt({ children: t, as: n = "p", variant: l = "bodyMd", tone: c, fontWeight: s, alignment: a, truncate: r = !1, numeric: d = !1, className: o, ...i }) {
2673
2680
  const p = n, h = [
2674
2681
  "select-text",
2675
2682
  `select-text--${l}`,
@@ -2731,7 +2738,7 @@ function pl(t) {
2731
2738
  var n;
2732
2739
  return ((n = _c(t)) == null ? void 0 : n.file) ?? null;
2733
2740
  }
2734
- function Wo({
2741
+ function Oo({
2735
2742
  method: t,
2736
2743
  cardBrand: n,
2737
2744
  /** Chip height in px; width is derived to a card aspect ratio (1.2). Default 24×29. */
@@ -2746,7 +2753,7 @@ function Wo({
2746
2753
  }) {
2747
2754
  const r = pl(n) ?? (t ? Zs[t] : null), d = n ? js(n) : void 0, o = a || d || (t ? sn[t] : void 0) || t || "—";
2748
2755
  if (!r)
2749
- return /* @__PURE__ */ e(kt, { as: "span", tone: "subdued", variant: "bodySm", children: a || t && sn[t] || d || t || "—" });
2756
+ return /* @__PURE__ */ e(wt, { as: "span", tone: "subdued", variant: "bodySm", children: a || t && sn[t] || d || t || "—" });
2750
2757
  const i = pl(n) == null, p = l, h = Math.round(l * 1.2);
2751
2758
  if (s) {
2752
2759
  const v = i ? Math.round(l * 0.7) : l, _ = /* @__PURE__ */ e(
@@ -2768,7 +2775,7 @@ function Wo({
2768
2775
  );
2769
2776
  return c ? /* @__PURE__ */ u(qt, { gap: "150", blockAlign: "center", wrap: !1, children: [
2770
2777
  _,
2771
- /* @__PURE__ */ e(kt, { as: "span", variant: "bodySm", children: a || t && sn[t] || d || t })
2778
+ /* @__PURE__ */ e(wt, { as: "span", variant: "bodySm", children: a || t && sn[t] || d || t })
2772
2779
  ] }) : _;
2773
2780
  }
2774
2781
  const f = /* @__PURE__ */ e(
@@ -2811,7 +2818,7 @@ function Wo({
2811
2818
  );
2812
2819
  return c ? /* @__PURE__ */ u(qt, { gap: "150", blockAlign: "center", wrap: !1, children: [
2813
2820
  f,
2814
- /* @__PURE__ */ e(kt, { as: "span", variant: "bodySm", children: a || t && sn[t] || d || t })
2821
+ /* @__PURE__ */ e(wt, { as: "span", variant: "bodySm", children: a || t && sn[t] || d || t })
2815
2822
  ] }) : f;
2816
2823
  }
2817
2824
  const He = I(function({ icon: n, label: l, onClick: c, disabled: s = !1, size: a = "md", variant: r = "ghost", active: d = !1, className: o, ...i }, p) {
@@ -3005,7 +3012,7 @@ function vn({ text: t, term: n }) {
3005
3012
  function sa(t = 1400) {
3006
3013
  const [n, l] = D(null), c = J(void 0);
3007
3014
  pe(() => () => window.clearTimeout(c.current), []);
3008
- const s = Qe(
3015
+ const s = et(
3009
3016
  (a, r) => {
3010
3017
  var d;
3011
3018
  (d = navigator.clipboard) == null || d.writeText(r), l(a), window.clearTimeout(c.current), c.current = window.setTimeout(() => l(null), t);
@@ -3069,7 +3076,7 @@ function Nc({
3069
3076
  "aria-label": `Copiar ${d}`,
3070
3077
  title: s.copied === x ? "Copiado!" : "Copiar valor",
3071
3078
  onClick: () => s.copy(x, h ? xc(o) : tl(o)),
3072
- children: s.copied === x ? /* @__PURE__ */ e(et, {}) : /* @__PURE__ */ e(Yn, {})
3079
+ children: s.copied === x ? /* @__PURE__ */ e(Ke, {}) : /* @__PURE__ */ e(Yn, {})
3073
3080
  }
3074
3081
  )
3075
3082
  ]
@@ -3083,21 +3090,21 @@ function aa({ text: t, term: n }) {
3083
3090
  const l = Oe(() => t.length > la ? null : ea(t), [t]);
3084
3091
  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 }) });
3085
3092
  }
3086
- const Oo = I(function({ value: n, title: l = "Metadados", maxHeight: c = 360, defaultOpen: s = !1, defaultExpandDepth: a = 1, searchable: r = !0, emptyLabel: d = "Sem dados", className: o, ...i }, p) {
3087
- 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(
3088
- () => typeof n == "string" && w === n ? n : xc(w),
3089
- [n, w]
3090
- ), g = Oe(() => Xt(w, () => {
3091
- }).truncated, [w]), C = v === "tree" && !g, A = Oe(() => g ? [] : Ks(w), [w, g]);
3093
+ const Ho = I(function({ value: n, title: l = "Metadados", maxHeight: c = 360, defaultOpen: s = !1, defaultExpandDepth: a = 1, searchable: r = !0, emptyLabel: d = "Sem dados", className: o, ...i }, p) {
3094
+ const [h, f] = D(s), [v, _] = D("tree"), [x, M] = D(""), [S, b] = D(/* @__PURE__ */ new Set()), [m, N] = sa(), w = J(null), k = Oe(() => zs(n), [n]), y = qs(k), $ = Oe(
3095
+ () => typeof n == "string" && k === n ? n : xc(k),
3096
+ [n, k]
3097
+ ), g = Oe(() => Xt(k, () => {
3098
+ }).truncated, [k]), C = v === "tree" && !g, A = Oe(() => g ? [] : Ks(k), [k, g]);
3092
3099
  pe(() => {
3093
- b(g ? /* @__PURE__ */ new Set() : Xs(w, a)), M("");
3094
- }, [w, a, g]);
3095
- const B = Oe(() => Qs(w, C ? x : ""), [w, x, C]), L = x.trim().length > 0, E = C ? B.count : na($, x);
3100
+ b(g ? /* @__PURE__ */ new Set() : Xs(k, a)), M("");
3101
+ }, [k, a, g]);
3102
+ const B = Oe(() => Qs(k, C ? x : ""), [k, x, C]), L = x.trim().length > 0, E = C ? B.count : na($, x);
3096
3103
  pe(() => {
3097
3104
  var V, P;
3098
- !h || !L || (P = (V = k.current) == null ? void 0 : V.querySelector(".select-json__hit")) == null || P.scrollIntoView({ block: "nearest" });
3105
+ !h || !L || (P = (V = w.current) == null ? void 0 : V.querySelector(".select-json__hit")) == null || P.scrollIntoView({ block: "nearest" });
3099
3106
  }, [h, L, x, v]);
3100
- const F = Qe((V) => {
3107
+ const F = et((V) => {
3101
3108
  b((P) => {
3102
3109
  const W = new Set(P);
3103
3110
  return W.delete(V) || W.add(V), W;
@@ -3105,7 +3112,7 @@ const Oo = I(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
3105
3112
  }, []), T = A.length > 0 && A.every((V) => S.has(V)), O = () => b(T ? /* @__PURE__ */ new Set() : new Set(A)), q = { expanded: S, toggle: F, search: x, result: B, copied: m, copy: N }, H = h && !y;
3106
3113
  return /* @__PURE__ */ u("div", { ref: p, ...i, className: `select-json${o ? " " + o : ""}`, children: [
3107
3114
  /* @__PURE__ */ u("div", { className: "select-json__head", children: [
3108
- /* @__PURE__ */ e(kt, { as: "h2", variant: "headingSm", children: l }),
3115
+ /* @__PURE__ */ e(wt, { as: "h2", variant: "headingSm", children: l }),
3109
3116
  /* @__PURE__ */ e(Vs, { open: H, onToggle: () => f((V) => !V), openLabel: "Ocultar", disabled: y, children: y ? d : "Mostrar" })
3110
3117
  ] }),
3111
3118
  H && /* @__PURE__ */ u("div", { className: "select-json__body", children: [
@@ -3149,7 +3156,7 @@ const Oo = I(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
3149
3156
  /* @__PURE__ */ e(
3150
3157
  He,
3151
3158
  {
3152
- icon: m === "all" ? /* @__PURE__ */ e(et, {}) : /* @__PURE__ */ e(hs, {}),
3159
+ icon: m === "all" ? /* @__PURE__ */ e(Ke, {}) : /* @__PURE__ */ e(hs, {}),
3153
3160
  label: m === "all" ? "Copiado!" : "Copiar JSON",
3154
3161
  size: "sm",
3155
3162
  active: m === "all",
@@ -3157,13 +3164,13 @@ const Oo = I(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
3157
3164
  }
3158
3165
  )
3159
3166
  ] }),
3160
- /* @__PURE__ */ e("div", { ref: k, className: "select-json__scroll", style: { maxHeight: c }, children: C ? L && B.count === 0 ? /* @__PURE__ */ e("div", { className: "select-json__empty", children: /* @__PURE__ */ u(kt, { as: "p", tone: "subdued", variant: "bodySm", children: [
3167
+ /* @__PURE__ */ e("div", { ref: w, className: "select-json__scroll", style: { maxHeight: c }, children: C ? L && B.count === 0 ? /* @__PURE__ */ e("div", { className: "select-json__empty", children: /* @__PURE__ */ u(wt, { as: "p", tone: "subdued", variant: "bodySm", children: [
3161
3168
  "Nenhuma chave ou valor corresponde a “",
3162
3169
  x.trim(),
3163
3170
  "”."
3164
- ] }) }) : /* @__PURE__ */ e("div", { className: "select-json__tree", children: ht(w) ? /* @__PURE__ */ e(Nc, { value: w, path: "", depth: 0, ancestors: [w], ctx: q }) : /* @__PURE__ */ u("div", { className: "select-json__row", style: { "--json-depth": 0 }, children: [
3171
+ ] }) }) : /* @__PURE__ */ e("div", { className: "select-json__tree", children: ht(k) ? /* @__PURE__ */ e(Nc, { value: k, path: "", depth: 0, ancestors: [k], ctx: q }) : /* @__PURE__ */ u("div", { className: "select-json__row", style: { "--json-depth": 0 }, children: [
3165
3172
  /* @__PURE__ */ e("span", { className: "select-json__caret select-json__caret--empty", "aria-hidden": "true" }),
3166
- /* @__PURE__ */ e("span", { className: "select-json__label", children: /* @__PURE__ */ e(yc, { value: w, term: x, forceFull: !0 }) })
3173
+ /* @__PURE__ */ e("span", { className: "select-json__label", children: /* @__PURE__ */ e(yc, { value: k, term: x, forceFull: !0 }) })
3167
3174
  ] }) }) : /* @__PURE__ */ e(aa, { text: $, term: x }) })
3168
3175
  ] })
3169
3176
  ] });
@@ -3173,7 +3180,7 @@ const Oo = I(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
3173
3180
  warning: "var(--select-warning-text)",
3174
3181
  info: "var(--select-info-text)",
3175
3182
  default: "var(--select-text-secondary)"
3176
- }, Ho = I(function({ items: n, className: l, ...c }, s) {
3183
+ }, jo = I(function({ items: n, className: l, ...c }, s) {
3177
3184
  var d;
3178
3185
  const a = n.length ? ((d = n[0]) == null ? void 0 : d.tone) ?? "default" : "default", r = { "--tl-final": ra[a] };
3179
3186
  return /* @__PURE__ */ e("ul", { ref: s, ...c, className: `select-timeline${l ? " " + l : ""}`, style: r, children: n.map((o, i) => /* @__PURE__ */ u("li", { className: "select-timeline__item", children: [
@@ -3189,18 +3196,18 @@ const Oo = I(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
3189
3196
  ] }, i)) });
3190
3197
  }), oa = I(function({ children: n, onClick: l, disabled: c = !1, tone: s = "default", className: a, ...r }, d) {
3191
3198
  return /* @__PURE__ */ e("button", { ref: d, ...r, type: "button", className: `select-linkbtn${s === "critical" ? " select-linkbtn--critical" : ""}${a ? " " + a : ""}`, onClick: l, disabled: c, children: n });
3192
- }), jo = I(function({ children: n, className: l, ...c }, s) {
3199
+ }), Zo = I(function({ children: n, className: l, ...c }, s) {
3193
3200
  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 });
3194
3201
  }), ia = I(function({ name: n, src: l, icon: c, dashed: s = !1, round: a = !1, className: r, ...d }, o) {
3195
3202
  var p, h;
3196
3203
  const i = ((h = (p = n == null ? void 0 : n.trim()) == null ? void 0 : p[0]) == null ? void 0 : h.toUpperCase()) ?? "?";
3197
3204
  return /* @__PURE__ */ e("span", { ref: o, ...d, 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: i }) });
3198
3205
  });
3199
- function Zo({ children: t, className: n, ...l }) {
3200
- const c = wn({ selector: ".select-optionrow", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
3206
+ function Vo({ children: t, className: n, ...l }) {
3207
+ const c = kn({ selector: ".select-optionrow", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
3201
3208
  return /* @__PURE__ */ e("div", { ...l, className: `select-optionlist${n ? " " + n : ""}`, ref: c, children: t });
3202
3209
  }
3203
- function Vo({
3210
+ function Go({
3204
3211
  title: t,
3205
3212
  subtitle: n,
3206
3213
  leading: l,
@@ -3218,7 +3225,7 @@ function Vo({
3218
3225
  ] }), i = `select-optionrow${a ? " select-optionrow--muted" : ""}`;
3219
3226
  return r ? /* @__PURE__ */ e("button", { type: "button", className: i, onClick: s, children: o }) : /* @__PURE__ */ e("div", { className: i, children: o });
3220
3227
  }
3221
- const Go = I(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix: s = "Conectado como", className: a, ...r }, d) {
3228
+ const Uo = I(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix: s = "Conectado como", className: a, ...r }, d) {
3222
3229
  return /* @__PURE__ */ u("span", { ref: d, ...r, className: `select-identity${a ? " " + a : ""}`, children: [
3223
3230
  /* @__PURE__ */ u("span", { className: "select-identity__text", children: [
3224
3231
  s,
@@ -3227,15 +3234,15 @@ const Go = I(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
3227
3234
  ] }),
3228
3235
  l && /* @__PURE__ */ e("button", { type: "button", className: "select-identity__action", onClick: l, children: c })
3229
3236
  ] });
3230
- }), Uo = I(function({ value: n, onChange: l, length: c = 6, onComplete: s, autoFocus: a = !1, disabled: r = !1, className: d, ...o }, i) {
3237
+ }), zo = I(function({ value: n, onChange: l, length: c = 6, onComplete: s, autoFocus: a = !1, disabled: r = !1, className: d, ...o }, i) {
3231
3238
  const p = J([]), h = Array.from({ length: c }, (b, m) => n[m] ?? ""), f = (b) => {
3232
3239
  var m;
3233
3240
  return (m = p.current[b]) == null ? void 0 : m.focus();
3234
3241
  }, v = (b, m) => {
3235
3242
  const N = h.slice();
3236
3243
  N[b] = m;
3237
- const k = N.join("").slice(0, c);
3238
- return l(k), k;
3244
+ const w = N.join("").slice(0, c);
3245
+ return l(w), w;
3239
3246
  }, _ = (b, m) => {
3240
3247
  const N = m.replace(/\D/g, "");
3241
3248
  if (!N) {
@@ -3243,18 +3250,18 @@ const Go = I(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
3243
3250
  return;
3244
3251
  }
3245
3252
  if (N.length === 1) {
3246
- const k = v(b, N);
3247
- b < c - 1 && f(b + 1), k.length === c && (s == null || s(k));
3253
+ const w = v(b, N);
3254
+ b < c - 1 && f(b + 1), w.length === c && (s == null || s(w));
3248
3255
  } else
3249
3256
  x(N, b);
3250
3257
  }, x = (b, m) => {
3251
3258
  const N = h.slice();
3252
3259
  for (let y = 0; y < b.length && m + y < c; y++)
3253
3260
  N[m + y] = b[y] ?? "";
3254
- const k = N.join("").slice(0, c);
3255
- l(k);
3256
- const w = Math.min(m + b.length, c) - 1;
3257
- f(Math.min(w + 1, c - 1)), k.length === c && (s == null || s(k));
3261
+ const w = N.join("").slice(0, c);
3262
+ l(w);
3263
+ const k = Math.min(m + b.length, c) - 1;
3264
+ f(Math.min(k + 1, c - 1)), w.length === c && (s == null || s(w));
3258
3265
  }, M = (b, m) => {
3259
3266
  m.key === "Backspace" && !h[b] && b > 0 ? (m.preventDefault(), v(b - 1, ""), f(b - 1)) : m.key === "ArrowLeft" && b > 0 ? (m.preventDefault(), f(b - 1)) : m.key === "ArrowRight" && b < c - 1 && (m.preventDefault(), f(b + 1));
3260
3267
  }, S = (b, m) => {
@@ -3284,7 +3291,7 @@ const Go = I(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
3284
3291
  m
3285
3292
  )) });
3286
3293
  });
3287
- function zo({
3294
+ function qo({
3288
3295
  children: t = "Voltar",
3289
3296
  onClick: n,
3290
3297
  href: l
@@ -3295,14 +3302,14 @@ function zo({
3295
3302
  ] });
3296
3303
  return l ? /* @__PURE__ */ e("a", { className: "select-backlink", href: l, children: c }) : /* @__PURE__ */ e("button", { type: "button", className: "select-backlink", onClick: n, children: c });
3297
3304
  }
3298
- const qo = I(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar código", className: s, ...a }, r) {
3305
+ const Yo = I(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar código", className: s, ...a }, r) {
3299
3306
  const [d, o] = D(l);
3300
3307
  pe(() => {
3301
3308
  if (d <= 0) return;
3302
3309
  const f = setInterval(() => o((v) => v <= 1 ? 0 : v - 1), 1e3);
3303
3310
  return () => clearInterval(f);
3304
3311
  }, [d]);
3305
- const i = Qe(() => {
3312
+ const i = et(() => {
3306
3313
  d > 0 || (n(), o(l));
3307
3314
  }, [d, n, l]), p = d > 0, h = p ? `Reenviar em 0:${String(d).padStart(2, "0")}` : c;
3308
3315
  return /* @__PURE__ */ e("button", { ref: r, ...a, type: "button", className: `select-resend${s ? " " + s : ""}`, onClick: i, disabled: p, children: h });
@@ -3318,7 +3325,7 @@ function da(t) {
3318
3325
  let n = 0;
3319
3326
  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);
3320
3327
  }
3321
- const Yo = I(function({ value: n, className: l, ...c }, s) {
3328
+ const Xo = I(function({ value: n, className: l, ...c }, s) {
3322
3329
  const a = da(n), r = gl[a] ?? gl[0];
3323
3330
  return /* @__PURE__ */ u("div", { ref: s, ...c, className: `select-strength${l ? " " + l : ""}`, "aria-hidden": !n, children: [
3324
3331
  /* @__PURE__ */ e("div", { className: `select-strength__bars select-strength__bars--${r.cls}`, children: [0, 1, 2, 3].map((d) => /* @__PURE__ */ e("span", { className: `select-strength__bar${d < a ? " is-on" : ""}` }, d)) }),
@@ -3389,7 +3396,7 @@ function pa({ children: t }) {
3389
3396
  function ma({ children: t, columns: n = 2 }) {
3390
3397
  return /* @__PURE__ */ e("div", { className: "select-formlayout__group", style: { "--cols": String(n) }, children: t });
3391
3398
  }
3392
- const Xo = Object.assign(pa, { Group: ma });
3399
+ const Ko = Object.assign(pa, { Group: ma });
3393
3400
  function bl({ lines: t = 3 }) {
3394
3401
  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)) });
3395
3402
  }
@@ -3402,7 +3409,7 @@ function _a({ size: t = "medium" }) {
3402
3409
  function va({ height: t = 240 }) {
3403
3410
  return /* @__PURE__ */ e("div", { className: "select-skeleton select-skel-block", style: { height: t } });
3404
3411
  }
3405
- const Ko = Object.assign(
3412
+ const Jo = Object.assign(
3406
3413
  function({ lines: n }) {
3407
3414
  return /* @__PURE__ */ e(bl, { lines: n });
3408
3415
  },
@@ -3417,15 +3424,15 @@ function ba({
3417
3424
  const s = ["select-icon", l !== "inherit" && l !== "base" ? `select-icon--${l}` : ""].filter(Boolean).join(" "), a = ga[c] ?? c;
3418
3425
  return /* @__PURE__ */ e("span", { className: s, style: { "--select-icon-size": a }, "aria-hidden": "true", children: t ? /* @__PURE__ */ e(t, {}) : n });
3419
3426
  }
3420
- const Jo = I(function({ children: n, tone: l = "neutral", hideIcon: c = !1, className: s, ...a }, r) {
3427
+ const Qo = I(function({ children: n, tone: l = "neutral", hideIcon: c = !1, className: s, ...a }, r) {
3421
3428
  const d = l === "warning" || l === "critical" ? /* @__PURE__ */ e(ls, {}) : /* @__PURE__ */ e(Mn, {});
3422
3429
  return /* @__PURE__ */ u("div", { ref: r, ...a, className: `select-note select-note--${l}${s ? " " + s : ""}`, children: [
3423
3430
  !c && /* @__PURE__ */ e("span", { className: "select-note__icon", children: d }),
3424
3431
  /* @__PURE__ */ e("span", { className: "select-note__body", children: n })
3425
3432
  ] });
3426
- }), Qo = I(function({ children: n, className: l, ...c }, s) {
3433
+ }), e1 = I(function({ children: n, className: l, ...c }, s) {
3427
3434
  return /* @__PURE__ */ e("div", { ref: s, ...c, className: `select-settinglist${l ? " " + l : ""}`, children: n });
3428
- }), e1 = I(function({ control: n, title: l, badge: c, description: s, children: a, bodyOpen: r, className: d, ...o }, i) {
3435
+ }), t1 = I(function({ control: n, title: l, badge: c, description: s, children: a, bodyOpen: r, className: d, ...o }, i) {
3429
3436
  return /* @__PURE__ */ u("div", { ref: i, ...o, className: `select-setting${d ? " " + d : ""}`, children: [
3430
3437
  n && /* @__PURE__ */ e("div", { className: "select-setting__control", children: n }),
3431
3438
  /* @__PURE__ */ u("div", { className: "select-setting__main", children: [
@@ -3443,7 +3450,7 @@ const Jo = I(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
3443
3450
  ))
3444
3451
  ] })
3445
3452
  ] });
3446
- }), t1 = I(function({ title: n, description: l, headerAction: c, footer: s, children: a, tone: r = "default", flush: d = !1, className: o, ...i }, p) {
3453
+ }), n1 = I(function({ title: n, description: l, headerAction: c, footer: s, children: a, tone: r = "default", flush: d = !1, className: o, ...i }, p) {
3447
3454
  return /* @__PURE__ */ u("div", { ref: p, ...i, className: `select-panel${r === "highlight" ? " select-panel--highlight" : ""}${o ? " " + o : ""}`, children: [
3448
3455
  (n || c) && /* @__PURE__ */ u("div", { className: "select-panel__header", children: [
3449
3456
  /* @__PURE__ */ u("div", { className: "select-panel__heading", children: [
@@ -3455,7 +3462,7 @@ const Jo = I(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
3455
3462
  a && /* @__PURE__ */ e("div", { className: `select-panel__body${d ? " select-panel__body--flush" : ""}`, children: a }),
3456
3463
  s && /* @__PURE__ */ e("div", { className: "select-panel__footer", children: s })
3457
3464
  ] });
3458
- }), n1 = I(function({ title: n, help: l, description: c, action: s, collapsible: a = !1, defaultOpen: r = !0, children: d, className: o, ...i }, p) {
3465
+ }), l1 = I(function({ title: n, help: l, description: c, action: s, collapsible: a = !1, defaultOpen: r = !0, children: d, className: o, ...i }, p) {
3459
3466
  const [h, f] = D(r);
3460
3467
  return a ? /* @__PURE__ */ u("div", { ref: p, ...i, className: `select-section select-section--collapsible${h ? " is-open" : ""}${o ? " " + o : ""}`, children: [
3461
3468
  /* @__PURE__ */ u("button", { type: "button", className: "select-section__head select-section__head--toggle", "aria-expanded": h, onClick: () => f((v) => !v), children: [
@@ -3477,7 +3484,7 @@ const Jo = I(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
3477
3484
  /* @__PURE__ */ e("div", { className: "select-section__body", children: d })
3478
3485
  ] });
3479
3486
  });
3480
- function l1({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
3487
+ function c1({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
3481
3488
  const r = J(null), [d, o] = D({ left: 0, width: 0 });
3482
3489
  qe(() => {
3483
3490
  const p = r.current;
@@ -3580,7 +3587,7 @@ function xa({
3580
3587
  ] }) })
3581
3588
  ] });
3582
3589
  }
3583
- const c1 = I(function({ sections: n, active: l, onSelect: c, header: s, className: a, ...r }, d) {
3590
+ const s1 = I(function({ sections: n, active: l, onSelect: c, header: s, className: a, ...r }, d) {
3584
3591
  return /* @__PURE__ */ u("nav", { ref: d, ...r, className: `select-sidenav${a ? " " + a : ""}`, children: [
3585
3592
  s && /* @__PURE__ */ e("div", { className: "select-sidenav__header", children: s }),
3586
3593
  n.map((o, i) => /* @__PURE__ */ u("div", { className: "select-sidenav__section", children: [
@@ -3653,16 +3660,16 @@ const Ma = I(function({ page: n, pageCount: l, total: c, pageSize: s, hasPreviou
3653
3660
  }
3654
3661
  ),
3655
3662
  b ? m.map(
3656
- (k, w) => k === "gap" ? /* @__PURE__ */ e("span", { className: "select-pagination__gap", "aria-hidden": "true", children: "…" }, `gap-${w}`) : /* @__PURE__ */ e(
3663
+ (w, k) => w === "gap" ? /* @__PURE__ */ e("span", { className: "select-pagination__gap", "aria-hidden": "true", children: "…" }, `gap-${k}`) : /* @__PURE__ */ e(
3657
3664
  "button",
3658
3665
  {
3659
3666
  type: "button",
3660
- className: `select-pagination__page${k === n ? " is-active" : ""}`,
3661
- onClick: () => i == null ? void 0 : i(k),
3662
- "aria-current": k === n ? "page" : void 0,
3663
- children: k
3667
+ className: `select-pagination__page${w === n ? " is-active" : ""}`,
3668
+ onClick: () => i == null ? void 0 : i(w),
3669
+ "aria-current": w === n ? "page" : void 0,
3670
+ children: w
3664
3671
  },
3665
- k
3672
+ w
3666
3673
  )
3667
3674
  ) : /* @__PURE__ */ e("span", { className: "select-pagination__current", children: l != null ? `${n} / ${l}` : `Página ${n}` }),
3668
3675
  /* @__PURE__ */ e(
@@ -3684,7 +3691,7 @@ function ll({ title: t, description: n, action: l, filters: c, tools: s }) {
3684
3691
  const a = c != null, r = a ? null : s, d = t != null || n != null;
3685
3692
  return { hasFilters: a, inlineTools: r, hasIdentity: d, hasTitleRow: d || l != null || r != null };
3686
3693
  }
3687
- function wc({ title: t, help: n, description: l, action: c, filters: s, tools: a }) {
3694
+ function kc({ title: t, help: n, description: l, action: c, filters: s, tools: a }) {
3688
3695
  const { hasFilters: r, inlineTools: d, hasIdentity: o, hasTitleRow: i } = ll({ title: t, description: l, action: c, filters: s, tools: a });
3689
3696
  return /* @__PURE__ */ u(ue, { children: [
3690
3697
  i && /* @__PURE__ */ u("div", { className: "select-table__title", children: [
@@ -3706,7 +3713,7 @@ function wc({ title: t, help: n, description: l, action: c, filters: s, tools: a
3706
3713
  ] })
3707
3714
  ] });
3708
3715
  }
3709
- function wa(t, n, l) {
3716
+ function ka(t, n, l) {
3710
3717
  if (!t || t.length === 0) return [];
3711
3718
  const c = [...t].sort((r, d) => r - d);
3712
3719
  if (n == null) return c;
@@ -3717,8 +3724,8 @@ function wa(t, n, l) {
3717
3724
  if (a.push(r), r >= n) break;
3718
3725
  return l != null && c.includes(l) && !a.includes(l) && (a.push(l), a.sort((r, d) => r - d)), a;
3719
3726
  }
3720
- function kc({ pagination: t }) {
3721
- const [n, l] = D(!1), c = wa(t.pageSizeOptions, t.total, t.pageSize), s = c.length > 1 && t.onPageSizeChange != null;
3727
+ function wc({ pagination: t }) {
3728
+ const [n, l] = D(!1), c = ka(t.pageSizeOptions, t.total, t.pageSize), s = c.length > 1 && t.onPageSizeChange != null;
3722
3729
  return !s && !t.hasPrevious && !t.hasNext ? null : /* @__PURE__ */ u("div", { className: "select-datatable__pagination", children: [
3723
3730
  s && t.onPageSizeChange && /* @__PURE__ */ e("div", { className: "select-datatable__pagesize", children: /* @__PURE__ */ e(
3724
3731
  dt,
@@ -3762,7 +3769,7 @@ function kc({ pagination: t }) {
3762
3769
  a,
3763
3770
  " por página"
3764
3771
  ] }),
3765
- r && /* @__PURE__ */ e("span", { className: "select-facet__check", "aria-hidden": "true", children: /* @__PURE__ */ e(et, {}) })
3772
+ r && /* @__PURE__ */ e("span", { className: "select-facet__check", "aria-hidden": "true", children: /* @__PURE__ */ e(Ke, {}) })
3766
3773
  ]
3767
3774
  },
3768
3775
  a
@@ -3787,7 +3794,7 @@ function kc({ pagination: t }) {
3787
3794
  )
3788
3795
  ] });
3789
3796
  }
3790
- const xl = 40, yl = 1200, ka = 8;
3797
+ const xl = 40, yl = 1200, wa = 8;
3791
3798
  function Nl(t) {
3792
3799
  const n = parseFloat(getComputedStyle(document.documentElement).fontSize) || 16;
3793
3800
  return `${Math.round(t / n * 1e3) / 1e3}rem`;
@@ -3808,7 +3815,7 @@ const $a = I(function({
3808
3815
  className: v,
3809
3816
  ..._
3810
3817
  }, x) {
3811
- const M = Oc.count(l) === 0, S = M && !!c, { hasFilters: b, hasTitleRow: m } = ll({ title: a, description: d, action: o, filters: i, tools: p }), N = S && !m && !b, k = wn({ selector: ".select-table__row", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 }), w = n.length ? n.map((B) => B.width ?? `minmax(${B.minWidth ?? "var(--select-table-col-min, 6.5rem)"}, ${B.grow ?? 1}fr)`).join(" ") : "1fr", y = J(null), $ = Qe(
3818
+ const M = Oc.count(l) === 0, S = M && !!c, { hasFilters: b, hasTitleRow: m } = ll({ title: a, description: d, action: o, filters: i, tools: p }), N = S && !m && !b, w = kn({ selector: ".select-table__row", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 }), k = n.length ? n.map((B) => B.width ?? `minmax(${B.minWidth ?? "var(--select-table-col-min, 6.5rem)"}, ${B.grow ?? 1}fr)`).join(" ") : "1fr", y = J(null), $ = et(
3812
3819
  (B) => {
3813
3820
  y.current = B, typeof x == "function" ? x(B) : x && (x.current = B);
3814
3821
  },
@@ -3816,8 +3823,8 @@ const $a = I(function({
3816
3823
  );
3817
3824
  qe(() => {
3818
3825
  var B;
3819
- (B = y.current) == null || B.style.setProperty("--select-table-cols", w);
3820
- }, [w]);
3826
+ (B = y.current) == null || B.style.setProperty("--select-table-cols", k);
3827
+ }, [k]);
3821
3828
  const g = (B, L) => {
3822
3829
  const E = y.current;
3823
3830
  if (!E) return;
@@ -3849,11 +3856,11 @@ const $a = I(function({
3849
3856
  const F = (q = L.currentTarget.parentElement) == null ? void 0 : q.getBoundingClientRect();
3850
3857
  if (!F) return;
3851
3858
  L.preventDefault();
3852
- const T = ka * (L.shiftKey ? 10 : 1), O = Math.min(yl, Math.max(xl, F.width + E * T));
3859
+ const T = wa * (L.shiftKey ? 10 : 1), O = Math.min(yl, Math.max(xl, F.width + E * T));
3853
3860
  g(B, O), h(B, Nl(O));
3854
3861
  };
3855
- return /* @__PURE__ */ u("div", { ref: $, ..._, className: `select-table${N ? " select-table--empty" : ""}${v ? " " + v : ""}`, style: { "--select-table-cols": w }, children: [
3856
- /* @__PURE__ */ e(wc, { title: a, help: r, description: d, action: o, filters: i, tools: p }),
3862
+ return /* @__PURE__ */ u("div", { ref: $, ..._, className: `select-table${N ? " select-table--empty" : ""}${v ? " " + v : ""}`, style: { "--select-table-cols": k }, children: [
3863
+ /* @__PURE__ */ e(kc, { title: a, help: r, description: d, action: o, filters: i, tools: p }),
3857
3864
  /* @__PURE__ */ e("div", { className: `select-table__scroll${S ? " select-table__scroll--empty" : ""}`, children: /* @__PURE__ */ u("div", { className: "select-table__scrollinner", children: [
3858
3865
  !S && /* @__PURE__ */ e("div", { className: "select-table__head", role: "row", children: n.map((B, L) => /* @__PURE__ */ u(
3859
3866
  "div",
@@ -3891,11 +3898,11 @@ const $a = I(function({
3891
3898
  },
3892
3899
  L
3893
3900
  )) }),
3894
- /* @__PURE__ */ e("div", { className: "select-table__body", children: /* @__PURE__ */ e("div", { className: "select-table__rows", ref: k, children: M && c ? /* @__PURE__ */ e("div", { className: "select-table__empty", children: c }) : l }) })
3901
+ /* @__PURE__ */ e("div", { className: "select-table__body", children: /* @__PURE__ */ e("div", { className: "select-table__rows", ref: w, children: M && c ? /* @__PURE__ */ e("div", { className: "select-table__empty", children: c }) : l }) })
3895
3902
  ] }) }),
3896
3903
  s && /* @__PURE__ */ e("div", { className: "select-table__footer", children: s })
3897
3904
  ] });
3898
- }), s1 = I(function({ name: n, secondary: l, src: c, className: s, ...a }, r) {
3905
+ }), a1 = I(function({ name: n, secondary: l, src: c, className: s, ...a }, r) {
3899
3906
  return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-usercell${s ? " " + s : ""}`, children: [
3900
3907
  /* @__PURE__ */ e(ia, { name: typeof n == "string" ? n : void 0, src: c }),
3901
3908
  /* @__PURE__ */ u("span", { className: "select-usercell__text", children: [
@@ -3907,7 +3914,7 @@ const $a = I(function({
3907
3914
  function Ml({ children: t, onClick: n }) {
3908
3915
  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 });
3909
3916
  }
3910
- const wl = I(function({ children: n, align: l = "start", className: c, ...s }, a) {
3917
+ const kl = I(function({ children: n, align: l = "start", className: c, ...s }, a) {
3911
3918
  return /* @__PURE__ */ e("div", { ref: a, ...s, role: "cell", className: `select-table__td select-table__cell--${l}${c ? " " + c : ""}`, children: n });
3912
3919
  }), $c = I(function({ icon: n, title: l, subtitle: c, action: s, className: a, ...r }, d) {
3913
3920
  return /* @__PURE__ */ u("div", { ref: d, ...r, className: `select-table-empty${a ? " " + a : ""}`, children: [
@@ -3924,7 +3931,7 @@ const wl = I(function({ children: n, align: l = "start", className: c, ...s }, a
3924
3931
  /* @__PURE__ */ e("span", { className: "select-menu__label", children: n }),
3925
3932
  c && /* @__PURE__ */ e("span", { className: "select-menu__trailing", children: c })
3926
3933
  ] });
3927
- }), a1 = I(function({ children: n, href: l, icon: c, trailing: s, external: a, tone: r = "default", className: d, ...o }, i) {
3934
+ }), r1 = I(function({ children: n, href: l, icon: c, trailing: s, external: a, tone: r = "default", className: d, ...o }, i) {
3928
3935
  const p = a ?? /^(https?:|mailto:|tel:)/i.test(l), h = s ?? (p ? /* @__PURE__ */ e(Xn, {}) : void 0);
3929
3936
  return /* @__PURE__ */ u(
3930
3937
  "a",
@@ -3944,10 +3951,10 @@ const wl = I(function({ children: n, align: l = "start", className: c, ...s }, a
3944
3951
  }
3945
3952
  );
3946
3953
  });
3947
- function r1({ children: t }) {
3954
+ function o1({ children: t }) {
3948
3955
  return /* @__PURE__ */ e("div", { className: "select-menu__heading", children: t });
3949
3956
  }
3950
- function o1() {
3957
+ function i1() {
3951
3958
  return /* @__PURE__ */ e("div", { className: "select-menu__divider", role: "separator" });
3952
3959
  }
3953
3960
  const La = I(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, r) {
@@ -3955,24 +3962,37 @@ const La = I(function({ children: n, onClick: l, active: c = !1, className: s, .
3955
3962
  /* @__PURE__ */ e("span", { children: n }),
3956
3963
  /* @__PURE__ */ e("span", { className: "select-menubtn__caret", "aria-hidden": "true", children: /* @__PURE__ */ e(je, {}) })
3957
3964
  ] });
3958
- }), i1 = I(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, r) {
3965
+ }), d1 = I(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, r) {
3959
3966
  return /* @__PURE__ */ u("button", { ref: r, ...a, type: "button", className: `select-chip${c ? " select-chip--active" : ""}${s ? " " + s : ""}`, onClick: l, children: [
3960
3967
  !c && /* @__PURE__ */ e("span", { className: "select-chip__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Ct, {}) }),
3961
3968
  n
3962
3969
  ] });
3963
- }), d1 = I(function({ label: n, value: l, href: c, onCopy: s, className: a, ...r }, d) {
3970
+ }), h1 = I(function({ label: n, value: l, href: c, onCopy: s, className: a, ...r }, d) {
3971
+ const [o, i] = D(!1), p = () => {
3972
+ navigator.clipboard.writeText(l).then(() => {
3973
+ i(!0), setTimeout(() => i(!1), 1200), s == null || s(l);
3974
+ });
3975
+ };
3964
3976
  return /* @__PURE__ */ u("div", { ref: d, ...r, className: `select-copyrow${a ? " " + a : ""}`, children: [
3965
3977
  n && /* @__PURE__ */ e("span", { className: "select-copyrow__label", children: n }),
3966
3978
  /* @__PURE__ */ u("div", { className: "select-copyrow__value", children: [
3967
3979
  /* @__PURE__ */ e("span", { className: "select-copyrow__text", children: l }),
3968
3980
  /* @__PURE__ */ u("div", { className: "select-copyrow__actions", children: [
3969
3981
  c && /* @__PURE__ */ e("a", { className: "select-iconbtn select-iconbtn--sm", href: c, target: "_blank", rel: "noreferrer", "aria-label": "Abrir", title: "Abrir", children: /* @__PURE__ */ e(Xn, {}) }),
3970
- /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(Yn, {}), label: "Copiar", onClick: () => s == null ? void 0 : s(l) })
3982
+ /* @__PURE__ */ e(
3983
+ He,
3984
+ {
3985
+ size: "sm",
3986
+ icon: o ? /* @__PURE__ */ e(Ke, {}) : /* @__PURE__ */ e(Yn, {}),
3987
+ label: o ? "Copiado" : "Copiar",
3988
+ onClick: p
3989
+ }
3990
+ )
3971
3991
  ] })
3972
3992
  ] })
3973
3993
  ] });
3974
3994
  });
3975
- function h1({
3995
+ function u1({
3976
3996
  value: t,
3977
3997
  children: n,
3978
3998
  truncate: l,
@@ -4000,12 +4020,12 @@ function h1({
4000
4020
  });
4001
4021
  },
4002
4022
  "aria-label": d ? "Copiado" : c,
4003
- children: d ? /* @__PURE__ */ e(et, {}) : /* @__PURE__ */ e(Yn, {})
4023
+ children: d ? /* @__PURE__ */ e(Ke, {}) : /* @__PURE__ */ e(Yn, {})
4004
4024
  }
4005
4025
  ) })
4006
4026
  ] });
4007
4027
  }
4008
- const u1 = I(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !1, className: a, ...r }, d) {
4028
+ const p1 = I(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !1, className: a, ...r }, d) {
4009
4029
  const [o, i] = D(c);
4010
4030
  return /* @__PURE__ */ u("div", { ref: d, ...r, className: `select-collapsible${s ? " select-collapsible--plain" : ""}${o ? " is-open" : ""}${a ? " " + a : ""}`, children: [
4011
4031
  /* @__PURE__ */ u("button", { type: "button", className: "select-collapsible__header", onClick: () => i((p) => !p), "aria-expanded": o, children: [
@@ -4014,7 +4034,7 @@ const u1 = I(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
4014
4034
  ] }),
4015
4035
  /* @__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 }) }) })
4016
4036
  ] });
4017
- }), p1 = I(function({ icon: n, title: l, description: c, action: s, onDismiss: a, className: r, ...d }, o) {
4037
+ }), m1 = I(function({ icon: n, title: l, description: c, action: s, onDismiss: a, className: r, ...d }, o) {
4018
4038
  return /* @__PURE__ */ u("div", { ref: o, ...d, className: `select-actioncard${r ? " " + r : ""}`, children: [
4019
4039
  a && /* @__PURE__ */ e("div", { className: "select-actioncard__dismiss", children: /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(St, {}), label: "Dispensar", onClick: a }) }),
4020
4040
  n && /* @__PURE__ */ e("span", { className: "select-actioncard__icon", children: n }),
@@ -4024,7 +4044,7 @@ const u1 = I(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
4024
4044
  ] }),
4025
4045
  s && /* @__PURE__ */ e("div", { className: "select-actioncard__action", children: s })
4026
4046
  ] });
4027
- }), m1 = I(function({ media: n, sublabel: l, title: c, badge: s, meta: a, accent: r = !0, onClick: d, className: o, ...i }, p) {
4047
+ }), f1 = I(function({ media: n, sublabel: l, title: c, badge: s, meta: a, accent: r = !0, onClick: d, className: o, ...i }, p) {
4028
4048
  return /* @__PURE__ */ u("button", { ref: p, ...i, type: "button", className: `select-tile${o ? " " + o : ""}`, onClick: d, children: [
4029
4049
  r && /* @__PURE__ */ e("span", { className: "select-tile__accent", "aria-hidden": "true" }),
4030
4050
  /* @__PURE__ */ u("div", { className: "select-tile__main", children: [
@@ -4039,12 +4059,12 @@ const u1 = I(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
4039
4059
  ] }),
4040
4060
  a && /* @__PURE__ */ e("div", { className: "select-tile__meta", children: a })
4041
4061
  ] });
4042
- }), f1 = I(function({ label: n, onClick: l, className: c, ...s }, a) {
4062
+ }), _1 = I(function({ label: n, onClick: l, className: c, ...s }, a) {
4043
4063
  return /* @__PURE__ */ u("button", { ref: a, ...s, type: "button", className: `select-tile select-tile--create${c ? " " + c : ""}`, onClick: l, children: [
4044
4064
  /* @__PURE__ */ e("span", { className: "select-tile__plus", "aria-hidden": "true", children: /* @__PURE__ */ e(Ct, {}) }),
4045
4065
  /* @__PURE__ */ e("span", { className: "select-tile__createlabel", children: n })
4046
4066
  ] });
4047
- }), _1 = I(function({ avatar: n, name: l, badge: c, onClick: s, className: a, ...r }, d) {
4067
+ }), v1 = I(function({ avatar: n, name: l, badge: c, onClick: s, className: a, ...r }, d) {
4048
4068
  return /* @__PURE__ */ u("button", { ref: d, ...r, type: "button", className: `select-wsswitcher${a ? " " + a : ""}`, onClick: s, "aria-haspopup": "menu", children: [
4049
4069
  n && /* @__PURE__ */ e("span", { className: "select-wsswitcher__avatar", children: n }),
4050
4070
  /* @__PURE__ */ e("span", { className: "select-wsswitcher__name", children: l }),
@@ -4129,7 +4149,7 @@ function $n({
4129
4149
  document.body
4130
4150
  );
4131
4151
  }
4132
- function v1({ actions: t, label: n = "Ações" }) {
4152
+ function g1({ actions: t, label: n = "Ações" }) {
4133
4153
  const [l, c] = D(!1);
4134
4154
  return /* @__PURE__ */ e(
4135
4155
  dt,
@@ -4152,7 +4172,7 @@ function v1({ actions: t, label: n = "Ações" }) {
4152
4172
  }
4153
4173
  );
4154
4174
  }
4155
- function g1({
4175
+ function b1({
4156
4176
  open: t,
4157
4177
  onClose: n,
4158
4178
  onConfirm: l,
@@ -4190,7 +4210,7 @@ function g1({
4190
4210
  }
4191
4211
  );
4192
4212
  }
4193
- function b1({
4213
+ function x1({
4194
4214
  open: t,
4195
4215
  onClose: n,
4196
4216
  onSubmit: l,
@@ -4245,7 +4265,7 @@ function b1({
4245
4265
  }
4246
4266
  );
4247
4267
  }
4248
- const x1 = "9.5rem", y1 = { minWidth: "9.5rem", grow: 2 }, Hn = "select-datatable:hidden-cols:";
4268
+ const y1 = "9.5rem", N1 = { minWidth: "9.5rem", grow: 2 }, Hn = "select-datatable:hidden-cols:";
4249
4269
  function Ea(t) {
4250
4270
  try {
4251
4271
  const n = localStorage.getItem(Hn + t), l = n ? JSON.parse(n) : null;
@@ -4260,7 +4280,7 @@ function Ba(t, n) {
4260
4280
  } catch {
4261
4281
  }
4262
4282
  }
4263
- function kl(t) {
4283
+ function wl(t) {
4264
4284
  return t.hideable ?? !!t.title;
4265
4285
  }
4266
4286
  const jn = "select-datatable:col-widths:";
@@ -4283,7 +4303,7 @@ function $l(t, n) {
4283
4303
  }
4284
4304
  }
4285
4305
  const Sl = "select-datatable:page-size:";
4286
- function N1(t, n, l) {
4306
+ function M1(t, n, l) {
4287
4307
  const [c, s] = D(() => {
4288
4308
  try {
4289
4309
  const r = Number(localStorage.getItem(Sl + t));
@@ -4304,7 +4324,7 @@ function Ia(t, n, l) {
4304
4324
  const c = t == null || t === "", s = n == null || n === "";
4305
4325
  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" });
4306
4326
  }
4307
- function M1({
4327
+ function k1({
4308
4328
  columns: t,
4309
4329
  items: n,
4310
4330
  getId: l,
@@ -4321,7 +4341,7 @@ function M1({
4321
4341
  }) {
4322
4342
  const [v, _] = D(() => f ? Ea(f) : []), [x, M] = D(!1), [S, b] = D(
4323
4343
  () => f ? Fa(f) : {}
4324
- ), m = Oe(() => new Set(v), [v]), N = t.filter(kl), k = N.length > 0 && N.every((P) => m.has(P.key)), w = (P) => !k && m.has(P.key) && kl(P), y = t.filter((P) => !w(P)), $ = N.filter((P) => !w(P)), [g, C] = D(null), A = (P) => {
4344
+ ), m = Oe(() => new Set(v), [v]), N = t.filter(wl), w = N.length > 0 && N.every((P) => m.has(P.key)), k = (P) => !w && m.has(P.key) && wl(P), y = t.filter((P) => !k(P)), $ = N.filter((P) => !k(P)), [g, C] = D(null), A = (P) => {
4325
4345
  _((W) => {
4326
4346
  const K = !W.includes(P.key), te = K ? [...W, P.key] : W.filter((ie) => ie !== P.key);
4327
4347
  return f && Ba(f, te), K && C((ie) => ie && ie.key === P.key ? null : ie), te;
@@ -4374,7 +4394,7 @@ function M1({
4374
4394
  ),
4375
4395
  children: /* @__PURE__ */ u("div", { className: "select-facet__panel", children: [
4376
4396
  /* @__PURE__ */ e("div", { className: "select-facet__options", role: "menu", children: N.map((P) => {
4377
- const W = !w(P), K = W && $.length === 1;
4397
+ const W = !k(P), K = W && $.length === 1;
4378
4398
  return /* @__PURE__ */ u(
4379
4399
  "button",
4380
4400
  {
@@ -4386,7 +4406,7 @@ function M1({
4386
4406
  onClick: () => A(P),
4387
4407
  children: [
4388
4408
  /* @__PURE__ */ e("span", { children: P.title }),
4389
- W && /* @__PURE__ */ e("span", { className: "select-facet__check", "aria-hidden": "true", children: /* @__PURE__ */ e(et, {}) })
4409
+ W && /* @__PURE__ */ e("span", { className: "select-facet__check", "aria-hidden": "true", children: /* @__PURE__ */ e(Ke, {}) })
4390
4410
  ]
4391
4411
  },
4392
4412
  P.key
@@ -4421,10 +4441,10 @@ function M1({
4421
4441
  tools: V,
4422
4442
  onColumnResize: (P, W) => T(P, W),
4423
4443
  onColumnResizeReset: (P) => T(P, null),
4424
- children: c ? Array.from({ length: 5 }, (P, W) => /* @__PURE__ */ e(Ml, { children: y.map((K, te) => /* @__PURE__ */ e(wl, { align: K.align, width: K.width, children: /* @__PURE__ */ e("span", { className: "select-skeleton select-datatable__skel" }) }, te)) }, `skeleton-${W}`)) : E.map((P) => /* @__PURE__ */ e(Ml, { onClick: r ? () => r(P) : void 0, children: y.map((W, K) => /* @__PURE__ */ e(wl, { align: W.align, width: W.width, children: W.render(P) }, K)) }, l(P)))
4444
+ children: c ? Array.from({ length: 5 }, (P, W) => /* @__PURE__ */ e(Ml, { children: y.map((K, te) => /* @__PURE__ */ e(kl, { align: K.align, width: K.width, children: /* @__PURE__ */ e("span", { className: "select-skeleton select-datatable__skel" }) }, te)) }, `skeleton-${W}`)) : E.map((P) => /* @__PURE__ */ e(Ml, { onClick: r ? () => r(P) : void 0, children: y.map((W, K) => /* @__PURE__ */ e(kl, { align: W.align, width: W.width, children: W.render(P) }, K)) }, l(P)))
4425
4445
  }
4426
4446
  ),
4427
- a && /* @__PURE__ */ e(kc, { pagination: a })
4447
+ a && /* @__PURE__ */ e(wc, { pagination: a })
4428
4448
  ] });
4429
4449
  }
4430
4450
  const Ra = I(function({ label: n, description: l, onClick: c, icon: s, className: a, ...r }, d) {
@@ -4453,7 +4473,7 @@ function w1({
4453
4473
  }) {
4454
4474
  const x = !c && t.length === 0 && a != null, { hasTitleRow: M, hasFilters: S } = ll({ title: i, description: h, action: f, filters: v, tools: _ });
4455
4475
  return /* @__PURE__ */ u("div", { className: "select-cardgrid", children: [
4456
- (M || S) && /* @__PURE__ */ e("div", { className: "select-cardgrid__chrome", children: /* @__PURE__ */ e(wc, { title: i, help: p, description: h, action: f, filters: v, tools: _ }) }),
4476
+ (M || S) && /* @__PURE__ */ e("div", { className: "select-cardgrid__chrome", children: /* @__PURE__ */ e(kc, { title: i, help: p, description: h, action: f, filters: v, tools: _ }) }),
4457
4477
  x ? /* @__PURE__ */ e("div", { className: "select-cardgrid__empty", children: /* @__PURE__ */ e($c, { icon: a.icon, title: a.heading, subtitle: a.text, action: a.action }) }) : /* @__PURE__ */ u("div", { className: "select-cardgrid__body", style: { "--select-cardgrid-min": o }, children: [
4458
4478
  c ? Array.from({ length: s }, (b, m) => /* @__PURE__ */ u("div", { className: "select-cardgrid__skel", children: [
4459
4479
  /* @__PURE__ */ e("span", { className: "select-skeleton select-cardgrid__skelthumb" }),
@@ -4469,10 +4489,10 @@ function w1({
4469
4489
  ),
4470
4490
  !c && d && /* @__PURE__ */ e(Ra, { label: d.label, description: d.description, onClick: d.onAction })
4471
4491
  ] }),
4472
- r && /* @__PURE__ */ e(kc, { pagination: r })
4492
+ r && /* @__PURE__ */ e(wc, { pagination: r })
4473
4493
  ] });
4474
4494
  }
4475
- const k1 = I(function({ media: n, title: l, subtitle: c, actions: s, body: a, tags: r, status: d, meta: o, to: i, accent: p = !1, className: h, ...f }, v) {
4495
+ const $1 = I(function({ media: n, title: l, subtitle: c, actions: s, body: a, tags: r, status: d, meta: o, to: i, accent: p = !1, className: h, ...f }, v) {
4476
4496
  const _ = d != null || o != null;
4477
4497
  return /* @__PURE__ */ u("div", { ref: v, ...f, className: `select-rcard${i ? " select-rcard--link" : ""}${h ? " " + h : ""}`, children: [
4478
4498
  p && /* @__PURE__ */ e("span", { className: "select-rcard__accent", "aria-hidden": "true" }),
@@ -4496,7 +4516,7 @@ const k1 = I(function({ media: n, title: l, subtitle: c, actions: s, body: a, ta
4496
4516
  o && /* @__PURE__ */ e("span", { className: "select-rcard__meta", children: o })
4497
4517
  ] })
4498
4518
  ] });
4499
- }), $1 = I(function({ kind: n, className: l, ...c }, s) {
4519
+ }), S1 = I(function({ kind: n, className: l, ...c }, s) {
4500
4520
  return /* @__PURE__ */ u("span", { ref: s, ...c, className: `select-rcard__thumb${l ? " " + l : ""}`, "aria-hidden": "true", children: [
4501
4521
  /* @__PURE__ */ e("span", { className: "select-rcard__thumbline select-rcard__thumbline--accent" }),
4502
4522
  n === "steps" ? /* @__PURE__ */ u(ue, { children: [
@@ -4520,7 +4540,7 @@ function Cl({ node: t, origin: n = !1 }) {
4520
4540
  t.share != null && /* @__PURE__ */ e("span", { className: "select-chain__share", children: t.share })
4521
4541
  ] });
4522
4542
  }
4523
- const S1 = I(function({ nodes: n, origin: l, max: c = 3, className: s, ...a }, r) {
4543
+ const C1 = I(function({ nodes: n, origin: l, max: c = 3, className: s, ...a }, r) {
4524
4544
  const d = n.slice(0, c), o = n.length - d.length, i = [], p = (h) => /* @__PURE__ */ e("span", { className: "select-chain__link", "aria-hidden": "true" }, h);
4525
4545
  l && i.push(/* @__PURE__ */ e(Cl, { node: l, origin: !0 }, "__origin"));
4526
4546
  for (const h of d)
@@ -4555,10 +4575,10 @@ function Ll(t) {
4555
4575
  } catch {
4556
4576
  }
4557
4577
  }
4558
- function C1({ children: t }) {
4559
- const [n, l] = D(Ha), c = Qe((r) => {
4578
+ function L1({ children: t }) {
4579
+ const [n, l] = D(Ha), c = et((r) => {
4560
4580
  l(r), Ll(r);
4561
- }, []), s = Qe(() => {
4581
+ }, []), s = et(() => {
4562
4582
  l((r) => {
4563
4583
  const d = !r;
4564
4584
  return Ll(d), d;
@@ -4600,7 +4620,7 @@ const Za = new Intl.NumberFormat("pt-BR", {
4600
4620
  c != null && /* @__PURE__ */ e("span", { className: "select-delta__caption", children: c })
4601
4621
  ] });
4602
4622
  });
4603
- function L1() {
4623
+ function A1() {
4604
4624
  const { hidden: t, toggle: n } = Lc();
4605
4625
  return /* @__PURE__ */ e(
4606
4626
  He,
@@ -4613,7 +4633,7 @@ function L1() {
4613
4633
  }
4614
4634
  );
4615
4635
  }
4616
- const A1 = I(function({ price: n, was: l, hideDiscount: c = !1, zeroLabel: s, note: a, className: r, ...d }, o) {
4636
+ const E1 = I(function({ price: n, was: l, hideDiscount: c = !1, zeroLabel: s, note: a, className: r, ...d }, o) {
4617
4637
  const i = Number(n);
4618
4638
  if (!Number.isFinite(i)) return null;
4619
4639
  const p = Number(l), h = Number.isFinite(p) && p > i, f = h ? Math.round((p - i) / p * 100) : 0;
@@ -4656,14 +4676,14 @@ const Ua = I(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
4656
4676
  x
4657
4677
  ) : /* @__PURE__ */ e("span", { children: S }, x);
4658
4678
  }) });
4659
- }), E1 = I(function({ stars: n, max: l = 5, title: c, text: s, className: a, ...r }, d) {
4679
+ }), B1 = I(function({ stars: n, max: l = 5, title: c, text: s, className: a, ...r }, d) {
4660
4680
  const o = Number(n), i = Number.isFinite(o) && o > 0;
4661
4681
  return /* @__PURE__ */ u("div", { ref: d, ...r, className: `select-quote${a ? " " + a : ""}`, children: [
4662
4682
  i && /* @__PURE__ */ e(Ua, { value: o, max: l, size: 13 }),
4663
4683
  c != null && /* @__PURE__ */ e("span", { className: "select-quote__title", children: c }),
4664
4684
  s != null && /* @__PURE__ */ e("p", { className: "select-quote__text", children: s })
4665
4685
  ] });
4666
- }), B1 = I(function({ marks: n, max: l = 4, className: c, ...s }, a) {
4686
+ }), F1 = I(function({ marks: n, max: l = 4, className: c, ...s }, a) {
4667
4687
  const r = n.slice(0, l), d = n.length - r.length, o = r.some((i) => i.icon == null && (i.initials ?? "").length > 2);
4668
4688
  return /* @__PURE__ */ u(
4669
4689
  "div",
@@ -4721,14 +4741,14 @@ function Xa(t, n) {
4721
4741
  return n ? `${l} ${it(t.getHours())}:${it(t.getMinutes())}` : l;
4722
4742
  }
4723
4743
  const Ka = I(function({ label: n, value: l, onChange: c, showTime: s = !1, placeholder: a, required: r, disabled: d, error: o, hint: i, minDate: p, maxDate: h, clearable: f = !0, id: v, className: _, ...x }, M) {
4724
- 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 = () => {
4725
- d || (y(an(k ?? /* @__PURE__ */ new Date())), N((H) => !H));
4744
+ const S = ge(), b = v ?? S, [m, N] = D(!1), w = Ya(l), [k, y] = D(() => an(w ?? /* @__PURE__ */ new Date())), $ = p ? zt(p) : null, g = h ? zt(h) : null, C = (H) => !!$ && zt(H) < $ || !!g && zt(H) > g, A = Al(an(k), -an(k).getDay()), B = Array.from({ length: 42 }, (H, V) => Al(A, V)), L = zt(/* @__PURE__ */ new Date()), E = () => {
4745
+ d || (y(an(w ?? /* @__PURE__ */ new Date())), N((H) => !H));
4726
4746
  }, F = (H) => {
4727
4747
  if (C(H)) return;
4728
4748
  const V = new Date(H);
4729
- 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);
4749
+ s && V.setHours((w == null ? void 0 : w.getHours()) ?? 0, (w == null ? void 0 : w.getMinutes()) ?? 0, 0, 0), c(Fl(V, s)), s || N(!1);
4730
4750
  }, T = (H) => {
4731
- const [V = "", P = ""] = H.split(":"), W = Number(V), K = Number(P), te = new Date(k ?? L);
4751
+ const [V = "", P = ""] = H.split(":"), W = Number(V), K = Number(P), te = new Date(w ?? L);
4732
4752
  te.setHours(Number.isFinite(W) ? W : 0, Number.isFinite(K) ? K : 0, 0, 0), c(Fl(te, !0));
4733
4753
  }, O = () => {
4734
4754
  c(""), N(!1);
@@ -4744,7 +4764,7 @@ const Ka = I(function({ label: n, value: l, onChange: c, showTime: s = !1, place
4744
4764
  "aria-haspopup": "dialog",
4745
4765
  "aria-expanded": m,
4746
4766
  "aria-invalid": o ? !0 : void 0,
4747
- children: k ? Xa(k, s) : /* @__PURE__ */ e("span", { className: "select-datefield__ph", children: a ?? (s ? "Selecione data e hora" : "Selecione uma data") })
4767
+ children: w ? Xa(w, s) : /* @__PURE__ */ e("span", { className: "select-datefield__ph", children: a ?? (s ? "Selecione data e hora" : "Selecione uma data") })
4748
4768
  }
4749
4769
  ),
4750
4770
  /* @__PURE__ */ e("span", { className: "select-datefield__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(ec, {}) })
@@ -4755,16 +4775,16 @@ const Ka = I(function({ label: n, value: l, onChange: c, showTime: s = !1, place
4755
4775
  /* @__PURE__ */ u("div", { className: "select-datepicker__calhead", children: [
4756
4776
  /* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => y((H) => El(H, -1)), children: /* @__PURE__ */ e(Un, {}) }),
4757
4777
  /* @__PURE__ */ u("span", { className: "select-datepicker__monthlabel", children: [
4758
- qa[w.getMonth()],
4778
+ qa[k.getMonth()],
4759
4779
  " ",
4760
- w.getFullYear()
4780
+ k.getFullYear()
4761
4781
  ] }),
4762
4782
  /* @__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, {}) })
4763
4783
  ] }),
4764
4784
  /* @__PURE__ */ u("div", { className: "select-datepicker__grid", role: "grid", children: [
4765
4785
  za.map((H) => /* @__PURE__ */ e("div", { className: "select-datepicker__weekday", children: H }, H)),
4766
4786
  B.map((H) => {
4767
- 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" : "");
4787
+ const V = H.getMonth() !== k.getMonth(), P = !!w && Bl(H, w), W = "select-datepicker__daybtn" + (P ? " is-selected" : "") + (Bl(H, L) && !P ? " is-today" : "") + (V ? " is-outside" : "");
4768
4788
  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());
4769
4789
  })
4770
4790
  ] }),
@@ -4776,13 +4796,13 @@ const Ka = I(function({ label: n, value: l, onChange: c, showTime: s = !1, place
4776
4796
  type: "time",
4777
4797
  className: "select-input select-datefield__time-input",
4778
4798
  "aria-label": "Horário",
4779
- value: k ? `${it(k.getHours())}:${it(k.getMinutes())}` : "",
4799
+ value: w ? `${it(w.getHours())}:${it(w.getMinutes())}` : "",
4780
4800
  onChange: (H) => T(H.target.value)
4781
4801
  }
4782
4802
  )
4783
4803
  ] }),
4784
4804
  /* @__PURE__ */ u("div", { className: "select-datefield__footer", children: [
4785
- f && k ? /* @__PURE__ */ e(Re, { variant: "secondary", inline: !0, onClick: O, children: "Limpar" }) : /* @__PURE__ */ e("span", {}),
4805
+ f && w ? /* @__PURE__ */ e(Re, { variant: "secondary", inline: !0, onClick: O, children: "Limpar" }) : /* @__PURE__ */ e("span", {}),
4786
4806
  /* @__PURE__ */ u("div", { className: "select-datefield__footer-right", children: [
4787
4807
  /* @__PURE__ */ e(Re, { variant: "secondary", inline: !0, onClick: () => F(L), children: "Hoje" }),
4788
4808
  s && /* @__PURE__ */ e(Re, { variant: "primary", inline: !0, onClick: () => N(!1), children: "Concluir" })
@@ -4849,7 +4869,7 @@ function Ja({
4849
4869
  },
4850
4870
  children: [
4851
4871
  /* @__PURE__ */ e("span", { children: x.label }),
4852
- M && /* @__PURE__ */ e("span", { className: "select-facet__check", "aria-hidden": "true", children: /* @__PURE__ */ e(et, {}) })
4872
+ M && /* @__PURE__ */ e("span", { className: "select-facet__check", "aria-hidden": "true", children: /* @__PURE__ */ e(Ke, {}) })
4853
4873
  ]
4854
4874
  },
4855
4875
  x.value
@@ -4881,10 +4901,10 @@ function Ja({
4881
4901
  }
4882
4902
  );
4883
4903
  }
4884
- const F1 = I(function({ filters: n, values: l, onChange: c, onClearAll: s, search: a, disabled: r, className: d, ...o }, i) {
4885
- 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 = () => {
4904
+ const I1 = I(function({ filters: n, values: l, onChange: c, onClearAll: s, search: a, disabled: r, className: d, ...o }, i) {
4905
+ 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), w = () => {
4886
4906
  h([]), v(null), s();
4887
- }, w = (y) => {
4907
+ }, k = (y) => {
4888
4908
  h(($) => $.includes(y) ? $ : [...$, y]), x(!1), v(y);
4889
4909
  };
4890
4910
  return /* @__PURE__ */ u("div", { ref: i, ...o, className: `select-filterbar${d ? " " + d : ""}`, children: [
@@ -4952,7 +4972,7 @@ const F1 = I(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
4952
4972
  type: "button",
4953
4973
  role: "menuitem",
4954
4974
  className: "select-facet__opt",
4955
- onClick: () => w(y.key),
4975
+ onClick: () => k(y.key),
4956
4976
  children: /* @__PURE__ */ e("span", { children: y.label })
4957
4977
  },
4958
4978
  y.key
@@ -4989,11 +5009,11 @@ const F1 = I(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
4989
5009
  y.key
4990
5010
  )
4991
5011
  )),
4992
- /* @__PURE__ */ e("button", { type: "button", className: "select-filterbar__clear", onClick: k, children: "Limpar tudo" })
5012
+ /* @__PURE__ */ e("button", { type: "button", className: "select-filterbar__clear", onClick: w, children: "Limpar tudo" })
4993
5013
  ] })
4994
5014
  ] });
4995
- }), I1 = I(function({ label: n, options: l, selected: c, onChange: s, placeholder: a = "Selecionar…", hint: r, help: d, error: o, onBlur: i, size: p = "md", className: h, ...f }, v) {
4996
- 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);
5015
+ }), R1 = I(function({ label: n, options: l, selected: c, onChange: s, placeholder: a = "Selecionar…", hint: r, help: d, error: o, onBlur: i, size: p = "md", className: h, ...f }, v) {
5016
+ const [_, x] = D(!1), [M, S] = D(""), b = l.filter((w) => w.label.toLowerCase().includes(M.trim().toLowerCase())), m = (w) => s(c.includes(w) ? c.filter((k) => k !== w) : [...c, w]), N = c.map((w) => l.find((k) => k.value === w)).filter((w) => w != null);
4997
5017
  return /* @__PURE__ */ u("div", { ref: v, ...f, className: `select-field${p === "sm" ? " select-field--sm" : ""}${h ? " " + h : ""}`, children: [
4998
5018
  (n || d) && /* @__PURE__ */ e("div", { className: "select-field__labelrow", children: /* @__PURE__ */ u("span", { className: "select-field__labelwrap", children: [
4999
5019
  n && /* @__PURE__ */ e("span", { className: "select-field__label", children: n }),
@@ -5019,51 +5039,51 @@ const F1 = I(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
5019
5039
  "aria-haspopup": "listbox",
5020
5040
  "aria-expanded": _,
5021
5041
  onClick: () => x(!0),
5022
- onKeyDown: (k) => {
5023
- (k.key === "Enter" || k.key === " ") && (k.preventDefault(), x(!0));
5042
+ onKeyDown: (w) => {
5043
+ (w.key === "Enter" || w.key === " ") && (w.preventDefault(), x(!0));
5024
5044
  },
5025
5045
  children: [
5026
- N.length === 0 ? /* @__PURE__ */ e("span", { className: "select-tagselect__placeholder", children: a }) : N.map((k) => /* @__PURE__ */ u("span", { className: "select-tagselect__chip", children: [
5027
- k.label,
5046
+ N.length === 0 ? /* @__PURE__ */ e("span", { className: "select-tagselect__placeholder", children: a }) : N.map((w) => /* @__PURE__ */ u("span", { className: "select-tagselect__chip", children: [
5047
+ w.label,
5028
5048
  /* @__PURE__ */ e(
5029
5049
  "button",
5030
5050
  {
5031
5051
  type: "button",
5032
5052
  className: "select-tagselect__remove",
5033
- "aria-label": `Remover ${k.label}`,
5034
- onClick: (w) => {
5035
- w.stopPropagation(), m(k.value);
5053
+ "aria-label": `Remover ${w.label}`,
5054
+ onClick: (k) => {
5055
+ k.stopPropagation(), m(w.value);
5036
5056
  },
5037
5057
  children: /* @__PURE__ */ e(St, {})
5038
5058
  }
5039
5059
  )
5040
- ] }, k.value)),
5060
+ ] }, w.value)),
5041
5061
  /* @__PURE__ */ e("span", { className: "select-tagselect__caret", "aria-hidden": "true", children: /* @__PURE__ */ e(je, {}) })
5042
5062
  ]
5043
5063
  }
5044
5064
  ),
5045
5065
  children: /* @__PURE__ */ u("div", { className: "select-tagselect__menu", children: [
5046
5066
  /* @__PURE__ */ e("div", { className: "select-tagselect__search", children: /* @__PURE__ */ e(nl, { value: M, onChange: S, placeholder: "Buscar…" }) }),
5047
- /* @__PURE__ */ e("div", { className: "select-tagselect__options", role: "presentation", children: b.length === 0 ? /* @__PURE__ */ e("div", { className: "select-tagselect__empty", children: "Nada encontrado" }) : b.map((k) => {
5048
- const w = c.includes(k.value);
5067
+ /* @__PURE__ */ e("div", { className: "select-tagselect__options", role: "presentation", children: b.length === 0 ? /* @__PURE__ */ e("div", { className: "select-tagselect__empty", children: "Nada encontrado" }) : b.map((w) => {
5068
+ const k = c.includes(w.value);
5049
5069
  return /* @__PURE__ */ u(
5050
5070
  "button",
5051
5071
  {
5052
5072
  type: "button",
5053
5073
  role: "option",
5054
- "aria-selected": w,
5055
- className: `select-tagselect__option${w ? " is-selected" : ""}`,
5056
- onClick: () => m(k.value),
5074
+ "aria-selected": k,
5075
+ className: `select-tagselect__option${k ? " is-selected" : ""}`,
5076
+ onClick: () => m(w.value),
5057
5077
  children: [
5058
- k.image && /* @__PURE__ */ e("img", { className: "select-tagselect__optimg", src: k.image, alt: "", loading: "lazy" }),
5078
+ w.image && /* @__PURE__ */ e("img", { className: "select-tagselect__optimg", src: w.image, alt: "", loading: "lazy" }),
5059
5079
  /* @__PURE__ */ u("span", { className: "select-tagselect__optlabel", children: [
5060
- k.label,
5061
- k.secondary && /* @__PURE__ */ e("span", { className: "select-tagselect__optsec", children: k.secondary })
5080
+ w.label,
5081
+ w.secondary && /* @__PURE__ */ e("span", { className: "select-tagselect__optsec", children: w.secondary })
5062
5082
  ] }),
5063
- w && /* @__PURE__ */ e("span", { className: "select-tagselect__check", "aria-hidden": "true", children: /* @__PURE__ */ e(et, {}) })
5083
+ k && /* @__PURE__ */ e("span", { className: "select-tagselect__check", "aria-hidden": "true", children: /* @__PURE__ */ e(Ke, {}) })
5064
5084
  ]
5065
5085
  },
5066
- k.value
5086
+ w.value
5067
5087
  );
5068
5088
  }) })
5069
5089
  ] })
@@ -5071,7 +5091,7 @@ const F1 = I(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
5071
5091
  ),
5072
5092
  o ? /* @__PURE__ */ e("p", { className: "select-field__error", children: o }) : r ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: r }) : null
5073
5093
  ] });
5074
- }), R1 = I(function({ title: n, description: l, headerAction: c, footer: s, children: a, flush: r = !1, className: d, ...o }, i) {
5094
+ }), T1 = I(function({ title: n, description: l, headerAction: c, footer: s, children: a, flush: r = !1, className: d, ...o }, i) {
5075
5095
  return /* @__PURE__ */ u("div", { ref: i, ...o, className: `select-surface${d ? " " + d : ""}`, children: [
5076
5096
  (n || l || c) && /* @__PURE__ */ u("div", { className: "select-surface__header", children: [
5077
5097
  /* @__PURE__ */ u("div", { className: "select-surface__heading", children: [
@@ -5084,16 +5104,16 @@ const F1 = I(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
5084
5104
  s && /* @__PURE__ */ e("div", { className: "select-surface__footer", children: s })
5085
5105
  ] });
5086
5106
  }), Ec = Gn(null), Qa = 220, er = 4e3, tr = 8, nr = 0.04, lr = 5;
5087
- function T1({ children: t }) {
5088
- const [n, l] = D([]), c = J(0), s = J(/* @__PURE__ */ new Map()), a = Qe((i) => {
5107
+ function P1({ children: t }) {
5108
+ const [n, l] = D([]), c = J(0), s = J(/* @__PURE__ */ new Map()), a = et((i) => {
5089
5109
  l((p) => p.filter((h) => h.id !== i)), s.current.delete(i);
5090
- }, []), r = Qe(
5110
+ }, []), r = et(
5091
5111
  (i) => {
5092
5112
  const p = s.current.get(i);
5093
5113
  p && clearTimeout(p), l((h) => h.map((f) => f.id === i ? { ...f, exiting: !0 } : f)), s.current.set(i, setTimeout(() => a(i), Qa));
5094
5114
  },
5095
5115
  [a]
5096
- ), d = Qe(
5116
+ ), d = et(
5097
5117
  (i, p) => {
5098
5118
  const h = ++c.current, f = (p == null ? void 0 : p.duration) ?? er;
5099
5119
  l((v) => [...v, { id: h, content: i, variant: (p == null ? void 0 : p.variant) ?? "neutral" }]), f > 0 && s.current.set(h, setTimeout(() => r(h), f));
@@ -5134,15 +5154,15 @@ function T1({ children: t }) {
5134
5154
  )
5135
5155
  ] });
5136
5156
  }
5137
- function P1() {
5157
+ function D1() {
5138
5158
  const t = Vn(Ec);
5139
5159
  if (!t) throw new Error("useSelectToast must be used within a SelectToastProvider");
5140
5160
  return t;
5141
5161
  }
5142
- const cr = 390, sr = 1280, D1 = I(function({ src: n, title: l = "Pré-visualização", height: c = 560, fill: s = !1, initialDevice: a = "desktop", showDeviceToggle: r = !0, emptyLabel: d = "Salve para gerar a pré-visualização.", onReload: o, notice: i, iframeRef: p, desktopWidth: h = sr, className: f, ...v }, _) {
5143
- const [x, M] = D(a), [S, b] = D(0), [m, N] = D(!0), k = J(null), [w, y] = D({ w: 0, h: 0 });
5162
+ const cr = 390, sr = 1280, W1 = I(function({ src: n, title: l = "Pré-visualização", height: c = 560, fill: s = !1, initialDevice: a = "desktop", showDeviceToggle: r = !0, emptyLabel: d = "Salve para gerar a pré-visualização.", onReload: o, notice: i, iframeRef: p, desktopWidth: h = sr, className: f, ...v }, _) {
5163
+ const [x, M] = D(a), [S, b] = D(0), [m, N] = D(!0), w = J(null), [k, y] = D({ w: 0, h: 0 });
5144
5164
  qe(() => {
5145
- const B = k.current;
5165
+ const B = w.current;
5146
5166
  if (!B || typeof ResizeObserver > "u") return;
5147
5167
  const L = new ResizeObserver((E) => {
5148
5168
  var T;
@@ -5151,7 +5171,7 @@ const cr = 390, sr = 1280, D1 = I(function({ src: n, title: l = "Pré-visualiza
5151
5171
  });
5152
5172
  return L.observe(B), () => L.disconnect();
5153
5173
  }, []);
5154
- const $ = x === "mobile" ? cr : h, g = w.w > 0 ? Math.min(1, w.w / $) : 1, C = n ? `${n}${n.includes("?") ? "&" : "?"}_pv=${S}` : "", A = () => {
5174
+ const $ = x === "mobile" ? cr : h, g = k.w > 0 ? Math.min(1, k.w / $) : 1, C = n ? `${n}${n.includes("?") ? "&" : "?"}_pv=${S}` : "", A = () => {
5155
5175
  if (N(!0), o) {
5156
5176
  o();
5157
5177
  return;
@@ -5200,7 +5220,7 @@ const cr = 390, sr = 1280, D1 = I(function({ src: n, title: l = "Pré-visualiza
5200
5220
  )
5201
5221
  ] })
5202
5222
  ] }),
5203
- /* @__PURE__ */ e("div", { ref: k, className: "select-preview__stage", style: s ? void 0 : { height: c }, children: C ? (
5223
+ /* @__PURE__ */ e("div", { ref: w, className: "select-preview__stage", style: s ? void 0 : { height: c }, children: C ? (
5204
5224
  // Duas caixas: `__device` é a PEGADA (o tamanho já escalado, que o palco centra e
5205
5225
  // reserva no layout) e `__viewport` é o aparelho em tamanho natural, encolhido por
5206
5226
  // cima dela. A altura do viewport é dividida pela escala para que, depois de
@@ -5212,7 +5232,7 @@ const cr = 390, sr = 1280, D1 = I(function({ src: n, title: l = "Pré-visualiza
5212
5232
  "div",
5213
5233
  {
5214
5234
  className: "select-preview__viewport",
5215
- style: { width: $, height: w.h > 0 ? w.h / g : "100%", zoom: g },
5235
+ style: { width: $, height: k.h > 0 ? k.h / g : "100%", zoom: g },
5216
5236
  children: /* @__PURE__ */ e(
5217
5237
  "iframe",
5218
5238
  {
@@ -5229,7 +5249,7 @@ const cr = 390, sr = 1280, D1 = I(function({ src: n, title: l = "Pré-visualiza
5229
5249
  ] })
5230
5250
  ) : /* @__PURE__ */ e("p", { className: "select-preview__empty", children: d }) })
5231
5251
  ] });
5232
- }), W1 = I(function({ availableCents: n, availableLabel: l = "Saldo disponível", delta: c, buckets: s = [], action: a, className: r, ...d }, o) {
5252
+ }), O1 = I(function({ availableCents: n, availableLabel: l = "Saldo disponível", delta: c, buckets: s = [], action: a, className: r, ...d }, o) {
5233
5253
  return /* @__PURE__ */ u("div", { ref: o, ...d, className: `select-balance${r ? " " + r : ""}`, children: [
5234
5254
  /* @__PURE__ */ u("div", { className: "select-balance__head", children: [
5235
5255
  /* @__PURE__ */ e("h3", { className: "select-balance__title", children: l }),
@@ -5260,7 +5280,7 @@ const cr = 390, sr = 1280, D1 = I(function({ src: n, title: l = "Pré-visualiza
5260
5280
  ] }, i.label)) })
5261
5281
  ] })
5262
5282
  ] });
5263
- }), O1 = I(function({ grossCents: n, fees: l, netCents: c, grossLabel: s = "Valor bruto", netLabel: a = "Valor líquido", className: r, ...d }, o) {
5283
+ }), H1 = I(function({ grossCents: n, fees: l, netCents: c, grossLabel: s = "Valor bruto", netLabel: a = "Valor líquido", className: r, ...d }, o) {
5264
5284
  const i = c ?? n - l.reduce((p, h) => p + h.cents, 0);
5265
5285
  return /* @__PURE__ */ u("div", { ref: o, ...d, className: `select-fees${r ? " " + r : ""}`, children: [
5266
5286
  /* @__PURE__ */ u("div", { className: "select-fees__row", children: [
@@ -5280,7 +5300,7 @@ const cr = 390, sr = 1280, D1 = I(function({ src: n, title: l = "Pré-visualiza
5280
5300
  /* @__PURE__ */ e("span", { className: "select-fees__netvalue", children: /* @__PURE__ */ e($t, { cents: i }) })
5281
5301
  ] })
5282
5302
  ] });
5283
- }), H1 = I(function({ label: n, value: l, caption: c, chart: s, help: a, tone: r, bare: d = !1, className: o, ...i }, p) {
5303
+ }), j1 = I(function({ label: n, value: l, caption: c, chart: s, help: a, tone: r, bare: d = !1, className: o, ...i }, p) {
5284
5304
  return /* @__PURE__ */ u("div", { ref: p, ...i, className: `select-kpi${d ? " select-kpi--bare" : ""}${o ? " " + o : ""}`, children: [
5285
5305
  /* @__PURE__ */ u("span", { className: `select-kpi__label${a != null ? " select-kpi__label--help" : ""}`, children: [
5286
5306
  a != null ? /* @__PURE__ */ e("span", { className: "select-kpi__labeltext", children: n }) : n,
@@ -5290,7 +5310,7 @@ const cr = 390, sr = 1280, D1 = I(function({ src: n, title: l = "Pré-visualiza
5290
5310
  s != null && /* @__PURE__ */ e("div", { className: "select-kpi__chart", children: s }),
5291
5311
  c != null && /* @__PURE__ */ e("span", { className: "select-kpi__caption", children: c })
5292
5312
  ] });
5293
- }), j1 = I(function({ title: n, caption: l, action: c, help: s, loading: a = !1, hideValues: r = !1, height: d = 260, flush: o = !1, insight: i, insightTone: p = "neutral", children: h, className: f, ...v }, _) {
5313
+ }), Z1 = I(function({ title: n, caption: l, action: c, help: s, loading: a = !1, hideValues: r = !1, height: d = 260, flush: o = !1, insight: i, insightTone: p = "neutral", children: h, className: f, ...v }, _) {
5294
5314
  const x = d === "auto" ? void 0 : `${d / 16}rem`, M = d === "auto" ? "10rem" : `${d / 16}rem`;
5295
5315
  return /* @__PURE__ */ u("div", { ref: _, ...v, className: `select-chartcard${f ? " " + f : ""}`, children: [
5296
5316
  (n || c || l) && /* @__PURE__ */ u("div", { className: "select-chartcard__head", children: [
@@ -5428,7 +5448,7 @@ function ce(t) {
5428
5448
  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));
5429
5449
  }
5430
5450
  const lt = { top: 16, right: 22, bottom: 32, left: 48 };
5431
- function Z1({ data: t, color: n, height: l = 40, className: c, ...s }) {
5451
+ function V1({ data: t, color: n, height: l = 40, className: c, ...s }) {
5432
5452
  const { ref: a, width: r } = be(l), d = n ?? z(0), o = ge(), i = 4;
5433
5453
  let p = null;
5434
5454
  if (r > 0 && t.length > 1) {
@@ -5488,7 +5508,7 @@ function re({ tip: t, className: n, ...l }) {
5488
5508
  ] }, o))
5489
5509
  ] });
5490
5510
  }
5491
- function V1({ data: t, height: n = 240, color: l, format: c = ce, className: s, ...a }) {
5511
+ function G1({ data: t, height: n = 240, color: l, format: c = ce, className: s, ...a }) {
5492
5512
  const { ref: r, width: d } = be(n), o = ae(), i = ge(), p = l ?? z(0), h = Ge(Math.max(0, ...t.map((m) => m.value))), f = lt, v = Math.max(0, d - 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 * _;
5493
5513
  return /* @__PURE__ */ u("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: r, children: [
5494
5514
  d > 0 && /* @__PURE__ */ u("svg", { width: d, height: n, className: "select-chart", children: [
@@ -5510,21 +5530,21 @@ function V1({ data: t, height: n = 240, color: l, format: c = ce, className: s,
5510
5530
  /* @__PURE__ */ e("text", { x: f.left - 8, y: b(m), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: c(m) })
5511
5531
  ] }, N)),
5512
5532
  t.map((m, N) => {
5513
- const k = f.left + x * N + x / 2, w = m.value / h * _, y = S - w;
5533
+ const w = f.left + x * N + x / 2, k = m.value / h * _, y = S - k;
5514
5534
  return /* @__PURE__ */ u("g", { children: [
5515
5535
  /* @__PURE__ */ e(
5516
5536
  "rect",
5517
5537
  {
5518
- x: k - M / 2,
5538
+ x: w - M / 2,
5519
5539
  y,
5520
5540
  width: M,
5521
- height: Math.max(0, w),
5541
+ height: Math.max(0, k),
5522
5542
  rx: 5,
5523
5543
  fill: `url(#${i}-bar)`,
5524
5544
  className: "select-chart__bar",
5525
5545
  style: { animationDelay: `${N * 40}ms` },
5526
5546
  onMouseEnter: () => o.show({
5527
- x: k,
5547
+ x: w,
5528
5548
  y,
5529
5549
  place: y < f.top + 52 ? "bottom" : "top",
5530
5550
  rows: [{ label: m.label, value: c(m.value), color: p }]
@@ -5532,15 +5552,15 @@ function V1({ data: t, height: n = 240, color: l, format: c = ce, className: s,
5532
5552
  onMouseLeave: o.hide
5533
5553
  }
5534
5554
  ),
5535
- /* @__PURE__ */ e("text", { x: k, y: n - f.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: m.label })
5555
+ /* @__PURE__ */ e("text", { x: w, y: n - f.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: m.label })
5536
5556
  ] }, N);
5537
5557
  })
5538
5558
  ] }),
5539
5559
  /* @__PURE__ */ e(re, { tip: o.tip })
5540
5560
  ] });
5541
5561
  }
5542
- function G1({ series: t, labels: n, height: l = 240, format: c = ce, area: s = !1, className: a, ...r }) {
5543
- const { ref: d, width: o } = be(l), i = 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;
5562
+ function U1({ series: t, labels: n, height: l = 240, format: c = ce, area: s = !1, className: a, ...r }) {
5563
+ const { ref: d, width: o } = be(l), i = 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, w = b > 1 ? M / (b - 1) : M, k = Math.max(1, Math.ceil(b / 7)), y = x.top + S;
5544
5564
  return /* @__PURE__ */ u("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
5545
5565
  o > 0 && /* @__PURE__ */ u("svg", { width: o, height: l, className: "select-chart", children: [
5546
5566
  /* @__PURE__ */ e("defs", { children: t.map(($, g) => {
@@ -5595,14 +5615,14 @@ function G1({ series: t, labels: n, height: l = 240, format: c = ce, area: s = !
5595
5615
  g
5596
5616
  )),
5597
5617
  n.map(
5598
- ($, g) => g % w === 0 || g === b - 1 ? /* @__PURE__ */ e("text", { x: m(g), y: l - x.bottom + 16, className: "select-chart__xlabel", textAnchor: g === 0 ? "start" : g === b - 1 ? "end" : "middle", children: $ }, g) : null
5618
+ ($, g) => g % k === 0 || g === b - 1 ? /* @__PURE__ */ e("text", { x: m(g), y: l - x.bottom + 16, className: "select-chart__xlabel", textAnchor: g === 0 ? "start" : g === b - 1 ? "end" : "middle", children: $ }, g) : null
5599
5619
  ),
5600
5620
  n.map(($, g) => /* @__PURE__ */ e(
5601
5621
  "rect",
5602
5622
  {
5603
- x: m(g) - k / 2,
5623
+ x: m(g) - w / 2,
5604
5624
  y: x.top,
5605
- width: k,
5625
+ width: w,
5606
5626
  height: S,
5607
5627
  fill: "transparent",
5608
5628
  onMouseEnter: () => {
@@ -5626,10 +5646,10 @@ function G1({ series: t, labels: n, height: l = 240, format: c = ce, area: s = !
5626
5646
  /* @__PURE__ */ e(re, { tip: i.tip })
5627
5647
  ] });
5628
5648
  }
5629
- function U1({ series: t, labels: n, height: l = 240, format: c = ce, className: s, ...a }) {
5649
+ function z1({ series: t, labels: n, height: l = 240, format: c = ce, className: s, ...a }) {
5630
5650
  const { ref: r, width: d } = be(l), o = ae(), i = ge(), [p, h] = D(null), f = n.length, v = new Array(f).fill(0), _ = t.map(
5631
5651
  (g) => g.data.map((C, A) => (v[A] = (v[A] ?? 0) + (C ?? 0), v[A]))
5632
- ), x = Ge(Math.max(0, ...v)), M = lt, S = Math.max(0, d - 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];
5652
+ ), x = Ge(Math.max(0, ...v)), M = lt, S = Math.max(0, d - 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, w = f > 1 ? S / (f - 1) : S, k = Math.max(1, Math.ceil(f / 7)), y = M.top + b, $ = _[_.length - 1];
5633
5653
  return /* @__PURE__ */ u("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: r, children: [
5634
5654
  d > 0 && /* @__PURE__ */ u("svg", { width: d, height: l, className: "select-chart", children: [
5635
5655
  /* @__PURE__ */ e("defs", { children: t.map((g, C) => {
@@ -5661,14 +5681,14 @@ function U1({ series: t, labels: n, height: l = 240, format: c = ce, className:
5661
5681
  }),
5662
5682
  p != null && /* @__PURE__ */ e("line", { x1: m(p), x2: m(p), y1: M.top, y2: y, className: "select-chart__crosshair" }),
5663
5683
  n.map(
5664
- (g, C) => C % w === 0 || C === f - 1 ? /* @__PURE__ */ e("text", { x: m(C), y: l - M.bottom + 16, className: "select-chart__xlabel", textAnchor: C === 0 ? "start" : C === f - 1 ? "end" : "middle", children: g }, C) : null
5684
+ (g, C) => C % k === 0 || C === f - 1 ? /* @__PURE__ */ e("text", { x: m(C), y: l - M.bottom + 16, className: "select-chart__xlabel", textAnchor: C === 0 ? "start" : C === f - 1 ? "end" : "middle", children: g }, C) : null
5665
5685
  ),
5666
5686
  n.map((g, C) => /* @__PURE__ */ e(
5667
5687
  "rect",
5668
5688
  {
5669
- x: m(C) - k / 2,
5689
+ x: m(C) - w / 2,
5670
5690
  y: M.top,
5671
- width: k,
5691
+ width: w,
5672
5692
  height: b,
5673
5693
  fill: "transparent",
5674
5694
  onMouseEnter: () => {
@@ -5692,8 +5712,8 @@ function U1({ series: t, labels: n, height: l = 240, format: c = ce, className:
5692
5712
  /* @__PURE__ */ e(re, { tip: o.tip })
5693
5713
  ] });
5694
5714
  }
5695
- function z1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = ce, formatLine: a = (o) => `${Math.round(o)}%`, className: r, ...d }) {
5696
- const { ref: o, width: i } = be(c), p = ae(), h = ge(), [f, v] = D(null), _ = { ...lt, right: 58 }, x = Math.max(0, i - _.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)]);
5715
+ function q1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = ce, formatLine: a = (o) => `${Math.round(o)}%`, className: r, ...d }) {
5716
+ const { ref: o, width: i } = be(c), p = ae(), h = ge(), [f, v] = D(null), _ = { ...lt, right: 58 }, x = Math.max(0, i - _.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, w = Math.min(N * 0.5, 36), k = 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)]);
5697
5717
  return /* @__PURE__ */ u("div", { ...d, className: `select-chart-wrap${r ? " " + r : ""}`, ref: o, children: [
5698
5718
  i > 0 && /* @__PURE__ */ u("svg", { width: i, height: c, className: "select-chart", children: [
5699
5719
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ u("linearGradient", { id: `${h}-bar`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
@@ -5719,9 +5739,9 @@ function z1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = ce, f
5719
5739
  return /* @__PURE__ */ e(
5720
5740
  "rect",
5721
5741
  {
5722
- x: B(F) - k / 2,
5742
+ x: B(F) - w / 2,
5723
5743
  y: g - T,
5724
- width: k,
5744
+ width: w,
5725
5745
  height: Math.max(0, T),
5726
5746
  rx: 5,
5727
5747
  fill: `url(#${h}-bar)`,
@@ -5756,7 +5776,7 @@ function z1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = ce, f
5756
5776
  }
5757
5777
  ),
5758
5778
  t.map(
5759
- (E, F) => F % w === 0 || F === S - 1 ? /* @__PURE__ */ e("text", { x: B(F), y: c - _.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: E }, F) : null
5779
+ (E, F) => F % k === 0 || F === S - 1 ? /* @__PURE__ */ e("text", { x: B(F), y: c - _.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: E }, F) : null
5760
5780
  ),
5761
5781
  t.map((E, F) => /* @__PURE__ */ e(
5762
5782
  "rect",
@@ -5790,23 +5810,23 @@ function z1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = ce, f
5790
5810
  /* @__PURE__ */ e(re, { tip: p.tip })
5791
5811
  ] });
5792
5812
  }
5793
- const q1 = I(function({ segments: n, size: l = 200, thickness: c = 26, format: s = ce, centerLabel: a, legend: r = !0, gap: d = 2, pie: o = !1, className: i, ...p }, h) {
5794
- 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;
5795
- let k = 0;
5813
+ const Y1 = I(function({ segments: n, size: l = 200, thickness: c = 26, format: s = ce, centerLabel: a, legend: r = !0, gap: d = 2, pie: o = !1, className: i, ...p }, h) {
5814
+ const f = ae(), v = ge(), _ = J(null), x = gn(_, l), M = n.reduce((k, y) => k + y.value, 0) || 1, S = x / 2, b = x / 2, m = x / 2 - 2, N = o ? 0 : m - c;
5815
+ let w = 0;
5796
5816
  return /* @__PURE__ */ u("div", { ref: h, ...p, className: `select-donut-wrap${i ? " " + i : ""}`, children: [
5797
5817
  /* @__PURE__ */ u("div", { ref: _, className: "select-donut-ring", style: { width: `${l / 16}rem`, aspectRatio: "1" }, children: [
5798
5818
  /* @__PURE__ */ u("svg", { width: x, height: x, viewBox: `0 0 ${x} ${x}`, className: "select-chart select-donut", "aria-hidden": "true", children: [
5799
- /* @__PURE__ */ e("defs", { children: n.map((w, y) => {
5800
- const $ = w.color ?? z(y);
5819
+ /* @__PURE__ */ e("defs", { children: n.map((k, y) => {
5820
+ const $ = k.color ?? z(y);
5801
5821
  return /* @__PURE__ */ u("linearGradient", { id: `${v}-s${y}`, gradientUnits: "userSpaceOnUse", x1: "0", y1: "0", x2: "0", y2: x, children: [
5802
5822
  /* @__PURE__ */ e("stop", { offset: "0%", stopColor: $, stopOpacity: 1 }),
5803
5823
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: $, stopOpacity: 0.6 })
5804
5824
  ] }, y);
5805
5825
  }) }),
5806
- n.map((w, y) => {
5807
- const $ = k / M * 360;
5808
- k += w.value;
5809
- const g = k / M * 360, C = w.color ?? z(y), B = g - $ > d * 1.5 ? d / 2 : 0, L = $ + B, E = Math.max(L + 0.01, g - B);
5826
+ n.map((k, y) => {
5827
+ const $ = w / M * 360;
5828
+ w += k.value;
5829
+ const g = w / M * 360, C = k.color ?? z(y), B = g - $ > d * 1.5 ? d / 2 : 0, L = $ + B, E = Math.max(L + 0.01, g - B);
5810
5830
  return /* @__PURE__ */ e(
5811
5831
  "path",
5812
5832
  {
@@ -5819,8 +5839,8 @@ const q1 = I(function({ segments: n, size: l = 200, thickness: c = 26, format: s
5819
5839
  x: T,
5820
5840
  y: O,
5821
5841
  place: O <= b ? "top" : "bottom",
5822
- title: w.label,
5823
- rows: [{ label: "Valor", value: s(w.value), color: C }]
5842
+ title: k.label,
5843
+ rows: [{ label: "Valor", value: s(k.value), color: C }]
5824
5844
  });
5825
5845
  },
5826
5846
  onMouseLeave: f.hide
@@ -5831,16 +5851,16 @@ const q1 = I(function({ segments: n, size: l = 200, thickness: c = 26, format: s
5831
5851
  ] }),
5832
5852
  a != null && /* @__PURE__ */ e("div", { className: "select-donut__center", children: a })
5833
5853
  ] }),
5834
- r && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: n.map((w, y) => /* @__PURE__ */ u("li", { className: "select-donut__legitem", children: [
5835
- /* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background: w.color ?? z(y) } }),
5836
- /* @__PURE__ */ e("span", { className: "select-donut__leglabel", children: w.label }),
5837
- /* @__PURE__ */ e("span", { className: "select-donut__legval", children: s(w.value) })
5854
+ r && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: n.map((k, y) => /* @__PURE__ */ u("li", { className: "select-donut__legitem", children: [
5855
+ /* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background: k.color ?? z(y) } }),
5856
+ /* @__PURE__ */ e("span", { className: "select-donut__leglabel", children: k.label }),
5857
+ /* @__PURE__ */ e("span", { className: "select-donut__legval", children: s(k.value) })
5838
5858
  ] }, y)) }),
5839
5859
  /* @__PURE__ */ e(re, { tip: f.tip })
5840
5860
  ] });
5841
5861
  });
5842
- function Y1({ series: t, labels: n, height: l = 240, format: c = ce, stacked: s = !1, className: a, ...r }) {
5843
- const { ref: d, width: o } = be(l), i = 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;
5862
+ function X1({ series: t, labels: n, height: l = 240, format: c = ce, stacked: s = !1, className: a, ...r }) {
5863
+ const { ref: d, width: o } = be(l), i = 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, w = Math.min(m * 0.72, f * 40), k = s ? Math.min(m * 0.5, 44) : w / f;
5844
5864
  return /* @__PURE__ */ u("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
5845
5865
  o > 0 && /* @__PURE__ */ u("svg", { width: o, height: l, className: "select-chart", children: [
5846
5866
  /* @__PURE__ */ e("defs", { children: t.map((y, $) => {
@@ -5872,9 +5892,9 @@ function Y1({ series: t, labels: n, height: l = 240, format: c = ce, stacked: s
5872
5892
  return A += E, /* @__PURE__ */ e(
5873
5893
  "rect",
5874
5894
  {
5875
- x: g + m / 2 - w / 2,
5895
+ x: g + m / 2 - k / 2,
5876
5896
  y: F,
5877
- width: w,
5897
+ width: k,
5878
5898
  height: Math.max(0, E),
5879
5899
  rx: 3,
5880
5900
  fill: `url(#${p}-c${L})`,
@@ -5885,15 +5905,15 @@ function Y1({ series: t, labels: n, height: l = 240, format: c = ce, stacked: s
5885
5905
  );
5886
5906
  }) }, $);
5887
5907
  }
5888
- const C = g + (m - k) / 2;
5908
+ const C = g + (m - w) / 2;
5889
5909
  return /* @__PURE__ */ e("g", { children: t.map((A, B) => {
5890
5910
  const L = (A.data[$] ?? 0) / _ * S;
5891
5911
  return /* @__PURE__ */ e(
5892
5912
  "rect",
5893
5913
  {
5894
- x: C + B * w + w * 0.1,
5914
+ x: C + B * k + k * 0.1,
5895
5915
  y: b - L,
5896
- width: w * 0.8,
5916
+ width: k * 0.8,
5897
5917
  height: Math.max(0, L),
5898
5918
  rx: 3,
5899
5919
  fill: `url(#${p}-c${B})`,
@@ -5931,7 +5951,7 @@ function Y1({ series: t, labels: n, height: l = 240, format: c = ce, stacked: s
5931
5951
  /* @__PURE__ */ e(re, { tip: i.tip })
5932
5952
  ] });
5933
5953
  }
5934
- const X1 = I(function({ stages: n, format: l = ce, className: c, ...s }, a) {
5954
+ const K1 = I(function({ stages: n, format: l = ce, className: c, ...s }, a) {
5935
5955
  const r = Math.max(1, ...n.map((d) => d.value));
5936
5956
  return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-funnel${c ? " " + c : ""}`, children: n.map((d, o) => {
5937
5957
  const i = o > 0 ? n[o - 1].value || 1 : d.value || 1, p = o > 0 ? d.value / i * 100 : 100, h = z(o);
@@ -5968,7 +5988,7 @@ function Pl(t, n, l, c, s) {
5968
5988
  const [a, r] = Tl(t, n, l, c), [d, o] = Tl(t, n, l, s);
5969
5989
  return `M ${a.toFixed(2)} ${r.toFixed(2)} A ${l} ${l} 0 0 1 ${d.toFixed(2)} ${o.toFixed(2)}`;
5970
5990
  }
5971
- const ir = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`, K1 = I(function({ value: n, label: l, caption: c, size: s = 220, thickness: a, color: r, format: d = ir, className: o, ...i }, p) {
5991
+ const ir = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`, J1 = I(function({ value: n, label: l, caption: c, size: s = 220, thickness: a, color: r, format: d = ir, className: o, ...i }, p) {
5972
5992
  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: d });
5973
5993
  return /* @__PURE__ */ u("div", { ref: p, ...i, className: `select-gauge${o ? " " + o : ""}`, style: { width: `${s / 16}rem` }, children: [
5974
5994
  /* @__PURE__ */ u("div", { className: "select-gauge__ring", style: { width: "100%", aspectRatio: `${s} / ${S}` }, children: [
@@ -6003,18 +6023,18 @@ const ir = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
6003
6023
  ] }),
6004
6024
  c != null && /* @__PURE__ */ e("div", { className: "select-gauge__caption", children: c })
6005
6025
  ] });
6006
- }), J1 = I(function({ columns: n, rows: l, format: c = ce, formatValue: s, color: a = "var(--select-chart-1)", showValues: r = !0, min: d, max: o, cellSize: i = 40, maxCellSize: p = 96, cellHeight: h = 30, className: f, ...v }, _) {
6007
- const x = ae(), M = l.flatMap((y) => y.values).filter((y) => y != null && Number.isFinite(y)), S = d ?? (M.length ? Math.min(...M) : 0), m = (o ?? (M.length ? Math.max(...M) : 1)) - S || 1, N = { "--heat-color": a }, k = {
6026
+ }), Q1 = I(function({ columns: n, rows: l, format: c = ce, formatValue: s, color: a = "var(--select-chart-1)", showValues: r = !0, min: d, max: o, cellSize: i = 40, maxCellSize: p = 96, cellHeight: h = 30, className: f, ...v }, _) {
6027
+ const x = ae(), M = l.flatMap((y) => y.values).filter((y) => y != null && Number.isFinite(y)), S = d ?? (M.length ? Math.min(...M) : 0), m = (o ?? (M.length ? Math.max(...M) : 1)) - S || 1, N = { "--heat-color": a }, w = {
6008
6028
  gridTemplateColumns: `minmax(56px, max-content) repeat(${n.length}, minmax(${i}px, ${Math.max(i, p)}px))`,
6009
6029
  width: "fit-content",
6010
6030
  maxWidth: "100%",
6011
6031
  minWidth: 0
6012
- }, w = {
6032
+ }, k = {
6013
6033
  minHeight: h,
6014
6034
  ...h >= 40 ? { fontSize: "0.8125rem" } : null
6015
6035
  };
6016
6036
  return /* @__PURE__ */ u("div", { ref: _, ...v, className: `select-chart-wrap select-heatmap${f ? " " + f : ""}`, style: N, children: [
6017
- /* @__PURE__ */ u("div", { className: "select-heatmap__grid", style: k, children: [
6037
+ /* @__PURE__ */ u("div", { className: "select-heatmap__grid", style: w, children: [
6018
6038
  /* @__PURE__ */ e("div", { className: "select-heatmap__corner" }),
6019
6039
  n.map((y) => /* @__PURE__ */ e("div", { className: "select-heatmap__colhead", children: y }, y)),
6020
6040
  l.map((y) => /* @__PURE__ */ u(Zn, { children: [
@@ -6022,14 +6042,14 @@ const ir = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
6022
6042
  y.values.map(($, g) => {
6023
6043
  const C = `${y.label}-${n[g] ?? g}`;
6024
6044
  if ($ == null || !Number.isFinite($))
6025
- return /* @__PURE__ */ e("div", { className: "select-heatmap__cell select-heatmap__cell--empty", style: w }, C);
6045
+ return /* @__PURE__ */ e("div", { className: "select-heatmap__cell select-heatmap__cell--empty", style: k }, C);
6026
6046
  const A = Math.max(0, Math.min(1, ($ - S) / m)), B = Math.round((0.14 + A * 0.86) * 100), L = Math.max(6, B - 16);
6027
6047
  return /* @__PURE__ */ e(
6028
6048
  "div",
6029
6049
  {
6030
6050
  className: "select-heatmap__cell",
6031
6051
  style: {
6032
- ...w,
6052
+ ...k,
6033
6053
  background: `linear-gradient(150deg, color-mix(in srgb, ${a} ${L}%, transparent), color-mix(in srgb, ${a} ${B}%, transparent))`,
6034
6054
  color: A > 0.55 ? "#fff" : "var(--select-text)"
6035
6055
  },
@@ -6054,7 +6074,7 @@ const ir = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
6054
6074
  /* @__PURE__ */ e(re, { tip: x.tip })
6055
6075
  ] });
6056
6076
  });
6057
- function Q1({
6077
+ function ei({
6058
6078
  items: t,
6059
6079
  format: n = ce,
6060
6080
  color: l,
@@ -6088,7 +6108,7 @@ function Q1({
6088
6108
  ] }, `${a.label}-${r}`);
6089
6109
  }) });
6090
6110
  }
6091
- const Fn = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, ei = I(function({ series: n, size: l = 200, thickness: c = 14, gap: s = 8, format: a = (h) => `${Math.round(h)}%`, centerLabel: r, legend: d = !0, className: o, ...i }, p) {
6111
+ const Fn = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, ti = I(function({ series: n, size: l = 200, thickness: c = 14, gap: s = 8, format: a = (h) => `${Math.round(h)}%`, centerLabel: r, legend: d = !0, className: o, ...i }, p) {
6092
6112
  const h = ge(), f = l / 2, v = l / 2;
6093
6113
  return /* @__PURE__ */ u("div", { ref: p, ...i, className: `select-donut-wrap${o ? " " + o : ""}`, children: [
6094
6114
  /* @__PURE__ */ u("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
@@ -6134,11 +6154,11 @@ const Fn = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, ei = I
6134
6154
  ] }, x)) })
6135
6155
  ] });
6136
6156
  }), Dl = 6.1, In = 12, Wl = 56, dr = 0.4;
6137
- function ti({ data: t, height: n, color: l, format: c = ce, formatValue: s, distributed: a = !0, labelWidth: r, className: d, ...o }) {
6157
+ function ni({ data: t, height: n, color: l, format: c = ce, formatValue: s, distributed: a = !0, labelWidth: r, className: d, ...o }) {
6138
6158
  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(
6139
6159
  Math.max(Wl, m * Dl + In),
6140
6160
  Math.max(Wl, x * dr)
6141
- ), 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));
6161
+ ), w = r ?? N, k = Math.max(3, Math.floor((w - In) / Dl)), y = (E) => E.length <= k ? E : `${E.slice(0, k - 1).trimEnd()}…`, $ = Math.max(0, x - w - 28), g = v - 6 - 26, C = t.length ? g / t.length : 0, A = Math.min(C * 0.62, 22), B = (E) => w + E / b * $, L = (E, F) => E.color ?? (a ? z(F) : l ?? z(0));
6142
6162
  return /* @__PURE__ */ u("div", { ...o, className: `select-chart-wrap${d ? " " + d : ""}`, ref: _, children: [
6143
6163
  x > 0 && /* @__PURE__ */ u("svg", { width: x, height: v, className: "select-chart", children: [
6144
6164
  /* @__PURE__ */ e("defs", { children: t.map((E, F) => {
@@ -6164,11 +6184,11 @@ function ti({ data: t, height: n, color: l, format: c = ce, formatValue: s, dist
6164
6184
  t.map((E, F) => {
6165
6185
  const T = 6 + C * F + C / 2, O = E.value / b * $, q = L(E, F);
6166
6186
  return /* @__PURE__ */ u("g", { children: [
6167
- /* @__PURE__ */ e("rect", { x: k, y: T - A / 2, width: $, height: A, rx: 5, className: "select-chart__track-bar" }),
6187
+ /* @__PURE__ */ e("rect", { x: w, y: T - A / 2, width: $, height: A, rx: 5, className: "select-chart__track-bar" }),
6168
6188
  /* @__PURE__ */ e(
6169
6189
  "rect",
6170
6190
  {
6171
- x: k,
6191
+ x: w,
6172
6192
  y: T - A / 2,
6173
6193
  width: Math.max(0, O),
6174
6194
  height: A,
@@ -6177,7 +6197,7 @@ function ti({ data: t, height: n, color: l, format: c = ce, formatValue: s, dist
6177
6197
  className: "select-chart__hbar",
6178
6198
  style: { animationDelay: `${F * 40}ms` },
6179
6199
  onMouseEnter: () => M.show({
6180
- x: k + O,
6200
+ x: w + O,
6181
6201
  y: T - A / 2,
6182
6202
  place: T - A / 2 < 50 ? "bottom" : "top",
6183
6203
  rows: [{ label: E.label, value: (s ?? c)(E.value), color: q }]
@@ -6188,7 +6208,7 @@ function ti({ data: t, height: n, color: l, format: c = ce, formatValue: s, dist
6188
6208
  /* @__PURE__ */ u(
6189
6209
  "text",
6190
6210
  {
6191
- x: k - In / 2,
6211
+ x: w - In / 2,
6192
6212
  y: T,
6193
6213
  className: "select-chart__ylabel",
6194
6214
  dominantBaseline: "middle",
@@ -6205,44 +6225,44 @@ function ti({ data: t, height: n, color: l, format: c = ce, formatValue: s, dist
6205
6225
  /* @__PURE__ */ e(re, { tip: M.tip })
6206
6226
  ] });
6207
6227
  }
6208
- function ni({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
6228
+ function li({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
6209
6229
  const { ref: a, width: r } = be(n), d = ae(), o = ge();
6210
6230
  let i = 0;
6211
- const p = t.map((w) => {
6212
- if (w.total)
6213
- return i = w.value, { ...w, start: 0, end: w.value };
6231
+ const p = t.map((k) => {
6232
+ if (k.total)
6233
+ return i = k.value, { ...k, start: 0, end: k.value };
6214
6234
  const y = i;
6215
- return i += w.value, { ...w, start: y, end: i };
6216
- }), h = Ge(Math.max(0, ...p.map((w) => Math.max(w.start, w.end)))), f = lt, v = Math.max(0, r - f.left - f.right), _ = n - f.top - f.bottom, x = f.top + _, M = t.length, S = M ? v / M : 0, b = Math.min(S * 0.6, 46), m = (w) => x - w / h * _, N = {
6235
+ return i += k.value, { ...k, start: y, end: i };
6236
+ }), h = Ge(Math.max(0, ...p.map((k) => Math.max(k.start, k.end)))), f = lt, v = Math.max(0, r - f.left - f.right), _ = n - f.top - f.bottom, x = f.top + _, M = t.length, S = M ? v / M : 0, b = Math.min(S * 0.6, 46), m = (k) => x - k / h * _, N = {
6217
6237
  total: "var(--select-chart-1)",
6218
6238
  inc: "var(--select-chart-4)",
6219
6239
  dec: "var(--select-chart-3)"
6220
- }, k = (w) => w.total ? "total" : w.value >= 0 ? "inc" : "dec";
6240
+ }, w = (k) => k.total ? "total" : k.value >= 0 ? "inc" : "dec";
6221
6241
  return /* @__PURE__ */ u("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
6222
6242
  r > 0 && /* @__PURE__ */ u("svg", { width: r, height: n, className: "select-chart", children: [
6223
- /* @__PURE__ */ e("defs", { children: ["total", "inc", "dec"].map((w) => /* @__PURE__ */ u("linearGradient", { id: `${o}-${w}`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
6224
- /* @__PURE__ */ e("stop", { offset: "0%", stopColor: N[w], stopOpacity: 1 }),
6225
- /* @__PURE__ */ e("stop", { offset: "100%", stopColor: N[w], stopOpacity: 0.62 })
6226
- ] }, w)) }),
6227
- Xe(h).map((w, y) => /* @__PURE__ */ u("g", { children: [
6243
+ /* @__PURE__ */ e("defs", { children: ["total", "inc", "dec"].map((k) => /* @__PURE__ */ u("linearGradient", { id: `${o}-${k}`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
6244
+ /* @__PURE__ */ e("stop", { offset: "0%", stopColor: N[k], stopOpacity: 1 }),
6245
+ /* @__PURE__ */ e("stop", { offset: "100%", stopColor: N[k], stopOpacity: 0.62 })
6246
+ ] }, k)) }),
6247
+ Xe(h).map((k, y) => /* @__PURE__ */ u("g", { children: [
6228
6248
  /* @__PURE__ */ e(
6229
6249
  "line",
6230
6250
  {
6231
6251
  x1: f.left,
6232
6252
  x2: r - f.right,
6233
- y1: m(w),
6234
- y2: m(w),
6253
+ y1: m(k),
6254
+ y2: m(k),
6235
6255
  className: y === 0 ? "select-chart__axis" : "select-chart__grid"
6236
6256
  }
6237
6257
  ),
6238
- /* @__PURE__ */ e("text", { x: f.left - 8, y: m(w), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: l(w) })
6258
+ /* @__PURE__ */ e("text", { x: f.left - 8, y: m(k), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: l(k) })
6239
6259
  ] }, y)),
6240
- p.slice(0, -1).map((w, y) => {
6260
+ p.slice(0, -1).map((k, y) => {
6241
6261
  const $ = f.left + S * y + S / 2 + b / 2, g = f.left + S * (y + 1) + S / 2 - b / 2;
6242
- return /* @__PURE__ */ e("line", { x1: $, x2: g, y1: m(w.end), y2: m(w.end), className: "select-chart__crosshair" }, `c${y}`);
6262
+ return /* @__PURE__ */ e("line", { x1: $, x2: g, y1: m(k.end), y2: m(k.end), className: "select-chart__crosshair" }, `c${y}`);
6243
6263
  }),
6244
- p.map((w, y) => {
6245
- const $ = f.left + S * y + S / 2, g = m(Math.max(w.start, w.end)), C = Math.abs(m(w.start) - m(w.end)), A = k(w);
6264
+ p.map((k, y) => {
6265
+ const $ = f.left + S * y + S / 2, g = m(Math.max(k.start, k.end)), C = Math.abs(m(k.start) - m(k.end)), A = w(k);
6246
6266
  return /* @__PURE__ */ u("g", { children: [
6247
6267
  /* @__PURE__ */ e(
6248
6268
  "rect",
@@ -6259,23 +6279,23 @@ function ni({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
6259
6279
  x: $,
6260
6280
  y: g,
6261
6281
  place: g < f.top + 52 ? "bottom" : "top",
6262
- title: w.label,
6263
- rows: w.total ? [{ label: "Total", value: l(w.end), color: N.total }] : [
6264
- { label: "Variação", value: `${w.value >= 0 ? "+" : ""}${l(w.value)}`, color: N[A] },
6265
- { label: "Total", value: l(w.end) }
6282
+ title: k.label,
6283
+ rows: k.total ? [{ label: "Total", value: l(k.end), color: N.total }] : [
6284
+ { label: "Variação", value: `${k.value >= 0 ? "+" : ""}${l(k.value)}`, color: N[A] },
6285
+ { label: "Total", value: l(k.end) }
6266
6286
  ]
6267
6287
  }),
6268
6288
  onMouseLeave: d.hide
6269
6289
  }
6270
6290
  ),
6271
- /* @__PURE__ */ e("text", { x: $, y: n - f.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: w.label })
6291
+ /* @__PURE__ */ e("text", { x: $, y: n - f.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: k.label })
6272
6292
  ] }, y);
6273
6293
  })
6274
6294
  ] }),
6275
6295
  /* @__PURE__ */ e(re, { tip: d.tip })
6276
6296
  ] });
6277
6297
  }
6278
- const Ol = (t) => Math.max(0, Math.min(100, t)), li = I(function({ items: n, format: l = ce, className: c, ...s }, a) {
6298
+ const Ol = (t) => Math.max(0, Math.min(100, t)), ci = I(function({ items: n, format: l = ce, className: c, ...s }, a) {
6279
6299
  return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-bullet${c ? " " + c : ""}`, children: n.map((r, d) => {
6280
6300
  const o = r.color ?? z(d), i = r.max ?? (Math.max(r.value, r.target) * 1.25 || 1), p = r.value >= r.target;
6281
6301
  return /* @__PURE__ */ u("div", { className: "select-bullet__row", children: [
@@ -6333,16 +6353,16 @@ function hr(t, n, l) {
6333
6353
  if (i >= p) {
6334
6354
  const m = b / p;
6335
6355
  let N = o;
6336
- S.forEach((k, w) => {
6337
- const y = M[w] / m;
6338
- c.push({ x: d, y: N, w: m, h: y, idx: k }), N += y;
6356
+ S.forEach((w, k) => {
6357
+ const y = M[k] / m;
6358
+ c.push({ x: d, y: N, w: m, h: y, idx: w }), N += y;
6339
6359
  }), a(r.slice(x), d + m, o, i - m, p);
6340
6360
  } else {
6341
6361
  const m = b / i;
6342
6362
  let N = d;
6343
- S.forEach((k, w) => {
6344
- const y = M[w] / m;
6345
- c.push({ x: N, y: o, w: y, h: m, idx: k }), N += y;
6363
+ S.forEach((w, k) => {
6364
+ const y = M[k] / m;
6365
+ c.push({ x: N, y: o, w: y, h: m, idx: w }), N += y;
6346
6366
  }), a(r.slice(x), d, o + m, i, p - m);
6347
6367
  }
6348
6368
  };
@@ -6354,7 +6374,7 @@ function hr(t, n, l) {
6354
6374
  l
6355
6375
  ), c;
6356
6376
  }
6357
- function ci({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
6377
+ function si({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
6358
6378
  const { ref: a, width: r } = be(n), d = ae(), o = ge(), i = t.map((h, f) => f).sort((h, f) => t[f].value - t[h].value), p = r > 0 ? hr(i.map((h) => t[h].value), r, n) : [];
6359
6379
  return /* @__PURE__ */ u("div", { ...s, className: `select-chart-wrap select-treemap${c ? " " + c : ""}`, ref: a, children: [
6360
6380
  r > 0 && /* @__PURE__ */ u("svg", { width: r, height: n, className: "select-chart", children: [
@@ -6396,8 +6416,8 @@ function ci({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
6396
6416
  /* @__PURE__ */ e(re, { tip: d.tip })
6397
6417
  ] });
6398
6418
  }
6399
- function si({ series: t, height: n = 240, xFormat: l = ce, yFormat: c = ce, xMax: s, yMax: a, maxRadius: r = 18, className: d, ...o }) {
6400
- const { ref: i, 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;
6419
+ function ai({ series: t, height: n = 240, xFormat: l = ce, yFormat: c = ce, xMax: s, yMax: a, maxRadius: r = 18, className: d, ...o }) {
6420
+ const { ref: i, 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, w = (y) => m - y / _ * b, k = (y) => y.r ? 4 + Math.sqrt(y.r) / Math.sqrt(x) * (r - 4) : 4.5;
6401
6421
  return /* @__PURE__ */ u("div", { ...o, className: `select-chart-wrap${d ? " " + d : ""}`, ref: i, children: [
6402
6422
  p > 0 && /* @__PURE__ */ u("svg", { width: p, height: n, className: "select-chart", children: [
6403
6423
  Xe(_).map((y, $) => /* @__PURE__ */ u("g", { children: [
@@ -6406,12 +6426,12 @@ function si({ series: t, height: n = 240, xFormat: l = ce, yFormat: c = ce, xMax
6406
6426
  {
6407
6427
  x1: M.left,
6408
6428
  x2: p - M.right,
6409
- y1: k(y),
6410
- y2: k(y),
6429
+ y1: w(y),
6430
+ y2: w(y),
6411
6431
  className: $ === 0 ? "select-chart__axis" : "select-chart__grid"
6412
6432
  }
6413
6433
  ),
6414
- /* @__PURE__ */ e("text", { x: M.left - 8, y: k(y), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: c(y) })
6434
+ /* @__PURE__ */ e("text", { x: M.left - 8, y: w(y), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: c(y) })
6415
6435
  ] }, `y${$}`)),
6416
6436
  Xe(v).map((y, $, g) => /* @__PURE__ */ e("text", { x: N(y), y: n - M.bottom + 16, className: "select-chart__xlabel", textAnchor: $ === 0 ? "start" : $ === g.length - 1 ? "end" : "middle", children: l(y) }, `x${$}`)),
6417
6437
  t.map((y, $) => {
@@ -6420,13 +6440,13 @@ function si({ series: t, height: n = 240, xFormat: l = ce, yFormat: c = ce, xMax
6420
6440
  "circle",
6421
6441
  {
6422
6442
  cx: N(C.x),
6423
- cy: k(C.y),
6424
- r: w(C),
6443
+ cy: w(C.y),
6444
+ r: k(C),
6425
6445
  className: "select-chart__point",
6426
6446
  onMouseEnter: () => h.show({
6427
6447
  x: N(C.x),
6428
- y: k(C.y) - w(C),
6429
- place: k(C.y) - w(C) < M.top + 52 ? "bottom" : "top",
6448
+ y: w(C.y) - k(C),
6449
+ place: w(C.y) - k(C) < M.top + 52 ? "bottom" : "top",
6430
6450
  title: C.label ?? y.name,
6431
6451
  rows: [
6432
6452
  { label: "X", value: l(C.x), color: g },
@@ -6443,24 +6463,24 @@ function si({ series: t, height: n = 240, xFormat: l = ce, yFormat: c = ce, xMax
6443
6463
  /* @__PURE__ */ e(re, { tip: h.tip })
6444
6464
  ] });
6445
6465
  }
6446
- const ai = I(function({ axes: n, series: l, size: c = 240, max: s, format: a = ce, levels: r = 4, legend: d = !0, className: o, ...i }, p) {
6447
- 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";
6466
+ const ri = I(function({ axes: n, series: l, size: c = 240, max: s, format: a = ce, levels: r = 4, legend: d = !0, className: o, ...i }, p) {
6467
+ 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((w) => w.values))), b = (w) => (-90 + w * 360 / v) * Math.PI / 180, m = (w, k) => [_ + k * Math.cos(b(w)), x + k * Math.sin(b(w))], N = (w) => w.map((k, y) => `${y === 0 ? "M" : "L"}${m(y, k).map(($) => $.toFixed(2)).join(",")}`).join(" ") + " Z";
6448
6468
  return /* @__PURE__ */ u("div", { ref: p, ...i, className: `select-donut-wrap${o ? " " + o : ""}`, children: [
6449
6469
  /* @__PURE__ */ u("div", { className: "select-radar", style: { width: c, aspectRatio: "1" }, children: [
6450
6470
  /* @__PURE__ */ u("svg", { width: c, height: c, viewBox: `0 0 ${c} ${c}`, className: "select-chart", "aria-hidden": "true", children: [
6451
- /* @__PURE__ */ e("defs", { children: l.map((k, w) => {
6452
- const y = k.color ?? z(w);
6453
- return /* @__PURE__ */ u("radialGradient", { id: `${f}-rd${w}`, children: [
6471
+ /* @__PURE__ */ e("defs", { children: l.map((w, k) => {
6472
+ const y = w.color ?? z(k);
6473
+ return /* @__PURE__ */ u("radialGradient", { id: `${f}-rd${k}`, children: [
6454
6474
  /* @__PURE__ */ e("stop", { offset: "0%", stopColor: y, stopOpacity: 0.32 }),
6455
6475
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: y, stopOpacity: 0.12 })
6456
- ] }, w);
6476
+ ] }, k);
6457
6477
  }) }),
6458
- Array.from({ length: r }, (k, w) => {
6459
- const y = M * (w + 1) / r;
6460
- return /* @__PURE__ */ e("path", { d: N(n.map(() => y)), className: "select-chart__grid", fill: "none" }, w);
6478
+ Array.from({ length: r }, (w, k) => {
6479
+ const y = M * (k + 1) / r;
6480
+ return /* @__PURE__ */ e("path", { d: N(n.map(() => y)), className: "select-chart__grid", fill: "none" }, k);
6461
6481
  }),
6462
- n.map((k, w) => {
6463
- const [y, $] = m(w, M), [g, C] = m(w, M + 14);
6482
+ n.map((w, k) => {
6483
+ const [y, $] = m(k, M), [g, C] = m(k, M + 14);
6464
6484
  return /* @__PURE__ */ u("g", { children: [
6465
6485
  /* @__PURE__ */ e("line", { x1: _, y1: x, x2: y, y2: $, className: "select-chart__grid" }),
6466
6486
  /* @__PURE__ */ e(
@@ -6471,15 +6491,15 @@ const ai = I(function({ axes: n, series: l, size: c = 240, max: s, format: a = c
6471
6491
  className: "select-chart__xlabel",
6472
6492
  textAnchor: Math.abs(g - _) < 4 ? "middle" : g > _ ? "start" : "end",
6473
6493
  dominantBaseline: "middle",
6474
- children: k
6494
+ children: w
6475
6495
  }
6476
6496
  )
6477
- ] }, w);
6497
+ ] }, k);
6478
6498
  }),
6479
- l.map((k, w) => {
6480
- const y = k.color ?? z(w), $ = k.values.map((g) => Math.max(0, g) / S * M);
6499
+ l.map((w, k) => {
6500
+ const y = w.color ?? z(k), $ = w.values.map((g) => Math.max(0, g) / S * M);
6481
6501
  return /* @__PURE__ */ u("g", { children: [
6482
- /* @__PURE__ */ e("path", { d: N($), fill: `url(#${f}-rd${w})`, stroke: y, strokeWidth: 2, strokeLinejoin: "round", className: "select-chart__area" }),
6502
+ /* @__PURE__ */ e("path", { d: N($), fill: `url(#${f}-rd${k})`, stroke: y, strokeWidth: 2, strokeLinejoin: "round", className: "select-chart__area" }),
6483
6503
  $.map((g, C) => {
6484
6504
  const [A, B] = m(C, g);
6485
6505
  return /* @__PURE__ */ e(
@@ -6495,25 +6515,25 @@ const ai = I(function({ axes: n, series: l, size: c = 240, max: s, format: a = c
6495
6515
  y: B,
6496
6516
  place: B < 44 ? "bottom" : "top",
6497
6517
  title: n[C],
6498
- rows: [{ label: k.name, value: a(k.values[C] ?? 0), color: y }]
6518
+ rows: [{ label: w.name, value: a(w.values[C] ?? 0), color: y }]
6499
6519
  }),
6500
6520
  onMouseLeave: h.hide
6501
6521
  },
6502
6522
  C
6503
6523
  );
6504
6524
  })
6505
- ] }, w);
6525
+ ] }, k);
6506
6526
  })
6507
6527
  ] }),
6508
6528
  /* @__PURE__ */ e(re, { tip: h.tip })
6509
6529
  ] }),
6510
- d && l.length > 1 && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: l.map((k, w) => /* @__PURE__ */ u("li", { className: "select-donut__legitem", children: [
6511
- /* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background: k.color ?? z(w) } }),
6512
- /* @__PURE__ */ e("span", { className: "select-donut__leglabel", children: k.name })
6513
- ] }, w)) })
6530
+ d && l.length > 1 && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: l.map((w, k) => /* @__PURE__ */ u("li", { className: "select-donut__legitem", children: [
6531
+ /* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background: w.color ?? z(k) } }),
6532
+ /* @__PURE__ */ e("span", { className: "select-donut__leglabel", children: w.name })
6533
+ ] }, k)) })
6514
6534
  ] });
6515
6535
  });
6516
- function ri({ links: t, height: n = 260, format: l = ce, nodeWidth: c = 14, nodeGap: s = 14, className: a, ...r }) {
6536
+ function oi({ links: t, height: n = 260, format: l = ce, nodeWidth: c = 14, nodeGap: s = 14, className: a, ...r }) {
6517
6537
  const { ref: d, width: o } = be(n), i = ae(), p = [], h = [];
6518
6538
  for (const g of t)
6519
6539
  p.includes(g.source) || p.push(g.source), h.includes(g.target) || h.push(g.target);
@@ -6524,13 +6544,13 @@ function ri({ links: t, height: n = 260, format: l = ce, nodeWidth: c = 14, node
6524
6544
  const T = v(E, C) * b;
6525
6545
  B.set(E, { name: E, y: L, h: T, cursor: L, color: z(F + A) }), L += T + s;
6526
6546
  }), B;
6527
- }, N = m(p, "source", 0), k = m(h, "target", p.length), w = c, y = o - c, $ = (w + y) / 2;
6547
+ }, N = m(p, "source", 0), w = m(h, "target", p.length), k = c, y = o - c, $ = (k + y) / 2;
6528
6548
  return /* @__PURE__ */ u("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
6529
6549
  o > 0 && /* @__PURE__ */ u("svg", { width: o, height: n, className: "select-chart", children: [
6530
6550
  t.map((g, C) => {
6531
- const A = N.get(g.source), B = k.get(g.target), L = g.value * b, E = A.cursor, F = B.cursor;
6551
+ const A = N.get(g.source), B = w.get(g.target), L = g.value * b, E = A.cursor, F = B.cursor;
6532
6552
  A.cursor += L, B.cursor += L;
6533
- const T = `M${w},${E} C${$},${E} ${$},${F} ${y},${F} L${y},${F + L} C${$},${F + L} ${$},${E + L} ${w},${E + L} Z`;
6553
+ const T = `M${k},${E} C${$},${E} ${$},${F} ${y},${F} L${y},${F + L} C${$},${F + L} ${$},${E + L} ${k},${E + L} Z`;
6534
6554
  return /* @__PURE__ */ e(
6535
6555
  "path",
6536
6556
  {
@@ -6553,7 +6573,7 @@ function ri({ links: t, height: n = 260, format: l = ce, nodeWidth: c = 14, node
6553
6573
  /* @__PURE__ */ e("rect", { x: 0, y: g.y, width: c, height: Math.max(1, g.h), rx: 3, fill: g.color, className: "select-sankey__node" }),
6554
6574
  /* @__PURE__ */ e("text", { x: c + 6, y: g.y + g.h / 2, className: "select-sankey__label", dominantBaseline: "middle", textAnchor: "start", children: g.name })
6555
6575
  ] }, `s${C}`)),
6556
- [...k.values()].map((g, C) => /* @__PURE__ */ u("g", { children: [
6576
+ [...w.values()].map((g, C) => /* @__PURE__ */ u("g", { children: [
6557
6577
  /* @__PURE__ */ e("rect", { x: o - c, y: g.y, width: c, height: Math.max(1, g.h), rx: 3, fill: g.color, className: "select-sankey__node" }),
6558
6578
  /* @__PURE__ */ e("text", { x: o - c - 6, y: g.y + g.h / 2, className: "select-sankey__label", dominantBaseline: "middle", textAnchor: "end", children: g.name })
6559
6579
  ] }, `t${C}`))
@@ -6561,8 +6581,8 @@ function ri({ links: t, height: n = 260, format: l = ce, nodeWidth: c = 14, node
6561
6581
  /* @__PURE__ */ e(re, { tip: i.tip })
6562
6582
  ] });
6563
6583
  }
6564
- function oi({ data: t, height: n = 240, format: l = ce, upColor: c = "var(--select-chart-4)", downColor: s = "var(--select-chart-3)", className: a, ...r }) {
6565
- const { ref: d, width: o } = be(n), i = 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);
6584
+ function ii({ data: t, height: n = 240, format: l = ce, upColor: c = "var(--select-chart-4)", downColor: s = "var(--select-chart-3)", className: a, ...r }) {
6585
+ const { ref: d, width: o } = be(n), i = 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, w = N ? h / N : 0, k = Math.min(w * 0.5, 18), y = Array.from({ length: 5 }, ($, g) => S + (b - S) * g / 4);
6566
6586
  return /* @__PURE__ */ u("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
6567
6587
  o > 0 && /* @__PURE__ */ u("svg", { width: o, height: n, className: "select-chart", children: [
6568
6588
  y.map(($, g) => /* @__PURE__ */ u("g", { children: [
@@ -6579,17 +6599,17 @@ function oi({ data: t, height: n = 240, format: l = ce, upColor: c = "var(--sele
6579
6599
  /* @__PURE__ */ e("text", { x: p.left - 8, y: m($), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: l($) })
6580
6600
  ] }, g)),
6581
6601
  t.map(($, g) => {
6582
- const C = p.left + k * g + k / 2, A = $.close >= $.open, B = A ? c : s, L = m(Math.max($.open, $.close)), E = Math.max(1, Math.abs(m($.open) - m($.close)));
6602
+ const C = p.left + w * g + w / 2, A = $.close >= $.open, B = A ? c : s, L = m(Math.max($.open, $.close)), E = Math.max(1, Math.abs(m($.open) - m($.close)));
6583
6603
  return /* @__PURE__ */ u("g", { children: [
6584
6604
  /* @__PURE__ */ e("line", { x1: C, x2: C, y1: m($.high), y2: m($.low), stroke: B, strokeWidth: 1.5 }),
6585
- /* @__PURE__ */ e("rect", { x: C - w / 2, y: L, width: w, height: E, rx: 2, fill: B, fillOpacity: A ? 0.9 : 0.78 }),
6605
+ /* @__PURE__ */ e("rect", { x: C - k / 2, y: L, width: k, height: E, rx: 2, fill: B, fillOpacity: A ? 0.9 : 0.78 }),
6586
6606
  /* @__PURE__ */ e("text", { x: C, y: n - p.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: $.label }),
6587
6607
  /* @__PURE__ */ e(
6588
6608
  "rect",
6589
6609
  {
6590
- x: p.left + k * g,
6610
+ x: p.left + w * g,
6591
6611
  y: p.top,
6592
- width: k,
6612
+ width: w,
6593
6613
  height: f,
6594
6614
  fill: "transparent",
6595
6615
  onMouseEnter: () => i.show({
@@ -6613,7 +6633,7 @@ function oi({ data: t, height: n = 240, format: l = ce, upColor: c = "var(--sele
6613
6633
  /* @__PURE__ */ e(re, { tip: i.tip })
6614
6634
  ] });
6615
6635
  }
6616
- function ii({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
6636
+ function di({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
6617
6637
  const { ref: a, width: r } = be(n), d = ae(), o = lt, i = 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 = _ ? i / _ : 0, M = Math.min(x * 0.5, 40);
6618
6638
  return /* @__PURE__ */ u("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
6619
6639
  r > 0 && /* @__PURE__ */ u("svg", { width: r, height: n, className: "select-chart", children: [
@@ -6669,8 +6689,8 @@ function ii({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
6669
6689
  /* @__PURE__ */ e(re, { tip: d.tip })
6670
6690
  ] });
6671
6691
  }
6672
- function di({ data: t, height: n, min: l, max: c, format: s = ce, labelWidth: a = 96, className: r, ...d }) {
6673
- 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);
6692
+ function hi({ data: t, height: n, min: l, max: c, format: s = ce, labelWidth: a = 96, className: r, ...d }) {
6693
+ 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, w = Math.max(0, _ - N - 14), k = f - 6 - 26, y = t.length ? k / t.length : 0, $ = Math.min(y * 0.6, 22), g = (A) => N + (A - S) / m * w, C = Array.from({ length: 5 }, (A, B) => S + m * B / 4);
6674
6694
  return /* @__PURE__ */ u("div", { ...d, className: `select-chart-wrap${r ? " " + r : ""}`, ref: v, children: [
6675
6695
  _ > 0 && /* @__PURE__ */ u("svg", { width: _, height: f, className: "select-chart", children: [
6676
6696
  /* @__PURE__ */ e("defs", { children: t.map((A, B) => {
@@ -6687,7 +6707,7 @@ function di({ data: t, height: n, min: l, max: c, format: s = ce, labelWidth: a
6687
6707
  x1: g(A),
6688
6708
  x2: g(A),
6689
6709
  y1: 6,
6690
- y2: 6 + w,
6710
+ y2: 6 + k,
6691
6711
  className: B === 0 ? "select-chart__axis" : "select-chart__grid"
6692
6712
  }
6693
6713
  ),
@@ -6724,12 +6744,12 @@ function di({ data: t, height: n, min: l, max: c, format: s = ce, labelWidth: a
6724
6744
  /* @__PURE__ */ e(re, { tip: x.tip })
6725
6745
  ] });
6726
6746
  }
6727
- const hi = 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: d = 3, min: o, max: i, className: p, ...h }, f) {
6747
+ const ui = 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: d = 3, min: o, max: i, className: p, ...h }, f) {
6728
6748
  const v = ae();
6729
6749
  ge();
6730
- const _ = n.flat().filter(($) => $ != null && Number.isFinite($)), x = o ?? (_.length ? Math.min(..._) : 0), S = (i ?? (_.length ? Math.max(..._) : 1)) - x || 1, b = 30, m = s ? 16 : 4, N = r + d, k = b + n.length * N, w = m + 7 * N, y = { "--heat-color": l };
6750
+ const _ = n.flat().filter(($) => $ != null && Number.isFinite($)), x = o ?? (_.length ? Math.min(..._) : 0), S = (i ?? (_.length ? Math.max(..._) : 1)) - x || 1, b = 30, m = s ? 16 : 4, N = r + d, w = b + n.length * N, k = m + 7 * N, y = { "--heat-color": l };
6731
6751
  return /* @__PURE__ */ u("div", { ref: f, ...h, className: `select-chart-wrap select-calheat${p ? " " + p : ""}`, style: y, children: [
6732
- /* @__PURE__ */ u("svg", { width: k, height: w, className: "select-chart", children: [
6752
+ /* @__PURE__ */ u("svg", { width: w, height: k, className: "select-chart", children: [
6733
6753
  c.map(
6734
6754
  ($, g) => $ ? /* @__PURE__ */ e("text", { x: b - 6, y: m + g * N + r / 2, className: "select-chart__xlabel", dominantBaseline: "middle", textAnchor: "end", children: $ }, g) : null
6735
6755
  ),
@@ -6768,22 +6788,22 @@ const hi = I(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
6768
6788
  ] }),
6769
6789
  /* @__PURE__ */ e(re, { tip: v.tip })
6770
6790
  ] });
6771
- }), ui = I(function({ segments: n, size: l = 200, format: c = ce, legend: s = !0, rose: a = !1, className: r, ...d }, o) {
6791
+ }), pi = I(function({ segments: n, size: l = 200, format: c = ce, legend: s = !0, rose: a = !1, className: r, ...d }, o) {
6772
6792
  const i = 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;
6773
6793
  return /* @__PURE__ */ u("div", { ref: o, ...d, className: `select-donut-wrap${r ? " " + r : ""}`, children: [
6774
6794
  /* @__PURE__ */ u("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
6775
6795
  /* @__PURE__ */ u("svg", { width: l, height: l, viewBox: `0 0 ${l} ${l}`, className: "select-chart", "aria-hidden": "true", children: [
6776
6796
  [0.34, 0.67, 1].map((S, b) => /* @__PURE__ */ e("circle", { cx: p, cy: h, r: f * S, className: "select-chart__grid", fill: "none" }, b)),
6777
6797
  n.map((S, b) => {
6778
- const m = b * M, N = (b + 1) * M - 1.5, k = S.color ?? z(b), w = Math.max(2, x(S.value)), y = ((m + N) / 2 - 90) * (Math.PI / 180), $ = p + w * Math.cos(y), g = h + w * Math.sin(y);
6798
+ const m = b * M, N = (b + 1) * M - 1.5, w = S.color ?? z(b), k = Math.max(2, x(S.value)), y = ((m + N) / 2 - 90) * (Math.PI / 180), $ = p + k * Math.cos(y), g = h + k * Math.sin(y);
6779
6799
  return /* @__PURE__ */ e(
6780
6800
  "path",
6781
6801
  {
6782
- d: Kt(p, h, w, 0, m, N),
6783
- fill: k,
6802
+ d: Kt(p, h, k, 0, m, N),
6803
+ fill: w,
6784
6804
  fillOpacity: 0.8,
6785
6805
  className: "select-chart__seg",
6786
- onMouseEnter: () => i.show({ x: $, y: g, place: g < h ? "top" : "bottom", title: S.label, rows: [{ label: "Valor", value: c(S.value), color: k }] }),
6806
+ onMouseEnter: () => i.show({ x: $, y: g, place: g < h ? "top" : "bottom", title: S.label, rows: [{ label: "Valor", value: c(S.value), color: w }] }),
6787
6807
  onMouseLeave: i.hide
6788
6808
  },
6789
6809
  b
@@ -6799,7 +6819,7 @@ const hi = I(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
6799
6819
  ] }, b)) })
6800
6820
  ] });
6801
6821
  });
6802
- function pi({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s = ce, className: a, ...r }) {
6822
+ function mi({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s = ce, className: a, ...r }) {
6803
6823
  const { ref: d, width: o } = be(c), i = 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;
6804
6824
  return /* @__PURE__ */ u("div", { ...r, className: `select-chart-wrap${a ? " " + a : ""}`, ref: d, children: [
6805
6825
  o > 0 && /* @__PURE__ */ u("svg", { width: o, height: c, className: "select-chart", children: [
@@ -6846,8 +6866,8 @@ function pi({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s =
6846
6866
  /* @__PURE__ */ e(re, { tip: i.tip })
6847
6867
  ] });
6848
6868
  }
6849
- function mi({ data: t, height: n, format: l = ce, fromLabel: c = "Antes", toLabel: s = "Depois", labelWidth: a = 96, className: r, ...d }) {
6850
- 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;
6869
+ function fi({ data: t, height: n, format: l = ce, fromLabel: c = "Antes", toLabel: s = "Depois", labelWidth: a = 96, className: r, ...d }) {
6870
+ 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), w = f - 6 - 26, k = t.length ? w / t.length : 0, y = ($) => m + $ / b * N;
6851
6871
  return /* @__PURE__ */ u("div", { ...d, className: `select-chart-wrap${r ? " " + r : ""}`, ref: v, children: [
6852
6872
  _ > 0 && /* @__PURE__ */ u("svg", { width: _, height: f, className: "select-chart", children: [
6853
6873
  Xe(b).map(($, g) => /* @__PURE__ */ u("g", { children: [
@@ -6857,14 +6877,14 @@ function mi({ data: t, height: n, format: l = ce, fromLabel: c = "Antes", toLabe
6857
6877
  x1: y($),
6858
6878
  x2: y($),
6859
6879
  y1: 6,
6860
- y2: 6 + k,
6880
+ y2: 6 + w,
6861
6881
  className: g === 0 ? "select-chart__axis" : "select-chart__grid"
6862
6882
  }
6863
6883
  ),
6864
6884
  /* @__PURE__ */ e("text", { x: y($), y: f - 26 + 16, className: "select-chart__xlabel", textAnchor: "middle", children: l($) })
6865
6885
  ] }, g)),
6866
6886
  t.map(($, g) => {
6867
- const C = 6 + w * g + w / 2;
6887
+ const C = 6 + k * g + k / 2;
6868
6888
  return /* @__PURE__ */ u("g", { children: [
6869
6889
  /* @__PURE__ */ e("line", { x1: y($.from), x2: y($.to), y1: C, y2: C, stroke: "var(--select-chart-track)", strokeWidth: 4, strokeLinecap: "round" }),
6870
6890
  /* @__PURE__ */ e("circle", { cx: y($.from), cy: C, r: 5, fill: M, className: "select-chart__dot" }),
@@ -6874,9 +6894,9 @@ function mi({ data: t, height: n, format: l = ce, fromLabel: c = "Antes", toLabe
6874
6894
  "rect",
6875
6895
  {
6876
6896
  x: m,
6877
- y: C - w / 2,
6897
+ y: C - k / 2,
6878
6898
  width: N,
6879
- height: w,
6899
+ height: k,
6880
6900
  fill: "transparent",
6881
6901
  onMouseEnter: () => x.show({
6882
6902
  x: (y($.from) + y($.to)) / 2,
@@ -6898,8 +6918,8 @@ function mi({ data: t, height: n, format: l = ce, fromLabel: c = "Antes", toLabe
6898
6918
  /* @__PURE__ */ e(re, { tip: x.tip })
6899
6919
  ] });
6900
6920
  }
6901
- function fi({ columns: t, height: n = 240, format: l = ce, gap: c = 3, className: s, ...a }) {
6902
- const { ref: r, width: d } = be(n), o = ae(), i = { top: 6, right: 6, bottom: 24, left: 6 }, p = Math.max(0, d - i.left - i.right), h = n - i.top - i.bottom, f = t.map((m) => m.segments.reduce((N, k) => N + k.value, 0)), v = f.reduce((m, N) => m + N, 0) || 1, _ = [];
6921
+ function _i({ columns: t, height: n = 240, format: l = ce, gap: c = 3, className: s, ...a }) {
6922
+ const { ref: r, width: d } = be(n), o = ae(), i = { top: 6, right: 6, bottom: 24, left: 6 }, p = Math.max(0, d - i.left - i.right), h = n - i.top - i.bottom, f = t.map((m) => m.segments.reduce((N, w) => N + w.value, 0)), v = f.reduce((m, N) => m + N, 0) || 1, _ = [];
6903
6923
  t.forEach((m) => m.segments.forEach((N) => {
6904
6924
  _.includes(N.key) || _.push(N.key);
6905
6925
  }));
@@ -6907,12 +6927,12 @@ function fi({ columns: t, height: n = 240, format: l = ce, gap: c = 3, className
6907
6927
  let b = i.left;
6908
6928
  return /* @__PURE__ */ u("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: r, children: [
6909
6929
  d > 0 && /* @__PURE__ */ e("svg", { width: d, height: n, className: "select-chart", children: t.map((m, N) => {
6910
- const k = f[N] || 1, w = k / v * S, y = b;
6911
- b += w + c;
6930
+ const w = f[N] || 1, k = w / v * S, y = b;
6931
+ b += k + c;
6912
6932
  let $ = i.top;
6913
6933
  return /* @__PURE__ */ u("g", { children: [
6914
6934
  m.segments.map((g, C) => {
6915
- const A = g.value / k * h, B = $;
6935
+ const A = g.value / w * h, B = $;
6916
6936
  $ += A;
6917
6937
  const L = x(g.key, g.color);
6918
6938
  return /* @__PURE__ */ e(
@@ -6920,19 +6940,19 @@ function fi({ columns: t, height: n = 240, format: l = ce, gap: c = 3, className
6920
6940
  {
6921
6941
  x: y,
6922
6942
  y: B,
6923
- width: Math.max(0, w),
6943
+ width: Math.max(0, k),
6924
6944
  height: Math.max(0, A - 1),
6925
6945
  fill: L,
6926
6946
  fillOpacity: 0.85,
6927
6947
  className: "select-chart__seg",
6928
6948
  onMouseEnter: () => o.show({
6929
- x: y + w / 2,
6949
+ x: y + k / 2,
6930
6950
  y: B,
6931
6951
  place: B < i.top + 44 ? "bottom" : "top",
6932
6952
  title: `${m.label} · ${g.key}`,
6933
6953
  rows: [
6934
6954
  { label: "Valor", value: l(g.value), color: L },
6935
- { label: "Share", value: `${Math.round(g.value / k * 100)}%` }
6955
+ { label: "Share", value: `${Math.round(g.value / w * 100)}%` }
6936
6956
  ]
6937
6957
  }),
6938
6958
  onMouseLeave: o.hide
@@ -6940,7 +6960,7 @@ function fi({ columns: t, height: n = 240, format: l = ce, gap: c = 3, className
6940
6960
  C
6941
6961
  );
6942
6962
  }),
6943
- /* @__PURE__ */ e("text", { x: y + w / 2, y: n - i.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: m.label })
6963
+ /* @__PURE__ */ e("text", { x: y + k / 2, y: n - i.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: m.label })
6944
6964
  ] }, N);
6945
6965
  }) }),
6946
6966
  /* @__PURE__ */ e("ul", { className: "select-donut__legend select-mekko__legend", children: _.map((m, N) => /* @__PURE__ */ u("li", { className: "select-donut__legitem", children: [
@@ -6950,7 +6970,7 @@ function fi({ columns: t, height: n = 240, format: l = ce, gap: c = 3, className
6950
6970
  /* @__PURE__ */ e(re, { tip: o.tip })
6951
6971
  ] });
6952
6972
  }
6953
- const _i = I(function({ value: n, max: l = 100, bands: c, size: s = 220, thickness: a, label: r, format: d = (h) => `${Math.round(h)}`, className: o, ...i }, p) {
6973
+ const vi = I(function({ value: n, max: l = 100, bands: c, size: s = 220, thickness: a, label: r, format: d = (h) => `${Math.round(h)}`, className: o, ...i }, p) {
6954
6974
  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) => {
6955
6975
  const B = Math.PI + A * Math.PI;
6956
6976
  return [_ + v * Math.cos(B), x + v * Math.sin(B)];
@@ -6959,13 +6979,13 @@ const _i = I(function({ value: n, max: l = 100, bands: c, size: s = 220, thickne
6959
6979
  return `M ${L.toFixed(2)} ${E.toFixed(2)} A ${v} ${v} 0 0 1 ${F.toFixed(2)} ${T.toFixed(2)}`;
6960
6980
  };
6961
6981
  let N = 0;
6962
- const k = c.map((A) => {
6982
+ const w = c.map((A) => {
6963
6983
  const B = S(N) / l, L = S(A.upTo) / l;
6964
6984
  return N = A.upTo, { t0: B, t1: L, color: A.color };
6965
- }), w = S(n) / l, y = Math.PI + w * Math.PI, $ = v * 0.82, g = _ + $ * Math.cos(y), C = x + $ * Math.sin(y);
6985
+ }), k = S(n) / l, y = Math.PI + k * Math.PI, $ = v * 0.82, g = _ + $ * Math.cos(y), C = x + $ * Math.sin(y);
6966
6986
  return /* @__PURE__ */ e("div", { ref: p, ...i, className: `select-gauge${o ? " " + o : ""}`, style: { width: `${s / 16}rem` }, children: /* @__PURE__ */ u("div", { className: "select-gauge__ring", style: { width: "100%", aspectRatio: `${s} / ${M}` }, children: [
6967
6987
  /* @__PURE__ */ u("svg", { width: "100%", height: "100%", viewBox: `0 0 ${s} ${M}`, className: "select-chart", "aria-hidden": "true", children: [
6968
- k.map((A, B) => /* @__PURE__ */ e("path", { d: m(A.t0, A.t1), fill: "none", stroke: A.color, strokeWidth: h, strokeLinecap: "butt" }, B)),
6988
+ w.map((A, B) => /* @__PURE__ */ e("path", { d: m(A.t0, A.t1), fill: "none", stroke: A.color, strokeWidth: h, strokeLinecap: "butt" }, B)),
6969
6989
  /* @__PURE__ */ e("line", { x1: _, y1: x, x2: g, y2: C, stroke: "var(--select-text)", strokeWidth: 3, strokeLinecap: "round", className: "select-gaugeband__needle" }),
6970
6990
  /* @__PURE__ */ e("circle", { cx: _, cy: x, r: 5, fill: "var(--select-text)" })
6971
6991
  ] }),
@@ -6975,26 +6995,26 @@ const _i = I(function({ value: n, max: l = 100, bands: c, size: s = 220, thickne
6975
6995
  ] })
6976
6996
  ] }) });
6977
6997
  });
6978
- function vi({ series: t, labels: n, height: l = 240, format: c = ce, className: s, ...a }) {
6979
- const { ref: r, width: d } = be(l), o = ae(), i = ge(), [p, h] = D(null), f = n.length, v = { top: 14, right: 14, bottom: 28, left: 14 }, _ = Math.max(0, d - 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) => {
6998
+ function gi({ series: t, labels: n, height: l = 240, format: c = ce, className: s, ...a }) {
6999
+ const { ref: r, width: d } = be(l), o = ae(), i = ge(), [p, h] = D(null), f = n.length, v = { top: 14, right: 14, bottom: 28, left: 14 }, _ = Math.max(0, d - v.left - v.right), x = l - v.top - v.bottom, M = n.map((k, y) => t.reduce(($, g) => $ + (g.data[y] ?? 0), 0)), S = Math.max(1, ...M), b = x / S, m = (k) => v.left + (f <= 1 ? _ / 2 : k / (f - 1) * _), N = n.map(() => 0), w = t.map((k, y) => {
6980
7000
  const $ = [], g = [];
6981
7001
  return n.forEach((C, A) => {
6982
- const L = v.top + (x - M[A] * b) / 2 + N[A] * b, E = L + (w.data[A] ?? 0) * b;
6983
- $.push([m(A), L]), g.push([m(A), E]), N[A] = N[A] + (w.data[A] ?? 0);
6984
- }), { upper: $, lower: g, color: w.color ?? z(y), name: w.name };
7002
+ const L = v.top + (x - M[A] * b) / 2 + N[A] * b, E = L + (k.data[A] ?? 0) * b;
7003
+ $.push([m(A), L]), g.push([m(A), E]), N[A] = N[A] + (k.data[A] ?? 0);
7004
+ }), { upper: $, lower: g, color: k.color ?? z(y), name: k.name };
6985
7005
  });
6986
7006
  return /* @__PURE__ */ u("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: r, children: [
6987
7007
  d > 0 && /* @__PURE__ */ u("svg", { width: d, height: l, className: "select-chart", children: [
6988
- /* @__PURE__ */ e("defs", { children: k.map((w, y) => /* @__PURE__ */ u("linearGradient", { id: `${i}-st${y}`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
6989
- /* @__PURE__ */ e("stop", { offset: "0%", stopColor: w.color, stopOpacity: 0.95 }),
6990
- /* @__PURE__ */ e("stop", { offset: "100%", stopColor: w.color, stopOpacity: 0.6 })
7008
+ /* @__PURE__ */ e("defs", { children: w.map((k, y) => /* @__PURE__ */ u("linearGradient", { id: `${i}-st${y}`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
7009
+ /* @__PURE__ */ e("stop", { offset: "0%", stopColor: k.color, stopOpacity: 0.95 }),
7010
+ /* @__PURE__ */ e("stop", { offset: "100%", stopColor: k.color, stopOpacity: 0.6 })
6991
7011
  ] }, y)) }),
6992
- k.map((w, y) => /* @__PURE__ */ e("path", { d: Fc(w.upper, w.lower), fill: `url(#${i}-st${y})`, className: "select-chart__area" }, y)),
7012
+ w.map((k, y) => /* @__PURE__ */ e("path", { d: Fc(k.upper, k.lower), fill: `url(#${i}-st${y})`, className: "select-chart__area" }, y)),
6993
7013
  p != null && /* @__PURE__ */ e("line", { x1: m(p), x2: m(p), y1: v.top, y2: v.top + x, className: "select-chart__crosshair" }),
6994
7014
  n.map(
6995
- (w, y) => y % Math.max(1, Math.ceil(f / 7)) === 0 || y === f - 1 ? /* @__PURE__ */ e("text", { x: m(y), y: l - v.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: w }, y) : null
7015
+ (k, y) => y % Math.max(1, Math.ceil(f / 7)) === 0 || y === f - 1 ? /* @__PURE__ */ e("text", { x: m(y), y: l - v.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: k }, y) : null
6996
7016
  ),
6997
- n.map((w, y) => /* @__PURE__ */ e(
7017
+ n.map((k, y) => /* @__PURE__ */ e(
6998
7018
  "rect",
6999
7019
  {
7000
7020
  x: m(y) - _ / Math.max(1, f) / 2,
@@ -7007,7 +7027,7 @@ function vi({ series: t, labels: n, height: l = 240, format: c = ce, className:
7007
7027
  x: m(y),
7008
7028
  y: v.top + x / 2,
7009
7029
  place: "top",
7010
- title: w,
7030
+ title: k,
7011
7031
  rows: t.map(($, g) => ({ label: $.name, value: c($.data[y] ?? 0), color: $.color ?? z(g) }))
7012
7032
  });
7013
7033
  },
@@ -7021,7 +7041,7 @@ function vi({ series: t, labels: n, height: l = 240, format: c = ce, className:
7021
7041
  /* @__PURE__ */ e(re, { tip: o.tip })
7022
7042
  ] });
7023
7043
  }
7024
- const gi = I(function({ data: n, size: l = 220, format: c = ce, legend: s = !0, className: a, ...r }, d) {
7044
+ const bi = I(function({ data: n, size: l = 220, format: c = ce, legend: s = !0, className: a, ...r }, d) {
7025
7045
  const o = ae(), i = l / 2, p = l / 2, h = l / 2 - 2, f = h * 0.62, v = h * 0.32, _ = n.map((S) => {
7026
7046
  var b;
7027
7047
  return (b = S.children) != null && b.length ? S.children.reduce((m, N) => m + N.value, 0) : S.value ?? 0;
@@ -7032,23 +7052,23 @@ const gi = I(function({ data: n, size: l = 220, format: c = ce, legend: s = !0,
7032
7052
  /* @__PURE__ */ e("svg", { width: l, height: l, viewBox: `0 0 ${l} ${l}`, className: "select-chart select-donut", "aria-hidden": "true", children: n.map((S, b) => {
7033
7053
  const m = _[b], N = M / x * 360;
7034
7054
  M += m;
7035
- const k = M / x * 360, w = S.color ?? z(b);
7055
+ const w = M / x * 360, k = S.color ?? z(b);
7036
7056
  let y = N;
7037
7057
  return /* @__PURE__ */ u("g", { children: [
7038
7058
  /* @__PURE__ */ e(
7039
7059
  "path",
7040
7060
  {
7041
- d: Kt(i, p, f, v, N + 0.6, Math.max(N + 0.7, k - 0.6)),
7042
- fill: w,
7061
+ d: Kt(i, p, f, v, N + 0.6, Math.max(N + 0.7, w - 0.6)),
7062
+ fill: k,
7043
7063
  className: "select-chart__seg",
7044
- onMouseEnter: () => o.show({ x: i, y: p - f, place: p - f < 44 ? "bottom" : "top", title: S.label, rows: [{ label: "Total", value: c(m), color: w }] }),
7064
+ onMouseEnter: () => o.show({ x: i, y: p - f, place: p - f < 44 ? "bottom" : "top", title: S.label, rows: [{ label: "Total", value: c(m), color: k }] }),
7045
7065
  onMouseLeave: o.hide
7046
7066
  }
7047
7067
  ),
7048
7068
  (S.children ?? []).map(($, g) => {
7049
7069
  const C = y;
7050
7070
  y += $.value / x * 360;
7051
- const A = y, B = $.color ?? w, L = 0.45 + g % 3 * 0.2, E = ((C + A) / 2 - 90) * (Math.PI / 180);
7071
+ const A = y, B = $.color ?? k, L = 0.45 + g % 3 * 0.2, E = ((C + A) / 2 - 90) * (Math.PI / 180);
7052
7072
  return /* @__PURE__ */ e(
7053
7073
  "path",
7054
7074
  {
@@ -7062,7 +7082,7 @@ const gi = I(function({ data: n, size: l = 220, format: c = ce, legend: s = !0,
7062
7082
  place: p + (h - 6) * Math.sin(E) < p ? "top" : "bottom",
7063
7083
  title: `${S.label} · ${$.label}`,
7064
7084
  rows: [
7065
- { label: "Valor", value: c($.value), color: w },
7085
+ { label: "Valor", value: c($.value), color: k },
7066
7086
  { label: "Share", value: `${Math.round($.value / (m || 1) * 100)}%` }
7067
7087
  ]
7068
7088
  }),
@@ -7082,7 +7102,7 @@ const gi = I(function({ data: n, size: l = 220, format: c = ce, legend: s = !0,
7082
7102
  ] }, b)) })
7083
7103
  ] });
7084
7104
  });
7085
- function bi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
7105
+ function xi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
7086
7106
  const { ref: a, width: r } = be(n), d = ae(), o = lt, i = 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 = _ ? i / _ : 0, M = Math.min(x * 0.42, 46), S = Math.max(1, ...t.flatMap((b) => b.bins));
7087
7107
  return /* @__PURE__ */ u("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
7088
7108
  r > 0 && /* @__PURE__ */ u("svg", { width: r, height: n, className: "select-chart", children: [
@@ -7100,13 +7120,13 @@ function bi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
7100
7120
  /* @__PURE__ */ e("text", { x: o.left - 8, y: v(b), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: l(b) })
7101
7121
  ] }, m)),
7102
7122
  t.map((b, m) => {
7103
- const N = o.left + x * m + x / 2, k = b.color ?? z(m), w = b.bins.length, y = (L) => v(b.min + (b.max - b.min) * L / Math.max(1, w - 1)), $ = (L) => b.bins[L] / S * M, g = [], C = [];
7104
- for (let L = w - 1; L >= 0; L--) g.push([N + $(L), y(L)]);
7105
- for (let L = 0; L < w; L++) C.push([N - $(L), y(L)]);
7123
+ const N = o.left + x * m + x / 2, w = b.color ?? z(m), k = b.bins.length, y = (L) => v(b.min + (b.max - b.min) * L / Math.max(1, k - 1)), $ = (L) => b.bins[L] / S * M, g = [], C = [];
7124
+ for (let L = k - 1; L >= 0; L--) g.push([N + $(L), y(L)]);
7125
+ for (let L = 0; L < k; L++) C.push([N - $(L), y(L)]);
7106
7126
  const A = `${Il(g)} ${Il(C).replace(/^M/, "L")} Z`, B = b.median != null ? v(b.median) : null;
7107
7127
  return /* @__PURE__ */ u("g", { children: [
7108
- /* @__PURE__ */ e("path", { d: A, fill: k, fillOpacity: 0.32, stroke: k, strokeWidth: 1.5, strokeLinejoin: "round" }),
7109
- B != null && /* @__PURE__ */ e("line", { x1: N - M * 0.6, x2: N + M * 0.6, y1: B, y2: B, stroke: k, strokeWidth: 2 }),
7128
+ /* @__PURE__ */ e("path", { d: A, fill: w, fillOpacity: 0.32, stroke: w, strokeWidth: 1.5, strokeLinejoin: "round" }),
7129
+ B != null && /* @__PURE__ */ e("line", { x1: N - M * 0.6, x2: N + M * 0.6, y1: B, y2: B, stroke: w, strokeWidth: 2 }),
7110
7130
  /* @__PURE__ */ e("text", { x: N, y: n - o.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: b.label }),
7111
7131
  /* @__PURE__ */ e(
7112
7132
  "rect",
@@ -7122,7 +7142,7 @@ function bi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
7122
7142
  place: v(b.max) < o.top + 64 ? "bottom" : "top",
7123
7143
  title: b.label,
7124
7144
  rows: [
7125
- { label: "Máx", value: l(b.max), color: k },
7145
+ { label: "Máx", value: l(b.max), color: w },
7126
7146
  ...b.median != null ? [{ label: "Mediana", value: l(b.median) }] : [],
7127
7147
  { label: "Mín", value: l(b.min) }
7128
7148
  ]
@@ -7136,7 +7156,7 @@ function bi({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
7136
7156
  /* @__PURE__ */ e(re, { tip: d.tip })
7137
7157
  ] });
7138
7158
  }
7139
- const xi = I(function({ matrix: n, labels: l, size: c = 240, format: s = ce, padAngle: a = 0.05, className: r, ...d }, o) {
7159
+ const yi = I(function({ matrix: n, labels: l, size: c = 240, format: s = ce, padAngle: a = 0.05, className: r, ...d }, o) {
7140
7160
  const i = 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 = [];
7141
7161
  let m = 0;
7142
7162
  for (let g = 0; g < p; g++) {
@@ -7151,15 +7171,15 @@ const xi = I(function({ matrix: n, labels: l, size: c = 240, format: s = ce, pad
7151
7171
  N[g][A] = [C, C + B], C += B;
7152
7172
  }
7153
7173
  }
7154
- const k = (g, C) => [h + C * Math.cos(g - Math.PI / 2), f + C * Math.sin(g - Math.PI / 2)], w = (g, C, A, B) => {
7155
- const [L, E] = k(g, _), [F, T] = k(C, _), [O, q] = k(A, _), [H, V] = k(B, _);
7174
+ const w = (g, C) => [h + C * Math.cos(g - Math.PI / 2), f + C * Math.sin(g - Math.PI / 2)], k = (g, C, A, B) => {
7175
+ const [L, E] = w(g, _), [F, T] = w(C, _), [O, q] = w(A, _), [H, V] = w(B, _);
7156
7176
  return `M${L.toFixed(2)},${E.toFixed(2)} A${_},${_} 0 0 1 ${F.toFixed(2)},${T.toFixed(2)} Q${h},${f} ${O.toFixed(2)},${q.toFixed(2)} A${_},${_} 0 0 1 ${H.toFixed(2)},${V.toFixed(2)} Q${h},${f} ${L.toFixed(2)},${E.toFixed(2)} Z`;
7157
7177
  }, y = (g) => g * 180 / Math.PI, $ = [];
7158
7178
  for (let g = 0; g < p; g++)
7159
7179
  for (let C = g; C < p; C++) {
7160
7180
  if (g === C || n[g][C] + n[C][g] <= 0) continue;
7161
7181
  const [A, B] = N[g][C], [L, E] = N[C][g];
7162
- $.push({ d: w(A, B, L, E), color: z(g), i: g, j: C, value: n[g][C] + n[C][g] });
7182
+ $.push({ d: k(A, B, L, E), color: z(g), i: g, j: C, value: n[g][C] + n[C][g] });
7163
7183
  }
7164
7184
  return /* @__PURE__ */ e("div", { ref: o, ...d, className: `select-donut-wrap${r ? " " + r : ""}`, children: /* @__PURE__ */ u("div", { className: "select-radial", style: { width: c, aspectRatio: "1" }, children: [
7165
7185
  /* @__PURE__ */ u("svg", { width: c, height: c, viewBox: `0 0 ${c} ${c}`, className: "select-chart", "aria-hidden": "true", children: [
@@ -7181,7 +7201,7 @@ const xi = I(function({ matrix: n, labels: l, size: c = 240, format: s = ce, pad
7181
7201
  C
7182
7202
  )),
7183
7203
  b.map((g, C) => {
7184
- const A = (g.a0 + g.a1) / 2, [B, L] = k(A, v + 12);
7204
+ const A = (g.a0 + g.a1) / 2, [B, L] = w(A, v + 12);
7185
7205
  return /* @__PURE__ */ u("g", { children: [
7186
7206
  /* @__PURE__ */ e("path", { d: Kt(h, f, v, _, y(g.a0), y(g.a1)), fill: z(C), className: "select-chord__arc" }),
7187
7207
  /* @__PURE__ */ e(
@@ -7201,12 +7221,12 @@ const xi = I(function({ matrix: n, labels: l, size: c = 240, format: s = ce, pad
7201
7221
  /* @__PURE__ */ e(re, { tip: i.tip })
7202
7222
  ] }) });
7203
7223
  });
7204
- function yi({ points: t, height: n = 240, radius: l = 16, color: c = "var(--select-chart-1)", xMax: s, yMax: a, format: r = ce, className: d, ...o }) {
7205
- const { ref: i, 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) => {
7224
+ function Ni({ points: t, height: n = 240, radius: l = 16, color: c = "var(--select-chart-1)", xMax: s, yMax: a, format: r = ce, className: d, ...o }) {
7225
+ const { ref: i, 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), w = (C, A) => {
7206
7226
  let B = C, L = A, E = -B - L, F = Math.round(B), T = Math.round(E), O = Math.round(L);
7207
7227
  const q = Math.abs(F - B), H = Math.abs(T - E), V = Math.abs(O - L);
7208
7228
  return q > H && q > V ? F = -T - O : H > V ? T = -F - O : O = -F - T, [F, O];
7209
- }, w = (C, A) => [m * N * (C + A / 2), m * (3 / 2) * A], y = (C, A) => {
7229
+ }, k = (C, A) => [m * N * (C + A / 2), m * (3 / 2) * A], y = (C, A) => {
7210
7230
  let B = "";
7211
7231
  for (let L = 0; L < 6; L++) {
7212
7232
  const E = Math.PI / 180 * (60 * L - 30);
@@ -7215,13 +7235,13 @@ function yi({ points: t, height: n = 240, radius: l = 16, color: c = "var(--sele
7215
7235
  return B + "Z";
7216
7236
  }, $ = /* @__PURE__ */ new Map();
7217
7237
  for (const C of t) {
7218
- const A = S(C.x), B = b(C.y), L = (N / 3 * A - 1 / 3 * B) / m, E = 2 / 3 * B / m, [F, T] = k(L, E), O = `${F},${T}`;
7238
+ const A = S(C.x), B = b(C.y), L = (N / 3 * A - 1 / 3 * B) / m, E = 2 / 3 * B / m, [F, T] = w(L, E), O = `${F},${T}`;
7219
7239
  $.set(O, ($.get(O) ?? 0) + 1);
7220
7240
  }
7221
7241
  const g = Math.max(1, ...$.values());
7222
7242
  return /* @__PURE__ */ u("div", { ...o, className: `select-chart-wrap${d ? " " + d : ""}`, ref: i, children: [
7223
7243
  p > 0 && /* @__PURE__ */ e("svg", { width: p, height: n, className: "select-chart", children: [...$].map(([C, A]) => {
7224
- const [B, L] = C.split(",").map(Number), [E, F] = w(B, L), T = A / g, O = Math.round((0.16 + T * 0.84) * 100);
7244
+ const [B, L] = C.split(",").map(Number), [E, F] = k(B, L), T = A / g, O = Math.round((0.16 + T * 0.84) * 100);
7225
7245
  return /* @__PURE__ */ e(
7226
7246
  "path",
7227
7247
  {
@@ -7242,7 +7262,7 @@ function yi({ points: t, height: n = 240, radius: l = 16, color: c = "var(--sele
7242
7262
  /* @__PURE__ */ e(re, { tip: h.tip })
7243
7263
  ] });
7244
7264
  }
7245
- const Ni = I(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s, ...a }, r) {
7265
+ const Mi = I(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s, ...a }, r) {
7246
7266
  const d = n.map((f) => f.value), o = Math.max(1, ...d), i = Math.min(...d), p = o - i || 1, h = (f) => l + (f - i) / p * (c - l);
7247
7267
  return /* @__PURE__ */ e("div", { ref: r, ...a, className: `select-wordcloud${s ? " " + s : ""}`, children: n.map((f, v) => /* @__PURE__ */ e(
7248
7268
  "span",
@@ -7403,11 +7423,11 @@ function Hl(t, n, l) {
7403
7423
  const a = Math.sin(s), r = Math.sin((1 - l) * s) / a, d = Math.sin(l * s) / a;
7404
7424
  return [t[0] * r + n[0] * d, t[1] * r + n[1] * d, t[2] * r + n[2] * d];
7405
7425
  }
7406
- const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6, Mi = I(function({ points: n = [], arcs: l = [], size: c = 320, tilt: s = -18, spin: a = !0, speed: r = 7, color: d = "var(--select-chart-1)", format: o = ce, legend: i = !0, map: p = !0, fluid: h = !1, onZoomChange: f, className: v, ..._ }, x) {
7426
+ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6, ki = I(function({ points: n = [], arcs: l = [], size: c = 320, tilt: s = -18, spin: a = !0, speed: r = 7, color: d = "var(--select-chart-1)", format: o = ce, legend: i = !0, map: p = !0, fluid: h = !1, onZoomChange: f, className: v, ..._ }, x) {
7407
7427
  var ze;
7408
- 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(
7428
+ 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, w = J(
7409
7429
  typeof window < "u" && !!((ze = window.matchMedia) != null && ze.call(window, "(prefers-reduced-motion: reduce)").matches)
7410
- ), 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 = () => {
7430
+ ), k = 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 = () => {
7411
7431
  L.current || (E.current = performance.now(), L.current = requestAnimationFrame(P));
7412
7432
  };
7413
7433
  function P(R) {
@@ -7416,11 +7436,11 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
7416
7436
  const Y = y.current, ye = Math.abs(Y.lng) + Math.abs(Y.lat) > 0.02;
7417
7437
  if (!C.current) if (g.current) {
7418
7438
  const Z = Math.min(1, U * 6);
7419
- w.current.lng += (g.current.lng - w.current.lng) * Z, w.current.lat += (g.current.lat - w.current.lat) * Z, Math.abs(g.current.lng - w.current.lng) < 0.2 && Math.abs(g.current.lat - w.current.lat) < 0.2 && (g.current = null);
7420
- } else ye ? (w.current.lng += Y.lng * U * 60, w.current.lat = Math.max(-85, Math.min(85, w.current.lat + Y.lat * U * 60)), Y.lng *= 0.94, Y.lat *= 0.94) : (Y.lng = 0, Y.lat = 0, a && !k.current && !A.current && (w.current.lng += r * U));
7421
- F((Z) => (Z + 1) % 1e6), !k.current || !!C.current || !!g.current || Math.abs(Y.lng) + Math.abs(Y.lat) > 0.02 ? L.current = requestAnimationFrame(P) : L.current = 0;
7439
+ k.current.lng += (g.current.lng - k.current.lng) * Z, k.current.lat += (g.current.lat - k.current.lat) * Z, Math.abs(g.current.lng - k.current.lng) < 0.2 && Math.abs(g.current.lat - k.current.lat) < 0.2 && (g.current = null);
7440
+ } else ye ? (k.current.lng += Y.lng * U * 60, k.current.lat = Math.max(-85, Math.min(85, k.current.lat + Y.lat * U * 60)), Y.lng *= 0.94, Y.lat *= 0.94) : (Y.lng = 0, Y.lat = 0, a && !w.current && !A.current && (k.current.lng += r * U));
7441
+ F((Z) => (Z + 1) % 1e6), !w.current || !!C.current || !!g.current || Math.abs(Y.lng) + Math.abs(Y.lat) > 0.02 ? L.current = requestAnimationFrame(P) : L.current = 0;
7422
7442
  }
7423
- pe(() => (k.current || V(), () => {
7443
+ pe(() => (w.current || V(), () => {
7424
7444
  L.current && cancelAnimationFrame(L.current), L.current = 0;
7425
7445
  }), []);
7426
7446
  const W = J(f);
@@ -7441,12 +7461,12 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
7441
7461
  }, te = (R) => {
7442
7462
  if (!C.current) return;
7443
7463
  const U = 0.34 / $.current, Y = R.clientX - C.current.x, ye = R.clientY - C.current.y;
7444
- 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 };
7464
+ C.current = { x: R.clientX, y: R.clientY }, k.current.lng += Y * U, k.current.lat = Math.max(-85, Math.min(85, k.current.lat + ye * U)), y.current = { lng: Y * U, lat: ye * U };
7445
7465
  }, ie = (R) => {
7446
7466
  var U, Y;
7447
7467
  C.current && ((Y = (U = R.target).releasePointerCapture) == null || Y.call(U, R.pointerId), C.current = null, O(!1), V());
7448
7468
  }, me = (m / 2 - 6) * $.current, j = m / 2, ee = m / 2, ne = (R) => {
7449
- const U = on(R, w.current.lng, w.current.lat);
7469
+ const U = on(R, k.current.lng, k.current.lat);
7450
7470
  return { x: j + me * U[0], y: ee - me * U[1], z: U[2] };
7451
7471
  }, $e = Oe(() => {
7452
7472
  const U = [];
@@ -7472,7 +7492,7 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
7472
7492
  let Me = "", se = "";
7473
7493
  if (p)
7474
7494
  for (const R of xe) {
7475
- const U = R.map((Z) => on(Z, w.current.lng, w.current.lat)), Y = U.length;
7495
+ const U = R.map((Z) => on(Z, k.current.lng, k.current.lat)), Y = U.length;
7476
7496
  let ye = !1;
7477
7497
  for (const Z of U)
7478
7498
  if (Z[2] > 0) {
@@ -7495,8 +7515,8 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
7495
7515
  let ve = Math.atan2(he.y - ee, he.x - j) - fe;
7496
7516
  for (; ve > Math.PI; ) ve -= 2 * Math.PI;
7497
7517
  for (; ve < -Math.PI; ) ve += 2 * Math.PI;
7498
- const we = ve > 0 ? 1 : 0;
7499
- return `A${me.toFixed(1)},${me.toFixed(1)} 0 0 ${we} ${he.x.toFixed(1)},${he.y.toFixed(1)}`;
7518
+ const ke = ve > 0 ? 1 : 0;
7519
+ return `A${me.toFixed(1)},${me.toFixed(1)} 0 0 ${ke} ${he.x.toFixed(1)},${he.y.toFixed(1)}`;
7500
7520
  }
7501
7521
  return `L${he.x.toFixed(1)},${he.y.toFixed(1)}`;
7502
7522
  }, X = Ne(G[0].v);
@@ -7505,7 +7525,7 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
7505
7525
  Me += Z(G[G.length - 1], G[0]), Me += "Z";
7506
7526
  }
7507
7527
  }
7508
- const ke = (R) => {
7528
+ const we = (R) => {
7509
7529
  let U = "", Y = !1;
7510
7530
  for (const ye of R) {
7511
7531
  const G = ne(ye);
@@ -7526,12 +7546,12 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
7526
7546
  const Y = It(R.from.lat, R.from.lng), ye = It(R.to.lat, R.to.lng);
7527
7547
  let G = "", Z = !1;
7528
7548
  for (let ve = 0; ve <= 40; ve++) {
7529
- 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]);
7549
+ const ke = ve / 40, Be = Hl(Y, ye, ke), Fe = 1 + 0.34 * Math.sin(Math.PI * ke), Se = on(Be, k.current.lng, k.current.lat), Ce = ne([Be[0] * Fe, Be[1] * Fe, Be[2] * Fe]);
7530
7550
  Se[2] > -0.05 ? (G += `${Z ? "L" : "M"}${Ce.x.toFixed(1)},${Ce.y.toFixed(1)}`, Z = !0) : Z = !1;
7531
7551
  }
7532
- 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));
7552
+ const X = w.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, k.current.lng, k.current.lat), fe = ne([Q[0] * le, Q[1] * le, Q[2] * le]), _e = Ee != null && (jl(R.from, Ee) || jl(R.to, Ee));
7533
7553
  return { d: G, col: R.color ?? d, i: U, flow: { ...fe, vis: he[2] > 0 }, active: _e };
7534
- }), Pe = Ee != null, Ke = i ? [...n].sort((R, U) => (U.value ?? 0) - (R.value ?? 0)).slice(0, 6) : [];
7554
+ }), Pe = Ee != null, Je = i ? [...n].sort((R, U) => (U.value ?? 0) - (R.value ?? 0)).slice(0, 6) : [];
7535
7555
  return /* @__PURE__ */ u("div", { ref: x, ..._, className: `select-globe${v ? " " + v : ""}`, children: [
7536
7556
  /* @__PURE__ */ u(
7537
7557
  "div",
@@ -7606,7 +7626,7 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
7606
7626
  stroke: `color-mix(in srgb, ${d} 68%, transparent)`
7607
7627
  }
7608
7628
  ),
7609
- $e.map((R, U) => /* @__PURE__ */ e("path", { d: ke(R), className: "select-globe__grid" }, `g${U}`)),
7629
+ $e.map((R, U) => /* @__PURE__ */ e("path", { d: we(R), className: "select-globe__grid" }, `g${U}`)),
7610
7630
  De.map((R) => /* @__PURE__ */ u(
7611
7631
  "g",
7612
7632
  {
@@ -7675,7 +7695,7 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
7675
7695
  ]
7676
7696
  }
7677
7697
  ),
7678
- Ke.length > 0 && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: Ke.map((R, U) => /* @__PURE__ */ u("li", { className: "select-donut__legitem", children: [
7698
+ Je.length > 0 && /* @__PURE__ */ e("ul", { className: "select-donut__legend", children: Je.map((R, U) => /* @__PURE__ */ u("li", { className: "select-donut__legitem", children: [
7679
7699
  /* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background: R.color ?? d } }),
7680
7700
  /* @__PURE__ */ e("span", { className: "select-donut__leglabel", children: R.label }),
7681
7701
  R.value != null && /* @__PURE__ */ e("span", { className: "select-donut__legval", children: o(R.value) })
@@ -7685,18 +7705,18 @@ const jl = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
7685
7705
  function wi({ children: t, speed: n = 28, className: l, ...c }) {
7686
7706
  const s = J(null), a = J(null), r = J(null), d = gn(s, 0), o = gn(r, 0), i = d > 0 && o > d + 1, p = J(0), h = J(null), f = J(!1);
7687
7707
  pe(() => {
7688
- var k;
7708
+ var w;
7689
7709
  const M = a.current;
7690
7710
  if (!M) return;
7691
7711
  if (!i) {
7692
7712
  p.current = 0, M.style.transform = "";
7693
7713
  return;
7694
7714
  }
7695
- const S = ((k = window.matchMedia) == null ? void 0 : k.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1;
7715
+ const S = ((w = window.matchMedia) == null ? void 0 : w.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1;
7696
7716
  let b = 0, m = performance.now();
7697
- const N = (w) => {
7698
- const y = Math.min(0.1, (w - m) / 1e3);
7699
- m = w, !h.current && !f.current && !S && (p.current = (p.current + n * y) % Math.max(1, o)), M.style.transform = `translate3d(${(-p.current).toFixed(2)}px, 0, 0)`, b = requestAnimationFrame(N);
7717
+ const N = (k) => {
7718
+ const y = Math.min(0.1, (k - m) / 1e3);
7719
+ m = k, !h.current && !f.current && !S && (p.current = (p.current + n * y) % Math.max(1, o)), M.style.transform = `translate3d(${(-p.current).toFixed(2)}px, 0, 0)`, b = requestAnimationFrame(N);
7700
7720
  };
7701
7721
  return b = requestAnimationFrame(N), () => cancelAnimationFrame(b);
7702
7722
  }, [i, o, n]);
@@ -7730,11 +7750,11 @@ function wi({ children: t, speed: n = 28, className: l, ...c }) {
7730
7750
  }
7731
7751
  );
7732
7752
  }
7733
- function ki({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
7753
+ function $i({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
7734
7754
  var L;
7735
7755
  const { ref: a, width: r } = be(n), d = ae(), o = ge(), [i, 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;
7736
7756
  let x = 0;
7737
- const M = f.map((E) => (x += E.value, x / _ * 100)), S = Math.max(0, r - h.left - h.right), b = n - h.top - h.bottom, m = Ge(((L = f[0]) == null ? void 0 : L.value) ?? 1), N = v > 0 ? S / v : 0, k = Math.min(N * 0.62, 46), w = h.top + b, y = (E) => w - E / m * b, $ = (E) => w - E / 100 * b, g = (E) => h.left + N * E + N / 2, C = M.map((E, F) => [g(F), $(E)]), A = z(0), B = z(1);
7757
+ const M = f.map((E) => (x += E.value, x / _ * 100)), S = Math.max(0, r - h.left - h.right), b = n - h.top - h.bottom, m = Ge(((L = f[0]) == null ? void 0 : L.value) ?? 1), N = v > 0 ? S / v : 0, w = Math.min(N * 0.62, 46), k = h.top + b, y = (E) => k - E / m * b, $ = (E) => k - E / 100 * b, g = (E) => h.left + N * E + N / 2, C = M.map((E, F) => [g(F), $(E)]), A = z(0), B = z(1);
7738
7758
  return /* @__PURE__ */ u("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
7739
7759
  r > 0 && /* @__PURE__ */ u("svg", { width: r, height: n, className: "select-chart", onMouseLeave: () => {
7740
7760
  p(null), d.hide();
@@ -7757,10 +7777,10 @@ function ki({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
7757
7777
  return /* @__PURE__ */ e(
7758
7778
  "rect",
7759
7779
  {
7760
- x: g(F) - k / 2,
7780
+ x: g(F) - w / 2,
7761
7781
  y: T,
7762
- width: k,
7763
- height: Math.max(0, w - T),
7782
+ width: w,
7783
+ height: Math.max(0, k - T),
7764
7784
  rx: 4,
7765
7785
  fill: `url(#${o}-b)`,
7766
7786
  className: "select-chart__bar",
@@ -7797,7 +7817,7 @@ function ki({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
7797
7817
  /* @__PURE__ */ e(re, { tip: d.tip })
7798
7818
  ] });
7799
7819
  }
7800
- const $i = I(function({ segments: n, cols: l = 10, rows: c = 10, format: s = ce, className: a, ...r }, d) {
7820
+ const Si = I(function({ segments: n, cols: l = 10, rows: c = 10, format: s = ce, className: a, ...r }, d) {
7801
7821
  const o = n.reduce((x, M) => x + M.value, 0) || 1, i = l * c, p = n.map((x) => x.value / o * i), h = p.map(Math.floor);
7802
7822
  let f = h.reduce((x, M) => x + M, 0);
7803
7823
  const v = p.map((x, M) => ({ i: M, frac: x - h[M] })).sort((x, M) => M.frac - x.frac);
@@ -7816,8 +7836,8 @@ const $i = I(function({ segments: n, cols: l = 10, rows: c = 10, format: s = ce,
7816
7836
  ] }, M)) })
7817
7837
  ] });
7818
7838
  });
7819
- function Si({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", height: c, format: s = ce, leftColor: a, rightColor: r, centerWidth: d = 84, className: o, ...i }) {
7820
- 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 - d - M * 2) / 2), k = t.length ? (p - S - b) / t.length : 0, w = Math.min(k * 0.6, 26), y = M + N, $ = M + N + d, g = a ?? z(1), C = r ?? z(0);
7839
+ function Ci({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", height: c, format: s = ce, leftColor: a, rightColor: r, centerWidth: d = 84, className: o, ...i }) {
7840
+ 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 - d - M * 2) / 2), w = t.length ? (p - S - b) / t.length : 0, k = Math.min(w * 0.6, 26), y = M + N, $ = M + N + d, g = a ?? z(1), C = r ?? z(0);
7821
7841
  return /* @__PURE__ */ u("div", { ...i, className: `select-chart-wrap${o ? " " + o : ""}`, ref: h, children: [
7822
7842
  f > 0 && /* @__PURE__ */ u("svg", { width: f, height: p, className: "select-chart", onMouseLeave: () => {
7823
7843
  x(null), v.hide();
@@ -7825,20 +7845,20 @@ function Si({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", hei
7825
7845
  /* @__PURE__ */ e("text", { x: M, y: 14, className: "select-chart__xlabel", textAnchor: "start", style: { fill: g, fontWeight: 600 }, children: n }),
7826
7846
  /* @__PURE__ */ e("text", { x: f - M, y: 14, className: "select-chart__xlabel", textAnchor: "end", style: { fill: C, fontWeight: 600 }, children: l }),
7827
7847
  t.map((A, B) => {
7828
- const L = S + k * B + k / 2, E = A.left / m * N, F = A.right / m * N, T = _ === A.label;
7848
+ const L = S + w * B + w / 2, E = A.left / m * N, F = A.right / m * N, T = _ === A.label;
7829
7849
  return /* @__PURE__ */ u("g", { style: { opacity: _ === null || T ? 1 : 0.5 }, children: [
7830
7850
  /* @__PURE__ */ e(
7831
7851
  "rect",
7832
7852
  {
7833
7853
  x: y - E,
7834
- y: L - w / 2,
7854
+ y: L - k / 2,
7835
7855
  width: E,
7836
- height: w,
7856
+ height: k,
7837
7857
  rx: 4,
7838
7858
  fill: g,
7839
7859
  className: "select-pyramid__bar select-pyramid__bar--l",
7840
7860
  onMouseEnter: () => {
7841
- x(A.label), v.show({ x: y - E, y: L - w / 2, place: "top", title: A.label, rows: [{ label: n, value: s(A.left), color: g }] });
7861
+ x(A.label), v.show({ x: y - E, y: L - k / 2, place: "top", title: A.label, rows: [{ label: n, value: s(A.left), color: g }] });
7842
7862
  },
7843
7863
  onMouseLeave: () => {
7844
7864
  x(null), v.hide();
@@ -7849,14 +7869,14 @@ function Si({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", hei
7849
7869
  "rect",
7850
7870
  {
7851
7871
  x: $,
7852
- y: L - w / 2,
7872
+ y: L - k / 2,
7853
7873
  width: F,
7854
- height: w,
7874
+ height: k,
7855
7875
  rx: 4,
7856
7876
  fill: C,
7857
7877
  className: "select-pyramid__bar select-pyramid__bar--r",
7858
7878
  onMouseEnter: () => {
7859
- x(A.label), v.show({ x: $ + F, y: L - w / 2, place: "top", title: A.label, rows: [{ label: l, value: s(A.right), color: C }] });
7879
+ x(A.label), v.show({ x: $ + F, y: L - k / 2, place: "top", title: A.label, rows: [{ label: l, value: s(A.right), color: C }] });
7860
7880
  },
7861
7881
  onMouseLeave: () => {
7862
7882
  x(null), v.hide();
@@ -7870,11 +7890,11 @@ function Si({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", hei
7870
7890
  /* @__PURE__ */ e(re, { tip: v.tip })
7871
7891
  ] });
7872
7892
  }
7873
- function Ci({ series: t, labels: n, height: l = 240, format: c = ce, className: s, ...a }) {
7893
+ function Li({ series: t, labels: n, height: l = 240, format: c = ce, className: s, ...a }) {
7874
7894
  const { ref: r, width: d } = be(l), o = ae(), [i, p] = D(null), h = { top: 16, right: 78, bottom: 28, left: 28 }, f = n.length, v = t.length, _ = Math.max(0, d - h.left - h.right), x = l - h.top - h.bottom, M = t.map(() => new Array(f).fill(0));
7875
7895
  for (let m = 0; m < f; m++)
7876
- t.map((k, w) => ({ si: w, v: k.data[m] ?? 0 })).sort((k, w) => w.v - k.v).forEach((k, w) => {
7877
- M[k.si][m] = w + 1;
7896
+ t.map((w, k) => ({ si: k, v: w.data[m] ?? 0 })).sort((w, k) => k.v - w.v).forEach((w, k) => {
7897
+ M[w.si][m] = k + 1;
7878
7898
  });
7879
7899
  const S = (m) => h.left + (f <= 1 ? _ / 2 : _ / (f - 1) * m), b = (m) => h.top + (v <= 1 ? x / 2 : x / (v - 1) * (m - 1));
7880
7900
  return /* @__PURE__ */ u("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: r, children: [
@@ -7883,48 +7903,48 @@ function Ci({ series: t, labels: n, height: l = 240, format: c = ce, className:
7883
7903
  }, children: [
7884
7904
  n.map((m, N) => /* @__PURE__ */ e("text", { x: S(N), y: l - h.bottom + 16, className: "select-chart__xlabel", textAnchor: N === 0 ? "start" : N === f - 1 ? "end" : "middle", children: m }, N)),
7885
7905
  t.map((m, N) => {
7886
- const k = m.color ?? z(N), w = M[N].map((y, $) => [S($), b(y)]);
7906
+ const w = m.color ?? z(N), k = M[N].map((y, $) => [S($), b(y)]);
7887
7907
  return /* @__PURE__ */ u("g", { style: { opacity: i === null || i === N ? 1 : 0.22 }, children: [
7888
7908
  /* @__PURE__ */ e(
7889
7909
  "path",
7890
7910
  {
7891
- d: mt(w),
7911
+ d: mt(k),
7892
7912
  fill: "none",
7893
- stroke: k,
7913
+ stroke: w,
7894
7914
  strokeWidth: i === N ? 3.5 : 2.5,
7895
7915
  strokeLinecap: "round",
7896
7916
  style: { cursor: "pointer" },
7897
7917
  onMouseEnter: () => p(N)
7898
7918
  }
7899
7919
  ),
7900
- w.map((y, $) => /* @__PURE__ */ e(
7920
+ k.map((y, $) => /* @__PURE__ */ e(
7901
7921
  "circle",
7902
7922
  {
7903
7923
  cx: y[0],
7904
7924
  cy: y[1],
7905
7925
  r: i === N ? 5.5 : 4,
7906
- fill: k,
7926
+ fill: w,
7907
7927
  className: "select-chart__dot",
7908
7928
  onMouseEnter: () => {
7909
- p(N), o.show({ x: y[0], y: y[1] - 8, place: "top", title: m.name, rows: [{ label: n[$] ?? "", value: `#${M[N][$]} · ${c(m.data[$] ?? 0)}`, color: k }] });
7929
+ p(N), o.show({ x: y[0], y: y[1] - 8, place: "top", title: m.name, rows: [{ label: n[$] ?? "", value: `#${M[N][$]} · ${c(m.data[$] ?? 0)}`, color: w }] });
7910
7930
  }
7911
7931
  },
7912
7932
  $
7913
7933
  )),
7914
- /* @__PURE__ */ e("text", { x: S(f - 1) + 10, y: b(M[N][f - 1]), className: "select-chart__xlabel", dominantBaseline: "middle", textAnchor: "start", style: { fill: k, fontWeight: 600 }, children: m.name })
7934
+ /* @__PURE__ */ e("text", { x: S(f - 1) + 10, y: b(M[N][f - 1]), className: "select-chart__xlabel", dominantBaseline: "middle", textAnchor: "start", style: { fill: w, fontWeight: 600 }, children: m.name })
7915
7935
  ] }, N);
7916
7936
  })
7917
7937
  ] }),
7918
7938
  /* @__PURE__ */ e(re, { tip: o.tip })
7919
7939
  ] });
7920
7940
  }
7921
- function Li({ axes: t, data: n, height: l = 260, format: c = ce, className: s, ...a }) {
7941
+ function Ai({ axes: t, data: n, height: l = 260, format: c = ce, className: s, ...a }) {
7922
7942
  const { ref: r, width: d } = be(l), o = ae(), [i, p] = D(null), h = { top: 30, right: 28, bottom: 26, left: 28 }, f = Math.max(0, d - 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) => {
7923
7943
  const m = n.map((N) => N.values[b.key] ?? 0);
7924
7944
  return { min: Math.min(...m), max: Math.max(...m) };
7925
7945
  }), S = (b, m) => {
7926
- const N = M[b], k = N.max === N.min ? 0.5 : (m - N.min) / (N.max - N.min);
7927
- return h.top + v - k * v;
7946
+ const N = M[b], w = N.max === N.min ? 0.5 : (m - N.min) / (N.max - N.min);
7947
+ return h.top + v - w * v;
7928
7948
  };
7929
7949
  return /* @__PURE__ */ u("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: r, children: [
7930
7950
  d > 0 && /* @__PURE__ */ u("svg", { width: d, height: l, className: "select-chart", onMouseLeave: () => {
@@ -7937,11 +7957,11 @@ function Li({ axes: t, data: n, height: l = 260, format: c = ce, className: s, .
7937
7957
  /* @__PURE__ */ e("text", { x: x(m), y: h.top + v + 14, className: "select-chart__ylabel", textAnchor: "middle", style: { fontSize: 9 }, children: c(M[m].min) })
7938
7958
  ] }, b.key)),
7939
7959
  n.map((b, m) => {
7940
- const N = b.color ?? z(m), k = t.map((w, y) => `${y ? "L" : "M"}${x(y).toFixed(1)},${S(y, b.values[w.key] ?? 0).toFixed(1)}`).join("");
7960
+ const N = b.color ?? z(m), w = t.map((k, y) => `${y ? "L" : "M"}${x(y).toFixed(1)},${S(y, b.values[k.key] ?? 0).toFixed(1)}`).join("");
7941
7961
  return /* @__PURE__ */ e(
7942
7962
  "path",
7943
7963
  {
7944
- d: k,
7964
+ d: w,
7945
7965
  fill: "none",
7946
7966
  stroke: N,
7947
7967
  strokeWidth: i === m ? 3 : 1.75,
@@ -7955,7 +7975,7 @@ function Li({ axes: t, data: n, height: l = 260, format: c = ce, className: s, .
7955
7975
  y: S(_ - 1, b.values[t[_ - 1].key] ?? 0),
7956
7976
  place: "top",
7957
7977
  title: b.label ?? `Série ${m + 1}`,
7958
- rows: t.map((w) => ({ label: w.label, value: c(b.values[w.key] ?? 0), color: N }))
7978
+ rows: t.map((k) => ({ label: k.label, value: c(b.values[k.key] ?? 0), color: N }))
7959
7979
  });
7960
7980
  },
7961
7981
  onMouseLeave: () => {
@@ -7975,14 +7995,14 @@ function pn(t) {
7975
7995
  function Ic(t, n = 0) {
7976
7996
  return !t.children || !t.children.length ? n : Math.max(...t.children.map((l) => Ic(l, n + 1)));
7977
7997
  }
7978
- function Ai({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
7998
+ function Ei({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
7979
7999
  const { ref: a, width: r } = be(n), d = ae(), [o, i] = D(null), p = Ic(t), h = n / (p + 1), f = [], v = (_, x, M, S, b) => {
7980
8000
  if (f.push({ node: _, x0: x, x1: M, depth: S, color: _.color ?? z(b), value: pn(_) }), _.children && _.children.length) {
7981
- const m = _.children.reduce((k, w) => k + pn(w), 0) || 1;
8001
+ const m = _.children.reduce((w, k) => w + pn(k), 0) || 1;
7982
8002
  let N = x;
7983
- _.children.forEach((k, w) => {
7984
- const y = (M - x) * pn(k) / m;
7985
- v(k, N, N + y, S + 1, S === 0 ? w : b), N += y;
8003
+ _.children.forEach((w, k) => {
8004
+ const y = (M - x) * pn(w) / m;
8005
+ v(w, N, N + y, S + 1, S === 0 ? k : b), N += y;
7986
8006
  });
7987
8007
  }
7988
8008
  };
@@ -8019,17 +8039,17 @@ function Ai({ data: t, height: n = 240, format: l = ce, className: c, ...s }) {
8019
8039
  /* @__PURE__ */ e(re, { tip: d.tip })
8020
8040
  ] });
8021
8041
  }
8022
- function Ei({ data: t, height: n = 260, className: l, ...c }) {
8042
+ function Bi({ data: t, height: n = 260, className: l, ...c }) {
8023
8043
  const { ref: s, width: a } = be(n), r = ae(), [d, o] = D(null), i = { top: 14, right: 96, bottom: 14, left: 16 };
8024
8044
  let p = null;
8025
8045
  if (a > 0) {
8026
8046
  const h = [];
8027
8047
  let f = 0, v = 0;
8028
- const _ = (m, N, k, w) => {
8048
+ const _ = (m, N, w, k) => {
8029
8049
  v = Math.max(v, N);
8030
- const y = { node: m, depth: N, yUnit: 0, ci: k, parent: w };
8050
+ const y = { node: m, depth: N, yUnit: 0, ci: w, parent: k };
8031
8051
  if (m.children && m.children.length) {
8032
- const $ = m.children.map((g, C) => _(g, N + 1, N === 0 ? C : k, y));
8052
+ const $ = m.children.map((g, C) => _(g, N + 1, N === 0 ? C : w, y));
8033
8053
  y.yUnit = ($[0].yUnit + $[$.length - 1].yUnit) / 2;
8034
8054
  } else
8035
8055
  y.yUnit = f, f++;
@@ -8051,18 +8071,18 @@ function Ei({ data: t, height: n = 260, className: l, ...c }) {
8051
8071
  ) : null
8052
8072
  ),
8053
8073
  h.map((m, N) => {
8054
- const k = m.node.color ?? z(m.ci), w = S(m.depth), y = b(m.yUnit), $ = !m.node.children || !m.node.children.length;
8074
+ const w = m.node.color ?? z(m.ci), k = S(m.depth), y = b(m.yUnit), $ = !m.node.children || !m.node.children.length;
8055
8075
  return /* @__PURE__ */ u("g", { style: { opacity: d === null || d === N ? 1 : 0.4 }, children: [
8056
8076
  /* @__PURE__ */ e(
8057
8077
  "circle",
8058
8078
  {
8059
- cx: w,
8079
+ cx: k,
8060
8080
  cy: y,
8061
8081
  r: d === N ? 6 : 4.5,
8062
- fill: k,
8082
+ fill: w,
8063
8083
  className: "select-tree__node",
8064
8084
  onMouseEnter: () => {
8065
- o(N), r.show({ x: w, y: y - 8, place: "top", title: m.node.label, rows: [] });
8085
+ o(N), r.show({ x: k, y: y - 8, place: "top", title: m.node.label, rows: [] });
8066
8086
  },
8067
8087
  onMouseLeave: () => {
8068
8088
  o(null), r.hide();
@@ -8072,7 +8092,7 @@ function Ei({ data: t, height: n = 260, className: l, ...c }) {
8072
8092
  /* @__PURE__ */ e(
8073
8093
  "text",
8074
8094
  {
8075
- x: $ ? w + 9 : w,
8095
+ x: $ ? k + 9 : k,
8076
8096
  y: $ ? y : y - 9,
8077
8097
  className: "select-chart__xlabel",
8078
8098
  dominantBaseline: "middle",
@@ -8089,7 +8109,7 @@ function Ei({ data: t, height: n = 260, className: l, ...c }) {
8089
8109
  /* @__PURE__ */ e(re, { tip: r.tip })
8090
8110
  ] });
8091
8111
  }
8092
- const Bi = I(function({ sets: n, size: l = 240, className: c, ...s }, a) {
8112
+ const Fi = I(function({ sets: n, size: l = 240, className: c, ...s }, a) {
8093
8113
  const r = Math.min(3, n.length), d = l / 2, o = l / 2, i = 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 / i), f = r <= 2 ? [
8094
8114
  [d - p * 0.42, o],
8095
8115
  [d + p * 0.42, o]
@@ -8137,7 +8157,7 @@ const Bi = I(function({ sets: n, size: l = 240, className: c, ...s }, a) {
8137
8157
  /* @__PURE__ */ e("span", { className: "select-donut__legval", children: v.size.toLocaleString("pt-BR") })
8138
8158
  ] }, _)) })
8139
8159
  ] });
8140
- }), Fi = I(function({ data: n, size: l = 260, format: c = ce, className: s, ...a }, r) {
8160
+ }), Ii = I(function({ data: n, size: l = 260, format: c = ce, className: s, ...a }, r) {
8141
8161
  const d = ae(), [o, i] = 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 = [];
8142
8162
  for (const g of h) {
8143
8163
  if (f.length === 0) {
@@ -8161,7 +8181,7 @@ const Bi = I(function({ sets: n, size: l = 240, className: c, ...s }, a) {
8161
8181
  }
8162
8182
  B && f.push({ d: g.d, i: g.i, x: B[0], y: B[1], r: g.r });
8163
8183
  }
8164
- const v = Math.min(...f.map((g) => g.x - g.r)), _ = Math.max(...f.map((g) => g.x + g.r)), x = Math.min(...f.map((g) => g.y - g.r)), M = Math.max(...f.map((g) => g.y + g.r)), S = _ - v || 1, b = M - x || 1, m = 8, N = Math.min((l - m * 2) / S, (l - m * 2) / b), k = (l - S * N) / 2 - v * N, w = (l - b * N) / 2 - x * N, y = (g) => g * N + k, $ = (g) => g * N + w;
8184
+ const v = Math.min(...f.map((g) => g.x - g.r)), _ = Math.max(...f.map((g) => g.x + g.r)), x = Math.min(...f.map((g) => g.y - g.r)), M = Math.max(...f.map((g) => g.y + g.r)), S = _ - v || 1, b = M - x || 1, m = 8, N = Math.min((l - m * 2) / S, (l - m * 2) / b), w = (l - S * N) / 2 - v * N, k = (l - b * N) / 2 - x * N, y = (g) => g * N + w, $ = (g) => g * N + k;
8165
8185
  return /* @__PURE__ */ u("div", { ref: r, ...a, className: `select-donut-wrap${s ? " " + s : ""}`, children: [
8166
8186
  /* @__PURE__ */ e("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: /* @__PURE__ */ e("svg", { width: l, height: l, viewBox: `0 0 ${l} ${l}`, className: "select-chart", onMouseLeave: () => {
8167
8187
  i(null), d.hide();
@@ -8193,17 +8213,17 @@ const Bi = I(function({ sets: n, size: l = 240, className: c, ...s }, a) {
8193
8213
  /* @__PURE__ */ e(re, { tip: d.tip })
8194
8214
  ] });
8195
8215
  });
8196
- function Ii({ nodes: t, links: n, height: l = 300, format: c = ce, className: s, ...a }) {
8216
+ function Ri({ nodes: t, links: n, height: l = 300, format: c = ce, className: s, ...a }) {
8197
8217
  const { ref: r, width: d } = be(l), o = ae(), [i, p] = D(null), h = Oe(() => {
8198
8218
  const _ = d || l, x = l, M = t.length, S = /* @__PURE__ */ new Map();
8199
8219
  if (!M) return S;
8200
- const b = t.map((w, y) => ({
8201
- id: w.id,
8220
+ const b = t.map((k, y) => ({
8221
+ id: k.id,
8202
8222
  x: _ / 2 + Math.cos(y / M * 2 * Math.PI) * _ * 0.3,
8203
8223
  y: x / 2 + Math.sin(y / M * 2 * Math.PI) * x * 0.3
8204
- })), m = new Map(t.map((w, y) => [w.id, y])), N = Math.sqrt(_ * x / M) * 0.55;
8205
- let k = _ * 0.12;
8206
- for (let w = 0; w < 320; w++) {
8224
+ })), m = new Map(t.map((k, y) => [k.id, y])), N = Math.sqrt(_ * x / M) * 0.55;
8225
+ let w = _ * 0.12;
8226
+ for (let k = 0; k < 320; k++) {
8207
8227
  const y = b.map(() => ({ x: 0, y: 0 }));
8208
8228
  for (let $ = 0; $ < M; $++)
8209
8229
  for (let g = $ + 1; g < M; g++) {
@@ -8217,12 +8237,12 @@ function Ii({ nodes: t, links: n, height: l = 300, format: c = ce, className: s,
8217
8237
  y[g].x -= A / L * E, y[g].y -= B / L * E, y[C].x += A / L * E, y[C].y += B / L * E;
8218
8238
  }
8219
8239
  for (let $ = 0; $ < M; $++) {
8220
- const g = y[$].x, C = y[$].y, A = Math.hypot(g, C) || 0.01, B = Math.min(A, k);
8240
+ const g = y[$].x, C = y[$].y, A = Math.hypot(g, C) || 0.01, B = Math.min(A, w);
8221
8241
  b[$].x = Math.max(18, Math.min(_ - 18, b[$].x + g / A * B)), b[$].y = Math.max(18, Math.min(x - 18, b[$].y + C / A * B));
8222
8242
  }
8223
- k *= 0.97;
8243
+ w *= 0.97;
8224
8244
  }
8225
- return b.forEach((w) => S.set(w.id, { x: w.x, y: w.y })), S;
8245
+ return b.forEach((k) => S.set(k.id, { x: k.x, y: k.y })), S;
8226
8246
  }, [t, n, d, l]), f = /* @__PURE__ */ new Map();
8227
8247
  n.forEach((_) => {
8228
8248
  f.set(_.source, (f.get(_.source) ?? 0) + 1), f.set(_.target, (f.get(_.target) ?? 0) + 1);
@@ -8283,11 +8303,11 @@ const Rn = [
8283
8303
  { value: "dark", label: "Escuro", icon: /* @__PURE__ */ e(rs, {}) },
8284
8304
  { value: "system", label: "Sistema", icon: /* @__PURE__ */ e(Yl, {}) }
8285
8305
  ];
8286
- function Ri(t) {
8306
+ function Ti(t) {
8287
8307
  var n;
8288
8308
  return t === "system" ? (n = window.matchMedia) != null && n.call(window, "(prefers-color-scheme: dark)").matches ? "dark" : "light" : t;
8289
8309
  }
8290
- function Ti({ value: t, onChange: n, className: l, ...c }) {
8310
+ function Pi({ value: t, onChange: n, className: l, ...c }) {
8291
8311
  const [s, a] = D(!1), r = J(null), d = Rn.find((o) => o.value === t) ?? Rn[2];
8292
8312
  return pe(() => {
8293
8313
  if (!s) return;
@@ -8305,7 +8325,7 @@ function Ti({ value: t, onChange: n, className: l, ...c }) {
8305
8325
  {
8306
8326
  icon: o.icon,
8307
8327
  active: o.value === t,
8308
- trailing: o.value === t ? /* @__PURE__ */ e(et, {}) : null,
8328
+ trailing: o.value === t ? /* @__PURE__ */ e(Ke, {}) : null,
8309
8329
  onClick: () => {
8310
8330
  n(o.value), a(!1);
8311
8331
  },
@@ -8316,22 +8336,22 @@ function Ti({ value: t, onChange: n, className: l, ...c }) {
8316
8336
  ] });
8317
8337
  }
8318
8338
  const Rc = Gn(!1);
8319
- function Pi({
8339
+ function Di({
8320
8340
  children: t,
8321
8341
  stacked: n = !1,
8322
8342
  loading: l = !1
8323
8343
  }) {
8324
- const c = wn({ selector: ".select-detail", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
8344
+ const c = kn({ selector: ".select-detail", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
8325
8345
  return /* @__PURE__ */ e(Rc.Provider, { value: l, children: /* @__PURE__ */ e("div", { className: `select-detaillist${n ? " select-detaillist--stacked" : ""}`, ref: c, children: t }) });
8326
8346
  }
8327
- const Di = I(function({ label: n, children: l, action: c, align: s = "center", loading: a, className: r, ...d }, o) {
8347
+ const Wi = I(function({ label: n, children: l, action: c, align: s = "center", loading: a, className: r, ...d }, o) {
8328
8348
  const i = Vn(Rc), p = a ?? i;
8329
8349
  return /* @__PURE__ */ u("div", { ref: o, ...d, className: `select-detail select-detail--${s}${r ? " " + r : ""}`, children: [
8330
8350
  /* @__PURE__ */ e("div", { className: "select-detail__label", children: n }),
8331
8351
  /* @__PURE__ */ e("div", { className: "select-detail__value", children: p ? /* @__PURE__ */ e("span", { className: "select-skeleton select-detail__skel" }) : l }),
8332
8352
  c && /* @__PURE__ */ e("div", { className: "select-detail__action", children: c })
8333
8353
  ] });
8334
- }), Wi = I(function({ steps: n, current: l, onSelect: c, orientation: s = "horizontal", className: a, ...r }, d) {
8354
+ }), Oi = I(function({ steps: n, current: l, onSelect: c, orientation: s = "horizontal", className: a, ...r }, d) {
8335
8355
  const o = s === "vertical";
8336
8356
  return /* @__PURE__ */ e(
8337
8357
  "ol",
@@ -8341,7 +8361,7 @@ const Di = I(function({ label: n, children: l, action: c, align: s = "center", l
8341
8361
  className: `select-steps${o ? " select-steps--vertical" : ""}${a ? " " + a : ""}`,
8342
8362
  children: n.map((i, p) => {
8343
8363
  const { label: h, description: f } = typeof i == "string" ? { label: i, description: void 0 } : i, v = p < l ? "done" : p === l ? "current" : "todo", _ = !!c && p < l, x = /* @__PURE__ */ u(ue, { children: [
8344
- /* @__PURE__ */ e("span", { className: "select-steps__num", "aria-hidden": "true", children: v === "done" ? /* @__PURE__ */ e(et, {}) : p + 1 }),
8364
+ /* @__PURE__ */ e("span", { className: "select-steps__num", "aria-hidden": "true", children: v === "done" ? /* @__PURE__ */ e(Ke, {}) : p + 1 }),
8345
8365
  /* @__PURE__ */ u("span", { className: "select-steps__text", children: [
8346
8366
  /* @__PURE__ */ e("span", { className: "select-steps__label", children: h }),
8347
8367
  o && f && /* @__PURE__ */ e("span", { className: "select-steps__desc", children: f })
@@ -8351,7 +8371,7 @@ const Di = I(function({ label: n, children: l, action: c, align: s = "center", l
8351
8371
  })
8352
8372
  }
8353
8373
  );
8354
- }), Oi = I(function({ name: n, price: l, priceSuffix: c, headerAction: s, summary: a, cta: r, featuresTitle: d, features: o, featured: i = !1, className: p, ...h }, f) {
8374
+ }), Hi = I(function({ name: n, price: l, priceSuffix: c, headerAction: s, summary: a, cta: r, featuresTitle: d, features: o, featured: i = !1, className: p, ...h }, f) {
8355
8375
  return /* @__PURE__ */ u("div", { ref: f, ...h, className: `select-plan${i ? " select-plan--featured" : ""}${p ? " " + p : ""}`, children: [
8356
8376
  /* @__PURE__ */ u("div", { className: "select-plan__top", children: [
8357
8377
  /* @__PURE__ */ u("div", { className: "select-plan__head", children: [
@@ -8373,7 +8393,7 @@ const Di = I(function({ label: n, children: l, action: c, align: s = "center", l
8373
8393
  ] }, _)) })
8374
8394
  ] })
8375
8395
  ] });
8376
- }), Hi = I(function({ title: n, description: l, headerAction: c, footer: s, children: a, className: r, ...d }, o) {
8396
+ }), ji = I(function({ title: n, description: l, headerAction: c, footer: s, children: a, className: r, ...d }, o) {
8377
8397
  return /* @__PURE__ */ u("div", { ref: o, ...d, className: `select-listcard${r ? " " + r : ""}`, children: [
8378
8398
  (n || c) && /* @__PURE__ */ u("div", { className: "select-listcard__head", children: [
8379
8399
  /* @__PURE__ */ u("div", { className: "select-listcard__heading", children: [
@@ -8386,7 +8406,7 @@ const Di = I(function({ label: n, children: l, action: c, align: s = "center", l
8386
8406
  s && /* @__PURE__ */ e("div", { className: "select-listcard__footer", children: s })
8387
8407
  ] });
8388
8408
  });
8389
- function ji({
8409
+ function Zi({
8390
8410
  media: t,
8391
8411
  title: n,
8392
8412
  secondary: l,
@@ -8426,7 +8446,7 @@ function pr({
8426
8446
  }) {
8427
8447
  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" }) }) });
8428
8448
  }
8429
- function Zi({
8449
+ function Vi({
8430
8450
  src: t,
8431
8451
  alt: n = "",
8432
8452
  size: l = 40,
@@ -8449,7 +8469,7 @@ function Zi({
8449
8469
  s && /* @__PURE__ */ e(pr, { open: !0, onClose: () => a(!1), src: t, alt: n, title: c ?? n })
8450
8470
  ] }) : /* @__PURE__ */ e(Zl, { size: l, alt: n });
8451
8471
  }
8452
- const Vi = I(function({ media: n, title: l, secondary: c, className: s, ...a }, r) {
8472
+ const Gi = I(function({ media: n, title: l, secondary: c, className: s, ...a }, r) {
8453
8473
  return /* @__PURE__ */ u("span", { ref: r, ...a, className: `select-mediacell${s ? " " + s : ""}`, children: [
8454
8474
  n && /* @__PURE__ */ e("span", { className: "select-mediacell__media", children: n }),
8455
8475
  /* @__PURE__ */ u("span", { className: "select-mediacell__text", children: [
@@ -8458,7 +8478,7 @@ const Vi = I(function({ media: n, title: l, secondary: c, className: s, ...a },
8458
8478
  ] })
8459
8479
  ] });
8460
8480
  });
8461
- function Gi() {
8481
+ function Ui() {
8462
8482
  const [t, n] = D(
8463
8483
  () => typeof navigator < "u" && navigator.onLine === !1
8464
8484
  );
@@ -8491,7 +8511,7 @@ function mr(t) {
8491
8511
  value: l == null ? "" : String(l)
8492
8512
  })) : [];
8493
8513
  }
8494
- const Ui = I(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valuePlaceholder: s = "Valor", keyOptions: a, addLabel: r = "Adicionar", max: d, helpText: o = "Linhas vazias serão ignoradas.", className: i, ...p }, h) {
8514
+ const zi = I(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valuePlaceholder: s = "Valor", keyOptions: a, addLabel: r = "Adicionar", max: d, helpText: o = "Linhas vazias serão ignoradas.", className: i, ...p }, h) {
8495
8515
  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 = d == null || f.length < d;
8496
8516
  return /* @__PURE__ */ u("div", { ref: h, ...p, className: `select-kv${i ? " " + i : ""}`, children: [
8497
8517
  f.map((S, b) => /* @__PURE__ */ u("div", { className: "select-kv__row", children: [
@@ -8610,12 +8630,12 @@ function br(t) {
8610
8630
  return n = n % 12 || 12, `${n} : ${String(t.getMinutes()).padStart(2, "0")} ${l}`;
8611
8631
  }
8612
8632
  const xr = I(function({ value: n, presets: l = _r, onApply: c, onCancel: s, accentVar: a, locale: r = "en-US", showTime: d = !0, maxDate: o, embedded: i = !1, className: p, ...h }, f) {
8613
- 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) => {
8614
- $(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 }));
8633
+ 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, w] = D(null), k = xn(dn(b), -dn(b).getDay()), y = Array.from({ length: 42 }, (L, E) => xn(k, E)), $ = (L) => x ? ot(L) > x : !1, g = (L) => L ? v.formatDate(L) : /* @__PURE__ */ e("span", { className: "select-datepicker__placeholder", children: "— / — / ——" }), C = (L) => {
8634
+ $(L) || (w(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 }));
8615
8635
  }, A = (L) => {
8616
8636
  if (L.disabled || !L.range) return;
8617
8637
  const E = L.range();
8618
- S(E), k(L.id), E.from && m(dn(E.from));
8638
+ S(E), w(L.id), E.from && m(dn(E.from));
8619
8639
  }, B = a ? { "--select-dp-accent": `var(${a})` } : void 0;
8620
8640
  return /* @__PURE__ */ e("div", { ref: f, ...h, className: `select select-datepicker${i ? " select-datepicker--bare" : ""}${p ? " " + p : ""}`, style: B, children: /* @__PURE__ */ u("div", { className: "select-datepicker__body", children: [
8621
8641
  /* @__PURE__ */ e("div", { className: "select-datepicker__presets", role: "listbox", "aria-label": "Intervalos", children: l.map((L) => {
@@ -8630,7 +8650,7 @@ const xr = I(function({ value: n, presets: l = _r, onApply: c, onCancel: s, acce
8630
8650
  className: `select-datepicker__preset${E ? " is-active" : ""}`,
8631
8651
  onClick: () => A(L),
8632
8652
  children: [
8633
- /* @__PURE__ */ e("span", { className: "select-datepicker__preset-check", children: E && /* @__PURE__ */ e(et, {}) }),
8653
+ /* @__PURE__ */ e("span", { className: "select-datepicker__preset-check", children: E && /* @__PURE__ */ e(Ke, {}) }),
8634
8654
  L.label
8635
8655
  ]
8636
8656
  },
@@ -8692,7 +8712,7 @@ function yr(t, n) {
8692
8712
  }
8693
8713
  return Pn(t.start, t.end) ? Dn(t.start) : `${Dn(t.start)} – ${Dn(t.end)}`;
8694
8714
  }
8695
- function zi({
8715
+ function qi({
8696
8716
  value: t,
8697
8717
  onChange: n,
8698
8718
  presets: l = gr,
@@ -8741,8 +8761,8 @@ function zi({
8741
8761
  }
8742
8762
  );
8743
8763
  }
8744
- const qi = I(function({ label: n, value: l, onChange: c, min: s, max: a, step: r = 1, decimal: d = !1, disabled: o = !1, hint: i, error: p, onBlur: h, placeholder: f, size: v = "md", className: _, ...x }, M) {
8745
- 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 = d && y ? g : l == null ? "" : String(l), B = (E) => {
8764
+ const Yi = I(function({ label: n, value: l, onChange: c, min: s, max: a, step: r = 1, decimal: d = !1, disabled: o = !1, hint: i, error: p, onBlur: h, placeholder: f, size: v = "md", className: _, ...x }, M) {
8765
+ 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, w = s != null && N <= s, k = a != null && N >= a, [y, $] = D(!1), [g, C] = D(""), A = d && y ? g : l == null ? "" : String(l), B = (E) => {
8746
8766
  const F = d ? E.replace(/[^\d.,-]/g, "").replace(",", ".") : E.replace(/[^\d-]/g, "");
8747
8767
  if (d && C(F), F === "" || F === "-" || F === ".") return c(null);
8748
8768
  const T = Number(F);
@@ -8761,7 +8781,7 @@ const qi = I(function({ label: n, value: l, onChange: c, min: s, max: a, step: r
8761
8781
  size: v,
8762
8782
  icon: /* @__PURE__ */ e("span", { "aria-hidden": "true", className: "select-numfield__minus", children: "−" }),
8763
8783
  label: "Diminuir",
8764
- disabled: o || k,
8784
+ disabled: o || w,
8765
8785
  onClick: () => L(-r)
8766
8786
  }
8767
8787
  ),
@@ -8793,7 +8813,7 @@ const qi = I(function({ label: n, value: l, onChange: c, min: s, max: a, step: r
8793
8813
  size: v,
8794
8814
  icon: /* @__PURE__ */ e(Ct, {}),
8795
8815
  label: "Aumentar",
8796
- disabled: o || w,
8816
+ disabled: o || k,
8797
8817
  onClick: () => L(r)
8798
8818
  }
8799
8819
  )
@@ -8801,7 +8821,7 @@ const qi = I(function({ label: n, value: l, onChange: c, min: s, max: a, step: r
8801
8821
  p ? /* @__PURE__ */ e("p", { className: "select-field__error", children: p }) : i ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: i }) : null
8802
8822
  ] });
8803
8823
  });
8804
- function Yi({
8824
+ function Xi({
8805
8825
  items: t,
8806
8826
  onChange: n,
8807
8827
  renderRow: l,
@@ -8816,18 +8836,18 @@ function Yi({
8816
8836
  emptyState: h,
8817
8837
  helpText: f
8818
8838
  }) {
8819
- const v = !o && (d == null || t.length < d), _ = t.length > r, x = (m, N) => n(t.map((k, w) => w === m ? N : k)), M = (m) => n(t.filter((N, k) => k !== m)), S = (m, N) => {
8820
- const k = m + N;
8821
- if (k < 0 || k >= t.length) return;
8822
- const w = t.slice(), y = w[m];
8823
- w[m] = w[k], w[k] = y, n(w);
8839
+ const v = !o && (d == null || t.length < d), _ = t.length > r, x = (m, N) => n(t.map((w, k) => k === m ? N : w)), M = (m) => n(t.filter((N, w) => w !== m)), S = (m, N) => {
8840
+ const w = m + N;
8841
+ if (w < 0 || w >= t.length) return;
8842
+ const k = t.slice(), y = k[m];
8843
+ k[m] = k[w], k[w] = y, n(k);
8824
8844
  }, b = (m, N) => ({
8825
8845
  index: N,
8826
8846
  isFirst: N === 0,
8827
8847
  isLast: N === t.length - 1,
8828
8848
  canRemove: _,
8829
- update: (k) => x(N, { ...m, ...k }),
8830
- set: (k) => x(N, k),
8849
+ update: (w) => x(N, { ...m, ...w }),
8850
+ set: (w) => x(N, w),
8831
8851
  remove: () => M(N),
8832
8852
  moveUp: () => S(N, -1),
8833
8853
  moveDown: () => S(N, 1)
@@ -8835,28 +8855,28 @@ function Yi({
8835
8855
  return /* @__PURE__ */ u(Wn, { gap: "300", children: [
8836
8856
  t.length === 0 && h != null && /* @__PURE__ */ e("div", { children: h }),
8837
8857
  t.map((m, N) => {
8838
- const k = b(m, N);
8839
- 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: [
8858
+ const w = b(m, N);
8859
+ return p === "bare" ? /* @__PURE__ */ e("div", { children: l(m, w) }, N) : /* @__PURE__ */ e(Os, { background: "surface", border: !0, borderRadius: "base", padding: "300", children: /* @__PURE__ */ u(Wn, { gap: "200", children: [
8840
8860
  /* @__PURE__ */ u(qt, { align: "space-between", blockAlign: "center", gap: "200", children: [
8841
- /* @__PURE__ */ e(kt, { as: "span", variant: "bodySm", fontWeight: "medium", tone: "subdued", children: a ? a(N, m) : `#${N + 1}` }),
8861
+ /* @__PURE__ */ e(wt, { as: "span", variant: "bodySm", fontWeight: "medium", tone: "subdued", children: a ? a(N, m) : `#${N + 1}` }),
8842
8862
  /* @__PURE__ */ u(qt, { gap: "100", blockAlign: "center", wrap: !1, children: [
8843
8863
  i && /* @__PURE__ */ u(ue, { children: [
8844
- /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(tc, {}), label: "Mover para cima", disabled: k.isFirst, onClick: k.moveUp }),
8845
- /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(je, {}), label: "Mover para baixo", disabled: k.isLast, onClick: k.moveDown })
8864
+ /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(tc, {}), label: "Mover para cima", disabled: w.isFirst, onClick: w.moveUp }),
8865
+ /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(je, {}), label: "Mover para baixo", disabled: w.isLast, onClick: w.moveDown })
8846
8866
  ] }),
8847
- /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(Ql, {}), label: "Remover", disabled: !_, onClick: k.remove })
8867
+ /* @__PURE__ */ e(He, { size: "sm", icon: /* @__PURE__ */ e(Ql, {}), label: "Remover", disabled: !_, onClick: w.remove })
8848
8868
  ] })
8849
8869
  ] }),
8850
- l(m, k)
8870
+ l(m, w)
8851
8871
  ] }) }, N);
8852
8872
  }),
8853
8873
  /* @__PURE__ */ u(qt, { align: "space-between", blockAlign: "center", gap: "200", children: [
8854
8874
  /* @__PURE__ */ e(Re, { variant: "secondary", size: "sm", inline: !0, icon: /* @__PURE__ */ e(Ct, {}), disabled: !v, onClick: () => n([...t, c()]), children: s }),
8855
- f != null && /* @__PURE__ */ e(kt, { as: "span", variant: "bodyXs", tone: "subdued", children: f })
8875
+ f != null && /* @__PURE__ */ e(wt, { as: "span", variant: "bodyXs", tone: "subdued", children: f })
8856
8876
  ] })
8857
8877
  ] });
8858
8878
  }
8859
- function Xi({
8879
+ function Ki({
8860
8880
  title: t,
8861
8881
  subtitle: n,
8862
8882
  backTo: l,
@@ -8888,7 +8908,7 @@ function Xi({
8888
8908
  }
8889
8909
  );
8890
8910
  }
8891
- function Ki({
8911
+ function Ji({
8892
8912
  title: t,
8893
8913
  subtitle: n,
8894
8914
  backTo: l,
@@ -8908,7 +8928,7 @@ function Ki({
8908
8928
  dirtyLabel: M = "Alterações não salvas"
8909
8929
  }) {
8910
8930
  var A;
8911
- const S = zl(), [b, m] = D(((A = i[0]) == null ? void 0 : A.id) ?? ""), [N, k] = D(""), w = p ?? b, y = i.find((B) => B.id === w) ?? i[0], $ = (B) => {
8931
+ const S = zl(), [b, m] = D(((A = i[0]) == null ? void 0 : A.id) ?? ""), [N, w] = D(""), k = p ?? b, y = i.find((B) => B.id === k) ?? i[0], $ = (B) => {
8912
8932
  p === void 0 && m(B), h == null || h(B);
8913
8933
  }, g = N.trim().toLowerCase(), C = Oe(() => {
8914
8934
  const B = g ? i.filter(
@@ -8946,7 +8966,7 @@ function Ki({
8946
8966
  o != null && o !== "" && /* @__PURE__ */ e("div", { className: "select-bwork__error", children: /* @__PURE__ */ e(Pt, { tone: "critical", children: o }) }),
8947
8967
  /* @__PURE__ */ u("div", { className: "select-bwork__body", children: [
8948
8968
  /* @__PURE__ */ u("nav", { className: "select-bwork__rail", "aria-label": "Seções de configuração", children: [
8949
- f && /* @__PURE__ */ e("div", { className: "select-bwork__search", children: /* @__PURE__ */ e(nl, { value: N, onChange: k, placeholder: "Buscar ajuste…" }) }),
8969
+ f && /* @__PURE__ */ e("div", { className: "select-bwork__search", children: /* @__PURE__ */ e(nl, { value: N, onChange: w, placeholder: "Buscar ajuste…" }) }),
8950
8970
  /* @__PURE__ */ u("div", { className: "select-bwork__navlist", children: [
8951
8971
  C.map((B, L) => /* @__PURE__ */ u("div", { className: "select-bwork__group", children: [
8952
8972
  B.label && /* @__PURE__ */ e("p", { className: "select-bwork__grouplabel", children: B.label }),
@@ -8980,7 +9000,7 @@ function Ki({
8980
9000
  ] })
8981
9001
  ] });
8982
9002
  }
8983
- const Ji = I(function({ label: n, checked: l, onChange: c, disabled: s = !1, hint: a, help: r, className: d, ...o }, i) {
9003
+ const Qi = I(function({ label: n, checked: l, onChange: c, disabled: s = !1, hint: a, help: r, className: d, ...o }, i) {
8984
9004
  return /* @__PURE__ */ u("div", { ref: i, ...o, className: `select-switchfield${s ? " is-disabled" : ""}${d ? " " + d : ""}`, children: [
8985
9005
  /* @__PURE__ */ u("div", { className: "select-switchfield__row", children: [
8986
9006
  /* @__PURE__ */ e(Qn, { checked: l, onChange: c, disabled: s, label: n }),
@@ -8999,7 +9019,7 @@ const Ji = I(function({ label: n, checked: l, onChange: c, disabled: s = !1, hin
8999
9019
  a != null && /* @__PURE__ */ e("span", { className: "select-switchfield__hint", children: a })
9000
9020
  ] });
9001
9021
  }), Nr = (t) => /^#[0-9a-fA-F]{6}$/.test(t);
9002
- function Qi({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error: a }) {
9022
+ function e2({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error: a }) {
9003
9023
  return /* @__PURE__ */ e(
9004
9024
  pt,
9005
9025
  {
@@ -9036,7 +9056,7 @@ function Mr(t) {
9036
9056
  c.onload = () => n(String(c.result)), c.onerror = () => l(c.error), c.readAsDataURL(t);
9037
9057
  });
9038
9058
  }
9039
- const e2 = I(function({ label: n, value: l, onChange: c, accept: s = "image/*", maxSizeMB: a = 3, urlPlaceholder: r, hint: d, uploadFile: o, className: i, ...p }, h) {
9059
+ const t2 = I(function({ label: n, value: l, onChange: c, accept: s = "image/*", maxSizeMB: a = 3, urlPlaceholder: r, hint: d, uploadFile: o, className: i, ...p }, h) {
9040
9060
  const [f, v] = D([]), [_, x] = D(null), M = l ? [l] : [], S = async (b) => {
9041
9061
  const m = b[0];
9042
9062
  if (!m) {
@@ -9074,7 +9094,7 @@ const e2 = I(function({ label: n, value: l, onChange: c, accept: s = "image/*",
9074
9094
  ),
9075
9095
  _ && /* @__PURE__ */ e("span", { className: "select-imagefield__error", children: _ })
9076
9096
  ] });
9077
- }), t2 = I(function({ items: n, multiple: l = !1, defaultOpenIds: c = [], className: s, ...a }, r) {
9097
+ }), n2 = I(function({ items: n, multiple: l = !1, defaultOpenIds: c = [], className: s, ...a }, r) {
9078
9098
  const [d, o] = D(() => new Set(c)), i = (p) => o((h) => {
9079
9099
  const f = h.has(p), v = new Set(l ? h : []);
9080
9100
  return f ? v.delete(p) : v.add(p), v;
@@ -9113,7 +9133,7 @@ const e2 = I(function({ label: n, value: l, onChange: c, accept: s = "image/*",
9113
9133
  export {
9114
9134
  Ar as AUTH_FX_VARIANTS,
9115
9135
  Xr as AppleIcon,
9116
- vo as AppsIcon,
9136
+ go as AppsIcon,
9117
9137
  zn as ArrowLeftIcon,
9118
9138
  Jr as ArrowRightIcon,
9119
9139
  eo as AtIcon,
@@ -9123,10 +9143,10 @@ export {
9123
9143
  po as BroadcastIcon,
9124
9144
  no as BuildingIcon,
9125
9145
  ec as CalendarIcon,
9126
- bo as CartIcon,
9127
- fo as ChartLineIcon,
9146
+ xo as CartIcon,
9147
+ _o as ChartLineIcon,
9128
9148
  is as CheckCircleIcon,
9129
- et as CheckIcon,
9149
+ Ke as CheckIcon,
9130
9150
  je as ChevronDownIcon,
9131
9151
  Un as ChevronLeftIcon,
9132
9152
  Jt as ChevronRightIcon,
@@ -9153,10 +9173,11 @@ export {
9153
9173
  co as HomeIcon,
9154
9174
  Mn as InfoIcon,
9155
9175
  lo as KeyIcon,
9176
+ fo as LinkIcon,
9156
9177
  io as LockIcon,
9157
9178
  qr as MailIcon,
9158
- xo as MenuIcon,
9159
- go as MinusCircleIcon,
9179
+ yo as MenuIcon,
9180
+ bo as MinusCircleIcon,
9160
9181
  Xl as MobileIcon,
9161
9182
  Yl as MonitorIcon,
9162
9183
  rs as MoonIcon,
@@ -9168,200 +9189,200 @@ export {
9168
9189
  os as RefreshIcon,
9169
9190
  Gr as RocketIcon,
9170
9191
  Hs as SELECT_CARD_BRANDS,
9171
- x1 as SELECT_COL_DATETIME,
9172
- y1 as SELECT_COL_ID,
9192
+ y1 as SELECT_COL_DATETIME,
9193
+ N1 as SELECT_COL_ID,
9173
9194
  pc as SELECT_COUNTRIES,
9174
9195
  gr as SELECT_DAILY_PRESETS,
9175
9196
  _r as SELECT_DATE_PRESETS,
9176
- wt as SELECT_SPACE,
9197
+ kt as SELECT_SPACE,
9177
9198
  Ps as SELECT_TRANSACTION_STATUS,
9178
9199
  qn as SearchIcon,
9179
- t2 as SelectAccordion,
9180
- p1 as SelectActionCard,
9200
+ n2 as SelectAccordion,
9201
+ m1 as SelectActionCard,
9181
9202
  fc as SelectActionList,
9182
- Po as SelectActionMenu,
9203
+ Do as SelectActionMenu,
9183
9204
  vs as SelectAddButton,
9184
9205
  Ra as SelectAddCard,
9185
9206
  Pt as SelectAlert,
9186
- m1 as SelectAppTile,
9207
+ f1 as SelectAppTile,
9187
9208
  Er as SelectAuthFx,
9188
9209
  ia as SelectAvatar,
9189
- zo as SelectBackLink,
9210
+ qo as SelectBackLink,
9190
9211
  mc as SelectBadge,
9191
- W1 as SelectBalanceCard,
9192
- Lo as SelectBankAccountField,
9193
- V1 as SelectBarChart,
9212
+ O1 as SelectBalanceCard,
9213
+ Ao as SelectBankAccountField,
9214
+ G1 as SelectBarChart,
9194
9215
  Os as SelectBox,
9195
- ii as SelectBoxPlot,
9196
- Xi as SelectBuilderLayout,
9197
- Ki as SelectBuilderWorkspace,
9198
- li as SelectBullet,
9199
- Ci as SelectBump,
9216
+ di as SelectBoxPlot,
9217
+ Ki as SelectBuilderLayout,
9218
+ Ji as SelectBuilderWorkspace,
9219
+ ci as SelectBullet,
9220
+ Li as SelectBump,
9200
9221
  Re as SelectButton,
9201
- hi as SelectCalendarHeatmap,
9202
- oi as SelectCandlestick,
9222
+ ui as SelectCalendarHeatmap,
9223
+ ii as SelectCandlestick,
9203
9224
  Br as SelectCard,
9204
9225
  w1 as SelectCardGrid,
9205
- j1 as SelectChartCard,
9206
- No as SelectCheckbox,
9207
- xi as SelectChord,
9208
- Fi as SelectCirclePack,
9209
- u1 as SelectCollapsible,
9210
- Qi as SelectColorField,
9211
- Y1 as SelectColumnChart,
9212
- z1 as SelectComboChart,
9226
+ Z1 as SelectChartCard,
9227
+ Mo as SelectCheckbox,
9228
+ yi as SelectChord,
9229
+ Ii as SelectCirclePack,
9230
+ p1 as SelectCollapsible,
9231
+ e2 as SelectColorField,
9232
+ X1 as SelectColumnChart,
9233
+ q1 as SelectComboChart,
9213
9234
  Ms as SelectCombobox,
9214
- g1 as SelectConfirmModal,
9215
- d1 as SelectCopyRow,
9216
- h1 as SelectCopyableId,
9217
- f1 as SelectCreateTile,
9218
- M1 as SelectDataTable,
9235
+ b1 as SelectConfirmModal,
9236
+ h1 as SelectCopyRow,
9237
+ u1 as SelectCopyableId,
9238
+ _1 as SelectCreateTile,
9239
+ k1 as SelectDataTable,
9219
9240
  Ka as SelectDateField,
9220
9241
  xr as SelectDatePicker,
9221
- zi as SelectDateRangeField,
9222
- Pi as SelectDetailList,
9223
- Di as SelectDetailRow,
9242
+ qi as SelectDateRangeField,
9243
+ Di as SelectDetailList,
9244
+ Wi as SelectDetailRow,
9224
9245
  Vs as SelectDisclosureButton,
9225
- jo as SelectDivider,
9226
- $o as SelectDocumentField,
9227
- q1 as SelectDonut,
9246
+ Zo as SelectDivider,
9247
+ So as SelectDocumentField,
9248
+ Y1 as SelectDonut,
9228
9249
  Lr as SelectDotField,
9229
- mi as SelectDumbbell,
9230
- O1 as SelectFeeBreakdown,
9250
+ fi as SelectDumbbell,
9251
+ H1 as SelectFeeBreakdown,
9231
9252
  pt as SelectField,
9232
- ws as SelectFieldGrid,
9233
- So as SelectFileDropzone,
9253
+ ks as SelectFieldGrid,
9254
+ Co as SelectFileDropzone,
9234
9255
  _n as SelectFileTile,
9235
- F1 as SelectFilterBar,
9236
- i1 as SelectFilterChip,
9237
- Xo as SelectFormLayout,
9238
- b1 as SelectFormModal,
9239
- X1 as SelectFunnel,
9240
- K1 as SelectGauge,
9241
- _i as SelectGaugeBands,
9242
- Mi as SelectGlobe,
9243
- Do as SelectGrid,
9244
- J1 as SelectHeatmap,
9245
- yi as SelectHexbin,
9246
- L1 as SelectHideMoneyToggle,
9247
- ti as SelectHorizontalBar,
9248
- Ai as SelectIcicle,
9256
+ I1 as SelectFilterBar,
9257
+ d1 as SelectFilterChip,
9258
+ Ko as SelectFormLayout,
9259
+ x1 as SelectFormModal,
9260
+ K1 as SelectFunnel,
9261
+ J1 as SelectGauge,
9262
+ vi as SelectGaugeBands,
9263
+ ki as SelectGlobe,
9264
+ Wo as SelectGrid,
9265
+ Q1 as SelectHeatmap,
9266
+ Ni as SelectHexbin,
9267
+ A1 as SelectHideMoneyToggle,
9268
+ ni as SelectHorizontalBar,
9269
+ Ei as SelectIcicle,
9249
9270
  ba as SelectIcon,
9250
9271
  He as SelectIconButton,
9251
- Go as SelectIdentityFooter,
9252
- e2 as SelectImageField,
9272
+ Uo as SelectIdentityFooter,
9273
+ t2 as SelectImageField,
9253
9274
  gs as SelectImageUploadField,
9254
- Co as SelectImageUrlsField,
9275
+ Lo as SelectImageUrlsField,
9255
9276
  pr as SelectImageZoomModal,
9256
9277
  ft as SelectInfoTip,
9257
9278
  qt as SelectInline,
9258
- Oo as SelectJsonViewer,
9259
- Ui as SelectKeyValueEditor,
9260
- H1 as SelectKpiCard,
9279
+ Ho as SelectJsonViewer,
9280
+ zi as SelectKeyValueEditor,
9281
+ j1 as SelectKpiCard,
9261
9282
  Tt as SelectLabelRow,
9262
- $1 as SelectLayoutThumb,
9263
- G1 as SelectLineChart,
9283
+ S1 as SelectLayoutThumb,
9284
+ U1 as SelectLineChart,
9264
9285
  oa as SelectLinkButton,
9265
- Hi as SelectListCard,
9266
- ji as SelectListRow,
9286
+ ji as SelectListCard,
9287
+ Zi as SelectListRow,
9267
9288
  ha as SelectLoader,
9268
- fi as SelectMarimekko,
9269
- B1 as SelectMarkStack,
9270
- Vi as SelectMediaCell,
9289
+ _i as SelectMarimekko,
9290
+ F1 as SelectMarkStack,
9291
+ Gi as SelectMediaCell,
9271
9292
  Sa as SelectMenu,
9272
9293
  La as SelectMenuButton,
9273
- o1 as SelectMenuDivider,
9274
- r1 as SelectMenuHeading,
9294
+ i1 as SelectMenuDivider,
9295
+ o1 as SelectMenuHeading,
9275
9296
  Ca as SelectMenuItem,
9276
- a1 as SelectMenuLink,
9297
+ r1 as SelectMenuLink,
9277
9298
  Va as SelectMetricDelta,
9278
9299
  $n as SelectModal,
9279
9300
  $t as SelectMoney,
9280
- ko as SelectMoneyField,
9281
- Ii as SelectNetwork,
9282
- Jo as SelectNote,
9283
- qi as SelectNumberField,
9284
- A1 as SelectOfferPrice,
9285
- Gi as SelectOfflineModal,
9286
- Zo as SelectOptionList,
9287
- Vo as SelectOptionRow,
9288
- Uo as SelectOtpInput,
9301
+ $o as SelectMoneyField,
9302
+ Ri as SelectNetwork,
9303
+ Qo as SelectNote,
9304
+ Yi as SelectNumberField,
9305
+ E1 as SelectOfferPrice,
9306
+ Ui as SelectOfflineModal,
9307
+ Vo as SelectOptionList,
9308
+ Go as SelectOptionRow,
9309
+ zo as SelectOtpInput,
9289
9310
  ua as SelectPage,
9290
9311
  Ma as SelectPagination,
9291
- t1 as SelectPanel,
9292
- Li as SelectParallel,
9293
- ki as SelectPareto,
9294
- Yo as SelectPasswordStrength,
9295
- Wo as SelectPaymentBrand,
9296
- Fo as SelectPhoneField,
9297
- Oi as SelectPlanCard,
9298
- ui as SelectPolarArea,
9312
+ n1 as SelectPanel,
9313
+ Ai as SelectParallel,
9314
+ $i as SelectPareto,
9315
+ Xo as SelectPasswordStrength,
9316
+ Oo as SelectPaymentBrand,
9317
+ Io as SelectPhoneField,
9318
+ Hi as SelectPlanCard,
9319
+ pi as SelectPolarArea,
9299
9320
  dt as SelectPopover,
9300
- D1 as SelectPreviewFrame,
9301
- Q1 as SelectProgressList,
9302
- Si as SelectPyramid,
9303
- ai as SelectRadar,
9304
- ei as SelectRadialBar,
9305
- Io as SelectRadioGroup,
9306
- di as SelectRangeBar,
9321
+ W1 as SelectPreviewFrame,
9322
+ ei as SelectProgressList,
9323
+ Ci as SelectPyramid,
9324
+ ri as SelectRadar,
9325
+ ti as SelectRadialBar,
9326
+ Ro as SelectRadioGroup,
9327
+ hi as SelectRangeBar,
9307
9328
  Ua as SelectRating,
9308
- E1 as SelectRatingQuote,
9309
- k1 as SelectRecordCard,
9310
- Yi as SelectRepeatingFieldArray,
9311
- qo as SelectResendButton,
9312
- v1 as SelectRowActions,
9313
- ri as SelectSankey,
9314
- si as SelectScatter,
9329
+ B1 as SelectRatingQuote,
9330
+ $1 as SelectRecordCard,
9331
+ Xi as SelectRepeatingFieldArray,
9332
+ Yo as SelectResendButton,
9333
+ g1 as SelectRowActions,
9334
+ oi as SelectSankey,
9335
+ ai as SelectScatter,
9315
9336
  nl as SelectSearchInput,
9316
- n1 as SelectSection,
9317
- Ro as SelectSegmented,
9337
+ l1 as SelectSection,
9338
+ To as SelectSegmented,
9318
9339
  ic as SelectSelect,
9319
9340
  ja as SelectSensitiveValue,
9320
- Qo as SelectSettingList,
9321
- e1 as SelectSettingRow,
9322
- c1 as SelectSideNav,
9323
- Ko as SelectSkeleton,
9324
- pi as SelectSlope,
9325
- Z1 as SelectSparkline,
9326
- S1 as SelectSplitChain,
9341
+ e1 as SelectSettingList,
9342
+ t1 as SelectSettingRow,
9343
+ s1 as SelectSideNav,
9344
+ Jo as SelectSkeleton,
9345
+ mi as SelectSlope,
9346
+ V1 as SelectSparkline,
9347
+ C1 as SelectSplitChain,
9327
9348
  Wn as SelectStack,
9328
- U1 as SelectStackedArea,
9329
- To as SelectStatusBadge,
9330
- Wi as SelectSteps,
9331
- vi as SelectStreamGraph,
9332
- gi as SelectSunburst,
9333
- R1 as SelectSurface,
9349
+ z1 as SelectStackedArea,
9350
+ Po as SelectStatusBadge,
9351
+ Oi as SelectSteps,
9352
+ gi as SelectStreamGraph,
9353
+ bi as SelectSunburst,
9354
+ T1 as SelectSurface,
9334
9355
  Qn as SelectSwitch,
9335
- Ji as SelectSwitchField,
9356
+ Qi as SelectSwitchField,
9336
9357
  $a as SelectTable,
9337
- wl as SelectTableCell,
9358
+ kl as SelectTableCell,
9338
9359
  $c as SelectTableEmpty,
9339
9360
  Ml as SelectTableRow,
9340
- l1 as SelectTabs,
9341
- I1 as SelectTagSelect,
9342
- kt as SelectText,
9343
- Mo as SelectTextarea,
9344
- Ti as SelectThemeSwitcher,
9361
+ c1 as SelectTabs,
9362
+ R1 as SelectTagSelect,
9363
+ wt as SelectText,
9364
+ ko as SelectTextarea,
9365
+ Pi as SelectThemeSwitcher,
9345
9366
  Zl as SelectThumbnail,
9346
9367
  wi as SelectTicker,
9347
- Ho as SelectTimeline,
9348
- T1 as SelectToastProvider,
9349
- Ao as SelectToggleList,
9350
- Bo as SelectTogglePanel,
9351
- Eo as SelectToggleRow,
9368
+ jo as SelectTimeline,
9369
+ P1 as SelectToastProvider,
9370
+ Eo as SelectToggleList,
9371
+ Fo as SelectTogglePanel,
9372
+ Bo as SelectToggleRow,
9352
9373
  Kn as SelectTooltip,
9353
- Ei as SelectTree,
9354
- ci as SelectTreemap,
9374
+ Bi as SelectTree,
9375
+ si as SelectTreemap,
9355
9376
  wo as SelectUnitInput,
9356
- s1 as SelectUserCell,
9357
- C1 as SelectValueVisibilityProvider,
9358
- Bi as SelectVenn,
9359
- bi as SelectViolin,
9360
- $i as SelectWaffle,
9361
- ni as SelectWaterfall,
9362
- Ni as SelectWordCloud,
9363
- _1 as SelectWorkspaceSwitcher,
9364
- Zi as SelectZoomThumbnail,
9377
+ a1 as SelectUserCell,
9378
+ L1 as SelectValueVisibilityProvider,
9379
+ Fi as SelectVenn,
9380
+ xi as SelectViolin,
9381
+ Si as SelectWaffle,
9382
+ li as SelectWaterfall,
9383
+ Mi as SelectWordCloud,
9384
+ v1 as SelectWorkspaceSwitcher,
9385
+ Vi as SelectZoomThumbnail,
9365
9386
  ql as SelectorIcon,
9366
9387
  oo as SendIcon,
9367
9388
  ts as Setting4Icon,
@@ -9369,8 +9390,8 @@ export {
9369
9390
  Qr as ShieldIcon,
9370
9391
  Hr as SplitIcon,
9371
9392
  Or as StarIcon,
9372
- _o as StoreIcon,
9373
- yo as StorefrontIcon,
9393
+ vo as StoreIcon,
9394
+ No as StorefrontIcon,
9374
9395
  as as SunIcon,
9375
9396
  cs as TerminalIcon,
9376
9397
  Ql as TrashIcon,
@@ -9383,11 +9404,11 @@ export {
9383
9404
  Qt as detectSelectTheme,
9384
9405
  Ts as dialCodeOf,
9385
9406
  da as passwordScore,
9386
- Ri as resolveSelectTheme,
9407
+ Ti as resolveSelectTheme,
9387
9408
  _c as selectCardBrand,
9388
9409
  js as selectCardBrandLabel,
9389
- N1 as useSelectPageSize,
9390
- P1 as useSelectToast,
9410
+ M1 as useSelectPageSize,
9411
+ D1 as useSelectToast,
9391
9412
  Lc as useSelectValueVisibility
9392
9413
  };
9393
9414
  //# sourceMappingURL=index.js.map