likec4 1.58.0 → 1.59.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 (64) hide show
  1. package/__app__/codegen/webcomponent.mjs +14 -14
  2. package/__app__/src/chunks/AIChat.mjs +153 -156
  3. package/__app__/src/chunks/LikeC4Styles.mjs +1553 -1255
  4. package/__app__/src/chunks/ProjectsOverview.mjs +127 -130
  5. package/__app__/src/chunks/hooks.mjs +419 -106
  6. package/__app__/src/chunks/libs/@floating-ui.mjs +8 -8
  7. package/__app__/src/chunks/libs/@mantine.mjs +3039 -2135
  8. package/__app__/src/chunks/libs/@tanstack-ai.mjs +4 -4
  9. package/__app__/src/chunks/libs/@tanstack.mjs +93 -118
  10. package/__app__/src/chunks/libs/@xstate/react.mjs +30 -16
  11. package/__app__/src/chunks/libs/@xyflow/react.mjs +50 -26
  12. package/__app__/src/chunks/libs/bezier-js.mjs +11 -8
  13. package/__app__/src/chunks/libs/framer.mjs +1188 -1155
  14. package/__app__/src/chunks/libs/zod.mjs +191 -188
  15. package/__app__/src/chunks/rolldown-runtime.mjs +8 -1
  16. package/__app__/src/chunks/styled-system.mjs +23 -16
  17. package/__app__/src/main.mjs +23331 -10467
  18. package/__app__/src/style.css +1 -1
  19. package/dist/chunks/dist.mjs +10 -0
  20. package/dist/chunks/enableServer.mjs +1 -1
  21. package/dist/chunks/index.d.mts +9 -9
  22. package/dist/chunks/index2.d.mts +386 -229
  23. package/dist/chunks/libs/@chevrotain/gast.mjs +1 -1
  24. package/dist/chunks/libs/@chevrotain/regexp-to-ast.mjs +1 -1
  25. package/dist/chunks/libs/@logtape/logtape.mjs +3 -3
  26. package/dist/chunks/libs/@ts-graphviz/common.d.mts +1 -2
  27. package/dist/chunks/libs/@ts-graphviz/core.mjs +1 -1
  28. package/dist/chunks/libs/chevrotain-allstar.mjs +1 -1
  29. package/dist/chunks/libs/chevrotain.mjs +4 -4
  30. package/dist/chunks/libs/json5.mjs +1 -1
  31. package/dist/chunks/libs/langium.d.mts +2940 -2914
  32. package/dist/chunks/libs/langium.mjs +9 -9
  33. package/dist/chunks/libs/merge-error-cause.mjs +1 -1
  34. package/dist/chunks/libs/p-queue.mjs +1 -1
  35. package/dist/chunks/libs/package-manager-detector.mjs +1 -1
  36. package/dist/chunks/libs/pako.mjs +1 -1
  37. package/dist/chunks/libs/picomatch.mjs +1 -1
  38. package/dist/chunks/libs/remeda.mjs +1 -1
  39. package/dist/chunks/libs/ufo.mjs +1 -1
  40. package/dist/chunks/libs/unstorage.d.mts +1 -0
  41. package/dist/chunks/libs/which.mjs +1 -1
  42. package/dist/chunks/libs/zod.d.mts +48 -36
  43. package/dist/chunks/libs/zod.mjs +4 -4
  44. package/dist/chunks/logger.mjs +1 -0
  45. package/dist/chunks/node.mjs +57 -66
  46. package/dist/chunks/rolldown-runtime.mjs +1 -1
  47. package/dist/chunks/sequence-view.mjs +1 -1
  48. package/dist/chunks/vite-plugin.mjs +43 -43
  49. package/dist/cli/index.mjs +159 -157
  50. package/dist/index.d.mts +2 -3
  51. package/dist/index.mjs +1 -1
  52. package/dist/model/index.d.mts +5 -4
  53. package/dist/vite-plugin/index.d.mts +6 -9
  54. package/dist/vite-plugin/internal/index.d.mts +15 -10
  55. package/package.json +38 -38
  56. package/react/index.d.mts +761 -111
  57. package/react/index.mjs +13997 -10234
  58. package/__app__/src/chunks/DiagramActorProvider.mjs +0 -7638
  59. package/__app__/src/chunks/Markdown.mjs +0 -146
  60. package/__app__/src/chunks/NavigationPanel.mjs +0 -61
  61. package/__app__/src/chunks/adhoc-editor.mjs +0 -3386
  62. package/__app__/src/chunks/libs/@dagrejs/dagre.mjs +0 -1894
  63. package/__app__/src/chunks/libs/@tabler/icons-react.mjs +0 -252
  64. package/__app__/src/chunks/libs/remeda.mjs +0 -642
@@ -2,19 +2,19 @@ import { a as e, i as t, n, r } from "../rolldown-runtime.mjs";
2
2
  import * as i from "react";
3
3
  import { Children as a, Component as o, Fragment as s, createContext as c, createElement as l, forwardRef as u, isValidElement as d, useCallback as f, useContext as p, useEffect as m, useId as h, useInsertionEffect as g, useLayoutEffect as _, useMemo as v, useRef as y, useState as b } from "react";
4
4
  import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
5
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs
5
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/context/LayoutGroupContext.mjs
6
6
  var w = c({});
7
7
  //#endregion
8
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/use-constant.mjs
8
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/use-constant.mjs
9
9
  function useConstant(e) {
10
10
  let t = y(null);
11
11
  return t.current === null && (t.current = e()), t.current;
12
12
  }
13
13
  //#endregion
14
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs
14
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/use-isomorphic-effect.mjs
15
15
  var T = typeof window < "u" ? _ : m, E = /* @__PURE__ */ c(null);
16
16
  //#endregion
17
- //#region ../../node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/array.mjs
17
+ //#region ../../node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/array.mjs
18
18
  function addUniqueItem(e, t) {
19
19
  e.indexOf(t) === -1 && e.push(t);
20
20
  }
@@ -23,29 +23,21 @@ function removeItem(e, t) {
23
23
  n > -1 && e.splice(n, 1);
24
24
  }
25
25
  //#endregion
26
- //#region ../../node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/clamp.mjs
27
- var clamp = (e, t, n) => n > t ? t : n < e ? e : n, D = {}, isNumericalString = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);
26
+ //#region ../../node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/clamp.mjs
27
+ var clamp = (e, t, n) => n > t ? t : n < e ? e : n, invariant = () => {}, D = {}, isNumericalString = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e), isObject = (e) => typeof e == "object" && !!e, isZeroValueString = (e) => /^0[^.\s]+$/u.test(e);
28
28
  //#endregion
29
- //#region ../../node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-object.mjs
30
- function isObject(e) {
31
- return typeof e == "object" && !!e;
32
- }
33
- //#endregion
34
- //#region ../../node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/is-zero-value-string.mjs
35
- var isZeroValueString = (e) => /^0[^.\s]+$/u.test(e);
36
- //#endregion
37
- //#region ../../node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/memo.mjs
38
- /* @__NO_SIDE_EFFECTS__ */
29
+ //#region ../../node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/memo.mjs
30
+ /*#__NO_SIDE_EFFECTS__*/
39
31
  function memo$1(e) {
40
32
  let t;
41
33
  return () => (t === void 0 && (t = e()), t);
42
34
  }
43
35
  t(memo$1, "memo");
44
36
  //#endregion
