aravint-ui-navigation 1.0.67 → 1.0.69

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { jsxs as le, jsx as W, Fragment as ho } from "react/jsx-runtime";
2
- import * as m from "react";
2
+ import * as p from "react";
3
3
  import Ir, { useState as Mr, memo as Wr, useMemo as go, forwardRef as yo, useLayoutEffect as vo } from "react";
4
4
  import * as Br from "react-dom";
5
5
  import bo from "react-dom";
@@ -13,13 +13,13 @@ const Oa = ({
13
13
  tabButtonClassName: s = "",
14
14
  contentClassName: c = "thin-scrollbar",
15
15
  showTabNumbers: a = !0,
16
- showContent: d = !0,
17
- animated: u = !0
16
+ showContent: u = !0,
17
+ animated: d = !0
18
18
  }) => {
19
19
  var k;
20
- const f = r !== void 0, [p, h] = Mr(
20
+ const f = r !== void 0, [m, h] = Mr(
21
21
  t || ((k = e[0]) == null ? void 0 : k.id) || ""
22
- ), g = f ? r : p, y = (j) => {
22
+ ), g = f ? r : m, y = (j) => {
23
23
  f || h(j), n == null || n(j);
24
24
  }, b = e.find((j) => j.id === g), x = {
25
25
  display: "flex",
@@ -77,7 +77,7 @@ const Oa = ({
77
77
  borderBottomLeftRadius: 12,
78
78
  borderBottomRightRadius: 12,
79
79
  boxShadow: "0 2px 6px rgba(0,0,0,.05)",
80
- transition: u ? "opacity .2s ease" : void 0,
80
+ transition: d ? "opacity .2s ease" : void 0,
81
81
  opacity: 1,
82
82
  flex: 1,
83
83
  overflowY: "auto",
@@ -210,18 +210,18 @@ const Oa = ({
210
210
  })
211
211
  }
212
212
  ),
213
- d && b && /* @__PURE__ */ W("div", { style: E, className: c, children: b.content })
213
+ u && b && /* @__PURE__ */ W("div", { style: E, className: c, children: b.content })
214
214
  ]
215
215
  }
216
216
  );
217
- }, xo = (e) => /* @__PURE__ */ m.createElement("svg", { viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ m.createElement("path", { d: "M2 6.2L4.6 8.8L10 3", stroke: "#ffffff", strokeWidth: 1.6, strokeLinecap: "round", strokeLinejoin: "round" })), wo = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5026_14435)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M9.83792%201.74731C11.057%200.528242%2013.0335%200.528242%2014.2525%201.74731C15.4716%202.96637%2015.4716%204.94287%2014.2525%206.16193L7.92901%2012.4855C7.56773%2012.8468%207.35506%2013.0595%207.11846%2013.244C6.8396%2013.4615%206.53786%2013.648%206.2186%2013.8001C5.94774%2013.9292%205.66239%2014.0243%205.17765%2014.1859L2.9569%2014.9261L2.42218%2015.1044C1.98848%2015.249%201.51031%2015.1361%201.18704%2014.8128C0.863776%2014.4895%200.750898%2014.0114%200.895467%2013.5777L1.81395%2010.8222C1.97551%2010.3375%202.07062%2010.0521%202.19971%209.78125C2.35186%209.46199%202.53834%209.16025%202.75585%208.88139C2.94039%208.64479%203.15309%208.43211%203.51441%208.07082L9.83792%201.74731ZM2.93384%2013.8797L4.82818%2013.2483C5.35559%2013.0725%205.57968%2012.9969%205.78838%2012.8974C6.04208%2012.7765%206.28185%2012.6283%206.50344%2012.4555C6.68574%2012.3133%206.85358%2012.1467%207.24669%2011.7536L12.293%206.70725C11.7672%206.52182%2011.0899%206.17809%2010.4558%205.54401C9.82176%204.90993%209.47803%204.2326%209.2926%203.70684L4.24628%208.75316C3.85317%209.14627%203.68656%209.31411%203.54436%209.49641C3.37152%209.71801%203.22334%209.95777%203.10243%2010.2115C3.00297%2010.4202%202.92736%2010.6443%202.75156%2011.1717L2.12011%2013.066L2.93384%2013.8797ZM10.1037%202.8957C10.1265%203.01234%2010.1651%203.1709%2010.2294%203.35626C10.3742%203.77356%2010.6476%204.3216%2011.1629%204.83691C11.6783%205.35221%2012.2263%205.6257%2012.6436%205.77047C12.8289%205.83478%2012.9875%205.87332%2013.1041%205.89612L13.5454%205.45482C14.374%204.62628%2014.374%203.28295%2013.5454%202.45441C12.7169%201.62587%2011.3736%201.62587%2010.545%202.45441L10.1037%202.8957Z'%20fill='%232563EB'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_5026_14435'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Hr = Wr(({ computed: e, showTime: t }) => {
217
+ }, xo = (e) => /* @__PURE__ */ p.createElement("svg", { viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ p.createElement("path", { d: "M2 6.2L4.6 8.8L10 3", stroke: "#ffffff", strokeWidth: 1.6, strokeLinecap: "round", strokeLinejoin: "round" })), wo = (e) => /* @__PURE__ */ p.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ p.createElement("g", { clipPath: "url(#clip0_5026_14435)" }, /* @__PURE__ */ p.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M9.83792 1.74731C11.057 0.528242 13.0335 0.528242 14.2525 1.74731C15.4716 2.96637 15.4716 4.94287 14.2525 6.16193L7.92901 12.4855C7.56773 12.8468 7.35506 13.0595 7.11846 13.244C6.8396 13.4615 6.53786 13.648 6.2186 13.8001C5.94774 13.9292 5.66239 14.0243 5.17765 14.1859L2.9569 14.9261L2.42218 15.1044C1.98848 15.249 1.51031 15.1361 1.18704 14.8128C0.863776 14.4895 0.750898 14.0114 0.895467 13.5777L1.81395 10.8222C1.97551 10.3375 2.07062 10.0521 2.19971 9.78125C2.35186 9.46199 2.53834 9.16025 2.75585 8.88139C2.94039 8.64479 3.15309 8.43211 3.51441 8.07082L9.83792 1.74731ZM2.93384 13.8797L4.82818 13.2483C5.35559 13.0725 5.57968 12.9969 5.78838 12.8974C6.04208 12.7765 6.28185 12.6283 6.50344 12.4555C6.68574 12.3133 6.85358 12.1467 7.24669 11.7536L12.293 6.70725C11.7672 6.52182 11.0899 6.17809 10.4558 5.54401C9.82176 4.90993 9.47803 4.2326 9.2926 3.70684L4.24628 8.75316C3.85317 9.14627 3.68656 9.31411 3.54436 9.49641C3.37152 9.71801 3.22334 9.95777 3.10243 10.2115C3.00297 10.4202 2.92736 10.6443 2.75156 11.1717L2.12011 13.066L2.93384 13.8797ZM10.1037 2.8957C10.1265 3.01234 10.1651 3.1709 10.2294 3.35626C10.3742 3.77356 10.6476 4.3216 11.1629 4.83691C11.6783 5.35221 12.2263 5.6257 12.6436 5.77047C12.8289 5.83478 12.9875 5.87332 13.1041 5.89612L13.5454 5.45482C14.374 4.62628 14.374 3.28295 13.5454 2.45441C12.7169 1.62587 11.3736 1.62587 10.545 2.45441L10.1037 2.8957Z", fill: "#2563EB" })), /* @__PURE__ */ p.createElement("defs", null, /* @__PURE__ */ p.createElement("clipPath", { id: "clip0_5026_14435" }, /* @__PURE__ */ p.createElement("rect", { width: 16, height: 16, fill: "white" })))), Hr = Wr(({ computed: e, showTime: t }) => {
218
218
  const { step: r, index: n, status: o } = e, i = o === "active" || o === "current", s = "label" in r ? r.label : r.title, c = "num" in r ? r.num : n, a = [
219
219
  "rs-stepper__circle",
220
220
  o === "completed" ? "rs-stepper__circle--completed" : "",
221
221
  i ? "rs-stepper__circle--active" : "",
222
222
  o === "rejected" ? "rs-stepper__circle--rejected" : "",
223
223
  n === 0 && o === "pending" ? "rs-stepper__circle--start" : ""
224
- ].filter(Boolean).join(" "), d = [
224
+ ].filter(Boolean).join(" "), u = [
225
225
  "rs-stepper__title",
226
226
  o === "pending" ? "rs-stepper__title--pending" : "",
227
227
  i ? "rs-stepper__title--active" : "",
@@ -233,7 +233,7 @@ const Oa = ({
233
233
  /* @__PURE__ */ W("div", { className: a, children: c }),
234
234
  (o === "completed" || o === "rejected") && /* @__PURE__ */ W("span", { className: `rs-stepper__check${o === "rejected" ? " rs-stepper__check--rejected" : ""}`, "aria-hidden": "true", children: /* @__PURE__ */ W(xo, {}) })
235
235
  ] }),
236
- /* @__PURE__ */ W("div", { className: d, children: s }),
236
+ /* @__PURE__ */ W("div", { className: u, children: s }),
237
237
  r.date && /* @__PURE__ */ W("div", { className: "rs-stepper__date", children: r.date }),
238
238
  t && r.time && /* @__PURE__ */ W("div", { className: "rs-stepper__time", children: r.time })
239
239
  ] });
