nethera-vue-components 1.6.3 → 1.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { createElementBlock as
|
|
2
|
-
const
|
|
3
|
-
const
|
|
1
|
+
import { createElementBlock as c, openBlock as u, normalizeStyle as _, normalizeClass as A, renderSlot as z, ref as re, computed as pe, resolveDirective as ke, withDirectives as ge, Fragment as ie, renderList as ne, createCommentVNode as C, createStaticVNode as he, createElementVNode as f, resolveComponent as xe, createBlock as ve, toDisplayString as ae, createVNode as Se, vShow as Me, withKeys as ue, withModifiers as ce, createTextVNode as Ce, unref as _e, onMounted as be, onBeforeUnmount as Oe, Transition as Ie, withCtx as Te, onUnmounted as ze } from "vue";
|
|
2
|
+
const R = (e, t) => {
|
|
3
|
+
const n = e.__vccOpts || e;
|
|
4
4
|
for (const [r, s] of t)
|
|
5
|
-
|
|
6
|
-
return
|
|
5
|
+
n[r] = s;
|
|
6
|
+
return n;
|
|
7
7
|
}, De = {
|
|
8
8
|
name: "CustomButton",
|
|
9
9
|
props: {
|
|
@@ -85,21 +85,21 @@ const E = (e, t) => {
|
|
|
85
85
|
},
|
|
86
86
|
emits: ["click"]
|
|
87
87
|
}, Be = ["disabled"];
|
|
88
|
-
function
|
|
89
|
-
return u(),
|
|
88
|
+
function Ae(e, t, n, r, s, i) {
|
|
89
|
+
return u(), c("button", {
|
|
90
90
|
class: A([
|
|
91
91
|
"custom-button",
|
|
92
|
-
`custom-button--${
|
|
93
|
-
{ "custom-button--disabled":
|
|
92
|
+
`custom-button--${n.variant}`,
|
|
93
|
+
{ "custom-button--disabled": n.disabled }
|
|
94
94
|
]),
|
|
95
|
-
disabled:
|
|
95
|
+
disabled: n.disabled,
|
|
96
96
|
onClick: t[0] || (t[0] = (o) => e.$emit("click", o)),
|
|
97
|
-
style:
|
|
97
|
+
style: _(i.glowStyles)
|
|
98
98
|
}, [
|
|
99
99
|
z(e.$slots, "default", {}, void 0, !0)
|
|
100
100
|
], 14, Be);
|
|
101
101
|
}
|
|
102
|
-
const
|
|
102
|
+
const $e = /* @__PURE__ */ R(De, [["render", Ae], ["__scopeId", "data-v-7f47605a"]]), Re = {
|
|
103
103
|
__name: "AnimatedReveal",
|
|
104
104
|
props: {
|
|
105
105
|
delay: { type: String, default: "0s" },
|
|
@@ -108,46 +108,46 @@ const Ae = /* @__PURE__ */ E(De, [["render", $e], ["__scopeId", "data-v-7f47605a
|
|
|
108
108
|
shouldAnimate: { type: Boolean, default: !1 }
|
|
109
109
|
},
|
|
110
110
|
setup(e) {
|
|
111
|
-
const t = e,
|
|
112
|
-
() => t.observe ?
|
|
111
|
+
const t = e, n = re(!1), r = re(!1), s = re(null), i = pe(() => `animate-${t.animation}`), o = pe(
|
|
112
|
+
() => t.observe ? n.value : t.shouldAnimate
|
|
113
113
|
);
|
|
114
114
|
function h(d) {
|
|
115
|
-
d && (
|
|
115
|
+
d && (n.value = !0);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function v() {
|
|
118
118
|
r.value = !0;
|
|
119
119
|
}
|
|
120
120
|
function l() {
|
|
121
121
|
r.value = !0;
|
|
122
122
|
}
|
|
123
|
-
return (d,
|
|
124
|
-
const
|
|
125
|
-
return
|
|
123
|
+
return (d, m) => {
|
|
124
|
+
const b = ke("observe-visibility");
|
|
125
|
+
return ge((u(), c("div", {
|
|
126
126
|
ref_key: "root",
|
|
127
127
|
ref: s,
|
|
128
128
|
class: A([
|
|
129
|
-
o.value ?
|
|
129
|
+
o.value ? i.value : "pre-slide-in",
|
|
130
130
|
r.value ? "visible" : "invisible"
|
|
131
131
|
]),
|
|
132
|
-
style:
|
|
132
|
+
style: _({
|
|
133
133
|
animationDelay: e.delay,
|
|
134
134
|
animationFillMode: "forwards",
|
|
135
135
|
minHeight: "100px",
|
|
136
136
|
display: "block"
|
|
137
137
|
}),
|
|
138
|
-
onAnimationstart:
|
|
138
|
+
onAnimationstart: v,
|
|
139
139
|
onAnimationend: l
|
|
140
140
|
}, [
|
|
141
141
|
z(d.$slots, "default", {}, void 0, !0)
|
|
142
142
|
], 38)), [
|
|
143
|
-
[
|
|
143
|
+
[b, {
|
|
144
144
|
callback: h,
|
|
145
145
|
once: !0
|
|
146
146
|
}]
|
|
147
147
|
]);
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
|
-
},
|
|
150
|
+
}, Ve = /* @__PURE__ */ R(Re, [["__scopeId", "data-v-9ba35d08"]]), Xe = {
|
|
151
151
|
name: "BackgroundShapes",
|
|
152
152
|
data() {
|
|
153
153
|
return {
|
|
@@ -178,66 +178,66 @@ const Ae = /* @__PURE__ */ E(De, [["render", $e], ["__scopeId", "data-v-7f47605a
|
|
|
178
178
|
e !== this.currentBreakpoint && (this.currentBreakpoint = e, this.generateShapes());
|
|
179
179
|
},
|
|
180
180
|
generateShapes() {
|
|
181
|
-
const e = window.innerWidth, t = 2 * (window.innerHeight / 3), r = Math.floor((e + t) / 300) * this.shapeMultiplier, s = ["cube-1", "cube-2", "cube-3"],
|
|
181
|
+
const e = window.innerWidth, t = 2 * (window.innerHeight / 3), r = Math.floor((e + t) / 300) * this.shapeMultiplier, s = ["cube-1", "cube-2", "cube-3"], i = [];
|
|
182
182
|
for (let o = 0; o < r; o++) {
|
|
183
|
-
let h = 0,
|
|
183
|
+
let h = 0, v, l = !1;
|
|
184
184
|
do
|
|
185
|
-
|
|
185
|
+
v = {
|
|
186
186
|
top: Math.random() * 95,
|
|
187
187
|
left: Math.random() * 100
|
|
188
|
-
}, l =
|
|
189
|
-
const
|
|
190
|
-
return Math.sqrt(
|
|
188
|
+
}, l = i.some((d) => {
|
|
189
|
+
const m = d.top - v.top, b = d.left - v.left;
|
|
190
|
+
return Math.sqrt(m * m + b * b) < this.minDistance;
|
|
191
191
|
}), h++;
|
|
192
192
|
while (l && h < 10);
|
|
193
|
-
l ||
|
|
193
|
+
l || i.push({
|
|
194
194
|
id: o,
|
|
195
195
|
type: s[Math.floor(Math.random() * s.length)],
|
|
196
|
-
top:
|
|
197
|
-
left:
|
|
196
|
+
top: v.top,
|
|
197
|
+
left: v.left,
|
|
198
198
|
size: Math.floor(Math.random() * 100) + 20,
|
|
199
199
|
// size between 20 and 120px
|
|
200
200
|
delay: Math.random() * 5
|
|
201
201
|
});
|
|
202
202
|
}
|
|
203
|
-
this.shapes =
|
|
203
|
+
this.shapes = i;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
},
|
|
206
|
+
}, Ee = { class: "background-shapes absolute inset-0 pointer-events-none" }, Ne = {
|
|
207
207
|
key: 0,
|
|
208
208
|
class: "cube animate-rotate3d_1"
|
|
209
|
-
},
|
|
209
|
+
}, Le = {
|
|
210
210
|
key: 1,
|
|
211
211
|
class: "cube animate-rotate3d_3"
|
|
212
|
-
},
|
|
212
|
+
}, je = {
|
|
213
213
|
key: 2,
|
|
214
214
|
class: "cube animate-rotate3d_2"
|
|
215
215
|
};
|
|
216
|
-
function
|
|
217
|
-
return u(),
|
|
218
|
-
(u(!0),
|
|
216
|
+
function Pe(e, t, n, r, s, i) {
|
|
217
|
+
return u(), c("div", Ee, [
|
|
218
|
+
(u(!0), c(ie, null, ne(s.shapes, (o) => (u(), c("div", {
|
|
219
219
|
key: o.id,
|
|
220
220
|
class: "shape-container",
|
|
221
|
-
style:
|
|
221
|
+
style: _({
|
|
222
222
|
top: o.top + "%",
|
|
223
223
|
left: o.left + "%",
|
|
224
224
|
"--shape-size": o.size + "px",
|
|
225
225
|
animationDelay: o.delay + "s"
|
|
226
226
|
})
|
|
227
227
|
}, [
|
|
228
|
-
o.type === "cube-1" ? (u(),
|
|
229
|
-
|
|
230
|
-
]))) :
|
|
231
|
-
o.type === "cube-2" ? (u(),
|
|
232
|
-
|
|
233
|
-
]))) :
|
|
234
|
-
o.type === "cube-3" ? (u(),
|
|
235
|
-
|
|
236
|
-
]))) :
|
|
228
|
+
o.type === "cube-1" ? (u(), c("div", Ne, t[0] || (t[0] = [
|
|
229
|
+
he('<div class="cube-face front" data-v-b7ea069f></div><div class="cube-face back" data-v-b7ea069f></div><div class="cube-face right" data-v-b7ea069f></div><div class="cube-face left" data-v-b7ea069f></div><div class="cube-face top" data-v-b7ea069f></div><div class="cube-face bottom" data-v-b7ea069f></div>', 6)
|
|
230
|
+
]))) : C("", !0),
|
|
231
|
+
o.type === "cube-2" ? (u(), c("div", Le, t[1] || (t[1] = [
|
|
232
|
+
he('<div class="cube-face front" data-v-b7ea069f></div><div class="cube-face back" data-v-b7ea069f></div><div class="cube-face right" data-v-b7ea069f></div><div class="cube-face left" data-v-b7ea069f></div><div class="cube-face top" data-v-b7ea069f></div><div class="cube-face bottom" data-v-b7ea069f></div>', 6)
|
|
233
|
+
]))) : C("", !0),
|
|
234
|
+
o.type === "cube-3" ? (u(), c("div", je, t[2] || (t[2] = [
|
|
235
|
+
he('<div class="cube-face front" data-v-b7ea069f></div><div class="cube-face back" data-v-b7ea069f></div><div class="cube-face right" data-v-b7ea069f></div><div class="cube-face left" data-v-b7ea069f></div><div class="cube-face top" data-v-b7ea069f></div><div class="cube-face bottom" data-v-b7ea069f></div>', 6)
|
|
236
|
+
]))) : C("", !0)
|
|
237
237
|
], 4))), 128))
|
|
238
238
|
]);
|
|
239
239
|
}
|
|
240
|
-
const
|
|
240
|
+
const We = /* @__PURE__ */ R(Xe, [["render", Pe], ["__scopeId", "data-v-b7ea069f"]]), Ye = {
|
|
241
241
|
name: "BurgerButton",
|
|
242
242
|
props: {
|
|
243
243
|
Action: {
|
|
@@ -250,19 +250,19 @@ const Pe = /* @__PURE__ */ E(Ee, [["render", Ve], ["__scopeId", "data-v-b7ea069f
|
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
|
-
function He(e, t,
|
|
254
|
-
return u(),
|
|
255
|
-
onClick: t[0] || (t[0] = (...o) =>
|
|
253
|
+
function He(e, t, n, r, s, i) {
|
|
254
|
+
return u(), c("button", {
|
|
255
|
+
onClick: t[0] || (t[0] = (...o) => n.Action && n.Action(...o)),
|
|
256
256
|
"aria-label": "Ouvrir le menu"
|
|
257
257
|
}, [
|
|
258
|
-
|
|
259
|
-
(u(),
|
|
258
|
+
f("div", null, [
|
|
259
|
+
(u(), c("svg", {
|
|
260
260
|
height: "8",
|
|
261
261
|
width: "24",
|
|
262
262
|
xmlns: "http://www.w3.org/2000/svg",
|
|
263
|
-
class: A(
|
|
263
|
+
class: A(n.isMenuOpen ? "-rotate-45 translate-x-[1px] translate-y-[8px] transform duration-300" : "transform duration-300")
|
|
264
264
|
}, t[1] || (t[1] = [
|
|
265
|
-
|
|
265
|
+
f("line", {
|
|
266
266
|
x1: "0",
|
|
267
267
|
y1: "0",
|
|
268
268
|
x2: "250",
|
|
@@ -270,13 +270,13 @@ function He(e, t, i, r, s, n) {
|
|
|
270
270
|
style: { stroke: "currentColor", "stroke-width": "50%" }
|
|
271
271
|
}, null, -1)
|
|
272
272
|
]), 2)),
|
|
273
|
-
(u(),
|
|
273
|
+
(u(), c("svg", {
|
|
274
274
|
height: "8",
|
|
275
275
|
width: "24",
|
|
276
276
|
xmlns: "http://www.w3.org/2000/svg",
|
|
277
|
-
class: A(
|
|
277
|
+
class: A(n.isMenuOpen ? "opacity-0 transform duration-300" : "transform duration-300")
|
|
278
278
|
}, t[2] || (t[2] = [
|
|
279
|
-
|
|
279
|
+
f("line", {
|
|
280
280
|
x1: "0",
|
|
281
281
|
y1: "0",
|
|
282
282
|
x2: "250",
|
|
@@ -284,13 +284,13 @@ function He(e, t, i, r, s, n) {
|
|
|
284
284
|
style: { stroke: "currentColor", "stroke-width": "50%" }
|
|
285
285
|
}, null, -1)
|
|
286
286
|
]), 2)),
|
|
287
|
-
(u(),
|
|
287
|
+
(u(), c("svg", {
|
|
288
288
|
height: "4",
|
|
289
289
|
width: "24",
|
|
290
290
|
xmlns: "http://www.w3.org/2000/svg",
|
|
291
|
-
class: A(
|
|
291
|
+
class: A(n.isMenuOpen ? "rotate-45 -translate-x-[1px] -translate-y-[8px] transform duration-300" : "transform duration-300")
|
|
292
292
|
}, t[3] || (t[3] = [
|
|
293
|
-
|
|
293
|
+
f("line", {
|
|
294
294
|
x1: "0",
|
|
295
295
|
y1: "0",
|
|
296
296
|
x2: "250",
|
|
@@ -301,7 +301,7 @@ function He(e, t, i, r, s, n) {
|
|
|
301
301
|
])
|
|
302
302
|
]);
|
|
303
303
|
}
|
|
304
|
-
const ye = /* @__PURE__ */
|
|
304
|
+
const ye = /* @__PURE__ */ R(Ye, [["render", He]]), qe = {
|
|
305
305
|
name: "GenericNav",
|
|
306
306
|
components: {
|
|
307
307
|
BurgerButton: ye
|
|
@@ -424,10 +424,10 @@ const ye = /* @__PURE__ */ E(Ye, [["render", He]]), qe = {
|
|
|
424
424
|
this.initializeMenuState();
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
|
-
},
|
|
427
|
+
}, Fe = {
|
|
428
428
|
key: 0,
|
|
429
429
|
class: "sidebar-container"
|
|
430
|
-
},
|
|
430
|
+
}, Ze = {
|
|
431
431
|
key: 1,
|
|
432
432
|
class: "sidebar-collapsed"
|
|
433
433
|
}, Ge = { class: "sidebar-content" }, Ke = { class: "sidebar-header" }, Ue = { class: "flex items-center justify-between" }, Je = { class: "flex items-center" }, Qe = {
|
|
@@ -446,85 +446,85 @@ const ye = /* @__PURE__ */ E(Ye, [["render", He]]), qe = {
|
|
|
446
446
|
key: 1,
|
|
447
447
|
class: "md:flex md:items-center md:space-x-4"
|
|
448
448
|
}, lt = { class: "navbar-body" };
|
|
449
|
-
function dt(e, t,
|
|
450
|
-
const o =
|
|
451
|
-
return
|
|
452
|
-
|
|
449
|
+
function dt(e, t, n, r, s, i) {
|
|
450
|
+
const o = xe("burger-button");
|
|
451
|
+
return n.isSidebar ? (u(), c("div", Fe, [
|
|
452
|
+
n.showBurgerButton ? (u(), ve(o, {
|
|
453
453
|
key: 0,
|
|
454
|
-
Action:
|
|
454
|
+
Action: i.toggleMenu,
|
|
455
455
|
isMenuOpen: s.isMenuOpen,
|
|
456
|
-
class: A(["sidebar-toggle-btn", `sidebar-toggle-${
|
|
457
|
-
}, null, 8, ["Action", "isMenuOpen", "class"])) :
|
|
458
|
-
s.isMenuOpen ?
|
|
456
|
+
class: A(["sidebar-toggle-btn", `sidebar-toggle-${n.sidebarPosition}`])
|
|
457
|
+
}, null, 8, ["Action", "isMenuOpen", "class"])) : C("", !0),
|
|
458
|
+
s.isMenuOpen ? C("", !0) : (u(), c("div", Ze, [
|
|
459
459
|
z(e.$slots, "collapsed", {}, void 0, !0)
|
|
460
460
|
])),
|
|
461
|
-
|
|
461
|
+
f("nav", {
|
|
462
462
|
class: A([
|
|
463
463
|
"sidebar",
|
|
464
|
-
`sidebar-${
|
|
465
|
-
`sidebar-${
|
|
464
|
+
`sidebar-${n.sidebarPosition}`,
|
|
465
|
+
`sidebar-${n.animationType}`,
|
|
466
466
|
{ "sidebar-open": s.isMenuOpen }
|
|
467
467
|
]),
|
|
468
|
-
style:
|
|
468
|
+
style: _({ width: s.isMenuOpen ? n.fullWidth : n.collapsedWidth })
|
|
469
469
|
}, [
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
470
|
+
f("div", Ge, [
|
|
471
|
+
f("div", Ke, [
|
|
472
|
+
f("div", Ue, [
|
|
473
|
+
f("div", Je, [
|
|
474
474
|
z(e.$slots, "logo", {}, void 0, !0),
|
|
475
|
-
s.isMenuOpen ? (u(),
|
|
475
|
+
s.isMenuOpen ? (u(), c("h1", Qe, ae(n.title), 1)) : C("", !0)
|
|
476
476
|
])
|
|
477
477
|
])
|
|
478
478
|
]),
|
|
479
|
-
s.isMenuOpen ? (u(),
|
|
479
|
+
s.isMenuOpen ? (u(), c("div", et, [
|
|
480
480
|
z(e.$slots, "sidebar", {}, void 0, !0)
|
|
481
|
-
])) :
|
|
481
|
+
])) : C("", !0)
|
|
482
482
|
])
|
|
483
483
|
], 6)
|
|
484
|
-
])) : (u(),
|
|
484
|
+
])) : (u(), c("nav", {
|
|
485
485
|
key: 1,
|
|
486
486
|
class: A([
|
|
487
487
|
"navbar-container",
|
|
488
|
-
`navbar-${
|
|
489
|
-
{ "navbar-open": s.isMenuOpen &&
|
|
488
|
+
`navbar-${n.animationType}`,
|
|
489
|
+
{ "navbar-open": s.isMenuOpen && n.isMobile }
|
|
490
490
|
]),
|
|
491
|
-
style:
|
|
491
|
+
style: _({ height: s.isMenuOpen && n.isMobile ? n.fullHeight : "5rem" })
|
|
492
492
|
}, [
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
493
|
+
f("div", tt, [
|
|
494
|
+
f("div", it, [
|
|
495
|
+
f("div", nt, [
|
|
496
|
+
f("div", ot, [
|
|
497
497
|
z(e.$slots, "logo", {}, void 0, !0),
|
|
498
|
-
|
|
498
|
+
f("h1", st, ae(n.title), 1)
|
|
499
499
|
])
|
|
500
500
|
]),
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
Action:
|
|
501
|
+
n.isMobile ? (u(), c("div", rt, [
|
|
502
|
+
Se(o, {
|
|
503
|
+
Action: i.toggleMenu,
|
|
504
504
|
isMenuOpen: s.isMenuOpen
|
|
505
505
|
}, null, 8, ["Action", "isMenuOpen"])
|
|
506
|
-
])) :
|
|
507
|
-
|
|
506
|
+
])) : C("", !0),
|
|
507
|
+
n.isMobile ? C("", !0) : (u(), c("div", at, [
|
|
508
508
|
z(e.$slots, "desktop", {}, void 0, !0)
|
|
509
509
|
]))
|
|
510
510
|
])
|
|
511
511
|
]),
|
|
512
|
-
|
|
512
|
+
ge(f("div", {
|
|
513
513
|
class: A([
|
|
514
514
|
"navbar-mobile",
|
|
515
|
-
`navbar-mobile-${
|
|
515
|
+
`navbar-mobile-${n.animationType}`,
|
|
516
516
|
{ "navbar-mobile-open": s.isMenuOpen }
|
|
517
517
|
])
|
|
518
518
|
}, [
|
|
519
|
-
|
|
519
|
+
f("div", lt, [
|
|
520
520
|
z(e.$slots, "mobile", {}, void 0, !0)
|
|
521
521
|
])
|
|
522
522
|
], 2), [
|
|
523
|
-
[Me,
|
|
523
|
+
[Me, n.isMobile]
|
|
524
524
|
])
|
|
525
525
|
], 6));
|
|
526
526
|
}
|
|
527
|
-
const ut = /* @__PURE__ */
|
|
527
|
+
const ut = /* @__PURE__ */ R(qe, [["render", dt], ["__scopeId", "data-v-24580342"]]), ct = {
|
|
528
528
|
name: "GlowCard",
|
|
529
529
|
props: {
|
|
530
530
|
glowColor: {
|
|
@@ -604,8 +604,8 @@ const ut = /* @__PURE__ */ E(qe, [["render", dt], ["__scopeId", "data-v-24580342
|
|
|
604
604
|
methods: {
|
|
605
605
|
handleMouseMove(e) {
|
|
606
606
|
if (!this.cardRect || this.isMobile) return;
|
|
607
|
-
const t = e.clientX - this.cardRect.left,
|
|
608
|
-
this.mouseX = t, this.mouseY =
|
|
607
|
+
const t = e.clientX - this.cardRect.left, n = e.clientY - this.cardRect.top;
|
|
608
|
+
this.mouseX = t, this.mouseY = n;
|
|
609
609
|
},
|
|
610
610
|
handleMouseLeave() {
|
|
611
611
|
this.isMobile || (this.mouseX = -300, this.mouseY = -300, this.isHovered = !1);
|
|
@@ -630,30 +630,30 @@ const ut = /* @__PURE__ */ E(qe, [["render", dt], ["__scopeId", "data-v-24580342
|
|
|
630
630
|
window.removeEventListener("scroll", this.handleScroll, !0), window.removeEventListener("resize", this.checkIfMobile);
|
|
631
631
|
}
|
|
632
632
|
}, ft = { class: "glow-card-content" };
|
|
633
|
-
function ht(e, t,
|
|
634
|
-
return u(),
|
|
633
|
+
function ht(e, t, n, r, s, i) {
|
|
634
|
+
return u(), c("div", {
|
|
635
635
|
class: "glow-card",
|
|
636
|
-
onMousemove: t[0] || (t[0] = (...o) =>
|
|
637
|
-
onMouseenter: t[1] || (t[1] = (...o) =>
|
|
638
|
-
onMouseleave: t[2] || (t[2] = (...o) =>
|
|
636
|
+
onMousemove: t[0] || (t[0] = (...o) => i.handleMouseMove && i.handleMouseMove(...o)),
|
|
637
|
+
onMouseenter: t[1] || (t[1] = (...o) => i.handleMouseEnter && i.handleMouseEnter(...o)),
|
|
638
|
+
onMouseleave: t[2] || (t[2] = (...o) => i.handleMouseLeave && i.handleMouseLeave(...o)),
|
|
639
639
|
ref: "card"
|
|
640
640
|
}, [
|
|
641
|
-
|
|
641
|
+
n.showGrid && !s.isMobile ? (u(), c("div", {
|
|
642
642
|
key: 0,
|
|
643
643
|
class: "glow-grid",
|
|
644
|
-
style:
|
|
645
|
-
}, null, 4)) :
|
|
646
|
-
|
|
644
|
+
style: _(i.gridMaskStyle)
|
|
645
|
+
}, null, 4)) : C("", !0),
|
|
646
|
+
f("div", ft, [
|
|
647
647
|
z(e.$slots, "default", {}, void 0, !0)
|
|
648
648
|
]),
|
|
649
|
-
|
|
649
|
+
n.showGlow && !s.isMobile ? (u(), c("div", {
|
|
650
650
|
key: 1,
|
|
651
651
|
class: "glow-effect",
|
|
652
|
-
style:
|
|
653
|
-
}, null, 4)) :
|
|
652
|
+
style: _(i.glowStyle)
|
|
653
|
+
}, null, 4)) : C("", !0)
|
|
654
654
|
], 544);
|
|
655
655
|
}
|
|
656
|
-
const mt = /* @__PURE__ */
|
|
656
|
+
const mt = /* @__PURE__ */ R(ct, [["render", ht], ["__scopeId", "data-v-d6b1d83c"]]), pt = {
|
|
657
657
|
name: "MouseOriented",
|
|
658
658
|
props: {
|
|
659
659
|
detectionZoneSize: {
|
|
@@ -754,7 +754,7 @@ const mt = /* @__PURE__ */ E(ct, [["render", ht], ["__scopeId", "data-v-d6b1d83c
|
|
|
754
754
|
},
|
|
755
755
|
mousePositionStyle() {
|
|
756
756
|
if (!this.containerRect || !this.active) return {};
|
|
757
|
-
const e = this.detectionZoneSize / 100, t = this.containerRect.left + this.containerRect.width / 2,
|
|
757
|
+
const e = this.detectionZoneSize / 100, t = this.containerRect.left + this.containerRect.width / 2, n = this.containerRect.top + this.containerRect.height / 2, r = this.containerRect.width * e / 2, s = (this.mouseX - t) / r * 50, i = (this.mouseY - n) / r * 50, o = Math.min(Math.max(s, -50), 50), h = Math.min(Math.max(i, -50), 50);
|
|
758
758
|
return {
|
|
759
759
|
position: "absolute",
|
|
760
760
|
top: "50%",
|
|
@@ -782,9 +782,9 @@ const mt = /* @__PURE__ */ E(ct, [["render", ht], ["__scopeId", "data-v-d6b1d83c
|
|
|
782
782
|
methods: {
|
|
783
783
|
handleMouseMove(e) {
|
|
784
784
|
if (this.active && (this.mouseX = e.clientX, this.mouseY = e.clientY, this.containerRect)) {
|
|
785
|
-
const t = this.containerRect.left + this.containerRect.width / 2,
|
|
786
|
-
if (e.clientX >=
|
|
787
|
-
const l = (this.mouseX - t) / (this.containerRect.width / 2), d = (this.mouseY -
|
|
785
|
+
const t = this.containerRect.left + this.containerRect.width / 2, n = this.containerRect.top + this.containerRect.height / 2, r = window.innerWidth * (this.detectionZoneSize / 100), s = window.innerHeight * (this.detectionZoneSize / 100), i = t - r / 2, o = t + r / 2, h = n - s / 2, v = n + s / 2;
|
|
786
|
+
if (e.clientX >= i && e.clientX <= o && e.clientY >= h && e.clientY <= v) {
|
|
787
|
+
const l = (this.mouseX - t) / (this.containerRect.width / 2), d = (this.mouseY - n) / (this.containerRect.height / 2);
|
|
788
788
|
this.targetRotateX = Math.min(Math.max(-d * this.intensity, -this.maxAngle), this.maxAngle), this.targetRotateY = Math.min(Math.max(l * this.intensity, -this.maxAngle), this.maxAngle), this.animationFrame || this.animate();
|
|
789
789
|
}
|
|
790
790
|
}
|
|
@@ -798,271 +798,271 @@ const mt = /* @__PURE__ */ E(ct, [["render", ht], ["__scopeId", "data-v-d6b1d83c
|
|
|
798
798
|
this.containerRect = this.$refs.container.getBoundingClientRect();
|
|
799
799
|
}
|
|
800
800
|
}
|
|
801
|
-
},
|
|
801
|
+
}, gt = {
|
|
802
802
|
key: 0,
|
|
803
803
|
class: "debug-lines"
|
|
804
804
|
};
|
|
805
|
-
function vt(e, t,
|
|
806
|
-
return u(),
|
|
805
|
+
function vt(e, t, n, r, s, i) {
|
|
806
|
+
return u(), c("div", {
|
|
807
807
|
class: "mouse-oriented-container",
|
|
808
808
|
ref: "container",
|
|
809
|
-
style:
|
|
809
|
+
style: _(i.containerStyle)
|
|
810
810
|
}, [
|
|
811
|
-
|
|
811
|
+
n.debug ? (u(), c("div", {
|
|
812
812
|
key: 0,
|
|
813
813
|
class: "mouse-detection-zone",
|
|
814
|
-
style:
|
|
814
|
+
style: _(i.mouseDetectionZoneStyle)
|
|
815
815
|
}, [
|
|
816
|
-
|
|
816
|
+
f("div", {
|
|
817
817
|
class: "mouse-position-indicator",
|
|
818
|
-
style:
|
|
818
|
+
style: _(i.mousePositionStyle)
|
|
819
819
|
}, null, 4)
|
|
820
|
-
], 4)) :
|
|
821
|
-
|
|
820
|
+
], 4)) : C("", !0),
|
|
821
|
+
f("div", {
|
|
822
822
|
class: "mouse-oriented-content",
|
|
823
|
-
style:
|
|
823
|
+
style: _(i.contentStyle)
|
|
824
824
|
}, [
|
|
825
825
|
z(e.$slots, "default", {}, void 0, !0),
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
]))) :
|
|
826
|
+
n.debug ? (u(), c("div", gt, t[0] || (t[0] = [
|
|
827
|
+
f("div", { class: "debug-line horizontal" }, null, -1),
|
|
828
|
+
f("div", { class: "debug-line vertical" }, null, -1)
|
|
829
|
+
]))) : C("", !0)
|
|
830
830
|
], 4)
|
|
831
831
|
], 4);
|
|
832
832
|
}
|
|
833
|
-
const bt = /* @__PURE__ */
|
|
833
|
+
const bt = /* @__PURE__ */ R(pt, [["render", vt], ["__scopeId", "data-v-bf8c32e0"]]);
|
|
834
834
|
var yt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
835
835
|
function wt(e) {
|
|
836
836
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
837
837
|
}
|
|
838
838
|
var we = { exports: {} };
|
|
839
839
|
(function(e, t) {
|
|
840
|
-
(function(
|
|
840
|
+
(function(n, r) {
|
|
841
841
|
e.exports = r();
|
|
842
842
|
})(yt, function() {
|
|
843
|
-
return function(
|
|
844
|
-
function r(
|
|
845
|
-
if (s[
|
|
846
|
-
var o = s[
|
|
847
|
-
return i
|
|
843
|
+
return function(n) {
|
|
844
|
+
function r(i) {
|
|
845
|
+
if (s[i]) return s[i].exports;
|
|
846
|
+
var o = s[i] = { exports: {}, id: i, loaded: !1 };
|
|
847
|
+
return n[i].call(o.exports, o, o.exports, r), o.loaded = !0, o.exports;
|
|
848
848
|
}
|
|
849
849
|
var s = {};
|
|
850
|
-
return r.m =
|
|
851
|
-
}([function(
|
|
852
|
-
function
|
|
850
|
+
return r.m = n, r.c = s, r.p = "dist/", r(0);
|
|
851
|
+
}([function(n, r, s) {
|
|
852
|
+
function i(g) {
|
|
853
853
|
return g && g.__esModule ? g : { default: g };
|
|
854
854
|
}
|
|
855
855
|
var o = Object.assign || function(g) {
|
|
856
856
|
for (var B = 1; B < arguments.length; B++) {
|
|
857
|
-
var
|
|
858
|
-
for (var G in
|
|
857
|
+
var j = arguments[B];
|
|
858
|
+
for (var G in j) Object.prototype.hasOwnProperty.call(j, G) && (g[G] = j[G]);
|
|
859
859
|
}
|
|
860
860
|
return g;
|
|
861
|
-
}, h = s(1),
|
|
861
|
+
}, h = s(1), v = (i(h), s(6)), l = i(v), d = s(7), m = i(d), b = s(8), y = i(b), w = s(9), T = i(w), O = s(10), N = i(O), Q = s(11), q = i(Q), F = s(14), oe = i(F), V = [], se = !1, S = { offset: 120, delay: 0, easing: "ease", duration: 400, disable: !1, once: !1, startEvent: "DOMContentLoaded", throttleDelay: 99, debounceDelay: 50, disableMutationObserver: !1 }, L = function() {
|
|
862
862
|
var g = arguments.length > 0 && arguments[0] !== void 0 && arguments[0];
|
|
863
|
-
if (g && (
|
|
864
|
-
},
|
|
865
|
-
|
|
866
|
-
},
|
|
867
|
-
|
|
863
|
+
if (g && (se = !0), se) return V = (0, q.default)(V, S), (0, N.default)(V, S.once), V;
|
|
864
|
+
}, Z = function() {
|
|
865
|
+
V = (0, oe.default)(), L();
|
|
866
|
+
}, p = function() {
|
|
867
|
+
V.forEach(function(g, B) {
|
|
868
868
|
g.node.removeAttribute("data-aos"), g.node.removeAttribute("data-aos-easing"), g.node.removeAttribute("data-aos-duration"), g.node.removeAttribute("data-aos-delay");
|
|
869
869
|
});
|
|
870
870
|
}, a = function(g) {
|
|
871
871
|
return g === !0 || g === "mobile" && T.default.mobile() || g === "phone" && T.default.phone() || g === "tablet" && T.default.tablet() || typeof g == "function" && g() === !0;
|
|
872
|
-
},
|
|
873
|
-
|
|
872
|
+
}, k = function(g) {
|
|
873
|
+
S = o(S, g), V = (0, oe.default)();
|
|
874
874
|
var B = document.all && !window.atob;
|
|
875
|
-
return a(
|
|
875
|
+
return a(S.disable) || B ? p() : (S.disableMutationObserver || y.default.isSupported() || (console.info(`
|
|
876
876
|
aos: MutationObserver is not supported on this browser,
|
|
877
877
|
code mutations observing has been disabled.
|
|
878
878
|
You may have to call "refreshHard()" by yourself.
|
|
879
|
-
`),
|
|
880
|
-
|
|
881
|
-
}) : document.addEventListener(
|
|
882
|
-
|
|
883
|
-
}), window.addEventListener("resize", (0,
|
|
884
|
-
(0,
|
|
885
|
-
},
|
|
879
|
+
`), S.disableMutationObserver = !0), document.querySelector("body").setAttribute("data-aos-easing", S.easing), document.querySelector("body").setAttribute("data-aos-duration", S.duration), document.querySelector("body").setAttribute("data-aos-delay", S.delay), S.startEvent === "DOMContentLoaded" && ["complete", "interactive"].indexOf(document.readyState) > -1 ? L(!0) : S.startEvent === "load" ? window.addEventListener(S.startEvent, function() {
|
|
880
|
+
L(!0);
|
|
881
|
+
}) : document.addEventListener(S.startEvent, function() {
|
|
882
|
+
L(!0);
|
|
883
|
+
}), window.addEventListener("resize", (0, m.default)(L, S.debounceDelay, !0)), window.addEventListener("orientationchange", (0, m.default)(L, S.debounceDelay, !0)), window.addEventListener("scroll", (0, l.default)(function() {
|
|
884
|
+
(0, N.default)(V, S.once);
|
|
885
|
+
}, S.throttleDelay)), S.disableMutationObserver || y.default.ready("[data-aos]", Z), V);
|
|
886
886
|
};
|
|
887
|
-
|
|
888
|
-
}, function(
|
|
889
|
-
}, , , , , function(
|
|
887
|
+
n.exports = { init: k, refresh: L, refreshHard: Z };
|
|
888
|
+
}, function(n, r) {
|
|
889
|
+
}, , , , , function(n, r) {
|
|
890
890
|
(function(s) {
|
|
891
|
-
function
|
|
892
|
-
function B(
|
|
893
|
-
var $ =
|
|
894
|
-
return
|
|
891
|
+
function i(a, k, g) {
|
|
892
|
+
function B(x) {
|
|
893
|
+
var $ = E, J = W;
|
|
894
|
+
return E = W = void 0, K = x, D = a.apply(J, $);
|
|
895
895
|
}
|
|
896
|
-
function
|
|
897
|
-
return K =
|
|
896
|
+
function j(x) {
|
|
897
|
+
return K = x, I = setTimeout(te, k), U ? B(x) : D;
|
|
898
898
|
}
|
|
899
|
-
function G(
|
|
900
|
-
var $ =
|
|
901
|
-
return H ?
|
|
899
|
+
function G(x) {
|
|
900
|
+
var $ = x - X, J = x - K, me = k - $;
|
|
901
|
+
return H ? Z(me, Y - J) : me;
|
|
902
902
|
}
|
|
903
|
-
function ee(
|
|
904
|
-
var $ =
|
|
905
|
-
return X === void 0 || $ >=
|
|
903
|
+
function ee(x) {
|
|
904
|
+
var $ = x - X, J = x - K;
|
|
905
|
+
return X === void 0 || $ >= k || $ < 0 || H && J >= Y;
|
|
906
906
|
}
|
|
907
907
|
function te() {
|
|
908
|
-
var
|
|
909
|
-
return ee(
|
|
908
|
+
var x = p();
|
|
909
|
+
return ee(x) ? de(x) : void (I = setTimeout(te, G(x)));
|
|
910
910
|
}
|
|
911
|
-
function de(
|
|
912
|
-
return I = void 0, M &&
|
|
911
|
+
function de(x) {
|
|
912
|
+
return I = void 0, M && E ? B(x) : (E = W = void 0, D);
|
|
913
913
|
}
|
|
914
|
-
function
|
|
915
|
-
I !== void 0 && clearTimeout(I), K = 0,
|
|
914
|
+
function fe() {
|
|
915
|
+
I !== void 0 && clearTimeout(I), K = 0, E = X = W = I = void 0;
|
|
916
916
|
}
|
|
917
917
|
function le() {
|
|
918
|
-
return I === void 0 ? D : de(
|
|
918
|
+
return I === void 0 ? D : de(p());
|
|
919
919
|
}
|
|
920
|
-
function
|
|
921
|
-
var
|
|
922
|
-
if (
|
|
923
|
-
if (I === void 0) return
|
|
924
|
-
if (H) return I = setTimeout(te,
|
|
920
|
+
function P() {
|
|
921
|
+
var x = p(), $ = ee(x);
|
|
922
|
+
if (E = arguments, W = this, X = x, $) {
|
|
923
|
+
if (I === void 0) return j(X);
|
|
924
|
+
if (H) return I = setTimeout(te, k), B(X);
|
|
925
925
|
}
|
|
926
|
-
return I === void 0 && (I = setTimeout(te,
|
|
926
|
+
return I === void 0 && (I = setTimeout(te, k)), D;
|
|
927
927
|
}
|
|
928
|
-
var
|
|
929
|
-
if (typeof a != "function") throw new TypeError(
|
|
930
|
-
return
|
|
928
|
+
var E, W, Y, D, I, X, K = 0, U = !1, H = !1, M = !0;
|
|
929
|
+
if (typeof a != "function") throw new TypeError(b);
|
|
930
|
+
return k = d(k) || 0, h(g) && (U = !!g.leading, H = "maxWait" in g, Y = H ? L(d(g.maxWait) || 0, k) : Y, M = "trailing" in g ? !!g.trailing : M), P.cancel = fe, P.flush = le, P;
|
|
931
931
|
}
|
|
932
|
-
function o(a,
|
|
933
|
-
var B = !0,
|
|
934
|
-
if (typeof a != "function") throw new TypeError(
|
|
935
|
-
return h(g) && (B = "leading" in g ? !!g.leading : B,
|
|
932
|
+
function o(a, k, g) {
|
|
933
|
+
var B = !0, j = !0;
|
|
934
|
+
if (typeof a != "function") throw new TypeError(b);
|
|
935
|
+
return h(g) && (B = "leading" in g ? !!g.leading : B, j = "trailing" in g ? !!g.trailing : j), i(a, k, { leading: B, maxWait: k, trailing: j });
|
|
936
936
|
}
|
|
937
937
|
function h(a) {
|
|
938
|
-
var
|
|
939
|
-
return !!a && (
|
|
938
|
+
var k = typeof a > "u" ? "undefined" : m(a);
|
|
939
|
+
return !!a && (k == "object" || k == "function");
|
|
940
940
|
}
|
|
941
|
-
function
|
|
942
|
-
return !!a && (typeof a > "u" ? "undefined" :
|
|
941
|
+
function v(a) {
|
|
942
|
+
return !!a && (typeof a > "u" ? "undefined" : m(a)) == "object";
|
|
943
943
|
}
|
|
944
944
|
function l(a) {
|
|
945
|
-
return (typeof a > "u" ? "undefined" :
|
|
945
|
+
return (typeof a > "u" ? "undefined" : m(a)) == "symbol" || v(a) && S.call(a) == w;
|
|
946
946
|
}
|
|
947
947
|
function d(a) {
|
|
948
948
|
if (typeof a == "number") return a;
|
|
949
|
-
if (l(a)) return
|
|
949
|
+
if (l(a)) return y;
|
|
950
950
|
if (h(a)) {
|
|
951
|
-
var
|
|
952
|
-
a = h(
|
|
951
|
+
var k = typeof a.valueOf == "function" ? a.valueOf() : a;
|
|
952
|
+
a = h(k) ? k + "" : k;
|
|
953
953
|
}
|
|
954
954
|
if (typeof a != "string") return a === 0 ? a : +a;
|
|
955
955
|
a = a.replace(T, "");
|
|
956
|
-
var g =
|
|
957
|
-
return g || Q.test(a) ? q(a.slice(2), g ? 2 : 8) :
|
|
956
|
+
var g = N.test(a);
|
|
957
|
+
return g || Q.test(a) ? q(a.slice(2), g ? 2 : 8) : O.test(a) ? y : +a;
|
|
958
958
|
}
|
|
959
|
-
var
|
|
959
|
+
var m = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(a) {
|
|
960
960
|
return typeof a;
|
|
961
961
|
} : function(a) {
|
|
962
962
|
return a && typeof Symbol == "function" && a.constructor === Symbol && a !== Symbol.prototype ? "symbol" : typeof a;
|
|
963
|
-
},
|
|
964
|
-
return
|
|
963
|
+
}, b = "Expected a function", y = NaN, w = "[object Symbol]", T = /^\s+|\s+$/g, O = /^[-+]0x[0-9a-f]+$/i, N = /^0b[01]+$/i, Q = /^0o[0-7]+$/i, q = parseInt, F = (typeof s > "u" ? "undefined" : m(s)) == "object" && s && s.Object === Object && s, oe = (typeof self > "u" ? "undefined" : m(self)) == "object" && self && self.Object === Object && self, V = F || oe || Function("return this")(), se = Object.prototype, S = se.toString, L = Math.max, Z = Math.min, p = function() {
|
|
964
|
+
return V.Date.now();
|
|
965
965
|
};
|
|
966
|
-
|
|
966
|
+
n.exports = o;
|
|
967
967
|
}).call(r, /* @__PURE__ */ function() {
|
|
968
968
|
return this;
|
|
969
969
|
}());
|
|
970
|
-
}, function(
|
|
970
|
+
}, function(n, r) {
|
|
971
971
|
(function(s) {
|
|
972
|
-
function
|
|
972
|
+
function i(p, a, k) {
|
|
973
973
|
function g(M) {
|
|
974
|
-
var
|
|
975
|
-
return
|
|
974
|
+
var x = P, $ = E;
|
|
975
|
+
return P = E = void 0, X = M, Y = p.apply($, x);
|
|
976
976
|
}
|
|
977
977
|
function B(M) {
|
|
978
978
|
return X = M, D = setTimeout(ee, a), K ? g(M) : Y;
|
|
979
979
|
}
|
|
980
|
-
function
|
|
981
|
-
var
|
|
982
|
-
return U ?
|
|
980
|
+
function j(M) {
|
|
981
|
+
var x = M - I, $ = M - X, J = a - x;
|
|
982
|
+
return U ? L(J, W - $) : J;
|
|
983
983
|
}
|
|
984
984
|
function G(M) {
|
|
985
|
-
var
|
|
986
|
-
return I === void 0 ||
|
|
985
|
+
var x = M - I, $ = M - X;
|
|
986
|
+
return I === void 0 || x >= a || x < 0 || U && $ >= W;
|
|
987
987
|
}
|
|
988
988
|
function ee() {
|
|
989
|
-
var M =
|
|
990
|
-
return G(M) ? te(M) : void (D = setTimeout(ee,
|
|
989
|
+
var M = Z();
|
|
990
|
+
return G(M) ? te(M) : void (D = setTimeout(ee, j(M)));
|
|
991
991
|
}
|
|
992
992
|
function te(M) {
|
|
993
|
-
return D = void 0, H &&
|
|
993
|
+
return D = void 0, H && P ? g(M) : (P = E = void 0, Y);
|
|
994
994
|
}
|
|
995
995
|
function de() {
|
|
996
|
-
D !== void 0 && clearTimeout(D), X = 0,
|
|
996
|
+
D !== void 0 && clearTimeout(D), X = 0, P = I = E = D = void 0;
|
|
997
997
|
}
|
|
998
|
-
function
|
|
999
|
-
return D === void 0 ? Y : te(
|
|
998
|
+
function fe() {
|
|
999
|
+
return D === void 0 ? Y : te(Z());
|
|
1000
1000
|
}
|
|
1001
1001
|
function le() {
|
|
1002
|
-
var M =
|
|
1003
|
-
if (
|
|
1002
|
+
var M = Z(), x = G(M);
|
|
1003
|
+
if (P = arguments, E = this, I = M, x) {
|
|
1004
1004
|
if (D === void 0) return B(I);
|
|
1005
1005
|
if (U) return D = setTimeout(ee, a), g(I);
|
|
1006
1006
|
}
|
|
1007
1007
|
return D === void 0 && (D = setTimeout(ee, a)), Y;
|
|
1008
1008
|
}
|
|
1009
|
-
var
|
|
1010
|
-
if (typeof
|
|
1011
|
-
return a = l(a) || 0, o(
|
|
1009
|
+
var P, E, W, Y, D, I, X = 0, K = !1, U = !1, H = !0;
|
|
1010
|
+
if (typeof p != "function") throw new TypeError(m);
|
|
1011
|
+
return a = l(a) || 0, o(k) && (K = !!k.leading, U = "maxWait" in k, W = U ? S(l(k.maxWait) || 0, a) : W, H = "trailing" in k ? !!k.trailing : H), le.cancel = de, le.flush = fe, le;
|
|
1012
1012
|
}
|
|
1013
|
-
function o(
|
|
1014
|
-
var a = typeof
|
|
1015
|
-
return !!
|
|
1013
|
+
function o(p) {
|
|
1014
|
+
var a = typeof p > "u" ? "undefined" : d(p);
|
|
1015
|
+
return !!p && (a == "object" || a == "function");
|
|
1016
1016
|
}
|
|
1017
|
-
function h(
|
|
1018
|
-
return !!
|
|
1017
|
+
function h(p) {
|
|
1018
|
+
return !!p && (typeof p > "u" ? "undefined" : d(p)) == "object";
|
|
1019
1019
|
}
|
|
1020
|
-
function p
|
|
1021
|
-
return (typeof
|
|
1020
|
+
function v(p) {
|
|
1021
|
+
return (typeof p > "u" ? "undefined" : d(p)) == "symbol" || h(p) && se.call(p) == y;
|
|
1022
1022
|
}
|
|
1023
|
-
function l(
|
|
1024
|
-
if (typeof
|
|
1025
|
-
if (p
|
|
1026
|
-
if (o(
|
|
1027
|
-
var a = typeof
|
|
1028
|
-
|
|
1023
|
+
function l(p) {
|
|
1024
|
+
if (typeof p == "number") return p;
|
|
1025
|
+
if (v(p)) return b;
|
|
1026
|
+
if (o(p)) {
|
|
1027
|
+
var a = typeof p.valueOf == "function" ? p.valueOf() : p;
|
|
1028
|
+
p = o(a) ? a + "" : a;
|
|
1029
1029
|
}
|
|
1030
|
-
if (typeof
|
|
1031
|
-
|
|
1032
|
-
var
|
|
1033
|
-
return
|
|
1030
|
+
if (typeof p != "string") return p === 0 ? p : +p;
|
|
1031
|
+
p = p.replace(w, "");
|
|
1032
|
+
var k = O.test(p);
|
|
1033
|
+
return k || N.test(p) ? Q(p.slice(2), k ? 2 : 8) : T.test(p) ? b : +p;
|
|
1034
1034
|
}
|
|
1035
|
-
var d = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
1036
|
-
return typeof
|
|
1037
|
-
} : function(
|
|
1038
|
-
return
|
|
1039
|
-
},
|
|
1040
|
-
return
|
|
1035
|
+
var d = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(p) {
|
|
1036
|
+
return typeof p;
|
|
1037
|
+
} : function(p) {
|
|
1038
|
+
return p && typeof Symbol == "function" && p.constructor === Symbol && p !== Symbol.prototype ? "symbol" : typeof p;
|
|
1039
|
+
}, m = "Expected a function", b = NaN, y = "[object Symbol]", w = /^\s+|\s+$/g, T = /^[-+]0x[0-9a-f]+$/i, O = /^0b[01]+$/i, N = /^0o[0-7]+$/i, Q = parseInt, q = (typeof s > "u" ? "undefined" : d(s)) == "object" && s && s.Object === Object && s, F = (typeof self > "u" ? "undefined" : d(self)) == "object" && self && self.Object === Object && self, oe = q || F || Function("return this")(), V = Object.prototype, se = V.toString, S = Math.max, L = Math.min, Z = function() {
|
|
1040
|
+
return oe.Date.now();
|
|
1041
1041
|
};
|
|
1042
|
-
|
|
1042
|
+
n.exports = i;
|
|
1043
1043
|
}).call(r, /* @__PURE__ */ function() {
|
|
1044
1044
|
return this;
|
|
1045
1045
|
}());
|
|
1046
|
-
}, function(
|
|
1046
|
+
}, function(n, r) {
|
|
1047
1047
|
function s(d) {
|
|
1048
|
-
var
|
|
1049
|
-
for (
|
|
1050
|
-
if (
|
|
1048
|
+
var m = void 0, b = void 0;
|
|
1049
|
+
for (m = 0; m < d.length; m += 1)
|
|
1050
|
+
if (b = d[m], b.dataset && b.dataset.aos || b.children && s(b.children)) return !0;
|
|
1051
1051
|
return !1;
|
|
1052
1052
|
}
|
|
1053
|
-
function
|
|
1053
|
+
function i() {
|
|
1054
1054
|
return window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;
|
|
1055
1055
|
}
|
|
1056
1056
|
function o() {
|
|
1057
|
-
return !!
|
|
1057
|
+
return !!i();
|
|
1058
1058
|
}
|
|
1059
|
-
function h(d,
|
|
1060
|
-
var
|
|
1061
|
-
l =
|
|
1059
|
+
function h(d, m) {
|
|
1060
|
+
var b = window.document, y = i(), w = new y(v);
|
|
1061
|
+
l = m, w.observe(b.documentElement, { childList: !0, subtree: !0, removedNodes: !0 });
|
|
1062
1062
|
}
|
|
1063
|
-
function
|
|
1064
|
-
d && d.forEach(function(
|
|
1065
|
-
var
|
|
1063
|
+
function v(d) {
|
|
1064
|
+
d && d.forEach(function(m) {
|
|
1065
|
+
var b = Array.prototype.slice.call(m.addedNodes), y = Array.prototype.slice.call(m.removedNodes), w = b.concat(y);
|
|
1066
1066
|
if (s(w)) return l();
|
|
1067
1067
|
});
|
|
1068
1068
|
}
|
|
@@ -1070,110 +1070,110 @@ var we = { exports: {} };
|
|
|
1070
1070
|
var l = function() {
|
|
1071
1071
|
};
|
|
1072
1072
|
r.default = { isSupported: o, ready: h };
|
|
1073
|
-
}, function(
|
|
1074
|
-
function s(
|
|
1075
|
-
if (!(
|
|
1073
|
+
}, function(n, r) {
|
|
1074
|
+
function s(b, y) {
|
|
1075
|
+
if (!(b instanceof y)) throw new TypeError("Cannot call a class as a function");
|
|
1076
1076
|
}
|
|
1077
|
-
function
|
|
1077
|
+
function i() {
|
|
1078
1078
|
return navigator.userAgent || navigator.vendor || window.opera || "";
|
|
1079
1079
|
}
|
|
1080
1080
|
Object.defineProperty(r, "__esModule", { value: !0 });
|
|
1081
1081
|
var o = /* @__PURE__ */ function() {
|
|
1082
|
-
function
|
|
1082
|
+
function b(y, w) {
|
|
1083
1083
|
for (var T = 0; T < w.length; T++) {
|
|
1084
|
-
var
|
|
1085
|
-
|
|
1084
|
+
var O = w[T];
|
|
1085
|
+
O.enumerable = O.enumerable || !1, O.configurable = !0, "value" in O && (O.writable = !0), Object.defineProperty(y, O.key, O);
|
|
1086
1086
|
}
|
|
1087
1087
|
}
|
|
1088
|
-
return function(
|
|
1089
|
-
return w &&
|
|
1088
|
+
return function(y, w, T) {
|
|
1089
|
+
return w && b(y.prototype, w), T && b(y, T), y;
|
|
1090
1090
|
};
|
|
1091
|
-
}(), h = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,
|
|
1092
|
-
function
|
|
1093
|
-
s(this,
|
|
1091
|
+
}(), h = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i, v = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i, l = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i, d = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i, m = function() {
|
|
1092
|
+
function b() {
|
|
1093
|
+
s(this, b);
|
|
1094
1094
|
}
|
|
1095
|
-
return o(
|
|
1096
|
-
var
|
|
1097
|
-
return !(!h.test(
|
|
1095
|
+
return o(b, [{ key: "phone", value: function() {
|
|
1096
|
+
var y = i();
|
|
1097
|
+
return !(!h.test(y) && !v.test(y.substr(0, 4)));
|
|
1098
1098
|
} }, { key: "mobile", value: function() {
|
|
1099
|
-
var
|
|
1100
|
-
return !(!l.test(
|
|
1099
|
+
var y = i();
|
|
1100
|
+
return !(!l.test(y) && !d.test(y.substr(0, 4)));
|
|
1101
1101
|
} }, { key: "tablet", value: function() {
|
|
1102
1102
|
return this.mobile() && !this.phone();
|
|
1103
|
-
} }]),
|
|
1103
|
+
} }]), b;
|
|
1104
1104
|
}();
|
|
1105
|
-
r.default = new
|
|
1106
|
-
}, function(
|
|
1105
|
+
r.default = new m();
|
|
1106
|
+
}, function(n, r) {
|
|
1107
1107
|
Object.defineProperty(r, "__esModule", { value: !0 });
|
|
1108
|
-
var s = function(o, h,
|
|
1108
|
+
var s = function(o, h, v) {
|
|
1109
1109
|
var l = o.node.getAttribute("data-aos-once");
|
|
1110
|
-
h > o.position ? o.node.classList.add("aos-animate") : typeof l < "u" && (l === "false" || !
|
|
1111
|
-
},
|
|
1112
|
-
var
|
|
1113
|
-
o.forEach(function(d,
|
|
1114
|
-
s(d, l +
|
|
1110
|
+
h > o.position ? o.node.classList.add("aos-animate") : typeof l < "u" && (l === "false" || !v && l !== "true") && o.node.classList.remove("aos-animate");
|
|
1111
|
+
}, i = function(o, h) {
|
|
1112
|
+
var v = window.pageYOffset, l = window.innerHeight;
|
|
1113
|
+
o.forEach(function(d, m) {
|
|
1114
|
+
s(d, l + v, h);
|
|
1115
1115
|
});
|
|
1116
1116
|
};
|
|
1117
|
-
r.default =
|
|
1118
|
-
}, function(
|
|
1119
|
-
function
|
|
1117
|
+
r.default = i;
|
|
1118
|
+
}, function(n, r, s) {
|
|
1119
|
+
function i(l) {
|
|
1120
1120
|
return l && l.__esModule ? l : { default: l };
|
|
1121
1121
|
}
|
|
1122
1122
|
Object.defineProperty(r, "__esModule", { value: !0 });
|
|
1123
|
-
var o = s(12), h =
|
|
1124
|
-
return l.forEach(function(
|
|
1125
|
-
|
|
1123
|
+
var o = s(12), h = i(o), v = function(l, d) {
|
|
1124
|
+
return l.forEach(function(m, b) {
|
|
1125
|
+
m.node.classList.add("aos-init"), m.position = (0, h.default)(m.node, d.offset);
|
|
1126
1126
|
}), l;
|
|
1127
1127
|
};
|
|
1128
|
-
r.default =
|
|
1129
|
-
}, function(
|
|
1130
|
-
function
|
|
1128
|
+
r.default = v;
|
|
1129
|
+
}, function(n, r, s) {
|
|
1130
|
+
function i(l) {
|
|
1131
1131
|
return l && l.__esModule ? l : { default: l };
|
|
1132
1132
|
}
|
|
1133
1133
|
Object.defineProperty(r, "__esModule", { value: !0 });
|
|
1134
|
-
var o = s(13), h =
|
|
1135
|
-
var
|
|
1136
|
-
switch (w.offset && !isNaN(w.offset) && (
|
|
1134
|
+
var o = s(13), h = i(o), v = function(l, d) {
|
|
1135
|
+
var m = 0, b = 0, y = window.innerHeight, w = { offset: l.getAttribute("data-aos-offset"), anchor: l.getAttribute("data-aos-anchor"), anchorPlacement: l.getAttribute("data-aos-anchor-placement") };
|
|
1136
|
+
switch (w.offset && !isNaN(w.offset) && (b = parseInt(w.offset)), w.anchor && document.querySelectorAll(w.anchor) && (l = document.querySelectorAll(w.anchor)[0]), m = (0, h.default)(l).top, w.anchorPlacement) {
|
|
1137
1137
|
case "top-bottom":
|
|
1138
1138
|
break;
|
|
1139
1139
|
case "center-bottom":
|
|
1140
|
-
|
|
1140
|
+
m += l.offsetHeight / 2;
|
|
1141
1141
|
break;
|
|
1142
1142
|
case "bottom-bottom":
|
|
1143
|
-
|
|
1143
|
+
m += l.offsetHeight;
|
|
1144
1144
|
break;
|
|
1145
1145
|
case "top-center":
|
|
1146
|
-
|
|
1146
|
+
m += y / 2;
|
|
1147
1147
|
break;
|
|
1148
1148
|
case "bottom-center":
|
|
1149
|
-
|
|
1149
|
+
m += y / 2 + l.offsetHeight;
|
|
1150
1150
|
break;
|
|
1151
1151
|
case "center-center":
|
|
1152
|
-
|
|
1152
|
+
m += y / 2 + l.offsetHeight / 2;
|
|
1153
1153
|
break;
|
|
1154
1154
|
case "top-top":
|
|
1155
|
-
|
|
1155
|
+
m += y;
|
|
1156
1156
|
break;
|
|
1157
1157
|
case "bottom-top":
|
|
1158
|
-
|
|
1158
|
+
m += l.offsetHeight + y;
|
|
1159
1159
|
break;
|
|
1160
1160
|
case "center-top":
|
|
1161
|
-
|
|
1161
|
+
m += l.offsetHeight / 2 + y;
|
|
1162
1162
|
}
|
|
1163
|
-
return w.anchorPlacement || w.offset || isNaN(d) || (
|
|
1163
|
+
return w.anchorPlacement || w.offset || isNaN(d) || (b = d), m + b;
|
|
1164
1164
|
};
|
|
1165
|
-
r.default =
|
|
1166
|
-
}, function(
|
|
1165
|
+
r.default = v;
|
|
1166
|
+
}, function(n, r) {
|
|
1167
1167
|
Object.defineProperty(r, "__esModule", { value: !0 });
|
|
1168
|
-
var s = function(
|
|
1169
|
-
for (var o = 0, h = 0;
|
|
1168
|
+
var s = function(i) {
|
|
1169
|
+
for (var o = 0, h = 0; i && !isNaN(i.offsetLeft) && !isNaN(i.offsetTop); ) o += i.offsetLeft - (i.tagName != "BODY" ? i.scrollLeft : 0), h += i.offsetTop - (i.tagName != "BODY" ? i.scrollTop : 0), i = i.offsetParent;
|
|
1170
1170
|
return { top: h, left: o };
|
|
1171
1171
|
};
|
|
1172
1172
|
r.default = s;
|
|
1173
|
-
}, function(
|
|
1173
|
+
}, function(n, r) {
|
|
1174
1174
|
Object.defineProperty(r, "__esModule", { value: !0 });
|
|
1175
|
-
var s = function(
|
|
1176
|
-
return
|
|
1175
|
+
var s = function(i) {
|
|
1176
|
+
return i = i || document.querySelectorAll("[data-aos]"), Array.prototype.map.call(i, function(o) {
|
|
1177
1177
|
return { node: o };
|
|
1178
1178
|
});
|
|
1179
1179
|
};
|
|
@@ -1181,8 +1181,8 @@ var we = { exports: {} };
|
|
|
1181
1181
|
}]);
|
|
1182
1182
|
});
|
|
1183
1183
|
})(we);
|
|
1184
|
-
var
|
|
1185
|
-
const
|
|
1184
|
+
var kt = we.exports;
|
|
1185
|
+
const xt = /* @__PURE__ */ wt(kt), St = {
|
|
1186
1186
|
name: "CustomDropdown",
|
|
1187
1187
|
props: {
|
|
1188
1188
|
options: {
|
|
@@ -1341,39 +1341,39 @@ const St = /* @__PURE__ */ wt(xt), kt = {
|
|
|
1341
1341
|
}
|
|
1342
1342
|
}
|
|
1343
1343
|
}
|
|
1344
|
-
}, Mt = ["aria-expanded", "aria-label"],
|
|
1344
|
+
}, Mt = ["aria-expanded", "aria-label"], Ct = {
|
|
1345
1345
|
key: 0,
|
|
1346
1346
|
class: "dropdown__menu",
|
|
1347
1347
|
role: "listbox"
|
|
1348
|
-
},
|
|
1349
|
-
function
|
|
1350
|
-
return u(),
|
|
1351
|
-
class: A(["dropdown", [`dropdown--${
|
|
1348
|
+
}, _t = ["aria-selected", "onClick", "onKeydown"];
|
|
1349
|
+
function Ot(e, t, n, r, s, i) {
|
|
1350
|
+
return u(), c("div", {
|
|
1351
|
+
class: A(["dropdown", [`dropdown--${n.variant}`]]),
|
|
1352
1352
|
ref: "dropdown",
|
|
1353
|
-
style:
|
|
1353
|
+
style: _(i.glowStyles)
|
|
1354
1354
|
}, [
|
|
1355
|
-
|
|
1355
|
+
f("button", {
|
|
1356
1356
|
class: "dropdown__button",
|
|
1357
1357
|
"aria-expanded": s.isOpen.toString(),
|
|
1358
|
-
onClick: t[0] || (t[0] = (...o) =>
|
|
1358
|
+
onClick: t[0] || (t[0] = (...o) => i.toggleDropdown && i.toggleDropdown(...o)),
|
|
1359
1359
|
onKeydown: [
|
|
1360
|
-
t[1] || (t[1] =
|
|
1361
|
-
t[2] || (t[2] =
|
|
1360
|
+
t[1] || (t[1] = ue(ce((...o) => i.openAndFocusFirst && i.openAndFocusFirst(...o), ["prevent"]), ["down"])),
|
|
1361
|
+
t[2] || (t[2] = ue(ce((...o) => i.toggleDropdown && i.toggleDropdown(...o), ["prevent"]), ["enter"]))
|
|
1362
1362
|
],
|
|
1363
|
-
"aria-label":
|
|
1363
|
+
"aria-label": n.ariaLabel,
|
|
1364
1364
|
type: "button",
|
|
1365
1365
|
ref: "button"
|
|
1366
1366
|
}, [
|
|
1367
1367
|
z(e.$slots, "button", {}, () => [
|
|
1368
|
-
|
|
1369
|
-
t[3] || (t[3] =
|
|
1368
|
+
f("span", null, ae(i.selectedLabel), 1),
|
|
1369
|
+
t[3] || (t[3] = f("svg", {
|
|
1370
1370
|
class: "dropdown__icon",
|
|
1371
1371
|
width: "16",
|
|
1372
1372
|
height: "16",
|
|
1373
1373
|
viewBox: "0 0 20 20",
|
|
1374
1374
|
fill: "none"
|
|
1375
1375
|
}, [
|
|
1376
|
-
|
|
1376
|
+
f("path", {
|
|
1377
1377
|
d: "M6 8l4 4 4-4",
|
|
1378
1378
|
stroke: "currentColor",
|
|
1379
1379
|
"stroke-width": "2",
|
|
@@ -1383,24 +1383,24 @@ function Ct(e, t, i, r, s, n) {
|
|
|
1383
1383
|
], -1))
|
|
1384
1384
|
], !0)
|
|
1385
1385
|
], 40, Mt),
|
|
1386
|
-
s.isOpen ? (u(),
|
|
1387
|
-
(u(!0),
|
|
1388
|
-
key:
|
|
1389
|
-
class: A(["dropdown__option", { "dropdown__option--selected":
|
|
1386
|
+
s.isOpen ? (u(), c("div", Ct, [
|
|
1387
|
+
(u(!0), c(ie, null, ne(n.options, (o, h) => (u(), c("div", {
|
|
1388
|
+
key: i.optionKey(o, h),
|
|
1389
|
+
class: A(["dropdown__option", { "dropdown__option--selected": i.isSelected(o) }]),
|
|
1390
1390
|
role: "option",
|
|
1391
|
-
"aria-selected":
|
|
1391
|
+
"aria-selected": i.isSelected(o).toString(),
|
|
1392
1392
|
tabindex: "0",
|
|
1393
|
-
onClick: (
|
|
1394
|
-
onKeydown:
|
|
1393
|
+
onClick: (v) => i.selectOption(o),
|
|
1394
|
+
onKeydown: ue(ce((v) => i.selectOption(o), ["prevent"]), ["enter"])
|
|
1395
1395
|
}, [
|
|
1396
1396
|
z(e.$slots, "option", { option: o }, () => [
|
|
1397
|
-
|
|
1397
|
+
Ce(ae(i.optionLabel(o)), 1)
|
|
1398
1398
|
], !0)
|
|
1399
|
-
], 42,
|
|
1400
|
-
])) :
|
|
1399
|
+
], 42, _t))), 128))
|
|
1400
|
+
])) : C("", !0)
|
|
1401
1401
|
], 6);
|
|
1402
1402
|
}
|
|
1403
|
-
const It = /* @__PURE__ */
|
|
1403
|
+
const It = /* @__PURE__ */ R(St, [["render", Ot], ["__scopeId", "data-v-61c08e9b"]]), Tt = { class: "bg-gray-900 text-white py-8 px-6" }, zt = { class: "max-w-6xl mx-auto flex flex-col sm:flex-row justify-between items-center gap-4" }, Dt = { class: "text-sm" }, Bt = {
|
|
1404
1404
|
__name: "Footer",
|
|
1405
1405
|
props: {
|
|
1406
1406
|
companyName: {
|
|
@@ -1410,15 +1410,15 @@ const It = /* @__PURE__ */ E(kt, [["render", Ct], ["__scopeId", "data-v-61c08e9b
|
|
|
1410
1410
|
},
|
|
1411
1411
|
setup(e) {
|
|
1412
1412
|
const t = (/* @__PURE__ */ new Date()).getFullYear();
|
|
1413
|
-
return (
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
r[0] || (r[0] =
|
|
1417
|
-
|
|
1413
|
+
return (n, r) => (u(), c("footer", Tt, [
|
|
1414
|
+
f("div", zt, [
|
|
1415
|
+
f("p", Dt, "© " + ae(_e(t)) + " " + ae(e.companyName) + ". Tous droits réservés.", 1),
|
|
1416
|
+
r[0] || (r[0] = f("div", { class: "flex gap-4 text-sm" }, [
|
|
1417
|
+
f("a", {
|
|
1418
1418
|
href: "/rights",
|
|
1419
1419
|
class: "hover:underline"
|
|
1420
1420
|
}, "Mentions légales"),
|
|
1421
|
-
|
|
1421
|
+
f("a", {
|
|
1422
1422
|
href: "/rights",
|
|
1423
1423
|
class: "hover:underline"
|
|
1424
1424
|
}, "Confidentialité")
|
|
@@ -1426,7 +1426,7 @@ const It = /* @__PURE__ */ E(kt, [["render", Ct], ["__scopeId", "data-v-61c08e9b
|
|
|
1426
1426
|
])
|
|
1427
1427
|
]));
|
|
1428
1428
|
}
|
|
1429
|
-
},
|
|
1429
|
+
}, At = ["viewBox", "height"], $t = ["offset", "stop-color"], Rt = ["offset", "stop-color"], Vt = ["d", "fill"], Xt = {
|
|
1430
1430
|
__name: "WaveContainer",
|
|
1431
1431
|
props: {
|
|
1432
1432
|
width: { type: Number, default: 1440 },
|
|
@@ -1452,95 +1452,95 @@ const It = /* @__PURE__ */ E(kt, [["render", Ct], ["__scopeId", "data-v-61c08e9b
|
|
|
1452
1452
|
endOffset: { type: String, default: "100%" }
|
|
1453
1453
|
},
|
|
1454
1454
|
setup(e) {
|
|
1455
|
-
const t = e,
|
|
1455
|
+
const t = e, n = re("");
|
|
1456
1456
|
let r = 0, s = null;
|
|
1457
|
-
const
|
|
1457
|
+
const i = `wave-gradient-${Math.random().toString(36).substring(2, 9)}`;
|
|
1458
1458
|
function o() {
|
|
1459
|
-
const
|
|
1459
|
+
const v = t.width / (t.points - 1);
|
|
1460
1460
|
let l = `M 0 ${t.height}`;
|
|
1461
1461
|
for (let d = 0; d < t.points; d++) {
|
|
1462
|
-
const
|
|
1462
|
+
const m = d * v, b = (d + r) * 0.6, y = t.height / 2 + Math.sin(b * t.frequency) * t.amplitude;
|
|
1463
1463
|
if (d === 0)
|
|
1464
|
-
l += ` L ${
|
|
1464
|
+
l += ` L ${m} ${y}`;
|
|
1465
1465
|
else {
|
|
1466
|
-
const w = (d - 1) *
|
|
1467
|
-
l += ` C ${
|
|
1466
|
+
const w = (d - 1) * v, T = (d - 1 + r) * 0.6, O = t.height / 2 + Math.sin(T * t.frequency) * t.amplitude, N = (w + m) / 2;
|
|
1467
|
+
l += ` C ${N} ${O}, ${N} ${y}, ${m} ${y}`;
|
|
1468
1468
|
}
|
|
1469
1469
|
}
|
|
1470
1470
|
return l += ` L ${t.width} ${t.height} Z`, l;
|
|
1471
1471
|
}
|
|
1472
1472
|
function h() {
|
|
1473
|
-
|
|
1473
|
+
n.value = o(), r += t.speed, s = requestAnimationFrame(h);
|
|
1474
1474
|
}
|
|
1475
1475
|
return be(() => {
|
|
1476
1476
|
h();
|
|
1477
|
-
}),
|
|
1477
|
+
}), Oe(() => {
|
|
1478
1478
|
cancelAnimationFrame(s);
|
|
1479
|
-
}), (
|
|
1479
|
+
}), (v, l) => (u(), c("div", {
|
|
1480
1480
|
class: "w-full pointer-events-none",
|
|
1481
|
-
style:
|
|
1481
|
+
style: _(e.topBlend ? {
|
|
1482
1482
|
maskImage: `linear-gradient(${e.topBlendReverse ? "to top" : "to bottom"}, rgba(0,0,0,0) ${e.topBlendOffset}%, rgba(0,0,0,1) ${e.topBlendIntensity}%)`,
|
|
1483
1483
|
WebkitMaskImage: `linear-gradient(${e.topBlendReverse ? "to top" : "to bottom"}, rgba(0,0,0,0) ${e.topBlendOffset}%, rgba(0,0,0,1) ${e.topBlendIntensity}%)`
|
|
1484
1484
|
} : {})
|
|
1485
1485
|
}, [
|
|
1486
|
-
(u(),
|
|
1486
|
+
(u(), c("svg", {
|
|
1487
1487
|
viewBox: `0 0 ${e.width} ${e.height}`,
|
|
1488
1488
|
height: e.height,
|
|
1489
1489
|
class: "w-full",
|
|
1490
|
-
style:
|
|
1490
|
+
style: _(e.flipVertical ? "transform: scaleY(-1);" : ""),
|
|
1491
1491
|
preserveAspectRatio: "none",
|
|
1492
1492
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1493
1493
|
}, [
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
id:
|
|
1494
|
+
f("defs", null, [
|
|
1495
|
+
f("linearGradient", {
|
|
1496
|
+
id: i,
|
|
1497
1497
|
x1: "0%",
|
|
1498
1498
|
y1: "0%",
|
|
1499
1499
|
x2: "0%",
|
|
1500
1500
|
y2: "100%"
|
|
1501
1501
|
}, [
|
|
1502
|
-
|
|
1502
|
+
f("stop", {
|
|
1503
1503
|
offset: e.startOffset,
|
|
1504
1504
|
"stop-color": e.gradientStart
|
|
1505
|
-
}, null, 8,
|
|
1506
|
-
|
|
1505
|
+
}, null, 8, $t),
|
|
1506
|
+
f("stop", {
|
|
1507
1507
|
offset: e.endOffset,
|
|
1508
1508
|
"stop-color": e.gradientEnd
|
|
1509
1509
|
}, null, 8, Rt)
|
|
1510
1510
|
])
|
|
1511
1511
|
]),
|
|
1512
|
-
|
|
1513
|
-
d:
|
|
1514
|
-
fill: `url(#${
|
|
1512
|
+
f("path", {
|
|
1513
|
+
d: n.value,
|
|
1514
|
+
fill: `url(#${i})`,
|
|
1515
1515
|
"fill-opacity": "1"
|
|
1516
|
-
}, null, 8,
|
|
1517
|
-
], 12,
|
|
1516
|
+
}, null, 8, Vt)
|
|
1517
|
+
], 12, At))
|
|
1518
1518
|
], 4));
|
|
1519
1519
|
}
|
|
1520
|
-
},
|
|
1520
|
+
}, Et = {
|
|
1521
1521
|
__name: "Popup",
|
|
1522
1522
|
props: {
|
|
1523
1523
|
modelValue: Boolean
|
|
1524
1524
|
},
|
|
1525
1525
|
emits: ["update:modelValue"],
|
|
1526
1526
|
setup(e, { emit: t }) {
|
|
1527
|
-
const
|
|
1528
|
-
|
|
1527
|
+
const n = t, r = () => {
|
|
1528
|
+
n("update:modelValue", !1);
|
|
1529
1529
|
};
|
|
1530
|
-
return (s,
|
|
1530
|
+
return (s, i) => (u(), ve(Ie, { name: "fade" }, {
|
|
1531
1531
|
default: Te(() => [
|
|
1532
|
-
e.modelValue ? (u(),
|
|
1532
|
+
e.modelValue ? (u(), c("div", {
|
|
1533
1533
|
key: 0,
|
|
1534
1534
|
class: "fixed inset-0 top-0 left-0 z-50 flex items-center justify-center bg-black bg-opacity-50",
|
|
1535
|
-
onClick:
|
|
1535
|
+
onClick: ce(r, ["self"])
|
|
1536
1536
|
}, [
|
|
1537
1537
|
z(s.$slots, "default", {}, void 0, !0)
|
|
1538
|
-
])) :
|
|
1538
|
+
])) : C("", !0)
|
|
1539
1539
|
]),
|
|
1540
1540
|
_: 3
|
|
1541
1541
|
}));
|
|
1542
1542
|
}
|
|
1543
|
-
},
|
|
1543
|
+
}, Nt = /* @__PURE__ */ R(Et, [["__scopeId", "data-v-60769789"]]), Lt = {
|
|
1544
1544
|
name: "SnapDiv",
|
|
1545
1545
|
props: {
|
|
1546
1546
|
offset: {
|
|
@@ -1560,15 +1560,15 @@ const It = /* @__PURE__ */ E(kt, [["render", Ct], ["__scopeId", "data-v-61c08e9b
|
|
|
1560
1560
|
default: 1
|
|
1561
1561
|
}
|
|
1562
1562
|
}
|
|
1563
|
-
},
|
|
1564
|
-
function
|
|
1565
|
-
return u(),
|
|
1563
|
+
}, jt = { class: "snap-div" };
|
|
1564
|
+
function Pt(e, t, n, r, s, i) {
|
|
1565
|
+
return u(), c("div", jt, [
|
|
1566
1566
|
z(e.$slots, "default", {}, void 0, !0)
|
|
1567
1567
|
]);
|
|
1568
1568
|
}
|
|
1569
|
-
const
|
|
1570
|
-
function
|
|
1571
|
-
let
|
|
1569
|
+
const Wt = /* @__PURE__ */ R(Lt, [["render", Pt], ["__scopeId", "data-v-78859941"]]);
|
|
1570
|
+
function wi(e, t = {}) {
|
|
1571
|
+
let n = !1, r = null, s = 0;
|
|
1572
1572
|
const o = { ...{
|
|
1573
1573
|
offset: 0,
|
|
1574
1574
|
speed: 1.2,
|
|
@@ -1580,28 +1580,28 @@ function ai(e, t = {}) {
|
|
|
1580
1580
|
(d) => d.classList.contains("snap-div")
|
|
1581
1581
|
);
|
|
1582
1582
|
}
|
|
1583
|
-
function
|
|
1584
|
-
|
|
1583
|
+
function v() {
|
|
1584
|
+
n = !1, r = null, s = 0;
|
|
1585
1585
|
}
|
|
1586
1586
|
function l(d) {
|
|
1587
1587
|
if (d.deltaMode !== 0)
|
|
1588
1588
|
return;
|
|
1589
|
-
if (
|
|
1590
|
-
s++, s >= 10 && (r && clearTimeout(r), r = setTimeout(
|
|
1589
|
+
if (n) {
|
|
1590
|
+
s++, s >= 10 && (r && clearTimeout(r), r = setTimeout(v, o.lockDuration), s = 0), d.preventDefault(), d.stopImmediatePropagation();
|
|
1591
1591
|
return;
|
|
1592
1592
|
}
|
|
1593
|
-
|
|
1594
|
-
const
|
|
1595
|
-
if (!
|
|
1596
|
-
const
|
|
1597
|
-
let
|
|
1598
|
-
|
|
1599
|
-
const q =
|
|
1600
|
-
|
|
1593
|
+
n = !0, s = 1, r = setTimeout(v, o.lockDuration), d.preventDefault(), d.stopImmediatePropagation();
|
|
1594
|
+
const m = h();
|
|
1595
|
+
if (!m.length) return;
|
|
1596
|
+
const b = e.getBoundingClientRect();
|
|
1597
|
+
let y = 0, w = 0;
|
|
1598
|
+
m.forEach((N, Q) => {
|
|
1599
|
+
const q = N.getBoundingClientRect(), F = Math.max(0, Math.min(q.bottom, b.bottom) - Math.max(q.top, b.top));
|
|
1600
|
+
F > w && (w = F, y = Q);
|
|
1601
1601
|
});
|
|
1602
1602
|
const T = d.deltaY > 0 ? 1 : -1;
|
|
1603
|
-
let
|
|
1604
|
-
|
|
1603
|
+
let O = y + T * o.maxStep;
|
|
1604
|
+
O = Math.max(0, Math.min(m.length - 1, O)), O !== y && m[O].scrollIntoView({ behavior: "smooth", block: "start" });
|
|
1605
1605
|
}
|
|
1606
1606
|
return e.addEventListener("wheel", l, { passive: !1 }), () => {
|
|
1607
1607
|
e.removeEventListener("wheel", l), r && clearTimeout(r);
|
|
@@ -1625,50 +1625,50 @@ const Yt = ["src", "alt"], Ht = { class: "absolute bottom-2 left-1/2 transform -
|
|
|
1625
1625
|
}
|
|
1626
1626
|
},
|
|
1627
1627
|
setup(e) {
|
|
1628
|
-
const t = e,
|
|
1628
|
+
const t = e, n = re(0), r = re(null);
|
|
1629
1629
|
let s = null;
|
|
1630
|
-
const
|
|
1630
|
+
const i = (h) => {
|
|
1631
1631
|
if (!r.value) return;
|
|
1632
|
-
const
|
|
1633
|
-
r.value.scrollTo({ left:
|
|
1632
|
+
const v = r.value.clientWidth;
|
|
1633
|
+
r.value.scrollTo({ left: v * h, behavior: "smooth" });
|
|
1634
1634
|
}, o = () => {
|
|
1635
|
-
const h = r.value.clientWidth,
|
|
1636
|
-
|
|
1635
|
+
const h = r.value.clientWidth, v = r.value.scrollLeft;
|
|
1636
|
+
n.value = Math.round(v / h);
|
|
1637
1637
|
};
|
|
1638
1638
|
return be(() => {
|
|
1639
1639
|
!r.value || t.images.length < 2 || (s = setInterval(() => {
|
|
1640
|
-
|
|
1640
|
+
n.value = (n.value + 1) % t.images.length, i(n.value);
|
|
1641
1641
|
}, t.interval), r.value.addEventListener("scroll", o));
|
|
1642
1642
|
}), ze(() => {
|
|
1643
1643
|
clearInterval(s), r.value && r.value.removeEventListener("scroll", o);
|
|
1644
|
-
}), (h,
|
|
1644
|
+
}), (h, v) => (u(), c("div", {
|
|
1645
1645
|
class: "relative w-full overflow-hidden",
|
|
1646
|
-
style:
|
|
1646
|
+
style: _({ height: e.height })
|
|
1647
1647
|
}, [
|
|
1648
|
-
|
|
1648
|
+
f("div", {
|
|
1649
1649
|
ref_key: "carousel",
|
|
1650
1650
|
ref: r,
|
|
1651
1651
|
class: "flex snap-x snap-mandatory overflow-x-auto overflow-y-hidden scroll-smooth no-scrollbar w-full h-full"
|
|
1652
1652
|
}, [
|
|
1653
|
-
(u(!0),
|
|
1653
|
+
(u(!0), c(ie, null, ne(e.images, (l, d) => (u(), c("img", {
|
|
1654
1654
|
key: d,
|
|
1655
1655
|
src: l,
|
|
1656
1656
|
alt: `Image ${d + 1}`,
|
|
1657
1657
|
class: "w-full h-full flex-shrink-0 object-contain snap-center"
|
|
1658
1658
|
}, null, 8, Yt))), 128))
|
|
1659
1659
|
], 512),
|
|
1660
|
-
|
|
1661
|
-
(u(!0),
|
|
1660
|
+
f("div", Ht, [
|
|
1661
|
+
(u(!0), c(ie, null, ne(e.images, (l, d) => (u(), c("span", {
|
|
1662
1662
|
key: d,
|
|
1663
1663
|
class: A(["w-2 h-2 rounded-full transition-all duration-300", {
|
|
1664
|
-
"bg-white": d ===
|
|
1665
|
-
"bg-white/30": d !==
|
|
1664
|
+
"bg-white": d === n.value,
|
|
1665
|
+
"bg-white/30": d !== n.value
|
|
1666
1666
|
}])
|
|
1667
1667
|
}, null, 2))), 128))
|
|
1668
1668
|
])
|
|
1669
1669
|
], 4));
|
|
1670
1670
|
}
|
|
1671
|
-
},
|
|
1671
|
+
}, Ft = /* @__PURE__ */ R(qt, [["__scopeId", "data-v-a631b726"]]), Zt = {
|
|
1672
1672
|
name: "Carousel",
|
|
1673
1673
|
props: {
|
|
1674
1674
|
// Éléments à afficher dans le carousel
|
|
@@ -1793,32 +1793,32 @@ const Yt = ["src", "alt"], Ht = { class: "absolute bottom-2 left-1/2 transform -
|
|
|
1793
1793
|
// Créer des éléments dupliqués pour le défilement infini
|
|
1794
1794
|
infiniteItems() {
|
|
1795
1795
|
if (!this.infinite || this.items.length === 0)
|
|
1796
|
-
return this.items.map((t,
|
|
1796
|
+
return this.items.map((t, n) => ({
|
|
1797
1797
|
data: t,
|
|
1798
|
-
originalIndex:
|
|
1798
|
+
originalIndex: n,
|
|
1799
1799
|
cloneIndex: 0
|
|
1800
1800
|
}));
|
|
1801
1801
|
const e = [];
|
|
1802
1802
|
for (let t = 0; t < this.cloneCount; t++) {
|
|
1803
|
-
const
|
|
1803
|
+
const n = this.items.length - this.cloneCount + t;
|
|
1804
1804
|
e.push({
|
|
1805
|
-
data: this.items[
|
|
1806
|
-
originalIndex:
|
|
1805
|
+
data: this.items[n],
|
|
1806
|
+
originalIndex: n,
|
|
1807
1807
|
cloneIndex: -t - 1
|
|
1808
1808
|
});
|
|
1809
1809
|
}
|
|
1810
|
-
this.items.forEach((t,
|
|
1810
|
+
this.items.forEach((t, n) => {
|
|
1811
1811
|
e.push({
|
|
1812
1812
|
data: t,
|
|
1813
|
-
originalIndex:
|
|
1813
|
+
originalIndex: n,
|
|
1814
1814
|
cloneIndex: 0
|
|
1815
1815
|
});
|
|
1816
1816
|
});
|
|
1817
1817
|
for (let t = 0; t < this.cloneCount; t++) {
|
|
1818
|
-
const
|
|
1818
|
+
const n = t;
|
|
1819
1819
|
e.push({
|
|
1820
|
-
data: this.items[
|
|
1821
|
-
originalIndex:
|
|
1820
|
+
data: this.items[n],
|
|
1821
|
+
originalIndex: n,
|
|
1822
1822
|
cloneIndex: t + 1
|
|
1823
1823
|
});
|
|
1824
1824
|
}
|
|
@@ -1880,8 +1880,8 @@ const Yt = ["src", "alt"], Ht = { class: "absolute bottom-2 left-1/2 transform -
|
|
|
1880
1880
|
// Gestion des clics sur les zones gauche/droite
|
|
1881
1881
|
handleContainerClick(e) {
|
|
1882
1882
|
if (this.isDragging || this.isTransitioning || !this.enableClickZones) return;
|
|
1883
|
-
const t = this.$refs.carouselContainer.getBoundingClientRect(),
|
|
1884
|
-
|
|
1883
|
+
const t = this.$refs.carouselContainer.getBoundingClientRect(), n = e.clientX - t.left, r = t.width, s = this.clickZoneSize / 100 * r;
|
|
1884
|
+
n < s ? this.previousSlide() : n > r - s && this.nextSlide();
|
|
1885
1885
|
},
|
|
1886
1886
|
// Défilement par glisser-déposer avec la souris
|
|
1887
1887
|
startDrag(e) {
|
|
@@ -1889,16 +1889,16 @@ const Yt = ["src", "alt"], Ht = { class: "absolute bottom-2 left-1/2 transform -
|
|
|
1889
1889
|
},
|
|
1890
1890
|
onDrag(e) {
|
|
1891
1891
|
if (!this.isDragging) return;
|
|
1892
|
-
const t = Date.now(),
|
|
1893
|
-
|
|
1892
|
+
const t = Date.now(), n = t - this.lastDragTime, r = e.clientX - this.currentX;
|
|
1893
|
+
n > 0 && (this.dragVelocity = r / n), this.currentX = e.clientX, this.dragOffset = this.currentX - this.startX, this.lastDragTime = t;
|
|
1894
1894
|
const s = this.itemWidth * 0.8;
|
|
1895
1895
|
this.dragOffset = Math.max(-s, Math.min(s, this.dragOffset));
|
|
1896
1896
|
},
|
|
1897
1897
|
stopDrag(e) {
|
|
1898
1898
|
if (!this.isDragging) return;
|
|
1899
1899
|
this.isDragging = !1;
|
|
1900
|
-
const t = this.currentX - this.startX,
|
|
1901
|
-
Math.abs(t) >
|
|
1900
|
+
const t = this.currentX - this.startX, n = this.itemWidth * 0.25;
|
|
1901
|
+
Math.abs(t) > n || Math.abs(this.dragVelocity) > 0.5 ? t > 0 || this.dragVelocity > 0 ? this.previousSlide() : this.nextSlide() : this.snapBack(), this.dragOffset = 0, this.dragVelocity = 0, this.autoScroll && this.startAutoScroll();
|
|
1902
1902
|
},
|
|
1903
1903
|
// Retour élastique fluide
|
|
1904
1904
|
snapBack() {
|
|
@@ -1912,16 +1912,16 @@ const Yt = ["src", "alt"], Ht = { class: "absolute bottom-2 left-1/2 transform -
|
|
|
1912
1912
|
},
|
|
1913
1913
|
onTouchDrag(e) {
|
|
1914
1914
|
if (!this.isDragging) return;
|
|
1915
|
-
const t = Date.now(),
|
|
1916
|
-
|
|
1915
|
+
const t = Date.now(), n = t - this.lastDragTime, r = e.touches[0].clientX - this.currentX;
|
|
1916
|
+
n > 0 && (this.dragVelocity = r / n), this.currentX = e.touches[0].clientX, this.dragOffset = this.currentX - this.startX, this.lastDragTime = t;
|
|
1917
1917
|
const s = this.itemWidth * 0.8;
|
|
1918
1918
|
this.dragOffset = Math.max(-s, Math.min(s, this.dragOffset));
|
|
1919
1919
|
},
|
|
1920
1920
|
stopTouchDrag(e) {
|
|
1921
1921
|
if (!this.isDragging) return;
|
|
1922
1922
|
this.isDragging = !1;
|
|
1923
|
-
const t = this.currentX - this.startX,
|
|
1924
|
-
Math.abs(t) >
|
|
1923
|
+
const t = this.currentX - this.startX, n = this.itemWidth * 0.25;
|
|
1924
|
+
Math.abs(t) > n || Math.abs(this.dragVelocity) > 0.5 ? t > 0 || this.dragVelocity > 0 ? this.previousSlide() : this.nextSlide() : this.snapBack(), this.dragOffset = 0, this.dragVelocity = 0, this.autoScroll && this.startAutoScroll();
|
|
1925
1925
|
},
|
|
1926
1926
|
// Aller à l'élément suivant avec défilement infini
|
|
1927
1927
|
nextSlide() {
|
|
@@ -2008,38 +2008,38 @@ const Yt = ["src", "alt"], Ht = { class: "absolute bottom-2 left-1/2 transform -
|
|
|
2008
2008
|
key: 5,
|
|
2009
2009
|
class: "bottom-content"
|
|
2010
2010
|
};
|
|
2011
|
-
function ei(e, t,
|
|
2012
|
-
return u(),
|
|
2011
|
+
function ei(e, t, n, r, s, i) {
|
|
2012
|
+
return u(), c("div", {
|
|
2013
2013
|
class: "carousel-container",
|
|
2014
2014
|
ref: "carouselContainer",
|
|
2015
|
-
onClick: t[0] || (t[0] = (...o) =>
|
|
2016
|
-
onMousedown: t[1] || (t[1] = (...o) =>
|
|
2017
|
-
onMousemove: t[2] || (t[2] = (...o) =>
|
|
2018
|
-
onMouseup: t[3] || (t[3] = (...o) =>
|
|
2019
|
-
onMouseleave: t[4] || (t[4] = (...o) =>
|
|
2020
|
-
onTouchstart: t[5] || (t[5] = (...o) =>
|
|
2021
|
-
onTouchmove: t[6] || (t[6] = (...o) =>
|
|
2022
|
-
onTouchend: t[7] || (t[7] = (...o) =>
|
|
2015
|
+
onClick: t[0] || (t[0] = (...o) => i.handleContainerClick && i.handleContainerClick(...o)),
|
|
2016
|
+
onMousedown: t[1] || (t[1] = (...o) => i.startDrag && i.startDrag(...o)),
|
|
2017
|
+
onMousemove: t[2] || (t[2] = (...o) => i.onDrag && i.onDrag(...o)),
|
|
2018
|
+
onMouseup: t[3] || (t[3] = (...o) => i.stopDrag && i.stopDrag(...o)),
|
|
2019
|
+
onMouseleave: t[4] || (t[4] = (...o) => i.stopDrag && i.stopDrag(...o)),
|
|
2020
|
+
onTouchstart: t[5] || (t[5] = (...o) => i.startTouchDrag && i.startTouchDrag(...o)),
|
|
2021
|
+
onTouchmove: t[6] || (t[6] = (...o) => i.onTouchDrag && i.onTouchDrag(...o)),
|
|
2022
|
+
onTouchend: t[7] || (t[7] = (...o) => i.stopTouchDrag && i.stopTouchDrag(...o))
|
|
2023
2023
|
}, [
|
|
2024
|
-
|
|
2024
|
+
n.enableClickZones ? (u(), c("div", {
|
|
2025
2025
|
key: 0,
|
|
2026
2026
|
class: "click-zone left-zone",
|
|
2027
|
-
style:
|
|
2028
|
-
}, null, 4)) :
|
|
2029
|
-
|
|
2027
|
+
style: _(i.leftZoneStyle)
|
|
2028
|
+
}, null, 4)) : C("", !0),
|
|
2029
|
+
n.enableClickZones ? (u(), c("div", {
|
|
2030
2030
|
key: 1,
|
|
2031
2031
|
class: "click-zone right-zone",
|
|
2032
|
-
style:
|
|
2033
|
-
}, null, 4)) :
|
|
2034
|
-
|
|
2032
|
+
style: _(i.rightZoneStyle)
|
|
2033
|
+
}, null, 4)) : C("", !0),
|
|
2034
|
+
f("div", {
|
|
2035
2035
|
class: "carousel-track",
|
|
2036
2036
|
ref: "carouselTrack",
|
|
2037
|
-
style:
|
|
2037
|
+
style: _(i.trackStyle)
|
|
2038
2038
|
}, [
|
|
2039
|
-
(u(!0),
|
|
2039
|
+
(u(!0), c(ie, null, ne(i.infiniteItems, (o, h) => (u(), c("div", {
|
|
2040
2040
|
key: `${o.originalIndex}-${o.cloneIndex}`,
|
|
2041
2041
|
class: "carousel-item",
|
|
2042
|
-
style:
|
|
2042
|
+
style: _(i.itemStyle)
|
|
2043
2043
|
}, [
|
|
2044
2044
|
z(e.$slots, "default", {
|
|
2045
2045
|
item: o.data,
|
|
@@ -2047,46 +2047,46 @@ function ei(e, t, i, r, s, n) {
|
|
|
2047
2047
|
isActive: s.currentIndex === o.originalIndex,
|
|
2048
2048
|
isClone: o.cloneIndex !== 0,
|
|
2049
2049
|
cloneIndex: o.cloneIndex,
|
|
2050
|
-
totalItems:
|
|
2050
|
+
totalItems: n.items.length,
|
|
2051
2051
|
currentPosition: s.currentIndex + 1
|
|
2052
2052
|
}, void 0, !0)
|
|
2053
2053
|
], 4))), 128))
|
|
2054
2054
|
], 4),
|
|
2055
|
-
|
|
2056
|
-
(u(!0),
|
|
2055
|
+
n.showIndicators ? (u(), c("div", Gt, [
|
|
2056
|
+
(u(!0), c(ie, null, ne(n.items, (o, h) => (u(), c("button", {
|
|
2057
2057
|
key: h,
|
|
2058
2058
|
class: A(["indicator", { active: s.currentIndex === h }]),
|
|
2059
|
-
onClick: (
|
|
2059
|
+
onClick: (v) => i.goToSlide(h),
|
|
2060
2060
|
"aria-label": `Aller à l'élément ${h + 1}`
|
|
2061
2061
|
}, null, 10, Kt))), 128))
|
|
2062
|
-
])) :
|
|
2063
|
-
|
|
2062
|
+
])) : C("", !0),
|
|
2063
|
+
n.showCustomNavigation ? (u(), c("div", Ut, [
|
|
2064
2064
|
z(e.$slots, "navigation", {
|
|
2065
2065
|
currentIndex: s.currentIndex,
|
|
2066
|
-
totalItems:
|
|
2067
|
-
goToSlide:
|
|
2068
|
-
nextSlide:
|
|
2069
|
-
previousSlide:
|
|
2066
|
+
totalItems: n.items.length,
|
|
2067
|
+
goToSlide: i.goToSlide,
|
|
2068
|
+
nextSlide: i.nextSlide,
|
|
2069
|
+
previousSlide: i.previousSlide,
|
|
2070
2070
|
isTransitioning: s.isTransitioning
|
|
2071
2071
|
}, void 0, !0)
|
|
2072
|
-
])) :
|
|
2073
|
-
|
|
2072
|
+
])) : C("", !0),
|
|
2073
|
+
n.showTopContent ? (u(), c("div", Jt, [
|
|
2074
2074
|
z(e.$slots, "top", {
|
|
2075
2075
|
currentIndex: s.currentIndex,
|
|
2076
|
-
totalItems:
|
|
2077
|
-
currentItem:
|
|
2076
|
+
totalItems: n.items.length,
|
|
2077
|
+
currentItem: n.items[s.currentIndex]
|
|
2078
2078
|
}, void 0, !0)
|
|
2079
|
-
])) :
|
|
2080
|
-
|
|
2079
|
+
])) : C("", !0),
|
|
2080
|
+
n.showBottomContent ? (u(), c("div", Qt, [
|
|
2081
2081
|
z(e.$slots, "bottom", {
|
|
2082
2082
|
currentIndex: s.currentIndex,
|
|
2083
|
-
totalItems:
|
|
2084
|
-
currentItem:
|
|
2083
|
+
totalItems: n.items.length,
|
|
2084
|
+
currentItem: n.items[s.currentIndex]
|
|
2085
2085
|
}, void 0, !0)
|
|
2086
|
-
])) :
|
|
2086
|
+
])) : C("", !0)
|
|
2087
2087
|
], 544);
|
|
2088
2088
|
}
|
|
2089
|
-
const ti = /* @__PURE__ */
|
|
2089
|
+
const ti = /* @__PURE__ */ R(Zt, [["render", ei], ["__scopeId", "data-v-94546c51"]]), ii = {
|
|
2090
2090
|
name: "ToggleButton",
|
|
2091
2091
|
props: {
|
|
2092
2092
|
modelValue: {
|
|
@@ -2133,50 +2133,187 @@ const ti = /* @__PURE__ */ E(Ft, [["render", ei], ["__scopeId", "data-v-94546c51
|
|
|
2133
2133
|
}
|
|
2134
2134
|
}
|
|
2135
2135
|
}, ni = ["data-size", "data-color"];
|
|
2136
|
-
function oi(e, t,
|
|
2137
|
-
return u(),
|
|
2136
|
+
function oi(e, t, n, r, s, i) {
|
|
2137
|
+
return u(), c("div", {
|
|
2138
2138
|
class: A([
|
|
2139
2139
|
"toggle-container",
|
|
2140
|
-
{ "toggle-active":
|
|
2141
|
-
{ "toggle-disabled":
|
|
2140
|
+
{ "toggle-active": n.modelValue },
|
|
2141
|
+
{ "toggle-disabled": n.disabled }
|
|
2142
2142
|
]),
|
|
2143
|
-
"data-size":
|
|
2144
|
-
"data-color":
|
|
2145
|
-
onClick: t[0] || (t[0] = (...o) =>
|
|
2143
|
+
"data-size": n.size,
|
|
2144
|
+
"data-color": n.color,
|
|
2145
|
+
onClick: t[0] || (t[0] = (...o) => i.toggle && i.toggle(...o))
|
|
2146
2146
|
}, [
|
|
2147
|
-
|
|
2147
|
+
f("div", {
|
|
2148
2148
|
class: "toggle-track",
|
|
2149
|
-
style:
|
|
2149
|
+
style: _({ backgroundColor: n.modelValue ? i.getActiveColor() : n.inactiveColor })
|
|
2150
2150
|
}, [
|
|
2151
|
-
|
|
2151
|
+
f("div", {
|
|
2152
2152
|
class: "toggle-thumb",
|
|
2153
|
-
style:
|
|
2153
|
+
style: _({ backgroundColor: n.sliderColor })
|
|
2154
2154
|
}, null, 4)
|
|
2155
2155
|
], 4)
|
|
2156
2156
|
], 10, ni);
|
|
2157
2157
|
}
|
|
2158
|
-
const si = /* @__PURE__ */
|
|
2158
|
+
const si = /* @__PURE__ */ R(ii, [["render", oi], ["__scopeId", "data-v-cda3096b"]]), ri = {
|
|
2159
|
+
name: "ColorPicker",
|
|
2160
|
+
props: {
|
|
2161
|
+
modelValue: {
|
|
2162
|
+
type: String,
|
|
2163
|
+
default: "#3b82f6"
|
|
2164
|
+
},
|
|
2165
|
+
predefinedColors: {
|
|
2166
|
+
type: Array,
|
|
2167
|
+
default: () => [
|
|
2168
|
+
"#3b82f6",
|
|
2169
|
+
// Blue
|
|
2170
|
+
"#10b981",
|
|
2171
|
+
// Green
|
|
2172
|
+
"#8b5cf6",
|
|
2173
|
+
// Purple
|
|
2174
|
+
"#ef4444",
|
|
2175
|
+
// Red
|
|
2176
|
+
"#f97316",
|
|
2177
|
+
// Orange
|
|
2178
|
+
"#f59e0b",
|
|
2179
|
+
// Amber
|
|
2180
|
+
"#06b6d4",
|
|
2181
|
+
// Cyan
|
|
2182
|
+
"#84cc16",
|
|
2183
|
+
// Lime
|
|
2184
|
+
"#ec4899",
|
|
2185
|
+
// Pink
|
|
2186
|
+
"#6b7280",
|
|
2187
|
+
// Gray
|
|
2188
|
+
"#000000",
|
|
2189
|
+
// Black
|
|
2190
|
+
"#ffffff"
|
|
2191
|
+
// White
|
|
2192
|
+
]
|
|
2193
|
+
},
|
|
2194
|
+
size: {
|
|
2195
|
+
type: String,
|
|
2196
|
+
default: "medium",
|
|
2197
|
+
validator: (e) => ["small", "medium", "large"].includes(e)
|
|
2198
|
+
}
|
|
2199
|
+
},
|
|
2200
|
+
emits: ["update:modelValue"],
|
|
2201
|
+
data() {
|
|
2202
|
+
return {
|
|
2203
|
+
isOpen: !1,
|
|
2204
|
+
textInputValue: this.modelValue
|
|
2205
|
+
};
|
|
2206
|
+
},
|
|
2207
|
+
watch: {
|
|
2208
|
+
modelValue(e) {
|
|
2209
|
+
this.textInputValue = e;
|
|
2210
|
+
}
|
|
2211
|
+
},
|
|
2212
|
+
methods: {
|
|
2213
|
+
togglePicker() {
|
|
2214
|
+
this.isOpen = !this.isOpen;
|
|
2215
|
+
},
|
|
2216
|
+
closePicker() {
|
|
2217
|
+
this.isOpen = !1;
|
|
2218
|
+
},
|
|
2219
|
+
selectColor(e, t = !0) {
|
|
2220
|
+
this.isValidColor(e) && this.$emit("update:modelValue", e), t && this.closePicker();
|
|
2221
|
+
},
|
|
2222
|
+
isValidColor(e) {
|
|
2223
|
+
return /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/.test(e);
|
|
2224
|
+
},
|
|
2225
|
+
updateTextInput(e) {
|
|
2226
|
+
this.textInputValue = e;
|
|
2227
|
+
},
|
|
2228
|
+
validateAndApplyColor() {
|
|
2229
|
+
this.isValidColor(this.textInputValue) ? this.$emit("update:modelValue", this.textInputValue) : this.textInputValue = this.modelValue;
|
|
2230
|
+
}
|
|
2231
|
+
}
|
|
2232
|
+
}, ai = { class: "color-picker-container" }, li = { class: "color-picker-header" }, di = { class: "color-picker-content" }, ui = { class: "color-picker-section" }, ci = { class: "color-picker-grid" }, fi = ["onClick"], hi = { class: "color-picker-section" }, mi = { class: "color-picker-custom text-black" }, pi = ["value"], gi = ["value"];
|
|
2233
|
+
function vi(e, t, n, r, s, i) {
|
|
2234
|
+
return u(), c("div", ai, [
|
|
2235
|
+
f("div", {
|
|
2236
|
+
class: "color-picker-trigger",
|
|
2237
|
+
style: _({ backgroundColor: n.modelValue }),
|
|
2238
|
+
onClick: t[0] || (t[0] = (...o) => i.togglePicker && i.togglePicker(...o))
|
|
2239
|
+
}, t[7] || (t[7] = [
|
|
2240
|
+
f("div", { class: "color-picker-preview" }, null, -1)
|
|
2241
|
+
]), 4),
|
|
2242
|
+
s.isOpen ? (u(), c("div", {
|
|
2243
|
+
key: 0,
|
|
2244
|
+
class: A(["color-picker-dropdown", { "color-picker-dropdown-open": s.isOpen }])
|
|
2245
|
+
}, [
|
|
2246
|
+
f("div", li, [
|
|
2247
|
+
t[8] || (t[8] = f("span", { class: "color-picker-title" }, "Choisir une couleur", -1)),
|
|
2248
|
+
f("button", {
|
|
2249
|
+
class: "color-picker-close",
|
|
2250
|
+
onClick: t[1] || (t[1] = (...o) => i.closePicker && i.closePicker(...o))
|
|
2251
|
+
}, " × ")
|
|
2252
|
+
]),
|
|
2253
|
+
f("div", di, [
|
|
2254
|
+
f("div", ui, [
|
|
2255
|
+
t[9] || (t[9] = f("h4", { class: "color-picker-section-title" }, "Couleurs prédéfinies", -1)),
|
|
2256
|
+
f("div", ci, [
|
|
2257
|
+
(u(!0), c(ie, null, ne(n.predefinedColors, (o) => (u(), c("div", {
|
|
2258
|
+
key: o,
|
|
2259
|
+
class: A(["color-picker-option", { "color-picker-option-selected": n.modelValue === o }]),
|
|
2260
|
+
style: _({ backgroundColor: o }),
|
|
2261
|
+
onClick: (h) => i.selectColor(o, !0)
|
|
2262
|
+
}, null, 14, fi))), 128))
|
|
2263
|
+
])
|
|
2264
|
+
]),
|
|
2265
|
+
f("div", hi, [
|
|
2266
|
+
t[10] || (t[10] = f("h4", { class: "color-picker-section-title" }, "Couleur personnalisée", -1)),
|
|
2267
|
+
f("div", mi, [
|
|
2268
|
+
f("input", {
|
|
2269
|
+
type: "color",
|
|
2270
|
+
value: n.modelValue,
|
|
2271
|
+
onInput: t[2] || (t[2] = (o) => i.selectColor(o.target.value, !1)),
|
|
2272
|
+
class: "color-picker-input"
|
|
2273
|
+
}, null, 40, pi),
|
|
2274
|
+
f("input", {
|
|
2275
|
+
type: "text",
|
|
2276
|
+
value: s.textInputValue,
|
|
2277
|
+
onInput: t[3] || (t[3] = (o) => i.updateTextInput(o.target.value)),
|
|
2278
|
+
onBlur: t[4] || (t[4] = (...o) => i.validateAndApplyColor && i.validateAndApplyColor(...o)),
|
|
2279
|
+
onKeyup: t[5] || (t[5] = ue((...o) => i.validateAndApplyColor && i.validateAndApplyColor(...o), ["enter"])),
|
|
2280
|
+
class: "color-picker-text-input",
|
|
2281
|
+
placeholder: "#000000"
|
|
2282
|
+
}, null, 40, gi)
|
|
2283
|
+
])
|
|
2284
|
+
])
|
|
2285
|
+
])
|
|
2286
|
+
], 2)) : C("", !0),
|
|
2287
|
+
s.isOpen ? (u(), c("div", {
|
|
2288
|
+
key: 1,
|
|
2289
|
+
class: "color-picker-overlay",
|
|
2290
|
+
onClick: t[6] || (t[6] = (...o) => i.closePicker && i.closePicker(...o))
|
|
2291
|
+
})) : C("", !0)
|
|
2292
|
+
]);
|
|
2293
|
+
}
|
|
2294
|
+
const bi = /* @__PURE__ */ R(ri, [["render", vi], ["__scopeId", "data-v-a5f20382"]]), ki = {
|
|
2159
2295
|
install(e) {
|
|
2160
|
-
|
|
2296
|
+
xt.init({
|
|
2161
2297
|
duration: 800,
|
|
2162
2298
|
easing: "ease-in-out",
|
|
2163
2299
|
once: !0
|
|
2164
|
-
}), e.component("CustomButton",
|
|
2300
|
+
}), e.component("CustomButton", $e), e.component("AnimatedReveal", Ve), e.component("BackgroundShapes", We), e.component("CustomDropdown", It), e.component("GenericNav", ut), e.component("GlowCard", mt), e.component("MouseOriented", bt), e.component("Footer", Bt), e.component("WaveContainer", Xt), e.component("Popup", Nt), e.component("SnapDiv", Wt), e.component("Gallery", Ft), e.component("Carousel", ti), e.component("BurgerButton", ye), e.component("ToggleButton", si), e.component("ColorPicker", bi);
|
|
2165
2301
|
}
|
|
2166
2302
|
};
|
|
2167
2303
|
export {
|
|
2168
2304
|
ye as BurgerButton,
|
|
2169
2305
|
ti as Carousel,
|
|
2170
|
-
|
|
2306
|
+
bi as ColorPicker,
|
|
2307
|
+
$e as CustomButton,
|
|
2171
2308
|
It as CustomDropdown,
|
|
2172
|
-
|
|
2309
|
+
Ft as Gallery,
|
|
2173
2310
|
ut as GenericNav,
|
|
2174
2311
|
mt as GlowCard,
|
|
2175
2312
|
bt as MouseOriented,
|
|
2176
|
-
|
|
2177
|
-
|
|
2313
|
+
Nt as Popup,
|
|
2314
|
+
Wt as SnapDiv,
|
|
2178
2315
|
si as ToggleButton,
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2316
|
+
Xt as WaveContainer,
|
|
2317
|
+
ki as default,
|
|
2318
|
+
wi as initSnapScroll
|
|
2182
2319
|
};
|