@devtron-labs/devtron-fe-common-lib 1.22.8-beta-5 → 1.22.8-beta-7

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 (63) hide show
  1. package/dist/{@code-editor-DIeTHBtL.js → @code-editor-QkakENNz.js} +8474 -8818
  2. package/dist/{@common-rjsf-vOQ8T4S1.js → @common-rjsf-BHsdR2Q-.js} +2 -2
  3. package/dist/{@framer-motion-Bi7d_Mil.js → @framer-motion-C1DEPd1l.js} +182 -182
  4. package/dist/{@moment-CGWt8tF2.js → @moment-CwOqp704.js} +493 -524
  5. package/dist/{@react-select-C5q5RdNV.js → @react-select-DRXgZqgY.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-LXSXNrbc.js → @react-virtualized-sticky-tree-BSwmpJIm.js} +1 -1
  7. package/dist/@vendor-D8IC1B-Y.js +122211 -0
  8. package/dist/Common/API/reactQueryHooks.d.ts +1 -2
  9. package/dist/Common/ClipboardButton/types.d.ts +0 -3
  10. package/dist/Common/Common.service.d.ts +1 -12
  11. package/dist/Common/Constants.d.ts +0 -6
  12. package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +4 -2
  13. package/dist/Common/DraggableWrapper/types.d.ts +2 -6
  14. package/dist/Common/GenericDescription/GenericDescription.d.ts +1 -1
  15. package/dist/Common/GenericDescription/constant.d.ts +40 -0
  16. package/dist/Common/GenericDescription/types.d.ts +0 -6
  17. package/dist/Common/GenericDescription/utils.d.ts +0 -1
  18. package/dist/Pages-Devtron-2.0/Navigation/types.d.ts +1 -1
  19. package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +1 -1
  20. package/dist/Shared/Components/AppStatusModal/types.d.ts +1 -4
  21. package/dist/Shared/Components/Charts/types.d.ts +2 -0
  22. package/dist/Shared/Components/DatePicker/DateTimePicker.d.ts +1 -1
  23. package/dist/Shared/Components/DatePicker/constants.d.ts +2 -112
  24. package/dist/Shared/Components/DatePicker/index.d.ts +0 -2
  25. package/dist/Shared/Components/DatePicker/types.d.ts +34 -29
  26. package/dist/Shared/Components/DatePicker/utils.d.ts +1 -1
  27. package/dist/Shared/Components/DocLink/constants.d.ts +1 -0
  28. package/dist/Shared/Components/FloatingVariablesSuggestions/FloatingVariablesSuggestions.d.ts +1 -1
  29. package/dist/Shared/Components/FloatingVariablesSuggestions/constants.d.ts +1 -4
  30. package/dist/Shared/Components/FloatingVariablesSuggestions/types.d.ts +2 -4
  31. package/dist/Shared/Components/Icon/Icon.d.ts +0 -14
  32. package/dist/Shared/Hooks/useGetResourceKindsOptions/index.d.ts +0 -1
  33. package/dist/Shared/Providers/MainContextProvider/index.d.ts +1 -1
  34. package/dist/Shared/Providers/MainContextProvider/types.d.ts +4 -45
  35. package/dist/Shared/Services/types.d.ts +0 -1
  36. package/dist/Shared/types.d.ts +1 -1
  37. package/dist/Shared/validations.d.ts +0 -1
  38. package/dist/assets/@code-editor.css +1 -1
  39. package/dist/assets/@vendor.css +1 -1
  40. package/dist/index.d.ts +1 -1
  41. package/dist/index.js +953 -969
  42. package/package.json +3 -8
  43. package/dist/@react-dates-CR-uCH60.js +0 -7634
  44. package/dist/@vendor-CtCMPfdc.js +0 -81580
  45. package/dist/Common/Markdown/constant.d.ts +0 -28
  46. package/dist/Shared/Components/DatePicker/DayPickerRangeController.d.ts +0 -2
  47. package/dist/Shared/Components/DatePicker/SingleDatePickerComponent.d.ts +0 -11
  48. package/dist/assets/@react-dates.css +0 -1
  49. package/dist/assets/ic-bell.d2aa01ec.svg +0 -3
  50. package/dist/assets/ic-bulb.3906a732.svg +0 -7
  51. package/dist/assets/ic-calender-blank.963e3423.svg +0 -19
  52. package/dist/assets/ic-close-circle.b39dd87d.svg +0 -3
  53. package/dist/assets/ic-comment.cc141b33.svg +0 -3
  54. package/dist/assets/ic-dot-circle.5ce1fccf.svg +0 -3
  55. package/dist/assets/ic-medium-megaphone.a069bf1d.svg +0 -5
  56. package/dist/assets/ic-new-chat.f7c90f8e.svg +0 -5
  57. package/dist/assets/ic-piggybank.3a4839d7.svg +0 -3
  58. package/dist/assets/ic-priority-high-fill.53755d8f.svg +0 -3
  59. package/dist/assets/ic-priority-low-fill.79e781ae.svg +0 -4
  60. package/dist/assets/ic-priority-urgent-fill.78d42fa0.svg +0 -10
  61. package/dist/assets/ic-red-bulb.25e01bfc.svg +0 -9
  62. package/dist/assets/ic-thumb-down-fill.e3cb6362.svg +0 -3
  63. package/dist/assets/ic-thumb-up-fill.ddf7c8eb.svg +0 -3
@@ -1,7 +1,7 @@
1
- import { aZ as m, a_ as lt, a$ as R, b0 as Zr, b1 as Le, b2 as oe, b3 as T, b4 as $e, b5 as at, b6 as Kt, b7 as Q, b8 as $r, b9 as oi, ba as si, bb as ui, bc as li, bd as fi, be as ci, bf as vi, bg as di, bh as qr, bi as pi, bj as hi, bk as mi, bl as gi, bm as yi, bn as Jr, bo as Pt, bp as he, bq as X, br as bi, bs as Qr, bt as z, bu as tn, bv as me, bw as Z, bx as Pi, by as Ot, bz as Vi, bA as Ti, bB as en, bC as Ft, bD as O, bE as ge, bF as Si, bG as se, bH as xi, bI as Ci } from "./@vendor-CtCMPfdc.js";
1
+ import { bb as m, bc as lt, bd as R, be as Zr, bf as Le, bg as oe, bh as T, bi as $e, bj as at, bk as Gt, bl as Q, bm as $r, bn as oi, bo as si, bp as ui, bq as li, br as fi, bs as ci, bt as vi, bu as di, bv as qr, bw as pi, bx as hi, by as mi, bz as gi, bA as yi, bB as Jr, bC as Pt, bD as he, bE as W, bF as bi, bG as Qr, bH as z, bI as tn, bJ as me, bK as Z, bL as Pi, bM as Ot, bN as Vi, bO as Ti, bP as en, bQ as Ft, bR as O, bS as ge, bT as Si, bU as se, bV as xi, bW as Ci } from "./@vendor-D8IC1B-Y.js";
2
2
  import * as k from "react";
