telecop 0.1.30 → 0.1.32

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,11 +1,11 @@
1
1
  "use client";
2
- import { jsx as n, jsxs as m, Fragment as q } from "react/jsx-runtime";
3
- import H, { useState as S, useRef as u, useEffect as v } from "react";
4
- const Ra = ({
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 k } from "react";
4
+ const Fa = ({
5
5
  children: e,
6
6
  variant: a = "primary",
7
- size: r = "md",
8
- onClick: t,
7
+ size: t = "md",
8
+ onClick: r,
9
9
  disabled: o = !1,
10
10
  className: i = ""
11
11
  }) => {
@@ -21,26 +21,26 @@ const Ra = ({
21
21
  return /* @__PURE__ */ n(
22
22
  "button",
23
23
  {
24
- className: `${s} ${d[a]} ${l[r]} ${c} ${i}`,
25
- onClick: t,
24
+ className: `${s} ${d[a]} ${l[t]} ${c} ${i}`,
25
+ onClick: r,
26
26
  disabled: o,
27
27
  children: e
28
28
  }
29
29
  );
30
- }, O = ({
30
+ }, Y = ({
31
31
  children: e,
32
32
  variant: a = "blur",
33
- size: r = "md",
34
- onClick: t,
33
+ size: t = "md",
34
+ onClick: r,
35
35
  disabled: o = !1,
36
36
  className: i = ""
37
37
  }) => {
38
- const [s, d] = S([]), l = (p) => {
39
- if (!o && t) {
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((R) => R.filter((P) => P.id !== k));
43
- }, 800), t();
38
+ const [s, d] = G([]), l = (g) => {
39
+ if (!o && r) {
40
+ const y = g.currentTarget.getBoundingClientRect(), b = g.clientX - y.left, N = g.clientY - y.top, v = Date.now();
41
+ d([...s, { x: b, y: N, id: v }]), setTimeout(() => {
42
+ d((M) => M.filter((O) => O.id !== v));
43
+ }, 800), r();
44
44
  }
45
45
  }, c = `
46
46
  relative overflow-hidden
@@ -52,11 +52,11 @@ const Ra = ({
52
52
  cursor-pointer
53
53
  shadow-xl
54
54
  group
55
- `, g = {
55
+ `, p = {
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
- }, f = {
59
+ }, x = {
60
60
  blur: `
61
61
  bg-white/5
62
62
  hover:bg-white/15
@@ -82,142 +82,39 @@ const Ra = ({
82
82
  hover:before:translate-x-[200%]
83
83
  before:transition-transform before:duration-1000
84
84
  `
85
- }, b = o ? "opacity-40 cursor-not-allowed hover:scale-100 hover:shadow-xl" : "";
86
- return /* @__PURE__ */ m(
85
+ }, m = o ? "opacity-40 cursor-not-allowed hover:scale-100 hover:shadow-xl" : "";
86
+ return /* @__PURE__ */ u(
87
87
  "button",
88
88
  {
89
- className: `${c} ${g[r]} ${f[a]} ${b} ${i}`,
89
+ className: `${c} ${p[t]} ${x[a]} ${m} ${i}`,
90
90
  onClick: l,
91
91
  disabled: o,
92
92
  children: [
93
- a === "waves" && !o && /* @__PURE__ */ m(q, { children: [
93
+ a === "waves" && !o && /* @__PURE__ */ u(T, { children: [
94
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
95
  /* @__PURE__ */ n("span", { className: "absolute inset-0 bg-gradient-to-br from-transparent via-white/10 to-transparent animate-pulse" })
96
96
  ] }),
97
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
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(
99
+ s.map((g) => /* @__PURE__ */ n(
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: g.x,
105
+ top: g.y,
106
106
  width: "20px",
107
107
  height: "20px",
108
108
  transform: "translate(-50%, -50%)"
109
109
  }
110
110
  },
111
- p.id
111
+ g.id
112
112
  )),
113
113
  /* @__PURE__ */ n("span", { className: "relative z-10 drop-shadow-lg", children: e })
114
114
  ]
115
115
  }
116
116
  );
117
- }, Pa = ({
118
- name: e,
119
- title: a,
120
- description: r = "Welcome to my portfolio",
121
- primaryButtonText: t = "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: f = ""
130
- }) => {
131
- const b = () => {
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: t }) }) : /* @__PURE__ */ n(
136
- O,
137
- {
138
- variant: "waves",
139
- size: "lg",
140
- onClick: i || b,
141
- children: t
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 ${f}`, children: /* @__PURE__ */ m("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: r
192
- }
193
- ),
194
- /* @__PURE__ */ m(
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
- }, za = [
117
+ }, H = [
221
118
  // ========== PREMIUM THEMES (NEW) ==========
222
119
  {
223
120
  id: "glass-morphism",
@@ -682,10 +579,117 @@ const Ra = ({
682
579
  category: "animated",
683
580
  animation: "zoom"
684
581
  }
685
- ], $a = ({ 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 }), Ba = ({ 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 }), Da = ({ 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 }), Ga = ({ 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 }), Sa = ({ 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 }), _a = ({ 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 }), Ea = ({ 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 }), Ua = ({ 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 }), La = ({ 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 }), Aa = ({ 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 }), 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-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 }), Ha = ({ 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 }), ja = ({ 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 }), Fa = ({ 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 }), Qa = ({ children: e = "Shimmer Effect", onClick: a }) => /* @__PURE__ */ m("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: [
582
+ ], Wa = ({
583
+ name: e,
584
+ title: a,
585
+ description: t = "Welcome to my portfolio",
586
+ primaryButtonText: r = "Get Started",
587
+ primaryButtonLink: o,
588
+ primaryButtonOnClick: i,
589
+ secondaryButtonText: s = "Learn More",
590
+ secondaryButtonLink: d,
591
+ secondaryButtonOnClick: l,
592
+ theme: c,
593
+ // ✅ NEW
594
+ backgroundGradient: p,
595
+ // ⚠️ KEEP للناس اللي يبغون custom
596
+ animationType: x,
597
+ className: m = ""
598
+ }) => {
599
+ const g = c ? H.find((h) => h.id === c) : null, y = (g == null ? void 0 : g.gradient) || p || "linear-gradient(135deg, #667eea 0%, #764ba2 100%)", b = x || (g == null ? void 0 : g.animation), N = () => {
600
+ o ? window.location.href = o : i && i();
601
+ }, v = () => {
602
+ d ? window.location.href = d : l && l();
603
+ }, M = o ? /* @__PURE__ */ n("a", { href: o, style: { textDecoration: "none" }, children: /* @__PURE__ */ n(Y, { variant: "waves", size: "lg", children: r }) }) : /* @__PURE__ */ n(
604
+ Y,
605
+ {
606
+ variant: "waves",
607
+ size: "lg",
608
+ onClick: i || N,
609
+ children: r
610
+ }
611
+ ), O = d ? /* @__PURE__ */ n("a", { href: d, style: { textDecoration: "none" }, children: /* @__PURE__ */ n(Y, { variant: "blur", size: "lg", children: s }) }) : /* @__PURE__ */ n(
612
+ Y,
613
+ {
614
+ variant: "blur",
615
+ size: "lg",
616
+ onClick: l || v,
617
+ children: s
618
+ }
619
+ );
620
+ return /* @__PURE__ */ n(
621
+ "div",
622
+ {
623
+ className: b ? `animate-gradient-${b}` : "",
624
+ style: {
625
+ background: y,
626
+ // ✅ استخدام الـ gradient المحدد
627
+ minHeight: "100vh"
628
+ },
629
+ children: /* @__PURE__ */ n("div", { className: `min-h-screen flex items-center justify-center p-8 ${m}`, children: /* @__PURE__ */ u("div", { className: "max-w-4xl w-full text-center space-y-8", children: [
630
+ /* @__PURE__ */ n(
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__ */ n(
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__ */ n(
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
+ M,
672
+ O
673
+ ]
674
+ }
675
+ ),
676
+ /* @__PURE__ */ n(
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
+ }, 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
690
  /* @__PURE__ */ n("span", { className: "relative z-10", children: e }),
687
691
  /* @__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
- ] }), Ta = ({ 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 }), Va = ({ 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 }), Wa = ({ 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 }), Za = ({ 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 }), Ja = ({ 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 }), Ka = ({ 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 }), er = ({ 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 }), ar = ({ 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 }), rr = ({ 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 }), tr = ({ 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 }), nr = ({ 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 }), or = ({ 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 }), ir = ({ 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 }), sr = ({ 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 }), lr = ({ 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 }), j = {
692
+ ] }), 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 }), j = {
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,11 +715,11 @@ const Ra = ({
711
715
  linear-gradient(180deg, #000000 0%, #0a0a1a 50%, #000000 100%)
712
716
  `,
713
717
  none: "transparent"
714
- }, dr = ({
718
+ }, Mt = ({
715
719
  children: e,
716
720
  layout: a = "center",
717
- size: r = "lg",
718
- theme: t = "none",
721
+ size: t = "lg",
722
+ theme: r = "none",
719
723
  padding: o = !0,
720
724
  gap: i = "md",
721
725
  className: s = ""
@@ -726,7 +730,7 @@ const Ra = ({
726
730
  lg: "max-w-7xl",
727
731
  xl: "max-w-[1400px]",
728
732
  full: "max-w-full"
729
- }[r], l = {
733
+ }[t], l = {
730
734
  sm: "gap-4",
731
735
  md: "gap-8",
732
736
  lg: "gap-12"
@@ -738,45 +742,45 @@ const Ra = ({
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" : "", f = t !== "none" ? {
742
- background: j[t],
745
+ }[a], p = o ? "px-6 py-8" : "", x = r !== "none" ? {
746
+ background: j[r],
743
747
  backgroundSize: "200% 200%"
744
- } : {}, b = H.Children.toArray(e);
745
- let p = b;
746
- return (a === "image-left" || a === "button-left") && (p = b.reverse()), /* @__PURE__ */ n(
748
+ } : {}, m = q.Children.toArray(e);
749
+ let g = m;
750
+ return (a === "image-left" || a === "button-left") && (g = m.reverse()), /* @__PURE__ */ n(
747
751
  "div",
748
752
  {
749
- className: `${d} mx-auto ${g} ${s}`,
750
- style: f,
751
- children: /* @__PURE__ */ n("div", { className: c, children: p })
753
+ className: `${d} mx-auto ${p} ${s}`,
754
+ style: x,
755
+ children: /* @__PURE__ */ n("div", { className: c, children: g })
752
756
  }
753
757
  );
754
- }, cr = ({
758
+ }, Ot = ({
755
759
  src: e,
756
760
  alt: a,
757
- className: r = "",
758
- width: t,
761
+ className: t = "",
762
+ width: r,
759
763
  height: o
760
- }) => /* @__PURE__ */ n("div", { className: `w-full ${r}`, children: /* @__PURE__ */ n(
764
+ }) => /* @__PURE__ */ n("div", { className: `w-full ${t}`, children: /* @__PURE__ */ n(
761
765
  "img",
762
766
  {
763
767
  src: e,
764
768
  alt: a,
765
- width: t,
769
+ width: r,
766
770
  height: o,
767
771
  className: "w-full h-auto rounded-2xl shadow-2xl object-cover"
768
772
  }
769
- ) }), gr = ({
773
+ ) }), Ct = ({
770
774
  children: e,
771
775
  className: a = ""
772
- }) => /* @__PURE__ */ n("div", { className: `space-y-4 ${a}`, children: e }), pr = ({
776
+ }) => /* @__PURE__ */ n("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 }), ur = ({
779
+ }) => /* @__PURE__ */ n("div", { className: `flex gap-4 ${a}`, children: e }), Xt = ({
776
780
  icon: e,
777
781
  title: a,
778
- description: r,
779
- variant: t = "solid",
782
+ description: t,
783
+ variant: r = "solid",
780
784
  theme: o = "blue",
781
785
  hoverable: i = !0,
782
786
  className: s = ""
@@ -823,25 +827,25 @@ const Ra = ({
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][t]}
830
+ }[o][r]}
827
831
  ${s}
828
832
  `;
829
- return /* @__PURE__ */ m("div", { className: l, children: [
833
+ return /* @__PURE__ */ u("div", { className: l, children: [
830
834
  e && /* @__PURE__ */ n("div", { className: "text-4xl mb-4", children: e }),
831
835
  /* @__PURE__ */ n("h3", { className: "text-xl font-bold mb-2", children: a }),
832
- /* @__PURE__ */ n("p", { className: `text-sm ${t === "outlined" ? "text-gray-600" : "opacity-90"}`, children: r })
836
+ /* @__PURE__ */ n("p", { className: `text-sm ${r === "outlined" ? "text-gray-600" : "opacity-90"}`, children: t })
833
837
  ] });
834
- }, mr = ({
838
+ }, Pt = ({
835
839
  image: e,
836
840
  title: a,
837
- description: r,
838
- price: t,
841
+ description: t,
842
+ price: r,
839
843
  oldPrice: o,
840
844
  badge: i,
841
845
  variant: s = "solid",
842
846
  children: d,
843
847
  className: l = ""
844
- }) => /* @__PURE__ */ m("div", { className: `
848
+ }) => /* @__PURE__ */ u("div", { className: `
845
849
  rounded-2xl overflow-hidden
846
850
  max-w-sm
847
851
  transition-all duration-300
@@ -854,7 +858,7 @@ const Ra = ({
854
858
  }[s]}
855
859
  ${l}
856
860
  `, children: [
857
- /* @__PURE__ */ m("div", { className: "relative", children: [
861
+ /* @__PURE__ */ u("div", { className: "relative", children: [
858
862
  /* @__PURE__ */ n(
859
863
  "img",
860
864
  {
@@ -865,26 +869,26 @@ const Ra = ({
865
869
  ),
866
870
  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 })
867
871
  ] }),
868
- /* @__PURE__ */ m("div", { className: "p-5 space-y-3", children: [
872
+ /* @__PURE__ */ u("div", { className: "p-5 space-y-3", children: [
869
873
  /* @__PURE__ */ n("h3", { className: "text-xl font-bold text-white", children: a }),
870
- r && /* @__PURE__ */ n("p", { className: "text-gray-400 text-sm", children: r }),
871
- /* @__PURE__ */ m("div", { className: "flex items-center gap-2", children: [
872
- /* @__PURE__ */ m("span", { className: "text-2xl font-bold text-white", children: [
874
+ t && /* @__PURE__ */ n("p", { className: "text-gray-400 text-sm", children: t }),
875
+ /* @__PURE__ */ u("div", { className: "flex items-center gap-2", children: [
876
+ /* @__PURE__ */ u("span", { className: "text-2xl font-bold text-white", children: [
873
877
  "$",
874
- t
878
+ r
875
879
  ] }),
876
- o && /* @__PURE__ */ m("span", { className: "text-sm text-gray-500 line-through", children: [
880
+ o && /* @__PURE__ */ u("span", { className: "text-sm text-gray-500 line-through", children: [
877
881
  "$",
878
882
  o
879
883
  ] })
880
884
  ] }),
881
885
  d
882
886
  ] })
883
- ] }), br = ({
887
+ ] }), Rt = ({
884
888
  icon: e,
885
889
  label: a,
886
- value: r,
887
- change: t,
890
+ value: t,
891
+ change: r,
888
892
  trend: o = "neutral",
889
893
  variant: i = "solid",
890
894
  theme: s = "blue",
@@ -931,12 +935,12 @@ const Ra = ({
931
935
  up: "text-green-400",
932
936
  down: "text-red-400",
933
937
  neutral: "text-gray-400"
934
- }, g = {
938
+ }, p = {
935
939
  up: "↑",
936
940
  down: "↓",
937
941
  neutral: "→"
938
942
  };
939
- return /* @__PURE__ */ m("div", { className: `
943
+ return /* @__PURE__ */ u("div", { className: `
940
944
  rounded-2xl p-6 border
941
945
  max-w-sm
942
946
  transition-all duration-300
@@ -944,36 +948,36 @@ const Ra = ({
944
948
  ${l[s][i]}
945
949
  ${d}
946
950
  `, children: [
947
- /* @__PURE__ */ m("div", { className: "flex items-start justify-between mb-4", children: [
951
+ /* @__PURE__ */ u("div", { className: "flex items-start justify-between mb-4", children: [
948
952
  e && /* @__PURE__ */ n("div", { className: "text-3xl", children: e }),
949
- t && /* @__PURE__ */ m("span", { className: `text-sm font-semibold ${c[o]}`, children: [
950
- g[o],
953
+ r && /* @__PURE__ */ u("span", { className: `text-sm font-semibold ${c[o]}`, children: [
954
+ p[o],
951
955
  " ",
952
- t
956
+ r
953
957
  ] })
954
958
  ] }),
955
959
  /* @__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: r })
960
+ /* @__PURE__ */ n("p", { className: "text-3xl font-bold text-white", children: t })
957
961
  ] });
958
962
  };
959
- class y {
963
+ class w {
960
964
  constructor(a) {
961
965
  this.animation = null, this.element = a;
962
966
  }
963
967
  /**
964
968
  * تشغيل animation باستخدام keyframes
965
969
  */
966
- animate(a, r = {}) {
970
+ animate(a, t = {}) {
967
971
  const {
968
- duration: t = 600,
972
+ duration: r = 600,
969
973
  delay: o = 0,
970
974
  easing: i = "ease",
971
975
  iterations: s = 1,
972
976
  direction: d = "normal",
973
977
  fill: l = "both"
974
- } = r;
978
+ } = t;
975
979
  return this.animation && this.animation.cancel(), this.animation = this.element.animate(a, {
976
- duration: t,
980
+ duration: r,
977
981
  delay: o,
978
982
  easing: typeof i == "string" ? i : "linear",
979
983
  iterations: s,
@@ -1019,84 +1023,84 @@ class y {
1019
1023
  return ((a = this.animation) == null ? void 0 : a.playState) === "running";
1020
1024
  }
1021
1025
  }
1022
- function fr(e) {
1023
- return new y(e);
1026
+ function St(e) {
1027
+ return new w(e);
1024
1028
  }
1025
- async function hr(e, a, r = {}) {
1026
- const t = r.stagger ?? 0, o = {
1027
- duration: r.duration,
1028
- delay: r.delay,
1029
- easing: r.easing,
1030
- iterations: r.iterations,
1031
- direction: r.direction,
1032
- fill: r.fill
1033
- }, i = e.map((s, d) => new y(s).animate(a, {
1029
+ async function zt(e, a, t = {}) {
1030
+ const r = t.stagger ?? 0, o = {
1031
+ duration: t.duration,
1032
+ delay: t.delay,
1033
+ easing: t.easing,
1034
+ iterations: t.iterations,
1035
+ direction: t.direction,
1036
+ fill: t.fill
1037
+ }, i = e.map((s, d) => new w(s).animate(a, {
1034
1038
  ...o,
1035
- delay: (o.delay || 0) + t * d
1039
+ delay: (o.delay || 0) + r * d
1036
1040
  }));
1037
1041
  return Promise.all(i);
1038
1042
  }
1039
- async function xr(e) {
1043
+ async function Bt(e) {
1040
1044
  const a = [];
1041
- for (const { element: r, keyframes: t, config: o } of e) {
1042
- const s = await new y(r).animate(t, o);
1045
+ for (const { element: t, keyframes: r, config: o } of e) {
1046
+ const s = await new w(t).animate(r, o);
1043
1047
  a.push(s);
1044
1048
  }
1045
1049
  return a;
1046
1050
  }
1047
- async function yr(e) {
1048
- const a = e.map(({ element: r, keyframes: t, config: o }) => new y(r).animate(t, o));
1051
+ async function $t(e) {
1052
+ const a = e.map(({ element: t, keyframes: r, config: o }) => new w(t).animate(r, o));
1049
1053
  return Promise.all(a);
1050
1054
  }
1051
- const _ = (e) => e, F = (e) => e * e * e, Q = (e) => 1 - Math.pow(1 - e, 3), T = (e) => e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2, V = (e) => e * e, W = (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, re = (e) => 1 - Math.pow(1 - e, 5), te = (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, E = X + 1, se = (e) => E * e * e * e - X * e * e, le = (e) => 1 + E * 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, G = 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) * G)) / 2 : Math.pow(2, -20 * e + 10) * Math.sin((20 * e - 11.125) * G) / 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, ue = (e) => 1 - Y(1 - e), me = (e) => e < 0.5 ? (1 - Y(1 - 2 * e)) / 2 : (1 + Y(2 * e - 1)) / 2, be = (e) => 1 - Math.cos(e * Math.PI / 2), fe = (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 = {
1052
- linear: _,
1055
+ const E = (e) => e, F = (e) => e * e * e, W = (e) => 1 - Math.pow(1 - e, 3), Q = (e) => e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2, V = (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, R = 1.70158, X = R * 1.525, _ = R + 1, le = (e) => _ * e * e * e - R * e * e, de = (e) => 1 + _ * Math.pow(e - 1, 3) + R * Math.pow(e - 1, 2), ce = (e) => e < 0.5 ? Math.pow(2 * e, 2) * ((X + 1) * 2 * e - X) / 2 : (Math.pow(2 * e - 2, 2) * ((X + 1) * (e * 2 - 2) + X) + 2) / 2, U = 2 * Math.PI / 3, D = 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), pe = (e) => e === 0 ? 0 : e === 1 ? 1 : Math.pow(2, -10 * e) * Math.sin((e * 10 - 0.75) * U) + 1, fe = (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, P = (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 - P(1 - e), me = (e) => e < 0.5 ? (1 - P(1 - 2 * e)) / 2 : (1 + P(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 = {
1056
+ linear: E,
1053
1057
  easeInCubic: F,
1054
- easeOutCubic: Q,
1055
- easeInOutCubic: T,
1058
+ easeOutCubic: W,
1059
+ easeInOutCubic: Q,
1056
1060
  easeInQuad: V,
1057
- easeOutQuad: W,
1058
- easeInOutQuad: Z,
1059
- easeInQuart: J,
1060
- easeOutQuart: K,
1061
- easeInOutQuart: ee,
1062
- easeInQuint: ae,
1061
+ easeOutQuad: Z,
1062
+ easeInOutQuad: J,
1063
+ easeInQuart: K,
1064
+ easeOutQuart: ee,
1065
+ easeInOutQuart: ae,
1066
+ easeInQuint: te,
1063
1067
  easeOutQuint: re,
1064
- easeInOutQuint: te,
1065
- easeInExpo: ne,
1066
- easeOutExpo: oe,
1067
- easeInOutExpo: ie,
1068
- easeInBack: se,
1069
- easeOutBack: le,
1070
- easeInOutBack: de,
1071
- easeInElastic: ce,
1072
- easeOutElastic: ge,
1073
- easeInOutElastic: pe,
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: pe,
1077
+ easeInOutElastic: fe,
1074
1078
  easeInBounce: ue,
1075
- easeOutBounce: Y,
1079
+ easeOutBounce: P,
1076
1080
  easeInOutBounce: me,
1077
1081
  easeInSine: be,
1078
- easeOutSine: fe,
1079
- easeInOutSine: he,
1080
- easeInCirc: xe,
1081
- easeOutCirc: ye,
1082
- easeInOutCirc: we
1082
+ easeOutSine: he,
1083
+ easeInOutSine: xe,
1084
+ easeInCirc: ye,
1085
+ easeOutCirc: we,
1086
+ easeInOutCirc: ve
1083
1087
  };
1084
- function wr(e) {
1085
- return typeof e == "function" ? e : ve[e] || _;
1088
+ function Dt(e) {
1089
+ return typeof e == "function" ? e : ke[e] || E;
1086
1090
  }
1087
- function vr(e = 100, a = 10, r = 1) {
1088
- return (t) => {
1089
- const o = Math.sqrt(e / r), i = a / (2 * Math.sqrt(e * r));
1091
+ function Gt(e = 100, a = 10, t = 1) {
1092
+ return (r) => {
1093
+ const o = Math.sqrt(e / t), i = a / (2 * Math.sqrt(e * t));
1090
1094
  if (i < 1) {
1091
1095
  const s = o * Math.sqrt(1 - i * i);
1092
- return 1 - Math.exp(-i * o * t) * Math.cos(s * t);
1096
+ return 1 - Math.exp(-i * o * r) * Math.cos(s * r);
1093
1097
  } else
1094
- return 1 - Math.exp(-o * t);
1098
+ return 1 - Math.exp(-o * r);
1095
1099
  };
1096
1100
  }
1097
- function kr(e, a, r, t) {
1101
+ function Et(e, a, t, r) {
1098
1102
  return (o) => {
1099
- const i = 3 * a, s = 3 * (t - a) - i, d = 1 - i - s;
1103
+ const i = 3 * a, s = 3 * (r - a) - i, d = 1 - i - s;
1100
1104
  return ((c) => ((d * c + s) * c + i) * c)(o);
1101
1105
  };
1102
1106
  }
@@ -1110,23 +1114,23 @@ class L {
1110
1114
  /**
1111
1115
  * مراقبة عنصر
1112
1116
  */
1113
- observe(a, r = {}) {
1117
+ observe(a, t = {}) {
1114
1118
  const {
1115
- threshold: t = 0.1,
1119
+ threshold: r = 0.1,
1116
1120
  rootMargin: o = "0px",
1117
1121
  triggerOnce: i = !1,
1118
1122
  onEnter: s,
1119
1123
  onExit: d
1120
- } = r;
1121
- this.elements.set(a, r), this.observer || (this.observer = new IntersectionObserver(
1124
+ } = t;
1125
+ this.elements.set(a, t), this.observer || (this.observer = new IntersectionObserver(
1122
1126
  (l) => {
1123
1127
  l.forEach((c) => {
1124
- var f, b;
1125
- const g = this.elements.get(c.target);
1126
- g && (c.isIntersecting ? ((f = g.onEnter) == null || f.call(g, c), g.triggerOnce && this.unobserve(c.target)) : (b = g.onExit) == null || b.call(g, c));
1128
+ var x, m;
1129
+ const p = this.elements.get(c.target);
1130
+ p && (c.isIntersecting ? ((x = p.onEnter) == null || x.call(p, c), p.triggerOnce && this.unobserve(c.target)) : (m = p.onExit) == null || m.call(p, c));
1127
1131
  });
1128
1132
  },
1129
- { threshold: t, rootMargin: o }
1133
+ { threshold: r, rootMargin: o }
1130
1134
  )), this.observer.observe(a);
1131
1135
  }
1132
1136
  /**
@@ -1142,29 +1146,29 @@ class L {
1142
1146
  this.observer && (this.observer.disconnect(), this.elements.clear(), this.observer = null);
1143
1147
  }
1144
1148
  }
1145
- function ke(e, a) {
1146
- const r = new L();
1147
- return r.observe(e, a), () => r.disconnect();
1149
+ function Ie(e, a) {
1150
+ const t = new L();
1151
+ return t.observe(e, a), () => t.disconnect();
1148
1152
  }
1149
- function Ir(e, a) {
1150
- const r = new L();
1151
- return e.forEach((t) => r.observe(t, a)), () => r.disconnect();
1153
+ function _t(e, a) {
1154
+ const t = new L();
1155
+ return e.forEach((r) => t.observe(r, a)), () => t.disconnect();
1152
1156
  }
1153
- function Nr(e, a, r = {}) {
1154
- return ke(e, {
1155
- ...r,
1157
+ function Ut(e, a, t = {}) {
1158
+ return Ie(e, {
1159
+ ...t,
1156
1160
  onEnter: a
1157
1161
  });
1158
1162
  }
1159
- function Mr(e) {
1160
- const a = e.getBoundingClientRect(), r = window.innerHeight, t = a.top, o = a.height, i = 1 - (t + o) / (r + o);
1163
+ function Lt(e) {
1164
+ const a = e.getBoundingClientRect(), t = window.innerHeight, r = a.top, o = a.height, i = 1 - (r + o) / (t + o);
1161
1165
  return Math.max(0, Math.min(1, i));
1162
1166
  }
1163
- function Or(e, a = 0) {
1164
- const r = e.getBoundingClientRect(), t = window.innerHeight, o = window.innerWidth, i = r.top + r.height * a <= t && r.bottom - r.height * a >= 0, s = r.left + r.width * a <= o && r.right - r.width * a >= 0;
1167
+ function At(e, a = 0) {
1168
+ 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
1169
  return i && s;
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
+ }, Me = {
1178
1182
  keyframes: [
1179
1183
  {
1180
1184
  opacity: 0,
@@ -1190,7 +1194,7 @@ const Ie = {
1190
1194
  easing: "ease-out",
1191
1195
  fill: "both"
1192
1196
  }
1193
- }, Me = {
1197
+ }, Oe = {
1194
1198
  keyframes: [
1195
1199
  {
1196
1200
  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,
@@ -1280,7 +1284,7 @@ const Ie = {
1280
1284
  easing: "ease-in",
1281
1285
  fill: "both"
1282
1286
  }
1283
- }, Pe = {
1287
+ }, Se = {
1284
1288
  keyframes: [
1285
1289
  {
1286
1290
  opacity: 1,
@@ -1312,7 +1316,7 @@ const Ie = {
1312
1316
  easing: "ease-in",
1313
1317
  fill: "both"
1314
1318
  }
1315
- }, $e = {
1319
+ }, Be = {
1316
1320
  keyframes: [
1317
1321
  {
1318
1322
  opacity: 0,
@@ -1328,7 +1332,7 @@ const Ie = {
1328
1332
  easing: "ease-out",
1329
1333
  fill: "both"
1330
1334
  }
1331
- }, Be = {
1335
+ }, $e = {
1332
1336
  keyframes: [
1333
1337
  {
1334
1338
  opacity: 0,
@@ -1376,7 +1380,7 @@ const Ie = {
1376
1380
  easing: "ease-out",
1377
1381
  fill: "both"
1378
1382
  }
1379
- }, Se = {
1383
+ }, Ee = {
1380
1384
  keyframes: [
1381
1385
  {
1382
1386
  opacity: 1,
@@ -1408,7 +1412,7 @@ const Ie = {
1408
1412
  easing: "ease-in",
1409
1413
  fill: "both"
1410
1414
  }
1411
- }, Ee = {
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,
@@ -1536,7 +1540,7 @@ const Ie = {
1536
1540
  easing: "ease-in",
1537
1541
  fill: "both"
1538
1542
  }
1539
- }, Qe = {
1543
+ }, We = {
1540
1544
  keyframes: [
1541
1545
  {
1542
1546
  opacity: 1,
@@ -1552,7 +1556,7 @@ const Ie = {
1552
1556
  easing: "ease-in",
1553
1557
  fill: "both"
1554
1558
  }
1555
- }, Te = {
1559
+ }, Qe = {
1556
1560
  keyframes: [
1557
1561
  {
1558
1562
  opacity: 1,
@@ -1584,7 +1588,7 @@ const Ie = {
1584
1588
  easing: "ease-out",
1585
1589
  fill: "both"
1586
1590
  }
1587
- }, We = {
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,
@@ -1710,7 +1714,7 @@ const Ie = {
1710
1714
  easing: "ease-in",
1711
1715
  fill: "both"
1712
1716
  }
1713
- }, ta = {
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
+ }, pa = {
1846
1850
  keyframes: [
1847
1851
  {
1848
1852
  opacity: 0,
@@ -1864,7 +1868,7 @@ const Ie = {
1864
1868
  easing: "ease-out",
1865
1869
  fill: "both"
1866
1870
  }
1867
- }, pa = {
1871
+ }, fa = {
1868
1872
  keyframes: [
1869
1873
  {
1870
1874
  transform: "scale(1)"
@@ -1925,7 +1929,7 @@ const Ie = {
1925
1929
  easing: "ease-in-out",
1926
1930
  fill: "both"
1927
1931
  }
1928
- }, fa = {
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
+ }, Ma = {
2034
2038
  keyframes: [
2035
2039
  { transform: "translateX(0%) rotate(0deg)" },
2036
2040
  { transform: "translateX(-25%) rotate(-5deg)" },
@@ -2045,7 +2049,7 @@ const Ie = {
2045
2049
  easing: "ease-in-out",
2046
2050
  fill: "both"
2047
2051
  }
2048
- }, Ma = {
2052
+ }, Oa = {
2049
2053
  keyframes: [
2050
2054
  { transform: "scale(1) rotate(0deg)" },
2051
2055
  { transform: "scale(0.9) rotate(-3deg)" },
@@ -2063,243 +2067,414 @@ const Ie = {
2063
2067
  easing: "ease-in-out",
2064
2068
  fill: "both"
2065
2069
  }
2070
+ }, Ca = {
2071
+ keyframes: [
2072
+ { width: "0", opacity: 0 },
2073
+ { width: "0", opacity: 1, offset: 0.01 },
2074
+ { width: "100%", opacity: 1 }
2075
+ ],
2076
+ config: { duration: 2e3, easing: "steps(40, end)" }
2077
+ }, Ya = {
2078
+ keyframes: [
2079
+ { transform: "translate(0)", offset: 0 },
2080
+ { transform: "translate(-2px, 2px)", offset: 0.2 },
2081
+ { transform: "translate(-2px, -2px)", offset: 0.4 },
2082
+ { transform: "translate(2px, 2px)", offset: 0.6 },
2083
+ { transform: "translate(2px, -2px)", offset: 0.8 },
2084
+ { transform: "translate(0)", offset: 1 }
2085
+ ],
2086
+ config: { duration: 500, easing: "linear" }
2087
+ }, Xa = {
2088
+ keyframes: [
2089
+ { transform: "translateY(0)", offset: 0 },
2090
+ { transform: "translateY(-10px)", offset: 0.5 },
2091
+ { transform: "translateY(0)", offset: 1 }
2092
+ ],
2093
+ config: { duration: 600, easing: "ease-in-out" }
2094
+ }, Pa = {
2095
+ keyframes: [
2096
+ { filter: "blur(12px)", opacity: 0 },
2097
+ { filter: "blur(0)", opacity: 1 }
2098
+ ],
2099
+ config: { duration: 800, easing: "ease-out" }
2100
+ }, Ra = {
2101
+ keyframes: [
2102
+ { letterSpacing: "-0.5em", opacity: 0 },
2103
+ { letterSpacing: "-0.5em", opacity: 0.6, offset: 0.4 },
2104
+ { letterSpacing: "normal", opacity: 1 }
2105
+ ],
2106
+ config: { duration: 700, easing: "cubic-bezier(0.215, 0.610, 0.355, 1.000)" }
2107
+ }, Sa = {
2108
+ keyframes: [
2109
+ { letterSpacing: "normal", opacity: 1 },
2110
+ { letterSpacing: "0em", opacity: 0.6, offset: 0.5 },
2111
+ { letterSpacing: "-0.5em", opacity: 0 }
2112
+ ],
2113
+ config: { duration: 700, easing: "cubic-bezier(0.550, 0.085, 0.680, 0.530)" }
2114
+ }, za = {
2115
+ keyframes: [
2116
+ { filter: "blur(12px)", opacity: 0 },
2117
+ { filter: "blur(0)", opacity: 1 }
2118
+ ],
2119
+ config: { duration: 800, easing: "cubic-bezier(0.550, 0.085, 0.680, 0.530)" }
2120
+ }, Ba = {
2121
+ keyframes: [
2122
+ { textShadow: "0 0 #555, 0 0 #555, 0 0 #555, 0 0 #555" },
2123
+ { textShadow: "1px 1px #555, 2px 2px #555, 3px 3px #555, 4px 4px #555" }
2124
+ ],
2125
+ config: { duration: 600, easing: "ease-out" }
2126
+ }, $a = {
2127
+ keyframes: [
2128
+ { opacity: 1, offset: 0 },
2129
+ { opacity: 1, offset: 0.4199 },
2130
+ { opacity: 0, offset: 0.42 },
2131
+ { opacity: 0, offset: 0.43 },
2132
+ { opacity: 1, offset: 0.4301 },
2133
+ { opacity: 1, offset: 0.4799 },
2134
+ { opacity: 0, offset: 0.48 },
2135
+ { opacity: 0, offset: 0.49 },
2136
+ { opacity: 1, offset: 0.4901 },
2137
+ { opacity: 1, offset: 1 }
2138
+ ],
2139
+ config: { duration: 1e3, easing: "linear" }
2140
+ }, Da = {
2141
+ keyframes: [
2142
+ { transform: "scale(0)", transformOrigin: "50% 50%", opacity: 0 },
2143
+ { transform: "scale(1)", transformOrigin: "50% 50%", opacity: 1 }
2144
+ ],
2145
+ config: { duration: 500, easing: "cubic-bezier(0.250, 0.460, 0.450, 0.940)" }
2146
+ }, Ga = {
2147
+ keyframes: [
2148
+ { transform: "rotate(-360deg)", opacity: 0 },
2149
+ { transform: "rotate(0)", opacity: 1 }
2150
+ ],
2151
+ config: { duration: 600, easing: "ease-out" }
2152
+ }, Ea = {
2153
+ keyframes: [
2154
+ { transform: "scale(0.5)", opacity: 0 },
2155
+ { transform: "scale(1)", opacity: 1 }
2156
+ ],
2157
+ config: { duration: 400, easing: "cubic-bezier(0.390, 0.575, 0.565, 1.000)" }
2158
+ }, _a = {
2159
+ keyframes: [
2160
+ { transform: "translateX(0) rotate(0)", offset: 0 },
2161
+ { transform: "translateX(-25px) rotate(-5deg)", offset: 0.15 },
2162
+ { transform: "translateX(20px) rotate(3deg)", offset: 0.3 },
2163
+ { transform: "translateX(-15px) rotate(-3deg)", offset: 0.45 },
2164
+ { transform: "translateX(10px) rotate(2deg)", offset: 0.6 },
2165
+ { transform: "translateX(-5px) rotate(-1deg)", offset: 0.75 },
2166
+ { transform: "translateX(0) rotate(0)", offset: 1 }
2167
+ ],
2168
+ config: { duration: 1e3, easing: "ease-in-out" }
2169
+ }, Ua = {
2170
+ keyframes: [
2171
+ {
2172
+ transform: "rotateX(-100deg)",
2173
+ transformOrigin: "top",
2174
+ opacity: 0
2175
+ },
2176
+ {
2177
+ transform: "rotateX(0deg)",
2178
+ transformOrigin: "top",
2179
+ opacity: 1
2180
+ }
2181
+ ],
2182
+ config: { duration: 600, easing: "cubic-bezier(0.175, 0.885, 0.320, 1.275)" }
2183
+ }, La = {
2184
+ keyframes: [
2185
+ {
2186
+ transform: "translateX(-1000px) scaleX(2.5) scaleY(0.2)",
2187
+ filter: "blur(40px)",
2188
+ opacity: 0
2189
+ },
2190
+ {
2191
+ transform: "translateX(0) scaleY(1) scaleX(1)",
2192
+ filter: "blur(0)",
2193
+ opacity: 1
2194
+ }
2195
+ ],
2196
+ config: { duration: 800, easing: "cubic-bezier(0.230, 1.000, 0.320, 1.000)" }
2197
+ }, Aa = {
2198
+ keyframes: [
2199
+ {
2200
+ transform: "scale(1) translateX(0) translateY(0)"
2201
+ },
2202
+ {
2203
+ transform: "scale(1.2) translateX(15px) translateY(15px)"
2204
+ }
2205
+ ],
2206
+ config: { duration: 5e3, easing: "ease-out" }
2066
2207
  }, I = {
2067
2208
  // Fade (10)
2068
- fadeIn: Ie,
2069
- fadeInUp: Ne,
2070
- fadeInDown: Me,
2071
- fadeInLeft: Oe,
2072
- fadeInRight: Ce,
2073
- fadeOut: Ye,
2074
- fadeOutUp: Xe,
2209
+ fadeIn: Ne,
2210
+ fadeInUp: Me,
2211
+ fadeInDown: Oe,
2212
+ fadeInLeft: Ce,
2213
+ fadeInRight: Ye,
2214
+ fadeOut: Xe,
2215
+ fadeOutUp: Pe,
2075
2216
  fadeOutDown: Re,
2076
- fadeOutLeft: Pe,
2217
+ fadeOutLeft: Se,
2077
2218
  fadeOutRight: ze,
2078
2219
  // Slide (8)
2079
- slideInUp: $e,
2080
- slideInDown: Be,
2220
+ slideInUp: Be,
2221
+ slideInDown: $e,
2081
2222
  slideInLeft: De,
2082
2223
  slideInRight: Ge,
2083
- slideOutUp: Se,
2224
+ slideOutUp: Ee,
2084
2225
  slideOutDown: _e,
2085
- slideOutLeft: Ee,
2086
- slideOutRight: Ue,
2226
+ slideOutLeft: Ue,
2227
+ slideOutRight: Le,
2087
2228
  // Zoom (10)
2088
- zoomIn: Le,
2089
- zoomInUp: Ae,
2229
+ zoomIn: Ae,
2230
+ zoomInUp: Te,
2090
2231
  zoomInDown: qe,
2091
2232
  zoomInLeft: He,
2092
2233
  zoomInRight: je,
2093
2234
  zoomOut: Fe,
2094
- zoomOutUp: Qe,
2095
- zoomOutDown: Te,
2235
+ zoomOutUp: We,
2236
+ zoomOutDown: Qe,
2096
2237
  zoomInBig: Ve,
2097
- zoomInBounce: We,
2238
+ zoomInBounce: Ze,
2098
2239
  // Rotate (10)
2099
- rotateIn: Ze,
2100
- rotateInUpLeft: Je,
2101
- rotateInUpRight: Ke,
2102
- rotateInDownLeft: ea,
2103
- rotateInDownRight: aa,
2240
+ rotateIn: Je,
2241
+ rotateInUpLeft: Ke,
2242
+ rotateInUpRight: ea,
2243
+ rotateInDownLeft: aa,
2244
+ rotateInDownRight: ta,
2104
2245
  rotateOut: ra,
2105
- spin: ta,
2106
- spinReverse: na,
2107
- spinSlow: oa,
2108
- spinFast: ia,
2246
+ spin: na,
2247
+ spinReverse: oa,
2248
+ spinSlow: ia,
2249
+ spinFast: sa,
2109
2250
  // Bounce (8)
2110
- bounceIn: sa,
2111
- bounceInUp: la,
2112
- bounceInDown: da,
2113
- bounceInLeft: ca,
2114
- bounceInRight: ga,
2115
- bounceOut: pa,
2251
+ bounceIn: la,
2252
+ bounceInUp: da,
2253
+ bounceInDown: ca,
2254
+ bounceInLeft: ga,
2255
+ bounceInRight: pa,
2256
+ bounceOut: fa,
2116
2257
  bounce: ua,
2117
2258
  bounceLoop: ma,
2118
- // Attention (12)
2259
+ // Attention (11)
2119
2260
  shake: ba,
2120
- shakeY: fa,
2121
- pulse: ha,
2122
- pulseLoop: xa,
2123
- heartbeat: ya,
2124
- flash: wa,
2125
- rubberBand: va,
2126
- jello: ka,
2127
- swing: Ia,
2128
- wobble: Na,
2129
- tada: Ma
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: Ma,
2270
+ tada: Oa,
2271
+ // ✅ Text (16) - NEW!
2272
+ typing: Ca,
2273
+ glitch: Ya,
2274
+ waveText: Xa,
2275
+ blurIn: Pa,
2276
+ trackingInExpand: Ra,
2277
+ trackingOutContract: Sa,
2278
+ focusIn: za,
2279
+ textShadowPop: Ba,
2280
+ flicker: $a,
2281
+ textPopUp: Da,
2282
+ textRotateIn: Ga,
2283
+ textScaleUp: Ea,
2284
+ textWobble: _a,
2285
+ swingInTop: Ua,
2286
+ slideInBlurred: La,
2287
+ kenburns: Aa
2130
2288
  };
2131
- function Cr(e) {
2289
+ function Tt(e) {
2132
2290
  return I[e];
2133
2291
  }
2134
- function Oa() {
2292
+ function Ta() {
2135
2293
  return Object.keys(I);
2136
2294
  }
2137
- function Yr(e) {
2138
- return Oa().filter((a) => a.startsWith(e));
2295
+ function qt(e) {
2296
+ return e === "text" ? [
2297
+ "typing",
2298
+ "glitch",
2299
+ "waveText",
2300
+ "blurIn",
2301
+ "trackingInExpand",
2302
+ "trackingOutContract",
2303
+ "focusIn",
2304
+ "textShadowPop",
2305
+ "flicker",
2306
+ "textPopUp",
2307
+ "textRotateIn",
2308
+ "textScaleUp",
2309
+ "textWobble",
2310
+ "swingInTop",
2311
+ "slideInBlurred",
2312
+ "kenburns"
2313
+ ] : Ta().filter((a) => a.startsWith(e));
2139
2314
  }
2140
- const Ca = ({
2315
+ const qa = ({
2141
2316
  children: e,
2142
2317
  preset: a = "fadeIn",
2143
- duration: r,
2144
- delay: t,
2318
+ duration: t,
2319
+ delay: r,
2145
2320
  easing: o,
2146
2321
  iterations: i,
2147
2322
  trigger: s = "mount",
2148
2323
  threshold: d = 0.1,
2149
2324
  triggerOnce: l = !0,
2150
2325
  onAnimationStart: c,
2151
- onAnimationEnd: g,
2152
- className: f = "",
2153
- style: b = {}
2326
+ onAnimationEnd: p,
2327
+ className: x = "",
2328
+ style: m = {}
2154
2329
  }) => {
2155
- const p = u(null), h = u(null), x = u(null), N = u(!1), k = async () => {
2156
- var z, $, B, D;
2157
- if (!p.current || l && N.current) return;
2158
- const w = I[a];
2159
- if (!w) {
2330
+ const g = f(null), y = f(null), b = f(null), N = f(!1), v = async () => {
2331
+ var S, z, B, $;
2332
+ if (!g.current || l && N.current) return;
2333
+ const h = I[a];
2334
+ if (!h) {
2160
2335
  console.warn(`[TeleMotion] Preset "${a}" not found`);
2161
2336
  return;
2162
2337
  }
2163
- h.current || (h.current = new y(p.current)), c == null || c();
2164
- const M = {
2165
- ...w.config,
2166
- duration: r ?? ((z = w.config) == null ? void 0 : z.duration),
2167
- delay: t ?? (($ = w.config) == null ? void 0 : $.delay),
2168
- easing: o ?? ((B = w.config) == null ? void 0 : B.easing),
2169
- iterations: i ?? ((D = w.config) == null ? void 0 : D.iterations)
2338
+ y.current || (y.current = new w(g.current)), c == null || c();
2339
+ const C = {
2340
+ ...h.config,
2341
+ duration: t ?? ((S = h.config) == null ? void 0 : S.duration),
2342
+ delay: r ?? ((z = h.config) == null ? void 0 : z.delay),
2343
+ easing: o ?? ((B = h.config) == null ? void 0 : B.easing),
2344
+ iterations: i ?? (($ = h.config) == null ? void 0 : $.iterations)
2170
2345
  };
2171
2346
  try {
2172
- await h.current.animate(w.keyframes, M), N.current = !0, g == null || g();
2347
+ await y.current.animate(h.keyframes, C), N.current = !0, p == null || p();
2173
2348
  } catch (A) {
2174
2349
  console.error("[TeleMotion] Animation error:", A);
2175
2350
  }
2176
2351
  };
2177
- v(() => {
2178
- s === "mount" && k();
2179
- }, [a, r, t, o, i]), v(() => {
2180
- if (!(s !== "scroll" || !p.current))
2181
- return x.current = new IntersectionObserver(
2182
- (w) => {
2183
- w.forEach((M) => {
2184
- M.isIntersecting && (k(), l && x.current && x.current.unobserve(M.target));
2352
+ k(() => {
2353
+ s === "mount" && v();
2354
+ }, [a, t, r, o, i]), k(() => {
2355
+ if (!(s !== "scroll" || !g.current))
2356
+ return b.current = new IntersectionObserver(
2357
+ (h) => {
2358
+ h.forEach((C) => {
2359
+ C.isIntersecting && (v(), l && b.current && b.current.unobserve(C.target));
2185
2360
  });
2186
2361
  },
2187
2362
  { threshold: d }
2188
- ), x.current.observe(p.current), () => {
2189
- x.current && x.current.disconnect();
2363
+ ), b.current.observe(g.current), () => {
2364
+ b.current && b.current.disconnect();
2190
2365
  };
2191
2366
  }, [s, d, l, a]);
2192
- const R = () => {
2193
- s === "hover" && k();
2194
- }, P = () => {
2195
- s === "click" && k();
2367
+ const M = () => {
2368
+ s === "hover" && v();
2369
+ }, O = () => {
2370
+ s === "click" && v();
2196
2371
  };
2197
- return v(() => () => {
2198
- h.current && h.current.stop();
2372
+ return k(() => () => {
2373
+ y.current && y.current.stop();
2199
2374
  }, []), /* @__PURE__ */ n(
2200
2375
  "div",
2201
2376
  {
2202
- ref: p,
2203
- className: f,
2204
- style: b,
2205
- onMouseEnter: s === "hover" ? R : void 0,
2206
- onClick: s === "click" ? P : void 0,
2377
+ ref: g,
2378
+ className: x,
2379
+ style: m,
2380
+ onMouseEnter: s === "hover" ? M : void 0,
2381
+ onClick: s === "click" ? O : void 0,
2207
2382
  children: e
2208
2383
  }
2209
2384
  );
2210
2385
  };
2211
- Ca.displayName = "TeleMotion";
2212
- function Xr() {
2213
- const e = u(null), a = u(null), r = async (t, o) => {
2214
- e.current && (a.current || (a.current = new y(e.current)), await a.current.animate(t, o));
2386
+ qa.displayName = "TeleMotion";
2387
+ function Ht() {
2388
+ const e = f(null), a = f(null), t = async (r, o) => {
2389
+ e.current && (a.current || (a.current = new w(e.current)), await a.current.animate(r, o));
2215
2390
  };
2216
- return v(() => () => {
2391
+ return k(() => () => {
2217
2392
  a.current && a.current.stop();
2218
- }, []), [e, r];
2393
+ }, []), [e, t];
2219
2394
  }
2220
- function Rr(e, a) {
2221
- const r = u(null), t = u(null), o = async () => {
2222
- if (!r.current) return;
2395
+ function jt(e, a) {
2396
+ const t = f(null), r = f(null), o = async () => {
2397
+ if (!t.current) return;
2223
2398
  const i = I[e];
2224
2399
  if (!i) {
2225
2400
  console.warn(`[usePresetAnimation] Preset "${e}" not found`);
2226
2401
  return;
2227
2402
  }
2228
- t.current || (t.current = new y(r.current));
2403
+ r.current || (r.current = new w(t.current));
2229
2404
  const s = {
2230
2405
  ...i.config,
2231
2406
  ...a
2232
2407
  };
2233
- await t.current.animate(i.keyframes, s);
2408
+ await r.current.animate(i.keyframes, s);
2234
2409
  };
2235
- return v(() => {
2410
+ return k(() => {
2236
2411
  (a == null ? void 0 : a.trigger) !== "manual" && o();
2237
- }, [e]), v(() => () => {
2238
- t.current && t.current.stop();
2239
- }, []), [r, o];
2412
+ }, [e]), k(() => () => {
2413
+ r.current && r.current.stop();
2414
+ }, []), [t, o];
2240
2415
  }
2241
- function Pr(e, a) {
2242
- const r = u(null), t = u(null), o = u(null), i = u(!1);
2243
- return v(() => {
2244
- if (!r.current) return;
2416
+ function Ft(e, a) {
2417
+ const t = f(null), r = f(null), o = f(null), i = f(!1);
2418
+ return k(() => {
2419
+ if (!t.current) return;
2245
2420
  const s = I[e];
2246
2421
  if (!s) {
2247
2422
  console.warn(`[useScrollAnimation] Preset "${e}" not found`);
2248
2423
  return;
2249
2424
  }
2250
- return t.current = new y(r.current), o.current = new IntersectionObserver(
2425
+ return r.current = new w(t.current), o.current = new IntersectionObserver(
2251
2426
  (d) => {
2252
2427
  d.forEach((l) => {
2253
- if (l.isIntersecting && !i.current && t.current) {
2428
+ if (l.isIntersecting && !i.current && r.current) {
2254
2429
  const c = {
2255
2430
  ...s.config,
2256
2431
  ...a == null ? void 0 : a.config
2257
2432
  };
2258
- t.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(s.keyframes, c), i.current = !0, (a == null ? void 0 : a.triggerOnce) !== !1 && o.current && o.current.unobserve(l.target);
2259
2434
  }
2260
2435
  });
2261
2436
  },
2262
2437
  { threshold: (a == null ? void 0 : a.threshold) ?? 0.1 }
2263
- ), o.current.observe(r.current), () => {
2264
- o.current && o.current.disconnect(), t.current && t.current.stop();
2438
+ ), o.current.observe(t.current), () => {
2439
+ o.current && o.current.disconnect(), r.current && r.current.stop();
2265
2440
  };
2266
- }, [e, a == null ? void 0 : a.threshold, a == null ? void 0 : a.triggerOnce]), r;
2441
+ }, [e, a == null ? void 0 : a.threshold, a == null ? void 0 : a.triggerOnce]), t;
2267
2442
  }
2268
- function zr(e, a = 100, r) {
2269
- const t = u(null);
2270
- return [t, async () => {
2271
- if (!t.current) return;
2443
+ function Wt(e, a = 100, t) {
2444
+ const r = f(null);
2445
+ return [r, async () => {
2446
+ if (!r.current) return;
2272
2447
  const i = I[e];
2273
2448
  if (!i) return;
2274
- const d = Array.from(t.current.children).map((l, c) => new y(l).animate(i.keyframes, {
2449
+ const d = Array.from(r.current.children).map((l, c) => new w(l).animate(i.keyframes, {
2275
2450
  ...i.config,
2276
- ...r,
2277
- delay: ((r == null ? void 0 : r.delay) ?? 0) + a * c
2451
+ ...t,
2452
+ delay: ((t == null ? void 0 : t.delay) ?? 0) + a * c
2278
2453
  }));
2279
2454
  await Promise.all(d);
2280
2455
  }];
2281
2456
  }
2282
- function $r(e, a) {
2283
- const r = u(null), t = u(null);
2284
- return [r, { onMouseEnter: async () => {
2285
- if (!r.current) return;
2457
+ function Qt(e, a) {
2458
+ const t = f(null), r = f(null);
2459
+ return [t, { onMouseEnter: async () => {
2460
+ if (!t.current) return;
2286
2461
  const s = I[e];
2287
- s && (t.current || (t.current = new y(r.current)), await t.current.animate(s.keyframes, {
2462
+ s && (r.current || (r.current = new w(t.current)), await r.current.animate(s.keyframes, {
2288
2463
  ...s.config,
2289
2464
  ...a
2290
2465
  }));
2291
2466
  }, onMouseLeave: () => {
2292
- t.current && t.current.stop();
2467
+ r.current && r.current.stop();
2293
2468
  } }];
2294
2469
  }
2295
- function Br(e = 0.1) {
2296
- const a = u(null), [r, t] = S(!1);
2297
- return v(() => {
2470
+ function Vt(e = 0.1) {
2471
+ const a = f(null), [t, r] = G(!1);
2472
+ return k(() => {
2298
2473
  if (!a.current) return;
2299
2474
  const o = new IntersectionObserver(
2300
2475
  (i) => {
2301
2476
  i.forEach((s) => {
2302
- t(s.isIntersecting);
2477
+ r(s.isIntersecting);
2303
2478
  });
2304
2479
  },
2305
2480
  { threshold: e }
@@ -2307,74 +2482,74 @@ function Br(e = 0.1) {
2307
2482
  return o.observe(a.current), () => {
2308
2483
  o.disconnect();
2309
2484
  };
2310
- }, [e]), [a, r];
2485
+ }, [e]), [a, t];
2311
2486
  }
2312
2487
  export {
2313
- Va as AnimatedBounce,
2314
- Wa as AnimatedGlow,
2315
- Ta as AnimatedPulse,
2316
- Qa as AnimatedShimmer,
2317
- y as Animator,
2318
- Ra as Button,
2319
- tr as Button3DBlue,
2320
- or as Button3DGreen,
2321
- nr as Button3DPink,
2322
- dr as Container,
2323
- pr as ContainerButton,
2324
- gr as ContainerContent,
2325
- cr as ContainerImage,
2326
- ur as FeatureCard,
2327
- er as GhostBlue,
2328
- rr as GhostPurple,
2329
- ar as GhostRed,
2330
- qa as GlassBlue,
2331
- O as GlassButton,
2332
- Fa as GlassPink,
2333
- Ha as GlassPurple,
2334
- ja as GlassWhite,
2335
- Ea as GradientBlueGreen,
2336
- La as GradientCyan,
2337
- Ua as GradientOrangeRed,
2338
- _a as GradientPurplePink,
2339
- Aa as GradientSunset,
2340
- Pa as Home,
2341
- ir as NeonBlue,
2342
- lr as NeonGreen,
2343
- sr as NeonPink,
2344
- Za as OutlinedBlue,
2345
- Ka as OutlinedGradient,
2346
- Ja as OutlinedPurple,
2347
- mr as ProductCard,
2488
+ gt as AnimatedBounce,
2489
+ pt as AnimatedGlow,
2490
+ ct as AnimatedPulse,
2491
+ dt as AnimatedShimmer,
2492
+ w as Animator,
2493
+ Fa as Button,
2494
+ yt as Button3DBlue,
2495
+ vt as Button3DGreen,
2496
+ wt as Button3DPink,
2497
+ Mt as Container,
2498
+ Yt as ContainerButton,
2499
+ Ct as ContainerContent,
2500
+ Ot as ContainerImage,
2501
+ Xt as FeatureCard,
2502
+ bt as GhostBlue,
2503
+ xt as GhostPurple,
2504
+ ht as GhostRed,
2505
+ ot as GlassBlue,
2506
+ Y as GlassButton,
2507
+ lt as GlassPink,
2508
+ it as GlassPurple,
2509
+ st as GlassWhite,
2510
+ at as GradientBlueGreen,
2511
+ rt as GradientCyan,
2512
+ tt as GradientOrangeRed,
2513
+ et as GradientPurplePink,
2514
+ nt as GradientSunset,
2515
+ Wa as Home,
2516
+ kt as NeonBlue,
2517
+ Nt as NeonGreen,
2518
+ It as NeonPink,
2519
+ ft as OutlinedBlue,
2520
+ mt as OutlinedGradient,
2521
+ ut as OutlinedPurple,
2522
+ Pt as ProductCard,
2348
2523
  L as ScrollObserver,
2349
- $a as SolidBlue,
2350
- Da as SolidGreen,
2351
- Sa as SolidPill,
2352
- Ga as SolidPurple,
2353
- Ba as SolidRed,
2354
- br as StatCard,
2355
- Ca as TeleMotion,
2356
- hr as animateGroup,
2357
- Nr as animateOnScroll,
2358
- kr as bezier,
2359
- fr as createAnimator,
2360
- ve as easings,
2361
- wr as getEasing,
2362
- Cr as getPreset,
2363
- Oa as getPresetNames,
2364
- Yr as getPresetsByCategory,
2365
- Mr as getScrollProgress,
2366
- za as gradients,
2367
- Or as isInViewport,
2368
- ke as observeElement,
2369
- Ir as observeElements,
2370
- yr as parallel,
2524
+ Qa as SolidBlue,
2525
+ Za as SolidGreen,
2526
+ Ka as SolidPill,
2527
+ Ja as SolidPurple,
2528
+ Va as SolidRed,
2529
+ Rt as StatCard,
2530
+ qa as TeleMotion,
2531
+ zt as animateGroup,
2532
+ Ut as animateOnScroll,
2533
+ Et as bezier,
2534
+ St as createAnimator,
2535
+ ke as easings,
2536
+ Dt as getEasing,
2537
+ Tt as getPreset,
2538
+ Ta as getPresetNames,
2539
+ qt as getPresetsByCategory,
2540
+ Lt as getScrollProgress,
2541
+ H as gradients,
2542
+ At as isInViewport,
2543
+ Ie as observeElement,
2544
+ _t as observeElements,
2545
+ $t as parallel,
2371
2546
  I as presets,
2372
- xr as sequence,
2373
- vr as spring,
2374
- Xr as useAnimator,
2375
- $r as useHoverAnimation,
2376
- Br as useInView,
2377
- Rr as usePresetAnimation,
2378
- Pr as useScrollAnimation,
2379
- zr as useStagger
2547
+ Bt as sequence,
2548
+ Gt as spring,
2549
+ Ht as useAnimator,
2550
+ Qt as useHoverAnimation,
2551
+ Vt as useInView,
2552
+ jt as usePresetAnimation,
2553
+ Ft as useScrollAnimation,
2554
+ Wt as useStagger
2380
2555
  };