prisma-goat 0.2.6 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { jsx as I, jsxs as f, Fragment as WB } from "react/jsx-runtime";
2
- import IA, { forwardRef as yA, useEffect as eA, useState as S, useRef as wA, createContext as bA, useContext as X, useId as Me, useCallback as aD, useLayoutEffect as De, useMemo as Rg, useInsertionEffect as we, Fragment as cD, createElement as ee, Component as te } from "react";
2
+ import IA, { forwardRef as yA, useEffect as eA, useState as S, useRef as wA, createContext as bA, useContext as X, useId as Me, useCallback as aD, useLayoutEffect as De, useMemo as Kg, useInsertionEffect as we, Fragment as cD, createElement as ee, Component as te } from "react";
3
3
  var YD = {
4
4
  color: void 0,
5
5
  size: void 0,
@@ -27,15 +27,15 @@ function ie(g, A) {
27
27
  }
28
28
  return B;
29
29
  }
30
- function ug() {
31
- return ug = Object.assign ? Object.assign.bind() : function(g) {
30
+ function yg() {
31
+ return yg = Object.assign ? Object.assign.bind() : function(g) {
32
32
  for (var A = 1; A < arguments.length; A++) {
33
33
  var B = arguments[A];
34
34
  for (var M in B)
35
35
  Object.prototype.hasOwnProperty.call(B, M) && (g[M] = B[M]);
36
36
  }
37
37
  return g;
38
- }, ug.apply(this, arguments);
38
+ }, yg.apply(this, arguments);
39
39
  }
40
40
  function _B(g, A) {
41
41
  var B = Object.keys(g);
@@ -47,7 +47,7 @@ function _B(g, A) {
47
47
  }
48
48
  return B;
49
49
  }
50
- function mg(g) {
50
+ function ug(g) {
51
51
  for (var A = 1; A < arguments.length; A++) {
52
52
  var B = arguments[A] != null ? arguments[A] : {};
53
53
  A % 2 ? _B(Object(B), !0).forEach(function(M) {
@@ -76,13 +76,13 @@ function Ie(g, A) {
76
76
  return (A === "string" ? String : Number)(g);
77
77
  }
78
78
  function yD(g) {
79
- return g && g.map((A, B) => /* @__PURE__ */ IA.createElement(A.tag, mg({
79
+ return g && g.map((A, B) => /* @__PURE__ */ IA.createElement(A.tag, ug({
80
80
  key: B
81
81
  }, A.attr), yD(A.child)));
82
82
  }
83
83
  function J(g) {
84
- return (A) => /* @__PURE__ */ IA.createElement(ne, ug({
85
- attr: mg({}, g.attr)
84
+ return (A) => /* @__PURE__ */ IA.createElement(ne, yg({
85
+ attr: ug({}, g.attr)
86
86
  }, A), yD(g.child));
87
87
  }
88
88
  function ne(g) {
@@ -92,13 +92,13 @@ function ne(g) {
92
92
  size: D,
93
93
  title: e
94
94
  } = g, w = Ce(g, Qe), Q = D || B.size || "1em", t;
95
- return B.className && (t = B.className), g.className && (t = (t ? t + " " : "") + g.className), /* @__PURE__ */ IA.createElement("svg", ug({
95
+ return B.className && (t = B.className), g.className && (t = (t ? t + " " : "") + g.className), /* @__PURE__ */ IA.createElement("svg", yg({
96
96
  stroke: "currentColor",
97
97
  fill: "currentColor",
98
98
  strokeWidth: "0"
99
99
  }, B.attr, M, w, {
100
100
  className: t,
101
- style: mg(mg({
101
+ style: ug(ug({
102
102
  color: g.color || B.color
103
103
  }, B.style), g.style),
104
104
  height: Q,
@@ -187,7 +187,7 @@ function F() {
187
187
  for (var g, A, B = 0, M = "", D = arguments.length; B < D; B++) (g = arguments[B]) && (A = uD(g)) && (M && (M += " "), M += A);
188
188
  return M;
189
189
  }
190
- const ag = yA(
190
+ const _g = yA(
191
191
  ({
192
192
  children: g,
193
193
  variant: A = "primary",
@@ -224,7 +224,7 @@ const ag = yA(
224
224
  small: "px-4 py-1.5 text-xs",
225
225
  medium: "px-6 py-2.5 text-base",
226
226
  large: "px-8 py-3 text-lg"
227
- }, a = () => C === "home" ? /* @__PURE__ */ I(fe, { className: "w-5 h-5" }) : C === "Left" ? /* @__PURE__ */ I(Ee, { className: "w-5 h-5" }) : C === "right" ? /* @__PURE__ */ I(le, { className: "w-5 h-5" }) : C === "save" ? /* @__PURE__ */ I(Ke, { className: "w-5 h-5" }) : C === "more" ? /* @__PURE__ */ I(ce, { className: "w-5 h-5" }) : C === "update" ? /* @__PURE__ */ I(ye, { className: "w-5 h-5" }) : C === "attach" ? /* @__PURE__ */ I(ke, { className: "w-5 h-5" }) : C === "send" ? /* @__PURE__ */ I(Je, { className: "w-5 h-5" }) : C === "delete" ? /* @__PURE__ */ I(re, { className: "w-5 h-5" }) : C === "edit" ? /* @__PURE__ */ I(Ge, { className: "w-5 h-5" }) : C === "login" ? /* @__PURE__ */ I(pe, { className: "w-5 h-5" }) : C === "reset" ? /* @__PURE__ */ I(ae, { className: "w-5 h-5" }) : C === "add" ? /* @__PURE__ */ I(Ye, { className: "w-5 h-5" }) : C === "exit" ? /* @__PURE__ */ I(Re, { className: "w-5 h-5" }) : C === "off" ? /* @__PURE__ */ I(de, { className: "w-5 h-5" }) : C === "calculator" ? /* @__PURE__ */ I(Ze, { className: "w-5 h-5" }) : C === "list" ? /* @__PURE__ */ I(Ue, { className: "w-5 h-5" }) : C === "futbol" ? /* @__PURE__ */ I(qe, { className: "w-5 h-5" }) : null, c = /* @__PURE__ */ I(
227
+ }, a = () => C === "home" ? /* @__PURE__ */ I(fe, { className: "w-5 h-5" }) : C === "Left" ? /* @__PURE__ */ I(Ee, { className: "w-5 h-5" }) : C === "right" ? /* @__PURE__ */ I(le, { className: "w-5 h-5" }) : C === "save" ? /* @__PURE__ */ I(Ke, { className: "w-5 h-5" }) : C === "more" ? /* @__PURE__ */ I(ce, { className: "w-5 h-5" }) : C === "update" ? /* @__PURE__ */ I(ye, { className: "w-5 h-5" }) : C === "attach" ? /* @__PURE__ */ I(ke, { className: "w-5 h-5" }) : C === "send" ? /* @__PURE__ */ I(Je, { className: "w-5 h-5" }) : C === "delete" ? /* @__PURE__ */ I(re, { className: "w-5 h-5" }) : C === "edit" ? /* @__PURE__ */ I(Ge, { className: "w-5 h-5" }) : C === "login" ? /* @__PURE__ */ I(pe, { className: "w-5 h-5" }) : C === "reset" ? /* @__PURE__ */ I(ae, { className: "w-5 h-5" }) : C === "add" ? /* @__PURE__ */ I(Ye, { className: "w-5 h-5" }) : C === "exit" ? /* @__PURE__ */ I(Re, { className: "w-5 h-5" }) : C === "off" ? /* @__PURE__ */ I(de, { className: "w-5 h-5" }) : C === "calculator" ? /* @__PURE__ */ I(Ze, { className: "w-5 h-5" }) : C === "list" ? /* @__PURE__ */ I(Ue, { className: "w-5 h-5" }) : C === "futbol" ? /* @__PURE__ */ I(qe, { className: "w-5 h-5" }) : null, Y = /* @__PURE__ */ I(
228
228
  "div",
229
229
  {
230
230
  className: F(
@@ -232,20 +232,20 @@ const ag = yA(
232
232
  A === "secondary" ? "border-[#1F2937]" : "border-white"
233
233
  )
234
234
  }
235
- ), V = () => IA.isValidElement(Q) ? IA.cloneElement(Q, { className: "w-5 h-5" }) : a(), y = i || g;
235
+ ), V = () => IA.isValidElement(Q) ? IA.cloneElement(Q, { className: "w-5 h-5" }) : a(), u = i || g;
236
236
  return eA(() => {
237
- const u = (q) => {
238
- if (w && q.key === "Enter" && !e && o) {
239
- const U = new MouseEvent("click", {
237
+ const y = (k) => {
238
+ if (w && k.key === "Enter" && !e && o) {
239
+ const m = new MouseEvent("click", {
240
240
  bubbles: !0,
241
241
  cancelable: !0,
242
242
  view: window
243
243
  });
244
- o(U);
244
+ o(m);
245
245
  }
246
246
  };
247
- return window.addEventListener("keydown", u), () => {
248
- window.removeEventListener("keydown", u);
247
+ return window.addEventListener("keydown", y), () => {
248
+ window.removeEventListener("keydown", y);
249
249
  };
250
250
  }, [w, o, e]), /* @__PURE__ */ f(
251
251
  "button",
@@ -266,17 +266,17 @@ const ag = yA(
266
266
  onClick: o,
267
267
  ...n,
268
268
  children: [
269
- M && D === "left" && /* @__PURE__ */ I("span", { className: "mr-2", children: c }),
269
+ M && D === "left" && /* @__PURE__ */ I("span", { className: "mr-2", children: Y }),
270
270
  t === "left" && /* @__PURE__ */ I("span", { className: "mr-2", children: V() }),
271
- y,
271
+ u,
272
272
  t === "right" && /* @__PURE__ */ I("span", { className: "ml-2", children: V() }),
273
- M && D === "right" && /* @__PURE__ */ I("span", { className: "ml-2", children: c })
273
+ M && D === "right" && /* @__PURE__ */ I("span", { className: "ml-2", children: Y })
274
274
  ]
275
275
  }
276
276
  );
277
277
  }
278
278
  );
279
- ag.displayName = "Button";
279
+ _g.displayName = "Button";
280
280
  const tA = {
281
281
  primary: "bg-[#1F2937]",
282
282
  secondary: "bg-[#ededed]",
@@ -295,7 +295,7 @@ const tA = {
295
295
  danger: "focus:ring-white focus:ring-offset-[#b91c1c]",
296
296
  warning: "focus:ring-white focus:ring-offset-[#f59e0b]",
297
297
  success: "focus:ring-white focus:ring-offset-[#047857]"
298
- }, Ug = {
298
+ }, mg = {
299
299
  primary: "border-2 border-white",
300
300
  secondary: "border-2 border-[#1F2937]",
301
301
  vividPink: "border-2 border-white",
@@ -515,45 +515,45 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
515
515
  variantIndicator: G = "primary",
516
516
  backgroundIndicator: r = "black",
517
517
  logoGoatDataIndicator: a = "logoRed",
518
- imgLoadingIndicator: c = "",
518
+ imgLoadingIndicator: Y = "",
519
519
  strokeWidthIndicator: V = "10",
520
- ...y
521
- }, u) => {
520
+ ...u
521
+ }, y) => {
522
522
  var R, oA, O, KA;
523
- const [q, U] = S(!1), [K, P] = S(!1), [gA, mA] = S(!1), [UA, lA] = S(null), [TA, XA] = S(null), z = wA(null), x = () => U(!q), rA = () => P(!K), sA = () => P(!1);
523
+ const [k, m] = S(!1), [d, P] = S(!1), [gA, mA] = S(!1), [UA, lA] = S(null), [TA, XA] = S(null), z = wA(null), x = () => m(!k), rA = () => P(!d), sA = () => P(!1);
524
524
  eA(() => {
525
525
  if (typeof window < "u" && (C != null && C.events)) {
526
- const Y = () => {
526
+ const c = () => {
527
527
  mA(!0);
528
- }, k = () => {
528
+ }, q = () => {
529
529
  mA(!1);
530
530
  };
531
- return C.events.on("routeChangeStart", Y), C.events.on("routeChangeComplete", k), C.events.on("routeChangeError", k), () => {
532
- C.events.off("routeChangeStart", Y), C.events.off("routeChangeComplete", k), C.events.off("routeChangeError", k);
531
+ return C.events.on("routeChangeStart", c), C.events.on("routeChangeComplete", q), C.events.on("routeChangeError", q), () => {
532
+ C.events.off("routeChangeStart", c), C.events.off("routeChangeComplete", q), C.events.off("routeChangeError", q);
533
533
  };
534
534
  }
535
535
  }, [C]);
536
- const ng = (Y, k) => {
537
- Y.subItems && Y.subItems.length > 0 ? lA((BA) => BA === k ? -1 : k) : Y.link && C && C.push(Y.link);
538
- }, Lg = (Y, k) => {
539
- Y.subItems && Y.subItems.length > 0 ? lA((BA) => BA === k ? -1 : k) : Y.link && C && (C.push(Y.link), U(!1));
540
- }, NA = (Y, k) => {
541
- lA((BA) => BA === k ? -1 : k), Y.link && C && C.push(Y.link);
542
- }, Eg = (Y) => {
543
- Y.link && C && (C.push(Y.link), sA());
544
- }, Z = (Y) => {
545
- Y.link && C && (C.push(Y.link), U(!1));
536
+ const ng = (c, q) => {
537
+ c.subItems && c.subItems.length > 0 ? lA((BA) => BA === q ? -1 : q) : c.link && C && C.push(c.link);
538
+ }, Pg = (c, q) => {
539
+ c.subItems && c.subItems.length > 0 ? lA((BA) => BA === q ? -1 : q) : c.link && C && (C.push(c.link), m(!1));
540
+ }, NA = (c, q) => {
541
+ lA((BA) => BA === q ? -1 : q), c.link && C && C.push(c.link);
542
+ }, Eg = (c) => {
543
+ c.link && C && (C.push(c.link), sA());
544
+ }, Z = (c) => {
545
+ c.link && C && (C.push(c.link), m(!1));
546
546
  };
547
547
  return eA(() => {
548
- const Y = (k) => {
549
- z.current && !z.current.contains(k.target) && sA();
548
+ const c = (q) => {
549
+ z.current && !z.current.contains(q.target) && sA();
550
550
  };
551
- return K && document.addEventListener("mousedown", Y), () => {
552
- document.removeEventListener("mousedown", Y);
551
+ return d && document.addEventListener("mousedown", c), () => {
552
+ document.removeEventListener("mousedown", c);
553
553
  };
554
- }, [K]), /* @__PURE__ */ f("nav", { ref: u, ...y, className: `fixed top-0 left-0 right-0 z-10 ${tA[A]}`, children: [
554
+ }, [d]), /* @__PURE__ */ f("nav", { ref: y, ...u, className: `fixed top-0 left-0 right-0 z-10 ${tA[A]}`, children: [
555
555
  /* @__PURE__ */ I("div", { className: "mx-auto max-w-7xl px-2 sm:px-6 lg:px-8", children: /* @__PURE__ */ f("div", { className: "relative flex h-16 items-center justify-between", children: [
556
- /* @__PURE__ */ I("div", { className: "absolute inset-y-0 left-0 flex items-center sm:hidden", children: /* @__PURE__ */ I("button", { className: `menu ${q ? A === "secondary" ? "openedark" : "opened" : ""}`, onClick: x, "aria-label": "Main Menu", children: /* @__PURE__ */ f("svg", { width: "45", height: "45", viewBox: "0 0 100 100", style: { fill: "#f9f8f8 !important" }, children: [
556
+ /* @__PURE__ */ I("div", { className: "absolute inset-y-0 left-0 flex items-center sm:hidden", children: /* @__PURE__ */ I("button", { className: `menu ${k ? A === "secondary" ? "openedark" : "opened" : ""}`, onClick: x, "aria-label": "Main Menu", children: /* @__PURE__ */ f("svg", { width: "45", height: "45", viewBox: "0 0 100 100", style: { fill: "#f9f8f8 !important" }, children: [
557
557
  /* @__PURE__ */ I("path", { className: A === "secondary" ? "linedark linedark1" : "line line1", d: "M 20,29.000046 H 80.000231 C 80.000231,29.000046 94.498839,28.817352 94.532987,66.711331 94.543142,77.980673 90.966081,81.670246 85.259173,81.668997 79.552261,81.667751 75.000211,74.999942 75.000211,74.999942 L 25.000021,25.000058" }),
558
558
  /* @__PURE__ */ I("path", { className: A === "secondary" ? "linedark linedark2" : "line line2", d: "M 20,50 H 80" }),
559
559
  /* @__PURE__ */ I("path", { className: A === "secondary" ? "linedark linedark3" : "line line3", d: "M 20,70.999954 H 80.000231 C 80.000231,70.999954 94.498839,71.182648 94.532987,33.288669 94.543142,22.019327 90.966081,18.329754 85.259173,18.331003 79.552261,18.332249 75.000211,25.000058 75.000211,25.000058 L 25.000021,74.999942" })
@@ -581,7 +581,7 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
581
581
  (!e || e.trim() === "") && /* @__PURE__ */ I("div", { className: `${vA[A]}`, style: { fontSize: "10px", letterSpacing: "4px" }, children: "DATA" })
582
582
  ] }),
583
583
  /* @__PURE__ */ f("div", { className: "hidden sm:ml-6 sm:block", children: [
584
- /* @__PURE__ */ I("div", { className: `flex space-x-4 ${e && e.trim() !== "" ? "mt-0" : "mt-2"}`, children: M.map((Y, k) => {
584
+ /* @__PURE__ */ I("div", { className: `flex space-x-4 ${e && e.trim() !== "" ? "mt-0" : "mt-2"}`, children: M.map((c, q) => {
585
585
  var BA;
586
586
  return /* @__PURE__ */ f("div", { className: "relative group", children: [
587
587
  /* @__PURE__ */ I(
@@ -590,29 +590,29 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
590
590
  type: "button",
591
591
  className: F(
592
592
  "flex items-center justify-center px-4 py-2 text-sm cursor-pointer rounded-md transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2",
593
- t === Y.link || (BA = Y.subItems) != null && BA.some((T) => T.link === t) ? AA[A] : "",
593
+ t === c.link || (BA = c.subItems) != null && BA.some((T) => T.link === t) ? AA[A] : "",
594
594
  b[A],
595
595
  DA[A],
596
- t === Y.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
597
- t === Y.link ? "font-semibold" : "font-normal"
596
+ t === c.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
597
+ t === c.link ? "font-semibold" : "font-normal"
598
598
  ),
599
- onClick: () => ng(Y, k),
600
- onMouseEnter: () => XA(k),
599
+ onClick: () => ng(c, q),
600
+ onMouseEnter: () => XA(q),
601
601
  onMouseLeave: () => XA(null),
602
- children: Y.label
602
+ children: c.label
603
603
  }
604
604
  ),
605
- TA === k && Y.description && Y.description.trim() !== "" && /* @__PURE__ */ f(
605
+ TA === q && c.description && c.description.trim() !== "" && /* @__PURE__ */ f(
606
606
  "div",
607
607
  {
608
608
  style: { border: `1px ${Ag[A]} solid`, maxWidth: "260px" },
609
609
  className: `absolute top-full left-1/2 transform -translate-x-1/2 translate-y-2 opacity-0 mt-2 w-max px-4 py-4 text-xs ${vA[A]} ${tA[A]} rounded-md transition-all duration-300 group-hover:opacity-100 group-hover:translate-y-4`,
610
610
  children: [
611
- Y.image && Y.image.trim() !== "" && /* @__PURE__ */ f("div", { className: "relative w-full h-24 mb-2", children: [
611
+ c.image && c.image.trim() !== "" && /* @__PURE__ */ f("div", { className: "relative w-full h-24 mb-2", children: [
612
612
  /* @__PURE__ */ I(
613
613
  "img",
614
614
  {
615
- src: Y.image,
615
+ src: c.image,
616
616
  alt: "Tooltip Image",
617
617
  className: "object-cover w-full h-full rounded-t-md opacity-75 hover:opacity-100 transition-opacity duration-300"
618
618
  }
@@ -620,16 +620,16 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
620
620
  /* @__PURE__ */ I("div", { className: "absolute bottom-0 w-full h-8 bg-gradient-to-t from-white/80 to-transparent" })
621
621
  ] }),
622
622
  /* @__PURE__ */ I("div", { className: "absolute top-0 left-1/2 transform -translate-x-1/2 -mt-2 w-0 h-0 border-l-4 border-r-4 border-b-4 border-transparent border-b-gray-800" }),
623
- Y.description
623
+ c.description
624
624
  ]
625
625
  }
626
626
  ),
627
- Y.subItems && Y.subItems.length > 0 && UA === k && /* @__PURE__ */ I(
627
+ c.subItems && c.subItems.length > 0 && UA === q && /* @__PURE__ */ I(
628
628
  "div",
629
629
  {
630
- className: `absolute left-0 mt-2 w-48 ${tA[A]} ${Ug[A]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
630
+ className: `absolute left-0 mt-2 w-48 ${tA[A]} ${mg[A]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
631
631
  role: "menu",
632
- children: Y.subItems.map((T, Fg) => /* @__PURE__ */ I(
632
+ children: c.subItems.map((T, Lg) => /* @__PURE__ */ I(
633
633
  "div",
634
634
  {
635
635
  className: F(
@@ -639,14 +639,14 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
639
639
  t === T.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
640
640
  t === T.link ? "font-semibold" : "font-normal"
641
641
  ),
642
- onClick: () => NA(T, k),
642
+ onClick: () => NA(T, q),
643
643
  children: T.label
644
644
  },
645
- Fg
645
+ Lg
646
646
  ))
647
647
  }
648
648
  )
649
- ] }, k);
649
+ ] }, q);
650
650
  }) }),
651
651
  g && /* @__PURE__ */ I("div", { className: "mt-2 text-sm text-gray-500", children: g })
652
652
  ] })
@@ -661,7 +661,7 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
661
661
  type: "button",
662
662
  className: `flex rounded-full bg-gray-800 text-sm transition duration-300 focus:outline-none focus:ring-2 ${DA[A]} focus:ring-offset-2`,
663
663
  id: "user-menu-button",
664
- "aria-expanded": K,
664
+ "aria-expanded": d,
665
665
  "aria-haspopup": "true",
666
666
  onClick: rA,
667
667
  children: /* @__PURE__ */ I(
@@ -675,8 +675,8 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
675
675
  src: B.image,
676
676
  alt: "User avatar",
677
677
  className: "rounded-full object-cover w-full h-full",
678
- onError: (Y) => {
679
- Y.currentTarget.onerror = null, Y.currentTarget.src = "";
678
+ onError: (c) => {
679
+ c.currentTarget.onerror = null, c.currentTarget.src = "";
680
680
  }
681
681
  }
682
682
  ) : ((oA = (R = B.name) == null ? void 0 : R.charAt(0)) == null ? void 0 : oA.toUpperCase()) || "?"
@@ -684,28 +684,28 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
684
684
  )
685
685
  }
686
686
  ) }),
687
- K && /* @__PURE__ */ I(
687
+ d && /* @__PURE__ */ I(
688
688
  "div",
689
689
  {
690
690
  ref: z,
691
- className: `absolute right-0 mt-2 w-48 ${tA[A]} ${Ug[A]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
691
+ className: `absolute right-0 mt-2 w-48 ${tA[A]} ${mg[A]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
692
692
  role: "menu",
693
- children: D.map((Y, k) => /* @__PURE__ */ I(
693
+ children: D.map((c, q) => /* @__PURE__ */ I(
694
694
  "div",
695
695
  {
696
696
  className: F(
697
697
  "block px-4 py-2 text-sm cursor-pointer",
698
698
  b[A] && `${b[A]}`,
699
- t === Y.link ? AA[A] : "",
700
- t === Y.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
701
- t === Y.link ? "font-semibold" : "font-normal"
699
+ t === c.link ? AA[A] : "",
700
+ t === c.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
701
+ t === c.link ? "font-semibold" : "font-normal"
702
702
  ),
703
- onClick: Y.label === "Cerrar sesion" ? o : () => {
704
- Eg(Y);
703
+ onClick: c.label === "Cerrar sesion" ? o : () => {
704
+ Eg(c);
705
705
  },
706
- children: Y.label
706
+ children: c.label
707
707
  },
708
- k
708
+ q
709
709
  ))
710
710
  }
711
711
  )
@@ -729,8 +729,8 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
729
729
  ) : /* @__PURE__ */ I(WB, {})
730
730
  ] })
731
731
  ] }) }),
732
- q && /* @__PURE__ */ f("div", { className: "sm:hidden px-2 pt-2 pb-3 space-y-1", children: [
733
- M.map((Y, k) => {
732
+ k && /* @__PURE__ */ f("div", { className: "sm:hidden px-2 pt-2 pb-3 space-y-1", children: [
733
+ M.map((c, q) => {
734
734
  var BA;
735
735
  return /* @__PURE__ */ f("div", { children: [
736
736
  /* @__PURE__ */ I(
@@ -739,17 +739,17 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
739
739
  className: F(
740
740
  `block w-full px-4 py-2 text-base ${b[A]}
741
741
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${DA[A]} focus:ring-offset-2 text-left`,
742
- t === Y.link || (BA = Y.subItems) != null && BA.some((T) => T.link === t) ? AA[A] : "",
743
- t === Y.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
744
- t === Y.link ? "font-semibold" : "font-normal"
742
+ t === c.link || (BA = c.subItems) != null && BA.some((T) => T.link === t) ? AA[A] : "",
743
+ t === c.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
744
+ t === c.link ? "font-semibold" : "font-normal"
745
745
  ),
746
746
  onClick: () => {
747
- Lg(Y, k);
747
+ Pg(c, q);
748
748
  },
749
- children: Y.label
749
+ children: c.label
750
750
  }
751
751
  ),
752
- Y.subItems && Y.subItems.length > 0 && UA === k && /* @__PURE__ */ I("div", { className: "pl-4 py-4", children: Y.subItems.map((T, Fg) => /* @__PURE__ */ I(
752
+ c.subItems && c.subItems.length > 0 && UA === q && /* @__PURE__ */ I("div", { className: "pl-4 py-4", children: c.subItems.map((T, Lg) => /* @__PURE__ */ I(
753
753
  "button",
754
754
  {
755
755
  className: F(
@@ -760,13 +760,13 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
760
760
  t === T.link ? "font-semibold" : "font-normal"
761
761
  ),
762
762
  onClick: () => {
763
- NA(Y, k), U(!1);
763
+ NA(c, q), m(!1);
764
764
  },
765
765
  children: T.label
766
766
  },
767
- Fg
767
+ Lg
768
768
  )) })
769
- ] }, k);
769
+ ] }, q);
770
770
  }),
771
771
  B ? /* @__PURE__ */ f("div", { className: "relative mt-3", children: [
772
772
  /* @__PURE__ */ I("div", { className: "ml-3 mt-4", style: { borderBottom: `1px ${Ag[A]} solid` } }),
@@ -790,8 +790,8 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
790
790
  src: B.image,
791
791
  alt: "User avatar",
792
792
  className: "rounded-full object-cover w-full h-full",
793
- onError: (Y) => {
794
- Y.currentTarget.onerror = null, Y.currentTarget.src = "";
793
+ onError: (c) => {
794
+ c.currentTarget.onerror = null, c.currentTarget.src = "";
795
795
  }
796
796
  }
797
797
  ) : ((KA = (O = B.name) == null ? void 0 : O.charAt(0)) == null ? void 0 : KA.toUpperCase()) || "?"
@@ -801,20 +801,20 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
801
801
  ),
802
802
  /* @__PURE__ */ I("div", { className: `block w-full px-4 py-4 ${vA[A]} text-left`, children: B.name })
803
803
  ] }),
804
- D.map((Y, k) => /* @__PURE__ */ I(
804
+ D.map((c, q) => /* @__PURE__ */ I(
805
805
  "button",
806
806
  {
807
807
  className: F(
808
808
  `block w-full px-4 py-2 text-base ${b[A]}
809
809
  rounded-md transition duration-300 focus:outline-none focus:ring-2 ${DA[A]} focus:ring-offset-2 text-left`,
810
- t === Y.link ? AA[A] : "",
811
- t === Y.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
812
- t === Y.link ? "font-semibold" : "font-normal"
810
+ t === c.link ? AA[A] : "",
811
+ t === c.link ? A === "secondary" || A === "primary" || A === "darkMagenta" || A === "veryDarkViolet" || A === "success" ? "text-custom-red" : "text-custom-blue" : A === "primary" || A === "vividPink" || A === "darkMagenta" || A === "veryDarkViolet" || A === "danger" || A === "warning" || A === "success" ? "text-white" : "text-custom-blue",
812
+ t === c.link ? "font-semibold" : "font-normal"
813
813
  ),
814
- onClick: Y.label === "Cerrar sesion" ? o : () => Z(Y),
815
- children: Y.label
814
+ onClick: c.label === "Cerrar sesion" ? o : () => Z(c),
815
+ children: c.label
816
816
  },
817
- k
817
+ q
818
818
  ))
819
819
  ] }) : l ? /* @__PURE__ */ I(
820
820
  "button",
@@ -828,7 +828,7 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
828
828
  t === "/login" ? "font-semibold" : "font-normal"
829
829
  ),
830
830
  onClick: () => {
831
- C.push("/login"), U(!1);
831
+ C.push("/login"), m(!1);
832
832
  },
833
833
  children: "Login"
834
834
  }
@@ -840,7 +840,7 @@ const PA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
840
840
  variant: G,
841
841
  background: r,
842
842
  logoGoatData: a,
843
- imgLoading: c,
843
+ imgLoading: Y,
844
844
  strokeWidth: V
845
845
  }
846
846
  )
@@ -962,17 +962,17 @@ const Oe = yA(
962
962
  strokeWidthIndicator: G = "10",
963
963
  handleLogout: r,
964
964
  toggleTheme: a,
965
- toggeInstallApp: c,
965
+ toggeInstallApp: Y,
966
966
  ...V
967
- }, y) => {
967
+ }, u) => {
968
968
  var NA, Eg;
969
- const [u, q] = S(!0), [U, K] = S(null), [P, gA] = S(!1), [mA, UA] = S(null), [lA, TA] = S(!1), XA = wA(null), z = () => gA(!P), x = () => gA(!1), rA = () => {
970
- q((Z) => !Z);
969
+ const [y, k] = S(!0), [m, d] = S(null), [P, gA] = S(!1), [mA, UA] = S(null), [lA, TA] = S(!1), XA = wA(null), z = () => gA(!P), x = () => gA(!1), rA = () => {
970
+ k((Z) => !Z);
971
971
  }, sA = (Z, R) => {
972
- Z.subItems && Z.subItems.length > 0 ? K((oA) => oA === R ? -1 : R) : Z.link && t && t.push(Z.link);
972
+ Z.subItems && Z.subItems.length > 0 ? d((oA) => oA === R ? -1 : R) : Z.link && t && t.push(Z.link);
973
973
  }, ng = (Z, R) => {
974
- K((oA) => oA === R ? -1 : R), Z.link && t && t.push(Z.link);
975
- }, Lg = (Z) => {
974
+ d((oA) => oA === R ? -1 : R), Z.link && t && t.push(Z.link);
975
+ }, Pg = (Z) => {
976
976
  Z.link && t && (t.push(Z.link), x());
977
977
  };
978
978
  return eA(() => {
@@ -989,9 +989,9 @@ const Oe = yA(
989
989
  }, [t]), /* @__PURE__ */ f(
990
990
  "div",
991
991
  {
992
- ref: y,
992
+ ref: u,
993
993
  ...V,
994
- style: { width: u ? "250px" : "70px" },
994
+ style: { width: y ? "250px" : "70px" },
995
995
  className: F(
996
996
  `fixed top-0 left-0 h-full ${tA[B]} text-white shadow-lg transition-all z-50`,
997
997
  M
@@ -1012,18 +1012,18 @@ const Oe = yA(
1012
1012
  {
1013
1013
  alt: "logo",
1014
1014
  className: "hidden lg:block",
1015
- style: { height: e && e.trim() !== "" ? e : u ? "70px" : "", width: w && w.trim() !== "" ? w : u ? "110px" : "40px" },
1016
- src: D && D.trim() !== "" ? D : B === "secondary" ? u ? PA : rB : u ? "https://goatdata.com.ar/images/logogoatblanco.png" : lB
1015
+ style: { height: e && e.trim() !== "" ? e : y ? "70px" : "", width: w && w.trim() !== "" ? w : y ? "110px" : "40px" },
1016
+ src: D && D.trim() !== "" ? D : B === "secondary" ? y ? PA : rB : y ? "https://goatdata.com.ar/images/logogoatblanco.png" : lB
1017
1017
  }
1018
1018
  ),
1019
- (!D || D.trim() === "") && /* @__PURE__ */ I("div", { className: `${vA[B]} ${u ? "" : "lock w-auto lg:hidden"}`, style: { fontSize: u ? "12px" : "8px", letterSpacing: "4px" }, children: "DATA" })
1019
+ (!D || D.trim() === "") && /* @__PURE__ */ I("div", { className: `${vA[B]} ${y ? "" : "lock w-auto lg:hidden"}`, style: { fontSize: y ? "12px" : "8px", letterSpacing: "4px" }, children: "DATA" })
1020
1020
  ] }),
1021
1021
  /* @__PURE__ */ I(
1022
1022
  "button",
1023
1023
  {
1024
1024
  onClick: rA,
1025
1025
  className: `absolute -right-3 transform -translate-y-1/2 p-1 rounded-full shadow-md ${ze[B]} focus:outline-none`,
1026
- children: u ? /* @__PURE__ */ I(me, { size: 20 }) : /* @__PURE__ */ I(ue, { size: 20 })
1026
+ children: y ? /* @__PURE__ */ I(me, { size: 20 }) : /* @__PURE__ */ I(ue, { size: 20 })
1027
1027
  }
1028
1028
  ),
1029
1029
  /* @__PURE__ */ I("div", { style: { marginLeft: "20px", marginRight: "20px", border: `1px ${Ag[B]} solid`, marginTop: "14px" } }),
@@ -1036,7 +1036,7 @@ const Oe = yA(
1036
1036
  {
1037
1037
  type: "button",
1038
1038
  className: F(
1039
- `flex items-center justify-start w-full ${u ? "px-4" : ""} ${u ? "py-2" : ""} text-sm cursor-pointer rounded-md transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2`,
1039
+ `flex items-center justify-start w-full ${y ? "px-4" : ""} ${y ? "py-2" : ""} text-sm cursor-pointer rounded-md transition duration-300 focus:outline-none focus:ring-2 focus:ring-offset-2`,
1040
1040
  b[B],
1041
1041
  DA[B],
1042
1042
  Q === Z.link || (oA = Z.subItems) != null && oA.some((O) => O.link === Q) ? AA[B] : "",
@@ -1052,19 +1052,19 @@ const Oe = yA(
1052
1052
  (Z == null ? void 0 : Z.icon) && /* @__PURE__ */ I(
1053
1053
  "div",
1054
1054
  {
1055
- className: `flex ${u ? "" : "py-2"}`,
1055
+ className: `flex ${y ? "" : "py-2"}`,
1056
1056
  style: {
1057
- marginRight: u ? "12px" : "0px",
1058
- marginLeft: u ? "0px" : "6px"
1057
+ marginRight: y ? "12px" : "0px",
1058
+ marginLeft: y ? "0px" : "6px"
1059
1059
  },
1060
1060
  children: /* @__PURE__ */ I(Z.icon, { className: "w-6 h-6" })
1061
1061
  }
1062
1062
  ),
1063
- /* @__PURE__ */ I("span", { className: `${u ? "block" : "hidden"}`, children: Z.label })
1063
+ /* @__PURE__ */ I("span", { className: `${y ? "block" : "hidden"}`, children: Z.label })
1064
1064
  ]
1065
1065
  }
1066
1066
  ),
1067
- mA === R && Z.description && Z.description.trim() !== "" && !u && /* @__PURE__ */ f(
1067
+ mA === R && Z.description && Z.description.trim() !== "" && !y && /* @__PURE__ */ f(
1068
1068
  "div",
1069
1069
  {
1070
1070
  style: {
@@ -1073,7 +1073,7 @@ const Oe = yA(
1073
1073
  },
1074
1074
  className: F(
1075
1075
  "absolute top-1/2 transform -translate-y-1/2 transition-all duration-300 opacity-0 group-hover:opacity-100 rounded-md text-xs px-4 py-2 shadow-lg",
1076
- u ? "left-full ml-2" : "left-full ml-2 translate-x-2 group-hover:translate-x-4",
1076
+ y ? "left-full ml-2" : "left-full ml-2 translate-x-2 group-hover:translate-x-4",
1077
1077
  vA[B],
1078
1078
  tA[B]
1079
1079
  ),
@@ -1094,7 +1094,7 @@ const Oe = yA(
1094
1094
  ]
1095
1095
  }
1096
1096
  ),
1097
- Z.subItems && Z.subItems.length > 0 && U === R && (u ? /* @__PURE__ */ I("div", { className: "pl-4 py-4", children: Z.subItems.map((O, KA) => /* @__PURE__ */ I(
1097
+ Z.subItems && Z.subItems.length > 0 && m === R && (y ? /* @__PURE__ */ I("div", { className: "pl-4 py-4", children: Z.subItems.map((O, KA) => /* @__PURE__ */ I(
1098
1098
  "button",
1099
1099
  {
1100
1100
  className: F(
@@ -1114,7 +1114,7 @@ const Oe = yA(
1114
1114
  "div",
1115
1115
  {
1116
1116
  style: { zIndex: "999" },
1117
- className: `absolute left-0 mt-2 w-48 ${tA[B]} ${Ug[B]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
1117
+ className: `absolute left-0 mt-2 w-48 ${tA[B]} ${mg[B]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
1118
1118
  role: "menu",
1119
1119
  children: Z.subItems.map((O, KA) => /* @__PURE__ */ I(
1120
1120
  "div",
@@ -1165,14 +1165,14 @@ const Oe = yA(
1165
1165
  )
1166
1166
  }
1167
1167
  ),
1168
- /* @__PURE__ */ I("div", { className: `block w-full px-4 py-4 ${vA[B]} text-left ${u ? "block" : "hidden"}`, children: C.name }),
1169
- /* @__PURE__ */ I("div", { className: `mr-2 ${u ? "block" : "hidden"}`, children: /* @__PURE__ */ I(he, { size: 20, color: Ag[B] }) })
1168
+ /* @__PURE__ */ I("div", { className: `block w-full px-4 py-4 ${vA[B]} text-left ${y ? "block" : "hidden"}`, children: C.name }),
1169
+ /* @__PURE__ */ I("div", { className: `mr-2 ${y ? "block" : "hidden"}`, children: /* @__PURE__ */ I(he, { size: 20, color: Ag[B] }) })
1170
1170
  ] }),
1171
1171
  P && /* @__PURE__ */ I(
1172
1172
  "div",
1173
1173
  {
1174
1174
  ref: XA,
1175
- className: `absolute right-0 ${u ? "left-56" : "left-14"} bottom-8 mt-2 w-48 ${tA[B]} ${Ug[B]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
1175
+ className: `absolute right-0 ${y ? "left-56" : "left-14"} bottom-8 mt-2 w-48 ${tA[B]} ${mg[B]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
1176
1176
  role: "menu",
1177
1177
  children: A.map((Z, R) => /* @__PURE__ */ I(
1178
1178
  "div",
@@ -1185,7 +1185,7 @@ const Oe = yA(
1185
1185
  Q === Z.link ? "font-semibold" : "font-normal"
1186
1186
  ),
1187
1187
  onClick: Z.label === "Cerrar sesion" ? r : () => {
1188
- Lg(Z);
1188
+ Pg(Z);
1189
1189
  },
1190
1190
  children: Z.label
1191
1191
  },
@@ -1193,8 +1193,8 @@ const Oe = yA(
1193
1193
  ))
1194
1194
  }
1195
1195
  ),
1196
- /* @__PURE__ */ f("div", { style: { display: "flex", gap: "12px", padding: "0px 20px 0px 10px", flexDirection: u ? "row" : "column", alignItems: "center" }, children: [
1197
- s && /* @__PURE__ */ I(fD, { variant: B, onClick: c }),
1196
+ /* @__PURE__ */ f("div", { style: { display: "flex", gap: "12px", padding: "0px 20px 0px 10px", flexDirection: y ? "row" : "column", alignItems: "center" }, children: [
1197
+ s && /* @__PURE__ */ I(fD, { variant: B, onClick: Y }),
1198
1198
  i && /* @__PURE__ */ I(VD, { variant: B, toggleTheme: a })
1199
1199
  ] })
1200
1200
  ] })
@@ -1364,14 +1364,14 @@ function dD(g, A) {
1364
1364
  B = !0, M = !0, D.isProcessing || g(n);
1365
1365
  };
1366
1366
  return { schedule: lg.reduce((r, a) => {
1367
- const c = w[a];
1368
- return r[a] = (V, y = !1, u = !1) => (B || E(), c.schedule(V, y, u)), r;
1367
+ const Y = w[a];
1368
+ return r[a] = (V, u = !1, y = !1) => (B || E(), Y.schedule(V, u, y)), r;
1369
1369
  }, {}), cancel: (r) => {
1370
1370
  for (let a = 0; a < lg.length; a++)
1371
1371
  w[lg[a]].cancel(r);
1372
1372
  }, state: D, steps: w };
1373
1373
  }
1374
- const { schedule: d, cancel: cA, state: L, steps: Og } = dD(typeof requestAnimationFrame < "u" ? requestAnimationFrame : N, !0), KD = bA({ strict: !1 }), BM = {
1374
+ const { schedule: K, cancel: cA, state: L, steps: Fg } = dD(typeof requestAnimationFrame < "u" ? requestAnimationFrame : N, !0), KD = bA({ strict: !1 }), BM = {
1375
1375
  animation: [
1376
1376
  "animate",
1377
1377
  "variants",
@@ -1434,12 +1434,12 @@ const xe = /* @__PURE__ */ new Set([
1434
1434
  "ignoreStrict",
1435
1435
  "viewport"
1436
1436
  ]);
1437
- function Zg(g) {
1437
+ function Ug(g) {
1438
1438
  return g.startsWith("while") || g.startsWith("drag") && g !== "draggable" || g.startsWith("layout") || g.startsWith("onTap") || g.startsWith("onPan") || g.startsWith("onLayout") || xe.has(g);
1439
1439
  }
1440
- let RD = (g) => !Zg(g);
1440
+ let RD = (g) => !Ug(g);
1441
1441
  function We(g) {
1442
- g && (RD = (A) => A.startsWith("on") ? !Zg(A) : g(A));
1442
+ g && (RD = (A) => A.startsWith("on") ? !Ug(A) : g(A));
1443
1443
  }
1444
1444
  try {
1445
1445
  We(require("@emotion/is-prop-valid").default);
@@ -1448,18 +1448,18 @@ try {
1448
1448
  function $e(g, A, B) {
1449
1449
  const M = {};
1450
1450
  for (const D in g)
1451
- D === "values" && typeof g.values == "object" || (RD(D) || B === !0 && Zg(D) || !A && !Zg(D) || // If trying to use native HTML drag events, forward drag listeners
1451
+ D === "values" && typeof g.values == "object" || (RD(D) || B === !0 && Ug(D) || !A && !Ug(D) || // If trying to use native HTML drag events, forward drag listeners
1452
1452
  g.draggable && D.startsWith("onDrag")) && (M[D] = g[D]);
1453
1453
  return M;
1454
1454
  }
1455
1455
  const MM = /* @__PURE__ */ new Set();
1456
- function pg(g, A, B) {
1456
+ function Rg(g, A, B) {
1457
1457
  g || MM.has(A) || (console.warn(A), MM.add(A));
1458
1458
  }
1459
1459
  function _e(g) {
1460
1460
  if (typeof Proxy > "u")
1461
1461
  return g;
1462
- const A = /* @__PURE__ */ new Map(), B = (...M) => (process.env.NODE_ENV !== "production" && pg(!1, "motion() is deprecated. Use motion.create() instead."), g(...M));
1462
+ const A = /* @__PURE__ */ new Map(), B = (...M) => (process.env.NODE_ENV !== "production" && Rg(!1, "motion() is deprecated. Use motion.create() instead."), g(...M));
1463
1463
  return new Proxy(B, {
1464
1464
  /**
1465
1465
  * Called when `motion` is referenced with a prop: `motion.div`, `motion.input` etc.
@@ -1469,11 +1469,11 @@ function _e(g) {
1469
1469
  get: (M, D) => D === "create" ? g : (A.has(D) || A.set(D, g(D)), A.get(D))
1470
1470
  });
1471
1471
  }
1472
- const hg = bA({});
1472
+ const pg = bA({});
1473
1473
  function wg(g) {
1474
1474
  return typeof g == "string" || Array.isArray(g);
1475
1475
  }
1476
- function Jg(g) {
1476
+ function hg(g) {
1477
1477
  return g !== null && typeof g == "object" && typeof g.start == "function";
1478
1478
  }
1479
1479
  const yB = [
@@ -1485,14 +1485,14 @@ const yB = [
1485
1485
  "whileDrag",
1486
1486
  "exit"
1487
1487
  ], uB = ["initial", ...yB];
1488
- function zg(g) {
1489
- return Jg(g.animate) || uB.some((A) => wg(g[A]));
1488
+ function Jg(g) {
1489
+ return hg(g.animate) || uB.some((A) => wg(g[A]));
1490
1490
  }
1491
1491
  function pD(g) {
1492
- return !!(zg(g) || g.variants);
1492
+ return !!(Jg(g) || g.variants);
1493
1493
  }
1494
1494
  function At(g, A) {
1495
- if (zg(g)) {
1495
+ if (Jg(g)) {
1496
1496
  const { initial: B, animate: M } = g;
1497
1497
  return {
1498
1498
  initial: B === !1 || wg(B) ? B : void 0,
@@ -1502,8 +1502,8 @@ function At(g, A) {
1502
1502
  return g.inherit !== !1 ? A : {};
1503
1503
  }
1504
1504
  function gt(g) {
1505
- const { initial: A, animate: B } = At(g, X(hg));
1506
- return Rg(() => ({ initial: A, animate: B }), [DM(A), DM(B)]);
1505
+ const { initial: A, animate: B } = At(g, X(pg));
1506
+ return Kg(() => ({ initial: A, animate: B }), [DM(A), DM(B)]);
1507
1507
  }
1508
1508
  function DM(g) {
1509
1509
  return Array.isArray(g) ? g.join(" ") : g;
@@ -1528,7 +1528,7 @@ function Mt(g, A, B) {
1528
1528
  const mB = (g) => g.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), Dt = "framerAppearId", hD = "data-" + mB(Dt), { schedule: UB, cancel: as } = dD(queueMicrotask, !1), JD = bA({});
1529
1529
  function wt(g, A, B, M, D) {
1530
1530
  var e, w;
1531
- const { visualElement: Q } = X(hg), t = X(KD), C = X(aB), i = X(qD).reducedMotion, s = wA(null);
1531
+ const { visualElement: Q } = X(pg), t = X(KD), C = X(aB), i = X(qD).reducedMotion, s = wA(null);
1532
1532
  M = M || t.renderer, !s.current && M && (s.current = M(g, {
1533
1533
  visualState: A,
1534
1534
  parent: Q,
@@ -1592,7 +1592,7 @@ function tt({ preloadedFeatures: g, createVisualElement: A, useRender: B, useVis
1592
1592
  const G = it(o);
1593
1593
  s = G.MeasureLayout, E.visualElement = wt(D, l, o, A, G.ProjectionNode);
1594
1594
  }
1595
- return f(hg.Provider, { value: E, children: [s && E.visualElement ? I(s, { visualElement: E.visualElement, ...o }) : null, B(D, C, Mt(l, E.visualElement, i), l, n, E.visualElement)] });
1595
+ return f(pg.Provider, { value: E, children: [s && E.visualElement ? I(s, { visualElement: E.visualElement, ...o }) : null, B(D, C, Mt(l, E.visualElement, i), l, n, E.visualElement)] });
1596
1596
  }
1597
1597
  Q.displayName = `motion.${typeof D == "string" ? D : `create(${(w = (e = D.displayName) !== null && e !== void 0 ? e : D.name) !== null && w !== void 0 ? w : ""})`}`;
1598
1598
  const t = yA(Q);
@@ -1684,7 +1684,7 @@ function VB(g, A, B, M) {
1684
1684
  return A;
1685
1685
  }
1686
1686
  const AB = (g) => Array.isArray(g), ot = (g) => !!(g && typeof g == "object" && g.mix && g.toValue), It = (g) => AB(g) ? g[g.length - 1] || 0 : g, H = (g) => !!(g && g.getVelocity);
1687
- function cg(g) {
1687
+ function ag(g) {
1688
1688
  const A = H(g) ? g.get() : g;
1689
1689
  return ot(A) ? A.toValue() : A;
1690
1690
  }
@@ -1696,32 +1696,32 @@ function nt({ scrapeMotionValuesFromProps: g, createRenderState: A, onUpdate: B
1696
1696
  return B && (w.onMount = (Q) => B({ props: M, current: Q, ...w }), w.onUpdate = (Q) => B(Q)), w;
1697
1697
  }
1698
1698
  const vD = (g) => (A, B) => {
1699
- const M = X(hg), D = X(aB), e = () => nt(g, A, M, D);
1699
+ const M = X(pg), D = X(aB), e = () => nt(g, A, M, D);
1700
1700
  return B ? e() : be(e);
1701
1701
  };
1702
1702
  function Et(g, A, B, M) {
1703
1703
  const D = {}, e = M(g, {});
1704
1704
  for (const o in e)
1705
- D[o] = cg(e[o]);
1705
+ D[o] = ag(e[o]);
1706
1706
  let { initial: w, animate: Q } = g;
1707
- const t = zg(g), C = pD(g);
1707
+ const t = Jg(g), C = pD(g);
1708
1708
  A && C && !t && g.inherit !== !1 && (w === void 0 && (w = A.initial), Q === void 0 && (Q = A.animate));
1709
1709
  let i = B ? B.initial === !1 : !1;
1710
1710
  i = i || w === !1;
1711
1711
  const s = i ? Q : w;
1712
- if (s && typeof s != "boolean" && !Jg(s)) {
1712
+ if (s && typeof s != "boolean" && !hg(s)) {
1713
1713
  const o = Array.isArray(s) ? s : [s];
1714
1714
  for (let n = 0; n < o.length; n++) {
1715
1715
  const E = VB(g, o[n]);
1716
1716
  if (E) {
1717
1717
  const { transitionEnd: l, transition: G, ...r } = E;
1718
1718
  for (const a in r) {
1719
- let c = r[a];
1720
- if (Array.isArray(c)) {
1721
- const V = i ? c.length - 1 : 0;
1722
- c = c[V];
1719
+ let Y = r[a];
1720
+ if (Array.isArray(Y)) {
1721
+ const V = i ? Y.length - 1 : 0;
1722
+ Y = Y[V];
1723
1723
  }
1724
- c !== null && (D[a] = c);
1724
+ Y !== null && (D[a] = Y);
1725
1725
  }
1726
1726
  for (const a in l)
1727
1727
  D[a] = l[a];
@@ -1762,46 +1762,46 @@ const HA = [
1762
1762
  test: (A) => typeof A == "string" && A.endsWith(g) && A.split(" ").length === 1,
1763
1763
  parse: parseFloat,
1764
1764
  transform: (A) => `${A}${g}`
1765
- }), GA = /* @__PURE__ */ ig("deg"), CA = /* @__PURE__ */ ig("%"), m = /* @__PURE__ */ ig("px"), Gt = /* @__PURE__ */ ig("vh"), at = /* @__PURE__ */ ig("vw"), eM = {
1765
+ }), GA = /* @__PURE__ */ ig("deg"), CA = /* @__PURE__ */ ig("%"), U = /* @__PURE__ */ ig("px"), Gt = /* @__PURE__ */ ig("vh"), at = /* @__PURE__ */ ig("vw"), eM = {
1766
1766
  ...CA,
1767
1767
  parse: (g) => CA.parse(g) / 100,
1768
1768
  transform: (g) => CA.transform(g * 100)
1769
1769
  }, ct = {
1770
1770
  // Border props
1771
- borderWidth: m,
1772
- borderTopWidth: m,
1773
- borderRightWidth: m,
1774
- borderBottomWidth: m,
1775
- borderLeftWidth: m,
1776
- borderRadius: m,
1777
- radius: m,
1778
- borderTopLeftRadius: m,
1779
- borderTopRightRadius: m,
1780
- borderBottomRightRadius: m,
1781
- borderBottomLeftRadius: m,
1771
+ borderWidth: U,
1772
+ borderTopWidth: U,
1773
+ borderRightWidth: U,
1774
+ borderBottomWidth: U,
1775
+ borderLeftWidth: U,
1776
+ borderRadius: U,
1777
+ radius: U,
1778
+ borderTopLeftRadius: U,
1779
+ borderTopRightRadius: U,
1780
+ borderBottomRightRadius: U,
1781
+ borderBottomLeftRadius: U,
1782
1782
  // Positioning props
1783
- width: m,
1784
- maxWidth: m,
1785
- height: m,
1786
- maxHeight: m,
1787
- top: m,
1788
- right: m,
1789
- bottom: m,
1790
- left: m,
1783
+ width: U,
1784
+ maxWidth: U,
1785
+ height: U,
1786
+ maxHeight: U,
1787
+ top: U,
1788
+ right: U,
1789
+ bottom: U,
1790
+ left: U,
1791
1791
  // Spacing props
1792
- padding: m,
1793
- paddingTop: m,
1794
- paddingRight: m,
1795
- paddingBottom: m,
1796
- paddingLeft: m,
1797
- margin: m,
1798
- marginTop: m,
1799
- marginRight: m,
1800
- marginBottom: m,
1801
- marginLeft: m,
1792
+ padding: U,
1793
+ paddingTop: U,
1794
+ paddingRight: U,
1795
+ paddingBottom: U,
1796
+ paddingLeft: U,
1797
+ margin: U,
1798
+ marginTop: U,
1799
+ marginRight: U,
1800
+ marginBottom: U,
1801
+ marginLeft: U,
1802
1802
  // Misc
1803
- backgroundPositionX: m,
1804
- backgroundPositionY: m
1803
+ backgroundPositionX: U,
1804
+ backgroundPositionY: U
1805
1805
  }, Yt = {
1806
1806
  rotate: GA,
1807
1807
  rotateX: GA,
@@ -1814,19 +1814,19 @@ const HA = [
1814
1814
  skew: GA,
1815
1815
  skewX: GA,
1816
1816
  skewY: GA,
1817
- distance: m,
1818
- translateX: m,
1819
- translateY: m,
1820
- translateZ: m,
1821
- x: m,
1822
- y: m,
1823
- z: m,
1824
- perspective: m,
1825
- transformPerspective: m,
1817
+ distance: U,
1818
+ translateX: U,
1819
+ translateY: U,
1820
+ translateZ: U,
1821
+ x: U,
1822
+ y: U,
1823
+ z: U,
1824
+ perspective: U,
1825
+ transformPerspective: U,
1826
1826
  opacity: eg,
1827
1827
  originX: eM,
1828
1828
  originY: eM,
1829
- originZ: m
1829
+ originZ: U
1830
1830
  }, tM = {
1831
1831
  ...SA,
1832
1832
  transform: Math.round
@@ -1834,7 +1834,7 @@ const HA = [
1834
1834
  ...ct,
1835
1835
  ...Yt,
1836
1836
  zIndex: tM,
1837
- size: m,
1837
+ size: U,
1838
1838
  // SVG
1839
1839
  fillOpacity: eg,
1840
1840
  strokeOpacity: eg,
@@ -1895,12 +1895,12 @@ const Ut = {
1895
1895
  function Vt(g, A, B = 1, M = 0, D = !0) {
1896
1896
  g.pathLength = 1;
1897
1897
  const e = D ? Ut : Zt;
1898
- g[e.offset] = m.transform(-M);
1899
- const w = m.transform(A), Q = m.transform(B);
1898
+ g[e.offset] = U.transform(-M);
1899
+ const w = U.transform(A), Q = U.transform(B);
1900
1900
  g[e.array] = `${w} ${Q}`;
1901
1901
  }
1902
1902
  function QM(g, A, B) {
1903
- return typeof g == "string" ? g : m.transform(A + B * g);
1903
+ return typeof g == "string" ? g : U.transform(A + B * g);
1904
1904
  }
1905
1905
  function ft(g, A, B) {
1906
1906
  const M = QM(A, g.x, g.width), D = QM(B, g.y, g.height);
@@ -1970,12 +1970,12 @@ function HD(g, A, B, M) {
1970
1970
  for (const D in A.attrs)
1971
1971
  g.setAttribute(jD.has(D) ? D : mB(D), A.attrs[D]);
1972
1972
  }
1973
- const Vg = {};
1973
+ const Zg = {};
1974
1974
  function kt(g) {
1975
- Object.assign(Vg, g);
1975
+ Object.assign(Zg, g);
1976
1976
  }
1977
1977
  function SD(g, { layout: A, layoutId: B }) {
1978
- return dA.has(g) || g.startsWith("origin") || (A || B !== void 0) && (!!Vg[g] || g === "opacity");
1978
+ return dA.has(g) || g.startsWith("origin") || (A || B !== void 0) && (!!Zg[g] || g === "opacity");
1979
1979
  }
1980
1980
  function pB(g, A, B) {
1981
1981
  var M;
@@ -2028,8 +2028,8 @@ const CM = ["x", "y", "width", "height", "cx", "cy", "r"], dt = {
2028
2028
  const t = CM[Q];
2029
2029
  g[t] !== A[t] && (w = !0);
2030
2030
  }
2031
- w && d.read(() => {
2032
- qt(B, M), d.render(() => {
2031
+ w && K.read(() => {
2032
+ qt(B, M), K.render(() => {
2033
2033
  dB(M, D, RB(B.tagName), g.transformTemplate), HD(B, M);
2034
2034
  });
2035
2035
  });
@@ -2046,7 +2046,7 @@ function XD(g, A, B) {
2046
2046
  !H(A[M]) && !SD(M, B) && (g[M] = A[M]);
2047
2047
  }
2048
2048
  function Rt({ transformTemplate: g }, A) {
2049
- return Rg(() => {
2049
+ return Kg(() => {
2050
2050
  const B = KB();
2051
2051
  return qB(B, A, g), Object.assign({}, B.vars, B.style);
2052
2052
  }, [A]);
@@ -2060,7 +2060,7 @@ function ht(g, A) {
2060
2060
  return g.drag && g.dragListener !== !1 && (B.draggable = !1, M.userSelect = M.WebkitUserSelect = M.WebkitTouchCallout = "none", M.touchAction = g.drag === !0 ? "none" : `pan-${g.drag === "x" ? "y" : "x"}`), g.tabIndex === void 0 && (g.onTap || g.onTapStart || g.whileTap) && (B.tabIndex = 0), B.style = M, B;
2061
2061
  }
2062
2062
  function Jt(g, A, B, M) {
2063
- const D = Rg(() => {
2063
+ const D = Kg(() => {
2064
2064
  const e = OD();
2065
2065
  return dB(e, A, RB(M), g.transformTemplate), {
2066
2066
  ...e.attrs,
@@ -2075,7 +2075,7 @@ function Jt(g, A, B, M) {
2075
2075
  }
2076
2076
  function zt(g = !1) {
2077
2077
  return (B, M, D, { latestValues: e }, w) => {
2078
- const t = (ZB(B) ? Jt : ht)(M, e, w, B), C = $e(M, typeof B == "string", g), i = B !== cD ? { ...C, ...t, ref: D } : {}, { children: s } = M, o = Rg(() => H(s) ? s.get() : s, [s]);
2078
+ const t = (ZB(B) ? Jt : ht)(M, e, w, B), C = $e(M, typeof B == "string", g), i = B !== cD ? { ...C, ...t, ref: D } : {}, { children: s } = M, o = Kg(() => H(s) ? s.get() : s, [s]);
2079
2079
  return ee(B, {
2080
2080
  ...i,
2081
2081
  children: o
@@ -2105,7 +2105,7 @@ function ND(g, A) {
2105
2105
  return !1;
2106
2106
  return !0;
2107
2107
  }
2108
- function vg(g, A, B) {
2108
+ function zg(g, A, B) {
2109
2109
  const M = g.getProps();
2110
2110
  return VB(M, A, B !== void 0 ? B : M.custom, g);
2111
2111
  }
@@ -2213,7 +2213,7 @@ function bt(g, A) {
2213
2213
  return (M = Ot[A]) !== null && M !== void 0 ? M : B();
2214
2214
  };
2215
2215
  }
2216
- const fg = /* @__PURE__ */ bt(() => {
2216
+ const Vg = /* @__PURE__ */ bt(() => {
2217
2217
  try {
2218
2218
  document.createElement("div").animate({ opacity: 0 }, { easing: "linear(0, 1)" });
2219
2219
  } catch {
@@ -2228,7 +2228,7 @@ const fg = /* @__PURE__ */ bt(() => {
2228
2228
  return `linear(${M.substring(0, M.length - 2)})`;
2229
2229
  };
2230
2230
  function $D(g) {
2231
- return !!(typeof g == "function" && fg() || !g || typeof g == "string" && (g in BB || fg()) || zB(g) || Array.isArray(g) && g.every($D));
2231
+ return !!(typeof g == "function" && Vg() || !g || typeof g == "string" && (g in BB || Vg()) || zB(g) || Array.isArray(g) && g.every($D));
2232
2232
  }
2233
2233
  const WA = ([g, A, B, M]) => `cubic-bezier(${g}, ${A}, ${B}, ${M})`, BB = {
2234
2234
  linear: "linear",
@@ -2243,7 +2243,7 @@ const WA = ([g, A, B, M]) => `cubic-bezier(${g}, ${A}, ${B}, ${M})`, BB = {
2243
2243
  };
2244
2244
  function _D(g, A) {
2245
2245
  if (g)
2246
- return typeof g == "function" && fg() ? WD(g, A) : zB(g) ? WA(g) : Array.isArray(g) ? g.map((B) => _D(B, A) || BB.easeOut) : BB[g];
2246
+ return typeof g == "function" && Vg() ? WD(g, A) : zB(g) ? WA(g) : Array.isArray(g) ? g.map((B) => _D(B, A) || BB.easeOut) : BB[g];
2247
2247
  }
2248
2248
  const MA = {
2249
2249
  x: !1,
@@ -2306,7 +2306,7 @@ function oM(g) {
2306
2306
  A.key === "Enter" && g(A);
2307
2307
  };
2308
2308
  }
2309
- function bg(g, A) {
2309
+ function Og(g, A) {
2310
2310
  g.dispatchEvent(new PointerEvent("pointer" + A, { isPrimary: !0, bubbles: !0 }));
2311
2311
  }
2312
2312
  const Xt = (g, A) => {
@@ -2316,10 +2316,10 @@ const Xt = (g, A) => {
2316
2316
  const M = oM(() => {
2317
2317
  if ($A.has(B))
2318
2318
  return;
2319
- bg(B, "down");
2319
+ Og(B, "down");
2320
2320
  const D = oM(() => {
2321
- bg(B, "up");
2322
- }), e = () => bg(B, "cancel");
2321
+ Og(B, "up");
2322
+ }), e = () => Og(B, "cancel");
2323
2323
  B.addEventListener("keyup", D, A), B.addEventListener("blur", e, A);
2324
2324
  });
2325
2325
  B.addEventListener("keydown", M, A), B.addEventListener("blur", () => B.removeEventListener("keydown", M), A);
@@ -2362,14 +2362,14 @@ const Mw = /* @__PURE__ */ new Set([
2362
2362
  "bottom",
2363
2363
  ...HA
2364
2364
  ]);
2365
- let Yg;
2365
+ let cg;
2366
2366
  function Wt() {
2367
- Yg = void 0;
2367
+ cg = void 0;
2368
2368
  }
2369
2369
  const iA = {
2370
- now: () => (Yg === void 0 && iA.set(L.isProcessing || Se.useManualTiming ? L.timestamp : performance.now()), Yg),
2370
+ now: () => (cg === void 0 && iA.set(L.isProcessing || Se.useManualTiming ? L.timestamp : performance.now()), cg),
2371
2371
  set: (g) => {
2372
- Yg = g, queueMicrotask(Wt);
2372
+ cg = g, queueMicrotask(Wt);
2373
2373
  }
2374
2374
  };
2375
2375
  function PB(g, A) {
@@ -2470,13 +2470,13 @@ class _t {
2470
2470
  * @deprecated
2471
2471
  */
2472
2472
  onChange(A) {
2473
- return process.env.NODE_ENV !== "production" && pg(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", A);
2473
+ return process.env.NODE_ENV !== "production" && Rg(!1, 'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'), this.on("change", A);
2474
2474
  }
2475
2475
  on(A, B) {
2476
2476
  this.events[A] || (this.events[A] = new FB());
2477
2477
  const M = this.events[A].add(B);
2478
2478
  return A === "change" ? () => {
2479
- M(), d.read(() => {
2479
+ M(), K.read(() => {
2480
2480
  this.events.change.getSize() || this.stop();
2481
2481
  });
2482
2482
  } : M;
@@ -2609,7 +2609,7 @@ function AQ(g, A, B) {
2609
2609
  g.hasValue(A) ? g.getValue(A).set(B) : g.addValue(A, tg(B));
2610
2610
  }
2611
2611
  function gQ(g, A) {
2612
- const B = vg(g, A);
2612
+ const B = zg(g, A);
2613
2613
  let { transitionEnd: M = {}, transition: D = {}, ...e } = B || {};
2614
2614
  e = { ...e, ...M };
2615
2615
  for (const w in e) {
@@ -2660,13 +2660,13 @@ const QQ = /^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s
2660
2660
  [B]: parseFloat(w),
2661
2661
  alpha: Q !== void 0 ? parseFloat(Q) : 1
2662
2662
  };
2663
- }, CQ = (g) => EA(0, 255, g), jg = {
2663
+ }, CQ = (g) => EA(0, 255, g), bg = {
2664
2664
  ...SA,
2665
2665
  transform: (g) => Math.round(CQ(g))
2666
2666
  }, kA = {
2667
2667
  test: /* @__PURE__ */ HB("rgb", "red"),
2668
2668
  parse: /* @__PURE__ */ Ew("red", "green", "blue"),
2669
- transform: ({ red: g, green: A, blue: B, alpha: M = 1 }) => "rgba(" + jg.transform(g) + ", " + jg.transform(A) + ", " + jg.transform(B) + ", " + gg(eg.transform(M)) + ")"
2669
+ transform: ({ red: g, green: A, blue: B, alpha: M = 1 }) => "rgba(" + bg.transform(g) + ", " + bg.transform(A) + ", " + bg.transform(B) + ", " + gg(eg.transform(M)) + ")"
2670
2670
  };
2671
2671
  function iQ(g) {
2672
2672
  let A = "", B = "", M = "", D = "";
@@ -2780,7 +2780,7 @@ function uQ(g, A, B) {
2780
2780
  for (const e of A)
2781
2781
  g[e] = cw(B, D);
2782
2782
  }
2783
- const lM = (g) => g === SA || g === m, rM = (g, A) => parseFloat(g.split(", ")[A]), GM = (g, A) => (B, { transform: M }) => {
2783
+ const lM = (g) => g === SA || g === U, rM = (g, A) => parseFloat(g.split(", ")[A]), GM = (g, A) => (B, { transform: M }) => {
2784
2784
  if (M === "none" || !M)
2785
2785
  return 0;
2786
2786
  const D = M.match(/^matrix3d\((.+)\)$/u);
@@ -2846,7 +2846,7 @@ class TB {
2846
2846
  this.isComplete = !1, this.isAsync = !1, this.needsMeasurement = !1, this.isScheduled = !1, this.unresolvedKeyframes = [...A], this.onComplete = B, this.name = M, this.motionValue = D, this.element = e, this.isAsync = w;
2847
2847
  }
2848
2848
  scheduleResolve() {
2849
- this.isScheduled = !0, this.isAsync ? (qA.add(this), eB || (eB = !0, d.read(yw), d.resolveKeyframes(Yw))) : (this.readKeyframes(), this.complete());
2849
+ this.isScheduled = !0, this.isAsync ? (qA.add(this), eB || (eB = !0, K.read(yw), K.resolveKeyframes(Yw))) : (this.readKeyframes(), this.complete());
2850
2850
  }
2851
2851
  readKeyframes() {
2852
2852
  const { unresolvedKeyframes: A, name: B, element: M, motionValue: D } = this;
@@ -2909,7 +2909,7 @@ function mw(g, A, B = 1) {
2909
2909
  const Uw = (g) => (A) => A.test(g), dQ = {
2910
2910
  test: (g) => g === "auto",
2911
2911
  parse: (g) => g
2912
- }, Zw = [SA, m, CA, GA, at, Gt, dQ], aM = (g) => Zw.find(Uw(g));
2912
+ }, Zw = [SA, U, CA, GA, at, Gt, dQ], aM = (g) => Zw.find(Uw(g));
2913
2913
  class Vw extends TB {
2914
2914
  constructor(A, B, M, D, e) {
2915
2915
  super(A, B, M, D, e, !0);
@@ -2986,7 +2986,7 @@ function RQ(g, A, B, M) {
2986
2986
  return jA(w === Q, `You are trying to animate ${A} from "${D}" to "${e}". ${D} is not an animatable value - to enable this animation set ${D} to a value animatable to ${e} via the \`style\` property.`), !w || !Q ? !1 : KQ(g) || (B === "spring" || JB(B)) && M;
2987
2987
  }
2988
2988
  const pQ = (g) => g !== null;
2989
- function Pg(g, { repeat: A, repeatType: B = "loop" }, M) {
2989
+ function vg(g, { repeat: A, repeatType: B = "loop" }, M) {
2990
2990
  const D = g.filter(pQ), e = A && B !== "loop" && A % 2 === 1 ? 0 : D.length - 1;
2991
2991
  return !e || M === void 0 ? D[e] : M;
2992
2992
  }
@@ -3036,7 +3036,7 @@ class fw {
3036
3036
  if (w)
3037
3037
  this.options.duration = 0;
3038
3038
  else {
3039
- t && t(Pg(A, this.options, B)), Q && Q(), this.resolveFinishedPromise();
3039
+ t && t(vg(A, this.options, B)), Q && Q(), this.resolveFinishedPromise();
3040
3040
  return;
3041
3041
  }
3042
3042
  const i = this.initPlayback(A, B);
@@ -3066,7 +3066,7 @@ class fw {
3066
3066
  }
3067
3067
  }
3068
3068
  const h = (g, A, B) => g + (A - g) * B;
3069
- function Hg(g, A, B) {
3069
+ function jg(g, A, B) {
3070
3070
  return B < 0 && (B += 1), B > 1 && (B -= 1), B < 1 / 6 ? g + (A - g) * 6 * B : B < 1 / 2 ? A : B < 2 / 3 ? g + (A - g) * (2 / 3 - B) * 6 : g;
3071
3071
  }
3072
3072
  function JQ({ hue: g, saturation: A, lightness: B, alpha: M }) {
@@ -3076,7 +3076,7 @@ function JQ({ hue: g, saturation: A, lightness: B, alpha: M }) {
3076
3076
  D = e = w = B;
3077
3077
  else {
3078
3078
  const Q = B < 0.5 ? B * (1 + A) : B + A - B * A, t = 2 * B - Q;
3079
- D = Hg(t, Q, g + 1 / 3), e = Hg(t, Q, g), w = Hg(t, Q, g - 1 / 3);
3079
+ D = jg(t, Q, g + 1 / 3), e = jg(t, Q, g), w = jg(t, Q, g - 1 / 3);
3080
3080
  }
3081
3081
  return {
3082
3082
  red: Math.round(D * 255),
@@ -3085,10 +3085,10 @@ function JQ({ hue: g, saturation: A, lightness: B, alpha: M }) {
3085
3085
  alpha: M
3086
3086
  };
3087
3087
  }
3088
- function kg(g, A) {
3088
+ function fg(g, A) {
3089
3089
  return (B) => B > 0 ? A : g;
3090
3090
  }
3091
- const Sg = (g, A, B) => {
3091
+ const Hg = (g, A, B) => {
3092
3092
  const M = g * g, D = B * (A * A - M) + M;
3093
3093
  return D < 0 ? 0 : Math.sqrt(D);
3094
3094
  }, zQ = [DB, kA, pA], vQ = (g) => zQ.find((A) => A.test(g));
@@ -3102,9 +3102,9 @@ function YM(g) {
3102
3102
  const yM = (g, A) => {
3103
3103
  const B = YM(g), M = YM(A);
3104
3104
  if (!B || !M)
3105
- return kg(g, A);
3105
+ return fg(g, A);
3106
3106
  const D = { ...B };
3107
- return (e) => (D.red = Sg(B.red, M.red, e), D.green = Sg(B.green, M.green, e), D.blue = Sg(B.blue, M.blue, e), D.alpha = h(B.alpha, M.alpha, e), kA.transform(D));
3107
+ return (e) => (D.red = Hg(B.red, M.red, e), D.green = Hg(B.green, M.green, e), D.blue = Hg(B.blue, M.blue, e), D.alpha = h(B.alpha, M.alpha, e), kA.transform(D));
3108
3108
  }, PQ = (g, A) => (B) => A(g(B)), og = (...g) => g.reduce(PQ), QB = /* @__PURE__ */ new Set(["none", "hidden"]);
3109
3109
  function LQ(g, A) {
3110
3110
  return QB.has(g) ? (B) => B <= 0 ? g : A : (B) => B >= 1 ? A : g;
@@ -3113,7 +3113,7 @@ function FQ(g, A) {
3113
3113
  return (B) => h(g, A, B);
3114
3114
  }
3115
3115
  function XB(g) {
3116
- return typeof g == "number" ? FQ : typeof g == "string" ? fB(g) ? kg : j.test(g) ? yM : jQ : Array.isArray(g) ? kw : typeof g == "object" ? j.test(g) ? yM : OQ : kg;
3116
+ return typeof g == "number" ? FQ : typeof g == "string" ? fB(g) ? fg : j.test(g) ? yM : jQ : Array.isArray(g) ? kw : typeof g == "object" ? j.test(g) ? yM : OQ : fg;
3117
3117
  }
3118
3118
  function kw(g, A) {
3119
3119
  const B = [...g], M = B.length, D = g.map((e, w) => XB(e)(e, A[w]));
@@ -3144,7 +3144,7 @@ function bQ(g, A) {
3144
3144
  }
3145
3145
  const jQ = (g, A) => {
3146
3146
  const B = YA.createTransformer(A), M = Qg(g), D = Qg(A);
3147
- return M.indexes.var.length === D.indexes.var.length && M.indexes.color.length === D.indexes.color.length && M.indexes.number.length >= D.indexes.number.length ? QB.has(g) && !D.values.length || QB.has(A) && !M.values.length ? LQ(g, A) : og(kw(bQ(M, D), D.values), B) : (jA(!0, `Complex values '${g}' and '${A}' 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.`), kg(g, A));
3147
+ return M.indexes.var.length === D.indexes.var.length && M.indexes.color.length === D.indexes.color.length && M.indexes.number.length >= D.indexes.number.length ? QB.has(g) && !D.values.length || QB.has(A) && !M.values.length ? LQ(g, A) : og(kw(bQ(M, D), D.values), B) : (jA(!0, `Complex values '${g}' and '${A}' 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.`), fg(g, A));
3148
3148
  };
3149
3149
  function qw(g, A, B) {
3150
3150
  return typeof g == "number" && typeof A == "number" && typeof B == "number" ? h(g, A, B) : XB(g)(g, A);
@@ -3270,39 +3270,39 @@ function Kw(g = p.visualDuration, A = p.bounce) {
3270
3270
  velocity: -/* @__PURE__ */ nA(B.velocity || 0)
3271
3271
  }), E = o || 0, l = C / (2 * Math.sqrt(t * i)), G = w - e, r = /* @__PURE__ */ nA(Math.sqrt(t / i)), a = Math.abs(G) < 5;
3272
3272
  M || (M = a ? p.restSpeed.granular : p.restSpeed.default), D || (D = a ? p.restDelta.granular : p.restDelta.default);
3273
- let c;
3273
+ let Y;
3274
3274
  if (l < 1) {
3275
- const y = CB(r, l);
3276
- c = (u) => {
3277
- const q = Math.exp(-l * r * u);
3278
- return w - q * ((E + l * r * G) / y * Math.sin(y * u) + G * Math.cos(y * u));
3275
+ const u = CB(r, l);
3276
+ Y = (y) => {
3277
+ const k = Math.exp(-l * r * y);
3278
+ return w - k * ((E + l * r * G) / u * Math.sin(u * y) + G * Math.cos(u * y));
3279
3279
  };
3280
3280
  } else if (l === 1)
3281
- c = (y) => w - Math.exp(-r * y) * (G + (E + r * G) * y);
3281
+ Y = (u) => w - Math.exp(-r * u) * (G + (E + r * G) * u);
3282
3282
  else {
3283
- const y = r * Math.sqrt(l * l - 1);
3284
- c = (u) => {
3285
- const q = Math.exp(-l * r * u), U = Math.min(y * u, 300);
3286
- return w - q * ((E + l * r * G) * Math.sinh(U) + y * G * Math.cosh(U)) / y;
3283
+ const u = r * Math.sqrt(l * l - 1);
3284
+ Y = (y) => {
3285
+ const k = Math.exp(-l * r * y), m = Math.min(u * y, 300);
3286
+ return w - k * ((E + l * r * G) * Math.sinh(m) + u * G * Math.cosh(m)) / u;
3287
3287
  };
3288
3288
  }
3289
3289
  const V = {
3290
3290
  calculatedDuration: n && s || null,
3291
- next: (y) => {
3292
- const u = c(y);
3291
+ next: (u) => {
3292
+ const y = Y(u);
3293
3293
  if (n)
3294
- Q.done = y >= s;
3294
+ Q.done = u >= s;
3295
3295
  else {
3296
- let q = 0;
3297
- l < 1 && (q = y === 0 ? /* @__PURE__ */ QA(E) : dw(c, y, u));
3298
- const U = Math.abs(q) <= M, K = Math.abs(w - u) <= D;
3299
- Q.done = U && K;
3296
+ let k = 0;
3297
+ l < 1 && (k = u === 0 ? /* @__PURE__ */ QA(E) : dw(Y, u, y));
3298
+ const m = Math.abs(k) <= M, d = Math.abs(w - y) <= D;
3299
+ Q.done = m && d;
3300
3300
  }
3301
- return Q.value = Q.done ? w : u, Q;
3301
+ return Q.value = Q.done ? w : y, Q;
3302
3302
  },
3303
3303
  toString: () => {
3304
- const y = Math.min(xD(V), gB), u = WD((q) => V.next(y * q).value, y, 30);
3305
- return y + "ms " + u;
3304
+ const u = Math.min(xD(V), gB), y = WD((k) => V.next(u * k).value, u, 30);
3305
+ return u + "ms " + y;
3306
3306
  }
3307
3307
  };
3308
3308
  return V;
@@ -3311,19 +3311,19 @@ function UM({ keyframes: g, velocity: A = 0, power: B = 0.8, timeConstant: M = 3
3311
3311
  const s = g[0], o = {
3312
3312
  done: !1,
3313
3313
  value: s
3314
- }, n = (U) => Q !== void 0 && U < Q || t !== void 0 && U > t, E = (U) => Q === void 0 ? t : t === void 0 || Math.abs(Q - U) < Math.abs(t - U) ? Q : t;
3314
+ }, n = (m) => Q !== void 0 && m < Q || t !== void 0 && m > t, E = (m) => Q === void 0 ? t : t === void 0 || Math.abs(Q - m) < Math.abs(t - m) ? Q : t;
3315
3315
  let l = B * A;
3316
3316
  const G = s + l, r = w === void 0 ? G : w(G);
3317
3317
  r !== G && (l = r - s);
3318
- const a = (U) => -l * Math.exp(-U / M), c = (U) => r + a(U), V = (U) => {
3319
- const K = a(U), P = c(U);
3320
- o.done = Math.abs(K) <= C, o.value = o.done ? r : P;
3318
+ const a = (m) => -l * Math.exp(-m / M), Y = (m) => r + a(m), V = (m) => {
3319
+ const d = a(m), P = Y(m);
3320
+ o.done = Math.abs(d) <= C, o.value = o.done ? r : P;
3321
3321
  };
3322
- let y, u;
3323
- const q = (U) => {
3324
- n(o.value) && (y = U, u = Kw({
3322
+ let u, y;
3323
+ const k = (m) => {
3324
+ n(o.value) && (u = m, y = Kw({
3325
3325
  keyframes: [o.value, E(o.value)],
3326
- velocity: dw(c, U, o.value),
3326
+ velocity: dw(Y, m, o.value),
3327
3327
  // TODO: This should be passing * 1000
3328
3328
  damping: D,
3329
3329
  stiffness: e,
@@ -3331,11 +3331,11 @@ function UM({ keyframes: g, velocity: A = 0, power: B = 0.8, timeConstant: M = 3
3331
3331
  restSpeed: i
3332
3332
  }));
3333
3333
  };
3334
- return q(0), {
3334
+ return k(0), {
3335
3335
  calculatedDuration: null,
3336
- next: (U) => {
3337
- let K = !1;
3338
- return !u && y === void 0 && (K = !0, V(U), q(U)), y !== void 0 && U >= y ? u.next(U - y) : (!K && V(U), o);
3336
+ next: (m) => {
3337
+ let d = !1;
3338
+ return !y && u === void 0 && (d = !0, V(m), k(m)), u !== void 0 && m >= u ? y.next(m - u) : (!d && V(m), o);
3339
3339
  }
3340
3340
  };
3341
3341
  }
@@ -3409,7 +3409,7 @@ function wC(g, A) {
3409
3409
  function eC(g, A) {
3410
3410
  return g.map(() => A || Rw).splice(0, g.length - 1);
3411
3411
  }
3412
- function qg({ duration: g = 300, keyframes: A, times: B, ease: M = "easeInOut" }) {
3412
+ function kg({ duration: g = 300, keyframes: A, times: B, ease: M = "easeInOut" }) {
3413
3413
  const D = AC(M) ? M.map(VM) : VM(M), e = {
3414
3414
  done: !1,
3415
3415
  value: A[0]
@@ -3429,7 +3429,7 @@ function qg({ duration: g = 300, keyframes: A, times: B, ease: M = "easeInOut" }
3429
3429
  const tC = (g) => {
3430
3430
  const A = ({ timestamp: B }) => g(B);
3431
3431
  return {
3432
- start: () => d.update(A, !0),
3432
+ start: () => K.update(A, !0),
3433
3433
  stop: () => cA(A),
3434
3434
  /**
3435
3435
  * If we're processing this frame we can use the
@@ -3440,8 +3440,8 @@ const tC = (g) => {
3440
3440
  }, QC = {
3441
3441
  decay: UM,
3442
3442
  inertia: UM,
3443
- tween: qg,
3444
- keyframes: qg,
3443
+ tween: kg,
3444
+ keyframes: kg,
3445
3445
  spring: Kw
3446
3446
  }, CC = (g) => g / 100;
3447
3447
  class NB extends fw {
@@ -3460,9 +3460,9 @@ class NB extends fw {
3460
3460
  super.flatten(), this._resolved && Object.assign(this._resolved, this.initPlayback(this._resolved.keyframes));
3461
3461
  }
3462
3462
  initPlayback(A) {
3463
- const { type: B = "keyframes", repeat: M = 0, repeatDelay: D = 0, repeatType: e, velocity: w = 0 } = this.options, Q = JB(B) ? B : QC[B] || qg;
3463
+ const { type: B = "keyframes", repeat: M = 0, repeatDelay: D = 0, repeatType: e, velocity: w = 0 } = this.options, Q = JB(B) ? B : QC[B] || kg;
3464
3464
  let t, C;
3465
- Q !== qg && typeof A[0] != "number" && (process.env.NODE_ENV !== "production" && aA(A.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${A}`), t = og(CC, qw(A[0], A[1])), A = [0, 100]);
3465
+ Q !== kg && typeof A[0] != "number" && (process.env.NODE_ENV !== "production" && aA(A.length === 2, `Only two keyframes currently supported with spring and inertia animations. Trying to animate ${A}`), t = og(CC, qw(A[0], A[1])), A = [0, 100]);
3466
3466
  const i = Q({ ...this.options, keyframes: A });
3467
3467
  e === "mirror" && (C = Q({
3468
3468
  ...this.options,
@@ -3486,8 +3486,8 @@ class NB extends fw {
3486
3486
  tick(A, B = !1) {
3487
3487
  const { resolved: M } = this;
3488
3488
  if (!M) {
3489
- const { keyframes: U } = this.options;
3490
- return { done: !0, value: U[U.length - 1] };
3489
+ const { keyframes: m } = this.options;
3490
+ return { done: !0, value: m[m.length - 1] };
3491
3491
  }
3492
3492
  const { finalKeyframe: D, generator: e, mirroredGenerator: w, mapPercentToKeyframes: Q, keyframes: t, calculatedDuration: C, totalDuration: i, resolvedDuration: s } = M;
3493
3493
  if (this.startTime === null)
@@ -3496,18 +3496,18 @@ class NB extends fw {
3496
3496
  this.speed > 0 ? this.startTime = Math.min(this.startTime, A) : this.speed < 0 && (this.startTime = Math.min(A - i / this.speed, this.startTime)), B ? this.currentTime = A : this.holdTime !== null ? this.currentTime = this.holdTime : this.currentTime = Math.round(A - this.startTime) * this.speed;
3497
3497
  const r = this.currentTime - o * (this.speed >= 0 ? 1 : -1), a = this.speed >= 0 ? r < 0 : r > i;
3498
3498
  this.currentTime = Math.max(r, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = i);
3499
- let c = this.currentTime, V = e;
3499
+ let Y = this.currentTime, V = e;
3500
3500
  if (n) {
3501
- const U = Math.min(this.currentTime, i) / s;
3502
- let K = Math.floor(U), P = U % 1;
3503
- !P && U >= 1 && (P = 1), P === 1 && K--, K = Math.min(K, n + 1), !!(K % 2) && (E === "reverse" ? (P = 1 - P, l && (P -= l / s)) : E === "mirror" && (V = w)), c = EA(0, 1, P) * s;
3501
+ const m = Math.min(this.currentTime, i) / s;
3502
+ let d = Math.floor(m), P = m % 1;
3503
+ !P && m >= 1 && (P = 1), P === 1 && d--, d = Math.min(d, n + 1), !!(d % 2) && (E === "reverse" ? (P = 1 - P, l && (P -= l / s)) : E === "mirror" && (V = w)), Y = EA(0, 1, P) * s;
3504
3504
  }
3505
- const y = a ? { done: !1, value: t[0] } : V.next(c);
3506
- Q && (y.value = Q(y.value));
3507
- let { done: u } = y;
3508
- !a && C !== null && (u = this.speed >= 0 ? this.currentTime >= i : this.currentTime <= 0);
3509
- const q = this.holdTime === null && (this.state === "finished" || this.state === "running" && u);
3510
- return q && D !== void 0 && (y.value = Pg(t, this.options, D)), G && G(y.value), q && this.finish(), y;
3505
+ const u = a ? { done: !1, value: t[0] } : V.next(Y);
3506
+ Q && (u.value = Q(u.value));
3507
+ let { done: y } = u;
3508
+ !a && C !== null && (y = this.speed >= 0 ? this.currentTime >= i : this.currentTime <= 0);
3509
+ const k = this.holdTime === null && (this.state === "finished" || this.state === "running" && y);
3510
+ return k && D !== void 0 && (u.value = vg(t, this.options, D)), G && G(u.value), k && this.finish(), u;
3511
3511
  }
3512
3512
  get duration() {
3513
3513
  const { resolved: A } = this;
@@ -3589,7 +3589,7 @@ function sC(g, A, B, { delay: M = 0, duration: D = 300, repeat: e = 0, repeatTyp
3589
3589
  direction: w === "reverse" ? "alternate" : "normal"
3590
3590
  });
3591
3591
  }
3592
- const oC = /* @__PURE__ */ YB(() => Object.hasOwnProperty.call(Element.prototype, "animate")), dg = 10, IC = 2e4;
3592
+ const oC = /* @__PURE__ */ YB(() => Object.hasOwnProperty.call(Element.prototype, "animate")), qg = 10, IC = 2e4;
3593
3593
  function nC(g) {
3594
3594
  return JB(g.type) || g.type === "spring" || !$D(g.ease);
3595
3595
  }
@@ -3605,11 +3605,11 @@ function EC(g, A) {
3605
3605
  const D = [];
3606
3606
  let e = 0;
3607
3607
  for (; !M.done && e < IC; )
3608
- M = B.sample(e), D.push(M.value), e += dg;
3608
+ M = B.sample(e), D.push(M.value), e += qg;
3609
3609
  return {
3610
3610
  times: void 0,
3611
3611
  keyframes: D,
3612
- duration: e - dg,
3612
+ duration: e - qg,
3613
3613
  ease: "linear"
3614
3614
  };
3615
3615
  }
@@ -3631,14 +3631,14 @@ class fM extends fw {
3631
3631
  let { duration: M = 300, times: D, ease: e, type: w, motionValue: Q, name: t, startTime: C } = this.options;
3632
3632
  if (!Q.owner || !Q.owner.current)
3633
3633
  return !1;
3634
- if (typeof e == "string" && fg() && lC(e) && (e = pw[e]), nC(this.options)) {
3634
+ if (typeof e == "string" && Vg() && lC(e) && (e = pw[e]), nC(this.options)) {
3635
3635
  const { onComplete: s, onUpdate: o, motionValue: n, element: E, ...l } = this.options, G = EC(A, l);
3636
3636
  A = G.keyframes, A.length === 1 && (A[1] = A[0]), M = G.duration, D = G.times, e = G.ease, w = "keyframes";
3637
3637
  }
3638
3638
  const i = sC(Q.owner.current, t, A, { ...this.options, duration: M, times: D, ease: e });
3639
3639
  return i.startTime = C ?? this.calcStartTime(), this.pendingTimeline ? (iM(i, this.pendingTimeline), this.pendingTimeline = void 0) : i.onfinish = () => {
3640
3640
  const { onComplete: s } = this.options;
3641
- Q.set(Pg(A, this.options, B)), s && s(), this.cancel(), this.resolveFinishedPromise();
3641
+ Q.set(vg(A, this.options, B)), s && s(), this.cancel(), this.resolveFinishedPromise();
3642
3642
  }, {
3643
3643
  animation: i,
3644
3644
  duration: M,
@@ -3749,7 +3749,7 @@ class fM extends fw {
3749
3749
  times: Q,
3750
3750
  isGenerator: !0
3751
3751
  }), l = /* @__PURE__ */ QA(this.time);
3752
- C.setWithVelocity(E.sample(l - dg).value, E.sample(l).value, dg);
3752
+ C.setWithVelocity(E.sample(l - qg).value, E.sample(l).value, qg);
3753
3753
  }
3754
3754
  const { onStop: t } = this.options;
3755
3755
  t && t(), this.cancel();
@@ -3821,9 +3821,9 @@ const xB = (g, A, B, M = {}, D, e) => (w) => {
3821
3821
  }), i.duration && (i.duration = /* @__PURE__ */ QA(i.duration)), i.repeatDelay && (i.repeatDelay = /* @__PURE__ */ QA(i.repeatDelay)), i.from !== void 0 && (i.keyframes[0] = i.from);
3822
3822
  let s = !1;
3823
3823
  if ((i.type === !1 || i.duration === 0 && !i.repeatDelay) && (i.duration = 0, i.delay === 0 && (s = !0)), s && !e && A.get() !== void 0) {
3824
- const o = Pg(i.keyframes, Q);
3824
+ const o = vg(i.keyframes, Q);
3825
3825
  if (o !== void 0)
3826
- return d.update(() => {
3826
+ return K.update(() => {
3827
3827
  i.onUpdate(o), i.onComplete();
3828
3828
  }), new Ft([]);
3829
3829
  }
@@ -3850,7 +3850,7 @@ function hw(g, A, { delay: B = 0, transitionOverride: M, type: D } = {}) {
3850
3850
  if (window.MotionHandoffAnimation) {
3851
3851
  const r = ww(g);
3852
3852
  if (r) {
3853
- const a = window.MotionHandoffAnimation(r, s, d);
3853
+ const a = window.MotionHandoffAnimation(r, s, K);
3854
3854
  a !== null && (E.startTime = a, l = !0);
3855
3855
  }
3856
3856
  }
@@ -3859,14 +3859,14 @@ function hw(g, A, { delay: B = 0, transitionOverride: M, type: D } = {}) {
3859
3859
  G && C.push(G);
3860
3860
  }
3861
3861
  return Q && Promise.all(C).then(() => {
3862
- d.update(() => {
3862
+ K.update(() => {
3863
3863
  Q && gQ(g, Q);
3864
3864
  });
3865
3865
  }), C;
3866
3866
  }
3867
3867
  function iB(g, A, B = {}) {
3868
3868
  var M;
3869
- const D = vg(g, A, B.type === "exit" ? (M = g.presenceContext) === null || M === void 0 ? void 0 : M.custom : void 0);
3869
+ const D = zg(g, A, B.type === "exit" ? (M = g.presenceContext) === null || M === void 0 ? void 0 : M.custom : void 0);
3870
3870
  let { transition: e = g.getDefaultTransition() || {} } = D || {};
3871
3871
  B.transitionOverride && (e = B.transitionOverride);
3872
3872
  const w = D ? () => Promise.all(hw(g, D, B)) : () => Promise.resolve(), Q = g.variantChildren && g.variantChildren.size ? (C = 0) => {
@@ -3900,7 +3900,7 @@ function ZC(g, A, B = {}) {
3900
3900
  } else if (typeof A == "string")
3901
3901
  M = iB(g, A, B);
3902
3902
  else {
3903
- const D = typeof A == "function" ? vg(g, A, B.custom) : A;
3903
+ const D = typeof A == "function" ? zg(g, A, B.custom) : A;
3904
3904
  M = Promise.all(hw(g, D, B));
3905
3905
  }
3906
3906
  return M.then(() => {
@@ -3930,7 +3930,7 @@ function dC(g) {
3930
3930
  let A = qC(g), B = kM(), M = !0;
3931
3931
  const D = (t) => (C, i) => {
3932
3932
  var s;
3933
- const o = vg(g, i, t === "exit" ? (s = g.presenceContext) === null || s === void 0 ? void 0 : s.custom : void 0);
3933
+ const o = zg(g, i, t === "exit" ? (s = g.presenceContext) === null || s === void 0 ? void 0 : s.custom : void 0);
3934
3934
  if (o) {
3935
3935
  const { transition: n, transitionEnd: E, ...l } = o;
3936
3936
  C = { ...C, ...l, ...E };
@@ -3944,26 +3944,26 @@ function dC(g) {
3944
3944
  const { props: C } = g, i = Jw(g.parent) || {}, s = [], o = /* @__PURE__ */ new Set();
3945
3945
  let n = {}, E = 1 / 0;
3946
3946
  for (let G = 0; G < kC; G++) {
3947
- const r = fC[G], a = B[r], c = C[r] !== void 0 ? C[r] : i[r], V = wg(c), y = r === t ? a.isActive : null;
3948
- y === !1 && (E = G);
3949
- let u = c === i[r] && c !== C[r] && V;
3950
- if (u && M && g.manuallyAnimateOnMount && (u = !1), a.protectedKeys = { ...n }, // If it isn't active and hasn't *just* been set as inactive
3951
- !a.isActive && y === null || // If we didn't and don't have any defined prop for this animation type
3952
- !c && !a.prevProp || // Or if the prop doesn't define an animation
3953
- Jg(c) || typeof c == "boolean")
3947
+ const r = fC[G], a = B[r], Y = C[r] !== void 0 ? C[r] : i[r], V = wg(Y), u = r === t ? a.isActive : null;
3948
+ u === !1 && (E = G);
3949
+ let y = Y === i[r] && Y !== C[r] && V;
3950
+ if (y && M && g.manuallyAnimateOnMount && (y = !1), a.protectedKeys = { ...n }, // If it isn't active and hasn't *just* been set as inactive
3951
+ !a.isActive && u === null || // If we didn't and don't have any defined prop for this animation type
3952
+ !Y && !a.prevProp || // Or if the prop doesn't define an animation
3953
+ hg(Y) || typeof Y == "boolean")
3954
3954
  continue;
3955
- const q = KC(a.prevProp, c);
3956
- let U = q || // If we're making this variant active, we want to always make it active
3957
- r === t && a.isActive && !u && V || // If we removed a higher-priority variant (i is in reverse order)
3958
- G > E && V, K = !1;
3959
- const P = Array.isArray(c) ? c : [c];
3955
+ const k = KC(a.prevProp, Y);
3956
+ let m = k || // If we're making this variant active, we want to always make it active
3957
+ r === t && a.isActive && !y && V || // If we removed a higher-priority variant (i is in reverse order)
3958
+ G > E && V, d = !1;
3959
+ const P = Array.isArray(Y) ? Y : [Y];
3960
3960
  let gA = P.reduce(D(r), {});
3961
- y === !1 && (gA = {});
3961
+ u === !1 && (gA = {});
3962
3962
  const { prevResolvedValues: mA = {} } = a, UA = {
3963
3963
  ...mA,
3964
3964
  ...gA
3965
3965
  }, lA = (z) => {
3966
- U = !0, o.has(z) && (K = !0, o.delete(z)), a.needsAnimating[z] = !0;
3966
+ m = !0, o.has(z) && (d = !0, o.delete(z)), a.needsAnimating[z] = !0;
3967
3967
  const x = g.getValue(z);
3968
3968
  x && (x.liveStyle = !1);
3969
3969
  };
@@ -3974,7 +3974,7 @@ function dC(g) {
3974
3974
  let sA = !1;
3975
3975
  AB(x) && AB(rA) ? sA = !ND(x, rA) : sA = x !== rA, sA ? x != null ? lA(z) : o.add(z) : x !== void 0 && o.has(z) ? lA(z) : a.protectedKeys[z] = !0;
3976
3976
  }
3977
- a.prevProp = c, a.prevResolvedValues = gA, a.isActive && (n = { ...n, ...gA }), M && g.blockInitialAnimation && (U = !1), U && (!(u && q) || K) && s.push(...P.map((z) => ({
3977
+ a.prevProp = Y, a.prevResolvedValues = gA, a.isActive && (n = { ...n, ...gA }), M && g.blockInitialAnimation && (m = !1), m && (!(y && k) || d) && s.push(...P.map((z) => ({
3978
3978
  animation: z,
3979
3979
  options: { type: r }
3980
3980
  })));
@@ -3982,8 +3982,8 @@ function dC(g) {
3982
3982
  if (o.size) {
3983
3983
  const G = {};
3984
3984
  o.forEach((r) => {
3985
- const a = g.getBaseTarget(r), c = g.getValue(r);
3986
- c && (c.liveStyle = !0), G[r] = a ?? null;
3985
+ const a = g.getBaseTarget(r), Y = g.getValue(r);
3986
+ Y && (Y.liveStyle = !0), G[r] = a ?? null;
3987
3987
  }), s.push({ animation: G });
3988
3988
  }
3989
3989
  let l = !!s.length;
@@ -4052,7 +4052,7 @@ class RC extends uA {
4052
4052
  }
4053
4053
  updateAnimationControlsSubscription() {
4054
4054
  const { animate: A } = this.node.getProps();
4055
- Jg(A) && (this.unmountControls = A.subscribe(this.node));
4055
+ hg(A) && (this.unmountControls = A.subscribe(this.node));
4056
4056
  }
4057
4057
  /**
4058
4058
  * Subscribe any provided AnimationControls to the component's VisualElement
@@ -4123,7 +4123,7 @@ class zw {
4123
4123
  if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
4124
4124
  if (!(this.lastMoveEvent && this.lastMoveEventInfo))
4125
4125
  return;
4126
- const s = Xg(this.lastMoveEventInfo, this.history), o = this.startEvent !== null, n = vC(s.offset, { x: 0, y: 0 }) >= 3;
4126
+ const s = Tg(this.lastMoveEventInfo, this.history), o = this.startEvent !== null, n = vC(s.offset, { x: 0, y: 0 }) >= 3;
4127
4127
  if (!o && !n)
4128
4128
  return;
4129
4129
  const { point: E } = s, { timestamp: l } = L;
@@ -4131,21 +4131,21 @@ class zw {
4131
4131
  const { onStart: G, onMove: r } = this.handlers;
4132
4132
  o || (G && G(this.lastMoveEvent, s), this.startEvent = this.lastMoveEvent), r && r(this.lastMoveEvent, s);
4133
4133
  }, this.handlePointerMove = (s, o) => {
4134
- this.lastMoveEvent = s, this.lastMoveEventInfo = Tg(o, this.transformPagePoint), d.update(this.updatePoint, !0);
4134
+ this.lastMoveEvent = s, this.lastMoveEventInfo = Sg(o, this.transformPagePoint), K.update(this.updatePoint, !0);
4135
4135
  }, this.handlePointerUp = (s, o) => {
4136
4136
  this.end();
4137
4137
  const { onEnd: n, onSessionEnd: E, resumeAnimation: l } = this.handlers;
4138
4138
  if (this.dragSnapToOrigin && l && l(), !(this.lastMoveEvent && this.lastMoveEventInfo))
4139
4139
  return;
4140
- const G = Xg(s.type === "pointercancel" ? this.lastMoveEventInfo : Tg(o, this.transformPagePoint), this.history);
4140
+ const G = Tg(s.type === "pointercancel" ? this.lastMoveEventInfo : Sg(o, this.transformPagePoint), this.history);
4141
4141
  this.startEvent && n && n(s, G), E && E(s, G);
4142
4142
  }, !vB(A))
4143
4143
  return;
4144
4144
  this.dragSnapToOrigin = e, this.handlers = B, this.transformPagePoint = M, this.contextWindow = D || window;
4145
- const w = Ig(A), Q = Tg(w, this.transformPagePoint), { point: t } = Q, { timestamp: C } = L;
4145
+ const w = Ig(A), Q = Sg(w, this.transformPagePoint), { point: t } = Q, { timestamp: C } = L;
4146
4146
  this.history = [{ ...t, timestamp: C }];
4147
4147
  const { onSessionStart: i } = B;
4148
- i && i(A, Xg(Q, this.history)), this.removeListeners = og(Bg(this.contextWindow, "pointermove", this.handlePointerMove), Bg(this.contextWindow, "pointerup", this.handlePointerUp), Bg(this.contextWindow, "pointercancel", this.handlePointerUp));
4148
+ i && i(A, Tg(Q, this.history)), this.removeListeners = og(Bg(this.contextWindow, "pointermove", this.handlePointerMove), Bg(this.contextWindow, "pointerup", this.handlePointerUp), Bg(this.contextWindow, "pointercancel", this.handlePointerUp));
4149
4149
  }
4150
4150
  updateHandlers(A) {
4151
4151
  this.handlers = A;
@@ -4154,13 +4154,13 @@ class zw {
4154
4154
  this.removeListeners && this.removeListeners(), cA(this.updatePoint);
4155
4155
  }
4156
4156
  }
4157
- function Tg(g, A) {
4157
+ function Sg(g, A) {
4158
4158
  return A ? { point: A(g.point) } : g;
4159
4159
  }
4160
4160
  function dM(g, A) {
4161
4161
  return { x: g.x - A.x, y: g.y - A.y };
4162
4162
  }
4163
- function Xg({ point: g }, A) {
4163
+ function Tg({ point: g }, A) {
4164
4164
  return {
4165
4165
  point: g,
4166
4166
  delta: dM(g, vw(A)),
@@ -4302,11 +4302,11 @@ function Ai(g, A) {
4302
4302
  right: M.x
4303
4303
  };
4304
4304
  }
4305
- function Ng(g) {
4305
+ function Xg(g) {
4306
4306
  return g === void 0 || g === 1;
4307
4307
  }
4308
4308
  function oB({ scale: g, scaleX: A, scaleY: B }) {
4309
- return !Ng(g) || !Ng(A) || !Ng(B);
4309
+ return !Xg(g) || !Xg(A) || !Xg(B);
4310
4310
  }
4311
4311
  function VA(g) {
4312
4312
  return oB(g) || Ow(g) || g.z || g.rotate || g.rotateX || g.rotateY || g.skewX || g.skewY;
@@ -4317,12 +4317,12 @@ function Ow(g) {
4317
4317
  function FM(g) {
4318
4318
  return g && g !== "0%";
4319
4319
  }
4320
- function Kg(g, A, B) {
4320
+ function dg(g, A, B) {
4321
4321
  const M = g - B, D = A * M;
4322
4322
  return B + D;
4323
4323
  }
4324
4324
  function OM(g, A, B, M, D) {
4325
- return D !== void 0 && (g = Kg(g, D, M)), Kg(g, B, M) + A;
4325
+ return D !== void 0 && (g = dg(g, D, M)), dg(g, B, M) + A;
4326
4326
  }
4327
4327
  function IB(g, A = 0, B = 1, M, D) {
4328
4328
  g.min = OM(g.min, A, B, M, D), g.max = OM(g.max, A, B, M, D);
@@ -4385,12 +4385,12 @@ class Di {
4385
4385
  if (CA.test(r)) {
4386
4386
  const { projection: a } = this.visualElement;
4387
4387
  if (a && a.layout) {
4388
- const c = a.layout.layoutBox[G];
4389
- c && (r = W(c) * (parseFloat(r) / 100));
4388
+ const Y = a.layout.layoutBox[G];
4389
+ Y && (r = W(Y) * (parseFloat(r) / 100));
4390
4390
  }
4391
4391
  }
4392
4392
  this.originPoint[G] = r;
4393
- }), E && d.postRender(() => E(i, s)), MB(this.visualElement, "transform");
4393
+ }), E && K.postRender(() => E(i, s)), MB(this.visualElement, "transform");
4394
4394
  const { animationState: l } = this.visualElement;
4395
4395
  l && l.setActive("whileDrag", !0);
4396
4396
  }, w = (i, s) => {
@@ -4426,7 +4426,7 @@ class Di {
4426
4426
  const { velocity: D } = B;
4427
4427
  this.startAnimation(D);
4428
4428
  const { onDragEnd: e } = this.getProps();
4429
- e && d.postRender(() => e(A, B));
4429
+ e && K.postRender(() => e(A, B));
4430
4430
  }
4431
4431
  cancel() {
4432
4432
  this.isDragging = !1;
@@ -4566,7 +4566,7 @@ class Di {
4566
4566
  const { dragConstraints: t } = this.getProps();
4567
4567
  RA(t) && t.current && (this.constraints = this.resolveRefConstraints());
4568
4568
  }, { projection: D } = this.visualElement, e = D.addEventListener("measure", M);
4569
- D && !D.layout && (D.root && D.root.updateScroll(), D.updateLayout()), d.read(M);
4569
+ D && !D.layout && (D.root && D.root.updateScroll(), D.updateLayout()), K.read(M);
4570
4570
  const w = Cg(window, "resize", () => this.scalePositionWithinConstraints()), Q = D.addEventListener("didUpdate", ({ delta: t, hasLayoutChanged: C }) => {
4571
4571
  this.isDragging && C && (_((i) => {
4572
4572
  const s = this.getAxisMotionValue(i);
@@ -4610,7 +4610,7 @@ class ei extends uA {
4610
4610
  }
4611
4611
  }
4612
4612
  const SM = (g) => (A, B) => {
4613
- g && d.postRender(() => g(A, B));
4613
+ g && K.postRender(() => g(A, B));
4614
4614
  };
4615
4615
  class ti extends uA {
4616
4616
  constructor() {
@@ -4629,7 +4629,7 @@ class ti extends uA {
4629
4629
  onStart: SM(B),
4630
4630
  onMove: M,
4631
4631
  onEnd: (e, w) => {
4632
- delete this.session, D && d.postRender(() => D(e, w));
4632
+ delete this.session, D && K.postRender(() => D(e, w));
4633
4633
  }
4634
4634
  };
4635
4635
  }
@@ -4643,7 +4643,7 @@ class ti extends uA {
4643
4643
  this.removePointerDownListener(), this.session && this.session.end();
4644
4644
  }
4645
4645
  }
4646
- const yg = {
4646
+ const Yg = {
4647
4647
  /**
4648
4648
  * Global flag as to whether the tree has animated since the last time
4649
4649
  * we resized the window
@@ -4663,7 +4663,7 @@ const xA = {
4663
4663
  if (!A.target)
4664
4664
  return g;
4665
4665
  if (typeof g == "string")
4666
- if (m.test(g))
4666
+ if (U.test(g))
4667
4667
  g = parseFloat(g);
4668
4668
  else
4669
4669
  return g;
@@ -4694,11 +4694,11 @@ class Ci extends te {
4694
4694
  }), e.setOptions({
4695
4695
  ...e.options,
4696
4696
  onExitComplete: () => this.safeToRemove()
4697
- })), yg.hasEverUpdated = !0;
4697
+ })), Yg.hasEverUpdated = !0;
4698
4698
  }
4699
4699
  getSnapshotBeforeUpdate(A) {
4700
4700
  const { layoutDependency: B, visualElement: M, drag: D, isPresent: e } = this.props, w = M.projection;
4701
- return w && (w.isPresent = e, D || A.layoutDependency !== B || B === void 0 ? w.willUpdate() : this.safeToRemove(), A.isPresent !== e && (e ? w.promote() : w.relegate() || d.postRender(() => {
4701
+ return w && (w.isPresent = e, D || A.layoutDependency !== B || B === void 0 ? w.willUpdate() : this.safeToRemove(), A.isPresent !== e && (e ? w.promote() : w.relegate() || K.postRender(() => {
4702
4702
  const Q = w.getStack();
4703
4703
  (!Q || !Q.members.length) && this.safeToRemove();
4704
4704
  }))), null;
@@ -4768,9 +4768,9 @@ function Ei(g, A) {
4768
4768
  const e = D - B;
4769
4769
  e >= A && (cA(M), g(e - A));
4770
4770
  };
4771
- return d.read(M, !0), () => cA(M);
4771
+ return K.read(M, !0), () => cA(M);
4772
4772
  }
4773
- const Tw = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], li = Tw.length, XM = (g) => typeof g == "string" ? parseFloat(g) : g, NM = (g) => typeof g == "number" || m.test(g);
4773
+ const Tw = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], li = Tw.length, XM = (g) => typeof g == "string" ? parseFloat(g) : g, NM = (g) => typeof g == "number" || U.test(g);
4774
4774
  function ri(g, A, B, M, D, e) {
4775
4775
  D ? (g.opacity = h(
4776
4776
  0,
@@ -4804,7 +4804,7 @@ function $M(g, A) {
4804
4804
  g.translate = A.translate, g.scale = A.scale, g.originPoint = A.originPoint, g.origin = A.origin;
4805
4805
  }
4806
4806
  function _M(g, A, B, M, D) {
4807
- return g -= A, g = Kg(g, 1 / B, M), D !== void 0 && (g = Kg(g, 1 / D, M)), g;
4807
+ return g -= A, g = dg(g, 1 / B, M), D !== void 0 && (g = dg(g, 1 / D, M)), g;
4808
4808
  }
4809
4809
  function ci(g, A = 0, B = 1, M = 0.5, D, e = g, w = g) {
4810
4810
  if (CA.test(A) && (A = parseFloat(A), A = h(w.min, w.max, A / 100) - w.min), typeof A != "number")
@@ -4912,9 +4912,9 @@ const fA = {
4912
4912
  totalNodes: 0,
4913
4913
  resolvedTargetDeltas: 0,
4914
4914
  recalculatedProjection: 0
4915
- }, _A = typeof window < "u" && window.MotionDebug !== void 0, xg = ["", "X", "Y", "Z"], Zi = { visibility: "hidden" }, tD = 1e3;
4915
+ }, _A = typeof window < "u" && window.MotionDebug !== void 0, Ng = ["", "X", "Y", "Z"], Zi = { visibility: "hidden" }, tD = 1e3;
4916
4916
  let Vi = 0;
4917
- function Wg(g, A, B, M) {
4917
+ function xg(g, A, B, M) {
4918
4918
  const { latestValues: D } = A;
4919
4919
  D[g] && (B[g] = D[g], A.setStaticValue(g, 0), M && (M[g] = 0));
4920
4920
  }
@@ -4927,7 +4927,7 @@ function Ww(g) {
4927
4927
  const B = ww(A);
4928
4928
  if (window.MotionHasOptimisedAnimation(B, "transform")) {
4929
4929
  const { layout: D, layoutId: e } = g.options;
4930
- window.MotionCancelOptimisedAnimation(B, "transform", d, !(D || e));
4930
+ window.MotionCancelOptimisedAnimation(B, "transform", K, !(D || e));
4931
4931
  }
4932
4932
  const { parent: M } = g;
4933
4933
  M && !M.hasCheckedOptimisedAppear && Ww(M);
@@ -4966,7 +4966,7 @@ function $w({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
4966
4966
  let s;
4967
4967
  const o = () => this.root.updateBlockedByResize = !1;
4968
4968
  g(w, () => {
4969
- this.root.updateBlockedByResize = !0, s && s(), s = Ei(o, 250), yg.hasAnimatedSinceResize && (yg.hasAnimatedSinceResize = !1, this.nodes.forEach(CD));
4969
+ this.root.updateBlockedByResize = !0, s && s(), s = Ei(o, 250), Yg.hasAnimatedSinceResize && (Yg.hasAnimatedSinceResize = !1, this.nodes.forEach(CD));
4970
4970
  });
4971
4971
  }
4972
4972
  t && this.root.registerSharedNode(t, this), this.options.animate !== !1 && i && (t || C) && this.addEventListener("didUpdate", ({ delta: s, hasLayoutChanged: o, hasRelativeLayoutChanged: n, layout: E }) => {
@@ -4974,9 +4974,9 @@ function $w({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
4974
4974
  this.target = void 0, this.relativeTarget = void 0;
4975
4975
  return;
4976
4976
  }
4977
- const l = this.options.transition || i.getDefaultTransition() || Fi, { onLayoutAnimationStart: G, onLayoutAnimationComplete: r } = i.getProps(), a = !this.targetLayout || !xw(this.targetLayout, E), c = !o && n;
4978
- if (this.options.layoutRoot || this.resumeFrom || c || o && (a || !this.currentAnimation)) {
4979
- this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(s, c);
4977
+ const l = this.options.transition || i.getDefaultTransition() || Fi, { onLayoutAnimationStart: G, onLayoutAnimationComplete: r } = i.getProps(), a = !this.targetLayout || !xw(this.targetLayout, E), Y = !o && n;
4978
+ if (this.options.layoutRoot || this.resumeFrom || Y || o && (a || !this.currentAnimation)) {
4979
+ this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(s, Y);
4980
4980
  const V = {
4981
4981
  ...hB(l, "layout"),
4982
4982
  onPlay: G,
@@ -5039,7 +5039,7 @@ function $w({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5039
5039
  }
5040
5040
  this.isUpdating || this.nodes.forEach(Ri), this.isUpdating = !1, this.nodes.forEach(pi), this.nodes.forEach(fi), this.nodes.forEach(ki), this.clearAllSnapshots();
5041
5041
  const Q = iA.now();
5042
- L.delta = EA(0, 1e3 / 60, Q - L.timestamp), L.timestamp = Q, L.isProcessing = !0, Og.update.process(L), Og.preRender.process(L), Og.render.process(L), L.isProcessing = !1;
5042
+ L.delta = EA(0, 1e3 / 60, Q - L.timestamp), L.timestamp = Q, L.isProcessing = !0, Fg.update.process(L), Fg.preRender.process(L), Fg.render.process(L), L.isProcessing = !1;
5043
5043
  }
5044
5044
  didUpdate() {
5045
5045
  this.updateScheduled || (this.updateScheduled = !0, UB.read(this.scheduleUpdate));
@@ -5048,10 +5048,10 @@ function $w({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5048
5048
  this.nodes.forEach(Ki), this.sharedNodes.forEach(vi);
5049
5049
  }
5050
5050
  scheduleUpdateProjection() {
5051
- this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, d.preRender(this.updateProjection, !1, !0));
5051
+ this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, K.preRender(this.updateProjection, !1, !0));
5052
5052
  }
5053
5053
  scheduleCheckAfterUnmount() {
5054
- d.postRender(() => {
5054
+ K.postRender(() => {
5055
5055
  this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
5056
5056
  });
5057
5057
  }
@@ -5237,15 +5237,15 @@ function $w({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5237
5237
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !Q;
5238
5238
  const o = v(), n = t ? t.source : void 0, E = this.layout ? this.layout.source : void 0, l = n !== E, G = this.getStack(), r = !G || G.members.length <= 1, a = !!(l && !r && this.options.crossfade === !0 && !this.path.some(Li));
5239
5239
  this.animationProgress = 0;
5240
- let c;
5240
+ let Y;
5241
5241
  this.mixTargetDelta = (V) => {
5242
- const y = V / 1e3;
5243
- iD(s.x, w.x, y), iD(s.y, w.y, y), this.setTargetDelta(s), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Dg(o, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Pi(this.relativeTarget, this.relativeTargetOrigin, o, y), c && ui(this.relativeTarget, c) && (this.isProjectionDirty = !1), c || (c = v()), $(c, this.relativeTarget)), l && (this.animationValues = i, ri(i, C, this.latestValues, y, a, r)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = y;
5242
+ const u = V / 1e3;
5243
+ iD(s.x, w.x, u), iD(s.y, w.y, u), this.setTargetDelta(s), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Dg(o, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Pi(this.relativeTarget, this.relativeTargetOrigin, o, u), Y && ui(this.relativeTarget, Y) && (this.isProjectionDirty = !1), Y || (Y = v()), $(Y, this.relativeTarget)), l && (this.animationValues = i, ri(i, C, this.latestValues, u, a, r)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = u;
5244
5244
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
5245
5245
  }
5246
5246
  startAnimation(w) {
5247
- this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (cA(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = d.update(() => {
5248
- yg.hasAnimatedSinceResize = !0, this.currentAnimation = si(0, tD, {
5247
+ this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (cA(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = K.update(() => {
5248
+ Yg.hasAnimatedSinceResize = !0, this.currentAnimation = si(0, tD, {
5249
5249
  ...w,
5250
5250
  onUpdate: (Q) => {
5251
5251
  this.mixTargetDelta(Q), w.onUpdate && w.onUpdate(Q);
@@ -5322,9 +5322,9 @@ function $w({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5322
5322
  if ((t.z || t.rotate || t.rotateX || t.rotateY || t.rotateZ || t.skewX || t.skewY) && (Q = !0), !Q)
5323
5323
  return;
5324
5324
  const C = {};
5325
- t.z && Wg("z", w, C, this.animationValues);
5326
- for (let i = 0; i < xg.length; i++)
5327
- Wg(`rotate${xg[i]}`, w, C, this.animationValues), Wg(`skew${xg[i]}`, w, C, this.animationValues);
5325
+ t.z && xg("z", w, C, this.animationValues);
5326
+ for (let i = 0; i < Ng.length; i++)
5327
+ xg(`rotate${Ng[i]}`, w, C, this.animationValues), xg(`skew${Ng[i]}`, w, C, this.animationValues);
5328
5328
  w.render();
5329
5329
  for (const i in C)
5330
5330
  w.setStaticValue(i, C[i]), this.animationValues && (this.animationValues[i] = C[i]);
@@ -5340,28 +5340,28 @@ function $w({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
5340
5340
  visibility: ""
5341
5341
  }, i = this.getTransformTemplate();
5342
5342
  if (this.needsReset)
5343
- return this.needsReset = !1, C.opacity = "", C.pointerEvents = cg(w == null ? void 0 : w.pointerEvents) || "", C.transform = i ? i(this.latestValues, "") : "none", C;
5343
+ return this.needsReset = !1, C.opacity = "", C.pointerEvents = ag(w == null ? void 0 : w.pointerEvents) || "", C.transform = i ? i(this.latestValues, "") : "none", C;
5344
5344
  const s = this.getLead();
5345
5345
  if (!this.projectionDelta || !this.layout || !s.target) {
5346
5346
  const l = {};
5347
- return this.options.layoutId && (l.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, l.pointerEvents = cg(w == null ? void 0 : w.pointerEvents) || ""), this.hasProjected && !VA(this.latestValues) && (l.transform = i ? i({}, "") : "none", this.hasProjected = !1), l;
5347
+ return this.options.layoutId && (l.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, l.pointerEvents = ag(w == null ? void 0 : w.pointerEvents) || ""), this.hasProjected && !VA(this.latestValues) && (l.transform = i ? i({}, "") : "none", this.hasProjected = !1), l;
5348
5348
  }
5349
5349
  const o = s.animationValues || s.latestValues;
5350
5350
  this.applyTransformsToTarget(), C.transform = Ui(this.projectionDeltaWithTransform, this.treeScale, o), i && (C.transform = i(o, C.transform));
5351
5351
  const { x: n, y: E } = this.projectionDelta;
5352
5352
  C.transformOrigin = `${n.origin * 100}% ${E.origin * 100}% 0`, s.animationValues ? C.opacity = s === this ? (t = (Q = o.opacity) !== null && Q !== void 0 ? Q : this.latestValues.opacity) !== null && t !== void 0 ? t : 1 : this.preserveOpacity ? this.latestValues.opacity : o.opacityExit : C.opacity = s === this ? o.opacity !== void 0 ? o.opacity : "" : o.opacityExit !== void 0 ? o.opacityExit : 0;
5353
- for (const l in Vg) {
5353
+ for (const l in Zg) {
5354
5354
  if (o[l] === void 0)
5355
5355
  continue;
5356
- const { correct: G, applyTo: r } = Vg[l], a = C.transform === "none" ? o[l] : G(o[l], s);
5356
+ const { correct: G, applyTo: r } = Zg[l], a = C.transform === "none" ? o[l] : G(o[l], s);
5357
5357
  if (r) {
5358
- const c = r.length;
5359
- for (let V = 0; V < c; V++)
5358
+ const Y = r.length;
5359
+ for (let V = 0; V < Y; V++)
5360
5360
  C[r[V]] = a;
5361
5361
  } else
5362
5362
  C[l] = a;
5363
5363
  }
5364
- return this.options.layoutId && (C.pointerEvents = s === this ? cg(w == null ? void 0 : w.pointerEvents) || "" : "none"), C;
5364
+ return this.options.layoutId && (C.pointerEvents = s === this ? ag(w == null ? void 0 : w.pointerEvents) || "" : "none"), C;
5365
5365
  }
5366
5366
  clearSnapshot() {
5367
5367
  this.resumeFrom = this.snapshot = void 0;
@@ -5492,7 +5492,7 @@ const ji = $w({
5492
5492
  y: document.documentElement.scrollTop || document.body.scrollTop
5493
5493
  }),
5494
5494
  checkIsScrollRoot: () => !0
5495
- }), $g = {
5495
+ }), Wg = {
5496
5496
  current: void 0
5497
5497
  }, Ae = $w({
5498
5498
  measureScroll: (g) => ({
@@ -5500,11 +5500,11 @@ const ji = $w({
5500
5500
  y: g.scrollTop
5501
5501
  }),
5502
5502
  defaultParent: () => {
5503
- if (!$g.current) {
5503
+ if (!Wg.current) {
5504
5504
  const g = new ji({});
5505
- g.mount(window), g.setOptions({ layoutScroll: !0 }), $g.current = g;
5505
+ g.mount(window), g.setOptions({ layoutScroll: !0 }), Wg.current = g;
5506
5506
  }
5507
- return $g.current;
5507
+ return Wg.current;
5508
5508
  },
5509
5509
  resetTransform: (g, A) => {
5510
5510
  g.style.transform = A !== void 0 ? A : "none";
@@ -5524,7 +5524,7 @@ function ED(g, A, B) {
5524
5524
  const { props: M } = g;
5525
5525
  g.animationState && M.whileHover && g.animationState.setActive("whileHover", B === "Start");
5526
5526
  const D = "onHover" + B, e = M[D];
5527
- e && d.postRender(() => e(A, Ig(A)));
5527
+ e && K.postRender(() => e(A, Ig(A)));
5528
5528
  }
5529
5529
  class Si extends uA {
5530
5530
  mount() {
@@ -5560,7 +5560,7 @@ function lD(g, A, B) {
5560
5560
  const { props: M } = g;
5561
5561
  g.animationState && M.whileTap && g.animationState.setActive("whileTap", B === "Start");
5562
5562
  const D = "onTap" + (B === "End" ? "" : B), e = M[D];
5563
- e && d.postRender(() => e(A, Ig(A)));
5563
+ e && K.postRender(() => e(A, Ig(A)));
5564
5564
  }
5565
5565
  class Xi extends uA {
5566
5566
  mount() {
@@ -5570,7 +5570,7 @@ class Xi extends uA {
5570
5570
  unmount() {
5571
5571
  }
5572
5572
  }
5573
- const nB = /* @__PURE__ */ new WeakMap(), _g = /* @__PURE__ */ new WeakMap(), Ni = (g) => {
5573
+ const nB = /* @__PURE__ */ new WeakMap(), $g = /* @__PURE__ */ new WeakMap(), Ni = (g) => {
5574
5574
  const A = nB.get(g.target);
5575
5575
  A && A(g);
5576
5576
  }, xi = (g) => {
@@ -5578,8 +5578,8 @@ const nB = /* @__PURE__ */ new WeakMap(), _g = /* @__PURE__ */ new WeakMap(), Ni
5578
5578
  };
5579
5579
  function Wi({ root: g, ...A }) {
5580
5580
  const B = g || document;
5581
- _g.has(B) || _g.set(B, {});
5582
- const M = _g.get(B), D = JSON.stringify(A);
5581
+ $g.has(B) || $g.set(B, {});
5582
+ const M = $g.get(B), D = JSON.stringify(A);
5583
5583
  return M[D] || (M[D] = new IntersectionObserver(xi, { root: g, ...A })), M[D];
5584
5584
  }
5585
5585
  function $i(g, A, B) {
@@ -5659,7 +5659,7 @@ function ts(g, A, B) {
5659
5659
  for (const M in A) {
5660
5660
  const D = A[M], e = B[M];
5661
5661
  if (H(D))
5662
- g.addValue(M, D), process.env.NODE_ENV === "development" && pg(D.version === "12.0.3", `Attempting to mix Motion versions ${D.version} with 12.0.3 may not work as expected.`);
5662
+ g.addValue(M, D), process.env.NODE_ENV === "development" && Rg(D.version === "12.0.3", `Attempting to mix Motion versions ${D.version} with 12.0.3 may not work as expected.`);
5663
5663
  else if (H(e))
5664
5664
  g.addValue(M, tg(D, { owner: g }));
5665
5665
  else if (e !== D)
@@ -5700,10 +5700,10 @@ class Qs {
5700
5700
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
5701
5701
  }, this.renderScheduledAt = 0, this.scheduleRender = () => {
5702
5702
  const n = iA.now();
5703
- this.renderScheduledAt < n && (this.renderScheduledAt = n, d.render(this.render, !1, !0));
5703
+ this.renderScheduledAt < n && (this.renderScheduledAt = n, K.render(this.render, !1, !0));
5704
5704
  };
5705
5705
  const { latestValues: t, renderState: C, onUpdate: i } = w;
5706
- this.onUpdate = i, this.latestValues = t, this.baseTarget = { ...t }, this.initialValues = B.initial ? { ...t } : {}, this.renderState = C, this.parent = A, this.props = B, this.presenceContext = M, this.depth = A ? A.depth + 1 : 0, this.reducedMotionConfig = D, this.options = Q, this.blockInitialAnimation = !!e, this.isControllingVariants = zg(B), this.isVariantNode = pD(B), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(A && A.current);
5706
+ this.onUpdate = i, this.latestValues = t, this.baseTarget = { ...t }, this.initialValues = B.initial ? { ...t } : {}, this.renderState = C, this.parent = A, this.props = B, this.presenceContext = M, this.depth = A ? A.depth + 1 : 0, this.reducedMotionConfig = D, this.options = Q, this.blockInitialAnimation = !!e, this.isControllingVariants = Jg(B), this.isVariantNode = pD(B), this.isVariantNode && (this.variantChildren = /* @__PURE__ */ new Set()), this.manuallyAnimateOnMount = !!(A && A.current);
5707
5707
  const { willChange: s, ...o } = this.scrapeMotionValuesFromProps(B, {}, this);
5708
5708
  for (const n in o) {
5709
5709
  const E = o[n];
@@ -5711,7 +5711,7 @@ class Qs {
5711
5711
  }
5712
5712
  }
5713
5713
  mount(A) {
5714
- this.current = A, rD.set(A, this), this.projection && !this.projection.instance && this.projection.mount(A), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((B, M) => this.bindToMotionValue(M, B)), ge.current || Ds(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : EB.current, process.env.NODE_ENV !== "production" && pg(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
5714
+ this.current = A, rD.set(A, this), this.projection && !this.projection.instance && this.projection.mount(A), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((B, M) => this.bindToMotionValue(M, B)), ge.current || Ds(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : EB.current, process.env.NODE_ENV !== "production" && Rg(this.shouldReduceMotion !== !0, "You have Reduced Motion enabled on your device. Animations may not appear as expected."), this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
5715
5715
  }
5716
5716
  unmount() {
5717
5717
  rD.delete(this.current), this.projection && this.projection.unmount(), cA(this.notifyUpdate), cA(this.render), this.valueSubscriptions.forEach((A) => A()), this.valueSubscriptions.clear(), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
@@ -5726,7 +5726,7 @@ class Qs {
5726
5726
  bindToMotionValue(A, B) {
5727
5727
  this.valueSubscriptions.has(A) && this.valueSubscriptions.get(A)();
5728
5728
  const M = dA.has(A), D = B.on("change", (Q) => {
5729
- this.latestValues[A] = Q, this.props.onUpdate && d.preRender(this.notifyUpdate), M && this.projection && (this.projection.isTransformDirty = !0);
5729
+ this.latestValues[A] = Q, this.props.onUpdate && K.preRender(this.notifyUpdate), M && this.projection && (this.projection.isTransformDirty = !0);
5730
5730
  }), e = B.on("renderRequest", this.scheduleRender);
5731
5731
  let w;
5732
5732
  window.MotionCheckAppearSync && (w = window.MotionCheckAppearSync(this, A, B)), this.valueSubscriptions.set(A, () => {
@@ -5980,18 +5980,18 @@ const os = (g, A) => ZB(g) ? new ss(A) : new is(A, {
5980
5980
  });
5981
5981
  eA(() => {
5982
5982
  A.forEach((a) => {
5983
- const c = C.current.get(a.refId || "");
5984
- c && c.addEventListener("mouseenter", (V) => {
5985
- const y = V.target;
5986
- o(y.getBoundingClientRect());
5983
+ const Y = C.current.get(a.refId || "");
5984
+ Y && Y.addEventListener("mouseenter", (V) => {
5985
+ const u = V.target;
5986
+ o(u.getBoundingClientRect());
5987
5987
  });
5988
5988
  });
5989
5989
  }, [A]), eA(() => {
5990
- const a = window.matchMedia("(min-width: 640px)"), c = () => {
5990
+ const a = window.matchMedia("(min-width: 640px)"), Y = () => {
5991
5991
  a.matches && Q && t(!1);
5992
5992
  };
5993
- return a.addEventListener("change", c), () => {
5994
- a.removeEventListener("change", c);
5993
+ return a.addEventListener("change", Y), () => {
5994
+ a.removeEventListener("change", Y);
5995
5995
  };
5996
5996
  }, [Q]);
5997
5997
  const n = {
@@ -6058,19 +6058,19 @@ const os = (g, A) => ZB(g) ? new ss(A) : new is(A, {
6058
6058
  ),
6059
6059
  (!B || B.trim() === "") && /* @__PURE__ */ I("div", { className: `text-[10px] ${r[g]} tracking-[4px]`, children: "DATA" })
6060
6060
  ] }) }),
6061
- /* @__PURE__ */ I("div", { className: "hidden sm:ml-6 sm:block flex-grow", children: /* @__PURE__ */ I("nav", { className: "flex justify-end", children: /* @__PURE__ */ I("ul", { className: "flex space-x-4", children: A.map(({ label: a, href: c, refId: V }) => /* @__PURE__ */ I("li", { children: /* @__PURE__ */ I(gM, { href: c, Viewport: l[g], colorButton: G[g], children: /* @__PURE__ */ I(
6061
+ /* @__PURE__ */ I("div", { className: "hidden sm:ml-6 sm:block flex-grow", children: /* @__PURE__ */ I("nav", { className: "flex justify-end", children: /* @__PURE__ */ I("ul", { className: "flex space-x-4", children: A.map(({ label: a, href: Y, refId: V }) => /* @__PURE__ */ I("li", { children: /* @__PURE__ */ I(gM, { href: Y, Viewport: l[g], colorButton: G[g], children: /* @__PURE__ */ I(
6062
6062
  "div",
6063
6063
  {
6064
- ref: (y) => y && V && C.current.set(V, y),
6064
+ ref: (u) => u && V && C.current.set(V, u),
6065
6065
  id: V,
6066
6066
  style: { padding: "6px", color: G[g] },
6067
6067
  children: a
6068
6068
  }
6069
- ) }) }, c)) }) }) })
6069
+ ) }) }, Y)) }) }) })
6070
6070
  ] })
6071
6071
  ] })
6072
6072
  ] }),
6073
- Q && /* @__PURE__ */ I("div", { className: "space-y-1 px-2 pt-2 pb-3", children: A.map(({ label: a, href: c }) => /* @__PURE__ */ I(gM, { href: c, Viewport: l[g], colorButton: G[g], children: a }, c)) })
6073
+ Q && /* @__PURE__ */ I("div", { className: "space-y-1 px-2 pt-2 pb-3", children: A.map(({ label: a, href: Y }) => /* @__PURE__ */ I(gM, { href: Y, Viewport: l[g], colorButton: G[g], children: a }, Y)) })
6074
6074
  ] });
6075
6075
  }
6076
6076
  );
@@ -6080,48 +6080,52 @@ const ls = yA(
6080
6080
  images: g = [],
6081
6081
  autoPlaySpeed: A = 3e3,
6082
6082
  height: B = "400px",
6083
- hero: M = {},
6084
- explore: D = {},
6085
- overlap: e = {},
6086
- nameImages: w = !1,
6087
- nameImagesBotton: Q = !1,
6088
- ...t
6089
- }, C) => {
6090
- var c, V;
6091
- const [i, s] = S(0), o = wA(null), n = wA(null), E = wA(null), l = (y) => {
6092
- n.current = y.touches[0].clientX;
6093
- }, G = (y) => {
6083
+ explore: M = {},
6084
+ overlap: D = {},
6085
+ nameImages: e = !1,
6086
+ nameImagesBotton: w = !1,
6087
+ handletext4: Q,
6088
+ handletext5: t,
6089
+ ...C
6090
+ }, i) => {
6091
+ var V, u;
6092
+ const [s, o] = S(0), n = wA(null), E = wA(null), l = wA(null), G = (y) => {
6094
6093
  E.current = y.touches[0].clientX;
6095
- }, r = () => {
6096
- if (!n.current || !E.current) return;
6097
- const y = n.current - E.current;
6098
- y > 50 ? i < g.length - 1 && s(i + 1) : y < -50 && i > 0 && s(i - 1), n.current = null, E.current = null;
6094
+ }, r = (y) => {
6095
+ l.current = y.touches[0].clientX;
6099
6096
  }, a = () => {
6100
- s((y) => (y + 1) % g.length);
6097
+ if (!E.current || !l.current) return;
6098
+ const y = E.current - l.current;
6099
+ y > 50 ? s < g.length - 1 && o(s + 1) : y < -50 && s > 0 && o(s - 1), E.current = null, l.current = null;
6100
+ }, Y = () => {
6101
+ o((y) => (y + 1) % g.length);
6101
6102
  };
6102
- return eA(() => (g.length > 0 && (o.current = setInterval(a, A)), () => {
6103
- o.current && clearInterval(o.current);
6104
- }), [A, g.length]), !g || g.length === 0 ? /* @__PURE__ */ I("header", { ref: C, ...t, className: "relative w-full overflow-hidden", style: { height: B }, children: /* @__PURE__ */ I("p", { className: "text-center text-gray-500", children: "No hay imágenes para mostrar" }) }) : /* @__PURE__ */ f(
6103
+ return eA(() => (g.length > 0 && (n.current = setInterval(Y, A)), () => {
6104
+ n.current && clearInterval(n.current);
6105
+ }), [A, g.length]), !g || g.length === 0 ? /* @__PURE__ */ I("header", { ref: i, ...C, className: "relative w-full overflow-hidden", style: { height: B }, children: /* @__PURE__ */ I("p", { className: "text-center text-gray-500", children: "No hay imágenes para mostrar" }) }) : /* @__PURE__ */ f(
6105
6106
  "header",
6106
6107
  {
6107
- ref: C,
6108
- ...t,
6108
+ ref: i,
6109
+ ...C,
6109
6110
  style: { height: B },
6110
6111
  className: "relative w-full overflow-hidden",
6111
- onTouchStart: l,
6112
- onTouchMove: G,
6113
- onTouchEnd: r,
6112
+ onTouchStart: G,
6113
+ onTouchMove: r,
6114
+ onTouchEnd: a,
6114
6115
  children: [
6115
- M && /* @__PURE__ */ f("div", { className: "absolute inset-0 flex flex-col justify-center items-center z-20 text-center text-white", children: [
6116
+ D && /* @__PURE__ */ f("div", { className: "absolute inset-0 flex flex-col items-center justify-center text-center z-20 text-white", children: [
6116
6117
  /* @__PURE__ */ f("h1", { className: "text-3xl md:text-5xl font-bold animate-fade-in-up", children: [
6117
- M.text1,
6118
+ D.text1,
6118
6119
  " ",
6119
- /* @__PURE__ */ I("span", { className: "text-red-400", children: M.text2 })
6120
+ /* @__PURE__ */ I("span", { className: "text-red-400", children: D.text2 })
6120
6121
  ] }),
6121
- /* @__PURE__ */ I("p", { className: "mt-4 text-lg md:text-2xl animate-fade-in", children: M.text3 }),
6122
- /* @__PURE__ */ I("div", { className: "mt-6 pointer-events-auto", children: M.text4 && /* @__PURE__ */ I(ag, { variant: "vividPink", size: "small", label: M.text4 }) })
6122
+ /* @__PURE__ */ I("p", { className: "text-sm md:text-lg mb-6", children: D.text3 }),
6123
+ /* @__PURE__ */ f("div", { className: "flex gap-4", children: [
6124
+ D.text4 && /* @__PURE__ */ I(_g, { variant: "vividPink", onClick: Q, size: "small", label: D.text4 }),
6125
+ D.text5 && /* @__PURE__ */ I(_g, { variant: "tertiary", onClick: t, size: "small", label: D.text5 })
6126
+ ] })
6123
6127
  ] }),
6124
- (D == null ? void 0 : D.content) && /* @__PURE__ */ I("div", { className: "absolute z-20 bottom-8 left-1/2 transform -translate-x-1/2 pointer-events-auto", children: /* @__PURE__ */ f("a", { href: D.content, className: "flex flex-col items-center text-white", children: [
6128
+ (M == null ? void 0 : M.content) && /* @__PURE__ */ I("div", { className: "absolute z-20 bottom-8 left-1/2 transform -translate-x-1/2 pointer-events-auto", children: /* @__PURE__ */ f("a", { href: M.content, className: "flex flex-col items-center text-white", children: [
6125
6129
  /* @__PURE__ */ I("span", { className: "mb-2 text-lg font-medium", children: "Explora más" }),
6126
6130
  /* @__PURE__ */ I(
6127
6131
  "svg",
@@ -6143,30 +6147,22 @@ const ls = yA(
6143
6147
  }
6144
6148
  )
6145
6149
  ] }) }),
6146
- e && /* @__PURE__ */ f("div", { className: "absolute inset-0 flex flex-col items-center justify-center text-center z-20 text-white", children: [
6147
- /* @__PURE__ */ I("h1", { className: "text-3xl md:text-5xl font-extrabold mb-4", children: e.text1 }),
6148
- /* @__PURE__ */ I("p", { className: "text-sm md:text-lg mb-6", children: e.text2 }),
6149
- /* @__PURE__ */ f("div", { className: "flex gap-4", children: [
6150
- e.text3 && /* @__PURE__ */ I(ag, { variant: "vividPink", size: "small", label: e.text3 }),
6151
- e.text4 && /* @__PURE__ */ I(ag, { variant: "tertiary", size: "small", label: e.text4 })
6152
- ] })
6153
- ] }),
6154
- w && /* @__PURE__ */ I("div", { className: "absolute inset-0 flex flex-col justify-center items-center text-white z-10 transition-opacity duration-700 ease-in-out", children: /* @__PURE__ */ I("h1", { className: "text-4xl font-bold", children: ((c = g[i]) == null ? void 0 : c.alt) || "Título dinámico" }, i) }),
6155
- Q && /* @__PURE__ */ I("div", { className: "absolute bottom-8 left-1/2 transform -translate-x-1/2 text-center z-10", children: /* @__PURE__ */ I("p", { className: "text-lg font-medium text-white", children: (V = g[i]) == null ? void 0 : V.alt }) }),
6150
+ e && /* @__PURE__ */ I("div", { className: "absolute inset-0 flex flex-col justify-center items-center text-white z-10 transition-opacity duration-700 ease-in-out", children: /* @__PURE__ */ I("h1", { className: "text-4xl font-bold", children: ((V = g[s]) == null ? void 0 : V.alt) || "Título dinámico" }, s) }),
6151
+ w && /* @__PURE__ */ I("div", { className: "absolute bottom-8 left-1/2 transform -translate-x-1/2 text-center z-10", children: /* @__PURE__ */ I("p", { className: "text-lg font-medium text-white", children: (u = g[s]) == null ? void 0 : u.alt }) }),
6156
6152
  /* @__PURE__ */ I(
6157
6153
  "div",
6158
6154
  {
6159
6155
  className: "flex transition-transform duration-700 ease-in-out",
6160
6156
  style: {
6161
- transform: `translateX(-${i * 100}%)`,
6157
+ transform: `translateX(-${s * 100}%)`,
6162
6158
  height: B
6163
6159
  },
6164
- children: g.map(({ src: y, alt: u, href: q }, U) => /* @__PURE__ */ f("div", { id: "large-header", className: "relative w-full flex-shrink-0 large-header", children: [
6165
- q ? /* @__PURE__ */ I("a", { href: q, children: /* @__PURE__ */ I(
6160
+ children: g.map(({ src: y, alt: k, href: m }, d) => /* @__PURE__ */ f("div", { id: "large-header", className: "relative w-full flex-shrink-0 large-header", children: [
6161
+ m ? /* @__PURE__ */ I("a", { href: m, children: /* @__PURE__ */ I(
6166
6162
  "img",
6167
6163
  {
6168
6164
  src: y,
6169
- alt: u,
6165
+ alt: k,
6170
6166
  className: "w-full h-full object-cover",
6171
6167
  style: { height: B }
6172
6168
  }
@@ -6174,7 +6170,7 @@ const ls = yA(
6174
6170
  "img",
6175
6171
  {
6176
6172
  src: y,
6177
- alt: u,
6173
+ alt: k,
6178
6174
  className: "w-full h-full object-cover",
6179
6175
  style: { height: B }
6180
6176
  }
@@ -6186,16 +6182,16 @@ const ls = yA(
6186
6182
  style: { height: B }
6187
6183
  }
6188
6184
  )
6189
- ] }, U))
6185
+ ] }, d))
6190
6186
  }
6191
6187
  ),
6192
- /* @__PURE__ */ I("div", { className: "absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2 z-30", children: g.map((y, u) => /* @__PURE__ */ I(
6188
+ /* @__PURE__ */ I("div", { className: "absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2 z-30", children: g.map((y, k) => /* @__PURE__ */ I(
6193
6189
  "button",
6194
6190
  {
6195
- onClick: () => s(u),
6196
- className: `w-3 h-3 rounded-full ${i === u ? "bg-white" : "bg-gray-400"}`
6191
+ onClick: () => o(k),
6192
+ className: `w-3 h-3 rounded-full ${s === k ? "bg-white" : "bg-gray-400"}`
6197
6193
  },
6198
- u
6194
+ k
6199
6195
  )) })
6200
6196
  ]
6201
6197
  }
@@ -6204,7 +6200,7 @@ const ls = yA(
6204
6200
  );
6205
6201
  ls.displayName = "Header";
6206
6202
  export {
6207
- ag as Button,
6203
+ _g as Button,
6208
6204
  Fe as CircularProgress,
6209
6205
  ls as Header,
6210
6206
  GB as LoadingIndicator,