3
- import Re, { createContext as St, useContext as F, useLayoutEffect as Ai, useEffect as N, useState as De, useRef as $, useCallback as ye, useMemo as Vt, forwardRef as wi, createElement as Ei, cloneElement as Li, Children as Ri, isValidElement as Di } from "react";
4
- var qe = "production", Me = typeof process > "u" || process.env === void 0 ? qe : process.env.NODE_ENV || qe, tt = function(t) {
3
+ import Re, { createContext as St, useContext as F, useLayoutEffect as Ai, useEffect as N, useState as Me, useRef as $, useCallback as ye, useMemo as Vt, forwardRef as wi, createElement as Ei, cloneElement as Li, Children as Ri, isValidElement as Mi } from "react";
4
+ var qe = "production", De = typeof process > "u" || process.env === void 0 ? qe : process.env.NODE_ENV || qe, tt = function(t) {
5
5
  return {
6
6
  isEnabled: function(e) {
7
7
  return t.some(function(r) {
@@ -38,7 +38,7 @@ var qe = "production", Me = typeof process > "u" || process.env === void 0 ? qe
38
38
  "onViewportLeave"
39
39
  ])
40
40
  };
41
- function Mi(t) {
41
+ function Di(t) {
42
42
  for (var e in t)
43
43
  t[e] !== null && (e === "projectionNodeConstructor" ? jt.projectionNodeConstructor = t[e] : jt[e].Component = t[e]);
44
44
  }
@@ -47,7 +47,7 @@ function Oi(t, e, r) {
47
47
  var n = [], i = F(rn);
48
48
  if (!e)
49
49
  return null;
50
- Me !== "production" && r && i.strict && lt(!1, "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");
50
+ De !== "production" && r && i.strict && lt(!1, "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");
51
51
  for (var s = 0; s < Ii; s++) {
52
52
  var o = nn[s], a = jt[o], u = a.isEnabled, l = a.Component;
53
53
  u(t) && l && n.push(k.createElement(l, m({ key: o }, t, { visualElement: e })));
@@ -77,7 +77,7 @@ function ji() {
77
77
  }
78
78
  function Bi() {
79
79
  !an && ji();
80
- var t = R(De(be.current), 1), e = t[0];
80
+ var t = R(Me(be.current), 1), e = t[0];
81
81
  return e;
82
82
  }
83
83
  function Ui() {
@@ -126,7 +126,7 @@ function Ni(t, e, r) {
126
126
  function on(t) {
127
127
  return Array.isArray(t);
128
128
  }
129
- function W(t) {
129
+ function X(t) {
130
130
  return typeof t == "string" || on(t);
131
131
  }
132
132
  function Hi(t) {
@@ -151,23 +151,23 @@ function re(t, e, r) {
151
151
  }
152
152
  function ne(t) {
153
153
  var e;
154
- return typeof ((e = t.animate) === null || e === void 0 ? void 0 : e.start) == "function" || W(t.initial) || W(t.animate) || W(t.whileHover) || W(t.whileDrag) || W(t.whileTap) || W(t.whileFocus) || W(t.exit);
154
+ return typeof ((e = t.animate) === null || e === void 0 ? void 0 : e.start) == "function" || X(t.initial) || X(t.animate) || X(t.whileHover) || X(t.whileDrag) || X(t.whileTap) || X(t.whileFocus) || X(t.exit);
155
155
  }
156
156
  function un(t) {
157
157
  return !!(ne(t) || t.variants);
158
158
  }
159
- function Gi(t, e) {
159
+ function Ki(t, e) {
160
160
  if (ne(t)) {
161
161
  var r = t.initial, n = t.animate;
162
162
  return {
163
- initial: r === !1 || W(r) ? r : void 0,
164
- animate: W(n) ? n : void 0
163
+ initial: r === !1 || X(r) ? r : void 0,
164
+ animate: X(n) ? n : void 0
165
165
  };
166
166
  }
167
167
  return t.inherit !== !1 ? e : {};
168
168
  }
169
- function Ki(t) {
170
- var e = Gi(t, F(ee)), r = e.initial, n = e.animate;
169
+ function Gi(t) {
170
+ var e = Ki(t, F(ee)), r = e.initial, n = e.animate;
171
171
  return Vt(function() {
172
172
  return { initial: r, animate: n };
173
173
  }, [Je(r), Je(n)]);
@@ -198,7 +198,7 @@ function Yi() {
198
198
  });
199
199
  }
200
200
  var Ie = St({}), ln = St({});
201
- function Xi(t, e, r, n) {
201
+ function Wi(t, e, r, n) {
202
202
  var i, s = e.layoutId, o = e.layout, a = e.drag, u = e.dragConstraints, l = e.layoutScroll, f = F(ln);
203
203
  !n || !r || r?.projection || (r.projection = new n(t, r.getLatestValues(), (i = r.parent) === null || i === void 0 ? void 0 : i.projection), r.projection.setOptions({
204
204
  layoutId: s,
@@ -220,7 +220,7 @@ function Xi(t, e, r, n) {
220
220
  layoutScroll: l
221
221
  }));
222
222
  }
223
- var Wi = (
223
+ var Xi = (
224
224
  /** @class */
225
225
  function(t) {
226
226
  Zr(e, t);
@@ -240,13 +240,13 @@ var Wi = (
240
240
  );
241
241
  function Zi(t) {
242
242
  var e = t.preloadedFeatures, r = t.createVisualElement, n = t.projectionNodeConstructor, i = t.useRender, s = t.useVisualState, o = t.Component;
243
- e && Mi(e);
243
+ e && Di(e);
244
244
  function a(u, l) {
245
245
  var f = $i(u);
246
246
  u = m(m({}, u), { layoutId: f });
247
- var v = F(_t), c = null, d = Ki(u), p = v.isStatic ? void 0 : Yi(), h = s(u, v.isStatic);
248
- return !v.isStatic && xt && (d.visualElement = _i(o, h, m(m({}, v), u), r), Xi(p, u, d.visualElement, n || jt.projectionNodeConstructor), c = Oi(u, d.visualElement, e)), k.createElement(
249
- Wi,
247
+ var v = F(_t), c = null, d = Gi(u), p = v.isStatic ? void 0 : Yi(), h = s(u, v.isStatic);
248
+ return !v.isStatic && xt && (d.visualElement = _i(o, h, m(m({}, v), u), r), Wi(p, u, d.visualElement, n || jt.projectionNodeConstructor), c = Oi(u, d.visualElement, e)), k.createElement(
249
+ Xi,
250
250
  { visualElement: d.visualElement, props: m(m({}, v), u) },
251
251
  c,
252
252
  k.createElement(ee.Provider, { value: d }, i(o, u, p, Ni(h, d.visualElement, l), h, v.isStatic, d.visualElement))
@@ -413,10 +413,10 @@ var sa = function(t, e) {
413
413
  rotateX: at,
414
414
  rotateY: at,
415
415
  rotateZ: at,
416
- scale: Kt,
417
- scaleX: Kt,
418
- scaleY: Kt,
419
- scaleZ: Kt,
416
+ scale: Gt,
417
+ scaleX: Gt,
418
+ scaleY: Gt,
419
+ scaleZ: Gt,
420
420
  skew: at,
421
421
  skewX: at,
422
422
  skewY: at,
@@ -821,9 +821,9 @@ var An = function(t, e) {
821
821
  return t(n, Ne(n));
822
822
  };
823
823
  return e ? wa(r) : r;
824
- }, Da = function() {
825
- return xt && window.onpointerdown === null;
826
824
  }, Ma = function() {
825
+ return xt && window.onpointerdown === null;
826
+ }, Da = function() {
827
827
  return xt && window.ontouchstart === null;
828
828
  }, Ia = function() {
829
829
  return xt && window.onmousedown === null;
@@ -843,7 +843,7 @@ var An = function(t, e) {
843
843
  pointercancel: "touchcancel"
844
844
  };
845
845
  function wn(t) {
846
- return Da() ? t : Ma() ? Fa[t] : Ia() ? Oa[t] : t;
846
+ return Ma() ? t : Da() ? Fa[t] : Ia() ? Oa[t] : t;
847
847
  }
848
848
  function bt(t, e, r, n) {
849
849
  return ie(t, wn(e), An(r, e === "pointerdown"), n);
@@ -889,8 +889,8 @@ function ja(t) {
889
889
  var e = t.onHoverStart, r = t.onHoverEnd, n = t.whileHover, i = t.visualElement;
890
890
  Jt(i, "pointerenter", e || n ? ir(i, !0, e) : void 0, { passive: !e }), Jt(i, "pointerleave", r || n ? ir(i, !1, r) : void 0, { passive: !r });
891
891
  }
892
- var Dn = function(t, e) {
893
- return e ? t === e ? !0 : Dn(t, e.parentElement) : !1;
892
+ var Mn = function(t, e) {
893
+ return e ? t === e ? !0 : Mn(t, e.parentElement) : !1;
894
894
  };
895
895
  function He(t) {
896
896
  return N(function() {
@@ -912,7 +912,7 @@ function Ba(t) {
912
912
  return f(), a.current = !1, (h = s.animationState) === null || h === void 0 || h.setActive(L.Tap, !1), !Rn();
913
913
  }
914
914
  function c(h, g) {
915
- v() && (Dn(s.getInstance(), h.target) ? e?.(h, g) : n?.(h, g));
915
+ v() && (Mn(s.getInstance(), h.target) ? e?.(h, g) : n?.(h, g));
916
916
  }
917
917
  function d(h, g) {
918
918
  v() && n?.(h, g);
@@ -924,7 +924,7 @@ function Ba(t) {
924
924
  Jt(s, "pointerdown", o ? p : void 0, l), He(f);
925
925
  }
926
926
  var ar = /* @__PURE__ */ new Set();
927
- function Mn(t, e, r) {
927
+ function Dn(t, e, r) {
928
928
  t || ar.has(e) || (console.warn(e), ar.add(e));
929
929
  }
930
930
  var Te = /* @__PURE__ */ new WeakMap(), ue = /* @__PURE__ */ new WeakMap(), Ua = function(t) {
@@ -951,21 +951,21 @@ function za(t) {
951
951
  isInView: !1
952
952
  }), u = !!(r || n || i);
953
953
  o.once && a.current.hasEnteredView && (u = !1);
954
- var l = typeof IntersectionObserver > "u" ? ka : Ka;
954
+ var l = typeof IntersectionObserver > "u" ? ka : Ga;
955
955
  l(u, a.current, e, o);
956
956
  }
957
- var Ga = {
957
+ var Ka = {
958
958
  some: 0,
959
959
  all: 1
960
960
  };
961
- function Ka(t, e, r, n) {
961
+ function Ga(t, e, r, n) {
962
962
  var i = n.root, s = n.margin, o = n.amount, a = o === void 0 ? "some" : o, u = n.once;
963
963
  N(function() {
964
964
  if (t) {
965
965
  var l = {
966
966
  root: i?.current,
967
967
  rootMargin: s,
968
- threshold: typeof a == "number" ? a : Ga[a]
968
+ threshold: typeof a == "number" ? a : Ka[a]
969
969
  }, f = function(v) {
970
970
  var c, d = v.isIntersecting;
971
971
  if (e.isInView !== d && (e.isInView = d, !(u && !d && e.hasEnteredView))) {
@@ -981,7 +981,7 @@ function Ka(t, e, r, n) {
981
981
  function ka(t, e, r, n) {
982
982
  var i = n.fallback, s = i === void 0 ? !0 : i;
983
983
  N(function() {
984
- !t || !s || (Me !== "production" && Mn(!1, "IntersectionObserver not available on this device. whileInView animations will trigger on mount."), requestAnimationFrame(function() {
984
+ !t || !s || (De !== "production" && Dn(!1, "IntersectionObserver not available on this device. whileInView animations will trigger on mount."), requestAnimationFrame(function() {
985
985
  var o;
986
986
  e.hasEnteredView = !0;
987
987
  var a = r.getProps().onViewportEnter;
@@ -998,10 +998,10 @@ var ut = function(t) {
998
998
  tap: ut(Ba),
999
999
  focus: ut(Aa),
1000
1000
  hover: ut(ja)
1001
- }, Xa = 0, Wa = function() {
1002
- return Xa++;
1001
+ }, Wa = 0, Xa = function() {
1002
+ return Wa++;
1003
1003
  }, In = function() {
1004
- return ft(Wa);
1004
+ return ft(Xa);
1005
1005
  };
1006
1006
  function On() {
1007
1007
  var t = F(Nt);
@@ -1104,23 +1104,23 @@ var Qt = function(t) {
1104
1104
  return Ut(e) ? r = $a : r = lr[t] || lr.default, m({ to: e }, r(e));
1105
1105
  }, Ja = m(m({}, dn), {
1106
1106
  // Color props
1107
- color: X,
1108
- backgroundColor: X,
1109
- outlineColor: X,
1110
- fill: X,
1111
- stroke: X,
1107
+ color: W,
1108
+ backgroundColor: W,
1109
+ outlineColor: W,
1110
+ fill: W,
1111
+ stroke: W,
1112
1112
  // Border props
1113
- borderColor: X,
1114
- borderTopColor: X,
1115
- borderRightColor: X,
1116
- borderBottomColor: X,
1117
- borderLeftColor: X,
1113
+ borderColor: W,
1114
+ borderTopColor: W,
1115
+ borderRightColor: W,
1116
+ borderBottomColor: W,
1117
+ borderLeftColor: W,
1118
1118
  filter: he,
1119
1119
  WebkitFilter: he
1120
1120
  }), ze = function(t) {
1121
1121
  return Ja[t];
1122
1122
  };
1123
- function Ge(t, e) {
1123
+ function Ke(t, e) {
1124
1124
  var r, n = ze(t);
1125
1125
  return n !== he && (n = Pt), (r = n.getAnimatableNone) === null || r === void 0 ? void 0 : r.call(n, e);
1126
1126
  }
@@ -1135,7 +1135,7 @@ function to(t) {
1135
1135
  return r && (a.offset = r), o.duration && (a.duration = Qt(o.duration)), o.repeatDelay && (a.repeatDelay = Qt(o.repeatDelay)), e && (a.ease = Za(e) ? e.map(sr) : sr(e)), o.type === "tween" && (a.type = "keyframes"), (n || s || i) && (tn(!fr, "yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."), fr = !0, n ? a.repeatType = "reverse" : s ? a.repeatType = "loop" : i && (a.repeatType = "mirror"), a.repeat = s || n || i || o.repeat), o.type !== "spring" && (a.type = "keyframes"), a;
1136
1136
  }
1137
1137
  function eo(t, e) {
1138
- var r, n, i = Ke(t, e) || {};
1138
+ var r, n, i = Ge(t, e) || {};
1139
1139
  return (n = (r = i.delay) !== null && r !== void 0 ? r : t.delay) !== null && n !== void 0 ? n : 0;
1140
1140
  }
1141
1141
  function ro(t) {
@@ -1146,8 +1146,8 @@ function no(t, e, r) {
1146
1146
  return Array.isArray(e.to) && ((n = t.duration) !== null && n !== void 0 || (t.duration = 0.8)), ro(e), Qa(t) || (t = m(m({}, t), qa(r, e.to))), m(m({}, e), to(t));
1147
1147
  }
1148
1148
  function io(t, e, r, n, i) {
1149
- var s, o = Ke(n, t), a = (s = o.from) !== null && s !== void 0 ? s : e.get(), u = ur(t, r);
1150
- a === "none" && u && typeof r == "string" ? a = Ge(t, r) : cr(a) && typeof r == "string" ? a = vr(r) : !Array.isArray(r) && cr(r) && typeof a == "string" && (r = vr(a));
1149
+ var s, o = Ge(n, t), a = (s = o.from) !== null && s !== void 0 ? s : e.get(), u = ur(t, r);
1150
+ a === "none" && u && typeof r == "string" ? a = Ke(t, r) : cr(a) && typeof r == "string" ? a = vr(r) : !Array.isArray(r) && cr(r) && typeof a == "string" && (r = vr(a));
1151
1151
  var l = ur(t, a);
1152
1152
  tn(l === u, "You are trying to animate ".concat(t, ' from "').concat(a, '" to "').concat(r, '". ').concat(a, " is not an animatable value - to enable this animation set ").concat(a, " to a value animatable to ").concat(r, " via the `style` property."));
1153
1153
  function f() {
@@ -1179,9 +1179,9 @@ function cr(t) {
1179
1179
  return t === 0 || typeof t == "string" && parseFloat(t) === 0 && t.indexOf(" ") === -1;
1180
1180
  }
1181
1181
  function vr(t) {
1182
- return typeof t == "number" ? 0 : Ge("", t);
1182
+ return typeof t == "number" ? 0 : Ke("", t);
1183
1183
  }
1184
- function Ke(t, e) {
1184
+ function Ge(t, e) {
1185
1185
  return t[e] || t.default || t;
1186
1186
  }
1187
1187
  function ke(t, e, r, n) {
@@ -1202,7 +1202,7 @@ var ao = function(t) {
1202
1202
  function Ye(t, e) {
1203
1203
  t.indexOf(e) === -1 && t.push(e);
1204
1204
  }
1205
- function Xe(t, e) {
1205
+ function We(t, e) {
1206
1206
  var r = t.indexOf(e);
1207
1207
  r > -1 && t.splice(r, 1);
1208
1208
  }
@@ -1215,7 +1215,7 @@ var Rt = (
1215
1215
  return t.prototype.add = function(e) {
1216
1216
  var r = this;
1217
1217
  return Ye(this.subscriptions, e), function() {
1218
- return Xe(r.subscriptions, e);
1218
+ return We(r.subscriptions, e);
1219
1219
  };
1220
1220
  }, t.prototype.notify = function(e, r, n) {
1221
1221
  var i = this.subscriptions.length;
@@ -1304,13 +1304,13 @@ var jn = function(t) {
1304
1304
  }
1305
1305
  }, Bn = [Le, T, Ot, at, Vi, Ti, lo], wt = function(t) {
1306
1306
  return Bn.find(jn(t));
1307
- }, fo = z(z([], R(Bn), !1), [X, Pt], !1), co = function(t) {
1307
+ }, fo = z(z([], R(Bn), !1), [W, Pt], !1), co = function(t) {
1308
1308
  return fo.find(jn(t));
1309
1309
  };
1310
1310
  function vo(t, e, r) {
1311
1311
  t.hasValue(e) ? t.getValue(e).set(r) : t.addValue(e, dt(r));
1312
1312
  }
1313
- function We(t, e) {
1313
+ function Xe(t, e) {
1314
1314
  var r = re(t, e), n = r ? t.makeTargetAnimatable(r, !1) : {}, i = n.transitionEnd, s = i === void 0 ? {} : i;
1315
1315
  n.transition;
1316
1316
  var o = Q(n, ["transitionEnd", "transition"]);
@@ -1324,7 +1324,7 @@ function Se(t, e) {
1324
1324
  var r = z([], R(e), !1).reverse();
1325
1325
  r.forEach(function(n) {
1326
1326
  var i, s = t.getVariant(n);
1327
- s && We(t, s), (i = t.variantChildren) === null || i === void 0 || i.forEach(function(o) {
1327
+ s && Xe(t, s), (i = t.variantChildren) === null || i === void 0 || i.forEach(function(o) {
1328
1328
  Se(o, e);
1329
1329
  });
1330
1330
  });
@@ -1334,7 +1334,7 @@ function po(t, e) {
1334
1334
  return Se(t, e);
1335
1335
  if (typeof e == "string")
1336
1336
  return Se(t, [e]);
1337
- We(t, e);
1337
+ Xe(t, e);
1338
1338
  }
1339
1339
  function ho(t, e, r) {
1340
1340
  var n, i, s, o, a = Object.keys(e).filter(function(d) {
@@ -1343,7 +1343,7 @@ function ho(t, e, r) {
1343
1343
  if (u)
1344
1344
  for (var l = 0; l < u; l++) {
1345
1345
  var f = a[l], v = e[f], c = null;
1346
- Array.isArray(v) && (c = v[0]), c === null && (c = (i = (n = r[f]) !== null && n !== void 0 ? n : t.readValue(f)) !== null && i !== void 0 ? i : e[f]), c != null && (typeof c == "string" && (ao(c) || oo(c)) ? c = parseFloat(c) : !co(c) && Pt.test(v) && (c = Ge(f, v)), t.addValue(f, dt(c)), (s = (o = r)[f]) !== null && s !== void 0 || (o[f] = c), t.setBaseTarget(f, c));
1346
+ Array.isArray(v) && (c = v[0]), c === null && (c = (i = (n = r[f]) !== null && n !== void 0 ? n : t.readValue(f)) !== null && i !== void 0 ? i : e[f]), c != null && (typeof c == "string" && (ao(c) || oo(c)) ? c = parseFloat(c) : !co(c) && Pt.test(v) && (c = Ke(f, v)), t.addValue(f, dt(c)), (s = (o = r)[f]) !== null && s !== void 0 || (o[f] = c), t.setBaseTarget(f, c));
1347
1347
  }
1348
1348
  }
1349
1349
  function mo(t, e) {
@@ -1412,7 +1412,7 @@ function _n(t, e, r) {
1412
1412
  }
1413
1413
  }
1414
1414
  return Promise.all(p).then(function() {
1415
- c && We(t, c);
1415
+ c && Xe(t, c);
1416
1416
  });
1417
1417
  }
1418
1418
  function yo(t, e, r, n, i, s) {
@@ -1474,27 +1474,27 @@ function Co(t) {
1474
1474
  e = f(t);
1475
1475
  }
1476
1476
  function u(f, v) {
1477
- for (var c, d = t.getProps(), p = t.getVariantContext(!0) || {}, h = [], g = /* @__PURE__ */ new Set(), b = {}, P = 1 / 0, S = function(D) {
1478
- var x = To[D], w = r[x], M = (c = d[x]) !== null && c !== void 0 ? c : p[x], G = W(M), B = x === v ? w.isActive : null;
1479
- B === !1 && (P = D);
1480
- var H = M === p[x] && M !== d[x] && G;
1477
+ for (var c, d = t.getProps(), p = t.getVariantContext(!0) || {}, h = [], g = /* @__PURE__ */ new Set(), b = {}, P = 1 / 0, S = function(M) {
1478
+ var x = To[M], w = r[x], D = (c = d[x]) !== null && c !== void 0 ? c : p[x], K = X(D), B = x === v ? w.isActive : null;
1479
+ B === !1 && (P = M);
1480
+ var H = D === p[x] && D !== d[x] && K;
1481
1481
  if (H && i && t.manuallyAnimateOnMount && (H = !1), w.protectedKeys = m({}, b), // If it isn't active and hasn't *just* been set as inactive
1482
1482
  !w.isActive && B === null || // If we didn't and don't have any defined prop for this animation type
1483
- !M && !w.prevProp || // Or if the prop doesn't define an animation
1484
- _e(M) || typeof M == "boolean")
1483
+ !D && !w.prevProp || // Or if the prop doesn't define an animation
1484
+ _e(D) || typeof D == "boolean")
1485
1485
  return "continue";
1486
- var rt = Ao(w.prevProp, M), nt = rt || // If we're making this variant active, we want to always make it active
1487
- x === v && w.isActive && !H && G || // If we removed a higher-priority variant (i is in reverse order)
1488
- D > P && G, it = Array.isArray(M) ? M : [M], K = it.reduce(s, {});
1489
- B === !1 && (K = {});
1490
- var Ct = w.prevResolvedValues, pt = Ct === void 0 ? {} : Ct, zt = m(m({}, pt), K), ht = function(V) {
1486
+ var rt = Ao(w.prevProp, D), nt = rt || // If we're making this variant active, we want to always make it active
1487
+ x === v && w.isActive && !H && K || // If we removed a higher-priority variant (i is in reverse order)
1488
+ M > P && K, it = Array.isArray(D) ? D : [D], G = it.reduce(s, {});
1489
+ B === !1 && (G = {});
1490
+ var Ct = w.prevResolvedValues, pt = Ct === void 0 ? {} : Ct, zt = m(m({}, pt), G), ht = function(V) {
1491
1491
  nt = !0, g.delete(V), w.needsAnimating[V] = !0;
1492
1492
  };
1493
1493
  for (var _ in zt) {
1494
- var E = K[_], y = pt[_];
1494
+ var E = G[_], y = pt[_];
1495
1495
  b.hasOwnProperty(_) || (E !== y ? Ut(E) && Ut(y) ? !Fn(E, y) || rt ? ht(_) : w.protectedKeys[_] = !0 : E !== void 0 ? ht(_) : g.add(_) : E !== void 0 && g.has(_) ? ht(_) : w.protectedKeys[_] = !0);
1496
1496
  }
1497
- w.prevProp = M, w.prevResolvedValues = K, w.isActive && (b = m(m({}, b), K)), i && t.blockInitialAnimation && (nt = !1), nt && !H && h.push.apply(h, z([], R(it.map(function(V) {
1497
+ w.prevProp = D, w.prevResolvedValues = G, w.isActive && (b = m(m({}, b), G)), i && t.blockInitialAnimation && (nt = !1), nt && !H && h.push.apply(h, z([], R(it.map(function(V) {
1498
1498
  return {
1499
1499
  animation: V,
1500
1500
  options: m({ type: x }, f)
@@ -1504,9 +1504,9 @@ function Co(t) {
1504
1504
  S(C);
1505
1505
  if (n = m({}, b), g.size) {
1506
1506
  var A = {};
1507
- g.forEach(function(D) {
1508
- var x = t.getBaseTarget(D);
1509
- x !== void 0 && (A[D] = x);
1507
+ g.forEach(function(M) {
1508
+ var x = t.getBaseTarget(M);
1509
+ x !== void 0 && (A[M] = x);
1510
1510
  }), h.push({ animation: A });
1511
1511
  }
1512
1512
  var I = !!h.length;
@@ -1652,22 +1652,22 @@ function pr(t, e, r) {
1652
1652
  function hr(t, e, r, n) {
1653
1653
  n === void 0 && (n = 0.5), t.origin = n, t.originPoint = O(e.min, e.max, t.origin), t.scale = et(r) / et(e), (pr(t.scale, 1, 1e-4) || isNaN(t.scale)) && (t.scale = 1), t.translate = O(r.min, r.max, t.origin) - t.originPoint, (pr(t.translate) || isNaN(t.translate)) && (t.translate = 0);
1654
1654
  }
1655
- function Dt(t, e, r, n) {
1655
+ function Mt(t, e, r, n) {
1656
1656
  hr(t.x, e.x, r.x, n?.originX), hr(t.y, e.y, r.y, n?.originY);
1657
1657
  }
1658
1658
  function mr(t, e, r) {
1659
1659
  t.min = r.min + e.min, t.max = t.min + et(e);
1660
1660
  }
1661
- function Do(t, e, r) {
1661
+ function Mo(t, e, r) {
1662
1662
  mr(t.x, e.x, r.x), mr(t.y, e.y, r.y);
1663
1663
  }
1664
1664
  function gr(t, e, r) {
1665
1665
  t.min = e.min - r.min, t.max = t.min + et(e);
1666
1666
  }
1667
- function Mt(t, e, r) {
1667
+ function Dt(t, e, r) {
1668
1668
  gr(t.x, e.x, r.x), gr(t.y, e.y, r.y);
1669
1669
  }
1670
- function Mo(t, e, r) {
1670
+ function Do(t, e, r) {
1671
1671
  var n = e.min, i = e.max;
1672
1672
  return n !== void 0 && t < n ? t = r ? O(n, t, r.min) : Math.max(t, n) : i !== void 0 && t > i && (t = r ? O(i, t, r.max) : Math.min(t, i)), t;
1673
1673
  }
@@ -1767,12 +1767,12 @@ function _o(t, e) {
1767
1767
  function ve(t) {
1768
1768
  return t === void 0 || t === 1;
1769
1769
  }
1770
- function Gn(t) {
1770
+ function Kn(t) {
1771
1771
  var e = t.scale, r = t.scaleX, n = t.scaleY;
1772
1772
  return !ve(e) || !ve(r) || !ve(n);
1773
1773
  }
1774
1774
  function ot(t) {
1775
- return Gn(t) || xr(t.x) || xr(t.y) || t.z || t.rotate || t.rotateX || t.rotateY;
1775
+ return Kn(t) || xr(t.x) || xr(t.y) || t.z || t.rotate || t.rotateX || t.rotateY;
1776
1776
  }
1777
1777
  function xr(t) {
1778
1778
  return t && t !== "0%";
@@ -1787,7 +1787,7 @@ function Cr(t, e, r, n, i) {
1787
1787
  function Ae(t, e, r, n, i) {
1788
1788
  e === void 0 && (e = 0), r === void 0 && (r = 1), t.min = Cr(t.min, e, r, n, i), t.max = Cr(t.max, e, r, n, i);
1789
1789
  }
1790
- function Kn(t, e) {
1790
+ function Gn(t, e) {
1791
1791
  var r = e.x, n = e.y;
1792
1792
  Ae(t.x, r.translate, r.scale, r.originPoint), Ae(t.y, n.translate, n.scale, n.originPoint);
1793
1793
  }
@@ -1798,7 +1798,7 @@ function No(t, e, r, n) {
1798
1798
  if (o) {
1799
1799
  e.x = e.y = 1;
1800
1800
  for (var a, u, l = 0; l < o; l++)
1801
- a = r[l], u = a.projectionDelta, ((s = (i = a.instance) === null || i === void 0 ? void 0 : i.style) === null || s === void 0 ? void 0 : s.display) !== "contents" && (n && a.options.layoutScroll && a.scroll && a !== a.root && yt(t, { x: -a.scroll.x, y: -a.scroll.y }), u && (e.x *= u.x.scale, e.y *= u.y.scale, Kn(t, u)), n && ot(a.latestValues) && yt(t, a.latestValues));
1801
+ a = r[l], u = a.projectionDelta, ((s = (i = a.instance) === null || i === void 0 ? void 0 : i.style) === null || s === void 0 ? void 0 : s.display) !== "contents" && (n && a.options.layoutScroll && a.scroll && a !== a.root && yt(t, { x: -a.scroll.x, y: -a.scroll.y }), u && (e.x *= u.x.scale, e.y *= u.y.scale, Gn(t, u)), n && ot(a.latestValues) && yt(t, a.latestValues));
1802
1802
  }
1803
1803
  }
1804
1804
  function st(t, e) {
@@ -1815,11 +1815,11 @@ function yt(t, e) {
1815
1815
  function kn(t, e) {
1816
1816
  return zn(_o(t.getBoundingClientRect(), e));
1817
1817
  }
1818
- function Go(t, e, r) {
1818
+ function Ko(t, e, r) {
1819
1819
  var n = kn(t, r), i = e.scroll;
1820
1820
  return i && (st(n.x, i.x), st(n.y, i.y)), n;
1821
1821
  }
1822
- var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1822
+ var Go = /* @__PURE__ */ new WeakMap(), ko = (
1823
1823
  /** @class */
1824
1824
  function() {
1825
1825
  function t(e) {
@@ -1837,8 +1837,8 @@ var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1837
1837
  if (Ot.test(A)) {
1838
1838
  var I = (C = (S = n.visualElement.projection) === null || S === void 0 ? void 0 : S.layout) === null || C === void 0 ? void 0 : C.actual[P];
1839
1839
  if (I) {
1840
- var D = et(I);
1841
- A = D * (parseFloat(A) / 100);
1840
+ var M = et(I);
1841
+ A = M * (parseFloat(A) / 100);
1842
1842
  }
1843
1843
  }
1844
1844
  n.originPoint[P] = A;
@@ -1880,7 +1880,7 @@ var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1880
1880
  var i = this.getProps().drag;
1881
1881
  if (!(!n || !Yt(e, i, this.currentDirection))) {
1882
1882
  var s = this.getAxisMotionValue(e), o = this.originPoint[e] + n[e];
1883
- this.constraints && this.constraints[e] && (o = Mo(o, this.constraints[e], this.elastic[e])), s.set(o);
1883
+ this.constraints && this.constraints[e] && (o = Do(o, this.constraints[e], this.elastic[e])), s.set(o);
1884
1884
  }
1885
1885
  }, t.prototype.resolveConstraints = function() {
1886
1886
  var e = this, r = this.getProps(), n = r.dragConstraints, i = r.dragElastic, s = (this.visualElement.projection || {}).layout, o = this.constraints;
@@ -1896,7 +1896,7 @@ var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1896
1896
  var s = this.visualElement.projection;
1897
1897
  if (!s || !s.layout)
1898
1898
  return !1;
1899
- var o = Go(i, s.root, this.visualElement.getTransformPagePoint()), a = Oo(s.layout.actual, o);
1899
+ var o = Ko(i, s.root, this.visualElement.getTransformPagePoint()), a = Oo(s.layout.actual, o);
1900
1900
  if (n) {
1901
1901
  var u = n(Uo(a));
1902
1902
  this.hasMutatedConstraints = !!u, u && (a = zn(u));
@@ -1958,7 +1958,7 @@ var Ko = /* @__PURE__ */ new WeakMap(), ko = (
1958
1958
  }
1959
1959
  }, t.prototype.addListeners = function() {
1960
1960
  var e = this, r;
1961
- Ko.set(this.visualElement, this);
1961
+ Go.set(this.visualElement, this);
1962
1962
  var n = this.visualElement.getInstance(), i = bt(n, "pointerdown", function(l) {
1963
1963
  var f = e.getProps(), v = f.drag, c = f.dragListener, d = c === void 0 ? !0 : c;
1964
1964
  v && d && e.start(l);
@@ -1993,7 +1993,7 @@ function Yo(t, e) {
1993
1993
  var r = null;
1994
1994
  return Math.abs(t.y) > e ? r = "y" : Math.abs(t.x) > e && (r = "x"), r;
1995
1995
  }
1996
- function Xo(t) {
1996
+ function Wo(t) {
1997
1997
  var e = t.dragControls, r = t.visualElement, n = ft(function() {
1998
1998
  return new ko(r);
1999
1999
  });
@@ -2003,7 +2003,7 @@ function Xo(t) {
2003
2003
  return n.addListeners();
2004
2004
  }, [n]);
2005
2005
  }
2006
- function Wo(t) {
2006
+ function Xo(t) {
2007
2007
  var e = t.onPan, r = t.onPanStart, n = t.onPanEnd, i = t.onPanSessionStart, s = t.visualElement, o = e || r || n || i, a = $(null), u = F(_t).transformPagePoint, l = {
2008
2008
  onSessionStart: i,
2009
2009
  onStart: r,
@@ -2025,9 +2025,9 @@ function Wo(t) {
2025
2025
  });
2026
2026
  }
2027
2027
  var Zo = {
2028
- pan: ut(Wo),
2029
- drag: ut(Xo)
2030
- }, Xt = [
2028
+ pan: ut(Xo),
2029
+ drag: ut(Wo)
2030
+ }, Wt = [
2031
2031
  "LayoutMeasure",
2032
2032
  "BeforeLayoutMeasure",
2033
2033
  "LayoutUpdate",
@@ -2042,7 +2042,7 @@ var Zo = {
2042
2042
  "Unmount"
2043
2043
  ];
2044
2044
  function $o() {
2045
- var t = Xt.map(function() {
2045
+ var t = Wt.map(function() {
2046
2046
  return new Rt();
2047
2047
  }), e = {}, r = {
2048
2048
  clearAllListeners: function() {
@@ -2051,16 +2051,16 @@ function $o() {
2051
2051
  });
2052
2052
  },
2053
2053
  updatePropListeners: function(n) {
2054
- Xt.forEach(function(i) {
2054
+ Wt.forEach(function(i) {
2055
2055
  var s, o = "on" + i, a = n[o];
2056
2056
  (s = e[i]) === null || s === void 0 || s.call(e), a && (e[i] = r[o](a));
2057
2057
  });
2058
2058
  }
2059
2059
  };
2060
2060
  return t.forEach(function(n, i) {
2061
- r["on" + Xt[i]] = function(s) {
2061
+ r["on" + Wt[i]] = function(s) {
2062
2062
  return n.add(s);
2063
- }, r["notify" + Xt[i]] = function() {
2063
+ }, r["notify" + Wt[i]] = function() {
2064
2064
  for (var s = [], o = 0; o < arguments.length; o++)
2065
2065
  s[o] = arguments[o];
2066
2066
  return n.notify.apply(n, z([], R(s), !1));
@@ -2072,7 +2072,7 @@ function qo(t, e, r) {
2072
2072
  for (var i in e) {
2073
2073
  var s = e[i], o = r[i];
2074
2074
  if (q(s))
2075
- t.addValue(i, s), process.env.NODE_ENV === "development" && Mn(s.version === "6.5.1", "Attempting to mix Framer Motion versions ".concat(s.version, " with 6.5.1 may not work as expected."));
2075
+ t.addValue(i, s), process.env.NODE_ENV === "development" && Dn(s.version === "6.5.1", "Attempting to mix Framer Motion versions ".concat(s.version, " with 6.5.1 may not work as expected."));
2076
2076
  else if (q(o))
2077
2077
  t.addValue(i, dt(s));
2078
2078
  else if (o !== s)
@@ -2091,9 +2091,9 @@ var Yn = function(t) {
2091
2091
  return function(c, d) {
2092
2092
  var p = c.parent, h = c.props, g = c.presenceId, b = c.blockInitialAnimation, P = c.visualState, S = c.shouldReduceMotion;
2093
2093
  d === void 0 && (d = {});
2094
- var C = !1, A = P.latestValues, I = P.renderState, D, x = $o(), w = /* @__PURE__ */ new Map(), M = /* @__PURE__ */ new Map(), G = {}, B = m({}, A), H;
2094
+ var C = !1, A = P.latestValues, I = P.renderState, M, x = $o(), w = /* @__PURE__ */ new Map(), D = /* @__PURE__ */ new Map(), K = {}, B = m({}, A), H;
2095
2095
  function rt() {
2096
- !D || !C || (nt(), a(D, I, h.style, E.projection));
2096
+ !M || !C || (nt(), a(M, I, h.style, E.projection));
2097
2097
  }
2098
2098
  function nt() {
2099
2099
  n(E, I, A, d, h);
@@ -2101,11 +2101,11 @@ var Yn = function(t) {
2101
2101
  function it() {
2102
2102
  x.notifyUpdate(A);
2103
2103
  }
2104
- function K(y, V) {
2105
- var U = V.onChange(function(Gt) {
2106
- A[y] = Gt, h.onUpdate && Z.update(it, !1, !0);
2104
+ function G(y, V) {
2105
+ var U = V.onChange(function(Kt) {
2106
+ A[y] = Kt, h.onUpdate && Z.update(it, !1, !0);
2107
2107
  }), At = V.onRenderRequest(E.scheduleRender);
2108
- M.set(y, function() {
2108
+ D.set(y, function() {
2109
2109
  U(), At();
2110
2110
  });
2111
2111
  }
@@ -2165,11 +2165,11 @@ var Yn = function(t) {
2165
2165
  * own animations on mount.
2166
2166
  */
2167
2167
  isMounted: function() {
2168
- return !!D;
2168
+ return !!M;
2169
2169
  },
2170
2170
  mount: function(y) {
2171
- C = !0, D = E.current = y, E.projection && E.projection.mount(y), _ && p && !ht && (H = p?.addVariantChild(E)), w.forEach(function(V, U) {
2172
- return K(U, V);
2171
+ C = !0, M = E.current = y, E.projection && E.projection.mount(y), _ && p && !ht && (H = p?.addVariantChild(E)), w.forEach(function(V, U) {
2172
+ return G(U, V);
2173
2173
  }), p?.children.add(E), E.setProps(h);
2174
2174
  },
2175
2175
  /**
@@ -2177,9 +2177,9 @@ var Yn = function(t) {
2177
2177
  */
2178
2178
  unmount: function() {
2179
2179
  var y;
2180
- (y = E.projection) === null || y === void 0 || y.unmount(), Ft.update(it), Ft.render(rt), M.forEach(function(V) {
2180
+ (y = E.projection) === null || y === void 0 || y.unmount(), Ft.update(it), Ft.render(rt), D.forEach(function(V) {
2181
2181
  return V();
2182
- }), H?.(), p?.children.delete(E), x.clearAllListeners(), D = void 0, C = !1;
2182
+ }), H?.(), p?.children.delete(E), x.clearAllListeners(), M = void 0, C = !1;
2183
2183
  },
2184
2184
  /**
2185
2185
  * Add a child visual element to our set of children.
@@ -2211,7 +2211,7 @@ var Yn = function(t) {
2211
2211
  * Returns the current instance.
2212
2212
  */
2213
2213
  getInstance: function() {
2214
- return D;
2214
+ return M;
2215
2215
  },
2216
2216
  /**
2217
2217
  * Get/set the latest static values.
@@ -2253,21 +2253,21 @@ var Yn = function(t) {
2253
2253
  * removed with a re-render to work.
2254
2254
  */
2255
2255
  measureViewportBox: function() {
2256
- return o(D, h);
2256
+ return o(M, h);
2257
2257
  },
2258
2258
  // Motion values ========================
2259
2259
  /**
2260
2260
  * Add a motion value and bind it to this visual element.
2261
2261
  */
2262
2262
  addValue: function(y, V) {
2263
- E.hasValue(y) && E.removeValue(y), w.set(y, V), A[y] = V.get(), K(y, V);
2263
+ E.hasValue(y) && E.removeValue(y), w.set(y, V), A[y] = V.get(), G(y, V);
2264
2264
  },
2265
2265
  /**
2266
2266
  * Remove a motion value and unbind any active subscriptions.
2267
2267
  */
2268
2268
  removeValue: function(y) {
2269
2269
  var V;
2270
- w.delete(y), (V = M.get(y)) === null || V === void 0 || V(), M.delete(y), delete A[y], l(y, I);
2270
+ w.delete(y), (V = D.get(y)) === null || V === void 0 || V(), D.delete(y), delete A[y], l(y, I);
2271
2271
  },
2272
2272
  /**
2273
2273
  * Check whether we have a motion value for this key
@@ -2296,7 +2296,7 @@ var Yn = function(t) {
2296
2296
  */
2297
2297
  readValue: function(y) {
2298
2298
  var V;
2299
- return (V = A[y]) !== null && V !== void 0 ? V : u(D, y, d);
2299
+ return (V = A[y]) !== null && V !== void 0 ? V : u(M, y, d);
2300
2300
  },
2301
2301
  /**
2302
2302
  * Set the base target to later animate back to. This is currently
@@ -2342,7 +2342,7 @@ var Yn = function(t) {
2342
2342
  * added to our map, old ones removed, and listeners updated.
2343
2343
  */
2344
2344
  setProps: function(y) {
2345
- (y.transformTemplate || h.transformTemplate) && E.scheduleRender(), h = y, x.updatePropListeners(y), G = qo(E, v(h), G);
2345
+ (y.transformTemplate || h.transformTemplate) && E.scheduleRender(), h = y, x.updatePropListeners(y), K = qo(E, v(h), K);
2346
2346
  },
2347
2347
  getProps: function() {
2348
2348
  return h;
@@ -2375,21 +2375,21 @@ var Yn = function(t) {
2375
2375
  return h.initial !== void 0 && (V.initial = h.initial), V;
2376
2376
  }
2377
2377
  for (var U = {}, At = 0; At < Jo; At++) {
2378
- var Gt = Xn[At], ae = h[Gt];
2379
- (W(ae) || ae === !1) && (U[Gt] = ae);
2378
+ var Kt = Wn[At], ae = h[Kt];
2379
+ (X(ae) || ae === !1) && (U[Kt] = ae);
2380
2380
  }
2381
2381
  return U;
2382
2382
  }
2383
2383
  });
2384
2384
  return E;
2385
2385
  };
2386
- }, Xn = z(["initial"], R(Ze), !1), Jo = Xn.length;
2386
+ }, Wn = z(["initial"], R(Ze), !1), Jo = Wn.length;
2387
2387
  function we(t) {
2388
2388
  return typeof t == "string" && t.startsWith("var(--");
2389
2389
  }
2390
- var Wn = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;
2390
+ var Xn = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;
2391
2391
  function Qo(t) {
2392
- var e = Wn.exec(t);
2392
+ var e = Xn.exec(t);
2393
2393
  if (!e)
2394
2394
  return [,];
2395
2395
  var r = R(e, 3), n = r[1], i = r[2];
@@ -2439,7 +2439,7 @@ var rs = /* @__PURE__ */ new Set([
2439
2439
  return Object.keys(t).some(Zn);
2440
2440
  }, $n = function(t, e) {
2441
2441
  t.set(e, !1), t.set(e);
2442
- }, Wt = function(t) {
2442
+ }, Xt = function(t) {
2443
2443
  return t === Le || t === T;
2444
2444
  }, wr;
2445
2445
  (function(t) {
@@ -2518,11 +2518,11 @@ var Rr = {
2518
2518
  var g = p.length, b = p[0] === null ? 1 : 0;
2519
2519
  c = p[b], d = wt(c);
2520
2520
  for (var P = b; P < g; P++)
2521
- h ? lt(wt(p[P]) === h, "All keyframes must be of the same type") : (h = wt(p[P]), lt(h === d || Wt(d) && Wt(h), "Keyframes must be of the same dimension as the current value"));
2521
+ h ? lt(wt(p[P]) === h, "All keyframes must be of the same type") : (h = wt(p[P]), lt(h === d || Xt(d) && Xt(h), "Keyframes must be of the same dimension as the current value"));
2522
2522
  } else
2523
2523
  h = wt(p);
2524
2524
  if (d !== h)
2525
- if (Wt(d) && Wt(h)) {
2525
+ if (Xt(d) && Xt(h)) {
2526
2526
  var S = v.get();
2527
2527
  typeof S == "string" && v.set(parseFloat(S)), typeof p == "string" ? e[f] = parseFloat(p) : Array.isArray(p) && h === T && (e[f] = p.map(parseFloat));
2528
2528
  } else d?.transform && h?.transform && (c === 0 || p === 0) ? c === 0 ? v.set(h.transform(c)) : e[f] = d.transform(p) : (o || (s = os(t), o = !0), a.push(f), n[f] = n[f] !== void 0 ? n[f] : e[f], $n(v, p));
@@ -2616,7 +2616,7 @@ var qn = {
2616
2616
  }, render: Pn })), ps = function(t, e) {
2617
2617
  return Oe(t) ? ds(e, { enableHardwareAcceleration: !1 }) : vs(e, { enableHardwareAcceleration: !0 });
2618
2618
  };
2619
- function Dr(t, e) {
2619
+ function Mr(t, e) {
2620
2620
  return e.max === e.min ? 0 : t / (e.max - e.min) * 100;
2621
2621
  }
2622
2622
  var Et = {
@@ -2628,14 +2628,14 @@ var Et = {
2628
2628
  t = parseFloat(t);
2629
2629
  else
2630
2630
  return t;
2631
- var r = Dr(t, e.target.x), n = Dr(t, e.target.y);
2631
+ var r = Mr(t, e.target.x), n = Mr(t, e.target.y);
2632
2632
  return "".concat(r, "% ").concat(n, "%");
2633
2633
  }
2634
- }, Mr = "_$css", hs = {
2634
+ }, Dr = "_$css", hs = {
2635
2635
  correct: function(t, e) {
2636
2636
  var r = e.treeScale, n = e.projectionDelta, i = t, s = t.includes("var("), o = [];
2637
- s && (t = t.replace(Wn, function(h) {
2638
- return o.push(h), Mr;
2637
+ s && (t = t.replace(Xn, function(h) {
2638
+ return o.push(h), Dr;
2639
2639
  }));
2640
2640
  var a = Pt.parse(t);
2641
2641
  if (a.length > 5)
@@ -2647,7 +2647,7 @@ var Et = {
2647
2647
  var d = u(a);
2648
2648
  if (s) {
2649
2649
  var p = 0;
2650
- d = d.replace(Mr, function() {
2650
+ d = d.replace(Dr, function() {
2651
2651
  var h = o[p];
2652
2652
  return p++, h;
2653
2653
  });
@@ -2799,7 +2799,7 @@ var Es = (
2799
2799
  return t.prototype.add = function(e) {
2800
2800
  Ye(this.members, e), e.scheduleRender();
2801
2801
  }, t.prototype.remove = function(e) {
2802
- if (Xe(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
2802
+ if (We(this.members, e), e === this.prevLead && (this.prevLead = void 0), e === this.lead) {
2803
2803
  var r = this.members[this.members.length - 1];
2804
2804
  r && this.promote(r);
2805
2805
  }
@@ -2849,7 +2849,7 @@ function Hr(t, e, r) {
2849
2849
  }
2850
2850
  var Rs = function(t, e) {
2851
2851
  return t.depth - e.depth;
2852
- }, Ds = (
2852
+ }, Ms = (
2853
2853
  /** @class */
2854
2854
  function() {
2855
2855
  function t() {
@@ -2858,7 +2858,7 @@ var Rs = function(t, e) {
2858
2858
  return t.prototype.add = function(e) {
2859
2859
  Ye(this.children, e), this.isDirty = !0;
2860
2860
  }, t.prototype.remove = function(e) {
2861
- Xe(this.children, e), this.isDirty = !0;
2861
+ We(this.children, e), this.isDirty = !0;
2862
2862
  }, t.prototype.forEach = function(e) {
2863
2863
  this.isDirty && this.children.sort(Rs), this.isDirty = !1, this.children.forEach(e);
2864
2864
  }, t;
@@ -2878,7 +2878,7 @@ function ri(t) {
2878
2878
  }, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.id = a, this.latestValues = u, this.root = l ? l.root || l : this, this.path = l ? z(z([], R(l.path), !1), [l], !1) : [], this.parent = l, this.depth = l ? l.depth + 1 : 0, a && this.root.registerPotentialNode(a, this);
2879
2879
  for (var v = 0; v < this.path.length; v++)
2880
2880
  this.path[v].shouldResetTransform = !0;
2881
- this.root === this && (this.nodes = new Ds());
2881
+ this.root === this && (this.nodes = new Ms());
2882
2882
  }
2883
2883
  return o.prototype.addEventListener = function(a, u) {
2884
2884
  return this.eventHandlers.has(a) || this.eventHandlers.set(a, new Rt()), this.eventHandlers.get(a).add(u);
@@ -2905,19 +2905,19 @@ function ri(t) {
2905
2905
  });
2906
2906
  }
2907
2907
  c && this.root.registerSharedNode(c, this), this.options.animate !== !1 && p && (c || d) && this.addEventListener("didUpdate", function(b) {
2908
- var P, S, C, A, I, D = b.delta, x = b.hasLayoutChanged, w = b.hasRelativeTargetChanged, M = b.layout;
2908
+ var P, S, C, A, I, M = b.delta, x = b.hasLayoutChanged, w = b.hasRelativeTargetChanged, D = b.layout;
2909
2909
  if (l.isTreeAnimationBlocked()) {
2910
2910
  l.target = void 0, l.relativeTarget = void 0;
2911
2911
  return;
2912
2912
  }
2913
- var G = (S = (P = l.options.transition) !== null && P !== void 0 ? P : p.getDefaultTransition()) !== null && S !== void 0 ? S : Gs, B = p.getProps(), H = B.onLayoutAnimationStart, rt = B.onLayoutAnimationComplete, nt = !l.targetLayout || !ei(l.targetLayout, M) || w, it = !x && w;
2913
+ var K = (S = (P = l.options.transition) !== null && P !== void 0 ? P : p.getDefaultTransition()) !== null && S !== void 0 ? S : Ks, B = p.getProps(), H = B.onLayoutAnimationStart, rt = B.onLayoutAnimationComplete, nt = !l.targetLayout || !ei(l.targetLayout, D) || w, it = !x && w;
2914
2914
  if (!((C = l.resumeFrom) === null || C === void 0) && C.instance || it || x && (nt || !l.currentAnimation)) {
2915
- l.resumeFrom && (l.resumingFrom = l.resumeFrom, l.resumingFrom.resumingFrom = void 0), l.setAnimationOrigin(D, it);
2916
- var K = m(m({}, Ke(G, "layout")), { onPlay: H, onComplete: rt });
2917
- p.shouldReduceMotion && (K.delay = 0, K.type = !1), l.startAnimation(K);
2915
+ l.resumeFrom && (l.resumingFrom = l.resumeFrom, l.resumingFrom.resumingFrom = void 0), l.setAnimationOrigin(M, it);
2916
+ var G = m(m({}, Ge(K, "layout")), { onPlay: H, onComplete: rt });
2917
+ p.shouldReduceMotion && (G.delay = 0, G.type = !1), l.startAnimation(G);
2918
2918
  } else
2919
2919
  !x && l.animationProgress === 0 && l.finishAnimation(), l.isLead() && ((I = (A = l.options).onExitComplete) === null || I === void 0 || I.call(A));
2920
- l.targetLayout = M;
2920
+ l.targetLayout = D;
2921
2921
  });
2922
2922
  }
2923
2923
  }, o.prototype.unmount = function() {
@@ -2956,10 +2956,10 @@ function ri(t) {
2956
2956
  }, o.prototype.didUpdate = function() {
2957
2957
  var a = this.isUpdateBlocked();
2958
2958
  if (a) {
2959
- this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Gr);
2959
+ this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Kr);
2960
2960
  return;
2961
2961
  }
2962
- this.isUpdating && (this.isUpdating = !1, this.potentialNodes.size && (this.potentialNodes.forEach(Ks), this.potentialNodes.clear()), this.nodes.forEach(Fs), this.nodes.forEach(Ms), this.nodes.forEach(Is), this.clearAllSnapshots(), se.update(), se.preRender(), se.render());
2962
+ this.isUpdating && (this.isUpdating = !1, this.potentialNodes.size && (this.potentialNodes.forEach(Gs), this.potentialNodes.clear()), this.nodes.forEach(Fs), this.nodes.forEach(Ds), this.nodes.forEach(Is), this.clearAllSnapshots(), se.update(), se.preRender(), se.render());
2963
2963
  }, o.prototype.clearAllSnapshots = function() {
2964
2964
  this.nodes.forEach(Os), this.sharedNodes.forEach(Ns);
2965
2965
  }, o.prototype.scheduleUpdateProjection = function() {
@@ -2972,7 +2972,7 @@ function ri(t) {
2972
2972
  }, o.prototype.updateSnapshot = function() {
2973
2973
  if (!(this.snapshot || !this.instance)) {
2974
2974
  var a = this.measure(), u = this.removeTransform(this.removeElementScroll(a));
2975
- Xr(u), this.snapshot = {
2975
+ Wr(u), this.snapshot = {
2976
2976
  measured: a,
2977
2977
  layout: u,
2978
2978
  latestValues: {}
@@ -2987,7 +2987,7 @@ function ri(t) {
2987
2987
  l.updateScroll();
2988
2988
  }
2989
2989
  var f = this.measure();
2990
- Xr(f);
2990
+ Wr(f);
2991
2991
  var v = this.layout;
2992
2992
  this.layout = {
2993
2993
  measured: f,
@@ -3041,7 +3041,7 @@ function ri(t) {
3041
3041
  for (var f = 0; f < this.path.length; f++) {
3042
3042
  var v = this.path[f];
3043
3043
  if (v.instance && ot(v.latestValues)) {
3044
- Gn(v.latestValues) && v.updateSnapshot();
3044
+ Kn(v.latestValues) && v.updateSnapshot();
3045
3045
  var c = j(), d = v.measure();
3046
3046
  Y(c, d), _r(l, v.latestValues, (u = v.snapshot) === null || u === void 0 ? void 0 : u.layout, c);
3047
3047
  }
@@ -3056,7 +3056,7 @@ function ri(t) {
3056
3056
  this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
3057
3057
  }, o.prototype.resolveTargetDelta = function() {
3058
3058
  var a, u = this.options, l = u.layout, f = u.layoutId;
3059
- !this.layout || !(l || f) || (!this.targetDelta && !this.relativeTarget && (this.relativeParent = this.getClosestProjectingParent(), this.relativeParent && this.relativeParent.layout && (this.relativeTarget = j(), this.relativeTargetOrigin = j(), Mt(this.relativeTargetOrigin, this.layout.actual, this.relativeParent.layout.actual), Y(this.relativeTarget, this.relativeTargetOrigin))), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = j(), this.targetWithTransforms = j()), this.relativeTarget && this.relativeTargetOrigin && (!((a = this.relativeParent) === null || a === void 0) && a.target) ? Do(this.target, this.relativeTarget, this.relativeParent.target) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.actual) : Y(this.target, this.layout.actual), Kn(this.target, this.targetDelta)) : Y(this.target, this.layout.actual), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.relativeParent = this.getClosestProjectingParent(), this.relativeParent && !!this.relativeParent.resumingFrom == !!this.resumingFrom && !this.relativeParent.options.layoutScroll && this.relativeParent.target && (this.relativeTarget = j(), this.relativeTargetOrigin = j(), Mt(this.relativeTargetOrigin, this.target, this.relativeParent.target), Y(this.relativeTarget, this.relativeTargetOrigin)))));
3059
+ !this.layout || !(l || f) || (!this.targetDelta && !this.relativeTarget && (this.relativeParent = this.getClosestProjectingParent(), this.relativeParent && this.relativeParent.layout && (this.relativeTarget = j(), this.relativeTargetOrigin = j(), Dt(this.relativeTargetOrigin, this.layout.actual, this.relativeParent.layout.actual), Y(this.relativeTarget, this.relativeTargetOrigin))), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = j(), this.targetWithTransforms = j()), this.relativeTarget && this.relativeTargetOrigin && (!((a = this.relativeParent) === null || a === void 0) && a.target) ? Mo(this.target, this.relativeTarget, this.relativeParent.target) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.actual) : Y(this.target, this.layout.actual), Gn(this.target, this.targetDelta)) : Y(this.target, this.layout.actual), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.relativeParent = this.getClosestProjectingParent(), this.relativeParent && !!this.relativeParent.resumingFrom == !!this.resumingFrom && !this.relativeParent.options.layoutScroll && this.relativeParent.target && (this.relativeTarget = j(), this.relativeTargetOrigin = j(), Dt(this.relativeTargetOrigin, this.target, this.relativeParent.target), Y(this.relativeTarget, this.relativeTargetOrigin)))));
3060
3060
  }, o.prototype.getClosestProjectingParent = function() {
3061
3061
  if (!(!this.parent || ot(this.parent.latestValues)))
3062
3062
  return (this.parent.relativeTarget || this.parent.targetDelta) && this.parent.layout ? this.parent : this.parent.getClosestProjectingParent();
@@ -3069,7 +3069,7 @@ function ri(t) {
3069
3069
  if (c) {
3070
3070
  this.projectionDelta || (this.projectionDelta = It(), this.projectionDeltaWithTransform = It());
3071
3071
  var d = this.treeScale.x, p = this.treeScale.y, h = this.projectionTransform;
3072
- Dt(this.projectionDelta, this.layoutCorrected, c, this.latestValues), this.projectionTransform = Hr(this.projectionDelta, this.treeScale), (this.projectionTransform !== h || this.treeScale.x !== d || this.treeScale.y !== p) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", c));
3072
+ Mt(this.projectionDelta, this.layoutCorrected, c, this.latestValues), this.projectionTransform = Hr(this.projectionDelta, this.treeScale), (this.projectionTransform !== h || this.treeScale.x !== d || this.treeScale.y !== p) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", c));
3073
3073
  }
3074
3074
  }
3075
3075
  }, o.prototype.hide = function() {
@@ -3087,7 +3087,7 @@ function ri(t) {
3087
3087
  var h = j(), g = v?.isShared, b = (((f = this.getStack()) === null || f === void 0 ? void 0 : f.members.length) || 0) <= 1, P = !!(g && !b && this.options.crossfade === !0 && !this.path.some(zs));
3088
3088
  this.animationProgress = 0, this.mixTargetDelta = function(S) {
3089
3089
  var C, A = S / 1e3;
3090
- Kr(p.x, a.x, A), Kr(p.y, a.y, A), l.setTargetDelta(p), l.relativeTarget && l.relativeTargetOrigin && l.layout && (!((C = l.relativeParent) === null || C === void 0) && C.layout) && (Mt(h, l.layout.actual, l.relativeParent.layout.actual), Hs(l.relativeTarget, l.relativeTargetOrigin, h, A)), g && (l.animationValues = d, Ts(d, c, l.latestValues, A, P, b)), l.root.scheduleUpdateProjection(), l.scheduleRender(), l.animationProgress = A;
3090
+ Gr(p.x, a.x, A), Gr(p.y, a.y, A), l.setTargetDelta(p), l.relativeTarget && l.relativeTargetOrigin && l.layout && (!((C = l.relativeParent) === null || C === void 0) && C.layout) && (Dt(h, l.layout.actual, l.relativeParent.layout.actual), Hs(l.relativeTarget, l.relativeTargetOrigin, h, A)), g && (l.animationValues = d, Ts(d, c, l.latestValues, A, P, b)), l.root.scheduleUpdateProjection(), l.scheduleRender(), l.animationProgress = A;
3091
3091
  }, this.mixTargetDelta(0);
3092
3092
  }, o.prototype.startAnimation = function(a) {
3093
3093
  var u = this, l, f;
@@ -3108,7 +3108,7 @@ function ri(t) {
3108
3108
  this.currentAnimation && ((a = this.mixTargetDelta) === null || a === void 0 || a.call(this, zr), this.currentAnimation.stop()), this.completeAnimation();
3109
3109
  }, o.prototype.applyTransformsToTarget = function() {
3110
3110
  var a = this.getLead(), u = a.targetWithTransforms, l = a.target, f = a.layout, v = a.latestValues;
3111
- !u || !l || !f || (Y(u, l), yt(u, v), Dt(this.projectionDeltaWithTransform, this.layoutCorrected, u, v));
3111
+ !u || !l || !f || (Y(u, l), yt(u, v), Mt(this.projectionDeltaWithTransform, this.layoutCorrected, u, v));
3112
3112
  }, o.prototype.registerSharedNode = function(a, u) {
3113
3113
  var l, f, v;
3114
3114
  this.sharedNodes.has(a) || this.sharedNodes.set(a, new Es());
@@ -3174,12 +3174,12 @@ function ri(t) {
3174
3174
  p.transformOrigin = "".concat(C.origin * 100, "% ").concat(A.origin * 100, "% 0"), g.animationValues ? p.opacity = g === this ? (v = (f = P.opacity) !== null && f !== void 0 ? f : this.latestValues.opacity) !== null && v !== void 0 ? v : 1 : this.preserveOpacity ? this.latestValues.opacity : P.opacityExit : p.opacity = g === this ? (c = P.opacity) !== null && c !== void 0 ? c : "" : (d = P.opacityExit) !== null && d !== void 0 ? d : 0;
3175
3175
  for (var I in $t)
3176
3176
  if (P[I] !== void 0) {
3177
- var D = $t[I], x = D.correct, w = D.applyTo, M = x(P[I], g);
3177
+ var M = $t[I], x = M.correct, w = M.applyTo, D = x(P[I], g);
3178
3178
  if (w)
3179
- for (var G = w.length, B = 0; B < G; B++)
3180
- p[w[B]] = M;
3179
+ for (var K = w.length, B = 0; B < K; B++)
3180
+ p[w[B]] = D;
3181
3181
  else
3182
- p[I] = M;
3182
+ p[I] = D;
3183
3183
  }
3184
3184
  return this.options.layoutId && (p.pointerEvents = g === this ? Zt(a.pointerEvents) || "" : "none"), p;
3185
3185
  }, o.prototype.clearSnapshot = function() {
@@ -3188,12 +3188,12 @@ function ri(t) {
3188
3188
  this.root.nodes.forEach(function(a) {
3189
3189
  var u;
3190
3190
  return (u = a.currentAnimation) === null || u === void 0 ? void 0 : u.stop();
3191
- }), this.root.nodes.forEach(Gr), this.root.sharedNodes.clear();
3191
+ }), this.root.nodes.forEach(Kr), this.root.sharedNodes.clear();
3192
3192
  }, o;
3193
3193
  }()
3194
3194
  );
3195
3195
  }
3196
- function Ms(t) {
3196
+ function Ds(t) {
3197
3197
  t.updateLayout();
3198
3198
  }
3199
3199
  function Is(t) {
@@ -3208,17 +3208,17 @@ function Is(t) {
3208
3208
  S.max = S.min + C;
3209
3209
  });
3210
3210
  var l = It();
3211
- Dt(l, a, s.layout);
3211
+ Mt(l, a, s.layout);
3212
3212
  var f = It();
3213
- s.isShared ? Dt(f, t.applyTransform(u, !0), s.measured) : Dt(f, a, s.layout);
3213
+ s.isShared ? Mt(f, t.applyTransform(u, !0), s.measured) : Mt(f, a, s.layout);
3214
3214
  var v = !ti(l), c = !1;
3215
3215
  if (!t.resumeFrom && (t.relativeParent = t.getClosestProjectingParent(), t.relativeParent && !t.relativeParent.resumeFrom)) {
3216
3216
  var d = t.relativeParent, p = d.snapshot, h = d.layout;
3217
3217
  if (p && h) {
3218
3218
  var g = j();
3219
- Mt(g, s.layout, p.layout);
3219
+ Dt(g, s.layout, p.layout);
3220
3220
  var b = j();
3221
- Mt(b, a, h.actual), ei(g, b) || (c = !0);
3221
+ Dt(b, a, h.actual), ei(g, b) || (c = !0);
3222
3222
  }
3223
3223
  }
3224
3224
  t.notifyListeners("didUpdate", {
@@ -3235,7 +3235,7 @@ function Is(t) {
3235
3235
  function Os(t) {
3236
3236
  t.clearSnapshot();
3237
3237
  }
3238
- function Gr(t) {
3238
+ function Kr(t) {
3239
3239
  t.clearMeasurements();
3240
3240
  }
3241
3241
  function Fs(t) {
@@ -3257,7 +3257,7 @@ function _s(t) {
3257
3257
  function Ns(t) {
3258
3258
  t.removeLeadSnapshot();
3259
3259
  }
3260
- function Kr(t, e, r) {
3260
+ function Gr(t, e, r) {
3261
3261
  t.translate = O(e.translate, 0, r), t.scale = O(e.scale, 1, r), t.origin = e.origin, t.originPoint = e.originPoint;
3262
3262
  }
3263
3263
  function kr(t, e, r, n) {
@@ -3269,11 +3269,11 @@ function Hs(t, e, r, n) {
3269
3269
  function zs(t) {
3270
3270
  return t.animationValues && t.animationValues.opacityExit !== void 0;
3271
3271
  }
3272
- var Gs = {
3272
+ var Ks = {
3273
3273
  duration: 0.45,
3274
3274
  ease: [0.4, 0, 0.1, 1]
3275
3275
  };
3276
- function Ks(t, e) {
3276
+ function Gs(t, e) {
3277
3277
  for (var r = t.root, n = t.path.length - 1; n >= 0; n--)
3278
3278
  if (t.path[n].instance) {
3279
3279
  r = t.path[n];
@@ -3285,7 +3285,7 @@ function Ks(t, e) {
3285
3285
  function Yr(t) {
3286
3286
  t.min = Math.round(t.min), t.max = Math.round(t.max);
3287
3287
  }
3288
- function Xr(t) {
3288
+ function Wr(t) {
3289
3289
  Yr(t.x), Yr(t.y);
3290
3290
  }
3291
3291
  var ks = ri({
@@ -3323,8 +3323,8 @@ var ks = ri({
3323
3323
  checkIsScrollRoot: function(t) {
3324
3324
  return window.getComputedStyle(t).position === "fixed";
3325
3325
  }
3326
- }), Xs = m(m(m(m({}, Eo), Ya), Zo), bs), su = /* @__PURE__ */ qi(function(t, e) {
3327
- return Ca(t, e, Xs, ps, Ys);
3326
+ }), Ws = m(m(m(m({}, Eo), Ya), Zo), bs), su = /* @__PURE__ */ qi(function(t, e) {
3327
+ return Ca(t, e, Ws, ps, Ys);
3328
3328
  });
3329
3329
  function ni() {
3330
3330
  var t = $(!1);
@@ -3334,8 +3334,8 @@ function ni() {
3334
3334
  };
3335
3335
  }, []), t;
3336
3336
  }
3337
- function Ws() {
3338
- var t = ni(), e = R(De(0), 2), r = e[0], n = e[1], i = ye(function() {
3337
+ function Xs() {
3338
+ var t = ni(), e = R(Me(0), 2), r = e[0], n = e[1], i = ye(function() {
3339
3339
  t.current && n(r + 1);
3340
3340
  }, [r]), s = ye(function() {
3341
3341
  return Z.postRender(i);
@@ -3407,11 +3407,11 @@ function $s(t, e) {
3407
3407
  function qs(t) {
3408
3408
  var e = [];
3409
3409
  return Ri.forEach(t, function(r) {
3410
- Di(r) && e.push(r);
3410
+ Mi(r) && e.push(r);
3411
3411
  }), e;
3412
3412
  }
3413
3413
  var uu = function(t) {
3414
- var e = t.children, r = t.custom, n = t.initial, i = n === void 0 ? !0 : n, s = t.onExitComplete, o = t.exitBeforeEnter, a = t.presenceAffectsLayout, u = a === void 0 ? !0 : a, l = R(Ws(), 1), f = l[0], v = F(Ie).forceRender;
3414
+ var e = t.children, r = t.custom, n = t.initial, i = n === void 0 ? !0 : n, s = t.onExitComplete, o = t.exitBeforeEnter, a = t.presenceAffectsLayout, u = a === void 0 ? !0 : a, l = R(Xs(), 1), f = l[0], v = F(Ie).forceRender;
3415
3415
  v && (f = v);
3416
3416
  var c = ni(), d = qs(e), p = d, h = /* @__PURE__ */ new Set(), g = $(p), b = $(/* @__PURE__ */ new Map()).current, P = $(!0);
3417
3417
  if (Tt(function() {
@@ -3424,14 +3424,14 @@ var uu = function(t) {
3424
3424
  }));
3425
3425
  p = z([], R(p), !1);
3426
3426
  for (var S = g.current.map(mt), C = d.map(mt), A = S.length, I = 0; I < A; I++) {
3427
- var D = S[I];
3428
- C.indexOf(D) === -1 && h.add(D);
3427
+ var M = S[I];
3428
+ C.indexOf(M) === -1 && h.add(M);
3429
3429
  }
3430
3430
  return o && h.size && (p = []), h.forEach(function(x) {
3431
3431
  if (C.indexOf(x) === -1) {
3432
3432
  var w = b.get(x);
3433
3433
  if (w) {
3434
- var M = S.indexOf(x), G = function() {
3434
+ var D = S.indexOf(x), K = function() {
3435
3435
  b.delete(x), h.delete(x);
3436
3436
  var B = g.current.findIndex(function(H) {
3437
3437
  return H.key === x;
@@ -3442,13 +3442,13 @@ var uu = function(t) {
3442
3442
  f(), s && s();
3443
3443
  }
3444
3444
  };
3445
- p.splice(M, 0, k.createElement(pe, { key: mt(w), isPresent: !1, onExitComplete: G, custom: r, presenceAffectsLayout: u }, w));
3445
+ p.splice(D, 0, k.createElement(pe, { key: mt(w), isPresent: !1, onExitComplete: K, custom: r, presenceAffectsLayout: u }, w));
3446
3446
  }
3447
3447
  }
3448
3448
  }), p = p.map(function(x) {
3449
3449
  var w = x.key;
3450
3450
  return h.has(w) ? x : k.createElement(pe, { key: mt(x), isPresent: !0, presenceAffectsLayout: u }, x);
3451
- }), Me !== "production" && o && p.length > 1 && console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."), k.createElement(k.Fragment, null, h.size ? p : p.map(function(x) {
3451
+ }), De !== "production" && o && p.length > 1 && console.warn("You're attempting to animate multiple children within AnimatePresence, but its exitBeforeEnter prop is set to true. This will lead to odd visual behaviour."), k.createElement(k.Fragment, null, h.size ? p : p.map(function(x) {
3452
3452
  return Li(x);
3453
3453
  }));
3454
3454
  };
@@ -3457,7 +3457,7 @@ function ii(t) {
3457
3457
  return dt(t);
3458
3458
  }), r = F(_t).isStatic;
3459
3459
  if (r) {
3460
- var n = R(De(t), 2), i = n[1];
3460
+ var n = R(Me(t), 2), i = n[1];
3461
3461
  N(function() {
3462
3462
  return e.onChange(i);
3463
3463
  }, []);
@@ -3503,12 +3503,12 @@ function ai(t, e) {
3503
3503
  }
3504
3504
  function lu(t, e, r, n) {
3505
3505
  var i = typeof e == "function" ? e : tu(e, r, n);
3506
- return Array.isArray(t) ? Wr(t, i) : Wr([t], function(s) {
3506
+ return Array.isArray(t) ? Xr(t, i) : Xr([t], function(s) {
3507
3507
  var o = R(s, 1), a = o[0];
3508
3508
  return i(a);
3509
3509
  });
3510
3510
  }
3511
- function Wr(t, e) {
3511
+ function Xr(t, e) {
3512
3512
  var r = ft(function() {
3513
3513
  return [];
3514
3514
  });