45
- //#region ../../node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/noop.mjs
46
- var noop = /* @__NO_SIDE_EFFECTS__ */ (e) => e, combineFunctions = (e, t) => (n) => t(e(n)), pipe = (...e) => e.reduce(combineFunctions), progress = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
37
+ //#region ../../node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/noop.mjs
38
+ var noop = /* @__NO_SIDE_EFFECTS__ */ (e) => e, pipe = (...e) => e.reduce((e, t) => (n) => t(e(n))), progress = /* @__NO_SIDE_EFFECTS__ */ (e, t, n) => {
47
39
  let r = t - e;
48
- return r === 0 ? 1 : (n - e) / r;
40
+ return r ? (n - e) / r : 1;
49
41
  }, SubscriptionManager = class {
50
42
  constructor() {
51
43
  this.subscriptions = [];
@@ -67,15 +59,7 @@ var noop = /* @__NO_SIDE_EFFECTS__ */ (e) => e, combineFunctions = (e, t) => (n)
67
59
  clear() {
68
60
  this.subscriptions.length = 0;
69
61
  }
70
- }, secondsToMilliseconds = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, millisecondsToSeconds = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3;
71
- //#endregion
72
- //#region ../../node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/velocity-per-second.mjs
73
- function velocityPerSecond(e, t) {
74
- return t ? 1e3 / t * e : 0;
75
- }
76
- //#endregion
77
- //#region ../../node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/wrap.mjs
78
- var wrap = (e, t, n) => {
62
+ }, secondsToMilliseconds = /* @__NO_SIDE_EFFECTS__ */ (e) => e * 1e3, millisecondsToSeconds = /* @__NO_SIDE_EFFECTS__ */ (e) => e / 1e3, velocityPerSecond = /* @__NO_SIDE_EFFECTS__ */ (e, t) => t ? 1e3 / t * e : 0, wrap = (e, t, n) => {
79
63
  let r = t - e;
80
64
  return ((n - e) % r + r) % r + e;
81
65
  }, calcBezier = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, O = 1e-7, ee = 12;
@@ -86,22 +70,24 @@ function binarySubdivide(e, t, n, r, i) {
86
70
  while (Math.abs(a) > O && ++s < ee);
87
71
  return o;
88
72
  }
73
+ /*#__NO_SIDE_EFFECTS__*/
89
74
  function cubicBezier(e, t, n, r) {
90
75
  if (e === t && n === r) return noop;
91
76
  let getTForX = (t) => binarySubdivide(t, 0, 1, e, n);
92
77
  return (e) => e === 0 || e === 1 ? e : calcBezier(getTForX(e), t, r);
93
78
  }
94
79
  //#endregion
95
- //#region ../../node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs
96
- var mirrorEasing = (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, reverseEasing = (e) => (t) => 1 - e(1 - t), k = /* @__PURE__ */ cubicBezier(.33, 1.53, .69, .99), te = /* @__PURE__ */ reverseEasing(k), ne = /* @__PURE__ */ mirrorEasing(te), anticipate = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * te(e) : .5 * (2 - 2 ** (-10 * (e - 1))), circIn = (e) => 1 - Math.sin(Math.acos(e)), re = reverseEasing(circIn), ie = mirrorEasing(circIn), ae = /* @__PURE__ */ cubicBezier(.42, 0, 1, 1), oe = /* @__PURE__ */ cubicBezier(0, 0, .58, 1), se = /* @__PURE__ */ cubicBezier(.42, 0, .58, 1), isEasingArray = (e) => Array.isArray(e) && typeof e[0] != "number";
80
+ //#region ../../node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/modifiers/mirror.mjs
81
+ var mirrorEasing = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => t <= .5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, reverseEasing = /* @__NO_SIDE_EFFECTS__ */ (e) => (t) => 1 - e(1 - t), k = /*@__PURE__*/ cubicBezier(.33, 1.53, .69, .99), te = /*@__PURE__*/ reverseEasing(k), ne = /*@__PURE__*/ mirrorEasing(te), anticipate = (e) => e >= 1 ? 1 : (e *= 2) < 1 ? .5 * te(e) : .5 * (2 - 2 ** (-10 * (e - 1))), circIn = (e) => 1 - Math.sin(Math.acos(e)), re = /* @__PURE__ */ reverseEasing(circIn), ie = /* @__PURE__ */ mirrorEasing(circIn), ae = /*@__PURE__*/ cubicBezier(.42, 0, 1, 1), oe = /*@__PURE__*/ cubicBezier(0, 0, .58, 1), se = /*@__PURE__*/ cubicBezier(.42, 0, .58, 1), isEasingArray = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] != "number";
97
82
  //#endregion
98
- //#region ../../node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs
83
+ //#region ../../node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/utils/get-easing-for-segment.mjs
84
+ /*#__NO_SIDE_EFFECTS__*/
99
85
  function getEasingForSegment(e, t) {
100
- return isEasingArray(e) ? e[wrap(0, e.length, t)] : e;
86
+ return /* @__PURE__ */ isEasingArray(e) ? e[wrap(0, e.length, t)] : e;
101
87
  }
102
88
  //#endregion
103
- //#region ../../node_modules/.pnpm/motion-utils@12.36.0/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs
104
- var isBezierDefinition = (e) => Array.isArray(e) && typeof e[0] == "number", ce = {
89
+ //#region ../../node_modules/.pnpm/motion-utils@12.39.0/node_modules/motion-utils/dist/es/easing/utils/is-bezier-definition.mjs
90
+ var isBezierDefinition = /* @__NO_SIDE_EFFECTS__ */ (e) => Array.isArray(e) && typeof e[0] == "number", ce = {
105
91
  linear: noop,
106
92
  easeIn: ae,
107
93
  easeInOut: se,
@@ -114,10 +100,10 @@ var isBezierDefinition = (e) => Array.isArray(e) && typeof e[0] == "number", ce
114
100
  backOut: k,
115
101
  anticipate
116
102
  }, isValidEasing = (e) => typeof e == "string", easingDefinitionToFunction = (e) => {
117
- if (isBezierDefinition(e)) {
103
+ if (/* @__PURE__ */ isBezierDefinition(e)) {
118
104
  e.length;
119
105
  let [t, n, r, i] = e;
120
- return cubicBezier(t, n, r, i);
106
+ return /* @__PURE__ */ cubicBezier(t, n, r, i);
121
107
  } else if (isValidEasing(e)) return ce[e], `${e}`, ce[e];
122
108
  return e;
123
109
  }, le = [
@@ -129,50 +115,47 @@ var isBezierDefinition = (e) => Array.isArray(e) && typeof e[0] == "number", ce
129
115
  "preRender",
130
116
  "render",
131
117
  "postRender"
132
- ], A = {
133
- value: null,
134
- addProjectionMetrics: null
135
- };
118
+ ];
136
119
  //#endregion
137
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/frameloop/render-step.mjs
138
- function createRenderStep(e, t) {
139
- let n = /* @__PURE__ */ new Set(), r = /* @__PURE__ */ new Set(), i = !1, a = !1, o = /* @__PURE__ */ new WeakSet(), s = {
120
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/frameloop/render-step.mjs
121
+ function createRenderStep(e) {
122
+ let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1, a = /* @__PURE__ */ new WeakSet(), o = {
140
123
  delta: 0,
141
124
  timestamp: 0,
142
125
  isProcessing: !1
143
- }, c = 0;
126
+ };
144
127
  function triggerCallback(t) {
145
- o.has(t) && (l.schedule(t), e()), c++, t(s);
128
+ a.has(t) && (s.schedule(t), e()), t(o);
146
129
  }
147
- let l = {
148
- schedule: (e, t = !1, a = !1) => {
149
- let s = a && i ? n : r;
150
- return t && o.add(e), s.add(e), e;
130
+ let s = {
131
+ schedule: (e, i = !1, o = !1) => {
132
+ let s = o && r ? t : n;
133
+ return i && a.add(e), s.add(e), e;
151
134
  },
152
135
  cancel: (e) => {
153
- r.delete(e), o.delete(e);
136
+ n.delete(e), a.delete(e);
154
137
  },
155
138
  process: (e) => {
156
- if (s = e, i) {
157
- a = !0;
139
+ if (o = e, r) {
140
+ i = !0;
158
141
  return;
159
142
  }
160
- i = !0;
161
- let o = n;
162
- n = r, r = o, n.forEach(triggerCallback), t && A.value && A.value.frameloop[t].push(c), c = 0, n.clear(), i = !1, a && (a = !1, l.process(e));
143
+ r = !0;
144
+ let a = t;
145
+ t = n, n = a, t.forEach(triggerCallback), t.clear(), r = !1, i && (i = !1, s.process(e));
163
146
  }
164
147
  };
165
- return l;
148
+ return s;
166
149
  }
167
150
  //#endregion
168
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/frameloop/batcher.mjs
151
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/frameloop/batcher.mjs
169
152
  var ue = 40;
170
153
  function createRenderBatcher(e, t) {
171
154
  let n = !1, r = !0, i = {
172
155
  delta: 0,
173
156
  timestamp: 0,
174
157
  isProcessing: !1
175
- }, flagRunNextFrame = () => n = !0, a = le.reduce((e, n) => (e[n] = createRenderStep(flagRunNextFrame, t ? n : void 0), e), {}), { setup: o, read: s, resolveKeyframes: c, preUpdate: l, update: u, preRender: d, render: f, postRender: p } = a, processBatch = () => {
158
+ }, flagRunNextFrame = () => n = !0, a = le.reduce((e, t) => (e[t] = createRenderStep(flagRunNextFrame), e), {}), { setup: o, read: s, resolveKeyframes: c, preUpdate: l, update: u, preRender: d, render: f, postRender: p } = a, processBatch = () => {
176
159
  let a = D.useManualTiming, m = a ? i.timestamp : performance.now();
177
160
  n = !1, a || (i.delta = r ? 1e3 / 60 : Math.max(Math.min(m - i.timestamp, ue), 1)), i.timestamp = m, i.isProcessing = !0, o.process(i), s.process(i), c.process(i), l.process(i), u.process(i), d.process(i), f.process(i), p.process(i), i.isProcessing = !1, n && t && (r = !1, e(processBatch));
178
161
  }, wake = () => {
@@ -191,63 +174,59 @@ function createRenderBatcher(e, t) {
191
174
  };
192
175
  }
193
176
  //#endregion
194
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/frameloop/frame.mjs
195
- var { schedule: j, cancel: M, state: N, steps: de } = /* @__PURE__ */ createRenderBatcher(typeof requestAnimationFrame < "u" ? requestAnimationFrame : noop, !0), fe;
177
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/frameloop/frame.mjs
178
+ var { schedule: A, cancel: j, state: M, steps: de } = /* @__PURE__ */ createRenderBatcher(typeof requestAnimationFrame < "u" ? requestAnimationFrame : noop, !0), fe;
196
179
  function clearTime() {
197
180
  fe = void 0;
198
181
  }
199
- var P = {
200
- now: () => (fe === void 0 && P.set(N.isProcessing || D.useManualTiming ? N.timestamp : performance.now()), fe),
182
+ var N = {
183
+ now: () => (fe === void 0 && N.set(M.isProcessing || D.useManualTiming ? M.timestamp : performance.now()), fe),
201
184
  set: (e) => {
202
185
  fe = e, queueMicrotask(clearTime);
203
186
  }
204
- }, F = {
205
- layout: 0,
206
- mainThread: 0,
207
- waapi: 0
208
- }, checkStringStartsWith = (e) => (t) => typeof t == "string" && t.startsWith(e), pe = /* @__PURE__ */ checkStringStartsWith("--"), me = /* @__PURE__ */ checkStringStartsWith("var(--"), isCSSVariableToken = (e) => me(e) ? he.test(e.split("/*")[0].trim()) : !1, he = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
187
+ }, checkStringStartsWith = (e) => (t) => typeof t == "string" && t.startsWith(e), pe = /*@__PURE__*/ checkStringStartsWith("--"), me = /*@__PURE__*/ checkStringStartsWith("var(--"), isCSSVariableToken = (e) => me(e) ? he.test(e.split("/*")[0].trim()) : !1, he = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;
209
188
  function containsCSSVariable(e) {
210
189
  return typeof e == "string" ? e.split("/*")[0].includes("var(--") : !1;
211
190
  }
212
191
  //#endregion
213
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs
214
- var I = {
192
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/types/numbers/index.mjs
193
+ var P = {
215
194
  test: (e) => typeof e == "number",
216
195
  parse: parseFloat,
217
196
  transform: (e) => e
218
- }, L = {
219
- ...I,
220
- transform: (e) => clamp(0, 1, e)
221
197
  }, ge = {
222
- ...I,
198
+ ...P,
199
+ transform: (e) => clamp(0, 1, e)
200
+ }, _e = {
201
+ ...P,
223
202
  default: 1
224
- }, sanitize = (e) => Math.round(e * 1e5) / 1e5, _e = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
203
+ }, sanitize = (e) => Math.round(e * 1e5) / 1e5, ve = /-?(?:\d+(?:\.\d+)?|\.\d+)/gu;
225
204
  //#endregion
226
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs
205
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/types/utils/is-nullish.mjs
227
206
  function isNullish(e) {
228
207
  return e == null;
229
208
  }
230
209
  //#endregion
231
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs
232
- var ve = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, isColorString = (e, t) => (n) => !!(typeof n == "string" && ve.test(n) && n.startsWith(e) || t && !isNullish(n) && Object.prototype.hasOwnProperty.call(n, t)), splitColor = (e, t, n) => (r) => {
210
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/types/utils/single-color-regex.mjs
211
+ var ye = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu, isColorString = (e, t) => (n) => !!(typeof n == "string" && ye.test(n) && n.startsWith(e) || t && !isNullish(n) && Object.prototype.hasOwnProperty.call(n, t)), splitColor = (e, t, n) => (r) => {
233
212
  if (typeof r != "string") return r;
234
- let [i, a, o, s] = r.match(_e);
213
+ let [i, a, o, s] = r.match(ve);
235
214
  return {
236
215
  [e]: parseFloat(i),
237
216
  [t]: parseFloat(a),
238
217
  [n]: parseFloat(o),
239
218
  alpha: s === void 0 ? 1 : parseFloat(s)
240
219
  };
241
- }, clampRgbUnit = (e) => clamp(0, 255, e), ye = {
242
- ...I,
220
+ }, clampRgbUnit = (e) => clamp(0, 255, e), be = {
221
+ ...P,
243
222
  transform: (e) => Math.round(clampRgbUnit(e))
244
- }, R = {
245
- test: /* @__PURE__ */ isColorString("rgb", "red"),
246
- parse: /* @__PURE__ */ splitColor("red", "green", "blue"),
247
- transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + ye.transform(e) + ", " + ye.transform(t) + ", " + ye.transform(n) + ", " + sanitize(L.transform(r)) + ")"
223
+ }, F = {
224
+ test: /*@__PURE__*/ isColorString("rgb", "red"),
225
+ parse: /*@__PURE__*/ splitColor("red", "green", "blue"),
226
+ transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + be.transform(e) + ", " + be.transform(t) + ", " + be.transform(n) + ", " + sanitize(ge.transform(r)) + ")"
248
227
  };
249
228
  //#endregion
250
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/types/color/hex.mjs
229
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/types/color/hex.mjs
251
230
  function parseHex(e) {
252
231
  let t = "", n = "", r = "", i = "";
253
232
  return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {
@@ -257,37 +236,37 @@ function parseHex(e) {
257
236
  alpha: i ? parseInt(i, 16) / 255 : 1
258
237
  };
259
238
  }
260
- var be = {
261
- test: /* @__PURE__ */ isColorString("#"),
239
+ var xe = {
240
+ test: /*@__PURE__*/ isColorString("#"),
262
241
  parse: parseHex,
263
- transform: R.transform
242
+ transform: F.transform
264
243
  }, createUnitType = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
265
244
  test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
266
245
  parse: parseFloat,
267
246
  transform: (t) => `${t}${e}`
268
- }), z = /* @__PURE__ */ createUnitType("deg"), B = /* @__PURE__ */ createUnitType("%"), V = /* @__PURE__ */ createUnitType("px"), xe = /* @__PURE__ */ createUnitType("vh"), Se = /* @__PURE__ */ createUnitType("vw"), Ce = {
269
- ...B,
270
- parse: (e) => B.parse(e) / 100,
271
- transform: (e) => B.transform(e * 100)
272
- }, H = {
273
- test: /* @__PURE__ */ isColorString("hsl", "hue"),
274
- parse: /* @__PURE__ */ splitColor("hue", "saturation", "lightness"),
275
- transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + B.transform(sanitize(t)) + ", " + B.transform(sanitize(n)) + ", " + sanitize(L.transform(r)) + ")"
276
- }, U = {
277
- test: (e) => R.test(e) || be.test(e) || H.test(e),
278
- parse: (e) => R.test(e) ? R.parse(e) : H.test(e) ? H.parse(e) : be.parse(e),
279
- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? R.transform(e) : H.transform(e),
247
+ }), I = /*@__PURE__*/ createUnitType("deg"), L = /*@__PURE__*/ createUnitType("%"), R = /*@__PURE__*/ createUnitType("px"), Se = /*@__PURE__*/ createUnitType("vh"), Ce = /*@__PURE__*/ createUnitType("vw"), we = {
248
+ ...L,
249
+ parse: (e) => L.parse(e) / 100,
250
+ transform: (e) => L.transform(e * 100)
251
+ }, z = {
252
+ test: /*@__PURE__*/ isColorString("hsl", "hue"),
253
+ parse: /*@__PURE__*/ splitColor("hue", "saturation", "lightness"),
254
+ transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + L.transform(sanitize(t)) + ", " + L.transform(sanitize(n)) + ", " + sanitize(ge.transform(r)) + ")"
255
+ }, B = {
256
+ test: (e) => F.test(e) || xe.test(e) || z.test(e),
257
+ parse: (e) => F.test(e) ? F.parse(e) : z.test(e) ? z.parse(e) : xe.parse(e),
258
+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? F.transform(e) : z.transform(e),
280
259
  getAnimatableNone: (e) => {
281
- let t = U.parse(e);
282
- return t.alpha = 0, U.transform(t);
260
+ let t = B.parse(e);
261
+ return t.alpha = 0, B.transform(t);
283
262
  }
284
- }, we = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
263
+ }, Te = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
285
264
  //#endregion
286
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/types/complex/index.mjs
265
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/types/complex/index.mjs
287
266
  function test(e) {
288
- return isNaN(e) && typeof e == "string" && (e.match(_e)?.length || 0) + (e.match(we)?.length || 0) > 0;
267
+ return isNaN(e) && typeof e == "string" && (e.match(ve)?.length || 0) + (e.match(Te)?.length || 0) > 0;
289
268
  }
290
- var Te = "number", Ee = "color", De = "var", Oe = "var(", ke = "${}", Ae = /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;
269
+ var Ee = "number", De = "color", Oe = "var", ke = "var(", Ae = "${}", je = /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;
291
270
  function analyseComplexValue(e) {
292
271
  let t = e.toString(), n = [], r = {
293
272
  color: [],
@@ -296,7 +275,7 @@ function analyseComplexValue(e) {
296
275
  }, i = [], a = 0;
297
276
  return {
298
277
  values: n,
299
- split: t.replace(Ae, (e) => (U.test(e) ? (r.color.push(a), i.push(Ee), n.push(U.parse(e))) : e.startsWith(Oe) ? (r.var.push(a), i.push(De), n.push(e)) : (r.number.push(a), i.push(Te), n.push(parseFloat(e))), ++a, ke)).split(ke),
278
+ split: t.replace(je, (e) => (B.test(e) ? (r.color.push(a), i.push(De), n.push(B.parse(e))) : e.startsWith(ke) ? (r.var.push(a), i.push(Oe), n.push(e)) : (r.number.push(a), i.push(Ee), n.push(parseFloat(e))), ++a, Ae)).split(Ae),
300
279
  indexes: r,
301
280
  types: i
302
281
  };
@@ -310,7 +289,7 @@ function buildTransformer({ split: e, types: t }) {
310
289
  let i = "";
311
290
  for (let a = 0; a < n; a++) if (i += e[a], r[a] !== void 0) {
312
291
  let e = t[a];
313
- e === Te ? i += sanitize(r[a]) : e === Ee ? i += U.transform(r[a]) : i += r[a];
292
+ e === Ee ? i += sanitize(r[a]) : e === De ? i += B.transform(r[a]) : i += r[a];
314
293
  }
315
294
  return i;
316
295
  };
@@ -318,20 +297,20 @@ function buildTransformer({ split: e, types: t }) {
318
297
  function createTransformer(e) {
319
298
  return buildTransformer(analyseComplexValue(e));
320
299
  }
321
- var convertNumbersToZero = (e) => typeof e == "number" ? 0 : U.test(e) ? U.getAnimatableNone(e) : e, convertToZero = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : convertNumbersToZero(e);
300
+ var convertNumbersToZero = (e) => typeof e == "number" ? 0 : B.test(e) ? B.getAnimatableNone(e) : e, convertToZero = (e, t) => typeof e == "number" ? t?.trim().endsWith("/") ? e : 0 : convertNumbersToZero(e);
322
301
  function getAnimatableNone$1(e) {
323
302
  let t = analyseComplexValue(e);
324
303
  return buildTransformer(t)(t.values.map((e, n) => convertToZero(e, t.split[n])));
325
304
  }
326
305
  t(getAnimatableNone$1, "getAnimatableNone");
327
- var W = {
306
+ var V = {
328
307
  test,
329
308
  parse: parseComplexValue,
330
309
  createTransformer,
331
310
  getAnimatableNone: getAnimatableNone$1
332
311
  };
333
312
  //#endregion
334
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs
313
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/types/color/hsla-to-rgba.mjs
335
314
  function hueToRgb(e, t, n) {
336
315
  return n < 0 && (n += 1), n > 1 && --n, n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
337
316
  }
@@ -351,42 +330,42 @@ function hslaToRgba({ hue: e, saturation: t, lightness: n, alpha: r }) {
351
330
  };
352
331
  }
353
332
  //#endregion
354
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/mix/immediate.mjs
333
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/mix/immediate.mjs
355
334
  function mixImmediate(e, t) {
356
335
  return (n) => n > 0 ? t : e;
357
336
  }
358
337
  //#endregion
359
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/mix/number.mjs
360
- var G = /* @__PURE__ */ t((e, t, n) => e + (t - e) * n, "mixNumber"), mixLinearColor = (e, t, n) => {
338
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/mix/number.mjs
339
+ var H = /* @__PURE__ */ t((e, t, n) => e + (t - e) * n, "mixNumber"), mixLinearColor = (e, t, n) => {
361
340
  let r = e * e, i = n * (t * t - r) + r;
362
341
  return i < 0 ? 0 : Math.sqrt(i);
363
- }, je = [
364
- be,
365
- R,
366
- H
367
- ], getColorType = (e) => je.find((t) => t.test(e));
342
+ }, Me = [
343
+ xe,
344
+ F,
345
+ z
346
+ ], getColorType = (e) => Me.find((t) => t.test(e));
368
347
  function asRGBA(e) {
369
348
  let t = getColorType(e);
370
349
  if (`${e}`, !t) return !1;
371
350
  let n = t.parse(e);
372
- return t === H && (n = hslaToRgba(n)), n;
351
+ return t === z && (n = hslaToRgba(n)), n;
373
352
  }
374
353
  var mixColor = (e, t) => {
375
354
  let n = asRGBA(e), r = asRGBA(t);
376
355
  if (!n || !r) return mixImmediate(e, t);
377
356
  let i = { ...n };
378
- return (e) => (i.red = mixLinearColor(n.red, r.red, e), i.green = mixLinearColor(n.green, r.green, e), i.blue = mixLinearColor(n.blue, r.blue, e), i.alpha = G(n.alpha, r.alpha, e), R.transform(i));
379
- }, Me = new Set(["none", "hidden"]);
357
+ return (e) => (i.red = mixLinearColor(n.red, r.red, e), i.green = mixLinearColor(n.green, r.green, e), i.blue = mixLinearColor(n.blue, r.blue, e), i.alpha = H(n.alpha, r.alpha, e), F.transform(i));
358
+ }, Ne = /* @__PURE__ */ new Set(["none", "hidden"]);
380
359
  function mixVisibility(e, t) {
381
- return Me.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
360
+ return Ne.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
382
361
  }
383
362
  //#endregion
384
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/mix/complex.mjs
363
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/mix/complex.mjs
385
364
  function mixNumber(e, t) {
386
- return (n) => G(e, t, n);
365
+ return (n) => H(e, t, n);
387
366
  }
388
367
  function getMixer(e) {
389
- return typeof e == "number" ? mixNumber : typeof e == "string" ? isCSSVariableToken(e) ? mixImmediate : U.test(e) ? mixColor : mixComplex : Array.isArray(e) ? mixArray : typeof e == "object" ? U.test(e) ? mixColor : mixObject : mixImmediate;
368
+ return typeof e == "number" ? mixNumber : typeof e == "string" ? isCSSVariableToken(e) ? mixImmediate : B.test(e) ? mixColor : mixComplex : Array.isArray(e) ? mixArray : typeof e == "object" ? B.test(e) ? mixColor : mixObject : mixImmediate;
390
369
  }
391
370
  function mixArray(e, t) {
392
371
  let n = [...e], r = n.length, i = e.map((e, n) => getMixer(e)(e, t[n]));
@@ -419,40 +398,40 @@ function matchOrder(e, t) {
419
398
  return n;
420
399
  }
421
400
  var mixComplex = (e, t) => {
422
- let n = W.createTransformer(t), r = analyseComplexValue(e), i = analyseComplexValue(t);
423
- 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 ? Me.has(e) && !i.values.length || Me.has(t) && !r.values.length ? mixVisibility(e, t) : pipe(mixArray(matchOrder(r, i), i.values), n) : (`${e}${t}`, mixImmediate(e, t));
401
+ let n = V.createTransformer(t), r = analyseComplexValue(e), i = analyseComplexValue(t);
402
+ 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 ? Ne.has(e) && !i.values.length || Ne.has(t) && !r.values.length ? mixVisibility(e, t) : pipe(mixArray(matchOrder(r, i), i.values), n) : (`${e}${t}`, mixImmediate(e, t));
424
403
  };
425
404
  //#endregion
426
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/mix/index.mjs
405
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/mix/index.mjs
427
406
  function mix(e, t, n) {
428
- return typeof e == "number" && typeof t == "number" && typeof n == "number" ? G(e, t, n) : getMixer(e)(e, t);
407
+ return typeof e == "number" && typeof t == "number" && typeof n == "number" ? H(e, t, n) : getMixer(e)(e, t);
429
408
  }
430
409
  //#endregion
431
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs
410
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/drivers/frame.mjs
432
411
  var frameloopDriver = (e) => {
433
412
  let passTimestamp = ({ timestamp: t }) => e(t);
434
413
  return {
435
- start: (e = !0) => j.update(passTimestamp, e),
436
- stop: () => M(passTimestamp),
437
- now: () => N.isProcessing ? N.timestamp : P.now()
414
+ start: (e = !0) => A.update(passTimestamp, e),
415
+ stop: () => j(passTimestamp),
416
+ now: () => M.isProcessing ? M.timestamp : N.now()
438
417
  };
439
418
  }, generateLinearEasing = (e, t, n = 10) => {
440
419
  let r = "", i = Math.max(Math.round(t / n), 2);
441
420
  for (let t = 0; t < i; t++) r += Math.round(e(t / (i - 1)) * 1e4) / 1e4 + ", ";
442
421
  return `linear(${r.substring(0, r.length - 2)})`;
443
- }, Ne = 2e4;
422
+ }, Pe = 2e4;
444
423
  function calcGeneratorDuration(e) {
445
424
  let t = 0, n = e.next(t);
446
425
  for (; !n.done && t < 2e4;) t += 50, n = e.next(t);
447
426
  return t >= 2e4 ? Infinity : t;
448
427
  }
449
428
  //#endregion
450
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs
429
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/generators/utils/create-generator-easing.mjs
451
430
  function createGeneratorEasing(e, t = 100, n) {
452
431
  let r = n({
453
432
  ...e,
454
433
  keyframes: [0, t]
455
- }), i = Math.min(calcGeneratorDuration(r), Ne);
434
+ }), i = Math.min(calcGeneratorDuration(r), Pe);
456
435
  return {
457
436
  type: "keyframes",
458
437
  ease: (e) => r.next(i * e).value / t,
@@ -460,8 +439,8 @@ function createGeneratorEasing(e, t = 100, n) {
460
439
  };
461
440
  }
462
441
  //#endregion
463
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/generators/spring.mjs
464
- var K = {
442
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/generators/spring.mjs
443
+ var U = {
465
444
  stiffness: 100,
466
445
  damping: 10,
467
446
  mass: 1,
@@ -485,28 +464,28 @@ var K = {
485
464
  function calcAngularFreq(e, t) {
486
465
  return e * Math.sqrt(1 - t * t);
487
466
  }
488
- var Pe = 12;
467
+ var Fe = 12;
489
468
  function approximateRoot(e, t, n) {
490
469
  let r = n;
491
- for (let n = 1; n < Pe; n++) r -= e(r) / t(r);
470
+ for (let n = 1; n < Fe; n++) r -= e(r) / t(r);
492
471
  return r;
493
472
  }
494
- var Fe = .001;
495
- function findSpring({ duration: e = K.duration, bounce: t = K.bounce, velocity: n = K.velocity, mass: r = K.mass }) {
473
+ var Ie = .001;
474
+ function findSpring({ duration: e = U.duration, bounce: t = U.bounce, velocity: n = U.velocity, mass: r = U.mass }) {
496
475
  let envelope, derivative;
497
- K.maxDuration;
476
+ U.maxDuration;
498
477
  let i = 1 - t;
499
- i = clamp(K.minDamping, K.maxDamping, i), e = clamp(K.minDuration, K.maxDuration, /* @__PURE__ */ millisecondsToSeconds(e)), i < 1 ? (envelope = (t) => {
478
+ i = clamp(U.minDamping, U.maxDamping, i), e = clamp(U.minDuration, U.maxDuration, /* @__PURE__ */ millisecondsToSeconds(e)), i < 1 ? (envelope = (t) => {
500
479
  let r = t * i, a = r * e, o = r - n, s = calcAngularFreq(t, i), c = Math.exp(-a);
501
- return Fe - o / s * c;
480
+ return Ie - o / s * c;
502
481
  }, derivative = (t) => {
503
482
  let r = t * i * e, a = r * n + n, o = i ** 2 * t ** 2 * e, s = Math.exp(-r), c = calcAngularFreq(t ** 2, i);
504
- return (-envelope(t) + Fe > 0 ? -1 : 1) * ((a - o) * s) / c;
483
+ return (-envelope(t) + Ie > 0 ? -1 : 1) * ((a - o) * s) / c;
505
484
  }) : (envelope = (t) => -.001 + Math.exp(-t * e) * ((t - n) * e + 1), derivative = (t) => Math.exp(-t * e) * ((n - t) * (e * e)));
506
485
  let a = 5 / e, o = approximateRoot(envelope, derivative, a);
507
486
  if (e = /* @__PURE__ */ secondsToMilliseconds(e), isNaN(o)) return {
508
- stiffness: K.stiffness,
509
- damping: K.damping,
487
+ stiffness: U.stiffness,
488
+ damping: U.damping,
510
489
  duration: e
511
490
  };
512
491
  {
@@ -518,7 +497,7 @@ function findSpring({ duration: e = K.duration, bounce: t = K.bounce, velocity:
518
497
  };
519
498
  }
520
499
  }
521
- var Ie = ["duration", "bounce"], Le = [
500
+ var Le = ["duration", "bounce"], Re = [
522
501
  "stiffness",
523
502
  "damping",
524
503
  "mass"
@@ -528,18 +507,18 @@ function isSpringType(e, t) {
528
507
  }
529
508
  function getSpringOptions(e) {
530
509
  let t = {
531
- velocity: K.velocity,
532
- stiffness: K.stiffness,
533
- damping: K.damping,
534
- mass: K.mass,
510
+ velocity: U.velocity,
511
+ stiffness: U.stiffness,
512
+ damping: U.damping,
513
+ mass: U.mass,
535
514
  isResolvedFromDuration: !1,
536
515
  ...e
537
516
  };
538
- if (!isSpringType(e, Le) && isSpringType(e, Ie)) if (t.velocity = 0, e.visualDuration) {
517
+ if (!isSpringType(e, Re) && isSpringType(e, Le)) if (t.velocity = 0, e.visualDuration) {
539
518
  let n = e.visualDuration, r = 2 * Math.PI / (n * 1.2), i = r * r, a = 2 * clamp(.05, 1, 1 - (e.bounce || 0)) * Math.sqrt(i);
540
519
  t = {
541
520
  ...t,
542
- mass: K.mass,
521
+ mass: U.mass,
543
522
  stiffness: i,
544
523
  damping: a
545
524
  };
@@ -551,12 +530,12 @@ function getSpringOptions(e) {
551
530
  t = {
552
531
  ...t,
553
532
  ...n,
554
- mass: K.mass
533
+ mass: U.mass
555
534
  }, t.isResolvedFromDuration = !0;
556
535
  }
557
536
  return t;
558
537
  }
559
- function spring(e = K.visualDuration, t = K.bounce) {
538
+ function spring(e = U.visualDuration, t = U.bounce) {
560
539
  let n = typeof e == "object" ? e : {
561
540
  visualDuration: e,
562
541
  keyframes: [0, 1],
@@ -568,9 +547,12 @@ function spring(e = K.visualDuration, t = K.bounce) {
568
547
  ...n,
569
548
  velocity: -/* @__PURE__ */ millisecondsToSeconds(n.velocity || 0)
570
549
  }), m = f || 0, h = l / (2 * Math.sqrt(c * u)), g = o - a, _ = /* @__PURE__ */ millisecondsToSeconds(Math.sqrt(c / u)), v = Math.abs(g) < 5;
571
- r ||= v ? K.restSpeed.granular : K.restSpeed.default, i ||= v ? K.restDelta.granular : K.restDelta.default;
550
+ r ||= v ? U.restSpeed.granular : U.restSpeed.default, i ||= v ? U.restDelta.granular : U.restDelta.default;
572
551
  let resolveSpring, resolveVelocity, y, b, x, S;
573
- if (h < 1) y = calcAngularFreq(_, h), b = (m + h * _ * g) / y, resolveSpring = (e) => o - Math.exp(-h * _ * e) * (b * Math.sin(y * e) + g * Math.cos(y * e)), x = h * _ * b + g * y, S = h * _ * g - b * y, resolveVelocity = (e) => Math.exp(-h * _ * e) * (x * Math.sin(y * e) + S * Math.cos(y * e));
552
+ if (h < 1) y = calcAngularFreq(_, h), b = (m + h * _ * g) / y, resolveSpring = (e) => {
553
+ let t = Math.exp(-h * _ * e);
554
+ return o - t * (b * Math.sin(y * e) + g * Math.cos(y * e));
555
+ }, x = h * _ * b + g * y, S = h * _ * g - b * y, resolveVelocity = (e) => Math.exp(-h * _ * e) * (x * Math.sin(y * e) + S * Math.cos(y * e));
574
556
  else if (h === 1) {
575
557
  resolveSpring = (e) => o - Math.exp(-_ * e) * (g + (m + _ * g) * e);
576
558
  let e = m + _ * g;
@@ -604,7 +586,7 @@ function spring(e = K.visualDuration, t = K.bounce) {
604
586
  return s.value = s.done ? o : t, s;
605
587
  },
606
588
  toString: () => {
607
- let e = Math.min(calcGeneratorDuration(C), Ne), t = generateLinearEasing((t) => C.next(e * t).value, e, 30);
589
+ let e = Math.min(calcGeneratorDuration(C), Pe), t = generateLinearEasing((t) => C.next(e * t).value, e, 30);
608
590
  return e + "ms " + t;
609
591
  },
610
592
  toTransition: () => {}
@@ -616,14 +598,14 @@ spring.applyToOptions = (e) => {
616
598
  return e.ease = t.ease, e.duration = /* @__PURE__ */ secondsToMilliseconds(t.duration), e.type = "keyframes", e;
617
599
  };
618
600
  //#endregion
619
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs
620
- var Re = 5;
601
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/generators/utils/velocity.mjs
602
+ var ze = 5;
621
603
  function getGeneratorVelocity(e, t, n) {
622
- let r = Math.max(t - Re, 0);
623
- return velocityPerSecond(n - e(r), t - r);
604
+ let r = Math.max(t - ze, 0);
605
+ return /* @__PURE__ */ velocityPerSecond(n - e(r), t - r);
624
606
  }
625
607
  //#endregion
626
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs
608
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/generators/inertia.mjs
627
609
  function inertia({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r = 325, bounceDamping: i = 10, bounceStiffness: a = 500, modifyTarget: o, min: s, max: c, restDelta: l = .5, restSpeed: u }) {
628
610
  let d = e[0], f = {
629
611
  done: !1,
@@ -652,7 +634,7 @@ function inertia({ keyframes: e, velocity: t = 0, power: n = .8, timeConstant: r
652
634
  };
653
635
  }
654
636
  //#endregion
655
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/interpolate.mjs
637
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/interpolate.mjs
656
638
  function createMixers(e, t, n) {
657
639
  let r = [], i = n || D.mix || mix, a = e.length - 1;
658
640
  for (let n = 0; n < a; n++) {
@@ -677,32 +659,32 @@ function interpolate(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
677
659
  return n ? (t) => interpolator(clamp(e[0], e[a - 1], t)) : interpolator;
678
660
  }
679
661
  //#endregion
680
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs
662
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/keyframes/offsets/fill.mjs
681
663
  function fillOffset(e, t) {
682
664
  let n = e[e.length - 1];
683
665
  for (let r = 1; r <= t; r++) {
684
666
  let i = /* @__PURE__ */ progress(0, t, r);
685
- e.push(G(n, 1, i));
667
+ e.push(H(n, 1, i));
686
668
  }
687
669
  }
688
670
  //#endregion
689
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs
671
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/keyframes/offsets/default.mjs
690
672
  function defaultOffset(e) {
691
673
  let t = [0];
692
674
  return fillOffset(t, e.length - 1), t;
693
675
  }
694
676
  //#endregion
695
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs
677
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/keyframes/offsets/time.mjs
696
678
  function convertOffsetToTimes(e, t) {
697
679
  return e.map((e) => e * t);
698
680
  }
699
681
  //#endregion
700
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs
682
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/generators/keyframes.mjs
701
683
  function defaultEasing(e, t) {
702
684
  return e.map(() => t || se).splice(0, e.length - 1);
703
685
  }
704
686
  function keyframes({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
705
- let i = isEasingArray(r) ? r.map(easingDefinitionToFunction) : easingDefinitionToFunction(r), a = {
687
+ let i = /* @__PURE__ */ isEasingArray(r) ? r.map(easingDefinitionToFunction) : easingDefinitionToFunction(r), a = {
706
688
  done: !1,
707
689
  value: t[0]
708
690
  }, o = interpolate(convertOffsetToTimes(n && n.length === t.length ? n : defaultOffset(t), e), t, { ease: Array.isArray(i) ? i : defaultEasing(t, i) });
@@ -712,15 +694,14 @@ function keyframes({ duration: e = 300, keyframes: t, times: n, ease: r = "easeI
712
694
  };
713
695
  }
714
696
  //#endregion
715
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs
716
- var ze = /* @__PURE__ */ t((e) => e !== null, "isNotNull");
717
- function getFinalKeyframe$1(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
718
- let a = e.filter(ze), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
697
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/keyframes/get-final.mjs
698
+ var isNotNull = (e) => e !== null;
699
+ function getFinalKeyframe(e, { repeat: t, repeatType: n = "loop" }, r, i = 1) {
700
+ let a = e.filter(isNotNull), o = i < 0 || t && n !== "loop" && t % 2 == 1 ? 0 : a.length - 1;
719
701
  return !o || r === void 0 ? a[o] : r;
720
702
  }
721
- t(getFinalKeyframe$1, "getFinalKeyframe");
722
703
  //#endregion
723
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs
704
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/utils/replace-transition-type.mjs
724
705
  var Be = {
725
706
  decay: inertia,
726
707
  inertia,
@@ -732,7 +713,7 @@ function replaceTransitionType(e) {
732
713
  typeof e.type == "string" && (e.type = Be[e.type]);
733
714
  }
734
715
  //#endregion
735
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs
716
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/utils/WithPromise.mjs
736
717
  var WithPromise = class {
737
718
  constructor() {
738
719
  this.updateFinished();
@@ -753,10 +734,13 @@ var WithPromise = class {
753
734
  }
754
735
  }, percentToProgress = (e) => e / 100, JSAnimation = class extends WithPromise {
755
736
  constructor(e) {
756
- super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.stop = () => {
737
+ super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.delayState = {
738
+ done: !1,
739
+ value: void 0
740
+ }, this.stop = () => {
757
741
  let { motionValue: e } = this.options;
758
- e && e.updatedAt !== P.now() && this.tick(P.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
759
- }, F.mainThread++, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause();
742
+ e && e.updatedAt !== N.now() && this.tick(N.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
743
+ }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause();
760
744
  }
761
745
  initAnimation() {
762
746
  let { options: e } = this;
@@ -791,15 +775,12 @@ var WithPromise = class {
791
775
  let e = Math.min(this.currentTime, r) / o, t = Math.floor(e), n = e % 1;
792
776
  !n && e >= 1 && (n = 1), n === 1 && t--, t = Math.min(t, u + 1), t % 2 && (d === "reverse" ? (n = 1 - n, f && (n -= f / o)) : d === "mirror" && (y = a)), v = clamp(0, 1, n) * o;
793
777
  }
794
- let b = _ ? {
795
- done: !1,
796
- value: l[0]
797
- } : y.next(v);
798
- i && !_ && (b.value = i(b.value));
778
+ let b;
779
+ _ ? (this.delayState.value = l[0], b = this.delayState) : b = y.next(v), i && !_ && (b.value = i(b.value));
799
780
  let { done: x } = b;
800
781
  !_ && s !== null && (x = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
801
782
  let S = this.holdTime === null && (this.state === "finished" || this.state === "running" && x);
802
- return S && p !== inertia && (b.value = getFinalKeyframe$1(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
783
+ return S && p !== inertia && (b.value = getFinalKeyframe(l, this.options, h, this.speed)), m && m(b.value), S && this.finish(), b;
803
784
  }
804
785
  then(e, t) {
805
786
  return this.finished.then(e, t);
@@ -829,7 +810,7 @@ var WithPromise = class {
829
810
  }
830
811
  set speed(e) {
831
812
  let t = this.playbackSpeed !== e;
832
- t && this.driver && this.updateTime(P.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ millisecondsToSeconds(this.currentTime));
813
+ t && this.driver && this.updateTime(N.now()), this.playbackSpeed = e, t && this.driver && (this.time = /* @__PURE__ */ millisecondsToSeconds(this.currentTime));
833
814
  }
834
815
  play() {
835
816
  if (this.isStopped) return;
@@ -839,7 +820,7 @@ var WithPromise = class {
839
820
  this.state === "finished" ? (this.updateFinished(), this.startTime = n) : this.holdTime === null ? this.startTime ||= t ?? n : this.startTime = n - this.holdTime, this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
840
821
  }
841
822
  pause() {
842
- this.state = "paused", this.updateTime(P.now()), this.holdTime = this.currentTime;
823
+ this.state = "paused", this.updateTime(N.now()), this.holdTime = this.currentTime;
843
824
  }
844
825
  complete() {
845
826
  this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
@@ -851,7 +832,7 @@ var WithPromise = class {
851
832
  this.holdTime = null, this.startTime = 0, this.tick(0), this.teardown(), this.options.onCancel?.();
852
833
  }
853
834
  teardown() {
854
- this.state = "idle", this.stopDriver(), this.startTime = this.holdTime = null, F.mainThread--;
835
+ this.state = "idle", this.stopDriver(), this.startTime = this.holdTime = null;
855
836
  }
856
837
  stopDriver() {
857
838
  this.driver &&= (this.driver.stop(), void 0);
@@ -864,12 +845,12 @@ var WithPromise = class {
864
845
  }
865
846
  };
866
847
  //#endregion
867
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs
848
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/keyframes/utils/fill-wildcards.mjs
868
849
  function fillWildcards(e) {
869
850
  for (let t = 1; t < e.length; t++) e[t] ?? (e[t] = e[t - 1]);
870
851
  }
871
852
  //#endregion
872
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs
853
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/dom/parse-transform.mjs
873
854
  var radToDeg = (e) => e * 180 / Math.PI, rotate = (e) => rebaseAngle(radToDeg(Math.atan2(e[1], e[0]))), Ve = {
874
855
  x: 4,
875
856
  y: 5,
@@ -924,8 +905,8 @@ function convertTransformToNumber(e) {
924
905
  return parseFloat(e.trim());
925
906
  }
926
907
  //#endregion
927
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs
928
- var q = [
908
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/keys-transform.mjs
909
+ var W = [
929
910
  "transformPerspective",
930
911
  "x",
931
912
  "y",
@@ -943,11 +924,11 @@ var q = [
943
924
  "skew",
944
925
  "skewX",
945
926
  "skewY"
946
- ], J = /* @__PURE__ */ new Set(q), isNumOrPxType = (e) => e === I || e === V, We = new Set([
927
+ ], G = /* @__PURE__ */ new Set([...W, "pathRotation"]), isNumOrPxType = (e) => e === P || e === R, We = /* @__PURE__ */ new Set([
947
928
  "x",
948
929
  "y",
949
930
  "z"
950
- ]), Ge = q.filter((e) => !We.has(e));
931
+ ]), Ge = W.filter((e) => !We.has(e));
951
932
  function removeNonTranslationalTransform(e) {
952
933
  let t = [];
953
934
  return Ge.forEach((n) => {
@@ -955,7 +936,7 @@ function removeNonTranslationalTransform(e) {
955
936
  r !== void 0 && (t.push([n, r.get()]), r.set(+!!n.startsWith("scale")));
956
937
  }), t;
957
938
  }
958
- var Y = {
939
+ var K = {
959
940
  width: ({ x: e }, { paddingLeft: t = "0", paddingRight: n = "0", boxSizing: r }) => {
960
941
  let i = e.max - e.min;
961
942
  return r === "border-box" ? i : i - parseFloat(t) - parseFloat(n);
@@ -971,13 +952,13 @@ var Y = {
971
952
  x: (e, { transform: t }) => parseValueFromTransform(t, "x"),
972
953
  y: (e, { transform: t }) => parseValueFromTransform(t, "y")
973
954
  };
974
- Y.translateX = Y.x, Y.translateY = Y.y;
955
+ K.translateX = K.x, K.translateY = K.y;
975
956
  //#endregion
976
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs
977
- var X = /* @__PURE__ */ new Set(), Ke = !1, qe = !1, Je = !1;
957
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/keyframes/KeyframesResolver.mjs
958
+ var q = /* @__PURE__ */ new Set(), Ke = !1, qe = !1, Je = !1;
978
959
  function measureAllKeyframes() {
979
960
  if (qe) {
980
- let e = Array.from(X).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
961
+ let e = Array.from(q).filter((e) => e.needsMeasurement), t = new Set(e.map((e) => e.element)), n = /* @__PURE__ */ new Map();
981
962
  t.forEach((e) => {
982
963
  let t = removeNonTranslationalTransform(e);
983
964
  t.length && (n.set(e, t), e.render());
@@ -991,10 +972,10 @@ function measureAllKeyframes() {
991
972
  e.suspendedScrollY !== void 0 && window.scrollTo(0, e.suspendedScrollY);
992
973
  });
993
974
  }
994
- qe = !1, Ke = !1, X.forEach((e) => e.complete(Je)), X.clear();
975
+ qe = !1, Ke = !1, q.forEach((e) => e.complete(Je)), q.clear();
995
976
  }
996
977
  function readAllKeyframes() {
997
- X.forEach((e) => {
978
+ q.forEach((e) => {
998
979
  e.readKeyframes(), e.needsMeasurement && (qe = !0);
999
980
  });
1000
981
  }
@@ -1006,7 +987,7 @@ var KeyframeResolver = class {
1006
987
  this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...e], this.onComplete = t, this.name = n, this.motionValue = r, this.element = i, this.isAsync = a;
1007
988
  }
1008
989
  scheduleResolve() {
1009
- this.state = "scheduled", this.isAsync ? (X.add(this), Ke || (Ke = !0, j.read(readAllKeyframes), j.resolveKeyframes(measureAllKeyframes))) : (this.readKeyframes(), this.complete());
990
+ this.state = "scheduled", this.isAsync ? (q.add(this), Ke || (Ke = !0, A.read(readAllKeyframes), A.resolveKeyframes(measureAllKeyframes))) : (this.readKeyframes(), this.complete());
1010
991
  }
1011
992
  readKeyframes() {
1012
993
  let { unresolvedKeyframes: e, name: t, element: n, motionValue: r } = this;
@@ -1026,32 +1007,32 @@ var KeyframeResolver = class {
1026
1007
  renderEndStyles() {}
1027
1008
  measureEndState() {}
1028
1009
  complete(e = !1) {
1029
- this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), X.delete(this);
1010
+ this.state = "complete", this.onComplete(this.unresolvedKeyframes, this.finalKeyframe, e), q.delete(this);
1030
1011
  }
1031
1012
  cancel() {
1032
- this.state === "scheduled" && (X.delete(this), this.state = "pending");
1013
+ this.state === "scheduled" && (q.delete(this), this.state = "pending");
1033
1014
  }
1034
1015
  resume() {
1035
1016
  this.state === "pending" && this.scheduleResolve();
1036
1017
  }
1037
1018
  }, isCSSVar = (e) => e.startsWith("--");
1038
1019
  //#endregion
1039
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/dom/style-set.mjs
1020
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/dom/style-set.mjs
1040
1021
  function setStyle(e, t, n) {
1041
1022
  isCSSVar(t) ? e.style.setProperty(t, n) : e.style[t] = n;
1042
1023
  }
1043
1024
  //#endregion
1044
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/supports/flags.mjs
1025
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/supports/flags.mjs
1045
1026
  var Ye = {};
1046
1027
  //#endregion
1047
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/supports/memo.mjs
1028
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/supports/memo.mjs
1048
1029
  function memoSupports(e, t) {
1049
1030
  let n = /* @__PURE__ */ memo$1(e);
1050
1031
  return () => Ye[t] ?? n();
1051
1032
  }
1052
1033
  //#endregion
1053
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
1054
- var Xe = /* @__PURE__ */ memoSupports(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Ze = /* @__PURE__ */ memoSupports(() => {
1034
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/supports/scroll-timeline.mjs
1035
+ var Xe = /* @__PURE__ */ memoSupports(() => window.ScrollTimeline !== void 0, "scrollTimeline"), Ze = /*@__PURE__*/ memoSupports(() => {
1055
1036
  try {
1056
1037
  document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
1057
1038
  } catch {
@@ -1064,25 +1045,25 @@ var Xe = /* @__PURE__ */ memoSupports(() => window.ScrollTimeline !== void 0, "s
1064
1045
  easeIn: "ease-in",
1065
1046
  easeOut: "ease-out",
1066
1047
  easeInOut: "ease-in-out",
1067
- circIn: /* @__PURE__ */ cubicBezierAsString([
1048
+ circIn: /*@__PURE__*/ cubicBezierAsString([
1068
1049
  0,
1069
1050
  .65,
1070
1051
  .55,
1071
1052
  1
1072
1053
  ]),
1073
- circOut: /* @__PURE__ */ cubicBezierAsString([
1054
+ circOut: /*@__PURE__*/ cubicBezierAsString([
1074
1055
  .55,
1075
1056
  0,
1076
1057
  1,
1077
1058
  .45
1078
1059
  ]),
1079
- backIn: /* @__PURE__ */ cubicBezierAsString([
1060
+ backIn: /*@__PURE__*/ cubicBezierAsString([
1080
1061
  .31,
1081
1062
  .01,
1082
1063
  .66,
1083
1064
  -.59
1084
1065
  ]),
1085
- backOut: /* @__PURE__ */ cubicBezierAsString([
1066
+ backOut: /*@__PURE__*/ cubicBezierAsString([
1086
1067
  .33,
1087
1068
  1.53,
1088
1069
  .69,
@@ -1090,17 +1071,17 @@ var Xe = /* @__PURE__ */ memoSupports(() => window.ScrollTimeline !== void 0, "s
1090
1071
  ])
1091
1072
  };
1092
1073
  //#endregion
1093
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
1074
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/waapi/easing/map-easing.mjs
1094
1075
  function mapEasingToNativeEasing(e, t) {
1095
- if (e) return typeof e == "function" ? Ze() ? generateLinearEasing(e, t) : "ease-out" : isBezierDefinition(e) ? cubicBezierAsString(e) : Array.isArray(e) ? e.map((e) => mapEasingToNativeEasing(e, t) || Qe.easeOut) : Qe[e];
1076
+ if (e) return typeof e == "function" ? Ze() ? generateLinearEasing(e, t) : "ease-out" : /* @__PURE__ */ isBezierDefinition(e) ? cubicBezierAsString(e) : Array.isArray(e) ? e.map((e) => mapEasingToNativeEasing(e, t) || Qe.easeOut) : Qe[e];
1096
1077
  }
1097
1078
  //#endregion
1098
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
1079
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/waapi/start-waapi-animation.mjs
1099
1080
  function startWaapiAnimation(e, t, n, { delay: r = 0, duration: i = 300, repeat: a = 0, repeatType: o = "loop", ease: s = "easeOut", times: c } = {}, l = void 0) {
1100
1081
  let u = { [t]: n };
1101
1082
  c && (u.offset = c);
1102
1083
  let d = mapEasingToNativeEasing(s, i);
1103
- Array.isArray(d) && (u.easing = d), A.value && F.waapi++;
1084
+ Array.isArray(d) && (u.easing = d);
1104
1085
  let f = {
1105
1086
  delay: r,
1106
1087
  duration: i,
@@ -1109,24 +1090,20 @@ function startWaapiAnimation(e, t, n, { delay: r = 0, duration: i = 300, repeat:
1109
1090
  iterations: a + 1,
1110
1091
  direction: o === "reverse" ? "alternate" : "normal"
1111
1092
  };
1112
- l && (f.pseudoElement = l);
1113
- let p = e.animate(u, f);
1114
- return A.value && p.finished.finally(() => {
1115
- F.waapi--;
1116
- }), p;
1093
+ return l && (f.pseudoElement = l), e.animate(u, f);
1117
1094
  }
1118
1095
  //#endregion
1119
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs
1096
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/generators/utils/is-generator.mjs
1120
1097
  function isGenerator(e) {
1121
1098
  return typeof e == "function" && "applyToOptions" in e;
1122
1099
  }
1123
1100
  //#endregion
1124
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
1101
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/waapi/utils/apply-generator.mjs
1125
1102
  function applyGeneratorOptions({ type: e, ...t }) {
1126
1103
  return isGenerator(e) && Ze() ? e.applyToOptions(t) : (t.duration ??= 300, t.ease ??= "easeOut", t);
1127
1104
  }
1128
1105
  //#endregion
1129
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs
1106
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/NativeAnimation.mjs
1130
1107
  var NativeAnimation = class extends WithPromise {
1131
1108
  constructor(e) {
1132
1109
  if (super(), this.finishedTime = null, this.isStopped = !1, this.manualStartTime = null, !e) return;
@@ -1135,7 +1112,7 @@ var NativeAnimation = class extends WithPromise {
1135
1112
  let c = applyGeneratorOptions(e);
1136
1113
  this.animation = startWaapiAnimation(t, n, r, c, i), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
1137
1114
  if (this.finishedTime = this.time, !i) {
1138
- let e = getFinalKeyframe$1(r, this.options, o, this.speed);
1115
+ let e = getFinalKeyframe(r, this.options, o, this.speed);
1139
1116
  this.updateMotionValue && this.updateMotionValue(e), setStyle(t, n, e), this.animation.cancel();
1140
1117
  }
1141
1118
  s?.(), this.notifyFinished();
@@ -1210,7 +1187,7 @@ function replaceStringEasing(e) {
1210
1187
  typeof e.ease == "string" && isUnsupportedEase(e.ease) && (e.ease = $e[e.ease]);
1211
1188
  }
1212
1189
  //#endregion
1213
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs
1190
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/NativeAnimationExtended.mjs
1214
1191
  var et = 10, NativeAnimationExtended = class extends NativeAnimation {
1215
1192
  constructor(e) {
1216
1193
  replaceStringEasing(e), replaceTransitionType(e), super(e), e.startTime !== void 0 && e.autoplay !== !1 && (this.startTime = e.startTime), this.options = e;
@@ -1225,12 +1202,12 @@ var et = 10, NativeAnimationExtended = class extends NativeAnimation {
1225
1202
  let o = new JSAnimation({
1226
1203
  ...a,
1227
1204
  autoplay: !1
1228
- }), s = Math.max(et, P.now() - this.startTime), c = clamp(0, et, s - et), l = o.sample(s).value, { name: u } = this.options;
1205
+ }), s = Math.max(et, N.now() - this.startTime), c = clamp(0, et, s - et), l = o.sample(s).value, { name: u } = this.options;
1229
1206
  i && u && setStyle(i, u, l), t.setWithVelocity(o.sample(Math.max(0, s - c)).value, l, c), o.stop();
1230
1207
  }
1231
- }, isAnimatable = (e, t) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (W.test(e) || e === "0") && !e.startsWith("url("));
1208
+ }, isAnimatable = (e, t) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && (V.test(e) || e === "0") && !e.startsWith("url("));
1232
1209
  //#endregion
1233
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs
1210
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/utils/can-animate.mjs
1234
1211
  function hasKeyframesChanged(e) {
1235
1212
  let t = e[0];
1236
1213
  if (e.length === 1) return !0;
@@ -1244,31 +1221,49 @@ function canAnimate(e, t, n, r) {
1244
1221
  return `${t}${i}${a}${o ? a : i}`, !o || !s ? !1 : hasKeyframesChanged(e) || (n === "spring" || isGenerator(n)) && r;
1245
1222
  }
1246
1223
  //#endregion
1247
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs
1224
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/utils/make-animation-instant.mjs
1248
1225
  function makeAnimationInstant(e) {
1249
1226
  e.duration = 0, e.type = "keyframes";
1250
1227
  }
1251
1228
  //#endregion
1252
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs
1253
- var tt = new Set([
1229
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/waapi/utils/accelerated-values.mjs
1230
+ var tt = /* @__PURE__ */ new Set([
1254
1231
  "opacity",
1255
1232
  "clipPath",
1256
1233
  "filter",
1257
1234
  "transform"
1258
- ]), nt = /* @__PURE__ */ memo$1(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
1235
+ ]), nt = /^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;
1236
+ function hasBrowserOnlyColors(e) {
1237
+ for (let t = 0; t < e.length; t++) if (typeof e[t] == "string" && nt.test(e[t])) return !0;
1238
+ return !1;
1239
+ }
1240
+ //#endregion
1241
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/waapi/supports/waapi.mjs
1242
+ var rt = /* @__PURE__ */ new Set([
1243
+ "color",
1244
+ "backgroundColor",
1245
+ "outlineColor",
1246
+ "fill",
1247
+ "stroke",
1248
+ "borderColor",
1249
+ "borderTopColor",
1250
+ "borderRightColor",
1251
+ "borderBottomColor",
1252
+ "borderLeftColor"
1253
+ ]), it = /*@__PURE__*/ memo$1(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
1259
1254
  function supportsBrowserAnimation(e) {
1260
- let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o } = e;
1255
+ let { motionValue: t, name: n, repeatDelay: r, repeatType: i, damping: a, type: o, keyframes: s } = e;
1261
1256
  if (!(t?.owner?.current instanceof HTMLElement)) return !1;
1262
- let { onUpdate: s, transformTemplate: c } = t.owner.getProps();
1263
- return nt() && n && tt.has(n) && (n !== "transform" || !c) && !s && !r && i !== "mirror" && a !== 0 && o !== "inertia";
1257
+ let { onUpdate: c, transformTemplate: l } = t.owner.getProps();
1258
+ return it() && n && (tt.has(n) || rt.has(n) && hasBrowserOnlyColors(s)) && (n !== "transform" || !l) && !c && !r && i !== "mirror" && a !== 0 && o !== "inertia";
1264
1259
  }
1265
1260
  //#endregion
1266
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
1267
- var rt = 40, AsyncMotionValueAnimation = class extends WithPromise {
1261
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/AsyncMotionValueAnimation.mjs
1262
+ var at = 40, AsyncMotionValueAnimation = class extends WithPromise {
1268
1263
  constructor({ autoplay: e = !0, delay: t = 0, type: n = "keyframes", repeat: r = 0, repeatDelay: i = 0, repeatType: a = "loop", keyframes: o, name: s, motionValue: c, element: l, ...u }) {
1269
1264
  super(), this.stop = () => {
1270
1265
  this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
1271
- }, this.createdAt = P.now();
1266
+ }, this.createdAt = N.now();
1272
1267
  let d = {
1273
1268
  autoplay: e,
1274
1269
  delay: t,
@@ -1286,18 +1281,24 @@ var rt = 40, AsyncMotionValueAnimation = class extends WithPromise {
1286
1281
  onKeyframesResolved(e, t, n, r) {
1287
1282
  this.keyframeResolver = void 0;
1288
1283
  let { name: i, type: a, velocity: o, delay: s, isHandoff: c, onUpdate: l } = n;
1289
- this.resolvedAt = P.now();
1284
+ this.resolvedAt = N.now();
1290
1285
  let u = !0;
1291
- canAnimate(e, i, a, o) || (u = !1, (D.instantAnimations || !s) && l?.(getFinalKeyframe$1(e, n, t)), e[0] = e[e.length - 1], makeAnimationInstant(n), n.repeat = 0);
1286
+ canAnimate(e, i, a, o) || (u = !1, (D.instantAnimations || !s) && l?.(getFinalKeyframe(e, n, t)), e[0] = e[e.length - 1], makeAnimationInstant(n), n.repeat = 0);
1292
1287
  let d = {
1293
- startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > rt ? this.resolvedAt : this.createdAt : void 0,
1288
+ startTime: r ? this.resolvedAt && this.resolvedAt - this.createdAt > at ? this.resolvedAt : this.createdAt : void 0,
1294
1289
  finalKeyframe: t,
1295
1290
  ...n,
1296
1291
  keyframes: e
1297
- }, f = u && !c && supportsBrowserAnimation(d), p = d.motionValue?.owner?.current, m = f ? new NativeAnimationExtended({
1298
- ...d,
1299
- element: p
1300
- }) : new JSAnimation(d);
1292
+ }, f = u && !c && supportsBrowserAnimation(d), p = d.motionValue?.owner?.current, m;
1293
+ if (f) try {
1294
+ m = new NativeAnimationExtended({
1295
+ ...d,
1296
+ element: p
1297
+ });
1298
+ } catch {
1299
+ m = new JSAnimation(d);
1300
+ }
1301
+ else m = new JSAnimation(d);
1301
1302
  m.finished.then(() => {
1302
1303
  this.notifyFinished();
1303
1304
  }).catch(noop), this.pendingTimeline &&= (this.stopTimeline = m.attachTimeline(this.pendingTimeline), void 0), this._animation = m;
@@ -1420,41 +1421,126 @@ function getMax(e, t) {
1420
1421
  return n;
1421
1422
  }
1422
1423
  //#endregion
1423
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs
1424
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/GroupAnimationWithThen.mjs
1424
1425
  var GroupAnimationWithThen = class extends GroupAnimation {
1425
1426
  then(e, t) {
1426
1427
  return this.finished.finally(e).then(() => {});
1427
1428
  }
1428
1429
  };
1429
1430
  //#endregion
1430
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
1431
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/utils/calc-child-stagger.mjs
1431
1432
  function calcChildStagger(e, t, n, r = 0, i = 1) {
1432
1433
  let a = Array.from(e).sort((e, t) => e.sortNodePosition(t)).indexOf(t), o = e.size, s = (o - 1) * r;
1433
1434
  return typeof n == "function" ? n(a, o) : i === 1 ? a * r : s - a * r;
1434
1435
  }
1435
1436
  //#endregion
1436
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/utils/css-variables-conversion.mjs
1437
- var it = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
1438
- function parseCSSVariable(e) {
1439
- let t = it.exec(e);
1440
- if (!t) return [,];
1441
- let [, n, r, i] = t;
1442
- return [`--${n ?? r}`, i];
1437
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/index.mjs
1438
+ var ot = 30, isFloat = (e) => !isNaN(parseFloat(e)), st = { current: void 0 }, MotionValue = class {
1439
+ constructor(e, t = {}) {
1440
+ this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
1441
+ let t = N.now();
1442
+ if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.events.change?.notify(this.current), this.dependents)) for (let e of this.dependents) e.dirty();
1443
+ }, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
1444
+ }
1445
+ setCurrent(e) {
1446
+ this.current = e, this.updatedAt = N.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = isFloat(this.current));
1447
+ }
1448
+ setPrevFrameValue(e = this.current) {
1449
+ this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
1450
+ }
1451
+ onChange(e) {
1452
+ return this.on("change", e);
1453
+ }
1454
+ on(e, t) {
1455
+ this.events[e] || (this.events[e] = new SubscriptionManager());
1456
+ let n = this.events[e].add(t);
1457
+ return e === "change" ? () => {
1458
+ n(), A.read(() => {
1459
+ this.events.change.getSize() || this.stop();
1460
+ });
1461
+ } : n;
1462
+ }
1463
+ clearListeners() {
1464
+ for (let e in this.events) this.events[e].clear();
1465
+ }
1466
+ attach(e, t) {
1467
+ this.passiveEffect = e, this.stopPassiveEffect = t;
1468
+ }
1469
+ set(e) {
1470
+ this.passiveEffect ? this.passiveEffect(e, this.updateAndNotify) : this.updateAndNotify(e);
1471
+ }
1472
+ setWithVelocity(e, t, n) {
1473
+ this.set(t), this.prev = void 0, this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt - n;
1474
+ }
1475
+ jump(e, t = !0) {
1476
+ this.updateAndNotify(e), this.prev = e, this.prevUpdatedAt = this.prevFrameValue = void 0, t && this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
1477
+ }
1478
+ dirty() {
1479
+ this.events.change?.notify(this.current);
1480
+ }
1481
+ addDependent(e) {
1482
+ this.dependents ||= /* @__PURE__ */ new Set(), this.dependents.add(e);
1483
+ }
1484
+ removeDependent(e) {
1485
+ this.dependents && this.dependents.delete(e);
1486
+ }
1487
+ get() {
1488
+ return st.current && st.current.push(this), this.current;
1489
+ }
1490
+ getPrevious() {
1491
+ return this.prev;
1492
+ }
1493
+ getVelocity() {
1494
+ let e = N.now();
1495
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > ot) return 0;
1496
+ let t = Math.min(this.updatedAt - this.prevUpdatedAt, ot);
1497
+ return /* @__PURE__ */ velocityPerSecond(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
1498
+ }
1499
+ start(e) {
1500
+ return this.stop(), new Promise((t) => {
1501
+ this.hasAnimated = !0, this.animation = e(t), this.events.animationStart && this.events.animationStart.notify();
1502
+ }).then(() => {
1503
+ this.events.animationComplete && this.events.animationComplete.notify(), this.clearAnimation();
1504
+ });
1505
+ }
1506
+ stop() {
1507
+ this.animation && (this.animation.stop(), this.events.animationCancel && this.events.animationCancel.notify()), this.clearAnimation();
1508
+ }
1509
+ isAnimating() {
1510
+ return !!this.animation;
1511
+ }
1512
+ clearAnimation() {
1513
+ delete this.animation;
1514
+ }
1515
+ destroy() {
1516
+ this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
1517
+ }
1518
+ };
1519
+ function motionValue(e, t) {
1520
+ return new MotionValue(e, t);
1443
1521
  }
1444
- function getVariableValue(e, t, n = 1) {
1445
- `${e}`;
1446
- let [r, i] = parseCSSVariable(e);
1447
- if (!r) return;
1448
- let a = window.getComputedStyle(t).getPropertyValue(r);
1449
- if (a) {
1450
- let e = a.trim();
1451
- return isNumericalString(e) ? parseFloat(e) : e;
1522
+ //#endregion
1523
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
1524
+ function resolveTransition(e, t) {
1525
+ if (e?.inherit && t) {
1526
+ let { inherit: n, ...r } = e;
1527
+ return {
1528
+ ...t,
1529
+ ...r
1530
+ };
1452
1531
  }
1453
- return isCSSVariableToken(i) ? getVariableValue(i, t, n + 1) : i;
1532
+ return e;
1454
1533
  }
1455
1534
  //#endregion
1456
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
1457
- var at = {
1535
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
1536
+ function getValueTransition$1(e, t) {
1537
+ let n = e?.[t] ?? e?.default ?? e;
1538
+ return n === e ? n : resolveTransition(n, e);
1539
+ }
1540
+ t(getValueTransition$1, "getValueTransition");
1541
+ //#endregion
1542
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/utils/default-transitions.mjs
1543
+ var ct = {
1458
1544
  type: "spring",
1459
1545
  stiffness: 500,
1460
1546
  damping: 25,
@@ -1464,10 +1550,10 @@ var at = {
1464
1550
  stiffness: 550,
1465
1551
  damping: e === 0 ? 2 * Math.sqrt(550) : 30,
1466
1552
  restSpeed: 10
1467
- }), ot = {
1553
+ }), lt = {
1468
1554
  type: "keyframes",
1469
1555
  duration: .8
1470
- }, st = {
1556
+ }, ut = {
1471
1557
  type: "keyframes",
1472
1558
  ease: [
1473
1559
  .25,
@@ -1476,37 +1562,24 @@ var at = {
1476
1562
  1
1477
1563
  ],
1478
1564
  duration: .3
1479
- }, getDefaultTransition = (e, { keyframes: t }) => t.length > 2 ? ot : J.has(e) ? e.startsWith("scale") ? criticallyDampedSpring(t[1]) : at : st, isNotNull = (e) => e !== null;
1480
- function getFinalKeyframe(e, { repeat: t, repeatType: n = "loop" }, r) {
1481
- let i = e.filter(isNotNull), a = t && n !== "loop" && t % 2 == 1 ? 0 : i.length - 1;
1482
- return !a || r === void 0 ? i[a] : r;
1483
- }
1484
- //#endregion
1485
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/utils/resolve-transition.mjs
1486
- function resolveTransition(e, t) {
1487
- if (e?.inherit && t) {
1488
- let { inherit: n, ...r } = e;
1489
- return {
1490
- ...t,
1491
- ...r
1492
- };
1493
- }
1494
- return e;
1495
- }
1496
- //#endregion
1497
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/utils/get-value-transition.mjs
1498
- function getValueTransition$1(e, t) {
1499
- let n = e?.[t] ?? e?.default ?? e;
1500
- return n === e ? n : resolveTransition(n, e);
1501
- }
1502
- t(getValueTransition$1, "getValueTransition");
1503
- //#endregion
1504
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/utils/is-transition-defined.mjs
1505
- function isTransitionDefined({ when: e, delay: t, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: a, repeatType: o, repeatDelay: s, from: c, elapsed: l, ...u }) {
1506
- return !!Object.keys(u).length;
1565
+ }, getDefaultTransition = (e, { keyframes: t }) => t.length > 2 ? lt : G.has(e) ? e.startsWith("scale") ? criticallyDampedSpring(t[1]) : ct : ut, dt = /* @__PURE__ */ new Set([
1566
+ "when",
1567
+ "delay",
1568
+ "delayChildren",
1569
+ "staggerChildren",
1570
+ "staggerDirection",
1571
+ "repeat",
1572
+ "repeatType",
1573
+ "repeatDelay",
1574
+ "from",
1575
+ "elapsed"
1576
+ ]);
1577
+ function isTransitionDefined(e) {
1578
+ for (let t in e) if (!dt.has(t)) return !0;
1579
+ return !1;
1507
1580
  }
1508
1581
  //#endregion
1509
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
1582
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/interfaces/motion-value.mjs
1510
1583
  var animateMotionValue = (e, t, n, r = {}, i, a) => (o) => {
1511
1584
  let s = getValueTransition$1(r, e) || {}, c = s.delay || r.delay || 0, { elapsed: l = 0 } = r;
1512
1585
  l -= /* @__PURE__ */ secondsToMilliseconds(c);
@@ -1528,19 +1601,36 @@ var animateMotionValue = (e, t, n, r = {}, i, a) => (o) => {
1528
1601
  };
1529
1602
  isTransitionDefined(s) || Object.assign(u, getDefaultTransition(e, u)), u.duration &&= /* @__PURE__ */ secondsToMilliseconds(u.duration), u.repeatDelay &&= /* @__PURE__ */ secondsToMilliseconds(u.repeatDelay), u.from !== void 0 && (u.keyframes[0] = u.from);
1530
1603
  let d = !1;
1531
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (makeAnimationInstant(u), u.delay === 0 && (d = !0)), (D.instantAnimations || D.skipAnimations || i?.shouldSkipAnimations) && (d = !0, makeAnimationInstant(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
1604
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (makeAnimationInstant(u), u.delay === 0 && (d = !0)), (D.instantAnimations || D.skipAnimations || i?.shouldSkipAnimations || s.skipAnimations) && (d = !0, makeAnimationInstant(u), u.delay = 0), u.allowFlatten = !s.type && !s.ease, d && !a && t.get() !== void 0) {
1532
1605
  let e = getFinalKeyframe(u.keyframes, s);
1533
1606
  if (e !== void 0) {
1534
- j.update(() => {
1607
+ A.update(() => {
1535
1608
  u.onUpdate(e), u.onComplete();
1536
1609
  });
1537
1610
  return;
1538
1611
  }
1539
1612
  }
1540
1613
  return s.isSync ? new JSAnimation(u) : new AsyncMotionValueAnimation(u);
1541
- };
1614
+ }, ft = /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;
1615
+ function parseCSSVariable(e) {
1616
+ let t = ft.exec(e);
1617
+ if (!t) return [,];
1618
+ let [, n, r, i] = t;
1619
+ return [`--${n ?? r}`, i];
1620
+ }
1621
+ function getVariableValue(e, t, n = 1) {
1622
+ `${e}`;
1623
+ let [r, i] = parseCSSVariable(e);
1624
+ if (!r) return;
1625
+ let a = window.getComputedStyle(t).getPropertyValue(r);
1626
+ if (a) {
1627
+ let e = a.trim();
1628
+ return isNumericalString(e) ? parseFloat(e) : e;
1629
+ }
1630
+ return isCSSVariableToken(i) ? getVariableValue(i, t, n + 1) : i;
1631
+ }
1542
1632
  //#endregion
1543
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
1633
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/resolve-variants.mjs
1544
1634
  function getValueState(e) {
1545
1635
  let t = [{}, {}];
1546
1636
  return e?.values.forEach((e, n) => {
@@ -1559,110 +1649,24 @@ function resolveVariantFromProps(e, t, n, r) {
1559
1649
  return t;
1560
1650
  }
1561
1651
  //#endregion
1562
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
1652
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/resolve-dynamic-variants.mjs
1563
1653
  function resolveVariant(e, t, n) {
1564
1654
  let r = e.getProps();
1565
1655
  return resolveVariantFromProps(r, t, n === void 0 ? r.custom : n, e);
1566
1656
  }
1567
1657
  //#endregion
1568
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs
1569
- var ct = new Set([
1658
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/keys-position.mjs
1659
+ var pt = /* @__PURE__ */ new Set([
1570
1660
  "width",
1571
1661
  "height",
1572
1662
  "top",
1573
1663
  "left",
1574
1664
  "right",
1575
1665
  "bottom",
1576
- ...q
1577
- ]), lt = 30, isFloat = (e) => !isNaN(parseFloat(e)), ut = { current: void 0 }, MotionValue = class {
1578
- constructor(e, t = {}) {
1579
- this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (e) => {
1580
- let t = P.now();
1581
- if (this.updatedAt !== t && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(e), this.current !== this.prev && (this.events.change?.notify(this.current), this.dependents)) for (let e of this.dependents) e.dirty();
1582
- }, this.hasAnimated = !1, this.setCurrent(e), this.owner = t.owner;
1583
- }
1584
- setCurrent(e) {
1585
- this.current = e, this.updatedAt = P.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = isFloat(this.current));
1586
- }
1587
- setPrevFrameValue(e = this.current) {
1588
- this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
1589
- }
1590
- onChange(e) {
1591
- return this.on("change", e);
1592
- }
1593
- on(e, t) {
1594
- this.events[e] || (this.events[e] = new SubscriptionManager());
1595
- let n = this.events[e].add(t);
1596
- return e === "change" ? () => {
1597
- n(), j.read(() => {
1598
- this.events.change.getSize() || this.stop();
1599
- });
1600
- } : n;
1601
- }
1602
- clearListeners() {
1603
- for (let e in this.events) this.events[e].clear();
1604
- }
1605
- attach(e, t) {
1606
- this.passiveEffect = e, this.stopPassiveEffect = t;
1607
- }
1608
- set(e) {
1609
- this.passiveEffect ? this.passiveEffect(e, this.updateAndNotify) : this.updateAndNotify(e);
1610
- }
1611
- setWithVelocity(e, t, n) {
1612
- this.set(t), this.prev = void 0, this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt - n;
1613
- }
1614
- jump(e, t = !0) {
1615
- this.updateAndNotify(e), this.prev = e, this.prevUpdatedAt = this.prevFrameValue = void 0, t && this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
1616
- }
1617
- dirty() {
1618
- this.events.change?.notify(this.current);
1619
- }
1620
- addDependent(e) {
1621
- this.dependents ||= /* @__PURE__ */ new Set(), this.dependents.add(e);
1622
- }
1623
- removeDependent(e) {
1624
- this.dependents && this.dependents.delete(e);
1625
- }
1626
- get() {
1627
- return ut.current && ut.current.push(this), this.current;
1628
- }
1629
- getPrevious() {
1630
- return this.prev;
1631
- }
1632
- getVelocity() {
1633
- let e = P.now();
1634
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > lt) return 0;
1635
- let t = Math.min(this.updatedAt - this.prevUpdatedAt, lt);
1636
- return velocityPerSecond(parseFloat(this.current) - parseFloat(this.prevFrameValue), t);
1637
- }
1638
- start(e) {
1639
- return this.stop(), new Promise((t) => {
1640
- this.hasAnimated = !0, this.animation = e(t), this.events.animationStart && this.events.animationStart.notify();
1641
- }).then(() => {
1642
- this.events.animationComplete && this.events.animationComplete.notify(), this.clearAnimation();
1643
- });
1644
- }
1645
- stop() {
1646
- this.animation && (this.animation.stop(), this.events.animationCancel && this.events.animationCancel.notify()), this.clearAnimation();
1647
- }
1648
- isAnimating() {
1649
- return !!this.animation;
1650
- }
1651
- clearAnimation() {
1652
- delete this.animation;
1653
- }
1654
- destroy() {
1655
- this.dependents?.clear(), this.events.destroy?.notify(), this.clearListeners(), this.stop(), this.stopPassiveEffect && this.stopPassiveEffect();
1656
- }
1657
- };
1658
- function motionValue(e, t) {
1659
- return new MotionValue(e, t);
1660
- }
1661
- //#endregion
1662
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/is-keyframes-target.mjs
1663
- var isKeyframesTarget = (e) => Array.isArray(e);
1666
+ ...W
1667
+ ]), isKeyframesTarget = (e) => Array.isArray(e);
1664
1668
  //#endregion
1665
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/setters.mjs
1669
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/setters.mjs
1666
1670
  function setMotionValue(e, t, n) {
1667
1671
  e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, motionValue(n));
1668
1672
  }
@@ -1678,15 +1682,15 @@ function setTarget(e, t) {
1678
1682
  for (let t in i) setMotionValue(e, t, resolveFinalValueInKeyframes(i[t]));
1679
1683
  }
1680
1684
  //#endregion
1681
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
1685
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/utils/is-motion-value.mjs
1682
1686
  var isMotionValue = (e) => !!(e && e.getVelocity);
1683
1687
  //#endregion
1684
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/will-change/is.mjs
1688
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/will-change/is.mjs
1685
1689
  function isWillChangeMotionValue(e) {
1686
1690
  return !!(isMotionValue(e) && e.add);
1687
1691
  }
1688
1692
  //#endregion
1689
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
1693
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/will-change/add-will-change.mjs
1690
1694
  function addValueToWillChange(e, t) {
1691
1695
  let n = e.getValue("willChange");
1692
1696
  if (isWillChangeMotionValue(n)) return n.add(t);
@@ -1696,18 +1700,18 @@ function addValueToWillChange(e, t) {
1696
1700
  }
1697
1701
  }
1698
1702
  //#endregion
1699
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
1703
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/dom/utils/camel-to-dash.mjs
1700
1704
  function camelToDash(e) {
1701
1705
  return e.replace(/([A-Z])/g, (e) => `-${e.toLowerCase()}`);
1702
1706
  }
1703
- var dt = "data-" + camelToDash("framerAppearId");
1707
+ var mt = "data-" + camelToDash("framerAppearId");
1704
1708
  //#endregion
1705
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
1709
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/optimized-appear/get-appear-id.mjs
1706
1710
  function getOptimisedAppearId(e) {
1707
- return e.props[dt];
1711
+ return e.props[mt];
1708
1712
  }
1709
1713
  //#endregion
1710
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
1714
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-target.mjs
1711
1715
  function shouldBlockAnimation({ protectedKeys: e, needsAnimating: t }, n) {
1712
1716
  let r = e.hasOwnProperty(n) && t[n] !== !0;
1713
1717
  return t[n] = !1, r;
@@ -1715,41 +1719,47 @@ function shouldBlockAnimation({ protectedKeys: e, needsAnimating: t }, n) {
1715
1719
  function animateTarget(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
1716
1720
  let { transition: a, transitionEnd: o, ...s } = t, c = e.getDefaultTransition();
1717
1721
  a = a ? resolveTransition(a, c) : c;
1718
- let l = a?.reduceMotion;
1722
+ let l = a?.reduceMotion, u = a?.skipAnimations;
1719
1723
  r && (a = r);
1720
- let u = [], d = i && e.animationState && e.animationState.getState()[i];
1724
+ let d = [], f = i && e.animationState && e.animationState.getState()[i], p = a?.path;
1725
+ p && p.animateVisualElement(e, s, a, n, d);
1721
1726
  for (let t in s) {
1722
1727
  let r = e.getValue(t, e.latestValues[t] ?? null), i = s[t];
1723
- if (i === void 0 || d && shouldBlockAnimation(d, t)) continue;
1728
+ if (i === void 0 || f && shouldBlockAnimation(f, t)) continue;
1724
1729
  let o = {
1725
1730
  delay: n,
1726
1731
  ...getValueTransition$1(a || {}, t)
1727
- }, c = r.get();
1728
- if (c !== void 0 && !r.isAnimating && !Array.isArray(i) && i === c && !o.velocity) continue;
1729
- let f = !1;
1732
+ };
1733
+ u && (o.skipAnimations = !0);
1734
+ let c = r.get();
1735
+ if (c !== void 0 && !r.isAnimating() && !Array.isArray(i) && i === c && !o.velocity) {
1736
+ A.update(() => r.set(i));
1737
+ continue;
1738
+ }
1739
+ let p = !1;
1730
1740
  if (window.MotionHandoffAnimation) {
1731
1741
  let n = getOptimisedAppearId(e);
1732
1742
  if (n) {
1733
- let e = window.MotionHandoffAnimation(n, t, j);
1734
- e !== null && (o.startTime = e, f = !0);
1743
+ let e = window.MotionHandoffAnimation(n, t, A);
1744
+ e !== null && (o.startTime = e, p = !0);
1735
1745
  }
1736
1746
  }
1737
1747
  addValueToWillChange(e, t);
1738
- let p = l ?? e.shouldReduceMotion;
1739
- r.start(animateMotionValue(t, r, i, p && ct.has(t) ? { type: !1 } : o, e, f));
1740
- let m = r.animation;
1741
- m && u.push(m);
1748
+ let m = l ?? e.shouldReduceMotion;
1749
+ r.start(animateMotionValue(t, r, i, m && pt.has(t) ? { type: !1 } : o, e, p));
1750
+ let h = r.animation;
1751
+ h && d.push(h);
1742
1752
  }
1743
1753
  if (o) {
1744
- let applyTransitionEnd = () => j.update(() => {
1754
+ let applyTransitionEnd = () => A.update(() => {
1745
1755
  o && setTarget(e, o);
1746
1756
  });
1747
- u.length ? Promise.all(u).then(applyTransitionEnd) : applyTransitionEnd();
1757
+ d.length ? Promise.all(d).then(applyTransitionEnd) : applyTransitionEnd();
1748
1758
  }
1749
- return u;
1759
+ return d;
1750
1760
  }
1751
1761
  //#endregion
1752
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
1762
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/interfaces/visual-element-variant.mjs
1753
1763
  function animateVariant(e, t, n = {}) {
1754
1764
  let r = resolveVariant(e, t, n.type === "exit" ? e.presenceContext?.custom : void 0), { transition: i = e.getDefaultTransition() || {} } = r || {};
1755
1765
  n.transitionOverride && (i = n.transitionOverride);
@@ -1771,7 +1781,7 @@ function animateChildren(e, t, n = 0, r = 0, i = 0, a = 1, o) {
1771
1781
  return Promise.all(s);
1772
1782
  }
1773
1783
  //#endregion
1774
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs
1784
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/interfaces/visual-element.mjs
1775
1785
  function animateVisualElement(e, t, n = {}) {
1776
1786
  e.notify("AnimationStart", t);
1777
1787
  let r;
@@ -1788,27 +1798,27 @@ function animateVisualElement(e, t, n = {}) {
1788
1798
  });
1789
1799
  }
1790
1800
  //#endregion
1791
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/types/auto.mjs
1792
- var ft = {
1801
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/types/auto.mjs
1802
+ var ht = {
1793
1803
  test: (e) => e === "auto",
1794
1804
  parse: (e) => e
1795
- }, testValueType = (e) => (t) => t.test(e), pt = [
1805
+ }, testValueType = (e) => (t) => t.test(e), gt = [
1806
+ P,
1807
+ R,
1808
+ L,
1796
1809
  I,
1797
- V,
1798
- B,
1799
- z,
1810
+ Ce,
1800
1811
  Se,
1801
- xe,
1802
- ft
1803
- ], findDimensionValueType = (e) => pt.find(testValueType(e));
1812
+ ht
1813
+ ], findDimensionValueType = (e) => gt.find(testValueType(e));
1804
1814
  //#endregion
1805
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
1815
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/keyframes/utils/is-none.mjs
1806
1816
  function isNone(e) {
1807
1817
  return typeof e == "number" ? e === 0 : e === null ? !0 : e === "none" || e === "0" || isZeroValueString(e);
1808
1818
  }
1809
1819
  //#endregion
1810
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs
1811
- var mt = new Set([
1820
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/types/complex/filter.mjs
1821
+ var _t = /* @__PURE__ */ new Set([
1812
1822
  "brightness",
1813
1823
  "contrast",
1814
1824
  "saturate",
@@ -1817,132 +1827,133 @@ var mt = new Set([
1817
1827
  function applyDefaultFilter(e) {
1818
1828
  let [t, n] = e.slice(0, -1).split("(");
1819
1829
  if (t === "drop-shadow") return e;
1820
- let [r] = n.match(_e) || [];
1830
+ let [r] = n.match(ve) || [];
1821
1831
  if (!r) return e;
1822
- let i = n.replace(r, ""), a = +!!mt.has(t);
1832
+ let i = n.replace(r, ""), a = +!!_t.has(t);
1823
1833
  return r !== n && (a *= 100), t + "(" + a + i + ")";
1824
1834
  }
1825
- var ht = /\b([a-z-]*)\(.*?\)/gu, gt = {
1826
- ...W,
1835
+ var vt = /\b([a-z-]*)\(.*?\)/gu, yt = {
1836
+ ...V,
1827
1837
  getAnimatableNone: (e) => {
1828
- let t = e.match(ht);
1838
+ let t = e.match(vt);
1829
1839
  return t ? t.map(applyDefaultFilter).join(" ") : e;
1830
1840
  }
1831
- }, _t = {
1832
- ...W,
1841
+ }, bt = {
1842
+ ...V,
1833
1843
  getAnimatableNone: (e) => {
1834
- let t = W.parse(e);
1835
- return W.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
1844
+ let t = V.parse(e);
1845
+ return V.createTransformer(e)(t.map((e) => typeof e == "number" ? 0 : typeof e == "object" ? {
1836
1846
  ...e,
1837
1847
  alpha: 1
1838
1848
  } : e));
1839
1849
  }
1840
- }, vt = {
1841
- ...I,
1850
+ }, xt = {
1851
+ ...P,
1842
1852
  transform: Math.round
1843
- }, yt = {
1844
- borderWidth: V,
1845
- borderTopWidth: V,
1846
- borderRightWidth: V,
1847
- borderBottomWidth: V,
1848
- borderLeftWidth: V,
1849
- borderRadius: V,
1850
- borderTopLeftRadius: V,
1851
- borderTopRightRadius: V,
1852
- borderBottomRightRadius: V,
1853
- borderBottomLeftRadius: V,
1854
- width: V,
1855
- maxWidth: V,
1856
- height: V,
1857
- maxHeight: V,
1858
- top: V,
1859
- right: V,
1860
- bottom: V,
1861
- left: V,
1862
- inset: V,
1863
- insetBlock: V,
1864
- insetBlockStart: V,
1865
- insetBlockEnd: V,
1866
- insetInline: V,
1867
- insetInlineStart: V,
1868
- insetInlineEnd: V,
1869
- padding: V,
1870
- paddingTop: V,
1871
- paddingRight: V,
1872
- paddingBottom: V,
1873
- paddingLeft: V,
1874
- paddingBlock: V,
1875
- paddingBlockStart: V,
1876
- paddingBlockEnd: V,
1877
- paddingInline: V,
1878
- paddingInlineStart: V,
1879
- paddingInlineEnd: V,
1880
- margin: V,
1881
- marginTop: V,
1882
- marginRight: V,
1883
- marginBottom: V,
1884
- marginLeft: V,
1885
- marginBlock: V,
1886
- marginBlockStart: V,
1887
- marginBlockEnd: V,
1888
- marginInline: V,
1889
- marginInlineStart: V,
1890
- marginInlineEnd: V,
1891
- fontSize: V,
1892
- backgroundPositionX: V,
1893
- backgroundPositionY: V,
1894
- rotate: z,
1895
- rotateX: z,
1896
- rotateY: z,
1897
- rotateZ: z,
1898
- scale: ge,
1899
- scaleX: ge,
1900
- scaleY: ge,
1901
- scaleZ: ge,
1902
- skew: z,
1903
- skewX: z,
1904
- skewY: z,
1905
- distance: V,
1906
- translateX: V,
1907
- translateY: V,
1908
- translateZ: V,
1909
- x: V,
1910
- y: V,
1911
- z: V,
1912
- perspective: V,
1913
- transformPerspective: V,
1914
- opacity: L,
1915
- originX: Ce,
1916
- originY: Ce,
1917
- originZ: V,
1918
- zIndex: vt,
1919
- fillOpacity: L,
1920
- strokeOpacity: L,
1921
- numOctaves: vt
1922
- }, bt = {
1923
- ...yt,
1924
- color: U,
1925
- backgroundColor: U,
1926
- outlineColor: U,
1927
- fill: U,
1928
- stroke: U,
1929
- borderColor: U,
1930
- borderTopColor: U,
1931
- borderRightColor: U,
1932
- borderBottomColor: U,
1933
- borderLeftColor: U,
1934
- filter: gt,
1935
- WebkitFilter: gt,
1936
- mask: _t,
1937
- WebkitMask: _t
1938
- }, getDefaultValueType = (e) => bt[e], xt = /* @__PURE__ */ new Set([gt, _t]);
1853
+ }, J = {
1854
+ borderWidth: R,
1855
+ borderTopWidth: R,
1856
+ borderRightWidth: R,
1857
+ borderBottomWidth: R,
1858
+ borderLeftWidth: R,
1859
+ borderRadius: R,
1860
+ borderTopLeftRadius: R,
1861
+ borderTopRightRadius: R,
1862
+ borderBottomRightRadius: R,
1863
+ borderBottomLeftRadius: R,
1864
+ width: R,
1865
+ maxWidth: R,
1866
+ height: R,
1867
+ maxHeight: R,
1868
+ top: R,
1869
+ right: R,
1870
+ bottom: R,
1871
+ left: R,
1872
+ inset: R,
1873
+ insetBlock: R,
1874
+ insetBlockStart: R,
1875
+ insetBlockEnd: R,
1876
+ insetInline: R,
1877
+ insetInlineStart: R,
1878
+ insetInlineEnd: R,
1879
+ padding: R,
1880
+ paddingTop: R,
1881
+ paddingRight: R,
1882
+ paddingBottom: R,
1883
+ paddingLeft: R,
1884
+ paddingBlock: R,
1885
+ paddingBlockStart: R,
1886
+ paddingBlockEnd: R,
1887
+ paddingInline: R,
1888
+ paddingInlineStart: R,
1889
+ paddingInlineEnd: R,
1890
+ margin: R,
1891
+ marginTop: R,
1892
+ marginRight: R,
1893
+ marginBottom: R,
1894
+ marginLeft: R,
1895
+ marginBlock: R,
1896
+ marginBlockStart: R,
1897
+ marginBlockEnd: R,
1898
+ marginInline: R,
1899
+ marginInlineStart: R,
1900
+ marginInlineEnd: R,
1901
+ fontSize: R,
1902
+ backgroundPositionX: R,
1903
+ backgroundPositionY: R,
1904
+ rotate: I,
1905
+ pathRotation: I,
1906
+ rotateX: I,
1907
+ rotateY: I,
1908
+ rotateZ: I,
1909
+ scale: _e,
1910
+ scaleX: _e,
1911
+ scaleY: _e,
1912
+ scaleZ: _e,
1913
+ skew: I,
1914
+ skewX: I,
1915
+ skewY: I,
1916
+ distance: R,
1917
+ translateX: R,
1918
+ translateY: R,
1919
+ translateZ: R,
1920
+ x: R,
1921
+ y: R,
1922
+ z: R,
1923
+ perspective: R,
1924
+ transformPerspective: R,
1925
+ opacity: ge,
1926
+ originX: we,
1927
+ originY: we,
1928
+ originZ: R,
1929
+ zIndex: xt,
1930
+ fillOpacity: ge,
1931
+ strokeOpacity: ge,
1932
+ numOctaves: xt
1933
+ }, St = {
1934
+ ...J,
1935
+ color: B,
1936
+ backgroundColor: B,
1937
+ outlineColor: B,
1938
+ fill: B,
1939
+ stroke: B,
1940
+ borderColor: B,
1941
+ borderTopColor: B,
1942
+ borderRightColor: B,
1943
+ borderBottomColor: B,
1944
+ borderLeftColor: B,
1945
+ filter: yt,
1946
+ WebkitFilter: yt,
1947
+ mask: bt,
1948
+ WebkitMask: bt
1949
+ }, getDefaultValueType = (e) => St[e], Ct = /*@__PURE__*/ new Set([yt, bt]);
1939
1950
  function getAnimatableNone(e, t) {
1940
1951
  let n = getDefaultValueType(e);
1941
- return xt.has(n) || (n = W), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
1952
+ return Ct.has(n) || (n = V), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
1942
1953
  }
1943
1954
  //#endregion
1944
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
1945
- var St = new Set([
1955
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/keyframes/utils/make-none-animatable.mjs
1956
+ var wt = /* @__PURE__ */ new Set([
1946
1957
  "auto",
1947
1958
  "none",
1948
1959
  "0"
@@ -1951,12 +1962,12 @@ function makeNoneKeyframesAnimatable(e, t, n) {
1951
1962
  let r = 0, i;
1952
1963
  for (; r < e.length && !i;) {
1953
1964
  let t = e[r];
1954
- typeof t == "string" && !St.has(t) && analyseComplexValue(t).values.length && (i = e[r]), r++;
1965
+ typeof t == "string" && !wt.has(t) && analyseComplexValue(t).values.length && (i = e[r]), r++;
1955
1966
  }
1956
1967
  if (i && n) for (let r of t) e[r] = getAnimatableNone(n, i);
1957
1968
  }
1958
1969
  //#endregion
1959
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
1970
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/keyframes/DOMKeyframesResolver.mjs
1960
1971
  var DOMKeyframesResolver = class extends KeyframeResolver {
1961
1972
  constructor(e, t, n, r, i) {
1962
1973
  super(e, t, n, r, i, !0);
@@ -1972,9 +1983,9 @@ var DOMKeyframesResolver = class extends KeyframeResolver {
1972
1983
  i !== void 0 && (e[n] = i), n === e.length - 1 && (this.finalKeyframe = r);
1973
1984
  }
1974
1985
  }
1975
- if (this.resolveNoneKeyframes(), !ct.has(n) || e.length !== 2) return;
1986
+ if (this.resolveNoneKeyframes(), !pt.has(n) || e.length !== 2) return;
1976
1987
  let [r, i] = e, a = findDimensionValueType(r), o = findDimensionValueType(i);
1977
- if (containsCSSVariable(r) !== containsCSSVariable(i) && Y[n]) {
1988
+ if (containsCSSVariable(r) !== containsCSSVariable(i) && K[n]) {
1978
1989
  this.needsMeasurement = !0;
1979
1990
  return;
1980
1991
  }
@@ -1982,7 +1993,7 @@ var DOMKeyframesResolver = class extends KeyframeResolver {
1982
1993
  let n = e[t];
1983
1994
  typeof n == "string" && (e[t] = parseFloat(n));
1984
1995
  }
1985
- else Y[n] && (this.needsMeasurement = !0);
1996
+ else K[n] && (this.needsMeasurement = !0);
1986
1997
  }
1987
1998
  resolveNoneKeyframes() {
1988
1999
  let { unresolvedKeyframes: e, name: t } = this, n = [];
@@ -1992,7 +2003,7 @@ var DOMKeyframesResolver = class extends KeyframeResolver {
1992
2003
  measureInitialState() {
1993
2004
  let { element: e, unresolvedKeyframes: t, name: n } = this;
1994
2005
  if (!e || !e.current) return;
1995
- n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = Y[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
2006
+ n === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = K[n](e.measureViewportBox(), window.getComputedStyle(e.current)), t[0] = this.measuredOrigin;
1996
2007
  let r = t[t.length - 1];
1997
2008
  r !== void 0 && e.getValue(n, r).jump(r, !1);
1998
2009
  }
@@ -2002,18 +2013,18 @@ var DOMKeyframesResolver = class extends KeyframeResolver {
2002
2013
  let r = e.getValue(t);
2003
2014
  r && r.jump(this.measuredOrigin, !1);
2004
2015
  let i = n.length - 1, a = n[i];
2005
- n[i] = Y[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
2016
+ n[i] = K[t](e.measureViewportBox(), window.getComputedStyle(e.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([t, n]) => {
2006
2017
  e.getValue(t).set(n);
2007
2018
  }), this.resolveNoneKeyframes();
2008
2019
  }
2009
- }, Ct = new Set([
2010
- "opacity",
2011
- "clipPath",
2012
- "filter",
2013
- "transform"
2014
- ]);
2020
+ }, Tt = [
2021
+ "borderTopLeftRadius",
2022
+ "borderTopRightRadius",
2023
+ "borderBottomRightRadius",
2024
+ "borderBottomLeftRadius"
2025
+ ];
2015
2026
  //#endregion
2016
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
2027
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/resolve-elements.mjs
2017
2028
  function resolveElements(e, t, n) {
2018
2029
  if (e == null) return [];
2019
2030
  if (e instanceof EventTarget) return [e];
@@ -2026,7 +2037,7 @@ function resolveElements(e, t, n) {
2026
2037
  return Array.from(e).filter((e) => e != null);
2027
2038
  }
2028
2039
  //#endregion
2029
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/effects/utils/create-dom-effect.mjs
2040
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/effects/utils/create-dom-effect.mjs
2030
2041
  function createSelectorEffect(e) {
2031
2042
  return (t, n) => {
2032
2043
  let r = resolveElements(t), i = [];
@@ -2040,7 +2051,7 @@ function createSelectorEffect(e) {
2040
2051
  };
2041
2052
  }
2042
2053
  //#endregion
2043
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs
2054
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/types/utils/get-as-type.mjs
2044
2055
  var getValueAsType = (e, t) => t && typeof e == "number" ? t.transform(e) : e, MotionValueState = class {
2045
2056
  constructor() {
2046
2057
  this.latest = {}, this.values = /* @__PURE__ */ new Map();
@@ -2050,13 +2061,13 @@ var getValueAsType = (e, t) => t && typeof e == "number" ? t.transform(e) : e, M
2050
2061
  a && a.onRemove();
2051
2062
  let onChange = () => {
2052
2063
  let r = t.get();
2053
- i ? this.latest[e] = getValueAsType(r, yt[e]) : this.latest[e] = r, n && j.render(n);
2064
+ i ? this.latest[e] = getValueAsType(r, J[e]) : this.latest[e] = r, n && A.render(n);
2054
2065
  };
2055
2066
  onChange();
2056
2067
  let o = t.on("change", onChange);
2057
2068
  r && t.addDependent(r);
2058
2069
  let remove = () => {
2059
- o(), n && M(n), this.values.delete(e), r && t.removeDependent(r);
2070
+ o(), n && j(n), this.values.delete(e), r && t.removeDependent(r);
2060
2071
  };
2061
2072
  return this.values.set(e, {
2062
2073
  value: t,
@@ -2068,7 +2079,7 @@ var getValueAsType = (e, t) => t && typeof e == "number" ? t.transform(e) : e, M
2068
2079
  }
2069
2080
  };
2070
2081
  //#endregion
2071
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs
2082
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/effects/utils/create-effect.mjs
2072
2083
  function createEffect(e) {
2073
2084
  let t = /* @__PURE__ */ new WeakMap();
2074
2085
  return (n, r) => {
@@ -2085,13 +2096,13 @@ function createEffect(e) {
2085
2096
  };
2086
2097
  }
2087
2098
  //#endregion
2088
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/is-html-element.mjs
2099
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/is-html-element.mjs
2089
2100
  function isHTMLElement(e) {
2090
2101
  return isObject(e) && "offsetHeight" in e && !("ownerSVGElement" in e);
2091
2102
  }
2092
2103
  //#endregion
2093
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/effects/style/transform.mjs
2094
- var wt = {
2104
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/effects/style/transform.mjs
2105
+ var Et = {
2095
2106
  x: "translateX",
2096
2107
  y: "translateY",
2097
2108
  z: "translateZ",
@@ -2099,8 +2110,8 @@ var wt = {
2099
2110
  };
2100
2111
  function buildTransform$1(e) {
2101
2112
  let t = "", n = !0;
2102
- for (let r = 0; r < q.length; r++) {
2103
- let i = q[r], a = e.latest[i];
2113
+ for (let r = 0; r < W.length; r++) {
2114
+ let i = W[r], a = e.latest[i];
2104
2115
  if (a === void 0) continue;
2105
2116
  let o = !0;
2106
2117
  if (typeof a == "number") o = a === +!!i.startsWith("scale");
@@ -2110,24 +2121,25 @@ function buildTransform$1(e) {
2110
2121
  }
2111
2122
  if (!o) {
2112
2123
  n = !1;
2113
- let e = wt[i] || i;
2124
+ let e = Et[i] || i;
2114
2125
  t += `${e}(${a}) `;
2115
2126
  }
2116
2127
  }
2117
- return n ? "none" : t.trim();
2128
+ let r = e.latest.pathRotation;
2129
+ return r && (n = !1, t += `rotate(${typeof r == "number" ? `${r}deg` : r}) `), n ? "none" : t.trim();
2118
2130
  }
2119
2131
  t(buildTransform$1, "buildTransform");
2120
2132
  //#endregion
2121
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/effects/style/index.mjs
2122
- var Tt = new Set([
2133
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/effects/style/index.mjs
2134
+ var Dt = /* @__PURE__ */ new Set([
2123
2135
  "originX",
2124
2136
  "originY",
2125
2137
  "originZ"
2126
2138
  ]), addStyleValue = (e, t, n, r) => {
2127
2139
  let i, a;
2128
- return J.has(n) ? (t.get("transform") || (!isHTMLElement(e) && !t.get("transformBox") && addStyleValue(e, t, "transformBox", new MotionValue("fill-box")), t.set("transform", new MotionValue("none"), () => {
2140
+ return G.has(n) ? (t.get("transform") || (!isHTMLElement(e) && !t.get("transformBox") && addStyleValue(e, t, "transformBox", new MotionValue("fill-box")), t.set("transform", new MotionValue("none"), () => {
2129
2141
  e.style.transform = buildTransform$1(t);
2130
- })), a = t.get("transform")) : Tt.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new MotionValue(""), () => {
2142
+ })), a = t.get("transform")) : Dt.has(n) ? (t.get("transformOrigin") || t.set("transformOrigin", new MotionValue(""), () => {
2131
2143
  let n = t.latest.originX ?? "50%", r = t.latest.originY ?? "50%", i = t.latest.originZ ?? 0;
2132
2144
  e.style.transformOrigin = `${n} ${r} ${i}`;
2133
2145
  }), a = t.get("transformOrigin")) : i = isCSSVar(n) ? () => {
@@ -2135,24 +2147,24 @@ var Tt = new Set([
2135
2147
  } : () => {
2136
2148
  e.style[n] = t.latest[n];
2137
2149
  }, t.set(n, r, i, a);
2138
- }, Et = /* @__PURE__ */ createSelectorEffect(/* @__PURE__ */ createEffect(addStyleValue)), { schedule: Dt, cancel: Ot } = /* @__PURE__ */ createRenderBatcher(queueMicrotask, !1), Z = {
2150
+ }, Ot = /*@__PURE__*/ createSelectorEffect(/*@__PURE__*/ createEffect(addStyleValue)), { schedule: kt, cancel: At } = /* @__PURE__ */ createRenderBatcher(queueMicrotask, !1), Y = {
2139
2151
  x: !1,
2140
2152
  y: !1
2141
2153
  };
2142
2154
  function isDragActive() {
2143
- return Z.x || Z.y;
2155
+ return Y.x || Y.y;
2144
2156
  }
2145
2157
  //#endregion
2146
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
2158
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/gestures/drag/state/set-active.mjs
2147
2159
  function setDragLock(e) {
2148
- return e === "x" || e === "y" ? Z[e] ? null : (Z[e] = !0, () => {
2149
- Z[e] = !1;
2150
- }) : Z.x || Z.y ? null : (Z.x = Z.y = !0, () => {
2151
- Z.x = Z.y = !1;
2160
+ return e === "x" || e === "y" ? Y[e] ? null : (Y[e] = !0, () => {
2161
+ Y[e] = !1;
2162
+ }) : Y.x || Y.y ? null : (Y.x = Y.y = !0, () => {
2163
+ Y.x = Y.y = !1;
2152
2164
  });
2153
2165
  }
2154
2166
  //#endregion
2155
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
2167
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/gestures/utils/setup.mjs
2156
2168
  function setupGesture(e, t) {
2157
2169
  let n = resolveElements(e), r = new AbortController(), i = {
2158
2170
  passive: !0,
@@ -2166,7 +2178,7 @@ function setupGesture(e, t) {
2166
2178
  ];
2167
2179
  }
2168
2180
  //#endregion
2169
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/gestures/hover.mjs
2181
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/gestures/hover.mjs
2170
2182
  function isValidHover(e) {
2171
2183
  return !(e.pointerType === "touch" || isDragActive());
2172
2184
  }
@@ -2199,8 +2211,8 @@ function hover(e, t, n = {}) {
2199
2211
  }), a;
2200
2212
  }
2201
2213
  //#endregion
2202
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
2203
- var isNodeOrChild = (e, t) => t ? e === t ? !0 : isNodeOrChild(e, t.parentElement) : !1, isPrimaryPointer = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, kt = new Set([
2214
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/gestures/utils/is-node-or-child.mjs
2215
+ var isNodeOrChild = (e, t) => t ? e === t ? !0 : isNodeOrChild(e, t.parentElement) : !1, isPrimaryPointer = (e) => e.pointerType === "mouse" ? typeof e.button != "number" || e.button <= 0 : e.isPrimary !== !1, jt = /* @__PURE__ */ new Set([
2204
2216
  "BUTTON",
2205
2217
  "INPUT",
2206
2218
  "SELECT",
@@ -2208,21 +2220,21 @@ var isNodeOrChild = (e, t) => t ? e === t ? !0 : isNodeOrChild(e, t.parentElemen
2208
2220
  "A"
2209
2221
  ]);
2210
2222
  function isElementKeyboardAccessible(e) {
2211
- return kt.has(e.tagName) || e.isContentEditable === !0;
2223
+ return jt.has(e.tagName) || e.isContentEditable === !0;
2212
2224
  }
2213
- var At = new Set([
2225
+ var Mt = /* @__PURE__ */ new Set([
2214
2226
  "INPUT",
2215
2227
  "SELECT",
2216
2228
  "TEXTAREA"
2217
2229
  ]);
2218
2230
  function isElementTextInput(e) {
2219
- return At.has(e.tagName) || e.isContentEditable === !0;
2231
+ return Mt.has(e.tagName) || e.isContentEditable === !0;
2220
2232
  }
2221
2233
  //#endregion
2222
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs
2223
- var jt = /* @__PURE__ */ new WeakSet();
2234
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/gestures/press/utils/state.mjs
2235
+ var Nt = /* @__PURE__ */ new WeakSet();
2224
2236
  //#endregion
2225
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
2237
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/gestures/press/utils/keyboard.mjs
2226
2238
  function filterEvents(e) {
2227
2239
  return (t) => {
2228
2240
  t.key === "Enter" && e(t);
@@ -2238,7 +2250,7 @@ var enableKeyboardPress = (e, t) => {
2238
2250
  let n = e.currentTarget;
2239
2251
  if (!n) return;
2240
2252
  let r = filterEvents(() => {
2241
- if (jt.has(n)) return;
2253
+ if (Nt.has(n)) return;
2242
2254
  firePointerEvent(n, "down");
2243
2255
  let e = filterEvents(() => {
2244
2256
  firePointerEvent(n, "up");
@@ -2248,45 +2260,48 @@ var enableKeyboardPress = (e, t) => {
2248
2260
  n.addEventListener("keydown", r, t), n.addEventListener("blur", () => n.removeEventListener("keydown", r), t);
2249
2261
  };
2250
2262
  //#endregion
2251
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/gestures/press/index.mjs
2263
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/gestures/press/index.mjs
2252
2264
  function isValidPressEvent(e) {
2253
2265
  return isPrimaryPointer(e) && !isDragActive();
2254
2266
  }
2255
- var Mt = /* @__PURE__ */ new WeakSet();
2267
+ var Pt = /* @__PURE__ */ new WeakSet();
2256
2268
  function press(e, t, n = {}) {
2257
2269
  let [r, i, a] = setupGesture(e, n), startPress = (e) => {
2258
2270
  let r = e.currentTarget;
2259
- if (!isValidPressEvent(e) || Mt.has(e)) return;
2260
- jt.add(r), n.stopPropagation && Mt.add(e);
2261
- let a = t(r, e), onPointerEnd = (e, t) => {
2262
- window.removeEventListener("pointerup", onPointerUp), window.removeEventListener("pointercancel", onPointerCancel), jt.has(r) && jt.delete(r), isValidPressEvent(e) && typeof a == "function" && a(e, { success: t });
2271
+ if (!isValidPressEvent(e) || Pt.has(e)) return;
2272
+ Nt.add(r), n.stopPropagation && Pt.add(e);
2273
+ let a = t(r, e), o = {
2274
+ ...i,
2275
+ capture: !0
2276
+ }, onPointerEnd = (e, t) => {
2277
+ window.removeEventListener("pointerup", onPointerUp, o), window.removeEventListener("pointercancel", onPointerCancel, o), Nt.has(r) && Nt.delete(r), isValidPressEvent(e) && typeof a == "function" && a(e, { success: t });
2263
2278
  }, onPointerUp = (e) => {
2264
2279
  onPointerEnd(e, r === window || r === document || n.useGlobalTarget || isNodeOrChild(r, e.target));
2265
2280
  }, onPointerCancel = (e) => {
2266
2281
  onPointerEnd(e, !1);
2267
2282
  };
2268
- window.addEventListener("pointerup", onPointerUp, i), window.addEventListener("pointercancel", onPointerCancel, i);
2283
+ window.addEventListener("pointerup", onPointerUp, o), window.addEventListener("pointercancel", onPointerCancel, o);
2269
2284
  };
2270
2285
  return r.forEach((e) => {
2271
2286
  (n.useGlobalTarget ? window : e).addEventListener("pointerdown", startPress, i), isHTMLElement(e) && (e.addEventListener("focus", (e) => enableKeyboardPress(e, i)), !isElementKeyboardAccessible(e) && !e.hasAttribute("tabindex") && (e.tabIndex = 0));
2272
2287
  }), a;
2273
2288
  }
2274
2289
  //#endregion
2275
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
2290
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/is-svg-element.mjs
2276
2291
  function isSVGElement(e) {
2277
2292
  return isObject(e) && "ownerSVGElement" in e;
2278
2293
  }
2279
2294
  //#endregion
2280
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/resize/handle-element.mjs
2281
- var Nt = /* @__PURE__ */ new WeakMap(), Pt, getSize = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : isSVGElement(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Ft = /* @__PURE__ */ getSize("inline", "width", "offsetWidth"), It = /* @__PURE__ */ getSize("block", "height", "offsetHeight");
2295
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/resize/handle-element.mjs
2296
+ var Ft = /* @__PURE__ */ new WeakMap(), It, getSize = (e, t, n) => (r, i) => i && i[0] ? i[0][e + "Size"] : isSVGElement(r) && "getBBox" in r ? r.getBBox()[t] : r[n], Lt = /*@__PURE__*/ getSize("inline", "width", "offsetWidth"), Rt = /*@__PURE__*/ getSize("block", "height", "offsetHeight");
2282
2297
  function notifyTarget({ target: e, borderBoxSize: t }) {
2283
- Nt.get(e)?.forEach((n) => {
2298
+ Ft.get(e)?.forEach((n) => {
2284
2299
  n(e, {
2285
2300
  get width() {
2286
- return Ft(e, t);
2301
+ return Lt(e, t);
2287
2302
  },
2288
2303
  get height() {
2289
- return It(e, t);
2304
+ return Rt(e, t);
2290
2305
  }
2291
2306
  });
2292
2307
  });
@@ -2295,24 +2310,24 @@ function notifyAll(e) {
2295
2310
  e.forEach(notifyTarget);
2296
2311
  }
2297
2312
  function createResizeObserver() {
2298
- typeof ResizeObserver > "u" || (Pt = new ResizeObserver(notifyAll));
2313
+ typeof ResizeObserver > "u" || (It = new ResizeObserver(notifyAll));
2299
2314
  }
2300
2315
  function resizeElement(e, t) {
2301
- Pt || createResizeObserver();
2316
+ It || createResizeObserver();
2302
2317
  let n = resolveElements(e);
2303
2318
  return n.forEach((e) => {
2304
- let n = Nt.get(e);
2305
- n || (n = /* @__PURE__ */ new Set(), Nt.set(e, n)), n.add(t), Pt?.observe(e);
2319
+ let n = Ft.get(e);
2320
+ n || (n = /* @__PURE__ */ new Set(), Ft.set(e, n)), n.add(t), It?.observe(e);
2306
2321
  }), () => {
2307
2322
  n.forEach((e) => {
2308
- let n = Nt.get(e);
2309
- n?.delete(t), n?.size || Pt?.unobserve(e);
2323
+ let n = Ft.get(e);
2324
+ n?.delete(t), n?.size || It?.unobserve(e);
2310
2325
  });
2311
2326
  };
2312
2327
  }
2313
2328
  //#endregion
2314
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/resize/handle-window.mjs
2315
- var Lt = /* @__PURE__ */ new Set(), windowResizeHandler;
2329
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/resize/handle-window.mjs
2330
+ var zt = /* @__PURE__ */ new Set(), windowResizeHandler;
2316
2331
  function createWindowResizeHandler() {
2317
2332
  windowResizeHandler = () => {
2318
2333
  let e = {
@@ -2323,26 +2338,32 @@ function createWindowResizeHandler() {
2323
2338
  return window.innerHeight;
2324
2339
  }
2325
2340
  };
2326
- Lt.forEach((t) => t(e));
2341
+ zt.forEach((t) => t(e));
2327
2342
  }, window.addEventListener("resize", windowResizeHandler);
2328
2343
  }
2329
2344
  function resizeWindow(e) {
2330
- return Lt.add(e), windowResizeHandler || createWindowResizeHandler(), () => {
2331
- Lt.delete(e), !Lt.size && typeof windowResizeHandler == "function" && (window.removeEventListener("resize", windowResizeHandler), windowResizeHandler = void 0);
2345
+ return zt.add(e), windowResizeHandler || createWindowResizeHandler(), () => {
2346
+ zt.delete(e), !zt.size && typeof windowResizeHandler == "function" && (window.removeEventListener("resize", windowResizeHandler), windowResizeHandler = void 0);
2332
2347
  };
2333
2348
  }
2334
2349
  //#endregion
2335
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/resize/index.mjs
2350
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/resize/index.mjs
2336
2351
  function resize(e, t) {
2337
2352
  return typeof e == "function" ? resizeWindow(e) : resizeElement(e, t);
2338
2353
  }
2339
2354
  //#endregion
2340
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
2355
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/stats/buffer.mjs
2356
+ var X = {
2357
+ value: null,
2358
+ addProjectionMetrics: null
2359
+ };
2360
+ //#endregion
2361
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/is-svg-svg-element.mjs
2341
2362
  function isSVGSVGElement(e) {
2342
2363
  return isSVGElement(e) && e.tagName === "svg";
2343
2364
  }
2344
2365
  //#endregion
2345
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/stagger.mjs
2366
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/stagger.mjs
2346
2367
  function getOriginIndex(e, t) {
2347
2368
  if (e === "first") return 0;
2348
2369
  {
@@ -2361,42 +2382,42 @@ function stagger(e = .1, { startDelay: t = 0, from: n = 0, ease: r } = {}) {
2361
2382
  };
2362
2383
  }
2363
2384
  //#endregion
2364
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/transform.mjs
2385
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/transform.mjs
2365
2386
  function transform(...e) {
2366
2387
  let t = !Array.isArray(e[0]), n = t ? 0 : -1, r = e[0 + n], i = e[1 + n], a = e[2 + n], o = e[3 + n], s = interpolate(i, a, o);
2367
2388
  return t ? s(r) : s;
2368
2389
  }
2369
2390
  //#endregion
2370
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/subscribe-value.mjs
2391
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/subscribe-value.mjs
2371
2392
  function subscribeValue(e, t, n) {
2372
- let update = () => t.set(n()), scheduleUpdate = () => j.preRender(update, !1, !0), r = e.map((e) => e.on("change", scheduleUpdate));
2393
+ let update = () => t.set(n()), scheduleUpdate = () => A.preRender(update, !1, !0), r = e.map((e) => e.on("change", scheduleUpdate));
2373
2394
  t.on("destroy", () => {
2374
- r.forEach((e) => e()), M(update);
2395
+ r.forEach((e) => e()), j(update);
2375
2396
  });
2376
2397
  }
2377
2398
  //#endregion
2378
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/transform-value.mjs
2399
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/transform-value.mjs
2379
2400
  function transformValue(e) {
2380
2401
  let t = [];
2381
- ut.current = t;
2402
+ st.current = t;
2382
2403
  let n = e();
2383
- ut.current = void 0;
2404
+ st.current = void 0;
2384
2405
  let r = motionValue(n);
2385
2406
  return subscribeValue(t, r, e), r;
2386
2407
  }
2387
2408
  //#endregion
2388
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/map-value.mjs
2409
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/map-value.mjs
2389
2410
  function mapValue(e, t, n, r) {
2390
2411
  let i = transform(t, n, r);
2391
2412
  return transformValue(() => i(e.get()));
2392
2413
  }
2393
2414
  //#endregion
2394
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/types/utils/find.mjs
2395
- var Rt = [
2396
- ...pt,
2397
- U,
2398
- W
2399
- ], findValueType = (e) => Rt.find(testValueType(e)), createAxisDelta = () => ({
2415
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/types/utils/find.mjs
2416
+ var Bt = [
2417
+ ...gt,
2418
+ B,
2419
+ V
2420
+ ], findValueType = (e) => Bt.find(testValueType(e)), createAxisDelta = () => ({
2400
2421
  translate: 0,
2401
2422
  scale: 1,
2402
2423
  origin: 0,
@@ -2410,20 +2431,20 @@ var Rt = [
2410
2431
  }), createBox = () => ({
2411
2432
  x: createAxis(),
2412
2433
  y: createAxis()
2413
- }), zt = /* @__PURE__ */ new WeakMap();
2434
+ }), Z = /* @__PURE__ */ new WeakMap();
2414
2435
  //#endregion
2415
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
2436
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/is-animation-controls.mjs
2416
2437
  function isAnimationControls(e) {
2417
2438
  return typeof e == "object" && !!e && typeof e.start == "function";
2418
2439
  }
2419
2440
  //#endregion
2420
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
2441
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/is-variant-label.mjs
2421
2442
  function isVariantLabel(e) {
2422
2443
  return typeof e == "string" || Array.isArray(e);
2423
2444
  }
2424
2445
  //#endregion
2425
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
2426
- var Bt = [
2446
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/variant-props.mjs
2447
+ var Vt = [
2427
2448
  "animate",
2428
2449
  "whileInView",
2429
2450
  "whileFocus",
@@ -2431,17 +2452,17 @@ var Bt = [
2431
2452
  "whileTap",
2432
2453
  "whileDrag",
2433
2454
  "exit"
2434
- ], Vt = ["initial", ...Bt];
2455
+ ], Ht = ["initial", ...Vt];
2435
2456
  //#endregion
2436
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
2457
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/is-controlling-variants.mjs
2437
2458
  function isControllingVariants(e) {
2438
- return isAnimationControls(e.animate) || Vt.some((t) => isVariantLabel(e[t]));
2459
+ return isAnimationControls(e.animate) || Ht.some((t) => isVariantLabel(e[t]));
2439
2460
  }
2440
2461
  function isVariantNode(e) {
2441
2462
  return !!(isControllingVariants(e) || e.variants);
2442
2463
  }
2443
2464
  //#endregion
2444
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
2465
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/motion-values.mjs
2445
2466
  function updateMotionValuesFromProps(e, t, n) {
2446
2467
  for (let r in t) {
2447
2468
  let i = t[r], a = n[r];
@@ -2459,17 +2480,17 @@ function updateMotionValuesFromProps(e, t, n) {
2459
2480
  return t;
2460
2481
  }
2461
2482
  //#endregion
2462
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
2463
- var Ht = { current: null }, Ut = { current: !1 }, Wt = typeof window < "u";
2483
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/reduced-motion/state.mjs
2484
+ var Ut = { current: null }, Wt = { current: !1 }, Gt = typeof window < "u";
2464
2485
  function initPrefersReducedMotion() {
2465
- if (Ut.current = !0, Wt) if (window.matchMedia) {
2466
- let e = window.matchMedia("(prefers-reduced-motion)"), setReducedMotionPreferences = () => Ht.current = e.matches;
2486
+ if (Wt.current = !0, Gt) if (window.matchMedia) {
2487
+ let e = window.matchMedia("(prefers-reduced-motion)"), setReducedMotionPreferences = () => Ut.current = e.matches;
2467
2488
  e.addEventListener("change", setReducedMotionPreferences), setReducedMotionPreferences();
2468
- } else Ht.current = !1;
2489
+ } else Ut.current = !1;
2469
2490
  }
2470
2491
  //#endregion
2471
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/VisualElement.mjs
2472
- var Gt = [
2492
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/VisualElement.mjs
2493
+ var Kt = [
2473
2494
  "AnimationStart",
2474
2495
  "AnimationComplete",
2475
2496
  "Update",
@@ -2477,12 +2498,12 @@ var Gt = [
2477
2498
  "LayoutMeasure",
2478
2499
  "LayoutAnimationStart",
2479
2500
  "LayoutAnimationComplete"
2480
- ], Kt = {};
2501
+ ], qt = {};
2481
2502
  function setFeatureDefinitions(e) {
2482
- Kt = e;
2503
+ qt = e;
2483
2504
  }
2484
2505
  function getFeatureDefinitions() {
2485
- return Kt;
2506
+ return qt;
2486
2507
  }
2487
2508
  var VisualElement = class {
2488
2509
  scrapeMotionValuesFromProps(e, t, n) {
@@ -2492,8 +2513,8 @@ var VisualElement = class {
2492
2513
  this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.shouldSkipAnimations = !1, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = KeyframeResolver, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.hasBeenMounted = !1, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
2493
2514
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
2494
2515
  }, this.renderScheduledAt = 0, this.scheduleRender = () => {
2495
- let e = P.now();
2496
- this.renderScheduledAt < e && (this.renderScheduledAt = e, j.render(this.render, !1, !0));
2516
+ let e = N.now();
2517
+ this.renderScheduledAt < e && (this.renderScheduledAt = e, A.render(this.render, !1, !0));
2497
2518
  };
2498
2519
  let { latestValues: c, renderState: l } = o;
2499
2520
  this.latestValues = c, this.baseTarget = { ...c }, this.initialValues = t.initial ? { ...c } : {}, this.renderState = l, this.parent = e, this.props = t, this.presenceContext = n, this.depth = e ? e.depth + 1 : 0, this.reducedMotionConfig = r, this.skipAnimationsConfig = i, this.options = s, this.blockInitialAnimation = !!a, this.isControllingVariants = isControllingVariants(t), this.isVariantNode = isVariantNode(t), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(e && e.current);
@@ -2505,10 +2526,10 @@ var VisualElement = class {
2505
2526
  }
2506
2527
  mount(e) {
2507
2528
  if (this.hasBeenMounted) for (let e in this.initialValues) this.values.get(e)?.jump(this.initialValues[e]), this.latestValues[e] = this.initialValues[e];
2508
- this.current = e, zt.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((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Ut.current || initPrefersReducedMotion(), this.shouldReduceMotion = Ht.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
2529
+ this.current = e, Z.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((e, t) => this.bindToMotionValue(t, e)), this.reducedMotionConfig === "never" ? this.shouldReduceMotion = !1 : this.reducedMotionConfig === "always" ? this.shouldReduceMotion = !0 : (Wt.current || initPrefersReducedMotion(), this.shouldReduceMotion = Ut.current), this.shouldSkipAnimations = this.skipAnimationsConfig ?? !1, this.parent?.addChild(this), this.update(this.props, this.presenceContext), this.hasBeenMounted = !0;
2509
2530
  }
2510
2531
  unmount() {
2511
- this.projection && this.projection.unmount(), M(this.notifyUpdate), M(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
2532
+ this.projection && this.projection.unmount(), j(this.notifyUpdate), j(this.render), this.valueSubscriptions.forEach((e) => e()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
2512
2533
  for (let e in this.events) this.events[e].clear();
2513
2534
  for (let e in this.features) {
2514
2535
  let t = this.features[e];
@@ -2523,7 +2544,7 @@ var VisualElement = class {
2523
2544
  this.children.delete(e), this.enteringChildren && this.enteringChildren.delete(e);
2524
2545
  }
2525
2546
  bindToMotionValue(e, t) {
2526
- if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && Ct.has(e) && this.current instanceof HTMLElement) {
2547
+ if (this.valueSubscriptions.has(e) && this.valueSubscriptions.get(e)(), t.accelerate && tt.has(e) && this.current instanceof HTMLElement) {
2527
2548
  let { factory: n, keyframes: r, times: i, ease: a, duration: o } = t.accelerate, s = new NativeAnimation({
2528
2549
  element: this.current,
2529
2550
  name: e,
@@ -2537,13 +2558,13 @@ var VisualElement = class {
2537
2558
  });
2538
2559
  return;
2539
2560
  }
2540
- let n = J.has(e);
2561
+ let n = G.has(e);
2541
2562
  n && this.onBindTransform && this.onBindTransform();
2542
2563
  let r = t.on("change", (t) => {
2543
- this.latestValues[e] = t, this.props.onUpdate && j.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
2564
+ this.latestValues[e] = t, this.props.onUpdate && A.preRender(this.notifyUpdate), n && this.projection && (this.projection.isTransformDirty = !0), this.scheduleRender();
2544
2565
  }), i;
2545
2566
  typeof window < "u" && window.MotionCheckAppearSync && (i = window.MotionCheckAppearSync(this, e, t)), this.valueSubscriptions.set(e, () => {
2546
- r(), i && i(), t.owner && t.stop();
2567
+ r(), i && i();
2547
2568
  });
2548
2569
  }
2549
2570
  sortNodePosition(e) {
@@ -2551,8 +2572,8 @@ var VisualElement = class {
2551
2572
  }
2552
2573
  updateFeatures() {
2553
2574
  let e = "animation";
2554
- for (e in Kt) {
2555
- let t = Kt[e];
2575
+ for (e in qt) {
2576
+ let t = qt[e];
2556
2577
  if (!t) continue;
2557
2578
  let { isEnabled: n, Feature: r } = t;
2558
2579
  if (!this.features[e] && r && n(this.props) && (this.features[e] = new r(this)), this.features[e]) {
@@ -2575,8 +2596,8 @@ var VisualElement = class {
2575
2596
  }
2576
2597
  update(e, t) {
2577
2598
  (e.transformTemplate || this.props.transformTemplate) && this.scheduleRender(), this.prevProps = this.props, this.props = e, this.prevPresenceContext = this.presenceContext, this.presenceContext = t;
2578
- for (let t = 0; t < Gt.length; t++) {
2579
- let n = Gt[t];
2599
+ for (let t = 0; t < Kt.length; t++) {
2600
+ let n = Kt[t];
2580
2601
  this.propEventSubscriptions[n] && (this.propEventSubscriptions[n](), delete this.propEventSubscriptions[n]);
2581
2602
  let r = e["on" + n];
2582
2603
  r && (this.propEventSubscriptions[n] = this.on(n, r));
@@ -2621,7 +2642,7 @@ var VisualElement = class {
2621
2642
  }
2622
2643
  readValue(e, t) {
2623
2644
  let n = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
2624
- return n != null && (typeof n == "string" && (isNumericalString(n) || isZeroValueString(n)) ? n = parseFloat(n) : !findValueType(n) && W.test(t) && (n = getAnimatableNone(e, t)), this.setBaseTarget(e, isMotionValue(n) ? n.get() : n)), isMotionValue(n) ? n.get() : n;
2645
+ return n != null && (typeof n == "string" && (isNumericalString(n) || isZeroValueString(n)) ? n = parseFloat(n) : !findValueType(n) && V.test(t) && (n = getAnimatableNone(e, t)), this.setBaseTarget(e, isMotionValue(n) ? n.get() : n)), isMotionValue(n) ? n.get() : n;
2625
2646
  }
2626
2647
  setBaseTarget(e, t) {
2627
2648
  this.baseTarget[e] = t;
@@ -2643,7 +2664,7 @@ var VisualElement = class {
2643
2664
  this.events[e] && this.events[e].notify(...t);
2644
2665
  }
2645
2666
  scheduleRenderMicrotask() {
2646
- Dt.render(this.render);
2667
+ kt.render(this.render);
2647
2668
  }
2648
2669
  }, DOMVisualElement = class extends VisualElement {
2649
2670
  constructor() {
@@ -2673,7 +2694,7 @@ var VisualElement = class {
2673
2694
  update() {}
2674
2695
  };
2675
2696
  //#endregion
2676
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
2697
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/geometry/conversion.mjs
2677
2698
  function convertBoundingBoxToBox({ top: e, left: t, right: n, bottom: r }) {
2678
2699
  return {
2679
2700
  x: {
@@ -2711,7 +2732,7 @@ function transformBoxPoints(e, t) {
2711
2732
  };
2712
2733
  }
2713
2734
  //#endregion
2714
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
2735
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/utils/has-transform.mjs
2715
2736
  function isIdentityScale(e) {
2716
2737
  return e === void 0 || e === 1;
2717
2738
  }
@@ -2728,7 +2749,7 @@ function is2DTranslate(e) {
2728
2749
  return e && e !== "0%";
2729
2750
  }
2730
2751
  //#endregion
2731
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
2752
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/geometry/delta-apply.mjs
2732
2753
  function scalePoint(e, t, n) {
2733
2754
  return n + t * (e - n);
2734
2755
  }
@@ -2741,7 +2762,7 @@ function applyAxisDelta(e, t = 0, n = 1, r, i) {
2741
2762
  function applyBoxDelta(e, { x: t, y: n }) {
2742
2763
  applyAxisDelta(e.x, t.translate, t.scale, t.originPoint), applyAxisDelta(e.y, n.translate, n.scale, n.originPoint);
2743
2764
  }
2744
- var qt = .999999999999, Jt = 1.0000000000001;
2765
+ var Jt = .999999999999, Yt = 1.0000000000001;
2745
2766
  function applyTreeDeltas(e, t, n, r = !1) {
2746
2767
  let i = n.length;
2747
2768
  if (!i) return;
@@ -2750,18 +2771,15 @@ function applyTreeDeltas(e, t, n, r = !1) {
2750
2771
  for (let s = 0; s < i; s++) {
2751
2772
  a = n[s], o = a.projectionDelta;
2752
2773
  let { visualElement: i } = a.options;
2753
- i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && transformBox(e, {
2754
- x: -a.scroll.offset.x,
2755
- y: -a.scroll.offset.y
2756
- }), o && (t.x *= o.x.scale, t.y *= o.y.scale, applyBoxDelta(e, o)), r && hasTransform(a.latestValues) && transformBox(e, a.latestValues, a.layout?.layoutBox));
2774
+ i && i.props.style && i.props.style.display === "contents" || (r && a.options.layoutScroll && a.scroll && a !== a.root && (translateAxis(e.x, -a.scroll.offset.x), translateAxis(e.y, -a.scroll.offset.y)), o && (t.x *= o.x.scale, t.y *= o.y.scale, applyBoxDelta(e, o)), r && hasTransform(a.latestValues) && transformBox(e, a.latestValues, a.layout?.layoutBox));
2757
2775
  }
2758
- t.x < Jt && t.x > qt && (t.x = 1), t.y < Jt && t.y > qt && (t.y = 1);
2776
+ t.x < Yt && t.x > Jt && (t.x = 1), t.y < Yt && t.y > Jt && (t.y = 1);
2759
2777
  }
2760
2778
  function translateAxis(e, t) {
2761
2779
  e.min += t, e.max += t;
2762
2780
  }
2763
2781
  function transformAxis(e, t, n, r, i = .5) {
2764
- applyAxisDelta(e, t, n, G(e.min, e.max, i), r);
2782
+ applyAxisDelta(e, t, n, H(e.min, e.max, i), r);
2765
2783
  }
2766
2784
  function resolveAxisTranslate(e, t) {
2767
2785
  return typeof e == "string" ? parseFloat(e) / 100 * (t.max - t.min) : e;
@@ -2771,7 +2789,7 @@ function transformBox(e, t, n) {
2771
2789
  transformAxis(e.x, resolveAxisTranslate(t.x, r.x), t.scaleX, t.scale, t.originX), transformAxis(e.y, resolveAxisTranslate(t.y, r.y), t.scaleY, t.scale, t.originY);
2772
2790
  }
2773
2791
  //#endregion
2774
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/utils/measure.mjs
2792
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/utils/measure.mjs
2775
2793
  function measureViewportBox(e, t) {
2776
2794
  return convertBoundingBoxToBox(transformBoxPoints(e.getBoundingClientRect(), t));
2777
2795
  }
@@ -2780,17 +2798,17 @@ function measurePageBox(e, t, n) {
2780
2798
  return i && (translateAxis(r.x, i.offset.x), translateAxis(r.y, i.offset.y)), r;
2781
2799
  }
2782
2800
  //#endregion
2783
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs
2784
- var Yt = {
2801
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/html/utils/build-transform.mjs
2802
+ var Xt = {
2785
2803
  x: "translateX",
2786
2804
  y: "translateY",
2787
2805
  z: "translateZ",
2788
2806
  transformPerspective: "perspective"
2789
- }, Xt = q.length;
2807
+ }, Zt = W.length;
2790
2808
  function buildTransform(e, t, n) {
2791
2809
  let r = "", i = !0;
2792
- for (let a = 0; a < Xt; a++) {
2793
- let o = q[a], s = e[o];
2810
+ for (let a = 0; a < Zt; a++) {
2811
+ let o = W[a], s = e[o];
2794
2812
  if (s === void 0) continue;
2795
2813
  let c = !0;
2796
2814
  if (typeof s == "number") c = s === +!!o.startsWith("scale");
@@ -2799,31 +2817,32 @@ function buildTransform(e, t, n) {
2799
2817
  c = o.startsWith("scale") ? e === 1 : e === 0;
2800
2818
  }
2801
2819
  if (!c || n) {
2802
- let e = getValueAsType(s, yt[o]);
2820
+ let e = getValueAsType(s, J[o]);
2803
2821
  if (!c) {
2804
2822
  i = !1;
2805
- let t = Yt[o] || o;
2823
+ let t = Xt[o] || o;
2806
2824
  r += `${t}(${e}) `;
2807
2825
  }
2808
2826
  n && (t[o] = e);
2809
2827
  }
2810
2828
  }
2811
- return r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
2829
+ let a = e.pathRotation;
2830
+ return a && (i = !1, r += `rotate(${getValueAsType(a, J.pathRotation)}) `), r = r.trim(), n ? r = n(t, i ? "" : r) : i && (r = "none"), r;
2812
2831
  }
2813
2832
  //#endregion
2814
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
2833
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/html/utils/build-styles.mjs
2815
2834
  function buildHTMLStyles(e, t, n) {
2816
2835
  let { style: r, vars: i, transformOrigin: a } = e, o = !1, s = !1;
2817
2836
  for (let e in t) {
2818
2837
  let n = t[e];
2819
- if (J.has(e)) {
2838
+ if (G.has(e)) {
2820
2839
  o = !0;
2821
2840
  continue;
2822
2841
  } else if (pe(e)) {
2823
2842
  i[e] = n;
2824
2843
  continue;
2825
2844
  } else {
2826
- let t = getValueAsType(n, yt[e]);
2845
+ let t = getValueAsType(n, J[e]);
2827
2846
  e.startsWith("origin") ? (s = !0, a[e] = t) : r[e] = t;
2828
2847
  }
2829
2848
  }
@@ -2833,52 +2852,47 @@ function buildHTMLStyles(e, t, n) {
2833
2852
  }
2834
2853
  }
2835
2854
  //#endregion
2836
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/html/utils/render.mjs
2855
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/html/utils/render.mjs
2837
2856
  function renderHTML(e, { style: t, vars: n }, r, i) {
2838
2857
  let a = e.style, o;
2839
2858
  for (o in t) a[o] = t[o];
2840
2859
  for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
2841
2860
  }
2842
2861
  //#endregion
2843
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
2862
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
2844
2863
  function pixelsToPercent(e, t) {
2845
2864
  return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
2846
2865
  }
2847
- var Zt = { correct: (e, t) => {
2866
+ var Qt = { correct: (e, t) => {
2848
2867
  if (!t.target) return e;
2849
- if (typeof e == "string") if (V.test(e)) e = parseFloat(e);
2868
+ if (typeof e == "string") if (R.test(e)) e = parseFloat(e);
2850
2869
  else return e;
2851
2870
  return `${pixelsToPercent(e, t.target.x)}% ${pixelsToPercent(e, t.target.y)}%`;
2852
- } }, Qt = { correct: (e, { treeScale: t, projectionDelta: n }) => {
2853
- let r = e, i = W.parse(e);
2871
+ } }, $t = { correct: (e, { treeScale: t, projectionDelta: n }) => {
2872
+ let r = e, i = V.parse(e);
2854
2873
  if (i.length > 5) return r;
2855
- let a = W.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
2874
+ let a = V.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
2856
2875
  i[0 + o] /= s, i[1 + o] /= c;
2857
- let l = G(s, c, .5);
2876
+ let l = H(s, c, .5);
2858
2877
  return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);
2859
- } }, $t = {
2878
+ } }, en = {
2860
2879
  borderRadius: {
2861
- ...Zt,
2862
- applyTo: [
2863
- "borderTopLeftRadius",
2864
- "borderTopRightRadius",
2865
- "borderBottomLeftRadius",
2866
- "borderBottomRightRadius"
2867
- ]
2880
+ ...Qt,
2881
+ applyTo: [...Tt]
2868
2882
  },
2869
- borderTopLeftRadius: Zt,
2870
- borderTopRightRadius: Zt,
2871
- borderBottomLeftRadius: Zt,
2872
- borderBottomRightRadius: Zt,
2873
- boxShadow: Qt
2883
+ borderTopLeftRadius: Qt,
2884
+ borderTopRightRadius: Qt,
2885
+ borderBottomLeftRadius: Qt,
2886
+ borderBottomRightRadius: Qt,
2887
+ boxShadow: $t
2874
2888
  };
2875
2889
  //#endregion
2876
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
2890
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
2877
2891
  function isForcedMotionValue(e, { layout: t, layoutId: n }) {
2878
- return J.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!$t[e] || e === "opacity");
2892
+ return G.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!en[e] || e === "opacity");
2879
2893
  }
2880
2894
  //#endregion
2881
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
2895
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
2882
2896
  function scrapeMotionValuesFromProps$1(e, t, n) {
2883
2897
  let r = e.style, i = t?.style, a = {};
2884
2898
  if (!r) return a;
@@ -2887,7 +2901,7 @@ function scrapeMotionValuesFromProps$1(e, t, n) {
2887
2901
  }
2888
2902
  t(scrapeMotionValuesFromProps$1, "scrapeMotionValuesFromProps");
2889
2903
  //#endregion
2890
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
2904
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
2891
2905
  function getComputedStyle$1(e) {
2892
2906
  return window.getComputedStyle(e);
2893
2907
  }
@@ -2897,7 +2911,7 @@ var HTMLVisualElement = class extends DOMVisualElement {
2897
2911
  super(...arguments), this.type = "html", this.renderInstance = renderHTML;
2898
2912
  }
2899
2913
  readValueFromInstance(e, t) {
2900
- if (J.has(t)) return this.projection?.isProjecting ? defaultTransformValue(t) : readTransformValue(e, t);
2914
+ if (G.has(t)) return this.projection?.isProjecting ? defaultTransformValue(t) : readTransformValue(e, t);
2901
2915
  {
2902
2916
  let n = getComputedStyle$1(e), r = (pe(t) ? n.getPropertyValue(t) : n[t]) || 0;
2903
2917
  return typeof r == "string" ? r.trim() : r;
@@ -2914,7 +2928,7 @@ var HTMLVisualElement = class extends DOMVisualElement {
2914
2928
  }
2915
2929
  };
2916
2930
  //#endregion
2917
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/object/ObjectVisualElement.mjs
2931
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/object/ObjectVisualElement.mjs
2918
2932
  function isObjectKey(e, t) {
2919
2933
  return e in t;
2920
2934
  }
@@ -2944,21 +2958,21 @@ var ObjectVisualElement = class extends VisualElement {
2944
2958
  sortInstanceNodePosition() {
2945
2959
  return 0;
2946
2960
  }
2947
- }, en = {
2961
+ }, tn = {
2948
2962
  offset: "stroke-dashoffset",
2949
2963
  array: "stroke-dasharray"
2950
- }, tn = {
2964
+ }, nn = {
2951
2965
  offset: "strokeDashoffset",
2952
2966
  array: "strokeDasharray"
2953
2967
  };
2954
2968
  function buildSVGPath(e, t, n = 1, r = 0, i = !0) {
2955
2969
  e.pathLength = 1;
2956
- let a = i ? en : tn;
2970
+ let a = i ? tn : nn;
2957
2971
  e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
2958
2972
  }
2959
2973
  //#endregion
2960
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
2961
- var nn = [
2974
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
2975
+ var rn = [
2962
2976
  "offsetDistance",
2963
2977
  "offsetPath",
2964
2978
  "offsetRotate",
@@ -2972,12 +2986,12 @@ function buildSVGAttrs(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pat
2972
2986
  e.attrs = e.style, e.style = {};
2973
2987
  let { attrs: d, style: f } = e;
2974
2988
  d.transform && (f.transform = d.transform, delete d.transform), (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox);
2975
- for (let e of nn) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
2989
+ for (let e of rn) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
2976
2990
  t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && buildSVGPath(d, i, a, o, !1);
2977
2991
  }
2978
2992
  //#endregion
2979
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs
2980
- var rn = new Set([
2993
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs
2994
+ var an = /* @__PURE__ */ new Set([
2981
2995
  "baseFrequency",
2982
2996
  "diffuseConstant",
2983
2997
  "kernelMatrix",
@@ -3003,23 +3017,23 @@ var rn = new Set([
3003
3017
  "lengthAdjust"
3004
3018
  ]), isSVGTag = (e) => typeof e == "string" && e.toLowerCase() === "svg";
3005
3019
  //#endregion
3006
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
3020
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
3007
3021
  function renderSVG(e, t, n, r) {
3008
3022
  renderHTML(e, t, void 0, r);
3009
- for (let n in t.attrs) e.setAttribute(rn.has(n) ? n : camelToDash(n), t.attrs[n]);
3023
+ for (let n in t.attrs) e.setAttribute(an.has(n) ? n : camelToDash(n), t.attrs[n]);
3010
3024
  }
3011
3025
  //#endregion
3012
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
3026
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
3013
3027
  function scrapeMotionValuesFromProps(e, t, n) {
3014
3028
  let r = scrapeMotionValuesFromProps$1(e, t, n);
3015
3029
  for (let n in e) if (isMotionValue(e[n]) || isMotionValue(t[n])) {
3016
- let t = q.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
3030
+ let t = W.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
3017
3031
  r[t] = e[n];
3018
3032
  }
3019
3033
  return r;
3020
3034
  }
3021
3035
  //#endregion
3022
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
3036
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
3023
3037
  var SVGVisualElement = class extends DOMVisualElement {
3024
3038
  constructor() {
3025
3039
  super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = createBox;
@@ -3028,11 +3042,11 @@ var SVGVisualElement = class extends DOMVisualElement {
3028
3042
  return e[t];
3029
3043
  }
3030
3044
  readValueFromInstance(e, t) {
3031
- if (J.has(t)) {
3045
+ if (G.has(t)) {
3032
3046
  let e = getDefaultValueType(t);
3033
3047
  return e && e.default || 0;
3034
3048
  }
3035
- return t = rn.has(t) ? t : camelToDash(t), e.getAttribute(t);
3049
+ return t = an.has(t) ? t : camelToDash(t), e.getAttribute(t);
3036
3050
  }
3037
3051
  scrapeMotionValuesFromProps(e, t, n) {
3038
3052
  return scrapeMotionValuesFromProps(e, t, n);
@@ -3046,7 +3060,7 @@ var SVGVisualElement = class extends DOMVisualElement {
3046
3060
  mount(e) {
3047
3061
  this.isSVGTag = isSVGTag(e.tagName), super.mount(e);
3048
3062
  }
3049
- }, an = Vt.length;
3063
+ }, on = Ht.length;
3050
3064
  function getVariantContext(e) {
3051
3065
  if (!e) return;
3052
3066
  if (!e.isControllingVariants) {
@@ -3054,14 +3068,14 @@ function getVariantContext(e) {
3054
3068
  return e.props.initial !== void 0 && (t.initial = e.props.initial), t;
3055
3069
  }
3056
3070
  let t = {};
3057
- for (let n = 0; n < an; n++) {
3058
- let r = Vt[n], i = e.props[r];
3071
+ for (let n = 0; n < on; n++) {
3072
+ let r = Ht[n], i = e.props[r];
3059
3073
  (isVariantLabel(i) || i === !1) && (t[r] = i);
3060
3074
  }
3061
3075
  return t;
3062
3076
  }
3063
3077
  //#endregion
3064
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
3078
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/shallow-compare.mjs
3065
3079
  function shallowCompare(e, t) {
3066
3080
  if (!Array.isArray(t)) return !1;
3067
3081
  let n = t.length;
@@ -3070,8 +3084,8 @@ function shallowCompare(e, t) {
3070
3084
  return !0;
3071
3085
  }
3072
3086
  //#endregion
3073
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
3074
- var on = [...Bt].reverse(), sn = Bt.length;
3087
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/render/utils/animation-state.mjs
3088
+ var sn = [...Vt].reverse(), cn = Vt.length;
3075
3089
  function createAnimateFunction(e) {
3076
3090
  return (t) => Promise.all(t.map(({ animation: t, options: n }) => animateVisualElement(e, t, n)));
3077
3091
  }
@@ -3093,8 +3107,8 @@ function createAnimationState(e) {
3093
3107
  }
3094
3108
  function animateChanges(a) {
3095
3109
  let { props: o } = e, s = getVariantContext(e.parent) || {}, c = [], l = /* @__PURE__ */ new Set(), u = {}, d = Infinity;
3096
- for (let t = 0; t < sn; t++) {
3097
- let f = on[t], p = n[f], m = o[f] === void 0 ? s[f] : o[f], h = isVariantLabel(m), g = f === a ? p.isActive : null;
3110
+ for (let t = 0; t < cn; t++) {
3111
+ let f = sn[t], p = n[f], m = o[f] === void 0 ? s[f] : o[f], h = isVariantLabel(m), g = f === a ? p.isActive : null;
3098
3112
  g === !1 && (d = t);
3099
3113
  let _ = m === s[f] && m !== o[f] && h;
3100
3114
  if (_ && (r || i) && e.manuallyAnimateOnMount && (_ = !1), p.protectedKeys = { ...u }, !p.isActive && g === null || !m && !p.prevProp || isAnimationControls(m) || typeof m == "boolean") continue;
@@ -3119,7 +3133,7 @@ function createAnimationState(e) {
3119
3133
  let t = S[e], n = C[e];
3120
3134
  if (u.hasOwnProperty(e)) continue;
3121
3135
  let r = !1;
3122
- r = isKeyframesTarget(t) && isKeyframesTarget(n) ? !shallowCompare(t, n) : t !== n, r ? t == null ? l.add(e) : markToAnimate(e) : t !== void 0 && l.has(e) ? markToAnimate(e) : p.protectedKeys[e] = !0;
3136
+ r = isKeyframesTarget(t) && isKeyframesTarget(n) ? !shallowCompare(t, n) || v : t !== n, r ? t == null ? l.add(e) : markToAnimate(e) : t !== void 0 && l.has(e) ? markToAnimate(e) : p.protectedKeys[e] = !0;
3123
3137
  }
3124
3138
  p.prevProp = m, p.prevResolvedValues = S, p.isActive && (u = {
3125
3139
  ...u,
@@ -3195,7 +3209,7 @@ function createState() {
3195
3209
  };
3196
3210
  }
3197
3211
  //#endregion
3198
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
3212
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/geometry/copy.mjs
3199
3213
  function copyAxisInto(e, t) {
3200
3214
  e.min = t.min, e.max = t.max;
3201
3215
  }
@@ -3206,8 +3220,8 @@ function copyAxisDeltaInto(e, t) {
3206
3220
  e.translate = t.translate, e.scale = t.scale, e.originPoint = t.originPoint, e.origin = t.origin;
3207
3221
  }
3208
3222
  //#endregion
3209
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
3210
- var cn = .9999, ln = 1.0001, un = -.01, dn = .01;
3223
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/geometry/delta-calc.mjs
3224
+ var ln = .9999, un = 1.0001, dn = -.01, fn = .01;
3211
3225
  function calcLength(e) {
3212
3226
  return e.max - e.min;
3213
3227
  }
@@ -3215,50 +3229,51 @@ function isNear(e, t, n) {
3215
3229
  return Math.abs(e - t) <= n;
3216
3230
  }
3217
3231
  function calcAxisDelta(e, t, n, r = .5) {
3218
- e.origin = r, e.originPoint = G(t.min, t.max, e.origin), e.scale = calcLength(n) / calcLength(t), e.translate = G(n.min, n.max, e.origin) - e.originPoint, (e.scale >= cn && e.scale <= ln || isNaN(e.scale)) && (e.scale = 1), (e.translate >= un && e.translate <= dn || isNaN(e.translate)) && (e.translate = 0);
3232
+ e.origin = r, e.originPoint = H(t.min, t.max, e.origin), e.scale = calcLength(n) / calcLength(t), e.translate = H(n.min, n.max, e.origin) - e.originPoint, (e.scale >= ln && e.scale <= un || isNaN(e.scale)) && (e.scale = 1), (e.translate >= dn && e.translate <= fn || isNaN(e.translate)) && (e.translate = 0);
3219
3233
  }
3220
3234
  function calcBoxDelta(e, t, n, r) {
3221
3235
  calcAxisDelta(e.x, t.x, n.x, r ? r.originX : void 0), calcAxisDelta(e.y, t.y, n.y, r ? r.originY : void 0);
3222
3236
  }
3223
- function calcRelativeAxis(e, t, n) {
3224
- e.min = n.min + t.min, e.max = e.min + calcLength(t);
3237
+ function calcRelativeAxis(e, t, n, r = 0) {
3238
+ e.min = (r ? H(n.min, n.max, r) : n.min) + t.min, e.max = e.min + calcLength(t);
3225
3239
  }
3226
- function calcRelativeBox(e, t, n) {
3227
- calcRelativeAxis(e.x, t.x, n.x), calcRelativeAxis(e.y, t.y, n.y);
3240
+ function calcRelativeBox(e, t, n, r) {
3241
+ calcRelativeAxis(e.x, t.x, n.x, r?.x), calcRelativeAxis(e.y, t.y, n.y, r?.y);
3228
3242
  }
3229
- function calcRelativeAxisPosition(e, t, n) {
3230
- e.min = t.min - n.min, e.max = e.min + calcLength(t);
3243
+ function calcRelativeAxisPosition(e, t, n, r = 0) {
3244
+ let i = r ? H(n.min, n.max, r) : n.min;
3245
+ e.min = t.min - i, e.max = e.min + calcLength(t);
3231
3246
  }
3232
- function calcRelativePosition(e, t, n) {
3233
- calcRelativeAxisPosition(e.x, t.x, n.x), calcRelativeAxisPosition(e.y, t.y, n.y);
3247
+ function calcRelativePosition(e, t, n, r) {
3248
+ calcRelativeAxisPosition(e.x, t.x, n.x, r?.x), calcRelativeAxisPosition(e.y, t.y, n.y, r?.y);
3234
3249
  }
3235
3250
  //#endregion
3236
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
3251
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/geometry/delta-remove.mjs
3237
3252
  function removePointDelta(e, t, n, r, i) {
3238
3253
  return e -= t, e = scalePoint(e, 1 / n, r), i !== void 0 && (e = scalePoint(e, 1 / i, r)), e;
3239
3254
  }
3240
3255
  function removeAxisDelta(e, t = 0, n = 1, r = .5, i, a = e, o = e) {
3241
- if (B.test(t) && (t = parseFloat(t), t = G(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
3242
- let s = G(a.min, a.max, r);
3256
+ if (L.test(t) && (t = parseFloat(t), t = H(o.min, o.max, t / 100) - o.min), typeof t != "number") return;
3257
+ let s = H(a.min, a.max, r);
3243
3258
  e === a && (s -= t), e.min = removePointDelta(e.min, t, n, s, i), e.max = removePointDelta(e.max, t, n, s, i);
3244
3259
  }
3245
3260
  function removeAxisTransforms(e, t, [n, r, i], a, o) {
3246
3261
  removeAxisDelta(e, t[n], t[r], t[i], t.scale, a, o);
3247
3262
  }
3248
- var fn = [
3263
+ var pn = [
3249
3264
  "x",
3250
3265
  "scaleX",
3251
3266
  "originX"
3252
- ], pn = [
3267
+ ], mn = [
3253
3268
  "y",
3254
3269
  "scaleY",
3255
3270
  "originY"
3256
3271
  ];
3257
3272
  function removeBoxTransforms(e, t, n, r) {
3258
- removeAxisTransforms(e.x, t, fn, n ? n.x : void 0, r ? r.x : void 0), removeAxisTransforms(e.y, t, pn, n ? n.y : void 0, r ? r.y : void 0);
3273
+ removeAxisTransforms(e.x, t, pn, n ? n.x : void 0, r ? r.x : void 0), removeAxisTransforms(e.y, t, mn, n ? n.y : void 0, r ? r.y : void 0);
3259
3274
  }
3260
3275
  //#endregion
3261
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
3276
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/geometry/utils.mjs
3262
3277
  function isAxisDeltaZero(e) {
3263
3278
  return e.translate === 0 && e.scale === 1;
3264
3279
  }
@@ -3284,57 +3299,52 @@ function axisDeltaEquals(e, t) {
3284
3299
  return e.translate === t.translate && e.scale === t.scale && e.originPoint === t.originPoint;
3285
3300
  }
3286
3301
  //#endregion
3287
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
3302
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/utils/each-axis.mjs
3288
3303
  function eachAxis(e) {
3289
3304
  return [e("x"), e("y")];
3290
3305
  }
3291
3306
  //#endregion
3292
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/styles/transform.mjs
3307
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/styles/transform.mjs
3293
3308
  function buildProjectionTransform(e, t, n) {
3294
3309
  let r = "", i = e.x.translate / t.x, a = e.y.translate / t.y, o = n?.z || 0;
3295
3310
  if ((i || a || o) && (r = `translate3d(${i}px, ${a}px, ${o}px) `), (t.x !== 1 || t.y !== 1) && (r += `scale(${1 / t.x}, ${1 / t.y}) `), n) {
3296
- let { transformPerspective: e, rotate: t, rotateX: i, rotateY: a, skewX: o, skewY: s } = n;
3297
- e && (r = `perspective(${e}px) ${r}`), t && (r += `rotate(${t}deg) `), i && (r += `rotateX(${i}deg) `), a && (r += `rotateY(${a}deg) `), o && (r += `skewX(${o}deg) `), s && (r += `skewY(${s}deg) `);
3311
+ let { transformPerspective: e, rotate: t, pathRotation: i, rotateX: a, rotateY: o, skewX: s, skewY: c } = n;
3312
+ e && (r = `perspective(${e}px) ${r}`), t && (r += `rotate(${t}deg) `), i && (r += `rotate(${i}deg) `), a && (r += `rotateX(${a}deg) `), o && (r += `rotateY(${o}deg) `), s && (r += `skewX(${s}deg) `), c && (r += `skewY(${c}deg) `);
3298
3313
  }
3299
3314
  let s = e.x.scale * t.x, c = e.y.scale * t.y;
3300
3315
  return (s !== 1 || c !== 1) && (r += `scale(${s}, ${c})`), r || "none";
3301
3316
  }
3302
3317
  //#endregion
3303
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
3304
- var mn = [
3305
- "TopLeft",
3306
- "TopRight",
3307
- "BottomLeft",
3308
- "BottomRight"
3309
- ], hn = mn.length, asNumber = (e) => typeof e == "string" ? parseFloat(e) : e, isPx = (e) => typeof e == "number" || V.test(e);
3318
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/animation/mix-values.mjs
3319
+ var hn = Tt.length, asNumber = (e) => typeof e == "string" ? parseFloat(e) : e, isPx = (e) => typeof e == "number" || R.test(e);
3310
3320
  function mixValues(e, t, n, r, i, a) {
3311
- i ? (e.opacity = G(0, n.opacity ?? 1, gn(r)), e.opacityExit = G(t.opacity ?? 1, 0, _n(r))) : a && (e.opacity = G(t.opacity ?? 1, n.opacity ?? 1, r));
3321
+ i ? (e.opacity = H(0, n.opacity ?? 1, gn(r)), e.opacityExit = H(t.opacity ?? 1, 0, _n(r))) : a && (e.opacity = H(t.opacity ?? 1, n.opacity ?? 1, r));
3312
3322
  for (let i = 0; i < hn; i++) {
3313
- let a = `border${mn[i]}Radius`, o = getRadius(t, a), s = getRadius(n, a);
3314
- o === void 0 && s === void 0 || (o ||= 0, s ||= 0, o === 0 || s === 0 || isPx(o) === isPx(s) ? (e[a] = Math.max(G(asNumber(o), asNumber(s), r), 0), (B.test(s) || B.test(o)) && (e[a] += "%")) : e[a] = s);
3323
+ let a = Tt[i], o = getRadius(t, a), s = getRadius(n, a);
3324
+ o === void 0 && s === void 0 || (o ||= 0, s ||= 0, o === 0 || s === 0 || isPx(o) === isPx(s) ? (e[a] = Math.max(H(asNumber(o), asNumber(s), r), 0), (L.test(s) || L.test(o)) && (e[a] += "%")) : e[a] = s);
3315
3325
  }
3316
- (t.rotate || n.rotate) && (e.rotate = G(t.rotate || 0, n.rotate || 0, r));
3326
+ (t.rotate || n.rotate) && (e.rotate = H(t.rotate || 0, n.rotate || 0, r));
3317
3327
  }
3318
3328
  function getRadius(e, t) {
3319
3329
  return e[t] === void 0 ? e.borderRadius : e[t];
3320
3330
  }
3321
- var gn = /* @__PURE__ */ compress(0, .5, re), _n = /* @__PURE__ */ compress(.5, .95, noop);
3331
+ var gn = /*@__PURE__*/ compress(0, .5, re), _n = /*@__PURE__*/ compress(.5, .95, noop);
3322
3332
  function compress(e, t, n) {
3323
3333
  return (r) => r < e ? 0 : r > t ? 1 : n(/* @__PURE__ */ progress(e, t, r));
3324
3334
  }
3325
3335
  //#endregion
3326
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
3336
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
3327
3337
  function animateSingleValue(e, t, n) {
3328
3338
  let r = isMotionValue(e) ? e : motionValue(e);
3329
3339
  return r.start(animateMotionValue("", r, t, n)), r.animation;
3330
3340
  }
3331
3341
  //#endregion
3332
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/events/add-dom-event.mjs
3342
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/events/add-dom-event.mjs
3333
3343
  function addDomEvent(e, t, n, r = { passive: !0 }) {
3334
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n);
3344
+ return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
3335
3345
  }
3336
3346
  //#endregion
3337
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
3347
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/utils/compare-by-depth.mjs
3338
3348
  var compareByDepth = (e, t) => e.depth - t.depth, FlatTree = class {
3339
3349
  constructor() {
3340
3350
  this.children = [], this.isDirty = !1;
@@ -3350,21 +3360,21 @@ var compareByDepth = (e, t) => e.depth - t.depth, FlatTree = class {
3350
3360
  }
3351
3361
  };
3352
3362
  //#endregion
3353
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/utils/delay.mjs
3363
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/utils/delay.mjs
3354
3364
  function delay(e, t) {
3355
- let n = P.now(), checkElapsed = ({ timestamp: r }) => {
3365
+ let n = N.now(), checkElapsed = ({ timestamp: r }) => {
3356
3366
  let i = r - n;
3357
- i >= t && (M(checkElapsed), e(i - t));
3367
+ i >= t && (j(checkElapsed), e(i - t));
3358
3368
  };
3359
- return j.setup(checkElapsed, !0), () => M(checkElapsed);
3369
+ return A.setup(checkElapsed, !0), () => j(checkElapsed);
3360
3370
  }
3361
3371
  //#endregion
3362
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
3372
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/value/utils/resolve-motion-value.mjs
3363
3373
  function resolveMotionValue(e) {
3364
3374
  return isMotionValue(e) ? e.get() : e;
3365
3375
  }
3366
3376
  //#endregion
3367
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/shared/stack.mjs
3377
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/shared/stack.mjs
3368
3378
  var NodeStack = class {
3369
3379
  constructor() {
3370
3380
  this.members = [];
@@ -3435,7 +3445,7 @@ function cancelTreeOptimisedTransformAnimations(e) {
3435
3445
  let n = getOptimisedAppearId(t);
3436
3446
  if (window.MotionHasOptimisedAnimation(n, "transform")) {
3437
3447
  let { layout: t, layoutId: r } = e.options;
3438
- window.MotionCancelOptimisedAnimation(n, "transform", j, !(t || r));
3448
+ window.MotionCancelOptimisedAnimation(n, "transform", A, !(t || r));
3439
3449
  }
3440
3450
  let { parent: r } = e;
3441
3451
  r && !r.hasCheckedOptimisedAppear && cancelTreeOptimisedTransformAnimations(r);
@@ -3449,7 +3459,7 @@ function createProjectionNode$1({ attachResizeListener: e, defaultParent: t, mea
3449
3459
  }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.layoutVersion = 0, this.updateScheduled = !1, this.scheduleUpdate = () => this.update(), this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
3450
3460
  this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
3451
3461
  }, this.updateProjection = () => {
3452
- this.projectionUpdateScheduled = !1, A.value && (Q.nodes = Q.calculatedTargetDeltas = Q.calculatedProjections = 0), this.nodes.forEach(propagateDirtyNodes), this.nodes.forEach(resolveTargetDelta), this.nodes.forEach(calcProjection), this.nodes.forEach(cleanDirtyNodes), A.addProjectionMetrics && A.addProjectionMetrics(Q);
3462
+ this.projectionUpdateScheduled = !1, X.value && (Q.nodes = Q.calculatedTargetDeltas = Q.calculatedProjections = 0), this.nodes.forEach(propagateDirtyNodes), this.nodes.forEach(resolveTargetDelta), this.nodes.forEach(calcProjection), this.nodes.forEach(cleanDirtyNodes), X.addProjectionMetrics && X.addProjectionMetrics(Q);
3453
3463
  }, this.resolvedRelativeTargetAt = 0, this.linkedParentVersion = 0, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = e, this.root = n ? n.root || n : this, this.path = n ? [...n.path, n] : [], this.parent = n, this.depth = n ? n.depth + 1 : 0;
3454
3464
  for (let e = 0; e < this.path.length; e++) this.path[e].shouldResetTransform = !0;
3455
3465
  this.root === this && (this.nodes = new FlatTree());
@@ -3470,7 +3480,7 @@ function createProjectionNode$1({ attachResizeListener: e, defaultParent: t, mea
3470
3480
  let { layoutId: n, layout: r, visualElement: i } = this.options;
3471
3481
  if (i && !i.current && i.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), this.root.hasTreeAnimated && (r || n) && (this.isLayoutDirty = !0), e) {
3472
3482
  let n, r = 0, resizeUnblockUpdate = () => this.root.updateBlockedByResize = !1;
3473
- j.read(() => {
3483
+ A.read(() => {
3474
3484
  r = window.innerWidth;
3475
3485
  }), e(t, () => {
3476
3486
  let e = window.innerWidth;
@@ -3490,7 +3500,7 @@ function createProjectionNode$1({ attachResizeListener: e, defaultParent: t, mea
3490
3500
  onPlay: o,
3491
3501
  onComplete: s
3492
3502
  };
3493
- (i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l);
3503
+ (i.shouldReduceMotion || this.options.layoutRoot) && (t.delay = 0, t.type = !1), this.startAnimation(t), this.setAnimationOrigin(e, l, t.path);
3494
3504
  } else t || finishAnimation(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
3495
3505
  this.targetLayout = r;
3496
3506
  });
@@ -3498,7 +3508,7 @@ function createProjectionNode$1({ attachResizeListener: e, defaultParent: t, mea
3498
3508
  unmount() {
3499
3509
  this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
3500
3510
  let e = this.getStack();
3501
- e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), M(this.updateProjection);
3511
+ e && e.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, this.eventHandlers.clear(), j(this.updateProjection);
3502
3512
  }
3503
3513
  blockUpdate() {
3504
3514
  this.updateManuallyBlocked = !0;
@@ -3537,28 +3547,29 @@ function createProjectionNode$1({ attachResizeListener: e, defaultParent: t, mea
3537
3547
  }
3538
3548
  update() {
3539
3549
  if (this.updateScheduled = !1, this.isUpdateBlocked()) {
3540
- this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(clearMeasurements);
3550
+ let e = this.updateBlockedByResize;
3551
+ this.unblockUpdate(), this.updateBlockedByResize = !1, this.clearAllSnapshots(), e && this.nodes.forEach(forceLayoutMeasure), this.nodes.forEach(clearMeasurements);
3541
3552
  return;
3542
3553
  }
3543
3554
  if (this.animationId <= this.animationCommitId) {
3544
3555
  this.nodes.forEach(clearIsLayoutDirty);
3545
3556
  return;
3546
3557
  }
3547
- this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(resetTransformStyle), this.nodes.forEach(updateLayout), this.nodes.forEach(notifyLayoutUpdate)) : this.nodes.forEach(clearIsLayoutDirty), this.clearAllSnapshots();
3548
- let e = P.now();
3549
- N.delta = clamp(0, 1e3 / 60, e - N.timestamp), N.timestamp = e, N.isProcessing = !0, de.update.process(N), de.preRender.process(N), de.render.process(N), N.isProcessing = !1;
3558
+ this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(ensureDraggedNodesSnapshotted), this.nodes.forEach(resetTransformStyle), this.nodes.forEach(updateLayout), this.nodes.forEach(notifyLayoutUpdate)) : this.nodes.forEach(clearIsLayoutDirty), this.clearAllSnapshots();
3559
+ let e = N.now();
3560
+ M.delta = clamp(0, 1e3 / 60, e - M.timestamp), M.timestamp = e, M.isProcessing = !0, de.update.process(M), de.preRender.process(M), de.render.process(M), M.isProcessing = !1;
3550
3561
  }
3551
3562
  didUpdate() {
3552
- this.updateScheduled || (this.updateScheduled = !0, Dt.read(this.scheduleUpdate));
3563
+ this.updateScheduled || (this.updateScheduled = !0, kt.read(this.scheduleUpdate));
3553
3564
  }
3554
3565
  clearAllSnapshots() {
3555
3566
  this.nodes.forEach(clearSnapshot), this.sharedNodes.forEach(removeLeadSnapshots);
3556
3567
  }
3557
3568
  scheduleUpdateProjection() {
3558
- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, j.preRender(this.updateProjection, !1, !0));
3569
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, A.preRender(this.updateProjection, !1, !0));
3559
3570
  }
3560
3571
  scheduleCheckAfterUnmount() {
3561
- j.postRender(() => {
3572
+ A.postRender(() => {
3562
3573
  this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
3563
3574
  });
3564
3575
  }
@@ -3569,7 +3580,7 @@ function createProjectionNode$1({ attachResizeListener: e, defaultParent: t, mea
3569
3580
  if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty)) return;
3570
3581
  if (this.resumeFrom && !this.resumeFrom.instance) for (let e = 0; e < this.path.length; e++) this.path[e].updateScroll();
3571
3582
  let e = this.layout;
3572
- this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected = createBox(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
3583
+ this.layout = this.measure(!1), this.layoutVersion++, this.layoutCorrected ||= createBox(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
3573
3584
  let { visualElement: t } = this.options;
3574
3585
  t && t.notify("LayoutMeasure", this.layout.layoutBox, e ? e.layoutBox : void 0);
3575
3586
  }
@@ -3620,17 +3631,14 @@ function createProjectionNode$1({ attachResizeListener: e, defaultParent: t, mea
3620
3631
  }
3621
3632
  return t;
3622
3633
  }
3623
- applyTransform(e, t = !1) {
3624
- let n = createBox();
3625
- copyBoxInto(n, e);
3634
+ applyTransform(e, t = !1, n) {
3635
+ let r = n || createBox();
3636
+ copyBoxInto(r, e);
3626
3637
  for (let e = 0; e < this.path.length; e++) {
3627
- let r = this.path[e];
3628
- !t && r.options.layoutScroll && r.scroll && r !== r.root && transformBox(n, {
3629
- x: -r.scroll.offset.x,
3630
- y: -r.scroll.offset.y
3631
- }), hasTransform(r.latestValues) && transformBox(n, r.latestValues, r.layout?.layoutBox);
3638
+ let n = this.path[e];
3639
+ !t && n.options.layoutScroll && n.scroll && n !== n.root && (translateAxis(r.x, -n.scroll.offset.x), translateAxis(r.y, -n.scroll.offset.y)), hasTransform(n.latestValues) && transformBox(r, n.latestValues, n.layout?.layoutBox);
3632
3640
  }
3633
- return hasTransform(this.latestValues) && transformBox(n, this.latestValues, this.layout?.layoutBox), n;
3641
+ return hasTransform(this.latestValues) && transformBox(r, this.latestValues, this.layout?.layoutBox), r;
3634
3642
  }
3635
3643
  removeTransform(e) {
3636
3644
  let t = createBox();
@@ -3657,7 +3665,7 @@ function createProjectionNode$1({ attachResizeListener: e, defaultParent: t, mea
3657
3665
  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;
3658
3666
  }
3659
3667
  forceRelativeParentToResolveTarget() {
3660
- this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== N.timestamp && this.relativeParent.resolveTargetDelta(!0);
3668
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== M.timestamp && this.relativeParent.resolveTargetDelta(!0);
3661
3669
  }
3662
3670
  resolveTargetDelta(e = !1) {
3663
3671
  let t = this.getLead();
@@ -3666,9 +3674,9 @@ function createProjectionNode$1({ attachResizeListener: e, defaultParent: t, mea
3666
3674
  if (!(e || n && this.isSharedProjectionDirty || this.isProjectionDirty || this.parent?.isProjectionDirty || this.attemptToResolveRelativeTarget || this.root.updateBlockedByResize)) return;
3667
3675
  let { layout: r, layoutId: i } = this.options;
3668
3676
  if (!this.layout || !(r || i)) return;
3669
- this.resolvedRelativeTargetAt = N.timestamp;
3677
+ this.resolvedRelativeTargetAt = M.timestamp;
3670
3678
  let a = this.getClosestProjectingParent();
3671
- a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = createBox(), this.targetWithTransforms = createBox()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), calcRelativeBox(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : copyBoxInto(this.target, this.layout.layoutBox), applyBoxDelta(this.target, this.targetDelta)) : copyBoxInto(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), A.value && Q.calculatedTargetDeltas++);
3679
+ a && this.linkedParentVersion !== a.layoutVersion && !a.options.layoutRoot && this.removeRelativeTarget(), !this.targetDelta && !this.relativeTarget && (this.options.layoutAnchor !== !1 && a && a.layout ? this.createRelativeTarget(a, this.layout.layoutBox, a.layout.layoutBox) : this.removeRelativeTarget()), !(!this.relativeTarget && !this.targetDelta) && (this.target || (this.target = createBox(), this.targetWithTransforms = createBox()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), calcRelativeBox(this.target, this.relativeTarget, this.relativeParent.target, this.options.layoutAnchor || void 0)) : this.targetDelta ? (this.resumingFrom ? this.applyTransform(this.layout.layoutBox, !1, this.target) : copyBoxInto(this.target, this.layout.layoutBox), applyBoxDelta(this.target, this.targetDelta)) : copyBoxInto(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget && (this.attemptToResolveRelativeTarget = !1, this.options.layoutAnchor !== !1 && a && !!a.resumingFrom == !!this.resumingFrom && !a.options.layoutScroll && a.target && this.animationProgress !== 1 ? this.createRelativeTarget(a, this.target, a.target) : this.relativeParent = this.relativeTarget = void 0), X.value && Q.calculatedTargetDeltas++);
3672
3680
  }
3673
3681
  getClosestProjectingParent() {
3674
3682
  if (!(!this.parent || hasScale(this.parent.latestValues) || has2DTranslate(this.parent.latestValues))) return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
@@ -3677,14 +3685,14 @@ function createProjectionNode$1({ attachResizeListener: e, defaultParent: t, mea
3677
3685
  return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
3678
3686
  }
3679
3687
  createRelativeTarget(e, t, n) {
3680
- this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = createBox(), this.relativeTargetOrigin = createBox(), calcRelativePosition(this.relativeTargetOrigin, t, n), copyBoxInto(this.relativeTarget, this.relativeTargetOrigin);
3688
+ this.relativeParent = e, this.linkedParentVersion = e.layoutVersion, this.forceRelativeParentToResolveTarget(), this.relativeTarget = createBox(), this.relativeTargetOrigin = createBox(), calcRelativePosition(this.relativeTargetOrigin, t, n, this.options.layoutAnchor || void 0), copyBoxInto(this.relativeTarget, this.relativeTargetOrigin);
3681
3689
  }
3682
3690
  removeRelativeTarget() {
3683
3691
  this.relativeParent = this.relativeTarget = void 0;
3684
3692
  }
3685
3693
  calcProjection() {
3686
3694
  let e = this.getLead(), t = !!this.resumingFrom || this !== e, n = !0;
3687
- if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === N.timestamp && (n = !1), n) return;
3695
+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (n = !1), t && (this.isSharedProjectionDirty || this.isTransformDirty) && (n = !1), this.resolvedRelativeTargetAt === M.timestamp && (n = !1), n) return;
3688
3696
  let { layout: r, layoutId: i } = this.options;
3689
3697
  if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(r || i)) return;
3690
3698
  copyBoxInto(this.layoutCorrected, this.layout.layoutBox);
@@ -3695,7 +3703,7 @@ function createProjectionNode$1({ attachResizeListener: e, defaultParent: t, mea
3695
3703
  this.prevProjectionDelta && (this.createProjectionDeltas(), this.scheduleRender());
3696
3704
  return;
3697
3705
  }
3698
- !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (copyAxisDeltaInto(this.prevProjectionDelta.x, this.projectionDelta.x), copyAxisDeltaInto(this.prevProjectionDelta.y, this.projectionDelta.y)), calcBoxDelta(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !axisDeltaEquals(this.projectionDelta.x, this.prevProjectionDelta.x) || !axisDeltaEquals(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), A.value && Q.calculatedProjections++;
3706
+ !this.projectionDelta || !this.prevProjectionDelta ? this.createProjectionDeltas() : (copyAxisDeltaInto(this.prevProjectionDelta.x, this.projectionDelta.x), copyAxisDeltaInto(this.prevProjectionDelta.y, this.projectionDelta.y)), calcBoxDelta(this.projectionDelta, this.layoutCorrected, s, this.latestValues), (this.treeScale.x !== a || this.treeScale.y !== o || !axisDeltaEquals(this.projectionDelta.x, this.prevProjectionDelta.x) || !axisDeltaEquals(this.projectionDelta.y, this.prevProjectionDelta.y)) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", s)), X.value && Q.calculatedProjections++;
3699
3707
  }
3700
3708
  hide() {
3701
3709
  this.isVisible = !1;
@@ -3713,31 +3721,28 @@ function createProjectionNode$1({ attachResizeListener: e, defaultParent: t, mea
3713
3721
  createProjectionDeltas() {
3714
3722
  this.prevProjectionDelta = createDelta(), this.projectionDelta = createDelta(), this.projectionDeltaWithTransform = createDelta();
3715
3723
  }
3716
- setAnimationOrigin(e, t = !1) {
3717
- let n = this.snapshot, r = n ? n.latestValues : {}, i = { ...this.latestValues }, a = createDelta();
3724
+ setAnimationOrigin(e, t = !1, n) {
3725
+ let r = this.snapshot, i = r ? r.latestValues : {}, a = { ...this.latestValues }, o = createDelta();
3718
3726
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
3719
- let o = createBox(), s = (n ? n.source : void 0) !== (this.layout ? this.layout.source : void 0), c = this.getStack(), l = !c || c.members.length <= 1, u = !!(s && !l && this.options.crossfade === !0 && !this.path.some(hasOpacityCrossfade));
3727
+ let s = createBox(), c = (r ? r.source : void 0) !== (this.layout ? this.layout.source : void 0), l = this.getStack(), u = !l || l.members.length <= 1, d = !!(c && !u && this.options.crossfade === !0 && !this.path.some(hasOpacityCrossfade));
3720
3728
  this.animationProgress = 0;
3721
- let d;
3729
+ let f, p = n?.interpolateProjection(e);
3722
3730
  this.mixTargetDelta = (t) => {
3723
- let n = t / 1e3;
3724
- mixAxisDelta(a.x, e.x, n), mixAxisDelta(a.y, e.y, n), this.setTargetDelta(a), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (calcRelativePosition(o, this.layout.layoutBox, this.relativeParent.layout.layoutBox), mixBox(this.relativeTarget, this.relativeTargetOrigin, o, n), d && boxEquals(this.relativeTarget, d) && (this.isProjectionDirty = !1), d ||= createBox(), copyBoxInto(d, this.relativeTarget)), s && (this.animationValues = i, mixValues(i, r, this.latestValues, n, u, l)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
3731
+ let n = t / 1e3, r = p?.(n);
3732
+ r ? (o.x.translate = r.x, o.x.scale = H(e.x.scale, 1, n), o.x.origin = e.x.origin, o.x.originPoint = e.x.originPoint, o.y.translate = r.y, o.y.scale = H(e.y.scale, 1, n), o.y.origin = e.y.origin, o.y.originPoint = e.y.originPoint) : (mixAxisDeltaLinear(o.x, e.x, n), mixAxisDeltaLinear(o.y, e.y, n)), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (calcRelativePosition(s, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), mixBox(this.relativeTarget, this.relativeTargetOrigin, s, n), f && boxEquals(this.relativeTarget, f) && (this.isProjectionDirty = !1), f ||= createBox(), copyBoxInto(f, this.relativeTarget)), c && (this.animationValues = a, mixValues(a, i, this.latestValues, n, d, u)), r && r.rotate !== void 0 && (this.animationValues ||= a, this.animationValues.pathRotation = r.rotate), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = n;
3725
3733
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
3726
3734
  }
3727
3735
  startAnimation(e) {
3728
- this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (M(this.pendingAnimation), void 0), this.pendingAnimation = j.update(() => {
3729
- vn.hasAnimatedSinceResize = !0, F.layout++, this.motionValue ||= motionValue(0), this.motionValue.jump(0, !1), this.currentAnimation = animateSingleValue(this.motionValue, [0, 1e3], {
3736
+ this.notifyListeners("animationStart"), this.currentAnimation?.stop(), this.resumingFrom?.currentAnimation?.stop(), this.pendingAnimation &&= (j(this.pendingAnimation), void 0), this.pendingAnimation = A.update(() => {
3737
+ vn.hasAnimatedSinceResize = !0, this.motionValue ||= motionValue(0), this.motionValue.jump(0, !1), this.currentAnimation = animateSingleValue(this.motionValue, [0, 1e3], {
3730
3738
  ...e,
3731
3739
  velocity: 0,
3732
3740
  isSync: !0,
3733
3741
  onUpdate: (t) => {
3734
3742
  this.mixTargetDelta(t), e.onUpdate && e.onUpdate(t);
3735
3743
  },
3736
- onStop: () => {
3737
- F.layout--;
3738
- },
3739
3744
  onComplete: () => {
3740
- F.layout--, e.onComplete && e.onComplete(), this.completeAnimation();
3745
+ e.onComplete && e.onComplete(), this.completeAnimation();
3741
3746
  }
3742
3747
  }), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;
3743
3748
  });
@@ -3830,9 +3835,9 @@ function createProjectionNode$1({ attachResizeListener: e, defaultParent: t, mea
3830
3835
  n && (a = n(i, a)), e.transform = a;
3831
3836
  let { x: o, y: s } = this.projectionDelta;
3832
3837
  e.transformOrigin = `${o.origin * 100}% ${s.origin * 100}% 0`, r.animationValues ? e.opacity = r === this ? i.opacity ?? this.latestValues.opacity ?? 1 : this.preserveOpacity ? this.latestValues.opacity : i.opacityExit : e.opacity = r === this ? i.opacity === void 0 ? "" : i.opacity : i.opacityExit === void 0 ? 0 : i.opacityExit;
3833
- for (let t in $t) {
3838
+ for (let t in en) {
3834
3839
  if (i[t] === void 0) continue;
3835
- let { correct: n, applyTo: o, isCSSVariable: s } = $t[t], c = a === "none" ? i[t] : n(i[t], r);
3840
+ let { correct: n, applyTo: o, isCSSVariable: s } = en[t], c = a === "none" ? i[t] : n(i[t], r);
3836
3841
  if (o) {
3837
3842
  let t = o.length;
3838
3843
  for (let n = 0; n < t; n++) e[o[n]] = c;
@@ -3877,10 +3882,10 @@ function notifyLayoutUpdate(e) {
3877
3882
  if (r && !r.resumeFrom) {
3878
3883
  let { snapshot: i, layout: a } = r;
3879
3884
  if (i && a) {
3880
- let o = createBox();
3881
- calcRelativePosition(o, t.layoutBox, i.layoutBox);
3882
- let s = createBox();
3883
- calcRelativePosition(s, n, a.layoutBox), boxEqualsRounded(o, s) || (l = !0), r.options.layoutRoot && (e.relativeTarget = s, e.relativeTargetOrigin = o, e.relativeParent = r);
3885
+ let o = e.options.layoutAnchor || void 0, s = createBox();
3886
+ calcRelativePosition(s, t.layoutBox, i.layoutBox, o);
3887
+ let c = createBox();
3888
+ calcRelativePosition(c, n, a.layoutBox, o), boxEqualsRounded(s, c) || (l = !0), r.options.layoutRoot && (e.relativeTarget = c, e.relativeTargetOrigin = s, e.relativeParent = r);
3884
3889
  }
3885
3890
  }
3886
3891
  }
@@ -3899,7 +3904,7 @@ function notifyLayoutUpdate(e) {
3899
3904
  e.options.transition = void 0;
3900
3905
  }
3901
3906
  function propagateDirtyNodes(e) {
3902
- A.value && Q.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
3907
+ X.value && Q.nodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty ||= !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty), e.isTransformDirty ||= e.parent.isTransformDirty);
3903
3908
  }
3904
3909
  function cleanDirtyNodes(e) {
3905
3910
  e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
@@ -3910,9 +3915,15 @@ function clearSnapshot(e) {
3910
3915
  function clearMeasurements(e) {
3911
3916
  e.clearMeasurements();
3912
3917
  }
3918
+ function forceLayoutMeasure(e) {
3919
+ e.isLayoutDirty = !0, e.updateLayout();
3920
+ }
3913
3921
  function clearIsLayoutDirty(e) {
3914
3922
  e.isLayoutDirty = !1;
3915
3923
  }
3924
+ function ensureDraggedNodesSnapshotted(e) {
3925
+ e.isAnimationBlocked && e.layout && !e.isLayoutDirty && (e.snapshot = e.layout, e.isLayoutDirty = !0);
3926
+ }
3916
3927
  function resetTransformStyle(e) {
3917
3928
  let { visualElement: t } = e.options;
3918
3929
  t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
@@ -3932,11 +3943,11 @@ function resetSkewAndRotation(e) {
3932
3943
  function removeLeadSnapshots(e) {
3933
3944
  e.removeLeadSnapshot();
3934
3945
  }
3935
- function mixAxisDelta(e, t, n) {
3936
- e.translate = G(t.translate, 0, n), e.scale = G(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
3946
+ function mixAxisDeltaLinear(e, t, n) {
3947
+ e.translate = H(t.translate, 0, n), e.scale = H(t.scale, 1, n), e.origin = t.origin, e.originPoint = t.originPoint;
3937
3948
  }
3938
3949
  function mixAxis(e, t, n, r) {
3939
- e.min = G(t.min, n.min, r), e.max = G(t.max, n.max, r);
3950
+ e.min = H(t.min, n.min, r), e.max = H(t.max, n.max, r);
3940
3951
  }
3941
3952
  function mixBox(e, t, n, r) {
3942
3953
  mixAxis(e.x, t.x, n.x, r), mixAxis(e.y, t.y, n.y, r);
@@ -3966,7 +3977,7 @@ function checkNodeWasScrollRoot(e) {
3966
3977
  return e !== e.root && e.scroll?.wasRoot;
3967
3978
  }
3968
3979
  //#endregion
3969
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
3980
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/node/DocumentProjectionNode.mjs
3970
3981
  var wn = createProjectionNode$1({
3971
3982
  attachResizeListener: (e, t) => addDomEvent(e, "resize", t),
3972
3983
  measureScroll: () => ({
@@ -3990,7 +4001,7 @@ function nodeGroup() {
3990
4001
  };
3991
4002
  }
3992
4003
  //#endregion
3993
- //#region ../../node_modules/.pnpm/motion-dom@12.36.0/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs
4004
+ //#region ../../node_modules/.pnpm/motion-dom@12.42.2/node_modules/motion-dom/dist/es/projection/node/HTMLProjectionNode.mjs
3994
4005
  var Tn = { current: void 0 }, En = createProjectionNode$1({
3995
4006
  measureScroll: (e) => ({
3996
4007
  x: e.scrollLeft,
@@ -4013,7 +4024,7 @@ var Tn = { current: void 0 }, En = createProjectionNode$1({
4013
4024
  reducedMotion: "never"
4014
4025
  });
4015
4026
  //#endregion
4016
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
4027
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/use-composed-ref.mjs
4017
4028
  function setRef(e, t) {
4018
4029
  if (typeof e == "function") return e(t);
4019
4030
  e != null && (e.current = t);
@@ -4036,13 +4047,13 @@ function useComposedRefs(...e) {
4036
4047
  return i.useCallback(composeRefs(...e), e);
4037
4048
  }
4038
4049
  //#endregion
4039
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
4050
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/AnimatePresence/PopChild.mjs
4040
4051
  var PopChildMeasure = class extends i.Component {
4041
4052
  getSnapshotBeforeUpdate(e) {
4042
4053
  let t = this.props.childRef.current;
4043
4054
  if (isHTMLElement(t) && e.isPresent && !this.props.isPresent && this.props.pop !== !1) {
4044
4055
  let e = t.offsetParent, n = isHTMLElement(e) && e.offsetWidth || 0, r = isHTMLElement(e) && e.offsetHeight || 0, i = getComputedStyle(t), a = this.props.sizeRef.current;
4045
- a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top;
4056
+ a.height = parseFloat(i.height), a.width = parseFloat(i.width), a.top = t.offsetTop, a.left = t.offsetLeft, a.right = n - a.width - a.left, a.bottom = r - a.height - a.top, a.direction = i.direction;
4046
4057
  }
4047
4058
  return null;
4048
4059
  }
@@ -4058,26 +4069,27 @@ function PopChild({ children: e, isPresent: t, anchorX: n, anchorY: r, root: a,
4058
4069
  top: 0,
4059
4070
  left: 0,
4060
4071
  right: 0,
4061
- bottom: 0
4072
+ bottom: 0,
4073
+ direction: "ltr"
4062
4074
  }), { nonce: u } = p($), d = useComposedRefs(c, e.props?.ref ?? e?.ref);
4063
4075
  return g(() => {
4064
- let { width: e, height: i, top: d, left: f, right: p, bottom: m } = l.current;
4076
+ let { width: e, height: i, top: d, left: f, right: p, bottom: m, direction: h } = l.current;
4065
4077
  if (t || o === !1 || !c.current || !e || !i) return;
4066
- let h = n === "left" ? `left: ${f}` : `right: ${p}`, g = r === "bottom" ? `bottom: ${m}` : `top: ${d}`;
4078
+ let g = h === "rtl", _ = n === "left" ? g ? `right: ${p}` : `left: ${f}` : g ? `left: ${f}` : `right: ${p}`, v = r === "bottom" ? `bottom: ${m}` : `top: ${d}`;
4067
4079
  c.current.dataset.motionPopId = s;
4068
- let _ = document.createElement("style");
4069
- u && (_.nonce = u);
4070
- let v = a ?? document.head;
4071
- return v.appendChild(_), _.sheet && _.sheet.insertRule(`
4080
+ let y = document.createElement("style");
4081
+ u && (y.nonce = u);
4082
+ let b = a ?? document.head;
4083
+ return b.appendChild(y), y.sheet && y.sheet.insertRule(`
4072
4084
  [data-motion-pop-id="${s}"] {
4073
4085
  position: absolute !important;
4074
4086
  width: ${e}px !important;
4075
4087
  height: ${i}px !important;
4076
- ${h}px !important;
4077
- ${g}px !important;
4088
+ ${_}px !important;
4089
+ ${v}px !important;
4078
4090
  }
4079
4091
  `), () => {
4080
- c.current?.removeAttribute("data-motion-pop-id"), v.contains(_) && v.removeChild(_);
4092
+ c.current?.removeAttribute("data-motion-pop-id"), b.contains(y) && b.removeChild(y);
4081
4093
  };
4082
4094
  }, [t]), S(PopChildMeasure, {
4083
4095
  isPresent: t,
@@ -4088,9 +4100,13 @@ function PopChild({ children: e, isPresent: t, anchorX: n, anchorY: r, root: a,
4088
4100
  });
4089
4101
  }
4090
4102
  //#endregion
4091
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
4103
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/AnimatePresence/PresenceChild.mjs
4092
4104
  var PresenceChild = ({ children: e, initial: t, isPresent: n, onExitComplete: r, custom: a, presenceAffectsLayout: o, mode: s, anchorX: c, anchorY: l, root: u }) => {
4093
- let d = useConstant(newChildrenMap), f = h(), p = !0, m = v(() => (p = !1, {
4105
+ let d = useConstant(newChildrenMap), f = h(), p = y(n), m = y(r);
4106
+ T(() => {
4107
+ p.current = n, m.current = r;
4108
+ });
4109
+ let g = !0, _ = v(() => (g = !1, {
4094
4110
  id: f,
4095
4111
  initial: t,
4096
4112
  isPresent: n,
@@ -4100,13 +4116,15 @@ var PresenceChild = ({ children: e, initial: t, isPresent: n, onExitComplete: r,
4100
4116
  for (let e of d.values()) if (!e) return;
4101
4117
  r && r();
4102
4118
  },
4103
- register: (e) => (d.set(e, !1), () => d.delete(e))
4119
+ register: (e) => (d.set(e, !1), () => {
4120
+ d.delete(e), !p.current && !d.size && m.current?.();
4121
+ })
4104
4122
  }), [
4105
4123
  n,
4106
4124
  d,
4107
4125
  r
4108
4126
  ]);
4109
- return o && p && (m = { ...m }), v(() => {
4127
+ return o && g && (_ = { ..._ }), v(() => {
4110
4128
  d.forEach((e, t) => d.set(t, !1));
4111
4129
  }, [n]), i.useEffect(() => {
4112
4130
  !n && !d.size && r && r();
@@ -4118,7 +4136,7 @@ var PresenceChild = ({ children: e, initial: t, isPresent: n, onExitComplete: r,
4118
4136
  root: u,
4119
4137
  children: e
4120
4138
  }), S(E.Provider, {
4121
- value: m,
4139
+ value: _,
4122
4140
  children: e
4123
4141
  });
4124
4142
  };
@@ -4126,7 +4144,7 @@ function newChildrenMap() {
4126
4144
  return /* @__PURE__ */ new Map();
4127
4145
  }
4128
4146
  //#endregion
4129
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
4147
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/AnimatePresence/use-presence.mjs
4130
4148
  function usePresence(e = !0) {
4131
4149
  let t = p(E);
4132
4150
  if (t === null) return [!0, null];
@@ -4148,7 +4166,7 @@ function isPresent(e) {
4148
4166
  return e === null ? !0 : e.isPresent;
4149
4167
  }
4150
4168
  //#endregion
4151
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
4169
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/AnimatePresence/utils.mjs
4152
4170
  var getChildKey = (e) => e.key || "";
4153
4171
  function onlyElements(e) {
4154
4172
  let t = [];
@@ -4157,7 +4175,7 @@ function onlyElements(e) {
4157
4175
  }), t;
4158
4176
  }
4159
4177
  //#endregion
4160
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
4178
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/AnimatePresence/index.mjs
4161
4179
  var AnimatePresence = ({ children: e, custom: t, initial: n = !0, onExitComplete: r, presenceAffectsLayout: i = !0, mode: a = "sync", propagate: o = !1, anchorX: s = "left", anchorY: c = "top", root: l }) => {
4162
4180
  let [u, d] = usePresence(o), f = v(() => onlyElements(e), [e]), m = o && !u ? [] : f.map(getChildKey), h = y(!0), g = y(f), _ = useConstant(() => /* @__PURE__ */ new Map()), C = y(/* @__PURE__ */ new Set()), [E, D] = b(f), [O, ee] = b(f);
4163
4181
  T(() => {
@@ -4206,7 +4224,7 @@ var AnimatePresence = ({ children: e, custom: t, initial: n = !0, onExitComplete
4206
4224
  }) });
4207
4225
  }, Dn = c(null);
4208
4226
  //#endregion
4209
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs
4227
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/use-is-mounted.mjs
4210
4228
  function useIsMounted() {
4211
4229
  let e = y(!1);
4212
4230
  return T(() => (e.current = !0, () => {
@@ -4214,15 +4232,15 @@ function useIsMounted() {
4214
4232
  }), []), e;
4215
4233
  }
4216
4234
  //#endregion
4217
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/use-force-update.mjs
4235
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/use-force-update.mjs
4218
4236
  function useForceUpdate() {
4219
4237
  let e = useIsMounted(), [t, n] = b(0), r = f(() => {
4220
4238
  e.current && n(t + 1);
4221
4239
  }, [t]);
4222
- return [f(() => j.postRender(r), [r]), t];
4240
+ return [f(() => A.postRender(r), [r]), t];
4223
4241
  }
4224
4242
  //#endregion
4225
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/LayoutGroup/index.mjs
4243
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/LayoutGroup/index.mjs
4226
4244
  var shouldInheritGroup = (e) => e === !0, shouldInheritId = (e) => shouldInheritGroup(e === !0) || e === "id", LayoutGroup = ({ children: e, id: t, inherit: n = !0 }) => {
4227
4245
  let r = p(w), i = p(Dn), [a, o] = useForceUpdate(), s = y(null), c = r.id || i;
4228
4246
  s.current === null && (shouldInheritId(n) && c && (t = t ? c + "-" + t : c), s.current = {
@@ -4285,7 +4303,7 @@ function getInitializedFeatureDefinitions() {
4285
4303
  return initFeatureDefinitions(), getFeatureDefinitions();
4286
4304
  }
4287
4305
  //#endregion
4288
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/features/load-features.mjs
4306
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/features/load-features.mjs
4289
4307
  function loadFeatures(e) {
4290
4308
  let t = getInitializedFeatureDefinitions();
4291
4309
  for (let n in e) t[n] = {
@@ -4295,7 +4313,7 @@ function loadFeatures(e) {
4295
4313
  setFeatureDefinitions(t);
4296
4314
  }
4297
4315
  //#endregion
4298
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/LazyMotion/index.mjs
4316
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/LazyMotion/index.mjs
4299
4317
  function LazyMotion({ children: e, features: t, strict: n = !1 }) {
4300
4318
  let [, r] = b(!isLazyBundle(t)), i = y(void 0);
4301
4319
  if (!isLazyBundle(t)) {
@@ -4318,8 +4336,8 @@ function isLazyBundle(e) {
4318
4336
  return typeof e == "function";
4319
4337
  }
4320
4338
  //#endregion
4321
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
4322
- var jn = new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
4339
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/utils/valid-prop.mjs
4340
+ var jn = /* @__PURE__ */ new Set(/* @__PURE__ */ "animate.exit.variants.initial.style.values.variants.transition.transformTemplate.custom.inherit.onBeforeLayoutMeasure.onAnimationStart.onAnimationComplete.onUpdate.onDragStart.onDrag.onDragEnd.onMeasureDragConstraints.onDirectionLock.onDragTransitionEnd._dragX._dragY.onHoverStart.onHoverEnd.onViewportEnter.onViewportLeave.globalTapTarget.propagate.ignoreStrict.viewport".split("."));
4323
4341
  function isValidMotionProp(e) {
4324
4342
  return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || jn.has(e);
4325
4343
  }
@@ -4340,7 +4358,7 @@ function filterProps(e, t, n) {
4340
4358
  return r;
4341
4359
  }
4342
4360
  //#endregion
4343
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
4361
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/components/MotionConfig/index.mjs
4344
4362
  function MotionConfig({ children: e, isValidProp: t, ...n }) {
4345
4363
  t && loadExternalIsValidProp(t);
4346
4364
  let r = p($);
@@ -4360,10 +4378,10 @@ function MotionConfig({ children: e, isValidProp: t, ...n }) {
4360
4378
  });
4361
4379
  }
4362
4380
  //#endregion
4363
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
4381
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/context/MotionContext/index.mjs
4364
4382
  var Fn = /* @__PURE__ */ c({});
4365
4383
  //#endregion
4366
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
4384
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/context/MotionContext/utils.mjs
4367
4385
  function getCurrentTreeVariants(e, t) {
4368
4386
  if (isControllingVariants(e)) {
4369
4387
  let { initial: t, animate: n } = e;
@@ -4375,7 +4393,7 @@ function getCurrentTreeVariants(e, t) {
4375
4393
  return e.inherit === !1 ? {} : t;
4376
4394
  }
4377
4395
  //#endregion
4378
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
4396
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/context/MotionContext/create.mjs
4379
4397
  function useCreateMotionContext(e) {
4380
4398
  let { initial: t, animate: n } = getCurrentTreeVariants(e, p(Fn));
4381
4399
  return v(() => ({
@@ -4387,7 +4405,7 @@ function variantLabelsAsDependency(e) {
4387
4405
  return Array.isArray(e) ? e.join(" ") : e;
4388
4406
  }
4389
4407
  //#endregion
4390
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
4408
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/html/utils/create-render-state.mjs
4391
4409
  var createHtmlRenderState = () => ({
4392
4410
  style: {},
4393
4411
  transform: {},
@@ -4395,7 +4413,7 @@ var createHtmlRenderState = () => ({
4395
4413
  vars: {}
4396
4414
  });
4397
4415
  //#endregion
4398
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/html/use-props.mjs
4416
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/html/use-props.mjs
4399
4417
  function copyRawValuesOnly(e, t, n) {
4400
4418
  for (let r in t) !isMotionValue(t[r]) && !isForcedMotionValue(r, n) && (e[r] = t[r]);
4401
4419
  }
@@ -4414,13 +4432,13 @@ function useHTMLProps(e, t) {
4414
4432
  return e.drag && e.dragListener !== !1 && (n.draggable = !1, r.userSelect = r.WebkitUserSelect = r.WebkitTouchCallout = "none", r.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (n.tabIndex = 0), n.style = r, n;
4415
4433
  }
4416
4434
  //#endregion
4417
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
4435
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/svg/utils/create-render-state.mjs
4418
4436
  var createSvgRenderState = () => ({
4419
4437
  ...createHtmlRenderState(),
4420
4438
  attrs: {}
4421
4439
  });
4422
4440
  //#endregion
4423
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/svg/use-props.mjs
4441
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/svg/use-props.mjs
4424
4442
  function useSVGProps(e, t, n, r) {
4425
4443
  let i = v(() => {
4426
4444
  let n = createSvgRenderState();
@@ -4439,7 +4457,7 @@ function useSVGProps(e, t, n, r) {
4439
4457
  return i;
4440
4458
  }
4441
4459
  //#endregion
4442
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
4460
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/svg/lowercase-elements.mjs
4443
4461
  var In = [
4444
4462
  "animate",
4445
4463
  "circle",
@@ -4468,12 +4486,12 @@ var In = [
4468
4486
  "view"
4469
4487
  ];
4470
4488
  //#endregion
4471
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
4489
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/dom/utils/is-svg-component.mjs
4472
4490
  function isSVGComponent(e) {
4473
4491
  return typeof e != "string" || e.includes("-") ? !1 : !!(In.indexOf(e) > -1 || /[A-Z]/u.test(e));
4474
4492
  }
4475
4493
  //#endregion
4476
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/dom/use-render.mjs
4494
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/dom/use-render.mjs
4477
4495
  function useRender(e, t, n, { latestValues: r }, i, a = !1, o) {
4478
4496
  let c = (o ?? isSVGComponent(e) ? useSVGProps : useHTMLProps)(t, r, i, e), u = filterProps(t, typeof e == "string", a), d = e === s ? {} : {
4479
4497
  ...u,
@@ -4486,7 +4504,7 @@ function useRender(e, t, n, { latestValues: r }, i, a = !1, o) {
4486
4504
  });
4487
4505
  }
4488
4506
  //#endregion
4489
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
4507
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/utils/use-visual-state.mjs
4490
4508
  function makeState({ scrapeMotionValuesFromProps: e, createRenderState: t }, n, r, i) {
4491
4509
  return {
4492
4510
  latestValues: makeLatestValues(n, r, i, e),
@@ -4524,15 +4542,15 @@ function makeLatestValues(e, t, n, r) {
4524
4542
  var makeUseVisualState = (e) => (t, n) => {
4525
4543
  let r = p(Fn), i = p(E), make = () => makeState(e, t, r, i);
4526
4544
  return n ? make() : useConstant(make);
4527
- }, Ln = /* @__PURE__ */ makeUseVisualState({
4545
+ }, Ln = /*@__PURE__*/ makeUseVisualState({
4528
4546
  scrapeMotionValuesFromProps: scrapeMotionValuesFromProps$1,
4529
4547
  createRenderState: createHtmlRenderState
4530
- }), Rn = /* @__PURE__ */ makeUseVisualState({
4548
+ }), Rn = /*@__PURE__*/ makeUseVisualState({
4531
4549
  scrapeMotionValuesFromProps,
4532
4550
  createRenderState: createSvgRenderState
4533
4551
  }), zn = Symbol.for("motionComponentSymbol");
4534
4552
  //#endregion
4535
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
4553
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/utils/use-motion-ref.mjs
4536
4554
  function useMotionRef(e, t, n) {
4537
4555
  let r = y(n);
4538
4556
  g(() => {
@@ -4540,26 +4558,25 @@ function useMotionRef(e, t, n) {
4540
4558
  });
4541
4559
  let i = y(null);
4542
4560
  return f((n) => {
4543
- n && e.onMount?.(n);
4561
+ n && e.onMount?.(n), t && (n ? t.mount(n) : t.unmount());
4544
4562
  let a = r.current;
4545
4563
  if (typeof a == "function") if (n) {
4546
4564
  let e = a(n);
4547
4565
  typeof e == "function" && (i.current = e);
4548
4566
  } else i.current ? (i.current(), i.current = null) : a(n);
4549
4567
  else a && (a.current = n);
4550
- t && (n ? t.mount(n) : t.unmount());
4551
4568
  }, [t]);
4552
4569
  }
4553
4570
  //#endregion
4554
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
4571
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/context/SwitchLayoutGroupContext.mjs
4555
4572
  var Bn = c({});
4556
4573
  //#endregion
4557
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
4574
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/is-ref-object.mjs
4558
4575
  function isRefObject(e) {
4559
4576
  return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
4560
4577
  }
4561
4578
  //#endregion
4562
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
4579
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/utils/use-visual-element.mjs
4563
4580
  function useVisualElement(e, t, n, r, i, a) {
4564
4581
  let { visualElement: o } = p(Fn), s = p(On), c = p(E), l = p($), u = l.reducedMotion, d = l.skipAnimations, f = y(null), h = y(!1);
4565
4582
  r ||= s.renderer, !f.current && r && (f.current = r(e, {
@@ -4578,7 +4595,7 @@ function useVisualElement(e, t, n, r, i, a) {
4578
4595
  g(() => {
4579
4596
  _ && b.current && _.update(n, c);
4580
4597
  });
4581
- let x = n[dt], S = y(!!x && typeof window < "u" && !window.MotionHandoffIsComplete?.(x) && window.MotionHasOptimisedAnimation?.(x));
4598
+ let x = n[mt], S = y(!!x && typeof window < "u" && !window.MotionHandoffIsComplete?.(x) && window.MotionHasOptimisedAnimation?.(x));
4582
4599
  return T(() => {
4583
4600
  h.current = !0, _ && (b.current = !0, window.MotionIsMounted = !0, _.updateFeatures(), _.scheduleRenderMicrotask(), S.current && _.animationState && _.animationState.animateChanges());
4584
4601
  }), m(() => {
@@ -4588,7 +4605,7 @@ function useVisualElement(e, t, n, r, i, a) {
4588
4605
  }), _;
4589
4606
  }
4590
4607
  function createProjectionNode(e, t, n, r) {
4591
- let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutCrossfade: u } = t;
4608
+ let { layoutId: i, layout: a, drag: o, dragConstraints: s, layoutScroll: c, layoutRoot: l, layoutAnchor: u, layoutCrossfade: d } = t;
4592
4609
  e.projection = new n(e.latestValues, t["data-framer-portal-id"] ? void 0 : getClosestProjectingNode(e.parent)), e.projection.setOptions({
4593
4610
  layoutId: i,
4594
4611
  layout: a,
@@ -4596,16 +4613,17 @@ function createProjectionNode(e, t, n, r) {
4596
4613
  visualElement: e,
4597
4614
  animationType: typeof a == "string" ? a : "both",
4598
4615
  initialPromotionConfig: r,
4599
- crossfade: u,
4616
+ crossfade: d,
4600
4617
  layoutScroll: c,
4601
- layoutRoot: l
4618
+ layoutRoot: l,
4619
+ layoutAnchor: u
4602
4620
  });
4603
4621
  }
4604
4622
  function getClosestProjectingNode(e) {
4605
4623
  if (e) return e.options.allowProjection === !1 ? getClosestProjectingNode(e.parent) : e.projection;
4606
4624
  }
4607
4625
  //#endregion
4608
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/index.mjs
4626
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/index.mjs
4609
4627
  function createMotionComponent(e, { forwardMotionProps: t = !1, type: n } = {}, r, i) {
4610
4628
  r && loadFeatures(r);
4611
4629
  let a = n ? n === "svg" : isSVGComponent(e), o = a ? Rn : Ln;
@@ -4652,15 +4670,15 @@ function getProjectionFunctionality(e) {
4652
4670
  };
4653
4671
  }
4654
4672
  //#endregion
4655
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
4673
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/components/create-proxy.mjs
4656
4674
  function createMotionProxy(e, t) {
4657
4675
  if (typeof Proxy > "u") return createMotionComponent;
4658
4676
  let n = /* @__PURE__ */ new Map(), factory = (n, r) => createMotionComponent(n, r, e, t), deprecatedFactoryFunction = (e, t) => factory(e, t);
4659
4677
  return new Proxy(deprecatedFactoryFunction, { get: (r, i) => i === "create" ? factory : (n.has(i) || n.set(i, createMotionComponent(i, void 0, e, t)), n.get(i)) });
4660
4678
  }
4661
4679
  //#endregion
4662
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/components/m/proxy.mjs
4663
- var Vn = /* @__PURE__ */ createMotionProxy(), createDomVisualElement = (e, t) => t.isSVG ?? isSVGComponent(e) ? new SVGVisualElement(t) : new HTMLVisualElement(t, { allowProjection: e !== s }), AnimationFeature = class extends Feature {
4680
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/components/m/proxy.mjs
4681
+ var Vn = /*@__PURE__*/ createMotionProxy(), createDomVisualElement = (e, t) => t.isSVG ?? isSVGComponent(e) ? new SVGVisualElement(t) : new HTMLVisualElement(t, { allowProjection: e !== s }), AnimationFeature = class extends Feature {
4664
4682
  constructor(e) {
4665
4683
  super(e), e.animationState ||= createAnimationState(e);
4666
4684
  }
@@ -4689,7 +4707,7 @@ var Vn = /* @__PURE__ */ createMotionProxy(), createDomVisualElement = (e, t) =>
4689
4707
  if (e && n === !1) {
4690
4708
  if (this.isExitComplete) {
4691
4709
  let { initial: e, custom: t } = this.node.getProps();
4692
- if (typeof e == "string") {
4710
+ if (typeof e == "string" || typeof e == "object" && e && !Array.isArray(e)) {
4693
4711
  let n = resolveVariant(this.node, e, t);
4694
4712
  if (n) {
4695
4713
  let { transition: e, transitionEnd: t, ...r } = n;
@@ -4716,7 +4734,7 @@ var Vn = /* @__PURE__ */ createMotionProxy(), createDomVisualElement = (e, t) =>
4716
4734
  exit: { Feature: ExitAnimationFeature }
4717
4735
  };
4718
4736
  //#endregion
4719
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/events/event-info.mjs
4737
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/events/event-info.mjs
4720
4738
  function extractEventInfo(e) {
4721
4739
  return { point: {
4722
4740
  x: e.pageX,
@@ -4725,20 +4743,20 @@ function extractEventInfo(e) {
4725
4743
  }
4726
4744
  var addPointerInfo = (e) => (t) => isPrimaryPointer(t) && e(t, extractEventInfo(t));
4727
4745
  //#endregion
4728
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
4746
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/events/add-pointer-event.mjs
4729
4747
  function addPointerEvent(e, t, n, r) {
4730
4748
  return addDomEvent(e, t, addPointerInfo(n), r);
4731
4749
  }
4732
4750
  //#endregion
4733
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/get-context-window.mjs
4751
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/get-context-window.mjs
4734
4752
  var getContextWindow = ({ current: e }) => e ? e.ownerDocument.defaultView : null, distance = (e, t) => Math.abs(e - t);
4735
4753
  function distance2D(e, t) {
4736
4754
  let n = distance(e.x, t.x), r = distance(e.y, t.y);
4737
4755
  return Math.sqrt(n ** 2 + r ** 2);
4738
4756
  }
4739
4757
  //#endregion
4740
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs
4741
- var Wn = /* @__PURE__ */ new Set(["auto", "scroll"]), PanSession = class {
4758
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/gestures/pan/PanSession.mjs
4759
+ var Wn = /*#__PURE__*/ new Set(["auto", "scroll"]), PanSession = class {
4742
4760
  constructor(e, t, { transformPagePoint: n, contextWindow: r = window, dragSnapToOrigin: i = !1, distanceThreshold: a = 3, element: o } = {}) {
4743
4761
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.lastRawMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.scrollPositions = /* @__PURE__ */ new Map(), this.removeScrollListeners = null, this.onElementScroll = (e) => {
4744
4762
  this.handleScroll(e.target);
@@ -4752,7 +4770,7 @@ var Wn = /* @__PURE__ */ new Set(["auto", "scroll"]), PanSession = class {
4752
4770
  y: 0
4753
4771
  }) >= this.distanceThreshold;
4754
4772
  if (!t && !n) return;
4755
- let { point: r } = e, { timestamp: i } = N;
4773
+ let { point: r } = e, { timestamp: i } = M;
4756
4774
  this.history.push({
4757
4775
  ...r,
4758
4776
  timestamp: i
@@ -4760,7 +4778,7 @@ var Wn = /* @__PURE__ */ new Set(["auto", "scroll"]), PanSession = class {
4760
4778
  let { onStart: a, onMove: o } = this.handlers;
4761
4779
  t || (a && a(this.lastMoveEvent, e), this.startEvent = this.lastMoveEvent), o && o(this.lastMoveEvent, e);
4762
4780
  }, this.handlePointerMove = (e, t) => {
4763
- this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = transformPoint(t, this.transformPagePoint), j.update(this.updatePoint, !0);
4781
+ this.lastMoveEvent = e, this.lastRawMoveEventInfo = t, this.lastMoveEventInfo = transformPoint(t, this.transformPagePoint), A.update(this.updatePoint, !0);
4764
4782
  }, this.handlePointerUp = (e, t) => {
4765
4783
  this.end();
4766
4784
  let { onEnd: n, onSessionEnd: r, resumeAnimation: i } = this.handlers;
@@ -4769,13 +4787,18 @@ var Wn = /* @__PURE__ */ new Set(["auto", "scroll"]), PanSession = class {
4769
4787
  this.startEvent && n && n(e, a), r && r(e, a);
4770
4788
  }, !isPrimaryPointer(e)) return;
4771
4789
  this.dragSnapToOrigin = i, this.handlers = t, this.transformPagePoint = n, this.distanceThreshold = a, this.contextWindow = r || window;
4772
- let s = transformPoint(extractEventInfo(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = N;
4790
+ let s = transformPoint(extractEventInfo(e), this.transformPagePoint), { point: c } = s, { timestamp: l } = M;
4773
4791
  this.history = [{
4774
4792
  ...c,
4775
4793
  timestamp: l
4776
4794
  }];
4777
4795
  let { onSessionStart: u } = t;
4778
- u && u(e, getPanInfo(s, this.history)), this.removeListeners = pipe(addPointerEvent(this.contextWindow, "pointermove", this.handlePointerMove), addPointerEvent(this.contextWindow, "pointerup", this.handlePointerUp), addPointerEvent(this.contextWindow, "pointercancel", this.handlePointerUp)), o && this.startScrollTracking(o);
4796
+ u && u(e, getPanInfo(s, this.history));
4797
+ let d = {
4798
+ passive: !0,
4799
+ capture: !0
4800
+ };
4801
+ this.removeListeners = pipe(addPointerEvent(this.contextWindow, "pointermove", this.handlePointerMove, d), addPointerEvent(this.contextWindow, "pointerup", this.handlePointerUp, d), addPointerEvent(this.contextWindow, "pointercancel", this.handlePointerUp, d)), o && this.startScrollTracking(o);
4779
4802
  }
4780
4803
  startScrollTracking(e) {
4781
4804
  let t = e.parentElement;
@@ -4806,13 +4829,13 @@ var Wn = /* @__PURE__ */ new Set(["auto", "scroll"]), PanSession = class {
4806
4829
  x: r.x - t.x,
4807
4830
  y: r.y - t.y
4808
4831
  };
4809
- i.x === 0 && i.y === 0 || (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), j.update(this.updatePoint, !0));
4832
+ i.x === 0 && i.y === 0 || (n ? this.lastMoveEventInfo && (this.lastMoveEventInfo.point.x += i.x, this.lastMoveEventInfo.point.y += i.y) : this.history.length > 0 && (this.history[0].x -= i.x, this.history[0].y -= i.y), this.scrollPositions.set(e, r), A.update(this.updatePoint, !0));
4810
4833
  }
4811
4834
  updateHandlers(e) {
4812
4835
  this.handlers = e;
4813
4836
  }
4814
4837
  end() {
4815
- this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), M(this.updatePoint);
4838
+ this.removeListeners && this.removeListeners(), this.removeScrollListeners && this.removeScrollListeners(), this.scrollPositions.clear(), j(this.updatePoint);
4816
4839
  }
4817
4840
  };
4818
4841
  function transformPoint(e, t) {
@@ -4862,9 +4885,9 @@ function getVelocity(e, t) {
4862
4885
  return o.x === Infinity && (o.x = 0), o.y === Infinity && (o.y = 0), o;
4863
4886
  }
4864
4887
  //#endregion
4865
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs
4888
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/gestures/drag/utils/constraints.mjs
4866
4889
  function applyConstraints(e, { min: t, max: n }, r) {
4867
- return t !== void 0 && e < t ? e = r ? G(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? G(n, e, r.max) : Math.min(e, n)), e;
4890
+ return t !== void 0 && e < t ? e = r ? H(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? H(n, e, r.max) : Math.min(e, n)), e;
4868
4891
  }
4869
4892
  function calcRelativeAxisConstraints(e, t, n) {
4870
4893
  return {
@@ -4916,7 +4939,7 @@ function resolvePointElastic(e, t) {
4916
4939
  return typeof e == "number" ? e : e[t] || 0;
4917
4940
  }
4918
4941
  //#endregion
4919
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
4942
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/gestures/drag/VisualElementDragControls.mjs
4920
4943
  var Kn = /* @__PURE__ */ new WeakMap(), VisualElementDragControls = class {
4921
4944
  constructor(e) {
4922
4945
  this.openDragLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = {
@@ -4934,7 +4957,7 @@ var Kn = /* @__PURE__ */ new WeakMap(), VisualElementDragControls = class {
4934
4957
  if (n && !r && (this.openDragLock && this.openDragLock(), this.openDragLock = setDragLock(n), !this.openDragLock)) return;
4935
4958
  this.latestPointerEvent = e, this.latestPanInfo = t, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), eachAxis((e) => {
4936
4959
  let t = this.getAxisMotionValue(e).get() || 0;
4937
- if (B.test(t)) {
4960
+ if (L.test(t)) {
4938
4961
  let { projection: n } = this.visualElement;
4939
4962
  if (n && n.layout) {
4940
4963
  let r = n.layout.layoutBox[e];
@@ -4942,7 +4965,7 @@ var Kn = /* @__PURE__ */ new WeakMap(), VisualElementDragControls = class {
4942
4965
  }
4943
4966
  }
4944
4967
  this.originPoint[e] = t;
4945
- }), i && j.update(() => i(e, t), !1, !0), addValueToWillChange(this.visualElement, "transform");
4968
+ }), i && A.update(() => i(e, t), !1, !0), addValueToWillChange(this.visualElement, "transform");
4946
4969
  let { animationState: a } = this.visualElement;
4947
4970
  a && a.setActive("whileDrag", !0);
4948
4971
  }, onMove = (e, t) => {
@@ -4954,7 +4977,7 @@ var Kn = /* @__PURE__ */ new WeakMap(), VisualElementDragControls = class {
4954
4977
  this.currentDirection = getCurrentDirection(o), this.currentDirection !== null && i && i(this.currentDirection);
4955
4978
  return;
4956
4979
  }
4957
- this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && j.update(() => a(e, t), !1, !0);
4980
+ this.updateAxis("x", t.point, o), this.updateAxis("y", t.point, o), this.visualElement.render(), a && A.update(() => a(e, t), !1, !0);
4958
4981
  }, onSessionEnd = (e, t) => {
4959
4982
  this.latestPointerEvent = e, this.latestPanInfo = t, this.stop(e, t), this.latestPointerEvent = null, this.latestPanInfo = null;
4960
4983
  }, resumeAnimation = () => {
@@ -4984,7 +5007,7 @@ var Kn = /* @__PURE__ */ new WeakMap(), VisualElementDragControls = class {
4984
5007
  let { velocity: a } = r;
4985
5008
  this.startAnimation(a);
4986
5009
  let { onDragEnd: o } = this.getProps();
4987
- o && j.postRender(() => o(n, r));
5010
+ o && A.postRender(() => o(n, r));
4988
5011
  }
4989
5012
  cancel() {
4990
5013
  this.isDragging = !1;
@@ -5013,6 +5036,7 @@ var Kn = /* @__PURE__ */ new WeakMap(), VisualElementDragControls = class {
5013
5036
  if (!e || !isRefObject(e)) return !1;
5014
5037
  let n = e.current, { projection: r } = this.visualElement;
5015
5038
  if (!r || !r.layout) return !1;
5039
+ r.root && (r.root.scroll = void 0, r.root.updateScroll());
5016
5040
  let i = measurePageBox(n, r.root, this.visualElement.getTransformPagePoint()), a = calcViewportConstraints(r.layout.layoutBox, i);
5017
5041
  if (t) {
5018
5042
  let e = t(convertBoxToBoundingBox(a));
@@ -5051,8 +5075,8 @@ var Kn = /* @__PURE__ */ new WeakMap(), VisualElementDragControls = class {
5051
5075
  eachAxis((e) => this.getAxisMotionValue(e).stop());
5052
5076
  }
5053
5077
  getAxisMotionValue(e) {
5054
- let t = `_drag${e.toUpperCase()}`, n = this.visualElement.getProps();
5055
- return n[t] || this.visualElement.getValue(e, (n.initial ? n.initial[e] : void 0) || 0);
5078
+ let t = `_drag${e.toUpperCase()}`;
5079
+ return this.visualElement.getProps()[t] || this.visualElement.getValue(e, this.visualElement.latestValues[e] ?? 0);
5056
5080
  }
5057
5081
  snapToCursor(e) {
5058
5082
  eachAxis((t) => {
@@ -5061,7 +5085,7 @@ var Kn = /* @__PURE__ */ new WeakMap(), VisualElementDragControls = class {
5061
5085
  let { projection: r } = this.visualElement, i = this.getAxisMotionValue(t);
5062
5086
  if (r && r.layout) {
5063
5087
  let { min: n, max: a } = r.layout.layoutBox[t], o = i.get() || 0;
5064
- i.set(e[t] - G(n, a, .5) + o);
5088
+ i.set(e[t] - H(n, a, .5) + o);
5065
5089
  }
5066
5090
  });
5067
5091
  }
@@ -5088,7 +5112,7 @@ var Kn = /* @__PURE__ */ new WeakMap(), VisualElementDragControls = class {
5088
5112
  this.visualElement.current.style.transform = i ? i({}, "") : "none", n.root && n.root.updateScroll(), n.updateLayout(), this.constraints = !1, this.resolveConstraints(), eachAxis((t) => {
5089
5113
  if (!shouldDrag(t, e, null)) return;
5090
5114
  let n = this.getAxisMotionValue(t), { min: i, max: a } = this.constraints[t];
5091
- n.set(G(i, a, r[t]));
5115
+ n.set(H(i, a, r[t]));
5092
5116
  }), this.visualElement.render();
5093
5117
  }
5094
5118
  addListeners() {
@@ -5101,7 +5125,7 @@ var Kn = /* @__PURE__ */ new WeakMap(), VisualElementDragControls = class {
5101
5125
  let { dragConstraints: t } = this.getProps();
5102
5126
  isRefObject(t) && t.current && (this.constraints = this.resolveRefConstraints(), n ||= startResizeObservers(e, t.current, () => this.scalePositionWithinConstraints()));
5103
5127
  }, { projection: r } = this.visualElement, i = r.addEventListener("measure", measureDragConstraints);
5104
- r && !r.layout && (r.root && r.root.updateScroll(), r.updateLayout()), j.read(measureDragConstraints);
5128
+ r && !r.layout && (r.root && r.root.updateScroll(), r.updateLayout()), A.read(measureDragConstraints);
5105
5129
  let a = addDomEvent(window, "resize", () => this.scalePositionWithinConstraints()), o = r.addEventListener("didUpdate", (({ delta: e, hasLayoutChanged: t }) => {
5106
5130
  this.isDragging && t && (eachAxis((t) => {
5107
5131
  let n = this.getAxisMotionValue(t);
@@ -5149,7 +5173,7 @@ function getCurrentDirection(e, t = 10) {
5149
5173
  return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
5150
5174
  }
5151
5175
  //#endregion
5152
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/gestures/drag/index.mjs
5176
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/gestures/drag/index.mjs
5153
5177
  var DragGesture = class extends Feature {
5154
5178
  constructor(e) {
5155
5179
  super(e), this.removeGroupControls = noop, this.removeListeners = noop, this.controls = new VisualElementDragControls(e);
@@ -5166,7 +5190,7 @@ var DragGesture = class extends Feature {
5166
5190
  this.removeGroupControls(), this.removeListeners(), this.controls.isDragging || this.controls.endPanSession();
5167
5191
  }
5168
5192
  }, asyncHandler = (e) => (t, n) => {
5169
- e && j.update(() => e(t, n), !1, !0);
5193
+ e && A.update(() => e(t, n), !1, !0);
5170
5194
  }, PanGesture = class extends Feature {
5171
5195
  constructor() {
5172
5196
  super(...arguments), this.removePointerDownListener = noop;
@@ -5184,7 +5208,7 @@ var DragGesture = class extends Feature {
5184
5208
  onStart: asyncHandler(t),
5185
5209
  onMove: asyncHandler(n),
5186
5210
  onEnd: (e, t) => {
5187
- delete this.session, r && j.postRender(() => r(e, t));
5211
+ delete this.session, r && A.postRender(() => r(e, t));
5188
5212
  }
5189
5213
  };
5190
5214
  }
@@ -5213,15 +5237,15 @@ var DragGesture = class extends Feature {
5213
5237
  return a ? (a.isPresent = i, e.layoutDependency !== t && a.setOptions({
5214
5238
  ...a.options,
5215
5239
  layoutDependency: t
5216
- }), qn = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || j.postRender(() => {
5240
+ }), qn = !0, r || e.layoutDependency !== t || t === void 0 || e.isPresent !== i ? a.willUpdate() : this.safeToRemove(), e.isPresent !== i && (i ? a.promote() : a.relegate() || A.postRender(() => {
5217
5241
  let e = a.getStack();
5218
5242
  (!e || !e.members.length) && this.safeToRemove();
5219
5243
  })), null) : null;
5220
5244
  }
5221
5245
  componentDidUpdate() {
5222
- let { projection: e } = this.props.visualElement;
5223
- e && (e.root.didUpdate(), Dt.postRender(() => {
5224
- !e.currentAnimation && e.isLead() && this.safeToRemove();
5246
+ let { visualElement: e, layoutAnchor: t } = this.props, { projection: n } = e;
5247
+ n && (n.options.layoutAnchor = t, n.root.didUpdate(), kt.postRender(() => {
5248
+ !n.currentAnimation && n.isLead() && this.safeToRemove();
5225
5249
  }));
5226
5250
  }
5227
5251
  componentWillUnmount() {
@@ -5247,7 +5271,7 @@ function MeasureLayout(e) {
5247
5271
  });
5248
5272
  }
5249
5273
  //#endregion
5250
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/features/drag.mjs
5274
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/features/drag.mjs
5251
5275
  var Jn = {
5252
5276
  pan: { Feature: PanGesture },
5253
5277
  drag: {
@@ -5257,12 +5281,12 @@ var Jn = {
5257
5281
  }
5258
5282
  };
5259
5283
  //#endregion
5260
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/gestures/hover.mjs
5284
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/gestures/hover.mjs
5261
5285
  function handleHoverEvent(e, t, n) {
5262
5286
  let { props: r } = e;
5263
5287
  e.animationState && r.whileHover && e.animationState.setActive("whileHover", n === "Start");
5264
5288
  let i = r["onHover" + n];
5265
- i && j.postRender(() => i(t, extractEventInfo(t)));
5289
+ i && A.postRender(() => i(t, extractEventInfo(t)));
5266
5290
  }
5267
5291
  var HoverGesture = class extends Feature {
5268
5292
  mount() {
@@ -5292,13 +5316,13 @@ var HoverGesture = class extends Feature {
5292
5316
  unmount() {}
5293
5317
  };
5294
5318
  //#endregion
5295
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/gestures/press.mjs
5319
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/gestures/press.mjs
5296
5320
  function handlePressEvent(e, t, n) {
5297
5321
  let { props: r } = e;
5298
5322
  if (e.current instanceof HTMLButtonElement && e.current.disabled) return;
5299
5323
  e.animationState && r.whileTap && e.animationState.setActive("whileTap", n === "Start");
5300
5324
  let i = r["onTap" + (n === "End" ? "" : n)];
5301
- i && j.postRender(() => i(t, extractEventInfo(t)));
5325
+ i && A.postRender(() => i(t, extractEventInfo(t)));
5302
5326
  }
5303
5327
  var PressGesture = class extends Feature {
5304
5328
  mount() {
@@ -5333,7 +5357,7 @@ function observeIntersection(e, t, n) {
5333
5357
  };
5334
5358
  }
5335
5359
  //#endregion
5336
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
5360
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/features/viewport/index.mjs
5337
5361
  var Zn = {
5338
5362
  some: 0,
5339
5363
  all: 1
@@ -5342,7 +5366,7 @@ var Zn = {
5342
5366
  super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
5343
5367
  }
5344
5368
  startObserver() {
5345
- this.unmount();
5369
+ this.stopObserver?.();
5346
5370
  let { viewport: e = {} } = this.node.getProps(), { root: t, margin: n, amount: r = "some", once: i } = e, a = {
5347
5371
  root: t ? t.current : void 0,
5348
5372
  rootMargin: n,
@@ -5354,7 +5378,7 @@ var Zn = {
5354
5378
  let { onViewportEnter: n, onViewportLeave: r } = this.node.getProps(), a = t ? n : r;
5355
5379
  a && a(e);
5356
5380
  };
5357
- return observeIntersection(this.node.current, a, onIntersectionUpdate);
5381
+ this.stopObserver = observeIntersection(this.node.current, a, onIntersectionUpdate);
5358
5382
  }
5359
5383
  mount() {
5360
5384
  this.startObserver();
@@ -5368,13 +5392,15 @@ var Zn = {
5368
5392
  "root"
5369
5393
  ].some(hasViewportOptionChanged(e, t)) && this.startObserver();
5370
5394
  }
5371
- unmount() {}
5395
+ unmount() {
5396
+ this.stopObserver?.(), this.hasEnteredView = !1, this.isInView = !1;
5397
+ }
5372
5398
  };
5373
5399
  function hasViewportOptionChanged({ viewport: e = {} }, { viewport: t = {} } = {}) {
5374
5400
  return (n) => e[n] !== t[n];
5375
5401
  }
5376
5402
  //#endregion
5377
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/features/gestures.mjs
5403
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/motion/features/gestures.mjs
5378
5404
  var Qn = {
5379
5405
  inView: { Feature: InViewFeature },
5380
5406
  tap: { Feature: PressGesture },
@@ -5391,7 +5417,7 @@ var Qn = {
5391
5417
  ...$n
5392
5418
  };
5393
5419
  //#endregion
5394
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/value/use-motion-value.mjs
5420
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/value/use-motion-value.mjs
5395
5421
  function useMotionValue(e) {
5396
5422
  let t = useConstant(() => motionValue(e)), { isStatic: n } = p($);
5397
5423
  if (n) {
@@ -5401,40 +5427,40 @@ function useMotionValue(e) {
5401
5427
  return t;
5402
5428
  }
5403
5429
  //#endregion
5404
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
5430
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion.mjs
5405
5431
  function useReducedMotion() {
5406
- !Ut.current && initPrefersReducedMotion();
5407
- let [e] = b(Ht.current);
5432
+ !Wt.current && initPrefersReducedMotion();
5433
+ let [e] = b(Ut.current);
5408
5434
  return e;
5409
5435
  }
5410
5436
  //#endregion
5411
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion-config.mjs
5437
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/utils/reduced-motion/use-reduced-motion-config.mjs
5412
5438
  function useReducedMotionConfig() {
5413
5439
  let e = useReducedMotion(), { reducedMotion: t } = p($);
5414
5440
  return t === "never" ? !1 : t === "always" ? !0 : e;
5415
5441
  }
5416
5442
  //#endregion
5417
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs
5443
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs
5418
5444
  function isDOMKeyframes(e) {
5419
5445
  return typeof e == "object" && !Array.isArray(e);
5420
5446
  }
5421
5447
  //#endregion
5422
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs
5448
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs
5423
5449
  function resolveSubjects(e, t, n, r) {
5424
5450
  return e == null ? [] : typeof e == "string" && isDOMKeyframes(t) ? resolveElements(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
5425
5451
  }
5426
5452
  //#endregion
5427
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs
5453
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs
5428
5454
  function calculateRepeatDuration(e, t, n) {
5429
- return e * (t + 1);
5455
+ return e * (t + 1) + n * t;
5430
5456
  }
5431
5457
  //#endregion
5432
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs
5458
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs
5433
5459
  function calcNextTime(e, t, n, r) {
5434
5460
  return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;
5435
5461
  }
5436
5462
  //#endregion
5437
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs
5463
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs
5438
5464
  function eraseKeyframes(e, t, n) {
5439
5465
  for (let r = 0; r < e.length; r++) {
5440
5466
  let i = e[r];
@@ -5445,23 +5471,24 @@ function addKeyframes(e, t, n, r, i, a) {
5445
5471
  eraseKeyframes(e, i, a);
5446
5472
  for (let o = 0; o < t.length; o++) e.push({
5447
5473
  value: t[o],
5448
- at: G(i, a, r[o]),
5449
- easing: getEasingForSegment(n, o)
5474
+ at: H(i, a, r[o]),
5475
+ easing: /* @__PURE__ */ getEasingForSegment(n, o)
5450
5476
  });
5451
5477
  }
5452
5478
  //#endregion
5453
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs
5454
- function normalizeTimes(e, t) {
5455
- for (let n = 0; n < e.length; n++) e[n] = e[n] / (t + 1);
5479
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs
5480
+ function normalizeTimes(e, t, n = 0) {
5481
+ let r = t + 1 + t * n;
5482
+ for (let t = 0; t < e.length; t++) e[t] = e[t] / r;
5456
5483
  }
5457
5484
  //#endregion
5458
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs
5485
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs
5459
5486
  function compareByTime(e, t) {
5460
5487
  return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;
5461
5488
  }
5462
5489
  //#endregion
5463
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/sequence/create.mjs
5464
- var tr = "easeInOut";
5490
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/sequence/create.mjs
5491
+ var tr = "easeInOut", nr = 20;
5465
5492
  function createAnimationsFromSequence(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
5466
5493
  let a = t.duration || .3, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = {}, l = /* @__PURE__ */ new Map(), u = 0, d = 0, f = 0;
5467
5494
  for (let n = 0; n < e.length; n++) {
@@ -5495,16 +5522,19 @@ function createAnimationsFromSequence(e, { defaultTransition: t = {}, ...n } = {
5495
5522
  let w = d + x;
5496
5523
  u.length === 1 && u[0] === 0 && (u[1] = 1);
5497
5524
  let T = u.length - c.length;
5498
- if (T > 0 && fillOffset(u, T), c.length === 1 && c.unshift(null), m) {
5499
- b = calculateRepeatDuration(b, m);
5500
- let e = [...c], t = [...u];
5525
+ if (T > 0 && fillOffset(u, T), c.length === 1 && c.unshift(null), m && `${m}${nr}`, m && m < nr) {
5526
+ let e = b > 0 ? _ / b : 0;
5527
+ b = calculateRepeatDuration(b, m, _);
5528
+ let t = [...c], n = [...u];
5501
5529
  y = Array.isArray(y) ? [...y] : [y];
5502
- let n = [...y];
5503
- for (let r = 0; r < m; r++) {
5504
- c.push(...e);
5505
- for (let i = 0; i < e.length; i++) u.push(t[i] + (r + 1)), y.push(i === 0 ? "linear" : getEasingForSegment(n, i - 1));
5530
+ let r = [...y], i = h === "reverse" || h === "mirror", a = t, o = r;
5531
+ i && (a = [...t].reverse(), h === "reverse" && (o = [...r].reverse().map((e) => typeof e == "function" ? /* @__PURE__ */ reverseEasing(e) : e)));
5532
+ for (let s = 0; s < m; s++) {
5533
+ let l = i && s % 2 == 0, d = l ? a : t, f = l ? o : r, p = (s + 1) * (1 + e);
5534
+ e > 0 && (c.push(c[c.length - 1]), u.push(p), y.push("linear")), c.push(...d);
5535
+ for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ getEasingForSegment(f, e - 1));
5506
5536
  }
5507
- normalizeTimes(u, m);
5537
+ normalizeTimes(u, m, e);
5508
5538
  }
5509
5539
  let E = w + b;
5510
5540
  addKeyframes(r, c, y, u, w, E), g = Math.max(x + b, g), f = Math.max(E, f);
@@ -5565,7 +5595,7 @@ function getValueTransition(e, t) {
5565
5595
  }
5566
5596
  var isNumber = (e) => typeof e == "number", isNumberKeyframesArray = (e) => e.every(isNumber);
5567
5597
  //#endregion
5568
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.mjs
5598
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/utils/create-visual-element.mjs
5569
5599
  function createDOMVisualElement(e) {
5570
5600
  let t = {
5571
5601
  presenceContext: null,
@@ -5581,7 +5611,7 @@ function createDOMVisualElement(e) {
5581
5611
  latestValues: {}
5582
5612
  }
5583
5613
  }, n = isSVGElement(e) && !isSVGSVGElement(e) ? new SVGVisualElement(t) : new HTMLVisualElement(t);
5584
- n.mount(e), zt.set(e, n);
5614
+ n.mount(e), Z.set(e, n);
5585
5615
  }
5586
5616
  function createObjectVisualElement(e) {
5587
5617
  let t = new ObjectVisualElement({
@@ -5592,10 +5622,10 @@ function createObjectVisualElement(e) {
5592
5622
  latestValues: {}
5593
5623
  }
5594
5624
  });
5595
- t.mount(e), zt.set(e, t);
5625
+ t.mount(e), Z.set(e, t);
5596
5626
  }
5597
5627
  //#endregion
5598
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/animate/subject.mjs
5628
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/animate/subject.mjs
5599
5629
  function isSingleValue(e, t) {
5600
5630
  return isMotionValue(e) || typeof e == "number" || typeof e == "string" && !isDOMKeyframes(t);
5601
5631
  }
@@ -5607,8 +5637,8 @@ function animateSubject(e, t, n, r) {
5607
5637
  let a = resolveSubjects(e, t, r), o = a.length;
5608
5638
  for (let e = 0; e < o; e++) {
5609
5639
  let r = a[e], s = r instanceof Element ? createDOMVisualElement : createObjectVisualElement;
5610
- zt.has(r) || s(r);
5611
- let c = zt.get(r), l = { ...n };
5640
+ Z.has(r) || s(r);
5641
+ let c = Z.get(r), l = { ...n };
5612
5642
  "delay" in l && typeof l.delay == "function" && (l.delay = l.delay(e, o)), i.push(...animateTarget(c, {
5613
5643
  ...t,
5614
5644
  transition: l
@@ -5618,7 +5648,7 @@ function animateSubject(e, t, n, r) {
5618
5648
  return i;
5619
5649
  }
5620
5650
  //#endregion
5621
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/animate/sequence.mjs
5651
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/animate/sequence.mjs
5622
5652
  function animateSequence(e, t, n) {
5623
5653
  let r = [];
5624
5654
  return createAnimationsFromSequence(e.map((e) => {
@@ -5640,35 +5670,35 @@ function animateSequence(e, t, n) {
5640
5670
  }), r;
5641
5671
  }
5642
5672
  //#endregion
5643
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/animate/index.mjs
5673
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/animation/animate/index.mjs
5644
5674
  function isSequence(e) {
5645
5675
  return Array.isArray(e) && e.some(Array.isArray);
5646
5676
  }
5647
5677
  function createScopedAnimate(e = {}) {
5648
- let { scope: t, reduceMotion: n } = e;
5649
- function scopedAnimate(e, r, i) {
5650
- let a = [], o;
5651
- if (isSequence(e)) {
5652
- let { onComplete: i, ...s } = r || {};
5653
- typeof i == "function" && (o = i), a = animateSequence(e, n === void 0 ? s : {
5654
- reduceMotion: n,
5655
- ...s
5678
+ let { scope: t, reduceMotion: n, skipAnimations: r } = e;
5679
+ function scopedAnimate(e, i, a) {
5680
+ let o = [], s, c = {};
5681
+ if (n !== void 0 && (c.reduceMotion = n), r !== void 0 && (c.skipAnimations = r), isSequence(e)) {
5682
+ let { onComplete: n, ...r } = i || {};
5683
+ typeof n == "function" && (s = n), o = animateSequence(e, {
5684
+ ...c,
5685
+ ...r
5656
5686
  }, t);
5657
5687
  } else {
5658
- let { onComplete: s, ...c } = i || {};
5659
- typeof s == "function" && (o = s), a = animateSubject(e, r, n === void 0 ? c : {
5660
- reduceMotion: n,
5661
- ...c
5688
+ let { onComplete: n, ...r } = a || {};
5689
+ typeof n == "function" && (s = n), o = animateSubject(e, i, {
5690
+ ...c,
5691
+ ...r
5662
5692
  }, t);
5663
5693
  }
5664
- let s = new GroupAnimationWithThen(a);
5665
- return o && s.finished.then(o), t && (t.animations.push(s), s.finished.then(() => {
5666
- removeItem(t.animations, s);
5667
- })), s;
5694
+ let l = new GroupAnimationWithThen(o);
5695
+ return s && l.finished.then(s), t && (t.animations.push(l), l.finished.then(() => {
5696
+ removeItem(t.animations, l);
5697
+ })), l;
5668
5698
  }
5669
5699
  return scopedAnimate;
5670
5700
  }
5671
- var nr = createScopedAnimate(), DragControls = class {
5701
+ var rr = createScopedAnimate(), DragControls = class {
5672
5702
  constructor() {
5673
5703
  this.componentControls = /* @__PURE__ */ new Set();
5674
5704
  }
@@ -5695,178 +5725,181 @@ function useDragControls() {
5695
5725
  return useConstant(createDragControls);
5696
5726
  }
5697
5727
  //#endregion
5698
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/components/m/create.mjs
5728
+ //#region ../../node_modules/.pnpm/motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/motion/dist/es/react.mjs
5729
+ var ir = Vn;
5730
+ //#endregion
5731
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/components/m/create.mjs
5699
5732
  function createMinimalMotionComponent(e, t) {
5700
5733
  return createMotionComponent(e, t);
5701
5734
  }
5702
5735
  //#endregion
5703
- //#region ../../node_modules/.pnpm/framer-motion@12.36.0_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/components/m/elements.mjs
5704
- var rr = /* @__PURE__ */ createMinimalMotionComponent("a"), ir = /* @__PURE__ */ createMinimalMotionComponent("abbr"), ar = /* @__PURE__ */ createMinimalMotionComponent("address"), or = /* @__PURE__ */ createMinimalMotionComponent("area"), sr = /* @__PURE__ */ createMinimalMotionComponent("article"), cr = /* @__PURE__ */ createMinimalMotionComponent("aside"), lr = /* @__PURE__ */ createMinimalMotionComponent("audio"), ur = /* @__PURE__ */ createMinimalMotionComponent("b"), dr = /* @__PURE__ */ createMinimalMotionComponent("base"), fr = /* @__PURE__ */ createMinimalMotionComponent("bdi"), pr = /* @__PURE__ */ createMinimalMotionComponent("bdo"), mr = /* @__PURE__ */ createMinimalMotionComponent("big"), hr = /* @__PURE__ */ createMinimalMotionComponent("blockquote"), gr = /* @__PURE__ */ createMinimalMotionComponent("body"), _r = /* @__PURE__ */ createMinimalMotionComponent("button"), vr = /* @__PURE__ */ createMinimalMotionComponent("canvas"), yr = /* @__PURE__ */ createMinimalMotionComponent("caption"), br = /* @__PURE__ */ createMinimalMotionComponent("cite"), xr = /* @__PURE__ */ createMinimalMotionComponent("code"), Sr = /* @__PURE__ */ createMinimalMotionComponent("col"), Cr = /* @__PURE__ */ createMinimalMotionComponent("colgroup"), wr = /* @__PURE__ */ createMinimalMotionComponent("data"), Tr = /* @__PURE__ */ createMinimalMotionComponent("datalist"), Er = /* @__PURE__ */ createMinimalMotionComponent("dd"), Dr = /* @__PURE__ */ createMinimalMotionComponent("del"), Or = /* @__PURE__ */ createMinimalMotionComponent("details"), kr = /* @__PURE__ */ createMinimalMotionComponent("dfn"), Ar = /* @__PURE__ */ createMinimalMotionComponent("dialog"), jr = /* @__PURE__ */ createMinimalMotionComponent("div"), Mr = /* @__PURE__ */ createMinimalMotionComponent("dl"), Nr = /* @__PURE__ */ createMinimalMotionComponent("dt"), Pr = /* @__PURE__ */ createMinimalMotionComponent("em"), Fr = /* @__PURE__ */ createMinimalMotionComponent("embed"), Ir = /* @__PURE__ */ createMinimalMotionComponent("fieldset"), Lr = /* @__PURE__ */ createMinimalMotionComponent("figcaption"), Rr = /* @__PURE__ */ createMinimalMotionComponent("figure"), zr = /* @__PURE__ */ createMinimalMotionComponent("footer"), Br = /* @__PURE__ */ createMinimalMotionComponent("form"), Vr = /* @__PURE__ */ createMinimalMotionComponent("h1"), Hr = /* @__PURE__ */ createMinimalMotionComponent("h2"), Ur = /* @__PURE__ */ createMinimalMotionComponent("h3"), Wr = /* @__PURE__ */ createMinimalMotionComponent("h4"), Gr = /* @__PURE__ */ createMinimalMotionComponent("h5"), Kr = /* @__PURE__ */ createMinimalMotionComponent("h6"), qr = /* @__PURE__ */ createMinimalMotionComponent("head"), Jr = /* @__PURE__ */ createMinimalMotionComponent("header"), Yr = /* @__PURE__ */ createMinimalMotionComponent("hgroup"), Xr = /* @__PURE__ */ createMinimalMotionComponent("hr"), Zr = /* @__PURE__ */ createMinimalMotionComponent("html"), Qr = /* @__PURE__ */ createMinimalMotionComponent("i"), $r = /* @__PURE__ */ createMinimalMotionComponent("iframe"), ei = /* @__PURE__ */ createMinimalMotionComponent("img"), ti = /* @__PURE__ */ createMinimalMotionComponent("input"), ni = /* @__PURE__ */ createMinimalMotionComponent("ins"), ri = /* @__PURE__ */ createMinimalMotionComponent("kbd"), ii = /* @__PURE__ */ createMinimalMotionComponent("keygen"), ai = /* @__PURE__ */ createMinimalMotionComponent("label"), oi = /* @__PURE__ */ createMinimalMotionComponent("legend"), si = /* @__PURE__ */ createMinimalMotionComponent("li"), ci = /* @__PURE__ */ createMinimalMotionComponent("link"), li = /* @__PURE__ */ createMinimalMotionComponent("main"), ui = /* @__PURE__ */ createMinimalMotionComponent("map"), di = /* @__PURE__ */ createMinimalMotionComponent("mark"), fi = /* @__PURE__ */ createMinimalMotionComponent("menu"), pi = /* @__PURE__ */ createMinimalMotionComponent("menuitem"), mi = /* @__PURE__ */ createMinimalMotionComponent("meter"), hi = /* @__PURE__ */ createMinimalMotionComponent("nav"), gi = /* @__PURE__ */ createMinimalMotionComponent("object"), _i = /* @__PURE__ */ createMinimalMotionComponent("ol"), vi = /* @__PURE__ */ createMinimalMotionComponent("optgroup"), yi = /* @__PURE__ */ createMinimalMotionComponent("option"), bi = /* @__PURE__ */ createMinimalMotionComponent("output"), xi = /* @__PURE__ */ createMinimalMotionComponent("p"), Si = /* @__PURE__ */ createMinimalMotionComponent("param"), Ci = /* @__PURE__ */ createMinimalMotionComponent("picture"), wi = /* @__PURE__ */ createMinimalMotionComponent("pre"), Ti = /* @__PURE__ */ createMinimalMotionComponent("progress"), Ei = /* @__PURE__ */ createMinimalMotionComponent("q"), Di = /* @__PURE__ */ createMinimalMotionComponent("rp"), Oi = /* @__PURE__ */ createMinimalMotionComponent("rt"), ki = /* @__PURE__ */ createMinimalMotionComponent("ruby"), Ai = /* @__PURE__ */ createMinimalMotionComponent("s"), ji = /* @__PURE__ */ createMinimalMotionComponent("samp"), Mi = /* @__PURE__ */ createMinimalMotionComponent("script"), Ni = /* @__PURE__ */ createMinimalMotionComponent("section"), Pi = /* @__PURE__ */ createMinimalMotionComponent("select"), Fi = /* @__PURE__ */ createMinimalMotionComponent("small"), Ii = /* @__PURE__ */ createMinimalMotionComponent("source"), Li = /* @__PURE__ */ createMinimalMotionComponent("span"), Ri = /* @__PURE__ */ createMinimalMotionComponent("strong"), zi = /* @__PURE__ */ createMinimalMotionComponent("style"), Bi = /* @__PURE__ */ createMinimalMotionComponent("sub"), Vi = /* @__PURE__ */ createMinimalMotionComponent("summary"), Hi = /* @__PURE__ */ createMinimalMotionComponent("sup"), Ui = /* @__PURE__ */ createMinimalMotionComponent("table"), Wi = /* @__PURE__ */ createMinimalMotionComponent("tbody"), Gi = /* @__PURE__ */ createMinimalMotionComponent("td"), Ki = /* @__PURE__ */ createMinimalMotionComponent("textarea"), qi = /* @__PURE__ */ createMinimalMotionComponent("tfoot"), Ji = /* @__PURE__ */ createMinimalMotionComponent("th"), Yi = /* @__PURE__ */ createMinimalMotionComponent("thead"), Xi = /* @__PURE__ */ createMinimalMotionComponent("time"), Zi = /* @__PURE__ */ createMinimalMotionComponent("title"), Qi = /* @__PURE__ */ createMinimalMotionComponent("tr"), $i = /* @__PURE__ */ createMinimalMotionComponent("track"), ea = /* @__PURE__ */ createMinimalMotionComponent("u"), ta = /* @__PURE__ */ createMinimalMotionComponent("ul"), na = /* @__PURE__ */ createMinimalMotionComponent("video"), ra = /* @__PURE__ */ createMinimalMotionComponent("wbr"), ia = /* @__PURE__ */ createMinimalMotionComponent("webview"), aa = /* @__PURE__ */ createMinimalMotionComponent("animate"), oa = /* @__PURE__ */ createMinimalMotionComponent("circle"), sa = /* @__PURE__ */ createMinimalMotionComponent("defs"), ca = /* @__PURE__ */ createMinimalMotionComponent("desc"), la = /* @__PURE__ */ createMinimalMotionComponent("ellipse"), ua = /* @__PURE__ */ createMinimalMotionComponent("g"), da = /* @__PURE__ */ createMinimalMotionComponent("image"), fa = /* @__PURE__ */ createMinimalMotionComponent("line"), pa = /* @__PURE__ */ createMinimalMotionComponent("filter"), ma = /* @__PURE__ */ createMinimalMotionComponent("marker"), ha = /* @__PURE__ */ createMinimalMotionComponent("mask"), ga = /* @__PURE__ */ createMinimalMotionComponent("metadata"), _a = /* @__PURE__ */ createMinimalMotionComponent("path"), va = /* @__PURE__ */ createMinimalMotionComponent("pattern"), ya = /* @__PURE__ */ createMinimalMotionComponent("polygon"), ba = /* @__PURE__ */ createMinimalMotionComponent("polyline"), xa = /* @__PURE__ */ createMinimalMotionComponent("rect"), Sa = /* @__PURE__ */ createMinimalMotionComponent("stop"), Ca = /* @__PURE__ */ createMinimalMotionComponent("svg"), wa = /* @__PURE__ */ createMinimalMotionComponent("symbol"), Ta = /* @__PURE__ */ createMinimalMotionComponent("text"), Ea = /* @__PURE__ */ createMinimalMotionComponent("tspan"), Da = /* @__PURE__ */ createMinimalMotionComponent("use"), Oa = /* @__PURE__ */ createMinimalMotionComponent("view"), ka = /* @__PURE__ */ createMinimalMotionComponent("clipPath"), Aa = /* @__PURE__ */ createMinimalMotionComponent("feBlend"), ja = /* @__PURE__ */ createMinimalMotionComponent("feColorMatrix"), Ma = /* @__PURE__ */ createMinimalMotionComponent("feComponentTransfer"), Na = /* @__PURE__ */ createMinimalMotionComponent("feComposite"), Pa = /* @__PURE__ */ createMinimalMotionComponent("feConvolveMatrix"), Fa = /* @__PURE__ */ createMinimalMotionComponent("feDiffuseLighting"), Ia = /* @__PURE__ */ createMinimalMotionComponent("feDisplacementMap"), La = /* @__PURE__ */ createMinimalMotionComponent("feDistantLight"), Ra = /* @__PURE__ */ createMinimalMotionComponent("feDropShadow"), za = /* @__PURE__ */ createMinimalMotionComponent("feFlood"), Ba = /* @__PURE__ */ createMinimalMotionComponent("feFuncA"), Va = /* @__PURE__ */ createMinimalMotionComponent("feFuncB"), Ha = /* @__PURE__ */ createMinimalMotionComponent("feFuncG"), Ua = /* @__PURE__ */ createMinimalMotionComponent("feFuncR"), Wa = /* @__PURE__ */ createMinimalMotionComponent("feGaussianBlur"), Ga = /* @__PURE__ */ createMinimalMotionComponent("feImage"), Ka = /* @__PURE__ */ createMinimalMotionComponent("feMerge"), qa = /* @__PURE__ */ createMinimalMotionComponent("feMergeNode"), Ja = /* @__PURE__ */ createMinimalMotionComponent("feMorphology"), Ya = /* @__PURE__ */ createMinimalMotionComponent("feOffset"), Xa = /* @__PURE__ */ createMinimalMotionComponent("fePointLight"), Za = /* @__PURE__ */ createMinimalMotionComponent("feSpecularLighting"), Qa = /* @__PURE__ */ createMinimalMotionComponent("feSpotLight"), $a = /* @__PURE__ */ createMinimalMotionComponent("feTile"), eo = /* @__PURE__ */ createMinimalMotionComponent("feTurbulence"), to = /* @__PURE__ */ createMinimalMotionComponent("foreignObject"), no = /* @__PURE__ */ createMinimalMotionComponent("linearGradient"), ro = /* @__PURE__ */ createMinimalMotionComponent("radialGradient"), io = /* @__PURE__ */ createMinimalMotionComponent("textPath"), ao = /* @__PURE__ */ r({
5705
- a: () => rr,
5706
- abbr: () => ir,
5707
- address: () => ar,
5708
- animate: () => aa,
5709
- area: () => or,
5710
- article: () => sr,
5711
- aside: () => cr,
5712
- audio: () => lr,
5713
- b: () => ur,
5714
- base: () => dr,
5715
- bdi: () => fr,
5716
- bdo: () => pr,
5717
- big: () => mr,
5718
- blockquote: () => hr,
5719
- body: () => gr,
5720
- button: () => _r,
5721
- canvas: () => vr,
5722
- caption: () => yr,
5723
- circle: () => oa,
5724
- cite: () => br,
5725
- clipPath: () => ka,
5726
- code: () => xr,
5727
- col: () => Sr,
5728
- colgroup: () => Cr,
5736
+ //#region ../../node_modules/.pnpm/framer-motion@12.42.2_react-dom@19.2.7_react@19.2.7__react@19.2.7/node_modules/framer-motion/dist/es/render/components/m/elements.mjs
5737
+ var ar = /*@__PURE__*/ createMinimalMotionComponent("a"), or = /*@__PURE__*/ createMinimalMotionComponent("abbr"), sr = /*@__PURE__*/ createMinimalMotionComponent("address"), cr = /*@__PURE__*/ createMinimalMotionComponent("area"), lr = /*@__PURE__*/ createMinimalMotionComponent("article"), ur = /*@__PURE__*/ createMinimalMotionComponent("aside"), dr = /*@__PURE__*/ createMinimalMotionComponent("audio"), fr = /*@__PURE__*/ createMinimalMotionComponent("b"), pr = /*@__PURE__*/ createMinimalMotionComponent("base"), mr = /*@__PURE__*/ createMinimalMotionComponent("bdi"), hr = /*@__PURE__*/ createMinimalMotionComponent("bdo"), gr = /*@__PURE__*/ createMinimalMotionComponent("big"), _r = /*@__PURE__*/ createMinimalMotionComponent("blockquote"), vr = /*@__PURE__*/ createMinimalMotionComponent("body"), yr = /*@__PURE__*/ createMinimalMotionComponent("button"), br = /*@__PURE__*/ createMinimalMotionComponent("canvas"), xr = /*@__PURE__*/ createMinimalMotionComponent("caption"), Sr = /*@__PURE__*/ createMinimalMotionComponent("cite"), Cr = /*@__PURE__*/ createMinimalMotionComponent("code"), wr = /*@__PURE__*/ createMinimalMotionComponent("col"), Tr = /*@__PURE__*/ createMinimalMotionComponent("colgroup"), Er = /*@__PURE__*/ createMinimalMotionComponent("data"), Dr = /*@__PURE__*/ createMinimalMotionComponent("datalist"), Or = /*@__PURE__*/ createMinimalMotionComponent("dd"), kr = /*@__PURE__*/ createMinimalMotionComponent("del"), Ar = /*@__PURE__*/ createMinimalMotionComponent("details"), jr = /*@__PURE__*/ createMinimalMotionComponent("dfn"), Mr = /*@__PURE__*/ createMinimalMotionComponent("dialog"), Nr = /*@__PURE__*/ createMinimalMotionComponent("div"), Pr = /*@__PURE__*/ createMinimalMotionComponent("dl"), Fr = /*@__PURE__*/ createMinimalMotionComponent("dt"), Ir = /*@__PURE__*/ createMinimalMotionComponent("em"), Lr = /*@__PURE__*/ createMinimalMotionComponent("embed"), Rr = /*@__PURE__*/ createMinimalMotionComponent("fieldset"), zr = /*@__PURE__*/ createMinimalMotionComponent("figcaption"), Br = /*@__PURE__*/ createMinimalMotionComponent("figure"), Vr = /*@__PURE__*/ createMinimalMotionComponent("footer"), Hr = /*@__PURE__*/ createMinimalMotionComponent("form"), Ur = /*@__PURE__*/ createMinimalMotionComponent("h1"), Wr = /*@__PURE__*/ createMinimalMotionComponent("h2"), Gr = /*@__PURE__*/ createMinimalMotionComponent("h3"), Kr = /*@__PURE__*/ createMinimalMotionComponent("h4"), qr = /*@__PURE__*/ createMinimalMotionComponent("h5"), Jr = /*@__PURE__*/ createMinimalMotionComponent("h6"), Yr = /*@__PURE__*/ createMinimalMotionComponent("head"), Xr = /*@__PURE__*/ createMinimalMotionComponent("header"), Zr = /*@__PURE__*/ createMinimalMotionComponent("hgroup"), Qr = /*@__PURE__*/ createMinimalMotionComponent("hr"), $r = /*@__PURE__*/ createMinimalMotionComponent("html"), ei = /*@__PURE__*/ createMinimalMotionComponent("i"), ti = /*@__PURE__*/ createMinimalMotionComponent("iframe"), ni = /*@__PURE__*/ createMinimalMotionComponent("img"), ri = /*@__PURE__*/ createMinimalMotionComponent("input"), ii = /*@__PURE__*/ createMinimalMotionComponent("ins"), ai = /*@__PURE__*/ createMinimalMotionComponent("kbd"), oi = /*@__PURE__*/ createMinimalMotionComponent("keygen"), si = /*@__PURE__*/ createMinimalMotionComponent("label"), ci = /*@__PURE__*/ createMinimalMotionComponent("legend"), li = /*@__PURE__*/ createMinimalMotionComponent("li"), ui = /*@__PURE__*/ createMinimalMotionComponent("link"), di = /*@__PURE__*/ createMinimalMotionComponent("main"), fi = /*@__PURE__*/ createMinimalMotionComponent("map"), pi = /*@__PURE__*/ createMinimalMotionComponent("mark"), mi = /*@__PURE__*/ createMinimalMotionComponent("menu"), hi = /*@__PURE__*/ createMinimalMotionComponent("menuitem"), gi = /*@__PURE__*/ createMinimalMotionComponent("meter"), _i = /*@__PURE__*/ createMinimalMotionComponent("nav"), vi = /*@__PURE__*/ createMinimalMotionComponent("object"), yi = /*@__PURE__*/ createMinimalMotionComponent("ol"), bi = /*@__PURE__*/ createMinimalMotionComponent("optgroup"), xi = /*@__PURE__*/ createMinimalMotionComponent("option"), Si = /*@__PURE__*/ createMinimalMotionComponent("output"), Ci = /*@__PURE__*/ createMinimalMotionComponent("p"), wi = /*@__PURE__*/ createMinimalMotionComponent("param"), Ti = /*@__PURE__*/ createMinimalMotionComponent("picture"), Ei = /*@__PURE__*/ createMinimalMotionComponent("pre"), Di = /*@__PURE__*/ createMinimalMotionComponent("progress"), Oi = /*@__PURE__*/ createMinimalMotionComponent("q"), ki = /*@__PURE__*/ createMinimalMotionComponent("rp"), Ai = /*@__PURE__*/ createMinimalMotionComponent("rt"), ji = /*@__PURE__*/ createMinimalMotionComponent("ruby"), Mi = /*@__PURE__*/ createMinimalMotionComponent("s"), Ni = /*@__PURE__*/ createMinimalMotionComponent("samp"), Pi = /*@__PURE__*/ createMinimalMotionComponent("script"), Fi = /*@__PURE__*/ createMinimalMotionComponent("section"), Ii = /*@__PURE__*/ createMinimalMotionComponent("select"), Li = /*@__PURE__*/ createMinimalMotionComponent("small"), Ri = /*@__PURE__*/ createMinimalMotionComponent("source"), zi = /*@__PURE__*/ createMinimalMotionComponent("span"), Bi = /*@__PURE__*/ createMinimalMotionComponent("strong"), Vi = /*@__PURE__*/ createMinimalMotionComponent("style"), Hi = /*@__PURE__*/ createMinimalMotionComponent("sub"), Ui = /*@__PURE__*/ createMinimalMotionComponent("summary"), Wi = /*@__PURE__*/ createMinimalMotionComponent("sup"), Gi = /*@__PURE__*/ createMinimalMotionComponent("table"), Ki = /*@__PURE__*/ createMinimalMotionComponent("tbody"), qi = /*@__PURE__*/ createMinimalMotionComponent("td"), Ji = /*@__PURE__*/ createMinimalMotionComponent("textarea"), Yi = /*@__PURE__*/ createMinimalMotionComponent("tfoot"), Xi = /*@__PURE__*/ createMinimalMotionComponent("th"), Zi = /*@__PURE__*/ createMinimalMotionComponent("thead"), Qi = /*@__PURE__*/ createMinimalMotionComponent("time"), $i = /*@__PURE__*/ createMinimalMotionComponent("title"), ea = /*@__PURE__*/ createMinimalMotionComponent("tr"), ta = /*@__PURE__*/ createMinimalMotionComponent("track"), na = /*@__PURE__*/ createMinimalMotionComponent("u"), ra = /*@__PURE__*/ createMinimalMotionComponent("ul"), ia = /*@__PURE__*/ createMinimalMotionComponent("video"), aa = /*@__PURE__*/ createMinimalMotionComponent("wbr"), oa = /*@__PURE__*/ createMinimalMotionComponent("webview"), sa = /*@__PURE__*/ createMinimalMotionComponent("animate"), ca = /*@__PURE__*/ createMinimalMotionComponent("circle"), la = /*@__PURE__*/ createMinimalMotionComponent("defs"), ua = /*@__PURE__*/ createMinimalMotionComponent("desc"), da = /*@__PURE__*/ createMinimalMotionComponent("ellipse"), fa = /*@__PURE__*/ createMinimalMotionComponent("g"), pa = /*@__PURE__*/ createMinimalMotionComponent("image"), ma = /*@__PURE__*/ createMinimalMotionComponent("line"), ha = /*@__PURE__*/ createMinimalMotionComponent("filter"), ga = /*@__PURE__*/ createMinimalMotionComponent("marker"), _a = /*@__PURE__*/ createMinimalMotionComponent("mask"), va = /*@__PURE__*/ createMinimalMotionComponent("metadata"), ya = /*@__PURE__*/ createMinimalMotionComponent("path"), ba = /*@__PURE__*/ createMinimalMotionComponent("pattern"), xa = /*@__PURE__*/ createMinimalMotionComponent("polygon"), Sa = /*@__PURE__*/ createMinimalMotionComponent("polyline"), Ca = /*@__PURE__*/ createMinimalMotionComponent("rect"), wa = /*@__PURE__*/ createMinimalMotionComponent("stop"), Ta = /*@__PURE__*/ createMinimalMotionComponent("svg"), Ea = /*@__PURE__*/ createMinimalMotionComponent("symbol"), Da = /*@__PURE__*/ createMinimalMotionComponent("text"), Oa = /*@__PURE__*/ createMinimalMotionComponent("tspan"), ka = /*@__PURE__*/ createMinimalMotionComponent("use"), Aa = /*@__PURE__*/ createMinimalMotionComponent("view"), ja = /*@__PURE__*/ createMinimalMotionComponent("clipPath"), Ma = /*@__PURE__*/ createMinimalMotionComponent("feBlend"), Na = /*@__PURE__*/ createMinimalMotionComponent("feColorMatrix"), Pa = /*@__PURE__*/ createMinimalMotionComponent("feComponentTransfer"), Fa = /*@__PURE__*/ createMinimalMotionComponent("feComposite"), Ia = /*@__PURE__*/ createMinimalMotionComponent("feConvolveMatrix"), La = /*@__PURE__*/ createMinimalMotionComponent("feDiffuseLighting"), Ra = /*@__PURE__*/ createMinimalMotionComponent("feDisplacementMap"), za = /*@__PURE__*/ createMinimalMotionComponent("feDistantLight"), Ba = /*@__PURE__*/ createMinimalMotionComponent("feDropShadow"), Va = /*@__PURE__*/ createMinimalMotionComponent("feFlood"), Ha = /*@__PURE__*/ createMinimalMotionComponent("feFuncA"), Ua = /*@__PURE__*/ createMinimalMotionComponent("feFuncB"), Wa = /*@__PURE__*/ createMinimalMotionComponent("feFuncG"), Ga = /*@__PURE__*/ createMinimalMotionComponent("feFuncR"), Ka = /*@__PURE__*/ createMinimalMotionComponent("feGaussianBlur"), qa = /*@__PURE__*/ createMinimalMotionComponent("feImage"), Ja = /*@__PURE__*/ createMinimalMotionComponent("feMerge"), Ya = /*@__PURE__*/ createMinimalMotionComponent("feMergeNode"), Xa = /*@__PURE__*/ createMinimalMotionComponent("feMorphology"), Za = /*@__PURE__*/ createMinimalMotionComponent("feOffset"), Qa = /*@__PURE__*/ createMinimalMotionComponent("fePointLight"), $a = /*@__PURE__*/ createMinimalMotionComponent("feSpecularLighting"), eo = /*@__PURE__*/ createMinimalMotionComponent("feSpotLight"), to = /*@__PURE__*/ createMinimalMotionComponent("feTile"), no = /*@__PURE__*/ createMinimalMotionComponent("feTurbulence"), ro = /*@__PURE__*/ createMinimalMotionComponent("foreignObject"), io = /*@__PURE__*/ createMinimalMotionComponent("linearGradient"), ao = /*@__PURE__*/ createMinimalMotionComponent("radialGradient"), oo = /*@__PURE__*/ createMinimalMotionComponent("textPath"), so = /* @__PURE__ */ r({
5738
+ a: () => ar,
5739
+ abbr: () => or,
5740
+ address: () => sr,
5741
+ animate: () => sa,
5742
+ area: () => cr,
5743
+ article: () => lr,
5744
+ aside: () => ur,
5745
+ audio: () => dr,
5746
+ b: () => fr,
5747
+ base: () => pr,
5748
+ bdi: () => mr,
5749
+ bdo: () => hr,
5750
+ big: () => gr,
5751
+ blockquote: () => _r,
5752
+ body: () => vr,
5753
+ button: () => yr,
5754
+ canvas: () => br,
5755
+ caption: () => xr,
5756
+ circle: () => ca,
5757
+ cite: () => Sr,
5758
+ clipPath: () => ja,
5759
+ code: () => Cr,
5760
+ col: () => wr,
5761
+ colgroup: () => Tr,
5729
5762
  create: () => createMinimalMotionComponent,
5730
- data: () => wr,
5731
- datalist: () => Tr,
5732
- dd: () => Er,
5733
- defs: () => sa,
5734
- del: () => Dr,
5735
- desc: () => ca,
5736
- details: () => Or,
5737
- dfn: () => kr,
5738
- dialog: () => Ar,
5739
- div: () => jr,
5740
- dl: () => Mr,
5741
- dt: () => Nr,
5742
- ellipse: () => la,
5743
- em: () => Pr,
5744
- embed: () => Fr,
5745
- feBlend: () => Aa,
5746
- feColorMatrix: () => ja,
5747
- feComponentTransfer: () => Ma,
5748
- feComposite: () => Na,
5749
- feConvolveMatrix: () => Pa,
5750
- feDiffuseLighting: () => Fa,
5751
- feDisplacementMap: () => Ia,
5752
- feDistantLight: () => La,
5753
- feDropShadow: () => Ra,
5754
- feFlood: () => za,
5755
- feFuncA: () => Ba,
5756
- feFuncB: () => Va,
5757
- feFuncG: () => Ha,
5758
- feFuncR: () => Ua,
5759
- feGaussianBlur: () => Wa,
5760
- feImage: () => Ga,
5761
- feMerge: () => Ka,
5762
- feMergeNode: () => qa,
5763
- feMorphology: () => Ja,
5764
- feOffset: () => Ya,
5765
- fePointLight: () => Xa,
5766
- feSpecularLighting: () => Za,
5767
- feSpotLight: () => Qa,
5768
- feTile: () => $a,
5769
- feTurbulence: () => eo,
5770
- fieldset: () => Ir,
5771
- figcaption: () => Lr,
5772
- figure: () => Rr,
5773
- filter: () => pa,
5774
- footer: () => zr,
5775
- foreignObject: () => to,
5776
- form: () => Br,
5777
- g: () => ua,
5778
- h1: () => Vr,
5779
- h2: () => Hr,
5780
- h3: () => Ur,
5781
- h4: () => Wr,
5782
- h5: () => Gr,
5783
- h6: () => Kr,
5784
- head: () => qr,
5785
- header: () => Jr,
5786
- hgroup: () => Yr,
5787
- hr: () => Xr,
5788
- html: () => Zr,
5789
- i: () => Qr,
5790
- iframe: () => $r,
5791
- image: () => da,
5792
- img: () => ei,
5793
- input: () => ti,
5794
- ins: () => ni,
5795
- kbd: () => ri,
5796
- keygen: () => ii,
5797
- label: () => ai,
5798
- legend: () => oi,
5799
- li: () => si,
5800
- line: () => fa,
5801
- linearGradient: () => no,
5802
- link: () => ci,
5803
- main: () => li,
5804
- map: () => ui,
5805
- mark: () => di,
5806
- marker: () => ma,
5807
- mask: () => ha,
5808
- menu: () => fi,
5809
- menuitem: () => pi,
5810
- metadata: () => ga,
5811
- meter: () => mi,
5812
- nav: () => hi,
5813
- object: () => gi,
5814
- ol: () => _i,
5815
- optgroup: () => vi,
5816
- option: () => yi,
5817
- output: () => bi,
5818
- p: () => xi,
5819
- param: () => Si,
5820
- path: () => _a,
5821
- pattern: () => va,
5822
- picture: () => Ci,
5823
- polygon: () => ya,
5824
- polyline: () => ba,
5825
- pre: () => wi,
5826
- progress: () => Ti,
5827
- q: () => Ei,
5828
- radialGradient: () => ro,
5829
- rect: () => xa,
5830
- rp: () => Di,
5831
- rt: () => Oi,
5832
- ruby: () => ki,
5833
- s: () => Ai,
5834
- samp: () => ji,
5835
- script: () => Mi,
5836
- section: () => Ni,
5837
- select: () => Pi,
5838
- small: () => Fi,
5839
- source: () => Ii,
5840
- span: () => Li,
5841
- stop: () => Sa,
5842
- strong: () => Ri,
5843
- style: () => zi,
5844
- sub: () => Bi,
5845
- summary: () => Vi,
5846
- sup: () => Hi,
5847
- svg: () => Ca,
5848
- symbol: () => wa,
5849
- table: () => Ui,
5850
- tbody: () => Wi,
5851
- td: () => Gi,
5852
- text: () => Ta,
5853
- textPath: () => io,
5854
- textarea: () => Ki,
5855
- tfoot: () => qi,
5856
- th: () => Ji,
5857
- thead: () => Yi,
5858
- time: () => Xi,
5859
- title: () => Zi,
5860
- tr: () => Qi,
5861
- track: () => $i,
5862
- tspan: () => Ea,
5863
- u: () => ea,
5864
- ul: () => ta,
5865
- use: () => Da,
5866
- video: () => na,
5867
- view: () => Oa,
5868
- wbr: () => ra,
5869
- webview: () => ia
5763
+ data: () => Er,
5764
+ datalist: () => Dr,
5765
+ dd: () => Or,
5766
+ defs: () => la,
5767
+ del: () => kr,
5768
+ desc: () => ua,
5769
+ details: () => Ar,
5770
+ dfn: () => jr,
5771
+ dialog: () => Mr,
5772
+ div: () => Nr,
5773
+ dl: () => Pr,
5774
+ dt: () => Fr,
5775
+ ellipse: () => da,
5776
+ em: () => Ir,
5777
+ embed: () => Lr,
5778
+ feBlend: () => Ma,
5779
+ feColorMatrix: () => Na,
5780
+ feComponentTransfer: () => Pa,
5781
+ feComposite: () => Fa,
5782
+ feConvolveMatrix: () => Ia,
5783
+ feDiffuseLighting: () => La,
5784
+ feDisplacementMap: () => Ra,
5785
+ feDistantLight: () => za,
5786
+ feDropShadow: () => Ba,
5787
+ feFlood: () => Va,
5788
+ feFuncA: () => Ha,
5789
+ feFuncB: () => Ua,
5790
+ feFuncG: () => Wa,
5791
+ feFuncR: () => Ga,
5792
+ feGaussianBlur: () => Ka,
5793
+ feImage: () => qa,
5794
+ feMerge: () => Ja,
5795
+ feMergeNode: () => Ya,
5796
+ feMorphology: () => Xa,
5797
+ feOffset: () => Za,
5798
+ fePointLight: () => Qa,
5799
+ feSpecularLighting: () => $a,
5800
+ feSpotLight: () => eo,
5801
+ feTile: () => to,
5802
+ feTurbulence: () => no,
5803
+ fieldset: () => Rr,
5804
+ figcaption: () => zr,
5805
+ figure: () => Br,
5806
+ filter: () => ha,
5807
+ footer: () => Vr,
5808
+ foreignObject: () => ro,
5809
+ form: () => Hr,
5810
+ g: () => fa,
5811
+ h1: () => Ur,
5812
+ h2: () => Wr,
5813
+ h3: () => Gr,
5814
+ h4: () => Kr,
5815
+ h5: () => qr,
5816
+ h6: () => Jr,
5817
+ head: () => Yr,
5818
+ header: () => Xr,
5819
+ hgroup: () => Zr,
5820
+ hr: () => Qr,
5821
+ html: () => $r,
5822
+ i: () => ei,
5823
+ iframe: () => ti,
5824
+ image: () => pa,
5825
+ img: () => ni,
5826
+ input: () => ri,
5827
+ ins: () => ii,
5828
+ kbd: () => ai,
5829
+ keygen: () => oi,
5830
+ label: () => si,
5831
+ legend: () => ci,
5832
+ li: () => li,
5833
+ line: () => ma,
5834
+ linearGradient: () => io,
5835
+ link: () => ui,
5836
+ main: () => di,
5837
+ map: () => fi,
5838
+ mark: () => pi,
5839
+ marker: () => ga,
5840
+ mask: () => _a,
5841
+ menu: () => mi,
5842
+ menuitem: () => hi,
5843
+ metadata: () => va,
5844
+ meter: () => gi,
5845
+ nav: () => _i,
5846
+ object: () => vi,
5847
+ ol: () => yi,
5848
+ optgroup: () => bi,
5849
+ option: () => xi,
5850
+ output: () => Si,
5851
+ p: () => Ci,
5852
+ param: () => wi,
5853
+ path: () => ya,
5854
+ pattern: () => ba,
5855
+ picture: () => Ti,
5856
+ polygon: () => xa,
5857
+ polyline: () => Sa,
5858
+ pre: () => Ei,
5859
+ progress: () => Di,
5860
+ q: () => Oi,
5861
+ radialGradient: () => ao,
5862
+ rect: () => Ca,
5863
+ rp: () => ki,
5864
+ rt: () => Ai,
5865
+ ruby: () => ji,
5866
+ s: () => Mi,
5867
+ samp: () => Ni,
5868
+ script: () => Pi,
5869
+ section: () => Fi,
5870
+ select: () => Ii,
5871
+ small: () => Li,
5872
+ source: () => Ri,
5873
+ span: () => zi,
5874
+ stop: () => wa,
5875
+ strong: () => Bi,
5876
+ style: () => Vi,
5877
+ sub: () => Hi,
5878
+ summary: () => Ui,
5879
+ sup: () => Wi,
5880
+ svg: () => Ta,
5881
+ symbol: () => Ea,
5882
+ table: () => Gi,
5883
+ tbody: () => Ki,
5884
+ td: () => qi,
5885
+ text: () => Da,
5886
+ textPath: () => oo,
5887
+ textarea: () => Ji,
5888
+ tfoot: () => Yi,
5889
+ th: () => Xi,
5890
+ thead: () => Zi,
5891
+ time: () => Qi,
5892
+ title: () => $i,
5893
+ tr: () => ea,
5894
+ track: () => ta,
5895
+ tspan: () => Oa,
5896
+ u: () => na,
5897
+ ul: () => ra,
5898
+ use: () => ka,
5899
+ video: () => ia,
5900
+ view: () => Aa,
5901
+ wbr: () => aa,
5902
+ webview: () => oa
5870
5903
  });
5871
5904
  //#endregion
5872
- export { stagger as _, nr as a, er as c, isValidMotionProp as d, LazyMotion as f, mapValue as g, useIsPresent as h, useDragControls as i, Vn as l, AnimatePresence as m, _r as n, useReducedMotionConfig as o, LayoutGroup as p, jr as r, useMotionValue as s, ao as t, MotionConfig as u, Et as v, motionValue as y };
5905
+ export { stagger as _, useDragControls as a, invariant as b, useMotionValue as c, isValidMotionProp as d, LazyMotion as f, mapValue as g, useIsPresent as h, ir as i, er as l, AnimatePresence as m, yr as n, rr as o, LayoutGroup as p, Nr as r, useReducedMotionConfig as s, so as t, MotionConfig as u, Ot as v, motionValue as y };