@esperanca-ui/componentes 2.14.5 → 2.14.6

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.
@@ -1,5 +1,5 @@
1
1
  import { jsxs as U, jsx as m, Fragment as qr } from "react/jsx-runtime";
2
- import mt, { useState as Fe, useEffect as Se, useRef as Pe, forwardRef as At, useId as Vr, useMemo as Ke, useLayoutEffect as nc, useCallback as ze, createContext as tn, memo as ac, useReducer as ic, useContext as Cr } from "react";
2
+ import vt, { useState as Fe, useEffect as Se, useRef as Pe, forwardRef as At, useId as Vr, useMemo as Ke, useLayoutEffect as nc, useCallback as ze, createContext as tn, memo as ac, useReducer as ic, useContext as Cr } from "react";
3
3
  import { createPortal as yo, unstable_batchedUpdates as pa } from "react-dom";
4
4
  var So = {
5
5
  color: void 0,
@@ -7,7 +7,7 @@ var So = {
7
7
  className: void 0,
8
8
  style: void 0,
9
9
  attr: void 0
10
- }, ds = mt.createContext && mt.createContext(So), Br = globalThis && globalThis.__assign || function() {
10
+ }, ds = vt.createContext && vt.createContext(So), Br = globalThis && globalThis.__assign || function() {
11
11
  return Br = Object.assign || function(e) {
12
12
  for (var t, r = 1, n = arguments.length; r < n; r++) {
13
13
  t = arguments[r];
@@ -27,14 +27,14 @@ var So = {
27
27
  };
28
28
  function Ao(e) {
29
29
  return e && e.map(function(t, r) {
30
- return mt.createElement(t.tag, Br({
30
+ return vt.createElement(t.tag, Br({
31
31
  key: r
32
32
  }, t.attr), Ao(t.child));
33
33
  });
34
34
  }
35
35
  function yt(e) {
36
36
  return function(t) {
37
- return mt.createElement(oc, Br({
37
+ return vt.createElement(oc, Br({
38
38
  attr: Br({}, e.attr)
39
39
  }, t), Ao(e.child));
40
40
  };
@@ -42,7 +42,7 @@ function yt(e) {
42
42
  function oc(e) {
43
43
  var t = function(r) {
44
44
  var n = e.attr, a = e.size, i = e.title, s = sc(e, ["attr", "size", "title"]), o = a || r.size || "1em", c;
45
- return r.className && (c = r.className), e.className && (c = (c ? c + " " : "") + e.className), mt.createElement("svg", Br({
45
+ return r.className && (c = r.className), e.className && (c = (c ? c + " " : "") + e.className), vt.createElement("svg", Br({
46
46
  stroke: "currentColor",
47
47
  fill: "currentColor",
48
48
  strokeWidth: "0"
@@ -54,9 +54,9 @@ function oc(e) {
54
54
  height: o,
55
55
  width: o,
56
56
  xmlns: "http://www.w3.org/2000/svg"
57
- }), i && mt.createElement("title", null, i), e.children);
57
+ }), i && vt.createElement("title", null, i), e.children);
58
58
  };
59
- return ds !== void 0 ? mt.createElement(ds.Consumer, null, function(r) {
59
+ return ds !== void 0 ? vt.createElement(ds.Consumer, null, function(r) {
60
60
  return t(r);
61
61
  }) : t(So);
62
62
  }
@@ -245,7 +245,7 @@ const St = (e) => String(e), bc = At(function({
245
245
  }, [L, x, i, D, I, ke]), $e = Ke(
246
246
  () => lt.filter((M) => !M.disabled),
247
247
  [lt]
248
- ), pt = $e.length > 0 && $e.every((M) => ke.has(St(M.value))), Je = $e.some((M) => ke.has(St(M.value)));
248
+ ), mt = $e.length > 0 && $e.every((M) => ke.has(St(M.value))), Je = $e.some((M) => ke.has(St(M.value)));
249
249
  Se(() => {
250
250
  !x && p !== void 0 && ee(p);
251
251
  }, [x, p]), Se(() => {
@@ -308,7 +308,7 @@ const St = (e) => String(e), bc = At(function({
308
308
  if (!M.disabled) {
309
309
  if (x) {
310
310
  const We = St(M.value), Me = ke.has(We) ? we.filter((nt) => St(nt) !== We) : [...we, M.value];
311
- xt(Me), O(""), I && requestAnimationFrame(() => {
311
+ pt(Me), O(""), I && requestAnimationFrame(() => {
312
312
  var nt;
313
313
  return (nt = Ce.current) == null ? void 0 : nt.focus();
314
314
  });
@@ -316,7 +316,7 @@ const St = (e) => String(e), bc = At(function({
316
316
  }
317
317
  p === void 0 && ee(M.value), h == null || h(M.value, M), k(!1), (ae = Ee.current) == null || ae.focus();
318
318
  }
319
- }, xt = (M) => {
319
+ }, pt = (M) => {
320
320
  const ae = Array.from(new Map(
321
321
  M.map((Me) => [St(Me), Me])
322
322
  ).values()), We = ae.map((Me) => i.find((nt) => St(nt.value) === St(Me))).filter(Boolean);
@@ -327,7 +327,7 @@ const St = (e) => String(e), bc = At(function({
327
327
  const M = new Map(we.map((ae) => [St(ae), ae]));
328
328
  $e.forEach((ae) => {
329
329
  M.set(St(ae.value), ae.value);
330
- }), xt(Array.from(M.values())), requestAnimationFrame(() => {
330
+ }), pt(Array.from(M.values())), requestAnimationFrame(() => {
331
331
  var ae;
332
332
  return (ae = Ce.current) == null ? void 0 : ae.focus();
333
333
  });
@@ -335,7 +335,7 @@ const St = (e) => String(e), bc = At(function({
335
335
  if (!x || $e.length === 0)
336
336
  return;
337
337
  const M = new Set($e.map((ae) => St(ae.value)));
338
- xt(
338
+ pt(
339
339
  we.filter((ae) => !M.has(St(ae)))
340
340
  ), requestAnimationFrame(() => {
341
341
  var ae;
@@ -449,7 +449,7 @@ const St = (e) => String(e), bc = At(function({
449
449
  onClick: (M) => {
450
450
  M.stopPropagation(), Ve();
451
451
  },
452
- disabled: pt,
452
+ disabled: mt,
453
453
  children: j
454
454
  }
455
455
  ),
@@ -724,7 +724,7 @@ function Rc(e) {
724
724
  id: t,
725
725
  value: r
726
726
  } = e;
727
- return mt.createElement("div", {
727
+ return vt.createElement("div", {
728
728
  id: t,
729
729
  style: Oc
730
730
  }, r);
@@ -749,7 +749,7 @@ function Ic(e) {
749
749
  clipPath: "inset(100%)",
750
750
  whiteSpace: "nowrap"
751
751
  };
752
- return mt.createElement("div", {
752
+ return vt.createElement("div", {
753
753
  id: t,
754
754
  style: a,
755
755
  role: "status",
@@ -886,10 +886,10 @@ function $c(e) {
886
886
  }
887
887
  }), [i, t])), !c)
888
888
  return null;
889
- const f = mt.createElement(mt.Fragment, null, mt.createElement(Rc, {
889
+ const f = vt.createElement(vt.Fragment, null, vt.createElement(Rc, {
890
890
  id: n,
891
891
  value: a.draggable
892
- }), mt.createElement(Ic, {
892
+ }), vt.createElement(Ic, {
893
893
  id: o,
894
894
  announcement: s
895
895
  }));
@@ -2641,13 +2641,13 @@ const Xf = /* @__PURE__ */ ac(function(t) {
2641
2641
  scrollableAncestors: ke,
2642
2642
  scrollableAncestorRects: Oe,
2643
2643
  windowRect: we
2644
- }), ut = te ? xn(te, N) : null, be = Ff(ke), lt = As(be), $e = As(be, [q]), pt = xn(et, lt), Je = Ce ? Kc(Ce, et) : null, wt = J && Je ? u({
2644
+ }), ut = te ? xn(te, N) : null, be = Ff(ke), lt = As(be), $e = As(be, [q]), mt = xn(et, lt), Je = Ce ? Kc(Ce, et) : null, wt = J && Je ? u({
2645
2645
  active: J,
2646
2646
  collisionRect: Je,
2647
2647
  droppableRects: k,
2648
2648
  droppableContainers: xe,
2649
2649
  pointerCoordinates: ut
2650
- }) : null, Vt = Uo(wt, "id"), [ct, Pt] = Fe(null), xt = P ? et : xn(et, $e), Ve = Yc(xt, (i = ct == null ? void 0 : ct.rect) != null ? i : null, q), Xe = Pe(null), M = ze(
2650
+ }) : null, Vt = Uo(wt, "id"), [ct, Pt] = Fe(null), pt = P ? et : xn(et, $e), Ve = Yc(pt, (i = ct == null ? void 0 : ct.rect) != null ? i : null, q), Xe = Pe(null), M = ze(
2651
2651
  (de, Ae) => {
2652
2652
  let {
2653
2653
  sensor: Be,
@@ -2807,8 +2807,8 @@ const Xf = /* @__PURE__ */ ac(function(t) {
2807
2807
  activatorEvent: Be,
2808
2808
  collisions: Le,
2809
2809
  delta: {
2810
- x: pt.x,
2811
- y: pt.y
2810
+ x: mt.x,
2811
+ y: mt.y
2812
2812
  },
2813
2813
  over: Ge
2814
2814
  };
@@ -2820,7 +2820,7 @@ const Xf = /* @__PURE__ */ ac(function(t) {
2820
2820
  });
2821
2821
  },
2822
2822
  // eslint-disable-next-line react-hooks/exhaustive-deps
2823
- [pt.x, pt.y]
2823
+ [mt.x, mt.y]
2824
2824
  ), Se(
2825
2825
  () => {
2826
2826
  const {
@@ -2872,12 +2872,12 @@ const Xf = /* @__PURE__ */ ac(function(t) {
2872
2872
  droppableContainers: B,
2873
2873
  over: ct,
2874
2874
  scrollableAncestors: ke,
2875
- scrollAdjustedTranslate: pt
2875
+ scrollAdjustedTranslate: mt
2876
2876
  }, H.current = {
2877
2877
  initial: Ce,
2878
2878
  translated: Je
2879
2879
  };
2880
- }, [J, Y, wt, Je, I, Ne, Ce, k, B, ct, ke, pt]), vf({
2880
+ }, [J, Y, wt, Je, I, Ne, Ce, k, B, ct, ke, mt]), vf({
2881
2881
  ...le,
2882
2882
  delta: N,
2883
2883
  draggingRect: Je,
@@ -2916,17 +2916,17 @@ const Xf = /* @__PURE__ */ ac(function(t) {
2916
2916
  over: ct,
2917
2917
  measureDroppableContainers: D
2918
2918
  }), [ve, We, J, q, b, Ye, I, ct, D]);
2919
- return mt.createElement(Po.Provider, {
2919
+ return vt.createElement(Po.Provider, {
2920
2920
  value: y
2921
- }, mt.createElement(Qa.Provider, {
2921
+ }, vt.createElement(Qa.Provider, {
2922
2922
  value: nt
2923
- }, mt.createElement(Jo.Provider, {
2923
+ }, vt.createElement(Jo.Provider, {
2924
2924
  value: Me
2925
- }, mt.createElement(qo.Provider, {
2925
+ }, vt.createElement(qo.Provider, {
2926
2926
  value: Ve
2927
- }, l)), mt.createElement($f, {
2927
+ }, l)), vt.createElement($f, {
2928
2928
  disabled: (o == null ? void 0 : o.restoreFocus) === !1
2929
- })), mt.createElement($c, {
2929
+ })), vt.createElement($c, {
2930
2930
  ...o,
2931
2931
  hiddenTextDescribedById: Ye
2932
2932
  }));
@@ -3162,7 +3162,7 @@ function ru(e, t, r) {
3162
3162
  const n = e[t], a = e[t - 1], i = e[t + 1];
3163
3163
  return n ? r < t ? a ? n.top - (a.top + a.height) : i ? i.top - (n.top + n.height) : 0 : i ? i.top - (n.top + n.height) : a ? n.top - (a.top + a.height) : 0 : 0;
3164
3164
  }
3165
- const Qo = "Sortable", e0 = /* @__PURE__ */ mt.createContext({
3165
+ const Qo = "Sortable", e0 = /* @__PURE__ */ vt.createContext({
3166
3166
  activeIndex: -1,
3167
3167
  containerId: Qo,
3168
3168
  disableTransforms: !1,
@@ -3211,7 +3211,7 @@ function nu(e) {
3211
3211
  // eslint-disable-next-line react-hooks/exhaustive-deps
3212
3212
  [h, u, R.draggable, R.droppable, y, p, x, c, d, a]
3213
3213
  );
3214
- return mt.createElement(e0.Provider, {
3214
+ return vt.createElement(e0.Provider, {
3215
3215
  value: W
3216
3216
  }, t);
3217
3217
  }
@@ -4868,10 +4868,10 @@ var zu = /* @__PURE__ */ function() {
4868
4868
  G[pe] = oe;
4869
4869
  var Ue = p(v, _);
4870
4870
  x(V, A, Ue, _, G);
4871
- var gt = F(Ue, X, G, _);
4872
- gt[X].name = "!Directory", E > 0 && Q !== J && (gt[Q].name = "!MiniFAT"), gt[G[0]].name = "!FAT", gt.fat_addrs = G, gt.ssz = _;
4873
- var vt = {}, Xt = [], Dn = [], On = [];
4874
- y(X, gt, Ue, Xt, E, vt, Dn, Q), g(Dn, On, Xt), Xt.shift();
4871
+ var xt = F(Ue, X, G, _);
4872
+ xt[X].name = "!Directory", E > 0 && Q !== J && (xt[Q].name = "!MiniFAT"), xt[G[0]].name = "!FAT", xt.fat_addrs = G, xt.ssz = _;
4873
+ var gt = {}, Xt = [], Dn = [], On = [];
4874
+ y(X, xt, Ue, Xt, E, gt, Dn, Q), g(Dn, On, Xt), Xt.shift();
4875
4875
  var Rn = {
4876
4876
  FileIndex: Dn,
4877
4877
  FullPaths: On
@@ -4996,8 +4996,8 @@ var zu = /* @__PURE__ */ function() {
4996
4996
  size: 0
4997
4997
  }, Ue = oe.read_shift(2) + oe.read_shift(2) + oe.read_shift(2) + oe.read_shift(2);
4998
4998
  Ue !== 0 && (pe.ct = R(oe, oe.l - 8));
4999
- var gt = oe.read_shift(2) + oe.read_shift(2) + oe.read_shift(2) + oe.read_shift(2);
5000
- gt !== 0 && (pe.mt = R(oe, oe.l - 8)), pe.start = oe.read_shift(4, "i"), pe.size = oe.read_shift(4, "i"), pe.size < 0 && pe.start < 0 && (pe.size = pe.type = 0, pe.start = J, pe.name = ""), pe.type === 5 ? (V = pe.start, E > 0 && V !== J && (T[V].name = "!StreamData")) : pe.size >= 4096 ? (pe.storage = "fat", T[pe.start] === void 0 && (T[pe.start] = b(w, pe.start, T.fat_addrs, T.ssz)), T[pe.start].name = pe.name, pe.content = T[pe.start].data.slice(0, pe.size)) : (pe.storage = "minifat", pe.size < 0 ? pe.size = 0 : V !== J && pe.start !== J && T[V] && (pe.content = h(pe, T[V].data, (T[Q] || {}).data))), pe.content && ir(pe.content, 0), A[me] = pe, X.push(pe);
4999
+ var xt = oe.read_shift(2) + oe.read_shift(2) + oe.read_shift(2) + oe.read_shift(2);
5000
+ xt !== 0 && (pe.mt = R(oe, oe.l - 8)), pe.start = oe.read_shift(4, "i"), pe.size = oe.read_shift(4, "i"), pe.size < 0 && pe.start < 0 && (pe.size = pe.type = 0, pe.start = J, pe.name = ""), pe.type === 5 ? (V = pe.start, E > 0 && V !== J && (T[V].name = "!StreamData")) : pe.size >= 4096 ? (pe.storage = "fat", T[pe.start] === void 0 && (T[pe.start] = b(w, pe.start, T.fat_addrs, T.ssz)), T[pe.start].name = pe.name, pe.content = T[pe.start].data.slice(0, pe.size)) : (pe.storage = "minifat", pe.size < 0 ? pe.size = 0 : V !== J && pe.start !== J && T[V] && (pe.content = h(pe, T[V].data, (T[Q] || {}).data))), pe.content && ir(pe.content, 0), A[me] = pe, X.push(pe);
5001
5001
  }
5002
5002
  }
5003
5003
  function R(v, T) {
@@ -5097,10 +5097,10 @@ var zu = /* @__PURE__ */ function() {
5097
5097
  }
5098
5098
  var _ = function(me) {
5099
5099
  for (var oe = 0, pe = 0, Ue = 0; Ue < me.FileIndex.length; ++Ue) {
5100
- var gt = me.FileIndex[Ue];
5101
- if (gt.content) {
5102
- var vt = gt.content.length;
5103
- vt > 0 && (vt < 4096 ? oe += vt + 63 >> 6 : pe += vt + 511 >> 9);
5100
+ var xt = me.FileIndex[Ue];
5101
+ if (xt.content) {
5102
+ var gt = xt.content.length;
5103
+ gt > 0 && (gt < 4096 ? oe += gt + 63 >> 6 : pe += gt + 511 >> 9);
5104
5104
  }
5105
5105
  }
5106
5106
  for (var Xt = me.FullPaths.length + 3 >> 2, Dn = oe + 7 >> 3, On = oe + 127 >> 7, Rn = Dn + pe + Xt + On, Gr = Rn + 127 >> 7, li = Gr <= 109 ? 0 : Math.ceil((Gr - 109) / 127); Rn + Gr + li + 127 >> 7 > Gr; )
@@ -5370,17 +5370,17 @@ var zu = /* @__PURE__ */ function() {
5370
5370
  T[Q | X << ne] = ne & 15 | A << 4;
5371
5371
  return _;
5372
5372
  }
5373
- var $e = se ? new Uint16Array(512) : be(512), pt = se ? new Uint16Array(32) : be(32);
5373
+ var $e = se ? new Uint16Array(512) : be(512), mt = se ? new Uint16Array(32) : be(32);
5374
5374
  if (!se) {
5375
5375
  for (var Je = 0; Je < 512; ++Je)
5376
5376
  $e[Je] = 0;
5377
5377
  for (Je = 0; Je < 32; ++Je)
5378
- pt[Je] = 0;
5378
+ mt[Je] = 0;
5379
5379
  }
5380
5380
  (function() {
5381
5381
  for (var v = [], T = 0; T < 32; T++)
5382
5382
  v.push(5);
5383
- lt(v, pt, 32);
5383
+ lt(v, mt, 32);
5384
5384
  var w = [];
5385
5385
  for (T = 0; T <= 143; T++)
5386
5386
  w.push(8);
@@ -5432,10 +5432,10 @@ var zu = /* @__PURE__ */ function() {
5432
5432
  ++Ue;
5433
5433
  if (Ue > 2) {
5434
5434
  oe = E[Ue], oe <= 22 ? G = Oe(V, G, q[oe + 1] >> 1) - 1 : (Oe(V, G, 3), G += 5, Oe(V, G, q[oe - 23] >> 5), G += 3);
5435
- var gt = oe < 8 ? 0 : oe - 4 >> 2;
5436
- gt > 0 && (et(V, G, Ue - Y[oe]), G += gt), oe = T[K - pe], G = Oe(V, G, q[oe] >> 3), G -= 3;
5437
- var vt = oe < 4 ? 0 : oe - 2 >> 1;
5438
- vt > 0 && (et(V, G, K - pe - te[oe]), G += vt);
5435
+ var xt = oe < 8 ? 0 : oe - 4 >> 2;
5436
+ xt > 0 && (et(V, G, Ue - Y[oe]), G += xt), oe = T[K - pe], G = Oe(V, G, q[oe] >> 3), G -= 3;
5437
+ var gt = oe < 4 ? 0 : oe - 2 >> 1;
5438
+ gt > 0 && (et(V, G, K - pe - te[oe]), G += gt);
5439
5439
  for (var Xt = 0; Xt < Ue; ++Xt)
5440
5440
  ne[me] = K & 32767, me = (me << 5 ^ Q[K]) & 32767, ++K;
5441
5441
  ue -= Ue - 1;
@@ -5454,7 +5454,7 @@ var zu = /* @__PURE__ */ function() {
5454
5454
  var T = Z(50 + Math.floor(v.length * 1.1)), w = wt(v, T);
5455
5455
  return T.slice(0, w);
5456
5456
  }
5457
- var ct = se ? new Uint16Array(32768) : be(32768), Pt = se ? new Uint16Array(32768) : be(32768), xt = se ? new Uint16Array(128) : be(128), Ve = 1, Xe = 1;
5457
+ var ct = se ? new Uint16Array(32768) : be(32768), Pt = se ? new Uint16Array(32768) : be(32768), pt = se ? new Uint16Array(128) : be(128), Ve = 1, Xe = 1;
5458
5458
  function M(v, T) {
5459
5459
  var w = Ce(v, T) + 257;
5460
5460
  T += 5;
@@ -5474,11 +5474,11 @@ var zu = /* @__PURE__ */ function() {
5474
5474
  if (oe = X[ue], oe != 0) {
5475
5475
  me = q[Q[ue]] >> 8 - oe;
5476
5476
  for (var pe = (1 << 7 - oe) - 1; pe >= 0; --pe)
5477
- xt[me | pe << oe] = oe & 7 | ue << 3;
5477
+ pt[me | pe << oe] = oe & 7 | ue << 3;
5478
5478
  }
5479
5479
  var Ue = [];
5480
5480
  for (V = 1; Ue.length < w + _; )
5481
- switch (me = xt[P(v, T)], T += me & 7, me >>>= 3) {
5481
+ switch (me = pt[P(v, T)], T += me & 7, me >>>= 3) {
5482
5482
  case 16:
5483
5483
  for (A = 3 + Ie(v, T), T += 2, me = Ue[Ue.length - 1]; A-- > 0; )
5484
5484
  Ue.push(me);
@@ -5495,12 +5495,12 @@ var zu = /* @__PURE__ */ function() {
5495
5495
  Ue.push(me), V < me && (V = me);
5496
5496
  break;
5497
5497
  }
5498
- var gt = Ue.slice(0, w), vt = Ue.slice(w);
5498
+ var xt = Ue.slice(0, w), gt = Ue.slice(w);
5499
5499
  for (ue = w; ue < 286; ++ue)
5500
- gt[ue] = 0;
5500
+ xt[ue] = 0;
5501
5501
  for (ue = _; ue < 30; ++ue)
5502
- vt[ue] = 0;
5503
- return Ve = lt(gt, ct, 286), Xe = lt(vt, Pt, 30), T;
5502
+ gt[ue] = 0;
5503
+ return Ve = lt(xt, ct, 286), Xe = lt(gt, Pt, 30), T;
5504
5504
  }
5505
5505
  function ae(v, T) {
5506
5506
  if (v[0] == 3 && !(v[1] & 3))
@@ -5528,7 +5528,7 @@ var zu = /* @__PURE__ */ function() {
5528
5528
  var ue = ne < 8 ? 0 : ne - 4 >> 2;
5529
5529
  ue > 5 && (ue = 0);
5530
5530
  var me = A + Y[ne];
5531
- ue > 0 && (me += Te(v, w, ue), w += ue), K = Te(v, w, V), ne = _ >>> 1 == 1 ? pt[K] : Pt[K], w += ne & 15, ne >>>= 4;
5531
+ ue > 0 && (me += Te(v, w, ue), w += ue), K = Te(v, w, V), ne = _ >>> 1 == 1 ? mt[K] : Pt[K], w += ne & 15, ne >>>= 4;
5532
5532
  var oe = ne < 4 ? 0 : ne - 2 >> 1, pe = te[ne];
5533
5533
  for (oe > 0 && (pe += Te(v, w, oe), w += oe), !T && X < me && (E = ut(E, me + 100), X = E.length); A < me; )
5534
5534
  E[A] = E[A - pe], ++A;
@@ -5605,17 +5605,17 @@ var zu = /* @__PURE__ */ function() {
5605
5605
  default:
5606
5606
  throw new Error("Unsupported ZIP Compression method " + X);
5607
5607
  }
5608
- var gt = !1;
5609
- A & 8 && (V = v.read_shift(4), V == 134695760 && (V = v.read_shift(4), gt = !0), G = v.read_shift(4), K = v.read_shift(4)), G != T && Me(gt, "Bad compressed size: " + T + " != " + G), K != w && Me(gt, "Bad uncompressed size: " + w + " != " + K), _t(_, me, Ue, { unsafe: !0, mt: Q });
5608
+ var xt = !1;
5609
+ A & 8 && (V = v.read_shift(4), V == 134695760 && (V = v.read_shift(4), xt = !0), G = v.read_shift(4), K = v.read_shift(4)), G != T && Me(xt, "Bad compressed size: " + T + " != " + G), K != w && Me(xt, "Bad uncompressed size: " + w + " != " + K), _t(_, me, Ue, { unsafe: !0, mt: Q });
5610
5610
  }
5611
5611
  function de(v, T) {
5612
5612
  var w = T || {}, _ = [], E = [], A = Z(1), X = w.compression ? 8 : 0, Q = 0, V = 0, G = 0, K = 0, ne = 0, ue = v.FullPaths[0], me = ue, oe = v.FileIndex[0], pe = [], Ue = 0;
5613
5613
  for (V = 1; V < v.FullPaths.length; ++V)
5614
5614
  if (me = v.FullPaths[V].slice(ue.length), oe = v.FileIndex[V], !(!oe.size || !oe.content || me == "Sh33tJ5")) {
5615
- var gt = K, vt = Z(me.length);
5615
+ var xt = K, gt = Z(me.length);
5616
5616
  for (G = 0; G < me.length; ++G)
5617
- vt.write_shift(1, me.charCodeAt(G) & 127);
5618
- vt = vt.slice(0, vt.l), pe[ne] = zu.buf(
5617
+ gt.write_shift(1, me.charCodeAt(G) & 127);
5618
+ gt = gt.slice(0, gt.l), pe[ne] = zu.buf(
5619
5619
  /*::((*/
5620
5620
  oe.content,
5621
5621
  0
@@ -5625,11 +5625,11 @@ var zu = /* @__PURE__ */ function() {
5625
5625
  4,
5626
5626
  /*::(*/
5627
5627
  oe.content.length
5628
- ), A.write_shift(2, vt.length), A.write_shift(2, 0), K += A.length, _.push(A), K += vt.length, _.push(vt), K += Xt.length, _.push(Xt), A = Z(46), A.write_shift(4, 33639248), A.write_shift(2, 0), A.write_shift(2, 20), A.write_shift(2, Q), A.write_shift(2, X), A.write_shift(4, 0), A.write_shift(-4, pe[ne]), A.write_shift(4, Xt.length), A.write_shift(
5628
+ ), A.write_shift(2, gt.length), A.write_shift(2, 0), K += A.length, _.push(A), K += gt.length, _.push(gt), K += Xt.length, _.push(Xt), A = Z(46), A.write_shift(4, 33639248), A.write_shift(2, 0), A.write_shift(2, 20), A.write_shift(2, Q), A.write_shift(2, X), A.write_shift(4, 0), A.write_shift(-4, pe[ne]), A.write_shift(4, Xt.length), A.write_shift(
5629
5629
  4,
5630
5630
  /*::(*/
5631
5631
  oe.content.length
5632
- ), A.write_shift(2, vt.length), A.write_shift(2, 0), A.write_shift(2, 0), A.write_shift(2, 0), A.write_shift(2, 0), A.write_shift(4, 0), A.write_shift(4, gt), Ue += A.l, E.push(A), Ue += vt.length, E.push(vt), ++ne;
5632
+ ), A.write_shift(2, gt.length), A.write_shift(2, 0), A.write_shift(2, 0), A.write_shift(2, 0), A.write_shift(2, 0), A.write_shift(4, 0), A.write_shift(4, xt), Ue += A.l, E.push(A), Ue += gt.length, E.push(gt), ++ne;
5633
5633
  }
5634
5634
  return A = Z(22), A.write_shift(4, 101010256), A.write_shift(2, 0), A.write_shift(2, 0), A.write_shift(2, ne), A.write_shift(2, ne), A.write_shift(4, Ue), A.write_shift(4, K), A.write_shift(2, 0), Ut([Ut(_), Ut(E), A]);
5635
5635
  }
@@ -19913,7 +19913,7 @@ function v2({
19913
19913
  }, [h, J]), be = (M) => {
19914
19914
  var ae;
19915
19915
  (ae = M.onClick) == null || ae.call(M), u == null || u(M), ee && b && et();
19916
- }, lt = R ?? (F ? /* @__PURE__ */ m("img", { src: F, alt: y, className: "sd-logo-img" }) : null), $e = B === "dark" ? "dark" : "light", pt = typeof L == "function", Je = q;
19916
+ }, lt = R ?? (F ? /* @__PURE__ */ m("img", { src: F, alt: y, className: "sd-logo-img" }) : null), $e = B === "dark" ? "dark" : "light", mt = typeof L == "function", Je = q;
19917
19917
  Se(() => {
19918
19918
  !q && S && k(!1);
19919
19919
  }, [S, q]), Se(() => {
@@ -19929,9 +19929,9 @@ function v2({
19929
19929
  return "";
19930
19930
  const ae = M.trim().split(" ");
19931
19931
  return ae.length >= 2 ? `${ae[0][0]}${ae[1][0]}`.toUpperCase() : ae[0].substring(0, 2).toUpperCase();
19932
- }, ct = ze((M, ae) => M.id ?? M.path ?? ae, []), Pt = ze((M) => l ? l(M) : c ? c === M.path : !1, [c, l]), xt = ze((M) => {
19932
+ }, ct = ze((M, ae) => M.id ?? M.path ?? ae, []), Pt = ze((M) => l ? l(M) : c ? c === M.path : !1, [c, l]), pt = ze((M) => {
19933
19933
  const ae = M.children ?? [];
19934
- return ae.length === 0 ? !1 : ae.some((We) => Pt(We) || xt(We));
19934
+ return ae.length === 0 ? !1 : ae.some((We) => Pt(We) || pt(We));
19935
19935
  }, [Pt]), Ve = ze((M, ae) => {
19936
19936
  var We;
19937
19937
  (We = M.onClick) == null || We.call(M), u == null || u(M), O((Me) => ({
@@ -19939,7 +19939,7 @@ function v2({
19939
19939
  [ae]: !Me[ae]
19940
19940
  }));
19941
19941
  }, [u]), Xe = ze((M, ae, We = 0) => M.map((Me, nt) => {
19942
- const Yt = ct(Me, `${ae}-${nt}`), de = Pt(Me), Ae = xt(Me), Be = de || Ae, Le = Me.children ?? [], Ge = Le.length > 0, je = Ge && we && (Ae || !!D[Yt] || !q && Y === Yt), Re = Me.iconName ? ke[Me.iconName] : null, Ze = Me.icon ?? (Re ? /* @__PURE__ */ m(Re, {}) : null), Qe = /* @__PURE__ */ U(qr, { children: [
19942
+ const Yt = ct(Me, `${ae}-${nt}`), de = Pt(Me), Ae = pt(Me), Be = de || Ae, Le = Me.children ?? [], Ge = Le.length > 0, je = Ge && we && (Ae || !!D[Yt] || !q && Y === Yt), Re = Me.iconName ? ke[Me.iconName] : null, Ze = Me.icon ?? (Re ? /* @__PURE__ */ m(Re, {}) : null), Qe = /* @__PURE__ */ U(qr, { children: [
19943
19943
  Ze && /* @__PURE__ */ U("span", { className: _e("sd-icon", we ? "sd-icon-left" : "sd-icon-center"), children: [
19944
19944
  Ze,
19945
19945
  !we && Me.badge && /* @__PURE__ */ m("span", { className: "sd-badge-dot" })
@@ -20008,7 +20008,7 @@ function v2({
20008
20008
  D,
20009
20009
  be,
20010
20010
  Ve,
20011
- xt,
20011
+ pt,
20012
20012
  Y,
20013
20013
  Pt,
20014
20014
  q,
@@ -20079,7 +20079,7 @@ function v2({
20079
20079
  ] }),
20080
20080
  /* @__PURE__ */ U("div", { className: "sd-footer", children: [
20081
20081
  /* @__PURE__ */ U("div", { className: "sd-footer-actions", children: [
20082
- pt && /* @__PURE__ */ U(
20082
+ mt && /* @__PURE__ */ U(
20083
20083
  "button",
20084
20084
  {
20085
20085
  type: "button",
@@ -21508,11 +21508,11 @@ const Um = 760, $m = At(function({
21508
21508
  right: ut,
21509
21509
  bottom: 18,
21510
21510
  left: ut
21511
- }, lt = ee - be.left - be.right, $e = s - be.top - be.bottom, pt = Om(t, r);
21512
- ye != null ? pt.min = ye : ie && pt.min > 0 && (pt.min = 0), ve != null && (pt.max = ve);
21513
- const Je = Vl(pt.min, pt.max, z), wt = ye ?? (ie ? 0 : void 0);
21511
+ }, lt = ee - be.left - be.right, $e = s - be.top - be.bottom, mt = Om(t, r);
21512
+ ye != null ? mt.min = ye : ie && (mt.min = 0), ve != null && (mt.max = ve);
21513
+ const Je = Vl(mt.min, mt.max, z), wt = ye ?? (ie ? 0 : void 0);
21514
21514
  wt != null && Je.min < wt && (Je.min = wt, Je.ticks = Je.ticks.filter((de) => de >= wt)), ve != null && Je.max > ve && (Je.max = ve, Je.ticks = Je.ticks.filter((de) => de <= ve));
21515
- const Vt = p || h ? Je.ticks : [], ct = t.map((de, Ae) => Lm(Ae, t.length, be.left, lt)), Pt = Xl(t.length), xt = r.map((de, Ae) => {
21515
+ const Vt = p || h ? Je.ticks : [], ct = t.map((de, Ae) => Lm(Ae, t.length, be.left, lt)), Pt = Xl(t.length), pt = r.map((de, Ae) => {
21516
21516
  const Be = Wl(de, Ae), Le = t.map((Ge, je) => {
21517
21517
  const Re = _n(Ge, de.key);
21518
21518
  return {
@@ -21527,29 +21527,29 @@ const Um = 760, $m = At(function({
21527
21527
  points: Le
21528
21528
  };
21529
21529
  }), Ve = te !== null && t[te] ? (() => {
21530
- const de = ja(t[te].label, xe), Ae = xt.map((Le) => ({
21530
+ const de = ja(t[te].label, xe), Ae = pt.map((Le) => ({
21531
21531
  key: Le.key,
21532
21532
  label: Le.label,
21533
21533
  value: Ya(Le.points[te].value, ge),
21534
21534
  color: Le.color
21535
- })), Be = Math.min(...xt.map((Le) => Le.points[te].y));
21535
+ })), Be = Math.min(...pt.map((Le) => Le.points[te].y));
21536
21536
  return {
21537
21537
  xPercent: ct[te] / ee * 100,
21538
21538
  yPercent: Be / s * 100,
21539
21539
  label: de,
21540
21540
  items: Ae
21541
21541
  };
21542
- })() : null, Xe = xt.map((de) => ({ label: de.label, color: de.color })), M = L ? /* @__PURE__ */ m(
21542
+ })() : null, Xe = pt.map((de) => ({ label: de.label, color: de.color })), M = L ? /* @__PURE__ */ m(
21543
21543
  Ul,
21544
21544
  {
21545
21545
  preferences: Ie,
21546
21546
  availability: {
21547
21547
  showTitle: !!n,
21548
21548
  showDescription: !!a,
21549
- showLegend: xt.length > 0,
21549
+ showLegend: pt.length > 0,
21550
21550
  showXAxisLabel: !!x,
21551
21551
  showYAxisLabel: !!b,
21552
- showValueLabels: xt.length > 0,
21552
+ showValueLabels: pt.length > 0,
21553
21553
  xTickRotation: g && t.length > 0
21554
21554
  },
21555
21555
  valueLabelsLabel: "Mostrar valores nos pontos",
@@ -21571,7 +21571,7 @@ const Um = 760, $m = At(function({
21571
21571
  align: Be
21572
21572
  };
21573
21573
  }).filter((de) => de !== null) : void 0, Yt = Oe ? t.map((de, Ae) => {
21574
- const Be = xt.map((Le, Ge) => ({
21574
+ const Be = pt.map((Le, Ge) => ({
21575
21575
  seriesKey: Le.key,
21576
21576
  seriesIndex: Ge,
21577
21577
  point: Le.points[Ae]
@@ -21615,7 +21615,7 @@ const Um = 760, $m = At(function({
21615
21615
  fontFamily: I,
21616
21616
  ...O,
21617
21617
  children: /* @__PURE__ */ m("div", { ref: q, className: "esp-chart-svg-frame", children: /* @__PURE__ */ U("svg", { viewBox: `0 0 ${ee} ${s}`, className: "esp-chart-svg", children: [
21618
- /* @__PURE__ */ m("defs", { children: xt.map((de) => /* @__PURE__ */ U(
21618
+ /* @__PURE__ */ m("defs", { children: pt.map((de) => /* @__PURE__ */ U(
21619
21619
  "linearGradient",
21620
21620
  {
21621
21621
  id: `${se}-${de.key}`,
@@ -21673,7 +21673,7 @@ const Um = 760, $m = At(function({
21673
21673
  className: "esp-chart-active-line"
21674
21674
  }
21675
21675
  ) : null,
21676
- xt.map((de) => /* @__PURE__ */ U("g", { children: [
21676
+ pt.map((de) => /* @__PURE__ */ U("g", { children: [
21677
21677
  c ? /* @__PURE__ */ m(
21678
21678
  "path",
21679
21679
  {
@@ -21816,7 +21816,7 @@ const Wm = 760, N2 = At(function({
21816
21816
  }, Te = D - P.left - P.right, we = s - P.top - P.bottom, ke = Rm(t, r), Oe = Vl(ke.min, ke.max, L), et = f || d ? Oe.ticks : [], ut = t.map((Ve, Xe) => Pm(Xe, t.length, P.left, Te)), be = Lr(0, Oe.min, Oe.max, P.top, we), lt = Xl(t.length), $e = r.map((Ve, Xe) => ({
21817
21817
  ...Ve,
21818
21818
  color: Wl(Ve, Xe)
21819
- })), pt = xe !== null && t[xe] ? (() => {
21819
+ })), mt = xe !== null && t[xe] ? (() => {
21820
21820
  const Ve = ja(t[xe].label, ie), Xe = $e.map((ae) => ({
21821
21821
  key: ae.key,
21822
21822
  label: ae.label,
@@ -21854,7 +21854,7 @@ const Wm = 760, N2 = At(function({
21854
21854
  key: String(Ve),
21855
21855
  label: Vt[Xe],
21856
21856
  topPercent: Lr(Ve, Oe.min, Oe.max, P.top, we) / s * 100
21857
- })) : void 0, Pt = h ?? zl(Vt), xt = u ? t.map((Ve, Xe) => {
21857
+ })) : void 0, Pt = h ?? zl(Vt), pt = u ? t.map((Ve, Xe) => {
21858
21858
  if (Xe % lt !== 0)
21859
21859
  return null;
21860
21860
  const M = Xe === 0 ? "start" : Xe === t.length - 1 ? "end" : "center";
@@ -21879,11 +21879,11 @@ const Wm = 760, N2 = At(function({
21879
21879
  legendPosition: l,
21880
21880
  empty: O,
21881
21881
  emptyMessage: ye,
21882
- tooltip: pt,
21882
+ tooltip: mt,
21883
21883
  ariaLabel: H ?? (typeof n == "string" ? n : "Bar chart"),
21884
21884
  stageProps: { onMouseLeave: () => S(null), style: { height: s } },
21885
21885
  xAxisLabel: he,
21886
- xAxisTicks: xt,
21886
+ xAxisTicks: pt,
21887
21887
  xAxisTickRotation: Ne,
21888
21888
  xAxisTickHeight: Gl(u, Ne),
21889
21889
  yAxisLabel: Ie,
@@ -22768,7 +22768,7 @@ const t2 = 24 * 60 * 60 * 1e3, r2 = (e) => /^\d{4}-\d{2}-\d{2}$/.test(e), ra = (
22768
22768
  ] }),
22769
22769
  D ? t.map((ee) => {
22770
22770
  const he = i2(ee), Ie = To(he, ye, ve, De), Ee = Eo(ee);
22771
- return /* @__PURE__ */ U(mt.Fragment, { children: [
22771
+ return /* @__PURE__ */ U(vt.Fragment, { children: [
22772
22772
  /* @__PURE__ */ U("div", { className: "esp-gantt-chart-row esp-gantt-chart-row-group", children: [
22773
22773
  /* @__PURE__ */ m(
22774
22774
  "div",
@@ -23044,7 +23044,7 @@ const f2 = ({
23044
23044
  }
23045
23045
  )
23046
23046
  ] }), size: "sm", ...o, children: /* @__PURE__ */ m("p", { style: { margin: 0, color: "var(--esp-text-base)" }, children: e }) });
23047
- const u2 = ({ id: e, message: t, type: r = "info", duration: n = 3e3, onClose: a }) => (mt.useEffect(() => {
23047
+ const u2 = ({ id: e, message: t, type: r = "info", duration: n = 3e3, onClose: a }) => (vt.useEffect(() => {
23048
23048
  if (n > 0) {
23049
23049
  const i = setTimeout(() => {
23050
23050
  a(e);