@aveonline/ui-react 1.6.11 → 1.6.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui-react.mjs CHANGED
@@ -138,40 +138,40 @@ function H3() {
138
138
  function m(p) {
139
139
  if (p === null || typeof p != "object")
140
140
  return null;
141
- var w = I && p[I] || p[g];
142
- return typeof w == "function" ? w : null;
141
+ var V = I && p[I] || p[g];
142
+ return typeof V == "function" ? V : null;
143
143
  }
144
144
  var h = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
145
145
  function B(p) {
146
146
  {
147
- for (var w = arguments.length, F = new Array(w > 1 ? w - 1 : 0), j = 1; j < w; j++)
147
+ for (var V = arguments.length, F = new Array(V > 1 ? V - 1 : 0), j = 1; j < V; j++)
148
148
  F[j - 1] = arguments[j];
149
- y("error", p, F);
149
+ Q("error", p, F);
150
150
  }
151
151
  }
152
- function y(p, w, F) {
152
+ function Q(p, V, F) {
153
153
  {
154
154
  var j = h.ReactDebugCurrentFrame, $ = j.getStackAddendum();
155
- $ !== "" && (w += "%s", F = F.concat([$]));
155
+ $ !== "" && (V += "%s", F = F.concat([$]));
156
156
  var s1 = F.map(function(K) {
157
157
  return String(K);
158
158
  });
159
- s1.unshift("Warning: " + w), Function.prototype.apply.call(console[p], console, s1);
159
+ s1.unshift("Warning: " + V), Function.prototype.apply.call(console[p], console, s1);
160
160
  }
161
161
  }
162
- var b = !1, v = !1, Q = !1, R = !1, S = !1, V;
163
- V = Symbol.for("react.module.reference");
164
- function P(p) {
165
- return !!(typeof p == "string" || typeof p == "function" || p === i || p === o || S || p === r || p === u || p === c || R || p === f || b || v || Q || typeof p == "object" && p !== null && (p.$$typeof === C || p.$$typeof === d || p.$$typeof === a || p.$$typeof === l || p.$$typeof === s || p.$$typeof === V || p.getModuleId !== void 0));
162
+ var b = !1, v = !1, R = !1, y = !1, P = !1, S;
163
+ S = Symbol.for("react.module.reference");
164
+ function w(p) {
165
+ return !!(typeof p == "string" || typeof p == "function" || p === i || p === o || P || p === r || p === u || p === c || y || p === f || b || v || R || typeof p == "object" && p !== null && (p.$$typeof === C || p.$$typeof === d || p.$$typeof === a || p.$$typeof === l || p.$$typeof === s || p.$$typeof === S || p.getModuleId !== void 0));
166
166
  }
167
- function T(p, w, F) {
167
+ function H(p, V, F) {
168
168
  var j = p.displayName;
169
169
  if (j)
170
170
  return j;
171
- var $ = w.displayName || w.name || "";
171
+ var $ = V.displayName || V.name || "";
172
172
  return $ !== "" ? F + "(" + $ + ")" : F;
173
173
  }
174
- function H(p) {
174
+ function O(p) {
175
175
  return p.displayName || "Context";
176
176
  }
177
177
  function G(p) {
@@ -198,13 +198,13 @@ function H3() {
198
198
  if (typeof p == "object")
199
199
  switch (p.$$typeof) {
200
200
  case l:
201
- var w = p;
202
- return H(w) + ".Consumer";
201
+ var V = p;
202
+ return O(V) + ".Consumer";
203
203
  case a:
204
204
  var F = p;
205
- return H(F._context) + ".Provider";
205
+ return O(F._context) + ".Provider";
206
206
  case s:
207
- return T(p, p.render, "ForwardRef");
207
+ return H(p, p.render, "ForwardRef");
208
208
  case d:
209
209
  var j = p.displayName || null;
210
210
  return j !== null ? j : G(p.type) || "Memo";
@@ -282,7 +282,7 @@ function H3() {
282
282
  }
283
283
  }
284
284
  var Q1 = h.ReactCurrentDispatcher, R1;
285
- function N1(p, w, F) {
285
+ function N1(p, V, F) {
286
286
  {
287
287
  if (R1 === void 0)
288
288
  try {
@@ -300,7 +300,7 @@ function H3() {
300
300
  var ce = typeof WeakMap == "function" ? WeakMap : Map;
301
301
  _1 = new ce();
302
302
  }
303
- function O(p, w) {
303
+ function T(p, V) {
304
304
  if (!p || j1)
305
305
  return "";
306
306
  {
@@ -315,7 +315,7 @@ function H3() {
315
315
  var s1;
316
316
  s1 = Q1.current, Q1.current = null, F1();
317
317
  try {
318
- if (w) {
318
+ if (V) {
319
319
  var K = function() {
320
320
  throw Error();
321
321
  };
@@ -371,18 +371,18 @@ function H3() {
371
371
  var Ve = p ? p.displayName || p.name : "", Mn = Ve ? N1(Ve) : "";
372
372
  return typeof p == "function" && _1.set(p, Mn), Mn;
373
373
  }
374
- function te(p, w, F) {
375
- return O(p, !1);
374
+ function te(p, V, F) {
375
+ return T(p, !1);
376
376
  }
377
377
  function z1(p) {
378
- var w = p.prototype;
379
- return !!(w && w.isReactComponent);
378
+ var V = p.prototype;
379
+ return !!(V && V.isReactComponent);
380
380
  }
381
- function k1(p, w, F) {
381
+ function k1(p, V, F) {
382
382
  if (p == null)
383
383
  return "";
384
384
  if (typeof p == "function")
385
- return O(p, z1(p));
385
+ return T(p, z1(p));
386
386
  if (typeof p == "string")
387
387
  return N1(p);
388
388
  switch (p) {
@@ -396,11 +396,11 @@ function H3() {
396
396
  case s:
397
397
  return te(p.render);
398
398
  case d:
399
- return k1(p.type, w, F);
399
+ return k1(p.type, V, F);
400
400
  case C: {
401
401
  var j = p, $ = j._payload, s1 = j._init;
402
402
  try {
403
- return k1(s1($), w, F);
403
+ return k1(s1($), V, F);
404
404
  } catch {
405
405
  }
406
406
  }
@@ -410,12 +410,12 @@ function H3() {
410
410
  var xe = Object.prototype.hasOwnProperty, g2 = {}, Ae = h.ReactDebugCurrentFrame;
411
411
  function J1(p) {
412
412
  if (p) {
413
- var w = p._owner, F = k1(p.type, p._source, w ? w.type : null);
413
+ var V = p._owner, F = k1(p.type, p._source, V ? V.type : null);
414
414
  Ae.setExtraStackFrame(F);
415
415
  } else
416
416
  Ae.setExtraStackFrame(null);
417
417
  }
418
- function D1(p, w, F, j, $) {
418
+ function D1(p, V, F, j, $) {
419
419
  {
420
420
  var s1 = Function.call.bind(xe);
421
421
  for (var K in p)
@@ -426,7 +426,7 @@ function H3() {
426
426
  var L1 = Error((j || "React class") + ": " + F + " type `" + K + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof p[K] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
427
427
  throw L1.name = "Invariant Violation", L1;
428
428
  }
429
- U = p[K](w, K, j, F, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
429
+ U = p[K](V, K, j, F, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
430
430
  } catch (E1) {
431
431
  U = E1;
432
432
  }
@@ -440,7 +440,7 @@ function H3() {
440
440
  }
441
441
  function C3(p) {
442
442
  {
443
- var w = typeof Symbol == "function" && Symbol.toStringTag, F = w && p[Symbol.toStringTag] || p.constructor.name || "Object";
443
+ var V = typeof Symbol == "function" && Symbol.toStringTag, F = V && p[Symbol.toStringTag] || p.constructor.name || "Object";
444
444
  return F;
445
445
  }
446
446
  }
@@ -467,30 +467,30 @@ function H3() {
467
467
  nt = {};
468
468
  function I3(p) {
469
469
  if (xe.call(p, "ref")) {
470
- var w = Object.getOwnPropertyDescriptor(p, "ref").get;
471
- if (w && w.isReactWarning)
470
+ var V = Object.getOwnPropertyDescriptor(p, "ref").get;
471
+ if (V && V.isReactWarning)
472
472
  return !1;
473
473
  }
474
474
  return p.ref !== void 0;
475
475
  }
476
476
  function E3(p) {
477
477
  if (xe.call(p, "key")) {
478
- var w = Object.getOwnPropertyDescriptor(p, "key").get;
479
- if (w && w.isReactWarning)
478
+ var V = Object.getOwnPropertyDescriptor(p, "key").get;
479
+ if (V && V.isReactWarning)
480
480
  return !1;
481
481
  }
482
482
  return p.key !== void 0;
483
483
  }
484
- function p3(p, w) {
485
- if (typeof p.ref == "string" && Te.current && w && Te.current.stateNode !== w) {
484
+ function p3(p, V) {
485
+ if (typeof p.ref == "string" && Te.current && V && Te.current.stateNode !== V) {
486
486
  var F = G(Te.current.type);
487
487
  nt[F] || (B('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', G(Te.current.type), p.ref), nt[F] = !0);
488
488
  }
489
489
  }
490
- function m3(p, w) {
490
+ function m3(p, V) {
491
491
  {
492
492
  var F = function() {
493
- Qn || (Qn = !0, B("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
493
+ Qn || (Qn = !0, B("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", V));
494
494
  };
495
495
  F.isReactWarning = !0, Object.defineProperty(p, "key", {
496
496
  get: F,
@@ -498,10 +498,10 @@ function H3() {
498
498
  });
499
499
  }
500
500
  }
501
- function b3(p, w) {
501
+ function b3(p, V) {
502
502
  {
503
503
  var F = function() {
504
- yn || (yn = !0, B("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
504
+ yn || (yn = !0, B("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", V));
505
505
  };
506
506
  F.isReactWarning = !0, Object.defineProperty(p, "ref", {
507
507
  get: F,
@@ -509,11 +509,11 @@ function H3() {
509
509
  });
510
510
  }
511
511
  }
512
- var h3 = function(p, w, F, j, $, s1, K) {
512
+ var h3 = function(p, V, F, j, $, s1, K) {
513
513
  var U = {
514
514
  $$typeof: t,
515
515
  type: p,
516
- key: w,
516
+ key: V,
517
517
  ref: F,
518
518
  props: K,
519
519
  _owner: s1
@@ -535,12 +535,12 @@ function H3() {
535
535
  value: $
536
536
  }), Object.freeze && (Object.freeze(U.props), Object.freeze(U)), U;
537
537
  };
538
- function v3(p, w, F, j, $) {
538
+ function v3(p, V, F, j, $) {
539
539
  {
540
540
  var s1, K = {}, U = null, L1 = null;
541
- F !== void 0 && (Bn(F), U = "" + F), E3(w) && (Bn(w.key), U = "" + w.key), I3(w) && (L1 = w.ref, p3(w, $));
542
- for (s1 in w)
543
- xe.call(w, s1) && !f3.hasOwnProperty(s1) && (K[s1] = w[s1]);
541
+ F !== void 0 && (Bn(F), U = "" + F), E3(V) && (Bn(V.key), U = "" + V.key), I3(V) && (L1 = V.ref, p3(V, $));
542
+ for (s1 in V)
543
+ xe.call(V, s1) && !f3.hasOwnProperty(s1) && (K[s1] = V[s1]);
544
544
  if (p && p.defaultProps) {
545
545
  var E1 = p.defaultProps;
546
546
  for (s1 in E1)
@@ -556,7 +556,7 @@ function H3() {
556
556
  var rt = h.ReactCurrentOwner, Rn = h.ReactDebugCurrentFrame;
557
557
  function we(p) {
558
558
  if (p) {
559
- var w = p._owner, F = k1(p.type, p._source, w ? w.type : null);
559
+ var V = p._owner, F = k1(p.type, p._source, V ? V.type : null);
560
560
  Rn.setExtraStackFrame(F);
561
561
  } else
562
562
  Rn.setExtraStackFrame(null);
@@ -581,10 +581,10 @@ Check the render method of \`` + p + "`.";
581
581
  function B3(p) {
582
582
  {
583
583
  if (p !== void 0) {
584
- var w = p.fileName.replace(/^.*[\\\/]/, ""), F = p.lineNumber;
584
+ var V = p.fileName.replace(/^.*[\\\/]/, ""), F = p.lineNumber;
585
585
  return `
586
586
 
587
- Check your code at ` + w + ":" + F + ".";
587
+ Check your code at ` + V + ":" + F + ".";
588
588
  }
589
589
  return "";
590
590
  }
@@ -592,22 +592,22 @@ Check your code at ` + w + ":" + F + ".";
592
592
  var wn = {};
593
593
  function Q3(p) {
594
594
  {
595
- var w = xn();
596
- if (!w) {
595
+ var V = xn();
596
+ if (!V) {
597
597
  var F = typeof p == "string" ? p : p.displayName || p.name;
598
- F && (w = `
598
+ F && (V = `
599
599
 
600
600
  Check the top-level render call using <` + F + ">.");
601
601
  }
602
- return w;
602
+ return V;
603
603
  }
604
604
  }
605
- function Vn(p, w) {
605
+ function Vn(p, V) {
606
606
  {
607
607
  if (!p._store || p._store.validated || p.key != null)
608
608
  return;
609
609
  p._store.validated = !0;
610
- var F = Q3(w);
610
+ var F = Q3(V);
611
611
  if (wn[F])
612
612
  return;
613
613
  wn[F] = !0;
@@ -615,14 +615,14 @@ Check the top-level render call using <` + F + ">.");
615
615
  p && p._owner && p._owner !== rt.current && (j = " It was passed a child from " + G(p._owner.type) + "."), we(p), B('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', F, j), we(null);
616
616
  }
617
617
  }
618
- function Pn(p, w) {
618
+ function Pn(p, V) {
619
619
  {
620
620
  if (typeof p != "object")
621
621
  return;
622
622
  if (me(p))
623
623
  for (var F = 0; F < p.length; F++) {
624
624
  var j = p[F];
625
- ot(j) && Vn(j, w);
625
+ ot(j) && Vn(j, V);
626
626
  }
627
627
  else if (ot(p))
628
628
  p._store && (p._store.validated = !0);
@@ -630,37 +630,37 @@ Check the top-level render call using <` + F + ">.");
630
630
  var $ = m(p);
631
631
  if (typeof $ == "function" && $ !== p.entries)
632
632
  for (var s1 = $.call(p), K; !(K = s1.next()).done; )
633
- ot(K.value) && Vn(K.value, w);
633
+ ot(K.value) && Vn(K.value, V);
634
634
  }
635
635
  }
636
636
  }
637
637
  function y3(p) {
638
638
  {
639
- var w = p.type;
640
- if (w == null || typeof w == "string")
639
+ var V = p.type;
640
+ if (V == null || typeof V == "string")
641
641
  return;
642
642
  var F;
643
- if (typeof w == "function")
644
- F = w.propTypes;
645
- else if (typeof w == "object" && (w.$$typeof === s || w.$$typeof === d))
646
- F = w.propTypes;
643
+ if (typeof V == "function")
644
+ F = V.propTypes;
645
+ else if (typeof V == "object" && (V.$$typeof === s || V.$$typeof === d))
646
+ F = V.propTypes;
647
647
  else
648
648
  return;
649
649
  if (F) {
650
- var j = G(w);
650
+ var j = G(V);
651
651
  D1(F, p.props, "prop", j, p);
652
- } else if (w.PropTypes !== void 0 && !it) {
652
+ } else if (V.PropTypes !== void 0 && !it) {
653
653
  it = !0;
654
- var $ = G(w);
654
+ var $ = G(V);
655
655
  B("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
656
656
  }
657
- typeof w.getDefaultProps == "function" && !w.getDefaultProps.isReactClassApproved && B("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
657
+ typeof V.getDefaultProps == "function" && !V.getDefaultProps.isReactClassApproved && B("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
658
658
  }
659
659
  }
660
660
  function R3(p) {
661
661
  {
662
- for (var w = Object.keys(p.props), F = 0; F < w.length; F++) {
663
- var j = w[F];
662
+ for (var V = Object.keys(p.props), F = 0; F < V.length; F++) {
663
+ var j = V[F];
664
664
  if (j !== "children" && j !== "key") {
665
665
  we(p), B("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", j), we(null);
666
666
  break;
@@ -669,9 +669,9 @@ Check the top-level render call using <` + F + ">.");
669
669
  p.ref !== null && (we(p), B("Invalid attribute `ref` supplied to `React.Fragment`."), we(null));
670
670
  }
671
671
  }
672
- function Sn(p, w, F, j, $, s1) {
672
+ function Sn(p, V, F, j, $, s1) {
673
673
  {
674
- var K = P(p);
674
+ var K = w(p);
675
675
  if (!K) {
676
676
  var U = "";
677
677
  (p === void 0 || typeof p == "object" && p !== null && Object.keys(p).length === 0) && (U += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
@@ -680,11 +680,11 @@ Check the top-level render call using <` + F + ">.");
680
680
  var E1;
681
681
  p === null ? E1 = "null" : me(p) ? E1 = "array" : p !== void 0 && p.$$typeof === t ? (E1 = "<" + (G(p.type) || "Unknown") + " />", U = " Did you accidentally export a JSX literal instead of a component?") : E1 = typeof p, B("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E1, U);
682
682
  }
683
- var b1 = v3(p, w, F, $, s1);
683
+ var b1 = v3(p, V, F, $, s1);
684
684
  if (b1 == null)
685
685
  return b1;
686
686
  if (K) {
687
- var W1 = w.children;
687
+ var W1 = V.children;
688
688
  if (W1 !== void 0)
689
689
  if (j)
690
690
  if (me(W1)) {
@@ -699,11 +699,11 @@ Check the top-level render call using <` + F + ">.");
699
699
  return p === i ? R3(b1) : y3(b1), b1;
700
700
  }
701
701
  }
702
- function x3(p, w, F) {
703
- return Sn(p, w, F, !0);
702
+ function x3(p, V, F) {
703
+ return Sn(p, V, F, !0);
704
704
  }
705
- function w3(p, w, F) {
706
- return Sn(p, w, F, !1);
705
+ function w3(p, V, F) {
706
+ return Sn(p, V, F, !1);
707
707
  }
708
708
  var V3 = w3, P3 = x3;
709
709
  ke.Fragment = i, ke.jsx = V3, ke.jsxs = P3;
@@ -1786,20 +1786,20 @@ let y0 = "div", R0 = ve.RenderStrategy | ve.Static, x0 = f1(function(e, t) {
1786
1786
  throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${n}`);
1787
1787
  if (typeof i != "function")
1788
1788
  throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${i}`);
1789
- let h = n ? 0 : 1, [B, y] = H2(Q0, {
1789
+ let h = n ? 0 : 1, [B, Q] = H2(Q0, {
1790
1790
  titleId: null,
1791
1791
  descriptionId: null,
1792
1792
  panelRef: G3()
1793
- }), b = n1(() => i(!1)), v = n1((L) => y({
1793
+ }), b = n1(() => i(!1)), v = n1((L) => Q({
1794
1794
  type: 0,
1795
1795
  id: L
1796
- })), Q = Z2() ? o ? !1 : h === 0 : !1, R = l > 1, S = p1(y2) !== null, V = R ? "parent" : "leaf";
1797
- u0(d, R ? Q : !1), U3(() => {
1796
+ })), R = Z2() ? o ? !1 : h === 0 : !1, y = l > 1, P = p1(y2) !== null, S = y ? "parent" : "leaf";
1797
+ u0(d, y ? R : !1), U3(() => {
1798
1798
  var L, W;
1799
1799
  return [...Array.from((L = I == null ? void 0 : I.querySelectorAll("body > *, [data-headlessui-portal]")) != null ? L : []).filter((Z) => !(!(Z instanceof HTMLElement) || Z.contains(f.current) || B.panelRef.current && Z.contains(B.panelRef.current))), (W = B.panelRef.current) != null ? W : d.current];
1800
- }, b, Q && !R), Ot(I == null ? void 0 : I.defaultView, "keydown", (L) => {
1801
- L.defaultPrevented || L.key === c1.Escape && h === 0 && (R || (L.preventDefault(), L.stopPropagation(), b()));
1802
- }), B0(I, h === 0 && !S), A1(() => {
1800
+ }, b, R && !y), Ot(I == null ? void 0 : I.defaultView, "keydown", (L) => {
1801
+ L.defaultPrevented || L.key === c1.Escape && h === 0 && (y || (L.preventDefault(), L.stopPropagation(), b()));
1802
+ }), B0(I, h === 0 && !P), A1(() => {
1803
1803
  if (h !== 0 || !d.current)
1804
1804
  return;
1805
1805
  let L = new IntersectionObserver((W) => {
@@ -1808,7 +1808,7 @@ let y0 = "div", R0 = ve.RenderStrategy | ve.Static, x0 = f1(function(e, t) {
1808
1808
  });
1809
1809
  return L.observe(d.current), () => L.disconnect();
1810
1810
  }, [h, d, b]);
1811
- let [P, T] = X2(), H = `headlessui-dialog-${T1()}`, G = z(() => [{
1811
+ let [w, H] = X2(), O = `headlessui-dialog-${T1()}`, G = z(() => [{
1812
1812
  dialogState: h,
1813
1813
  close: b,
1814
1814
  setTitleId: v
@@ -1816,11 +1816,11 @@ let y0 = "div", R0 = ve.RenderStrategy | ve.Static, x0 = f1(function(e, t) {
1816
1816
  open: h === 0
1817
1817
  }), [h]), N = {
1818
1818
  ref: C,
1819
- id: H,
1819
+ id: O,
1820
1820
  role: "dialog",
1821
1821
  "aria-modal": h === 0 ? !0 : void 0,
1822
1822
  "aria-labelledby": B.titleId,
1823
- "aria-describedby": P
1823
+ "aria-describedby": w
1824
1824
  };
1825
1825
  return a1.createElement(p0, {
1826
1826
  type: "Dialog",
@@ -1845,13 +1845,13 @@ let y0 = "div", R0 = ve.RenderStrategy | ve.Static, x0 = f1(function(e, t) {
1845
1845
  target: d,
1846
1846
  children: /* @__PURE__ */ A(Qt, {
1847
1847
  force: !1,
1848
- children: /* @__PURE__ */ A(T, {
1848
+ children: /* @__PURE__ */ A(H, {
1849
1849
  slot: x,
1850
1850
  name: "Dialog.Description",
1851
1851
  children: /* @__PURE__ */ A(Xe, {
1852
1852
  initialFocus: r,
1853
1853
  containers: c,
1854
- features: Q ? O1(V, {
1854
+ features: R ? O1(S, {
1855
1855
  parent: Xe.features.RestoreFocus,
1856
1856
  leaf: Xe.features.All & ~Xe.features.FocusLock
1857
1857
  }) : Xe.features.None,
@@ -2066,8 +2066,8 @@ let Z0 = G1, k0 = f1(function(e, t) {
2066
2066
  let B = Re(a);
2067
2067
  if (!B)
2068
2068
  return;
2069
- let y = (() => h ? h instanceof HTMLElement ? h : h.current instanceof HTMLElement ? h.current : B.getElementById(r) : B.getElementById(r))();
2070
- y == null || y.focus();
2069
+ let Q = (() => h ? h instanceof HTMLElement ? h : h.current instanceof HTMLElement ? h.current : B.getElementById(r) : B.getElementById(r))();
2070
+ Q == null || Q.focus();
2071
2071
  }), I = z(() => ({
2072
2072
  close: f
2073
2073
  }), [f]), g = z(() => ({
@@ -2278,7 +2278,7 @@ let $0 = "div", e5 = f1(function(e, t) {
2278
2278
  return (x == null ? void 0 : x[L]) === (N == null ? void 0 : N[L]);
2279
2279
  } : a), [c, d] = H2(_0, {
2280
2280
  options: []
2281
- }), C = c.options, [f, I] = Yt(), [g, m] = X2(), h = `headlessui-radiogroup-${T1()}`, B = X(null), y = m1(B, t), [b, v] = Yr(n, o, i), Q = z(() => C.find((x) => !x.propsRef.current.disabled), [C]), R = z(() => C.some((x) => u(x.propsRef.current.value, b)), [C, b]), S = n1((x) => {
2281
+ }), C = c.options, [f, I] = Yt(), [g, m] = X2(), h = `headlessui-radiogroup-${T1()}`, B = X(null), Q = m1(B, t), [b, v] = Yr(n, o, i), R = z(() => C.find((x) => !x.propsRef.current.disabled), [C]), y = z(() => C.some((x) => u(x.propsRef.current.value, b)), [C, b]), P = n1((x) => {
2282
2282
  var N;
2283
2283
  if (l || u(x, b))
2284
2284
  return !1;
@@ -2294,7 +2294,7 @@ let $0 = "div", e5 = f1(function(e, t) {
2294
2294
  x.setAttribute("role", "none");
2295
2295
  }
2296
2296
  });
2297
- let V = n1((x) => {
2297
+ let S = n1((x) => {
2298
2298
  let N = B.current;
2299
2299
  if (!N)
2300
2300
  return;
@@ -2307,45 +2307,45 @@ let $0 = "div", e5 = f1(function(e, t) {
2307
2307
  case c1.ArrowUp:
2308
2308
  if (x.preventDefault(), x.stopPropagation(), K1(W, x1.Previous | x1.WrapAround) === ge.Success) {
2309
2309
  let Z = C.find((J) => J.element.current === (L == null ? void 0 : L.activeElement));
2310
- Z && S(Z.propsRef.current.value);
2310
+ Z && P(Z.propsRef.current.value);
2311
2311
  }
2312
2312
  break;
2313
2313
  case c1.ArrowRight:
2314
2314
  case c1.ArrowDown:
2315
2315
  if (x.preventDefault(), x.stopPropagation(), K1(W, x1.Next | x1.WrapAround) === ge.Success) {
2316
2316
  let Z = C.find((J) => J.element.current === (L == null ? void 0 : L.activeElement));
2317
- Z && S(Z.propsRef.current.value);
2317
+ Z && P(Z.propsRef.current.value);
2318
2318
  }
2319
2319
  break;
2320
2320
  case c1.Space:
2321
2321
  {
2322
2322
  x.preventDefault(), x.stopPropagation();
2323
2323
  let Z = C.find((J) => J.element.current === (L == null ? void 0 : L.activeElement));
2324
- Z && S(Z.propsRef.current.value);
2324
+ Z && P(Z.propsRef.current.value);
2325
2325
  }
2326
2326
  break;
2327
2327
  }
2328
- }), P = n1((x) => (d({
2328
+ }), w = n1((x) => (d({
2329
2329
  type: 0,
2330
2330
  ...x
2331
2331
  }), () => d({
2332
2332
  type: 1,
2333
2333
  id: x.id
2334
- }))), T = z(() => ({
2335
- registerOption: P,
2336
- firstOption: Q,
2337
- containsCheckedOption: R,
2338
- change: S,
2334
+ }))), H = z(() => ({
2335
+ registerOption: w,
2336
+ firstOption: R,
2337
+ containsCheckedOption: y,
2338
+ change: P,
2339
2339
  disabled: l,
2340
2340
  value: b,
2341
2341
  compare: u
2342
- }), [P, Q, R, S, l, b, u]), H = {
2343
- ref: y,
2342
+ }), [w, R, y, P, l, b, u]), O = {
2343
+ ref: Q,
2344
2344
  id: h,
2345
2345
  role: "radiogroup",
2346
2346
  "aria-labelledby": f,
2347
2347
  "aria-describedby": g,
2348
- onKeyDown: V
2348
+ onKeyDown: S
2349
2349
  }, G = z(() => ({
2350
2350
  value: b
2351
2351
  }), [b]);
@@ -2354,7 +2354,7 @@ let $0 = "div", e5 = f1(function(e, t) {
2354
2354
  children: /* @__PURE__ */ A(I, {
2355
2355
  name: "RadioGroup.Label",
2356
2356
  children: /* @__PURE__ */ D(zt.Provider, {
2357
- value: T,
2357
+ value: H,
2358
2358
  children: [r != null && b != null && Zr({
2359
2359
  [r]: b
2360
2360
  }).map(([x, N]) => a1.createElement(Qe, {
@@ -2370,7 +2370,7 @@ let $0 = "div", e5 = f1(function(e, t) {
2370
2370
  value: N
2371
2371
  })
2372
2372
  })), C1({
2373
- ourProps: H,
2373
+ ourProps: O,
2374
2374
  theirProps: s,
2375
2375
  slot: G,
2376
2376
  defaultTag: $0,
@@ -2403,42 +2403,42 @@ let n5 = "div", r5 = f1(function(e, t) {
2403
2403
  registerOption: m,
2404
2404
  disabled: h,
2405
2405
  change: B,
2406
- firstOption: y,
2406
+ firstOption: Q,
2407
2407
  containsCheckedOption: b,
2408
2408
  value: v,
2409
- compare: Q
2409
+ compare: R
2410
2410
  } = ii("RadioGroup.Option");
2411
2411
  S1(() => m({
2412
2412
  id: r,
2413
2413
  element: n,
2414
2414
  propsRef: g
2415
2415
  }), [r, m, n, e]);
2416
- let R = n1((N) => {
2416
+ let y = n1((N) => {
2417
2417
  var L;
2418
2418
  if (Ke(N.currentTarget))
2419
2419
  return N.preventDefault();
2420
2420
  !B(C) || (u(2), (L = n.current) == null || L.focus());
2421
- }), S = n1((N) => {
2421
+ }), P = n1((N) => {
2422
2422
  if (Ke(N.currentTarget))
2423
2423
  return N.preventDefault();
2424
2424
  u(2);
2425
- }), V = n1(() => c(2)), P = (y == null ? void 0 : y.id) === r, T = h || f, H = Q(v, C), G = {
2425
+ }), S = n1(() => c(2)), w = (Q == null ? void 0 : Q.id) === r, H = h || f, O = R(v, C), G = {
2426
2426
  ref: i,
2427
2427
  id: r,
2428
2428
  role: "radio",
2429
- "aria-checked": H ? "true" : "false",
2429
+ "aria-checked": O ? "true" : "false",
2430
2430
  "aria-labelledby": o,
2431
2431
  "aria-describedby": l,
2432
- "aria-disabled": T ? !0 : void 0,
2433
- tabIndex: (() => T ? -1 : H || !b && P ? 0 : -1)(),
2434
- onClick: T ? void 0 : R,
2435
- onFocus: T ? void 0 : S,
2436
- onBlur: T ? void 0 : V
2432
+ "aria-disabled": H ? !0 : void 0,
2433
+ tabIndex: (() => H ? -1 : O || !b && w ? 0 : -1)(),
2434
+ onClick: H ? void 0 : y,
2435
+ onFocus: H ? void 0 : P,
2436
+ onBlur: H ? void 0 : S
2437
2437
  }, x = z(() => ({
2438
- checked: H,
2439
- disabled: T,
2438
+ checked: O,
2439
+ disabled: H,
2440
2440
  active: d(2)
2441
- }), [H, T, d]);
2441
+ }), [O, H, d]);
2442
2442
  return /* @__PURE__ */ A(s, {
2443
2443
  name: "RadioGroup.Description",
2444
2444
  children: /* @__PURE__ */ A(a, {
@@ -2502,7 +2502,7 @@ let a5 = "button", l5 = f1(function(e, t) {
2502
2502
  b.key === c1.Space ? (b.preventDefault(), I()) : b.key === c1.Enter && jr(b.currentTarget);
2503
2503
  }), h = n1((b) => b.preventDefault()), B = z(() => ({
2504
2504
  checked: C
2505
- }), [C]), y = {
2505
+ }), [C]), Q = {
2506
2506
  id: s,
2507
2507
  ref: d,
2508
2508
  role: "switch",
@@ -2527,7 +2527,7 @@ let a5 = "button", l5 = f1(function(e, t) {
2527
2527
  value: a
2528
2528
  })
2529
2529
  }), C1({
2530
- ourProps: y,
2530
+ ourProps: Q,
2531
2531
  theirProps: l,
2532
2532
  slot: B,
2533
2533
  defaultTag: a5,
@@ -2670,29 +2670,29 @@ let C5 = G1, g5 = f1(function(e, t) {
2670
2670
  orientation: s,
2671
2671
  activation: u,
2672
2672
  ...C
2673
- }), [s, u, C]), B = he(c ? e.selectedIndex : C.selectedIndex), y = z(() => ({
2674
- registerTab(Q) {
2673
+ }), [s, u, C]), B = he(c ? e.selectedIndex : C.selectedIndex), Q = z(() => ({
2674
+ registerTab(R) {
2675
2675
  return f({
2676
2676
  type: 1,
2677
- tab: Q
2677
+ tab: R
2678
2678
  }), () => f({
2679
2679
  type: 2,
2680
- tab: Q
2680
+ tab: R
2681
2681
  });
2682
2682
  },
2683
- registerPanel(Q) {
2683
+ registerPanel(R) {
2684
2684
  return f({
2685
2685
  type: 3,
2686
- panel: Q
2686
+ panel: R
2687
2687
  }), () => f({
2688
2688
  type: 4,
2689
- panel: Q
2689
+ panel: R
2690
2690
  });
2691
2691
  },
2692
- change(Q) {
2693
- B.current !== Q && g.current(Q), c || f({
2692
+ change(R) {
2693
+ B.current !== R && g.current(R), c || f({
2694
2694
  type: 0,
2695
- index: Q
2695
+ index: R
2696
2696
  });
2697
2697
  }
2698
2698
  }), [f, c]);
@@ -2711,15 +2711,15 @@ let C5 = G1, g5 = f1(function(e, t) {
2711
2711
  return a1.createElement(Ut.Provider, {
2712
2712
  value: b
2713
2713
  }, a1.createElement(_t.Provider, {
2714
- value: y
2714
+ value: Q
2715
2715
  }, a1.createElement(qt.Provider, {
2716
2716
  value: h
2717
2717
  }, h.tabs.length <= 0 && a1.createElement(u5, {
2718
2718
  onFocus: () => {
2719
- var Q, R;
2720
- for (let S of m.current)
2721
- if (((Q = S.current) == null ? void 0 : Q.tabIndex) === 0)
2722
- return (R = S.current) == null || R.focus(), !0;
2719
+ var R, y;
2720
+ for (let P of m.current)
2721
+ if (((R = P.current) == null ? void 0 : R.tabIndex) === 0)
2722
+ return (y = P.current) == null || y.focus(), !0;
2723
2723
  return !1;
2724
2724
  }
2725
2725
  }), C1({
@@ -2761,50 +2761,50 @@ let C5 = G1, g5 = f1(function(e, t) {
2761
2761
  g === -1 && (g = C.current.tabs.push(r) - 1);
2762
2762
  let m = s.indexOf(f);
2763
2763
  m === -1 && (m = g);
2764
- let h = m === l, B = n1((P) => {
2765
- var T;
2766
- let H = P();
2767
- if (H === ge.Success && a === "auto") {
2768
- let G = (T = Re(f)) == null ? void 0 : T.activeElement, x = d.tabs.findIndex((N) => N.current === G);
2764
+ let h = m === l, B = n1((w) => {
2765
+ var H;
2766
+ let O = w();
2767
+ if (O === ge.Success && a === "auto") {
2768
+ let G = (H = Re(f)) == null ? void 0 : H.activeElement, x = d.tabs.findIndex((N) => N.current === G);
2769
2769
  x !== -1 && c.change(x);
2770
2770
  }
2771
- return H;
2772
- }), y = n1((P) => {
2773
- let T = s.map((H) => H.current).filter(Boolean);
2774
- if (P.key === c1.Space || P.key === c1.Enter) {
2775
- P.preventDefault(), P.stopPropagation(), c.change(m);
2771
+ return O;
2772
+ }), Q = n1((w) => {
2773
+ let H = s.map((O) => O.current).filter(Boolean);
2774
+ if (w.key === c1.Space || w.key === c1.Enter) {
2775
+ w.preventDefault(), w.stopPropagation(), c.change(m);
2776
2776
  return;
2777
2777
  }
2778
- switch (P.key) {
2778
+ switch (w.key) {
2779
2779
  case c1.Home:
2780
2780
  case c1.PageUp:
2781
- return P.preventDefault(), P.stopPropagation(), B(() => K1(T, x1.First));
2781
+ return w.preventDefault(), w.stopPropagation(), B(() => K1(H, x1.First));
2782
2782
  case c1.End:
2783
2783
  case c1.PageDown:
2784
- return P.preventDefault(), P.stopPropagation(), B(() => K1(T, x1.Last));
2784
+ return w.preventDefault(), w.stopPropagation(), B(() => K1(H, x1.Last));
2785
2785
  }
2786
2786
  if (B(() => O1(o, {
2787
2787
  vertical() {
2788
- return P.key === c1.ArrowUp ? K1(T, x1.Previous | x1.WrapAround) : P.key === c1.ArrowDown ? K1(T, x1.Next | x1.WrapAround) : ge.Error;
2788
+ return w.key === c1.ArrowUp ? K1(H, x1.Previous | x1.WrapAround) : w.key === c1.ArrowDown ? K1(H, x1.Next | x1.WrapAround) : ge.Error;
2789
2789
  },
2790
2790
  horizontal() {
2791
- return P.key === c1.ArrowLeft ? K1(T, x1.Previous | x1.WrapAround) : P.key === c1.ArrowRight ? K1(T, x1.Next | x1.WrapAround) : ge.Error;
2791
+ return w.key === c1.ArrowLeft ? K1(H, x1.Previous | x1.WrapAround) : w.key === c1.ArrowRight ? K1(H, x1.Next | x1.WrapAround) : ge.Error;
2792
2792
  }
2793
2793
  })) === ge.Success)
2794
- return P.preventDefault();
2794
+ return w.preventDefault();
2795
2795
  }), b = X(!1), v = n1(() => {
2796
- var P;
2797
- b.current || (b.current = !0, (P = f.current) == null || P.focus(), c.change(m), r2(() => {
2796
+ var w;
2797
+ b.current || (b.current = !0, (w = f.current) == null || w.focus(), c.change(m), r2(() => {
2798
2798
  b.current = !1;
2799
2799
  }));
2800
- }), Q = n1((P) => {
2801
- P.preventDefault();
2802
- }), R = z(() => ({
2800
+ }), R = n1((w) => {
2801
+ w.preventDefault();
2802
+ }), y = z(() => ({
2803
2803
  selected: h
2804
- }), [h]), S = e, V = {
2804
+ }), [h]), P = e, S = {
2805
2805
  ref: I,
2806
- onKeyDown: y,
2807
- onMouseDown: Q,
2806
+ onKeyDown: Q,
2807
+ onMouseDown: R,
2808
2808
  onClick: v,
2809
2809
  id: r,
2810
2810
  role: "tab",
@@ -2814,9 +2814,9 @@ let C5 = G1, g5 = f1(function(e, t) {
2814
2814
  tabIndex: h ? 0 : -1
2815
2815
  };
2816
2816
  return C1({
2817
- ourProps: V,
2818
- theirProps: S,
2819
- slot: R,
2817
+ ourProps: S,
2818
+ theirProps: P,
2819
+ slot: y,
2820
2820
  defaultTag: E5,
2821
2821
  name: "Tabs.Tab"
2822
2822
  });
@@ -2849,7 +2849,7 @@ let C5 = G1, g5 = f1(function(e, t) {
2849
2849
  g === -1 && (g = I);
2850
2850
  let m = g === a, h = z(() => ({
2851
2851
  selected: m
2852
- }), [m]), B = e, y = {
2852
+ }), [m]), B = e, Q = {
2853
2853
  ref: f,
2854
2854
  id: d,
2855
2855
  role: "tabpanel",
@@ -2858,9 +2858,9 @@ let C5 = G1, g5 = f1(function(e, t) {
2858
2858
  };
2859
2859
  return !m && ((r = e.unmount) != null ? r : !0) && !((o = e.static) != null && o) ? a1.createElement(Qe, {
2860
2860
  as: "span",
2861
- ...y
2861
+ ...Q
2862
2862
  }) : C1({
2863
- ourProps: y,
2863
+ ourProps: Q,
2864
2864
  theirProps: B,
2865
2865
  slot: h,
2866
2866
  defaultTag: h5,
@@ -3430,7 +3430,7 @@ const Q5 = async (e, t, n) => {
3430
3430
  fn: h
3431
3431
  } = l[g], {
3432
3432
  x: B,
3433
- y,
3433
+ y: Q,
3434
3434
  data: b,
3435
3435
  reset: v
3436
3436
  } = await h({
@@ -3447,7 +3447,7 @@ const Q5 = async (e, t, n) => {
3447
3447
  floating: t
3448
3448
  }
3449
3449
  });
3450
- if (c = B != null ? B : c, d = y != null ? y : d, f = {
3450
+ if (c = B != null ? B : c, d = Q != null ? Q : d, f = {
3451
3451
  ...f,
3452
3452
  [m]: {
3453
3453
  ...f[m],
@@ -3559,15 +3559,15 @@ const Xn = (e) => ({
3559
3559
  const u = oi(i), c = {
3560
3560
  x: r,
3561
3561
  y: o
3562
- }, d = a2(a), C = W2(a), f = en(d), I = await s.getDimensions(n), g = d === "y" ? "top" : "left", m = d === "y" ? "bottom" : "right", h = l.reference[f] + l.reference[d] - c[d] - l.floating[f], B = c[d] - l.reference[d], y = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(n));
3563
- let b = y ? d === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0;
3562
+ }, d = a2(a), C = W2(a), f = en(d), I = await s.getDimensions(n), g = d === "y" ? "top" : "left", m = d === "y" ? "bottom" : "right", h = l.reference[f] + l.reference[d] - c[d] - l.floating[f], B = c[d] - l.reference[d], Q = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(n));
3563
+ let b = Q ? d === "y" ? Q.clientHeight || 0 : Q.clientWidth || 0 : 0;
3564
3564
  b === 0 && (b = l.floating[f]);
3565
- const v = h / 2 - B / 2, Q = u[g], R = b - I[f] - u[m], S = b / 2 - I[f] / 2 + v, V = xt(Q, S, R), H = (C === "start" ? u[g] : u[m]) > 0 && S !== V && l.reference[f] <= l.floating[f] ? S < Q ? Q - S : R - S : 0;
3565
+ const v = h / 2 - B / 2, R = u[g], y = b - I[f] - u[m], P = b / 2 - I[f] / 2 + v, S = xt(R, P, y), O = (C === "start" ? u[g] : u[m]) > 0 && P !== S && l.reference[f] <= l.floating[f] ? P < R ? R - P : y - P : 0;
3566
3566
  return {
3567
- [d]: c[d] - H,
3567
+ [d]: c[d] - O,
3568
3568
  data: {
3569
- [d]: V,
3570
- centerOffset: S - V
3569
+ [d]: S,
3570
+ centerOffset: P - S
3571
3571
  }
3572
3572
  };
3573
3573
  }
@@ -3620,47 +3620,47 @@ const M5 = function(e) {
3620
3620
  fallbackStrategy: C = "bestFit",
3621
3621
  flipAlignment: f = !0,
3622
3622
  ...I
3623
- } = e, g = o2(i), h = d || (g === a || !f ? [x2(a)] : S5(a)), B = [a, ...h], y = await ai(t, I), b = [];
3623
+ } = e, g = o2(i), h = d || (g === a || !f ? [x2(a)] : S5(a)), B = [a, ...h], Q = await ai(t, I), b = [];
3624
3624
  let v = ((n = r.flip) == null ? void 0 : n.overflows) || [];
3625
- if (u && b.push(y[g]), c) {
3625
+ if (u && b.push(Q[g]), c) {
3626
3626
  const {
3627
- main: V,
3628
- cross: P
3627
+ main: S,
3628
+ cross: w
3629
3629
  } = V5(i, o, await (l.isRTL == null ? void 0 : l.isRTL(s.floating)));
3630
- b.push(y[V], y[P]);
3630
+ b.push(Q[S], Q[w]);
3631
3631
  }
3632
3632
  if (v = [...v, {
3633
3633
  placement: i,
3634
3634
  overflows: b
3635
- }], !b.every((V) => V <= 0)) {
3636
- var Q, R;
3637
- const V = ((Q = (R = r.flip) == null ? void 0 : R.index) != null ? Q : 0) + 1, P = B[V];
3638
- if (P)
3635
+ }], !b.every((S) => S <= 0)) {
3636
+ var R, y;
3637
+ const S = ((R = (y = r.flip) == null ? void 0 : y.index) != null ? R : 0) + 1, w = B[S];
3638
+ if (w)
3639
3639
  return {
3640
3640
  data: {
3641
- index: V,
3641
+ index: S,
3642
3642
  overflows: v
3643
3643
  },
3644
3644
  reset: {
3645
- placement: P
3645
+ placement: w
3646
3646
  }
3647
3647
  };
3648
- let T = "bottom";
3648
+ let H = "bottom";
3649
3649
  switch (C) {
3650
3650
  case "bestFit": {
3651
- var S;
3652
- const H = (S = v.map((G) => [G, G.overflows.filter((x) => x > 0).reduce((x, N) => x + N, 0)]).sort((G, x) => G[1] - x[1])[0]) == null ? void 0 : S[0].placement;
3653
- H && (T = H);
3651
+ var P;
3652
+ const O = (P = v.map((G) => [G, G.overflows.filter((x) => x > 0).reduce((x, N) => x + N, 0)]).sort((G, x) => G[1] - x[1])[0]) == null ? void 0 : P[0].placement;
3653
+ O && (H = O);
3654
3654
  break;
3655
3655
  }
3656
3656
  case "initialPlacement":
3657
- T = a;
3657
+ H = a;
3658
3658
  break;
3659
3659
  }
3660
- if (i !== T)
3660
+ if (i !== H)
3661
3661
  return {
3662
3662
  reset: {
3663
- placement: T
3663
+ placement: H
3664
3664
  }
3665
3665
  };
3666
3666
  }
@@ -3747,12 +3747,12 @@ const D5 = function(e) {
3747
3747
  }, c = await ai(t, s), d = a2(o2(r)), C = N5(d);
3748
3748
  let f = u[d], I = u[C];
3749
3749
  if (o) {
3750
- const m = d === "y" ? "top" : "left", h = d === "y" ? "bottom" : "right", B = f + c[m], y = f - c[h];
3751
- f = xt(B, f, y);
3750
+ const m = d === "y" ? "top" : "left", h = d === "y" ? "bottom" : "right", B = f + c[m], Q = f - c[h];
3751
+ f = xt(B, f, Q);
3752
3752
  }
3753
3753
  if (a) {
3754
- const m = C === "y" ? "top" : "left", h = C === "y" ? "bottom" : "right", B = I + c[m], y = I - c[h];
3755
- I = xt(B, I, y);
3754
+ const m = C === "y" ? "top" : "left", h = C === "y" ? "bottom" : "right", B = I + c[m], Q = I - c[h];
3755
+ I = xt(B, I, Q);
3756
3756
  }
3757
3757
  const g = l.fn({
3758
3758
  ...t,
@@ -4188,17 +4188,17 @@ function _5(e) {
4188
4188
  u.current = b, m();
4189
4189
  }, [m]), B = E.useCallback((b) => {
4190
4190
  c.current = b, m();
4191
- }, [m]), y = E.useMemo(() => ({
4191
+ }, [m]), Q = E.useMemo(() => ({
4192
4192
  reference: u,
4193
4193
  floating: c
4194
4194
  }), []);
4195
4195
  return E.useMemo(() => ({
4196
4196
  ...o,
4197
4197
  update: I,
4198
- refs: y,
4198
+ refs: Q,
4199
4199
  reference: h,
4200
4200
  floating: B
4201
- }), [o, I, y, h, B]);
4201
+ }), [o, I, Q, h, B]);
4202
4202
  }
4203
4203
  const $5 = (e) => {
4204
4204
  const {
@@ -4316,15 +4316,15 @@ function l4(e) {
4316
4316
  });
4317
4317
  const {
4318
4318
  reference: B
4319
- } = I, y = E.useCallback((b) => {
4319
+ } = I, Q = E.useCallback((b) => {
4320
4320
  (be(b) || b === null) && (h.refs.domReference.current = b, u(b)), B(b);
4321
4321
  }, [B, h.refs]);
4322
4322
  return E.useMemo(() => ({
4323
4323
  ...I,
4324
4324
  context: h,
4325
4325
  refs: m,
4326
- reference: y
4327
- }), [I, m, h, y]);
4326
+ reference: Q
4327
+ }), [I, m, h, Q]);
4328
4328
  }
4329
4329
  function At(e, t, n) {
4330
4330
  const i = /* @__PURE__ */ new Map();
@@ -4448,7 +4448,7 @@ const C4 = function(e, t) {
4448
4448
  events: d,
4449
4449
  refs: C,
4450
4450
  _: f
4451
- } = e, I = rn(), g = Ci(), m = er(r), h = er(i), B = d4(s), y = E.useRef(), b = E.useRef(), v = E.useRef(), Q = E.useRef(), R = E.useRef(!0), S = E.useRef(!1), V = E.useCallback(() => {
4451
+ } = e, I = rn(), g = Ci(), m = er(r), h = er(i), B = d4(s), Q = E.useRef(), b = E.useRef(), v = E.useRef(), R = E.useRef(), y = E.useRef(!0), P = E.useRef(!1), S = E.useCallback(() => {
4452
4452
  var G;
4453
4453
  const x = (G = c.current.openEvent) == null ? void 0 : G.type;
4454
4454
  return (x == null ? void 0 : x.includes("mouse")) && x !== "mousedown";
@@ -4457,7 +4457,7 @@ const C4 = function(e, t) {
4457
4457
  if (!n)
4458
4458
  return;
4459
4459
  function G() {
4460
- clearTimeout(b.current), clearTimeout(Q.current), R.current = !0;
4460
+ clearTimeout(b.current), clearTimeout(R.current), y.current = !0;
4461
4461
  }
4462
4462
  return d.on("dismiss", G), () => {
4463
4463
  d.off("dismiss", G);
@@ -4466,21 +4466,21 @@ const C4 = function(e, t) {
4466
4466
  if (!n || !m.current)
4467
4467
  return;
4468
4468
  function G() {
4469
- V() && u(!1);
4469
+ S() && u(!1);
4470
4470
  }
4471
4471
  const x = Ce(C.floating.current).documentElement;
4472
4472
  return x.addEventListener("mouseleave", G), () => {
4473
4473
  x.removeEventListener("mouseleave", G);
4474
4474
  };
4475
- }, [C, u, n, m, c, V]);
4476
- const P = E.useCallback(function(G) {
4475
+ }, [C, u, n, m, c, S]);
4476
+ const w = E.useCallback(function(G) {
4477
4477
  G === void 0 && (G = !0);
4478
- const x = Ct(h.current, "close", y.current);
4478
+ const x = Ct(h.current, "close", Q.current);
4479
4479
  x && !v.current ? (clearTimeout(b.current), b.current = setTimeout(() => u(!1), x)) : G && (clearTimeout(b.current), u(!1));
4480
- }, [h, u]), T = E.useCallback(() => {
4480
+ }, [h, u]), H = E.useCallback(() => {
4481
4481
  v.current && (Ce(C.floating.current).removeEventListener("pointermove", v.current), v.current = void 0);
4482
- }, [C]), H = E.useCallback(() => {
4483
- Ce(C.floating.current).body.style.pointerEvents = "", S.current = !1;
4482
+ }, [C]), O = E.useCallback(() => {
4483
+ Ce(C.floating.current).body.style.pointerEvents = "", P.current = !1;
4484
4484
  }, [C]);
4485
4485
  return E.useEffect(() => {
4486
4486
  if (!n)
@@ -4489,10 +4489,10 @@ const C4 = function(e, t) {
4489
4489
  return c.current.openEvent ? ["click", "mousedown"].includes(c.current.openEvent.type) : !1;
4490
4490
  }
4491
4491
  function x(J) {
4492
- if (clearTimeout(b.current), R.current = !1, o && y.current !== "mouse" || a > 0 && Ct(h.current, "open") === 0)
4492
+ if (clearTimeout(b.current), y.current = !1, o && Q.current !== "mouse" || a > 0 && Ct(h.current, "open") === 0)
4493
4493
  return;
4494
4494
  c.current.openEvent = J;
4495
- const d1 = Ct(h.current, "open", y.current);
4495
+ const d1 = Ct(h.current, "open", Q.current);
4496
4496
  d1 ? b.current = setTimeout(() => {
4497
4497
  u(!0);
4498
4498
  }, d1) : u(!0);
@@ -4501,19 +4501,19 @@ const C4 = function(e, t) {
4501
4501
  if (G())
4502
4502
  return;
4503
4503
  const d1 = Ce(C.floating.current);
4504
- if (clearTimeout(Q.current), m.current) {
4504
+ if (clearTimeout(R.current), m.current) {
4505
4505
  clearTimeout(b.current), v.current && d1.removeEventListener("pointermove", v.current), v.current = m.current({
4506
4506
  ...e,
4507
4507
  tree: I,
4508
4508
  x: J.clientX,
4509
4509
  y: J.clientY,
4510
4510
  onClose() {
4511
- H(), T(), P();
4511
+ O(), H(), w();
4512
4512
  }
4513
4513
  }), d1.addEventListener("pointermove", v.current);
4514
4514
  return;
4515
4515
  }
4516
- P();
4516
+ w();
4517
4517
  }
4518
4518
  function L(J) {
4519
4519
  G() || m.current == null || m.current({
@@ -4523,7 +4523,7 @@ const C4 = function(e, t) {
4523
4523
  y: J.clientY,
4524
4524
  leave: !0,
4525
4525
  onClose() {
4526
- H(), T(), P();
4526
+ O(), H(), w();
4527
4527
  }
4528
4528
  })(J);
4529
4529
  }
@@ -4541,9 +4541,9 @@ const C4 = function(e, t) {
4541
4541
  o,
4542
4542
  a,
4543
4543
  l,
4544
- P,
4545
- T,
4544
+ w,
4546
4545
  H,
4546
+ O,
4547
4547
  u,
4548
4548
  s,
4549
4549
  I,
@@ -4552,8 +4552,8 @@ const C4 = function(e, t) {
4552
4552
  m,
4553
4553
  c
4554
4554
  ]), ye(() => {
4555
- if (!!n && s && m.current && m.current.__options.blockPointerEvents && V()) {
4556
- Ce(C.floating.current).body.style.pointerEvents = "none", S.current = !0;
4555
+ if (!!n && s && m.current && m.current.__options.blockPointerEvents && S()) {
4556
+ Ce(C.floating.current).body.style.pointerEvents = "none", P.current = !0;
4557
4557
  const N = C.domReference.current, L = C.floating.current;
4558
4558
  if (be(N) && L) {
4559
4559
  var G, x;
@@ -4563,23 +4563,23 @@ const C4 = function(e, t) {
4563
4563
  };
4564
4564
  }
4565
4565
  }
4566
- }, [n, s, g, C, I, m, c, V]), ye(() => {
4567
- B && !s && (y.current = void 0, T(), H());
4566
+ }, [n, s, g, C, I, m, c, S]), ye(() => {
4567
+ B && !s && (Q.current = void 0, H(), O());
4568
4568
  }), E.useEffect(() => () => {
4569
- T(), clearTimeout(b.current), clearTimeout(Q.current), S.current && H();
4570
- }, [n, T, H]), E.useMemo(() => {
4569
+ H(), clearTimeout(b.current), clearTimeout(R.current), P.current && O();
4570
+ }, [n, H, O]), E.useMemo(() => {
4571
4571
  if (!n)
4572
4572
  return {};
4573
4573
  function G(x) {
4574
- y.current = x.pointerType;
4574
+ Q.current = x.pointerType;
4575
4575
  }
4576
4576
  return {
4577
4577
  reference: {
4578
4578
  onPointerDown: G,
4579
4579
  onPointerEnter: G,
4580
4580
  onMouseMove() {
4581
- s || a === 0 || (clearTimeout(Q.current), Q.current = setTimeout(() => {
4582
- R.current || u(!0);
4581
+ s || a === 0 || (clearTimeout(R.current), R.current = setTimeout(() => {
4582
+ y.current || u(!0);
4583
4583
  }, a));
4584
4584
  }
4585
4585
  },
@@ -4588,11 +4588,11 @@ const C4 = function(e, t) {
4588
4588
  clearTimeout(b.current);
4589
4589
  },
4590
4590
  onMouseLeave() {
4591
- P(!1);
4591
+ w(!1);
4592
4592
  }
4593
4593
  }
4594
4594
  };
4595
- }, [n, a, s, u, P]);
4595
+ }, [n, a, s, u, w]);
4596
4596
  }, g4 = function(e, t) {
4597
4597
  let {
4598
4598
  open: n
@@ -4669,8 +4669,8 @@ const f4 = {
4669
4669
  return E.useEffect(() => {
4670
4670
  if (!n || !l)
4671
4671
  return;
4672
- function B(R) {
4673
- if (R.key === "Escape") {
4672
+ function B(y) {
4673
+ if (y.key === "Escape") {
4674
4674
  if (!I && g && dt(g.nodesRef.current, a).length > 0)
4675
4675
  return;
4676
4676
  o.emit("dismiss", {
@@ -4678,23 +4678,23 @@ const f4 = {
4678
4678
  }), i(!1);
4679
4679
  }
4680
4680
  }
4681
- function y(R) {
4682
- const S = h.current;
4683
- if (h.current = !1, S)
4681
+ function Q(y) {
4682
+ const P = h.current;
4683
+ if (h.current = !1, P)
4684
4684
  return;
4685
- const V = A4(R);
4686
- if (be(V) && r.floating.current) {
4687
- var P;
4688
- const H = (P = r.floating.current.ownerDocument.defaultView) != null ? P : window, G = V.scrollWidth > V.clientWidth, x = V.scrollHeight > V.clientHeight;
4689
- let N = x && R.offsetX > V.clientWidth;
4690
- if (x && H.getComputedStyle(V).direction === "rtl" && (N = R.offsetX <= V.offsetWidth - V.clientWidth), N || G && R.offsetY > V.clientHeight)
4685
+ const S = A4(y);
4686
+ if (be(S) && r.floating.current) {
4687
+ var w;
4688
+ const O = (w = r.floating.current.ownerDocument.defaultView) != null ? w : window, G = S.scrollWidth > S.clientWidth, x = S.scrollHeight > S.clientHeight;
4689
+ let N = x && y.offsetX > S.clientWidth;
4690
+ if (x && O.getComputedStyle(S).direction === "rtl" && (N = y.offsetX <= S.offsetWidth - S.clientWidth), N || G && y.offsetY > S.clientHeight)
4691
4691
  return;
4692
4692
  }
4693
- const T = g && dt(g.nodesRef.current, a).some((H) => {
4693
+ const H = g && dt(g.nodesRef.current, a).some((O) => {
4694
4694
  var G;
4695
- return gt(R, (G = H.context) == null ? void 0 : G.refs.floating.current);
4695
+ return gt(y, (G = O.context) == null ? void 0 : G.refs.floating.current);
4696
4696
  });
4697
- gt(R, r.floating.current) || gt(R, r.domReference.current) || T || !I && g && dt(g.nodesRef.current, a).length > 0 || (o.emit("dismiss", m ? {
4697
+ gt(y, r.floating.current) || gt(y, r.domReference.current) || H || !I && g && dt(g.nodesRef.current, a).length > 0 || (o.emit("dismiss", m ? {
4698
4698
  preventScroll: !0
4699
4699
  } : !1), i(!1));
4700
4700
  }
@@ -4702,20 +4702,20 @@ const f4 = {
4702
4702
  i(!1);
4703
4703
  }
4704
4704
  const v = Ce(r.floating.current);
4705
- s && v.addEventListener("keydown", B), u && v.addEventListener(c, y);
4706
- let Q = [];
4707
- return f && (be(r.domReference.current) && (Q = fe(r.domReference.current)), be(r.floating.current) && (Q = Q.concat(fe(r.floating.current))), !be(r.reference.current) && r.reference.current && r.reference.current.contextElement && (Q = Q.concat(
4705
+ s && v.addEventListener("keydown", B), u && v.addEventListener(c, Q);
4706
+ let R = [];
4707
+ return f && (be(r.domReference.current) && (R = fe(r.domReference.current)), be(r.floating.current) && (R = R.concat(fe(r.floating.current))), !be(r.reference.current) && r.reference.current && r.reference.current.contextElement && (R = R.concat(
4708
4708
  fe(r.reference.current.contextElement)
4709
- ))), Q = Q.filter((R) => {
4710
- var S;
4711
- return R !== ((S = v.defaultView) == null ? void 0 : S.visualViewport);
4712
- }), Q.forEach((R) => {
4713
- R.addEventListener("scroll", b, {
4709
+ ))), R = R.filter((y) => {
4710
+ var P;
4711
+ return y !== ((P = v.defaultView) == null ? void 0 : P.visualViewport);
4712
+ }), R.forEach((y) => {
4713
+ y.addEventListener("scroll", b, {
4714
4714
  passive: !0
4715
4715
  });
4716
4716
  }), () => {
4717
- s && v.removeEventListener("keydown", B), u && v.removeEventListener(c, y), Q.forEach((R) => {
4718
- R.removeEventListener("scroll", b);
4717
+ s && v.removeEventListener("keydown", B), u && v.removeEventListener(c, Q), R.forEach((y) => {
4718
+ y.removeEventListener("scroll", b);
4719
4719
  });
4720
4720
  };
4721
4721
  }, [s, u, c, o, g, a, n, i, f, l, I, r, m]), E.useEffect(() => {
@@ -5697,21 +5697,21 @@ function pe(e, t) {
5697
5697
  }
5698
5698
  var D4 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
5699
5699
  function on(e) {
5700
- var t = e.defaultInputValue, n = t === void 0 ? "" : t, i = e.defaultMenuIsOpen, r = i === void 0 ? !1 : i, o = e.defaultValue, a = o === void 0 ? null : o, l = e.inputValue, s = e.menuIsOpen, u = e.onChange, c = e.onInputChange, d = e.onMenuClose, C = e.onMenuOpen, f = e.value, I = pe(e, D4), g = _(l !== void 0 ? l : n), m = w1(g, 2), h = m[0], B = m[1], y = _(s !== void 0 ? s : r), b = w1(y, 2), v = b[0], Q = b[1], R = _(f !== void 0 ? f : a), S = w1(R, 2), V = S[0], P = S[1], T = g1(function(Z, J) {
5701
- typeof u == "function" && u(Z, J), P(Z);
5702
- }, [u]), H = g1(function(Z, J) {
5700
+ var t = e.defaultInputValue, n = t === void 0 ? "" : t, i = e.defaultMenuIsOpen, r = i === void 0 ? !1 : i, o = e.defaultValue, a = o === void 0 ? null : o, l = e.inputValue, s = e.menuIsOpen, u = e.onChange, c = e.onInputChange, d = e.onMenuClose, C = e.onMenuOpen, f = e.value, I = pe(e, D4), g = _(l !== void 0 ? l : n), m = w1(g, 2), h = m[0], B = m[1], Q = _(s !== void 0 ? s : r), b = w1(Q, 2), v = b[0], R = b[1], y = _(f !== void 0 ? f : a), P = w1(y, 2), S = P[0], w = P[1], H = g1(function(Z, J) {
5701
+ typeof u == "function" && u(Z, J), w(Z);
5702
+ }, [u]), O = g1(function(Z, J) {
5703
5703
  var d1;
5704
5704
  typeof c == "function" && (d1 = c(Z, J)), B(d1 !== void 0 ? d1 : Z);
5705
5705
  }, [c]), G = g1(function() {
5706
- typeof C == "function" && C(), Q(!0);
5706
+ typeof C == "function" && C(), R(!0);
5707
5707
  }, [C]), x = g1(function() {
5708
- typeof d == "function" && d(), Q(!1);
5709
- }, [d]), N = l !== void 0 ? l : h, L = s !== void 0 ? s : v, W = f !== void 0 ? f : V;
5708
+ typeof d == "function" && d(), R(!1);
5709
+ }, [d]), N = l !== void 0 ? l : h, L = s !== void 0 ? s : v, W = f !== void 0 ? f : S;
5710
5710
  return t1(t1({}, I), {}, {
5711
5711
  inputValue: N,
5712
5712
  menuIsOpen: L,
5713
- onChange: T,
5714
- onInputChange: H,
5713
+ onChange: H,
5714
+ onInputChange: O,
5715
5715
  onMenuClose: x,
5716
5716
  onMenuOpen: G,
5717
5717
  value: W
@@ -6011,26 +6011,26 @@ function so(e) {
6011
6011
  return Bi(h2("", null, null, null, [""], e = hi(e), 0, [0], e));
6012
6012
  }
6013
6013
  function h2(e, t, n, i, r, o, a, l, s) {
6014
- for (var u = 0, c = 0, d = a, C = 0, f = 0, I = 0, g = 1, m = 1, h = 1, B = 0, y = "", b = r, v = o, Q = i, R = y; m; )
6014
+ for (var u = 0, c = 0, d = a, C = 0, f = 0, I = 0, g = 1, m = 1, h = 1, B = 0, Q = "", b = r, v = o, R = i, y = Q; m; )
6015
6015
  switch (I = B, B = X1()) {
6016
6016
  case 40:
6017
- if (I != 108 && P1(R, d - 1) == 58) {
6018
- St(R += o1(b2(B), "&", "&\f"), "&\f") != -1 && (h = -1);
6017
+ if (I != 108 && P1(y, d - 1) == 58) {
6018
+ St(y += o1(b2(B), "&", "&\f"), "&\f") != -1 && (h = -1);
6019
6019
  break;
6020
6020
  }
6021
6021
  case 34:
6022
6022
  case 39:
6023
6023
  case 91:
6024
- R += b2(B);
6024
+ y += b2(B);
6025
6025
  break;
6026
6026
  case 9:
6027
6027
  case 10:
6028
6028
  case 13:
6029
6029
  case 32:
6030
- R += io(I);
6030
+ y += io(I);
6031
6031
  break;
6032
6032
  case 92:
6033
- R += oo(m2() - 1, 7);
6033
+ y += oo(m2() - 1, 7);
6034
6034
  continue;
6035
6035
  case 47:
6036
6036
  switch (ee()) {
@@ -6039,11 +6039,11 @@ function h2(e, t, n, i, r, o, a, l, s) {
6039
6039
  I2(uo(ao(X1(), m2()), t, n), s);
6040
6040
  break;
6041
6041
  default:
6042
- R += "/";
6042
+ y += "/";
6043
6043
  }
6044
6044
  break;
6045
6045
  case 123 * g:
6046
- l[u++] = $1(R) * h;
6046
+ l[u++] = $1(y) * h;
6047
6047
  case 125 * g:
6048
6048
  case 59:
6049
6049
  case 0:
@@ -6052,29 +6052,29 @@ function h2(e, t, n, i, r, o, a, l, s) {
6052
6052
  case 125:
6053
6053
  m = 0;
6054
6054
  case 59 + c:
6055
- f > 0 && $1(R) - d && I2(f > 32 ? ir(R + ";", i, n, d - 1) : ir(o1(R, " ", "") + ";", i, n, d - 2), s);
6055
+ f > 0 && $1(y) - d && I2(f > 32 ? ir(y + ";", i, n, d - 1) : ir(o1(y, " ", "") + ";", i, n, d - 2), s);
6056
6056
  break;
6057
6057
  case 59:
6058
- R += ";";
6058
+ y += ";";
6059
6059
  default:
6060
- if (I2(Q = rr(R, t, n, u, c, r, l, y, b = [], v = [], d), o), B === 123)
6060
+ if (I2(R = rr(y, t, n, u, c, r, l, Q, b = [], v = [], d), o), B === 123)
6061
6061
  if (c === 0)
6062
- h2(R, t, Q, Q, b, o, d, l, v);
6062
+ h2(y, t, R, R, b, o, d, l, v);
6063
6063
  else
6064
- switch (C === 99 && P1(R, 3) === 110 ? 100 : C) {
6064
+ switch (C === 99 && P1(y, 3) === 110 ? 100 : C) {
6065
6065
  case 100:
6066
6066
  case 109:
6067
6067
  case 115:
6068
- h2(e, Q, Q, i && I2(rr(e, Q, Q, 0, 0, r, l, y, r, b = [], d), v), r, v, d, l, i ? b : v);
6068
+ h2(e, R, R, i && I2(rr(e, R, R, 0, 0, r, l, Q, r, b = [], d), v), r, v, d, l, i ? b : v);
6069
6069
  break;
6070
6070
  default:
6071
- h2(R, Q, Q, Q, [""], v, 0, l, v);
6071
+ h2(y, R, R, R, [""], v, 0, l, v);
6072
6072
  }
6073
6073
  }
6074
- u = c = f = 0, g = h = 1, y = R = "", d = a;
6074
+ u = c = f = 0, g = h = 1, Q = y = "", d = a;
6075
6075
  break;
6076
6076
  case 58:
6077
- d = 1 + $1(R), f = I;
6077
+ d = 1 + $1(y), f = I;
6078
6078
  default:
6079
6079
  if (g < 1) {
6080
6080
  if (B == 123)
@@ -6082,26 +6082,26 @@ function h2(e, t, n, i, r, o, a, l, s) {
6082
6082
  else if (B == 125 && g++ == 0 && ro() == 125)
6083
6083
  continue;
6084
6084
  }
6085
- switch (R += J2(B), B * g) {
6085
+ switch (y += J2(B), B * g) {
6086
6086
  case 38:
6087
- h = c > 0 ? 1 : (R += "\f", -1);
6087
+ h = c > 0 ? 1 : (y += "\f", -1);
6088
6088
  break;
6089
6089
  case 44:
6090
- l[u++] = ($1(R) - 1) * h, h = 1;
6090
+ l[u++] = ($1(y) - 1) * h, h = 1;
6091
6091
  break;
6092
6092
  case 64:
6093
- ee() === 45 && (R += b2(X1())), C = ee(), c = d = $1(y = R += lo(m2())), B++;
6093
+ ee() === 45 && (y += b2(X1())), C = ee(), c = d = $1(Q = y += lo(m2())), B++;
6094
6094
  break;
6095
6095
  case 45:
6096
- I === 45 && $1(R) == 2 && (g = 0);
6096
+ I === 45 && $1(y) == 2 && (g = 0);
6097
6097
  }
6098
6098
  }
6099
6099
  return o;
6100
6100
  }
6101
6101
  function rr(e, t, n, i, r, o, a, l, s, u, c) {
6102
6102
  for (var d = r - 1, C = r === 0 ? o : [""], f = un(C), I = 0, g = 0, m = 0; I < i; ++I)
6103
- for (var h = 0, B = _e(e, d + 1, d = q4(g = a[I])), y = e; h < f; ++h)
6104
- (y = mi(g > 0 ? C[h] + " " + B : o1(B, /&\f/g, C[h]))) && (s[m++] = y);
6103
+ for (var h = 0, B = _e(e, d + 1, d = q4(g = a[I])), Q = e; h < f; ++h)
6104
+ (Q = mi(g > 0 ? C[h] + " " + B : o1(B, /&\f/g, C[h]))) && (s[m++] = Q);
6105
6105
  return K2(e, t, n, r === 0 ? ln : l, s, u, c);
6106
6106
  }
6107
6107
  function uo(e, t, n) {
@@ -6409,12 +6409,12 @@ If multiple caches share the same key they might "fight" for each other's style
6409
6409
  })], C = Ao(u.concat(r, d)), f = function(m) {
6410
6410
  return Fe(so(m), C);
6411
6411
  };
6412
- s = function(m, h, B, y) {
6412
+ s = function(m, h, B, Q) {
6413
6413
  c = B, process.env.NODE_ENV !== "production" && h.map !== void 0 && (c = {
6414
6414
  insert: function(v) {
6415
6415
  B.insert(v + h.map);
6416
6416
  }
6417
- }), f(m ? m + "{" + h.styles + "}" : h.styles), y && (I.inserted[h.name] = !0);
6417
+ }), f(m ? m + "{" + h.styles + "}" : h.styles), Q && (I.inserted[h.name] = !0);
6418
6418
  };
6419
6419
  }
6420
6420
  var I = {
@@ -6448,10 +6448,10 @@ function wo() {
6448
6448
  return r1;
6449
6449
  lr = 1;
6450
6450
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, C = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, h = e ? Symbol.for("react.responder") : 60118, B = e ? Symbol.for("react.scope") : 60119;
6451
- function y(v) {
6451
+ function Q(v) {
6452
6452
  if (typeof v == "object" && v !== null) {
6453
- var Q = v.$$typeof;
6454
- switch (Q) {
6453
+ var R = v.$$typeof;
6454
+ switch (R) {
6455
6455
  case t:
6456
6456
  switch (v = v.type, v) {
6457
6457
  case s:
@@ -6470,44 +6470,44 @@ function wo() {
6470
6470
  case a:
6471
6471
  return v;
6472
6472
  default:
6473
- return Q;
6473
+ return R;
6474
6474
  }
6475
6475
  }
6476
6476
  case n:
6477
- return Q;
6477
+ return R;
6478
6478
  }
6479
6479
  }
6480
6480
  }
6481
6481
  function b(v) {
6482
- return y(v) === u;
6482
+ return Q(v) === u;
6483
6483
  }
6484
6484
  return r1.AsyncMode = s, r1.ConcurrentMode = u, r1.ContextConsumer = l, r1.ContextProvider = a, r1.Element = t, r1.ForwardRef = c, r1.Fragment = i, r1.Lazy = I, r1.Memo = f, r1.Portal = n, r1.Profiler = o, r1.StrictMode = r, r1.Suspense = d, r1.isAsyncMode = function(v) {
6485
- return b(v) || y(v) === s;
6485
+ return b(v) || Q(v) === s;
6486
6486
  }, r1.isConcurrentMode = b, r1.isContextConsumer = function(v) {
6487
- return y(v) === l;
6487
+ return Q(v) === l;
6488
6488
  }, r1.isContextProvider = function(v) {
6489
- return y(v) === a;
6489
+ return Q(v) === a;
6490
6490
  }, r1.isElement = function(v) {
6491
6491
  return typeof v == "object" && v !== null && v.$$typeof === t;
6492
6492
  }, r1.isForwardRef = function(v) {
6493
- return y(v) === c;
6493
+ return Q(v) === c;
6494
6494
  }, r1.isFragment = function(v) {
6495
- return y(v) === i;
6495
+ return Q(v) === i;
6496
6496
  }, r1.isLazy = function(v) {
6497
- return y(v) === I;
6497
+ return Q(v) === I;
6498
6498
  }, r1.isMemo = function(v) {
6499
- return y(v) === f;
6499
+ return Q(v) === f;
6500
6500
  }, r1.isPortal = function(v) {
6501
- return y(v) === n;
6501
+ return Q(v) === n;
6502
6502
  }, r1.isProfiler = function(v) {
6503
- return y(v) === o;
6503
+ return Q(v) === o;
6504
6504
  }, r1.isStrictMode = function(v) {
6505
- return y(v) === r;
6505
+ return Q(v) === r;
6506
6506
  }, r1.isSuspense = function(v) {
6507
- return y(v) === d;
6507
+ return Q(v) === d;
6508
6508
  }, r1.isValidElementType = function(v) {
6509
6509
  return typeof v == "string" || typeof v == "function" || v === i || v === u || v === o || v === r || v === d || v === C || typeof v == "object" && v !== null && (v.$$typeof === I || v.$$typeof === f || v.$$typeof === a || v.$$typeof === l || v.$$typeof === c || v.$$typeof === m || v.$$typeof === h || v.$$typeof === B || v.$$typeof === g);
6510
- }, r1.typeOf = y, r1;
6510
+ }, r1.typeOf = Q, r1;
6511
6511
  }
6512
6512
  var i1 = {};
6513
6513
  /** @license React v16.13.1
@@ -6522,15 +6522,15 @@ var sr;
6522
6522
  function Vo() {
6523
6523
  return sr || (sr = 1, process.env.NODE_ENV !== "production" && function() {
6524
6524
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, i = e ? Symbol.for("react.fragment") : 60107, r = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, c = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, C = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, I = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, m = e ? Symbol.for("react.fundamental") : 60117, h = e ? Symbol.for("react.responder") : 60118, B = e ? Symbol.for("react.scope") : 60119;
6525
- function y(O) {
6526
- return typeof O == "string" || typeof O == "function" || O === i || O === u || O === o || O === r || O === d || O === C || typeof O == "object" && O !== null && (O.$$typeof === I || O.$$typeof === f || O.$$typeof === a || O.$$typeof === l || O.$$typeof === c || O.$$typeof === m || O.$$typeof === h || O.$$typeof === B || O.$$typeof === g);
6525
+ function Q(T) {
6526
+ return typeof T == "string" || typeof T == "function" || T === i || T === u || T === o || T === r || T === d || T === C || typeof T == "object" && T !== null && (T.$$typeof === I || T.$$typeof === f || T.$$typeof === a || T.$$typeof === l || T.$$typeof === c || T.$$typeof === m || T.$$typeof === h || T.$$typeof === B || T.$$typeof === g);
6527
6527
  }
6528
- function b(O) {
6529
- if (typeof O == "object" && O !== null) {
6530
- var te = O.$$typeof;
6528
+ function b(T) {
6529
+ if (typeof T == "object" && T !== null) {
6530
+ var te = T.$$typeof;
6531
6531
  switch (te) {
6532
6532
  case t:
6533
- var z1 = O.type;
6533
+ var z1 = T.type;
6534
6534
  switch (z1) {
6535
6535
  case s:
6536
6536
  case u:
@@ -6557,47 +6557,47 @@ function Vo() {
6557
6557
  }
6558
6558
  }
6559
6559
  }
6560
- var v = s, Q = u, R = l, S = a, V = t, P = c, T = i, H = I, G = f, x = n, N = o, L = r, W = d, Z = !1;
6561
- function J(O) {
6562
- return Z || (Z = !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.")), d1(O) || b(O) === s;
6560
+ var v = s, R = u, y = l, P = a, S = t, w = c, H = i, O = I, G = f, x = n, N = o, L = r, W = d, Z = !1;
6561
+ function J(T) {
6562
+ return Z || (Z = !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.")), d1(T) || b(T) === s;
6563
6563
  }
6564
- function d1(O) {
6565
- return b(O) === u;
6564
+ function d1(T) {
6565
+ return b(T) === u;
6566
6566
  }
6567
- function H1(O) {
6568
- return b(O) === l;
6567
+ function H1(T) {
6568
+ return b(T) === l;
6569
6569
  }
6570
- function u1(O) {
6571
- return b(O) === a;
6570
+ function u1(T) {
6571
+ return b(T) === a;
6572
6572
  }
6573
- function I1(O) {
6574
- return typeof O == "object" && O !== null && O.$$typeof === t;
6573
+ function I1(T) {
6574
+ return typeof T == "object" && T !== null && T.$$typeof === t;
6575
6575
  }
6576
- function F1(O) {
6577
- return b(O) === c;
6576
+ function F1(T) {
6577
+ return b(T) === c;
6578
6578
  }
6579
- function y1(O) {
6580
- return b(O) === i;
6579
+ function y1(T) {
6580
+ return b(T) === i;
6581
6581
  }
6582
- function Q1(O) {
6583
- return b(O) === I;
6582
+ function Q1(T) {
6583
+ return b(T) === I;
6584
6584
  }
6585
- function R1(O) {
6586
- return b(O) === f;
6585
+ function R1(T) {
6586
+ return b(T) === f;
6587
6587
  }
6588
- function N1(O) {
6589
- return b(O) === n;
6588
+ function N1(T) {
6589
+ return b(T) === n;
6590
6590
  }
6591
- function j1(O) {
6592
- return b(O) === o;
6591
+ function j1(T) {
6592
+ return b(T) === o;
6593
6593
  }
6594
- function _1(O) {
6595
- return b(O) === r;
6594
+ function _1(T) {
6595
+ return b(T) === r;
6596
6596
  }
6597
- function ce(O) {
6598
- return b(O) === d;
6597
+ function ce(T) {
6598
+ return b(T) === d;
6599
6599
  }
6600
- i1.AsyncMode = v, i1.ConcurrentMode = Q, i1.ContextConsumer = R, i1.ContextProvider = S, i1.Element = V, i1.ForwardRef = P, i1.Fragment = T, i1.Lazy = H, i1.Memo = G, i1.Portal = x, i1.Profiler = N, i1.StrictMode = L, i1.Suspense = W, i1.isAsyncMode = J, i1.isConcurrentMode = d1, i1.isContextConsumer = H1, i1.isContextProvider = u1, i1.isElement = I1, i1.isForwardRef = F1, i1.isFragment = y1, i1.isLazy = Q1, i1.isMemo = R1, i1.isPortal = N1, i1.isProfiler = j1, i1.isStrictMode = _1, i1.isSuspense = ce, i1.isValidElementType = y, i1.typeOf = b;
6600
+ i1.AsyncMode = v, i1.ConcurrentMode = R, i1.ContextConsumer = y, i1.ContextProvider = P, i1.Element = S, i1.ForwardRef = w, i1.Fragment = H, i1.Lazy = O, i1.Memo = G, i1.Portal = x, i1.Profiler = N, i1.StrictMode = L, i1.Suspense = W, i1.isAsyncMode = J, i1.isConcurrentMode = d1, i1.isContextConsumer = H1, i1.isContextProvider = u1, i1.isElement = I1, i1.isForwardRef = F1, i1.isFragment = y1, i1.isLazy = Q1, i1.isMemo = R1, i1.isPortal = N1, i1.isProfiler = j1, i1.isStrictMode = _1, i1.isSuspense = ce, i1.isValidElementType = Q, i1.typeOf = b;
6601
6601
  }()), i1;
6602
6602
  }
6603
6603
  (function(e) {
@@ -7310,55 +7310,55 @@ function p8(e) {
7310
7310
  };
7311
7311
  if (!n || !n.offsetParent)
7312
7312
  return c;
7313
- var d = u.getBoundingClientRect(), C = d.height, f = n.getBoundingClientRect(), I = f.bottom, g = f.height, m = f.top, h = n.offsetParent.getBoundingClientRect(), B = h.top, y = a ? window.innerHeight : s8(u), b = Hi(u), v = parseInt(getComputedStyle(n).marginBottom, 10), Q = parseInt(getComputedStyle(n).marginTop, 10), R = B - Q, S = y - m, V = R + b, P = C - b - m, T = I - y + b + v, H = b + m - Q, G = 160;
7313
+ var d = u.getBoundingClientRect(), C = d.height, f = n.getBoundingClientRect(), I = f.bottom, g = f.height, m = f.top, h = n.offsetParent.getBoundingClientRect(), B = h.top, Q = a ? window.innerHeight : s8(u), b = Hi(u), v = parseInt(getComputedStyle(n).marginBottom, 10), R = parseInt(getComputedStyle(n).marginTop, 10), y = B - R, P = Q - m, S = y + b, w = C - b - m, H = I - Q + b + v, O = b + m - R, G = 160;
7314
7314
  switch (r) {
7315
7315
  case "auto":
7316
7316
  case "bottom":
7317
- if (S >= g)
7317
+ if (P >= g)
7318
7318
  return {
7319
7319
  placement: "bottom",
7320
7320
  maxHeight: t
7321
7321
  };
7322
- if (P >= g && !a)
7323
- return o && E2(u, T, G), {
7322
+ if (w >= g && !a)
7323
+ return o && E2(u, H, G), {
7324
7324
  placement: "bottom",
7325
7325
  maxHeight: t
7326
7326
  };
7327
- if (!a && P >= i || a && S >= i) {
7328
- o && E2(u, T, G);
7329
- var x = a ? S - v : P - v;
7327
+ if (!a && w >= i || a && P >= i) {
7328
+ o && E2(u, H, G);
7329
+ var x = a ? P - v : w - v;
7330
7330
  return {
7331
7331
  placement: "bottom",
7332
7332
  maxHeight: x
7333
7333
  };
7334
7334
  }
7335
7335
  if (r === "auto" || a) {
7336
- var N = t, L = a ? R : V;
7336
+ var N = t, L = a ? y : S;
7337
7337
  return L >= i && (N = Math.min(L - v - s.controlHeight, t)), {
7338
7338
  placement: "top",
7339
7339
  maxHeight: N
7340
7340
  };
7341
7341
  }
7342
7342
  if (r === "bottom")
7343
- return o && D2(u, T), {
7343
+ return o && D2(u, H), {
7344
7344
  placement: "bottom",
7345
7345
  maxHeight: t
7346
7346
  };
7347
7347
  break;
7348
7348
  case "top":
7349
- if (R >= g)
7349
+ if (y >= g)
7350
7350
  return {
7351
7351
  placement: "top",
7352
7352
  maxHeight: t
7353
7353
  };
7354
- if (V >= g && !a)
7355
- return o && E2(u, H, G), {
7354
+ if (S >= g && !a)
7355
+ return o && E2(u, O, G), {
7356
7356
  placement: "top",
7357
7357
  maxHeight: t
7358
7358
  };
7359
- if (!a && V >= i || a && R >= i) {
7359
+ if (!a && S >= i || a && y >= i) {
7360
7360
  var W = t;
7361
- return (!a && V >= i || a && R >= i) && (W = a ? R - Q : V - Q), o && E2(u, H, G), {
7361
+ return (!a && S >= i || a && y >= i) && (W = a ? y - R : S - R), o && E2(u, O, G), {
7362
7362
  placement: "top",
7363
7363
  maxHeight: W
7364
7364
  };
@@ -7387,20 +7387,20 @@ var Ti = function(t) {
7387
7387
  label: "menu"
7388
7388
  }, U1(n, m8(i), "100%"), U1(n, "backgroundColor", l.neutral0), U1(n, "borderRadius", o), U1(n, "boxShadow", "0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)"), U1(n, "marginBottom", a.menuGutter), U1(n, "marginTop", a.menuGutter), U1(n, "position", "absolute"), U1(n, "width", "100%"), U1(n, "zIndex", 1), n;
7389
7389
  }, Zi = /* @__PURE__ */ V1(null), h8 = function(t) {
7390
- var n = t.children, i = t.minMenuHeight, r = t.maxMenuHeight, o = t.menuPlacement, a = t.menuPosition, l = t.menuShouldScrollIntoView, s = t.theme, u = p1(Zi) || {}, c = u.setPortalPlacement, d = X(null), C = _(r), f = w1(C, 2), I = f[0], g = f[1], m = _(null), h = w1(m, 2), B = h[0], y = h[1];
7390
+ var n = t.children, i = t.minMenuHeight, r = t.maxMenuHeight, o = t.menuPlacement, a = t.menuPosition, l = t.menuShouldScrollIntoView, s = t.theme, u = p1(Zi) || {}, c = u.setPortalPlacement, d = X(null), C = _(r), f = w1(C, 2), I = f[0], g = f[1], m = _(null), h = w1(m, 2), B = h[0], Q = h[1];
7391
7391
  return Nt(function() {
7392
7392
  var b = d.current;
7393
7393
  if (!!b) {
7394
- var v = a === "fixed", Q = l && !v, R = p8({
7394
+ var v = a === "fixed", R = l && !v, y = p8({
7395
7395
  maxHeight: r,
7396
7396
  menuEl: b,
7397
7397
  minHeight: i,
7398
7398
  placement: o,
7399
- shouldScroll: Q,
7399
+ shouldScroll: R,
7400
7400
  isFixedPosition: v,
7401
7401
  theme: s
7402
7402
  });
7403
- g(R.maxHeight), y(R.placement), c == null || c(R.placement);
7403
+ g(y.maxHeight), Q(y.placement), c == null || c(y.placement);
7404
7404
  }
7405
7405
  }, [r, o, a, l, i, c, s]), n({
7406
7406
  ref: d,
@@ -7485,33 +7485,33 @@ var x8 = function(t) {
7485
7485
  return {
7486
7486
  setPortalPlacement: m
7487
7487
  };
7488
- }, []), B = _(null), y = w1(B, 2), b = y[0], v = y[1], Q = g1(function() {
7488
+ }, []), B = _(null), Q = w1(B, 2), b = Q[0], v = Q[1], R = g1(function() {
7489
7489
  if (!!o) {
7490
- var P = A8(o), T = u === "fixed" ? 0 : window.pageYOffset, H = P[g] + T;
7491
- (H !== (b == null ? void 0 : b.offset) || P.left !== (b == null ? void 0 : b.rect.left) || P.width !== (b == null ? void 0 : b.rect.width)) && v({
7492
- offset: H,
7493
- rect: P
7490
+ var w = A8(o), H = u === "fixed" ? 0 : window.pageYOffset, O = w[g] + H;
7491
+ (O !== (b == null ? void 0 : b.offset) || w.left !== (b == null ? void 0 : b.rect.left) || w.width !== (b == null ? void 0 : b.rect.width)) && v({
7492
+ offset: O,
7493
+ rect: w
7494
7494
  });
7495
7495
  }
7496
7496
  }, [o, u, g, b == null ? void 0 : b.offset, b == null ? void 0 : b.rect.left, b == null ? void 0 : b.rect.width]);
7497
7497
  Nt(function() {
7498
- Q();
7499
- }, [Q]);
7500
- var R = g1(function() {
7501
- typeof C.current == "function" && (C.current(), C.current = null), o && d.current && (C.current = di(o, d.current, Q, {
7498
+ R();
7499
+ }, [R]);
7500
+ var y = g1(function() {
7501
+ typeof C.current == "function" && (C.current(), C.current = null), o && d.current && (C.current = di(o, d.current, R, {
7502
7502
  elementResize: "ResizeObserver" in window
7503
7503
  }));
7504
- }, [o, Q]);
7504
+ }, [o, R]);
7505
7505
  Nt(function() {
7506
- R();
7507
- }, [R]);
7508
- var S = g1(function(P) {
7509
- d.current = P, R();
7510
- }, [R]);
7506
+ y();
7507
+ }, [y]);
7508
+ var P = g1(function(w) {
7509
+ d.current = w, y();
7510
+ }, [y]);
7511
7511
  if (!n && u !== "fixed" || !b)
7512
7512
  return null;
7513
- var V = k("div", l1({
7514
- ref: S,
7513
+ var S = k("div", l1({
7514
+ ref: P,
7515
7515
  css: c("menuPortal", {
7516
7516
  offset: b.offset,
7517
7517
  position: u,
@@ -7523,7 +7523,7 @@ var x8 = function(t) {
7523
7523
  }, l), i);
7524
7524
  return k(Zi.Provider, {
7525
7525
  value: h
7526
- }, n ? /* @__PURE__ */ v2(V, n) : V);
7526
+ }, n ? /* @__PURE__ */ v2(S, n) : S);
7527
7527
  }, V8 = function(t) {
7528
7528
  var n = t.isDisabled, i = t.isRtl;
7529
7529
  return {
@@ -8117,11 +8117,11 @@ var va = process.env.NODE_ENV === "production" ? {
8117
8117
  return "".concat(i).concat(n ? " for search term " + n : "", ".");
8118
8118
  }
8119
8119
  }, Qa = function(t) {
8120
- var n = t.ariaSelection, i = t.focusedOption, r = t.focusedValue, o = t.focusableOptions, a = t.isFocused, l = t.selectValue, s = t.selectProps, u = t.id, c = s.ariaLiveMessages, d = s.getOptionLabel, C = s.inputValue, f = s.isMulti, I = s.isOptionDisabled, g = s.isSearchable, m = s.menuIsOpen, h = s.options, B = s.screenReaderStatus, y = s.tabSelectsValue, b = s["aria-label"], v = s["aria-live"], Q = z(function() {
8120
+ var n = t.ariaSelection, i = t.focusedOption, r = t.focusedValue, o = t.focusableOptions, a = t.isFocused, l = t.selectValue, s = t.selectProps, u = t.id, c = s.ariaLiveMessages, d = s.getOptionLabel, C = s.inputValue, f = s.isMulti, I = s.isOptionDisabled, g = s.isSearchable, m = s.menuIsOpen, h = s.options, B = s.screenReaderStatus, Q = s.tabSelectsValue, b = s["aria-label"], v = s["aria-live"], R = z(function() {
8121
8121
  return t1(t1({}, Ba), c || {});
8122
- }, [c]), R = z(function() {
8122
+ }, [c]), y = z(function() {
8123
8123
  var x = "";
8124
- if (n && Q.onChange) {
8124
+ if (n && R.onChange) {
8125
8125
  var N = n.option, L = n.options, W = n.removedValue, Z = n.removedValues, J = n.value, d1 = function(R1) {
8126
8126
  return Array.isArray(R1) ? null : R1;
8127
8127
  }, H1 = W || N || d1(J), u1 = H1 ? d(H1) : "", I1 = L || Z || void 0, F1 = I1 ? I1.map(d) : [], y1 = t1({
@@ -8129,12 +8129,12 @@ var va = process.env.NODE_ENV === "production" ? {
8129
8129
  label: u1,
8130
8130
  labels: F1
8131
8131
  }, n);
8132
- x = Q.onChange(y1);
8132
+ x = R.onChange(y1);
8133
8133
  }
8134
8134
  return x;
8135
- }, [n, Q, I, l, d]), S = z(function() {
8135
+ }, [n, R, I, l, d]), P = z(function() {
8136
8136
  var x = "", N = i || r, L = !!(i && l && l.includes(i));
8137
- if (N && Q.onFocus) {
8137
+ if (N && R.onFocus) {
8138
8138
  var W = {
8139
8139
  focused: N,
8140
8140
  label: d(N),
@@ -8144,47 +8144,47 @@ var va = process.env.NODE_ENV === "production" ? {
8144
8144
  context: N === i ? "menu" : "value",
8145
8145
  selectValue: l
8146
8146
  };
8147
- x = Q.onFocus(W);
8147
+ x = R.onFocus(W);
8148
8148
  }
8149
8149
  return x;
8150
- }, [i, r, d, I, Q, o, l]), V = z(function() {
8150
+ }, [i, r, d, I, R, o, l]), S = z(function() {
8151
8151
  var x = "";
8152
- if (m && h.length && Q.onFilter) {
8152
+ if (m && h.length && R.onFilter) {
8153
8153
  var N = B({
8154
8154
  count: o.length
8155
8155
  });
8156
- x = Q.onFilter({
8156
+ x = R.onFilter({
8157
8157
  inputValue: C,
8158
8158
  resultsMessage: N
8159
8159
  });
8160
8160
  }
8161
8161
  return x;
8162
- }, [o, C, m, Q, h, B]), P = z(function() {
8162
+ }, [o, C, m, R, h, B]), w = z(function() {
8163
8163
  var x = "";
8164
- if (Q.guidance) {
8164
+ if (R.guidance) {
8165
8165
  var N = r ? "value" : m ? "menu" : "input";
8166
- x = Q.guidance({
8166
+ x = R.guidance({
8167
8167
  "aria-label": b,
8168
8168
  context: N,
8169
8169
  isDisabled: i && I(i, l),
8170
8170
  isMulti: f,
8171
8171
  isSearchable: g,
8172
- tabSelectsValue: y
8172
+ tabSelectsValue: Q
8173
8173
  });
8174
8174
  }
8175
8175
  return x;
8176
- }, [b, i, r, f, I, g, m, Q, l, y]), T = "".concat(S, " ").concat(V, " ").concat(P), H = k(G1, null, k("span", {
8176
+ }, [b, i, r, f, I, g, m, R, l, Q]), H = "".concat(P, " ").concat(S, " ").concat(w), O = k(G1, null, k("span", {
8177
8177
  id: "aria-selection"
8178
- }, R), k("span", {
8178
+ }, y), k("span", {
8179
8179
  id: "aria-context"
8180
- }, T)), G = (n == null ? void 0 : n.action) === "initial-input-focus";
8180
+ }, H)), G = (n == null ? void 0 : n.action) === "initial-input-focus";
8181
8181
  return k(G1, null, k(Br, {
8182
8182
  id: u
8183
- }, G && H), k(Br, {
8183
+ }, G && O), k(Br, {
8184
8184
  "aria-live": v,
8185
8185
  "aria-atomic": "false",
8186
8186
  "aria-relevant": "additions text"
8187
- }, a && !G && H));
8187
+ }, a && !G && O));
8188
8188
  }, Dt = [{
8189
8189
  base: "A",
8190
8190
  letters: "A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"
@@ -8494,8 +8494,8 @@ var Sa = function(t) {
8494
8494
  function Ma(e) {
8495
8495
  var t = e.isEnabled, n = e.onBottomArrive, i = e.onBottomLeave, r = e.onTopArrive, o = e.onTopLeave, a = X(!1), l = X(!1), s = X(0), u = X(null), c = g1(function(m, h) {
8496
8496
  if (u.current !== null) {
8497
- var B = u.current, y = B.scrollTop, b = B.scrollHeight, v = B.clientHeight, Q = u.current, R = h > 0, S = b - v - y, V = !1;
8498
- S > h && a.current && (i && i(m), a.current = !1), R && l.current && (o && o(m), l.current = !1), R && h > S ? (n && !a.current && n(m), Q.scrollTop = b, V = !0, a.current = !0) : !R && -h > y && (r && !l.current && r(m), Q.scrollTop = 0, V = !0, l.current = !0), V && Sa(m);
8497
+ var B = u.current, Q = B.scrollTop, b = B.scrollHeight, v = B.clientHeight, R = u.current, y = h > 0, P = b - v - Q, S = !1;
8498
+ P > h && a.current && (i && i(m), a.current = !1), y && l.current && (o && o(m), l.current = !1), y && h > P ? (n && !a.current && n(m), R.scrollTop = b, S = !0, a.current = !0) : !y && -h > Q && (r && !l.current && r(m), R.scrollTop = 0, S = !0, l.current = !0), S && Sa(m);
8499
8499
  }
8500
8500
  }, [n, i, r, o]), d = g1(function(m) {
8501
8501
  c(m, m.deltaY);
@@ -9018,7 +9018,7 @@ var s3 = function(t) {
9018
9018
  }, r.onValueInputFocus = function(l) {
9019
9019
  l.preventDefault(), l.stopPropagation(), r.focus();
9020
9020
  }, r.onKeyDown = function(l) {
9021
- var s = r.props, u = s.isMulti, c = s.backspaceRemovesValue, d = s.escapeClearsValue, C = s.inputValue, f = s.isClearable, I = s.isDisabled, g = s.menuIsOpen, m = s.onKeyDown, h = s.tabSelectsValue, B = s.openMenuOnFocus, y = r.state, b = y.focusedOption, v = y.focusedValue, Q = y.selectValue;
9021
+ var s = r.props, u = s.isMulti, c = s.backspaceRemovesValue, d = s.escapeClearsValue, C = s.inputValue, f = s.isClearable, I = s.isDisabled, g = s.menuIsOpen, m = s.onKeyDown, h = s.tabSelectsValue, B = s.openMenuOnFocus, Q = r.state, b = Q.focusedOption, v = Q.focusedValue, R = Q.selectValue;
9022
9022
  if (!I && !(typeof m == "function" && (m(l), l.defaultPrevented))) {
9023
9023
  switch (r.blockOptionHover = !0, l.key) {
9024
9024
  case "ArrowLeft":
@@ -9044,7 +9044,7 @@ var s3 = function(t) {
9044
9044
  }
9045
9045
  break;
9046
9046
  case "Tab":
9047
- if (r.isComposing || l.shiftKey || !g || !h || !b || B && r.isOptionSelected(b, Q))
9047
+ if (r.isComposing || l.shiftKey || !g || !h || !b || B && r.isOptionSelected(b, R))
9048
9048
  return;
9049
9049
  r.selectOption(b);
9050
9050
  break;
@@ -9314,7 +9314,7 @@ var s3 = function(t) {
9314
9314
  }, {
9315
9315
  key: "renderInput",
9316
9316
  value: function() {
9317
- var r = this.props, o = r.isDisabled, a = r.isSearchable, l = r.inputId, s = r.inputValue, u = r.tabIndex, c = r.form, d = r.menuIsOpen, C = r.required, f = this.getComponents(), I = f.Input, g = this.state, m = g.inputIsHidden, h = g.ariaSelection, B = this.commonProps, y = l || this.getElementId("input"), b = t1(t1(t1({
9317
+ var r = this.props, o = r.isDisabled, a = r.isSearchable, l = r.inputId, s = r.inputValue, u = r.tabIndex, c = r.form, d = r.menuIsOpen, C = r.required, f = this.getComponents(), I = f.Input, g = this.state, m = g.inputIsHidden, h = g.ariaSelection, B = this.commonProps, Q = l || this.getElementId("input"), b = t1(t1(t1({
9318
9318
  "aria-autocomplete": "list",
9319
9319
  "aria-expanded": d,
9320
9320
  "aria-haspopup": !0,
@@ -9339,7 +9339,7 @@ var s3 = function(t) {
9339
9339
  autoCapitalize: "none",
9340
9340
  autoComplete: "off",
9341
9341
  autoCorrect: "off",
9342
- id: y,
9342
+ id: Q,
9343
9343
  innerRef: this.getInputRef,
9344
9344
  isDisabled: o,
9345
9345
  isHidden: m,
@@ -9353,7 +9353,7 @@ var s3 = function(t) {
9353
9353
  value: s,
9354
9354
  ...b
9355
9355
  }) : /* @__PURE__ */ A(Pa, {
9356
- id: y,
9356
+ id: Q,
9357
9357
  innerRef: this.getInputRef,
9358
9358
  onBlur: this.onInputBlur,
9359
9359
  onChange: F2,
@@ -9369,20 +9369,20 @@ var s3 = function(t) {
9369
9369
  }, {
9370
9370
  key: "renderPlaceholderOrValue",
9371
9371
  value: function() {
9372
- var r = this, o = this.getComponents(), a = o.MultiValue, l = o.MultiValueContainer, s = o.MultiValueLabel, u = o.MultiValueRemove, c = o.SingleValue, d = o.Placeholder, C = this.commonProps, f = this.props, I = f.controlShouldRenderValue, g = f.isDisabled, m = f.isMulti, h = f.inputValue, B = f.placeholder, y = this.state, b = y.selectValue, v = y.focusedValue, Q = y.isFocused;
9372
+ var r = this, o = this.getComponents(), a = o.MultiValue, l = o.MultiValueContainer, s = o.MultiValueLabel, u = o.MultiValueRemove, c = o.SingleValue, d = o.Placeholder, C = this.commonProps, f = this.props, I = f.controlShouldRenderValue, g = f.isDisabled, m = f.isMulti, h = f.inputValue, B = f.placeholder, Q = this.state, b = Q.selectValue, v = Q.focusedValue, R = Q.isFocused;
9373
9373
  if (!this.hasValue() || !I)
9374
9374
  return h ? null : /* @__PURE__ */ Y1(d, {
9375
9375
  ...C,
9376
9376
  key: "placeholder",
9377
9377
  isDisabled: g,
9378
- isFocused: Q,
9378
+ isFocused: R,
9379
9379
  innerProps: {
9380
9380
  id: this.getElementId("placeholder")
9381
9381
  }
9382
9382
  }, B);
9383
9383
  if (m)
9384
- return b.map(function(S, V) {
9385
- var P = S === v, T = "".concat(r.getOptionLabel(S), "-").concat(r.getOptionValue(S));
9384
+ return b.map(function(P, S) {
9385
+ var w = P === v, H = "".concat(r.getOptionLabel(P), "-").concat(r.getOptionValue(P));
9386
9386
  return /* @__PURE__ */ Y1(a, {
9387
9387
  ...C,
9388
9388
  components: {
@@ -9390,32 +9390,32 @@ var s3 = function(t) {
9390
9390
  Label: s,
9391
9391
  Remove: u
9392
9392
  },
9393
- isFocused: P,
9393
+ isFocused: w,
9394
9394
  isDisabled: g,
9395
- key: T,
9396
- index: V,
9395
+ key: H,
9396
+ index: S,
9397
9397
  removeProps: {
9398
9398
  onClick: function() {
9399
- return r.removeValue(S);
9399
+ return r.removeValue(P);
9400
9400
  },
9401
9401
  onTouchEnd: function() {
9402
- return r.removeValue(S);
9402
+ return r.removeValue(P);
9403
9403
  },
9404
9404
  onMouseDown: function(G) {
9405
9405
  G.preventDefault();
9406
9406
  }
9407
9407
  },
9408
- data: S
9409
- }, r.formatOptionLabel(S, "value"));
9408
+ data: P
9409
+ }, r.formatOptionLabel(P, "value"));
9410
9410
  });
9411
9411
  if (h)
9412
9412
  return null;
9413
- var R = b[0];
9413
+ var y = b[0];
9414
9414
  return /* @__PURE__ */ A(c, {
9415
9415
  ...C,
9416
- data: R,
9416
+ data: y,
9417
9417
  isDisabled: g,
9418
- children: this.formatOptionLabel(R, "value")
9418
+ children: this.formatOptionLabel(y, "value")
9419
9419
  });
9420
9420
  }
9421
9421
  }, {
@@ -9485,19 +9485,19 @@ var s3 = function(t) {
9485
9485
  }, {
9486
9486
  key: "renderMenu",
9487
9487
  value: function() {
9488
- var r = this, o = this.getComponents(), a = o.Group, l = o.GroupHeading, s = o.Menu, u = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, C = o.NoOptionsMessage, f = o.Option, I = this.commonProps, g = this.state.focusedOption, m = this.props, h = m.captureMenuScroll, B = m.inputValue, y = m.isLoading, b = m.loadingMessage, v = m.minMenuHeight, Q = m.maxMenuHeight, R = m.menuIsOpen, S = m.menuPlacement, V = m.menuPosition, P = m.menuPortalTarget, T = m.menuShouldBlockScroll, H = m.menuShouldScrollIntoView, G = m.noOptionsMessage, x = m.onMenuScrollToTop, N = m.onMenuScrollToBottom;
9489
- if (!R)
9488
+ var r = this, o = this.getComponents(), a = o.Group, l = o.GroupHeading, s = o.Menu, u = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, C = o.NoOptionsMessage, f = o.Option, I = this.commonProps, g = this.state.focusedOption, m = this.props, h = m.captureMenuScroll, B = m.inputValue, Q = m.isLoading, b = m.loadingMessage, v = m.minMenuHeight, R = m.maxMenuHeight, y = m.menuIsOpen, P = m.menuPlacement, S = m.menuPosition, w = m.menuPortalTarget, H = m.menuShouldBlockScroll, O = m.menuShouldScrollIntoView, G = m.noOptionsMessage, x = m.onMenuScrollToTop, N = m.onMenuScrollToBottom;
9489
+ if (!y)
9490
9490
  return null;
9491
9491
  var L = function(I1, F1) {
9492
- var y1 = I1.type, Q1 = I1.data, R1 = I1.isDisabled, N1 = I1.isSelected, j1 = I1.label, _1 = I1.value, ce = g === Q1, O = R1 ? void 0 : function() {
9492
+ var y1 = I1.type, Q1 = I1.data, R1 = I1.isDisabled, N1 = I1.isSelected, j1 = I1.label, _1 = I1.value, ce = g === Q1, T = R1 ? void 0 : function() {
9493
9493
  return r.onOptionHover(Q1);
9494
9494
  }, te = R1 ? void 0 : function() {
9495
9495
  return r.selectOption(Q1);
9496
9496
  }, z1 = "".concat(r.getElementId("option"), "-").concat(F1), k1 = {
9497
9497
  id: z1,
9498
9498
  onClick: te,
9499
- onMouseMove: O,
9500
- onMouseOver: O,
9499
+ onMouseMove: T,
9500
+ onMouseOver: T,
9501
9501
  tabIndex: -1
9502
9502
  };
9503
9503
  return /* @__PURE__ */ Y1(f, {
@@ -9535,7 +9535,7 @@ var s3 = function(t) {
9535
9535
  } else if (u1.type === "option")
9536
9536
  return L(u1, "".concat(u1.index));
9537
9537
  });
9538
- else if (y) {
9538
+ else if (Q) {
9539
9539
  var Z = b({
9540
9540
  inputValue: B
9541
9541
  });
@@ -9558,10 +9558,10 @@ var s3 = function(t) {
9558
9558
  }
9559
9559
  var d1 = {
9560
9560
  minMenuHeight: v,
9561
- maxMenuHeight: Q,
9562
- menuPlacement: S,
9563
- menuPosition: V,
9564
- menuShouldScrollIntoView: H
9561
+ maxMenuHeight: R,
9562
+ menuPlacement: P,
9563
+ menuPosition: S,
9564
+ menuShouldScrollIntoView: O
9565
9565
  }, H1 = /* @__PURE__ */ A(h8, {
9566
9566
  ...I,
9567
9567
  ...d1,
@@ -9576,20 +9576,20 @@ var s3 = function(t) {
9576
9576
  onMouseMove: r.onMenuMouseMove,
9577
9577
  id: r.getElementId("listbox")
9578
9578
  },
9579
- isLoading: y,
9579
+ isLoading: Q,
9580
9580
  placement: y1,
9581
9581
  children: /* @__PURE__ */ A(La, {
9582
9582
  captureEnabled: h,
9583
9583
  onTopArrive: x,
9584
9584
  onBottomArrive: N,
9585
- lockEnabled: T,
9585
+ lockEnabled: H,
9586
9586
  children: function(R1) {
9587
9587
  return /* @__PURE__ */ A(u, {
9588
9588
  ...I,
9589
9589
  innerRef: function(j1) {
9590
9590
  r.getMenuListRef(j1), R1(j1);
9591
9591
  },
9592
- isLoading: y,
9592
+ isLoading: Q,
9593
9593
  maxHeight: Q1,
9594
9594
  focusedOption: g,
9595
9595
  children: W
@@ -9599,12 +9599,12 @@ var s3 = function(t) {
9599
9599
  });
9600
9600
  }
9601
9601
  });
9602
- return P || V === "fixed" ? /* @__PURE__ */ A(c, {
9602
+ return w || S === "fixed" ? /* @__PURE__ */ A(c, {
9603
9603
  ...I,
9604
- appendTo: P,
9604
+ appendTo: w,
9605
9605
  controlElement: this.controlRef,
9606
- menuPlacement: S,
9607
- menuPosition: V,
9606
+ menuPlacement: P,
9607
+ menuPosition: S,
9608
9608
  children: H1
9609
9609
  }) : H1;
9610
9610
  }
@@ -9709,7 +9709,7 @@ var s3 = function(t) {
9709
9709
  value: function(r, o) {
9710
9710
  var a = o.prevProps, l = o.clearFocusValueOnUpdate, s = o.inputIsHiddenAfterUpdate, u = o.ariaSelection, c = o.isFocused, d = o.prevWasFocused, C = r.options, f = r.value, I = r.menuIsOpen, g = r.inputValue, m = r.isMulti, h = N2(f), B = {};
9711
9711
  if (a && (f !== a.value || C !== a.options || I !== a.menuIsOpen || g !== a.inputValue)) {
9712
- var y = I ? Ka(r, h) : [], b = l ? qa(o, h) : null, v = _a(o, y);
9712
+ var Q = I ? Ka(r, h) : [], b = l ? qa(o, h) : null, v = _a(o, Q);
9713
9713
  B = {
9714
9714
  selectValue: h,
9715
9715
  focusedOption: v,
@@ -9717,18 +9717,18 @@ var s3 = function(t) {
9717
9717
  clearFocusValueOnUpdate: !1
9718
9718
  };
9719
9719
  }
9720
- var Q = s != null && r !== a ? {
9720
+ var R = s != null && r !== a ? {
9721
9721
  inputIsHidden: s,
9722
9722
  inputIsHiddenAfterUpdate: void 0
9723
- } : {}, R = u, S = c && d;
9724
- return c && !S && (R = {
9723
+ } : {}, y = u, P = c && d;
9724
+ return c && !P && (y = {
9725
9725
  value: ze(m, h, h[0] || null),
9726
9726
  options: h,
9727
9727
  action: "initial-input-focus"
9728
- }, S = !d), (u == null ? void 0 : u.action) === "initial-input-focus" && (R = null), t1(t1(t1({}, B), Q), {}, {
9728
+ }, P = !d), (u == null ? void 0 : u.action) === "initial-input-focus" && (y = null), t1(t1(t1({}, B), R), {}, {
9729
9729
  prevProps: r,
9730
- ariaSelection: R,
9731
- prevWasFocused: S
9730
+ ariaSelection: y,
9731
+ prevWasFocused: P
9732
9732
  });
9733
9733
  }
9734
9734
  }]), n;
@@ -9947,52 +9947,54 @@ function y7({
9947
9947
  showErrorText: f,
9948
9948
  onBlur: I,
9949
9949
  value: g,
9950
- menuIsOpen: m
9950
+ instanceId: m,
9951
+ menuIsOpen: h
9951
9952
  }) {
9952
9953
  const {
9953
- styles: h
9954
+ styles: B
9954
9955
  } = u2({
9955
9956
  error: d,
9956
9957
  isError: C,
9957
9958
  helpText: a
9958
- }), B = {
9959
+ }), Q = {
9959
9960
  ClearIndicator: c2,
9960
9961
  Option: mn,
9961
9962
  Placeholder: C2,
9962
- DropdownIndicator: (R) => /* @__PURE__ */ A(d2, {
9963
- ...R,
9963
+ DropdownIndicator: (P) => /* @__PURE__ */ A(d2, {
9964
+ ...P,
9964
9965
  isActive: !0
9965
9966
  }),
9966
- SingleValue: (R) => /* @__PURE__ */ A(et, {
9967
- ...R,
9967
+ SingleValue: (P) => /* @__PURE__ */ A(et, {
9968
+ ...P,
9968
9969
  hasLabelPlaceholder: l
9969
9970
  })
9970
- }, y = {
9971
+ }, b = {
9971
9972
  id: r,
9973
+ instanceId: m,
9972
9974
  name: o,
9973
9975
  placeholder: t,
9974
9976
  isDisabled: i,
9975
9977
  isClearable: c,
9976
- styles: h,
9978
+ styles: B,
9977
9979
  defaultValue: n,
9978
9980
  noOptionsMessage: () => "No encontrado"
9979
- }, b = {
9981
+ }, v = {
9980
9982
  onBlur: I,
9981
9983
  options: e,
9982
9984
  isSearchable: u,
9983
- components: B
9984
- }, v = () => (n == null ? void 0 : n.label) && (n == null ? void 0 : n.value) ? n : void 0, Q = () => (g == null ? void 0 : g.label) && (g == null ? void 0 : g.value) ? g : void 0;
9985
+ components: Q
9986
+ }, R = () => (n == null ? void 0 : n.label) && (n == null ? void 0 : n.value) ? n : void 0, y = () => (g == null ? void 0 : g.label) && (g == null ? void 0 : g.value) ? g : void 0;
9985
9987
  return /* @__PURE__ */ A(A2, {
9986
9988
  error: d,
9987
9989
  helpText: a,
9988
9990
  showErrorText: f,
9989
9991
  children: /* @__PURE__ */ A(pn, {
9990
- ...y,
9991
9992
  ...b,
9992
- menuIsOpen: m,
9993
- defaultValue: v(),
9994
- value: Q(),
9995
- onChange: (R) => R && s && s(R)
9993
+ ...v,
9994
+ menuIsOpen: h,
9995
+ defaultValue: R(),
9996
+ value: y(),
9997
+ onChange: (P) => P && s && s(P)
9996
9998
  })
9997
9999
  });
9998
10000
  }
@@ -10000,7 +10002,7 @@ var t7 = ["defaultOptions", "cacheOptions", "loadOptions", "options", "isLoading
10000
10002
  function u3(e) {
10001
10003
  var t = e.defaultOptions, n = t === void 0 ? !1 : t, i = e.cacheOptions, r = i === void 0 ? !1 : i, o = e.loadOptions;
10002
10004
  e.options;
10003
- var a = e.isLoading, l = a === void 0 ? !1 : a, s = e.onInputChange, u = e.filterOption, c = u === void 0 ? null : u, d = pe(e, t7), C = d.inputValue, f = X(void 0), I = X(!1), g = _(Array.isArray(n) ? n : void 0), m = w1(g, 2), h = m[0], B = m[1], y = _(typeof C < "u" ? C : ""), b = w1(y, 2), v = b[0], Q = b[1], R = _(n === !0), S = w1(R, 2), V = S[0], P = S[1], T = _(void 0), H = w1(T, 2), G = H[0], x = H[1], N = _([]), L = w1(N, 2), W = L[0], Z = L[1], J = _(!1), d1 = w1(J, 2), H1 = d1[0], u1 = d1[1], I1 = _({}), F1 = w1(I1, 2), y1 = F1[0], Q1 = F1[1], R1 = _(void 0), N1 = w1(R1, 2), j1 = N1[0], _1 = N1[1], ce = _(void 0), O = w1(ce, 2), te = O[0], z1 = O[1];
10005
+ var a = e.isLoading, l = a === void 0 ? !1 : a, s = e.onInputChange, u = e.filterOption, c = u === void 0 ? null : u, d = pe(e, t7), C = d.inputValue, f = X(void 0), I = X(!1), g = _(Array.isArray(n) ? n : void 0), m = w1(g, 2), h = m[0], B = m[1], Q = _(typeof C < "u" ? C : ""), b = w1(Q, 2), v = b[0], R = b[1], y = _(n === !0), P = w1(y, 2), S = P[0], w = P[1], H = _(void 0), O = w1(H, 2), G = O[0], x = O[1], N = _([]), L = w1(N, 2), W = L[0], Z = L[1], J = _(!1), d1 = w1(J, 2), H1 = d1[0], u1 = d1[1], I1 = _({}), F1 = w1(I1, 2), y1 = F1[0], Q1 = F1[1], R1 = _(void 0), N1 = w1(R1, 2), j1 = N1[0], _1 = N1[1], ce = _(void 0), T = w1(ce, 2), te = T[0], z1 = T[1];
10004
10006
  r !== te && (Q1({}), z1(r)), n !== j1 && (B(Array.isArray(n) ? n : void 0), _1(n)), A1(function() {
10005
10007
  return I.current = !0, function() {
10006
10008
  I.current = !1;
@@ -10016,27 +10018,27 @@ function u3(e) {
10016
10018
  }, [o]);
10017
10019
  A1(function() {
10018
10020
  n === !0 && k1(v, function(Ae) {
10019
- !I.current || (B(Ae || []), P(!!f.current));
10021
+ !I.current || (B(Ae || []), w(!!f.current));
10020
10022
  });
10021
10023
  }, []);
10022
10024
  var xe = g1(function(Ae, J1) {
10023
10025
  var D1 = l8(Ae, J1, s);
10024
10026
  if (!D1) {
10025
- f.current = void 0, Q(""), x(""), Z([]), P(!1), u1(!1);
10027
+ f.current = void 0, R(""), x(""), Z([]), w(!1), u1(!1);
10026
10028
  return;
10027
10029
  }
10028
10030
  if (r && y1[D1])
10029
- Q(D1), x(D1), Z(y1[D1]), P(!1), u1(!1);
10031
+ R(D1), x(D1), Z(y1[D1]), w(!1), u1(!1);
10030
10032
  else {
10031
10033
  var tt = f.current = {};
10032
- Q(D1), P(!0), u1(!G), k1(D1, function(me) {
10033
- !I || tt === f.current && (f.current = void 0, P(!1), x(D1), Z(me || []), u1(!1), Q1(me ? t1(t1({}, y1), {}, U1({}, D1, me)) : y1));
10034
+ R(D1), w(!0), u1(!G), k1(D1, function(me) {
10035
+ !I || tt === f.current && (f.current = void 0, w(!1), x(D1), Z(me || []), u1(!1), Q1(me ? t1(t1({}, y1), {}, U1({}, D1, me)) : y1));
10034
10036
  });
10035
10037
  }
10036
10038
  }, [r, k1, G, y1, s]), g2 = H1 ? [] : v && G ? W : h || [];
10037
10039
  return t1(t1({}, d), {}, {
10038
10040
  options: g2,
10039
- isLoading: V || l,
10041
+ isLoading: S || l,
10040
10042
  onInputChange: xe,
10041
10043
  filterOption: c
10042
10044
  });
@@ -10065,51 +10067,53 @@ function R7({
10065
10067
  showErrorText: f,
10066
10068
  onBlur: I,
10067
10069
  value: g,
10068
- menuIsOpen: m
10070
+ menuIsOpen: m,
10071
+ instanceId: h
10069
10072
  }) {
10070
10073
  const {
10071
- styles: h
10074
+ styles: B
10072
10075
  } = u2({
10073
10076
  error: i,
10074
10077
  isError: C,
10075
10078
  helpText: r
10076
- }), B = {
10079
+ }), Q = {
10077
10080
  ClearIndicator: c2,
10078
10081
  Option: mn,
10079
10082
  Placeholder: C2,
10080
- DropdownIndicator: (Q) => /* @__PURE__ */ A(d2, {
10081
- ...Q,
10083
+ DropdownIndicator: (y) => /* @__PURE__ */ A(d2, {
10084
+ ...y,
10082
10085
  isActive: !0
10083
10086
  }),
10084
- SingleValue: (Q) => /* @__PURE__ */ A(et, {
10085
- ...Q,
10087
+ SingleValue: (y) => /* @__PURE__ */ A(et, {
10088
+ ...y,
10086
10089
  hasLabelPlaceholder: o
10087
10090
  })
10088
- }, y = {
10091
+ }, b = {
10089
10092
  id: t,
10093
+ instanceId: h,
10090
10094
  name: n,
10091
10095
  placeholder: e,
10092
10096
  isDisabled: a,
10093
10097
  isClearable: l,
10094
- styles: h,
10098
+ styles: B,
10095
10099
  noOptionsMessage: () => "No encontrado"
10096
- }, b = () => (s == null ? void 0 : s.label) && (s == null ? void 0 : s.value) ? s : void 0, v = () => (g == null ? void 0 : g.label) && (g == null ? void 0 : g.value) ? g : void 0;
10100
+ }, v = () => (s == null ? void 0 : s.label) && (s == null ? void 0 : s.value) ? s : void 0, R = () => (g == null ? void 0 : g.label) && (g == null ? void 0 : g.value) ? g : void 0;
10097
10101
  return /* @__PURE__ */ A(A2, {
10098
10102
  error: i,
10099
10103
  helpText: r,
10100
10104
  showErrorText: f,
10101
10105
  children: /* @__PURE__ */ A(n7, {
10102
- ...y,
10106
+ ...b,
10103
10107
  cacheOptions: !0,
10104
10108
  isLoading: c,
10105
10109
  onBlur: I,
10106
10110
  menuIsOpen: m,
10107
- components: B,
10111
+ components: Q,
10108
10112
  defaultOptions: !0,
10109
- defaultValue: b(),
10110
- value: v(),
10111
- onChange: (Q) => u && u(Q),
10112
- loadOptions: (Q) => d && d(Q)
10113
+ defaultValue: v(),
10114
+ value: R(),
10115
+ onChange: (y) => u && u(y),
10116
+ loadOptions: (y) => d && d(y)
10113
10117
  })
10114
10118
  });
10115
10119
  }
@@ -10173,55 +10177,57 @@ function x7({
10173
10177
  showErrorText: g,
10174
10178
  onBlur: m,
10175
10179
  menuIsOpen: h,
10176
- value: B
10180
+ instanceId: B,
10181
+ value: Q
10177
10182
  }) {
10178
10183
  const {
10179
- styles: y
10184
+ styles: b
10180
10185
  } = u2({
10181
10186
  error: o,
10182
10187
  isError: I,
10183
10188
  helpText: l
10184
- }), b = {
10189
+ }), v = {
10185
10190
  ClearIndicator: c2,
10186
- DropdownIndicator: (V) => /* @__PURE__ */ A(d2, {
10187
- ...V,
10191
+ DropdownIndicator: (w) => /* @__PURE__ */ A(d2, {
10192
+ ...w,
10188
10193
  isActive: !0
10189
10194
  }),
10190
10195
  Placeholder: C2,
10191
- Option: (V) => /* @__PURE__ */ A(r7, {
10192
- ...V,
10196
+ Option: (w) => /* @__PURE__ */ A(r7, {
10197
+ ...w,
10193
10198
  alignButton: C
10194
10199
  }),
10195
- SingleValue: (V) => /* @__PURE__ */ A(et, {
10196
- ...V,
10200
+ SingleValue: (w) => /* @__PURE__ */ A(et, {
10201
+ ...w,
10197
10202
  hasLabelPlaceholder: s
10198
10203
  })
10199
- }, v = {
10204
+ }, R = {
10200
10205
  id: r,
10206
+ instanceId: B,
10201
10207
  name: a,
10202
10208
  placeholder: t,
10203
10209
  isDisabled: i,
10204
10210
  isClearable: d,
10205
- styles: y,
10211
+ styles: b,
10206
10212
  noOptionsMessage: () => "No encontrado"
10207
- }, Q = {
10213
+ }, y = {
10208
10214
  onBlur: m,
10209
10215
  isSearchable: c,
10210
10216
  options: e,
10211
- components: b
10212
- }, R = () => (n == null ? void 0 : n.label) && (n == null ? void 0 : n.value) ? n : void 0, S = () => (B == null ? void 0 : B.label) && (B == null ? void 0 : B.value) ? B : void 0;
10217
+ components: v
10218
+ }, P = () => (n == null ? void 0 : n.label) && (n == null ? void 0 : n.value) ? n : void 0, S = () => (Q == null ? void 0 : Q.label) && (Q == null ? void 0 : Q.value) ? Q : void 0;
10213
10219
  return /* @__PURE__ */ A(A2, {
10214
10220
  error: o,
10215
10221
  helpText: l,
10216
10222
  showErrorText: g,
10217
10223
  children: /* @__PURE__ */ A(pn, {
10218
- ...v,
10219
- ...Q,
10224
+ ...R,
10225
+ ...y,
10220
10226
  menuIsOpen: h,
10221
10227
  className: "font-sans",
10222
- defaultValue: R(),
10228
+ defaultValue: P(),
10223
10229
  value: S(),
10224
- onChange: (V) => u && u(V),
10230
+ onChange: (w) => u && u(w),
10225
10231
  addButton: f
10226
10232
  })
10227
10233
  });
@@ -10319,51 +10325,53 @@ function w7({
10319
10325
  showErrorText: C,
10320
10326
  onBlur: f,
10321
10327
  menuIsOpen: I,
10322
- value: g
10328
+ value: g,
10329
+ instanceId: m
10323
10330
  }) {
10324
10331
  const {
10325
- styles: m
10332
+ styles: h
10326
10333
  } = u2({
10327
10334
  error: a,
10328
10335
  isError: d,
10329
10336
  helpText: s
10330
- }), h = {
10337
+ }), B = {
10331
10338
  ClearIndicator: c2,
10332
10339
  Option: u7,
10333
10340
  Placeholder: C2,
10334
- DropdownIndicator: (Q) => /* @__PURE__ */ A(d2, {
10335
- ...Q,
10341
+ DropdownIndicator: (y) => /* @__PURE__ */ A(d2, {
10342
+ ...y,
10336
10343
  isActive: !0
10337
10344
  }),
10338
- SingleValue: (Q) => /* @__PURE__ */ A(s7, {
10339
- ...Q,
10345
+ SingleValue: (y) => /* @__PURE__ */ A(s7, {
10346
+ ...y,
10340
10347
  isDisabled: o
10341
10348
  })
10342
- }, B = {
10349
+ }, Q = {
10343
10350
  id: e,
10351
+ instanceId: m,
10344
10352
  name: t,
10345
10353
  placeholder: n,
10346
10354
  isDisabled: o,
10347
10355
  isClearable: c,
10348
- styles: m,
10356
+ styles: h,
10349
10357
  noOptionsMessage: () => "No encontrado"
10350
- }, y = {
10358
+ }, b = {
10351
10359
  options: i,
10352
10360
  isSearchable: l,
10353
- components: h,
10361
+ components: B,
10354
10362
  onBlur: f
10355
- }, b = () => (r == null ? void 0 : r.label) && (r == null ? void 0 : r.value) ? r : void 0, v = () => (g == null ? void 0 : g.label) && (g == null ? void 0 : g.value) ? g : void 0;
10363
+ }, v = () => (r == null ? void 0 : r.label) && (r == null ? void 0 : r.value) ? r : void 0, R = () => (g == null ? void 0 : g.label) && (g == null ? void 0 : g.value) ? g : void 0;
10356
10364
  return /* @__PURE__ */ A(A2, {
10357
10365
  error: a,
10358
10366
  helpText: s,
10359
10367
  showErrorText: C,
10360
10368
  children: /* @__PURE__ */ A(pn, {
10361
- ...y,
10362
- ...B,
10369
+ ...b,
10370
+ ...Q,
10363
10371
  menuIsOpen: I,
10364
- defaultValue: b(),
10365
- value: v(),
10366
- onChange: (Q) => u && u(Q)
10372
+ defaultValue: v(),
10373
+ value: R(),
10374
+ onChange: (y) => u && u(y)
10367
10375
  })
10368
10376
  });
10369
10377
  }
@@ -10390,35 +10398,35 @@ var c7 = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel"
10390
10398
  }
10391
10399
  };
10392
10400
  function A7(e) {
10393
- var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, i = e.createOptionPosition, r = i === void 0 ? "last" : i, o = e.formatCreateLabel, a = o === void 0 ? ht.formatCreateLabel : o, l = e.isValidNewOption, s = l === void 0 ? ht.isValidNewOption : l, u = e.getNewOptionData, c = u === void 0 ? ht.getNewOptionData : u, d = e.onCreateOption, C = e.options, f = C === void 0 ? [] : C, I = e.onChange, g = pe(e, c7), m = g.getOptionValue, h = m === void 0 ? e3 : m, B = g.getOptionLabel, y = B === void 0 ? $i : B, b = g.inputValue, v = g.isLoading, Q = g.isMulti, R = g.value, S = g.name, V = z(function() {
10394
- return s(b, N2(R), f, {
10401
+ var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, i = e.createOptionPosition, r = i === void 0 ? "last" : i, o = e.formatCreateLabel, a = o === void 0 ? ht.formatCreateLabel : o, l = e.isValidNewOption, s = l === void 0 ? ht.isValidNewOption : l, u = e.getNewOptionData, c = u === void 0 ? ht.getNewOptionData : u, d = e.onCreateOption, C = e.options, f = C === void 0 ? [] : C, I = e.onChange, g = pe(e, c7), m = g.getOptionValue, h = m === void 0 ? e3 : m, B = g.getOptionLabel, Q = B === void 0 ? $i : B, b = g.inputValue, v = g.isLoading, R = g.isMulti, y = g.value, P = g.name, S = z(function() {
10402
+ return s(b, N2(y), f, {
10395
10403
  getOptionValue: h,
10396
- getOptionLabel: y
10404
+ getOptionLabel: Q
10397
10405
  }) ? c(b, a(b)) : void 0;
10398
- }, [a, c, y, h, b, s, f, R]), P = z(function() {
10399
- return (n || !v) && V ? r === "first" ? [V].concat(Ue(f)) : [].concat(Ue(f), [V]) : f;
10400
- }, [n, r, v, V, f]), T = g1(function(H, G) {
10406
+ }, [a, c, Q, h, b, s, f, y]), w = z(function() {
10407
+ return (n || !v) && S ? r === "first" ? [S].concat(Ue(f)) : [].concat(Ue(f), [S]) : f;
10408
+ }, [n, r, v, S, f]), H = g1(function(O, G) {
10401
10409
  if (G.action !== "select-option")
10402
- return I(H, G);
10403
- var x = Array.isArray(H) ? H : [H];
10404
- if (x[x.length - 1] === V) {
10410
+ return I(O, G);
10411
+ var x = Array.isArray(O) ? O : [O];
10412
+ if (x[x.length - 1] === S) {
10405
10413
  if (d)
10406
10414
  d(b);
10407
10415
  else {
10408
10416
  var N = c(b, b), L = {
10409
10417
  action: "create-option",
10410
- name: S,
10418
+ name: P,
10411
10419
  option: N
10412
10420
  };
10413
- I(ze(Q, [].concat(Ue(N2(R)), [N]), N), L);
10421
+ I(ze(R, [].concat(Ue(N2(y)), [N]), N), L);
10414
10422
  }
10415
10423
  return;
10416
10424
  }
10417
- I(H, G);
10418
- }, [c, b, Q, S, V, d, I, R]);
10425
+ I(O, G);
10426
+ }, [c, b, R, P, S, d, I, y]);
10419
10427
  return t1(t1({}, g), {}, {
10420
- options: P,
10421
- onChange: T
10428
+ options: w,
10429
+ onChange: H
10422
10430
  });
10423
10431
  }
10424
10432
  var d7 = /* @__PURE__ */ le(function(e, t) {
@@ -10448,64 +10456,66 @@ function V7({
10448
10456
  menuIsOpen: m,
10449
10457
  allowCreateWhileLoading: h,
10450
10458
  createOptionPosition: B = "first",
10451
- logo: y
10459
+ logo: Q,
10460
+ instanceId: b
10452
10461
  }) {
10453
10462
  const {
10454
- styles: b
10463
+ styles: v
10455
10464
  } = u2({
10456
10465
  error: i,
10457
10466
  isError: C,
10458
10467
  helpText: r,
10459
- hasLogo: Boolean(y)
10460
- }), v = {
10468
+ hasLogo: Boolean(Q)
10469
+ }), R = {
10461
10470
  ClearIndicator: c2,
10462
10471
  Option: mn,
10463
10472
  Placeholder: C2,
10464
- DropdownIndicator: (V) => /* @__PURE__ */ A(d2, {
10465
- ...V,
10473
+ DropdownIndicator: (w) => /* @__PURE__ */ A(d2, {
10474
+ ...w,
10466
10475
  isActive: !1
10467
10476
  }),
10468
- SingleValue: (V) => /* @__PURE__ */ A(et, {
10469
- ...V,
10477
+ SingleValue: (w) => /* @__PURE__ */ A(et, {
10478
+ ...w,
10470
10479
  hasLabelPlaceholder: o
10471
10480
  })
10472
- }, Q = {
10481
+ }, y = {
10473
10482
  id: t,
10483
+ instanceId: b,
10474
10484
  name: n,
10475
10485
  placeholder: e,
10476
10486
  isDisabled: a,
10477
10487
  isClearable: l,
10478
- styles: b,
10488
+ styles: v,
10479
10489
  noOptionsMessage: () => "No encontrado"
10480
- }, R = () => (s == null ? void 0 : s.label) && (s == null ? void 0 : s.value) ? s : void 0, S = () => (g == null ? void 0 : g.label) && (g == null ? void 0 : g.value) ? g : void 0;
10490
+ }, P = () => (s == null ? void 0 : s.label) && (s == null ? void 0 : s.value) ? s : void 0, S = () => (g == null ? void 0 : g.label) && (g == null ? void 0 : g.value) ? g : void 0;
10481
10491
  return /* @__PURE__ */ A(A2, {
10482
10492
  error: i,
10483
10493
  helpText: r,
10484
10494
  showErrorText: f,
10485
- logo: y,
10495
+ logo: Q,
10486
10496
  children: /* @__PURE__ */ A(d7, {
10487
- ...Q,
10497
+ ...y,
10488
10498
  cacheOptions: !0,
10489
10499
  menuIsOpen: m,
10490
10500
  isLoading: c,
10491
10501
  defaultOptions: !0,
10492
10502
  onBlur: I,
10493
- components: v,
10494
- defaultValue: R(),
10503
+ components: R,
10504
+ defaultValue: P(),
10495
10505
  createOptionPosition: B,
10496
- formatCreateLabel: (V) => V,
10506
+ formatCreateLabel: (w) => w,
10497
10507
  allowCreateWhileLoading: h,
10498
10508
  value: S(),
10499
- onChange: (V, {
10500
- action: P
10509
+ onChange: (w, {
10510
+ action: H
10501
10511
  }) => {
10502
- if (u && (u(V), P === "clear"))
10512
+ if (u && (u(w), H === "clear"))
10503
10513
  return u({
10504
10514
  label: "",
10505
10515
  value: ""
10506
10516
  });
10507
10517
  },
10508
- loadOptions: (V) => d && d(V)
10518
+ loadOptions: (w) => d && d(w)
10509
10519
  })
10510
10520
  });
10511
10521
  }
@@ -11064,7 +11074,7 @@ function f7({
11064
11074
  }, m = () => {
11065
11075
  var b;
11066
11076
  return c(""), o == null || o(""), s && ((b = s.current) == null ? void 0 : b.focus());
11067
- }, h = () => e ? "disabled" : "subdued", B = () => e ? "disabled" : d && t === "password" ? "default" : "subdued", y = M(
11077
+ }, h = () => e ? "disabled" : "subdued", B = () => e ? "disabled" : d && t === "password" ? "default" : "subdued", Q = M(
11068
11078
  "w-full rounded-sm bg-action-secondary-default py-md px-sm font-sans text-xs font-book leading-xs text-letter-default caret-icon-default placeholder:font-sans placeholder:text-xs placeholder:font-book placeholder:leading-xs placeholder:text-letter-subdued focus:ring-0 disabled:bg-action-secondary-disabled disabled:text-letter-disabled disabled:placeholder:text-letter-disabled",
11069
11079
  i || l ? "border border-action-critical-default focus:border-action-critical-default" : "border-none focus:rounded-[5px] focus:shadow-[0px_0px_0px_1px_#3EADFE]",
11070
11080
  {
@@ -11083,7 +11093,7 @@ function f7({
11083
11093
  showPassword: d,
11084
11094
  setShowPassword: C,
11085
11095
  clearInput: m,
11086
- getClassInput: y
11096
+ getClassInput: Q
11087
11097
  };
11088
11098
  }
11089
11099
  function I7({
@@ -11167,7 +11177,7 @@ const D7 = le((e, t) => {
11167
11177
  tooltip: m,
11168
11178
  showErrorText: h,
11169
11179
  isError: B,
11170
- showIconNumber: y = !1
11180
+ showIconNumber: Q = !1
11171
11181
  } = e, b = f7({
11172
11182
  isDisabled: r,
11173
11183
  type: s,
@@ -11179,13 +11189,13 @@ const D7 = le((e, t) => {
11179
11189
  isError: B
11180
11190
  }), {
11181
11191
  inputValue: v,
11182
- inputRef: Q,
11183
- handleChange: R,
11184
- subtractValue: S,
11185
- addMoreValue: V,
11186
- getColorIcon: P,
11187
- getColorIconPassword: T,
11188
- showPassword: H,
11192
+ inputRef: R,
11193
+ handleChange: y,
11194
+ subtractValue: P,
11195
+ addMoreValue: S,
11196
+ getColorIcon: w,
11197
+ getColorIconPassword: H,
11198
+ showPassword: O,
11189
11199
  setShowPassword: G,
11190
11200
  clearInput: x,
11191
11201
  getClassInput: N
@@ -11195,22 +11205,22 @@ const D7 = le((e, t) => {
11195
11205
  description: m == null ? void 0 : m.description,
11196
11206
  children: /* @__PURE__ */ A(h1, {
11197
11207
  kind: c,
11198
- color: P()
11208
+ color: w()
11199
11209
  })
11200
11210
  }) : /* @__PURE__ */ A(h1, {
11201
11211
  kind: c,
11202
- color: P()
11203
- }), W = z(() => j2([Q, t]), [Q, t]), Z = {
11212
+ color: w()
11213
+ }), W = z(() => j2([R, t]), [R, t]), Z = {
11204
11214
  id: n,
11205
11215
  name: i,
11206
11216
  ref: W,
11207
11217
  placeholder: a,
11208
11218
  value: v,
11209
- onChange: R,
11219
+ onChange: y,
11210
11220
  readOnly: o,
11211
11221
  disabled: r,
11212
11222
  autoComplete: l,
11213
- type: H ? "text" : s,
11223
+ type: O ? "text" : s,
11214
11224
  className: N,
11215
11225
  ...s === "number" && {
11216
11226
  onWheel: (J) => J.currentTarget.blur()
@@ -11223,7 +11233,7 @@ const D7 = le((e, t) => {
11223
11233
  }),
11224
11234
  renderIconLeft: u && /* @__PURE__ */ A(h1, {
11225
11235
  kind: u,
11226
- color: P()
11236
+ color: w()
11227
11237
  }),
11228
11238
  children: [/* @__PURE__ */ A(Me.Delete, {
11229
11239
  inputValue: v,
@@ -11235,26 +11245,26 @@ const D7 = le((e, t) => {
11235
11245
  })
11236
11246
  }), /* @__PURE__ */ D(Me.Special, {
11237
11247
  isNumber: s === "number",
11238
- showIconNumber: y,
11248
+ showIconNumber: Q,
11239
11249
  children: [/* @__PURE__ */ A(h1, {
11240
11250
  kind: "more",
11241
11251
  cursor: "pointer",
11242
11252
  size: "sm",
11243
- color: P(),
11244
- onClick: V
11253
+ color: w(),
11254
+ onClick: S
11245
11255
  }), /* @__PURE__ */ A(h1, {
11246
11256
  kind: "less",
11247
11257
  cursor: "pointer",
11248
11258
  size: "sm",
11249
- color: P(),
11250
- onClick: S
11259
+ color: w(),
11260
+ onClick: P
11251
11261
  })]
11252
11262
  }), /* @__PURE__ */ A(Me.Special, {
11253
11263
  isPassword: s === "password",
11254
11264
  children: /* @__PURE__ */ A(h1, {
11255
11265
  kind: "eye",
11256
- color: T(),
11257
- onClick: () => G(!H)
11266
+ color: H(),
11267
+ onClick: () => G(!O)
11258
11268
  })
11259
11269
  }), L()]
11260
11270
  }), /* @__PURE__ */ A(I7, {