w-design-system 0.4.182 → 0.4.186

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.
@@ -27,7 +27,7 @@ function z3() {
27
27
  return "StrictMode";
28
28
  case Y:
29
29
  return "Suspense";
30
- case H:
30
+ case j:
31
31
  return "SuspenseList";
32
32
  case M:
33
33
  return "Activity";
@@ -35,7 +35,7 @@ function z3() {
35
35
  if (typeof E == "object") switch (typeof E.tag == "number" && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), E.$$typeof) {
36
36
  case r:
37
37
  return "Portal";
38
- case j:
38
+ case H:
39
39
  return (E.displayName || "Context") + ".Provider";
40
40
  case Q:
41
41
  return (E._context.displayName || "Context") + ".Consumer";
@@ -124,11 +124,11 @@ React keys must be passed directly to JSX without using spread:
124
124
  function o(E) {
125
125
  typeof E == "object" && E !== null && E.$$typeof === f && E._store && (E._store.validated = 1);
126
126
  }
127
- var a, h = E0, f = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), B = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), Q = Symbol.for("react.consumer"), j = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), Y = Symbol.for("react.suspense"), H = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), i = Symbol.for("react.lazy"), M = Symbol.for("react.activity"), R = Symbol.for("react.client.reference"), d = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, k = Object.prototype.hasOwnProperty, z = Array.isArray, P = console.createTask ? console.createTask : function() {
127
+ var a, h = E0, f = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), B = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), Q = Symbol.for("react.consumer"), H = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), Y = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), i = Symbol.for("react.lazy"), M = Symbol.for("react.activity"), R = Symbol.for("react.client.reference"), d = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, k = Object.prototype.hasOwnProperty, z = Array.isArray, P = console.createTask ? console.createTask : function() {
128
128
  return null;
129
- }, L = {}, F = (h = { "react-stack-bottom-frame": function(E) {
129
+ }, L = {}, F = (h = { react_stack_bottom_frame: function(E) {
130
130
  return E();
131
- } })["react-stack-bottom-frame"].bind(h, c)(), b = P(I(c)), D = {};
131
+ } }).react_stack_bottom_frame.bind(h, c)(), b = P(I(c)), D = {};
132
132
  x0.Fragment = B, x0.jsx = function(E, u, K, x, _) {
133
133
  var A0 = 1e4 > d.recentlyCreatedOwnerStacks++;
134
134
  return t(E, u, K, !1, 0, _, A0 ? Error("react-stack-top-frame") : F, A0 ? P(I(E)) : b);
@@ -200,9 +200,9 @@ var Q2, m3 = function() {
200
200
  return r;
201
201
  }, Y0.parse = function(a) {
202
202
  if (!a) throw new TypeError("argument string is required");
203
- var h = typeof a == "object" ? function(j) {
203
+ var h = typeof a == "object" ? function(H) {
204
204
  var m;
205
- if (typeof j.getHeader == "function" ? m = j.getHeader("content-type") : typeof j.headers == "object" && (m = j.headers && j.headers["content-type"]), typeof m != "string") throw new TypeError("content-type header is missing from object");
205
+ if (typeof H.getHeader == "function" ? m = H.getHeader("content-type") : typeof H.headers == "object" && (m = H.headers && H.headers["content-type"]), typeof m != "string") throw new TypeError("content-type header is missing from object");
206
206
  return m;
207
207
  }(a) : a;
208
208
  if (typeof h != "string") throw new TypeError("argument string is required to be a string");
@@ -287,18 +287,18 @@ var Q2, m3 = function() {
287
287
  h.setAttribute("class", w);
288
288
  var Q = A.getAttribute("style");
289
289
  Q && h.setAttribute("style", Q), h.setAttribute("data-src", o);
290
- var j = [].filter.call(A.attributes, function(E) {
290
+ var H = [].filter.call(A.attributes, function(E) {
291
291
  return /^data-\w[\w-]*$/.test(E.name);
292
292
  });
293
- if (Array.prototype.forEach.call(j, function(E) {
293
+ if (Array.prototype.forEach.call(H, function(E) {
294
294
  E.name && E.value && h.setAttribute(E.name, E.value);
295
295
  }), e) {
296
- var m, Y, H, p, i, M = { clipPath: ["clip-path"], "color-profile": ["color-profile"], cursor: ["cursor"], filter: ["filter"], linearGradient: ["fill", "stroke"], marker: ["marker", "marker-start", "marker-mid", "marker-end"], mask: ["mask"], path: [], pattern: ["fill", "stroke"], radialGradient: ["fill", "stroke"] };
296
+ var m, Y, j, p, i, M = { clipPath: ["clip-path"], "color-profile": ["color-profile"], cursor: ["cursor"], filter: ["filter"], linearGradient: ["fill", "stroke"], marker: ["marker", "marker-start", "marker-mid", "marker-end"], mask: ["mask"], path: [], pattern: ["fill", "stroke"], radialGradient: ["fill", "stroke"] };
297
297
  Object.keys(M).forEach(function(E) {
298
- m = E, H = M[E];
298
+ m = E, j = M[E];
299
299
  for (var u = function(_, A0) {
300
300
  var c0;
301
- p = Y[_].id, i = p + "-" + ++R3, Array.prototype.forEach.call(H, function(J) {
301
+ p = Y[_].id, i = p + "-" + ++R3, Array.prototype.forEach.call(j, function(J) {
302
302
  for (var C0 = 0, P0 = (c0 = h.querySelectorAll("[" + J + '*="' + p + '"]')).length; C0 < P0; C0++) {
303
303
  var w0 = c0[C0].getAttribute(J);
304
304
  w0 && !w0.match(new RegExp('url\\("?#' + p + '"?\\)')) || c0[C0].setAttribute(J, "url(#" + i + ")");
@@ -339,8 +339,8 @@ function h1() {
339
339
  return x2 || (x2 = 1, process.env.NODE_ENV === "production" ? W0.exports = function() {
340
340
  if (Q2) return W;
341
341
  Q2 = 1;
342
- var A = typeof Symbol == "function" && Symbol.for, g = A ? Symbol.for("react.element") : 60103, e = A ? Symbol.for("react.portal") : 60106, I = A ? Symbol.for("react.fragment") : 60107, c = A ? Symbol.for("react.strict_mode") : 60108, C = A ? Symbol.for("react.profiler") : 60114, t = A ? Symbol.for("react.provider") : 60109, o = A ? Symbol.for("react.context") : 60110, a = A ? Symbol.for("react.async_mode") : 60111, h = A ? Symbol.for("react.concurrent_mode") : 60111, f = A ? Symbol.for("react.forward_ref") : 60112, r = A ? Symbol.for("react.suspense") : 60113, B = A ? Symbol.for("react.suspense_list") : 60120, n = A ? Symbol.for("react.memo") : 60115, w = A ? Symbol.for("react.lazy") : 60116, Q = A ? Symbol.for("react.block") : 60121, j = A ? Symbol.for("react.fundamental") : 60117, m = A ? Symbol.for("react.responder") : 60118, Y = A ? Symbol.for("react.scope") : 60119;
343
- function H(i) {
342
+ var A = typeof Symbol == "function" && Symbol.for, g = A ? Symbol.for("react.element") : 60103, e = A ? Symbol.for("react.portal") : 60106, I = A ? Symbol.for("react.fragment") : 60107, c = A ? Symbol.for("react.strict_mode") : 60108, C = A ? Symbol.for("react.profiler") : 60114, t = A ? Symbol.for("react.provider") : 60109, o = A ? Symbol.for("react.context") : 60110, a = A ? Symbol.for("react.async_mode") : 60111, h = A ? Symbol.for("react.concurrent_mode") : 60111, f = A ? Symbol.for("react.forward_ref") : 60112, r = A ? Symbol.for("react.suspense") : 60113, B = A ? Symbol.for("react.suspense_list") : 60120, n = A ? Symbol.for("react.memo") : 60115, w = A ? Symbol.for("react.lazy") : 60116, Q = A ? Symbol.for("react.block") : 60121, H = A ? Symbol.for("react.fundamental") : 60117, m = A ? Symbol.for("react.responder") : 60118, Y = A ? Symbol.for("react.scope") : 60119;
343
+ function j(i) {
344
344
  if (typeof i == "object" && i !== null) {
345
345
  var M = i.$$typeof;
346
346
  switch (M) {
@@ -371,38 +371,38 @@ function h1() {
371
371
  }
372
372
  }
373
373
  function p(i) {
374
- return H(i) === h;
374
+ return j(i) === h;
375
375
  }
376
376
  return W.AsyncMode = a, W.ConcurrentMode = h, W.ContextConsumer = o, W.ContextProvider = t, W.Element = g, W.ForwardRef = f, W.Fragment = I, W.Lazy = w, W.Memo = n, W.Portal = e, W.Profiler = C, W.StrictMode = c, W.Suspense = r, W.isAsyncMode = function(i) {
377
- return p(i) || H(i) === a;
377
+ return p(i) || j(i) === a;
378
378
  }, W.isConcurrentMode = p, W.isContextConsumer = function(i) {
379
- return H(i) === o;
379
+ return j(i) === o;
380
380
  }, W.isContextProvider = function(i) {
381
- return H(i) === t;
381
+ return j(i) === t;
382
382
  }, W.isElement = function(i) {
383
383
  return typeof i == "object" && i !== null && i.$$typeof === g;
384
384
  }, W.isForwardRef = function(i) {
385
- return H(i) === f;
385
+ return j(i) === f;
386
386
  }, W.isFragment = function(i) {
387
- return H(i) === I;
387
+ return j(i) === I;
388
388
  }, W.isLazy = function(i) {
389
- return H(i) === w;
389
+ return j(i) === w;
390
390
  }, W.isMemo = function(i) {
391
- return H(i) === n;
391
+ return j(i) === n;
392
392
  }, W.isPortal = function(i) {
393
- return H(i) === e;
393
+ return j(i) === e;
394
394
  }, W.isProfiler = function(i) {
395
- return H(i) === C;
395
+ return j(i) === C;
396
396
  }, W.isStrictMode = function(i) {
397
- return H(i) === c;
397
+ return j(i) === c;
398
398
  }, W.isSuspense = function(i) {
399
- return H(i) === r;
399
+ return j(i) === r;
400
400
  }, W.isValidElementType = function(i) {
401
- return typeof i == "string" || typeof i == "function" || i === I || i === h || i === C || i === c || i === r || i === B || typeof i == "object" && i !== null && (i.$$typeof === w || i.$$typeof === n || i.$$typeof === t || i.$$typeof === o || i.$$typeof === f || i.$$typeof === j || i.$$typeof === m || i.$$typeof === Y || i.$$typeof === Q);
402
- }, W.typeOf = H, W;
401
+ return typeof i == "string" || typeof i == "function" || i === I || i === h || i === C || i === c || i === r || i === B || typeof i == "object" && i !== null && (i.$$typeof === w || i.$$typeof === n || i.$$typeof === t || i.$$typeof === o || i.$$typeof === f || i.$$typeof === H || i.$$typeof === m || i.$$typeof === Y || i.$$typeof === Q);
402
+ }, W.typeOf = j, W;
403
403
  }() : W0.exports = (p2 || (p2 = 1, process.env.NODE_ENV !== "production" && function() {
404
- var A = typeof Symbol == "function" && Symbol.for, g = A ? Symbol.for("react.element") : 60103, e = A ? Symbol.for("react.portal") : 60106, I = A ? Symbol.for("react.fragment") : 60107, c = A ? Symbol.for("react.strict_mode") : 60108, C = A ? Symbol.for("react.profiler") : 60114, t = A ? Symbol.for("react.provider") : 60109, o = A ? Symbol.for("react.context") : 60110, a = A ? Symbol.for("react.async_mode") : 60111, h = A ? Symbol.for("react.concurrent_mode") : 60111, f = A ? Symbol.for("react.forward_ref") : 60112, r = A ? Symbol.for("react.suspense") : 60113, B = A ? Symbol.for("react.suspense_list") : 60120, n = A ? Symbol.for("react.memo") : 60115, w = A ? Symbol.for("react.lazy") : 60116, Q = A ? Symbol.for("react.block") : 60121, j = A ? Symbol.for("react.fundamental") : 60117, m = A ? Symbol.for("react.responder") : 60118, Y = A ? Symbol.for("react.scope") : 60119;
405
- function H(x) {
404
+ var A = typeof Symbol == "function" && Symbol.for, g = A ? Symbol.for("react.element") : 60103, e = A ? Symbol.for("react.portal") : 60106, I = A ? Symbol.for("react.fragment") : 60107, c = A ? Symbol.for("react.strict_mode") : 60108, C = A ? Symbol.for("react.profiler") : 60114, t = A ? Symbol.for("react.provider") : 60109, o = A ? Symbol.for("react.context") : 60110, a = A ? Symbol.for("react.async_mode") : 60111, h = A ? Symbol.for("react.concurrent_mode") : 60111, f = A ? Symbol.for("react.forward_ref") : 60112, r = A ? Symbol.for("react.suspense") : 60113, B = A ? Symbol.for("react.suspense_list") : 60120, n = A ? Symbol.for("react.memo") : 60115, w = A ? Symbol.for("react.lazy") : 60116, Q = A ? Symbol.for("react.block") : 60121, H = A ? Symbol.for("react.fundamental") : 60117, m = A ? Symbol.for("react.responder") : 60118, Y = A ? Symbol.for("react.scope") : 60119;
405
+ function j(x) {
406
406
  if (typeof x == "object" && x !== null) {
407
407
  var _ = x.$$typeof;
408
408
  switch (_) {
@@ -436,35 +436,35 @@ function h1() {
436
436
  }
437
437
  var p = a, i = h, M = o, R = t, d = g, k = f, z = I, P = w, L = n, F = e, b = C, D = c, E = r, u = !1;
438
438
  function K(x) {
439
- return H(x) === h;
439
+ return j(x) === h;
440
440
  }
441
441
  V.AsyncMode = p, V.ConcurrentMode = i, V.ContextConsumer = M, V.ContextProvider = R, V.Element = d, V.ForwardRef = k, V.Fragment = z, V.Lazy = P, V.Memo = L, V.Portal = F, V.Profiler = b, V.StrictMode = D, V.Suspense = E, V.isAsyncMode = function(x) {
442
- return u || (u = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), K(x) || H(x) === a;
442
+ return u || (u = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), K(x) || j(x) === a;
443
443
  }, V.isConcurrentMode = K, V.isContextConsumer = function(x) {
444
- return H(x) === o;
444
+ return j(x) === o;
445
445
  }, V.isContextProvider = function(x) {
446
- return H(x) === t;
446
+ return j(x) === t;
447
447
  }, V.isElement = function(x) {
448
448
  return typeof x == "object" && x !== null && x.$$typeof === g;
449
449
  }, V.isForwardRef = function(x) {
450
- return H(x) === f;
450
+ return j(x) === f;
451
451
  }, V.isFragment = function(x) {
452
- return H(x) === I;
452
+ return j(x) === I;
453
453
  }, V.isLazy = function(x) {
454
- return H(x) === w;
454
+ return j(x) === w;
455
455
  }, V.isMemo = function(x) {
456
- return H(x) === n;
456
+ return j(x) === n;
457
457
  }, V.isPortal = function(x) {
458
- return H(x) === e;
458
+ return j(x) === e;
459
459
  }, V.isProfiler = function(x) {
460
- return H(x) === C;
460
+ return j(x) === C;
461
461
  }, V.isStrictMode = function(x) {
462
- return H(x) === c;
462
+ return j(x) === c;
463
463
  }, V.isSuspense = function(x) {
464
- return H(x) === r;
464
+ return j(x) === r;
465
465
  }, V.isValidElementType = function(x) {
466
- return typeof x == "string" || typeof x == "function" || x === I || x === h || x === C || x === c || x === r || x === B || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === n || x.$$typeof === t || x.$$typeof === o || x.$$typeof === f || x.$$typeof === j || x.$$typeof === m || x.$$typeof === Y || x.$$typeof === Q);
467
- }, V.typeOf = H;
466
+ return typeof x == "string" || typeof x == "function" || x === I || x === h || x === C || x === c || x === r || x === B || typeof x == "object" && x !== null && (x.$$typeof === w || x.$$typeof === n || x.$$typeof === t || x.$$typeof === o || x.$$typeof === f || x.$$typeof === H || x.$$typeof === m || x.$$typeof === Y || x.$$typeof === Q);
467
+ }, V.typeOf = j;
468
468
  }()), V)), W0.exports;
469
469
  }
470
470
  /*
@@ -612,7 +612,7 @@ function y3() {
612
612
  return Array.isArray(i) ? w(function(M, R, d, k, z) {
613
613
  for (var P = M[R], L = 0; L < i.length; L++) if (B(P, i[L])) return null;
614
614
  var F = JSON.stringify(i, function(b, D) {
615
- return H(D) === "symbol" ? String(D) : D;
615
+ return j(D) === "symbol" ? String(D) : D;
616
616
  });
617
617
  return new n("Invalid " + k + " `" + z + "` of value `" + String(P) + "` supplied to `" + d + "`, expected one of " + F + ".");
618
618
  }) : (process.env.NODE_ENV !== "production" && C(arguments.length > 1 ? "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])." : "Invalid argument supplied to oneOf, expected an array."), t);
@@ -636,7 +636,7 @@ function y3() {
636
636
  if (L !== "object") return new n("Invalid " + k + " `" + z + "` of type `" + L + "` supplied to `" + d + "`, expected `object`.");
637
637
  for (var F in i) {
638
638
  var b = i[F];
639
- if (typeof b != "function") return j(d, k, z, F, H(b));
639
+ if (typeof b != "function") return H(d, k, z, F, j(b));
640
640
  var D = b(P, F, d, k, z + "." + F, e);
641
641
  if (D) return D;
642
642
  }
@@ -649,7 +649,7 @@ function y3() {
649
649
  var F = g({}, M[R], i);
650
650
  for (var b in F) {
651
651
  var D = i[b];
652
- if (I(i, b) && typeof D != "function") return j(d, k, z, b, H(D));
652
+ if (I(i, b) && typeof D != "function") return H(d, k, z, b, j(D));
653
653
  if (!D) return new n("Invalid " + k + " `" + z + "` key `" + b + "` supplied to `" + d + "`.\nBad object: " + JSON.stringify(M[R], null, " ") + `
654
654
  Valid keys: ` + JSON.stringify(Object.keys(i), null, " "));
655
655
  var E = D(P, b, d, k, z + "." + b, e);
@@ -685,10 +685,10 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " "));
685
685
  function Q(i) {
686
686
  return w(function(M, R, d, k, z, P) {
687
687
  var L = M[R];
688
- return Y(L) !== i ? new n("Invalid " + k + " `" + z + "` of type `" + H(L) + "` supplied to `" + d + "`, expected `" + i + "`.", { expectedType: i }) : null;
688
+ return Y(L) !== i ? new n("Invalid " + k + " `" + z + "` of type `" + j(L) + "` supplied to `" + d + "`, expected `" + i + "`.", { expectedType: i }) : null;
689
689
  });
690
690
  }
691
- function j(i, M, R, d, k) {
691
+ function H(i, M, R, d, k) {
692
692
  return new n((i || "React class") + ": " + M + " type `" + R + "." + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + k + "`.");
693
693
  }
694
694
  function m(i) {
@@ -725,7 +725,7 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " "));
725
725
  return R === "symbol" || !!d && (d["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && d instanceof Symbol);
726
726
  }(M, i) ? "symbol" : M;
727
727
  }
728
- function H(i) {
728
+ function j(i) {
729
729
  if (i == null) return "" + i;
730
730
  var M = Y(i);
731
731
  if (M === "object") {
@@ -735,7 +735,7 @@ Valid keys: ` + JSON.stringify(Object.keys(i), null, " "));
735
735
  return M;
736
736
  }
737
737
  function p(i) {
738
- var M = H(i);
738
+ var M = j(i);
739
739
  switch (M) {
740
740
  case "array":
741
741
  case "object":
@@ -795,7 +795,7 @@ var e0 = O3(), Z3 = ["afterInjection", "beforeInjection", "desc", "evalScripts",
795
795
  return c.renderSVG = function() {
796
796
  var C, t = this;
797
797
  if (this.reactWrapper instanceof (C = this.reactWrapper, (C?.ownerDocument || document).defaultView || window).Node) {
798
- var o, a, h = this.props, f = h.desc, r = h.evalScripts, B = h.httpRequestWithCredentials, n = h.renumerateIRIElements, w = h.src, Q = h.title, j = h.useRequestCache, m = this.props.onError, Y = this.props.beforeInjection, H = this.props.afterInjection, p = this.props.wrapper;
798
+ var o, a, h = this.props, f = h.desc, r = h.evalScripts, B = h.httpRequestWithCredentials, n = h.renumerateIRIElements, w = h.src, Q = h.title, H = h.useRequestCache, m = this.props.onError, Y = this.props.beforeInjection, j = this.props.afterInjection, p = this.props.wrapper;
799
799
  p === "svg" ? ((o = document.createElementNS(y0, p)).setAttribute("xmlns", y0), o.setAttribute("xmlns:xlink", K2), a = document.createElementNS(y0, p)) : (o = document.createElement(p), a = document.createElement(p)), o.appendChild(a), a.dataset.src = w, this.nonReactWrapper = this.reactWrapper.appendChild(o);
800
800
  var i = function(M) {
801
801
  t.removeSVG(), t._isMounted ? t.setState(function() {
@@ -820,7 +820,7 @@ var e0 = O3(), Z3 = ["afterInjection", "beforeInjection", "desc", "evalScripts",
820
820
  return { isLoading: !1 };
821
821
  }, function() {
822
822
  try {
823
- H(R);
823
+ j(R);
824
824
  } catch (d) {
825
825
  i(d);
826
826
  }
@@ -843,7 +843,7 @@ var e0 = O3(), Z3 = ["afterInjection", "beforeInjection", "desc", "evalScripts",
843
843
  } catch (P) {
844
844
  i(P);
845
845
  }
846
- }, cacheRequests: j, evalScripts: r, httpRequestWithCredentials: B, renumerateIRIElements: n });
846
+ }, cacheRequests: H, evalScripts: r, httpRequestWithCredentials: B, renumerateIRIElements: n });
847
847
  }
848
848
  }, c.removeSVG = function() {
849
849
  var C;
@@ -1031,16 +1031,16 @@ function u0(A, g, e = null) {
1031
1031
  const { value: I, selection: c } = Array.isArray(g) ? function(C, t, o) {
1032
1032
  let a = null, h = null;
1033
1033
  const f = Array.from(C.value).reduce((B, n, w) => {
1034
- const Q = T2(t, B, n, o), j = B + Q, m = t[j.length] || "";
1035
- return a === null && w >= C.selection[0] && (a = j.length), h === null && w >= C.selection[1] && (h = j.length), U0(m) ? j + m : n.match(m) ? j + n : Q.startsWith(n) ? j : B;
1034
+ const Q = T2(t, B, n, o), H = B + Q, m = t[H.length] || "";
1035
+ return a === null && w >= C.selection[0] && (a = H.length), h === null && w >= C.selection[1] && (h = H.length), U0(m) ? H + m : n.match(m) ? H + n : Q.startsWith(n) ? H : B;
1036
1036
  }, ""), r = T2(t, f, "", o);
1037
1037
  return { value: X2(f + r, t) ? f + r : f, selection: [a ?? f.length, h ?? f.length] };
1038
1038
  }(A, g, e) : function({ value: C, selection: t }, o) {
1039
1039
  const [a, h] = t;
1040
1040
  let f = a, r = h;
1041
1041
  const B = Array.from(C).reduce((n, w, Q) => {
1042
- const j = n + w;
1043
- return a === Q && (f = n.length), h === Q && (r = n.length), j.match(o) ? j : n;
1042
+ const H = n + w;
1043
+ return a === Q && (f = n.length), h === Q && (r = n.length), H.match(o) ? H : n;
1044
1044
  }, "");
1045
1045
  return { value: B, selection: [Math.min(f, B.length), Math.min(r, B.length)] };
1046
1046
  }(A, g);
@@ -1227,14 +1227,13 @@ class v4 extends f4 {
1227
1227
  this.upcomingElementState = o;
1228
1228
  }
1229
1229
  handleInsert(g, e) {
1230
- const { options: I, maxLength: c, elementState: C } = this, { elementState: t, data: o = e } = this.preprocessor({ data: e, elementState: C }, "insert"), a = new $0(t, I);
1230
+ const { options: I, maxLength: c, elementState: C } = this, [t, o] = C.selection, { elementState: a, data: h = e } = this.preprocessor({ data: e, elementState: C }, "insert"), f = new $0(a, I);
1231
1231
  try {
1232
- a.addCharacters(o);
1232
+ f.addCharacters(h);
1233
1233
  } catch {
1234
1234
  return g.preventDefault();
1235
1235
  }
1236
- const [h, f] = C.selection, r = { value: C.value.slice(0, h) + e + C.value.slice(f), selection: [h + e.length, h + e.length] };
1237
- this.upcomingElementState = this.clampState(this.postprocessor(a, C)), !l2(this.clampState(r), this.upcomingElementState) && I.overwriteMode === "replace" && r.value.length > c && this.dispatchInputEvent({ inputType: "insertText", data: e });
1236
+ this.upcomingElementState = this.clampState(this.postprocessor(f, C)), C.value.length >= c && t === o && (I.overwriteMode !== "replace" || l2(this.upcomingElementState, C) ? this.upcomingElementState = null : this.dispatchInputEvent({ inputType: "insertText", data: e }));
1238
1237
  }
1239
1238
  handleEnter(g) {
1240
1239
  (this.isTextArea || this.element.isContentEditable) && this.handleInsert(g, `
@@ -1267,8 +1266,8 @@ function D4(A) {
1267
1266
  return typeof t == "function" ? t.bind(c) : t;
1268
1267
  }, set: (c, C, t, o) => Reflect.set(C in I ? I : c, C, t, o) });
1269
1268
  }
1270
- const q2 = typeof window < "u" ? d3 : l0, Q4 = v.div.withConfig({ displayName: "InputWrapper", componentId: "sc-1v85mm4-0" })(["position:relative;border-radius:4px;"]), P4 = v.input.withConfig({ displayName: "StyledInput", componentId: "sc-1v85mm4-1" })(["position:relative;width:100%;background-color:transparent;border:none;outline:none;color:", ";font-family:", ";font-size:", ";&:active,&:focus{outline:none;border:none;}&::placeholder{color:", ";font-size:", ";opacity:1;}&:disabled{background-color:transparent;cursor:not-allowed;}"], l.colors.shade50, l.fonts.join(", "), l.paragraph.medium, l.colors.shade30, l.paragraph.medium), H4 = v.label.withConfig({ displayName: "StyledLabel", componentId: "sc-1v85mm4-2" })(["position:absolute;color:", ";box-sizing:content-box;left:15px;top:-8px;padding:0 1px;font-family:'Nunito Sans',sans-serif;font-size:", ";font-weight:600;white-space:nowrap;"], l.colors.shade50, l.paragraph.small), j4 = v.div.withConfig({ displayName: "StyledInputContent", componentId: "sc-1v85mm4-3" })(["position:relative;display:flex;align-items:center;justify-content:space-between;box-sizing:content-box;padding:18px 16px 14px 16px;height:22px;gap:8px;border-radius:4px;background-color:", ";cursor:", ";"], ({ $disabled: A }) => A ? l.colors.shade10 : l.colors.white, ({ $disabled: A }) => A ? "not-allowed" : "pointer"), G4 = v.div.withConfig({ displayName: "StyledInputBorder", componentId: "sc-1v85mm4-4" })(["position:absolute;box-sizing:content-box;inset:0px;border-radius:4px;border:1px solid ", ";clip-rule:evenodd;clip-path:path( '", "' );", ""], ({ $hasError: A }) => A ? l.colors.red40 : l.colors.shade20, ({ $label: A, $content: g }) => A.height !== 0 && A.width !== 0 ? `M ${g.x} ${g.y} l ${g.width} 0 l 0 ${g.height} l -${g.width} 0z M ${A.x} ${A.y} l 0 ${A.height} l ${A.width} 0 l 0 -${A.height}z` : "", ({ $hasError: A }) => A && G(["border-color:", ";box-shadow:0 0 0 2px ", ";"], l.colors.red30, l.colors.red10)), m4 = v.span.withConfig({ displayName: "StyledErrorMessage", componentId: "sc-1v85mm4-5" })(["display:block;color:", ";font-size:16px;margin-top:4px;margin-left:4px;"], l.colors.red30), r2 = G0(({ autoComplete: A, label: g, readonly: e, onChangeValue: I, onChange: c, onInputValue: C, onInput: t, value: o, onKeyDown: a, onKeyUp: h, disabled: f, leftIcon: r, rightIcon: B, type: n = "text", error: w, border: Q, ...j }, m) => {
1271
- const Y = l1(), [H, p] = q({ x: 0, y: 0, width: 0, height: 0 }), [i, M] = q({ x: 0, y: 0, width: 0, height: 0 }), R = g0(null), d = g0(null), k = g0(null), z = g0(null);
1269
+ const q2 = typeof window < "u" ? d3 : l0, Q4 = v.div.withConfig({ displayName: "InputWrapper", componentId: "sc-1v85mm4-0" })(["position:relative;border-radius:4px;"]), P4 = v.input.withConfig({ displayName: "StyledInput", componentId: "sc-1v85mm4-1" })(["position:relative;width:100%;background-color:transparent;border:none;outline:none;color:", ";font-family:", ";font-size:", ";&:active,&:focus{outline:none;border:none;}&::placeholder{color:", ";font-size:", ";opacity:1;}&:disabled{background-color:transparent;cursor:not-allowed;}"], l.colors.shade50, l.fonts.join(", "), l.paragraph.medium, l.colors.shade30, l.paragraph.medium), H4 = v.label.withConfig({ displayName: "StyledLabel", componentId: "sc-1v85mm4-2" })(["position:absolute;color:", ";box-sizing:content-box;left:15px;top:-8px;padding:0 1px;font-family:'Nunito Sans',sans-serif;font-size:", ";font-weight:600;white-space:nowrap;"], l.colors.shade50, l.paragraph.small), j4 = v.div.withConfig({ displayName: "StyledInputContent", componentId: "sc-1v85mm4-3" })(["position:relative;display:flex;align-items:center;justify-content:space-between;box-sizing:content-box;padding:18px 16px 14px 16px;height:22px;gap:8px;border-radius:4px;background-color:", ";cursor:", ";"], ({ $disabled: A }) => A ? l.colors.shade10 : l.colors.white, ({ $disabled: A }) => A ? "not-allowed" : "pointer"), G4 = v.div.withConfig({ displayName: "StyledInputBorder", componentId: "sc-1v85mm4-4" })(["position:absolute;box-sizing:content-box;inset:0px;border-radius:4px;border:1px solid ", ";clip-rule:evenodd;clip-path:path( '", "' );", ""], ({ $hasError: A }) => A ? l.colors.red40 : l.colors.shade20, ({ $label: A, $content: g }) => A.height !== 0 && A.width !== 0 ? `M ${g.x} ${g.y} l ${g.width} 0 l 0 ${g.height} l -${g.width} 0z M ${A.x} ${A.y} l 0 ${A.height} l ${A.width} 0 l 0 -${A.height}z` : "", ({ $hasError: A }) => A && G(["border-color:", ";box-shadow:0 0 0 2px ", ";"], l.colors.red30, l.colors.red10)), m4 = v.span.withConfig({ displayName: "StyledErrorMessage", componentId: "sc-1v85mm4-5" })(["display:block;color:", ";font-size:16px;margin-top:4px;margin-left:4px;"], l.colors.red30), r2 = G0(({ autoComplete: A, label: g, readonly: e, onChangeValue: I, onChange: c, onInputValue: C, onInput: t, value: o, onKeyDown: a, onKeyUp: h, disabled: f, leftIcon: r, rightIcon: B, type: n = "text", error: w, border: Q, ...H }, m) => {
1270
+ const Y = l1(), [j, p] = q({ x: 0, y: 0, width: 0, height: 0 }), [i, M] = q({ x: 0, y: 0, width: 0, height: 0 }), R = g0(null), d = g0(null), k = g0(null), z = g0(null);
1272
1271
  b0(m, () => ({ focus: () => k.current?.focus(), getInputRef: () => k.current }));
1273
1272
  const P = s0((b) => {
1274
1273
  c && c(b), I && I(b.currentTarget.value);
@@ -1282,28 +1281,28 @@ const q2 = typeof window < "u" ? d3 : l0, Q4 = v.div.withConfig({ displayName: "
1282
1281
  F();
1283
1282
  const b = new ResizeObserver(() => F());
1284
1283
  return R.current && b.observe(R.current), d.current && b.observe(d.current), () => b.disconnect();
1285
- }, [F, Q]), s.jsxs(Q4, { ...j, ref: z, children: [s.jsxs(j4, { $disabled: f, ref: R, onClick: () => {
1284
+ }, [F, Q]), s.jsxs(Q4, { ...H, ref: z, children: [s.jsxs(j4, { $disabled: f, ref: R, onClick: () => {
1286
1285
  document.activeElement !== k.current && k.current?.focus();
1287
- }, $hasError: !!w, children: [Q !== !1 && s.jsx(G4, { $content: i, $label: H, $hasError: !!w }), s.jsx(H4, { htmlFor: Y, ref: d, children: g }), r, s.jsx(P4, { autoComplete: A, id: Y, ref: k, type: n, disabled: f, readOnly: e, value: o, placeholder: j.placeholder, onChange: P, onInput: L, onKeyDown: a, onKeyUp: h }), B] }), w && s.jsx(m4, { children: s.jsx(t0, { color: l.colors.red40, children: w }) })] });
1286
+ }, $hasError: !!w, children: [Q !== !1 && s.jsx(G4, { $content: i, $label: j, $hasError: !!w }), s.jsx(H4, { htmlFor: Y, ref: d, children: g }), r, s.jsx(P4, { autoComplete: A, id: Y, ref: k, type: n, disabled: f, readOnly: e, value: o, placeholder: H.placeholder, onChange: P, onInput: L, onKeyDown: a, onKeyUp: h }), B] }), w && s.jsx(m4, { children: s.jsx(t0, { color: l.colors.red40, children: w }) })] });
1288
1287
  }), w2 = (A, g, e) => function({ value: I, onInputValue: c, ...C }, t) {
1289
1288
  const o = g0(null), a = (({ options: B = null, elementPredicate: n = a4 } = {}) => {
1290
- const [w, Q] = q(null), [j, m] = q(null), Y = s0((i) => {
1289
+ const [w, Q] = q(null), [H, m] = q(null), Y = s0((i) => {
1291
1290
  Q(i);
1292
- }, []), H = g0(n), p = g0(B);
1293
- return H.current = n, p.current = B, q2(() => {
1291
+ }, []), j = g0(n), p = g0(B);
1292
+ return j.current = n, p.current = B, q2(() => {
1294
1293
  if (!w) return;
1295
1294
  const i = n(w);
1296
1295
  var M;
1297
1296
  (M = i) && typeof M == "object" && "then" in M ? i.then((R) => {
1298
- H.current === n && p.current === B && m(R);
1297
+ j.current === n && p.current === B && m(R);
1299
1298
  }) : m(i);
1300
- }, [w, n, H, B, p]), q2(() => {
1301
- if (!j || !B) return;
1302
- const i = new v4(D4(j), B);
1299
+ }, [w, n, j, B, p]), q2(() => {
1300
+ if (!H || !B) return;
1301
+ const i = new v4(D4(H), B);
1303
1302
  return () => {
1304
1303
  i.destroy(), m(null);
1305
1304
  };
1306
- }, [B, j]), Y;
1305
+ }, [B, H]), Y;
1307
1306
  })({ options: A }), [h, f] = q(I !== void 0 ? g(e(I)) : "");
1308
1307
  b0(t, () => ({ focus: () => o.current?.focus(), getInputRef: () => o.current?.getInputRef() || null })), l0(() => {
1309
1308
  if (!o.current) return;
@@ -1321,9 +1320,9 @@ const q2 = typeof window < "u" ? d3 : l0, Q4 = v.div.withConfig({ displayName: "
1321
1320
  f(n), c && c(g(e(n)));
1322
1321
  }, [c]);
1323
1322
  return s.jsx(r2, { ref: o, type: "text", onInput: r, value: h, ...C });
1324
- }, f1 = (A) => A.replace(/([a-zA-Z0-9]{2})([a-zA-Z0-9]{3})([a-zA-Z0-9]{3})([a-zA-Z0-9]{4})(\d{2})/, "$1.$2.$3/$4-$5"), n1 = [/[a-zA-Z0-9]/, /[a-zA-Z0-9]/, ".", /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, ".", /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, "/", /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, "-", /\d/, /\d/], cA = G0(w2({ mask: n1 }, (A) => f1(A), (A) => A.replace(/[^[a-zA-Z0-9]/g, ""))), B1 = v.div.withConfig({ displayName: "SelectWrapper", componentId: "sc-18ajw4v-0" })(["display:flex;flex-direction:column;position:relative;.icon{transition:transform 0.3s;}.icon-rotate{transform:rotate(180deg) translateY(5px);}"]), r1 = v.div.withConfig({ displayName: "Dropdown", componentId: "sc-18ajw4v-1" })(["position:absolute;z-index:", ";background-color:", ";width:", ";", ";padding:16px;border-radius:4px;border:1px solid ", ";box-shadow:0px 0px 15px rgba(0,0,0,0.05);height:auto;max-height:", ";overflow-y:auto;"], l.zIndex.z9, l.colors.white, ({ $dropDownWidth: A }) => A || "100%", ({ $dropDownTop: A }) => A ? "bottom: 58px;" : "margin-top: 4px;", l.colors.shade20, ({ $dropDownMaxHeight: A }) => A || "300px"), w1 = v.div.withConfig({ displayName: "DropdownWrapper", componentId: "sc-18ajw4v-2" })(["position:relative;z-index:", ";"], l.zIndex.z9), M1 = v.button.withConfig({ displayName: "OptionButton", componentId: "sc-18ajw4v-3" })(["display:flex;align-items:center;justify-content:space-between;gap:0.5rem;color:", ";background-color:transparent;border:none;cursor:pointer;font-family:'Nunito Sans',sans-serif;font-size:", ";text-align:left;height:46px;width:100%;padding:0;&:not(:last-child){border-bottom:1px solid ", ";}"], ({ $selected: A }) => A ? l.colors.cyan30 : l.colors.shade40, l.paragraph.medium, l.colors.shade10), E1 = v.div.withConfig({ displayName: "OptionText", componentId: "sc-18ajw4v-4" })(["text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-grow:1;"]), d1 = v.div.withConfig({ displayName: "OptionTextBadge", componentId: "sc-18ajw4v-5" })(["flex-grow:1;display:flex;width:100%;justify-content:space-between;"]), z1 = v.div.withConfig({ displayName: "OptionsWrapper", componentId: "sc-18ajw4v-6" })(["position:relative;overflow-y:auto;"]), v1 = v.div.withConfig({ displayName: "OptionBackground", componentId: "sc-18ajw4v-7" })(["position:absolute;z-index:-1;background-color:", ";opacity:", ";width:", ";height:", ";top:", ";left:", ";transition:all 0.15s;"], l.colors.shade10, ({ $opacity: A }) => A, ({ $width: A }) => A, ({ $height: A }) => A, ({ $top: A }) => A, ({ $left: A }) => A), D1 = v.div.withConfig({ displayName: "NoResults", componentId: "sc-18ajw4v-8" })(["color:", ";font-size:", ";font-family:'Nunito Sans',sans-serif;padding:16px;text-align:center;"], l.colors.shade40, l.paragraph.medium), M2 = E0.forwardRef(({ children: A, label: g, leftIcon: e, onOptionChange: I, options: c, placeholder: C, rightIcon: t, selectedOption: o, value: a, dropDownWidth: h, disabled: f, disableSearch: r, badge: B, onOpenChange: n, dropDownMaxHeight: w, dropDownTop: Q, error: j, border: m, ...Y }, H) => {
1323
+ }, f1 = (A) => A.replace(/([a-zA-Z0-9]{2})([a-zA-Z0-9]{3})([a-zA-Z0-9]{3})([a-zA-Z0-9]{4})(\d{2})/, "$1.$2.$3/$4-$5"), n1 = [/[a-zA-Z0-9]/, /[a-zA-Z0-9]/, ".", /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, ".", /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, "/", /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, /[a-zA-Z0-9]/, "-", /\d/, /\d/], cA = G0(w2({ mask: n1 }, (A) => f1(A), (A) => A.replace(/[^[a-zA-Z0-9]/g, ""))), B1 = v.div.withConfig({ displayName: "SelectWrapper", componentId: "sc-18ajw4v-0" })(["display:flex;flex-direction:column;position:relative;.icon{transition:transform 0.3s;}.icon-rotate{transform:rotate(180deg) translateY(5px);}"]), r1 = v.div.withConfig({ displayName: "Dropdown", componentId: "sc-18ajw4v-1" })(["position:absolute;z-index:", ";background-color:", ";width:", ";", ";padding:16px;border-radius:4px;border:1px solid ", ";box-shadow:0px 0px 15px rgba(0,0,0,0.05);height:auto;max-height:", ";overflow-y:auto;"], l.zIndex.z9, l.colors.white, ({ $dropDownWidth: A }) => A || "100%", ({ $dropDownTop: A }) => A ? "bottom: 58px;" : "margin-top: 4px;", l.colors.shade20, ({ $dropDownMaxHeight: A }) => A || "300px"), w1 = v.div.withConfig({ displayName: "DropdownWrapper", componentId: "sc-18ajw4v-2" })(["position:relative;z-index:", ";"], l.zIndex.z9), M1 = v.button.withConfig({ displayName: "OptionButton", componentId: "sc-18ajw4v-3" })(["display:flex;align-items:center;justify-content:space-between;gap:0.5rem;color:", ";background-color:transparent;border:none;cursor:pointer;font-family:'Nunito Sans',sans-serif;font-size:", ";text-align:left;height:46px;width:100%;padding:0;&:not(:last-child){border-bottom:1px solid ", ";}"], ({ $selected: A }) => A ? l.colors.cyan30 : l.colors.shade40, l.paragraph.medium, l.colors.shade10), E1 = v.div.withConfig({ displayName: "OptionText", componentId: "sc-18ajw4v-4" })(["text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex-grow:1;"]), d1 = v.div.withConfig({ displayName: "OptionTextBadge", componentId: "sc-18ajw4v-5" })(["flex-grow:1;display:flex;width:100%;justify-content:space-between;"]), z1 = v.div.withConfig({ displayName: "OptionsWrapper", componentId: "sc-18ajw4v-6" })(["position:relative;overflow-y:auto;"]), v1 = v.div.withConfig({ displayName: "OptionBackground", componentId: "sc-18ajw4v-7" })(["position:absolute;z-index:-1;background-color:", ";opacity:", ";width:", ";height:", ";top:", ";left:", ";transition:all 0.15s;"], l.colors.shade10, ({ $opacity: A }) => A, ({ $width: A }) => A, ({ $height: A }) => A, ({ $top: A }) => A, ({ $left: A }) => A), D1 = v.div.withConfig({ displayName: "NoResults", componentId: "sc-18ajw4v-8" })(["color:", ";font-size:", ";font-family:'Nunito Sans',sans-serif;padding:16px;text-align:center;"], l.colors.shade40, l.paragraph.medium), M2 = E0.forwardRef(({ children: A, label: g, leftIcon: e, onOptionChange: I, options: c, placeholder: C, rightIcon: t, selectedOption: o, value: a, dropDownWidth: h, disabled: f, disableSearch: r, badge: B, onOpenChange: n, dropDownMaxHeight: w, dropDownTop: Q, error: H, border: m, ...Y }, j) => {
1325
1324
  const [p, i] = q(!1), [M, R] = q(!1), [d, k] = q(a), z = g0(null);
1326
- b0(H, () => ({ setOpen: i }));
1325
+ b0(j, () => ({ setOpen: i }));
1327
1326
  const P = g0(void 0), L = g0(null), [F, b] = q({ $opacity: 0, $width: "0px", $height: "0px", $top: "0px", $left: "0px" }), D = s0((y) => {
1328
1327
  if (y === P.current) return;
1329
1328
  const S = x.current[y];
@@ -1407,7 +1406,7 @@ const q2 = typeof window < "u" ? d3 : l0, Q4 = v.div.withConfig({ displayName: "
1407
1406
  r || (k(y.target.value), R(!0), I && I(null));
1408
1407
  }, onClick: () => {
1409
1408
  f || (k(""), R(!0), i(!0), n && n(!0), b({ $opacity: 0, $width: "100%", $height: "0px", $top: "0px", $left: "0px" }));
1410
- }, error: j }), p && s.jsx(w1, { children: s.jsxs(r1, { ref: K, $dropDownTop: Q, $dropDownWidth: h, $dropDownMaxHeight: w, children: [(c?.length ?? 0) > 0 && s.jsxs(s.Fragment, { children: [s.jsx(z1, { ref: L, children: u.map((y, S) => {
1409
+ }, error: H }), p && s.jsx(w1, { children: s.jsxs(r1, { ref: K, $dropDownTop: Q, $dropDownWidth: h, $dropDownMaxHeight: w, children: [(c?.length ?? 0) > 0 && s.jsxs(s.Fragment, { children: [s.jsx(z1, { ref: L, children: u.map((y, S) => {
1411
1410
  const J = o?.id === y.id;
1412
1411
  return s.jsx(M1, { $selected: J, onClick: () => E(y), ref: (C0) => {
1413
1412
  x.current[S] = C0;
@@ -1430,14 +1429,14 @@ const q2 = typeof window < "u" ? d3 : l0, Q4 = v.div.withConfig({ displayName: "
1430
1429
  return s.jsx(M2, { ...n, ref: t, children: A });
1431
1430
  }), Q1 = (A) => A.replace(/(\d{3})(\d{3})(\d{3})(\d{2})/, "$1.$2.$3-$4"), P1 = [/\d/, /\d/, /\d/, ".", /\d/, /\d/, /\d/, ".", /\d/, /\d/, /\d/, "-", /\d/, /\d/], lA = G0(w2({ mask: P1 }, (A) => Q1(A), (A) => A.replace(/[^\d]/g, ""))), p4 = v.div.withConfig({ displayName: "CalendarGrid", componentId: "sc-1b5braf-0" })(["display:grid;font-family:'Nunito Sans',sans-serif;grid-template-columns:repeat(7,36px);align-items:center;justify-items:center;grid-column-gap:0px;grid-row-gap:0px;height:100%;width:100%;font-size:", ";color:", ";"], l.paragraph.small, l.colors.shade50), x4 = v.div.withConfig({ displayName: "CalendarWeekDayLabel", componentId: "sc-1b5braf-1" })(["font-size:", ";color:", ";font-weight:600;margin-bottom:4px;"], l.paragraph["xx-small"], l.colors.shade30), R4 = v.div.withConfig({ displayName: "CalendarHeader", componentId: "sc-1b5braf-2" })(["display:flex;justify-content:space-between;align-items:center;font-size:", ";font-family:'Nunito Sans',sans-serif;font-weight:600;.icon,.icon svg,.icon svg path{fill:", " !important;}.icon:hover,.icon:hover svg,.icon:hover svg path{fill:", " !important;}.icon-disabled,.icon-disabled svg,.icon-disabled svg path{fill:", " !important;}"], l.paragraph.small, l.colors.shade50, l.colors.cyan30, l.colors.shade20), Y4 = v.div.withConfig({ displayName: "CalendarDay", componentId: "sc-1b5braf-3" })(["position:relative;cursor:pointer;width:36px;height:36px;color:", ";&:before{position:absolute;content:'';inset:0;border-radius:50%;pointer-events:none;", ";}"], ({ $isFirstSelected: A, $isLastSelected: g, $isBlocked: e }) => A || g ? l.colors.white : e ? l.colors.shade30 : l.colors.shade50, ({ $today: A, $isFirstSelected: g, $isLastSelected: e }) => !A || g || e ? "" : `border: 1px solid ${l.colors.cyan40}`), k4 = v.div.withConfig({ displayName: "CalendarDaySelectedBackground", componentId: "sc-1b5braf-4" })(["position:absolute;background-color:", ";width:100%;height:100%;inset:0;border-radius:", ";&:hover{border-radius:", ";background-color:", ";}&::before{content:'';border-radius:50%;background-color:", ";position:absolute;inset:0;}"], ({ $selected: A }) => A && l.colors.cyan30opacity16, ({ $isFirstSelected: A, $isLastSelected: g }) => A && g ? "50%" : A ? "50% 0 0 50%" : g ? "0 50% 50% 0" : "0", ({ $isFirstSelected: A, $isLastSelected: g, $selected: e }) => A && g ? "50%" : A ? "50% 0 0 50%" : g ? "0 50% 50% 0" : e ? "0" : "50%", ({ $isBlocked: A }) => A ? "transparant" : l.colors.cyan30opacity16, ({ $isFirstSelected: A, $isLastSelected: g, $isBlocked: e }) => !A && !g || e ? "transparent" : l.colors.cyan40), y4 = v.div.withConfig({ displayName: "CalendarDayValue", componentId: "sc-1b5braf-5" })(["position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;"]), u4 = v.div.withConfig({ displayName: "Footer", componentId: "sc-1b5braf-6" })(["display:flex;justify-content:space-between;align-items:center;margin-top:16px;font-size:", ";color:", ";font-family:'Nunito Sans',sans-serif;"], l.paragraph.small, l.colors.shade50), O4 = ["Janeiro", "Fevereiro", "Março", "Abril", "Maio", "Junho", "Julho", "Agosto", "Setembro", "Outubro", "Novembro", "Dezembro"], Z4 = ["DOM", "SEG", "TER", "QUA", "QUI", "SEX", "SAB"];
1432
1431
  function L4({ label: A, options: g, selectedOption: e, onSelectedOptionChange: I, placeholder: c, onSelectedCustomRange: C, startCustomDate: t, endCustomDate: o, isRange: a, rangeDayLimit: h, footerMessage: f, onOpenChange: r, ...B }) {
1433
- const [n, w] = q(0), [Q, j] = q(0), [m, Y] = q(null), H = g0(null);
1432
+ const [n, w] = q(0), [Q, H] = q(0), [m, Y] = q(null), j = g0(null);
1434
1433
  l0(() => {
1435
1434
  const D = /* @__PURE__ */ new Date();
1436
- w(D.getFullYear()), j(D.getMonth());
1435
+ w(D.getFullYear()), H(D.getMonth());
1437
1436
  }, []);
1438
1437
  const p = s0((D) => D ? new Date(D.getFullYear(), D.getMonth(), D.getDate(), 0, 0, 0, 0) : null, []), i = [], M = (D) => {
1439
1438
  const E = new Date(n, Q + D);
1440
- w(E.getFullYear()), j(E.getMonth());
1439
+ w(E.getFullYear()), H(E.getMonth());
1441
1440
  }, R = (D, E) => {
1442
1441
  const u = Math.abs(E.getTime() - D.getTime());
1443
1442
  return Math.ceil(u / 864e5);
@@ -1463,21 +1462,21 @@ function L4({ label: A, options: g, selectedOption: e, onSelectedOptionChange: I
1463
1462
  }
1464
1463
  return { customOption: null, optionComputed: [] };
1465
1464
  }, [g]);
1466
- return s.jsxs(M2, { disableSearch: !0, dropDownWidth: "284px", dropDownMaxHeight: "auto", ref: H, placeholder: c, label: A, value: L, leftIcon: s.jsx(I0, { className: "icon", src: P3, width: "20px", height: "20px", color: l.colors.shade30 }), options: b, selectedOption: e ?? (z ? F : null), onOptionChange: (D) => {
1467
- I && (I(D), C && C(null, null), H.current?.setOpen(!1));
1465
+ return s.jsxs(M2, { disableSearch: !0, dropDownWidth: "284px", dropDownMaxHeight: "auto", ref: j, placeholder: c, label: A, value: L, leftIcon: s.jsx(I0, { className: "icon", src: P3, width: "20px", height: "20px", color: l.colors.shade30 }), options: b, selectedOption: e ?? (z ? F : null), onOptionChange: (D) => {
1466
+ I && (I(D), C && C(null, null), j.current?.setOpen(!1));
1468
1467
  }, onOpenChange: (D) => {
1469
1468
  !D && t && !o && C && C(t, t), r && r(D);
1470
1469
  }, ...B, children: [s.jsxs(R4, { children: [s.jsx(I0, { className: "icon", src: h2, width: "14px", onClick: () => M(-1) }), O4[Q], " ", n, s.jsx(I0, { className: "icon", src: a2, width: "14px", onClick: () => M(1) })] }), s.jsxs(p4, { children: [Z4.map((D) => s.jsx(x4, { children: D }, D)), i.map((D) => D.type === "empty" ? s.jsx("div", {}, D.key) : s.jsxs(Y4, { $isFirstSelected: D.isFirstSelected, $isLastSelected: D.isLastSelected, $isBlocked: D.isBlocked, $today: D.today, onClick: () => !D.isBlocked && ((E) => {
1471
- if (I && I(null), t) if (o) a === !1 && H.current?.setOpen(!1), C && C(E, null), Y(p(E));
1470
+ if (I && I(null), t) if (o) a === !1 && j.current?.setOpen(!1), C && C(E, null), Y(p(E));
1472
1471
  else {
1473
1472
  let u = t, K = E;
1474
1473
  if (u && K && u > K) {
1475
1474
  const x = u;
1476
1475
  u = K, K = x;
1477
1476
  }
1478
- C && C(u, K), H.current?.setOpen(!1);
1477
+ C && C(u, K), j.current?.setOpen(!1);
1479
1478
  }
1480
- else C && C(E, null), m && Y(p(E)), a === !1 && H.current?.setOpen(!1);
1479
+ else C && C(E, null), m && Y(p(E)), a === !1 && j.current?.setOpen(!1);
1481
1480
  })(D.date), onMouseEnter: () => {
1482
1481
  return !D.isBlocked && (E = D.date, void (t && !o && Y(p(E))));
1483
1482
  var E;
@@ -1491,18 +1490,18 @@ function N4({ title: A, subTitle: g, description: e }) {
1491
1490
  }
1492
1491
  const b4 = v.div.withConfig({ displayName: "InputWrapper", componentId: "sc-1l97iod-0" })(["position:relative;border-radius:4px;.button-action{display:flex;align-items:center;justify-content:center;height:36px;width:36px;min-width:36px;border-radius:100%;border:none;cursor:pointer;opacity:0.8;cursor:pointer;margin-right:-8px;background-color:transparent;}.button-action:hover svg path{fill:", ";}.button-action:hover{background:", ";}.button-action:active{background:", ";}.container-input-tag{display:flex;gap:8px;margin-top:8px;flex-wrap:wrap;button{background:none;border:none;cursor:pointer;display:flex;justify-content:center;gap:8px;p{margin-top:2px;}}.wrapper-tag{background:", ";display:flex;align-items:center;flex-wrap:nowrap;border-radius:4px;padding:0 0 0 8px;}.wrapper-tag-button{padding:8px 10px;color:", ";}}"], l.colors.cyan20, l.colors.cyan10, l.colors.cyan15, l.colors.cyan10, l.colors.shade50), K4 = v.input.withConfig({ displayName: "StyledInput", componentId: "sc-1l97iod-1" })(["width:100%;background-color:transparent;border:none;outline:none;color:", ";font-family:", ";font-size:", ";&:active,&:focus{outline:none;border:none;}&::placeholder{color:", ";font-size:", ";opacity:1;}&:disabled{background-color:transparent;cursor:not-allowed;}"], l.colors.shade50, l.fonts.join(", "), l.paragraph.medium, l.colors.shade30, l.paragraph.medium), U4 = v.label.withConfig({ displayName: "StyledLabel", componentId: "sc-1l97iod-2" })(["position:absolute;color:", ";box-sizing:content-box;left:15px;top:-8px;padding:0 1px;font-family:'Nunito Sans',sans-serif;font-size:", ";font-weight:600;white-space:nowrap;"], l.colors.shade50, l.paragraph.small), S4 = v.div.withConfig({ displayName: "StyledInputContent", componentId: "sc-1l97iod-3" })(["position:relative;display:flex;align-items:center;justify-content:space-between;box-sizing:content-box;padding:18px 16px 14px 16px;height:22px;gap:8px;border-radius:4px;background-color:", ";cursor:", ";"], ({ $disabled: A }) => A ? l.colors.shade10 : l.colors.white, ({ $disabled: A }) => A ? "not-allowed" : "pointer"), J4 = v.div.withConfig({ displayName: "StyledInputBorder", componentId: "sc-1l97iod-4" })(["position:absolute;box-sizing:content-box;inset:0px;border-radius:4px;border:1px solid ", ";clip-rule:evenodd;clip-path:path( '", "' );"], l.colors.shade20, ({ $label: A, $content: g }) => A.height !== 0 && A.width !== 0 ? `M ${g.x} ${g.y} l ${g.width} 0 l 0 ${g.height} l -${g.width} 0z M ${A.x} ${A.y} l 0 ${A.height} l ${A.width} 0 l 0 -${A.height}z` : "");
1493
1492
  function oA({ label: A, readonly: g, disabled: e, leftIcon: I, rightIcon: c, tags: C, setTags: t, placeholder: o, value: a, onChangeValue: h, ...f }) {
1494
- const r = l1(), B = g0(null), n = g0(null), w = g0(null), [Q, j] = q({ x: 0, y: 0, width: 0, height: 0 }), [m, Y] = q({ x: 0, y: 0, width: 0, height: 0 }), H = s0(() => {
1495
- B.current && Y({ x: B.current.offsetLeft - 30, y: B.current.offsetTop - 30, width: B.current.offsetWidth + 60, height: B.current.offsetHeight + 60 }), n.current && j({ x: n.current.offsetLeft - 4, y: n.current.offsetTop - 4, width: n.current.offsetWidth + 8, height: n.current.offsetHeight + 8 });
1493
+ const r = l1(), B = g0(null), n = g0(null), w = g0(null), [Q, H] = q({ x: 0, y: 0, width: 0, height: 0 }), [m, Y] = q({ x: 0, y: 0, width: 0, height: 0 }), j = s0(() => {
1494
+ B.current && Y({ x: B.current.offsetLeft - 30, y: B.current.offsetTop - 30, width: B.current.offsetWidth + 60, height: B.current.offsetHeight + 60 }), n.current && H({ x: n.current.offsetLeft - 4, y: n.current.offsetTop - 4, width: n.current.offsetWidth + 8, height: n.current.offsetHeight + 8 });
1496
1495
  }, []);
1497
1496
  l0(() => {
1498
- const i = () => H();
1497
+ const i = () => j();
1499
1498
  let M = null;
1500
1499
  return ResizeObserver ? (M = new ResizeObserver(i), B.current && M.observe(B.current), n.current && M.observe(n.current)) : window.addEventListener("resize", i), () => {
1501
1500
  M ? M.disconnect() : window.removeEventListener("resize", i);
1502
1501
  };
1503
- }, [H]), l0(() => {
1504
- H();
1505
- }, [A, H]);
1502
+ }, [j]), l0(() => {
1503
+ j();
1504
+ }, [A, j]);
1506
1505
  const p = (i) => {
1507
1506
  i && i.stopPropagation(), a.trim() && !C.includes(a.trim()) && (t([...C, a.trim()]), h(""), w.current?.focus());
1508
1507
  };
@@ -1525,9 +1524,9 @@ function iA({ title: A, children: g, onClose: e, footer: I, ...c }) {
1525
1524
  return s1.createPortal(s.jsxs(s.Fragment, { children: [s.jsx(_4, { onClick: e }), s.jsxs(A5, { ...c, children: [s.jsxs("div", { className: "modalHeader", children: [s.jsx(W4, { size: "medium", bold: !0, color: g5, children: A }), s.jsx(I0, { src: f2, width: "14px", height: "14px", color: I5, onClick: e })] }), s.jsx("div", { className: "modalContainer", children: g }), s.jsx("div", { className: "modalFooter", children: I })] })] }), document.body);
1526
1525
  }
1527
1526
  const hA = E0.forwardRef(({ children: A, label: g, leftIcon: e, onOptionChange: I, options: c, placeholder: C, rightIcon: t, selectedOptions: o, value: a, dropDownWidth: h, disabled: f, disableSearch: r, error: B, border: n, ...w }, Q) => {
1528
- const [j, m] = q(!1), [Y, H] = q(!1), [p, i] = q(a), M = g0(null);
1527
+ const [H, m] = q(!1), [Y, j] = q(!1), [p, i] = q(a), M = g0(null);
1529
1528
  b0(Q, () => ({ setOpen: m })), l0(() => {
1530
- if (!j) return;
1529
+ if (!H) return;
1531
1530
  const N = (O) => {
1532
1531
  let U = O.target;
1533
1532
  for (; U && U !== document.body.parentElement && U !== M.current; ) U = U.parentElement;
@@ -1536,15 +1535,15 @@ const hA = E0.forwardRef(({ children: A, label: g, leftIcon: e, onOptionChange:
1536
1535
  return document.addEventListener("click", N), () => {
1537
1536
  document.removeEventListener("click", N);
1538
1537
  };
1539
- }, [j]);
1538
+ }, [H]);
1540
1539
  const R = s0((N) => {
1541
1540
  o?.findIndex((O) => O.id === N.id) !== -1 ? I && I(o?.filter((O) => O.id !== N.id) ?? []) : I && I([...o ?? [], N]);
1542
1541
  }, [I, o]);
1543
1542
  l0(() => {
1544
1543
  Y || i(a || (o ? o?.length === c?.length ? "Todos" : o.map((N) => N.text).sort().join(", ") : ""));
1545
- }, [a, o, r, j, Y, c]), l0(() => {
1546
- j || H(!1);
1547
- }, [j]);
1544
+ }, [a, o, r, H, Y, c]), l0(() => {
1545
+ H || j(!1);
1546
+ }, [H]);
1548
1547
  const d = i0(() => {
1549
1548
  if (!c) return [];
1550
1549
  if (!Y || r) return c;
@@ -1574,7 +1573,7 @@ const hA = E0.forwardRef(({ children: A, label: g, leftIcon: e, onOptionChange:
1574
1573
  }
1575
1574
  };
1576
1575
  l0(() => {
1577
- if (!j) return E(null), void L((O) => ({ ...O, $opacity: 0 }));
1576
+ if (!H) return E(null), void L((O) => ({ ...O, $opacity: 0 }));
1578
1577
  const N = (O) => {
1579
1578
  d.length && (O.key === "ArrowDown" && (O.preventDefault(), E((U) => {
1580
1579
  const $ = U === null || U === d.length - 1 ? 0 : U + 1;
@@ -1599,7 +1598,7 @@ const hA = E0.forwardRef(({ children: A, label: g, leftIcon: e, onOptionChange:
1599
1598
  return document.addEventListener("keydown", N), () => {
1600
1599
  document.removeEventListener("keydown", N);
1601
1600
  };
1602
- }, [j, d, D, u, R]), l0(() => {
1601
+ }, [H, d, D, u, R]), l0(() => {
1603
1602
  if (K && k.current) {
1604
1603
  const N = k.current, O = () => {
1605
1604
  x(!1);
@@ -1614,11 +1613,11 @@ const hA = E0.forwardRef(({ children: A, label: g, leftIcon: e, onOptionChange:
1614
1613
  }, [K, u, E]), o0 = s0((N, O) => {
1615
1614
  K || O === b.current && (L((U) => ({ ...U, $opacity: 0 })), b.current = void 0);
1616
1615
  }, [K]);
1617
- return s.jsxs(B1, { ...w, ref: M, children: [s.jsx(r2, { disabled: f, leftIcon: e, rightIcon: s.jsxs(s.Fragment, { children: [t, s.jsx(I0, { className: "icon " + (j ? "icon-rotate" : ""), src: i2, width: "16px", color: l.colors.shade30 })] }), placeholder: C, label: g, value: p, readonly: !j, onChange: (N) => {
1618
- r || (i(N.target.value), H(!0));
1616
+ return s.jsxs(B1, { ...w, ref: M, children: [s.jsx(r2, { disabled: f, leftIcon: e, rightIcon: s.jsxs(s.Fragment, { children: [t, s.jsx(I0, { className: "icon " + (H ? "icon-rotate" : ""), src: i2, width: "16px", color: l.colors.shade30 })] }), placeholder: C, label: g, value: p, readonly: !H, onChange: (N) => {
1617
+ r || (i(N.target.value), j(!0));
1619
1618
  }, onClick: () => {
1620
- f || (i(""), H(!0), m(!0));
1621
- }, error: B, border: n }), j && s.jsx(w1, { children: s.jsxs(r1, { ref: k, $dropDownTop: w.dropDownTop, $dropDownWidth: h, $dropDownMaxHeight: w.dropDownMaxHeight, children: [(c?.length ?? 0) > 0 && s.jsxs(s.Fragment, { children: [s.jsx(z1, { ref: z, children: d.map((N, O) => s.jsxs(M1, { $selected: o?.some((U) => N.id === U.id) ?? !1, onClick: () => R(N), ref: (U) => {
1619
+ f || (i(""), j(!0), m(!0));
1620
+ }, error: B, border: n }), H && s.jsx(w1, { children: s.jsxs(r1, { ref: k, $dropDownTop: w.dropDownTop, $dropDownWidth: h, $dropDownMaxHeight: w.dropDownMaxHeight, children: [(c?.length ?? 0) > 0 && s.jsxs(s.Fragment, { children: [s.jsx(z1, { ref: z, children: d.map((N, O) => s.jsxs(M1, { $selected: o?.some((U) => N.id === U.id) ?? !1, onClick: () => R(N), ref: (U) => {
1622
1621
  F.current[O] = U;
1623
1622
  }, onPointerEnter: (U) => c0(U, O), onPointerLeave: (U) => o0(U, O), children: [s.jsx("input", { type: "checkbox", checked: o?.some((U) => N.id === U.id) ?? !1, onChange: () => R(N) }), N?.badge ? s.jsxs(d1, { children: [s.jsx("div", { children: N.text }), s.jsx(t0, { strongBold: !0, color: l.colors.honey30, children: N.badge })] }) : s.jsxs(s.Fragment, { children: [N.icon, s.jsx(E1, { title: N.text, children: N.text })] })] }, N.id)) }), s.jsx(v1, { $opacity: P.$opacity, $width: P.$width, $height: P.$height, $top: P.$top, $left: P.$left }), d.length === 0 && c?.length && s.jsx(D1, { children: "Sem resultados" })] }), A] }) })] });
1624
1623
  }), C5 = v.div.withConfig({ displayName: "Container", componentId: "sc-7gu4qd-0" })(["display:flex;justify-content:space-between;align-items:center;.icon,.icon svg,.icon svg path{fill:", " !important;}.icon:hover,.icon:hover svg,.icon:hover svg path{fill:", " !important;}.icon-disabled,.icon-disabled svg,.icon-disabled svg path{fill:", " !important;}ul.pagination{display:flex;gap:1rem;font-family:'Nunito Sans',sans-serif;font-size:1rem;color:", ";li{list-style:none;}li.page{cursor:pointer;}li.page:hover{color:", ";}li.page-active{color:", ";cursor:default;}}.items-count{display:flex;align-items:center;width:min-content;white-space:nowrap;gap:1rem;font-family:'Nunito Sans',sans-serif;color:", ";}"], l.colors.shade30, l.colors.cyan30, l.colors.shade20, l.colors.shade50, l.colors.cyan30, l.colors.cyan30, l.colors.shade50);
@@ -1684,12 +1683,12 @@ const o5 = (A) => {
1684
1683
  t || (C ? (Y.stopPropagation(), r(!f)) : a());
1685
1684
  }, g[4] = t, g[5] = f, g[6] = a, g[7] = C, g[8] = w) : w = g[8];
1686
1685
  const Q = w;
1687
- let j, m = "#fff";
1686
+ let H, m = "#fff";
1688
1687
  if (t && (m = "rgba(255,255,255,0.3)"), h && (m = "#217efd"), g[9] !== c || g[10] !== m || g[11] !== t || g[12] !== f || g[13] !== I || g[14] !== h || g[15] !== Q || g[16] !== C || g[17] !== e || g[18] !== o) {
1689
- let Y, H;
1690
- g[20] !== t || g[21] !== h || g[22] !== C || g[23] !== e || g[24] !== o ? (Y = C && s.jsx("span", { className: "title", title: o, children: s.jsx(t0, { size: "medium", heavyBold: h, color: t ? l.colors.shade40 : "white", children: e }) }), g[20] = t, g[21] = h, g[22] = C, g[23] = e, g[24] = o, g[25] = Y) : Y = g[25], g[26] !== t || g[27] !== f || g[28] !== C || g[29] !== o ? (H = C && (t ? s.jsx(I0, { src: t1, width: "20px", color: "white" }) : o ? s.jsx(I0, { src: o1, width: "20px", color: "white" }) : s.jsx(I0, { className: "icon " + (f ? "icon-rotate" : ""), src: i2, width: "20px", color: l.colors.shade30 })), g[26] = t, g[27] = f, g[28] = C, g[29] = o, g[30] = H) : H = g[30], j = s.jsxs(s5, { $open: C, $groupOpen: f, children: [s.jsxs(t5, { $disabled: t, $sidebarOpen: C, $groupOpen: f, onClick: Q, children: [s.jsx(I0, { src: I, color: m, width: "20px" }), Y, H] }), c] }), g[9] = c, g[10] = m, g[11] = t, g[12] = f, g[13] = I, g[14] = h, g[15] = Q, g[16] = C, g[17] = e, g[18] = o, g[19] = j;
1691
- } else j = g[19];
1692
- return j;
1688
+ let Y, j;
1689
+ g[20] !== t || g[21] !== h || g[22] !== C || g[23] !== e || g[24] !== o ? (Y = C && s.jsx("span", { className: "title", title: o, children: s.jsx(t0, { size: "medium", heavyBold: h, color: t ? l.colors.shade40 : "white", children: e }) }), g[20] = t, g[21] = h, g[22] = C, g[23] = e, g[24] = o, g[25] = Y) : Y = g[25], g[26] !== t || g[27] !== f || g[28] !== C || g[29] !== o ? (j = C && (t ? s.jsx(I0, { src: t1, width: "20px", color: "white" }) : o ? s.jsx(I0, { src: o1, width: "20px", color: "white" }) : s.jsx(I0, { className: "icon " + (f ? "icon-rotate" : ""), src: i2, width: "20px", color: l.colors.shade30 })), g[26] = t, g[27] = f, g[28] = C, g[29] = o, g[30] = j) : j = g[30], H = s.jsxs(s5, { $open: C, $groupOpen: f, children: [s.jsxs(t5, { $disabled: t, $sidebarOpen: C, $groupOpen: f, onClick: Q, children: [s.jsx(I0, { src: I, color: m, width: "20px" }), Y, j] }), c] }), g[9] = c, g[10] = m, g[11] = t, g[12] = f, g[13] = I, g[14] = h, g[15] = Q, g[16] = C, g[17] = e, g[18] = o, g[19] = H;
1690
+ } else H = g[19];
1691
+ return H;
1693
1692
  }, i5 = v.div.withConfig({ displayName: "Container", componentId: "sc-b3qvze-0" })(["display:flex;justify-content:", ";align-items:center;min-height:38px;padding:8px;gap:24px;color:", ";cursor:", ";border-radius:", ";&:hover{background-color:rgba(255,255,255,0.1);}&:not(:last-child){border-bottom:", ";}.wrapper{padding:4px;cursor:", ";display:flex;align-items:center;}.title{text-decoration:none;width:100%;white-space:nowrap;}.lock{position:absolute;right:20px;svg{opacity:0.5;position:absolute;margin-bottom:16px;font-size:10px;}}"], ({ $sidebarOpen: A }) => A ? "space-between" : "center", ({ $disabled: A }) => A ? "rgba(255,255,255,0.4)" : "#fff", ({ $disabled: A }) => A ? "default" : "pointer", ({ $isInsideGroup: A }) => !A && "4px", ({ $isInsideGroup: A }) => A && "1px solid rgba(255, 255, 255, 0.1)", ({ $disabled: A }) => A ? "default" : "pointer"), h5 = v.div.withConfig({ displayName: "Bullet", componentId: "sc-b3qvze-1" })(["position:relative;width:24px;height:100%;&::after{position:absolute;background:#fff;right:0px;top:-2.5px;content:'';width:5px;height:5px;border-radius:50%;}"]), I2 = ({ title: A, disabled: g, icon: e, warning: I, isInsideGroup: c, isCurrentItem: C, sidebarOpen: t, onClick: o }) => {
1694
1693
  let a = "#fff", h = "#fff";
1695
1694
  return c && (h = l.colors.shade10), g && (a = "rgba(255,255,255,0.3)", h = l.colors.shade40), C && (a = l.colors.cyan30), s.jsxs(i5, { $isCurrentItem: C, $disabled: g ?? !1, $sidebarOpen: t, $isInsideGroup: c, onClick: () => !g && o(), title: I, children: [c ? s.jsx(h5, {}) : e && s.jsx("div", { className: "icon", children: s.jsx(I0, { src: e, color: a, width: "20px" }) }), t && s.jsxs(s.Fragment, { children: [s.jsx("span", { className: "title", children: s.jsx(t0, { size: c ? "small" : "medium", color: h, heavyBold: C, children: A }) }), g ? s.jsx(I0, { src: t1, width: "20px", color: "white" }) : I ? s.jsx(I0, { src: o1, width: "20px", color: "white" }) : null] })] });
@@ -1697,30 +1696,30 @@ const o5 = (A) => {
1697
1696
  function nA(A) {
1698
1697
  const g = D0.c(23), { logoUrl: e, layout: I, currentItemId: c, currentGroupId: C, setLink: t, items: o, logoOpacity: a, groups: h, baseColor: f } = A, [r, B] = q(!0);
1699
1698
  let n;
1700
- g[0] !== o || g[1] !== t ? (n = (j) => {
1701
- const m = o[j], Y = m?.link;
1699
+ g[0] !== o || g[1] !== t ? (n = (H) => {
1700
+ const m = o[H], Y = m?.link;
1702
1701
  Y && t(Y);
1703
1702
  }, g[0] = o, g[1] = t, g[2] = n) : n = g[2];
1704
1703
  const w = n;
1705
1704
  let Q;
1706
1705
  if (g[3] !== f || g[4] !== C || g[5] !== c || g[6] !== h || g[7] !== o || g[8] !== I || g[9] !== a || g[10] !== e || g[11] !== t || g[12] !== w || g[13] !== r) {
1707
- let j;
1708
- g[15] !== C || g[16] !== c || g[17] !== h || g[18] !== o || g[19] !== t || g[20] !== w || g[21] !== r ? (j = (m) => {
1706
+ let H;
1707
+ g[15] !== C || g[16] !== c || g[17] !== h || g[18] !== o || g[19] !== t || g[20] !== w || g[21] !== r ? (H = (m) => {
1709
1708
  if (m.type === "spacer") return s.jsx(w5, {}, m.id);
1710
1709
  if (m.type === "item") {
1711
1710
  const Y = o[m.id];
1712
1711
  return s.jsx(I2, { title: Y?.menuTitle, icon: Y?.icon, disabled: Y?.disabled, warning: Y?.warning, onClick: () => w(m.id), sidebarOpen: r, isCurrentItem: c === m.id }, m.id);
1713
1712
  }
1714
1713
  if (m.type === "group") {
1715
- const Y = h[m.id], H = Y.itemIds?.some((p) => o[p]?.showInMenu !== !1);
1716
- if (Y.itemIds != null && Y.itemIds.length !== 0 && H) return s.jsx(o5, { disabled: Y.itemIds.every((p) => o[p]?.disabled), title: Y.name, icon: Y.icon, warning: Y.warning, sidebarOpen: r, onClick: () => Y.link && t(Y.link), isCurrentGroup: C === m.id, children: Y.itemIds.filter((p) => o[p]?.showInMenu !== !1).map((p) => s.jsx(I2, { title: o[p]?.menuTitle, disabled: o[p]?.disabled, warning: o[p]?.warning, onClick: () => w(p), isCurrentItem: c === p, sidebarOpen: r, isInsideGroup: !0 }, p)) }, m.id);
1714
+ const Y = h[m.id], j = Y.itemIds?.some((p) => o[p]?.showInMenu !== !1);
1715
+ if (Y.itemIds != null && Y.itemIds.length !== 0 && j) return s.jsx(o5, { disabled: Y.itemIds.every((p) => o[p]?.disabled), title: Y.name, icon: Y.icon, warning: Y.warning, sidebarOpen: r, onClick: () => Y.link && t(Y.link), isCurrentGroup: C === m.id, children: Y.itemIds.filter((p) => o[p]?.showInMenu !== !1).map((p) => s.jsx(I2, { title: o[p]?.menuTitle, disabled: o[p]?.disabled, warning: o[p]?.warning, onClick: () => w(p), isCurrentItem: c === p, sidebarOpen: r, isInsideGroup: !0 }, p)) }, m.id);
1717
1716
  {
1718
1717
  const p = o[m.id];
1719
1718
  return s.jsx(I2, { onClick: () => w(m.id), sidebarOpen: r, isCurrentItem: C === m.id, warning: p?.warning, disabled: p.disabled, title: p.menuTitle, icon: p.icon }, m.id);
1720
1719
  }
1721
1720
  }
1722
1721
  return null;
1723
- }, g[15] = C, g[16] = c, g[17] = h, g[18] = o, g[19] = t, g[20] = w, g[21] = r, g[22] = j) : j = g[22], Q = s.jsxs(n5, { $sidebarOpen: r, $baseColor: f, children: [s.jsx(f5, { logoUrl: e, sidebarOpen: r, setSidebarOpen: B, logoOpacity: a, baseColor: f }), s.jsx(r5, { children: s.jsx(B5, { children: I.map(M5).map(j) }) })] }), g[3] = f, g[4] = C, g[5] = c, g[6] = h, g[7] = o, g[8] = I, g[9] = a, g[10] = e, g[11] = t, g[12] = w, g[13] = r, g[14] = Q;
1722
+ }, g[15] = C, g[16] = c, g[17] = h, g[18] = o, g[19] = t, g[20] = w, g[21] = r, g[22] = H) : H = g[22], Q = s.jsxs(n5, { $sidebarOpen: r, $baseColor: f, children: [s.jsx(f5, { logoUrl: e, sidebarOpen: r, setSidebarOpen: B, logoOpacity: a, baseColor: f }), s.jsx(r5, { children: s.jsx(B5, { children: I.map(M5).map(H) }) })] }), g[3] = f, g[4] = C, g[5] = c, g[6] = h, g[7] = o, g[8] = I, g[9] = a, g[10] = e, g[11] = t, g[12] = w, g[13] = r, g[14] = Q;
1724
1723
  } else Q = g[14];
1725
1724
  return Q;
1726
1725
  }
@@ -1740,9 +1739,9 @@ function rA(A) {
1740
1739
  let B;
1741
1740
  g[0] !== t ? (B = t === void 0 ? { title: "Nenhum registro encontrado", subTitle: "Não há registros para exibir", description: "Não há registros para exibir" } : t, g[0] = t, g[1] = B) : B = g[1];
1742
1741
  const n = B, w = o !== void 0 && o, Q = a !== void 0 && a;
1743
- let j;
1744
- g[2] === Symbol.for("react.memo_cache_sentinel") ? (j = [], g[2] = j) : j = g[2];
1745
- const [m, Y] = q(j), [H, p] = q(null);
1742
+ let H;
1743
+ g[2] === Symbol.for("react.memo_cache_sentinel") ? (H = [], g[2] = H) : H = g[2];
1744
+ const [m, Y] = q(H), [j, p] = q(null);
1746
1745
  let i;
1747
1746
  g[3] !== h ? (i = (z) => {
1748
1747
  p(z.id), h?.(z);
@@ -1754,7 +1753,7 @@ function rA(A) {
1754
1753
  }, g[5] = R) : R = g[5];
1755
1754
  const d = R;
1756
1755
  let k;
1757
- return g[6] !== e || g[7] !== I || g[8] !== n || g[9] !== m || g[10] !== M || g[11] !== f || g[12] !== r || g[13] !== h || g[14] !== Q || g[15] !== H || g[16] !== w ? (k = s.jsx(D5, { children: s.jsxs(Q5, { $height: f, children: [s.jsx(P5, { children: s.jsx(L0, { children: e.map(x5) }) }), s.jsx(H5, { children: r ? s.jsx(L0, { children: s.jsx(C2, { colSpan: e.length, children: s.jsx(m5, { children: s.jsx(v5, { size: "small" }) }) }) }) : I.length === 0 ? s.jsx(L0, { children: s.jsx(C2, { colSpan: e.length, children: s.jsx(p5, { children: s.jsx(N4, { title: n.title, subTitle: n.subTitle, description: n.description }) }) }) }) : I.map((z) => s.jsxs(E0.Fragment, { children: [s.jsx(L0, { $striped: w, $clickable: Q && !!h, $selected: H === z.id, onClick: () => Q && h && M(z), children: e.map((P, L) => s.jsx(C2, { $width: P.width, $align: P.align, children: P.Cell ? P.Cell(z, d) : P.accessor && z[P.accessor] && s.jsx(t0, { color: l.colors.shade50, children: String(z[P.accessor]) }) }, L)) }), m.includes(z.id) && "containerColapsed" in z && typeof z.containerColapsed == "function" && s.jsx(G5, { children: z.containerColapsed(z) })] }, z.id)) })] }) }), g[6] = e, g[7] = I, g[8] = n, g[9] = m, g[10] = M, g[11] = f, g[12] = r, g[13] = h, g[14] = Q, g[15] = H, g[16] = w, g[17] = k) : k = g[17], k;
1756
+ return g[6] !== e || g[7] !== I || g[8] !== n || g[9] !== m || g[10] !== M || g[11] !== f || g[12] !== r || g[13] !== h || g[14] !== Q || g[15] !== j || g[16] !== w ? (k = s.jsx(D5, { children: s.jsxs(Q5, { $height: f, children: [s.jsx(P5, { children: s.jsx(L0, { children: e.map(x5) }) }), s.jsx(H5, { children: r ? s.jsx(L0, { children: s.jsx(C2, { colSpan: e.length, children: s.jsx(m5, { children: s.jsx(v5, { size: "small" }) }) }) }) : I.length === 0 ? s.jsx(L0, { children: s.jsx(C2, { colSpan: e.length, children: s.jsx(p5, { children: s.jsx(N4, { title: n.title, subTitle: n.subTitle, description: n.description }) }) }) }) : I.map((z) => s.jsxs(E0.Fragment, { children: [s.jsx(L0, { $striped: w, $clickable: Q && !!h, $selected: j === z.id, onClick: () => Q && h && M(z), children: e.map((P, L) => s.jsx(C2, { $width: P.width, $align: P.align, children: P.Cell ? P.Cell(z, d) : P.accessor && z[P.accessor] && s.jsx(t0, { color: l.colors.shade50, children: String(z[P.accessor]) }) }, L)) }), m.includes(z.id) && "containerColapsed" in z && typeof z.containerColapsed == "function" && s.jsx(G5, { children: z.containerColapsed(z) })] }, z.id)) })] }) }), g[6] = e, g[7] = I, g[8] = n, g[9] = m, g[10] = M, g[11] = f, g[12] = r, g[13] = h, g[14] = Q, g[15] = j, g[16] = w, g[17] = k) : k = g[17], k;
1758
1757
  }
1759
1758
  function x5(A, g) {
1760
1759
  return s.jsx(j5, { $width: A.width, $align: A.align, children: s.jsx(t0, { color: l.colors.shade30, textTransform: "uppercase", strongBold: !0, children: A.header }) }, g);
@@ -1817,7 +1816,7 @@ function QA({ partialMatch: A, text: g, searchWords: e, color: I, size: c, fontW
1817
1816
  return e.forEach((n) => {
1818
1817
  typeof n == "string" ? B.push({ words: [n], partialMatch: A || !1, color: I }) : B.push(n);
1819
1818
  }), B;
1820
- }, [e, A, I]), o = s0((B) => B ? B.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "") : "", []), a = i0(() => o(g), [g, o]), h = i0(() => g.normalize("NFC"), [g]), f = i0(() => {
1819
+ }, [e, A, I]), o = s0((B) => B ? B.toLowerCase().normalize("NFD").replace(/[\u0300-\u036f]/g, "") : "", []), a = i0(() => o(g), [g, o]), h = i0(() => g ? g.normalize("NFC") : "", [g]), f = i0(() => {
1821
1820
  const B = {};
1822
1821
  return t.forEach((n, w) => {
1823
1822
  B[w + 1] = n.color || "primary";
@@ -1826,38 +1825,39 @@ function QA({ partialMatch: A, text: g, searchWords: e, color: I, size: c, fontW
1826
1825
  if (!h) return [{ start: 0, text: h, lighted: 0 }];
1827
1826
  const B = Array(h.length).fill(0);
1828
1827
  for (let Q = 0; Q < t.length; Q += 1) {
1829
- const j = t[Q];
1830
- for (const m of j.words) {
1828
+ const H = t[Q];
1829
+ for (const m of H.words) {
1831
1830
  if (!m) continue;
1832
- let Y, H;
1833
- for (Y = j.partialMatch ? new RegExp(`${c1(m)}`, "gi") : new RegExp(`\\b${c1(m.trim())}\\b`, "gi"); (H = Y.exec(a)) !== null; ) for (let p = H.index; p < H.index + H[0].length; p += 1) B[p] = Q + 1;
1831
+ const Y = o(m).trim();
1832
+ let j, p;
1833
+ for (j = H.partialMatch ? new RegExp(`${c1(Y)}`, "gi") : new RegExp(`\\b${c1(Y)}\\b`, "gi"); (p = j.exec(a)) !== null; ) for (let i = p.index; i < p.index + p[0].length; i += 1) B[i] = Q + 1;
1834
1834
  }
1835
1835
  }
1836
1836
  const n = [];
1837
1837
  let w = { start: 0, text: "", lighted: 0 };
1838
1838
  for (let Q = 0; Q < h.length; Q += 1) B[Q] !== w.lighted && (w.text && n.push(w), w = { start: Q, text: "", lighted: B[Q] }), w.text += h[Q];
1839
1839
  return w.text && n.push(w), n;
1840
- }, [a, h, t]);
1840
+ }, [h, a, t, o]);
1841
1841
  return s.jsx(_5, { $size: c, $fontWeight: C, children: r.map((B) => B.lighted === 0 ? s.jsx("span", { children: B.text }, B.start) : s.jsx($5, { $color: f[B.lighted], children: B.text }, B.start)) });
1842
1842
  }
1843
1843
  const A7 = v.div.withConfig({ displayName: "Container", componentId: "sc-6xtsyg-0" })(["display:flex;align-items:center;z-index:", ";height:100vh;justify-content:center;position:fixed;inset:0;overflow:hidden;opacity:0;animation:1s ease 0s 1 normal forwards running fadeInModal;background-color:rgba(0,0,0,0.55);@keyframes fadeInModal{from{opacity:0;}to{opacity:1;}}"], l.zIndex.z8), g7 = v.div.withConfig({ displayName: "ContainerFilter", componentId: "sc-6xtsyg-1" })(["position:absolute;display:flex;flex-direction:column;top:0;right:", ";left:", ";background:white;width:450px;height:100%;box-shadow:0px -4px 6px 1px #0000004a;animation:", " 1s;.wrapper-heading{display:flex;padding:", ";height:80px;background-color:", ";color:", ";h3{margin:0;}}.icon{margin-right:", ";svg{width:", ";height:", ";}}.content-not-header{overflow:auto;height:inherit;}.content{overflow:auto;padding:", ";height:inherit;}.button-wrapp{border-top:1px solid ", ";background-color:", ";text-align:end;min-height:20px;padding:", ";button{margin-left:", ";}}"], (A) => A.$side === "right" ? "0" : "unset", (A) => A.$side === "left" ? "0" : "unset", ({ $side: A }) => A && I7(A), l.spacing.space3, l.colors.cyan40, l.colors.white, l.spacing.space3, l.spacing.space4, l.spacing.space4, l.spacing.space3, l.colors.shade20, l.colors.shade20, l.spacing.space3, l.spacing.space2), I7 = (A) => K0(A === "left" ? c7 : C7), C7 = { from: { opacity: 0, right: -500 }, to: { opacity: 1, right: 0 } }, c7 = { from: { opacity: 0, left: -500 }, to: { opacity: 1, left: 0 } }, e7 = { right: [{ opacity: 1, right: "0px" }, { opacity: 0, right: "-500px" }], left: [{ opacity: 1, left: "0px" }, { opacity: 0, left: "-500px" }] };
1844
1844
  function PA({ open: A, close: g, title: e, subTitle: I, icon: c, action: C, notHeader: t, side: o, refScroll: a, footer: h, children: f, ...r }) {
1845
1845
  const B = g0(null), n = async () => {
1846
- B.current && (await ((w, Q) => (Q && w.animate(e7[Q], 1e3), new Promise((j) => {
1847
- setTimeout(j, 1e3);
1846
+ B.current && (await ((w, Q) => (Q && w.animate(e7[Q], 1e3), new Promise((H) => {
1847
+ setTimeout(H, 1e3);
1848
1848
  })))(B.current, o), g && g());
1849
1849
  };
1850
1850
  return function(w, Q) {
1851
- const j = D0.c(4);
1851
+ const H = D0.c(4);
1852
1852
  let m, Y;
1853
- j[0] !== Q || j[1] !== w ? (m = () => {
1854
- const H = (p) => {
1853
+ H[0] !== Q || H[1] !== w ? (m = () => {
1854
+ const j = (p) => {
1855
1855
  w.current && !w.current.contains(p.target) && Q(p);
1856
1856
  };
1857
- return document.addEventListener("mousedown", H), document.addEventListener("touchstart", H), () => {
1858
- document.removeEventListener("mousedown", H), document.removeEventListener("touchstart", H);
1857
+ return document.addEventListener("mousedown", j), document.addEventListener("touchstart", j), () => {
1858
+ document.removeEventListener("mousedown", j), document.removeEventListener("touchstart", j);
1859
1859
  };
1860
- }, Y = [w, Q], j[0] = Q, j[1] = w, j[2] = m, j[3] = Y) : (m = j[2], Y = j[3]), l0(m, Y);
1860
+ }, Y = [w, Q], H[0] = Q, H[1] = w, H[2] = m, H[3] = Y) : (m = H[2], Y = H[3]), l0(m, Y);
1861
1861
  }(B, n), A ? s1.createPortal(s.jsx(A7, { ...r, children: s.jsxs(g7, { ref: B, $side: o || "right", ...r, children: [t ? s.jsx("div", { className: "content-not-header", ref: a, children: f }) : s.jsxs(s.Fragment, { children: [s.jsxs("div", { className: "wrapper-heading", children: [c && s.jsx("span", { className: "icon", children: c }), s.jsxs("div", { children: [s.jsx(d0, { element: "h3", bold: !0, color: "white", children: e }), s.jsx(d0, { element: "span", size: "p3", color: "white", children: I && I })] })] }), s.jsx("div", { className: "content", ref: a, children: f })] }), h !== !1 && s.jsxs("div", { className: "button-wrapp", children: [s.jsx(e4, { size: "small", variant: "gray", onClick: n, children: "Fechar" }), C] })] }) }), document.body) : null;
1862
1862
  }
1863
1863
  const l7 = v.button.withConfig({ displayName: "ContainerButtonRadius", componentId: "sc-1dj9n91-0" })(["border-radius:50%;transition:transform 0.3s;cursor:pointer;"]), e1 = (A) => A === "small" ? "25px" : A === "large" ? "36px" : "30px", s7 = v(l7).withConfig({ displayName: "StyledButtonRadius", componentId: "sc-1dj9n91-1" })(["display:flex;align-items:center;justify-content:center;border:", ";", ";", ";width:", ";height:", ";svg{width:", ";height:", ";}&:disabled{opacity:0.4;cursor:not-allowed;}&:hover:not(:disabled){transform:scale(1.03);box-shadow:0 4px 4px rgba(0,0,0,0.1);}:active:not(:disabled){transform:scale(1.01);opacity:0.8;}"], ({ $outlined: A }) => A ? "1px solid" : "0", ({ $outlined: A, $color: g }) => A && M3[g || "primary"], ({ $color: A, $outlined: g }) => !g && m0[A || "primary"], ({ $size: A }) => A ? e1(A) : "30px", ({ $size: A }) => A ? e1(A) : "30px", ({ $size: A }) => A === "small" ? "10px" : "14px", ({ $size: A }) => A === "small" ? "10px" : "14px");
@@ -1868,11 +1868,11 @@ const o7 = v.div.withConfig({ displayName: "Container", componentId: "sc-14ojx0b
1868
1868
  v.div.withConfig({ displayName: "ContainerIcon", componentId: "sc-14ojx0b-1" })(["position:relative;left:65px;z-index:2;svg{color:", ";position:absolute;z-index:2;left:-50px;top:14px;width:19px;height:19px;transition:180ms ease-in-out;}"], l.colors.shade50);
1869
1869
  const i7 = v.div.withConfig({ displayName: "ContainerInput", componentId: "sc-14ojx0b-2" })(["display:flex;height:100%;-webkit-box-align:center;"]), h7 = v.textarea.withConfig({ displayName: "WrapperTextArea", componentId: "sc-14ojx0b-3" })(["width:100%;min-width:65px;height:100%;border:none;background:rgb(250,250,251);box-shadow:rgb(229 231 235) 0px 0px 0px 1.2px inset;border:", ";border-radius:var(--component-border-radius,5px);padding:16px;padding-right:", ";color:", ";font-size:", ";transition:180ms ease-in-out;&:-webkit-autofill:active{-webkit-box-shadow:0 0 0 30px #f5f5f5 inset;box-shadow:0 0 30px #f5f5f5 inset;font-weight:500;}&:focus{box-shadow:inset 0 0 0 1.5px ", ";color:", ";background:", ";~ svg{color:", ";}}"], ({ validate: A }) => !A && `1px solid ${l.colors.red30}`, ({ autoClear: A }) => A ? "40px" : "12px", ({ validate: A }) => A ? l.colors.shade70 : l.colors.red40, l.fontSizes.p2, ({ validate: A }) => A ? "#1b38a5" : l.colors.red30, ({ validate: A }) => A ? l.colors.shade70 : l.colors.red30, l.colors.white, ({ validate: A }) => A ? l.colors.cyan40 : l.colors.red30), a7 = v.span.withConfig({ displayName: "LabelContainer", componentId: "sc-14ojx0b-4" })(["position:absolute;display:inline-flex;-webkit-box-align:center;top:-16px;align-items:center;"]), f7 = v.label.withConfig({ displayName: "WrapperLabel", componentId: "sc-14ojx0b-5" })(["text-align:left;font-size:12px;line-height:16px;letter-spacing:0;font-weight:normal;color:rgb(114,119,128);text-transform:none;top:", ";left:8px;z-index:2;position:relative;padding:0 ", ";width:auto;white-space:nowrap;background:linear-gradient(transparent 43%,rgb(250,250,251) 43%,rgb(250,250,251) 100%);"], l.spacing.space2, l.spacing.space2), n7 = v.div.withConfig({ displayName: "CleanInput", componentId: "sc-14ojx0b-6" })(["position:relative;right:13px;top:50%;"]), B7 = v.div.withConfig({ displayName: "WrapperCleanInput", componentId: "sc-14ojx0b-7" })(["position:absolute;right:0;top:0;"]), r7 = v.div.withConfig({ displayName: "Message", componentId: "sc-14ojx0b-8" })(["margin-top:3px;width:100%;font-size:", ";color:", ";"], l.fontSizes.p0, l.colors.red30);
1870
1870
  function HA(A) {
1871
- const g = D0.c(24), { size: e, validate: I, name: c, value: C, onChange: t, placeholder: o, icon: a, message: h, autoClear: f, id: r, props: B, onCleanup: n } = A, [w, Q] = q(!1), j = w && c;
1871
+ const g = D0.c(24), { size: e, validate: I, name: c, value: C, onChange: t, placeholder: o, icon: a, message: h, autoClear: f, id: r, props: B, onCleanup: n } = A, [w, Q] = q(!1), H = w && c;
1872
1872
  let m;
1873
- if (g[0] !== f || g[1] !== a || g[2] !== r || g[3] !== h || g[4] !== c || g[5] !== t || g[6] !== n || g[7] !== o || g[8] !== B || g[9] !== e || g[10] !== j || g[11] !== I || g[12] !== C || g[13] !== w) {
1874
- let Y, H, p, i;
1875
- g[15] !== t ? (Y = (M) => t(M.target), g[15] = t, g[16] = Y) : Y = g[16], g[17] === Symbol.for("react.memo_cache_sentinel") ? (H = () => Q(!0), g[17] = H) : H = g[17], g[18] !== C ? (p = () => !C && Q(!1), g[18] = C, g[19] = p) : p = g[19], g[20] !== f || g[21] !== n || g[22] !== C ? (i = f && n && !!C && C.length > 3 && s.jsx(n7, { children: s.jsx(B7, { children: s.jsx(t7, { icon: s.jsx(I0, { src: f2, width: "24px" }), size: "small", color: "default", onClick: n, outlined: !0 }) }) }), g[20] = f, g[21] = n, g[22] = C, g[23] = i) : i = g[23], m = s.jsxs(o7, { children: [s.jsx(a7, { children: s.jsx(f7, { children: j }) }), s.jsxs(i7, { children: [s.jsx(h7, { size: e, autocomplete: "off", autoCorrect: "off", autoCapitalize: "off", ...B, id: r, name: c, value: C, onChange: Y, icon: a, placeholder: w ? o : c, validate: I, onFocus: H, onBlur: p }), i] }), !I && s.jsx(r7, { children: h })] }), g[0] = f, g[1] = a, g[2] = r, g[3] = h, g[4] = c, g[5] = t, g[6] = n, g[7] = o, g[8] = B, g[9] = e, g[10] = j, g[11] = I, g[12] = C, g[13] = w, g[14] = m;
1873
+ if (g[0] !== f || g[1] !== a || g[2] !== r || g[3] !== h || g[4] !== c || g[5] !== t || g[6] !== n || g[7] !== o || g[8] !== B || g[9] !== e || g[10] !== H || g[11] !== I || g[12] !== C || g[13] !== w) {
1874
+ let Y, j, p, i;
1875
+ g[15] !== t ? (Y = (M) => t(M.target), g[15] = t, g[16] = Y) : Y = g[16], g[17] === Symbol.for("react.memo_cache_sentinel") ? (j = () => Q(!0), g[17] = j) : j = g[17], g[18] !== C ? (p = () => !C && Q(!1), g[18] = C, g[19] = p) : p = g[19], g[20] !== f || g[21] !== n || g[22] !== C ? (i = f && n && !!C && C.length > 3 && s.jsx(n7, { children: s.jsx(B7, { children: s.jsx(t7, { icon: s.jsx(I0, { src: f2, width: "24px" }), size: "small", color: "default", onClick: n, outlined: !0 }) }) }), g[20] = f, g[21] = n, g[22] = C, g[23] = i) : i = g[23], m = s.jsxs(o7, { children: [s.jsx(a7, { children: s.jsx(f7, { children: H }) }), s.jsxs(i7, { children: [s.jsx(h7, { size: e, autocomplete: "off", autoCorrect: "off", autoCapitalize: "off", ...B, id: r, name: c, value: C, onChange: Y, icon: a, placeholder: w ? o : c, validate: I, onFocus: j, onBlur: p }), i] }), !I && s.jsx(r7, { children: h })] }), g[0] = f, g[1] = a, g[2] = r, g[3] = h, g[4] = c, g[5] = t, g[6] = n, g[7] = o, g[8] = B, g[9] = e, g[10] = H, g[11] = I, g[12] = C, g[13] = w, g[14] = m;
1876
1876
  } else m = g[14];
1877
1877
  return m;
1878
1878
  }