@@ -249,13 +249,13 @@ const ko = ({
249
249
  showTime: s = !0,
250
250
  orientation: c = "responsive"
251
251
  }) => {
252
- const a = e.length, d = t ?? 1, u = t !== void 0 && t > a && e.every((E) => !("status" in E)), f = Math.max(1, Math.min(d, a)), p = u ? Math.max(0, a - 1) : Math.max(0, Math.min(a - 1, f - 1)), h = go(
252
+ const a = e.length, u = t ?? 1, d = t !== void 0 && t > a && e.every((E) => !("status" in E)), f = Math.max(1, Math.min(u, a)), m = d ? Math.max(0, a - 1) : Math.max(0, Math.min(a - 1, f - 1)), h = go(
253
253
  () => e.map((E, k) => {
254
254
  let j;
255
- return "status" in E ? j = E.status : u || k < p ? j = "completed" : k === p ? j = "active" : j = "pending", { step: E, index: k, status: j };
255
+ return "status" in E ? j = E.status : d || k < m ? j = "completed" : k === m ? j = "active" : j = "pending", { step: E, index: k, status: j };
256
256
  }),
257
- [e, p, u]
258
- ), g = h.length > 0 && h.every((E) => E.status === "completed"), y = u || g, b = a > 0 ? 100 / a / 2 : 0, x = h.reduce(
257
+ [e, m, d]
258
+ ), g = h.length > 0 && h.every((E) => E.status === "completed"), y = d || g, b = a > 0 ? 100 / a / 2 : 0, x = h.reduce(
259
259
  (E, k) => k.status === "completed" || k.status === "active" || k.status === "current" || k.status === "rejected" ? k.index : E,
260
260
  -1
261
261
  ), w = a > 1 ? y ? 100 : Math.max(0, x) / (a - 1) * 100 : 0, O = x >= 0 ? r : i, C = y ? r : i, D = {
@@ -299,12 +299,12 @@ function _o() {
299
299
  if (hr) return qe;
300
300
  hr = 1;
301
301
  var e = Ir, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
302
- function s(c, a, d) {
303
- var u, f = {}, p = null, h = null;
304
- d !== void 0 && (p = "" + d), a.key !== void 0 && (p = "" + a.key), a.ref !== void 0 && (h = a.ref);
305
- for (u in a) n.call(a, u) && !i.hasOwnProperty(u) && (f[u] = a[u]);
306
- if (c && c.defaultProps) for (u in a = c.defaultProps, a) f[u] === void 0 && (f[u] = a[u]);
307
- return { $$typeof: t, type: c, key: p, ref: h, props: f, _owner: o.current };
302
+ function s(c, a, u) {
303
+ var d, f = {}, m = null, h = null;
304
+ u !== void 0 && (m = "" + u), a.key !== void 0 && (m = "" + a.key), a.ref !== void 0 && (h = a.ref);
305
+ for (d in a) n.call(a, d) && !i.hasOwnProperty(d) && (f[d] = a[d]);
306
+ if (c && c.defaultProps) for (d in a = c.defaultProps, a) f[d] === void 0 && (f[d] = a[d]);
307
+ return { $$typeof: t, type: c, key: m, ref: h, props: f, _owner: o.current };
308
308
  }
309
309
  return qe.Fragment = r, qe.jsx = s, qe.jsxs = s, qe;
310
310
  }
@@ -321,7 +321,7 @@ var st = {};
321
321
  var gr;
322
322
  function Eo() {
323
323
  return gr || (gr = 1, process.env.NODE_ENV !== "production" && (function() {
324
- var e = Ir, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), g = Symbol.iterator, y = "@@iterator";
324
+ var e = Ir, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), a = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), g = Symbol.iterator, y = "@@iterator";
325
325
  function b(l) {
326
326
  if (l === null || typeof l != "object")
327
327
  return null;
@@ -349,7 +349,7 @@ function Eo() {
349
349
  var C = !1, D = !1, N = !1, E = !1, k = !1, j;
350
350
  j = Symbol.for("react.module.reference");
351
351
  function B(l) {
352
- return !!(typeof l == "string" || typeof l == "function" || l === n || l === i || k || l === o || l === d || l === u || E || l === h || C || D || N || typeof l == "object" && l !== null && (l.$$typeof === p || l.$$typeof === f || l.$$typeof === s || l.$$typeof === c || l.$$typeof === a || // This needs to include all possible module reference object
352
+ return !!(typeof l == "string" || typeof l == "function" || l === n || l === i || k || l === o || l === u || l === d || E || l === h || C || D || N || typeof l == "object" && l !== null && (l.$$typeof === m || l.$$typeof === f || l.$$typeof === s || l.$$typeof === c || l.$$typeof === a || // This needs to include all possible module reference object
353
353
  // types supported by any Flight configuration anywhere since
354
354
  // we don't know which Flight build this will end up being used
355
355
  // with.
@@ -381,9 +381,9 @@ function Eo() {
381
381
  return "Profiler";
382
382
  case o:
383
383
  return "StrictMode";
384
- case d:
385
- return "Suspense";
386
384
  case u:
385
+ return "Suspense";
386
+ case d:
387
387
  return "SuspenseList";
388
388
  }
389
389
  if (typeof l == "object")
@@ -399,7 +399,7 @@ function Eo() {
399
399
  case f:
400
400
  var A = l.displayName || null;
401
401
  return A !== null ? A : V(l.type) || "Memo";
402
- case p: {
402
+ case m: {
403
403
  var H = l, U = H._payload, $ = H._init;
404
404
  try {
405
405
  return V($(U));
@@ -577,9 +577,9 @@ function Eo() {
577
577
  if (typeof l == "string")
578
578
  return ye(l);
579
579
  switch (l) {
580
- case d:
581
- return ye("Suspense");
582
580
  case u:
581
+ return ye("Suspense");
582
+ case d:
583
583
  return ye("SuspenseList");
584
584
  }
585
585
  if (typeof l == "object")
@@ -588,7 +588,7 @@ function Eo() {
588
588
  return Ae(l.render);
589
589
  case f:
590
590
  return We(l.type, v, R);
591
- case p: {
591
+ case m: {
592
592
  var A = l, H = A._payload, U = A._init;
593
593
  try {
594
594
  return We(U(H), v, R);
@@ -929,16 +929,16 @@ function Ur() {
929
929
  const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, Co = (e, t) => (r) => {
930
930
  var n;
931
931
  if ((t == null ? void 0 : t.variants) == null) return br(e, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
932
- const { variants: o, defaultVariants: i } = t, s = Object.keys(o).map((d) => {
933
- const u = r == null ? void 0 : r[d], f = i == null ? void 0 : i[d];
934
- if (u === null) return null;
935
- const p = vr(u) || vr(f);
936
- return o[d][p];
937
- }), c = r && Object.entries(r).reduce((d, u) => {
938
- let [f, p] = u;
939
- return p === void 0 || (d[f] = p), d;
940
- }, {}), a = t == null || (n = t.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((d, u) => {
941
- let { class: f, className: p, ...h } = u;
932
+ const { variants: o, defaultVariants: i } = t, s = Object.keys(o).map((u) => {
933
+ const d = r == null ? void 0 : r[u], f = i == null ? void 0 : i[u];
934
+ if (d === null) return null;
935
+ const m = vr(d) || vr(f);
936
+ return o[u][m];
937
+ }), c = r && Object.entries(r).reduce((u, d) => {
938
+ let [f, m] = d;
939
+ return m === void 0 || (u[f] = m), u;
940
+ }, {}), a = t == null || (n = t.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((u, d) => {
941
+ let { class: f, className: m, ...h } = d;
942
942
  return Object.entries(h).every((g) => {
943
943
  let [y, b] = g;
944
944
  return Array.isArray(b) ? b.includes({
@@ -949,10 +949,10 @@ const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, C
949
949
  ...c
950
950
  }[y] === b;
951
951
  }) ? [
952
- ...d,
952
+ ...u,
953
953
  f,
954
- p
955
- ] : d;
954
+ m
955
+ ] : u;
956
956
  }, []);
957
957
  return br(e, s, a, r == null ? void 0 : r.class, r == null ? void 0 : r.className);
958
958
  }, Vt = "-", To = (e) => {
@@ -1061,7 +1061,7 @@ const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, C
1061
1061
  } = e;
1062
1062
  let n = (o) => {
1063
1063
  const i = [];
1064
- let s = 0, c = 0, a = 0, d;
1064
+ let s = 0, c = 0, a = 0, u;
1065
1065
  for (let g = 0; g < o.length; g++) {
1066
1066
  let y = o[g];
1067
1067
  if (s === 0 && c === 0) {
@@ -1070,16 +1070,16 @@ const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, C
1070
1070
  continue;
1071
1071
  }
1072
1072
  if (y === "/") {
1073
- d = g;
1073
+ u = g;
1074
1074
  continue;
1075
1075
  }
1076
1076
  }
1077
1077
  y === "[" ? s++ : y === "]" ? s-- : y === "(" ? c++ : y === ")" && c--;
1078
1078
  }
1079
- const u = i.length === 0 ? o : o.substring(a), f = Ao(u), p = f !== u, h = d && d > a ? d - a : void 0;
1079
+ const d = i.length === 0 ? o : o.substring(a), f = Ao(d), m = f !== d, h = u && u > a ? u - a : void 0;
1080
1080
  return {
1081
1081
  modifiers: i,
1082
- hasImportantModifier: p,
1082
+ hasImportantModifier: m,
1083
1083
  baseClassName: f,
1084
1084
  maybePostfixModifierPosition: h
1085
1085
  };
@@ -1126,31 +1126,31 @@ const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, C
1126
1126
  sortModifiers: i
1127
1127
  } = t, s = [], c = e.trim().split(Lo);
1128
1128
  let a = "";
1129
- for (let d = c.length - 1; d >= 0; d -= 1) {
1130
- const u = c[d], {
1129
+ for (let u = c.length - 1; u >= 0; u -= 1) {
1130
+ const d = c[u], {
1131
1131
  isExternal: f,
1132
- modifiers: p,
1132
+ modifiers: m,
1133
1133
  hasImportantModifier: h,
1134
1134
  baseClassName: g,
1135
1135
  maybePostfixModifierPosition: y
1136
- } = r(u);
1136
+ } = r(d);
1137
1137
  if (f) {
1138
- a = u + (a.length > 0 ? " " + a : a);
1138
+ a = d + (a.length > 0 ? " " + a : a);
1139
1139
  continue;
1140
1140
  }
1141
1141
  let b = !!y, x = n(b ? g.substring(0, y) : g);
1142
1142
  if (!x) {
1143
1143
  if (!b) {
1144
- a = u + (a.length > 0 ? " " + a : a);
1144
+ a = d + (a.length > 0 ? " " + a : a);
1145
1145
  continue;
1146
1146
  }
1147
1147
  if (x = n(g), !x) {
1148
- a = u + (a.length > 0 ? " " + a : a);
1148
+ a = d + (a.length > 0 ? " " + a : a);
1149
1149
  continue;
1150
1150
  }
1151
1151
  b = !1;
1152
1152
  }
1153
- const w = i(p).join(":"), O = h ? w + Ft : w, C = O + x;
1153
+ const w = i(m).join(":"), O = h ? w + Ft : w, C = O + x;
1154
1154
  if (s.includes(C))
1155
1155
  continue;
1156
1156
  s.push(C);
@@ -1159,7 +1159,7 @@ const vr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, br = Ur, C
1159
1159
  const E = D[N];
1160
1160
  s.push(O + E);
1161
1161
  }
1162
- a = u + (a.length > 0 ? " " + a : a);
1162
+ a = d + (a.length > 0 ? " " + a : a);
1163
1163
  }
1164
1164
  return a;
1165
1165
  };
@@ -1180,15 +1180,15 @@ const Gr = (e) => {
1180
1180
  function Mo(e, ...t) {
1181
1181
  let r, n, o, i = s;
1182
1182
  function s(a) {
1183
- const d = t.reduce((u, f) => f(u), e());
1184
- return r = Fo(d), n = r.cache.get, o = r.cache.set, i = c, c(a);
1183
+ const u = t.reduce((d, f) => f(d), e());
1184
+ return r = Fo(u), n = r.cache.get, o = r.cache.set, i = c, c(a);
1185
1185
  }
1186
1186
  function c(a) {
1187
- const d = n(a);
1188
- if (d)
1189
- return d;
1190
- const u = $o(a, r);
1191
- return o(a, u), u;
1187
+ const u = n(a);
1188
+ if (u)
1189
+ return u;
1190
+ const d = $o(a, r);
1191
+ return o(a, d), d;
1192
1192
  }
1193
1193
  return function() {
1194
1194
  return i(Io.apply(null, arguments));
@@ -1209,7 +1209,7 @@ const te = (e) => {
1209
1209
  const n = Kr.exec(e);
1210
1210
  return n ? n[1] ? t(n[1]) : r : !1;
1211
1211
  }, Qr = (e) => e === "position" || e === "percentage", qr = (e) => e === "image" || e === "url", Zr = (e) => e === "length" || e === "size" || e === "bg-size", en = (e) => e === "length", ni = (e) => e === "number", oi = (e) => e === "family-name", tn = (e) => e === "shadow", ii = () => {
1212
- const e = te("color"), t = te("font"), r = te("text"), n = te("font-weight"), o = te("tracking"), i = te("leading"), s = te("breakpoint"), c = te("container"), a = te("spacing"), d = te("radius"), u = te("shadow"), f = te("inset-shadow"), p = te("text-shadow"), h = te("drop-shadow"), g = te("blur"), y = te("perspective"), b = te("aspect"), x = te("ease"), w = te("animate"), O = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [
1212
+ const e = te("color"), t = te("font"), r = te("text"), n = te("font-weight"), o = te("tracking"), i = te("leading"), s = te("breakpoint"), c = te("container"), a = te("spacing"), u = te("radius"), d = te("shadow"), f = te("inset-shadow"), m = te("text-shadow"), h = te("drop-shadow"), g = te("blur"), y = te("perspective"), b = te("aspect"), x = te("ease"), w = te("animate"), O = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], C = () => [
1213
1213
  "center",
1214
1214
  "top",
1215
1215
  "bottom",
@@ -1240,7 +1240,7 @@ const te = (e) => {
1240
1240
  "",
1241
1241
  "none",
1242
1242
  "full",
1243
- d,
1243
+ u,
1244
1244
  S,
1245
1245
  T
1246
1246
  ], q = () => ["", z, Ze, Le], ge = () => ["solid", "dashed", "dotted", "double"], Te = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], G = () => [z, Pt, _r, kr], ye = () => [
@@ -2599,7 +2599,7 @@ const te = (e) => {
2599
2599
  // Deprecated since Tailwind CSS v4.0.0
2600
2600
  "",
2601
2601
  "none",
2602
- u,
2602
+ d,
2603
2603
  lt,
2604
2604
  at
2605
2605
  ]
@@ -2683,7 +2683,7 @@ const te = (e) => {
2683
2683
  * @see https://tailwindcss.com/docs/text-shadow
2684
2684
  */
2685
2685
  "text-shadow": [{
2686
- "text-shadow": ["none", p, lt, at]
2686
+ "text-shadow": ["none", m, lt, at]
2687
2687
  }],
2688
2688
  /**
2689
2689
  * Text Shadow Color
@@ -3710,33 +3710,33 @@ function rn(...e) {
3710
3710
  };
3711
3711
  }
3712
3712
  function Me(...e) {
3713
- return m.useCallback(rn(...e), e);
3713
+ return p.useCallback(rn(...e), e);
3714
3714
  }
3715
3715
  function nn(e, t = []) {
3716
3716
  let r = [];
3717
3717
  function n(i, s) {
3718
- const c = m.createContext(s), a = r.length;
3718
+ const c = p.createContext(s), a = r.length;
3719
3719
  r = [...r, s];
3720
- const d = (f) => {
3721
- var p;
3722
- const { scope: h, children: g, ...y } = f, b = ((p = h == null ? void 0 : h[e]) == null ? void 0 : p[a]) || c, x = m.useMemo(() => y, Object.values(y));
3720
+ const u = (f) => {
3721
+ var m;
3722
+ const { scope: h, children: g, ...y } = f, b = ((m = h == null ? void 0 : h[e]) == null ? void 0 : m[a]) || c, x = p.useMemo(() => y, Object.values(y));
3723
3723
  return /* @__PURE__ */ P.jsx(b.Provider, { value: x, children: g });
3724
3724
  };
3725
- d.displayName = i + "Provider";
3726
- function u(f, p) {
3725
+ u.displayName = i + "Provider";
3726
+ function d(f, m) {
3727
3727
  var h;
3728
- const g = ((h = p == null ? void 0 : p[e]) == null ? void 0 : h[a]) || c, y = m.useContext(g);
3728
+ const g = ((h = m == null ? void 0 : m[e]) == null ? void 0 : h[a]) || c, y = p.useContext(g);
3729
3729
  if (y) return y;
3730
3730
  if (s !== void 0) return s;
3731
3731
  throw new Error(`\`${f}\` must be used within \`${i}\``);
3732
3732
  }
3733
- return [d, u];
3733
+ return [u, d];
3734
3734
  }
3735
3735
  const o = () => {
3736
- const i = r.map((s) => m.createContext(s));
3736
+ const i = r.map((s) => p.createContext(s));
3737
3737
  return function(s) {
3738
3738
  const c = (s == null ? void 0 : s[e]) || i;
3739
- return m.useMemo(
3739
+ return p.useMemo(
3740
3740
  () => ({ [`__scope${e}`]: { ...s, [e]: c } }),
3741
3741
  [s, c]
3742
3742
  );
@@ -3754,21 +3754,21 @@ function li(...e) {
3754
3754
  }));
3755
3755
  return function(o) {
3756
3756
  const i = n.reduce((s, { useScope: c, scopeName: a }) => {
3757
- const d = c(o)[`__scope${a}`];
3758
- return { ...s, ...d };
3757
+ const u = c(o)[`__scope${a}`];
3758
+ return { ...s, ...u };
3759
3759
  }, {});
3760
- return m.useMemo(() => ({ [`__scope${t.scopeName}`]: i }), [i]);
3760
+ return p.useMemo(() => ({ [`__scope${t.scopeName}`]: i }), [i]);
3761
3761
  };
3762
3762
  };
3763
3763
  return r.scopeName = t.scopeName, r;
3764
3764
  }
3765
3765
  // @__NO_SIDE_EFFECTS__
3766
3766
  function ci(e) {
3767
- const t = /* @__PURE__ */ ui(e), r = m.forwardRef((n, o) => {
3768
- const { children: i, ...s } = n, c = m.Children.toArray(i), a = c.find(fi);
3767
+ const t = /* @__PURE__ */ ui(e), r = p.forwardRef((n, o) => {
3768
+ const { children: i, ...s } = n, c = p.Children.toArray(i), a = c.find(fi);
3769
3769
  if (a) {
3770
- const d = a.props.children, u = c.map((f) => f === a ? m.Children.count(d) > 1 ? m.Children.only(null) : m.isValidElement(d) ? d.props.children : null : f);
3771
- return /* @__PURE__ */ P.jsx(t, { ...s, ref: o, children: m.isValidElement(d) ? m.cloneElement(d, void 0, u) : null });
3770
+ const u = a.props.children, d = c.map((f) => f === a ? p.Children.count(u) > 1 ? p.Children.only(null) : p.isValidElement(u) ? u.props.children : null : f);
3771
+ return /* @__PURE__ */ P.jsx(t, { ...s, ref: o, children: p.isValidElement(u) ? p.cloneElement(u, void 0, d) : null });
3772
3772
  }
3773
3773
  return /* @__PURE__ */ P.jsx(t, { ...s, ref: o, children: i });
3774
3774
  });
@@ -3776,13 +3776,13 @@ function ci(e) {
3776
3776
  }
3777
3777
  // @__NO_SIDE_EFFECTS__
3778
3778
  function ui(e) {
3779
- const t = m.forwardRef((r, n) => {
3779
+ const t = p.forwardRef((r, n) => {
3780
3780
  const { children: o, ...i } = r;
3781
- if (m.isValidElement(o)) {
3781
+ if (p.isValidElement(o)) {
3782
3782
  const s = mi(o), c = pi(i, o.props);
3783
- return o.type !== m.Fragment && (c.ref = n ? rn(n, s) : s), m.cloneElement(o, c);
3783
+ return o.type !== p.Fragment && (c.ref = n ? rn(n, s) : s), p.cloneElement(o, c);
3784
3784
  }
3785
- return m.Children.count(o) > 1 ? m.Children.only(null) : null;
3785
+ return p.Children.count(o) > 1 ? p.Children.only(null) : null;
3786
3786
  });
3787
3787
  return t.displayName = `${e}.SlotClone`, t;
3788
3788
  }
@@ -3793,7 +3793,7 @@ function di(e) {
3793
3793
  return t.displayName = `${e}.Slottable`, t.__radixId = on, t;
3794
3794
  }
3795
3795
  function fi(e) {
3796
- return m.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === on;
3796
+ return p.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === on;
3797
3797
  }
3798
3798
  function pi(e, t) {
3799
3799
  const r = { ...t };
@@ -3830,7 +3830,7 @@ var hi = [
3830
3830
  "svg",
3831
3831
  "ul"
3832
3832
  ], je = hi.reduce((e, t) => {
3833
- const r = /* @__PURE__ */ ci(`Primitive.${t}`), n = m.forwardRef((o, i) => {
3833
+ const r = /* @__PURE__ */ ci(`Primitive.${t}`), n = p.forwardRef((o, i) => {
3834
3834
  const { asChild: s, ...c } = o, a = s ? r : t;
3835
3835
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ P.jsx(a, { ...c, ref: i });
3836
3836
  });
@@ -3840,28 +3840,28 @@ function gi(e, t) {
3840
3840
  e && Br.flushSync(() => e.dispatchEvent(t));
3841
3841
  }
3842
3842
  function gt(e) {
3843
- const t = m.useRef(e);
3844
- return m.useEffect(() => {
3843
+ const t = p.useRef(e);
3844
+ return p.useEffect(() => {
3845
3845
  t.current = e;
3846
- }), m.useMemo(() => (...r) => {
3846
+ }), p.useMemo(() => (...r) => {
3847
3847
  var n;
3848
3848
  return (n = t.current) == null ? void 0 : n.call(t, ...r);
3849
3849
  }, []);
3850
3850
  }
3851
3851
  function yi(e, t = globalThis == null ? void 0 : globalThis.document) {
3852
3852
  const r = gt(e);
3853
- m.useEffect(() => {
3853
+ p.useEffect(() => {
3854
3854
  const n = (o) => {
3855
3855
  o.key === "Escape" && r(o);
3856
3856
  };
3857
3857
  return t.addEventListener("keydown", n, { capture: !0 }), () => t.removeEventListener("keydown", n, { capture: !0 });
3858
3858
  }, [r, t]);
3859
3859
  }
3860
- var vi = "DismissableLayer", $t = "dismissableLayer.update", bi = "dismissableLayer.pointerDownOutside", xi = "dismissableLayer.focusOutside", Rr, sn = m.createContext({
3860
+ var vi = "DismissableLayer", $t = "dismissableLayer.update", bi = "dismissableLayer.pointerDownOutside", xi = "dismissableLayer.focusOutside", Rr, sn = p.createContext({
3861
3861
  layers: /* @__PURE__ */ new Set(),
3862
3862
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
3863
3863
  branches: /* @__PURE__ */ new Set()
3864
- }), an = m.forwardRef(
3864
+ }), an = p.forwardRef(
3865
3865
  (e, t) => {
3866
3866
  const {
3867
3867
  disableOutsidePointerEvents: r = !1,
@@ -3871,23 +3871,23 @@ var vi = "DismissableLayer", $t = "dismissableLayer.update", bi = "dismissableLa
3871
3871
  onInteractOutside: s,
3872
3872
  onDismiss: c,
3873
3873
  ...a
3874
- } = e, d = m.useContext(sn), [u, f] = m.useState(null), p = (u == null ? void 0 : u.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, h] = m.useState({}), g = Me(t, (E) => f(E)), y = Array.from(d.layers), [b] = [...d.layersWithOutsidePointerEventsDisabled].slice(-1), x = y.indexOf(b), w = u ? y.indexOf(u) : -1, O = d.layersWithOutsidePointerEventsDisabled.size > 0, C = w >= x, D = _i((E) => {
3875
- const k = E.target, j = [...d.branches].some((B) => B.contains(k));
3874
+ } = e, u = p.useContext(sn), [d, f] = p.useState(null), m = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, h] = p.useState({}), g = Me(t, (E) => f(E)), y = Array.from(u.layers), [b] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), x = y.indexOf(b), w = d ? y.indexOf(d) : -1, O = u.layersWithOutsidePointerEventsDisabled.size > 0, C = w >= x, D = _i((E) => {
3875
+ const k = E.target, j = [...u.branches].some((B) => B.contains(k));
3876
3876
  !C || j || (o == null || o(E), s == null || s(E), E.defaultPrevented || c == null || c());
3877
- }, p), N = Ei((E) => {
3877
+ }, m), N = Ei((E) => {
3878
3878
  const k = E.target;
3879
- [...d.branches].some((j) => j.contains(k)) || (i == null || i(E), s == null || s(E), E.defaultPrevented || c == null || c());
3880
- }, p);
3879
+ [...u.branches].some((j) => j.contains(k)) || (i == null || i(E), s == null || s(E), E.defaultPrevented || c == null || c());
3880
+ }, m);
3881
3881
  return yi((E) => {
3882
- w === d.layers.size - 1 && (n == null || n(E), !E.defaultPrevented && c && (E.preventDefault(), c()));
3883
- }, p), m.useEffect(() => {
3884
- if (u)
3885
- return r && (d.layersWithOutsidePointerEventsDisabled.size === 0 && (Rr = p.body.style.pointerEvents, p.body.style.pointerEvents = "none"), d.layersWithOutsidePointerEventsDisabled.add(u)), d.layers.add(u), Cr(), () => {
3886
- r && d.layersWithOutsidePointerEventsDisabled.size === 1 && (p.body.style.pointerEvents = Rr);
3882
+ w === u.layers.size - 1 && (n == null || n(E), !E.defaultPrevented && c && (E.preventDefault(), c()));
3883
+ }, m), p.useEffect(() => {
3884
+ if (d)
3885
+ return r && (u.layersWithOutsidePointerEventsDisabled.size === 0 && (Rr = m.body.style.pointerEvents, m.body.style.pointerEvents = "none"), u.layersWithOutsidePointerEventsDisabled.add(d)), u.layers.add(d), Cr(), () => {
3886
+ r && u.layersWithOutsidePointerEventsDisabled.size === 1 && (m.body.style.pointerEvents = Rr);
3887
3887
  };
3888
- }, [u, p, r, d]), m.useEffect(() => () => {
3889
- u && (d.layers.delete(u), d.layersWithOutsidePointerEventsDisabled.delete(u), Cr());
3890
- }, [u, d]), m.useEffect(() => {
3888
+ }, [d, m, r, u]), p.useEffect(() => () => {
3889
+ d && (u.layers.delete(d), u.layersWithOutsidePointerEventsDisabled.delete(d), Cr());
3890
+ }, [d, u]), p.useEffect(() => {
3891
3891
  const E = () => h({});
3892
3892
  return document.addEventListener($t, E), () => document.removeEventListener($t, E);
3893
3893
  }, []), /* @__PURE__ */ P.jsx(
@@ -3910,9 +3910,9 @@ var vi = "DismissableLayer", $t = "dismissableLayer.update", bi = "dismissableLa
3910
3910
  }
3911
3911
  );
3912
3912
  an.displayName = vi;
3913
- var wi = "DismissableLayerBranch", ki = m.forwardRef((e, t) => {
3914
- const r = m.useContext(sn), n = m.useRef(null), o = Me(t, n);
3915
- return m.useEffect(() => {
3913
+ var wi = "DismissableLayerBranch", ki = p.forwardRef((e, t) => {
3914
+ const r = p.useContext(sn), n = p.useRef(null), o = Me(t, n);
3915
+ return p.useEffect(() => {
3916
3916
  const i = n.current;
3917
3917
  if (i)
3918
3918
  return r.branches.add(i), () => {
@@ -3922,20 +3922,20 @@ var wi = "DismissableLayerBranch", ki = m.forwardRef((e, t) => {
3922
3922
  });
3923
3923
  ki.displayName = wi;
3924
3924
  function _i(e, t = globalThis == null ? void 0 : globalThis.document) {
3925
- const r = gt(e), n = m.useRef(!1), o = m.useRef(() => {
3925
+ const r = gt(e), n = p.useRef(!1), o = p.useRef(() => {
3926
3926
  });
3927
- return m.useEffect(() => {
3927
+ return p.useEffect(() => {
3928
3928
  const i = (c) => {
3929
3929
  if (c.target && !n.current) {
3930
3930
  let a = function() {
3931
3931
  ln(
3932
3932
  bi,
3933
3933
  r,
3934
- d,
3934
+ u,
3935
3935
  { discrete: !0 }
3936
3936
  );
3937
3937
  };
3938
- const d = { originalEvent: c };
3938
+ const u = { originalEvent: c };
3939
3939
  c.pointerType === "touch" ? (t.removeEventListener("click", o.current), o.current = a, t.addEventListener("click", o.current, { once: !0 })) : a();
3940
3940
  } else
3941
3941
  t.removeEventListener("click", o.current);
@@ -3952,8 +3952,8 @@ function _i(e, t = globalThis == null ? void 0 : globalThis.document) {
3952
3952
  };
3953
3953
  }
3954
3954
  function Ei(e, t = globalThis == null ? void 0 : globalThis.document) {
3955
- const r = gt(e), n = m.useRef(!1);
3956
- return m.useEffect(() => {
3955
+ const r = gt(e), n = p.useRef(!1);
3956
+ return p.useEffect(() => {
3957
3957
  const o = (i) => {
3958
3958
  i.target && !n.current && ln(xi, r, { originalEvent: i }, {
3959
3959
  discrete: !1
@@ -3973,11 +3973,11 @@ function ln(e, t, r, { discrete: n }) {
3973
3973
  const o = r.originalEvent.target, i = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: r });
3974
3974
  t && o.addEventListener(e, t, { once: !0 }), n ? gi(o, i) : o.dispatchEvent(i);
3975
3975
  }
3976
- var Oe = globalThis != null && globalThis.document ? m.useLayoutEffect : () => {
3977
- }, Ri = m[" useId ".trim().toString()] || (() => {
3976
+ var Oe = globalThis != null && globalThis.document ? p.useLayoutEffect : () => {
3977
+ }, Ri = p[" useId ".trim().toString()] || (() => {
3978
3978
  }), Ci = 0;
3979
3979
  function Ti(e) {
3980
- const [t, r] = m.useState(Ri());
3980
+ const [t, r] = p.useState(Ri());
3981
3981
  return Oe(() => {
3982
3982
  r((n) => n ?? String(Ci++));
3983
3983
  }, [e]), t ? `radix-${t}` : "";
@@ -4091,18 +4091,18 @@ function Or(e, t, r) {
4091
4091
  reference: n,
4092
4092
  floating: o
4093
4093
  } = e;
4094
- const i = pe(t), s = Gt(t), c = Yt(s), a = _e(t), d = i === "y", u = n.x + n.width / 2 - o.width / 2, f = n.y + n.height / 2 - o.height / 2, p = n[c] / 2 - o[c] / 2;
4094
+ const i = pe(t), s = Gt(t), c = Yt(s), a = _e(t), u = i === "y", d = n.x + n.width / 2 - o.width / 2, f = n.y + n.height / 2 - o.height / 2, m = n[c] / 2 - o[c] / 2;
4095
4095
  let h;
4096
4096
  switch (a) {
4097
4097
  case "top":
4098
4098
  h = {
4099
- x: u,
4099
+ x: d,
4100
4100
  y: n.y - o.height
4101
4101
  };
4102
4102
  break;
4103
4103
  case "bottom":
4104
4104
  h = {
4105
- x: u,
4105
+ x: d,
4106
4106
  y: n.y + n.height
4107
4107
  };
4108
4108
  break;
@@ -4126,10 +4126,10 @@ function Or(e, t, r) {
4126
4126
  }
4127
4127
  switch (Je(t)) {
4128
4128
  case "start":
4129
- h[s] -= p * (r && d ? -1 : 1);
4129
+ h[s] -= m * (r && u ? -1 : 1);
4130
4130
  break;
4131
4131
  case "end":
4132
- h[s] += p * (r && d ? -1 : 1);
4132
+ h[s] += m * (r && u ? -1 : 1);
4133
4133
  break;
4134
4134
  }
4135
4135
  return h;
@@ -4145,15 +4145,15 @@ async function Li(e, t) {
4145
4145
  elements: c,
4146
4146
  strategy: a
4147
4147
  } = e, {
4148
- boundary: d = "clippingAncestors",
4149
- rootBoundary: u = "viewport",
4148
+ boundary: u = "clippingAncestors",
4149
+ rootBoundary: d = "viewport",
4150
4150
  elementContext: f = "floating",
4151
- altBoundary: p = !1,
4151
+ altBoundary: m = !1,
4152
4152
  padding: h = 0
4153
- } = ke(t, e), g = cn(h), y = c[p ? f === "floating" ? "reference" : "floating" : f], b = mt(await i.getClippingRect({
4153
+ } = ke(t, e), g = cn(h), y = c[m ? f === "floating" ? "reference" : "floating" : f], b = mt(await i.getClippingRect({
4154
4154
  element: (r = await (i.isElement == null ? void 0 : i.isElement(y))) == null || r ? y : y.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(c.floating)),
4155
- boundary: d,
4156
- rootBoundary: u,
4155
+ boundary: u,
4156
+ rootBoundary: d,
4157
4157
  strategy: a
4158
4158
  })), x = f === "floating" ? {
4159
4159
  x: n,
@@ -4189,14 +4189,14 @@ const $i = 50, Ii = async (e, t, r) => {
4189
4189
  ...s,
4190
4190
  detectOverflow: Li
4191
4191
  }, a = await (s.isRTL == null ? void 0 : s.isRTL(t));
4192
- let d = await s.getElementRects({
4192
+ let u = await s.getElementRects({
4193
4193
  reference: e,
4194
4194
  floating: t,
4195
4195
  strategy: o
4196
4196
  }), {
4197
- x: u,
4197
+ x: d,
4198
4198
  y: f
4199
- } = Or(d, n, a), p = n, h = 0;
4199
+ } = Or(u, n, a), m = n, h = 0;
4200
4200
  const g = {};
4201
4201
  for (let y = 0; y < i.length; y++) {
4202
4202
  const b = i[y];
@@ -4211,35 +4211,35 @@ const $i = 50, Ii = async (e, t, r) => {
4211
4211
  data: D,
4212
4212
  reset: N
4213
4213
  } = await w({
4214
- x: u,
4214
+ x: d,
4215
4215
  y: f,
4216
4216
  initialPlacement: n,
4217
- placement: p,
4217
+ placement: m,
4218
4218
  strategy: o,
4219
4219
  middlewareData: g,
4220
- rects: d,
4220
+ rects: u,
4221
4221
  platform: c,
4222
4222
  elements: {
4223
4223
  reference: e,
4224
4224
  floating: t
4225
4225
  }
4226
4226
  });
4227
- u = O ?? u, f = C ?? f, g[x] = {
4227
+ d = O ?? d, f = C ?? f, g[x] = {
4228
4228
  ...g[x],
4229
4229
  ...D
4230
- }, N && h < $i && (h++, typeof N == "object" && (N.placement && (p = N.placement), N.rects && (d = N.rects === !0 ? await s.getElementRects({
4230
+ }, N && h < $i && (h++, typeof N == "object" && (N.placement && (m = N.placement), N.rects && (u = N.rects === !0 ? await s.getElementRects({
4231
4231
  reference: e,
4232
4232
  floating: t,
4233
4233
  strategy: o
4234
4234
  }) : N.rects), {
4235
- x: u,
4235
+ x: d,
4236
4236
  y: f
4237
- } = Or(d, p, a)), y = -1);
4237
+ } = Or(u, m, a)), y = -1);
4238
4238
  }
4239
4239
  return {
4240
- x: u,
4240
+ x: d,
4241
4241
  y: f,
4242
- placement: p,
4242
+ placement: m,
4243
4243
  strategy: o,
4244
4244
  middlewareData: g
4245
4245
  };
@@ -4256,20 +4256,20 @@ const $i = 50, Ii = async (e, t, r) => {
4256
4256
  elements: c,
4257
4257
  middlewareData: a
4258
4258
  } = t, {
4259
- element: d,
4260
- padding: u = 0
4259
+ element: u,
4260
+ padding: d = 0
4261
4261
  } = ke(e, t) || {};
4262
- if (d == null)
4262
+ if (u == null)
4263
4263
  return {};
4264
- const f = cn(u), p = {
4264
+ const f = cn(d), m = {
4265
4265
  x: r,
4266
4266
  y: n
4267
- }, h = Gt(o), g = Yt(h), y = await s.getDimensions(d), b = h === "y", x = b ? "top" : "left", w = b ? "bottom" : "right", O = b ? "clientHeight" : "clientWidth", C = i.reference[g] + i.reference[h] - p[h] - i.floating[g], D = p[h] - i.reference[h], N = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(d));
4267
+ }, h = Gt(o), g = Yt(h), y = await s.getDimensions(u), b = h === "y", x = b ? "top" : "left", w = b ? "bottom" : "right", O = b ? "clientHeight" : "clientWidth", C = i.reference[g] + i.reference[h] - m[h] - i.floating[g], D = m[h] - i.reference[h], N = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
4268
4268
  let E = N ? N[O] : 0;
4269
4269
  (!E || !await (s.isElement == null ? void 0 : s.isElement(N))) && (E = c.floating[O] || i.floating[g]);
4270
4270
  const k = C / 2 - D / 2, j = E / 2 - y[g] / 2 - 1, B = Pe(f[x], j), J = Pe(f[w], j), Y = B, V = E - y[g] - J, L = E / 2 - y[g] / 2 + k, X = It(Y, L, V), I = !a.arrow && Je(o) != null && L !== X && i.reference[g] / 2 - (L < Y ? B : J) - y[g] / 2 < 0, M = I ? L < Y ? L - Y : L - V : 0;
4271
4271
  return {
4272
- [h]: p[h] + M,
4272
+ [h]: m[h] + M,
4273
4273
  data: {
4274
4274
  [h]: X,
4275
4275
  centerOffset: L - X - M,
@@ -4292,11 +4292,11 @@ const $i = 50, Ii = async (e, t, r) => {
4292
4292
  rects: s,
4293
4293
  initialPlacement: c,
4294
4294
  platform: a,
4295
- elements: d
4295
+ elements: u
4296
4296
  } = t, {
4297
- mainAxis: u = !0,
4297
+ mainAxis: d = !0,
4298
4298
  crossAxis: f = !0,
4299
- fallbackPlacements: p,
4299
+ fallbackPlacements: m,
4300
4300
  fallbackStrategy: h = "bestFit",
4301
4301
  fallbackAxisSideDirection: g = "none",
4302
4302
  flipAlignment: y = !0,
@@ -4304,11 +4304,11 @@ const $i = 50, Ii = async (e, t, r) => {
4304
4304
  } = ke(e, t);
4305
4305
  if ((r = i.arrow) != null && r.alignmentOffset)
4306
4306
  return {};
4307
- const x = _e(o), w = pe(c), O = _e(c) === c, C = await (a.isRTL == null ? void 0 : a.isRTL(d.floating)), D = p || (O || !y ? [pt(c)] : Ni(c)), N = g !== "none";
4308
- !p && N && D.push(...zi(c, y, g, C));
4307
+ const x = _e(o), w = pe(c), O = _e(c) === c, C = await (a.isRTL == null ? void 0 : a.isRTL(u.floating)), D = m || (O || !y ? [pt(c)] : Ni(c)), N = g !== "none";
4308
+ !m && N && D.push(...zi(c, y, g, C));
4309
4309
  const E = [c, ...D], k = await a.detectOverflow(t, b), j = [];
4310
4310
  let B = ((n = i.flip) == null ? void 0 : n.overflows) || [];
4311
- if (u && j.push(k[x]), f) {
4311
+ if (d && j.push(k[x]), f) {
4312
4312
  const L = Pi(o, s, C);
4313
4313
  j.push(k[L[0]], k[L[1]]);
4314
4314
  }
@@ -4421,9 +4421,9 @@ async function Hi(e, t) {
4421
4421
  placement: r,
4422
4422
  platform: n,
4423
4423
  elements: o
4424
- } = e, i = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), s = _e(r), c = Je(r), a = pe(r) === "y", d = un.has(s) ? -1 : 1, u = i && a ? -1 : 1, f = ke(t, e);
4424
+ } = e, i = await (n.isRTL == null ? void 0 : n.isRTL(o.floating)), s = _e(r), c = Je(r), a = pe(r) === "y", u = un.has(s) ? -1 : 1, d = i && a ? -1 : 1, f = ke(t, e);
4425
4425
  let {
4426
- mainAxis: p,
4426
+ mainAxis: m,
4427
4427
  crossAxis: h,
4428
4428
  alignmentAxis: g
4429
4429
  } = typeof f == "number" ? {
@@ -4436,11 +4436,11 @@ async function Hi(e, t) {
4436
4436
  alignmentAxis: f.alignmentAxis
4437
4437
  };
4438
4438
  return c && typeof g == "number" && (h = c === "end" ? g * -1 : g), a ? {
4439
- x: h * u,
4440
- y: p * d
4439
+ x: h * d,
4440
+ y: m * u
4441
4441
  } : {
4442
- x: p * d,
4443
- y: h * u
4442
+ x: m * u,
4443
+ y: h * d
4444
4444
  };
4445
4445
  }
4446
4446
  const Vi = function(e) {
@@ -4490,24 +4490,24 @@ const Vi = function(e) {
4490
4490
  };
4491
4491
  }
4492
4492
  },
4493
- ...d
4494
- } = ke(e, t), u = {
4493
+ ...u
4494
+ } = ke(e, t), d = {
4495
4495
  x: r,
4496
4496
  y: n
4497
- }, f = await i.detectOverflow(t, d), p = pe(_e(o)), h = Ut(p);
4498
- let g = u[h], y = u[p];
4497
+ }, f = await i.detectOverflow(t, u), m = pe(_e(o)), h = Ut(m);
4498
+ let g = d[h], y = d[m];
4499
4499
  if (s) {
4500
4500
  const x = h === "y" ? "top" : "left", w = h === "y" ? "bottom" : "right", O = g + f[x], C = g - f[w];
4501
4501
  g = It(O, g, C);
4502
4502
  }
4503
4503
  if (c) {
4504
- const x = p === "y" ? "top" : "left", w = p === "y" ? "bottom" : "right", O = y + f[x], C = y - f[w];
4504
+ const x = m === "y" ? "top" : "left", w = m === "y" ? "bottom" : "right", O = y + f[x], C = y - f[w];
4505
4505
  y = It(O, y, C);
4506
4506
  }
4507
4507
  const b = a.fn({
4508
4508
  ...t,
4509
4509
  [h]: g,
4510
- [p]: y
4510
+ [m]: y
4511
4511
  });
4512
4512
  return {
4513
4513
  ...b,
@@ -4516,7 +4516,7 @@ const Vi = function(e) {
4516
4516
  y: b.y - n,
4517
4517
  enabled: {
4518
4518
  [h]: s,
4519
- [p]: c
4519
+ [m]: c
4520
4520
  }
4521
4521
  }
4522
4522
  };
@@ -4535,12 +4535,12 @@ const Vi = function(e) {
4535
4535
  } = t, {
4536
4536
  offset: c = 0,
4537
4537
  mainAxis: a = !0,
4538
- crossAxis: d = !0
4539
- } = ke(e, t), u = {
4538
+ crossAxis: u = !0
4539
+ } = ke(e, t), d = {
4540
4540
  x: r,
4541
4541
  y: n
4542
- }, f = pe(o), p = Ut(f);
4543
- let h = u[p], g = u[f];
4542
+ }, f = pe(o), m = Ut(f);
4543
+ let h = d[m], g = d[f];
4544
4544
  const y = ke(c, t), b = typeof y == "number" ? {
4545
4545
  mainAxis: y,
4546
4546
  crossAxis: 0
@@ -4550,16 +4550,16 @@ const Vi = function(e) {
4550
4550
  ...y
4551
4551
  };
4552
4552
  if (a) {
4553
- const O = p === "y" ? "height" : "width", C = i.reference[p] - i.floating[O] + b.mainAxis, D = i.reference[p] + i.reference[O] - b.mainAxis;
4553
+ const O = m === "y" ? "height" : "width", C = i.reference[m] - i.floating[O] + b.mainAxis, D = i.reference[m] + i.reference[O] - b.mainAxis;
4554
4554
  h < C ? h = C : h > D && (h = D);
4555
4555
  }
4556
- if (d) {
4556
+ if (u) {
4557
4557
  var x, w;
4558
- const O = p === "y" ? "width" : "height", C = un.has(_e(o)), D = i.reference[f] - i.floating[O] + (C && ((x = s.offset) == null ? void 0 : x[f]) || 0) + (C ? 0 : b.crossAxis), N = i.reference[f] + i.reference[O] + (C ? 0 : ((w = s.offset) == null ? void 0 : w[f]) || 0) - (C ? b.crossAxis : 0);
4558
+ const O = m === "y" ? "width" : "height", C = un.has(_e(o)), D = i.reference[f] - i.floating[O] + (C && ((x = s.offset) == null ? void 0 : x[f]) || 0) + (C ? 0 : b.crossAxis), N = i.reference[f] + i.reference[O] + (C ? 0 : ((w = s.offset) == null ? void 0 : w[f]) || 0) - (C ? b.crossAxis : 0);
4559
4559
  g < D ? g = D : g > N && (g = N);
4560
4560
  }
4561
4561
  return {
4562
- [p]: h,
4562
+ [m]: h,
4563
4563
  [f]: g
4564
4564
  };
4565
4565
  }
@@ -4578,18 +4578,18 @@ const Vi = function(e) {
4578
4578
  } = t, {
4579
4579
  apply: a = () => {
4580
4580
  },
4581
- ...d
4582
- } = ke(e, t), u = await s.detectOverflow(t, d), f = _e(o), p = Je(o), h = pe(o) === "y", {
4581
+ ...u
4582
+ } = ke(e, t), d = await s.detectOverflow(t, u), f = _e(o), m = Je(o), h = pe(o) === "y", {
4583
4583
  width: g,
4584
4584
  height: y
4585
4585
  } = i.floating;
4586
4586
  let b, x;
4587
- f === "top" || f === "bottom" ? (b = f, x = p === (await (s.isRTL == null ? void 0 : s.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (x = f, b = p === "end" ? "top" : "bottom");
4588
- const w = y - u.top - u.bottom, O = g - u.left - u.right, C = Pe(y - u[b], w), D = Pe(g - u[x], O), N = !t.middlewareData.shift;
4587
+ f === "top" || f === "bottom" ? (b = f, x = m === (await (s.isRTL == null ? void 0 : s.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (x = f, b = m === "end" ? "top" : "bottom");
4588
+ const w = y - d.top - d.bottom, O = g - d.left - d.right, C = Pe(y - d[b], w), D = Pe(g - d[x], O), N = !t.middlewareData.shift;
4589
4589
  let E = C, k = D;
4590
- if ((r = t.middlewareData.shift) != null && r.enabled.x && (k = O), (n = t.middlewareData.shift) != null && n.enabled.y && (E = w), N && !p) {
4591
- const B = ie(u.left, 0), J = ie(u.right, 0), Y = ie(u.top, 0), V = ie(u.bottom, 0);
4592
- h ? k = g - 2 * (B !== 0 || J !== 0 ? B + J : ie(u.left, u.right)) : E = y - 2 * (Y !== 0 || V !== 0 ? Y + V : ie(u.top, u.bottom));
4590
+ if ((r = t.middlewareData.shift) != null && r.enabled.x && (k = O), (n = t.middlewareData.shift) != null && n.enabled.y && (E = w), N && !m) {
4591
+ const B = ie(d.left, 0), J = ie(d.right, 0), Y = ie(d.top, 0), V = ie(d.bottom, 0);
4592
+ h ? k = g - 2 * (B !== 0 || J !== 0 ? B + J : ie(d.left, d.right)) : E = y - 2 * (Y !== 0 || V !== 0 ? Y + V : ie(d.top, d.bottom));
4593
4593
  }
4594
4594
  await a({
4595
4595
  ...t,
@@ -4764,20 +4764,20 @@ function Ie(e, t, r, n) {
4764
4764
  let s = me(1);
4765
4765
  t && (n ? ue(n) && (s = Ue(n)) : s = Ue(e));
4766
4766
  const c = Zi(i, r, n) ? mn(i) : me(0);
4767
- let a = (o.left + c.x) / s.x, d = (o.top + c.y) / s.y, u = o.width / s.x, f = o.height / s.y;
4767
+ let a = (o.left + c.x) / s.x, u = (o.top + c.y) / s.y, d = o.width / s.x, f = o.height / s.y;
4768
4768
  if (i) {
4769
- const p = se(i), h = n && ue(n) ? se(n) : n;
4770
- let g = p, y = Wt(g);
4769
+ const m = se(i), h = n && ue(n) ? se(n) : n;
4770
+ let g = m, y = Wt(g);
4771
4771
  for (; y && n && h !== g; ) {
4772
4772
  const b = Ue(y), x = y.getBoundingClientRect(), w = de(y), O = x.left + (y.clientLeft + parseFloat(w.paddingLeft)) * b.x, C = x.top + (y.clientTop + parseFloat(w.paddingTop)) * b.y;
4773
- a *= b.x, d *= b.y, u *= b.x, f *= b.y, a += O, d += C, g = se(y), y = Wt(g);
4773
+ a *= b.x, u *= b.y, d *= b.x, f *= b.y, a += O, u += C, g = se(y), y = Wt(g);
4774
4774
  }
4775
4775
  }
4776
4776
  return mt({
4777
- width: u,
4777
+ width: d,
4778
4778
  height: f,
4779
4779
  x: a,
4780
- y: d
4780
+ y: u
4781
4781
  });
4782
4782
  }
4783
4783
  function xt(e, t) {
@@ -4804,18 +4804,18 @@ function es(e) {
4804
4804
  let a = {
4805
4805
  scrollLeft: 0,
4806
4806
  scrollTop: 0
4807
- }, d = me(1);
4808
- const u = me(0), f = Ee(n);
4807
+ }, u = me(1);
4808
+ const d = me(0), f = Ee(n);
4809
4809
  if ((f || !f && !i) && ((Qe(n) !== "body" || rt(s)) && (a = bt(n)), f)) {
4810
4810
  const h = Ie(n);
4811
- d = Ue(n), u.x = h.x + n.clientLeft, u.y = h.y + n.clientTop;
4811
+ u = Ue(n), d.x = h.x + n.clientLeft, d.y = h.y + n.clientTop;
4812
4812
  }
4813
- const p = s && !f && !i ? hn(s, a) : me(0);
4813
+ const m = s && !f && !i ? hn(s, a) : me(0);
4814
4814
  return {
4815
- width: r.width * d.x,
4816
- height: r.height * d.y,
4817
- x: r.x * d.x - a.scrollLeft * d.x + u.x + p.x,
4818
- y: r.y * d.y - a.scrollTop * d.y + u.y + p.y
4815
+ width: r.width * u.x,
4816
+ height: r.height * u.y,
4817
+ x: r.x * u.x - a.scrollLeft * u.x + d.x + m.x,
4818
+ y: r.y * u.y - a.scrollTop * u.y + d.y + m.y
4819
4819
  };
4820
4820
  }
4821
4821
  function ts(e) {
@@ -4838,14 +4838,14 @@ function ns(e, t) {
4838
4838
  let i = n.clientWidth, s = n.clientHeight, c = 0, a = 0;
4839
4839
  if (o) {
4840
4840
  i = o.width, s = o.height;
4841
- const u = Kt();
4842
- (!u || u && t === "fixed") && (c = o.offsetLeft, a = o.offsetTop);
4841
+ const d = Kt();
4842
+ (!d || d && t === "fixed") && (c = o.offsetLeft, a = o.offsetTop);
4843
4843
  }
4844
- const d = xt(n);
4845
- if (d <= 0) {
4846
- const u = n.ownerDocument, f = u.body, p = getComputedStyle(f), h = u.compatMode === "CSS1Compat" && parseFloat(p.marginLeft) + parseFloat(p.marginRight) || 0, g = Math.abs(n.clientWidth - f.clientWidth - h);
4844
+ const u = xt(n);
4845
+ if (u <= 0) {
4846
+ const d = n.ownerDocument, f = d.body, m = getComputedStyle(f), h = d.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, g = Math.abs(n.clientWidth - f.clientWidth - h);
4847
4847
  g <= Dr && (i -= g);
4848
- } else d <= Dr && (i += d);
4848
+ } else u <= Dr && (i += u);
4849
4849
  return {
4850
4850
  width: i,
4851
4851
  height: s,
@@ -4854,12 +4854,12 @@ function ns(e, t) {
4854
4854
  };
4855
4855
  }
4856
4856
  function os(e, t) {
4857
- const r = Ie(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, i = Ee(e) ? Ue(e) : me(1), s = e.clientWidth * i.x, c = e.clientHeight * i.y, a = o * i.x, d = n * i.y;
4857
+ const r = Ie(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, i = Ee(e) ? Ue(e) : me(1), s = e.clientWidth * i.x, c = e.clientHeight * i.y, a = o * i.x, u = n * i.y;
4858
4858
  return {
4859
4859
  width: s,
4860
4860
  height: c,
4861
4861
  x: a,
4862
- y: d
4862
+ y: u
4863
4863
  };
4864
4864
  }
4865
4865
  function Ar(e, t, r) {
@@ -4894,7 +4894,7 @@ function is(e, t) {
4894
4894
  let s = i ? Ne(e) : e;
4895
4895
  for (; ue(s) && !Ye(s); ) {
4896
4896
  const c = de(s), a = Xt(s);
4897
- !a && c.position === "fixed" && (o = null), (i ? !a && !o : !a && c.position === "static" && o && (o.position === "absolute" || o.position === "fixed") || rt(s) && !a && gn(e, s)) ? n = n.filter((d) => d !== s) : o = c, s = Ne(s);
4897
+ !a && c.position === "fixed" && (o = null), (i ? !a && !o : !a && c.position === "static" && o && (o.position === "absolute" || o.position === "fixed") || rt(s) && !a && gn(e, s)) ? n = n.filter((u) => u !== s) : o = c, s = Ne(s);
4898
4898
  }
4899
4899
  return t.set(e, n), n;
4900
4900
  }
@@ -4906,15 +4906,15 @@ function ss(e) {
4906
4906
  strategy: o
4907
4907
  } = e;
4908
4908
  const i = [...r === "clippingAncestors" ? vt(t) ? [] : is(t, this._c) : [].concat(r), n], s = Ar(t, i[0], o);
4909
- let c = s.top, a = s.right, d = s.bottom, u = s.left;
4909
+ let c = s.top, a = s.right, u = s.bottom, d = s.left;
4910
4910
  for (let f = 1; f < i.length; f++) {
4911
- const p = Ar(t, i[f], o);
4912
- c = ie(p.top, c), a = Pe(p.right, a), d = Pe(p.bottom, d), u = ie(p.left, u);
4911
+ const m = Ar(t, i[f], o);
4912
+ c = ie(m.top, c), a = Pe(m.right, a), u = Pe(m.bottom, u), d = ie(m.left, d);
4913
4913
  }
4914
4914
  return {
4915
- width: a - u,
4916
- height: d - c,
4917
- x: u,
4915
+ width: a - d,
4916
+ height: u - c,
4917
+ x: d,
4918
4918
  y: c
4919
4919
  };
4920
4920
  }
@@ -4935,19 +4935,19 @@ function ls(e, t, r) {
4935
4935
  scrollTop: 0
4936
4936
  };
4937
4937
  const a = me(0);
4938
- function d() {
4938
+ function u() {
4939
4939
  a.x = xt(o);
4940
4940
  }
4941
4941
  if (n || !n && !i)
4942
4942
  if ((Qe(t) !== "body" || rt(o)) && (c = bt(t)), n) {
4943
4943
  const h = Ie(t, !0, i, t);
4944
4944
  a.x = h.x + t.clientLeft, a.y = h.y + t.clientTop;
4945
- } else o && d();
4946
- i && !n && o && d();
4947
- const u = o && !n && !i ? hn(o, c) : me(0), f = s.left + c.scrollLeft - a.x - u.x, p = s.top + c.scrollTop - a.y - u.y;
4945
+ } else o && u();
4946
+ i && !n && o && u();
4947
+ const d = o && !n && !i ? hn(o, c) : me(0), f = s.left + c.scrollLeft - a.x - d.x, m = s.top + c.scrollTop - a.y - d.y;
4948
4948
  return {
4949
4949
  x: f,
4950
- y: p,
4950
+ y: m,
4951
4951
  width: s.width,
4952
4952
  height: s.height
4953
4953
  };
@@ -5020,15 +5020,15 @@ function fs(e, t) {
5020
5020
  }
5021
5021
  function s(c, a) {
5022
5022
  c === void 0 && (c = !1), a === void 0 && (a = 1), i();
5023
- const d = e.getBoundingClientRect(), {
5024
- left: u,
5023
+ const u = e.getBoundingClientRect(), {
5024
+ left: d,
5025
5025
  top: f,
5026
- width: p,
5026
+ width: m,
5027
5027
  height: h
5028
- } = d;
5029
- if (c || t(), !p || !h)
5028
+ } = u;
5029
+ if (c || t(), !m || !h)
5030
5030
  return;
5031
- const g = ct(f), y = ct(o.clientWidth - (u + p)), b = ct(o.clientHeight - (f + h)), x = ct(u), w = {
5031
+ const g = ct(f), y = ct(o.clientWidth - (d + m)), b = ct(o.clientHeight - (f + h)), x = ct(d), w = {
5032
5032
  rootMargin: -g + "px " + -y + "px " + -b + "px " + -x + "px",
5033
5033
  threshold: ie(0, Pe(1, a)) || 1
5034
5034
  };
@@ -5042,7 +5042,7 @@ function fs(e, t) {
5042
5042
  s(!1, 1e-7);
5043
5043
  }, 1e3);
5044
5044
  }
5045
- N === 1 && !vn(d, e.getBoundingClientRect()) && s(), O = !1;
5045
+ N === 1 && !vn(u, e.getBoundingClientRect()) && s(), O = !1;
5046
5046
  }
5047
5047
  try {
5048
5048
  r = new IntersectionObserver(C, {
@@ -5065,21 +5065,21 @@ function ps(e, t, r, n) {
5065
5065
  elementResize: s = typeof ResizeObserver == "function",
5066
5066
  layoutShift: c = typeof IntersectionObserver == "function",
5067
5067
  animationFrame: a = !1
5068
- } = n, d = Jt(e), u = o || i ? [...d ? et(d) : [], ...t ? et(t) : []] : [];
5069
- u.forEach((x) => {
5068
+ } = n, u = Jt(e), d = o || i ? [...u ? et(u) : [], ...t ? et(t) : []] : [];
5069
+ d.forEach((x) => {
5070
5070
  o && x.addEventListener("scroll", r, {
5071
5071
  passive: !0
5072
5072
  }), i && x.addEventListener("resize", r);
5073
5073
  });
5074
- const f = d && c ? fs(d, r) : null;
5075
- let p = -1, h = null;
5074
+ const f = u && c ? fs(u, r) : null;
5075
+ let m = -1, h = null;
5076
5076
  s && (h = new ResizeObserver((x) => {
5077
5077
  let [w] = x;
5078
- w && w.target === d && h && t && (h.unobserve(t), cancelAnimationFrame(p), p = requestAnimationFrame(() => {
5078
+ w && w.target === u && h && t && (h.unobserve(t), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
5079
5079
  var O;
5080
5080
  (O = h) == null || O.observe(t);
5081
5081
  })), r();
5082
- }), d && !a && h.observe(d), t && h.observe(t));
5082
+ }), u && !a && h.observe(u), t && h.observe(t));
5083
5083
  let g, y = a ? Ie(e) : null;
5084
5084
  a && b();
5085
5085
  function b() {
@@ -5088,7 +5088,7 @@ function ps(e, t, r, n) {
5088
5088
  }
5089
5089
  return r(), () => {
5090
5090
  var x;
5091
- u.forEach((w) => {
5091
+ d.forEach((w) => {
5092
5092
  o && w.removeEventListener("scroll", r), i && w.removeEventListener("resize", r);
5093
5093
  }), f == null || f(), (x = h) == null || x.disconnect(), h = null, a && cancelAnimationFrame(g);
5094
5094
  };
@@ -5146,7 +5146,7 @@ function Lr(e, t) {
5146
5146
  return Math.round(t * r) / r;
5147
5147
  }
5148
5148
  function At(e) {
5149
- const t = m.useRef(e);
5149
+ const t = p.useRef(e);
5150
5150
  return dt(() => {
5151
5151
  t.current = e;
5152
5152
  }), t;
@@ -5164,27 +5164,27 @@ function _s(e) {
5164
5164
  } = {},
5165
5165
  transform: c = !0,
5166
5166
  whileElementsMounted: a,
5167
- open: d
5168
- } = e, [u, f] = m.useState({
5167
+ open: u
5168
+ } = e, [d, f] = p.useState({
5169
5169
  x: 0,
5170
5170
  y: 0,
5171
5171
  strategy: r,
5172
5172
  placement: t,
5173
5173
  middlewareData: {},
5174
5174
  isPositioned: !1
5175
- }), [p, h] = m.useState(n);
5176
- ht(p, n) || h(n);
5177
- const [g, y] = m.useState(null), [b, x] = m.useState(null), w = m.useCallback((_) => {
5175
+ }), [m, h] = p.useState(n);
5176
+ ht(m, n) || h(n);
5177
+ const [g, y] = p.useState(null), [b, x] = p.useState(null), w = p.useCallback((_) => {
5178
5178
  _ !== N.current && (N.current = _, y(_));
5179
- }, []), O = m.useCallback((_) => {
5179
+ }, []), O = p.useCallback((_) => {
5180
5180
  _ !== E.current && (E.current = _, x(_));
5181
- }, []), C = i || g, D = s || b, N = m.useRef(null), E = m.useRef(null), k = m.useRef(u), j = a != null, B = At(a), J = At(o), Y = At(d), V = m.useCallback(() => {
5181
+ }, []), C = i || g, D = s || b, N = p.useRef(null), E = p.useRef(null), k = p.useRef(d), j = a != null, B = At(a), J = At(o), Y = At(u), V = p.useCallback(() => {
5182
5182
  if (!N.current || !E.current)
5183
5183
  return;
5184
5184
  const _ = {
5185
5185
  placement: t,
5186
5186
  strategy: r,
5187
- middleware: p
5187
+ middleware: m
5188
5188
  };
5189
5189
  J.current && (_.platform = J.current), xs(N.current, E.current, _).then((K) => {
5190
5190
  const re = {
@@ -5199,14 +5199,14 @@ function _s(e) {
5199
5199
  f(re);
5200
5200
  }));
5201
5201
  });
5202
- }, [p, t, r, J, Y]);
5202
+ }, [m, t, r, J, Y]);
5203
5203
  dt(() => {
5204
- d === !1 && k.current.isPositioned && (k.current.isPositioned = !1, f((_) => ({
5204
+ u === !1 && k.current.isPositioned && (k.current.isPositioned = !1, f((_) => ({
5205
5205
  ..._,
5206
5206
  isPositioned: !1
5207
5207
  })));
5208
- }, [d]);
5209
- const L = m.useRef(!1);
5208
+ }, [u]);
5209
+ const L = p.useRef(!1);
5210
5210
  dt(() => (L.current = !0, () => {
5211
5211
  L.current = !1;
5212
5212
  }), []), dt(() => {
@@ -5216,15 +5216,15 @@ function _s(e) {
5216
5216
  V();
5217
5217
  }
5218
5218
  }, [C, D, V, B, j]);
5219
- const X = m.useMemo(() => ({
5219
+ const X = p.useMemo(() => ({
5220
5220
  reference: N,
5221
5221
  floating: E,
5222
5222
  setReference: w,
5223
5223
  setFloating: O
5224
- }), [w, O]), I = m.useMemo(() => ({
5224
+ }), [w, O]), I = p.useMemo(() => ({
5225
5225
  reference: C,
5226
5226
  floating: D
5227
- }), [C, D]), M = m.useMemo(() => {
5227
+ }), [C, D]), M = p.useMemo(() => {
5228
5228
  const _ = {
5229
5229
  position: r,
5230
5230
  left: 0,
@@ -5232,7 +5232,7 @@ function _s(e) {
5232
5232
  };
5233
5233
  if (!I.floating)
5234
5234
  return _;
5235
- const K = Lr(I.floating, u.x), re = Lr(I.floating, u.y);
5235
+ const K = Lr(I.floating, d.x), re = Lr(I.floating, d.y);
5236
5236
  return c ? {
5237
5237
  ..._,
5238
5238
  transform: "translate(" + K + "px, " + re + "px)",
@@ -5244,14 +5244,14 @@ function _s(e) {
5244
5244
  left: K,
5245
5245
  top: re
5246
5246
  };
5247
- }, [r, c, I.floating, u.x, u.y]);
5248
- return m.useMemo(() => ({
5249
- ...u,
5247
+ }, [r, c, I.floating, d.x, d.y]);
5248
+ return p.useMemo(() => ({
5249
+ ...d,
5250
5250
  update: V,
5251
5251
  refs: X,
5252
5252
  elements: I,
5253
5253
  floatingStyles: M
5254
- }), [u, V, X, I, M]);
5254
+ }), [d, V, X, I, M]);
5255
5255
  }
5256
5256
  const Es = (e) => {
5257
5257
  function t(r) {
@@ -5320,7 +5320,7 @@ const Es = (e) => {
5320
5320
  options: [e, t]
5321
5321
  };
5322
5322
  };
5323
- var js = "Arrow", xn = m.forwardRef((e, t) => {
5323
+ var js = "Arrow", xn = p.forwardRef((e, t) => {
5324
5324
  const { children: r, width: n = 10, height: o = 5, ...i } = e;
5325
5325
  return /* @__PURE__ */ P.jsx(
5326
5326
  je.svg,
@@ -5338,7 +5338,7 @@ var js = "Arrow", xn = m.forwardRef((e, t) => {
5338
5338
  xn.displayName = js;
5339
5339
  var Ds = xn;
5340
5340
  function As(e) {
5341
- const [t, r] = m.useState(void 0);
5341
+ const [t, r] = p.useState(void 0);
5342
5342
  return Oe(() => {
5343
5343
  if (e) {
5344
5344
  r({ width: e.offsetWidth, height: e.offsetHeight });
@@ -5348,8 +5348,8 @@ function As(e) {
5348
5348
  const i = o[0];
5349
5349
  let s, c;
5350
5350
  if ("borderBoxSize" in i) {
5351
- const a = i.borderBoxSize, d = Array.isArray(a) ? a[0] : a;
5352
- s = d.inlineSize, c = d.blockSize;
5351
+ const a = i.borderBoxSize, u = Array.isArray(a) ? a[0] : a;
5352
+ s = u.inlineSize, c = u.blockSize;
5353
5353
  } else
5354
5354
  s = e.offsetWidth, c = e.offsetHeight;
5355
5355
  r({ width: s, height: c });
@@ -5360,29 +5360,29 @@ function As(e) {
5360
5360
  }, [e]), t;
5361
5361
  }
5362
5362
  var Qt = "Popper", [wn, kn] = nn(Qt), [zs, _n] = wn(Qt), En = (e) => {
5363
- const { __scopePopper: t, children: r } = e, [n, o] = m.useState(null);
5363
+ const { __scopePopper: t, children: r } = e, [n, o] = p.useState(null);
5364
5364
  return /* @__PURE__ */ P.jsx(zs, { scope: t, anchor: n, onAnchorChange: o, children: r });
5365
5365
  };
5366
5366
  En.displayName = Qt;
5367
- var Rn = "PopperAnchor", Cn = m.forwardRef(
5367
+ var Rn = "PopperAnchor", Cn = p.forwardRef(
5368
5368
  (e, t) => {
5369
- const { __scopePopper: r, virtualRef: n, ...o } = e, i = _n(Rn, r), s = m.useRef(null), c = Me(t, s), a = m.useRef(null);
5370
- return m.useEffect(() => {
5371
- const d = a.current;
5372
- a.current = (n == null ? void 0 : n.current) || s.current, d !== a.current && i.onAnchorChange(a.current);
5369
+ const { __scopePopper: r, virtualRef: n, ...o } = e, i = _n(Rn, r), s = p.useRef(null), c = Me(t, s), a = p.useRef(null);
5370
+ return p.useEffect(() => {
5371
+ const u = a.current;
5372
+ a.current = (n == null ? void 0 : n.current) || s.current, u !== a.current && i.onAnchorChange(a.current);
5373
5373
  }), n ? null : /* @__PURE__ */ P.jsx(je.div, { ...o, ref: c });
5374
5374
  }
5375
5375
  );
5376
5376
  Cn.displayName = Rn;
5377
- var qt = "PopperContent", [Fs, Ls] = wn(qt), Tn = m.forwardRef(
5377
+ var qt = "PopperContent", [Fs, Ls] = wn(qt), Tn = p.forwardRef(
5378
5378
  (e, t) => {
5379
5379
  var r, n, o, i, s, c;
5380
5380
  const {
5381
5381
  __scopePopper: a,
5382
- side: d = "bottom",
5383
- sideOffset: u = 0,
5382
+ side: u = "bottom",
5383
+ sideOffset: d = 0,
5384
5384
  align: f = "center",
5385
- alignOffset: p = 0,
5385
+ alignOffset: m = 0,
5386
5386
  arrowPadding: h = 0,
5387
5387
  avoidCollisions: g = !0,
5388
5388
  collisionBoundary: y = [],
@@ -5392,7 +5392,7 @@ var qt = "PopperContent", [Fs, Ls] = wn(qt), Tn = m.forwardRef(
5392
5392
  updatePositionStrategy: O = "optimized",
5393
5393
  onPlaced: C,
5394
5394
  ...D
5395
- } = e, N = _n(qt, a), [E, k] = m.useState(null), j = Me(t, (Ae) => k(Ae)), [B, J] = m.useState(null), Y = As(B), V = (Y == null ? void 0 : Y.width) ?? 0, L = (Y == null ? void 0 : Y.height) ?? 0, X = d + (f !== "center" ? "-" + f : ""), I = typeof b == "number" ? b : { top: 0, right: 0, bottom: 0, left: 0, ...b }, M = Array.isArray(y) ? y : [y], _ = M.length > 0, K = {
5395
+ } = e, N = _n(qt, a), [E, k] = p.useState(null), j = Me(t, (Ae) => k(Ae)), [B, J] = p.useState(null), Y = As(B), V = (Y == null ? void 0 : Y.width) ?? 0, L = (Y == null ? void 0 : Y.height) ?? 0, X = u + (f !== "center" ? "-" + f : ""), I = typeof b == "number" ? b : { top: 0, right: 0, bottom: 0, left: 0, ...b }, M = Array.isArray(y) ? y : [y], _ = M.length > 0, K = {
5396
5396
  padding: I,
5397
5397
  boundary: M.filter(Is),
5398
5398
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
@@ -5408,7 +5408,7 @@ var qt = "PopperContent", [Fs, Ls] = wn(qt), Tn = m.forwardRef(
5408
5408
  reference: N.anchor
5409
5409
  },
5410
5410
  middleware: [
5411
- Rs({ mainAxis: u + L, alignmentAxis: p }),
5411
+ Rs({ mainAxis: d + L, alignmentAxis: m }),
5412
5412
  g && Cs({
5413
5413
  mainAxis: !0,
5414
5414
  crossAxis: !1,
@@ -5431,7 +5431,7 @@ var qt = "PopperContent", [Fs, Ls] = wn(qt), Tn = m.forwardRef(
5431
5431
  Oe(() => {
5432
5432
  Q && (G == null || G());
5433
5433
  }, [Q, G]);
5434
- const ye = (r = q.arrow) == null ? void 0 : r.x, fe = (n = q.arrow) == null ? void 0 : n.y, ce = ((o = q.arrow) == null ? void 0 : o.centerOffset) !== 0, [De, ve] = m.useState();
5434
+ const ye = (r = q.arrow) == null ? void 0 : r.x, fe = (n = q.arrow) == null ? void 0 : n.y, ce = ((o = q.arrow) == null ? void 0 : o.centerOffset) !== 0, [De, ve] = p.useState();
5435
5435
  return Oe(() => {
5436
5436
  E && ve(window.getComputedStyle(E).zIndex);
5437
5437
  }, [E]), /* @__PURE__ */ P.jsx(
@@ -5494,7 +5494,7 @@ var Sn = "PopperArrow", $s = {
5494
5494
  right: "left",
5495
5495
  bottom: "top",
5496
5496
  left: "right"
5497
- }, On = m.forwardRef(function(e, t) {
5497
+ }, On = p.forwardRef(function(e, t) {
5498
5498
  const { __scopePopper: r, ...n } = e, o = Ls(Sn, r), i = $s[o.placedSide];
5499
5499
  return (
5500
5500
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
@@ -5548,33 +5548,33 @@ var Ms = (e) => ({
5548
5548
  options: e,
5549
5549
  fn(t) {
5550
5550
  var r, n, o;
5551
- const { placement: i, rects: s, middlewareData: c } = t, a = ((r = c.arrow) == null ? void 0 : r.centerOffset) !== 0, d = a ? 0 : e.arrowWidth, u = a ? 0 : e.arrowHeight, [f, p] = Pn(i), h = { start: "0%", center: "50%", end: "100%" }[p], g = (((n = c.arrow) == null ? void 0 : n.x) ?? 0) + d / 2, y = (((o = c.arrow) == null ? void 0 : o.y) ?? 0) + u / 2;
5551
+ const { placement: i, rects: s, middlewareData: c } = t, a = ((r = c.arrow) == null ? void 0 : r.centerOffset) !== 0, u = a ? 0 : e.arrowWidth, d = a ? 0 : e.arrowHeight, [f, m] = Pn(i), h = { start: "0%", center: "50%", end: "100%" }[m], g = (((n = c.arrow) == null ? void 0 : n.x) ?? 0) + u / 2, y = (((o = c.arrow) == null ? void 0 : o.y) ?? 0) + d / 2;
5552
5552
  let b = "", x = "";
5553
- return f === "bottom" ? (b = a ? h : `${g}px`, x = `${-u}px`) : f === "top" ? (b = a ? h : `${g}px`, x = `${s.floating.height + u}px`) : f === "right" ? (b = `${-u}px`, x = a ? h : `${y}px`) : f === "left" && (b = `${s.floating.width + u}px`, x = a ? h : `${y}px`), { data: { x: b, y: x } };
5553
+ return f === "bottom" ? (b = a ? h : `${g}px`, x = `${-d}px`) : f === "top" ? (b = a ? h : `${g}px`, x = `${s.floating.height + d}px`) : f === "right" ? (b = `${-d}px`, x = a ? h : `${y}px`) : f === "left" && (b = `${s.floating.width + d}px`, x = a ? h : `${y}px`), { data: { x: b, y: x } };
5554
5554
  }
5555
5555
  });
5556
5556
  function Pn(e) {
5557
5557
  const [t, r = "center"] = e.split("-");
5558
5558
  return [t, r];
5559
5559
  }
5560
- var Ws = En, Bs = Cn, Hs = Tn, Vs = On, Us = "Portal", Nn = m.forwardRef((e, t) => {
5560
+ var Ws = En, Bs = Cn, Hs = Tn, Vs = On, Us = "Portal", Nn = p.forwardRef((e, t) => {
5561
5561
  var r;
5562
- const { container: n, ...o } = e, [i, s] = m.useState(!1);
5562
+ const { container: n, ...o } = e, [i, s] = p.useState(!1);
5563
5563
  Oe(() => s(!0), []);
5564
5564
  const c = n || i && ((r = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : r.body);
5565
5565
  return c ? bo.createPortal(/* @__PURE__ */ P.jsx(je.div, { ...o, ref: t }), c) : null;
5566
5566
  });
5567
5567
  Nn.displayName = Us;
5568
5568
  function Ys(e, t) {
5569
- return m.useReducer((r, n) => t[r][n] ?? r, e);
5569
+ return p.useReducer((r, n) => t[r][n] ?? r, e);
5570
5570
  }
5571
5571
  var Zt = (e) => {
5572
- const { present: t, children: r } = e, n = Gs(t), o = typeof r == "function" ? r({ present: n.isPresent }) : m.Children.only(r), i = Me(n.ref, Xs(o));
5573
- return typeof r == "function" || n.isPresent ? m.cloneElement(o, { ref: i }) : null;
5572
+ const { present: t, children: r } = e, n = Gs(t), o = typeof r == "function" ? r({ present: n.isPresent }) : p.Children.only(r), i = Me(n.ref, Xs(o));
5573
+ return typeof r == "function" || n.isPresent ? p.cloneElement(o, { ref: i }) : null;
5574
5574
  };
5575
5575
  Zt.displayName = "Presence";
5576
5576
  function Gs(e) {
5577
- const [t, r] = m.useState(), n = m.useRef(null), o = m.useRef(e), i = m.useRef("none"), s = e ? "mounted" : "unmounted", [c, a] = Ys(s, {
5577
+ const [t, r] = p.useState(), n = p.useRef(null), o = p.useRef(e), i = p.useRef("none"), s = e ? "mounted" : "unmounted", [c, a] = Ys(s, {
5578
5578
  mounted: {
5579
5579
  UNMOUNT: "unmounted",
5580
5580
  ANIMATION_OUT: "unmountSuspended"
@@ -5587,38 +5587,38 @@ function Gs(e) {
5587
5587
  MOUNT: "mounted"
5588
5588
  }
5589
5589
  });
5590
- return m.useEffect(() => {
5591
- const d = ut(n.current);
5592
- i.current = c === "mounted" ? d : "none";
5590
+ return p.useEffect(() => {
5591
+ const u = ut(n.current);
5592
+ i.current = c === "mounted" ? u : "none";
5593
5593
  }, [c]), Oe(() => {
5594
- const d = n.current, u = o.current;
5595
- if (u !== e) {
5596
- const f = i.current, p = ut(d);
5597
- e ? a("MOUNT") : p === "none" || (d == null ? void 0 : d.display) === "none" ? a("UNMOUNT") : a(u && f !== p ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
5594
+ const u = n.current, d = o.current;
5595
+ if (d !== e) {
5596
+ const f = i.current, m = ut(u);
5597
+ e ? a("MOUNT") : m === "none" || (u == null ? void 0 : u.display) === "none" ? a("UNMOUNT") : a(d && f !== m ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
5598
5598
  }
5599
5599
  }, [e, a]), Oe(() => {
5600
5600
  if (t) {
5601
- let d;
5602
- const u = t.ownerDocument.defaultView ?? window, f = (h) => {
5601
+ let u;
5602
+ const d = t.ownerDocument.defaultView ?? window, f = (h) => {
5603
5603
  const g = ut(n.current).includes(CSS.escape(h.animationName));
5604
5604
  if (h.target === t && g && (a("ANIMATION_END"), !o.current)) {
5605
5605
  const y = t.style.animationFillMode;
5606
- t.style.animationFillMode = "forwards", d = u.setTimeout(() => {
5606
+ t.style.animationFillMode = "forwards", u = d.setTimeout(() => {
5607
5607
  t.style.animationFillMode === "forwards" && (t.style.animationFillMode = y);
5608
5608
  });
5609
5609
  }
5610
- }, p = (h) => {
5610
+ }, m = (h) => {
5611
5611
  h.target === t && (i.current = ut(n.current));
5612
5612
  };
5613
- return t.addEventListener("animationstart", p), t.addEventListener("animationcancel", f), t.addEventListener("animationend", f), () => {
5614
- u.clearTimeout(d), t.removeEventListener("animationstart", p), t.removeEventListener("animationcancel", f), t.removeEventListener("animationend", f);
5613
+ return t.addEventListener("animationstart", m), t.addEventListener("animationcancel", f), t.addEventListener("animationend", f), () => {
5614
+ d.clearTimeout(u), t.removeEventListener("animationstart", m), t.removeEventListener("animationcancel", f), t.removeEventListener("animationend", f);
5615
5615
  };
5616
5616
  } else
5617
5617
  a("ANIMATION_END");
5618
5618
  }, [t, a]), {
5619
5619
  isPresent: ["mounted", "unmountSuspended"].includes(c),
5620
- ref: m.useCallback((d) => {
5621
- n.current = d ? getComputedStyle(d) : null, r(d);
5620
+ ref: p.useCallback((u) => {
5621
+ n.current = u ? getComputedStyle(u) : null, r(u);
5622
5622
  }, [])
5623
5623
  };
5624
5624
  }
@@ -5630,7 +5630,7 @@ function Xs(e) {
5630
5630
  let n = (t = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : t.get, o = n && "isReactWarning" in n && n.isReactWarning;
5631
5631
  return o ? e.ref : (n = (r = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : r.get, o = n && "isReactWarning" in n && n.isReactWarning, o ? e.props.ref : e.props.ref || e.ref);
5632
5632
  }
5633
- var Ks = m[" useInsertionEffect ".trim().toString()] || Oe;
5633
+ var Ks = p[" useInsertionEffect ".trim().toString()] || Oe;
5634
5634
  function Js({
5635
5635
  prop: e,
5636
5636
  defaultProp: t,
@@ -5643,35 +5643,35 @@ function Js({
5643
5643
  onChange: r
5644
5644
  }), c = e !== void 0, a = c ? e : o;
5645
5645
  {
5646
- const u = m.useRef(e !== void 0);
5647
- m.useEffect(() => {
5648
- const f = u.current;
5646
+ const d = p.useRef(e !== void 0);
5647
+ p.useEffect(() => {
5648
+ const f = d.current;
5649
5649
  f !== c && console.warn(
5650
5650
  `${n} is changing from ${f ? "controlled" : "uncontrolled"} to ${c ? "controlled" : "uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`
5651
- ), u.current = c;
5651
+ ), d.current = c;
5652
5652
  }, [c, n]);
5653
5653
  }
5654
- const d = m.useCallback(
5655
- (u) => {
5654
+ const u = p.useCallback(
5655
+ (d) => {
5656
5656
  var f;
5657
5657
  if (c) {
5658
- const p = qs(u) ? u(e) : u;
5659
- p !== e && ((f = s.current) == null || f.call(s, p));
5658
+ const m = qs(d) ? d(e) : d;
5659
+ m !== e && ((f = s.current) == null || f.call(s, m));
5660
5660
  } else
5661
- i(u);
5661
+ i(d);
5662
5662
  },
5663
5663
  [c, e, i, s]
5664
5664
  );
5665
- return [a, d];
5665
+ return [a, u];
5666
5666
  }
5667
5667
  function Qs({
5668
5668
  defaultProp: e,
5669
5669
  onChange: t
5670
5670
  }) {
5671
- const [r, n] = m.useState(e), o = m.useRef(r), i = m.useRef(t);
5671
+ const [r, n] = p.useState(e), o = p.useRef(r), i = p.useRef(t);
5672
5672
  return Ks(() => {
5673
5673
  i.current = t;
5674
- }, [t]), m.useEffect(() => {
5674
+ }, [t]), p.useEffect(() => {
5675
5675
  var s;
5676
5676
  o.current !== r && ((s = i.current) == null || s.call(i, r), o.current = r);
5677
5677
  }, [r, o]), [r, n, i];
@@ -5691,7 +5691,7 @@ var Zs = Object.freeze({
5691
5691
  clip: "rect(0, 0, 0, 0)",
5692
5692
  whiteSpace: "nowrap",
5693
5693
  wordWrap: "normal"
5694
- }), ea = "VisuallyHidden", jn = m.forwardRef(
5694
+ }), ea = "VisuallyHidden", jn = p.forwardRef(
5695
5695
  (e, t) => /* @__PURE__ */ P.jsx(
5696
5696
  je.span,
5697
5697
  {
@@ -5711,28 +5711,28 @@ var ta = jn, [wt] = nn("Tooltip", [
5711
5711
  skipDelayDuration: n = 300,
5712
5712
  disableHoverableContent: o = !1,
5713
5713
  children: i
5714
- } = e, s = m.useRef(!0), c = m.useRef(!1), a = m.useRef(0);
5715
- return m.useEffect(() => {
5716
- const d = a.current;
5717
- return () => window.clearTimeout(d);
5714
+ } = e, s = p.useRef(!0), c = p.useRef(!1), a = p.useRef(0);
5715
+ return p.useEffect(() => {
5716
+ const u = a.current;
5717
+ return () => window.clearTimeout(u);
5718
5718
  }, []), /* @__PURE__ */ P.jsx(
5719
5719
  na,
5720
5720
  {
5721
5721
  scope: t,
5722
5722
  isOpenDelayedRef: s,
5723
5723
  delayDuration: r,
5724
- onOpen: m.useCallback(() => {
5724
+ onOpen: p.useCallback(() => {
5725
5725
  window.clearTimeout(a.current), s.current = !1;
5726
5726
  }, []),
5727
- onClose: m.useCallback(() => {
5727
+ onClose: p.useCallback(() => {
5728
5728
  window.clearTimeout(a.current), a.current = window.setTimeout(
5729
5729
  () => s.current = !0,
5730
5730
  n
5731
5731
  );
5732
5732
  }, [n]),
5733
5733
  isPointerInTransitRef: c,
5734
- onPointerInTransitChange: m.useCallback((d) => {
5735
- c.current = d;
5734
+ onPointerInTransitChange: p.useCallback((u) => {
5735
+ c.current = u;
5736
5736
  }, []),
5737
5737
  disableHoverableContent: o,
5738
5738
  children: i
@@ -5749,37 +5749,37 @@ var tt = "Tooltip", [oa, nt] = wt(tt), zn = (e) => {
5749
5749
  onOpenChange: i,
5750
5750
  disableHoverableContent: s,
5751
5751
  delayDuration: c
5752
- } = e, a = er(tt, e.__scopeTooltip), d = kt(t), [u, f] = m.useState(null), p = Ti(), h = m.useRef(0), g = s ?? a.disableHoverableContent, y = c ?? a.delayDuration, b = m.useRef(!1), [x, w] = Js({
5752
+ } = e, a = er(tt, e.__scopeTooltip), u = kt(t), [d, f] = p.useState(null), m = Ti(), h = p.useRef(0), g = s ?? a.disableHoverableContent, y = c ?? a.delayDuration, b = p.useRef(!1), [x, w] = Js({
5753
5753
  prop: n,
5754
5754
  defaultProp: o ?? !1,
5755
5755
  onChange: (E) => {
5756
5756
  E ? (a.onOpen(), document.dispatchEvent(new CustomEvent(Bt))) : a.onClose(), i == null || i(E);
5757
5757
  },
5758
5758
  caller: tt
5759
- }), O = m.useMemo(() => x ? b.current ? "delayed-open" : "instant-open" : "closed", [x]), C = m.useCallback(() => {
5759
+ }), O = p.useMemo(() => x ? b.current ? "delayed-open" : "instant-open" : "closed", [x]), C = p.useCallback(() => {
5760
5760
  window.clearTimeout(h.current), h.current = 0, b.current = !1, w(!0);
5761
- }, [w]), D = m.useCallback(() => {
5761
+ }, [w]), D = p.useCallback(() => {
5762
5762
  window.clearTimeout(h.current), h.current = 0, w(!1);
5763
- }, [w]), N = m.useCallback(() => {
5763
+ }, [w]), N = p.useCallback(() => {
5764
5764
  window.clearTimeout(h.current), h.current = window.setTimeout(() => {
5765
5765
  b.current = !0, w(!0), h.current = 0;
5766
5766
  }, y);
5767
5767
  }, [y, w]);
5768
- return m.useEffect(() => () => {
5768
+ return p.useEffect(() => () => {
5769
5769
  h.current && (window.clearTimeout(h.current), h.current = 0);
5770
- }, []), /* @__PURE__ */ P.jsx(Ws, { ...d, children: /* @__PURE__ */ P.jsx(
5770
+ }, []), /* @__PURE__ */ P.jsx(Ws, { ...u, children: /* @__PURE__ */ P.jsx(
5771
5771
  oa,
5772
5772
  {
5773
5773
  scope: t,
5774
- contentId: p,
5774
+ contentId: m,
5775
5775
  open: x,
5776
5776
  stateAttribute: O,
5777
- trigger: u,
5777
+ trigger: d,
5778
5778
  onTriggerChange: f,
5779
- onTriggerEnter: m.useCallback(() => {
5779
+ onTriggerEnter: p.useCallback(() => {
5780
5780
  a.isOpenDelayedRef.current ? N() : C();
5781
5781
  }, [a.isOpenDelayedRef, N, C]),
5782
- onTriggerLeave: m.useCallback(() => {
5782
+ onTriggerLeave: p.useCallback(() => {
5783
5783
  g ? D() : (window.clearTimeout(h.current), h.current = 0);
5784
5784
  }, [D, g]),
5785
5785
  onOpen: C,
@@ -5790,27 +5790,27 @@ var tt = "Tooltip", [oa, nt] = wt(tt), zn = (e) => {
5790
5790
  ) });
5791
5791
  };
5792
5792
  zn.displayName = tt;
5793
- var Ht = "TooltipTrigger", Fn = m.forwardRef(
5793
+ var Ht = "TooltipTrigger", Fn = p.forwardRef(
5794
5794
  (e, t) => {
5795
- const { __scopeTooltip: r, ...n } = e, o = nt(Ht, r), i = er(Ht, r), s = kt(r), c = m.useRef(null), a = Me(t, c, o.onTriggerChange), d = m.useRef(!1), u = m.useRef(!1), f = m.useCallback(() => d.current = !1, []);
5796
- return m.useEffect(() => () => document.removeEventListener("pointerup", f), [f]), /* @__PURE__ */ P.jsx(Bs, { asChild: !0, ...s, children: /* @__PURE__ */ P.jsx(
5795
+ const { __scopeTooltip: r, ...n } = e, o = nt(Ht, r), i = er(Ht, r), s = kt(r), c = p.useRef(null), a = Me(t, c, o.onTriggerChange), u = p.useRef(!1), d = p.useRef(!1), f = p.useCallback(() => u.current = !1, []);
5796
+ return p.useEffect(() => () => document.removeEventListener("pointerup", f), [f]), /* @__PURE__ */ P.jsx(Bs, { asChild: !0, ...s, children: /* @__PURE__ */ P.jsx(
5797
5797
  je.button,
5798
5798
  {
5799
5799
  "aria-describedby": o.open ? o.contentId : void 0,
5800
5800
  "data-state": o.stateAttribute,
5801
5801
  ...n,
5802
5802
  ref: a,
5803
- onPointerMove: we(e.onPointerMove, (p) => {
5804
- p.pointerType !== "touch" && !u.current && !i.isPointerInTransitRef.current && (o.onTriggerEnter(), u.current = !0);
5803
+ onPointerMove: we(e.onPointerMove, (m) => {
5804
+ m.pointerType !== "touch" && !d.current && !i.isPointerInTransitRef.current && (o.onTriggerEnter(), d.current = !0);
5805
5805
  }),
5806
5806
  onPointerLeave: we(e.onPointerLeave, () => {
5807
- o.onTriggerLeave(), u.current = !1;
5807
+ o.onTriggerLeave(), d.current = !1;
5808
5808
  }),
5809
5809
  onPointerDown: we(e.onPointerDown, () => {
5810
- o.open && o.onClose(), d.current = !0, document.addEventListener("pointerup", f, { once: !0 });
5810
+ o.open && o.onClose(), u.current = !0, document.addEventListener("pointerup", f, { once: !0 });
5811
5811
  }),
5812
5812
  onFocus: we(e.onFocus, () => {
5813
- d.current || o.onOpen();
5813
+ u.current || o.onOpen();
5814
5814
  }),
5815
5815
  onBlur: we(e.onBlur, o.onClose),
5816
5816
  onClick: we(e.onClick, o.onClose)
@@ -5826,38 +5826,38 @@ var tr = "TooltipPortal", [ia, sa] = wt(tr, {
5826
5826
  return /* @__PURE__ */ P.jsx(ia, { scope: t, forceMount: r, children: /* @__PURE__ */ P.jsx(Zt, { present: r || i.open, children: /* @__PURE__ */ P.jsx(Nn, { asChild: !0, container: o, children: n }) }) });
5827
5827
  };
5828
5828
  Ln.displayName = tr;
5829
- var Ge = "TooltipContent", $n = m.forwardRef(
5829
+ var Ge = "TooltipContent", $n = p.forwardRef(
5830
5830
  (e, t) => {
5831
5831
  const r = sa(Ge, e.__scopeTooltip), { forceMount: n = r.forceMount, side: o = "top", ...i } = e, s = nt(Ge, e.__scopeTooltip);
5832
5832
  return /* @__PURE__ */ P.jsx(Zt, { present: n || s.open, children: s.disableHoverableContent ? /* @__PURE__ */ P.jsx(In, { side: o, ...i, ref: t }) : /* @__PURE__ */ P.jsx(aa, { side: o, ...i, ref: t }) });
5833
5833
  }
5834
- ), aa = m.forwardRef((e, t) => {
5835
- const r = nt(Ge, e.__scopeTooltip), n = er(Ge, e.__scopeTooltip), o = m.useRef(null), i = Me(t, o), [s, c] = m.useState(null), { trigger: a, onClose: d } = r, u = o.current, { onPointerInTransitChange: f } = n, p = m.useCallback(() => {
5834
+ ), aa = p.forwardRef((e, t) => {
5835
+ const r = nt(Ge, e.__scopeTooltip), n = er(Ge, e.__scopeTooltip), o = p.useRef(null), i = Me(t, o), [s, c] = p.useState(null), { trigger: a, onClose: u } = r, d = o.current, { onPointerInTransitChange: f } = n, m = p.useCallback(() => {
5836
5836
  c(null), f(!1);
5837
- }, [f]), h = m.useCallback(
5837
+ }, [f]), h = p.useCallback(
5838
5838
  (g, y) => {
5839
5839
  const b = g.currentTarget, x = { x: g.clientX, y: g.clientY }, w = da(x, b.getBoundingClientRect()), O = fa(x, w), C = pa(y.getBoundingClientRect()), D = ha([...O, ...C]);
5840
5840
  c(D), f(!0);
5841
5841
  },
5842
5842
  [f]
5843
5843
  );
5844
- return m.useEffect(() => () => p(), [p]), m.useEffect(() => {
5845
- if (a && u) {
5846
- const g = (b) => h(b, u), y = (b) => h(b, a);
5847
- return a.addEventListener("pointerleave", g), u.addEventListener("pointerleave", y), () => {
5848
- a.removeEventListener("pointerleave", g), u.removeEventListener("pointerleave", y);
5844
+ return p.useEffect(() => () => m(), [m]), p.useEffect(() => {
5845
+ if (a && d) {
5846
+ const g = (b) => h(b, d), y = (b) => h(b, a);
5847
+ return a.addEventListener("pointerleave", g), d.addEventListener("pointerleave", y), () => {
5848
+ a.removeEventListener("pointerleave", g), d.removeEventListener("pointerleave", y);
5849
5849
  };
5850
5850
  }
5851
- }, [a, u, h, p]), m.useEffect(() => {
5851
+ }, [a, d, h, m]), p.useEffect(() => {
5852
5852
  if (s) {
5853
5853
  const g = (y) => {
5854
- const b = y.target, x = { x: y.clientX, y: y.clientY }, w = (a == null ? void 0 : a.contains(b)) || (u == null ? void 0 : u.contains(b)), O = !ma(x, s);
5855
- w ? p() : O && (p(), d());
5854
+ const b = y.target, x = { x: y.clientX, y: y.clientY }, w = (a == null ? void 0 : a.contains(b)) || (d == null ? void 0 : d.contains(b)), O = !ma(x, s);
5855
+ w ? m() : O && (m(), u());
5856
5856
  };
5857
5857
  return document.addEventListener("pointermove", g), () => document.removeEventListener("pointermove", g);
5858
5858
  }
5859
- }, [a, u, s, d, p]), /* @__PURE__ */ P.jsx(In, { ...e, ref: i });
5860
- }), [la, ca] = wt(tt, { isInside: !1 }), ua = /* @__PURE__ */ di("TooltipContent"), In = m.forwardRef(
5859
+ }, [a, d, s, u, m]), /* @__PURE__ */ P.jsx(In, { ...e, ref: i });
5860
+ }), [la, ca] = wt(tt, { isInside: !1 }), ua = /* @__PURE__ */ di("TooltipContent"), In = p.forwardRef(
5861
5861
  (e, t) => {
5862
5862
  const {
5863
5863
  __scopeTooltip: r,
@@ -5866,16 +5866,16 @@ var Ge = "TooltipContent", $n = m.forwardRef(
5866
5866
  onEscapeKeyDown: i,
5867
5867
  onPointerDownOutside: s,
5868
5868
  ...c
5869
- } = e, a = nt(Ge, r), d = kt(r), { onClose: u } = a;
5870
- return m.useEffect(() => (document.addEventListener(Bt, u), () => document.removeEventListener(Bt, u)), [u]), m.useEffect(() => {
5869
+ } = e, a = nt(Ge, r), u = kt(r), { onClose: d } = a;
5870
+ return p.useEffect(() => (document.addEventListener(Bt, d), () => document.removeEventListener(Bt, d)), [d]), p.useEffect(() => {
5871
5871
  if (a.trigger) {
5872
- const f = (p) => {
5873
- const h = p.target;
5874
- h != null && h.contains(a.trigger) && u();
5872
+ const f = (m) => {
5873
+ const h = m.target;
5874
+ h != null && h.contains(a.trigger) && d();
5875
5875
  };
5876
5876
  return window.addEventListener("scroll", f, { capture: !0 }), () => window.removeEventListener("scroll", f, { capture: !0 });
5877
5877
  }
5878
- }, [a.trigger, u]), /* @__PURE__ */ P.jsx(
5878
+ }, [a.trigger, d]), /* @__PURE__ */ P.jsx(
5879
5879
  an,
5880
5880
  {
5881
5881
  asChild: !0,
@@ -5883,12 +5883,12 @@ var Ge = "TooltipContent", $n = m.forwardRef(
5883
5883
  onEscapeKeyDown: i,
5884
5884
  onPointerDownOutside: s,
5885
5885
  onFocusOutside: (f) => f.preventDefault(),
5886
- onDismiss: u,
5886
+ onDismiss: d,
5887
5887
  children: /* @__PURE__ */ P.jsxs(
5888
5888
  Hs,
5889
5889
  {
5890
5890
  "data-state": a.stateAttribute,
5891
- ...d,
5891
+ ...u,
5892
5892
  ...c,
5893
5893
  ref: t,
5894
5894
  style: {
@@ -5910,7 +5910,7 @@ var Ge = "TooltipContent", $n = m.forwardRef(
5910
5910
  }
5911
5911
  );
5912
5912
  $n.displayName = Ge;
5913
- var Mn = "TooltipArrow", Wn = m.forwardRef(
5913
+ var Mn = "TooltipArrow", Wn = p.forwardRef(
5914
5914
  (e, t) => {
5915
5915
  const { __scopeTooltip: r, ...n } = e, o = kt(r);
5916
5916
  return ca(
@@ -5978,8 +5978,8 @@ function ma(e, t) {
5978
5978
  const { x: r, y: n } = e;
5979
5979
  let o = !1;
5980
5980
  for (let i = 0, s = t.length - 1; i < t.length; s = i++) {
5981
- const c = t[i], a = t[s], d = c.x, u = c.y, f = a.x, p = a.y;
5982
- u > n != p > n && r < (f - d) * (n - u) / (p - u) + d && (o = !o);
5981
+ const c = t[i], a = t[s], u = c.x, d = c.y, f = a.x, m = a.y;
5982
+ d > n != m > n && r < (f - u) * (n - d) / (m - d) + u && (o = !o);
5983
5983
  }
5984
5984
  return o;
5985
5985
  }
@@ -6013,7 +6013,7 @@ function ga(e) {
6013
6013
  return r.pop(), t.length === 1 && r.length === 1 && t[0].x === r[0].x && t[0].y === r[0].y ? t : t.concat(r);
6014
6014
  }
6015
6015
  var ya = An, va = zn, ba = Fn, xa = Ln, Bn = $n, wa = Wn;
6016
- const Hn = ya, Vn = va, Un = ba, rr = m.forwardRef(
6016
+ const Hn = ya, Vn = va, Un = ba, rr = p.forwardRef(
6017
6017
  ({
6018
6018
  className: e,
6019
6019
  sideOffset: t = 6,
@@ -6023,7 +6023,7 @@ const Hn = ya, Vn = va, Un = ba, rr = m.forwardRef(
6023
6023
  children: i,
6024
6024
  ...s
6025
6025
  }, c) => {
6026
- const a = r === "rich", d = n ?? !a, u = {
6026
+ const a = r === "rich", u = n ?? !a, d = {
6027
6027
  zIndex: 99999,
6028
6028
  backgroundColor: a ? "#FFFFFF" : "#000000",
6029
6029
  color: a ? "#111827" : "#FFFFFF",
@@ -6048,12 +6048,12 @@ const Hn = ya, Vn = va, Un = ba, rr = m.forwardRef(
6048
6048
  {
6049
6049
  ref: c,
6050
6050
  sideOffset: t,
6051
- style: u,
6051
+ style: d,
6052
6052
  className: e ?? "",
6053
6053
  ...s,
6054
6054
  children: [
6055
6055
  i,
6056
- d && /* @__PURE__ */ P.jsx(
6056
+ u && /* @__PURE__ */ P.jsx(
6057
6057
  wa,
6058
6058
  {
6059
6059
  width: 10,
@@ -6105,10 +6105,10 @@ const ka = Co(
6105
6105
  leftIcon: s,
6106
6106
  datatestid: c,
6107
6107
  rightIcon: a,
6108
- style: d,
6109
- iconButton: u = !1,
6108
+ style: u,
6109
+ iconButton: d = !1,
6110
6110
  tooltipLabel: f,
6111
- saveColor: p = "#003B71",
6111
+ saveColor: m = "#003B71",
6112
6112
  deleteColor: h = "#FF6070",
6113
6113
  updateColor: g = "#003B71",
6114
6114
  cancelColor: y = "#ffffff",
@@ -6117,13 +6117,13 @@ const ka = Co(
6117
6117
  }, w) => {
6118
6118
  const O = {
6119
6119
  ...t && {
6120
- save: { backgroundColor: p },
6120
+ save: { backgroundColor: m },
6121
6121
  delete: { backgroundColor: h },
6122
6122
  update: { backgroundColor: g },
6123
6123
  cancel: { backgroundColor: y },
6124
6124
  outline: { backgroundColor: b }
6125
6125
  }[t],
6126
- ...d
6126
+ ...u
6127
6127
  }, C = /* @__PURE__ */ P.jsx(
6128
6128
  "button",
6129
6129
  {
@@ -6141,7 +6141,7 @@ const ka = Co(
6141
6141
  ] })
6142
6142
  }
6143
6143
  );
6144
- return u ? /* @__PURE__ */ P.jsx(Hn, { children: /* @__PURE__ */ P.jsxs(Vn, { children: [
6144
+ return d ? /* @__PURE__ */ P.jsx(Hn, { children: /* @__PURE__ */ P.jsxs(Vn, { children: [
6145
6145
  /* @__PURE__ */ P.jsx(Un, { asChild: !0, children: C }),
6146
6146
  f && /* @__PURE__ */ P.jsx(rr, { children: f })
6147
6147
  ] }) }) : C;
@@ -6218,26 +6218,26 @@ const Ea = ({ text: e = "", maxLength: t = 20, className: r = "" }) => {
6218
6218
  }
6219
6219
  )
6220
6220
  ] }),
6221
- e.map((c, a) => /* @__PURE__ */ W("div", { className: "summary-detail-card__row", children: c.map((d, u) => {
6222
- const f = d.value == null ? "" : String(d.value);
6221
+ e.map((c, a) => /* @__PURE__ */ W("div", { className: "summary-detail-card__row", children: c.map((u, d) => {
6222
+ const f = typeof u.value == "string" || typeof u.value == "number", m = f ? String(u.value) : "";
6223
6223
  return /* @__PURE__ */ le(
6224
6224
  "div",
6225
6225
  {
6226
6226
  className: "summary-detail-card__field",
6227
- style: { "--dc-span": d.span ?? 1 },
6227
+ style: { "--dc-span": u.span ?? 1 },
6228
6228
  children: [
6229
- /* @__PURE__ */ W("p", { className: "summary-detail-card__label", children: d.label }),
6229
+ /* @__PURE__ */ W("p", { className: "summary-detail-card__label", children: u.label }),
6230
6230
  /* @__PURE__ */ W(
6231
6231
  "div",
6232
6232
  {
6233
- className: `summary-detail-card__value ${d.size === "lg" ? " summary-detail-card__value--lg" : ""}`,
6234
- style: { color: d.valueColor },
6235
- children: f.length > $r && d.label === "Description" ? /* @__PURE__ */ W(Ra, { text: f, limit: $r }) : /* @__PURE__ */ W(Ea, { text: f, maxLength: 20 })
6233
+ className: `summary-detail-card__value ${u.size === "lg" ? " summary-detail-card__value--lg" : ""}`,
6234
+ style: { color: u.valueColor },
6235
+ children: f && m.length > $r && u.label === "Description" ? /* @__PURE__ */ W(Ra, { text: m, limit: $r }) : f ? /* @__PURE__ */ W(Ea, { text: m, maxLength: 20 }) : u.value
6236
6236
  }
6237
6237
  )
6238
6238
  ]
6239
6239
  },
6240
- u
6240
+ d
6241
6241
  );
6242
6242
  }) }, a))
6243
6243
  ]