well-waterfall 1.2.6 → 1.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -161,8 +161,8 @@ function et(t, e) {
161
161
  e === void 0 && (e = "x");
162
162
  const s = Y();
163
163
  let i, a, r;
164
- const d = Ct(t);
165
- return s.WebKitCSSMatrix ? (a = d.transform || d.webkitTransform, a.split(",").length > 6 && (a = a.split(", ").map((c) => c.replace(",", ".")).join(", ")), r = new s.WebKitCSSMatrix(a === "none" ? "" : a)) : (r = d.MozTransform || d.OTransform || d.MsTransform || d.msTransform || d.transform || d.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), i = r.toString().split(",")), e === "x" && (s.WebKitCSSMatrix ? a = r.m41 : i.length === 16 ? a = parseFloat(i[12]) : a = parseFloat(i[4])), e === "y" && (s.WebKitCSSMatrix ? a = r.m42 : i.length === 16 ? a = parseFloat(i[13]) : a = parseFloat(i[5])), a || 0;
164
+ const c = Ct(t);
165
+ return s.WebKitCSSMatrix ? (a = c.transform || c.webkitTransform, a.split(",").length > 6 && (a = a.split(", ").map((d) => d.replace(",", ".")).join(", ")), r = new s.WebKitCSSMatrix(a === "none" ? "" : a)) : (r = c.MozTransform || c.OTransform || c.MsTransform || c.msTransform || c.transform || c.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), i = r.toString().split(",")), e === "x" && (s.WebKitCSSMatrix ? a = r.m41 : i.length === 16 ? a = parseFloat(i[12]) : a = parseFloat(i[4])), e === "y" && (s.WebKitCSSMatrix ? a = r.m42 : i.length === 16 ? a = parseFloat(i[13]) : a = parseFloat(i[5])), a || 0;
166
166
  }
