mimir-ui-kit 1.37.16 → 1.37.18

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,17 +1,18 @@
1
- import { jsxs as Q, jsx as R } from "react/jsx-runtime";
2
- import { c as ee } from "../../index-DIxK0V-G.js";
3
- import G, { forwardRef as Te, useState as X, useRef as F, useEffect as he, useLayoutEffect as Ke, createContext as ze, useContext as Ze, useCallback as re, memo as Ae, useMemo as Je } from "react";
4
- import { AppImage as xe } from "../Image/Image.js";
5
- import { MergedButton as Qe } from "../MergedButton/MergedButton.js";
6
- import '../../assets/Slider.css';function Ee(t) {
1
+ import { jsxs as X, jsx as V } from "react/jsx-runtime";
2
+ import { c as U } from "../../index-DIxK0V-G.js";
3
+ import G, { forwardRef as Te, useState as K, useRef as R, useEffect as he, useLayoutEffect as Je, createContext as De, useContext as Qe, useCallback as re, memo as Ge, useMemo as et } from "react";
4
+ import { EProgressBarPosition as xe } from "./constants.js";
5
+ import { AppImage as Ee } from "../Image/Image.js";
6
+ import { MergedButton as tt } from "../MergedButton/MergedButton.js";
7
+ import '../../assets/Slider.css';function Pe(t) {
7
8
  return t !== null && typeof t == "object" && "constructor" in t && t.constructor === Object;
8
9
  }
9
- function ye(t, e) {
10
+ function be(t, e) {
10
11
  t === void 0 && (t = {}), e === void 0 && (e = {}), Object.keys(e).forEach((i) => {
11
- typeof t[i] > "u" ? t[i] = e[i] : Ee(e[i]) && Ee(t[i]) && Object.keys(e[i]).length > 0 && ye(t[i], e[i]);
12
+ typeof t[i] > "u" ? t[i] = e[i] : Pe(e[i]) && Pe(t[i]) && Object.keys(e[i]).length > 0 && be(t[i], e[i]);
12
13
  });
13
14
  }
14
- const De = {
15
+ const Ne = {
15
16
  body: {},
16
17
  addEventListener() {
17
18
  },
@@ -66,12 +67,12 @@ const De = {
66
67
  search: ""
67
68
  }
68
69
  };
69
- function H() {
70
+ function j() {
70
71
  const t = typeof document < "u" ? document : {};
71
- return ye(t, De), t;
72
+ return be(t, Ne), t;
72
73
  }
73
- const et = {
74
- document: De,
74
+ const it = {
75
+ document: Ne,
75
76
  navigator: {
76
77
  userAgent: ""
77
78
  },
@@ -128,14 +129,14 @@ const et = {
128
129
  typeof setTimeout > "u" || clearTimeout(t);
129
130
  }
130
131
  };
131
- function V() {
132
+ function F() {
132
133
  const t = typeof window < "u" ? window : {};
133
- return ye(t, et), t;
134
+ return be(t, it), t;
134
135
  }
135
- function tt(t) {
136
+ function st(t) {
136
137
  return t === void 0 && (t = ""), t.trim().split(" ").filter((e) => !!e.trim());
137
138
  }
138
- function it(t) {
139
+ function rt(t) {
139
140
  const e = t;
140
141
  Object.keys(e).forEach((i) => {
141
142
  try {
@@ -154,33 +155,33 @@ function ge(t, e) {
154
155
  function ne() {
155
156
  return Date.now();
156
157
  }
157
- function st(t) {
158
- const e = V();
158
+ function nt(t) {
159
+ const e = F();
159
160
  let i;
160
161
  return e.getComputedStyle && (i = e.getComputedStyle(t, null)), !i && t.currentStyle && (i = t.currentStyle), i || (i = t.style), i;
161
162
  }
162
- function rt(t, e) {
163
+ function at(t, e) {
163
164
  e === void 0 && (e = "x");
164
- const i = V();
165
+ const i = F();
165
166
  let s, n, r;
166
- const l = st(t);
167
+ const l = nt(t);
167
168
  return i.WebKitCSSMatrix ? (n = l.transform || l.webkitTransform, n.split(",").length > 6 && (n = n.split(", ").map((o) => o.replace(",", ".")).join(", ")), r = new i.WebKitCSSMatrix(n === "none" ? "" : n)) : (r = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), s = r.toString().split(",")), e === "x" && (i.WebKitCSSMatrix ? n = r.m41 : s.length === 16 ? n = parseFloat(s[12]) : n = parseFloat(s[4])), e === "y" && (i.WebKitCSSMatrix ? n = r.m42 : s.length === 16 ? n = parseFloat(s[13]) : n = parseFloat(s[5])), n || 0;
168
169
  }
169
170
  function te(t) {
170
171
  return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object";
171
172
  }
172
- function nt(t) {
173
+ function lt(t) {
173
174
  return typeof window < "u" && typeof window.HTMLElement < "u" ? t instanceof HTMLElement : t && (t.nodeType === 1 || t.nodeType === 11);
174
175
  }
175
- function N() {
176
+ function B() {
176
177
  const t = Object(arguments.length <= 0 ? void 0 : arguments[0]), e = ["__proto__", "constructor", "prototype"];
177
178
  for (let i = 1; i < arguments.length; i += 1) {
178
179
  const s = i < 0 || arguments.length <= i ? void 0 : arguments[i];
179
- if (s != null && !nt(s)) {
180
+ if (s != null && !lt(s)) {
180
181
  const n = Object.keys(Object(s)).filter((r) => e.indexOf(r) < 0);
181
182
  for (let r = 0, l = n.length; r < l; r += 1) {
182
183
  const o = n[r], a = Object.getOwnPropertyDescriptor(s, o);
183
- a !== void 0 && a.enumerable && (te(t[o]) && te(s[o]) ? s[o].__swiper__ ? t[o] = s[o] : N(t[o], s[o]) : !te(t[o]) && te(s[o]) ? (t[o] = {}, s[o].__swiper__ ? t[o] = s[o] : N(t[o], s[o])) : t[o] = s[o]);
184
+ a !== void 0 && a.enumerable && (te(t[o]) && te(s[o]) ? s[o].__swiper__ ? t[o] = s[o] : B(t[o], s[o]) : !te(t[o]) && te(s[o]) ? (t[o] = {}, s[o].__swiper__ ? t[o] = s[o] : B(t[o], s[o])) : t[o] = s[o]);
184
185
  }
185
186
  }
186
187
  }
@@ -189,13 +190,13 @@ function N() {
189
190
  function ie(t, e, i) {
190
191
  t.style.setProperty(e, i);
191
192
  }
192
- function Ge(t) {
193
+ function Ve(t) {
193
194
  let {
194
195
  swiper: e,
195
196
  targetPosition: i,
196
197
  side: s
197
198
  } = t;
198
- const n = V(), r = -e.translate;
199
+ const n = F(), r = -e.translate;
199
200
  let l = null, o;
200
201
  const a = e.params.speed;
201
202
  e.wrapperEl.style.scrollSnapType = "none", n.cancelAnimationFrame(e.cssModeFrameID);
@@ -217,7 +218,7 @@ function Ge(t) {
217
218
  };
218
219
  c();
219
220
  }
220
- function j(t, e) {
221
+ function H(t, e) {
221
222
  return e === void 0 && (e = ""), [...t.children].filter((i) => i.matches(e));
222
223
  }
223
224
  function ae(t) {
@@ -230,9 +231,9 @@ function ae(t) {
230
231
  function ve(t, e) {
231
232
  e === void 0 && (e = []);
232
233
  const i = document.createElement(t);
233
- return i.classList.add(...Array.isArray(e) ? e : tt(e)), i;
234
+ return i.classList.add(...Array.isArray(e) ? e : st(e)), i;
234
235
  }
235
- function at(t, e) {
236
+ function ot(t, e) {
236
237
  const i = [];
237
238
  for (; t.previousElementSibling; ) {
238
239
  const s = t.previousElementSibling;
@@ -240,7 +241,7 @@ function at(t, e) {
240
241
  }
241
242
  return i;
242
243
  }
243
- function lt(t, e) {
244
+ function dt(t, e) {
244
245
  const i = [];
245
246
  for (; t.nextElementSibling; ) {
246
247
  const s = t.nextElementSibling;
@@ -249,9 +250,9 @@ function lt(t, e) {
249
250
  return i;
250
251
  }
251
252
  function W(t, e) {
252
- return V().getComputedStyle(t, null).getPropertyValue(e);
253
+ return F().getComputedStyle(t, null).getPropertyValue(e);
253
254
  }
254
- function Pe(t) {
255
+ function Me(t) {
255
256
  let e = t, i;
256
257
  if (e) {
257
258
  for (i = 0; (e = e.previousSibling) !== null; )
@@ -259,18 +260,18 @@ function Pe(t) {
259
260
  return i;
260
261
  }
261
262
  }
262
- function ot(t, e) {
263
+ function ct(t, e) {
263
264
  const i = [];
264
265
  let s = t.parentElement;
265
266
  for (; s; )
266
267
  i.push(s), s = s.parentElement;
267
268
  return i;
268
269
  }
269
- function Me(t, e, i) {
270
- const s = V();
270
+ function Ce(t, e, i) {
271
+ const s = F();
271
272
  return t[e === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(s.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-right" : "margin-top")) + parseFloat(s.getComputedStyle(t, null).getPropertyValue(e === "width" ? "margin-left" : "margin-bottom"));
272
273
  }
273
- function dt(t) {
274
+ function ut(t) {
274
275
  let {
275
276
  swiper: e,
276
277
  extendParams: i,
@@ -293,36 +294,36 @@ function dt(t) {
293
294
  pauseOnMouseEnter: !1
294
295
  }
295
296
  });
296
- let l, o, a = r && r.autoplay ? r.autoplay.delay : 3e3, u = r && r.autoplay ? r.autoplay.delay : 3e3, d, c = (/* @__PURE__ */ new Date()).getTime(), p, f, h, g, T, m, b;
297
- function v(L) {
298
- !e || e.destroyed || !e.wrapperEl || L.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", v), !(b || L.detail && L.detail.bySwiperTouchMove) && w());
297
+ let l, o, a = r && r.autoplay ? r.autoplay.delay : 3e3, u = r && r.autoplay ? r.autoplay.delay : 3e3, d, c = (/* @__PURE__ */ new Date()).getTime(), p, f, h, v, y, m, S;
298
+ function g(L) {
299
+ !e || e.destroyed || !e.wrapperEl || L.target === e.wrapperEl && (e.wrapperEl.removeEventListener("transitionend", g), !(S || L.detail && L.detail.bySwiperTouchMove) && w());
299
300
  }
300
- const S = () => {
301
+ const T = () => {
301
302
  if (e.destroyed || !e.autoplay.running) return;
302
303
  e.autoplay.paused ? p = !0 : p && (u = d, p = !1);
303
304
  const L = e.autoplay.paused ? d : c + u - (/* @__PURE__ */ new Date()).getTime();
304
305
  e.autoplay.timeLeft = L, n("autoplayTimeLeft", L, L / a), o = requestAnimationFrame(() => {
305
- S();
306
+ T();
306
307
  });
307
- }, y = () => {
308
+ }, b = () => {
308
309
  let L;
309
310
  return e.virtual && e.params.virtual.enabled ? L = e.slides.filter((z) => z.classList.contains("swiper-slide-active"))[0] : L = e.slides[e.activeIndex], L ? parseInt(L.getAttribute("data-swiper-autoplay"), 10) : void 0;
310
311
  }, I = (L) => {
311
312
  if (e.destroyed || !e.autoplay.running) return;
312
- cancelAnimationFrame(o), S();
313
+ cancelAnimationFrame(o), T();
313
314
  let _ = typeof L > "u" ? e.params.autoplay.delay : L;
314
315
  a = e.params.autoplay.delay, u = e.params.autoplay.delay;
315
- const z = y();
316
+ const z = b();
316
317
  !Number.isNaN(z) && z > 0 && typeof L > "u" && (_ = z, a = z, u = z), d = _;
317
- const q = e.params.speed, J = () => {
318
+ const q = e.params.speed, ee = () => {
318
319
  !e || e.destroyed || (e.params.autoplay.reverseDirection ? !e.isBeginning || e.params.loop || e.params.rewind ? (e.slidePrev(q, !0, !0), n("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(e.slides.length - 1, q, !0, !0), n("autoplay")) : !e.isEnd || e.params.loop || e.params.rewind ? (e.slideNext(q, !0, !0), n("autoplay")) : e.params.autoplay.stopOnLastSlide || (e.slideTo(0, q, !0, !0), n("autoplay")), e.params.cssMode && (c = (/* @__PURE__ */ new Date()).getTime(), requestAnimationFrame(() => {
319
320
  I();
320
321
  })));
321
322
  };
322
323
  return _ > 0 ? (clearTimeout(l), l = setTimeout(() => {
323
- J();
324
+ ee();
324
325
  }, _)) : requestAnimationFrame(() => {
325
- J();
326
+ ee();
326
327
  }), _;
327
328
  }, A = () => {
328
329
  c = (/* @__PURE__ */ new Date()).getTime(), e.autoplay.running = !0, I(), n("autoplayStart");
@@ -332,10 +333,10 @@ function dt(t) {
332
333
  if (e.destroyed || !e.autoplay.running) return;
333
334
  clearTimeout(l), L || (m = !0);
334
335
  const z = () => {
335
- n("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", v) : w();
336
+ n("autoplayPause"), e.params.autoplay.waitForTransition ? e.wrapperEl.addEventListener("transitionend", g) : w();
336
337
  };
337
338
  if (e.autoplay.paused = !0, _) {
338
- T && (d = e.params.autoplay.delay), T = !1, z();
339
+ y && (d = e.params.autoplay.delay), y = !1, z();
339
340
  return;
340
341
  }
341
342
  d = (d || e.params.autoplay.delay) - ((/* @__PURE__ */ new Date()).getTime() - c), !(e.isEnd && d < 0 && !e.params.loop) && (d < 0 && (d = 0), z());
@@ -343,25 +344,25 @@ function dt(t) {
343
344
  e.isEnd && d < 0 && !e.params.loop || e.destroyed || !e.autoplay.running || (c = (/* @__PURE__ */ new Date()).getTime(), m ? (m = !1, I(d)) : I(), e.autoplay.paused = !1, n("autoplayResume"));
344
345
  }, E = () => {
345
346
  if (e.destroyed || !e.autoplay.running) return;
346
- const L = H();
347
+ const L = j();
347
348
  L.visibilityState === "hidden" && (m = !0, x(!0)), L.visibilityState === "visible" && w();
348
349
  }, M = (L) => {
349
- L.pointerType === "mouse" && (m = !0, b = !0, !(e.animating || e.autoplay.paused) && x(!0));
350
+ L.pointerType === "mouse" && (m = !0, S = !0, !(e.animating || e.autoplay.paused) && x(!0));
350
351
  }, P = (L) => {
351
- L.pointerType === "mouse" && (b = !1, e.autoplay.paused && w());
352
+ L.pointerType === "mouse" && (S = !1, e.autoplay.paused && w());
352
353
  }, O = () => {
353
354
  e.params.autoplay.pauseOnMouseEnter && (e.el.addEventListener("pointerenter", M), e.el.addEventListener("pointerleave", P));
354
355
  }, D = () => {
355
356
  e.el && typeof e.el != "string" && (e.el.removeEventListener("pointerenter", M), e.el.removeEventListener("pointerleave", P));
356
- }, B = () => {
357
- H().addEventListener("visibilitychange", E);
358
- }, K = () => {
359
- H().removeEventListener("visibilitychange", E);
357
+ }, $ = () => {
358
+ j().addEventListener("visibilitychange", E);
359
+ }, J = () => {
360
+ j().removeEventListener("visibilitychange", E);
360
361
  };
361
362
  s("init", () => {
362
- e.params.autoplay.enabled && (O(), B(), A());
363
+ e.params.autoplay.enabled && (O(), $(), A());
363
364
  }), s("destroy", () => {
364
- D(), K(), e.autoplay.running && C();
365
+ D(), J(), e.autoplay.running && C();
365
366
  }), s("_freeModeStaticRelease", () => {
366
367
  (h || m) && w();
367
368
  }), s("_freeModeNoMomentumRelease", () => {
@@ -374,20 +375,20 @@ function dt(t) {
374
375
  C();
375
376
  return;
376
377
  }
377
- f = !0, h = !1, m = !1, g = setTimeout(() => {
378
+ f = !0, h = !1, m = !1, v = setTimeout(() => {
378
379
  m = !0, h = !0, x(!0);
379
380
  }, 200);
380
381
  }
381
382
  }), s("touchEnd", () => {
382
383
  if (!(e.destroyed || !e.autoplay.running || !f)) {
383
- if (clearTimeout(g), clearTimeout(l), e.params.autoplay.disableOnInteraction) {
384
+ if (clearTimeout(v), clearTimeout(l), e.params.autoplay.disableOnInteraction) {
384
385
  h = !1, f = !1;
385
386
  return;
386
387
  }
387
388
  h && e.params.cssMode && w(), h = !1, f = !1;
388
389
  }
389
390
  }), s("slideChange", () => {
390
- e.destroyed || !e.autoplay.running || (T = !0);
391
+ e.destroyed || !e.autoplay.running || (y = !0);
391
392
  }), Object.assign(e.autoplay, {
392
393
  start: A,
393
394
  stop: C,
@@ -396,37 +397,37 @@ function dt(t) {
396
397
  });
397
398
  }
398
399
  let oe;
399
- function ct() {
400
- const t = V(), e = H();
400
+ function ft() {
401
+ const t = F(), e = j();
401
402
  return {
402
403
  smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
403
404
  touch: !!("ontouchstart" in t || t.DocumentTouch && e instanceof t.DocumentTouch)
404
405
  };
405
406
  }
406
- function Ne() {
407
- return oe || (oe = ct()), oe;
407
+ function Be() {
408
+ return oe || (oe = ft()), oe;
408
409
  }
409
410
  let de;
410
- function ut(t) {
411
+ function pt(t) {
411
412
  let {
412
413
  userAgent: e
413
414
  } = t === void 0 ? {} : t;
414
- const i = Ne(), s = V(), n = s.navigator.platform, r = e || s.navigator.userAgent, l = {
415
+ const i = Be(), s = F(), n = s.navigator.platform, r = e || s.navigator.userAgent, l = {
415
416
  ios: !1,
416
417
  android: !1
417
418
  }, o = s.screen.width, a = s.screen.height, u = r.match(/(Android);?[\s\/]+([\d.]+)?/);
418
419
  let d = r.match(/(iPad).*OS\s([\d_]+)/);
419
420
  const c = r.match(/(iPod)(.*OS\s([\d_]+))?/), p = !d && r.match(/(iPhone\sOS|iOS)\s([\d_]+)/), f = n === "Win32";
420
421
  let h = n === "MacIntel";
421
- const g = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
422
- return !d && h && i.touch && g.indexOf(`${o}x${a}`) >= 0 && (d = r.match(/(Version)\/([\d.]+)/), d || (d = [0, 1, "13_0_0"]), h = !1), u && !f && (l.os = "android", l.android = !0), (d || p || c) && (l.os = "ios", l.ios = !0), l;
422
+ const v = ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"];
423
+ return !d && h && i.touch && v.indexOf(`${o}x${a}`) >= 0 && (d = r.match(/(Version)\/([\d.]+)/), d || (d = [0, 1, "13_0_0"]), h = !1), u && !f && (l.os = "android", l.android = !0), (d || p || c) && (l.os = "ios", l.ios = !0), l;
423
424
  }
424
- function Ve(t) {
425
- return t === void 0 && (t = {}), de || (de = ut(t)), de;
425
+ function Fe(t) {
426
+ return t === void 0 && (t = {}), de || (de = pt(t)), de;
426
427
  }
427
428
  let ce;
428
- function ft() {
429
- const t = V(), e = Ve();
429
+ function mt() {
430
+ const t = F(), e = Fe();
430
431
  let i = !1;
431
432
  function s() {
432
433
  const o = t.navigator.userAgent.toLowerCase();
@@ -447,16 +448,16 @@ function ft() {
447
448
  isWebView: n
448
449
  };
449
450
  }
450
- function pt() {
451
- return ce || (ce = ft()), ce;
451
+ function ht() {
452
+ return ce || (ce = mt()), ce;
452
453
  }
453
- function mt(t) {
454
+ function gt(t) {
454
455
  let {
455
456
  swiper: e,
456
457
  on: i,
457
458
  emit: s
458
459
  } = t;
459
- const n = V();
460
+ const n = F();
460
461
  let r = null, l = null;
461
462
  const o = () => {
462
463
  !e || e.destroyed || !e.initialized || (s("beforeResize"), s("resize"));
@@ -467,15 +468,15 @@ function mt(t) {
467
468
  width: p,
468
469
  height: f
469
470
  } = e;
470
- let h = p, g = f;
471
- c.forEach((T) => {
471
+ let h = p, v = f;
472
+ c.forEach((y) => {
472
473
  let {
473
474
  contentBoxSize: m,
474
- contentRect: b,
475
- target: v
476
- } = T;
477
- v && v !== e.el || (h = b ? b.width : (m[0] || m).inlineSize, g = b ? b.height : (m[0] || m).blockSize);
478
- }), (h !== p || g !== f) && o();
475
+ contentRect: S,
476
+ target: g
477
+ } = y;
478
+ g && g !== e.el || (h = S ? S.width : (m[0] || m).inlineSize, v = S ? S.height : (m[0] || m).blockSize);
479
+ }), (h !== p || v !== f) && o();
479
480
  });
480
481
  }), r.observe(e.el));
481
482
  }, u = () => {
@@ -493,14 +494,14 @@ function mt(t) {
493
494
  u(), n.removeEventListener("resize", o), n.removeEventListener("orientationchange", d);
494
495
  });
495
496
  }
496
- function ht(t) {
497
+ function vt(t) {
497
498
  let {
498
499
  swiper: e,
499
500
  extendParams: i,
500
501
  on: s,
501
502
  emit: n
502
503
  } = t;
503
- const r = [], l = V(), o = function(d, c) {
504
+ const r = [], l = F(), o = function(d, c) {
504
505
  c === void 0 && (c = {});
505
506
  const p = l.MutationObserver || l.WebkitMutationObserver, f = new p((h) => {
506
507
  if (e.__preventObserver__) return;
@@ -508,10 +509,10 @@ function ht(t) {
508
509
  n("observerUpdate", h[0]);
509
510
  return;
510
511
  }
511
- const g = function() {
512
+ const v = function() {
512
513
  n("observerUpdate", h[0]);
513
514
  };
514
- l.requestAnimationFrame ? l.requestAnimationFrame(g) : l.setTimeout(g, 0);
515
+ l.requestAnimationFrame ? l.requestAnimationFrame(v) : l.setTimeout(v, 0);
515
516
  });
516
517
  f.observe(d, {
517
518
  attributes: typeof c.attributes > "u" ? !0 : c.attributes,
@@ -521,7 +522,7 @@ function ht(t) {
521
522
  }, a = () => {
522
523
  if (e.params.observer) {
523
524
  if (e.params.observeParents) {
524
- const d = ot(e.hostEl);
525
+ const d = ct(e.hostEl);
525
526
  for (let c = 0; c < d.length; c += 1)
526
527
  o(d[c]);
527
528
  }
@@ -542,7 +543,7 @@ function ht(t) {
542
543
  observeSlideChildren: !1
543
544
  }), s("init", a), s("destroy", u);
544
545
  }
545
- var gt = {
546
+ var wt = {
546
547
  on(t, e, i) {
547
548
  const s = this;
548
549
  if (!s.eventsListeners || s.destroyed || typeof e != "function") return s;
@@ -597,7 +598,7 @@ var gt = {
597
598
  }), t;
598
599
  }
599
600
  };
600
- function vt() {
601
+ function St() {
601
602
  const t = this;
602
603
  let e, i;
603
604
  const s = t.el;
@@ -607,7 +608,7 @@ function vt() {
607
608
  size: t.isHorizontal() ? e : i
608
609
  }));
609
610
  }
610
- function wt() {
611
+ function Tt() {
611
612
  const t = this;
612
613
  function e(w, E) {
613
614
  return parseFloat(w.getPropertyValue(t.getDirectionLabel(E)) || 0);
@@ -618,18 +619,18 @@ function wt() {
618
619
  size: r,
619
620
  rtlTranslate: l,
620
621
  wrongRTL: o
621
- } = t, a = t.virtual && i.virtual.enabled, u = a ? t.virtual.slides.length : t.slides.length, d = j(n, `.${t.params.slideClass}, swiper-slide`), c = a ? t.virtual.slides.length : d.length;
622
+ } = t, a = t.virtual && i.virtual.enabled, u = a ? t.virtual.slides.length : t.slides.length, d = H(n, `.${t.params.slideClass}, swiper-slide`), c = a ? t.virtual.slides.length : d.length;
622
623
  let p = [];
623
624
  const f = [], h = [];
624
- let g = i.slidesOffsetBefore;
625
- typeof g == "function" && (g = i.slidesOffsetBefore.call(t));
626
- let T = i.slidesOffsetAfter;
627
- typeof T == "function" && (T = i.slidesOffsetAfter.call(t));
628
- const m = t.snapGrid.length, b = t.slidesGrid.length;
629
- let v = i.spaceBetween, S = -g, y = 0, I = 0;
625
+ let v = i.slidesOffsetBefore;
626
+ typeof v == "function" && (v = i.slidesOffsetBefore.call(t));
627
+ let y = i.slidesOffsetAfter;
628
+ typeof y == "function" && (y = i.slidesOffsetAfter.call(t));
629
+ const m = t.snapGrid.length, S = t.slidesGrid.length;
630
+ let g = i.spaceBetween, T = -v, b = 0, I = 0;
630
631
  if (typeof r > "u")
631
632
  return;
632
- typeof v == "string" && v.indexOf("%") >= 0 ? v = parseFloat(v.replace("%", "")) / 100 * r : typeof v == "string" && (v = parseFloat(v)), t.virtualSize = -v, d.forEach((w) => {
633
+ typeof g == "string" && g.indexOf("%") >= 0 ? g = parseFloat(g.replace("%", "")) / 100 * r : typeof g == "string" && (g = parseFloat(g)), t.virtualSize = -g, d.forEach((w) => {
633
634
  l ? w.style.marginLeft = "" : w.style.marginRight = "", w.style.marginBottom = "", w.style.marginTop = "";
634
635
  }), i.centeredSlides && i.cssMode && (ie(s, "--swiper-centered-offset-before", ""), ie(s, "--swiper-centered-offset-after", ""));
635
636
  const A = i.grid && i.grid.rows > 1 && t.grid;
@@ -644,26 +645,26 @@ function wt() {
644
645
  x && (d[w].style[t.getDirectionLabel("width")] = "");
645
646
  const M = getComputedStyle(E), P = E.style.transform, O = E.style.webkitTransform;
646
647
  if (P && (E.style.transform = "none"), O && (E.style.webkitTransform = "none"), i.roundLengths)
647
- C = t.isHorizontal() ? Me(E, "width") : Me(E, "height");
648
+ C = t.isHorizontal() ? Ce(E, "width") : Ce(E, "height");
648
649
  else {
649
- const D = e(M, "width"), B = e(M, "padding-left"), K = e(M, "padding-right"), L = e(M, "margin-left"), _ = e(M, "margin-right"), z = M.getPropertyValue("box-sizing");
650
+ const D = e(M, "width"), $ = e(M, "padding-left"), J = e(M, "padding-right"), L = e(M, "margin-left"), _ = e(M, "margin-right"), z = M.getPropertyValue("box-sizing");
650
651
  if (z && z === "border-box")
651
652
  C = D + L + _;
652
653
  else {
653
654
  const {
654
655
  clientWidth: q,
655
- offsetWidth: J
656
+ offsetWidth: ee
656
657
  } = E;
657
- C = D + B + K + L + _ + (J - q);
658
+ C = D + $ + J + L + _ + (ee - q);
658
659
  }
659
660
  }
660
661
  P && (E.style.transform = P), O && (E.style.webkitTransform = O), i.roundLengths && (C = Math.floor(C));
661
662
  } else
662
- C = (r - (i.slidesPerView - 1) * v) / i.slidesPerView, i.roundLengths && (C = Math.floor(C)), d[w] && (d[w].style[t.getDirectionLabel("width")] = `${C}px`);
663
- d[w] && (d[w].swiperSlideSize = C), h.push(C), i.centeredSlides ? (S = S + C / 2 + y / 2 + v, y === 0 && w !== 0 && (S = S - r / 2 - v), w === 0 && (S = S - r / 2 - v), Math.abs(S) < 1 / 1e3 && (S = 0), i.roundLengths && (S = Math.floor(S)), I % i.slidesPerGroup === 0 && p.push(S), f.push(S)) : (i.roundLengths && (S = Math.floor(S)), (I - Math.min(t.params.slidesPerGroupSkip, I)) % t.params.slidesPerGroup === 0 && p.push(S), f.push(S), S = S + C + v), t.virtualSize += C + v, y = C, I += 1;
663
+ C = (r - (i.slidesPerView - 1) * g) / i.slidesPerView, i.roundLengths && (C = Math.floor(C)), d[w] && (d[w].style[t.getDirectionLabel("width")] = `${C}px`);
664
+ d[w] && (d[w].swiperSlideSize = C), h.push(C), i.centeredSlides ? (T = T + C / 2 + b / 2 + g, b === 0 && w !== 0 && (T = T - r / 2 - g), w === 0 && (T = T - r / 2 - g), Math.abs(T) < 1 / 1e3 && (T = 0), i.roundLengths && (T = Math.floor(T)), I % i.slidesPerGroup === 0 && p.push(T), f.push(T)) : (i.roundLengths && (T = Math.floor(T)), (I - Math.min(t.params.slidesPerGroupSkip, I)) % t.params.slidesPerGroup === 0 && p.push(T), f.push(T), T = T + C + g), t.virtualSize += C + g, b = C, I += 1;
664
665
  }
665
666
  }
666
- if (t.virtualSize = Math.max(t.virtualSize, r) + T, l && o && (i.effect === "slide" || i.effect === "coverflow") && (s.style.width = `${t.virtualSize + v}px`), i.setWrapperSize && (s.style[t.getDirectionLabel("width")] = `${t.virtualSize + v}px`), A && t.grid.updateWrapperSize(C, p), !i.centeredSlides) {
667
+ if (t.virtualSize = Math.max(t.virtualSize, r) + y, l && o && (i.effect === "slide" || i.effect === "coverflow") && (s.style.width = `${t.virtualSize + g}px`), i.setWrapperSize && (s.style[t.getDirectionLabel("width")] = `${t.virtualSize + g}px`), A && t.grid.updateWrapperSize(C, p), !i.centeredSlides) {
667
668
  const w = [];
668
669
  for (let E = 0; E < p.length; E += 1) {
669
670
  let M = p[E];
@@ -672,7 +673,7 @@ function wt() {
672
673
  p = w, Math.floor(t.virtualSize - r) - Math.floor(p[p.length - 1]) > 1 && p.push(t.virtualSize - r);
673
674
  }
674
675
  if (a && i.loop) {
675
- const w = h[0] + v;
676
+ const w = h[0] + g;
676
677
  if (i.slidesPerGroup > 1) {
677
678
  const E = Math.ceil((t.virtual.slidesBefore + t.virtual.slidesAfter) / i.slidesPerGroup), M = w * i.slidesPerGroup;
678
679
  for (let P = 0; P < E; P += 1)
@@ -681,25 +682,25 @@ function wt() {
681
682
  for (let E = 0; E < t.virtual.slidesBefore + t.virtual.slidesAfter; E += 1)
682
683
  i.slidesPerGroup === 1 && p.push(p[p.length - 1] + w), f.push(f[f.length - 1] + w), t.virtualSize += w;
683
684
  }
684
- if (p.length === 0 && (p = [0]), v !== 0) {
685
+ if (p.length === 0 && (p = [0]), g !== 0) {
685
686
  const w = t.isHorizontal() && l ? "marginLeft" : t.getDirectionLabel("marginRight");
686
687
  d.filter((E, M) => !i.cssMode || i.loop ? !0 : M !== d.length - 1).forEach((E) => {
687
- E.style[w] = `${v}px`;
688
+ E.style[w] = `${g}px`;
688
689
  });
689
690
  }
690
691
  if (i.centeredSlides && i.centeredSlidesBounds) {
691
692
  let w = 0;
692
693
  h.forEach((M) => {
693
- w += M + (v || 0);
694
- }), w -= v;
694
+ w += M + (g || 0);
695
+ }), w -= g;
695
696
  const E = w - r;
696
- p = p.map((M) => M <= 0 ? -g : M > E ? E + T : M);
697
+ p = p.map((M) => M <= 0 ? -v : M > E ? E + y : M);
697
698
  }
698
699
  if (i.centerInsufficientSlides) {
699
700
  let w = 0;
700
701
  h.forEach((M) => {
701
- w += M + (v || 0);
702
- }), w -= v;
702
+ w += M + (g || 0);
703
+ }), w -= g;
703
704
  const E = (i.slidesOffsetBefore || 0) + (i.slidesOffsetAfter || 0);
704
705
  if (w + E < r) {
705
706
  const M = (r - w - E) / 2;
@@ -720,12 +721,12 @@ function wt() {
720
721
  const w = -t.snapGrid[0], E = -t.slidesGrid[0];
721
722
  t.snapGrid = t.snapGrid.map((M) => M + w), t.slidesGrid = t.slidesGrid.map((M) => M + E);
722
723
  }
723
- if (c !== u && t.emit("slidesLengthChange"), p.length !== m && (t.params.watchOverflow && t.checkOverflow(), t.emit("snapGridLengthChange")), f.length !== b && t.emit("slidesGridLengthChange"), i.watchSlidesProgress && t.updateSlidesOffset(), t.emit("slidesUpdated"), !a && !i.cssMode && (i.effect === "slide" || i.effect === "fade")) {
724
+ if (c !== u && t.emit("slidesLengthChange"), p.length !== m && (t.params.watchOverflow && t.checkOverflow(), t.emit("snapGridLengthChange")), f.length !== S && t.emit("slidesGridLengthChange"), i.watchSlidesProgress && t.updateSlidesOffset(), t.emit("slidesUpdated"), !a && !i.cssMode && (i.effect === "slide" || i.effect === "fade")) {
724
725
  const w = `${i.containerModifierClass}backface-hidden`, E = t.el.classList.contains(w);
725
726
  c <= i.maxBackfaceHiddenSlides ? E || t.el.classList.add(w) : E && t.el.classList.remove(w);
726
727
  }
727
728
  }
728
- function St(t) {
729
+ function bt(t) {
729
730
  const e = this, i = [], s = e.virtual && e.params.virtual.enabled;
730
731
  let n = 0, r;
731
732
  typeof t == "number" ? e.setTransition(t) : t === !0 && e.setTransition(e.params.speed);
@@ -750,15 +751,15 @@ function St(t) {
750
751
  }
751
752
  (n || n === 0) && (e.wrapperEl.style.height = `${n}px`);
752
753
  }
753
- function Tt() {
754
+ function yt() {
754
755
  const t = this, e = t.slides, i = t.isElement ? t.isHorizontal() ? t.wrapperEl.offsetLeft : t.wrapperEl.offsetTop : 0;
755
756
  for (let s = 0; s < e.length; s += 1)
756
757
  e[s].swiperSlideOffset = (t.isHorizontal() ? e[s].offsetLeft : e[s].offsetTop) - i - t.cssOverflowAdjustment();
757
758
  }
758
- const Ce = (t, e, i) => {
759
+ const Ie = (t, e, i) => {
759
760
  e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
760
761
  };
761
- function yt(t) {
762
+ function xt(t) {
762
763
  t === void 0 && (t = this && this.translate || 0);
763
764
  const e = this, i = e.params, {
764
765
  slides: s,
@@ -775,11 +776,11 @@ function yt(t) {
775
776
  const u = s[a];
776
777
  let d = u.swiperSlideOffset;
777
778
  i.cssMode && i.centeredSlides && (d -= s[0].swiperSlideOffset);
778
- const c = (l + (i.centeredSlides ? e.minTranslate() : 0) - d) / (u.swiperSlideSize + o), p = (l - r[0] + (i.centeredSlides ? e.minTranslate() : 0) - d) / (u.swiperSlideSize + o), f = -(l - d), h = f + e.slidesSizesGrid[a], g = f >= 0 && f <= e.size - e.slidesSizesGrid[a], T = f >= 0 && f < e.size - 1 || h > 1 && h <= e.size || f <= 0 && h >= e.size;
779
- T && (e.visibleSlides.push(u), e.visibleSlidesIndexes.push(a)), Ce(u, T, i.slideVisibleClass), Ce(u, g, i.slideFullyVisibleClass), u.progress = n ? -c : c, u.originalProgress = n ? -p : p;
779
+ const c = (l + (i.centeredSlides ? e.minTranslate() : 0) - d) / (u.swiperSlideSize + o), p = (l - r[0] + (i.centeredSlides ? e.minTranslate() : 0) - d) / (u.swiperSlideSize + o), f = -(l - d), h = f + e.slidesSizesGrid[a], v = f >= 0 && f <= e.size - e.slidesSizesGrid[a], y = f >= 0 && f < e.size - 1 || h > 1 && h <= e.size || f <= 0 && h >= e.size;
780
+ y && (e.visibleSlides.push(u), e.visibleSlidesIndexes.push(a)), Ie(u, y, i.slideVisibleClass), Ie(u, v, i.slideFullyVisibleClass), u.progress = n ? -c : c, u.originalProgress = n ? -p : p;
780
781
  }
781
782
  }
782
- function bt(t) {
783
+ function Et(t) {
783
784
  const e = this;
784
785
  if (typeof t > "u") {
785
786
  const d = e.rtlTranslate ? -1 : 1;
@@ -801,8 +802,8 @@ function bt(t) {
801
802
  r = d || n <= 0, l = c || n >= 1, d && (n = 0), c && (n = 1);
802
803
  }
803
804
  if (i.loop) {
804
- const d = e.getSlideIndexByData(0), c = e.getSlideIndexByData(e.slides.length - 1), p = e.slidesGrid[d], f = e.slidesGrid[c], h = e.slidesGrid[e.slidesGrid.length - 1], g = Math.abs(t);
805
- g >= p ? o = (g - p) / h : o = (g + h - f) / h, o > 1 && (o -= 1);
805
+ const d = e.getSlideIndexByData(0), c = e.getSlideIndexByData(e.slides.length - 1), p = e.slidesGrid[d], f = e.slidesGrid[c], h = e.slidesGrid[e.slidesGrid.length - 1], v = Math.abs(t);
806
+ v >= p ? o = (v - p) / h : o = (v + h - f) / h, o > 1 && (o -= 1);
806
807
  }
807
808
  Object.assign(e, {
808
809
  progress: n,
@@ -814,13 +815,13 @@ function bt(t) {
814
815
  const ue = (t, e, i) => {
815
816
  e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
816
817
  };
817
- function xt() {
818
+ function Pt() {
818
819
  const t = this, {
819
820
  slides: e,
820
821
  params: i,
821
822
  slidesEl: s,
822
823
  activeIndex: n
823
- } = t, r = t.virtual && i.virtual.enabled, l = t.grid && i.grid && i.grid.rows > 1, o = (c) => j(s, `.${i.slideClass}${c}, swiper-slide${c}`)[0];
824
+ } = t, r = t.virtual && i.virtual.enabled, l = t.grid && i.grid && i.grid.rows > 1, o = (c) => H(s, `.${i.slideClass}${c}, swiper-slide${c}`)[0];
824
825
  let a, u, d;
825
826
  if (r)
826
827
  if (i.loop) {
@@ -830,7 +831,7 @@ function xt() {
830
831
  a = o(`[data-swiper-slide-index="${n}"]`);
831
832
  else
832
833
  l ? (a = e.filter((c) => c.column === n)[0], d = e.filter((c) => c.column === n + 1)[0], u = e.filter((c) => c.column === n - 1)[0]) : a = e[n];
833
- a && (l || (d = lt(a, `.${i.slideClass}, swiper-slide`)[0], i.loop && !d && (d = e[0]), u = at(a, `.${i.slideClass}, swiper-slide`)[0], i.loop && !u === 0 && (u = e[e.length - 1]))), e.forEach((c) => {
834
+ a && (l || (d = dt(a, `.${i.slideClass}, swiper-slide`)[0], i.loop && !d && (d = e[0]), u = ot(a, `.${i.slideClass}, swiper-slide`)[0], i.loop && !u === 0 && (u = e[e.length - 1]))), e.forEach((c) => {
834
835
  ue(c, c === a, i.slideActiveClass), ue(c, c === d, i.slideNextClass), ue(c, c === u, i.slidePrevClass);
835
836
  }), t.emitSlidesClasses();
836
837
  }
@@ -873,7 +874,7 @@ const se = (t, e) => {
873
874
  for (let l = Math.max(n - e, 0); l <= Math.min(r + e, i - 1); l += 1)
874
875
  l !== n && (l > r || l < n) && fe(t, l);
875
876
  };
876
- function Et(t) {
877
+ function Mt(t) {
877
878
  const {
878
879
  slidesGrid: e,
879
880
  params: i
@@ -883,7 +884,7 @@ function Et(t) {
883
884
  typeof e[r + 1] < "u" ? s >= e[r] && s < e[r + 1] - (e[r + 1] - e[r]) / 2 ? n = r : s >= e[r] && s < e[r + 1] && (n = r + 1) : s >= e[r] && (n = r);
884
885
  return i.normalizeSlideIndex && (n < 0 || typeof n > "u") && (n = 0), n;
885
886
  }
886
- function Pt(t) {
887
+ function Ct(t) {
887
888
  const e = this, i = e.rtlTranslate ? e.translate : -e.translate, {
888
889
  snapGrid: s,
889
890
  params: n,
@@ -896,7 +897,7 @@ function Pt(t) {
896
897
  let h = f - e.virtual.slidesBefore;
897
898
  return h < 0 && (h = e.virtual.slides.length + h), h >= e.virtual.slides.length && (h -= e.virtual.slides.length), h;
898
899
  };
899
- if (typeof a > "u" && (a = Et(e)), s.indexOf(i) >= 0)
900
+ if (typeof a > "u" && (a = Mt(e)), s.indexOf(i) >= 0)
900
901
  u = s.indexOf(i);
901
902
  else {
902
903
  const f = Math.min(n.slidesPerGroupSkip, a);
@@ -915,7 +916,7 @@ function Pt(t) {
915
916
  if (e.virtual && n.virtual.enabled && n.loop)
916
917
  p = d(a);
917
918
  else if (c) {
918
- const f = e.slides.filter((g) => g.column === a)[0];
919
+ const f = e.slides.filter((v) => v.column === a)[0];
919
920
  let h = parseInt(f.getAttribute("data-swiper-slide-index"), 10);
920
921
  Number.isNaN(h) && (h = Math.max(e.slides.indexOf(f), 0)), p = Math.floor(h / n.grid.rows);
921
922
  } else if (e.slides[a]) {
@@ -932,7 +933,7 @@ function Pt(t) {
932
933
  activeIndex: a
933
934
  }), e.initialized && we(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== p && e.emit("realIndexChange"), e.emit("slideChange"));
934
935
  }
935
- function Mt(t, e) {
936
+ function It(t, e) {
936
937
  const i = this, s = i.params;
937
938
  let n = t.closest(`.${s.slideClass}, swiper-slide`);
938
939
  !n && i.isElement && e && e.length > 1 && e.includes(t) && [...e.slice(e.indexOf(t) + 1, e.length)].forEach((o) => {
@@ -954,18 +955,18 @@ function Mt(t, e) {
954
955
  }
955
956
  s.slideToClickedSlide && i.clickedIndex !== void 0 && i.clickedIndex !== i.activeIndex && i.slideToClickedSlide();
956
957
  }
957
- var Ct = {
958
- updateSize: vt,
959
- updateSlides: wt,
960
- updateAutoHeight: St,
961
- updateSlidesOffset: Tt,
962
- updateSlidesProgress: yt,
963
- updateProgress: bt,
964
- updateSlidesClasses: xt,
965
- updateActiveIndex: Pt,
966
- updateClickedSlide: Mt
958
+ var Lt = {
959
+ updateSize: St,
960
+ updateSlides: Tt,
961
+ updateAutoHeight: bt,
962
+ updateSlidesOffset: yt,
963
+ updateSlidesProgress: xt,
964
+ updateProgress: Et,
965
+ updateSlidesClasses: Pt,
966
+ updateActiveIndex: Ct,
967
+ updateClickedSlide: It
967
968
  };
968
- function It(t) {
969
+ function Ot(t) {
969
970
  t === void 0 && (t = this.isHorizontal() ? "x" : "y");
970
971
  const e = this, {
971
972
  params: i,
@@ -977,10 +978,10 @@ function It(t) {
977
978
  return s ? -n : n;
978
979
  if (i.cssMode)
979
980
  return n;
980
- let l = rt(r, t);
981
+ let l = at(r, t);
981
982
  return l += e.cssOverflowAdjustment(), s && (l = -l), l || 0;
982
983
  }
983
- function Lt(t, e) {
984
+ function _t(t, e) {
984
985
  const i = this, {
985
986
  rtlTranslate: s,
986
987
  params: n,
@@ -994,13 +995,13 @@ function Lt(t, e) {
994
995
  const c = i.maxTranslate() - i.minTranslate();
995
996
  c === 0 ? d = 0 : d = (t - i.minTranslate()) / c, d !== l && i.updateProgress(t), i.emit("setTranslate", i.translate, e);
996
997
  }
997
- function Ot() {
998
+ function zt() {
998
999
  return -this.snapGrid[0];
999
1000
  }
1000
- function _t() {
1001
+ function At() {
1001
1002
  return -this.snapGrid[this.snapGrid.length - 1];
1002
1003
  }
1003
- function zt(t, e, i, s, n) {
1004
+ function Dt(t, e, i, s, n) {
1004
1005
  t === void 0 && (t = 0), e === void 0 && (e = this.params.speed), i === void 0 && (i = !0), s === void 0 && (s = !0);
1005
1006
  const r = this, {
1006
1007
  params: l,
@@ -1016,7 +1017,7 @@ function zt(t, e, i, s, n) {
1016
1017
  o[c ? "scrollLeft" : "scrollTop"] = -d;
1017
1018
  else {
1018
1019
  if (!r.support.smoothScroll)
1019
- return Ge({
1020
+ return Ve({
1020
1021
  swiper: r,
1021
1022
  targetPosition: -d,
1022
1023
  side: c ? "left" : "top"
@@ -1032,18 +1033,18 @@ function zt(t, e, i, s, n) {
1032
1033
  !r || r.destroyed || p.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, r.animating = !1, i && r.emit("transitionEnd"));
1033
1034
  }), r.wrapperEl.addEventListener("transitionend", r.onTranslateToWrapperTransitionEnd))), !0;
1034
1035
  }
1035
- var At = {
1036
- getTranslate: It,
1037
- setTranslate: Lt,
1038
- minTranslate: Ot,
1039
- maxTranslate: _t,
1040
- translateTo: zt
1036
+ var Gt = {
1037
+ getTranslate: Ot,
1038
+ setTranslate: _t,
1039
+ minTranslate: zt,
1040
+ maxTranslate: At,
1041
+ translateTo: Dt
1041
1042
  };
1042
- function Dt(t, e) {
1043
+ function Nt(t, e) {
1043
1044
  const i = this;
1044
1045
  i.params.cssMode || (i.wrapperEl.style.transitionDuration = `${t}ms`, i.wrapperEl.style.transitionDelay = t === 0 ? "0ms" : ""), i.emit("setTransition", t, e);
1045
1046
  }
1046
- function Be(t) {
1047
+ function $e(t) {
1047
1048
  let {
1048
1049
  swiper: e,
1049
1050
  runCallbacks: i,
@@ -1063,36 +1064,36 @@ function Be(t) {
1063
1064
  e.emit(`slideChangeTransition${n}`), o === "next" ? e.emit(`slideNextTransition${n}`) : e.emit(`slidePrevTransition${n}`);
1064
1065
  }
1065
1066
  }
1066
- function Gt(t, e) {
1067
+ function Vt(t, e) {
1067
1068
  t === void 0 && (t = !0);
1068
1069
  const i = this, {
1069
1070
  params: s
1070
1071
  } = i;
1071
- s.cssMode || (s.autoHeight && i.updateAutoHeight(), Be({
1072
+ s.cssMode || (s.autoHeight && i.updateAutoHeight(), $e({
1072
1073
  swiper: i,
1073
1074
  runCallbacks: t,
1074
1075
  direction: e,
1075
1076
  step: "Start"
1076
1077
  }));
1077
1078
  }
1078
- function Nt(t, e) {
1079
+ function Bt(t, e) {
1079
1080
  t === void 0 && (t = !0);
1080
1081
  const i = this, {
1081
1082
  params: s
1082
1083
  } = i;
1083
- i.animating = !1, !s.cssMode && (i.setTransition(0), Be({
1084
+ i.animating = !1, !s.cssMode && (i.setTransition(0), $e({
1084
1085
  swiper: i,
1085
1086
  runCallbacks: t,
1086
1087
  direction: e,
1087
1088
  step: "End"
1088
1089
  }));
1089
1090
  }
1090
- var Vt = {
1091
- setTransition: Dt,
1092
- transitionStart: Gt,
1093
- transitionEnd: Nt
1091
+ var Ft = {
1092
+ setTransition: Nt,
1093
+ transitionStart: Vt,
1094
+ transitionEnd: Bt
1094
1095
  };
1095
- function Bt(t, e, i, s, n) {
1096
+ function $t(t, e, i, s, n) {
1096
1097
  t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
1097
1098
  const r = this;
1098
1099
  let l = t;
@@ -1110,49 +1111,49 @@ function Bt(t, e, i, s, n) {
1110
1111
  if (!h && !s && !n || r.destroyed || r.animating && o.preventInteractionOnTransition)
1111
1112
  return !1;
1112
1113
  typeof e > "u" && (e = r.params.speed);
1113
- const g = Math.min(r.params.slidesPerGroupSkip, l);
1114
- let T = g + Math.floor((l - g) / r.params.slidesPerGroup);
1115
- T >= a.length && (T = a.length - 1);
1116
- const m = -a[T];
1114
+ const v = Math.min(r.params.slidesPerGroupSkip, l);
1115
+ let y = v + Math.floor((l - v) / r.params.slidesPerGroup);
1116
+ y >= a.length && (y = a.length - 1);
1117
+ const m = -a[y];
1117
1118
  if (o.normalizeSlideIndex)
1118
- for (let v = 0; v < u.length; v += 1) {
1119
- const S = -Math.floor(m * 100), y = Math.floor(u[v] * 100), I = Math.floor(u[v + 1] * 100);
1120
- typeof u[v + 1] < "u" ? S >= y && S < I - (I - y) / 2 ? l = v : S >= y && S < I && (l = v + 1) : S >= y && (l = v);
1119
+ for (let g = 0; g < u.length; g += 1) {
1120
+ const T = -Math.floor(m * 100), b = Math.floor(u[g] * 100), I = Math.floor(u[g + 1] * 100);
1121
+ typeof u[g + 1] < "u" ? T >= b && T < I - (I - b) / 2 ? l = g : T >= b && T < I && (l = g + 1) : T >= b && (l = g);
1121
1122
  }
1122
1123
  if (r.initialized && l !== c && (!r.allowSlideNext && (p ? m > r.translate && m > r.minTranslate() : m < r.translate && m < r.minTranslate()) || !r.allowSlidePrev && m > r.translate && m > r.maxTranslate() && (c || 0) !== l))
1123
1124
  return !1;
1124
1125
  l !== (d || 0) && i && r.emit("beforeSlideChangeStart"), r.updateProgress(m);
1125
- let b;
1126
- if (l > c ? b = "next" : l < c ? b = "prev" : b = "reset", p && -m === r.translate || !p && m === r.translate)
1127
- return r.updateActiveIndex(l), o.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), o.effect !== "slide" && r.setTranslate(m), b !== "reset" && (r.transitionStart(i, b), r.transitionEnd(i, b)), !1;
1126
+ let S;
1127
+ if (l > c ? S = "next" : l < c ? S = "prev" : S = "reset", p && -m === r.translate || !p && m === r.translate)
1128
+ return r.updateActiveIndex(l), o.autoHeight && r.updateAutoHeight(), r.updateSlidesClasses(), o.effect !== "slide" && r.setTranslate(m), S !== "reset" && (r.transitionStart(i, S), r.transitionEnd(i, S)), !1;
1128
1129
  if (o.cssMode) {
1129
- const v = r.isHorizontal(), S = p ? m : -m;
1130
+ const g = r.isHorizontal(), T = p ? m : -m;
1130
1131
  if (e === 0) {
1131
- const y = r.virtual && r.params.virtual.enabled;
1132
- y && (r.wrapperEl.style.scrollSnapType = "none", r._immediateVirtual = !0), y && !r._cssModeVirtualInitialSet && r.params.initialSlide > 0 ? (r._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
1133
- f[v ? "scrollLeft" : "scrollTop"] = S;
1134
- })) : f[v ? "scrollLeft" : "scrollTop"] = S, y && requestAnimationFrame(() => {
1132
+ const b = r.virtual && r.params.virtual.enabled;
1133
+ b && (r.wrapperEl.style.scrollSnapType = "none", r._immediateVirtual = !0), b && !r._cssModeVirtualInitialSet && r.params.initialSlide > 0 ? (r._cssModeVirtualInitialSet = !0, requestAnimationFrame(() => {
1134
+ f[g ? "scrollLeft" : "scrollTop"] = T;
1135
+ })) : f[g ? "scrollLeft" : "scrollTop"] = T, b && requestAnimationFrame(() => {
1135
1136
  r.wrapperEl.style.scrollSnapType = "", r._immediateVirtual = !1;
1136
1137
  });
1137
1138
  } else {
1138
1139
  if (!r.support.smoothScroll)
1139
- return Ge({
1140
+ return Ve({
1140
1141
  swiper: r,
1141
- targetPosition: S,
1142
- side: v ? "left" : "top"
1142
+ targetPosition: T,
1143
+ side: g ? "left" : "top"
1143
1144
  }), !0;
1144
1145
  f.scrollTo({
1145
- [v ? "left" : "top"]: S,
1146
+ [g ? "left" : "top"]: T,
1146
1147
  behavior: "smooth"
1147
1148
  });
1148
1149
  }
1149
1150
  return !0;
1150
1151
  }
1151
- return r.setTransition(e), r.setTranslate(m), r.updateActiveIndex(l), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, s), r.transitionStart(i, b), e === 0 ? r.transitionEnd(i, b) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(S) {
1152
- !r || r.destroyed || S.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, b));
1152
+ return r.setTransition(e), r.setTranslate(m), r.updateActiveIndex(l), r.updateSlidesClasses(), r.emit("beforeTransitionStart", e, s), r.transitionStart(i, S), e === 0 ? r.transitionEnd(i, S) : r.animating || (r.animating = !0, r.onSlideToWrapperTransitionEnd || (r.onSlideToWrapperTransitionEnd = function(T) {
1153
+ !r || r.destroyed || T.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, S));
1153
1154
  }), r.wrapperEl.addEventListener("transitionend", r.onSlideToWrapperTransitionEnd)), !0;
1154
1155
  }
1155
- function Ft(t, e, i, s) {
1156
+ function Rt(t, e, i, s) {
1156
1157
  t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
1157
1158
  const n = this;
1158
1159
  if (n.destroyed) return;
@@ -1194,7 +1195,7 @@ function Ft(t, e, i, s) {
1194
1195
  n.slideTo(l, e, i, s);
1195
1196
  }), n;
1196
1197
  }
1197
- function $t(t, e, i) {
1198
+ function kt(t, e, i) {
1198
1199
  e === void 0 && (e = !0);
1199
1200
  const s = this, {
1200
1201
  enabled: n,
@@ -1217,7 +1218,7 @@ function $t(t, e, i) {
1217
1218
  }
1218
1219
  return r.rewind && s.isEnd ? s.slideTo(0, t, e, i) : s.slideTo(s.activeIndex + a, t, e, i);
1219
1220
  }
1220
- function Rt(t, e, i) {
1221
+ function Ht(t, e, i) {
1221
1222
  e === void 0 && (e = !0);
1222
1223
  const s = this, {
1223
1224
  params: n,
@@ -1241,30 +1242,30 @@ function Rt(t, e, i) {
1241
1242
  return m < 0 ? -Math.floor(Math.abs(m)) : Math.floor(m);
1242
1243
  }
1243
1244
  const f = p(c), h = r.map((m) => p(m));
1244
- let g = r[h.indexOf(f) - 1];
1245
- if (typeof g > "u" && n.cssMode) {
1245
+ let v = r[h.indexOf(f) - 1];
1246
+ if (typeof v > "u" && n.cssMode) {
1246
1247
  let m;
1247
- r.forEach((b, v) => {
1248
- f >= b && (m = v);
1249
- }), typeof m < "u" && (g = r[m > 0 ? m - 1 : m]);
1248
+ r.forEach((S, g) => {
1249
+ f >= S && (m = g);
1250
+ }), typeof m < "u" && (v = r[m > 0 ? m - 1 : m]);
1250
1251
  }
1251
- let T = 0;
1252
- if (typeof g < "u" && (T = l.indexOf(g), T < 0 && (T = s.activeIndex - 1), n.slidesPerView === "auto" && n.slidesPerGroup === 1 && n.slidesPerGroupAuto && (T = T - s.slidesPerViewDynamic("previous", !0) + 1, T = Math.max(T, 0))), n.rewind && s.isBeginning) {
1252
+ let y = 0;
1253
+ if (typeof v < "u" && (y = l.indexOf(v), y < 0 && (y = s.activeIndex - 1), n.slidesPerView === "auto" && n.slidesPerGroup === 1 && n.slidesPerGroupAuto && (y = y - s.slidesPerViewDynamic("previous", !0) + 1, y = Math.max(y, 0))), n.rewind && s.isBeginning) {
1253
1254
  const m = s.params.virtual && s.params.virtual.enabled && s.virtual ? s.virtual.slides.length - 1 : s.slides.length - 1;
1254
1255
  return s.slideTo(m, t, e, i);
1255
1256
  } else if (n.loop && s.activeIndex === 0 && n.cssMode)
1256
1257
  return requestAnimationFrame(() => {
1257
- s.slideTo(T, t, e, i);
1258
+ s.slideTo(y, t, e, i);
1258
1259
  }), !0;
1259
- return s.slideTo(T, t, e, i);
1260
+ return s.slideTo(y, t, e, i);
1260
1261
  }
1261
- function kt(t, e, i) {
1262
+ function jt(t, e, i) {
1262
1263
  e === void 0 && (e = !0);
1263
1264
  const s = this;
1264
1265
  if (!s.destroyed)
1265
1266
  return typeof t > "u" && (t = s.params.speed), s.slideTo(s.activeIndex, t, e, i);
1266
1267
  }
1267
- function jt(t, e, i, s) {
1268
+ function Wt(t, e, i, s) {
1268
1269
  e === void 0 && (e = !0), s === void 0 && (s = 0.5);
1269
1270
  const n = this;
1270
1271
  if (n.destroyed) return;
@@ -1280,7 +1281,7 @@ function jt(t, e, i, s) {
1280
1281
  }
1281
1282
  return r = Math.max(r, 0), r = Math.min(r, n.slidesGrid.length - 1), n.slideTo(r, t, e, i);
1282
1283
  }
1283
- function Ht() {
1284
+ function qt() {
1284
1285
  const t = this;
1285
1286
  if (t.destroyed) return;
1286
1287
  const {
@@ -1291,31 +1292,31 @@ function Ht() {
1291
1292
  const l = t.isElement ? "swiper-slide" : `.${e.slideClass}`;
1292
1293
  if (e.loop) {
1293
1294
  if (t.animating) return;
1294
- r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? n < t.loopedSlides - s / 2 || n > t.slides.length - t.loopedSlides + s / 2 ? (t.loopFix(), n = t.getSlideIndex(j(i, `${l}[data-swiper-slide-index="${r}"]`)[0]), ge(() => {
1295
+ r = parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"), 10), e.centeredSlides ? n < t.loopedSlides - s / 2 || n > t.slides.length - t.loopedSlides + s / 2 ? (t.loopFix(), n = t.getSlideIndex(H(i, `${l}[data-swiper-slide-index="${r}"]`)[0]), ge(() => {
1295
1296
  t.slideTo(n);
1296
- })) : t.slideTo(n) : n > t.slides.length - s ? (t.loopFix(), n = t.getSlideIndex(j(i, `${l}[data-swiper-slide-index="${r}"]`)[0]), ge(() => {
1297
+ })) : t.slideTo(n) : n > t.slides.length - s ? (t.loopFix(), n = t.getSlideIndex(H(i, `${l}[data-swiper-slide-index="${r}"]`)[0]), ge(() => {
1297
1298
  t.slideTo(n);
1298
1299
  })) : t.slideTo(n);
1299
1300
  } else
1300
1301
  t.slideTo(n);
1301
1302
  }
1302
- var Wt = {
1303
- slideTo: Bt,
1304
- slideToLoop: Ft,
1305
- slideNext: $t,
1306
- slidePrev: Rt,
1307
- slideReset: kt,
1308
- slideToClosest: jt,
1309
- slideToClickedSlide: Ht
1303
+ var Yt = {
1304
+ slideTo: $t,
1305
+ slideToLoop: Rt,
1306
+ slideNext: kt,
1307
+ slidePrev: Ht,
1308
+ slideReset: jt,
1309
+ slideToClosest: Wt,
1310
+ slideToClickedSlide: qt
1310
1311
  };
1311
- function qt(t) {
1312
+ function Xt(t) {
1312
1313
  const e = this, {
1313
1314
  params: i,
1314
1315
  slidesEl: s
1315
1316
  } = e;
1316
1317
  if (!i.loop || e.virtual && e.params.virtual.enabled) return;
1317
1318
  const n = () => {
1318
- j(s, `.${i.slideClass}, swiper-slide`).forEach((c, p) => {
1319
+ H(s, `.${i.slideClass}, swiper-slide`).forEach((c, p) => {
1319
1320
  c.setAttribute("data-swiper-slide-index", p);
1320
1321
  });
1321
1322
  }, r = e.grid && i.grid && i.grid.rows > 1, l = i.slidesPerGroup * (r ? i.grid.rows : 1), o = e.slides.length % l !== 0, a = r && e.slides.length % i.grid.rows !== 0, u = (d) => {
@@ -1345,7 +1346,7 @@ function qt(t) {
1345
1346
  direction: i.centeredSlides ? void 0 : "next"
1346
1347
  });
1347
1348
  }
1348
- function Yt(t) {
1349
+ function Ut(t) {
1349
1350
  let {
1350
1351
  slideRealIndex: e,
1351
1352
  slideTo: i = !0,
@@ -1371,62 +1372,62 @@ function Yt(t) {
1371
1372
  i && (!f.centeredSlides && a.snapIndex === 0 ? a.slideTo(a.virtual.slides.length, 0, !1, !0) : f.centeredSlides && a.snapIndex < f.slidesPerView ? a.slideTo(a.virtual.slides.length + a.snapIndex, 0, !1, !0) : a.snapIndex === a.snapGrid.length - 1 && a.slideTo(a.virtual.slidesBefore, 0, !1, !0)), a.allowSlidePrev = d, a.allowSlideNext = c, a.emit("loopFix");
1372
1373
  return;
1373
1374
  }
1374
- let g = f.slidesPerView;
1375
- g === "auto" ? g = a.slidesPerViewDynamic() : (g = Math.ceil(parseFloat(f.slidesPerView, 10)), h && g % 2 === 0 && (g = g + 1));
1376
- const T = f.slidesPerGroupAuto ? g : f.slidesPerGroup;
1377
- let m = T;
1378
- m % T !== 0 && (m += T - m % T), m += f.loopAdditionalSlides, a.loopedSlides = m;
1379
- const b = a.grid && f.grid && f.grid.rows > 1;
1380
- u.length < g + m ? ae("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : b && f.grid.fill === "row" && ae("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
1381
- const v = [], S = [];
1382
- let y = a.activeIndex;
1383
- typeof r > "u" ? r = a.getSlideIndex(u.filter((P) => P.classList.contains(f.slideActiveClass))[0]) : y = r;
1375
+ let v = f.slidesPerView;
1376
+ v === "auto" ? v = a.slidesPerViewDynamic() : (v = Math.ceil(parseFloat(f.slidesPerView, 10)), h && v % 2 === 0 && (v = v + 1));
1377
+ const y = f.slidesPerGroupAuto ? v : f.slidesPerGroup;
1378
+ let m = y;
1379
+ m % y !== 0 && (m += y - m % y), m += f.loopAdditionalSlides, a.loopedSlides = m;
1380
+ const S = a.grid && f.grid && f.grid.rows > 1;
1381
+ u.length < v + m ? ae("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters") : S && f.grid.fill === "row" && ae("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");
1382
+ const g = [], T = [];
1383
+ let b = a.activeIndex;
1384
+ typeof r > "u" ? r = a.getSlideIndex(u.filter((P) => P.classList.contains(f.slideActiveClass))[0]) : b = r;
1384
1385
  const I = s === "next" || !s, A = s === "prev" || !s;
1385
1386
  let C = 0, x = 0;
1386
- const w = b ? Math.ceil(u.length / f.grid.rows) : u.length, M = (b ? u[r].column : r) + (h && typeof n > "u" ? -g / 2 + 0.5 : 0);
1387
+ const w = S ? Math.ceil(u.length / f.grid.rows) : u.length, M = (S ? u[r].column : r) + (h && typeof n > "u" ? -v / 2 + 0.5 : 0);
1387
1388
  if (M < m) {
1388
- C = Math.max(m - M, T);
1389
+ C = Math.max(m - M, y);
1389
1390
  for (let P = 0; P < m - M; P += 1) {
1390
1391
  const O = P - Math.floor(P / w) * w;
1391
- if (b) {
1392
+ if (S) {
1392
1393
  const D = w - O - 1;
1393
- for (let B = u.length - 1; B >= 0; B -= 1)
1394
- u[B].column === D && v.push(B);
1394
+ for (let $ = u.length - 1; $ >= 0; $ -= 1)
1395
+ u[$].column === D && g.push($);
1395
1396
  } else
1396
- v.push(w - O - 1);
1397
+ g.push(w - O - 1);
1397
1398
  }
1398
- } else if (M + g > w - m) {
1399
- x = Math.max(M - (w - m * 2), T);
1399
+ } else if (M + v > w - m) {
1400
+ x = Math.max(M - (w - m * 2), y);
1400
1401
  for (let P = 0; P < x; P += 1) {
1401
1402
  const O = P - Math.floor(P / w) * w;
1402
- b ? u.forEach((D, B) => {
1403
- D.column === O && S.push(B);
1404
- }) : S.push(O);
1403
+ S ? u.forEach((D, $) => {
1404
+ D.column === O && T.push($);
1405
+ }) : T.push(O);
1405
1406
  }
1406
1407
  }
1407
1408
  if (a.__preventObserver__ = !0, requestAnimationFrame(() => {
1408
1409
  a.__preventObserver__ = !1;
1409
- }), A && v.forEach((P) => {
1410
+ }), A && g.forEach((P) => {
1410
1411
  u[P].swiperLoopMoveDOM = !0, p.prepend(u[P]), u[P].swiperLoopMoveDOM = !1;
1411
- }), I && S.forEach((P) => {
1412
+ }), I && T.forEach((P) => {
1412
1413
  u[P].swiperLoopMoveDOM = !0, p.append(u[P]), u[P].swiperLoopMoveDOM = !1;
1413
- }), a.recalcSlides(), f.slidesPerView === "auto" ? a.updateSlides() : b && (v.length > 0 && A || S.length > 0 && I) && a.slides.forEach((P, O) => {
1414
+ }), a.recalcSlides(), f.slidesPerView === "auto" ? a.updateSlides() : S && (g.length > 0 && A || T.length > 0 && I) && a.slides.forEach((P, O) => {
1414
1415
  a.grid.updateSlide(O, P, a.slides);
1415
1416
  }), f.watchSlidesProgress && a.updateSlidesOffset(), i) {
1416
- if (v.length > 0 && A) {
1417
+ if (g.length > 0 && A) {
1417
1418
  if (typeof e > "u") {
1418
- const P = a.slidesGrid[y], D = a.slidesGrid[y + C] - P;
1419
- o ? a.setTranslate(a.translate - D) : (a.slideTo(y + Math.ceil(C), 0, !1, !0), n && (a.touchEventsData.startTranslate = a.touchEventsData.startTranslate - D, a.touchEventsData.currentTranslate = a.touchEventsData.currentTranslate - D));
1419
+ const P = a.slidesGrid[b], D = a.slidesGrid[b + C] - P;
1420
+ o ? a.setTranslate(a.translate - D) : (a.slideTo(b + Math.ceil(C), 0, !1, !0), n && (a.touchEventsData.startTranslate = a.touchEventsData.startTranslate - D, a.touchEventsData.currentTranslate = a.touchEventsData.currentTranslate - D));
1420
1421
  } else if (n) {
1421
- const P = b ? v.length / f.grid.rows : v.length;
1422
+ const P = S ? g.length / f.grid.rows : g.length;
1422
1423
  a.slideTo(a.activeIndex + P, 0, !1, !0), a.touchEventsData.currentTranslate = a.translate;
1423
1424
  }
1424
- } else if (S.length > 0 && I)
1425
+ } else if (T.length > 0 && I)
1425
1426
  if (typeof e > "u") {
1426
- const P = a.slidesGrid[y], D = a.slidesGrid[y - x] - P;
1427
- o ? a.setTranslate(a.translate - D) : (a.slideTo(y - x, 0, !1, !0), n && (a.touchEventsData.startTranslate = a.touchEventsData.startTranslate - D, a.touchEventsData.currentTranslate = a.touchEventsData.currentTranslate - D));
1427
+ const P = a.slidesGrid[b], D = a.slidesGrid[b - x] - P;
1428
+ o ? a.setTranslate(a.translate - D) : (a.slideTo(b - x, 0, !1, !0), n && (a.touchEventsData.startTranslate = a.touchEventsData.startTranslate - D, a.touchEventsData.currentTranslate = a.touchEventsData.currentTranslate - D));
1428
1429
  } else {
1429
- const P = b ? S.length / f.grid.rows : S.length;
1430
+ const P = S ? T.length / f.grid.rows : T.length;
1430
1431
  a.slideTo(a.activeIndex - P, 0, !1, !0);
1431
1432
  }
1432
1433
  }
@@ -1450,7 +1451,7 @@ function Yt(t) {
1450
1451
  }
1451
1452
  a.emit("loopFix");
1452
1453
  }
1453
- function Xt() {
1454
+ function Kt() {
1454
1455
  const t = this, {
1455
1456
  params: e,
1456
1457
  slidesEl: i
@@ -1467,12 +1468,12 @@ function Xt() {
1467
1468
  i.append(n);
1468
1469
  }), t.recalcSlides(), t.slideTo(t.realIndex, 0);
1469
1470
  }
1470
- var Ut = {
1471
- loopCreate: qt,
1472
- loopFix: Yt,
1473
- loopDestroy: Xt
1471
+ var Zt = {
1472
+ loopCreate: Xt,
1473
+ loopFix: Ut,
1474
+ loopDestroy: Kt
1474
1475
  };
1475
- function Kt(t) {
1476
+ function Jt(t) {
1476
1477
  const e = this;
1477
1478
  if (!e.params.simulateTouch || e.params.watchOverflow && e.isLocked || e.params.cssMode) return;
1478
1479
  const i = e.params.touchEventsTarget === "container" ? e.el : e.wrapperEl;
@@ -1480,34 +1481,34 @@ function Kt(t) {
1480
1481
  e.__preventObserver__ = !1;
1481
1482
  });
1482
1483
  }
1483
- function Zt() {
1484
+ function Qt() {
1484
1485
  const t = this;
1485
1486
  t.params.watchOverflow && t.isLocked || t.params.cssMode || (t.isElement && (t.__preventObserver__ = !0), t[t.params.touchEventsTarget === "container" ? "el" : "wrapperEl"].style.cursor = "", t.isElement && requestAnimationFrame(() => {
1486
1487
  t.__preventObserver__ = !1;
1487
1488
  }));
1488
1489
  }
1489
- var Jt = {
1490
- setGrabCursor: Kt,
1491
- unsetGrabCursor: Zt
1490
+ var ei = {
1491
+ setGrabCursor: Jt,
1492
+ unsetGrabCursor: Qt
1492
1493
  };
1493
- function Qt(t, e) {
1494
+ function ti(t, e) {
1494
1495
  e === void 0 && (e = this);
1495
1496
  function i(s) {
1496
- if (!s || s === H() || s === V()) return null;
1497
+ if (!s || s === j() || s === F()) return null;
1497
1498
  s.assignedSlot && (s = s.assignedSlot);
1498
1499
  const n = s.closest(t);
1499
1500
  return !n && !s.getRootNode ? null : n || i(s.getRootNode().host);
1500
1501
  }
1501
1502
  return i(e);
1502
1503
  }
1503
- function Ie(t, e, i) {
1504
- const s = V(), {
1504
+ function Le(t, e, i) {
1505
+ const s = F(), {
1505
1506
  params: n
1506
1507
  } = t, r = n.edgeSwipeDetection, l = n.edgeSwipeThreshold;
1507
1508
  return r && (i <= l || i >= s.innerWidth - l) ? r === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
1508
1509
  }
1509
- function ei(t) {
1510
- const e = this, i = H();
1510
+ function ii(t) {
1511
+ const e = this, i = j();
1511
1512
  let s = t;
1512
1513
  s.originalEvent && (s = s.originalEvent);
1513
1514
  const n = e.touchEventsData;
@@ -1517,7 +1518,7 @@ function ei(t) {
1517
1518
  n.pointerId = s.pointerId;
1518
1519
  } else s.type === "touchstart" && s.targetTouches.length === 1 && (n.touchId = s.targetTouches[0].identifier);
1519
1520
  if (s.type === "touchstart") {
1520
- Ie(e, s, s.targetTouches[0].pageX);
1521
+ Le(e, s, s.targetTouches[0].pageX);
1521
1522
  return;
1522
1523
  }
1523
1524
  const {
@@ -1533,7 +1534,7 @@ function ei(t) {
1533
1534
  const u = !!r.noSwipingClass && r.noSwipingClass !== "", d = s.composedPath ? s.composedPath() : s.path;
1534
1535
  u && s.target && s.target.shadowRoot && d && (a = d[0]);
1535
1536
  const c = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, p = !!(s.target && s.target.shadowRoot);
1536
- if (r.noSwiping && (p ? Qt(c, a) : a.closest(c))) {
1537
+ if (r.noSwiping && (p ? ti(c, a) : a.closest(c))) {
1537
1538
  e.allowClick = !0;
1538
1539
  return;
1539
1540
  }
@@ -1541,7 +1542,7 @@ function ei(t) {
1541
1542
  return;
1542
1543
  l.currentX = s.pageX, l.currentY = s.pageY;
1543
1544
  const f = l.currentX, h = l.currentY;
1544
- if (!Ie(e, s, f))
1545
+ if (!Le(e, s, f))
1545
1546
  return;
1546
1547
  Object.assign(n, {
1547
1548
  isTouched: !0,
@@ -1550,13 +1551,13 @@ function ei(t) {
1550
1551
  isScrolling: void 0,
1551
1552
  startMoving: void 0
1552
1553
  }), l.startX = f, l.startY = h, n.touchStartTime = ne(), e.allowClick = !0, e.updateSize(), e.swipeDirection = void 0, r.threshold > 0 && (n.allowThresholdMove = !1);
1553
- let g = !0;
1554
- a.matches(n.focusableElements) && (g = !1, a.nodeName === "SELECT" && (n.isTouched = !1)), i.activeElement && i.activeElement.matches(n.focusableElements) && i.activeElement !== a && i.activeElement.blur();
1555
- const T = g && e.allowTouchMove && r.touchStartPreventDefault;
1556
- (r.touchStartForcePreventDefault || T) && !a.isContentEditable && s.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", s);
1554
+ let v = !0;
1555
+ a.matches(n.focusableElements) && (v = !1, a.nodeName === "SELECT" && (n.isTouched = !1)), i.activeElement && i.activeElement.matches(n.focusableElements) && i.activeElement !== a && i.activeElement.blur();
1556
+ const y = v && e.allowTouchMove && r.touchStartPreventDefault;
1557
+ (r.touchStartForcePreventDefault || y) && !a.isContentEditable && s.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", s);
1557
1558
  }
1558
- function ti(t) {
1559
- const e = H(), i = this, s = i.touchEventsData, {
1559
+ function si(t) {
1560
+ const e = j(), i = this, s = i.touchEventsData, {
1560
1561
  params: n,
1561
1562
  touches: r,
1562
1563
  rtlTranslate: l,
@@ -1616,13 +1617,13 @@ function ti(t) {
1616
1617
  if (!s.startMoving)
1617
1618
  return;
1618
1619
  i.allowClick = !1, !n.cssMode && a.cancelable && a.preventDefault(), n.touchMoveStopPropagation && !n.nested && a.stopPropagation();
1619
- let h = i.isHorizontal() ? p : f, g = i.isHorizontal() ? r.currentX - r.previousX : r.currentY - r.previousY;
1620
- n.oneWayMovement && (h = Math.abs(h) * (l ? 1 : -1), g = Math.abs(g) * (l ? 1 : -1)), r.diff = h, h *= n.touchRatio, l && (h = -h, g = -g);
1621
- const T = i.touchesDirection;
1622
- i.swipeDirection = h > 0 ? "prev" : "next", i.touchesDirection = g > 0 ? "prev" : "next";
1623
- const m = i.params.loop && !n.cssMode, b = i.touchesDirection === "next" && i.allowSlideNext || i.touchesDirection === "prev" && i.allowSlidePrev;
1620
+ let h = i.isHorizontal() ? p : f, v = i.isHorizontal() ? r.currentX - r.previousX : r.currentY - r.previousY;
1621
+ n.oneWayMovement && (h = Math.abs(h) * (l ? 1 : -1), v = Math.abs(v) * (l ? 1 : -1)), r.diff = h, h *= n.touchRatio, l && (h = -h, v = -v);
1622
+ const y = i.touchesDirection;
1623
+ i.swipeDirection = h > 0 ? "prev" : "next", i.touchesDirection = v > 0 ? "prev" : "next";
1624
+ const m = i.params.loop && !n.cssMode, S = i.touchesDirection === "next" && i.allowSlideNext || i.touchesDirection === "prev" && i.allowSlidePrev;
1624
1625
  if (!s.isMoved) {
1625
- if (m && b && i.loopFix({
1626
+ if (m && S && i.loopFix({
1626
1627
  direction: i.swipeDirection
1627
1628
  }), s.startTranslate = i.getTranslate(), i.setTransition(0), i.animating) {
1628
1629
  const I = new window.CustomEvent("transitionend", {
@@ -1636,8 +1637,8 @@ function ti(t) {
1636
1637
  }
1637
1638
  s.allowMomentumBounce = !1, n.grabCursor && (i.allowSlideNext === !0 || i.allowSlidePrev === !0) && i.setGrabCursor(!0), i.emit("sliderFirstMove", a);
1638
1639
  }
1639
- let v;
1640
- if ((/* @__PURE__ */ new Date()).getTime(), s.isMoved && s.allowThresholdMove && T !== i.touchesDirection && m && b && Math.abs(h) >= 1) {
1640
+ let g;
1641
+ if ((/* @__PURE__ */ new Date()).getTime(), s.isMoved && s.allowThresholdMove && y !== i.touchesDirection && m && S && Math.abs(h) >= 1) {
1641
1642
  Object.assign(r, {
1642
1643
  startX: d,
1643
1644
  startY: c,
@@ -1648,16 +1649,16 @@ function ti(t) {
1648
1649
  return;
1649
1650
  }
1650
1651
  i.emit("sliderMove", a), s.isMoved = !0, s.currentTranslate = h + s.startTranslate;
1651
- let S = !0, y = n.resistanceRatio;
1652
- if (n.touchReleaseOnEdges && (y = 0), h > 0 ? (m && b && !v && s.allowThresholdMove && s.currentTranslate > (n.centeredSlides ? i.minTranslate() - i.slidesSizesGrid[i.activeIndex + 1] : i.minTranslate()) && i.loopFix({
1652
+ let T = !0, b = n.resistanceRatio;
1653
+ if (n.touchReleaseOnEdges && (b = 0), h > 0 ? (m && S && !g && s.allowThresholdMove && s.currentTranslate > (n.centeredSlides ? i.minTranslate() - i.slidesSizesGrid[i.activeIndex + 1] : i.minTranslate()) && i.loopFix({
1653
1654
  direction: "prev",
1654
1655
  setTranslate: !0,
1655
1656
  activeSlideIndex: 0
1656
- }), s.currentTranslate > i.minTranslate() && (S = !1, n.resistance && (s.currentTranslate = i.minTranslate() - 1 + (-i.minTranslate() + s.startTranslate + h) ** y))) : h < 0 && (m && b && !v && s.allowThresholdMove && s.currentTranslate < (n.centeredSlides ? i.maxTranslate() + i.slidesSizesGrid[i.slidesSizesGrid.length - 1] : i.maxTranslate()) && i.loopFix({
1657
+ }), s.currentTranslate > i.minTranslate() && (T = !1, n.resistance && (s.currentTranslate = i.minTranslate() - 1 + (-i.minTranslate() + s.startTranslate + h) ** b))) : h < 0 && (m && S && !g && s.allowThresholdMove && s.currentTranslate < (n.centeredSlides ? i.maxTranslate() + i.slidesSizesGrid[i.slidesSizesGrid.length - 1] : i.maxTranslate()) && i.loopFix({
1657
1658
  direction: "next",
1658
1659
  setTranslate: !0,
1659
1660
  activeSlideIndex: i.slides.length - (n.slidesPerView === "auto" ? i.slidesPerViewDynamic() : Math.ceil(parseFloat(n.slidesPerView, 10)))
1660
- }), s.currentTranslate < i.maxTranslate() && (S = !1, n.resistance && (s.currentTranslate = i.maxTranslate() + 1 - (i.maxTranslate() - s.startTranslate - h) ** y))), S && (a.preventedByNestedSwiper = !0), !i.allowSlideNext && i.swipeDirection === "next" && s.currentTranslate < s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && i.swipeDirection === "prev" && s.currentTranslate > s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && !i.allowSlideNext && (s.currentTranslate = s.startTranslate), n.threshold > 0)
1661
+ }), s.currentTranslate < i.maxTranslate() && (T = !1, n.resistance && (s.currentTranslate = i.maxTranslate() + 1 - (i.maxTranslate() - s.startTranslate - h) ** b))), T && (a.preventedByNestedSwiper = !0), !i.allowSlideNext && i.swipeDirection === "next" && s.currentTranslate < s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && i.swipeDirection === "prev" && s.currentTranslate > s.startTranslate && (s.currentTranslate = s.startTranslate), !i.allowSlidePrev && !i.allowSlideNext && (s.currentTranslate = s.startTranslate), n.threshold > 0)
1661
1662
  if (Math.abs(h) > n.threshold || s.allowThresholdMove) {
1662
1663
  if (!s.allowThresholdMove) {
1663
1664
  s.allowThresholdMove = !0, r.startX = r.currentX, r.startY = r.currentY, s.currentTranslate = s.startTranslate, r.diff = i.isHorizontal() ? r.currentX - r.startX : r.currentY - r.startY;
@@ -1669,13 +1670,13 @@ function ti(t) {
1669
1670
  }
1670
1671
  !n.followFinger || n.cssMode || ((n.freeMode && n.freeMode.enabled && i.freeMode || n.watchSlidesProgress) && (i.updateActiveIndex(), i.updateSlidesClasses()), n.freeMode && n.freeMode.enabled && i.freeMode && i.freeMode.onTouchMove(), i.updateProgress(s.currentTranslate), i.setTranslate(s.currentTranslate));
1671
1672
  }
1672
- function ii(t) {
1673
+ function ri(t) {
1673
1674
  const e = this, i = e.touchEventsData;
1674
1675
  let s = t;
1675
1676
  s.originalEvent && (s = s.originalEvent);
1676
1677
  let n;
1677
1678
  if (s.type === "touchend" || s.type === "touchcancel") {
1678
- if (n = [...s.changedTouches].filter((y) => y.identifier === i.touchId)[0], !n || n.identifier !== i.touchId) return;
1679
+ if (n = [...s.changedTouches].filter((b) => b.identifier === i.touchId)[0], !n || n.identifier !== i.touchId) return;
1679
1680
  } else {
1680
1681
  if (i.touchId !== null || s.pointerId !== i.pointerId) return;
1681
1682
  n = s;
@@ -1698,8 +1699,8 @@ function ii(t) {
1698
1699
  l.grabCursor && i.isMoved && i.isTouched && (e.allowSlideNext === !0 || e.allowSlidePrev === !0) && e.setGrabCursor(!1);
1699
1700
  const c = ne(), p = c - i.touchStartTime;
1700
1701
  if (e.allowClick) {
1701
- const y = s.path || s.composedPath && s.composedPath();
1702
- e.updateClickedSlide(y && y[0] || s.target, y), e.emit("tap click", s), p < 300 && c - i.lastClickTime < 300 && e.emit("doubleTap doubleClick", s);
1702
+ const b = s.path || s.composedPath && s.composedPath();
1703
+ e.updateClickedSlide(b && b[0] || s.target, b), e.emit("tap click", s), p < 300 && c - i.lastClickTime < 300 && e.emit("doubleTap doubleClick", s);
1703
1704
  }
1704
1705
  if (i.lastClickTime = ne(), ge(() => {
1705
1706
  e.destroyed || (e.allowClick = !0);
@@ -1718,29 +1719,29 @@ function ii(t) {
1718
1719
  return;
1719
1720
  }
1720
1721
  const h = f >= -e.maxTranslate() && !e.params.loop;
1721
- let g = 0, T = e.slidesSizesGrid[0];
1722
- for (let y = 0; y < u.length; y += y < l.slidesPerGroupSkip ? 1 : l.slidesPerGroup) {
1723
- const I = y < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1724
- typeof u[y + I] < "u" ? (h || f >= u[y] && f < u[y + I]) && (g = y, T = u[y + I] - u[y]) : (h || f >= u[y]) && (g = y, T = u[u.length - 1] - u[u.length - 2]);
1725
- }
1726
- let m = null, b = null;
1727
- l.rewind && (e.isBeginning ? b = l.virtual && l.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (m = 0));
1728
- const v = (f - u[g]) / T, S = g < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1722
+ let v = 0, y = e.slidesSizesGrid[0];
1723
+ for (let b = 0; b < u.length; b += b < l.slidesPerGroupSkip ? 1 : l.slidesPerGroup) {
1724
+ const I = b < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1725
+ typeof u[b + I] < "u" ? (h || f >= u[b] && f < u[b + I]) && (v = b, y = u[b + I] - u[b]) : (h || f >= u[b]) && (v = b, y = u[u.length - 1] - u[u.length - 2]);
1726
+ }
1727
+ let m = null, S = null;
1728
+ l.rewind && (e.isBeginning ? S = l.virtual && l.virtual.enabled && e.virtual ? e.virtual.slides.length - 1 : e.slides.length - 1 : e.isEnd && (m = 0));
1729
+ const g = (f - u[v]) / y, T = v < l.slidesPerGroupSkip - 1 ? 1 : l.slidesPerGroup;
1729
1730
  if (p > l.longSwipesMs) {
1730
1731
  if (!l.longSwipes) {
1731
1732
  e.slideTo(e.activeIndex);
1732
1733
  return;
1733
1734
  }
1734
- e.swipeDirection === "next" && (v >= l.longSwipesRatio ? e.slideTo(l.rewind && e.isEnd ? m : g + S) : e.slideTo(g)), e.swipeDirection === "prev" && (v > 1 - l.longSwipesRatio ? e.slideTo(g + S) : b !== null && v < 0 && Math.abs(v) > l.longSwipesRatio ? e.slideTo(b) : e.slideTo(g));
1735
+ e.swipeDirection === "next" && (g >= l.longSwipesRatio ? e.slideTo(l.rewind && e.isEnd ? m : v + T) : e.slideTo(v)), e.swipeDirection === "prev" && (g > 1 - l.longSwipesRatio ? e.slideTo(v + T) : S !== null && g < 0 && Math.abs(g) > l.longSwipesRatio ? e.slideTo(S) : e.slideTo(v));
1735
1736
  } else {
1736
1737
  if (!l.shortSwipes) {
1737
1738
  e.slideTo(e.activeIndex);
1738
1739
  return;
1739
1740
  }
1740
- e.navigation && (s.target === e.navigation.nextEl || s.target === e.navigation.prevEl) ? s.target === e.navigation.nextEl ? e.slideTo(g + S) : e.slideTo(g) : (e.swipeDirection === "next" && e.slideTo(m !== null ? m : g + S), e.swipeDirection === "prev" && e.slideTo(b !== null ? b : g));
1741
+ e.navigation && (s.target === e.navigation.nextEl || s.target === e.navigation.prevEl) ? s.target === e.navigation.nextEl ? e.slideTo(v + T) : e.slideTo(v) : (e.swipeDirection === "next" && e.slideTo(m !== null ? m : v + T), e.swipeDirection === "prev" && e.slideTo(S !== null ? S : v));
1741
1742
  }
1742
1743
  }
1743
- function Le() {
1744
+ function Oe() {
1744
1745
  const t = this, {
1745
1746
  params: e,
1746
1747
  el: i
@@ -1758,11 +1759,11 @@ function Le() {
1758
1759
  t.autoplay && t.autoplay.running && t.autoplay.paused && t.autoplay.resume();
1759
1760
  }, 500)), t.allowSlidePrev = n, t.allowSlideNext = s, t.params.watchOverflow && r !== t.snapGrid && t.checkOverflow();
1760
1761
  }
1761
- function si(t) {
1762
+ function ni(t) {
1762
1763
  const e = this;
1763
1764
  e.enabled && (e.allowClick || (e.params.preventClicks && t.preventDefault(), e.params.preventClicksPropagation && e.animating && (t.stopPropagation(), t.stopImmediatePropagation())));
1764
1765
  }
1765
- function ri() {
1766
+ function ai() {
1766
1767
  const t = this, {
1767
1768
  wrapperEl: e,
1768
1769
  rtlTranslate: i,
@@ -1774,16 +1775,16 @@ function ri() {
1774
1775
  const r = t.maxTranslate() - t.minTranslate();
1775
1776
  r === 0 ? n = 0 : n = (t.translate - t.minTranslate()) / r, n !== t.progress && t.updateProgress(i ? -t.translate : t.translate), t.emit("setTranslate", t.translate, !1);
1776
1777
  }
1777
- function ni(t) {
1778
+ function li(t) {
1778
1779
  const e = this;
1779
1780
  se(e, t.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
1780
1781
  }
1781
- function ai() {
1782
+ function oi() {
1782
1783
  const t = this;
1783
1784
  t.documentTouchHandlerProceeded || (t.documentTouchHandlerProceeded = !0, t.params.touchReleaseOnEdges && (t.el.style.touchAction = "auto"));
1784
1785
  }
1785
- const Fe = (t, e) => {
1786
- const i = H(), {
1786
+ const Re = (t, e) => {
1787
+ const i = j(), {
1787
1788
  params: s,
1788
1789
  el: n,
1789
1790
  wrapperEl: r,
@@ -1816,25 +1817,25 @@ const Fe = (t, e) => {
1816
1817
  passive: !0
1817
1818
  }), i[a]("contextmenu", t.onTouchEnd, {
1818
1819
  passive: !0
1819
- }), (s.preventClicks || s.preventClicksPropagation) && n[a]("click", t.onClick, !0), s.cssMode && r[a]("scroll", t.onScroll), s.updateOnWindowResize ? t[u](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", Le, !0) : t[u]("observerUpdate", Le, !0), n[a]("load", t.onLoad, {
1820
+ }), (s.preventClicks || s.preventClicksPropagation) && n[a]("click", t.onClick, !0), s.cssMode && r[a]("scroll", t.onScroll), s.updateOnWindowResize ? t[u](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", Oe, !0) : t[u]("observerUpdate", Oe, !0), n[a]("load", t.onLoad, {
1820
1821
  capture: !0
1821
1822
  }));
1822
1823
  };
1823
- function li() {
1824
+ function di() {
1824
1825
  const t = this, {
1825
1826
  params: e
1826
1827
  } = t;
1827
- t.onTouchStart = ei.bind(t), t.onTouchMove = ti.bind(t), t.onTouchEnd = ii.bind(t), t.onDocumentTouchStart = ai.bind(t), e.cssMode && (t.onScroll = ri.bind(t)), t.onClick = si.bind(t), t.onLoad = ni.bind(t), Fe(t, "on");
1828
+ t.onTouchStart = ii.bind(t), t.onTouchMove = si.bind(t), t.onTouchEnd = ri.bind(t), t.onDocumentTouchStart = oi.bind(t), e.cssMode && (t.onScroll = ai.bind(t)), t.onClick = ni.bind(t), t.onLoad = li.bind(t), Re(t, "on");
1828
1829
  }
1829
- function oi() {
1830
- Fe(this, "off");
1830
+ function ci() {
1831
+ Re(this, "off");
1831
1832
  }
1832
- var di = {
1833
- attachEvents: li,
1834
- detachEvents: oi
1833
+ var ui = {
1834
+ attachEvents: di,
1835
+ detachEvents: ci
1835
1836
  };
1836
- const Oe = (t, e) => t.grid && e.grid && e.grid.rows > 1;
1837
- function ci() {
1837
+ const _e = (t, e) => t.grid && e.grid && e.grid.rows > 1;
1838
+ function fi() {
1838
1839
  const t = this, {
1839
1840
  realIndex: e,
1840
1841
  initialized: i,
@@ -1844,25 +1845,25 @@ function ci() {
1844
1845
  if (!r || r && Object.keys(r).length === 0) return;
1845
1846
  const l = t.getBreakpoint(r, t.params.breakpointsBase, t.el);
1846
1847
  if (!l || t.currentBreakpoint === l) return;
1847
- const a = (l in r ? r[l] : void 0) || t.originalParams, u = Oe(t, s), d = Oe(t, a), c = t.params.grabCursor, p = a.grabCursor, f = s.enabled;
1848
- u && !d ? (n.classList.remove(`${s.containerModifierClass}grid`, `${s.containerModifierClass}grid-column`), t.emitContainerClasses()) : !u && d && (n.classList.add(`${s.containerModifierClass}grid`), (a.grid.fill && a.grid.fill === "column" || !a.grid.fill && s.grid.fill === "column") && n.classList.add(`${s.containerModifierClass}grid-column`), t.emitContainerClasses()), c && !p ? t.unsetGrabCursor() : !c && p && t.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((v) => {
1849
- if (typeof a[v] > "u") return;
1850
- const S = s[v] && s[v].enabled, y = a[v] && a[v].enabled;
1851
- S && !y && t[v].disable(), !S && y && t[v].enable();
1848
+ const a = (l in r ? r[l] : void 0) || t.originalParams, u = _e(t, s), d = _e(t, a), c = t.params.grabCursor, p = a.grabCursor, f = s.enabled;
1849
+ u && !d ? (n.classList.remove(`${s.containerModifierClass}grid`, `${s.containerModifierClass}grid-column`), t.emitContainerClasses()) : !u && d && (n.classList.add(`${s.containerModifierClass}grid`), (a.grid.fill && a.grid.fill === "column" || !a.grid.fill && s.grid.fill === "column") && n.classList.add(`${s.containerModifierClass}grid-column`), t.emitContainerClasses()), c && !p ? t.unsetGrabCursor() : !c && p && t.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((g) => {
1850
+ if (typeof a[g] > "u") return;
1851
+ const T = s[g] && s[g].enabled, b = a[g] && a[g].enabled;
1852
+ T && !b && t[g].disable(), !T && b && t[g].enable();
1852
1853
  });
1853
- const h = a.direction && a.direction !== s.direction, g = s.loop && (a.slidesPerView !== s.slidesPerView || h), T = s.loop;
1854
- h && i && t.changeDirection(), N(t.params, a);
1855
- const m = t.params.enabled, b = t.params.loop;
1854
+ const h = a.direction && a.direction !== s.direction, v = s.loop && (a.slidesPerView !== s.slidesPerView || h), y = s.loop;
1855
+ h && i && t.changeDirection(), B(t.params, a);
1856
+ const m = t.params.enabled, S = t.params.loop;
1856
1857
  Object.assign(t, {
1857
1858
  allowTouchMove: t.params.allowTouchMove,
1858
1859
  allowSlideNext: t.params.allowSlideNext,
1859
1860
  allowSlidePrev: t.params.allowSlidePrev
1860
- }), f && !m ? t.disable() : !f && m && t.enable(), t.currentBreakpoint = l, t.emit("_beforeBreakpoint", a), i && (g ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !T && b ? (t.loopCreate(e), t.updateSlides()) : T && !b && t.loopDestroy()), t.emit("breakpoint", a);
1861
+ }), f && !m ? t.disable() : !f && m && t.enable(), t.currentBreakpoint = l, t.emit("_beforeBreakpoint", a), i && (v ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !y && S ? (t.loopCreate(e), t.updateSlides()) : y && !S && t.loopDestroy()), t.emit("breakpoint", a);
1861
1862
  }
1862
- function ui(t, e, i) {
1863
+ function pi(t, e, i) {
1863
1864
  if (e === void 0 && (e = "window"), !t || e === "container" && !i) return;
1864
1865
  let s = !1;
1865
- const n = V(), r = e === "window" ? n.innerHeight : i.clientHeight, l = Object.keys(t).map((o) => {
1866
+ const n = F(), r = e === "window" ? n.innerHeight : i.clientHeight, l = Object.keys(t).map((o) => {
1866
1867
  if (typeof o == "string" && o.indexOf("@") === 0) {
1867
1868
  const a = parseFloat(o.substr(1));
1868
1869
  return {
@@ -1885,11 +1886,11 @@ function ui(t, e, i) {
1885
1886
  }
1886
1887
  return s || "max";
1887
1888
  }
1888
- var fi = {
1889
- setBreakpoint: ci,
1890
- getBreakpoint: ui
1889
+ var mi = {
1890
+ setBreakpoint: fi,
1891
+ getBreakpoint: pi
1891
1892
  };
1892
- function pi(t, e) {
1893
+ function hi(t, e) {
1893
1894
  const i = [];
1894
1895
  return t.forEach((s) => {
1895
1896
  typeof s == "object" ? Object.keys(s).forEach((n) => {
@@ -1897,14 +1898,14 @@ function pi(t, e) {
1897
1898
  }) : typeof s == "string" && i.push(e + s);
1898
1899
  }), i;
1899
1900
  }
1900
- function mi() {
1901
+ function gi() {
1901
1902
  const t = this, {
1902
1903
  classNames: e,
1903
1904
  params: i,
1904
1905
  rtl: s,
1905
1906
  el: n,
1906
1907
  device: r
1907
- } = t, l = pi(["initialized", i.direction, {
1908
+ } = t, l = hi(["initialized", i.direction, {
1908
1909
  "free-mode": t.params.freeMode && i.freeMode.enabled
1909
1910
  }, {
1910
1911
  autoheight: i.autoHeight
@@ -1927,18 +1928,18 @@ function mi() {
1927
1928
  }], i.containerModifierClass);
1928
1929
  e.push(...l), n.classList.add(...e), t.emitContainerClasses();
1929
1930
  }
1930
- function hi() {
1931
+ function vi() {
1931
1932
  const t = this, {
1932
1933
  el: e,
1933
1934
  classNames: i
1934
1935
  } = t;
1935
1936
  !e || typeof e == "string" || (e.classList.remove(...i), t.emitContainerClasses());
1936
1937
  }
1937
- var gi = {
1938
- addClasses: mi,
1939
- removeClasses: hi
1938
+ var wi = {
1939
+ addClasses: gi,
1940
+ removeClasses: vi
1940
1941
  };
1941
- function vi() {
1942
+ function Si() {
1942
1943
  const t = this, {
1943
1944
  isLocked: e,
1944
1945
  params: i
@@ -1952,8 +1953,8 @@ function vi() {
1952
1953
  t.isLocked = t.snapGrid.length === 1;
1953
1954
  i.allowSlideNext === !0 && (t.allowSlideNext = !t.isLocked), i.allowSlidePrev === !0 && (t.allowSlidePrev = !t.isLocked), e && e !== t.isLocked && (t.isEnd = !1), e !== t.isLocked && t.emit(t.isLocked ? "lock" : "unlock");
1954
1955
  }
1955
- var wi = {
1956
- checkOverflow: vi
1956
+ var Ti = {
1957
+ checkOverflow: Si
1957
1958
  }, Se = {
1958
1959
  init: !0,
1959
1960
  direction: "horizontal",
@@ -2075,72 +2076,72 @@ var wi = {
2075
2076
  // Internals
2076
2077
  _emitClasses: !1
2077
2078
  };
2078
- function Si(t, e) {
2079
+ function bi(t, e) {
2079
2080
  return function(s) {
2080
2081
  s === void 0 && (s = {});
2081
2082
  const n = Object.keys(s)[0], r = s[n];
2082
2083
  if (typeof r != "object" || r === null) {
2083
- N(e, s);
2084
+ B(e, s);
2084
2085
  return;
2085
2086
  }
2086
2087
  if (t[n] === !0 && (t[n] = {
2087
2088
  enabled: !0
2088
2089
  }), n === "navigation" && t[n] && t[n].enabled && !t[n].prevEl && !t[n].nextEl && (t[n].auto = !0), ["pagination", "scrollbar"].indexOf(n) >= 0 && t[n] && t[n].enabled && !t[n].el && (t[n].auto = !0), !(n in t && "enabled" in r)) {
2089
- N(e, s);
2090
+ B(e, s);
2090
2091
  return;
2091
2092
  }
2092
2093
  typeof t[n] == "object" && !("enabled" in t[n]) && (t[n].enabled = !0), t[n] || (t[n] = {
2093
2094
  enabled: !1
2094
- }), N(e, s);
2095
+ }), B(e, s);
2095
2096
  };
2096
2097
  }
2097
2098
  const pe = {
2098
- eventsEmitter: gt,
2099
- update: Ct,
2100
- translate: At,
2101
- transition: Vt,
2102
- slide: Wt,
2103
- loop: Ut,
2104
- grabCursor: Jt,
2105
- events: di,
2106
- breakpoints: fi,
2107
- checkOverflow: wi,
2108
- classes: gi
2099
+ eventsEmitter: wt,
2100
+ update: Lt,
2101
+ translate: Gt,
2102
+ transition: Ft,
2103
+ slide: Yt,
2104
+ loop: Zt,
2105
+ grabCursor: ei,
2106
+ events: ui,
2107
+ breakpoints: mi,
2108
+ checkOverflow: Ti,
2109
+ classes: wi
2109
2110
  }, me = {};
2110
- let be = class k {
2111
+ let ye = class k {
2111
2112
  constructor() {
2112
2113
  let e, i;
2113
2114
  for (var s = arguments.length, n = new Array(s), r = 0; r < s; r++)
2114
2115
  n[r] = arguments[r];
2115
- n.length === 1 && n[0].constructor && Object.prototype.toString.call(n[0]).slice(8, -1) === "Object" ? i = n[0] : [e, i] = n, i || (i = {}), i = N({}, i), e && !i.el && (i.el = e);
2116
- const l = H();
2116
+ n.length === 1 && n[0].constructor && Object.prototype.toString.call(n[0]).slice(8, -1) === "Object" ? i = n[0] : [e, i] = n, i || (i = {}), i = B({}, i), e && !i.el && (i.el = e);
2117
+ const l = j();
2117
2118
  if (i.el && typeof i.el == "string" && l.querySelectorAll(i.el).length > 1) {
2118
2119
  const d = [];
2119
2120
  return l.querySelectorAll(i.el).forEach((c) => {
2120
- const p = N({}, i, {
2121
+ const p = B({}, i, {
2121
2122
  el: c
2122
2123
  });
2123
2124
  d.push(new k(p));
2124
2125
  }), d;
2125
2126
  }
2126
2127
  const o = this;
2127
- o.__swiper__ = !0, o.support = Ne(), o.device = Ve({
2128
+ o.__swiper__ = !0, o.support = Be(), o.device = Fe({
2128
2129
  userAgent: i.userAgent
2129
- }), o.browser = pt(), o.eventsListeners = {}, o.eventsAnyListeners = [], o.modules = [...o.__modules__], i.modules && Array.isArray(i.modules) && o.modules.push(...i.modules);
2130
+ }), o.browser = ht(), o.eventsListeners = {}, o.eventsAnyListeners = [], o.modules = [...o.__modules__], i.modules && Array.isArray(i.modules) && o.modules.push(...i.modules);
2130
2131
  const a = {};
2131
2132
  o.modules.forEach((d) => {
2132
2133
  d({
2133
2134
  params: i,
2134
2135
  swiper: o,
2135
- extendParams: Si(i, a),
2136
+ extendParams: bi(i, a),
2136
2137
  on: o.on.bind(o),
2137
2138
  once: o.once.bind(o),
2138
2139
  off: o.off.bind(o),
2139
2140
  emit: o.emit.bind(o)
2140
2141
  });
2141
2142
  });
2142
- const u = N({}, Se, a);
2143
- return o.params = N({}, u, me, i), o.originalParams = N({}, o.params), o.passedParams = N({}, i), o.params && o.params.on && Object.keys(o.params.on).forEach((d) => {
2143
+ const u = B({}, Se, a);
2144
+ return o.params = B({}, u, me, i), o.originalParams = B({}, o.params), o.passedParams = B({}, i), o.params && o.params.on && Object.keys(o.params.on).forEach((d) => {
2144
2145
  o.on(d, o.params.on[d]);
2145
2146
  }), o.params && o.params.onAny && o.onAny(o.params.onAny), Object.assign(o, {
2146
2147
  enabled: o.params.enabled,
@@ -2231,8 +2232,8 @@ let be = class k {
2231
2232
  const {
2232
2233
  slidesEl: i,
2233
2234
  params: s
2234
- } = this, n = j(i, `.${s.slideClass}, swiper-slide`), r = Pe(n[0]);
2235
- return Pe(e) - r;
2235
+ } = this, n = H(i, `.${s.slideClass}, swiper-slide`), r = Me(n[0]);
2236
+ return Me(e) - r;
2236
2237
  }
2237
2238
  getSlideIndexByData(e) {
2238
2239
  return this.getSlideIndex(this.slides.filter((i) => i.getAttribute("data-swiper-slide-index") * 1 === e)[0]);
@@ -2242,7 +2243,7 @@ let be = class k {
2242
2243
  slidesEl: i,
2243
2244
  params: s
2244
2245
  } = e;
2245
- e.slides = j(i, `.${s.slideClass}, swiper-slide`);
2246
+ e.slides = H(i, `.${s.slideClass}, swiper-slide`);
2246
2247
  }
2247
2248
  enable() {
2248
2249
  const e = this;
@@ -2352,8 +2353,8 @@ let be = class k {
2352
2353
  return !1;
2353
2354
  s.swiper = i, s.parentNode && s.parentNode.host && s.parentNode.host.nodeName === i.params.swiperElementNodeName.toUpperCase() && (i.isElement = !0);
2354
2355
  const n = () => `.${(i.params.wrapperClass || "").trim().split(" ").join(".")}`;
2355
- let l = s && s.shadowRoot && s.shadowRoot.querySelector ? s.shadowRoot.querySelector(n()) : j(s, n())[0];
2356
- return !l && i.params.createElements && (l = ve("div", i.params.wrapperClass), s.append(l), j(s, `.${i.params.slideClass}`).forEach((o) => {
2356
+ let l = s && s.shadowRoot && s.shadowRoot.querySelector ? s.shadowRoot.querySelector(n()) : H(s, n())[0];
2357
+ return !l && i.params.createElements && (l = ve("div", i.params.wrapperClass), s.append(l), H(s, `.${i.params.slideClass}`).forEach((o) => {
2357
2358
  l.append(o);
2358
2359
  })), Object.assign(i, {
2359
2360
  el: s,
@@ -2390,10 +2391,10 @@ let be = class k {
2390
2391
  a.classList.remove(n.slideVisibleClass, n.slideFullyVisibleClass, n.slideActiveClass, n.slideNextClass, n.slidePrevClass), a.removeAttribute("style"), a.removeAttribute("data-swiper-slide-index");
2391
2392
  })), s.emit("destroy"), Object.keys(s.eventsListeners).forEach((a) => {
2392
2393
  s.off(a);
2393
- }), e !== !1 && (s.el && typeof s.el != "string" && (s.el.swiper = null), it(s)), s.destroyed = !0), null;
2394
+ }), e !== !1 && (s.el && typeof s.el != "string" && (s.el.swiper = null), rt(s)), s.destroyed = !0), null;
2394
2395
  }
2395
2396
  static extendDefaults(e) {
2396
- N(me, e);
2397
+ B(me, e);
2397
2398
  }
2398
2399
  static get extendedDefaults() {
2399
2400
  return me;
@@ -2412,11 +2413,11 @@ let be = class k {
2412
2413
  };
2413
2414
  Object.keys(pe).forEach((t) => {
2414
2415
  Object.keys(pe[t]).forEach((e) => {
2415
- be.prototype[e] = pe[t][e];
2416
+ ye.prototype[e] = pe[t][e];
2416
2417
  });
2417
2418
  });
2418
- be.use([mt, ht]);
2419
- const $e = [
2419
+ ye.use([gt, vt]);
2420
+ const ke = [
2420
2421
  "eventsPrefix",
2421
2422
  "injectStyles",
2422
2423
  "injectStylesUrls",
@@ -2538,32 +2539,32 @@ const $e = [
2538
2539
  function Y(t) {
2539
2540
  return typeof t == "object" && t !== null && t.constructor && Object.prototype.toString.call(t).slice(8, -1) === "Object" && !t.__swiper__;
2540
2541
  }
2541
- function U(t, e) {
2542
+ function Z(t, e) {
2542
2543
  const i = ["__proto__", "constructor", "prototype"];
2543
2544
  Object.keys(e).filter((s) => i.indexOf(s) < 0).forEach((s) => {
2544
- typeof t[s] > "u" ? t[s] = e[s] : Y(e[s]) && Y(t[s]) && Object.keys(e[s]).length > 0 ? e[s].__swiper__ ? t[s] = e[s] : U(t[s], e[s]) : t[s] = e[s];
2545
+ typeof t[s] > "u" ? t[s] = e[s] : Y(e[s]) && Y(t[s]) && Object.keys(e[s]).length > 0 ? e[s].__swiper__ ? t[s] = e[s] : Z(t[s], e[s]) : t[s] = e[s];
2545
2546
  });
2546
2547
  }
2547
- function Re(t) {
2548
+ function He(t) {
2548
2549
  return t === void 0 && (t = {}), t.navigation && typeof t.navigation.nextEl > "u" && typeof t.navigation.prevEl > "u";
2549
2550
  }
2550
- function ke(t) {
2551
+ function je(t) {
2551
2552
  return t === void 0 && (t = {}), t.pagination && typeof t.pagination.el > "u";
2552
2553
  }
2553
- function je(t) {
2554
+ function We(t) {
2554
2555
  return t === void 0 && (t = {}), t.scrollbar && typeof t.scrollbar.el > "u";
2555
2556
  }
2556
- function He(t) {
2557
+ function qe(t) {
2557
2558
  t === void 0 && (t = "");
2558
2559
  const e = t.split(" ").map((s) => s.trim()).filter((s) => !!s), i = [];
2559
2560
  return e.forEach((s) => {
2560
2561
  i.indexOf(s) < 0 && i.push(s);
2561
2562
  }), i.join(" ");
2562
2563
  }
2563
- function Ti(t) {
2564
+ function yi(t) {
2564
2565
  return t === void 0 && (t = ""), t ? t.includes("swiper-wrapper") ? t : `swiper-wrapper ${t}` : "swiper-wrapper";
2565
2566
  }
2566
- function yi(t) {
2567
+ function xi(t) {
2567
2568
  let {
2568
2569
  swiper: e,
2569
2570
  slides: i,
@@ -2580,31 +2581,31 @@ function yi(t) {
2580
2581
  navigation: p,
2581
2582
  scrollbar: f,
2582
2583
  virtual: h,
2583
- thumbs: g
2584
+ thumbs: v
2584
2585
  } = e;
2585
- let T, m, b, v, S, y, I, A;
2586
- n.includes("thumbs") && s.thumbs && s.thumbs.swiper && d.thumbs && !d.thumbs.swiper && (T = !0), n.includes("controller") && s.controller && s.controller.control && d.controller && !d.controller.control && (m = !0), n.includes("pagination") && s.pagination && (s.pagination.el || a) && (d.pagination || d.pagination === !1) && c && !c.el && (b = !0), n.includes("scrollbar") && s.scrollbar && (s.scrollbar.el || o) && (d.scrollbar || d.scrollbar === !1) && f && !f.el && (v = !0), n.includes("navigation") && s.navigation && (s.navigation.prevEl || l) && (s.navigation.nextEl || r) && (d.navigation || d.navigation === !1) && p && !p.prevEl && !p.nextEl && (S = !0);
2586
+ let y, m, S, g, T, b, I, A;
2587
+ n.includes("thumbs") && s.thumbs && s.thumbs.swiper && d.thumbs && !d.thumbs.swiper && (y = !0), n.includes("controller") && s.controller && s.controller.control && d.controller && !d.controller.control && (m = !0), n.includes("pagination") && s.pagination && (s.pagination.el || a) && (d.pagination || d.pagination === !1) && c && !c.el && (S = !0), n.includes("scrollbar") && s.scrollbar && (s.scrollbar.el || o) && (d.scrollbar || d.scrollbar === !1) && f && !f.el && (g = !0), n.includes("navigation") && s.navigation && (s.navigation.prevEl || l) && (s.navigation.nextEl || r) && (d.navigation || d.navigation === !1) && p && !p.prevEl && !p.nextEl && (T = !0);
2587
2588
  const C = (x) => {
2588
2589
  e[x] && (e[x].destroy(), x === "navigation" ? (e.isElement && (e[x].prevEl.remove(), e[x].nextEl.remove()), d[x].prevEl = void 0, d[x].nextEl = void 0, e[x].prevEl = void 0, e[x].nextEl = void 0) : (e.isElement && e[x].el.remove(), d[x].el = void 0, e[x].el = void 0));
2589
2590
  };
2590
- n.includes("loop") && e.isElement && (d.loop && !s.loop ? y = !0 : !d.loop && s.loop ? I = !0 : A = !0), u.forEach((x) => {
2591
+ n.includes("loop") && e.isElement && (d.loop && !s.loop ? b = !0 : !d.loop && s.loop ? I = !0 : A = !0), u.forEach((x) => {
2591
2592
  if (Y(d[x]) && Y(s[x]))
2592
2593
  Object.assign(d[x], s[x]), (x === "navigation" || x === "pagination" || x === "scrollbar") && "enabled" in s[x] && !s[x].enabled && C(x);
2593
2594
  else {
2594
2595
  const w = s[x];
2595
2596
  (w === !0 || w === !1) && (x === "navigation" || x === "pagination" || x === "scrollbar") ? w === !1 && C(x) : d[x] = s[x];
2596
2597
  }
2597
- }), u.includes("controller") && !m && e.controller && e.controller.control && d.controller && d.controller.control && (e.controller.control = d.controller.control), n.includes("children") && i && h && d.virtual.enabled ? (h.slides = i, h.update(!0)) : n.includes("virtual") && h && d.virtual.enabled && (i && (h.slides = i), h.update(!0)), n.includes("children") && i && d.loop && (A = !0), T && g.init() && g.update(!0), m && (e.controller.control = d.controller.control), b && (e.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-pagination"), a.part.add("pagination"), e.el.appendChild(a)), a && (d.pagination.el = a), c.init(), c.render(), c.update()), v && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-scrollbar"), o.part.add("scrollbar"), e.el.appendChild(o)), o && (d.scrollbar.el = o), f.init(), f.updateSize(), f.setTranslate()), S && (e.isElement && ((!r || typeof r == "string") && (r = document.createElement("div"), r.classList.add("swiper-button-next"), r.innerHTML = e.hostEl.constructor.nextButtonSvg, r.part.add("button-next"), e.el.appendChild(r)), (!l || typeof l == "string") && (l = document.createElement("div"), l.classList.add("swiper-button-prev"), l.innerHTML = e.hostEl.constructor.prevButtonSvg, l.part.add("button-prev"), e.el.appendChild(l))), r && (d.navigation.nextEl = r), l && (d.navigation.prevEl = l), p.init(), p.update()), n.includes("allowSlideNext") && (e.allowSlideNext = s.allowSlideNext), n.includes("allowSlidePrev") && (e.allowSlidePrev = s.allowSlidePrev), n.includes("direction") && e.changeDirection(s.direction, !1), (y || A) && e.loopDestroy(), (I || A) && e.loopCreate(), e.update();
2598
+ }), u.includes("controller") && !m && e.controller && e.controller.control && d.controller && d.controller.control && (e.controller.control = d.controller.control), n.includes("children") && i && h && d.virtual.enabled ? (h.slides = i, h.update(!0)) : n.includes("virtual") && h && d.virtual.enabled && (i && (h.slides = i), h.update(!0)), n.includes("children") && i && d.loop && (A = !0), y && v.init() && v.update(!0), m && (e.controller.control = d.controller.control), S && (e.isElement && (!a || typeof a == "string") && (a = document.createElement("div"), a.classList.add("swiper-pagination"), a.part.add("pagination"), e.el.appendChild(a)), a && (d.pagination.el = a), c.init(), c.render(), c.update()), g && (e.isElement && (!o || typeof o == "string") && (o = document.createElement("div"), o.classList.add("swiper-scrollbar"), o.part.add("scrollbar"), e.el.appendChild(o)), o && (d.scrollbar.el = o), f.init(), f.updateSize(), f.setTranslate()), T && (e.isElement && ((!r || typeof r == "string") && (r = document.createElement("div"), r.classList.add("swiper-button-next"), r.innerHTML = e.hostEl.constructor.nextButtonSvg, r.part.add("button-next"), e.el.appendChild(r)), (!l || typeof l == "string") && (l = document.createElement("div"), l.classList.add("swiper-button-prev"), l.innerHTML = e.hostEl.constructor.prevButtonSvg, l.part.add("button-prev"), e.el.appendChild(l))), r && (d.navigation.nextEl = r), l && (d.navigation.prevEl = l), p.init(), p.update()), n.includes("allowSlideNext") && (e.allowSlideNext = s.allowSlideNext), n.includes("allowSlidePrev") && (e.allowSlidePrev = s.allowSlidePrev), n.includes("direction") && e.changeDirection(s.direction, !1), (b || A) && e.loopDestroy(), (I || A) && e.loopCreate(), e.update();
2598
2599
  }
2599
- function bi(t, e) {
2600
+ function Ei(t, e) {
2600
2601
  t === void 0 && (t = {}), e === void 0 && (e = !0);
2601
2602
  const i = {
2602
2603
  on: {}
2603
2604
  }, s = {}, n = {};
2604
- U(i, Se), i._emitClasses = !0, i.init = !1;
2605
- const r = {}, l = $e.map((a) => a.replace(/_/, "")), o = Object.assign({}, t);
2605
+ Z(i, Se), i._emitClasses = !0, i.init = !1;
2606
+ const r = {}, l = ke.map((a) => a.replace(/_/, "")), o = Object.assign({}, t);
2606
2607
  return Object.keys(o).forEach((a) => {
2607
- typeof t[a] > "u" || (l.indexOf(a) >= 0 ? Y(t[a]) ? (i[a] = {}, n[a] = {}, U(i[a], t[a]), U(n[a], t[a])) : (i[a] = t[a], n[a] = t[a]) : a.search(/on[A-Z]/) === 0 && typeof t[a] == "function" ? e ? s[`${a[2].toLowerCase()}${a.substr(3)}`] = t[a] : i.on[`${a[2].toLowerCase()}${a.substr(3)}`] = t[a] : r[a] = t[a]);
2608
+ typeof t[a] > "u" || (l.indexOf(a) >= 0 ? Y(t[a]) ? (i[a] = {}, n[a] = {}, Z(i[a], t[a]), Z(n[a], t[a])) : (i[a] = t[a], n[a] = t[a]) : a.search(/on[A-Z]/) === 0 && typeof t[a] == "function" ? e ? s[`${a[2].toLowerCase()}${a.substr(3)}`] = t[a] : i.on[`${a[2].toLowerCase()}${a.substr(3)}`] = t[a] : r[a] = t[a]);
2608
2609
  }), ["navigation", "pagination", "scrollbar"].forEach((a) => {
2609
2610
  i[a] === !0 && (i[a] = {}), i[a] === !1 && delete i[a];
2610
2611
  }), {
@@ -2614,7 +2615,7 @@ function bi(t, e) {
2614
2615
  events: s
2615
2616
  };
2616
2617
  }
2617
- function xi(t, e) {
2618
+ function Pi(t, e) {
2618
2619
  let {
2619
2620
  el: i,
2620
2621
  nextEl: s,
@@ -2623,9 +2624,9 @@ function xi(t, e) {
2623
2624
  scrollbarEl: l,
2624
2625
  swiper: o
2625
2626
  } = t;
2626
- Re(e) && s && n && (o.params.navigation.nextEl = s, o.originalParams.navigation.nextEl = s, o.params.navigation.prevEl = n, o.originalParams.navigation.prevEl = n), ke(e) && r && (o.params.pagination.el = r, o.originalParams.pagination.el = r), je(e) && l && (o.params.scrollbar.el = l, o.originalParams.scrollbar.el = l), o.init(i);
2627
+ He(e) && s && n && (o.params.navigation.nextEl = s, o.originalParams.navigation.nextEl = s, o.params.navigation.prevEl = n, o.originalParams.navigation.prevEl = n), je(e) && r && (o.params.pagination.el = r, o.originalParams.pagination.el = r), We(e) && l && (o.params.scrollbar.el = l, o.originalParams.scrollbar.el = l), o.init(i);
2627
2628
  }
2628
- function Ei(t, e, i, s, n) {
2629
+ function Mi(t, e, i, s, n) {
2629
2630
  const r = [];
2630
2631
  if (!e) return r;
2631
2632
  const l = (a) => {
@@ -2635,7 +2636,7 @@ function Ei(t, e, i, s, n) {
2635
2636
  const a = s.map(n), u = i.map(n);
2636
2637
  a.join("") !== u.join("") && l("children"), s.length !== i.length && l("children");
2637
2638
  }
2638
- return $e.filter((a) => a[0] === "_").map((a) => a.replace(/_/, "")).forEach((a) => {
2639
+ return ke.filter((a) => a[0] === "_").map((a) => a.replace(/_/, "")).forEach((a) => {
2639
2640
  if (a in t && a in e)
2640
2641
  if (Y(t[a]) && Y(e[a])) {
2641
2642
  const u = Object.keys(t[a]), d = Object.keys(e[a]);
@@ -2647,7 +2648,7 @@ function Ei(t, e, i, s, n) {
2647
2648
  } else t[a] !== e[a] && l(a);
2648
2649
  }), r;
2649
2650
  }
2650
- const Pi = (t) => {
2651
+ const Ci = (t) => {
2651
2652
  !t || t.destroyed || !t.params.virtual || t.params.virtual && !t.params.virtual.enabled || (t.updateSlides(), t.updateProgress(), t.updateSlidesClasses(), t.parallax && t.params.parallax && t.params.parallax.enabled && t.parallax.setTranslate());
2652
2653
  };
2653
2654
  function le() {
@@ -2660,16 +2661,16 @@ function le() {
2660
2661
  return t;
2661
2662
  }, le.apply(this, arguments);
2662
2663
  }
2663
- function We(t) {
2664
+ function Ye(t) {
2664
2665
  return t.type && t.type.displayName && t.type.displayName.includes("SwiperSlide");
2665
2666
  }
2666
- function qe(t) {
2667
+ function Xe(t) {
2667
2668
  const e = [];
2668
2669
  return G.Children.toArray(t).forEach((i) => {
2669
- We(i) ? e.push(i) : i.props && i.props.children && qe(i.props.children).forEach((s) => e.push(s));
2670
+ Ye(i) ? e.push(i) : i.props && i.props.children && Xe(i.props.children).forEach((s) => e.push(s));
2670
2671
  }), e;
2671
2672
  }
2672
- function Mi(t) {
2673
+ function Ii(t) {
2673
2674
  const e = [], i = {
2674
2675
  "container-start": [],
2675
2676
  "container-end": [],
@@ -2677,12 +2678,12 @@ function Mi(t) {
2677
2678
  "wrapper-end": []
2678
2679
  };
2679
2680
  return G.Children.toArray(t).forEach((s) => {
2680
- if (We(s))
2681
+ if (Ye(s))
2681
2682
  e.push(s);
2682
2683
  else if (s.props && s.props.slot && i[s.props.slot])
2683
2684
  i[s.props.slot].push(s);
2684
2685
  else if (s.props && s.props.children) {
2685
- const n = qe(s.props.children);
2686
+ const n = Xe(s.props.children);
2686
2687
  n.length > 0 ? n.forEach((r) => e.push(r)) : i["container-end"].push(s);
2687
2688
  } else
2688
2689
  i["container-end"].push(s);
@@ -2691,7 +2692,7 @@ function Mi(t) {
2691
2692
  slots: i
2692
2693
  };
2693
2694
  }
2694
- function Ci(t, e, i) {
2695
+ function Li(t, e, i) {
2695
2696
  if (!i) return null;
2696
2697
  const s = (d) => {
2697
2698
  let c = d;
@@ -2712,10 +2713,10 @@ function Ci(t, e, i) {
2712
2713
  key: d.props.virtualIndex || d.key || `slide-${c}`
2713
2714
  }));
2714
2715
  }
2715
- function Z(t, e) {
2716
- return typeof window > "u" ? he(t, e) : Ke(t, e);
2716
+ function Q(t, e) {
2717
+ return typeof window > "u" ? he(t, e) : Je(t, e);
2717
2718
  }
2718
- const _e = /* @__PURE__ */ ze(null), Ye = /* @__PURE__ */ ze(null), Ii = () => Ze(Ye), Xe = /* @__PURE__ */ Te(function(t, e) {
2719
+ const ze = /* @__PURE__ */ De(null), Ue = /* @__PURE__ */ De(null), Oi = () => Qe(Ue), Ke = /* @__PURE__ */ Te(function(t, e) {
2719
2720
  let {
2720
2721
  className: i,
2721
2722
  tag: s = "div",
@@ -2724,15 +2725,15 @@ const _e = /* @__PURE__ */ ze(null), Ye = /* @__PURE__ */ ze(null), Ii = () => Z
2724
2725
  onSwiper: l,
2725
2726
  ...o
2726
2727
  } = t === void 0 ? {} : t, a = !1;
2727
- const [u, d] = X("swiper"), [c, p] = X(null), [f, h] = X(!1), g = F(!1), T = F(null), m = F(null), b = F(null), v = F(null), S = F(null), y = F(null), I = F(null), A = F(null), {
2728
+ const [u, d] = K("swiper"), [c, p] = K(null), [f, h] = K(!1), v = R(!1), y = R(null), m = R(null), S = R(null), g = R(null), T = R(null), b = R(null), I = R(null), A = R(null), {
2728
2729
  params: C,
2729
2730
  passedParams: x,
2730
2731
  rest: w,
2731
2732
  events: E
2732
- } = bi(o), {
2733
+ } = Ei(o), {
2733
2734
  slides: M,
2734
2735
  slots: P
2735
- } = Mi(r), O = () => {
2736
+ } = Ii(r), O = () => {
2736
2737
  h(!f);
2737
2738
  };
2738
2739
  Object.assign(C.on, {
@@ -2745,7 +2746,7 @@ const _e = /* @__PURE__ */ ze(null), Ye = /* @__PURE__ */ ze(null), Ii = () => Z
2745
2746
  const _ = {
2746
2747
  ...C
2747
2748
  };
2748
- if (delete _.wrapperClass, m.current = new be(_), m.current.virtual && m.current.params.virtual.enabled) {
2749
+ if (delete _.wrapperClass, m.current = new ye(_), m.current.virtual && m.current.params.virtual.enabled) {
2749
2750
  m.current.virtual.slides = M;
2750
2751
  const z = {
2751
2752
  cache: !1,
@@ -2753,15 +2754,15 @@ const _e = /* @__PURE__ */ ze(null), Ye = /* @__PURE__ */ ze(null), Ii = () => Z
2753
2754
  renderExternal: p,
2754
2755
  renderExternalUpdate: !1
2755
2756
  };
2756
- U(m.current.params.virtual, z), U(m.current.originalParams.virtual, z);
2757
+ Z(m.current.params.virtual, z), Z(m.current.originalParams.virtual, z);
2757
2758
  }
2758
2759
  };
2759
- T.current || D(), m.current && m.current.on("_beforeBreakpoint", O);
2760
- const B = () => {
2760
+ y.current || D(), m.current && m.current.on("_beforeBreakpoint", O);
2761
+ const $ = () => {
2761
2762
  a || !E || !m.current || Object.keys(E).forEach((_) => {
2762
2763
  m.current.on(_, E[_]);
2763
2764
  });
2764
- }, K = () => {
2765
+ }, J = () => {
2765
2766
  !E || !m.current || Object.keys(E).forEach((_) => {
2766
2767
  m.current.off(_, E[_]);
2767
2768
  });
@@ -2769,66 +2770,66 @@ const _e = /* @__PURE__ */ ze(null), Ye = /* @__PURE__ */ ze(null), Ii = () => Z
2769
2770
  he(() => () => {
2770
2771
  m.current && m.current.off("_beforeBreakpoint", O);
2771
2772
  }), he(() => {
2772
- !g.current && m.current && (m.current.emitSlidesClasses(), g.current = !0);
2773
- }), Z(() => {
2774
- if (e && (e.current = T.current), !!T.current)
2775
- return m.current.destroyed && D(), xi({
2776
- el: T.current,
2777
- nextEl: S.current,
2778
- prevEl: y.current,
2773
+ !v.current && m.current && (m.current.emitSlidesClasses(), v.current = !0);
2774
+ }), Q(() => {
2775
+ if (e && (e.current = y.current), !!y.current)
2776
+ return m.current.destroyed && D(), Pi({
2777
+ el: y.current,
2778
+ nextEl: T.current,
2779
+ prevEl: b.current,
2779
2780
  paginationEl: I.current,
2780
2781
  scrollbarEl: A.current,
2781
2782
  swiper: m.current
2782
2783
  }, C), l && !m.current.destroyed && l(m.current), () => {
2783
2784
  m.current && !m.current.destroyed && m.current.destroy(!0, !1);
2784
2785
  };
2785
- }, []), Z(() => {
2786
- B();
2787
- const _ = Ei(x, b.current, M, v.current, (z) => z.key);
2788
- return b.current = x, v.current = M, _.length && m.current && !m.current.destroyed && yi({
2786
+ }, []), Q(() => {
2787
+ $();
2788
+ const _ = Mi(x, S.current, M, g.current, (z) => z.key);
2789
+ return S.current = x, g.current = M, _.length && m.current && !m.current.destroyed && xi({
2789
2790
  swiper: m.current,
2790
2791
  slides: M,
2791
2792
  passedParams: x,
2792
2793
  changedParams: _,
2793
- nextEl: S.current,
2794
- prevEl: y.current,
2794
+ nextEl: T.current,
2795
+ prevEl: b.current,
2795
2796
  scrollbarEl: A.current,
2796
2797
  paginationEl: I.current
2797
2798
  }), () => {
2798
- K();
2799
+ J();
2799
2800
  };
2800
- }), Z(() => {
2801
- Pi(m.current);
2801
+ }), Q(() => {
2802
+ Ci(m.current);
2802
2803
  }, [c]);
2803
2804
  function L() {
2804
- return C.virtual ? Ci(m.current, M, c) : M.map((_, z) => /* @__PURE__ */ G.cloneElement(_, {
2805
+ return C.virtual ? Li(m.current, M, c) : M.map((_, z) => /* @__PURE__ */ G.cloneElement(_, {
2805
2806
  swiper: m.current,
2806
2807
  swiperSlideIndex: z
2807
2808
  }));
2808
2809
  }
2809
2810
  return /* @__PURE__ */ G.createElement(s, le({
2810
- ref: T,
2811
- className: He(`${u}${i ? ` ${i}` : ""}`)
2812
- }, w), /* @__PURE__ */ G.createElement(Ye.Provider, {
2811
+ ref: y,
2812
+ className: qe(`${u}${i ? ` ${i}` : ""}`)
2813
+ }, w), /* @__PURE__ */ G.createElement(Ue.Provider, {
2813
2814
  value: m.current
2814
2815
  }, P["container-start"], /* @__PURE__ */ G.createElement(n, {
2815
- className: Ti(C.wrapperClass)
2816
- }, P["wrapper-start"], L(), P["wrapper-end"]), Re(C) && /* @__PURE__ */ G.createElement(G.Fragment, null, /* @__PURE__ */ G.createElement("div", {
2817
- ref: y,
2816
+ className: yi(C.wrapperClass)
2817
+ }, P["wrapper-start"], L(), P["wrapper-end"]), He(C) && /* @__PURE__ */ G.createElement(G.Fragment, null, /* @__PURE__ */ G.createElement("div", {
2818
+ ref: b,
2818
2819
  className: "swiper-button-prev"
2819
2820
  }), /* @__PURE__ */ G.createElement("div", {
2820
- ref: S,
2821
+ ref: T,
2821
2822
  className: "swiper-button-next"
2822
- })), je(C) && /* @__PURE__ */ G.createElement("div", {
2823
+ })), We(C) && /* @__PURE__ */ G.createElement("div", {
2823
2824
  ref: A,
2824
2825
  className: "swiper-scrollbar"
2825
- }), ke(C) && /* @__PURE__ */ G.createElement("div", {
2826
+ }), je(C) && /* @__PURE__ */ G.createElement("div", {
2826
2827
  ref: I,
2827
2828
  className: "swiper-pagination"
2828
2829
  }), P["container-end"]));
2829
2830
  });
2830
- Xe.displayName = "Swiper";
2831
- const Ue = /* @__PURE__ */ Te(function(t, e) {
2831
+ Ke.displayName = "Swiper";
2832
+ const Ze = /* @__PURE__ */ Te(function(t, e) {
2832
2833
  let {
2833
2834
  tag: i = "div",
2834
2835
  children: s,
@@ -2840,21 +2841,21 @@ const Ue = /* @__PURE__ */ Te(function(t, e) {
2840
2841
  swiperSlideIndex: u,
2841
2842
  ...d
2842
2843
  } = t === void 0 ? {} : t;
2843
- const c = F(null), [p, f] = X("swiper-slide"), [h, g] = X(!1);
2844
- function T(S, y, I) {
2845
- y === c.current && f(I);
2844
+ const c = R(null), [p, f] = K("swiper-slide"), [h, v] = K(!1);
2845
+ function y(T, b, I) {
2846
+ b === c.current && f(I);
2846
2847
  }
2847
- Z(() => {
2848
+ Q(() => {
2848
2849
  if (typeof u < "u" && (c.current.swiperSlideIndex = u), e && (e.current = c.current), !(!c.current || !r)) {
2849
2850
  if (r.destroyed) {
2850
2851
  p !== "swiper-slide" && f("swiper-slide");
2851
2852
  return;
2852
2853
  }
2853
- return r.on("_slideClass", T), () => {
2854
- r && r.off("_slideClass", T);
2854
+ return r.on("_slideClass", y), () => {
2855
+ r && r.off("_slideClass", y);
2855
2856
  };
2856
2857
  }
2857
- }), Z(() => {
2858
+ }), Q(() => {
2858
2859
  r && c.current && !r.destroyed && f(r.getSlideClasses(c.current));
2859
2860
  }, [r]);
2860
2861
  const m = {
@@ -2862,45 +2863,48 @@ const Ue = /* @__PURE__ */ Te(function(t, e) {
2862
2863
  isVisible: p.indexOf("swiper-slide-visible") >= 0,
2863
2864
  isPrev: p.indexOf("swiper-slide-prev") >= 0,
2864
2865
  isNext: p.indexOf("swiper-slide-next") >= 0
2865
- }, b = () => typeof s == "function" ? s(m) : s, v = () => {
2866
- g(!0);
2866
+ }, S = () => typeof s == "function" ? s(m) : s, g = () => {
2867
+ v(!0);
2867
2868
  };
2868
2869
  return /* @__PURE__ */ G.createElement(i, le({
2869
2870
  ref: c,
2870
- className: He(`${p}${n ? ` ${n}` : ""}`),
2871
+ className: qe(`${p}${n ? ` ${n}` : ""}`),
2871
2872
  "data-swiper-slide-index": a,
2872
- onLoad: v
2873
- }, d), l && /* @__PURE__ */ G.createElement(_e.Provider, {
2873
+ onLoad: g
2874
+ }, d), l && /* @__PURE__ */ G.createElement(ze.Provider, {
2874
2875
  value: m
2875
2876
  }, /* @__PURE__ */ G.createElement("div", {
2876
2877
  className: "swiper-zoom-container",
2877
2878
  "data-swiper-zoom": typeof l == "number" ? l : void 0
2878
- }, b(), o && !h && /* @__PURE__ */ G.createElement("div", {
2879
+ }, S(), o && !h && /* @__PURE__ */ G.createElement("div", {
2879
2880
  className: "swiper-lazy-preloader"
2880
- }))), !l && /* @__PURE__ */ G.createElement(_e.Provider, {
2881
+ }))), !l && /* @__PURE__ */ G.createElement(ze.Provider, {
2881
2882
  value: m
2882
- }, b(), o && !h && /* @__PURE__ */ G.createElement("div", {
2883
+ }, S(), o && !h && /* @__PURE__ */ G.createElement("div", {
2883
2884
  className: "swiper-lazy-preloader"
2884
2885
  })));
2885
2886
  });
2886
- Ue.displayName = "SwiperSlide";
2887
- const Li = "_swiper_1ji90_3", Oi = "_slide_1ji90_9", _i = "_link_1ji90_16", zi = "_image_1ji90_22", Ai = "_navigation_1ji90_29", Di = "_pagination_1ji90_39", Gi = "_slides_1ji90_54", Ni = "_separator_1ji90_60", Vi = "_progress_1ji90_67", $ = {
2888
- swiper: Li,
2889
- slide: Oi,
2890
- link: _i,
2891
- image: zi,
2892
- navigation: Ai,
2893
- pagination: Di,
2894
- slides: Gi,
2895
- separator: Ni,
2896
- progress: Vi,
2897
- "progress-bar": "_progress-bar_1ji90_75"
2898
- }, Bi = 15e3, Fi = Ae(() => {
2899
- const t = Ii(), e = re(() => {
2887
+ Ze.displayName = "SwiperSlide";
2888
+ const _i = "_swiper_1f4c7_3", zi = "_slide_1f4c7_9", Ai = "_link_1f4c7_16", Di = "_image_1f4c7_22", Gi = "_navigation_1f4c7_29", Ni = "_pagination_1f4c7_39", Vi = "_slides_1f4c7_58", Bi = "_separator_1f4c7_64", Fi = "_progress_1f4c7_71", $i = "_descriptions_1f4c7_88", N = {
2889
+ swiper: _i,
2890
+ slide: zi,
2891
+ link: Ai,
2892
+ image: Di,
2893
+ navigation: Gi,
2894
+ pagination: Ni,
2895
+ "is-full": "_is-full_1f4c7_53",
2896
+ slides: Vi,
2897
+ separator: Bi,
2898
+ progress: Fi,
2899
+ "progress-bar-bottom": "_progress-bar-bottom_1f4c7_78",
2900
+ "progress-bar": "_progress-bar_1f4c7_78",
2901
+ descriptions: $i
2902
+ }, Ri = 15e3, ki = Ge(() => {
2903
+ const t = Oi(), e = re(() => {
2900
2904
  t.slideNext();
2901
2905
  }, [t]), i = re(() => {
2902
2906
  t.slidePrev();
2903
- }, [t]), s = Je(
2907
+ }, [t]), s = et(
2904
2908
  () => [
2905
2909
  {
2906
2910
  isIconButton: !0,
@@ -2917,107 +2921,140 @@ const Li = "_swiper_1ji90_3", Oi = "_slide_1ji90_9", _i = "_link_1ji90_16", zi =
2917
2921
  ],
2918
2922
  [i, e]
2919
2923
  );
2920
- return /* @__PURE__ */ R(Qe, { buttons: s });
2921
- }), $i = Ae(
2922
- Te((t, e) => /* @__PURE__ */ R("div", { className: $.progress, children: /* @__PURE__ */ R(
2924
+ return /* @__PURE__ */ V(tt, { buttons: s });
2925
+ }), Ae = Ge(
2926
+ Te((t, e) => /* @__PURE__ */ V(
2923
2927
  "div",
2924
2928
  {
2925
- ref: e,
2926
- className: $["progress-bar"],
2927
- "data-testid": "progress-bar"
2929
+ "data-testid": "progress-bar-wrapper",
2930
+ className: U(N.progress, t == null ? void 0 : t.className),
2931
+ children: /* @__PURE__ */ V(
2932
+ "div",
2933
+ {
2934
+ ref: e,
2935
+ className: N["progress-bar"],
2936
+ "data-testid": "progress-bar"
2937
+ }
2938
+ )
2928
2939
  }
2929
- ) }))
2940
+ ))
2930
2941
  );
2931
- function qi({
2942
+ function Ui({
2932
2943
  images: t,
2933
2944
  swiperClassName: e,
2934
2945
  slideClassName: i,
2935
2946
  imageClassName: s,
2936
- delay: n = Bi,
2937
- ...r
2947
+ progressBarPosition: n = "top",
2948
+ isFullPaginationWidth: r = !1,
2949
+ leftDescription: l,
2950
+ rightDescription: o,
2951
+ delay: a = Ri,
2952
+ ...u
2938
2953
  }) {
2939
- const l = F(null), o = F(null), [a, u] = X(1), d = `0${a}`, c = `0${(t == null ? void 0 : t.length) ?? 0}`, p = re(() => {
2940
- if (o.current) {
2941
- const h = o.current.swiper;
2942
- u(h.realIndex + 1);
2954
+ const d = R(null), c = R(null), [p, f] = K(1), h = `0${p}`, v = `0${(t == null ? void 0 : t.length) ?? 0}`, y = re(() => {
2955
+ if (c.current) {
2956
+ const S = c.current.swiper;
2957
+ f(S.realIndex + 1);
2943
2958
  }
2944
- }, []), f = re(
2945
- (h, g) => {
2946
- if (l.current) {
2947
- const T = h.params.autoplay.delay, m = g / T * 100;
2948
- l.current.style.width = `${100 - m}%`;
2959
+ }, []), m = re(
2960
+ (S, g) => {
2961
+ if (d.current) {
2962
+ const T = S.params.autoplay.delay, b = g / T * 100;
2963
+ d.current.style.width = `${100 - b}%`;
2949
2964
  }
2950
2965
  },
2951
2966
  []
2952
2967
  );
2953
- return /* @__PURE__ */ Q(
2954
- Xe,
2968
+ return /* @__PURE__ */ X(
2969
+ Ke,
2955
2970
  {
2956
- ...r,
2957
- ref: o,
2958
- className: ee($.swiper, e),
2971
+ ...u,
2972
+ ref: c,
2973
+ className: U(N.swiper, e),
2959
2974
  loop: !0,
2960
2975
  autoplay: {
2961
- delay: n,
2976
+ delay: a,
2962
2977
  disableOnInteraction: !1
2963
2978
  },
2964
2979
  fadeEffect: {
2965
2980
  crossFade: !0
2966
2981
  },
2967
- modules: [dt],
2968
- onAutoplayTimeLeft: f,
2969
- onSlideChange: p,
2982
+ modules: [ut],
2983
+ onAutoplayTimeLeft: m,
2984
+ onSlideChange: y,
2970
2985
  children: [
2971
- /* @__PURE__ */ Q("div", { className: $.navigation, slot: "container-start", children: [
2972
- /* @__PURE__ */ Q("div", { className: $.pagination, children: [
2973
- /* @__PURE__ */ Q("h2", { className: $.slides, children: [
2974
- d,
2975
- /* @__PURE__ */ R("span", { className: $.separator }),
2976
- c
2977
- ] }),
2978
- /* @__PURE__ */ R(Fi, {})
2979
- ] }),
2980
- /* @__PURE__ */ R($i, { ref: l })
2986
+ /* @__PURE__ */ X("div", { className: N.navigation, slot: "container-start", children: [
2987
+ /* @__PURE__ */ X(
2988
+ "div",
2989
+ {
2990
+ "data-testid": "pagination",
2991
+ className: U(N.pagination, {
2992
+ [N["is-full"]]: r
2993
+ }),
2994
+ children: [
2995
+ /* @__PURE__ */ X("h2", { className: N.slides, children: [
2996
+ h,
2997
+ /* @__PURE__ */ V("span", { className: N.separator }),
2998
+ v
2999
+ ] }),
3000
+ /* @__PURE__ */ V(ki, {})
3001
+ ]
3002
+ }
3003
+ ),
3004
+ n === xe.TOP && /* @__PURE__ */ V(Ae, { ref: d })
2981
3005
  ] }),
2982
- t == null ? void 0 : t.map((h) => {
2983
- if (!h) return null;
2984
- const g = /* @__PURE__ */ R(
3006
+ t == null ? void 0 : t.map((S) => {
3007
+ if (!S) return null;
3008
+ const g = /* @__PURE__ */ V(
2985
3009
  "a",
2986
3010
  {
2987
- className: $.link,
2988
- href: h.url,
3011
+ className: N.link,
3012
+ href: S.url,
2989
3013
  rel: "noopener noreferrer",
2990
3014
  target: "_blank",
2991
- children: /* @__PURE__ */ R(
2992
- xe,
3015
+ children: /* @__PURE__ */ V(
3016
+ Ee,
2993
3017
  {
2994
- className: ee($.image, s),
2995
- src: h.image
3018
+ className: U(N.image, s),
3019
+ src: S.image
2996
3020
  }
2997
3021
  )
2998
3022
  }
2999
3023
  );
3000
- return /* @__PURE__ */ R(
3001
- Ue,
3024
+ return /* @__PURE__ */ V(
3025
+ Ze,
3002
3026
  {
3003
- className: ee($.slide, i),
3004
- children: h.url ? g : /* @__PURE__ */ R(
3005
- xe,
3027
+ className: U(N.slide, i),
3028
+ children: S.url ? g : /* @__PURE__ */ V(
3029
+ Ee,
3006
3030
  {
3007
- className: ee($.image, s),
3008
- src: h.image,
3009
- desktopImage: h.imageDesktop,
3010
- mobileImage: h.imageMobile
3031
+ className: U(N.image, s),
3032
+ src: S.image,
3033
+ desktopImage: S.imageDesktop,
3034
+ mobileImage: S.imageMobile
3011
3035
  }
3012
3036
  )
3013
3037
  },
3014
- h.id
3038
+ S.id
3015
3039
  );
3016
- })
3040
+ }),
3041
+ n === xe.BOTTOM && /* @__PURE__ */ X("div", { children: [
3042
+ /* @__PURE__ */ V(
3043
+ Ae,
3044
+ {
3045
+ ref: d,
3046
+ className: N["progress-bar-bottom"]
3047
+ }
3048
+ ),
3049
+ /* @__PURE__ */ X("div", { className: N.descriptions, children: [
3050
+ l && /* @__PURE__ */ V("div", { "data-testid": "slider-left-description", children: l }),
3051
+ o && /* @__PURE__ */ V("div", { "data-testid": "slider-right-description", children: o })
3052
+ ] })
3053
+ ] })
3017
3054
  ]
3018
3055
  }
3019
3056
  );
3020
3057
  }
3021
3058
  export {
3022
- qi as default
3059
+ Ui as default
3023
3060
  };