telecop 0.1.31 → 0.1.33

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/dist/index.mjs CHANGED
@@ -1,15 +1,15 @@
1
1
  "use client";
2
- import { jsx as n, jsxs as u, Fragment as T } from "react/jsx-runtime";
3
- import q, { useState as G, useRef as f, useEffect as v } from "react";
2
+ import { jsx as o, jsxs as u, Fragment as T } from "react/jsx-runtime";
3
+ import V, { useState as C, useRef as p, useEffect as y } from "react";
4
4
  const ja = ({
5
5
  children: e,
6
6
  variant: a = "primary",
7
7
  size: t = "md",
8
8
  onClick: r,
9
- disabled: o = !1,
10
- className: i = ""
9
+ disabled: n = !1,
10
+ className: s = ""
11
11
  }) => {
12
- const s = "font-semibold rounded-lg transition-all duration-200 cursor-pointer", d = {
12
+ const i = "font-semibold rounded-lg transition-all duration-200 cursor-pointer", d = {
13
13
  primary: "bg-blue-600 hover:bg-blue-700 text-white shadow-md hover:shadow-lg",
14
14
  secondary: "bg-gray-600 hover:bg-gray-700 text-white shadow-md hover:shadow-lg",
15
15
  danger: "bg-red-600 hover:bg-red-700 text-white shadow-md hover:shadow-lg"
@@ -17,29 +17,29 @@ const ja = ({
17
17
  sm: "px-3 py-1.5 text-sm",
18
18
  md: "px-4 py-2 text-base",
19
19
  lg: "px-6 py-3 text-lg"
20
- }, c = o ? "opacity-50 cursor-not-allowed" : "";
21
- return /* @__PURE__ */ n(
20
+ }, c = n ? "opacity-50 cursor-not-allowed" : "";
21
+ return /* @__PURE__ */ o(
22
22
  "button",
23
23
  {
24
- className: `${s} ${d[a]} ${l[t]} ${c} ${i}`,
24
+ className: `${i} ${d[a]} ${l[t]} ${c} ${s}`,
25
25
  onClick: r,
26
- disabled: o,
26
+ disabled: n,
27
27
  children: e
28
28
  }
29
29
  );
30
- }, O = ({
30
+ }, X = ({
31
31
  children: e,
32
32
  variant: a = "blur",
33
33
  size: t = "md",
34
34
  onClick: r,
35
- disabled: o = !1,
36
- className: i = ""
35
+ disabled: n = !1,
36
+ className: s = ""
37
37
  }) => {
38
- const [s, d] = G([]), l = (p) => {
39
- if (!o && r) {
40
- const h = p.currentTarget.getBoundingClientRect(), x = p.clientX - h.left, N = p.clientY - h.top, k = Date.now();
41
- d([...s, { x, y: N, id: k }]), setTimeout(() => {
42
- d((P) => P.filter((R) => R.id !== k));
38
+ const [i, d] = C([]), l = (f) => {
39
+ if (!n && r) {
40
+ const w = f.currentTarget.getBoundingClientRect(), h = f.clientX - w.left, N = f.clientY - w.top, k = Date.now();
41
+ d([...i, { x: h, y: N, id: k }]), setTimeout(() => {
42
+ d((O) => O.filter((M) => M.id !== k));
43
43
  }, 800), r();
44
44
  }
45
45
  }, c = `
@@ -56,7 +56,7 @@ const ja = ({
56
56
  sm: "px-5 py-2.5 text-sm",
57
57
  md: "px-7 py-3.5 text-base",
58
58
  lg: "px-9 py-4.5 text-lg"
59
- }, b = {
59
+ }, m = {
60
60
  blur: `
61
61
  bg-white/5
62
62
  hover:bg-white/15
@@ -82,142 +82,39 @@ const ja = ({
82
82
  hover:before:translate-x-[200%]
83
83
  before:transition-transform before:duration-1000
84
84
  `
85
- }, m = o ? "opacity-40 cursor-not-allowed hover:scale-100 hover:shadow-xl" : "";
85
+ }, b = n ? "opacity-40 cursor-not-allowed hover:scale-100 hover:shadow-xl" : "";
86
86
  return /* @__PURE__ */ u(
87
87
  "button",
88
88
  {
89
- className: `${c} ${g[t]} ${b[a]} ${m} ${i}`,
89
+ className: `${c} ${g[t]} ${m[a]} ${b} ${s}`,
90
90
  onClick: l,
91
- disabled: o,
91
+ disabled: n,
92
92
  children: [
93
- a === "waves" && !o && /* @__PURE__ */ u(T, { children: [
94
- /* @__PURE__ */ n("span", { className: "absolute inset-0 bg-gradient-to-r from-blue-500/10 via-purple-500/10 to-pink-500/10 opacity-0 group-hover:opacity-100 transition-opacity duration-700" }),
95
- /* @__PURE__ */ n("span", { className: "absolute inset-0 bg-gradient-to-br from-transparent via-white/10 to-transparent animate-pulse" })
93
+ a === "waves" && !n && /* @__PURE__ */ u(T, { children: [
94
+ /* @__PURE__ */ o("span", { className: "absolute inset-0 bg-gradient-to-r from-blue-500/10 via-purple-500/10 to-pink-500/10 opacity-0 group-hover:opacity-100 transition-opacity duration-700" }),
95
+ /* @__PURE__ */ o("span", { className: "absolute inset-0 bg-gradient-to-br from-transparent via-white/10 to-transparent animate-pulse" })
96
96
  ] }),
97
- a === "blur" && !o && /* @__PURE__ */ n("span", { className: "absolute inset-0 bg-white/5 blur-xl opacity-0 group-hover:opacity-100 transition-opacity duration-500" }),
98
- /* @__PURE__ */ n("span", { className: "absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none", children: /* @__PURE__ */ n("span", { className: "absolute inset-[-2px] rounded-2xl bg-gradient-to-r from-transparent via-white/40 to-transparent blur-sm animate-shimmer" }) }),
99
- s.map((p) => /* @__PURE__ */ n(
97
+ a === "blur" && !n && /* @__PURE__ */ o("span", { className: "absolute inset-0 bg-white/5 blur-xl opacity-0 group-hover:opacity-100 transition-opacity duration-500" }),
98
+ /* @__PURE__ */ o("span", { className: "absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none", children: /* @__PURE__ */ o("span", { className: "absolute inset-[-2px] rounded-2xl bg-gradient-to-r from-transparent via-white/40 to-transparent blur-sm animate-shimmer" }) }),
99
+ i.map((f) => /* @__PURE__ */ o(
100
100
  "span",
101
101
  {
102
102
  className: "absolute rounded-full bg-white/30 pointer-events-none animate-ripple",
103
103
  style: {
104
- left: p.x,
105
- top: p.y,
104
+ left: f.x,
105
+ top: f.y,
106
106
  width: "20px",
107
107
  height: "20px",
108
108
  transform: "translate(-50%, -50%)"
109
109
  }
110
110
  },
111
- p.id
111
+ f.id
112
112
  )),
113
- /* @__PURE__ */ n("span", { className: "relative z-10 drop-shadow-lg", children: e })
113
+ /* @__PURE__ */ o("span", { className: "relative z-10 drop-shadow-lg", children: e })
114
114
  ]
115
115
  }
116
116
  );
117
- }, Fa = ({
118
- name: e,
119
- title: a,
120
- description: t = "Welcome to my portfolio",
121
- primaryButtonText: r = "Get Started",
122
- primaryButtonLink: o,
123
- primaryButtonOnClick: i,
124
- secondaryButtonText: s = "Learn More",
125
- secondaryButtonLink: d,
126
- secondaryButtonOnClick: l,
127
- backgroundGradient: c = "linear-gradient(135deg, #667eea 0%, #764ba2 100%)",
128
- animationType: g,
129
- className: b = ""
130
- }) => {
131
- const m = () => {
132
- o ? window.location.href = o : i && i();
133
- }, p = () => {
134
- d ? window.location.href = d : l && l();
135
- }, h = o ? /* @__PURE__ */ n("a", { href: o, style: { textDecoration: "none" }, children: /* @__PURE__ */ n(O, { variant: "waves", size: "lg", children: r }) }) : /* @__PURE__ */ n(
136
- O,
137
- {
138
- variant: "waves",
139
- size: "lg",
140
- onClick: i || m,
141
- children: r
142
- }
143
- ), x = d ? /* @__PURE__ */ n("a", { href: d, style: { textDecoration: "none" }, children: /* @__PURE__ */ n(O, { variant: "blur", size: "lg", children: s }) }) : /* @__PURE__ */ n(
144
- O,
145
- {
146
- variant: "blur",
147
- size: "lg",
148
- onClick: l || p,
149
- children: s
150
- }
151
- );
152
- return /* @__PURE__ */ n(
153
- "div",
154
- {
155
- className: g ? `animate-gradient-${g}` : "",
156
- style: {
157
- background: c,
158
- minHeight: "100vh"
159
- },
160
- children: /* @__PURE__ */ n("div", { className: `min-h-screen flex items-center justify-center p-8 ${b}`, children: /* @__PURE__ */ u("div", { className: "max-w-4xl w-full text-center space-y-8", children: [
161
- /* @__PURE__ */ n(
162
- "h1",
163
- {
164
- className: "text-6xl md:text-8xl font-bold text-white mb-4",
165
- style: {
166
- textShadow: "0 0 40px rgba(0,0,0,0.3)",
167
- animation: "fadeInUp 0.8s ease-out"
168
- },
169
- children: e
170
- }
171
- ),
172
- /* @__PURE__ */ n(
173
- "h2",
174
- {
175
- className: "text-3xl md:text-5xl font-semibold text-white/90",
176
- style: {
177
- textShadow: "0 0 30px rgba(0,0,0,0.2)",
178
- animation: "fadeInUp 1s ease-out 0.2s backwards"
179
- },
180
- children: a
181
- }
182
- ),
183
- /* @__PURE__ */ n(
184
- "p",
185
- {
186
- className: "text-xl md:text-2xl text-white/80 max-w-2xl mx-auto",
187
- style: {
188
- textShadow: "0 0 20px rgba(0,0,0,0.2)",
189
- animation: "fadeInUp 1.2s ease-out 0.4s backwards"
190
- },
191
- children: t
192
- }
193
- ),
194
- /* @__PURE__ */ u(
195
- "div",
196
- {
197
- className: "flex flex-wrap gap-6 justify-center mt-12",
198
- style: {
199
- animation: "fadeInUp 1.4s ease-out 0.6s backwards"
200
- },
201
- children: [
202
- h,
203
- x
204
- ]
205
- }
206
- ),
207
- /* @__PURE__ */ n(
208
- "div",
209
- {
210
- className: "mt-16 mx-auto w-32 h-1 rounded-full",
211
- style: {
212
- background: "linear-gradient(90deg, transparent, white, transparent)",
213
- animation: "fadeIn 2s ease-out 1s backwards"
214
- }
215
- }
216
- )
217
- ] }) })
218
- }
219
- );
220
- }, Wa = [
117
+ }, q = [
221
118
  // ========== PREMIUM THEMES (NEW) ==========
222
119
  {
223
120
  id: "glass-morphism",
@@ -682,10 +579,117 @@ const ja = ({
682
579
  category: "animated",
683
580
  animation: "zoom"
684
581
  }
685
- ], Qa = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-blue-600 hover:bg-blue-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), Va = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-red-600 hover:bg-red-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), Za = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-green-600 hover:bg-green-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), Ja = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-purple-600 hover:bg-purple-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), Ka = ({ children: e = "Pill Button", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-8 py-3 rounded-full font-semibold text-white bg-indigo-600 hover:bg-indigo-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), et = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-purple-500/50", children: e }), at = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-blue-600 to-green-600 hover:from-blue-700 hover:to-green-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-blue-500/50", children: e }), tt = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-orange-600 to-red-600 hover:from-orange-700 hover:to-red-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-orange-500/50", children: e }), rt = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-br from-cyan-400 to-blue-600 hover:from-cyan-500 hover:to-blue-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-cyan-500/50", children: e }), nt = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-yellow-500 via-orange-500 to-red-600 hover:from-yellow-600 hover:via-orange-600 hover:to-red-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-orange-500/50", children: e }), ot = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-blue-500/20 backdrop-blur-xl border border-blue-400/30 hover:bg-blue-500/30 hover:border-blue-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-blue-500/20", children: e }), it = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-purple-500/20 backdrop-blur-xl border border-purple-400/30 hover:bg-purple-500/30 hover:border-purple-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-purple-500/20", children: e }), st = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-white/10 backdrop-blur-xl border border-white/30 hover:bg-white/20 hover:border-white/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-white/20", children: e }), lt = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-pink-500/20 backdrop-blur-xl border border-pink-400/30 hover:bg-pink-500/30 hover:border-pink-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-pink-500/20", children: e }), dt = ({ children: e = "Shimmer Effect", onClick: a }) => /* @__PURE__ */ u("button", { onClick: a, className: "relative px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-purple-600 to-blue-600 overflow-hidden group transition-all duration-300 hover:scale-105", children: [
686
- /* @__PURE__ */ n("span", { className: "relative z-10", children: e }),
687
- /* @__PURE__ */ n("span", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent -translate-x-full group-hover:translate-x-full transition-transform duration-1000" })
688
- ] }), ct = ({ children: e = "Pulse Button", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-red-600 hover:bg-red-700 transition-all duration-300 animate-pulse hover:animate-none hover:scale-105", children: e }), gt = ({ children: e = "Bounce Button", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-green-600 hover:bg-green-700 transition-all duration-300 hover:animate-bounce", children: e }), pt = ({ children: e = "Glow Effect", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-purple-600 hover:bg-purple-700 transition-all duration-300 hover:shadow-[0_0_30px_rgba(168,85,247,0.8)] hover:scale-105", children: e }), ft = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-blue-500 border-2 border-blue-500 hover:bg-blue-500 hover:text-white transition-all duration-300 hover:scale-105", children: e }), ut = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-purple-500 border-2 border-purple-500 hover:bg-purple-500 hover:text-white transition-all duration-300 hover:scale-105", children: e }), mt = ({ children: e = "Gradient Border", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-transparent bg-clip-text bg-gradient-to-r from-purple-500 to-pink-500 border-2 border-transparent hover:text-white transition-all duration-300 hover:scale-105", style: { borderImage: "linear-gradient(to right, rgb(168, 85, 247), rgb(236, 72, 153)) 1" }, children: e }), bt = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-blue-500 hover:bg-blue-500/10 transition-all duration-300 hover:scale-105", children: e }), ht = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-red-500 hover:bg-red-500/10 transition-all duration-300 hover:scale-105", children: e }), xt = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-purple-500 hover:bg-purple-500/10 transition-all duration-300 hover:scale-105", children: e }), yt = ({ children: e = "3D Button", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-blue-600 shadow-[0_6px_0_rgb(37,99,235)] hover:shadow-[0_4px_0_rgb(37,99,235)] hover:translate-y-[2px] transition-all duration-150", children: e }), wt = ({ children: e = "3D Button", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-pink-600 shadow-[0_6px_0_rgb(219,39,119)] hover:shadow-[0_4px_0_rgb(219,39,119)] hover:translate-y-[2px] transition-all duration-150", children: e }), vt = ({ children: e = "3D Button", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-green-600 shadow-[0_6px_0_rgb(22,163,74)] hover:shadow-[0_4px_0_rgb(22,163,74)] hover:translate-y-[2px] transition-all duration-150", children: e }), kt = ({ children: e = "Neon Blue", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-blue-400 border-2 border-blue-400 hover:bg-blue-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(59,130,246,0.8)] hover:scale-105", children: e }), It = ({ children: e = "Neon Pink", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-pink-400 border-2 border-pink-400 hover:bg-pink-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(236,72,153,0.8)] hover:scale-105", children: e }), Nt = ({ children: e = "Neon Green", onClick: a }) => /* @__PURE__ */ n("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-green-400 border-2 border-green-400 hover:bg-green-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(34,197,94,0.8)] hover:scale-105", children: e }), H = {
582
+ ], Fa = ({
583
+ name: e,
584
+ title: a,
585
+ description: t = "Welcome to my portfolio",
586
+ primaryButtonText: r = "Get Started",
587
+ primaryButtonLink: n,
588
+ primaryButtonOnClick: s,
589
+ secondaryButtonText: i = "Learn More",
590
+ secondaryButtonLink: d,
591
+ secondaryButtonOnClick: l,
592
+ theme: c,
593
+ // ✅ NEW
594
+ backgroundGradient: g,
595
+ // ⚠️ KEEP للناس اللي يبغون custom
596
+ animationType: m,
597
+ className: b = ""
598
+ }) => {
599
+ const f = c ? q.find((x) => x.id === c) : null, w = (f == null ? void 0 : f.gradient) || g || "linear-gradient(135deg, #667eea 0%, #764ba2 100%)", h = m || (f == null ? void 0 : f.animation), N = () => {
600
+ n ? window.location.href = n : s && s();
601
+ }, k = () => {
602
+ d ? window.location.href = d : l && l();
603
+ }, O = n ? /* @__PURE__ */ o("a", { href: n, style: { textDecoration: "none" }, children: /* @__PURE__ */ o(X, { variant: "waves", size: "lg", children: r }) }) : /* @__PURE__ */ o(
604
+ X,
605
+ {
606
+ variant: "waves",
607
+ size: "lg",
608
+ onClick: s || N,
609
+ children: r
610
+ }
611
+ ), M = d ? /* @__PURE__ */ o("a", { href: d, style: { textDecoration: "none" }, children: /* @__PURE__ */ o(X, { variant: "blur", size: "lg", children: i }) }) : /* @__PURE__ */ o(
612
+ X,
613
+ {
614
+ variant: "blur",
615
+ size: "lg",
616
+ onClick: l || k,
617
+ children: i
618
+ }
619
+ );
620
+ return /* @__PURE__ */ o(
621
+ "div",
622
+ {
623
+ className: h ? `animate-gradient-${h}` : "",
624
+ style: {
625
+ background: w,
626
+ // ✅ استخدام الـ gradient المحدد
627
+ minHeight: "100vh"
628
+ },
629
+ children: /* @__PURE__ */ o("div", { className: `min-h-screen flex items-center justify-center p-8 ${b}`, children: /* @__PURE__ */ u("div", { className: "max-w-4xl w-full text-center space-y-8", children: [
630
+ /* @__PURE__ */ o(
631
+ "h1",
632
+ {
633
+ className: "text-6xl md:text-8xl font-bold text-white mb-4",
634
+ style: {
635
+ textShadow: "0 0 40px rgba(0,0,0,0.3)",
636
+ animation: "fadeInUp 0.8s ease-out"
637
+ },
638
+ children: e
639
+ }
640
+ ),
641
+ /* @__PURE__ */ o(
642
+ "h2",
643
+ {
644
+ className: "text-3xl md:text-5xl font-semibold text-white/90",
645
+ style: {
646
+ textShadow: "0 0 30px rgba(0,0,0,0.2)",
647
+ animation: "fadeInUp 1s ease-out 0.2s backwards"
648
+ },
649
+ children: a
650
+ }
651
+ ),
652
+ /* @__PURE__ */ o(
653
+ "p",
654
+ {
655
+ className: "text-xl md:text-2xl text-white/80 max-w-2xl mx-auto",
656
+ style: {
657
+ textShadow: "0 0 20px rgba(0,0,0,0.2)",
658
+ animation: "fadeInUp 1.2s ease-out 0.4s backwards"
659
+ },
660
+ children: t
661
+ }
662
+ ),
663
+ /* @__PURE__ */ u(
664
+ "div",
665
+ {
666
+ className: "flex flex-wrap gap-6 justify-center mt-12",
667
+ style: {
668
+ animation: "fadeInUp 1.4s ease-out 0.6s backwards"
669
+ },
670
+ children: [
671
+ O,
672
+ M
673
+ ]
674
+ }
675
+ ),
676
+ /* @__PURE__ */ o(
677
+ "div",
678
+ {
679
+ className: "mt-16 mx-auto w-32 h-1 rounded-full",
680
+ style: {
681
+ background: "linear-gradient(90deg, transparent, white, transparent)",
682
+ animation: "fadeIn 2s ease-out 1s backwards"
683
+ }
684
+ }
685
+ )
686
+ ] }) })
687
+ }
688
+ );
689
+ }, Wa = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-blue-600 hover:bg-blue-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), Qa = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-red-600 hover:bg-red-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), Za = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-green-600 hover:bg-green-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), Ja = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-purple-600 hover:bg-purple-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), Ka = ({ children: e = "Pill Button", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-8 py-3 rounded-full font-semibold text-white bg-indigo-600 hover:bg-indigo-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), et = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-purple-500/50", children: e }), at = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-blue-600 to-green-600 hover:from-blue-700 hover:to-green-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-blue-500/50", children: e }), tt = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-orange-600 to-red-600 hover:from-orange-700 hover:to-red-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-orange-500/50", children: e }), rt = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-br from-cyan-400 to-blue-600 hover:from-cyan-500 hover:to-blue-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-cyan-500/50", children: e }), nt = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-yellow-500 via-orange-500 to-red-600 hover:from-yellow-600 hover:via-orange-600 hover:to-red-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-orange-500/50", children: e }), ot = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-blue-500/20 backdrop-blur-xl border border-blue-400/30 hover:bg-blue-500/30 hover:border-blue-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-blue-500/20", children: e }), it = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-purple-500/20 backdrop-blur-xl border border-purple-400/30 hover:bg-purple-500/30 hover:border-purple-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-purple-500/20", children: e }), st = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-white/10 backdrop-blur-xl border border-white/30 hover:bg-white/20 hover:border-white/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-white/20", children: e }), lt = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-pink-500/20 backdrop-blur-xl border border-pink-400/30 hover:bg-pink-500/30 hover:border-pink-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-pink-500/20", children: e }), dt = ({ children: e = "Shimmer Effect", onClick: a }) => /* @__PURE__ */ u("button", { onClick: a, className: "relative px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-purple-600 to-blue-600 overflow-hidden group transition-all duration-300 hover:scale-105", children: [
690
+ /* @__PURE__ */ o("span", { className: "relative z-10", children: e }),
691
+ /* @__PURE__ */ o("span", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent -translate-x-full group-hover:translate-x-full transition-transform duration-1000" })
692
+ ] }), ct = ({ children: e = "Pulse Button", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-red-600 hover:bg-red-700 transition-all duration-300 animate-pulse hover:animate-none hover:scale-105", children: e }), gt = ({ children: e = "Bounce Button", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-green-600 hover:bg-green-700 transition-all duration-300 hover:animate-bounce", children: e }), ft = ({ children: e = "Glow Effect", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-purple-600 hover:bg-purple-700 transition-all duration-300 hover:shadow-[0_0_30px_rgba(168,85,247,0.8)] hover:scale-105", children: e }), pt = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-blue-500 border-2 border-blue-500 hover:bg-blue-500 hover:text-white transition-all duration-300 hover:scale-105", children: e }), ut = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-purple-500 border-2 border-purple-500 hover:bg-purple-500 hover:text-white transition-all duration-300 hover:scale-105", children: e }), mt = ({ children: e = "Gradient Border", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-transparent bg-clip-text bg-gradient-to-r from-purple-500 to-pink-500 border-2 border-transparent hover:text-white transition-all duration-300 hover:scale-105", style: { borderImage: "linear-gradient(to right, rgb(168, 85, 247), rgb(236, 72, 153)) 1" }, children: e }), bt = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-blue-500 hover:bg-blue-500/10 transition-all duration-300 hover:scale-105", children: e }), ht = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-red-500 hover:bg-red-500/10 transition-all duration-300 hover:scale-105", children: e }), xt = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-purple-500 hover:bg-purple-500/10 transition-all duration-300 hover:scale-105", children: e }), yt = ({ children: e = "3D Button", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-blue-600 shadow-[0_6px_0_rgb(37,99,235)] hover:shadow-[0_4px_0_rgb(37,99,235)] hover:translate-y-[2px] transition-all duration-150", children: e }), wt = ({ children: e = "3D Button", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-pink-600 shadow-[0_6px_0_rgb(219,39,119)] hover:shadow-[0_4px_0_rgb(219,39,119)] hover:translate-y-[2px] transition-all duration-150", children: e }), vt = ({ children: e = "3D Button", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-green-600 shadow-[0_6px_0_rgb(22,163,74)] hover:shadow-[0_4px_0_rgb(22,163,74)] hover:translate-y-[2px] transition-all duration-150", children: e }), kt = ({ children: e = "Neon Blue", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-blue-400 border-2 border-blue-400 hover:bg-blue-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(59,130,246,0.8)] hover:scale-105", children: e }), It = ({ children: e = "Neon Pink", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-pink-400 border-2 border-pink-400 hover:bg-pink-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(236,72,153,0.8)] hover:scale-105", children: e }), Nt = ({ children: e = "Neon Green", onClick: a }) => /* @__PURE__ */ o("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-green-400 border-2 border-green-400 hover:bg-green-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(34,197,94,0.8)] hover:scale-105", children: e }), H = {
689
693
  "glass-morphism": `
690
694
  radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
691
695
  radial-gradient(circle at 80% 80%, rgba(255, 128, 171, 0.3), transparent 50%),
@@ -711,14 +715,14 @@ const ja = ({
711
715
  linear-gradient(180deg, #000000 0%, #0a0a1a 50%, #000000 100%)
712
716
  `,
713
717
  none: "transparent"
714
- }, Mt = ({
718
+ }, Ot = ({
715
719
  children: e,
716
720
  layout: a = "center",
717
721
  size: t = "lg",
718
722
  theme: r = "none",
719
- padding: o = !0,
720
- gap: i = "md",
721
- className: s = ""
723
+ padding: n = !0,
724
+ gap: s = "md",
725
+ className: i = ""
722
726
  }) => {
723
727
  const d = {
724
728
  sm: "max-w-3xl",
@@ -730,7 +734,7 @@ const ja = ({
730
734
  sm: "gap-4",
731
735
  md: "gap-8",
732
736
  lg: "gap-12"
733
- }[i], c = {
737
+ }[s], c = {
734
738
  "image-right": `grid md:grid-cols-2 ${l} items-center`,
735
739
  "image-left": `grid md:grid-cols-2 ${l} items-center`,
736
740
  "button-right": `grid md:grid-cols-2 ${l} items-center`,
@@ -738,54 +742,54 @@ const ja = ({
738
742
  center: "flex flex-col items-center justify-center text-center",
739
743
  "two-columns": `grid md:grid-cols-2 ${l}`,
740
744
  "three-columns": `grid md:grid-cols-3 ${l}`
741
- }[a], g = o ? "px-6 py-8" : "", b = r !== "none" ? {
745
+ }[a], g = n ? "px-6 py-8" : "", m = r !== "none" ? {
742
746
  background: H[r],
743
747
  backgroundSize: "200% 200%"
744
- } : {}, m = q.Children.toArray(e);
745
- let p = m;
746
- return (a === "image-left" || a === "button-left") && (p = m.reverse()), /* @__PURE__ */ n(
748
+ } : {}, b = V.Children.toArray(e);
749
+ let f = b;
750
+ return (a === "image-left" || a === "button-left") && (f = b.reverse()), /* @__PURE__ */ o(
747
751
  "div",
748
752
  {
749
- className: `${d} mx-auto ${g} ${s}`,
750
- style: b,
751
- children: /* @__PURE__ */ n("div", { className: c, children: p })
753
+ className: `${d} mx-auto ${g} ${i}`,
754
+ style: m,
755
+ children: /* @__PURE__ */ o("div", { className: c, children: f })
752
756
  }
753
757
  );
754
- }, Ot = ({
758
+ }, Mt = ({
755
759
  src: e,
756
760
  alt: a,
757
761
  className: t = "",
758
762
  width: r,
759
- height: o
760
- }) => /* @__PURE__ */ n("div", { className: `w-full ${t}`, children: /* @__PURE__ */ n(
763
+ height: n
764
+ }) => /* @__PURE__ */ o("div", { className: `w-full ${t}`, children: /* @__PURE__ */ o(
761
765
  "img",
762
766
  {
763
767
  src: e,
764
768
  alt: a,
765
769
  width: r,
766
- height: o,
770
+ height: n,
767
771
  className: "w-full h-auto rounded-2xl shadow-2xl object-cover"
768
772
  }
769
773
  ) }), Ct = ({
770
774
  children: e,
771
775
  className: a = ""
772
- }) => /* @__PURE__ */ n("div", { className: `space-y-4 ${a}`, children: e }), Yt = ({
776
+ }) => /* @__PURE__ */ o("div", { className: `space-y-4 ${a}`, children: e }), Yt = ({
773
777
  children: e,
774
778
  className: a = ""
775
- }) => /* @__PURE__ */ n("div", { className: `flex gap-4 ${a}`, children: e }), Xt = ({
779
+ }) => /* @__PURE__ */ o("div", { className: `flex gap-4 ${a}`, children: e }), Xt = ({
776
780
  icon: e,
777
781
  title: a,
778
782
  description: t,
779
783
  variant: r = "solid",
780
- theme: o = "blue",
781
- hoverable: i = !0,
782
- className: s = ""
784
+ theme: n = "blue",
785
+ hoverable: s = !0,
786
+ className: i = ""
783
787
  }) => {
784
788
  const l = `
785
789
  rounded-2xl p-6
786
790
  max-w-sm
787
791
  transition-all duration-300
788
- ${i ? "hover:scale-[1.02] hover:shadow-2xl" : ""}
792
+ ${s ? "hover:scale-[1.02] hover:shadow-2xl" : ""}
789
793
  ${{
790
794
  blue: {
791
795
  solid: "bg-blue-600 text-white",
@@ -823,22 +827,22 @@ const ja = ({
823
827
  gradient: "bg-gradient-to-br from-orange-600 to-red-600 text-white",
824
828
  outlined: "bg-transparent border-2 border-orange-500 text-orange-500"
825
829
  }
826
- }[o][r]}
827
- ${s}
830
+ }[n][r]}
831
+ ${i}
828
832
  `;
829
833
  return /* @__PURE__ */ u("div", { className: l, children: [
830
- e && /* @__PURE__ */ n("div", { className: "text-4xl mb-4", children: e }),
831
- /* @__PURE__ */ n("h3", { className: "text-xl font-bold mb-2", children: a }),
832
- /* @__PURE__ */ n("p", { className: `text-sm ${r === "outlined" ? "text-gray-600" : "opacity-90"}`, children: t })
834
+ e && /* @__PURE__ */ o("div", { className: "text-4xl mb-4", children: e }),
835
+ /* @__PURE__ */ o("h3", { className: "text-xl font-bold mb-2", children: a }),
836
+ /* @__PURE__ */ o("p", { className: `text-sm ${r === "outlined" ? "text-gray-600" : "opacity-90"}`, children: t })
833
837
  ] });
834
838
  }, Pt = ({
835
839
  image: e,
836
840
  title: a,
837
841
  description: t,
838
842
  price: r,
839
- oldPrice: o,
840
- badge: i,
841
- variant: s = "solid",
843
+ oldPrice: n,
844
+ badge: s,
845
+ variant: i = "solid",
842
846
  children: d,
843
847
  className: l = ""
844
848
  }) => /* @__PURE__ */ u("div", { className: `
@@ -851,11 +855,11 @@ const ja = ({
851
855
  glass: "bg-white/5 backdrop-blur-xl border border-white/10",
852
856
  gradient: "bg-gradient-to-br from-gray-900 to-gray-800 border border-gray-700",
853
857
  outlined: "bg-transparent border-2 border-gray-700"
854
- }[s]}
858
+ }[i]}
855
859
  ${l}
856
860
  `, children: [
857
861
  /* @__PURE__ */ u("div", { className: "relative", children: [
858
- /* @__PURE__ */ n(
862
+ /* @__PURE__ */ o(
859
863
  "img",
860
864
  {
861
865
  src: e,
@@ -863,19 +867,19 @@ const ja = ({
863
867
  className: "w-full h-48 object-cover"
864
868
  }
865
869
  ),
866
- i && /* @__PURE__ */ n("span", { className: "absolute top-3 right-3 px-3 py-1 bg-red-500 text-white text-xs font-bold rounded-full", children: i })
870
+ s && /* @__PURE__ */ o("span", { className: "absolute top-3 right-3 px-3 py-1 bg-red-500 text-white text-xs font-bold rounded-full", children: s })
867
871
  ] }),
868
872
  /* @__PURE__ */ u("div", { className: "p-5 space-y-3", children: [
869
- /* @__PURE__ */ n("h3", { className: "text-xl font-bold text-white", children: a }),
870
- t && /* @__PURE__ */ n("p", { className: "text-gray-400 text-sm", children: t }),
873
+ /* @__PURE__ */ o("h3", { className: "text-xl font-bold text-white", children: a }),
874
+ t && /* @__PURE__ */ o("p", { className: "text-gray-400 text-sm", children: t }),
871
875
  /* @__PURE__ */ u("div", { className: "flex items-center gap-2", children: [
872
876
  /* @__PURE__ */ u("span", { className: "text-2xl font-bold text-white", children: [
873
877
  "$",
874
878
  r
875
879
  ] }),
876
- o && /* @__PURE__ */ u("span", { className: "text-sm text-gray-500 line-through", children: [
880
+ n && /* @__PURE__ */ u("span", { className: "text-sm text-gray-500 line-through", children: [
877
881
  "$",
878
- o
882
+ n
879
883
  ] })
880
884
  ] }),
881
885
  d
@@ -885,9 +889,9 @@ const ja = ({
885
889
  label: a,
886
890
  value: t,
887
891
  change: r,
888
- trend: o = "neutral",
889
- variant: i = "solid",
890
- theme: s = "blue",
892
+ trend: n = "neutral",
893
+ variant: s = "solid",
894
+ theme: i = "blue",
891
895
  className: d = ""
892
896
  }) => {
893
897
  const l = {
@@ -941,22 +945,22 @@ const ja = ({
941
945
  max-w-sm
942
946
  transition-all duration-300
943
947
  hover:scale-[1.02] hover:shadow-xl
944
- ${l[s][i]}
948
+ ${l[i][s]}
945
949
  ${d}
946
950
  `, children: [
947
951
  /* @__PURE__ */ u("div", { className: "flex items-start justify-between mb-4", children: [
948
- e && /* @__PURE__ */ n("div", { className: "text-3xl", children: e }),
949
- r && /* @__PURE__ */ u("span", { className: `text-sm font-semibold ${c[o]}`, children: [
950
- g[o],
952
+ e && /* @__PURE__ */ o("div", { className: "text-3xl", children: e }),
953
+ r && /* @__PURE__ */ u("span", { className: `text-sm font-semibold ${c[n]}`, children: [
954
+ g[n],
951
955
  " ",
952
956
  r
953
957
  ] })
954
958
  ] }),
955
- /* @__PURE__ */ n("p", { className: "text-gray-400 text-sm mb-1", children: a }),
956
- /* @__PURE__ */ n("p", { className: "text-3xl font-bold text-white", children: t })
959
+ /* @__PURE__ */ o("p", { className: "text-gray-400 text-sm mb-1", children: a }),
960
+ /* @__PURE__ */ o("p", { className: "text-3xl font-bold text-white", children: t })
957
961
  ] });
958
962
  };
959
- class y {
963
+ class v {
960
964
  constructor(a) {
961
965
  this.animation = null, this.element = a;
962
966
  }
@@ -966,17 +970,17 @@ class y {
966
970
  animate(a, t = {}) {
967
971
  const {
968
972
  duration: r = 600,
969
- delay: o = 0,
970
- easing: i = "ease",
971
- iterations: s = 1,
973
+ delay: n = 0,
974
+ easing: s = "ease",
975
+ iterations: i = 1,
972
976
  direction: d = "normal",
973
977
  fill: l = "both"
974
978
  } = t;
975
979
  return this.animation && this.animation.cancel(), this.animation = this.element.animate(a, {
976
980
  duration: r,
977
- delay: o,
978
- easing: typeof i == "string" ? i : "linear",
979
- iterations: s,
981
+ delay: n,
982
+ easing: typeof s == "string" ? s : "linear",
983
+ iterations: i,
980
984
  direction: d,
981
985
  fill: l
982
986
  }), this.animation.finished;
@@ -1019,85 +1023,85 @@ class y {
1019
1023
  return ((a = this.animation) == null ? void 0 : a.playState) === "running";
1020
1024
  }
1021
1025
  }
1022
- function St(e) {
1023
- return new y(e);
1026
+ function $t(e) {
1027
+ return new v(e);
1024
1028
  }
1025
- async function zt(e, a, t = {}) {
1026
- const r = t.stagger ?? 0, o = {
1029
+ async function St(e, a, t = {}) {
1030
+ const r = t.stagger ?? 0, n = {
1027
1031
  duration: t.duration,
1028
1032
  delay: t.delay,
1029
1033
  easing: t.easing,
1030
1034
  iterations: t.iterations,
1031
1035
  direction: t.direction,
1032
1036
  fill: t.fill
1033
- }, i = e.map((s, d) => new y(s).animate(a, {
1034
- ...o,
1035
- delay: (o.delay || 0) + r * d
1037
+ }, s = e.map((i, d) => new v(i).animate(a, {
1038
+ ...n,
1039
+ delay: (n.delay || 0) + r * d
1036
1040
  }));
1037
- return Promise.all(i);
1041
+ return Promise.all(s);
1038
1042
  }
1039
- async function Bt(e) {
1043
+ async function zt(e) {
1040
1044
  const a = [];
1041
- for (const { element: t, keyframes: r, config: o } of e) {
1042
- const s = await new y(t).animate(r, o);
1043
- a.push(s);
1045
+ for (const { element: t, keyframes: r, config: n } of e) {
1046
+ const i = await new v(t).animate(r, n);
1047
+ a.push(i);
1044
1048
  }
1045
1049
  return a;
1046
1050
  }
1047
- async function $t(e) {
1048
- const a = e.map(({ element: t, keyframes: r, config: o }) => new y(t).animate(r, o));
1051
+ async function Dt(e) {
1052
+ const a = e.map(({ element: t, keyframes: r, config: n }) => new v(t).animate(r, n));
1049
1053
  return Promise.all(a);
1050
1054
  }
1051
- const E = (e) => e, j = (e) => e * e * e, F = (e) => 1 - Math.pow(1 - e, 3), W = (e) => e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2, Q = (e) => e * e, V = (e) => 1 - (1 - e) * (1 - e), Z = (e) => e < 0.5 ? 2 * e * e : 1 - Math.pow(-2 * e + 2, 2) / 2, J = (e) => e * e * e * e, K = (e) => 1 - Math.pow(1 - e, 4), ee = (e) => e < 0.5 ? 8 * e * e * e * e : 1 - Math.pow(-2 * e + 2, 4) / 2, ae = (e) => e * e * e * e * e, te = (e) => 1 - Math.pow(1 - e, 5), re = (e) => e < 0.5 ? 16 * e * e * e * e * e : 1 - Math.pow(-2 * e + 2, 5) / 2, ne = (e) => e === 0 ? 0 : Math.pow(2, 10 * e - 10), oe = (e) => e === 1 ? 1 : 1 - Math.pow(2, -10 * e), ie = (e) => e === 0 ? 0 : e === 1 ? 1 : e < 0.5 ? Math.pow(2, 20 * e - 10) / 2 : (2 - Math.pow(2, -20 * e + 10)) / 2, X = 1.70158, C = X * 1.525, _ = X + 1, se = (e) => _ * e * e * e - X * e * e, le = (e) => 1 + _ * Math.pow(e - 1, 3) + X * Math.pow(e - 1, 2), de = (e) => e < 0.5 ? Math.pow(2 * e, 2) * ((C + 1) * 2 * e - C) / 2 : (Math.pow(2 * e - 2, 2) * ((C + 1) * (e * 2 - 2) + C) + 2) / 2, U = 2 * Math.PI / 3, D = 2 * Math.PI / 4.5, ce = (e) => e === 0 ? 0 : e === 1 ? 1 : -Math.pow(2, 10 * e - 10) * Math.sin((e * 10 - 10.75) * U), ge = (e) => e === 0 ? 0 : e === 1 ? 1 : Math.pow(2, -10 * e) * Math.sin((e * 10 - 0.75) * U) + 1, pe = (e) => e === 0 ? 0 : e === 1 ? 1 : e < 0.5 ? -(Math.pow(2, 20 * e - 10) * Math.sin((20 * e - 11.125) * D)) / 2 : Math.pow(2, -20 * e + 10) * Math.sin((20 * e - 11.125) * D) / 2 + 1, Y = (e) => e < 1 / 2.75 ? 7.5625 * e * e : e < 2 / 2.75 ? 7.5625 * (e -= 1.5 / 2.75) * e + 0.75 : e < 2.5 / 2.75 ? 7.5625 * (e -= 2.25 / 2.75) * e + 0.9375 : 7.5625 * (e -= 2.625 / 2.75) * e + 0.984375, fe = (e) => 1 - Y(1 - e), ue = (e) => e < 0.5 ? (1 - Y(1 - 2 * e)) / 2 : (1 + Y(2 * e - 1)) / 2, me = (e) => 1 - Math.cos(e * Math.PI / 2), be = (e) => Math.sin(e * Math.PI / 2), he = (e) => -(Math.cos(Math.PI * e) - 1) / 2, xe = (e) => 1 - Math.sqrt(1 - Math.pow(e, 2)), ye = (e) => Math.sqrt(1 - Math.pow(e - 1, 2)), we = (e) => e < 0.5 ? (1 - Math.sqrt(1 - Math.pow(2 * e, 2))) / 2 : (Math.sqrt(1 - Math.pow(-2 * e + 2, 2)) + 1) / 2, ve = {
1055
+ const E = (e) => e, j = (e) => e * e * e, F = (e) => 1 - Math.pow(1 - e, 3), W = (e) => e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2, Q = (e) => e * e, Z = (e) => 1 - (1 - e) * (1 - e), J = (e) => e < 0.5 ? 2 * e * e : 1 - Math.pow(-2 * e + 2, 2) / 2, K = (e) => e * e * e * e, ee = (e) => 1 - Math.pow(1 - e, 4), ae = (e) => e < 0.5 ? 8 * e * e * e * e : 1 - Math.pow(-2 * e + 2, 4) / 2, te = (e) => e * e * e * e * e, re = (e) => 1 - Math.pow(1 - e, 5), ne = (e) => e < 0.5 ? 16 * e * e * e * e * e : 1 - Math.pow(-2 * e + 2, 5) / 2, oe = (e) => e === 0 ? 0 : Math.pow(2, 10 * e - 10), ie = (e) => e === 1 ? 1 : 1 - Math.pow(2, -10 * e), se = (e) => e === 0 ? 0 : e === 1 ? 1 : e < 0.5 ? Math.pow(2, 20 * e - 10) / 2 : (2 - Math.pow(2, -20 * e + 10)) / 2, $ = 1.70158, P = $ * 1.525, _ = $ + 1, le = (e) => _ * e * e * e - $ * e * e, de = (e) => 1 + _ * Math.pow(e - 1, 3) + $ * Math.pow(e - 1, 2), ce = (e) => e < 0.5 ? Math.pow(2 * e, 2) * ((P + 1) * 2 * e - P) / 2 : (Math.pow(2 * e - 2, 2) * ((P + 1) * (e * 2 - 2) + P) + 2) / 2, U = 2 * Math.PI / 3, G = 2 * Math.PI / 4.5, ge = (e) => e === 0 ? 0 : e === 1 ? 1 : -Math.pow(2, 10 * e - 10) * Math.sin((e * 10 - 10.75) * U), fe = (e) => e === 0 ? 0 : e === 1 ? 1 : Math.pow(2, -10 * e) * Math.sin((e * 10 - 0.75) * U) + 1, pe = (e) => e === 0 ? 0 : e === 1 ? 1 : e < 0.5 ? -(Math.pow(2, 20 * e - 10) * Math.sin((20 * e - 11.125) * G)) / 2 : Math.pow(2, -20 * e + 10) * Math.sin((20 * e - 11.125) * G) / 2 + 1, R = (e) => e < 1 / 2.75 ? 7.5625 * e * e : e < 2 / 2.75 ? 7.5625 * (e -= 1.5 / 2.75) * e + 0.75 : e < 2.5 / 2.75 ? 7.5625 * (e -= 2.25 / 2.75) * e + 0.9375 : 7.5625 * (e -= 2.625 / 2.75) * e + 0.984375, ue = (e) => 1 - R(1 - e), me = (e) => e < 0.5 ? (1 - R(1 - 2 * e)) / 2 : (1 + R(2 * e - 1)) / 2, be = (e) => 1 - Math.cos(e * Math.PI / 2), he = (e) => Math.sin(e * Math.PI / 2), xe = (e) => -(Math.cos(Math.PI * e) - 1) / 2, ye = (e) => 1 - Math.sqrt(1 - Math.pow(e, 2)), we = (e) => Math.sqrt(1 - Math.pow(e - 1, 2)), ve = (e) => e < 0.5 ? (1 - Math.sqrt(1 - Math.pow(2 * e, 2))) / 2 : (Math.sqrt(1 - Math.pow(-2 * e + 2, 2)) + 1) / 2, ke = {
1052
1056
  linear: E,
1053
1057
  easeInCubic: j,
1054
1058
  easeOutCubic: F,
1055
1059
  easeInOutCubic: W,
1056
1060
  easeInQuad: Q,
1057
- easeOutQuad: V,
1058
- easeInOutQuad: Z,
1059
- easeInQuart: J,
1060
- easeOutQuart: K,
1061
- easeInOutQuart: ee,
1062
- easeInQuint: ae,
1063
- easeOutQuint: te,
1064
- easeInOutQuint: re,
1065
- easeInExpo: ne,
1066
- easeOutExpo: oe,
1067
- easeInOutExpo: ie,
1068
- easeInBack: se,
1069
- easeOutBack: le,
1070
- easeInOutBack: de,
1071
- easeInElastic: ce,
1072
- easeOutElastic: ge,
1061
+ easeOutQuad: Z,
1062
+ easeInOutQuad: J,
1063
+ easeInQuart: K,
1064
+ easeOutQuart: ee,
1065
+ easeInOutQuart: ae,
1066
+ easeInQuint: te,
1067
+ easeOutQuint: re,
1068
+ easeInOutQuint: ne,
1069
+ easeInExpo: oe,
1070
+ easeOutExpo: ie,
1071
+ easeInOutExpo: se,
1072
+ easeInBack: le,
1073
+ easeOutBack: de,
1074
+ easeInOutBack: ce,
1075
+ easeInElastic: ge,
1076
+ easeOutElastic: fe,
1073
1077
  easeInOutElastic: pe,
1074
- easeInBounce: fe,
1075
- easeOutBounce: Y,
1076
- easeInOutBounce: ue,
1077
- easeInSine: me,
1078
- easeOutSine: be,
1079
- easeInOutSine: he,
1080
- easeInCirc: xe,
1081
- easeOutCirc: ye,
1082
- easeInOutCirc: we
1078
+ easeInBounce: ue,
1079
+ easeOutBounce: R,
1080
+ easeInOutBounce: me,
1081
+ easeInSine: be,
1082
+ easeOutSine: he,
1083
+ easeInOutSine: xe,
1084
+ easeInCirc: ye,
1085
+ easeOutCirc: we,
1086
+ easeInOutCirc: ve
1083
1087
  };
1084
- function Dt(e) {
1085
- return typeof e == "function" ? e : ve[e] || E;
1088
+ function Bt(e) {
1089
+ return typeof e == "function" ? e : ke[e] || E;
1086
1090
  }
1087
1091
  function Gt(e = 100, a = 10, t = 1) {
1088
1092
  return (r) => {
1089
- const o = Math.sqrt(e / t), i = a / (2 * Math.sqrt(e * t));
1090
- if (i < 1) {
1091
- const s = o * Math.sqrt(1 - i * i);
1092
- return 1 - Math.exp(-i * o * r) * Math.cos(s * r);
1093
+ const n = Math.sqrt(e / t), s = a / (2 * Math.sqrt(e * t));
1094
+ if (s < 1) {
1095
+ const i = n * Math.sqrt(1 - s * s);
1096
+ return 1 - Math.exp(-s * n * r) * Math.cos(i * r);
1093
1097
  } else
1094
- return 1 - Math.exp(-o * r);
1098
+ return 1 - Math.exp(-n * r);
1095
1099
  };
1096
1100
  }
1097
1101
  function Et(e, a, t, r) {
1098
- return (o) => {
1099
- const i = 3 * a, s = 3 * (r - a) - i, d = 1 - i - s;
1100
- return ((c) => ((d * c + s) * c + i) * c)(o);
1102
+ return (n) => {
1103
+ const s = 3 * a, i = 3 * (r - a) - s, d = 1 - s - i;
1104
+ return ((c) => ((d * c + i) * c + s) * c)(n);
1101
1105
  };
1102
1106
  }
1103
1107
  class L {
@@ -1113,20 +1117,20 @@ class L {
1113
1117
  observe(a, t = {}) {
1114
1118
  const {
1115
1119
  threshold: r = 0.1,
1116
- rootMargin: o = "0px",
1117
- triggerOnce: i = !1,
1118
- onEnter: s,
1120
+ rootMargin: n = "0px",
1121
+ triggerOnce: s = !1,
1122
+ onEnter: i,
1119
1123
  onExit: d
1120
1124
  } = t;
1121
1125
  this.elements.set(a, t), this.observer || (this.observer = new IntersectionObserver(
1122
1126
  (l) => {
1123
1127
  l.forEach((c) => {
1124
- var b, m;
1128
+ var m, b;
1125
1129
  const g = this.elements.get(c.target);
1126
- g && (c.isIntersecting ? ((b = g.onEnter) == null || b.call(g, c), g.triggerOnce && this.unobserve(c.target)) : (m = g.onExit) == null || m.call(g, c));
1130
+ g && (c.isIntersecting ? ((m = g.onEnter) == null || m.call(g, c), g.triggerOnce && this.unobserve(c.target)) : (b = g.onExit) == null || b.call(g, c));
1127
1131
  });
1128
1132
  },
1129
- { threshold: r, rootMargin: o }
1133
+ { threshold: r, rootMargin: n }
1130
1134
  )), this.observer.observe(a);
1131
1135
  }
1132
1136
  /**
@@ -1142,7 +1146,7 @@ class L {
1142
1146
  this.observer && (this.observer.disconnect(), this.elements.clear(), this.observer = null);
1143
1147
  }
1144
1148
  }
1145
- function ke(e, a) {
1149
+ function Ie(e, a) {
1146
1150
  const t = new L();
1147
1151
  return t.observe(e, a), () => t.disconnect();
1148
1152
  }
@@ -1151,20 +1155,20 @@ function _t(e, a) {
1151
1155
  return e.forEach((r) => t.observe(r, a)), () => t.disconnect();
1152
1156
  }
1153
1157
  function Ut(e, a, t = {}) {
1154
- return ke(e, {
1158
+ return Ie(e, {
1155
1159
  ...t,
1156
1160
  onEnter: a
1157
1161
  });
1158
1162
  }
1159
1163
  function Lt(e) {
1160
- const a = e.getBoundingClientRect(), t = window.innerHeight, r = a.top, o = a.height, i = 1 - (r + o) / (t + o);
1161
- return Math.max(0, Math.min(1, i));
1164
+ const a = e.getBoundingClientRect(), t = window.innerHeight, r = a.top, n = a.height, s = 1 - (r + n) / (t + n);
1165
+ return Math.max(0, Math.min(1, s));
1162
1166
  }
1163
1167
  function At(e, a = 0) {
1164
- const t = e.getBoundingClientRect(), r = window.innerHeight, o = window.innerWidth, i = t.top + t.height * a <= r && t.bottom - t.height * a >= 0, s = t.left + t.width * a <= o && t.right - t.width * a >= 0;
1165
- return i && s;
1168
+ const t = e.getBoundingClientRect(), r = window.innerHeight, n = window.innerWidth, s = t.top + t.height * a <= r && t.bottom - t.height * a >= 0, i = t.left + t.width * a <= n && t.right - t.width * a >= 0;
1169
+ return s && i;
1166
1170
  }
1167
- const Ie = {
1171
+ const Ne = {
1168
1172
  keyframes: [
1169
1173
  { opacity: 0 },
1170
1174
  { opacity: 1 }
@@ -1174,7 +1178,7 @@ const Ie = {
1174
1178
  easing: "ease-out",
1175
1179
  fill: "both"
1176
1180
  }
1177
- }, Ne = {
1181
+ }, Oe = {
1178
1182
  keyframes: [
1179
1183
  {
1180
1184
  opacity: 0,
@@ -1206,7 +1210,7 @@ const Ie = {
1206
1210
  easing: "ease-out",
1207
1211
  fill: "both"
1208
1212
  }
1209
- }, Oe = {
1213
+ }, Ce = {
1210
1214
  keyframes: [
1211
1215
  {
1212
1216
  opacity: 0,
@@ -1222,7 +1226,7 @@ const Ie = {
1222
1226
  easing: "ease-out",
1223
1227
  fill: "both"
1224
1228
  }
1225
- }, Ce = {
1229
+ }, Ye = {
1226
1230
  keyframes: [
1227
1231
  {
1228
1232
  opacity: 0,
@@ -1238,7 +1242,7 @@ const Ie = {
1238
1242
  easing: "ease-out",
1239
1243
  fill: "both"
1240
1244
  }
1241
- }, Ye = {
1245
+ }, Xe = {
1242
1246
  keyframes: [
1243
1247
  { opacity: 1 },
1244
1248
  { opacity: 0 }
@@ -1248,7 +1252,7 @@ const Ie = {
1248
1252
  easing: "ease-in",
1249
1253
  fill: "both"
1250
1254
  }
1251
- }, Xe = {
1255
+ }, Pe = {
1252
1256
  keyframes: [
1253
1257
  {
1254
1258
  opacity: 1,
@@ -1264,7 +1268,7 @@ const Ie = {
1264
1268
  easing: "ease-in",
1265
1269
  fill: "both"
1266
1270
  }
1267
- }, Pe = {
1271
+ }, Re = {
1268
1272
  keyframes: [
1269
1273
  {
1270
1274
  opacity: 1,
@@ -1280,7 +1284,7 @@ const Ie = {
1280
1284
  easing: "ease-in",
1281
1285
  fill: "both"
1282
1286
  }
1283
- }, Re = {
1287
+ }, $e = {
1284
1288
  keyframes: [
1285
1289
  {
1286
1290
  opacity: 1,
@@ -1328,7 +1332,7 @@ const Ie = {
1328
1332
  easing: "ease-out",
1329
1333
  fill: "both"
1330
1334
  }
1331
- }, Be = {
1335
+ }, De = {
1332
1336
  keyframes: [
1333
1337
  {
1334
1338
  opacity: 0,
@@ -1344,7 +1348,7 @@ const Ie = {
1344
1348
  easing: "ease-out",
1345
1349
  fill: "both"
1346
1350
  }
1347
- }, $e = {
1351
+ }, Be = {
1348
1352
  keyframes: [
1349
1353
  {
1350
1354
  opacity: 0,
@@ -1360,7 +1364,7 @@ const Ie = {
1360
1364
  easing: "ease-out",
1361
1365
  fill: "both"
1362
1366
  }
1363
- }, De = {
1367
+ }, Ge = {
1364
1368
  keyframes: [
1365
1369
  {
1366
1370
  opacity: 0,
@@ -1376,7 +1380,7 @@ const Ie = {
1376
1380
  easing: "ease-out",
1377
1381
  fill: "both"
1378
1382
  }
1379
- }, Ge = {
1383
+ }, Ee = {
1380
1384
  keyframes: [
1381
1385
  {
1382
1386
  opacity: 1,
@@ -1392,7 +1396,7 @@ const Ie = {
1392
1396
  easing: "ease-in",
1393
1397
  fill: "both"
1394
1398
  }
1395
- }, Ee = {
1399
+ }, _e = {
1396
1400
  keyframes: [
1397
1401
  {
1398
1402
  opacity: 1,
@@ -1408,7 +1412,7 @@ const Ie = {
1408
1412
  easing: "ease-in",
1409
1413
  fill: "both"
1410
1414
  }
1411
- }, _e = {
1415
+ }, Ue = {
1412
1416
  keyframes: [
1413
1417
  {
1414
1418
  opacity: 1,
@@ -1424,7 +1428,7 @@ const Ie = {
1424
1428
  easing: "ease-in",
1425
1429
  fill: "both"
1426
1430
  }
1427
- }, Ue = {
1431
+ }, Le = {
1428
1432
  keyframes: [
1429
1433
  {
1430
1434
  opacity: 1,
@@ -1440,7 +1444,7 @@ const Ie = {
1440
1444
  easing: "ease-in",
1441
1445
  fill: "both"
1442
1446
  }
1443
- }, Le = {
1447
+ }, Ae = {
1444
1448
  keyframes: [
1445
1449
  {
1446
1450
  opacity: 0,
@@ -1456,7 +1460,7 @@ const Ie = {
1456
1460
  easing: "ease-out",
1457
1461
  fill: "both"
1458
1462
  }
1459
- }, Ae = {
1463
+ }, Te = {
1460
1464
  keyframes: [
1461
1465
  {
1462
1466
  opacity: 0,
@@ -1472,7 +1476,7 @@ const Ie = {
1472
1476
  easing: "ease-out",
1473
1477
  fill: "both"
1474
1478
  }
1475
- }, Te = {
1479
+ }, Ve = {
1476
1480
  keyframes: [
1477
1481
  {
1478
1482
  opacity: 0,
@@ -1584,7 +1588,7 @@ const Ie = {
1584
1588
  easing: "ease-out",
1585
1589
  fill: "both"
1586
1590
  }
1587
- }, Ve = {
1591
+ }, Ze = {
1588
1592
  keyframes: [
1589
1593
  {
1590
1594
  opacity: 0,
@@ -1606,7 +1610,7 @@ const Ie = {
1606
1610
  easing: "ease-out",
1607
1611
  fill: "both"
1608
1612
  }
1609
- }, Ze = {
1613
+ }, Je = {
1610
1614
  keyframes: [
1611
1615
  {
1612
1616
  opacity: 0,
@@ -1622,7 +1626,7 @@ const Ie = {
1622
1626
  easing: "ease-out",
1623
1627
  fill: "both"
1624
1628
  }
1625
- }, Je = {
1629
+ }, Ke = {
1626
1630
  keyframes: [
1627
1631
  {
1628
1632
  opacity: 0,
@@ -1640,7 +1644,7 @@ const Ie = {
1640
1644
  easing: "ease-out",
1641
1645
  fill: "both"
1642
1646
  }
1643
- }, Ke = {
1647
+ }, ea = {
1644
1648
  keyframes: [
1645
1649
  {
1646
1650
  opacity: 0,
@@ -1658,7 +1662,7 @@ const Ie = {
1658
1662
  easing: "ease-out",
1659
1663
  fill: "both"
1660
1664
  }
1661
- }, ea = {
1665
+ }, aa = {
1662
1666
  keyframes: [
1663
1667
  {
1664
1668
  opacity: 0,
@@ -1676,7 +1680,7 @@ const Ie = {
1676
1680
  easing: "ease-out",
1677
1681
  fill: "both"
1678
1682
  }
1679
- }, aa = {
1683
+ }, ta = {
1680
1684
  keyframes: [
1681
1685
  {
1682
1686
  opacity: 0,
@@ -1694,7 +1698,7 @@ const Ie = {
1694
1698
  easing: "ease-out",
1695
1699
  fill: "both"
1696
1700
  }
1697
- }, ta = {
1701
+ }, ra = {
1698
1702
  keyframes: [
1699
1703
  {
1700
1704
  opacity: 1,
@@ -1710,7 +1714,7 @@ const Ie = {
1710
1714
  easing: "ease-in",
1711
1715
  fill: "both"
1712
1716
  }
1713
- }, ra = {
1717
+ }, na = {
1714
1718
  keyframes: [
1715
1719
  { transform: "rotate(0deg)" },
1716
1720
  { transform: "rotate(360deg)" }
@@ -1721,7 +1725,7 @@ const Ie = {
1721
1725
  iterations: 1 / 0,
1722
1726
  fill: "both"
1723
1727
  }
1724
- }, na = {
1728
+ }, oa = {
1725
1729
  keyframes: [
1726
1730
  { transform: "rotate(360deg)" },
1727
1731
  { transform: "rotate(0deg)" }
@@ -1732,7 +1736,7 @@ const Ie = {
1732
1736
  iterations: 1 / 0,
1733
1737
  fill: "both"
1734
1738
  }
1735
- }, oa = {
1739
+ }, ia = {
1736
1740
  keyframes: [
1737
1741
  { transform: "rotate(0deg)" },
1738
1742
  { transform: "rotate(360deg)" }
@@ -1743,7 +1747,7 @@ const Ie = {
1743
1747
  iterations: 1 / 0,
1744
1748
  fill: "both"
1745
1749
  }
1746
- }, ia = {
1750
+ }, sa = {
1747
1751
  keyframes: [
1748
1752
  { transform: "rotate(0deg)" },
1749
1753
  { transform: "rotate(360deg)" }
@@ -1754,7 +1758,7 @@ const Ie = {
1754
1758
  iterations: 1 / 0,
1755
1759
  fill: "both"
1756
1760
  }
1757
- }, sa = {
1761
+ }, la = {
1758
1762
  keyframes: [
1759
1763
  {
1760
1764
  opacity: 0,
@@ -1776,7 +1780,7 @@ const Ie = {
1776
1780
  easing: "ease-out",
1777
1781
  fill: "both"
1778
1782
  }
1779
- }, la = {
1783
+ }, da = {
1780
1784
  keyframes: [
1781
1785
  {
1782
1786
  opacity: 0,
@@ -1798,7 +1802,7 @@ const Ie = {
1798
1802
  easing: "ease-out",
1799
1803
  fill: "both"
1800
1804
  }
1801
- }, da = {
1805
+ }, ca = {
1802
1806
  keyframes: [
1803
1807
  {
1804
1808
  opacity: 0,
@@ -1820,7 +1824,7 @@ const Ie = {
1820
1824
  easing: "ease-out",
1821
1825
  fill: "both"
1822
1826
  }
1823
- }, ca = {
1827
+ }, ga = {
1824
1828
  keyframes: [
1825
1829
  {
1826
1830
  opacity: 0,
@@ -1842,7 +1846,7 @@ const Ie = {
1842
1846
  easing: "ease-out",
1843
1847
  fill: "both"
1844
1848
  }
1845
- }, ga = {
1849
+ }, fa = {
1846
1850
  keyframes: [
1847
1851
  {
1848
1852
  opacity: 0,
@@ -1886,7 +1890,7 @@ const Ie = {
1886
1890
  easing: "ease-in",
1887
1891
  fill: "both"
1888
1892
  }
1889
- }, fa = {
1893
+ }, ua = {
1890
1894
  keyframes: [
1891
1895
  { transform: "translateY(0)" },
1892
1896
  { transform: "translateY(-30px)" },
@@ -1897,7 +1901,7 @@ const Ie = {
1897
1901
  easing: "ease-out",
1898
1902
  fill: "both"
1899
1903
  }
1900
- }, ua = {
1904
+ }, ma = {
1901
1905
  keyframes: [
1902
1906
  { transform: "translateY(0)", offset: 0 },
1903
1907
  { transform: "translateY(-20px)", offset: 0.4 },
@@ -1911,7 +1915,7 @@ const Ie = {
1911
1915
  iterations: 1 / 0,
1912
1916
  fill: "both"
1913
1917
  }
1914
- }, ma = {
1918
+ }, ba = {
1915
1919
  keyframes: [
1916
1920
  { transform: "translateX(0)" },
1917
1921
  { transform: "translateX(-10px)" },
@@ -1925,7 +1929,7 @@ const Ie = {
1925
1929
  easing: "ease-in-out",
1926
1930
  fill: "both"
1927
1931
  }
1928
- }, ba = {
1932
+ }, ha = {
1929
1933
  keyframes: [
1930
1934
  { transform: "translateY(0)" },
1931
1935
  { transform: "translateY(-10px)" },
@@ -1939,7 +1943,7 @@ const Ie = {
1939
1943
  easing: "ease-in-out",
1940
1944
  fill: "both"
1941
1945
  }
1942
- }, ha = {
1946
+ }, xa = {
1943
1947
  keyframes: [
1944
1948
  { transform: "scale(1)" },
1945
1949
  { transform: "scale(1.05)" },
@@ -1950,7 +1954,7 @@ const Ie = {
1950
1954
  easing: "ease-in-out",
1951
1955
  fill: "both"
1952
1956
  }
1953
- }, xa = {
1957
+ }, ya = {
1954
1958
  keyframes: [
1955
1959
  { transform: "scale(1)" },
1956
1960
  { transform: "scale(1.05)" },
@@ -1962,7 +1966,7 @@ const Ie = {
1962
1966
  iterations: 1 / 0,
1963
1967
  fill: "both"
1964
1968
  }
1965
- }, ya = {
1969
+ }, wa = {
1966
1970
  keyframes: [
1967
1971
  { transform: "scale(1)" },
1968
1972
  { transform: "scale(1.3)" },
@@ -1975,7 +1979,7 @@ const Ie = {
1975
1979
  easing: "ease-in-out",
1976
1980
  fill: "both"
1977
1981
  }
1978
- }, wa = {
1982
+ }, va = {
1979
1983
  keyframes: [
1980
1984
  { opacity: 1 },
1981
1985
  { opacity: 0 },
@@ -1988,7 +1992,7 @@ const Ie = {
1988
1992
  easing: "linear",
1989
1993
  fill: "both"
1990
1994
  }
1991
- }, va = {
1995
+ }, ka = {
1992
1996
  keyframes: [
1993
1997
  { transform: "scaleX(1) scaleY(1)" },
1994
1998
  { transform: "scaleX(1.25) scaleY(0.75)" },
@@ -2002,7 +2006,7 @@ const Ie = {
2002
2006
  easing: "ease-in-out",
2003
2007
  fill: "both"
2004
2008
  }
2005
- }, ka = {
2009
+ }, Ia = {
2006
2010
  keyframes: [
2007
2011
  { transform: "skewX(0deg) skewY(0deg)" },
2008
2012
  { transform: "skewX(-12.5deg) skewY(-12.5deg)" },
@@ -2016,7 +2020,7 @@ const Ie = {
2016
2020
  easing: "ease-in-out",
2017
2021
  fill: "both"
2018
2022
  }
2019
- }, Ia = {
2023
+ }, Na = {
2020
2024
  keyframes: [
2021
2025
  { transform: "rotate(0deg)", transformOrigin: "top center" },
2022
2026
  { transform: "rotate(15deg)", transformOrigin: "top center" },
@@ -2030,7 +2034,7 @@ const Ie = {
2030
2034
  easing: "ease-in-out",
2031
2035
  fill: "both"
2032
2036
  }
2033
- }, Na = {
2037
+ }, Oa = {
2034
2038
  keyframes: [
2035
2039
  { transform: "translateX(0%) rotate(0deg)" },
2036
2040
  { transform: "translateX(-25%) rotate(-5deg)" },
@@ -2063,14 +2067,14 @@ const Ie = {
2063
2067
  easing: "ease-in-out",
2064
2068
  fill: "both"
2065
2069
  }
2066
- }, Oa = {
2070
+ }, Ca = {
2067
2071
  keyframes: [
2068
2072
  { width: "0", opacity: 0 },
2069
2073
  { width: "0", opacity: 1, offset: 0.01 },
2070
2074
  { width: "100%", opacity: 1 }
2071
2075
  ],
2072
2076
  config: { duration: 2e3, easing: "steps(40, end)" }
2073
- }, Ca = {
2077
+ }, Ya = {
2074
2078
  keyframes: [
2075
2079
  { transform: "translate(0)", offset: 0 },
2076
2080
  { transform: "translate(-2px, 2px)", offset: 0.2 },
@@ -2080,27 +2084,27 @@ const Ie = {
2080
2084
  { transform: "translate(0)", offset: 1 }
2081
2085
  ],
2082
2086
  config: { duration: 500, easing: "linear" }
2083
- }, Ya = {
2087
+ }, Xa = {
2084
2088
  keyframes: [
2085
2089
  { transform: "translateY(0)", offset: 0 },
2086
2090
  { transform: "translateY(-10px)", offset: 0.5 },
2087
2091
  { transform: "translateY(0)", offset: 1 }
2088
2092
  ],
2089
2093
  config: { duration: 600, easing: "ease-in-out" }
2090
- }, Xa = {
2094
+ }, Pa = {
2091
2095
  keyframes: [
2092
2096
  { filter: "blur(12px)", opacity: 0 },
2093
2097
  { filter: "blur(0)", opacity: 1 }
2094
2098
  ],
2095
2099
  config: { duration: 800, easing: "ease-out" }
2096
- }, Pa = {
2100
+ }, Ra = {
2097
2101
  keyframes: [
2098
2102
  { letterSpacing: "-0.5em", opacity: 0 },
2099
2103
  { letterSpacing: "-0.5em", opacity: 0.6, offset: 0.4 },
2100
2104
  { letterSpacing: "normal", opacity: 1 }
2101
2105
  ],
2102
2106
  config: { duration: 700, easing: "cubic-bezier(0.215, 0.610, 0.355, 1.000)" }
2103
- }, Ra = {
2107
+ }, $a = {
2104
2108
  keyframes: [
2105
2109
  { letterSpacing: "normal", opacity: 1 },
2106
2110
  { letterSpacing: "0em", opacity: 0.6, offset: 0.5 },
@@ -2119,7 +2123,7 @@ const Ie = {
2119
2123
  { textShadow: "1px 1px #555, 2px 2px #555, 3px 3px #555, 4px 4px #555" }
2120
2124
  ],
2121
2125
  config: { duration: 600, easing: "ease-out" }
2122
- }, Ba = {
2126
+ }, Da = {
2123
2127
  keyframes: [
2124
2128
  { opacity: 1, offset: 0 },
2125
2129
  { opacity: 1, offset: 0.4199 },
@@ -2133,25 +2137,25 @@ const Ie = {
2133
2137
  { opacity: 1, offset: 1 }
2134
2138
  ],
2135
2139
  config: { duration: 1e3, easing: "linear" }
2136
- }, $a = {
2140
+ }, Ba = {
2137
2141
  keyframes: [
2138
2142
  { transform: "scale(0)", transformOrigin: "50% 50%", opacity: 0 },
2139
2143
  { transform: "scale(1)", transformOrigin: "50% 50%", opacity: 1 }
2140
2144
  ],
2141
2145
  config: { duration: 500, easing: "cubic-bezier(0.250, 0.460, 0.450, 0.940)" }
2142
- }, Da = {
2146
+ }, Ga = {
2143
2147
  keyframes: [
2144
2148
  { transform: "rotate(-360deg)", opacity: 0 },
2145
2149
  { transform: "rotate(0)", opacity: 1 }
2146
2150
  ],
2147
2151
  config: { duration: 600, easing: "ease-out" }
2148
- }, Ga = {
2152
+ }, Ea = {
2149
2153
  keyframes: [
2150
2154
  { transform: "scale(0.5)", opacity: 0 },
2151
2155
  { transform: "scale(1)", opacity: 1 }
2152
2156
  ],
2153
2157
  config: { duration: 400, easing: "cubic-bezier(0.390, 0.575, 0.565, 1.000)" }
2154
- }, Ea = {
2158
+ }, _a = {
2155
2159
  keyframes: [
2156
2160
  { transform: "translateX(0) rotate(0)", offset: 0 },
2157
2161
  { transform: "translateX(-25px) rotate(-5deg)", offset: 0.15 },
@@ -2162,7 +2166,7 @@ const Ie = {
2162
2166
  { transform: "translateX(0) rotate(0)", offset: 1 }
2163
2167
  ],
2164
2168
  config: { duration: 1e3, easing: "ease-in-out" }
2165
- }, _a = {
2169
+ }, Ua = {
2166
2170
  keyframes: [
2167
2171
  {
2168
2172
  transform: "rotateX(-100deg)",
@@ -2176,7 +2180,7 @@ const Ie = {
2176
2180
  }
2177
2181
  ],
2178
2182
  config: { duration: 600, easing: "cubic-bezier(0.175, 0.885, 0.320, 1.275)" }
2179
- }, Ua = {
2183
+ }, La = {
2180
2184
  keyframes: [
2181
2185
  {
2182
2186
  transform: "translateX(-1000px) scaleX(2.5) scaleY(0.2)",
@@ -2190,7 +2194,7 @@ const Ie = {
2190
2194
  }
2191
2195
  ],
2192
2196
  config: { duration: 800, easing: "cubic-bezier(0.230, 1.000, 0.320, 1.000)" }
2193
- }, La = {
2197
+ }, Aa = {
2194
2198
  keyframes: [
2195
2199
  {
2196
2200
  transform: "scale(1) translateX(0) translateY(0)"
@@ -2202,93 +2206,93 @@ const Ie = {
2202
2206
  config: { duration: 5e3, easing: "ease-out" }
2203
2207
  }, I = {
2204
2208
  // Fade (10)
2205
- fadeIn: Ie,
2206
- fadeInUp: Ne,
2209
+ fadeIn: Ne,
2210
+ fadeInUp: Oe,
2207
2211
  fadeInDown: Me,
2208
- fadeInLeft: Oe,
2209
- fadeInRight: Ce,
2210
- fadeOut: Ye,
2211
- fadeOutUp: Xe,
2212
- fadeOutDown: Pe,
2213
- fadeOutLeft: Re,
2212
+ fadeInLeft: Ce,
2213
+ fadeInRight: Ye,
2214
+ fadeOut: Xe,
2215
+ fadeOutUp: Pe,
2216
+ fadeOutDown: Re,
2217
+ fadeOutLeft: $e,
2214
2218
  fadeOutRight: Se,
2215
2219
  // Slide (8)
2216
2220
  slideInUp: ze,
2217
- slideInDown: Be,
2218
- slideInLeft: $e,
2219
- slideInRight: De,
2220
- slideOutUp: Ge,
2221
- slideOutDown: Ee,
2222
- slideOutLeft: _e,
2223
- slideOutRight: Ue,
2221
+ slideInDown: De,
2222
+ slideInLeft: Be,
2223
+ slideInRight: Ge,
2224
+ slideOutUp: Ee,
2225
+ slideOutDown: _e,
2226
+ slideOutLeft: Ue,
2227
+ slideOutRight: Le,
2224
2228
  // Zoom (10)
2225
- zoomIn: Le,
2226
- zoomInUp: Ae,
2227
- zoomInDown: Te,
2229
+ zoomIn: Ae,
2230
+ zoomInUp: Te,
2231
+ zoomInDown: Ve,
2228
2232
  zoomInLeft: qe,
2229
2233
  zoomInRight: He,
2230
2234
  zoomOut: je,
2231
2235
  zoomOutUp: Fe,
2232
2236
  zoomOutDown: We,
2233
2237
  zoomInBig: Qe,
2234
- zoomInBounce: Ve,
2238
+ zoomInBounce: Ze,
2235
2239
  // Rotate (10)
2236
- rotateIn: Ze,
2237
- rotateInUpLeft: Je,
2238
- rotateInUpRight: Ke,
2239
- rotateInDownLeft: ea,
2240
- rotateInDownRight: aa,
2241
- rotateOut: ta,
2242
- spin: ra,
2243
- spinReverse: na,
2244
- spinSlow: oa,
2245
- spinFast: ia,
2240
+ rotateIn: Je,
2241
+ rotateInUpLeft: Ke,
2242
+ rotateInUpRight: ea,
2243
+ rotateInDownLeft: aa,
2244
+ rotateInDownRight: ta,
2245
+ rotateOut: ra,
2246
+ spin: na,
2247
+ spinReverse: oa,
2248
+ spinSlow: ia,
2249
+ spinFast: sa,
2246
2250
  // Bounce (8)
2247
- bounceIn: sa,
2248
- bounceInUp: la,
2249
- bounceInDown: da,
2250
- bounceInLeft: ca,
2251
- bounceInRight: ga,
2251
+ bounceIn: la,
2252
+ bounceInUp: da,
2253
+ bounceInDown: ca,
2254
+ bounceInLeft: ga,
2255
+ bounceInRight: fa,
2252
2256
  bounceOut: pa,
2253
- bounce: fa,
2254
- bounceLoop: ua,
2257
+ bounce: ua,
2258
+ bounceLoop: ma,
2255
2259
  // Attention (11)
2256
- shake: ma,
2257
- shakeY: ba,
2258
- pulse: ha,
2259
- pulseLoop: xa,
2260
- heartbeat: ya,
2261
- flash: wa,
2262
- rubberBand: va,
2263
- jello: ka,
2264
- swing: Ia,
2265
- wobble: Na,
2260
+ shake: ba,
2261
+ shakeY: ha,
2262
+ pulse: xa,
2263
+ pulseLoop: ya,
2264
+ heartbeat: wa,
2265
+ flash: va,
2266
+ rubberBand: ka,
2267
+ jello: Ia,
2268
+ swing: Na,
2269
+ wobble: Oa,
2266
2270
  tada: Ma,
2267
2271
  // ✅ Text (16) - NEW!
2268
- typing: Oa,
2269
- glitch: Ca,
2270
- waveText: Ya,
2271
- blurIn: Xa,
2272
- trackingInExpand: Pa,
2273
- trackingOutContract: Ra,
2272
+ typing: Ca,
2273
+ glitch: Ya,
2274
+ waveText: Xa,
2275
+ blurIn: Pa,
2276
+ trackingInExpand: Ra,
2277
+ trackingOutContract: $a,
2274
2278
  focusIn: Sa,
2275
2279
  textShadowPop: za,
2276
- flicker: Ba,
2277
- textPopUp: $a,
2278
- textRotateIn: Da,
2279
- textScaleUp: Ga,
2280
- textWobble: Ea,
2281
- swingInTop: _a,
2282
- slideInBlurred: Ua,
2283
- kenburns: La
2280
+ flicker: Da,
2281
+ textPopUp: Ba,
2282
+ textRotateIn: Ga,
2283
+ textScaleUp: Ea,
2284
+ textWobble: _a,
2285
+ swingInTop: Ua,
2286
+ slideInBlurred: La,
2287
+ kenburns: Aa
2284
2288
  };
2285
2289
  function Tt(e) {
2286
2290
  return I[e];
2287
2291
  }
2288
- function Aa() {
2292
+ function Ta() {
2289
2293
  return Object.keys(I);
2290
2294
  }
2291
- function qt(e) {
2295
+ function Vt(e) {
2292
2296
  return e === "text" ? [
2293
2297
  "typing",
2294
2298
  "glitch",
@@ -2306,200 +2310,300 @@ function qt(e) {
2306
2310
  "swingInTop",
2307
2311
  "slideInBlurred",
2308
2312
  "kenburns"
2309
- ] : Aa().filter((a) => a.startsWith(e));
2313
+ ] : Ta().filter((a) => a.startsWith(e));
2310
2314
  }
2311
- const Ta = ({
2315
+ const Va = ({
2312
2316
  children: e,
2313
2317
  preset: a = "fadeIn",
2314
2318
  duration: t,
2315
2319
  delay: r,
2316
- easing: o,
2317
- iterations: i,
2318
- trigger: s = "mount",
2320
+ easing: n,
2321
+ iterations: s,
2322
+ trigger: i = "mount",
2319
2323
  threshold: d = 0.1,
2320
2324
  triggerOnce: l = !0,
2321
2325
  onAnimationStart: c,
2322
2326
  onAnimationEnd: g,
2323
- className: b = "",
2324
- style: m = {}
2327
+ className: m = "",
2328
+ style: b = {}
2325
2329
  }) => {
2326
- const p = f(null), h = f(null), x = f(null), N = f(!1), k = async () => {
2327
- var S, z, B, $;
2328
- if (!p.current || l && N.current) return;
2329
- const w = I[a];
2330
- if (!w) {
2330
+ const f = p(null), w = p(null), h = p(null), N = p(!1), k = async () => {
2331
+ var S, z, D, B;
2332
+ if (!f.current || l && N.current) return;
2333
+ const x = I[a];
2334
+ if (!x) {
2331
2335
  console.warn(`[TeleMotion] Preset "${a}" not found`);
2332
2336
  return;
2333
2337
  }
2334
- h.current || (h.current = new y(p.current)), c == null || c();
2335
- const M = {
2336
- ...w.config,
2337
- duration: t ?? ((S = w.config) == null ? void 0 : S.duration),
2338
- delay: r ?? ((z = w.config) == null ? void 0 : z.delay),
2339
- easing: o ?? ((B = w.config) == null ? void 0 : B.easing),
2340
- iterations: i ?? (($ = w.config) == null ? void 0 : $.iterations)
2338
+ w.current || (w.current = new v(f.current)), c == null || c();
2339
+ const Y = {
2340
+ ...x.config,
2341
+ duration: t ?? ((S = x.config) == null ? void 0 : S.duration),
2342
+ delay: r ?? ((z = x.config) == null ? void 0 : z.delay),
2343
+ easing: n ?? ((D = x.config) == null ? void 0 : D.easing),
2344
+ iterations: s ?? ((B = x.config) == null ? void 0 : B.iterations)
2341
2345
  };
2342
2346
  try {
2343
- await h.current.animate(w.keyframes, M), N.current = !0, g == null || g();
2347
+ await w.current.animate(x.keyframes, Y), N.current = !0, g == null || g();
2344
2348
  } catch (A) {
2345
2349
  console.error("[TeleMotion] Animation error:", A);
2346
2350
  }
2347
2351
  };
2348
- v(() => {
2349
- s === "mount" && k();
2350
- }, [a, t, r, o, i]), v(() => {
2351
- if (!(s !== "scroll" || !p.current))
2352
- return x.current = new IntersectionObserver(
2353
- (w) => {
2354
- w.forEach((M) => {
2355
- M.isIntersecting && (k(), l && x.current && x.current.unobserve(M.target));
2352
+ y(() => {
2353
+ i === "mount" && k();
2354
+ }, [a, t, r, n, s]), y(() => {
2355
+ if (!(i !== "scroll" || !f.current))
2356
+ return h.current = new IntersectionObserver(
2357
+ (x) => {
2358
+ x.forEach((Y) => {
2359
+ Y.isIntersecting && (k(), l && h.current && h.current.unobserve(Y.target));
2356
2360
  });
2357
2361
  },
2358
2362
  { threshold: d }
2359
- ), x.current.observe(p.current), () => {
2360
- x.current && x.current.disconnect();
2363
+ ), h.current.observe(f.current), () => {
2364
+ h.current && h.current.disconnect();
2361
2365
  };
2362
- }, [s, d, l, a]);
2363
- const P = () => {
2364
- s === "hover" && k();
2365
- }, R = () => {
2366
- s === "click" && k();
2366
+ }, [i, d, l, a]);
2367
+ const O = () => {
2368
+ i === "hover" && k();
2369
+ }, M = () => {
2370
+ i === "click" && k();
2367
2371
  };
2368
- return v(() => () => {
2369
- h.current && h.current.stop();
2370
- }, []), /* @__PURE__ */ n(
2372
+ return y(() => () => {
2373
+ w.current && w.current.stop();
2374
+ }, []), /* @__PURE__ */ o(
2371
2375
  "div",
2372
2376
  {
2373
- ref: p,
2374
- className: b,
2375
- style: m,
2376
- onMouseEnter: s === "hover" ? P : void 0,
2377
- onClick: s === "click" ? R : void 0,
2377
+ ref: f,
2378
+ className: m,
2379
+ style: b,
2380
+ onMouseEnter: i === "hover" ? O : void 0,
2381
+ onClick: i === "click" ? M : void 0,
2378
2382
  children: e
2379
2383
  }
2380
2384
  );
2381
2385
  };
2382
- Ta.displayName = "TeleMotion";
2383
- function Ht() {
2384
- const e = f(null), a = f(null), t = async (r, o) => {
2385
- e.current && (a.current || (a.current = new y(e.current)), await a.current.animate(r, o));
2386
+ Va.displayName = "TeleMotion";
2387
+ function qt() {
2388
+ const e = p(null), a = p(null), t = async (r, n) => {
2389
+ e.current && (a.current || (a.current = new v(e.current)), await a.current.animate(r, n));
2386
2390
  };
2387
- return v(() => () => {
2391
+ return y(() => () => {
2388
2392
  a.current && a.current.stop();
2389
2393
  }, []), [e, t];
2390
2394
  }
2391
- function jt(e, a) {
2392
- const t = f(null), r = f(null), o = async () => {
2395
+ function Ht(e, a) {
2396
+ const t = p(null), r = p(null), n = async () => {
2393
2397
  if (!t.current) return;
2394
- const i = I[e];
2395
- if (!i) {
2398
+ const s = I[e];
2399
+ if (!s) {
2396
2400
  console.warn(`[usePresetAnimation] Preset "${e}" not found`);
2397
2401
  return;
2398
2402
  }
2399
- r.current || (r.current = new y(t.current));
2400
- const s = {
2401
- ...i.config,
2403
+ r.current || (r.current = new v(t.current));
2404
+ const i = {
2405
+ ...s.config,
2402
2406
  ...a
2403
2407
  };
2404
- await r.current.animate(i.keyframes, s);
2408
+ await r.current.animate(s.keyframes, i);
2405
2409
  };
2406
- return v(() => {
2407
- (a == null ? void 0 : a.trigger) !== "manual" && o();
2408
- }, [e]), v(() => () => {
2410
+ return y(() => {
2411
+ (a == null ? void 0 : a.trigger) !== "manual" && n();
2412
+ }, [e]), y(() => () => {
2409
2413
  r.current && r.current.stop();
2410
- }, []), [t, o];
2414
+ }, []), [t, n];
2411
2415
  }
2412
- function Ft(e, a) {
2413
- const t = f(null), r = f(null), o = f(null), i = f(!1);
2414
- return v(() => {
2416
+ function jt(e, a) {
2417
+ const t = p(null), r = p(null), n = p(null), s = p(!1);
2418
+ return y(() => {
2415
2419
  if (!t.current) return;
2416
- const s = I[e];
2417
- if (!s) {
2420
+ const i = I[e];
2421
+ if (!i) {
2418
2422
  console.warn(`[useScrollAnimation] Preset "${e}" not found`);
2419
2423
  return;
2420
2424
  }
2421
- return r.current = new y(t.current), o.current = new IntersectionObserver(
2425
+ return r.current = new v(t.current), n.current = new IntersectionObserver(
2422
2426
  (d) => {
2423
2427
  d.forEach((l) => {
2424
- if (l.isIntersecting && !i.current && r.current) {
2428
+ if (l.isIntersecting && !s.current && r.current) {
2425
2429
  const c = {
2426
- ...s.config,
2430
+ ...i.config,
2427
2431
  ...a == null ? void 0 : a.config
2428
2432
  };
2429
- r.current.animate(s.keyframes, c), i.current = !0, (a == null ? void 0 : a.triggerOnce) !== !1 && o.current && o.current.unobserve(l.target);
2433
+ r.current.animate(i.keyframes, c), s.current = !0, (a == null ? void 0 : a.triggerOnce) !== !1 && n.current && n.current.unobserve(l.target);
2430
2434
  }
2431
2435
  });
2432
2436
  },
2433
2437
  { threshold: (a == null ? void 0 : a.threshold) ?? 0.1 }
2434
- ), o.current.observe(t.current), () => {
2435
- o.current && o.current.disconnect(), r.current && r.current.stop();
2438
+ ), n.current.observe(t.current), () => {
2439
+ n.current && n.current.disconnect(), r.current && r.current.stop();
2436
2440
  };
2437
2441
  }, [e, a == null ? void 0 : a.threshold, a == null ? void 0 : a.triggerOnce]), t;
2438
2442
  }
2439
- function Wt(e, a = 100, t) {
2440
- const r = f(null);
2443
+ function Ft(e, a = 100, t) {
2444
+ const r = p(null);
2441
2445
  return [r, async () => {
2442
2446
  if (!r.current) return;
2443
- const i = I[e];
2444
- if (!i) return;
2445
- const d = Array.from(r.current.children).map((l, c) => new y(l).animate(i.keyframes, {
2446
- ...i.config,
2447
+ const s = I[e];
2448
+ if (!s) return;
2449
+ const d = Array.from(r.current.children).map((l, c) => new v(l).animate(s.keyframes, {
2450
+ ...s.config,
2447
2451
  ...t,
2448
2452
  delay: ((t == null ? void 0 : t.delay) ?? 0) + a * c
2449
2453
  }));
2450
2454
  await Promise.all(d);
2451
2455
  }];
2452
2456
  }
2453
- function Qt(e, a) {
2454
- const t = f(null), r = f(null);
2457
+ function Wt(e, a) {
2458
+ const t = p(null), r = p(null);
2455
2459
  return [t, { onMouseEnter: async () => {
2456
2460
  if (!t.current) return;
2457
- const s = I[e];
2458
- s && (r.current || (r.current = new y(t.current)), await r.current.animate(s.keyframes, {
2459
- ...s.config,
2461
+ const i = I[e];
2462
+ i && (r.current || (r.current = new v(t.current)), await r.current.animate(i.keyframes, {
2463
+ ...i.config,
2460
2464
  ...a
2461
2465
  }));
2462
2466
  }, onMouseLeave: () => {
2463
2467
  r.current && r.current.stop();
2464
2468
  } }];
2465
2469
  }
2466
- function Vt(e = 0.1) {
2467
- const a = f(null), [t, r] = G(!1);
2468
- return v(() => {
2470
+ function Qt(e = 0.1) {
2471
+ const a = p(null), [t, r] = C(!1);
2472
+ return y(() => {
2469
2473
  if (!a.current) return;
2470
- const o = new IntersectionObserver(
2471
- (i) => {
2472
- i.forEach((s) => {
2473
- r(s.isIntersecting);
2474
+ const n = new IntersectionObserver(
2475
+ (s) => {
2476
+ s.forEach((i) => {
2477
+ r(i.isIntersecting);
2474
2478
  });
2475
2479
  },
2476
2480
  { threshold: e }
2477
2481
  );
2478
- return o.observe(a.current), () => {
2479
- o.disconnect();
2482
+ return n.observe(a.current), () => {
2483
+ n.disconnect();
2480
2484
  };
2481
2485
  }, [e]), [a, t];
2482
2486
  }
2487
+ const Zt = ({
2488
+ children: e,
2489
+ direction: a = "up",
2490
+ delay: t = 0,
2491
+ duration: r = 800,
2492
+ threshold: n = 0.1,
2493
+ once: s = !0,
2494
+ className: i = ""
2495
+ }) => {
2496
+ const d = p(null), [l, c] = C(!1);
2497
+ y(() => {
2498
+ const m = new IntersectionObserver(
2499
+ ([b]) => {
2500
+ b.isIntersecting ? (c(!0), s && d.current && m.unobserve(d.current)) : s || c(!1);
2501
+ },
2502
+ {
2503
+ threshold: n,
2504
+ rootMargin: "0px"
2505
+ }
2506
+ );
2507
+ return d.current && m.observe(d.current), () => {
2508
+ d.current && m.unobserve(d.current);
2509
+ };
2510
+ }, [n, s]);
2511
+ const g = `scroll-fade-${a}`;
2512
+ return /* @__PURE__ */ o(
2513
+ "div",
2514
+ {
2515
+ ref: d,
2516
+ className: `scroll-animation ${g} ${l ? "active" : ""} ${i}`,
2517
+ style: {
2518
+ animationDelay: `${t}ms`,
2519
+ animationDuration: `${r}ms`
2520
+ },
2521
+ children: e
2522
+ }
2523
+ );
2524
+ }, Jt = ({
2525
+ children: e,
2526
+ delay: a = 0,
2527
+ duration: t = 600,
2528
+ threshold: r = 0.1,
2529
+ once: n = !0,
2530
+ className: s = ""
2531
+ }) => {
2532
+ const i = p(null), [d, l] = C(!1);
2533
+ return y(() => {
2534
+ const c = new IntersectionObserver(
2535
+ ([g]) => {
2536
+ g.isIntersecting ? (l(!0), n && i.current && c.unobserve(i.current)) : n || l(!1);
2537
+ },
2538
+ { threshold: r }
2539
+ );
2540
+ return i.current && c.observe(i.current), () => {
2541
+ i.current && c.unobserve(i.current);
2542
+ };
2543
+ }, [r, n]), /* @__PURE__ */ o(
2544
+ "div",
2545
+ {
2546
+ ref: i,
2547
+ className: `scroll-animation scroll-zoom-in ${d ? "active" : ""} ${s}`,
2548
+ style: {
2549
+ animationDelay: `${a}ms`,
2550
+ animationDuration: `${t}ms`
2551
+ },
2552
+ children: e
2553
+ }
2554
+ );
2555
+ }, Kt = ({
2556
+ children: e,
2557
+ delay: a = 0,
2558
+ duration: t = 800,
2559
+ threshold: r = 0.1,
2560
+ once: n = !0,
2561
+ className: s = ""
2562
+ }) => {
2563
+ const i = p(null), [d, l] = C(!1);
2564
+ return y(() => {
2565
+ const c = new IntersectionObserver(
2566
+ ([g]) => {
2567
+ g.isIntersecting ? (l(!0), n && i.current && c.unobserve(i.current)) : n || l(!1);
2568
+ },
2569
+ { threshold: r }
2570
+ );
2571
+ return i.current && c.observe(i.current), () => {
2572
+ i.current && c.unobserve(i.current);
2573
+ };
2574
+ }, [r, n]), /* @__PURE__ */ o(
2575
+ "div",
2576
+ {
2577
+ ref: i,
2578
+ className: `scroll-animation scroll-rotate-in ${d ? "active" : ""} ${s}`,
2579
+ style: {
2580
+ animationDelay: `${a}ms`,
2581
+ animationDuration: `${t}ms`
2582
+ },
2583
+ children: e
2584
+ }
2585
+ );
2586
+ };
2483
2587
  export {
2484
2588
  gt as AnimatedBounce,
2485
- pt as AnimatedGlow,
2589
+ ft as AnimatedGlow,
2486
2590
  ct as AnimatedPulse,
2487
2591
  dt as AnimatedShimmer,
2488
- y as Animator,
2592
+ v as Animator,
2489
2593
  ja as Button,
2490
2594
  yt as Button3DBlue,
2491
2595
  vt as Button3DGreen,
2492
2596
  wt as Button3DPink,
2493
- Mt as Container,
2597
+ Ot as Container,
2494
2598
  Yt as ContainerButton,
2495
2599
  Ct as ContainerContent,
2496
- Ot as ContainerImage,
2600
+ Mt as ContainerImage,
2497
2601
  Xt as FeatureCard,
2498
2602
  bt as GhostBlue,
2499
2603
  xt as GhostPurple,
2500
2604
  ht as GhostRed,
2501
2605
  ot as GlassBlue,
2502
- O as GlassButton,
2606
+ X as GlassButton,
2503
2607
  lt as GlassPink,
2504
2608
  it as GlassPurple,
2505
2609
  st as GlassWhite,
@@ -2512,40 +2616,43 @@ export {
2512
2616
  kt as NeonBlue,
2513
2617
  Nt as NeonGreen,
2514
2618
  It as NeonPink,
2515
- ft as OutlinedBlue,
2619
+ pt as OutlinedBlue,
2516
2620
  mt as OutlinedGradient,
2517
2621
  ut as OutlinedPurple,
2518
2622
  Pt as ProductCard,
2623
+ Kt as RotateIn,
2519
2624
  L as ScrollObserver,
2520
- Qa as SolidBlue,
2625
+ Zt as ScrollReveal,
2626
+ Wa as SolidBlue,
2521
2627
  Za as SolidGreen,
2522
2628
  Ka as SolidPill,
2523
2629
  Ja as SolidPurple,
2524
- Va as SolidRed,
2630
+ Qa as SolidRed,
2525
2631
  Rt as StatCard,
2526
- Ta as TeleMotion,
2527
- zt as animateGroup,
2632
+ Va as TeleMotion,
2633
+ Jt as ZoomIn,
2634
+ St as animateGroup,
2528
2635
  Ut as animateOnScroll,
2529
2636
  Et as bezier,
2530
- St as createAnimator,
2531
- ve as easings,
2532
- Dt as getEasing,
2637
+ $t as createAnimator,
2638
+ ke as easings,
2639
+ Bt as getEasing,
2533
2640
  Tt as getPreset,
2534
- Aa as getPresetNames,
2535
- qt as getPresetsByCategory,
2641
+ Ta as getPresetNames,
2642
+ Vt as getPresetsByCategory,
2536
2643
  Lt as getScrollProgress,
2537
- Wa as gradients,
2644
+ q as gradients,
2538
2645
  At as isInViewport,
2539
- ke as observeElement,
2646
+ Ie as observeElement,
2540
2647
  _t as observeElements,
2541
- $t as parallel,
2648
+ Dt as parallel,
2542
2649
  I as presets,
2543
- Bt as sequence,
2650
+ zt as sequence,
2544
2651
  Gt as spring,
2545
- Ht as useAnimator,
2546
- Qt as useHoverAnimation,
2547
- Vt as useInView,
2548
- jt as usePresetAnimation,
2549
- Ft as useScrollAnimation,
2550
- Wt as useStagger
2652
+ qt as useAnimator,
2653
+ Wt as useHoverAnimation,
2654
+ Qt as useInView,
2655
+ Ht as usePresetAnimation,
2656
+ jt as useScrollAnimation,
2657
+ Ft as useStagger
2551
2658
  };