nethera-vue-components 1.5.1 → 1.5.2
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,5 +1,5 @@
|
|
|
1
|
-
import { createElementBlock as x, openBlock as k, normalizeStyle as
|
|
2
|
-
const
|
|
1
|
+
import { createElementBlock as x, openBlock as k, normalizeStyle as L, normalizeClass as ie, renderSlot as Y, ref as se, computed as pe, resolveDirective as ge, withDirectives as he, Fragment as me, renderList as ve, createCommentVNode as q, createStaticVNode as ue, createElementVNode as b, toDisplayString as ae, vShow as ye, withKeys as ce, withModifiers as le, createTextVNode as we, unref as ke, onMounted as xe, onBeforeUnmount as Se, createBlock as Me, Transition as _e, withCtx as $e } from "vue";
|
|
2
|
+
const W = (e, n) => {
|
|
3
3
|
const s = e.__vccOpts || e;
|
|
4
4
|
for (const [a, i] of n)
|
|
5
5
|
s[a] = i;
|
|
@@ -85,7 +85,7 @@ const V = (e, n) => {
|
|
|
85
85
|
},
|
|
86
86
|
emits: ["click"]
|
|
87
87
|
}, ze = ["disabled"];
|
|
88
|
-
function
|
|
88
|
+
function Re(e, n, s, a, i, t) {
|
|
89
89
|
return k(), x("button", {
|
|
90
90
|
class: ie([
|
|
91
91
|
"custom-button",
|
|
@@ -94,12 +94,12 @@ function Ce(e, n, s, a, i, t) {
|
|
|
94
94
|
]),
|
|
95
95
|
disabled: s.disabled,
|
|
96
96
|
onClick: n[0] || (n[0] = (o) => e.$emit("click", o)),
|
|
97
|
-
style:
|
|
97
|
+
style: L(t.glowStyles)
|
|
98
98
|
}, [
|
|
99
|
-
|
|
99
|
+
Y(e.$slots, "default", {}, void 0, !0)
|
|
100
100
|
], 14, ze);
|
|
101
101
|
}
|
|
102
|
-
const
|
|
102
|
+
const Ce = /* @__PURE__ */ W(Oe, [["render", Re], ["__scopeId", "data-v-7f47605a"]]), Be = {
|
|
103
103
|
__name: "AnimatedReveal",
|
|
104
104
|
props: {
|
|
105
105
|
delay: { type: String, default: "0s" },
|
|
@@ -111,43 +111,43 @@ const Re = /* @__PURE__ */ V(Oe, [["render", Ce], ["__scopeId", "data-v-7f47605a
|
|
|
111
111
|
const n = e, s = se(!1), a = se(!1), i = se(null), t = pe(() => `animate-${n.animation}`), o = pe(
|
|
112
112
|
() => n.observe ? s.value : n.shouldAnimate
|
|
113
113
|
);
|
|
114
|
-
function
|
|
115
|
-
|
|
114
|
+
function m(d) {
|
|
115
|
+
d && (s.value = !0);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function v() {
|
|
118
118
|
a.value = !0;
|
|
119
119
|
}
|
|
120
120
|
function l() {
|
|
121
121
|
a.value = !0;
|
|
122
122
|
}
|
|
123
|
-
return (
|
|
124
|
-
const
|
|
125
|
-
return
|
|
123
|
+
return (d, u) => {
|
|
124
|
+
const p = ge("observe-visibility");
|
|
125
|
+
return he((k(), x("div", {
|
|
126
126
|
ref_key: "root",
|
|
127
127
|
ref: i,
|
|
128
128
|
class: ie([
|
|
129
129
|
o.value ? t.value : "pre-slide-in",
|
|
130
130
|
a.value ? "visible" : "invisible"
|
|
131
131
|
]),
|
|
132
|
-
style:
|
|
132
|
+
style: L({
|
|
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
|
+
Y(d.$slots, "default", {}, void 0, !0)
|
|
142
142
|
], 38)), [
|
|
143
|
-
[
|
|
144
|
-
callback:
|
|
143
|
+
[p, {
|
|
144
|
+
callback: m,
|
|
145
145
|
once: !0
|
|
146
146
|
}]
|
|
147
147
|
]);
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
|
-
},
|
|
150
|
+
}, je = /* @__PURE__ */ W(Be, [["__scopeId", "data-v-9ba35d08"]]), Ee = {
|
|
151
151
|
name: "BackgroundShapes",
|
|
152
152
|
data() {
|
|
153
153
|
return {
|
|
@@ -180,21 +180,21 @@ const Re = /* @__PURE__ */ V(Oe, [["render", Ce], ["__scopeId", "data-v-7f47605a
|
|
|
180
180
|
generateShapes() {
|
|
181
181
|
const e = window.innerWidth, n = 2 * (window.innerHeight / 3), a = Math.floor((e + n) / 300) * this.shapeMultiplier, i = ["cube-1", "cube-2", "cube-3"], t = [];
|
|
182
182
|
for (let o = 0; o < a; o++) {
|
|
183
|
-
let
|
|
183
|
+
let m = 0, v, l = !1;
|
|
184
184
|
do
|
|
185
|
-
|
|
185
|
+
v = {
|
|
186
186
|
top: Math.random() * 95,
|
|
187
187
|
left: Math.random() * 100
|
|
188
|
-
}, l = t.some((
|
|
189
|
-
const
|
|
190
|
-
return Math.sqrt(
|
|
191
|
-
}),
|
|
192
|
-
while (l &&
|
|
188
|
+
}, l = t.some((d) => {
|
|
189
|
+
const u = d.top - v.top, p = d.left - v.left;
|
|
190
|
+
return Math.sqrt(u * u + p * p) < this.minDistance;
|
|
191
|
+
}), m++;
|
|
192
|
+
while (l && m < 10);
|
|
193
193
|
l || t.push({
|
|
194
194
|
id: o,
|
|
195
195
|
type: i[Math.floor(Math.random() * i.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
|
|
@@ -203,41 +203,41 @@ const Re = /* @__PURE__ */ V(Oe, [["render", Ce], ["__scopeId", "data-v-7f47605a
|
|
|
203
203
|
this.shapes = t;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
},
|
|
206
|
+
}, Le = { class: "background-shapes absolute inset-0 pointer-events-none" }, Ne = {
|
|
207
207
|
key: 0,
|
|
208
208
|
class: "cube animate-rotate3d_1"
|
|
209
|
-
},
|
|
209
|
+
}, Ae = {
|
|
210
210
|
key: 1,
|
|
211
211
|
class: "cube animate-rotate3d_3"
|
|
212
|
-
},
|
|
212
|
+
}, De = {
|
|
213
213
|
key: 2,
|
|
214
214
|
class: "cube animate-rotate3d_2"
|
|
215
215
|
};
|
|
216
|
-
function
|
|
217
|
-
return k(), x("div",
|
|
218
|
-
(k(!0), x(
|
|
216
|
+
function Ye(e, n, s, a, i, t) {
|
|
217
|
+
return k(), x("div", Le, [
|
|
218
|
+
(k(!0), x(me, null, ve(i.shapes, (o) => (k(), x("div", {
|
|
219
219
|
key: o.id,
|
|
220
220
|
class: "shape-container",
|
|
221
|
-
style:
|
|
221
|
+
style: L({
|
|
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" ? (k(), x("div",
|
|
228
|
+
o.type === "cube-1" ? (k(), x("div", Ne, n[0] || (n[0] = [
|
|
229
229
|
ue('<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
|
-
]))) :
|
|
231
|
-
o.type === "cube-2" ? (k(), x("div",
|
|
230
|
+
]))) : q("", !0),
|
|
231
|
+
o.type === "cube-2" ? (k(), x("div", Ae, n[1] || (n[1] = [
|
|
232
232
|
ue('<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
|
-
]))) :
|
|
234
|
-
o.type === "cube-3" ? (k(), x("div",
|
|
233
|
+
]))) : q("", !0),
|
|
234
|
+
o.type === "cube-3" ? (k(), x("div", De, n[2] || (n[2] = [
|
|
235
235
|
ue('<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
|
-
]))) :
|
|
236
|
+
]))) : q("", !0)
|
|
237
237
|
], 4))), 128))
|
|
238
238
|
]);
|
|
239
239
|
}
|
|
240
|
-
const
|
|
240
|
+
const Te = /* @__PURE__ */ W(Ee, [["render", Ye], ["__scopeId", "data-v-b7ea069f"]]), Ie = {
|
|
241
241
|
name: "GenericNav",
|
|
242
242
|
props: {
|
|
243
243
|
title: {
|
|
@@ -279,10 +279,10 @@ const Ye = /* @__PURE__ */ V(Le, [["render", Te], ["__scopeId", "data-v-b7ea069f
|
|
|
279
279
|
mounted() {
|
|
280
280
|
typeof this.menuOpen == "boolean" && (this.isMenuOpen = this.menuOpen);
|
|
281
281
|
}
|
|
282
|
-
}, Pe = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" }, Xe = { class: "flex justify-between h-20" }, qe = { class: "flex items-center" },
|
|
282
|
+
}, Pe = { class: "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8" }, Xe = { class: "flex justify-between h-20" }, qe = { class: "flex items-center" }, We = { class: "flex-shrink-0 flex items-center" }, Fe = {
|
|
283
283
|
style: { "margin-right": "20px" },
|
|
284
284
|
class: "subtitle font-bold"
|
|
285
|
-
},
|
|
285
|
+
}, Ve = { class: "flex items-center md:hidden" }, He = {
|
|
286
286
|
key: 0,
|
|
287
287
|
class: "block h-6 w-6",
|
|
288
288
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -303,30 +303,30 @@ function Je(e, n, s, a, i, t) {
|
|
|
303
303
|
return k(), x("nav", {
|
|
304
304
|
class: ie({ "dark-mode": s.isDarkMode })
|
|
305
305
|
}, [
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
306
|
+
b("div", Pe, [
|
|
307
|
+
b("div", Xe, [
|
|
308
|
+
b("div", qe, [
|
|
309
|
+
b("div", We, [
|
|
310
|
+
Y(e.$slots, "logo", {}, void 0, !0),
|
|
311
|
+
b("h1", Fe, ae(s.title), 1)
|
|
312
312
|
])
|
|
313
313
|
]),
|
|
314
|
-
|
|
315
|
-
|
|
314
|
+
b("div", Ve, [
|
|
315
|
+
b("button", {
|
|
316
316
|
onClick: n[0] || (n[0] = (...o) => t.toggleMenu && t.toggleMenu(...o)),
|
|
317
317
|
class: "inline-flex items-center justify-center p-2 rounded-md focus:outline-none focus:ring-2 focus:ring-inset focus:ring-gray-500",
|
|
318
318
|
"aria-expanded": "false"
|
|
319
319
|
}, [
|
|
320
|
-
n[3] || (n[3] =
|
|
320
|
+
n[3] || (n[3] = b("span", { class: "sr-only" }, "Ouvrir le menu", -1)),
|
|
321
321
|
i.isMenuOpen ? (k(), x("svg", Ke, n[2] || (n[2] = [
|
|
322
|
-
|
|
322
|
+
b("path", {
|
|
323
323
|
"stroke-linecap": "round",
|
|
324
324
|
"stroke-linejoin": "round",
|
|
325
325
|
"stroke-width": "2",
|
|
326
326
|
d: "M6 18L18 6M6 6l12 12"
|
|
327
327
|
}, null, -1)
|
|
328
328
|
]))) : (k(), x("svg", He, n[1] || (n[1] = [
|
|
329
|
-
|
|
329
|
+
b("path", {
|
|
330
330
|
"stroke-linecap": "round",
|
|
331
331
|
"stroke-linejoin": "round",
|
|
332
332
|
"stroke-width": "2",
|
|
@@ -335,21 +335,21 @@ function Je(e, n, s, a, i, t) {
|
|
|
335
335
|
])))
|
|
336
336
|
])
|
|
337
337
|
]),
|
|
338
|
-
|
|
339
|
-
|
|
338
|
+
b("div", Ge, [
|
|
339
|
+
Y(e.$slots, "desktop", {}, void 0, !0)
|
|
340
340
|
])
|
|
341
341
|
]),
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
342
|
+
he(b("div", Ze, [
|
|
343
|
+
b("div", Ue, [
|
|
344
|
+
Y(e.$slots, "mobile", {}, void 0, !0)
|
|
345
345
|
])
|
|
346
346
|
], 512), [
|
|
347
|
-
[
|
|
347
|
+
[ye, i.isMenuOpen]
|
|
348
348
|
])
|
|
349
349
|
])
|
|
350
350
|
], 2);
|
|
351
351
|
}
|
|
352
|
-
const Qe = /* @__PURE__ */
|
|
352
|
+
const Qe = /* @__PURE__ */ W(Ie, [["render", Je], ["__scopeId", "data-v-691dc90c"]]), et = {
|
|
353
353
|
name: "GlowCard",
|
|
354
354
|
props: {
|
|
355
355
|
glowColor: {
|
|
@@ -466,19 +466,19 @@ function nt(e, n, s, a, i, t) {
|
|
|
466
466
|
s.showGrid && !i.isMobile ? (k(), x("div", {
|
|
467
467
|
key: 0,
|
|
468
468
|
class: "glow-grid",
|
|
469
|
-
style:
|
|
470
|
-
}, null, 4)) :
|
|
471
|
-
|
|
472
|
-
|
|
469
|
+
style: L(t.gridMaskStyle)
|
|
470
|
+
}, null, 4)) : q("", !0),
|
|
471
|
+
b("div", tt, [
|
|
472
|
+
Y(e.$slots, "default", {}, void 0, !0)
|
|
473
473
|
]),
|
|
474
474
|
s.showGlow && !i.isMobile ? (k(), x("div", {
|
|
475
475
|
key: 1,
|
|
476
476
|
class: "glow-effect",
|
|
477
|
-
style:
|
|
478
|
-
}, null, 4)) :
|
|
477
|
+
style: L(t.glowStyle)
|
|
478
|
+
}, null, 4)) : q("", !0)
|
|
479
479
|
], 544);
|
|
480
480
|
}
|
|
481
|
-
const ot = /* @__PURE__ */
|
|
481
|
+
const ot = /* @__PURE__ */ W(et, [["render", nt], ["__scopeId", "data-v-d6b1d83c"]]), it = {
|
|
482
482
|
name: "MouseOriented",
|
|
483
483
|
props: {
|
|
484
484
|
detectionZoneSize: {
|
|
@@ -579,12 +579,12 @@ const ot = /* @__PURE__ */ V(et, [["render", nt], ["__scopeId", "data-v-d6b1d83c
|
|
|
579
579
|
},
|
|
580
580
|
mousePositionStyle() {
|
|
581
581
|
if (!this.containerRect || !this.active) return {};
|
|
582
|
-
const e = this.detectionZoneSize / 100, n = this.containerRect.left + this.containerRect.width / 2, s = this.containerRect.top + this.containerRect.height / 2, a = this.containerRect.width * e / 2, i = (this.mouseX - n) / a * 50, t = (this.mouseY - s) / a * 50, o = Math.min(Math.max(i, -50), 50),
|
|
582
|
+
const e = this.detectionZoneSize / 100, n = this.containerRect.left + this.containerRect.width / 2, s = this.containerRect.top + this.containerRect.height / 2, a = this.containerRect.width * e / 2, i = (this.mouseX - n) / a * 50, t = (this.mouseY - s) / a * 50, o = Math.min(Math.max(i, -50), 50), m = Math.min(Math.max(t, -50), 50);
|
|
583
583
|
return {
|
|
584
584
|
position: "absolute",
|
|
585
585
|
top: "50%",
|
|
586
586
|
left: "50%",
|
|
587
|
-
transform: `translate(calc(-50% + ${o}%), calc(-50% + ${
|
|
587
|
+
transform: `translate(calc(-50% + ${o}%), calc(-50% + ${m}%))`,
|
|
588
588
|
width: "10px",
|
|
589
589
|
height: "10px",
|
|
590
590
|
backgroundColor: "rgba(255, 0, 0)",
|
|
@@ -607,10 +607,10 @@ const ot = /* @__PURE__ */ V(et, [["render", nt], ["__scopeId", "data-v-d6b1d83c
|
|
|
607
607
|
methods: {
|
|
608
608
|
handleMouseMove(e) {
|
|
609
609
|
if (this.active && (this.mouseX = e.clientX, this.mouseY = e.clientY, this.containerRect)) {
|
|
610
|
-
const n = this.containerRect.left + this.containerRect.width / 2, s = this.containerRect.top + this.containerRect.height / 2, a = window.innerWidth * (this.detectionZoneSize / 100), i = window.innerHeight * (this.detectionZoneSize / 100), t = n - a / 2, o = n + a / 2,
|
|
611
|
-
if (e.clientX >= t && e.clientX <= o && e.clientY >=
|
|
612
|
-
const l = (this.mouseX - n) / (this.containerRect.width / 2),
|
|
613
|
-
this.targetRotateX = Math.min(Math.max(-
|
|
610
|
+
const n = this.containerRect.left + this.containerRect.width / 2, s = this.containerRect.top + this.containerRect.height / 2, a = window.innerWidth * (this.detectionZoneSize / 100), i = window.innerHeight * (this.detectionZoneSize / 100), t = n - a / 2, o = n + a / 2, m = s - i / 2, v = s + i / 2;
|
|
611
|
+
if (e.clientX >= t && e.clientX <= o && e.clientY >= m && e.clientY <= v) {
|
|
612
|
+
const l = (this.mouseX - n) / (this.containerRect.width / 2), d = (this.mouseY - s) / (this.containerRect.height / 2);
|
|
613
|
+
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();
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
616
|
},
|
|
@@ -631,31 +631,31 @@ function rt(e, n, s, a, i, t) {
|
|
|
631
631
|
return k(), x("div", {
|
|
632
632
|
class: "mouse-oriented-container",
|
|
633
633
|
ref: "container",
|
|
634
|
-
style:
|
|
634
|
+
style: L(t.containerStyle)
|
|
635
635
|
}, [
|
|
636
636
|
s.debug ? (k(), x("div", {
|
|
637
637
|
key: 0,
|
|
638
638
|
class: "mouse-detection-zone",
|
|
639
|
-
style:
|
|
639
|
+
style: L(t.mouseDetectionZoneStyle)
|
|
640
640
|
}, [
|
|
641
|
-
|
|
641
|
+
b("div", {
|
|
642
642
|
class: "mouse-position-indicator",
|
|
643
|
-
style:
|
|
643
|
+
style: L(t.mousePositionStyle)
|
|
644
644
|
}, null, 4)
|
|
645
|
-
], 4)) :
|
|
646
|
-
|
|
645
|
+
], 4)) : q("", !0),
|
|
646
|
+
b("div", {
|
|
647
647
|
class: "mouse-oriented-content",
|
|
648
|
-
style:
|
|
648
|
+
style: L(t.contentStyle)
|
|
649
649
|
}, [
|
|
650
|
-
|
|
650
|
+
Y(e.$slots, "default", {}, void 0, !0),
|
|
651
651
|
s.debug ? (k(), x("div", at, n[0] || (n[0] = [
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
]))) :
|
|
652
|
+
b("div", { class: "debug-line horizontal" }, null, -1),
|
|
653
|
+
b("div", { class: "debug-line vertical" }, null, -1)
|
|
654
|
+
]))) : q("", !0)
|
|
655
655
|
], 4)
|
|
656
656
|
], 4);
|
|
657
657
|
}
|
|
658
|
-
const st = /* @__PURE__ */
|
|
658
|
+
const st = /* @__PURE__ */ W(it, [["render", rt], ["__scopeId", "data-v-bf8c32e0"]]);
|
|
659
659
|
var lt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
660
660
|
function dt(e) {
|
|
661
661
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -674,119 +674,119 @@ var be = { exports: {} };
|
|
|
674
674
|
var i = {};
|
|
675
675
|
return a.m = s, a.c = i, a.p = "dist/", a(0);
|
|
676
676
|
}([function(s, a, i) {
|
|
677
|
-
function t(
|
|
678
|
-
return
|
|
677
|
+
function t(f) {
|
|
678
|
+
return f && f.__esModule ? f : { default: f };
|
|
679
679
|
}
|
|
680
|
-
var o = Object.assign || function(
|
|
681
|
-
for (var
|
|
682
|
-
var
|
|
683
|
-
for (var
|
|
680
|
+
var o = Object.assign || function(f) {
|
|
681
|
+
for (var R = 1; R < arguments.length; R++) {
|
|
682
|
+
var D = arguments[R];
|
|
683
|
+
for (var K in D) Object.prototype.hasOwnProperty.call(D, K) && (f[K] = D[K]);
|
|
684
684
|
}
|
|
685
|
-
return
|
|
686
|
-
},
|
|
687
|
-
var
|
|
688
|
-
if (
|
|
689
|
-
},
|
|
690
|
-
|
|
691
|
-
},
|
|
692
|
-
|
|
693
|
-
|
|
685
|
+
return f;
|
|
686
|
+
}, m = i(1), v = (t(m), i(6)), l = t(v), d = i(7), u = t(d), p = i(8), h = t(p), g = i(9), O = t(g), _ = i(10), N = t(_), J = i(11), F = t(J), V = i(14), te = t(V), B = [], ne = !1, S = { offset: 120, delay: 0, easing: "ease", duration: 400, disable: !1, once: !1, startEvent: "DOMContentLoaded", throttleDelay: 99, debounceDelay: 50, disableMutationObserver: !1 }, A = function() {
|
|
687
|
+
var f = arguments.length > 0 && arguments[0] !== void 0 && arguments[0];
|
|
688
|
+
if (f && (ne = !0), ne) return B = (0, F.default)(B, S), (0, N.default)(B, S.once), B;
|
|
689
|
+
}, H = function() {
|
|
690
|
+
B = (0, te.default)(), A();
|
|
691
|
+
}, c = function() {
|
|
692
|
+
B.forEach(function(f, R) {
|
|
693
|
+
f.node.removeAttribute("data-aos"), f.node.removeAttribute("data-aos-easing"), f.node.removeAttribute("data-aos-duration"), f.node.removeAttribute("data-aos-delay");
|
|
694
694
|
});
|
|
695
|
-
}, r = function(
|
|
696
|
-
return
|
|
697
|
-
},
|
|
698
|
-
|
|
699
|
-
var
|
|
700
|
-
return r(
|
|
695
|
+
}, r = function(f) {
|
|
696
|
+
return f === !0 || f === "mobile" && O.default.mobile() || f === "phone" && O.default.phone() || f === "tablet" && O.default.tablet() || typeof f == "function" && f() === !0;
|
|
697
|
+
}, y = function(f) {
|
|
698
|
+
S = o(S, f), B = (0, te.default)();
|
|
699
|
+
var R = document.all && !window.atob;
|
|
700
|
+
return r(S.disable) || R ? c() : (S.disableMutationObserver || h.default.isSupported() || (console.info(`
|
|
701
701
|
aos: MutationObserver is not supported on this browser,
|
|
702
702
|
code mutations observing has been disabled.
|
|
703
703
|
You may have to call "refreshHard()" by yourself.
|
|
704
|
-
`),
|
|
705
|
-
|
|
706
|
-
}) : document.addEventListener(
|
|
707
|
-
|
|
708
|
-
}), window.addEventListener("resize", (0,
|
|
709
|
-
(0,
|
|
710
|
-
},
|
|
704
|
+
`), 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 ? A(!0) : S.startEvent === "load" ? window.addEventListener(S.startEvent, function() {
|
|
705
|
+
A(!0);
|
|
706
|
+
}) : document.addEventListener(S.startEvent, function() {
|
|
707
|
+
A(!0);
|
|
708
|
+
}), window.addEventListener("resize", (0, u.default)(A, S.debounceDelay, !0)), window.addEventListener("orientationchange", (0, u.default)(A, S.debounceDelay, !0)), window.addEventListener("scroll", (0, l.default)(function() {
|
|
709
|
+
(0, N.default)(B, S.once);
|
|
710
|
+
}, S.throttleDelay)), S.disableMutationObserver || h.default.ready("[data-aos]", H), B);
|
|
711
711
|
};
|
|
712
|
-
s.exports = { init:
|
|
712
|
+
s.exports = { init: y, refresh: A, refreshHard: H };
|
|
713
713
|
}, function(s, a) {
|
|
714
714
|
}, , , , , function(s, a) {
|
|
715
715
|
(function(i) {
|
|
716
|
-
function t(r,
|
|
717
|
-
function
|
|
718
|
-
var
|
|
719
|
-
return
|
|
716
|
+
function t(r, y, f) {
|
|
717
|
+
function R(w) {
|
|
718
|
+
var C = E, U = I;
|
|
719
|
+
return E = I = void 0, G = w, z = r.apply(U, C);
|
|
720
720
|
}
|
|
721
|
-
function
|
|
722
|
-
return
|
|
721
|
+
function D(w) {
|
|
722
|
+
return G = w, $ = setTimeout(ee, y), Z ? R(w) : z;
|
|
723
723
|
}
|
|
724
|
-
function
|
|
725
|
-
var
|
|
726
|
-
return
|
|
724
|
+
function K(w) {
|
|
725
|
+
var C = w - j, U = w - G, fe = y - C;
|
|
726
|
+
return X ? H(fe, P - U) : fe;
|
|
727
727
|
}
|
|
728
|
-
function
|
|
729
|
-
var
|
|
730
|
-
return
|
|
728
|
+
function Q(w) {
|
|
729
|
+
var C = w - j, U = w - G;
|
|
730
|
+
return j === void 0 || C >= y || C < 0 || X && U >= P;
|
|
731
731
|
}
|
|
732
|
-
function
|
|
733
|
-
var
|
|
734
|
-
return
|
|
732
|
+
function ee() {
|
|
733
|
+
var w = c();
|
|
734
|
+
return Q(w) ? re(w) : void ($ = setTimeout(ee, K(w)));
|
|
735
735
|
}
|
|
736
|
-
function re(
|
|
737
|
-
return
|
|
736
|
+
function re(w) {
|
|
737
|
+
return $ = void 0, M && E ? R(w) : (E = I = void 0, z);
|
|
738
738
|
}
|
|
739
739
|
function de() {
|
|
740
|
-
|
|
740
|
+
$ !== void 0 && clearTimeout($), G = 0, E = j = I = $ = void 0;
|
|
741
741
|
}
|
|
742
742
|
function oe() {
|
|
743
|
-
return
|
|
743
|
+
return $ === void 0 ? z : re(c());
|
|
744
744
|
}
|
|
745
|
-
function
|
|
746
|
-
var
|
|
747
|
-
if (
|
|
748
|
-
if (
|
|
749
|
-
if (
|
|
745
|
+
function T() {
|
|
746
|
+
var w = c(), C = Q(w);
|
|
747
|
+
if (E = arguments, I = this, j = w, C) {
|
|
748
|
+
if ($ === void 0) return D(j);
|
|
749
|
+
if (X) return $ = setTimeout(ee, y), R(j);
|
|
750
750
|
}
|
|
751
|
-
return
|
|
751
|
+
return $ === void 0 && ($ = setTimeout(ee, y)), z;
|
|
752
752
|
}
|
|
753
|
-
var
|
|
754
|
-
if (typeof r != "function") throw new TypeError(
|
|
755
|
-
return
|
|
753
|
+
var E, I, P, z, $, j, G = 0, Z = !1, X = !1, M = !0;
|
|
754
|
+
if (typeof r != "function") throw new TypeError(p);
|
|
755
|
+
return y = d(y) || 0, m(f) && (Z = !!f.leading, X = "maxWait" in f, P = X ? A(d(f.maxWait) || 0, y) : P, M = "trailing" in f ? !!f.trailing : M), T.cancel = de, T.flush = oe, T;
|
|
756
756
|
}
|
|
757
|
-
function o(r,
|
|
758
|
-
var
|
|
759
|
-
if (typeof r != "function") throw new TypeError(
|
|
760
|
-
return
|
|
757
|
+
function o(r, y, f) {
|
|
758
|
+
var R = !0, D = !0;
|
|
759
|
+
if (typeof r != "function") throw new TypeError(p);
|
|
760
|
+
return m(f) && (R = "leading" in f ? !!f.leading : R, D = "trailing" in f ? !!f.trailing : D), t(r, y, { leading: R, maxWait: y, trailing: D });
|
|
761
761
|
}
|
|
762
|
-
function
|
|
763
|
-
var
|
|
764
|
-
return !!r && (
|
|
762
|
+
function m(r) {
|
|
763
|
+
var y = typeof r > "u" ? "undefined" : u(r);
|
|
764
|
+
return !!r && (y == "object" || y == "function");
|
|
765
765
|
}
|
|
766
|
-
function
|
|
767
|
-
return !!r && (typeof r > "u" ? "undefined" :
|
|
766
|
+
function v(r) {
|
|
767
|
+
return !!r && (typeof r > "u" ? "undefined" : u(r)) == "object";
|
|
768
768
|
}
|
|
769
769
|
function l(r) {
|
|
770
|
-
return (typeof r > "u" ? "undefined" :
|
|
770
|
+
return (typeof r > "u" ? "undefined" : u(r)) == "symbol" || v(r) && S.call(r) == g;
|
|
771
771
|
}
|
|
772
|
-
function
|
|
772
|
+
function d(r) {
|
|
773
773
|
if (typeof r == "number") return r;
|
|
774
|
-
if (l(r)) return
|
|
775
|
-
if (
|
|
776
|
-
var
|
|
777
|
-
r =
|
|
774
|
+
if (l(r)) return h;
|
|
775
|
+
if (m(r)) {
|
|
776
|
+
var y = typeof r.valueOf == "function" ? r.valueOf() : r;
|
|
777
|
+
r = m(y) ? y + "" : y;
|
|
778
778
|
}
|
|
779
779
|
if (typeof r != "string") return r === 0 ? r : +r;
|
|
780
|
-
r = r.replace(
|
|
781
|
-
var
|
|
782
|
-
return
|
|
780
|
+
r = r.replace(O, "");
|
|
781
|
+
var f = N.test(r);
|
|
782
|
+
return f || J.test(r) ? F(r.slice(2), f ? 2 : 8) : _.test(r) ? h : +r;
|
|
783
783
|
}
|
|
784
|
-
var
|
|
784
|
+
var u = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(r) {
|
|
785
785
|
return typeof r;
|
|
786
786
|
} : function(r) {
|
|
787
787
|
return r && typeof Symbol == "function" && r.constructor === Symbol && r !== Symbol.prototype ? "symbol" : typeof r;
|
|
788
|
-
},
|
|
789
|
-
return
|
|
788
|
+
}, p = "Expected a function", h = NaN, g = "[object Symbol]", O = /^\s+|\s+$/g, _ = /^[-+]0x[0-9a-f]+$/i, N = /^0b[01]+$/i, J = /^0o[0-7]+$/i, F = parseInt, V = (typeof i > "u" ? "undefined" : u(i)) == "object" && i && i.Object === Object && i, te = (typeof self > "u" ? "undefined" : u(self)) == "object" && self && self.Object === Object && self, B = V || te || Function("return this")(), ne = Object.prototype, S = ne.toString, A = Math.max, H = Math.min, c = function() {
|
|
789
|
+
return B.Date.now();
|
|
790
790
|
};
|
|
791
791
|
s.exports = o;
|
|
792
792
|
}).call(a, /* @__PURE__ */ function() {
|
|
@@ -794,85 +794,85 @@ var be = { exports: {} };
|
|
|
794
794
|
}());
|
|
795
795
|
}, function(s, a) {
|
|
796
796
|
(function(i) {
|
|
797
|
-
function t(
|
|
798
|
-
function
|
|
799
|
-
var
|
|
800
|
-
return
|
|
797
|
+
function t(c, r, y) {
|
|
798
|
+
function f(M) {
|
|
799
|
+
var w = T, C = E;
|
|
800
|
+
return T = E = void 0, j = M, P = c.apply(C, w);
|
|
801
801
|
}
|
|
802
|
-
function
|
|
803
|
-
return
|
|
802
|
+
function R(M) {
|
|
803
|
+
return j = M, z = setTimeout(Q, r), G ? f(M) : P;
|
|
804
804
|
}
|
|
805
|
-
function
|
|
806
|
-
var
|
|
807
|
-
return
|
|
805
|
+
function D(M) {
|
|
806
|
+
var w = M - $, C = M - j, U = r - w;
|
|
807
|
+
return Z ? A(U, I - C) : U;
|
|
808
808
|
}
|
|
809
|
-
function
|
|
810
|
-
var
|
|
811
|
-
return
|
|
809
|
+
function K(M) {
|
|
810
|
+
var w = M - $, C = M - j;
|
|
811
|
+
return $ === void 0 || w >= r || w < 0 || Z && C >= I;
|
|
812
812
|
}
|
|
813
|
-
function
|
|
814
|
-
var
|
|
815
|
-
return
|
|
813
|
+
function Q() {
|
|
814
|
+
var M = H();
|
|
815
|
+
return K(M) ? ee(M) : void (z = setTimeout(Q, D(M)));
|
|
816
816
|
}
|
|
817
|
-
function
|
|
818
|
-
return
|
|
817
|
+
function ee(M) {
|
|
818
|
+
return z = void 0, X && T ? f(M) : (T = E = void 0, P);
|
|
819
819
|
}
|
|
820
820
|
function re() {
|
|
821
|
-
|
|
821
|
+
z !== void 0 && clearTimeout(z), j = 0, T = $ = E = z = void 0;
|
|
822
822
|
}
|
|
823
823
|
function de() {
|
|
824
|
-
return
|
|
824
|
+
return z === void 0 ? P : ee(H());
|
|
825
825
|
}
|
|
826
826
|
function oe() {
|
|
827
|
-
var
|
|
828
|
-
if (
|
|
829
|
-
if (
|
|
830
|
-
if (
|
|
827
|
+
var M = H(), w = K(M);
|
|
828
|
+
if (T = arguments, E = this, $ = M, w) {
|
|
829
|
+
if (z === void 0) return R($);
|
|
830
|
+
if (Z) return z = setTimeout(Q, r), f($);
|
|
831
831
|
}
|
|
832
|
-
return
|
|
832
|
+
return z === void 0 && (z = setTimeout(Q, r)), P;
|
|
833
833
|
}
|
|
834
|
-
var
|
|
835
|
-
if (typeof
|
|
836
|
-
return r = l(r) || 0, o(
|
|
834
|
+
var T, E, I, P, z, $, j = 0, G = !1, Z = !1, X = !0;
|
|
835
|
+
if (typeof c != "function") throw new TypeError(u);
|
|
836
|
+
return r = l(r) || 0, o(y) && (G = !!y.leading, Z = "maxWait" in y, I = Z ? S(l(y.maxWait) || 0, r) : I, X = "trailing" in y ? !!y.trailing : X), oe.cancel = re, oe.flush = de, oe;
|
|
837
837
|
}
|
|
838
|
-
function o(
|
|
839
|
-
var r = typeof
|
|
840
|
-
return !!
|
|
838
|
+
function o(c) {
|
|
839
|
+
var r = typeof c > "u" ? "undefined" : d(c);
|
|
840
|
+
return !!c && (r == "object" || r == "function");
|
|
841
841
|
}
|
|
842
|
-
function
|
|
843
|
-
return !!
|
|
842
|
+
function m(c) {
|
|
843
|
+
return !!c && (typeof c > "u" ? "undefined" : d(c)) == "object";
|
|
844
844
|
}
|
|
845
|
-
function
|
|
846
|
-
return (typeof
|
|
845
|
+
function v(c) {
|
|
846
|
+
return (typeof c > "u" ? "undefined" : d(c)) == "symbol" || m(c) && ne.call(c) == h;
|
|
847
847
|
}
|
|
848
|
-
function l(
|
|
849
|
-
if (typeof
|
|
850
|
-
if (
|
|
851
|
-
if (o(
|
|
852
|
-
var r = typeof
|
|
853
|
-
|
|
848
|
+
function l(c) {
|
|
849
|
+
if (typeof c == "number") return c;
|
|
850
|
+
if (v(c)) return p;
|
|
851
|
+
if (o(c)) {
|
|
852
|
+
var r = typeof c.valueOf == "function" ? c.valueOf() : c;
|
|
853
|
+
c = o(r) ? r + "" : r;
|
|
854
854
|
}
|
|
855
|
-
if (typeof
|
|
856
|
-
|
|
857
|
-
var
|
|
858
|
-
return
|
|
855
|
+
if (typeof c != "string") return c === 0 ? c : +c;
|
|
856
|
+
c = c.replace(g, "");
|
|
857
|
+
var y = _.test(c);
|
|
858
|
+
return y || N.test(c) ? J(c.slice(2), y ? 2 : 8) : O.test(c) ? p : +c;
|
|
859
859
|
}
|
|
860
|
-
var
|
|
861
|
-
return typeof
|
|
862
|
-
} : function(
|
|
863
|
-
return
|
|
864
|
-
},
|
|
865
|
-
return
|
|
860
|
+
var d = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(c) {
|
|
861
|
+
return typeof c;
|
|
862
|
+
} : function(c) {
|
|
863
|
+
return c && typeof Symbol == "function" && c.constructor === Symbol && c !== Symbol.prototype ? "symbol" : typeof c;
|
|
864
|
+
}, u = "Expected a function", p = NaN, h = "[object Symbol]", g = /^\s+|\s+$/g, O = /^[-+]0x[0-9a-f]+$/i, _ = /^0b[01]+$/i, N = /^0o[0-7]+$/i, J = parseInt, F = (typeof i > "u" ? "undefined" : d(i)) == "object" && i && i.Object === Object && i, V = (typeof self > "u" ? "undefined" : d(self)) == "object" && self && self.Object === Object && self, te = F || V || Function("return this")(), B = Object.prototype, ne = B.toString, S = Math.max, A = Math.min, H = function() {
|
|
865
|
+
return te.Date.now();
|
|
866
866
|
};
|
|
867
867
|
s.exports = t;
|
|
868
868
|
}).call(a, /* @__PURE__ */ function() {
|
|
869
869
|
return this;
|
|
870
870
|
}());
|
|
871
871
|
}, function(s, a) {
|
|
872
|
-
function i(
|
|
873
|
-
var
|
|
874
|
-
for (
|
|
875
|
-
if (
|
|
872
|
+
function i(d) {
|
|
873
|
+
var u = void 0, p = void 0;
|
|
874
|
+
for (u = 0; u < d.length; u += 1)
|
|
875
|
+
if (p = d[u], p.dataset && p.dataset.aos || p.children && i(p.children)) return !0;
|
|
876
876
|
return !1;
|
|
877
877
|
}
|
|
878
878
|
function t() {
|
|
@@ -881,62 +881,62 @@ var be = { exports: {} };
|
|
|
881
881
|
function o() {
|
|
882
882
|
return !!t();
|
|
883
883
|
}
|
|
884
|
-
function
|
|
885
|
-
var
|
|
886
|
-
l =
|
|
884
|
+
function m(d, u) {
|
|
885
|
+
var p = window.document, h = t(), g = new h(v);
|
|
886
|
+
l = u, g.observe(p.documentElement, { childList: !0, subtree: !0, removedNodes: !0 });
|
|
887
887
|
}
|
|
888
|
-
function
|
|
889
|
-
|
|
890
|
-
var
|
|
891
|
-
if (i(
|
|
888
|
+
function v(d) {
|
|
889
|
+
d && d.forEach(function(u) {
|
|
890
|
+
var p = Array.prototype.slice.call(u.addedNodes), h = Array.prototype.slice.call(u.removedNodes), g = p.concat(h);
|
|
891
|
+
if (i(g)) return l();
|
|
892
892
|
});
|
|
893
893
|
}
|
|
894
894
|
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
895
895
|
var l = function() {
|
|
896
896
|
};
|
|
897
|
-
a.default = { isSupported: o, ready:
|
|
897
|
+
a.default = { isSupported: o, ready: m };
|
|
898
898
|
}, function(s, a) {
|
|
899
|
-
function i(
|
|
900
|
-
if (!(
|
|
899
|
+
function i(p, h) {
|
|
900
|
+
if (!(p instanceof h)) throw new TypeError("Cannot call a class as a function");
|
|
901
901
|
}
|
|
902
902
|
function t() {
|
|
903
903
|
return navigator.userAgent || navigator.vendor || window.opera || "";
|
|
904
904
|
}
|
|
905
905
|
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
906
906
|
var o = /* @__PURE__ */ function() {
|
|
907
|
-
function
|
|
908
|
-
for (var
|
|
909
|
-
var
|
|
910
|
-
|
|
907
|
+
function p(h, g) {
|
|
908
|
+
for (var O = 0; O < g.length; O++) {
|
|
909
|
+
var _ = g[O];
|
|
910
|
+
_.enumerable = _.enumerable || !1, _.configurable = !0, "value" in _ && (_.writable = !0), Object.defineProperty(h, _.key, _);
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
|
-
return function(
|
|
914
|
-
return
|
|
913
|
+
return function(h, g, O) {
|
|
914
|
+
return g && p(h.prototype, g), O && p(h, O), h;
|
|
915
915
|
};
|
|
916
|
-
}(),
|
|
917
|
-
function
|
|
918
|
-
i(this,
|
|
916
|
+
}(), m = /(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, u = function() {
|
|
917
|
+
function p() {
|
|
918
|
+
i(this, p);
|
|
919
919
|
}
|
|
920
|
-
return o(
|
|
921
|
-
var
|
|
922
|
-
return !(!
|
|
920
|
+
return o(p, [{ key: "phone", value: function() {
|
|
921
|
+
var h = t();
|
|
922
|
+
return !(!m.test(h) && !v.test(h.substr(0, 4)));
|
|
923
923
|
} }, { key: "mobile", value: function() {
|
|
924
|
-
var
|
|
925
|
-
return !(!l.test(
|
|
924
|
+
var h = t();
|
|
925
|
+
return !(!l.test(h) && !d.test(h.substr(0, 4)));
|
|
926
926
|
} }, { key: "tablet", value: function() {
|
|
927
927
|
return this.mobile() && !this.phone();
|
|
928
|
-
} }]),
|
|
928
|
+
} }]), p;
|
|
929
929
|
}();
|
|
930
|
-
a.default = new
|
|
930
|
+
a.default = new u();
|
|
931
931
|
}, function(s, a) {
|
|
932
932
|
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
933
|
-
var i = function(o,
|
|
933
|
+
var i = function(o, m, v) {
|
|
934
934
|
var l = o.node.getAttribute("data-aos-once");
|
|
935
|
-
|
|
936
|
-
}, t = function(o,
|
|
937
|
-
var
|
|
938
|
-
o.forEach(function(
|
|
939
|
-
i(
|
|
935
|
+
m > o.position ? o.node.classList.add("aos-animate") : typeof l < "u" && (l === "false" || !v && l !== "true") && o.node.classList.remove("aos-animate");
|
|
936
|
+
}, t = function(o, m) {
|
|
937
|
+
var v = window.pageYOffset, l = window.innerHeight;
|
|
938
|
+
o.forEach(function(d, u) {
|
|
939
|
+
i(d, l + v, m);
|
|
940
940
|
});
|
|
941
941
|
};
|
|
942
942
|
a.default = t;
|
|
@@ -945,54 +945,54 @@ var be = { exports: {} };
|
|
|
945
945
|
return l && l.__esModule ? l : { default: l };
|
|
946
946
|
}
|
|
947
947
|
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
948
|
-
var o = i(12),
|
|
949
|
-
return l.forEach(function(
|
|
950
|
-
|
|
948
|
+
var o = i(12), m = t(o), v = function(l, d) {
|
|
949
|
+
return l.forEach(function(u, p) {
|
|
950
|
+
u.node.classList.add("aos-init"), u.position = (0, m.default)(u.node, d.offset);
|
|
951
951
|
}), l;
|
|
952
952
|
};
|
|
953
|
-
a.default =
|
|
953
|
+
a.default = v;
|
|
954
954
|
}, function(s, a, i) {
|
|
955
955
|
function t(l) {
|
|
956
956
|
return l && l.__esModule ? l : { default: l };
|
|
957
957
|
}
|
|
958
958
|
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
959
|
-
var o = i(13),
|
|
960
|
-
var
|
|
961
|
-
switch (
|
|
959
|
+
var o = i(13), m = t(o), v = function(l, d) {
|
|
960
|
+
var u = 0, p = 0, h = window.innerHeight, g = { offset: l.getAttribute("data-aos-offset"), anchor: l.getAttribute("data-aos-anchor"), anchorPlacement: l.getAttribute("data-aos-anchor-placement") };
|
|
961
|
+
switch (g.offset && !isNaN(g.offset) && (p = parseInt(g.offset)), g.anchor && document.querySelectorAll(g.anchor) && (l = document.querySelectorAll(g.anchor)[0]), u = (0, m.default)(l).top, g.anchorPlacement) {
|
|
962
962
|
case "top-bottom":
|
|
963
963
|
break;
|
|
964
964
|
case "center-bottom":
|
|
965
|
-
|
|
965
|
+
u += l.offsetHeight / 2;
|
|
966
966
|
break;
|
|
967
967
|
case "bottom-bottom":
|
|
968
|
-
|
|
968
|
+
u += l.offsetHeight;
|
|
969
969
|
break;
|
|
970
970
|
case "top-center":
|
|
971
|
-
|
|
971
|
+
u += h / 2;
|
|
972
972
|
break;
|
|
973
973
|
case "bottom-center":
|
|
974
|
-
|
|
974
|
+
u += h / 2 + l.offsetHeight;
|
|
975
975
|
break;
|
|
976
976
|
case "center-center":
|
|
977
|
-
|
|
977
|
+
u += h / 2 + l.offsetHeight / 2;
|
|
978
978
|
break;
|
|
979
979
|
case "top-top":
|
|
980
|
-
|
|
980
|
+
u += h;
|
|
981
981
|
break;
|
|
982
982
|
case "bottom-top":
|
|
983
|
-
|
|
983
|
+
u += l.offsetHeight + h;
|
|
984
984
|
break;
|
|
985
985
|
case "center-top":
|
|
986
|
-
|
|
986
|
+
u += l.offsetHeight / 2 + h;
|
|
987
987
|
}
|
|
988
|
-
return
|
|
988
|
+
return g.anchorPlacement || g.offset || isNaN(d) || (p = d), u + p;
|
|
989
989
|
};
|
|
990
|
-
a.default =
|
|
990
|
+
a.default = v;
|
|
991
991
|
}, function(s, a) {
|
|
992
992
|
Object.defineProperty(a, "__esModule", { value: !0 });
|
|
993
993
|
var i = function(t) {
|
|
994
|
-
for (var o = 0,
|
|
995
|
-
return { top:
|
|
994
|
+
for (var o = 0, m = 0; t && !isNaN(t.offsetLeft) && !isNaN(t.offsetTop); ) o += t.offsetLeft - (t.tagName != "BODY" ? t.scrollLeft : 0), m += t.offsetTop - (t.tagName != "BODY" ? t.scrollTop : 0), t = t.offsetParent;
|
|
995
|
+
return { top: m, left: o };
|
|
996
996
|
};
|
|
997
997
|
a.default = i;
|
|
998
998
|
}, function(s, a) {
|
|
@@ -1166,18 +1166,18 @@ const ct = /* @__PURE__ */ dt(ut), ft = {
|
|
|
1166
1166
|
}
|
|
1167
1167
|
}
|
|
1168
1168
|
}
|
|
1169
|
-
}, pt = ["aria-expanded", "aria-label"],
|
|
1169
|
+
}, pt = ["aria-expanded", "aria-label"], ht = {
|
|
1170
1170
|
key: 0,
|
|
1171
1171
|
class: "dropdown__menu",
|
|
1172
1172
|
role: "listbox"
|
|
1173
|
-
},
|
|
1173
|
+
}, mt = ["aria-selected", "onClick", "onKeydown"];
|
|
1174
1174
|
function vt(e, n, s, a, i, t) {
|
|
1175
1175
|
return k(), x("div", {
|
|
1176
1176
|
class: ie(["dropdown", [`dropdown--${s.variant}`]]),
|
|
1177
1177
|
ref: "dropdown",
|
|
1178
|
-
style:
|
|
1178
|
+
style: L(t.glowStyles)
|
|
1179
1179
|
}, [
|
|
1180
|
-
|
|
1180
|
+
b("button", {
|
|
1181
1181
|
class: "dropdown__button",
|
|
1182
1182
|
"aria-expanded": i.isOpen.toString(),
|
|
1183
1183
|
onClick: n[0] || (n[0] = (...o) => t.toggleDropdown && t.toggleDropdown(...o)),
|
|
@@ -1189,16 +1189,16 @@ function vt(e, n, s, a, i, t) {
|
|
|
1189
1189
|
type: "button",
|
|
1190
1190
|
ref: "button"
|
|
1191
1191
|
}, [
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
n[3] || (n[3] =
|
|
1192
|
+
Y(e.$slots, "button", {}, () => [
|
|
1193
|
+
b("span", null, ae(t.selectedLabel), 1),
|
|
1194
|
+
n[3] || (n[3] = b("svg", {
|
|
1195
1195
|
class: "dropdown__icon",
|
|
1196
1196
|
width: "16",
|
|
1197
1197
|
height: "16",
|
|
1198
1198
|
viewBox: "0 0 20 20",
|
|
1199
1199
|
fill: "none"
|
|
1200
1200
|
}, [
|
|
1201
|
-
|
|
1201
|
+
b("path", {
|
|
1202
1202
|
d: "M6 8l4 4 4-4",
|
|
1203
1203
|
stroke: "currentColor",
|
|
1204
1204
|
"stroke-width": "2",
|
|
@@ -1208,24 +1208,24 @@ function vt(e, n, s, a, i, t) {
|
|
|
1208
1208
|
], -1))
|
|
1209
1209
|
], !0)
|
|
1210
1210
|
], 40, pt),
|
|
1211
|
-
i.isOpen ? (k(), x("div",
|
|
1212
|
-
(k(!0), x(
|
|
1213
|
-
key: t.optionKey(o,
|
|
1211
|
+
i.isOpen ? (k(), x("div", ht, [
|
|
1212
|
+
(k(!0), x(me, null, ve(s.options, (o, m) => (k(), x("div", {
|
|
1213
|
+
key: t.optionKey(o, m),
|
|
1214
1214
|
class: ie(["dropdown__option", { "dropdown__option--selected": t.isSelected(o) }]),
|
|
1215
1215
|
role: "option",
|
|
1216
1216
|
"aria-selected": t.isSelected(o).toString(),
|
|
1217
1217
|
tabindex: "0",
|
|
1218
|
-
onClick: (
|
|
1219
|
-
onKeydown: ce(le((
|
|
1218
|
+
onClick: (v) => t.selectOption(o),
|
|
1219
|
+
onKeydown: ce(le((v) => t.selectOption(o), ["prevent"]), ["enter"])
|
|
1220
1220
|
}, [
|
|
1221
|
-
|
|
1222
|
-
|
|
1221
|
+
Y(e.$slots, "option", { option: o }, () => [
|
|
1222
|
+
we(ae(t.optionLabel(o)), 1)
|
|
1223
1223
|
], !0)
|
|
1224
|
-
], 42,
|
|
1225
|
-
])) :
|
|
1224
|
+
], 42, mt))), 128))
|
|
1225
|
+
])) : q("", !0)
|
|
1226
1226
|
], 6);
|
|
1227
1227
|
}
|
|
1228
|
-
const bt = /* @__PURE__ */
|
|
1228
|
+
const bt = /* @__PURE__ */ W(ft, [["render", vt], ["__scopeId", "data-v-61c08e9b"]]), gt = { class: "bg-gray-900 text-white py-8 px-6" }, yt = { class: "max-w-6xl mx-auto flex flex-col sm:flex-row justify-between items-center gap-4" }, wt = { class: "text-sm" }, kt = {
|
|
1229
1229
|
__name: "Footer",
|
|
1230
1230
|
props: {
|
|
1231
1231
|
companyName: {
|
|
@@ -1236,14 +1236,14 @@ const bt = /* @__PURE__ */ V(ft, [["render", vt], ["__scopeId", "data-v-61c08e9b
|
|
|
1236
1236
|
setup(e) {
|
|
1237
1237
|
const n = (/* @__PURE__ */ new Date()).getFullYear();
|
|
1238
1238
|
return (s, a) => (k(), x("footer", gt, [
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
a[0] || (a[0] =
|
|
1242
|
-
|
|
1239
|
+
b("div", yt, [
|
|
1240
|
+
b("p", wt, "© " + ae(ke(n)) + " " + ae(e.companyName) + ". Tous droits réservés.", 1),
|
|
1241
|
+
a[0] || (a[0] = b("div", { class: "flex gap-4 text-sm" }, [
|
|
1242
|
+
b("a", {
|
|
1243
1243
|
href: "/rights",
|
|
1244
1244
|
class: "hover:underline"
|
|
1245
1245
|
}, "Mentions légales"),
|
|
1246
|
-
|
|
1246
|
+
b("a", {
|
|
1247
1247
|
href: "/rights",
|
|
1248
1248
|
class: "hover:underline"
|
|
1249
1249
|
}, "Confidentialité")
|
|
@@ -1281,29 +1281,29 @@ const bt = /* @__PURE__ */ V(ft, [["render", vt], ["__scopeId", "data-v-61c08e9b
|
|
|
1281
1281
|
let a = 0, i = null;
|
|
1282
1282
|
const t = `wave-gradient-${Math.random().toString(36).substring(2, 9)}`;
|
|
1283
1283
|
function o() {
|
|
1284
|
-
const
|
|
1284
|
+
const v = n.width / (n.points - 1);
|
|
1285
1285
|
let l = `M 0 ${n.height}`;
|
|
1286
|
-
for (let
|
|
1287
|
-
const
|
|
1288
|
-
if (
|
|
1289
|
-
l += ` L ${
|
|
1286
|
+
for (let d = 0; d < n.points; d++) {
|
|
1287
|
+
const u = d * v, p = (d + a) * 0.6, h = n.height / 2 + Math.sin(p * n.frequency) * n.amplitude;
|
|
1288
|
+
if (d === 0)
|
|
1289
|
+
l += ` L ${u} ${h}`;
|
|
1290
1290
|
else {
|
|
1291
|
-
const
|
|
1292
|
-
l += ` C ${
|
|
1291
|
+
const g = (d - 1) * v, O = (d - 1 + a) * 0.6, _ = n.height / 2 + Math.sin(O * n.frequency) * n.amplitude, N = (g + u) / 2;
|
|
1292
|
+
l += ` C ${N} ${_}, ${N} ${h}, ${u} ${h}`;
|
|
1293
1293
|
}
|
|
1294
1294
|
}
|
|
1295
1295
|
return l += ` L ${n.width} ${n.height} Z`, l;
|
|
1296
1296
|
}
|
|
1297
|
-
function
|
|
1298
|
-
s.value = o(), a += n.speed, i = requestAnimationFrame(
|
|
1297
|
+
function m() {
|
|
1298
|
+
s.value = o(), a += n.speed, i = requestAnimationFrame(m);
|
|
1299
1299
|
}
|
|
1300
1300
|
return xe(() => {
|
|
1301
|
-
|
|
1301
|
+
m();
|
|
1302
1302
|
}), Se(() => {
|
|
1303
1303
|
cancelAnimationFrame(i);
|
|
1304
|
-
}), (
|
|
1304
|
+
}), (v, l) => (k(), x("div", {
|
|
1305
1305
|
class: "w-full pointer-events-none",
|
|
1306
|
-
style:
|
|
1306
|
+
style: L(e.topBlend ? {
|
|
1307
1307
|
maskImage: `linear-gradient(${e.topBlendReverse ? "to top" : "to bottom"}, rgba(0,0,0,0) ${e.topBlendOffset}%, rgba(0,0,0,1) ${e.topBlendIntensity}%)`,
|
|
1308
1308
|
WebkitMaskImage: `linear-gradient(${e.topBlendReverse ? "to top" : "to bottom"}, rgba(0,0,0,0) ${e.topBlendOffset}%, rgba(0,0,0,1) ${e.topBlendIntensity}%)`
|
|
1309
1309
|
} : {})
|
|
@@ -1312,29 +1312,29 @@ const bt = /* @__PURE__ */ V(ft, [["render", vt], ["__scopeId", "data-v-61c08e9b
|
|
|
1312
1312
|
viewBox: `0 0 ${e.width} ${e.height}`,
|
|
1313
1313
|
height: e.height,
|
|
1314
1314
|
class: "w-full",
|
|
1315
|
-
style:
|
|
1315
|
+
style: L(e.flipVertical ? "transform: scaleY(-1);" : ""),
|
|
1316
1316
|
preserveAspectRatio: "none",
|
|
1317
1317
|
xmlns: "http://www.w3.org/2000/svg"
|
|
1318
1318
|
}, [
|
|
1319
|
-
|
|
1320
|
-
|
|
1319
|
+
b("defs", null, [
|
|
1320
|
+
b("linearGradient", {
|
|
1321
1321
|
id: t,
|
|
1322
1322
|
x1: "0%",
|
|
1323
1323
|
y1: "0%",
|
|
1324
1324
|
x2: "0%",
|
|
1325
1325
|
y2: "100%"
|
|
1326
1326
|
}, [
|
|
1327
|
-
|
|
1327
|
+
b("stop", {
|
|
1328
1328
|
offset: e.startOffset,
|
|
1329
1329
|
"stop-color": e.gradientStart
|
|
1330
1330
|
}, null, 8, St),
|
|
1331
|
-
|
|
1331
|
+
b("stop", {
|
|
1332
1332
|
offset: e.endOffset,
|
|
1333
1333
|
"stop-color": e.gradientEnd
|
|
1334
1334
|
}, null, 8, Mt)
|
|
1335
1335
|
])
|
|
1336
1336
|
]),
|
|
1337
|
-
|
|
1337
|
+
b("path", {
|
|
1338
1338
|
d: s.value,
|
|
1339
1339
|
fill: `url(#${t})`,
|
|
1340
1340
|
"fill-opacity": "1"
|
|
@@ -1359,13 +1359,13 @@ const bt = /* @__PURE__ */ V(ft, [["render", vt], ["__scopeId", "data-v-61c08e9b
|
|
|
1359
1359
|
class: "fixed inset-0 top-0 left-0 z-50 flex items-center justify-center bg-black bg-opacity-50",
|
|
1360
1360
|
onClick: le(a, ["self"])
|
|
1361
1361
|
}, [
|
|
1362
|
-
|
|
1363
|
-
])) :
|
|
1362
|
+
Y(i.$slots, "default", {}, void 0, !0)
|
|
1363
|
+
])) : q("", !0)
|
|
1364
1364
|
]),
|
|
1365
1365
|
_: 3
|
|
1366
1366
|
}));
|
|
1367
1367
|
}
|
|
1368
|
-
}, zt = /* @__PURE__ */
|
|
1368
|
+
}, zt = /* @__PURE__ */ W(Ot, [["__scopeId", "data-v-60769789"]]), Rt = {
|
|
1369
1369
|
name: "SnapDiv",
|
|
1370
1370
|
props: {
|
|
1371
1371
|
offset: {
|
|
@@ -1385,131 +1385,71 @@ const bt = /* @__PURE__ */ V(ft, [["render", vt], ["__scopeId", "data-v-61c08e9b
|
|
|
1385
1385
|
default: 1
|
|
1386
1386
|
}
|
|
1387
1387
|
}
|
|
1388
|
-
},
|
|
1389
|
-
function
|
|
1390
|
-
return k(), x("div",
|
|
1391
|
-
|
|
1392
|
-
]);
|
|
1393
|
-
}
|
|
1394
|
-
const Bt = /* @__PURE__ */ V(Ct, [["render", Et], ["__scopeId", "data-v-78859941"]]), Lt = {
|
|
1395
|
-
name: "SnapDivNative",
|
|
1396
|
-
props: {
|
|
1397
|
-
// Pour compatibilité future, mais inutilisé ici
|
|
1398
|
-
offset: {
|
|
1399
|
-
type: Number,
|
|
1400
|
-
default: 0
|
|
1401
|
-
},
|
|
1402
|
-
speed: {
|
|
1403
|
-
type: Number,
|
|
1404
|
-
default: 1.2
|
|
1405
|
-
},
|
|
1406
|
-
lockDuration: {
|
|
1407
|
-
type: Number,
|
|
1408
|
-
default: 500
|
|
1409
|
-
},
|
|
1410
|
-
maxStep: {
|
|
1411
|
-
type: Number,
|
|
1412
|
-
default: 1
|
|
1413
|
-
}
|
|
1414
|
-
}
|
|
1415
|
-
}, Nt = { class: "snap-div-native" };
|
|
1416
|
-
function jt(e, n, s, a, i, t) {
|
|
1417
|
-
return k(), x("div", Nt, [
|
|
1418
|
-
T(e.$slots, "default", {}, void 0, !0)
|
|
1388
|
+
}, Ct = { class: "snap-div" };
|
|
1389
|
+
function Bt(e, n, s, a, i, t) {
|
|
1390
|
+
return k(), x("div", Ct, [
|
|
1391
|
+
Y(e.$slots, "default", {}, void 0, !0)
|
|
1419
1392
|
]);
|
|
1420
1393
|
}
|
|
1421
|
-
const
|
|
1422
|
-
function
|
|
1423
|
-
let s = !1, a = null, i = 0
|
|
1424
|
-
const
|
|
1394
|
+
const jt = /* @__PURE__ */ W(Rt, [["render", Bt], ["__scopeId", "data-v-78859941"]]);
|
|
1395
|
+
function Lt(e, n = {}) {
|
|
1396
|
+
let s = !1, a = null, i = 0;
|
|
1397
|
+
const o = { ...{
|
|
1425
1398
|
offset: 0,
|
|
1426
1399
|
speed: 1.2,
|
|
1427
1400
|
lockDuration: 150,
|
|
1428
|
-
maxStep: 1
|
|
1429
|
-
snapOnScrollEnd: !1,
|
|
1430
|
-
scrollEndDelay: 120,
|
|
1431
|
-
getSnapChildren: null
|
|
1432
|
-
// fonction pour fournir dynamiquement les sections
|
|
1401
|
+
maxStep: 1
|
|
1433
1402
|
}, ...n };
|
|
1434
|
-
function
|
|
1435
|
-
return
|
|
1436
|
-
(d) => d.classList.contains("snap-div")
|
|
1403
|
+
function m() {
|
|
1404
|
+
return Array.from(e.children).filter(
|
|
1405
|
+
(d) => d.classList.contains("snap-div")
|
|
1437
1406
|
);
|
|
1438
1407
|
}
|
|
1439
|
-
function
|
|
1408
|
+
function v() {
|
|
1440
1409
|
s = !1, a = null, i = 0;
|
|
1441
1410
|
}
|
|
1442
|
-
function
|
|
1443
|
-
if (
|
|
1411
|
+
function l(d) {
|
|
1412
|
+
if (d.deltaMode !== 0)
|
|
1444
1413
|
return;
|
|
1445
1414
|
if (s) {
|
|
1446
|
-
i++, i >=
|
|
1415
|
+
i++, i >= 10 && (a && clearTimeout(a), a = setTimeout(v, o.lockDuration), i = 0), d.preventDefault(), d.stopImmediatePropagation();
|
|
1447
1416
|
return;
|
|
1448
1417
|
}
|
|
1449
|
-
s = !0, i = 1, a = setTimeout(
|
|
1450
|
-
const
|
|
1451
|
-
if (!
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
F
|
|
1418
|
+
s = !0, i = 1, a = setTimeout(v, o.lockDuration), d.preventDefault(), d.stopImmediatePropagation();
|
|
1419
|
+
const u = m();
|
|
1420
|
+
if (!u.length) return;
|
|
1421
|
+
const p = e.getBoundingClientRect();
|
|
1422
|
+
let h = 0, g = 0;
|
|
1423
|
+
u.forEach((N, J) => {
|
|
1424
|
+
const F = N.getBoundingClientRect(), V = Math.max(0, Math.min(F.bottom, p.bottom) - Math.max(F.top, p.top));
|
|
1425
|
+
V > g && (g = V, h = J);
|
|
1456
1426
|
});
|
|
1457
|
-
const
|
|
1458
|
-
let
|
|
1459
|
-
|
|
1460
|
-
if (e === window) {
|
|
1461
|
-
const j = v[B];
|
|
1462
|
-
window.scrollTo({
|
|
1463
|
-
top: window.scrollY + j.getBoundingClientRect().top,
|
|
1464
|
-
behavior: "smooth"
|
|
1465
|
-
});
|
|
1466
|
-
} else
|
|
1467
|
-
v[B].scrollIntoView({ behavior: "smooth", block: "start" });
|
|
1468
|
-
}
|
|
1469
|
-
function f() {
|
|
1470
|
-
const d = b();
|
|
1471
|
-
if (!d.length) return;
|
|
1472
|
-
let v = 0, S = 0, M;
|
|
1473
|
-
if (e === window ? M = { top: 0, bottom: window.innerHeight } : M = e.getBoundingClientRect(), d.forEach((z, W) => {
|
|
1474
|
-
const B = z.getBoundingClientRect(), j = Math.max(0, Math.min(B.bottom, M.bottom) - Math.max(B.top, M.top));
|
|
1475
|
-
j > S && (S = j, v = W);
|
|
1476
|
-
}), e === window) {
|
|
1477
|
-
const z = d[v];
|
|
1478
|
-
window.scrollTo({
|
|
1479
|
-
top: window.scrollY + z.getBoundingClientRect().top,
|
|
1480
|
-
behavior: "smooth"
|
|
1481
|
-
});
|
|
1482
|
-
} else
|
|
1483
|
-
d[v].scrollIntoView({ behavior: "smooth", block: "start" });
|
|
1484
|
-
}
|
|
1485
|
-
function m() {
|
|
1486
|
-
t && clearTimeout(t), t = setTimeout(() => {
|
|
1487
|
-
f();
|
|
1488
|
-
}, u.scrollEndDelay);
|
|
1427
|
+
const O = d.deltaY > 0 ? 1 : -1;
|
|
1428
|
+
let _ = h + O * o.maxStep;
|
|
1429
|
+
_ = Math.max(0, Math.min(u.length - 1, _)), _ !== h && u[_].scrollIntoView({ behavior: "smooth", block: "start" });
|
|
1489
1430
|
}
|
|
1490
|
-
return e
|
|
1491
|
-
e
|
|
1431
|
+
return e.addEventListener("wheel", l, { passive: !1 }), () => {
|
|
1432
|
+
e.removeEventListener("wheel", l), a && clearTimeout(a);
|
|
1492
1433
|
};
|
|
1493
1434
|
}
|
|
1494
|
-
const
|
|
1435
|
+
const Nt = {
|
|
1495
1436
|
install(e) {
|
|
1496
1437
|
ct.init({
|
|
1497
1438
|
duration: 800,
|
|
1498
1439
|
easing: "ease-in-out",
|
|
1499
1440
|
once: !0
|
|
1500
|
-
}), e.component("CustomButton",
|
|
1441
|
+
}), e.component("CustomButton", Ce), e.component("AnimatedReveal", je), e.component("BackgroundShapes", Te), e.component("CustomDropdown", bt), e.component("GenericNav", Qe), e.component("GlowCard", ot), e.component("MouseOriented", st), e.component("Footer", kt), e.component("WaveContainer", $t), e.component("Popup", zt), e.component("SnapDiv", jt);
|
|
1501
1442
|
}
|
|
1502
1443
|
};
|
|
1503
1444
|
export {
|
|
1504
|
-
|
|
1445
|
+
Ce as CustomButton,
|
|
1505
1446
|
bt as CustomDropdown,
|
|
1506
1447
|
Qe as GenericNav,
|
|
1507
1448
|
ot as GlowCard,
|
|
1508
1449
|
st as MouseOriented,
|
|
1509
1450
|
zt as Popup,
|
|
1510
|
-
|
|
1511
|
-
At as SnapDivNative,
|
|
1451
|
+
jt as SnapDiv,
|
|
1512
1452
|
$t as WaveContainer,
|
|
1513
|
-
|
|
1514
|
-
|
|
1453
|
+
Nt as default,
|
|
1454
|
+
Lt as initSnapScroll
|
|
1515
1455
|
};
|