md-components-mdigial-azamat 0.0.36 → 0.0.38

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/AllComponents.js +6 -5
  2. package/dist/AnimatedSwiper/index.js +2 -2
  3. package/dist/Header/Header.js +31 -6
  4. package/dist/Header/components/HeaderMenuMobile/HeaderMenuMobile.js +58 -13
  5. package/dist/Header/components/HeaderMobile/HeaderMobile.js +71 -9
  6. package/dist/Header/components/HeaderMobile/index.js +1 -1
  7. package/dist/Header/components/HeaderSearch/HeaderSearch.js +157 -11
  8. package/dist/Header/components/HeaderSearch/index.js +2 -2
  9. package/dist/Header/components/HeaderTabsMobile/HeaderTabsMobile.js +2 -2
  10. package/dist/Header/components/HeaderWeb/HeaderWeb.js +9 -9
  11. package/dist/Header/components/SelectLanguage/SelectLanguage.js +1 -1
  12. package/dist/Header/components/TabsOutlined/TabsOutlined.js +2 -2
  13. package/dist/Header/index.js +2 -2
  14. package/dist/InfoBannerList/InfoBannerList.js +1 -1
  15. package/dist/InfoBannerList/index.js +1 -1
  16. package/dist/InstructionList/InstructionList.js +1 -1
  17. package/dist/InstructionList/components/InstructionCard/InstructionCard.js +8 -8
  18. package/dist/InstructionList/components/InstructionCard/index.js +1 -1
  19. package/dist/InstructionList/index.js +1 -1
  20. package/dist/PageViewer/PageViewer.js +3 -4
  21. package/dist/PageViewer/renderComponents.js +1 -1
  22. package/dist/PreviewList/PreviewList.js +1 -1
  23. package/dist/PreviewList/components/PreviewCard/PreviewCard.js +9 -9
  24. package/dist/PreviewList/components/PreviewCard/index.js +1 -1
  25. package/dist/PreviewList/index.js +1 -1
  26. package/dist/PromoPoster/PromoPoster.js +1 -1
  27. package/dist/RenderAllComponents/RenderAllComponents.js +1 -1
  28. package/dist/StandartTable/components/CardMarkedRow/index.js +10 -10
  29. package/dist/StandartTable/index.js +1 -1
  30. package/dist/SwiperList/SwiperList.js +3 -3
  31. package/dist/SwiperList/index.js +1 -1
  32. package/dist/TasksBanner/TasksBanner.js +3 -3
  33. package/dist/TasksBanner/index.js +2 -2
  34. package/dist/TasksBannerList/TasksBannerList.js +1 -1
  35. package/dist/TasksBannerList/index.js +1 -1
  36. package/dist/{componentsMap-d8bad886.js → componentsMap-1d79e069.js} +23 -22
  37. package/dist/header-4f7ca247.js +107 -0
  38. package/dist/{index-66837af1.js → index-9c3ff10b.js} +55 -55
  39. package/dist/index-a302b5ed.js +787 -0
  40. package/dist/{languages-list-8419e560.js → languages-list-87ab3324.js} +2 -2
  41. package/dist/main.js +78 -81
  42. package/dist/{mousewheel-865ae601.js → mousewheel-f9c6bcd7.js} +1 -1
  43. package/dist/{swiper-react-90953710.js → swiper-react-39919ab6.js} +251 -251
  44. package/package.json +1 -1
  45. package/dist/index-3a534581.js +0 -261
  46. package/dist/index-4f8399c3.js +0 -925
@@ -292,8 +292,140 @@ function we(t, e) {
292
292
  createHTML: (i) => i
293
293
  }).createHTML(e) : t.innerHTML = e;
294
294
  }
