@versini/sassysaint 8.107.3 → 8.108.0

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 (91) hide show
  1. package/dist/chunks/{AboutChangelog.BmMVyf-Q.js → AboutChangelog.55tIwnGe.js} +2 -2
  2. package/dist/chunks/{AboutEntry.wD5hG0ON.js → AboutEntry.D1zAHjel.js} +7 -7
  3. package/dist/chunks/{App.FyINLNSp.js → App.Br7HE-y0.js} +1746 -1908
  4. package/dist/chunks/{Bubble.Ci-pu6NI.js → Bubble.Ic_8FEhH.js} +47 -74
  5. package/dist/chunks/{Table.Dzy9ts3i.js → ButtonIconDelete.DRBd_G40.js} +125 -104
  6. package/dist/chunks/{Chart.DYVf2gst.js → Chart.CwIVbBYb.js} +2 -2
  7. package/dist/chunks/{ChatBubbleAssistant.CD6bVvcQ.js → ChatBubbleAssistant.DHlLzqdc.js} +199 -208
  8. package/dist/chunks/{ChatBubbleUser.Cre3cX04.js → ChatBubbleUser.D7ksCr76.js} +27 -36
  9. package/dist/chunks/{ChatHistoryTable.D_kOkWN9.js → ChatHistoryTable.DhUDW7QO.js} +108 -121
  10. package/dist/chunks/{HistoryEntry.BFNME4Z8.js → HistoryEntry.BxnMfiXN.js} +6 -6
  11. package/dist/chunks/{LoginEntry.SW7wyEpU.js → LoginEntry.XF9rPWdB.js} +4 -4
  12. package/dist/chunks/{LogoEntry.BAKpdJEy.js → LogoEntry.CnTI8jpv.js} +304 -385
  13. package/dist/chunks/{MemoriesEntry.Ztyx_8Wm.js → MemoriesEntry.BjNXrPW2.js} +164 -169
  14. package/dist/chunks/{ProfileEntry.CjzAusYw.js → ProfileEntry.S6XO2uMT.js} +4 -4
  15. package/dist/chunks/{SettingsEntry.D4IKmfYP.js → SettingsEntry.C5jHUJzu.js} +5 -5
  16. package/dist/chunks/{UsageEntry.D7sTPflE.js → UsageEntry.CQTLPweE.js} +5 -5
  17. package/dist/chunks/_basePickBy.Dj6LWOd3.js +151 -0
  18. package/dist/chunks/_baseUniq.DfiF6jap.js +614 -0
  19. package/dist/chunks/arc.CLrqhM1J.js +83 -0
  20. package/dist/chunks/architecture-U656AL7Q.CuF-GD1P.js +36 -0
  21. package/dist/chunks/architectureDiagram-VXUJARFQ.BGPIWweD.js +4653 -0
  22. package/dist/chunks/blockDiagram-VD42YOAC.cLfUaXxm.js +2254 -0
  23. package/dist/chunks/browser.B8WuOmYx.js +260 -0
  24. package/dist/chunks/c4Diagram-YG6GDRKO.Cc4f8G62.js +1579 -0
  25. package/dist/chunks/channel.D7pUQPat.js +5 -0
  26. package/dist/chunks/chunk-4BX2VUAB.C5gP6CzO.js +8 -0
  27. package/dist/chunks/chunk-55IACEB6.CMTOMhuf.js +8 -0
  28. package/dist/chunks/chunk-B4BG7PRW.CQz5CpXp.js +1375 -0
  29. package/dist/chunks/chunk-DI55MBZ5.C4SOgQau.js +1370 -0
  30. package/dist/chunks/chunk-FMBD7UC4.5tYrPDWZ.js +19 -0
  31. package/dist/chunks/chunk-QN33PNHL.P3o9PZBW.js +19 -0
  32. package/dist/chunks/chunk-QZHKN3VN.COvsjomn.js +15 -0
  33. package/dist/chunks/chunk-TZMSLE5B.C5QPHQlj.js +64 -0
  34. package/dist/chunks/classDiagram-2ON5EDUG.DrIfmpHo.js +16 -0
  35. package/dist/chunks/classDiagram-v2-WZHVMYZB.DrIfmpHo.js +16 -0
  36. package/dist/chunks/clone.47X4nGV4.js +8 -0
  37. package/dist/chunks/cose-bilkent-S5V4N54A.B1umrZne.js +2600 -0
  38. package/dist/chunks/cytoscape.esm.DmRZGnqW.js +18700 -0
  39. package/dist/chunks/dagre-6UL2VRFP.Ce4VSTky.js +444 -0
  40. package/dist/chunks/defaultLocale.CPJLP5jg.js +171 -0
  41. package/dist/chunks/diagram-PSM6KHXK.B1yvSG9p.js +531 -0
  42. package/dist/chunks/diagram-QEK2KX5R.CYDnnLB3.js +217 -0
  43. package/dist/chunks/diagram-S2PKOQOG.BI6w7TZJ.js +142 -0
  44. package/dist/chunks/erDiagram-Q2GNP2WA.D7mTQJ6P.js +841 -0
  45. package/dist/chunks/flowDiagram-NV44I4VS.Col8_E_0.js +1620 -0
  46. package/dist/chunks/ganttDiagram-JELNMOA3.GAUSoSKL.js +2647 -0
  47. package/dist/chunks/gitGraph-F6HP7TQM.3I_jmRrt.js +27 -0
  48. package/dist/chunks/gitGraphDiagram-NY62KEGX.DZQ_LVDe.js +699 -0
  49. package/dist/chunks/graph.BmJVbvPo.js +247 -0
  50. package/dist/chunks/index.Bi0z4EE1.js +90 -0
  51. package/dist/chunks/{index.QiLu2wkI.js → index.C0El17wt.js} +2 -2
  52. package/dist/chunks/{index.DBovegdE.js → index.CUn5zNJg.js} +1 -1
  53. package/dist/chunks/index.CbEVdl_N.js +279 -0
  54. package/dist/chunks/{index.BT3Do9Po.js → index.CoZgV6rn.js} +34 -43
  55. package/dist/chunks/{index.16gcBvke.js → index.DCqTKdor.js} +60 -69
  56. package/dist/chunks/index.DctDXsYU.js +67 -0
  57. package/dist/chunks/{index.BfTDtoYy.js → index.Df-tNwfZ.js} +1 -1
  58. package/dist/chunks/{index.BI1_ccPN.js → index.DxGkXGdu.js} +3 -3
  59. package/dist/chunks/{index.uILjvEfo.js → index.z2e7pMwp.js} +1 -1
  60. package/dist/chunks/info-NVLQJR56.D9ao7_Su.js +27 -0
  61. package/dist/chunks/infoDiagram-WHAUD3N6.DmFB-CXk.js +24 -0
  62. package/dist/chunks/init.DAGnb5BH.js +16 -0
  63. package/dist/chunks/journeyDiagram-XKPGCS4Q.C9FISQxf.js +834 -0
  64. package/dist/chunks/kanban-definition-3W4ZIXB7.ChmJnTyd.js +719 -0
  65. package/dist/chunks/{index.DJlv39cv.js → katex.D0sQThIv.js} +1638 -1943
  66. package/dist/chunks/layout.DtZQLIyC.js +1332 -0
  67. package/dist/chunks/linear.CIDfImUo.js +625 -0
  68. package/dist/chunks/mermaid-parser.core.CO83pegl.js +12724 -0
  69. package/dist/chunks/mindmap-definition-VGOIOE7T.B3dfWebK.js +759 -0
  70. package/dist/chunks/ordinal.EWT-qnu7.js +61 -0
  71. package/dist/chunks/packet-BFZMPI3H.q9qJMgm9.js +27 -0
  72. package/dist/chunks/pie-7BOR55EZ.BTnKDmrp.js +32 -0
  73. package/dist/chunks/pieDiagram-ADFJNKIX.B23eDSnQ.js +161 -0
  74. package/dist/chunks/quadrantDiagram-AYHSOK5B.B3ZIlLhO.js +1022 -0
  75. package/dist/chunks/radar-NHE76QYJ.BeKykujs.js +27 -0
  76. package/dist/chunks/rehype-mermaid.DkS2NcIa.js +14283 -0
  77. package/dist/chunks/requirementDiagram-UZGBJVZJ.0vOl9IL2.js +850 -0
  78. package/dist/chunks/sankeyDiagram-TZEHDZUN.DxwTK65F.js +810 -0
  79. package/dist/chunks/sequenceDiagram-WL72ISMW.BmOg83Gx.js +2511 -0
  80. package/dist/chunks/stateDiagram-FKZM4ZOC.DBiU28Wu.js +263 -0
  81. package/dist/chunks/stateDiagram-v2-4FDKWEC3.B6t8_4cH.js +16 -0
  82. package/dist/chunks/timeline-definition-IT6M3QCI.DpWxwytE.js +795 -0
  83. package/dist/chunks/treemap-KMMF4GRG.KqgFrxbV.js +81 -0
  84. package/dist/chunks/{useMarkdown.BberHabr.js → useMarkdown.CxuK_DLo.js} +2078 -2072
  85. package/dist/chunks/xychartDiagram-PRI3JC2R.CBaIBQ89.js +1340 -0
  86. package/dist/components/SassySaint/SassySaint.js +1 -1
  87. package/dist/index.js +3 -3
  88. package/dist/style.css +1 -1
  89. package/package.json +5 -5
  90. package/dist/chunks/index.BjnVQ4X3.js +0 -99
  91. package/dist/chunks/index.uVDYkuxz.js +0 -297
@@ -1,19 +1,10 @@
1
1
  import { jsx as rs } from "react/jsx-runtime";
2
- import { n as as, useUserPreferences as os, formatTimestamp as vt } from "./index.QiLu2wkI.js";
3
- import { numberFormatter as ls, pluralize as us, AsyncBubble as cs } from "./App.FyINLNSp.js";
2
+ import { n as as, useUserPreferences as os, formatTimestamp as vt } from "./index.C0El17wt.js";
3
+ import { numberFormatter as ls, pluralize as us, AsyncBubble as cs } from "./App.Br7HE-y0.js";
4
4
  import Ht from "clsx";
5
5
  import fs, { useState as Ae, useEffect as Zt, useContext as Vt } from "react";