167
167
  function _e(t) {
168
168
  return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object";
@@ -176,9 +176,9 @@ function J() {
176
176
  const i = s < 0 || arguments.length <= s ? void 0 : arguments[s];
177
177
  if (i != null && !It(i)) {
178
178
  const a = Object.keys(Object(i)).filter((r) => e.indexOf(r) < 0);
179
- for (let r = 0, d = a.length; r < d; r += 1) {
180
- const c = a[r], f = Object.getOwnPropertyDescriptor(i, c);
181
- f !== void 0 && f.enumerable && (_e(t[c]) && _e(i[c]) ? i[c].__swiper__ ? t[c] = i[c] : J(t[c], i[c]) : !_e(t[c]) && _e(i[c]) ? (t[c] = {}, i[c].__swiper__ ? t[c] = i[c] : J(t[c], i[c])) : t[c] = i[c]);
179
+ for (let r = 0, c = a.length; r < c; r += 1) {
180
+ const d = a[r], f = Object.getOwnPropertyDescriptor(i, d);
181
+ f !== void 0 && f.enumerable && (_e(t[d]) && _e(i[d]) ? i[d].__swiper__ ? t[d] = i[d] : J(t[d], i[d]) : !_e(t[d]) && _e(i[d]) ? (t[d] = {}, i[d].__swiper__ ? t[d] = i[d] : J(t[d], i[d])) : t[d] = i[d]);
182
182
  }
183
183
  }
184
184
  }
@@ -194,12 +194,12 @@ function gt(t) {
194
194
  side: i
195
195
  } = t;
196
196
  const a = Y(), r = -e.translate;
197
- let d = null, c;
197
+ let c = null, d;
198
198
  const f = e.params.speed;
199
199
  e.wrapperEl.style.scrollSnapType = "none", a.cancelAnimationFrame(e.cssModeFrameID);
200
200
  const o = s > r ? "next" : "prev", u = (T, g) => o === "next" && T >= g || o === "prev" && T <= g, m = () => {
201
- c = (/* @__PURE__ */ new Date()).getTime(), d === null && (d = c);
202
- const T = Math.max(Math.min((c - d) / f, 1), 0), g = 0.5 - Math.cos(T * Math.PI) / 2;
201
+ d = (/* @__PURE__ */ new Date()).getTime(), c === null && (c = d);
202
+ const T = Math.max(Math.min((d - c) / f, 1), 0), g = 0.5 - Math.cos(T * Math.PI) / 2;
203
203
  let n = r + g * (s - r);
204
204
  if (u(n, s) && (n = s), e.wrapperEl.scrollTo({
205
205
  [i]: n
@@ -250,10 +250,10 @@ function ee(t, e) {
250
250
  return s.classList.add(...Array.isArray(e) ? e : ce(e)), s;
251
251
  }
252
252
  function Be(t) {
253
- const e = Y(), s = q(), i = t.getBoundingClientRect(), a = s.body, r = t.clientTop || a.clientTop || 0, d = t.clientLeft || a.clientLeft || 0, c = t === e ? e.scrollY : t.scrollTop, f = t === e ? e.scrollX : t.scrollLeft;
253
+ const e = Y(), s = q(), i = t.getBoundingClientRect(), a = s.body, r = t.clientTop || a.clientTop || 0, c = t.clientLeft || a.clientLeft || 0, d = t === e ? e.scrollY : t.scrollTop, f = t === e ? e.scrollX : t.scrollLeft;
254
254
  return {
255
- top: i.top + c - r,
256
- left: i.left + f - d
255
+ top: i.top + d - r,
256
+ left: i.left + f - c
257
257
  };
258
258
  }
259
259
  function Pt(t, e) {
@@ -327,15 +327,15 @@ function zt(t) {
327
327
  let {
328
328
  userAgent: e
329
329
  } = t === void 0 ? {} : t;
330
- const s = wt(), i = Y(), a = i.navigator.platform, r = e || i.navigator.userAgent, d = {
330
+ const s = wt(), i = Y(), a = i.navigator.platform, r = e || i.navigator.userAgent, c = {
331
331
  ios: !1,
332
332
  android: !1
333
- }, c = i.screen.width, f = i.screen.height, o = r.match(/(Android);?[\s\/]+([\d.]+)?/);
333
+ }, d = i.screen.width, f = i.screen.height, o = r.match(/(Android);?[\s\/]+([\d.]+)?/);
334
334
  let u = r.match(/(iPad).*OS\s([\d_]+)/);
335
335
  const m = r.match(/(iPod)(.*OS\s([\d_]+))?/), T = !u && r.match(/(iPhone\sOS|iOS)\s([\d_]+)/), g = a === "Win32";
336
336
  let n = a === "MacIntel";
337
337
  const l = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
338
- return !u && n && s.touch && l.indexOf(`${c}x${f}`) >= 0 && (u = r.match(/(Version)\/([\d.]+)/), u || (u = [0, 1, "13_0_0"]), n = !1), o && !g && (d.os = "android", d.android = !0), (u || T || m) && (d.os = "ios", d.ios = !0), d;
338
+ return !u && n && s.touch && l.indexOf(`${d}x${f}`) >= 0 && (u = r.match(/(Version)\/([\d.]+)/), u || (u = [0, 1, "13_0_0"]), n = !1), o && !g && (c.os = "android", c.android = !0), (u || T || m) && (c.os = "ios", c.ios = !0), c;
339
339
  }
340
340
  function Tt(t) {
341
341
  return t === void 0 && (t = {}), qe || (qe = zt(t)), qe;
@@ -345,21 +345,21 @@ function $t() {
345
345
  const t = Y(), e = Tt();
346
346
  let s = !1;
347
347
  function i() {
348
- const c = t.navigator.userAgent.toLowerCase();
349
- return c.indexOf("safari") >= 0 && c.indexOf("chrome") < 0 && c.indexOf("android") < 0;
348
+ const d = t.navigator.userAgent.toLowerCase();
349
+ return d.indexOf("safari") >= 0 && d.indexOf("chrome") < 0 && d.indexOf("android") < 0;
350
350
  }
351
351
  if (i()) {
352
- const c = String(t.navigator.userAgent);
353
- if (c.includes("Version/")) {
354
- const [f, o] = c.split("Version/")[1].split(" ")[0].split(".").map((u) => Number(u));
352
+ const d = String(t.navigator.userAgent);
353
+ if (d.includes("Version/")) {
354
+ const [f, o] = d.split("Version/")[1].split(" ")[0].split(".").map((u) => Number(u));
355
355
  s = f < 16 || f === 16 && o < 2;
356
356
  }
357
357
  }
358
- const a = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent), r = i(), d = r || a && e.ios;
358
+ const a = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent), r = i(), c = r || a && e.ios;
359
359
  return {
360
360
  isSafari: s || r,
361
361
  needPerspectiveFix: s,
362
- need3dFix: d,
362
+ need3dFix: c,
363
363
  isWebView: a
364
364
  };
365
365
  }
@@ -373,12 +373,12 @@ function Gt(t) {
373
373
  emit: i
374
374
  } = t;
375
375
  const a = Y();
376
- let r = null, d = null;
377
- const c = () => {
376
+ let r = null, c = null;
377
+ const d = () => {
378
378
  !e || e.destroyed || !e.initialized || (i("beforeResize"), i("resize"));
379
379
  }, f = () => {
380
380
  !e || e.destroyed || !e.initialized || (r = new ResizeObserver((m) => {
381
- d = a.requestAnimationFrame(() => {
381
+ c = a.requestAnimationFrame(() => {
382
382
  const {
383
383
  width: T,
384
384
  height: g
@@ -391,11 +391,11 @@ function Gt(t) {
391
391
  target: p
392
392
  } = w;
393
393
  p && p !== e.el || (n = h ? h.width : (v[0] || v).inlineSize, l = h ? h.height : (v[0] || v).blockSize);
394
- }), (n !== T || l !== g) && c();
394
+ }), (n !== T || l !== g) && d();
395
395
  });
396
396
  }), r.observe(e.el));
397
397
  }, o = () => {
398
- d && a.cancelAnimationFrame(d), r && r.unobserve && e.el && (r.unobserve(e.el), r = null);
398
+ c && a.cancelAnimationFrame(c), r && r.unobserve && e.el && (r.unobserve(e.el), r = null);
399
399
  }, u = () => {
400
400
  !e || e.destroyed || !e.initialized || i("orientationchange");
401
401
  };
@@ -404,9 +404,9 @@ function Gt(t) {
404
404
  f();
405
405
  return;
406
406
  }
407
- a.addEventListener("resize", c), a.addEventListener("orientationchange", u);
407
+ a.addEventListener("resize", d), a.addEventListener("orientationchange", u);
408
408
  }), s("destroy", () => {
409
- o(), a.removeEventListener("resize", c), a.removeEventListener("orientationchange", u);
409
+ o(), a.removeEventListener("resize", d), a.removeEventListener("orientationchange", u);
410
410
  });
411
411
  }
412
412
  function Bt(t) {
@@ -416,9 +416,9 @@ function Bt(t) {
416
416
  on: i,
417
417
  emit: a
418
418
  } = t;
419
- const r = [], d = Y(), c = function(u, m) {
419
+ const r = [], c = Y(), d = function(u, m) {
420
420
  m === void 0 && (m = {});
421
- const T = d.MutationObserver || d.WebkitMutationObserver, g = new T((n) => {
421
+ const T = c.MutationObserver || c.WebkitMutationObserver, g = new T((n) => {
422
422
  if (e.__preventObserver__) return;
423
423
  if (n.length === 1) {
424
424
  a("observerUpdate", n[0]);
@@ -427,7 +427,7 @@ function Bt(t) {
427
427
  const l = function() {
428
428
  a("observerUpdate", n[0]);
429
429
  };
430
- d.requestAnimationFrame ? d.requestAnimationFrame(l) : d.setTimeout(l, 0);
430
+ c.requestAnimationFrame ? c.requestAnimationFrame(l) : c.setTimeout(l, 0);
431
431
  });
432
432
  g.observe(u, {
433
433
  attributes: typeof m.attributes > "u" ? !0 : m.attributes,
@@ -439,11 +439,11 @@ function Bt(t) {
439
439
  if (e.params.observeParents) {
440
440
  const u = ue(e.hostEl);
441
441
  for (let m = 0; m < u.length; m += 1)
442
- c(u[m]);
442
+ d(u[m]);
443
443
  }
444
- c(e.hostEl, {
444
+ d(e.hostEl, {
445
445
  childList: e.params.observeSlideChildren
446
- }), c(e.wrapperEl, {
446
+ }), d(e.wrapperEl, {
447
447
  attributes: !1
448
448
  });
449
449
  }
@@ -472,9 +472,9 @@ var kt = {
472
472
  if (!i.eventsListeners || i.destroyed || typeof e != "function") return i;
473
473
  function a() {
474
474
  i.off(t, a), a.__emitterProxy && delete a.__emitterProxy;
475
- for (var r = arguments.length, d = new Array(r), c = 0; c < r; c++)
476
- d[c] = arguments[c];
477
- e.apply(i, d);
475
+ for (var r = arguments.length, c = new Array(r), d = 0; d < r; d++)
476
+ c[d] = arguments[d];
477
+ e.apply(i, c);
478
478
  }
479
479
  return a.__emitterProxy = e, i.on(t, a, s);
480
480
  },
@@ -502,8 +502,8 @@ var kt = {
502
502
  const t = this;
503
503
  if (!t.eventsListeners || t.destroyed || !t.eventsListeners) return t;
504
504
  let e, s, i;
505
- for (var a = arguments.length, r = new Array(a), d = 0; d < a; d++)
506
- r[d] = arguments[d];
505
+ for (var a = arguments.length, r = new Array(a), c = 0; c < a; c++)
506
+ r[c] = arguments[c];
507
507
  return typeof r[0] == "string" || Array.isArray(r[0]) ? (e = r[0], s = r.slice(1, r.length), i = t) : (e = r[0].events, s = r[0].data, i = r[0].context || t), s.unshift(i), (Array.isArray(e) ? e : e.split(" ")).forEach((f) => {
508
508
  t.eventsAnyListeners && t.eventsAnyListeners.length && t.eventsAnyListeners.forEach((o) => {
509
509
  o.apply(i, [f, ...s]);
@@ -532,8 +532,8 @@ function Vt() {
532
532
  wrapperEl: i,
533
533
  slidesEl: a,
534
534
  size: r,
535
- rtlTranslate: d,
536
- wrongRTL: c
535
+ rtlTranslate: c,
536
+ wrongRTL: d
537
537
  } = t, f = t.virtual && s.virtual.enabled, o = f ? t.virtual.slides.length : t.slides.length, u = j(a, `.${t.params.slideClass}, swiper-slide`), m = f ? t.virtual.slides.length : u.length;
538
538
  let T = [];
539
539
  const g = [], n = [];
@@ -546,7 +546,7 @@ function Vt() {
546
546
  if (typeof r > "u")
547
547
  return;
548
548
  typeof p == "string" && p.indexOf("%") >= 0 ? p = parseFloat(p.replace("%", "")) / 100 * r : typeof p == "string" && (p = parseFloat(p)), t.virtualSize = -p, u.forEach((A) => {
549
- d ? A.style.marginLeft = "" : A.style.marginRight = "", A.style.marginBottom = "", A.style.marginTop = "";
549
+ c ? A.style.marginLeft = "" : A.style.marginRight = "", A.style.marginBottom = "", A.style.marginTop = "";
550
550
  }), s.centeredSlides && s.cssMode && (xe(i, "--swiper-centered-offset-before", ""), xe(i, "--swiper-centered-offset-after", ""));
551
551
  const I = s.grid && s.grid.rows > 1 && t.grid;
552
552
  I ? t.grid.initSlides(u) : t.grid && t.grid.unsetSlides();
@@ -579,7 +579,7 @@ function Vt() {
579
579
  u[A] && (u[A].swiperSlideSize = R), n.push(R), s.centeredSlides ? (E = E + R / 2 + b / 2 + p, b === 0 && A !== 0 && (E = E - r / 2 - p), A === 0 && (E = E - r / 2 - p), Math.abs(E) < 1 / 1e3 && (E = 0), s.roundLengths && (E = Math.floor(E)), O % s.slidesPerGroup === 0 && T.push(E), g.push(E)) : (s.roundLengths && (E = Math.floor(E)), (O - Math.min(t.params.slidesPerGroupSkip, O)) % t.params.slidesPerGroup === 0 && T.push(E), g.push(E), E = E + R + p), t.virtualSize += R + p, b = R, O += 1;
580
580
  }
581
581
  }
582
- if (t.virtualSize = Math.max(t.virtualSize, r) + w, d && c && (s.effect === "slide" || s.effect === "coverflow") && (i.style.width = `${t.virtualSize + p}px`), s.setWrapperSize && (i.style[t.getDirectionLabel("width")] = `${t.virtualSize + p}px`), I && t.grid.updateWrapperSize(R, T), !s.centeredSlides) {
582
+ if (t.virtualSize = Math.max(t.virtualSize, r) + w, c && d && (s.effect === "slide" || s.effect === "coverflow") && (i.style.width = `${t.virtualSize + p}px`), s.setWrapperSize && (i.style[t.getDirectionLabel("width")] = `${t.virtualSize + p}px`), I && t.grid.updateWrapperSize(R, T), !s.centeredSlides) {
583
583
  const A = [];
584
584
  for (let M = 0; M < T.length; M += 1) {
585
585
  let L = T[M];
@@ -598,7 +598,7 @@ function Vt() {
598
598
  s.slidesPerGroup === 1 && T.push(T[T.length - 1] + A), g.push(g[g.length - 1] + A), t.virtualSize += A;
599
599
  }
600
600
  if (T.length === 0 && (T = [0]), p !== 0) {
601
- const A = t.isHorizontal() && d ? "marginLeft" : t.getDirectionLabel("marginRight");
601
+ const A = t.isHorizontal() && c ? "marginLeft" : t.getDirectionLabel("marginRight");
602
602
  u.filter((M, L) => !s.cssMode || s.loop ? !0 : L !== u.length - 1).forEach((M) => {
603
603
  M.style[A] = `${p}px`;
604
604
  });
@@ -645,24 +645,24 @@ function Ft(t) {
645
645
  const e = this, s = [], i = e.virtual && e.params.virtual.enabled;
646
646
  let a = 0, r;
647
647
  typeof t == "number" ? e.setTransition(t) : t === !0 && e.setTransition(e.params.speed);
648
- const d = (c) => i ? e.slides[e.getSlideIndexByData(c)] : e.slides[c];
648
+ const c = (d) => i ? e.slides[e.getSlideIndexByData(d)] : e.slides[d];
649
649
  if (e.params.slidesPerView !== "auto" && e.params.slidesPerView > 1)
650
650
  if (e.params.centeredSlides)
651
- (e.visibleSlides || []).forEach((c) => {
652
- s.push(c);
651
+ (e.visibleSlides || []).forEach((d) => {
652
+ s.push(d);
653
653
  });
654
654
  else
655
655
  for (r = 0; r < Math.ceil(e.params.slidesPerView); r += 1) {
656
- const c = e.activeIndex + r;
657
- if (c > e.slides.length && !i) break;
658
- s.push(d(c));
656
+ const d = e.activeIndex + r;
657
+ if (d > e.slides.length && !i) break;
658
+ s.push(c(d));
659
659
  }
660
660
  else
661
- s.push(d(e.activeIndex));
661
+ s.push(c(e.activeIndex));
662
662
  for (r = 0; r < s.length; r += 1)
663
663
  if (typeof s[r] < "u") {
664
- const c = s[r].offsetHeight;
665
- a = c > a ? c : a;
664
+ const d = s[r].offsetHeight;
665
+ a = d > a ? d : a;
666
666
  }
667
667
  (a || a === 0) && (e.wrapperEl.style.height = `${a}px`);
668
668
  }
@@ -683,15 +683,15 @@ function Yt(t) {
683
683
  } = e;
684
684
  if (i.length === 0) return;
685
685
  typeof i[0].swiperSlideOffset > "u" && e.updateSlidesOffset();
686
- let d = -t;
687
- a && (d = t), e.visibleSlidesIndexes = [], e.visibleSlides = [];
688
- let c = s.spaceBetween;
689
- typeof c == "string" && c.indexOf("%") >= 0 ? c = parseFloat(c.replace("%", "")) / 100 * e.size : typeof c == "string" && (c = parseFloat(c));
686
+ let c = -t;
687
+ a && (c = t), e.visibleSlidesIndexes = [], e.visibleSlides = [];
688
+ let d = s.spaceBetween;
689
+ typeof d == "string" && d.indexOf("%") >= 0 ? d = parseFloat(d.replace("%", "")) / 100 * e.size : typeof d == "string" && (d = parseFloat(d));
690
690
  for (let f = 0; f < i.length; f += 1) {
691
691
  const o = i[f];
692
692
  let u = o.swiperSlideOffset;
693
693
  s.cssMode && s.centeredSlides && (u -= i[0].swiperSlideOffset);
694
- const m = (d + (s.centeredSlides ? e.minTranslate() : 0) - u) / (o.swiperSlideSize + c), T = (d - r[0] + (s.centeredSlides ? e.minTranslate() : 0) - u) / (o.swiperSlideSize + c), g = -(d - u), n = g + e.slidesSizesGrid[f], l = g >= 0 && g <= e.size - e.slidesSizesGrid[f], w = g >= 0 && g < e.size - 1 || n > 1 && n <= e.size || g <= 0 && n >= e.size;
694
+ const m = (c + (s.centeredSlides ? e.minTranslate() : 0) - u) / (o.swiperSlideSize + d), T = (c - r[0] + (s.centeredSlides ? e.minTranslate() : 0) - u) / (o.swiperSlideSize + d), g = -(c - u), n = g + e.slidesSizesGrid[f], l = g >= 0 && g <= e.size - e.slidesSizesGrid[f], w = g >= 0 && g < e.size - 1 || n > 1 && n <= e.size || g <= 0 && n >= e.size;
695
695
  w && (e.visibleSlides.push(o), e.visibleSlidesIndexes.push(f)), dt(o, w, s.slideVisibleClass), dt(o, l, s.slideFullyVisibleClass), o.progress = a ? -m : m, o.originalProgress = a ? -T : T;
696
696
  }
697
697
  }
@@ -705,27 +705,27 @@ function Xt(t) {
705
705
  let {
706
706
  progress: a,
707
707
  isBeginning: r,
708
- isEnd: d,
709
- progressLoop: c
708
+ isEnd: c,
709
+ progressLoop: d
710
710
  } = e;
711
- const f = r, o = d;
711
+ const f = r, o = c;
712
712
  if (i === 0)
713
- a = 0, r = !0, d = !0;
713
+ a = 0, r = !0, c = !0;
714
714
  else {
715
715
  a = (t - e.minTranslate()) / i;
716
716
  const u = Math.abs(t - e.minTranslate()) < 1, m = Math.abs(t - e.maxTranslate()) < 1;
717
- r = u || a <= 0, d = m || a >= 1, u && (a = 0), m && (a = 1);
717
+ r = u || a <= 0, c = m || a >= 1, u && (a = 0), m && (a = 1);
718
718
  }
719
719
  if (s.loop) {
720
720
  const u = e.getSlideIndexByData(0), m = e.getSlideIndexByData(e.slides.length - 1), T = e.slidesGrid[u], g = e.slidesGrid[m], n = e.slidesGrid[e.slidesGrid.length - 1], l = Math.abs(t);
721
- l >= T ? c = (l - T) / n : c = (l + n - g) / n, c > 1 && (c -= 1);
721
+ l >= T ? d = (l - T) / n : d = (l + n - g) / n, d > 1 && (d -= 1);
722
722
  }
723
723
  Object.assign(e, {
724
724
  progress: a,
725
- progressLoop: c,
725
+ progressLoop: d,
726
726
  isBeginning: r,
727
- isEnd: d
728
- }), (s.watchSlidesProgress || s.centeredSlides && s.autoHeight) && e.updateSlidesProgress(t), r && !f && e.emit("reachBeginning toEdge"), d && !o && e.emit("reachEnd toEdge"), (f && !r || o && !d) && e.emit("fromEdge"), e.emit("progress", a);
727
+ isEnd: c
728
+ }), (s.watchSlidesProgress || s.centeredSlides && s.autoHeight) && e.updateSlidesProgress(t), r && !f && e.emit("reachBeginning toEdge"), c && !o && e.emit("reachEnd toEdge"), (f && !r || o && !c) && e.emit("fromEdge"), e.emit("progress", a);
729
729
  }
730
730
  const Ke = (t, e, s) => {
731
731
  e && !t.classList.contains(s) ? t.classList.add(s) : !e && t.classList.contains(s) && t.classList.remove(s);
@@ -736,17 +736,17 @@ function Ut() {
736
736
  params: s,
737
737
  slidesEl: i,
738
738
  activeIndex: a
739
- } = t, r = t.virtual && s.virtual.enabled, d = t.grid && s.grid && s.grid.rows > 1, c = (m) => j(i, `.${s.slideClass}${m}, swiper-slide${m}`)[0];
739
+ } = t, r = t.virtual && s.virtual.enabled, c = t.grid && s.grid && s.grid.rows > 1, d = (m) => j(i, `.${s.slideClass}${m}, swiper-slide${m}`)[0];
740
740
  let f, o, u;
741
741
  if (r)
742
742
  if (s.loop) {
743
743
  let m = a - t.virtual.slidesBefore;
744
- m < 0 && (m = t.virtual.slides.length + m), m >= t.virtual.slides.length && (m -= t.virtual.slides.length), f = c(`[data-swiper-slide-index="${m}"]`);
744
+ m < 0 && (m = t.virtual.slides.length + m), m >= t.virtual.slides.length && (m -= t.virtual.slides.length), f = d(`[data-swiper-slide-index="${m}"]`);
745
745
  } else
746
- f = c(`[data-swiper-slide-index="${a}"]`);
746
+ f = d(`[data-swiper-slide-index="${a}"]`);
747
747
  else
748
- d ? (f = e.find((m) => m.column === a), u = e.find((m) => m.column === a + 1), o = e.find((m) => m.column === a - 1)) : f = e[a];
749
- f && (d || (u = Dt(f, `.${s.slideClass}, swiper-slide`)[0], s.loop && !u && (u = e[0]), o = Pt(f, `.${s.slideClass}, swiper-slide`)[0], s.loop && !o === 0 && (o = e[e.length - 1]))), e.forEach((m) => {
748
+ c ? (f = e.find((m) => m.column === a), u = e.find((m) => m.column === a + 1), o = e.find((m) => m.column === a - 1)) : f = e[a];
749
+ f && (c || (u = Dt(f, `.${s.slideClass}, swiper-slide`)[0], s.loop && !u && (u = e[0]), o = Pt(f, `.${s.slideClass}, swiper-slide`)[0], s.loop && !o === 0 && (o = e[e.length - 1]))), e.forEach((m) => {
750
750
  Ke(m, m === f, s.slideActiveClass), Ke(m, m === u, s.slideNextClass), Ke(m, m === o, s.slidePrevClass);
751
751
  }), t.emitSlidesClasses();
752
752
  }
@@ -771,23 +771,23 @@ const ze = (t, e) => {
771
771
  e = Math.min(e, s);
772
772
  const i = t.params.slidesPerView === "auto" ? t.slidesPerViewDynamic() : Math.ceil(t.params.slidesPerView), a = t.activeIndex;
773
773
  if (t.params.grid && t.params.grid.rows > 1) {
774
- const d = a, c = [d - e];
775
- c.push(...Array.from({
774
+ const c = a, d = [c - e];
775
+ d.push(...Array.from({
776
776
  length: e
777
- }).map((f, o) => d + i + o)), t.slides.forEach((f, o) => {
778
- c.includes(f.column) && Ze(t, o);
777
+ }).map((f, o) => c + i + o)), t.slides.forEach((f, o) => {
778
+ d.includes(f.column) && Ze(t, o);
779
779
  });
780
780
  return;
781
781
  }
782
782
  const r = a + i - 1;
783
783
  if (t.params.rewind || t.params.loop)
784
- for (let d = a - e; d <= r + e; d += 1) {
785
- const c = (d % s + s) % s;
786
- (c < a || c > r) && Ze(t, c);
784
+ for (let c = a - e; c <= r + e; c += 1) {
785
+ const d = (c % s + s) % s;
786
+ (d < a || d > r) && Ze(t, d);
787
787
  }
788
788
  else
789
- for (let d = Math.max(a - e, 0); d <= Math.min(r + e, s - 1); d += 1)
790
- d !== a && (d > r || d < a) && Ze(t, d);
789
+ for (let c = Math.max(a - e, 0); c <= Math.min(r + e, s - 1); c += 1)
790
+ c !== a && (c > r || c < a) && Ze(t, c);
791
791
  };
792
792
  function qt(t) {
793
793
  const {
@@ -804,8 +804,8 @@ function jt(t) {
804
804
  snapGrid: i,
805
805
  params: a,
806
806
  activeIndex: r,
807
- realIndex: d,
808
- snapIndex: c
807
+ realIndex: c,
808
+ snapIndex: d
809
809
  } = e;
810
810
  let f = t, o;
811
811
  const u = (g) => {
@@ -819,7 +819,7 @@ function jt(t) {
819
819
  o = g + Math.floor((f - g) / a.slidesPerGroup);
820
820
  }
821
821
  if (o >= i.length && (o = i.length - 1), f === r && !e.params.loop) {
822
- o !== c && (e.snapIndex = o, e.emit("snapIndexChange"));
822
+ o !== d && (e.snapIndex = o, e.emit("snapIndexChange"));
823
823
  return;
824
824
  }
825
825
  if (f === r && e.params.loop && e.virtual && e.params.virtual.enabled) {
@@ -840,30 +840,30 @@ function jt(t) {
840
840
  } else
841
841
  T = f;
842
842
  Object.assign(e, {
843
- previousSnapIndex: c,
843
+ previousSnapIndex: d,
844
844
  snapIndex: o,
845
- previousRealIndex: d,
845
+ previousRealIndex: c,
846
846
  realIndex: T,
847
847
  previousIndex: r,
848
848
  activeIndex: f
849
- }), e.initialized && st(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (d !== T && e.emit("realIndexChange"), e.emit("slideChange"));
849
+ }), e.initialized && st(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (c !== T && e.emit("realIndexChange"), e.emit("slideChange"));
850
850
  }
851
851
  function Kt(t, e) {
852
852
  const s = this, i = s.params;
853
853
  let a = t.closest(`.${i.slideClass}, swiper-slide`);
854
- !a && s.isElement && e && e.length > 1 && e.includes(t) && [...e.slice(e.indexOf(t) + 1, e.length)].forEach((c) => {
855
- !a && c.matches && c.matches(`.${i.slideClass}, swiper-slide`) && (a = c);
854
+ !a && s.isElement && e && e.length > 1 && e.includes(t) && [...e.slice(e.indexOf(t) + 1, e.length)].forEach((d) => {
855
+ !a && d.matches && d.matches(`.${i.slideClass}, swiper-slide`) && (a = d);
856
856
  });
857
- let r = !1, d;
857
+ let r = !1, c;
858
858
  if (a) {
859
- for (let c = 0; c < s.slides.length; c += 1)
860
- if (s.slides[c] === a) {
861
- r = !0, d = c;
859
+ for (let d = 0; d < s.slides.length; d += 1)
860
+ if (s.slides[d] === a) {
861
+ r = !0, c = d;
862
862
  break;
863
863
  }
864
864
  }
865
865
  if (a && r)
866
- s.clickedSlide = a, s.virtual && s.params.virtual.enabled ? s.clickedIndex = parseInt(a.getAttribute("data-swiper-slide-index"), 10) : s.clickedIndex = d;
866
+ s.clickedSlide = a, s.virtual && s.params.virtual.enabled ? s.clickedIndex = parseInt(a.getAttribute("data-swiper-slide-index"), 10) : s.clickedIndex = c;
867
867
  else {
868
868
  s.clickedSlide = void 0, s.clickedIndex = void 0;
869
869
  return;
@@ -893,22 +893,22 @@ function Qt(t) {
893
893
  return i ? -a : a;
894
894
  if (s.cssMode)
895
895
  return a;
896
- let d = et(r, t);
897
- return d += e.cssOverflowAdjustment(), i && (d = -d), d || 0;
896
+ let c = et(r, t);
897
+ return c += e.cssOverflowAdjustment(), i && (c = -c), c || 0;
898
898
  }
899
899
  function Jt(t, e) {
900
900
  const s = this, {
901
901
  rtlTranslate: i,
902
902
  params: a,
903
903
  wrapperEl: r,
904
- progress: d
904
+ progress: c
905
905
  } = s;
906
- let c = 0, f = 0;
906
+ let d = 0, f = 0;
907
907
  const o = 0;
908
- s.isHorizontal() ? c = i ? -t : t : f = t, a.roundLengths && (c = Math.floor(c), f = Math.floor(f)), s.previousTranslate = s.translate, s.translate = s.isHorizontal() ? c : f, a.cssMode ? r[s.isHorizontal() ? "scrollLeft" : "scrollTop"] = s.isHorizontal() ? -c : -f : a.virtualTranslate || (s.isHorizontal() ? c -= s.cssOverflowAdjustment() : f -= s.cssOverflowAdjustment(), r.style.transform = `translate3d(${c}px, ${f}px, ${o}px)`);
908
+ s.isHorizontal() ? d = i ? -t : t : f = t, a.roundLengths && (d = Math.floor(d), f = Math.floor(f)), s.previousTranslate = s.translate, s.translate = s.isHorizontal() ? d : f, a.cssMode ? r[s.isHorizontal() ? "scrollLeft" : "scrollTop"] = s.isHorizontal() ? -d : -f : a.virtualTranslate || (s.isHorizontal() ? d -= s.cssOverflowAdjustment() : f -= s.cssOverflowAdjustment(), r.style.transform = `translate3d(${d}px, ${f}px, ${o}px)`);
909
909
  let u;
910
910
  const m = s.maxTranslate() - s.minTranslate();
911
- m === 0 ? u = 0 : u = (t - s.minTranslate()) / m, u !== d && s.updateProgress(t), s.emit("setTranslate", s.translate, e);
911
+ m === 0 ? u = 0 : u = (t - s.minTranslate()) / m, u !== c && s.updateProgress(t), s.emit("setTranslate", s.translate, e);
912
912
  }
913
913
  function es() {
914
914
  return -this.snapGrid[0];
@@ -919,17 +919,17 @@ function ts() {
919
919
  function ss(t, e, s, i, a) {
920
920
  t === void 0 && (t = 0), e === void 0 && (e = this.params.speed), s === void 0 && (s = !0), i === void 0 && (i = !0);
921
921
  const r = this, {
922
- params: d,
923
- wrapperEl: c
922
+ params: c,
923
+ wrapperEl: d
924
924
  } = r;
925
- if (r.animating && d.preventInteractionOnTransition)
925
+ if (r.animating && c.preventInteractionOnTransition)
926
926
  return !1;
927
927
  const f = r.minTranslate(), o = r.maxTranslate();
928
928
  let u;
929
- if (i && t > f ? u = f : i && t < o ? u = o : u = t, r.updateProgress(u), d.cssMode) {
929
+ if (i && t > f ? u = f : i && t < o ? u = o : u = t, r.updateProgress(u), c.cssMode) {
930
930
  const m = r.isHorizontal();
931
931
  if (e === 0)
932
- c[m ? "scrollLeft" : "scrollTop"] = -u;
932
+ d[m ? "scrollLeft" : "scrollTop"] = -u;
933
933
  else {
934
934
  if (!r.support.smoothScroll)
935
935
  return gt({
@@ -937,7 +937,7 @@ function ss(t, e, s, i, a) {
937
937
  targetPosition: -u,
938
938
  side: m ? "left" : "top"
939
939
  }), !0;
940
- c.scrollTo({
940
+ d.scrollTo({
941
941
  [m ? "left" : "top"]: -u,
942
942
  behavior: "smooth"
943
943
  });
@@ -968,10 +968,10 @@ function Et(t) {
968
968
  } = t;
969
969
  const {
970
970
  activeIndex: r,
971
- previousIndex: d
971
+ previousIndex: c
972
972
  } = e;
973
- let c = i;
974
- c || (r > d ? c = "next" : r < d ? c = "prev" : c = "reset"), e.emit(`transition${a}`), s && c === "reset" ? e.emit(`slideResetTransition${a}`) : s && r !== d && (e.emit(`slideChangeTransition${a}`), c === "next" ? e.emit(`slideNextTransition${a}`) : e.emit(`slidePrevTransition${a}`));
973
+ let d = i;
974
+ d || (r > c ? d = "next" : r < c ? d = "prev" : d = "reset"), e.emit(`transition${a}`), s && d === "reset" ? e.emit(`slideResetTransition${a}`) : s && r !== c && (e.emit(`slideChangeTransition${a}`), d === "next" ? e.emit(`slideNextTransition${a}`) : e.emit(`slidePrevTransition${a}`));
975
975
  }
976
976
  function rs(t, e) {
977
977
  t === void 0 && (t = !0);
@@ -1005,10 +1005,10 @@ var ls = {
1005
1005
  function os(t, e, s, i, a) {
1006
1006
  t === void 0 && (t = 0), s === void 0 && (s = !0), typeof t == "string" && (t = parseInt(t, 10));
1007
1007
  const r = this;
1008
- let d = t;
1009
- d < 0 && (d = 0);
1008
+ let c = t;
1009
+ c < 0 && (c = 0);
1010
1010
  const {
1011
- params: c,
1011
+ params: d,
1012
1012
  snapGrid: f,
1013
1013
  slidesGrid: o,
1014
1014
  previousIndex: u,
@@ -1017,27 +1017,27 @@ function os(t, e, s, i, a) {
1017
1017
  wrapperEl: g,
1018
1018
  enabled: n
1019
1019
  } = r;
1020
- if (!n && !i && !a || r.destroyed || r.animating && c.preventInteractionOnTransition)
1020
+ if (!n && !i && !a || r.destroyed || r.animating && d.preventInteractionOnTransition)
1021
1021
  return !1;
1022
1022
  typeof e > "u" && (e = r.params.speed);
1023
- const l = Math.min(r.params.slidesPerGroupSkip, d);
1024
- let w = l + Math.floor((d - l) / r.params.slidesPerGroup);
1023
+ const l = Math.min(r.params.slidesPerGroupSkip, c);
1024
+ let w = l + Math.floor((c - l) / r.params.slidesPerGroup);
1025
1025
  w >= f.length && (w = f.length - 1);
1026
1026
  const v = -f[w];
1027
- if (c.normalizeSlideIndex)
1027
+ if (d.normalizeSlideIndex)
1028
1028
  for (let I = 0; I < o.length; I += 1) {
1029
1029
  const R = -Math.floor(v * 100), _ = Math.floor(o[I] * 100), A = Math.floor(o[I + 1] * 100);
1030
- typeof o[I + 1] < "u" ? R >= _ && R < A - (A - _) / 2 ? d = I : R >= _ && R < A && (d = I + 1) : R >= _ && (d = I);
1030
+ typeof o[I + 1] < "u" ? R >= _ && R < A - (A - _) / 2 ? c = I : R >= _ && R < A && (c = I + 1) : R >= _ && (c = I);
1031
1031
  }
1032
- if (r.initialized && d !== m && (!r.allowSlideNext && (T ? v > r.translate && v > r.minTranslate() : v < r.translate && v < r.minTranslate()) || !r.allowSlidePrev && v > r.translate && v > r.maxTranslate() && (m || 0) !== d))
1032
+ if (r.initialized && c !== m && (!r.allowSlideNext && (T ? v > r.translate && v > r.minTranslate() : v < r.translate && v < r.minTranslate()) || !r.allowSlidePrev && v > r.translate && v > r.maxTranslate() && (m || 0) !== c))
1033
1033
  return !1;
1034
- d !== (u || 0) && s && r.emit("beforeSlideChangeStart"), r.updateProgress(v);
1034
+ c !== (u || 0) && s && r.emit("beforeSlideChangeStart"), r.updateProgress(v);
1035
1035
  let h;
1036
- d > m ? h = "next" : d < m ? h = "prev" : h = "reset";
1036
+ c > m ? h = "next" : c < m ? h = "prev" : h = "reset";
1037
1037
  const p = r.virtual && r.params.virtual.enabled;
1038
1038
  if (!(p && a) && (T && -v === r.translate || !T && v === r.translate))
1039
- return r.updateActiveIndex(d), c.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), c.effect !== "slide" && r.setTranslate(v), h !== "reset" && (r.transitionStart(s, h), r.transitionEnd(s, h)), !1;
1040
- if (c.cssMode) {
1039
+ return r.updateActiveIndex(c), d.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), d.effect !== "slide" && r.setTranslate(v), h !== "reset" && (r.transitionStart(s, h), r.transitionEnd(s, h)), !1;
1040
+ if (d.cssMode) {
1041
1041
  const I = r.isHorizontal(), R = T ? v : -v;
1042
1042
  if (e === 0)
1043
1043
  p && (r.wrapperEl.style.scrollSnapType = "none", r._immediateVirtual = !0), p && !r._cssModeVirtualInitialSet && r.params.initialSlide > 0 ? (r._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
@@ -1060,7 +1060,7 @@ function os(t, e, s, i, a) {
1060
1060
  return !0;
1061
1061
  }
1062
1062
  const O = vt().isSafari;
1063
- return p && !a && O && r.isElement && r.virtual.update(!1, !1, d), r.setTransition(e), r.setTranslate(v), r.updateActiveIndex(d), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, i), r.transitionStart(s, h), e === 0 ? r.transitionEnd(s, h) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(R) {
1063
+ return p && !a && O && r.isElement && r.virtual.update(!1, !1, c), r.setTransition(e), r.setTranslate(v), r.updateActiveIndex(c), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, i), r.transitionStart(s, h), e === 0 ? r.transitionEnd(s, h) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(R) {
1064
1064
  !r || r.destroyed || R.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(s, h));
1065
1065
  }), r.wrapperEl.addEventListener("transitionend", r.onSlideToWrapperTransitionEnd)), !0;
1066
1066
  }
@@ -1070,40 +1070,40 @@ function ds(t, e, s, i) {
1070
1070
  if (a.destroyed) return;
1071
1071
  typeof e > "u" && (e = a.params.speed);
1072
1072
  const r = a.grid && a.params.grid && a.params.grid.rows > 1;
1073
- let d = t;
1073
+ let c = t;
1074
1074
  if (a.params.loop)
1075
1075
  if (a.virtual && a.params.virtual.enabled)
1076
- d = d + a.virtual.slidesBefore;
1076
+ c = c + a.virtual.slidesBefore;
1077
1077
  else {
1078
- let c;
1078
+ let d;
1079
1079
  if (r) {
1080
- const T = d * a.params.grid.rows;
1081
- c = a.slides.find((g) => g.getAttribute("data-swiper-slide-index") * 1 === T).column;
1080
+ const T = c * a.params.grid.rows;
1081
+ d = a.slides.find((g) => g.getAttribute("data-swiper-slide-index") * 1 === T).column;
1082
1082
  } else
1083
- c = a.getSlideIndexByData(d);
1083
+ d = a.getSlideIndexByData(c);
1084
1084
  const f = r ? Math.ceil(a.slides.length / a.params.grid.rows) : a.slides.length, {
1085
1085
  centeredSlides: o
1086
1086
  } = a.params;
1087
1087
  let u = a.params.slidesPerView;
1088
1088
  u === "auto" ? u = a.slidesPerViewDynamic() : (u = Math.ceil(parseFloat(a.params.slidesPerView, 10)), o && u % 2 === 0 && (u = u + 1));
1089
- let m = f - c < u;
1090
- if (o && (m = m || c < Math.ceil(u / 2)), i && o && a.params.slidesPerView !== "auto" && !r && (m = !1), m) {
1091
- const T = o ? c < a.activeIndex ? "prev" : "next" : c - a.activeIndex - 1 < a.params.slidesPerView ? "next" : "prev";
1089
+ let m = f - d < u;
1090
+ if (o && (m = m || d < Math.ceil(u / 2)), i && o && a.params.slidesPerView !== "auto" && !r && (m = !1), m) {
1091
+ const T = o ? d < a.activeIndex ? "prev" : "next" : d - a.activeIndex - 1 < a.params.slidesPerView ? "next" : "prev";
1092
1092
  a.loopFix({
1093
1093
  direction: T,
1094
1094
  slideTo: !0,
1095
- activeSlideIndex: T === "next" ? c + 1 : c - f + 1,
1095
+ activeSlideIndex: T === "next" ? d + 1 : d - f + 1,
1096
1096
  slideRealIndex: T === "next" ? a.realIndex : void 0
1097
1097
  });
1098
1098
  }
1099
1099
  if (r) {
1100
- const T = d * a.params.grid.rows;
1101
- d = a.slides.find((g) => g.getAttribute("data-swiper-slide-index") * 1 === T).column;
1100
+ const T = c * a.params.grid.rows;
1101
+ c = a.slides.find((g) => g.getAttribute("data-swiper-slide-index") * 1 === T).column;
1102
1102
  } else
1103
- d = a.getSlideIndexByData(d);
1103
+ c = a.getSlideIndexByData(c);
1104
1104
  }
1105
1105
  return requestAnimationFrame(() => {
1106
- a.slideTo(d, e, s, i);
1106
+ a.slideTo(c, e, s, i);
1107
1107
  }), a;
1108
1108
  }
1109
1109
  function cs(t, e, s) {
@@ -1111,15 +1111,15 @@ function cs(t, e, s) {
1111
1111
  const i = this, {
1112
1112
  enabled: a,
1113
1113
  params: r,
1114
- animating: d
1114
+ animating: c
1115
1115
  } = i;
1116
1116
  if (!a || i.destroyed) return i;
1117
1117
  typeof t > "u" && (t = i.params.speed);
1118
- let c = r.slidesPerGroup;
1119
- r.slidesPerView === "auto" && r.slidesPerGroup === 1 && r.slidesPerGroupAuto && (c = Math.max(i.slidesPerViewDynamic("current", !0), 1));
1120
- const f = i.activeIndex < r.slidesPerGroupSkip ? 1 : c, o = i.virtual && r.virtual.enabled;
1118
+ let d = r.slidesPerGroup;
1119
+ r.slidesPerView === "auto" && r.slidesPerGroup === 1 && r.slidesPerGroupAuto && (d = Math.max(i.slidesPerViewDynamic("current", !0), 1));
1120
+ const f = i.activeIndex < r.slidesPerGroupSkip ? 1 : d, o = i.virtual && r.virtual.enabled;
1121
1121
  if (r.loop) {
1122
- if (d && !o && r.loopPreventsSliding) return !1;
1122
+ if (c && !o && r.loopPreventsSliding) return !1;
1123
1123
  if (i.loopFix({
1124
1124
  direction: "next"
1125
1125
  }), i._clientLeft = i.wrapperEl.clientLeft, i.activeIndex === i.slides.length - 1 && r.cssMode)
@@ -1134,8 +1134,8 @@ function fs(t, e, s) {
1134
1134
  const i = this, {
1135
1135
  params: a,
1136
1136
  snapGrid: r,
1137
- slidesGrid: d,
1138
- rtlTranslate: c,
1137
+ slidesGrid: c,
1138
+ rtlTranslate: d,
1139
1139
  enabled: f,
1140
1140
  animating: o
1141
1141
  } = i;
@@ -1148,7 +1148,7 @@ function fs(t, e, s) {
1148
1148
  direction: "prev"
1149
1149
  }), i._clientLeft = i.wrapperEl.clientLeft;
1150
1150
  }
1151
- const m = c ? i.translate : -i.translate;
1151
+ const m = d ? i.translate : -i.translate;
1152
1152
  function T(h) {
1153
1153
  return h < 0 ? -Math.floor(Math.abs(h)) : Math.floor(h);
1154
1154
  }
@@ -1161,7 +1161,7 @@ function fs(t, e, s) {
1161
1161
  }), typeof h < "u" && (w = l ? r[h] : r[h > 0 ? h - 1 : h]);
1162
1162
  }
1163
1163
  let v = 0;
1164
- if (typeof w < "u" && (v = d.indexOf(w), v < 0 && (v = i.activeIndex - 1), a.slidesPerView === "auto" && a.slidesPerGroup === 1 && a.slidesPerGroupAuto && (v = v - i.slidesPerViewDynamic("previous", !0) + 1, v = Math.max(v, 0))), a.rewind && i.isBeginning) {
1164
+ if (typeof w < "u" && (v = c.indexOf(w), v < 0 && (v = i.activeIndex - 1), a.slidesPerView === "auto" && a.slidesPerGroup === 1 && a.slidesPerGroupAuto && (v = v - i.slidesPerViewDynamic("previous", !0) + 1, v = Math.max(v, 0))), a.rewind && i.isBeginning) {
1165
1165
  const h = i.params.virtual && i.params.virtual.enabled && i.virtual ? i.virtual.slides.length - 1 : i.slides.length - 1;
1166
1166
  return i.slideTo(h, t, e, s);
1167
1167
  } else if (a.loop && i.activeIndex === 0 && a.cssMode)
@@ -1182,12 +1182,12 @@ function ps(t, e, s, i) {
1182
1182
  if (a.destroyed) return;
1183
1183
  typeof t > "u" && (t = a.params.speed);
1184
1184
  let r = a.activeIndex;
1185
- const d = Math.min(a.params.slidesPerGroupSkip, r), c = d + Math.floor((r - d) / a.params.slidesPerGroup), f = a.rtlTranslate ? a.translate : -a.translate;
1186
- if (f >= a.snapGrid[c]) {
1187
- const o = a.snapGrid[c], u = a.snapGrid[c + 1];
1185
+ const c = Math.min(a.params.slidesPerGroupSkip, r), d = c + Math.floor((r - c) / a.params.slidesPerGroup), f = a.rtlTranslate ? a.translate : -a.translate;
1186
+ if (f >= a.snapGrid[d]) {
1187
+ const o = a.snapGrid[d], u = a.snapGrid[d + 1];
1188
1188
  f - o > (u - o) * i && (r += a.params.slidesPerGroup);
1189
1189
  } else {
1190
- const o = a.snapGrid[c - 1], u = a.snapGrid[c];
1190
+ const o = a.snapGrid[d - 1], u = a.snapGrid[d];
1191
1191
  f - o <= (u - o) * i && (r -= a.params.slidesPerGroup);
1192
1192
  }
1193
1193
  return r = Math.max(r, 0), r = Math.min(r, a.slidesGrid.length - 1), a.slideTo(r, t, e, s);
@@ -1200,10 +1200,10 @@ function ms() {
1200
1200
  slidesEl: s
1201
1201
  } = t, i = e.slidesPerView === "auto" ? t.slidesPerViewDynamic() : e.slidesPerView;
1202
1202
  let a = t.getSlideIndexWhenGrid(t.clickedIndex), r;
1203
- const d = t.isElement ? "swiper-slide" : `.${e.slideClass}`, c = t.grid && t.params.grid && t.params.grid.rows > 1;
1203
+ const c = t.isElement ? "swiper-slide" : `.${e.slideClass}`, d = t.grid && t.params.grid && t.params.grid.rows > 1;
1204
1204
  if (e.loop) {
1205
1205
  if (t.animating) return;
1206
- r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? t.slideToLoop(r) : a > (c ? (t.slides.length - i) / 2 - (t.params.grid.rows - 1) : t.slides.length - i) ? (t.loopFix(), a = t.getSlideIndex(j(s, `${d}[data-swiper-slide-index="${r}"]`)[0]), Te(() => {
1206
+ r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? t.slideToLoop(r) : a > (d ? (t.slides.length - i) / 2 - (t.params.grid.rows - 1) : t.slides.length - i) ? (t.loopFix(), a = t.getSlideIndex(j(s, `${c}[data-swiper-slide-index="${r}"]`)[0]), Te(() => {
1207
1207
  t.slideTo(a);
1208
1208
  })) : t.slideTo(a);
1209
1209
  } else
@@ -1228,14 +1228,14 @@ function gs(t, e) {
1228
1228
  j(a, `.${i.slideClass}, swiper-slide`).forEach((g, n) => {
1229
1229
  g.setAttribute("data-swiper-slide-index", n);
1230
1230
  });
1231
- }, d = () => {
1231
+ }, c = () => {
1232
1232
  const T = j(a, `.${i.slideBlankClass}`);
1233
1233
  T.forEach((g) => {
1234
1234
  g.remove();
1235
1235
  }), T.length > 0 && (s.recalcSlides(), s.updateSlides());
1236
- }, c = s.grid && i.grid && i.grid.rows > 1;
1237
- i.loopAddBlankSlides && (i.slidesPerGroup > 1 || c) && d();
1238
- const f = i.slidesPerGroup * (c ? i.grid.rows : 1), o = s.slides.length % f !== 0, u = c && s.slides.length % i.grid.rows !== 0, m = (T) => {
1236
+ }, d = s.grid && i.grid && i.grid.rows > 1;
1237
+ i.loopAddBlankSlides && (i.slidesPerGroup > 1 || d) && c();
1238
+ const f = i.slidesPerGroup * (d ? i.grid.rows : 1), o = s.slides.length % f !== 0, u = d && s.slides.length % i.grid.rows !== 0, m = (T) => {
1239
1239
  for (let g = 0; g < T; g += 1) {
1240
1240
  const n = s.isElement ? ee("swiper-slide", [i.slideBlankClass]) : ee("div", [i.slideClass, i.slideBlankClass]);
1241
1241
  s.slidesEl.append(n);
@@ -1270,8 +1270,8 @@ function ws(t) {
1270
1270
  direction: i,
1271
1271
  setTranslate: a,
1272
1272
  activeSlideIndex: r,
1273
- initial: d,
1274
- byController: c,
1273
+ initial: c,
1274
+ byController: d,
1275
1275
  byMousewheel: f
1276
1276
  } = t === void 0 ? {} : t;
1277
1277
  const o = this;
@@ -1298,7 +1298,7 @@ function ws(t) {
1298
1298
  p % h !== 0 && (p += h - p % h), p += n.loopAdditionalSlides, o.loopedSlides = p;
1299
1299
  const E = o.grid && n.grid && n.grid.rows > 1;
1300
1300
  u.length < v + p || o.params.effect === "cards" && u.length < v + p * 2 ? Ge("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") : E && n.grid.fill === "row" && Ge("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
1301
- const b = [], O = [], I = E ? Math.ceil(u.length / n.grid.rows) : u.length, R = d && I - w < v && !l;
1301
+ const b = [], O = [], I = E ? Math.ceil(u.length / n.grid.rows) : u.length, R = c && I - w < v && !l;
1302
1302
  let _ = R ? w : o.activeIndex;
1303
1303
  typeof r > "u" ? r = o.getSlideIndex(u.find(($) => $.classList.contains(n.slideActiveClass))) : _ = r;
1304
1304
  const A = i === "next" || !i, M = i === "prev" || !i;
@@ -1350,7 +1350,7 @@ function ws(t) {
1350
1350
  o.slideTo(o.activeIndex - $, 0, !1, !0);
1351
1351
  }
1352
1352
  }
1353
- if (o.allowSlidePrev = m, o.allowSlideNext = T, o.controller && o.controller.control && !c) {
1353
+ if (o.allowSlidePrev = m, o.allowSlideNext = T, o.controller && o.controller.control && !d) {
1354
1354
  const $ = {
1355
1355
  slideRealIndex: e,
1356
1356
  direction: i,
@@ -1423,8 +1423,8 @@ function ys(t, e) {
1423
1423
  function ct(t, e, s) {
1424
1424
  const i = Y(), {
1425
1425
  params: a
1426
- } = t, r = a.edgeSwipeDetection, d = a.edgeSwipeThreshold;
1427
- return r && (s <= d || s >= i.innerWidth - d) ? r === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
1426
+ } = t, r = a.edgeSwipeDetection, c = a.edgeSwipeThreshold;
1427
+ return r && (s <= c || s >= i.innerWidth - c) ? r === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
1428
1428
  }
1429
1429
  function As(t) {
1430
1430
  const e = this, s = q();
@@ -1442,10 +1442,10 @@ function As(t) {
1442
1442
  }
1443
1443
  const {
1444
1444
  params: r,
1445
- touches: d,
1446
- enabled: c
1445
+ touches: c,
1446
+ enabled: d
1447
1447
  } = e;
1448
- if (!c || !r.simulateTouch && i.pointerType === "mouse" || e.animating && r.preventInteractionOnTransition)
1448
+ if (!d || !r.simulateTouch && i.pointerType === "mouse" || e.animating && r.preventInteractionOnTransition)
1449
1449
  return;
1450
1450
  !e.animating && r.cssMode && r.loop && e.loopFix();
1451
1451
  let f = i.target;
@@ -1459,8 +1459,8 @@ function As(t) {
1459
1459
  }
1460
1460
  if (r.swipeHandler && !f.closest(r.swipeHandler))
1461
1461
  return;
1462
- d.currentX = i.pageX, d.currentY = i.pageY;
1463
- const g = d.currentX, n = d.currentY;
1462
+ c.currentX = i.pageX, c.currentY = i.pageY;
1463
+ const g = c.currentX, n = c.currentY;
1464
1464
  if (!ct(e, i, g))
1465
1465
  return;
1466
1466
  Object.assign(a, {
@@ -1469,7 +1469,7 @@ function As(t) {
1469
1469
  allowTouchCallbacks: !0,
1470
1470
  isScrolling: void 0,
1471
1471
  startMoving: void 0
1472
- }), d.startX = g, d.startY = n, a.touchStartTime = te(), e.allowClick = !0, e.updateSize(), e.swipeDirection = void 0, r.threshold > 0 && (a.allowThresholdMove = !1);
1472
+ }), c.startX = g, c.startY = n, a.touchStartTime = te(), e.allowClick = !0, e.updateSize(), e.swipeDirection = void 0, r.threshold > 0 && (a.allowThresholdMove = !1);
1473
1473
  let l = !0;
1474
1474
  f.matches(a.focusableElements) && (l = !1, f.nodeName === "SELECT" && (a.isTouched = !1)), s.activeElement && s.activeElement.matches(a.focusableElements) && s.activeElement !== f && (i.pointerType === "mouse" || i.pointerType !== "mouse" && !f.matches(a.focusableElements)) && s.activeElement.blur();
1475
1475
  const w = l && e.allowTouchMove && r.touchStartPreventDefault;
@@ -1479,10 +1479,10 @@ function _s(t) {
1479
1479
  const e = q(), s = this, i = s.touchEventsData, {
1480
1480
  params: a,
1481
1481
  touches: r,
1482
- rtlTranslate: d,
1483
- enabled: c
1482
+ rtlTranslate: c,
1483
+ enabled: d
1484
1484
  } = s;
1485
- if (!c || !a.simulateTouch && t.pointerType === "mouse") return;
1485
+ if (!d || !a.simulateTouch && t.pointerType === "mouse") return;
1486
1486
  let f = t;
1487
1487
  if (f.originalEvent && (f = f.originalEvent), f.type === "pointermove" && (i.touchId !== null || f.pointerId !== i.pointerId))
1488
1488
  return;
@@ -1516,9 +1516,9 @@ function _s(t) {
1516
1516
  return;
1517
1517
  }
1518
1518
  } else {
1519
- if (d && (u > r.startX && -s.translate <= s.maxTranslate() || u < r.startX && -s.translate >= s.minTranslate()))
1519
+ if (c && (u > r.startX && -s.translate <= s.maxTranslate() || u < r.startX && -s.translate >= s.minTranslate()))
1520
1520
  return;
1521
- if (!d && (u < r.startX && s.translate <= s.maxTranslate() || u > r.startX && s.translate >= s.minTranslate()))
1521
+ if (!c && (u < r.startX && s.translate <= s.maxTranslate() || u > r.startX && s.translate >= s.minTranslate()))
1522
1522
  return;
1523
1523
  }
1524
1524
  if (e.activeElement && e.activeElement.matches(i.focusableElements) && e.activeElement !== f.target && f.pointerType !== "mouse" && e.activeElement.blur(), e.activeElement && f.target === e.activeElement && f.target.matches(i.focusableElements)) {
@@ -1540,7 +1540,7 @@ function _s(t) {
1540
1540
  return;
1541
1541
  s.allowClick = !1, !a.cssMode && f.cancelable && f.preventDefault(), a.touchMoveStopPropagation && !a.nested && f.stopPropagation();
1542
1542
  let n = s.isHorizontal() ? T : g, l = s.isHorizontal() ? r.currentX - r.previousX : r.currentY - r.previousY;
1543
- a.oneWayMovement && (n = Math.abs(n) * (d ? 1 : -1), l = Math.abs(l) * (d ? 1 : -1)), r.diff = n, n *= a.touchRatio, d && (n = -n, l = -l);
1543
+ a.oneWayMovement && (n = Math.abs(n) * (c ? 1 : -1), l = Math.abs(l) * (c ? 1 : -1)), r.diff = n, n *= a.touchRatio, c && (n = -n, l = -l);
1544
1544
  const w = s.touchesDirection;
1545
1545
  s.swipeDirection = n > 0 ? "prev" : "next", s.touchesDirection = l > 0 ? "prev" : "next";
1546
1546
  const v = s.params.loop && !a.cssMode, h = s.touchesDirection === "next" && s.allowSlideNext || s.touchesDirection === "prev" && s.allowSlidePrev;
@@ -1606,18 +1606,18 @@ function xs(t) {
1606
1606
  return;
1607
1607
  s.pointerId = null, s.touchId = null;
1608
1608
  const {
1609
- params: d,
1610
- touches: c,
1609
+ params: c,
1610
+ touches: d,
1611
1611
  rtlTranslate: f,
1612
1612
  slidesGrid: o,
1613
1613
  enabled: u
1614
1614
  } = e;
1615
- if (!u || !d.simulateTouch && i.pointerType === "mouse") return;
1615
+ if (!u || !c.simulateTouch && i.pointerType === "mouse") return;
1616
1616
  if (s.allowTouchCallbacks && e.emit("touchEnd", i), s.allowTouchCallbacks = !1, !s.isTouched) {
1617
- s.isMoved && d.grabCursor && e.setGrabCursor(!1), s.isMoved = !1, s.startMoving = !1;
1617
+ s.isMoved && c.grabCursor && e.setGrabCursor(!1), s.isMoved = !1, s.startMoving = !1;
1618
1618
  return;
1619
1619
  }
1620
- d.grabCursor && s.isMoved && s.isTouched && (e.allowSlideNext === !0 || e.allowSlidePrev === !0) && e.setGrabCursor(!1);
1620
+ c.grabCursor && s.isMoved && s.isTouched && (e.allowSlideNext === !0 || e.allowSlidePrev === !0) && e.setGrabCursor(!1);
1621
1621
  const m = te(), T = m - s.touchStartTime;
1622
1622
  if (e.allowClick) {
1623
1623
  const b = i.path || i.composedPath && i.composedPath();
@@ -1625,15 +1625,15 @@ function xs(t) {
1625
1625
  }
1626
1626
  if (s.lastClickTime = te(), Te(() => {
1627
1627
  e.destroyed || (e.allowClick = !0);
1628
- }), !s.isTouched || !s.isMoved || !e.swipeDirection || c.diff === 0 && !s.loopSwapReset || s.currentTranslate === s.startTranslate && !s.loopSwapReset) {
1628
+ }), !s.isTouched || !s.isMoved || !e.swipeDirection || d.diff === 0 && !s.loopSwapReset || s.currentTranslate === s.startTranslate && !s.loopSwapReset) {
1629
1629
  s.isTouched = !1, s.isMoved = !1, s.startMoving = !1;
1630
1630
  return;
1631
1631
  }
1632
1632
  s.isTouched = !1, s.isMoved = !1, s.startMoving = !1;
1633
1633
  let g;
1634
- if (d.followFinger ? g = f ? e.translate : -e.translate : g = -s.currentTranslate, d.cssMode)
1634
+ if (c.followFinger ? g = f ? e.translate : -e.translate : g = -s.currentTranslate, c.cssMode)
1635
1635
  return;
1636
- if (d.freeMode && d.freeMode.enabled) {
1636
+ if (c.freeMode && c.freeMode.enabled) {
1637
1637
  e.freeMode.onTouchEnd({
1638
1638
  currentPos: g
1639
1639
  });
@@ -1641,21 +1641,21 @@ function xs(t) {
1641
1641
  }
1642
1642
  const n = g >= -e.maxTranslate() && !e.params.loop;
1643
1643
  let l = 0, w = e.slidesSizesGrid[0];
1644
- for (let b = 0; b < o.length; b += b < d.slidesPerGroupSkip ? 1 : d.slidesPerGroup) {
1645
- const O = b < d.slidesPerGroupSkip - 1 ? 1 : d.slidesPerGroup;
1644
+ for (let b = 0; b < o.length; b += b < c.slidesPerGroupSkip ? 1 : c.slidesPerGroup) {
1645
+ const O = b < c.slidesPerGroupSkip - 1 ? 1 : c.slidesPerGroup;
1646
1646
  typeof o[b + O] < "u" ? (n || g >= o[b] && g < o[b + O]) && (l = b, w = o[b + O] - o[b]) : (n || g >= o[b]) && (l = b, w = o[o.length - 1] - o[o.length - 2]);
1647
1647
  }
1648
1648
  let v = null, h = null;
1649
- d.rewind && (e.isBeginning ? h = d.virtual && d.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (v = 0));
1650
- const p = (g - o[l]) / w, E = l < d.slidesPerGroupSkip - 1 ? 1 : d.slidesPerGroup;
1651
- if (T > d.longSwipesMs) {
1652
- if (!d.longSwipes) {
1649
+ c.rewind && (e.isBeginning ? h = c.virtual && c.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (v = 0));
1650
+ const p = (g - o[l]) / w, E = l < c.slidesPerGroupSkip - 1 ? 1 : c.slidesPerGroup;
1651
+ if (T > c.longSwipesMs) {
1652
+ if (!c.longSwipes) {
1653
1653
  e.slideTo(e.activeIndex);
1654
1654
  return;
1655
1655
  }
1656
- e.swipeDirection === "next" && (p >= d.longSwipesRatio ? e.slideTo(d.rewind && e.isEnd ? v : l + E) : e.slideTo(l)), e.swipeDirection === "prev" && (p > 1 - d.longSwipesRatio ? e.slideTo(l + E) : h !== null && p < 0 && Math.abs(p) > d.longSwipesRatio ? e.slideTo(h) : e.slideTo(l));
1656
+ e.swipeDirection === "next" && (p >= c.longSwipesRatio ? e.slideTo(c.rewind && e.isEnd ? v : l + E) : e.slideTo(l)), e.swipeDirection === "prev" && (p > 1 - c.longSwipesRatio ? e.slideTo(l + E) : h !== null && p < 0 && Math.abs(p) > c.longSwipesRatio ? e.slideTo(h) : e.slideTo(l));
1657
1657
  } else {
1658
- if (!d.shortSwipes) {
1658
+ if (!c.shortSwipes) {
1659
1659
  e.slideTo(e.activeIndex);
1660
1660
  return;
1661
1661
  }
@@ -1673,10 +1673,10 @@ function ft() {
1673
1673
  allowSlideNext: i,
1674
1674
  allowSlidePrev: a,
1675
1675
  snapGrid: r
1676
- } = t, d = t.virtual && t.params.virtual.enabled;
1676
+ } = t, c = t.virtual && t.params.virtual.enabled;
1677
1677
  t.allowSlideNext = !0, t.allowSlidePrev = !0, t.updateSize(), t.updateSlides(), t.updateSlidesClasses();
1678
- const c = d && e.loop;
1679
- (e.slidesPerView === "auto" || e.slidesPerView > 1) && t.isEnd && !t.isBeginning && !t.params.centeredSlides && !c ? t.slideTo(t.slides.length - 1, 0, !1, !0) : t.params.loop && !d ? t.slideToLoop(t.realIndex, 0, !1, !0) : t.slideTo(t.activeIndex, 0, !1, !0), t.autoplay && t.autoplay.running && t.autoplay.paused && (clearTimeout(t.autoplay.resizeTimeout), t.autoplay.resizeTimeout = setTimeout(() => {
1678
+ const d = c && e.loop;
1679
+ (e.slidesPerView === "auto" || e.slidesPerView > 1) && t.isEnd && !t.isBeginning && !t.params.centeredSlides && !d ? t.slideTo(t.slides.length - 1, 0, !1, !0) : t.params.loop && !c ? t.slideToLoop(t.realIndex, 0, !1, !0) : t.slideTo(t.activeIndex, 0, !1, !0), t.autoplay && t.autoplay.running && t.autoplay.paused && (clearTimeout(t.autoplay.resizeTimeout), t.autoplay.resizeTimeout = setTimeout(() => {
1680
1680
  t.autoplay && t.autoplay.running && t.autoplay.paused && t.autoplay.resume();
1681
1681
  }, 500)), t.allowSlidePrev = a, t.allowSlideNext = i, t.params.watchOverflow && r !== t.snapGrid && t.checkOverflow();
1682
1682
  }
@@ -1709,21 +1709,21 @@ const St = (t, e) => {
1709
1709
  params: i,
1710
1710
  el: a,
1711
1711
  wrapperEl: r,
1712
- device: d
1713
- } = t, c = !!i.nested, f = e === "on" ? "addEventListener" : "removeEventListener", o = e;
1712
+ device: c
1713
+ } = t, d = !!i.nested, f = e === "on" ? "addEventListener" : "removeEventListener", o = e;
1714
1714
  !a || typeof a == "string" || (s[f]("touchstart", t.onDocumentTouchStart, {
1715
1715
  passive: !1,
1716
- capture: c
1716
+ capture: d
1717
1717
  }), a[f]("touchstart", t.onTouchStart, {
1718
1718
  passive: !1
1719
1719
  }), a[f]("pointerdown", t.onTouchStart, {
1720
1720
  passive: !1
1721
1721
  }), s[f]("touchmove", t.onTouchMove, {
1722
1722
  passive: !1,
1723
- capture: c
1723
+ capture: d
1724
1724
  }), s[f]("pointermove", t.onTouchMove, {
1725
1725
  passive: !1,
1726
- capture: c
1726
+ capture: d
1727
1727
  }), s[f]("touchend", t.onTouchEnd, {
1728
1728
  passive: !0
1729
1729
  }), s[f]("pointerup", t.onTouchEnd, {
@@ -1738,7 +1738,7 @@ const St = (t, e) => {
1738
1738
  passive: !0
1739
1739
  }), s[f]("contextmenu", t.onTouchEnd, {
1740
1740
  passive: !0
1741
- }), (i.preventClicks || i.preventClicksPropagation) && a[f]("click", t.onClick, !0), i.cssMode && r[f]("scroll", t.onScroll), i.updateOnWindowResize ? t[o](d.ios || d.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", ft, !0) : t[o]("observerUpdate", ft, !0), a[f]("load", t.onLoad, {
1741
+ }), (i.preventClicks || i.preventClicksPropagation) && a[f]("click", t.onClick, !0), i.cssMode && r[f]("scroll", t.onScroll), i.updateOnWindowResize ? t[o](c.ios || c.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", ft, !0) : t[o]("observerUpdate", ft, !0), a[f]("load", t.onLoad, {
1742
1742
  capture: !0
1743
1743
  }));
1744
1744
  };
@@ -1764,7 +1764,7 @@ function Ds() {
1764
1764
  el: a
1765
1765
  } = t, r = i.breakpoints;
1766
1766
  if (!r || r && Object.keys(r).length === 0) return;
1767
- const d = q(), c = i.breakpointsBase === "window" || !i.breakpointsBase ? i.breakpointsBase : "container", f = ["window", "container"].includes(i.breakpointsBase) || !i.breakpointsBase ? t.el : d.querySelector(i.breakpointsBase), o = t.getBreakpoint(r, c, f);
1767
+ const c = q(), d = i.breakpointsBase === "window" || !i.breakpointsBase ? i.breakpointsBase : "container", f = ["window", "container"].includes(i.breakpointsBase) || !i.breakpointsBase ? t.el : c.querySelector(i.breakpointsBase), o = t.getBreakpoint(r, d, f);
1768
1768
  if (!o || t.currentBreakpoint === o) return;
1769
1769
  const m = (o in r ? r[o] : void 0) || t.originalParams, T = ut(t, i), g = ut(t, m), n = t.params.grabCursor, l = m.grabCursor, w = i.enabled;
1770
1770
  T && !g ? (a.classList.remove(`${i.containerModifierClass}grid`, `${i.containerModifierClass}grid-column`), t.emitContainerClasses()) : !T && g && (a.classList.add(`${i.containerModifierClass}grid`), (m.grid.fill && m.grid.fill === "column" || !m.grid.fill && i.grid.fill === "column") && a.classList.add(`${i.containerModifierClass}grid-column`), t.emitContainerClasses()), n && !l ? t.unsetGrabCursor() : !n && l && t.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((O) => {
@@ -1784,25 +1784,25 @@ function Ds() {
1784
1784
  function Ns(t, e, s) {
1785
1785
  if (e === void 0 && (e = "window"), !t || e === "container" && !s) return;
1786
1786
  let i = !1;
1787
- const a = Y(), r = e === "window" ? a.innerHeight : s.clientHeight, d = Object.keys(t).map((c) => {
1788
- if (typeof c == "string" && c.indexOf("@") === 0) {
1789
- const f = parseFloat(c.substr(1));
1787
+ const a = Y(), r = e === "window" ? a.innerHeight : s.clientHeight, c = Object.keys(t).map((d) => {
1788
+ if (typeof d == "string" && d.indexOf("@") === 0) {
1789
+ const f = parseFloat(d.substr(1));
1790
1790
  return {
1791
1791
  value: r * f,
1792
- point: c
1792
+ point: d
1793
1793
  };
1794
1794
  }
1795
1795
  return {
1796
- value: c,
1797
- point: c
1796
+ value: d,
1797
+ point: d
1798
1798
  };
1799
1799
  });
1800
- d.sort((c, f) => parseInt(c.value, 10) - parseInt(f.value, 10));
1801
- for (let c = 0; c < d.length; c += 1) {
1800
+ c.sort((d, f) => parseInt(d.value, 10) - parseInt(f.value, 10));
1801
+ for (let d = 0; d < c.length; d += 1) {
1802
1802
  const {
1803
1803
  point: f,
1804
1804
  value: o
1805
- } = d[c];
1805
+ } = c[d];
1806
1806
  e === "window" ? a.matchMedia(`(min-width: ${o}px)`).matches && (i = f) : o <= s.clientWidth && (i = f);
1807
1807
  }
1808
1808
  return i || "max";
@@ -1826,7 +1826,7 @@ function Gs() {
1826
1826
  rtl: i,
1827
1827
  el: a,
1828
1828
  device: r
1829
- } = t, d = $s(["initialized", s.direction, {
1829
+ } = t, c = $s(["initialized", s.direction, {
1830
1830
  "free-mode": t.params.freeMode && s.freeMode.enabled
1831
1831
  }, {
1832
1832
  autoheight: s.autoHeight
@@ -1847,7 +1847,7 @@ function Gs() {
1847
1847
  }, {
1848
1848
  "watch-progress": s.watchSlidesProgress
1849
1849
  }], s.containerModifierClass);
1850
- e.push(...d), a.classList.add(...e), t.emitContainerClasses();
1850
+ e.push(...c), a.classList.add(...e), t.emitContainerClasses();
1851
1851
  }
1852
1852
  function Bs() {
1853
1853
  const t = this, {
@@ -2035,37 +2035,37 @@ class Q {
2035
2035
  for (var i = arguments.length, a = new Array(i), r = 0; r < i; r++)
2036
2036
  a[r] = arguments[r];
2037
2037
  a.length === 1 && a[0].constructor && Object.prototype.toString.call(a[0]).slice(8, -1) === "Object" ? s = a[0] : [e, s] = a, s || (s = {}), s = J({}, s), e && !s.el && (s.el = e);
2038
- const d = q();
2039
- if (s.el && typeof s.el == "string" && d.querySelectorAll(s.el).length > 1) {
2038
+ const c = q();
2039
+ if (s.el && typeof s.el == "string" && c.querySelectorAll(s.el).length > 1) {
2040
2040
  const u = [];
2041
- return d.querySelectorAll(s.el).forEach((m) => {
2041
+ return c.querySelectorAll(s.el).forEach((m) => {
2042
2042
  const T = J({}, s, {
2043
2043
  el: m
2044
2044
  });
2045
2045
  u.push(new Q(T));
2046
2046
  }), u;
2047
2047
  }
2048
- const c = this;
2049
- c.__swiper__ = !0, c.support = wt(), c.device = Tt({
2048
+ const d = this;
2049
+ d.__swiper__ = !0, d.support = wt(), d.device = Tt({
2050
2050
  userAgent: s.userAgent
2051
- }), c.browser = vt(), c.eventsListeners = {}, c.eventsAnyListeners = [], c.modules = [...c.__modules__], s.modules && Array.isArray(s.modules) && c.modules.push(...s.modules);
2051
+ }), d.browser = vt(), d.eventsListeners = {}, d.eventsAnyListeners = [], d.modules = [...d.__modules__], s.modules && Array.isArray(s.modules) && d.modules.push(...s.modules);
2052
2052
  const f = {};
2053
- c.modules.forEach((u) => {
2053
+ d.modules.forEach((u) => {
2054
2054
  u({
2055
2055
  params: s,
2056
- swiper: c,
2056
+ swiper: d,
2057
2057
  extendParams: Fs(s, f),
2058
- on: c.on.bind(c),
2059
- once: c.once.bind(c),
2060
- off: c.off.bind(c),
2061
- emit: c.emit.bind(c)
2058
+ on: d.on.bind(d),
2059
+ once: d.once.bind(d),
2060
+ off: d.off.bind(d),
2061
+ emit: d.emit.bind(d)
2062
2062
  });
2063
2063
  });
2064
2064
  const o = J({}, pt, f);
2065
- return c.params = J({}, o, Je, s), c.originalParams = J({}, c.params), c.passedParams = J({}, s), c.params && c.params.on && Object.keys(c.params.on).forEach((u) => {
2066
- c.on(u, c.params.on[u]);
2067
- }), c.params && c.params.onAny && c.onAny(c.params.onAny), Object.assign(c, {
2068
- enabled: c.params.enabled,
2065
+ return d.params = J({}, o, Je, s), d.originalParams = J({}, d.params), d.passedParams = J({}, s), d.params && d.params.on && Object.keys(d.params.on).forEach((u) => {
2066
+ d.on(u, d.params.on[u]);
2067
+ }), d.params && d.params.onAny && d.onAny(d.params.onAny), Object.assign(d, {
2068
+ enabled: d.params.enabled,
2069
2069
  el: e,
2070
2070
  // Classes
2071
2071
  classNames: [],
@@ -2076,10 +2076,10 @@ class Q {
2076
2076
  slidesSizesGrid: [],
2077
2077
  // isDirection
2078
2078
  isHorizontal() {
2079
- return c.params.direction === "horizontal";
2079
+ return d.params.direction === "horizontal";
2080
2080
  },
2081
2081
  isVertical() {
2082
- return c.params.direction === "vertical";
2082
+ return d.params.direction === "vertical";
2083
2083
  },
2084
2084
  // Indexes
2085
2085
  activeIndex: 0,
@@ -2097,8 +2097,8 @@ class Q {
2097
2097
  return Math.trunc(this.translate / 2 ** 23) * 2 ** 23;
2098
2098
  },
2099
2099
  // Locks
2100
- allowSlideNext: c.params.allowSlideNext,
2101
- allowSlidePrev: c.params.allowSlidePrev,
2100
+ allowSlideNext: d.params.allowSlideNext,
2101
+ allowSlidePrev: d.params.allowSlidePrev,
2102
2102
  // Touch Events
2103
2103
  touchEventsData: {
2104
2104
  isTouched: void 0,
@@ -2110,7 +2110,7 @@ class Q {
2110
2110
  startTranslate: void 0,
2111
2111
  allowThresholdMove: void 0,
2112
2112
  // Form elements to match
2113
- focusableElements: c.params.focusableElements,
2113
+ focusableElements: d.params.focusableElements,
2114
2114
  // Last click time
2115
2115
  lastClickTime: 0,
2116
2116
  clickTimeout: void 0,
@@ -2124,7 +2124,7 @@ class Q {
2124
2124
  // Clicks
2125
2125
  allowClick: !0,
2126
2126
  // Touches
2127
- allowTouchMove: c.params.allowTouchMove,
2127
+ allowTouchMove: d.params.allowTouchMove,
2128
2128
  touches: {
2129
2129
  startX: 0,
2130
2130
  startY: 0,
@@ -2135,7 +2135,7 @@ class Q {
2135
2135
  // Images
2136
2136
  imagesToLoad: [],
2137
2137
  imagesLoaded: 0
2138
- }), c.emit("_swiper"), c.params.init && c.init(), c;
2138
+ }), d.emit("_swiper"), d.params.init && d.init(), d;
2139
2139
  }
2140
2140
  getDirectionLabel(e) {
2141
2141
  return this.isHorizontal() ? e : {
@@ -2180,8 +2180,8 @@ class Q {
2180
2180
  setProgress(e, s) {
2181
2181
  const i = this;
2182
2182
  e = Math.min(Math.max(e, 0), 1);
2183
- const a = i.minTranslate(), d = (i.maxTranslate() - a) * e + a;
2184
- i.translateTo(d, typeof s > "u" ? 0 : s), i.updateActiveIndex(), i.updateSlidesClasses();
2183
+ const a = i.minTranslate(), c = (i.maxTranslate() - a) * e + a;
2184
+ i.translateTo(c, typeof s > "u" ? 0 : s), i.updateActiveIndex(), i.updateSlidesClasses();
2185
2185
  }
2186
2186
  emitContainerClasses() {
2187
2187
  const e = this;
@@ -2210,8 +2210,8 @@ class Q {
2210
2210
  const i = this, {
2211
2211
  params: a,
2212
2212
  slides: r,
2213
- slidesGrid: d,
2214
- slidesSizesGrid: c,
2213
+ slidesGrid: c,
2214
+ slidesSizesGrid: d,
2215
2215
  size: f,
2216
2216
  activeIndex: o
2217
2217
  } = i;
@@ -2225,10 +2225,10 @@ class Q {
2225
2225
  r[g] && !T && (m += r[g].swiperSlideSize, u += 1, m > f && (T = !0));
2226
2226
  } else if (e === "current")
2227
2227
  for (let m = o + 1; m < r.length; m += 1)
2228
- (s ? d[m] + c[m] - d[o] < f : d[m] - d[o] < f) && (u += 1);
2228
+ (s ? c[m] + d[m] - c[o] < f : c[m] - c[o] < f) && (u += 1);
2229
2229
  else
2230
2230
  for (let m = o - 1; m >= 0; m -= 1)
2231
- d[o] - d[m] < f && (u += 1);
2231
+ c[o] - c[m] < f && (u += 1);
2232
2232
  return u;
2233
2233
  }
2234
2234
  update() {
@@ -2238,20 +2238,20 @@ class Q {
2238
2238
  snapGrid: s,
2239
2239
  params: i
2240
2240
  } = e;
2241
- i.breakpoints && e.setBreakpoint(), [...e.el.querySelectorAll('[loading="lazy"]')].forEach((d) => {
2242
- d.complete && ze(e, d);
2241
+ i.breakpoints && e.setBreakpoint(), [...e.el.querySelectorAll('[loading="lazy"]')].forEach((c) => {
2242
+ c.complete && ze(e, c);
2243
2243
  }), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses();
2244
2244
  function a() {
2245
- const d = e.rtlTranslate ? e.translate * -1 : e.translate, c = Math.min(Math.max(d, e.maxTranslate()), e.minTranslate());
2246
- e.setTranslate(c), e.updateActiveIndex(), e.updateSlidesClasses();
2245
+ const c = e.rtlTranslate ? e.translate * -1 : e.translate, d = Math.min(Math.max(c, e.maxTranslate()), e.minTranslate());
2246
+ e.setTranslate(d), e.updateActiveIndex(), e.updateSlidesClasses();
2247
2247
  }
2248
2248
  let r;
2249
2249
  if (i.freeMode && i.freeMode.enabled && !i.cssMode)
2250
2250
  a(), i.autoHeight && e.updateAutoHeight();
2251
2251
  else {
2252
2252
  if ((i.slidesPerView === "auto" || i.slidesPerView > 1) && e.isEnd && !i.centeredSlides) {
2253
- const d = e.virtual && i.virtual.enabled ? e.virtual.slides : e.slides;
2254
- r = e.slideTo(d.length - 1, 0, !1, !0);
2253
+ const c = e.virtual && i.virtual.enabled ? e.virtual.slides : e.slides;
2254
+ r = e.slideTo(c.length - 1, 0, !1, !0);
2255
2255
  } else
2256
2256
  r = e.slideTo(e.activeIndex, 0, !1, !0);
2257
2257
  r || a();
@@ -2277,19 +2277,19 @@ class Q {
2277
2277
  return !1;
2278
2278
  i.swiper = s, i.parentNode && i.parentNode.host && i.parentNode.host.nodeName === s.params.swiperElementNodeName.toUpperCase() && (s.isElement = !0);
2279
2279
  const a = () => `.${(s.params.wrapperClass || "").trim().split(" ").join(".")}`;
2280
- let d = i && i.shadowRoot && i.shadowRoot.querySelector ? i.shadowRoot.querySelector(a()) : j(i, a())[0];
2281
- return !d && s.params.createElements && (d = ee("div", s.params.wrapperClass), i.append(d), j(i, `.${s.params.slideClass}`).forEach((c) => {
2282
- d.append(c);
2280
+ let c = i && i.shadowRoot && i.shadowRoot.querySelector ? i.shadowRoot.querySelector(a()) : j(i, a())[0];
2281
+ return !c && s.params.createElements && (c = ee("div", s.params.wrapperClass), i.append(c), j(i, `.${s.params.slideClass}`).forEach((d) => {
2282
+ c.append(d);
2283
2283
  })), Object.assign(s, {
2284
2284
  el: i,
2285
- wrapperEl: d,
2286
- slidesEl: s.isElement && !i.parentNode.host.slideSlots ? i.parentNode.host : d,
2285
+ wrapperEl: c,
2286
+ slidesEl: s.isElement && !i.parentNode.host.slideSlots ? i.parentNode.host : c,
2287
2287
  hostEl: s.isElement ? i.parentNode.host : i,
2288
2288
  mounted: !0,
2289
2289
  // RTL
2290
2290
  rtl: i.dir.toLowerCase() === "rtl" || fe(i, "direction") === "rtl",
2291
2291
  rtlTranslate: s.params.direction === "horizontal" && (i.dir.toLowerCase() === "rtl" || fe(i, "direction") === "rtl"),
2292
- wrongRTL: fe(d, "display") === "-webkit-box"
2292
+ wrongRTL: fe(c, "display") === "-webkit-box"
2293
2293
  }), !0;
2294
2294
  }
2295
2295
  init(e) {
@@ -2298,8 +2298,8 @@ class Q {
2298
2298
  s.emit("beforeInit"), s.params.breakpoints && s.setBreakpoint(), s.addClasses(), s.updateSize(), s.updateSlides(), s.params.watchOverflow && s.checkOverflow(), s.params.grabCursor && s.enabled && s.setGrabCursor(), s.params.loop && s.virtual && s.params.virtual.enabled ? s.slideTo(s.params.initialSlide + s.virtual.slidesBefore, 0, s.params.runCallbacksOnInit, !1, !0) : s.slideTo(s.params.initialSlide, 0, s.params.runCallbacksOnInit, !1, !0), s.params.loop && s.loopCreate(void 0, !0), s.attachEvents();
2299
2299
  const a = [...s.el.querySelectorAll('[loading="lazy"]')];
2300
2300
  return s.isElement && a.push(...s.hostEl.querySelectorAll('[loading="lazy"]')), a.forEach((r) => {
2301
- r.complete ? ze(s, r) : r.addEventListener("load", (d) => {
2302
- ze(s, d.target);
2301
+ r.complete ? ze(s, r) : r.addEventListener("load", (c) => {
2302
+ ze(s, c.target);
2303
2303
  });
2304
2304
  }), st(s), s.initialized = !0, st(s), s.emit("init"), s.emit("afterInit"), s;
2305
2305
  }
@@ -2308,10 +2308,10 @@ class Q {
2308
2308
  const i = this, {
2309
2309
  params: a,
2310
2310
  el: r,
2311
- wrapperEl: d,
2312
- slides: c
2311
+ wrapperEl: c,
2312
+ slides: d
2313
2313
  } = i;
2314
- return typeof i.params > "u" || i.destroyed || (i.emit("beforeDestroy"), i.initialized = !1, i.detachEvents(), a.loop && i.loopDestroy(), s && (i.removeClasses(), r && typeof r != "string" && r.removeAttribute("style"), d && d.removeAttribute("style"), c && c.length && c.forEach((f) => {
2314
+ return typeof i.params > "u" || i.destroyed || (i.emit("beforeDestroy"), i.initialized = !1, i.detachEvents(), a.loop && i.loopDestroy(), s && (i.removeClasses(), r && typeof r != "string" && r.removeAttribute("style"), c && c.removeAttribute("style"), d && d.length && d.forEach((f) => {
2315
2315
  f.classList.remove(a.slideVisibleClass, a.slideFullyVisibleClass, a.slideActiveClass, a.slideNextClass, a.slidePrevClass), f.removeAttribute("style"), f.removeAttribute("data-swiper-slide-index");
2316
2316
  })), i.emit("destroy"), Object.keys(i.eventsListeners).forEach((f) => {
2317
2317
  i.off(f);
@@ -2361,7 +2361,7 @@ function Ws(t) {
2361
2361
  }
2362
2362
  });
2363
2363
  let r;
2364
- const d = q();
2364
+ const c = q();
2365
2365
  e.virtual = {
2366
2366
  cache: {},
2367
2367
  from: void 0,
@@ -2370,13 +2370,13 @@ function Ws(t) {
2370
2370
  offset: 0,
2371
2371
  slidesGrid: []
2372
2372
  };
2373
- const c = d.createElement("div");
2373
+ const d = c.createElement("div");
2374
2374
  function f(n, l) {
2375
2375
  const w = e.params.virtual;
2376
2376
  if (w.cache && e.virtual.cache[l])
2377
2377
  return e.virtual.cache[l];
2378
2378
  let v;
2379
- return w.renderSlide ? (v = w.renderSlide.call(e, n, l), typeof v == "string" && (ne(c, v), v = c.children[0])) : e.isElement ? v = ee("swiper-slide") : v = ee("div", e.params.slideClass), v.setAttribute("data-swiper-slide-index", l), w.renderSlide || ne(v, n), w.cache && (e.virtual.cache[l] = v), v;
2379
+ return w.renderSlide ? (v = w.renderSlide.call(e, n, l), typeof v == "string" && (ne(d, v), v = d.children[0])) : e.isElement ? v = ee("swiper-slide") : v = ee("div", e.params.slideClass), v.setAttribute("data-swiper-slide-index", l), w.renderSlide || ne(v, n), w.cache && (e.virtual.cache[l] = v), v;
2380
2380
  }
2381
2381
  function o(n, l, w) {
2382
2382
  const {
@@ -2549,7 +2549,7 @@ function Ys(t) {
2549
2549
  on: i,
2550
2550
  emit: a
2551
2551
  } = t;
2552
- const r = q(), d = Y();
2552
+ const r = q(), c = Y();
2553
2553
  e.keyboard = {
2554
2554
  enabled: !1
2555
2555
  }, s({
@@ -2559,7 +2559,7 @@ function Ys(t) {
2559
2559
  pageUpDown: !0
2560
2560
  }
2561
2561
  });
2562
- function c(u) {
2562
+ function d(u) {
2563
2563
  if (!e.enabled) return;
2564
2564
  const {
2565
2565
  rtlTranslate: m
@@ -2574,7 +2574,7 @@ function Ys(t) {
2574
2574
  let b = !1;
2575
2575
  if (ue(e.el, `.${e.params.slideClass}, swiper-slide`).length > 0 && ue(e.el, `.${e.params.slideActiveClass}`).length === 0)
2576
2576
  return;
2577
- const O = e.el, I = O.clientWidth, R = O.clientHeight, _ = d.innerWidth, A = d.innerHeight, M = Be(O);
2577
+ const O = e.el, I = O.clientWidth, R = O.clientHeight, _ = c.innerWidth, A = c.innerHeight, M = Be(O);
2578
2578
  m && (M.left -= O.scrollLeft);
2579
2579
  const L = [[M.left, M.top], [M.left + I, M.top], [M.left, M.top + R], [M.left + I, M.top + R]];
2580
2580
  for (let x = 0; x < L.length; x += 1) {
@@ -2590,10 +2590,10 @@ function Ys(t) {
2590
2590
  }
2591
2591
  }
2592
2592
  function f() {
2593
- e.keyboard.enabled || (r.addEventListener("keydown", c), e.keyboard.enabled = !0);
2593
+ e.keyboard.enabled || (r.addEventListener("keydown", d), e.keyboard.enabled = !0);
2594
2594
  }
2595
2595
  function o() {
2596
- e.keyboard.enabled && (r.removeEventListener("keydown", c), e.keyboard.enabled = !1);
2596
+ e.keyboard.enabled && (r.removeEventListener("keydown", d), e.keyboard.enabled = !1);
2597
2597
  }
2598
2598
  i("init", () => {
2599
2599
  e.params.keyboard.enabled && f();
@@ -2627,7 +2627,7 @@ function Xs(t) {
2627
2627
  }), e.mousewheel = {
2628
2628
  enabled: !1
2629
2629
  };
2630
- let d, c = te(), f;
2630
+ let c, d = te(), f;
2631
2631
  const o = [];
2632
2632
  function u(p) {
2633
2633
  let I = 0, R = 0, _ = 0, A = 0;
@@ -2645,7 +2645,7 @@ function Xs(t) {
2645
2645
  e.enabled && (e.mouseEntered = !1);
2646
2646
  }
2647
2647
  function g(p) {
2648
- return e.params.mousewheel.thresholdDelta && p.delta < e.params.mousewheel.thresholdDelta || e.params.mousewheel.thresholdTime && te() - c < e.params.mousewheel.thresholdTime ? !1 : p.delta >= 6 && te() - c < 60 ? !0 : (p.direction < 0 ? (!e.isEnd || e.params.loop) && !e.animating && (e.slideNext(), a("scroll", p.raw)) : (!e.isBeginning || e.params.loop) && !e.animating && (e.slidePrev(), a("scroll", p.raw)), c = new r.Date().getTime(), !1);
2648
+ return e.params.mousewheel.thresholdDelta && p.delta < e.params.mousewheel.thresholdDelta || e.params.mousewheel.thresholdTime && te() - d < e.params.mousewheel.thresholdTime ? !1 : p.delta >= 6 && te() - d < 60 ? !0 : (p.direction < 0 ? (!e.isEnd || e.params.loop) && !e.animating && (e.slideNext(), a("scroll", p.raw)) : (!e.isBeginning || e.params.loop) && !e.animating && (e.slidePrev(), a("scroll", p.raw)), d = new r.Date().getTime(), !1);
2649
2649
  }
2650
2650
  function n(p) {
2651
2651
  const E = e.params.mousewheel;
@@ -2704,17 +2704,17 @@ function Xs(t) {
2704
2704
  direction: x.direction < 0 ? "next" : "prev",
2705
2705
  byMousewheel: !0
2706
2706
  }), e.params.freeMode.sticky) {
2707
- clearTimeout(d), d = void 0, o.length >= 15 && o.shift();
2707
+ clearTimeout(c), c = void 0, o.length >= 15 && o.shift();
2708
2708
  const y = o.length ? o[o.length - 1] : void 0, B = o[0];
2709
2709
  if (o.push(x), y && (x.delta > y.delta || x.direction !== y.direction))
2710
2710
  o.splice(0);
2711
2711
  else if (o.length >= 15 && x.time - B.time < 500 && B.delta - x.delta >= 1 && x.delta <= 6) {
2712
2712
  const V = _ > 0 ? 0.8 : 0.2;
2713
- f = x, o.splice(0), d = Te(() => {
2713
+ f = x, o.splice(0), c = Te(() => {
2714
2714
  e.destroyed || !e.params || e.slideToClosest(e.params.speed, !0, void 0, V);
2715
2715
  }, 0);
2716
2716
  }
2717
- d || (d = Te(() => {
2717
+ c || (c = Te(() => {
2718
2718
  if (e.destroyed || !e.params) return;
2719
2719
  const V = 0.5;
2720
2720
  f = x, o.splice(0), e.slideToClosest(e.params.speed, !0, void 0, V);
@@ -2778,22 +2778,22 @@ function Us(t) {
2778
2778
  let l;
2779
2779
  return n && typeof n == "string" && e.isElement && (l = e.el.querySelector(n) || e.hostEl.querySelector(n), l) ? l : (n && (typeof n == "string" && (l = [...document.querySelectorAll(n)]), e.params.uniqueNavElements && typeof n == "string" && l && l.length > 1 && e.el.querySelectorAll(n).length === 1 ? l = e.el.querySelector(n) : l && l.length === 1 && (l = l[0])), n && !l ? n : l);
2780
2780
  }
2781
- function d(n, l) {
2781
+ function c(n, l) {
2782
2782
  const w = e.params.navigation;
2783
2783
  n = F(n), n.forEach((v) => {
2784
2784
  v && (v.classList[l ? "add" : "remove"](...w.disabledClass.split(" ")), v.tagName === "BUTTON" && (v.disabled = l), e.params.watchOverflow && e.enabled && v.classList[e.isLocked ? "add" : "remove"](w.lockClass));
2785
2785
  });
2786
2786
  }
2787
- function c() {
2787
+ function d() {
2788
2788
  const {
2789
2789
  nextEl: n,
2790
2790
  prevEl: l
2791
2791
  } = e.navigation;
2792
2792
  if (e.params.loop) {
2793
- d(l, !1), d(n, !1);
2793
+ c(l, !1), c(n, !1);
2794
2794
  return;
2795
2795
  }
2796
- d(l, e.isBeginning && !e.params.rewind), d(n, e.isEnd && !e.params.rewind);
2796
+ c(l, e.isBeginning && !e.params.rewind), c(n, e.isEnd && !e.params.rewind);
2797
2797
  }
2798
2798
  function f(n) {
2799
2799
  n.preventDefault(), !(e.isBeginning && !e.params.loop && !e.params.rewind) && (e.slidePrev(), a("navigationPrev"));
@@ -2829,9 +2829,9 @@ function Us(t) {
2829
2829
  n.forEach((v) => w(v, "next")), l.forEach((v) => w(v, "prev"));
2830
2830
  }
2831
2831
  i("init", () => {
2832
- e.params.navigation.enabled === !1 ? g() : (u(), c());
2832
+ e.params.navigation.enabled === !1 ? g() : (u(), d());
2833
2833
  }), i("toEdge fromEdge lock unlock", () => {
2834
- c();
2834
+ d();
2835
2835
  }), i("destroy", () => {
2836
2836
  m();
2837
2837
  }), i("enable disable", () => {
@@ -2840,7 +2840,7 @@ function Us(t) {
2840
2840
  prevEl: l
2841
2841
  } = e.navigation;
2842
2842
  if (n = F(n), l = F(l), e.enabled) {
2843
- c();
2843
+ d();
2844
2844
  return;
2845
2845
  }
2846
2846
  [...n, ...l].filter((w) => !!w).forEach((w) => w.classList.add(e.params.navigation.lockClass));
@@ -2863,14 +2863,14 @@ function Us(t) {
2863
2863
  }
2864
2864
  });
2865
2865
  const T = () => {
2866
- e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")), u(), c();
2866
+ e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")), u(), d();
2867
2867
  }, g = () => {
2868
2868
  e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")), m();
2869
2869
  };
2870
2870
  Object.assign(e.navigation, {
2871
2871
  enable: T,
2872
2872
  disable: g,
2873
- update: c,
2873
+ update: d,
2874
2874
  init: u,
2875
2875
  destroy: m
2876
2876
  });
@@ -2921,7 +2921,7 @@ function qs(t) {
2921
2921
  el: null,
2922
2922
  bullets: []
2923
2923
  };
2924
- let d, c = 0;
2924
+ let c, d = 0;
2925
2925
  function f() {
2926
2926
  return !e.params.pagination.el || !e.pagination.el || Array.isArray(e.pagination.el) && e.pagination.el.length === 0;
2927
2927
  }
@@ -2960,9 +2960,9 @@ function qs(t) {
2960
2960
  if (e.params.loop ? (O = e.previousRealIndex || 0, b = e.params.slidesPerGroup > 1 ? Math.floor(e.realIndex / e.params.slidesPerGroup) : e.realIndex) : typeof e.snapIndex < "u" ? (b = e.snapIndex, O = e.previousSnapIndex) : (O = e.previousIndex || 0, b = e.activeIndex || 0), p.type === "bullets" && e.pagination.bullets && e.pagination.bullets.length > 0) {
2961
2961
  const _ = e.pagination.bullets;
2962
2962
  let A, M, L;
2963
- if (p.dynamicBullets && (d = tt(_[0], e.isHorizontal() ? "width" : "height"), E.forEach((x) => {
2964
- x.style[e.isHorizontal() ? "width" : "height"] = `${d * (p.dynamicMainBullets + 4)}px`;
2965
- }), p.dynamicMainBullets > 1 && O !== void 0 && (c += b - (O || 0), c > p.dynamicMainBullets - 1 ? c = p.dynamicMainBullets - 1 : c < 0 && (c = 0)), A = Math.max(b - c, 0), M = A + (Math.min(_.length, p.dynamicMainBullets) - 1), L = (M + A) / 2), _.forEach((x) => {
2963
+ if (p.dynamicBullets && (c = tt(_[0], e.isHorizontal() ? "width" : "height"), E.forEach((x) => {
2964
+ x.style[e.isHorizontal() ? "width" : "height"] = `${c * (p.dynamicMainBullets + 4)}px`;
2965
+ }), p.dynamicMainBullets > 1 && O !== void 0 && (d += b - (O || 0), d > p.dynamicMainBullets - 1 ? d = p.dynamicMainBullets - 1 : d < 0 && (d = 0)), A = Math.max(b - d, 0), M = A + (Math.min(_.length, p.dynamicMainBullets) - 1), L = (M + A) / 2), _.forEach((x) => {
2966
2966
  const C = [...["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((N) => `${p.bulletActiveClass}${N}`)].map((N) => typeof N == "string" && N.includes(" ") ? N.split(" ") : N).flat();
2967
2967
  x.classList.remove(...C);
2968
2968
  }), E.length > 1)
@@ -2982,7 +2982,7 @@ function qs(t) {
2982
2982
  }
2983
2983
  }
2984
2984
  if (p.dynamicBullets) {
2985
- const x = Math.min(_.length, p.dynamicMainBullets + 4), C = (d * x - d) / 2 - L * d, N = h ? "right" : "left";
2985
+ const x = Math.min(_.length, p.dynamicMainBullets + 4), C = (c * x - c) / 2 - L * c, N = h ? "right" : "left";
2986
2986
  _.forEach(($) => {
2987
2987
  $.style[e.isHorizontal() ? N : "top"] = `${C}px`;
2988
2988
  });
@@ -3032,7 +3032,7 @@ function qs(t) {
3032
3032
  typeof h.el == "string" && e.isElement && (p = e.el.querySelector(h.el)), !p && typeof h.el == "string" && (p = [...document.querySelectorAll(h.el)]), p || (p = h.el), !(!p || p.length === 0) && (e.params.uniqueNavElements && typeof h.el == "string" && Array.isArray(p) && p.length > 1 && (p = [...e.el.querySelectorAll(h.el)], p.length > 1 && (p = p.find((E) => ue(E, ".swiper")[0] === e.el))), Array.isArray(p) && p.length === 1 && (p = p[0]), Object.assign(e.pagination, {
3033
3033
  el: p
3034
3034
  }), p = F(p), p.forEach((E) => {
3035
- h.type === "bullets" && h.clickable && E.classList.add(...(h.clickableClass || "").split(" ")), E.classList.add(h.modifierClass + h.type), E.classList.add(e.isHorizontal() ? h.horizontalClass : h.verticalClass), h.type === "bullets" && h.dynamicBullets && (E.classList.add(`${h.modifierClass}${h.type}-dynamic`), c = 0, h.dynamicMainBullets < 1 && (h.dynamicMainBullets = 1)), h.type === "progressbar" && h.progressbarOpposite && E.classList.add(h.progressbarOppositeClass), h.clickable && E.addEventListener("click", m), e.enabled || E.classList.add(h.lockClass);
3035
+ h.type === "bullets" && h.clickable && E.classList.add(...(h.clickableClass || "").split(" ")), E.classList.add(h.modifierClass + h.type), E.classList.add(e.isHorizontal() ? h.horizontalClass : h.verticalClass), h.type === "bullets" && h.dynamicBullets && (E.classList.add(`${h.modifierClass}${h.type}-dynamic`), d = 0, h.dynamicMainBullets < 1 && (h.dynamicMainBullets = 1)), h.type === "progressbar" && h.progressbarOpposite && E.classList.add(h.progressbarOppositeClass), h.clickable && E.addEventListener("click", m), e.enabled || E.classList.add(h.lockClass);
3036
3036
  }));
3037
3037
  }
3038
3038
  function l() {
@@ -3107,7 +3107,7 @@ function js(t) {
3107
3107
  emit: a
3108
3108
  } = t;
3109
3109
  const r = q();
3110
- let d = !1, c = null, f = null, o, u, m, T;
3110
+ let c = !1, d = null, f = null, o, u, m, T;
3111
3111
  s({
3112
3112
  scrollbar: {
3113
3113
  el: null,
@@ -3135,7 +3135,7 @@ function js(t) {
3135
3135
  el: N
3136
3136
  } = L, $ = e.params.scrollbar, S = e.params.loop ? e.progressLoop : e.progress;
3137
3137
  let y = u, B = (m - u) * S;
3138
- x ? (B = -B, B > 0 ? (y = u - B, B = 0) : -B + u > m && (y = m + B)) : B < 0 ? (y = u + B, B = 0) : B + u > m && (y = m - B), e.isHorizontal() ? (C.style.transform = `translate3d(${B}px, 0, 0)`, C.style.width = `${y}px`) : (C.style.transform = `translate3d(0px, ${B}px, 0)`, C.style.height = `${y}px`), $.hide && (clearTimeout(c), N.style.opacity = 1, c = setTimeout(() => {
3138
+ x ? (B = -B, B > 0 ? (y = u - B, B = 0) : -B + u > m && (y = m + B)) : B < 0 ? (y = u + B, B = 0) : B + u > m && (y = m - B), e.isHorizontal() ? (C.style.transform = `translate3d(${B}px, 0, 0)`, C.style.width = `${y}px`) : (C.style.transform = `translate3d(0px, ${B}px, 0)`, C.style.height = `${y}px`), $.hide && (clearTimeout(d), N.style.opacity = 1, d = setTimeout(() => {
3139
3139
  N.style.opacity = 0, N.style.transitionDuration = "400ms";
3140
3140
  }, 1e3));
3141
3141
  }
@@ -3175,7 +3175,7 @@ function js(t) {
3175
3175
  el: $,
3176
3176
  dragEl: S
3177
3177
  } = C;
3178
- d = !0, o = L.target === S ? w(L) - L.target.getBoundingClientRect()[e.isHorizontal() ? "left" : "top"] : null, L.preventDefault(), L.stopPropagation(), N.style.transitionDuration = "100ms", S.style.transitionDuration = "100ms", v(L), clearTimeout(f), $.style.transitionDuration = "0ms", x.hide && ($.style.opacity = 1), e.params.cssMode && (e.wrapperEl.style["scroll-snap-type"] = "none"), a("scrollbarDragStart", L);
3178
+ c = !0, o = L.target === S ? w(L) - L.target.getBoundingClientRect()[e.isHorizontal() ? "left" : "top"] : null, L.preventDefault(), L.stopPropagation(), N.style.transitionDuration = "100ms", S.style.transitionDuration = "100ms", v(L), clearTimeout(f), $.style.transitionDuration = "0ms", x.hide && ($.style.opacity = 1), e.params.cssMode && (e.wrapperEl.style["scroll-snap-type"] = "none"), a("scrollbarDragStart", L);
3179
3179
  }
3180
3180
  function p(L) {
3181
3181
  const {
@@ -3185,7 +3185,7 @@ function js(t) {
3185
3185
  el: N,
3186
3186
  dragEl: $
3187
3187
  } = x;
3188
- d && (L.preventDefault && L.cancelable ? L.preventDefault() : L.returnValue = !1, v(L), C.style.transitionDuration = "0ms", N.style.transitionDuration = "0ms", $.style.transitionDuration = "0ms", a("scrollbarDragMove", L));
3188
+ c && (L.preventDefault && L.cancelable ? L.preventDefault() : L.returnValue = !1, v(L), C.style.transitionDuration = "0ms", N.style.transitionDuration = "0ms", $.style.transitionDuration = "0ms", a("scrollbarDragMove", L));
3189
3189
  }
3190
3190
  function E(L) {
3191
3191
  const x = e.params.scrollbar, {
@@ -3194,7 +3194,7 @@ function js(t) {
3194
3194
  } = e, {
3195
3195
  el: $
3196
3196
  } = C;
3197
- d && (d = !1, e.params.cssMode && (e.wrapperEl.style["scroll-snap-type"] = "", N.style.transitionDuration = ""), x.hide && (clearTimeout(f), f = Te(() => {
3197
+ c && (c = !1, e.params.cssMode && (e.wrapperEl.style["scroll-snap-type"] = "", N.style.transitionDuration = ""), x.hide && (clearTimeout(f), f = Te(() => {
3198
3198
  $.style.opacity = 0, $.style.transitionDuration = "400ms";
3199
3199
  }, 1e3)), a("scrollbarDragEnd", L), x.snapOnRelease && e.slideToClosest());
3200
3200
  }
@@ -3316,7 +3316,7 @@ function Ks(t) {
3316
3316
  h += ` rotate(${p}deg)`;
3317
3317
  }
3318
3318
  f.style.transform = h;
3319
- }, d = () => {
3319
+ }, c = () => {
3320
3320
  const {
3321
3321
  el: f,
3322
3322
  slides: o,
@@ -3332,7 +3332,7 @@ function Ks(t) {
3332
3332
  r(v, w);
3333
3333
  });
3334
3334
  });
3335
- }, c = function(f) {
3335
+ }, d = function(f) {
3336
3336
  f === void 0 && (f = e.params.speed);
3337
3337
  const {
3338
3338
  el: o,
@@ -3346,11 +3346,11 @@ function Ks(t) {
3346
3346
  i("beforeInit", () => {
3347
3347
  e.params.parallax.enabled && (e.params.watchSlidesProgress = !0, e.originalParams.watchSlidesProgress = !0);
3348
3348
  }), i("init", () => {
3349
- e.params.parallax.enabled && d();
3349
+ e.params.parallax.enabled && c();
3350
3350
  }), i("setTranslate", () => {
3351
- e.params.parallax.enabled && d();
3351
+ e.params.parallax.enabled && c();
3352
3352
  }), i("setTransition", (f, o) => {
3353
- e.params.parallax.enabled && c(o);
3353
+ e.params.parallax.enabled && d(o);
3354
3354
  });
3355
3355
  }
3356
3356
  function Zs(t) {
@@ -3375,7 +3375,7 @@ function Zs(t) {
3375
3375
  }), e.zoom = {
3376
3376
  enabled: !1
3377
3377
  };
3378
- let d = 1, c = !1, f = !1, o = {
3378
+ let c = 1, d = !1, f = !1, o = {
3379
3379
  x: 0,
3380
3380
  y: 0
3381
3381
  };
@@ -3444,7 +3444,7 @@ function Zs(t) {
3444
3444
  y: null
3445
3445
  };
3446
3446
  const z = n.imageEl.getBoundingClientRect();
3447
- return [(g[0].pageX + (g[1].pageX - g[0].pageX) / 2 - z.x - r.scrollX) / d, (g[0].pageY + (g[1].pageY - g[0].pageY) / 2 - z.y - r.scrollY) / d];
3447
+ return [(g[0].pageX + (g[1].pageX - g[0].pageX) / 2 - z.x - r.scrollX) / c, (g[0].pageY + (g[1].pageY - g[0].pageY) / 2 - z.y - r.scrollY) / c];
3448
3448
  }
3449
3449
  function b() {
3450
3450
  return e.isElement ? "swiper-slide" : `.${e.params.slideClass}`;
@@ -3474,18 +3474,18 @@ function Zs(t) {
3474
3474
  const [G, W] = E();
3475
3475
  n.originX = G, n.originY = W, n.imageEl.style.transitionDuration = "0ms";
3476
3476
  }
3477
- c = !0;
3477
+ d = !0;
3478
3478
  }
3479
3479
  }
3480
3480
  function _(z) {
3481
3481
  if (!O(z)) return;
3482
3482
  const P = e.params.zoom, G = e.zoom, W = g.findIndex((K) => K.pointerId === z.pointerId);
3483
- W >= 0 && (g[W] = z), !(g.length < 2) && (T = !0, n.scaleMove = h(), n.imageEl && (G.scale = n.scaleMove / n.scaleStart * d, G.scale > n.maxRatio && (G.scale = n.maxRatio - 1 + (G.scale - n.maxRatio + 1) ** 0.5), G.scale < P.minRatio && (G.scale = P.minRatio + 1 - (P.minRatio - G.scale + 1) ** 0.5), n.imageEl.style.transform = `translate3d(0,0,0) scale(${G.scale})`));
3483
+ W >= 0 && (g[W] = z), !(g.length < 2) && (T = !0, n.scaleMove = h(), n.imageEl && (G.scale = n.scaleMove / n.scaleStart * c, G.scale > n.maxRatio && (G.scale = n.maxRatio - 1 + (G.scale - n.maxRatio + 1) ** 0.5), G.scale < P.minRatio && (G.scale = P.minRatio + 1 - (P.minRatio - G.scale + 1) ** 0.5), n.imageEl.style.transform = `translate3d(0,0,0) scale(${G.scale})`));
3484
3484
  }
3485
3485
  function A(z) {
3486
3486
  if (!O(z) || z.pointerType === "mouse" && z.type === "pointerout") return;
3487
3487
  const P = e.params.zoom, G = e.zoom, W = g.findIndex((K) => K.pointerId === z.pointerId);
3488
- W >= 0 && g.splice(W, 1), !(!m || !T) && (m = !1, T = !1, n.imageEl && (G.scale = Math.max(Math.min(G.scale, n.maxRatio), P.minRatio), n.imageEl.style.transitionDuration = `${e.params.speed}ms`, n.imageEl.style.transform = `translate3d(0,0,0) scale(${G.scale})`, d = G.scale, c = !1, G.scale > 1 && n.slideEl ? n.slideEl.classList.add(`${P.zoomedSlideClass}`) : G.scale <= 1 && n.slideEl && n.slideEl.classList.remove(`${P.zoomedSlideClass}`), G.scale === 1 && (n.originX = 0, n.originY = 0, n.slideEl = void 0)));
3488
+ W >= 0 && g.splice(W, 1), !(!m || !T) && (m = !1, T = !1, n.imageEl && (G.scale = Math.max(Math.min(G.scale, n.maxRatio), P.minRatio), n.imageEl.style.transitionDuration = `${e.params.speed}ms`, n.imageEl.style.transform = `translate3d(0,0,0) scale(${G.scale})`, c = G.scale, d = !1, G.scale > 1 && n.slideEl ? n.slideEl.classList.add(`${P.zoomedSlideClass}`) : G.scale <= 1 && n.slideEl && n.slideEl.classList.remove(`${P.zoomedSlideClass}`), G.scale === 1 && (n.originX = 0, n.originY = 0, n.slideEl = void 0)));
3489
3489
  }
3490
3490
  let M;
3491
3491
  function L() {
@@ -3520,7 +3520,7 @@ function Zs(t) {
3520
3520
  }
3521
3521
  l.isMoved || (l.width = n.imageEl.offsetWidth || n.imageEl.clientWidth, l.height = n.imageEl.offsetHeight || n.imageEl.clientHeight, l.startX = et(n.imageWrapEl, "x") || 0, l.startY = et(n.imageWrapEl, "y") || 0, n.slideWidth = n.slideEl.offsetWidth, n.slideHeight = n.slideEl.offsetHeight, n.imageWrapEl.style.transitionDuration = "0ms");
3522
3522
  const K = l.width * W.scale, le = l.height * W.scale;
3523
- if (l.minX = Math.min(n.slideWidth / 2 - K / 2, 0), l.maxX = -l.minX, l.minY = Math.min(n.slideHeight / 2 - le / 2, 0), l.maxY = -l.minY, l.touchesCurrent.x = g.length > 0 ? g[0].pageX : z.pageX, l.touchesCurrent.y = g.length > 0 ? g[0].pageY : z.pageY, Math.max(Math.abs(l.touchesCurrent.x - l.touchesStart.x), Math.abs(l.touchesCurrent.y - l.touchesStart.y)) > 5 && (e.allowClick = !1), !l.isMoved && !c) {
3523
+ if (l.minX = Math.min(n.slideWidth / 2 - K / 2, 0), l.maxX = -l.minX, l.minY = Math.min(n.slideHeight / 2 - le / 2, 0), l.maxY = -l.minY, l.touchesCurrent.x = g.length > 0 ? g[0].pageX : z.pageX, l.touchesCurrent.y = g.length > 0 ? g[0].pageY : z.pageY, Math.max(Math.abs(l.touchesCurrent.x - l.touchesStart.x), Math.abs(l.touchesCurrent.y - l.touchesStart.y)) > 5 && (e.allowClick = !1), !l.isMoved && !d) {
3524
3524
  if (e.isHorizontal() && (Math.floor(l.minX) === Math.floor(l.startX) && l.touchesCurrent.x < l.touchesStart.x || Math.floor(l.maxX) === Math.floor(l.startX) && l.touchesCurrent.x > l.touchesStart.x)) {
3525
3525
  l.isTouched = !1, L();
3526
3526
  return;
@@ -3531,7 +3531,7 @@ function Zs(t) {
3531
3531
  }
3532
3532
  }
3533
3533
  z.cancelable && z.preventDefault(), z.stopPropagation(), x(), l.isMoved = !0;
3534
- const ae = (W.scale - d) / (n.maxRatio - e.params.zoom.minRatio), {
3534
+ const ae = (W.scale - c) / (n.maxRatio - e.params.zoom.minRatio), {
3535
3535
  originX: de,
3536
3536
  originY: Z
3537
3537
  } = n;
@@ -3555,16 +3555,16 @@ function Zs(t) {
3555
3555
  }
3556
3556
  function S() {
3557
3557
  const z = e.zoom;
3558
- n.slideEl && e.activeIndex !== e.slides.indexOf(n.slideEl) && (n.imageEl && (n.imageEl.style.transform = "translate3d(0,0,0) scale(1)"), n.imageWrapEl && (n.imageWrapEl.style.transform = "translate3d(0,0,0)"), n.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`), z.scale = 1, d = 1, n.slideEl = void 0, n.imageEl = void 0, n.imageWrapEl = void 0, n.originX = 0, n.originY = 0);
3558
+ n.slideEl && e.activeIndex !== e.slides.indexOf(n.slideEl) && (n.imageEl && (n.imageEl.style.transform = "translate3d(0,0,0) scale(1)"), n.imageWrapEl && (n.imageWrapEl.style.transform = "translate3d(0,0,0)"), n.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`), z.scale = 1, c = 1, n.slideEl = void 0, n.imageEl = void 0, n.imageWrapEl = void 0, n.originX = 0, n.originY = 0);
3559
3559
  }
3560
3560
  function y(z) {
3561
- if (d <= 1 || !n.imageWrapEl || !O(z) || !I(z)) return;
3561
+ if (c <= 1 || !n.imageWrapEl || !O(z) || !I(z)) return;
3562
3562
  const P = r.getComputedStyle(n.imageWrapEl).transform, G = new r.DOMMatrix(P);
3563
3563
  if (!f) {
3564
3564
  f = !0, o.x = z.clientX, o.y = z.clientY, l.startX = G.e, l.startY = G.f, l.width = n.imageEl.offsetWidth || n.imageEl.clientWidth, l.height = n.imageEl.offsetHeight || n.imageEl.clientHeight, n.slideWidth = n.slideEl.offsetWidth, n.slideHeight = n.slideEl.offsetHeight;
3565
3565
  return;
3566
3566
  }
3567
- const W = (z.clientX - o.x) * u, K = (z.clientY - o.y) * u, le = l.width * d, oe = l.height * d, ae = n.slideWidth, de = n.slideHeight, Z = Math.min(ae / 2 - le / 2, 0), se = -Z, ye = Math.min(de / 2 - oe / 2, 0), Oe = -ye, he = Math.max(Math.min(l.startX + W, se), Z), ge = Math.max(Math.min(l.startY + K, Oe), ye);
3567
+ const W = (z.clientX - o.x) * u, K = (z.clientY - o.y) * u, le = l.width * c, oe = l.height * c, ae = n.slideWidth, de = n.slideHeight, Z = Math.min(ae / 2 - le / 2, 0), se = -Z, ye = Math.min(de / 2 - oe / 2, 0), Oe = -ye, he = Math.max(Math.min(l.startX + W, se), Z), ge = Math.max(Math.min(l.startY + K, Oe), ye);
3568
3568
  n.imageWrapEl.style.transitionDuration = "0ms", n.imageWrapEl.style.transform = `translate3d(${he}px, ${ge}px, 0)`, o.x = z.clientX, o.y = z.clientY, l.startX = he, l.startY = ge, l.currentX = he, l.currentY = ge;
3569
3569
  }
3570
3570
  function B(z) {
@@ -3578,10 +3578,10 @@ function Zs(t) {
3578
3578
  e.params.cssMode && (e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.touchAction = "none"), n.slideEl.classList.add(`${G.zoomedSlideClass}`);
3579
3579
  let W, K, le, oe, ae, de, Z, se, ye, Oe, he, ge, Pe, De, Ve, Fe, We, Ye;
3580
3580
  typeof l.touchesStart.x > "u" && z ? (W = z.pageX, K = z.pageY) : (W = l.touchesStart.x, K = l.touchesStart.y);
3581
- const Xe = d, we = typeof z == "number" ? z : null;
3582
- d === 1 && we && (W = void 0, K = void 0, l.touchesStart.x = void 0, l.touchesStart.y = void 0);
3581
+ const Xe = c, we = typeof z == "number" ? z : null;
3582
+ c === 1 && we && (W = void 0, K = void 0, l.touchesStart.x = void 0, l.touchesStart.y = void 0);
3583
3583
  const lt = p();
3584
- P.scale = we || lt, d = we || lt, z && !(d === 1 && we) ? (We = n.slideEl.offsetWidth, Ye = n.slideEl.offsetHeight, le = Be(n.slideEl).left + r.scrollX, oe = Be(n.slideEl).top + r.scrollY, ae = le + We / 2 - W, de = oe + Ye / 2 - K, ye = n.imageEl.offsetWidth || n.imageEl.clientWidth, Oe = n.imageEl.offsetHeight || n.imageEl.clientHeight, he = ye * P.scale, ge = Oe * P.scale, Pe = Math.min(We / 2 - he / 2, 0), De = Math.min(Ye / 2 - ge / 2, 0), Ve = -Pe, Fe = -De, Xe > 0 && we && typeof l.currentX == "number" && typeof l.currentY == "number" ? (Z = l.currentX * P.scale / Xe, se = l.currentY * P.scale / Xe) : (Z = ae * P.scale, se = de * P.scale), Z < Pe && (Z = Pe), Z > Ve && (Z = Ve), se < De && (se = De), se > Fe && (se = Fe)) : (Z = 0, se = 0), we && P.scale === 1 && (n.originX = 0, n.originY = 0), l.currentX = Z, l.currentY = se, n.imageWrapEl.style.transitionDuration = "300ms", n.imageWrapEl.style.transform = `translate3d(${Z}px, ${se}px,0)`, n.imageEl.style.transitionDuration = "300ms", n.imageEl.style.transform = `translate3d(0,0,0) scale(${P.scale})`;
3584
+ P.scale = we || lt, c = we || lt, z && !(c === 1 && we) ? (We = n.slideEl.offsetWidth, Ye = n.slideEl.offsetHeight, le = Be(n.slideEl).left + r.scrollX, oe = Be(n.slideEl).top + r.scrollY, ae = le + We / 2 - W, de = oe + Ye / 2 - K, ye = n.imageEl.offsetWidth || n.imageEl.clientWidth, Oe = n.imageEl.offsetHeight || n.imageEl.clientHeight, he = ye * P.scale, ge = Oe * P.scale, Pe = Math.min(We / 2 - he / 2, 0), De = Math.min(Ye / 2 - ge / 2, 0), Ve = -Pe, Fe = -De, Xe > 0 && we && typeof l.currentX == "number" && typeof l.currentY == "number" ? (Z = l.currentX * P.scale / Xe, se = l.currentY * P.scale / Xe) : (Z = ae * P.scale, se = de * P.scale), Z < Pe && (Z = Pe), Z > Ve && (Z = Ve), se < De && (se = De), se > Fe && (se = Fe)) : (Z = 0, se = 0), we && P.scale === 1 && (n.originX = 0, n.originY = 0), l.currentX = Z, l.currentY = se, n.imageWrapEl.style.transitionDuration = "300ms", n.imageWrapEl.style.transform = `translate3d(${Z}px, ${se}px,0)`, n.imageEl.style.transitionDuration = "300ms", n.imageEl.style.transform = `translate3d(0,0,0) scale(${P.scale})`;
3585
3585
  }
3586
3586
  function V() {
3587
3587
  const z = e.zoom, P = e.params.zoom;
@@ -3590,7 +3590,7 @@ function Zs(t) {
3590
3590
  let G = n.slideEl.querySelector(`.${P.containerClass}`);
3591
3591
  G && (G = G.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]), n.imageEl = G, G ? n.imageWrapEl = ue(n.imageEl, `.${P.containerClass}`)[0] : n.imageWrapEl = void 0;
3592
3592
  }
3593
- !n.imageEl || !n.imageWrapEl || (e.params.cssMode && (e.wrapperEl.style.overflow = "", e.wrapperEl.style.touchAction = ""), z.scale = 1, d = 1, l.currentX = void 0, l.currentY = void 0, l.touchesStart.x = void 0, l.touchesStart.y = void 0, n.imageWrapEl.style.transitionDuration = "300ms", n.imageWrapEl.style.transform = "translate3d(0,0,0)", n.imageEl.style.transitionDuration = "300ms", n.imageEl.style.transform = "translate3d(0,0,0) scale(1)", n.slideEl.classList.remove(`${P.zoomedSlideClass}`), n.slideEl = void 0, n.originX = 0, n.originY = 0, e.params.zoom.panOnMouseMove && (o = {
3593
+ !n.imageEl || !n.imageWrapEl || (e.params.cssMode && (e.wrapperEl.style.overflow = "", e.wrapperEl.style.touchAction = ""), z.scale = 1, c = 1, l.currentX = void 0, l.currentY = void 0, l.touchesStart.x = void 0, l.touchesStart.y = void 0, n.imageWrapEl.style.transitionDuration = "300ms", n.imageWrapEl.style.transform = "translate3d(0,0,0)", n.imageEl.style.transitionDuration = "300ms", n.imageEl.style.transform = "translate3d(0,0,0) scale(1)", n.slideEl.classList.remove(`${P.zoomedSlideClass}`), n.slideEl = void 0, n.originX = 0, n.originY = 0, e.params.zoom.panOnMouseMove && (o = {
3594
3594
  x: 0,
3595
3595
  y: 0
3596
3596
  }, f && (f = !1, l.startX = 0, l.startY = 0)));
@@ -3692,7 +3692,7 @@ function Qs(t) {
3692
3692
  function r(o) {
3693
3693
  e.controller.spline = e.params.loop ? new a(e.slidesGrid, o.slidesGrid) : new a(e.snapGrid, o.snapGrid);
3694
3694
  }
3695
- function d(o, u) {
3695
+ function c(o, u) {
3696
3696
  const m = e.controller.control;
3697
3697
  let T, g;
3698
3698
  const n = e.constructor;
@@ -3706,7 +3706,7 @@ function Qs(t) {
3706
3706
  m[w] !== u && m[w] instanceof n && l(m[w]);
3707
3707
  else m instanceof n && u !== m && l(m);
3708
3708
  }
3709
- function c(o, u) {
3709
+ function d(o, u) {
3710
3710
  const m = e.constructor, T = e.controller.control;
3711
3711
  let g;
3712
3712
  function n(l) {
@@ -3751,8 +3751,8 @@ function Qs(t) {
3751
3751
  }), i("setTransition", (o, u, m) => {
3752
3752
  !e.controller.control || e.controller.control.destroyed || e.controller.setTransition(u, m);
3753
3753
  }), Object.assign(e.controller, {
3754
- setTranslate: d,
3755
- setTransition: c
3754
+ setTranslate: c,
3755
+ setTransition: d
3756
3756
  });
3757
3757
  }
3758
3758
  function Js(t) {
@@ -3782,7 +3782,7 @@ function Js(t) {
3782
3782
  }), e.a11y = {
3783
3783
  clicked: !1
3784
3784
  };
3785
- let a = null, r, d, c = (/* @__PURE__ */ new Date()).getTime();
3785
+ let a = null, r, c, d = (/* @__PURE__ */ new Date()).getTime();
3786
3786
  function f(S) {
3787
3787
  const y = a;
3788
3788
  y.length !== 0 && ne(y, S);
@@ -3875,7 +3875,7 @@ function Js(t) {
3875
3875
  const _ = (S, y, B) => {
3876
3876
  u(S), S.tagName !== "BUTTON" && (T(S, "button"), S.addEventListener("keydown", E)), l(S, B), n(S, y);
3877
3877
  }, A = (S) => {
3878
- d && d !== S.target && !d.contains(S.target) && (r = !0), e.a11y.clicked = !0;
3878
+ c && c !== S.target && !c.contains(S.target) && (r = !0), e.a11y.clicked = !0;
3879
3879
  }, M = () => {
3880
3880
  r = !1, requestAnimationFrame(() => {
3881
3881
  requestAnimationFrame(() => {
@@ -3883,12 +3883,12 @@ function Js(t) {
3883
3883
  });
3884
3884
  });
3885
3885
  }, L = (S) => {
3886
- c = (/* @__PURE__ */ new Date()).getTime();
3886
+ d = (/* @__PURE__ */ new Date()).getTime();
3887
3887
  }, x = (S) => {
3888
- if (e.a11y.clicked || !e.params.a11y.scrollOnFocus || (/* @__PURE__ */ new Date()).getTime() - c < 100) return;
3888
+ if (e.a11y.clicked || !e.params.a11y.scrollOnFocus || (/* @__PURE__ */ new Date()).getTime() - d < 100) return;
3889
3889
  const y = S.target.closest(`.${e.params.slideClass}, swiper-slide`);
3890
3890
  if (!y || !e.slides.includes(y)) return;
3891
- d = y;
3891
+ c = y;
3892
3892
  const B = e.slides.indexOf(y) === e.activeIndex, V = e.params.watchSlidesProgress && e.visibleSlides && e.visibleSlides.includes(y);
3893
3893
  B || V || S.sourceCapabilities && S.sourceCapabilities.firesTouchEvents || (e.isHorizontal() ? e.el.scrollLeft = 0 : e.el.scrollTop = 0, requestAnimationFrame(() => {
3894
3894
  r || (e.params.loop ? e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(y.getAttribute("data-swiper-slide-index"))), 0) : e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(y)), 0), r = !1);
@@ -3956,7 +3956,7 @@ function ei(t) {
3956
3956
  }
3957
3957
  });
3958
3958
  let a = !1, r = {};
3959
- const d = (g) => g.toString().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), c = (g) => {
3959
+ const c = (g) => g.toString().replace(/\s+/g, "-").replace(/[^\w-]+/g, "").replace(/--+/g, "-").replace(/^-+/, "").replace(/-+$/, ""), d = (g) => {
3960
3960
  const n = Y();
3961
3961
  let l;
3962
3962
  g ? l = new URL(g) : l = n.location;
@@ -3971,7 +3971,7 @@ function ei(t) {
3971
3971
  let w;
3972
3972
  e.params.url ? w = new URL(e.params.url) : w = l.location;
3973
3973
  const v = e.virtual && e.params.virtual.enabled ? e.slidesEl.querySelector(`[data-swiper-slide-index="${n}"]`) : e.slides[n];
3974
- let h = d(v.getAttribute("data-history"));
3974
+ let h = c(v.getAttribute("data-history"));
3975
3975
  if (e.params.history.root.length > 0) {
3976
3976
  let E = e.params.history.root;
3977
3977
  E[E.length - 1] === "/" && (E = E.slice(0, E.length - 1)), h = `${E}/${g ? `${g}/` : ""}${h}`;
@@ -3987,7 +3987,7 @@ function ei(t) {
3987
3987
  if (n)
3988
3988
  for (let w = 0, v = e.slides.length; w < v; w += 1) {
3989
3989
  const h = e.slides[w];
3990
- if (d(h.getAttribute("data-history")) === n) {
3990
+ if (c(h.getAttribute("data-history")) === n) {
3991
3991
  const E = e.getSlideIndex(h);
3992
3992
  e.slideTo(E, g, l);
3993
3993
  }
@@ -3995,7 +3995,7 @@ function ei(t) {
3995
3995
  else
3996
3996
  e.slideTo(0, g, l);
3997
3997
  }, u = () => {
3998
- r = c(e.params.url), o(e.params.speed, r.value, !1);
3998
+ r = d(e.params.url), o(e.params.speed, r.value, !1);
3999
3999
  }, m = () => {
4000
4000
  const g = Y();
4001
4001
  if (e.params.history) {
@@ -4003,7 +4003,7 @@ function ei(t) {
4003
4003
  e.params.history.enabled = !1, e.params.hashNavigation.enabled = !0;
4004
4004
  return;
4005
4005
  }
4006
- if (a = !0, r = c(e.params.url), !r.key && !r.value) {
4006
+ if (a = !0, r = d(e.params.url), !r.key && !r.value) {
4007
4007
  e.params.history.replaceState || g.addEventListener("popstate", u);
4008
4008
  return;
4009
4009
  }
@@ -4030,7 +4030,7 @@ function ti(t) {
4030
4030
  emit: i,
4031
4031
  on: a
4032
4032
  } = t, r = !1;
4033
- const d = q(), c = Y();
4033
+ const c = q(), d = Y();
4034
4034
  s({
4035
4035
  hashNavigation: {
4036
4036
  enabled: !1,
@@ -4047,7 +4047,7 @@ function ti(t) {
4047
4047
  });
4048
4048
  const f = () => {
4049
4049
  i("hashChange");
4050
- const T = d.location.hash.replace("#", ""), g = e.virtual && e.params.virtual.enabled ? e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`) : e.slides[e.activeIndex], n = g ? g.getAttribute("data-hash") : "";
4050
+ const T = c.location.hash.replace("#", ""), g = e.virtual && e.params.virtual.enabled ? e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`) : e.slides[e.activeIndex], n = g ? g.getAttribute("data-hash") : "";
4051
4051
  if (T !== n) {
4052
4052
  const l = e.params.hashNavigation.getSlideIndex(e, T);
4053
4053
  if (typeof l > "u" || Number.isNaN(l)) return;
@@ -4056,18 +4056,18 @@ function ti(t) {
4056
4056
  }, o = () => {
4057
4057
  if (!r || !e.params.hashNavigation.enabled) return;
4058
4058
  const T = e.virtual && e.params.virtual.enabled ? e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`) : e.slides[e.activeIndex], g = T ? T.getAttribute("data-hash") || T.getAttribute("data-history") : "";
4059
- e.params.hashNavigation.replaceState && c.history && c.history.replaceState ? (c.history.replaceState(null, null, `#${g}` || ""), i("hashSet")) : (d.location.hash = g || "", i("hashSet"));
4059
+ e.params.hashNavigation.replaceState && d.history && d.history.replaceState ? (d.history.replaceState(null, null, `#${g}` || ""), i("hashSet")) : (c.location.hash = g || "", i("hashSet"));
4060
4060
  }, u = () => {
4061
4061
  if (!e.params.hashNavigation.enabled || e.params.history && e.params.history.enabled) return;
4062
4062
  r = !0;
4063
- const T = d.location.hash.replace("#", "");
4063
+ const T = c.location.hash.replace("#", "");
4064
4064
  if (T) {
4065
4065
  const n = e.params.hashNavigation.getSlideIndex(e, T);
4066
4066
  e.slideTo(n || 0, 0, e.params.runCallbacksOnInit, !0);
4067
4067
  }
4068
- e.params.hashNavigation.watchState && c.addEventListener("hashchange", f);
4068
+ e.params.hashNavigation.watchState && d.addEventListener("hashchange", f);
4069
4069
  }, m = () => {
4070
- e.params.hashNavigation.watchState && c.removeEventListener("hashchange", f);
4070
+ e.params.hashNavigation.watchState && d.removeEventListener("hashchange", f);
4071
4071
  };
4072
4072
  a("init", () => {
4073
4073
  e.params.hashNavigation.enabled && u();
@@ -4102,7 +4102,7 @@ function si(t) {
4102
4102
  pauseOnMouseEnter: !1
4103
4103
  }
4104
4104
  });
4105
- let d, c, f = r && r.autoplay ? r.autoplay.delay : 3e3, o = r && r.autoplay ? r.autoplay.delay : 3e3, u, m = (/* @__PURE__ */ new Date()).getTime(), T, g, n, l, w, v, h;
4105
+ let c, d, f = r && r.autoplay ? r.autoplay.delay : 3e3, o = r && r.autoplay ? r.autoplay.delay : 3e3, u, m = (/* @__PURE__ */ new Date()).getTime(), T, g, n, l, w, v, h;
4106
4106
  function p(y) {
4107
4107
  !e || e.destroyed || !e.wrapperEl || y.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", p), !(h || y.detail && y.detail.bySwiperTouchMove) && A());
4108
4108
  }
@@ -4110,7 +4110,7 @@ function si(t) {
4110
4110
  if (e.destroyed || !e.autoplay.running) return;
4111
4111
  e.autoplay.paused ? T = !0 : T && (o = u, T = !1);
4112
4112
  const y = e.autoplay.paused ? u : m + o - (/* @__PURE__ */ new Date()).getTime();
4113
- e.autoplay.timeLeft = y, a("autoplayTimeLeft", y, y / f), c = requestAnimationFrame(() => {
4113
+ e.autoplay.timeLeft = y, a("autoplayTimeLeft", y, y / f), d = requestAnimationFrame(() => {
4114
4114
  E();
4115
4115
  });
4116
4116
  }, b = () => {
@@ -4118,7 +4118,7 @@ function si(t) {
4118
4118
  return e.virtual && e.params.virtual.enabled ? y = e.slides.find((V) => V.classList.contains("swiper-slide-active")) : y = e.slides[e.activeIndex], y ? parseInt(y.getAttribute("data-swiper-autoplay"), 10) : void 0;
4119
4119
  }, O = (y) => {
4120
4120
  if (e.destroyed || !e.autoplay.running) return;
4121
- cancelAnimationFrame(c), E();
4121
+ cancelAnimationFrame(d), E();
4122
4122
  let B = typeof y > "u" ? e.params.autoplay.delay : y;
4123
4123
  f = e.params.autoplay.delay, o = e.params.autoplay.delay;
4124
4124
  const V = b();
@@ -4128,7 +4128,7 @@ function si(t) {
4128
4128
  O();
4129
4129
  })));
4130
4130
  };
4131
- return B > 0 ? (clearTimeout(d), d = setTimeout(() => {
4131
+ return B > 0 ? (clearTimeout(c), c = setTimeout(() => {
4132
4132
  U();
4133
4133
  }, B)) : requestAnimationFrame(() => {
4134
4134
  U();
@@ -4136,10 +4136,10 @@ function si(t) {
4136
4136
  }, I = () => {
4137
4137
  m = (/* @__PURE__ */ new Date()).getTime(), e.autoplay.running = !0, O(), a("autoplayStart");
4138
4138
  }, R = () => {
4139
- e.autoplay.running = !1, clearTimeout(d), cancelAnimationFrame(c), a("autoplayStop");
4139
+ e.autoplay.running = !1, clearTimeout(c), cancelAnimationFrame(d), a("autoplayStop");
4140
4140
  }, _ = (y, B) => {
4141
4141
  if (e.destroyed || !e.autoplay.running) return;
4142
- clearTimeout(d), y || (v = !0);
4142
+ clearTimeout(c), y || (v = !0);
4143
4143
  const V = () => {
4144
4144
  a("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", p) : A();
4145
4145
  };
@@ -4189,7 +4189,7 @@ function si(t) {
4189
4189
  }
4190
4190
  }), i("touchEnd", () => {
4191
4191
  if (!(e.destroyed || !e.autoplay.running || !g)) {
4192
- if (clearTimeout(l), clearTimeout(d), e.params.autoplay.disableOnInteraction) {
4192
+ if (clearTimeout(l), clearTimeout(c), e.params.autoplay.disableOnInteraction) {
4193
4193
  n = !1, g = !1;
4194
4194
  return;
4195
4195
  }
@@ -4223,7 +4223,7 @@ function ii(t) {
4223
4223
  e.thumbs = {
4224
4224
  swiper: null
4225
4225
  };
4226
- function d() {
4226
+ function c() {
4227
4227
  const o = e.thumbs.swiper;
4228
4228
  if (!o || o.destroyed) return;
4229
4229
  const u = o.clickedIndex, m = o.clickedSlide;
@@ -4231,7 +4231,7 @@ function ii(t) {
4231
4231
  let T;
4232
4232
  o.params.loop ? T = parseInt(o.clickedSlide.getAttribute("data-swiper-slide-index"), 10) : T = u, e.params.loop ? e.slideToLoop(T) : e.slideTo(T);
4233
4233
  }
4234
- function c() {
4234
+ function d() {
4235
4235
  const {
4236
4236
  thumbs: o
4237
4237
  } = e.params;
@@ -4255,7 +4255,7 @@ function ii(t) {
4255
4255
  slideToClickedSlide: !1
4256
4256
  }), e.thumbs.swiper = new u(m), r = !0;
4257
4257
  }
4258
- return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass), e.thumbs.swiper.on("tap", d), !0;
4258
+ return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass), e.thumbs.swiper.on("tap", c), !0;
4259
4259
  }
4260
4260
  function f(o) {
4261
4261
  const u = e.thumbs.swiper;
@@ -4292,10 +4292,10 @@ function ii(t) {
4292
4292
  const u = q(), m = () => {
4293
4293
  const g = typeof o.swiper == "string" ? u.querySelector(o.swiper) : o.swiper;
4294
4294
  if (g && g.swiper)
4295
- o.swiper = g.swiper, c(), f(!0);
4295
+ o.swiper = g.swiper, d(), f(!0);
4296
4296
  else if (g) {
4297
4297
  const n = `${e.params.eventsPrefix}init`, l = (w) => {
4298
- o.swiper = w.detail[0], g.removeEventListener(n, l), c(), f(!0), o.swiper.update(), e.update();
4298
+ o.swiper = w.detail[0], g.removeEventListener(n, l), d(), f(!0), o.swiper.update(), e.update();
4299
4299
  };
4300
4300
  g.addEventListener(n, l);
4301
4301
  }
@@ -4306,7 +4306,7 @@ function ii(t) {
4306
4306
  };
4307
4307
  requestAnimationFrame(T);
4308
4308
  } else
4309
- c(), f(!0);
4309
+ d(), f(!0);
4310
4310
  }), i("slideChange update resize observerUpdate", () => {
4311
4311
  f();
4312
4312
  }), i("setTransition", (o, u) => {
@@ -4316,7 +4316,7 @@ function ii(t) {
4316
4316
  const o = e.thumbs.swiper;
4317
4317
  !o || o.destroyed || r && o.destroy();
4318
4318
  }), Object.assign(e.thumbs, {
4319
- init: c,
4319
+ init: d,
4320
4320
  update: f
4321
4321
  });
4322
4322
  }
@@ -4346,7 +4346,7 @@ function ai(t) {
4346
4346
  currentPos: e.rtl ? e.translate : -e.translate
4347
4347
  });
4348
4348
  }
4349
- function d() {
4349
+ function c() {
4350
4350
  if (e.params.cssMode) return;
4351
4351
  const {
4352
4352
  touchEventsData: f,
@@ -4360,7 +4360,7 @@ function ai(t) {
4360
4360
  time: te()
4361
4361
  });
4362
4362
  }
4363
- function c(f) {
4363
+ function d(f) {
4364
4364
  let {
4365
4365
  currentPos: o
4366
4366
  } = f;
@@ -4436,8 +4436,8 @@ function ai(t) {
4436
4436
  Object.assign(e, {
4437
4437
  freeMode: {
4438
4438
  onTouchStart: r,
4439
- onTouchMove: d,
4440
- onTouchEnd: c
4439
+ onTouchMove: c,
4440
+ onTouchEnd: d
4441
4441
  }
4442
4442
  });
4443
4443
  }
@@ -4453,7 +4453,7 @@ function ri(t) {
4453
4453
  fill: "column"
4454
4454
  }
4455
4455
  });
4456
- let a, r, d, c;
4456
+ let a, r, c, d;
4457
4457
  const f = () => {
4458
4458
  let l = e.params.spaceBetween;
4459
4459
  return typeof l == "string" && l.indexOf("%") >= 0 ? l = parseFloat(l.replace("%", "")) / 100 * e.size : typeof l == "string" && (l = parseFloat(l)), l;
@@ -4464,7 +4464,7 @@ function ri(t) {
4464
4464
  rows: v,
4465
4465
  fill: h
4466
4466
  } = e.params.grid, p = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : l.length;
4467
- d = Math.floor(p / v), Math.floor(p / v) === p / v ? a = p : a = Math.ceil(p / v) * v, w !== "auto" && h === "row" && (a = Math.max(a, w * v)), r = a / v;
4467
+ c = Math.floor(p / v), Math.floor(p / v) === p / v ? a = p : a = Math.ceil(p / v) * v, w !== "auto" && h === "row" && (a = Math.max(a, w * v)), r = a / v;
4468
4468
  }, u = () => {
4469
4469
  e.slides && e.slides.forEach((l) => {
4470
4470
  l.swiperSlideGridSet && (l.style.height = "", l.style[e.getDirectionLabel("margin-top")] = "");
@@ -4480,7 +4480,7 @@ function ri(t) {
4480
4480
  if (b === "row" && h > 1) {
4481
4481
  const A = Math.floor(l / (h * E)), M = l - E * h * A, L = A === 0 ? h : Math.min(Math.ceil((O - A * E * h) / E), h);
4482
4482
  _ = Math.floor(M / L), R = M - _ * L + A * h, I = R + _ * a / E, w.style.order = I;
4483
- } else b === "column" ? (R = Math.floor(l / E), _ = l - R * E, (R > d || R === d && _ === E - 1) && (_ += 1, _ >= E && (_ = 0, R += 1))) : (_ = Math.floor(l / r), R = l - _ * r);
4483
+ } else b === "column" ? (R = Math.floor(l / E), _ = l - R * E, (R > c || R === c && _ === E - 1) && (_ += 1, _ >= E && (_ = 0, R += 1))) : (_ = Math.floor(l / r), R = l - _ * r);
4484
4484
  w.row = _, w.column = R, w.style.height = `calc((100% - ${(E - 1) * p}px) / ${E})`, w.style[e.getDirectionLabel("margin-top")] = _ !== 0 ? p && `${p}px` : "", w.swiperSlideGridSet = !0;
4485
4485
  }, T = (l, w) => {
4486
4486
  const {
@@ -4498,13 +4498,13 @@ function ri(t) {
4498
4498
  w.splice(0, w.length), w.push(...b);
4499
4499
  }
4500
4500
  }, g = () => {
4501
- c = e.params.grid && e.params.grid.rows > 1;
4501
+ d = e.params.grid && e.params.grid.rows > 1;
4502
4502
  }, n = () => {
4503
4503
  const {
4504
4504
  params: l,
4505
4505
  el: w
4506
4506
  } = e, v = l.grid && l.grid.rows > 1;
4507
- c && !v ? (w.classList.remove(`${l.containerModifierClass}grid`, `${l.containerModifierClass}grid-column`), d = 1, e.emitContainerClasses()) : !c && v && (w.classList.add(`${l.containerModifierClass}grid`), l.grid.fill === "column" && w.classList.add(`${l.containerModifierClass}grid-column`), e.emitContainerClasses()), c = v;
4507
+ d && !v ? (w.classList.remove(`${l.containerModifierClass}grid`, `${l.containerModifierClass}grid-column`), c = 1, e.emitContainerClasses()) : !d && v && (w.classList.add(`${l.containerModifierClass}grid`), l.grid.fill === "column" && w.classList.add(`${l.containerModifierClass}grid-column`), e.emitContainerClasses()), d = v;
4508
4508
  };
4509
4509
  i("init", g), i("update", n), e.grid = {
4510
4510
  initSlides: o,
@@ -4521,8 +4521,8 @@ function ni(t) {
4521
4521
  s.loop && e.loopDestroy();
4522
4522
  const a = (r) => {
4523
4523
  if (typeof r == "string") {
4524
- const d = document.createElement("div");
4525
- ne(d, r), i.append(d.children[0]), ne(d, "");
4524
+ const c = document.createElement("div");
4525
+ ne(c, r), i.append(c.children[0]), ne(c, "");
4526
4526
  } else
4527
4527
  i.append(r);
4528
4528
  };
@@ -4541,19 +4541,19 @@ function li(t) {
4541
4541
  } = e;
4542
4542
  s.loop && e.loopDestroy();
4543
4543
  let r = i + 1;
4544
- const d = (c) => {
4545
- if (typeof c == "string") {
4544
+ const c = (d) => {
4545
+ if (typeof d == "string") {
4546
4546
  const f = document.createElement("div");
4547
- ne(f, c), a.prepend(f.children[0]), ne(f, "");
4547
+ ne(f, d), a.prepend(f.children[0]), ne(f, "");
4548
4548
  } else
4549
- a.prepend(c);
4549
+ a.prepend(d);
4550
4550
  };
4551
4551
  if (typeof t == "object" && "length" in t) {
4552
- for (let c = 0; c < t.length; c += 1)
4553
- t[c] && d(t[c]);
4552
+ for (let d = 0; d < t.length; d += 1)
4553
+ t[d] && c(t[d]);
4554
4554
  r = i + t.length;
4555
4555
  } else
4556
- d(t);
4556
+ c(t);
4557
4557
  e.recalcSlides(), s.loop && e.loopCreate(), (!s.observer || e.isElement) && e.update(), e.slideTo(r, 0, !1);
4558
4558
  }
4559
4559
  function oi(t, e) {
@@ -4562,27 +4562,27 @@ function oi(t, e) {
4562
4562
  activeIndex: a,
4563
4563
  slidesEl: r
4564
4564
  } = s;
4565
- let d = a;
4566
- i.loop && (d -= s.loopedSlides, s.loopDestroy(), s.recalcSlides());
4567
- const c = s.slides.length;
4565
+ let c = a;
4566
+ i.loop && (c -= s.loopedSlides, s.loopDestroy(), s.recalcSlides());
4567
+ const d = s.slides.length;
4568
4568
  if (t <= 0) {
4569
4569
  s.prependSlide(e);
4570
4570
  return;
4571
4571
  }
4572
- if (t >= c) {
4572
+ if (t >= d) {
4573
4573
  s.appendSlide(e);
4574
4574
  return;
4575
4575
  }
4576
- let f = d > t ? d + 1 : d;
4576
+ let f = c > t ? c + 1 : c;
4577
4577
  const o = [];
4578
- for (let u = c - 1; u >= t; u -= 1) {
4578
+ for (let u = d - 1; u >= t; u -= 1) {
4579
4579
  const m = s.slides[u];
4580
4580
  m.remove(), o.unshift(m);
4581
4581
  }
4582
4582
  if (typeof e == "object" && "length" in e) {
4583
4583
  for (let u = 0; u < e.length; u += 1)
4584
4584
  e[u] && r.append(e[u]);
4585
- f = d > t ? d + e.length : d;
4585
+ f = c > t ? c + e.length : c;
4586
4586
  } else
4587
4587
  r.append(e);
4588
4588
  for (let u = 0; u < o.length; u += 1)
@@ -4596,13 +4596,13 @@ function di(t) {
4596
4596
  } = e;
4597
4597
  let a = i;
4598
4598
  s.loop && (a -= e.loopedSlides, e.loopDestroy());
4599
- let r = a, d;
4599
+ let r = a, c;
4600
4600
  if (typeof t == "object" && "length" in t) {
4601
- for (let c = 0; c < t.length; c += 1)
4602
- d = t[c], e.slides[d] && e.slides[d].remove(), d < r && (r -= 1);
4601
+ for (let d = 0; d < t.length; d += 1)
4602
+ c = t[d], e.slides[c] && e.slides[c].remove(), c < r && (r -= 1);
4603
4603
  r = Math.max(r, 0);
4604
4604
  } else
4605
- d = t, e.slides[d] && e.slides[d].remove(), d < r && (r -= 1), r = Math.max(r, 0);
4605
+ c = t, e.slides[c] && e.slides[c].remove(), c < r && (r -= 1), r = Math.max(r, 0);
4606
4606
  e.recalcSlides(), s.loop && e.loopCreate(), (!s.observer || e.isElement) && e.update(), s.loop ? e.slideTo(r + e.loopedSlides, 0, !1) : e.slideTo(r, 0, !1);
4607
4607
  }
4608
4608
  function ci() {
@@ -4630,15 +4630,15 @@ function Se(t) {
4630
4630
  on: i,
4631
4631
  setTranslate: a,
4632
4632
  setTransition: r,
4633
- overwriteParams: d,
4634
- perspective: c,
4633
+ overwriteParams: c,
4634
+ perspective: d,
4635
4635
  recreateShadows: f,
4636
4636
  getEffectParams: o
4637
4637
  } = t;
4638
4638
  i("beforeInit", () => {
4639
4639
  if (s.params.effect !== e) return;
4640
- s.classNames.push(`${s.params.containerModifierClass}${e}`), c && c() && s.classNames.push(`${s.params.containerModifierClass}3d`);
4641
- const m = d ? d() : {};
4640
+ s.classNames.push(`${s.params.containerModifierClass}${e}`), d && d() && s.classNames.push(`${s.params.containerModifierClass}3d`);
4641
+ const m = c ? c() : {};
4642
4642
  Object.assign(s.params, m), Object.assign(s.originalParams, m);
4643
4643
  }), i("setTranslate _virtualUpdated", () => {
4644
4644
  s.params.effect === e && a();
@@ -4672,16 +4672,16 @@ function He(t) {
4672
4672
  } = t;
4673
4673
  const {
4674
4674
  activeIndex: r
4675
- } = e, d = (c) => c.parentElement ? c.parentElement : e.slides.find((o) => o.shadowRoot && o.shadowRoot === c.parentNode);
4675
+ } = e, c = (d) => d.parentElement ? d.parentElement : e.slides.find((o) => o.shadowRoot && o.shadowRoot === d.parentNode);
4676
4676
  if (e.params.virtualTranslate && s !== 0) {
4677
- let c = !1, f;
4677
+ let d = !1, f;
4678
4678
  a ? f = i : f = i.filter((o) => {
4679
- const u = o.classList.contains("swiper-slide-transform") ? d(o) : o;
4679
+ const u = o.classList.contains("swiper-slide-transform") ? c(o) : o;
4680
4680
  return e.getSlideIndex(u) === r;
4681
4681
  }), f.forEach((o) => {
4682
4682
  Le(o, () => {
4683
- if (c || !e || e.destroyed) return;
4684
- c = !0, e.animating = !1;
4683
+ if (d || !e || e.destroyed) return;
4684
+ d = !0, e.animating = !1;
4685
4685
  const u = new window.CustomEvent("transitionend", {
4686
4686
  bubbles: !0,
4687
4687
  cancelable: !0
@@ -4707,26 +4707,26 @@ function ui(t) {
4707
4707
  on: i,
4708
4708
  setTranslate: () => {
4709
4709
  const {
4710
- slides: d
4711
- } = e, c = e.params.fadeEffect;
4712
- for (let f = 0; f < d.length; f += 1) {
4710
+ slides: c
4711
+ } = e, d = e.params.fadeEffect;
4712
+ for (let f = 0; f < c.length; f += 1) {
4713
4713
  const o = e.slides[f];
4714
4714
  let m = -o.swiperSlideOffset;
4715
4715
  e.params.virtualTranslate || (m -= e.translate);
4716
4716
  let T = 0;
4717
4717
  e.isHorizontal() || (T = m, m = 0);
4718
- const g = e.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(o.progress), 0) : 1 + Math.min(Math.max(o.progress, -1), 0), n = Re(c, o);
4718
+ const g = e.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(o.progress), 0) : 1 + Math.min(Math.max(o.progress, -1), 0), n = Re(d, o);
4719
4719
  n.style.opacity = g, n.style.transform = `translate3d(${m}px, ${T}px, 0px)`;
4720
4720
  }
4721
4721
  },
4722
- setTransition: (d) => {
4723
- const c = e.slides.map((f) => me(f));
4724
- c.forEach((f) => {
4725
- f.style.transitionDuration = `${d}ms`;
4722
+ setTransition: (c) => {
4723
+ const d = e.slides.map((f) => me(f));
4724
+ d.forEach((f) => {
4725
+ f.style.transitionDuration = `${c}ms`;
4726
4726
  }), He({
4727
4727
  swiper: e,
4728
- duration: d,
4729
- transformElements: c,
4728
+ duration: c,
4729
+ transformElements: d,
4730
4730
  allSlides: !0
4731
4731
  });
4732
4732
  },
@@ -4921,11 +4921,11 @@ function hi(t) {
4921
4921
  on: i,
4922
4922
  setTranslate: () => {
4923
4923
  const {
4924
- width: d,
4925
- height: c,
4924
+ width: c,
4925
+ height: d,
4926
4926
  slides: f,
4927
4927
  slidesSizesGrid: o
4928
- } = e, u = e.params.coverflowEffect, m = e.isHorizontal(), T = e.translate, g = m ? -T + d / 2 : -T + c / 2, n = m ? u.rotate : -u.rotate, l = u.depth, w = ke(e);
4928
+ } = e, u = e.params.coverflowEffect, m = e.isHorizontal(), T = e.translate, g = m ? -T + c / 2 : -T + d / 2, n = m ? u.rotate : -u.rotate, l = u.depth, w = ke(e);
4929
4929
  for (let v = 0, h = f.length; v < h; v += 1) {
4930
4930
  const p = f[v], E = o[v], b = p.swiperSlideOffset, O = (g - b - E / 2) / E, I = typeof u.modifier == "function" ? u.modifier(O) : O * u.modifier;
4931
4931
  let R = m ? n * I : 0, _ = m ? 0 : n * I, A = -l * Math.abs(I), M = u.stretch;
@@ -4939,10 +4939,10 @@ function hi(t) {
4939
4939
  }
4940
4940
  }
4941
4941
  },
4942
- setTransition: (d) => {
4942
+ setTransition: (c) => {
4943
4943
  e.slides.map((f) => me(f)).forEach((f) => {
4944
- f.style.transitionDuration = `${d}ms`, f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((o) => {
4945
- o.style.transitionDuration = `${d}ms`;
4944
+ f.style.transitionDuration = `${c}ms`, f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((o) => {
4945
+ o.style.transitionDuration = `${c}ms`;
4946
4946
  });
4947
4947
  });
4948
4948
  },
@@ -4978,14 +4978,14 @@ function gi(t) {
4978
4978
  }
4979
4979
  }
4980
4980
  });
4981
- const a = (c) => typeof c == "string" ? c : `${c}px`;
4981
+ const a = (d) => typeof d == "string" ? d : `${d}px`;
4982
4982
  Se({
4983
4983
  effect: "creative",
4984
4984
  swiper: e,
4985
4985
  on: i,
4986
4986
  setTranslate: () => {
4987
4987
  const {
4988
- slides: c,
4988
+ slides: d,
4989
4989
  wrapperEl: f,
4990
4990
  slidesSizesGrid: o
4991
4991
  } = e, u = e.params.creativeEffect, {
@@ -4995,8 +4995,8 @@ function gi(t) {
4995
4995
  const n = o[0] / 2 - e.params.slidesOffsetBefore || 0;
4996
4996
  f.style.transform = `translateX(calc(50% - ${n}px))`;
4997
4997
  }
4998
- for (let n = 0; n < c.length; n += 1) {
4999
- const l = c[n], w = l.progress, v = Math.min(Math.max(l.progress, -u.limitProgress), u.limitProgress);
4998
+ for (let n = 0; n < d.length; n += 1) {
4999
+ const l = d[n], w = l.progress, v = Math.min(Math.max(l.progress, -u.limitProgress), u.limitProgress);
5000
5000
  let h = v;
5001
5001
  T || (h = Math.min(Math.max(l.originalProgress, -u.limitProgress), u.limitProgress));
5002
5002
  const p = l.swiperSlideOffset, E = [e.params.cssMode ? -p - e.translate : -p, 0, 0], b = [0, 0, 0];
@@ -5013,7 +5013,7 @@ function gi(t) {
5013
5013
  }), b.forEach((C, N) => {
5014
5014
  let $ = I.rotate[N] * Math.abs(v * m);
5015
5015
  b[N] = $;
5016
- }), l.style.zIndex = -Math.abs(Math.round(w)) + c.length;
5016
+ }), l.style.zIndex = -Math.abs(Math.round(w)) + d.length;
5017
5017
  const R = E.join(", "), _ = `rotateX(${g(b[0])}deg) rotateY(${g(b[1])}deg) rotateZ(${g(b[2])}deg)`, A = h < 0 ? `scale(${1 + (1 - I.scale) * h * m})` : `scale(${1 - (1 - I.scale) * h * m})`, M = h < 0 ? 1 + (1 - I.opacity) * h * m : 1 - (1 - I.opacity) * h * m, L = `translate3d(${R}) ${_} ${A}`;
5018
5018
  if (O && I.shadow || !O) {
5019
5019
  let C = l.querySelector(".swiper-slide-shadow");
@@ -5026,15 +5026,15 @@ function gi(t) {
5026
5026
  x.style.transform = L, x.style.opacity = M, I.origin && (x.style.transformOrigin = I.origin);
5027
5027
  }
5028
5028
  },
5029
- setTransition: (c) => {
5029
+ setTransition: (d) => {
5030
5030
  const f = e.slides.map((o) => me(o));
5031
5031
  f.forEach((o) => {
5032
- o.style.transitionDuration = `${c}ms`, o.querySelectorAll(".swiper-slide-shadow").forEach((u) => {
5033
- u.style.transitionDuration = `${c}ms`;
5032
+ o.style.transitionDuration = `${d}ms`, o.querySelectorAll(".swiper-slide-shadow").forEach((u) => {
5033
+ u.style.transitionDuration = `${d}ms`;
5034
5034
  });
5035
5035
  }), He({
5036
5036
  swiper: e,
5037
- duration: c,
5037
+ duration: d,
5038
5038
  transformElements: f,
5039
5039
  allSlides: !0
5040
5040
  });
@@ -5065,21 +5065,21 @@ function wi(t) {
5065
5065
  on: i,
5066
5066
  setTranslate: () => {
5067
5067
  const {
5068
- slides: d,
5069
- activeIndex: c,
5068
+ slides: c,
5069
+ activeIndex: d,
5070
5070
  rtlTranslate: f
5071
5071
  } = e, o = e.params.cardsEffect, {
5072
5072
  startTranslate: u,
5073
5073
  isTouched: m
5074
5074
  } = e.touchEventsData, T = f ? -e.translate : e.translate;
5075
- for (let g = 0; g < d.length; g += 1) {
5076
- const n = d[g], l = n.progress, w = Math.min(Math.max(l, -4), 4);
5075
+ for (let g = 0; g < c.length; g += 1) {
5076
+ const n = c[g], l = n.progress, w = Math.min(Math.max(l, -4), 4);
5077
5077
  let v = n.swiperSlideOffset;
5078
- e.params.centeredSlides && !e.params.cssMode && (e.wrapperEl.style.transform = `translateX(${e.minTranslate()}px)`), e.params.centeredSlides && e.params.cssMode && (v -= d[0].swiperSlideOffset);
5078
+ e.params.centeredSlides && !e.params.cssMode && (e.wrapperEl.style.transform = `translateX(${e.minTranslate()}px)`), e.params.centeredSlides && e.params.cssMode && (v -= c[0].swiperSlideOffset);
5079
5079
  let h = e.params.cssMode ? -v - e.translate : -v, p = 0;
5080
5080
  const E = -100 * Math.abs(w);
5081
5081
  let b = 1, O = -o.perSlideRotate * w, I = o.perSlideOffset - Math.abs(w) * 0.75;
5082
- const R = e.virtual && e.params.virtual.enabled ? e.virtual.from + g : g, _ = (R === c || R === c - 1) && w > 0 && w < 1 && (m || e.params.cssMode) && T < u, A = (R === c || R === c + 1) && w < 0 && w > -1 && (m || e.params.cssMode) && T > u;
5082
+ const R = e.virtual && e.params.virtual.enabled ? e.virtual.from + g : g, _ = (R === d || R === d - 1) && w > 0 && w < 1 && (m || e.params.cssMode) && T < u, A = (R === d || R === d + 1) && w < 0 && w > -1 && (m || e.params.cssMode) && T > u;
5083
5083
  if (_ || A) {
5084
5084
  const C = (1 - Math.abs((Math.abs(w) - 0.5) / 0.5)) ** 0.5;
5085
5085
  O += -28 * w * C, b += -0.5 * C, I += 96 * C, p = `${-25 * C * Math.abs(w)}%`;
@@ -5097,21 +5097,21 @@ function wi(t) {
5097
5097
  let C = n.querySelector(".swiper-slide-shadow");
5098
5098
  C || (C = ve("cards", n)), C && (C.style.opacity = Math.min(Math.max((Math.abs(w) - 0.5) / 0.5, 0), 1));
5099
5099
  }
5100
- n.style.zIndex = -Math.abs(Math.round(l)) + d.length;
5100
+ n.style.zIndex = -Math.abs(Math.round(l)) + c.length;
5101
5101
  const x = Re(o, n);
5102
5102
  x.style.transform = L;
5103
5103
  }
5104
5104
  },
5105
- setTransition: (d) => {
5106
- const c = e.slides.map((f) => me(f));
5107
- c.forEach((f) => {
5108
- f.style.transitionDuration = `${d}ms`, f.querySelectorAll(".swiper-slide-shadow").forEach((o) => {
5109
- o.style.transitionDuration = `${d}ms`;
5105
+ setTransition: (c) => {
5106
+ const d = e.slides.map((f) => me(f));
5107
+ d.forEach((f) => {
5108
+ f.style.transitionDuration = `${c}ms`, f.querySelectorAll(".swiper-slide-shadow").forEach((o) => {
5109
+ o.style.transitionDuration = `${c}ms`;
5110
5110
  });
5111
5111
  }), He({
5112
5112
  swiper: e,
5113
- duration: d,
5114
- transformElements: c
5113
+ duration: c,
5114
+ transformElements: d
5115
5115
  });
5116
5116
  },
5117
5117
  perspective: () => !0,
@@ -5255,16 +5255,16 @@ function Bl(t, e) {
5255
5255
  ),
5256
5256
  renderBullet: r(),
5257
5257
  totalClass: k(e, kn, "swiper-pagination-total"),
5258
- type: d(),
5258
+ type: c(),
5259
5259
  verticalClass: k(e, Hn, "swiper-pagination-vertical")
5260
5260
  };
5261
5261
  function r() {
5262
5262
  if (i === "numberBullets")
5263
- return (c, f) => `<span class="${f}">${c + 1}</span>`;
5263
+ return (d, f) => `<span class="${f}">${d + 1}</span>`;
5264
5264
  if (i === "bullets")
5265
- return (c, f) => `<span class="${f}"></span>`;
5265
+ return (d, f) => `<span class="${f}"></span>`;
5266
5266
  }
5267
- function d() {
5267
+ function c() {
5268
5268
  return i === "numberBullets" || i === "bullets" ? "bullets" : i === "fraction" ? "fraction" : i === "progressbar" ? "progressbar" : i === "custom" ? "custom" : "bullets";
5269
5269
  }
5270
5270
  }
@@ -5351,7 +5351,7 @@ function Ul(t, e, s, i) {
5351
5351
  const a = k(e, nt, "");
5352
5352
  if (!a || a === "")
5353
5353
  return;
5354
- const r = s.find((d) => d.name === a);
5354
+ const r = s.find((c) => c.name === a);
5355
5355
  if (!r) {
5356
5356
  i && console.warn("A matching thumbs waterfall was not found for ", a);
5357
5357
  return;
@@ -5427,25 +5427,25 @@ function Ne(t, e) {
5427
5427
  console.warn(`[MANIPULATION] No Waterfall found with name: "${a}"`);
5428
5428
  return;
5429
5429
  }
5430
- const d = r.swiper;
5431
- if (!d) {
5430
+ const c = r.swiper;
5431
+ if (!c) {
5432
5432
  console.error(`[MANIPULATION] Invalid Swiper instance in Waterfall "${a}"`);
5433
5433
  return;
5434
5434
  }
5435
5435
  if (e === "append")
5436
- d.appendSlide(i.outerHTML);
5436
+ c.appendSlide(i.outerHTML);
5437
5437
  else if (e === "prepend")
5438
- d.prependSlide(i.outerHTML);
5438
+ c.prependSlide(i.outerHTML);
5439
5439
  else if (e === "add") {
5440
5440
  let f = Number(i.getAttribute(gl));
5441
- f || (f = 1), d.addSlide(f, [i.outerHTML]);
5441
+ f || (f = 1), c.addSlide(f, [i.outerHTML]);
5442
5442
  } else if (e === "remove") {
5443
5443
  const f = Number(i.getAttribute(El));
5444
- f !== -1 ? d.removeSlide(f) : console.warn(`[MANIPULATION] Slide not found in Swiper for removal: ${a}`);
5444
+ f !== -1 ? c.removeSlide(f) : console.warn(`[MANIPULATION] Slide not found in Swiper for removal: ${a}`);
5445
5445
  }
5446
5446
  i.remove();
5447
- const c = i.closest(".w-dyn-list");
5448
- c && s.add(c), d.update();
5447
+ const d = i.closest(".w-dyn-list");
5448
+ d && s.add(d), c.update();
5449
5449
  }), s.forEach((i) => i.remove());
5450
5450
  }
5451
5451
  function Jl() {
@@ -5508,7 +5508,7 @@ function lo(t, e) {
5508
5508
  enabled: D(e, Ml, !1)
5509
5509
  };
5510
5510
  }
5511
- console.log("🚿 Hello from Wellflow Waterfall v1.2.6");
5511
+ console.log("🚿 Hello from Wellflow Waterfall v1.2.7");
5512
5512
  const $e = [];
5513
5513
  window.waterfalls = $e;
5514
5514
  function _t(t, e) {
@@ -5531,12 +5531,14 @@ function xt(t, e) {
5531
5531
  i && console.warn(`Initializing Waterfall: ${s}`);
5532
5532
  let a = {};
5533
5533
  Yl(a, t), Gl(a, t), Hl(a, t), $l(a, t, s), Bl(a, t), kl(a, t), Fl(a, t), io(a, t), Wl(a, t), Ul(a, t, $e, i), ql(a, t), so(a, t), to(a, t), jl(a, t), Kl(a, t), Zl(a, t, $e, i), Ql(a, t), ao(a, t), no(a, t), eo(a, t), lo(a, t), ro(a, t), i && console.warn(a);
5534
- const r = bt(a), d = t.querySelector(".swiper");
5535
- if ((d?.querySelectorAll(".swiper-slide") || []).length === 0) {
5534
+ const r = bt(a), c = t.querySelector(".swiper");
5535
+ i && console.log("SWIPER: ", c);
5536
+ const d = c?.querySelectorAll(".swiper-slide") || [];
5537
+ if (i && console.log("SWIPER SLIDES: ", d), d.length === 0) {
5536
5538
  console.warn(`Skipping "${s}": no .swiper-slide elements found.`);
5537
5539
  return;
5538
5540
  }
5539
- const f = new Q(d, r);
5541
+ const f = new Q(c, r);
5540
5542
  $e.push({ name: s, swiper: f });
5541
5543
  }
5542
5544
  }