295
+ function tt(t, e, i, s) {
296
+ return t.params.createElements && Object.keys(s).forEach((n) => {
297
+ if (!i[n] && i.auto === !0) {
298
+ let r = R(t.el, `.${s[n]}`)[0];
299
+ r || (r = te("div", s[n]), r.className = s[n], t.el.append(r)), i[n] = r, e[n] = r;
300
+ }
301
+ }), i;
302
+ }
303
+ function Ei(t) {
304
+ let {
305
+ swiper: e,
306
+ extendParams: i,
307
+ on: s,
308
+ emit: n
309
+ } = t;
310
+ i({
311
+ navigation: {
312
+ nextEl: null,
313
+ prevEl: null,
314
+ hideOnClick: !1,
315
+ disabledClass: "swiper-button-disabled",
316
+ hiddenClass: "swiper-button-hidden",
317
+ lockClass: "swiper-button-lock",
318
+ navigationDisabledClass: "swiper-navigation-disabled"
319
+ }
320
+ }), e.navigation = {
321
+ nextEl: null,
322
+ prevEl: null
323
+ };
324
+ function r(u) {
325
+ let g;
326
+ return u && typeof u == "string" && e.isElement && (g = e.el.querySelector(u) || e.hostEl.querySelector(u), g) ? g : (u && (typeof u == "string" && (g = [...document.querySelectorAll(u)]), e.params.uniqueNavElements && typeof u == "string" && g && g.length > 1 && e.el.querySelectorAll(u).length === 1 ? g = e.el.querySelector(u) : g && g.length === 1 && (g = g[0])), u && !g ? u : g);
327
+ }
328
+ function l(u, g) {
329
+ const S = e.params.navigation;
330
+ u = $(u), u.forEach((p) => {
331
+ p && (p.classList[g ? "add" : "remove"](...S.disabledClass.split(" ")), p.tagName === "BUTTON" && (p.disabled = g), e.params.watchOverflow && e.enabled && p.classList[e.isLocked ? "add" : "remove"](S.lockClass));
332
+ });
333
+ }
334
+ function a() {
335
+ const {
336
+ nextEl: u,
337
+ prevEl: g
338
+ } = e.navigation;
339
+ if (e.params.loop) {
340
+ l(g, !1), l(u, !1);
341
+ return;
342
+ }
343
+ l(g, e.isBeginning && !e.params.rewind), l(u, e.isEnd && !e.params.rewind);
344
+ }
345
+ function o(u) {
346
+ u.preventDefault(), !(e.isBeginning && !e.params.loop && !e.params.rewind) && (e.slidePrev(), n("navigationPrev"));
347
+ }
348
+ function d(u) {
349
+ u.preventDefault(), !(e.isEnd && !e.params.loop && !e.params.rewind) && (e.slideNext(), n("navigationNext"));
350
+ }
351
+ function c() {
352
+ const u = e.params.navigation;
353
+ if (e.params.navigation = tt(e, e.originalParams.navigation, e.params.navigation, {
354
+ nextEl: "swiper-button-next",
355
+ prevEl: "swiper-button-prev"
356
+ }), !(u.nextEl || u.prevEl))
357
+ return;
358
+ let g = r(u.nextEl), S = r(u.prevEl);
359
+ Object.assign(e.navigation, {
360
+ nextEl: g,
361
+ prevEl: S
362
+ }), g = $(g), S = $(S);
363
+ const p = (v, w) => {
364
+ v && v.addEventListener("click", w === "next" ? d : o), !e.enabled && v && v.classList.add(...u.lockClass.split(" "));
365
+ };
366
+ g.forEach((v) => p(v, "next")), S.forEach((v) => p(v, "prev"));
367
+ }
368
+ function f() {
369
+ let {
370
+ nextEl: u,
371
+ prevEl: g
372
+ } = e.navigation;
373
+ u = $(u), g = $(g);
374
+ const S = (p, v) => {
375
+ p.removeEventListener("click", v === "next" ? d : o), p.classList.remove(...e.params.navigation.disabledClass.split(" "));
376
+ };
377
+ u.forEach((p) => S(p, "next")), g.forEach((p) => S(p, "prev"));
378
+ }
379
+ s("init", () => {
380
+ e.params.navigation.enabled === !1 ? h() : (c(), a());
381
+ }), s("toEdge fromEdge lock unlock", () => {
382
+ a();
383
+ }), s("destroy", () => {
384
+ f();
385
+ }), s("enable disable", () => {
386
+ let {
387
+ nextEl: u,
388
+ prevEl: g
389
+ } = e.navigation;
390
+ if (u = $(u), g = $(g), e.enabled) {
391
+ a();
392
+ return;
393
+ }
394
+ [...u, ...g].filter((S) => !!S).forEach((S) => S.classList.add(e.params.navigation.lockClass));
395
+ }), s("click", (u, g) => {
396
+ let {
397
+ nextEl: S,
398
+ prevEl: p
399
+ } = e.navigation;
400
+ S = $(S), p = $(p);
401
+ const v = g.target;
402
+ let w = p.includes(v) || S.includes(v);
403
+ if (e.isElement && !w) {
404
+ const x = g.path || g.composedPath && g.composedPath();
405
+ x && (w = x.find((b) => S.includes(b) || p.includes(b)));
406
+ }
407
+ if (e.params.navigation.hideOnClick && !w) {
408
+ if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === v || e.pagination.el.contains(v)))
409
+ return;
410
+ let x;
411
+ S.length ? x = S[0].classList.contains(e.params.navigation.hiddenClass) : p.length && (x = p[0].classList.contains(e.params.navigation.hiddenClass)), n(x === !0 ? "navigationShow" : "navigationHide"), [...S, ...p].filter((b) => !!b).forEach((b) => b.classList.toggle(e.params.navigation.hiddenClass));
412
+ }
413
+ });
414
+ const m = () => {
415
+ e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")), c(), a();
416
+ }, h = () => {
417
+ e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")), f();
418
+ };
419
+ Object.assign(e.navigation, {
420
+ enable: m,
421
+ disable: h,
422
+ update: a,
423
+ init: c,
424
+ destroy: f
425
+ });
426
+ }
295
427
  let se;
