@scbt-ecom/ui 0.30.2 → 0.31.1

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.
Files changed (37) hide show
  1. package/dist/{CustomLink-BerIdUpJ.js → CustomLink-DmltAHJD.js} +4 -4
  2. package/dist/{CustomLink-BerIdUpJ.js.map → CustomLink-DmltAHJD.js.map} +1 -1
  3. package/dist/mergeRefs-qDToYXtM.js +12 -0
  4. package/dist/mergeRefs-qDToYXtM.js.map +1 -0
  5. package/dist/shared/ui/formElements/controlled/index.d.ts +2 -2
  6. package/dist/shared/ui/formElements/uncontrolled/dayPicker/DayPicker.d.ts +1 -1
  7. package/dist/shared/ui/formElements/uncontrolled/index.d.ts +3 -3
  8. package/dist/shared/ui/formElements/uncontrolled/select/Select.d.ts +1 -1
  9. package/dist/shared/ui/formElements/uncontrolled/select/ui/SelectItem.d.ts +1 -1
  10. package/dist/shared/ui/formElements/uncontrolled/textarea/Textarea.d.ts +1 -1
  11. package/dist/shared/ui/notification/ui/CustomToast.d.ts +1 -1
  12. package/dist/shared/utils/typeGuards.d.ts +1 -1
  13. package/dist/shared/validation/base/base.constants.d.ts +17 -0
  14. package/dist/shared/validation/base/base.validators.d.ts +20 -0
  15. package/dist/shared/validation/base/date.validators.d.ts +47 -0
  16. package/dist/shared/validation/base/email.validators.d.ts +33 -0
  17. package/dist/shared/validation/base/index.d.ts +1 -0
  18. package/dist/shared/validation/base/number.validators.d.ts +36 -0
  19. package/dist/shared/validation/base/phone.validators.d.ts +47 -0
  20. package/dist/shared/validation/base/select.validators.d.ts +60 -0
  21. package/dist/shared/validation/base/string.validators.d.ts +44 -0
  22. package/dist/shared/validation/base/union.validators.d.ts +34 -0
  23. package/dist/shared/validation/index.d.ts +23 -0
  24. package/dist/{typeGuards-CaNkXs7N.js → typeGuards-B82KZ2oS.js} +3 -12
  25. package/dist/typeGuards-B82KZ2oS.js.map +1 -0
  26. package/dist/ui.js +408 -430
  27. package/dist/ui.js.map +1 -1
  28. package/dist/{parse-C_80L3wX.js → utils-b38KjjXe.js} +1060 -1030
  29. package/dist/utils-b38KjjXe.js.map +1 -0
  30. package/dist/utils.js +5 -4
  31. package/dist/utils.js.map +1 -1
  32. package/dist/validation.js +198 -39
  33. package/dist/validation.js.map +1 -1
  34. package/dist/widget.js +1 -1
  35. package/package.json +1 -1
  36. package/dist/parse-C_80L3wX.js.map +0 -1
  37. package/dist/typeGuards-CaNkXs7N.js.map +0 -1
package/dist/ui.js CHANGED
@@ -3,19 +3,20 @@ var Mm = (t) => {
3
3
  };
4
4
  var yc = (t, e, n) => e.has(t) || Mm("Cannot " + n);
