@selectwin/kit 0.1.50 → 0.1.52

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
@@ -28,7 +28,7 @@ function ha({ 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 o = ((Q = window.matchMedia) == null ? void 0 : Q.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, i = n === "dark", r = 30, d = 1.2, p = 160, u = 8, f = 2.9, g = 0.32, v = 1.4, x = 18, N = Math.PI * 2, k = getComputedStyle(s), [_, h, b] = Il(k, "--select-dot", i ? [235, 238, 255] : [64, 68, 92]), [S, $, M] = Pl(k.getPropertyValue("--select-primary"), i ? [255, 255, 255] : [33, 37, 41]);
31
+ const o = ((Q = window.matchMedia) == null ? void 0 : Q.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, i = n === "dark", r = 30, d = 1.2, h = 160, u = 8, f = 2.9, g = 0.32, v = 1.4, x = 18, N = Math.PI * 2, k = getComputedStyle(s), [_, p, b] = Il(k, "--select-dot", i ? [235, 238, 255] : [64, 68, 92]), [S, $, M] = Pl(k.getPropertyValue("--select-primary"), i ? [255, 255, 255] : [33, 37, 41]);
32
32
  let w = 0, y = 0, C = [], L = 0, B = 0, A = null, E = 0;
33
33
  const F = { x: 0, y: 0 };
34
34
  let W = 0, Z = 0, R = -10;
@@ -58,7 +58,7 @@ function ha({ className: t, theme: n, glowTarget: l }) {
58
58
  E = Be;
59
59
  }
60
60
  function ie() {
61
- a.clearRect(0, 0, w, y), a.fillStyle = `rgba(${_},${h},${b},${g})`;
61
+ a.clearRect(0, 0, w, y), a.fillStyle = `rgba(${_},${p},${b},${g})`;
62
62
  for (const X of C)
63
63
  a.beginPath(), a.arc(X.x, X.y, d, 0, N), a.fill();
64
64
  A == null || A.style.setProperty("--select-card-glow", "0");
@@ -69,7 +69,7 @@ function ha({ className: t, theme: n, glowTarget: l }) {
69
69
  const me = F.x, ue = F.y;
70
70
  a.clearRect(0, 0, w, y);
71
71
  for (let re = 0; re < C.length; re++) {
72
- const $e = C[re], Ce = $e.x - me, Le = $e.y - ue, Ne = Math.sqrt(Ce * Ce + Le * Le), Pe = Ne < p ? 1 - Ne / p : 0, we = Pe * Pe, Ue = Math.sin(X * 1.4 + $e.phase) * 0.5 + 0.5, He = we * u, Be = Ne > 1e-4 ? 1 / Ne : 0, I = $e.x - Ce * Be * He, V = $e.y - Le * Be * He, U = 1 + we * (f - 1) + Ue * 0.14, oe = Math.min(1, g + Ue * 0.08 + we * (1 - g)), ee = _ + (S - _) * we | 0, se = h + ($ - h) * we | 0, he = b + (M - b) * we | 0;
72
+ const $e = C[re], Ce = $e.x - me, Le = $e.y - ue, Ne = Math.sqrt(Ce * Ce + Le * Le), Pe = Ne < h ? 1 - Ne / h : 0, we = Pe * Pe, Ue = Math.sin(X * 1.4 + $e.phase) * 0.5 + 0.5, He = we * u, Be = Ne > 1e-4 ? 1 / Ne : 0, I = $e.x - Ce * Be * He, V = $e.y - Le * Be * He, U = 1 + we * (f - 1) + Ue * 0.14, oe = Math.min(1, g + Ue * 0.08 + we * (1 - g)), ee = _ + (S - _) * we | 0, se = p + ($ - p) * we | 0, he = b + (M - b) * we | 0;
73
73
  we > 0.12 ? (a.shadowColor = `rgba(${S},${$},${M},${0.6 * we})`, a.shadowBlur = 12 * we) : a.shadowBlur = 0, a.beginPath(), a.arc(I, V, d * U, 0, N), a.fillStyle = `rgba(${ee},${se},${he},${oe})`, a.fill();
74
74
  }
75
75
  a.shadowBlur = 0, q(me, ue, S, $, M);
@@ -90,7 +90,7 @@ function ha({ className: t, theme: n, glowTarget: l }) {
90
90
  });
91
91
  }, [n, l]), /* @__PURE__ */ e("canvas", { ref: c, className: t, "aria-hidden": "true" });
92
92
  }
93
- const pa = ["dots", "plexus", "grid", "flow", "circuit"], tt = Math.PI * 2, qe = (t, n, l) => t < n ? n : t > l ? l : t, $t = (t, n, l) => t + (n - t) * l;
93
+ const pa = ["dots", "plexus", "grid", "flow", "circuit"], nt = Math.PI * 2, qe = (t, n, l) => t < n ? n : t > l ? l : t, $t = (t, n, l) => t + (n - t) * l;
94
94
  function Rl(t, n, l) {
95
95
  const c = t.getPropertyValue(n).match(/(\d+)\s*,\s*(\d+)\s*,\s*(\d+)/);
96
96
  return c ? [Number(c[1]), Number(c[2]), Number(c[3])] : l;
@@ -115,27 +115,27 @@ const Tl = (t) => {
115
115
  const g = Math.ceil(u / 30) + 1, v = Math.ceil(f / 30) + 1, x = (u - (g - 1) * 30) / 2, N = (f - (v - 1) * 30) / 2;
116
116
  for (let k = 0; k < v; k++)
117
117
  for (let _ = 0; _ < g; _++) {
118
- const h = x + _ * 30, b = N + k * 30;
119
- i.push({ x: h, y: b, phase: (h + b) * 0.013 });
118
+ const p = x + _ * 30, b = N + k * 30;
119
+ i.push({ x: p, y: b, phase: (p + b) * 0.013 });
120
120
  }
121
121
  }
122
- function p(u, f) {
123
- const { ctx: g, pointer: v } = t, [x, N, k] = t.ink, [_, h, b] = t.accent, S = t.w(), $ = t.h();
122
+ function h(u, f) {
123
+ const { ctx: g, pointer: v } = t, [x, N, k] = t.ink, [_, p, b] = t.accent, S = t.w(), $ = t.h();
124
124
  g.clearRect(0, 0, S, $);
125
125
  const M = v.x, w = v.y;
126
126
  for (const y of i) {
127
- const C = y.x - M, L = y.y - w, B = Math.hypot(C, L), A = f > 0 && B < 150 ? 1 - B / 150 : 0, E = A * A * f, F = Math.sin(u * 1.1 + y.phase) * 0.5 + 0.5, W = E * 6, Z = B > 1e-3 ? 1 / B : 0, R = y.x - C * Z * W, D = y.y - L * Z * W, O = 1 + E * (2.4 - 1) + F * 0.1, G = Math.min(1, 0.3 + F * 0.06 + E * (1 - 0.3)), q = x + (_ - x) * E | 0, ie = N + (h - N) * E | 0, fe = k + (b - k) * E | 0;
128
- t.dark && E > 0.14 ? (g.shadowColor = `rgba(${_},${h},${b},${0.5 * E})`, g.shadowBlur = 10 * E) : g.shadowBlur = 0, g.beginPath(), g.arc(R, D, 1.2 * O, 0, tt), g.fillStyle = `rgba(${q},${ie},${fe},${G})`, g.fill();
127
+ const C = y.x - M, L = y.y - w, B = Math.hypot(C, L), A = f > 0 && B < 150 ? 1 - B / 150 : 0, E = A * A * f, F = Math.sin(u * 1.1 + y.phase) * 0.5 + 0.5, W = E * 6, Z = B > 1e-3 ? 1 / B : 0, R = y.x - C * Z * W, D = y.y - L * Z * W, O = 1 + E * (2.4 - 1) + F * 0.1, G = Math.min(1, 0.3 + F * 0.06 + E * (1 - 0.3)), q = x + (_ - x) * E | 0, ie = N + (p - N) * E | 0, fe = k + (b - k) * E | 0;
128
+ t.dark && E > 0.14 ? (g.shadowColor = `rgba(${_},${p},${b},${0.5 * E})`, g.shadowBlur = 10 * E) : g.shadowBlur = 0, g.beginPath(), g.arc(R, D, 1.2 * O, 0, nt), g.fillStyle = `rgba(${q},${ie},${fe},${G})`, g.fill();
129
129
  }
130
130
  g.shadowBlur = 0;
131
131
  }
132
132
  return {
133
133
  build: d,
134
134
  frame(u) {
135
- r = $t(r, t.pointer.active ? 1 : 0, 0.06), p(u, r), r > 0.02 ? t.cardGlow(t.pointer.x, t.pointer.y) : t.clearGlow();
135
+ r = $t(r, t.pointer.active ? 1 : 0, 0.06), h(u, r), r > 0.02 ? t.cardGlow(t.pointer.x, t.pointer.y) : t.clearGlow();
136
136
  },
137
137
  paintStatic() {
138
- p(0, 0), t.clearGlow();
138
+ h(0, 0), t.clearGlow();
139
139
  }
140
140
  };
141
141
  }, Wl = (t) => {
@@ -148,14 +148,14 @@ const Tl = (t) => {
148
148
  a.push({ x: Math.random() * c, y: Math.random() * s, vx: (Math.random() - 0.5) * 0.22, vy: (Math.random() - 0.5) * 0.22 });
149
149
  }
150
150
  function i(r) {
151
- const { ctx: d, pointer: p } = t, [u, f, g] = t.ink, [v, x, N] = t.accent;
151
+ const { ctx: d, pointer: h } = t, [u, f, g] = t.ink, [v, x, N] = t.accent;
152
152
  d.clearRect(0, 0, c, s);
153
- for (const h of a)
154
- h.x += h.vx, h.y += h.vy, h.x < -12 ? h.x = c + 12 : h.x > c + 12 && (h.x = -12), h.y < -12 ? h.y = s + 12 : h.y > s + 12 && (h.y = -12);
153
+ for (const p of a)
154
+ p.x += p.vx, p.y += p.vy, p.x < -12 ? p.x = c + 12 : p.x > c + 12 && (p.x = -12), p.y < -12 ? p.y = s + 12 : p.y > s + 12 && (p.y = -12);
155
155
  d.lineWidth = 1;
156
- for (let h = 0; h < a.length; h++) {
157
- const b = a[h];
158
- for (let S = h + 1; S < a.length; S++) {
156
+ for (let p = 0; p < a.length; p++) {
157
+ const b = a[p];
158
+ for (let S = p + 1; S < a.length; S++) {
159
159
  const $ = a[S], M = b.x - $.x, w = b.y - $.y, y = M * M + w * w;
160
160
  if (y < 132 * 132) {
161
161
  const C = 1 - Math.sqrt(y) / 132;
@@ -163,15 +163,15 @@ const Tl = (t) => {
163
163
  }
164
164
  }
165
165
  }
166
- const k = p.x, _ = p.y;
167
- for (const h of a) {
166
+ const k = h.x, _ = h.y;
167
+ for (const p of a) {
168
168
  let b = 0;
169
169
  if (r) {
170
- const w = Math.hypot(h.x - k, h.y - _);
171
- w < 175 && (b = 1 - w / 175, d.strokeStyle = `rgba(${v},${x},${N},${(b * b * 0.5).toFixed(3)})`, d.beginPath(), d.moveTo(k, _), d.lineTo(h.x, h.y), d.stroke());
170
+ const w = Math.hypot(p.x - k, p.y - _);
171
+ w < 175 && (b = 1 - w / 175, d.strokeStyle = `rgba(${v},${x},${N},${(b * b * 0.5).toFixed(3)})`, d.beginPath(), d.moveTo(k, _), d.lineTo(p.x, p.y), d.stroke());
172
172
  }
173
173
  const S = u + (v - u) * b | 0, $ = f + (x - f) * b | 0, M = g + (N - g) * b | 0;
174
- t.dark && b > 0.2 ? (d.shadowColor = `rgba(${v},${x},${N},${0.6 * b})`, d.shadowBlur = 10 * b) : d.shadowBlur = 0, d.beginPath(), d.arc(h.x, h.y, 1.4 + b * 2.2, 0, tt), d.fillStyle = `rgba(${S},${$},${M},${0.5 + b * 0.5})`, d.fill();
174
+ t.dark && b > 0.2 ? (d.shadowColor = `rgba(${v},${x},${N},${0.6 * b})`, d.shadowBlur = 10 * b) : d.shadowBlur = 0, d.beginPath(), d.arc(p.x, p.y, 1.4 + b * 2.2, 0, nt), d.fillStyle = `rgba(${S},${$},${M},${0.5 + b * 0.5})`, d.fill();
175
175
  }
176
176
  d.shadowBlur = 0;
177
177
  }
@@ -190,8 +190,8 @@ const Tl = (t) => {
190
190
  function d() {
191
191
  c = t.w(), s = t.h(), a = Math.ceil(c / 44) + 1, o = Math.ceil(s / 44) + 1, i = (c - (a - 1) * 44) / 2, r = (s - (o - 1) * 44) / 2;
192
192
  }
193
- function p(u, f) {
194
- const { ctx: g, pointer: v } = t, [x, N, k] = t.ink, [_, h, b] = t.accent;
193
+ function h(u, f) {
194
+ const { ctx: g, pointer: v } = t, [x, N, k] = t.ink, [_, p, b] = t.accent;
195
195
  g.clearRect(0, 0, c, s), g.lineWidth = 1, g.strokeStyle = `rgba(${x},${N},${k},0.1)`, g.beginPath();
196
196
  for (let y = 0; y < a; y++) {
197
197
  const C = i + y * 44;
@@ -203,7 +203,7 @@ const Tl = (t) => {
203
203
  }
204
204
  g.stroke();
205
205
  const S = (u * 0.12 % 1 + 1) % 1 * s, $ = g.createLinearGradient(0, S - 90, 0, S + 90);
206
- $.addColorStop(0, `rgba(${_},${h},${b},0)`), $.addColorStop(0.5, `rgba(${_},${h},${b},${t.dark ? 0.08 : 0.05})`), $.addColorStop(1, `rgba(${_},${h},${b},0)`), g.fillStyle = $, g.fillRect(0, S - 90, c, 90 * 2), g.strokeStyle = `rgba(${_},${h},${b},0.18)`, g.beginPath(), g.moveTo(0, S), g.lineTo(c, S), g.stroke();
206
+ $.addColorStop(0, `rgba(${_},${p},${b},0)`), $.addColorStop(0.5, `rgba(${_},${p},${b},${t.dark ? 0.08 : 0.05})`), $.addColorStop(1, `rgba(${_},${p},${b},0)`), g.fillStyle = $, g.fillRect(0, S - 90, c, 90 * 2), g.strokeStyle = `rgba(${_},${p},${b},0.18)`, g.beginPath(), g.moveTo(0, S), g.lineTo(c, S), g.stroke();
207
207
  const M = v.x, w = v.y;
208
208
  for (let y = 0; y < o; y++) {
209
209
  const C = r + y * 44, L = 1 - Math.min(1, Math.abs(C - S) / 90), B = L * L * 0.8;
@@ -215,24 +215,24 @@ const Tl = (t) => {
215
215
  D < 120 && (F = Math.max(F, (1 - D / 120) ** 2));
216
216
  }
217
217
  if (F < 0.02) continue;
218
- const W = x + (_ - x) * F | 0, Z = N + (h - N) * F | 0, R = k + (b - k) * F | 0;
219
- g.beginPath(), g.arc(E, C, 1 + F * 2.2, 0, tt), g.fillStyle = `rgba(${W},${Z},${R},${0.3 + F * 0.6})`, g.fill();
218
+ const W = x + (_ - x) * F | 0, Z = N + (p - N) * F | 0, R = k + (b - k) * F | 0;
219
+ g.beginPath(), g.arc(E, C, 1 + F * 2.2, 0, nt), g.fillStyle = `rgba(${W},${Z},${R},${0.3 + F * 0.6})`, g.fill();
220
220
  }
221
221
  }
222
222
  }
223
223
  return {
224
224
  build: d,
225
225
  frame(u) {
226
- p(u, t.pointer.active), t.clearGlow();
226
+ h(u, t.pointer.active), t.clearGlow();
227
227
  },
228
228
  paintStatic() {
229
- p(0, !1), t.clearGlow();
229
+ h(0, !1), t.clearGlow();
230
230
  }
231
231
  };
232
232
  }, Hl = (t) => {
233
233
  let l = 0, c = 0, s = [];
234
- function a(d, p, u) {
235
- return (Math.sin(d * 65e-4 + u * 0.18) + Math.cos(p * 72e-4 - u * 0.14) + Math.sin((d + p) * 4e-3 + u * 0.1)) * 1.1;
234
+ function a(d, h, u) {
235
+ return (Math.sin(d * 65e-4 + u * 0.18) + Math.cos(h * 72e-4 - u * 0.14) + Math.sin((d + h) * 4e-3 + u * 0.1)) * 1.1;
236
236
  }
237
237
  function o(d) {
238
238
  d.x = Math.random() * l, d.y = Math.random() * c, d.hist.length = 0, d.life = 0, d.max = 80 + Math.random() * 130;
@@ -241,19 +241,19 @@ const Tl = (t) => {
241
241
  l = t.w(), c = t.h();
242
242
  const d = qe(Math.round(l * c / 9e3), 60, 180);
243
243
  s = [];
244
- for (let p = 0; p < d; p++) {
244
+ for (let h = 0; h < d; h++) {
245
245
  const u = { x: 0, y: 0, hist: [], life: 0, max: 0 };
246
246
  o(u), s.push(u);
247
247
  }
248
248
  }
249
- function r(d, p) {
249
+ function r(d, h) {
250
250
  const { ctx: u, pointer: f } = t, [g, v, x] = t.ink, [N, k, _] = t.accent;
251
251
  u.clearRect(0, 0, l, c), u.lineCap = "round";
252
- const h = f.x, b = f.y;
252
+ const p = f.x, b = f.y;
253
253
  for (const S of s) {
254
254
  let $ = a(S.x, S.y, d), M = 0;
255
- if (p) {
256
- const B = S.x - h, A = S.y - b, E = Math.hypot(B, A);
255
+ if (h) {
256
+ const B = S.x - p, A = S.y - b, E = Math.hypot(B, A);
257
257
  E < 160 && (M = 1 - E / 160, $ = $t($, Math.atan2(A, B) + Math.PI / 2, M * 0.7));
258
258
  }
259
259
  const w = 0.9 + M * 0.6;
@@ -276,8 +276,8 @@ const Tl = (t) => {
276
276
  r(d, t.pointer.active), t.clearGlow();
277
277
  },
278
278
  paintStatic() {
279
- const { ctx: d } = t, [p, u, f] = t.ink;
280
- d.clearRect(0, 0, l, c), d.strokeStyle = `rgba(${p},${u},${f},0.16)`, d.lineWidth = 1, d.lineCap = "round";
279
+ const { ctx: d } = t, [h, u, f] = t.ink;
280
+ d.clearRect(0, 0, l, c), d.strokeStyle = `rgba(${h},${u},${f},0.16)`, d.lineWidth = 1, d.lineCap = "round";
281
281
  for (let g = 0; g < c; g += 34)
282
282
  for (let v = 0; v < l; v += 34) {
283
283
  const x = a(v, g, 0);
@@ -290,30 +290,30 @@ const Tl = (t) => {
290
290
  let l = 0, c = 0, s = [];
291
291
  function a() {
292
292
  l = t.w(), c = t.h(), s = [];
293
- const d = Math.max(2, Math.floor(l / 26)), p = Math.max(2, Math.floor(c / 26)), u = (l - d * 26) / 2, f = (c - p * 26) / 2, g = qe(Math.round(l * c / 26e3), 10, 34), v = [1, 0, -1, 0], x = [0, 1, 0, -1];
293
+ const d = Math.max(2, Math.floor(l / 26)), h = Math.max(2, Math.floor(c / 26)), u = (l - d * 26) / 2, f = (c - h * 26) / 2, g = qe(Math.round(l * c / 26e3), 10, 34), v = [1, 0, -1, 0], x = [0, 1, 0, -1];
294
294
  for (let N = 0; N < g; N++) {
295
- let k = Math.floor(Math.random() * d), _ = Math.floor(Math.random() * p);
296
- const h = [u + k * 26, f + _ * 26], b = 3 + Math.floor(Math.random() * 5);
295
+ let k = Math.floor(Math.random() * d), _ = Math.floor(Math.random() * h);
296
+ const p = [u + k * 26, f + _ * 26], b = 3 + Math.floor(Math.random() * 5);
297
297
  let S = Math.floor(Math.random() * 4);
298
298
  for (let C = 0; C < b; C++) {
299
299
  Math.random() < 0.6 && (S = (S + (Math.random() < 0.5 ? 1 : 3)) % 4);
300
300
  const L = 1 + Math.floor(Math.random() * 4);
301
- k = qe(k + v[S] * L, 0, d), _ = qe(_ + x[S] * L, 0, p), h.push(u + k * 26, f + _ * 26);
301
+ k = qe(k + v[S] * L, 0, d), _ = qe(_ + x[S] * L, 0, h), p.push(u + k * 26, f + _ * 26);
302
302
  }
303
303
  const $ = [];
304
304
  let M = 0;
305
- for (let C = 2; C < h.length; C += 2) {
306
- const L = Math.hypot(h[C] - h[C - 2], h[C + 1] - h[C - 1]);
305
+ for (let C = 2; C < p.length; C += 2) {
306
+ const L = Math.hypot(p[C] - p[C - 2], p[C + 1] - p[C - 1]);
307
307
  $.push(L), M += L;
308
308
  }
309
309
  if (M < 26) continue;
310
310
  const w = [], y = 1 + (Math.random() < 0.4 ? 1 : 0);
311
311
  for (let C = 0; C < y; C++) w.push({ p: Math.random(), sp: 0.1 + Math.random() * 0.16 });
312
- s.push({ pts: h, len: M, seg: $, pulses: w });
312
+ s.push({ pts: p, len: M, seg: $, pulses: w });
313
313
  }
314
314
  }
315
- function o(d, p) {
316
- let u = p * d.len;
315
+ function o(d, h) {
316
+ let u = h * d.len;
317
317
  for (let f = 0; f < d.seg.length; f++) {
318
318
  const g = d.seg[f];
319
319
  if (u <= g || f === d.seg.length - 1) {
@@ -324,18 +324,18 @@ const Tl = (t) => {
324
324
  }
325
325
  return [d.pts[0], d.pts[1]];
326
326
  }
327
- function i(d, p, u, f, g, v) {
327
+ function i(d, h, u, f, g, v) {
328
328
  const { ctx: x } = t;
329
- x.lineWidth = 1.2, x.strokeStyle = `rgba(${u},${f},${g},${0.45 + v * 0.4})`, x.beginPath(), x.arc(d, p, 2.4, 0, tt), x.stroke(), x.beginPath(), x.arc(d, p, 0.9, 0, tt), x.fillStyle = `rgba(${u},${f},${g},${0.6 + v * 0.4})`, x.fill();
329
+ x.lineWidth = 1.2, x.strokeStyle = `rgba(${u},${f},${g},${0.45 + v * 0.4})`, x.beginPath(), x.arc(d, h, 2.4, 0, nt), x.stroke(), x.beginPath(), x.arc(d, h, 0.9, 0, nt), x.fillStyle = `rgba(${u},${f},${g},${0.6 + v * 0.4})`, x.fill();
330
330
  }
331
- function r(d, p) {
331
+ function r(d, h) {
332
332
  const { ctx: u, pointer: f } = t, [g, v, x] = t.ink, [N, k, _] = t.accent;
333
333
  u.clearRect(0, 0, l, c), u.lineJoin = "round", u.lineCap = "round";
334
- const h = f.x, b = f.y;
334
+ const p = f.x, b = f.y;
335
335
  for (const S of s) {
336
336
  let $ = 0;
337
- if (p) {
338
- const M = Math.hypot(S.pts[0] - h, S.pts[1] - b);
337
+ if (h) {
338
+ const M = Math.hypot(S.pts[0] - p, S.pts[1] - b);
339
339
  M < 200 && ($ = (1 - M / 200) * 0.6);
340
340
  }
341
341
  u.strokeStyle = `rgba(${g},${v},${x},${0.12 + $ * 0.18})`, u.lineWidth = 1.2, u.beginPath(), u.moveTo(S.pts[0], S.pts[1]);
@@ -344,14 +344,14 @@ const Tl = (t) => {
344
344
  for (const M of S.pulses) {
345
345
  M.p += M.sp * d, M.p > 1 && (M.p -= 1);
346
346
  const [w, y] = o(S, M.p);
347
- t.dark && (u.shadowColor = `rgba(${N},${k},${_},0.85)`, u.shadowBlur = 10), u.beginPath(), u.arc(w, y, 2.1, 0, tt), u.fillStyle = `rgba(${N},${k},${_},0.95)`, u.fill(), u.shadowBlur = 0;
347
+ t.dark && (u.shadowColor = `rgba(${N},${k},${_},0.85)`, u.shadowBlur = 10), u.beginPath(), u.arc(w, y, 2.1, 0, nt), u.fillStyle = `rgba(${N},${k},${_},0.95)`, u.fill(), u.shadowBlur = 0;
348
348
  }
349
349
  }
350
350
  }
351
351
  return {
352
352
  build: a,
353
- frame(d, p) {
354
- r(p, t.pointer.active), t.clearGlow();
353
+ frame(d, h) {
354
+ r(h, t.pointer.active), t.clearGlow();
355
355
  },
356
356
  paintStatic() {
357
357
  r(0, !1), t.clearGlow();
@@ -377,11 +377,11 @@ function ma({
377
377
  if (!a) return;
378
378
  const o = a.getContext("2d");
379
379
  if (!o) return;
380
- const i = ((O = window.matchMedia) == null ? void 0 : O.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, r = n === "dark", d = getComputedStyle(a), p = Rl(d, "--select-dot", r ? [235, 238, 255] : [64, 68, 92]), u = Dl(d.getPropertyValue("--select-primary"), r ? [255, 255, 255] : [33, 37, 41]);
380
+ const i = ((O = window.matchMedia) == null ? void 0 : O.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1, r = n === "dark", d = getComputedStyle(a), h = Rl(d, "--select-dot", r ? [235, 238, 255] : [64, 68, 92]), u = Dl(d.getPropertyValue("--select-primary"), r ? [255, 255, 255] : [33, 37, 41]);
381
381
  let f = 0, g = 0, v = 0, x = 0, N = null, k = 0;
382
- const _ = 1.2, h = { x: 0, y: 0 }, b = { x: 0, y: 0, active: !1 };
382
+ const _ = 1.2, p = { x: 0, y: 0 }, b = { x: 0, y: 0, active: !1 };
383
383
  let S = 0, $ = 0, M = -10;
384
- const w = Me.quickTo(h, "x", { duration: 0.5, ease: "power3.out" }), y = Me.quickTo(h, "y", { duration: 0.5, ease: "power3.out" });
384
+ const w = Me.quickTo(p, "x", { duration: 0.5, ease: "power3.out" }), y = Me.quickTo(p, "y", { duration: 0.5, ease: "power3.out" });
385
385
  function C(G, q) {
386
386
  if (!N) return;
387
387
  const ie = N.getBoundingClientRect(), fe = ie.left - v + ie.width / 2, Se = ie.top - x + ie.height / 2, le = ie.width / 2, H = ie.height / 2, Q = 18, X = (G - fe) / (le + Q), pe = (q - Se) / (H + Q), de = Math.sqrt(X * X + pe * pe), me = de < 1 ? 1 - de : 0, ue = me * me * (3 - 2 * me);
@@ -394,19 +394,19 @@ function ma({
394
394
  function L() {
395
395
  k > 1e-3 && (N == null || N.style.setProperty("--select-card-glow", "0")), k = 0;
396
396
  }
397
- const B = { ctx: o, w: () => f, h: () => g, ink: p, accent: u, dark: r, pointer: b, cardGlow: C, clearGlow: L }, A = Vl[c](B);
397
+ const B = { ctx: o, w: () => f, h: () => g, ink: h, accent: u, dark: r, pointer: b, cardGlow: C, clearGlow: L }, A = Vl[c](B);
398
398
  function E() {
399
399
  const G = a.getBoundingClientRect();
400
400
  v = G.left, x = G.top, f = G.width, g = G.height;
401
401
  const q = Math.min(window.devicePixelRatio || 1, 2);
402
402
  a.width = Math.round(f * q), a.height = Math.round(g * q), o.setTransform(q, 0, 0, q, 0, 0);
403
403
  const ie = a.closest(".select-auth") ?? document;
404
- N = l ? ie.querySelector(l) : null, h.x === 0 && h.y === 0 && (h.x = S = f / 2, h.y = $ = g / 2), A.build();
404
+ N = l ? ie.querySelector(l) : null, p.x === 0 && p.y === 0 && (p.x = S = f / 2, p.y = $ = g / 2), A.build();
405
405
  }
406
406
  let F = -1;
407
407
  function W(G) {
408
408
  const q = F < 0 ? 0 : Math.min(G - F, 0.05);
409
- F = G, b.active = G - M < _, w(b.active ? S : f / 2), y(b.active ? $ : g / 2), b.x = h.x, b.y = h.y, A.frame(G, q);
409
+ F = G, b.active = G - M < _, w(b.active ? S : f / 2), y(b.active ? $ : g / 2), b.x = p.x, b.y = p.y, A.frame(G, q);
410
410
  }
411
411
  function Z(G) {
412
412
  S = G.clientX - v, $ = G.clientY - x, M = Me.ticker.time;
@@ -420,7 +420,7 @@ function ma({
420
420
  E(), i && A.paintStatic();
421
421
  });
422
422
  return D.observe(a), i ? (A.paintStatic(), () => D.disconnect()) : (window.addEventListener("pointermove", Z, { passive: !0 }), window.addEventListener("scroll", R, { passive: !0 }), Me.ticker.add(W), () => {
423
- Me.ticker.remove(W), Me.killTweensOf(h), window.removeEventListener("pointermove", Z), window.removeEventListener("scroll", R), D.disconnect(), N == null || N.style.removeProperty("--select-card-glow");
423
+ Me.ticker.remove(W), Me.killTweensOf(p), window.removeEventListener("pointermove", Z), window.removeEventListener("scroll", R), D.disconnect(), N == null || N.style.removeProperty("--select-card-glow");
424
424
  });
425
425
  }, [n, l, c]), /* @__PURE__ */ e("canvas", { ref: s, className: t, "aria-hidden": "true" });
426
426
  }
@@ -447,13 +447,13 @@ const fa = P(function({ title: n, subtitle: l, logo: c, mark: s, children: a, fo
447
447
  inline: i = !1,
448
448
  disabled: r,
449
449
  onPointerDown: d,
450
- children: p,
450
+ children: h,
451
451
  ...u
452
452
  }, f) {
453
453
  const [g, v] = T([]), x = Y(0), N = (_) => {
454
454
  var $;
455
455
  if (d == null || d(_), r || s || typeof window < "u" && (($ = window.matchMedia) != null && $.call(window, "(prefers-reduced-motion: reduce)").matches)) return;
456
- const h = _.currentTarget.getBoundingClientRect(), b = Math.max(h.width, h.height) * 2, S = x.current++;
456
+ const p = _.currentTarget.getBoundingClientRect(), b = Math.max(p.width, p.height) * 2, S = x.current++;
457
457
  v((M) => [
458
458
  ...M,
459
459
  {
@@ -461,12 +461,12 @@ const fa = P(function({ title: n, subtitle: l, logo: c, mark: s, children: a, fo
461
461
  style: {
462
462
  width: b,
463
463
  height: b,
464
- left: _.clientX - h.left - b / 2,
465
- top: _.clientY - h.top - b / 2
464
+ left: _.clientX - p.left - b / 2,
465
+ top: _.clientY - p.top - b / 2
466
466
  }
467
467
  }
468
468
  ]);
469
- }, k = (_) => v((h) => h.filter((b) => b.key !== _));
469
+ }, k = (_) => v((p) => p.filter((b) => b.key !== _));
470
470
  return /* @__PURE__ */ m("button", { ref: f, type: l, className: `select-btn select-btn--${n}${c !== "md" ? ` select-btn--${c}` : ""}${i ? " select-btn--auto" : ""}`, disabled: r || s, onPointerDown: N, ...u, children: [
471
471
  g.map((_) => /* @__PURE__ */ e(
472
472
  "span",
@@ -479,7 +479,7 @@ const fa = P(function({ title: n, subtitle: l, logo: c, mark: s, children: a, fo
479
479
  _.key
480
480
  )),
481
481
  s ? /* @__PURE__ */ e("span", { className: "select-spinner", "aria-hidden": "true" }) : a && /* @__PURE__ */ e("span", { className: "select-btn__icon", children: a }),
482
- /* @__PURE__ */ e("span", { children: p }),
482
+ /* @__PURE__ */ e("span", { children: h }),
483
483
  !s && o && /* @__PURE__ */ e("span", { className: "select-btn__icon select-btn__icon--trailing", children: o })
484
484
  ] });
485
485
  });
@@ -667,7 +667,7 @@ function Kl() {
667
667
  function Jl() {
668
668
  return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M22 12c0 5.52-4.48 10-10 10s-8.89-5.56-8.89-5.56m0 0h4.52m-4.52 0v5M2 12C2 6.48 6.44 2 12 2c6.67 0 10 5.56 10 5.56m0 0v-5m0 5h-4.44" }) });
669
669
  }
670
- function nt() {
670
+ function Je() {
671
671
  return /* @__PURE__ */ e("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", "aria-hidden": "true", children: /* @__PURE__ */ e("path", { d: "M6 12h12M12 18V6" }) });
672
672
  }
673
673
  function Sa() {
@@ -866,8 +866,8 @@ const lt = P(function({ htmlFor: n, label: l, info: c, action: s, className: a,
866
866
  ] }),
867
867
  s
868
868
  ] });
869
- }), Ze = P(function({ label: n, value: l, onChange: c, type: s = "text", labelAction: a, info: o, description: i, hint: r, error: d, prefix: p, suffix: u, mono: f, autoComplete: g, placeholder: v, required: x, disabled: N, readOnly: k, name: _, id: h, minLength: b, maxLength: S, min: $, max: M, step: w, inputMode: y, autoFocus: C, onBlur: L, onKeyDown: B, size: A = "md", className: E, ...F }, W) {
870
- const Z = ne(), R = h ?? Z, [D, O] = T(!1), G = s === "password", q = G && D ? "text" : s, ie = d ? `${R}-err` : r ? `${R}-hint` : void 0, fe = p != null || u != null, Se = s === "number" && !fe && !k, le = l === "" ? null : Number(l), H = (de) => {
869
+ }), Ze = P(function({ label: n, value: l, onChange: c, type: s = "text", labelAction: a, info: o, description: i, hint: r, error: d, prefix: h, suffix: u, mono: f, autoComplete: g, placeholder: v, required: x, disabled: N, readOnly: k, name: _, id: p, minLength: b, maxLength: S, min: $, max: M, step: w, inputMode: y, autoFocus: C, onBlur: L, onKeyDown: B, size: A = "md", className: E, ...F }, W) {
870
+ const Z = ne(), R = p ?? Z, [D, O] = T(!1), G = s === "password", q = G && D ? "text" : s, ie = d ? `${R}-err` : r ? `${R}-hint` : void 0, fe = h != null || u != null, Se = s === "number" && !fe && !k, le = l === "" ? null : Number(l), H = (de) => {
871
871
  const me = Number(w ?? 1) || 1;
872
872
  let re = (le != null && Number.isFinite(le) ? le : 0) + de * me;
873
873
  $ != null && (re = Math.max(Number($), re)), M != null && (re = Math.min(Number(M), re)), c(String(re));
@@ -902,7 +902,7 @@ const lt = P(function({ htmlFor: n, label: l, info: c, action: s, className: a,
902
902
  (n || o || a) && /* @__PURE__ */ e(lt, { htmlFor: R, label: n, info: o, action: a }),
903
903
  i && /* @__PURE__ */ e("p", { className: "select-field__desc", children: i }),
904
904
  /* @__PURE__ */ m("div", { className: `select-input-wrap${fe ? " select-input-wrap--affixed" : ""}${d ? " select-input-wrap--error" : ""}`, children: [
905
- p != null && /* @__PURE__ */ e("span", { className: "select-input__affix select-input__affix--prefix", children: p }),
905
+ h != null && /* @__PURE__ */ e("span", { className: "select-input__affix select-input__affix--prefix", children: h }),
906
906
  pe,
907
907
  u != null && /* @__PURE__ */ e("span", { className: "select-input__affix select-input__affix--suffix", children: u }),
908
908
  G && /* @__PURE__ */ e(
@@ -954,7 +954,7 @@ const lt = P(function({ htmlFor: n, label: l, info: c, action: s, className: a,
954
954
  checked: l,
955
955
  disabled: s,
956
956
  name: o,
957
- onChange: (p) => c(p.target.checked)
957
+ onChange: (h) => c(h.target.checked)
958
958
  }
959
959
  ),
960
960
  /* @__PURE__ */ e("span", { className: "select-checkbox__box", "aria-hidden": "true", children: /* @__PURE__ */ e(Ae, {}) }),
@@ -962,9 +962,9 @@ const lt = P(function({ htmlFor: n, label: l, info: c, action: s, className: a,
962
962
  ] }),
963
963
  a && /* @__PURE__ */ e("span", { className: "select-checkbox__hint", children: a })
964
964
  ] });
965
- }), er = P(function({ label: n, value: l, onChange: c, labelAction: s, info: a, description: o, hint: i, error: r, placeholder: d, rows: p = 4, mono: u, name: f, required: g, disabled: v, maxLength: x, onBlur: N, size: k = "md", className: _, ...h }, b) {
965
+ }), er = P(function({ label: n, value: l, onChange: c, labelAction: s, info: a, description: o, hint: i, error: r, placeholder: d, rows: h = 4, mono: u, name: f, required: g, disabled: v, maxLength: x, onBlur: N, size: k = "md", className: _, ...p }, b) {
966
966
  const S = ne(), $ = r ? `${S}-err` : i ? `${S}-hint` : void 0;
967
- return /* @__PURE__ */ m("div", { ref: b, ...h, className: `select-field${k === "sm" ? " select-field--sm" : ""}${_ ? " " + _ : ""}`, children: [
967
+ return /* @__PURE__ */ m("div", { ref: b, ...p, className: `select-field${k === "sm" ? " select-field--sm" : ""}${_ ? " " + _ : ""}`, children: [
968
968
  (n || a || s) && /* @__PURE__ */ e(lt, { htmlFor: S, label: n, info: a, action: s }),
969
969
  o && /* @__PURE__ */ e("p", { className: "select-field__desc", children: o }),
970
970
  /* @__PURE__ */ e(
@@ -976,7 +976,7 @@ const lt = P(function({ htmlFor: n, label: l, info: c, action: s, className: a,
976
976
  onChange: (M) => c(M.target.value),
977
977
  onBlur: N,
978
978
  placeholder: d,
979
- rows: p,
979
+ rows: h,
980
980
  name: f,
981
981
  required: g,
982
982
  disabled: v,
@@ -987,7 +987,7 @@ const lt = P(function({ htmlFor: n, label: l, info: c, action: s, className: a,
987
987
  ),
988
988
  r ? /* @__PURE__ */ e("p", { id: `${S}-err`, className: "select-field__error", children: r }) : i ? /* @__PURE__ */ e("p", { id: `${S}-hint`, className: "select-field__hint", children: i }) : null
989
989
  ] });
990
- }), tr = P(function({ label: n, value: l, onChange: c, unit: s, info: a, hint: o, error: i, placeholder: r = "0", disabled: d = !1, min: p, max: u, className: f, ...g }, v) {
990
+ }), tr = P(function({ label: n, value: l, onChange: c, unit: s, info: a, hint: o, error: i, placeholder: r = "0", disabled: d = !1, min: h, max: u, className: f, ...g }, v) {
991
991
  const x = ne();
992
992
  return /* @__PURE__ */ m("div", { ref: v, ...g, className: `select-field${f ? " " + f : ""}`, children: [
993
993
  n && /* @__PURE__ */ e(lt, { htmlFor: x, label: n, info: a }),
@@ -1003,7 +1003,7 @@ const lt = P(function({ htmlFor: n, label: l, info: c, action: s, className: a,
1003
1003
  onChange: (N) => c(N.target.value),
1004
1004
  placeholder: r,
1005
1005
  disabled: d,
1006
- min: p,
1006
+ min: h,
1007
1007
  max: u
1008
1008
  }
1009
1009
  ),
@@ -1024,7 +1024,7 @@ function dn(t, n) {
1024
1024
  }
1025
1025
  return 0;
1026
1026
  }
1027
- const nr = P(function({ label: n, value: l, onChange: c, info: s, hint: a, error: o, onBlur: i, placeholder: r = "0,00", name: d, disabled: p = !1, size: u = "md", className: f, ...g }, v) {
1027
+ const nr = P(function({ label: n, value: l, onChange: c, info: s, hint: a, error: o, onBlur: i, placeholder: r = "0,00", name: d, disabled: h = !1, size: u = "md", className: f, ...g }, v) {
1028
1028
  const x = ne(), N = Y(null), k = Y(null), _ = l == null ? "" : on.format(l / 100);
1029
1029
  Ee(() => {
1030
1030
  const b = N.current;
@@ -1035,7 +1035,7 @@ const nr = P(function({ label: n, value: l, onChange: c, info: s, hint: a, error
1035
1035
  const $ = dn(b.value, S);
1036
1036
  b.setSelectionRange($, $);
1037
1037
  });
1038
- const h = (b) => {
1038
+ const p = (b) => {
1039
1039
  const S = b.currentTarget, $ = S.value, M = S.selectionStart ?? $.length;
1040
1040
  let w = Tt($.slice(0, M)), y = Tt($.slice(M));
1041
1041
  if (w + y === Tt(_)) {
@@ -1050,7 +1050,7 @@ const nr = P(function({ label: n, value: l, onChange: c, info: s, hint: a, error
1050
1050
  /* @__PURE__ */ m(
1051
1051
  "div",
1052
1052
  {
1053
- className: `select-unit select-unit--money${o ? " select-unit--error" : ""}${p ? " select-unit--disabled" : ""}`,
1053
+ className: `select-unit select-unit--money${o ? " select-unit--error" : ""}${h ? " select-unit--disabled" : ""}`,
1054
1054
  children: [
1055
1055
  /* @__PURE__ */ e("span", { className: "select-unit__prefix", children: "R$" }),
1056
1056
  /* @__PURE__ */ e(
@@ -1063,10 +1063,10 @@ const nr = P(function({ label: n, value: l, onChange: c, info: s, hint: a, error
1063
1063
  inputMode: "numeric",
1064
1064
  autoComplete: "off",
1065
1065
  name: d,
1066
- disabled: p,
1066
+ disabled: h,
1067
1067
  value: _,
1068
1068
  placeholder: r,
1069
- onChange: h,
1069
+ onChange: p,
1070
1070
  onBlur: i,
1071
1071
  "aria-invalid": o ? !0 : void 0
1072
1072
  }
@@ -1131,8 +1131,8 @@ const ut = P(function({ children: n, tone: l = "critical", title: c, action: s,
1131
1131
  src: n,
1132
1132
  alt: c,
1133
1133
  className: "select-filetile__img",
1134
- onError: (p) => {
1135
- p.currentTarget.style.visibility = "hidden";
1134
+ onError: (h) => {
1135
+ h.currentTarget.style.visibility = "hidden";
1136
1136
  }
1137
1137
  }
1138
1138
  ) : /* @__PURE__ */ m("span", { className: "select-filetile__doc", children: [
@@ -1179,7 +1179,7 @@ function ll(t) {
1179
1179
  return t;
1180
1180
  }
1181
1181
  }
1182
- const cr = P(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, allowMultiple: a = !0, maxFiles: o, hint: i, className: r, ...d }, p) {
1182
+ const cr = P(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, allowMultiple: a = !0, maxFiles: o, hint: i, className: r, ...d }, h) {
1183
1183
  const u = Y(null), [f, g] = T(!1), [v, x] = T(0), N = s * 1024 * 1024, k = ye(() => n.map((C) => el(C) ? URL.createObjectURL(C) : null), [n]);
1184
1184
  te(
1185
1185
  () => () => {
@@ -1210,7 +1210,7 @@ const cr = P(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1210
1210
  var C;
1211
1211
  return (C = u.current) == null ? void 0 : C.click();
1212
1212
  }, $ = (C) => l(n.filter((L, B) => B !== C)), M = o != null && n.length >= o, w = (a || n.length === 0) && !M, y = n.length > 0;
1213
- return /* @__PURE__ */ m("div", { ref: p, ...d, className: `select-dropzone-wrap${r ? " " + r : ""}`, children: [
1213
+ return /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-dropzone-wrap${r ? " " + r : ""}`, children: [
1214
1214
  y && /* @__PURE__ */ m("div", { className: "select-filetile-grid", children: [
1215
1215
  n.map((C, L) => /* @__PURE__ */ e(
1216
1216
  kt,
@@ -1272,12 +1272,12 @@ const cr = P(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1272
1272
  ] });
1273
1273
  }), sc = P(function({ children: n, onClick: l, icon: c, className: s, ...a }, o) {
1274
1274
  return /* @__PURE__ */ m("button", { ref: o, ...a, type: "button", className: `select-addbtn${s ? " " + s : ""}`, onClick: l, children: [
1275
- /* @__PURE__ */ e("span", { className: "select-addbtn__icon", "aria-hidden": "true", children: c ?? /* @__PURE__ */ e(nt, {}) }),
1275
+ /* @__PURE__ */ e("span", { className: "select-addbtn__icon", "aria-hidden": "true", children: c ?? /* @__PURE__ */ e(Je, {}) }),
1276
1276
  n
1277
1277
  ] });
1278
1278
  }), sr = P(function({ label: n, urls: l, onChange: c, maxUrls: s, placeholder: a, helpText: o, className: i, ...r }, d) {
1279
- const [p, u] = T(""), [f, g] = T(null), v = s != null && l.length >= s, x = () => {
1280
- const _ = p.trim();
1279
+ const [h, u] = T(""), [f, g] = T(null), v = s != null && l.length >= s, x = () => {
1280
+ const _ = h.trim();
1281
1281
  if (_) {
1282
1282
  if (!nl.test(_)) {
1283
1283
  g("Insira uma URL válida (https://…).");
@@ -1291,16 +1291,16 @@ const cr = P(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1291
1291
  }
1292
1292
  }, N = (_) => {
1293
1293
  _.key === "Enter" && (_.preventDefault(), x());
1294
- }, k = (_) => c(l.filter((h, b) => b !== _));
1294
+ }, k = (_) => c(l.filter((p, b) => b !== _));
1295
1295
  return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-field${i ? " " + i : ""}`, children: [
1296
1296
  n && /* @__PURE__ */ e("span", { className: "select-field__label", children: n }),
1297
- l.length > 0 && /* @__PURE__ */ e("div", { className: "select-filetile-grid", children: l.map((_, h) => /* @__PURE__ */ e(kt, { src: _, name: ll(_), onRemove: () => k(h) }, `${_}-${h}`)) }),
1297
+ l.length > 0 && /* @__PURE__ */ e("div", { className: "select-filetile-grid", children: l.map((_, p) => /* @__PURE__ */ e(kt, { src: _, name: ll(_), onRemove: () => k(p) }, `${_}-${p}`)) }),
1298
1298
  !v && /* @__PURE__ */ m(ae, { children: [
1299
1299
  /* @__PURE__ */ e(
1300
1300
  Ze,
1301
1301
  {
1302
1302
  size: "sm",
1303
- value: p,
1303
+ value: h,
1304
1304
  onChange: (_) => {
1305
1305
  u(_), f && g(null);
1306
1306
  },
@@ -1316,8 +1316,8 @@ const cr = P(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1316
1316
  ] }),
1317
1317
  o != null && !f && /* @__PURE__ */ e("p", { className: "select-field__hint", children: o })
1318
1318
  ] });
1319
- }), ac = P(function({ label: n, mode: l = "multiple", files: c, onFilesChange: s, urls: a, onUrlsChange: o, accept: i = ".jpg,.jpeg,.png,.webp", maxSizeMB: r = 3, maxItems: d = 10, maxFiles: p, uploadHint: u, urlPlaceholder: f, helpText: g, className: v, ...x }, N) {
1320
- const k = l === "single", _ = Y(null), [h, b] = T(!1), [S, $] = T(0), [M, w] = T(""), [y, C] = T(null), L = k ? 1 : Math.max(1, d), B = k ? 1 : p ?? L, A = c.length + a.length, E = k ? A === 0 : A < L && c.length < B, F = k ? A === 0 : A < L, W = A > 0, Z = r * 1024 * 1024, R = ye(() => c.map((H) => el(H) ? URL.createObjectURL(H) : null), [c]);
1319
+ }), ac = P(function({ label: n, mode: l = "multiple", files: c, onFilesChange: s, urls: a, onUrlsChange: o, accept: i = ".jpg,.jpeg,.png,.webp", maxSizeMB: r = 3, maxItems: d = 10, maxFiles: h, uploadHint: u, urlPlaceholder: f, helpText: g, className: v, ...x }, N) {
1320
+ const k = l === "single", _ = Y(null), [p, b] = T(!1), [S, $] = T(0), [M, w] = T(""), [y, C] = T(null), L = k ? 1 : Math.max(1, d), B = k ? 1 : h ?? L, A = c.length + a.length, E = k ? A === 0 : A < L && c.length < B, F = k ? A === 0 : A < L, W = A > 0, Z = r * 1024 * 1024, R = ye(() => c.map((H) => el(H) ? URL.createObjectURL(H) : null), [c]);
1321
1321
  te(
1322
1322
  () => () => {
1323
1323
  R.forEach((H) => {
@@ -1364,7 +1364,7 @@ const cr = P(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1364
1364
  };
1365
1365
  return /* @__PURE__ */ m("div", { ref: N, ...x, className: `select-field select-imageupload${v ? " " + v : ""}`, children: [
1366
1366
  n && /* @__PURE__ */ e("span", { className: "select-field__label", children: n }),
1367
- /* @__PURE__ */ m("div", { className: `select-uploadzone${h ? " is-over" : ""}`, ...le, children: [
1367
+ /* @__PURE__ */ m("div", { className: `select-uploadzone${p ? " is-over" : ""}`, ...le, children: [
1368
1368
  W ? (
1369
1369
  // Grid inteligente (user 2026-07-27): 1 imagem preenche a div toda; 2+ dividem
1370
1370
  // em colunas de 50% com gap (o modificador --single vem da CONTAGEM de itens,
@@ -1433,8 +1433,8 @@ const cr = P(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1433
1433
  ] }),
1434
1434
  g != null && /* @__PURE__ */ e("p", { className: "select-field__hint", children: g })
1435
1435
  ] });
1436
- }), cl = P(function({ label: n, value: l, onChange: c, options: s, labelAction: a, info: o, description: i, hint: r, error: d, placeholder: p, name: u, required: f, disabled: g, size: v = "md", className: x, ...N }, k) {
1437
- const _ = ne(), h = d ? `${_}-err` : r ? `${_}-hint` : void 0;
1436
+ }), cl = P(function({ label: n, value: l, onChange: c, options: s, labelAction: a, info: o, description: i, hint: r, error: d, placeholder: h, name: u, required: f, disabled: g, size: v = "md", className: x, ...N }, k) {
1437
+ const _ = ne(), p = d ? `${_}-err` : r ? `${_}-hint` : void 0;
1438
1438
  return /* @__PURE__ */ m("div", { ref: k, ...N, className: `select-field${v === "sm" ? " select-field--sm" : ""}${x ? " " + x : ""}`, children: [
1439
1439
  (n || o || a) && /* @__PURE__ */ m("div", { className: "select-field__labelrow", children: [
1440
1440
  /* @__PURE__ */ m("span", { className: "select-field__labelwrap", children: [
@@ -1456,9 +1456,9 @@ const cr = P(function({ files: n, onChange: l, accept: c, maxSizeMB: s = 10, all
1456
1456
  required: f,
1457
1457
  disabled: g,
1458
1458
  "aria-invalid": d ? !0 : void 0,
1459
- "aria-describedby": h,
1459
+ "aria-describedby": p,
1460
1460
  children: [
1461
- p && /* @__PURE__ */ e("option", { value: "", disabled: !0, children: p }),
1461
+ h && /* @__PURE__ */ e("option", { value: "", disabled: !0, children: h }),
1462
1462
  s.map((b) => /* @__PURE__ */ e("option", { value: b.value, disabled: b.disabled, children: b.label }, b.value))
1463
1463
  ]
1464
1464
  }
@@ -1485,7 +1485,7 @@ function Ft(t = {}) {
1485
1485
  duration: i = 0.5,
1486
1486
  stagger: r = 0.06,
1487
1487
  delay: d = 0,
1488
- ease: p = "power3.out",
1488
+ ease: h = "power3.out",
1489
1489
  scroll: u = !1,
1490
1490
  once: f = !0,
1491
1491
  enabled: g = !0
@@ -1501,22 +1501,22 @@ function Ft(t = {}) {
1501
1501
  duration: i,
1502
1502
  stagger: r,
1503
1503
  delay: d,
1504
- ease: p,
1504
+ ease: h,
1505
1505
  clearProps: "transform"
1506
1506
  });
1507
1507
  };
1508
1508
  if (!u || !al())
1509
1509
  return _(), () => k == null ? void 0 : k.kill();
1510
1510
  Me.set(x, N);
1511
- const h = new IntersectionObserver(
1511
+ const p = new IntersectionObserver(
1512
1512
  (b) => {
1513
1513
  for (const S of b)
1514
- S.isIntersecting && (_(), f && h.unobserve(S.target));
1514
+ S.isIntersecting && (_(), f && p.unobserve(S.target));
1515
1515
  },
1516
1516
  { threshold: 0 }
1517
1517
  );
1518
- return h.observe(c), () => {
1519
- h.disconnect(), k == null || k.kill();
1518
+ return p.observe(c), () => {
1519
+ p.disconnect(), k == null || k.kill();
1520
1520
  };
1521
1521
  }, []), n;
1522
1522
  }
@@ -1532,7 +1532,7 @@ function rc(t) {
1532
1532
  ease: i = "power2.out",
1533
1533
  format: r = (N) => String(Math.round(N)),
1534
1534
  scroll: d = !0,
1535
- once: p = !0,
1535
+ once: h = !0,
1536
1536
  enabled: u = !0
1537
1537
  } = l.current;
1538
1538
  if (!u) return;
@@ -1558,7 +1558,7 @@ function rc(t) {
1558
1558
  const x = new IntersectionObserver(
1559
1559
  (N) => {
1560
1560
  for (const k of N)
1561
- k.isIntersecting && (v(), p && x.unobserve(k.target));
1561
+ k.isIntersecting && (v(), h && x.unobserve(k.target));
1562
1562
  },
1563
1563
  { threshold: 0 }
1564
1564
  );
@@ -1571,17 +1571,17 @@ function rl(t, n, l, c, s = 8) {
1571
1571
  const a = window.innerWidth, o = window.innerHeight, i = l.split("-");
1572
1572
  let r = i[0];
1573
1573
  const d = i[1];
1574
- let p = 0, u = 0;
1574
+ let h = 0, u = 0;
1575
1575
  if (r === "bottom" || r === "top") {
1576
1576
  const g = o - t.bottom, v = t.top;
1577
- r === "bottom" && n.height + c > g && v > g ? r = "top" : r === "top" && n.height + c > v && g > v && (r = "bottom"), p = r === "bottom" ? t.bottom + c : t.top - c - n.height, d === "start" ? u = t.left : d === "end" ? u = t.right - n.width : u = t.left + (t.width - n.width) / 2;
1577
+ r === "bottom" && n.height + c > g && v > g ? r = "top" : r === "top" && n.height + c > v && g > v && (r = "bottom"), h = r === "bottom" ? t.bottom + c : t.top - c - n.height, d === "start" ? u = t.left : d === "end" ? u = t.right - n.width : u = t.left + (t.width - n.width) / 2;
1578
1578
  } else {
1579
1579
  const g = a - t.right, v = t.left;
1580
- r === "right" && n.width + c > g && v > g ? r = "left" : r === "left" && n.width + c > v && g > v && (r = "right"), u = r === "right" ? t.right + c : t.left - c - n.width, p = t.top + (t.height - n.height) / 2;
1580
+ r === "right" && n.width + c > g && v > g ? r = "left" : r === "left" && n.width + c > v && g > v && (r = "right"), u = r === "right" ? t.right + c : t.left - c - n.width, h = t.top + (t.height - n.height) / 2;
1581
1581
  }
1582
- u = Math.max(s, Math.min(u, a - n.width - s)), p = Math.max(s, Math.min(p, o - n.height - s));
1582
+ u = Math.max(s, Math.min(u, a - n.width - s)), h = Math.max(s, Math.min(h, o - n.height - s));
1583
1583
  const f = typeof window < "u" && window.devicePixelRatio || 1;
1584
- return u = Math.round(u * f) / f, p = Math.round(p * f) / f, { top: p, left: u, side: r };
1584
+ return u = Math.round(u * f) / f, h = Math.round(h * f) / f, { top: h, left: u, side: r };
1585
1585
  }
1586
1586
  const oc = [
1587
1587
  "a[href]",
@@ -1618,7 +1618,7 @@ function ic(t, n) {
1618
1618
  function ht(t) {
1619
1619
  return ((t == null ? void 0 : t.closest("[data-theme]")) ?? document.documentElement).getAttribute("data-theme") === "dark" ? "dark" : "light";
1620
1620
  }
1621
- const Qe = [];
1621
+ const et = [];
1622
1622
  function We({
1623
1623
  active: t,
1624
1624
  onClose: n,
@@ -1631,11 +1631,11 @@ function We({
1631
1631
  matchWidth: r = !1,
1632
1632
  theme: d
1633
1633
  }) {
1634
- const p = Y(null), u = Y(null), f = Y(null), [g, v] = T(null), [x, N] = T("light"), k = Fe(() => {
1634
+ const h = Y(null), u = Y(null), f = Y(null), [g, v] = T(null), [x, N] = T("light"), k = Fe(() => {
1635
1635
  var $;
1636
- const _ = (($ = p.current) == null ? void 0 : $.firstElementChild) ?? p.current, h = u.current;
1637
- if (!_ || !h) return;
1638
- const b = _.getBoundingClientRect(), S = rl(b, { width: h.offsetWidth, height: h.offsetHeight }, s, a);
1636
+ const _ = (($ = h.current) == null ? void 0 : $.firstElementChild) ?? h.current, p = u.current;
1637
+ if (!_ || !p) return;
1638
+ const b = _.getBoundingClientRect(), S = rl(b, { width: p.offsetWidth, height: p.offsetHeight }, s, a);
1639
1639
  v({ top: S.top, left: S.left, minWidth: r ? b.width : void 0 });
1640
1640
  }, [s, a, r]);
1641
1641
  return Ee(() => {
@@ -1643,20 +1643,20 @@ function We({
1643
1643
  v(null);
1644
1644
  return;
1645
1645
  }
1646
- N(ht(p.current)), k();
1646
+ N(ht(h.current)), k();
1647
1647
  }, [t, k]), te(() => {
1648
1648
  if (t)
1649
1649
  return f.current = document.activeElement, () => {
1650
- var _, h;
1651
- return (h = (_ = f.current) == null ? void 0 : _.focus) == null ? void 0 : h.call(_, { preventScroll: !0 });
1650
+ var _, p;
1651
+ return (p = (_ = f.current) == null ? void 0 : _.focus) == null ? void 0 : p.call(_, { preventScroll: !0 });
1652
1652
  };
1653
1653
  }, [t]), te(() => {
1654
1654
  if (!t) return;
1655
1655
  const _ = u.current;
1656
1656
  if (_)
1657
- return Qe.push(_), () => {
1658
- const h = Qe.lastIndexOf(_);
1659
- h !== -1 && Qe.splice(h, 1);
1657
+ return et.push(_), () => {
1658
+ const p = et.lastIndexOf(_);
1659
+ p !== -1 && et.splice(p, 1);
1660
1660
  };
1661
1661
  }, [t]), te(() => {
1662
1662
  if (!t) return;
@@ -1669,15 +1669,15 @@ function We({
1669
1669
  const _ = (b) => {
1670
1670
  var $, M;
1671
1671
  const S = b.target;
1672
- ($ = u.current) != null && $.contains(S) || (M = p.current) != null && M.contains(S) || Qe.length && Qe[Qe.length - 1] !== u.current || n();
1673
- }, h = (b) => {
1672
+ ($ = u.current) != null && $.contains(S) || (M = h.current) != null && M.contains(S) || et.length && et[et.length - 1] !== u.current || n();
1673
+ }, p = (b) => {
1674
1674
  b.key === "Escape" && (b.stopPropagation(), n());
1675
1675
  };
1676
- return document.addEventListener("mousedown", _, !0), document.addEventListener("keydown", h), () => {
1677
- document.removeEventListener("mousedown", _, !0), document.removeEventListener("keydown", h);
1676
+ return document.addEventListener("mousedown", _, !0), document.addEventListener("keydown", p), () => {
1677
+ document.removeEventListener("mousedown", _, !0), document.removeEventListener("keydown", p);
1678
1678
  };
1679
1679
  }, [t, n]), ic(t && i, u), /* @__PURE__ */ m(ae, { children: [
1680
- /* @__PURE__ */ e("span", { className: "select-pop__trigger", ref: p, children: l }),
1680
+ /* @__PURE__ */ e("span", { className: "select-pop__trigger", ref: h, children: l }),
1681
1681
  t && Et(
1682
1682
  /* @__PURE__ */ e(
1683
1683
  "div",
@@ -1699,8 +1699,8 @@ function dc({ count: t, children: n }) {
1699
1699
  const l = t > 0 ? Math.min(0.03, 0.35 / t) : 0, c = Ft({ selector: ".select-combobox__option", y: 6, duration: 0.3, stagger: l });
1700
1700
  return /* @__PURE__ */ e("div", { className: "select-combobox__list", ref: c, children: n });
1701
1701
  }
1702
- const uc = P(function({ label: n, value: l, onChange: c, options: s, placeholder: a = "Selecionar…", searchPlaceholder: o = "Buscar…", labelAction: i, hint: r, error: d, emptyText: p = "Nenhum resultado", disabled: u, required: f, size: g = "md", searchable: v = !0, className: x, ...N }, k) {
1703
- const _ = ne(), [h, b] = T(!1), [S, $] = T(""), M = s.find((B) => B.value === l), w = ye(() => {
1702
+ const uc = P(function({ label: n, value: l, onChange: c, options: s, placeholder: a = "Selecionar…", searchPlaceholder: o = "Buscar…", labelAction: i, hint: r, error: d, emptyText: h = "Nenhum resultado", disabled: u, required: f, size: g = "md", searchable: v = !0, className: x, ...N }, k) {
1703
+ const _ = ne(), [p, b] = T(!1), [S, $] = T(""), M = s.find((B) => B.value === l), w = ye(() => {
1704
1704
  const B = S.trim().toLowerCase();
1705
1705
  return !v || !B ? s : s.filter((A) => {
1706
1706
  var E;
@@ -1719,7 +1719,7 @@ const uc = P(function({ label: n, value: l, onChange: c, options: s, placeholder
1719
1719
  /* @__PURE__ */ e("div", { className: "select-combobox", children: /* @__PURE__ */ e(
1720
1720
  We,
1721
1721
  {
1722
- active: h,
1722
+ active: p,
1723
1723
  onClose: y,
1724
1724
  placement: "bottom-start",
1725
1725
  role: "listbox",
@@ -1729,11 +1729,11 @@ const uc = P(function({ label: n, value: l, onChange: c, options: s, placeholder
1729
1729
  {
1730
1730
  id: _,
1731
1731
  type: "button",
1732
- className: `select-combobox__trigger${d ? " select-input--error" : ""}${h ? " is-open" : ""}`,
1733
- onClick: () => h ? y() : b(!0),
1732
+ className: `select-combobox__trigger${d ? " select-input--error" : ""}${p ? " is-open" : ""}`,
1733
+ onClick: () => p ? y() : b(!0),
1734
1734
  disabled: u,
1735
1735
  "aria-haspopup": "listbox",
1736
- "aria-expanded": h,
1736
+ "aria-expanded": p,
1737
1737
  "aria-required": f || void 0,
1738
1738
  "aria-describedby": L,
1739
1739
  children: [
@@ -1754,7 +1754,7 @@ const uc = P(function({ label: n, value: l, onChange: c, options: s, placeholder
1754
1754
  autoFocus: !0
1755
1755
  }
1756
1756
  ) }),
1757
- /* @__PURE__ */ e(dc, { count: w.length, children: w.length === 0 ? /* @__PURE__ */ e("div", { className: "select-combobox__empty", children: p }) : w.map((B) => {
1757
+ /* @__PURE__ */ e(dc, { count: w.length, children: w.length === 0 ? /* @__PURE__ */ e("div", { className: "select-combobox__empty", children: h }) : w.map((B) => {
1758
1758
  const A = B.value === l;
1759
1759
  return /* @__PURE__ */ m(
1760
1760
  "button",
@@ -1789,13 +1789,13 @@ function mc(t) {
1789
1789
  return c.length ? `${l}-${c.join("").replace(/\D/g, "").slice(0, 2)}` : l;
1790
1790
  }
1791
1791
  const ar = P(function({ value: n, onChange: l, banks: c = [], showType: s = !1, error: a, className: o, ...i }, r) {
1792
- const d = (u) => l({ ...n, ...u }), p = c.map((u) => ({ label: u.name || u.code, value: u.code }));
1792
+ const d = (u) => l({ ...n, ...u }), h = c.map((u) => ({ label: u.name || u.code, value: u.code }));
1793
1793
  return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-stack${o ? " " + o : ""}`, children: [
1794
1794
  /* @__PURE__ */ e(
1795
1795
  uc,
1796
1796
  {
1797
1797
  label: "Banco",
1798
- options: p,
1798
+ options: h,
1799
1799
  value: n.bankCode,
1800
1800
  onChange: (u) => d({ bankCode: u }),
1801
1801
  placeholder: "Selecione o banco",
@@ -1964,9 +1964,9 @@ function $c(t) {
1964
1964
  var n;
1965
1965
  return ((n = il.find((l) => l.iso === t)) == null ? void 0 : n.dial) ?? "";
1966
1966
  }
1967
- const dr = P(function({ label: n, value: l, onChange: c, labelAction: s, hint: a, error: o, onBlur: i, placeholder: r, className: d, ...p }, u) {
1967
+ const dr = P(function({ label: n, value: l, onChange: c, labelAction: s, hint: a, error: o, onBlur: i, placeholder: r, className: d, ...h }, u) {
1968
1968
  const f = ne(), g = $c(l.country), v = o ? `${f}-err` : a ? `${f}-hint` : void 0;
1969
- return /* @__PURE__ */ m("div", { ref: u, ...p, className: `select-field${d ? " " + d : ""}`, children: [
1969
+ return /* @__PURE__ */ m("div", { ref: u, ...h, className: `select-field${d ? " " + d : ""}`, children: [
1970
1970
  /* @__PURE__ */ m("div", { className: "select-field__labelrow", children: [
1971
1971
  /* @__PURE__ */ e("label", { className: "select-field__label", htmlFor: f, children: n }),
1972
1972
  s
@@ -2016,40 +2016,40 @@ const dr = P(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
2016
2016
  ] });
2017
2017
  }), ur = P(function({ value: n, onChange: l, options: c, name: s, className: a, ...o }, i) {
2018
2018
  const r = ne(), d = s ?? r;
2019
- return /* @__PURE__ */ e("div", { ref: i, ...o, className: `select-radiogroup${a ? " " + a : ""}`, role: "radiogroup", children: c.map((p) => {
2020
- const u = p.value === n;
2019
+ return /* @__PURE__ */ e("div", { ref: i, ...o, className: `select-radiogroup${a ? " " + a : ""}`, role: "radiogroup", children: c.map((h) => {
2020
+ const u = h.value === n;
2021
2021
  return /* @__PURE__ */ m(
2022
2022
  "label",
2023
2023
  {
2024
- className: `select-radio${u ? " select-radio--selected" : ""}${p.disabled ? " select-radio--disabled" : ""}`,
2024
+ className: `select-radio${u ? " select-radio--selected" : ""}${h.disabled ? " select-radio--disabled" : ""}`,
2025
2025
  children: [
2026
2026
  /* @__PURE__ */ e(
2027
2027
  "input",
2028
2028
  {
2029
2029
  type: "radio",
2030
2030
  name: d,
2031
- value: p.value,
2031
+ value: h.value,
2032
2032
  checked: u,
2033
- disabled: p.disabled,
2034
- onChange: () => l(p.value)
2033
+ disabled: h.disabled,
2034
+ onChange: () => l(h.value)
2035
2035
  }
2036
2036
  ),
2037
2037
  /* @__PURE__ */ e("span", { className: "select-radio__dot", "aria-hidden": "true" }),
2038
- p.leading && /* @__PURE__ */ e("span", { className: "select-radio__leading", children: p.leading }),
2038
+ h.leading && /* @__PURE__ */ e("span", { className: "select-radio__leading", children: h.leading }),
2039
2039
  /* @__PURE__ */ m("span", { className: "select-radio__text", children: [
2040
- /* @__PURE__ */ e("span", { className: "select-radio__label", children: p.label }),
2041
- p.description && /* @__PURE__ */ e("span", { className: "select-radio__desc", children: p.description })
2040
+ /* @__PURE__ */ e("span", { className: "select-radio__label", children: h.label }),
2041
+ h.description && /* @__PURE__ */ e("span", { className: "select-radio__desc", children: h.description })
2042
2042
  ] }),
2043
- p.trailing && /* @__PURE__ */ e("span", { className: "select-radio__trailing", children: p.trailing })
2043
+ h.trailing && /* @__PURE__ */ e("span", { className: "select-radio__trailing", children: h.trailing })
2044
2044
  ]
2045
2045
  },
2046
- p.value
2046
+ h.value
2047
2047
  );
2048
2048
  }) });
2049
2049
  }), hr = P(function({ value: n, onChange: l, options: c, ariaLabel: s, fullWidth: a = !1, className: o, ...i }, r) {
2050
- const d = Math.max(0, c.findIndex((v) => v.value === n)), p = Y([]), [u, f] = T(null);
2050
+ const d = Math.max(0, c.findIndex((v) => v.value === n)), h = Y([]), [u, f] = T(null);
2051
2051
  Ee(() => {
2052
- const v = p.current[d];
2052
+ const v = h.current[d];
2053
2053
  v && f({ left: v.offsetLeft, width: v.offsetWidth });
2054
2054
  }, [d, c.length]);
2055
2055
  const g = u ? { left: u.left, width: u.width, opacity: 1 } : { opacity: 0 };
@@ -2061,7 +2061,7 @@ const dr = P(function({ label: n, value: l, onChange: c, labelAction: s, hint: a
2061
2061
  "button",
2062
2062
  {
2063
2063
  ref: (k) => {
2064
- p.current[x] = k;
2064
+ h.current[x] = k;
2065
2065
  },
2066
2066
  type: "button",
2067
2067
  role: "tab",
@@ -2116,18 +2116,18 @@ function pr({
2116
2116
  function ul({ items: t, sections: n, onAction: l, autoFocus: c = !0, className: s, ...a }) {
2117
2117
  const o = Y(null), i = n ?? (t ? [{ items: t }] : []);
2118
2118
  te(() => {
2119
- var d, p;
2120
- c && ((p = (d = o.current) == null ? void 0 : d.querySelector('[role="menuitem"]:not(:disabled)')) == null || p.focus({ preventScroll: !0 }));
2119
+ var d, h;
2120
+ c && ((h = (d = o.current) == null ? void 0 : d.querySelector('[role="menuitem"]:not(:disabled)')) == null || h.focus({ preventScroll: !0 }));
2121
2121
  }, [c]);
2122
2122
  const r = (d) => {
2123
- const p = o.current;
2124
- if (!p) return;
2125
- const u = Array.from(p.querySelectorAll('[role="menuitem"]:not(:disabled)'));
2123
+ const h = o.current;
2124
+ if (!h) return;
2125
+ const u = Array.from(h.querySelectorAll('[role="menuitem"]:not(:disabled)'));
2126
2126
  if (u.length === 0) return;
2127
2127
  const f = u.indexOf(document.activeElement);
2128
2128
  d.key === "ArrowDown" ? (d.preventDefault(), (u[(f + 1) % u.length] ?? u[0]).focus()) : d.key === "ArrowUp" ? (d.preventDefault(), (u[(f - 1 + u.length) % u.length] ?? u[0]).focus()) : d.key === "Home" ? (d.preventDefault(), u[0].focus()) : d.key === "End" && (d.preventDefault(), u[u.length - 1].focus());
2129
2129
  };
2130
- return /* @__PURE__ */ e("div", { ...a, className: `select-actionlist${s ? " " + s : ""}`, role: "menu", ref: o, onKeyDown: r, children: i.map((d, p) => /* @__PURE__ */ m("div", { className: "select-actionlist__section", role: "group", "aria-label": d.title, children: [
2130
+ return /* @__PURE__ */ e("div", { ...a, className: `select-actionlist${s ? " " + s : ""}`, role: "menu", ref: o, onKeyDown: r, children: i.map((d, h) => /* @__PURE__ */ m("div", { className: "select-actionlist__section", role: "group", "aria-label": d.title, children: [
2131
2131
  d.title && /* @__PURE__ */ e("div", { className: "select-actionlist__title", children: d.title }),
2132
2132
  d.items.map((u, f) => /* @__PURE__ */ m(
2133
2133
  "button",
@@ -2148,7 +2148,7 @@ function ul({ items: t, sections: n, onAction: l, autoFocus: c = !0, className:
2148
2148
  },
2149
2149
  f
2150
2150
  ))
2151
- ] }, p)) });
2151
+ ] }, h)) });
2152
2152
  }
2153
2153
  function mr({
2154
2154
  items: t,
@@ -2256,8 +2256,8 @@ const kc = {
2256
2256
  card: "var(--select-radius-card)",
2257
2257
  full: "999px"
2258
2258
  };
2259
- function Cc({ children: t, padding: n, paddingInline: l, paddingBlock: c, background: s, borderRadius: a, border: o = !1, shadow: i = !1, width: r, minHeight: d, as: p = "div", className: u, style: f, ...g }) {
2260
- const v = p, x = {
2259
+ function Cc({ children: t, padding: n, paddingInline: l, paddingBlock: c, background: s, borderRadius: a, border: o = !1, shadow: i = !1, width: r, minHeight: d, as: h = "div", className: u, style: f, ...g }) {
2260
+ const v = h, x = {
2261
2261
  padding: n ? ze[n] : void 0,
2262
2262
  paddingInline: l ? ze[l] : void 0,
2263
2263
  paddingBlock: c ? ze[c] : void 0,
@@ -2272,7 +2272,7 @@ function Cc({ children: t, padding: n, paddingInline: l, paddingBlock: c, backgr
2272
2272
  return /* @__PURE__ */ e(v, { ...g, className: It("select-box", u), style: x, children: t });
2273
2273
  }
2274
2274
  function Xe({ children: t, as: n = "p", variant: l = "bodyMd", tone: c, fontWeight: s, alignment: a, truncate: o = !1, numeric: i = !1, className: r, ...d }) {
2275
- const p = n, u = [
2275
+ const h = n, u = [
2276
2276
  "select-text",
2277
2277
  `select-text--${l}`,
2278
2278
  c && c !== "base" ? `select-text--${c}` : "",
@@ -2281,7 +2281,7 @@ function Xe({ children: t, as: n = "p", variant: l = "bodyMd", tone: c, fontWeig
2281
2281
  i ? "select-text--numeric" : "",
2282
2282
  r ?? ""
2283
2283
  ].filter(Boolean).join(" ");
2284
- return /* @__PURE__ */ e(p, { ...d, className: u, style: a ? { textAlign: a } : void 0, children: t });
2284
+ return /* @__PURE__ */ e(h, { ...d, className: u, style: a ? { textAlign: a } : void 0, children: t });
2285
2285
  }
2286
2286
  const hn = "https://cdn.selectwin.io/public/payicons", Lc = [
2287
2287
  { value: "visa", label: "Visa", file: "visa" },
@@ -2349,7 +2349,7 @@ function _r({
2349
2349
  const o = fn(n) ?? (t ? Ec[t] : null), i = n ? Ac(n) : void 0, r = a || i || (t ? _t[t] : void 0) || t || "—";
2350
2350
  if (!o)
2351
2351
  return /* @__PURE__ */ e(Xe, { as: "span", tone: "subdued", variant: "bodySm", children: a || t && _t[t] || i || t || "—" });
2352
- const d = fn(n) == null, p = l, u = Math.round(l * 1.2);
2352
+ const d = fn(n) == null, h = l, u = Math.round(l * 1.2);
2353
2353
  if (s) {
2354
2354
  const g = d ? Math.round(l * 0.7) : l, v = /* @__PURE__ */ e(
2355
2355
  "img",
@@ -2382,7 +2382,7 @@ function _r({
2382
2382
  alignItems: "center",
2383
2383
  justifyContent: "center",
2384
2384
  width: u,
2385
- height: p,
2385
+ height: h,
2386
2386
  padding: 2,
2387
2387
  boxSizing: "border-box",
2388
2388
  flex: "0 0 auto",
@@ -2433,12 +2433,12 @@ function ln({
2433
2433
  delay: c = 250,
2434
2434
  openOnClick: s = !1
2435
2435
  }) {
2436
- const [a, o] = T(!1), [i, r] = T(!1), [d, p] = T(!1), u = i || a && !d, f = Y(null), g = Y(null), v = Y(null), [x, N] = T(null), k = ne(), _ = () => {
2436
+ const [a, o] = T(!1), [i, r] = T(!1), [d, h] = T(!1), u = i || a && !d, f = Y(null), g = Y(null), v = Y(null), [x, N] = T(null), k = ne(), _ = () => {
2437
2437
  Bc() && (v.current && clearTimeout(v.current), v.current = setTimeout(() => o(!0), c));
2438
- }, h = () => {
2439
- v.current && clearTimeout(v.current), o(!1), p(!1);
2438
+ }, p = () => {
2439
+ v.current && clearTimeout(v.current), o(!1), h(!1);
2440
2440
  }, b = () => {
2441
- s && (v.current && clearTimeout(v.current), u ? (r(!1), o(!1), p(!0)) : r(!0));
2441
+ s && (v.current && clearTimeout(v.current), u ? (r(!1), o(!1), h(!0)) : r(!0));
2442
2442
  };
2443
2443
  te(
2444
2444
  () => () => {
@@ -2491,11 +2491,11 @@ function ln({
2491
2491
  className: "select-tip__trigger",
2492
2492
  ref: f,
2493
2493
  onMouseEnter: _,
2494
- onMouseLeave: h,
2494
+ onMouseLeave: p,
2495
2495
  onFocusCapture: ($) => {
2496
2496
  Fc($.target) && o(!0);
2497
2497
  },
2498
- onBlurCapture: h,
2498
+ onBlurCapture: p,
2499
2499
  onClick: s ? b : void 0,
2500
2500
  "aria-describedby": u ? k : void 0,
2501
2501
  children: n
@@ -2517,8 +2517,8 @@ function ln({
2517
2517
  )
2518
2518
  ] });
2519
2519
  }
2520
- const ge = P(function({ icon: n, label: l, onClick: c, disabled: s = !1, size: a = "md", variant: o = "ghost", active: i = !1, className: r, ...d }, p) {
2521
- return /* @__PURE__ */ e(ln, { content: l, children: /* @__PURE__ */ e("button", { ref: p, ...d, type: "button", className: `select-iconbtn select-iconbtn--${a} select-iconbtn--${o}${i ? " is-active" : ""}${r ? " " + r : ""}`, "aria-label": l, "aria-pressed": i, onClick: c, disabled: s, children: n }) });
2520
+ const ge = P(function({ icon: n, label: l, onClick: c, disabled: s = !1, size: a = "md", variant: o = "ghost", active: i = !1, className: r, ...d }, h) {
2521
+ return /* @__PURE__ */ e(ln, { content: l, children: /* @__PURE__ */ e("button", { ref: h, ...d, type: "button", className: `select-iconbtn select-iconbtn--${a} select-iconbtn--${o}${i ? " is-active" : ""}${r ? " " + r : ""}`, "aria-label": l, "aria-pressed": i, onClick: c, disabled: s, children: n }) });
2522
2522
  });
2523
2523
  function Ic({
2524
2524
  open: t,
@@ -2606,7 +2606,7 @@ function _l(t) {
2606
2606
  }
2607
2607
  function ot(t, n, l = Pc) {
2608
2608
  let c = 0, s = !1;
2609
- const a = (o, i, r, d, p) => {
2609
+ const a = (o, i, r, d, h) => {
2610
2610
  if (s) return;
2611
2611
  if (i !== "") {
2612
2612
  if (c >= l) {
@@ -2617,8 +2617,8 @@ function ot(t, n, l = Pc) {
2617
2617
  }
2618
2618
  if (!Oe(o)) return;
2619
2619
  const u = o;
2620
- if (p.includes(u)) return;
2621
- const f = [...p, u];
2620
+ if (h.includes(u)) return;
2621
+ const f = [...h, u];
2622
2622
  for (const [g, v] of fl(o))
2623
2623
  if (a(v, pl(i, g), g, d + 1, f), s) return;
2624
2624
  };
@@ -2736,7 +2736,7 @@ function gl({
2736
2736
  return /* @__PURE__ */ e(ae, { children: fl(t).map(([i, r]) => {
2737
2737
  const d = pl(n, i);
2738
2738
  if (a && !s.result.visible.has(d)) return null;
2739
- const p = Wc(r, c), u = Oe(r) && !p, f = u && pt(r) > 0, g = a ? !0 : s.expanded.has(d), v = s.result.matched.has(d), x = `row:${d}`;
2739
+ const h = Wc(r, c), u = Oe(r) && !h, f = u && pt(r) > 0, g = a ? !0 : s.expanded.has(d), v = s.result.matched.has(d), x = `row:${d}`;
2740
2740
  return /* @__PURE__ */ m(qt, { children: [
2741
2741
  /* @__PURE__ */ m(
2742
2742
  "div",
@@ -2758,7 +2758,7 @@ function gl({
2758
2758
  /* @__PURE__ */ m("span", { className: "select-json__label", children: [
2759
2759
  /* @__PURE__ */ e("span", { className: o ? "select-json__idx" : "select-json__key", children: /* @__PURE__ */ e(St, { text: i, term: s.search }) }),
2760
2760
  /* @__PURE__ */ e("span", { className: "select-json__sep", children: ":" }),
2761
- p ? /* @__PURE__ */ e("span", { className: "select-json__v select-json__v--other", children: "[referência circular]" }) : f ? (
2761
+ h ? /* @__PURE__ */ e("span", { className: "select-json__v select-json__v--other", children: "[referência circular]" }) : f ? (
2762
2762
  // The summary doubles as a second hit-target for the caret; `tabIndex={-1}`
2763
2763
  // keeps it out of the tab order (the caret is already the focusable control).
2764
2764
  /* @__PURE__ */ e("button", { type: "button", className: "select-json__summary", tabIndex: -1, onClick: () => s.toggle(d), children: vn(r) })
@@ -2786,8 +2786,8 @@ function Xc({ text: t, term: n }) {
2786
2786
  const l = ye(() => t.length > Yc ? null : Zc(t), [t]);
2787
2787
  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(St, { text: c.text, term: n }) }, s)) }) : /* @__PURE__ */ e("pre", { className: "select-json__pre", children: /* @__PURE__ */ e(St, { text: t, term: n }) });
2788
2788
  }
2789
- const vr = P(function({ value: n, title: l = "Metadados", maxHeight: c = 360, defaultOpen: s = !1, defaultExpandDepth: a = 1, searchable: o = !0, emptyLabel: i = "Sem dados", className: r, ...d }, p) {
2790
- const [u, f] = T(s), [g, v] = T("tree"), [x, N] = T(""), [k, _] = T(/* @__PURE__ */ new Set()), [h, b] = zc(), S = Y(null), $ = ye(() => Dc(n), [n]), M = Tc($), w = ye(
2789
+ const vr = P(function({ value: n, title: l = "Metadados", maxHeight: c = 360, defaultOpen: s = !1, defaultExpandDepth: a = 1, searchable: o = !0, emptyLabel: i = "Sem dados", className: r, ...d }, h) {
2790
+ const [u, f] = T(s), [g, v] = T("tree"), [x, N] = T(""), [k, _] = T(/* @__PURE__ */ new Set()), [p, b] = zc(), S = Y(null), $ = ye(() => Dc(n), [n]), M = Tc($), w = ye(
2791
2791
  () => typeof n == "string" && $ === n ? n : _l($),
2792
2792
  [n, $]
2793
2793
  ), y = ye(() => ot($, () => {
@@ -2805,8 +2805,8 @@ const vr = P(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
2805
2805
  const q = new Set(G);
2806
2806
  return q.delete(O) || q.add(O), q;
2807
2807
  });
2808
- }, []), W = L.length > 0 && L.every((O) => k.has(O)), Z = () => _(W ? /* @__PURE__ */ new Set() : new Set(L)), R = { expanded: k, toggle: F, search: x, result: B, copied: h, copy: b }, D = u && !M;
2809
- return /* @__PURE__ */ m("div", { ref: p, ...d, className: `select-json${r ? " " + r : ""}`, children: [
2808
+ }, []), W = L.length > 0 && L.every((O) => k.has(O)), Z = () => _(W ? /* @__PURE__ */ new Set() : new Set(L)), R = { expanded: k, toggle: F, search: x, result: B, copied: p, copy: b }, D = u && !M;
2809
+ return /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-json${r ? " " + r : ""}`, children: [
2810
2810
  /* @__PURE__ */ m("div", { className: "select-json__head", children: [
2811
2811
  /* @__PURE__ */ e(Xe, { as: "h2", variant: "headingSm", children: l }),
2812
2812
  /* @__PURE__ */ e(Ic, { open: D, onToggle: () => f((O) => !O), openLabel: "Ocultar", disabled: M, children: M ? i : "Mostrar" })
@@ -2852,10 +2852,10 @@ const vr = P(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
2852
2852
  /* @__PURE__ */ e(
2853
2853
  ge,
2854
2854
  {
2855
- icon: h === "all" ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(tc, {}),
2856
- label: h === "all" ? "Copiado!" : "Copiar JSON",
2855
+ icon: p === "all" ? /* @__PURE__ */ e(Ae, {}) : /* @__PURE__ */ e(tc, {}),
2856
+ label: p === "all" ? "Copiado!" : "Copiar JSON",
2857
2857
  size: "sm",
2858
- active: h === "all",
2858
+ active: p === "all",
2859
2859
  onClick: () => b("all", w)
2860
2860
  }
2861
2861
  )
@@ -2895,8 +2895,8 @@ const vr = P(function({ value: n, title: l = "Metadados", maxHeight: c = 360, de
2895
2895
  }), br = P(function({ children: n, className: l, ...c }, s) {
2896
2896
  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 });
2897
2897
  }), Qc = P(function({ name: n, src: l, icon: c, dashed: s = !1, round: a = !1, className: o, ...i }, r) {
2898
- var p, u;
2899
- const d = ((u = (p = n == null ? void 0 : n.trim()) == null ? void 0 : p[0]) == null ? void 0 : u.toUpperCase()) ?? "?";
2898
+ var h, u;
2899
+ const d = ((u = (h = n == null ? void 0 : n.trim()) == null ? void 0 : h[0]) == null ? void 0 : u.toUpperCase()) ?? "?";
2900
2900
  return /* @__PURE__ */ e("span", { ref: r, ...i, className: `select-avatar${s ? " select-avatar--dashed" : ""}${a ? " select-avatar--round" : ""}${o ? " " + o : ""}`, "aria-hidden": "true", children: l ? /* @__PURE__ */ e("img", { src: l, alt: "", className: "select-avatar__img" }) : c ? /* @__PURE__ */ e("span", { className: "select-avatar__icon", children: c }) : /* @__PURE__ */ e("span", { className: "select-avatar__initial", children: d }) });
2901
2901
  });
2902
2902
  function yr({ children: t, className: n, ...l }) {
@@ -2931,16 +2931,16 @@ const Nr = P(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
2931
2931
  l && /* @__PURE__ */ e("button", { type: "button", className: "select-identity__action", onClick: l, children: c })
2932
2932
  ] });
2933
2933
  }), Mr = P(function({ value: n, onChange: l, length: c = 6, onComplete: s, autoFocus: a = !1, disabled: o = !1, className: i, ...r }, d) {
2934
- const p = Y([]), u = Array.from({ length: c }, (_, h) => n[h] ?? ""), f = (_) => {
2935
- var h;
2936
- return (h = p.current[_]) == null ? void 0 : h.focus();
2937
- }, g = (_, h) => {
2934
+ const h = Y([]), u = Array.from({ length: c }, (_, p) => n[p] ?? ""), f = (_) => {
2935
+ var p;
2936
+ return (p = h.current[_]) == null ? void 0 : p.focus();
2937
+ }, g = (_, p) => {
2938
2938
  const b = u.slice();
2939
- b[_] = h;
2939
+ b[_] = p;
2940
2940
  const S = b.join("").slice(0, c);
2941
2941
  return l(S), S;
2942
- }, v = (_, h) => {
2943
- const b = h.replace(/\D/g, "");
2942
+ }, v = (_, p) => {
2943
+ const b = p.replace(/\D/g, "");
2944
2944
  if (!b) {
2945
2945
  g(_, "");
2946
2946
  return;
@@ -2950,41 +2950,41 @@ const Nr = P(function({ email: n, onSignOut: l, signOutLabel: c = "Sair", prefix
2950
2950
  _ < c - 1 && f(_ + 1), S.length === c && (s == null || s(S));
2951
2951
  } else
2952
2952
  x(b, _);
2953
- }, x = (_, h) => {
2953
+ }, x = (_, p) => {
2954
2954
  const b = u.slice();
2955
- for (let M = 0; M < _.length && h + M < c; M++)
2956
- b[h + M] = _[M] ?? "";
2955
+ for (let M = 0; M < _.length && p + M < c; M++)
2956
+ b[p + M] = _[M] ?? "";
2957
2957
  const S = b.join("").slice(0, c);
2958
2958
  l(S);
2959
- const $ = Math.min(h + _.length, c) - 1;
2959
+ const $ = Math.min(p + _.length, c) - 1;
2960
2960
  f(Math.min($ + 1, c - 1)), S.length === c && (s == null || s(S));
2961
- }, N = (_, h) => {
2962
- h.key === "Backspace" && !u[_] && _ > 0 ? (h.preventDefault(), g(_ - 1, ""), f(_ - 1)) : h.key === "ArrowLeft" && _ > 0 ? (h.preventDefault(), f(_ - 1)) : h.key === "ArrowRight" && _ < c - 1 && (h.preventDefault(), f(_ + 1));
2963
- }, k = (_, h) => {
2964
- h.preventDefault();
2965
- const b = h.clipboardData.getData("text").replace(/\D/g, "");
2961
+ }, N = (_, p) => {
2962
+ p.key === "Backspace" && !u[_] && _ > 0 ? (p.preventDefault(), g(_ - 1, ""), f(_ - 1)) : p.key === "ArrowLeft" && _ > 0 ? (p.preventDefault(), f(_ - 1)) : p.key === "ArrowRight" && _ < c - 1 && (p.preventDefault(), f(_ + 1));
2963
+ }, k = (_, p) => {
2964
+ p.preventDefault();
2965
+ const b = p.clipboardData.getData("text").replace(/\D/g, "");
2966
2966
  b && x(b, _);
2967
2967
  };
2968
- return /* @__PURE__ */ e("div", { ref: d, ...r, className: `select-otp${i ? " " + i : ""}`, children: u.map((_, h) => /* @__PURE__ */ e(
2968
+ return /* @__PURE__ */ e("div", { ref: d, ...r, className: `select-otp${i ? " " + i : ""}`, children: u.map((_, p) => /* @__PURE__ */ e(
2969
2969
  "input",
2970
2970
  {
2971
2971
  ref: (b) => {
2972
- p.current[h] = b;
2972
+ h.current[p] = b;
2973
2973
  },
2974
2974
  className: "select-otp__box",
2975
2975
  type: "text",
2976
2976
  inputMode: "numeric",
2977
- autoComplete: h === 0 ? "one-time-code" : "off",
2977
+ autoComplete: p === 0 ? "one-time-code" : "off",
2978
2978
  maxLength: 1,
2979
2979
  value: _,
2980
2980
  disabled: o,
2981
- autoFocus: a && h === 0,
2982
- "aria-label": `Dígito ${h + 1}`,
2983
- onChange: (b) => v(h, b.target.value),
2984
- onKeyDown: (b) => N(h, b),
2985
- onPaste: (b) => k(h, b)
2981
+ autoFocus: a && p === 0,
2982
+ "aria-label": `Dígito ${p + 1}`,
2983
+ onChange: (b) => v(p, b.target.value),
2984
+ onKeyDown: (b) => N(p, b),
2985
+ onPaste: (b) => k(p, b)
2986
2986
  },
2987
- h
2987
+ p
2988
2988
  )) });
2989
2989
  });
2990
2990
  function $r({
@@ -3007,8 +3007,8 @@ const wr = P(function({ onResend: n, seconds: l = 30, idleLabel: c = "Reenviar c
3007
3007
  }, [i]);
3008
3008
  const d = Fe(() => {
3009
3009
  i > 0 || (n(), r(l));
3010
- }, [i, n, l]), p = i > 0, u = p ? `Reenviar em 0:${String(i).padStart(2, "0")}` : c;
3011
- return /* @__PURE__ */ e("button", { ref: o, ...a, type: "button", className: `select-resend${s ? " " + s : ""}`, onClick: d, disabled: p, children: u });
3010
+ }, [i, n, l]), h = i > 0, u = h ? `Reenviar em 0:${String(i).padStart(2, "0")}` : c;
3011
+ return /* @__PURE__ */ e("button", { ref: o, ...a, type: "button", className: `select-resend${s ? " " + s : ""}`, onClick: d, disabled: h, children: u });
3012
3012
  }), yn = [
3013
3013
  { label: "Muito fraca", cls: "is-0" },
3014
3014
  { label: "Fraca", cls: "is-1" },
@@ -3032,9 +3032,9 @@ const kr = P(function({ value: n, className: l, ...c }, s) {
3032
3032
  l != null ? /* @__PURE__ */ e("span", { className: "select-loader__mark", "aria-hidden": "true", children: l }) : /* @__PURE__ */ e("span", { className: "select-loader__spinner", "aria-hidden": "true" }),
3033
3033
  n && /* @__PURE__ */ e("span", { className: "select-loader__label", children: n })
3034
3034
  ] });
3035
- }), ns = P(function({ title: n, subtitle: l, primaryAction: c, secondaryActions: s, headerActions: a, backAction: o, children: i, className: r, ...d }, p) {
3035
+ }), ns = P(function({ title: n, subtitle: l, primaryAction: c, secondaryActions: s, headerActions: a, backAction: o, children: i, className: r, ...d }, h) {
3036
3036
  const u = !!c || s && s.length > 0 || !!a, f = o || n || l || u;
3037
- return /* @__PURE__ */ m("div", { ref: p, ...d, className: `select select-page${r ? " " + r : ""}`, children: [
3037
+ return /* @__PURE__ */ m("div", { ref: h, ...d, className: `select select-page${r ? " " + r : ""}`, children: [
3038
3038
  f && /* @__PURE__ */ m("div", { className: "select-page__header", children: [
3039
3039
  /* @__PURE__ */ m("div", { className: "select-page__heading", children: [
3040
3040
  o && /* @__PURE__ */ e(
@@ -3145,8 +3145,8 @@ const Ar = P(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
3145
3145
  ))
3146
3146
  ] })
3147
3147
  ] });
3148
- }), Fr = P(function({ title: n, description: l, headerAction: c, footer: s, children: a, tone: o = "default", flush: i = !1, className: r, ...d }, p) {
3149
- return /* @__PURE__ */ m("div", { ref: p, ...d, className: `select-panel${o === "highlight" ? " select-panel--highlight" : ""}${r ? " " + r : ""}`, children: [
3148
+ }), Fr = P(function({ title: n, description: l, headerAction: c, footer: s, children: a, tone: o = "default", flush: i = !1, className: r, ...d }, h) {
3149
+ return /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-panel${o === "highlight" ? " select-panel--highlight" : ""}${r ? " " + r : ""}`, children: [
3150
3150
  (n || c) && /* @__PURE__ */ m("div", { className: "select-panel__header", children: [
3151
3151
  /* @__PURE__ */ m("div", { className: "select-panel__heading", children: [
3152
3152
  n && /* @__PURE__ */ e("h3", { className: "select-panel__title", children: n }),
@@ -3181,15 +3181,15 @@ const Ar = P(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
3181
3181
  )
3182
3182
  }
3183
3183
  );
3184
- }), Ir = P(function({ title: n, help: l, description: c, action: s, collapsible: a = !1, defaultOpen: o = !0, children: i, className: r, ...d }, p) {
3184
+ }), Ir = P(function({ title: n, help: l, description: c, action: s, collapsible: a = !1, defaultOpen: o = !0, children: i, className: r, ...d }, h) {
3185
3185
  const [u, f] = T(o);
3186
- return a ? /* @__PURE__ */ m("div", { ref: p, ...d, className: `select-section select-section--collapsible${u ? " is-open" : ""}${r ? " " + r : ""}`, children: [
3186
+ return a ? /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-section select-section--collapsible${u ? " is-open" : ""}${r ? " " + r : ""}`, children: [
3187
3187
  /* @__PURE__ */ m("button", { type: "button", className: "select-section__head select-section__head--toggle", "aria-expanded": u, onClick: () => f((g) => !g), children: [
3188
3188
  n && /* @__PURE__ */ e("span", { className: "select-section__title", children: n }),
3189
3189
  /* @__PURE__ */ e("span", { className: "select-section__chevron", "aria-hidden": "true", children: /* @__PURE__ */ e(be, {}) })
3190
3190
  ] }),
3191
3191
  /* @__PURE__ */ e("div", { className: "select-section__collapse", "data-open": u, "aria-hidden": !u, children: /* @__PURE__ */ e("div", { className: "select-section__collapsewrap", children: /* @__PURE__ */ e("div", { className: "select-section__body", children: i }) }) })
3192
- ] }) : /* @__PURE__ */ m("div", { ref: p, ...d, className: `select-section${r ? " " + r : ""}`, children: [
3192
+ ] }) : /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-section${r ? " " + r : ""}`, children: [
3193
3193
  (n || c || s) && /* @__PURE__ */ m("div", { className: "select-section__head", children: [
3194
3194
  /* @__PURE__ */ m("div", { className: "select-section__heading", children: [
3195
3195
  n && /* @__PURE__ */ m("h2", { className: `select-section__title${l != null ? " select-section__title--help" : ""}`, children: [
@@ -3206,10 +3206,10 @@ const Ar = P(function({ children: n, tone: l = "neutral", hideIcon: c = !1, clas
3206
3206
  function Pr({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
3207
3207
  const o = Y(null), [i, r] = T({ left: 0, width: 0 });
3208
3208
  Ee(() => {
3209
- const p = o.current;
3210
- if (!p) return;
3209
+ const h = o.current;
3210
+ if (!h) return;
3211
3211
  const u = () => {
3212
- const g = p.querySelector(".select-tab--active");
3212
+ const g = h.querySelector(".select-tab--active");
3213
3213
  if (!g) {
3214
3214
  r((N) => N.width === 0 ? N : { left: N.left, width: 0 });
3215
3215
  return;
@@ -3219,15 +3219,15 @@ function Pr({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
3219
3219
  };
3220
3220
  u();
3221
3221
  const f = typeof ResizeObserver < "u" ? new ResizeObserver(u) : null;
3222
- return f == null || f.observe(p), () => f == null ? void 0 : f.disconnect();
3222
+ return f == null || f.observe(h), () => f == null ? void 0 : f.disconnect();
3223
3223
  }, [n, t.length]);
3224
3224
  const d = {
3225
3225
  "--tab-ind-left": `${i.left}px`,
3226
3226
  "--tab-ind-width": `${i.width}px`
3227
3227
  };
3228
3228
  return /* @__PURE__ */ m("div", { ...a, className: `select-tabs${s ? " " + s : ""}`, role: "tablist", ref: o, style: d, children: [
3229
- t.map((p) => {
3230
- const u = p.id === n;
3229
+ t.map((h) => {
3230
+ const u = h.id === n;
3231
3231
  return /* @__PURE__ */ m(
3232
3232
  "button",
3233
3233
  {
@@ -3235,13 +3235,13 @@ function Pr({ tabs: t, value: n, onChange: l, end: c, className: s, ...a }) {
3235
3235
  role: "tab",
3236
3236
  "aria-selected": u,
3237
3237
  className: `select-tab${u ? " select-tab--active" : ""}`,
3238
- onClick: () => l(p.id),
3238
+ onClick: () => l(h.id),
3239
3239
  children: [
3240
- p.dot && /* @__PURE__ */ e("span", { className: `select-tab__dot select-tab__dot--${p.dot}`, "aria-hidden": "true" }),
3241
- p.label
3240
+ h.dot && /* @__PURE__ */ e("span", { className: `select-tab__dot select-tab__dot--${h.dot}`, "aria-hidden": "true" }),
3241
+ h.label
3242
3242
  ]
3243
3243
  },
3244
- p.id
3244
+ h.id
3245
3245
  );
3246
3246
  }),
3247
3247
  c != null && /* @__PURE__ */ e("div", { className: "select-tabs__end", children: c })
@@ -3260,11 +3260,11 @@ function is({
3260
3260
  te(() => {
3261
3261
  o(s);
3262
3262
  }, [s]);
3263
- const i = c || a, r = Y(null), [d, p] = T(null);
3263
+ const i = c || a, r = Y(null), [d, h] = T(null);
3264
3264
  return Ee(() => {
3265
3265
  var f;
3266
3266
  const u = (f = r.current) == null ? void 0 : f.querySelector(".select-sidenav__item--child.is-active");
3267
- p(u && i ? u.offsetTop + u.offsetHeight / 2 : null);
3267
+ h(u && i ? u.offsetTop + u.offsetHeight / 2 : null);
3268
3268
  }, [n, i]), /* @__PURE__ */ m("div", { className: "select-sidenav__group", children: [
3269
3269
  /* @__PURE__ */ m(
3270
3270
  "button",
@@ -3312,18 +3312,18 @@ const Rr = P(function({ sections: n, active: l, onSelect: c, header: s, classNam
3312
3312
  n.map((r, d) => /* @__PURE__ */ m("div", { className: "select-sidenav__section", children: [
3313
3313
  r.label && /* @__PURE__ */ e("div", { className: "select-sidenav__sectionlabel", children: r.label }),
3314
3314
  r.items.map(
3315
- (p) => p.children ? /* @__PURE__ */ e(is, { item: p, active: l, onSelect: c }, p.id) : /* @__PURE__ */ m(
3315
+ (h) => h.children ? /* @__PURE__ */ e(is, { item: h, active: l, onSelect: c }, h.id) : /* @__PURE__ */ m(
3316
3316
  "button",
3317
3317
  {
3318
3318
  type: "button",
3319
- className: `select-sidenav__item${p.id === l ? " is-active" : ""}`,
3320
- onClick: () => c(p.id),
3319
+ className: `select-sidenav__item${h.id === l ? " is-active" : ""}`,
3320
+ onClick: () => c(h.id),
3321
3321
  children: [
3322
- p.icon && /* @__PURE__ */ e("span", { className: "select-sidenav__icon", children: p.icon }),
3323
- /* @__PURE__ */ e("span", { className: "select-sidenav__label", children: p.label })
3322
+ h.icon && /* @__PURE__ */ e("span", { className: "select-sidenav__icon", children: h.icon }),
3323
+ /* @__PURE__ */ e("span", { className: "select-sidenav__label", children: h.label })
3324
3324
  ]
3325
3325
  },
3326
- p.id
3326
+ h.id
3327
3327
  )
3328
3328
  )
3329
3329
  ] }, d))
@@ -3343,9 +3343,9 @@ const Rr = P(function({ sections: n, active: l, onSelect: c, header: s, classNam
3343
3343
  ),
3344
3344
  s && /* @__PURE__ */ e("kbd", { className: "select-search__kbd", children: s })
3345
3345
  ] });
3346
- }), ds = P(function({ columns: n, children: l, empty: c, footer: s, title: a, help: o, action: i, filters: r, className: d, ...p }, u) {
3346
+ }), ds = P(function({ columns: n, children: l, empty: c, footer: s, title: a, help: o, action: i, filters: r, className: d, ...h }, u) {
3347
3347
  const f = El.count(l) === 0, g = f && !!c, v = a != null || i != null || r != null, x = g && !v, N = Ft({ selector: ".select-table__row", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 }), k = n.length ? n.map((_) => _.width ?? "minmax(var(--select-table-col-min, 6.5rem), 1fr)").join(" ") : "1fr";
3348
- return /* @__PURE__ */ m("div", { ref: u, ...p, className: `select-table${x ? " select-table--empty" : ""}${d ? " " + d : ""}`, style: { "--select-table-cols": k }, children: [
3348
+ return /* @__PURE__ */ m("div", { ref: u, ...h, className: `select-table${x ? " select-table--empty" : ""}${d ? " " + d : ""}`, style: { "--select-table-cols": k }, children: [
3349
3349
  v && /* @__PURE__ */ m("div", { className: "select-table__title", children: [
3350
3350
  a != null && /* @__PURE__ */ m("h3", { className: `select-table__titletext${o != null ? " select-table__titletext--help" : ""}`, children: [
3351
3351
  a,
@@ -3355,7 +3355,7 @@ const Rr = P(function({ sections: n, active: l, onSelect: c, header: s, classNam
3355
3355
  i
3356
3356
  ] }),
3357
3357
  /* @__PURE__ */ e("div", { className: `select-table__scroll${g ? " select-table__scroll--empty" : ""}`, children: /* @__PURE__ */ m("div", { className: "select-table__scrollinner", children: [
3358
- !g && /* @__PURE__ */ e("div", { className: "select-table__head", role: "row", children: n.map((_, h) => /* @__PURE__ */ e(
3358
+ !g && /* @__PURE__ */ e("div", { className: "select-table__head", role: "row", children: n.map((_, p) => /* @__PURE__ */ e(
3359
3359
  "div",
3360
3360
  {
3361
3361
  role: "columnheader",
@@ -3374,7 +3374,7 @@ const Rr = P(function({ sections: n, active: l, onSelect: c, header: s, classNam
3374
3374
  }
3375
3375
  ) : _.label
3376
3376
  },
3377
- h
3377
+ p
3378
3378
  )) }),
3379
3379
  /* @__PURE__ */ e("div", { className: "select-table__body", children: /* @__PURE__ */ e("div", { className: "select-table__rows", ref: N, children: f && c ? /* @__PURE__ */ e("div", { className: "select-table__empty", children: c }) : l }) })
3380
3380
  ] }) }),
@@ -3420,7 +3420,7 @@ const ms = P(function({ children: n, onClick: l, active: c = !1, className: s, .
3420
3420
  ] });
3421
3421
  }), Wr = P(function({ children: n, onClick: l, active: c = !1, className: s, ...a }, o) {
3422
3422
  return /* @__PURE__ */ m("button", { ref: o, ...a, type: "button", className: `select-chip${c ? " select-chip--active" : ""}${s ? " " + s : ""}`, onClick: l, children: [
3423
- !c && /* @__PURE__ */ e("span", { className: "select-chip__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(nt, {}) }),
3423
+ !c && /* @__PURE__ */ e("span", { className: "select-chip__icon", "aria-hidden": "true", children: /* @__PURE__ */ e(Je, {}) }),
3424
3424
  n
3425
3425
  ] });
3426
3426
  }), Or = P(function({ label: n, value: l, href: c, onCopy: s, className: a, ...o }, i) {
@@ -3471,7 +3471,7 @@ function Hr({
3471
3471
  const jr = P(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !1, className: a, ...o }, i) {
3472
3472
  const [r, d] = T(c);
3473
3473
  return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-collapsible${s ? " select-collapsible--plain" : ""}${r ? " is-open" : ""}${a ? " " + a : ""}`, children: [
3474
- /* @__PURE__ */ m("button", { type: "button", className: "select-collapsible__header", onClick: () => d((p) => !p), "aria-expanded": r, children: [
3474
+ /* @__PURE__ */ m("button", { type: "button", className: "select-collapsible__header", onClick: () => d((h) => !h), "aria-expanded": r, children: [
3475
3475
  /* @__PURE__ */ e("span", { className: "select-collapsible__title", children: n }),
3476
3476
  /* @__PURE__ */ e("span", { className: "select-collapsible__chevron", "aria-hidden": "true", children: /* @__PURE__ */ e(be, {}) })
3477
3477
  ] }),
@@ -3487,8 +3487,8 @@ const jr = P(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
3487
3487
  ] }),
3488
3488
  s && /* @__PURE__ */ e("div", { className: "select-actioncard__action", children: s })
3489
3489
  ] });
3490
- }), Zr = P(function({ media: n, sublabel: l, title: c, badge: s, meta: a, accent: o = !0, onClick: i, className: r, ...d }, p) {
3491
- return /* @__PURE__ */ m("button", { ref: p, ...d, type: "button", className: `select-tile${r ? " " + r : ""}`, onClick: i, children: [
3490
+ }), Zr = P(function({ media: n, sublabel: l, title: c, badge: s, meta: a, accent: o = !0, onClick: i, className: r, ...d }, h) {
3491
+ return /* @__PURE__ */ m("button", { ref: h, ...d, type: "button", className: `select-tile${r ? " " + r : ""}`, onClick: i, children: [
3492
3492
  o && /* @__PURE__ */ e("span", { className: "select-tile__accent", "aria-hidden": "true" }),
3493
3493
  /* @__PURE__ */ m("div", { className: "select-tile__main", children: [
3494
3494
  /* @__PURE__ */ m("div", { className: "select-tile__media", children: [
@@ -3504,7 +3504,7 @@ const jr = P(function({ title: n, children: l, defaultOpen: c = !1, plain: s = !
3504
3504
  ] });
3505
3505
  }), Gr = P(function({ label: n, onClick: l, className: c, ...s }, a) {
3506
3506
  return /* @__PURE__ */ m("button", { ref: a, ...s, type: "button", className: `select-tile select-tile--create${c ? " " + c : ""}`, onClick: l, children: [
3507
- /* @__PURE__ */ e("span", { className: "select-tile__plus", "aria-hidden": "true", children: /* @__PURE__ */ e(nt, {}) }),
3507
+ /* @__PURE__ */ e("span", { className: "select-tile__plus", "aria-hidden": "true", children: /* @__PURE__ */ e(Je, {}) }),
3508
3508
  /* @__PURE__ */ e("span", { className: "select-tile__createlabel", children: n })
3509
3509
  ] });
3510
3510
  }), Ur = P(function({ avatar: n, name: l, badge: c, onClick: s, className: a, ...o }, i) {
@@ -3526,7 +3526,7 @@ function Rt({
3526
3526
  size: i = "md",
3527
3527
  showClose: r = !0,
3528
3528
  noise: d = !0,
3529
- dividedHeader: p = !1,
3529
+ dividedHeader: h = !1,
3530
3530
  theme: u = "light"
3531
3531
  }) {
3532
3532
  const [f, g] = T(t), [v, x] = T(!1);
@@ -3546,12 +3546,12 @@ function Rt({
3546
3546
  b.key === "Escape" && n();
3547
3547
  };
3548
3548
  document.addEventListener("keydown", _);
3549
- const h = document.body.style.overflow;
3549
+ const p = document.body.style.overflow;
3550
3550
  return document.body.style.overflow = "hidden", () => {
3551
- document.removeEventListener("keydown", _), document.body.style.overflow = h;
3551
+ document.removeEventListener("keydown", _), document.body.style.overflow = p;
3552
3552
  };
3553
3553
  }, [f, n]), !f) return null;
3554
- const N = r && /* @__PURE__ */ e("button", { type: "button", className: "select-modal__close", "aria-label": "Fechar", onClick: n, children: /* @__PURE__ */ e(Ke, {}) }), k = `select-modal__header${p ? " select-modal__header--divided" : ""}`;
3554
+ const N = r && /* @__PURE__ */ e("button", { type: "button", className: "select-modal__close", "aria-label": "Fechar", onClick: n, children: /* @__PURE__ */ e(Ke, {}) }), k = `select-modal__header${h ? " select-modal__header--divided" : ""}`;
3555
3555
  return Et(
3556
3556
  /* @__PURE__ */ e(
3557
3557
  "div",
@@ -3664,7 +3664,7 @@ function zr({
3664
3664
  cancelLabel: i = "Cancelar",
3665
3665
  submitting: r = !1,
3666
3666
  submitDisabled: d = !1,
3667
- submitVariant: p = "primary",
3667
+ submitVariant: h = "primary",
3668
3668
  error: u,
3669
3669
  size: f = "md",
3670
3670
  theme: g
@@ -3683,7 +3683,7 @@ function zr({
3683
3683
  /* @__PURE__ */ e(
3684
3684
  ve,
3685
3685
  {
3686
- variant: p,
3686
+ variant: h,
3687
3687
  size: "sm",
3688
3688
  inline: !0,
3689
3689
  loading: r,
@@ -3727,8 +3727,8 @@ function vs(t, n, l, c, s, a) {
3727
3727
  o.push(`${t} ${s}`);
3728
3728
  return a && c != null && c > 0 && o.push(`Página ${l} de ${c}`), o.length > 0 ? o.join(" · ") : null;
3729
3729
  }
3730
- const gs = P(function({ page: n, pageCount: l, total: c, pageSize: s, hasPrevious: a, hasNext: o, onPrevious: i, onNext: r, onPage: d, noun: p = "resultados", className: u, ...f }, g) {
3731
- const v = a ?? n > 1, x = o ?? (l != null ? n < l : !0), N = i ?? (d ? () => d(n - 1) : void 0), k = r ?? (d ? () => d(n + 1) : void 0), _ = l != null && l > 1 && d != null, h = _ ? _s(n, l) : [], b = vs(c, s, n, l, p, _);
3730
+ const gs = P(function({ page: n, pageCount: l, total: c, pageSize: s, hasPrevious: a, hasNext: o, onPrevious: i, onNext: r, onPage: d, noun: h = "resultados", className: u, ...f }, g) {
3731
+ const v = a ?? n > 1, x = o ?? (l != null ? n < l : !0), N = i ?? (d ? () => d(n - 1) : void 0), k = r ?? (d ? () => d(n + 1) : void 0), _ = l != null && l > 1 && d != null, p = _ ? _s(n, l) : [], b = vs(c, s, n, l, h, _);
3732
3732
  return /* @__PURE__ */ m("nav", { ref: g, ...f, className: `select-pagination${u ? " " + u : ""}`, "aria-label": "Paginação", children: [
3733
3733
  /* @__PURE__ */ m("div", { className: "select-pagination__controls", children: [
3734
3734
  /* @__PURE__ */ e(
@@ -3742,7 +3742,7 @@ const gs = P(function({ page: n, pageCount: l, total: c, pageSize: s, hasPreviou
3742
3742
  children: /* @__PURE__ */ e(Kt, {})
3743
3743
  }
3744
3744
  ),
3745
- _ ? h.map(
3745
+ _ ? p.map(
3746
3746
  (S, $) => S === "gap" ? /* @__PURE__ */ e("span", { className: "select-pagination__gap", "aria-hidden": "true", children: "…" }, `gap-${$}`) : /* @__PURE__ */ e(
3747
3747
  "button",
3748
3748
  {
@@ -3820,10 +3820,10 @@ function Jr({
3820
3820
  title: i,
3821
3821
  help: r,
3822
3822
  action: d,
3823
- filters: p,
3823
+ filters: h,
3824
3824
  columnsKey: u
3825
3825
  }) {
3826
- const [f, g] = T(() => u ? bs(u) : []), [v, x] = T(!1), [N, k] = T(!1), _ = ye(() => new Set(f), [f]), h = t.filter($n), b = h.length > 0 && h.every((R) => _.has(R.key)), S = (R) => !b && _.has(R.key) && $n(R), $ = t.filter((R) => !S(R)), M = h.filter((R) => !S(R)), [w, y] = T(null), C = (R) => {
3826
+ const [f, g] = T(() => u ? bs(u) : []), [v, x] = T(!1), [N, k] = T(!1), _ = ye(() => new Set(f), [f]), p = t.filter($n), b = p.length > 0 && p.every((R) => _.has(R.key)), S = (R) => !b && _.has(R.key) && $n(R), $ = t.filter((R) => !S(R)), M = p.filter((R) => !S(R)), [w, y] = T(null), C = (R) => {
3827
3827
  g((D) => {
3828
3828
  const O = !D.includes(R.key), G = O ? [...D, R.key] : D.filter((q) => q !== R.key);
3829
3829
  return u && ys(u, G), O && y((q) => q && q.key === R.key ? null : q), G;
@@ -3845,7 +3845,7 @@ function Jr({
3845
3845
  sortable: !!R.sortValue,
3846
3846
  sortDir: (w == null ? void 0 : w.key) === R.key ? w.dir : null,
3847
3847
  onSort: R.sortValue ? () => L(R) : void 0
3848
- })), F = !c && s ? /* @__PURE__ */ e(us, { icon: s.icon, title: s.heading, subtitle: s.text, action: s.action }) : void 0, W = u && h.length > 0 ? /* @__PURE__ */ e(
3848
+ })), F = !c && s ? /* @__PURE__ */ e(us, { icon: s.icon, title: s.heading, subtitle: s.text, action: s.action }) : void 0, W = u && p.length > 0 ? /* @__PURE__ */ e(
3849
3849
  We,
3850
3850
  {
3851
3851
  active: v,
@@ -3863,7 +3863,7 @@ function Jr({
3863
3863
  onClick: () => x((R) => !R)
3864
3864
  }
3865
3865
  ),
3866
- children: /* @__PURE__ */ e("div", { className: "select-facet__panel", children: /* @__PURE__ */ e("div", { className: "select-facet__options", role: "menu", children: h.map((R) => {
3866
+ children: /* @__PURE__ */ e("div", { className: "select-facet__panel", children: /* @__PURE__ */ e("div", { className: "select-facet__options", role: "menu", children: p.map((R) => {
3867
3867
  const D = !S(R), O = D && M.length === 1;
3868
3868
  return /* @__PURE__ */ m(
3869
3869
  "button",
@@ -3885,7 +3885,7 @@ function Jr({
3885
3885
  }
3886
3886
  ) : null;
3887
3887
  return /* @__PURE__ */ m("div", { className: "select-datatable", children: [
3888
- /* @__PURE__ */ e(ds, { columns: E, empty: F, title: i, help: r, filters: p, action: W ? /* @__PURE__ */ m("span", { className: "select-datatable__toolbar", children: [
3888
+ /* @__PURE__ */ e(ds, { columns: E, empty: F, title: i, help: r, filters: h, action: W ? /* @__PURE__ */ m("span", { className: "select-datatable__toolbar", children: [
3889
3889
  d,
3890
3890
  W
3891
3891
  ] }) : d, children: c ? Array.from({ length: 5 }, (R, D) => /* @__PURE__ */ e(Nn, { children: $.map((O, G) => /* @__PURE__ */ e(Mn, { align: O.align, width: O.width, children: /* @__PURE__ */ e("span", { className: "select-skeleton select-datatable__skel" }) }, G)) }, `skeleton-${D}`)) : A.map((R) => /* @__PURE__ */ e(Nn, { onClick: o ? () => o(R) : void 0, children: $.map((D, O) => /* @__PURE__ */ e(Mn, { align: D.align, width: D.width, children: D.render(R) }, O)) }, l(R))) }),
@@ -3984,8 +3984,8 @@ function ws(t, n) {
3984
3984
  const l = `${Te(t.getDate())}/${Te(t.getMonth() + 1)}/${t.getFullYear()}`;
3985
3985
  return n ? `${l} ${Te(t.getHours())}:${Te(t.getMinutes())}` : l;
3986
3986
  }
3987
- const ks = P(function({ label: n, value: l, onChange: c, showTime: s = !1, placeholder: a, required: o, disabled: i, error: r, hint: d, minDate: p, maxDate: u, clearable: f = !0, id: g, className: v, ...x }, N) {
3988
- const k = ne(), _ = g ?? k, [h, b] = T(!1), S = $s(l), [$, M] = T(() => vt(S ?? /* @__PURE__ */ new Date())), w = p ? ct(p) : null, y = u ? ct(u) : null, C = (D) => !!w && ct(D) < w || !!y && ct(D) > y, L = kn(vt($), -vt($).getDay()), B = Array.from({ length: 42 }, (D, O) => kn(L, O)), A = ct(/* @__PURE__ */ new Date()), E = () => {
3987
+ const ks = P(function({ label: n, value: l, onChange: c, showTime: s = !1, placeholder: a, required: o, disabled: i, error: r, hint: d, minDate: h, maxDate: u, clearable: f = !0, id: g, className: v, ...x }, N) {
3988
+ const k = ne(), _ = g ?? k, [p, b] = T(!1), S = $s(l), [$, M] = T(() => vt(S ?? /* @__PURE__ */ new Date())), w = h ? ct(h) : null, y = u ? ct(u) : null, C = (D) => !!w && ct(D) < w || !!y && ct(D) > y, L = kn(vt($), -vt($).getDay()), B = Array.from({ length: 42 }, (D, O) => kn(L, O)), A = ct(/* @__PURE__ */ new Date()), E = () => {
3989
3989
  i || (M(vt(S ?? /* @__PURE__ */ new Date())), b((D) => !D));
3990
3990
  }, F = (D) => {
3991
3991
  if (C(D)) return;
@@ -4006,7 +4006,7 @@ const ks = P(function({ label: n, value: l, onChange: c, showTime: s = !1, place
4006
4006
  onClick: E,
4007
4007
  disabled: i,
4008
4008
  "aria-haspopup": "dialog",
4009
- "aria-expanded": h,
4009
+ "aria-expanded": p,
4010
4010
  "aria-invalid": r ? !0 : void 0,
4011
4011
  children: S ? ws(S, s) : /* @__PURE__ */ e("span", { className: "select-datefield__ph", children: a ?? (s ? "Selecione data e hora" : "Selecione uma data") })
4012
4012
  }
@@ -4015,7 +4015,7 @@ const ks = P(function({ label: n, value: l, onChange: c, showTime: s = !1, place
4015
4015
  ] });
4016
4016
  return /* @__PURE__ */ m("div", { ref: N, ...x, className: `select-field${v ? " " + v : ""}`, children: [
4017
4017
  n && /* @__PURE__ */ e(lt, { htmlFor: _, label: o ? `${n} *` : n }),
4018
- /* @__PURE__ */ e("div", { className: "select-datefield", children: /* @__PURE__ */ e(We, { active: h, onClose: () => b(!1), placement: "bottom-start", role: "dialog", activator: R, children: /* @__PURE__ */ m("div", { className: "select-datefield__pop", children: [
4018
+ /* @__PURE__ */ e("div", { className: "select-datefield", children: /* @__PURE__ */ e(We, { active: p, onClose: () => b(!1), placement: "bottom-start", role: "dialog", activator: R, children: /* @__PURE__ */ m("div", { className: "select-datefield__pop", children: [
4019
4019
  /* @__PURE__ */ m("div", { className: "select-datepicker__calhead", children: [
4020
4020
  /* @__PURE__ */ e("button", { type: "button", className: "select-datepicker__nav", "aria-label": "Mês anterior", onClick: () => M((D) => Sn(D, -1)), children: /* @__PURE__ */ e(Kt, {}) }),
4021
4021
  /* @__PURE__ */ m("span", { className: "select-datepicker__monthlabel", children: [
@@ -4073,7 +4073,7 @@ function Ss({
4073
4073
  te(() => {
4074
4074
  c || r("");
4075
4075
  }, [c]);
4076
- const d = n.trim() !== "", p = d ? xl(t, n) : null, u = d && !!t.error, f = t.options ?? [], g = f.length > 7, v = g ? f.filter((x) => x.label.toLowerCase().includes(i.trim().toLowerCase())) : f;
4076
+ const d = n.trim() !== "", h = d ? xl(t, n) : null, u = d && !!t.error, f = t.options ?? [], g = f.length > 7, v = g ? f.filter((x) => x.label.toLowerCase().includes(i.trim().toLowerCase())) : f;
4077
4077
  return /* @__PURE__ */ m(
4078
4078
  We,
4079
4079
  {
@@ -4091,7 +4091,7 @@ function Ss({
4091
4091
  "aria-invalid": u || void 0,
4092
4092
  title: u ? t.error : void 0,
4093
4093
  children: [
4094
- /* @__PURE__ */ e("span", { className: "select-facet__label", children: p != null ? `${t.label}: ${p}` : t.label }),
4094
+ /* @__PURE__ */ e("span", { className: "select-facet__label", children: h != null ? `${t.label}: ${h}` : t.label }),
4095
4095
  /* @__PURE__ */ e("span", { className: `select-facet__caret${c ? " is-open" : ""}`, "aria-hidden": "true", children: /* @__PURE__ */ e(be, {}) })
4096
4096
  ]
4097
4097
  }
@@ -4146,7 +4146,7 @@ function Ss({
4146
4146
  );
4147
4147
  }
4148
4148
  const Qr = P(function({ filters: n, values: l, onChange: c, onClearAll: s, search: a, disabled: o, className: i, ...r }, d) {
4149
- const [p, u] = T([]), [f, g] = T(null), [v, x] = T(!1), N = (M) => (l[M.key] ?? "").trim() !== "", k = (M) => !!M.pinned || N(M) || p.includes(M.key), _ = n.filter(k), h = n.filter((M) => !k(M)), b = n.filter(N), S = () => {
4149
+ const [h, u] = T([]), [f, g] = T(null), [v, x] = T(!1), N = (M) => (l[M.key] ?? "").trim() !== "", k = (M) => !!M.pinned || N(M) || h.includes(M.key), _ = n.filter(k), p = n.filter((M) => !k(M)), b = n.filter(N), S = () => {
4150
4150
  u([]), g(null), s();
4151
4151
  }, $ = (M) => {
4152
4152
  u((w) => w.includes(M) ? w : [...w, M]), x(!1), g(M);
@@ -4190,7 +4190,7 @@ const Qr = P(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
4190
4190
  },
4191
4191
  M.key
4192
4192
  )),
4193
- h.length > 0 && /* @__PURE__ */ e(
4193
+ p.length > 0 && /* @__PURE__ */ e(
4194
4194
  We,
4195
4195
  {
4196
4196
  active: v,
@@ -4205,12 +4205,12 @@ const Qr = P(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
4205
4205
  disabled: o,
4206
4206
  "aria-expanded": v,
4207
4207
  children: [
4208
- /* @__PURE__ */ e("span", { className: "select-facet__addicon", "aria-hidden": "true", children: /* @__PURE__ */ e(nt, {}) }),
4208
+ /* @__PURE__ */ e("span", { className: "select-facet__addicon", "aria-hidden": "true", children: /* @__PURE__ */ e(Je, {}) }),
4209
4209
  "Mais filtros"
4210
4210
  ]
4211
4211
  }
4212
4212
  ),
4213
- children: /* @__PURE__ */ e("div", { className: "select-facet__options", role: "menu", children: h.map((M) => /* @__PURE__ */ e(
4213
+ children: /* @__PURE__ */ e("div", { className: "select-facet__options", role: "menu", children: p.map((M) => /* @__PURE__ */ e(
4214
4214
  "button",
4215
4215
  {
4216
4216
  type: "button",
@@ -4256,9 +4256,9 @@ const Qr = P(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
4256
4256
  /* @__PURE__ */ e("button", { type: "button", className: "select-filterbar__clear", onClick: S, children: "Limpar tudo" })
4257
4257
  ] })
4258
4258
  ] });
4259
- }), e1 = P(function({ label: n, options: l, selected: c, onChange: s, placeholder: a = "Selecionar…", hint: o, error: i, onBlur: r, size: d = "md", className: p, ...u }, f) {
4260
- const [g, v] = T(!1), [x, N] = T(""), k = l.filter((b) => b.label.toLowerCase().includes(x.trim().toLowerCase())), _ = (b) => s(c.includes(b) ? c.filter((S) => S !== b) : [...c, b]), h = c.map((b) => l.find((S) => S.value === b)).filter((b) => b != null);
4261
- return /* @__PURE__ */ m("div", { ref: f, ...u, className: `select-field${d === "sm" ? " select-field--sm" : ""}${p ? " " + p : ""}`, children: [
4259
+ }), eo = P(function({ label: n, options: l, selected: c, onChange: s, placeholder: a = "Selecionar…", hint: o, error: i, onBlur: r, size: d = "md", className: h, ...u }, f) {
4260
+ const [g, v] = T(!1), [x, N] = T(""), k = l.filter((b) => b.label.toLowerCase().includes(x.trim().toLowerCase())), _ = (b) => s(c.includes(b) ? c.filter((S) => S !== b) : [...c, b]), p = c.map((b) => l.find((S) => S.value === b)).filter((b) => b != null);
4261
+ return /* @__PURE__ */ m("div", { ref: f, ...u, className: `select-field${d === "sm" ? " select-field--sm" : ""}${h ? " " + h : ""}`, children: [
4262
4262
  n && /* @__PURE__ */ e("div", { className: "select-field__labelrow", children: /* @__PURE__ */ e("span", { className: "select-field__label", children: n }) }),
4263
4263
  /* @__PURE__ */ e(
4264
4264
  We,
@@ -4284,7 +4284,7 @@ const Qr = P(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
4284
4284
  (b.key === "Enter" || b.key === " ") && (b.preventDefault(), v(!0));
4285
4285
  },
4286
4286
  children: [
4287
- h.length === 0 ? /* @__PURE__ */ e("span", { className: "select-tagselect__placeholder", children: a }) : h.map((b) => /* @__PURE__ */ m("span", { className: "select-tagselect__chip", children: [
4287
+ p.length === 0 ? /* @__PURE__ */ e("span", { className: "select-tagselect__placeholder", children: a }) : p.map((b) => /* @__PURE__ */ m("span", { className: "select-tagselect__chip", children: [
4288
4288
  b.label,
4289
4289
  /* @__PURE__ */ e(
4290
4290
  "button",
@@ -4332,7 +4332,7 @@ const Qr = P(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
4332
4332
  ),
4333
4333
  i ? /* @__PURE__ */ e("p", { className: "select-field__error", children: i }) : o ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: o }) : null
4334
4334
  ] });
4335
- }), t1 = P(function({ title: n, description: l, headerAction: c, footer: s, children: a, flush: o = !1, className: i, ...r }, d) {
4335
+ }), to = P(function({ title: n, description: l, headerAction: c, footer: s, children: a, flush: o = !1, className: i, ...r }, d) {
4336
4336
  return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-surface${i ? " " + i : ""}`, children: [
4337
4337
  (n || l || c) && /* @__PURE__ */ m("div", { className: "select-surface__header", children: [
4338
4338
  /* @__PURE__ */ m("div", { className: "select-surface__heading", children: [
@@ -4345,42 +4345,42 @@ const Qr = P(function({ filters: n, values: l, onChange: c, onClearAll: s, searc
4345
4345
  s && /* @__PURE__ */ e("div", { className: "select-surface__footer", children: s })
4346
4346
  ] });
4347
4347
  }), Nl = Xt(null), Cs = 220, Ls = 4e3, As = 8, Es = 0.04, Bs = 5;
4348
- function n1({ children: t }) {
4348
+ function no({ children: t }) {
4349
4349
  const [n, l] = T([]), c = Y(0), s = Y(/* @__PURE__ */ new Map()), a = Fe((d) => {
4350
- l((p) => p.filter((u) => u.id !== d)), s.current.delete(d);
4350
+ l((h) => h.filter((u) => u.id !== d)), s.current.delete(d);
4351
4351
  }, []), o = Fe(
4352
4352
  (d) => {
4353
- const p = s.current.get(d);
4354
- p && clearTimeout(p), l((u) => u.map((f) => f.id === d ? { ...f, exiting: !0 } : f)), s.current.set(d, setTimeout(() => a(d), Cs));
4353
+ const h = s.current.get(d);
4354
+ h && clearTimeout(h), l((u) => u.map((f) => f.id === d ? { ...f, exiting: !0 } : f)), s.current.set(d, setTimeout(() => a(d), Cs));
4355
4355
  },
4356
4356
  [a]
4357
4357
  ), i = Fe(
4358
- (d, p) => {
4359
- const u = ++c.current, f = (p == null ? void 0 : p.duration) ?? Ls;
4360
- l((g) => [...g, { id: u, content: d, variant: (p == null ? void 0 : p.variant) ?? "neutral" }]), f > 0 && s.current.set(u, setTimeout(() => o(u), f));
4358
+ (d, h) => {
4359
+ const u = ++c.current, f = (h == null ? void 0 : h.duration) ?? Ls;
4360
+ l((g) => [...g, { id: u, content: d, variant: (h == null ? void 0 : h.variant) ?? "neutral" }]), f > 0 && s.current.set(u, setTimeout(() => o(u), f));
4361
4361
  },
4362
4362
  [o]
4363
4363
  );
4364
4364
  te(() => {
4365
4365
  const d = s.current;
4366
4366
  return () => {
4367
- d.forEach((p) => clearTimeout(p)), d.clear();
4367
+ d.forEach((h) => clearTimeout(h)), d.clear();
4368
4368
  };
4369
4369
  }, []);
4370
4370
  const r = ye(
4371
4371
  () => ({
4372
4372
  show: i,
4373
- success: (d, p) => i(d, { variant: "success", duration: p }),
4374
- error: (d, p) => i(d, { variant: "error", duration: p }),
4375
- info: (d, p) => i(d, { variant: "info", duration: p })
4373
+ success: (d, h) => i(d, { variant: "success", duration: h }),
4374
+ error: (d, h) => i(d, { variant: "error", duration: h }),
4375
+ info: (d, h) => i(d, { variant: "info", duration: h })
4376
4376
  }),
4377
4377
  [i]
4378
4378
  );
4379
4379
  return /* @__PURE__ */ m(Nl.Provider, { value: r, children: [
4380
4380
  t,
4381
4381
  n.length > 0 && Et(
4382
- /* @__PURE__ */ e("div", { className: "select select-toasts", role: "region", "aria-live": "polite", "aria-label": "Notificações", children: n.map((d, p) => {
4383
- const u = n.length - 1 - p, f = d.exiting || u >= Bs, g = {
4382
+ /* @__PURE__ */ e("div", { className: "select select-toasts", role: "region", "aria-live": "polite", "aria-label": "Notificações", children: n.map((d, h) => {
4383
+ const u = n.length - 1 - h, f = d.exiting || u >= Bs, g = {
4384
4384
  transform: `translate(-50%, ${-u * As}px) scale(${1 - u * Es})`,
4385
4385
  opacity: f ? 0 : 1,
4386
4386
  zIndex: 1e3 - u,
@@ -4395,13 +4395,13 @@ function n1({ children: t }) {
4395
4395
  )
4396
4396
  ] });
4397
4397
  }
4398
- function l1() {
4398
+ function lo() {
4399
4399
  const t = zt(Nl);
4400
4400
  if (!t) throw new Error("useSelectToast must be used within a SelectToastProvider");
4401
4401
  return t;
4402
4402
  }
4403
- const Fs = { desktop: "100%", mobile: 390 }, c1 = P(function({ src: n, title: l = "Pré-visualização", height: c = 560, initialDevice: s = "desktop", showDeviceToggle: a = !0, emptyLabel: o = "Salve para gerar a pré-visualização.", className: i, ...r }, d) {
4404
- const [p, u] = T(s), [f, g] = T(0), [v, x] = T(!0), N = n ? `${n}${n.includes("?") ? "&" : "?"}_pv=${f}` : "", k = () => {
4403
+ const Fs = { desktop: "100%", mobile: 390 }, co = P(function({ src: n, title: l = "Pré-visualização", height: c = 560, initialDevice: s = "desktop", showDeviceToggle: a = !0, emptyLabel: o = "Salve para gerar a pré-visualização.", className: i, ...r }, d) {
4404
+ const [h, u] = T(s), [f, g] = T(0), [v, x] = T(!0), N = n ? `${n}${n.includes("?") ? "&" : "?"}_pv=${f}` : "", k = () => {
4405
4405
  x(!0), g((_) => _ + 1);
4406
4406
  };
4407
4407
  return /* @__PURE__ */ m("div", { ref: d, ...r, className: `select-preview${i ? " " + i : ""}`, children: [
@@ -4415,7 +4415,7 @@ const Fs = { desktop: "100%", mobile: 390 }, c1 = P(function({ src: n, title: l
4415
4415
  size: "sm",
4416
4416
  icon: /* @__PURE__ */ e(Un, {}),
4417
4417
  label: "Visualizar em desktop",
4418
- active: p === "desktop",
4418
+ active: h === "desktop",
4419
4419
  onClick: () => u("desktop")
4420
4420
  }
4421
4421
  ),
@@ -4425,7 +4425,7 @@ const Fs = { desktop: "100%", mobile: 390 }, c1 = P(function({ src: n, title: l
4425
4425
  size: "sm",
4426
4426
  icon: /* @__PURE__ */ e(Kl, {}),
4427
4427
  label: "Visualizar em mobile",
4428
- active: p === "mobile",
4428
+ active: h === "mobile",
4429
4429
  onClick: () => u("mobile")
4430
4430
  }
4431
4431
  )
@@ -4445,7 +4445,7 @@ const Fs = { desktop: "100%", mobile: 390 }, c1 = P(function({ src: n, title: l
4445
4445
  )
4446
4446
  ] })
4447
4447
  ] }),
4448
- /* @__PURE__ */ e("div", { className: "select-preview__stage", style: { height: c }, children: N ? /* @__PURE__ */ m("div", { className: "select-preview__device", style: { width: Fs[p] }, children: [
4448
+ /* @__PURE__ */ e("div", { className: "select-preview__stage", style: { height: c }, children: N ? /* @__PURE__ */ m("div", { className: "select-preview__device", style: { width: Fs[h] }, children: [
4449
4449
  v && /* @__PURE__ */ e("div", { className: "select-preview__loading", children: /* @__PURE__ */ e(ts, {}) }),
4450
4450
  /* @__PURE__ */ e(
4451
4451
  "iframe",
@@ -4483,7 +4483,7 @@ function An(t) {
4483
4483
  } catch {
4484
4484
  }
4485
4485
  }
4486
- function s1({ children: t }) {
4486
+ function so({ children: t }) {
4487
4487
  const [n, l] = T(Ts), c = Fe((o) => {
4488
4488
  l(o), An(o);
4489
4489
  }, []), s = Fe(() => {
@@ -4518,9 +4518,9 @@ const Os = new Intl.NumberFormat("pt-BR", {
4518
4518
  "—",
4519
4519
  c ? ` ${c}` : ""
4520
4520
  ] });
4521
- const i = n === 0, r = n > 0, d = i ? null : l ? !r : r, p = d == null ? "muted" : d ? "up" : "down", u = i ? "" : r ? "▲" : "▼";
4521
+ const i = n === 0, r = n > 0, d = i ? null : l ? !r : r, h = d == null ? "muted" : d ? "up" : "down", u = i ? "" : r ? "▲" : "▼";
4522
4522
  return /* @__PURE__ */ m("span", { ref: o, ...a, className: `select-delta${s ? " " + s : ""}`, children: [
4523
- /* @__PURE__ */ m("span", { className: `select-delta__value select-delta__value--${p}`, children: [
4523
+ /* @__PURE__ */ m("span", { className: `select-delta__value select-delta__value--${h}`, children: [
4524
4524
  u ? `${u} ` : "",
4525
4525
  Os.format(n),
4526
4526
  "%"
@@ -4528,7 +4528,7 @@ const Os = new Intl.NumberFormat("pt-BR", {
4528
4528
  c != null && /* @__PURE__ */ e("span", { className: "select-delta__caption", children: c })
4529
4529
  ] });
4530
4530
  });
4531
- function a1() {
4531
+ function ao() {
4532
4532
  const { hidden: t, toggle: n } = wl();
4533
4533
  return /* @__PURE__ */ e(
4534
4534
  ge,
@@ -4541,7 +4541,7 @@ function a1() {
4541
4541
  }
4542
4542
  );
4543
4543
  }
4544
- const r1 = P(function({ availableCents: n, availableLabel: l = "Saldo disponível", delta: c, buckets: s = [], action: a, className: o, ...i }, r) {
4544
+ const ro = P(function({ availableCents: n, availableLabel: l = "Saldo disponível", delta: c, buckets: s = [], action: a, className: o, ...i }, r) {
4545
4545
  return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-balance${o ? " " + o : ""}`, children: [
4546
4546
  /* @__PURE__ */ m("div", { className: "select-balance__head", children: [
4547
4547
  /* @__PURE__ */ e("h3", { className: "select-balance__title", children: l }),
@@ -4572,28 +4572,28 @@ const r1 = P(function({ availableCents: n, availableLabel: l = "Saldo disponíve
4572
4572
  ] }, d.label)) })
4573
4573
  ] })
4574
4574
  ] });
4575
- }), o1 = P(function({ grossCents: n, fees: l, netCents: c, grossLabel: s = "Valor bruto", netLabel: a = "Valor líquido", className: o, ...i }, r) {
4576
- const d = c ?? n - l.reduce((p, u) => p + u.cents, 0);
4575
+ }), oo = P(function({ grossCents: n, fees: l, netCents: c, grossLabel: s = "Valor bruto", netLabel: a = "Valor líquido", className: o, ...i }, r) {
4576
+ const d = c ?? n - l.reduce((h, u) => h + u.cents, 0);
4577
4577
  return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-fees${o ? " " + o : ""}`, children: [
4578
4578
  /* @__PURE__ */ m("div", { className: "select-fees__row", children: [
4579
4579
  /* @__PURE__ */ e("span", { children: s }),
4580
4580
  /* @__PURE__ */ e("span", { children: /* @__PURE__ */ e(at, { cents: n }) })
4581
4581
  ] }),
4582
- l.map((p) => /* @__PURE__ */ m("div", { className: "select-fees__row", children: [
4583
- /* @__PURE__ */ e("span", { children: p.label }),
4582
+ l.map((h) => /* @__PURE__ */ m("div", { className: "select-fees__row", children: [
4583
+ /* @__PURE__ */ e("span", { children: h.label }),
4584
4584
  /* @__PURE__ */ m("span", { className: "select-fees__neg", children: [
4585
4585
  "− ",
4586
- /* @__PURE__ */ e(at, { cents: p.cents })
4586
+ /* @__PURE__ */ e(at, { cents: h.cents })
4587
4587
  ] })
4588
- ] }, p.label)),
4588
+ ] }, h.label)),
4589
4589
  /* @__PURE__ */ e("div", { className: "select-fees__divider" }),
4590
4590
  /* @__PURE__ */ m("div", { className: "select-fees__row select-fees__row--net", children: [
4591
4591
  /* @__PURE__ */ e("span", { children: a }),
4592
4592
  /* @__PURE__ */ e("span", { className: "select-fees__netvalue", children: /* @__PURE__ */ e(at, { cents: d }) })
4593
4593
  ] })
4594
4594
  ] });
4595
- }), i1 = P(function({ label: n, value: l, caption: c, chart: s, help: a, tone: o, bare: i = !1, className: r, ...d }, p) {
4596
- return /* @__PURE__ */ m("div", { ref: p, ...d, className: `select-kpi${i ? " select-kpi--bare" : ""}${r ? " " + r : ""}`, children: [
4595
+ }), io = P(function({ label: n, value: l, caption: c, chart: s, help: a, tone: o, bare: i = !1, className: r, ...d }, h) {
4596
+ return /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-kpi${i ? " select-kpi--bare" : ""}${r ? " " + r : ""}`, children: [
4597
4597
  /* @__PURE__ */ m("span", { className: `select-kpi__label${a != null ? " select-kpi__label--help" : ""}`, children: [
4598
4598
  a != null ? /* @__PURE__ */ e("span", { className: "select-kpi__labeltext", children: n }) : n,
4599
4599
  a != null && /* @__PURE__ */ e(Pt, { content: a, placement: "top-end" })
@@ -4602,7 +4602,7 @@ const r1 = P(function({ availableCents: n, availableLabel: l = "Saldo disponíve
4602
4602
  s != null && /* @__PURE__ */ e("div", { className: "select-kpi__chart", children: s }),
4603
4603
  c != null && /* @__PURE__ */ e("span", { className: "select-kpi__caption", children: c })
4604
4604
  ] });
4605
- }), d1 = P(function({ title: n, caption: l, action: c, help: s, loading: a = !1, hideValues: o = !1, height: i = 260, flush: r = !1, insight: d, insightTone: p = "neutral", children: u, className: f, ...g }, v) {
4605
+ }), uo = P(function({ title: n, caption: l, action: c, help: s, loading: a = !1, hideValues: o = !1, height: i = 260, flush: r = !1, insight: d, insightTone: h = "neutral", children: u, className: f, ...g }, v) {
4606
4606
  const x = i === "auto" ? void 0 : `${i / 16}rem`, N = i === "auto" ? "10rem" : `${i / 16}rem`;
4607
4607
  return /* @__PURE__ */ m("div", { ref: v, ...g, className: `select-chartcard${f ? " " + f : ""}`, children: [
4608
4608
  (n || c || l) && /* @__PURE__ */ m("div", { className: "select-chartcard__head", children: [
@@ -4623,7 +4623,7 @@ const r1 = P(function({ availableCents: n, availableLabel: l = "Saldo disponíve
4623
4623
  children: a ? /* @__PURE__ */ e("div", { className: "select-skeleton select-chartcard__skeleton", style: { height: N } }) : u
4624
4624
  }
4625
4625
  ),
4626
- d != null && !a && /* @__PURE__ */ e("div", { className: `select-chartcard__insight select-chartcard__insight--${p}`, children: (Array.isArray(d) ? d : [d]).filter((k) => k != null).map((k, _) => /* @__PURE__ */ e("span", { className: "select-chartcard__insightpill", children: k }, _)) })
4626
+ d != null && !a && /* @__PURE__ */ e("div", { className: `select-chartcard__insight select-chartcard__insight--${h}`, children: (Array.isArray(d) ? d : [d]).filter((k) => k != null).map((k, _) => /* @__PURE__ */ e("span", { className: "select-chartcard__insightpill", children: k }, _)) })
4627
4627
  ] });
4628
4628
  });
4629
4629
  function js() {
@@ -4692,18 +4692,18 @@ function Ge(t) {
4692
4692
  const o = new Array(n);
4693
4693
  o[0] = a[0], o[n - 1] = a[n - 2];
4694
4694
  for (let r = 1; r < n - 1; r++) {
4695
- const d = a[r - 1], p = a[r];
4696
- if (d * p <= 0)
4695
+ const d = a[r - 1], h = a[r];
4696
+ if (d * h <= 0)
4697
4697
  o[r] = 0;
4698
4698
  else {
4699
4699
  const u = 2 * s[r] + s[r - 1], f = s[r] + 2 * s[r - 1];
4700
- o[r] = (u + f) / (u / d + f / p);
4700
+ o[r] = (u + f) / (u / d + f / h);
4701
4701
  }
4702
4702
  }
4703
4703
  let i = `M${l[0].toFixed(2)},${c[0].toFixed(2)}`;
4704
4704
  for (let r = 0; r < n - 1; r++) {
4705
- const d = l[r] + s[r] / 3, p = c[r] + o[r] * s[r] / 3, u = l[r + 1] - s[r] / 3, f = c[r + 1] - o[r + 1] * s[r] / 3;
4706
- i += ` C${d.toFixed(2)},${p.toFixed(2)} ${u.toFixed(2)},${f.toFixed(2)} ${l[r + 1].toFixed(2)},${c[r + 1].toFixed(2)}`;
4705
+ const d = l[r] + s[r] / 3, h = c[r] + o[r] * s[r] / 3, u = l[r + 1] - s[r] / 3, f = c[r + 1] - o[r + 1] * s[r] / 3;
4706
+ i += ` C${d.toFixed(2)},${h.toFixed(2)} ${u.toFixed(2)},${f.toFixed(2)} ${l[r + 1].toFixed(2)},${c[r + 1].toFixed(2)}`;
4707
4707
  }
4708
4708
  return i;
4709
4709
  }
@@ -4722,8 +4722,8 @@ function gt(t, n, l, c) {
4722
4722
  return [t + l * Math.cos(s), n + l * Math.sin(s)];
4723
4723
  }
4724
4724
  function it(t, n, l, c, s, a) {
4725
- const [o, i] = gt(t, n, l, s), [r, d] = gt(t, n, l, a), [p, u] = gt(t, n, c, a), [f, g] = gt(t, n, c, s), v = a - s > 180 ? 1 : 0;
4726
- return `M${o.toFixed(2)},${i.toFixed(2)} A${l},${l} 0 ${v} 1 ${r.toFixed(2)},${d.toFixed(2)} L${p.toFixed(2)},${u.toFixed(2)} A${c},${c} 0 ${v} 0 ${f.toFixed(2)},${g.toFixed(2)} Z`;
4725
+ const [o, i] = gt(t, n, l, s), [r, d] = gt(t, n, l, a), [h, u] = gt(t, n, c, a), [f, g] = gt(t, n, c, s), v = a - s > 180 ? 1 : 0;
4726
+ return `M${o.toFixed(2)},${i.toFixed(2)} A${l},${l} 0 ${v} 1 ${r.toFixed(2)},${d.toFixed(2)} L${h.toFixed(2)},${u.toFixed(2)} A${c},${c} 0 ${v} 0 ${f.toFixed(2)},${g.toFixed(2)} Z`;
4727
4727
  }
4728
4728
  const Bn = [
4729
4729
  "var(--select-chart-1)",
@@ -4740,15 +4740,15 @@ function z(t) {
4740
4740
  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));
4741
4741
  }
4742
4742
  const Ie = { top: 16, right: 22, bottom: 32, left: 48 };
4743
- function u1({ data: t, color: n, height: l = 40, className: c, ...s }) {
4743
+ function ho({ data: t, color: n, height: l = 40, className: c, ...s }) {
4744
4744
  const { ref: a, width: o } = ce(l), i = n ?? j(0), r = ne(), d = 4;
4745
- let p = null;
4745
+ let h = null;
4746
4746
  if (o > 0 && t.length > 1) {
4747
4747
  const u = Math.max(...t), f = Math.min(...t), g = u - f || 1, v = t.map((N, k) => [
4748
4748
  d + k / (t.length - 1) * (o - d * 2),
4749
4749
  l - d - (N - f) / g * (l - d * 2)
4750
4750
  ]), x = v[v.length - 1];
4751
- p = /* @__PURE__ */ m("svg", { width: o, height: l, className: "select-chart", "aria-hidden": "true", children: [
4751
+ h = /* @__PURE__ */ m("svg", { width: o, height: l, className: "select-chart", "aria-hidden": "true", children: [
4752
4752
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ m("linearGradient", { id: `${r}-sa`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
4753
4753
  /* @__PURE__ */ e("stop", { offset: "0%", stopColor: i, stopOpacity: 0.26 }),
4754
4754
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: i, stopOpacity: 0 })
@@ -4770,7 +4770,7 @@ function u1({ data: t, color: n, height: l = 40, className: c, ...s }) {
4770
4770
  /* @__PURE__ */ e("circle", { cx: x[0], cy: x[1], r: 2.75, fill: i, className: "select-chart__dot" })
4771
4771
  ] });
4772
4772
  }
4773
- return /* @__PURE__ */ e("div", { ...s, className: `select-spark${c ? " " + c : ""}`, ref: a, children: p });
4773
+ return /* @__PURE__ */ e("div", { ...s, className: `select-spark${c ? " " + c : ""}`, ref: a, children: h });
4774
4774
  }
4775
4775
  function K() {
4776
4776
  const [t, n] = T(null);
@@ -4782,9 +4782,9 @@ function J({ tip: t, className: n, ...l }) {
4782
4782
  if (!t) return;
4783
4783
  const i = c.current, r = i == null ? void 0 : i.offsetParent;
4784
4784
  if (!i || !r) return;
4785
- const d = i.offsetWidth / 2, p = r.clientWidth, u = 6;
4785
+ const d = i.offsetWidth / 2, h = r.clientWidth, u = 6;
4786
4786
  let f = 0;
4787
- t.x - d < u ? f = u - (t.x - d) : t.x + d > p - u && (f = p - u - (t.x + d)), a(f);
4787
+ t.x - d < u ? f = u - (t.x - d) : t.x + d > h - u && (f = h - u - (t.x + d)), a(f);
4788
4788
  }, [t]), !t) return null;
4789
4789
  const o = {
4790
4790
  left: t.x + s,
@@ -4800,29 +4800,29 @@ function J({ tip: t, className: n, ...l }) {
4800
4800
  ] }, r))
4801
4801
  ] });
4802
4802
  }
4803
- function h1({ data: t, height: n = 240, color: l, format: c = z, className: s, ...a }) {
4804
- const { ref: o, width: i } = ce(n), r = K(), d = ne(), p = l ?? j(0), u = xe(Math.max(0, ...t.map((h) => h.value))), f = Ie, g = Math.max(0, i - f.left - f.right), v = n - f.top - f.bottom, x = t.length > 0 ? g / t.length : 0, N = Math.min(x * 0.62, 44), k = f.top + v, _ = (h) => k - h / u * v;
4803
+ function po({ data: t, height: n = 240, color: l, format: c = z, className: s, ...a }) {
4804
+ const { ref: o, width: i } = ce(n), r = K(), d = ne(), h = l ?? j(0), u = xe(Math.max(0, ...t.map((p) => p.value))), f = Ie, g = Math.max(0, i - f.left - f.right), v = n - f.top - f.bottom, x = t.length > 0 ? g / t.length : 0, N = Math.min(x * 0.62, 44), k = f.top + v, _ = (p) => k - p / u * v;
4805
4805
  return /* @__PURE__ */ m("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: o, children: [
4806
4806
  i > 0 && /* @__PURE__ */ m("svg", { width: i, height: n, className: "select-chart", children: [
4807
4807
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ m("linearGradient", { id: `${d}-bar`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
4808
- /* @__PURE__ */ e("stop", { offset: "0%", stopColor: p, stopOpacity: 1 }),
4809
- /* @__PURE__ */ e("stop", { offset: "100%", stopColor: p, stopOpacity: 0.62 })
4808
+ /* @__PURE__ */ e("stop", { offset: "0%", stopColor: h, stopOpacity: 1 }),
4809
+ /* @__PURE__ */ e("stop", { offset: "100%", stopColor: h, stopOpacity: 0.62 })
4810
4810
  ] }) }),
4811
- ke(u).map((h, b) => /* @__PURE__ */ m("g", { children: [
4811
+ ke(u).map((p, b) => /* @__PURE__ */ m("g", { children: [
4812
4812
  /* @__PURE__ */ e(
4813
4813
  "line",
4814
4814
  {
4815
4815
  x1: f.left,
4816
4816
  x2: i - f.right,
4817
- y1: _(h),
4818
- y2: _(h),
4817
+ y1: _(p),
4818
+ y2: _(p),
4819
4819
  className: b === 0 ? "select-chart__axis" : "select-chart__grid"
4820
4820
  }
4821
4821
  ),
4822
- /* @__PURE__ */ e("text", { x: f.left - 8, y: _(h), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: c(h) })
4822
+ /* @__PURE__ */ e("text", { x: f.left - 8, y: _(p), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: c(p) })
4823
4823
  ] }, b)),
4824
- t.map((h, b) => {
4825
- const S = f.left + x * b + x / 2, $ = h.value / u * v, M = k - $;
4824
+ t.map((p, b) => {
4825
+ const S = f.left + x * b + x / 2, $ = p.value / u * v, M = k - $;
4826
4826
  return /* @__PURE__ */ m("g", { children: [
4827
4827
  /* @__PURE__ */ e(
4828
4828
  "rect",
@@ -4839,25 +4839,25 @@ function h1({ data: t, height: n = 240, color: l, format: c = z, className: s, .
4839
4839
  x: S,
4840
4840
  y: M,
4841
4841
  place: M < f.top + 52 ? "bottom" : "top",
4842
- rows: [{ label: h.label, value: c(h.value), color: p }]
4842
+ rows: [{ label: p.label, value: c(p.value), color: h }]
4843
4843
  }),
4844
4844
  onMouseLeave: r.hide
4845
4845
  }
4846
4846
  ),
4847
- /* @__PURE__ */ e("text", { x: S, y: n - f.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: h.label })
4847
+ /* @__PURE__ */ e("text", { x: S, y: n - f.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: p.label })
4848
4848
  ] }, b);
4849
4849
  })
4850
4850
  ] }),
4851
4851
  /* @__PURE__ */ e(J, { tip: r.tip })
4852
4852
  ] });
4853
4853
  }
4854
- function p1({ series: t, labels: n, height: l = 240, format: c = z, area: s = !1, className: a, ...o }) {
4855
- const { ref: i, width: r } = ce(l), d = K(), p = ne(), [u, f] = T(null), { max: g, values: v } = Vs(Math.max(0, ...t.flatMap((w) => w.data))), x = Ie, N = Math.max(0, r - x.left - x.right), k = l - x.top - x.bottom, _ = n.length, h = (w) => x.left + (_ <= 1 ? N / 2 : w / (_ - 1) * N), b = (w) => x.top + k - w / g * k, S = _ > 1 ? N / (_ - 1) : N, $ = Math.max(1, Math.ceil(_ / 7)), M = x.top + k;
4854
+ function mo({ series: t, labels: n, height: l = 240, format: c = z, area: s = !1, className: a, ...o }) {
4855
+ const { ref: i, width: r } = ce(l), d = K(), h = ne(), [u, f] = T(null), { max: g, values: v } = Vs(Math.max(0, ...t.flatMap((w) => w.data))), x = Ie, N = Math.max(0, r - x.left - x.right), k = l - x.top - x.bottom, _ = n.length, p = (w) => x.left + (_ <= 1 ? N / 2 : w / (_ - 1) * N), b = (w) => x.top + k - w / g * k, S = _ > 1 ? N / (_ - 1) : N, $ = Math.max(1, Math.ceil(_ / 7)), M = x.top + k;
4856
4856
  return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
4857
4857
  r > 0 && /* @__PURE__ */ m("svg", { width: r, height: l, className: "select-chart", children: [
4858
4858
  /* @__PURE__ */ e("defs", { children: t.map((w, y) => {
4859
4859
  const C = w.color ?? j(y);
4860
- return /* @__PURE__ */ m("linearGradient", { id: `${p}-a${y}`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
4860
+ return /* @__PURE__ */ m("linearGradient", { id: `${h}-a${y}`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
4861
4861
  /* @__PURE__ */ e("stop", { offset: "0%", stopColor: C, stopOpacity: 0.32 }),
4862
4862
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: C, stopOpacity: 0 })
4863
4863
  ] }, y);
@@ -4875,11 +4875,11 @@ function p1({ series: t, labels: n, height: l = 240, format: c = z, area: s = !1
4875
4875
  ),
4876
4876
  /* @__PURE__ */ e("text", { x: x.left - 8, y: b(w), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: c(w) })
4877
4877
  ] }, y)),
4878
- u != null && /* @__PURE__ */ e("line", { x1: h(u), x2: h(u), y1: x.top, y2: M, className: "select-chart__crosshair" }),
4878
+ u != null && /* @__PURE__ */ e("line", { x1: p(u), x2: p(u), y1: x.top, y2: M, className: "select-chart__crosshair" }),
4879
4879
  t.map((w, y) => {
4880
- const C = w.color ?? j(y), L = w.data.map((B, A) => [h(A), b(B)]);
4880
+ const C = w.color ?? j(y), L = w.data.map((B, A) => [p(A), b(B)]);
4881
4881
  return /* @__PURE__ */ m("g", { children: [
4882
- s && /* @__PURE__ */ e("path", { d: kl(L, M), fill: `url(#${p}-a${y})`, className: "select-chart__area" }),
4882
+ s && /* @__PURE__ */ e("path", { d: kl(L, M), fill: `url(#${h}-a${y})`, className: "select-chart__area" }),
4883
4883
  /* @__PURE__ */ e(
4884
4884
  "path",
4885
4885
  {
@@ -4898,7 +4898,7 @@ function p1({ series: t, labels: n, height: l = 240, format: c = z, area: s = !1
4898
4898
  u != null && t.map((w, y) => /* @__PURE__ */ e(
4899
4899
  "circle",
4900
4900
  {
4901
- cx: h(u),
4901
+ cx: p(u),
4902
4902
  cy: b(w.data[u] ?? 0),
4903
4903
  r: 3.5,
4904
4904
  fill: w.color ?? j(y),
@@ -4907,12 +4907,12 @@ function p1({ series: t, labels: n, height: l = 240, format: c = z, area: s = !1
4907
4907
  y
4908
4908
  )),
4909
4909
  n.map(
4910
- (w, y) => y % $ === 0 || y === _ - 1 ? /* @__PURE__ */ e("text", { x: h(y), y: l - x.bottom + 16, className: "select-chart__xlabel", textAnchor: y === 0 ? "start" : y === _ - 1 ? "end" : "middle", children: w }, y) : null
4910
+ (w, y) => y % $ === 0 || y === _ - 1 ? /* @__PURE__ */ e("text", { x: p(y), y: l - x.bottom + 16, className: "select-chart__xlabel", textAnchor: y === 0 ? "start" : y === _ - 1 ? "end" : "middle", children: w }, y) : null
4911
4911
  ),
4912
4912
  n.map((w, y) => /* @__PURE__ */ e(
4913
4913
  "rect",
4914
4914
  {
4915
- x: h(y) - S / 2,
4915
+ x: p(y) - S / 2,
4916
4916
  y: x.top,
4917
4917
  width: S,
4918
4918
  height: k,
@@ -4921,7 +4921,7 @@ function p1({ series: t, labels: n, height: l = 240, format: c = z, area: s = !1
4921
4921
  f(y);
4922
4922
  const C = Math.min(...t.map((L) => b(L.data[y] ?? 0)));
4923
4923
  d.show({
4924
- x: h(y),
4924
+ x: p(y),
4925
4925
  y: C,
4926
4926
  place: C < x.top + 52 ? "bottom" : "top",
4927
4927
  title: w,
@@ -4938,10 +4938,10 @@ function p1({ series: t, labels: n, height: l = 240, format: c = z, area: s = !1
4938
4938
  /* @__PURE__ */ e(J, { tip: d.tip })
4939
4939
  ] });
4940
4940
  }
4941
- function m1({ series: t, labels: n, height: l = 240, format: c = z, className: s, ...a }) {
4942
- const { ref: o, width: i } = ce(l), r = K(), d = ne(), [p, u] = T(null), f = n.length, g = new Array(f).fill(0), v = t.map(
4941
+ function fo({ series: t, labels: n, height: l = 240, format: c = z, className: s, ...a }) {
4942
+ const { ref: o, width: i } = ce(l), r = K(), d = ne(), [h, u] = T(null), f = n.length, g = new Array(f).fill(0), v = t.map(
4943
4943
  (y) => y.data.map((C, L) => (g[L] = (g[L] ?? 0) + (C ?? 0), g[L]))
4944
- ), x = xe(Math.max(0, ...g)), N = Ie, k = Math.max(0, i - N.left - N.right), _ = l - N.top - N.bottom, h = (y) => N.left + (f <= 1 ? k / 2 : y / (f - 1) * k), b = (y) => N.top + _ - y / x * _, S = f > 1 ? k / (f - 1) : k, $ = Math.max(1, Math.ceil(f / 7)), M = N.top + _, w = v[v.length - 1];
4944
+ ), x = xe(Math.max(0, ...g)), N = Ie, k = Math.max(0, i - N.left - N.right), _ = l - N.top - N.bottom, p = (y) => N.left + (f <= 1 ? k / 2 : y / (f - 1) * k), b = (y) => N.top + _ - y / x * _, S = f > 1 ? k / (f - 1) : k, $ = Math.max(1, Math.ceil(f / 7)), M = N.top + _, w = v[v.length - 1];
4945
4945
  return /* @__PURE__ */ m("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: o, children: [
4946
4946
  i > 0 && /* @__PURE__ */ m("svg", { width: i, height: l, className: "select-chart", children: [
4947
4947
  /* @__PURE__ */ e("defs", { children: t.map((y, C) => {
@@ -4965,20 +4965,20 @@ function m1({ series: t, labels: n, height: l = 240, format: c = z, className: s
4965
4965
  /* @__PURE__ */ e("text", { x: N.left - 8, y: b(y), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: c(y) })
4966
4966
  ] }, C)),
4967
4967
  t.map((y, C) => {
4968
- const L = y.color ?? j(C), B = v[C].map((E, F) => [h(F), b(E)]), A = C === 0 ? n.map((E, F) => [h(F), M]) : v[C - 1].map((E, F) => [h(F), b(E)]);
4968
+ const L = y.color ?? j(C), B = v[C].map((E, F) => [p(F), b(E)]), A = C === 0 ? n.map((E, F) => [p(F), M]) : v[C - 1].map((E, F) => [p(F), b(E)]);
4969
4969
  return /* @__PURE__ */ m("g", { className: "select-chart__area", children: [
4970
4970
  /* @__PURE__ */ e("path", { d: Sl(B, A), fill: `url(#${d}-b${C})` }),
4971
4971
  /* @__PURE__ */ e("path", { d: Ge(B), fill: "none", stroke: L, strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })
4972
4972
  ] }, C);
4973
4973
  }),
4974
- p != null && /* @__PURE__ */ e("line", { x1: h(p), x2: h(p), y1: N.top, y2: M, className: "select-chart__crosshair" }),
4974
+ h != null && /* @__PURE__ */ e("line", { x1: p(h), x2: p(h), y1: N.top, y2: M, className: "select-chart__crosshair" }),
4975
4975
  n.map(
4976
- (y, C) => C % $ === 0 || C === f - 1 ? /* @__PURE__ */ e("text", { x: h(C), y: l - N.bottom + 16, className: "select-chart__xlabel", textAnchor: C === 0 ? "start" : C === f - 1 ? "end" : "middle", children: y }, C) : null
4976
+ (y, C) => C % $ === 0 || C === f - 1 ? /* @__PURE__ */ e("text", { x: p(C), y: l - N.bottom + 16, className: "select-chart__xlabel", textAnchor: C === 0 ? "start" : C === f - 1 ? "end" : "middle", children: y }, C) : null
4977
4977
  ),
4978
4978
  n.map((y, C) => /* @__PURE__ */ e(
4979
4979
  "rect",
4980
4980
  {
4981
- x: h(C) - S / 2,
4981
+ x: p(C) - S / 2,
4982
4982
  y: N.top,
4983
4983
  width: S,
4984
4984
  height: _,
@@ -4987,7 +4987,7 @@ function m1({ series: t, labels: n, height: l = 240, format: c = z, className: s
4987
4987
  u(C);
4988
4988
  const L = b((w == null ? void 0 : w[C]) ?? 0);
4989
4989
  r.show({
4990
- x: h(C),
4990
+ x: p(C),
4991
4991
  y: L,
4992
4992
  place: L < N.top + 52 ? "bottom" : "top",
4993
4993
  title: y,
@@ -5004,8 +5004,8 @@ function m1({ series: t, labels: n, height: l = 240, format: c = z, className: s
5004
5004
  /* @__PURE__ */ e(J, { tip: r.tip })
5005
5005
  ] });
5006
5006
  }
5007
- function f1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = z, formatLine: a = (r) => `${Math.round(r)}%`, className: o, ...i }) {
5008
- const { ref: r, width: d } = ce(c), p = K(), u = ne(), [f, g] = T(null), v = { ...Ie, right: 58 }, x = Math.max(0, d - v.left - v.right), N = c - v.top - v.bottom, k = t.length, _ = xe(Math.max(0, ...n.data)), h = xe(Math.max(0, ...l.data)), b = k > 0 ? x / k : 0, S = Math.min(b * 0.5, 36), $ = Math.max(1, Math.ceil(k / 8)), M = n.color ?? j(0), w = l.color ?? j(1), y = v.top + N, C = (E) => y - E / _ * N, L = (E) => y - E / h * N, B = (E) => v.left + b * E + b / 2, A = l.data.map((E, F) => [B(F), L(E)]);
5007
+ function _o({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = z, formatLine: a = (r) => `${Math.round(r)}%`, className: o, ...i }) {
5008
+ const { ref: r, width: d } = ce(c), h = K(), u = ne(), [f, g] = T(null), v = { ...Ie, right: 58 }, x = Math.max(0, d - v.left - v.right), N = c - v.top - v.bottom, k = t.length, _ = xe(Math.max(0, ...n.data)), p = xe(Math.max(0, ...l.data)), b = k > 0 ? x / k : 0, S = Math.min(b * 0.5, 36), $ = Math.max(1, Math.ceil(k / 8)), M = n.color ?? j(0), w = l.color ?? j(1), y = v.top + N, C = (E) => y - E / _ * N, L = (E) => y - E / p * N, B = (E) => v.left + b * E + b / 2, A = l.data.map((E, F) => [B(F), L(E)]);
5009
5009
  return /* @__PURE__ */ m("div", { ...i, className: `select-chart-wrap${o ? " " + o : ""}`, ref: r, children: [
5010
5010
  d > 0 && /* @__PURE__ */ m("svg", { width: d, height: c, className: "select-chart", children: [
5011
5011
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ m("linearGradient", { id: `${u}-bar`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
@@ -5025,7 +5025,7 @@ function f1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = z, fo
5025
5025
  ),
5026
5026
  /* @__PURE__ */ e("text", { x: v.left - 8, y: C(E), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: s(E) })
5027
5027
  ] }, F)),
5028
- ke(h).map((E, F) => /* @__PURE__ */ e("text", { x: d - 4, y: L(E), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: a(E) }, `r${F}`)),
5028
+ ke(p).map((E, F) => /* @__PURE__ */ e("text", { x: d - 4, y: L(E), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: a(E) }, `r${F}`)),
5029
5029
  n.data.map((E, F) => {
5030
5030
  const W = E / _ * N;
5031
5031
  return /* @__PURE__ */ e(
@@ -5081,7 +5081,7 @@ function f1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = z, fo
5081
5081
  onMouseEnter: () => {
5082
5082
  g(F);
5083
5083
  const W = Math.min(C(n.data[F] ?? 0), L(l.data[F] ?? 0));
5084
- p.show({
5084
+ h.show({
5085
5085
  x: B(F),
5086
5086
  y: W,
5087
5087
  place: W < v.top + 52 ? "bottom" : "top",
@@ -5093,19 +5093,19 @@ function f1({ labels: t, bars: n, line: l, height: c = 240, formatBar: s = z, fo
5093
5093
  });
5094
5094
  },
5095
5095
  onMouseLeave: () => {
5096
- g(null), p.hide();
5096
+ g(null), h.hide();
5097
5097
  }
5098
5098
  },
5099
5099
  `h${F}`
5100
5100
  ))
5101
5101
  ] }),
5102
- /* @__PURE__ */ e(J, { tip: p.tip })
5102
+ /* @__PURE__ */ e(J, { tip: h.tip })
5103
5103
  ] });
5104
5104
  }
5105
- const _1 = P(function({ segments: n, size: l = 200, thickness: c = 26, format: s = z, centerLabel: a, legend: o = !0, gap: i = 2, pie: r = !1, className: d, ...p }, u) {
5106
- const f = K(), g = ne(), v = Y(null), x = Ct(v, l), N = n.reduce(($, M) => $ + M.value, 0) || 1, k = x / 2, _ = x / 2, h = x / 2 - 2, b = r ? 0 : h - c;
5105
+ const vo = P(function({ segments: n, size: l = 200, thickness: c = 26, format: s = z, centerLabel: a, legend: o = !0, gap: i = 2, pie: r = !1, className: d, ...h }, u) {
5106
+ const f = K(), g = ne(), v = Y(null), x = Ct(v, l), N = n.reduce(($, M) => $ + M.value, 0) || 1, k = x / 2, _ = x / 2, p = x / 2 - 2, b = r ? 0 : p - c;
5107
5107
  let S = 0;
5108
- return /* @__PURE__ */ m("div", { ref: u, ...p, className: `select-donut-wrap${d ? " " + d : ""}`, children: [
5108
+ return /* @__PURE__ */ m("div", { ref: u, ...h, className: `select-donut-wrap${d ? " " + d : ""}`, children: [
5109
5109
  /* @__PURE__ */ m("div", { ref: v, className: "select-donut-ring", style: { width: `${l / 16}rem`, aspectRatio: "1" }, children: [
5110
5110
  /* @__PURE__ */ m("svg", { width: x, height: x, viewBox: `0 0 ${x} ${x}`, className: "select-chart select-donut", "aria-hidden": "true", children: [
5111
5111
  /* @__PURE__ */ e("defs", { children: n.map(($, M) => {
@@ -5122,11 +5122,11 @@ const _1 = P(function({ segments: n, size: l = 200, thickness: c = 26, format: s
5122
5122
  return /* @__PURE__ */ e(
5123
5123
  "path",
5124
5124
  {
5125
- d: it(k, _, h, b, A, E),
5125
+ d: it(k, _, p, b, A, E),
5126
5126
  fill: `url(#${g}-s${M})`,
5127
5127
  className: "select-chart__seg",
5128
5128
  onMouseEnter: () => {
5129
- const F = ((w + y) / 2 - 90) * Math.PI / 180, W = k + (h + 6) * Math.cos(F), Z = _ + (h + 6) * Math.sin(F);
5129
+ const F = ((w + y) / 2 - 90) * Math.PI / 180, W = k + (p + 6) * Math.cos(F), Z = _ + (p + 6) * Math.sin(F);
5130
5130
  f.show({
5131
5131
  x: W,
5132
5132
  y: Z,
@@ -5151,13 +5151,13 @@ const _1 = P(function({ segments: n, size: l = 200, thickness: c = 26, format: s
5151
5151
  /* @__PURE__ */ e(J, { tip: f.tip })
5152
5152
  ] });
5153
5153
  });
5154
- function v1({ series: t, labels: n, height: l = 240, format: c = z, stacked: s = !1, className: a, ...o }) {
5155
- const { ref: i, width: r } = ce(l), d = K(), p = ne(), u = n.length, f = t.length || 1, g = n.map((M, w) => t.reduce((y, C) => y + (C.data[w] ?? 0), 0)), v = xe(s ? Math.max(0, ...g) : Math.max(0, ...t.flatMap((M) => M.data))), x = Ie, N = Math.max(0, r - x.left - x.right), k = l - x.top - x.bottom, _ = x.top + k, h = u ? N / u : 0, b = (M) => _ - M / v * k, S = Math.min(h * 0.72, f * 40), $ = s ? Math.min(h * 0.5, 44) : S / f;
5154
+ function go({ series: t, labels: n, height: l = 240, format: c = z, stacked: s = !1, className: a, ...o }) {
5155
+ const { ref: i, width: r } = ce(l), d = K(), h = ne(), u = n.length, f = t.length || 1, g = n.map((M, w) => t.reduce((y, C) => y + (C.data[w] ?? 0), 0)), v = xe(s ? Math.max(0, ...g) : Math.max(0, ...t.flatMap((M) => M.data))), x = Ie, N = Math.max(0, r - x.left - x.right), k = l - x.top - x.bottom, _ = x.top + k, p = u ? N / u : 0, b = (M) => _ - M / v * k, S = Math.min(p * 0.72, f * 40), $ = s ? Math.min(p * 0.5, 44) : S / f;
5156
5156
  return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
5157
5157
  r > 0 && /* @__PURE__ */ m("svg", { width: r, height: l, className: "select-chart", children: [
5158
5158
  /* @__PURE__ */ e("defs", { children: t.map((M, w) => {
5159
5159
  const y = M.color ?? j(w);
5160
- return /* @__PURE__ */ m("linearGradient", { id: `${p}-c${w}`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
5160
+ return /* @__PURE__ */ m("linearGradient", { id: `${h}-c${w}`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
5161
5161
  /* @__PURE__ */ e("stop", { offset: "0%", stopColor: y, stopOpacity: 1 }),
5162
5162
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: y, stopOpacity: 0.62 })
5163
5163
  ] }, w);
@@ -5176,7 +5176,7 @@ function v1({ series: t, labels: n, height: l = 240, format: c = z, stacked: s =
5176
5176
  /* @__PURE__ */ e("text", { x: x.left - 8, y: b(M), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: c(M) })
5177
5177
  ] }, w)),
5178
5178
  n.map((M, w) => {
5179
- const y = x.left + h * w;
5179
+ const y = x.left + p * w;
5180
5180
  if (s) {
5181
5181
  let L = 0;
5182
5182
  return /* @__PURE__ */ e("g", { children: t.map((B, A) => {
@@ -5184,12 +5184,12 @@ function v1({ series: t, labels: n, height: l = 240, format: c = z, stacked: s =
5184
5184
  return L += E, /* @__PURE__ */ e(
5185
5185
  "rect",
5186
5186
  {
5187
- x: y + h / 2 - $ / 2,
5187
+ x: y + p / 2 - $ / 2,
5188
5188
  y: F,
5189
5189
  width: $,
5190
5190
  height: Math.max(0, E),
5191
5191
  rx: 3,
5192
- fill: `url(#${p}-c${A})`,
5192
+ fill: `url(#${h}-c${A})`,
5193
5193
  className: "select-chart__bar",
5194
5194
  style: { animationDelay: `${w * 30}ms` }
5195
5195
  },
@@ -5197,7 +5197,7 @@ function v1({ series: t, labels: n, height: l = 240, format: c = z, stacked: s =
5197
5197
  );
5198
5198
  }) }, w);
5199
5199
  }
5200
- const C = y + (h - S) / 2;
5200
+ const C = y + (p - S) / 2;
5201
5201
  return /* @__PURE__ */ e("g", { children: t.map((L, B) => {
5202
5202
  const A = (L.data[w] ?? 0) / v * k;
5203
5203
  return /* @__PURE__ */ e(
@@ -5208,7 +5208,7 @@ function v1({ series: t, labels: n, height: l = 240, format: c = z, stacked: s =
5208
5208
  width: $ * 0.8,
5209
5209
  height: Math.max(0, A),
5210
5210
  rx: 3,
5211
- fill: `url(#${p}-c${B})`,
5211
+ fill: `url(#${h}-c${B})`,
5212
5212
  className: "select-chart__bar",
5213
5213
  style: { animationDelay: `${(w * f + B) * 25}ms` }
5214
5214
  },
@@ -5216,19 +5216,19 @@ function v1({ series: t, labels: n, height: l = 240, format: c = z, stacked: s =
5216
5216
  );
5217
5217
  }) }, w);
5218
5218
  }),
5219
- n.map((M, w) => /* @__PURE__ */ e("text", { x: x.left + h * w + h / 2, y: l - x.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: M }, w)),
5219
+ n.map((M, w) => /* @__PURE__ */ e("text", { x: x.left + p * w + p / 2, y: l - x.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: M }, w)),
5220
5220
  n.map((M, w) => {
5221
5221
  const y = s ? b(g[w] ?? 0) : Math.min(...t.map((C) => b(C.data[w] ?? 0)));
5222
5222
  return /* @__PURE__ */ e(
5223
5223
  "rect",
5224
5224
  {
5225
- x: x.left + h * w,
5225
+ x: x.left + p * w,
5226
5226
  y: x.top,
5227
- width: h,
5227
+ width: p,
5228
5228
  height: k,
5229
5229
  fill: "transparent",
5230
5230
  onMouseEnter: () => d.show({
5231
- x: x.left + h * w + h / 2,
5231
+ x: x.left + p * w + p / 2,
5232
5232
  y,
5233
5233
  place: y < x.top + 52 ? "bottom" : "top",
5234
5234
  title: M,
@@ -5243,10 +5243,10 @@ function v1({ series: t, labels: n, height: l = 240, format: c = z, stacked: s =
5243
5243
  /* @__PURE__ */ e(J, { tip: d.tip })
5244
5244
  ] });
5245
5245
  }
5246
- const g1 = P(function({ stages: n, format: l = z, className: c, ...s }, a) {
5246
+ const bo = P(function({ stages: n, format: l = z, className: c, ...s }, a) {
5247
5247
  const o = Math.max(1, ...n.map((i) => i.value));
5248
5248
  return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-funnel${c ? " " + c : ""}`, children: n.map((i, r) => {
5249
- const d = r > 0 ? n[r - 1].value || 1 : i.value || 1, p = r > 0 ? i.value / d * 100 : 100, u = j(r);
5249
+ const d = r > 0 ? n[r - 1].value || 1 : i.value || 1, h = r > 0 ? i.value / d * 100 : 100, u = j(r);
5250
5250
  return /* @__PURE__ */ m("div", { className: "select-funnel__row", children: [
5251
5251
  /* @__PURE__ */ e("div", { className: "select-funnel__label", children: i.label }),
5252
5252
  /* @__PURE__ */ e("div", { className: "select-funnel__track", children: /* @__PURE__ */ e(
@@ -5262,7 +5262,7 @@ const g1 = P(function({ stages: n, format: l = z, className: c, ...s }, a) {
5262
5262
  /* @__PURE__ */ m("div", { className: "select-funnel__meta", children: [
5263
5263
  /* @__PURE__ */ e("span", { className: "select-funnel__value", children: l(i.value) }),
5264
5264
  r > 0 && /* @__PURE__ */ m("span", { className: "select-funnel__conv", children: [
5265
- p.toFixed(0),
5265
+ h.toFixed(0),
5266
5266
  "%"
5267
5267
  ] })
5268
5268
  ] })
@@ -5280,9 +5280,9 @@ function In(t, n, l, c, s) {
5280
5280
  const [a, o] = Fn(t, n, l, c), [i, r] = Fn(t, n, l, s);
5281
5281
  return `M ${a.toFixed(2)} ${o.toFixed(2)} A ${l} ${l} 0 0 1 ${i.toFixed(2)} ${r.toFixed(2)}`;
5282
5282
  }
5283
- const Gs = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`, b1 = P(function({ value: n, label: l, caption: c, size: s = 220, thickness: a, color: o, format: i = Gs, className: r, ...d }, p) {
5284
- const u = Zs(n), f = ne(), g = a ?? Math.max(8, Math.round(s * 0.075)), v = g / 2 + 2, x = s / 2 - v, N = s / 2, k = s / 2, _ = k + v, h = rc({ value: u, format: i });
5285
- return /* @__PURE__ */ m("div", { ref: p, ...d, className: `select-gauge${r ? " " + r : ""}`, style: { width: `${s / 16}rem` }, children: [
5283
+ const Gs = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ? 1 : 0 })}%`, yo = P(function({ value: n, label: l, caption: c, size: s = 220, thickness: a, color: o, format: i = Gs, className: r, ...d }, h) {
5284
+ const u = Zs(n), f = ne(), g = a ?? Math.max(8, Math.round(s * 0.075)), v = g / 2 + 2, x = s / 2 - v, N = s / 2, k = s / 2, _ = k + v, p = rc({ value: u, format: i });
5285
+ return /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-gauge${r ? " " + r : ""}`, style: { width: `${s / 16}rem` }, children: [
5286
5286
  /* @__PURE__ */ m("div", { className: "select-gauge__ring", style: { width: "100%", aspectRatio: `${s} / ${_}` }, children: [
5287
5287
  /* @__PURE__ */ m("svg", { width: "100%", height: "100%", viewBox: `0 0 ${s} ${_}`, className: "select-chart", "aria-hidden": "true", children: [
5288
5288
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ m("linearGradient", { id: f, x1: "0%", y1: "0%", x2: "100%", y2: "0%", children: [
@@ -5313,15 +5313,15 @@ const Gs = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
5313
5313
  )
5314
5314
  ] }),
5315
5315
  /* @__PURE__ */ m("div", { className: "select-gauge__center", children: [
5316
- /* @__PURE__ */ e("span", { className: "select-gauge__value", ref: h, children: i(u) }),
5316
+ /* @__PURE__ */ e("span", { className: "select-gauge__value", ref: p, children: i(u) }),
5317
5317
  l != null && /* @__PURE__ */ e("span", { className: "select-gauge__label", children: l })
5318
5318
  ] })
5319
5319
  ] }),
5320
5320
  c != null && /* @__PURE__ */ e("div", { className: "select-gauge__caption", children: c })
5321
5321
  ] });
5322
- }), y1 = P(function({ columns: n, rows: l, format: c = z, formatValue: s, color: a = "var(--select-chart-1)", showValues: o = !0, min: i, max: r, cellSize: d = 40, maxCellSize: p = 96, cellHeight: u = 30, className: f, ...g }, v) {
5323
- const x = K(), N = l.flatMap((M) => M.values).filter((M) => M != null && Number.isFinite(M)), k = i ?? (N.length ? Math.min(...N) : 0), h = (r ?? (N.length ? Math.max(...N) : 1)) - k || 1, b = { "--heat-color": a }, S = {
5324
- gridTemplateColumns: `minmax(56px, max-content) repeat(${n.length}, minmax(${d}px, ${Math.max(d, p)}px))`,
5322
+ }), xo = P(function({ columns: n, rows: l, format: c = z, formatValue: s, color: a = "var(--select-chart-1)", showValues: o = !0, min: i, max: r, cellSize: d = 40, maxCellSize: h = 96, cellHeight: u = 30, className: f, ...g }, v) {
5323
+ const x = K(), N = l.flatMap((M) => M.values).filter((M) => M != null && Number.isFinite(M)), k = i ?? (N.length ? Math.min(...N) : 0), p = (r ?? (N.length ? Math.max(...N) : 1)) - k || 1, b = { "--heat-color": a }, S = {
5324
+ gridTemplateColumns: `minmax(56px, max-content) repeat(${n.length}, minmax(${d}px, ${Math.max(d, h)}px))`,
5325
5325
  width: "fit-content",
5326
5326
  maxWidth: "100%",
5327
5327
  minWidth: 0
@@ -5339,7 +5339,7 @@ const Gs = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
5339
5339
  const C = `${M.label}-${n[y] ?? y}`;
5340
5340
  if (w == null || !Number.isFinite(w))
5341
5341
  return /* @__PURE__ */ e("div", { className: "select-heatmap__cell select-heatmap__cell--empty", style: $ }, C);
5342
- const L = Math.max(0, Math.min(1, (w - k) / h)), B = Math.round((0.14 + L * 0.86) * 100), A = Math.max(6, B - 16);
5342
+ const L = Math.max(0, Math.min(1, (w - k) / p)), B = Math.round((0.14 + L * 0.86) * 100), A = Math.max(6, B - 16);
5343
5343
  return /* @__PURE__ */ e(
5344
5344
  "div",
5345
5345
  {
@@ -5370,7 +5370,7 @@ const Gs = (t) => `${t.toLocaleString("pt-BR", { maximumFractionDigits: t < 10 ?
5370
5370
  /* @__PURE__ */ e(J, { tip: x.tip })
5371
5371
  ] });
5372
5372
  });
5373
- function x1({
5373
+ function No({
5374
5374
  items: t,
5375
5375
  format: n = z,
5376
5376
  color: l,
@@ -5404,9 +5404,9 @@ function x1({
5404
5404
  ] }, `${a.label}-${o}`);
5405
5405
  }) });
5406
5406
  }
5407
- const Wt = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, N1 = P(function({ series: n, size: l = 200, thickness: c = 14, gap: s = 8, format: a = (u) => `${Math.round(u)}%`, centerLabel: o, legend: i = !0, className: r, ...d }, p) {
5407
+ const Wt = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, Mo = P(function({ series: n, size: l = 200, thickness: c = 14, gap: s = 8, format: a = (u) => `${Math.round(u)}%`, centerLabel: o, legend: i = !0, className: r, ...d }, h) {
5408
5408
  const u = ne(), f = l / 2, g = l / 2;
5409
- return /* @__PURE__ */ m("div", { ref: p, ...d, className: `select-donut-wrap${r ? " " + r : ""}`, children: [
5409
+ return /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-donut-wrap${r ? " " + r : ""}`, children: [
5410
5410
  /* @__PURE__ */ m("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
5411
5411
  /* @__PURE__ */ m("svg", { width: l, height: l, viewBox: `0 0 ${l} ${l}`, className: "select-chart", "aria-hidden": "true", children: [
5412
5412
  /* @__PURE__ */ e("defs", { children: n.map((v, x) => {
@@ -5450,9 +5450,9 @@ const Wt = (t) => Number.isFinite(t) ? Math.max(0, Math.min(100, t)) : 0, N1 = P
5450
5450
  ] }, x)) })
5451
5451
  ] });
5452
5452
  }), Pn = 6.1, Ot = 12, Rn = 56, Us = 0.4;
5453
- function M1({ data: t, height: n, color: l, format: c = z, formatValue: s, distributed: a = !0, labelWidth: o, className: i, ...r }) {
5454
- const g = n ?? t.length * 36 + 6 + 26, { ref: v, width: x } = ce(g), N = K(), k = ne(), _ = xe(Math.max(0, ...t.map((E) => E.value))), h = t.reduce((E, F) => Math.max(E, F.label.length), 0), b = Math.min(
5455
- Math.max(Rn, h * Pn + Ot),
5453
+ function $o({ data: t, height: n, color: l, format: c = z, formatValue: s, distributed: a = !0, labelWidth: o, className: i, ...r }) {
5454
+ const g = n ?? t.length * 36 + 6 + 26, { ref: v, width: x } = ce(g), N = K(), k = ne(), _ = xe(Math.max(0, ...t.map((E) => E.value))), p = t.reduce((E, F) => Math.max(E, F.label.length), 0), b = Math.min(
5455
+ Math.max(Rn, p * Pn + Ot),
5456
5456
  Math.max(Rn, x * Us)
5457
5457
  ), S = o ?? b, $ = Math.max(3, Math.floor((S - Ot) / Pn)), M = (E) => E.length <= $ ? E : `${E.slice(0, $ - 1).trimEnd()}…`, w = Math.max(0, x - S - 28), y = g - 6 - 26, C = t.length ? y / t.length : 0, L = Math.min(C * 0.62, 22), B = (E) => S + E / _ * w, A = (E, F) => E.color ?? (a ? j(F) : l ?? j(0));
5458
5458
  return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${i ? " " + i : ""}`, ref: v, children: [
@@ -5521,15 +5521,15 @@ function M1({ data: t, height: n, color: l, format: c = z, formatValue: s, distr
5521
5521
  /* @__PURE__ */ e(J, { tip: N.tip })
5522
5522
  ] });
5523
5523
  }
5524
- function $1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
5524
+ function wo({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
5525
5525
  const { ref: a, width: o } = ce(n), i = K(), r = ne();
5526
5526
  let d = 0;
5527
- const p = t.map(($) => {
5527
+ const h = t.map(($) => {
5528
5528
  if ($.total)
5529
5529
  return d = $.value, { ...$, start: 0, end: $.value };
5530
5530
  const M = d;
5531
5531
  return d += $.value, { ...$, start: M, end: d };
5532
- }), u = xe(Math.max(0, ...p.map(($) => Math.max($.start, $.end)))), f = Ie, g = Math.max(0, o - f.left - f.right), v = n - f.top - f.bottom, x = f.top + v, N = t.length, k = N ? g / N : 0, _ = Math.min(k * 0.6, 46), h = ($) => x - $ / u * v, b = {
5532
+ }), u = xe(Math.max(0, ...h.map(($) => Math.max($.start, $.end)))), f = Ie, g = Math.max(0, o - f.left - f.right), v = n - f.top - f.bottom, x = f.top + v, N = t.length, k = N ? g / N : 0, _ = Math.min(k * 0.6, 46), p = ($) => x - $ / u * v, b = {
5533
5533
  total: "var(--select-chart-1)",
5534
5534
  inc: "var(--select-chart-4)",
5535
5535
  dec: "var(--select-chart-3)"
@@ -5546,19 +5546,19 @@ function $1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
5546
5546
  {
5547
5547
  x1: f.left,
5548
5548
  x2: o - f.right,
5549
- y1: h($),
5550
- y2: h($),
5549
+ y1: p($),
5550
+ y2: p($),
5551
5551
  className: M === 0 ? "select-chart__axis" : "select-chart__grid"
5552
5552
  }
5553
5553
  ),
5554
- /* @__PURE__ */ e("text", { x: f.left - 8, y: h($), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: l($) })
5554
+ /* @__PURE__ */ e("text", { x: f.left - 8, y: p($), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: l($) })
5555
5555
  ] }, M)),
5556
- p.slice(0, -1).map(($, M) => {
5556
+ h.slice(0, -1).map(($, M) => {
5557
5557
  const w = f.left + k * M + k / 2 + _ / 2, y = f.left + k * (M + 1) + k / 2 - _ / 2;
5558
- return /* @__PURE__ */ e("line", { x1: w, x2: y, y1: h($.end), y2: h($.end), className: "select-chart__crosshair" }, `c${M}`);
5558
+ return /* @__PURE__ */ e("line", { x1: w, x2: y, y1: p($.end), y2: p($.end), className: "select-chart__crosshair" }, `c${M}`);
5559
5559
  }),
5560
- p.map(($, M) => {
5561
- const w = f.left + k * M + k / 2, y = h(Math.max($.start, $.end)), C = Math.abs(h($.start) - h($.end)), L = S($);
5560
+ h.map(($, M) => {
5561
+ const w = f.left + k * M + k / 2, y = p(Math.max($.start, $.end)), C = Math.abs(p($.start) - p($.end)), L = S($);
5562
5562
  return /* @__PURE__ */ m("g", { children: [
5563
5563
  /* @__PURE__ */ e(
5564
5564
  "rect",
@@ -5591,9 +5591,9 @@ function $1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
5591
5591
  /* @__PURE__ */ e(J, { tip: i.tip })
5592
5592
  ] });
5593
5593
  }
5594
- const Dn = (t) => Math.max(0, Math.min(100, t)), w1 = P(function({ items: n, format: l = z, className: c, ...s }, a) {
5594
+ const Dn = (t) => Math.max(0, Math.min(100, t)), ko = P(function({ items: n, format: l = z, className: c, ...s }, a) {
5595
5595
  return /* @__PURE__ */ e("div", { ref: a, ...s, className: `select-bullet${c ? " " + c : ""}`, children: n.map((o, i) => {
5596
- const r = o.color ?? j(i), d = o.max ?? (Math.max(o.value, o.target) * 1.25 || 1), p = o.value >= o.target;
5596
+ const r = o.color ?? j(i), d = o.max ?? (Math.max(o.value, o.target) * 1.25 || 1), h = o.value >= o.target;
5597
5597
  return /* @__PURE__ */ m("div", { className: "select-bullet__row", children: [
5598
5598
  /* @__PURE__ */ m("div", { className: "select-bullet__head", children: [
5599
5599
  /* @__PURE__ */ e("span", { className: "select-bullet__label", children: o.label }),
@@ -5603,8 +5603,8 @@ const Dn = (t) => Math.max(0, Math.min(100, t)), w1 = P(function({ items: n, for
5603
5603
  "/ ",
5604
5604
  l(o.target)
5605
5605
  ] }),
5606
- /* @__PURE__ */ m("span", { className: `select-bullet__delta${p ? " is-over" : " is-under"}`, children: [
5607
- p ? "▲" : "▼",
5606
+ /* @__PURE__ */ m("span", { className: `select-bullet__delta${h ? " is-over" : " is-under"}`, children: [
5607
+ h ? "▲" : "▼",
5608
5608
  " ",
5609
5609
  Math.round(o.value / (o.target || 1) * 100),
5610
5610
  "%"
@@ -5629,37 +5629,37 @@ const Dn = (t) => Math.max(0, Math.min(100, t)), w1 = P(function({ items: n, for
5629
5629
  });
5630
5630
  function Ys(t, n, l) {
5631
5631
  const c = [], s = (o, i) => {
5632
- const r = o.reduce((u, f) => u + f, 0), d = Math.max(...o), p = Math.min(...o);
5633
- return Math.max(i * i * d / (r * r), r * r / (i * i * p));
5634
- }, a = (o, i, r, d, p) => {
5635
- if (o.length === 0 || d <= 0 || p <= 0) return;
5632
+ const r = o.reduce((u, f) => u + f, 0), d = Math.max(...o), h = Math.min(...o);
5633
+ return Math.max(i * i * d / (r * r), r * r / (i * i * h));
5634
+ }, a = (o, i, r, d, h) => {
5635
+ if (o.length === 0 || d <= 0 || h <= 0) return;
5636
5636
  if (o.length === 1) {
5637
- c.push({ x: i, y: r, w: d, h: p, idx: o[0] });
5637
+ c.push({ x: i, y: r, w: d, h, idx: o[0] });
5638
5638
  return;
5639
5639
  }
5640
- const u = o.reduce((h, b) => h + t[b], 0) || 1, f = d * p, g = o.map((h) => t[h] / u * f), v = Math.min(d, p);
5640
+ const u = o.reduce((p, b) => p + t[b], 0) || 1, f = d * h, g = o.map((p) => t[p] / u * f), v = Math.min(d, h);
5641
5641
  let x = 0, N = [];
5642
5642
  for (; x < g.length; ) {
5643
- const h = [...N, g[x]];
5644
- if (N.length === 0 || s(h, v) <= s(N, v))
5645
- N = h, x++;
5643
+ const p = [...N, g[x]];
5644
+ if (N.length === 0 || s(p, v) <= s(N, v))
5645
+ N = p, x++;
5646
5646
  else break;
5647
5647
  }
5648
- const k = o.slice(0, x), _ = N.reduce((h, b) => h + b, 0);
5649
- if (d >= p) {
5650
- const h = _ / p;
5648
+ const k = o.slice(0, x), _ = N.reduce((p, b) => p + b, 0);
5649
+ if (d >= h) {
5650
+ const p = _ / h;
5651
5651
  let b = r;
5652
5652
  k.forEach((S, $) => {
5653
- const M = N[$] / h;
5654
- c.push({ x: i, y: b, w: h, h: M, idx: S }), b += M;
5655
- }), a(o.slice(x), i + h, r, d - h, p);
5653
+ const M = N[$] / p;
5654
+ c.push({ x: i, y: b, w: p, h: M, idx: S }), b += M;
5655
+ }), a(o.slice(x), i + p, r, d - p, h);
5656
5656
  } else {
5657
- const h = _ / d;
5657
+ const p = _ / d;
5658
5658
  let b = i;
5659
5659
  k.forEach((S, $) => {
5660
- const M = N[$] / h;
5661
- c.push({ x: b, y: r, w: M, h, idx: S }), b += M;
5662
- }), a(o.slice(x), i, r + h, d, p - h);
5660
+ const M = N[$] / p;
5661
+ c.push({ x: b, y: r, w: M, h: p, idx: S }), b += M;
5662
+ }), a(o.slice(x), i, r + p, d, h - p);
5663
5663
  }
5664
5664
  };
5665
5665
  return a(
@@ -5670,8 +5670,8 @@ function Ys(t, n, l) {
5670
5670
  l
5671
5671
  ), c;
5672
5672
  }
5673
- function k1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
5674
- const { ref: a, width: o } = ce(n), i = K(), r = ne(), d = t.map((u, f) => f).sort((u, f) => t[f].value - t[u].value), p = o > 0 ? Ys(d.map((u) => t[u].value), o, n) : [];
5673
+ function So({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
5674
+ const { ref: a, width: o } = ce(n), i = K(), r = ne(), d = t.map((u, f) => f).sort((u, f) => t[f].value - t[u].value), h = o > 0 ? Ys(d.map((u) => t[u].value), o, n) : [];
5675
5675
  return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap select-treemap${c ? " " + c : ""}`, ref: a, children: [
5676
5676
  o > 0 && /* @__PURE__ */ m("svg", { width: o, height: n, className: "select-chart", children: [
5677
5677
  /* @__PURE__ */ e("defs", { children: t.map((u, f) => {
@@ -5681,7 +5681,7 @@ function k1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
5681
5681
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: g, stopOpacity: 0.6 })
5682
5682
  ] }, f);
5683
5683
  }) }),
5684
- p.map((u, f) => {
5684
+ h.map((u, f) => {
5685
5685
  const g = d[u.idx], v = t[g], x = u.w > 56 && u.h > 30;
5686
5686
  return /* @__PURE__ */ m("g", { children: [
5687
5687
  /* @__PURE__ */ e(
@@ -5712,16 +5712,16 @@ function k1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
5712
5712
  /* @__PURE__ */ e(J, { tip: i.tip })
5713
5713
  ] });
5714
5714
  }
5715
- function S1({ series: t, height: n = 240, xFormat: l = z, yFormat: c = z, xMax: s, yMax: a, maxRadius: o = 18, className: i, ...r }) {
5716
- const { ref: d, width: p } = ce(n), u = K(), f = t.flatMap((M) => M.points), g = xe(s ?? Math.max(0, ...f.map((M) => M.x))), v = xe(a ?? Math.max(0, ...f.map((M) => M.y))), x = Math.max(1, ...f.map((M) => M.r ?? 0)), N = Ie, k = Math.max(0, p - N.left - N.right), _ = n - N.top - N.bottom, h = N.top + _, b = (M) => N.left + M / g * k, S = (M) => h - M / v * _, $ = (M) => M.r ? 4 + Math.sqrt(M.r) / Math.sqrt(x) * (o - 4) : 4.5;
5715
+ function Co({ series: t, height: n = 240, xFormat: l = z, yFormat: c = z, xMax: s, yMax: a, maxRadius: o = 18, className: i, ...r }) {
5716
+ const { ref: d, width: h } = ce(n), u = K(), f = t.flatMap((M) => M.points), g = xe(s ?? Math.max(0, ...f.map((M) => M.x))), v = xe(a ?? Math.max(0, ...f.map((M) => M.y))), x = Math.max(1, ...f.map((M) => M.r ?? 0)), N = Ie, k = Math.max(0, h - N.left - N.right), _ = n - N.top - N.bottom, p = N.top + _, b = (M) => N.left + M / g * k, S = (M) => p - M / v * _, $ = (M) => M.r ? 4 + Math.sqrt(M.r) / Math.sqrt(x) * (o - 4) : 4.5;
5717
5717
  return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${i ? " " + i : ""}`, ref: d, children: [
5718
- p > 0 && /* @__PURE__ */ m("svg", { width: p, height: n, className: "select-chart", children: [
5718
+ h > 0 && /* @__PURE__ */ m("svg", { width: h, height: n, className: "select-chart", children: [
5719
5719
  ke(v).map((M, w) => /* @__PURE__ */ m("g", { children: [
5720
5720
  /* @__PURE__ */ e(
5721
5721
  "line",
5722
5722
  {
5723
5723
  x1: N.left,
5724
- x2: p - N.right,
5724
+ x2: h - N.right,
5725
5725
  y1: S(M),
5726
5726
  y2: S(M),
5727
5727
  className: w === 0 ? "select-chart__axis" : "select-chart__grid"
@@ -5759,9 +5759,9 @@ function S1({ series: t, height: n = 240, xFormat: l = z, yFormat: c = z, xMax:
5759
5759
  /* @__PURE__ */ e(J, { tip: u.tip })
5760
5760
  ] });
5761
5761
  }
5762
- const C1 = P(function({ axes: n, series: l, size: c = 240, max: s, format: a = z, levels: o = 4, legend: i = !0, className: r, ...d }, p) {
5763
- const u = K(), f = ne(), g = n.length, v = c / 2, x = c / 2, N = c / 2 - 30, k = s ?? xe(Math.max(1, ...l.flatMap((S) => S.values))), _ = (S) => (-90 + S * 360 / g) * Math.PI / 180, h = (S, $) => [v + $ * Math.cos(_(S)), x + $ * Math.sin(_(S))], b = (S) => S.map(($, M) => `${M === 0 ? "M" : "L"}${h(M, $).map((w) => w.toFixed(2)).join(",")}`).join(" ") + " Z";
5764
- return /* @__PURE__ */ m("div", { ref: p, ...d, className: `select-donut-wrap${r ? " " + r : ""}`, children: [
5762
+ const Lo = P(function({ axes: n, series: l, size: c = 240, max: s, format: a = z, levels: o = 4, legend: i = !0, className: r, ...d }, h) {
5763
+ const u = K(), f = ne(), g = n.length, v = c / 2, x = c / 2, N = c / 2 - 30, k = s ?? xe(Math.max(1, ...l.flatMap((S) => S.values))), _ = (S) => (-90 + S * 360 / g) * Math.PI / 180, p = (S, $) => [v + $ * Math.cos(_(S)), x + $ * Math.sin(_(S))], b = (S) => S.map(($, M) => `${M === 0 ? "M" : "L"}${p(M, $).map((w) => w.toFixed(2)).join(",")}`).join(" ") + " Z";
5764
+ return /* @__PURE__ */ m("div", { ref: h, ...d, className: `select-donut-wrap${r ? " " + r : ""}`, children: [
5765
5765
  /* @__PURE__ */ m("div", { className: "select-radar", style: { width: c, aspectRatio: "1" }, children: [
5766
5766
  /* @__PURE__ */ m("svg", { width: c, height: c, viewBox: `0 0 ${c} ${c}`, className: "select-chart", "aria-hidden": "true", children: [
5767
5767
  /* @__PURE__ */ e("defs", { children: l.map((S, $) => {
@@ -5776,7 +5776,7 @@ const C1 = P(function({ axes: n, series: l, size: c = 240, max: s, format: a = z
5776
5776
  return /* @__PURE__ */ e("path", { d: b(n.map(() => M)), className: "select-chart__grid", fill: "none" }, $);
5777
5777
  }),
5778
5778
  n.map((S, $) => {
5779
- const [M, w] = h($, N), [y, C] = h($, N + 14);
5779
+ const [M, w] = p($, N), [y, C] = p($, N + 14);
5780
5780
  return /* @__PURE__ */ m("g", { children: [
5781
5781
  /* @__PURE__ */ e("line", { x1: v, y1: x, x2: M, y2: w, className: "select-chart__grid" }),
5782
5782
  /* @__PURE__ */ e(
@@ -5797,7 +5797,7 @@ const C1 = P(function({ axes: n, series: l, size: c = 240, max: s, format: a = z
5797
5797
  return /* @__PURE__ */ m("g", { children: [
5798
5798
  /* @__PURE__ */ e("path", { d: b(w), fill: `url(#${f}-rd${$})`, stroke: M, strokeWidth: 2, strokeLinejoin: "round", className: "select-chart__area" }),
5799
5799
  w.map((y, C) => {
5800
- const [L, B] = h(C, y);
5800
+ const [L, B] = p(C, y);
5801
5801
  return /* @__PURE__ */ e(
5802
5802
  "circle",
5803
5803
  {
@@ -5829,18 +5829,18 @@ const C1 = P(function({ axes: n, series: l, size: c = 240, max: s, format: a = z
5829
5829
  ] }, $)) })
5830
5830
  ] });
5831
5831
  });
5832
- function L1({ links: t, height: n = 260, format: l = z, nodeWidth: c = 14, nodeGap: s = 14, className: a, ...o }) {
5833
- const { ref: i, width: r } = ce(n), d = K(), p = [], u = [];
5832
+ function Ao({ links: t, height: n = 260, format: l = z, nodeWidth: c = 14, nodeGap: s = 14, className: a, ...o }) {
5833
+ const { ref: i, width: r } = ce(n), d = K(), h = [], u = [];
5834
5834
  for (const y of t)
5835
- p.includes(y.source) || p.push(y.source), u.includes(y.target) || u.push(y.target);
5836
- const f = t.reduce((y, C) => y + C.value, 0) || 1, g = (y, C) => t.filter((L) => L[C] === y).reduce((L, B) => L + B.value, 0), v = 6, x = n - v * 2, N = Math.max(p.length, u.length), k = s * Math.max(0, N - 1), _ = (x - k) / f, h = (y, C, L) => {
5835
+ h.includes(y.source) || h.push(y.source), u.includes(y.target) || u.push(y.target);
5836
+ const f = t.reduce((y, C) => y + C.value, 0) || 1, g = (y, C) => t.filter((L) => L[C] === y).reduce((L, B) => L + B.value, 0), v = 6, x = n - v * 2, N = Math.max(h.length, u.length), k = s * Math.max(0, N - 1), _ = (x - k) / f, p = (y, C, L) => {
5837
5837
  const B = /* @__PURE__ */ new Map();
5838
5838
  let A = v;
5839
5839
  return y.forEach((E, F) => {
5840
5840
  const W = g(E, C) * _;
5841
5841
  B.set(E, { name: E, y: A, h: W, cursor: A, color: j(F + L) }), A += W + s;
5842
5842
  }), B;
5843
- }, b = h(p, "source", 0), S = h(u, "target", p.length), $ = c, M = r - c, w = ($ + M) / 2;
5843
+ }, b = p(h, "source", 0), S = p(u, "target", h.length), $ = c, M = r - c, w = ($ + M) / 2;
5844
5844
  return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
5845
5845
  r > 0 && /* @__PURE__ */ m("svg", { width: r, height: n, className: "select-chart", children: [
5846
5846
  t.map((y, C) => {
@@ -5877,41 +5877,41 @@ function L1({ links: t, height: n = 260, format: l = z, nodeWidth: c = 14, nodeG
5877
5877
  /* @__PURE__ */ e(J, { tip: d.tip })
5878
5878
  ] });
5879
5879
  }
5880
- function A1({ data: t, height: n = 240, format: l = z, upColor: c = "var(--select-chart-4)", downColor: s = "var(--select-chart-3)", className: a, ...o }) {
5881
- const { ref: i, width: r } = ce(n), d = K(), p = Ie, u = Math.max(0, r - p.left - p.right), f = n - p.top - p.bottom, g = p.top + f, v = Math.max(1, ...t.map((w) => w.high)), x = Math.min(v, ...t.map((w) => w.low)), N = (v - x) * 0.08 || 1, k = x - N, _ = v + N, h = (w) => g - (w - k) / (_ - k) * f, b = t.length, S = b ? u / b : 0, $ = Math.min(S * 0.5, 18), M = Array.from({ length: 5 }, (w, y) => k + (_ - k) * y / 4);
5880
+ function Eo({ data: t, height: n = 240, format: l = z, upColor: c = "var(--select-chart-4)", downColor: s = "var(--select-chart-3)", className: a, ...o }) {
5881
+ const { ref: i, width: r } = ce(n), d = K(), h = Ie, u = Math.max(0, r - h.left - h.right), f = n - h.top - h.bottom, g = h.top + f, v = Math.max(1, ...t.map((w) => w.high)), x = Math.min(v, ...t.map((w) => w.low)), N = (v - x) * 0.08 || 1, k = x - N, _ = v + N, p = (w) => g - (w - k) / (_ - k) * f, b = t.length, S = b ? u / b : 0, $ = Math.min(S * 0.5, 18), M = Array.from({ length: 5 }, (w, y) => k + (_ - k) * y / 4);
5882
5882
  return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
5883
5883
  r > 0 && /* @__PURE__ */ m("svg", { width: r, height: n, className: "select-chart", children: [
5884
5884
  M.map((w, y) => /* @__PURE__ */ m("g", { children: [
5885
5885
  /* @__PURE__ */ e(
5886
5886
  "line",
5887
5887
  {
5888
- x1: p.left,
5889
- x2: r - p.right,
5890
- y1: h(w),
5891
- y2: h(w),
5888
+ x1: h.left,
5889
+ x2: r - h.right,
5890
+ y1: p(w),
5891
+ y2: p(w),
5892
5892
  className: y === 0 ? "select-chart__axis" : "select-chart__grid"
5893
5893
  }
5894
5894
  ),
5895
- /* @__PURE__ */ e("text", { x: p.left - 8, y: h(w), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: l(w) })
5895
+ /* @__PURE__ */ e("text", { x: h.left - 8, y: p(w), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: l(w) })
5896
5896
  ] }, y)),
5897
5897
  t.map((w, y) => {
5898
- const C = p.left + S * y + S / 2, L = w.close >= w.open, B = L ? c : s, A = h(Math.max(w.open, w.close)), E = Math.max(1, Math.abs(h(w.open) - h(w.close)));
5898
+ const C = h.left + S * y + S / 2, L = w.close >= w.open, B = L ? c : s, A = p(Math.max(w.open, w.close)), E = Math.max(1, Math.abs(p(w.open) - p(w.close)));
5899
5899
  return /* @__PURE__ */ m("g", { children: [
5900
- /* @__PURE__ */ e("line", { x1: C, x2: C, y1: h(w.high), y2: h(w.low), stroke: B, strokeWidth: 1.5 }),
5900
+ /* @__PURE__ */ e("line", { x1: C, x2: C, y1: p(w.high), y2: p(w.low), stroke: B, strokeWidth: 1.5 }),
5901
5901
  /* @__PURE__ */ e("rect", { x: C - $ / 2, y: A, width: $, height: E, rx: 2, fill: B, fillOpacity: L ? 0.9 : 0.78 }),
5902
- /* @__PURE__ */ e("text", { x: C, y: n - p.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: w.label }),
5902
+ /* @__PURE__ */ e("text", { x: C, y: n - h.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: w.label }),
5903
5903
  /* @__PURE__ */ e(
5904
5904
  "rect",
5905
5905
  {
5906
- x: p.left + S * y,
5907
- y: p.top,
5906
+ x: h.left + S * y,
5907
+ y: h.top,
5908
5908
  width: S,
5909
5909
  height: f,
5910
5910
  fill: "transparent",
5911
5911
  onMouseEnter: () => d.show({
5912
5912
  x: C,
5913
- y: h(w.high),
5914
- place: h(w.high) < p.top + 64 ? "bottom" : "top",
5913
+ y: p(w.high),
5914
+ place: p(w.high) < h.top + 64 ? "bottom" : "top",
5915
5915
  title: w.label,
5916
5916
  rows: [
5917
5917
  { label: "Abertura", value: l(w.open), color: B },
@@ -5929,8 +5929,8 @@ function A1({ data: t, height: n = 240, format: l = z, upColor: c = "var(--selec
5929
5929
  /* @__PURE__ */ e(J, { tip: d.tip })
5930
5930
  ] });
5931
5931
  }
5932
- function E1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
5933
- const { ref: a, width: o } = ce(n), i = K(), r = Ie, d = Math.max(0, o - r.left - r.right), p = n - r.top - r.bottom, u = r.top + p, f = xe(Math.max(1, ...t.map((k) => k.max))), g = (k) => u - k / f * p, v = t.length, x = v ? d / v : 0, N = Math.min(x * 0.5, 40);
5932
+ function Bo({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
5933
+ const { ref: a, width: o } = ce(n), i = K(), r = Ie, d = Math.max(0, o - r.left - r.right), h = n - r.top - r.bottom, u = r.top + h, f = xe(Math.max(1, ...t.map((k) => k.max))), g = (k) => u - k / f * h, v = t.length, x = v ? d / v : 0, N = Math.min(x * 0.5, 40);
5934
5934
  return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
5935
5935
  o > 0 && /* @__PURE__ */ m("svg", { width: o, height: n, className: "select-chart", children: [
5936
5936
  ke(f).map((k, _) => /* @__PURE__ */ m("g", { children: [
@@ -5947,24 +5947,24 @@ function E1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
5947
5947
  /* @__PURE__ */ e("text", { x: r.left - 8, y: g(k), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: l(k) })
5948
5948
  ] }, _)),
5949
5949
  t.map((k, _) => {
5950
- const h = r.left + x * _ + x / 2, b = k.color ?? j(_);
5950
+ const p = r.left + x * _ + x / 2, b = k.color ?? j(_);
5951
5951
  return /* @__PURE__ */ m("g", { children: [
5952
- /* @__PURE__ */ e("line", { x1: h, x2: h, y1: g(k.max), y2: g(k.min), stroke: b, strokeWidth: 1.5 }),
5953
- /* @__PURE__ */ e("line", { x1: h - N / 4, x2: h + N / 4, y1: g(k.max), y2: g(k.max), stroke: b, strokeWidth: 1.5 }),
5954
- /* @__PURE__ */ e("line", { x1: h - N / 4, x2: h + N / 4, y1: g(k.min), y2: g(k.min), stroke: b, strokeWidth: 1.5 }),
5955
- /* @__PURE__ */ e("rect", { x: h - N / 2, y: g(k.q3), width: N, height: Math.max(1, g(k.q1) - g(k.q3)), rx: 3, fill: b, fillOpacity: 0.32, stroke: b, strokeWidth: 1.5 }),
5956
- /* @__PURE__ */ e("line", { x1: h - N / 2, x2: h + N / 2, y1: g(k.median), y2: g(k.median), stroke: b, strokeWidth: 2 }),
5957
- /* @__PURE__ */ e("text", { x: h, y: n - r.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: k.label }),
5952
+ /* @__PURE__ */ e("line", { x1: p, x2: p, y1: g(k.max), y2: g(k.min), stroke: b, strokeWidth: 1.5 }),
5953
+ /* @__PURE__ */ e("line", { x1: p - N / 4, x2: p + N / 4, y1: g(k.max), y2: g(k.max), stroke: b, strokeWidth: 1.5 }),
5954
+ /* @__PURE__ */ e("line", { x1: p - N / 4, x2: p + N / 4, y1: g(k.min), y2: g(k.min), stroke: b, strokeWidth: 1.5 }),
5955
+ /* @__PURE__ */ e("rect", { x: p - N / 2, y: g(k.q3), width: N, height: Math.max(1, g(k.q1) - g(k.q3)), rx: 3, fill: b, fillOpacity: 0.32, stroke: b, strokeWidth: 1.5 }),
5956
+ /* @__PURE__ */ e("line", { x1: p - N / 2, x2: p + N / 2, y1: g(k.median), y2: g(k.median), stroke: b, strokeWidth: 2 }),
5957
+ /* @__PURE__ */ e("text", { x: p, y: n - r.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: k.label }),
5958
5958
  /* @__PURE__ */ e(
5959
5959
  "rect",
5960
5960
  {
5961
5961
  x: r.left + x * _,
5962
5962
  y: r.top,
5963
5963
  width: x,
5964
- height: p,
5964
+ height: h,
5965
5965
  fill: "transparent",
5966
5966
  onMouseEnter: () => i.show({
5967
- x: h,
5967
+ x: p,
5968
5968
  y: g(k.max),
5969
5969
  place: g(k.max) < r.top + 76 ? "bottom" : "top",
5970
5970
  title: k.label,
@@ -5985,8 +5985,8 @@ function E1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
5985
5985
  /* @__PURE__ */ e(J, { tip: i.tip })
5986
5986
  ] });
5987
5987
  }
5988
- function B1({ data: t, height: n, min: l, max: c, format: s = z, labelWidth: a = 96, className: o, ...i }) {
5989
- const f = n ?? t.length * 36 + 6 + 26, { ref: g, width: v } = ce(f), x = K(), N = ne(), k = l ?? Math.min(0, ...t.map((L) => L.start)), h = (c ?? Math.max(1, ...t.map((L) => L.end))) - k || 1, b = a, S = Math.max(0, v - b - 14), $ = f - 6 - 26, M = t.length ? $ / t.length : 0, w = Math.min(M * 0.6, 22), y = (L) => b + (L - k) / h * S, C = Array.from({ length: 5 }, (L, B) => k + h * B / 4);
5988
+ function Fo({ data: t, height: n, min: l, max: c, format: s = z, labelWidth: a = 96, className: o, ...i }) {
5989
+ const f = n ?? t.length * 36 + 6 + 26, { ref: g, width: v } = ce(f), x = K(), N = ne(), k = l ?? Math.min(0, ...t.map((L) => L.start)), p = (c ?? Math.max(1, ...t.map((L) => L.end))) - k || 1, b = a, S = Math.max(0, v - b - 14), $ = f - 6 - 26, M = t.length ? $ / t.length : 0, w = Math.min(M * 0.6, 22), y = (L) => b + (L - k) / p * S, C = Array.from({ length: 5 }, (L, B) => k + p * B / 4);
5990
5990
  return /* @__PURE__ */ m("div", { ...i, className: `select-chart-wrap${o ? " " + o : ""}`, ref: g, children: [
5991
5991
  v > 0 && /* @__PURE__ */ m("svg", { width: v, height: f, className: "select-chart", children: [
5992
5992
  /* @__PURE__ */ e("defs", { children: t.map((L, B) => {
@@ -6040,21 +6040,21 @@ function B1({ data: t, height: n, min: l, max: c, format: s = z, labelWidth: a =
6040
6040
  /* @__PURE__ */ e(J, { tip: x.tip })
6041
6041
  ] });
6042
6042
  }
6043
- const F1 = P(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels: c = ["Seg", "", "Qua", "", "Sex", "", "Dom"], columnLabels: s, format: a = z, cell: o = 14, gap: i = 3, min: r, max: d, className: p, ...u }, f) {
6043
+ const Io = P(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels: c = ["Seg", "", "Qua", "", "Sex", "", "Dom"], columnLabels: s, format: a = z, cell: o = 14, gap: i = 3, min: r, max: d, className: h, ...u }, f) {
6044
6044
  const g = K();
6045
6045
  ne();
6046
- const v = n.flat().filter((w) => w != null && Number.isFinite(w)), x = r ?? (v.length ? Math.min(...v) : 0), k = (d ?? (v.length ? Math.max(...v) : 1)) - x || 1, _ = 30, h = s ? 16 : 4, b = o + i, S = _ + n.length * b, $ = h + 7 * b, M = { "--heat-color": l };
6047
- return /* @__PURE__ */ m("div", { ref: f, ...u, className: `select-chart-wrap select-calheat${p ? " " + p : ""}`, style: M, children: [
6046
+ const v = n.flat().filter((w) => w != null && Number.isFinite(w)), x = r ?? (v.length ? Math.min(...v) : 0), k = (d ?? (v.length ? Math.max(...v) : 1)) - x || 1, _ = 30, p = s ? 16 : 4, b = o + i, S = _ + n.length * b, $ = p + 7 * b, M = { "--heat-color": l };
6047
+ return /* @__PURE__ */ m("div", { ref: f, ...u, className: `select-chart-wrap select-calheat${h ? " " + h : ""}`, style: M, children: [
6048
6048
  /* @__PURE__ */ m("svg", { width: S, height: $, className: "select-chart", children: [
6049
6049
  c.map(
6050
- (w, y) => w ? /* @__PURE__ */ e("text", { x: _ - 6, y: h + y * b + o / 2, className: "select-chart__xlabel", dominantBaseline: "middle", textAnchor: "end", children: w }, y) : null
6050
+ (w, y) => w ? /* @__PURE__ */ e("text", { x: _ - 6, y: p + y * b + o / 2, className: "select-chart__xlabel", dominantBaseline: "middle", textAnchor: "end", children: w }, y) : null
6051
6051
  ),
6052
6052
  s == null ? void 0 : s.map(
6053
- (w, y) => w ? /* @__PURE__ */ e("text", { x: _ + y * b, y: h - 4, className: "select-chart__xlabel", textAnchor: "start", children: w }, y) : null
6053
+ (w, y) => w ? /* @__PURE__ */ e("text", { x: _ + y * b, y: p - 4, className: "select-chart__xlabel", textAnchor: "start", children: w }, y) : null
6054
6054
  ),
6055
6055
  n.map(
6056
6056
  (w, y) => w.map((C, L) => {
6057
- const B = _ + y * b, A = h + L * b;
6057
+ const B = _ + y * b, A = p + L * b;
6058
6058
  if (C == null || !Number.isFinite(C))
6059
6059
  return /* @__PURE__ */ e("rect", { x: B, y: A, width: o, height: o, rx: 3, className: "select-chart__calcell select-chart__calcell--empty" }, `${y}-${L}`);
6060
6060
  const E = Math.max(0, Math.min(1, (C - x) / k)), F = Math.round((0.14 + E * 0.86) * 100);
@@ -6084,18 +6084,18 @@ const F1 = P(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
6084
6084
  ] }),
6085
6085
  /* @__PURE__ */ e(J, { tip: g.tip })
6086
6086
  ] });
6087
- }), I1 = P(function({ segments: n, size: l = 200, format: c = z, legend: s = !0, rose: a = !1, className: o, ...i }, r) {
6088
- const d = K(), p = l / 2, u = l / 2, f = l / 2 - 2, g = n.length || 1, v = xe(Math.max(1, ...n.map((k) => k.value))), x = (k) => a ? Math.max(0, k) / v * f : Math.sqrt(Math.max(0, k) / v) * f, N = 360 / g;
6087
+ }), Po = P(function({ segments: n, size: l = 200, format: c = z, legend: s = !0, rose: a = !1, className: o, ...i }, r) {
6088
+ const d = K(), h = l / 2, u = l / 2, f = l / 2 - 2, g = n.length || 1, v = xe(Math.max(1, ...n.map((k) => k.value))), x = (k) => a ? Math.max(0, k) / v * f : Math.sqrt(Math.max(0, k) / v) * f, N = 360 / g;
6089
6089
  return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-donut-wrap${o ? " " + o : ""}`, children: [
6090
6090
  /* @__PURE__ */ m("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
6091
6091
  /* @__PURE__ */ m("svg", { width: l, height: l, viewBox: `0 0 ${l} ${l}`, className: "select-chart", "aria-hidden": "true", children: [
6092
- [0.34, 0.67, 1].map((k, _) => /* @__PURE__ */ e("circle", { cx: p, cy: u, r: f * k, className: "select-chart__grid", fill: "none" }, _)),
6092
+ [0.34, 0.67, 1].map((k, _) => /* @__PURE__ */ e("circle", { cx: h, cy: u, r: f * k, className: "select-chart__grid", fill: "none" }, _)),
6093
6093
  n.map((k, _) => {
6094
- const h = _ * N, b = (_ + 1) * N - 1.5, S = k.color ?? j(_), $ = Math.max(2, x(k.value)), M = ((h + b) / 2 - 90) * (Math.PI / 180), w = p + $ * Math.cos(M), y = u + $ * Math.sin(M);
6094
+ const p = _ * N, b = (_ + 1) * N - 1.5, S = k.color ?? j(_), $ = Math.max(2, x(k.value)), M = ((p + b) / 2 - 90) * (Math.PI / 180), w = h + $ * Math.cos(M), y = u + $ * Math.sin(M);
6095
6095
  return /* @__PURE__ */ e(
6096
6096
  "path",
6097
6097
  {
6098
- d: it(p, u, $, 0, h, b),
6098
+ d: it(h, u, $, 0, p, b),
6099
6099
  fill: S,
6100
6100
  fillOpacity: 0.8,
6101
6101
  className: "select-chart__seg",
@@ -6115,21 +6115,21 @@ const F1 = P(function({ weeks: n, color: l = "var(--select-chart-4)", dayLabels:
6115
6115
  ] }, _)) })
6116
6116
  ] });
6117
6117
  });
6118
- function P1({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s = z, className: a, ...o }) {
6119
- const { ref: i, width: r } = ce(c), d = K(), p = { top: 24, right: 64, bottom: 12, left: 132 }, u = xe(Math.max(1, ...t.flatMap((N) => [N.left, N.right]))), f = c - p.top - p.bottom, g = (N) => p.top + f - N / u * f, v = p.left, x = r - p.right;
6118
+ function Ro({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s = z, className: a, ...o }) {
6119
+ const { ref: i, width: r } = ce(c), d = K(), h = { top: 24, right: 64, bottom: 12, left: 132 }, u = xe(Math.max(1, ...t.flatMap((N) => [N.left, N.right]))), f = c - h.top - h.bottom, g = (N) => h.top + f - N / u * f, v = h.left, x = r - h.right;
6120
6120
  return /* @__PURE__ */ m("div", { ...o, className: `select-chart-wrap${a ? " " + a : ""}`, ref: i, children: [
6121
6121
  r > 0 && /* @__PURE__ */ m("svg", { width: r, height: c, className: "select-chart", children: [
6122
- /* @__PURE__ */ e("line", { x1: v, x2: v, y1: p.top, y2: p.top + f, className: "select-chart__axis" }),
6123
- /* @__PURE__ */ e("line", { x1: x, x2: x, y1: p.top, y2: p.top + f, className: "select-chart__axis" }),
6124
- n && /* @__PURE__ */ e("text", { x: v, y: p.top - 10, className: "select-chart__xlabel", textAnchor: "middle", children: n }),
6125
- l && /* @__PURE__ */ e("text", { x, y: p.top - 10, className: "select-chart__xlabel", textAnchor: "middle", children: l }),
6122
+ /* @__PURE__ */ e("line", { x1: v, x2: v, y1: h.top, y2: h.top + f, className: "select-chart__axis" }),
6123
+ /* @__PURE__ */ e("line", { x1: x, x2: x, y1: h.top, y2: h.top + f, className: "select-chart__axis" }),
6124
+ n && /* @__PURE__ */ e("text", { x: v, y: h.top - 10, className: "select-chart__xlabel", textAnchor: "middle", children: n }),
6125
+ l && /* @__PURE__ */ e("text", { x, y: h.top - 10, className: "select-chart__xlabel", textAnchor: "middle", children: l }),
6126
6126
  t.map((N, k) => {
6127
- const _ = N.color ?? j(k), h = g(N.left), b = g(N.right);
6127
+ const _ = N.color ?? j(k), p = g(N.left), b = g(N.right);
6128
6128
  return /* @__PURE__ */ m("g", { children: [
6129
- /* @__PURE__ */ e("line", { x1: v, y1: h, x2: x, y2: b, stroke: _, strokeWidth: 2, strokeLinecap: "round", className: "select-chart__line", pathLength: 1 }),
6130
- /* @__PURE__ */ e("circle", { cx: v, cy: h, r: 3.5, fill: _, className: "select-chart__dot" }),
6129
+ /* @__PURE__ */ e("line", { x1: v, y1: p, x2: x, y2: b, stroke: _, strokeWidth: 2, strokeLinecap: "round", className: "select-chart__line", pathLength: 1 }),
6130
+ /* @__PURE__ */ e("circle", { cx: v, cy: p, r: 3.5, fill: _, className: "select-chart__dot" }),
6131
6131
  /* @__PURE__ */ e("circle", { cx: x, cy: b, r: 3.5, fill: _, className: "select-chart__dot" }),
6132
- /* @__PURE__ */ m("text", { x: v - 10, y: h, className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: [
6132
+ /* @__PURE__ */ m("text", { x: v - 10, y: p, className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: [
6133
6133
  N.label,
6134
6134
  " · ",
6135
6135
  s(N.left)
@@ -6139,13 +6139,13 @@ function P1({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s =
6139
6139
  "rect",
6140
6140
  {
6141
6141
  x: v,
6142
- y: Math.min(h, b) - 6,
6142
+ y: Math.min(p, b) - 6,
6143
6143
  width: Math.max(0, x - v),
6144
- height: Math.abs(b - h) + 12,
6144
+ height: Math.abs(b - p) + 12,
6145
6145
  fill: "transparent",
6146
6146
  onMouseEnter: () => d.show({
6147
6147
  x: (v + x) / 2,
6148
- y: (h + b) / 2,
6148
+ y: (p + b) / 2,
6149
6149
  place: "top",
6150
6150
  title: N.label,
6151
6151
  rows: [
@@ -6162,8 +6162,8 @@ function P1({ data: t, leftLabel: n, rightLabel: l, height: c = 240, format: s =
6162
6162
  /* @__PURE__ */ e(J, { tip: d.tip })
6163
6163
  ] });
6164
6164
  }
6165
- function R1({ data: t, height: n, format: l = z, fromLabel: c = "Antes", toLabel: s = "Depois", labelWidth: a = 96, className: o, ...i }) {
6166
- const f = n ?? t.length * 34 + 6 + 26, { ref: g, width: v } = ce(f), x = K(), N = "var(--select-chart-2)", k = "var(--select-chart-1)", _ = xe(Math.max(1, ...t.flatMap((w) => [w.from, w.to]))), h = a, b = Math.max(0, v - h - 14), S = f - 6 - 26, $ = t.length ? S / t.length : 0, M = (w) => h + w / _ * b;
6165
+ function Do({ data: t, height: n, format: l = z, fromLabel: c = "Antes", toLabel: s = "Depois", labelWidth: a = 96, className: o, ...i }) {
6166
+ const f = n ?? t.length * 34 + 6 + 26, { ref: g, width: v } = ce(f), x = K(), N = "var(--select-chart-2)", k = "var(--select-chart-1)", _ = xe(Math.max(1, ...t.flatMap((w) => [w.from, w.to]))), p = a, b = Math.max(0, v - p - 14), S = f - 6 - 26, $ = t.length ? S / t.length : 0, M = (w) => p + w / _ * b;
6167
6167
  return /* @__PURE__ */ m("div", { ...i, className: `select-chart-wrap${o ? " " + o : ""}`, ref: g, children: [
6168
6168
  v > 0 && /* @__PURE__ */ m("svg", { width: v, height: f, className: "select-chart", children: [
6169
6169
  ke(_).map((w, y) => /* @__PURE__ */ m("g", { children: [
@@ -6185,11 +6185,11 @@ function R1({ data: t, height: n, format: l = z, fromLabel: c = "Antes", toLabel
6185
6185
  /* @__PURE__ */ e("line", { x1: M(w.from), x2: M(w.to), y1: C, y2: C, stroke: "var(--select-chart-track)", strokeWidth: 4, strokeLinecap: "round" }),
6186
6186
  /* @__PURE__ */ e("circle", { cx: M(w.from), cy: C, r: 5, fill: N, className: "select-chart__dot" }),
6187
6187
  /* @__PURE__ */ e("circle", { cx: M(w.to), cy: C, r: 5, fill: k, className: "select-chart__dot" }),
6188
- /* @__PURE__ */ e("text", { x: h - 8, y: C, className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: w.label }),
6188
+ /* @__PURE__ */ e("text", { x: p - 8, y: C, className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: w.label }),
6189
6189
  /* @__PURE__ */ e(
6190
6190
  "rect",
6191
6191
  {
6192
- x: h,
6192
+ x: p,
6193
6193
  y: C - $ / 2,
6194
6194
  width: b,
6195
6195
  height: $,
@@ -6214,20 +6214,20 @@ function R1({ data: t, height: n, format: l = z, fromLabel: c = "Antes", toLabel
6214
6214
  /* @__PURE__ */ e(J, { tip: x.tip })
6215
6215
  ] });
6216
6216
  }
6217
- function D1({ columns: t, height: n = 240, format: l = z, gap: c = 3, className: s, ...a }) {
6218
- const { ref: o, width: i } = ce(n), r = K(), d = { top: 6, right: 6, bottom: 24, left: 6 }, p = Math.max(0, i - d.left - d.right), u = n - d.top - d.bottom, f = t.map((h) => h.segments.reduce((b, S) => b + S.value, 0)), g = f.reduce((h, b) => h + b, 0) || 1, v = [];
6219
- t.forEach((h) => h.segments.forEach((b) => {
6217
+ function To({ columns: t, height: n = 240, format: l = z, gap: c = 3, className: s, ...a }) {
6218
+ const { ref: o, width: i } = ce(n), r = K(), d = { top: 6, right: 6, bottom: 24, left: 6 }, h = Math.max(0, i - d.left - d.right), u = n - d.top - d.bottom, f = t.map((p) => p.segments.reduce((b, S) => b + S.value, 0)), g = f.reduce((p, b) => p + b, 0) || 1, v = [];
6219
+ t.forEach((p) => p.segments.forEach((b) => {
6220
6220
  v.includes(b.key) || v.push(b.key);
6221
6221
  }));
6222
- const x = (h, b) => b ?? j(v.indexOf(h)), N = c * Math.max(0, t.length - 1), k = Math.max(0, p - N);
6222
+ const x = (p, b) => b ?? j(v.indexOf(p)), N = c * Math.max(0, t.length - 1), k = Math.max(0, h - N);
6223
6223
  let _ = d.left;
6224
6224
  return /* @__PURE__ */ m("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: o, children: [
6225
- i > 0 && /* @__PURE__ */ e("svg", { width: i, height: n, className: "select-chart", children: t.map((h, b) => {
6225
+ i > 0 && /* @__PURE__ */ e("svg", { width: i, height: n, className: "select-chart", children: t.map((p, b) => {
6226
6226
  const S = f[b] || 1, $ = S / g * k, M = _;
6227
6227
  _ += $ + c;
6228
6228
  let w = d.top;
6229
6229
  return /* @__PURE__ */ m("g", { children: [
6230
- h.segments.map((y, C) => {
6230
+ p.segments.map((y, C) => {
6231
6231
  const L = y.value / S * u, B = w;
6232
6232
  w += L;
6233
6233
  const A = x(y.key, y.color);
@@ -6245,7 +6245,7 @@ function D1({ columns: t, height: n = 240, format: l = z, gap: c = 3, className:
6245
6245
  x: M + $ / 2,
6246
6246
  y: B,
6247
6247
  place: B < d.top + 44 ? "bottom" : "top",
6248
- title: `${h.label} · ${y.key}`,
6248
+ title: `${p.label} · ${y.key}`,
6249
6249
  rows: [
6250
6250
  { label: "Valor", value: l(y.value), color: A },
6251
6251
  { label: "Share", value: `${Math.round(y.value / S * 100)}%` }
@@ -6256,21 +6256,21 @@ function D1({ columns: t, height: n = 240, format: l = z, gap: c = 3, className:
6256
6256
  C
6257
6257
  );
6258
6258
  }),
6259
- /* @__PURE__ */ e("text", { x: M + $ / 2, y: n - d.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: h.label })
6259
+ /* @__PURE__ */ e("text", { x: M + $ / 2, y: n - d.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: p.label })
6260
6260
  ] }, b);
6261
6261
  }) }),
6262
- /* @__PURE__ */ e("ul", { className: "select-donut__legend select-mekko__legend", children: v.map((h, b) => /* @__PURE__ */ m("li", { className: "select-donut__legitem", children: [
6262
+ /* @__PURE__ */ e("ul", { className: "select-donut__legend select-mekko__legend", children: v.map((p, b) => /* @__PURE__ */ m("li", { className: "select-donut__legitem", children: [
6263
6263
  /* @__PURE__ */ e("span", { className: "select-donut__dot", style: { background: j(b) } }),
6264
- /* @__PURE__ */ e("span", { className: "select-donut__leglabel", children: h })
6265
- ] }, h)) }),
6264
+ /* @__PURE__ */ e("span", { className: "select-donut__leglabel", children: p })
6265
+ ] }, p)) }),
6266
6266
  /* @__PURE__ */ e(J, { tip: r.tip })
6267
6267
  ] });
6268
6268
  }
6269
- const T1 = P(function({ value: n, max: l = 100, bands: c, size: s = 220, thickness: a, label: o, format: i = (u) => `${Math.round(u)}`, className: r, ...d }, p) {
6269
+ const Wo = P(function({ value: n, max: l = 100, bands: c, size: s = 220, thickness: a, label: o, format: i = (u) => `${Math.round(u)}`, className: r, ...d }, h) {
6270
6270
  const u = a ?? Math.max(10, Math.round(s * 0.08)), f = u / 2 + 2, g = s / 2 - f, v = s / 2, x = s / 2, N = x + f, k = (L) => Math.max(0, Math.min(l, L)), _ = (L) => {
6271
6271
  const B = Math.PI + L * Math.PI;
6272
6272
  return [v + g * Math.cos(B), x + g * Math.sin(B)];
6273
- }, h = (L, B) => {
6273
+ }, p = (L, B) => {
6274
6274
  const [A, E] = _(L), [F, W] = _(B);
6275
6275
  return `M ${A.toFixed(2)} ${E.toFixed(2)} A ${g} ${g} 0 0 1 ${F.toFixed(2)} ${W.toFixed(2)}`;
6276
6276
  };
@@ -6279,9 +6279,9 @@ const T1 = P(function({ value: n, max: l = 100, bands: c, size: s = 220, thickne
6279
6279
  const B = k(b) / l, A = k(L.upTo) / l;
6280
6280
  return b = L.upTo, { t0: B, t1: A, color: L.color };
6281
6281
  }), $ = k(n) / l, M = Math.PI + $ * Math.PI, w = g * 0.82, y = v + w * Math.cos(M), C = x + w * Math.sin(M);
6282
- return /* @__PURE__ */ e("div", { ref: p, ...d, className: `select-gauge${r ? " " + r : ""}`, style: { width: `${s / 16}rem` }, children: /* @__PURE__ */ m("div", { className: "select-gauge__ring", style: { width: "100%", aspectRatio: `${s} / ${N}` }, children: [
6282
+ return /* @__PURE__ */ e("div", { ref: h, ...d, className: `select-gauge${r ? " " + r : ""}`, style: { width: `${s / 16}rem` }, children: /* @__PURE__ */ m("div", { className: "select-gauge__ring", style: { width: "100%", aspectRatio: `${s} / ${N}` }, children: [
6283
6283
  /* @__PURE__ */ m("svg", { width: "100%", height: "100%", viewBox: `0 0 ${s} ${N}`, className: "select-chart", "aria-hidden": "true", children: [
6284
- S.map((L, B) => /* @__PURE__ */ e("path", { d: h(L.t0, L.t1), fill: "none", stroke: L.color, strokeWidth: u, strokeLinecap: "butt" }, B)),
6284
+ S.map((L, B) => /* @__PURE__ */ e("path", { d: p(L.t0, L.t1), fill: "none", stroke: L.color, strokeWidth: u, strokeLinecap: "butt" }, B)),
6285
6285
  /* @__PURE__ */ e("line", { x1: v, y1: x, x2: y, y2: C, stroke: "var(--select-text)", strokeWidth: 3, strokeLinecap: "round", className: "select-gaugeband__needle" }),
6286
6286
  /* @__PURE__ */ e("circle", { cx: v, cy: x, r: 5, fill: "var(--select-text)" })
6287
6287
  ] }),
@@ -6291,12 +6291,12 @@ const T1 = P(function({ value: n, max: l = 100, bands: c, size: s = 220, thickne
6291
6291
  ] })
6292
6292
  ] }) });
6293
6293
  });
6294
- function W1({ series: t, labels: n, height: l = 240, format: c = z, className: s, ...a }) {
6295
- const { ref: o, width: i } = ce(l), r = K(), d = ne(), [p, u] = T(null), f = n.length, g = { top: 14, right: 14, bottom: 28, left: 14 }, v = Math.max(0, i - g.left - g.right), x = l - g.top - g.bottom, N = n.map(($, M) => t.reduce((w, y) => w + (y.data[M] ?? 0), 0)), k = Math.max(1, ...N), _ = x / k, h = ($) => g.left + (f <= 1 ? v / 2 : $ / (f - 1) * v), b = n.map(() => 0), S = t.map(($, M) => {
6294
+ function Oo({ series: t, labels: n, height: l = 240, format: c = z, className: s, ...a }) {
6295
+ const { ref: o, width: i } = ce(l), r = K(), d = ne(), [h, u] = T(null), f = n.length, g = { top: 14, right: 14, bottom: 28, left: 14 }, v = Math.max(0, i - g.left - g.right), x = l - g.top - g.bottom, N = n.map(($, M) => t.reduce((w, y) => w + (y.data[M] ?? 0), 0)), k = Math.max(1, ...N), _ = x / k, p = ($) => g.left + (f <= 1 ? v / 2 : $ / (f - 1) * v), b = n.map(() => 0), S = t.map(($, M) => {
6296
6296
  const w = [], y = [];
6297
6297
  return n.forEach((C, L) => {
6298
6298
  const A = g.top + (x - N[L] * _) / 2 + b[L] * _, E = A + ($.data[L] ?? 0) * _;
6299
- w.push([h(L), A]), y.push([h(L), E]), b[L] = b[L] + ($.data[L] ?? 0);
6299
+ w.push([p(L), A]), y.push([p(L), E]), b[L] = b[L] + ($.data[L] ?? 0);
6300
6300
  }), { upper: w, lower: y, color: $.color ?? j(M), name: $.name };
6301
6301
  });
6302
6302
  return /* @__PURE__ */ m("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: o, children: [
@@ -6306,21 +6306,21 @@ function W1({ series: t, labels: n, height: l = 240, format: c = z, className: s
6306
6306
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: $.color, stopOpacity: 0.6 })
6307
6307
  ] }, M)) }),
6308
6308
  S.map(($, M) => /* @__PURE__ */ e("path", { d: Sl($.upper, $.lower), fill: `url(#${d}-st${M})`, className: "select-chart__area" }, M)),
6309
- p != null && /* @__PURE__ */ e("line", { x1: h(p), x2: h(p), y1: g.top, y2: g.top + x, className: "select-chart__crosshair" }),
6309
+ h != null && /* @__PURE__ */ e("line", { x1: p(h), x2: p(h), y1: g.top, y2: g.top + x, className: "select-chart__crosshair" }),
6310
6310
  n.map(
6311
- ($, M) => M % Math.max(1, Math.ceil(f / 7)) === 0 || M === f - 1 ? /* @__PURE__ */ e("text", { x: h(M), y: l - g.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: $ }, M) : null
6311
+ ($, M) => M % Math.max(1, Math.ceil(f / 7)) === 0 || M === f - 1 ? /* @__PURE__ */ e("text", { x: p(M), y: l - g.bottom + 16, className: "select-chart__xlabel", textAnchor: "middle", children: $ }, M) : null
6312
6312
  ),
6313
6313
  n.map(($, M) => /* @__PURE__ */ e(
6314
6314
  "rect",
6315
6315
  {
6316
- x: h(M) - v / Math.max(1, f) / 2,
6316
+ x: p(M) - v / Math.max(1, f) / 2,
6317
6317
  y: g.top,
6318
6318
  width: v / Math.max(1, f),
6319
6319
  height: x,
6320
6320
  fill: "transparent",
6321
6321
  onMouseEnter: () => {
6322
6322
  u(M), r.show({
6323
- x: h(M),
6323
+ x: p(M),
6324
6324
  y: g.top + x / 2,
6325
6325
  place: "top",
6326
6326
  title: $,
@@ -6337,27 +6337,27 @@ function W1({ series: t, labels: n, height: l = 240, format: c = z, className: s
6337
6337
  /* @__PURE__ */ e(J, { tip: r.tip })
6338
6338
  ] });
6339
6339
  }
6340
- const O1 = P(function({ data: n, size: l = 220, format: c = z, legend: s = !0, className: a, ...o }, i) {
6341
- const r = K(), d = l / 2, p = l / 2, u = l / 2 - 2, f = u * 0.62, g = u * 0.32, v = n.map((k) => {
6340
+ const Ho = P(function({ data: n, size: l = 220, format: c = z, legend: s = !0, className: a, ...o }, i) {
6341
+ const r = K(), d = l / 2, h = l / 2, u = l / 2 - 2, f = u * 0.62, g = u * 0.32, v = n.map((k) => {
6342
6342
  var _;
6343
- return (_ = k.children) != null && _.length ? k.children.reduce((h, b) => h + b.value, 0) : k.value ?? 0;
6343
+ return (_ = k.children) != null && _.length ? k.children.reduce((p, b) => p + b.value, 0) : k.value ?? 0;
6344
6344
  }), x = v.reduce((k, _) => k + _, 0) || 1;
6345
6345
  let N = 0;
6346
6346
  return /* @__PURE__ */ m("div", { ref: i, ...o, className: `select-donut-wrap${a ? " " + a : ""}`, children: [
6347
6347
  /* @__PURE__ */ m("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: [
6348
6348
  /* @__PURE__ */ e("svg", { width: l, height: l, viewBox: `0 0 ${l} ${l}`, className: "select-chart select-donut", "aria-hidden": "true", children: n.map((k, _) => {
6349
- const h = v[_], b = N / x * 360;
6350
- N += h;
6349
+ const p = v[_], b = N / x * 360;
6350
+ N += p;
6351
6351
  const S = N / x * 360, $ = k.color ?? j(_);
6352
6352
  let M = b;
6353
6353
  return /* @__PURE__ */ m("g", { children: [
6354
6354
  /* @__PURE__ */ e(
6355
6355
  "path",
6356
6356
  {
6357
- d: it(d, p, f, g, b + 0.6, Math.max(b + 0.7, S - 0.6)),
6357
+ d: it(d, h, f, g, b + 0.6, Math.max(b + 0.7, S - 0.6)),
6358
6358
  fill: $,
6359
6359
  className: "select-chart__seg",
6360
- onMouseEnter: () => r.show({ x: d, y: p - f, place: p - f < 44 ? "bottom" : "top", title: k.label, rows: [{ label: "Total", value: c(h), color: $ }] }),
6360
+ onMouseEnter: () => r.show({ x: d, y: h - f, place: h - f < 44 ? "bottom" : "top", title: k.label, rows: [{ label: "Total", value: c(p), color: $ }] }),
6361
6361
  onMouseLeave: r.hide
6362
6362
  }
6363
6363
  ),
@@ -6368,18 +6368,18 @@ const O1 = P(function({ data: n, size: l = 220, format: c = z, legend: s = !0, c
6368
6368
  return /* @__PURE__ */ e(
6369
6369
  "path",
6370
6370
  {
6371
- d: it(d, p, u, f + 2, C + 0.5, Math.max(C + 0.6, L - 0.5)),
6371
+ d: it(d, h, u, f + 2, C + 0.5, Math.max(C + 0.6, L - 0.5)),
6372
6372
  fill: B,
6373
6373
  fillOpacity: A,
6374
6374
  className: "select-chart__seg",
6375
6375
  onMouseEnter: () => r.show({
6376
6376
  x: d + (u - 6) * Math.cos(E),
6377
- y: p + (u - 6) * Math.sin(E),
6378
- place: p + (u - 6) * Math.sin(E) < p ? "top" : "bottom",
6377
+ y: h + (u - 6) * Math.sin(E),
6378
+ place: h + (u - 6) * Math.sin(E) < h ? "top" : "bottom",
6379
6379
  title: `${k.label} · ${w.label}`,
6380
6380
  rows: [
6381
6381
  { label: "Valor", value: c(w.value), color: $ },
6382
- { label: "Share", value: `${Math.round(w.value / (h || 1) * 100)}%` }
6382
+ { label: "Share", value: `${Math.round(w.value / (p || 1) * 100)}%` }
6383
6383
  ]
6384
6384
  }),
6385
6385
  onMouseLeave: r.hide
@@ -6398,11 +6398,11 @@ const O1 = P(function({ data: n, size: l = 220, format: c = z, legend: s = !0, c
6398
6398
  ] }, _)) })
6399
6399
  ] });
6400
6400
  });
6401
- function H1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
6402
- const { ref: a, width: o } = ce(n), i = K(), r = Ie, d = Math.max(0, o - r.left - r.right), p = n - r.top - r.bottom, u = r.top + p, f = xe(Math.max(1, ...t.map((_) => _.max))), g = (_) => u - _ / f * p, v = t.length, x = v ? d / v : 0, N = Math.min(x * 0.42, 46), k = Math.max(1, ...t.flatMap((_) => _.bins));
6401
+ function jo({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
6402
+ const { ref: a, width: o } = ce(n), i = K(), r = Ie, d = Math.max(0, o - r.left - r.right), h = n - r.top - r.bottom, u = r.top + h, f = xe(Math.max(1, ...t.map((_) => _.max))), g = (_) => u - _ / f * h, v = t.length, x = v ? d / v : 0, N = Math.min(x * 0.42, 46), k = Math.max(1, ...t.flatMap((_) => _.bins));
6403
6403
  return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
6404
6404
  o > 0 && /* @__PURE__ */ m("svg", { width: o, height: n, className: "select-chart", children: [
6405
- ke(f).map((_, h) => /* @__PURE__ */ m("g", { children: [
6405
+ ke(f).map((_, p) => /* @__PURE__ */ m("g", { children: [
6406
6406
  /* @__PURE__ */ e(
6407
6407
  "line",
6408
6408
  {
@@ -6410,13 +6410,13 @@ function H1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
6410
6410
  x2: o - r.right,
6411
6411
  y1: g(_),
6412
6412
  y2: g(_),
6413
- className: h === 0 ? "select-chart__axis" : "select-chart__grid"
6413
+ className: p === 0 ? "select-chart__axis" : "select-chart__grid"
6414
6414
  }
6415
6415
  ),
6416
6416
  /* @__PURE__ */ e("text", { x: r.left - 8, y: g(_), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: l(_) })
6417
- ] }, h)),
6418
- t.map((_, h) => {
6419
- const b = r.left + x * h + x / 2, S = _.color ?? j(h), $ = _.bins.length, M = (A) => g(_.min + (_.max - _.min) * A / Math.max(1, $ - 1)), w = (A) => _.bins[A] / k * N, y = [], C = [];
6417
+ ] }, p)),
6418
+ t.map((_, p) => {
6419
+ const b = r.left + x * p + x / 2, S = _.color ?? j(p), $ = _.bins.length, M = (A) => g(_.min + (_.max - _.min) * A / Math.max(1, $ - 1)), w = (A) => _.bins[A] / k * N, y = [], C = [];
6420
6420
  for (let A = $ - 1; A >= 0; A--) y.push([b + w(A), M(A)]);
6421
6421
  for (let A = 0; A < $; A++) C.push([b - w(A), M(A)]);
6422
6422
  const L = `${En(y)} ${En(C).replace(/^M/, "L")} Z`, B = _.median != null ? g(_.median) : null;
@@ -6430,7 +6430,7 @@ function H1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
6430
6430
  x: b - x / 2,
6431
6431
  y: r.top,
6432
6432
  width: x,
6433
- height: p,
6433
+ height: h,
6434
6434
  fill: "transparent",
6435
6435
  onMouseEnter: () => i.show({
6436
6436
  x: b,
@@ -6446,23 +6446,23 @@ function H1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
6446
6446
  onMouseLeave: i.hide
6447
6447
  }
6448
6448
  )
6449
- ] }, h);
6449
+ ] }, p);
6450
6450
  })
6451
6451
  ] }),
6452
6452
  /* @__PURE__ */ e(J, { tip: i.tip })
6453
6453
  ] });
6454
6454
  }
6455
- const j1 = P(function({ matrix: n, labels: l, size: c = 240, format: s = z, padAngle: a = 0.05, className: o, ...i }, r) {
6456
- const d = K(), p = l.length, u = c / 2, f = c / 2, g = c / 2 - 22, v = g - 9, x = n.map((y) => y.reduce((C, L) => C + L, 0)), N = x.reduce((y, C) => y + C, 0) || 1, k = (2 * Math.PI - p * a) / N, _ = [];
6457
- let h = 0;
6458
- for (let y = 0; y < p; y++) {
6459
- const C = h, L = h + x[y] * k;
6460
- _.push({ a0: C, a1: L }), h = L + a;
6455
+ const Vo = P(function({ matrix: n, labels: l, size: c = 240, format: s = z, padAngle: a = 0.05, className: o, ...i }, r) {
6456
+ const d = K(), h = l.length, u = c / 2, f = c / 2, g = c / 2 - 22, v = g - 9, x = n.map((y) => y.reduce((C, L) => C + L, 0)), N = x.reduce((y, C) => y + C, 0) || 1, k = (2 * Math.PI - h * a) / N, _ = [];
6457
+ let p = 0;
6458
+ for (let y = 0; y < h; y++) {
6459
+ const C = p, L = p + x[y] * k;
6460
+ _.push({ a0: C, a1: L }), p = L + a;
6461
6461
  }
6462
6462
  const b = n.map(() => []);
6463
- for (let y = 0; y < p; y++) {
6463
+ for (let y = 0; y < h; y++) {
6464
6464
  let C = _[y].a0;
6465
- for (let L = 0; L < p; L++) {
6465
+ for (let L = 0; L < h; L++) {
6466
6466
  const B = n[y][L] * k;
6467
6467
  b[y][L] = [C, C + B], C += B;
6468
6468
  }
@@ -6471,8 +6471,8 @@ const j1 = P(function({ matrix: n, labels: l, size: c = 240, format: s = z, padA
6471
6471
  const [A, E] = S(y, v), [F, W] = S(C, v), [Z, R] = S(L, v), [D, O] = S(B, v);
6472
6472
  return `M${A.toFixed(2)},${E.toFixed(2)} A${v},${v} 0 0 1 ${F.toFixed(2)},${W.toFixed(2)} Q${u},${f} ${Z.toFixed(2)},${R.toFixed(2)} A${v},${v} 0 0 1 ${D.toFixed(2)},${O.toFixed(2)} Q${u},${f} ${A.toFixed(2)},${E.toFixed(2)} Z`;
6473
6473
  }, M = (y) => y * 180 / Math.PI, w = [];
6474
- for (let y = 0; y < p; y++)
6475
- for (let C = y; C < p; C++) {
6474
+ for (let y = 0; y < h; y++)
6475
+ for (let C = y; C < h; C++) {
6476
6476
  if (y === C || n[y][C] + n[C][y] <= 0) continue;
6477
6477
  const [L, B] = b[y][C], [A, E] = b[C][y];
6478
6478
  w.push({ d: $(L, B, A, E), color: j(y), i: y, j: C, value: n[y][C] + n[C][y] });
@@ -6517,26 +6517,26 @@ const j1 = P(function({ matrix: n, labels: l, size: c = 240, format: s = z, padA
6517
6517
  /* @__PURE__ */ e(J, { tip: d.tip })
6518
6518
  ] }) });
6519
6519
  });
6520
- function V1({ points: t, height: n = 240, radius: l = 16, color: c = "var(--select-chart-1)", xMax: s, yMax: a, format: o = z, className: i, ...r }) {
6521
- const { ref: d, width: p } = ce(n), u = K(), f = 12, g = Math.max(0, p - f * 2), v = n - f * 2, x = s ?? Math.max(1, ...t.map((C) => C.x)), N = a ?? Math.max(1, ...t.map((C) => C.y)), k = (C) => f + C / x * g, _ = (C) => f + v - C / N * v, h = l, b = Math.sqrt(3), S = (C, L) => {
6520
+ function Zo({ points: t, height: n = 240, radius: l = 16, color: c = "var(--select-chart-1)", xMax: s, yMax: a, format: o = z, className: i, ...r }) {
6521
+ const { ref: d, width: h } = ce(n), u = K(), f = 12, g = Math.max(0, h - f * 2), v = n - f * 2, x = s ?? Math.max(1, ...t.map((C) => C.x)), N = a ?? Math.max(1, ...t.map((C) => C.y)), k = (C) => f + C / x * g, _ = (C) => f + v - C / N * v, p = l, b = Math.sqrt(3), S = (C, L) => {
6522
6522
  let B = C, A = L, E = -B - A, F = Math.round(B), W = Math.round(E), Z = Math.round(A);
6523
6523
  const R = Math.abs(F - B), D = Math.abs(W - E), O = Math.abs(Z - A);
6524
6524
  return R > D && R > O ? F = -W - Z : D > O ? W = -F - Z : Z = -F - W, [F, Z];
6525
- }, $ = (C, L) => [h * b * (C + L / 2), h * (3 / 2) * L], M = (C, L) => {
6525
+ }, $ = (C, L) => [p * b * (C + L / 2), p * (3 / 2) * L], M = (C, L) => {
6526
6526
  let B = "";
6527
6527
  for (let A = 0; A < 6; A++) {
6528
6528
  const E = Math.PI / 180 * (60 * A - 30);
6529
- B += `${A === 0 ? "M" : "L"}${(C + h * Math.cos(E)).toFixed(1)},${(L + h * Math.sin(E)).toFixed(1)}`;
6529
+ B += `${A === 0 ? "M" : "L"}${(C + p * Math.cos(E)).toFixed(1)},${(L + p * Math.sin(E)).toFixed(1)}`;
6530
6530
  }
6531
6531
  return B + "Z";
6532
6532
  }, w = /* @__PURE__ */ new Map();
6533
6533
  for (const C of t) {
6534
- const L = k(C.x), B = _(C.y), A = (b / 3 * L - 1 / 3 * B) / h, E = 2 / 3 * B / h, [F, W] = S(A, E), Z = `${F},${W}`;
6534
+ const L = k(C.x), B = _(C.y), A = (b / 3 * L - 1 / 3 * B) / p, E = 2 / 3 * B / p, [F, W] = S(A, E), Z = `${F},${W}`;
6535
6535
  w.set(Z, (w.get(Z) ?? 0) + 1);
6536
6536
  }
6537
6537
  const y = Math.max(1, ...w.values());
6538
6538
  return /* @__PURE__ */ m("div", { ...r, className: `select-chart-wrap${i ? " " + i : ""}`, ref: d, children: [
6539
- p > 0 && /* @__PURE__ */ e("svg", { width: p, height: n, className: "select-chart", children: [...w].map(([C, L]) => {
6539
+ h > 0 && /* @__PURE__ */ e("svg", { width: h, height: n, className: "select-chart", children: [...w].map(([C, L]) => {
6540
6540
  const [B, A] = C.split(",").map(Number), [E, F] = $(B, A), W = L / y, Z = Math.round((0.16 + W * 0.84) * 100);
6541
6541
  return /* @__PURE__ */ e(
6542
6542
  "path",
@@ -6546,8 +6546,8 @@ function V1({ points: t, height: n = 240, radius: l = 16, color: c = "var(--sele
6546
6546
  style: { fill: `color-mix(in srgb, ${c} ${Z}%, transparent)`, "--heat-color": c },
6547
6547
  onMouseEnter: () => u.show({
6548
6548
  x: E,
6549
- y: F - h,
6550
- place: F - h < f + 40 ? "bottom" : "top",
6549
+ y: F - p,
6550
+ place: F - p < f + 40 ? "bottom" : "top",
6551
6551
  rows: [{ label: "Pontos", value: o(L), color: c }]
6552
6552
  }),
6553
6553
  onMouseLeave: u.hide
@@ -6558,8 +6558,8 @@ function V1({ points: t, height: n = 240, radius: l = 16, color: c = "var(--sele
6558
6558
  /* @__PURE__ */ e(J, { tip: u.tip })
6559
6559
  ] });
6560
6560
  }
6561
- const Z1 = P(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s, ...a }, o) {
6562
- const i = n.map((f) => f.value), r = Math.max(1, ...i), d = Math.min(...i), p = r - d || 1, u = (f) => l + (f - d) / p * (c - l);
6561
+ const Go = P(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s, ...a }, o) {
6562
+ const i = n.map((f) => f.value), r = Math.max(1, ...i), d = Math.min(...i), h = r - d || 1, u = (f) => l + (f - d) / h * (c - l);
6563
6563
  return /* @__PURE__ */ e("div", { ref: o, ...a, className: `select-wordcloud${s ? " " + s : ""}`, children: n.map((f, g) => /* @__PURE__ */ e(
6564
6564
  "span",
6565
6565
  {
@@ -6568,7 +6568,7 @@ const Z1 = P(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s
6568
6568
  style: {
6569
6569
  fontSize: `${u(f.value)}px`,
6570
6570
  color: f.color ?? j(g),
6571
- opacity: 0.55 + (f.value - d) / p * 0.45
6571
+ opacity: 0.55 + (f.value - d) / h * 0.45
6572
6572
  },
6573
6573
  children: f.text
6574
6574
  },
@@ -6703,13 +6703,13 @@ const Z1 = P(function({ words: n, minSize: l = 14, maxSize: c = 46, className: s
6703
6703
  [-68.5, 83.1, -65.8, 83, -63.7, 82.9, -61.8, 82.6, -61.9, 82.4, -64.3, 81.9, -66.8, 81.7, -67.7, 81.5, -65.5, 81.5, -67.8, 80.9, -69.5, 80.6, -71.2, 79.8, -73.2, 79.6, -73.9, 79.4, -76.9, 79.3, -75.5, 79.2, -76.2, 79, -75.4, 78.5, -76.3, 78.2, -77.9, 77.9, -78.4, 77.5, -79.8, 77.2, -79.6, 77, -77.9, 77, -77.9, 76.8, -80.6, 76.2, -83.2, 76.5, -86.1, 76.3, -87.6, 76.4, -89.5, 76.5, -89.6, 77, -87.8, 77.2, -88.3, 77.9, -87.6, 78, -85, 77.5, -86.3, 78.2, -88, 78.4, -87.2, 78.8, -85.4, 79, -85.1, 79.3, -86.5, 79.7, -86.9, 80.3, -84.2, 80.2, -83.4, 80.1, -81.8, 80.5, -84.1, 80.6, -87.6, 80.5, -89.4, 80.9, -90.2, 81.3, -91.4, 81.6, -91.6, 81.9, -90.1, 82.1, -88.9, 82.1, -87, 82.3, -85.5, 82.7, -84.3, 82.6, -83.2, 82.3, -82.4, 82.9, -81.1, 83, -79.3, 83.1, -76.2, 83.2, -75.7, 83.1, -72.8, 83.2, -70.7, 83.2, -68.5, 83.1],
6704
6704
  [-27.1, 83.5, -20.8, 82.7, -22.7, 82.3, -26.5, 82.3, -31.9, 82.2, -31.4, 82, -27.9, 82.1, -24.8, 81.8, -22.9, 82.1, -22.1, 81.7, -23.2, 81.2, -20.6, 81.5, -15.8, 81.9, -12.8, 81.7, -12.2, 81.3, -16.3, 80.6, -16.8, 80.4, -20, 80.2, -17.7, 80.1, -18.9, 79.4, -19.7, 78.8, -19.7, 77.6, -18.5, 77, -20, 76.9, -21.7, 76.6, -19.8, 76.1, -19.6, 75.2, -20.7, 75.2, -19.4, 74.3, -21.6, 74.2, -20.4, 73.8, -20.8, 73.5, -22.2, 73.3, -23.6, 73.3, -22.3, 72.6, -22.3, 72.2, -24.3, 72.6, -24.8, 72.3, -23.4, 72.1, -22.1, 71.5, -21.8, 70.7, -23.5, 70.5, -24.3, 70.9, -25.5, 71.4, -25.2, 70.8, -26.4, 70.2, -23.7, 70.2, -22.3, 70.1, -25, 69.3, -27.7, 68.5, -30.7, 68.1, -31.8, 68.1, -32.8, 67.7, -34.2, 66.7, -36.4, 66, -37, 65.9, -38.4, 65.7, -39.8, 65.5, -40.7, 64.8, -40.7, 64.1, -41.2, 63.5, -42.8, 62.7, -42.4, 61.9, -42.9, 61.1, -43.4, 60.1, -44.8, 60, -46.3, 60.9, -48.3, 60.9, -49.2, 61.4, -49.9, 62.4, -51.6, 63.6, -52.1, 64.3, -52.3, 65.2, -53.7, 66.1, -53.3, 66.8, -54, 67.2, -53, 68.4, -51.5, 68.7, -51.1, 69.1, -50.9, 69.9, -52, 69.6, -52.6, 69.4, -53.5, 69.3, -54.7, 69.6, -54.8, 70.3, -54.4, 70.8, -53.4, 70.8, -51.4, 70.6, -53.1, 71.2, -54, 71.5, -55, 71.4, -55.8, 71.7, -54.7, 72.6, -55.3, 73, -56.1, 73.6, -57.3, 74.7, -58.6, 75.1, -58.6, 75.5, -61.3, 76.1, -63.4, 76.2, -66.1, 76.1, -68.5, 76.1, -69.7, 76.4, -71.4, 77, -68.8, 77.3, -66.8, 77.4, -71, 77.6, -73.3, 78, -73.2, 78.4, -69.4, 78.9, -65.7, 79.4, -65.3, 79.8, -68, 80.1, -67.2, 80.5, -63.7, 81.2, -62.2, 81.3, -62.7, 81.8, -60.3, 82, -57.2, 82.2, -54.1, 82.2, -53, 81.9, -50.4, 82.4, -48, 82.1, -46.6, 82, -44.5, 81.7, -46.9, 82.2, -46.8, 82.6, -43.4, 83.2, -39.9, 83.2, -38.6, 83.5, -35.1, 83.6, -27.1, 83.5]
6705
6705
  ], Lt = Math.PI / 180;
6706
- function et(t, n) {
6706
+ function tt(t, n) {
6707
6707
  const l = t * Lt, c = n * Lt;
6708
6708
  return [Math.cos(l) * Math.sin(c), Math.sin(l), Math.cos(l) * Math.cos(c)];
6709
6709
  }
6710
6710
  function bt([t, n, l], c, s) {
6711
- const a = c * Lt, o = t * Math.cos(a) + l * Math.sin(a), i = -t * Math.sin(a) + l * Math.cos(a), r = s * Lt, d = n * Math.cos(r) - i * Math.sin(r), p = n * Math.sin(r) + i * Math.cos(r);
6712
- return [o, d, p];
6711
+ const a = c * Lt, o = t * Math.cos(a) + l * Math.sin(a), i = -t * Math.sin(a) + l * Math.cos(a), r = s * Lt, d = n * Math.cos(r) - i * Math.sin(r), h = n * Math.sin(r) + i * Math.cos(r);
6712
+ return [o, d, h];
6713
6713
  }
6714
6714
  function Tn(t, n, l) {
6715
6715
  let c = t[0] * n[0] + t[1] * n[1] + t[2] * n[2];
@@ -6719,9 +6719,9 @@ function Tn(t, n, l) {
6719
6719
  const a = Math.sin(s), o = Math.sin((1 - l) * s) / a, i = Math.sin(l * s) / a;
6720
6720
  return [t[0] * o + n[0] * i, t[1] * o + n[1] * i, t[2] * o + n[2] * i];
6721
6721
  }
6722
- const Wn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6, G1 = P(function({ points: n = [], arcs: l = [], size: c = 320, tilt: s = -18, spin: a = !0, speed: o = 7, color: i = "var(--select-chart-1)", format: r = z, legend: d = !0, map: p = !0, fluid: u = !1, onZoomChange: f, className: g, ...v }, x) {
6722
+ const Wn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) < 1e-6, Uo = P(function({ points: n = [], arcs: l = [], size: c = 320, tilt: s = -18, spin: a = !0, speed: o = 7, color: i = "var(--select-chart-1)", format: r = z, legend: d = !0, map: h = !0, fluid: u = !1, onZoomChange: f, className: g, ...v }, x) {
6723
6723
  var Be;
6724
- const N = ne(), k = K(), _ = Y(null), h = Ct(_, c), b = n.length ? n.reduce((I, V) => I + V.lng, 0) / n.length : 0, S = Y(
6724
+ const N = ne(), k = K(), _ = Y(null), p = Ct(_, c), b = n.length ? n.reduce((I, V) => I + V.lng, 0) / n.length : 0, S = Y(
6725
6725
  typeof window < "u" && !!((Be = window.matchMedia) != null && Be.call(window, "(prefers-reduced-motion: reduce)").matches)
6726
6726
  ), $ = Y({ lng: -b, lat: s }), M = Y({ lng: 0, lat: 0 }), w = Y(1), y = Y(null), C = Y(null), L = Y(!1), B = Y(0), A = Y(0), E = Y(0), [, F] = T(0), [W, Z] = T(!1), [R, D] = T(null), O = () => {
6727
6727
  A.current || (E.current = performance.now(), A.current = requestAnimationFrame(G));
@@ -6761,32 +6761,32 @@ const Wn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
6761
6761
  }, Se = (I) => {
6762
6762
  var V, U;
6763
6763
  C.current && ((U = (V = I.target).releasePointerCapture) == null || U.call(V, I.pointerId), C.current = null, Z(!1), O());
6764
- }, le = (h / 2 - 6) * w.current, H = h / 2, Q = h / 2, X = (I) => {
6764
+ }, le = (p / 2 - 6) * w.current, H = p / 2, Q = p / 2, X = (I) => {
6765
6765
  const V = bt(I, $.current.lng, $.current.lat);
6766
6766
  return { x: H + le * V[0], y: Q - le * V[1], z: V[2] };
6767
6767
  }, pe = ye(() => {
6768
6768
  const V = [];
6769
6769
  for (let U = -180; U < 180; U += 30) {
6770
6770
  const oe = [];
6771
- for (let ee = 0; ee <= 48; ee++) oe.push(et(-90 + 180 * ee / 48, U));
6771
+ for (let ee = 0; ee <= 48; ee++) oe.push(tt(-90 + 180 * ee / 48, U));
6772
6772
  V.push(oe);
6773
6773
  }
6774
6774
  for (let U = -60; U <= 60; U += 30) {
6775
6775
  const oe = [];
6776
- for (let ee = 0; ee <= 48; ee++) oe.push(et(U, -180 + 360 * ee / 48));
6776
+ for (let ee = 0; ee <= 48; ee++) oe.push(tt(U, -180 + 360 * ee / 48));
6777
6777
  V.push(oe);
6778
6778
  }
6779
6779
  return V;
6780
6780
  }, []), de = ye(
6781
6781
  () => qs.map((I) => {
6782
6782
  const V = [];
6783
- for (let U = 0; U < I.length; U += 2) V.push(et(I[U + 1], I[U]));
6783
+ for (let U = 0; U < I.length; U += 2) V.push(tt(I[U + 1], I[U]));
6784
6784
  return V;
6785
6785
  }),
6786
6786
  []
6787
6787
  ), me = (I) => ({ x: H + le * I[0], y: Q - le * I[1] });
6788
6788
  let ue = "", re = "";
6789
- if (p)
6789
+ if (h)
6790
6790
  for (const I of de) {
6791
6791
  const V = I.map((se) => bt(se, $.current.lng, $.current.lat)), U = V.length;
6792
6792
  let oe = !1;
@@ -6799,16 +6799,16 @@ const Wn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
6799
6799
  for (let se = 0; se < U; se++) {
6800
6800
  const he = V[se], _e = V[(se + 1) % U], je = he[2] > 0, Re = _e[2] > 0;
6801
6801
  if (je && ee.push({ v: he, edge: !1 }), je !== Re) {
6802
- const Je = he[2] / (he[2] - _e[2]);
6803
- ee.push({ v: [he[0] + (_e[0] - he[0]) * Je, he[1] + (_e[1] - he[1]) * Je, 0], edge: !0 });
6802
+ const Qe = he[2] / (he[2] - _e[2]);
6803
+ ee.push({ v: [he[0] + (_e[0] - he[0]) * Qe, he[1] + (_e[1] - he[1]) * Qe, 0], edge: !0 });
6804
6804
  }
6805
6805
  }
6806
6806
  if (ee.length >= 3) {
6807
6807
  const se = (_e, je) => {
6808
6808
  const Re = me(je.v);
6809
6809
  if (_e.edge && je.edge) {
6810
- const Je = Math.atan2(me(_e.v).y - Q, me(_e.v).x - H);
6811
- let Ve = Math.atan2(Re.y - Q, Re.x - H) - Je;
6810
+ const Qe = Math.atan2(me(_e.v).y - Q, me(_e.v).x - H);
6811
+ let Ve = Math.atan2(Re.y - Q, Re.x - H) - Qe;
6812
6812
  for (; Ve > Math.PI; ) Ve -= 2 * Math.PI;
6813
6813
  for (; Ve < -Math.PI; ) Ve += 2 * Math.PI;
6814
6814
  const mt = Ve > 0 ? 1 : 0;
@@ -6829,7 +6829,7 @@ const Wn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
6829
6829
  }
6830
6830
  return V;
6831
6831
  }, Ce = Math.max(1, ...n.map((I) => I.value ?? 0)), Le = n.map((I, V) => {
6832
- const U = X(et(I.lat, I.lng));
6832
+ const U = X(tt(I.lat, I.lng));
6833
6833
  return {
6834
6834
  ...I,
6835
6835
  i: V,
@@ -6839,14 +6839,14 @@ const Wn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
6839
6839
  col: I.color ?? i
6840
6840
  };
6841
6841
  }), Ne = R != null ? n[R] : null, Pe = 0.16, we = l.map((I, V) => {
6842
- const U = et(I.from.lat, I.from.lng), oe = et(I.to.lat, I.to.lng);
6842
+ const U = tt(I.from.lat, I.from.lng), oe = tt(I.to.lat, I.to.lng);
6843
6843
  let ee = "", se = !1;
6844
6844
  for (let Ve = 0; Ve <= 40; Ve++) {
6845
6845
  const mt = Ve / 40, ft = Tn(U, oe, mt), Dt = 1 + 0.34 * Math.sin(Math.PI * mt), Al = bt(ft, $.current.lng, $.current.lat), an = X([ft[0] * Dt, ft[1] * Dt, ft[2] * Dt]);
6846
6846
  Al[2] > -0.05 ? (ee += `${se ? "L" : "M"}${an.x.toFixed(1)},${an.y.toFixed(1)}`, se = !0) : se = !1;
6847
6847
  }
6848
- const he = S.current ? 0.5 : (B.current * Pe + V * 0.27) % 1, _e = Tn(U, oe, he), je = 1 + 0.34 * Math.sin(Math.PI * he), Re = bt(_e, $.current.lng, $.current.lat), Je = X([_e[0] * je, _e[1] * je, _e[2] * je]), sn = Ne != null && (Wn(I.from, Ne) || Wn(I.to, Ne));
6849
- return { d: ee, col: I.color ?? i, i: V, flow: { ...Je, vis: Re[2] > 0 }, active: sn };
6848
+ const he = S.current ? 0.5 : (B.current * Pe + V * 0.27) % 1, _e = Tn(U, oe, he), je = 1 + 0.34 * Math.sin(Math.PI * he), Re = bt(_e, $.current.lng, $.current.lat), Qe = X([_e[0] * je, _e[1] * je, _e[2] * je]), sn = Ne != null && (Wn(I.from, Ne) || Wn(I.to, Ne));
6849
+ return { d: ee, col: I.color ?? i, i: V, flow: { ...Qe, vis: Re[2] > 0 }, active: sn };
6850
6850
  }), Ue = Ne != null, He = d ? [...n].sort((I, V) => (V.value ?? 0) - (I.value ?? 0)).slice(0, 6) : [];
6851
6851
  return /* @__PURE__ */ m("div", { ref: x, ...v, className: `select-globe${g ? " " + g : ""}`, children: [
6852
6852
  /* @__PURE__ */ m(
@@ -6865,7 +6865,7 @@ const Wn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
6865
6865
  onPointerMove: fe,
6866
6866
  onPointerUp: Se,
6867
6867
  children: [
6868
- /* @__PURE__ */ m("svg", { width: h, height: h, viewBox: `0 0 ${h} ${h}`, className: "select-chart", children: [
6868
+ /* @__PURE__ */ m("svg", { width: p, height: p, viewBox: `0 0 ${p} ${p}`, className: "select-chart", children: [
6869
6869
  /* @__PURE__ */ m("defs", { children: [
6870
6870
  /* @__PURE__ */ m("radialGradient", { id: `${N}-sphere`, cx: "35%", cy: "32%", r: "80%", children: [
6871
6871
  /* @__PURE__ */ e("stop", { offset: "0%", stopColor: i, stopOpacity: 0.1 }),
@@ -6905,7 +6905,7 @@ const Wn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
6905
6905
  /* @__PURE__ */ e("circle", { cx: H, cy: Q, r: le, fill: `url(#${N}-glow)` }),
6906
6906
  /* @__PURE__ */ e("circle", { cx: H, cy: Q, r: le, fill: `url(#${N}-spec)` }),
6907
6907
  /* @__PURE__ */ m("g", { clipPath: `url(#${N}-clip)`, children: [
6908
- p && ue && /* @__PURE__ */ e(
6908
+ h && ue && /* @__PURE__ */ e(
6909
6909
  "path",
6910
6910
  {
6911
6911
  d: ue,
@@ -6913,7 +6913,7 @@ const Wn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
6913
6913
  fill: `color-mix(in srgb, ${i} 38%, transparent)`
6914
6914
  }
6915
6915
  ),
6916
- p && re && /* @__PURE__ */ e(
6916
+ h && re && /* @__PURE__ */ e(
6917
6917
  "path",
6918
6918
  {
6919
6919
  d: re,
@@ -6998,31 +6998,31 @@ const Wn = (t, n) => Math.abs(t.lat - n.lat) < 1e-6 && Math.abs(t.lng - n.lng) <
6998
6998
  ] }, V)) })
6999
6999
  ] });
7000
7000
  });
7001
- function U1({ children: t, speed: n = 28, className: l, ...c }) {
7002
- const s = Y(null), a = Y(null), o = Y(null), i = Ct(s, 0), r = Ct(o, 0), d = i > 0 && r > i + 1, p = Y(0), u = Y(null), f = Y(!1);
7001
+ function Yo({ children: t, speed: n = 28, className: l, ...c }) {
7002
+ const s = Y(null), a = Y(null), o = Y(null), i = Ct(s, 0), r = Ct(o, 0), d = i > 0 && r > i + 1, h = Y(0), u = Y(null), f = Y(!1);
7003
7003
  te(() => {
7004
7004
  var S;
7005
7005
  const N = a.current;
7006
7006
  if (!N) return;
7007
7007
  if (!d) {
7008
- p.current = 0, N.style.transform = "";
7008
+ h.current = 0, N.style.transform = "";
7009
7009
  return;
7010
7010
  }
7011
7011
  const k = ((S = window.matchMedia) == null ? void 0 : S.call(window, "(prefers-reduced-motion: reduce)").matches) ?? !1;
7012
- let _ = 0, h = performance.now();
7012
+ let _ = 0, p = performance.now();
7013
7013
  const b = ($) => {
7014
- const M = Math.min(0.1, ($ - h) / 1e3);
7015
- h = $, !u.current && !f.current && !k && (p.current = (p.current + n * M) % Math.max(1, r)), N.style.transform = `translate3d(${(-p.current).toFixed(2)}px, 0, 0)`, _ = requestAnimationFrame(b);
7014
+ const M = Math.min(0.1, ($ - p) / 1e3);
7015
+ p = $, !u.current && !f.current && !k && (h.current = (h.current + n * M) % Math.max(1, r)), N.style.transform = `translate3d(${(-h.current).toFixed(2)}px, 0, 0)`, _ = requestAnimationFrame(b);
7016
7016
  };
7017
7017
  return _ = requestAnimationFrame(b), () => cancelAnimationFrame(_);
7018
7018
  }, [d, r, n]);
7019
7019
  const g = (N) => {
7020
- d && (u.current = { id: N.pointerId, startX: N.clientX, startOff: p.current }, N.currentTarget.setPointerCapture(N.pointerId));
7020
+ d && (u.current = { id: N.pointerId, startX: N.clientX, startOff: h.current }, N.currentTarget.setPointerCapture(N.pointerId));
7021
7021
  }, v = (N) => {
7022
7022
  const k = u.current;
7023
7023
  if (!k || N.pointerId !== k.id) return;
7024
7024
  const _ = Math.max(1, r);
7025
- p.current = ((k.startOff - (N.clientX - k.startX)) % _ + _) % _;
7025
+ h.current = ((k.startOff - (N.clientX - k.startX)) % _ + _) % _;
7026
7026
  }, x = (N) => {
7027
7027
  var k;
7028
7028
  ((k = u.current) == null ? void 0 : k.id) === N.pointerId && (u.current = null);
@@ -7046,20 +7046,20 @@ function U1({ children: t, speed: n = 28, className: l, ...c }) {
7046
7046
  }
7047
7047
  );
7048
7048
  }
7049
- function Y1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
7049
+ function qo({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
7050
7050
  var A;
7051
- const { ref: a, width: o } = ce(n), i = K(), r = ne(), [d, p] = T(null), u = { ...Ie, right: 44 }, f = [...t].sort((E, F) => F.value - E.value), g = f.length, v = f.reduce((E, F) => E + F.value, 0) || 1;
7051
+ const { ref: a, width: o } = ce(n), i = K(), r = ne(), [d, h] = T(null), u = { ...Ie, right: 44 }, f = [...t].sort((E, F) => F.value - E.value), g = f.length, v = f.reduce((E, F) => E + F.value, 0) || 1;
7052
7052
  let x = 0;
7053
- const N = f.map((E) => (x += E.value, x / v * 100)), k = Math.max(0, o - u.left - u.right), _ = n - u.top - u.bottom, h = xe(((A = f[0]) == null ? void 0 : A.value) ?? 1), b = g > 0 ? k / g : 0, S = Math.min(b * 0.62, 46), $ = u.top + _, M = (E) => $ - E / h * _, w = (E) => $ - E / 100 * _, y = (E) => u.left + b * E + b / 2, C = N.map((E, F) => [y(F), w(E)]), L = j(0), B = j(1);
7053
+ const N = f.map((E) => (x += E.value, x / v * 100)), k = Math.max(0, o - u.left - u.right), _ = n - u.top - u.bottom, p = xe(((A = f[0]) == null ? void 0 : A.value) ?? 1), b = g > 0 ? k / g : 0, S = Math.min(b * 0.62, 46), $ = u.top + _, M = (E) => $ - E / p * _, w = (E) => $ - E / 100 * _, y = (E) => u.left + b * E + b / 2, C = N.map((E, F) => [y(F), w(E)]), L = j(0), B = j(1);
7054
7054
  return /* @__PURE__ */ m("div", { ...s, className: `select-chart-wrap${c ? " " + c : ""}`, ref: a, children: [
7055
7055
  o > 0 && /* @__PURE__ */ m("svg", { width: o, height: n, className: "select-chart", onMouseLeave: () => {
7056
- p(null), i.hide();
7056
+ h(null), i.hide();
7057
7057
  }, children: [
7058
7058
  /* @__PURE__ */ e("defs", { children: /* @__PURE__ */ m("linearGradient", { id: `${r}-b`, x1: "0", y1: "0", x2: "0", y2: "1", children: [
7059
7059
  /* @__PURE__ */ e("stop", { offset: "0%", stopColor: L, stopOpacity: 1 }),
7060
7060
  /* @__PURE__ */ e("stop", { offset: "100%", stopColor: L, stopOpacity: 0.55 })
7061
7061
  ] }) }),
7062
- ke(h).map((E, F) => /* @__PURE__ */ m("g", { children: [
7062
+ ke(p).map((E, F) => /* @__PURE__ */ m("g", { children: [
7063
7063
  /* @__PURE__ */ e("line", { x1: u.left, x2: o - u.right, y1: M(E), y2: M(E), className: F === 0 ? "select-chart__axis" : "select-chart__grid" }),
7064
7064
  /* @__PURE__ */ e("text", { x: u.left - 8, y: M(E), className: "select-chart__ylabel", dominantBaseline: "middle", textAnchor: "end", children: l(E) })
7065
7065
  ] }, F)),
@@ -7104,7 +7104,7 @@ function Y1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
7104
7104
  r: d === F ? 5 : 3.5,
7105
7105
  fill: B,
7106
7106
  className: `select-chart__dot${d === F ? " select-chart__dot--active" : ""}`,
7107
- onMouseEnter: () => p(F)
7107
+ onMouseEnter: () => h(F)
7108
7108
  },
7109
7109
  F
7110
7110
  )),
@@ -7113,10 +7113,10 @@ function Y1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
7113
7113
  /* @__PURE__ */ e(J, { tip: i.tip })
7114
7114
  ] });
7115
7115
  }
7116
- const q1 = P(function({ segments: n, cols: l = 10, rows: c = 10, format: s = z, className: a, ...o }, i) {
7117
- const r = n.reduce((x, N) => x + N.value, 0) || 1, d = l * c, p = n.map((x) => x.value / r * d), u = p.map(Math.floor);
7116
+ const zo = P(function({ segments: n, cols: l = 10, rows: c = 10, format: s = z, className: a, ...o }, i) {
7117
+ const r = n.reduce((x, N) => x + N.value, 0) || 1, d = l * c, h = n.map((x) => x.value / r * d), u = h.map(Math.floor);
7118
7118
  let f = u.reduce((x, N) => x + N, 0);
7119
- const g = p.map((x, N) => ({ i: N, frac: x - u[N] })).sort((x, N) => N.frac - x.frac);
7119
+ const g = h.map((x, N) => ({ i: N, frac: x - u[N] })).sort((x, N) => N.frac - x.frac);
7120
7120
  for (let x = 0; f < d && x < g.length; x++, f++) u[g[x].i]++;
7121
7121
  const v = [];
7122
7122
  for (n.forEach((x, N) => {
@@ -7132,16 +7132,16 @@ const q1 = P(function({ segments: n, cols: l = 10, rows: c = 10, format: s = z,
7132
7132
  ] }, N)) })
7133
7133
  ] });
7134
7134
  });
7135
- function z1({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", height: c, format: s = z, leftColor: a, rightColor: o, centerWidth: i = 84, className: r, ...d }) {
7136
- const p = c ?? Math.max(180, t.length * 40 + 36), { ref: u, width: f } = ce(p), g = K(), [v, x] = T(null), N = 8, k = 26, _ = 8, h = Math.max(1, ...t.flatMap((L) => [L.left, L.right])), b = Math.max(0, (f - i - N * 2) / 2), S = t.length ? (p - k - _) / t.length : 0, $ = Math.min(S * 0.6, 26), M = N + b, w = N + b + i, y = a ?? j(1), C = o ?? j(0);
7135
+ function Xo({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", height: c, format: s = z, leftColor: a, rightColor: o, centerWidth: i = 84, className: r, ...d }) {
7136
+ const h = c ?? Math.max(180, t.length * 40 + 36), { ref: u, width: f } = ce(h), g = K(), [v, x] = T(null), N = 8, k = 26, _ = 8, p = Math.max(1, ...t.flatMap((L) => [L.left, L.right])), b = Math.max(0, (f - i - N * 2) / 2), S = t.length ? (h - k - _) / t.length : 0, $ = Math.min(S * 0.6, 26), M = N + b, w = N + b + i, y = a ?? j(1), C = o ?? j(0);
7137
7137
  return /* @__PURE__ */ m("div", { ...d, className: `select-chart-wrap${r ? " " + r : ""}`, ref: u, children: [
7138
- f > 0 && /* @__PURE__ */ m("svg", { width: f, height: p, className: "select-chart", onMouseLeave: () => {
7138
+ f > 0 && /* @__PURE__ */ m("svg", { width: f, height: h, className: "select-chart", onMouseLeave: () => {
7139
7139
  x(null), g.hide();
7140
7140
  }, children: [
7141
7141
  /* @__PURE__ */ e("text", { x: N, y: 14, className: "select-chart__xlabel", textAnchor: "start", style: { fill: y, fontWeight: 600 }, children: n }),
7142
7142
  /* @__PURE__ */ e("text", { x: f - N, y: 14, className: "select-chart__xlabel", textAnchor: "end", style: { fill: C, fontWeight: 600 }, children: l }),
7143
7143
  t.map((L, B) => {
7144
- const A = k + S * B + S / 2, E = L.left / h * b, F = L.right / h * b, W = v === L.label;
7144
+ const A = k + S * B + S / 2, E = L.left / p * b, F = L.right / p * b, W = v === L.label;
7145
7145
  return /* @__PURE__ */ m("g", { style: { opacity: v === null || W ? 1 : 0.5 }, children: [
7146
7146
  /* @__PURE__ */ e(
7147
7147
  "rect",
@@ -7186,20 +7186,20 @@ function z1({ data: t, leftLabel: n = "Esquerda", rightLabel: l = "Direita", hei
7186
7186
  /* @__PURE__ */ e(J, { tip: g.tip })
7187
7187
  ] });
7188
7188
  }
7189
- function X1({ series: t, labels: n, height: l = 240, format: c = z, className: s, ...a }) {
7190
- const { ref: o, width: i } = ce(l), r = K(), [d, p] = T(null), u = { top: 16, right: 78, bottom: 28, left: 28 }, f = n.length, g = t.length, v = Math.max(0, i - u.left - u.right), x = l - u.top - u.bottom, N = t.map(() => new Array(f).fill(0));
7191
- for (let h = 0; h < f; h++)
7192
- t.map((S, $) => ({ si: $, v: S.data[h] ?? 0 })).sort((S, $) => $.v - S.v).forEach((S, $) => {
7193
- N[S.si][h] = $ + 1;
7189
+ function Ko({ series: t, labels: n, height: l = 240, format: c = z, className: s, ...a }) {
7190
+ const { ref: o, width: i } = ce(l), r = K(), [d, h] = T(null), u = { top: 16, right: 78, bottom: 28, left: 28 }, f = n.length, g = t.length, v = Math.max(0, i - u.left - u.right), x = l - u.top - u.bottom, N = t.map(() => new Array(f).fill(0));
7191
+ for (let p = 0; p < f; p++)
7192
+ t.map((S, $) => ({ si: $, v: S.data[p] ?? 0 })).sort((S, $) => $.v - S.v).forEach((S, $) => {
7193
+ N[S.si][p] = $ + 1;
7194
7194
  });
7195
- const k = (h) => u.left + (f <= 1 ? v / 2 : v / (f - 1) * h), _ = (h) => u.top + (g <= 1 ? x / 2 : x / (g - 1) * (h - 1));
7195
+ const k = (p) => u.left + (f <= 1 ? v / 2 : v / (f - 1) * p), _ = (p) => u.top + (g <= 1 ? x / 2 : x / (g - 1) * (p - 1));
7196
7196
  return /* @__PURE__ */ m("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: o, children: [
7197
7197
  i > 0 && /* @__PURE__ */ m("svg", { width: i, height: l, className: "select-chart", onMouseLeave: () => {
7198
- p(null), r.hide();
7198
+ h(null), r.hide();
7199
7199
  }, children: [
7200
- n.map((h, b) => /* @__PURE__ */ e("text", { x: k(b), y: l - u.bottom + 16, className: "select-chart__xlabel", textAnchor: b === 0 ? "start" : b === f - 1 ? "end" : "middle", children: h }, b)),
7201
- t.map((h, b) => {
7202
- const S = h.color ?? j(b), $ = N[b].map((M, w) => [k(w), _(M)]);
7200
+ n.map((p, b) => /* @__PURE__ */ e("text", { x: k(b), y: l - u.bottom + 16, className: "select-chart__xlabel", textAnchor: b === 0 ? "start" : b === f - 1 ? "end" : "middle", children: p }, b)),
7201
+ t.map((p, b) => {
7202
+ const S = p.color ?? j(b), $ = N[b].map((M, w) => [k(w), _(M)]);
7203
7203
  return /* @__PURE__ */ m("g", { style: { opacity: d === null || d === b ? 1 : 0.22 }, children: [
7204
7204
  /* @__PURE__ */ e(
7205
7205
  "path",
@@ -7210,7 +7210,7 @@ function X1({ series: t, labels: n, height: l = 240, format: c = z, className: s
7210
7210
  strokeWidth: d === b ? 3.5 : 2.5,
7211
7211
  strokeLinecap: "round",
7212
7212
  style: { cursor: "pointer" },
7213
- onMouseEnter: () => p(b)
7213
+ onMouseEnter: () => h(b)
7214
7214
  }
7215
7215
  ),
7216
7216
  $.map((M, w) => /* @__PURE__ */ e(
@@ -7222,63 +7222,63 @@ function X1({ series: t, labels: n, height: l = 240, format: c = z, className: s
7222
7222
  fill: S,
7223
7223
  className: "select-chart__dot",
7224
7224
  onMouseEnter: () => {
7225
- p(b), r.show({ x: M[0], y: M[1] - 8, place: "top", title: h.name, rows: [{ label: n[w] ?? "", value: `#${N[b][w]} · ${c(h.data[w] ?? 0)}`, color: S }] });
7225
+ h(b), r.show({ x: M[0], y: M[1] - 8, place: "top", title: p.name, rows: [{ label: n[w] ?? "", value: `#${N[b][w]} · ${c(p.data[w] ?? 0)}`, color: S }] });
7226
7226
  }
7227
7227
  },
7228
7228
  w
7229
7229
  )),
7230
- /* @__PURE__ */ e("text", { x: k(f - 1) + 10, y: _(N[b][f - 1]), className: "select-chart__xlabel", dominantBaseline: "middle", textAnchor: "start", style: { fill: S, fontWeight: 600 }, children: h.name })
7230
+ /* @__PURE__ */ e("text", { x: k(f - 1) + 10, y: _(N[b][f - 1]), className: "select-chart__xlabel", dominantBaseline: "middle", textAnchor: "start", style: { fill: S, fontWeight: 600 }, children: p.name })
7231
7231
  ] }, b);
7232
7232
  })
7233
7233
  ] }),
7234
7234
  /* @__PURE__ */ e(J, { tip: r.tip })
7235
7235
  ] });
7236
7236
  }
7237
- function K1({ axes: t, data: n, height: l = 260, format: c = z, className: s, ...a }) {
7238
- const { ref: o, width: i } = ce(l), r = K(), [d, p] = T(null), u = { top: 30, right: 28, bottom: 26, left: 28 }, f = Math.max(0, i - u.left - u.right), g = l - u.top - u.bottom, v = t.length, x = (_) => u.left + (v <= 1 ? f / 2 : f / (v - 1) * _), N = t.map((_) => {
7239
- const h = n.map((b) => b.values[_.key] ?? 0);
7240
- return { min: Math.min(...h), max: Math.max(...h) };
7241
- }), k = (_, h) => {
7242
- const b = N[_], S = b.max === b.min ? 0.5 : (h - b.min) / (b.max - b.min);
7237
+ function Jo({ axes: t, data: n, height: l = 260, format: c = z, className: s, ...a }) {
7238
+ const { ref: o, width: i } = ce(l), r = K(), [d, h] = T(null), u = { top: 30, right: 28, bottom: 26, left: 28 }, f = Math.max(0, i - u.left - u.right), g = l - u.top - u.bottom, v = t.length, x = (_) => u.left + (v <= 1 ? f / 2 : f / (v - 1) * _), N = t.map((_) => {
7239
+ const p = n.map((b) => b.values[_.key] ?? 0);
7240
+ return { min: Math.min(...p), max: Math.max(...p) };
7241
+ }), k = (_, p) => {
7242
+ const b = N[_], S = b.max === b.min ? 0.5 : (p - b.min) / (b.max - b.min);
7243
7243
  return u.top + g - S * g;
7244
7244
  };
7245
7245
  return /* @__PURE__ */ m("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: o, children: [
7246
7246
  i > 0 && /* @__PURE__ */ m("svg", { width: i, height: l, className: "select-chart", onMouseLeave: () => {
7247
- p(null), r.hide();
7247
+ h(null), r.hide();
7248
7248
  }, children: [
7249
- t.map((_, h) => /* @__PURE__ */ m("g", { children: [
7250
- /* @__PURE__ */ e("line", { x1: x(h), x2: x(h), y1: u.top, y2: u.top + g, className: "select-chart__axis" }),
7251
- /* @__PURE__ */ e("text", { x: x(h), y: u.top - 12, className: "select-chart__xlabel", textAnchor: "middle", children: _.label }),
7252
- /* @__PURE__ */ e("text", { x: x(h), y: u.top - 1, className: "select-chart__ylabel", textAnchor: "middle", style: { fontSize: 9 }, children: c(N[h].max) }),
7253
- /* @__PURE__ */ e("text", { x: x(h), y: u.top + g + 14, className: "select-chart__ylabel", textAnchor: "middle", style: { fontSize: 9 }, children: c(N[h].min) })
7249
+ t.map((_, p) => /* @__PURE__ */ m("g", { children: [
7250
+ /* @__PURE__ */ e("line", { x1: x(p), x2: x(p), y1: u.top, y2: u.top + g, className: "select-chart__axis" }),
7251
+ /* @__PURE__ */ e("text", { x: x(p), y: u.top - 12, className: "select-chart__xlabel", textAnchor: "middle", children: _.label }),
7252
+ /* @__PURE__ */ e("text", { x: x(p), y: u.top - 1, className: "select-chart__ylabel", textAnchor: "middle", style: { fontSize: 9 }, children: c(N[p].max) }),
7253
+ /* @__PURE__ */ e("text", { x: x(p), y: u.top + g + 14, className: "select-chart__ylabel", textAnchor: "middle", style: { fontSize: 9 }, children: c(N[p].min) })
7254
7254
  ] }, _.key)),
7255
- n.map((_, h) => {
7256
- const b = _.color ?? j(h), S = t.map(($, M) => `${M ? "L" : "M"}${x(M).toFixed(1)},${k(M, _.values[$.key] ?? 0).toFixed(1)}`).join("");
7255
+ n.map((_, p) => {
7256
+ const b = _.color ?? j(p), S = t.map(($, M) => `${M ? "L" : "M"}${x(M).toFixed(1)},${k(M, _.values[$.key] ?? 0).toFixed(1)}`).join("");
7257
7257
  return /* @__PURE__ */ e(
7258
7258
  "path",
7259
7259
  {
7260
7260
  d: S,
7261
7261
  fill: "none",
7262
7262
  stroke: b,
7263
- strokeWidth: d === h ? 3 : 1.75,
7263
+ strokeWidth: d === p ? 3 : 1.75,
7264
7264
  strokeLinecap: "round",
7265
7265
  strokeLinejoin: "round",
7266
- strokeOpacity: d === null || d === h ? 0.9 : 0.2,
7266
+ strokeOpacity: d === null || d === p ? 0.9 : 0.2,
7267
7267
  style: { cursor: "pointer" },
7268
7268
  onMouseEnter: () => {
7269
- p(h), r.show({
7269
+ h(p), r.show({
7270
7270
  x: x(v - 1),
7271
7271
  y: k(v - 1, _.values[t[v - 1].key] ?? 0),
7272
7272
  place: "top",
7273
- title: _.label ?? `Série ${h + 1}`,
7273
+ title: _.label ?? `Série ${p + 1}`,
7274
7274
  rows: t.map(($) => ({ label: $.label, value: c(_.values[$.key] ?? 0), color: b }))
7275
7275
  });
7276
7276
  },
7277
7277
  onMouseLeave: () => {
7278
- p(null), r.hide();
7278
+ h(null), r.hide();
7279
7279
  }
7280
7280
  },
7281
- h
7281
+ p
7282
7282
  );
7283
7283
  })
7284
7284
  ] }),
@@ -7291,13 +7291,13 @@ function Mt(t) {
7291
7291
  function Cl(t, n = 0) {
7292
7292
  return !t.children || !t.children.length ? n : Math.max(...t.children.map((l) => Cl(l, n + 1)));
7293
7293
  }
7294
- function J1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
7295
- const { ref: a, width: o } = ce(n), i = K(), [r, d] = T(null), p = Cl(t), u = n / (p + 1), f = [], g = (v, x, N, k, _) => {
7294
+ function Qo({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
7295
+ const { ref: a, width: o } = ce(n), i = K(), [r, d] = T(null), h = Cl(t), u = n / (h + 1), f = [], g = (v, x, N, k, _) => {
7296
7296
  if (f.push({ node: v, x0: x, x1: N, depth: k, color: v.color ?? j(_), value: Mt(v) }), v.children && v.children.length) {
7297
- const h = v.children.reduce((S, $) => S + Mt($), 0) || 1;
7297
+ const p = v.children.reduce((S, $) => S + Mt($), 0) || 1;
7298
7298
  let b = x;
7299
7299
  v.children.forEach((S, $) => {
7300
- const M = (N - x) * Mt(S) / h;
7300
+ const M = (N - x) * Mt(S) / p;
7301
7301
  g(S, b, b + M, k + 1, k === 0 ? $ : _), b += M;
7302
7302
  });
7303
7303
  }
@@ -7317,7 +7317,7 @@ function J1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
7317
7317
  height: Math.max(0, u - 2),
7318
7318
  rx: 4,
7319
7319
  fill: v.color,
7320
- fillOpacity: 0.3 + 0.14 * (1 - v.depth / (p + 1)),
7320
+ fillOpacity: 0.3 + 0.14 * (1 - v.depth / (h + 1)),
7321
7321
  stroke: v.color,
7322
7322
  strokeOpacity: 0.5,
7323
7323
  className: "select-icicle__cell",
@@ -7335,39 +7335,39 @@ function J1({ data: t, height: n = 240, format: l = z, className: c, ...s }) {
7335
7335
  /* @__PURE__ */ e(J, { tip: i.tip })
7336
7336
  ] });
7337
7337
  }
7338
- function Q1({ data: t, height: n = 260, className: l, ...c }) {
7338
+ function e1({ data: t, height: n = 260, className: l, ...c }) {
7339
7339
  const { ref: s, width: a } = ce(n), o = K(), [i, r] = T(null), d = { top: 14, right: 96, bottom: 14, left: 16 };
7340
- let p = null;
7340
+ let h = null;
7341
7341
  if (a > 0) {
7342
7342
  const u = [];
7343
7343
  let f = 0, g = 0;
7344
- const v = (h, b, S, $) => {
7344
+ const v = (p, b, S, $) => {
7345
7345
  g = Math.max(g, b);
7346
- const M = { node: h, depth: b, yUnit: 0, ci: S, parent: $ };
7347
- if (h.children && h.children.length) {
7348
- const w = h.children.map((y, C) => v(y, b + 1, b === 0 ? C : S, M));
7346
+ const M = { node: p, depth: b, yUnit: 0, ci: S, parent: $ };
7347
+ if (p.children && p.children.length) {
7348
+ const w = p.children.map((y, C) => v(y, b + 1, b === 0 ? C : S, M));
7349
7349
  M.yUnit = (w[0].yUnit + w[w.length - 1].yUnit) / 2;
7350
7350
  } else
7351
7351
  M.yUnit = f, f++;
7352
7352
  return u.push(M), M;
7353
7353
  };
7354
7354
  v(t, 0, 0);
7355
- const x = a - d.left - d.right, N = n - d.top - d.bottom, k = (h) => d.left + (g <= 0 ? 0 : x / g * h), _ = (h) => d.top + (f <= 1 ? N / 2 : N / (f - 1) * h);
7356
- p = /* @__PURE__ */ m("svg", { width: a, height: n, className: "select-chart", onMouseLeave: () => {
7355
+ const x = a - d.left - d.right, N = n - d.top - d.bottom, k = (p) => d.left + (g <= 0 ? 0 : x / g * p), _ = (p) => d.top + (f <= 1 ? N / 2 : N / (f - 1) * p);
7356
+ h = /* @__PURE__ */ m("svg", { width: a, height: n, className: "select-chart", onMouseLeave: () => {
7357
7357
  r(null), o.hide();
7358
7358
  }, children: [
7359
7359
  u.map(
7360
- (h, b) => h.parent ? /* @__PURE__ */ e(
7360
+ (p, b) => p.parent ? /* @__PURE__ */ e(
7361
7361
  "path",
7362
7362
  {
7363
7363
  className: "select-tree__link",
7364
- d: `M${k(h.parent.depth)},${_(h.parent.yUnit)} C${(k(h.parent.depth) + k(h.depth)) / 2},${_(h.parent.yUnit)} ${(k(h.parent.depth) + k(h.depth)) / 2},${_(h.yUnit)} ${k(h.depth)},${_(h.yUnit)}`
7364
+ d: `M${k(p.parent.depth)},${_(p.parent.yUnit)} C${(k(p.parent.depth) + k(p.depth)) / 2},${_(p.parent.yUnit)} ${(k(p.parent.depth) + k(p.depth)) / 2},${_(p.yUnit)} ${k(p.depth)},${_(p.yUnit)}`
7365
7365
  },
7366
7366
  `l${b}`
7367
7367
  ) : null
7368
7368
  ),
7369
- u.map((h, b) => {
7370
- const S = h.node.color ?? j(h.ci), $ = k(h.depth), M = _(h.yUnit), w = !h.node.children || !h.node.children.length;
7369
+ u.map((p, b) => {
7370
+ const S = p.node.color ?? j(p.ci), $ = k(p.depth), M = _(p.yUnit), w = !p.node.children || !p.node.children.length;
7371
7371
  return /* @__PURE__ */ m("g", { style: { opacity: i === null || i === b ? 1 : 0.4 }, children: [
7372
7372
  /* @__PURE__ */ e(
7373
7373
  "circle",
@@ -7378,7 +7378,7 @@ function Q1({ data: t, height: n = 260, className: l, ...c }) {
7378
7378
  fill: S,
7379
7379
  className: "select-tree__node",
7380
7380
  onMouseEnter: () => {
7381
- r(b), o.show({ x: $, y: M - 8, place: "top", title: h.node.label, rows: [] });
7381
+ r(b), o.show({ x: $, y: M - 8, place: "top", title: p.node.label, rows: [] });
7382
7382
  },
7383
7383
  onMouseLeave: () => {
7384
7384
  r(null), o.hide();
@@ -7393,7 +7393,7 @@ function Q1({ data: t, height: n = 260, className: l, ...c }) {
7393
7393
  className: "select-chart__xlabel",
7394
7394
  dominantBaseline: "middle",
7395
7395
  textAnchor: w ? "start" : "middle",
7396
- children: h.node.label
7396
+ children: p.node.label
7397
7397
  }
7398
7398
  )
7399
7399
  ] }, `n${b}`);
@@ -7401,18 +7401,18 @@ function Q1({ data: t, height: n = 260, className: l, ...c }) {
7401
7401
  ] });
7402
7402
  }
7403
7403
  return /* @__PURE__ */ m("div", { ...c, className: `select-chart-wrap${l ? " " + l : ""}`, ref: s, children: [
7404
- p,
7404
+ h,
7405
7405
  /* @__PURE__ */ e(J, { tip: o.tip })
7406
7406
  ] });
7407
7407
  }
7408
- const eo = P(function({ sets: n, size: l = 240, className: c, ...s }, a) {
7409
- const o = Math.min(3, n.length), i = l / 2, r = l / 2, d = Math.max(1, ...n.slice(0, o).map((g) => g.size)), p = l * 0.26, u = (g) => p * 0.45 + p * 0.55 * Math.sqrt(g.size / d), f = o <= 2 ? [
7410
- [i - p * 0.42, r],
7411
- [i + p * 0.42, r]
7408
+ const t1 = P(function({ sets: n, size: l = 240, className: c, ...s }, a) {
7409
+ const o = Math.min(3, n.length), i = l / 2, r = l / 2, d = Math.max(1, ...n.slice(0, o).map((g) => g.size)), h = l * 0.26, u = (g) => h * 0.45 + h * 0.55 * Math.sqrt(g.size / d), f = o <= 2 ? [
7410
+ [i - h * 0.42, r],
7411
+ [i + h * 0.42, r]
7412
7412
  ] : [
7413
- [i, r - p * 0.5],
7414
- [i - p * 0.5, r + p * 0.36],
7415
- [i + p * 0.5, r + p * 0.36]
7413
+ [i, r - h * 0.5],
7414
+ [i - h * 0.5, r + h * 0.36],
7415
+ [i + h * 0.5, r + h * 0.36]
7416
7416
  ];
7417
7417
  return /* @__PURE__ */ m("div", { ref: a, ...s, className: `select-donut-wrap${c ? " " + c : ""}`, children: [
7418
7418
  /* @__PURE__ */ e("div", { className: "select-radial", style: { width: l, aspectRatio: "1" }, children: /* @__PURE__ */ m("svg", { width: l, height: l, viewBox: `0 0 ${l} ${l}`, className: "select-chart", "aria-hidden": "true", children: [
@@ -7453,8 +7453,8 @@ const eo = P(function({ sets: n, size: l = 240, className: c, ...s }, a) {
7453
7453
  /* @__PURE__ */ e("span", { className: "select-donut__legval", children: g.size.toLocaleString("pt-BR") })
7454
7454
  ] }, v)) })
7455
7455
  ] });
7456
- }), to = P(function({ data: n, size: l = 260, format: c = z, className: s, ...a }, o) {
7457
- const i = K(), [r, d] = T(null), p = Math.max(1, ...n.map((y) => y.value)), u = n.map((y, C) => ({ d: y, i: C, r: 8 + Math.sqrt(y.value / p) * 40 })).sort((y, C) => C.r - y.r), f = [];
7456
+ }), n1 = P(function({ data: n, size: l = 260, format: c = z, className: s, ...a }, o) {
7457
+ const i = K(), [r, d] = T(null), h = Math.max(1, ...n.map((y) => y.value)), u = n.map((y, C) => ({ d: y, i: C, r: 8 + Math.sqrt(y.value / h) * 40 })).sort((y, C) => C.r - y.r), f = [];
7458
7458
  for (const y of u) {
7459
7459
  if (f.length === 0) {
7460
7460
  f.push({ d: y.d, i: y.i, x: 0, y: 0, r: y.r });
@@ -7477,7 +7477,7 @@ const eo = P(function({ sets: n, size: l = 240, className: c, ...s }, a) {
7477
7477
  }
7478
7478
  B && f.push({ d: y.d, i: y.i, x: B[0], y: B[1], r: y.r });
7479
7479
  }
7480
- const g = Math.min(...f.map((y) => y.x - y.r)), v = Math.max(...f.map((y) => y.x + y.r)), x = Math.min(...f.map((y) => y.y - y.r)), N = Math.max(...f.map((y) => y.y + y.r)), k = v - g || 1, _ = N - x || 1, h = 8, b = Math.min((l - h * 2) / k, (l - h * 2) / _), S = (l - k * b) / 2 - g * b, $ = (l - _ * b) / 2 - x * b, M = (y) => y * b + S, w = (y) => y * b + $;
7480
+ const g = Math.min(...f.map((y) => y.x - y.r)), v = Math.max(...f.map((y) => y.x + y.r)), x = Math.min(...f.map((y) => y.y - y.r)), N = Math.max(...f.map((y) => y.y + y.r)), k = v - g || 1, _ = N - x || 1, p = 8, b = Math.min((l - p * 2) / k, (l - p * 2) / _), S = (l - k * b) / 2 - g * b, $ = (l - _ * b) / 2 - x * b, M = (y) => y * b + S, w = (y) => y * b + $;
7481
7481
  return /* @__PURE__ */ m("div", { ref: o, ...a, className: `select-donut-wrap${s ? " " + s : ""}`, children: [
7482
7482
  /* @__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: () => {
7483
7483
  d(null), i.hide();
@@ -7509,15 +7509,15 @@ const eo = P(function({ sets: n, size: l = 240, className: c, ...s }, a) {
7509
7509
  /* @__PURE__ */ e(J, { tip: i.tip })
7510
7510
  ] });
7511
7511
  });
7512
- function no({ nodes: t, links: n, height: l = 300, format: c = z, className: s, ...a }) {
7513
- const { ref: o, width: i } = ce(l), r = K(), [d, p] = T(null), u = ye(() => {
7512
+ function l1({ nodes: t, links: n, height: l = 300, format: c = z, className: s, ...a }) {
7513
+ const { ref: o, width: i } = ce(l), r = K(), [d, h] = T(null), u = ye(() => {
7514
7514
  const v = i || l, x = l, N = t.length, k = /* @__PURE__ */ new Map();
7515
7515
  if (!N) return k;
7516
7516
  const _ = t.map(($, M) => ({
7517
7517
  id: $.id,
7518
7518
  x: v / 2 + Math.cos(M / N * 2 * Math.PI) * v * 0.3,
7519
7519
  y: x / 2 + Math.sin(M / N * 2 * Math.PI) * x * 0.3
7520
- })), h = new Map(t.map(($, M) => [$.id, M])), b = Math.sqrt(v * x / N) * 0.55;
7520
+ })), p = new Map(t.map(($, M) => [$.id, M])), b = Math.sqrt(v * x / N) * 0.55;
7521
7521
  let S = v * 0.12;
7522
7522
  for (let $ = 0; $ < 320; $++) {
7523
7523
  const M = _.map(() => ({ x: 0, y: 0 }));
@@ -7527,7 +7527,7 @@ function no({ nodes: t, links: n, height: l = 300, format: c = z, className: s,
7527
7527
  M[w].x += C / B * A, M[w].y += L / B * A, M[y].x -= C / B * A, M[y].y -= L / B * A;
7528
7528
  }
7529
7529
  for (const w of n) {
7530
- const y = h.get(w.source), C = h.get(w.target);
7530
+ const y = p.get(w.source), C = p.get(w.target);
7531
7531
  if (y == null || C == null) continue;
7532
7532
  const L = _[y].x - _[C].x, B = _[y].y - _[C].y, A = Math.hypot(L, B) || 0.01, E = A * A / b;
7533
7533
  M[y].x -= L / A * E, M[y].y -= B / A * E, M[C].x += L / A * E, M[C].y += B / A * E;
@@ -7546,7 +7546,7 @@ function no({ nodes: t, links: n, height: l = 300, format: c = z, className: s,
7546
7546
  const g = d ? new Set(n.filter((v) => v.source === d || v.target === d).flatMap((v) => [v.source, v.target])) : null;
7547
7547
  return /* @__PURE__ */ m("div", { ...a, className: `select-chart-wrap${s ? " " + s : ""}`, ref: o, children: [
7548
7548
  i > 0 && /* @__PURE__ */ m("svg", { width: i, height: l, className: "select-chart", onMouseLeave: () => {
7549
- p(null), r.hide();
7549
+ h(null), r.hide();
7550
7550
  }, children: [
7551
7551
  n.map((v, x) => {
7552
7552
  const N = u.get(v.source), k = u.get(v.target);
@@ -7569,8 +7569,8 @@ function no({ nodes: t, links: n, height: l = 300, format: c = z, className: s,
7569
7569
  t.map((v, x) => {
7570
7570
  const N = u.get(v.id);
7571
7571
  if (!N) return null;
7572
- const k = v.color ?? j(v.group ?? x), _ = 5 + Math.min(12, (v.value ?? f.get(v.id) ?? 1) * 1.2), h = !g || g.has(v.id);
7573
- return /* @__PURE__ */ m("g", { style: { opacity: h ? 1 : 0.3 }, children: [
7572
+ const k = v.color ?? j(v.group ?? x), _ = 5 + Math.min(12, (v.value ?? f.get(v.id) ?? 1) * 1.2), p = !g || g.has(v.id);
7573
+ return /* @__PURE__ */ m("g", { style: { opacity: p ? 1 : 0.3 }, children: [
7574
7574
  /* @__PURE__ */ e(
7575
7575
  "circle",
7576
7576
  {
@@ -7580,10 +7580,10 @@ function no({ nodes: t, links: n, height: l = 300, format: c = z, className: s,
7580
7580
  fill: k,
7581
7581
  className: "select-net__node",
7582
7582
  onMouseEnter: () => {
7583
- p(v.id), r.show({ x: N.x, y: N.y - _ - 4, place: N.y < 48 ? "bottom" : "top", title: v.label ?? v.id, rows: v.value != null ? [{ label: "Valor", value: c(v.value), color: k }] : [{ label: "Conexões", value: String(f.get(v.id) ?? 0), color: k }] });
7583
+ h(v.id), r.show({ x: N.x, y: N.y - _ - 4, place: N.y < 48 ? "bottom" : "top", title: v.label ?? v.id, rows: v.value != null ? [{ label: "Valor", value: c(v.value), color: k }] : [{ label: "Conexões", value: String(f.get(v.id) ?? 0), color: k }] });
7584
7584
  },
7585
7585
  onMouseLeave: () => {
7586
- p(null), r.hide();
7586
+ h(null), r.hide();
7587
7587
  }
7588
7588
  }
7589
7589
  ),
@@ -7599,11 +7599,11 @@ const Ht = [
7599
7599
  { value: "dark", label: "Escuro", icon: /* @__PURE__ */ e(Xl, {}) },
7600
7600
  { value: "system", label: "Sistema", icon: /* @__PURE__ */ e(Un, {}) }
7601
7601
  ];
7602
- function lo(t) {
7602
+ function c1(t) {
7603
7603
  var n;
7604
7604
  return t === "system" ? (n = window.matchMedia) != null && n.call(window, "(prefers-color-scheme: dark)").matches ? "dark" : "light" : t;
7605
7605
  }
7606
- function co({ value: t, onChange: n, className: l, ...c }) {
7606
+ function s1({ value: t, onChange: n, className: l, ...c }) {
7607
7607
  const [s, a] = T(!1), o = Y(null), i = Ht.find((r) => r.value === t) ?? Ht[2];
7608
7608
  return te(() => {
7609
7609
  if (!s) return;
@@ -7632,7 +7632,7 @@ function co({ value: t, onChange: n, className: l, ...c }) {
7632
7632
  ] });
7633
7633
  }
7634
7634
  const Ll = Xt(!1);
7635
- function so({
7635
+ function a1({
7636
7636
  children: t,
7637
7637
  stacked: n = !1,
7638
7638
  loading: l = !1
@@ -7640,23 +7640,41 @@ function so({
7640
7640
  const c = Ft({ selector: ".select-detail", y: 8, duration: 0.45, stagger: 0.05, scroll: !0 });
7641
7641
  return /* @__PURE__ */ e(Ll.Provider, { value: l, children: /* @__PURE__ */ e("div", { className: `select-detaillist${n ? " select-detaillist--stacked" : ""}`, ref: c, children: t }) });
7642
7642
  }
7643
- const ao = P(function({ label: n, children: l, action: c, align: s = "center", loading: a, className: o, ...i }, r) {
7644
- const d = zt(Ll), p = a ?? d;
7643
+ const r1 = P(function({ label: n, children: l, action: c, align: s = "center", loading: a, className: o, ...i }, r) {
7644
+ const d = zt(Ll), h = a ?? d;
7645
7645
  return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-detail select-detail--${s}${o ? " " + o : ""}`, children: [
7646
7646
  /* @__PURE__ */ e("div", { className: "select-detail__label", children: n }),
7647
- /* @__PURE__ */ e("div", { className: "select-detail__value", children: p ? /* @__PURE__ */ e("span", { className: "select-skeleton select-detail__skel" }) : l }),
7647
+ /* @__PURE__ */ e("div", { className: "select-detail__value", children: h ? /* @__PURE__ */ e("span", { className: "select-skeleton select-detail__skel" }) : l }),
7648
7648
  c && /* @__PURE__ */ e("div", { className: "select-detail__action", children: c })
7649
7649
  ] });
7650
- }), ro = P(function({ steps: n, current: l, onSelect: c, className: s, ...a }, o) {
7651
- return /* @__PURE__ */ e("ol", { ref: o, ...a, className: `select-steps${s ? " " + s : ""}`, children: n.map((i, r) => {
7652
- const d = r < l ? "done" : r === l ? "current" : "todo", p = !!c && r < l, u = /* @__PURE__ */ m(ae, { children: [
7653
- /* @__PURE__ */ e("span", { className: "select-steps__num", "aria-hidden": "true", children: d === "done" ? /* @__PURE__ */ e(Ae, {}) : r + 1 }),
7654
- /* @__PURE__ */ e("span", { className: "select-steps__label", children: i })
7655
- ] });
7656
- return /* @__PURE__ */ e("li", { className: `select-steps__step select-steps__step--${d}`, "aria-current": d === "current" ? "step" : void 0, children: p ? /* @__PURE__ */ e("button", { type: "button", className: "select-steps__btn", onClick: () => c(r), children: u }) : u }, r);
7657
- }) });
7658
- }), oo = P(function({ name: n, price: l, priceSuffix: c, headerAction: s, summary: a, cta: o, featuresTitle: i, features: r, featured: d = !1, className: p, ...u }, f) {
7659
- return /* @__PURE__ */ m("div", { ref: f, ...u, className: `select-plan${d ? " select-plan--featured" : ""}${p ? " " + p : ""}`, children: [
7650
+ }), o1 = P(function({ label: n, description: l, onClick: c, icon: s, className: a, ...o }, i) {
7651
+ return /* @__PURE__ */ m("button", { ref: i, ...o, type: "button", className: `select-addcard${a ? " " + a : ""}`, onClick: c, children: [
7652
+ /* @__PURE__ */ e("span", { className: "select-addcard__glyph", "aria-hidden": "true", children: s ?? /* @__PURE__ */ e(Je, {}) }),
7653
+ /* @__PURE__ */ e("span", { className: "select-addcard__label", children: n }),
7654
+ l && /* @__PURE__ */ e("span", { className: "select-addcard__desc", children: l })
7655
+ ] });
7656
+ }), i1 = P(function({ steps: n, current: l, onSelect: c, orientation: s = "horizontal", className: a, ...o }, i) {
7657
+ const r = s === "vertical";
7658
+ return /* @__PURE__ */ e(
7659
+ "ol",
7660
+ {
7661
+ ref: i,
7662
+ ...o,
7663
+ className: `select-steps${r ? " select-steps--vertical" : ""}${a ? " " + a : ""}`,
7664
+ children: n.map((d, h) => {
7665
+ const { label: u, description: f } = typeof d == "string" ? { label: d, description: void 0 } : d, g = h < l ? "done" : h === l ? "current" : "todo", v = !!c && h < l, x = /* @__PURE__ */ m(ae, { children: [
7666
+ /* @__PURE__ */ e("span", { className: "select-steps__num", "aria-hidden": "true", children: g === "done" ? /* @__PURE__ */ e(Ae, {}) : h + 1 }),
7667
+ /* @__PURE__ */ m("span", { className: "select-steps__text", children: [
7668
+ /* @__PURE__ */ e("span", { className: "select-steps__label", children: u }),
7669
+ r && f && /* @__PURE__ */ e("span", { className: "select-steps__desc", children: f })
7670
+ ] })
7671
+ ] });
7672
+ return /* @__PURE__ */ e("li", { className: `select-steps__step select-steps__step--${g}`, "aria-current": g === "current" ? "step" : void 0, children: v ? /* @__PURE__ */ e("button", { type: "button", className: "select-steps__btn", onClick: () => c(h), children: x }) : x }, h);
7673
+ })
7674
+ }
7675
+ );
7676
+ }), d1 = P(function({ name: n, price: l, priceSuffix: c, headerAction: s, summary: a, cta: o, featuresTitle: i, features: r, featured: d = !1, className: h, ...u }, f) {
7677
+ return /* @__PURE__ */ m("div", { ref: f, ...u, className: `select-plan${d ? " select-plan--featured" : ""}${h ? " " + h : ""}`, children: [
7660
7678
  /* @__PURE__ */ m("div", { className: "select-plan__top", children: [
7661
7679
  /* @__PURE__ */ m("div", { className: "select-plan__head", children: [
7662
7680
  /* @__PURE__ */ e("h3", { className: "select-plan__name", children: n }),
@@ -7677,7 +7695,7 @@ const ao = P(function({ label: n, children: l, action: c, align: s = "center", l
7677
7695
  ] }, v)) })
7678
7696
  ] })
7679
7697
  ] });
7680
- }), io = P(function({ title: n, description: l, headerAction: c, footer: s, children: a, className: o, ...i }, r) {
7698
+ }), u1 = P(function({ title: n, description: l, headerAction: c, footer: s, children: a, className: o, ...i }, r) {
7681
7699
  return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-listcard${o ? " " + o : ""}`, children: [
7682
7700
  (n || c) && /* @__PURE__ */ m("div", { className: "select-listcard__head", children: [
7683
7701
  /* @__PURE__ */ m("div", { className: "select-listcard__heading", children: [
@@ -7690,7 +7708,7 @@ const ao = P(function({ label: n, children: l, action: c, align: s = "center", l
7690
7708
  s && /* @__PURE__ */ e("div", { className: "select-listcard__footer", children: s })
7691
7709
  ] });
7692
7710
  });
7693
- function uo({
7711
+ function h1({
7694
7712
  media: t,
7695
7713
  title: n,
7696
7714
  secondary: l,
@@ -7730,7 +7748,7 @@ function zs({
7730
7748
  }) {
7731
7749
  return /* @__PURE__ */ e(Rt, { open: t, onClose: n, title: s, size: "lg", theme: ht(), children: /* @__PURE__ */ e("div", { className: "select-imagezoom", children: /* @__PURE__ */ e("img", { src: l, alt: c ?? s ?? "", className: "select-imagezoom__img" }) }) });
7732
7750
  }
7733
- function ho({
7751
+ function p1({
7734
7752
  src: t,
7735
7753
  alt: n = "",
7736
7754
  size: l = 40,
@@ -7753,7 +7771,7 @@ function ho({
7753
7771
  s && /* @__PURE__ */ e(zs, { open: !0, onClose: () => a(!1), src: t, alt: n, title: c ?? n })
7754
7772
  ] }) : /* @__PURE__ */ e(On, { size: l, alt: n });
7755
7773
  }
7756
- const po = P(function({ media: n, title: l, secondary: c, className: s, ...a }, o) {
7774
+ const m1 = P(function({ media: n, title: l, secondary: c, className: s, ...a }, o) {
7757
7775
  return /* @__PURE__ */ m("span", { ref: o, ...a, className: `select-mediacell${s ? " " + s : ""}`, children: [
7758
7776
  n && /* @__PURE__ */ e("span", { className: "select-mediacell__media", children: n }),
7759
7777
  /* @__PURE__ */ m("span", { className: "select-mediacell__text", children: [
@@ -7762,7 +7780,7 @@ const po = P(function({ media: n, title: l, secondary: c, className: s, ...a },
7762
7780
  ] })
7763
7781
  ] });
7764
7782
  });
7765
- function mo() {
7783
+ function f1() {
7766
7784
  const [t, n] = T(
7767
7785
  () => typeof navigator < "u" && navigator.onLine === !1
7768
7786
  );
@@ -7795,9 +7813,9 @@ function Xs(t) {
7795
7813
  value: l == null ? "" : String(l)
7796
7814
  })) : [];
7797
7815
  }
7798
- const fo = P(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valuePlaceholder: s = "Valor", keyOptions: a, addLabel: o = "Adicionar", max: i, helpText: r = "Linhas vazias serão ignoradas.", className: d, ...p }, u) {
7799
- const f = Xs(n), g = (k, _) => l(f.map((h, b) => b === k ? { ...h, ..._ } : h)), v = (k) => l(f.filter((_, h) => h !== k)), x = () => l([...f, { name: "", value: "" }]), N = i == null || f.length < i;
7800
- return /* @__PURE__ */ m("div", { ref: u, ...p, className: `select-kv${d ? " " + d : ""}`, children: [
7816
+ const _1 = P(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valuePlaceholder: s = "Valor", keyOptions: a, addLabel: o = "Adicionar", max: i, helpText: r = "Linhas vazias serão ignoradas.", className: d, ...h }, u) {
7817
+ const f = Xs(n), g = (k, _) => l(f.map((p, b) => b === k ? { ...p, ..._ } : p)), v = (k) => l(f.filter((_, p) => p !== k)), x = () => l([...f, { name: "", value: "" }]), N = i == null || f.length < i;
7818
+ return /* @__PURE__ */ m("div", { ref: u, ...h, className: `select-kv${d ? " " + d : ""}`, children: [
7801
7819
  f.map((k, _) => /* @__PURE__ */ m("div", { className: "select-kv__row", children: [
7802
7820
  /* @__PURE__ */ e("div", { className: "select-kv__field", children: a ? /* @__PURE__ */ e(
7803
7821
  cl,
@@ -7805,14 +7823,14 @@ const fo = P(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
7805
7823
  size: "sm",
7806
7824
  options: [{ label: c, value: "" }, ...a],
7807
7825
  value: k.name,
7808
- onChange: (h) => g(_, { name: h })
7826
+ onChange: (p) => g(_, { name: p })
7809
7827
  }
7810
7828
  ) : /* @__PURE__ */ e(
7811
7829
  Ze,
7812
7830
  {
7813
7831
  size: "sm",
7814
7832
  value: k.name,
7815
- onChange: (h) => g(_, { name: h }),
7833
+ onChange: (p) => g(_, { name: p }),
7816
7834
  placeholder: c,
7817
7835
  autoComplete: "off"
7818
7836
  }
@@ -7822,7 +7840,7 @@ const fo = P(function({ pairs: n, onChange: l, keyPlaceholder: c = "Chave", valu
7822
7840
  {
7823
7841
  size: "sm",
7824
7842
  value: k.value,
7825
- onChange: (h) => g(_, { value: h }),
7843
+ onChange: (p) => g(_, { value: p }),
7826
7844
  placeholder: s,
7827
7845
  autoComplete: "off"
7828
7846
  }
@@ -7913,15 +7931,15 @@ function ta(t) {
7913
7931
  const l = n < 12 ? "AM" : "PM";
7914
7932
  return n = n % 12 || 12, `${n} : ${String(t.getMinutes()).padStart(2, "0")} ${l}`;
7915
7933
  }
7916
- const na = P(function({ value: n, presets: l = Js, onApply: c, onCancel: s, accentVar: a, locale: o = "en-US", showTime: i = !0, maxDate: r, embedded: d = !1, className: p, ...u }, f) {
7917
- const g = Ks[o], v = De(/* @__PURE__ */ new Date()), x = r ? De(r) : null, [N, k] = T(n ?? { from: v, to: v }), [_, h] = T(yt((n == null ? void 0 : n.from) ?? /* @__PURE__ */ new Date())), [b, S] = T(null), $ = At(yt(_), -yt(_).getDay()), M = Array.from({ length: 42 }, (A, E) => At($, E)), w = (A) => x ? De(A) > x : !1, y = (A) => A ? g.formatDate(A) : /* @__PURE__ */ e("span", { className: "select-datepicker__placeholder", children: "— / — / ——" }), C = (A) => {
7934
+ const na = P(function({ value: n, presets: l = Js, onApply: c, onCancel: s, accentVar: a, locale: o = "en-US", showTime: i = !0, maxDate: r, embedded: d = !1, className: h, ...u }, f) {
7935
+ const g = Ks[o], v = De(/* @__PURE__ */ new Date()), x = r ? De(r) : null, [N, k] = T(n ?? { from: v, to: v }), [_, p] = T(yt((n == null ? void 0 : n.from) ?? /* @__PURE__ */ new Date())), [b, S] = T(null), $ = At(yt(_), -yt(_).getDay()), M = Array.from({ length: 42 }, (A, E) => At($, E)), w = (A) => x ? De(A) > x : !1, y = (A) => A ? g.formatDate(A) : /* @__PURE__ */ e("span", { className: "select-datepicker__placeholder", children: "— / — / ——" }), C = (A) => {
7918
7936
  w(A) || (S(null), k((E) => !E.from || E.from && E.to ? { from: A, to: null } : A < De(E.from) ? { from: A, to: null } : { from: E.from, to: A }));
7919
7937
  }, L = (A) => {
7920
7938
  if (A.disabled || !A.range) return;
7921
7939
  const E = A.range();
7922
- k(E), S(A.id), E.from && h(yt(E.from));
7940
+ k(E), S(A.id), E.from && p(yt(E.from));
7923
7941
  }, B = a ? { "--select-dp-accent": `var(${a})` } : void 0;
7924
- return /* @__PURE__ */ e("div", { ref: f, ...u, className: `select select-datepicker${d ? " select-datepicker--bare" : ""}${p ? " " + p : ""}`, style: B, children: /* @__PURE__ */ m("div", { className: "select-datepicker__body", children: [
7942
+ return /* @__PURE__ */ e("div", { ref: f, ...u, className: `select select-datepicker${d ? " select-datepicker--bare" : ""}${h ? " " + h : ""}`, style: B, children: /* @__PURE__ */ m("div", { className: "select-datepicker__body", children: [
7925
7943
  /* @__PURE__ */ e("div", { className: "select-datepicker__presets", role: "listbox", "aria-label": "Intervalos", children: l.map((A) => {
7926
7944
  const E = b === A.id;
7927
7945
  return /* @__PURE__ */ m(
@@ -7954,7 +7972,7 @@ const na = P(function({ value: n, presets: l = Js, onApply: c, onCancel: s, acce
7954
7972
  type: "button",
7955
7973
  className: "select-datepicker__nav",
7956
7974
  "aria-label": o === "pt-BR" ? "Mês anterior" : "Previous month",
7957
- onClick: () => h((A) => jn(A, -1)),
7975
+ onClick: () => p((A) => jn(A, -1)),
7958
7976
  children: /* @__PURE__ */ e(Kt, {})
7959
7977
  }
7960
7978
  ),
@@ -7969,7 +7987,7 @@ const na = P(function({ value: n, presets: l = Js, onApply: c, onCancel: s, acce
7969
7987
  type: "button",
7970
7988
  className: "select-datepicker__nav",
7971
7989
  "aria-label": o === "pt-BR" ? "Próximo mês" : "Next month",
7972
- onClick: () => h((A) => jn(A, 1)),
7990
+ onClick: () => p((A) => jn(A, 1)),
7973
7991
  children: /* @__PURE__ */ e(dt, {})
7974
7992
  }
7975
7993
  )
@@ -7996,7 +8014,7 @@ function la(t, n) {
7996
8014
  }
7997
8015
  return Vt(t.start, t.end) ? Zt(t.start) : `${Zt(t.start)} – ${Zt(t.end)}`;
7998
8016
  }
7999
- function _o({
8017
+ function v1({
8000
8018
  value: t,
8001
8019
  onChange: n,
8002
8020
  presets: l = ea,
@@ -8006,7 +8024,7 @@ function _o({
8006
8024
  disabled: o = !1,
8007
8025
  block: i = !1
8008
8026
  }) {
8009
- const [r, d] = T(!1), p = c === null ? null : c ?? jt(/* @__PURE__ */ new Date());
8027
+ const [r, d] = T(!1), h = c === null ? null : c ?? jt(/* @__PURE__ */ new Date());
8010
8028
  return /* @__PURE__ */ e(
8011
8029
  We,
8012
8030
  {
@@ -8034,7 +8052,7 @@ function _o({
8034
8052
  locale: "pt-BR",
8035
8053
  showTime: !1,
8036
8054
  presets: l,
8037
- maxDate: p,
8055
+ maxDate: h,
8038
8056
  value: { from: t.start, to: t.end },
8039
8057
  onCancel: () => d(!1),
8040
8058
  onApply: (u) => {
@@ -8054,11 +8072,11 @@ function ca({ size: t }) {
8054
8072
  }
8055
8073
  ) });
8056
8074
  }
8057
- const vo = P(function({ value: n, max: l = 5, onChange: c, size: s = 20, label: a, disabled: o = !1, className: i, ...r }, d) {
8058
- const p = !!c && !o, [u, f] = T(null), g = u ?? n;
8059
- return /* @__PURE__ */ e("div", { ref: d, ...r, className: `select-rating${p ? " select-rating--interactive" : ""}${i ? " " + i : ""}`, role: p ? "slider" : "img", "aria-label": a ?? `Avaliação ${n} de ${l}`, "aria-valuenow": p ? n : void 0, "aria-valuemin": p ? 0 : void 0, "aria-valuemax": p ? l : void 0, onMouseLeave: () => p && f(null), children: Array.from({ length: l }, (v, x) => {
8075
+ const g1 = P(function({ value: n, max: l = 5, onChange: c, size: s = 20, label: a, disabled: o = !1, className: i, ...r }, d) {
8076
+ const h = !!c && !o, [u, f] = T(null), g = u ?? n;
8077
+ return /* @__PURE__ */ e("div", { ref: d, ...r, className: `select-rating${h ? " select-rating--interactive" : ""}${i ? " " + i : ""}`, role: h ? "slider" : "img", "aria-label": a ?? `Avaliação ${n} de ${l}`, "aria-valuenow": h ? n : void 0, "aria-valuemin": h ? 0 : void 0, "aria-valuemax": h ? l : void 0, onMouseLeave: () => h && f(null), children: Array.from({ length: l }, (v, x) => {
8060
8078
  const N = x < g, k = /* @__PURE__ */ e("span", { className: `select-rating__star${N ? " is-filled" : ""}`, children: /* @__PURE__ */ e(ca, { size: s }) });
8061
- return p ? /* @__PURE__ */ e(
8079
+ return h ? /* @__PURE__ */ e(
8062
8080
  "button",
8063
8081
  {
8064
8082
  type: "button",
@@ -8073,14 +8091,14 @@ const vo = P(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
8073
8091
  x
8074
8092
  ) : /* @__PURE__ */ e("span", { children: k }, x);
8075
8093
  }) });
8076
- }), go = P(function({ label: n, value: l, onChange: c, min: s, max: a, step: o = 1, decimal: i = !1, disabled: r = !1, hint: d, error: p, onBlur: u, placeholder: f, size: g = "md", className: v, ...x }, N) {
8077
- const k = ne(), _ = (E) => Math.min(a ?? 1 / 0, Math.max(s ?? -1 / 0, E)), h = (E) => Math.round(E * 1e6) / 1e6, b = l ?? 0, S = s != null && b <= s, $ = a != null && b >= a, [M, w] = T(!1), [y, C] = T(""), L = i && M ? y : l == null ? "" : String(l), B = (E) => {
8094
+ }), b1 = P(function({ label: n, value: l, onChange: c, min: s, max: a, step: o = 1, decimal: i = !1, disabled: r = !1, hint: d, error: h, onBlur: u, placeholder: f, size: g = "md", className: v, ...x }, N) {
8095
+ const k = ne(), _ = (E) => Math.min(a ?? 1 / 0, Math.max(s ?? -1 / 0, E)), p = (E) => Math.round(E * 1e6) / 1e6, b = l ?? 0, S = s != null && b <= s, $ = a != null && b >= a, [M, w] = T(!1), [y, C] = T(""), L = i && M ? y : l == null ? "" : String(l), B = (E) => {
8078
8096
  const F = i ? E.replace(/[^\d.,-]/g, "").replace(",", ".") : E.replace(/[^\d-]/g, "");
8079
8097
  if (i && C(F), F === "" || F === "-" || F === ".") return c(null);
8080
8098
  const W = Number(F);
8081
8099
  Number.isFinite(W) && c(_(W));
8082
8100
  }, A = (E) => {
8083
- const F = _(h(b + E));
8101
+ const F = _(p(b + E));
8084
8102
  i && C(String(F)), c(F);
8085
8103
  };
8086
8104
  return /* @__PURE__ */ m("div", { ref: N, ...x, className: `select-field${g === "sm" ? " select-field--sm" : ""}${v ? " " + v : ""}`, children: [
@@ -8101,7 +8119,7 @@ const vo = P(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
8101
8119
  "input",
8102
8120
  {
8103
8121
  id: k,
8104
- className: `select-input select-numfield__input${p ? " select-input--error" : ""}`,
8122
+ className: `select-input select-numfield__input${h ? " select-input--error" : ""}`,
8105
8123
  type: "text",
8106
8124
  inputMode: i ? "decimal" : "numeric",
8107
8125
  autoComplete: "off",
@@ -8115,7 +8133,7 @@ const vo = P(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
8115
8133
  onBlur: () => {
8116
8134
  w(!1), u == null || u();
8117
8135
  },
8118
- "aria-invalid": p ? !0 : void 0
8136
+ "aria-invalid": h ? !0 : void 0
8119
8137
  }
8120
8138
  ),
8121
8139
  /* @__PURE__ */ e(
@@ -8123,17 +8141,17 @@ const vo = P(function({ value: n, max: l = 5, onChange: c, size: s = 20, label:
8123
8141
  {
8124
8142
  variant: "outline",
8125
8143
  size: g,
8126
- icon: /* @__PURE__ */ e(nt, {}),
8144
+ icon: /* @__PURE__ */ e(Je, {}),
8127
8145
  label: "Aumentar",
8128
8146
  disabled: r || $,
8129
8147
  onClick: () => A(o)
8130
8148
  }
8131
8149
  )
8132
8150
  ] }),
8133
- p ? /* @__PURE__ */ e("p", { className: "select-field__error", children: p }) : d ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: d }) : null
8151
+ h ? /* @__PURE__ */ e("p", { className: "select-field__error", children: h }) : d ? /* @__PURE__ */ e("p", { className: "select-field__hint", children: d }) : null
8134
8152
  ] });
8135
8153
  });
8136
- function bo({
8154
+ function y1({
8137
8155
  items: t,
8138
8156
  onChange: n,
8139
8157
  renderRow: l,
@@ -8144,21 +8162,21 @@ function bo({
8144
8162
  max: i,
8145
8163
  addDisabled: r = !1,
8146
8164
  reorderable: d = !1,
8147
- chrome: p = "card",
8165
+ chrome: h = "card",
8148
8166
  emptyState: u,
8149
8167
  helpText: f
8150
8168
  }) {
8151
- const g = !r && (i == null || t.length < i), v = t.length > o, x = (h, b) => n(t.map((S, $) => $ === h ? b : S)), N = (h) => n(t.filter((b, S) => S !== h)), k = (h, b) => {
8152
- const S = h + b;
8169
+ const g = !r && (i == null || t.length < i), v = t.length > o, x = (p, b) => n(t.map((S, $) => $ === p ? b : S)), N = (p) => n(t.filter((b, S) => S !== p)), k = (p, b) => {
8170
+ const S = p + b;
8153
8171
  if (S < 0 || S >= t.length) return;
8154
- const $ = t.slice(), M = $[h];
8155
- $[h] = $[S], $[S] = M, n($);
8156
- }, _ = (h, b) => ({
8172
+ const $ = t.slice(), M = $[p];
8173
+ $[p] = $[S], $[S] = M, n($);
8174
+ }, _ = (p, b) => ({
8157
8175
  index: b,
8158
8176
  isFirst: b === 0,
8159
8177
  isLast: b === t.length - 1,
8160
8178
  canRemove: v,
8161
- update: (S) => x(b, { ...h, ...S }),
8179
+ update: (S) => x(b, { ...p, ...S }),
8162
8180
  set: (S) => x(b, S),
8163
8181
  remove: () => N(b),
8164
8182
  moveUp: () => k(b, -1),
@@ -8166,11 +8184,11 @@ function bo({
8166
8184
  });
8167
8185
  return /* @__PURE__ */ m(Gt, { gap: "300", children: [
8168
8186
  t.length === 0 && u != null && /* @__PURE__ */ e("div", { children: u }),
8169
- t.map((h, b) => {
8170
- const S = _(h, b);
8171
- return p === "bare" ? /* @__PURE__ */ e("div", { children: l(h, S) }, b) : /* @__PURE__ */ e(Cc, { background: "surface", border: !0, borderRadius: "base", padding: "300", children: /* @__PURE__ */ m(Gt, { gap: "200", children: [
8187
+ t.map((p, b) => {
8188
+ const S = _(p, b);
8189
+ return h === "bare" ? /* @__PURE__ */ e("div", { children: l(p, S) }, b) : /* @__PURE__ */ e(Cc, { background: "surface", border: !0, borderRadius: "base", padding: "300", children: /* @__PURE__ */ m(Gt, { gap: "200", children: [
8172
8190
  /* @__PURE__ */ m(st, { align: "space-between", blockAlign: "center", gap: "200", children: [
8173
- /* @__PURE__ */ e(Xe, { as: "span", variant: "bodySm", fontWeight: "medium", tone: "subdued", children: a ? a(b, h) : `#${b + 1}` }),
8191
+ /* @__PURE__ */ e(Xe, { as: "span", variant: "bodySm", fontWeight: "medium", tone: "subdued", children: a ? a(b, p) : `#${b + 1}` }),
8174
8192
  /* @__PURE__ */ m(st, { gap: "100", blockAlign: "center", wrap: !1, children: [
8175
8193
  d && /* @__PURE__ */ m(ae, { children: [
8176
8194
  /* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(Kn, {}), label: "Mover para cima", disabled: S.isFirst, onClick: S.moveUp }),
@@ -8179,16 +8197,16 @@ function bo({
8179
8197
  /* @__PURE__ */ e(ge, { size: "sm", icon: /* @__PURE__ */ e(zn, {}), label: "Remover", disabled: !v, onClick: S.remove })
8180
8198
  ] })
8181
8199
  ] }),
8182
- l(h, S)
8200
+ l(p, S)
8183
8201
  ] }) }, b);
8184
8202
  }),
8185
8203
  /* @__PURE__ */ m(st, { align: "space-between", blockAlign: "center", gap: "200", children: [
8186
- /* @__PURE__ */ e(ve, { variant: "secondary", size: "sm", inline: !0, icon: /* @__PURE__ */ e(nt, {}), disabled: !g, onClick: () => n([...t, c()]), children: s }),
8204
+ /* @__PURE__ */ e(ve, { variant: "secondary", size: "sm", inline: !0, icon: /* @__PURE__ */ e(Je, {}), disabled: !g, onClick: () => n([...t, c()]), children: s }),
8187
8205
  f != null && /* @__PURE__ */ e(Xe, { as: "span", variant: "bodyXs", tone: "subdued", children: f })
8188
8206
  ] })
8189
8207
  ] });
8190
8208
  }
8191
- function yo({
8209
+ function x1({
8192
8210
  title: t,
8193
8211
  subtitle: n,
8194
8212
  backTo: l,
@@ -8199,7 +8217,7 @@ function yo({
8199
8217
  cancelTo: i,
8200
8218
  error: r,
8201
8219
  preview: d,
8202
- children: p
8220
+ children: h
8203
8221
  }) {
8204
8222
  const u = Fl();
8205
8223
  return /* @__PURE__ */ e(
@@ -8213,14 +8231,14 @@ function yo({
8213
8231
  children: /* @__PURE__ */ m(Gt, { gap: "400", children: [
8214
8232
  r != null && /* @__PURE__ */ e(ut, { tone: "critical", children: r }),
8215
8233
  d != null ? /* @__PURE__ */ m("div", { className: "select-builder-split", children: [
8216
- /* @__PURE__ */ e("div", { className: "select-builder-split__form", children: p }),
8234
+ /* @__PURE__ */ e("div", { className: "select-builder-split__form", children: h }),
8217
8235
  /* @__PURE__ */ e("div", { className: "select-builder-split__preview", children: d })
8218
- ] }) : p
8236
+ ] }) : h
8219
8237
  ] })
8220
8238
  }
8221
8239
  );
8222
8240
  }
8223
- const xo = P(function({ label: n, checked: l, onChange: c, disabled: s = !1, hint: a, className: o, ...i }, r) {
8241
+ const N1 = P(function({ label: n, checked: l, onChange: c, disabled: s = !1, hint: a, className: o, ...i }, r) {
8224
8242
  return /* @__PURE__ */ m("div", { ref: r, ...i, className: `select-switchfield${s ? " is-disabled" : ""}${o ? " " + o : ""}`, children: [
8225
8243
  /* @__PURE__ */ m("div", { className: "select-switchfield__row", children: [
8226
8244
  /* @__PURE__ */ e(tn, { checked: l, onChange: c, disabled: s, label: n }),
@@ -8238,7 +8256,7 @@ const xo = P(function({ label: n, checked: l, onChange: c, disabled: s = !1, hin
8238
8256
  a != null && /* @__PURE__ */ e("span", { className: "select-switchfield__hint", children: a })
8239
8257
  ] });
8240
8258
  }), sa = (t) => /^#[0-9a-fA-F]{6}$/.test(t);
8241
- function No({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error: a }) {
8259
+ function M1({ label: t, value: n, onChange: l, disabled: c = !1, hint: s, error: a }) {
8242
8260
  return /* @__PURE__ */ e(
8243
8261
  Ze,
8244
8262
  {
@@ -8275,27 +8293,27 @@ function aa(t) {
8275
8293
  c.onload = () => n(String(c.result)), c.onerror = () => l(c.error), c.readAsDataURL(t);
8276
8294
  });
8277
8295
  }
8278
- const Mo = P(function({ label: n, value: l, onChange: c, accept: s = "image/*", maxSizeMB: a = 3, urlPlaceholder: o, hint: i, uploadFile: r, className: d, ...p }, u) {
8296
+ const $1 = P(function({ label: n, value: l, onChange: c, accept: s = "image/*", maxSizeMB: a = 3, urlPlaceholder: o, hint: i, uploadFile: r, className: d, ...h }, u) {
8279
8297
  const [f, g] = T([]), [v, x] = T(null), N = l ? [l] : [], k = async (_) => {
8280
- const h = _[0];
8281
- if (!h) {
8298
+ const p = _[0];
8299
+ if (!p) {
8282
8300
  g([]);
8283
8301
  return;
8284
8302
  }
8285
8303
  if (x(null), !r) {
8286
- c(await aa(h)), g([]);
8304
+ c(await aa(p)), g([]);
8287
8305
  return;
8288
8306
  }
8289
- g([h]);
8307
+ g([p]);
8290
8308
  try {
8291
- c(await r(h));
8309
+ c(await r(p));
8292
8310
  } catch (b) {
8293
8311
  x(b instanceof Error ? b.message : "Não foi possível enviar a imagem.");
8294
8312
  } finally {
8295
8313
  g([]);
8296
8314
  }
8297
8315
  };
8298
- return /* @__PURE__ */ m("div", { ref: u, ...p, className: `select-imagefield${d ? " " + d : ""}`, children: [
8316
+ return /* @__PURE__ */ m("div", { ref: u, ...h, className: `select-imagefield${d ? " " + d : ""}`, children: [
8299
8317
  /* @__PURE__ */ e(
8300
8318
  ac,
8301
8319
  {
@@ -8313,13 +8331,13 @@ const Mo = P(function({ label: n, value: l, onChange: c, accept: s = "image/*",
8313
8331
  ),
8314
8332
  v && /* @__PURE__ */ e("span", { className: "select-imagefield__error", children: v })
8315
8333
  ] });
8316
- }), $o = P(function({ items: n, multiple: l = !1, defaultOpenIds: c = [], className: s, ...a }, o) {
8317
- const [i, r] = T(() => new Set(c)), d = (p) => r((u) => {
8318
- const f = u.has(p), g = new Set(l ? u : []);
8319
- return f ? g.delete(p) : g.add(p), g;
8334
+ }), w1 = P(function({ items: n, multiple: l = !1, defaultOpenIds: c = [], className: s, ...a }, o) {
8335
+ const [i, r] = T(() => new Set(c)), d = (h) => r((u) => {
8336
+ const f = u.has(h), g = new Set(l ? u : []);
8337
+ return f ? g.delete(h) : g.add(h), g;
8320
8338
  });
8321
- return /* @__PURE__ */ e("div", { ref: o, ...a, className: `select-accordion${s ? " " + s : ""}`, children: n.map((p) => {
8322
- const u = i.has(p.id);
8339
+ return /* @__PURE__ */ e("div", { ref: o, ...a, className: `select-accordion${s ? " " + s : ""}`, children: n.map((h) => {
8340
+ const u = i.has(h.id);
8323
8341
  return /* @__PURE__ */ m("div", { className: "select-accordion__item", children: [
8324
8342
  /* @__PURE__ */ m(
8325
8343
  "button",
@@ -8327,11 +8345,11 @@ const Mo = P(function({ label: n, value: l, onChange: c, accept: s = "image/*",
8327
8345
  type: "button",
8328
8346
  className: "select-accordion__header",
8329
8347
  "aria-expanded": u,
8330
- "aria-controls": `select-acc-${p.id}`,
8331
- disabled: p.disabled,
8332
- onClick: () => d(p.id),
8348
+ "aria-controls": `select-acc-${h.id}`,
8349
+ disabled: h.disabled,
8350
+ onClick: () => d(h.id),
8333
8351
  children: [
8334
- /* @__PURE__ */ e("span", { className: "select-accordion__title", children: p.title }),
8352
+ /* @__PURE__ */ e("span", { className: "select-accordion__title", children: h.title }),
8335
8353
  /* @__PURE__ */ e("span", { className: `select-accordion__chevron${u ? " is-open" : ""}`, "aria-hidden": "true", children: /* @__PURE__ */ e(be, {}) })
8336
8354
  ]
8337
8355
  }
@@ -8339,14 +8357,14 @@ const Mo = P(function({ label: n, value: l, onChange: c, accept: s = "image/*",
8339
8357
  /* @__PURE__ */ e(
8340
8358
  "div",
8341
8359
  {
8342
- id: `select-acc-${p.id}`,
8360
+ id: `select-acc-${h.id}`,
8343
8361
  className: "select-accordion__collapse",
8344
8362
  "data-open": u,
8345
8363
  "aria-hidden": !u,
8346
- children: /* @__PURE__ */ e("div", { className: "select-accordion__panelwrap", children: /* @__PURE__ */ e("div", { className: "select-accordion__panel", children: p.content }) })
8364
+ children: /* @__PURE__ */ e("div", { className: "select-accordion__panelwrap", children: /* @__PURE__ */ e("div", { className: "select-accordion__panel", children: h.content }) })
8347
8365
  }
8348
8366
  )
8349
- ] }, p.id);
8367
+ ] }, h.id);
8350
8368
  }) });
8351
8369
  });
8352
8370
  export {
@@ -8399,7 +8417,7 @@ export {
8399
8417
  nc as NoteIcon,
8400
8418
  Ba as PasskeyIcon,
8401
8419
  Sa as PhoneIcon,
8402
- nt as PlusIcon,
8420
+ Je as PlusIcon,
8403
8421
  Jl as RefreshIcon,
8404
8422
  ka as RocketIcon,
8405
8423
  Lc as SELECT_CARD_BRANDS,
@@ -8410,37 +8428,38 @@ export {
8410
8428
  ze as SELECT_SPACE,
8411
8429
  wc as SELECT_TRANSACTION_STATUS,
8412
8430
  Jt as SearchIcon,
8413
- $o as SelectAccordion,
8431
+ w1 as SelectAccordion,
8414
8432
  Vr as SelectActionCard,
8415
8433
  ul as SelectActionList,
8416
8434
  mr as SelectActionMenu,
8417
8435
  sc as SelectAddButton,
8436
+ o1 as SelectAddCard,
8418
8437
  ut as SelectAlert,
8419
8438
  Zr as SelectAppTile,
8420
8439
  ma as SelectAuthFx,
8421
8440
  Qc as SelectAvatar,
8422
8441
  $r as SelectBackLink,
8423
8442
  dl as SelectBadge,
8424
- r1 as SelectBalanceCard,
8443
+ ro as SelectBalanceCard,
8425
8444
  ar as SelectBankAccountField,
8426
- h1 as SelectBarChart,
8445
+ po as SelectBarChart,
8427
8446
  Cc as SelectBox,
8428
- E1 as SelectBoxPlot,
8429
- yo as SelectBuilderLayout,
8430
- w1 as SelectBullet,
8431
- X1 as SelectBump,
8447
+ Bo as SelectBoxPlot,
8448
+ x1 as SelectBuilderLayout,
8449
+ ko as SelectBullet,
8450
+ Ko as SelectBump,
8432
8451
  ve as SelectButton,
8433
- F1 as SelectCalendarHeatmap,
8434
- A1 as SelectCandlestick,
8452
+ Io as SelectCalendarHeatmap,
8453
+ Eo as SelectCandlestick,
8435
8454
  fa as SelectCard,
8436
- d1 as SelectChartCard,
8455
+ uo as SelectChartCard,
8437
8456
  Qa as SelectCheckbox,
8438
- j1 as SelectChord,
8439
- to as SelectCirclePack,
8457
+ Vo as SelectChord,
8458
+ n1 as SelectCirclePack,
8440
8459
  jr as SelectCollapsible,
8441
- No as SelectColorField,
8442
- v1 as SelectColumnChart,
8443
- f1 as SelectComboChart,
8460
+ M1 as SelectColorField,
8461
+ go as SelectColumnChart,
8462
+ _o as SelectComboChart,
8444
8463
  uc as SelectCombobox,
8445
8464
  qr as SelectConfirmModal,
8446
8465
  Or as SelectCopyRow,
@@ -8449,16 +8468,16 @@ export {
8449
8468
  Jr as SelectDataTable,
8450
8469
  ks as SelectDateField,
8451
8470
  na as SelectDatePicker,
8452
- _o as SelectDateRangeField,
8453
- so as SelectDetailList,
8454
- ao as SelectDetailRow,
8471
+ v1 as SelectDateRangeField,
8472
+ a1 as SelectDetailList,
8473
+ r1 as SelectDetailRow,
8455
8474
  Ic as SelectDisclosureButton,
8456
8475
  br as SelectDivider,
8457
8476
  lr as SelectDocumentField,
8458
- _1 as SelectDonut,
8477
+ vo as SelectDonut,
8459
8478
  ha as SelectDotField,
8460
- R1 as SelectDumbbell,
8461
- o1 as SelectFeeBreakdown,
8479
+ Do as SelectDumbbell,
8480
+ oo as SelectFeeBreakdown,
8462
8481
  Ze as SelectField,
8463
8482
  hc as SelectFieldGrid,
8464
8483
  cr as SelectFileDropzone,
@@ -8467,36 +8486,36 @@ export {
8467
8486
  Wr as SelectFilterChip,
8468
8487
  Sr as SelectFormLayout,
8469
8488
  zr as SelectFormModal,
8470
- g1 as SelectFunnel,
8471
- b1 as SelectGauge,
8472
- T1 as SelectGaugeBands,
8473
- G1 as SelectGlobe,
8489
+ bo as SelectFunnel,
8490
+ yo as SelectGauge,
8491
+ Wo as SelectGaugeBands,
8492
+ Uo as SelectGlobe,
8474
8493
  fr as SelectGrid,
8475
- y1 as SelectHeatmap,
8476
- V1 as SelectHexbin,
8477
- a1 as SelectHideMoneyToggle,
8478
- M1 as SelectHorizontalBar,
8479
- J1 as SelectIcicle,
8494
+ xo as SelectHeatmap,
8495
+ Zo as SelectHexbin,
8496
+ ao as SelectHideMoneyToggle,
8497
+ $o as SelectHorizontalBar,
8498
+ Qo as SelectIcicle,
8480
8499
  Lr as SelectIcon,
8481
8500
  ge as SelectIconButton,
8482
8501
  Nr as SelectIdentityFooter,
8483
- Mo as SelectImageField,
8502
+ $1 as SelectImageField,
8484
8503
  ac as SelectImageUploadField,
8485
8504
  sr as SelectImageUrlsField,
8486
8505
  zs as SelectImageZoomModal,
8487
8506
  Pt as SelectInfoTip,
8488
8507
  st as SelectInline,
8489
8508
  vr as SelectJsonViewer,
8490
- fo as SelectKeyValueEditor,
8491
- i1 as SelectKpiCard,
8509
+ _1 as SelectKeyValueEditor,
8510
+ io as SelectKpiCard,
8492
8511
  lt as SelectLabelRow,
8493
- p1 as SelectLineChart,
8512
+ mo as SelectLineChart,
8494
8513
  Jc as SelectLinkButton,
8495
- io as SelectListCard,
8496
- uo as SelectListRow,
8514
+ u1 as SelectListCard,
8515
+ h1 as SelectListRow,
8497
8516
  ts as SelectLoader,
8498
- D1 as SelectMarimekko,
8499
- po as SelectMediaCell,
8517
+ To as SelectMarimekko,
8518
+ m1 as SelectMediaCell,
8500
8519
  hs as SelectMenu,
8501
8520
  ms as SelectMenuButton,
8502
8521
  Tr as SelectMenuDivider,
@@ -8505,37 +8524,37 @@ export {
8505
8524
  Rt as SelectModal,
8506
8525
  at as SelectMoney,
8507
8526
  nr as SelectMoneyField,
8508
- no as SelectNetwork,
8527
+ l1 as SelectNetwork,
8509
8528
  Ar as SelectNote,
8510
- go as SelectNumberField,
8511
- mo as SelectOfflineModal,
8529
+ b1 as SelectNumberField,
8530
+ f1 as SelectOfflineModal,
8512
8531
  yr as SelectOptionList,
8513
8532
  xr as SelectOptionRow,
8514
8533
  Mr as SelectOtpInput,
8515
8534
  ns as SelectPage,
8516
8535
  gs as SelectPagination,
8517
8536
  Fr as SelectPanel,
8518
- K1 as SelectParallel,
8519
- Y1 as SelectPareto,
8537
+ Jo as SelectParallel,
8538
+ qo as SelectPareto,
8520
8539
  kr as SelectPasswordStrength,
8521
8540
  _r as SelectPaymentBrand,
8522
8541
  dr as SelectPhoneField,
8523
- oo as SelectPlanCard,
8524
- I1 as SelectPolarArea,
8542
+ d1 as SelectPlanCard,
8543
+ Po as SelectPolarArea,
8525
8544
  We as SelectPopover,
8526
- c1 as SelectPreviewFrame,
8527
- x1 as SelectProgressList,
8528
- z1 as SelectPyramid,
8529
- C1 as SelectRadar,
8530
- N1 as SelectRadialBar,
8545
+ co as SelectPreviewFrame,
8546
+ No as SelectProgressList,
8547
+ Xo as SelectPyramid,
8548
+ Lo as SelectRadar,
8549
+ Mo as SelectRadialBar,
8531
8550
  ur as SelectRadioGroup,
8532
- B1 as SelectRangeBar,
8533
- vo as SelectRating,
8534
- bo as SelectRepeatingFieldArray,
8551
+ Fo as SelectRangeBar,
8552
+ g1 as SelectRating,
8553
+ y1 as SelectRepeatingFieldArray,
8535
8554
  wr as SelectResendButton,
8536
8555
  Yr as SelectRowActions,
8537
- L1 as SelectSankey,
8538
- S1 as SelectScatter,
8556
+ Ao as SelectSankey,
8557
+ Co as SelectScatter,
8539
8558
  yl as SelectSearchInput,
8540
8559
  Ir as SelectSection,
8541
8560
  hr as SelectSegmented,
@@ -8545,46 +8564,46 @@ export {
8545
8564
  Br as SelectSettingRow,
8546
8565
  Rr as SelectSideNav,
8547
8566
  Cr as SelectSkeleton,
8548
- P1 as SelectSlope,
8549
- u1 as SelectSparkline,
8567
+ Ro as SelectSlope,
8568
+ ho as SelectSparkline,
8550
8569
  Gt as SelectStack,
8551
- m1 as SelectStackedArea,
8570
+ fo as SelectStackedArea,
8552
8571
  pr as SelectStatusBadge,
8553
- ro as SelectSteps,
8554
- W1 as SelectStreamGraph,
8555
- O1 as SelectSunburst,
8556
- t1 as SelectSurface,
8572
+ i1 as SelectSteps,
8573
+ Oo as SelectStreamGraph,
8574
+ Ho as SelectSunburst,
8575
+ to as SelectSurface,
8557
8576
  tn as SelectSwitch,
8558
- xo as SelectSwitchField,
8577
+ N1 as SelectSwitchField,
8559
8578
  ds as SelectTable,
8560
8579
  Mn as SelectTableCell,
8561
8580
  us as SelectTableEmpty,
8562
8581
  Nn as SelectTableRow,
8563
8582
  Pr as SelectTabs,
8564
- e1 as SelectTagSelect,
8583
+ eo as SelectTagSelect,
8565
8584
  Xe as SelectText,
8566
8585
  er as SelectTextarea,
8567
- co as SelectThemeSwitcher,
8586
+ s1 as SelectThemeSwitcher,
8568
8587
  On as SelectThumbnail,
8569
- U1 as SelectTicker,
8588
+ Yo as SelectTicker,
8570
8589
  gr as SelectTimeline,
8571
- n1 as SelectToastProvider,
8590
+ no as SelectToastProvider,
8572
8591
  rr as SelectToggleList,
8573
8592
  ir as SelectTogglePanel,
8574
8593
  or as SelectToggleRow,
8575
8594
  ln as SelectTooltip,
8576
- Q1 as SelectTree,
8577
- k1 as SelectTreemap,
8595
+ e1 as SelectTree,
8596
+ So as SelectTreemap,
8578
8597
  tr as SelectUnitInput,
8579
8598
  Dr as SelectUserCell,
8580
- s1 as SelectValueVisibilityProvider,
8581
- eo as SelectVenn,
8582
- H1 as SelectViolin,
8583
- q1 as SelectWaffle,
8584
- $1 as SelectWaterfall,
8585
- Z1 as SelectWordCloud,
8599
+ so as SelectValueVisibilityProvider,
8600
+ t1 as SelectVenn,
8601
+ jo as SelectViolin,
8602
+ zo as SelectWaffle,
8603
+ wo as SelectWaterfall,
8604
+ Go as SelectWordCloud,
8586
8605
  Ur as SelectWorkspaceSwitcher,
8587
- ho as SelectZoomThumbnail,
8606
+ p1 as SelectZoomThumbnail,
8588
8607
  Gn as SelectorIcon,
8589
8608
  Va as SendIcon,
8590
8609
  Zl as Setting4Icon,
@@ -8605,11 +8624,11 @@ export {
8605
8624
  ht as detectSelectTheme,
8606
8625
  $c as dialCodeOf,
8607
8626
  es as passwordScore,
8608
- lo as resolveSelectTheme,
8627
+ c1 as resolveSelectTheme,
8609
8628
  hl as selectCardBrand,
8610
8629
  Ac as selectCardBrandLabel,
8611
8630
  Kr as useSelectPageSize,
8612
- l1 as useSelectToast,
8631
+ lo as useSelectToast,
8613
8632
  wl as useSelectValueVisibility
8614
8633
  };
8615
8634
  //# sourceMappingURL=index.js.map