"use strict";
(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
  [22546],
  {
    22546: function (e, t, i) {
      i.d(t, {
        tq: function () {
          return o;
        },
        o5: function () {
          return d;
        },
      });
      var s = i(67294),
        r = i(50067);
      function isObject(e) {
        return (
          "object" == typeof e &&
          null !== e &&
          e.constructor &&
          "Object" === Object.prototype.toString.call(e).slice(8, -1)
        );
      }
      function extend(e, t) {
        let i = ["__proto__", "constructor", "prototype"];
        Object.keys(t)
          .filter((e) => 0 > i.indexOf(e))
          .forEach((i) => {
            void 0 === e[i]
              ? (e[i] = t[i])
              : isObject(t[i]) && isObject(e[i]) && Object.keys(t[i]).length > 0
              ? t[i].__swiper__
                ? (e[i] = t[i])
                : extend(e[i], t[i])
              : (e[i] = t[i]);
          });
      }
      function needsNavigation(e = {}) {
        return (
          e.navigation &&
          void 0 === e.navigation.nextEl &&
          void 0 === e.navigation.prevEl
        );
      }
      function needsPagination(e = {}) {
        return e.pagination && void 0 === e.pagination.el;
      }
      function needsScrollbar(e = {}) {
        return e.scrollbar && void 0 === e.scrollbar.el;
      }
      function uniqueClasses(e = "") {
        let t = e
            .split(" ")
            .map((e) => e.trim())
            .filter((e) => !!e),
          i = [];
        return (
          t.forEach((e) => {
            0 > i.indexOf(e) && i.push(e);
          }),
          i.join(" ")
        );
      }
      let a = [
        "eventsPrefix",
        "injectStyles",
        "injectStylesUrls",
        "modules",
        "init",
        "_direction",
        "oneWayMovement",
        "touchEventsTarget",
        "initialSlide",
        "_speed",
        "cssMode",
        "updateOnWindowResize",
        "resizeObserver",
        "nested",
        "focusableElements",
        "_enabled",
        "_width",
        "_height",
        "preventInteractionOnTransition",
        "userAgent",
        "url",
        "_edgeSwipeDetection",
        "_edgeSwipeThreshold",
        "_freeMode",
        "_autoHeight",
        "setWrapperSize",
        "virtualTranslate",
        "_effect",
        "breakpoints",
        "_spaceBetween",
        "_slidesPerView",
        "maxBackfaceHiddenSlides",
        "_grid",
        "_slidesPerGroup",
        "_slidesPerGroupSkip",
        "_slidesPerGroupAuto",
        "_centeredSlides",
        "_centeredSlidesBounds",
        "_slidesOffsetBefore",
        "_slidesOffsetAfter",
        "normalizeSlideIndex",
        "_centerInsufficientSlides",
        "_watchOverflow",
        "roundLengths",
        "touchRatio",
        "touchAngle",
        "simulateTouch",
        "_shortSwipes",
        "_longSwipes",
        "longSwipesRatio",
        "longSwipesMs",
        "_followFinger",
        "allowTouchMove",
        "_threshold",
        "touchMoveStopPropagation",
        "touchStartPreventDefault",
        "touchStartForcePreventDefault",
        "touchReleaseOnEdges",
        "uniqueNavElements",
        "_resistance",
        "_resistanceRatio",
        "_watchSlidesProgress",
        "_grabCursor",
        "preventClicks",
        "preventClicksPropagation",
        "_slideToClickedSlide",
        "_loop",
        "loopedSlides",
        "loopPreventsSliding",
        "_rewind",
        "_allowSlidePrev",
        "_allowSlideNext",
        "_swipeHandler",
        "_noSwiping",
        "noSwipingClass",
        "noSwipingSelector",
        "passiveListeners",
        "containerModifierClass",
        "slideClass",
        "slideActiveClass",
        "slideVisibleClass",
        "slideNextClass",
        "slidePrevClass",
        "wrapperClass",
        "lazyPreloaderClass",
        "lazyPreloadPrevNext",
        "runCallbacksOnInit",
        "observer",
        "observeParents",
        "observeSlideChildren",
        "a11y",
        "_autoplay",
        "_controller",
        "coverflowEffect",
        "cubeEffect",
        "fadeEffect",
        "flipEffect",
        "creativeEffect",
        "cardsEffect",
        "hashNavigation",
        "history",
        "keyboard",
        "mousewheel",
        "_navigation",
        "_pagination",
        "parallax",
        "_scrollbar",
        "_thumbs",
        "virtual",
        "zoom",
        "control",
      ];
      function isChildSwiperSlide(e) {
        return (
          e.type &&
          e.type.displayName &&
          e.type.displayName.includes("SwiperSlide")
        );
      }
      let updateOnVirtualData = (e) => {
        e &&
          !e.destroyed &&
          e.params.virtual &&
          (!e.params.virtual || e.params.virtual.enabled) &&
          (e.updateSlides(),
          e.updateProgress(),
          e.updateSlidesClasses(),
          e.parallax &&
            e.params.parallax &&
            e.params.parallax.enabled &&
            e.parallax.setTranslate());
      };
      function useIsomorphicLayoutEffect(e, t) {
        return "undefined" == typeof window
          ? (0, s.useEffect)(e, t)
          : (0, s.useLayoutEffect)(e, t);
      }
      let l = (0, s.createContext)(null),
        n = (0, s.createContext)(null);
      function _extends() {
        return (_extends = Object.assign
          ? Object.assign.bind()
          : function (e) {
              for (var t = 1; t < arguments.length; t++) {
                var i = arguments[t];
                for (var s in i)
                  Object.prototype.hasOwnProperty.call(i, s) && (e[s] = i[s]);
              }
              return e;
            }).apply(this, arguments);
      }
      let o = (0, s.forwardRef)(function (e, t) {
        let {
            className: i,
            tag: l = "div",
            wrapperTag: o = "div",
            children: d,
            onSwiper: c,
            ...p
          } = void 0 === e ? {} : e,
          u = !1,
          [h, m] = (0, s.useState)("swiper"),
          [f, g] = (0, s.useState)(null),
          [v, w] = (0, s.useState)(!1),
          b = (0, s.useRef)(!1),
          y = (0, s.useRef)(null),
          S = (0, s.useRef)(null),
          E = (0, s.useRef)(null),
          T = (0, s.useRef)(null),
          x = (0, s.useRef)(null),
          C = (0, s.useRef)(null),
          _ = (0, s.useRef)(null),
          P = (0, s.useRef)(null),
          {
            params: M,
            passedParams: L,
            rest: k,
            events: O,
          } = (function (e = {}, t = !0) {
            let i = { on: {} },
              s = {},
              l = {};
            extend(i, r.ZP.defaults),
              extend(i, r.ZP.extendedDefaults),
              (i._emitClasses = !0),
              (i.init = !1);
            let n = {},
              o = a.map((e) => e.replace(/_/, "")),
              d = Object.assign({}, e);
            return (
              Object.keys(d).forEach((r) => {
                void 0 !== e[r] &&
                  (o.indexOf(r) >= 0
                    ? isObject(e[r])
                      ? ((i[r] = {}),
                        (l[r] = {}),
                        extend(i[r], e[r]),
                        extend(l[r], e[r]))
                      : ((i[r] = e[r]), (l[r] = e[r]))
                    : 0 === r.search(/on[A-Z]/) && "function" == typeof e[r]
                    ? t
                      ? (s[`${r[2].toLowerCase()}${r.substr(3)}`] = e[r])
                      : (i.on[`${r[2].toLowerCase()}${r.substr(3)}`] = e[r])
                    : (n[r] = e[r]));
              }),
              ["navigation", "pagination", "scrollbar"].forEach((e) => {
                !0 === i[e] && (i[e] = {}), !1 === i[e] && delete i[e];
              }),
              { params: i, passedParams: l, rest: n, events: s }
            );
          })(p),
          { slides: A, slots: z } = (function (e) {
            let t = [],
              i = {
                "container-start": [],
                "container-end": [],
                "wrapper-start": [],
                "wrapper-end": [],
              };
            return (
              s.Children.toArray(e).forEach((e) => {
                if (isChildSwiperSlide(e)) t.push(e);
                else if (e.props && e.props.slot && i[e.props.slot])
                  i[e.props.slot].push(e);
                else if (e.props && e.props.children) {
                  let r = (function processChildren(e) {
                    let t = [];
                    return (
                      s.Children.toArray(e).forEach((e) => {
                        isChildSwiperSlide(e)
                          ? t.push(e)
                          : e.props &&
                            e.props.children &&
                            processChildren(e.props.children).forEach((e) =>
                              t.push(e)
                            );
                      }),
                      t
                    );
                  })(e.props.children);
                  r.length > 0
                    ? r.forEach((e) => t.push(e))
                    : i["container-end"].push(e);
                } else i["container-end"].push(e);
              }),
              { slides: t, slots: i }
            );
          })(d),
          onBeforeBreakpoint = () => {
            w(!v);
          };
        Object.assign(M.on, {
          _containerClasses(e, t) {
            m(t);
          },
        });
        let initSwiper = () => {
          Object.assign(M.on, O), (u = !0);
          let e = { ...M };
          if (
            (delete e.wrapperClass,
            (S.current = new r.ZP(e)),
            S.current.virtual && S.current.params.virtual.enabled)
          ) {
            S.current.virtual.slides = A;
            let e = {
              cache: !1,
              slides: A,
              renderExternal: g,
              renderExternalUpdate: !1,
            };
            extend(S.current.params.virtual, e),
              extend(S.current.originalParams.virtual, e);
          }
        };
        y.current || initSwiper(),
          S.current && S.current.on("_beforeBreakpoint", onBeforeBreakpoint);
        let attachEvents = () => {
            !u &&
              O &&
              S.current &&
              Object.keys(O).forEach((e) => {
                S.current.on(e, O[e]);
              });
          },
          detachEvents = () => {
            O &&
              S.current &&
              Object.keys(O).forEach((e) => {
                S.current.off(e, O[e]);
              });
          };
        return (
          (0, s.useEffect)(() => () => {
            S.current && S.current.off("_beforeBreakpoint", onBeforeBreakpoint);
          }),
          (0, s.useEffect)(() => {
            !b.current &&
              S.current &&
              (S.current.emitSlidesClasses(), (b.current = !0));
          }),
          useIsomorphicLayoutEffect(() => {
            if ((t && (t.current = y.current), y.current))
              return (
                S.current.destroyed && initSwiper(),
                (function (
                  {
                    el: e,
                    nextEl: t,
                    prevEl: i,
                    paginationEl: s,
                    scrollbarEl: r,
                    swiper: a,
                  },
                  l
                ) {
                  needsNavigation(l) &&
                    t &&
                    i &&
                    ((a.params.navigation.nextEl = t),
                    (a.originalParams.navigation.nextEl = t),
                    (a.params.navigation.prevEl = i),
                    (a.originalParams.navigation.prevEl = i)),
                    needsPagination(l) &&
                      s &&
                      ((a.params.pagination.el = s),
                      (a.originalParams.pagination.el = s)),
                    needsScrollbar(l) &&
                      r &&
                      ((a.params.scrollbar.el = r),
                      (a.originalParams.scrollbar.el = r)),
                    a.init(e);
                })(
                  {
                    el: y.current,
                    nextEl: x.current,
                    prevEl: C.current,
                    paginationEl: _.current,
                    scrollbarEl: P.current,
                    swiper: S.current,
                  },
                  M
                ),
                c && c(S.current),
                () => {
                  S.current &&
                    !S.current.destroyed &&
                    S.current.destroy(!0, !1);
                }
              );
          }, []),
          useIsomorphicLayoutEffect(() => {
            attachEvents();
            let e = (function (e, t, i, s, r) {
              let l = [];
              if (!t) return l;
              let addKey = (e) => {
                0 > l.indexOf(e) && l.push(e);
              };
              if (i && s) {
                let e = s.map(r),
                  t = i.map(r);
                e.join("") !== t.join("") && addKey("children"),
                  s.length !== i.length && addKey("children");
              }
              let n = a
                .filter((e) => "_" === e[0])
                .map((e) => e.replace(/_/, ""));
              return (
                n.forEach((i) => {
                  if (i in e && i in t) {
                    if (isObject(e[i]) && isObject(t[i])) {
                      let s = Object.keys(e[i]),
                        r = Object.keys(t[i]);
                      s.length !== r.length
                        ? addKey(i)
                        : (s.forEach((s) => {
                            e[i][s] !== t[i][s] && addKey(i);
                          }),
                          r.forEach((s) => {
                            e[i][s] !== t[i][s] && addKey(i);
                          }));
                    } else e[i] !== t[i] && addKey(i);
                  }
                }),
                l
              );
            })(L, E.current, A, T.current, (e) => e.key);
            return (
              (E.current = L),
              (T.current = A),
              e.length &&
                S.current &&
                !S.current.destroyed &&
                (function ({
                  swiper: e,
                  slides: t,
                  passedParams: i,
                  changedParams: s,
                  nextEl: r,
                  prevEl: a,
                  scrollbarEl: l,
                  paginationEl: n,
                }) {
                  let o, d, c, p, u, h, m, f;
                  let g = s.filter(
                      (e) =>
                        "children" !== e &&
                        "direction" !== e &&
                        "wrapperClass" !== e
                    ),
                    {
                      params: v,
                      pagination: w,
                      navigation: b,
                      scrollbar: y,
                      virtual: S,
                      thumbs: E,
                    } = e;
                  s.includes("thumbs") &&
                    i.thumbs &&
                    i.thumbs.swiper &&
                    v.thumbs &&
                    !v.thumbs.swiper &&
                    (o = !0),
                    s.includes("controller") &&
                      i.controller &&
                      i.controller.control &&
                      v.controller &&
                      !v.controller.control &&
                      (d = !0),
                    s.includes("pagination") &&
                      i.pagination &&
                      (i.pagination.el || n) &&
                      (v.pagination || !1 === v.pagination) &&
                      w &&
                      !w.el &&
                      (c = !0),
                    s.includes("scrollbar") &&
                      i.scrollbar &&
                      (i.scrollbar.el || l) &&
                      (v.scrollbar || !1 === v.scrollbar) &&
                      y &&
                      !y.el &&
                      (p = !0),
                    s.includes("navigation") &&
                      i.navigation &&
                      (i.navigation.prevEl || a) &&
                      (i.navigation.nextEl || r) &&
                      (v.navigation || !1 === v.navigation) &&
                      b &&
                      !b.prevEl &&
                      !b.nextEl &&
                      (u = !0);
                  let destroyModule = (t) => {
                    e[t] &&
                      (e[t].destroy(),
                      "navigation" === t
                        ? (e.isElement &&
                            (e[t].prevEl.remove(), e[t].nextEl.remove()),
                          (v[t].prevEl = void 0),
                          (v[t].nextEl = void 0),
                          (e[t].prevEl = void 0),
                          (e[t].nextEl = void 0))
                        : (e.isElement && e[t].el.remove(),
                          (v[t].el = void 0),
                          (e[t].el = void 0)));
                  };
                  if (
                    (s.includes("loop") &&
                      e.isElement &&
                      (v.loop && !i.loop
                        ? (h = !0)
                        : !v.loop && i.loop
                        ? (m = !0)
                        : (f = !0)),
                    g.forEach((e) => {
                      if (isObject(v[e]) && isObject(i[e]))
                        extend(v[e], i[e]),
                          ("navigation" === e ||
                            "pagination" === e ||
                            "scrollbar" === e) &&
                            "enabled" in i[e] &&
                            !i[e].enabled &&
                            destroyModule(e);
                      else {
                        let t = i[e];
                        (!0 === t || !1 === t) &&
                        ("navigation" === e ||
                          "pagination" === e ||
                          "scrollbar" === e)
                          ? !1 === t && destroyModule(e)
                          : (v[e] = i[e]);
                      }
                    }),
                    g.includes("controller") &&
                      !d &&
                      e.controller &&
                      e.controller.control &&
                      v.controller &&
                      v.controller.control &&
                      (e.controller.control = v.controller.control),
                    s.includes("children") &&
                      t &&
                      S &&
                      v.virtual.enabled &&
                      ((S.slides = t), S.update(!0)),
                    s.includes("children") && t && v.loop && (f = !0),
                    o)
                  ) {
                    let e = E.init();
                    e && E.update(!0);
                  }
                  d && (e.controller.control = v.controller.control),
                    c &&
                      (e.isElement &&
                        (!n || "string" == typeof n) &&
                        ((n = document.createElement("div")).classList.add(
                          "swiper-pagination"
                        ),
                        e.el.shadowEl.appendChild(n)),
                      n && (v.pagination.el = n),
                      w.init(),
                      w.render(),
                      w.update()),
                    p &&
                      (e.isElement &&
                        (!l || "string" == typeof l) &&
                        ((l = document.createElement("div")).classList.add(
                          "swiper-scrollbar"
                        ),
                        e.el.shadowEl.appendChild(l)),
                      l && (v.scrollbar.el = l),
                      y.init(),
                      y.updateSize(),
                      y.setTranslate()),
                    u &&
                      (e.isElement &&
                        ((r && "string" != typeof r) ||
                          ((r = document.createElement("div")).classList.add(
                            "swiper-button-next"
                          ),
                          e.el.shadowEl.appendChild(r)),
                        (a && "string" != typeof a) ||
                          ((a = document.createElement("div")).classList.add(
                            "swiper-button-prev"
                          ),
                          e.el.shadowEl.appendChild(a))),
                      r && (v.navigation.nextEl = r),
                      a && (v.navigation.prevEl = a),
                      b.init(),
                      b.update()),
                    s.includes("allowSlideNext") &&
                      (e.allowSlideNext = i.allowSlideNext),
                    s.includes("allowSlidePrev") &&
                      (e.allowSlidePrev = i.allowSlidePrev),
                    s.includes("direction") &&
                      e.changeDirection(i.direction, !1),
                    (h || f) && e.loopDestroy(),
                    (m || f) && e.loopCreate(),
                    e.update();
                })({
                  swiper: S.current,
                  slides: A,
                  passedParams: L,
                  changedParams: e,
                  nextEl: x.current,
                  prevEl: C.current,
                  scrollbarEl: P.current,
                  paginationEl: _.current,
                }),
              () => {
                detachEvents();
              }
            );
          }),
          useIsomorphicLayoutEffect(() => {
            updateOnVirtualData(S.current);
          }, [f]),
          s.createElement(
            l,
            _extends(
              { ref: y, className: uniqueClasses(`${h}${i ? ` ${i}` : ""}`) },
              k
            ),
            s.createElement(
              n.Provider,
              { value: S.current },
              z["container-start"],
              s.createElement(
                o,
                {
                  className: (function (e = "") {
                    return e
                      ? e.includes("swiper-wrapper")
                        ? e
                        : `swiper-wrapper ${e}`
                      : "swiper-wrapper";
                  })(M.wrapperClass),
                },
                z["wrapper-start"],
                M.virtual
                  ? (function (e, t, i) {
                      if (!i) return null;
                      let getSlideIndex = (e) => {
                          let i = e;
                          return (
                            e < 0
                              ? (i = t.length + e)
                              : i >= t.length && (i -= t.length),
                            i
                          );
                        },
                        r = e.isHorizontal()
                          ? {
                              [e.rtlTranslate
                                ? "right"
                                : "left"]: `${i.offset}px`,
                            }
                          : { top: `${i.offset}px` },
                        { from: a, to: l } = i,
                        n = e.params.loop ? -t.length : 0,
                        o = e.params.loop ? 2 * t.length : t.length,
                        d = [];
                      for (let e = n; e < o; e += 1)
                        e >= a && e <= l && d.push(t[getSlideIndex(e)]);
                      return d.map((t, i) =>
                        s.cloneElement(t, {
                          swiper: e,
                          style: r,
                          key: `slide-${i}`,
                        })
                      );
                    })(S.current, A, f)
                  : A.map((e, t) =>
                      s.cloneElement(e, {
                        swiper: S.current,
                        swiperSlideIndex: t,
                      })
                    ),
                z["wrapper-end"]
              ),
              needsNavigation(M) &&
                s.createElement(
                  s.Fragment,
                  null,
                  s.createElement("div", {
                    ref: C,
                    className: "swiper-button-prev",
                  }),
                  s.createElement("div", {
                    ref: x,
                    className: "swiper-button-next",
                  })
                ),
              needsScrollbar(M) &&
                s.createElement("div", {
                  ref: P,
                  className: "swiper-scrollbar",
                }),
              needsPagination(M) &&
                s.createElement("div", {
                  ref: _,
                  className: "swiper-pagination",
                }),
              z["container-end"]
            )
          )
        );
      });
      function swiper_slide_extends() {
        return (swiper_slide_extends = Object.assign
          ? Object.assign.bind()
          : function (e) {
              for (var t = 1; t < arguments.length; t++) {
                var i = arguments[t];
                for (var s in i)
                  Object.prototype.hasOwnProperty.call(i, s) && (e[s] = i[s]);
              }
              return e;
            }).apply(this, arguments);
      }
      o.displayName = "Swiper";
      let d = (0, s.forwardRef)(function (e, t) {
        let {
            tag: i = "div",
            children: r,
            className: a = "",
            swiper: n,
            zoom: o,
            lazy: d,
            virtualIndex: c,
            swiperSlideIndex: p,
            ...u
          } = void 0 === e ? {} : e,
          h = (0, s.useRef)(null),
          [m, f] = (0, s.useState)("swiper-slide"),
          [g, v] = (0, s.useState)(!1);
        function updateClasses(e, t, i) {
          t === h.current && f(i);
        }
        useIsomorphicLayoutEffect(() => {
          if (
            (void 0 !== p && (h.current.swiperSlideIndex = p),
            t && (t.current = h.current),
            h.current && n)
          ) {
            if (n.destroyed) {
              "swiper-slide" !== m && f("swiper-slide");
              return;
            }
            return (
              n.on("_slideClass", updateClasses),
              () => {
                n && n.off("_slideClass", updateClasses);
              }
            );
          }
        }),
          useIsomorphicLayoutEffect(() => {
            n && h.current && !n.destroyed && f(n.getSlideClasses(h.current));
          }, [n]);
        let w = {
            isActive: m.indexOf("swiper-slide-active") >= 0,
            isVisible: m.indexOf("swiper-slide-visible") >= 0,
            isPrev: m.indexOf("swiper-slide-prev") >= 0,
            isNext: m.indexOf("swiper-slide-next") >= 0,
          },
          renderChildren = () => ("function" == typeof r ? r(w) : r);
        return s.createElement(
          i,
          swiper_slide_extends(
            {
              ref: h,
              className: uniqueClasses(`${m}${a ? ` ${a}` : ""}`),
              "data-swiper-slide-index": c,
              onLoad: () => {
                v(!0);
              },
            },
            u
          ),
          o &&
            s.createElement(
              l.Provider,
              { value: w },
              s.createElement(
                "div",
                {
                  className: "swiper-zoom-container",
                  "data-swiper-zoom": "number" == typeof o ? o : void 0,
                },
                renderChildren(),
                d &&
                  !g &&
                  s.createElement("div", { className: "swiper-lazy-preloader" })
              )
            ),
          !o &&
            s.createElement(
              l.Provider,
              { value: w },
              renderChildren(),
              d &&
                !g &&
                s.createElement("div", { className: "swiper-lazy-preloader" })
            )
        );
      });
      d.displayName = "SwiperSlide";
    },
    50067: function (e, t, i) {
      let s, r, a;
      function ssr_window_esm_isObject(e) {
        return (
          null !== e &&
          "object" == typeof e &&
          "constructor" in e &&
          e.constructor === Object
        );
      }
      function extend(e = {}, t = {}) {
        Object.keys(t).forEach((i) => {
          void 0 === e[i]
            ? (e[i] = t[i])
            : ssr_window_esm_isObject(t[i]) &&
              ssr_window_esm_isObject(e[i]) &&
              Object.keys(t[i]).length > 0 &&
              extend(e[i], t[i]);
        });
      }
      i.d(t, {
        pt: function () {
          return Autoplay;
        },
        xW: function () {
          return EffectFade;
        },
        W_: function () {
          return Navigation;
        },
        tl: function () {
          return Pagination;
        },
        ZP: function () {
          return u;
        },
      });
      let l = {
        body: {},
        addEventListener() {},
        removeEventListener() {},
        activeElement: { blur() {}, nodeName: "" },
        querySelector: () => null,
        querySelectorAll: () => [],
        getElementById: () => null,
        createEvent: () => ({ initEvent() {} }),
        createElement: () => ({
          children: [],
          childNodes: [],
          style: {},
          setAttribute() {},
          getElementsByTagName: () => [],
        }),
        createElementNS: () => ({}),
        importNode: () => null,
        location: {
          hash: "",
          host: "",
          hostname: "",
          href: "",
          origin: "",
          pathname: "",
          protocol: "",
          search: "",
        },
      };
      function ssr_window_esm_getDocument() {
        let e = "undefined" != typeof document ? document : {};
        return extend(e, l), e;
      }
      let n = {
        document: l,
        navigator: { userAgent: "" },
        location: {
          hash: "",
          host: "",
          hostname: "",
          href: "",
          origin: "",
          pathname: "",
          protocol: "",
          search: "",
        },
        history: { replaceState() {}, pushState() {}, go() {}, back() {} },
        CustomEvent: function () {
          return this;
        },
        addEventListener() {},
        removeEventListener() {},
        getComputedStyle: () => ({ getPropertyValue: () => "" }),
        Image() {},
        Date() {},
        screen: {},
        setTimeout() {},
        clearTimeout() {},
        matchMedia: () => ({}),
        requestAnimationFrame: (e) =>
          "undefined" == typeof setTimeout ? (e(), null) : setTimeout(e, 0),
        cancelAnimationFrame(e) {
          "undefined" != typeof setTimeout && clearTimeout(e);
        },
      };
      function ssr_window_esm_getWindow() {
        let e = "undefined" != typeof window ? window : {};
        return extend(e, n), e;
      }
      function utils_nextTick(e, t = 0) {
        return setTimeout(e, t);
      }
      function utils_now() {
        return Date.now();
      }
      function utils_isObject(e) {
        return (
          "object" == typeof e &&
          null !== e &&
          e.constructor &&
          "Object" === Object.prototype.toString.call(e).slice(8, -1)
        );
      }
      function utils_extend(...e) {
        let t = Object(e[0]),
          i = ["__proto__", "constructor", "prototype"];
        for (let s = 1; s < e.length; s += 1) {
          let r = e[s];
          if (
            null != r &&
            ("undefined" != typeof window && void 0 !== window.HTMLElement
              ? !(r instanceof HTMLElement)
              : !r || (1 !== r.nodeType && 11 !== r.nodeType))
          ) {
            let e = Object.keys(Object(r)).filter((e) => 0 > i.indexOf(e));
            for (let i = 0, s = e.length; i < s; i += 1) {
              let s = e[i],
                a = Object.getOwnPropertyDescriptor(r, s);
              void 0 !== a &&
                a.enumerable &&
                (utils_isObject(t[s]) && utils_isObject(r[s])
                  ? r[s].__swiper__
                    ? (t[s] = r[s])
                    : utils_extend(t[s], r[s])
                  : !utils_isObject(t[s]) && utils_isObject(r[s])
                  ? ((t[s] = {}),
                    r[s].__swiper__ ? (t[s] = r[s]) : utils_extend(t[s], r[s]))
                  : (t[s] = r[s]));
            }
          }
        }
        return t;
      }
      function utils_setCSSProperty(e, t, i) {
        e.style.setProperty(t, i);
      }
      function animateCSSModeScroll({ swiper: e, targetPosition: t, side: i }) {
        let s;
        let r = ssr_window_esm_getWindow(),
          a = -e.translate,
          l = null,
          n = e.params.speed;
        (e.wrapperEl.style.scrollSnapType = "none"),
          r.cancelAnimationFrame(e.cssModeFrameID);
        let o = t > a ? "next" : "prev",
          isOutOfBound = (e, t) =>
            ("next" === o && e >= t) || ("prev" === o && e <= t),
          animate = () => {
            (s = new Date().getTime()), null === l && (l = s);
            let o = Math.max(Math.min((s - l) / n, 1), 0),
              d = a + (0.5 - Math.cos(o * Math.PI) / 2) * (t - a);
            if (
              (isOutOfBound(d, t) && (d = t),
              e.wrapperEl.scrollTo({ [i]: d }),
              isOutOfBound(d, t))
            ) {
              (e.wrapperEl.style.overflow = "hidden"),
                (e.wrapperEl.style.scrollSnapType = ""),
                setTimeout(() => {
                  (e.wrapperEl.style.overflow = ""),
                    e.wrapperEl.scrollTo({ [i]: d });
                }),
                r.cancelAnimationFrame(e.cssModeFrameID);
              return;
            }
            e.cssModeFrameID = r.requestAnimationFrame(animate);
          };
        animate();
      }
      function utils_getSlideTransformEl(e) {
        return (
          e.querySelector(".swiper-slide-transform") ||
          (e.shadowEl && e.shadowEl.querySelector(".swiper-slide-transform")) ||
          e
        );
      }
      function utils_elementChildren(e, t = "") {
        return [...e.children].filter((e) => e.matches(t));
      }
      function utils_createElement(e, t = []) {
        let i = document.createElement(e);
        return i.classList.add(...(Array.isArray(t) ? t : [t])), i;
      }
      function elementStyle(e, t) {
        let i = ssr_window_esm_getWindow();
        return i.getComputedStyle(e, null).getPropertyValue(t);
      }
      function utils_elementIndex(e) {
        let t,
          i = e;
        if (i) {
          for (t = 0; null !== (i = i.previousSibling); )
            1 === i.nodeType && (t += 1);
          return t;
        }
      }
      function utils_elementParents(e, t) {
        let i = [],
          s = e.parentElement;
        for (; s; )
          t ? s.matches(t) && i.push(s) : i.push(s), (s = s.parentElement);
        return i;
      }
      function elementOuterSize(e, t, i) {
        let s = ssr_window_esm_getWindow();
        return i
          ? e["width" === t ? "offsetWidth" : "offsetHeight"] +
              parseFloat(
                s
                  .getComputedStyle(e, null)
                  .getPropertyValue(
                    "width" === t ? "margin-right" : "margin-top"
                  )
              ) +
              parseFloat(
                s
                  .getComputedStyle(e, null)
                  .getPropertyValue(
                    "width" === t ? "margin-left" : "margin-bottom"
                  )
              )
          : e.offsetWidth;
      }
      function getSupport() {
        return (
          s ||
            (s = (function () {
              let e = ssr_window_esm_getWindow(),
                t = ssr_window_esm_getDocument();
              return {
                smoothScroll:
                  t.documentElement &&
                  t.documentElement.style &&
                  "scrollBehavior" in t.documentElement.style,
                touch: !!(
                  "ontouchstart" in e ||
                  (e.DocumentTouch && t instanceof e.DocumentTouch)
                ),
              };
            })()),
          s
        );
      }
      let processLazyPreloader = (e, t) => {
          if (!e || e.destroyed || !e.params) return;
          let i = t.closest(
            e.isElement ? "swiper-slide" : `.${e.params.slideClass}`
          );
          if (i) {
            let t = i.querySelector(`.${e.params.lazyPreloaderClass}`);
            t && t.remove();
          }
        },
        unlazy = (e, t) => {
          if (!e.slides[t]) return;
          let i = e.slides[t].querySelector('[loading="lazy"]');
          i && i.removeAttribute("loading");
        },
        preload = (e) => {
          if (!e || e.destroyed || !e.params) return;
          let t = e.params.lazyPreloadPrevNext,
            i = e.slides.length;
          if (!i || !t || t < 0) return;
          t = Math.min(t, i);
          let s =
              "auto" === e.params.slidesPerView
                ? e.slidesPerViewDynamic()
                : Math.ceil(e.params.slidesPerView),
            r = e.activeIndex;
          if (e.params.grid && e.params.grid.rows > 1) {
            let i = [r - t];
            i.push(...Array.from({ length: t }).map((e, t) => r + s + t)),
              e.slides.forEach((t, s) => {
                i.includes(t.column) && unlazy(e, s);
              });
            return;
          }
          let a = r + s - 1;
          if (e.params.rewind || e.params.loop)
            for (let s = r - t; s <= a + t; s += 1) {
              let t = ((s % i) + i) % i;
              (t < r || t > a) && unlazy(e, t);
            }
          else
            for (
              let s = Math.max(r - t, 0);
              s <= Math.min(a + t, i - 1);
              s += 1
            )
              s !== r && (s > a || s < r) && unlazy(e, s);
        };
      function transitionEmit({
        swiper: e,
        runCallbacks: t,
        direction: i,
        step: s,
      }) {
        let { activeIndex: r, previousIndex: a } = e,
          l = i;
        if (
          (l || (l = r > a ? "next" : r < a ? "prev" : "reset"),
          e.emit(`transition${s}`),
          t && r !== a)
        ) {
          if ("reset" === l) {
            e.emit(`slideResetTransition${s}`);
            return;
          }
          e.emit(`slideChangeTransition${s}`),
            "next" === l
              ? e.emit(`slideNextTransition${s}`)
              : e.emit(`slidePrevTransition${s}`);
        }
      }
      function onTouchStart(e) {
        let t = ssr_window_esm_getDocument(),
          i = ssr_window_esm_getWindow(),
          s = this.touchEventsData;
        s.evCache.push(e);
        let { params: r, touches: a, enabled: l } = this;
        if (
          !l ||
          (!r.simulateTouch && "mouse" === e.pointerType) ||
          (this.animating && r.preventInteractionOnTransition)
        )
          return;
        !this.animating && r.cssMode && r.loop && this.loopFix();
        let n = e;
        n.originalEvent && (n = n.originalEvent);
        let o = n.target;
        if (
          ("wrapper" === r.touchEventsTarget && !this.wrapperEl.contains(o)) ||
          ("which" in n && 3 === n.which) ||
          ("button" in n && n.button > 0) ||
          (s.isTouched && s.isMoved)
        )
          return;
        let d = !!r.noSwipingClass && "" !== r.noSwipingClass,
          c = e.composedPath ? e.composedPath() : e.path;
        d && n.target && n.target.shadowRoot && c && (o = c[0]);
        let p = r.noSwipingSelector
            ? r.noSwipingSelector
            : `.${r.noSwipingClass}`,
          u = !!(n.target && n.target.shadowRoot);
        if (
          r.noSwiping &&
          (u
            ? (function (e, t = this) {
                return (function __closestFrom(t) {
                  if (
                    !t ||
                    t === ssr_window_esm_getDocument() ||
                    t === ssr_window_esm_getWindow()
                  )
                    return null;
                  t.assignedSlot && (t = t.assignedSlot);
                  let i = t.closest(e);
                  return i || t.getRootNode
                    ? i || __closestFrom(t.getRootNode().host)
                    : null;
                })(t);
              })(p, o)
            : o.closest(p))
        ) {
          this.allowClick = !0;
          return;
        }
        if (r.swipeHandler && !o.closest(r.swipeHandler)) return;
        (a.currentX = n.pageX), (a.currentY = n.pageY);
        let h = a.currentX,
          m = a.currentY,
          f = r.edgeSwipeDetection || r.iOSEdgeSwipeDetection,
          g = r.edgeSwipeThreshold || r.iOSEdgeSwipeThreshold;
        if (f && (h <= g || h >= i.innerWidth - g)) {
          if ("prevent" !== f) return;
          e.preventDefault();
        }
        Object.assign(s, {
          isTouched: !0,
          isMoved: !1,
          allowTouchCallbacks: !0,
          isScrolling: void 0,
          startMoving: void 0,
        }),
          (a.startX = h),
          (a.startY = m),
          (s.touchStartTime = utils_now()),
          (this.allowClick = !0),
          this.updateSize(),
          (this.swipeDirection = void 0),
          r.threshold > 0 && (s.allowThresholdMove = !1);
        let v = !0;
        o.matches(s.focusableElements) &&
          ((v = !1), "SELECT" === o.nodeName && (s.isTouched = !1)),
          t.activeElement &&
            t.activeElement.matches(s.focusableElements) &&
            t.activeElement !== o &&
            t.activeElement.blur();
        let w = v && this.allowTouchMove && r.touchStartPreventDefault;
        (r.touchStartForcePreventDefault || w) &&
          !o.isContentEditable &&
          n.preventDefault(),
          r.freeMode &&
            r.freeMode.enabled &&
            this.freeMode &&
            this.animating &&
            !r.cssMode &&
            this.freeMode.onTouchStart(),
          this.emit("touchStart", n);
      }
      function onTouchMove(e) {
        let t;
        let i = ssr_window_esm_getDocument(),
          s = this.touchEventsData,
          { params: r, touches: a, rtlTranslate: l, enabled: n } = this;
        if (!n || (!r.simulateTouch && "mouse" === e.pointerType)) return;
        let o = e;
        if ((o.originalEvent && (o = o.originalEvent), !s.isTouched)) {
          s.startMoving && s.isScrolling && this.emit("touchMoveOpposite", o);
          return;
        }
        let d = s.evCache.findIndex((e) => e.pointerId === o.pointerId);
        d >= 0 && (s.evCache[d] = o);
        let c = s.evCache.length > 1 ? s.evCache[0] : o,
          p = c.pageX,
          u = c.pageY;
        if (o.preventedByNestedSwiper) {
          (a.startX = p), (a.startY = u);
          return;
        }
        if (!this.allowTouchMove) {
          o.target.matches(s.focusableElements) || (this.allowClick = !1),
            s.isTouched &&
              (Object.assign(a, {
                startX: p,
                startY: u,
                prevX: this.touches.currentX,
                prevY: this.touches.currentY,
                currentX: p,
                currentY: u,
              }),
              (s.touchStartTime = utils_now()));
          return;
        }
        if (r.touchReleaseOnEdges && !r.loop) {
          if (this.isVertical()) {
            if (
              (u < a.startY && this.translate <= this.maxTranslate()) ||
              (u > a.startY && this.translate >= this.minTranslate())
            ) {
              (s.isTouched = !1), (s.isMoved = !1);
              return;
            }
          } else if (
            (p < a.startX && this.translate <= this.maxTranslate()) ||
            (p > a.startX && this.translate >= this.minTranslate())
          )
            return;
        }
        if (
          i.activeElement &&
          o.target === i.activeElement &&
          o.target.matches(s.focusableElements)
        ) {
          (s.isMoved = !0), (this.allowClick = !1);
          return;
        }
        if (
          (s.allowTouchCallbacks && this.emit("touchMove", o),
          o.targetTouches && o.targetTouches.length > 1)
        )
          return;
        (a.currentX = p), (a.currentY = u);
        let h = a.currentX - a.startX,
          m = a.currentY - a.startY;
        if (
          this.params.threshold &&
          Math.sqrt(h ** 2 + m ** 2) < this.params.threshold
        )
          return;
        if (void 0 === s.isScrolling) {
          let e;
          (this.isHorizontal() && a.currentY === a.startY) ||
          (this.isVertical() && a.currentX === a.startX)
            ? (s.isScrolling = !1)
            : h * h + m * m >= 25 &&
              ((e = (180 * Math.atan2(Math.abs(m), Math.abs(h))) / Math.PI),
              (s.isScrolling = this.isHorizontal()
                ? e > r.touchAngle
                : 90 - e > r.touchAngle));
        }
        if (
          (s.isScrolling && this.emit("touchMoveOpposite", o),
          void 0 === s.startMoving &&
            (a.currentX !== a.startX || a.currentY !== a.startY) &&
            (s.startMoving = !0),
          s.isScrolling ||
            (this.zoom &&
              this.params.zoom &&
              this.params.zoom.enabled &&
              s.evCache.length > 1))
        ) {
          s.isTouched = !1;
          return;
        }
        if (!s.startMoving) return;
        (this.allowClick = !1),
          !r.cssMode && o.cancelable && o.preventDefault(),
          r.touchMoveStopPropagation && !r.nested && o.stopPropagation();
        let f = this.isHorizontal() ? h : m,
          g = this.isHorizontal()
            ? a.currentX - a.previousX
            : a.currentY - a.previousY;
        r.oneWayMovement &&
          ((f = Math.abs(f) * (l ? 1 : -1)), (g = Math.abs(g) * (l ? 1 : -1))),
          (a.diff = f),
          (f *= r.touchRatio),
          l && ((f = -f), (g = -g));
        let v = this.touchesDirection;
        (this.swipeDirection = f > 0 ? "prev" : "next"),
          (this.touchesDirection = g > 0 ? "prev" : "next");
        let w = this.params.loop && !r.cssMode;
        if (!s.isMoved) {
          if (
            (w && this.loopFix({ direction: this.swipeDirection }),
            (s.startTranslate = this.getTranslate()),
            this.setTransition(0),
            this.animating)
          ) {
            let e = new window.CustomEvent("transitionend", {
              bubbles: !0,
              cancelable: !0,
            });
            this.wrapperEl.dispatchEvent(e);
          }
          (s.allowMomentumBounce = !1),
            r.grabCursor &&
              (!0 === this.allowSlideNext || !0 === this.allowSlidePrev) &&
              this.setGrabCursor(!0),
            this.emit("sliderFirstMove", o);
        }
        s.isMoved &&
          v !== this.touchesDirection &&
          w &&
          Math.abs(f) >= 1 &&
          (this.loopFix({ direction: this.swipeDirection, setTranslate: !0 }),
          (t = !0)),
          this.emit("sliderMove", o),
          (s.isMoved = !0),
          (s.currentTranslate = f + s.startTranslate);
        let b = !0,
          y = r.resistanceRatio;
        if (
          (r.touchReleaseOnEdges && (y = 0),
          f > 0
            ? (w &&
                !t &&
                s.currentTranslate >
                  (r.centeredSlides
                    ? this.minTranslate() - this.size / 2
                    : this.minTranslate()) &&
                this.loopFix({
                  direction: "prev",
                  setTranslate: !0,
                  activeSlideIndex: 0,
                }),
              s.currentTranslate > this.minTranslate() &&
                ((b = !1),
                r.resistance &&
                  (s.currentTranslate =
                    this.minTranslate() -
                    1 +
                    (-this.minTranslate() + s.startTranslate + f) ** y)))
            : f < 0 &&
              (w &&
                !t &&
                s.currentTranslate <
                  (r.centeredSlides
                    ? this.maxTranslate() + this.size / 2
                    : this.maxTranslate()) &&
                this.loopFix({
                  direction: "next",
                  setTranslate: !0,
                  activeSlideIndex:
                    this.slides.length -
                    ("auto" === r.slidesPerView
                      ? this.slidesPerViewDynamic()
                      : Math.ceil(parseFloat(r.slidesPerView, 10))),
                }),
              s.currentTranslate < this.maxTranslate() &&
                ((b = !1),
                r.resistance &&
                  (s.currentTranslate =
                    this.maxTranslate() +
                    1 -
                    (this.maxTranslate() - s.startTranslate - f) ** y))),
          b && (o.preventedByNestedSwiper = !0),
          !this.allowSlideNext &&
            "next" === this.swipeDirection &&
            s.currentTranslate < s.startTranslate &&
            (s.currentTranslate = s.startTranslate),
          !this.allowSlidePrev &&
            "prev" === this.swipeDirection &&
            s.currentTranslate > s.startTranslate &&
            (s.currentTranslate = s.startTranslate),
          this.allowSlidePrev ||
            this.allowSlideNext ||
            (s.currentTranslate = s.startTranslate),
          r.threshold > 0)
        ) {
          if (Math.abs(f) > r.threshold || s.allowThresholdMove) {
            if (!s.allowThresholdMove) {
              (s.allowThresholdMove = !0),
                (a.startX = a.currentX),
                (a.startY = a.currentY),
                (s.currentTranslate = s.startTranslate),
                (a.diff = this.isHorizontal()
                  ? a.currentX - a.startX
                  : a.currentY - a.startY);
              return;
            }
          } else {
            s.currentTranslate = s.startTranslate;
            return;
          }
        }
        r.followFinger &&
          !r.cssMode &&
          (((r.freeMode && r.freeMode.enabled && this.freeMode) ||
            r.watchSlidesProgress) &&
            (this.updateActiveIndex(), this.updateSlidesClasses()),
          r.freeMode &&
            r.freeMode.enabled &&
            this.freeMode &&
            this.freeMode.onTouchMove(),
          this.updateProgress(s.currentTranslate),
          this.setTranslate(s.currentTranslate));
      }
      function onTouchEnd(e) {
        let t;
        let i = this,
          s = i.touchEventsData,
          r = s.evCache.findIndex((t) => t.pointerId === e.pointerId);
        if (
          (r >= 0 && s.evCache.splice(r, 1),
          ["pointercancel", "pointerout", "pointerleave"].includes(e.type))
        ) {
          let t =
            "pointercancel" === e.type &&
            (i.browser.isSafari || i.browser.isWebView);
          if (!t) return;
        }
        let {
          params: a,
          touches: l,
          rtlTranslate: n,
          slidesGrid: o,
          enabled: d,
        } = i;
        if (!d || (!a.simulateTouch && "mouse" === e.pointerType)) return;
        let c = e;
        if (
          (c.originalEvent && (c = c.originalEvent),
          s.allowTouchCallbacks && i.emit("touchEnd", c),
          (s.allowTouchCallbacks = !1),
          !s.isTouched)
        ) {
          s.isMoved && a.grabCursor && i.setGrabCursor(!1),
            (s.isMoved = !1),
            (s.startMoving = !1);
          return;
        }
        a.grabCursor &&
          s.isMoved &&
          s.isTouched &&
          (!0 === i.allowSlideNext || !0 === i.allowSlidePrev) &&
          i.setGrabCursor(!1);
        let p = utils_now(),
          u = p - s.touchStartTime;
        if (i.allowClick) {
          let e = c.path || (c.composedPath && c.composedPath());
          i.updateClickedSlide((e && e[0]) || c.target),
            i.emit("tap click", c),
            u < 300 &&
              p - s.lastClickTime < 300 &&
              i.emit("doubleTap doubleClick", c);
        }
        if (
          ((s.lastClickTime = utils_now()),
          utils_nextTick(() => {
            i.destroyed || (i.allowClick = !0);
          }),
          !s.isTouched ||
            !s.isMoved ||
            !i.swipeDirection ||
            0 === l.diff ||
            s.currentTranslate === s.startTranslate)
        ) {
          (s.isTouched = !1), (s.isMoved = !1), (s.startMoving = !1);
          return;
        }
        if (
          ((s.isTouched = !1),
          (s.isMoved = !1),
          (s.startMoving = !1),
          (t = a.followFinger
            ? n
              ? i.translate
              : -i.translate
            : -s.currentTranslate),
          a.cssMode)
        )
          return;
        if (a.freeMode && a.freeMode.enabled) {
          i.freeMode.onTouchEnd({ currentPos: t });
          return;
        }
        let h = 0,
          m = i.slidesSizesGrid[0];
        for (
          let e = 0;
          e < o.length;
          e += e < a.slidesPerGroupSkip ? 1 : a.slidesPerGroup
        ) {
          let i = e < a.slidesPerGroupSkip - 1 ? 1 : a.slidesPerGroup;
          void 0 !== o[e + i]
            ? t >= o[e] && t < o[e + i] && ((h = e), (m = o[e + i] - o[e]))
            : t >= o[e] && ((h = e), (m = o[o.length - 1] - o[o.length - 2]));
        }
        let f = null,
          g = null;
        a.rewind &&
          (i.isBeginning
            ? (g =
                a.virtual && a.virtual.enabled && i.virtual
                  ? i.virtual.slides.length - 1
                  : i.slides.length - 1)
            : i.isEnd && (f = 0));
        let v = (t - o[h]) / m,
          w = h < a.slidesPerGroupSkip - 1 ? 1 : a.slidesPerGroup;
        if (u > a.longSwipesMs) {
          if (!a.longSwipes) {
            i.slideTo(i.activeIndex);
            return;
          }
          "next" === i.swipeDirection &&
            (v >= a.longSwipesRatio
              ? i.slideTo(a.rewind && i.isEnd ? f : h + w)
              : i.slideTo(h)),
            "prev" === i.swipeDirection &&
              (v > 1 - a.longSwipesRatio
                ? i.slideTo(h + w)
                : null !== g && v < 0 && Math.abs(v) > a.longSwipesRatio
                ? i.slideTo(g)
                : i.slideTo(h));
        } else {
          if (!a.shortSwipes) {
            i.slideTo(i.activeIndex);
            return;
          }
          let e =
            i.navigation &&
            (c.target === i.navigation.nextEl ||
              c.target === i.navigation.prevEl);
          e
            ? c.target === i.navigation.nextEl
              ? i.slideTo(h + w)
              : i.slideTo(h)
            : ("next" === i.swipeDirection && i.slideTo(null !== f ? f : h + w),
              "prev" === i.swipeDirection && i.slideTo(null !== g ? g : h));
        }
      }
      function onResize() {
        let e = this,
          { params: t, el: i } = e;
        if (i && 0 === i.offsetWidth) return;
        t.breakpoints && e.setBreakpoint();
        let { allowSlideNext: s, allowSlidePrev: r, snapGrid: a } = e,
          l = e.virtual && e.params.virtual.enabled;
        (e.allowSlideNext = !0),
          (e.allowSlidePrev = !0),
          e.updateSize(),
          e.updateSlides(),
          e.updateSlidesClasses();
        let n = l && t.loop;
        ("auto" !== t.slidesPerView && !(t.slidesPerView > 1)) ||
        !e.isEnd ||
        e.isBeginning ||
        e.params.centeredSlides ||
        n
          ? e.params.loop && !l
            ? e.slideToLoop(e.realIndex, 0, !1, !0)
            : e.slideTo(e.activeIndex, 0, !1, !0)
          : e.slideTo(e.slides.length - 1, 0, !1, !0),
          e.autoplay &&
            e.autoplay.running &&
            e.autoplay.paused &&
            (clearTimeout(e.autoplay.resizeTimeout),
            (e.autoplay.resizeTimeout = setTimeout(() => {
              e.autoplay &&
                e.autoplay.running &&
                e.autoplay.paused &&
                e.autoplay.resume();
            }, 500))),
          (e.allowSlidePrev = r),
          (e.allowSlideNext = s),
          e.params.watchOverflow && a !== e.snapGrid && e.checkOverflow();
      }
      function onClick(e) {
        this.enabled &&
          !this.allowClick &&
          (this.params.preventClicks && e.preventDefault(),
          this.params.preventClicksPropagation &&
            this.animating &&
            (e.stopPropagation(), e.stopImmediatePropagation()));
      }
      function onScroll() {
        let { wrapperEl: e, rtlTranslate: t, enabled: i } = this;
        if (!i) return;
        (this.previousTranslate = this.translate),
          this.isHorizontal()
            ? (this.translate = -e.scrollLeft)
            : (this.translate = -e.scrollTop),
          0 === this.translate && (this.translate = 0),
          this.updateActiveIndex(),
          this.updateSlidesClasses();
        let s = this.maxTranslate() - this.minTranslate();
        (0 === s ? 0 : (this.translate - this.minTranslate()) / s) !==
          this.progress &&
          this.updateProgress(t ? -this.translate : this.translate),
          this.emit("setTranslate", this.translate, !1);
      }
      function onLoad(e) {
        processLazyPreloader(this, e.target),
          !this.params.cssMode &&
            ("auto" === this.params.slidesPerView || this.params.autoHeight) &&
            this.update();
      }
      let o = !1;
      function dummyEventListener() {}
      let events = (e, t) => {
          let i = ssr_window_esm_getDocument(),
            { params: s, el: r, wrapperEl: a, device: l } = e,
            n = !!s.nested,
            o = "on" === t ? "addEventListener" : "removeEventListener";
          r[o]("pointerdown", e.onTouchStart, { passive: !1 }),
            i[o]("pointermove", e.onTouchMove, { passive: !1, capture: n }),
            i[o]("pointerup", e.onTouchEnd, { passive: !0 }),
            i[o]("pointercancel", e.onTouchEnd, { passive: !0 }),
            i[o]("pointerout", e.onTouchEnd, { passive: !0 }),
            i[o]("pointerleave", e.onTouchEnd, { passive: !0 }),
            (s.preventClicks || s.preventClicksPropagation) &&
              r[o]("click", e.onClick, !0),
            s.cssMode && a[o]("scroll", e.onScroll),
            s.updateOnWindowResize
              ? e[t](
                  l.ios || l.android
                    ? "resize orientationchange observerUpdate"
                    : "resize observerUpdate",
                  onResize,
                  !0
                )
              : e[t]("observerUpdate", onResize, !0),
            r[o]("load", e.onLoad, { capture: !0 });
        },
        isGridEnabled = (e, t) => e.grid && t.grid && t.grid.rows > 1;
      var d = {
        init: !0,
        direction: "horizontal",
        oneWayMovement: !1,
        touchEventsTarget: "wrapper",
        initialSlide: 0,
        speed: 300,
        cssMode: !1,
        updateOnWindowResize: !0,
        resizeObserver: !0,
        nested: !1,
        createElements: !1,
        enabled: !0,
        focusableElements:
          "input, select, option, textarea, button, video, label",
        width: null,
        height: null,
        preventInteractionOnTransition: !1,
        userAgent: null,
        url: null,
        edgeSwipeDetection: !1,
        edgeSwipeThreshold: 20,
        autoHeight: !1,
        setWrapperSize: !1,
        virtualTranslate: !1,
        effect: "slide",
        breakpoints: void 0,
        breakpointsBase: "window",
        spaceBetween: 0,
        slidesPerView: 1,
        slidesPerGroup: 1,
        slidesPerGroupSkip: 0,
        slidesPerGroupAuto: !1,
        centeredSlides: !1,
        centeredSlidesBounds: !1,
        slidesOffsetBefore: 0,
        slidesOffsetAfter: 0,
        normalizeSlideIndex: !0,
        centerInsufficientSlides: !1,
        watchOverflow: !0,
        roundLengths: !1,
        touchRatio: 1,
        touchAngle: 45,
        simulateTouch: !0,
        shortSwipes: !0,
        longSwipes: !0,
        longSwipesRatio: 0.5,
        longSwipesMs: 300,
        followFinger: !0,
        allowTouchMove: !0,
        threshold: 5,
        touchMoveStopPropagation: !1,
        touchStartPreventDefault: !0,
        touchStartForcePreventDefault: !1,
        touchReleaseOnEdges: !1,
        uniqueNavElements: !0,
        resistance: !0,
        resistanceRatio: 0.85,
        watchSlidesProgress: !1,
        grabCursor: !1,
        preventClicks: !0,
        preventClicksPropagation: !0,
        slideToClickedSlide: !1,
        loop: !1,
        loopedSlides: null,
        loopPreventsSliding: !0,
        rewind: !1,
        allowSlidePrev: !0,
        allowSlideNext: !0,
        swipeHandler: null,
        noSwiping: !0,
        noSwipingClass: "swiper-no-swiping",
        noSwipingSelector: null,
        passiveListeners: !0,
        maxBackfaceHiddenSlides: 10,
        containerModifierClass: "swiper-",
        slideClass: "swiper-slide",
        slideActiveClass: "swiper-slide-active",
        slideVisibleClass: "swiper-slide-visible",
        slideNextClass: "swiper-slide-next",
        slidePrevClass: "swiper-slide-prev",
        wrapperClass: "swiper-wrapper",
        lazyPreloaderClass: "swiper-lazy-preloader",
        lazyPreloadPrevNext: 0,
        runCallbacksOnInit: !0,
        _emitClasses: !1,
      };
      let c = {
          eventsEmitter: {
            on(e, t, i) {
              let s = this;
              if (!s.eventsListeners || s.destroyed || "function" != typeof t)
                return s;
              let r = i ? "unshift" : "push";
              return (
                e.split(" ").forEach((e) => {
                  s.eventsListeners[e] || (s.eventsListeners[e] = []),
                    s.eventsListeners[e][r](t);
                }),
                s
              );
            },
            once(e, t, i) {
              let s = this;
              if (!s.eventsListeners || s.destroyed || "function" != typeof t)
                return s;
              function onceHandler(...i) {
                s.off(e, onceHandler),
                  onceHandler.__emitterProxy &&
                    delete onceHandler.__emitterProxy,
                  t.apply(s, i);
              }
              return (onceHandler.__emitterProxy = t), s.on(e, onceHandler, i);
            },
            onAny(e, t) {
              return (
                !this.eventsListeners ||
                  this.destroyed ||
                  "function" != typeof e ||
                  (0 > this.eventsAnyListeners.indexOf(e) &&
                    this.eventsAnyListeners[t ? "unshift" : "push"](e)),
                this
              );
            },
            offAny(e) {
              if (
                !this.eventsListeners ||
                this.destroyed ||
                !this.eventsAnyListeners
              )
                return this;
              let t = this.eventsAnyListeners.indexOf(e);
              return t >= 0 && this.eventsAnyListeners.splice(t, 1), this;
            },
            off(e, t) {
              let i = this;
              return (
                i.eventsListeners &&
                  !i.destroyed &&
                  i.eventsListeners &&
                  e.split(" ").forEach((e) => {
                    void 0 === t
                      ? (i.eventsListeners[e] = [])
                      : i.eventsListeners[e] &&
                        i.eventsListeners[e].forEach((s, r) => {
                          (s === t ||
                            (s.__emitterProxy && s.__emitterProxy === t)) &&
                            i.eventsListeners[e].splice(r, 1);
                        });
                  }),
                i
              );
            },
            emit(...e) {
              let t, i, s;
              let r = this;
              if (!r.eventsListeners || r.destroyed || !r.eventsListeners)
                return r;
              "string" == typeof e[0] || Array.isArray(e[0])
                ? ((t = e[0]), (i = e.slice(1, e.length)), (s = r))
                : ((t = e[0].events), (i = e[0].data), (s = e[0].context || r)),
                i.unshift(s);
              let a = Array.isArray(t) ? t : t.split(" ");
              return (
                a.forEach((e) => {
                  r.eventsAnyListeners &&
                    r.eventsAnyListeners.length &&
                    r.eventsAnyListeners.forEach((t) => {
                      t.apply(s, [e, ...i]);
                    }),
                    r.eventsListeners &&
                      r.eventsListeners[e] &&
                      r.eventsListeners[e].forEach((e) => {
                        e.apply(s, i);
                      });
                }),
                r
              );
            },
          },
          update: {
            updateSize: function () {
              let e, t;
              let i = this.el;
              (e =
                void 0 !== this.params.width && null !== this.params.width
                  ? this.params.width
                  : i.clientWidth),
                (t =
                  void 0 !== this.params.height && null !== this.params.height
                    ? this.params.height
                    : i.clientHeight),
                (0 === e && this.isHorizontal()) ||
                  (0 === t && this.isVertical()) ||
                  ((e =
                    e -
                    parseInt(elementStyle(i, "padding-left") || 0, 10) -
                    parseInt(elementStyle(i, "padding-right") || 0, 10)),
                  (t =
                    t -
                    parseInt(elementStyle(i, "padding-top") || 0, 10) -
                    parseInt(elementStyle(i, "padding-bottom") || 0, 10)),
                  Number.isNaN(e) && (e = 0),
                  Number.isNaN(t) && (t = 0),
                  Object.assign(this, {
                    width: e,
                    height: t,
                    size: this.isHorizontal() ? e : t,
                  }));
            },
            updateSlides: function () {
              let e;
              let t = this;
              function getDirectionLabel(e) {
                return t.isHorizontal()
                  ? e
                  : {
                      width: "height",
                      "margin-top": "margin-left",
                      "margin-bottom ": "margin-right",
                      "margin-left": "margin-top",
                      "margin-right": "margin-bottom",
                      "padding-left": "padding-top",
                      "padding-right": "padding-bottom",
                      marginRight: "marginBottom",
                    }[e];
              }
              function getDirectionPropertyValue(e, t) {
                return parseFloat(
                  e.getPropertyValue(getDirectionLabel(t)) || 0
                );
              }
              let i = t.params,
                {
                  wrapperEl: s,
                  slidesEl: r,
                  size: a,
                  rtlTranslate: l,
                  wrongRTL: n,
                } = t,
                o = t.virtual && i.virtual.enabled,
                d = o ? t.virtual.slides.length : t.slides.length,
                c = utils_elementChildren(
                  r,
                  `.${t.params.slideClass}, swiper-slide`
                ),
                p = o ? t.virtual.slides.length : c.length,
                u = [],
                h = [],
                m = [],
                f = i.slidesOffsetBefore;
              "function" == typeof f && (f = i.slidesOffsetBefore.call(t));
              let g = i.slidesOffsetAfter;
              "function" == typeof g && (g = i.slidesOffsetAfter.call(t));
              let v = t.snapGrid.length,
                w = t.slidesGrid.length,
                b = i.spaceBetween,
                y = -f,
                S = 0,
                E = 0;
              if (void 0 === a) return;
              "string" == typeof b && b.indexOf("%") >= 0
                ? (b = (parseFloat(b.replace("%", "")) / 100) * a)
                : "string" == typeof b && (b = parseFloat(b)),
                (t.virtualSize = -b),
                c.forEach((e) => {
                  l ? (e.style.marginLeft = "") : (e.style.marginRight = ""),
                    (e.style.marginBottom = ""),
                    (e.style.marginTop = "");
                }),
                i.centeredSlides &&
                  i.cssMode &&
                  (utils_setCSSProperty(
                    s,
                    "--swiper-centered-offset-before",
                    ""
                  ),
                  utils_setCSSProperty(
                    s,
                    "--swiper-centered-offset-after",
                    ""
                  ));
              let T = i.grid && i.grid.rows > 1 && t.grid;
              T && t.grid.initSlides(p);
              let x =
                "auto" === i.slidesPerView &&
                i.breakpoints &&
                Object.keys(i.breakpoints).filter(
                  (e) => void 0 !== i.breakpoints[e].slidesPerView
                ).length > 0;
              for (let s = 0; s < p; s += 1) {
                let r;
                if (
                  ((e = 0),
                  c[s] && (r = c[s]),
                  T && t.grid.updateSlide(s, r, p, getDirectionLabel),
                  !c[s] || "none" !== elementStyle(r, "display"))
                ) {
                  if ("auto" === i.slidesPerView) {
                    x && (c[s].style[getDirectionLabel("width")] = "");
                    let a = getComputedStyle(r),
                      l = r.style.transform,
                      n = r.style.webkitTransform;
                    if (
                      (l && (r.style.transform = "none"),
                      n && (r.style.webkitTransform = "none"),
                      i.roundLengths)
                    )
                      e = t.isHorizontal()
                        ? elementOuterSize(r, "width", !0)
                        : elementOuterSize(r, "height", !0);
                    else {
                      let t = getDirectionPropertyValue(a, "width"),
                        i = getDirectionPropertyValue(a, "padding-left"),
                        s = getDirectionPropertyValue(a, "padding-right"),
                        l = getDirectionPropertyValue(a, "margin-left"),
                        n = getDirectionPropertyValue(a, "margin-right"),
                        o = a.getPropertyValue("box-sizing");
                      if (o && "border-box" === o) e = t + l + n;
                      else {
                        let { clientWidth: a, offsetWidth: o } = r;
                        e = t + i + s + l + n + (o - a);
                      }
                    }
                    l && (r.style.transform = l),
                      n && (r.style.webkitTransform = n),
                      i.roundLengths && (e = Math.floor(e));
                  } else
                    (e = (a - (i.slidesPerView - 1) * b) / i.slidesPerView),
                      i.roundLengths && (e = Math.floor(e)),
                      c[s] &&
                        (c[s].style[getDirectionLabel("width")] = `${e}px`);
                  c[s] && (c[s].swiperSlideSize = e),
                    m.push(e),
                    i.centeredSlides
                      ? ((y = y + e / 2 + S / 2 + b),
                        0 === S && 0 !== s && (y = y - a / 2 - b),
                        0 === s && (y = y - a / 2 - b),
                        0.001 > Math.abs(y) && (y = 0),
                        i.roundLengths && (y = Math.floor(y)),
                        E % i.slidesPerGroup == 0 && u.push(y),
                        h.push(y))
                      : (i.roundLengths && (y = Math.floor(y)),
                        (E - Math.min(t.params.slidesPerGroupSkip, E)) %
                          t.params.slidesPerGroup ==
                          0 && u.push(y),
                        h.push(y),
                        (y = y + e + b)),
                    (t.virtualSize += e + b),
                    (S = e),
                    (E += 1);
                }
              }
              if (
                ((t.virtualSize = Math.max(t.virtualSize, a) + g),
                l &&
                  n &&
                  ("slide" === i.effect || "coverflow" === i.effect) &&
                  (s.style.width = `${t.virtualSize + b}px`),
                i.setWrapperSize &&
                  (s.style[getDirectionLabel("width")] = `${
                    t.virtualSize + b
                  }px`),
                T && t.grid.updateWrapperSize(e, u, getDirectionLabel),
                !i.centeredSlides)
              ) {
                let e = [];
                for (let s = 0; s < u.length; s += 1) {
                  let r = u[s];
                  i.roundLengths && (r = Math.floor(r)),
                    u[s] <= t.virtualSize - a && e.push(r);
                }
                (u = e),
                  Math.floor(t.virtualSize - a) - Math.floor(u[u.length - 1]) >
                    1 && u.push(t.virtualSize - a);
              }
              if (o && i.loop) {
                let e = m[0] + b;
                if (i.slidesPerGroup > 1) {
                  let s = Math.ceil(
                      (t.virtual.slidesBefore + t.virtual.slidesAfter) /
                        i.slidesPerGroup
                    ),
                    r = e * i.slidesPerGroup;
                  for (let e = 0; e < s; e += 1) u.push(u[u.length - 1] + r);
                }
                for (
                  let s = 0;
                  s < t.virtual.slidesBefore + t.virtual.slidesAfter;
                  s += 1
                )
                  1 === i.slidesPerGroup && u.push(u[u.length - 1] + e),
                    h.push(h[h.length - 1] + e),
                    (t.virtualSize += e);
              }
              if ((0 === u.length && (u = [0]), 0 !== b)) {
                let e =
                  t.isHorizontal() && l
                    ? "marginLeft"
                    : getDirectionLabel("marginRight");
                c.filter(
                  (e, t) => !i.cssMode || !!i.loop || t !== c.length - 1
                ).forEach((t) => {
                  t.style[e] = `${b}px`;
                });
              }
              if (i.centeredSlides && i.centeredSlidesBounds) {
                let e = 0;
                m.forEach((t) => {
                  e += t + (b || 0);
                }),
                  (e -= b);
                let t = e - a;
                u = u.map((e) => (e <= 0 ? -f : e > t ? t + g : e));
              }
              if (i.centerInsufficientSlides) {
                let e = 0;
                if (
                  (m.forEach((t) => {
                    e += t + (b || 0);
                  }),
                  (e -= b) < a)
                ) {
                  let t = (a - e) / 2;
                  u.forEach((e, i) => {
                    u[i] = e - t;
                  }),
                    h.forEach((e, i) => {
                      h[i] = e + t;
                    });
                }
              }
              if (
                (Object.assign(t, {
                  slides: c,
                  snapGrid: u,
                  slidesGrid: h,
                  slidesSizesGrid: m,
                }),
                i.centeredSlides && i.cssMode && !i.centeredSlidesBounds)
              ) {
                utils_setCSSProperty(
                  s,
                  "--swiper-centered-offset-before",
                  `${-u[0]}px`
                ),
                  utils_setCSSProperty(
                    s,
                    "--swiper-centered-offset-after",
                    `${t.size / 2 - m[m.length - 1] / 2}px`
                  );
                let e = -t.snapGrid[0],
                  i = -t.slidesGrid[0];
                (t.snapGrid = t.snapGrid.map((t) => t + e)),
                  (t.slidesGrid = t.slidesGrid.map((e) => e + i));
              }
              if (
                (p !== d && t.emit("slidesLengthChange"),
                u.length !== v &&
                  (t.params.watchOverflow && t.checkOverflow(),
                  t.emit("snapGridLengthChange")),
                h.length !== w && t.emit("slidesGridLengthChange"),
                i.watchSlidesProgress && t.updateSlidesOffset(),
                !o &&
                  !i.cssMode &&
                  ("slide" === i.effect || "fade" === i.effect))
              ) {
                let e = `${i.containerModifierClass}backface-hidden`,
                  s = t.el.classList.contains(e);
                p <= i.maxBackfaceHiddenSlides
                  ? s || t.el.classList.add(e)
                  : s && t.el.classList.remove(e);
              }
            },
            updateAutoHeight: function (e) {
              let t;
              let i = this,
                s = [],
                r = i.virtual && i.params.virtual.enabled,
                a = 0;
              "number" == typeof e
                ? i.setTransition(e)
                : !0 === e && i.setTransition(i.params.speed);
              let getSlideByIndex = (e) =>
                r ? i.slides[i.getSlideIndexByData(e)] : i.slides[e];
              if (
                "auto" !== i.params.slidesPerView &&
                i.params.slidesPerView > 1
              ) {
                if (i.params.centeredSlides)
                  (i.visibleSlides || []).forEach((e) => {
                    s.push(e);
                  });
                else
                  for (t = 0; t < Math.ceil(i.params.slidesPerView); t += 1) {
                    let e = i.activeIndex + t;
                    if (e > i.slides.length && !r) break;
                    s.push(getSlideByIndex(e));
                  }
              } else s.push(getSlideByIndex(i.activeIndex));
              for (t = 0; t < s.length; t += 1)
                if (void 0 !== s[t]) {
                  let e = s[t].offsetHeight;
                  a = e > a ? e : a;
                }
              (a || 0 === a) && (i.wrapperEl.style.height = `${a}px`);
            },
            updateSlidesOffset: function () {
              let e = this.slides,
                t = this.isElement
                  ? this.isHorizontal()
                    ? this.wrapperEl.offsetLeft
                    : this.wrapperEl.offsetTop
                  : 0;
              for (let i = 0; i < e.length; i += 1)
                e[i].swiperSlideOffset =
                  (this.isHorizontal() ? e[i].offsetLeft : e[i].offsetTop) -
                  t -
                  this.cssOverflowAdjustment();
            },
            updateSlidesProgress: function (e = (this && this.translate) || 0) {
              let t = this.params,
                { slides: i, rtlTranslate: s, snapGrid: r } = this;
              if (0 === i.length) return;
              void 0 === i[0].swiperSlideOffset && this.updateSlidesOffset();
              let a = -e;
              s && (a = e),
                i.forEach((e) => {
                  e.classList.remove(t.slideVisibleClass);
                }),
                (this.visibleSlidesIndexes = []),
                (this.visibleSlides = []);
              let l = t.spaceBetween;
              "string" == typeof l && l.indexOf("%") >= 0
                ? (l = (parseFloat(l.replace("%", "")) / 100) * this.size)
                : "string" == typeof l && (l = parseFloat(l));
              for (let e = 0; e < i.length; e += 1) {
                let n = i[e],
                  o = n.swiperSlideOffset;
                t.cssMode && t.centeredSlides && (o -= i[0].swiperSlideOffset);
                let d =
                    (a + (t.centeredSlides ? this.minTranslate() : 0) - o) /
                    (n.swiperSlideSize + l),
                  c =
                    (a -
                      r[0] +
                      (t.centeredSlides ? this.minTranslate() : 0) -
                      o) /
                    (n.swiperSlideSize + l),
                  p = -(a - o),
                  u = p + this.slidesSizesGrid[e],
                  h =
                    (p >= 0 && p < this.size - 1) ||
                    (u > 1 && u <= this.size) ||
                    (p <= 0 && u >= this.size);
                h &&
                  (this.visibleSlides.push(n),
                  this.visibleSlidesIndexes.push(e),
                  i[e].classList.add(t.slideVisibleClass)),
                  (n.progress = s ? -d : d),
                  (n.originalProgress = s ? -c : c);
              }
            },
            updateProgress: function (e) {
              if (void 0 === e) {
                let t = this.rtlTranslate ? -1 : 1;
                e = (this && this.translate && this.translate * t) || 0;
              }
              let t = this.params,
                i = this.maxTranslate() - this.minTranslate(),
                {
                  progress: s,
                  isBeginning: r,
                  isEnd: a,
                  progressLoop: l,
                } = this,
                n = r,
                o = a;
              if (0 === i) (s = 0), (r = !0), (a = !0);
              else {
                s = (e - this.minTranslate()) / i;
                let t = 1 > Math.abs(e - this.minTranslate()),
                  l = 1 > Math.abs(e - this.maxTranslate());
                (r = t || s <= 0),
                  (a = l || s >= 1),
                  t && (s = 0),
                  l && (s = 1);
              }
              if (t.loop) {
                let t = this.getSlideIndexByData(0),
                  i = this.getSlideIndexByData(this.slides.length - 1),
                  s = this.slidesGrid[t],
                  r = this.slidesGrid[i],
                  a = this.slidesGrid[this.slidesGrid.length - 1],
                  n = Math.abs(e);
                (l = n >= s ? (n - s) / a : (n + a - r) / a) > 1 && (l -= 1);
              }
              Object.assign(this, {
                progress: s,
                progressLoop: l,
                isBeginning: r,
                isEnd: a,
              }),
                (t.watchSlidesProgress || (t.centeredSlides && t.autoHeight)) &&
                  this.updateSlidesProgress(e),
                r && !n && this.emit("reachBeginning toEdge"),
                a && !o && this.emit("reachEnd toEdge"),
                ((n && !r) || (o && !a)) && this.emit("fromEdge"),
                this.emit("progress", s);
            },
            updateSlidesClasses: function () {
              let e;
              let { slides: t, params: i, slidesEl: s, activeIndex: r } = this,
                a = this.virtual && i.virtual.enabled,
                getFilteredSlide = (e) =>
                  utils_elementChildren(
                    s,
                    `.${i.slideClass}${e}, swiper-slide${e}`
                  )[0];
              if (
                (t.forEach((e) => {
                  e.classList.remove(
                    i.slideActiveClass,
                    i.slideNextClass,
                    i.slidePrevClass
                  );
                }),
                a)
              ) {
                if (i.loop) {
                  let t = r - this.virtual.slidesBefore;
                  t < 0 && (t = this.virtual.slides.length + t),
                    t >= this.virtual.slides.length &&
                      (t -= this.virtual.slides.length),
                    (e = getFilteredSlide(`[data-swiper-slide-index="${t}"]`));
                } else e = getFilteredSlide(`[data-swiper-slide-index="${r}"]`);
              } else e = t[r];
              if (e) {
                e.classList.add(i.slideActiveClass);
                let s = (function (e, t) {
                  let i = [];
                  for (; e.nextElementSibling; ) {
                    let s = e.nextElementSibling;
                    t ? s.matches(t) && i.push(s) : i.push(s), (e = s);
                  }
                  return i;
                })(e, `.${i.slideClass}, swiper-slide`)[0];
                i.loop && !s && (s = t[0]),
                  s && s.classList.add(i.slideNextClass);
                let r = (function (e, t) {
                  let i = [];
                  for (; e.previousElementSibling; ) {
                    let s = e.previousElementSibling;
                    t ? s.matches(t) && i.push(s) : i.push(s), (e = s);
                  }
                  return i;
                })(e, `.${i.slideClass}, swiper-slide`)[0];
                i.loop, r && r.classList.add(i.slidePrevClass);
              }
              this.emitSlidesClasses();
            },
            updateActiveIndex: function (e) {
              let t, i;
              let s = this,
                r = s.rtlTranslate ? s.translate : -s.translate,
                {
                  snapGrid: a,
                  params: l,
                  activeIndex: n,
                  realIndex: o,
                  snapIndex: d,
                } = s,
                c = e,
                getVirtualRealIndex = (e) => {
                  let t = e - s.virtual.slidesBefore;
                  return (
                    t < 0 && (t = s.virtual.slides.length + t),
                    t >= s.virtual.slides.length &&
                      (t -= s.virtual.slides.length),
                    t
                  );
                };
              if (
                (void 0 === c &&
                  (c = (function (e) {
                    let t;
                    let { slidesGrid: i, params: s } = e,
                      r = e.rtlTranslate ? e.translate : -e.translate;
                    for (let e = 0; e < i.length; e += 1)
                      void 0 !== i[e + 1]
                        ? r >= i[e] && r < i[e + 1] - (i[e + 1] - i[e]) / 2
                          ? (t = e)
                          : r >= i[e] && r < i[e + 1] && (t = e + 1)
                        : r >= i[e] && (t = e);
                    return (
                      s.normalizeSlideIndex &&
                        (t < 0 || void 0 === t) &&
                        (t = 0),
                      t
                    );
                  })(s)),
                a.indexOf(r) >= 0)
              )
                t = a.indexOf(r);
              else {
                let e = Math.min(l.slidesPerGroupSkip, c);
                t = e + Math.floor((c - e) / l.slidesPerGroup);
              }
              if ((t >= a.length && (t = a.length - 1), c === n)) {
                t !== d && ((s.snapIndex = t), s.emit("snapIndexChange")),
                  s.params.loop &&
                    s.virtual &&
                    s.params.virtual.enabled &&
                    (s.realIndex = getVirtualRealIndex(c));
                return;
              }
              (i =
                s.virtual && l.virtual.enabled && l.loop
                  ? getVirtualRealIndex(c)
                  : s.slides[c]
                  ? parseInt(
                      s.slides[c].getAttribute("data-swiper-slide-index") || c,
                      10
                    )
                  : c),
                Object.assign(s, {
                  previousSnapIndex: d,
                  snapIndex: t,
                  previousRealIndex: o,
                  realIndex: i,
                  previousIndex: n,
                  activeIndex: c,
                }),
                s.initialized && preload(s),
                s.emit("activeIndexChange"),
                s.emit("snapIndexChange"),
                o !== i && s.emit("realIndexChange"),
                (s.initialized || s.params.runCallbacksOnInit) &&
                  s.emit("slideChange");
            },
            updateClickedSlide: function (e) {
              let t;
              let i = this.params,
                s = e.closest(`.${i.slideClass}, swiper-slide`),
                r = !1;
              if (s) {
                for (let e = 0; e < this.slides.length; e += 1)
                  if (this.slides[e] === s) {
                    (r = !0), (t = e);
                    break;
                  }
              }
              if (s && r)
                (this.clickedSlide = s),
                  this.virtual && this.params.virtual.enabled
                    ? (this.clickedIndex = parseInt(
                        s.getAttribute("data-swiper-slide-index"),
                        10
                      ))
                    : (this.clickedIndex = t);
              else {
                (this.clickedSlide = void 0), (this.clickedIndex = void 0);
                return;
              }
              i.slideToClickedSlide &&
                void 0 !== this.clickedIndex &&
                this.clickedIndex !== this.activeIndex &&
                this.slideToClickedSlide();
            },
          },
          translate: {
            getTranslate: function (e = this.isHorizontal() ? "x" : "y") {
              let {
                params: t,
                rtlTranslate: i,
                translate: s,
                wrapperEl: r,
              } = this;
              if (t.virtualTranslate) return i ? -s : s;
              if (t.cssMode) return s;
              let a = (function (e, t = "x") {
                let i, s, r;
                let a = ssr_window_esm_getWindow(),
                  l = (function (e) {
                    let t;
                    let i = ssr_window_esm_getWindow();
                    return (
                      i.getComputedStyle && (t = i.getComputedStyle(e, null)),
                      !t && e.currentStyle && (t = e.currentStyle),
                      t || (t = e.style),
                      t
                    );
                  })(e, null);
                return (
                  a.WebKitCSSMatrix
                    ? ((s = l.transform || l.webkitTransform).split(",")
                        .length > 6 &&
                        (s = s
                          .split(", ")
                          .map((e) => e.replace(",", "."))
                          .join(", ")),
                      (r = new a.WebKitCSSMatrix("none" === s ? "" : s)))
                    : (i = (r =
                        l.MozTransform ||
                        l.OTransform ||
                        l.MsTransform ||
                        l.msTransform ||
                        l.transform ||
                        l
                          .getPropertyValue("transform")
                          .replace("translate(", "matrix(1, 0, 0, 1,"))
                        .toString()
                        .split(",")),
                  "x" === t &&
                    (s = a.WebKitCSSMatrix
                      ? r.m41
                      : 16 === i.length
                      ? parseFloat(i[12])
                      : parseFloat(i[4])),
                  "y" === t &&
                    (s = a.WebKitCSSMatrix
                      ? r.m42
                      : 16 === i.length
                      ? parseFloat(i[13])
                      : parseFloat(i[5])),
                  s || 0
                );
              })(r, e);
              return (a += this.cssOverflowAdjustment()), i && (a = -a), a || 0;
            },
            setTranslate: function (e, t) {
              let {
                  rtlTranslate: i,
                  params: s,
                  wrapperEl: r,
                  progress: a,
                } = this,
                l = 0,
                n = 0;
              this.isHorizontal() ? (l = i ? -e : e) : (n = e),
                s.roundLengths && ((l = Math.floor(l)), (n = Math.floor(n))),
                (this.previousTranslate = this.translate),
                (this.translate = this.isHorizontal() ? l : n),
                s.cssMode
                  ? (r[this.isHorizontal() ? "scrollLeft" : "scrollTop"] =
                      this.isHorizontal() ? -l : -n)
                  : s.virtualTranslate ||
                    (this.isHorizontal()
                      ? (l -= this.cssOverflowAdjustment())
                      : (n -= this.cssOverflowAdjustment()),
                    (r.style.transform = `translate3d(${l}px, ${n}px, 0px)`));
              let o = this.maxTranslate() - this.minTranslate();
              (0 === o ? 0 : (e - this.minTranslate()) / o) !== a &&
                this.updateProgress(e),
                this.emit("setTranslate", this.translate, t);
            },
            minTranslate: function () {
              return -this.snapGrid[0];
            },
            maxTranslate: function () {
              return -this.snapGrid[this.snapGrid.length - 1];
            },
            translateTo: function (
              e = 0,
              t = this.params.speed,
              i = !0,
              s = !0,
              r
            ) {
              let a;
              let l = this,
                { params: n, wrapperEl: o } = l;
              if (l.animating && n.preventInteractionOnTransition) return !1;
              let d = l.minTranslate(),
                c = l.maxTranslate();
              if (
                ((a = s && e > d ? d : s && e < c ? c : e),
                l.updateProgress(a),
                n.cssMode)
              ) {
                let e = l.isHorizontal();
                if (0 === t) o[e ? "scrollLeft" : "scrollTop"] = -a;
                else {
                  if (!l.support.smoothScroll)
                    return (
                      animateCSSModeScroll({
                        swiper: l,
                        targetPosition: -a,
                        side: e ? "left" : "top",
                      }),
                      !0
                    );
                  o.scrollTo({ [e ? "left" : "top"]: -a, behavior: "smooth" });
                }
                return !0;
              }
              return (
                0 === t
                  ? (l.setTransition(0),
                    l.setTranslate(a),
                    i &&
                      (l.emit("beforeTransitionStart", t, r),
                      l.emit("transitionEnd")))
                  : (l.setTransition(t),
                    l.setTranslate(a),
                    i &&
                      (l.emit("beforeTransitionStart", t, r),
                      l.emit("transitionStart")),
                    l.animating ||
                      ((l.animating = !0),
                      l.onTranslateToWrapperTransitionEnd ||
                        (l.onTranslateToWrapperTransitionEnd = function (e) {
                          l &&
                            !l.destroyed &&
                            e.target === this &&
                            (l.wrapperEl.removeEventListener(
                              "transitionend",
                              l.onTranslateToWrapperTransitionEnd
                            ),
                            (l.onTranslateToWrapperTransitionEnd = null),
                            delete l.onTranslateToWrapperTransitionEnd,
                            i && l.emit("transitionEnd"));
                        }),
                      l.wrapperEl.addEventListener(
                        "transitionend",
                        l.onTranslateToWrapperTransitionEnd
                      ))),
                !0
              );
            },
          },
          transition: {
            setTransition: function (e, t) {
              this.params.cssMode ||
                (this.wrapperEl.style.transitionDuration = `${e}ms`),
                this.emit("setTransition", e, t);
            },
            transitionStart: function (e = !0, t) {
              let { params: i } = this;
              i.cssMode ||
                (i.autoHeight && this.updateAutoHeight(),
                transitionEmit({
                  swiper: this,
                  runCallbacks: e,
                  direction: t,
                  step: "Start",
                }));
            },
            transitionEnd: function (e = !0, t) {
              let { params: i } = this;
              (this.animating = !1),
                i.cssMode ||
                  (this.setTransition(0),
                  transitionEmit({
                    swiper: this,
                    runCallbacks: e,
                    direction: t,
                    step: "End",
                  }));
            },
          },
          slide: {
            slideTo: function (e = 0, t = this.params.speed, i = !0, s, r) {
              let a;
              "string" == typeof e && (e = parseInt(e, 10));
              let l = this,
                n = e;
              n < 0 && (n = 0);
              let {
                params: o,
                snapGrid: d,
                slidesGrid: c,
                previousIndex: p,
                activeIndex: u,
                rtlTranslate: h,
                wrapperEl: m,
                enabled: f,
              } = l;
              if (
                (l.animating && o.preventInteractionOnTransition) ||
                (!f && !s && !r)
              )
                return !1;
              let g = Math.min(l.params.slidesPerGroupSkip, n),
                v = g + Math.floor((n - g) / l.params.slidesPerGroup);
              v >= d.length && (v = d.length - 1);
              let w = -d[v];
              if (o.normalizeSlideIndex)
                for (let e = 0; e < c.length; e += 1) {
                  let t = -Math.floor(100 * w),
                    i = Math.floor(100 * c[e]),
                    s = Math.floor(100 * c[e + 1]);
                  void 0 !== c[e + 1]
                    ? t >= i && t < s - (s - i) / 2
                      ? (n = e)
                      : t >= i && t < s && (n = e + 1)
                    : t >= i && (n = e);
                }
              if (
                l.initialized &&
                n !== u &&
                ((!l.allowSlideNext &&
                  (h
                    ? w > l.translate && w > l.minTranslate()
                    : w < l.translate && w < l.minTranslate())) ||
                  (!l.allowSlidePrev &&
                    w > l.translate &&
                    w > l.maxTranslate() &&
                    (u || 0) !== n))
              )
                return !1;
              if (
                (n !== (p || 0) && i && l.emit("beforeSlideChangeStart"),
                l.updateProgress(w),
                (a = n > u ? "next" : n < u ? "prev" : "reset"),
                (h && -w === l.translate) || (!h && w === l.translate))
              )
                return (
                  l.updateActiveIndex(n),
                  o.autoHeight && l.updateAutoHeight(),
                  l.updateSlidesClasses(),
                  "slide" !== o.effect && l.setTranslate(w),
                  "reset" !== a &&
                    (l.transitionStart(i, a), l.transitionEnd(i, a)),
                  !1
                );
              if (o.cssMode) {
                let e = l.isHorizontal(),
                  i = h ? w : -w;
                if (0 === t) {
                  let t = l.virtual && l.params.virtual.enabled;
                  t &&
                    ((l.wrapperEl.style.scrollSnapType = "none"),
                    (l._immediateVirtual = !0)),
                    t &&
                    !l._cssModeVirtualInitialSet &&
                    l.params.initialSlide > 0
                      ? ((l._cssModeVirtualInitialSet = !0),
                        requestAnimationFrame(() => {
                          m[e ? "scrollLeft" : "scrollTop"] = i;
                        }))
                      : (m[e ? "scrollLeft" : "scrollTop"] = i),
                    t &&
                      requestAnimationFrame(() => {
                        (l.wrapperEl.style.scrollSnapType = ""),
                          (l._immediateVirtual = !1);
                      });
                } else {
                  if (!l.support.smoothScroll)
                    return (
                      animateCSSModeScroll({
                        swiper: l,
                        targetPosition: i,
                        side: e ? "left" : "top",
                      }),
                      !0
                    );
                  m.scrollTo({ [e ? "left" : "top"]: i, behavior: "smooth" });
                }
                return !0;
              }
              return (
                l.setTransition(t),
                l.setTranslate(w),
                l.updateActiveIndex(n),
                l.updateSlidesClasses(),
                l.emit("beforeTransitionStart", t, s),
                l.transitionStart(i, a),
                0 === t
                  ? l.transitionEnd(i, a)
                  : l.animating ||
                    ((l.animating = !0),
                    l.onSlideToWrapperTransitionEnd ||
                      (l.onSlideToWrapperTransitionEnd = function (e) {
                        l &&
                          !l.destroyed &&
                          e.target === this &&
                          (l.wrapperEl.removeEventListener(
                            "transitionend",
                            l.onSlideToWrapperTransitionEnd
                          ),
                          (l.onSlideToWrapperTransitionEnd = null),
                          delete l.onSlideToWrapperTransitionEnd,
                          l.transitionEnd(i, a));
                      }),
                    l.wrapperEl.addEventListener(
                      "transitionend",
                      l.onSlideToWrapperTransitionEnd
                    )),
                !0
              );
            },
            slideToLoop: function (e = 0, t = this.params.speed, i = !0, s) {
              if ("string" == typeof e) {
                let t = parseInt(e, 10);
                e = t;
              }
              let r = e;
              return (
                this.params.loop &&
                  (this.virtual && this.params.virtual.enabled
                    ? (r += this.virtual.slidesBefore)
                    : (r = this.getSlideIndexByData(r))),
                this.slideTo(r, t, i, s)
              );
            },
            slideNext: function (e = this.params.speed, t = !0, i) {
              let { enabled: s, params: r, animating: a } = this;
              if (!s) return this;
              let l = r.slidesPerGroup;
              "auto" === r.slidesPerView &&
                1 === r.slidesPerGroup &&
                r.slidesPerGroupAuto &&
                (l = Math.max(this.slidesPerViewDynamic("current", !0), 1));
              let n = this.activeIndex < r.slidesPerGroupSkip ? 1 : l,
                o = this.virtual && r.virtual.enabled;
              if (r.loop) {
                if (a && !o && r.loopPreventsSliding) return !1;
                this.loopFix({ direction: "next" }),
                  (this._clientLeft = this.wrapperEl.clientLeft);
              }
              return r.rewind && this.isEnd
                ? this.slideTo(0, e, t, i)
                : this.slideTo(this.activeIndex + n, e, t, i);
            },
            slidePrev: function (e = this.params.speed, t = !0, i) {
              let {
                params: s,
                snapGrid: r,
                slidesGrid: a,
                rtlTranslate: l,
                enabled: n,
                animating: o,
              } = this;
              if (!n) return this;
              let d = this.virtual && s.virtual.enabled;
              if (s.loop) {
                if (o && !d && s.loopPreventsSliding) return !1;
                this.loopFix({ direction: "prev" }),
                  (this._clientLeft = this.wrapperEl.clientLeft);
              }
              let c = l ? this.translate : -this.translate;
              function normalize(e) {
                return e < 0 ? -Math.floor(Math.abs(e)) : Math.floor(e);
              }
              let p = normalize(c),
                u = r.map((e) => normalize(e)),
                h = r[u.indexOf(p) - 1];
              if (void 0 === h && s.cssMode) {
                let e;
                r.forEach((t, i) => {
                  p >= t && (e = i);
                }),
                  void 0 !== e && (h = r[e > 0 ? e - 1 : e]);
              }
              let m = 0;
              if (
                (void 0 !== h &&
                  ((m = a.indexOf(h)) < 0 && (m = this.activeIndex - 1),
                  "auto" === s.slidesPerView &&
                    1 === s.slidesPerGroup &&
                    s.slidesPerGroupAuto &&
                    (m = Math.max(
                      (m = m - this.slidesPerViewDynamic("previous", !0) + 1),
                      0
                    ))),
                s.rewind && this.isBeginning)
              ) {
                let s =
                  this.params.virtual &&
                  this.params.virtual.enabled &&
                  this.virtual
                    ? this.virtual.slides.length - 1
                    : this.slides.length - 1;
                return this.slideTo(s, e, t, i);
              }
              return this.slideTo(m, e, t, i);
            },
            slideReset: function (e = this.params.speed, t = !0, i) {
              return this.slideTo(this.activeIndex, e, t, i);
            },
            slideToClosest: function (
              e = this.params.speed,
              t = !0,
              i,
              s = 0.5
            ) {
              let r = this.activeIndex,
                a = Math.min(this.params.slidesPerGroupSkip, r),
                l = a + Math.floor((r - a) / this.params.slidesPerGroup),
                n = this.rtlTranslate ? this.translate : -this.translate;
              if (n >= this.snapGrid[l]) {
                let e = this.snapGrid[l],
                  t = this.snapGrid[l + 1];
                n - e > (t - e) * s && (r += this.params.slidesPerGroup);
              } else {
                let e = this.snapGrid[l - 1],
                  t = this.snapGrid[l];
                n - e <= (t - e) * s && (r -= this.params.slidesPerGroup);
              }
              return (
                (r = Math.min(
                  (r = Math.max(r, 0)),
                  this.slidesGrid.length - 1
                )),
                this.slideTo(r, e, t, i)
              );
            },
            slideToClickedSlide: function () {
              let e;
              let t = this,
                { params: i, slidesEl: s } = t,
                r =
                  "auto" === i.slidesPerView
                    ? t.slidesPerViewDynamic()
                    : i.slidesPerView,
                a = t.clickedIndex,
                l = t.isElement ? "swiper-slide" : `.${i.slideClass}`;
              if (i.loop) {
                if (t.animating) return;
                (e = parseInt(
                  t.clickedSlide.getAttribute("data-swiper-slide-index"),
                  10
                )),
                  i.centeredSlides
                    ? a < t.loopedSlides - r / 2 ||
                      a > t.slides.length - t.loopedSlides + r / 2
                      ? (t.loopFix(),
                        (a = t.getSlideIndex(
                          utils_elementChildren(
                            s,
                            `${l}[data-swiper-slide-index="${e}"]`
                          )[0]
                        )),
                        utils_nextTick(() => {
                          t.slideTo(a);
                        }))
                      : t.slideTo(a)
                    : a > t.slides.length - r
                    ? (t.loopFix(),
                      (a = t.getSlideIndex(
                        utils_elementChildren(
                          s,
                          `${l}[data-swiper-slide-index="${e}"]`
                        )[0]
                      )),
                      utils_nextTick(() => {
                        t.slideTo(a);
                      }))
                    : t.slideTo(a);
              } else t.slideTo(a);
            },
          },
          loop: {
            loopCreate: function (e) {
              let { params: t, slidesEl: i } = this;
              if (!t.loop || (this.virtual && this.params.virtual.enabled))
                return;
              let s = utils_elementChildren(
                i,
                `.${t.slideClass}, swiper-slide`
              );
              s.forEach((e, t) => {
                e.setAttribute("data-swiper-slide-index", t);
              }),
                this.loopFix({
                  slideRealIndex: e,
                  direction: t.centeredSlides ? void 0 : "next",
                });
            },
            loopFix: function ({
              slideRealIndex: e,
              slideTo: t = !0,
              direction: i,
              setTranslate: s,
              activeSlideIndex: r,
              byController: a,
              byMousewheel: l,
            } = {}) {
              let n = this;
              if (!n.params.loop) return;
              n.emit("beforeLoopFix");
              let {
                slides: o,
                allowSlidePrev: d,
                allowSlideNext: c,
                slidesEl: p,
                params: u,
              } = n;
              if (
                ((n.allowSlidePrev = !0),
                (n.allowSlideNext = !0),
                n.virtual && u.virtual.enabled)
              ) {
                t &&
                  (u.centeredSlides || 0 !== n.snapIndex
                    ? u.centeredSlides && n.snapIndex < u.slidesPerView
                      ? n.slideTo(
                          n.virtual.slides.length + n.snapIndex,
                          0,
                          !1,
                          !0
                        )
                      : n.snapIndex === n.snapGrid.length - 1 &&
                        n.slideTo(n.virtual.slidesBefore, 0, !1, !0)
                    : n.slideTo(n.virtual.slides.length, 0, !1, !0)),
                  (n.allowSlidePrev = d),
                  (n.allowSlideNext = c),
                  n.emit("loopFix");
                return;
              }
              let h =
                  "auto" === u.slidesPerView
                    ? n.slidesPerViewDynamic()
                    : Math.ceil(parseFloat(u.slidesPerView, 10)),
                m = u.loopedSlides || h;
              m % u.slidesPerGroup != 0 &&
                (m += u.slidesPerGroup - (m % u.slidesPerGroup)),
                (n.loopedSlides = m);
              let f = [],
                g = [],
                v = n.activeIndex;
              void 0 === r
                ? (r = n.getSlideIndex(
                    n.slides.filter((e) =>
                      e.classList.contains(u.slideActiveClass)
                    )[0]
                  ))
                : (v = r);
              let w = "next" === i || !i,
                b = "prev" === i || !i,
                y = 0,
                S = 0;
              if (r < m) {
                y = Math.max(m - r, u.slidesPerGroup);
                for (let e = 0; e < m - r; e += 1) {
                  let t = e - Math.floor(e / o.length) * o.length;
                  f.push(o.length - t - 1);
                }
              } else if (r > n.slides.length - 2 * m) {
                S = Math.max(r - (n.slides.length - 2 * m), u.slidesPerGroup);
                for (let e = 0; e < S; e += 1) {
                  let t = e - Math.floor(e / o.length) * o.length;
                  g.push(t);
                }
              }
              if (
                (b &&
                  f.forEach((e) => {
                    (n.slides[e].swiperLoopMoveDOM = !0),
                      p.prepend(n.slides[e]),
                      (n.slides[e].swiperLoopMoveDOM = !1);
                  }),
                w &&
                  g.forEach((e) => {
                    (n.slides[e].swiperLoopMoveDOM = !0),
                      p.append(n.slides[e]),
                      (n.slides[e].swiperLoopMoveDOM = !1);
                  }),
                n.recalcSlides(),
                "auto" === u.slidesPerView && n.updateSlides(),
                u.watchSlidesProgress && n.updateSlidesOffset(),
                t)
              ) {
                if (f.length > 0 && b) {
                  if (void 0 === e) {
                    let e = n.slidesGrid[v],
                      t = n.slidesGrid[v + y],
                      i = t - e;
                    l
                      ? n.setTranslate(n.translate - i)
                      : (n.slideTo(v + y, 0, !1, !0),
                        s &&
                          (n.touches[n.isHorizontal() ? "startX" : "startY"] +=
                            i));
                  } else s && n.slideToLoop(e, 0, !1, !0);
                } else if (g.length > 0 && w) {
                  if (void 0 === e) {
                    let e = n.slidesGrid[v],
                      t = n.slidesGrid[v - S],
                      i = t - e;
                    l
                      ? n.setTranslate(n.translate - i)
                      : (n.slideTo(v - S, 0, !1, !0),
                        s &&
                          (n.touches[n.isHorizontal() ? "startX" : "startY"] +=
                            i));
                  } else n.slideToLoop(e, 0, !1, !0);
                }
              }
              if (
                ((n.allowSlidePrev = d),
                (n.allowSlideNext = c),
                n.controller && n.controller.control && !a)
              ) {
                let t = {
                  slideRealIndex: e,
                  slideTo: !1,
                  direction: i,
                  setTranslate: s,
                  activeSlideIndex: r,
                  byController: !0,
                };
                Array.isArray(n.controller.control)
                  ? n.controller.control.forEach((e) => {
                      !e.destroyed && e.params.loop && e.loopFix(t);
                    })
                  : n.controller.control instanceof n.constructor &&
                    n.controller.control.params.loop &&
                    n.controller.control.loopFix(t);
              }
              n.emit("loopFix");
            },
            loopDestroy: function () {
              let { params: e, slidesEl: t } = this;
              if (!e.loop || (this.virtual && this.params.virtual.enabled))
                return;
              this.recalcSlides();
              let i = [];
              this.slides.forEach((e) => {
                let t =
                  void 0 === e.swiperSlideIndex
                    ? 1 * e.getAttribute("data-swiper-slide-index")
                    : e.swiperSlideIndex;
                i[t] = e;
              }),
                this.slides.forEach((e) => {
                  e.removeAttribute("data-swiper-slide-index");
                }),
                i.forEach((e) => {
                  t.append(e);
                }),
                this.recalcSlides(),
                this.slideTo(this.realIndex, 0);
            },
          },
          grabCursor: {
            setGrabCursor: function (e) {
              let t = this;
              if (
                !t.params.simulateTouch ||
                (t.params.watchOverflow && t.isLocked) ||
                t.params.cssMode
              )
                return;
              let i =
                "container" === t.params.touchEventsTarget ? t.el : t.wrapperEl;
              t.isElement && (t.__preventObserver__ = !0),
                (i.style.cursor = "move"),
                (i.style.cursor = e ? "grabbing" : "grab"),
                t.isElement &&
                  requestAnimationFrame(() => {
                    t.__preventObserver__ = !1;
                  });
            },
            unsetGrabCursor: function () {
              let e = this;
              (e.params.watchOverflow && e.isLocked) ||
                e.params.cssMode ||
                (e.isElement && (e.__preventObserver__ = !0),
                (e[
                  "container" === e.params.touchEventsTarget
                    ? "el"
                    : "wrapperEl"
                ].style.cursor = ""),
                e.isElement &&
                  requestAnimationFrame(() => {
                    e.__preventObserver__ = !1;
                  }));
            },
          },
          events: {
            attachEvents: function () {
              let e = ssr_window_esm_getDocument(),
                { params: t } = this;
              (this.onTouchStart = onTouchStart.bind(this)),
                (this.onTouchMove = onTouchMove.bind(this)),
                (this.onTouchEnd = onTouchEnd.bind(this)),
                t.cssMode && (this.onScroll = onScroll.bind(this)),
                (this.onClick = onClick.bind(this)),
                (this.onLoad = onLoad.bind(this)),
                o ||
                  (e.addEventListener("touchstart", dummyEventListener),
                  (o = !0)),
                events(this, "on");
            },
            detachEvents: function () {
              events(this, "off");
            },
          },
          breakpoints: {
            setBreakpoint: function () {
              let e = this,
                { realIndex: t, initialized: i, params: s, el: r } = e,
                a = s.breakpoints;
              if (!a || (a && 0 === Object.keys(a).length)) return;
              let l = e.getBreakpoint(a, e.params.breakpointsBase, e.el);
              if (!l || e.currentBreakpoint === l) return;
              let n = l in a ? a[l] : void 0,
                o = n || e.originalParams,
                d = isGridEnabled(e, s),
                c = isGridEnabled(e, o),
                p = s.enabled;
              d && !c
                ? (r.classList.remove(
                    `${s.containerModifierClass}grid`,
                    `${s.containerModifierClass}grid-column`
                  ),
                  e.emitContainerClasses())
                : !d &&
                  c &&
                  (r.classList.add(`${s.containerModifierClass}grid`),
                  ((o.grid.fill && "column" === o.grid.fill) ||
                    (!o.grid.fill && "column" === s.grid.fill)) &&
                    r.classList.add(`${s.containerModifierClass}grid-column`),
                  e.emitContainerClasses()),
                ["navigation", "pagination", "scrollbar"].forEach((t) => {
                  if (void 0 === o[t]) return;
                  let i = s[t] && s[t].enabled,
                    r = o[t] && o[t].enabled;
                  i && !r && e[t].disable(), !i && r && e[t].enable();
                });
              let u = o.direction && o.direction !== s.direction,
                h = s.loop && (o.slidesPerView !== s.slidesPerView || u);
              u && i && e.changeDirection(), utils_extend(e.params, o);
              let m = e.params.enabled;
              Object.assign(e, {
                allowTouchMove: e.params.allowTouchMove,
                allowSlideNext: e.params.allowSlideNext,
                allowSlidePrev: e.params.allowSlidePrev,
              }),
                p && !m ? e.disable() : !p && m && e.enable(),
                (e.currentBreakpoint = l),
                e.emit("_beforeBreakpoint", o),
                h && i && (e.loopDestroy(), e.loopCreate(t), e.updateSlides()),
                e.emit("breakpoint", o);
            },
            getBreakpoint: function (e, t = "window", i) {
              if (!e || ("container" === t && !i)) return;
              let s = !1,
                r = ssr_window_esm_getWindow(),
                a = "window" === t ? r.innerHeight : i.clientHeight,
                l = Object.keys(e).map((e) => {
                  if ("string" == typeof e && 0 === e.indexOf("@")) {
                    let t = parseFloat(e.substr(1));
                    return { value: a * t, point: e };
                  }
                  return { value: e, point: e };
                });
              l.sort((e, t) => parseInt(e.value, 10) - parseInt(t.value, 10));
              for (let e = 0; e < l.length; e += 1) {
                let { point: a, value: n } = l[e];
                "window" === t
                  ? r.matchMedia(`(min-width: ${n}px)`).matches && (s = a)
                  : n <= i.clientWidth && (s = a);
              }
              return s || "max";
            },
          },
          checkOverflow: {
            checkOverflow: function () {
              let { isLocked: e, params: t } = this,
                { slidesOffsetBefore: i } = t;
              if (i) {
                let e = this.slides.length - 1,
                  t = this.slidesGrid[e] + this.slidesSizesGrid[e] + 2 * i;
                this.isLocked = this.size > t;
              } else this.isLocked = 1 === this.snapGrid.length;
              !0 === t.allowSlideNext && (this.allowSlideNext = !this.isLocked),
                !0 === t.allowSlidePrev &&
                  (this.allowSlidePrev = !this.isLocked),
                e && e !== this.isLocked && (this.isEnd = !1),
                e !== this.isLocked &&
                  this.emit(this.isLocked ? "lock" : "unlock");
            },
          },
          classes: {
            addClasses: function () {
              let { classNames: e, params: t, rtl: i, el: s, device: r } = this,
                a = (function (e, t) {
                  let i = [];
                  return (
                    e.forEach((e) => {
                      "object" == typeof e
                        ? Object.keys(e).forEach((s) => {
                            e[s] && i.push(t + s);
                          })
                        : "string" == typeof e && i.push(t + e);
                    }),
                    i
                  );
                })(
                  [
                    "initialized",
                    t.direction,
                    { "free-mode": this.params.freeMode && t.freeMode.enabled },
                    { autoheight: t.autoHeight },
                    { rtl: i },
                    { grid: t.grid && t.grid.rows > 1 },
                    {
                      "grid-column":
                        t.grid && t.grid.rows > 1 && "column" === t.grid.fill,
                    },
                    { android: r.android },
                    { ios: r.ios },
                    { "css-mode": t.cssMode },
                    { centered: t.cssMode && t.centeredSlides },
                    { "watch-progress": t.watchSlidesProgress },
                  ],
                  t.containerModifierClass
                );
              e.push(...a), s.classList.add(...e), this.emitContainerClasses();
            },
            removeClasses: function () {
              let { el: e, classNames: t } = this;
              e.classList.remove(...t), this.emitContainerClasses();
            },
          },
        },
        p = {};
      let Swiper = class Swiper {
        constructor(...e) {
          let t, i;
          1 === e.length &&
          e[0].constructor &&
          "Object" === Object.prototype.toString.call(e[0]).slice(8, -1)
            ? (i = e[0])
            : ([t, i] = e),
            i || (i = {}),
            (i = utils_extend({}, i)),
            t && !i.el && (i.el = t);
          let s = ssr_window_esm_getDocument();
          if (
            i.el &&
            "string" == typeof i.el &&
            s.querySelectorAll(i.el).length > 1
          ) {
            let e = [];
            return (
              s.querySelectorAll(i.el).forEach((t) => {
                let s = utils_extend({}, i, { el: t });
                e.push(new Swiper(s));
              }),
              e
            );
          }
          let l = this;
          (l.__swiper__ = !0),
            (l.support = getSupport()),
            (l.device = (function (e = {}) {
              return (
                r ||
                  (r = (function ({ userAgent: e } = {}) {
                    let t = getSupport(),
                      i = ssr_window_esm_getWindow(),
                      s = i.navigator.platform,
                      r = e || i.navigator.userAgent,
                      a = { ios: !1, android: !1 },
                      l = i.screen.width,
                      n = i.screen.height,
                      o = r.match(/(Android);?[\s\/]+([\d.]+)?/),
                      d = r.match(/(iPad).*OS\s([\d_]+)/),
                      c = r.match(/(iPod)(.*OS\s([\d_]+))?/),
                      p = !d && r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),
                      u = "MacIntel" === s;
                    return (
                      !d &&
                        u &&
                        t.touch &&
                        [
                          "1024x1366",
                          "1366x1024",
                          "834x1194",
                          "1194x834",
                          "834x1112",
                          "1112x834",
                          "768x1024",
                          "1024x768",
                          "820x1180",
                          "1180x820",
                          "810x1080",
                          "1080x810",
                        ].indexOf(`${l}x${n}`) >= 0 &&
                        ((d = r.match(/(Version)\/([\d.]+)/)) ||
                          (d = [0, 1, "13_0_0"]),
                        (u = !1)),
                      o &&
                        "Win32" !== s &&
                        ((a.os = "android"), (a.android = !0)),
                      (d || p || c) && ((a.os = "ios"), (a.ios = !0)),
                      a
                    );
                  })(e)),
                r
              );
            })({ userAgent: i.userAgent })),
            (l.browser =
              (a ||
                (a = (function () {
                  let e = ssr_window_esm_getWindow(),
                    t = !1;
                  function isSafari() {
                    let t = e.navigator.userAgent.toLowerCase();
                    return (
                      t.indexOf("safari") >= 0 &&
                      0 > t.indexOf("chrome") &&
                      0 > t.indexOf("android")
                    );
                  }
                  if (isSafari()) {
                    let i = String(e.navigator.userAgent);
                    if (i.includes("Version/")) {
                      let [e, s] = i
                        .split("Version/")[1]
                        .split(" ")[0]
                        .split(".")
                        .map((e) => Number(e));
                      t = e < 16 || (16 === e && s < 2);
                    }
                  }
                  return {
                    isSafari: t || isSafari(),
                    needPerspectiveFix: t,
                    isWebView:
                      /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(
                        e.navigator.userAgent
                      ),
                  };
                })()),
              a)),
            (l.eventsListeners = {}),
            (l.eventsAnyListeners = []),
            (l.modules = [...l.__modules__]),
            i.modules &&
              Array.isArray(i.modules) &&
              l.modules.push(...i.modules);
          let n = {};
          l.modules.forEach((e) => {
            var t;
            e({
              params: i,
              swiper: l,
              extendParams:
                ((t = i),
                function (e = {}) {
                  let i = Object.keys(e)[0],
                    s = e[i];
                  if (
                    "object" != typeof s ||
                    null === s ||
                    (["navigation", "pagination", "scrollbar"].indexOf(i) >=
                      0 &&
                      !0 === t[i] &&
                      (t[i] = { auto: !0 }),
                    !(i in t && "enabled" in s))
                  ) {
                    utils_extend(n, e);
                    return;
                  }
                  !0 === t[i] && (t[i] = { enabled: !0 }),
                    "object" != typeof t[i] ||
                      "enabled" in t[i] ||
                      (t[i].enabled = !0),
                    t[i] || (t[i] = { enabled: !1 }),
                    utils_extend(n, e);
                }),
              on: l.on.bind(l),
              once: l.once.bind(l),
              off: l.off.bind(l),
              emit: l.emit.bind(l),
            });
          });
          let o = utils_extend({}, d, n);
          return (
            (l.params = utils_extend({}, o, p, i)),
            (l.originalParams = utils_extend({}, l.params)),
            (l.passedParams = utils_extend({}, i)),
            l.params &&
              l.params.on &&
              Object.keys(l.params.on).forEach((e) => {
                l.on(e, l.params.on[e]);
              }),
            l.params && l.params.onAny && l.onAny(l.params.onAny),
            Object.assign(l, {
              enabled: l.params.enabled,
              el: t,
              classNames: [],
              slides: [],
              slidesGrid: [],
              snapGrid: [],
              slidesSizesGrid: [],
              isHorizontal: () => "horizontal" === l.params.direction,
              isVertical: () => "vertical" === l.params.direction,
              activeIndex: 0,
              realIndex: 0,
              isBeginning: !0,
              isEnd: !1,
              translate: 0,
              previousTranslate: 0,
              progress: 0,
              velocity: 0,
              animating: !1,
              cssOverflowAdjustment() {
                return 8388608 * Math.trunc(this.translate / 8388608);
              },
              allowSlideNext: l.params.allowSlideNext,
              allowSlidePrev: l.params.allowSlidePrev,
              touchEventsData: {
                isTouched: void 0,
                isMoved: void 0,
                allowTouchCallbacks: void 0,
                touchStartTime: void 0,
                isScrolling: void 0,
                currentTranslate: void 0,
                startTranslate: void 0,
                allowThresholdMove: void 0,
                focusableElements: l.params.focusableElements,
                lastClickTime: 0,
                clickTimeout: void 0,
                velocities: [],
                allowMomentumBounce: void 0,
                startMoving: void 0,
                evCache: [],
              },
              allowClick: !0,
              allowTouchMove: l.params.allowTouchMove,
              touches: {
                startX: 0,
                startY: 0,
                currentX: 0,
                currentY: 0,
                diff: 0,
              },
              imagesToLoad: [],
              imagesLoaded: 0,
            }),
            l.emit("_swiper"),
            l.params.init && l.init(),
            l
          );
        }
        getSlideIndex(e) {
          let { slidesEl: t, params: i } = this,
            s = utils_elementChildren(t, `.${i.slideClass}, swiper-slide`),
            r = utils_elementIndex(s[0]);
          return utils_elementIndex(e) - r;
        }
        getSlideIndexByData(e) {
          return this.getSlideIndex(
            this.slides.filter(
              (t) => 1 * t.getAttribute("data-swiper-slide-index") === e
            )[0]
          );
        }
        recalcSlides() {
          let { slidesEl: e, params: t } = this;
          this.slides = utils_elementChildren(
            e,
            `.${t.slideClass}, swiper-slide`
          );
        }
        enable() {
          this.enabled ||
            ((this.enabled = !0),
            this.params.grabCursor && this.setGrabCursor(),
            this.emit("enable"));
        }
        disable() {
          this.enabled &&
            ((this.enabled = !1),
            this.params.grabCursor && this.unsetGrabCursor(),
            this.emit("disable"));
        }
        setProgress(e, t) {
          e = Math.min(Math.max(e, 0), 1);
          let i = this.minTranslate(),
            s = this.maxTranslate(),
            r = (s - i) * e + i;
          this.translateTo(r, void 0 === t ? 0 : t),
            this.updateActiveIndex(),
            this.updateSlidesClasses();
        }
        emitContainerClasses() {
          let e = this;
          if (!e.params._emitClasses || !e.el) return;
          let t = e.el.className
            .split(" ")
            .filter(
              (t) =>
                0 === t.indexOf("swiper") ||
                0 === t.indexOf(e.params.containerModifierClass)
            );
          e.emit("_containerClasses", t.join(" "));
        }
        getSlideClasses(e) {
          let t = this;
          return t.destroyed
            ? ""
            : e.className
                .split(" ")
                .filter(
                  (e) =>
                    0 === e.indexOf("swiper-slide") ||
                    0 === e.indexOf(t.params.slideClass)
                )
                .join(" ");
        }
        emitSlidesClasses() {
          let e = this;
          if (!e.params._emitClasses || !e.el) return;
          let t = [];
          e.slides.forEach((i) => {
            let s = e.getSlideClasses(i);
            t.push({ slideEl: i, classNames: s }), e.emit("_slideClass", i, s);
          }),
            e.emit("_slideClasses", t);
        }
        slidesPerViewDynamic(e = "current", t = !1) {
          let {
              params: i,
              slides: s,
              slidesGrid: r,
              slidesSizesGrid: a,
              size: l,
              activeIndex: n,
            } = this,
            o = 1;
          if (i.centeredSlides) {
            let e,
              t = s[n] ? s[n].swiperSlideSize : 0;
            for (let i = n + 1; i < s.length; i += 1)
              s[i] &&
                !e &&
                ((t += s[i].swiperSlideSize), (o += 1), t > l && (e = !0));
            for (let i = n - 1; i >= 0; i -= 1)
              s[i] &&
                !e &&
                ((t += s[i].swiperSlideSize), (o += 1), t > l && (e = !0));
          } else if ("current" === e)
            for (let e = n + 1; e < s.length; e += 1) {
              let i = t ? r[e] + a[e] - r[n] < l : r[e] - r[n] < l;
              i && (o += 1);
            }
          else
            for (let e = n - 1; e >= 0; e -= 1) {
              let t = r[n] - r[e] < l;
              t && (o += 1);
            }
          return o;
        }
        update() {
          let e;
          let t = this;
          if (!t || t.destroyed) return;
          let { snapGrid: i, params: s } = t;
          function setTranslate() {
            let e = t.rtlTranslate ? -1 * t.translate : t.translate,
              i = Math.min(Math.max(e, t.maxTranslate()), t.minTranslate());
            t.setTranslate(i), t.updateActiveIndex(), t.updateSlidesClasses();
          }
          if (
            (s.breakpoints && t.setBreakpoint(),
            [...t.el.querySelectorAll('[loading="lazy"]')].forEach((e) => {
              e.complete && processLazyPreloader(t, e);
            }),
            t.updateSize(),
            t.updateSlides(),
            t.updateProgress(),
            t.updateSlidesClasses(),
            s.freeMode && s.freeMode.enabled && !s.cssMode)
          )
            setTranslate(), s.autoHeight && t.updateAutoHeight();
          else {
            if (
              ("auto" === s.slidesPerView || s.slidesPerView > 1) &&
              t.isEnd &&
              !s.centeredSlides
            ) {
              let i =
                t.virtual && s.virtual.enabled ? t.virtual.slides : t.slides;
              e = t.slideTo(i.length - 1, 0, !1, !0);
            } else e = t.slideTo(t.activeIndex, 0, !1, !0);
            e || setTranslate();
          }
          s.watchOverflow && i !== t.snapGrid && t.checkOverflow(),
            t.emit("update");
        }
        changeDirection(e, t = !0) {
          let i = this.params.direction;
          return (
            e || (e = "horizontal" === i ? "vertical" : "horizontal"),
            e === i ||
              ("horizontal" !== e && "vertical" !== e) ||
              (this.el.classList.remove(
                `${this.params.containerModifierClass}${i}`
              ),
              this.el.classList.add(
                `${this.params.containerModifierClass}${e}`
              ),
              this.emitContainerClasses(),
              (this.params.direction = e),
              this.slides.forEach((t) => {
                "vertical" === e ? (t.style.width = "") : (t.style.height = "");
              }),
              this.emit("changeDirection"),
              t && this.update()),
            this
          );
        }
        changeLanguageDirection(e) {
          (!this.rtl || "rtl" !== e) &&
            (this.rtl || "ltr" !== e) &&
            ((this.rtl = "rtl" === e),
            (this.rtlTranslate =
              "horizontal" === this.params.direction && this.rtl),
            this.rtl
              ? (this.el.classList.add(
                  `${this.params.containerModifierClass}rtl`
                ),
                (this.el.dir = "rtl"))
              : (this.el.classList.remove(
                  `${this.params.containerModifierClass}rtl`
                ),
                (this.el.dir = "ltr")),
            this.update());
        }
        mount(e) {
          let t = this;
          if (t.mounted) return !0;
          let i = e || t.params.el;
          if (("string" == typeof i && (i = document.querySelector(i)), !i))
            return !1;
          (i.swiper = t), i.shadowEl && (t.isElement = !0);
          let getWrapperSelector = () =>
              `.${(t.params.wrapperClass || "").trim().split(" ").join(".")}`,
            s = (() => {
              if (i && i.shadowRoot && i.shadowRoot.querySelector) {
                let e = i.shadowRoot.querySelector(getWrapperSelector());
                return e;
              }
              return utils_elementChildren(i, getWrapperSelector())[0];
            })();
          return (
            !s &&
              t.params.createElements &&
              ((s = utils_createElement("div", t.params.wrapperClass)),
              i.append(s),
              utils_elementChildren(i, `.${t.params.slideClass}`).forEach(
                (e) => {
                  s.append(e);
                }
              )),
            Object.assign(t, {
              el: i,
              wrapperEl: s,
              slidesEl: t.isElement ? i : s,
              mounted: !0,
              rtl:
                "rtl" === i.dir.toLowerCase() ||
                "rtl" === elementStyle(i, "direction"),
              rtlTranslate:
                "horizontal" === t.params.direction &&
                ("rtl" === i.dir.toLowerCase() ||
                  "rtl" === elementStyle(i, "direction")),
              wrongRTL: "-webkit-box" === elementStyle(s, "display"),
            }),
            !0
          );
        }
        init(e) {
          let t = this;
          if (t.initialized) return t;
          let i = t.mount(e);
          return (
            !1 === i ||
              (t.emit("beforeInit"),
              t.params.breakpoints && t.setBreakpoint(),
              t.addClasses(),
              t.updateSize(),
              t.updateSlides(),
              t.params.watchOverflow && t.checkOverflow(),
              t.params.grabCursor && t.enabled && t.setGrabCursor(),
              t.params.loop && t.virtual && t.params.virtual.enabled
                ? t.slideTo(
                    t.params.initialSlide + t.virtual.slidesBefore,
                    0,
                    t.params.runCallbacksOnInit,
                    !1,
                    !0
                  )
                : t.slideTo(
                    t.params.initialSlide,
                    0,
                    t.params.runCallbacksOnInit,
                    !1,
                    !0
                  ),
              t.params.loop && t.loopCreate(),
              t.attachEvents(),
              [...t.el.querySelectorAll('[loading="lazy"]')].forEach((e) => {
                e.complete
                  ? processLazyPreloader(t, e)
                  : e.addEventListener("load", (e) => {
                      processLazyPreloader(t, e.target);
                    });
              }),
              preload(t),
              (t.initialized = !0),
              preload(t),
              t.emit("init"),
              t.emit("afterInit")),
            t
          );
        }
        destroy(e = !0, t = !0) {
          let i = this,
            { params: s, el: r, wrapperEl: a, slides: l } = i;
          return (
            void 0 === i.params ||
              i.destroyed ||
              (i.emit("beforeDestroy"),
              (i.initialized = !1),
              i.detachEvents(),
              s.loop && i.loopDestroy(),
              t &&
                (i.removeClasses(),
                r.removeAttribute("style"),
                a.removeAttribute("style"),
                l &&
                  l.length &&
                  l.forEach((e) => {
                    e.classList.remove(
                      s.slideVisibleClass,
                      s.slideActiveClass,
                      s.slideNextClass,
                      s.slidePrevClass
                    ),
                      e.removeAttribute("style"),
                      e.removeAttribute("data-swiper-slide-index");
                  })),
              i.emit("destroy"),
              Object.keys(i.eventsListeners).forEach((e) => {
                i.off(e);
              }),
              !1 !== e &&
                ((i.el.swiper = null),
                (function (e) {
                  Object.keys(e).forEach((t) => {
                    try {
                      e[t] = null;
                    } catch (e) {}
                    try {
                      delete e[t];
                    } catch (e) {}
                  });
                })(i)),
              (i.destroyed = !0)),
            null
          );
        }
        static extendDefaults(e) {
          utils_extend(p, e);
        }
        static get extendedDefaults() {
          return p;
        }
        static get defaults() {
          return d;
        }
        static installModule(e) {
          Swiper.prototype.__modules__ || (Swiper.prototype.__modules__ = []);
          let t = Swiper.prototype.__modules__;
          "function" == typeof e && 0 > t.indexOf(e) && t.push(e);
        }
        static use(e) {
          return (
            Array.isArray(e)
              ? e.forEach((e) => Swiper.installModule(e))
              : Swiper.installModule(e),
            Swiper
          );
        }
      };
      Object.keys(c).forEach((e) => {
        Object.keys(c[e]).forEach((t) => {
          Swiper.prototype[t] = c[e][t];
        });
      }),
        Swiper.use([
          function ({ swiper: e, on: t, emit: i }) {
            let s = ssr_window_esm_getWindow(),
              r = null,
              a = null,
              resizeHandler = () => {
                e &&
                  !e.destroyed &&
                  e.initialized &&
                  (i("beforeResize"), i("resize"));
              },
              createObserver = () => {
                e &&
                  !e.destroyed &&
                  e.initialized &&
                  (r = new ResizeObserver((t) => {
                    a = s.requestAnimationFrame(() => {
                      let { width: i, height: s } = e,
                        r = i,
                        a = s;
                      t.forEach(
                        ({ contentBoxSize: t, contentRect: i, target: s }) => {
                          (s && s !== e.el) ||
                            ((r = i ? i.width : (t[0] || t).inlineSize),
                            (a = i ? i.height : (t[0] || t).blockSize));
                        }
                      ),
                        (r !== i || a !== s) && resizeHandler();
                    });
                  })).observe(e.el);
              },
              removeObserver = () => {
                a && s.cancelAnimationFrame(a),
                  r && r.unobserve && e.el && (r.unobserve(e.el), (r = null));
              },
              orientationChangeHandler = () => {
                e && !e.destroyed && e.initialized && i("orientationchange");
              };
            t("init", () => {
              if (e.params.resizeObserver && void 0 !== s.ResizeObserver) {
                createObserver();
                return;
              }
              s.addEventListener("resize", resizeHandler),
                s.addEventListener(
                  "orientationchange",
                  orientationChangeHandler
                );
            }),
              t("destroy", () => {
                removeObserver(),
                  s.removeEventListener("resize", resizeHandler),
                  s.removeEventListener(
                    "orientationchange",
                    orientationChangeHandler
                  );
              });
          },
          function ({ swiper: e, extendParams: t, on: i, emit: s }) {
            let r = [],
              a = ssr_window_esm_getWindow(),
              attach = (t, i = {}) => {
                let l = a.MutationObserver || a.WebkitMutationObserver,
                  n = new l((t) => {
                    if (e.__preventObserver__) return;
                    if (1 === t.length) {
                      s("observerUpdate", t[0]);
                      return;
                    }
                    let observerUpdate = function () {
                      s("observerUpdate", t[0]);
                    };
                    a.requestAnimationFrame
                      ? a.requestAnimationFrame(observerUpdate)
                      : a.setTimeout(observerUpdate, 0);
                  });
                n.observe(t, {
                  attributes: void 0 === i.attributes || i.attributes,
                  childList: void 0 === i.childList || i.childList,
                  characterData: void 0 === i.characterData || i.characterData,
                }),
                  r.push(n);
              };
            t({ observer: !1, observeParents: !1, observeSlideChildren: !1 }),
              i("init", () => {
                if (e.params.observer) {
                  if (e.params.observeParents) {
                    let t = utils_elementParents(e.el);
                    for (let e = 0; e < t.length; e += 1) attach(t[e]);
                  }
                  attach(e.el, { childList: e.params.observeSlideChildren }),
                    attach(e.wrapperEl, { attributes: !1 });
                }
              }),
              i("destroy", () => {
                r.forEach((e) => {
                  e.disconnect();
                }),
                  r.splice(0, r.length);
              });
          },
        ]);
      var u = Swiper;
      function create_element_if_not_defined_createElementIfNotDefined(
        e,
        t,
        i,
        s
      ) {
        return (
          e.params.createElements &&
            Object.keys(s).forEach((r) => {
              if (!i[r] && !0 === i.auto) {
                let a = utils_elementChildren(e.el, `.${s[r]}`)[0];
                a ||
                  (((a = utils_createElement("div", s[r])).className = s[r]),
                  e.el.append(a)),
                  (i[r] = a),
                  (t[r] = a);
              }
            }),
          i
        );
      }
      function Navigation({ swiper: e, extendParams: t, on: i, emit: s }) {
        t({
          navigation: {
            nextEl: null,
            prevEl: null,
            hideOnClick: !1,
            disabledClass: "swiper-button-disabled",
            hiddenClass: "swiper-button-hidden",
            lockClass: "swiper-button-lock",
            navigationDisabledClass: "swiper-navigation-disabled",
          },
        }),
          (e.navigation = { nextEl: null, prevEl: null });
        let makeElementsArray = (e) => (
          Array.isArray(e) || (e = [e].filter((e) => !!e)), e
        );
        function getEl(t) {
          let i;
          return t &&
            "string" == typeof t &&
            e.isElement &&
            (i = e.el.shadowRoot.querySelector(t))
            ? i
            : (t &&
                ("string" == typeof t &&
                  (i = [...document.querySelectorAll(t)]),
                e.params.uniqueNavElements &&
                  "string" == typeof t &&
                  i.length > 1 &&
                  1 === e.el.querySelectorAll(t).length &&
                  (i = e.el.querySelector(t))),
              t && !i)
            ? t
            : i;
        }
        function toggleEl(t, i) {
          let s = e.params.navigation;
          (t = makeElementsArray(t)).forEach((t) => {
            t &&
              (t.classList[i ? "add" : "remove"](...s.disabledClass.split(" ")),
              "BUTTON" === t.tagName && (t.disabled = i),
              e.params.watchOverflow &&
                e.enabled &&
                t.classList[e.isLocked ? "add" : "remove"](s.lockClass));
          });
        }
        function update() {
          let { nextEl: t, prevEl: i } = e.navigation;
          if (e.params.loop) {
            toggleEl(i, !1), toggleEl(t, !1);
            return;
          }
          toggleEl(i, e.isBeginning && !e.params.rewind),
            toggleEl(t, e.isEnd && !e.params.rewind);
        }
        function onPrevClick(t) {
          t.preventDefault(),
            (!e.isBeginning || e.params.loop || e.params.rewind) &&
              (e.slidePrev(), s("navigationPrev"));
        }
        function onNextClick(t) {
          t.preventDefault(),
            (!e.isEnd || e.params.loop || e.params.rewind) &&
              (e.slideNext(), s("navigationNext"));
        }
        function init() {
          let t = e.params.navigation;
          if (
            ((e.params.navigation =
              create_element_if_not_defined_createElementIfNotDefined(
                e,
                e.originalParams.navigation,
                e.params.navigation,
                { nextEl: "swiper-button-next", prevEl: "swiper-button-prev" }
              )),
            !(t.nextEl || t.prevEl))
          )
            return;
          let i = getEl(t.nextEl),
            s = getEl(t.prevEl);
          Object.assign(e.navigation, { nextEl: i, prevEl: s }),
            (i = makeElementsArray(i)),
            (s = makeElementsArray(s));
          let initButton = (i, s) => {
            i &&
              i.addEventListener(
                "click",
                "next" === s ? onNextClick : onPrevClick
              ),
              !e.enabled && i && i.classList.add(...t.lockClass.split(" "));
          };
          i.forEach((e) => initButton(e, "next")),
            s.forEach((e) => initButton(e, "prev"));
        }
        function destroy() {
          let { nextEl: t, prevEl: i } = e.navigation;
          (t = makeElementsArray(t)), (i = makeElementsArray(i));
          let destroyButton = (t, i) => {
            t.removeEventListener(
              "click",
              "next" === i ? onNextClick : onPrevClick
            ),
              t.classList.remove(
                ...e.params.navigation.disabledClass.split(" ")
              );
          };
          t.forEach((e) => destroyButton(e, "next")),
            i.forEach((e) => destroyButton(e, "prev"));
        }
        i("init", () => {
          !1 === e.params.navigation.enabled ? disable() : (init(), update());
        }),
          i("toEdge fromEdge lock unlock", () => {
            update();
          }),
          i("destroy", () => {
            destroy();
          }),
          i("enable disable", () => {
            let { nextEl: t, prevEl: i } = e.navigation;
            [...(t = makeElementsArray(t)), ...(i = makeElementsArray(i))]
              .filter((e) => !!e)
              .forEach((t) =>
                t.classList[e.enabled ? "remove" : "add"](
                  e.params.navigation.lockClass
                )
              );
          }),
          i("click", (t, i) => {
            let { nextEl: r, prevEl: a } = e.navigation;
            (r = makeElementsArray(r)), (a = makeElementsArray(a));
            let l = i.target;
            if (
              e.params.navigation.hideOnClick &&
              !a.includes(l) &&
              !r.includes(l)
            ) {
              let t;
              if (
                e.pagination &&
                e.params.pagination &&
                e.params.pagination.clickable &&
                (e.pagination.el === l || e.pagination.el.contains(l))
              )
                return;
              r.length
                ? (t = r[0].classList.contains(e.params.navigation.hiddenClass))
                : a.length &&
                  (t = a[0].classList.contains(
                    e.params.navigation.hiddenClass
                  )),
                !0 === t ? s("navigationShow") : s("navigationHide"),
                [...r, ...a]
                  .filter((e) => !!e)
                  .forEach((t) =>
                    t.classList.toggle(e.params.navigation.hiddenClass)
                  );
            }
          });
        let disable = () => {
          e.el.classList.add(
            ...e.params.navigation.navigationDisabledClass.split(" ")
          ),
            destroy();
        };
        Object.assign(e.navigation, {
          enable: () => {
            e.el.classList.remove(
              ...e.params.navigation.navigationDisabledClass.split(" ")
            ),
              init(),
              update();
          },
          disable,
          update,
          init,
          destroy,
        });
      }
      function classes_to_selector_classesToSelector(e = "") {
        return `.${e
          .trim()
          .replace(/([\.:!+\/])/g, "\\$1")
          .replace(/ /g, ".")}`;
      }
      function Pagination({ swiper: e, extendParams: t, on: i, emit: s }) {
        let r;
        let a = "swiper-pagination";
        t({
          pagination: {
            el: null,
            bulletElement: "span",
            clickable: !1,
            hideOnClick: !1,
            renderBullet: null,
            renderProgressbar: null,
            renderFraction: null,
            renderCustom: null,
            progressbarOpposite: !1,
            type: "bullets",
            dynamicBullets: !1,
            dynamicMainBullets: 1,
            formatFractionCurrent: (e) => e,
            formatFractionTotal: (e) => e,
            bulletClass: `${a}-bullet`,
            bulletActiveClass: `${a}-bullet-active`,
            modifierClass: `${a}-`,
            currentClass: `${a}-current`,
            totalClass: `${a}-total`,
            hiddenClass: `${a}-hidden`,
            progressbarFillClass: `${a}-progressbar-fill`,
            progressbarOppositeClass: `${a}-progressbar-opposite`,
            clickableClass: `${a}-clickable`,
            lockClass: `${a}-lock`,
            horizontalClass: `${a}-horizontal`,
            verticalClass: `${a}-vertical`,
            paginationDisabledClass: `${a}-disabled`,
          },
        }),
          (e.pagination = { el: null, bullets: [] });
        let l = 0,
          makeElementsArray = (e) => (
            Array.isArray(e) || (e = [e].filter((e) => !!e)), e
          );
        function isPaginationDisabled() {
          return (
            !e.params.pagination.el ||
            !e.pagination.el ||
            (Array.isArray(e.pagination.el) && 0 === e.pagination.el.length)
          );
        }
        function setSideBullets(t, i) {
          let { bulletActiveClass: s } = e.params.pagination;
          t &&
            (t = t[`${"prev" === i ? "previous" : "next"}ElementSibling`]) &&
            (t.classList.add(`${s}-${i}`),
            (t = t[`${"prev" === i ? "previous" : "next"}ElementSibling`]) &&
              t.classList.add(`${s}-${i}-${i}`));
        }
        function onBulletClick(t) {
          let i = t.target.closest(
            classes_to_selector_classesToSelector(
              e.params.pagination.bulletClass
            )
          );
          if (!i) return;
          t.preventDefault();
          let s = utils_elementIndex(i) * e.params.slidesPerGroup;
          if (e.params.loop) {
            if (e.realIndex === s) return;
            let t = e.getSlideIndexByData(s),
              i = e.getSlideIndexByData(e.realIndex);
            t > e.slides.length - e.loopedSlides &&
              e.loopFix({
                direction: t > i ? "next" : "prev",
                activeSlideIndex: t,
                slideTo: !1,
              }),
              e.slideToLoop(s);
          } else e.slideTo(s);
        }
        function update() {
          let t, i;
          let a = e.rtl,
            n = e.params.pagination;
          if (isPaginationDisabled()) return;
          let o = e.pagination.el;
          o = makeElementsArray(o);
          let d =
              e.virtual && e.params.virtual.enabled
                ? e.virtual.slides.length
                : e.slides.length,
            c = e.params.loop
              ? Math.ceil(d / e.params.slidesPerGroup)
              : e.snapGrid.length;
          if (
            (e.params.loop
              ? ((i = e.previousRealIndex || 0),
                (t =
                  e.params.slidesPerGroup > 1
                    ? Math.floor(e.realIndex / e.params.slidesPerGroup)
                    : e.realIndex))
              : void 0 !== e.snapIndex
              ? ((t = e.snapIndex), (i = e.previousSnapIndex))
              : ((i = e.previousIndex || 0), (t = e.activeIndex || 0)),
            "bullets" === n.type &&
              e.pagination.bullets &&
              e.pagination.bullets.length > 0)
          ) {
            let s, d, c;
            let p = e.pagination.bullets;
            if (
              (n.dynamicBullets &&
                ((r = elementOuterSize(
                  p[0],
                  e.isHorizontal() ? "width" : "height",
                  !0
                )),
                o.forEach((t) => {
                  t.style[e.isHorizontal() ? "width" : "height"] = `${
                    r * (n.dynamicMainBullets + 4)
                  }px`;
                }),
                n.dynamicMainBullets > 1 &&
                  void 0 !== i &&
                  ((l += t - (i || 0)) > n.dynamicMainBullets - 1
                    ? (l = n.dynamicMainBullets - 1)
                    : l < 0 && (l = 0)),
                (c =
                  ((d =
                    (s = Math.max(t - l, 0)) +
                    (Math.min(p.length, n.dynamicMainBullets) - 1)) +
                    s) /
                  2)),
              p.forEach((e) => {
                let t = [
                  ...[
                    "",
                    "-next",
                    "-next-next",
                    "-prev",
                    "-prev-prev",
                    "-main",
                  ].map((e) => `${n.bulletActiveClass}${e}`),
                ]
                  .map((e) =>
                    "string" == typeof e && e.includes(" ") ? e.split(" ") : e
                  )
                  .flat();
                e.classList.remove(...t);
              }),
              o.length > 1)
            )
              p.forEach((i) => {
                let r = utils_elementIndex(i);
                r === t
                  ? i.classList.add(...n.bulletActiveClass.split(" "))
                  : e.isElement && i.setAttribute("part", "bullet"),
                  n.dynamicBullets &&
                    (r >= s &&
                      r <= d &&
                      i.classList.add(
                        ...`${n.bulletActiveClass}-main`.split(" ")
                      ),
                    r === s && setSideBullets(i, "prev"),
                    r === d && setSideBullets(i, "next"));
              });
            else {
              let i = p[t];
              if (
                (i && i.classList.add(...n.bulletActiveClass.split(" ")),
                e.isElement &&
                  p.forEach((e, i) => {
                    e.setAttribute(
                      "part",
                      i === t ? "bullet-active" : "bullet"
                    );
                  }),
                n.dynamicBullets)
              ) {
                let e = p[s],
                  t = p[d];
                for (let e = s; e <= d; e += 1)
                  p[e] &&
                    p[e].classList.add(
                      ...`${n.bulletActiveClass}-main`.split(" ")
                    );
                setSideBullets(e, "prev"), setSideBullets(t, "next");
              }
            }
            if (n.dynamicBullets) {
              let t = Math.min(p.length, n.dynamicMainBullets + 4),
                i = (r * t - r) / 2 - c * r,
                s = a ? "right" : "left";
              p.forEach((t) => {
                t.style[e.isHorizontal() ? s : "top"] = `${i}px`;
              });
            }
          }
          o.forEach((i, r) => {
            if (
              ("fraction" === n.type &&
                (i
                  .querySelectorAll(
                    classes_to_selector_classesToSelector(n.currentClass)
                  )
                  .forEach((e) => {
                    e.textContent = n.formatFractionCurrent(t + 1);
                  }),
                i
                  .querySelectorAll(
                    classes_to_selector_classesToSelector(n.totalClass)
                  )
                  .forEach((e) => {
                    e.textContent = n.formatFractionTotal(c);
                  })),
              "progressbar" === n.type)
            ) {
              let s;
              s = n.progressbarOpposite
                ? e.isHorizontal()
                  ? "vertical"
                  : "horizontal"
                : e.isHorizontal()
                ? "horizontal"
                : "vertical";
              let r = (t + 1) / c,
                a = 1,
                l = 1;
              "horizontal" === s ? (a = r) : (l = r),
                i
                  .querySelectorAll(
                    classes_to_selector_classesToSelector(
                      n.progressbarFillClass
                    )
                  )
                  .forEach((t) => {
                    (t.style.transform = `translate3d(0,0,0) scaleX(${a}) scaleY(${l})`),
                      (t.style.transitionDuration = `${e.params.speed}ms`);
                  });
            }
            "custom" === n.type && n.renderCustom
              ? ((i.innerHTML = n.renderCustom(e, t + 1, c)),
                0 === r && s("paginationRender", i))
              : (0 === r && s("paginationRender", i), s("paginationUpdate", i)),
              e.params.watchOverflow &&
                e.enabled &&
                i.classList[e.isLocked ? "add" : "remove"](n.lockClass);
          });
        }
        function render() {
          let t = e.params.pagination;
          if (isPaginationDisabled()) return;
          let i =
              e.virtual && e.params.virtual.enabled
                ? e.virtual.slides.length
                : e.slides.length,
            r = e.pagination.el;
          r = makeElementsArray(r);
          let a = "";
          if ("bullets" === t.type) {
            let s = e.params.loop
              ? Math.ceil(i / e.params.slidesPerGroup)
              : e.snapGrid.length;
            e.params.freeMode && e.params.freeMode.enabled && s > i && (s = i);
            for (let i = 0; i < s; i += 1)
              t.renderBullet
                ? (a += t.renderBullet.call(e, i, t.bulletClass))
                : (a += `<${t.bulletElement} ${
                    e.isElement ? 'part="bullet"' : ""
                  } class="${t.bulletClass}"></${t.bulletElement}>`);
          }
          "fraction" === t.type &&
            (a = t.renderFraction
              ? t.renderFraction.call(e, t.currentClass, t.totalClass)
              : `<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),
            "progressbar" === t.type &&
              (a = t.renderProgressbar
                ? t.renderProgressbar.call(e, t.progressbarFillClass)
                : `<span class="${t.progressbarFillClass}"></span>`),
            (e.pagination.bullets = []),
            r.forEach((i) => {
              "custom" !== t.type && (i.innerHTML = a || ""),
                "bullets" === t.type &&
                  e.pagination.bullets.push(
                    ...i.querySelectorAll(
                      classes_to_selector_classesToSelector(t.bulletClass)
                    )
                  );
            }),
            "custom" !== t.type && s("paginationRender", r[0]);
        }
        function init() {
          let t;
          e.params.pagination =
            create_element_if_not_defined_createElementIfNotDefined(
              e,
              e.originalParams.pagination,
              e.params.pagination,
              { el: "swiper-pagination" }
            );
          let i = e.params.pagination;
          i.el &&
            ("string" == typeof i.el &&
              e.isElement &&
              (t = e.el.shadowRoot.querySelector(i.el)),
            t ||
              "string" != typeof i.el ||
              (t = [...document.querySelectorAll(i.el)]),
            t || (t = i.el),
            t &&
              0 !== t.length &&
              (e.params.uniqueNavElements &&
                "string" == typeof i.el &&
                Array.isArray(t) &&
                t.length > 1 &&
                (t = [...e.el.querySelectorAll(i.el)]).length > 1 &&
                (t = t.filter(
                  (t) => utils_elementParents(t, ".swiper")[0] === e.el
                )[0]),
              Array.isArray(t) && 1 === t.length && (t = t[0]),
              Object.assign(e.pagination, { el: t }),
              (t = makeElementsArray(t)).forEach((t) => {
                "bullets" === i.type &&
                  i.clickable &&
                  t.classList.add(i.clickableClass),
                  t.classList.add(i.modifierClass + i.type),
                  t.classList.add(
                    e.isHorizontal() ? i.horizontalClass : i.verticalClass
                  ),
                  "bullets" === i.type &&
                    i.dynamicBullets &&
                    (t.classList.add(`${i.modifierClass}${i.type}-dynamic`),
                    (l = 0),
                    i.dynamicMainBullets < 1 && (i.dynamicMainBullets = 1)),
                  "progressbar" === i.type &&
                    i.progressbarOpposite &&
                    t.classList.add(i.progressbarOppositeClass),
                  i.clickable && t.addEventListener("click", onBulletClick),
                  e.enabled || t.classList.add(i.lockClass);
              })));
        }
        function destroy() {
          let t = e.params.pagination;
          if (isPaginationDisabled()) return;
          let i = e.pagination.el;
          i &&
            (i = makeElementsArray(i)).forEach((i) => {
              i.classList.remove(t.hiddenClass),
                i.classList.remove(t.modifierClass + t.type),
                i.classList.remove(
                  e.isHorizontal() ? t.horizontalClass : t.verticalClass
                ),
                t.clickable && i.removeEventListener("click", onBulletClick);
            }),
            e.pagination.bullets &&
              e.pagination.bullets.forEach((e) =>
                e.classList.remove(...t.bulletActiveClass.split(" "))
              );
        }
        i("changeDirection", () => {
          if (!e.pagination || !e.pagination.el) return;
          let t = e.params.pagination,
            { el: i } = e.pagination;
          (i = makeElementsArray(i)).forEach((i) => {
            i.classList.remove(t.horizontalClass, t.verticalClass),
              i.classList.add(
                e.isHorizontal() ? t.horizontalClass : t.verticalClass
              );
          });
        }),
          i("init", () => {
            !1 === e.params.pagination.enabled
              ? disable()
              : (init(), render(), update());
          }),
          i("activeIndexChange", () => {
            void 0 === e.snapIndex && update();
          }),
          i("snapIndexChange", () => {
            update();
          }),
          i("snapGridLengthChange", () => {
            render(), update();
          }),
          i("destroy", () => {
            destroy();
          }),
          i("enable disable", () => {
            let { el: t } = e.pagination;
            t &&
              (t = makeElementsArray(t)).forEach((t) =>
                t.classList[e.enabled ? "remove" : "add"](
                  e.params.pagination.lockClass
                )
              );
          }),
          i("lock unlock", () => {
            update();
          }),
          i("click", (t, i) => {
            let r = i.target,
              { el: a } = e.pagination;
            if (
              (Array.isArray(a) || (a = [a].filter((e) => !!e)),
              e.params.pagination.el &&
                e.params.pagination.hideOnClick &&
                a &&
                a.length > 0 &&
                !r.classList.contains(e.params.pagination.bulletClass))
            ) {
              if (
                e.navigation &&
                ((e.navigation.nextEl && r === e.navigation.nextEl) ||
                  (e.navigation.prevEl && r === e.navigation.prevEl))
              )
                return;
              let t = a[0].classList.contains(e.params.pagination.hiddenClass);
              !0 === t ? s("paginationShow") : s("paginationHide"),
                a.forEach((t) =>
                  t.classList.toggle(e.params.pagination.hiddenClass)
                );
            }
          });
        let disable = () => {
          e.el.classList.add(e.params.pagination.paginationDisabledClass);
          let { el: t } = e.pagination;
          t &&
            (t = makeElementsArray(t)).forEach((t) =>
              t.classList.add(e.params.pagination.paginationDisabledClass)
            ),
            destroy();
        };
        Object.assign(e.pagination, {
          enable: () => {
            e.el.classList.remove(e.params.pagination.paginationDisabledClass);
            let { el: t } = e.pagination;
            t &&
              (t = makeElementsArray(t)).forEach((t) =>
                t.classList.remove(e.params.pagination.paginationDisabledClass)
              ),
              init(),
              render(),
              update();
          },
          disable,
          render,
          update,
          init,
          destroy,
        });
      }
      function Autoplay({
        swiper: e,
        extendParams: t,
        on: i,
        emit: s,
        params: r,
      }) {
        let a, l, n, o, d, c, p, u, h;
        (e.autoplay = { running: !1, paused: !1, timeLeft: 0 }),
          t({
            autoplay: {
              enabled: !1,
              delay: 3e3,
              waitForTransition: !0,
              disableOnInteraction: !0,
              stopOnLastSlide: !1,
              reverseDirection: !1,
              pauseOnMouseEnter: !1,
            },
          });
        let m = r && r.autoplay ? r.autoplay.delay : 3e3,
          f = r && r.autoplay ? r.autoplay.delay : 3e3,
          g = new Date().getTime;
        function onTransitionEnd(t) {
          e &&
            !e.destroyed &&
            e.wrapperEl &&
            t.target === e.wrapperEl &&
            (e.wrapperEl.removeEventListener("transitionend", onTransitionEnd),
            resume());
        }
        let calcTimeLeft = () => {
            if (e.destroyed || !e.autoplay.running) return;
            e.autoplay.paused ? (o = !0) : o && ((f = n), (o = !1));
            let t = e.autoplay.paused ? n : g + f - new Date().getTime();
            (e.autoplay.timeLeft = t),
              s("autoplayTimeLeft", t, t / m),
              (l = requestAnimationFrame(() => {
                calcTimeLeft();
              }));
          },
          getSlideDelay = () => {
            let t;
            if (
              !(t =
                e.virtual && e.params.virtual.enabled
                  ? e.slides.filter((e) =>
                      e.classList.contains("swiper-slide-active")
                    )[0]
                  : e.slides[e.activeIndex])
            )
              return;
            let i = parseInt(t.getAttribute("data-swiper-autoplay"), 10);
            return i;
          },
          run = (t) => {
            if (e.destroyed || !e.autoplay.running) return;
            cancelAnimationFrame(l), calcTimeLeft();
            let i = void 0 === t ? e.params.autoplay.delay : t;
            (m = e.params.autoplay.delay), (f = e.params.autoplay.delay);
            let r = getSlideDelay();
            !Number.isNaN(r) &&
              r > 0 &&
              void 0 === t &&
              ((i = r), (m = r), (f = r)),
              (n = i);
            let o = e.params.speed,
              proceed = () => {
                e &&
                  !e.destroyed &&
                  (e.params.autoplay.reverseDirection
                    ? !e.isBeginning || e.params.loop || e.params.rewind
                      ? (e.slidePrev(o, !0, !0), s("autoplay"))
                      : e.params.autoplay.stopOnLastSlide ||
                        (e.slideTo(e.slides.length - 1, o, !0, !0),
                        s("autoplay"))
                    : !e.isEnd || e.params.loop || e.params.rewind
                    ? (e.slideNext(o, !0, !0), s("autoplay"))
                    : e.params.autoplay.stopOnLastSlide ||
                      (e.slideTo(0, o, !0, !0), s("autoplay")),
                  e.params.cssMode &&
                    ((g = new Date().getTime()),
                    requestAnimationFrame(() => {
                      run();
                    })));
              };
            return (
              i > 0
                ? (clearTimeout(a),
                  (a = setTimeout(() => {
                    proceed();
                  }, i)))
                : requestAnimationFrame(() => {
                    proceed();
                  }),
              i
            );
          },
          start = () => {
            (e.autoplay.running = !0), run(), s("autoplayStart");
          },
          stop = () => {
            (e.autoplay.running = !1),
              clearTimeout(a),
              cancelAnimationFrame(l),
              s("autoplayStop");
          },
          pause = (t, i) => {
            if (e.destroyed || !e.autoplay.running) return;
            clearTimeout(a), t || (h = !0);
            let proceed = () => {
              s("autoplayPause"),
                e.params.autoplay.waitForTransition
                  ? e.wrapperEl.addEventListener(
                      "transitionend",
                      onTransitionEnd
                    )
                  : resume();
            };
            if (((e.autoplay.paused = !0), i)) {
              u && (n = e.params.autoplay.delay), (u = !1), proceed();
              return;
            }
            let r = n || e.params.autoplay.delay;
            (n = r - (new Date().getTime() - g)),
              (e.isEnd && n < 0 && !e.params.loop) ||
                (n < 0 && (n = 0), proceed());
          },
          resume = () => {
            (e.isEnd && n < 0 && !e.params.loop) ||
              e.destroyed ||
              !e.autoplay.running ||
              ((g = new Date().getTime()),
              h ? ((h = !1), run(n)) : run(),
              (e.autoplay.paused = !1),
              s("autoplayResume"));
          },
          onVisibilityChange = () => {
            if (e.destroyed || !e.autoplay.running) return;
            let t = ssr_window_esm_getDocument();
            "hidden" === t.visibilityState && ((h = !0), pause(!0)),
              "visible" === t.visibilityState && resume();
          },
          onPointerEnter = (e) => {
            "mouse" === e.pointerType && ((h = !0), pause(!0));
          },
          onPointerLeave = (t) => {
            "mouse" === t.pointerType && e.autoplay.paused && resume();
          },
          attachMouseEvents = () => {
            e.params.autoplay.pauseOnMouseEnter &&
              (e.el.addEventListener("pointerenter", onPointerEnter),
              e.el.addEventListener("pointerleave", onPointerLeave));
          },
          detachMouseEvents = () => {
            e.el.removeEventListener("pointerenter", onPointerEnter),
              e.el.removeEventListener("pointerleave", onPointerLeave);
          },
          attachDocumentEvents = () => {
            let e = ssr_window_esm_getDocument();
            e.addEventListener("visibilitychange", onVisibilityChange);
          },
          detachDocumentEvents = () => {
            let e = ssr_window_esm_getDocument();
            e.removeEventListener("visibilitychange", onVisibilityChange);
          };
        i("init", () => {
          e.params.autoplay.enabled &&
            (attachMouseEvents(),
            attachDocumentEvents(),
            (g = new Date().getTime()),
            start());
        }),
          i("destroy", () => {
            detachMouseEvents(),
              detachDocumentEvents(),
              e.autoplay.running && stop();
          }),
          i("beforeTransitionStart", (t, i, s) => {
            !e.destroyed &&
              e.autoplay.running &&
              (s || !e.params.autoplay.disableOnInteraction
                ? pause(!0, !0)
                : stop());
          }),
          i("sliderFirstMove", () => {
            if (!e.destroyed && e.autoplay.running) {
              if (e.params.autoplay.disableOnInteraction) {
                stop();
                return;
              }
              (d = !0),
                (c = !1),
                (h = !1),
                (p = setTimeout(() => {
                  (h = !0), (c = !0), pause(!0);
                }, 200));
            }
          }),
          i("touchEnd", () => {
            if (!e.destroyed && e.autoplay.running && d) {
              if (
                (clearTimeout(p),
                clearTimeout(a),
                e.params.autoplay.disableOnInteraction)
              ) {
                (c = !1), (d = !1);
                return;
              }
              c && e.params.cssMode && resume(), (c = !1), (d = !1);
            }
          }),
          i("slideChange", () => {
            !e.destroyed && e.autoplay.running && (u = !0);
          }),
          Object.assign(e.autoplay, { start, stop, pause, resume });
      }
      function EffectFade({ swiper: e, extendParams: t, on: i }) {
        t({ fadeEffect: { crossFade: !1 } }),
          (function (e) {
            let t;
            let {
              effect: i,
              swiper: s,
              on: r,
              setTranslate: a,
              setTransition: l,
              overwriteParams: n,
              perspective: o,
              recreateShadows: d,
              getEffectParams: c,
            } = e;
            r("beforeInit", () => {
              if (s.params.effect !== i) return;
              s.classNames.push(`${s.params.containerModifierClass}${i}`),
                o &&
                  o() &&
                  s.classNames.push(`${s.params.containerModifierClass}3d`);
              let e = n ? n() : {};
              Object.assign(s.params, e), Object.assign(s.originalParams, e);
            }),
              r("setTranslate", () => {
                s.params.effect === i && a();
              }),
              r("setTransition", (e, t) => {
                s.params.effect === i && l(t);
              }),
              r("transitionEnd", () => {
                s.params.effect === i &&
                  d &&
                  c &&
                  c().slideShadows &&
                  (s.slides.forEach((e) => {
                    e.querySelectorAll(
                      ".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left"
                    ).forEach((e) => e.remove());
                  }),
                  d());
              }),
              r("virtualUpdate", () => {
                s.params.effect === i &&
                  (s.slides.length || (t = !0),
                  requestAnimationFrame(() => {
                    t && s.slides && s.slides.length && (a(), (t = !1));
                  }));
              });
          })({
            effect: "fade",
            swiper: e,
            on: i,
            setTranslate: () => {
              let { slides: t } = e;
              e.params.fadeEffect;
              for (let i = 0; i < t.length; i += 1) {
                let t = e.slides[i],
                  s = t.swiperSlideOffset,
                  r = -s;
                e.params.virtualTranslate || (r -= e.translate);
                let a = 0;
                e.isHorizontal() || ((a = r), (r = 0));
                let l = e.params.fadeEffect.crossFade
                    ? Math.max(1 - Math.abs(t.progress), 0)
                    : 1 + Math.min(Math.max(t.progress, -1), 0),
                  n = (function (e, t) {
                    let i = utils_getSlideTransformEl(t);
                    return (
                      i !== t &&
                        ((i.style.backfaceVisibility = "hidden"),
                        (i.style["-webkit-backface-visibility"] = "hidden")),
                      i
                    );
                  })(0, t);
                (n.style.opacity = l),
                  (n.style.transform = `translate3d(${r}px, ${a}px, 0px)`);
              }
            },
            setTransition: (t) => {
              let i = e.slides.map((e) => utils_getSlideTransformEl(e));
              i.forEach((e) => {
                e.style.transitionDuration = `${t}ms`;
              }),
                (function ({
                  swiper: e,
                  duration: t,
                  transformElements: i,
                  allSlides: s,
                }) {
                  let { activeIndex: r } = e,
                    getSlide = (t) => {
                      if (!t.parentElement) {
                        let i = e.slides.filter(
                          (e) => e.shadowEl && e.shadowEl === t.parentNode
                        )[0];
                        return i;
                      }
                      return t.parentElement;
                    };
                  if (e.params.virtualTranslate && 0 !== t) {
                    let t = !1;
                    (s
                      ? i
                      : i.filter((t) => {
                          let i = t.classList.contains("swiper-slide-transform")
                            ? getSlide(t)
                            : t;
                          return e.getSlideIndex(i) === r;
                        })
                    ).forEach((i) => {
                      var s;
                      (s = () => {
                        if (t || !e || e.destroyed) return;
                        (t = !0), (e.animating = !1);
                        let i = new window.CustomEvent("transitionend", {
                          bubbles: !0,
                          cancelable: !0,
                        });
                        e.wrapperEl.dispatchEvent(i);
                      }) &&
                        i.addEventListener(
                          "transitionend",
                          function fireCallBack(e) {
                            e.target === i &&
                              (s.call(i, e),
                              i.removeEventListener(
                                "transitionend",
                                fireCallBack
                              ));
                          }
                        );
                    });
                  }
                })({
                  swiper: e,
                  duration: t,
                  transformElements: i,
                  allSlides: !0,
                });
            },
            overwriteParams: () => ({
              slidesPerView: 1,
              slidesPerGroup: 1,
              watchSlidesProgress: !0,
              spaceBetween: 0,
              virtualTranslate: !e.params.cssMode,
            }),
          });
      }
    },
  },
]);