6
- import { useMarkdown as hs } from "./useMarkdown.BberHabr.js";
7
- import { ChatContext as ds, AppContext as ps } from "./LogoEntry.BAKpdJEy.js";
8
- try {
9
- window.__VERSINI_UI_BUBBLE__ || (window.__VERSINI_UI_BUBBLE__ = {
10
- version: "10.1.1",
11
- buildTime: "12/24/2025 09:20 AM EST",
12
- homepage: "https://www.npmjs.com/package/@versini/ui-bubble",
13
- license: "MIT"
14
- });
15
- } catch {
16
- }
6
+ import { useMarkdown as hs } from "./useMarkdown.CxuK_DLo.js";
7
+ import { ChatContext as ds, AppContext as ps } from "./LogoEntry.CnTI8jpv.js";
17
8
  const Me = {
18
9
  isEmpty: !0
19
10
  };
@@ -29,15 +20,15 @@ function Pe(e, t) {
29
20
  return t ? `${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}` : e;
30
21
  }
31
22
  let de = () => {
32
- }, I = () => {
23
+ }, k = () => {
33
24
  };
34
25
  process.env.NODE_ENV !== "production" && (de = (e, t, n) => {
35
26
  !e && typeof console < "u" && console.warn(Pe(t, n));
36
- }, I = (e, t, n) => {
27
+ }, k = (e, t, n) => {
37
28
  if (!e)
38
29
  throw new Error(Pe(t, n));
39
30
  });
40
- const k = {}, Qt = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);
31
+ const I = {}, Qt = (e) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);
41
32
  function gs(e) {
42
33
  return typeof e == "object" && e !== null;
43
34
  }