296
- function tt() {
428
+ function it() {
297
429
  const t = D(), e = q();
298
430
  return {
299
431
  smoothScroll: e.documentElement && e.documentElement.style && "scrollBehavior" in e.documentElement.style,
@@ -301,10 +433,10 @@ function tt() {
301
433
  };
302
434
  }
303
435
  function Le() {
304
- return se || (se = tt()), se;
436
+ return se || (se = it()), se;
305
437
  }
306
438
  let re;
307
- function it(t) {
439
+ function st(t) {
308
440
  let {
309
441
  userAgent: e
310
442
  } = t === void 0 ? {} : t;
@@ -319,10 +451,10 @@ function it(t) {
319
451
  return !c && u && i.touch && g.indexOf(`${a}x${o}`) >= 0 && (c = r.match(/(Version)\/([\d.]+)/), c || (c = [0, 1, "13_0_0"]), u = !1), d && !h && (l.os = "android", l.android = !0), (c || m || f) && (l.os = "ios", l.ios = !0), l;
320
452
  }
321
453
  function Oe(t) {
322
- return t === void 0 && (t = {}), re || (re = it(t)), re;
454
+ return t === void 0 && (t = {}), re || (re = st(t)), re;
323
455
  }
324
456
  let ne;
325
- function st() {
457
+ function rt() {
326
458
  const t = D(), e = Oe();
327
459
  let i = !1;
328
460
  function s() {
@@ -345,9 +477,9 @@ function st() {
345
477
  };
346
478
  }
347
479
  function ze() {
348
- return ne || (ne = st()), ne;
480
+ return ne || (ne = rt()), ne;
349
481
  }
350
- function rt(t) {
482
+ function nt(t) {
351
483
  let {
352
484
  swiper: e,
353
485
  on: i,
@@ -390,7 +522,7 @@ function rt(t) {
390
522
  d(), n.removeEventListener("resize", a), n.removeEventListener("orientationchange", c);
391
523
  });
392
524
  }
393
- function nt(t) {
525
+ function at(t) {
394
526
  let {
395
527
  swiper: e,
396
528
  extendParams: i,
@@ -440,7 +572,7 @@ function nt(t) {
440
572
  observeSlideChildren: !1
441
573
  }), s("init", o), s("destroy", d);
442
574
  }
443
- var at = {
575
+ var lt = {
444
576
  on(t, e, i) {
445
577
  const s = this;
446
578
  if (!s.eventsListeners || s.destroyed || typeof e != "function")
@@ -500,7 +632,7 @@ var at = {
500
632
  }), t;
501
633
  }
502
634
  };
503
- function lt() {
635
+ function ot() {
504
636
  const t = this;
505
637
  let e, i;
506
638
  const s = t.el;
@@ -510,7 +642,7 @@ function lt() {
510
642
  size: t.isHorizontal() ? e : i
511
643
  }));
512
644
  }
513
- function ot() {
645
+ function dt() {
514
646
  const t = this;
515
647
  function e(T, y) {
516
648
  return parseFloat(T.getPropertyValue(t.getDirectionLabel(y)) || 0);
@@ -628,7 +760,7 @@ function ot() {
628
760
  f <= i.maxBackfaceHiddenSlides ? y || t.el.classList.add(T) : y && t.el.classList.remove(T);
629
761
  }
630
762
  }
631
- function dt(t) {
763
+ function ct(t) {
632
764
  const e = this, i = [], s = e.virtual && e.params.virtual.enabled;
633
765
  let n = 0, r;
634
766
  typeof t == "number" ? e.setTransition(t) : t === !0 && e.setTransition(e.params.speed);
@@ -654,7 +786,7 @@ function dt(t) {
654
786
  }
655
787
  (n || n === 0) && (e.wrapperEl.style.height = `${n}px`);
656
788
  }
657
- function ct() {
789
+ function ft() {
658
790
  const t = this, e = t.slides, i = t.isElement ? t.isHorizontal() ? t.wrapperEl.offsetLeft : t.wrapperEl.offsetTop : 0;
659
791
  for (let s = 0; s < e.length; s += 1)
660
792
  e[s].swiperSlideOffset = (t.isHorizontal() ? e[s].offsetLeft : e[s].offsetTop) - i - t.cssOverflowAdjustment();
@@ -662,7 +794,7 @@ function ct() {
662
794
  const Se = (t, e, i) => {
663
795
  e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
664
796
  };
665
- function ft(t) {
797
+ function ut(t) {
666
798
  t === void 0 && (t = this && this.translate || 0);
667
799
  const e = this, i = e.params, {
668
800
  slides: s,
@@ -684,7 +816,7 @@ function ft(t) {
684
816
  S && (e.visibleSlides.push(d), e.visibleSlidesIndexes.push(o)), Se(d, S, i.slideVisibleClass), Se(d, g, i.slideFullyVisibleClass), d.progress = n ? -f : f, d.originalProgress = n ? -m : m;
685
817
  }
686
818
  }
687
- function ut(t) {
819
+ function pt(t) {
688
820
  const e = this;
689
821
  if (typeof t > "u") {
690
822
  const c = e.rtlTranslate ? -1 : 1;
@@ -719,7 +851,7 @@ function ut(t) {
719
851
  const ae = (t, e, i) => {
720
852
  e && !t.classList.contains(i) ? t.classList.add(i) : !e && t.classList.contains(i) && t.classList.remove(i);
721
853
  };
722
- function pt() {
854
+ function mt() {
723
855
  const t = this, {
724
856
  slides: e,
725
857
  params: i,
@@ -782,7 +914,7 @@ const Z = (t, e) => {
782
914
  for (let l = Math.max(n - e, 0); l <= Math.min(r + e, i - 1); l += 1)
783
915
  l !== n && (l > r || l < n) && le(t, l);
784
916
  };
785
- function mt(t) {
917
+ function ht(t) {
786
918
  const {
787
919
  slidesGrid: e,
788
920
  params: i
@@ -792,7 +924,7 @@ function mt(t) {
792
924
  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);
793
925
  return i.normalizeSlideIndex && (n < 0 || typeof n > "u") && (n = 0), n;
794
926
  }
795
- function ht(t) {
927
+ function gt(t) {
796
928
  const e = this, i = e.rtlTranslate ? e.translate : -e.translate, {
797
929
  snapGrid: s,
798
930
  params: n,
@@ -805,7 +937,7 @@ function ht(t) {
805
937
  let u = h - e.virtual.slidesBefore;
806
938
  return u < 0 && (u = e.virtual.slides.length + u), u >= e.virtual.slides.length && (u -= e.virtual.slides.length), u;
807
939
  };
808
- if (typeof o > "u" && (o = mt(e)), s.indexOf(i) >= 0)
940
+ if (typeof o > "u" && (o = ht(e)), s.indexOf(i) >= 0)
809
941
  d = s.indexOf(i);
810
942
  else {
811
943
  const h = Math.min(n.slidesPerGroupSkip, o);
@@ -841,7 +973,7 @@ function ht(t) {
841
973
  activeIndex: o
842
974
  }), e.initialized && fe(e), e.emit("activeIndexChange"), e.emit("snapIndexChange"), (e.initialized || e.params.runCallbacksOnInit) && (l !== m && e.emit("realIndexChange"), e.emit("slideChange"));
843
975
  }
844
- function gt(t, e) {
976
+ function vt(t, e) {
845
977
  const i = this, s = i.params;
846
978
  let n = t.closest(`.${s.slideClass}, swiper-slide`);
847
979
  !n && i.isElement && e && e.length > 1 && e.includes(t) && [...e.slice(e.indexOf(t) + 1, e.length)].forEach((a) => {
@@ -863,18 +995,18 @@ function gt(t, e) {
863
995
  }
864
996
  s.slideToClickedSlide && i.clickedIndex !== void 0 && i.clickedIndex !== i.activeIndex && i.slideToClickedSlide();
865
997
  }
866
- var vt = {
867
- updateSize: lt,
868
- updateSlides: ot,
869
- updateAutoHeight: dt,
870
- updateSlidesOffset: ct,
871
- updateSlidesProgress: ft,
872
- updateProgress: ut,
873
- updateSlidesClasses: pt,
874
- updateActiveIndex: ht,
875
- updateClickedSlide: gt
998
+ var wt = {
999
+ updateSize: ot,
1000
+ updateSlides: dt,
1001
+ updateAutoHeight: ct,
1002
+ updateSlidesOffset: ft,
1003
+ updateSlidesProgress: ut,
1004
+ updateProgress: pt,
1005
+ updateSlidesClasses: mt,
1006
+ updateActiveIndex: gt,
1007
+ updateClickedSlide: vt
876
1008
  };
877
- function wt(t) {
1009
+ function St(t) {
878
1010
  t === void 0 && (t = this.isHorizontal() ? "x" : "y");
879
1011
  const e = this, {
880
1012
  params: i,
@@ -889,7 +1021,7 @@ function wt(t) {
889
1021
  let l = Xe(r, t);
890
1022
  return l += e.cssOverflowAdjustment(), s && (l = -l), l || 0;
891
1023
  }
892
- function St(t, e) {
1024
+ function Tt(t, e) {
893
1025
  const i = this, {
894
1026
  rtlTranslate: s,
895
1027
  params: n,
@@ -903,13 +1035,13 @@ function St(t, e) {
903
1035
  const f = i.maxTranslate() - i.minTranslate();
904
1036
  f === 0 ? c = 0 : c = (t - i.minTranslate()) / f, c !== l && i.updateProgress(t), i.emit("setTranslate", i.translate, e);
905
1037
  }
906
- function Tt() {
1038
+ function bt() {
907
1039
  return -this.snapGrid[0];
908
1040
  }
909
- function bt() {
1041
+ function xt() {
910
1042
  return -this.snapGrid[this.snapGrid.length - 1];
911
1043
  }
912
- function xt(t, e, i, s, n) {
1044
+ function Et(t, e, i, s, n) {
913
1045
  t === void 0 && (t = 0), e === void 0 && (e = this.params.speed), i === void 0 && (i = !0), s === void 0 && (s = !0);
914
1046
  const r = this, {
915
1047
  params: l,
@@ -941,14 +1073,14 @@ function xt(t, e, i, s, n) {
941
1073
  !r || r.destroyed || m.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onTranslateToWrapperTransitionEnd), r.onTranslateToWrapperTransitionEnd = null, delete r.onTranslateToWrapperTransitionEnd, r.animating = !1, i && r.emit("transitionEnd"));
942
1074
  }), r.wrapperEl.addEventListener("transitionend", r.onTranslateToWrapperTransitionEnd))), !0;
943
1075
  }
944
- var Et = {
945
- getTranslate: wt,
946
- setTranslate: St,
947
- minTranslate: Tt,
948
- maxTranslate: bt,
949
- translateTo: xt
1076
+ var yt = {
1077
+ getTranslate: St,
1078
+ setTranslate: Tt,
1079
+ minTranslate: bt,
1080
+ maxTranslate: xt,
1081
+ translateTo: Et
950
1082
  };
951
- function yt(t, e) {
1083
+ function Pt(t, e) {
952
1084
  const i = this;
953
1085
  i.params.cssMode || (i.wrapperEl.style.transitionDuration = `${t}ms`, i.wrapperEl.style.transitionDelay = t === 0 ? "0ms" : ""), i.emit("setTransition", t, e);
954
1086
  }
@@ -966,7 +1098,7 @@ function Ae(t) {
966
1098
  let a = s;
967
1099
  a || (r > l ? a = "next" : r < l ? a = "prev" : a = "reset"), e.emit(`transition${n}`), i && a === "reset" ? e.emit(`slideResetTransition${n}`) : i && r !== l && (e.emit(`slideChangeTransition${n}`), a === "next" ? e.emit(`slideNextTransition${n}`) : e.emit(`slidePrevTransition${n}`));
968
1100
  }
969
- function Pt(t, e) {
1101
+ function Ct(t, e) {
970
1102
  t === void 0 && (t = !0);
971
1103
  const i = this, {
972
1104
  params: s
@@ -978,7 +1110,7 @@ function Pt(t, e) {
978
1110
  step: "Start"
979
1111
  }));
980
1112
  }
981
- function Ct(t, e) {
1113
+ function Mt(t, e) {
982
1114
  t === void 0 && (t = !0);
983
1115
  const i = this, {
984
1116
  params: s
@@ -990,12 +1122,12 @@ function Ct(t, e) {
990
1122
  step: "End"
991
1123
  }));
992
1124
  }
993
- var Mt = {
994
- setTransition: yt,
995
- transitionStart: Pt,
996
- transitionEnd: Ct
1125
+ var It = {
1126
+ setTransition: Pt,
1127
+ transitionStart: Ct,
1128
+ transitionEnd: Mt
997
1129
  };
998
- function It(t, e, i, s, n) {
1130
+ function Lt(t, e, i, s, n) {
999
1131
  t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
1000
1132
  const r = this;
1001
1133
  let l = t;
@@ -1057,7 +1189,7 @@ function It(t, e, i, s, n) {
1057
1189
  !r || r.destroyed || P.target === this && (r.wrapperEl.removeEventListener("transitionend", r.onSlideToWrapperTransitionEnd), r.onSlideToWrapperTransitionEnd = null, delete r.onSlideToWrapperTransitionEnd, r.transitionEnd(i, v));
1058
1190
  }), r.wrapperEl.addEventListener("transitionend", r.onSlideToWrapperTransitionEnd)), !0;
1059
1191
  }
1060
- function Lt(t, e, i, s) {
1192
+ function Ot(t, e, i, s) {
1061
1193
  t === void 0 && (t = 0), i === void 0 && (i = !0), typeof t == "string" && (t = parseInt(t, 10));
1062
1194
  const n = this;
1063
1195
  if (n.destroyed)
@@ -1100,7 +1232,7 @@ function Lt(t, e, i, s) {
1100
1232
  n.slideTo(l, e, i, s);
1101
1233
  }), n;
1102
1234
  }
1103
- function Ot(t, e, i) {
1235
+ function zt(t, e, i) {
1104
1236
  e === void 0 && (e = !0);
1105
1237
  const s = this, {
1106
1238
  enabled: n,
@@ -1125,7 +1257,7 @@ function Ot(t, e, i) {
1125
1257
  }
1126
1258
  return r.rewind && s.isEnd ? s.slideTo(0, t, e, i) : s.slideTo(s.activeIndex + o, t, e, i);
1127
1259
  }
1128
- function zt(t, e, i) {
1260
+ function At(t, e, i) {
1129
1261
  e === void 0 && (e = !0);
1130
1262
  const s = this, {
1131
1263
  params: n,
@@ -1168,13 +1300,13 @@ function zt(t, e, i) {
1168
1300
  }), !0;
1169
1301
  return s.slideTo(p, t, e, i);
1170
1302
  }
1171
- function At(t, e, i) {
1303
+ function _t(t, e, i) {
1172
1304
  e === void 0 && (e = !0);
1173
1305
  const s = this;
1174
1306
  if (!s.destroyed)
1175
1307
  return typeof t > "u" && (t = s.params.speed), s.slideTo(s.activeIndex, t, e, i);
1176
1308
  }
1177
- function _t(t, e, i, s) {
1309
+ function Gt(t, e, i, s) {
1178
1310
  e === void 0 && (e = !0), s === void 0 && (s = 0.5);
1179
1311
  const n = this;
1180
1312
  if (n.destroyed)
@@ -1191,7 +1323,7 @@ function _t(t, e, i, s) {
1191
1323
  }
1192
1324
  return r = Math.max(r, 0), r = Math.min(r, n.slidesGrid.length - 1), n.slideTo(r, t, e, i);
1193
1325
  }
1194
- function Gt() {
1326
+ function Dt() {
1195
1327
  const t = this;
1196
1328
  if (t.destroyed)
1197
1329
  return;
@@ -1210,16 +1342,16 @@ function Gt() {
1210
1342
  } else
1211
1343
  t.slideTo(n);
1212
1344
  }
1213
- var Dt = {
1214
- slideTo: It,
1215
- slideToLoop: Lt,
1216
- slideNext: Ot,
1217
- slidePrev: zt,
1218
- slideReset: At,
1219
- slideToClosest: _t,
1220
- slideToClickedSlide: Gt
1345
+ var Vt = {
1346
+ slideTo: Lt,
1347
+ slideToLoop: Ot,
1348
+ slideNext: zt,
1349
+ slidePrev: At,
1350
+ slideReset: _t,
1351
+ slideToClosest: Gt,
1352
+ slideToClickedSlide: Dt
1221
1353
  };
1222
- function Vt(t, e) {
1354
+ function Bt(t, e) {
1223
1355
  const i = this, {
1224
1356
  params: s,
1225
1357
  slidesEl: n
@@ -1265,7 +1397,7 @@ function Vt(t, e) {
1265
1397
  initial: e
1266
1398
  });
1267
1399
  }
1268
- function Bt(t) {
1400
+ function Nt(t) {
1269
1401
  let {
1270
1402
  slideRealIndex: e,
1271
1403
  slideTo: i = !0,
@@ -1373,7 +1505,7 @@ function Bt(t) {
1373
1505
  }
1374
1506
  d.emit("loopFix");
1375
1507
  }
1376
- function Nt() {
1508
+ function Ft() {
1377
1509
  const t = this, {
1378
1510
  params: e,
1379
1511
  slidesEl: i
@@ -1391,12 +1523,12 @@ function Nt() {
1391
1523
  i.append(n);
1392
1524
  }), t.recalcSlides(), t.slideTo(t.realIndex, 0);
1393
1525
  }
1394
- var Ft = {
1395
- loopCreate: Vt,
1396
- loopFix: Bt,
1397
- loopDestroy: Nt
1526
+ var kt = {
1527
+ loopCreate: Bt,
1528
+ loopFix: Nt,
1529
+ loopDestroy: Ft
1398
1530
  };
1399
- function kt(t) {
1531
+ function Rt(t) {
1400
1532
  const e = this;
1401
1533
  if (!e.params.simulateTouch || e.params.watchOverflow && e.isLocked || e.params.cssMode)
1402
1534
  return;
@@ -1405,17 +1537,17 @@ function kt(t) {
1405
1537
  e.__preventObserver__ = !1;
1406
1538
  });
1407
1539
  }
1408
- function Rt() {
1540
+ function $t() {
1409
1541
  const t = this;
1410
1542
  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(() => {
1411
1543
  t.__preventObserver__ = !1;
1412
1544
  }));
1413
1545
  }
1414
- var $t = {
1415
- setGrabCursor: kt,
1416
- unsetGrabCursor: Rt
1546
+ var Ht = {
1547
+ setGrabCursor: Rt,
1548
+ unsetGrabCursor: $t
1417
1549
  };
1418
- function Ht(t, e) {
1550
+ function Wt(t, e) {
1419
1551
  e === void 0 && (e = this);
1420
1552
  function i(s) {
1421
1553
  if (!s || s === q() || s === D())
@@ -1432,7 +1564,7 @@ function Te(t, e, i) {
1432
1564
  } = t, r = n.edgeSwipeDetection, l = n.edgeSwipeThreshold;
1433
1565
  return r && (i <= l || i >= s.innerWidth - l) ? r === "prevent" ? (e.preventDefault(), !0) : !1 : !0;
1434
1566
  }
1435
- function Wt(t) {
1567
+ function jt(t) {
1436
1568
  const e = this, i = q();
1437
1569
  let s = t;
1438
1570
  s.originalEvent && (s = s.originalEvent);
@@ -1461,7 +1593,7 @@ function Wt(t) {
1461
1593
  const d = !!r.noSwipingClass && r.noSwipingClass !== "", c = s.composedPath ? s.composedPath() : s.path;
1462
1594
  d && s.target && s.target.shadowRoot && c && (o = c[0]);
1463
1595
  const f = r.noSwipingSelector ? r.noSwipingSelector : `.${r.noSwipingClass}`, m = !!(s.target && s.target.shadowRoot);
1464
- if (r.noSwiping && (m ? Ht(f, o) : o.closest(f))) {
1596
+ if (r.noSwiping && (m ? Wt(f, o) : o.closest(f))) {
1465
1597
  e.allowClick = !0;
1466
1598
  return;
1467
1599
  }
@@ -1483,7 +1615,7 @@ function Wt(t) {
1483
1615
  const S = g && e.allowTouchMove && r.touchStartPreventDefault;
1484
1616
  (r.touchStartForcePreventDefault || S) && !o.isContentEditable && s.preventDefault(), r.freeMode && r.freeMode.enabled && e.freeMode && e.animating && !r.cssMode && e.freeMode.onTouchStart(), e.emit("touchStart", s);
1485
1617
  }
1486
- function jt(t) {
1618
+ function qt(t) {
1487
1619
  const e = q(), i = this, s = i.touchEventsData, {
1488
1620
  params: n,
1489
1621
  touches: r,
@@ -1603,7 +1735,7 @@ function jt(t) {
1603
1735
  }
1604
1736
  !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));
1605
1737
  }
1606
- function qt(t) {
1738
+ function Yt(t) {
1607
1739
  const e = this, i = e.touchEventsData;
1608
1740
  let s = t;
1609
1741
  s.originalEvent && (s = s.originalEvent);
@@ -1696,11 +1828,11 @@ function be() {
1696
1828
  t.autoplay && t.autoplay.running && t.autoplay.paused && t.autoplay.resume();
1697
1829
  }, 500)), t.allowSlidePrev = n, t.allowSlideNext = s, t.params.watchOverflow && r !== t.snapGrid && t.checkOverflow();
1698
1830
  }
1699
- function Yt(t) {
1831
+ function Xt(t) {
1700
1832
  const e = this;
1701
1833
  e.enabled && (e.allowClick || (e.params.preventClicks && t.preventDefault(), e.params.preventClicksPropagation && e.animating && (t.stopPropagation(), t.stopImmediatePropagation())));
1702
1834
  }
1703
- function Xt() {
1835
+ function Ut() {
1704
1836
  const t = this, {
1705
1837
  wrapperEl: e,
1706
1838
  rtlTranslate: i,
@@ -1713,11 +1845,11 @@ function Xt() {
1713
1845
  const r = t.maxTranslate() - t.minTranslate();
1714
1846
  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);
1715
1847
  }
1716
- function Ut(t) {
1848
+ function Kt(t) {
1717
1849
  const e = this;
1718
1850
  Z(e, t.target), !(e.params.cssMode || e.params.slidesPerView !== "auto" && !e.params.autoHeight) && e.update();
1719
1851
  }
1720
- function Kt() {
1852
+ function Qt() {
1721
1853
  const t = this;
1722
1854
  t.documentTouchHandlerProceeded || (t.documentTouchHandlerProceeded = !0, t.params.touchReleaseOnEdges && (t.el.style.touchAction = "auto"));
1723
1855
  }
@@ -1759,21 +1891,21 @@ const _e = (t, e) => {
1759
1891
  capture: !0
1760
1892
  }));
1761
1893
  };
1762
- function Qt() {
1894
+ function Zt() {
1763
1895
  const t = this, {
1764
1896
  params: e
1765
1897
  } = t;
1766
- t.onTouchStart = Wt.bind(t), t.onTouchMove = jt.bind(t), t.onTouchEnd = qt.bind(t), t.onDocumentTouchStart = Kt.bind(t), e.cssMode && (t.onScroll = Xt.bind(t)), t.onClick = Yt.bind(t), t.onLoad = Ut.bind(t), _e(t, "on");
1898
+ t.onTouchStart = jt.bind(t), t.onTouchMove = qt.bind(t), t.onTouchEnd = Yt.bind(t), t.onDocumentTouchStart = Qt.bind(t), e.cssMode && (t.onScroll = Ut.bind(t)), t.onClick = Xt.bind(t), t.onLoad = Kt.bind(t), _e(t, "on");
1767
1899
  }
1768
- function Zt() {
1900
+ function Jt() {
1769
1901
  _e(this, "off");
1770
1902
  }
1771
- var Jt = {
1772
- attachEvents: Qt,
1773
- detachEvents: Zt
1903
+ var ei = {
1904
+ attachEvents: Zt,
1905
+ detachEvents: Jt
1774
1906
  };
1775
1907
  const xe = (t, e) => t.grid && e.grid && e.grid.rows > 1;
1776
- function ei() {
1908
+ function ti() {
1777
1909
  const t = this, {
1778
1910
  realIndex: e,
1779
1911
  initialized: i,
@@ -1801,7 +1933,7 @@ function ei() {
1801
1933
  allowSlidePrev: t.params.allowSlidePrev
1802
1934
  }), S && !x ? t.disable() : !S && x && t.enable(), t.currentBreakpoint = d, t.emit("_beforeBreakpoint", f), i && (v ? (t.loopDestroy(), t.loopCreate(e), t.updateSlides()) : !w && b ? (t.loopCreate(e), t.updateSlides()) : w && !b && t.loopDestroy()), t.emit("breakpoint", f);
1803
1935
  }
1804
- function ti(t, e, i) {
1936
+ function ii(t, e, i) {
1805
1937
  if (e === void 0 && (e = "window"), !t || e === "container" && !i)
1806
1938
  return;
1807
1939
  let s = !1;
@@ -1828,11 +1960,11 @@ function ti(t, e, i) {
1828
1960
  }
1829
1961
  return s || "max";
1830
1962
  }
1831
- var ii = {
1832
- setBreakpoint: ei,
1833
- getBreakpoint: ti
1963
+ var si = {
1964
+ setBreakpoint: ti,
1965
+ getBreakpoint: ii
1834
1966
  };
1835
- function si(t, e) {
1967
+ function ri(t, e) {
1836
1968
  const i = [];
1837
1969
  return t.forEach((s) => {
1838
1970
  typeof s == "object" ? Object.keys(s).forEach((n) => {
@@ -1840,14 +1972,14 @@ function si(t, e) {
1840
1972
  }) : typeof s == "string" && i.push(e + s);
1841
1973
  }), i;
1842
1974
  }
1843
- function ri() {
1975
+ function ni() {
1844
1976
  const t = this, {
1845
1977
  classNames: e,
1846
1978
  params: i,
1847
1979
  rtl: s,
1848
1980
  el: n,
1849
1981
  device: r
1850
- } = t, l = si(["initialized", i.direction, {
1982
+ } = t, l = ri(["initialized", i.direction, {
1851
1983
  "free-mode": t.params.freeMode && i.freeMode.enabled
1852
1984
  }, {
1853
1985
  autoheight: i.autoHeight
@@ -1870,18 +2002,18 @@ function ri() {
1870
2002
  }], i.containerModifierClass);
1871
2003
  e.push(...l), n.classList.add(...e), t.emitContainerClasses();
1872
2004
  }
1873
- function ni() {
2005
+ function ai() {
1874
2006
  const t = this, {
1875
2007
  el: e,
1876
2008
  classNames: i
1877
2009
  } = t;
1878
2010
  !e || typeof e == "string" || (e.classList.remove(...i), t.emitContainerClasses());
1879
2011
  }
1880
- var ai = {
1881
- addClasses: ri,
1882
- removeClasses: ni
2012
+ var li = {
2013
+ addClasses: ni,
2014
+ removeClasses: ai
1883
2015
  };
1884
- function li() {
2016
+ function oi() {
1885
2017
  const t = this, {
1886
2018
  isLocked: e,
1887
2019
  params: i
@@ -1895,8 +2027,8 @@ function li() {
1895
2027
  t.isLocked = t.snapGrid.length === 1;
1896
2028
  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");
1897
2029
  }
1898
- var oi = {
1899
- checkOverflow: li
2030
+ var di = {
2031
+ checkOverflow: oi
1900
2032
  }, ue = {
1901
2033
  init: !0,
1902
2034
  direction: "horizontal",
@@ -2018,7 +2150,7 @@ var oi = {
2018
2150
  // Internals
2019
2151
  _emitClasses: !1
2020
2152
  };
2021
- function di(t, e) {
2153
+ function ci(t, e) {
2022
2154
  return function(s) {
2023
2155
  s === void 0 && (s = {});
2024
2156
  const n = Object.keys(s)[0], r = s[n];
@@ -2038,17 +2170,17 @@ function di(t, e) {
2038
2170
  };
2039
2171
  }
2040
2172
  const oe = {
2041
- eventsEmitter: at,
2042
- update: vt,
2043
- translate: Et,
2044
- transition: Mt,
2045
- slide: Dt,
2046
- loop: Ft,
2047
- grabCursor: $t,
2048
- events: Jt,
2049
- breakpoints: ii,
2050
- checkOverflow: oi,
2051
- classes: ai
2173
+ eventsEmitter: lt,
2174
+ update: wt,
2175
+ translate: yt,
2176
+ transition: It,
2177
+ slide: Vt,
2178
+ loop: kt,
2179
+ grabCursor: Ht,
2180
+ events: ei,
2181
+ breakpoints: si,
2182
+ checkOverflow: di,
2183
+ classes: li
2052
2184
  }, de = {};
2053
2185
  let me = class H {
2054
2186
  constructor() {
@@ -2075,7 +2207,7 @@ let me = class H {
2075
2207
  c({
2076
2208
  params: i,
2077
2209
  swiper: a,
2078
- extendParams: di(i, o),
2210
+ extendParams: ci(i, o),
2079
2211
  on: a.on.bind(a),
2080
2212
  once: a.once.bind(a),
2081
2213
  off: a.off.bind(a),
@@ -2367,139 +2499,7 @@ Object.keys(oe).forEach((t) => {
2367
2499
  me.prototype[e] = oe[t][e];
2368
2500
  });
2369
2501
  });
2370
- me.use([rt, nt]);
2371
- function ci(t, e, i, s) {
2372
- return t.params.createElements && Object.keys(s).forEach((n) => {
2373
- if (!i[n] && i.auto === !0) {
2374
- let r = R(t.el, `.${s[n]}`)[0];
2375
- r || (r = te("div", s[n]), r.className = s[n], t.el.append(r)), i[n] = r, e[n] = r;
2376
- }
2377
- }), i;
2378
- }
2379
- function Ei(t) {
2380
- let {
2381
- swiper: e,
2382
- extendParams: i,
2383
- on: s,
2384
- emit: n
2385
- } = t;
2386
- i({
2387
- navigation: {
2388
- nextEl: null,
2389
- prevEl: null,
2390
- hideOnClick: !1,
2391
- disabledClass: "swiper-button-disabled",
2392
- hiddenClass: "swiper-button-hidden",
2393
- lockClass: "swiper-button-lock",
2394
- navigationDisabledClass: "swiper-navigation-disabled"
2395
- }
2396
- }), e.navigation = {
2397
- nextEl: null,
2398
- prevEl: null
2399
- };
2400
- function r(u) {
2401
- let g;
2402
- return u && typeof u == "string" && e.isElement && (g = e.el.querySelector(u) || e.hostEl.querySelector(u), g) ? g : (u && (typeof u == "string" && (g = [...document.querySelectorAll(u)]), e.params.uniqueNavElements && typeof u == "string" && g && g.length > 1 && e.el.querySelectorAll(u).length === 1 ? g = e.el.querySelector(u) : g && g.length === 1 && (g = g[0])), u && !g ? u : g);
2403
- }
2404
- function l(u, g) {
2405
- const S = e.params.navigation;
2406
- u = $(u), u.forEach((p) => {
2407
- p && (p.classList[g ? "add" : "remove"](...S.disabledClass.split(" ")), p.tagName === "BUTTON" && (p.disabled = g), e.params.watchOverflow && e.enabled && p.classList[e.isLocked ? "add" : "remove"](S.lockClass));
2408
- });
2409
- }
2410
- function a() {
2411
- const {
2412
- nextEl: u,
2413
- prevEl: g
2414
- } = e.navigation;
2415
- if (e.params.loop) {
2416
- l(g, !1), l(u, !1);
2417
- return;
2418
- }
2419
- l(g, e.isBeginning && !e.params.rewind), l(u, e.isEnd && !e.params.rewind);
2420
- }
2421
- function o(u) {
2422
- u.preventDefault(), !(e.isBeginning && !e.params.loop && !e.params.rewind) && (e.slidePrev(), n("navigationPrev"));
2423
- }
2424
- function d(u) {
2425
- u.preventDefault(), !(e.isEnd && !e.params.loop && !e.params.rewind) && (e.slideNext(), n("navigationNext"));
2426
- }
2427
- function c() {
2428
- const u = e.params.navigation;
2429
- if (e.params.navigation = ci(e, e.originalParams.navigation, e.params.navigation, {
2430
- nextEl: "swiper-button-next",
2431
- prevEl: "swiper-button-prev"
2432
- }), !(u.nextEl || u.prevEl))
2433
- return;
2434
- let g = r(u.nextEl), S = r(u.prevEl);
2435
- Object.assign(e.navigation, {
2436
- nextEl: g,
2437
- prevEl: S
2438
- }), g = $(g), S = $(S);
2439
- const p = (v, w) => {
2440
- v && v.addEventListener("click", w === "next" ? d : o), !e.enabled && v && v.classList.add(...u.lockClass.split(" "));
2441
- };
2442
- g.forEach((v) => p(v, "next")), S.forEach((v) => p(v, "prev"));
2443
- }
2444
- function f() {
2445
- let {
2446
- nextEl: u,
2447
- prevEl: g
2448
- } = e.navigation;
2449
- u = $(u), g = $(g);
2450
- const S = (p, v) => {
2451
- p.removeEventListener("click", v === "next" ? d : o), p.classList.remove(...e.params.navigation.disabledClass.split(" "));
2452
- };
2453
- u.forEach((p) => S(p, "next")), g.forEach((p) => S(p, "prev"));
2454
- }
2455
- s("init", () => {
2456
- e.params.navigation.enabled === !1 ? h() : (c(), a());
2457
- }), s("toEdge fromEdge lock unlock", () => {
2458
- a();
2459
- }), s("destroy", () => {
2460
- f();
2461
- }), s("enable disable", () => {
2462
- let {
2463
- nextEl: u,
2464
- prevEl: g
2465
- } = e.navigation;
2466
- if (u = $(u), g = $(g), e.enabled) {
2467
- a();
2468
- return;
2469
- }
2470
- [...u, ...g].filter((S) => !!S).forEach((S) => S.classList.add(e.params.navigation.lockClass));
2471
- }), s("click", (u, g) => {
2472
- let {
2473
- nextEl: S,
2474
- prevEl: p
2475
- } = e.navigation;
2476
- S = $(S), p = $(p);
2477
- const v = g.target;
2478
- let w = p.includes(v) || S.includes(v);
2479
- if (e.isElement && !w) {
2480
- const x = g.path || g.composedPath && g.composedPath();
2481
- x && (w = x.find((b) => S.includes(b) || p.includes(b)));
2482
- }
2483
- if (e.params.navigation.hideOnClick && !w) {
2484
- if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === v || e.pagination.el.contains(v)))
2485
- return;
2486
- let x;
2487
- S.length ? x = S[0].classList.contains(e.params.navigation.hiddenClass) : p.length && (x = p[0].classList.contains(e.params.navigation.hiddenClass)), n(x === !0 ? "navigationShow" : "navigationHide"), [...S, ...p].filter((b) => !!b).forEach((b) => b.classList.toggle(e.params.navigation.hiddenClass));
2488
- }
2489
- });
2490
- const m = () => {
2491
- e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")), c(), a();
2492
- }, h = () => {
2493
- e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")), f();
2494
- };
2495
- Object.assign(e.navigation, {
2496
- enable: m,
2497
- disable: h,
2498
- update: a,
2499
- init: c,
2500
- destroy: f
2501
- });
2502
- }
2502
+ me.use([nt, at]);
2503
2503
  const Ge = [
2504
2504
  "eventsPrefix",
2505
2505
  "injectStyles",