well-waterfall 1.5.3 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +68 -56
- package/dist/attributes.js +137 -139
- package/dist/attributes.js.map +1 -1
- package/dist/lib/attributes.d.ts +0 -3
- package/dist/lib/elements.d.ts +1 -0
- package/dist/well-waterfall.es.js +860 -833
- package/dist/well-waterfall.es.js.map +1 -1
- package/dist/well-waterfall.umd.js +2 -2
- package/dist/well-waterfall.umd.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
function fe(e = "") {
|
|
3
3
|
return e.trim().split(" ").filter((t) => !!t.trim());
|
|
4
4
|
}
|
|
5
|
-
function
|
|
5
|
+
function Vt(e) {
|
|
6
6
|
Object.keys(e).forEach((t) => {
|
|
7
7
|
try {
|
|
8
8
|
e[t] = null;
|
|
@@ -20,11 +20,11 @@ function Se(e, t = 0) {
|
|
|
20
20
|
function ae() {
|
|
21
21
|
return Date.now();
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Wt(e) {
|
|
24
24
|
return window.getComputedStyle(e, null);
|
|
25
25
|
}
|
|
26
26
|
function Ke(e, t = "x") {
|
|
27
|
-
const s =
|
|
27
|
+
const s = Wt(e), a = s.transform || s.webkitTransform;
|
|
28
28
|
if (!a || a === "none")
|
|
29
29
|
return 0;
|
|
30
30
|
const n = new DOMMatrixReadOnly(a);
|
|
@@ -33,20 +33,20 @@ function Ke(e, t = "x") {
|
|
|
33
33
|
function xe(e) {
|
|
34
34
|
return typeof e == "object" && e !== null && !!e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function $e(e) {
|
|
37
37
|
if (!e || typeof e != "object")
|
|
38
38
|
return !1;
|
|
39
39
|
const s = e.ownerDocument?.defaultView?.HTMLElement ?? (typeof HTMLElement < "u" ? HTMLElement : void 0);
|
|
40
40
|
return !!s && e instanceof s;
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function Yt(e) {
|
|
43
43
|
return typeof HTMLElement < "u" && e instanceof HTMLElement ? !0 : !!e && typeof e == "object" && (e.nodeType === 1 || e.nodeType === 11);
|
|
44
44
|
}
|
|
45
45
|
function se(e, ...t) {
|
|
46
46
|
const s = Object(e);
|
|
47
47
|
for (let a = 0; a < t.length; a += 1) {
|
|
48
48
|
const n = t[a];
|
|
49
|
-
if (n == null ||
|
|
49
|
+
if (n == null || Yt(n))
|
|
50
50
|
continue;
|
|
51
51
|
const i = n, u = Object.keys(Object(i));
|
|
52
52
|
for (let d = 0, l = u.length; d < l; d += 1) {
|
|
@@ -80,7 +80,7 @@ function Q(e, t = "") {
|
|
|
80
80
|
const s = [...e.children];
|
|
81
81
|
return e instanceof HTMLSlotElement && s.push(...e.assignedElements()), t ? s.filter((a) => a.matches(t)) : s;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function Xt(e, t) {
|
|
84
84
|
const s = [t];
|
|
85
85
|
for (; s.length > 0; ) {
|
|
86
86
|
const a = s.shift();
|
|
@@ -90,9 +90,9 @@ function Wt(e, t) {
|
|
|
90
90
|
}
|
|
91
91
|
return !1;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function Ut(e, t) {
|
|
94
94
|
let s = t.contains(e);
|
|
95
|
-
return !s && t instanceof HTMLSlotElement && (s = [...t.assignedElements()].includes(e), s || (s =
|
|
95
|
+
return !s && t instanceof HTMLSlotElement && (s = [...t.assignedElements()].includes(e), s || (s = Xt(e, t))), s;
|
|
96
96
|
}
|
|
97
97
|
function Ne(e) {
|
|
98
98
|
try {
|
|
@@ -111,14 +111,14 @@ function ze(e) {
|
|
|
111
111
|
left: t.left - (e.clientLeft || 0)
|
|
112
112
|
};
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function qt(e, t) {
|
|
115
115
|
const s = [];
|
|
116
116
|
let a = e.previousElementSibling;
|
|
117
117
|
for (; a; )
|
|
118
118
|
(!t || a.matches(t)) && s.push(a), a = a.previousElementSibling;
|
|
119
119
|
return s;
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function jt(e, t) {
|
|
122
122
|
const s = [];
|
|
123
123
|
let a = e.nextElementSibling;
|
|
124
124
|
for (; a; )
|
|
@@ -153,7 +153,7 @@ function Ze(e, t, s) {
|
|
|
153
153
|
function X(e) {
|
|
154
154
|
return (Array.isArray(e) ? e : [e]).filter((t) => !!t);
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function ke(e) {
|
|
157
157
|
return (t) => Math.abs(t) > 0 && e.browser && e.browser.need3dFix && Math.abs(t) % 90 === 0 ? t + 1e-3 : t;
|
|
158
158
|
}
|
|
159
159
|
function le(e, t = "") {
|
|
@@ -161,33 +161,33 @@ function le(e, t = "") {
|
|
|
161
161
|
typeof s < "u" ? e.innerHTML = s.createPolicy("html", { createHTML: (a) => a }).createHTML(t) : e.innerHTML = t;
|
|
162
162
|
}
|
|
163
163
|
let We;
|
|
164
|
-
function
|
|
164
|
+
function Kt() {
|
|
165
165
|
return typeof window > "u" ? { touch: !1 } : {
|
|
166
166
|
touch: "ontouchstart" in window || navigator.maxTouchPoints > 0
|
|
167
167
|
};
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
return We || (We =
|
|
169
|
+
function yt() {
|
|
170
|
+
return We || (We = Kt()), We;
|
|
171
171
|
}
|
|
172
172
|
let Ye;
|
|
173
|
-
function
|
|
173
|
+
function Zt({ userAgent: e } = {}) {
|
|
174
174
|
if (typeof window > "u")
|
|
175
175
|
return { ios: !1, android: !1 };
|
|
176
|
-
const t =
|
|
176
|
+
const t = yt(), s = navigator.platform, a = e || navigator.userAgent, n = { ios: !1, android: !1 }, i = /(Android);?[\s/]+([\d.]+)?/.test(a), u = /(iPhone\sOS|iOS|iPod)/.test(a), d = /iPad/.test(a), l = s === "MacIntel" && t.touch && navigator.maxTouchPoints > 1, p = d || l;
|
|
177
177
|
return i && !(s === "Win32") && (n.os = "android", n.android = !0), (p || u) && (n.os = "ios", n.ios = !0), n;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
return Ye || (Ye =
|
|
179
|
+
function bt(e = {}) {
|
|
180
|
+
return Ye || (Ye = Zt(e)), Ye;
|
|
181
181
|
}
|
|
182
182
|
let Xe;
|
|
183
|
-
function
|
|
183
|
+
function Qt() {
|
|
184
184
|
if (typeof window > "u")
|
|
185
185
|
return { isSafari: !1, isWebView: !1, need3dFix: !1 };
|
|
186
|
-
const e =
|
|
186
|
+
const e = bt(), t = navigator.userAgent, s = t.toLowerCase(), a = s.includes("safari") && !s.includes("chrome") && !s.includes("android"), n = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t), i = a || n && e.ios;
|
|
187
187
|
return { isSafari: a, isWebView: n, need3dFix: i };
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
return Xe || (Xe =
|
|
189
|
+
function At() {
|
|
190
|
+
return Xe || (Xe = Qt()), Xe;
|
|
191
191
|
}
|
|
192
192
|
const Qe = (e, t) => {
|
|
193
193
|
if (!e || e.destroyed || !e.params || !e.params.lazyPreload)
|
|
@@ -207,7 +207,7 @@ const Qe = (e, t) => {
|
|
|
207
207
|
return;
|
|
208
208
|
const s = e.slides[t].querySelector('[loading="lazy"]');
|
|
209
209
|
s && s.removeAttribute("loading");
|
|
210
|
-
},
|
|
210
|
+
}, _t = (e) => {
|
|
211
211
|
if (!e || e.destroyed || !e.params || !e.params.lazyPreload)
|
|
212
212
|
return;
|
|
213
213
|
let t = e.params.lazyPreloadPrevNext;
|
|
@@ -233,7 +233,7 @@ const Qe = (e, t) => {
|
|
|
233
233
|
for (let u = Math.max(n - t, 0); u <= Math.min(i + t, s - 1); u += 1)
|
|
234
234
|
u !== n && (u > i || u < n) && Ue(e, u);
|
|
235
235
|
};
|
|
236
|
-
function
|
|
236
|
+
function Jt(e, t = "window", s) {
|
|
237
237
|
if (!e || t === "container" && !s)
|
|
238
238
|
return;
|
|
239
239
|
let a = !1;
|
|
@@ -251,23 +251,23 @@ function Zt(e, t = "window", s) {
|
|
|
251
251
|
}
|
|
252
252
|
return a || "max";
|
|
253
253
|
}
|
|
254
|
-
const
|
|
255
|
-
function
|
|
254
|
+
const lt = (e, t) => !!(e.grid && t.grid && t.grid.rows > 1);
|
|
255
|
+
function es() {
|
|
256
256
|
const e = this, { realIndex: t, initialized: s, params: a, el: n } = e, i = a.breakpoints;
|
|
257
257
|
if (!i || i && Object.keys(i).length === 0)
|
|
258
258
|
return;
|
|
259
259
|
const u = a.breakpointsBase === "window" || !a.breakpointsBase ? a.breakpointsBase : "container", d = ["window", "container"].includes(a.breakpointsBase) || !a.breakpointsBase ? e.el : document.querySelector(a.breakpointsBase), l = e.getBreakpoint(i, u, d);
|
|
260
260
|
if (!l || e.currentBreakpoint === l)
|
|
261
261
|
return;
|
|
262
|
-
const p = i, f = (l in p ? p[l] : void 0) || e.originalParams, T =
|
|
262
|
+
const p = i, f = (l in p ? p[l] : void 0) || e.originalParams, T = lt(e, a), o = lt(e, f), r = e.params.grabCursor, h = f.grabCursor, E = a.enabled;
|
|
263
263
|
T && !o ? (n.classList.remove(`${a.containerModifierClass}grid`, `${a.containerModifierClass}grid-column`), e.emitContainerClasses()) : !T && o && (n.classList.add(`${a.containerModifierClass}grid`), (f.grid.fill && f.grid.fill === "column" || !f.grid.fill && a.grid.fill === "column") && n.classList.add(`${a.containerModifierClass}grid-column`), e.emitContainerClasses()), r && !h ? e.unsetGrabCursor() : !r && h && e.setGrabCursor();
|
|
264
264
|
const S = (A, O) => A[O];
|
|
265
265
|
["navigation", "pagination", "scrollbar"].forEach((A) => {
|
|
266
266
|
const O = S(f, A);
|
|
267
267
|
if (typeof O > "u")
|
|
268
268
|
return;
|
|
269
|
-
const C = S(a, A),
|
|
270
|
-
|
|
269
|
+
const C = S(a, A), $ = typeof C == "object" && C !== null && C.enabled, _ = typeof O == "object" && O !== null && O.enabled, b = e[A];
|
|
270
|
+
$ && !_ && b?.disable?.(), !$ && _ && b?.enable?.();
|
|
271
271
|
});
|
|
272
272
|
const g = f.direction && f.direction !== a.direction, m = a.loop && (f.slidesPerView !== a.slidesPerView || g), v = a.loop;
|
|
273
273
|
g && s && e.changeDirection(), se(e.params, f);
|
|
@@ -278,8 +278,8 @@ function Qt() {
|
|
|
278
278
|
allowSlidePrev: e.params.allowSlidePrev
|
|
279
279
|
}), E && !y ? e.disable() : !E && y && e.enable(), e.currentBreakpoint = l, e.emit("_beforeBreakpoint", f), s && (m ? (e.loopDestroy(), e.updateSlides(), e.loopCreate(t)) : !v && L ? (e.updateSlides(), e.loopCreate(t)) : v && !L && e.loopDestroy()), e.emit("breakpoint", f);
|
|
280
280
|
}
|
|
281
|
-
var
|
|
282
|
-
function
|
|
281
|
+
var ts = { setBreakpoint: es, getBreakpoint: Jt };
|
|
282
|
+
function ss() {
|
|
283
283
|
const e = this, { isLocked: t, params: s } = e, { slidesOffsetBefore: a } = s;
|
|
284
284
|
if (a) {
|
|
285
285
|
const n = e.slides.length - 1, i = e.slidesGrid[n] + e.slidesSizesGrid[n] + a * 2;
|
|
@@ -288,8 +288,8 @@ function es() {
|
|
|
288
288
|
e.isLocked = e.snapGrid.length === 1;
|
|
289
289
|
s.allowSlideNext === !0 && (e.allowSlideNext = !e.isLocked), s.allowSlidePrev === !0 && (e.allowSlidePrev = !e.isLocked), t && t !== e.isLocked && (e.isEnd = !1), t !== e.isLocked && e.emit(e.isLocked ? "lock" : "unlock");
|
|
290
290
|
}
|
|
291
|
-
var
|
|
292
|
-
function
|
|
291
|
+
var as = { checkOverflow: ss };
|
|
292
|
+
function ns(e, t) {
|
|
293
293
|
const s = [];
|
|
294
294
|
return e.forEach((a) => {
|
|
295
295
|
typeof a == "object" ? Object.keys(a).forEach((n) => {
|
|
@@ -297,8 +297,8 @@ function ss(e, t) {
|
|
|
297
297
|
}) : typeof a == "string" && s.push(t + a);
|
|
298
298
|
}), s;
|
|
299
299
|
}
|
|
300
|
-
function
|
|
301
|
-
const e = this, { classNames: t, params: s, rtl: a, el: n, device: i } = e, u =
|
|
300
|
+
function is() {
|
|
301
|
+
const e = this, { classNames: t, params: s, rtl: a, el: n, device: i } = e, u = ns([
|
|
302
302
|
"initialized",
|
|
303
303
|
s.direction,
|
|
304
304
|
{ "free-mode": e.params.freeMode && s.freeMode.enabled },
|
|
@@ -314,12 +314,12 @@ function as() {
|
|
|
314
314
|
], s.containerModifierClass);
|
|
315
315
|
t.push(...u), n.classList.add(...t), e.emitContainerClasses();
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function rs() {
|
|
318
318
|
const e = this, { el: t, classNames: s } = e;
|
|
319
319
|
!t || typeof t == "string" || (t.classList.remove(...s), e.emitContainerClasses());
|
|
320
320
|
}
|
|
321
|
-
var
|
|
322
|
-
const
|
|
321
|
+
var ls = { addClasses: is, removeClasses: rs };
|
|
322
|
+
const xt = {
|
|
323
323
|
init: !0,
|
|
324
324
|
direction: "horizontal",
|
|
325
325
|
oneWayMovement: !1,
|
|
@@ -437,7 +437,7 @@ const At = {
|
|
|
437
437
|
// Internals
|
|
438
438
|
_emitClasses: !1
|
|
439
439
|
};
|
|
440
|
-
var
|
|
440
|
+
var os = {
|
|
441
441
|
on(e, t, s) {
|
|
442
442
|
const a = this;
|
|
443
443
|
if (!a.eventsListeners || a.destroyed || typeof t != "function")
|
|
@@ -498,19 +498,19 @@ var rs = {
|
|
|
498
498
|
}), t;
|
|
499
499
|
}
|
|
500
500
|
};
|
|
501
|
-
function
|
|
501
|
+
function ds(e) {
|
|
502
502
|
const t = this;
|
|
503
503
|
t.destroyed || t.enabled && (t.allowClick || (t.params.preventClicks && e.preventDefault(), t.params.preventClicksPropagation && t.animating && (e.stopPropagation(), e.stopImmediatePropagation())));
|
|
504
504
|
}
|
|
505
|
-
function
|
|
505
|
+
function cs() {
|
|
506
506
|
const e = this;
|
|
507
507
|
e.destroyed || e.documentTouchHandlerProceeded || (e.documentTouchHandlerProceeded = !0, e.params.touchReleaseOnEdges && (e.el.style.touchAction = "auto"));
|
|
508
508
|
}
|
|
509
|
-
function
|
|
509
|
+
function fs(e) {
|
|
510
510
|
const t = this;
|
|
511
511
|
t.destroyed || (Qe(t, e.target), !(e.type === "error" || t.params.cssMode || t.params.slidesPerView !== "auto" && !t.params.autoHeight) && t.update());
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function us() {
|
|
514
514
|
const e = this, { params: t, el: s } = e;
|
|
515
515
|
if (s && s.offsetWidth === 0)
|
|
516
516
|
return;
|
|
@@ -534,23 +534,23 @@ function cs() {
|
|
|
534
534
|
}
|
|
535
535
|
e.allowSlidePrev = u, e.allowSlideNext = i, e.params.watchOverflow && d !== e.snapGrid && e.checkOverflow();
|
|
536
536
|
}
|
|
537
|
-
function
|
|
537
|
+
function Ct(e) {
|
|
538
538
|
let t, s;
|
|
539
539
|
const a = e.el;
|
|
540
540
|
return typeof e.params.width < "u" && e.params.width !== null ? t = e.params.width : t = a.clientWidth, typeof e.params.height < "u" && e.params.height !== null ? s = e.params.height : s = a.clientHeight, t === 0 && e.isHorizontal() || s === 0 && e.isVertical() ? null : (t = t - parseInt(ue(a, "padding-left") || "0", 10) - parseInt(ue(a, "padding-right") || "0", 10), s = s - parseInt(ue(a, "padding-top") || "0", 10) - parseInt(ue(a, "padding-bottom") || "0", 10), Number.isNaN(t) && (t = 0), Number.isNaN(s) && (s = 0), { width: t, height: s });
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Lt(e) {
|
|
543
543
|
const { params: t, el: s } = e;
|
|
544
544
|
if (!t.updateOnWindowResize || !t.resizeObserver || typeof window.ResizeObserver > "u")
|
|
545
545
|
return !1;
|
|
546
546
|
const a = e.isHorizontal(), n = a ? s.clientWidth : s.clientHeight;
|
|
547
547
|
if (n === e._clientSize)
|
|
548
548
|
return !1;
|
|
549
|
-
const i =
|
|
549
|
+
const i = Ct(e);
|
|
550
550
|
return !i || (a ? i.width : i.height) !== e.size ? !0 : (e._clientSize = n, !1);
|
|
551
551
|
}
|
|
552
|
-
function
|
|
553
|
-
const e = this, t = e.el, s =
|
|
552
|
+
function ps() {
|
|
553
|
+
const e = this, t = e.el, s = Ct(e);
|
|
554
554
|
if (!s)
|
|
555
555
|
return;
|
|
556
556
|
const { width: a, height: n } = s;
|
|
@@ -561,19 +561,19 @@ function fs() {
|
|
|
561
561
|
_clientSize: e.isHorizontal() ? t.clientWidth : t.clientHeight
|
|
562
562
|
});
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function ms() {
|
|
565
565
|
const e = this;
|
|
566
566
|
if (e.destroyed)
|
|
567
567
|
return;
|
|
568
568
|
const { wrapperEl: t, rtlTranslate: s, enabled: a } = e;
|
|
569
|
-
if (!a ||
|
|
569
|
+
if (!a || Lt(e))
|
|
570
570
|
return;
|
|
571
571
|
e.previousTranslate = e.translate, e.isHorizontal() ? e.translate = -t.scrollLeft : e.translate = -t.scrollTop, e.translate === 0 && (e.translate = 0), e.updateActiveIndex(), e.updateSlidesClasses();
|
|
572
572
|
let n;
|
|
573
573
|
const i = e.maxTranslate() - e.minTranslate();
|
|
574
574
|
i === 0 ? n = 0 : n = (e.translate - e.minTranslate()) / i, n !== e.progress && e.updateProgress(s ? -e.translate : e.translate), e.emit("setTranslate", e.translate, !1);
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function hs(e) {
|
|
577
577
|
const t = this;
|
|
578
578
|
if (t.destroyed)
|
|
579
579
|
return;
|
|
@@ -638,7 +638,7 @@ function ps(e) {
|
|
|
638
638
|
t.navigation && (a.target === t.navigation.nextEl || a.target === t.navigation.prevEl) ? a.target === t.navigation.nextEl ? t.slideTo(r + m) : t.slideTo(r) : (t.swipeDirection === "next" && t.slideTo(E !== null ? E : r + m), t.swipeDirection === "prev" && t.slideTo(S !== null ? S : r));
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
|
-
function
|
|
641
|
+
function gs(e) {
|
|
642
642
|
const t = this;
|
|
643
643
|
if (t.destroyed)
|
|
644
644
|
return;
|
|
@@ -762,7 +762,7 @@ function ms(e) {
|
|
|
762
762
|
}
|
|
763
763
|
!a.followFinger || a.cssMode || ((a.freeMode && a.freeMode.enabled && t.freeMode || a.watchSlidesProgress) && (t.updateActiveIndex(), t.updateSlidesClasses()), a.freeMode && a.freeMode.enabled && t.freeMode && t.freeMode.onTouchMove(), t.updateProgress(s.currentTranslate), t.setTranslate(s.currentTranslate ?? 0));
|
|
764
764
|
}
|
|
765
|
-
function
|
|
765
|
+
function Ts(e, t) {
|
|
766
766
|
function s(a) {
|
|
767
767
|
if (!a || a === document || a === window)
|
|
768
768
|
return null;
|
|
@@ -776,11 +776,11 @@ function hs(e, t) {
|
|
|
776
776
|
}
|
|
777
777
|
return s(t);
|
|
778
778
|
}
|
|
779
|
-
function
|
|
779
|
+
function ot(e, t, s) {
|
|
780
780
|
const { params: a } = e, n = a.edgeSwipeDetection, i = a.edgeSwipeThreshold;
|
|
781
781
|
return n && (s <= i || s >= window.innerWidth - i) ? n === "prevent" ? (t.preventDefault(), !0) : !1 : !0;
|
|
782
782
|
}
|
|
783
|
-
function
|
|
783
|
+
function vs(e) {
|
|
784
784
|
const t = this;
|
|
785
785
|
if (t.destroyed)
|
|
786
786
|
return;
|
|
@@ -792,7 +792,7 @@ function gs(e) {
|
|
|
792
792
|
a.pointerId = g.pointerId;
|
|
793
793
|
} else s.type === "touchstart" && s.targetTouches.length === 1 && (a.touchId = s.targetTouches[0].identifier);
|
|
794
794
|
if (s.type === "touchstart") {
|
|
795
|
-
|
|
795
|
+
ot(t, s, s.targetTouches[0].pageX);
|
|
796
796
|
return;
|
|
797
797
|
}
|
|
798
798
|
const { params: n, touches: i, enabled: u } = t;
|
|
@@ -800,7 +800,7 @@ function gs(e) {
|
|
|
800
800
|
return;
|
|
801
801
|
!t.animating && n.cssMode && n.loop && t.loopFix();
|
|
802
802
|
let d = s.target;
|
|
803
|
-
if (n.touchEventsTarget === "wrapper" && !
|
|
803
|
+
if (n.touchEventsTarget === "wrapper" && !Ut(d, t.wrapperEl))
|
|
804
804
|
return;
|
|
805
805
|
const l = s;
|
|
806
806
|
if (typeof l.which == "number" && l.which === 3 || typeof l.button == "number" && l.button > 0 || a.isTouched && a.isMoved)
|
|
@@ -808,7 +808,7 @@ function gs(e) {
|
|
|
808
808
|
const p = !!n.noSwipingClass && n.noSwipingClass !== "", c = s.composedPath ? s.composedPath() : s.path;
|
|
809
809
|
p && s.target && s.target.shadowRoot && c && (d = c[0]);
|
|
810
810
|
const f = n.noSwipingSelector ? n.noSwipingSelector : `.${n.noSwipingClass}`, T = !!(s.target && s.target.shadowRoot);
|
|
811
|
-
if (n.noSwiping && (T ?
|
|
811
|
+
if (n.noSwiping && (T ? Ts(f, d) : d.closest(f))) {
|
|
812
812
|
t.allowClick = !0;
|
|
813
813
|
return;
|
|
814
814
|
}
|
|
@@ -817,7 +817,7 @@ function gs(e) {
|
|
|
817
817
|
const o = s;
|
|
818
818
|
i.currentX = o.pageX, i.currentY = o.pageY;
|
|
819
819
|
const r = i.currentX, h = i.currentY;
|
|
820
|
-
if (!
|
|
820
|
+
if (!ot(t, s, r))
|
|
821
821
|
return;
|
|
822
822
|
Object.assign(a, {
|
|
823
823
|
isTouched: !0,
|
|
@@ -831,7 +831,7 @@ function gs(e) {
|
|
|
831
831
|
const S = E && t.allowTouchMove && n.touchStartPreventDefault;
|
|
832
832
|
(n.touchStartForcePreventDefault || S) && !d.isContentEditable && s.preventDefault(), n.freeMode && n.freeMode.enabled && t.freeMode && t.animating && !n.cssMode && t.freeMode.onTouchStart(), t.emit("touchStart", s);
|
|
833
833
|
}
|
|
834
|
-
const
|
|
834
|
+
const Mt = (e, t) => {
|
|
835
835
|
const { params: s, el: a, wrapperEl: n, device: i } = e, u = !!s.nested, d = t === "on" ? "addEventListener" : "removeEventListener", l = t;
|
|
836
836
|
if (!a || typeof a == "string")
|
|
837
837
|
return;
|
|
@@ -846,22 +846,22 @@ const Ct = (e, t) => {
|
|
|
846
846
|
capture: u
|
|
847
847
|
}), document[d]("touchend", e.onTouchEnd, { passive: !0 }), document[d]("pointerup", e.onTouchEnd, { passive: !0 }), document[d]("pointercancel", e.onTouchEnd, { passive: !0 }), document[d]("touchcancel", e.onTouchEnd, { passive: !0 }), document[d]("pointerout", e.onTouchEnd, { passive: !0 }), document[d]("pointerleave", e.onTouchEnd, { passive: !0 }), document[d]("contextmenu", e.onTouchEnd, { passive: !0 }), (s.preventClicks || s.preventClicksPropagation) && a[d]("click", e.onClick, !0), s.cssMode && n[d]("scroll", e.onScroll);
|
|
848
848
|
const p = (c) => {
|
|
849
|
-
e[l](c,
|
|
849
|
+
e[l](c, us, !0);
|
|
850
850
|
};
|
|
851
851
|
s.updateOnWindowResize ? p(i.ios || i.android ? "resize orientationchange observerUpdate" : "resize observerUpdate") : p("observerUpdate"), s.lazyPreload && (a[d]("load", e.onLoad, { capture: !0 }), a[d]("error", e.onLoad, { capture: !0 }));
|
|
852
852
|
};
|
|
853
|
-
function
|
|
853
|
+
function Es() {
|
|
854
854
|
const e = this, { params: t } = e;
|
|
855
|
-
e.onTouchStart =
|
|
855
|
+
e.onTouchStart = vs.bind(e), e.onTouchMove = gs.bind(e), e.onTouchEnd = hs.bind(e), e.onDocumentTouchStart = cs.bind(e), t.cssMode && (e.onScroll = ms.bind(e)), e.onClick = ds.bind(e), e.onLoad = fs.bind(e), Mt(e, "on");
|
|
856
856
|
}
|
|
857
|
-
function
|
|
858
|
-
|
|
857
|
+
function Ss() {
|
|
858
|
+
Mt(this, "off");
|
|
859
859
|
}
|
|
860
|
-
var
|
|
861
|
-
attachEvents:
|
|
862
|
-
detachEvents:
|
|
860
|
+
var ys = {
|
|
861
|
+
attachEvents: Es,
|
|
862
|
+
detachEvents: Ss
|
|
863
863
|
};
|
|
864
|
-
function
|
|
864
|
+
function bs(e) {
|
|
865
865
|
const t = this;
|
|
866
866
|
if (!t.params.simulateTouch || t.params.watchOverflow && t.isLocked || t.params.cssMode)
|
|
867
867
|
return;
|
|
@@ -870,17 +870,17 @@ function Ss(e) {
|
|
|
870
870
|
t.__preventObserver__ = !1;
|
|
871
871
|
});
|
|
872
872
|
}
|
|
873
|
-
function
|
|
873
|
+
function As() {
|
|
874
874
|
const e = this;
|
|
875
875
|
e.params.watchOverflow && e.isLocked || e.params.cssMode || (e.isElement && (e.__preventObserver__ = !0), e[e.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", e.isElement && requestAnimationFrame(() => {
|
|
876
876
|
e.__preventObserver__ = !1;
|
|
877
877
|
}));
|
|
878
878
|
}
|
|
879
|
-
var
|
|
880
|
-
setGrabCursor:
|
|
881
|
-
unsetGrabCursor:
|
|
879
|
+
var _s = {
|
|
880
|
+
setGrabCursor: bs,
|
|
881
|
+
unsetGrabCursor: As
|
|
882
882
|
};
|
|
883
|
-
function
|
|
883
|
+
function xs(e, t) {
|
|
884
884
|
const s = this, { params: a, slidesEl: n } = s;
|
|
885
885
|
if (!a.loop || s.virtual && s.params.virtual?.enabled)
|
|
886
886
|
return;
|
|
@@ -924,7 +924,7 @@ function As(e, t) {
|
|
|
924
924
|
initial: t
|
|
925
925
|
});
|
|
926
926
|
}
|
|
927
|
-
function
|
|
927
|
+
function Cs() {
|
|
928
928
|
const e = this, { params: t, slidesEl: s } = e;
|
|
929
929
|
if (!t.loop || !s || e.virtual && e.params.virtual?.enabled)
|
|
930
930
|
return;
|
|
@@ -939,7 +939,7 @@ function _s() {
|
|
|
939
939
|
s.append(n);
|
|
940
940
|
}), e.recalcSlides(), e.slideTo(e.realIndex, 0);
|
|
941
941
|
}
|
|
942
|
-
function
|
|
942
|
+
function Ls(e = {}) {
|
|
943
943
|
const { slideRealIndex: t, slideTo: s = !0, direction: a, setTranslate: n, activeSlideIndex: i, initial: u, byController: d, byMousewheel: l } = e;
|
|
944
944
|
let p = i;
|
|
945
945
|
const c = this;
|
|
@@ -957,15 +957,15 @@ function xs(e = {}) {
|
|
|
957
957
|
}
|
|
958
958
|
let y = h.slidesPerView;
|
|
959
959
|
y === "auto" ? y = c.slidesPerViewDynamic() : (y = Math.ceil(parseFloat(String(h.slidesPerView))), v && y % 2 === 0 && (y = y + 1));
|
|
960
|
-
const L = h.slidesPerGroupAuto ? y : h.slidesPerGroup, A = (R) => (typeof R == "function" ? R.call(c) : R) || 0, O = c.slidesGrid.length > 1 ? (c.slidesGrid[c.slidesGrid.length - 1] - c.slidesGrid[0]) / (c.slidesGrid.length - 1) : c.size, C = O > 0 ? A(S) / O : 0,
|
|
961
|
-
let _ = v ? Math.max(L, (E ? Math.ceil(y / 2) : 0) + Math.ceil(Math.max(C,
|
|
960
|
+
const L = h.slidesPerGroupAuto ? y : h.slidesPerGroup, A = (R) => (typeof R == "function" ? R.call(c) : R) || 0, O = c.slidesGrid.length > 1 ? (c.slidesGrid[c.slidesGrid.length - 1] - c.slidesGrid[0]) / (c.slidesGrid.length - 1) : c.size, C = O > 0 ? A(S) / O : 0, $ = O > 0 ? A(g) / O : 0;
|
|
961
|
+
let _ = v ? Math.max(L, (E ? Math.ceil(y / 2) : 0) + Math.ceil(Math.max(C, $))) : L;
|
|
962
962
|
_ % L !== 0 && (_ += L - _ % L), _ += h.loopAdditionalSlides, c.loopedSlides = _;
|
|
963
963
|
const b = c.grid && h.grid && h.grid.rows > 1;
|
|
964
964
|
f.length < y + _ || c.params.effect === "cards" && f.length < y + _ * 2 ? Ne("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : b && h.grid.fill === "row" && Ne("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
|
|
965
965
|
const M = [], x = [], I = b ? Math.ceil(f.length / h.grid.rows) : f.length;
|
|
966
966
|
_ > (I - y) / 2 && (_ = Math.max(L, Math.floor((I - y - 1) / 2 / L) * L), c.loopedSlides = _);
|
|
967
|
-
const
|
|
968
|
-
let V =
|
|
967
|
+
const k = u && I - m < y && !v;
|
|
968
|
+
let V = k ? m : c.activeIndex;
|
|
969
969
|
typeof p > "u" ? p = c.getSlideIndex(f.find((R) => R.classList.contains(h.slideActiveClass))) : V = p;
|
|
970
970
|
const j = a === "next" || !a, P = a === "prev" || !a;
|
|
971
971
|
let z = 0, G = 0;
|
|
@@ -982,7 +982,7 @@ function xs(e = {}) {
|
|
|
982
982
|
M.push(I - N - 1);
|
|
983
983
|
}
|
|
984
984
|
} else if (q + y > I - _) {
|
|
985
|
-
G = Math.max(q - (I - _ * 2), L),
|
|
985
|
+
G = Math.max(q - (I - _ * 2), L), k && (G = Math.max(G, y - I + m + 1)), G = Math.max(G, Math.ceil(q + y - I));
|
|
986
986
|
for (let R = 0; R < G; R += 1) {
|
|
987
987
|
const N = R - Math.floor(R / I) * I;
|
|
988
988
|
b ? f.forEach((B, K) => {
|
|
@@ -1040,12 +1040,12 @@ function xs(e = {}) {
|
|
|
1040
1040
|
}
|
|
1041
1041
|
c.__loopFixInProgress__ = !1, c.emit("loopFix");
|
|
1042
1042
|
}
|
|
1043
|
-
var
|
|
1044
|
-
loopCreate:
|
|
1045
|
-
loopFix:
|
|
1046
|
-
loopDestroy:
|
|
1043
|
+
var Ms = {
|
|
1044
|
+
loopCreate: xs,
|
|
1045
|
+
loopFix: Ls,
|
|
1046
|
+
loopDestroy: Cs
|
|
1047
1047
|
};
|
|
1048
|
-
function
|
|
1048
|
+
function Is(e, t) {
|
|
1049
1049
|
return function(a = {}) {
|
|
1050
1050
|
const n = Object.keys(a)[0], i = a[n];
|
|
1051
1051
|
if (typeof i != "object" || i === null) {
|
|
@@ -1059,7 +1059,7 @@ function Ls(e, t) {
|
|
|
1059
1059
|
typeof e[n] == "object" && !("enabled" in e[n]) && (e[n].enabled = !0), e[n] || (e[n] = { enabled: !1 }), se(t, a);
|
|
1060
1060
|
};
|
|
1061
1061
|
}
|
|
1062
|
-
const
|
|
1062
|
+
const Ps = ({ swiper: e, extendParams: t, on: s }) => {
|
|
1063
1063
|
const a = [], n = (d, l = {}) => {
|
|
1064
1064
|
const p = window.MutationObserver || window.WebkitMutationObserver;
|
|
1065
1065
|
if (!p)
|
|
@@ -1102,7 +1102,7 @@ const Ms = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
1102
1102
|
observeParents: !1,
|
|
1103
1103
|
observeSlideChildren: !1
|
|
1104
1104
|
}), s("init", i), s("destroy", u);
|
|
1105
|
-
},
|
|
1105
|
+
}, Rs = ({ swiper: e, on: t, emit: s }) => {
|
|
1106
1106
|
let a = null, n = null;
|
|
1107
1107
|
const i = () => {
|
|
1108
1108
|
!e || e.destroyed || !e.initialized || (s("beforeResize"), s("resize"));
|
|
@@ -1136,7 +1136,7 @@ const Ms = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
1136
1136
|
d(), window.removeEventListener("resize", i), window.removeEventListener("orientationchange", l);
|
|
1137
1137
|
});
|
|
1138
1138
|
};
|
|
1139
|
-
function
|
|
1139
|
+
function Os(e, t = !0, s) {
|
|
1140
1140
|
const a = this, { enabled: n, params: i, animating: u } = a;
|
|
1141
1141
|
if (!n || a.destroyed)
|
|
1142
1142
|
return a;
|
|
@@ -1154,7 +1154,7 @@ function Ps(e, t = !0, s) {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
return i.rewind && a.isEnd ? a.slideTo(0, e, t, s) : a.slideTo(a.activeIndex + l, e, t, s);
|
|
1156
1156
|
}
|
|
1157
|
-
function
|
|
1157
|
+
function ws(e, t = !0, s) {
|
|
1158
1158
|
const a = this, { params: n, snapGrid: i, slidesGrid: u, rtlTranslate: d, enabled: l, animating: p } = a;
|
|
1159
1159
|
if (!l || a.destroyed)
|
|
1160
1160
|
return a;
|
|
@@ -1191,12 +1191,12 @@ function Rs(e, t = !0, s) {
|
|
|
1191
1191
|
}), !0;
|
|
1192
1192
|
return a.slideTo(S, e, t, s);
|
|
1193
1193
|
}
|
|
1194
|
-
function
|
|
1194
|
+
function Ds(e, t = !0, s) {
|
|
1195
1195
|
const a = this;
|
|
1196
1196
|
if (!a.destroyed)
|
|
1197
1197
|
return typeof e > "u" && (e = a.params.speed), a.slideTo(a.activeIndex, e, t, s);
|
|
1198
1198
|
}
|
|
1199
|
-
function
|
|
1199
|
+
function Ns(e = 0, t, s = !0, a, n) {
|
|
1200
1200
|
typeof e == "string" && (e = parseInt(e, 10));
|
|
1201
1201
|
const i = this;
|
|
1202
1202
|
let u = e;
|
|
@@ -1211,8 +1211,8 @@ function ws(e = 0, t, s = !0, a, n) {
|
|
|
1211
1211
|
const S = -l[E];
|
|
1212
1212
|
if (d.normalizeSlideIndex)
|
|
1213
1213
|
for (let A = 0; A < p.length; A += 1) {
|
|
1214
|
-
const O = -Math.floor(S * 100), C = Math.floor(p[A] * 100),
|
|
1215
|
-
typeof p[A + 1] < "u" ? O >= C && O <
|
|
1214
|
+
const O = -Math.floor(S * 100), C = Math.floor(p[A] * 100), $ = Math.floor(p[A + 1] * 100);
|
|
1215
|
+
typeof p[A + 1] < "u" ? O >= C && O < $ - ($ - C) / 2 ? u = A : O >= C && O < $ && (u = A + 1) : O >= C && (u = A);
|
|
1216
1216
|
}
|
|
1217
1217
|
if (i.initialized && u !== f && (!i.allowSlideNext && (T ? S > i.translate && S > i.minTranslate() : S < i.translate && S < i.minTranslate()) || !i.allowSlidePrev && S > i.translate && S > i.maxTranslate() && (f || 0) !== u))
|
|
1218
1218
|
return !1;
|
|
@@ -1223,7 +1223,7 @@ function ws(e = 0, t, s = !0, a, n) {
|
|
|
1223
1223
|
if (!(m && n) && (T && -S === i.translate || !T && S === i.translate))
|
|
1224
1224
|
return i.updateActiveIndex(u), d.autoHeight && i.updateAutoHeight(), i.updateSlidesClasses(), d.effect !== "slide" && i.setTranslate(S), g !== "reset" && (i.transitionStart(s, g), i.transitionEnd(s, g)), !1;
|
|
1225
1225
|
if (d.cssMode) {
|
|
1226
|
-
|
|
1226
|
+
Lt(i) && i.updateActiveIndex(u);
|
|
1227
1227
|
const A = i.isHorizontal(), O = T ? S : -S;
|
|
1228
1228
|
return t === 0 ? (m && (i.wrapperEl.style.scrollSnapType = "none", i._immediateVirtual = !0), m && !i._cssModeVirtualInitialSet && (i.params.initialSlide ?? 0) > 0 ? (i._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
|
|
1229
1229
|
o[A ? "scrollLeft" : "scrollTop"] = O;
|
|
@@ -1234,12 +1234,12 @@ function ws(e = 0, t, s = !0, a, n) {
|
|
|
1234
1234
|
behavior: "smooth"
|
|
1235
1235
|
}), !0;
|
|
1236
1236
|
}
|
|
1237
|
-
const L =
|
|
1237
|
+
const L = At().isSafari;
|
|
1238
1238
|
return m && !n && L && i.isElement && i.virtual.update(!1, !1, u), i.setTransition(t), i.setTranslate(S), i.updateActiveIndex(u), i.updateSlidesClasses(), i.emit("beforeTransitionStart", t, a), i.transitionStart(s, g), t === 0 ? i.transitionEnd(s, g) : i.animating || (i.animating = !0, i.onSlideToWrapperTransitionEnd || (i.onSlideToWrapperTransitionEnd = function(O) {
|
|
1239
1239
|
!i || i.destroyed || O.target === this && (i.wrapperEl.removeEventListener("transitionend", i.onSlideToWrapperTransitionEnd), i.onSlideToWrapperTransitionEnd = null, delete i.onSlideToWrapperTransitionEnd, i.transitionEnd(s, g));
|
|
1240
1240
|
}), i.wrapperEl.addEventListener("transitionend", i.onSlideToWrapperTransitionEnd)), !0;
|
|
1241
1241
|
}
|
|
1242
|
-
function
|
|
1242
|
+
function zs() {
|
|
1243
1243
|
const e = this;
|
|
1244
1244
|
if (e.destroyed)
|
|
1245
1245
|
return;
|
|
@@ -1258,7 +1258,7 @@ function Ds() {
|
|
|
1258
1258
|
} else
|
|
1259
1259
|
e.slideTo(u);
|
|
1260
1260
|
}
|
|
1261
|
-
function
|
|
1261
|
+
function $s(e, t = !0, s, a = 0.5) {
|
|
1262
1262
|
const n = this;
|
|
1263
1263
|
if (n.destroyed)
|
|
1264
1264
|
return;
|
|
@@ -1274,7 +1274,7 @@ function Ns(e, t = !0, s, a = 0.5) {
|
|
|
1274
1274
|
}
|
|
1275
1275
|
return i = Math.max(i, 0), i = Math.min(i, n.slidesGrid.length - 1), n.slideTo(i, e, t, s);
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1277
|
+
function ks(e = 0, t, s = !0, a) {
|
|
1278
1278
|
typeof e == "string" && (e = parseInt(e, 10));
|
|
1279
1279
|
const n = this;
|
|
1280
1280
|
if (n.destroyed)
|
|
@@ -1319,38 +1319,38 @@ function zs(e = 0, t, s = !0, a) {
|
|
|
1319
1319
|
n.slideTo(u, t, s, a);
|
|
1320
1320
|
}), n;
|
|
1321
1321
|
}
|
|
1322
|
-
var
|
|
1323
|
-
slideTo:
|
|
1324
|
-
slideToLoop:
|
|
1325
|
-
slideNext:
|
|
1326
|
-
slidePrev:
|
|
1327
|
-
slideReset:
|
|
1328
|
-
slideToClosest:
|
|
1329
|
-
slideToClickedSlide:
|
|
1322
|
+
var Gs = {
|
|
1323
|
+
slideTo: Ns,
|
|
1324
|
+
slideToLoop: ks,
|
|
1325
|
+
slideNext: Os,
|
|
1326
|
+
slidePrev: ws,
|
|
1327
|
+
slideReset: Ds,
|
|
1328
|
+
slideToClosest: $s,
|
|
1329
|
+
slideToClickedSlide: zs
|
|
1330
1330
|
};
|
|
1331
|
-
function
|
|
1331
|
+
function Bs(e, t) {
|
|
1332
1332
|
const s = this;
|
|
1333
1333
|
s.params.cssMode || (s.wrapperEl.style.transitionDuration = `${e}ms`, s.wrapperEl.style.transitionDelay = e === 0 ? "0ms" : ""), s.emit("setTransition", e, t);
|
|
1334
1334
|
}
|
|
1335
|
-
function
|
|
1335
|
+
function It({ swiper: e, runCallbacks: t, direction: s, step: a }) {
|
|
1336
1336
|
const { activeIndex: n, previousIndex: i } = e;
|
|
1337
1337
|
let u = s;
|
|
1338
1338
|
u || (n > i ? u = "next" : n < i ? u = "prev" : u = "reset"), e.emit(`transition${a}`), t && u === "reset" ? e.emit(`slideResetTransition${a}`) : t && n !== i && (e.emit(`slideChangeTransition${a}`), u === "next" ? e.emit(`slideNextTransition${a}`) : e.emit(`slidePrevTransition${a}`));
|
|
1339
1339
|
}
|
|
1340
|
-
function
|
|
1340
|
+
function Hs(e = !0, t) {
|
|
1341
1341
|
const s = this, { params: a } = s;
|
|
1342
|
-
s.animating = !1, !a.cssMode && (s.setTransition(0),
|
|
1342
|
+
s.animating = !1, !a.cssMode && (s.setTransition(0), It({ swiper: s, runCallbacks: e, direction: t, step: "End" }));
|
|
1343
1343
|
}
|
|
1344
|
-
function
|
|
1344
|
+
function Fs(e = !0, t) {
|
|
1345
1345
|
const s = this, { params: a } = s;
|
|
1346
|
-
a.cssMode || (a.autoHeight && s.updateAutoHeight(),
|
|
1346
|
+
a.cssMode || (a.autoHeight && s.updateAutoHeight(), It({ swiper: s, runCallbacks: e, direction: t, step: "Start" }));
|
|
1347
1347
|
}
|
|
1348
|
-
var
|
|
1349
|
-
setTransition:
|
|
1350
|
-
transitionStart:
|
|
1351
|
-
transitionEnd:
|
|
1348
|
+
var Vs = {
|
|
1349
|
+
setTransition: Bs,
|
|
1350
|
+
transitionStart: Fs,
|
|
1351
|
+
transitionEnd: Hs
|
|
1352
1352
|
};
|
|
1353
|
-
function
|
|
1353
|
+
function Ws(e = this.isHorizontal() ? "x" : "y") {
|
|
1354
1354
|
const t = this, { params: s, rtlTranslate: a, translate: n, wrapperEl: i } = t;
|
|
1355
1355
|
if (s.virtualTranslate)
|
|
1356
1356
|
return a ? -n : n;
|
|
@@ -1359,13 +1359,13 @@ function Fs(e = this.isHorizontal() ? "x" : "y") {
|
|
|
1359
1359
|
let u = Ke(i, e);
|
|
1360
1360
|
return u += t.cssOverflowAdjustment(), a && (u = -u), u || 0;
|
|
1361
1361
|
}
|
|
1362
|
-
function
|
|
1362
|
+
function Ys() {
|
|
1363
1363
|
return -this.snapGrid[this.snapGrid.length - 1];
|
|
1364
1364
|
}
|
|
1365
|
-
function
|
|
1365
|
+
function Xs() {
|
|
1366
1366
|
return -this.snapGrid[0];
|
|
1367
1367
|
}
|
|
1368
|
-
function
|
|
1368
|
+
function Us(e, t) {
|
|
1369
1369
|
const s = this, { rtlTranslate: a, params: n, wrapperEl: i, progress: u } = s;
|
|
1370
1370
|
let d = 0, l = 0;
|
|
1371
1371
|
const p = 0;
|
|
@@ -1374,7 +1374,7 @@ function Ys(e, t) {
|
|
|
1374
1374
|
const f = s.maxTranslate() - s.minTranslate();
|
|
1375
1375
|
f === 0 ? c = 0 : c = (e - s.minTranslate()) / f, c !== u && s.updateProgress(e), s.emit("setTranslate", s.translate, t);
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1377
|
+
function qs(e = 0, t = this.params.speed, s = !0, a = !0, n) {
|
|
1378
1378
|
const i = this, { params: u, wrapperEl: d } = i;
|
|
1379
1379
|
if (i.animating && u.preventInteractionOnTransition)
|
|
1380
1380
|
return !1;
|
|
@@ -1391,21 +1391,21 @@ function Xs(e = 0, t = this.params.speed, s = !0, a = !0, n) {
|
|
|
1391
1391
|
!i || i.destroyed || T.target === this && (i.wrapperEl.removeEventListener("transitionend", i.onTranslateToWrapperTransitionEnd), i.onTranslateToWrapperTransitionEnd = null, delete i.onTranslateToWrapperTransitionEnd, i.animating = !1, s && i.emit("transitionEnd"));
|
|
1392
1392
|
}), i.wrapperEl.addEventListener("transitionend", i.onTranslateToWrapperTransitionEnd))), !0;
|
|
1393
1393
|
}
|
|
1394
|
-
var
|
|
1395
|
-
getTranslate:
|
|
1396
|
-
setTranslate:
|
|
1397
|
-
minTranslate:
|
|
1398
|
-
maxTranslate:
|
|
1399
|
-
translateTo:
|
|
1394
|
+
var js = {
|
|
1395
|
+
getTranslate: Ws,
|
|
1396
|
+
setTranslate: Us,
|
|
1397
|
+
minTranslate: Xs,
|
|
1398
|
+
maxTranslate: Ys,
|
|
1399
|
+
translateTo: qs
|
|
1400
1400
|
};
|
|
1401
|
-
function
|
|
1401
|
+
function Ks(e) {
|
|
1402
1402
|
const { slidesGrid: t, params: s } = e, a = e.rtlTranslate ? e.translate : -e.translate;
|
|
1403
1403
|
let n;
|
|
1404
1404
|
for (let i = 0; i < t.length; i += 1)
|
|
1405
1405
|
typeof t[i + 1] < "u" ? a >= t[i] && a < t[i + 1] - (t[i + 1] - t[i]) / 2 ? n = i : a >= t[i] && a < t[i + 1] && (n = i + 1) : a >= t[i] && (n = i);
|
|
1406
1406
|
return s.normalizeSlideIndex && (n < 0 || typeof n > "u") && (n = 0), n;
|
|
1407
1407
|
}
|
|
1408
|
-
function
|
|
1408
|
+
function Zs(e) {
|
|
1409
1409
|
const t = this, s = t.rtlTranslate ? t.translate : -t.translate, { snapGrid: a, params: n, activeIndex: i, realIndex: u, snapIndex: d } = t;
|
|
1410
1410
|
let l = e, p;
|
|
1411
1411
|
const c = (o) => {
|
|
@@ -1413,7 +1413,7 @@ function js(e) {
|
|
|
1413
1413
|
let h = o - (t.virtual.slidesBefore ?? 0);
|
|
1414
1414
|
return h < 0 && (h = r.length + h), h >= r.length && (h -= r.length), h;
|
|
1415
1415
|
};
|
|
1416
|
-
if (typeof l > "u" && (l =
|
|
1416
|
+
if (typeof l > "u" && (l = Ks(t)), a.indexOf(s) >= 0)
|
|
1417
1417
|
p = a.indexOf(s);
|
|
1418
1418
|
else {
|
|
1419
1419
|
const o = Math.min(n.slidesPerGroupSkip, l);
|
|
@@ -1447,9 +1447,9 @@ function js(e) {
|
|
|
1447
1447
|
realIndex: T,
|
|
1448
1448
|
previousIndex: i,
|
|
1449
1449
|
activeIndex: l
|
|
1450
|
-
}), t.initialized &&
|
|
1450
|
+
}), t.initialized && _t(t), !t.__loopFixInProgress__ && (t.emit("activeIndexChange"), t.emit("snapIndexChange"), (t.initialized || t.params.runCallbacksOnInit) && ((t.__lastEmittedRealIndex__ ?? u) !== T && t.emit("realIndexChange"), t.emit("slideChange")), t.__lastEmittedRealIndex__ = T);
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1452
|
+
function Qs(e) {
|
|
1453
1453
|
const t = this, s = [], a = t.virtual && t.params.virtual?.enabled;
|
|
1454
1454
|
let n = 0, i;
|
|
1455
1455
|
typeof e == "number" ? t.setTransition(e) : e === !0 && t.setTransition(t.params.speed);
|
|
@@ -1478,7 +1478,7 @@ function Ks(e) {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
(n || n === 0) && (t.wrapperEl.style.height = `${n}px`);
|
|
1480
1480
|
}
|
|
1481
|
-
function
|
|
1481
|
+
function Js(e, t) {
|
|
1482
1482
|
const s = this, a = s.params;
|
|
1483
1483
|
let n = e.closest(`.${a.slideClass}, swiper-slide`);
|
|
1484
1484
|
!n && s.isElement && t && t.length > 1 && t.includes(e) && [...t.slice(t.indexOf(e) + 1, t.length)].forEach((d) => {
|
|
@@ -1500,7 +1500,7 @@ function Zs(e, t) {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
a.slideToClickedSlide && s.clickedIndex !== void 0 && s.clickedIndex !== s.activeIndex && s.slideToClickedSlide();
|
|
1502
1502
|
}
|
|
1503
|
-
function
|
|
1503
|
+
function ea(e) {
|
|
1504
1504
|
const t = this;
|
|
1505
1505
|
if (typeof e > "u") {
|
|
1506
1506
|
const c = t.rtlTranslate ? -1 : 1;
|
|
@@ -1527,7 +1527,7 @@ function Qs(e) {
|
|
|
1527
1527
|
isEnd: u
|
|
1528
1528
|
}), (s.watchSlidesProgress || s.centeredSlides && s.autoHeight) && t.updateSlidesProgress(e), i && !l && t.emit("reachBeginning toEdge"), u && !p && t.emit("reachEnd toEdge"), (l && !i || p && !u) && t.emit("fromEdge"), t.emit("progress", n);
|
|
1529
1529
|
}
|
|
1530
|
-
function
|
|
1530
|
+
function ta() {
|
|
1531
1531
|
const e = this;
|
|
1532
1532
|
function t(_, b) {
|
|
1533
1533
|
return parseFloat(_.getPropertyValue(e.getDirectionLabel(b)) || "0");
|
|
@@ -1544,7 +1544,7 @@ function Js() {
|
|
|
1544
1544
|
const O = s.grid && s.grid.rows > 1 && e.grid;
|
|
1545
1545
|
O ? e.grid.initSlides(p) : e.grid && e.grid.unsetSlides();
|
|
1546
1546
|
let C = 0;
|
|
1547
|
-
const
|
|
1547
|
+
const $ = s.slidesPerView === "auto" && s.breakpoints && Object.keys(s.breakpoints).filter((_) => typeof s.breakpoints[_]?.slidesPerView < "u").length > 0;
|
|
1548
1548
|
for (let _ = 0; _ < c; _ += 1) {
|
|
1549
1549
|
C = 0;
|
|
1550
1550
|
const b = p[_];
|
|
@@ -1552,17 +1552,17 @@ function Js() {
|
|
|
1552
1552
|
if (d && s.slidesPerView === "auto")
|
|
1553
1553
|
s.virtual?.slidesPerViewAutoSlideSize && (C = s.virtual.slidesPerViewAutoSlideSize), C && b && (s.roundLengths && (C = Math.floor(C)), b.style[e.getDirectionLabel("width")] = `${C}px`);
|
|
1554
1554
|
else if (s.slidesPerView === "auto") {
|
|
1555
|
-
|
|
1555
|
+
$ && (b.style[e.getDirectionLabel("width")] = "");
|
|
1556
1556
|
const M = getComputedStyle(b), x = b.style.transform, I = b.style.webkitTransform;
|
|
1557
1557
|
if (x && (b.style.transform = "none"), I && (b.style.webkitTransform = "none"), s.roundLengths)
|
|
1558
1558
|
C = e.isHorizontal() ? Ze(b, "width") : Ze(b, "height");
|
|
1559
1559
|
else {
|
|
1560
|
-
const
|
|
1560
|
+
const k = t(M, "width"), V = t(M, "padding-left"), j = t(M, "padding-right"), P = t(M, "margin-left"), z = t(M, "margin-right"), G = M.getPropertyValue("box-sizing");
|
|
1561
1561
|
if (G && G === "border-box")
|
|
1562
|
-
C =
|
|
1562
|
+
C = k + P + z;
|
|
1563
1563
|
else {
|
|
1564
|
-
const { clientWidth:
|
|
1565
|
-
C =
|
|
1564
|
+
const { clientWidth: H, offsetWidth: q } = b;
|
|
1565
|
+
C = k + V + j + P + z + (q - H);
|
|
1566
1566
|
}
|
|
1567
1567
|
}
|
|
1568
1568
|
x && (b.style.transform = x), I && (b.style.webkitTransform = I), s.roundLengths && (C = Math.floor(C));
|
|
@@ -1578,8 +1578,8 @@ function Js() {
|
|
|
1578
1578
|
let I;
|
|
1579
1579
|
if (s.slidesPerView === "auto") {
|
|
1580
1580
|
I = 1;
|
|
1581
|
-
let
|
|
1582
|
-
for (let V = o.length - 1; V >= 0 && (
|
|
1581
|
+
let k = 0;
|
|
1582
|
+
for (let V = o.length - 1; V >= 0 && (k += o[V] + (V < o.length - 1 ? v : 0), k <= m); V -= 1)
|
|
1583
1583
|
I = o.length - V;
|
|
1584
1584
|
} else
|
|
1585
1585
|
I = Math.floor(s.slidesPerView);
|
|
@@ -1587,17 +1587,17 @@ function Js() {
|
|
|
1587
1587
|
}
|
|
1588
1588
|
const x = [];
|
|
1589
1589
|
for (let I = 0; I < f.length; I += 1) {
|
|
1590
|
-
let
|
|
1591
|
-
s.roundLengths && (
|
|
1590
|
+
let k = f[I];
|
|
1591
|
+
s.roundLengths && (k = Math.floor(k)), b ? I <= M && x.push(k) : f[I] <= e.virtualSize - m && x.push(k);
|
|
1592
1592
|
}
|
|
1593
1593
|
f = x, Math.floor(e.virtualSize - m) - Math.floor(f[f.length - 1]) > 1 && (b || f.push(e.virtualSize - m));
|
|
1594
1594
|
}
|
|
1595
1595
|
if (d && s.loop) {
|
|
1596
1596
|
const _ = o[0] + v, b = e.virtual.slidesBefore ?? 0, M = e.virtual.slidesAfter ?? 0, x = b + M;
|
|
1597
1597
|
if (s.slidesPerGroup > 1) {
|
|
1598
|
-
const I = Math.ceil(x / s.slidesPerGroup),
|
|
1598
|
+
const I = Math.ceil(x / s.slidesPerGroup), k = _ * s.slidesPerGroup;
|
|
1599
1599
|
for (let V = 0; V < I; V += 1)
|
|
1600
|
-
f.push(f[f.length - 1] +
|
|
1600
|
+
f.push(f[f.length - 1] + k);
|
|
1601
1601
|
}
|
|
1602
1602
|
for (let I = 0; I < x; I += 1)
|
|
1603
1603
|
s.slidesPerGroup === 1 && f.push(f[f.length - 1] + _), T.push(T[T.length - 1] + _), e.virtualSize += _;
|
|
@@ -1647,7 +1647,7 @@ function Js() {
|
|
|
1647
1647
|
const qe = (e, t, s) => {
|
|
1648
1648
|
t && !e.classList.contains(s) ? e.classList.add(s) : !t && e.classList.contains(s) && e.classList.remove(s);
|
|
1649
1649
|
};
|
|
1650
|
-
function
|
|
1650
|
+
function sa() {
|
|
1651
1651
|
const e = this, { slides: t, params: s, slidesEl: a, activeIndex: n } = e, i = !!(e.virtual && s.virtual?.enabled), u = e.grid && s.grid && s.grid.rows > 1, d = (f) => Q(a, `.${s.slideClass}${f}, swiper-slide${f}`)[0];
|
|
1652
1652
|
let l, p, c;
|
|
1653
1653
|
if (i)
|
|
@@ -1658,19 +1658,19 @@ function ea() {
|
|
|
1658
1658
|
} else
|
|
1659
1659
|
l = d(`[data-swiper-slide-index="${n}"]`);
|
|
1660
1660
|
else u ? (l = t.find((f) => f.column === n), c = t.find((f) => f.column === n + 1), p = t.find((f) => f.column === n - 1)) : l = t[n];
|
|
1661
|
-
l && (u || (c =
|
|
1661
|
+
l && (u || (c = jt(l, `.${s.slideClass}, swiper-slide`)[0], s.loop && !c && (c = t[0]), p = qt(l, `.${s.slideClass}, swiper-slide`)[0], s.loop && !p === 0 && (p = t[t.length - 1]))), t.forEach((f) => {
|
|
1662
1662
|
qe(f, f === l, s.slideActiveClass), qe(f, f === c, s.slideNextClass), qe(f, f === p, s.slidePrevClass);
|
|
1663
1663
|
}), e.emitSlidesClasses();
|
|
1664
1664
|
}
|
|
1665
|
-
function
|
|
1665
|
+
function aa() {
|
|
1666
1666
|
const e = this, t = e.slides, s = e.isElement ? e.isHorizontal() ? e.wrapperEl.offsetLeft : e.wrapperEl.offsetTop : 0;
|
|
1667
1667
|
for (let a = 0; a < t.length; a += 1)
|
|
1668
1668
|
t[a].swiperSlideOffset = (e.isHorizontal() ? t[a].offsetLeft : t[a].offsetTop) - s - e.cssOverflowAdjustment();
|
|
1669
1669
|
}
|
|
1670
|
-
const
|
|
1670
|
+
const dt = (e, t, s) => {
|
|
1671
1671
|
t && !e.classList.contains(s) ? e.classList.add(s) : !t && e.classList.contains(s) && e.classList.remove(s);
|
|
1672
1672
|
};
|
|
1673
|
-
function
|
|
1673
|
+
function na(e = this && this.translate || 0) {
|
|
1674
1674
|
const t = this, s = t.params, { slides: a, rtlTranslate: n, snapGrid: i } = t;
|
|
1675
1675
|
if (a.length === 0)
|
|
1676
1676
|
return;
|
|
@@ -1684,32 +1684,32 @@ function sa(e = this && this.translate || 0) {
|
|
|
1684
1684
|
let c = p.swiperSlideOffset ?? 0;
|
|
1685
1685
|
s.cssMode && s.centeredSlides && (c -= a[0].swiperSlideOffset ?? 0);
|
|
1686
1686
|
const f = p.swiperSlideSize ?? 0, T = (u + (s.centeredSlides ? t.minTranslate() : 0) - c) / (f + d), o = (u - i[0] + (s.centeredSlides ? t.minTranslate() : 0) - c) / (f + d), r = -(u - c), h = r + t.slidesSizesGrid[l], E = r >= 0 && r <= t.size - t.slidesSizesGrid[l], S = r >= 0 && r < t.size - 1 || h > 1 && h <= t.size || r <= 0 && h >= t.size;
|
|
1687
|
-
S && (t.visibleSlides.push(p), t.visibleSlidesIndexes.push(l)),
|
|
1688
|
-
}
|
|
1689
|
-
}
|
|
1690
|
-
var
|
|
1691
|
-
updateSize:
|
|
1692
|
-
updateSlides:
|
|
1693
|
-
updateAutoHeight:
|
|
1694
|
-
updateSlidesOffset:
|
|
1695
|
-
updateSlidesProgress:
|
|
1696
|
-
updateProgress:
|
|
1697
|
-
updateSlidesClasses:
|
|
1698
|
-
updateActiveIndex:
|
|
1699
|
-
updateClickedSlide:
|
|
1687
|
+
S && (t.visibleSlides.push(p), t.visibleSlidesIndexes.push(l)), dt(p, S, s.slideVisibleClass), dt(p, E, s.slideFullyVisibleClass), p.progress = n ? -T : T, p.originalProgress = n ? -o : o;
|
|
1688
|
+
}
|
|
1689
|
+
}
|
|
1690
|
+
var ia = {
|
|
1691
|
+
updateSize: ps,
|
|
1692
|
+
updateSlides: ta,
|
|
1693
|
+
updateAutoHeight: Qs,
|
|
1694
|
+
updateSlidesOffset: aa,
|
|
1695
|
+
updateSlidesProgress: na,
|
|
1696
|
+
updateProgress: ea,
|
|
1697
|
+
updateSlidesClasses: sa,
|
|
1698
|
+
updateActiveIndex: Zs,
|
|
1699
|
+
updateClickedSlide: Js
|
|
1700
1700
|
};
|
|
1701
|
-
const
|
|
1702
|
-
eventsEmitter:
|
|
1703
|
-
update:
|
|
1704
|
-
translate:
|
|
1705
|
-
transition:
|
|
1706
|
-
slide:
|
|
1707
|
-
loop:
|
|
1708
|
-
grabCursor:
|
|
1709
|
-
events:
|
|
1710
|
-
breakpoints:
|
|
1711
|
-
checkOverflow:
|
|
1712
|
-
classes:
|
|
1701
|
+
const ra = {
|
|
1702
|
+
eventsEmitter: os,
|
|
1703
|
+
update: ia,
|
|
1704
|
+
translate: js,
|
|
1705
|
+
transition: Vs,
|
|
1706
|
+
slide: Gs,
|
|
1707
|
+
loop: Ms,
|
|
1708
|
+
grabCursor: _s,
|
|
1709
|
+
events: ys,
|
|
1710
|
+
breakpoints: ts,
|
|
1711
|
+
checkOverflow: as,
|
|
1712
|
+
classes: ls
|
|
1713
1713
|
}, Je = {};
|
|
1714
1714
|
class te {
|
|
1715
1715
|
static extendedDefaults;
|
|
@@ -1724,7 +1724,7 @@ class te {
|
|
|
1724
1724
|
}), d;
|
|
1725
1725
|
}
|
|
1726
1726
|
const n = this;
|
|
1727
|
-
n.__swiper__ = !0, n.support =
|
|
1727
|
+
n.__swiper__ = !0, n.support = yt(), n.device = bt({ userAgent: a.userAgent ?? void 0 }), n.browser = At(), n.eventsListeners = {}, n.eventsAnyListeners = [], n.modules = [...n.__modules__ || []], a.modules && Array.isArray(a.modules) && a.modules.forEach((d) => {
|
|
1728
1728
|
const l = d;
|
|
1729
1729
|
typeof l == "function" && n.modules.indexOf(l) < 0 && n.modules.push(l);
|
|
1730
1730
|
});
|
|
@@ -1733,14 +1733,14 @@ class te {
|
|
|
1733
1733
|
d({
|
|
1734
1734
|
params: a,
|
|
1735
1735
|
swiper: n,
|
|
1736
|
-
extendParams:
|
|
1736
|
+
extendParams: Is(a, i),
|
|
1737
1737
|
on: n.on.bind(n),
|
|
1738
1738
|
once: n.once.bind(n),
|
|
1739
1739
|
off: n.off.bind(n),
|
|
1740
1740
|
emit: n.emit.bind(n)
|
|
1741
1741
|
});
|
|
1742
1742
|
});
|
|
1743
|
-
const u = se({},
|
|
1743
|
+
const u = se({}, xt, i);
|
|
1744
1744
|
if (n.params = se({}, u, Je, a), n.originalParams = se({}, n.params), n.passedParams = se({}, a), n.params && n.params.on) {
|
|
1745
1745
|
const d = n.params.on;
|
|
1746
1746
|
Object.keys(d).forEach((l) => {
|
|
@@ -1989,7 +1989,7 @@ class te {
|
|
|
1989
1989
|
return !1;
|
|
1990
1990
|
const a = t ?? s.params.el;
|
|
1991
1991
|
let n = null;
|
|
1992
|
-
if (typeof a == "string" ? n = document.querySelector(a) :
|
|
1992
|
+
if (typeof a == "string" ? n = document.querySelector(a) : $e(a) && (n = a), !n)
|
|
1993
1993
|
return !1;
|
|
1994
1994
|
n.swiper = s;
|
|
1995
1995
|
const i = n.parentNode;
|
|
@@ -2027,7 +2027,7 @@ class te {
|
|
|
2027
2027
|
i.complete && Qe(s, i);
|
|
2028
2028
|
});
|
|
2029
2029
|
}
|
|
2030
|
-
return s.initialized = !0,
|
|
2030
|
+
return s.initialized = !0, _t(s), s.emit("init"), s.emit("afterInit"), s;
|
|
2031
2031
|
}
|
|
2032
2032
|
/**
|
|
2033
2033
|
* Destroy slider instance and detach all events listeners
|
|
@@ -2042,7 +2042,7 @@ class te {
|
|
|
2042
2042
|
l.classList.remove(n.slideVisibleClass, n.slideFullyVisibleClass, n.slideActiveClass, n.slideNextClass, n.slidePrevClass), l.removeAttribute("style"), l.removeAttribute("data-swiper-slide-index");
|
|
2043
2043
|
})), a.emit("destroy"), Object.keys(a.eventsListeners).forEach((l) => {
|
|
2044
2044
|
a.off(l);
|
|
2045
|
-
}), t !== !1 && (a.el && typeof a.el != "string" && (a.el.swiper = null),
|
|
2045
|
+
}), t !== !1 && (a.el && typeof a.el != "string" && (a.el.swiper = null), Vt(a)), a.destroyed = !0), null;
|
|
2046
2046
|
}
|
|
2047
2047
|
static extendDefaults(t) {
|
|
2048
2048
|
se(Je, t);
|
|
@@ -2063,18 +2063,18 @@ Object.defineProperty(te, "extendedDefaults", {
|
|
|
2063
2063
|
});
|
|
2064
2064
|
Object.defineProperty(te, "defaults", {
|
|
2065
2065
|
get() {
|
|
2066
|
-
return
|
|
2066
|
+
return xt;
|
|
2067
2067
|
}
|
|
2068
2068
|
});
|
|
2069
|
-
const
|
|
2070
|
-
Object.keys(
|
|
2071
|
-
const t =
|
|
2069
|
+
const ct = ra, la = te.prototype;
|
|
2070
|
+
Object.keys(ct).forEach((e) => {
|
|
2071
|
+
const t = ct[e];
|
|
2072
2072
|
Object.keys(t).forEach((s) => {
|
|
2073
|
-
|
|
2073
|
+
la[s] = t[s];
|
|
2074
2074
|
});
|
|
2075
2075
|
});
|
|
2076
|
-
te.use([
|
|
2077
|
-
const
|
|
2076
|
+
te.use([Rs, Ps]);
|
|
2077
|
+
const oa = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
2078
2078
|
t({
|
|
2079
2079
|
virtual: {
|
|
2080
2080
|
enabled: !1,
|
|
@@ -2124,30 +2124,30 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2124
2124
|
const { slidesPerGroup: S, centeredSlides: g, slidesPerView: m, loop: v, initialSlide: y } = e.params;
|
|
2125
2125
|
if (h && !v && (y ?? 0) > 0)
|
|
2126
2126
|
return;
|
|
2127
|
-
const { addSlidesBefore: L, addSlidesAfter: A, slidesPerViewAutoSlideSize: O } = i(), { from: C, to:
|
|
2127
|
+
const { addSlidesBefore: L, addSlidesAfter: A, slidesPerViewAutoSlideSize: O } = i(), { from: C, to: $, slides: _, slidesGrid: b, offset: M } = e.virtual;
|
|
2128
2128
|
e.params.cssMode || e.updateActiveIndex();
|
|
2129
2129
|
const x = typeof E > "u" ? e.activeIndex || 0 : E;
|
|
2130
2130
|
let I;
|
|
2131
2131
|
e.rtlTranslate ? I = "right" : I = e.isHorizontal() ? "left" : "top";
|
|
2132
|
-
let
|
|
2132
|
+
let k;
|
|
2133
2133
|
if (m === "auto")
|
|
2134
2134
|
if (O) {
|
|
2135
2135
|
let W = e.size;
|
|
2136
|
-
W || (W = e.isHorizontal() ? e.el.getBoundingClientRect().width : e.el.getBoundingClientRect().height),
|
|
2136
|
+
W || (W = e.isHorizontal() ? e.el.getBoundingClientRect().width : e.el.getBoundingClientRect().height), k = Math.max(1, Math.ceil(W / O));
|
|
2137
2137
|
} else
|
|
2138
|
-
|
|
2138
|
+
k = 1;
|
|
2139
2139
|
else
|
|
2140
|
-
|
|
2140
|
+
k = m ?? 1;
|
|
2141
2141
|
const V = S ?? 1;
|
|
2142
2142
|
let j, P;
|
|
2143
|
-
g ? (j = Math.floor(
|
|
2143
|
+
g ? (j = Math.floor(k / 2) + V + A, P = Math.floor(k / 2) + V + L) : (j = k + (V - 1) + A, P = (v ? k : V) + L);
|
|
2144
2144
|
let z = x - P, G = x + j;
|
|
2145
2145
|
v || (z = Math.max(z, 0), G = Math.min(G, _.length - 1));
|
|
2146
|
-
let
|
|
2147
|
-
v && x >= P ? (z -= P, g || (
|
|
2146
|
+
let H = (e.slidesGrid[z] || 0) - (e.slidesGrid[0] || 0);
|
|
2147
|
+
v && x >= P ? (z -= P, g || (H += e.slidesGrid[0])) : v && x < P && (z = -P, g && (H += e.slidesGrid[0])), Object.assign(e.virtual, {
|
|
2148
2148
|
from: z,
|
|
2149
2149
|
to: G,
|
|
2150
|
-
offset:
|
|
2150
|
+
offset: H,
|
|
2151
2151
|
slidesGrid: e.slidesGrid,
|
|
2152
2152
|
slidesBefore: P,
|
|
2153
2153
|
slidesAfter: j
|
|
@@ -2155,9 +2155,9 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2155
2155
|
function q() {
|
|
2156
2156
|
e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), a("virtualUpdate");
|
|
2157
2157
|
}
|
|
2158
|
-
if (C === z &&
|
|
2159
|
-
e.slidesGrid !== b &&
|
|
2160
|
-
W.style.setProperty(I, `${
|
|
2158
|
+
if (C === z && $ === G && !r) {
|
|
2159
|
+
e.slidesGrid !== b && H !== M && e.slides.forEach((W) => {
|
|
2160
|
+
W.style.setProperty(I, `${H - Math.abs(e.cssOverflowAdjustment())}px`);
|
|
2161
2161
|
}), e.updateProgress(), a("virtualUpdate");
|
|
2162
2162
|
return;
|
|
2163
2163
|
}
|
|
@@ -2167,7 +2167,7 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2167
2167
|
for (let U = z; U <= G; U += 1)
|
|
2168
2168
|
W.push(_[U]);
|
|
2169
2169
|
w.renderExternal.call(e, {
|
|
2170
|
-
offset:
|
|
2170
|
+
offset: H,
|
|
2171
2171
|
from: z,
|
|
2172
2172
|
to: G,
|
|
2173
2173
|
slides: W
|
|
@@ -2183,18 +2183,18 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2183
2183
|
W.remove();
|
|
2184
2184
|
});
|
|
2185
2185
|
else
|
|
2186
|
-
for (let W = C; W <=
|
|
2186
|
+
for (let W = C; W <= $; W += 1)
|
|
2187
2187
|
if (W < z || W > G) {
|
|
2188
2188
|
const U = B(W);
|
|
2189
2189
|
e.slides.filter((J) => J.matches(`.${e.params.slideClass}[data-swiper-slide-index="${U}"], swiper-slide[data-swiper-slide-index="${U}"]`)).forEach((J) => {
|
|
2190
2190
|
J.remove();
|
|
2191
2191
|
});
|
|
2192
2192
|
}
|
|
2193
|
-
const K = v ? -_.length : 0,
|
|
2194
|
-
for (let W = K; W <
|
|
2193
|
+
const K = v ? -_.length : 0, re = v ? _.length * 2 : _.length;
|
|
2194
|
+
for (let W = K; W < re; W += 1)
|
|
2195
2195
|
if (W >= z && W <= G) {
|
|
2196
2196
|
const U = B(W);
|
|
2197
|
-
typeof
|
|
2197
|
+
typeof $ > "u" || r ? N.push(U) : (W > $ && N.push(U), W < C && R.push(U));
|
|
2198
2198
|
}
|
|
2199
2199
|
if (N.forEach((W) => {
|
|
2200
2200
|
e.slidesEl.append(l(_[W], W));
|
|
@@ -2208,7 +2208,7 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2208
2208
|
e.slidesEl.prepend(l(_[W], W));
|
|
2209
2209
|
});
|
|
2210
2210
|
Q(e.slidesEl, ".swiper-slide, swiper-slide").forEach((W) => {
|
|
2211
|
-
W.style.setProperty(I, `${
|
|
2211
|
+
W.style.setProperty(I, `${H - Math.abs(e.cssOverflowAdjustment())}px`);
|
|
2212
2212
|
}), q();
|
|
2213
2213
|
}
|
|
2214
2214
|
function c(r) {
|
|
@@ -2286,7 +2286,7 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2286
2286
|
removeAllSlides: o,
|
|
2287
2287
|
update: p
|
|
2288
2288
|
});
|
|
2289
|
-
},
|
|
2289
|
+
}, da = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
2290
2290
|
t({
|
|
2291
2291
|
keyboard: {
|
|
2292
2292
|
enabled: !1,
|
|
@@ -2313,7 +2313,7 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2313
2313
|
let L = !1;
|
|
2314
2314
|
if (me(e.el, `.${e.params.slideClass}, swiper-slide`).length > 0 && me(e.el, `.${e.params.slideActiveClass}`).length === 0)
|
|
2315
2315
|
return;
|
|
2316
|
-
const A = e.el, O = A.clientWidth, C = A.clientHeight,
|
|
2316
|
+
const A = e.el, O = A.clientWidth, C = A.clientHeight, $ = window.innerWidth, _ = window.innerHeight, b = ze(A);
|
|
2317
2317
|
p && (b.left -= A.scrollLeft);
|
|
2318
2318
|
const M = [
|
|
2319
2319
|
[b.left, b.top],
|
|
@@ -2323,7 +2323,7 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2323
2323
|
];
|
|
2324
2324
|
for (let x = 0; x < M.length; x += 1) {
|
|
2325
2325
|
const I = M[x];
|
|
2326
|
-
if (I[0] >= 0 && I[0] <=
|
|
2326
|
+
if (I[0] >= 0 && I[0] <= $ && I[1] >= 0 && I[1] <= _) {
|
|
2327
2327
|
if (I[0] === 0 && I[1] === 0)
|
|
2328
2328
|
continue;
|
|
2329
2329
|
L = !0;
|
|
@@ -2350,7 +2350,7 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2350
2350
|
}), s("destroy", () => {
|
|
2351
2351
|
e.keyboard.enabled && d();
|
|
2352
2352
|
});
|
|
2353
|
-
},
|
|
2353
|
+
}, ca = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
2354
2354
|
t({
|
|
2355
2355
|
mousewheel: {
|
|
2356
2356
|
enabled: !1,
|
|
@@ -2371,11 +2371,11 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2371
2371
|
}
|
|
2372
2372
|
function c(m) {
|
|
2373
2373
|
const A = m;
|
|
2374
|
-
let O = 0, C = 0,
|
|
2375
|
-
return A.detail !== void 0 && (C = A.detail), A.wheelDelta !== void 0 && (C = -A.wheelDelta / 120), A.wheelDeltaY !== void 0 && (C = -A.wheelDeltaY / 120), A.wheelDeltaX !== void 0 && (O = -A.wheelDeltaX / 120), A.axis !== void 0 && A.HORIZONTAL_AXIS !== void 0 && A.axis === A.HORIZONTAL_AXIS && (O = C, C = 0),
|
|
2374
|
+
let O = 0, C = 0, $ = 0, _ = 0;
|
|
2375
|
+
return A.detail !== void 0 && (C = A.detail), A.wheelDelta !== void 0 && (C = -A.wheelDelta / 120), A.wheelDeltaY !== void 0 && (C = -A.wheelDeltaY / 120), A.wheelDeltaX !== void 0 && (O = -A.wheelDeltaX / 120), A.axis !== void 0 && A.HORIZONTAL_AXIS !== void 0 && A.axis === A.HORIZONTAL_AXIS && (O = C, C = 0), $ = O * 10, _ = C * 10, A.deltaY !== void 0 && (_ = A.deltaY), A.deltaX !== void 0 && ($ = A.deltaX), A.shiftKey && !$ && ($ = _, _ = 0), ($ || _) && A.deltaMode && (A.deltaMode === 1 ? ($ *= 40, _ *= 40) : ($ *= 800, _ *= 800)), $ && !O && (O = $ < 1 ? -1 : 1), _ && !C && (C = _ < 1 ? -1 : 1), {
|
|
2376
2376
|
spinX: O,
|
|
2377
2377
|
spinY: C,
|
|
2378
|
-
pixelX:
|
|
2378
|
+
pixelX: $,
|
|
2379
2379
|
pixelY: _
|
|
2380
2380
|
};
|
|
2381
2381
|
}
|
|
@@ -2412,11 +2412,11 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2412
2412
|
if (!d && !O && !L.releaseOnEdges)
|
|
2413
2413
|
return !0;
|
|
2414
2414
|
let C = 0;
|
|
2415
|
-
const
|
|
2415
|
+
const $ = e.rtlTranslate ? -1 : 1, _ = c(v);
|
|
2416
2416
|
if (L.forceToAxis)
|
|
2417
2417
|
if (e.isHorizontal())
|
|
2418
2418
|
if (Math.abs(_.pixelX) > Math.abs(_.pixelY))
|
|
2419
|
-
C = -_.pixelX *
|
|
2419
|
+
C = -_.pixelX * $;
|
|
2420
2420
|
else
|
|
2421
2421
|
return !0;
|
|
2422
2422
|
else if (Math.abs(_.pixelY) > Math.abs(_.pixelX))
|
|
@@ -2424,7 +2424,7 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2424
2424
|
else
|
|
2425
2425
|
return !0;
|
|
2426
2426
|
else
|
|
2427
|
-
C = Math.abs(_.pixelX) > Math.abs(_.pixelY) ? -_.pixelX *
|
|
2427
|
+
C = Math.abs(_.pixelX) > Math.abs(_.pixelY) ? -_.pixelX * $ : -_.pixelY;
|
|
2428
2428
|
if (C === 0)
|
|
2429
2429
|
return !0;
|
|
2430
2430
|
L.invert && (C = -C);
|
|
@@ -2450,9 +2450,9 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2450
2450
|
}, I = u && x.time < u.time + 500 && x.delta <= u.delta && x.direction === u.direction;
|
|
2451
2451
|
if (!I) {
|
|
2452
2452
|
u = void 0;
|
|
2453
|
-
let
|
|
2453
|
+
let k = e.getTranslate() + C * (L.sensitivity ?? 1);
|
|
2454
2454
|
const V = e.isBeginning, j = e.isEnd;
|
|
2455
|
-
if (
|
|
2455
|
+
if (k >= e.minTranslate() && (k = e.minTranslate()), k <= e.maxTranslate() && (k = e.maxTranslate()), e.setTransition(0), e.setTranslate(k), e.updateProgress(), e.updateActiveIndex(), e.updateSlidesClasses(), (!V && e.isBeginning || !j && e.isEnd) && e.updateSlidesClasses(), e.params.loop && e.loopFix({
|
|
2456
2456
|
direction: x.direction < 0 ? "next" : "prev",
|
|
2457
2457
|
byMousewheel: !0
|
|
2458
2458
|
}), M?.sticky) {
|
|
@@ -2461,21 +2461,21 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2461
2461
|
if (l.push(x), z && (x.delta > z.delta || x.direction !== z.direction))
|
|
2462
2462
|
l.splice(0);
|
|
2463
2463
|
else if (l.length >= 15 && G && x.time - G.time < 500 && G.delta - x.delta >= 1 && x.delta <= 6) {
|
|
2464
|
-
const
|
|
2464
|
+
const H = C > 0 ? 0.8 : 0.2;
|
|
2465
2465
|
u = x, l.splice(0), n = Se(() => {
|
|
2466
|
-
e.destroyed || !e.params || e.slideToClosest(e.params.speed, !0, void 0,
|
|
2466
|
+
e.destroyed || !e.params || e.slideToClosest(e.params.speed, !0, void 0, H);
|
|
2467
2467
|
}, 0);
|
|
2468
2468
|
}
|
|
2469
2469
|
n || (n = Se(() => {
|
|
2470
2470
|
if (e.destroyed || !e.params)
|
|
2471
2471
|
return;
|
|
2472
|
-
const
|
|
2473
|
-
u = x, l.splice(0), e.slideToClosest(e.params.speed, !0, void 0,
|
|
2472
|
+
const H = 0.5;
|
|
2473
|
+
u = x, l.splice(0), e.slideToClosest(e.params.speed, !0, void 0, H);
|
|
2474
2474
|
}, 500));
|
|
2475
2475
|
}
|
|
2476
2476
|
I || a("scroll", v);
|
|
2477
2477
|
const P = e.params.autoplay;
|
|
2478
|
-
if (e.params.autoplay && P?.disableOnInteraction && e.autoplay.stop(), L.releaseOnEdges && (
|
|
2478
|
+
if (e.params.autoplay && P?.disableOnInteraction && e.autoplay.stop(), L.releaseOnEdges && (k === e.minTranslate() || k === e.maxTranslate()))
|
|
2479
2479
|
return !0;
|
|
2480
2480
|
}
|
|
2481
2481
|
}
|
|
@@ -2503,7 +2503,7 @@ const ra = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
|
2503
2503
|
e.params.cssMode && S(), e.mousewheel.enabled && g();
|
|
2504
2504
|
});
|
|
2505
2505
|
};
|
|
2506
|
-
function
|
|
2506
|
+
function nt(e, t, s, a) {
|
|
2507
2507
|
const n = s ?? {}, i = t ?? {};
|
|
2508
2508
|
return e.params.createElements && Object.keys(a).forEach((u) => {
|
|
2509
2509
|
if (!n[u] && n.auto === !0) {
|
|
@@ -2512,7 +2512,7 @@ function st(e, t, s, a) {
|
|
|
2512
2512
|
}
|
|
2513
2513
|
}), n;
|
|
2514
2514
|
}
|
|
2515
|
-
const
|
|
2515
|
+
const ft = '<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0.28 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>', fa = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
2516
2516
|
t({
|
|
2517
2517
|
navigation: {
|
|
2518
2518
|
nextEl: null,
|
|
@@ -2527,7 +2527,7 @@ const dt = '<svg class="swiper-navigation-icon" width="11" height="20" viewBox="
|
|
|
2527
2527
|
}), e.navigation = {
|
|
2528
2528
|
nextEl: null,
|
|
2529
2529
|
prevEl: null,
|
|
2530
|
-
arrowSvg:
|
|
2530
|
+
arrowSvg: ft
|
|
2531
2531
|
};
|
|
2532
2532
|
function n() {
|
|
2533
2533
|
return e.params.navigation;
|
|
@@ -2557,7 +2557,7 @@ const dt = '<svg class="swiper-navigation-icon" width="11" height="20" viewBox="
|
|
|
2557
2557
|
r.preventDefault(), !(e.isEnd && !e.params.loop && !e.params.rewind) && (e.slideNext(), a("navigationNext"));
|
|
2558
2558
|
}
|
|
2559
2559
|
function c() {
|
|
2560
|
-
e.params.navigation =
|
|
2560
|
+
e.params.navigation = nt(e, e.originalParams.navigation, e.params.navigation, {
|
|
2561
2561
|
nextEl: "swiper-button-next",
|
|
2562
2562
|
prevEl: "swiper-button-prev"
|
|
2563
2563
|
});
|
|
@@ -2573,7 +2573,7 @@ const dt = '<svg class="swiper-navigation-icon" width="11" height="20" viewBox="
|
|
|
2573
2573
|
if (v) {
|
|
2574
2574
|
if (r.addIcons && v.matches(".swiper-button-next,.swiper-button-prev") && !v.querySelector("svg")) {
|
|
2575
2575
|
const L = document.createElement("div");
|
|
2576
|
-
le(L,
|
|
2576
|
+
le(L, ft);
|
|
2577
2577
|
const A = L.querySelector("svg");
|
|
2578
2578
|
A && v.appendChild(A), L.remove();
|
|
2579
2579
|
}
|
|
@@ -2634,12 +2634,12 @@ const dt = '<svg class="swiper-navigation-icon" width="11" height="20" viewBox="
|
|
|
2634
2634
|
function de(e = "") {
|
|
2635
2635
|
return `.${e.trim().replace(/([.:!+/()[\]#>~*^$|=,'"@{}\\])/g, "\\$1").replace(/ /g, ".")}`;
|
|
2636
2636
|
}
|
|
2637
|
-
const
|
|
2638
|
-
if (
|
|
2637
|
+
const ua = (e) => !!e.virtual && !!e.params.virtual?.enabled, pa = (e) => !!e.params.freeMode?.enabled, ut = (e) => {
|
|
2638
|
+
if (ua(e))
|
|
2639
2639
|
return e.virtual.slides.length;
|
|
2640
2640
|
const t = e.params.grid?.rows;
|
|
2641
2641
|
return e.grid && t && t > 1 ? e.slides.length / Math.ceil(t) : e.slides.length;
|
|
2642
|
-
},
|
|
2642
|
+
}, ma = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
2643
2643
|
const n = "swiper-pagination";
|
|
2644
2644
|
t({
|
|
2645
2645
|
pagination: {
|
|
@@ -2716,16 +2716,16 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
2716
2716
|
return;
|
|
2717
2717
|
const v = X(e.pagination.el);
|
|
2718
2718
|
let y, L;
|
|
2719
|
-
const A =
|
|
2719
|
+
const A = ut(e), O = e.params.loop ? Math.ceil(A / (e.params.slidesPerGroup ?? 1)) : e.snapGrid.length;
|
|
2720
2720
|
if (e.params.loop ? (L = e.previousRealIndex || 0, y = (e.params.slidesPerGroup ?? 1) > 1 ? Math.floor(e.realIndex / (e.params.slidesPerGroup ?? 1)) : e.realIndex) : typeof e.snapIndex < "u" ? (y = e.snapIndex, L = e.previousSnapIndex) : (L = e.previousIndex || 0, y = e.activeIndex || 0), m.type === "bullets" && e.pagination.bullets && e.pagination.bullets.length > 0) {
|
|
2721
2721
|
const C = e.pagination.bullets;
|
|
2722
|
-
let
|
|
2722
|
+
let $ = 0, _ = 0, b = 0;
|
|
2723
2723
|
if (m.dynamicBullets) {
|
|
2724
2724
|
i = Ze(C[0], e.isHorizontal() ? "width" : "height");
|
|
2725
2725
|
const M = e.isHorizontal() ? "width" : "height";
|
|
2726
2726
|
v.forEach((x) => {
|
|
2727
2727
|
x.style[M] = `${(i ?? 0) * (m.dynamicMainBullets + 4)}px`;
|
|
2728
|
-
}), m.dynamicMainBullets > 1 && L !== void 0 && (u += y - (L || 0), u > m.dynamicMainBullets - 1 ? u = m.dynamicMainBullets - 1 : u < 0 && (u = 0)),
|
|
2728
|
+
}), m.dynamicMainBullets > 1 && L !== void 0 && (u += y - (L || 0), u > m.dynamicMainBullets - 1 ? u = m.dynamicMainBullets - 1 : u < 0 && (u = 0)), $ = Math.max(y - u, 0), _ = $ + (Math.min(C.length, m.dynamicMainBullets) - 1), b = (_ + $) / 2;
|
|
2729
2729
|
}
|
|
2730
2730
|
if (C.forEach((M) => {
|
|
2731
2731
|
const x = [
|
|
@@ -2740,27 +2740,27 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
2740
2740
|
}), v.length > 1)
|
|
2741
2741
|
C.forEach((M) => {
|
|
2742
2742
|
const x = Le(M);
|
|
2743
|
-
x === y ? M.classList.add(...m.bulletActiveClass.split(" ")) : e.isElement && M.setAttribute("part", "bullet"), m.dynamicBullets && x !== void 0 && (x >=
|
|
2743
|
+
x === y ? M.classList.add(...m.bulletActiveClass.split(" ")) : e.isElement && M.setAttribute("part", "bullet"), m.dynamicBullets && x !== void 0 && (x >= $ && x <= _ && M.classList.add(...`${m.bulletActiveClass}-main`.split(" ")), x === $ && p(M, "prev"), x === _ && p(M, "next"));
|
|
2744
2744
|
});
|
|
2745
2745
|
else {
|
|
2746
2746
|
const M = C[y];
|
|
2747
2747
|
if (M && M.classList.add(...m.bulletActiveClass.split(" ")), e.isElement && C.forEach((x, I) => {
|
|
2748
2748
|
x.setAttribute("part", I === y ? "bullet-active" : "bullet");
|
|
2749
2749
|
}), m.dynamicBullets) {
|
|
2750
|
-
const x = C[
|
|
2751
|
-
for (let
|
|
2752
|
-
C[
|
|
2750
|
+
const x = C[$], I = C[_];
|
|
2751
|
+
for (let k = $; k <= _; k += 1)
|
|
2752
|
+
C[k] && C[k].classList.add(...`${m.bulletActiveClass}-main`.split(" "));
|
|
2753
2753
|
p(x, "prev"), p(I, "next");
|
|
2754
2754
|
}
|
|
2755
2755
|
}
|
|
2756
2756
|
if (m.dynamicBullets) {
|
|
2757
|
-
const M = Math.min(C.length, m.dynamicMainBullets + 4), x = ((i ?? 0) * M - (i ?? 0)) / 2 - b * (i ?? 0), I = g ? "right" : "left",
|
|
2757
|
+
const M = Math.min(C.length, m.dynamicMainBullets + 4), x = ((i ?? 0) * M - (i ?? 0)) / 2 - b * (i ?? 0), I = g ? "right" : "left", k = e.isHorizontal() ? I : "top";
|
|
2758
2758
|
C.forEach((V) => {
|
|
2759
|
-
V.style[
|
|
2759
|
+
V.style[k] = `${x}px`;
|
|
2760
2760
|
});
|
|
2761
2761
|
}
|
|
2762
2762
|
}
|
|
2763
|
-
v.forEach((C,
|
|
2763
|
+
v.forEach((C, $) => {
|
|
2764
2764
|
if (m.type === "fraction" && (C.querySelectorAll(de(m.currentClass)).forEach((_) => {
|
|
2765
2765
|
_.textContent = String(m.formatFractionCurrent(y + 1));
|
|
2766
2766
|
}), C.querySelectorAll(de(m.totalClass)).forEach((_) => {
|
|
@@ -2774,18 +2774,18 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
2774
2774
|
I.style.transform = `translate3d(0,0,0) scaleX(${M}) scaleY(${x})`, I.style.transitionDuration = `${e.params.speed}ms`;
|
|
2775
2775
|
});
|
|
2776
2776
|
}
|
|
2777
|
-
m.type === "custom" && m.renderCustom ? (le(C, m.renderCustom(e, y + 1, O)),
|
|
2777
|
+
m.type === "custom" && m.renderCustom ? (le(C, m.renderCustom(e, y + 1, O)), $ === 0 && a("paginationRender", C)) : ($ === 0 && a("paginationRender", C), a("paginationUpdate", C)), e.params.watchOverflow && e.enabled && C.classList[e.isLocked ? "add" : "remove"](m.lockClass);
|
|
2778
2778
|
});
|
|
2779
2779
|
}
|
|
2780
2780
|
function o() {
|
|
2781
2781
|
const g = d();
|
|
2782
2782
|
if (l())
|
|
2783
2783
|
return;
|
|
2784
|
-
const m =
|
|
2784
|
+
const m = ut(e), v = X(e.pagination.el);
|
|
2785
2785
|
let y = "";
|
|
2786
2786
|
if (g.type === "bullets") {
|
|
2787
2787
|
let L = e.params.loop ? Math.ceil(m / (e.params.slidesPerGroup ?? 1)) : e.snapGrid.length;
|
|
2788
|
-
e.params.freeMode &&
|
|
2788
|
+
e.params.freeMode && pa(e) && L > m && (L = m);
|
|
2789
2789
|
for (let A = 0; A < L; A += 1)
|
|
2790
2790
|
g.renderBullet ? y += g.renderBullet.call(e, A, g.bulletClass) : y += `<${g.bulletElement} ${e.isElement ? 'part="bullet"' : ""} class="${g.bulletClass}"></${g.bulletElement}>`;
|
|
2791
2791
|
}
|
|
@@ -2794,7 +2794,7 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
2794
2794
|
}), g.type !== "custom" && a("paginationRender", v[0]);
|
|
2795
2795
|
}
|
|
2796
2796
|
function r() {
|
|
2797
|
-
e.params.pagination =
|
|
2797
|
+
e.params.pagination = nt(e, e.originalParams.pagination, e.params.pagination, { el: "swiper-pagination" });
|
|
2798
2798
|
const g = d();
|
|
2799
2799
|
if (!g.el)
|
|
2800
2800
|
return;
|
|
@@ -2873,7 +2873,7 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
2873
2873
|
init: r,
|
|
2874
2874
|
destroy: h
|
|
2875
2875
|
});
|
|
2876
|
-
},
|
|
2876
|
+
}, ha = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
2877
2877
|
let n = !1, i = null, u = null, d = 0, l = 0, p = 0, c = 0;
|
|
2878
2878
|
t({
|
|
2879
2879
|
scrollbar: {
|
|
@@ -2897,8 +2897,8 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
2897
2897
|
}
|
|
2898
2898
|
function T() {
|
|
2899
2899
|
const { rtlTranslate: b } = e, { dragEl: M } = e.scrollbar, x = e.params.loop ? e.progressLoop ?? 0 : e.progress;
|
|
2900
|
-
let I = l,
|
|
2901
|
-
b ? (
|
|
2900
|
+
let I = l, k = (p - l) * x;
|
|
2901
|
+
b ? (k = -k, k > 0 ? (I = l - k, k = 0) : -k + l > p && (I = p + k)) : k < 0 ? (I = l + k, k = 0) : k + l > p && (I = p - k), e.isHorizontal() ? (M.style.transform = `translate3d(${k}px, 0, 0)`, M.style.width = `${I}px`) : (M.style.transform = `translate3d(0px, ${k}px, 0)`, M.style.height = `${I}px`);
|
|
2902
2902
|
}
|
|
2903
2903
|
function o() {
|
|
2904
2904
|
const b = f();
|
|
@@ -2924,31 +2924,31 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
2924
2924
|
}
|
|
2925
2925
|
function S(b) {
|
|
2926
2926
|
const { scrollbar: M, rtlTranslate: x } = e, { el: I } = M;
|
|
2927
|
-
let
|
|
2928
|
-
|
|
2929
|
-
const V = e.minTranslate() + (e.maxTranslate() - e.minTranslate()) *
|
|
2927
|
+
let k;
|
|
2928
|
+
k = (E(b) - ze(I)[e.isHorizontal() ? "left" : "top"] - (d !== null ? d : l / 2)) / (p - l), k = Math.max(Math.min(k, 1), 0), x && (k = 1 - k);
|
|
2929
|
+
const V = e.minTranslate() + (e.maxTranslate() - e.minTranslate()) * k;
|
|
2930
2930
|
e.updateProgress(V), e.setTranslate(V), e.updateActiveIndex(), e.updateSlidesClasses();
|
|
2931
2931
|
}
|
|
2932
2932
|
function g(b) {
|
|
2933
|
-
const M = f(), { scrollbar: x, wrapperEl: I } = e, { el:
|
|
2934
|
-
n = !0, d = b.target === V ? E(b) - b.target.getBoundingClientRect()[e.isHorizontal() ? "left" : "top"] : null, b.preventDefault(), b.stopPropagation(), I.style.transitionDuration = "100ms", V.style.transitionDuration = "100ms", S(b), u && clearTimeout(u),
|
|
2933
|
+
const M = f(), { scrollbar: x, wrapperEl: I } = e, { el: k, dragEl: V } = x;
|
|
2934
|
+
n = !0, d = b.target === V ? E(b) - b.target.getBoundingClientRect()[e.isHorizontal() ? "left" : "top"] : null, b.preventDefault(), b.stopPropagation(), I.style.transitionDuration = "100ms", V.style.transitionDuration = "100ms", S(b), u && clearTimeout(u), k.style.transitionDuration = "0ms", M.hide && (k.style.opacity = "1"), e.params.cssMode && (e.wrapperEl.style.scrollSnapType = "none"), a("scrollbarDragStart", b);
|
|
2935
2935
|
}
|
|
2936
2936
|
function m(b) {
|
|
2937
|
-
const { scrollbar: M, wrapperEl: x } = e, { el: I, dragEl:
|
|
2938
|
-
n && (b.cancelable && b.preventDefault(), S(b), x.style.transitionDuration = "0ms", I.style.transitionDuration = "0ms",
|
|
2937
|
+
const { scrollbar: M, wrapperEl: x } = e, { el: I, dragEl: k } = M;
|
|
2938
|
+
n && (b.cancelable && b.preventDefault(), S(b), x.style.transitionDuration = "0ms", I.style.transitionDuration = "0ms", k.style.transitionDuration = "0ms", a("scrollbarDragMove", b));
|
|
2939
2939
|
}
|
|
2940
2940
|
function v(b) {
|
|
2941
|
-
const M = f(), { scrollbar: x, wrapperEl: I } = e, { el:
|
|
2941
|
+
const M = f(), { scrollbar: x, wrapperEl: I } = e, { el: k } = x;
|
|
2942
2942
|
n && (n = !1, e.params.cssMode && (e.wrapperEl.style.scrollSnapType = "", I.style.transitionDuration = ""), M.hide && (u && clearTimeout(u), u = Se(() => {
|
|
2943
|
-
|
|
2943
|
+
k.style.opacity = "0", k.style.transitionDuration = "400ms";
|
|
2944
2944
|
}, 1e3)), a("scrollbarDragEnd", b), M.snapOnRelease && e.slideToClosest());
|
|
2945
2945
|
}
|
|
2946
2946
|
function y(b) {
|
|
2947
2947
|
const { scrollbar: M, params: x } = e, I = M.el;
|
|
2948
2948
|
if (!I)
|
|
2949
2949
|
return;
|
|
2950
|
-
const
|
|
2951
|
-
I[j]("pointerdown", g,
|
|
2950
|
+
const k = x.passiveListeners ? { passive: !1, capture: !1 } : !1, V = x.passiveListeners ? { passive: !0, capture: !1 } : !1, j = b === "on" ? "addEventListener" : "removeEventListener";
|
|
2951
|
+
I[j]("pointerdown", g, k), document[j]("pointermove", m, k), document[j]("pointerup", v, V);
|
|
2952
2952
|
}
|
|
2953
2953
|
function L() {
|
|
2954
2954
|
!f().el || !e.scrollbar.el || y("on");
|
|
@@ -2958,7 +2958,7 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
2958
2958
|
}
|
|
2959
2959
|
function O() {
|
|
2960
2960
|
const { scrollbar: b, el: M } = e;
|
|
2961
|
-
e.params.scrollbar =
|
|
2961
|
+
e.params.scrollbar = nt(e, e.originalParams.scrollbar, e.params.scrollbar, { el: "swiper-scrollbar" });
|
|
2962
2962
|
const x = f();
|
|
2963
2963
|
if (!x.el)
|
|
2964
2964
|
return;
|
|
@@ -2968,13 +2968,13 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
2968
2968
|
return;
|
|
2969
2969
|
} else I || (I = x.el);
|
|
2970
2970
|
e.params.uniqueNavElements && typeof x.el == "string" && I.length > 1 && M.querySelectorAll(x.el).length === 1 && (I = M.querySelector(x.el)), I.length > 0 && (I = I[0]);
|
|
2971
|
-
const
|
|
2972
|
-
|
|
2971
|
+
const k = I;
|
|
2972
|
+
k.classList.add(e.isHorizontal() ? x.horizontalClass : x.verticalClass);
|
|
2973
2973
|
let V = null;
|
|
2974
|
-
|
|
2975
|
-
el:
|
|
2974
|
+
k && (V = k.querySelector(de(x.dragClass)), V || (V = ne("div", x.dragClass), k.append(V))), Object.assign(b, {
|
|
2975
|
+
el: k,
|
|
2976
2976
|
dragEl: V
|
|
2977
|
-
}), x.draggable && L(),
|
|
2977
|
+
}), x.draggable && L(), k && k.classList[e.enabled ? "remove" : "add"](...fe(x.lockClass));
|
|
2978
2978
|
}
|
|
2979
2979
|
function C() {
|
|
2980
2980
|
const b = f(), M = e.scrollbar.el;
|
|
@@ -3001,7 +3001,7 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
3001
3001
|
}), s("destroy", () => {
|
|
3002
3002
|
C();
|
|
3003
3003
|
});
|
|
3004
|
-
const
|
|
3004
|
+
const $ = () => {
|
|
3005
3005
|
const b = f();
|
|
3006
3006
|
e.el.classList.remove(...fe(b.scrollbarDisabledClass)), e.scrollbar.el && e.scrollbar.el.classList.remove(...fe(b.scrollbarDisabledClass)), O(), h(), o();
|
|
3007
3007
|
}, _ = () => {
|
|
@@ -3009,14 +3009,14 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
3009
3009
|
e.el.classList.add(...fe(b.scrollbarDisabledClass)), e.scrollbar.el && e.scrollbar.el.classList.add(...fe(b.scrollbarDisabledClass)), C();
|
|
3010
3010
|
};
|
|
3011
3011
|
Object.assign(e.scrollbar, {
|
|
3012
|
-
enable:
|
|
3012
|
+
enable: $,
|
|
3013
3013
|
disable: _,
|
|
3014
3014
|
updateSize: h,
|
|
3015
3015
|
setTranslate: o,
|
|
3016
3016
|
init: O,
|
|
3017
3017
|
destroy: C
|
|
3018
3018
|
});
|
|
3019
|
-
},
|
|
3019
|
+
}, ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
3020
3020
|
t({
|
|
3021
3021
|
parallax: {
|
|
3022
3022
|
enabled: !1
|
|
@@ -3070,7 +3070,7 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
3070
3070
|
}), s("setTransition", (l, p) => {
|
|
3071
3071
|
a().enabled && d(p);
|
|
3072
3072
|
});
|
|
3073
|
-
},
|
|
3073
|
+
}, Ta = ({ swiper: e, extendParams: t, on: s, emit: a }) => {
|
|
3074
3074
|
t({
|
|
3075
3075
|
zoom: {
|
|
3076
3076
|
enabled: !1,
|
|
@@ -3203,12 +3203,12 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
3203
3203
|
const R = n(), N = e.zoom, B = T.findIndex((K) => K.pointerId === w.pointerId);
|
|
3204
3204
|
B >= 0 && T.splice(B, 1), !(!c || !f) && (c = !1, f = !1, o.imageEl && (N.scale = Math.max(Math.min(N.scale, o.maxRatio), R.minRatio), o.imageEl.style.transitionDuration = `${e.params.speed}ms`, o.imageEl.style.transform = `translate3d(0,0,0) scale(${N.scale})`, i = N.scale, u = !1, N.scale > 1 && o.slideEl ? o.slideEl.classList.add(`${R.zoomedSlideClass}`) : N.scale <= 1 && o.slideEl && o.slideEl.classList.remove(`${R.zoomedSlideClass}`), N.scale === 1 && (o.originX = 0, o.originY = 0, o.slideEl = void 0)));
|
|
3205
3205
|
}
|
|
3206
|
-
let
|
|
3206
|
+
let $;
|
|
3207
3207
|
function _() {
|
|
3208
3208
|
e.touchEventsData.preventTouchMoveFromPointerMove = !1;
|
|
3209
3209
|
}
|
|
3210
3210
|
function b() {
|
|
3211
|
-
|
|
3211
|
+
$ !== void 0 && clearTimeout($), e.touchEventsData.preventTouchMoveFromPointerMove = !0, $ = setTimeout(() => {
|
|
3212
3212
|
e.destroyed || _();
|
|
3213
3213
|
});
|
|
3214
3214
|
}
|
|
@@ -3235,8 +3235,8 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
3235
3235
|
return;
|
|
3236
3236
|
}
|
|
3237
3237
|
r.isMoved || (r.width = o.imageEl.offsetWidth || o.imageEl.clientWidth, r.height = o.imageEl.offsetHeight || o.imageEl.clientHeight, r.startX = Ke(o.imageWrapEl, "x") || 0, r.startY = Ke(o.imageWrapEl, "y") || 0, o.slideWidth = o.slideEl.offsetWidth, o.slideHeight = o.slideEl.offsetHeight, o.imageWrapEl.style.transitionDuration = "0ms");
|
|
3238
|
-
const K = r.width * B.scale,
|
|
3239
|
-
r.minX = Math.min(o.slideWidth / 2 - K / 2, 0), r.maxX = -r.minX, r.minY = Math.min(o.slideHeight / 2 -
|
|
3238
|
+
const K = r.width * B.scale, re = r.height * B.scale;
|
|
3239
|
+
r.minX = Math.min(o.slideWidth / 2 - K / 2, 0), r.maxX = -r.minX, r.minY = Math.min(o.slideHeight / 2 - re / 2, 0), r.maxY = -r.minY, r.touchesCurrent.x = T.length > 0 ? T[0].pageX : w.pageX, r.touchesCurrent.y = T.length > 0 ? T[0].pageY : w.pageY, Math.max(Math.abs(r.touchesCurrent.x - (r.touchesStart.x ?? 0)), Math.abs(r.touchesCurrent.y - (r.touchesStart.y ?? 0))) > 5 && (e.allowClick = !1);
|
|
3240
3240
|
const U = r.startX ?? 0, J = r.startY ?? 0;
|
|
3241
3241
|
if (!r.isMoved && !u) {
|
|
3242
3242
|
if (e.isHorizontal() && (Math.floor(r.minX) === Math.floor(U) && r.touchesCurrent.x < (r.touchesStart.x ?? 0) || Math.floor(r.maxX) === Math.floor(U) && r.touchesCurrent.x > (r.touchesStart.x ?? 0))) {
|
|
@@ -3262,14 +3262,14 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
3262
3262
|
}
|
|
3263
3263
|
r.isTouched = !1, r.isMoved = !1;
|
|
3264
3264
|
let R = 300, N = 300;
|
|
3265
|
-
const B = h.x ?? 0, K = h.y ?? 0,
|
|
3265
|
+
const B = h.x ?? 0, K = h.y ?? 0, re = B * R, W = r.currentX + re, U = K * N, J = r.currentY + U;
|
|
3266
3266
|
B !== 0 && (R = Math.abs((W - r.currentX) / B)), K !== 0 && (N = Math.abs((J - r.currentY) / K));
|
|
3267
3267
|
const Z = Math.max(R, N);
|
|
3268
3268
|
r.currentX = W, r.currentY = J;
|
|
3269
3269
|
const ee = r.width * w.scale, oe = r.height * w.scale;
|
|
3270
3270
|
r.minX = Math.min(o.slideWidth / 2 - ee / 2, 0), r.maxX = -r.minX, r.minY = Math.min(o.slideHeight / 2 - oe / 2, 0), r.maxY = -r.minY, r.currentX = Math.max(Math.min(r.currentX, r.maxX), r.minX), r.currentY = Math.max(Math.min(r.currentY, r.maxY), r.minY), o.imageWrapEl.style.transitionDuration = `${Z}ms`, o.imageWrapEl.style.transform = `translate3d(${r.currentX}px, ${r.currentY}px,0)`;
|
|
3271
3271
|
}
|
|
3272
|
-
function
|
|
3272
|
+
function k() {
|
|
3273
3273
|
const w = e.zoom;
|
|
3274
3274
|
o.slideEl && e.activeIndex !== e.slides.indexOf(o.slideEl) && (o.imageEl && (o.imageEl.style.transform = "translate3d(0,0,0) scale(1)"), o.imageWrapEl && (o.imageWrapEl.style.transform = "translate3d(0,0,0)"), o.slideEl.classList.remove(`${n().zoomedSlideClass}`), w.scale = 1, i = 1, o.slideEl = void 0, o.imageEl = void 0, o.imageWrapEl = void 0, o.originX = 0, o.originY = 0);
|
|
3275
3275
|
}
|
|
@@ -3281,15 +3281,15 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
3281
3281
|
d = !0, l.x = w.clientX, l.y = w.clientY, r.startX = N.e, r.startY = N.f, r.width = o.imageEl.offsetWidth || o.imageEl.clientWidth, r.height = o.imageEl.offsetHeight || o.imageEl.clientHeight, o.slideWidth = o.slideEl.offsetWidth, o.slideHeight = o.slideEl.offsetHeight;
|
|
3282
3282
|
return;
|
|
3283
3283
|
}
|
|
3284
|
-
const B = (w.clientX - l.x) * p, K = (w.clientY - l.y) * p,
|
|
3284
|
+
const B = (w.clientX - l.x) * p, K = (w.clientY - l.y) * p, re = r.width * i, W = r.height * i, U = o.slideWidth, J = o.slideHeight, Z = Math.min(U / 2 - re / 2, 0), ee = -Z, oe = Math.min(J / 2 - W / 2, 0), Pe = -oe, ge = Math.max(Math.min(r.startX + B, ee), Z), Te = Math.max(Math.min(r.startY + K, Pe), oe);
|
|
3285
3285
|
o.imageWrapEl.style.transitionDuration = "0ms", o.imageWrapEl.style.transform = `translate3d(${ge}px, ${Te}px, 0)`, l.x = w.clientX, l.y = w.clientY, r.startX = ge, r.startY = Te, r.currentX = ge, r.currentY = Te;
|
|
3286
3286
|
}
|
|
3287
3287
|
function j(w) {
|
|
3288
3288
|
const R = e.zoom, N = n();
|
|
3289
3289
|
if (!o.slideEl) {
|
|
3290
3290
|
if (w && typeof w != "number" && "target" in w && w.target && (o.slideEl = w.target.closest(`.${e.params.slideClass}, swiper-slide`) ?? void 0), !o.slideEl) {
|
|
3291
|
-
const
|
|
3292
|
-
|
|
3291
|
+
const rt = e.params.virtual;
|
|
3292
|
+
rt && rt.enabled && e.virtual ? o.slideEl = Q(e.slidesEl, `.${e.params.slideActiveClass}`)[0] ?? void 0 : o.slideEl = e.slides[e.activeIndex];
|
|
3293
3293
|
}
|
|
3294
3294
|
let Ee = o.slideEl?.querySelector(`.${N.containerClass}`) ?? null;
|
|
3295
3295
|
Ee && (Ee = Ee.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0] ?? null), o.imageEl = Ee ?? void 0, Ee ? o.imageWrapEl = me(Ee, `.${N.containerClass}`)[0] ?? void 0 : o.imageWrapEl = void 0;
|
|
@@ -3297,13 +3297,13 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
3297
3297
|
if (!o.imageEl || !o.imageWrapEl || !o.slideEl)
|
|
3298
3298
|
return;
|
|
3299
3299
|
o.maxRatio = g(), e.params.cssMode && (e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.touchAction = "none"), o.slideEl.classList.add(`${N.zoomedSlideClass}`);
|
|
3300
|
-
let B, K,
|
|
3301
|
-
const
|
|
3302
|
-
typeof r.touchesStart.x > "u" &&
|
|
3300
|
+
let B, K, re, W, U, J, Z, ee, oe, Pe, ge, Te, Re, Oe, Ge, Be, He, Fe;
|
|
3301
|
+
const Ft = w && typeof w != "number";
|
|
3302
|
+
typeof r.touchesStart.x > "u" && Ft ? (B = w.pageX, K = w.pageY) : (B = r.touchesStart.x, K = r.touchesStart.y);
|
|
3303
3303
|
const Ve = i, ve = typeof w == "number" ? w : null;
|
|
3304
3304
|
i === 1 && ve && (B = void 0, K = void 0, r.touchesStart.x = void 0, r.touchesStart.y = void 0);
|
|
3305
|
-
const
|
|
3306
|
-
R.scale = ve ||
|
|
3305
|
+
const it = g();
|
|
3306
|
+
R.scale = ve || it, i = ve || it, w && !(i === 1 && ve) ? (He = o.slideEl.offsetWidth, Fe = o.slideEl.offsetHeight, re = ze(o.slideEl).left + window.scrollX, W = ze(o.slideEl).top + window.scrollY, U = re + He / 2 - (B ?? 0), J = W + Fe / 2 - (K ?? 0), oe = o.imageEl.offsetWidth || o.imageEl.clientWidth, Pe = o.imageEl.offsetHeight || o.imageEl.clientHeight, ge = oe * R.scale, Te = Pe * R.scale, Re = Math.min(He / 2 - ge / 2, 0), Oe = Math.min(Fe / 2 - Te / 2, 0), Ge = -Re, Be = -Oe, Ve > 0 && ve && typeof r.currentX == "number" && typeof r.currentY == "number" ? (Z = r.currentX * R.scale / Ve, ee = r.currentY * R.scale / Ve) : (Z = U * R.scale, ee = J * R.scale), Z < Re && (Z = Re), Z > Ge && (Z = Ge), ee < Oe && (ee = Oe), ee > Be && (ee = Be)) : (Z = 0, ee = 0), ve && R.scale === 1 && (o.originX = 0, o.originY = 0), r.currentX = Z, r.currentY = ee, o.imageWrapEl.style.transitionDuration = "300ms", o.imageWrapEl.style.transform = `translate3d(${Z}px, ${ee}px,0)`, o.imageEl.style.transitionDuration = "300ms", o.imageEl.style.transform = `translate3d(0,0,0) scale(${R.scale})`;
|
|
3307
3307
|
}
|
|
3308
3308
|
function P() {
|
|
3309
3309
|
const w = e.zoom, R = n();
|
|
@@ -3323,7 +3323,7 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
3323
3323
|
const w = e.params.passiveListeners ? { passive: !0, capture: !1 } : !1, R = e.params.passiveListeners ? { passive: !1, capture: !0 } : !0;
|
|
3324
3324
|
return { passiveListener: w, activeListenerWithCapture: R };
|
|
3325
3325
|
}
|
|
3326
|
-
function
|
|
3326
|
+
function H() {
|
|
3327
3327
|
const w = e.zoom;
|
|
3328
3328
|
if (w.enabled)
|
|
3329
3329
|
return;
|
|
@@ -3344,7 +3344,7 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
3344
3344
|
}), e.wrapperEl.removeEventListener("pointermove", x, N);
|
|
3345
3345
|
}
|
|
3346
3346
|
s("init", () => {
|
|
3347
|
-
n().enabled &&
|
|
3347
|
+
n().enabled && H();
|
|
3348
3348
|
}), s("destroy", () => {
|
|
3349
3349
|
q();
|
|
3350
3350
|
}), s("touchStart", (w, R) => {
|
|
@@ -3354,18 +3354,18 @@ const ca = (e) => !!e.virtual && !!e.params.virtual?.enabled, fa = (e) => !!e.pa
|
|
|
3354
3354
|
}), s("doubleTap", (w, R) => {
|
|
3355
3355
|
!e.animating && n().enabled && e.zoom.enabled && n().toggle && z(R);
|
|
3356
3356
|
}), s("transitionEnd", () => {
|
|
3357
|
-
e.zoom.enabled && n().enabled &&
|
|
3357
|
+
e.zoom.enabled && n().enabled && k();
|
|
3358
3358
|
}), s("slideChange", () => {
|
|
3359
|
-
e.zoom.enabled && n().enabled && e.params.cssMode &&
|
|
3359
|
+
e.zoom.enabled && n().enabled && e.params.cssMode && k();
|
|
3360
3360
|
}), Object.assign(e.zoom, {
|
|
3361
|
-
enable:
|
|
3361
|
+
enable: H,
|
|
3362
3362
|
disable: q,
|
|
3363
3363
|
in: j,
|
|
3364
3364
|
out: P,
|
|
3365
3365
|
toggle: z
|
|
3366
3366
|
});
|
|
3367
3367
|
};
|
|
3368
|
-
class
|
|
3368
|
+
class pt {
|
|
3369
3369
|
x;
|
|
3370
3370
|
y;
|
|
3371
3371
|
lastIndex;
|
|
@@ -3385,7 +3385,7 @@ class ft {
|
|
|
3385
3385
|
return (t - this.x[a]) * (this.y[s] - this.y[a]) / (this.x[s] - this.x[a]) + this.y[a];
|
|
3386
3386
|
}
|
|
3387
3387
|
}
|
|
3388
|
-
const
|
|
3388
|
+
const va = ({ swiper: e, extendParams: t, on: s }) => {
|
|
3389
3389
|
t({
|
|
3390
3390
|
controller: {
|
|
3391
3391
|
control: void 0,
|
|
@@ -3400,7 +3400,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3400
3400
|
return e.params.controller;
|
|
3401
3401
|
}
|
|
3402
3402
|
function n(l) {
|
|
3403
|
-
e.controller.spline = e.params.loop ? new
|
|
3403
|
+
e.controller.spline = e.params.loop ? new pt(e.slidesGrid, l.slidesGrid) : new pt(e.snapGrid, l.snapGrid);
|
|
3404
3404
|
}
|
|
3405
3405
|
function i(l, p) {
|
|
3406
3406
|
const c = e.controller.control;
|
|
@@ -3440,7 +3440,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3440
3440
|
}
|
|
3441
3441
|
s("beforeInit", () => {
|
|
3442
3442
|
const l = a().control;
|
|
3443
|
-
if (typeof window < "u" && (typeof l == "string" ||
|
|
3443
|
+
if (typeof window < "u" && (typeof l == "string" || $e(l))) {
|
|
3444
3444
|
(typeof l == "string" ? [...document.querySelectorAll(l)] : [l]).forEach((c) => {
|
|
3445
3445
|
e.controller.control || (e.controller.control = []);
|
|
3446
3446
|
const f = e.controller.control;
|
|
@@ -3471,7 +3471,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3471
3471
|
setTranslate: i,
|
|
3472
3472
|
setTransition: u
|
|
3473
3473
|
});
|
|
3474
|
-
},
|
|
3474
|
+
}, mt = (e) => !!e.virtual && !!e.params.virtual?.enabled, Ea = ({ swiper: e, extendParams: t, on: s }) => {
|
|
3475
3475
|
t({
|
|
3476
3476
|
a11y: {
|
|
3477
3477
|
enabled: !0,
|
|
@@ -3517,28 +3517,28 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3517
3517
|
});
|
|
3518
3518
|
}
|
|
3519
3519
|
function T(P, z) {
|
|
3520
|
-
X(P).forEach((
|
|
3521
|
-
|
|
3520
|
+
X(P).forEach((H) => {
|
|
3521
|
+
H.setAttribute("role", z);
|
|
3522
3522
|
});
|
|
3523
3523
|
}
|
|
3524
3524
|
function o(P, z) {
|
|
3525
|
-
X(P).forEach((
|
|
3526
|
-
|
|
3525
|
+
X(P).forEach((H) => {
|
|
3526
|
+
H.setAttribute("aria-roledescription", z);
|
|
3527
3527
|
});
|
|
3528
3528
|
}
|
|
3529
3529
|
function r(P, z) {
|
|
3530
|
-
X(P).forEach((
|
|
3531
|
-
|
|
3530
|
+
X(P).forEach((H) => {
|
|
3531
|
+
H.setAttribute("aria-label", z);
|
|
3532
3532
|
});
|
|
3533
3533
|
}
|
|
3534
3534
|
function h(P, z) {
|
|
3535
|
-
X(P).forEach((
|
|
3536
|
-
|
|
3535
|
+
X(P).forEach((H) => {
|
|
3536
|
+
H.setAttribute("id", z);
|
|
3537
3537
|
});
|
|
3538
3538
|
}
|
|
3539
3539
|
function E(P, z) {
|
|
3540
|
-
X(P).forEach((
|
|
3541
|
-
|
|
3540
|
+
X(P).forEach((H) => {
|
|
3541
|
+
H.setAttribute("aria-live", z);
|
|
3542
3542
|
});
|
|
3543
3543
|
}
|
|
3544
3544
|
function S(P) {
|
|
@@ -3554,13 +3554,13 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3554
3554
|
function m(P) {
|
|
3555
3555
|
if (P.keyCode !== 13 && P.keyCode !== 32)
|
|
3556
3556
|
return;
|
|
3557
|
-
const z = d(), G = e.params.pagination,
|
|
3558
|
-
if (!(e.pagination && e.pagination.el && (
|
|
3557
|
+
const z = d(), G = e.params.pagination, H = P.target;
|
|
3558
|
+
if (!(e.pagination && e.pagination.el && (H === e.pagination.el || e.pagination.el.contains(H)) && !H.matches(de(G?.bulletClass)))) {
|
|
3559
3559
|
if (e.navigation && e.navigation.prevEl && e.navigation.nextEl) {
|
|
3560
3560
|
const q = X(e.navigation.prevEl);
|
|
3561
|
-
X(e.navigation.nextEl).includes(
|
|
3561
|
+
X(e.navigation.nextEl).includes(H) && (e.isEnd && !e.params.loop || e.slideNext(), e.isEnd ? l(z.lastSlideMessage) : l(z.nextSlideMessage)), q.includes(H) && (e.isBeginning && !e.params.loop || e.slidePrev(), e.isBeginning ? l(z.firstSlideMessage) : l(z.prevSlideMessage));
|
|
3562
3562
|
}
|
|
3563
|
-
e.pagination &&
|
|
3563
|
+
e.pagination && H.matches(de(G?.bulletClass)) && H.click();
|
|
3564
3564
|
}
|
|
3565
3565
|
}
|
|
3566
3566
|
function v() {
|
|
@@ -3589,7 +3589,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3589
3589
|
c(P), P.tagName !== "BUTTON" && (T(P, "button"), P.addEventListener("keydown", m)), r(P, G);
|
|
3590
3590
|
}, C = (P) => {
|
|
3591
3591
|
i && i !== P.target && !i.contains(P.target) && (n = !0), e.a11y.clicked = !0;
|
|
3592
|
-
},
|
|
3592
|
+
}, $ = () => {
|
|
3593
3593
|
n = !1, requestAnimationFrame(() => {
|
|
3594
3594
|
requestAnimationFrame(() => {
|
|
3595
3595
|
e.destroyed || (e.a11y.clicked = !1);
|
|
@@ -3607,65 +3607,65 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3607
3607
|
const G = P.target?.closest?.(`.${e.params.slideClass}, swiper-slide`);
|
|
3608
3608
|
if (!G || !e.slides.includes(G))
|
|
3609
3609
|
return;
|
|
3610
|
-
const
|
|
3611
|
-
if (Number.isNaN(
|
|
3610
|
+
const H = parseInt(G.getAttribute("data-swiper-slide-index") || "", 10);
|
|
3611
|
+
if (Number.isNaN(H))
|
|
3612
3612
|
return;
|
|
3613
|
-
const q =
|
|
3614
|
-
(P.shiftKey ?
|
|
3613
|
+
const q = mt(e) ? e.virtual.slides.length : e.slides.length;
|
|
3614
|
+
(P.shiftKey ? H === 0 : H === q - 1) && (M(), e.slides.forEach((R) => {
|
|
3615
3615
|
R === G || R.hasAttribute("inert") || (R.setAttribute("inert", ""), b.push(R));
|
|
3616
3616
|
}), setTimeout(M, 0));
|
|
3617
3617
|
}, I = (P) => {
|
|
3618
3618
|
const z = d();
|
|
3619
3619
|
if (e.a11y.clicked || !z.scrollOnFocus || (/* @__PURE__ */ new Date()).getTime() - u < 100)
|
|
3620
3620
|
return;
|
|
3621
|
-
const
|
|
3622
|
-
if (!
|
|
3621
|
+
const H = P.target.closest(`.${e.params.slideClass}, swiper-slide`);
|
|
3622
|
+
if (!H || !e.slides.includes(H))
|
|
3623
3623
|
return;
|
|
3624
|
-
i =
|
|
3625
|
-
const q =
|
|
3624
|
+
i = H;
|
|
3625
|
+
const q = mt(e), w = (q ? parseInt(H.getAttribute("data-swiper-slide-index") || "0", 10) : e.slides.indexOf(H)) === e.activeIndex, R = e.params.watchSlidesProgress && e.visibleSlides && e.visibleSlides.includes(H);
|
|
3626
3626
|
if (w || R)
|
|
3627
3627
|
return;
|
|
3628
3628
|
const N = P.sourceCapabilities;
|
|
3629
3629
|
N && N.firesTouchEvents || (e.isHorizontal() ? e.el.scrollLeft = 0 : e.el.scrollTop = 0, requestAnimationFrame(() => {
|
|
3630
|
-
n || (e.params.loop ? e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(
|
|
3630
|
+
n || (e.params.loop ? e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(H.getAttribute("data-swiper-slide-index") || "0", 10)), 0) : q ? e.slideTo(e.getSlideIndexWhenGrid(parseInt(H.getAttribute("data-swiper-slide-index") || "0", 10)), 0) : e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(H)), 0), n = !1);
|
|
3631
3631
|
}));
|
|
3632
|
-
},
|
|
3632
|
+
}, k = () => {
|
|
3633
3633
|
const P = d();
|
|
3634
3634
|
P.itemRoleDescriptionMessage && o(e.slides, P.itemRoleDescriptionMessage), P.slideRole && T(e.slides, P.slideRole);
|
|
3635
3635
|
const z = e.slides.length, G = P.slideLabelMessage;
|
|
3636
|
-
G && e.slides.forEach((
|
|
3637
|
-
const w = e.params.loop ? parseInt(
|
|
3638
|
-
r(
|
|
3636
|
+
G && e.slides.forEach((H, q) => {
|
|
3637
|
+
const w = e.params.loop ? parseInt(H.getAttribute("data-swiper-slide-index") || "0", 10) : q, R = G.replace(/\{\{index\}\}/, String(w + 1)).replace(/\{\{slidesLength\}\}/, String(z));
|
|
3638
|
+
r(H, R);
|
|
3639
3639
|
});
|
|
3640
3640
|
}, V = () => {
|
|
3641
3641
|
const P = d();
|
|
3642
3642
|
a && e.el.append(a);
|
|
3643
3643
|
const z = e.el;
|
|
3644
3644
|
P.containerRoleDescriptionMessage && o(z, P.containerRoleDescriptionMessage), P.containerMessage && r(z, P.containerMessage), P.containerRole && T(z, P.containerRole);
|
|
3645
|
-
const G = e.wrapperEl,
|
|
3646
|
-
if (h(G,
|
|
3645
|
+
const G = e.wrapperEl, H = String(P.id || G.getAttribute("id") || `swiper-wrapper-${p(16)}`);
|
|
3646
|
+
if (h(G, H), P.wrapperLiveRegion) {
|
|
3647
3647
|
const N = e.params.autoplay, B = e.params.autoplay && N?.enabled ? "off" : "polite";
|
|
3648
3648
|
E(G, B);
|
|
3649
3649
|
}
|
|
3650
|
-
|
|
3650
|
+
k();
|
|
3651
3651
|
const q = e.navigation ? e.navigation : { nextEl: void 0, prevEl: void 0 }, w = X(q.nextEl), R = X(q.prevEl);
|
|
3652
|
-
w && w.forEach((N) => O(N,
|
|
3652
|
+
w && w.forEach((N) => O(N, H, P.nextSlideMessage)), R && R.forEach((N) => O(N, H, P.prevSlideMessage)), L() && X(e.pagination.el).forEach((B) => {
|
|
3653
3653
|
B.addEventListener("keydown", m);
|
|
3654
|
-
}), document.addEventListener("visibilitychange", _), e.el.addEventListener("focus", I, !0), e.el.addEventListener("keydown", x, !0), e.el.addEventListener("pointerdown", C, !0), e.el.addEventListener("pointerup",
|
|
3654
|
+
}), document.addEventListener("visibilitychange", _), e.el.addEventListener("focus", I, !0), e.el.addEventListener("keydown", x, !0), e.el.addEventListener("pointerdown", C, !0), e.el.addEventListener("pointerup", $, !0);
|
|
3655
3655
|
};
|
|
3656
3656
|
function j() {
|
|
3657
3657
|
a && a.remove();
|
|
3658
3658
|
const P = e.navigation ? e.navigation : { nextEl: void 0, prevEl: void 0 }, z = X(P.nextEl), G = X(P.prevEl);
|
|
3659
|
-
z && z.forEach((
|
|
3659
|
+
z && z.forEach((H) => H.removeEventListener("keydown", m)), G && G.forEach((H) => H.removeEventListener("keydown", m)), L() && X(e.pagination.el).forEach((q) => {
|
|
3660
3660
|
q.removeEventListener("keydown", m);
|
|
3661
|
-
}), document.removeEventListener("visibilitychange", _), e.el && typeof e.el != "string" && (e.el.removeEventListener("focus", I, !0), e.el.removeEventListener("keydown", x, !0), e.el.removeEventListener("pointerdown", C, !0), e.el.removeEventListener("pointerup",
|
|
3661
|
+
}), document.removeEventListener("visibilitychange", _), e.el && typeof e.el != "string" && (e.el.removeEventListener("focus", I, !0), e.el.removeEventListener("keydown", x, !0), e.el.removeEventListener("pointerdown", C, !0), e.el.removeEventListener("pointerup", $, !0)), M();
|
|
3662
3662
|
}
|
|
3663
3663
|
s("beforeInit", () => {
|
|
3664
3664
|
a = ne("span", d().notificationClass), a.setAttribute("aria-live", "assertive"), a.setAttribute("aria-atomic", "true");
|
|
3665
3665
|
}), s("afterInit", () => {
|
|
3666
3666
|
d().enabled && V();
|
|
3667
3667
|
}), s("slidesLengthChange snapGridLengthChange slidesGridLengthChange", () => {
|
|
3668
|
-
d().enabled &&
|
|
3668
|
+
d().enabled && k();
|
|
3669
3669
|
}), s("fromEdge toEdge afterInit lock unlock", () => {
|
|
3670
3670
|
d().enabled && v();
|
|
3671
3671
|
}), s("paginationUpdate", () => {
|
|
@@ -3673,7 +3673,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3673
3673
|
}), s("destroy", () => {
|
|
3674
3674
|
d().enabled && j();
|
|
3675
3675
|
});
|
|
3676
|
-
},
|
|
3676
|
+
}, Sa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
3677
3677
|
t({
|
|
3678
3678
|
history: {
|
|
3679
3679
|
enabled: !1,
|
|
@@ -3746,7 +3746,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3746
3746
|
}), s("slideChange", () => {
|
|
3747
3747
|
a && e.params.cssMode && l(i().key, e.activeIndex);
|
|
3748
3748
|
});
|
|
3749
|
-
}, je = (e) => !!e.virtual && !!e.params.virtual?.enabled,
|
|
3749
|
+
}, je = (e) => !!e.virtual && !!e.params.virtual?.enabled, ya = ({ swiper: e, extendParams: t, emit: s, on: a }) => {
|
|
3750
3750
|
let n = !1;
|
|
3751
3751
|
t({
|
|
3752
3752
|
hashNavigation: {
|
|
@@ -3804,7 +3804,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3804
3804
|
}), a("slideChange", () => {
|
|
3805
3805
|
n && e.params.cssMode && d();
|
|
3806
3806
|
});
|
|
3807
|
-
},
|
|
3807
|
+
}, ba = ({ swiper: e, extendParams: t, on: s, emit: a, params: n }) => {
|
|
3808
3808
|
e.autoplay = {
|
|
3809
3809
|
running: !1,
|
|
3810
3810
|
paused: !1,
|
|
@@ -3843,7 +3843,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3843
3843
|
}, y = () => {
|
|
3844
3844
|
let P;
|
|
3845
3845
|
const z = !!e.params.virtual?.enabled;
|
|
3846
|
-
if (e.virtual && z ? P = e.slides.find((
|
|
3846
|
+
if (e.virtual && z ? P = e.slides.find((H) => H.classList.contains("swiper-slide-active")) : P = e.slides[e.activeIndex], !P)
|
|
3847
3847
|
return;
|
|
3848
3848
|
const G = P.getAttribute("data-swiper-autoplay");
|
|
3849
3849
|
if (G != null)
|
|
@@ -3858,7 +3858,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3858
3858
|
l !== void 0 && cancelAnimationFrame(l), v();
|
|
3859
3859
|
let z = P;
|
|
3860
3860
|
typeof z > "u" && (z = L(), p = z, c = z), f = z;
|
|
3861
|
-
const G = e.params.speed,
|
|
3861
|
+
const G = e.params.speed, H = () => {
|
|
3862
3862
|
if (!e || e.destroyed)
|
|
3863
3863
|
return;
|
|
3864
3864
|
const q = i();
|
|
@@ -3867,11 +3867,11 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3867
3867
|
}));
|
|
3868
3868
|
};
|
|
3869
3869
|
return z > 0 ? (d !== void 0 && clearTimeout(d), d = setTimeout(() => {
|
|
3870
|
-
|
|
3870
|
+
H();
|
|
3871
3871
|
}, z)) : requestAnimationFrame(() => {
|
|
3872
|
-
|
|
3872
|
+
H();
|
|
3873
3873
|
}), z;
|
|
3874
|
-
}, O = () => e.destroyed ? !1 : (T = (/* @__PURE__ */ new Date()).getTime(), e.autoplay.running = !0, A(), a("autoplayStart"), !0), C = () => e.destroyed ? !1 : (e.autoplay.running = !1, d !== void 0 && clearTimeout(d), l !== void 0 && cancelAnimationFrame(l), a("autoplayStop"), !0),
|
|
3874
|
+
}, O = () => e.destroyed ? !1 : (T = (/* @__PURE__ */ new Date()).getTime(), e.autoplay.running = !0, A(), a("autoplayStart"), !0), C = () => e.destroyed ? !1 : (e.autoplay.running = !1, d !== void 0 && clearTimeout(d), l !== void 0 && cancelAnimationFrame(l), a("autoplayStop"), !0), $ = (P, z) => {
|
|
3875
3875
|
if (e.destroyed || !e.autoplay.running)
|
|
3876
3876
|
return;
|
|
3877
3877
|
d !== void 0 && clearTimeout(d), P || (S = !0);
|
|
@@ -3886,14 +3886,14 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3886
3886
|
}, _ = () => {
|
|
3887
3887
|
e.isEnd && f < 0 && !e.params.loop || e.destroyed || !e.autoplay.running || (T = (/* @__PURE__ */ new Date()).getTime(), S ? (S = !1, A(f)) : A(), e.autoplay.paused = !1, a("autoplayResume"));
|
|
3888
3888
|
}, b = () => {
|
|
3889
|
-
e.destroyed || !e.autoplay.running || (document.visibilityState === "hidden" && (S = !0,
|
|
3889
|
+
e.destroyed || !e.autoplay.running || (document.visibilityState === "hidden" && (S = !0, $(!0)), document.visibilityState === "visible" && _());
|
|
3890
3890
|
}, M = (P) => {
|
|
3891
|
-
P.pointerType === "mouse" && (S = !0, g = !0, !(e.animating || e.autoplay.paused) &&
|
|
3891
|
+
P.pointerType === "mouse" && (S = !0, g = !0, !(e.animating || e.autoplay.paused) && $(!0));
|
|
3892
3892
|
}, x = (P) => {
|
|
3893
3893
|
P.pointerType === "mouse" && (g = !1, e.autoplay.paused && _());
|
|
3894
3894
|
}, I = () => {
|
|
3895
3895
|
i().pauseOnMouseEnter && (e.el.addEventListener("pointerenter", M), e.el.addEventListener("pointerleave", x));
|
|
3896
|
-
},
|
|
3896
|
+
}, k = () => {
|
|
3897
3897
|
e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter", M), e.el.removeEventListener("pointerleave", x));
|
|
3898
3898
|
}, V = () => {
|
|
3899
3899
|
document.addEventListener("visibilitychange", b);
|
|
@@ -3903,13 +3903,13 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3903
3903
|
s("init", () => {
|
|
3904
3904
|
i().enabled && (I(), V(), O());
|
|
3905
3905
|
}), s("destroy", () => {
|
|
3906
|
-
|
|
3906
|
+
k(), j(), e.autoplay.running && C();
|
|
3907
3907
|
}), s("_freeModeStaticRelease", () => {
|
|
3908
3908
|
(h || S) && _();
|
|
3909
3909
|
}), s("_freeModeNoMomentumRelease", () => {
|
|
3910
|
-
i().disableOnInteraction ? C() :
|
|
3910
|
+
i().disableOnInteraction ? C() : $(!0, !0);
|
|
3911
3911
|
}), s("beforeTransitionStart", (P, z, G) => {
|
|
3912
|
-
e.destroyed || !e.autoplay.running || (G || !i().disableOnInteraction ?
|
|
3912
|
+
e.destroyed || !e.autoplay.running || (G || !i().disableOnInteraction ? $(!0, !0) : C());
|
|
3913
3913
|
}), s("sliderFirstMove", () => {
|
|
3914
3914
|
if (!(e.destroyed || !e.autoplay.running)) {
|
|
3915
3915
|
if (i().disableOnInteraction) {
|
|
@@ -3917,7 +3917,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3917
3917
|
return;
|
|
3918
3918
|
}
|
|
3919
3919
|
r = !0, h = !1, S = !1, E = setTimeout(() => {
|
|
3920
|
-
S = !0, h = !0,
|
|
3920
|
+
S = !0, h = !0, $(!0);
|
|
3921
3921
|
}, 200);
|
|
3922
3922
|
}
|
|
3923
3923
|
}), s("touchEnd", () => {
|
|
@@ -3933,10 +3933,10 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
3933
3933
|
}), Object.assign(e.autoplay, {
|
|
3934
3934
|
start: O,
|
|
3935
3935
|
stop: C,
|
|
3936
|
-
pause:
|
|
3936
|
+
pause: $,
|
|
3937
3937
|
resume: _
|
|
3938
3938
|
});
|
|
3939
|
-
},
|
|
3939
|
+
}, Aa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
3940
3940
|
t({
|
|
3941
3941
|
thumbs: {
|
|
3942
3942
|
swiper: null,
|
|
@@ -4041,7 +4041,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4041
4041
|
s("beforeInit", () => {
|
|
4042
4042
|
const f = e.params.thumbs;
|
|
4043
4043
|
if (!(!f || !f.swiper))
|
|
4044
|
-
if (typeof f.swiper == "string" ||
|
|
4044
|
+
if (typeof f.swiper == "string" || $e(f.swiper)) {
|
|
4045
4045
|
const T = () => {
|
|
4046
4046
|
const r = typeof f.swiper == "string" ? document.querySelector(f.swiper) : f.swiper;
|
|
4047
4047
|
if (r && r.swiper)
|
|
@@ -4074,7 +4074,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4074
4074
|
init: l,
|
|
4075
4075
|
update: p
|
|
4076
4076
|
});
|
|
4077
|
-
},
|
|
4077
|
+
}, _a = ({ swiper: e, extendParams: t, emit: s, once: a }) => {
|
|
4078
4078
|
t({
|
|
4079
4079
|
freeMode: {
|
|
4080
4080
|
enabled: !1,
|
|
@@ -4122,8 +4122,8 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4122
4122
|
}
|
|
4123
4123
|
if (r.momentum) {
|
|
4124
4124
|
if (T.velocities.length > 1) {
|
|
4125
|
-
const O = T.velocities.pop(), C = T.velocities.pop(),
|
|
4126
|
-
e.velocity =
|
|
4125
|
+
const O = T.velocities.pop(), C = T.velocities.pop(), $ = O.position - C.position, _ = O.time - C.time;
|
|
4126
|
+
e.velocity = $ / _, e.velocity /= 2, Math.abs(e.velocity) < r.minimumVelocity && (e.velocity = 0), (_ > 150 || ae() - O.time > 300) && (e.velocity = 0);
|
|
4127
4127
|
} else
|
|
4128
4128
|
e.velocity = 0;
|
|
4129
4129
|
e.velocity *= r.momentumVelocityRatio, T.velocities.length = 0;
|
|
@@ -4151,8 +4151,8 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4151
4151
|
e.loopFix();
|
|
4152
4152
|
}), e.velocity !== 0) {
|
|
4153
4153
|
if (c ? S = Math.abs((-m - e.translate) / e.velocity) : S = Math.abs((m - e.translate) / e.velocity), r.sticky) {
|
|
4154
|
-
const O = Math.abs((c ? -m : m) - e.translate), C = e.slidesSizesGrid[e.activeIndex],
|
|
4155
|
-
O < C ? S =
|
|
4154
|
+
const O = Math.abs((c ? -m : m) - e.translate), C = e.slidesSizesGrid[e.activeIndex], $ = o.speed;
|
|
4155
|
+
O < C ? S = $ : O < 2 * C ? S = $ * 1.5 : S = $ * 2.5;
|
|
4156
4156
|
}
|
|
4157
4157
|
} else if (r.sticky) {
|
|
4158
4158
|
e.slideToClosest();
|
|
@@ -4179,7 +4179,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4179
4179
|
onTouchMove: u,
|
|
4180
4180
|
onTouchEnd: d
|
|
4181
4181
|
};
|
|
4182
|
-
},
|
|
4182
|
+
}, xa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
4183
4183
|
t({
|
|
4184
4184
|
grid: {
|
|
4185
4185
|
rows: 1,
|
|
@@ -4205,13 +4205,13 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4205
4205
|
});
|
|
4206
4206
|
}, T = (E, S, g) => {
|
|
4207
4207
|
const { slidesPerGroup: m } = e.params, v = l(), { rows: y, fill: L } = a(), A = p() ? e.virtual.slides.length : g.length;
|
|
4208
|
-
let O, C,
|
|
4208
|
+
let O, C, $;
|
|
4209
4209
|
if (L === "row" && (m ?? 1) > 1) {
|
|
4210
4210
|
const b = m ?? 1, M = Math.floor(E / (b * y)), x = E - y * b * M, I = M === 0 ? b : Math.min(Math.ceil((A - M * y * b) / y), b);
|
|
4211
|
-
|
|
4212
|
-
} else L === "column" ? (C = Math.floor(E / y),
|
|
4211
|
+
$ = Math.floor(x / I), C = x - $ * I + M * b, O = C + $ * n / y, S.style.order = String(O);
|
|
4212
|
+
} else L === "column" ? (C = Math.floor(E / y), $ = E - C * y, (C > u || C === u && $ === y - 1) && ($ += 1, $ >= y && ($ = 0, C += 1))) : ($ = Math.floor(E / i), C = E - $ * i);
|
|
4213
4213
|
const _ = S;
|
|
4214
|
-
_.row =
|
|
4214
|
+
_.row = $, _.column = C, S.style.height = `calc((100% - ${(y - 1) * v}px) / ${y})`, S.style.setProperty(e.getDirectionLabel("margin-top"), $ !== 0 && v ? `${v}px` : ""), _.swiperSlideGridSet = !0;
|
|
4215
4215
|
}, o = (E, S) => {
|
|
4216
4216
|
const { centeredSlides: g, roundLengths: m } = e.params, v = l(), { rows: y } = a();
|
|
4217
4217
|
if (e.virtualSize = (E + v) * n, e.virtualSize = Math.ceil(e.virtualSize / y) - v, e.params.cssMode || e.wrapperEl.style.setProperty(e.getDirectionLabel("width"), `${e.virtualSize + v}px`), g) {
|
|
@@ -4236,7 +4236,7 @@ const ga = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4236
4236
|
updateWrapperSize: o
|
|
4237
4237
|
};
|
|
4238
4238
|
};
|
|
4239
|
-
function
|
|
4239
|
+
function Ca(e, t) {
|
|
4240
4240
|
const s = this, { params: a, activeIndex: n, slidesEl: i } = s;
|
|
4241
4241
|
let u = n;
|
|
4242
4242
|
a.loop && (u -= s.loopedSlides ?? 0, s.loopDestroy(), s.recalcSlides());
|
|
@@ -4267,7 +4267,7 @@ function _a(e, t) {
|
|
|
4267
4267
|
i.append(p[c]);
|
|
4268
4268
|
s.recalcSlides(), a.loop && s.loopCreate(), (!a.observer || s.isElement) && s.update(), a.loop ? s.slideTo(l + (s.loopedSlides ?? 0), 0, !1) : s.slideTo(l, 0, !1);
|
|
4269
4269
|
}
|
|
4270
|
-
function
|
|
4270
|
+
function La(e) {
|
|
4271
4271
|
const t = this, { params: s, slidesEl: a } = t;
|
|
4272
4272
|
s.loop && t.loopDestroy();
|
|
4273
4273
|
const n = (i) => {
|
|
@@ -4288,7 +4288,7 @@ function xa(e) {
|
|
|
4288
4288
|
n(e);
|
|
4289
4289
|
t.recalcSlides(), s.loop && t.loopCreate(), (!s.observer || t.isElement) && t.update();
|
|
4290
4290
|
}
|
|
4291
|
-
function
|
|
4291
|
+
function Ma(e) {
|
|
4292
4292
|
const t = this, { params: s, activeIndex: a, slidesEl: n } = t;
|
|
4293
4293
|
s.loop && t.loopDestroy();
|
|
4294
4294
|
let i = a + 1;
|
|
@@ -4311,13 +4311,13 @@ function Ca(e) {
|
|
|
4311
4311
|
u(e);
|
|
4312
4312
|
t.recalcSlides(), s.loop && t.loopCreate(), (!s.observer || t.isElement) && t.update(), t.slideTo(i, 0, !1);
|
|
4313
4313
|
}
|
|
4314
|
-
function
|
|
4314
|
+
function Ia() {
|
|
4315
4315
|
const e = this, t = [];
|
|
4316
4316
|
for (let s = 0; s < e.slides.length; s += 1)
|
|
4317
4317
|
t.push(s);
|
|
4318
4318
|
e.removeSlide(t);
|
|
4319
4319
|
}
|
|
4320
|
-
function
|
|
4320
|
+
function Pa(e) {
|
|
4321
4321
|
const t = this, { params: s, activeIndex: a } = t;
|
|
4322
4322
|
let n = a;
|
|
4323
4323
|
s.loop && (n -= t.loopedSlides ?? 0, t.loopDestroy());
|
|
@@ -4334,13 +4334,13 @@ function Ma(e) {
|
|
|
4334
4334
|
}
|
|
4335
4335
|
t.recalcSlides(), s.loop && t.loopCreate(), (!s.observer || t.isElement) && t.update(), s.loop ? t.slideTo(i + (t.loopedSlides ?? 0), 0, !1) : t.slideTo(i, 0, !1);
|
|
4336
4336
|
}
|
|
4337
|
-
const
|
|
4337
|
+
const Ra = ({ swiper: e }) => {
|
|
4338
4338
|
Object.assign(e, {
|
|
4339
|
-
appendSlide:
|
|
4340
|
-
prependSlide:
|
|
4341
|
-
addSlide:
|
|
4342
|
-
removeSlide:
|
|
4343
|
-
removeAllSlides:
|
|
4339
|
+
appendSlide: La.bind(e),
|
|
4340
|
+
prependSlide: Ma.bind(e),
|
|
4341
|
+
addSlide: Ca.bind(e),
|
|
4342
|
+
removeSlide: Pa.bind(e),
|
|
4343
|
+
removeAllSlides: Ia.bind(e)
|
|
4344
4344
|
});
|
|
4345
4345
|
};
|
|
4346
4346
|
function Ae(e) {
|
|
@@ -4380,7 +4380,7 @@ function Me({ swiper: e, duration: t, transformElements: s, allSlides: a }) {
|
|
|
4380
4380
|
const { activeIndex: n } = e, i = (u) => {
|
|
4381
4381
|
if (!u.parentElement)
|
|
4382
4382
|
return e.slides.find((d) => d.shadowRoot && d.shadowRoot === u.parentNode);
|
|
4383
|
-
if (
|
|
4383
|
+
if ($e(u.parentElement))
|
|
4384
4384
|
return u.parentElement;
|
|
4385
4385
|
};
|
|
4386
4386
|
if (e.params.virtualTranslate && t !== 0) {
|
|
@@ -4399,7 +4399,7 @@ function Me({ swiper: e, duration: t, transformElements: s, allSlides: a }) {
|
|
|
4399
4399
|
});
|
|
4400
4400
|
}
|
|
4401
4401
|
}
|
|
4402
|
-
const
|
|
4402
|
+
const Oa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
4403
4403
|
t({
|
|
4404
4404
|
fadeEffect: {
|
|
4405
4405
|
crossFade: !1,
|
|
@@ -4467,7 +4467,7 @@ const Pa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4467
4467
|
virtualTranslate: !e.params.cssMode
|
|
4468
4468
|
})
|
|
4469
4469
|
});
|
|
4470
|
-
},
|
|
4470
|
+
}, wa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
4471
4471
|
t({
|
|
4472
4472
|
cubeEffect: {
|
|
4473
4473
|
slideShadows: !0,
|
|
@@ -4488,7 +4488,7 @@ const Pa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4488
4488
|
swiper: e,
|
|
4489
4489
|
on: s,
|
|
4490
4490
|
setTranslate: () => {
|
|
4491
|
-
const { el: l, wrapperEl: p, slides: c, width: f, height: T, rtlTranslate: o, size: r } = e, h =
|
|
4491
|
+
const { el: l, wrapperEl: p, slides: c, width: f, height: T, rtlTranslate: o, size: r } = e, h = ke(e), E = a(), S = e.isHorizontal(), g = !!(e.virtual && e.params.virtual?.enabled);
|
|
4492
4492
|
let m = 0, v = null;
|
|
4493
4493
|
E.shadow && (S ? (v = e.wrapperEl.querySelector(".swiper-cube-shadow"), v || (v = ne("div", "swiper-cube-shadow"), e.wrapperEl.append(v)), v.style.height = `${f}px`) : (v = l.querySelector(".swiper-cube-shadow"), v || (v = ne("div", "swiper-cube-shadow"), l.append(v))));
|
|
4494
4494
|
for (let y = 0; y < c.length; y += 1) {
|
|
@@ -4497,11 +4497,11 @@ const Pa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4497
4497
|
g && (A = parseInt(L.getAttribute("data-swiper-slide-index") ?? "0", 10));
|
|
4498
4498
|
let O = A * 90, C = Math.floor(O / 360);
|
|
4499
4499
|
o && (O = -O, C = Math.floor(-O / 360));
|
|
4500
|
-
const
|
|
4500
|
+
const $ = Math.max(Math.min(L.progress ?? 0, 1), -1);
|
|
4501
4501
|
let _ = 0, b = 0, M = 0;
|
|
4502
4502
|
A % 4 === 0 ? (_ = -C * 4 * r, M = 0) : (A - 1) % 4 === 0 ? (_ = 0, M = -C * 4 * r) : (A - 2) % 4 === 0 ? (_ = r + C * 4 * r, M = r) : (A - 3) % 4 === 0 && (_ = -r, M = 3 * r + r * 4 * C), o && (_ = -_), S || (b = _, _ = 0);
|
|
4503
4503
|
const x = `rotateX(${h(S ? 0 : -O)}deg) rotateY(${h(S ? O : 0)}deg) translate3d(${_}px, ${b}px, ${M}px)`;
|
|
4504
|
-
|
|
4504
|
+
$ <= 1 && $ > -1 && (m = A * 90 + $ * 90, o && (m = -A * 90 - $ * 90)), L.style.transform = x, E.slideShadows && n(L, $, S);
|
|
4505
4505
|
}
|
|
4506
4506
|
if (p.style.transformOrigin = `50% 50% -${r / 2}px`, p.style.setProperty("-webkit-transform-origin", `50% 50% -${r / 2}px`), E.shadow && v)
|
|
4507
4507
|
if (S)
|
|
@@ -4550,7 +4550,7 @@ function ye(e, t, s) {
|
|
|
4550
4550
|
const d = ne("div", a.split(" "));
|
|
4551
4551
|
return n.append(d), d;
|
|
4552
4552
|
}
|
|
4553
|
-
const
|
|
4553
|
+
const Da = ({ swiper: e, extendParams: t, on: s }) => {
|
|
4554
4554
|
t({
|
|
4555
4555
|
flipEffect: {
|
|
4556
4556
|
slideShadows: !0,
|
|
@@ -4569,7 +4569,7 @@ const Oa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4569
4569
|
swiper: e,
|
|
4570
4570
|
on: s,
|
|
4571
4571
|
setTranslate: () => {
|
|
4572
|
-
const { slides: l, rtlTranslate: p } = e, c = a(), f =
|
|
4572
|
+
const { slides: l, rtlTranslate: p } = e, c = a(), f = ke(e);
|
|
4573
4573
|
for (let T = 0; T < l.length; T += 1) {
|
|
4574
4574
|
const o = l[T];
|
|
4575
4575
|
let r = o.progress ?? 0;
|
|
@@ -4606,7 +4606,7 @@ const Oa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4606
4606
|
virtualTranslate: !e.params.cssMode
|
|
4607
4607
|
})
|
|
4608
4608
|
});
|
|
4609
|
-
},
|
|
4609
|
+
}, Na = ({ swiper: e, extendParams: t, on: s }) => {
|
|
4610
4610
|
t({
|
|
4611
4611
|
coverflowEffect: {
|
|
4612
4612
|
rotate: 50,
|
|
@@ -4625,13 +4625,13 @@ const Oa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4625
4625
|
swiper: e,
|
|
4626
4626
|
on: s,
|
|
4627
4627
|
setTranslate: () => {
|
|
4628
|
-
const { width: u, height: d, slides: l, slidesSizesGrid: p } = e, c = a(), f = e.isHorizontal(), T = e.translate, o = f ? -T + u / 2 : -T + d / 2, r = f ? c.rotate : -c.rotate, h = c.depth, E =
|
|
4628
|
+
const { width: u, height: d, slides: l, slidesSizesGrid: p } = e, c = a(), f = e.isHorizontal(), T = e.translate, o = f ? -T + u / 2 : -T + d / 2, r = f ? c.rotate : -c.rotate, h = c.depth, E = ke(e);
|
|
4629
4629
|
for (let S = 0, g = l.length; S < g; S += 1) {
|
|
4630
4630
|
const m = l[S], v = p[S], y = m.swiperSlideOffset ?? 0, L = (o - y - v / 2) / v, A = typeof c.modifier == "function" ? c.modifier(L) : L * c.modifier;
|
|
4631
|
-
let O = f ? r * A : 0, C = f ? 0 : r * A,
|
|
4632
|
-
Math.abs(M) < 1e-3 && (M = 0), Math.abs(b) < 1e-3 && (b = 0), Math.abs(
|
|
4633
|
-
const I = `translate3d(${M}px,${b}px,${
|
|
4634
|
-
if (
|
|
4631
|
+
let O = f ? r * A : 0, C = f ? 0 : r * A, $ = -h * Math.abs(A), _ = typeof c.stretch == "string" && c.stretch.indexOf("%") !== -1 ? parseFloat(c.stretch) / 100 * v : c.stretch, b = f ? 0 : _ * A, M = f ? _ * A : 0, x = 1 - (1 - c.scale) * Math.abs(A);
|
|
4632
|
+
Math.abs(M) < 1e-3 && (M = 0), Math.abs(b) < 1e-3 && (b = 0), Math.abs($) < 1e-3 && ($ = 0), Math.abs(O) < 1e-3 && (O = 0), Math.abs(C) < 1e-3 && (C = 0), Math.abs(x) < 1e-3 && (x = 0);
|
|
4633
|
+
const I = `translate3d(${M}px,${b}px,${$}px) rotateX(${E(C)}deg) rotateY(${E(O)}deg) scale(${x})`, k = Ie(c, m);
|
|
4634
|
+
if (k.style.transform = I, m.style.zIndex = String(-Math.abs(Math.round(A)) + 1), c.slideShadows) {
|
|
4635
4635
|
let V = f ? m.querySelector(".swiper-slide-shadow-left") : m.querySelector(".swiper-slide-shadow-top"), j = f ? m.querySelector(".swiper-slide-shadow-right") : m.querySelector(".swiper-slide-shadow-bottom");
|
|
4636
4636
|
V || (V = ye("coverflow", m, f ? "left" : "top")), j || (j = ye("coverflow", m, f ? "right" : "bottom")), V && (V.style.opacity = String(A > 0 ? A : 0)), j && (j.style.opacity = String(-A > 0 ? -A : 0));
|
|
4637
4637
|
}
|
|
@@ -4649,7 +4649,7 @@ const Oa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4649
4649
|
watchSlidesProgress: !0
|
|
4650
4650
|
})
|
|
4651
4651
|
});
|
|
4652
|
-
},
|
|
4652
|
+
}, za = ({ swiper: e, extendParams: t, on: s }) => {
|
|
4653
4653
|
t({
|
|
4654
4654
|
creativeEffect: {
|
|
4655
4655
|
limitProgress: 1,
|
|
@@ -4679,7 +4679,7 @@ const Oa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4679
4679
|
swiper: e,
|
|
4680
4680
|
on: s,
|
|
4681
4681
|
setTranslate: () => {
|
|
4682
|
-
const { slides: d, wrapperEl: l, slidesSizesGrid: p } = e, c = a(), { progressMultiplier: f } = c, T = e.params.centeredSlides, o =
|
|
4682
|
+
const { slides: d, wrapperEl: l, slidesSizesGrid: p } = e, c = a(), { progressMultiplier: f } = c, T = e.params.centeredSlides, o = ke(e);
|
|
4683
4683
|
if (T) {
|
|
4684
4684
|
const r = p[0] / 2 - (e.params.slidesOffsetBefore ?? 0);
|
|
4685
4685
|
l.style.transform = `translateX(calc(50% - ${r}px))`;
|
|
@@ -4706,7 +4706,7 @@ const Oa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4706
4706
|
}), y.forEach((x, I) => {
|
|
4707
4707
|
y[I] = A.rotate[I] * Math.abs(S * f);
|
|
4708
4708
|
}), h.style.zIndex = String(-Math.abs(Math.round(E)) + d.length);
|
|
4709
|
-
const O = v.join(", "), C = `rotateX(${o(y[0])}deg) rotateY(${o(y[1])}deg) rotateZ(${o(y[2])}deg)`,
|
|
4709
|
+
const O = v.join(", "), C = `rotateX(${o(y[0])}deg) rotateY(${o(y[1])}deg) rotateZ(${o(y[2])}deg)`, $ = g < 0 ? `scale(${1 + (1 - A.scale) * g * f})` : `scale(${1 - (1 - A.scale) * g * f})`, _ = g < 0 ? 1 + (1 - A.opacity) * g * f : 1 - (1 - A.opacity) * g * f, b = `translate3d(${O}) ${C} ${$}`;
|
|
4710
4710
|
if (L && A.shadow || !L) {
|
|
4711
4711
|
let x = h.querySelector(".swiper-slide-shadow");
|
|
4712
4712
|
if (!x && A.shadow && (x = ye("creative", h)), x) {
|
|
@@ -4732,7 +4732,7 @@ const Oa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4732
4732
|
virtualTranslate: !e.params.cssMode
|
|
4733
4733
|
})
|
|
4734
4734
|
});
|
|
4735
|
-
},
|
|
4735
|
+
}, $a = ({ swiper: e, extendParams: t, on: s }) => {
|
|
4736
4736
|
t({
|
|
4737
4737
|
cardsEffect: {
|
|
4738
4738
|
slideShadows: !0,
|
|
@@ -4757,8 +4757,8 @@ const Oa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4757
4757
|
let g = e.params.cssMode ? -S - e.translate : -S, m = 0;
|
|
4758
4758
|
const v = -100 * Math.abs(E);
|
|
4759
4759
|
let y = 1, L = -p.perSlideRotate * E, A = p.perSlideOffset - Math.abs(E) * 0.75;
|
|
4760
|
-
const O = e.virtual && e.params.virtual?.enabled ? e.virtual.from + o : o, C = (O === d || O === d - 1) && E > 0 && E < 1 && (f || e.params.cssMode) && (T ?? 0) < (c ?? 0),
|
|
4761
|
-
if (C ||
|
|
4760
|
+
const O = e.virtual && e.params.virtual?.enabled ? e.virtual.from + o : o, C = (O === d || O === d - 1) && E > 0 && E < 1 && (f || e.params.cssMode) && (T ?? 0) < (c ?? 0), $ = (O === d || O === d + 1) && E < 0 && E > -1 && (f || e.params.cssMode) && (T ?? 0) > (c ?? 0);
|
|
4761
|
+
if (C || $) {
|
|
4762
4762
|
const x = (1 - Math.abs((Math.abs(E) - 0.5) / 0.5)) ** 0.5;
|
|
4763
4763
|
L += -28 * E * x, y += -0.5 * x, A += 96 * x, m = `${(p.rotate || e.isHorizontal() ? -25 : 0) * x * Math.abs(E)}%`;
|
|
4764
4764
|
}
|
|
@@ -4797,13 +4797,11 @@ const Oa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4797
4797
|
virtualTranslate: !e.params.cssMode
|
|
4798
4798
|
})
|
|
4799
4799
|
});
|
|
4800
|
-
},
|
|
4801
|
-
ra,
|
|
4802
|
-
la,
|
|
4800
|
+
}, ka = [
|
|
4803
4801
|
oa,
|
|
4804
4802
|
da,
|
|
4805
|
-
|
|
4806
|
-
|
|
4803
|
+
ca,
|
|
4804
|
+
fa,
|
|
4807
4805
|
ma,
|
|
4808
4806
|
ha,
|
|
4809
4807
|
ga,
|
|
@@ -4814,24 +4812,31 @@ const Oa = ({ swiper: e, extendParams: t, on: s }) => {
|
|
|
4814
4812
|
ya,
|
|
4815
4813
|
ba,
|
|
4816
4814
|
Aa,
|
|
4817
|
-
|
|
4818
|
-
|
|
4815
|
+
_a,
|
|
4816
|
+
xa,
|
|
4819
4817
|
Ra,
|
|
4820
4818
|
Oa,
|
|
4821
4819
|
wa,
|
|
4822
4820
|
Da,
|
|
4823
|
-
Na
|
|
4821
|
+
Na,
|
|
4822
|
+
za,
|
|
4823
|
+
$a
|
|
4824
4824
|
];
|
|
4825
|
-
te.use(
|
|
4826
|
-
function
|
|
4825
|
+
te.use(ka);
|
|
4826
|
+
function Pt(e) {
|
|
4827
4827
|
return e?.getAttribute("class")?.trim() || void 0;
|
|
4828
4828
|
}
|
|
4829
|
-
function
|
|
4829
|
+
function Ga(e, t) {
|
|
4830
|
+
if (!e.classList || !t.classList) return "";
|
|
4831
|
+
const s = Array.from(e.classList || []), a = Array.from(t.classList || []), n = s.filter((i) => i && !a.includes(i));
|
|
4832
|
+
return n.length > 0 ? n.join(" ") : "";
|
|
4833
|
+
}
|
|
4834
|
+
function F(e, t, s) {
|
|
4830
4835
|
const a = e.getAttribute(t)?.trim();
|
|
4831
4836
|
if (!(!a || a === s))
|
|
4832
4837
|
return a;
|
|
4833
4838
|
}
|
|
4834
|
-
function
|
|
4839
|
+
function Rt(e, t, s) {
|
|
4835
4840
|
const a = e.getAttribute(t)?.trim();
|
|
4836
4841
|
if (!a) return;
|
|
4837
4842
|
if (a.toLowerCase() === "auto") return "auto";
|
|
@@ -4858,55 +4863,55 @@ function D(e, t, s) {
|
|
|
4858
4863
|
if (a === "false") return s === !1 ? void 0 : !1;
|
|
4859
4864
|
}
|
|
4860
4865
|
}
|
|
4861
|
-
function
|
|
4866
|
+
function ht(e) {
|
|
4862
4867
|
if (typeof e != "object" || e === null) return !1;
|
|
4863
4868
|
const t = Object.getPrototypeOf(e);
|
|
4864
4869
|
return t === Object.prototype || t === null;
|
|
4865
4870
|
}
|
|
4866
|
-
function
|
|
4867
|
-
if (!
|
|
4871
|
+
function Ot(e) {
|
|
4872
|
+
if (!ht(e)) return e;
|
|
4868
4873
|
const t = e;
|
|
4869
4874
|
for (const s in t) {
|
|
4870
4875
|
const a = t[s];
|
|
4871
|
-
a == null ? delete t[s] :
|
|
4876
|
+
a == null ? delete t[s] : ht(a) && (Ot(a), Object.keys(a).length === 0 && delete t[s]);
|
|
4872
4877
|
}
|
|
4873
4878
|
return e;
|
|
4874
4879
|
}
|
|
4875
|
-
function
|
|
4880
|
+
function wt(e, t) {
|
|
4876
4881
|
return e.find((s) => s.name?.toLowerCase() === t?.toLowerCase());
|
|
4877
4882
|
}
|
|
4878
|
-
function
|
|
4879
|
-
const a =
|
|
4883
|
+
function Ba(e, t, s) {
|
|
4884
|
+
const a = wt(e, t);
|
|
4880
4885
|
return a ? a.swiper ? a : (console.error(`[MANIPULATION] Invalid Swiper instance in Waterfall "${t}"`), null) : (console.warn(`[MANIPULATION] No Waterfall found with name: "${t}"`, s), null);
|
|
4881
4886
|
}
|
|
4882
|
-
function
|
|
4887
|
+
function Ha(e, t, s) {
|
|
4883
4888
|
const a = e.filter((n) => n.name?.toLowerCase() === t?.toLowerCase()).map((n) => n.swiper);
|
|
4884
4889
|
return s && console.log(`📊 Found ${a.length} matching waterfall(s) for "${t}"`), a;
|
|
4885
4890
|
}
|
|
4886
|
-
function
|
|
4891
|
+
function Fa() {
|
|
4887
4892
|
document.querySelectorAll('[waterfall] .swiper-wrapper[role="list"]').forEach((e) => {
|
|
4888
4893
|
e.removeAttribute("role");
|
|
4889
4894
|
});
|
|
4890
4895
|
}
|
|
4891
|
-
const ce = "waterfall",
|
|
4892
|
-
function
|
|
4893
|
-
e.allowSlideNext = D(t,
|
|
4894
|
-
disabledClass:
|
|
4895
|
-
enabled: D(t,
|
|
4896
|
-
hiddenClass:
|
|
4897
|
-
hideOnClick: D(t,
|
|
4898
|
-
lockClass:
|
|
4899
|
-
navigationDisabledClass:
|
|
4900
|
-
nextEl: `[${ce}='${s}'] [${
|
|
4901
|
-
prevEl: `[${ce}='${s}'] [${
|
|
4896
|
+
const ce = "waterfall", Va = "waterfall-debug-mode", Wa = "waterfall-a11y-container-message", Ya = "waterfall-a11y-container-role", Xa = "waterfall-a11y-container-role-description-message", Ua = "waterfall-a11y-enabled", qa = "waterfall-a11y-first-slide-message", ja = "waterfall-a11y-id", Ka = "waterfall-a11y-item-role-description-message", Za = "waterfall-a11y-last-slide-message", Qa = "waterfall-a11y-next-slide-message", Ja = "waterfall-a11y-notification-class", en = "waterfall-a11y-pagination-bullet-message", tn = "waterfall-a11y-prev-slide-message", sn = "waterfall-a11y-scroll-on-focus", an = "waterfall-a11y-slide-label-message", nn = "waterfall-a11y-slide-role", rn = ["mobile", "mobile-large", "tablet", "desktop", "desktop-small", "desktop-large"], ln = (e, t) => `${e}-${t}`, et = "waterfall-controller-control", on = "waterfall-controller-by", dn = "waterfall-controller-inverse", cn = "waterfall-fade-effect-mode", fn = "waterfall-coverflow-effect-depth", un = "waterfall-coverflow-effect-modifier", pn = "waterfall-coverflow-effect-rotate", mn = "waterfall-coverflow-effect-scale", hn = "waterfall-coverflow-effect-slide-shadows", gn = "waterfall-coverflow-effect-stretch", Tn = "waterfall-flip-effect-limit-rotation", vn = "waterfall-flip-effect-slide-shadows", En = "waterfall-cube-effect-shadow", Sn = "waterfall-cube-effect-shadow-offset", yn = "waterfall-cube-effect-shadow-scale", bn = "waterfall-cube-effect-slide-shadows", An = "waterfall-cards-effect-per-slide-offset", _n = "waterfall-cards-effect-per-slide-rotate", xn = "waterfall-cards-effect-rotate", Cn = "waterfall-cards-effect-slide-shadows", Ln = "waterfall-allow-slide-next", Mn = "waterfall-allow-slide-prev", In = "waterfall-allow-touch-move", Pn = "waterfall-auto-height", Rn = "waterfall-breakpoints-base", On = "waterfall-center-insufficient-slides", Dt = "waterfall-centered-slides", wn = "waterfall-centered-slides-bounds", Dn = "waterfall-container-modifier-class", Nn = "waterfall-create-elements", zn = "waterfall-css-mode", $n = "waterfall-direction", kn = "waterfall-edge-swipe-detection", Gn = "waterfall-edge-swipe-threshold", Bn = "waterfall-effect", Hn = "waterfall-enabled", Fn = "waterfall-events-prefix", Vn = "waterfall-focusable-elements", Wn = "waterfall-follow-finger", Yn = "waterfall-grab-cursor", Xn = "waterfall-height", Un = "waterfall-init", qn = "waterfall-initial-slide", jn = "waterfall-lazy-preload-prev-next", Kn = "waterfall-lazy-preloader-class", Zn = "waterfall-long-swipes", Qn = "waterfall-long-swipes-ms", Jn = "waterfall-long-swipes-ratio", gt = "waterfall-loop", ei = "waterfall-loop-add-blank-slides", ti = "waterfall-loop-additional-slides", si = "waterfall-loop-prevents-sliding", ai = "waterfall-max-backface-hidden-slides", ni = "waterfall-nested", ii = "waterfall-no-swiping", ri = "waterfall-no-swiping-class", li = "waterfall-no-swiping-selector", oi = "waterfall-normalize-slide-index", di = "waterfall-observe-parents", ci = "waterfall-observe-slide-children", fi = "waterfall-observer", ui = "waterfall-one-way-movement", pi = "waterfall-passive-listeners", mi = "waterfall-prevent-clicks", hi = "waterfall-prevent-clicks-propagation", gi = "waterfall-prevent-interaction-on-transition", Ti = "waterfall-resistance", vi = "waterfall-resistance-ratio", Ei = "waterfall-resize-observer", Tt = "waterfall-rewind", Si = "waterfall-round-lengths", yi = "waterfall-run-callbacks-on-init", bi = "waterfall-set-wrapper-size", Ai = "waterfall-short-swipes", _i = "waterfall-simulate-touch", xi = "waterfall-slide-active-class", Ci = "waterfall-slide-class", Li = "waterfall-slide-blank-class", Mi = "waterfall-slide-fully-visible-class", Ii = "waterfall-slide-next-class", Pi = "waterfall-slide-prev-class", Ri = "waterfall-slide-to-clicked-slide", Oi = "waterfall-slide-visible-class", wi = "waterfall-slides-offset-after", Di = "waterfall-slides-offset-before", Nt = "waterfall-slides-per-group", Ni = "waterfall-slides-per-group-auto", zi = "waterfall-slides-per-group-skip", zt = "waterfall-slides-per-view", $t = "waterfall-space-between", $i = "waterfall-speed", ki = "waterfall-swipe-handler", Gi = "waterfall-swiper-element-node-name", Bi = "waterfall-threshold", Hi = "waterfall-touch-angle", Fi = "waterfall-touch-events-target", Vi = "waterfall-touch-move-stop-propagation", Wi = "waterfall-touch-ratio", Yi = "waterfall-touch-release-on-edges", Xi = "waterfall-touch-start-force-prevent-default", Ui = "waterfall-touch-start-prevent-default", qi = "waterfall-unique-nav-elements", ji = "waterfall-update-on-window-resize", Ki = "waterfall-url", Zi = "waterfall-user-agent", Qi = "waterfall-virtual-translate", Ji = "waterfall-watch-overflow", er = "waterfall-watch-slides-progress", tr = "waterfall-width", sr = "waterfall-wrapper-class", ar = "waterfall-hash-navigation-replace-state", nr = "waterfall-hash-navigation-watch-state", ir = "waterfall-history-keep-query", rr = "waterfall-history-key", lr = "waterfall-history-replace-state", or = "waterfall-history-root", dr = "waterfall-keyboard-enabled", cr = "waterfall-keyboard-only-in-viewport", fr = "waterfall-keyboard-page-up-down", ur = "waterfall-mousewheel-enabled", pr = "waterfall-mousewheel-events-target", mr = "waterfall-mousewheel-force-to-axis", hr = "waterfall-mousewheel-invert", gr = "waterfall-mousewheel-no-mousewheel-class", Tr = "waterfall-mousewheel-release-on-edges", vr = "waterfall-mousewheel-sensitivity", Er = "waterfall-mousewheel-threshold-delta", Sr = "waterfall-mousewheel-threshold-time", yr = "waterfall-grid-rows", br = "waterfall-grid-fill", Ar = "waterfall-navigation-disabled-class", _r = "waterfall-navigation-enabled", xr = "waterfall-navigation-hidden-class", Cr = "waterfall-navigation-hide-on-click", Lr = "waterfall-navigation-lock-class", Mr = "waterfall-navigation-navigation-disabled-class", Ir = "waterfall-pagination-type", Pr = "waterfall-pagination-clickable", Rr = "waterfall-pagination-clickable-class", Or = "waterfall-pagination-current-class", wr = "waterfall-pagination-dynamic-bullets", Dr = "waterfall-pagination-dynamic-main-bullets", Nr = "waterfall-pagination-enabled", zr = "waterfall-pagination-hidden-class", $r = "waterfall-pagination-hide-on-click", kr = "waterfall-pagination-horizontal-class", Gr = "waterfall-pagination-lock-class", Br = "waterfall-pagination-modifier-class", Hr = "waterfall-pagination-pagination-disabled-class", Fr = "waterfall-pagination-progressbar-fill-class", Vr = "waterfall-pagination-progressbar-opposite", Wr = "waterfall-pagination-progressbar-opposite-class", Yr = "waterfall-pagination-total-class", Xr = "waterfall-pagination-vertical-class", kt = "waterfall-autoplay", Gt = "waterfall-smooth-autoplay", Ur = "waterfall-autoplay-delay", qr = "waterfall-autoplay-disable-on-interaction", jr = "waterfall-autoplay-reverse-direction", Bt = "waterfall-autoplay-pause-on-mouse-enter", Kr = "waterfall-autoplay-stop-on-last-slide", Zr = "waterfall-autoplay-wait-for-transition", Qr = "waterfall-autoplay-control-enabled", Jr = "waterfall-autoplay-control-default-state", el = "waterfall-free-mode-enabled", tl = "waterfall-free-mode-minimum-velocity", sl = "waterfall-free-mode-momentum", al = "waterfall-free-mode-momentum-bounce", nl = "waterfall-free-mode-momentum-bounce-ratio", il = "waterfall-free-mode-momentum-ratio", rl = "waterfall-free-mode-momentum-velocity-ratio", ll = "waterfall-free-mode-sticky", ol = "waterfall-scrollbar-drag-size", dl = "waterfall-scrollbar-draggable", cl = "waterfall-scrollbar-enabled", fl = "waterfall-scrollbar-hide", ul = "waterfall-scrollbar-horizontal-class", pl = "waterfall-scrollbar-lock-class", ml = "waterfall-scrollbar-scrollbar-disabled-class", hl = "waterfall-scrollbar-vertical-class", gl = "waterfall-scrollbar-snap-on-release", tt = "waterfall-thumbs-swiper", Tl = "waterfall-thumbs-auto-scroll-offset", vl = "waterfall-thumbs-multiple-active-thumbs", El = "waterfall-thumbs-slide-thumb-active-class", Sl = "waterfall-thumbs-thumbs-container-class", yl = "waterfall-add-slide", vt = "waterfall-add-index", bl = "waterfall-append-slide", Al = "waterfall-prepend-slide", _l = "waterfall-remove-slide", Et = "waterfall-remove-index", xl = "waterfall-zoom-container-class", Cl = "waterfall-zoom-limit-to-original-size", Ll = "waterfall-zoom-max-ratio", Ml = "waterfall-zoom-min-ratio", Il = "waterfall-zoom-pan-on-mouse-move", Pl = "waterfall-zoom-toggle", Rl = "waterfall-zoom-zoomed-slide-class", Ol = "waterfall-parallax-enabled", bo = "data-swiper-parallax", Ao = "data-swiper-parallax-x", _o = "data-swiper-parallax-y", xo = "data-swiper-parallax-scale", Co = "data-swiper-parallax-opacity", Lo = "data-swiper-parallax-rotate", Mo = "data-swiper-parallax-duration", wl = "waterfall-callback-slide-change", ie = "waterfall-el", Dl = "pagination", st = "pagination-bullet", at = "pagination-bullet-active", Nl = "navigation-next", zl = "navigation-prev", $l = "scrollbar", kl = "scrollbar-drag", Gl = "slide-count", Bl = "autoplay-control", Hl = "autoplay-control-pause", Fl = "autoplay-control-play";
|
|
4897
|
+
function Vl(e, t, s) {
|
|
4898
|
+
e.allowSlideNext = D(t, Ln, !0), e.allowSlidePrev = D(t, Mn, !0), e.navigation = {
|
|
4899
|
+
disabledClass: F(t, Ar, "swiper-button-disabled"),
|
|
4900
|
+
enabled: D(t, _r),
|
|
4901
|
+
hiddenClass: F(t, xr, "swiper-button-hidden"),
|
|
4902
|
+
hideOnClick: D(t, Cr, !1),
|
|
4903
|
+
lockClass: F(t, Lr, "swiper-button-lock"),
|
|
4904
|
+
navigationDisabledClass: F(t, Mr, "swiper-navigation-disabled"),
|
|
4905
|
+
nextEl: `[${ce}='${s}'] [${ie}=${Nl}]`,
|
|
4906
|
+
prevEl: `[${ce}='${s}'] [${ie}=${zl}]`
|
|
4902
4907
|
};
|
|
4903
4908
|
}
|
|
4904
|
-
const
|
|
4905
|
-
{ key: "slidesPerView", attr:
|
|
4906
|
-
{ key: "slidesPerGroup", attr:
|
|
4907
|
-
{ key: "spaceBetween", attr:
|
|
4908
|
-
{ key: "centeredSlides", attr:
|
|
4909
|
-
],
|
|
4909
|
+
const Wl = [
|
|
4910
|
+
{ key: "slidesPerView", attr: zt, parse: Rt, swiperDefault: 1 },
|
|
4911
|
+
{ key: "slidesPerGroup", attr: Nt, parse: Y, swiperDefault: 1 },
|
|
4912
|
+
{ key: "spaceBetween", attr: $t, parse: Y, swiperDefault: 0 },
|
|
4913
|
+
{ key: "centeredSlides", attr: Dt, parse: D, swiperDefault: !1 }
|
|
4914
|
+
], Yl = [
|
|
4910
4915
|
{ minWidth: 0, cascade: ["mobile", "mobile-large", "tablet"] },
|
|
4911
4916
|
// Mobile portrait: 479px and below
|
|
4912
4917
|
{ minWidth: 480, cascade: ["mobile-large", "tablet"] },
|
|
@@ -4920,62 +4925,93 @@ const Zl = [
|
|
|
4920
4925
|
{ minWidth: 1440, cascade: ["desktop-large", "desktop-small", "desktop"] }
|
|
4921
4926
|
// 1440px and up
|
|
4922
4927
|
];
|
|
4923
|
-
function
|
|
4924
|
-
e.breakpointsBase =
|
|
4928
|
+
function Xl(e, t) {
|
|
4929
|
+
e.breakpointsBase = F(t, Rn, "window");
|
|
4925
4930
|
const s = {};
|
|
4926
|
-
|
|
4931
|
+
Wl.forEach(({ key: a, attr: n, parse: i, swiperDefault: u }) => {
|
|
4927
4932
|
const d = {};
|
|
4928
|
-
if (
|
|
4929
|
-
const c = i(t,
|
|
4933
|
+
if (rn.forEach((p) => {
|
|
4934
|
+
const c = i(t, ln(n, p));
|
|
4930
4935
|
c !== void 0 && (d[p] = c);
|
|
4931
4936
|
}), Object.keys(d).length === 0) return;
|
|
4932
4937
|
const l = i(t, n) ?? u;
|
|
4933
|
-
|
|
4938
|
+
Yl.forEach(({ minWidth: p, cascade: c }) => {
|
|
4934
4939
|
const f = c.find((T) => d[T] !== void 0);
|
|
4935
4940
|
s[p] = { ...s[p], [a]: f ? d[f] : l };
|
|
4936
4941
|
});
|
|
4937
4942
|
}), e.breakpoints = s;
|
|
4938
4943
|
}
|
|
4939
|
-
function
|
|
4940
|
-
|
|
4944
|
+
function Ul(e, t) {
|
|
4945
|
+
if (!t) return;
|
|
4946
|
+
if (!e) {
|
|
4947
|
+
console.warn(
|
|
4948
|
+
`[PAGINATION] "${at}" needs a "${st}" beside it to tell the active class apart from a bullet's ordinary classes. Ignoring it.`,
|
|
4949
|
+
t
|
|
4950
|
+
);
|
|
4951
|
+
return;
|
|
4952
|
+
}
|
|
4953
|
+
const s = Ga(t, e);
|
|
4954
|
+
if (s) {
|
|
4955
|
+
if (s.includes(" ")) {
|
|
4956
|
+
console.warn(
|
|
4957
|
+
`[PAGINATION] "${at}" adds more than one class ("${s}") on top of "${st}", and only one is supported. Ignoring it - give the active element exactly one class the resting one does not have.`,
|
|
4958
|
+
t
|
|
4959
|
+
);
|
|
4960
|
+
return;
|
|
4961
|
+
}
|
|
4962
|
+
return s;
|
|
4963
|
+
}
|
|
4964
|
+
}
|
|
4965
|
+
function ql(e) {
|
|
4966
|
+
const t = e, s = t.__waterfallBulletDonation;
|
|
4967
|
+
if (s) return s;
|
|
4968
|
+
const a = e.querySelector(`[${ie}=${st}]`), n = e.querySelector(`[${ie}=${at}]`), i = {
|
|
4969
|
+
bulletClass: Pt(a),
|
|
4970
|
+
bulletActiveClass: Ul(a, n),
|
|
4971
|
+
bulletElement: a?.tagName?.toLowerCase()
|
|
4972
|
+
};
|
|
4973
|
+
return t.__waterfallBulletDonation = i, i;
|
|
4974
|
+
}
|
|
4975
|
+
function jl(e, t) {
|
|
4976
|
+
const s = t.querySelector(`[${ie}=${Dl}]`);
|
|
4941
4977
|
if (!s) return;
|
|
4942
|
-
const a =
|
|
4978
|
+
const a = F(t, Ir), n = ql(t);
|
|
4943
4979
|
e.pagination = {
|
|
4944
|
-
bulletActiveClass:
|
|
4945
|
-
bulletClass:
|
|
4946
|
-
bulletElement: n
|
|
4947
|
-
clickable: D(t,
|
|
4948
|
-
clickableClass:
|
|
4949
|
-
currentClass:
|
|
4950
|
-
dynamicBullets: D(t,
|
|
4951
|
-
dynamicMainBullets: Y(t,
|
|
4980
|
+
bulletActiveClass: n.bulletActiveClass,
|
|
4981
|
+
bulletClass: n.bulletClass,
|
|
4982
|
+
bulletElement: n.bulletElement || "span",
|
|
4983
|
+
clickable: D(t, Pr, !1),
|
|
4984
|
+
clickableClass: F(t, Rr, "swiper-pagination-clickable"),
|
|
4985
|
+
currentClass: F(t, Or, "swiper-pagination-current"),
|
|
4986
|
+
dynamicBullets: D(t, wr, !1),
|
|
4987
|
+
dynamicMainBullets: Y(t, Dr, 1),
|
|
4952
4988
|
el: s || null,
|
|
4953
|
-
enabled: D(t,
|
|
4954
|
-
hiddenClass:
|
|
4955
|
-
hideOnClick: D(t,
|
|
4956
|
-
horizontalClass:
|
|
4957
|
-
lockClass:
|
|
4958
|
-
modifierClass:
|
|
4959
|
-
paginationDisabledClass:
|
|
4989
|
+
enabled: D(t, Nr),
|
|
4990
|
+
hiddenClass: F(t, zr, "swiper-pagination-hidden"),
|
|
4991
|
+
hideOnClick: D(t, $r, !0),
|
|
4992
|
+
horizontalClass: F(t, kr, "swiper-pagination-horizontal"),
|
|
4993
|
+
lockClass: F(t, Gr, "swiper-pagination-lock"),
|
|
4994
|
+
modifierClass: F(t, Br, "swiper-pagination-"),
|
|
4995
|
+
paginationDisabledClass: F(
|
|
4960
4996
|
t,
|
|
4961
|
-
|
|
4997
|
+
Hr,
|
|
4962
4998
|
"swiper-pagination-disabled"
|
|
4963
4999
|
),
|
|
4964
|
-
progressbarFillClass:
|
|
5000
|
+
progressbarFillClass: F(
|
|
4965
5001
|
t,
|
|
4966
|
-
|
|
5002
|
+
Fr,
|
|
4967
5003
|
"swiper-pagination-progressbar-fill"
|
|
4968
5004
|
),
|
|
4969
|
-
progressbarOpposite: D(t,
|
|
4970
|
-
progressbarOppositeClass:
|
|
5005
|
+
progressbarOpposite: D(t, Vr, !1),
|
|
5006
|
+
progressbarOppositeClass: F(
|
|
4971
5007
|
t,
|
|
4972
|
-
|
|
5008
|
+
Wr,
|
|
4973
5009
|
"swiper-pagination-progressbar-opposite"
|
|
4974
5010
|
),
|
|
4975
5011
|
renderBullet: i(),
|
|
4976
|
-
totalClass:
|
|
5012
|
+
totalClass: F(t, Yr, "swiper-pagination-total"),
|
|
4977
5013
|
type: u(),
|
|
4978
|
-
verticalClass:
|
|
5014
|
+
verticalClass: F(t, Xr, "swiper-pagination-vertical")
|
|
4979
5015
|
};
|
|
4980
5016
|
function i() {
|
|
4981
5017
|
if (a === "numberBullets")
|
|
@@ -4987,104 +5023,104 @@ function eo(e, t) {
|
|
|
4987
5023
|
return a === "numberBullets" || a === "bullets" ? "bullets" : a === "fraction" ? "fraction" : a === "progressbar" ? "progressbar" : a === "custom" ? "custom" : "bullets";
|
|
4988
5024
|
}
|
|
4989
5025
|
}
|
|
4990
|
-
function
|
|
4991
|
-
const s = t.querySelector(`[${
|
|
5026
|
+
function Kl(e, t) {
|
|
5027
|
+
const s = t.querySelector(`[${ie}=${$l}]`);
|
|
4992
5028
|
if (!s) return;
|
|
4993
|
-
const a = s.querySelector(`[${
|
|
4994
|
-
|
|
4995
|
-
dragClass:
|
|
5029
|
+
const a = s.querySelector(`[${ie}=${kl}]`);
|
|
5030
|
+
e.scrollbar = {
|
|
5031
|
+
dragClass: Pt(a),
|
|
4996
5032
|
dragSize: be(t, ol, "auto"),
|
|
4997
5033
|
draggable: D(t, dl, !1),
|
|
4998
5034
|
el: s || null,
|
|
4999
5035
|
enabled: D(t, cl),
|
|
5000
5036
|
hide: D(t, fl, !0),
|
|
5001
|
-
horizontalClass:
|
|
5002
|
-
lockClass:
|
|
5003
|
-
scrollbarDisabledClass:
|
|
5037
|
+
horizontalClass: F(t, ul, "swiper-scrollbar-horizontal"),
|
|
5038
|
+
lockClass: F(t, pl, "swiper-scrollbar-lock"),
|
|
5039
|
+
scrollbarDisabledClass: F(t, ml, "swiper-scrollbar-disabled"),
|
|
5004
5040
|
snapOnRelease: D(t, gl, !0),
|
|
5005
5041
|
// NOTE doc says false but actually true
|
|
5006
|
-
verticalClass:
|
|
5042
|
+
verticalClass: F(t, hl, "swiper-scrollbar-vertical")
|
|
5007
5043
|
};
|
|
5008
5044
|
}
|
|
5009
|
-
function
|
|
5010
|
-
const s = D(t,
|
|
5045
|
+
function Zl(e, t) {
|
|
5046
|
+
const s = D(t, gt, !1), a = D(t, Tt, !1);
|
|
5011
5047
|
s && a && console.warn(
|
|
5012
|
-
`[PLAYBACK] "${
|
|
5048
|
+
`[PLAYBACK] "${gt}" and "${Tt}" cannot both be true. Using loop and ignoring rewind.`,
|
|
5013
5049
|
t
|
|
5014
|
-
), e.loop = s, e.rewind = s ? void 0 : a, e.loopAddBlankSlides = D(t,
|
|
5015
|
-
const n = D(t,
|
|
5016
|
-
let u = Y(t,
|
|
5050
|
+
), e.loop = s, e.rewind = s ? void 0 : a, e.loopAddBlankSlides = D(t, ei, !0), e.loopAdditionalSlides = Y(t, ti, 0), e.loopPreventsSliding = D(t, si, !0);
|
|
5051
|
+
const n = D(t, kt, !1), i = D(t, Gt, !1);
|
|
5052
|
+
let u = Y(t, Ur, void 0);
|
|
5017
5053
|
if (i && (u = 0), n) {
|
|
5018
|
-
|
|
5019
|
-
const d = D(t,
|
|
5054
|
+
Ql();
|
|
5055
|
+
const d = D(t, Bt, !1);
|
|
5020
5056
|
e.autoplay = {
|
|
5021
5057
|
// Explicit, so that a slider with no other autoplay attributes still reaches Swiper with
|
|
5022
5058
|
// autoplay on: removeNullOrUndefinedKeys drops an object whose every key parsed to undefined.
|
|
5023
5059
|
enabled: !0,
|
|
5024
5060
|
delay: u,
|
|
5025
|
-
disableOnInteraction: D(t,
|
|
5061
|
+
disableOnInteraction: D(t, qr, !1),
|
|
5026
5062
|
// documentation says default is true, doesn't appear to be correct
|
|
5027
|
-
reverseDirection: D(t,
|
|
5063
|
+
reverseDirection: D(t, jr, !1),
|
|
5028
5064
|
// Swiper's own hover pause does nothing while a transition is running, which is all of the
|
|
5029
5065
|
// time at delay 0. initSmoothAutoplayHover takes that case over.
|
|
5030
5066
|
pauseOnMouseEnter: u === 0 ? !1 : d,
|
|
5031
|
-
stopOnLastSlide: D(t,
|
|
5032
|
-
waitForTransition: D(t,
|
|
5067
|
+
stopOnLastSlide: D(t, Kr, !1),
|
|
5068
|
+
waitForTransition: D(t, Zr, !0)
|
|
5033
5069
|
};
|
|
5034
5070
|
}
|
|
5035
|
-
e.speed = Y(t,
|
|
5071
|
+
e.speed = Y(t, $i, 300), e.oneWayMovement = D(t, ui, !1);
|
|
5036
5072
|
}
|
|
5037
|
-
function
|
|
5038
|
-
document.querySelectorAll(`[${
|
|
5073
|
+
function Ql() {
|
|
5074
|
+
document.querySelectorAll(`[${Gt}='true'] .swiper-wrapper`).forEach((e) => {
|
|
5039
5075
|
e.style.transitionTimingFunction = "linear";
|
|
5040
5076
|
});
|
|
5041
5077
|
}
|
|
5042
|
-
function
|
|
5043
|
-
const s =
|
|
5044
|
-
e.effect = s, s === "fade" ? e.fadeEffect = { mode: be(t,
|
|
5045
|
-
depth: Y(t,
|
|
5046
|
-
modifier: Y(t,
|
|
5047
|
-
rotate: Y(t,
|
|
5048
|
-
scale: Y(t,
|
|
5049
|
-
slideShadows: D(t,
|
|
5050
|
-
stretch: Y(t,
|
|
5078
|
+
function Jl(e, t) {
|
|
5079
|
+
const s = F(t, Bn, "slide");
|
|
5080
|
+
e.effect = s, s === "fade" ? e.fadeEffect = { mode: be(t, cn, "default") } : s === "coverflow" ? e.coverflowEffect = {
|
|
5081
|
+
depth: Y(t, fn, 100),
|
|
5082
|
+
modifier: Y(t, un, 1),
|
|
5083
|
+
rotate: Y(t, pn, 50),
|
|
5084
|
+
scale: Y(t, mn, 1),
|
|
5085
|
+
slideShadows: D(t, hn, !0),
|
|
5086
|
+
stretch: Y(t, gn, 0)
|
|
5051
5087
|
} : s === "flip" ? e.flipEffect = {
|
|
5052
|
-
limitRotation: D(t,
|
|
5053
|
-
slideShadows: D(t,
|
|
5088
|
+
limitRotation: D(t, Tn, !0),
|
|
5089
|
+
slideShadows: D(t, vn, !0)
|
|
5054
5090
|
} : s === "cube" ? e.cubeEffect = {
|
|
5055
|
-
shadow: D(t,
|
|
5056
|
-
shadowOffset: Y(t,
|
|
5057
|
-
shadowScale: Y(t,
|
|
5058
|
-
slideShadows: D(t,
|
|
5091
|
+
shadow: D(t, En, !0),
|
|
5092
|
+
shadowOffset: Y(t, Sn, 20),
|
|
5093
|
+
shadowScale: Y(t, yn, 0.94),
|
|
5094
|
+
slideShadows: D(t, bn, !0)
|
|
5059
5095
|
} : s === "cards" && (e.cardsEffect = {
|
|
5060
|
-
perSlideOffset: Y(t,
|
|
5061
|
-
perSlideRotate: Y(t,
|
|
5062
|
-
rotate: D(t,
|
|
5063
|
-
slideShadows: D(t,
|
|
5096
|
+
perSlideOffset: Y(t, An, 8),
|
|
5097
|
+
perSlideRotate: Y(t, _n, 2),
|
|
5098
|
+
rotate: D(t, xn, !0),
|
|
5099
|
+
slideShadows: D(t, Cn, !0)
|
|
5064
5100
|
});
|
|
5065
5101
|
}
|
|
5066
|
-
function
|
|
5067
|
-
e.autoHeight = D(t,
|
|
5068
|
-
fill: be(t,
|
|
5069
|
-
rows: Y(t,
|
|
5070
|
-
}, e.height = Y(t,
|
|
5102
|
+
function eo(e, t) {
|
|
5103
|
+
e.autoHeight = D(t, Pn, !1), e.centerInsufficientSlides = D(t, On, !1), e.centeredSlides = D(t, Dt, !1), e.centeredSlidesBounds = D(t, wn, !1), e.direction = be(t, $n, "horizontal"), e.grid = {
|
|
5104
|
+
fill: be(t, br, "column"),
|
|
5105
|
+
rows: Y(t, yr, 1)
|
|
5106
|
+
}, e.height = Y(t, Xn), e.slidesOffsetAfter = Y(t, wi, 0), e.slidesOffsetBefore = Y(t, Di, 0), e.slidesPerGroup = Y(t, Nt, 1), e.slidesPerGroupAuto = D(t, Ni, !1), e.slidesPerGroupSkip = Y(t, zi, 0), e.slidesPerView = Rt(t, zt, 1), e.spaceBetween = Y(t, $t, 0), e.width = Y(t, tr);
|
|
5071
5107
|
}
|
|
5072
|
-
function
|
|
5073
|
-
e.containerModifierClass =
|
|
5108
|
+
function to(e, t) {
|
|
5109
|
+
e.containerModifierClass = F(t, Dn, "swiper-"), e.initialSlide = Y(t, qn, 0), e.nested = D(t, ni, !1), e.normalizeSlideIndex = D(t, oi, !0), e.slideActiveClass = F(t, xi, "swiper-slide-active"), e.slideBlankClass = F(t, Li, "swiper-slide-blank"), e.slideClass = F(t, Ci, "swiper-slide"), e.slideFullyVisibleClass = F(t, Mi, "swiper-slide-fully-visible"), e.slideNextClass = F(t, Ii, "swiper-slide-next"), e.slidePrevClass = F(t, Pi, "swiper-slide-prev"), e.slideVisibleClass = F(t, Oi, "swiper-slide-visible"), e.swipeHandler = F(t, ki), e.swiperElementNodeName = F(t, Gi, "SWIPER-CONTAINER"), e.wrapperClass = F(t, sr, "swiper-wrapper");
|
|
5074
5110
|
}
|
|
5075
|
-
function
|
|
5111
|
+
function so() {
|
|
5076
5112
|
document.querySelectorAll(".swiper-wrapper").forEach((e) => {
|
|
5077
5113
|
e.querySelectorAll(".swiper-slide").forEach((t, s) => {
|
|
5078
|
-
const a = t.querySelector(`[${
|
|
5114
|
+
const a = t.querySelector(`[${ie}=${Gl}]`);
|
|
5079
5115
|
a && (a.textContent = (s + 1).toString());
|
|
5080
5116
|
});
|
|
5081
5117
|
});
|
|
5082
5118
|
}
|
|
5083
|
-
function
|
|
5084
|
-
const n =
|
|
5119
|
+
function ao(e, t, s, a) {
|
|
5120
|
+
const n = F(t, tt, "");
|
|
5085
5121
|
if (!n || n === "")
|
|
5086
5122
|
return;
|
|
5087
|
-
const i =
|
|
5123
|
+
const i = wt(s, n);
|
|
5088
5124
|
if (!i) {
|
|
5089
5125
|
a && console.warn("A matching thumbs waterfall was not found for ", n);
|
|
5090
5126
|
return;
|
|
@@ -5092,60 +5128,60 @@ function oo(e, t, s, a) {
|
|
|
5092
5128
|
return e.thumbs = {
|
|
5093
5129
|
autoScrollOffset: Y(t, Tl, 0),
|
|
5094
5130
|
multipleActiveThumbs: D(t, vl, !1),
|
|
5095
|
-
slideThumbActiveClass:
|
|
5131
|
+
slideThumbActiveClass: F(t, El, "swiper-slide-thumb-active"),
|
|
5096
5132
|
swiper: i.swiper,
|
|
5097
|
-
thumbsContainerClass:
|
|
5133
|
+
thumbsContainerClass: F(t, Sl, "swiper-thumbs")
|
|
5098
5134
|
}, e;
|
|
5099
5135
|
}
|
|
5100
|
-
function
|
|
5136
|
+
function no(e, t) {
|
|
5101
5137
|
e.keyboard = {
|
|
5102
|
-
enabled: D(t,
|
|
5103
|
-
onlyInViewport: D(t,
|
|
5104
|
-
pageUpDown: D(t,
|
|
5138
|
+
enabled: D(t, dr, !1),
|
|
5139
|
+
onlyInViewport: D(t, cr, !0),
|
|
5140
|
+
pageUpDown: D(t, fr, !0)
|
|
5105
5141
|
};
|
|
5106
5142
|
}
|
|
5107
|
-
function
|
|
5143
|
+
function io(e, t) {
|
|
5108
5144
|
e.hashNavigation = {
|
|
5109
5145
|
//getSlideIndex
|
|
5110
|
-
replaceState: D(t,
|
|
5111
|
-
watchState: D(t,
|
|
5146
|
+
replaceState: D(t, ar, !1),
|
|
5147
|
+
watchState: D(t, nr, !1)
|
|
5112
5148
|
};
|
|
5113
5149
|
}
|
|
5114
|
-
function
|
|
5150
|
+
function ro(e, t) {
|
|
5115
5151
|
e.history = {
|
|
5116
|
-
keepQuery: D(t,
|
|
5117
|
-
key:
|
|
5118
|
-
replaceState: D(t,
|
|
5119
|
-
root:
|
|
5152
|
+
keepQuery: D(t, ir, !1),
|
|
5153
|
+
key: F(t, rr, "slides"),
|
|
5154
|
+
replaceState: D(t, lr, !1),
|
|
5155
|
+
root: F(t, or, "")
|
|
5120
5156
|
};
|
|
5121
5157
|
}
|
|
5122
|
-
function
|
|
5123
|
-
const n =
|
|
5158
|
+
function lo(e, t, s, a) {
|
|
5159
|
+
const n = F(t, et, "");
|
|
5124
5160
|
if (!n) return;
|
|
5125
|
-
const i =
|
|
5161
|
+
const i = Ha(s, n, a);
|
|
5126
5162
|
a && (i.length ? console.log(`Controller Swipers for selector "${n}":`, i) : console.error(`No controller swipers found for selector "${n}"`)), e.controller = {
|
|
5127
|
-
by: be(t,
|
|
5163
|
+
by: be(t, on, "slide"),
|
|
5128
5164
|
control: i,
|
|
5129
|
-
inverse: D(t,
|
|
5165
|
+
inverse: D(t, dn, !1)
|
|
5130
5166
|
};
|
|
5131
5167
|
}
|
|
5132
|
-
function
|
|
5168
|
+
function oo(e, t) {
|
|
5133
5169
|
e.a11y = {
|
|
5134
|
-
containerMessage:
|
|
5135
|
-
containerRole:
|
|
5136
|
-
containerRoleDescriptionMessage:
|
|
5137
|
-
enabled: D(t,
|
|
5138
|
-
firstSlideMessage:
|
|
5139
|
-
id:
|
|
5140
|
-
itemRoleDescriptionMessage:
|
|
5141
|
-
lastSlideMessage:
|
|
5142
|
-
nextSlideMessage:
|
|
5143
|
-
notificationClass:
|
|
5144
|
-
paginationBulletMessage:
|
|
5145
|
-
prevSlideMessage:
|
|
5146
|
-
scrollOnFocus: D(t,
|
|
5147
|
-
slideLabelMessage:
|
|
5148
|
-
slideRole:
|
|
5170
|
+
containerMessage: F(t, Wa),
|
|
5171
|
+
containerRole: F(t, Ya),
|
|
5172
|
+
containerRoleDescriptionMessage: F(t, Xa),
|
|
5173
|
+
enabled: D(t, Ua, !0),
|
|
5174
|
+
firstSlideMessage: F(t, qa, "This is the first slide"),
|
|
5175
|
+
id: F(t, ja),
|
|
5176
|
+
itemRoleDescriptionMessage: F(t, Ka),
|
|
5177
|
+
lastSlideMessage: F(t, Za, "This is the last slide"),
|
|
5178
|
+
nextSlideMessage: F(t, Qa, "Next slide"),
|
|
5179
|
+
notificationClass: F(t, Ja, "swiper-notification"),
|
|
5180
|
+
paginationBulletMessage: F(t, en, "Go to slide {{index}}"),
|
|
5181
|
+
prevSlideMessage: F(t, tn, "Previous slide"),
|
|
5182
|
+
scrollOnFocus: D(t, sn, !0),
|
|
5183
|
+
slideLabelMessage: F(t, an, "{{index}} / {{slidesLength}}"),
|
|
5184
|
+
slideRole: F(t, nn, "group")
|
|
5149
5185
|
};
|
|
5150
5186
|
}
|
|
5151
5187
|
function we(e, t) {
|
|
@@ -5157,22 +5193,22 @@ function we(e, t) {
|
|
|
5157
5193
|
document.querySelectorAll(`[${e}]`).forEach((a) => {
|
|
5158
5194
|
const n = a.getAttribute(e);
|
|
5159
5195
|
if (!n) return;
|
|
5160
|
-
const i =
|
|
5196
|
+
const i = Ba(window.waterfalls, n, a);
|
|
5161
5197
|
if (!i) return;
|
|
5162
5198
|
const u = i.swiper, d = a.cloneNode(!0);
|
|
5163
|
-
if (d.removeAttribute(e), t === "add" ? d.removeAttribute(
|
|
5199
|
+
if (d.removeAttribute(e), t === "add" ? d.removeAttribute(vt) : t === "remove" && d.removeAttribute(Et), d.classList.contains("swiper-slide") || d.classList.add("swiper-slide"), t === "append")
|
|
5164
5200
|
u.appendSlide(d.outerHTML);
|
|
5165
5201
|
else if (t === "prepend")
|
|
5166
5202
|
u.prependSlide(d.outerHTML);
|
|
5167
5203
|
else if (t === "add") {
|
|
5168
|
-
let p = Number(a.getAttribute(
|
|
5204
|
+
let p = Number(a.getAttribute(vt));
|
|
5169
5205
|
p || (p = 1);
|
|
5170
5206
|
const c = document.createElement("div");
|
|
5171
5207
|
c.innerHTML = d.outerHTML;
|
|
5172
5208
|
const f = c.children[0];
|
|
5173
5209
|
f && u.addSlide(p, f);
|
|
5174
5210
|
} else if (t === "remove") {
|
|
5175
|
-
const p = Number(a.getAttribute(
|
|
5211
|
+
const p = Number(a.getAttribute(Et));
|
|
5176
5212
|
p !== -1 ? u.removeSlide(p) : console.warn(`[MANIPULATION] Slide not found in Swiper for removal: ${n}`);
|
|
5177
5213
|
}
|
|
5178
5214
|
a.remove();
|
|
@@ -5180,75 +5216,68 @@ function we(e, t) {
|
|
|
5180
5216
|
l && s.add(l), u.update();
|
|
5181
5217
|
}), s.forEach((a) => a.remove());
|
|
5182
5218
|
}
|
|
5183
|
-
function
|
|
5219
|
+
function co() {
|
|
5184
5220
|
we(yl, "add"), we(bl, "append"), we(Al, "prepend"), we(_l, "remove");
|
|
5185
5221
|
}
|
|
5186
|
-
function
|
|
5222
|
+
function fo(e, t) {
|
|
5187
5223
|
e.zoom = {
|
|
5188
|
-
containerClass:
|
|
5224
|
+
containerClass: F(t, xl, "swiper-zoom-container"),
|
|
5189
5225
|
limitToOriginalSize: D(t, Cl, !1),
|
|
5190
5226
|
maxRatio: Y(t, Ll, 3),
|
|
5191
5227
|
minRatio: Y(t, Ml, 1),
|
|
5192
5228
|
panOnMouseMove: D(t, Il, !1),
|
|
5193
5229
|
toggle: D(t, Pl, !0),
|
|
5194
|
-
zoomedSlideClass:
|
|
5230
|
+
zoomedSlideClass: F(t, Rl, "swiper-slide-zoomed")
|
|
5195
5231
|
};
|
|
5196
5232
|
}
|
|
5197
|
-
function
|
|
5198
|
-
e.allowTouchMove = D(t,
|
|
5233
|
+
function uo(e, t) {
|
|
5234
|
+
e.allowTouchMove = D(t, In, !0), e.edgeSwipeDetection = D(t, kn, !1), e.edgeSwipeThreshold = Y(t, Gn, 20), e.focusableElements = F(
|
|
5199
5235
|
t,
|
|
5200
|
-
|
|
5236
|
+
Vn,
|
|
5201
5237
|
"input, select, option, textarea, button, video, label"
|
|
5202
|
-
), e.followFinger = D(t,
|
|
5238
|
+
), e.followFinger = D(t, Wn, !0), e.grabCursor = D(t, Yn, !1), e.longSwipes = D(t, Zn, !0), e.longSwipesMs = Y(t, Qn, 300), e.longSwipesRatio = Y(t, Jn, 0.5), e.noSwiping = D(t, ii, !0), e.noSwipingClass = F(t, ri, "swiper-no-swiping"), e.noSwipingSelector = F(t, li), e.preventClicks = D(t, mi, !0), e.preventClicksPropagation = D(t, hi, !0), e.preventInteractionOnTransition = D(t, gi, !1), e.resistance = D(t, Ti, !0), e.resistanceRatio = Y(t, vi, 0.85), e.shortSwipes = D(t, Ai, !0), e.simulateTouch = D(t, _i, !0), e.slideToClickedSlide = D(t, Ri, !1), e.threshold = Y(t, Bi, 5), e.touchAngle = Y(t, Hi, 45), e.touchEventsTarget = be(t, Fi, "wrapper"), e.touchMoveStopPropagation = D(t, Vi, !1), e.touchRatio = Y(t, Wi, 1), e.touchReleaseOnEdges = D(t, Yi, !1), e.touchStartForcePreventDefault = D(t, Xi, !1), e.touchStartPreventDefault = D(t, Ui, !0);
|
|
5203
5239
|
}
|
|
5204
|
-
function
|
|
5240
|
+
function po(e, t) {
|
|
5205
5241
|
e.mousewheel = {
|
|
5206
|
-
enabled: D(t,
|
|
5207
|
-
eventsTarget:
|
|
5208
|
-
forceToAxis: D(t,
|
|
5209
|
-
invert: D(t,
|
|
5210
|
-
noMousewheelClass:
|
|
5211
|
-
releaseOnEdges: D(t,
|
|
5212
|
-
sensitivity: Y(t,
|
|
5213
|
-
thresholdDelta: Y(t,
|
|
5214
|
-
thresholdTime: Y(t,
|
|
5242
|
+
enabled: D(t, ur, !1),
|
|
5243
|
+
eventsTarget: F(t, pr, "container"),
|
|
5244
|
+
forceToAxis: D(t, mr, !1),
|
|
5245
|
+
invert: D(t, hr, !1),
|
|
5246
|
+
noMousewheelClass: F(t, gr, "swiper-no-mousewheel"),
|
|
5247
|
+
releaseOnEdges: D(t, Tr, !1),
|
|
5248
|
+
sensitivity: Y(t, vr, 1),
|
|
5249
|
+
thresholdDelta: Y(t, Er),
|
|
5250
|
+
thresholdTime: Y(t, Sr)
|
|
5215
5251
|
};
|
|
5216
5252
|
}
|
|
5217
|
-
function
|
|
5253
|
+
function mo(e, t) {
|
|
5218
5254
|
e.freeMode = {
|
|
5219
|
-
enabled: D(t,
|
|
5220
|
-
minimumVelocity: Y(t,
|
|
5221
|
-
momentum: D(t,
|
|
5222
|
-
momentumBounce: D(t,
|
|
5223
|
-
momentumBounceRatio: Y(t,
|
|
5224
|
-
momentumRatio: Y(t,
|
|
5225
|
-
momentumVelocityRatio: Y(t,
|
|
5226
|
-
sticky: D(t,
|
|
5255
|
+
enabled: D(t, el, !1),
|
|
5256
|
+
minimumVelocity: Y(t, tl, 0.02),
|
|
5257
|
+
momentum: D(t, sl, !0),
|
|
5258
|
+
momentumBounce: D(t, al, !0),
|
|
5259
|
+
momentumBounceRatio: Y(t, nl, 1),
|
|
5260
|
+
momentumRatio: Y(t, il, 1),
|
|
5261
|
+
momentumVelocityRatio: Y(t, rl, 1),
|
|
5262
|
+
sticky: D(t, ll, !1)
|
|
5227
5263
|
};
|
|
5228
5264
|
}
|
|
5229
|
-
function
|
|
5230
|
-
e.lazyPreloadPrevNext = Y(t,
|
|
5265
|
+
function ho(e, t) {
|
|
5266
|
+
e.lazyPreloadPrevNext = Y(t, jn, 0), e.lazyPreloaderClass = F(t, Kn, "swiper-lazy-preloader");
|
|
5231
5267
|
}
|
|
5232
|
-
function
|
|
5233
|
-
e.createElements = D(t,
|
|
5234
|
-
}
|
|
5235
|
-
function
|
|
5236
|
-
e.observeParents = D(t,
|
|
5237
|
-
}
|
|
5238
|
-
|
|
5239
|
-
|
|
5240
|
-
|
|
5241
|
-
|
|
5242
|
-
|
|
5243
|
-
|
|
5244
|
-
|
|
5245
|
-
].map((e) => `[${e}]`).join(", ");
|
|
5246
|
-
function _o(e, t) {
|
|
5247
|
-
const a = D(t, Ol) ?? t.querySelector(Ao) !== null;
|
|
5248
|
-
e.parallax = { enabled: a };
|
|
5249
|
-
}
|
|
5250
|
-
function xo(e, t) {
|
|
5251
|
-
const s = H(t, Gl, void 0);
|
|
5268
|
+
function go(e, t) {
|
|
5269
|
+
e.createElements = D(t, Nn, !1), e.cssMode = D(t, zn, !1), e.enabled = D(t, Hn, !0), e.eventsPrefix = F(t, Fn, "swiper"), e.init = D(t, Un, !0), e.maxBackfaceHiddenSlides = Y(t, ai, 10), e.passiveListeners = D(t, pi, !0), e.roundLengths = D(t, Si, !1), e.runCallbacksOnInit = D(t, yi, !0), e.setWrapperSize = D(t, bi, !1), e.uniqueNavElements = D(t, qi, !0), e.virtualTranslate = D(t, Qi, !1), e.url = F(t, Ki), e.userAgent = F(t, Zi);
|
|
5270
|
+
}
|
|
5271
|
+
function To(e, t) {
|
|
5272
|
+
e.observeParents = D(t, di, !1), e.observeSlideChildren = D(t, ci, !1), e.observer = D(t, fi, !1), e.resizeObserver = D(t, Ei, !0), e.updateOnWindowResize = D(t, ji, !0), e.watchOverflow = D(t, Ji, !0), e.watchSlidesProgress = D(t, er, !1);
|
|
5273
|
+
}
|
|
5274
|
+
function vo(e, t) {
|
|
5275
|
+
e.parallax = {
|
|
5276
|
+
enabled: D(t, Ol, !1)
|
|
5277
|
+
};
|
|
5278
|
+
}
|
|
5279
|
+
function Eo(e, t) {
|
|
5280
|
+
const s = F(t, wl, void 0);
|
|
5252
5281
|
if (s) {
|
|
5253
5282
|
let a = 0;
|
|
5254
5283
|
e.on = {
|
|
@@ -5266,12 +5295,12 @@ function xo(e, t) {
|
|
|
5266
5295
|
};
|
|
5267
5296
|
}
|
|
5268
5297
|
}
|
|
5269
|
-
function
|
|
5270
|
-
const a = D(e,
|
|
5298
|
+
function So(e, t, s) {
|
|
5299
|
+
const a = D(e, Qr, !0) !== !1, n = D(e, kt, !1);
|
|
5271
5300
|
if (!a || !n) return;
|
|
5272
|
-
const i = `[${ce}='${t}'] [${
|
|
5301
|
+
const i = `[${ce}='${t}'] [${ie}='${Bl}']`, u = `[${ce}='${t}'] [${ie}='${Hl}']`, d = `[${ce}='${t}'] [${ie}='${Fl}']`, l = document.querySelector(i), p = document.querySelector(u), c = document.querySelector(d);
|
|
5273
5302
|
if (!l || !p || !c) return;
|
|
5274
|
-
const f =
|
|
5303
|
+
const f = F(e, Jr, "playing");
|
|
5275
5304
|
function T(o) {
|
|
5276
5305
|
o ? (p.style.setProperty("display", "block", "important"), p.style.setProperty("visibility", "visible", "important"), c.style.setProperty("display", "none", "important"), c.style.setProperty("visibility", "hidden", "important")) : (c.style.setProperty("display", "block", "important"), c.style.setProperty("visibility", "visible", "important"), p.style.setProperty("display", "none", "important"), p.style.setProperty("visibility", "hidden", "important"));
|
|
5277
5306
|
}
|
|
@@ -5279,8 +5308,8 @@ function Co(e, t, s) {
|
|
|
5279
5308
|
s.autoplay && (s.autoplay.running ? (s.autoplay.stop(), T(!1)) : (s.autoplay.start(), T(!0)));
|
|
5280
5309
|
});
|
|
5281
5310
|
}
|
|
5282
|
-
function
|
|
5283
|
-
const s = D(e,
|
|
5311
|
+
function yo(e, t) {
|
|
5312
|
+
const s = D(e, Bt, !1), a = t.params.autoplay;
|
|
5284
5313
|
if (s !== !0 || !t.autoplay || typeof a != "object" || !a.enabled || a.delay !== 0) return;
|
|
5285
5314
|
let n = "idle", i = 0, u = 0, d = 0, l = !1, p;
|
|
5286
5315
|
const c = () => parseFloat(getComputedStyle(t.wrapperEl).transitionDuration) * 1e3 || 0;
|
|
@@ -5324,31 +5353,31 @@ function Lo(e, t) {
|
|
|
5324
5353
|
});
|
|
5325
5354
|
}
|
|
5326
5355
|
console.log(
|
|
5327
|
-
"🚿 Hello from Wellspring Waterfall (v1.
|
|
5356
|
+
"🚿 Hello from Wellspring Waterfall (v1.6.0). To learn more, visit https://heywellspring.com/apps/waterfall"
|
|
5328
5357
|
);
|
|
5329
5358
|
const De = [];
|
|
5330
5359
|
window.waterfalls = De;
|
|
5331
|
-
function
|
|
5360
|
+
function St(e, t) {
|
|
5332
5361
|
let s = t;
|
|
5333
5362
|
return document.querySelectorAll(e).forEach((a) => {
|
|
5334
|
-
|
|
5363
|
+
Ht(a, s++);
|
|
5335
5364
|
}), s;
|
|
5336
5365
|
}
|
|
5337
5366
|
let _e = 0;
|
|
5338
5367
|
document.addEventListener("DOMContentLoaded", () => {
|
|
5339
5368
|
document.querySelectorAll(`[${ce}]`).forEach((e) => {
|
|
5340
|
-
e.hasAttribute(tt) || e.hasAttribute(et) ||
|
|
5341
|
-
}), _e =
|
|
5369
|
+
e.hasAttribute(tt) || e.hasAttribute(et) || Ht(e, _e++);
|
|
5370
|
+
}), _e = St(`[${ce}][${tt}]`, _e), _e = St(`[${ce}][${et}]`, _e), so(), Fa();
|
|
5342
5371
|
});
|
|
5343
|
-
function
|
|
5372
|
+
function Ht(e, t) {
|
|
5344
5373
|
{
|
|
5345
|
-
const s =
|
|
5374
|
+
const s = F(e, ce, `Swiper ${t}`);
|
|
5346
5375
|
if (!s) return;
|
|
5347
|
-
const a = !!D(e,
|
|
5376
|
+
const a = !!D(e, Va, !1);
|
|
5348
5377
|
a && console.warn(`Initializing Waterfall: ${s}`);
|
|
5349
5378
|
const n = {};
|
|
5350
|
-
|
|
5351
|
-
const i =
|
|
5379
|
+
to(n, e), Xl(n, e), Zl(n, e), Vl(n, e, s), jl(n, e), Kl(n, e), Jl(n, e), mo(n, e), eo(n, e), ao(n, e, De, a), no(n, e), po(n, e), uo(n, e), io(n, e), ro(n, e), lo(n, e, De, a), oo(n, e), ho(n, e), To(n, e), fo(n, e), vo(n, e), Eo(n, e), go(n, e), co(), a && console.warn(n);
|
|
5380
|
+
const i = Ot(n), u = e.querySelector(".swiper");
|
|
5352
5381
|
a && console.log("SWIPER: ", u);
|
|
5353
5382
|
const d = u?.querySelectorAll(".swiper-slide") || [];
|
|
5354
5383
|
if (a && console.log("SWIPER SLIDES: ", d), d.length === 0) {
|
|
@@ -5356,178 +5385,175 @@ function Gt(e, t) {
|
|
|
5356
5385
|
return;
|
|
5357
5386
|
}
|
|
5358
5387
|
const l = new te(u, i);
|
|
5359
|
-
De.push({ name: s, swiper: l }),
|
|
5388
|
+
De.push({ name: s, swiper: l }), So(e, s, l), yo(e, l);
|
|
5360
5389
|
}
|
|
5361
5390
|
}
|
|
5362
5391
|
export {
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
|
|
5386
|
-
|
|
5387
|
-
|
|
5388
|
-
|
|
5389
|
-
|
|
5390
|
-
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5392
|
+
Wa as ATTR_A11Y_CONTAINER_MESSAGE,
|
|
5393
|
+
Ya as ATTR_A11Y_CONTAINER_ROLE,
|
|
5394
|
+
Xa as ATTR_A11Y_CONTAINER_ROLE_DESCRIPTION_MESSAGE,
|
|
5395
|
+
Ua as ATTR_A11Y_ENABLED,
|
|
5396
|
+
qa as ATTR_A11Y_FIRST_SLIDE_MESSAGE,
|
|
5397
|
+
ja as ATTR_A11Y_ID,
|
|
5398
|
+
Ka as ATTR_A11Y_ITEM_ROLE_DESCRIPTION_MESSAGE,
|
|
5399
|
+
Za as ATTR_A11Y_LAST_SLIDE_MESSAGE,
|
|
5400
|
+
Qa as ATTR_A11Y_NEXT_SLIDE_MESSAGE,
|
|
5401
|
+
Ja as ATTR_A11Y_NOTIFICATION_CLASS,
|
|
5402
|
+
en as ATTR_A11Y_PAGINATION_BULLET_MESSAGE,
|
|
5403
|
+
tn as ATTR_A11Y_PREV_SLIDE_MESSAGE,
|
|
5404
|
+
sn as ATTR_A11Y_SCROLL_ON_FOCUS,
|
|
5405
|
+
an as ATTR_A11Y_SLIDE_LABEL_MESSAGE,
|
|
5406
|
+
nn as ATTR_A11Y_SLIDE_ROLE,
|
|
5407
|
+
Ln as ATTR_ALLOW_SLIDE_NEXT,
|
|
5408
|
+
Mn as ATTR_ALLOW_SLIDE_PREV,
|
|
5409
|
+
In as ATTR_ALLOW_TOUCH_MOVE,
|
|
5410
|
+
kt as ATTR_AUTOPLAY,
|
|
5411
|
+
Jr as ATTR_AUTOPLAY_CONTROL_DEFAULT_STATE,
|
|
5412
|
+
Qr as ATTR_AUTOPLAY_CONTROL_ENABLED,
|
|
5413
|
+
Ur as ATTR_AUTOPLAY_DELAY,
|
|
5414
|
+
qr as ATTR_AUTOPLAY_DISABLE_ON_INTERACTION,
|
|
5415
|
+
Bt as ATTR_AUTOPLAY_PAUSE_ON_MOUSE_ENTER,
|
|
5416
|
+
jr as ATTR_AUTOPLAY_REVERSE_DIRECTION,
|
|
5417
|
+
Kr as ATTR_AUTOPLAY_STOP_ON_LAST_SLIDE,
|
|
5418
|
+
Zr as ATTR_AUTOPLAY_WAIT_FOR_TRANSITION,
|
|
5419
|
+
Pn as ATTR_AUTO_HEIGHT,
|
|
5420
|
+
Rn as ATTR_BREAKPOINTS_BASE,
|
|
5421
|
+
wl as ATTR_CALLBACK_SLIDE_CHANGE,
|
|
5422
|
+
An as ATTR_CARDS_EFFECT_PER_SLIDE_OFFSET,
|
|
5423
|
+
_n as ATTR_CARDS_EFFECT_PER_SLIDE_ROTATE,
|
|
5424
|
+
xn as ATTR_CARDS_EFFECT_ROTATE,
|
|
5425
|
+
Cn as ATTR_CARDS_EFFECT_SLIDE_SHADOWS,
|
|
5426
|
+
Dt as ATTR_CENTERED_SLIDES,
|
|
5427
|
+
wn as ATTR_CENTERED_SLIDES_BOUNDS,
|
|
5428
|
+
On as ATTR_CENTER_INSUFFICIENT_SLIDES,
|
|
5429
|
+
Dn as ATTR_CONTAINER_MODIFIER_CLASS,
|
|
5430
|
+
on as ATTR_CONTROLLER_BY,
|
|
5402
5431
|
et as ATTR_CONTROLLER_CONTROL,
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5439
|
-
|
|
5440
|
-
|
|
5441
|
-
|
|
5442
|
-
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5448
|
-
|
|
5449
|
-
|
|
5450
|
-
|
|
5451
|
-
|
|
5452
|
-
|
|
5453
|
-
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
|
|
5458
|
-
|
|
5459
|
-
|
|
5460
|
-
|
|
5432
|
+
dn as ATTR_CONTROLLER_INVERSE,
|
|
5433
|
+
fn as ATTR_COVERFLOW_EFFECT_DEPTH,
|
|
5434
|
+
un as ATTR_COVERFLOW_EFFECT_MODIFIER,
|
|
5435
|
+
pn as ATTR_COVERFLOW_EFFECT_ROTATE,
|
|
5436
|
+
mn as ATTR_COVERFLOW_EFFECT_SCALE,
|
|
5437
|
+
hn as ATTR_COVERFLOW_EFFECT_SLIDE_SHADOWS,
|
|
5438
|
+
gn as ATTR_COVERFLOW_EFFECT_STRETCH,
|
|
5439
|
+
Nn as ATTR_CREATE_ELEMENTS,
|
|
5440
|
+
zn as ATTR_CSS_MODE,
|
|
5441
|
+
En as ATTR_CUBE_EFFECT_SHADOW,
|
|
5442
|
+
Sn as ATTR_CUBE_EFFECT_SHADOW_OFFSET,
|
|
5443
|
+
yn as ATTR_CUBE_EFFECT_SHADOW_SCALE,
|
|
5444
|
+
bn as ATTR_CUBE_EFFECT_SLIDE_SHADOWS,
|
|
5445
|
+
Va as ATTR_DEBUG_MODE,
|
|
5446
|
+
$n as ATTR_DIRECTION,
|
|
5447
|
+
kn as ATTR_EDGE_SWIPE_DETECTION,
|
|
5448
|
+
Gn as ATTR_EDGE_SWIPE_THRESHOLD,
|
|
5449
|
+
Bn as ATTR_EFFECT,
|
|
5450
|
+
Hn as ATTR_ENABLED,
|
|
5451
|
+
Fn as ATTR_EVENTS_PREFIX,
|
|
5452
|
+
cn as ATTR_FADE_EFFECT_MODE,
|
|
5453
|
+
Tn as ATTR_FLIP_EFFECT_LIMIT_ROTATION,
|
|
5454
|
+
vn as ATTR_FLIP_EFFECT_SLIDE_SHADOWS,
|
|
5455
|
+
Vn as ATTR_FOCUSABLE_ELEMENTS,
|
|
5456
|
+
Wn as ATTR_FOLLOW_FINGER,
|
|
5457
|
+
el as ATTR_FREE_MODE_ENABLED,
|
|
5458
|
+
tl as ATTR_FREE_MODE_MINIMUM_VELOCITY,
|
|
5459
|
+
sl as ATTR_FREE_MODE_MOMENTUM,
|
|
5460
|
+
al as ATTR_FREE_MODE_MOMENTUM_BOUNCE,
|
|
5461
|
+
nl as ATTR_FREE_MODE_MOMENTUM_BOUNCE_RATIO,
|
|
5462
|
+
il as ATTR_FREE_MODE_MOMENTUM_RATIO,
|
|
5463
|
+
rl as ATTR_FREE_MODE_MOMENTUM_VELOCITY_RATIO,
|
|
5464
|
+
ll as ATTR_FREE_MODE_STICKY,
|
|
5465
|
+
Yn as ATTR_GRAB_CURSOR,
|
|
5466
|
+
br as ATTR_GRID_FILL,
|
|
5467
|
+
yr as ATTR_GRID_ROWS,
|
|
5468
|
+
ar as ATTR_HASH_NAVIGATION_REPLACE_STATE,
|
|
5469
|
+
nr as ATTR_HASH_NAVIGATION_WATCH_STATE,
|
|
5470
|
+
Xn as ATTR_HEIGHT,
|
|
5471
|
+
ir as ATTR_HISTORY_KEEP_QUERY,
|
|
5472
|
+
rr as ATTR_HISTORY_KEY,
|
|
5473
|
+
lr as ATTR_HISTORY_REPLACE_STATE,
|
|
5474
|
+
or as ATTR_HISTORY_ROOT,
|
|
5475
|
+
Un as ATTR_INIT,
|
|
5476
|
+
qn as ATTR_INITIAL_SLIDE,
|
|
5477
|
+
dr as ATTR_KEYBOARD_ENABLED,
|
|
5478
|
+
cr as ATTR_KEYBOARD_ONLY_IN_VIEWPORT,
|
|
5479
|
+
fr as ATTR_KEYBOARD_PAGE_UP_DOWN,
|
|
5480
|
+
Kn as ATTR_LAZY_PRELOADER_CLASS,
|
|
5481
|
+
jn as ATTR_LAZY_PRELOAD_PREV_NEXT,
|
|
5482
|
+
Zn as ATTR_LONG_SWIPES,
|
|
5483
|
+
Qn as ATTR_LONG_SWIPES_MS,
|
|
5484
|
+
Jn as ATTR_LONG_SWIPES_RATIO,
|
|
5485
|
+
gt as ATTR_LOOP,
|
|
5486
|
+
ti as ATTR_LOOP_ADD_ADDITIONAL_SLIDES,
|
|
5487
|
+
ei as ATTR_LOOP_ADD_BLANK_SLIDES,
|
|
5488
|
+
si as ATTR_LOOP_PREVENTS_SLIDING,
|
|
5489
|
+
vt as ATTR_MANIPULATION_ADD_INDEX,
|
|
5461
5490
|
yl as ATTR_MANIPULATION_ADD_SLIDE,
|
|
5462
5491
|
bl as ATTR_MANIPULATION_APPEND_SLIDE,
|
|
5463
5492
|
Al as ATTR_MANIPULATION_PREPEND_SLIDE,
|
|
5464
|
-
|
|
5493
|
+
Et as ATTR_MANIPULATION_REMOVE_INDEX,
|
|
5465
5494
|
_l as ATTR_MANIPULATION_REMOVE_SLIDE,
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5475
|
-
|
|
5476
|
-
|
|
5477
|
-
|
|
5478
|
-
|
|
5479
|
-
|
|
5480
|
-
|
|
5481
|
-
|
|
5482
|
-
|
|
5483
|
-
|
|
5484
|
-
|
|
5485
|
-
|
|
5486
|
-
|
|
5487
|
-
|
|
5488
|
-
|
|
5489
|
-
|
|
5490
|
-
|
|
5491
|
-
|
|
5492
|
-
|
|
5493
|
-
|
|
5494
|
-
|
|
5495
|
-
|
|
5496
|
-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
Nr as ATTR_PAGINATION_HIDDEN_CLASS,
|
|
5500
|
-
zr as ATTR_PAGINATION_HIDE_ON_CLICK,
|
|
5495
|
+
ai as ATTR_MAX_BACKFACE_HIDDEN_SLIDES,
|
|
5496
|
+
ur as ATTR_MOUSEWHEEL_ENABLED,
|
|
5497
|
+
pr as ATTR_MOUSEWHEEL_EVENTS_TARGET,
|
|
5498
|
+
mr as ATTR_MOUSEWHEEL_FORCE_TO_AXIS,
|
|
5499
|
+
hr as ATTR_MOUSEWHEEL_INVERT,
|
|
5500
|
+
gr as ATTR_MOUSEWHEEL_NO_MOUSEWHEEL_CLASS,
|
|
5501
|
+
Tr as ATTR_MOUSEWHEEL_RELEASE_ON_EDGES,
|
|
5502
|
+
vr as ATTR_MOUSEWHEEL_SENSITIVITY,
|
|
5503
|
+
Er as ATTR_MOUSEWHEEL_THRESHOLD_DELTA,
|
|
5504
|
+
Sr as ATTR_MOUSEWHEEL_THRESHOLD_TIME,
|
|
5505
|
+
Ar as ATTR_NAVIGATION_DISABLED_CLASS,
|
|
5506
|
+
_r as ATTR_NAVIGATION_ENABLED,
|
|
5507
|
+
xr as ATTR_NAVIGATION_HIDDEN_CLASS,
|
|
5508
|
+
Cr as ATTR_NAVIGATION_HIDE_ON_CLICK,
|
|
5509
|
+
Lr as ATTR_NAVIGATION_LOCK_CLASS,
|
|
5510
|
+
Mr as ATTR_NAVIGATION_NAVIGATION_DISABLED_CLASS,
|
|
5511
|
+
ni as ATTR_NESTED,
|
|
5512
|
+
oi as ATTR_NORMALIZE_SLIDE_INDEX,
|
|
5513
|
+
ii as ATTR_NO_SWIPING,
|
|
5514
|
+
ri as ATTR_NO_SWIPING_CLASS,
|
|
5515
|
+
li as ATTR_NO_SWIPING_SELECTOR,
|
|
5516
|
+
fi as ATTR_OBSERVER,
|
|
5517
|
+
ci as ATTR_OBSERVE_SLIDE_CHILDREN,
|
|
5518
|
+
di as ATTR_OBSERVE_SLIDE_PARENTS,
|
|
5519
|
+
ui as ATTR_ONE_WAY_MOVEMENT,
|
|
5520
|
+
Pr as ATTR_PAGINATION_CLICKABLE,
|
|
5521
|
+
Rr as ATTR_PAGINATION_CLICKABLE_CLASS,
|
|
5522
|
+
Or as ATTR_PAGINATION_CURRENT_CLASS,
|
|
5523
|
+
wr as ATTR_PAGINATION_DYNAMIC_BULLETS,
|
|
5524
|
+
Dr as ATTR_PAGINATION_DYNAMIC_MAIN_BULLETS,
|
|
5525
|
+
Nr as ATTR_PAGINATION_ENABLED,
|
|
5526
|
+
zr as ATTR_PAGINATION_HIDDEN_CLASS,
|
|
5527
|
+
$r as ATTR_PAGINATION_HIDE_ON_CLICK,
|
|
5501
5528
|
kr as ATTR_PAGINATION_HORIZONTAL_CLASS,
|
|
5502
|
-
|
|
5503
|
-
|
|
5504
|
-
|
|
5505
|
-
|
|
5506
|
-
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
|
|
5529
|
+
Gr as ATTR_PAGINATION_LOCK_CLASS,
|
|
5530
|
+
Br as ATTR_PAGINATION_MODIFIER_CLASS,
|
|
5531
|
+
Hr as ATTR_PAGINATION_PAGINATION_DISABLED_CLASS,
|
|
5532
|
+
Fr as ATTR_PAGINATION_PROGRESSBAR_FILL_CLASS,
|
|
5533
|
+
Vr as ATTR_PAGINATION_PROGRESSBAR_OPPOSITE,
|
|
5534
|
+
Wr as ATTR_PAGINATION_PROGRESSBAR_OPPOSITE_CLASS,
|
|
5535
|
+
Yr as ATTR_PAGINATION_TOTAL_CLASS,
|
|
5536
|
+
Ir as ATTR_PAGINATION_TYPE,
|
|
5537
|
+
Xr as ATTR_PAGINATION_VERTICAL_CLASS,
|
|
5538
|
+
bo as ATTR_PARALLAX,
|
|
5512
5539
|
Mo as ATTR_PARALLAX_DURATION,
|
|
5513
5540
|
Ol as ATTR_PARALLAX_ENABLED,
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5517
|
-
|
|
5518
|
-
|
|
5519
|
-
|
|
5520
|
-
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5541
|
+
Co as ATTR_PARALLAX_OPACITY,
|
|
5542
|
+
Lo as ATTR_PARALLAX_ROTATE,
|
|
5543
|
+
xo as ATTR_PARALLAX_SCALE,
|
|
5544
|
+
Ao as ATTR_PARALLAX_X,
|
|
5545
|
+
_o as ATTR_PARALLAX_Y,
|
|
5546
|
+
pi as ATTR_PASSIVE_LISTENERS,
|
|
5547
|
+
mi as ATTR_PREVENT_CLICKS,
|
|
5548
|
+
hi as ATTR_PREVENT_CLICKS_PROPAGATION,
|
|
5549
|
+
gi as ATTR_PREVENT_INTERACTION_ON_TRANSITION,
|
|
5550
|
+
Ti as ATTR_RESISTANCE,
|
|
5551
|
+
vi as ATTR_RESISTANCE_RATIO,
|
|
5552
|
+
Ei as ATTR_RESIZE_OBSERVER,
|
|
5553
|
+
Tt as ATTR_REWIND,
|
|
5554
|
+
Si as ATTR_ROUND_LENGTHS,
|
|
5555
|
+
yi as ATTR_RUN_CALLBACKS_ON_INIT,
|
|
5529
5556
|
dl as ATTR_SCROLLBAR_DRAGGABLE,
|
|
5530
|
-
ll as ATTR_SCROLLBAR_DRAG_CLASS,
|
|
5531
5557
|
ol as ATTR_SCROLLBAR_DRAG_SIZE,
|
|
5532
5558
|
cl as ATTR_SCROLLBAR_ENABLED,
|
|
5533
5559
|
fl as ATTR_SCROLLBAR_HIDE,
|
|
@@ -5536,52 +5562,52 @@ export {
|
|
|
5536
5562
|
ml as ATTR_SCROLLBAR_SCROLLBAR_DISABLED_CLASS,
|
|
5537
5563
|
gl as ATTR_SCROLLBAR_SNAP_ON_RELEASE,
|
|
5538
5564
|
hl as ATTR_SCROLLBAR_VERTICAL_CLASS,
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
|
|
5551
|
-
|
|
5552
|
-
|
|
5553
|
-
|
|
5554
|
-
|
|
5555
|
-
|
|
5556
|
-
|
|
5557
|
-
|
|
5558
|
-
|
|
5559
|
-
|
|
5560
|
-
|
|
5561
|
-
|
|
5565
|
+
bi as ATTR_SET_WRAPPER_SIZE,
|
|
5566
|
+
Ai as ATTR_SHORT_SWIPES,
|
|
5567
|
+
_i as ATTR_SIMULATE_TOUCH,
|
|
5568
|
+
wi as ATTR_SLIDES_OFFSET_AFTER,
|
|
5569
|
+
Di as ATTR_SLIDES_OFFSET_BEFORE,
|
|
5570
|
+
Nt as ATTR_SLIDES_PER_GROUP,
|
|
5571
|
+
Ni as ATTR_SLIDES_PER_GROUP_AUTO,
|
|
5572
|
+
zi as ATTR_SLIDES_PER_GROUP_SKIP,
|
|
5573
|
+
zt as ATTR_SLIDES_PER_VIEW,
|
|
5574
|
+
xi as ATTR_SLIDE_ACTIVE_CLASS,
|
|
5575
|
+
Li as ATTR_SLIDE_BLANK_CLASS,
|
|
5576
|
+
Ci as ATTR_SLIDE_CLASS,
|
|
5577
|
+
Mi as ATTR_SLIDE_FULLY_VISIBLE_CLASS,
|
|
5578
|
+
Ii as ATTR_SLIDE_NEXT_CLASS,
|
|
5579
|
+
Pi as ATTR_SLIDE_PREV_CLASS,
|
|
5580
|
+
Ri as ATTR_SLIDE_TO_CLICKED_SLIDE,
|
|
5581
|
+
Oi as ATTR_SLIDE_VISIBLE_CLASS,
|
|
5582
|
+
Gt as ATTR_SMOOTH_AUTOPLAY,
|
|
5583
|
+
$t as ATTR_SPACE_BETWEEN,
|
|
5584
|
+
$i as ATTR_SPEED,
|
|
5585
|
+
Gi as ATTR_SWIPER_ELEMENT_NODE_NAME,
|
|
5586
|
+
ki as ATTR_SWIPE_HANDLER,
|
|
5587
|
+
Bi as ATTR_THRESHOLD,
|
|
5562
5588
|
Tl as ATTR_THUMBS_AUTO_SCROLL_OFFSET,
|
|
5563
5589
|
vl as ATTR_THUMBS_MULTIPLE_ACTIVE_THUMBS,
|
|
5564
5590
|
El as ATTR_THUMBS_SLIDE_THUMB_ACTIVE_CLASS,
|
|
5565
5591
|
tt as ATTR_THUMBS_SWIPER,
|
|
5566
5592
|
Sl as ATTR_THUMBS_THUMBS_CONTAINER_CLASS,
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5593
|
+
Hi as ATTR_TOUCH_ANGLE,
|
|
5594
|
+
Fi as ATTR_TOUCH_EVENTS_TARGET,
|
|
5595
|
+
Vi as ATTR_TOUCH_MOVE_STOP_PROPAGATION,
|
|
5596
|
+
Wi as ATTR_TOUCH_RATIO,
|
|
5597
|
+
Yi as ATTR_TOUCH_RELEASE_ON_EDGES,
|
|
5598
|
+
Xi as ATTR_TOUCH_START_FORCE_PREVENT_DEFAULT,
|
|
5599
|
+
Ui as ATTR_TOUCH_START_PREVENT_DEFAULT,
|
|
5600
|
+
qi as ATTR_UNIQUE_NAV_ELEMENTS,
|
|
5601
|
+
ji as ATTR_UPDATE_ON_WINDOW_RESIZE,
|
|
5602
|
+
Ki as ATTR_URL,
|
|
5603
|
+
Zi as ATTR_USER_AGENT,
|
|
5604
|
+
Qi as ATTR_VIRTUAL_TRANSLATE,
|
|
5605
|
+
Ji as ATTR_WATCH_OVERFLOW,
|
|
5606
|
+
er as ATTR_WATCH_SLIDES_PROGRESS,
|
|
5581
5607
|
ce as ATTR_WATERFALL,
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5608
|
+
ie as ATTR_WATERFALL_ELEMENT,
|
|
5609
|
+
tr as ATTR_WIDTH,
|
|
5610
|
+
sr as ATTR_WRAPPER_CLASS,
|
|
5585
5611
|
xl as ATTR_ZOOM_CONTAINER_CLASS,
|
|
5586
5612
|
Cl as ATTR_ZOOM_LIMIT_TO_ORIGINAL_SIZE,
|
|
5587
5613
|
Ll as ATTR_ZOOM_MAX_RATIO,
|
|
@@ -5589,17 +5615,18 @@ export {
|
|
|
5589
5615
|
Il as ATTR_ZOOM_PAN_ON_MOUSE_MOVE,
|
|
5590
5616
|
Pl as ATTR_ZOOM_TOGGLE,
|
|
5591
5617
|
Rl as ATTR_ZOOM_ZOOMED_SLIDE_CLASS,
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5597
|
-
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5618
|
+
rn as BREAKPOINTS,
|
|
5619
|
+
Bl as EL_AUTOPLAY_CONTROL,
|
|
5620
|
+
Hl as EL_AUTOPLAY_CONTROL_PAUSE,
|
|
5621
|
+
Fl as EL_AUTOPLAY_CONTROL_PLAY,
|
|
5622
|
+
Nl as EL_NAVIGATION_NEXT,
|
|
5623
|
+
zl as EL_NAVIGATION_PREV,
|
|
5624
|
+
Dl as EL_PAGINATION,
|
|
5625
|
+
st as EL_PAGINATION_BULLET,
|
|
5626
|
+
at as EL_PAGINATION_BULLET_ACTIVE,
|
|
5627
|
+
$l as EL_SCROLLBAR,
|
|
5628
|
+
kl as EL_SCROLLBAR_DRAG,
|
|
5629
|
+
Gl as EL_SLIDE_COUNT,
|
|
5630
|
+
ln as breakpointAttr
|
|
5604
5631
|
};
|
|
5605
5632
|
//# sourceMappingURL=well-waterfall.es.js.map
|