@@ -119,11 +110,11 @@ const mn = (e) => Array.isArray(e) && typeof e[0] == "number", wt = {
119
110
  anticipate: cn
120
111
  }, As = (e) => typeof e == "string", xt = (e) => {
121
112
  if (mn(e)) {
122
- I(e.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
113
+ k(e.length === 4, "Cubic bezier arrays must contain four numerical values.", "cubic-bezier-length");
123
114
  const [t, n, s, i] = e;
124
115
  return pe(t, n, s, i);
125
116
  } else if (As(e))
126
- return I(wt[e] !== void 0, `Invalid easing type '${e}'`, "invalid-easing-type"), wt[e];
117
+ return k(wt[e] !== void 0, `Invalid easing type '${e}'`, "invalid-easing-type"), wt[e];
127
118
  return e;
128
119
  }, be = [
129
120
  "setup",
@@ -189,8 +180,8 @@ function gn(e, t) {
189
180
  timestamp: 0,
190
181
  isProcessing: !1
191
182
  }, r = () => n = !0, a = be.reduce((S, v) => (S[v] = Ms(r), S), {}), { setup: o, read: l, resolveKeyframes: c, preUpdate: u, update: f, preRender: h, render: g, postRender: y } = a, b = () => {
192
- const S = k.useManualTiming ? i.timestamp : performance.now();
193
- n = !1, k.useManualTiming || (i.delta = s ? 1e3 / 60 : Math.max(Math.min(S - i.timestamp, Cs), 1)), i.timestamp = S, i.isProcessing = !0, o.process(i), l.process(i), c.process(i), u.process(i), f.process(i), h.process(i), g.process(i), y.process(i), i.isProcessing = !1, n && t && (s = !1, e(b));
183
+ const S = I.useManualTiming ? i.timestamp : performance.now();
184
+ n = !1, I.useManualTiming || (i.delta = s ? 1e3 / 60 : Math.max(Math.min(S - i.timestamp, Cs), 1)), i.timestamp = S, i.isProcessing = !0, o.process(i), l.process(i), c.process(i), u.process(i), f.process(i), h.process(i), g.process(i), y.process(i), i.isProcessing = !1, n && t && (s = !1, e(b));
194
185
  }, V = () => {
195
186
  n = !0, s = !0, i.isProcessing || e(b);
196
187
  };
@@ -208,7 +199,7 @@ function Fs() {
208
199
  ve = void 0;
209
200
  }
210
201
  const R = {
211
- now: () => (ve === void 0 && R.set(Ve.isProcessing || k.useManualTiming ? Ve.timestamp : performance.now()), ve),
202
+ now: () => (ve === void 0 && R.set(Ve.isProcessing || I.useManualTiming ? Ve.timestamp : performance.now()), ve),
212
203
  set: (e) => {
213
204
  ve = e, queueMicrotask(Fs);
214
205
  }
@@ -239,12 +230,12 @@ const Ps = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
239
230
  }, Os = (e) => Y(0, 255, e), Ce = {
240
231
  ...Z,
241
232
  transform: (e) => Math.round(Os(e))
242
- }, W = {
233
+ }, _ = {
243
234
  test: /* @__PURE__ */ nt("rgb", "red"),
244
235
  parse: /* @__PURE__ */ Tn("red", "green", "blue"),
245
236
  transform: ({ red: e, green: t, blue: n, alpha: s = 1 }) => "rgba(" + Ce.transform(e) + ", " + Ce.transform(t) + ", " + Ce.transform(n) + ", " + oe(le.transform(s)) + ")"
246
237
  };
247
- function Bs(e) {
238
+ function Ns(e) {
248
239
  let t = "", n = "", s = "", i = "";
249
240
  return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), s = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), s = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, s += s, i += i), {
250
241
  red: parseInt(t, 16),
@@ -253,15 +244,15 @@ function Bs(e) {
253
244
  alpha: i ? parseInt(i, 16) / 255 : 1
254
245
  };
255
246
  }
256
- const Be = {
247
+ const Ne = {
257
248
  test: /* @__PURE__ */ nt("#"),
258
- parse: Bs,
259
- transform: W.transform
249
+ parse: Ns,
250
+ transform: _.transform
260
251
  }, me = /* @__NO_SIDE_EFFECTS__ */ (e) => ({
261
252
  test: (t) => typeof t == "string" && t.endsWith(e) && t.split(" ").length === 1,
262
253
  parse: parseFloat,
263
254
  transform: (t) => `${t}${e}`
264
- }), $ = /* @__PURE__ */ me("deg"), q = /* @__PURE__ */ me("%"), d = /* @__PURE__ */ me("px"), Is = /* @__PURE__ */ me("vh"), Ns = /* @__PURE__ */ me("vw"), At = {
255
+ }), L = /* @__PURE__ */ me("deg"), q = /* @__PURE__ */ me("%"), d = /* @__PURE__ */ me("px"), ks = /* @__PURE__ */ me("vh"), Bs = /* @__PURE__ */ me("vw"), At = {
265
256
  ...q,
266
257
  parse: (e) => q.parse(e) / 100,
267
258
  transform: (e) => q.transform(e * 100)
@@ -270,18 +261,18 @@ const Be = {
270
261
  parse: /* @__PURE__ */ Tn("hue", "saturation", "lightness"),
271
262
  transform: ({ hue: e, saturation: t, lightness: n, alpha: s = 1 }) => "hsla(" + Math.round(e) + ", " + q.transform(oe(t)) + ", " + q.transform(oe(n)) + ", " + oe(le.transform(s)) + ")"
272
263
  }, F = {
273
- test: (e) => W.test(e) || Be.test(e) || z.test(e),
274
- parse: (e) => W.test(e) ? W.parse(e) : z.test(e) ? z.parse(e) : Be.parse(e),
275
- transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? W.transform(e) : z.transform(e),
264
+ test: (e) => _.test(e) || Ne.test(e) || z.test(e),
265
+ parse: (e) => _.test(e) ? _.parse(e) : z.test(e) ? z.parse(e) : Ne.parse(e),
266
+ transform: (e) => typeof e == "string" ? e : e.hasOwnProperty("red") ? _.transform(e) : z.transform(e),
276
267
  getAnimatableNone: (e) => {
277
268
  const t = F.parse(e);
278
269
  return t.alpha = 0, F.transform(t);
279
270
  }
280
- }, ks = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
271
+ }, Is = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
281
272
  function Ks(e) {
282
- return isNaN(e) && typeof e == "string" && (e.match(tt)?.length || 0) + (e.match(ks)?.length || 0) > 0;
273
+ return isNaN(e) && typeof e == "string" && (e.match(tt)?.length || 0) + (e.match(Is)?.length || 0) > 0;
283
274
  }
284
- const vn = "number", Vn = "color", _s = "var", $s = "var(", Mt = "${}", Ls = /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;
275
+ const vn = "number", Vn = "color", $s = "var", Ls = "var(", Mt = "${}", Ws = /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;
285
276
  function ue(e) {
286
277
  const t = e.toString(), n = [], s = {
287
278
  color: [],
@@ -289,7 +280,7 @@ function ue(e) {
289
280
  var: []
290
281
  }, i = [];
291
282
  let r = 0;
292
- const o = t.replace(Ls, (l) => (F.test(l) ? (s.color.push(r), i.push(Vn), n.push(F.parse(l))) : l.startsWith($s) ? (s.var.push(r), i.push(_s), n.push(l)) : (s.number.push(r), i.push(vn), n.push(parseFloat(l))), ++r, Mt)).split(Mt);
283
+ const o = t.replace(Ws, (l) => (F.test(l) ? (s.color.push(r), i.push(Vn), n.push(F.parse(l))) : l.startsWith(Ls) ? (s.var.push(r), i.push($s), n.push(l)) : (s.number.push(r), i.push(vn), n.push(parseFloat(l))), ++r, Mt)).split(Mt);
293
284
  return { values: n, split: o, indexes: s, types: i };
294
285
  }
295
286
  function Sn(e) {
@@ -307,21 +298,21 @@ function wn(e) {
307
298
  return r;
308
299
  };
309
300
  }
310
- const Ws = (e) => typeof e == "number" ? 0 : F.test(e) ? F.getAnimatableNone(e) : e;
311
- function Us(e) {
301
+ const _s = (e) => typeof e == "number" ? 0 : F.test(e) ? F.getAnimatableNone(e) : e;
302
+ function js(e) {
312
303
  const t = Sn(e);
313
- return wn(e)(t.map(Ws));
304
+ return wn(e)(t.map(_s));
314
305
  }
315
- const L = {
306
+ const W = {
316
307
  test: Ks,
317
308
  parse: Sn,
318
309
  createTransformer: wn,
319
- getAnimatableNone: Us
310
+ getAnimatableNone: js
320
311
  };
321
312
  function Fe(e, t, n) {
322
313
  return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
323
314
  }
324
- function js({ hue: e, saturation: t, lightness: n, alpha: s }) {
315
+ function Us({ hue: e, saturation: t, lightness: n, alpha: s }) {
325
316
  e /= 360, t /= 100, n /= 100;
326
317
  let i = 0, r = 0, a = 0;
327
318
  if (!t)
@@ -343,23 +334,23 @@ function Se(e, t) {
343
334
  const J = (e, t, n) => e + (t - e) * n, De = (e, t, n) => {
344
335
  const s = e * e, i = n * (t * t - s) + s;
345
336
  return i < 0 ? 0 : Math.sqrt(i);
346
- }, Gs = [Be, W, z], Ys = (e) => Gs.find((t) => t.test(e));
337
+ }, Gs = [Ne, _, z], Ys = (e) => Gs.find((t) => t.test(e));
347
338
  function Ct(e) {
348
339
  const t = Ys(e);
349
340
  if (de(!!t, `'${e}' is not an animatable color. Use the equivalent color code instead.`, "color-not-animatable"), !t)
350
341
  return !1;
351
342
  let n = t.parse(e);
352
- return t === z && (n = js(n)), n;
343
+ return t === z && (n = Us(n)), n;
353
344
  }
354
345
  const Ft = (e, t) => {
355
346
  const n = Ct(e), s = Ct(t);
356
347
  if (!n || !s)
357
348
  return Se(e, t);
358
349
  const i = { ...n };
359
- return (r) => (i.red = De(n.red, s.red, r), i.green = De(n.green, s.green, r), i.blue = De(n.blue, s.blue, r), i.alpha = J(n.alpha, s.alpha, r), W.transform(i));
360
- }, Ie = /* @__PURE__ */ new Set(["none", "hidden"]);
350
+ return (r) => (i.red = De(n.red, s.red, r), i.green = De(n.green, s.green, r), i.blue = De(n.blue, s.blue, r), i.alpha = J(n.alpha, s.alpha, r), _.transform(i));
351
+ }, ke = /* @__PURE__ */ new Set(["none", "hidden"]);
361
352
  function zs(e, t) {
362
- return Ie.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
353
+ return ke.has(e) ? (n) => n <= 0 ? e : t : (n) => n >= 1 ? t : e;
363
354
  }
364
355
  function Xs(e, t) {
365
356
  return (n) => J(e, t, n);
@@ -394,8 +385,8 @@ function Hs(e, t) {
394
385
  return n;
395
386
  }
396
387
  const Zs = (e, t) => {
397
- const n = L.createTransformer(t), s = ue(e), i = ue(t);
398
- return s.indexes.var.length === i.indexes.var.length && s.indexes.color.length === i.indexes.color.length && s.indexes.number.length >= i.indexes.number.length ? Ie.has(e) && !i.values.length || Ie.has(t) && !s.values.length ? zs(e, t) : He(xn(Hs(s, i), i.values), n) : (de(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), Se(e, t));
388
+ const n = W.createTransformer(t), s = ue(e), i = ue(t);
389
+ return s.indexes.var.length === i.indexes.var.length && s.indexes.color.length === i.indexes.color.length && s.indexes.number.length >= i.indexes.number.length ? ke.has(e) && !i.values.length || ke.has(t) && !s.values.length ? zs(e, t) : He(xn(Hs(s, i), i.values), n) : (de(!0, `Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`, "complex-values-different"), Se(e, t));
399
390
  };
400
391
  function An(e, t, n) {
401
392
  return typeof e == "number" && typeof t == "number" && typeof n == "number" ? J(e, t, n) : st(e)(e, t);
@@ -473,10 +464,10 @@ function ei({ duration: e = M.duration, bounce: t = M.bounce, velocity: n = M.ve
473
464
  de(e <= /* @__PURE__ */ O(M.maxDuration), "Spring duration must be 10 seconds or less", "spring-duration-limit");
474
465
  let a = 1 - t;
475
466
  a = Y(M.minDamping, M.maxDamping, a), e = Y(M.minDuration, M.maxDuration, /* @__PURE__ */ P(e)), a < 1 ? (i = (c) => {
476
- const u = c * a, f = u * e, h = u - n, g = Ne(c, a), y = Math.exp(-f);
467
+ const u = c * a, f = u * e, h = u - n, g = Be(c, a), y = Math.exp(-f);
477
468
  return Ee - h / g * y;
478
469
  }, r = (c) => {
479
- const f = c * a * e, h = f * n + n, g = Math.pow(a, 2) * Math.pow(c, 2) * e, y = Math.exp(-f), b = Ne(Math.pow(c, 2), a);
470
+ const f = c * a * e, h = f * n + n, g = Math.pow(a, 2) * Math.pow(c, 2) * e, y = Math.exp(-f), b = Be(Math.pow(c, 2), a);
480
471
  return (-i(c) + Ee > 0 ? -1 : 1) * ((h - g) * y) / b;
481
472
  }) : (i = (c) => {
482
473
  const u = Math.exp(-c * e), f = (c - n) * e + 1;
@@ -508,7 +499,7 @@ function ni(e, t, n) {
508
499
  s = s - e(s) / t(s);
509
500
  return s;
510
501
  }
511
- function Ne(e, t) {
502
+ function Be(e, t) {
512
503
  return e * Math.sqrt(1 - t * t);
513
504
  }
514
505
  const si = ["duration", "bounce"], ii = ["stiffness", "damping", "mass"];
@@ -557,7 +548,7 @@ function ce(e = M.visualDuration, t = M.bounce) {
557
548
  s || (s = A ? M.restSpeed.granular : M.restSpeed.default), i || (i = A ? M.restDelta.granular : M.restDelta.default);
558
549
  let S;
559
550
  if (b < 1) {
560
- const p = Ne(T, b);
551
+ const p = Be(T, b);
561
552
  S = (w) => {
562
553
  const C = Math.exp(-b * T * w);
563
554
  return a - C * ((y + b * T * V) / p * Math.sin(p * w) + V * Math.cos(p * w));
@@ -598,7 +589,7 @@ ce.applyToOptions = (e) => {
598
589
  const t = Cn(e, 100, ce);
599
590
  return e.ease = t.ease, e.duration = /* @__PURE__ */ O(t.duration), e.type = "keyframes", e;
600
591
  };
601
- function ke({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: s = 325, bounceDamping: i = 10, bounceStiffness: r = 500, modifyTarget: a, min: o, max: l, restDelta: c = 0.5, restSpeed: u }) {
592
+ function Ie({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: s = 325, bounceDamping: i = 10, bounceStiffness: r = 500, modifyTarget: a, min: o, max: l, restDelta: c = 0.5, restSpeed: u }) {
602
593
  const f = e[0], h = {
603
594
  done: !1,
604
595
  value: f
@@ -631,7 +622,7 @@ function ke({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: s = 3
631
622
  };
632
623
  }
633
624
  function ai(e, t, n) {
634
- const s = [], i = n || k.mix || An, r = e.length - 1;
625
+ const s = [], i = n || I.mix || An, r = e.length - 1;
635
626
  for (let a = 0; a < r; a++) {
636
627
  let o = i(e[a], e[a + 1]);
637
628
  if (t) {
@@ -644,7 +635,7 @@ function ai(e, t, n) {
644
635
  }
645
636
  function oi(e, t, { clamp: n = !0, ease: s, mixer: i } = {}) {
646
637
  const r = e.length;
647
- if (I(r === t.length, "Both input and output ranges must be the same length", "range-length"), r === 1)
638
+ if (k(r === t.length, "Both input and output ranges must be the same length", "range-length"), r === 1)
648
639
  return () => t[0];
649
640
  if (r === 2 && t[0] === t[1])
650
641
  return () => t[1];
@@ -702,8 +693,8 @@ function rt(e, { repeat: t, repeatType: n = "loop" }, s, i = 1) {
702
693
  return !o || s === void 0 ? r[o] : s;
703
694
  }
704
695
  const fi = {
705
- decay: ke,
706
- inertia: ke,
696
+ decay: Ie,
697
+ inertia: Ie,
707
698
  tween: X,
708
699
  keyframes: X,
709
700
  spring: ce
@@ -749,7 +740,7 @@ class ot extends at {
749
740
  const { type: n = X, repeat: s = 0, repeatDelay: i = 0, repeatType: r, velocity: a = 0 } = t;
750
741
  let { keyframes: o } = t;
751
742
  const l = n || X;
752
- process.env.NODE_ENV !== "production" && l !== X && I(o.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${o}`, "spring-two-frames"), l !== X && typeof o[0] != "number" && (this.mixKeyframes = He(hi, An(o[0], o[1])), o = [0, 100]);
743
+ process.env.NODE_ENV !== "production" && l !== X && k(o.length <= 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${o}`, "spring-two-frames"), l !== X && typeof o[0] != "number" && (this.mixKeyframes = He(hi, An(o[0], o[1])), o = [0, 100]);
753
744
  const c = l({ ...t, keyframes: o });
754
745
  r === "mirror" && (this.mirroredGenerator = l({
755
746
  ...t,
@@ -782,7 +773,7 @@ class ot extends at {
782
773
  let { done: w } = p;
783
774
  !A && l !== null && (w = this.playbackSpeed >= 0 ? this.currentTime >= i : this.currentTime <= 0);
784
775
  const C = this.holdTime === null && (this.state === "finished" || this.state === "running" && w);
785
- return C && y !== ke && (p.value = rt(u, this.options, V, this.speed)), b && b(p.value), C && this.finish(), p;
776
+ return C && y !== Ie && (p.value = rt(u, this.options, V, this.speed)), b && b(p.value), C && this.finish(), p;
786
777
  }
787
778
  /**
788
779
  * Allows the returned animation to be awaited or promise-chained. Currently
@@ -850,9 +841,9 @@ function di(e) {
850
841
  for (let t = 1; t < e.length; t++)
851
842
  e[t] ?? (e[t] = e[t - 1]);
852
843
  }
853
- const U = (e) => e * 180 / Math.PI, Ke = (e) => {
854
- const t = U(Math.atan2(e[1], e[0]));
855
- return _e(t);
844
+ const j = (e) => e * 180 / Math.PI, Ke = (e) => {
845
+ const t = j(Math.atan2(e[1], e[0]));
846
+ return $e(t);
856
847
  }, pi = {
857
848
  x: 4,
858
849
  y: 5,
@@ -863,10 +854,10 @@ const U = (e) => e * 180 / Math.PI, Ke = (e) => {
863
854
  scale: (e) => (Math.abs(e[0]) + Math.abs(e[3])) / 2,
864
855
  rotate: Ke,
865
856
  rotateZ: Ke,
866
- skewX: (e) => U(Math.atan(e[1])),
867
- skewY: (e) => U(Math.atan(e[2])),
857
+ skewX: (e) => j(Math.atan(e[1])),
858
+ skewY: (e) => j(Math.atan(e[2])),
868
859
  skew: (e) => (Math.abs(e[1]) + Math.abs(e[2])) / 2
869
- }, _e = (e) => (e = e % 360, e < 0 && (e += 360), e), Et = Ke, Rt = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Pt = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), mi = {
860
+ }, $e = (e) => (e = e % 360, e < 0 && (e += 360), e), Et = Ke, Rt = (e) => Math.sqrt(e[0] * e[0] + e[1] * e[1]), Pt = (e) => Math.sqrt(e[4] * e[4] + e[5] * e[5]), mi = {
870
861
  x: 12,
871
862
  y: 13,
872
863
  z: 14,
@@ -876,20 +867,20 @@ const U = (e) => e * 180 / Math.PI, Ke = (e) => {
876
867
  scaleX: Rt,
877
868
  scaleY: Pt,
878
869
  scale: (e) => (Rt(e) + Pt(e)) / 2,
879
- rotateX: (e) => _e(U(Math.atan2(e[6], e[5]))),
880
- rotateY: (e) => _e(U(Math.atan2(-e[2], e[0]))),
870
+ rotateX: (e) => $e(j(Math.atan2(e[6], e[5]))),
871
+ rotateY: (e) => $e(j(Math.atan2(-e[2], e[0]))),
881
872
  rotateZ: Et,
882
873
  rotate: Et,
883
- skewX: (e) => U(Math.atan(e[4])),
884
- skewY: (e) => U(Math.atan(e[1])),
874
+ skewX: (e) => j(Math.atan(e[4])),
875
+ skewY: (e) => j(Math.atan(e[1])),
885
876
  skew: (e) => (Math.abs(e[1]) + Math.abs(e[4])) / 2
886
877
  };
887
- function $e(e) {
878
+ function Le(e) {
888
879
  return e.includes("scale") ? 1 : 0;
889
880
  }
890
- function Le(e, t) {
881
+ function We(e, t) {
891
882
  if (!e || e === "none")
892
- return $e(t);
883
+ return Le(t);
893
884
  const n = e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);
894
885
  let s, i;
895
886
  if (n)
@@ -899,13 +890,13 @@ function Le(e, t) {
899
890
  s = pi, i = o;
900
891
  }
901
892
  if (!i)
902
- return $e(t);
893
+ return Le(t);
903
894
  const r = s[t], a = i[1].split(",").map(yi);
904
895
  return typeof r == "function" ? r(a) : a[r];
905
896
  }
906
897
  const gi = (e, t) => {
907
898
  const { transform: n = "none" } = getComputedStyle(e);
908
- return Le(n, t);
899
+ return We(n, t);
909
900
  };
910
901
  function yi(e) {
911
902
  return parseFloat(e.trim());
@@ -936,7 +927,7 @@ function vi(e) {
936
927
  s !== void 0 && (t.push([n, s.get()]), s.set(n.startsWith("scale") ? 1 : 0));
937
928
  }), t;
938
929
  }
939
- const j = {
930
+ const U = {
940
931
  // Dimensions
941
932
  width: ({ x: e }, { paddingLeft: t = "0", paddingRight: n = "0" }) => e.max - e.min - parseFloat(t) - parseFloat(n),
942
933
  height: ({ y: e }, { paddingTop: t = "0", paddingBottom: n = "0" }) => e.max - e.min - parseFloat(t) - parseFloat(n),
@@ -945,15 +936,15 @@ const j = {
945
936
  bottom: ({ y: e }, { top: t }) => parseFloat(t) + (e.max - e.min),
946
937
  right: ({ x: e }, { left: t }) => parseFloat(t) + (e.max - e.min),
947
938
  // Transform
948
- x: (e, { transform: t }) => Le(t, "x"),
949
- y: (e, { transform: t }) => Le(t, "y")
939
+ x: (e, { transform: t }) => We(t, "x"),
940
+ y: (e, { transform: t }) => We(t, "y")
950
941
  };
951
- j.translateX = j.x;
952
- j.translateY = j.y;
942
+ U.translateX = U.x;
943
+ U.translateY = U.y;
953
944
  const G = /* @__PURE__ */ new Set();
954
- let We = !1, Ue = !1, je = !1;
945
+ let _e = !1, je = !1, Ue = !1;
955
946
  function Pn() {
956
- if (Ue) {
947
+ if (je) {
957
948
  const e = Array.from(G).filter((s) => s.needsMeasurement), t = new Set(e.map((s) => s.element)), n = /* @__PURE__ */ new Map();
958
949
  t.forEach((s) => {
959
950
  const i = vi(s);
@@ -968,22 +959,22 @@ function Pn() {
968
959
  s.suspendedScrollY !== void 0 && window.scrollTo(0, s.suspendedScrollY);
969
960
  });
970
961
  }
971
- Ue = !1, We = !1, G.forEach((e) => e.complete(je)), G.clear();
962
+ je = !1, _e = !1, G.forEach((e) => e.complete(Ue)), G.clear();
972
963
  }
973
964
  function On() {
974
965
  G.forEach((e) => {
975
- e.readKeyframes(), e.needsMeasurement && (Ue = !0);
966
+ e.readKeyframes(), e.needsMeasurement && (je = !0);
976
967
  });
977
968
  }
978
969
  function Vi() {
979
- je = !0, On(), Pn(), je = !1;
970
+ Ue = !0, On(), Pn(), Ue = !1;
980
971
  }
981
972
  class lt {
982
973
  constructor(t, n, s, i, r, a = !1) {
983
974
  this.state = "pending", this.isAsync = !1, this.needsMeasurement = !1, this.unresolvedKeyframes = [...t], this.onComplete = n, this.name = s, this.motionValue = i, this.element = r, this.isAsync = a;
984
975
  }
985
976
  scheduleResolve() {
986
- this.state = "scheduled", this.isAsync ? (G.add(this), We || (We = !0, K.read(On), K.resolveKeyframes(Pn))) : (this.readKeyframes(), this.complete());
977
+ this.state = "scheduled", this.isAsync ? (G.add(this), _e || (_e = !0, K.read(On), K.resolveKeyframes(Pn))) : (this.readKeyframes(), this.complete());
987
978
  }
988
979
  readKeyframes() {
989
980
  const { unresolvedKeyframes: t, name: n, element: s, motionValue: i } = this;
@@ -1026,14 +1017,14 @@ function Mi(e, t) {
1026
1017
  const n = /* @__PURE__ */ qe(e);
1027
1018
  return () => Ai[t] ?? n();
1028
1019
  }
1029
- const Bn = /* @__PURE__ */ Mi(() => {
1020
+ const Nn = /* @__PURE__ */ Mi(() => {
1030
1021
  try {
1031
1022
  document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
1032
1023
  } catch {
1033
1024
  return !1;
1034
1025
  }
1035
1026
  return !0;
1036
- }, "linearEasing"), ae = ([e, t, n, s]) => `cubic-bezier(${e}, ${t}, ${n}, ${s})`, Bt = {
1027
+ }, "linearEasing"), ae = ([e, t, n, s]) => `cubic-bezier(${e}, ${t}, ${n}, ${s})`, Nt = {
1037
1028
  linear: "linear",
1038
1029
  ease: "ease",
1039
1030
  easeIn: "ease-in",
@@ -1044,16 +1035,16 @@ const Bn = /* @__PURE__ */ Mi(() => {
1044
1035
  backIn: /* @__PURE__ */ ae([0.31, 0.01, 0.66, -0.59]),
1045
1036
  backOut: /* @__PURE__ */ ae([0.33, 1.53, 0.69, 0.99])
1046
1037
  };
1047
- function In(e, t) {
1038
+ function kn(e, t) {
1048
1039
  if (e)
1049
- return typeof e == "function" ? Bn() ? Mn(e, t) : "ease-out" : mn(e) ? ae(e) : Array.isArray(e) ? e.map((n) => In(n, t) || Bt.easeOut) : Bt[e];
1040
+ return typeof e == "function" ? Nn() ? Mn(e, t) : "ease-out" : mn(e) ? ae(e) : Array.isArray(e) ? e.map((n) => kn(n, t) || Nt.easeOut) : Nt[e];
1050
1041
  }
1051
1042
  function Ci(e, t, n, { delay: s = 0, duration: i = 300, repeat: r = 0, repeatType: a = "loop", ease: o = "easeOut", times: l } = {}, c = void 0) {
1052
1043
  const u = {
1053
1044
  [t]: n
1054
1045
  };
1055
1046
  l && (u.offset = l);
1056
- const f = In(o, i);
1047
+ const f = kn(o, i);
1057
1048
  Array.isArray(f) && (u.easing = f);
1058
1049
  const h = {
1059
1050
  delay: s,
@@ -1069,14 +1060,14 @@ function ut(e) {
1069
1060
  return typeof e == "function" && "applyToOptions" in e;
1070
1061
  }
1071
1062
  function Fi({ type: e, ...t }) {
1072
- return ut(e) && Bn() ? e.applyToOptions(t) : (t.duration ?? (t.duration = 300), t.ease ?? (t.ease = "easeOut"), t);
1063
+ return ut(e) && Nn() ? e.applyToOptions(t) : (t.duration ?? (t.duration = 300), t.ease ?? (t.ease = "easeOut"), t);
1073
1064
  }
1074
1065
  class Di extends at {
1075
1066
  constructor(t) {
1076
1067
  if (super(), this.finishedTime = null, this.isStopped = !1, !t)
1077
1068
  return;
1078
1069
  const { element: n, name: s, keyframes: i, pseudoElement: r, allowFlatten: a = !1, finalKeyframe: o, onComplete: l } = t;
1079
- this.isPseudoElement = !!r, this.allowFlatten = a, this.options = t, I(typeof t.type != "string", `Mini animate() doesn't support "type" as a string.`, "mini-spring");
1070
+ this.isPseudoElement = !!r, this.allowFlatten = a, this.options = t, k(typeof t.type != "string", `Mini animate() doesn't support "type" as a string.`, "mini-spring");
1080
1071
  const c = Fi(t);
1081
1072
  this.animation = Ci(n, s, i, c, r), c.autoplay === !1 && this.animation.pause(), this.animation.onfinish = () => {
1082
1073
  if (this.finishedTime = this.time, !r) {
@@ -1163,18 +1154,18 @@ class Di extends at {
1163
1154
  return this.allowFlatten && this.animation.effect?.updateTiming({ easing: "linear" }), this.animation.onfinish = null, t && xi() ? (this.animation.timeline = t, H) : n(this);
1164
1155
  }
1165
1156
  }
1166
- const Nn = {
1157
+ const Bn = {
1167
1158
  anticipate: cn,
1168
1159
  backInOut: un,
1169
1160
  circInOut: fn
1170
1161
  };
1171
1162
  function Ei(e) {
1172
- return e in Nn;
1163
+ return e in Bn;
1173
1164
  }
1174
1165
  function Ri(e) {
1175
- typeof e.ease == "string" && Ei(e.ease) && (e.ease = Nn[e.ease]);
1166
+ typeof e.ease == "string" && Ei(e.ease) && (e.ease = Bn[e.ease]);
1176
1167
  }
1177
- const It = 10;
1168
+ const kt = 10;
1178
1169
  class Pi extends Di {
1179
1170
  constructor(t) {
1180
1171
  Ri(t), Rn(t), super(t), t.startTime && (this.startTime = t.startTime), this.options = t;
@@ -1199,11 +1190,11 @@ class Pi extends Di {
1199
1190
  ...a,
1200
1191
  autoplay: !1
1201
1192
  }), l = /* @__PURE__ */ O(this.finishedTime ?? this.time);
1202
- n.setWithVelocity(o.sample(l - It).value, o.sample(l).value, It), o.stop();
1193
+ n.setWithVelocity(o.sample(l - kt).value, o.sample(l).value, kt), o.stop();
1203
1194
  }
1204
1195
  }
1205
- const Nt = (e, t) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && // It's animatable if we have a string
1206
- (L.test(e) || e === "0") && // And it contains numbers and/or colors
1196
+ const Bt = (e, t) => t === "zIndex" ? !1 : !!(typeof e == "number" || Array.isArray(e) || typeof e == "string" && // It's animatable if we have a string
1197
+ (W.test(e) || e === "0") && // And it contains numbers and/or colors
1207
1198
  !e.startsWith("url("));
1208
1199
  function Oi(e) {
1209
1200
  const t = e[0];
@@ -1213,39 +1204,39 @@ function Oi(e) {
1213
1204
  if (e[n] !== t)
1214
1205
  return !0;
1215
1206
  }
1216
- function Bi(e, t, n, s) {
1207
+ function Ni(e, t, n, s) {
1217
1208
  const i = e[0];
1218
1209
  if (i === null)
1219
1210
  return !1;
1220
1211
  if (t === "display" || t === "visibility")
1221
1212
  return !0;
1222
- const r = e[e.length - 1], a = Nt(i, t), o = Nt(r, t);
1213
+ const r = e[e.length - 1], a = Bt(i, t), o = Bt(r, t);
1223
1214
  return de(a === o, `You are trying to animate ${t} from "${i}" to "${r}". "${a ? r : i}" is not an animatable value.`, "value-not-animatable"), !a || !o ? !1 : Oi(e) || (n === "spring" || ut(n)) && s;
1224
1215
  }
1225
1216
  function Ge(e) {
1226
1217
  e.duration = 0, e.type = "keyframes";
1227
1218
  }
1228
- const Ii = /* @__PURE__ */ new Set([
1219
+ const ki = /* @__PURE__ */ new Set([
1229
1220
  "opacity",
1230
1221
  "clipPath",
1231
1222
  "filter",
1232
1223
  "transform"
1233
1224
  // TODO: Could be re-enabled now we have support for linear() easing
1234
1225
  // "background-color"
1235
- ]), Ni = /* @__PURE__ */ qe(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
1236
- function ki(e) {
1226
+ ]), Bi = /* @__PURE__ */ qe(() => Object.hasOwnProperty.call(Element.prototype, "animate"));
1227
+ function Ii(e) {
1237
1228
  const { motionValue: t, name: n, repeatDelay: s, repeatType: i, damping: r, type: a } = e;
1238
1229
  if (!(t?.owner?.current instanceof HTMLElement))
1239
1230
  return !1;
1240
1231
  const { onUpdate: l, transformTemplate: c } = t.owner.getProps();
1241
- return Ni() && n && Ii.has(n) && (n !== "transform" || !c) && /**
1232
+ return Bi() && n && ki.has(n) && (n !== "transform" || !c) && /**
1242
1233
  * If we're outputting values to onUpdate then we can't use WAAPI as there's
1243
1234
  * no way to read the value from WAAPI every frame.
1244
1235
  */
1245
1236
  !l && !s && i !== "mirror" && r !== 0 && a !== "inertia";
1246
1237
  }
1247
1238
  const Ki = 40;
1248
- class _i extends at {
1239
+ class $i extends at {
1249
1240
  constructor({ autoplay: t = !0, delay: n = 0, type: s = "keyframes", repeat: i = 0, repeatDelay: r = 0, repeatType: a = "loop", keyframes: o, name: l, motionValue: c, element: u, ...f }) {
1250
1241
  super(), this.stop = () => {
1251
1242
  this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
@@ -1267,13 +1258,13 @@ class _i extends at {
1267
1258
  onKeyframesResolved(t, n, s, i) {
1268
1259
  this.keyframeResolver = void 0;
1269
1260
  const { name: r, type: a, velocity: o, delay: l, isHandoff: c, onUpdate: u } = s;
1270
- this.resolvedAt = R.now(), Bi(t, r, a, o) || ((k.instantAnimations || !l) && u?.(rt(t, s, n)), t[0] = t[t.length - 1], Ge(s), s.repeat = 0);
1261
+ this.resolvedAt = R.now(), Ni(t, r, a, o) || ((I.instantAnimations || !l) && u?.(rt(t, s, n)), t[0] = t[t.length - 1], Ge(s), s.repeat = 0);
1271
1262
  const h = {
1272
1263
  startTime: i ? this.resolvedAt ? this.resolvedAt - this.createdAt > Ki ? this.resolvedAt : this.createdAt : this.createdAt : void 0,
1273
1264
  finalKeyframe: n,
1274
1265
  ...s,
1275
1266
  keyframes: t
1276
- }, g = !c && ki(h) ? new Pi({
1267
+ }, g = !c && Ii(h) ? new Pi({
1277
1268
  ...h,
1278
1269
  element: h.motionValue.owner.current
1279
1270
  }) : new ot(h);
@@ -1329,7 +1320,7 @@ class _i extends at {
1329
1320
  this._animation && this.animation.cancel(), this.keyframeResolver?.cancel();
1330
1321
  }
1331
1322
  }
1332
- class $i {
1323
+ class Li {
1333
1324
  constructor(t) {
1334
1325
  this.stop = () => this.runAll("stop"), this.animations = t.filter(Boolean);
1335
1326
  }
@@ -1373,10 +1364,10 @@ class $i {
1373
1364
  return this.getAll("startTime");
1374
1365
  }
1375
1366
  get duration() {
1376
- return kt(this.animations, "duration");
1367
+ return It(this.animations, "duration");
1377
1368
  }
1378
1369
  get iterationDuration() {
1379
- return kt(this.animations, "iterationDuration");
1370
+ return It(this.animations, "iterationDuration");
1380
1371
  }
1381
1372
  runAll(t) {
1382
1373
  this.animations.forEach((n) => n[t]());
@@ -1394,7 +1385,7 @@ class $i {
1394
1385
  this.runAll("complete");
1395
1386
  }
1396
1387
  }
1397
- function kt(e, t) {
1388
+ function It(e, t) {
1398
1389
  let n = 0;
1399
1390
  for (let s = 0; s < e.length; s++) {
1400
1391
  const i = e[s][t];
@@ -1402,27 +1393,27 @@ function kt(e, t) {
1402
1393
  }
1403
1394
  return n;
1404
1395
  }
1405
- class Li extends $i {
1396
+ class Wi extends Li {
1406
1397
  then(t, n) {
1407
1398
  return this.finished.finally(t).then(() => {
1408
1399
  });
1409
1400
  }
1410
1401
  }
1411
- const Wi = (
1402
+ const _i = (
1412
1403
  // eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words
1413
1404
  /^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u
1414
1405
  );
1415
- function Ui(e) {
1416
- const t = Wi.exec(e);
1406
+ function ji(e) {
1407
+ const t = _i.exec(e);
1417
1408
  if (!t)
1418
1409
  return [,];
1419
1410
  const [, n, s, i] = t;
1420
1411
  return [`--${n ?? s}`, i];
1421
1412
  }
1422
- const ji = 4;
1423
- function kn(e, t, n = 1) {
1424
- I(n <= ji, `Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`, "max-css-var-depth");
1425
- const [s, i] = Ui(e);
1413
+ const Ui = 4;
1414
+ function In(e, t, n = 1) {
1415
+ k(n <= Ui, `Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`, "max-css-var-depth");
1416
+ const [s, i] = ji(e);
1426
1417
  if (!s)
1427
1418
  return;
1428
1419
  const r = window.getComputedStyle(t).getPropertyValue(s);
@@ -1430,12 +1421,12 @@ function kn(e, t, n = 1) {
1430
1421
  const a = r.trim();
1431
1422
  return Qt(a) ? parseFloat(a) : a;
1432
1423
  }
1433
- return et(i) ? kn(i, t, n + 1) : i;
1424
+ return et(i) ? In(i, t, n + 1) : i;
1434
1425
  }
1435
1426
  function Kn(e, t) {
1436
1427
  return e?.[t] ?? e?.default ?? e;
1437
1428
  }
1438
- const _n = /* @__PURE__ */ new Set([
1429
+ const $n = /* @__PURE__ */ new Set([
1439
1430
  "width",
1440
1431
  "height",
1441
1432
  "top",
@@ -1446,7 +1437,7 @@ const _n = /* @__PURE__ */ new Set([
1446
1437
  ]), Gi = {
1447
1438
  test: (e) => e === "auto",
1448
1439
  parse: (e) => e
1449
- }, $n = (e) => (t) => t.test(e), Ln = [Z, d, q, $, Ns, Is, Gi], Kt = (e) => Ln.find($n(e));
1440
+ }, Ln = (e) => (t) => t.test(e), Wn = [Z, d, q, L, Bs, ks, Gi], Kt = (e) => Wn.find(Ln(e));
1450
1441
  function Yi(e) {
1451
1442
  return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || en(e) : !0;
1452
1443
  }
@@ -1463,26 +1454,26 @@ function Xi(e) {
1463
1454
  return s !== n && (r *= 100), t + "(" + r + i + ")";
1464
1455
  }
1465
1456
  const qi = /\b([a-z-]*)\(.*?\)/gu, Ye = {
1466
- ...L,
1457
+ ...W,
1467
1458
  getAnimatableNone: (e) => {
1468
1459
  const t = e.match(qi);
1469
1460
  return t ? t.map(Xi).join(" ") : e;
1470
1461
  }
1471
- }, _t = {
1462
+ }, $t = {
1472
1463
  ...Z,
1473
1464
  transform: Math.round
1474
1465
  }, Hi = {
1475
- rotate: $,
1476
- rotateX: $,
1477
- rotateY: $,
1478
- rotateZ: $,
1466
+ rotate: L,
1467
+ rotateX: L,
1468
+ rotateY: L,
1469
+ rotateZ: L,
1479
1470
  scale: Te,
1480
1471
  scaleX: Te,
1481
1472
  scaleY: Te,
1482
1473
  scaleZ: Te,
1483
- skew: $,
1484
- skewX: $,
1485
- skewY: $,
1474
+ skew: L,
1475
+ skewX: L,
1476
+ skewY: L,
1486
1477
  distance: d,
1487
1478
  translateX: d,
1488
1479
  translateY: d,
@@ -1533,11 +1524,11 @@ const qi = /\b([a-z-]*)\(.*?\)/gu, Ye = {
1533
1524
  backgroundPositionX: d,
1534
1525
  backgroundPositionY: d,
1535
1526
  ...Hi,
1536
- zIndex: _t,
1527
+ zIndex: $t,
1537
1528
  // SVG
1538
1529
  fillOpacity: le,
1539
1530
  strokeOpacity: le,
1540
- numOctaves: _t
1531
+ numOctaves: $t
1541
1532
  }, Zi = {
1542
1533
  ...ct,
1543
1534
  // Color props
@@ -1554,10 +1545,10 @@ const qi = /\b([a-z-]*)\(.*?\)/gu, Ye = {
1554
1545
  borderLeftColor: F,
1555
1546
  filter: Ye,
1556
1547
  WebkitFilter: Ye
1557
- }, Wn = (e) => Zi[e];
1558
- function Un(e, t) {
1559
- let n = Wn(e);
1560
- return n !== Ye && (n = L), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
1548
+ }, _n = (e) => Zi[e];
1549
+ function jn(e, t) {
1550
+ let n = _n(e);
1551
+ return n !== Ye && (n = W), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
1561
1552
  }
1562
1553
  const Ji = /* @__PURE__ */ new Set(["auto", "none", "0"]);
1563
1554
  function Qi(e, t, n) {
@@ -1568,7 +1559,7 @@ function Qi(e, t, n) {
1568
1559
  }
1569
1560
  if (i && n)
1570
1561
  for (const r of t)
1571
- e[r] = Un(n, i);
1562
+ e[r] = jn(n, i);
1572
1563
  }
1573
1564
  class er extends lt {
1574
1565
  constructor(t, n, s, i, r) {
@@ -1582,11 +1573,11 @@ class er extends lt {
1582
1573
  for (let l = 0; l < t.length; l++) {
1583
1574
  let c = t[l];
1584
1575
  if (typeof c == "string" && (c = c.trim(), et(c))) {
1585
- const u = kn(c, n.current);
1576
+ const u = In(c, n.current);
1586
1577
  u !== void 0 && (t[l] = u), l === t.length - 1 && (this.finalKeyframe = c);
1587
1578
  }
1588
1579
  }
1589
- if (this.resolveNoneKeyframes(), !_n.has(s) || t.length !== 2)
1580
+ if (this.resolveNoneKeyframes(), !$n.has(s) || t.length !== 2)
1590
1581
  return;
1591
1582
  const [i, r] = t, a = Kt(i), o = Kt(r);
1592
1583
  if (a !== o)
@@ -1595,7 +1586,7 @@ class er extends lt {
1595
1586
  const c = t[l];
1596
1587
  typeof c == "string" && (t[l] = parseFloat(c));
1597
1588
  }
1598
- else j[s] && (this.needsMeasurement = !0);
1589
+ else U[s] && (this.needsMeasurement = !0);
1599
1590
  }
1600
1591
  resolveNoneKeyframes() {
1601
1592
  const { unresolvedKeyframes: t, name: n } = this, s = [];
@@ -1607,7 +1598,7 @@ class er extends lt {
1607
1598
  const { element: t, unresolvedKeyframes: n, name: s } = this;
1608
1599
  if (!t || !t.current)
1609
1600
  return;
1610
- s === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = j[s](t.measureViewportBox(), window.getComputedStyle(t.current)), n[0] = this.measuredOrigin;
1601
+ s === "height" && (this.suspendedScrollY = window.pageYOffset), this.measuredOrigin = U[s](t.measureViewportBox(), window.getComputedStyle(t.current)), n[0] = this.measuredOrigin;
1611
1602
  const i = n[n.length - 1];
1612
1603
  i !== void 0 && t.getValue(s, i).jump(i, !1);
1613
1604
  }
@@ -1618,7 +1609,7 @@ class er extends lt {
1618
1609
  const i = t.getValue(n);
1619
1610
  i && i.jump(this.measuredOrigin, !1);
1620
1611
  const r = s.length - 1, a = s[r];
1621
- s[r] = j[n](t.measureViewportBox(), window.getComputedStyle(t.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([o, l]) => {
1612
+ s[r] = U[n](t.measureViewportBox(), window.getComputedStyle(t.current)), a !== null && this.finalKeyframe === void 0 && (this.finalKeyframe = a), this.removedTransforms?.length && this.removedTransforms.forEach(([o, l]) => {
1622
1613
  t.getValue(o).set(l);
1623
1614
  }), this.resolveNoneKeyframes();
1624
1615
  }
@@ -1633,7 +1624,7 @@ function tr(e, t, n) {
1633
1624
  }
1634
1625
  return Array.from(e);
1635
1626
  }
1636
- const jn = (e, t) => t && typeof e == "number" ? t.transform(e) : e, $t = 30, nr = (e) => !isNaN(parseFloat(e));
1627
+ const Un = (e, t) => t && typeof e == "number" ? t.transform(e) : e, Lt = 30, nr = (e) => !isNaN(parseFloat(e));
1637
1628
  class sr {
1638
1629
  /**
1639
1630
  * @param init - The initiating value
@@ -1779,9 +1770,9 @@ class sr {
1779
1770
  */
1780
1771
  getVelocity() {
1781
1772
  const t = R.now();
1782
- if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > $t)
1773
+ if (!this.canTrackVelocity || this.prevFrameValue === void 0 || t - this.updatedAt > Lt)
1783
1774
  return 0;
1784
- const n = Math.min(this.updatedAt - this.prevUpdatedAt, $t);
1775
+ const n = Math.min(this.updatedAt - this.prevUpdatedAt, Lt);
1785
1776
  return nn(parseFloat(this.current) - parseFloat(this.prevFrameValue), n);
1786
1777
  }
1787
1778
  /**
@@ -1843,7 +1834,7 @@ function Gn(e) {
1843
1834
  function rr(e) {
1844
1835
  return Gn(e) && e.tagName === "svg";
1845
1836
  }
1846
- const D = (e) => !!(e && e.getVelocity), ar = [...Ln, F, L], or = (e) => ar.find($n(e));
1837
+ const D = (e) => !!(e && e.getVelocity), ar = [...Wn, F, W], or = (e) => ar.find(Ln(e));
1847
1838
  function ft(e) {
1848
1839
  return typeof e == "object" && !Array.isArray(e);
1849
1840
  }
@@ -1853,7 +1844,7 @@ function Yn(e, t, n, s) {
1853
1844
  function lr(e, t, n) {
1854
1845
  return e * (t + 1);
1855
1846
  }
1856
- function Lt(e, t, n, s) {
1847
+ function Wt(e, t, n, s) {
1857
1848
  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))) : s.get(t) ?? e;
1858
1849
  }
1859
1850
  function ur(e, t, n) {
@@ -1888,15 +1879,15 @@ function mr(e, { defaultTransition: t = {}, ...n } = {}, s, i) {
1888
1879
  c.set(y, f);
1889
1880
  continue;
1890
1881
  } else if (!Array.isArray(y)) {
1891
- c.set(y.name, Lt(f, y.at, u, c));
1882
+ c.set(y.name, Wt(f, y.at, u, c));
1892
1883
  continue;
1893
1884
  }
1894
1885
  let [b, V, T = {}] = y;
1895
- T.at !== void 0 && (f = Lt(f, T.at, u, c));
1886
+ T.at !== void 0 && (f = Wt(f, T.at, u, c));
1896
1887
  let A = 0;
1897
1888
  const S = (v, p, w, C = 0, m = 0) => {
1898
- const x = gr(v), { delay: E = 0, times: B = En(x), type: xe = "keyframes", repeat: te, repeatType: Aa, repeatDelay: Ma = 0, ...is } = p;
1899
- let { ease: _ = t.ease || "easeOut", duration: N } = p;
1889
+ const x = gr(v), { delay: E = 0, times: N = En(x), type: xe = "keyframes", repeat: te, repeatType: Aa, repeatDelay: Ma = 0, ...is } = p;
1890
+ let { ease: $ = t.ease || "easeOut", duration: B } = p;
1900
1891
  const pt = typeof E == "function" ? E(C, m) : E, mt = x.length, gt = ut(xe) ? xe : i?.[xe || "keyframes"];
1901
1892
  if (mt <= 2 && gt) {
1902
1893
  let ne = 100;
@@ -1905,39 +1896,39 @@ function mr(e, { defaultTransition: t = {}, ...n } = {}, s, i) {
1905
1896
  ne = Math.abs(se);
1906
1897
  }
1907
1898
  const ge = { ...is };
1908
- N !== void 0 && (ge.duration = /* @__PURE__ */ O(N));
1899
+ B !== void 0 && (ge.duration = /* @__PURE__ */ O(B));
1909
1900
  const ye = Cn(ge, ne, gt);
1910
- _ = ye.ease, N = ye.duration;
1901
+ $ = ye.ease, B = ye.duration;
1911
1902
  }
1912
- N ?? (N = r);
1903
+ B ?? (B = r);
1913
1904
  const yt = f + pt;
1914
- B.length === 1 && B[0] === 0 && (B[1] = 1);
1915
- const bt = B.length - x.length;
1916
- if (bt > 0 && Dn(B, bt), x.length === 1 && x.unshift(null), te) {
1917
- I(te < pr, "Repeat count too high, must be less than 20", "repeat-count-high"), N = lr(N, te);
1918
- const ne = [...x], ge = [...B];
1919
- _ = Array.isArray(_) ? [..._] : [_];
1920
- const ye = [..._];
1905
+ N.length === 1 && N[0] === 0 && (N[1] = 1);
1906
+ const bt = N.length - x.length;
1907
+ if (bt > 0 && Dn(N, bt), x.length === 1 && x.unshift(null), te) {
1908
+ k(te < pr, "Repeat count too high, must be less than 20", "repeat-count-high"), B = lr(B, te);
1909
+ const ne = [...x], ge = [...N];
1910
+ $ = Array.isArray($) ? [...$] : [$];
1911
+ const ye = [...$];
1921
1912
  for (let se = 0; se < te; se++) {
1922
1913
  x.push(...ne);
1923
1914
  for (let ie = 0; ie < ne.length; ie++)
1924
- B.push(ge[ie] + (se + 1)), _.push(ie === 0 ? "linear" : pn(ye, ie - 1));
1915
+ N.push(ge[ie] + (se + 1)), $.push(ie === 0 ? "linear" : pn(ye, ie - 1));
1925
1916
  }
1926
- fr(B, te);
1917
+ fr(N, te);
1927
1918
  }
1928
- const Tt = yt + N;
1929
- cr(w, x, _, B, yt, Tt), A = Math.max(pt + N, A), h = Math.max(Tt, h);
1919
+ const Tt = yt + B;
1920
+ cr(w, x, $, N, yt, Tt), A = Math.max(pt + B, A), h = Math.max(Tt, h);
1930
1921
  };
1931
1922
  if (D(b)) {
1932
- const v = Wt(b, o);
1933
- S(V, T, Ut("default", v));
1923
+ const v = _t(b, o);
1924
+ S(V, T, jt("default", v));
1934
1925
  } else {
1935
1926
  const v = Yn(b, V, s, l), p = v.length;
1936
1927
  for (let w = 0; w < p; w++) {
1937
1928
  V = V, T = T;
1938
- const C = v[w], m = Wt(C, o);
1929
+ const C = v[w], m = _t(C, o);
1939
1930
  for (const x in V)
1940
- S(V[x], yr(T, x), Ut(x, m), w, p);
1931
+ S(V[x], yr(T, x), jt(x, m), w, p);
1941
1932
  }
1942
1933
  }
1943
1934
  u = f, f += A;
@@ -1966,10 +1957,10 @@ function mr(e, { defaultTransition: t = {}, ...n } = {}, s, i) {
1966
1957
  }
1967
1958
  }), a;
1968
1959
  }
1969
- function Wt(e, t) {
1960
+ function _t(e, t) {
1970
1961
  return !t.has(e) && t.set(e, {}), t.get(e);
1971
1962
  }
1972
- function Ut(e, t) {
1963
+ function jt(e, t) {
1973
1964
  return t[e] || (t[e] = []), t[e];
1974
1965
  }
1975
1966
  function gr(e) {
@@ -1982,7 +1973,7 @@ function yr(e, t) {
1982
1973
  } : { ...e };
1983
1974
  }
1984
1975
  const br = (e) => typeof e == "number", Tr = (e) => e.every(br), he = /* @__PURE__ */ new WeakMap(), vr = (e) => Array.isArray(e);
1985
- function jt(e) {
1976
+ function Ut(e) {
1986
1977
  const t = [{}, {}];
1987
1978
  return e?.values.forEach((n, s) => {
1988
1979
  t[0][s] = n.get(), t[1][s] = n.getVelocity();
@@ -1990,11 +1981,11 @@ function jt(e) {
1990
1981
  }
1991
1982
  function zn(e, t, n, s) {
1992
1983
  if (typeof t == "function") {
1993
- const [i, r] = jt(s);
1984
+ const [i, r] = Ut(s);
1994
1985
  t = t(n !== void 0 ? n : e.custom, i, r);
1995
1986
  }
1996
1987
  if (typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function") {
1997
- const [i, r] = jt(s);
1988
+ const [i, r] = Ut(s);
1998
1989
  t = t(n !== void 0 ? n : e.custom, i, r);
1999
1990
  }
2000
1991
  return t;
@@ -2025,8 +2016,8 @@ function Mr(e, t) {
2025
2016
  const n = e.getValue("willChange");
2026
2017
  if (Ar(n))
2027
2018
  return n.add(t);
2028
- if (!n && k.WillChange) {
2029
- const s = new k.WillChange("auto");
2019
+ if (!n && I.WillChange) {
2020
+ const s = new I.WillChange("auto");
2030
2021
  e.addValue("willChange", s), s.add(t);
2031
2022
  }
2032
2023
  }
@@ -2049,15 +2040,15 @@ const Pr = {
2049
2040
  stiffness: 550,
2050
2041
  damping: e === 0 ? 2 * Math.sqrt(550) : 30,
2051
2042
  restSpeed: 10
2052
- }), Br = {
2043
+ }), Nr = {
2053
2044
  type: "keyframes",
2054
2045
  duration: 0.8
2055
- }, Ir = {
2046
+ }, kr = {
2056
2047
  type: "keyframes",
2057
2048
  ease: [0.25, 0.1, 0.35, 1],
2058
2049
  duration: 0.3
2059
- }, Nr = (e, { keyframes: t }) => t.length > 2 ? Br : ee.has(e) ? e.startsWith("scale") ? Or(t[1]) : Pr : Ir;
2060
- function kr({ when: e, delay: t, delayChildren: n, staggerChildren: s, staggerDirection: i, repeat: r, repeatType: a, repeatDelay: o, from: l, elapsed: c, ...u }) {
2050
+ }, Br = (e, { keyframes: t }) => t.length > 2 ? Nr : ee.has(e) ? e.startsWith("scale") ? Or(t[1]) : Pr : kr;
2051
+ function Ir({ when: e, delay: t, delayChildren: n, staggerChildren: s, staggerDirection: i, repeat: r, repeatType: a, repeatDelay: o, from: l, elapsed: c, ...u }) {
2061
2052
  return !!Object.keys(u).length;
2062
2053
  }
2063
2054
  const Xn = (e, t, n, s = {}, i, r) => (a) => {
@@ -2080,9 +2071,9 @@ const Xn = (e, t, n, s = {}, i, r) => (a) => {
2080
2071
  motionValue: t,
2081
2072
  element: r ? void 0 : i
2082
2073
  };
2083
- kr(o) || Object.assign(u, Nr(e, u)), u.duration && (u.duration = /* @__PURE__ */ O(u.duration)), u.repeatDelay && (u.repeatDelay = /* @__PURE__ */ O(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
2074
+ Ir(o) || Object.assign(u, Br(e, u)), u.duration && (u.duration = /* @__PURE__ */ O(u.duration)), u.repeatDelay && (u.repeatDelay = /* @__PURE__ */ O(u.repeatDelay)), u.from !== void 0 && (u.keyframes[0] = u.from);
2084
2075
  let f = !1;
2085
- if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (Ge(u), u.delay === 0 && (f = !0)), (k.instantAnimations || k.skipAnimations) && (f = !0, Ge(u), u.delay = 0), u.allowFlatten = !o.type && !o.ease, f && !r && t.get() !== void 0) {
2076
+ if ((u.type === !1 || u.duration === 0 && !u.repeatDelay) && (Ge(u), u.delay === 0 && (f = !0)), (I.instantAnimations || I.skipAnimations) && (f = !0, Ge(u), u.delay = 0), u.allowFlatten = !o.type && !o.ease, f && !r && t.get() !== void 0) {
2086
2077
  const h = Rr(u.keyframes, o);
2087
2078
  if (h !== void 0) {
2088
2079
  K.update(() => {
@@ -2091,13 +2082,13 @@ const Xn = (e, t, n, s = {}, i, r) => (a) => {
2091
2082
  return;
2092
2083
  }
2093
2084
  }
2094
- return o.isSync ? new ot(u) : new _i(u);
2085
+ return o.isSync ? new ot(u) : new $i(u);
2095
2086
  };
2096
2087
  function Kr({ protectedKeys: e, needsAnimating: t }, n) {
2097
2088
  const s = e.hasOwnProperty(n) && t[n] !== !0;
2098
2089
  return t[n] = !1, s;
2099
2090
  }
2100
- function _r(e, t, { delay: n = 0, transitionOverride: s, type: i } = {}) {
2091
+ function $r(e, t, { delay: n = 0, transitionOverride: s, type: i } = {}) {
2101
2092
  let { transition: r = e.getDefaultTransition(), transitionEnd: a, ...o } = t;
2102
2093
  s && (r = s);
2103
2094
  const l = [], c = i && e.animationState && e.animationState.getState()[i];
@@ -2119,7 +2110,7 @@ function _r(e, t, { delay: n = 0, transitionOverride: s, type: i } = {}) {
2119
2110
  A !== null && (g.startTime = A, b = !0);
2120
2111
  }
2121
2112
  }
2122
- Mr(e, u), f.start(Xn(u, f, h, e.shouldReduceMotion && _n.has(u) ? { type: !1 } : g, e, b));
2113
+ Mr(e, u), f.start(Xn(u, f, h, e.shouldReduceMotion && $n.has(u) ? { type: !1 } : g, e, b));
2123
2114
  const V = f.animation;
2124
2115
  V && l.push(V);
2125
2116
  }
@@ -2129,13 +2120,13 @@ function _r(e, t, { delay: n = 0, transitionOverride: s, type: i } = {}) {
2129
2120
  });
2130
2121
  }), l;
2131
2122
  }
2132
- function $r({ top: e, left: t, right: n, bottom: s }) {
2123
+ function Lr({ top: e, left: t, right: n, bottom: s }) {
2133
2124
  return {
2134
2125
  x: { min: t, max: n },
2135
2126
  y: { min: e, max: s }
2136
2127
  };
2137
2128
  }
2138
- function Lr(e, t) {
2129
+ function Wr(e, t) {
2139
2130
  if (!t)
2140
2131
  return e;
2141
2132
  const n = t({ x: e.left, y: e.top }), s = t({ x: e.right, y: e.bottom });
@@ -2146,8 +2137,8 @@ function Lr(e, t) {
2146
2137
  right: s.x
2147
2138
  };
2148
2139
  }
2149
- function Wr(e, t) {
2150
- return $r(Lr(e.getBoundingClientRect(), t));
2140
+ function _r(e, t) {
2141
+ return Lr(Wr(e.getBoundingClientRect(), t));
2151
2142
  }
2152
2143
  const Gt = {
2153
2144
  animation: [
@@ -2176,9 +2167,9 @@ for (const e in Gt)
2176
2167
  const Yt = () => ({ min: 0, max: 0 }), dt = () => ({
2177
2168
  x: Yt(),
2178
2169
  y: Yt()
2179
- }), Ur = typeof window < "u", Xe = { current: null }, qn = { current: !1 };
2180
- function jr() {
2181
- if (qn.current = !0, !!Ur)
2170
+ }), jr = typeof window < "u", Xe = { current: null }, qn = { current: !1 };
2171
+ function Ur() {
2172
+ if (qn.current = !0, !!jr)
2182
2173
  if (window.matchMedia) {
2183
2174
  const e = window.matchMedia("(prefers-reduced-motion)"), t = () => Xe.current = e.matches;
2184
2175
  e.addEventListener("change", t), t();
@@ -2262,7 +2253,7 @@ class Zn {
2262
2253
  }
2263
2254
  }
2264
2255
  mount(t) {
2265
- this.current = t, he.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, s) => this.bindToMotionValue(s, n)), qn.current || jr(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : Xe.current, process.env.NODE_ENV !== "production" && sn(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled"), this.parent?.addChild(this), this.update(this.props, this.presenceContext);
2256
+ this.current = t, he.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, s) => this.bindToMotionValue(s, n)), qn.current || Ur(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : Xe.current, process.env.NODE_ENV !== "production" && sn(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected.", "reduced-motion-disabled"), this.parent?.addChild(this), this.update(this.props, this.presenceContext);
2266
2257
  }
2267
2258
  unmount() {
2268
2259
  this.projection && this.projection.unmount(), Oe(this.notifyUpdate), Oe(this.render), this.valueSubscriptions.forEach((t) => t()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent?.removeChild(this);
@@ -2402,7 +2393,7 @@ class Zn {
2402
2393
  */
2403
2394
  readValue(t, n) {
2404
2395
  let s = this.latestValues[t] !== void 0 || !this.current ? this.latestValues[t] : this.getBaseTargetFromProps(this.props, t) ?? this.readValueFromInstance(this.current, t, this.options);
2405
- return s != null && (typeof s == "string" && (Qt(s) || en(s)) ? s = parseFloat(s) : !or(s) && L.test(n) && (s = Un(t, n)), this.setBaseTarget(t, D(s) ? s.get() : s)), D(s) ? s.get() : s;
2396
+ return s != null && (typeof s == "string" && (Qt(s) || en(s)) ? s = parseFloat(s) : !or(s) && W.test(n) && (s = jn(t, n)), this.setBaseTarget(t, D(s) ? s.get() : s)), D(s) ? s.get() : s;
2406
2397
  }
2407
2398
  /**
2408
2399
  * Set the base target to later animate back to. This is currently
@@ -2472,7 +2463,7 @@ function Qr(e, t, n) {
2472
2463
  continue;
2473
2464
  let l = !0;
2474
2465
  if (typeof o == "number" ? l = o === (a.startsWith("scale") ? 1 : 0) : l = parseFloat(o) === 0, !l || n) {
2475
- const c = jn(o, ct[a]);
2466
+ const c = Un(o, ct[a]);
2476
2467
  if (!l) {
2477
2468
  i = !1;
2478
2469
  const u = Zr[a] || a;
@@ -2495,7 +2486,7 @@ function Qn(e, t, n) {
2495
2486
  i[l] = c;
2496
2487
  continue;
2497
2488
  } else {
2498
- const u = jn(c, ct[l]);
2489
+ const u = Un(c, ct[l]);
2499
2490
  l.startsWith("origin") ? (o = !0, r[l] = u) : s[l] = u;
2500
2491
  }
2501
2492
  }
@@ -2530,10 +2521,10 @@ const re = {
2530
2521
  }
2531
2522
  }, ea = {
2532
2523
  correct: (e, { treeScale: t, projectionDelta: n }) => {
2533
- const s = e, i = L.parse(e);
2524
+ const s = e, i = W.parse(e);
2534
2525
  if (i.length > 5)
2535
2526
  return s;
2536
- const r = L.createTransformer(e), a = typeof i[0] != "number" ? 1 : 0, o = n.x.scale * t.x, l = n.y.scale * t.y;
2527
+ const r = W.createTransformer(e), a = typeof i[0] != "number" ? 1 : 0, o = n.x.scale * t.x, l = n.y.scale * t.y;
2537
2528
  i[0 + a] /= o, i[1 + a] /= l;
2538
2529
  const c = J(o, l, 0.5);
2539
2530
  return typeof i[2 + a] == "number" && (i[2 + a] /= c), typeof i[3 + a] == "number" && (i[3 + a] /= c), r(i);
@@ -2572,14 +2563,14 @@ class ia extends Jn {
2572
2563
  }
2573
2564
  readValueFromInstance(t, n) {
2574
2565
  if (ee.has(n))
2575
- return this.projection?.isProjecting ? $e(n) : gi(t, n);
2566
+ return this.projection?.isProjecting ? Le(n) : gi(t, n);
2576
2567
  {
2577
2568
  const s = sa(t), i = (bn(n) ? s.getPropertyValue(n) : s[n]) || 0;
2578
2569
  return typeof i == "string" ? i.trim() : i;
2579
2570
  }
2580
2571
  }
2581
2572
  measureInstanceViewportBox(t, { transformPagePoint: n }) {
2582
- return Wr(t, n);
2573
+ return _r(t, n);
2583
2574
  }
2584
2575
  build(t, n, s) {
2585
2576
  Qn(t, n, s.transformTemplate);
@@ -2700,7 +2691,7 @@ class pa extends Jn {
2700
2691
  }
2701
2692
  readValueFromInstance(t, n) {
2702
2693
  if (ee.has(n)) {
2703
- const s = Wn(n);
2694
+ const s = _n(n);
2704
2695
  return s && s.default || 0;
2705
2696
  }
2706
2697
  return n = ns.has(n) ? n : ht(n), t.getAttribute(n);
@@ -2761,14 +2752,14 @@ function ss(e, t, n, s) {
2761
2752
  i.push(ya(e, ft(t) && t.default || t, n && (n.default || n)));
2762
2753
  else {
2763
2754
  const r = Yn(e, t, s), a = r.length;
2764
- I(!!a, "No valid elements provided.", "no-valid-elements");
2755
+ k(!!a, "No valid elements provided.", "no-valid-elements");
2765
2756
  for (let o = 0; o < a; o++) {
2766
2757
  const l = r[o];
2767
- I(l !== null, "You're trying to perform an animation on null. Ensure that selectors are correctly finding elements and refs are correctly hydrated.", "animate-null");
2758
+ k(l !== null, "You're trying to perform an animation on null. Ensure that selectors are correctly finding elements and refs are correctly hydrated.", "animate-null");
2768
2759
  const c = l instanceof Element ? ma : ga;
2769
2760
  he.has(l) || c(l);
2770
2761
  const u = he.get(l), f = { ...n };
2771
- "delay" in f && typeof f.delay == "function" && (f.delay = f.delay(o, a)), i.push(..._r(u, { ...t, transition: f }, {}));
2762
+ "delay" in f && typeof f.delay == "function" && (f.delay = f.delay(o, a)), i.push(...$r(u, { ...t, transition: f }, {}));
2772
2763
  }
2773
2764
  }
2774
2765
  return i;
@@ -2791,7 +2782,7 @@ function Va(e) {
2791
2782
  const { onComplete: l, ...c } = i || {};
2792
2783
  typeof l == "function" && (a = l), r = ss(n, s, c, e);
2793
2784
  }
2794
- const o = new Li(r);
2785
+ const o = new Wi(r);
2795
2786
  return a && o.finished.then(a), o;
2796
2787
  }
2797
2788
  return t;
@@ -2824,7 +2815,7 @@ function wa(e, t = !0) {
2824
2815
  const qt = {
2825
2816
  MODEL: "Model",
2826
2817
  USAGE: "Session usage"
2827
- }, xa = Ht("max-w-[99cqw]", "mt-3"), Ba = fs.memo(
2818
+ }, xa = Ht("max-w-[99cqw]", "mt-3"), Na = fs.memo(
2828
2819
  ({
2829
2820
  content: e,
2830
2821
  annotations: t,
@@ -2878,5 +2869,5 @@ const qt = {
2878
2869
  }
2879
2870
  );
2880
2871
  export {
2881
- Ba as default
2872
+ Na as default
2882
2873
  };