@sachin-tosa/tosa 1.0.8 → 1.0.9

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/tosa.es.js CHANGED
@@ -1,66 +1,66 @@
1
- import ne, { useState as G, useEffect as oe } from "react";
2
- var S = { exports: {} }, w = {};
3
- var F;
4
- function ie() {
5
- if (F) return w;
6
- F = 1;
7
- var a = /* @__PURE__ */ Symbol.for("react.transitional.element"), m = /* @__PURE__ */ Symbol.for("react.fragment");
8
- function u(f, s, c) {
9
- var b = null;
10
- if (c !== void 0 && (b = "" + c), s.key !== void 0 && (b = "" + s.key), "key" in s) {
11
- c = {};
12
- for (var g in s)
13
- g !== "key" && (c[g] = s[g]);
14
- } else c = s;
15
- return s = c.ref, {
1
+ import oe, { useState as $, useEffect as ie } from "react";
2
+ var _ = { exports: {} }, S = {};
3
+ var q;
4
+ function se() {
5
+ if (q) return S;
6
+ q = 1;
7
+ var a = /* @__PURE__ */ Symbol.for("react.transitional.element"), h = /* @__PURE__ */ Symbol.for("react.fragment");
8
+ function m(p, n, s) {
9
+ var v = null;
10
+ if (s !== void 0 && (v = "" + s), n.key !== void 0 && (v = "" + n.key), "key" in n) {
11
+ s = {};
12
+ for (var w in n)
13
+ w !== "key" && (s[w] = n[w]);
14
+ } else s = n;
15
+ return n = s.ref, {
16
16
  $$typeof: a,
17
- type: f,
18
- key: b,
19
- ref: s !== void 0 ? s : null,
20
- props: c
17
+ type: p,
18
+ key: v,
19
+ ref: n !== void 0 ? n : null,
20
+ props: s
21
21
  };
22
22
  }
23
- return w.Fragment = m, w.jsx = u, w.jsxs = u, w;
23
+ return S.Fragment = h, S.jsx = m, S.jsxs = m, S;
24
24
  }
25
- var y = {};
26
- var W;
27
- function se() {
28
- return W || (W = 1, process.env.NODE_ENV !== "production" && (function() {
25
+ var j = {};
26
+ var F;
27
+ function le() {
28
+ return F || (F = 1, process.env.NODE_ENV !== "production" && (function() {
29
29
  function a(e) {
30
30
  if (e == null) return null;
31
31
  if (typeof e == "function")
32
32
  return e.$$typeof === re ? null : e.displayName || e.name || null;
33
33
  if (typeof e == "string") return e;
34
34
  switch (e) {
35
- case _:
35
+ case R:
36
36
  return "Fragment";
37
37
  case J:
38
38
  return "Profiler";
39
39
  case X:
40
40
  return "StrictMode";
41
- case Z:
42
- return "Suspense";
43
41
  case Q:
42
+ return "Suspense";
43
+ case K:
44
44
  return "SuspenseList";
45
- case ee:
45
+ case te:
46
46
  return "Activity";
47
47
  }
48
48
  if (typeof e == "object")
49
49
  switch (typeof e.tag == "number" && console.error(
50
50
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
51
51
  ), e.$$typeof) {
52
- case q:
52
+ case U:
53
53
  return "Portal";
54
- case H:
55
- return e.displayName || "Context";
56
54
  case V:
55
+ return e.displayName || "Context";
56
+ case H:
57
57
  return (e._context.displayName || "Context") + ".Consumer";
58
- case B:
58
+ case Z:
59
59
  var r = e.render;
60
60
  return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
61
- case K:
61
+ case ee:
62
62
  return r = e.displayName || null, r !== null ? r : a(e.type) || "Memo";
63
- case j:
63
+ case z:
64
64
  r = e._payload, e = e._init;
65
65
  try {
66
66
  return a(e(r));
@@ -69,29 +69,29 @@ function se() {
69
69
  }
70
70
  return null;
71
71
  }
72
- function m(e) {
72
+ function h(e) {
73
73
  return "" + e;
74
74
  }
75
- function u(e) {
75
+ function m(e) {
76
76
  try {
77
- m(e);
77
+ h(e);
78
78
  var r = !1;
79
79
  } catch {
80
80
  r = !0;
81
81
  }
82
82
  if (r) {
83
83
  r = console;
84
- var n = r.error, o = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
85
- return n.call(
84
+ var o = r.error, l = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
85
+ return o.call(
86
86
  r,
87
87
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
88
- o
89
- ), m(e);
88
+ l
89
+ ), h(e);
90
90
  }
91
91
  }
92
- function f(e) {
93
- if (e === _) return "<>";
94
- if (typeof e == "object" && e !== null && e.$$typeof === j)
92
+ function p(e) {
93
+ if (e === R) return "<>";
94
+ if (typeof e == "object" && e !== null && e.$$typeof === z)
95
95
  return "<...>";
96
96
  try {
97
97
  var r = a(e);
@@ -100,49 +100,49 @@ function se() {
100
100
  return "<...>";
101
101
  }
102
102
  }
103
- function s() {
104
- var e = T.A;
103
+ function n() {
104
+ var e = P.A;
105
105
  return e === null ? null : e.getOwner();
106
106
  }
107
- function c() {
107
+ function s() {
108
108
  return Error("react-stack-top-frame");
109
109
  }
110
- function b(e) {
111
- if ($.call(e, "key")) {
110
+ function v(e) {
111
+ if (Y.call(e, "key")) {
112
112
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
113
113
  if (r && r.isReactWarning) return !1;
114
114
  }
115
115
  return e.key !== void 0;
116
116
  }
117
- function g(e, r) {
118
- function n() {
119
- Y || (Y = !0, console.error(
117
+ function w(e, r) {
118
+ function o() {
119
+ M || (M = !0, console.error(
120
120
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
121
121
  r
122
122
  ));
123
123
  }
124
- n.isReactWarning = !0, Object.defineProperty(e, "key", {
125
- get: n,
124
+ o.isReactWarning = !0, Object.defineProperty(e, "key", {
125
+ get: o,
126
126
  configurable: !0
127
127
  });
128
128
  }
129
- function d() {
129
+ function u() {
130
130
  var e = a(this.type);
131
- return L[e] || (L[e] = !0, console.error(
131
+ return D[e] || (D[e] = !0, console.error(
132
132
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
133
133
  )), e = this.props.ref, e !== void 0 ? e : null;
134
134
  }
135
- function h(e, r, n, o, E, N) {
136
- var i = n.ref;
135
+ function b(e, r, o, l, C, O) {
136
+ var c = o.ref;
137
137
  return e = {
138
- $$typeof: z,
138
+ $$typeof: E,
139
139
  type: e,
140
140
  key: r,
141
- props: n,
142
- _owner: o
143
- }, (i !== void 0 ? i : null) !== null ? Object.defineProperty(e, "ref", {
141
+ props: o,
142
+ _owner: l
143
+ }, (c !== void 0 ? c : null) !== null ? Object.defineProperty(e, "ref", {
144
144
  enumerable: !1,
145
- get: d
145
+ get: u
146
146
  }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
147
147
  configurable: !1,
148
148
  enumerable: !1,
@@ -157,109 +157,109 @@ function se() {
157
157
  configurable: !1,
158
158
  enumerable: !1,
159
159
  writable: !0,
160
- value: E
160
+ value: C
161
161
  }), Object.defineProperty(e, "_debugTask", {
162
162
  configurable: !1,
163
163
  enumerable: !1,
164
164
  writable: !0,
165
- value: N
165
+ value: O
166
166
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
167
167
  }
168
- function P(e, r, n, o, E, N) {
169
- var i = r.children;
170
- if (i !== void 0)
171
- if (o)
172
- if (te(i)) {
173
- for (o = 0; o < i.length; o++)
174
- A(i[o]);
175
- Object.freeze && Object.freeze(i);
168
+ function T(e, r, o, l, C, O) {
169
+ var c = r.children;
170
+ if (c !== void 0)
171
+ if (l)
172
+ if (ae(c)) {
173
+ for (l = 0; l < c.length; l++)
174
+ N(c[l]);
175
+ Object.freeze && Object.freeze(c);
176
176
  } else
177
177
  console.error(
178
178
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
179
179
  );
180
- else A(i);
181
- if ($.call(r, "key")) {
182
- i = a(e);
183
- var v = Object.keys(r).filter(function(ae) {
184
- return ae !== "key";
180
+ else N(c);
181
+ if (Y.call(r, "key")) {
182
+ c = a(e);
183
+ var k = Object.keys(r).filter(function(ne) {
184
+ return ne !== "key";
185
185
  });
186
- o = 0 < v.length ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}", D[i + o] || (v = 0 < v.length ? "{" + v.join(": ..., ") + ": ...}" : "{}", console.error(
186
+ l = 0 < k.length ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}", G[c + l] || (k = 0 < k.length ? "{" + k.join(": ..., ") + ": ...}" : "{}", console.error(
187
187
  `A props object containing a "key" prop is being spread into JSX:
188
188
  let props = %s;
189
189
  <%s {...props} />
190
190
  React keys must be passed directly to JSX without using spread:
191
191
  let props = %s;
192
192
  <%s key={someKey} {...props} />`,
193
- o,
194
- i,
195
- v,
196
- i
197
- ), D[i + o] = !0);
193
+ l,
194
+ c,
195
+ k,
196
+ c
197
+ ), G[c + l] = !0);
198
198
  }
199
- if (i = null, n !== void 0 && (u(n), i = "" + n), b(r) && (u(r.key), i = "" + r.key), "key" in r) {
200
- n = {};
201
- for (var C in r)
202
- C !== "key" && (n[C] = r[C]);
203
- } else n = r;
204
- return i && g(
205
- n,
199
+ if (c = null, o !== void 0 && (m(o), c = "" + o), v(r) && (m(r.key), c = "" + r.key), "key" in r) {
200
+ o = {};
201
+ for (var I in r)
202
+ I !== "key" && (o[I] = r[I]);
203
+ } else o = r;
204
+ return c && w(
205
+ o,
206
206
  typeof e == "function" ? e.displayName || e.name || "Unknown" : e
207
- ), h(
207
+ ), b(
208
208
  e,
209
- i,
210
- n,
211
- s(),
212
- E,
213
- N
209
+ c,
210
+ o,
211
+ n(),
212
+ C,
213
+ O
214
214
  );
215
215
  }
216
- function A(e) {
217
- O(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === j && (e._payload.status === "fulfilled" ? O(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
216
+ function N(e) {
217
+ d(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === z && (e._payload.status === "fulfilled" ? d(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
218
218
  }
219
- function O(e) {
220
- return typeof e == "object" && e !== null && e.$$typeof === z;
219
+ function d(e) {
220
+ return typeof e == "object" && e !== null && e.$$typeof === E;
221
221
  }
222
- var k = ne, z = /* @__PURE__ */ Symbol.for("react.transitional.element"), q = /* @__PURE__ */ Symbol.for("react.portal"), _ = /* @__PURE__ */ Symbol.for("react.fragment"), X = /* @__PURE__ */ Symbol.for("react.strict_mode"), J = /* @__PURE__ */ Symbol.for("react.profiler"), V = /* @__PURE__ */ Symbol.for("react.consumer"), H = /* @__PURE__ */ Symbol.for("react.context"), B = /* @__PURE__ */ Symbol.for("react.forward_ref"), Z = /* @__PURE__ */ Symbol.for("react.suspense"), Q = /* @__PURE__ */ Symbol.for("react.suspense_list"), K = /* @__PURE__ */ Symbol.for("react.memo"), j = /* @__PURE__ */ Symbol.for("react.lazy"), ee = /* @__PURE__ */ Symbol.for("react.activity"), re = /* @__PURE__ */ Symbol.for("react.client.reference"), T = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $ = Object.prototype.hasOwnProperty, te = Array.isArray, R = console.createTask ? console.createTask : function() {
222
+ var g = oe, E = /* @__PURE__ */ Symbol.for("react.transitional.element"), U = /* @__PURE__ */ Symbol.for("react.portal"), R = /* @__PURE__ */ Symbol.for("react.fragment"), X = /* @__PURE__ */ Symbol.for("react.strict_mode"), J = /* @__PURE__ */ Symbol.for("react.profiler"), H = /* @__PURE__ */ Symbol.for("react.consumer"), V = /* @__PURE__ */ Symbol.for("react.context"), Z = /* @__PURE__ */ Symbol.for("react.forward_ref"), Q = /* @__PURE__ */ Symbol.for("react.suspense"), K = /* @__PURE__ */ Symbol.for("react.suspense_list"), ee = /* @__PURE__ */ Symbol.for("react.memo"), z = /* @__PURE__ */ Symbol.for("react.lazy"), te = /* @__PURE__ */ Symbol.for("react.activity"), re = /* @__PURE__ */ Symbol.for("react.client.reference"), P = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Y = Object.prototype.hasOwnProperty, ae = Array.isArray, A = console.createTask ? console.createTask : function() {
223
223
  return null;
224
224
  };
225
- k = {
225
+ g = {
226
226
  react_stack_bottom_frame: function(e) {
227
227
  return e();
228
228
  }
229
229
  };
230
- var Y, L = {}, I = k.react_stack_bottom_frame.bind(
231
- k,
232
- c
233
- )(), M = R(f(c)), D = {};
234
- y.Fragment = _, y.jsx = function(e, r, n) {
235
- var o = 1e4 > T.recentlyCreatedOwnerStacks++;
236
- return P(
230
+ var M, D = {}, L = g.react_stack_bottom_frame.bind(
231
+ g,
232
+ s
233
+ )(), W = A(p(s)), G = {};
234
+ j.Fragment = R, j.jsx = function(e, r, o) {
235
+ var l = 1e4 > P.recentlyCreatedOwnerStacks++;
236
+ return T(
237
237
  e,
238
238
  r,
239
- n,
239
+ o,
240
240
  !1,
241
- o ? Error("react-stack-top-frame") : I,
242
- o ? R(f(e)) : M
241
+ l ? Error("react-stack-top-frame") : L,
242
+ l ? A(p(e)) : W
243
243
  );
244
- }, y.jsxs = function(e, r, n) {
245
- var o = 1e4 > T.recentlyCreatedOwnerStacks++;
246
- return P(
244
+ }, j.jsxs = function(e, r, o) {
245
+ var l = 1e4 > P.recentlyCreatedOwnerStacks++;
246
+ return T(
247
247
  e,
248
248
  r,
249
- n,
249
+ o,
250
250
  !0,
251
- o ? Error("react-stack-top-frame") : I,
252
- o ? R(f(e)) : M
251
+ l ? Error("react-stack-top-frame") : L,
252
+ l ? A(p(e)) : W
253
253
  );
254
254
  };
255
- })()), y;
255
+ })()), j;
256
256
  }
257
- var U;
258
- function le() {
259
- return U || (U = 1, process.env.NODE_ENV === "production" ? S.exports = ie() : S.exports = se()), S.exports;
257
+ var B;
258
+ function ce() {
259
+ return B || (B = 1, process.env.NODE_ENV === "production" ? _.exports = se() : _.exports = le()), _.exports;
260
260
  }
261
- var t = le();
262
- const p = (() => {
261
+ var t = ce();
262
+ const x = (() => {
263
263
  const a = document.createElement("style");
264
264
  return a.textContent = `
265
265
  * {
@@ -462,39 +462,39 @@ const p = (() => {
462
462
  open: "open"
463
463
  };
464
464
  })();
465
- function de({ brand: a = "TOSA", links: m = ["Home", "About", "Services", "Contact"] }) {
466
- const [u, f] = G(!1);
467
- return /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx("nav", { className: p.navbar, children: /* @__PURE__ */ t.jsxs("div", { className: p.navContainer, children: [
468
- /* @__PURE__ */ t.jsx("div", { className: p.logo, children: a }),
465
+ function ue({ brand: a = "TOSA", links: h = ["Home", "About", "Services", "Contact"] }) {
466
+ const [m, p] = $(!1);
467
+ return /* @__PURE__ */ t.jsx(t.Fragment, { children: /* @__PURE__ */ t.jsx("nav", { className: x.navbar, children: /* @__PURE__ */ t.jsxs("div", { className: x.navContainer, children: [
468
+ /* @__PURE__ */ t.jsx("div", { className: x.logo, children: a }),
469
469
  /* @__PURE__ */ t.jsxs(
470
470
  "button",
471
471
  {
472
- className: `${p.hamburger} ${u ? p.active : ""}`,
473
- onClick: () => f(!u),
472
+ className: `${x.hamburger} ${m ? x.active : ""}`,
473
+ onClick: () => p(!m),
474
474
  "aria-label": "Toggle menu",
475
- "aria-expanded": u,
475
+ "aria-expanded": m,
476
476
  children: [
477
- /* @__PURE__ */ t.jsx("span", { className: p.bar }),
478
- /* @__PURE__ */ t.jsx("span", { className: p.bar }),
479
- /* @__PURE__ */ t.jsx("span", { className: p.bar })
477
+ /* @__PURE__ */ t.jsx("span", { className: x.bar }),
478
+ /* @__PURE__ */ t.jsx("span", { className: x.bar }),
479
+ /* @__PURE__ */ t.jsx("span", { className: x.bar })
480
480
  ]
481
481
  }
482
482
  ),
483
- /* @__PURE__ */ t.jsx("ul", { className: `${p.navMenu} ${u ? p.open : ""}`, children: m.map((s, c) => /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsx(
483
+ /* @__PURE__ */ t.jsx("ul", { className: `${x.navMenu} ${m ? x.open : ""}`, children: h.map((n, s) => /* @__PURE__ */ t.jsx("li", { children: /* @__PURE__ */ t.jsx(
484
484
  "a",
485
485
  {
486
- href: `#${s.toLowerCase()}`,
487
- className: p.navLink,
488
- onClick: () => f(!1),
489
- children: s
486
+ href: `#${n.toLowerCase()}`,
487
+ className: x.navLink,
488
+ onClick: () => p(!1),
489
+ children: n
490
490
  }
491
- ) }, c)) })
491
+ ) }, s)) })
492
492
  ] }) }) });
493
493
  }
494
- function ue() {
494
+ function me() {
495
495
  return /* @__PURE__ */ t.jsx("nav", { children: /* @__PURE__ */ t.jsx("h1", { children: "Hello cards" }) });
496
496
  }
497
- const x = (() => {
497
+ const y = (() => {
498
498
  const a = document.createElement("style");
499
499
  return a.textContent = `
500
500
  * {
@@ -712,17 +712,17 @@ const x = (() => {
712
712
  btnSecondary: "btnSecondary"
713
713
  };
714
714
  })();
715
- function fe() {
716
- return /* @__PURE__ */ t.jsx("section", { className: x.heroSection, children: /* @__PURE__ */ t.jsxs("div", { className: x.heroContent, children: [
717
- /* @__PURE__ */ t.jsx("h1", { className: x.heroTitle, children: "Welcome to the Future" }),
718
- /* @__PURE__ */ t.jsx("p", { className: x.heroSubtitle, children: "Discover innovative solutions that transform your ideas into reality. We're here to help you build something extraordinary and take your vision to the next level." }),
719
- /* @__PURE__ */ t.jsxs("div", { className: x.buttonGroup, children: [
720
- /* @__PURE__ */ t.jsx("button", { className: x.btnPrimary, children: "Get Started" }),
721
- /* @__PURE__ */ t.jsx("button", { className: x.btnSecondary, children: "Learn More" })
715
+ function pe() {
716
+ return /* @__PURE__ */ t.jsx("section", { className: y.heroSection, children: /* @__PURE__ */ t.jsxs("div", { className: y.heroContent, children: [
717
+ /* @__PURE__ */ t.jsx("h1", { className: y.heroTitle, children: "Welcome to the Future" }),
718
+ /* @__PURE__ */ t.jsx("p", { className: y.heroSubtitle, children: "Discover innovative solutions that transform your ideas into reality. We're here to help you build something extraordinary and take your vision to the next level." }),
719
+ /* @__PURE__ */ t.jsxs("div", { className: y.buttonGroup, children: [
720
+ /* @__PURE__ */ t.jsx("button", { className: y.btnPrimary, children: "Get Started" }),
721
+ /* @__PURE__ */ t.jsx("button", { className: y.btnSecondary, children: "Learn More" })
722
722
  ] })
723
723
  ] }) });
724
724
  }
725
- const l = (() => {
725
+ const f = (() => {
726
726
  const a = document.createElement("style");
727
727
  return a.textContent = `
728
728
  * {
@@ -955,7 +955,7 @@ const l = (() => {
955
955
  dot: "dot"
956
956
  };
957
957
  })();
958
- function pe({
958
+ function fe({
959
959
  slides: a = [
960
960
  {
961
961
  image: "https://images.unsplash.com/photo-1497436072909-60f360e1d4b1?w=1200",
@@ -978,48 +978,48 @@ function pe({
978
978
  description: "Experience magical golden hour moments"
979
979
  }
980
980
  ],
981
- autoPlay: m = !0,
982
- autoPlayInterval: u = 5e3
981
+ autoPlay: h = !0,
982
+ autoPlayInterval: m = 5e3
983
983
  }) {
984
- const [f, s] = G(0), c = () => {
985
- s((d) => (d + 1) % a.length);
986
- }, b = () => {
987
- s((d) => (d - 1 + a.length) % a.length);
988
- }, g = (d) => {
989
- s(d);
984
+ const [p, n] = $(0), s = () => {
985
+ n((u) => (u + 1) % a.length);
986
+ }, v = () => {
987
+ n((u) => (u - 1 + a.length) % a.length);
988
+ }, w = (u) => {
989
+ n(u);
990
990
  };
991
- return oe(() => {
992
- if (m) {
993
- const d = setInterval(c, u);
994
- return () => clearInterval(d);
991
+ return ie(() => {
992
+ if (h) {
993
+ const u = setInterval(s, m);
994
+ return () => clearInterval(u);
995
995
  }
996
- }, [f, m, u]), /* @__PURE__ */ t.jsx("div", { className: l.carouselContainer, children: /* @__PURE__ */ t.jsxs("div", { className: l.carousel, children: [
997
- /* @__PURE__ */ t.jsx("div", { className: l.slideWrapper, children: a.map((d, h) => /* @__PURE__ */ t.jsxs(
996
+ }, [p, h, m]), /* @__PURE__ */ t.jsx("div", { className: f.carouselContainer, children: /* @__PURE__ */ t.jsxs("div", { className: f.carousel, children: [
997
+ /* @__PURE__ */ t.jsx("div", { className: f.slideWrapper, children: a.map((u, b) => /* @__PURE__ */ t.jsxs(
998
998
  "div",
999
999
  {
1000
- className: `${l.slide} ${h === f ? l.active : ""}`,
1000
+ className: `${f.slide} ${b === p ? f.active : ""}`,
1001
1001
  children: [
1002
1002
  /* @__PURE__ */ t.jsx(
1003
1003
  "img",
1004
1004
  {
1005
- src: d.image,
1006
- alt: d.title,
1007
- className: l.slideImage
1005
+ src: u.image,
1006
+ alt: u.title,
1007
+ className: f.slideImage
1008
1008
  }
1009
1009
  ),
1010
- /* @__PURE__ */ t.jsxs("div", { className: l.slideContent, children: [
1011
- /* @__PURE__ */ t.jsx("h2", { className: l.slideTitle, children: d.title }),
1012
- /* @__PURE__ */ t.jsx("p", { className: l.slideDescription, children: d.description })
1010
+ /* @__PURE__ */ t.jsxs("div", { className: f.slideContent, children: [
1011
+ /* @__PURE__ */ t.jsx("h2", { className: f.slideTitle, children: u.title }),
1012
+ /* @__PURE__ */ t.jsx("p", { className: f.slideDescription, children: u.description })
1013
1013
  ] })
1014
1014
  ]
1015
1015
  },
1016
- h
1016
+ b
1017
1017
  )) }),
1018
1018
  /* @__PURE__ */ t.jsx(
1019
1019
  "button",
1020
1020
  {
1021
- className: `${l.arrow} ${l.arrowLeft}`,
1022
- onClick: b,
1021
+ className: `${f.arrow} ${f.arrowLeft}`,
1022
+ onClick: v,
1023
1023
  "aria-label": "Previous slide",
1024
1024
  children: "‹"
1025
1025
  }
@@ -1027,26 +1027,447 @@ function pe({
1027
1027
  /* @__PURE__ */ t.jsx(
1028
1028
  "button",
1029
1029
  {
1030
- className: `${l.arrow} ${l.arrowRight}`,
1031
- onClick: c,
1030
+ className: `${f.arrow} ${f.arrowRight}`,
1031
+ onClick: s,
1032
1032
  "aria-label": "Next slide",
1033
1033
  children: "›"
1034
1034
  }
1035
1035
  ),
1036
- /* @__PURE__ */ t.jsx("div", { className: l.dots, children: a.map((d, h) => /* @__PURE__ */ t.jsx(
1036
+ /* @__PURE__ */ t.jsx("div", { className: f.dots, children: a.map((u, b) => /* @__PURE__ */ t.jsx(
1037
+ "button",
1038
+ {
1039
+ className: `${f.dot} ${b === p ? f.active : ""}`,
1040
+ onClick: () => w(b),
1041
+ "aria-label": `Go to slide ${b + 1}`
1042
+ },
1043
+ b
1044
+ )) })
1045
+ ] }) });
1046
+ }
1047
+ const i = (() => {
1048
+ const a = document.createElement("style");
1049
+ return a.textContent = `
1050
+ * {
1051
+ margin: 0;
1052
+ padding: 0;
1053
+ box-sizing: border-box;
1054
+ }
1055
+
1056
+ .testimonialsSection {
1057
+ width: 100%;
1058
+ padding: 5rem 2rem;
1059
+ background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
1060
+ position: relative;
1061
+ overflow: hidden;
1062
+ }
1063
+
1064
+ .testimonialsSection::before {
1065
+ content: '';
1066
+ position: absolute;
1067
+ top: -50%;
1068
+ left: -50%;
1069
+ width: 200%;
1070
+ height: 200%;
1071
+ background: radial-gradient(circle, rgba(0, 216, 255, 0.05) 1px, transparent 1px);
1072
+ background-size: 50px 50px;
1073
+ animation: moveBackground 20s linear infinite;
1074
+ pointer-events: none;
1075
+ }
1076
+
1077
+ @keyframes moveBackground {
1078
+ 0% {
1079
+ transform: translate(0, 0);
1080
+ }
1081
+ 100% {
1082
+ transform: translate(50px, 50px);
1083
+ }
1084
+ }
1085
+
1086
+ .container {
1087
+ max-width: 1200px;
1088
+ margin: 0 auto;
1089
+ position: relative;
1090
+ z-index: 1;
1091
+ }
1092
+
1093
+ .sectionHeader {
1094
+ text-align: center;
1095
+ margin-bottom: 4rem;
1096
+ }
1097
+
1098
+ .sectionTitle {
1099
+ font-size: 3rem;
1100
+ font-weight: 800;
1101
+ color: #1a1a2e;
1102
+ margin-bottom: 1rem;
1103
+ background: linear-gradient(135deg, #1a1a2e 0%, #00d8ff 100%);
1104
+ -webkit-background-clip: text;
1105
+ -webkit-text-fill-color: transparent;
1106
+ background-clip: text;
1107
+ }
1108
+
1109
+ .sectionSubtitle {
1110
+ font-size: 1.2rem;
1111
+ color: #666;
1112
+ max-width: 600px;
1113
+ margin: 0 auto;
1114
+ }
1115
+
1116
+ .testimonialsGrid {
1117
+ display: grid;
1118
+ grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
1119
+ gap: 2rem;
1120
+ margin-bottom: 3rem;
1121
+ }
1122
+
1123
+ .testimonialCard {
1124
+ background: #fff;
1125
+ border-radius: 20px;
1126
+ padding: 2.5rem;
1127
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
1128
+ transition: all 0.4s ease;
1129
+ position: relative;
1130
+ overflow: hidden;
1131
+ }
1132
+
1133
+ .testimonialCard::before {
1134
+ content: '';
1135
+ position: absolute;
1136
+ top: 0;
1137
+ left: 0;
1138
+ width: 100%;
1139
+ height: 4px;
1140
+ background: linear-gradient(90deg, #00d8ff, #0099cc);
1141
+ transform: scaleX(0);
1142
+ transform-origin: left;
1143
+ transition: transform 0.4s ease;
1144
+ }
1145
+
1146
+ .testimonialCard:hover::before {
1147
+ transform: scaleX(1);
1148
+ }
1149
+
1150
+ .testimonialCard:hover {
1151
+ transform: translateY(-10px);
1152
+ box-shadow: 0 15px 40px rgba(0, 216, 255, 0.2);
1153
+ }
1154
+
1155
+ .quoteIcon {
1156
+ font-size: 3rem;
1157
+ color: #00d8ff;
1158
+ opacity: 0.3;
1159
+ line-height: 1;
1160
+ margin-bottom: 1rem;
1161
+ }
1162
+
1163
+ .testimonialText {
1164
+ font-size: 1.1rem;
1165
+ color: #555;
1166
+ line-height: 1.8;
1167
+ margin-bottom: 2rem;
1168
+ font-style: italic;
1169
+ }
1170
+
1171
+ .authorInfo {
1172
+ display: flex;
1173
+ align-items: center;
1174
+ gap: 1rem;
1175
+ }
1176
+
1177
+ .authorImage {
1178
+ width: 60px;
1179
+ height: 60px;
1180
+ border-radius: 50%;
1181
+ object-fit: cover;
1182
+ border: 3px solid #00d8ff;
1183
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
1184
+ }
1185
+
1186
+ .authorDetails {
1187
+ flex: 1;
1188
+ }
1189
+
1190
+ .authorName {
1191
+ font-size: 1.1rem;
1192
+ font-weight: 700;
1193
+ color: #1a1a2e;
1194
+ margin-bottom: 0.2rem;
1195
+ }
1196
+
1197
+ .authorRole {
1198
+ font-size: 0.95rem;
1199
+ color: #00d8ff;
1200
+ font-weight: 500;
1201
+ }
1202
+
1203
+ .ratingStars {
1204
+ display: flex;
1205
+ gap: 0.3rem;
1206
+ margin-top: 0.5rem;
1207
+ }
1208
+
1209
+ .star {
1210
+ color: #ffd700;
1211
+ font-size: 1.1rem;
1212
+ }
1213
+
1214
+ .navigationButtons {
1215
+ display: flex;
1216
+ justify-content: center;
1217
+ gap: 1rem;
1218
+ margin-top: 3rem;
1219
+ }
1220
+
1221
+ .navButton {
1222
+ width: 50px;
1223
+ height: 50px;
1224
+ border-radius: 50%;
1225
+ border: 2px solid #00d8ff;
1226
+ background: #fff;
1227
+ color: #00d8ff;
1228
+ font-size: 1.5rem;
1229
+ cursor: pointer;
1230
+ transition: all 0.3s ease;
1231
+ display: flex;
1232
+ align-items: center;
1233
+ justify-content: center;
1234
+ }
1235
+
1236
+ .navButton:hover {
1237
+ background: #00d8ff;
1238
+ color: #fff;
1239
+ transform: scale(1.1);
1240
+ box-shadow: 0 5px 15px rgba(0, 216, 255, 0.3);
1241
+ }
1242
+
1243
+ .navButton:active {
1244
+ transform: scale(0.95);
1245
+ }
1246
+
1247
+ .dotsContainer {
1248
+ display: flex;
1249
+ justify-content: center;
1250
+ gap: 0.8rem;
1251
+ margin-top: 2rem;
1252
+ }
1253
+
1254
+ .dot {
1255
+ width: 12px;
1256
+ height: 12px;
1257
+ border-radius: 50%;
1258
+ background: #ccc;
1259
+ cursor: pointer;
1260
+ transition: all 0.3s ease;
1261
+ border: none;
1262
+ }
1263
+
1264
+ .dot:hover {
1265
+ background: #00d8ff;
1266
+ transform: scale(1.2);
1267
+ }
1268
+
1269
+ .dot.active {
1270
+ background: #00d8ff;
1271
+ width: 30px;
1272
+ border-radius: 6px;
1273
+ }
1274
+
1275
+ @media (max-width: 768px) {
1276
+ .testimonialsSection {
1277
+ padding: 3rem 1.5rem;
1278
+ }
1279
+
1280
+ .sectionTitle {
1281
+ font-size: 2.2rem;
1282
+ }
1283
+
1284
+ .sectionSubtitle {
1285
+ font-size: 1rem;
1286
+ }
1287
+
1288
+ .testimonialsGrid {
1289
+ grid-template-columns: 1fr;
1290
+ gap: 1.5rem;
1291
+ }
1292
+
1293
+ .testimonialCard {
1294
+ padding: 2rem;
1295
+ }
1296
+
1297
+ .testimonialText {
1298
+ font-size: 1rem;
1299
+ }
1300
+ }
1301
+
1302
+ @media (max-width: 480px) {
1303
+ .testimonialsSection {
1304
+ padding: 2rem 1rem;
1305
+ }
1306
+
1307
+ .sectionTitle {
1308
+ font-size: 1.8rem;
1309
+ }
1310
+
1311
+ .testimonialCard {
1312
+ padding: 1.5rem;
1313
+ }
1314
+
1315
+ .authorImage {
1316
+ width: 50px;
1317
+ height: 50px;
1318
+ }
1319
+
1320
+ .authorName {
1321
+ font-size: 1rem;
1322
+ }
1323
+
1324
+ .authorRole {
1325
+ font-size: 0.85rem;
1326
+ }
1327
+
1328
+ .navButton {
1329
+ width: 45px;
1330
+ height: 45px;
1331
+ font-size: 1.3rem;
1332
+ }
1333
+ }
1334
+ `, document.head.querySelector("[data-testimonials-styles]") || (a.setAttribute("data-testimonials-styles", ""), document.head.appendChild(a)), {
1335
+ testimonialsSection: "testimonialsSection",
1336
+ container: "container",
1337
+ sectionHeader: "sectionHeader",
1338
+ sectionTitle: "sectionTitle",
1339
+ sectionSubtitle: "sectionSubtitle",
1340
+ testimonialsGrid: "testimonialsGrid",
1341
+ testimonialCard: "testimonialCard",
1342
+ quoteIcon: "quoteIcon",
1343
+ testimonialText: "testimonialText",
1344
+ authorInfo: "authorInfo",
1345
+ authorImage: "authorImage",
1346
+ authorDetails: "authorDetails",
1347
+ authorName: "authorName",
1348
+ authorRole: "authorRole",
1349
+ ratingStars: "ratingStars",
1350
+ star: "star",
1351
+ navigationButtons: "navigationButtons",
1352
+ navButton: "navButton",
1353
+ dotsContainer: "dotsContainer",
1354
+ dot: "dot",
1355
+ active: "active"
1356
+ };
1357
+ })();
1358
+ function he({
1359
+ testimonials: a = [
1360
+ {
1361
+ text: "This service completely transformed our business. The team was professional, responsive, and delivered beyond our expectations. Highly recommended!",
1362
+ author: "Sarah Johnson",
1363
+ role: "CEO, Tech Solutions",
1364
+ image: "https://i.pravatar.cc/150?img=1",
1365
+ rating: 5
1366
+ },
1367
+ {
1368
+ text: "Working with this team has been an absolute pleasure. Their attention to detail and commitment to excellence is unmatched in the industry.",
1369
+ author: "Michael Chen",
1370
+ role: "Product Manager, Innovation Labs",
1371
+ image: "https://i.pravatar.cc/150?img=2",
1372
+ rating: 5
1373
+ },
1374
+ {
1375
+ text: "I was impressed by the quality of work and the speed of delivery. They truly understand what clients need and deliver exceptional results every time.",
1376
+ author: "Emily Rodriguez",
1377
+ role: "Founder, Creative Studio",
1378
+ image: "https://i.pravatar.cc/150?img=3",
1379
+ rating: 5
1380
+ },
1381
+ {
1382
+ text: "Outstanding experience from start to finish. The professionalism and expertise demonstrated throughout the project was remarkable.",
1383
+ author: "David Williams",
1384
+ role: "Director, Marketing Agency",
1385
+ image: "https://i.pravatar.cc/150?img=4",
1386
+ rating: 5
1387
+ },
1388
+ {
1389
+ text: "Best decision we made for our company. The results speak for themselves and the ongoing support has been incredible.",
1390
+ author: "Jessica Martinez",
1391
+ role: "Operations Lead, StartupX",
1392
+ image: "https://i.pravatar.cc/150?img=5",
1393
+ rating: 5
1394
+ },
1395
+ {
1396
+ text: "Exceptional quality and service. They went above and beyond to ensure our success. Couldn't be happier with the outcome!",
1397
+ author: "James Anderson",
1398
+ role: "CTO, Digital Dynamics",
1399
+ image: "https://i.pravatar.cc/150?img=6",
1400
+ rating: 5
1401
+ }
1402
+ ],
1403
+ itemsPerPage: h = 3
1404
+ }) {
1405
+ const [m, p] = $(0), n = Math.ceil(a.length / h), s = m * h, v = s + h, w = a.slice(s, v), u = () => {
1406
+ p((d) => (d + 1) % n);
1407
+ }, b = () => {
1408
+ p((d) => (d - 1 + n) % n);
1409
+ }, T = (d) => {
1410
+ p(d);
1411
+ }, N = (d) => [...Array(d)].map((g, E) => /* @__PURE__ */ t.jsx("span", { className: i.star, children: "★" }, E));
1412
+ return /* @__PURE__ */ t.jsx("section", { className: i.testimonialsSection, children: /* @__PURE__ */ t.jsxs("div", { className: i.container, children: [
1413
+ /* @__PURE__ */ t.jsxs("div", { className: i.sectionHeader, children: [
1414
+ /* @__PURE__ */ t.jsx("h2", { className: i.sectionTitle, children: "What Our Clients Say" }),
1415
+ /* @__PURE__ */ t.jsx("p", { className: i.sectionSubtitle, children: "Don't just take our word for it - hear from our satisfied clients about their experience" })
1416
+ ] }),
1417
+ /* @__PURE__ */ t.jsx("div", { className: i.testimonialsGrid, children: w.map((d, g) => /* @__PURE__ */ t.jsxs("div", { className: i.testimonialCard, children: [
1418
+ /* @__PURE__ */ t.jsx("div", { className: i.quoteIcon, children: '"' }),
1419
+ /* @__PURE__ */ t.jsx("p", { className: i.testimonialText, children: d.text }),
1420
+ /* @__PURE__ */ t.jsxs("div", { className: i.authorInfo, children: [
1421
+ /* @__PURE__ */ t.jsx(
1422
+ "img",
1423
+ {
1424
+ src: d.image,
1425
+ alt: d.author,
1426
+ className: i.authorImage
1427
+ }
1428
+ ),
1429
+ /* @__PURE__ */ t.jsxs("div", { className: i.authorDetails, children: [
1430
+ /* @__PURE__ */ t.jsx("h4", { className: i.authorName, children: d.author }),
1431
+ /* @__PURE__ */ t.jsx("p", { className: i.authorRole, children: d.role }),
1432
+ /* @__PURE__ */ t.jsx("div", { className: i.ratingStars, children: N(d.rating) })
1433
+ ] })
1434
+ ] })
1435
+ ] }, s + g)) }),
1436
+ /* @__PURE__ */ t.jsxs("div", { className: i.navigationButtons, children: [
1437
+ /* @__PURE__ */ t.jsx(
1438
+ "button",
1439
+ {
1440
+ className: i.navButton,
1441
+ onClick: b,
1442
+ "aria-label": "Previous testimonials",
1443
+ children: "‹"
1444
+ }
1445
+ ),
1446
+ /* @__PURE__ */ t.jsx(
1447
+ "button",
1448
+ {
1449
+ className: i.navButton,
1450
+ onClick: u,
1451
+ "aria-label": "Next testimonials",
1452
+ children: "›"
1453
+ }
1454
+ )
1455
+ ] }),
1456
+ /* @__PURE__ */ t.jsx("div", { className: i.dotsContainer, children: [...Array(n)].map((d, g) => /* @__PURE__ */ t.jsx(
1037
1457
  "button",
1038
1458
  {
1039
- className: `${l.dot} ${h === f ? l.active : ""}`,
1040
- onClick: () => g(h),
1041
- "aria-label": `Go to slide ${h + 1}`
1459
+ className: `${i.dot} ${g === m ? i.active : ""}`,
1460
+ onClick: () => T(g),
1461
+ "aria-label": `Go to page ${g + 1}`
1042
1462
  },
1043
- h
1463
+ g
1044
1464
  )) })
1045
1465
  ] }) });
1046
1466
  }
1047
1467
  export {
1048
- ue as Card,
1049
- pe as Carousel,
1050
- fe as HeroSection,
1051
- de as Navbar
1468
+ me as Card,
1469
+ fe as Carousel,
1470
+ pe as HeroSection,
1471
+ ue as Navbar,
1472
+ he as Testimonials
1052
1473
  };