prisma-goat 0.4.1 → 0.4.3
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.
- package/README.md +1 -1
- package/dist/prisma-goat.js +288 -288
- package/dist/prisma-goat.umd.cjs +8 -8
- package/package.json +1 -1
package/dist/prisma-goat.js
CHANGED
|
@@ -237,7 +237,7 @@ const _g = oA(
|
|
|
237
237
|
small: "px-4 py-1.5 text-xs",
|
|
238
238
|
medium: "px-6 py-2.5 text-base",
|
|
239
239
|
large: "px-8 py-3 text-lg"
|
|
240
|
-
},
|
|
240
|
+
}, G = () => C === "home" ? /* @__PURE__ */ s(VB, { className: "w-5 h-5" }) : C === "Left" ? /* @__PURE__ */ s(lB, { className: "w-5 h-5" }) : C === "right" ? /* @__PURE__ */ s(GB, { className: "w-5 h-5" }) : C === "save" ? /* @__PURE__ */ s(kB, { className: "w-5 h-5" }) : C === "more" ? /* @__PURE__ */ s(uB, { className: "w-5 h-5" }) : C === "update" ? /* @__PURE__ */ s(yB, { className: "w-5 h-5" }) : C === "attach" ? /* @__PURE__ */ s(fB, { className: "w-5 h-5" }) : C === "send" ? /* @__PURE__ */ s(pB, { className: "w-5 h-5" }) : C === "delete" ? /* @__PURE__ */ s(aB, { className: "w-5 h-5" }) : C === "edit" ? /* @__PURE__ */ s(cB, { className: "w-5 h-5" }) : C === "login" ? /* @__PURE__ */ s(RB, { className: "w-5 h-5" }) : C === "reset" ? /* @__PURE__ */ s(YB, { className: "w-5 h-5" }) : C === "add" ? /* @__PURE__ */ s(mB, { className: "w-5 h-5" }) : C === "exit" ? /* @__PURE__ */ s(KB, { className: "w-5 h-5" }) : C === "off" ? /* @__PURE__ */ s(qB, { className: "w-5 h-5" }) : C === "calculator" ? /* @__PURE__ */ s(ZB, { className: "w-5 h-5" }) : C === "list" ? /* @__PURE__ */ s(UB, { className: "w-5 h-5" }) : C === "futbol" ? /* @__PURE__ */ s(dB, { className: "w-5 h-5" }) : null, Y = /* @__PURE__ */ s(
|
|
241
241
|
"div",
|
|
242
242
|
{
|
|
243
243
|
className: z(
|
|
@@ -245,9 +245,9 @@ const _g = oA(
|
|
|
245
245
|
A === "secondary" ? "border-[#1F2937]" : "border-white"
|
|
246
246
|
)
|
|
247
247
|
}
|
|
248
|
-
), V = () => x.isValidElement(t) ? x.cloneElement(t, { className: "w-5 h-5" }) :
|
|
248
|
+
), V = () => x.isValidElement(t) ? x.cloneElement(t, { className: "w-5 h-5" }) : G(), l = i || g;
|
|
249
249
|
return tA(() => {
|
|
250
|
-
const
|
|
250
|
+
const y = (k) => {
|
|
251
251
|
if (w && k.key === "Enter" && !e && I) {
|
|
252
252
|
const U = new MouseEvent("click", {
|
|
253
253
|
bubbles: !0,
|
|
@@ -257,8 +257,8 @@ const _g = oA(
|
|
|
257
257
|
I(U);
|
|
258
258
|
}
|
|
259
259
|
};
|
|
260
|
-
return window.addEventListener("keydown",
|
|
261
|
-
window.removeEventListener("keydown",
|
|
260
|
+
return window.addEventListener("keydown", y), () => {
|
|
261
|
+
window.removeEventListener("keydown", y);
|
|
262
262
|
};
|
|
263
263
|
}, [w, I, e]), /* @__PURE__ */ Z(
|
|
264
264
|
"button",
|
|
@@ -279,11 +279,11 @@ const _g = oA(
|
|
|
279
279
|
onClick: I,
|
|
280
280
|
...E,
|
|
281
281
|
children: [
|
|
282
|
-
M && D === "left" && /* @__PURE__ */ s("span", { className: "mr-2", children:
|
|
282
|
+
M && D === "left" && /* @__PURE__ */ s("span", { className: "mr-2", children: Y }),
|
|
283
283
|
Q === "left" && /* @__PURE__ */ s("span", { className: "mr-2", children: V() }),
|
|
284
|
-
|
|
284
|
+
l,
|
|
285
285
|
Q === "right" && /* @__PURE__ */ s("span", { className: "ml-2", children: V() }),
|
|
286
|
-
M && D === "right" && /* @__PURE__ */ s("span", { className: "ml-2", children:
|
|
286
|
+
M && D === "right" && /* @__PURE__ */ s("span", { className: "ml-2", children: Y })
|
|
287
287
|
]
|
|
288
288
|
}
|
|
289
289
|
);
|
|
@@ -527,44 +527,44 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
527
527
|
login: r = !1,
|
|
528
528
|
variantIndicator: c = "primary",
|
|
529
529
|
backgroundIndicator: a = "black",
|
|
530
|
-
logoGoatDataIndicator:
|
|
531
|
-
imgLoadingIndicator:
|
|
530
|
+
logoGoatDataIndicator: G = "logoRed",
|
|
531
|
+
imgLoadingIndicator: Y = "",
|
|
532
532
|
strokeWidthIndicator: V = "10",
|
|
533
|
-
...
|
|
534
|
-
},
|
|
533
|
+
...l
|
|
534
|
+
}, y) => {
|
|
535
535
|
var h, nA, j, RA;
|
|
536
|
-
const [k, U] = F(!1), [
|
|
536
|
+
const [k, U] = F(!1), [m, q] = F(!1), [b, IA] = F(!1), [UA, GA] = F(null), [SA, XA] = F(null), P = eA(null), $ = () => U(!k), aA = () => q(!m), EA = () => q(!1);
|
|
537
537
|
tA(() => {
|
|
538
538
|
if (typeof window < "u" && (C != null && C.events)) {
|
|
539
|
-
const
|
|
539
|
+
const u = () => {
|
|
540
540
|
IA(!0);
|
|
541
541
|
}, K = () => {
|
|
542
542
|
IA(!1);
|
|
543
543
|
};
|
|
544
|
-
return C.events.on("routeChangeStart",
|
|
545
|
-
C.events.off("routeChangeStart",
|
|
544
|
+
return C.events.on("routeChangeStart", u), C.events.on("routeChangeComplete", K), C.events.on("routeChangeError", K), () => {
|
|
545
|
+
C.events.off("routeChangeStart", u), C.events.off("routeChangeComplete", K), C.events.off("routeChangeError", K);
|
|
546
546
|
};
|
|
547
547
|
}
|
|
548
548
|
}, [C]);
|
|
549
|
-
const Eg = (
|
|
550
|
-
|
|
551
|
-
}, Pg = (
|
|
552
|
-
|
|
553
|
-
}, NA = (
|
|
554
|
-
GA((MA) => MA === K ? -1 : K),
|
|
555
|
-
}, ng = (
|
|
556
|
-
|
|
557
|
-
}, d = (
|
|
558
|
-
|
|
549
|
+
const Eg = (u, K) => {
|
|
550
|
+
u.subItems && u.subItems.length > 0 ? GA((MA) => MA === K ? -1 : K) : u.link && C && C.push(u.link);
|
|
551
|
+
}, Pg = (u, K) => {
|
|
552
|
+
u.subItems && u.subItems.length > 0 ? GA((MA) => MA === K ? -1 : K) : u.link && C && (C.push(u.link), U(!1));
|
|
553
|
+
}, NA = (u, K) => {
|
|
554
|
+
GA((MA) => MA === K ? -1 : K), u.link && C && C.push(u.link);
|
|
555
|
+
}, ng = (u) => {
|
|
556
|
+
u.link && C && (C.push(u.link), EA());
|
|
557
|
+
}, d = (u) => {
|
|
558
|
+
u.link && C && (C.push(u.link), U(!1));
|
|
559
559
|
};
|
|
560
560
|
return tA(() => {
|
|
561
|
-
const
|
|
561
|
+
const u = (K) => {
|
|
562
562
|
P.current && !P.current.contains(K.target) && EA();
|
|
563
563
|
};
|
|
564
|
-
return
|
|
565
|
-
document.removeEventListener("mousedown",
|
|
564
|
+
return m && document.addEventListener("mousedown", u), () => {
|
|
565
|
+
document.removeEventListener("mousedown", u);
|
|
566
566
|
};
|
|
567
|
-
}, [
|
|
567
|
+
}, [m]), /* @__PURE__ */ Z("nav", { ref: y, ...l, className: `fixed top-0 left-0 right-0 z-10 ${QA[A]}`, children: [
|
|
568
568
|
/* @__PURE__ */ s("div", { className: "mx-auto max-w-7xl px-2 sm:px-6 lg:px-8", children: /* @__PURE__ */ Z("div", { className: "relative flex h-16 items-center justify-between", children: [
|
|
569
569
|
/* @__PURE__ */ s("div", { className: "absolute inset-y-0 left-0 flex items-center sm:hidden", children: /* @__PURE__ */ s("button", { className: `menu ${k ? A === "secondary" ? "openedark" : "opened" : ""}`, onClick: $, "aria-label": "Main Menu", children: /* @__PURE__ */ Z("svg", { width: "45", height: "45", viewBox: "0 0 100 100", style: { fill: "#f9f8f8 !important" }, children: [
|
|
570
570
|
/* @__PURE__ */ s("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" }),
|
|
@@ -594,7 +594,7 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
594
594
|
(!e || e.trim() === "") && /* @__PURE__ */ s("div", { className: `${PA[A]}`, style: { fontSize: "10px", letterSpacing: "4px" }, children: "DATA" })
|
|
595
595
|
] }),
|
|
596
596
|
/* @__PURE__ */ Z("div", { className: "hidden sm:ml-6 sm:block", children: [
|
|
597
|
-
/* @__PURE__ */ s("div", { className: `flex space-x-4 ${e && e.trim() !== "" ? "mt-0" : "mt-2"}`, children: M.map((
|
|
597
|
+
/* @__PURE__ */ s("div", { className: `flex space-x-4 ${e && e.trim() !== "" ? "mt-0" : "mt-2"}`, children: M.map((u, K) => {
|
|
598
598
|
var MA;
|
|
599
599
|
return /* @__PURE__ */ Z("div", { className: "relative group", children: [
|
|
600
600
|
/* @__PURE__ */ s(
|
|
@@ -603,29 +603,29 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
603
603
|
type: "button",
|
|
604
604
|
className: z(
|
|
605
605
|
"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",
|
|
606
|
-
Q ===
|
|
606
|
+
Q === u.link || (MA = u.subItems) != null && MA.some((X) => X.link === Q) ? BA[A] : "",
|
|
607
607
|
H[A],
|
|
608
608
|
wA[A],
|
|
609
|
-
Q ===
|
|
610
|
-
Q ===
|
|
609
|
+
Q === u.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",
|
|
610
|
+
Q === u.link ? "font-semibold" : "font-normal"
|
|
611
611
|
),
|
|
612
|
-
onClick: () => Eg(
|
|
612
|
+
onClick: () => Eg(u, K),
|
|
613
613
|
onMouseEnter: () => XA(K),
|
|
614
614
|
onMouseLeave: () => XA(null),
|
|
615
|
-
children:
|
|
615
|
+
children: u.label
|
|
616
616
|
}
|
|
617
617
|
),
|
|
618
|
-
SA === K &&
|
|
618
|
+
SA === K && u.description && u.description.trim() !== "" && /* @__PURE__ */ Z(
|
|
619
619
|
"div",
|
|
620
620
|
{
|
|
621
621
|
style: { border: `1px ${Ag[A]} solid`, maxWidth: "260px" },
|
|
622
622
|
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 ${PA[A]} ${QA[A]} rounded-md transition-all duration-300 group-hover:opacity-100 group-hover:translate-y-4`,
|
|
623
623
|
children: [
|
|
624
|
-
|
|
624
|
+
u.image && u.image.trim() !== "" && /* @__PURE__ */ Z("div", { className: "relative w-full h-24 mb-2", children: [
|
|
625
625
|
/* @__PURE__ */ s(
|
|
626
626
|
"img",
|
|
627
627
|
{
|
|
628
|
-
src:
|
|
628
|
+
src: u.image,
|
|
629
629
|
alt: "Tooltip Image",
|
|
630
630
|
className: "object-cover w-full h-full rounded-t-md opacity-75 hover:opacity-100 transition-opacity duration-300"
|
|
631
631
|
}
|
|
@@ -633,16 +633,16 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
633
633
|
/* @__PURE__ */ s("div", { className: "absolute bottom-0 w-full h-8 bg-gradient-to-t from-white/80 to-transparent" })
|
|
634
634
|
] }),
|
|
635
635
|
/* @__PURE__ */ s("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" }),
|
|
636
|
-
|
|
636
|
+
u.description
|
|
637
637
|
]
|
|
638
638
|
}
|
|
639
639
|
),
|
|
640
|
-
|
|
640
|
+
u.subItems && u.subItems.length > 0 && UA === K && /* @__PURE__ */ s(
|
|
641
641
|
"div",
|
|
642
642
|
{
|
|
643
643
|
className: `absolute left-0 mt-2 w-48 ${QA[A]} ${yg[A]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
|
|
644
644
|
role: "menu",
|
|
645
|
-
children:
|
|
645
|
+
children: u.subItems.map((X, Lg) => /* @__PURE__ */ s(
|
|
646
646
|
"div",
|
|
647
647
|
{
|
|
648
648
|
className: z(
|
|
@@ -674,7 +674,7 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
674
674
|
type: "button",
|
|
675
675
|
className: `flex rounded-full bg-gray-800 text-sm transition duration-300 focus:outline-none focus:ring-2 ${wA[A]} focus:ring-offset-2`,
|
|
676
676
|
id: "user-menu-button",
|
|
677
|
-
"aria-expanded":
|
|
677
|
+
"aria-expanded": m,
|
|
678
678
|
"aria-haspopup": "true",
|
|
679
679
|
onClick: aA,
|
|
680
680
|
children: /* @__PURE__ */ s(
|
|
@@ -688,8 +688,8 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
688
688
|
src: B.image,
|
|
689
689
|
alt: "User avatar",
|
|
690
690
|
className: "rounded-full object-cover w-full h-full",
|
|
691
|
-
onError: (
|
|
692
|
-
|
|
691
|
+
onError: (u) => {
|
|
692
|
+
u.currentTarget.onerror = null, u.currentTarget.src = "";
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
695
|
) : ((nA = (h = B.name) == null ? void 0 : h.charAt(0)) == null ? void 0 : nA.toUpperCase()) || "?"
|
|
@@ -697,26 +697,26 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
697
697
|
)
|
|
698
698
|
}
|
|
699
699
|
) }),
|
|
700
|
-
|
|
700
|
+
m && /* @__PURE__ */ s(
|
|
701
701
|
"div",
|
|
702
702
|
{
|
|
703
703
|
ref: P,
|
|
704
704
|
className: `absolute right-0 mt-2 w-48 ${QA[A]} ${yg[A]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
|
|
705
705
|
role: "menu",
|
|
706
|
-
children: D.map((
|
|
706
|
+
children: D.map((u, K) => /* @__PURE__ */ s(
|
|
707
707
|
"div",
|
|
708
708
|
{
|
|
709
709
|
className: z(
|
|
710
710
|
"block px-4 py-2 text-sm cursor-pointer",
|
|
711
711
|
H[A] && `${H[A]}`,
|
|
712
|
-
Q ===
|
|
713
|
-
Q ===
|
|
714
|
-
Q ===
|
|
712
|
+
Q === u.link ? BA[A] : "",
|
|
713
|
+
Q === u.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",
|
|
714
|
+
Q === u.link ? "font-semibold" : "font-normal"
|
|
715
715
|
),
|
|
716
|
-
onClick:
|
|
717
|
-
ng(
|
|
716
|
+
onClick: u.label === "Cerrar sesion" ? I : () => {
|
|
717
|
+
ng(u);
|
|
718
718
|
},
|
|
719
|
-
children:
|
|
719
|
+
children: u.label
|
|
720
720
|
},
|
|
721
721
|
K
|
|
722
722
|
))
|
|
@@ -743,7 +743,7 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
743
743
|
] })
|
|
744
744
|
] }) }),
|
|
745
745
|
k && /* @__PURE__ */ Z("div", { className: "sm:hidden px-2 pt-2 pb-3 space-y-1", children: [
|
|
746
|
-
M.map((
|
|
746
|
+
M.map((u, K) => {
|
|
747
747
|
var MA;
|
|
748
748
|
return /* @__PURE__ */ Z("div", { children: [
|
|
749
749
|
/* @__PURE__ */ s(
|
|
@@ -752,17 +752,17 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
752
752
|
className: z(
|
|
753
753
|
`block w-full px-4 py-2 text-base ${H[A]}
|
|
754
754
|
rounded-md transition duration-300 focus:outline-none focus:ring-2 ${wA[A]} focus:ring-offset-2 text-left`,
|
|
755
|
-
Q ===
|
|
756
|
-
Q ===
|
|
757
|
-
Q ===
|
|
755
|
+
Q === u.link || (MA = u.subItems) != null && MA.some((X) => X.link === Q) ? BA[A] : "",
|
|
756
|
+
Q === u.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",
|
|
757
|
+
Q === u.link ? "font-semibold" : "font-normal"
|
|
758
758
|
),
|
|
759
759
|
onClick: () => {
|
|
760
|
-
Pg(
|
|
760
|
+
Pg(u, K);
|
|
761
761
|
},
|
|
762
|
-
children:
|
|
762
|
+
children: u.label
|
|
763
763
|
}
|
|
764
764
|
),
|
|
765
|
-
|
|
765
|
+
u.subItems && u.subItems.length > 0 && UA === K && /* @__PURE__ */ s("div", { className: "pl-4 py-4", children: u.subItems.map((X, Lg) => /* @__PURE__ */ s(
|
|
766
766
|
"button",
|
|
767
767
|
{
|
|
768
768
|
className: z(
|
|
@@ -773,7 +773,7 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
773
773
|
Q === X.link ? "font-semibold" : "font-normal"
|
|
774
774
|
),
|
|
775
775
|
onClick: () => {
|
|
776
|
-
NA(
|
|
776
|
+
NA(u, K), U(!1);
|
|
777
777
|
},
|
|
778
778
|
children: X.label
|
|
779
779
|
},
|
|
@@ -803,8 +803,8 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
803
803
|
src: B.image,
|
|
804
804
|
alt: "User avatar",
|
|
805
805
|
className: "rounded-full object-cover w-full h-full",
|
|
806
|
-
onError: (
|
|
807
|
-
|
|
806
|
+
onError: (u) => {
|
|
807
|
+
u.currentTarget.onerror = null, u.currentTarget.src = "";
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
810
|
) : ((RA = (j = B.name) == null ? void 0 : j.charAt(0)) == null ? void 0 : RA.toUpperCase()) || "?"
|
|
@@ -814,18 +814,18 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
814
814
|
),
|
|
815
815
|
/* @__PURE__ */ s("div", { className: `block w-full px-4 py-4 ${PA[A]} text-left`, children: B.name })
|
|
816
816
|
] }),
|
|
817
|
-
D.map((
|
|
817
|
+
D.map((u, K) => /* @__PURE__ */ s(
|
|
818
818
|
"button",
|
|
819
819
|
{
|
|
820
820
|
className: z(
|
|
821
821
|
`block w-full px-4 py-2 text-base ${H[A]}
|
|
822
822
|
rounded-md transition duration-300 focus:outline-none focus:ring-2 ${wA[A]} focus:ring-offset-2 text-left`,
|
|
823
|
-
Q ===
|
|
824
|
-
Q ===
|
|
825
|
-
Q ===
|
|
823
|
+
Q === u.link ? BA[A] : "",
|
|
824
|
+
Q === u.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",
|
|
825
|
+
Q === u.link ? "font-semibold" : "font-normal"
|
|
826
826
|
),
|
|
827
|
-
onClick:
|
|
828
|
-
children:
|
|
827
|
+
onClick: u.label === "Cerrar sesion" ? I : () => d(u),
|
|
828
|
+
children: u.label
|
|
829
829
|
},
|
|
830
830
|
K
|
|
831
831
|
))
|
|
@@ -852,8 +852,8 @@ const kA = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZQAAApUCAYAAACv3FolAA
|
|
|
852
852
|
{
|
|
853
853
|
variant: c,
|
|
854
854
|
background: a,
|
|
855
|
-
logoGoatData:
|
|
856
|
-
imgLoading:
|
|
855
|
+
logoGoatData: G,
|
|
856
|
+
imgLoading: Y,
|
|
857
857
|
strokeWidth: V
|
|
858
858
|
}
|
|
859
859
|
)
|
|
@@ -974,17 +974,17 @@ const Se = oA(
|
|
|
974
974
|
imgLoadingIndicator: r = "",
|
|
975
975
|
strokeWidthIndicator: c = "10",
|
|
976
976
|
handleLogout: a,
|
|
977
|
-
toggleTheme:
|
|
978
|
-
toggeInstallApp:
|
|
977
|
+
toggleTheme: G,
|
|
978
|
+
toggeInstallApp: Y,
|
|
979
979
|
...V
|
|
980
|
-
},
|
|
980
|
+
}, l) => {
|
|
981
981
|
var NA, ng;
|
|
982
|
-
const [
|
|
982
|
+
const [y, k] = F(!0), [U, m] = F(null), [q, b] = F(!1), [IA, UA] = F(null), [GA, SA] = F(!1), XA = eA(null), P = () => b(!q), $ = () => b(!1), aA = () => {
|
|
983
983
|
k((d) => !d);
|
|
984
984
|
}, EA = (d, h) => {
|
|
985
|
-
d.subItems && d.subItems.length > 0 ?
|
|
985
|
+
d.subItems && d.subItems.length > 0 ? m((nA) => nA === h ? -1 : h) : d.link && Q && Q.push(d.link);
|
|
986
986
|
}, Eg = (d, h) => {
|
|
987
|
-
|
|
987
|
+
m((nA) => nA === h ? -1 : h), d.link && Q && Q.push(d.link);
|
|
988
988
|
}, Pg = (d) => {
|
|
989
989
|
d.link && Q && (Q.push(d.link), $());
|
|
990
990
|
};
|
|
@@ -1002,9 +1002,9 @@ const Se = oA(
|
|
|
1002
1002
|
}, [Q]), /* @__PURE__ */ Z(
|
|
1003
1003
|
"div",
|
|
1004
1004
|
{
|
|
1005
|
-
ref:
|
|
1005
|
+
ref: l,
|
|
1006
1006
|
...V,
|
|
1007
|
-
style: { width:
|
|
1007
|
+
style: { width: y ? "250px" : "70px" },
|
|
1008
1008
|
className: z(
|
|
1009
1009
|
`fixed top-0 left-0 h-full ${QA[B]} text-white shadow-lg transition-all z-50`,
|
|
1010
1010
|
M
|
|
@@ -1025,18 +1025,18 @@ const Se = oA(
|
|
|
1025
1025
|
{
|
|
1026
1026
|
alt: "logo",
|
|
1027
1027
|
className: "hidden lg:block",
|
|
1028
|
-
style: { height: e && e.trim() !== "" ? e :
|
|
1029
|
-
src: D && D.trim() !== "" ? D : B === "secondary" ?
|
|
1028
|
+
style: { height: e && e.trim() !== "" ? e : y ? "70px" : "", width: w && w.trim() !== "" ? w : y ? "110px" : "40px" },
|
|
1029
|
+
src: D && D.trim() !== "" ? D : B === "secondary" ? y ? kA : JB : y ? "https://goatdata.com.ar/images/logogoatblanco.png" : hB
|
|
1030
1030
|
}
|
|
1031
1031
|
),
|
|
1032
|
-
(!D || D.trim() === "") && /* @__PURE__ */ s("div", { className: `${PA[B]} ${
|
|
1032
|
+
(!D || D.trim() === "") && /* @__PURE__ */ s("div", { className: `${PA[B]} ${y ? "" : "lock w-auto lg:hidden"}`, style: { fontSize: y ? "12px" : "8px", letterSpacing: "4px" }, children: "DATA" })
|
|
1033
1033
|
] }),
|
|
1034
1034
|
/* @__PURE__ */ s(
|
|
1035
1035
|
"button",
|
|
1036
1036
|
{
|
|
1037
1037
|
onClick: aA,
|
|
1038
1038
|
className: `absolute -right-3 transform -translate-y-1/2 p-1 rounded-full shadow-md ${be[B]} focus:outline-none`,
|
|
1039
|
-
children:
|
|
1039
|
+
children: y ? /* @__PURE__ */ s(Je, { size: 20 }) : /* @__PURE__ */ s(he, { size: 20 })
|
|
1040
1040
|
}
|
|
1041
1041
|
),
|
|
1042
1042
|
/* @__PURE__ */ s("div", { style: { marginLeft: "20px", marginRight: "20px", border: `1px ${Ag[B]} solid`, marginTop: "14px" } }),
|
|
@@ -1049,7 +1049,7 @@ const Se = oA(
|
|
|
1049
1049
|
{
|
|
1050
1050
|
type: "button",
|
|
1051
1051
|
className: z(
|
|
1052
|
-
`flex items-center justify-start w-full ${
|
|
1052
|
+
`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`,
|
|
1053
1053
|
H[B],
|
|
1054
1054
|
wA[B],
|
|
1055
1055
|
t === d.link || (nA = d.subItems) != null && nA.some((j) => j.link === t) ? BA[B] : "",
|
|
@@ -1065,19 +1065,19 @@ const Se = oA(
|
|
|
1065
1065
|
(d == null ? void 0 : d.icon) && /* @__PURE__ */ s(
|
|
1066
1066
|
"div",
|
|
1067
1067
|
{
|
|
1068
|
-
className: `flex ${
|
|
1068
|
+
className: `flex ${y ? "" : "py-2"}`,
|
|
1069
1069
|
style: {
|
|
1070
|
-
marginRight:
|
|
1071
|
-
marginLeft:
|
|
1070
|
+
marginRight: y ? "12px" : "0px",
|
|
1071
|
+
marginLeft: y ? "0px" : "6px"
|
|
1072
1072
|
},
|
|
1073
1073
|
children: /* @__PURE__ */ s(d.icon, { className: "w-6 h-6" })
|
|
1074
1074
|
}
|
|
1075
1075
|
),
|
|
1076
|
-
/* @__PURE__ */ s("span", { className: `${
|
|
1076
|
+
/* @__PURE__ */ s("span", { className: `${y ? "block" : "hidden"}`, children: d.label })
|
|
1077
1077
|
]
|
|
1078
1078
|
}
|
|
1079
1079
|
),
|
|
1080
|
-
IA === h && d.description && d.description.trim() !== "" && !
|
|
1080
|
+
IA === h && d.description && d.description.trim() !== "" && !y && /* @__PURE__ */ Z(
|
|
1081
1081
|
"div",
|
|
1082
1082
|
{
|
|
1083
1083
|
style: {
|
|
@@ -1086,7 +1086,7 @@ const Se = oA(
|
|
|
1086
1086
|
},
|
|
1087
1087
|
className: z(
|
|
1088
1088
|
"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",
|
|
1089
|
-
|
|
1089
|
+
y ? "left-full ml-2" : "left-full ml-2 translate-x-2 group-hover:translate-x-4",
|
|
1090
1090
|
PA[B],
|
|
1091
1091
|
QA[B]
|
|
1092
1092
|
),
|
|
@@ -1107,7 +1107,7 @@ const Se = oA(
|
|
|
1107
1107
|
]
|
|
1108
1108
|
}
|
|
1109
1109
|
),
|
|
1110
|
-
d.subItems && d.subItems.length > 0 && U === h && (
|
|
1110
|
+
d.subItems && d.subItems.length > 0 && U === h && (y ? /* @__PURE__ */ s("div", { className: "pl-4 py-4", children: d.subItems.map((j, RA) => /* @__PURE__ */ s(
|
|
1111
1111
|
"button",
|
|
1112
1112
|
{
|
|
1113
1113
|
className: z(
|
|
@@ -1178,14 +1178,14 @@ const Se = oA(
|
|
|
1178
1178
|
)
|
|
1179
1179
|
}
|
|
1180
1180
|
),
|
|
1181
|
-
/* @__PURE__ */ s("div", { className: `block w-full px-4 py-4 ${PA[B]} text-left ${
|
|
1182
|
-
/* @__PURE__ */ s("div", { className: `mr-2 ${
|
|
1181
|
+
/* @__PURE__ */ s("div", { className: `block w-full px-4 py-4 ${PA[B]} text-left ${y ? "block" : "hidden"}`, children: C.name }),
|
|
1182
|
+
/* @__PURE__ */ s("div", { className: `mr-2 ${y ? "block" : "hidden"}`, children: /* @__PURE__ */ s(Fe, { size: 20, color: Ag[B] }) })
|
|
1183
1183
|
] }),
|
|
1184
1184
|
q && /* @__PURE__ */ s(
|
|
1185
1185
|
"div",
|
|
1186
1186
|
{
|
|
1187
1187
|
ref: XA,
|
|
1188
|
-
className: `absolute right-0 ${
|
|
1188
|
+
className: `absolute right-0 ${y ? "left-56" : "left-14"} bottom-8 mt-2 w-48 ${QA[B]} ${yg[B]} rounded-md shadow-lg ring-4 ring-black ring-opacity-5`,
|
|
1189
1189
|
role: "menu",
|
|
1190
1190
|
children: A.map((d, h) => /* @__PURE__ */ s(
|
|
1191
1191
|
"div",
|
|
@@ -1206,9 +1206,9 @@ const Se = oA(
|
|
|
1206
1206
|
))
|
|
1207
1207
|
}
|
|
1208
1208
|
),
|
|
1209
|
-
/* @__PURE__ */ Z("div", { style: { display: "flex", gap: "12px", padding: "0px 20px 0px 10px", flexDirection:
|
|
1210
|
-
o && /* @__PURE__ */ s(SD, { variant: B, onClick:
|
|
1211
|
-
i && /* @__PURE__ */ s(TD, { variant: B, toggleTheme:
|
|
1209
|
+
/* @__PURE__ */ Z("div", { style: { display: "flex", gap: "12px", padding: "0px 20px 0px 10px", flexDirection: y ? "row" : "column", alignItems: "center" }, children: [
|
|
1210
|
+
o && /* @__PURE__ */ s(SD, { variant: B, onClick: Y }),
|
|
1211
|
+
i && /* @__PURE__ */ s(TD, { variant: B, toggleTheme: G })
|
|
1212
1212
|
] })
|
|
1213
1213
|
] })
|
|
1214
1214
|
] }),
|
|
@@ -1370,18 +1370,18 @@ function xD(g, A) {
|
|
|
1370
1370
|
delta: 0,
|
|
1371
1371
|
timestamp: 0,
|
|
1372
1372
|
isProcessing: !1
|
|
1373
|
-
}, e = () => B = !0, w = rg.reduce((a,
|
|
1373
|
+
}, e = () => B = !0, w = rg.reduce((a, G) => (a[G] = $e(e), a), {}), { read: t, resolveKeyframes: Q, update: C, preRender: i, render: o, postRender: I } = w, E = () => {
|
|
1374
1374
|
const a = performance.now();
|
|
1375
1375
|
B = !1, D.delta = M ? 1e3 / 60 : Math.max(Math.min(a - D.timestamp, _e), 1), D.timestamp = a, D.isProcessing = !0, t.process(D), Q.process(D), C.process(D), i.process(D), o.process(D), I.process(D), D.isProcessing = !1, B && A && (M = !1, g(E));
|
|
1376
1376
|
}, n = () => {
|
|
1377
1377
|
B = !0, M = !0, D.isProcessing || g(E);
|
|
1378
1378
|
};
|
|
1379
|
-
return { schedule: rg.reduce((a,
|
|
1380
|
-
const
|
|
1381
|
-
return a[
|
|
1379
|
+
return { schedule: rg.reduce((a, G) => {
|
|
1380
|
+
const Y = w[G];
|
|
1381
|
+
return a[G] = (V, l = !1, y = !1) => (B || n(), Y.schedule(V, l, y)), a;
|
|
1382
1382
|
}, {}), cancel: (a) => {
|
|
1383
|
-
for (let
|
|
1384
|
-
w[rg[
|
|
1383
|
+
for (let G = 0; G < rg.length; G++)
|
|
1384
|
+
w[rg[G]].cancel(a);
|
|
1385
1385
|
}, state: D, steps: w };
|
|
1386
1386
|
}
|
|
1387
1387
|
const { schedule: p, cancel: uA, state: O, steps: Fg } = xD(typeof requestAnimationFrame < "u" ? requestAnimationFrame : W, !0), WD = OA({ strict: !1 }), cM = {
|
|
@@ -1728,16 +1728,16 @@ function ct(g, A, B, M) {
|
|
|
1728
1728
|
const n = TB(g, I[E]);
|
|
1729
1729
|
if (n) {
|
|
1730
1730
|
const { transitionEnd: r, transition: c, ...a } = n;
|
|
1731
|
-
for (const
|
|
1732
|
-
let
|
|
1733
|
-
if (Array.isArray(
|
|
1734
|
-
const V = i ?
|
|
1735
|
-
|
|
1731
|
+
for (const G in a) {
|
|
1732
|
+
let Y = a[G];
|
|
1733
|
+
if (Array.isArray(Y)) {
|
|
1734
|
+
const V = i ? Y.length - 1 : 0;
|
|
1735
|
+
Y = Y[V];
|
|
1736
1736
|
}
|
|
1737
|
-
|
|
1737
|
+
Y !== null && (D[G] = Y);
|
|
1738
1738
|
}
|
|
1739
|
-
for (const
|
|
1740
|
-
D[
|
|
1739
|
+
for (const G in r)
|
|
1740
|
+
D[G] = r[G];
|
|
1741
1741
|
}
|
|
1742
1742
|
}
|
|
1743
1743
|
}
|
|
@@ -3281,41 +3281,41 @@ function Ww(g = J.visualDuration, A = J.bounce) {
|
|
|
3281
3281
|
const e = B.keyframes[0], w = B.keyframes[B.keyframes.length - 1], t = { done: !1, value: e }, { stiffness: Q, damping: C, mass: i, duration: o, velocity: I, isResolvedFromDuration: E } = BC({
|
|
3282
3282
|
...B,
|
|
3283
3283
|
velocity: -/* @__PURE__ */ rA(B.velocity || 0)
|
|
3284
|
-
}), n = I || 0, r = C / (2 * Math.sqrt(Q * i)), c = w - e, a = /* @__PURE__ */ rA(Math.sqrt(Q / i)),
|
|
3285
|
-
M || (M =
|
|
3286
|
-
let
|
|
3284
|
+
}), n = I || 0, r = C / (2 * Math.sqrt(Q * i)), c = w - e, a = /* @__PURE__ */ rA(Math.sqrt(Q / i)), G = Math.abs(c) < 5;
|
|
3285
|
+
M || (M = G ? J.restSpeed.granular : J.restSpeed.default), D || (D = G ? J.restDelta.granular : J.restDelta.default);
|
|
3286
|
+
let Y;
|
|
3287
3287
|
if (r < 1) {
|
|
3288
|
-
const
|
|
3289
|
-
|
|
3290
|
-
const k = Math.exp(-r * a *
|
|
3291
|
-
return w - k * ((n + r * a * c) /
|
|
3288
|
+
const l = iB(a, r);
|
|
3289
|
+
Y = (y) => {
|
|
3290
|
+
const k = Math.exp(-r * a * y);
|
|
3291
|
+
return w - k * ((n + r * a * c) / l * Math.sin(l * y) + c * Math.cos(l * y));
|
|
3292
3292
|
};
|
|
3293
3293
|
} else if (r === 1)
|
|
3294
|
-
|
|
3294
|
+
Y = (l) => w - Math.exp(-a * l) * (c + (n + a * c) * l);
|
|
3295
3295
|
else {
|
|
3296
|
-
const
|
|
3297
|
-
|
|
3298
|
-
const k = Math.exp(-r * a *
|
|
3299
|
-
return w - k * ((n + r * a * c) * Math.sinh(U) +
|
|
3296
|
+
const l = a * Math.sqrt(r * r - 1);
|
|
3297
|
+
Y = (y) => {
|
|
3298
|
+
const k = Math.exp(-r * a * y), U = Math.min(l * y, 300);
|
|
3299
|
+
return w - k * ((n + r * a * c) * Math.sinh(U) + l * c * Math.cosh(U)) / l;
|
|
3300
3300
|
};
|
|
3301
3301
|
}
|
|
3302
3302
|
const V = {
|
|
3303
3303
|
calculatedDuration: E && o || null,
|
|
3304
|
-
next: (
|
|
3305
|
-
const
|
|
3304
|
+
next: (l) => {
|
|
3305
|
+
const y = Y(l);
|
|
3306
3306
|
if (E)
|
|
3307
|
-
t.done =
|
|
3307
|
+
t.done = l >= o;
|
|
3308
3308
|
else {
|
|
3309
3309
|
let k = 0;
|
|
3310
|
-
r < 1 && (k =
|
|
3311
|
-
const U = Math.abs(k) <= M,
|
|
3312
|
-
t.done = U &&
|
|
3310
|
+
r < 1 && (k = l === 0 ? /* @__PURE__ */ CA(n) : xw(Y, l, y));
|
|
3311
|
+
const U = Math.abs(k) <= M, m = Math.abs(w - y) <= D;
|
|
3312
|
+
t.done = U && m;
|
|
3313
3313
|
}
|
|
3314
|
-
return t.value = t.done ? w :
|
|
3314
|
+
return t.value = t.done ? w : y, t;
|
|
3315
3315
|
},
|
|
3316
3316
|
toString: () => {
|
|
3317
|
-
const
|
|
3318
|
-
return
|
|
3317
|
+
const l = Math.min(nw(V), BB), y = rw((k) => V.next(l * k).value, l, 30);
|
|
3318
|
+
return l + "ms " + y;
|
|
3319
3319
|
}
|
|
3320
3320
|
};
|
|
3321
3321
|
return V;
|
|
@@ -3328,15 +3328,15 @@ function OM({ keyframes: g, velocity: A = 0, power: B = 0.8, timeConstant: M = 3
|
|
|
3328
3328
|
let r = B * A;
|
|
3329
3329
|
const c = o + r, a = w === void 0 ? c : w(c);
|
|
3330
3330
|
a !== c && (r = a - o);
|
|
3331
|
-
const
|
|
3332
|
-
const
|
|
3333
|
-
I.done = Math.abs(
|
|
3331
|
+
const G = (U) => -r * Math.exp(-U / M), Y = (U) => a + G(U), V = (U) => {
|
|
3332
|
+
const m = G(U), q = Y(U);
|
|
3333
|
+
I.done = Math.abs(m) <= C, I.value = I.done ? a : q;
|
|
3334
3334
|
};
|
|
3335
|
-
let
|
|
3335
|
+
let l, y;
|
|
3336
3336
|
const k = (U) => {
|
|
3337
|
-
E(I.value) && (
|
|
3337
|
+
E(I.value) && (l = U, y = Ww({
|
|
3338
3338
|
keyframes: [I.value, n(I.value)],
|
|
3339
|
-
velocity: xw(
|
|
3339
|
+
velocity: xw(Y, U, I.value),
|
|
3340
3340
|
// TODO: This should be passing * 1000
|
|
3341
3341
|
damping: D,
|
|
3342
3342
|
stiffness: e,
|
|
@@ -3347,8 +3347,8 @@ function OM({ keyframes: g, velocity: A = 0, power: B = 0.8, timeConstant: M = 3
|
|
|
3347
3347
|
return k(0), {
|
|
3348
3348
|
calculatedDuration: null,
|
|
3349
3349
|
next: (U) => {
|
|
3350
|
-
let
|
|
3351
|
-
return !
|
|
3350
|
+
let m = !1;
|
|
3351
|
+
return !y && l === void 0 && (m = !0, V(U), k(U)), l !== void 0 && U >= l ? y.next(U - l) : (!m && V(U), I);
|
|
3352
3352
|
}
|
|
3353
3353
|
};
|
|
3354
3354
|
}
|
|
@@ -3507,20 +3507,20 @@ class EM extends Sw {
|
|
|
3507
3507
|
return e.next(0);
|
|
3508
3508
|
const { delay: I, repeat: E, repeatType: n, repeatDelay: r, onUpdate: c } = this.options;
|
|
3509
3509
|
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;
|
|
3510
|
-
const a = this.currentTime - I * (this.speed >= 0 ? 1 : -1),
|
|
3510
|
+
const a = this.currentTime - I * (this.speed >= 0 ? 1 : -1), G = this.speed >= 0 ? a < 0 : a > i;
|
|
3511
3511
|
this.currentTime = Math.max(a, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = i);
|
|
3512
|
-
let
|
|
3512
|
+
let Y = this.currentTime, V = e;
|
|
3513
3513
|
if (E) {
|
|
3514
3514
|
const U = Math.min(this.currentTime, i) / o;
|
|
3515
|
-
let
|
|
3516
|
-
!q && U >= 1 && (q = 1), q === 1 &&
|
|
3515
|
+
let m = Math.floor(U), q = U % 1;
|
|
3516
|
+
!q && U >= 1 && (q = 1), q === 1 && m--, m = Math.min(m, E + 1), !!(m % 2) && (n === "reverse" ? (q = 1 - q, r && (q -= r / o)) : n === "mirror" && (V = w)), Y = lA(0, 1, q) * o;
|
|
3517
3517
|
}
|
|
3518
|
-
const
|
|
3519
|
-
t && (
|
|
3520
|
-
let { done:
|
|
3521
|
-
!
|
|
3522
|
-
const k = this.holdTime === null && (this.state === "finished" || this.state === "running" &&
|
|
3523
|
-
return k && D !== void 0 && (
|
|
3518
|
+
const l = G ? { done: !1, value: Q[0] } : V.next(Y);
|
|
3519
|
+
t && (l.value = t(l.value));
|
|
3520
|
+
let { done: y } = l;
|
|
3521
|
+
!G && C !== null && (y = this.speed >= 0 ? this.currentTime >= i : this.currentTime <= 0);
|
|
3522
|
+
const k = this.holdTime === null && (this.state === "finished" || this.state === "running" && y);
|
|
3523
|
+
return k && D !== void 0 && (l.value = vg(Q, this.options, D)), c && c(l.value), k && this.finish(), l;
|
|
3524
3524
|
}
|
|
3525
3525
|
get duration() {
|
|
3526
3526
|
const { resolved: A } = this;
|
|
@@ -3863,8 +3863,8 @@ function Ae(g, A, { delay: B = 0, transitionOverride: M, type: D } = {}) {
|
|
|
3863
3863
|
if (window.MotionHandoffAnimation) {
|
|
3864
3864
|
const a = yw(g);
|
|
3865
3865
|
if (a) {
|
|
3866
|
-
const
|
|
3867
|
-
|
|
3866
|
+
const G = window.MotionHandoffAnimation(a, o, p);
|
|
3867
|
+
G !== null && (n.startTime = G, r = !0);
|
|
3868
3868
|
}
|
|
3869
3869
|
}
|
|
3870
3870
|
DB(g, o), I.start(nM(o, I, E, g.shouldReduceMotion && uw.has(o) ? { type: !1 } : n, g, r));
|
|
@@ -3957,26 +3957,26 @@ function JC(g) {
|
|
|
3957
3957
|
const { props: C } = g, i = ge(g.parent) || {}, o = [], I = /* @__PURE__ */ new Set();
|
|
3958
3958
|
let E = {}, n = 1 / 0;
|
|
3959
3959
|
for (let c = 0; c < pC; c++) {
|
|
3960
|
-
const a = RC[c],
|
|
3961
|
-
|
|
3962
|
-
let
|
|
3963
|
-
if (
|
|
3964
|
-
!
|
|
3965
|
-
!
|
|
3966
|
-
hg(
|
|
3960
|
+
const a = RC[c], G = B[a], Y = C[a] !== void 0 ? C[a] : i[a], V = wg(Y), l = a === Q ? G.isActive : null;
|
|
3961
|
+
l === !1 && (n = c);
|
|
3962
|
+
let y = Y === i[a] && Y !== C[a] && V;
|
|
3963
|
+
if (y && M && g.manuallyAnimateOnMount && (y = !1), G.protectedKeys = { ...E }, // If it isn't active and hasn't *just* been set as inactive
|
|
3964
|
+
!G.isActive && l === null || // If we didn't and don't have any defined prop for this animation type
|
|
3965
|
+
!Y && !G.prevProp || // Or if the prop doesn't define an animation
|
|
3966
|
+
hg(Y) || typeof Y == "boolean")
|
|
3967
3967
|
continue;
|
|
3968
|
-
const k = zC(
|
|
3968
|
+
const k = zC(G.prevProp, Y);
|
|
3969
3969
|
let U = k || // If we're making this variant active, we want to always make it active
|
|
3970
|
-
a === Q &&
|
|
3971
|
-
c > n && V,
|
|
3972
|
-
const q = Array.isArray(
|
|
3970
|
+
a === Q && G.isActive && !y && V || // If we removed a higher-priority variant (i is in reverse order)
|
|
3971
|
+
c > n && V, m = !1;
|
|
3972
|
+
const q = Array.isArray(Y) ? Y : [Y];
|
|
3973
3973
|
let b = q.reduce(D(a), {});
|
|
3974
|
-
|
|
3975
|
-
const { prevResolvedValues: IA = {} } =
|
|
3974
|
+
l === !1 && (b = {});
|
|
3975
|
+
const { prevResolvedValues: IA = {} } = G, UA = {
|
|
3976
3976
|
...IA,
|
|
3977
3977
|
...b
|
|
3978
3978
|
}, GA = (P) => {
|
|
3979
|
-
U = !0, I.has(P) && (
|
|
3979
|
+
U = !0, I.has(P) && (m = !0, I.delete(P)), G.needsAnimating[P] = !0;
|
|
3980
3980
|
const $ = g.getValue(P);
|
|
3981
3981
|
$ && ($.liveStyle = !1);
|
|
3982
3982
|
};
|
|
@@ -3985,9 +3985,9 @@ function JC(g) {
|
|
|
3985
3985
|
if (E.hasOwnProperty(P))
|
|
3986
3986
|
continue;
|
|
3987
3987
|
let EA = !1;
|
|
3988
|
-
gB($) && gB(aA) ? EA = !Ew($, aA) : EA = $ !== aA, EA ? $ != null ? GA(P) : I.add(P) : $ !== void 0 && I.has(P) ? GA(P) :
|
|
3988
|
+
gB($) && gB(aA) ? EA = !Ew($, aA) : EA = $ !== aA, EA ? $ != null ? GA(P) : I.add(P) : $ !== void 0 && I.has(P) ? GA(P) : G.protectedKeys[P] = !0;
|
|
3989
3989
|
}
|
|
3990
|
-
|
|
3990
|
+
G.prevProp = Y, G.prevResolvedValues = b, G.isActive && (E = { ...E, ...b }), M && g.blockInitialAnimation && (U = !1), U && (!(y && k) || m) && o.push(...q.map((P) => ({
|
|
3991
3991
|
animation: P,
|
|
3992
3992
|
options: { type: a }
|
|
3993
3993
|
})));
|
|
@@ -3995,8 +3995,8 @@ function JC(g) {
|
|
|
3995
3995
|
if (I.size) {
|
|
3996
3996
|
const c = {};
|
|
3997
3997
|
I.forEach((a) => {
|
|
3998
|
-
const
|
|
3999
|
-
|
|
3998
|
+
const G = g.getBaseTarget(a), Y = g.getValue(a);
|
|
3999
|
+
Y && (Y.liveStyle = !0), c[a] = G ?? null;
|
|
4000
4000
|
}), o.push({ animation: c });
|
|
4001
4001
|
}
|
|
4002
4002
|
let r = !!o.length;
|
|
@@ -4396,10 +4396,10 @@ class Ci {
|
|
|
4396
4396
|
this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), gA((c) => {
|
|
4397
4397
|
let a = this.getAxisMotionValue(c).get() || 0;
|
|
4398
4398
|
if (iA.test(a)) {
|
|
4399
|
-
const { projection:
|
|
4400
|
-
if (
|
|
4401
|
-
const
|
|
4402
|
-
|
|
4399
|
+
const { projection: G } = this.visualElement;
|
|
4400
|
+
if (G && G.layout) {
|
|
4401
|
+
const Y = G.layout.layoutBox[c];
|
|
4402
|
+
Y && (a = _(Y) * (parseFloat(a) / 100));
|
|
4403
4403
|
}
|
|
4404
4404
|
}
|
|
4405
4405
|
this.originPoint[c] = a;
|
|
@@ -4987,9 +4987,9 @@ function le({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
|
|
|
4987
4987
|
this.target = void 0, this.relativeTarget = void 0;
|
|
4988
4988
|
return;
|
|
4989
4989
|
}
|
|
4990
|
-
const r = this.options.transition || i.getDefaultTransition() || Ti, { onLayoutAnimationStart: c, onLayoutAnimationComplete: a } = i.getProps(),
|
|
4991
|
-
if (this.options.layoutRoot || this.resumeFrom ||
|
|
4992
|
-
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(o,
|
|
4990
|
+
const r = this.options.transition || i.getDefaultTransition() || Ti, { onLayoutAnimationStart: c, onLayoutAnimationComplete: a } = i.getProps(), G = !this.targetLayout || !ne(this.targetLayout, n), Y = !I && E;
|
|
4991
|
+
if (this.options.layoutRoot || this.resumeFrom || Y || I && (G || !this.currentAnimation)) {
|
|
4992
|
+
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(o, Y);
|
|
4993
4993
|
const V = {
|
|
4994
4994
|
...AM(r, "layout"),
|
|
4995
4995
|
onPlay: c,
|
|
@@ -5248,12 +5248,12 @@ function le({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
|
|
|
5248
5248
|
setAnimationOrigin(w, t = !1) {
|
|
5249
5249
|
const Q = this.snapshot, C = Q ? Q.latestValues : {}, i = { ...this.latestValues }, o = JA();
|
|
5250
5250
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !t;
|
|
5251
|
-
const I = L(), E = Q ? Q.source : void 0, n = this.layout ? this.layout.source : void 0, r = E !== n, c = this.getStack(), a = !c || c.members.length <= 1,
|
|
5251
|
+
const I = L(), E = Q ? Q.source : void 0, n = this.layout ? this.layout.source : void 0, r = E !== n, c = this.getStack(), a = !c || c.members.length <= 1, G = !!(r && !a && this.options.crossfade === !0 && !this.path.some(Hi));
|
|
5252
5252
|
this.animationProgress = 0;
|
|
5253
|
-
let
|
|
5253
|
+
let Y;
|
|
5254
5254
|
this.mixTargetDelta = (V) => {
|
|
5255
|
-
const
|
|
5256
|
-
fD(o.x, w.x,
|
|
5255
|
+
const l = V / 1e3;
|
|
5256
|
+
fD(o.x, w.x, l), fD(o.y, w.y, l), this.setTargetDelta(o), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Dg(I, this.layout.layoutBox, this.relativeParent.layout.layoutBox), ji(this.relativeTarget, this.relativeTargetOrigin, I, l), Y && fi(this.relativeTarget, Y) && (this.isProjectionDirty = !1), Y || (Y = L()), AA(Y, this.relativeTarget)), r && (this.animationValues = i, ui(i, C, this.latestValues, l, G, a)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = l;
|
|
5257
5257
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
5258
5258
|
}
|
|
5259
5259
|
startAnimation(w) {
|
|
@@ -5366,13 +5366,13 @@ function le({ attachResizeListener: g, defaultParent: A, measureScroll: B, check
|
|
|
5366
5366
|
for (const r in Zg) {
|
|
5367
5367
|
if (I[r] === void 0)
|
|
5368
5368
|
continue;
|
|
5369
|
-
const { correct: c, applyTo: a } = Zg[r],
|
|
5369
|
+
const { correct: c, applyTo: a } = Zg[r], G = C.transform === "none" ? I[r] : c(I[r], o);
|
|
5370
5370
|
if (a) {
|
|
5371
|
-
const
|
|
5372
|
-
for (let V = 0; V <
|
|
5373
|
-
C[a[V]] =
|
|
5371
|
+
const Y = a.length;
|
|
5372
|
+
for (let V = 0; V < Y; V++)
|
|
5373
|
+
C[a[V]] = G;
|
|
5374
5374
|
} else
|
|
5375
|
-
C[r] =
|
|
5375
|
+
C[r] = G;
|
|
5376
5376
|
}
|
|
5377
5377
|
return this.options.layoutId && (C.pointerEvents = o === this ? ag(w == null ? void 0 : w.pointerEvents) || "" : "none"), C;
|
|
5378
5378
|
}
|
|
@@ -5980,63 +5980,61 @@ const ls = (g, A) => HB(g) ? new rs(A) : new ns(A, {
|
|
|
5980
5980
|
widthLogo: D = "65px",
|
|
5981
5981
|
...e
|
|
5982
5982
|
}, w) => {
|
|
5983
|
-
const [t, Q] = F(!1), [C, i] = F(void 0), [o
|
|
5984
|
-
I("");
|
|
5985
|
-
const E = A.reduce((V, G) => (V[G.refId] = eA(null), V), {}), n = () => Q(!t);
|
|
5983
|
+
const [t, Q] = F(!1), [C, i] = F(void 0), [o] = F(""), I = A.reduce((Y, V) => (Y[V.refId] = eA(null), Y), {}), E = () => Q(!t);
|
|
5986
5984
|
tA(() => {
|
|
5987
|
-
A.forEach((
|
|
5988
|
-
const
|
|
5989
|
-
if (
|
|
5990
|
-
const
|
|
5991
|
-
const
|
|
5992
|
-
i(
|
|
5985
|
+
A.forEach((V) => {
|
|
5986
|
+
const l = I[V.refId];
|
|
5987
|
+
if (l != null && l.current) {
|
|
5988
|
+
const y = (k) => {
|
|
5989
|
+
const U = k.target;
|
|
5990
|
+
i(U.getBoundingClientRect());
|
|
5993
5991
|
};
|
|
5994
|
-
|
|
5992
|
+
l.current.addEventListener("mouseenter", y);
|
|
5995
5993
|
}
|
|
5996
5994
|
});
|
|
5997
|
-
const
|
|
5998
|
-
return
|
|
5999
|
-
A.forEach((
|
|
6000
|
-
const
|
|
6001
|
-
|
|
5995
|
+
const Y = I[o];
|
|
5996
|
+
return Y != null && Y.current && i(Y.current.getBoundingClientRect()), () => {
|
|
5997
|
+
A.forEach((V) => {
|
|
5998
|
+
const l = I[V.refId];
|
|
5999
|
+
l != null && l.current && l.current.removeEventListener("mouseenter", () => {
|
|
6002
6000
|
});
|
|
6003
6001
|
});
|
|
6004
6002
|
};
|
|
6005
|
-
}, [o, A,
|
|
6006
|
-
const
|
|
6007
|
-
|
|
6003
|
+
}, [o, A, I]), tA(() => {
|
|
6004
|
+
const Y = window.matchMedia("(min-width: 640px)"), V = () => {
|
|
6005
|
+
Y.matches && t && Q(!1);
|
|
6008
6006
|
};
|
|
6009
|
-
return
|
|
6010
|
-
|
|
6007
|
+
return Y.addEventListener("change", V), () => {
|
|
6008
|
+
Y.removeEventListener("change", V);
|
|
6011
6009
|
};
|
|
6012
6010
|
}, [t]);
|
|
6013
|
-
const
|
|
6011
|
+
const n = {
|
|
6014
6012
|
goatData: "bg-zinc-900",
|
|
6015
6013
|
secondary: "bg-[#ededed]",
|
|
6016
6014
|
experiences: "bg-[#a8dbce]"
|
|
6017
|
-
},
|
|
6015
|
+
}, r = {
|
|
6018
6016
|
goatData: "#9a6d79",
|
|
6019
6017
|
secondary: "#1f2937e7",
|
|
6020
6018
|
experiences: "#f8b7cbd7"
|
|
6021
|
-
},
|
|
6019
|
+
}, c = {
|
|
6022
6020
|
goatData: "#ff0145",
|
|
6023
6021
|
secondary: "#ff0145",
|
|
6024
6022
|
experiences: "#1f2937e7"
|
|
6025
|
-
},
|
|
6023
|
+
}, a = {
|
|
6026
6024
|
goatData: "white",
|
|
6027
6025
|
secondary: "#1F2937",
|
|
6028
6026
|
experiences: "white"
|
|
6029
|
-
},
|
|
6027
|
+
}, G = {
|
|
6030
6028
|
goatData: "text-white",
|
|
6031
6029
|
secondary: "text-[#1F2937]",
|
|
6032
6030
|
experiences: "text-white"
|
|
6033
6031
|
};
|
|
6034
|
-
return /* @__PURE__ */ Z("nav", { style: { zIndex: 9999 }, ref: w, ...e, className: `fixed top-0 left-0 right-0 z-10 ${
|
|
6032
|
+
return /* @__PURE__ */ Z("nav", { style: { zIndex: 9999 }, ref: w, ...e, className: `fixed top-0 left-0 right-0 z-10 ${n[g]} bg-opacity-75`, children: [
|
|
6035
6033
|
/* @__PURE__ */ Z("div", { className: "mx-auto max-w-7xl px-2 sm:px-6 lg:px-8", children: [
|
|
6036
6034
|
/* @__PURE__ */ s(
|
|
6037
6035
|
as.div,
|
|
6038
6036
|
{
|
|
6039
|
-
style: { background:
|
|
6037
|
+
style: { background: r[g] },
|
|
6040
6038
|
className: "absolute opacity-40 rounded z-20 pointer-events-none",
|
|
6041
6039
|
animate: {
|
|
6042
6040
|
top: (C == null ? void 0 : C.top) || 0,
|
|
@@ -6047,7 +6045,7 @@ const ls = (g, A) => HB(g) ? new rs(A) : new ns(A, {
|
|
|
6047
6045
|
}
|
|
6048
6046
|
),
|
|
6049
6047
|
/* @__PURE__ */ Z("div", { className: "relative flex h-16 items-center justify-between", children: [
|
|
6050
|
-
/* @__PURE__ */ s("div", { className: "absolute inset-y-0 left-0 flex items-center sm:hidden", children: /* @__PURE__ */ s("button", { className: `menu ${t ? g === "secondary" ? "openedark" : "opened" : ""}`, onClick:
|
|
6048
|
+
/* @__PURE__ */ s("div", { className: "absolute inset-y-0 left-0 flex items-center sm:hidden", children: /* @__PURE__ */ s("button", { className: `menu ${t ? g === "secondary" ? "openedark" : "opened" : ""}`, onClick: E, "aria-label": "Main Menu", children: /* @__PURE__ */ Z("svg", { width: "45", height: "45", viewBox: "0 0 100 100", style: { fill: "#f9f8f8 !important" }, children: [
|
|
6051
6049
|
/* @__PURE__ */ s("path", { className: g === "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" }),
|
|
6052
6050
|
/* @__PURE__ */ s("path", { className: g === "secondary" ? "linedark linedark2" : "line line2", d: "M 20,50 H 80" }),
|
|
6053
6051
|
/* @__PURE__ */ s("path", { className: g === "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" })
|
|
@@ -6072,27 +6070,29 @@ const ls = (g, A) => HB(g) ? new rs(A) : new ns(A, {
|
|
|
6072
6070
|
alt: "Logo"
|
|
6073
6071
|
}
|
|
6074
6072
|
),
|
|
6075
|
-
(!B || B.trim() === "") && /* @__PURE__ */ s("div", { className: `text-[10px] ${
|
|
6073
|
+
(!B || B.trim() === "") && /* @__PURE__ */ s("div", { className: `text-[10px] ${G[g]} tracking-[4px]`, children: "DATA" })
|
|
6076
6074
|
] }) }),
|
|
6077
|
-
/* @__PURE__ */ s("div", { className: "hidden sm:ml-6 sm:block flex-grow", children: /* @__PURE__ */ s("nav", { className: "flex justify-end", children: /* @__PURE__ */ s("ul", { className: "flex space-x-4", children: A.map(({ label:
|
|
6075
|
+
/* @__PURE__ */ s("div", { className: "hidden sm:ml-6 sm:block flex-grow", children: /* @__PURE__ */ s("nav", { className: "flex justify-end", children: /* @__PURE__ */ s("ul", { className: "flex space-x-4", children: A.map(({ label: Y, href: V, refId: l }) => /* @__PURE__ */ s("li", { children: /* @__PURE__ */ s(aM, { href: V, Viewport: c[g], colorButton: a[g], setIsOpen: Q, children: /* @__PURE__ */ s(
|
|
6078
6076
|
"div",
|
|
6079
6077
|
{
|
|
6080
|
-
|
|
6081
|
-
|
|
6082
|
-
|
|
6078
|
+
id: l,
|
|
6079
|
+
ref: I[l],
|
|
6080
|
+
style: { padding: "6px", color: a[g] },
|
|
6081
|
+
children: Y
|
|
6083
6082
|
}
|
|
6084
|
-
) }) },
|
|
6083
|
+
) }) }, V)) }) }) })
|
|
6085
6084
|
] })
|
|
6086
6085
|
] })
|
|
6087
6086
|
] }),
|
|
6088
|
-
t && /* @__PURE__ */ s("div", { className: "space-y-1 px-2 pt-2 pb-3", children: A.map(({ label:
|
|
6087
|
+
t && /* @__PURE__ */ s("div", { className: "space-y-1 px-2 pt-2 pb-3", children: A.map(({ label: Y, href: V, refId: l }) => /* @__PURE__ */ s(aM, { href: V, Viewport: c[g], colorButton: a[g], setIsOpen: Q, children: /* @__PURE__ */ s(
|
|
6089
6088
|
"div",
|
|
6090
6089
|
{
|
|
6091
|
-
|
|
6092
|
-
|
|
6093
|
-
|
|
6090
|
+
id: l,
|
|
6091
|
+
ref: I[l],
|
|
6092
|
+
style: { padding: "6px", color: a[g] },
|
|
6093
|
+
children: Y
|
|
6094
6094
|
}
|
|
6095
|
-
) },
|
|
6095
|
+
) }, V)) })
|
|
6096
6096
|
] });
|
|
6097
6097
|
}
|
|
6098
6098
|
);
|
|
@@ -6111,12 +6111,12 @@ const Ys = oA(
|
|
|
6111
6111
|
handletext5: C,
|
|
6112
6112
|
...i
|
|
6113
6113
|
}, o) => {
|
|
6114
|
-
var
|
|
6114
|
+
var y, k;
|
|
6115
6115
|
const [I, E] = F(0), n = eA(null), r = eA(null), c = eA(null), a = (U) => {
|
|
6116
6116
|
r.current = U.touches[0].clientX;
|
|
6117
|
-
},
|
|
6117
|
+
}, G = (U) => {
|
|
6118
6118
|
c.current = U.touches[0].clientX;
|
|
6119
|
-
},
|
|
6119
|
+
}, Y = () => {
|
|
6120
6120
|
if (!r.current || !c.current) return;
|
|
6121
6121
|
const U = r.current - c.current;
|
|
6122
6122
|
U > 50 ? I < g.length - 1 && E(I + 1) : U < -50 && I > 0 && E(I - 1), r.current = null, c.current = null;
|
|
@@ -6127,7 +6127,7 @@ const Ys = oA(
|
|
|
6127
6127
|
n.current && clearInterval(n.current);
|
|
6128
6128
|
}), [B, g.length]), !g || g.length === 0)
|
|
6129
6129
|
return /* @__PURE__ */ s("header", { ref: o, ...i, className: "relative w-full overflow-hidden", style: { height: M }, children: /* @__PURE__ */ s("p", { className: "text-center text-gray-500", children: "No hay imágenes para mostrar" }) });
|
|
6130
|
-
const
|
|
6130
|
+
const l = {
|
|
6131
6131
|
primary: "text-white",
|
|
6132
6132
|
secondary: "text-white",
|
|
6133
6133
|
vividPink: "text-[#ff0145]",
|
|
@@ -6147,14 +6147,14 @@ const Ys = oA(
|
|
|
6147
6147
|
style: { height: M },
|
|
6148
6148
|
className: "relative w-full overflow-hidden",
|
|
6149
6149
|
onTouchStart: a,
|
|
6150
|
-
onTouchMove:
|
|
6151
|
-
onTouchEnd:
|
|
6150
|
+
onTouchMove: G,
|
|
6151
|
+
onTouchEnd: Y,
|
|
6152
6152
|
children: [
|
|
6153
6153
|
e && /* @__PURE__ */ Z("div", { className: "absolute inset-0 flex flex-col items-center justify-center text-center z-20 text-white", children: [
|
|
6154
6154
|
/* @__PURE__ */ Z("h1", { className: "text-3xl md:text-5xl font-bold animate-fade-in-up", children: [
|
|
6155
6155
|
e.text1,
|
|
6156
6156
|
" ",
|
|
6157
|
-
/* @__PURE__ */ s("span", { className: `${
|
|
6157
|
+
/* @__PURE__ */ s("span", { className: `${l[A]}`, children: e.text2 })
|
|
6158
6158
|
] }),
|
|
6159
6159
|
/* @__PURE__ */ s("p", { className: "text-sm md:text-lg mb-6", children: e.text3 }),
|
|
6160
6160
|
/* @__PURE__ */ Z("div", { className: "flex gap-4", children: [
|
|
@@ -6184,7 +6184,7 @@ const Ys = oA(
|
|
|
6184
6184
|
}
|
|
6185
6185
|
)
|
|
6186
6186
|
] }) }),
|
|
6187
|
-
w && /* @__PURE__ */ s("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__ */ s("h1", { className: "text-4xl font-bold", children: ((
|
|
6187
|
+
w && /* @__PURE__ */ s("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__ */ s("h1", { className: "text-4xl font-bold", children: ((y = g[I]) == null ? void 0 : y.alt) || "Título dinámico" }, I) }),
|
|
6188
6188
|
t && /* @__PURE__ */ s("div", { className: "absolute bottom-8 left-1/2 transform -translate-x-1/2 text-center z-10", children: /* @__PURE__ */ s("p", { className: "text-lg font-medium text-white", children: (k = g[I]) == null ? void 0 : k.alt }) }),
|
|
6189
6189
|
/* @__PURE__ */ s(
|
|
6190
6190
|
"div",
|
|
@@ -6194,12 +6194,12 @@ const Ys = oA(
|
|
|
6194
6194
|
transform: `translateX(-${I * 100}%)`,
|
|
6195
6195
|
height: M
|
|
6196
6196
|
},
|
|
6197
|
-
children: g.map(({ src: U, alt:
|
|
6197
|
+
children: g.map(({ src: U, alt: m, href: q }, b) => /* @__PURE__ */ Z("div", { id: "large-header", className: "relative w-full flex-shrink-0 large-header", children: [
|
|
6198
6198
|
q ? /* @__PURE__ */ s("a", { href: q, children: /* @__PURE__ */ s(
|
|
6199
6199
|
"img",
|
|
6200
6200
|
{
|
|
6201
6201
|
src: U,
|
|
6202
|
-
alt:
|
|
6202
|
+
alt: m,
|
|
6203
6203
|
className: "w-full h-full object-cover",
|
|
6204
6204
|
style: { height: M }
|
|
6205
6205
|
}
|
|
@@ -6207,7 +6207,7 @@ const Ys = oA(
|
|
|
6207
6207
|
"img",
|
|
6208
6208
|
{
|
|
6209
6209
|
src: U,
|
|
6210
|
-
alt:
|
|
6210
|
+
alt: m,
|
|
6211
6211
|
className: "w-full h-full object-cover",
|
|
6212
6212
|
style: { height: M }
|
|
6213
6213
|
}
|
|
@@ -6222,13 +6222,13 @@ const Ys = oA(
|
|
|
6222
6222
|
] }, b))
|
|
6223
6223
|
}
|
|
6224
6224
|
),
|
|
6225
|
-
/* @__PURE__ */ s("div", { className: "absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2 z-30", children: g.map((U,
|
|
6225
|
+
/* @__PURE__ */ s("div", { className: "absolute bottom-4 left-1/2 transform -translate-x-1/2 flex gap-2 z-30", children: g.map((U, m) => /* @__PURE__ */ s(
|
|
6226
6226
|
"button",
|
|
6227
6227
|
{
|
|
6228
|
-
onClick: () => E(
|
|
6229
|
-
className: `w-3 h-3 rounded-full ${I ===
|
|
6228
|
+
onClick: () => E(m),
|
|
6229
|
+
className: `w-3 h-3 rounded-full ${I === m ? "bg-white" : "bg-gray-400"}`
|
|
6230
6230
|
},
|
|
6231
|
-
|
|
6231
|
+
m
|
|
6232
6232
|
)) })
|
|
6233
6233
|
]
|
|
6234
6234
|
}
|
|
@@ -6280,11 +6280,11 @@ const ue = ({ infoText: g, disabled: A = !1, bgStyles: B }) => {
|
|
|
6280
6280
|
className: E,
|
|
6281
6281
|
...n
|
|
6282
6282
|
}, r) => {
|
|
6283
|
-
const [c, a] = F(i),
|
|
6283
|
+
const [c, a] = F(i), G = () => {
|
|
6284
6284
|
a(
|
|
6285
|
-
(
|
|
6285
|
+
(m) => m === "password" ? "text" : "password"
|
|
6286
6286
|
);
|
|
6287
|
-
},
|
|
6287
|
+
}, Y = z(
|
|
6288
6288
|
"rounded-lg font-medium focus:outline-none focus:ring-2 focus:ring-offset-2 w-full",
|
|
6289
6289
|
{
|
|
6290
6290
|
"text-gray-900": g !== "secondary",
|
|
@@ -6302,7 +6302,7 @@ const ue = ({ infoText: g, disabled: A = !1, bgStyles: B }) => {
|
|
|
6302
6302
|
warning: "border border-[#f59e0b] focus:ring-[#f59e0b]",
|
|
6303
6303
|
success: "border border-[#047857] focus:ring-[#047857]",
|
|
6304
6304
|
tertiary: "border border-[#d4d3d3] bg-[#f8f9fa] focus:ring-[#1F2937]"
|
|
6305
|
-
},
|
|
6305
|
+
}, l = {
|
|
6306
6306
|
primary: "#1F2937",
|
|
6307
6307
|
secondary: "#73787f",
|
|
6308
6308
|
vividPink: "#ff0145",
|
|
@@ -6312,15 +6312,15 @@ const ue = ({ infoText: g, disabled: A = !1, bgStyles: B }) => {
|
|
|
6312
6312
|
warning: "#f59e0b",
|
|
6313
6313
|
success: "#047857",
|
|
6314
6314
|
tertiary: "#73787f"
|
|
6315
|
-
},
|
|
6315
|
+
}, y = {
|
|
6316
6316
|
small: "px-4 py-1.5 text-xs",
|
|
6317
6317
|
medium: "px-6 py-2.5 text-base",
|
|
6318
6318
|
large: "px-8 py-3 text-lg"
|
|
6319
|
-
}, k = () => M === "home" ? /* @__PURE__ */ s(VB, { size: A === "small" ? 15 : 20, color:
|
|
6319
|
+
}, k = () => M === "home" ? /* @__PURE__ */ s(VB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "Left" ? /* @__PURE__ */ s(lB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "right" ? /* @__PURE__ */ s(GB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "save" ? /* @__PURE__ */ s(kB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "more" ? /* @__PURE__ */ s(uB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "update" ? /* @__PURE__ */ s(yB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "attach" ? /* @__PURE__ */ s(fB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "send" ? /* @__PURE__ */ s(pB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "delete" ? /* @__PURE__ */ s(aB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "edit" ? /* @__PURE__ */ s(cB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "login" ? /* @__PURE__ */ s(RB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "reset" ? /* @__PURE__ */ s(YB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "add" ? /* @__PURE__ */ s(mB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "exit" ? /* @__PURE__ */ s(KB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "off" ? /* @__PURE__ */ s(qB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "calculator" ? /* @__PURE__ */ s(ZB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "list" ? /* @__PURE__ */ s(UB, { size: A === "small" ? 15 : 20, color: l[g] }) : M === "futbol" ? /* @__PURE__ */ s(dB, { size: A === "small" ? 15 : 20, color: l[g] }) : null, U = () => x.isValidElement(D) ? x.cloneElement(D, { className: "w-5 h-5" }) : k();
|
|
6320
6320
|
return /* @__PURE__ */ Z("div", { className: "relative", children: [
|
|
6321
6321
|
w && /* @__PURE__ */ Z("div", { className: "flex items-center text-xs mb-1 font-medium text-gray-800", children: [
|
|
6322
6322
|
/* @__PURE__ */ s("span", { style: { color: g === "tertiary" ? "#73787f" : "" }, children: w }),
|
|
6323
|
-
t && Q && /* @__PURE__ */ s(ue, { infoText: Q, disabled: B, bgStyles:
|
|
6323
|
+
t && Q && /* @__PURE__ */ s(ue, { infoText: Q, disabled: B, bgStyles: l[g] })
|
|
6324
6324
|
] }),
|
|
6325
6325
|
/* @__PURE__ */ Z("div", { className: "relative flex items-center", children: [
|
|
6326
6326
|
D && C === "left" && /* @__PURE__ */ s("span", { className: "absolute left-3", children: U() }),
|
|
@@ -6330,9 +6330,9 @@ const ue = ({ infoText: g, disabled: A = !1, bgStyles: B }) => {
|
|
|
6330
6330
|
ref: r,
|
|
6331
6331
|
type: c,
|
|
6332
6332
|
className: z(
|
|
6333
|
-
|
|
6333
|
+
Y,
|
|
6334
6334
|
o ? "border-[#b91c1c] focus:ring-[#b91c1c]" : V[g],
|
|
6335
|
-
A in
|
|
6335
|
+
A in y ? y[A] : "",
|
|
6336
6336
|
{
|
|
6337
6337
|
"pl-10": D && C === "left",
|
|
6338
6338
|
"pr-10": D && C === "right" || i === "password",
|
|
@@ -6349,8 +6349,8 @@ const ue = ({ infoText: g, disabled: A = !1, bgStyles: B }) => {
|
|
|
6349
6349
|
"span",
|
|
6350
6350
|
{
|
|
6351
6351
|
className: "absolute right-3 cursor-pointer",
|
|
6352
|
-
onClick:
|
|
6353
|
-
children: c === "password" ? /* @__PURE__ */ s(ve, { size: 20, color:
|
|
6352
|
+
onClick: G,
|
|
6353
|
+
children: c === "password" ? /* @__PURE__ */ s(ve, { size: 20, color: l[g] }) : /* @__PURE__ */ s(Pe, { size: 20, color: l[g] })
|
|
6354
6354
|
}
|
|
6355
6355
|
)
|
|
6356
6356
|
] }),
|
|
@@ -6398,7 +6398,7 @@ const ms = x.forwardRef(
|
|
|
6398
6398
|
warning: "border border-[#f59e0b] focus:ring-[#f59e0b]",
|
|
6399
6399
|
success: "border border-[#047857] focus:ring-[#047857]",
|
|
6400
6400
|
tertiary: "border border-[#d4d3d3] bg-[#f8f9fa] focus:ring-[#1F2937]"
|
|
6401
|
-
},
|
|
6401
|
+
}, G = {
|
|
6402
6402
|
primary: "#1F2937",
|
|
6403
6403
|
secondary: "#73787f",
|
|
6404
6404
|
vividPink: "#ff0145",
|
|
@@ -6408,18 +6408,18 @@ const ms = x.forwardRef(
|
|
|
6408
6408
|
warning: "#f59e0b",
|
|
6409
6409
|
success: "#047857",
|
|
6410
6410
|
tertiary: "#73787f"
|
|
6411
|
-
},
|
|
6411
|
+
}, Y = {
|
|
6412
6412
|
small: "px-4 py-1.5 text-xs",
|
|
6413
6413
|
medium: "px-6 py-2.5 text-base",
|
|
6414
6414
|
large: "px-8 py-3 text-lg"
|
|
6415
|
-
}, V = () => M === "home" ? /* @__PURE__ */ s(VB, { size: A === "small" ? 15 : 20, color:
|
|
6415
|
+
}, V = () => M === "home" ? /* @__PURE__ */ s(VB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "Left" ? /* @__PURE__ */ s(lB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "right" ? /* @__PURE__ */ s(GB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "save" ? /* @__PURE__ */ s(kB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "more" ? /* @__PURE__ */ s(uB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "update" ? /* @__PURE__ */ s(yB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "attach" ? /* @__PURE__ */ s(fB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "send" ? /* @__PURE__ */ s(pB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "delete" ? /* @__PURE__ */ s(aB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "edit" ? /* @__PURE__ */ s(cB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "login" ? /* @__PURE__ */ s(RB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "reset" ? /* @__PURE__ */ s(YB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "add" ? /* @__PURE__ */ s(mB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "exit" ? /* @__PURE__ */ s(KB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "off" ? /* @__PURE__ */ s(qB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "calculator" ? /* @__PURE__ */ s(ZB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "list" ? /* @__PURE__ */ s(UB, { size: A === "small" ? 15 : 20, color: G[g] }) : M === "futbol" ? /* @__PURE__ */ s(dB, { size: A === "small" ? 15 : 20, color: G[g] }) : null, l = () => x.isValidElement(D) ? x.cloneElement(D, { className: "w-5 h-5" }) : V();
|
|
6416
6416
|
return /* @__PURE__ */ Z("div", { className: "relative", children: [
|
|
6417
6417
|
w && /* @__PURE__ */ Z("div", { className: "flex items-center text-xs mb-1 font-medium text-gray-800", children: [
|
|
6418
6418
|
/* @__PURE__ */ s("span", { style: { color: g === "tertiary" ? "#73787f" : "" }, children: w }),
|
|
6419
|
-
t && Q && /* @__PURE__ */ s(ue, { infoText: Q, disabled: B, bgStyles:
|
|
6419
|
+
t && Q && /* @__PURE__ */ s(ue, { infoText: Q, disabled: B, bgStyles: G[g] })
|
|
6420
6420
|
] }),
|
|
6421
6421
|
/* @__PURE__ */ Z("div", { className: "relative flex items-center", children: [
|
|
6422
|
-
D && C === "left" && /* @__PURE__ */ s("span", { className: "absolute left-3", children:
|
|
6422
|
+
D && C === "left" && /* @__PURE__ */ s("span", { className: "absolute left-3", children: l() }),
|
|
6423
6423
|
/* @__PURE__ */ Z(
|
|
6424
6424
|
"select",
|
|
6425
6425
|
{
|
|
@@ -6427,7 +6427,7 @@ const ms = x.forwardRef(
|
|
|
6427
6427
|
className: z(
|
|
6428
6428
|
c,
|
|
6429
6429
|
i ? "border-[#b91c1c] focus:ring-[#b91c1c]" : a[g],
|
|
6430
|
-
A in
|
|
6430
|
+
A in Y ? Y[A] : "",
|
|
6431
6431
|
{
|
|
6432
6432
|
"pl-10": D && C === "left",
|
|
6433
6433
|
"pr-10": D && C === "right",
|
|
@@ -6444,18 +6444,18 @@ const ms = x.forwardRef(
|
|
|
6444
6444
|
value: "",
|
|
6445
6445
|
disabled: !0,
|
|
6446
6446
|
selected: !0,
|
|
6447
|
-
className: `bg-[${
|
|
6447
|
+
className: `bg-[${G[g]}] text-white text-sm`,
|
|
6448
6448
|
children: e
|
|
6449
6449
|
}
|
|
6450
6450
|
),
|
|
6451
|
-
I.map((
|
|
6451
|
+
I.map((y) => /* @__PURE__ */ s(
|
|
6452
6452
|
"option",
|
|
6453
6453
|
{
|
|
6454
|
-
value:
|
|
6455
|
-
className: `bg-[${
|
|
6456
|
-
children:
|
|
6454
|
+
value: y.value,
|
|
6455
|
+
className: `bg-[${G[g]}] text-white text-sm`,
|
|
6456
|
+
children: y.label
|
|
6457
6457
|
},
|
|
6458
|
-
|
|
6458
|
+
y.value
|
|
6459
6459
|
))
|
|
6460
6460
|
]
|
|
6461
6461
|
}
|
|
@@ -6496,26 +6496,26 @@ const ys = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZUAAATaCAYAAAA0mz/uAA
|
|
|
6496
6496
|
goatData: "bg-zinc-600",
|
|
6497
6497
|
secondary: "bg-zinc-800",
|
|
6498
6498
|
experiences: "bg-zinc-800"
|
|
6499
|
-
},
|
|
6500
|
-
const q =
|
|
6499
|
+
}, G = (m) => {
|
|
6500
|
+
const q = m, b = encodeURIComponent(n), IA = `https://api.whatsapp.com/send?phone=${q}&text=${b}`;
|
|
6501
6501
|
window.open(IA, "_blank");
|
|
6502
|
-
},
|
|
6503
|
-
const q = `mailto:${
|
|
6502
|
+
}, Y = (m) => {
|
|
6503
|
+
const q = `mailto:${m}?subject=Solicitud&body=${n}`;
|
|
6504
6504
|
window.open(q);
|
|
6505
|
-
}, V = (
|
|
6506
|
-
const b = `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(
|
|
6505
|
+
}, V = (m) => {
|
|
6506
|
+
const b = `https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(m)}`;
|
|
6507
6507
|
window.open(b, "_blank");
|
|
6508
|
-
},
|
|
6509
|
-
const q = document.getElementById(
|
|
6508
|
+
}, l = (m) => {
|
|
6509
|
+
const q = document.getElementById(m.slice(1));
|
|
6510
6510
|
q && q.scrollIntoView({ behavior: "smooth" });
|
|
6511
|
-
},
|
|
6512
|
-
window.open(
|
|
6511
|
+
}, y = (m) => {
|
|
6512
|
+
window.open(m, "_blank");
|
|
6513
6513
|
}, k = {
|
|
6514
6514
|
goatData: "text-white",
|
|
6515
6515
|
secondary: "text-[#1F2937]",
|
|
6516
6516
|
experiences: "text-[#1F2937]"
|
|
6517
|
-
}, U = (
|
|
6518
|
-
|
|
6517
|
+
}, U = (m) => {
|
|
6518
|
+
m.link && t && t.push(m.link);
|
|
6519
6519
|
};
|
|
6520
6520
|
return /* @__PURE__ */ Z("footer", { ref: E, ...I, className: `${c[g]} ${k[g]}`, style: { paddingTop: "40px" }, children: [
|
|
6521
6521
|
/* @__PURE__ */ Z("div", { className: "container mx-auto px-4 md:px-8", children: [
|
|
@@ -6533,24 +6533,24 @@ const ys = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZUAAATaCAYAAAA0mz/uAA
|
|
|
6533
6533
|
] }),
|
|
6534
6534
|
/* @__PURE__ */ Z("div", { className: "flex flex-col items-center", children: [
|
|
6535
6535
|
/* @__PURE__ */ s("h2", { className: "text-lg font-semibold mb-4", children: "Enlaces Rápidos" }),
|
|
6536
|
-
A.length > 0 && /* @__PURE__ */ s("div", { className: "text-center sm:text-left", style: { display: "flex", flexDirection: "column", justifyContent: "end" }, children: A.map((
|
|
6537
|
-
|
|
6538
|
-
}, children:
|
|
6539
|
-
D.length > 0 && /* @__PURE__ */ s("div", { className: "text-center sm:text-left", style: { display: "flex", flexDirection: "column", justifyContent: "end" }, children: D.map((
|
|
6540
|
-
U(
|
|
6541
|
-
}, children:
|
|
6536
|
+
A.length > 0 && /* @__PURE__ */ s("div", { className: "text-center sm:text-left", style: { display: "flex", flexDirection: "column", justifyContent: "end" }, children: A.map((m, q) => /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("button", { className: r, onClick: () => {
|
|
6537
|
+
l(m.href);
|
|
6538
|
+
}, children: m.label }) }, q)) }),
|
|
6539
|
+
D.length > 0 && /* @__PURE__ */ s("div", { className: "text-center sm:text-left", style: { display: "flex", flexDirection: "column", justifyContent: "end" }, children: D.map((m, q) => /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s("button", { className: r, onClick: () => {
|
|
6540
|
+
U(m);
|
|
6541
|
+
}, children: m.label }) }, q)) })
|
|
6542
6542
|
] }),
|
|
6543
6543
|
/* @__PURE__ */ Z("div", { className: "flex flex-col items-center", children: [
|
|
6544
6544
|
/* @__PURE__ */ s("h2", { className: "text-lg font-semibold mb-4", children: "Contacto" }),
|
|
6545
|
-
/* @__PURE__ */ s("div", { className: "text-center sm:text-left", style: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: B.map((
|
|
6545
|
+
/* @__PURE__ */ s("div", { className: "text-center sm:text-left", style: { display: "flex", flexDirection: "column", justifyContent: "center" }, children: B.map((m, q) => /* @__PURE__ */ s("div", { children: /* @__PURE__ */ Z(
|
|
6546
6546
|
"div",
|
|
6547
6547
|
{
|
|
6548
6548
|
className: "text-sm opacity-70 cursor-pointer mb-4",
|
|
6549
|
-
onClick:
|
|
6549
|
+
onClick: m.type === "email" ? () => Y(m.description) : m.type === "chat" ? () => G(m.description) : m.type === "mapa" ? () => V(m.description) : void 0,
|
|
6550
6550
|
children: [
|
|
6551
|
-
/* @__PURE__ */ s("strong", { children:
|
|
6551
|
+
/* @__PURE__ */ s("strong", { children: m.label }),
|
|
6552
6552
|
" ",
|
|
6553
|
-
|
|
6553
|
+
m.type === "mapa" ? m.descrption2 : m.description
|
|
6554
6554
|
]
|
|
6555
6555
|
}
|
|
6556
6556
|
) }, q)) })
|
|
@@ -6566,9 +6566,9 @@ const ys = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAEZUAAATaCAYAAAA0mz/uAA
|
|
|
6566
6566
|
] }),
|
|
6567
6567
|
/* @__PURE__ */ Z("div", { className: "flex flex-col items-center mt-8", children: [
|
|
6568
6568
|
/* @__PURE__ */ s("h2", { className: "text-lg font-semibold mb-4", children: "Redes Sociales" }),
|
|
6569
|
-
/* @__PURE__ */ s("div", { className: "flex space-x-4", style: { marginBottom: "30px" }, children: M.map((
|
|
6570
|
-
|
|
6571
|
-
}, children: (
|
|
6569
|
+
/* @__PURE__ */ s("div", { className: "flex space-x-4", style: { marginBottom: "30px" }, children: M.map((m, q) => /* @__PURE__ */ s("div", { style: { cursor: "pointer" }, onClick: () => {
|
|
6570
|
+
y(m.label);
|
|
6571
|
+
}, children: (m == null ? void 0 : m.icon) && /* @__PURE__ */ s(m.icon, { className: "w-6 h-6" }) }, q)) })
|
|
6572
6572
|
] })
|
|
6573
6573
|
] }),
|
|
6574
6574
|
/* @__PURE__ */ Z("div", { className: `${a[g]} py-4 flex flex-col items-center`, children: [
|