5
5
  var pe = (t, e, n) => (yc(t, e, "read from private field"), n ? n.call(t) : e.get(t)), lt = (t, e, n) => e.has(t) ? Mm("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), He = (t, e, n, r) => (yc(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), xt = (t, e, n) => (yc(t, e, "access private method"), n);
6
- import { j as T, c as Wo, R as _E, B as mx, I as Be, e as Tt, f as Kr, g as gx, u as In, h as zE, i as tt, k as Iu, D as WE, l as HE, m as $E, n as XE, o as Ip, p as $i, q as YE, r as bx, s as Tu, t as UE, A as ZE, H as JE, d as KE, v as Au, w as qE, x as ca, y as QE, z as vx, E as xc, F as Cc, G as eI, J as tI, K as nI, M as rI, N as iI, O as yx, a as Mu, _ as Xi, L as oI } from "./CustomLink-BerIdUpJ.js";
7
- import { C as qU, P as QU, S as eZ, b as tZ } from "./CustomLink-BerIdUpJ.js";
6
+ import { j as T, c as Wo, R as _E, B as mx, I as Be, e as Tt, f as Kr, g as gx, u as In, h as zE, i as tt, k as Iu, D as WE, l as HE, m as $E, n as XE, o as Ip, p as $i, q as YE, r as bx, s as Tu, t as UE, A as ZE, H as JE, d as KE, v as Au, w as qE, x as ca, y as QE, z as vx, E as xc, F as Cc, G as eI, J as tI, K as nI, M as rI, N as iI, O as yx, a as Mu, _ as Xi, L as oI } from "./CustomLink-DmltAHJD.js";
7
+ import { C as QU, P as eZ, S as tZ, b as nZ } from "./CustomLink-DmltAHJD.js";
8
8
  import * as B from "react";
9
9
  import oe, { forwardRef as gt, createContext as st, useContext as _e, useState as De, useEffect as ze, useMemo as Pe, useCallback as ve, useRef as Ce, useId as Yt, useInsertionEffect as xx, Children as aI, isValidElement as Cx, useLayoutEffect as Ho, Fragment as tn, createElement as Tp, Component as wx, cloneElement as sI, useReducer as Ap, useSyncExternalStore as lI, createRef as uI, useDebugValue as Sx, memo as Fn, useImperativeHandle as cI } from "react";
10
10
  import { c as z } from "./cn-DIfn7EPB.js";
11
- import { t as kt, c as Dn, g as Om, m as dI, a as kx, b as Ex, d as fI, e as pI, f as Ix, h as Tx, j as Mp, i as Op, l as hI, k as mI, n as gI, w as bI, s as Gd, o as wc, q as ea, r as vI, u as ta, v as yI, x as xI, z as Sc, V as Pm, p as Ax } from "./parse-C_80L3wX.js";
11
+ import { t as kt, c as Dn, g as Om, m as dI, a as kx, b as Ex, d as fI, e as pI, f as Ix, h as Tx, j as Mp, i as Op, l as hI, k as mI, n as gI, w as bI, s as Gd, o as wc, q as ea, r as vI, u as ta, v as yI, x as xI, y as Ax, A as Mx, B as ii, z as Sc, V as Pm, D as wa, p as Ox, C as kc } from "./utils-b38KjjXe.js";
12
12
  import { u as CI } from "./useDevice-L83kSsN7.js";
13
- import { a as Ou, C as jn, e as Mx, b as wI, f as Tn } from "./useDebounce-DyvGYvL9.js";
13
+ import { a as Ou, C as jn, e as Px, b as wI, f as Tn } from "./useDebounce-DyvGYvL9.js";
14
14
  import * as _d from "react-dom";
15
15
  import SI, { createPortal as Pu, flushSync as mi } from "react-dom";
16
- import { m as Ox, T as kI } from "./typeGuards-CaNkXs7N.js";
17
- import { g as EI } from "./_commonjsHelpers-DaMA6jEr.js";
18
- function Px(t, e, n) {
16
+ import { m as Dx } from "./mergeRefs-qDToYXtM.js";
17
+ import { g as kI } from "./_commonjsHelpers-DaMA6jEr.js";
18
+ import { T as EI } from "./typeGuards-B82KZ2oS.js";
19
+ function Rx(t, e, n) {
19
20
  const r = kt(t, n == null ? void 0 : n.in);
20
21
  if (isNaN(e)) return Dn(t, NaN);
21
22
  if (!e)
@@ -40,7 +41,7 @@ function Ga(t, e) {
40
41
  const n = kt(t, e == null ? void 0 : e.in);
41
42
  return n.setHours(0, 0, 0, 0), n;
42
43
  }
43
- function Dx(t, e, n) {
44
+ function Nx(t, e, n) {
44
45
  const [r, i] = Yi(
45
46
  n == null ? void 0 : n.in,
46
47
  t,
@@ -52,7 +53,7 @@ function II(t, e, n) {
52
53
  return kx(t, e * 7, n);
53
54
  }
54
55
  function TI(t, e, n) {
55
- return Px(t, e * 12, n);
56
+ return Rx(t, e * 12, n);
56
57
  }
57
58
  function AI(t, e) {
58
59
  let n, r = e == null ? void 0 : e.in;
@@ -113,21 +114,21 @@ function jI(t, e) {
113
114
  const n = kt(t, e == null ? void 0 : e.in), r = n.getFullYear();
114
115
  return n.setFullYear(r + 1, 0, 0), n.setHours(23, 59, 59, 999), n;
115
116
  }
116
- function Rx(t, e) {
117
+ function Fx(t, e) {
117
118
  const n = kt(t, e == null ? void 0 : e.in);
118
119
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
119
120
  }
120
- function Nx(t, e) {
121
+ function jx(t, e) {
121
122
  var s, l, u, c;
122
123
  const n = Ex(), r = (e == null ? void 0 : e.weekStartsOn) ?? ((l = (s = e == null ? void 0 : e.locale) == null ? void 0 : s.options) == null ? void 0 : l.weekStartsOn) ?? n.weekStartsOn ?? ((c = (u = n.locale) == null ? void 0 : u.options) == null ? void 0 : c.weekStartsOn) ?? 0, i = kt(t, e == null ? void 0 : e.in), o = i.getDay(), a = (o < r ? -7 : 0) + 6 - (o - r);
123
124
  return i.setDate(i.getDate() + a), i.setHours(23, 59, 59, 999), i;
124
125
  }
125
126
  function BI(t, e) {
126
- return Nx(t, { ...e, weekStartsOn: 1 });
127
+ return jx(t, { ...e, weekStartsOn: 1 });
127
128
  }
128
129
  function VI(t, e) {
129
130
  const n = kt(t, e == null ? void 0 : e.in);
130
- return Dx(n, Rx(n)) + 1;
131
+ return Nx(n, Fx(n)) + 1;
131
132
  }
132
133
  function Qe(t, e) {
133
134
  const n = t < 0 ? "-" : "", r = Math.abs(t).toString().padStart(e, "0");
@@ -877,9 +878,9 @@ const eT = Wo(
877
878
  size: "lg"
878
879
  }
879
880
  }
880
- ), fU = gt(
881
+ ), pU = gt(
881
882
  ({ size: t, intent: e, children: n, classes: r, type: i = "button", ...o }, a) => /* @__PURE__ */ T.jsx("button", { ref: a, type: i, className: z(eT({ intent: e, size: t }), r == null ? void 0 : r.button), ...o, children: /* @__PURE__ */ T.jsx("span", { className: z(r == null ? void 0 : r.icon), children: n }) })
882
- ), pU = ({ className: t }) => /* @__PURE__ */ T.jsx("div", { className: z("skeleton-apply h-full w-full", t) }), hU = ({ isVisible: t, classes: e, children: n, buttonProps: r }) => /* @__PURE__ */ T.jsxs(
883
+ ), hU = ({ className: t }) => /* @__PURE__ */ T.jsx("div", { className: z("skeleton-apply h-full w-full", t) }), mU = ({ isVisible: t, classes: e, children: n, buttonProps: r }) => /* @__PURE__ */ T.jsxs(
883
884
  _E,
884
885
  {
885
886
  className: z(
@@ -892,7 +893,7 @@ const eT = Wo(
892
893
  /* @__PURE__ */ T.jsx(mx, { size: "lg", className: z("m-auto w-full", e == null ? void 0 : e.button), ...r, children: "Оформить заявку" })
893
894
  ]
894
895
  }
895
- ), mU = ({ text: t, classes: e }) => {
896
+ ), gU = ({ text: t, classes: e }) => {
896
897
  const [n, r] = B.useState(!1), [i, o] = B.useState(!1), a = B.useRef(null);
897
898
  return B.useEffect(() => {
898
899
  const s = a.current;
@@ -933,10 +934,10 @@ var Pn;
933
934
  (function(t) {
934
935
  t.range_end = "range_end", t.range_middle = "range_middle", t.range_start = "range_start", t.selected = "selected";
935
936
  })(Pn || (Pn = {}));
936
- const kc = {}, da = {};
937
- function wa(t, e) {
937
+ const Ec = {}, da = {};
938
+ function Sa(t, e) {
938
939
  try {
939
- const r = (kc[t] || (kc[t] = new Intl.DateTimeFormat("en-GB", {
940
+ const r = (Ec[t] || (Ec[t] = new Intl.DateTimeFormat("en-GB", {
940
941
  timeZone: t,
941
942
  hour: "numeric",
942
943
  timeZoneName: "longOffset"
@@ -956,7 +957,7 @@ function jm(t, e) {
956
957
  class Un extends Date {
957
958
  //#region static
958
959
  constructor(...e) {
959
- super(), e.length > 1 && typeof e[e.length - 1] == "string" && (this.timeZone = e.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(wa(this.timeZone, this)) ? this.setTime(NaN) : e.length ? typeof e[0] == "number" && (e.length === 1 || e.length === 2 && typeof e[1] != "number") ? this.setTime(e[0]) : typeof e[0] == "string" ? this.setTime(+new Date(e[0])) : e[0] instanceof Date ? this.setTime(+e[0]) : (this.setTime(+new Date(...e)), Fx(this), zd(this)) : this.setTime(Date.now());
960
+ super(), e.length > 1 && typeof e[e.length - 1] == "string" && (this.timeZone = e.pop()), this.internal = /* @__PURE__ */ new Date(), isNaN(Sa(this.timeZone, this)) ? this.setTime(NaN) : e.length ? typeof e[0] == "number" && (e.length === 1 || e.length === 2 && typeof e[1] != "number") ? this.setTime(e[0]) : typeof e[0] == "string" ? this.setTime(+new Date(e[0])) : e[0] instanceof Date ? this.setTime(+e[0]) : (this.setTime(+new Date(...e)), Bx(this), zd(this)) : this.setTime(Date.now());
960
961
  }
961
962
  static tz(e, ...n) {
962
963
  return n.length ? new Un(...n, e) : new Un(Date.now(), e);
@@ -967,7 +968,7 @@ class Un extends Date {
967
968
  return new Un(+this, e);
968
969
  }
969
970
  getTimezoneOffset() {
970
- return -wa(this.timeZone, this);
971
+ return -Sa(this.timeZone, this);
971
972
  }
972
973
  //#endregion
973
974
  //#region time
@@ -997,19 +998,19 @@ function zd(t) {
997
998
  t.internal.setTime(+t), t.internal.setUTCMinutes(t.internal.getUTCMinutes() - t.getTimezoneOffset());
998
999
  }
999
1000
  function nT(t) {
1000
- Date.prototype.setFullYear.call(t, t.internal.getUTCFullYear(), t.internal.getUTCMonth(), t.internal.getUTCDate()), Date.prototype.setHours.call(t, t.internal.getUTCHours(), t.internal.getUTCMinutes(), t.internal.getUTCSeconds(), t.internal.getUTCMilliseconds()), Fx(t);
1001
+ Date.prototype.setFullYear.call(t, t.internal.getUTCFullYear(), t.internal.getUTCMonth(), t.internal.getUTCDate()), Date.prototype.setHours.call(t, t.internal.getUTCHours(), t.internal.getUTCMinutes(), t.internal.getUTCSeconds(), t.internal.getUTCMilliseconds()), Bx(t);
1001
1002
  }
1002
- function Fx(t) {
1003
- const e = wa(t.timeZone, t), n = /* @__PURE__ */ new Date(+t);
1003
+ function Bx(t) {
1004
+ const e = Sa(t.timeZone, t), n = /* @__PURE__ */ new Date(+t);
1004
1005
  n.setUTCHours(n.getUTCHours() - 1);
1005
1006
  const r = -(/* @__PURE__ */ new Date(+t)).getTimezoneOffset(), i = -(/* @__PURE__ */ new Date(+n)).getTimezoneOffset(), o = r - i, a = Date.prototype.getHours.apply(t) !== t.internal.getUTCHours();
1006
1007
  o && a && t.internal.setUTCMinutes(t.internal.getUTCMinutes() + o);
1007
1008
  const s = r - e;
1008
1009
  s && Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + s);
1009
- const l = wa(t.timeZone, t), c = -(/* @__PURE__ */ new Date(+t)).getTimezoneOffset() - l, d = l !== e, f = c - s;
1010
+ const l = Sa(t.timeZone, t), c = -(/* @__PURE__ */ new Date(+t)).getTimezoneOffset() - l, d = l !== e, f = c - s;
1010
1011
  if (d && f) {
1011
1012
  Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + f);
1012
- const p = wa(t.timeZone, t), h = l - p;
1013
+ const p = Sa(t.timeZone, t), h = l - p;
1013
1014
  h && (t.internal.setUTCMinutes(t.internal.getUTCMinutes() + h), Date.prototype.setUTCMinutes.call(t, Date.prototype.getUTCMinutes.call(t) + h));
1014
1015
  }
1015
1016
  }
@@ -1634,12 +1635,12 @@ function VT(t, e) {
1634
1635
  const n = e.startOfMonth(t), r = n.getDay() > 0 ? n.getDay() : 7, i = e.addDays(t, -r + 1), o = e.addDays(i, Lm * 7 - 1);
1635
1636
  return e.getMonth(t) === e.getMonth(o) ? Lm : BT;
1636
1637
  }
1637
- function jx(t, e) {
1638
+ function Vx(t, e) {
1638
1639
  const n = e.startOfMonth(t), r = n.getDay();
1639
1640
  return r === 1 ? n : r === 0 ? e.addDays(n, -1 * 6) : e.addDays(n, -1 * (r - 1));
1640
1641
  }
1641
1642
  function LT(t, e) {
1642
- const n = jx(t, e), r = VT(t, e);
1643
+ const n = Vx(t, e), r = VT(t, e);
1643
1644
  return e.addDays(n, r * 7 - 1);
1644
1645
  }
1645
1646
  class yr {
@@ -1661,7 +1662,7 @@ class yr {
1661
1662
  return (o = this.overrides) != null && o.addDays ? this.overrides.addDays(r, i) : kx(r, i);
1662
1663
  }, this.addMonths = (r, i) => {
1663
1664
  var o;
1664
- return (o = this.overrides) != null && o.addMonths ? this.overrides.addMonths(r, i) : Px(r, i);
1665
+ return (o = this.overrides) != null && o.addMonths ? this.overrides.addMonths(r, i) : Rx(r, i);
1665
1666
  }, this.addWeeks = (r, i) => {
1666
1667
  var o;
1667
1668
  return (o = this.overrides) != null && o.addWeeks ? this.overrides.addWeeks(r, i) : II(r, i);
@@ -1670,7 +1671,7 @@ class yr {
1670
1671
  return (o = this.overrides) != null && o.addYears ? this.overrides.addYears(r, i) : TI(r, i);
1671
1672
  }, this.differenceInCalendarDays = (r, i) => {
1672
1673
  var o;
1673
- return (o = this.overrides) != null && o.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(r, i) : Dx(r, i);
1674
+ return (o = this.overrides) != null && o.differenceInCalendarDays ? this.overrides.differenceInCalendarDays(r, i) : Nx(r, i);
1674
1675
  }, this.differenceInCalendarMonths = (r, i) => {
1675
1676
  var o;
1676
1677
  return (o = this.overrides) != null && o.differenceInCalendarMonths ? this.overrides.differenceInCalendarMonths(r, i) : PI(r, i);
@@ -1688,7 +1689,7 @@ class yr {
1688
1689
  return (i = this.overrides) != null && i.endOfMonth ? this.overrides.endOfMonth(r) : DI(r);
1689
1690
  }, this.endOfWeek = (r) => {
1690
1691
  var i;
1691
- return (i = this.overrides) != null && i.endOfWeek ? this.overrides.endOfWeek(r, this.options) : Nx(r, this.options);
1692
+ return (i = this.overrides) != null && i.endOfWeek ? this.overrides.endOfWeek(r, this.options) : jx(r, this.options);
1692
1693
  }, this.endOfYear = (r) => {
1693
1694
  var i;
1694
1695
  return (i = this.overrides) != null && i.endOfYear ? this.overrides.endOfYear(r) : jI(r);
@@ -1740,7 +1741,7 @@ class yr {
1740
1741
  return (o = this.overrides) != null && o.setYear ? this.overrides.setYear(r, i) : QI(r, i);
1741
1742
  }, this.startOfBroadcastWeek = (r) => {
1742
1743
  var i;
1743
- return (i = this.overrides) != null && i.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(r, this) : jx(r, this);
1744
+ return (i = this.overrides) != null && i.startOfBroadcastWeek ? this.overrides.startOfBroadcastWeek(r, this) : Vx(r, this);
1744
1745
  }, this.startOfDay = (r) => {
1745
1746
  var i;
1746
1747
  return (i = this.overrides) != null && i.startOfDay ? this.overrides.startOfDay(r) : Ga(r);
@@ -1755,7 +1756,7 @@ class yr {
1755
1756
  return (i = this.overrides) != null && i.startOfWeek ? this.overrides.startOfWeek(r, this.options) : Gd(r, this.options);
1756
1757
  }, this.startOfYear = (r) => {
1757
1758
  var i;
1758
- return (i = this.overrides) != null && i.startOfYear ? this.overrides.startOfYear(r) : Rx(r);
1759
+ return (i = this.overrides) != null && i.startOfYear ? this.overrides.startOfYear(r) : Fx(r);
1759
1760
  }, this.options = { locale: Mp, ...e }, this.overrides = n;
1760
1761
  }
1761
1762
  /**
@@ -1857,9 +1858,9 @@ function KT(t) {
1857
1858
  function qT(t) {
1858
1859
  return oe.createElement("div", { ...t });
1859
1860
  }
1860
- const Bx = st(void 0);
1861
+ const Lx = st(void 0);
1861
1862
  function Ui() {
1862
- const t = _e(Bx);
1863
+ const t = _e(Lx);
1863
1864
  if (t === void 0)
1864
1865
  throw new Error("useDayPicker() must be used within a custom component.");
1865
1866
  return t;
@@ -1987,10 +1988,10 @@ function gA() {
1987
1988
  t[Pn[e]] = `rdp-${Pn[e]}`;
1988
1989
  return t;
1989
1990
  }
1990
- function Vx(t, e, n) {
1991
+ function Gx(t, e, n) {
1991
1992
  return (n ?? new yr(e)).format(t, "LLLL y");
1992
1993
  }
1993
- const bA = Vx;
1994
+ const bA = Gx;
1994
1995
  function vA(t, e, n) {
1995
1996
  return (n ?? new yr(e)).format(t, "d");
1996
1997
  }
@@ -2006,12 +2007,12 @@ function CA() {
2006
2007
  function wA(t, e, n) {
2007
2008
  return (n ?? new yr(e)).format(t, "cccccc");
2008
2009
  }
2009
- function Lx(t, e = xr) {
2010
+ function _x(t, e = xr) {
2010
2011
  return e.format(t, "yyyy");
2011
2012
  }
2012
- const SA = Lx, kA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2013
+ const SA = _x, kA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2013
2014
  __proto__: null,
2014
- formatCaption: Vx,
2015
+ formatCaption: Gx,
2015
2016
  formatDay: vA,
2016
2017
  formatMonthCaption: bA,
2017
2018
  formatMonthDropdown: yA,
@@ -2019,7 +2020,7 @@ const SA = Lx, kA = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2019
2020
  formatWeekNumberHeader: CA,
2020
2021
  formatWeekdayName: wA,
2021
2022
  formatYearCaption: SA,
2022
- formatYearDropdown: Lx
2023
+ formatYearDropdown: _x
2023
2024
  }, Symbol.toStringTag, { value: "Module" }));
2024
2025
  function EA(t) {
2025
2026
  return t != null && t.formatMonthCaption && !t.formatCaption && (t.formatCaption = t.formatMonthCaption), t != null && t.formatYearCaption && !t.formatYearDropdown && (t.formatYearDropdown = t.formatYearCaption), {
@@ -2070,19 +2071,19 @@ function MA(t, e, n, r) {
2070
2071
  };
2071
2072
  });
2072
2073
  }
2073
- function Gx(t, e, n) {
2074
+ function zx(t, e, n) {
2074
2075
  return (n ?? new yr(e)).format(t, "LLLL y");
2075
2076
  }
2076
- const OA = Gx;
2077
+ const OA = zx;
2077
2078
  function PA(t, e, n, r) {
2078
2079
  let i = (r ?? new yr(n)).format(t, "PPPP");
2079
2080
  return e != null && e.today && (i = `Today, ${i}`), i;
2080
2081
  }
2081
- function _x(t, e, n, r) {
2082
+ function Wx(t, e, n, r) {
2082
2083
  let i = (r ?? new yr(n)).format(t, "PPPP");
2083
2084
  return e.today && (i = `Today, ${i}`), e.selected && (i = `${i}, selected`), i;
2084
2085
  }
2085
- const DA = _x;
2086
+ const DA = Wx;
2086
2087
  function RA() {
2087
2088
  return "";
2088
2089
  }
@@ -2111,8 +2112,8 @@ const _A = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2111
2112
  __proto__: null,
2112
2113
  labelCaption: OA,
2113
2114
  labelDay: DA,
2114
- labelDayButton: _x,
2115
- labelGrid: Gx,
2115
+ labelDayButton: Wx,
2116
+ labelGrid: zx,
2116
2117
  labelGridcell: PA,
2117
2118
  labelMonthDropdown: NA,
2118
2119
  labelNav: RA,
@@ -2286,22 +2287,22 @@ function cr(t, e, n = !1, r = xr) {
2286
2287
  const { differenceInCalendarDays: a, isSameDay: s } = r;
2287
2288
  return i && o ? (a(o, i) < 0 && ([i, o] = [o, i]), a(e, i) >= (n ? 1 : 0) && a(o, e) >= (n ? 1 : 0)) : !n && o ? s(o, e) : !n && i ? s(i, e) : !1;
2288
2289
  }
2289
- function zx(t) {
2290
+ function Hx(t) {
2290
2291
  return !!(t && typeof t == "object" && "before" in t && "after" in t);
2291
2292
  }
2292
2293
  function Rp(t) {
2293
2294
  return !!(t && typeof t == "object" && "from" in t);
2294
2295
  }
2295
- function Wx(t) {
2296
+ function $x(t) {
2296
2297
  return !!(t && typeof t == "object" && "after" in t);
2297
2298
  }
2298
- function Hx(t) {
2299
+ function Xx(t) {
2299
2300
  return !!(t && typeof t == "object" && "before" in t);
2300
2301
  }
2301
- function $x(t) {
2302
+ function Yx(t) {
2302
2303
  return !!(t && typeof t == "object" && "dayOfWeek" in t);
2303
2304
  }
2304
- function Xx(t, e) {
2305
+ function Ux(t, e) {
2305
2306
  return Array.isArray(t) && t.every(e.isDate);
2306
2307
  }
2307
2308
  function dr(t, e, n = xr) {
@@ -2311,17 +2312,17 @@ function dr(t, e, n = xr) {
2311
2312
  return s;
2312
2313
  if (n.isDate(s))
2313
2314
  return i(t, s);
2314
- if (Xx(s, n))
2315
+ if (Ux(s, n))
2315
2316
  return s.includes(t);
2316
2317
  if (Rp(s))
2317
2318
  return cr(s, t, !1, n);
2318
- if ($x(s))
2319
+ if (Yx(s))
2319
2320
  return Array.isArray(s.dayOfWeek) ? s.dayOfWeek.includes(t.getDay()) : s.dayOfWeek === t.getDay();
2320
- if (zx(s)) {
2321
+ if (Hx(s)) {
2321
2322
  const l = o(s.before, t), u = o(s.after, t), c = l > 0, d = u < 0;
2322
2323
  return a(s.before, s.after) ? d && c : c || d;
2323
2324
  }
2324
- return Wx(s) ? o(t, s.after) > 0 : Hx(s) ? o(s.before, t) > 0 : typeof s == "function" ? s(t) : !1;
2325
+ return $x(s) ? o(t, s.after) > 0 : Xx(s) ? o(s.before, t) > 0 : typeof s == "function" ? s(t) : !1;
2325
2326
  });
2326
2327
  }
2327
2328
  function eM(t, e, n, r, i, o, a) {
@@ -2336,7 +2337,7 @@ function eM(t, e, n, r, i, o, a) {
2336
2337
  }[t](n, e === "after" ? 1 : -1);
2337
2338
  return e === "before" && r ? C = g([r, C]) : e === "after" && i && (C = b([i, C])), C;
2338
2339
  }
2339
- function Yx(t, e, n, r, i, o, a, s = 0) {
2340
+ function Zx(t, e, n, r, i, o, a, s = 0) {
2340
2341
  if (s > 365)
2341
2342
  return;
2342
2343
  const l = eM(
@@ -2349,7 +2350,7 @@ function Yx(t, e, n, r, i, o, a, s = 0) {
2349
2350
  o,
2350
2351
  a
2351
2352
  ), u = !!(o.disabled && dr(l, o.disabled, a)), c = !!(o.hidden && dr(l, o.hidden, a)), d = l, f = new Dp(l, d, a);
2352
- return !u && !c ? f : Yx(t, e, f, r, i, o, a, s + 1);
2353
+ return !u && !c ? f : Zx(t, e, f, r, i, o, a, s + 1);
2353
2354
  }
2354
2355
  function tM(t, e, n, r, i) {
2355
2356
  const { autoFocus: o } = t, [a, s] = De(), l = QA(e.days, n, r || (() => !1), a), [u, c] = De(o ? l : void 0);
@@ -2363,7 +2364,7 @@ function tM(t, e, n, r, i) {
2363
2364
  moveFocus: (m, g) => {
2364
2365
  if (!u)
2365
2366
  return;
2366
- const b = Yx(m, g, u, e.navStart, e.navEnd, t, i);
2367
+ const b = Zx(m, g, u, e.navStart, e.navEnd, t, i);
2367
2368
  b && (e.goToDay(b), c(b));
2368
2369
  }
2369
2370
  };
@@ -2466,10 +2467,10 @@ function _m(t, e, n = xr) {
2466
2467
  }
2467
2468
  function aM(t, e, n = xr) {
2468
2469
  const r = Array.isArray(e) ? e : [e];
2469
- if (r.filter((s) => typeof s != "function").some((s) => typeof s == "boolean" ? s : n.isDate(s) ? cr(t, s, !1, n) : Xx(s, n) ? s.some((l) => cr(t, l, !1, n)) : Rp(s) ? s.from && s.to ? _m(t, { from: s.from, to: s.to }, n) : !1 : $x(s) ? oM(t, s.dayOfWeek, n) : zx(s) ? n.isAfter(s.before, s.after) ? _m(t, {
2470
+ if (r.filter((s) => typeof s != "function").some((s) => typeof s == "boolean" ? s : n.isDate(s) ? cr(t, s, !1, n) : Ux(s, n) ? s.some((l) => cr(t, l, !1, n)) : Rp(s) ? s.from && s.to ? _m(t, { from: s.from, to: s.to }, n) : !1 : Yx(s) ? oM(t, s.dayOfWeek, n) : Hx(s) ? n.isAfter(s.before, s.after) ? _m(t, {
2470
2471
  from: n.addDays(s.after, 1),
2471
2472
  to: n.addDays(s.before, -1)
2472
- }, n) : dr(t.from, s, n) || dr(t.to, s, n) : Wx(s) || Hx(s) ? dr(t.from, s, n) || dr(t.to, s, n) : !1))
2473
+ }, n) : dr(t.from, s, n) || dr(t.to, s, n) : $x(s) || Xx(s) ? dr(t.from, s, n) || dr(t.to, s, n) : !1))
2473
2474
  return !0;
2474
2475
  const a = r.filter((s) => typeof s == "function");
2475
2476
  if (a.length) {
@@ -2608,7 +2609,7 @@ function cM(t) {
2608
2609
  formatters: n
2609
2610
  };
2610
2611
  return oe.createElement(
2611
- Bx.Provider,
2612
+ Lx.Provider,
2612
2613
  { value: Et },
2613
2614
  oe.createElement(
2614
2615
  e.Root,
@@ -2747,7 +2748,7 @@ const pM = ({ children: t, initial: e, isPresent: n, onExitComplete: r, custom:
2747
2748
  function hM() {
2748
2749
  return /* @__PURE__ */ new Map();
2749
2750
  }
2750
- function Ux(t = !0) {
2751
+ function Jx(t = !0) {
2751
2752
  const e = _e(Ru);
2752
2753
  if (e === null)
2753
2754
  return [!0, null];
@@ -2765,9 +2766,9 @@ function zm(t) {
2765
2766
  Cx(n) && e.push(n);
2766
2767
  }), e;
2767
2768
  }
2768
- const Bp = typeof window < "u", Zx = Bp ? Ho : ze, Jx = ({ children: t, custom: e, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: o = "sync", propagate: a = !1 }) => {
2769
- const [s, l] = Ux(a), u = Pe(() => zm(t), [t]), c = a && !s ? [] : u.map(Rs), d = Ce(!0), f = Ce(u), p = Fp(() => /* @__PURE__ */ new Map()), [h, m] = De(u), [g, b] = De(u);
2770
- Zx(() => {
2769
+ const Bp = typeof window < "u", Kx = Bp ? Ho : ze, qx = ({ children: t, custom: e, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: o = "sync", propagate: a = !1 }) => {
2770
+ const [s, l] = Jx(a), u = Pe(() => zm(t), [t]), c = a && !s ? [] : u.map(Rs), d = Ce(!0), f = Ce(u), p = Fp(() => /* @__PURE__ */ new Map()), [h, m] = De(u), [g, b] = De(u);
2771
+ Kx(() => {
2771
2772
  d.current = !1, f.current = u;
2772
2773
  for (let v = 0; v < g.length; v++) {
2773
2774
  const y = Rs(g[v]);
@@ -2871,7 +2872,7 @@ const Ns = [
2871
2872
  "postRender"
2872
2873
  // Compute
2873
2874
  ], bM = 40;
2874
- function Kx(t, e) {
2875
+ function Qx(t, e) {
2875
2876
  let n = !1, r = !0;
2876
2877
  const i = {
2877
2878
  delta: 0,
@@ -2891,7 +2892,7 @@ function Kx(t, e) {
2891
2892
  a[Ns[x]].cancel(b);
2892
2893
  }, state: i, steps: a };
2893
2894
  }
2894
- const { schedule: at, cancel: Ur, state: Nt, steps: Ec } = Kx(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ln, !0), qx = st({ strict: !1 }), Wm = {
2895
+ const { schedule: at, cancel: Ur, state: Nt, steps: Ic } = Qx(typeof requestAnimationFrame < "u" ? requestAnimationFrame : ln, !0), e0 = st({ strict: !1 }), Wm = {
2895
2896
  animation: [
2896
2897
  "animate",
2897
2898
  "variants",
@@ -2957,9 +2958,9 @@ const yM = /* @__PURE__ */ new Set([
2957
2958
  function yl(t) {
2958
2959
  return t.startsWith("while") || t.startsWith("drag") && t !== "draggable" || t.startsWith("layout") || t.startsWith("onTap") || t.startsWith("onPan") || t.startsWith("onLayout") || yM.has(t);
2959
2960
  }
2960
- let Qx = (t) => !yl(t);
2961
+ let t0 = (t) => !yl(t);
2961
2962
  function xM(t) {
2962
- t && (Qx = (e) => e.startsWith("on") ? !yl(e) : t(e));
2963
+ t && (t0 = (e) => e.startsWith("on") ? !yl(e) : t(e));
2963
2964
  }
2964
2965
  try {
2965
2966
  xM(require("@emotion/is-prop-valid").default);
@@ -2968,7 +2969,7 @@ try {
2968
2969
  function CM(t, e, n) {
2969
2970
  const r = {};
2970
2971
  for (const i in t)
2971
- i === "values" && typeof t.values == "object" || (Qx(i) || n === !0 && yl(i) || !e && !yl(i) || // If trying to use native HTML drag events, forward drag listeners
2972
+ i === "values" && typeof t.values == "object" || (t0(i) || n === !0 && yl(i) || !e && !yl(i) || // If trying to use native HTML drag events, forward drag listeners
2972
2973
  t.draggable && i.startsWith("onDrag")) && (r[i] = t[i]);
2973
2974
  return r;
2974
2975
  }
@@ -3008,7 +3009,7 @@ const Lp = [
3008
3009
  function Bu(t) {
3009
3010
  return ju(t.animate) || Gp.some((e) => _a(t[e]));
3010
3011
  }
3011
- function e0(t) {
3012
+ function n0(t) {
3012
3013
  return !!(Bu(t) || t.variants);
3013
3014
  }
3014
3015
  function SM(t, e) {
@@ -3045,10 +3046,10 @@ function IM(t, e, n) {
3045
3046
  [e]
3046
3047
  );
3047
3048
  }
3048
- const _p = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), TM = "framerAppearId", t0 = "data-" + _p(TM), { schedule: zp, cancel: gU } = Kx(queueMicrotask, !1), n0 = st({});
3049
+ const _p = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), TM = "framerAppearId", r0 = "data-" + _p(TM), { schedule: zp, cancel: bU } = Qx(queueMicrotask, !1), i0 = st({});
3049
3050
  function AM(t, e, n, r, i) {
3050
3051
  var o, a;
3051
- const { visualElement: s } = _e(Fu), l = _e(qx), u = _e(Ru), c = _e(jp).reducedMotion, d = Ce(null);
3052
+ const { visualElement: s } = _e(Fu), l = _e(e0), u = _e(Ru), c = _e(jp).reducedMotion, d = Ce(null);
3052
3053
  r = r || l.renderer, !d.current && r && (d.current = r(t, {
3053
3054
  visualState: e,
3054
3055
  parent: s,
@@ -3057,14 +3058,14 @@ function AM(t, e, n, r, i) {
3057
3058
  blockInitialAnimation: u ? u.initial === !1 : !1,
3058
3059
  reducedMotionConfig: c
3059
3060
  }));
3060
- const f = d.current, p = _e(n0);
3061
+ const f = d.current, p = _e(i0);
3061
3062
  f && !f.projection && i && (f.type === "html" || f.type === "svg") && MM(d.current, n, i, p);
3062
3063
  const h = Ce(!1);
3063
3064
  xx(() => {
3064
3065
  f && h.current && f.update(n, u);
3065
3066
  });
3066
- const m = n[t0], g = Ce(!!m && !(!((o = window.MotionHandoffIsComplete) === null || o === void 0) && o.call(window, m)) && ((a = window.MotionHasOptimisedAnimation) === null || a === void 0 ? void 0 : a.call(window, m)));
3067
- return Zx(() => {
3067
+ const m = n[r0], g = Ce(!!m && !(!((o = window.MotionHandoffIsComplete) === null || o === void 0) && o.call(window, m)) && ((a = window.MotionHasOptimisedAnimation) === null || a === void 0 ? void 0 : a.call(window, m)));
3068
+ return Kx(() => {
3068
3069
  f && (h.current = !0, window.MotionIsMounted = !0, f.updateFeatures(), zp.render(f.render), g.current && f.animationState && f.animationState.animateChanges());
3069
3070
  }), ze(() => {
3070
3071
  f && (!g.current && f.animationState && f.animationState.animateChanges(), g.current && (queueMicrotask(() => {
@@ -3075,7 +3076,7 @@ function AM(t, e, n, r, i) {
3075
3076
  }
3076
3077
  function MM(t, e, n, r) {
3077
3078
  const { layoutId: i, layout: o, drag: a, dragConstraints: s, layoutScroll: l, layoutRoot: u } = e;
3078
- t.projection = new n(t.latestValues, e["data-framer-portal-id"] ? void 0 : r0(t.parent)), t.projection.setOptions({
3079
+ t.projection = new n(t.latestValues, e["data-framer-portal-id"] ? void 0 : o0(t.parent)), t.projection.setOptions({
3079
3080
  layoutId: i,
3080
3081
  layout: o,
3081
3082
  alwaysMeasureLayout: !!a || s && fo(s),
@@ -3093,9 +3094,9 @@ function MM(t, e, n, r) {
3093
3094
  layoutRoot: u
3094
3095
  });
3095
3096
  }
3096
- function r0(t) {
3097
+ function o0(t) {
3097
3098
  if (t)
3098
- return t.options.allowProjection !== !1 ? t.projection : r0(t.parent);
3099
+ return t.options.allowProjection !== !1 ? t.projection : o0(t.parent);
3099
3100
  }
3100
3101
  function OM({ preloadedFeatures: t, createVisualElement: e, useRender: n, useVisualState: r, Component: i }) {
3101
3102
  var o, a;
@@ -3123,7 +3124,7 @@ function PM({ layoutId: t }) {
3123
3124
  return e && t !== void 0 ? e + "-" + t : t;
3124
3125
  }
3125
3126
  function DM(t, e) {
3126
- const n = _e(qx).strict;
3127
+ const n = _e(e0).strict;
3127
3128
  if (process.env.NODE_ENV !== "production" && e && n) {
3128
3129
  const r = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
3129
3130
  t.ignoreStrict ? $o(!1, r) : Yr(!1, r);
@@ -3215,7 +3216,7 @@ function BM({ scrapeMotionValuesFromProps: t, createRenderState: e, onUpdate: n
3215
3216
  };
3216
3217
  return n && (a.onMount = (s) => n({ props: r, current: s, ...a }), a.onUpdate = (s) => n(s)), a;
3217
3218
  }
3218
- const i0 = (t) => (e, n) => {
3219
+ const a0 = (t) => (e, n) => {
3219
3220
  const r = _e(Fu), i = _e(Ru), o = () => BM(t, e, r, i);
3220
3221
  return n ? o() : Fp(o);
3221
3222
  };
@@ -3224,7 +3225,7 @@ function VM(t, e, n, r) {
3224
3225
  for (const f in o)
3225
3226
  i[f] = tl(o[f]);
3226
3227
  let { initial: a, animate: s } = t;
3227
- const l = Bu(t), u = e0(t);
3228
+ const l = Bu(t), u = n0(t);
3228
3229
  e && u && !l && t.inherit !== !1 && (a === void 0 && (a = e.initial), s === void 0 && (s = e.animate));
3229
3230
  let c = n ? n.initial === !1 : !1;
3230
3231
  c = c || a === !1;
@@ -3268,7 +3269,7 @@ const Xo = [
3268
3269
  "skew",
3269
3270
  "skewX",
3270
3271
  "skewY"
3271
- ], Zi = new Set(Xo), o0 = (t) => (e) => typeof e == "string" && e.startsWith(t), a0 = /* @__PURE__ */ o0("--"), LM = /* @__PURE__ */ o0("var(--"), $p = (t) => LM(t) ? GM.test(t.split("/*")[0].trim()) : !1, GM = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, s0 = (t, e) => e && typeof t == "number" ? e.transform(t) : t, br = (t, e, n) => n > e ? e : n < t ? t : n, Yo = {
3272
+ ], Zi = new Set(Xo), s0 = (t) => (e) => typeof e == "string" && e.startsWith(t), l0 = /* @__PURE__ */ s0("--"), LM = /* @__PURE__ */ s0("var(--"), $p = (t) => LM(t) ? GM.test(t.split("/*")[0].trim()) : !1, GM = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, u0 = (t, e) => e && typeof t == "number" ? e.transform(t) : t, br = (t, e, n) => n > e ? e : n < t ? t : n, Yo = {
3272
3273
  test: (t) => typeof t == "number",
3273
3274
  parse: parseFloat,
3274
3275
  transform: (t) => t
@@ -3373,7 +3374,7 @@ function YM(t, e, n) {
3373
3374
  continue;
3374
3375
  let l = !0;
3375
3376
  if (typeof s == "number" ? l = s === (a.startsWith("scale") ? 1 : 0) : l = parseFloat(s) === 0, !l || n) {
3376
- const u = s0(s, Xp[a]);
3377
+ const u = u0(s, Xp[a]);
3377
3378
  if (!l) {
3378
3379
  i = !1;
3379
3380
  const c = $M[a] || a;
@@ -3392,11 +3393,11 @@ function Yp(t, e, n) {
3392
3393
  if (Zi.has(l)) {
3393
3394
  a = !0;
3394
3395
  continue;
3395
- } else if (a0(l)) {
3396
+ } else if (l0(l)) {
3396
3397
  i[l] = u;
3397
3398
  continue;
3398
3399
  } else {
3399
- const c = s0(u, Xp[l]);
3400
+ const c = u0(u, Xp[l]);
3400
3401
  l.startsWith("origin") ? (s = !0, o[l] = c) : r[l] = c;
3401
3402
  }
3402
3403
  }
@@ -3451,16 +3452,16 @@ const Zp = () => ({
3451
3452
  transform: {},
3452
3453
  transformOrigin: {},
3453
3454
  vars: {}
3454
- }), l0 = () => ({
3455
+ }), c0 = () => ({
3455
3456
  ...Zp(),
3456
3457
  attrs: {}
3457
3458
  }), Jp = (t) => typeof t == "string" && t.toLowerCase() === "svg";
3458
- function u0(t, { style: e, vars: n }, r, i) {
3459
+ function d0(t, { style: e, vars: n }, r, i) {
3459
3460
  Object.assign(t.style, e, i && i.getProjectionStyles(r));
3460
3461
  for (const o in n)
3461
3462
  t.style.setProperty(o, n[o]);
3462
3463
  }
3463
- const c0 = /* @__PURE__ */ new Set([
3464
+ const f0 = /* @__PURE__ */ new Set([
3464
3465
  "baseFrequency",
3465
3466
  "diffuseConstant",
3466
3467
  "kernelMatrix",
@@ -3485,26 +3486,26 @@ const c0 = /* @__PURE__ */ new Set([
3485
3486
  "textLength",
3486
3487
  "lengthAdjust"
3487
3488
  ]);
3488
- function d0(t, e, n, r) {
3489
- u0(t, e, void 0, r);
3489
+ function p0(t, e, n, r) {
3490
+ d0(t, e, void 0, r);
3490
3491
  for (const i in e.attrs)
3491
- t.setAttribute(c0.has(i) ? i : _p(i), e.attrs[i]);
3492
+ t.setAttribute(f0.has(i) ? i : _p(i), e.attrs[i]);
3492
3493
  }
3493
3494
  const xl = {};
3494
3495
  function qM(t) {
3495
3496
  Object.assign(xl, t);
3496
3497
  }
3497
- function f0(t, { layout: e, layoutId: n }) {
3498
+ function h0(t, { layout: e, layoutId: n }) {
3498
3499
  return Zi.has(t) || t.startsWith("origin") || (e || n !== void 0) && (!!xl[t] || t === "opacity");
3499
3500
  }
3500
3501
  function Kp(t, e, n) {
3501
3502
  var r;
3502
3503
  const { style: i } = t, o = {};
3503
3504
  for (const a in i)
3504
- (Ht(i[a]) || e.style && Ht(e.style[a]) || f0(a, t) || ((r = n == null ? void 0 : n.getValue(a)) === null || r === void 0 ? void 0 : r.liveStyle) !== void 0) && (o[a] = i[a]);
3505
+ (Ht(i[a]) || e.style && Ht(e.style[a]) || h0(a, t) || ((r = n == null ? void 0 : n.getValue(a)) === null || r === void 0 ? void 0 : r.liveStyle) !== void 0) && (o[a] = i[a]);
3505
3506
  return o;
3506
3507
  }
3507
- function p0(t, e, n) {
3508
+ function m0(t, e, n) {
3508
3509
  const r = Kp(t, e, n);
3509
3510
  for (const i in t)
3510
3511
  if (Ht(t[i]) || Ht(e[i])) {
@@ -3526,9 +3527,9 @@ function QM(t, e) {
3526
3527
  }
3527
3528
  }
3528
3529
  const Jm = ["x", "y", "width", "height", "cx", "cy", "r"], eO = {
3529
- useVisualState: i0({
3530
- scrapeMotionValuesFromProps: p0,
3531
- createRenderState: l0,
3530
+ useVisualState: a0({
3531
+ scrapeMotionValuesFromProps: m0,
3532
+ createRenderState: c0,
3532
3533
  onUpdate: ({ props: t, prevProps: e, current: n, renderState: r, latestValues: i }) => {
3533
3534
  if (!n)
3534
3535
  return;
@@ -3550,20 +3551,20 @@ const Jm = ["x", "y", "width", "height", "cx", "cy", "r"], eO = {
3550
3551
  }
3551
3552
  a && at.read(() => {
3552
3553
  QM(n, r), at.render(() => {
3553
- Up(r, i, Jp(n.tagName), t.transformTemplate), d0(n, r);
3554
+ Up(r, i, Jp(n.tagName), t.transformTemplate), p0(n, r);
3554
3555
  });
3555
3556
  });
3556
3557
  }
3557
3558
  })
3558
3559
  }, tO = {
3559
- useVisualState: i0({
3560
+ useVisualState: a0({
3560
3561
  scrapeMotionValuesFromProps: Kp,
3561
3562
  createRenderState: Zp
3562
3563
  })
3563
3564
  };
3564
- function h0(t, e, n) {
3565
+ function g0(t, e, n) {
3565
3566
  for (const r in e)
3566
- !Ht(e[r]) && !f0(r, n) && (t[r] = e[r]);
3567
+ !Ht(e[r]) && !h0(r, n) && (t[r] = e[r]);
3567
3568
  }
3568
3569
  function nO({ transformTemplate: t }, e) {
3569
3570
  return Pe(() => {
@@ -3573,7 +3574,7 @@ function nO({ transformTemplate: t }, e) {
3573
3574
  }
3574
3575
  function rO(t, e) {
3575
3576
  const n = t.style || {}, r = {};
3576
- return h0(r, n, t), Object.assign(r, nO(t, e)), r;
3577
+ return g0(r, n, t), Object.assign(r, nO(t, e)), r;
3577
3578
  }
3578
3579
  function iO(t, e) {
3579
3580
  const n = {}, r = rO(t, e);
@@ -3581,7 +3582,7 @@ function iO(t, e) {
3581
3582
  }
3582
3583
  function oO(t, e, n, r) {
3583
3584
  const i = Pe(() => {
3584
- const o = l0();
3585
+ const o = c0();
3585
3586
  return Up(o, e, Jp(r), t.transformTemplate), {
3586
3587
  ...o.attrs,
3587
3588
  style: { ...o.style }
@@ -3589,7 +3590,7 @@ function oO(t, e, n, r) {
3589
3590
  }, [e]);
3590
3591
  if (t.style) {
3591
3592
  const o = {};
3592
- h0(o, t.style, t), i.style = { ...o, ...i.style };
3593
+ g0(o, t.style, t), i.style = { ...o, ...i.style };
3593
3594
  }
3594
3595
  return i;
3595
3596
  }
@@ -3614,7 +3615,7 @@ function sO(t, e) {
3614
3615
  return OM(a);
3615
3616
  };
3616
3617
  }
3617
- function m0(t, e) {
3618
+ function b0(t, e) {
3618
3619
  if (!Array.isArray(e))
3619
3620
  return !1;
3620
3621
  const n = e.length;
@@ -3709,7 +3710,7 @@ function qp(t, e) {
3709
3710
  return t ? t[e] || t.default || t : void 0;
3710
3711
  }
3711
3712
  const Hd = 2e4;
3712
- function g0(t) {
3713
+ function v0(t) {
3713
3714
  let e = 0;
3714
3715
  const n = 50;
3715
3716
  let r = t.next(e);
@@ -3740,15 +3741,15 @@ const Cl = /* @__PURE__ */ fO(() => {
3740
3741
  return !1;
3741
3742
  }
3742
3743
  return !0;
3743
- }, "linearEasing"), b0 = (t, e, n = 10) => {
3744
+ }, "linearEasing"), y0 = (t, e, n = 10) => {
3744
3745
  let r = "";
3745
3746
  const i = Math.max(Math.round(e / n), 2);
3746
3747
  for (let o = 0; o < i; o++)
3747
3748
  r += t(/* @__PURE__ */ Po(0, i - 1, o)) + ", ";
3748
3749
  return `linear(${r.substring(0, r.length - 2)})`;
3749
3750
  };
3750
- function v0(t) {
3751
- return !!(typeof t == "function" && Cl() || !t || typeof t == "string" && (t in $d || Cl()) || eh(t) || Array.isArray(t) && t.every(v0));
3751
+ function x0(t) {
3752
+ return !!(typeof t == "function" && Cl() || !t || typeof t == "string" && (t in $d || Cl()) || eh(t) || Array.isArray(t) && t.every(x0));
3752
3753
  }
3753
3754
  const fa = ([t, e, n, r]) => `cubic-bezier(${t}, ${e}, ${n}, ${r})`, $d = {
3754
3755
  linear: "linear",
@@ -3761,15 +3762,15 @@ const fa = ([t, e, n, r]) => `cubic-bezier(${t}, ${e}, ${n}, ${r})`, $d = {
3761
3762
  backIn: /* @__PURE__ */ fa([0.31, 0.01, 0.66, -0.59]),
3762
3763
  backOut: /* @__PURE__ */ fa([0.33, 1.53, 0.69, 0.99])
3763
3764
  };
3764
- function y0(t, e) {
3765
+ function C0(t, e) {
3765
3766
  if (t)
3766
- return typeof t == "function" && Cl() ? b0(t, e) : eh(t) ? fa(t) : Array.isArray(t) ? t.map((n) => y0(n, e) || $d.easeOut) : $d[t];
3767
+ return typeof t == "function" && Cl() ? y0(t, e) : eh(t) ? fa(t) : Array.isArray(t) ? t.map((n) => C0(n, e) || $d.easeOut) : $d[t];
3767
3768
  }
3768
3769
  const Mn = {
3769
3770
  x: !1,
3770
3771
  y: !1
3771
3772
  };
3772
- function x0() {
3773
+ function w0() {
3773
3774
  return Mn.x || Mn.y;
3774
3775
  }
3775
3776
  function pO(t, e, n) {
@@ -3783,7 +3784,7 @@ function pO(t, e, n) {
3783
3784
  }
3784
3785
  return Array.from(t);
3785
3786
  }
3786
- function C0(t, e) {
3787
+ function S0(t, e) {
3787
3788
  const n = pO(t), r = new AbortController(), i = {
3788
3789
  passive: !0,
3789
3790
  ...e,
@@ -3793,11 +3794,11 @@ function C0(t, e) {
3793
3794
  }
3794
3795
  function qm(t) {
3795
3796
  return (e) => {
3796
- e.pointerType === "touch" || x0() || t(e);
3797
+ e.pointerType === "touch" || w0() || t(e);
3797
3798
  };
3798
3799
  }
3799
3800
  function hO(t, e, n = {}) {
3800
- const [r, i, o] = C0(t, n), a = qm((s) => {
3801
+ const [r, i, o] = S0(t, n), a = qm((s) => {
3801
3802
  const { target: l } = s, u = e(s);
3802
3803
  if (typeof u != "function" || !l)
3803
3804
  return;
@@ -3810,7 +3811,7 @@ function hO(t, e, n = {}) {
3810
3811
  s.addEventListener("pointerenter", a, i);
3811
3812
  }), o;
3812
3813
  }
3813
- const w0 = (t, e) => e ? t === e ? !0 : w0(t, e.parentElement) : !1, th = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, mO = /* @__PURE__ */ new Set([
3814
+ const k0 = (t, e) => e ? t === e ? !0 : k0(t, e.parentElement) : !1, th = (t) => t.pointerType === "mouse" ? typeof t.button != "number" || t.button <= 0 : t.isPrimary !== !1, mO = /* @__PURE__ */ new Set([
3814
3815
  "BUTTON",
3815
3816
  "INPUT",
3816
3817
  "SELECT",
@@ -3826,7 +3827,7 @@ function Qm(t) {
3826
3827
  e.key === "Enter" && t(e);
3827
3828
  };
3828
3829
  }
3829
- function Ic(t, e) {
3830
+ function Tc(t, e) {
3830
3831
  t.dispatchEvent(new PointerEvent("pointer" + e, { isPrimary: !0, bubbles: !0 }));
3831
3832
  }
3832
3833
  const bO = (t, e) => {
@@ -3836,19 +3837,19 @@ const bO = (t, e) => {
3836
3837
  const r = Qm(() => {
3837
3838
  if (pa.has(n))
3838
3839
  return;
3839
- Ic(n, "down");
3840
+ Tc(n, "down");
3840
3841
  const i = Qm(() => {
3841
- Ic(n, "up");
3842
- }), o = () => Ic(n, "cancel");
3842
+ Tc(n, "up");
3843
+ }), o = () => Tc(n, "cancel");
3843
3844
  n.addEventListener("keyup", i, e), n.addEventListener("blur", o, e);
3844
3845
  });
3845
3846
  n.addEventListener("keydown", r, e), n.addEventListener("blur", () => n.removeEventListener("keydown", r), e);
3846
3847
  };
3847
3848
  function eg(t) {
3848
- return th(t) && !x0();
3849
+ return th(t) && !w0();
3849
3850
  }
3850
3851
  function vO(t, e, n = {}) {
3851
- const [r, i, o] = C0(t, n), a = (s) => {
3852
+ const [r, i, o] = S0(t, n), a = (s) => {
3852
3853
  const l = s.currentTarget;
3853
3854
  if (!eg(s) || pa.has(l))
3854
3855
  return;
@@ -3856,7 +3857,7 @@ function vO(t, e, n = {}) {
3856
3857
  const u = e(s), c = (p, h) => {
3857
3858
  window.removeEventListener("pointerup", d), window.removeEventListener("pointercancel", f), !(!eg(p) || !pa.has(l)) && (pa.delete(l), typeof u == "function" && u(p, { success: h }));
3858
3859
  }, d = (p) => {
3859
- c(p, n.useGlobalTarget || w0(l, p.target));
3860
+ c(p, n.useGlobalTarget || k0(l, p.target));
3860
3861
  }, f = (p) => {
3861
3862
  c(p, !1);
3862
3863
  };
@@ -3873,7 +3874,7 @@ function yO(t) {
3873
3874
  Mn.x = Mn.y = !1;
3874
3875
  });
3875
3876
  }
3876
- const S0 = /* @__PURE__ */ new Set([
3877
+ const E0 = /* @__PURE__ */ new Set([
3877
3878
  "width",
3878
3879
  "height",
3879
3880
  "top",
@@ -3924,7 +3925,7 @@ class ih {
3924
3925
  this.subscriptions.length = 0;
3925
3926
  }
3926
3927
  }
3927
- function k0(t, e) {
3928
+ function I0(t, e) {
3928
3929
  return e ? t * (1e3 / e) : 0;
3929
3930
  }
3930
3931
  const tg = 30, CO = (t) => !isNaN(parseFloat(t));
@@ -4069,7 +4070,7 @@ class wO {
4069
4070
  if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > tg)
4070
4071
  return 0;
4071
4072
  const n = Math.min(this.updatedAt - this.prevUpdatedAt, tg);
4072
- return k0(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
4073
+ return I0(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
4073
4074
  }
4074
4075
  /**
4075
4076
  * Registers a new animation to control this `MotionValue`. Only one
@@ -4145,14 +4146,14 @@ function Xd(t, e) {
4145
4146
  if (EO(n))
4146
4147
  return n.add(e);
4147
4148
  }
4148
- function E0(t) {
4149
- return t.props[t0];
4149
+ function T0(t) {
4150
+ return t.props[r0];
4150
4151
  }
4151
- const I0 = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, IO = 1e-7, TO = 12;
4152
+ const A0 = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, IO = 1e-7, TO = 12;
4152
4153
  function AO(t, e, n, r, i) {
4153
4154
  let o, a, s = 0;
4154
4155
  do
4155
- a = e + (n - e) / 2, o = I0(a, r, i) - t, o > 0 ? n = a : e = a;
4156
+ a = e + (n - e) / 2, o = A0(a, r, i) - t, o > 0 ? n = a : e = a;
4156
4157
  while (Math.abs(o) > IO && ++s < TO);
4157
4158
  return a;
4158
4159
  }
@@ -4160,17 +4161,17 @@ function gs(t, e, n, r) {
4160
4161
  if (t === e && n === r)
4161
4162
  return ln;
4162
4163
  const i = (o) => AO(o, 0, 1, t, n);
4163
- return (o) => o === 0 || o === 1 ? o : I0(i(o), e, r);
4164
+ return (o) => o === 0 || o === 1 ? o : A0(i(o), e, r);
4164
4165
  }
4165
- const T0 = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, A0 = (t) => (e) => 1 - t(1 - e), M0 = /* @__PURE__ */ gs(0.33, 1.53, 0.69, 0.99), oh = /* @__PURE__ */ A0(M0), O0 = /* @__PURE__ */ T0(oh), P0 = (t) => (t *= 2) < 1 ? 0.5 * oh(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), ah = (t) => 1 - Math.sin(Math.acos(t)), D0 = A0(ah), R0 = T0(ah), N0 = (t) => /^0[^.\s]+$/u.test(t);
4166
+ const M0 = (t) => (e) => e <= 0.5 ? t(2 * e) / 2 : (2 - t(2 * (1 - e))) / 2, O0 = (t) => (e) => 1 - t(1 - e), P0 = /* @__PURE__ */ gs(0.33, 1.53, 0.69, 0.99), oh = /* @__PURE__ */ O0(P0), D0 = /* @__PURE__ */ M0(oh), R0 = (t) => (t *= 2) < 1 ? 0.5 * oh(t) : 0.5 * (2 - Math.pow(2, -10 * (t - 1))), ah = (t) => 1 - Math.sin(Math.acos(t)), N0 = O0(ah), F0 = M0(ah), j0 = (t) => /^0[^.\s]+$/u.test(t);
4166
4167
  function MO(t) {
4167
- return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || N0(t) : !0;
4168
+ return typeof t == "number" ? t === 0 : t !== null ? t === "none" || t === "0" || j0(t) : !0;
4168
4169
  }
4169
- const Sa = (t) => Math.round(t * 1e5) / 1e5, sh = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
4170
+ const ka = (t) => Math.round(t * 1e5) / 1e5, sh = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
4170
4171
  function OO(t) {
4171
4172
  return t == null;
4172
4173
  }
4173
- const PO = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, lh = (t, e) => (n) => !!(typeof n == "string" && PO.test(n) && n.startsWith(t) || e && !OO(n) && Object.prototype.hasOwnProperty.call(n, e)), F0 = (t, e, n) => (r) => {
4174
+ const PO = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, lh = (t, e) => (n) => !!(typeof n == "string" && PO.test(n) && n.startsWith(t) || e && !OO(n) && Object.prototype.hasOwnProperty.call(n, e)), B0 = (t, e, n) => (r) => {
4174
4175
  if (typeof r != "string")
4175
4176
  return r;
4176
4177
  const [i, o, a, s] = r.match(sh);
@@ -4180,13 +4181,13 @@ const PO = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
4180
4181
  [n]: parseFloat(a),
4181
4182
  alpha: s !== void 0 ? parseFloat(s) : 1
4182
4183
  };
4183
- }, DO = (t) => br(0, 255, t), Tc = {
4184
+ }, DO = (t) => br(0, 255, t), Ac = {
4184
4185
  ...Yo,
4185
4186
  transform: (t) => Math.round(DO(t))
4186
4187
  }, bi = {
4187
4188
  test: /* @__PURE__ */ lh("rgb", "red"),
4188
- parse: /* @__PURE__ */ F0("red", "green", "blue"),
4189
- transform: ({ red: t, green: e, blue: n, alpha: r = 1 }) => "rgba(" + Tc.transform(t) + ", " + Tc.transform(e) + ", " + Tc.transform(n) + ", " + Sa(za.transform(r)) + ")"
4189
+ parse: /* @__PURE__ */ B0("red", "green", "blue"),
4190
+ transform: ({ red: t, green: e, blue: n, alpha: r = 1 }) => "rgba(" + Ac.transform(t) + ", " + Ac.transform(e) + ", " + Ac.transform(n) + ", " + ka(za.transform(r)) + ")"
4190
4191
  };
4191
4192
  function RO(t) {
4192
4193
  let e = "", n = "", r = "", i = "";
@@ -4203,8 +4204,8 @@ const Yd = {
4203
4204
  transform: bi.transform
4204
4205
  }, po = {
4205
4206
  test: /* @__PURE__ */ lh("hsl", "hue"),
4206
- parse: /* @__PURE__ */ F0("hue", "saturation", "lightness"),
4207
- transform: ({ hue: t, saturation: e, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(t) + ", " + Kn.transform(Sa(e)) + ", " + Kn.transform(Sa(n)) + ", " + Sa(za.transform(r)) + ")"
4207
+ parse: /* @__PURE__ */ B0("hue", "saturation", "lightness"),
4208
+ transform: ({ hue: t, saturation: e, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(t) + ", " + Kn.transform(ka(e)) + ", " + Kn.transform(ka(n)) + ", " + ka(za.transform(r)) + ")"
4208
4209
  }, zt = {
4209
4210
  test: (t) => bi.test(t) || Yd.test(t) || po.test(t),
4210
4211
  parse: (t) => bi.test(t) ? bi.parse(t) : po.test(t) ? po.parse(t) : Yd.parse(t),
@@ -4214,7 +4215,7 @@ function FO(t) {
4214
4215
  var e, n;
4215
4216
  return isNaN(t) && typeof t == "string" && (((e = t.match(sh)) === null || e === void 0 ? void 0 : e.length) || 0) + (((n = t.match(NO)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
4216
4217
  }
4217
- const j0 = "number", B0 = "color", jO = "var", BO = "var(", ng = "${}", VO = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
4218
+ const V0 = "number", L0 = "color", jO = "var", BO = "var(", ng = "${}", VO = /var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;
4218
4219
  function Ha(t) {
4219
4220
  const e = t.toString(), n = [], r = {
4220
4221
  color: [],
@@ -4222,33 +4223,33 @@ function Ha(t) {
4222
4223
  var: []
4223
4224
  }, i = [];
4224
4225
  let o = 0;
4225
- const s = e.replace(VO, (l) => (zt.test(l) ? (r.color.push(o), i.push(B0), n.push(zt.parse(l))) : l.startsWith(BO) ? (r.var.push(o), i.push(jO), n.push(l)) : (r.number.push(o), i.push(j0), n.push(parseFloat(l))), ++o, ng)).split(ng);
4226
+ const s = e.replace(VO, (l) => (zt.test(l) ? (r.color.push(o), i.push(L0), n.push(zt.parse(l))) : l.startsWith(BO) ? (r.var.push(o), i.push(jO), n.push(l)) : (r.number.push(o), i.push(V0), n.push(parseFloat(l))), ++o, ng)).split(ng);
4226
4227
  return { values: n, split: s, indexes: r, types: i };
4227
4228
  }
4228
- function V0(t) {
4229
+ function G0(t) {
4229
4230
  return Ha(t).values;
4230
4231
  }
4231
- function L0(t) {
4232
+ function _0(t) {
4232
4233
  const { split: e, types: n } = Ha(t), r = e.length;
4233
4234
  return (i) => {
4234
4235
  let o = "";
4235
4236
  for (let a = 0; a < r; a++)
4236
4237
  if (o += e[a], i[a] !== void 0) {
4237
4238
  const s = n[a];
4238
- s === j0 ? o += Sa(i[a]) : s === B0 ? o += zt.transform(i[a]) : o += i[a];
4239
+ s === V0 ? o += ka(i[a]) : s === L0 ? o += zt.transform(i[a]) : o += i[a];
4239
4240
  }
4240
4241
  return o;
4241
4242
  };
4242
4243
  }
4243
4244
  const LO = (t) => typeof t == "number" ? 0 : t;
4244
4245
  function GO(t) {
4245
- const e = V0(t);
4246
- return L0(t)(e.map(LO));
4246
+ const e = G0(t);
4247
+ return _0(t)(e.map(LO));
4247
4248
  }
4248
4249
  const Zr = {
4249
4250
  test: FO,
4250
- parse: V0,
4251
- createTransformer: L0,
4251
+ parse: G0,
4252
+ createTransformer: _0,
4252
4253
  getAnimatableNone: GO
4253
4254
  }, _O = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
4254
4255
  function zO(t) {
@@ -4285,7 +4286,7 @@ const WO = /\b([a-z-]*)\(.*?\)/gu, Ud = {
4285
4286
  filter: Ud,
4286
4287
  WebkitFilter: Ud
4287
4288
  }, uh = (t) => HO[t];
4288
- function G0(t, e) {
4289
+ function z0(t, e) {
4289
4290
  let n = uh(t);
4290
4291
  return n !== Ud && (n = Zr), n.getAnimatableNone ? n.getAnimatableNone(e) : void 0;
4291
4292
  }
@@ -4298,7 +4299,7 @@ function XO(t, e, n) {
4298
4299
  }
4299
4300
  if (i && n)
4300
4301
  for (const o of e)
4301
- t[o] = G0(n, i);
4302
+ t[o] = z0(n, i);
4302
4303
  }
4303
4304
  const rg = (t) => t === Yo || t === Me, ig = (t, e) => parseFloat(t.split(", ")[e]), og = (t, e) => (n, { transform: r }) => {
4304
4305
  if (r === "none" || !r)
@@ -4334,7 +4335,7 @@ Ro.translateX = Ro.x;
4334
4335
  Ro.translateY = Ro.y;
4335
4336
  const Ai = /* @__PURE__ */ new Set();
4336
4337
  let Zd = !1, Jd = !1;
4337
- function _0() {
4338
+ function W0() {
4338
4339
  if (Jd) {
4339
4340
  const t = Array.from(Ai).filter((r) => r.needsMeasurement), e = new Set(t.map((r) => r.element)), n = /* @__PURE__ */ new Map();
4340
4341
  e.forEach((r) => {
@@ -4353,20 +4354,20 @@ function _0() {
4353
4354
  }
4354
4355
  Jd = !1, Zd = !1, Ai.forEach((t) => t.complete()), Ai.clear();
4355
4356
  }
4356
- function z0() {
4357
+ function H0() {
4357
4358
  Ai.forEach((t) => {
4358
4359
  t.readKeyframes(), t.needsMeasurement && (Jd = !0);
4359
4360
  });
4360
4361
  }
4361
4362
  function JO() {
4362
- z0(), _0();
4363
+ H0(), W0();
4363
4364
  }
4364
4365
  class ch {
4365
4366
  constructor(e, n, r, i, o, a = !1) {
4366
4367
  this.isComplete = !1, this.isAsync = !1, this.needsMeasurement = !1, this.isScheduled = !1, this.unresolvedKeyframes = [...e], this.onComplete = n, this.name = r, this.motionValue = i, this.element = o, this.isAsync = a;
4367
4368
  }
4368
4369
  scheduleResolve() {
4369
- this.isScheduled = !0, this.isAsync ? (Ai.add(this), Zd || (Zd = !0, at.read(z0), at.resolveKeyframes(_0))) : (this.readKeyframes(), this.complete());
4370
+ this.isScheduled = !0, this.isAsync ? (Ai.add(this), Zd || (Zd = !0, at.read(H0), at.resolveKeyframes(W0))) : (this.readKeyframes(), this.complete());
4370
4371
  }
4371
4372
  readKeyframes() {
4372
4373
  const { unresolvedKeyframes: e, name: n, element: r, motionValue: i } = this;
@@ -4402,7 +4403,7 @@ class ch {
4402
4403
  this.isComplete || this.scheduleResolve();
4403
4404
  }
4404
4405
  }
4405
- const W0 = (t) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t), KO = (
4406
+ const $0 = (t) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t), KO = (
4406
4407
  // eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words
4407
4408
  /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u
4408
4409
  );
@@ -4414,7 +4415,7 @@ function qO(t) {
4414
4415
  return [`--${n ?? r}`, i];
4415
4416
  }
4416
4417
  const QO = 4;
4417
- function H0(t, e, n = 1) {
4418
+ function X0(t, e, n = 1) {
4418
4419
  Yr(n <= QO, `Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);
4419
4420
  const [r, i] = qO(t);
4420
4421
  if (!r)
@@ -4422,15 +4423,15 @@ function H0(t, e, n = 1) {
4422
4423
  const o = window.getComputedStyle(e).getPropertyValue(r);
4423
4424
  if (o) {
4424
4425
  const a = o.trim();
4425
- return W0(a) ? parseFloat(a) : a;
4426
+ return $0(a) ? parseFloat(a) : a;
4426
4427
  }
4427
- return $p(i) ? H0(i, e, n + 1) : i;
4428
+ return $p(i) ? X0(i, e, n + 1) : i;
4428
4429
  }
4429
- const $0 = (t) => (e) => e.test(t), eP = {
4430
+ const Y0 = (t) => (e) => e.test(t), eP = {
4430
4431
  test: (t) => t === "auto",
4431
4432
  parse: (t) => t
4432
- }, X0 = [Yo, Me, Kn, Er, zM, _M, eP], ag = (t) => X0.find($0(t));
4433
- class Y0 extends ch {
4433
+ }, U0 = [Yo, Me, Kn, Er, zM, _M, eP], ag = (t) => U0.find(Y0(t));
4434
+ class Z0 extends ch {
4434
4435
  constructor(e, n, r, i, o) {
4435
4436
  super(e, n, r, i, o, !0);
4436
4437
  }
@@ -4442,11 +4443,11 @@ class Y0 extends ch {
4442
4443
  for (let l = 0; l < e.length; l++) {
4443
4444
  let u = e[l];
4444
4445
  if (typeof u == "string" && (u = u.trim(), $p(u))) {
4445
- const c = H0(u, n.current);
4446
+ const c = X0(u, n.current);
4446
4447
  c !== void 0 && (e[l] = c), l === e.length - 1 && (this.finalKeyframe = u);
4447
4448
  }
4448
4449
  }
4449
- if (this.resolveNoneKeyframes(), !S0.has(r) || e.length !== 2)
4450
+ if (this.resolveNoneKeyframes(), !E0.has(r) || e.length !== 2)
4450
4451
  return;
4451
4452
  const [i, o] = e, a = ag(i), s = ag(o);
4452
4453
  if (a !== s)
@@ -4511,7 +4512,7 @@ function Lu(t, { repeat: e, repeatType: n = "loop" }, r) {
4511
4512
  return !o || r === void 0 ? i[o] : r;
4512
4513
  }
4513
4514
  const iP = 40;
4514
- class U0 {
4515
+ class J0 {
4515
4516
  constructor({ autoplay: e = !0, delay: n = 0, type: r = "keyframes", repeat: i = 0, repeatDelay: o = 0, repeatType: a = "loop", ...s }) {
4516
4517
  this.isStopped = !1, this.hasAttemptedResolve = !1, this.createdAt = qn.now(), this.options = {
4517
4518
  autoplay: e,
@@ -4586,7 +4587,7 @@ class U0 {
4586
4587
  }
4587
4588
  }
4588
4589
  const dt = (t, e, n) => t + (e - t) * n;
4589
- function Ac(t, e, n) {
4590
+ function Mc(t, e, n) {
4590
4591
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? t + (e - t) * 6 * n : n < 1 / 2 ? e : n < 2 / 3 ? t + (e - t) * (2 / 3 - n) * 6 : t;
4591
4592
  }
4592
4593
  function oP({ hue: t, saturation: e, lightness: n, alpha: r }) {
@@ -4596,7 +4597,7 @@ function oP({ hue: t, saturation: e, lightness: n, alpha: r }) {
4596
4597
  i = o = a = n;
4597
4598
  else {
4598
4599
  const s = n < 0.5 ? n * (1 + e) : n + e - n * e, l = 2 * n - s;
4599
- i = Ac(l, s, t + 1 / 3), o = Ac(l, s, t), a = Ac(l, s, t - 1 / 3);
4600
+ i = Mc(l, s, t + 1 / 3), o = Mc(l, s, t), a = Mc(l, s, t - 1 / 3);
4600
4601
  }
4601
4602
  return {
4602
4603
  red: Math.round(i * 255),
@@ -4608,7 +4609,7 @@ function oP({ hue: t, saturation: e, lightness: n, alpha: r }) {
4608
4609
  function wl(t, e) {
4609
4610
  return (n) => n > 0 ? e : t;
4610
4611
  }
4611
- const Mc = (t, e, n) => {
4612
+ const Oc = (t, e, n) => {
4612
4613
  const r = t * t, i = n * (e * e - r) + r;
4613
4614
  return i < 0 ? 0 : Math.sqrt(i);
4614
4615
  }, aP = [Yd, bi, po], sP = (t) => aP.find((e) => e.test(t));
@@ -4624,7 +4625,7 @@ const ug = (t, e) => {
4624
4625
  if (!n || !r)
4625
4626
  return wl(t, e);
4626
4627
  const i = { ...n };
4627
- return (o) => (i.red = Mc(n.red, r.red, o), i.green = Mc(n.green, r.green, o), i.blue = Mc(n.blue, r.blue, o), i.alpha = dt(n.alpha, r.alpha, o), bi.transform(i));
4628
+ return (o) => (i.red = Oc(n.red, r.red, o), i.green = Oc(n.green, r.green, o), i.blue = Oc(n.blue, r.blue, o), i.alpha = dt(n.alpha, r.alpha, o), bi.transform(i));
4628
4629
  }, lP = (t, e) => (n) => e(t(n)), bs = (...t) => t.reduce(lP), Kd = /* @__PURE__ */ new Set(["none", "hidden"]);
4629
4630
  function uP(t, e) {
4630
4631
  return Kd.has(t) ? (n) => n <= 0 ? t : e : (n) => n >= 1 ? e : t;
@@ -4633,9 +4634,9 @@ function cP(t, e) {
4633
4634
  return (n) => dt(t, e, n);
4634
4635
  }
4635
4636
  function dh(t) {
4636
- return typeof t == "number" ? cP : typeof t == "string" ? $p(t) ? wl : zt.test(t) ? ug : pP : Array.isArray(t) ? Z0 : typeof t == "object" ? zt.test(t) ? ug : dP : wl;
4637
+ return typeof t == "number" ? cP : typeof t == "string" ? $p(t) ? wl : zt.test(t) ? ug : pP : Array.isArray(t) ? K0 : typeof t == "object" ? zt.test(t) ? ug : dP : wl;
4637
4638
  }
4638
- function Z0(t, e) {
4639
+ function K0(t, e) {
4639
4640
  const n = [...t], r = n.length, i = t.map((o, a) => dh(o)(o, e[a]));
4640
4641
  return (o) => {
4641
4642
  for (let a = 0; a < r; a++)
@@ -4664,15 +4665,15 @@ function fP(t, e) {
4664
4665
  }
4665
4666
  const pP = (t, e) => {
4666
4667
  const n = Zr.createTransformer(e), r = Ha(t), i = Ha(e);
4667
- return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? Kd.has(t) && !i.values.length || Kd.has(e) && !r.values.length ? uP(t, e) : bs(Z0(fP(r, i), i.values), n) : ($o(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), wl(t, e));
4668
+ return r.indexes.var.length === i.indexes.var.length && r.indexes.color.length === i.indexes.color.length && r.indexes.number.length >= i.indexes.number.length ? Kd.has(t) && !i.values.length || Kd.has(e) && !r.values.length ? uP(t, e) : bs(K0(fP(r, i), i.values), n) : ($o(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), wl(t, e));
4668
4669
  };
4669
- function J0(t, e, n) {
4670
+ function q0(t, e, n) {
4670
4671
  return typeof t == "number" && typeof e == "number" && typeof n == "number" ? dt(t, e, n) : dh(t)(t, e);
4671
4672
  }
4672
4673
  const hP = 5;
4673
- function K0(t, e, n) {
4674
+ function Q0(t, e, n) {
4674
4675
  const r = Math.max(e - hP, 0);
4675
- return k0(n - t(r), e - r);
4676
+ return I0(n - t(r), e - r);
4676
4677
  }
4677
4678
  const ct = {
4678
4679
  // Default spring physics
@@ -4778,7 +4779,7 @@ function xP(t) {
4778
4779
  }
4779
4780
  return e;
4780
4781
  }
4781
- function q0(t = ct.visualDuration, e = ct.bounce) {
4782
+ function e1(t = ct.visualDuration, e = ct.bounce) {
4782
4783
  const n = typeof t != "object" ? {
4783
4784
  visualDuration: t,
4784
4785
  keyframes: [0, 1],
@@ -4814,14 +4815,14 @@ function q0(t = ct.visualDuration, e = ct.bounce) {
4814
4815
  s.done = y >= d;
4815
4816
  else {
4816
4817
  let k = 0;
4817
- m < 1 && (k = y === 0 ? /* @__PURE__ */ Jn(h) : K0(S, y, C));
4818
+ m < 1 && (k = y === 0 ? /* @__PURE__ */ Jn(h) : Q0(S, y, C));
4818
4819
  const w = Math.abs(k) <= r, E = Math.abs(a - C) <= i;
4819
4820
  s.done = w && E;
4820
4821
  }
4821
4822
  return s.value = s.done ? a : C, s;
4822
4823
  },
4823
4824
  toString: () => {
4824
- const y = Math.min(g0(v), Hd), C = b0((k) => v.next(y * k).value, y, 30);
4825
+ const y = Math.min(v0(v), Hd), C = y0((k) => v.next(y * k).value, y, 30);
4825
4826
  return y + "ms " + C;
4826
4827
  }
4827
4828
  };
@@ -4841,9 +4842,9 @@ function fg({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: r = 3
4841
4842
  };
4842
4843
  let y, C;
4843
4844
  const k = (w) => {
4844
- p(f.value) && (y = w, C = q0({
4845
+ p(f.value) && (y = w, C = e1({
4845
4846
  keyframes: [f.value, h(f.value)],
4846
- velocity: K0(S, w, f.value),
4847
+ velocity: Q0(S, w, f.value),
4847
4848
  // TODO: This should be passing * 1000
4848
4849
  damping: i,
4849
4850
  stiffness: o,
@@ -4859,18 +4860,18 @@ function fg({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: r = 3
4859
4860
  }
4860
4861
  };
4861
4862
  }
4862
- const CP = /* @__PURE__ */ gs(0.42, 0, 1, 1), wP = /* @__PURE__ */ gs(0, 0, 0.58, 1), Q0 = /* @__PURE__ */ gs(0.42, 0, 0.58, 1), SP = (t) => Array.isArray(t) && typeof t[0] != "number", pg = {
4863
+ const CP = /* @__PURE__ */ gs(0.42, 0, 1, 1), wP = /* @__PURE__ */ gs(0, 0, 0.58, 1), t1 = /* @__PURE__ */ gs(0.42, 0, 0.58, 1), SP = (t) => Array.isArray(t) && typeof t[0] != "number", pg = {
4863
4864
  linear: ln,
4864
4865
  easeIn: CP,
4865
- easeInOut: Q0,
4866
+ easeInOut: t1,
4866
4867
  easeOut: wP,
4867
4868
  circIn: ah,
4868
- circInOut: R0,
4869
- circOut: D0,
4869
+ circInOut: F0,
4870
+ circOut: N0,
4870
4871
  backIn: oh,
4871
- backInOut: O0,
4872
- backOut: M0,
4873
- anticipate: P0
4872
+ backInOut: D0,
4873
+ backOut: P0,
4874
+ anticipate: R0
4874
4875
  }, hg = (t) => {
4875
4876
  if (eh(t)) {
4876
4877
  Yr(t.length === 4, "Cubic bezier arrays must contain four numerical values.");
@@ -4881,7 +4882,7 @@ const CP = /* @__PURE__ */ gs(0.42, 0, 1, 1), wP = /* @__PURE__ */ gs(0, 0, 0.58
4881
4882
  return t;
4882
4883
  };
4883
4884
  function kP(t, e, n) {
4884
- const r = [], i = n || J0, o = t.length - 1;
4885
+ const r = [], i = n || q0, o = t.length - 1;
4885
4886
  for (let a = 0; a < o; a++) {
4886
4887
  let s = i(t[a], t[a + 1]);
4887
4888
  if (e) {
@@ -4927,7 +4928,7 @@ function AP(t, e) {
4927
4928
  return t.map((n) => n * e);
4928
4929
  }
4929
4930
  function MP(t, e) {
4930
- return t.map(() => e || Q0).splice(0, t.length - 1);
4931
+ return t.map(() => e || t1).splice(0, t.length - 1);
4931
4932
  }
4932
4933
  function Sl({ duration: t = 300, keyframes: e, times: n, ease: r = "easeInOut" }) {
4933
4934
  const i = SP(r) ? r.map(hg) : hg(r), o = {
@@ -4962,9 +4963,9 @@ const OP = (t) => {
4962
4963
  inertia: fg,
4963
4964
  tween: Sl,
4964
4965
  keyframes: Sl,
4965
- spring: q0
4966
+ spring: e1
4966
4967
  }, DP = (t) => t / 100;
4967
- class fh extends U0 {
4968
+ class fh extends J0 {
4968
4969
  constructor(e) {
4969
4970
  super(e), this.holdTime = null, this.cancelTime = null, this.currentTime = 0, this.playbackSpeed = 1, this.pendingPlayState = "running", this.startTime = null, this.state = "idle", this.stop = () => {
4970
4971
  if (this.resolver.cancel(), this.isStopped = !0, this.state === "idle")
@@ -4982,13 +4983,13 @@ class fh extends U0 {
4982
4983
  initPlayback(e) {
4983
4984
  const { type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: o, velocity: a = 0 } = this.options, s = Qp(n) ? n : PP[n] || Sl;
4984
4985
  let l, u;
4985
- s !== Sl && typeof e[0] != "number" && (process.env.NODE_ENV !== "production" && Yr(e.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`), l = bs(DP, J0(e[0], e[1])), e = [0, 100]);
4986
+ s !== Sl && typeof e[0] != "number" && (process.env.NODE_ENV !== "production" && Yr(e.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${e}`), l = bs(DP, q0(e[0], e[1])), e = [0, 100]);
4986
4987
  const c = s({ ...this.options, keyframes: e });
4987
4988
  o === "mirror" && (u = s({
4988
4989
  ...this.options,
4989
4990
  keyframes: [...e].reverse(),
4990
4991
  velocity: -a
4991
- })), c.calculatedDuration === null && (c.calculatedDuration = g0(c));
4992
+ })), c.calculatedDuration === null && (c.calculatedDuration = v0(c));
4992
4993
  const { calculatedDuration: d } = c, f = d + i, p = f * (r + 1) - i;
4993
4994
  return {
4994
4995
  generator: c,
@@ -5099,7 +5100,7 @@ const RP = /* @__PURE__ */ new Set([
5099
5100
  function NP(t, e, n, { delay: r = 0, duration: i = 300, repeat: o = 0, repeatType: a = "loop", ease: s = "easeInOut", times: l } = {}) {
5100
5101
  const u = { [e]: n };
5101
5102
  l && (u.offset = l);
5102
- const c = y0(s, i);
5103
+ const c = C0(s, i);
5103
5104
  return Array.isArray(c) && (u.easing = c), t.animate(u, {
5104
5105
  delay: r,
5105
5106
  duration: i,
@@ -5111,7 +5112,7 @@ function NP(t, e, n, { delay: r = 0, duration: i = 300, repeat: o = 0, repeatTyp
5111
5112
  }
5112
5113
  const FP = /* @__PURE__ */ Vp(() => Object.hasOwnProperty.call(Element.prototype, "animate")), kl = 10, jP = 2e4;
5113
5114
  function BP(t) {
5114
- return Qp(t.type) || t.type === "spring" || !v0(t.ease);
5115
+ return Qp(t.type) || t.type === "spring" || !x0(t.ease);
5115
5116
  }
5116
5117
  function VP(t, e) {
5117
5118
  const n = new fh({
@@ -5133,25 +5134,25 @@ function VP(t, e) {
5133
5134
  ease: "linear"
5134
5135
  };
5135
5136
  }
5136
- const e1 = {
5137
- anticipate: P0,
5138
- backInOut: O0,
5139
- circInOut: R0
5137
+ const n1 = {
5138
+ anticipate: R0,
5139
+ backInOut: D0,
5140
+ circInOut: F0
5140
5141
  };
5141
5142
  function LP(t) {
5142
- return t in e1;
5143
+ return t in n1;
5143
5144
  }
5144
- class mg extends U0 {
5145
+ class mg extends J0 {
5145
5146
  constructor(e) {
5146
5147
  super(e);
5147
5148
  const { name: n, motionValue: r, element: i, keyframes: o } = this.options;
5148
- this.resolver = new Y0(o, (a, s) => this.onKeyframesResolved(a, s), n, r, i), this.resolver.scheduleResolve();
5149
+ this.resolver = new Z0(o, (a, s) => this.onKeyframesResolved(a, s), n, r, i), this.resolver.scheduleResolve();
5149
5150
  }
5150
5151
  initPlayback(e, n) {
5151
5152
  let { duration: r = 300, times: i, ease: o, type: a, motionValue: s, name: l, startTime: u } = this.options;
5152
5153
  if (!s.owner || !s.owner.current)
5153
5154
  return !1;
5154
- if (typeof o == "string" && Cl() && LP(o) && (o = e1[o]), BP(this.options)) {
5155
+ if (typeof o == "string" && Cl() && LP(o) && (o = n1[o]), BP(this.options)) {
5155
5156
  const { onComplete: d, onUpdate: f, motionValue: p, element: h, ...m } = this.options, g = VP(e, m);
5156
5157
  e = g.keyframes, e.length === 1 && (e[1] = e[0]), r = g.duration, i = g.times, o = g.ease, a = "keyframes";
5157
5158
  }
@@ -5353,7 +5354,7 @@ function XP({ protectedKeys: t, needsAnimating: e }, n) {
5353
5354
  const r = t.hasOwnProperty(n) && e[n] !== !0;
5354
5355
  return e[n] = !1, r;
5355
5356
  }
5356
- function t1(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
5357
+ function r1(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
5357
5358
  var o;
5358
5359
  let { transition: a = t.getDefaultTransition(), transitionEnd: s, ...l } = e;
5359
5360
  r && (a = r);
@@ -5368,13 +5369,13 @@ function t1(t, e, { delay: n = 0, transitionOverride: r, type: i } = {}) {
5368
5369
  };
5369
5370
  let m = !1;
5370
5371
  if (window.MotionHandoffAnimation) {
5371
- const b = E0(t);
5372
+ const b = T0(t);
5372
5373
  if (b) {
5373
5374
  const x = window.MotionHandoffAnimation(b, d, at);
5374
5375
  x !== null && (h.startTime = x, m = !0);
5375
5376
  }
5376
5377
  }
5377
- Xd(t, d), f.start(ph(d, f, p, t.shouldReduceMotion && S0.has(d) ? { type: !1 } : h, t, m));
5378
+ Xd(t, d), f.start(ph(d, f, p, t.shouldReduceMotion && E0.has(d) ? { type: !1 } : h, t, m));
5378
5379
  const g = f.animation;
5379
5380
  g && u.push(g);
5380
5381
  }
@@ -5389,7 +5390,7 @@ function Qd(t, e, n = {}) {
5389
5390
  const i = Vu(t, e, n.type === "exit" ? (r = t.presenceContext) === null || r === void 0 ? void 0 : r.custom : void 0);
5390
5391
  let { transition: o = t.getDefaultTransition() || {} } = i || {};
5391
5392
  n.transitionOverride && (o = n.transitionOverride);
5392
- const a = i ? () => Promise.all(t1(t, i, n)) : () => Promise.resolve(), s = t.variantChildren && t.variantChildren.size ? (u = 0) => {
5393
+ const a = i ? () => Promise.all(r1(t, i, n)) : () => Promise.resolve(), s = t.variantChildren && t.variantChildren.size ? (u = 0) => {
5393
5394
  const { delayChildren: c = 0, staggerChildren: d, staggerDirection: f } = o;
5394
5395
  return YP(t, e, c + u, d, f, n);
5395
5396
  } : () => Promise.resolve(), { when: l } = o;
@@ -5421,18 +5422,18 @@ function ZP(t, e, n = {}) {
5421
5422
  r = Qd(t, e, n);
5422
5423
  else {
5423
5424
  const i = typeof e == "function" ? Vu(t, e, n.custom) : e;
5424
- r = Promise.all(t1(t, i, n));
5425
+ r = Promise.all(r1(t, i, n));
5425
5426
  }
5426
5427
  return r.then(() => {
5427
5428
  t.notify("AnimationComplete", e);
5428
5429
  });
5429
5430
  }
5430
5431
  const JP = Gp.length;
5431
- function n1(t) {
5432
+ function i1(t) {
5432
5433
  if (!t)
5433
5434
  return;
5434
5435
  if (!t.isControllingVariants) {
5435
- const n = t.parent ? n1(t.parent) || {} : {};
5436
+ const n = t.parent ? i1(t.parent) || {} : {};
5436
5437
  return t.props.initial !== void 0 && (n.initial = t.props.initial), n;
5437
5438
  }
5438
5439
  const e = {};
@@ -5461,7 +5462,7 @@ function eD(t) {
5461
5462
  e = l(t);
5462
5463
  }
5463
5464
  function a(l) {
5464
- const { props: u } = t, c = n1(t.parent) || {}, d = [], f = /* @__PURE__ */ new Set();
5465
+ const { props: u } = t, c = i1(t.parent) || {}, d = [], f = /* @__PURE__ */ new Set();
5465
5466
  let p = {}, h = 1 / 0;
5466
5467
  for (let g = 0; g < qP; g++) {
5467
5468
  const b = KP[g], x = n[b], S = u[b] !== void 0 ? u[b] : c[b], v = _a(S), y = b === l ? x.isActive : null;
@@ -5492,7 +5493,7 @@ function eD(t) {
5492
5493
  if (p.hasOwnProperty(F))
5493
5494
  continue;
5494
5495
  let M = !1;
5495
- Wd(_) && Wd(H) ? M = !m0(_, H) : M = _ !== H, M ? _ != null ? R(F) : f.add(F) : _ !== void 0 && f.has(F) ? R(F) : x.protectedKeys[F] = !0;
5496
+ Wd(_) && Wd(H) ? M = !b0(_, H) : M = _ !== H, M ? _ != null ? R(F) : f.add(F) : _ !== void 0 && f.has(F) ? R(F) : x.protectedKeys[F] = !0;
5496
5497
  }
5497
5498
  x.prevProp = S, x.prevResolvedValues = A, x.isActive && (p = { ...p, ...A }), r && t.blockInitialAnimation && (w = !1), w && (!(C && k) || E) && d.push(...I.map((F) => ({
5498
5499
  animation: F,
@@ -5533,9 +5534,9 @@ function eD(t) {
5533
5534
  };
5534
5535
  }
5535
5536
  function tD(t, e) {
5536
- return typeof e == "string" ? e !== t : Array.isArray(e) ? !m0(e, t) : !1;
5537
+ return typeof e == "string" ? e !== t : Array.isArray(e) ? !b0(e, t) : !1;
5537
5538
  }
5538
- function ii(t = !1) {
5539
+ function oi(t = !1) {
5539
5540
  return {
5540
5541
  isActive: t,
5541
5542
  protectedKeys: {},
@@ -5545,13 +5546,13 @@ function ii(t = !1) {
5545
5546
  }
5546
5547
  function gg() {
5547
5548
  return {
5548
- animate: ii(!0),
5549
- whileInView: ii(),
5550
- whileHover: ii(),
5551
- whileTap: ii(),
5552
- whileDrag: ii(),
5553
- whileFocus: ii(),
5554
- exit: ii()
5549
+ animate: oi(!0),
5550
+ whileInView: oi(),
5551
+ whileHover: oi(),
5552
+ whileTap: oi(),
5553
+ whileDrag: oi(),
5554
+ whileFocus: oi(),
5555
+ exit: oi()
5555
5556
  };
5556
5557
  }
5557
5558
  class qr {
@@ -5630,7 +5631,7 @@ function vs(t) {
5630
5631
  };
5631
5632
  }
5632
5633
  const aD = (t) => (e) => th(e) && t(e, vs(e));
5633
- function ka(t, e, n, r) {
5634
+ function Ea(t, e, n, r) {
5634
5635
  return $a(t, e, aD(n), r);
5635
5636
  }
5636
5637
  const bg = (t, e) => Math.abs(t - e);
@@ -5638,12 +5639,12 @@ function sD(t, e) {
5638
5639
  const n = bg(t.x, e.x), r = bg(t.y, e.y);
5639
5640
  return Math.sqrt(n ** 2 + r ** 2);
5640
5641
  }
5641
- class r1 {
5642
+ class o1 {
5642
5643
  constructor(e, n, { transformPagePoint: r, contextWindow: i, dragSnapToOrigin: o = !1 } = {}) {
5643
5644
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
5644
5645
  if (!(this.lastMoveEvent && this.lastMoveEventInfo))
5645
5646
  return;
5646
- const d = Pc(this.lastMoveEventInfo, this.history), f = this.startEvent !== null, p = sD(d.offset, { x: 0, y: 0 }) >= 3;
5647
+ const d = Dc(this.lastMoveEventInfo, this.history), f = this.startEvent !== null, p = sD(d.offset, { x: 0, y: 0 }) >= 3;
5647
5648
  if (!f && !p)
5648
5649
  return;
5649
5650
  const { point: h } = d, { timestamp: m } = Nt;
@@ -5651,21 +5652,21 @@ class r1 {
5651
5652
  const { onStart: g, onMove: b } = this.handlers;
5652
5653
  f || (g && g(this.lastMoveEvent, d), this.startEvent = this.lastMoveEvent), b && b(this.lastMoveEvent, d);
5653
5654
  }, this.handlePointerMove = (d, f) => {
5654
- this.lastMoveEvent = d, this.lastMoveEventInfo = Oc(f, this.transformPagePoint), at.update(this.updatePoint, !0);
5655
+ this.lastMoveEvent = d, this.lastMoveEventInfo = Pc(f, this.transformPagePoint), at.update(this.updatePoint, !0);
5655
5656
  }, this.handlePointerUp = (d, f) => {
5656
5657
  this.end();
5657
5658
  const { onEnd: p, onSessionEnd: h, resumeAnimation: m } = this.handlers;
5658
5659
  if (this.dragSnapToOrigin && m && m(), !(this.lastMoveEvent && this.lastMoveEventInfo))
5659
5660
  return;
5660
- const g = Pc(d.type === "pointercancel" ? this.lastMoveEventInfo : Oc(f, this.transformPagePoint), this.history);
5661
+ const g = Dc(d.type === "pointercancel" ? this.lastMoveEventInfo : Pc(f, this.transformPagePoint), this.history);
5661
5662
  this.startEvent && p && p(d, g), h && h(d, g);
5662
5663
  }, !th(e))
5663
5664
  return;
5664
5665
  this.dragSnapToOrigin = o, this.handlers = n, this.transformPagePoint = r, this.contextWindow = i || window;
5665
- const a = vs(e), s = Oc(a, this.transformPagePoint), { point: l } = s, { timestamp: u } = Nt;
5666
+ const a = vs(e), s = Pc(a, this.transformPagePoint), { point: l } = s, { timestamp: u } = Nt;
5666
5667
  this.history = [{ ...l, timestamp: u }];
5667
5668
  const { onSessionStart: c } = n;
5668
- c && c(e, Pc(s, this.history)), this.removeListeners = bs(ka(this.contextWindow, "pointermove", this.handlePointerMove), ka(this.contextWindow, "pointerup", this.handlePointerUp), ka(this.contextWindow, "pointercancel", this.handlePointerUp));
5669
+ c && c(e, Dc(s, this.history)), this.removeListeners = bs(Ea(this.contextWindow, "pointermove", this.handlePointerMove), Ea(this.contextWindow, "pointerup", this.handlePointerUp), Ea(this.contextWindow, "pointercancel", this.handlePointerUp));
5669
5670
  }
5670
5671
  updateHandlers(e) {
5671
5672
  this.handlers = e;
@@ -5674,16 +5675,16 @@ class r1 {
5674
5675
  this.removeListeners && this.removeListeners(), Ur(this.updatePoint);
5675
5676
  }
5676
5677
  }
5677
- function Oc(t, e) {
5678
+ function Pc(t, e) {
5678
5679
  return e ? { point: e(t.point) } : t;
5679
5680
  }
5680
5681
  function vg(t, e) {
5681
5682
  return { x: t.x - e.x, y: t.y - e.y };
5682
5683
  }
5683
- function Pc({ point: t }, e) {
5684
+ function Dc({ point: t }, e) {
5684
5685
  return {
5685
5686
  point: t,
5686
- delta: vg(t, i1(e)),
5687
+ delta: vg(t, a1(e)),
5687
5688
  offset: vg(t, lD(e)),
5688
5689
  velocity: uD(e, 0.1)
5689
5690
  };
@@ -5691,14 +5692,14 @@ function Pc({ point: t }, e) {
5691
5692
  function lD(t) {
5692
5693
  return t[0];
5693
5694
  }
5694
- function i1(t) {
5695
+ function a1(t) {
5695
5696
  return t[t.length - 1];
5696
5697
  }
5697
5698
  function uD(t, e) {
5698
5699
  if (t.length < 2)
5699
5700
  return { x: 0, y: 0 };
5700
5701
  let n = t.length - 1, r = null;
5701
- const i = i1(t);
5702
+ const i = a1(t);
5702
5703
  for (; n >= 0 && (r = t[n], !(i.timestamp - r.timestamp > /* @__PURE__ */ Jn(e))); )
5703
5704
  n--;
5704
5705
  if (!r)
@@ -5712,7 +5713,7 @@ function uD(t, e) {
5712
5713
  };
5713
5714
  return a.x === 1 / 0 && (a.x = 0), a.y === 1 / 0 && (a.y = 0), a;
5714
5715
  }
5715
- const o1 = 1e-4, cD = 1 - o1, dD = 1 + o1, a1 = 0.01, fD = 0 - a1, pD = 0 + a1;
5716
+ const s1 = 1e-4, cD = 1 - s1, dD = 1 + s1, l1 = 0.01, fD = 0 - l1, pD = 0 + l1;
5716
5717
  function hn(t) {
5717
5718
  return t.max - t.min;
5718
5719
  }
@@ -5722,7 +5723,7 @@ function hD(t, e, n) {
5722
5723
  function yg(t, e, n, r = 0.5) {
5723
5724
  t.origin = r, t.originPoint = dt(e.min, e.max, t.origin), t.scale = hn(n) / hn(e), t.translate = dt(n.min, n.max, t.origin) - t.originPoint, (t.scale >= cD && t.scale <= dD || isNaN(t.scale)) && (t.scale = 1), (t.translate >= fD && t.translate <= pD || isNaN(t.translate)) && (t.translate = 0);
5724
5725
  }
5725
- function Ea(t, e, n, r) {
5726
+ function Ia(t, e, n, r) {
5726
5727
  yg(t.x, e.x, n.x, r ? r.originX : void 0), yg(t.y, e.y, n.y, r ? r.originY : void 0);
5727
5728
  }
5728
5729
  function xg(t, e, n) {
@@ -5734,7 +5735,7 @@ function mD(t, e, n) {
5734
5735
  function Cg(t, e, n) {
5735
5736
  t.min = e.min - n.min, t.max = t.min + hn(e);
5736
5737
  }
5737
- function Ia(t, e, n) {
5738
+ function Ta(t, e, n) {
5738
5739
  Cg(t.x, e.x, n.x), Cg(t.y, e.y, n.y);
5739
5740
  }
5740
5741
  function gD(t, { min: e, max: n }, r) {
@@ -5802,7 +5803,7 @@ const Ig = () => ({
5802
5803
  function vn(t) {
5803
5804
  return [t("x"), t("y")];
5804
5805
  }
5805
- function s1({ top: t, left: e, right: n, bottom: r }) {
5806
+ function u1({ top: t, left: e, right: n, bottom: r }) {
5806
5807
  return {
5807
5808
  x: { min: e, max: n },
5808
5809
  y: { min: t, max: r }
@@ -5822,16 +5823,16 @@ function SD(t, e) {
5822
5823
  right: r.x
5823
5824
  };
5824
5825
  }
5825
- function Dc(t) {
5826
+ function Rc(t) {
5826
5827
  return t === void 0 || t === 1;
5827
5828
  }
5828
5829
  function tf({ scale: t, scaleX: e, scaleY: n }) {
5829
- return !Dc(t) || !Dc(e) || !Dc(n);
5830
+ return !Rc(t) || !Rc(e) || !Rc(n);
5830
5831
  }
5831
5832
  function li(t) {
5832
- return tf(t) || l1(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
5833
+ return tf(t) || c1(t) || t.z || t.rotate || t.rotateX || t.rotateY || t.skewX || t.skewY;
5833
5834
  }
5834
- function l1(t) {
5835
+ function c1(t) {
5835
5836
  return Ag(t.x) || Ag(t.y);
5836
5837
  }
5837
5838
  function Ag(t) {
@@ -5847,7 +5848,7 @@ function Mg(t, e, n, r, i) {
5847
5848
  function nf(t, e = 0, n = 1, r, i) {
5848
5849
  t.min = Mg(t.min, e, n, r, i), t.max = Mg(t.max, e, n, r, i);
5849
5850
  }
5850
- function u1(t, { x: e, y: n }) {
5851
+ function d1(t, { x: e, y: n }) {
5851
5852
  nf(t.x, e.translate, e.scale, e.originPoint), nf(t.y, n.translate, n.scale, n.originPoint);
5852
5853
  }
5853
5854
  const Og = 0.999999999999, Pg = 1.0000000000001;
@@ -5863,7 +5864,7 @@ function kD(t, e, n, r = !1) {
5863
5864
  l && l.props.style && l.props.style.display === "contents" || (r && o.options.layoutScroll && o.scroll && o !== o.root && go(t, {
5864
5865
  x: -o.scroll.offset.x,
5865
5866
  y: -o.scroll.offset.y
5866
- }), a && (e.x *= a.x.scale, e.y *= a.y.scale, u1(t, a)), r && li(o.latestValues) && go(t, o.latestValues));
5867
+ }), a && (e.x *= a.x.scale, e.y *= a.y.scale, d1(t, a)), r && li(o.latestValues) && go(t, o.latestValues));
5867
5868
  }
5868
5869
  e.x < Pg && e.x > Og && (e.x = 1), e.y < Pg && e.y > Og && (e.y = 1);
5869
5870
  }
@@ -5877,14 +5878,14 @@ function Dg(t, e, n, r, i = 0.5) {
5877
5878
  function go(t, e) {
5878
5879
  Dg(t.x, e.x, e.scaleX, e.scale, e.originX), Dg(t.y, e.y, e.scaleY, e.scale, e.originY);
5879
5880
  }
5880
- function c1(t, e) {
5881
- return s1(SD(t.getBoundingClientRect(), e));
5881
+ function f1(t, e) {
5882
+ return u1(SD(t.getBoundingClientRect(), e));
5882
5883
  }
5883
5884
  function ED(t, e, n) {
5884
- const r = c1(t, n), { scroll: i } = e;
5885
+ const r = f1(t, n), { scroll: i } = e;
5885
5886
  return i && (mo(r.x, i.offset.x), mo(r.y, i.offset.y)), r;
5886
5887
  }
5887
- const d1 = ({ current: t }) => t ? t.ownerDocument.defaultView : null, ID = /* @__PURE__ */ new WeakMap();
5888
+ const p1 = ({ current: t }) => t ? t.ownerDocument.defaultView : null, ID = /* @__PURE__ */ new WeakMap();
5888
5889
  class TD {
5889
5890
  constructor(e) {
5890
5891
  this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = bt(), this.visualElement = e;
@@ -5927,7 +5928,7 @@ class TD {
5927
5928
  var d;
5928
5929
  return this.getAnimationState(c) === "paused" && ((d = this.getAxisMotionValue(c).animation) === null || d === void 0 ? void 0 : d.play());
5929
5930
  }), { dragSnapToOrigin: u } = this.getProps();
5930
- this.panSession = new r1(e, {
5931
+ this.panSession = new o1(e, {
5931
5932
  onSessionStart: i,
5932
5933
  onStart: o,
5933
5934
  onMove: a,
@@ -5936,7 +5937,7 @@ class TD {
5936
5937
  }, {
5937
5938
  transformPagePoint: this.visualElement.getTransformPagePoint(),
5938
5939
  dragSnapToOrigin: u,
5939
- contextWindow: d1(this.visualElement)
5940
+ contextWindow: p1(this.visualElement)
5940
5941
  });
5941
5942
  }
5942
5943
  stop(e, n) {
@@ -5983,7 +5984,7 @@ class TD {
5983
5984
  let a = vD(i.layout.layoutBox, o);
5984
5985
  if (n) {
5985
5986
  const s = n(wD(a));
5986
- this.hasMutatedConstraints = !!s, s && (a = s1(s));
5987
+ this.hasMutatedConstraints = !!s, s && (a = u1(s));
5987
5988
  }
5988
5989
  return a;
5989
5990
  }
@@ -6079,7 +6080,7 @@ class TD {
6079
6080
  if (!this.visualElement.current)
6080
6081
  return;
6081
6082
  ID.set(this.visualElement, this);
6082
- const e = this.visualElement.current, n = ka(e, "pointerdown", (l) => {
6083
+ const e = this.visualElement.current, n = Ea(e, "pointerdown", (l) => {
6083
6084
  const { drag: u, dragListener: c = !0 } = this.getProps();
6084
6085
  u && c && this.start(l);
6085
6086
  }), r = () => {
@@ -6137,9 +6138,9 @@ class OD extends qr {
6137
6138
  super(...arguments), this.removePointerDownListener = ln;
6138
6139
  }
6139
6140
  onPointerDown(e) {
6140
- this.session = new r1(e, this.createPanHandlers(), {
6141
+ this.session = new o1(e, this.createPanHandlers(), {
6141
6142
  transformPagePoint: this.node.getTransformPagePoint(),
6142
- contextWindow: d1(this.node)
6143
+ contextWindow: p1(this.node)
6143
6144
  });
6144
6145
  }
6145
6146
  createPanHandlers() {
@@ -6154,7 +6155,7 @@ class OD extends qr {
6154
6155
  };
6155
6156
  }
6156
6157
  mount() {
6157
- this.removePointerDownListener = ka(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
6158
+ this.removePointerDownListener = Ea(this.node.current, "pointerdown", (e) => this.onPointerDown(e));
6158
6159
  }
6159
6160
  update() {
6160
6161
  this.session && this.session.updateHandlers(this.createPanHandlers());
@@ -6241,9 +6242,9 @@ class DD extends wx {
6241
6242
  return null;
6242
6243
  }
6243
6244
  }
6244
- function f1(t) {
6245
- const [e, n] = Ux(), r = _e(Np);
6246
- return T.jsx(DD, { ...t, layoutGroup: r, switchLayoutGroup: _e(n0), isPresent: e, safeToRemove: n });
6245
+ function h1(t) {
6246
+ const [e, n] = Jx(), r = _e(Np);
6247
+ return T.jsx(DD, { ...t, layoutGroup: r, switchLayoutGroup: _e(i0), isPresent: e, safeToRemove: n });
6247
6248
  }
6248
6249
  const RD = {
6249
6250
  borderRadius: {
@@ -6290,7 +6291,7 @@ function VD(t, e) {
6290
6291
  };
6291
6292
  return at.read(r, !0), () => Ur(r);
6292
6293
  }
6293
- const p1 = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], LD = p1.length, Fg = (t) => typeof t == "string" ? parseFloat(t) : t, jg = (t) => typeof t == "number" || Me.test(t);
6294
+ const m1 = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], LD = m1.length, Fg = (t) => typeof t == "string" ? parseFloat(t) : t, jg = (t) => typeof t == "number" || Me.test(t);
6294
6295
  function GD(t, e, n, r, i, o) {
6295
6296
  i ? (t.opacity = dt(
6296
6297
  0,
@@ -6299,7 +6300,7 @@ function GD(t, e, n, r, i, o) {
6299
6300
  _D(r)
6300
6301
  ), t.opacityExit = dt(e.opacity !== void 0 ? e.opacity : 1, 0, zD(r))) : o && (t.opacity = dt(e.opacity !== void 0 ? e.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, r));
6301
6302
  for (let a = 0; a < LD; a++) {
6302
- const s = `border${p1[a]}Radius`;
6303
+ const s = `border${m1[a]}Radius`;
6303
6304
  let l = Bg(e, s), u = Bg(n, s);
6304
6305
  if (l === void 0 && u === void 0)
6305
6306
  continue;
@@ -6310,8 +6311,8 @@ function GD(t, e, n, r, i, o) {
6310
6311
  function Bg(t, e) {
6311
6312
  return t[e] !== void 0 ? t[e] : t.borderRadius;
6312
6313
  }
6313
- const _D = /* @__PURE__ */ h1(0, 0.5, D0), zD = /* @__PURE__ */ h1(0.5, 0.95, ln);
6314
- function h1(t, e, n) {
6314
+ const _D = /* @__PURE__ */ g1(0, 0.5, N0), zD = /* @__PURE__ */ g1(0.5, 0.95, ln);
6315
+ function g1(t, e, n) {
6315
6316
  return (r) => r < t ? 0 : r > e ? 1 : n(/* @__PURE__ */ Po(t, e, r));
6316
6317
  }
6317
6318
  function Vg(t, e) {
@@ -6342,7 +6343,7 @@ function zg(t, e, n, r) {
6342
6343
  function Wg(t) {
6343
6344
  return t.translate === 0 && t.scale === 1;
6344
6345
  }
6345
- function m1(t) {
6346
+ function b1(t) {
6346
6347
  return Wg(t.x) && Wg(t.y);
6347
6348
  }
6348
6349
  function Hg(t, e) {
@@ -6354,7 +6355,7 @@ function XD(t, e) {
6354
6355
  function $g(t, e) {
6355
6356
  return Math.round(t.min) === Math.round(e.min) && Math.round(t.max) === Math.round(e.max);
6356
6357
  }
6357
- function g1(t, e) {
6358
+ function v1(t, e) {
6358
6359
  return $g(t.x, e.x) && $g(t.y, e.y);
6359
6360
  }
6360
6361
  function Xg(t) {
@@ -6432,27 +6433,27 @@ const ui = {
6432
6433
  totalNodes: 0,
6433
6434
  resolvedTargetDeltas: 0,
6434
6435
  recalculatedProjection: 0
6435
- }, ha = typeof window < "u" && window.MotionDebug !== void 0, Rc = ["", "X", "Y", "Z"], ZD = { visibility: "hidden" }, Ug = 1e3;
6436
+ }, ha = typeof window < "u" && window.MotionDebug !== void 0, Nc = ["", "X", "Y", "Z"], ZD = { visibility: "hidden" }, Ug = 1e3;
6436
6437
  let JD = 0;
6437
- function Nc(t, e, n, r) {
6438
+ function Fc(t, e, n, r) {
6438
6439
  const { latestValues: i } = e;
6439
6440
  i[t] && (n[t] = i[t], e.setStaticValue(t, 0), r && (r[t] = 0));
6440
6441
  }
6441
- function b1(t) {
6442
+ function y1(t) {
6442
6443
  if (t.hasCheckedOptimisedAppear = !0, t.root === t)
6443
6444
  return;
6444
6445
  const { visualElement: e } = t.options;
6445
6446
  if (!e)
6446
6447
  return;
6447
- const n = E0(e);
6448
+ const n = T0(e);
6448
6449
  if (window.MotionHasOptimisedAnimation(n, "transform")) {
6449
6450
  const { layout: i, layoutId: o } = t.options;
6450
6451
  window.MotionCancelOptimisedAnimation(n, "transform", at, !(i || o));
6451
6452
  }
6452
6453
  const { parent: r } = t;
6453
- r && !r.hasCheckedOptimisedAppear && b1(r);
6454
+ r && !r.hasCheckedOptimisedAppear && y1(r);
6454
6455
  }
6455
- function v1({ attachResizeListener: t, defaultParent: e, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
6456
+ function x1({ attachResizeListener: t, defaultParent: e, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
6456
6457
  return class {
6457
6458
  constructor(a = {}, s = e == null ? void 0 : e()) {
6458
6459
  this.id = JD++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.hasCheckedOptimisedAppear = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
@@ -6494,7 +6495,7 @@ function v1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6494
6495
  this.target = void 0, this.relativeTarget = void 0;
6495
6496
  return;
6496
6497
  }
6497
- const m = this.options.transition || c.getDefaultTransition() || cR, { onLayoutAnimationStart: g, onLayoutAnimationComplete: b } = c.getProps(), x = !this.targetLayout || !g1(this.targetLayout, h) || p, S = !f && p;
6498
+ const m = this.options.transition || c.getDefaultTransition() || cR, { onLayoutAnimationStart: g, onLayoutAnimationComplete: b } = c.getProps(), x = !this.targetLayout || !v1(this.targetLayout, h) || p, S = !f && p;
6498
6499
  if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || S || f && (x || !this.currentAnimation)) {
6499
6500
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(d, S);
6500
6501
  const v = {
@@ -6539,7 +6540,7 @@ function v1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6539
6540
  this.options.onExitComplete && this.options.onExitComplete();
6540
6541
  return;
6541
6542
  }
6542
- if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && b1(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty)
6543
+ if (window.MotionCancelOptimisedAnimation && !this.hasCheckedOptimisedAppear && y1(this), !this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty)
6543
6544
  return;
6544
6545
  this.isLayoutDirty = !0;
6545
6546
  for (let c = 0; c < this.path.length; c++) {
@@ -6559,7 +6560,7 @@ function v1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6559
6560
  }
6560
6561
  this.isUpdating || this.nodes.forEach(nR), this.isUpdating = !1, this.nodes.forEach(rR), this.nodes.forEach(KD), this.nodes.forEach(qD), this.clearAllSnapshots();
6561
6562
  const s = qn.now();
6562
- Nt.delta = br(0, 1e3 / 60, s - Nt.timestamp), Nt.timestamp = s, Nt.isProcessing = !0, Ec.update.process(Nt), Ec.preRender.process(Nt), Ec.render.process(Nt), Nt.isProcessing = !1;
6563
+ Nt.delta = br(0, 1e3 / 60, s - Nt.timestamp), Nt.timestamp = s, Nt.isProcessing = !0, Ic.update.process(Nt), Ic.preRender.process(Nt), Ic.render.process(Nt), Nt.isProcessing = !1;
6563
6564
  }
6564
6565
  didUpdate() {
6565
6566
  this.updateScheduled || (this.updateScheduled = !0, zp.read(this.scheduleUpdate));
@@ -6608,7 +6609,7 @@ function v1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6608
6609
  resetTransform() {
6609
6610
  if (!i)
6610
6611
  return;
6611
- const a = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, s = this.projectionDelta && !m1(this.projectionDelta), l = this.getTransformTemplate(), u = l ? l(this.latestValues, "") : void 0, c = u !== this.prevTransformTemplateValue;
6612
+ const a = this.isLayoutDirty || this.shouldResetTransform || this.options.alwaysMeasureLayout, s = this.projectionDelta && !b1(this.projectionDelta), l = this.getTransformTemplate(), u = l ? l(this.latestValues, "") : void 0, c = u !== this.prevTransformTemplateValue;
6612
6613
  a && (s || li(this.latestValues) || c) && (i(this.instance, u), this.shouldResetTransform = !1, this.scheduleRender());
6613
6614
  }
6614
6615
  measure(a = !0) {
@@ -6697,20 +6698,20 @@ function v1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6697
6698
  if (!(!this.layout || !(d || f))) {
6698
6699
  if (this.resolvedRelativeTargetAt = Nt.timestamp, !this.targetDelta && !this.relativeTarget) {
6699
6700
  const p = this.getClosestProjectingParent();
6700
- p && p.layout && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = bt(), this.relativeTargetOrigin = bt(), Ia(this.relativeTargetOrigin, this.layout.layoutBox, p.layout.layoutBox), gn(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
6701
+ p && p.layout && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = bt(), this.relativeTargetOrigin = bt(), Ta(this.relativeTargetOrigin, this.layout.layoutBox, p.layout.layoutBox), gn(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
6701
6702
  }
6702
6703
  if (!(!this.relativeTarget && !this.targetDelta)) {
6703
- if (this.target || (this.target = bt(), this.targetWithTransforms = bt()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), mD(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : gn(this.target, this.layout.layoutBox), u1(this.target, this.targetDelta)) : gn(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
6704
+ if (this.target || (this.target = bt(), this.targetWithTransforms = bt()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), mD(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : gn(this.target, this.layout.layoutBox), d1(this.target, this.targetDelta)) : gn(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
6704
6705
  this.attemptToResolveRelativeTarget = !1;
6705
6706
  const p = this.getClosestProjectingParent();
6706
- p && !!p.resumingFrom == !!this.resumingFrom && !p.options.layoutScroll && p.target && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = bt(), this.relativeTargetOrigin = bt(), Ia(this.relativeTargetOrigin, this.target, p.target), gn(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
6707
+ p && !!p.resumingFrom == !!this.resumingFrom && !p.options.layoutScroll && p.target && this.animationProgress !== 1 ? (this.relativeParent = p, this.forceRelativeParentToResolveTarget(), this.relativeTarget = bt(), this.relativeTargetOrigin = bt(), Ta(this.relativeTargetOrigin, this.target, p.target), gn(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
6707
6708
  }
6708
6709
  ha && ui.resolvedTargetDeltas++;
6709
6710
  }
6710
6711
  }
6711
6712
  }
6712
6713
  getClosestProjectingParent() {
6713
- if (!(!this.parent || tf(this.parent.latestValues) || l1(this.parent.latestValues)))
6714
+ if (!(!this.parent || tf(this.parent.latestValues) || c1(this.parent.latestValues)))
6714
6715
  return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
6715
6716
  }
6716
6717
  isProjecting() {
@@ -6733,7 +6734,7 @@ function v1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6733
6734
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
6734
6735
  return;
6735
6736
  }
6736
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Lg(this.prevProjectionDelta.x, this.projectionDelta.x), Lg(this.prevProjectionDelta.y, this.projectionDelta.y)), Ea(this.projectionDelta, this.layoutCorrected, h, this.latestValues), (this.treeScale.x !== f || this.treeScale.y !== p || !Yg(this.projectionDelta.x, this.prevProjectionDelta.x) || !Yg(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", h)), ha && ui.recalculatedProjection++;
6737
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (Lg(this.prevProjectionDelta.x, this.projectionDelta.x), Lg(this.prevProjectionDelta.y, this.projectionDelta.y)), Ia(this.projectionDelta, this.layoutCorrected, h, this.latestValues), (this.treeScale.x !== f || this.treeScale.y !== p || !Yg(this.projectionDelta.x, this.prevProjectionDelta.x) || !Yg(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", h)), ha && ui.recalculatedProjection++;
6737
6738
  }
6738
6739
  hide() {
6739
6740
  this.isVisible = !1;
@@ -6760,7 +6761,7 @@ function v1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6760
6761
  let S;
6761
6762
  this.mixTargetDelta = (v) => {
6762
6763
  const y = v / 1e3;
6763
- Kg(d.x, a.x, y), Kg(d.y, a.y, y), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Ia(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), lR(this.relativeTarget, this.relativeTargetOrigin, f, y), S && XD(this.relativeTarget, S) && (this.isProjectionDirty = !1), S || (S = bt()), gn(S, this.relativeTarget)), m && (this.animationValues = c, GD(c, u, this.latestValues, y, x, b)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = y;
6764
+ Kg(d.x, a.x, y), Kg(d.y, a.y, y), this.setTargetDelta(d), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Ta(f, this.layout.layoutBox, this.relativeParent.layout.layoutBox), lR(this.relativeTarget, this.relativeTargetOrigin, f, y), S && XD(this.relativeTarget, S) && (this.isProjectionDirty = !1), S || (S = bt()), gn(S, this.relativeTarget)), m && (this.animationValues = c, GD(c, u, this.latestValues, y, x, b)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = y;
6764
6765
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
6765
6766
  }
6766
6767
  startAnimation(a) {
@@ -6788,14 +6789,14 @@ function v1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6788
6789
  const a = this.getLead();
6789
6790
  let { targetWithTransforms: s, target: l, layout: u, latestValues: c } = a;
6790
6791
  if (!(!s || !l || !u)) {
6791
- if (this !== a && this.layout && u && y1(this.options.animationType, this.layout.layoutBox, u.layoutBox)) {
6792
+ if (this !== a && this.layout && u && C1(this.options.animationType, this.layout.layoutBox, u.layoutBox)) {
6792
6793
  l = this.target || bt();
6793
6794
  const d = hn(this.layout.layoutBox.x);
6794
6795
  l.x.min = a.target.x.min, l.x.max = l.x.min + d;
6795
6796
  const f = hn(this.layout.layoutBox.y);
6796
6797
  l.y.min = a.target.y.min, l.y.max = l.y.min + f;
6797
6798
  }
6798
- gn(s, l), go(s, c), Ea(this.projectionDeltaWithTransform, this.layoutCorrected, s, c);
6799
+ gn(s, l), go(s, c), Ia(this.projectionDeltaWithTransform, this.layoutCorrected, s, c);
6799
6800
  }
6800
6801
  }
6801
6802
  registerSharedNode(a, s) {
@@ -6842,9 +6843,9 @@ function v1({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
6842
6843
  if ((l.z || l.rotate || l.rotateX || l.rotateY || l.rotateZ || l.skewX || l.skewY) && (s = !0), !s)
6843
6844
  return;
6844
6845
  const u = {};
6845
- l.z && Nc("z", a, u, this.animationValues);
6846
- for (let c = 0; c < Rc.length; c++)
6847
- Nc(`rotate${Rc[c]}`, a, u, this.animationValues), Nc(`skew${Rc[c]}`, a, u, this.animationValues);
6846
+ l.z && Fc("z", a, u, this.animationValues);
6847
+ for (let c = 0; c < Nc.length; c++)
6848
+ Fc(`rotate${Nc[c]}`, a, u, this.animationValues), Fc(`skew${Nc[c]}`, a, u, this.animationValues);
6848
6849
  a.render();
6849
6850
  for (const c in u)
6850
6851
  a.setStaticValue(c, u[c]), this.animationValues && (this.animationValues[c] = u[c]);
@@ -6906,15 +6907,15 @@ function qD(t) {
6906
6907
  o === "size" ? vn((d) => {
6907
6908
  const f = a ? n.measuredBox[d] : n.layoutBox[d], p = hn(f);
6908
6909
  f.min = r[d].min, f.max = f.min + p;
6909
- }) : y1(o, n.layoutBox, r) && vn((d) => {
6910
+ }) : C1(o, n.layoutBox, r) && vn((d) => {
6910
6911
  const f = a ? n.measuredBox[d] : n.layoutBox[d], p = hn(r[d]);
6911
6912
  f.max = f.min + p, t.relativeTarget && !t.currentAnimation && (t.isProjectionDirty = !0, t.relativeTarget[d].max = t.relativeTarget[d].min + p);
6912
6913
  });
6913
6914
  const s = ho();
6914
- Ea(s, r, n.layoutBox);
6915
+ Ia(s, r, n.layoutBox);
6915
6916
  const l = ho();
6916
- a ? Ea(l, t.applyTransform(i, !0), n.measuredBox) : Ea(l, r, n.layoutBox);
6917
- const u = !m1(s);
6917
+ a ? Ia(l, t.applyTransform(i, !0), n.measuredBox) : Ia(l, r, n.layoutBox);
6918
+ const u = !b1(s);
6918
6919
  let c = !1;
6919
6920
  if (!t.resumeFrom) {
6920
6921
  const d = t.getClosestProjectingParent();
@@ -6922,9 +6923,9 @@ function qD(t) {
6922
6923
  const { snapshot: f, layout: p } = d;
6923
6924
  if (f && p) {
6924
6925
  const h = bt();
6925
- Ia(h, n.layoutBox, f.layoutBox);
6926
+ Ta(h, n.layoutBox, f.layoutBox);
6926
6927
  const m = bt();
6927
- Ia(m, r, p.layoutBox), g1(h, m) || (c = !0), d.options.layoutRoot && (t.relativeTarget = m, t.relativeTargetOrigin = h, t.relativeParent = d);
6928
+ Ta(m, r, p.layoutBox), v1(h, m) || (c = !0), d.options.layoutRoot && (t.relativeTarget = m, t.relativeTargetOrigin = h, t.relativeParent = d);
6928
6929
  }
6929
6930
  }
6930
6931
  }
@@ -6998,33 +6999,33 @@ function tb(t) {
6998
6999
  function dR(t) {
6999
7000
  tb(t.x), tb(t.y);
7000
7001
  }
7001
- function y1(t, e, n) {
7002
+ function C1(t, e, n) {
7002
7003
  return t === "position" || t === "preserve-aspect" && !hD(Xg(e), Xg(n), 0.2);
7003
7004
  }
7004
7005
  function fR(t) {
7005
7006
  var e;
7006
7007
  return t !== t.root && ((e = t.scroll) === null || e === void 0 ? void 0 : e.wasRoot);
7007
7008
  }
7008
- const pR = v1({
7009
+ const pR = x1({
7009
7010
  attachResizeListener: (t, e) => $a(t, "resize", e),
7010
7011
  measureScroll: () => ({
7011
7012
  x: document.documentElement.scrollLeft || document.body.scrollLeft,
7012
7013
  y: document.documentElement.scrollTop || document.body.scrollTop
7013
7014
  }),
7014
7015
  checkIsScrollRoot: () => !0
7015
- }), Fc = {
7016
+ }), jc = {
7016
7017
  current: void 0
7017
- }, x1 = v1({
7018
+ }, w1 = x1({
7018
7019
  measureScroll: (t) => ({
7019
7020
  x: t.scrollLeft,
7020
7021
  y: t.scrollTop
7021
7022
  }),
7022
7023
  defaultParent: () => {
7023
- if (!Fc.current) {
7024
+ if (!jc.current) {
7024
7025
  const t = new pR({});
7025
- t.mount(window), t.setOptions({ layoutScroll: !0 }), Fc.current = t;
7026
+ t.mount(window), t.setOptions({ layoutScroll: !0 }), jc.current = t;
7026
7027
  }
7027
- return Fc.current;
7028
+ return jc.current;
7028
7029
  },
7029
7030
  resetTransform: (t, e) => {
7030
7031
  t.style.transform = e !== void 0 ? e : "none";
@@ -7036,8 +7037,8 @@ const pR = v1({
7036
7037
  },
7037
7038
  drag: {
7038
7039
  Feature: MD,
7039
- ProjectionNode: x1,
7040
- MeasureLayout: f1
7040
+ ProjectionNode: w1,
7041
+ MeasureLayout: h1
7041
7042
  }
7042
7043
  };
7043
7044
  function nb(t, e, n) {
@@ -7090,7 +7091,7 @@ class bR extends qr {
7090
7091
  unmount() {
7091
7092
  }
7092
7093
  }
7093
- const rf = /* @__PURE__ */ new WeakMap(), jc = /* @__PURE__ */ new WeakMap(), vR = (t) => {
7094
+ const rf = /* @__PURE__ */ new WeakMap(), Bc = /* @__PURE__ */ new WeakMap(), vR = (t) => {
7094
7095
  const e = rf.get(t.target);
7095
7096
  e && e(t);
7096
7097
  }, yR = (t) => {
@@ -7098,8 +7099,8 @@ const rf = /* @__PURE__ */ new WeakMap(), jc = /* @__PURE__ */ new WeakMap(), vR
7098
7099
  };
7099
7100
  function xR({ root: t, ...e }) {
7100
7101
  const n = t || document;
7101
- jc.has(n) || jc.set(n, {});
7102
- const r = jc.get(n), i = JSON.stringify(e);
7102
+ Bc.has(n) || Bc.set(n, {});
7103
+ const r = Bc.get(n), i = JSON.stringify(e);
7103
7104
  return r[i] || (r[i] = new IntersectionObserver(yR, { root: t, ...e })), r[i];
7104
7105
  }
7105
7106
  function CR(t, e, n) {
@@ -7162,19 +7163,19 @@ const ER = {
7162
7163
  }
7163
7164
  }, IR = {
7164
7165
  layout: {
7165
- ProjectionNode: x1,
7166
- MeasureLayout: f1
7166
+ ProjectionNode: w1,
7167
+ MeasureLayout: h1
7167
7168
  }
7168
- }, of = { current: null }, C1 = { current: !1 };
7169
+ }, of = { current: null }, S1 = { current: !1 };
7169
7170
  function TR() {
7170
- if (C1.current = !0, !!Bp)
7171
+ if (S1.current = !0, !!Bp)
7171
7172
  if (window.matchMedia) {
7172
7173
  const t = window.matchMedia("(prefers-reduced-motion)"), e = () => of.current = t.matches;
7173
7174
  t.addListener(e), e();
7174
7175
  } else
7175
7176
  of.current = !1;
7176
7177
  }
7177
- const AR = [...X0, zt, Zr], MR = (t) => AR.find($0(t)), ib = /* @__PURE__ */ new WeakMap();
7178
+ const AR = [...U0, zt, Zr], MR = (t) => AR.find(Y0(t)), ib = /* @__PURE__ */ new WeakMap();
7178
7179
  function OR(t, e, n) {
7179
7180
  for (const r in e) {
7180
7181
  const i = e[r], o = n[r];
@@ -7223,7 +7224,7 @@ class PR {
7223
7224
  this.renderScheduledAt < p && (this.renderScheduledAt = p, at.render(this.render, !1, !0));
7224
7225
  };
7225
7226
  const { latestValues: l, renderState: u, onUpdate: c } = a;
7226
- this.onUpdate = c, this.latestValues = l, this.baseTarget = { ...l }, this.initialValues = n.initial ? { ...l } : {}, this.renderState = u, this.parent = e, this.props = n, this.presenceContext = r, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = i, this.options = s, this.blockInitialAnimation = !!o, this.isControllingVariants = Bu(n), this.isVariantNode = e0(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
7227
+ this.onUpdate = c, this.latestValues = l, this.baseTarget = { ...l }, this.initialValues = n.initial ? { ...l } : {}, this.renderState = u, this.parent = e, this.props = n, this.presenceContext = r, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = i, this.options = s, this.blockInitialAnimation = !!o, this.isControllingVariants = Bu(n), this.isVariantNode = n0(n), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
7227
7228
  const { willChange: d, ...f } = this.scrapeMotionValuesFromProps(n, {}, this);
7228
7229
  for (const p in f) {
7229
7230
  const h = f[p];
@@ -7231,7 +7232,7 @@ class PR {
7231
7232
  }
7232
7233
  }
7233
7234
  mount(e) {
7234
- this.current = e, ib.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), C1.current || TR(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : of.current, process.env.NODE_ENV !== "production" && Nu(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
7235
+ this.current = e, ib.set(e, this), this.projection && !this.projection.instance && this.projection.mount(e), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), S1.current || TR(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : of.current, process.env.NODE_ENV !== "production" && Nu(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
7235
7236
  }
7236
7237
  unmount() {
7237
7238
  ib.delete(this.current), this.projection && this.projection.unmount(), Ur(this.notifyUpdate), Ur(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
@@ -7364,7 +7365,7 @@ class PR {
7364
7365
  readValue(e, n) {
7365
7366
  var r;
7366
7367
  let i = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : (r = this.getBaseTargetFromProps(this.props, e)) !== null && r !== void 0 ? r : this.readValueFromInstance(this.current, e, this.options);
7367
- return i != null && (typeof i == "string" && (W0(i) || N0(i)) ? i = parseFloat(i) : !MR(i) && Zr.test(n) && (i = G0(e, n)), this.setBaseTarget(e, Ht(i) ? i.get() : i)), Ht(i) ? i.get() : i;
7368
+ return i != null && (typeof i == "string" && ($0(i) || j0(i)) ? i = parseFloat(i) : !MR(i) && Zr.test(n) && (i = z0(e, n)), this.setBaseTarget(e, Ht(i) ? i.get() : i)), Ht(i) ? i.get() : i;
7368
7369
  }
7369
7370
  /**
7370
7371
  * Set the base target to later animate back to. This is currently
@@ -7397,9 +7398,9 @@ class PR {
7397
7398
  this.events[e] && this.events[e].notify(...n);
7398
7399
  }
7399
7400
  }
7400
- class w1 extends PR {
7401
+ class k1 extends PR {
7401
7402
  constructor() {
7402
- super(...arguments), this.KeyframeResolver = Y0;
7403
+ super(...arguments), this.KeyframeResolver = Z0;
7403
7404
  }
7404
7405
  sortInstanceNodePosition(e, n) {
7405
7406
  return e.compareDocumentPosition(n) & 2 ? 1 : -1;
@@ -7421,21 +7422,21 @@ class w1 extends PR {
7421
7422
  function DR(t) {
7422
7423
  return window.getComputedStyle(t);
7423
7424
  }
7424
- class RR extends w1 {
7425
+ class RR extends k1 {
7425
7426
  constructor() {
7426
- super(...arguments), this.type = "html", this.renderInstance = u0;
7427
+ super(...arguments), this.type = "html", this.renderInstance = d0;
7427
7428
  }
7428
7429
  readValueFromInstance(e, n) {
7429
7430
  if (Zi.has(n)) {
7430
7431
  const r = uh(n);
7431
7432
  return r && r.default || 0;
7432
7433
  } else {
7433
- const r = DR(e), i = (a0(n) ? r.getPropertyValue(n) : r[n]) || 0;
7434
+ const r = DR(e), i = (l0(n) ? r.getPropertyValue(n) : r[n]) || 0;
7434
7435
  return typeof i == "string" ? i.trim() : i;
7435
7436
  }
7436
7437
  }
7437
7438
  measureInstanceViewportBox(e, { transformPagePoint: n }) {
7438
- return c1(e, n);
7439
+ return f1(e, n);
7439
7440
  }
7440
7441
  build(e, n, r) {
7441
7442
  Yp(e, n, r.transformTemplate);
@@ -7444,7 +7445,7 @@ class RR extends w1 {
7444
7445
  return Kp(e, n, r);
7445
7446
  }
7446
7447
  }
7447
- class NR extends w1 {
7448
+ class NR extends k1 {
7448
7449
  constructor() {
7449
7450
  super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = bt;
7450
7451
  }
@@ -7456,16 +7457,16 @@ class NR extends w1 {
7456
7457
  const r = uh(n);
7457
7458
  return r && r.default || 0;
7458
7459
  }
7459
- return n = c0.has(n) ? n : _p(n), e.getAttribute(n);
7460
+ return n = f0.has(n) ? n : _p(n), e.getAttribute(n);
7460
7461
  }
7461
7462
  scrapeMotionValuesFromProps(e, n, r) {
7462
- return p0(e, n, r);
7463
+ return m0(e, n, r);
7463
7464
  }
7464
7465
  build(e, n, r) {
7465
7466
  Up(e, n, this.isSVGTag, r.transformTemplate);
7466
7467
  }
7467
7468
  renderInstance(e, n, r, i) {
7468
- d0(e, n, r, i);
7469
+ p0(e, n, r, i);
7469
7470
  }
7470
7471
  mount(e) {
7471
7472
  this.isSVGTag = Jp(e.tagName), super.mount(e);
@@ -7478,30 +7479,7 @@ const FR = (t, e) => Wp(t) ? new NR(e) : new RR(e, {
7478
7479
  ...ER,
7479
7480
  ...hR,
7480
7481
  ...IR
7481
- }, FR), ji = /* @__PURE__ */ wM(jR), Ta = "dd.MM.yyyy", Bc = (t, e = "ru-RU") => new Intl.DateTimeFormat(e, {
7482
- day: "2-digit",
7483
- month: "2-digit",
7484
- year: "numeric"
7485
- }).format(t), S1 = (t, e = "ru-RU") => new Intl.DateTimeFormat(e, {
7486
- year: "numeric"
7487
- }).format(t), k1 = (t, e = "ru-RU") => new Intl.DateTimeFormat(e, {
7488
- month: "long"
7489
- }).format(t), oi = {
7490
- today: z("text-color-primary-default"),
7491
- outside: "text-color-tetriary",
7492
- selected: "bg-color-primary-default text-color-white",
7493
- range_outer: z("text-color-primary-default text-color-white"),
7494
- range_middle: z(
7495
- "bg-color-primary-tr-hover relative text-color-dark rounded-none",
7496
- 'after:absolute after:content-[""] after:top-0 after:left-0',
7497
- "after:w-full after:h-[4px] after:bg-color-white after:z-0",
7498
- 'before:absolute before:content-[""] before:bottom-0 before:left-0',
7499
- "before:w-full before:h-[4px] before:bg-color-white before:z-0",
7500
- "hover:after:bg-color-transparent hover:before:bg-color-transparent",
7501
- "before:pointer-events-none before:pointer-events-none"
7502
- ),
7503
- day: "text-center"
7504
- }, BR = ({ className: t, ...e }) => /* @__PURE__ */ T.jsx(
7482
+ }, FR), ji = /* @__PURE__ */ wM(jR), BR = ({ className: t, ...e }) => /* @__PURE__ */ T.jsx(
7505
7483
  "button",
7506
7484
  {
7507
7485
  ...e,
@@ -7639,7 +7617,7 @@ const FR = (t, e) => Wp(t) ? new NR(e) : new RR(e, {
7639
7617
  )
7640
7618
  ] });
7641
7619
  }, $R = ({ currentDate: t, mode: e, className: n, open: r, onOpenChange: i, ...o }) => {
7642
- const a = e === "year" ? S1(t) : k1(t);
7620
+ const a = e === "year" ? Ax(t) : Mx(t);
7643
7621
  return /* @__PURE__ */ T.jsxs(
7644
7622
  "button",
7645
7623
  {
@@ -7674,7 +7652,7 @@ const FR = (t, e) => Wp(t) ? new NR(e) : new RR(e, {
7674
7652
  children: t.map((a, s) => {
7675
7653
  const l = /* @__PURE__ */ new Date();
7676
7654
  i === "year" ? l.setFullYear(a) : l.setMonth(a);
7677
- const u = i === "year" ? S1(l) : k1(l);
7655
+ const u = i === "year" ? Ax(l) : Mx(l);
7678
7656
  return /* @__PURE__ */ T.jsx(ji.li, { initial: { opacity: 0 }, animate: { opacity: 1 }, transition: { delay: s / 22 }, children: /* @__PURE__ */ T.jsx(
7679
7657
  "button",
7680
7658
  {
@@ -7773,14 +7751,14 @@ const FR = (t, e) => Wp(t) ? new NR(e) : new RR(e, {
7773
7751
  }) => {
7774
7752
  const l = Pe(
7775
7753
  () => ({
7776
- today: z(oi.today, t == null ? void 0 : t.today),
7777
- outside: z(oi.outside, t == null ? void 0 : t.outside),
7778
- selected: z(oi.selected, t == null ? void 0 : t.selected),
7779
- range_start: z(oi.range_outer, t == null ? void 0 : t.range_start),
7780
- range_middle: z(oi.range_middle, t == null ? void 0 : t.range_middle),
7781
- range_end: z(oi.range_outer, t == null ? void 0 : t.range_end),
7754
+ today: z(ii.today, t == null ? void 0 : t.today),
7755
+ outside: z(ii.outside, t == null ? void 0 : t.outside),
7756
+ selected: z(ii.selected, t == null ? void 0 : t.selected),
7757
+ range_start: z(ii.range_outer, t == null ? void 0 : t.range_start),
7758
+ range_middle: z(ii.range_middle, t == null ? void 0 : t.range_middle),
7759
+ range_end: z(ii.range_outer, t == null ? void 0 : t.range_end),
7782
7760
  month_grid: "h-[280px]",
7783
- day: z(oi.day, t == null ? void 0 : t.day),
7761
+ day: z(ii.day, t == null ? void 0 : t.day),
7784
7762
  ...t
7785
7763
  }),
7786
7764
  [t]
@@ -7845,7 +7823,7 @@ var UR = "VisuallyHidden", I1 = B.forwardRef(
7845
7823
  )
7846
7824
  );
7847
7825
  I1.displayName = UR;
7848
- var ZR = I1, [Gu, vU] = Kr("Tooltip", [
7826
+ var ZR = I1, [Gu, yU] = Kr("Tooltip", [
7849
7827
  gx
7850
7828
  ]), _u = gx(), T1 = "TooltipProvider", JR = 700, af = "tooltip.open", [KR, hh] = Gu(T1), A1 = (t) => {
7851
7829
  const {
@@ -7961,7 +7939,7 @@ var sf = "TooltipTrigger", O1 = B.forwardRef(
7961
7939
  }
7962
7940
  );
7963
7941
  O1.displayName = sf;
7964
- var QR = "TooltipPortal", [yU, eN] = Gu(QR, {
7942
+ var QR = "TooltipPortal", [xU, eN] = Gu(QR, {
7965
7943
  forceMount: void 0
7966
7944
  }), No = "TooltipContent", P1 = B.forwardRef(
7967
7945
  (t, e) => {
@@ -8184,7 +8162,7 @@ const F1 = ({
8184
8162
  }
8185
8163
  )
8186
8164
  ] }) }) });
8187
- }, xU = ({ topContent: t, bottomContent: e, progress: n, maxPercent: r = 100, classes: i }) => /* @__PURE__ */ T.jsxs("div", { className: z("flex w-full flex-col", i == null ? void 0 : i.root), children: [
8165
+ }, CU = ({ topContent: t, bottomContent: e, progress: n, maxPercent: r = 100, classes: i }) => /* @__PURE__ */ T.jsxs("div", { className: z("flex w-full flex-col", i == null ? void 0 : i.root), children: [
8188
8166
  t && /* @__PURE__ */ T.jsx("div", { className: z("mb-2 flex justify-between gap-5", i == null ? void 0 : i.topContent), children: t }),
8189
8167
  /* @__PURE__ */ T.jsxs("div", { className: z("relative h-2 w-[328xp] rounded-md bg-color-blue-grey-100 desktop:w-[524px]", i == null ? void 0 : i.progressBar), children: [
8190
8168
  /* @__PURE__ */ T.jsx(
@@ -8368,7 +8346,7 @@ function G1(t, e = !1) {
8368
8346
  function kN(t, e) {
8369
8347
  return t.map((n, r) => t[(e + r) % t.length]);
8370
8348
  }
8371
- var _1 = B1, z1 = L1, mh = "Tabs", [EN, CU] = Kr(mh, [
8349
+ var _1 = B1, z1 = L1, mh = "Tabs", [EN, wU] = Kr(mh, [
8372
8350
  $u
8373
8351
  ]), W1 = $u(), [IN, gh] = EN(mh), H1 = B.forwardRef(
8374
8352
  (t, e) => {
@@ -8510,7 +8488,7 @@ function q1(t, e) {
8510
8488
  return `${t}-content-${e}`;
8511
8489
  }
8512
8490
  var TN = H1, AN = X1, MN = U1, lb = J1;
8513
- const ON = ({ classes: t, contents: e }) => /* @__PURE__ */ T.jsx("div", { className: z("flex flex-col gap-4", t == null ? void 0 : t.contentsWrapper), children: e == null ? void 0 : e.map(({ id: n, body: r, accordion: i }) => i && (i != null && i.title) ? /* @__PURE__ */ T.jsx(lb, { value: n, className: z("py-8", t == null ? void 0 : t.content), children: /* @__PURE__ */ T.jsx(ZE, { label: i == null ? void 0 : i.title, children: r }) }, n) : /* @__PURE__ */ T.jsx(lb, { value: n, className: z("py-8", t == null ? void 0 : t.content), children: r }, n)) }), wU = ({ renderContent: t, defaultActiveTabId: e = "1", value: n, onChangeTab: r, classes: i }) => {
8491
+ const ON = ({ classes: t, contents: e }) => /* @__PURE__ */ T.jsx("div", { className: z("flex flex-col gap-4", t == null ? void 0 : t.contentsWrapper), children: e == null ? void 0 : e.map(({ id: n, body: r, accordion: i }) => i && (i != null && i.title) ? /* @__PURE__ */ T.jsx(lb, { value: n, className: z("py-8", t == null ? void 0 : t.content), children: /* @__PURE__ */ T.jsx(ZE, { label: i == null ? void 0 : i.title, children: r }) }, n) : /* @__PURE__ */ T.jsx(lb, { value: n, className: z("py-8", t == null ? void 0 : t.content), children: r }, n)) }), SU = ({ renderContent: t, defaultActiveTabId: e = "1", value: n, onChangeTab: r, classes: i }) => {
8514
8492
  var o;
8515
8493
  return /* @__PURE__ */ T.jsxs(
8516
8494
  TN,
@@ -8556,7 +8534,7 @@ const ON = ({ classes: t, contents: e }) => /* @__PURE__ */ T.jsx("div", { class
8556
8534
  className: z("size-8 cursor-pointer text-icon-dark-hover", n == null ? void 0 : n.icon)
8557
8535
  }
8558
8536
  )
8559
- ] }), SU = ({
8537
+ ] }), kU = ({
8560
8538
  title: t,
8561
8539
  children: e,
8562
8540
  isModalOpen: n,
@@ -8565,7 +8543,7 @@ const ON = ({ classes: t, contents: e }) => /* @__PURE__ */ T.jsx("div", { class
8565
8543
  closeModal: o,
8566
8544
  classes: a
8567
8545
  }) => {
8568
- const l = /* @__PURE__ */ T.jsx(Jx, { children: n && /* @__PURE__ */ T.jsx(
8546
+ const l = /* @__PURE__ */ T.jsx(qx, { children: n && /* @__PURE__ */ T.jsx(
8569
8547
  ji.div,
8570
8548
  {
8571
8549
  tabIndex: -1,
@@ -9015,7 +8993,7 @@ const S2 = Wo(
9015
8993
  default:
9016
8994
  return null;
9017
8995
  }
9018
- }, Lc = (t) => k2(t), kU = ({ maxToastViewLimit: t = 2, toastDuration: e = 5e3 }) => {
8996
+ }, Lc = (t) => k2(t), EU = ({ maxToastViewLimit: t = 2, toastDuration: e = 5e3 }) => {
9019
8997
  const { toasts: n } = rC();
9020
8998
  return ze(() => {
9021
8999
  n.filter((r) => r.visible).filter((r, i) => i >= t).forEach((r) => Tl.dismiss(r.id));
@@ -9028,7 +9006,7 @@ const S2 = Wo(
9028
9006
  }
9029
9007
  }
9030
9008
  );
9031
- }, EU = ({ linksList: t }) => /* @__PURE__ */ T.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: t.map((e) => /* @__PURE__ */ T.jsx(T.Fragment, { children: "path" in e ? /* @__PURE__ */ T.jsxs(
9009
+ }, IU = ({ linksList: t }) => /* @__PURE__ */ T.jsx("div", { "aria-label": "Breadcrumb", className: "flex max-w-[840px] items-center gap-2", children: t.map((e) => /* @__PURE__ */ T.jsx(T.Fragment, { children: "path" in e ? /* @__PURE__ */ T.jsxs(
9032
9010
  "div",
9033
9011
  {
9034
9012
  className: z(
@@ -9071,7 +9049,7 @@ const S2 = Wo(
9071
9049
  }), I2 = {
9072
9050
  filled: "files/documentFilled",
9073
9051
  outline: "files/documentOutline"
9074
- }, IU = ({ text: t, size: e, sizeType: n, href: r, intent: i = "outline" }) => /* @__PURE__ */ T.jsxs(
9052
+ }, TU = ({ text: t, size: e, sizeType: n, href: r, intent: i = "outline" }) => /* @__PURE__ */ T.jsxs(
9075
9053
  "a",
9076
9054
  {
9077
9055
  href: r,
@@ -9215,7 +9193,7 @@ const S2 = Wo(
9215
9193
  defaultVariants: {
9216
9194
  intent: "simple"
9217
9195
  }
9218
- }), yt = ({ intent: t, as: e = "p", disabled: n, text: r, className: i, ...o }) => r ? /* @__PURE__ */ T.jsx(e, { className: z(P2({ intent: t, disabled: n }), i), ...o, children: r }) : null, TU = ({
9196
+ }), yt = ({ intent: t, as: e = "p", disabled: n, text: r, className: i, ...o }) => r ? /* @__PURE__ */ T.jsx(e, { className: z(P2({ intent: t, disabled: n }), i), ...o, children: r }) : null, AU = ({
9219
9197
  label: t,
9220
9198
  helperText: e,
9221
9199
  control: n,
@@ -9985,7 +9963,7 @@ const aF = (t, e) => ({ onValueChange: ({ inputValue: a, onChange: s, source: l
9985
9963
  s(!0), t != null && t.customFocus && (t == null || t.customFocus(a));
9986
9964
  }, onBlur: ({ event: a, setShowMask: s, hookFormBlur: l }) => {
9987
9965
  l(), s(!1), t != null && t.customFocus && (t == null || t.customFocus(a));
9988
- } }), AU = ({
9966
+ } }), MU = ({
9989
9967
  format: t,
9990
9968
  allowEmptyFormatting: e = !1,
9991
9969
  mask: n,
@@ -10076,7 +10054,7 @@ function Zu(t) {
10076
10054
  const e = B.useRef({ value: t, previous: t });
10077
10055
  return B.useMemo(() => (e.current.value !== t && (e.current.previous = e.current.value, e.current.value = t), e.current.previous), [t]);
10078
10056
  }
10079
- var xh = "Checkbox", [sF, MU] = Kr(xh), [lF, uF] = sF(xh), hC = B.forwardRef(
10057
+ var xh = "Checkbox", [sF, OU] = Kr(xh), [lF, uF] = sF(xh), hC = B.forwardRef(
10080
10058
  (t, e) => {
10081
10059
  const {
10082
10060
  __scopeCheckbox: n,
@@ -10194,7 +10172,7 @@ function bC(t) {
10194
10172
  return _r(t) ? "indeterminate" : t ? "checked" : "unchecked";
10195
10173
  }
10196
10174
  var vC = hC, yC = gC;
10197
- const OU = ({
10175
+ const PU = ({
10198
10176
  control: t,
10199
10177
  label: e,
10200
10178
  helperText: n,
@@ -10271,7 +10249,7 @@ const OU = ({
10271
10249
  }
10272
10250
  );
10273
10251
  };
10274
- var Ch = "Switch", [dF, PU] = Kr(Ch), [fF, pF] = dF(Ch), xC = B.forwardRef(
10252
+ var Ch = "Switch", [dF, DU] = Kr(Ch), [fF, pF] = dF(Ch), xC = B.forwardRef(
10275
10253
  (t, e) => {
10276
10254
  const {
10277
10255
  __scopeSwitch: n,
@@ -10373,7 +10351,7 @@ function SC(t) {
10373
10351
  return t ? "checked" : "unchecked";
10374
10352
  }
10375
10353
  var kC = xC, EC = wC;
10376
- const DU = ({
10354
+ const RU = ({
10377
10355
  disabled: t,
10378
10356
  classes: e,
10379
10357
  control: n,
@@ -10437,7 +10415,7 @@ const DU = ({
10437
10415
  ] })
10438
10416
  }
10439
10417
  );
10440
- }, RU = ({
10418
+ }, NU = ({
10441
10419
  label: t,
10442
10420
  helperText: e,
10443
10421
  control: n,
@@ -13870,7 +13848,7 @@ const _V = (t, e) => {
13870
13848
  return console.error(i), [];
13871
13849
  }
13872
13850
  }, HV = (t, e) => {
13873
- const [n, r] = B.useState(""), i = Mx(n, 100), o = {
13851
+ const [n, r] = B.useState(""), i = Px(n, 100), o = {
13874
13852
  queryKey: ["dadata", t, i],
13875
13853
  queryFn: ({ signal: l }) => WV(i, t, e, l),
13876
13854
  enabled: !!i,
@@ -14004,7 +13982,7 @@ const _V = (t, e) => {
14004
13982
  ) })
14005
13983
  }
14006
13984
  );
14007
- }, jU = ({ ...t }) => /* @__PURE__ */ T.jsx(Is, { dadataType: "fio", ...t }), BU = ({ ...t }) => /* @__PURE__ */ T.jsx(Is, { dadataType: "auto", ...t }), VU = ({ ...t }) => /* @__PURE__ */ T.jsx(Is, { dadataType: "country", ...t }), LU = ({ ...t }) => /* @__PURE__ */ T.jsx(Is, { dadataType: "address", ...t }), GU = ({ ...t }) => /* @__PURE__ */ T.jsx(Is, { dadataType: "party", ...t });
13985
+ }, BU = ({ ...t }) => /* @__PURE__ */ T.jsx(Is, { dadataType: "fio", ...t }), VU = ({ ...t }) => /* @__PURE__ */ T.jsx(Is, { dadataType: "auto", ...t }), LU = ({ ...t }) => /* @__PURE__ */ T.jsx(Is, { dadataType: "country", ...t }), GU = ({ ...t }) => /* @__PURE__ */ T.jsx(Is, { dadataType: "address", ...t }), _U = ({ ...t }) => /* @__PURE__ */ T.jsx(Is, { dadataType: "party", ...t });
14008
13986
  function Li(t) {
14009
13987
  "@babel/helpers - typeof";
14010
13988
  return Li = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
@@ -17985,7 +17963,7 @@ const TG = (t, e, n) => ({
17985
17963
  t == null ? void 0 : t.indicatorIcon
17986
17964
  )
17987
17965
  }
17988
- ) }), OG = ({ classes: t, ...e }) => /* @__PURE__ */ T.jsx(eo.MultiValueRemove, { ...e, children: /* @__PURE__ */ T.jsx(Be, { name: "general/close", className: z("size-4 text-icon-blue-grey-800", t == null ? void 0 : t.multiRemoveIcon) }) }), _U = ({
17966
+ ) }), OG = ({ classes: t, ...e }) => /* @__PURE__ */ T.jsx(eo.MultiValueRemove, { ...e, children: /* @__PURE__ */ T.jsx(Be, { name: "general/close", className: z("size-4 text-icon-blue-grey-800", t == null ? void 0 : t.multiRemoveIcon) }) }), zU = ({
17989
17967
  options: t,
17990
17968
  control: e,
17991
17969
  defaultValue: n,
@@ -33510,7 +33488,7 @@ const Lk = Vk(!1, !0), Gk = Vk(!0, !0), d$ = Xt.create({
33510
33488
  )
33511
33489
  ] }) : null;
33512
33490
  }
33513
- ), WU = ({
33491
+ ), HU = ({
33514
33492
  control: t,
33515
33493
  label: e,
33516
33494
  helperText: n,
@@ -33623,7 +33601,7 @@ var z$ = (t) => {
33623
33601
  function $k(t) {
33624
33602
  return t ? "checked" : "unchecked";
33625
33603
  }
33626
- var W$ = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], wm = "RadioGroup", [H$, HU] = Kr(wm, [
33604
+ var W$ = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], wm = "RadioGroup", [H$, $U] = Kr(wm, [
33627
33605
  $u,
33628
33606
  _k
33629
33607
  ]), Xk = $u(), Yk = _k(), [$$, X$] = H$(wm), Uk = B.forwardRef(
@@ -33790,7 +33768,7 @@ const U$ = ({ radioItemsGroup: t, classes: e, error: n }) => /* @__PURE__ */ T.j
33790
33768
  defaultVariants: {
33791
33769
  orientation: "vertical"
33792
33770
  }
33793
- }), $U = ({
33771
+ }), XU = ({
33794
33772
  radioItemsGroup: t,
33795
33773
  control: e,
33796
33774
  groupName: n,
@@ -33921,7 +33899,7 @@ const U$ = ({ radioItemsGroup: t, classes: e, error: n }) => /* @__PURE__ */ T.j
33921
33899
  r.engName
33922
33900
  ))
33923
33901
  }
33924
- ), XU = ({
33902
+ ), YU = ({
33925
33903
  label: t,
33926
33904
  size: e = "full",
33927
33905
  helperText: n,
@@ -34210,7 +34188,7 @@ const sE = gt(({ index: t, classes: e, ...n }, r) => {
34210
34188
  );
34211
34189
  });
34212
34190
  sE.displayName = "InputOTPSlot";
34213
- const YU = ({
34191
+ const UU = ({
34214
34192
  control: t,
34215
34193
  inputLength: e = 4,
34216
34194
  classes: n,
@@ -37961,10 +37939,10 @@ const Hy = !(typeof window < "u" && window.document && window.document.createEle
37961
37939
  }
37962
37940
  }
37963
37941
  });
37964
- return /* @__PURE__ */ T.jsx(Sm, { ref: Ox(i, r), ...n });
37942
+ return /* @__PURE__ */ T.jsx(Sm, { ref: Dx(i, r), ...n });
37965
37943
  });
37966
37944
  lE.displayName = "MaskInput";
37967
- const UU = (t) => !!t && !Array.isArray(t), wX = ({
37945
+ const ZU = (t) => !!t && !Array.isArray(t), wX = ({
37968
37946
  options: t,
37969
37947
  displayValue: e,
37970
37948
  isSearchable: n = !1,
@@ -38213,12 +38191,12 @@ const cE = gt(
38213
38191
  ({ defaultOpen: t = !1, value: e, onChange: n, disabled: r, externalHandlers: i, classes: o, ...a }, s) => {
38214
38192
  const { onChange: l, onFocus: u, ...c } = i || {}, d = Ce(null), [f, p] = De(t), h = () => {
38215
38193
  p((w) => !w);
38216
- }, [m, g] = De(/* @__PURE__ */ new Date()), [b, x] = De(vl(/* @__PURE__ */ new Date(), Ta));
38194
+ }, [m, g] = De(/* @__PURE__ */ new Date()), [b, x] = De(vl(/* @__PURE__ */ new Date(), wa));
38217
38195
  Ou(d, () => p(!1));
38218
38196
  const S = e ? new Date(e) : /* @__PURE__ */ new Date(), v = (w) => {
38219
38197
  if (x(w), !/^(\d{2})\.(\d{2})\.(\d{4})$/.test(w))
38220
38198
  return;
38221
- const I = Ax(w, Ta, /* @__PURE__ */ new Date());
38199
+ const I = Ox(w, wa, /* @__PURE__ */ new Date());
38222
38200
  if (Op(I)) {
38223
38201
  const A = I.toISOString();
38224
38202
  n && n(A), l && l(A), g(I);
@@ -38226,9 +38204,9 @@ const cE = gt(
38226
38204
  }, y = (w) => {
38227
38205
  g(w);
38228
38206
  const E = w.toISOString();
38229
- n && n(E), l && l(E), x(vl(w, Ta)), p(!1);
38207
+ n && n(E), l && l(E), x(vl(w, wa)), p(!1);
38230
38208
  }, { root: C, input: k } = o || {};
38231
- return /* @__PURE__ */ T.jsx("div", { ref: d, className: z("relative w-full", C), children: /* @__PURE__ */ T.jsxs(Jx, { mode: "sync", children: [
38209
+ return /* @__PURE__ */ T.jsx("div", { ref: d, className: z("relative w-full", C), children: /* @__PURE__ */ T.jsxs(qx, { mode: "sync", children: [
38232
38210
  /* @__PURE__ */ T.jsx(
38233
38211
  Zt.MaskInput,
38234
38212
  {
@@ -38319,7 +38297,7 @@ const kX = ({
38319
38297
  onChange: i,
38320
38298
  ...o
38321
38299
  }) => {
38322
- const [a, s] = De(""), l = Mx(a, 100), { data: u } = e(l), c = u ? u.map(t) : [], d = (p) => {
38300
+ const [a, s] = De(""), l = Px(a, 100), { data: u } = e(l), c = u ? u.map(t) : [], d = (p) => {
38323
38301
  !p || Array.isArray(p) || i && i(r ? r(p) : p.value);
38324
38302
  }, f = Pe(() => c.find((p) => r ? r(p) : p.value === n), [c, r, n]);
38325
38303
  return /* @__PURE__ */ T.jsx(
@@ -38378,7 +38356,7 @@ var pE = ["PageUp", "PageDown"], hE = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arr
38378
38356
  "from-right": ["Home", "PageDown", "ArrowDown", "ArrowRight"],
38379
38357
  "from-bottom": ["Home", "PageDown", "ArrowDown", "ArrowLeft"],
38380
38358
  "from-top": ["Home", "PageDown", "ArrowUp", "ArrowLeft"]
38381
- }, qo = "Slider", [bp, MX, OX] = bx(qo), [gE, ZU] = Kr(qo, [
38359
+ }, qo = "Slider", [bp, MX, OX] = bx(qo), [gE, JU] = Kr(qo, [
38382
38360
  OX
38383
38361
  ]), [PX, vc] = gE(qo), km = B.forwardRef(
38384
38362
  (t, e) => {
@@ -38882,7 +38860,7 @@ const UX = /* @__PURE__ */ T.jsx(
38882
38860
  thousandsGroupStyle: "thousand",
38883
38861
  thousandSeparator: " ",
38884
38862
  allowNegative: !1,
38885
- getInputRef: Ox(b, m),
38863
+ getInputRef: Dx(b, m),
38886
38864
  onValueChange: ({ floatValue: j }) => {
38887
38865
  j && (s(j), n != null && n.onInputChange && n.onInputChange(j));
38888
38866
  },
@@ -39741,7 +39719,7 @@ if (process.env.NODE_ENV !== "production") {
39741
39719
  } else
39742
39720
  xp.exports = oY()();
39743
39721
  var lY = xp.exports;
39744
- const et = /* @__PURE__ */ EI(lY), uY = /* @__PURE__ */ new Map([
39722
+ const et = /* @__PURE__ */ kI(lY), uY = /* @__PURE__ */ new Map([
39745
39723
  // https://github.com/guzzle/psr7/blob/2d9260799e713f1c475d3c5fdc3d6561ff7441b2/src/MimeType.php
39746
39724
  ["1km", "application/vnd.1000minds.decision-model+xml"],
39747
39725
  ["3dml", "text/vnd.in3d.3dml"],
@@ -41919,7 +41897,7 @@ const n6 = ({ dropzoneOptions: t, controlledFiles: e, onChange: n }) => {
41919
41897
  ] })
41920
41898
  ] }, r.name);
41921
41899
  }, a6 = ({ files: t, filesStatus: e, classes: n, removeFile: r }) => {
41922
- const i = kI.isArrayEmpty(t), { root: o, file: a } = n || {};
41900
+ const i = EI.isArrayEmpty(t), { root: o, file: a } = n || {};
41923
41901
  return i ? null : /* @__PURE__ */ T.jsx("ul", { className: z("flex max-w-[476px] flex-col gap-1 px-1", o), children: t.map((s, l) => /* @__PURE__ */ T.jsx(
41924
41902
  o6,
41925
41903
  {
@@ -42383,11 +42361,11 @@ function F6(t, e) {
42383
42361
  switch (t) {
42384
42362
  case "range":
42385
42363
  const [n, r] = Object.values(e).map((o) => new Date(o));
42386
- return [n ? Bc(n) : void 0, r ? Bc(r) : void 0].join("-");
42364
+ return [n ? kc(n) : void 0, r ? kc(r) : void 0].join("-");
42387
42365
  case "single":
42388
42366
  default:
42389
42367
  const i = e ? new Date(e) : /* @__PURE__ */ new Date();
42390
- return e ? Bc(i) : "";
42368
+ return e ? kc(i) : "";
42391
42369
  }
42392
42370
  }
42393
42371
  function j6(t, e) {
@@ -42414,7 +42392,7 @@ const B6 = ({ inputProps: t, classes: e, value: n, onChange: r, externalHandlers
42414
42392
  return r("");
42415
42393
  if (!N6.test(k))
42416
42394
  return;
42417
- const w = Ax(k, Ta, /* @__PURE__ */ new Date());
42395
+ const w = Ox(k, wa, /* @__PURE__ */ new Date());
42418
42396
  if (Op(w)) {
42419
42397
  const E = w.toISOString();
42420
42398
  r(E), g(w), a && a(E);
@@ -42422,7 +42400,7 @@ const B6 = ({ inputProps: t, classes: e, value: n, onChange: r, externalHandlers
42422
42400
  }, y = (C) => {
42423
42401
  g(C);
42424
42402
  const k = C.toISOString();
42425
- r(k), S(vl(C, Ta)), p(!1), a && a(k);
42403
+ r(k), S(vl(C, wa)), p(!1), a && a(k);
42426
42404
  };
42427
42405
  return /* @__PURE__ */ T.jsxs("div", { ref: u, className: z("relative w-full", e == null ? void 0 : e.container), children: [
42428
42406
  /* @__PURE__ */ T.jsx(
@@ -42904,52 +42882,52 @@ const Y6 = ({
42904
42882
  export {
42905
42883
  ZE as Accordion,
42906
42884
  KE as Badge,
42907
- EU as Breadcrumbs,
42885
+ IU as Breadcrumbs,
42908
42886
  mx as Button,
42909
- fU as ButtonIcon,
42887
+ pU as ButtonIcon,
42910
42888
  E1 as Calendar,
42911
- OU as CheckboxControl,
42912
- _U as ComboboxControl,
42889
+ PU as CheckboxControl,
42890
+ zU as ComboboxControl,
42913
42891
  Hi as Controlled,
42914
- qU as CustomLink,
42915
- Ta as DATE_VISIBLE_PATTERN,
42916
- LU as DadataAddress,
42917
- BU as DadataAuto,
42918
- VU as DadataCountry,
42919
- jU as DadataFio,
42920
- GU as DadataOrganization,
42921
- IU as Document,
42922
- WU as EditorControl,
42923
- hU as FloatButton,
42892
+ QU as CustomLink,
42893
+ wa as DATE_VISIBLE_PATTERN,
42894
+ GU as DadataAddress,
42895
+ VU as DadataAuto,
42896
+ LU as DadataCountry,
42897
+ BU as DadataFio,
42898
+ _U as DadataOrganization,
42899
+ TU as Document,
42900
+ HU as EditorControl,
42901
+ mU as FloatButton,
42924
42902
  JE as Heading,
42925
42903
  F1 as Hint,
42926
42904
  Be as Icon,
42927
- TU as InputControl,
42928
- AU as InputControlMask,
42929
- XU as InputCurrencyControl,
42930
- YU as InputOtpControl,
42905
+ AU as InputControl,
42906
+ MU as InputControlMask,
42907
+ YU as InputCurrencyControl,
42908
+ UU as InputOtpControl,
42931
42909
  T2 as KeyboardShortcuts,
42932
- mU as Ligal,
42910
+ gU as Ligal,
42933
42911
  oI as Loader,
42934
- SU as Modal,
42912
+ kU as Modal,
42935
42913
  Lc as Notification,
42936
- kU as NotificationProvider,
42937
- QU as PhoneView,
42914
+ EU as NotificationProvider,
42915
+ eZ as PhoneView,
42938
42916
  Mu as Popover,
42939
- xU as ProgressBar,
42940
- $U as RadioControl,
42917
+ CU as ProgressBar,
42918
+ XU as RadioControl,
42941
42919
  _E as ResponsiveContainer,
42942
- eZ as Section,
42943
- pU as Skeleton,
42944
- DU as SwitchControl,
42945
- wU as TabsSwitcher,
42946
- RU as TextareaControl,
42920
+ tZ as Section,
42921
+ hU as Skeleton,
42922
+ RU as SwitchControl,
42923
+ SU as TabsSwitcher,
42924
+ NU as TextareaControl,
42947
42925
  Zt as Uncontrolled,
42948
- tZ as brandLogos,
42949
- oi as defaultClassNames,
42950
- Bc as formatDateToLocaleString,
42951
- k1 as formatDateToMonthString,
42952
- S1 as formatDateToYearString,
42953
- UU as isSingleOption
42926
+ nZ as brandLogos,
42927
+ ii as defaultClassNames,
42928
+ kc as formatDateToLocaleString,
42929
+ Mx as formatDateToMonthString,
42930
+ Ax as formatDateToYearString,
42931
+ ZU as isSingleOption
42954
42932
  };
42955
42933
  //# sourceMappingURL=ui.js.map