import { ref, provide, watch, nextTick, h as h$1, computed } from 'vue';

function n(e3) {
  return null !== e3 && "object" == typeof e3 && "constructor" in e3 && e3.constructor === Object;
}
function l(e3, t2) {
  undefined === e3 && (e3 = {}), undefined === t2 && (t2 = {}), Object.keys(t2).forEach((s2) => {
    undefined === e3[s2] ? e3[s2] = t2[s2] : n(t2[s2]) && n(e3[s2]) && Object.keys(t2[s2]).length > 0 && l(e3[s2], t2[s2]);
  });
}
const o = { 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 d() {
  const e3 = {};
  return l(e3, o), e3;
}
const p = { document: o, 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: (e3) => "undefined" == typeof setTimeout ? (e3(), null) : setTimeout(e3, 0), cancelAnimationFrame(e3) {
  "undefined" != typeof setTimeout && clearTimeout(e3);
} };
function c() {
  const e3 = {};
  return l(e3, p), e3;
}
function u(e3, t2) {
  return undefined === t2 && (t2 = 0), setTimeout(e3, t2);
}
function f() {
  return Date.now();
}
function m(e3, t2) {
  undefined === t2 && (t2 = "x");
  const s2 = c();
  let i2, a2, r2;
  const n2 = function(e4) {
    const t3 = c();
    let s3;
    return t3.getComputedStyle && (s3 = t3.getComputedStyle(e4, null)), !s3 && e4.currentStyle && (s3 = e4.currentStyle), s3 || (s3 = e4.style), s3;
  }(e3);
  return s2.WebKitCSSMatrix ? (a2 = n2.transform || n2.webkitTransform, a2.split(",").length > 6 && (a2 = a2.split(", ").map((e4) => e4.replace(",", ".")).join(", ")), r2 = new s2.WebKitCSSMatrix("none" === a2 ? "" : a2)) : (r2 = n2.MozTransform || n2.OTransform || n2.MsTransform || n2.msTransform || n2.transform || n2.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), i2 = r2.toString().split(",")), "x" === t2 && (a2 = s2.WebKitCSSMatrix ? r2.m41 : 16 === i2.length ? parseFloat(i2[12]) : parseFloat(i2[4])), "y" === t2 && (a2 = s2.WebKitCSSMatrix ? r2.m42 : 16 === i2.length ? parseFloat(i2[13]) : parseFloat(i2[5])), a2 || 0;
}
function v(e3) {
  return "object" == typeof e3 && null !== e3 && e3.constructor && "Object" === Object.prototype.toString.call(e3).slice(8, -1);
}
function h() {
  const e3 = Object(arguments.length <= 0 ? undefined : arguments[0]), t2 = ["__proto__", "constructor", "prototype"];
  for (let i2 = 1; i2 < arguments.length; i2 += 1) {
    const a2 = i2 < 0 || arguments.length <= i2 ? undefined : arguments[i2];
    if (null != a2 && (!(s2 = a2) || 1 !== s2.nodeType && 11 !== s2.nodeType)) {
      const s3 = Object.keys(Object(a2)).filter((e4) => t2.indexOf(e4) < 0);
      for (let t3 = 0, i3 = s3.length; t3 < i3; t3 += 1) {
        const i4 = s3[t3], r2 = Object.getOwnPropertyDescriptor(a2, i4);
        undefined !== r2 && r2.enumerable && (v(e3[i4]) && v(a2[i4]) ? a2[i4].__swiper__ ? e3[i4] = a2[i4] : h(e3[i4], a2[i4]) : !v(e3[i4]) && v(a2[i4]) ? (e3[i4] = {}, a2[i4].__swiper__ ? e3[i4] = a2[i4] : h(e3[i4], a2[i4])) : e3[i4] = a2[i4]);
      }
    }
  }
  var s2;
  return e3;
}
function g(e3, t2, s2) {
  e3.style.setProperty(t2, s2);
}
function y(e3) {
  let { swiper: t2, targetPosition: s2, side: i2 } = e3;
  const a2 = c(), r2 = -t2.translate;
  let n2, l2 = null;
  const o2 = t2.params.speed;
  t2.wrapperEl.style.scrollSnapType = "none", a2.cancelAnimationFrame(t2.cssModeFrameID);
  const d2 = s2 > r2 ? "next" : "prev", p2 = (e4, t3) => "next" === d2 && e4 >= t3 || "prev" === d2 && e4 <= t3, u2 = () => {
    n2 = (/* @__PURE__ */ new Date()).getTime(), null === l2 && (l2 = n2);
    const e4 = Math.max(Math.min((n2 - l2) / o2, 1), 0), d3 = 0.5 - Math.cos(e4 * Math.PI) / 2;
    let c2 = r2 + d3 * (s2 - r2);
    if (p2(c2, s2) && (c2 = s2), t2.wrapperEl.scrollTo({ [i2]: c2 }), p2(c2, s2)) return t2.wrapperEl.style.overflow = "hidden", t2.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
      t2.wrapperEl.style.overflow = "", t2.wrapperEl.scrollTo({ [i2]: c2 });
    }), void a2.cancelAnimationFrame(t2.cssModeFrameID);
    t2.cssModeFrameID = a2.requestAnimationFrame(u2);
  };
  u2();
}
function w(e3, t2) {
  undefined === t2 && (t2 = "");
  const s2 = [...e3.children];
  return e3 instanceof HTMLSlotElement && s2.push(...e3.assignedElements()), t2 ? s2.filter((e4) => e4.matches(t2)) : s2;
}
function b(e3) {
  try {
    return;
  } catch (t2) {
  }
}
function S(e3, t2) {
  undefined === t2 && (t2 = []);
  const s2 = (undefined).createElement(e3);
  return s2.classList.add(...Array.isArray(t2) ? t2 : function(e4) {
    return undefined === e4 && (e4 = ""), e4.trim().split(" ").filter((e5) => !!e5.trim());
  }(t2)), s2;
}
function T(e3, t2) {
  return c().getComputedStyle(e3, null).getPropertyValue(t2);
}
function x(e3) {
  let t2, s2 = e3;
  if (s2) {
    for (t2 = 0; null !== (s2 = s2.previousSibling); ) 1 === s2.nodeType && (t2 += 1);
    return t2;
  }
}
function E(e3, t2) {
  const s2 = [];
  let i2 = e3.parentElement;
  for (; i2; ) t2 ? i2.matches(t2) && s2.push(i2) : s2.push(i2), i2 = i2.parentElement;
  return s2;
}
function C(e3, t2) {
  t2 && e3.addEventListener("transitionend", function s2(i2) {
    i2.target === e3 && (t2.call(e3, i2), e3.removeEventListener("transitionend", s2));
  });
}
function M(e3, t2, s2) {
  const i2 = c();
  return e3["width" === t2 ? "offsetWidth" : "offsetHeight"] + parseFloat(i2.getComputedStyle(e3, null).getPropertyValue("width" === t2 ? "margin-right" : "margin-top")) + parseFloat(i2.getComputedStyle(e3, null).getPropertyValue("width" === t2 ? "margin-left" : "margin-bottom"));
}
function P(e3) {
  return (Array.isArray(e3) ? e3 : [e3]).filter((e4) => !!e4);
}
function O(e3) {
  return undefined === e3 && (e3 = ""), `.${e3.trim().replace(/([\.:!+\/])/g, "\\$1").replace(/ /g, ".")}`;
}
function I(e3) {
  let { swiper: t2, extendParams: s2, on: i2, emit: a2 } = e3;
  const r2 = "swiper-pagination";
  let n2;
  s2({ pagination: { el: null, bulletElement: "span", clickable: false, hideOnClick: false, renderBullet: null, renderProgressbar: null, renderFraction: null, renderCustom: null, progressbarOpposite: false, type: "bullets", dynamicBullets: false, dynamicMainBullets: 1, formatFractionCurrent: (e4) => e4, formatFractionTotal: (e4) => e4, bulletClass: `${r2}-bullet`, bulletActiveClass: `${r2}-bullet-active`, modifierClass: `${r2}-`, currentClass: `${r2}-current`, totalClass: `${r2}-total`, hiddenClass: `${r2}-hidden`, progressbarFillClass: `${r2}-progressbar-fill`, progressbarOppositeClass: `${r2}-progressbar-opposite`, clickableClass: `${r2}-clickable`, lockClass: `${r2}-lock`, horizontalClass: `${r2}-horizontal`, verticalClass: `${r2}-vertical`, paginationDisabledClass: `${r2}-disabled` } }), t2.pagination = { el: null, bullets: [] };
  let l2 = 0;
  function o2() {
    return !t2.params.pagination.el || !t2.pagination.el || Array.isArray(t2.pagination.el) && 0 === t2.pagination.el.length;
  }
  function d2(e4, s3) {
    const { bulletActiveClass: i3 } = t2.params.pagination;
    e4 && (e4 = e4[("prev" === s3 ? "previous" : "next") + "ElementSibling"]) && (e4.classList.add(`${i3}-${s3}`), (e4 = e4[("prev" === s3 ? "previous" : "next") + "ElementSibling"]) && e4.classList.add(`${i3}-${s3}-${s3}`));
  }
  function p2(e4) {
    const s3 = e4.target.closest(O(t2.params.pagination.bulletClass));
    if (!s3) return;
    e4.preventDefault();
    const i3 = x(s3) * t2.params.slidesPerGroup;
    if (t2.params.loop) {
      if (t2.realIndex === i3) return;
      const e5 = (a3 = t2.realIndex, r3 = i3, n3 = t2.slides.length, (r3 %= n3) == 1 + (a3 %= n3) ? "next" : r3 === a3 - 1 ? "previous" : undefined);
      "next" === e5 ? t2.slideNext() : "previous" === e5 ? t2.slidePrev() : t2.slideToLoop(i3);
    } else t2.slideTo(i3);
    var a3, r3, n3;
  }
  function c2() {
    const e4 = t2.rtl, s3 = t2.params.pagination;
    if (o2()) return;
    let i3, r3, p3 = t2.pagination.el;
    p3 = P(p3);
    const c3 = t2.virtual && t2.params.virtual.enabled ? t2.virtual.slides.length : t2.slides.length, u3 = t2.params.loop ? Math.ceil(c3 / t2.params.slidesPerGroup) : t2.snapGrid.length;
    if (t2.params.loop ? (r3 = t2.previousRealIndex || 0, i3 = t2.params.slidesPerGroup > 1 ? Math.floor(t2.realIndex / t2.params.slidesPerGroup) : t2.realIndex) : undefined !== t2.snapIndex ? (i3 = t2.snapIndex, r3 = t2.previousSnapIndex) : (r3 = t2.previousIndex || 0, i3 = t2.activeIndex || 0), "bullets" === s3.type && t2.pagination.bullets && t2.pagination.bullets.length > 0) {
      const a3 = t2.pagination.bullets;
      let o3, c4, u4;
      if (s3.dynamicBullets && (n2 = M(a3[0], t2.isHorizontal() ? "width" : "height"), p3.forEach((e5) => {
        e5.style[t2.isHorizontal() ? "width" : "height"] = n2 * (s3.dynamicMainBullets + 4) + "px";
      }), s3.dynamicMainBullets > 1 && undefined !== r3 && (l2 += i3 - (r3 || 0), l2 > s3.dynamicMainBullets - 1 ? l2 = s3.dynamicMainBullets - 1 : l2 < 0 && (l2 = 0)), o3 = Math.max(i3 - l2, 0), c4 = o3 + (Math.min(a3.length, s3.dynamicMainBullets) - 1), u4 = (c4 + o3) / 2), a3.forEach((e5) => {
        const t3 = [...["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map((e6) => `${s3.bulletActiveClass}${e6}`)].map((e6) => "string" == typeof e6 && e6.includes(" ") ? e6.split(" ") : e6).flat();
        e5.classList.remove(...t3);
      }), p3.length > 1) a3.forEach((e5) => {
        const a4 = x(e5);
        a4 === i3 ? e5.classList.add(...s3.bulletActiveClass.split(" ")) : t2.isElement && e5.setAttribute("part", "bullet"), s3.dynamicBullets && (a4 >= o3 && a4 <= c4 && e5.classList.add(...`${s3.bulletActiveClass}-main`.split(" ")), a4 === o3 && d2(e5, "prev"), a4 === c4 && d2(e5, "next"));
      });
      else {
        const e5 = a3[i3];
        if (e5 && e5.classList.add(...s3.bulletActiveClass.split(" ")), t2.isElement && a3.forEach((e6, t3) => {
          e6.setAttribute("part", t3 === i3 ? "bullet-active" : "bullet");
        }), s3.dynamicBullets) {
          const e6 = a3[o3], t3 = a3[c4];
          for (let i4 = o3; i4 <= c4; i4 += 1) a3[i4] && a3[i4].classList.add(...`${s3.bulletActiveClass}-main`.split(" "));
          d2(e6, "prev"), d2(t3, "next");
        }
      }
      if (s3.dynamicBullets) {
        const i4 = Math.min(a3.length, s3.dynamicMainBullets + 4), r4 = (n2 * i4 - n2) / 2 - u4 * n2, l3 = e4 ? "right" : "left";
        a3.forEach((e5) => {
          e5.style[t2.isHorizontal() ? l3 : "top"] = `${r4}px`;
        });
      }
    }
    p3.forEach((e5, r4) => {
      if ("fraction" === s3.type && (e5.querySelectorAll(O(s3.currentClass)).forEach((e6) => {
        e6.textContent = s3.formatFractionCurrent(i3 + 1);
      }), e5.querySelectorAll(O(s3.totalClass)).forEach((e6) => {
        e6.textContent = s3.formatFractionTotal(u3);
      })), "progressbar" === s3.type) {
        let a3;
        a3 = s3.progressbarOpposite ? t2.isHorizontal() ? "vertical" : "horizontal" : t2.isHorizontal() ? "horizontal" : "vertical";
        const r5 = (i3 + 1) / u3;
        let n3 = 1, l3 = 1;
        "horizontal" === a3 ? n3 = r5 : l3 = r5, e5.querySelectorAll(O(s3.progressbarFillClass)).forEach((e6) => {
          e6.style.transform = `translate3d(0,0,0) scaleX(${n3}) scaleY(${l3})`, e6.style.transitionDuration = `${t2.params.speed}ms`;
        });
      }
      "custom" === s3.type && s3.renderCustom ? (e5.innerHTML = s3.renderCustom(t2, i3 + 1, u3), 0 === r4 && a2("paginationRender", e5)) : (0 === r4 && a2("paginationRender", e5), a2("paginationUpdate", e5)), t2.params.watchOverflow && t2.enabled && e5.classList[t2.isLocked ? "add" : "remove"](s3.lockClass);
    });
  }
  function u2() {
    const e4 = t2.params.pagination;
    if (o2()) return;
    const s3 = t2.virtual && t2.params.virtual.enabled ? t2.virtual.slides.length : t2.grid && t2.params.grid.rows > 1 ? t2.slides.length / Math.ceil(t2.params.grid.rows) : t2.slides.length;
    let i3 = t2.pagination.el;
    i3 = P(i3);
    let r3 = "";
    if ("bullets" === e4.type) {
      let i4 = t2.params.loop ? Math.ceil(s3 / t2.params.slidesPerGroup) : t2.snapGrid.length;
      t2.params.freeMode && t2.params.freeMode.enabled && i4 > s3 && (i4 = s3);
      for (let s4 = 0; s4 < i4; s4 += 1) e4.renderBullet ? r3 += e4.renderBullet.call(t2, s4, e4.bulletClass) : r3 += `<${e4.bulletElement} ${t2.isElement ? 'part="bullet"' : ""} class="${e4.bulletClass}"></${e4.bulletElement}>`;
    }
    "fraction" === e4.type && (r3 = e4.renderFraction ? e4.renderFraction.call(t2, e4.currentClass, e4.totalClass) : `<span class="${e4.currentClass}"></span> / <span class="${e4.totalClass}"></span>`), "progressbar" === e4.type && (r3 = e4.renderProgressbar ? e4.renderProgressbar.call(t2, e4.progressbarFillClass) : `<span class="${e4.progressbarFillClass}"></span>`), t2.pagination.bullets = [], i3.forEach((s4) => {
      "custom" !== e4.type && (s4.innerHTML = r3 || ""), "bullets" === e4.type && t2.pagination.bullets.push(...s4.querySelectorAll(O(e4.bulletClass)));
    }), "custom" !== e4.type && a2("paginationRender", i3[0]);
  }
  function f2() {
    t2.params.pagination = function(e5, t3, s4, i3) {
      return e5.params.createElements && Object.keys(i3).forEach((a3) => {
        if (!s4[a3] && true === s4.auto) {
          let r3 = w(e5.el, `.${i3[a3]}`)[0];
          r3 || (r3 = S("div", i3[a3]), r3.className = i3[a3], e5.el.append(r3)), s4[a3] = r3, t3[a3] = r3;
        }
      }), s4;
    }(t2, t2.originalParams.pagination, t2.params.pagination, { el: "swiper-pagination" });
    const e4 = t2.params.pagination;
    if (!e4.el) return;
    let s3;
    "string" == typeof e4.el && t2.isElement && (s3 = t2.el.querySelector(e4.el)), s3 || "string" != typeof e4.el || (s3 = [...(undefined).querySelectorAll(e4.el)]), s3 || (s3 = e4.el), s3 && 0 !== s3.length && (t2.params.uniqueNavElements && "string" == typeof e4.el && Array.isArray(s3) && s3.length > 1 && (s3 = [...t2.el.querySelectorAll(e4.el)], s3.length > 1 && (s3 = s3.find((e5) => E(e5, ".swiper")[0] === t2.el))), Array.isArray(s3) && 1 === s3.length && (s3 = s3[0]), Object.assign(t2.pagination, { el: s3 }), s3 = P(s3), s3.forEach((s4) => {
      "bullets" === e4.type && e4.clickable && s4.classList.add(...(e4.clickableClass || "").split(" ")), s4.classList.add(e4.modifierClass + e4.type), s4.classList.add(t2.isHorizontal() ? e4.horizontalClass : e4.verticalClass), "bullets" === e4.type && e4.dynamicBullets && (s4.classList.add(`${e4.modifierClass}${e4.type}-dynamic`), l2 = 0, e4.dynamicMainBullets < 1 && (e4.dynamicMainBullets = 1)), "progressbar" === e4.type && e4.progressbarOpposite && s4.classList.add(e4.progressbarOppositeClass), e4.clickable && s4.addEventListener("click", p2), t2.enabled || s4.classList.add(e4.lockClass);
    }));
  }
  function m2() {
    const e4 = t2.params.pagination;
    if (o2()) return;
    let s3 = t2.pagination.el;
    s3 && (s3 = P(s3), s3.forEach((s4) => {
      s4.classList.remove(e4.hiddenClass), s4.classList.remove(e4.modifierClass + e4.type), s4.classList.remove(t2.isHorizontal() ? e4.horizontalClass : e4.verticalClass), e4.clickable && (s4.classList.remove(...(e4.clickableClass || "").split(" ")), s4.removeEventListener("click", p2));
    })), t2.pagination.bullets && t2.pagination.bullets.forEach((t3) => t3.classList.remove(...e4.bulletActiveClass.split(" ")));
  }
  i2("changeDirection", () => {
    if (!t2.pagination || !t2.pagination.el) return;
    const e4 = t2.params.pagination;
    let { el: s3 } = t2.pagination;
    s3 = P(s3), s3.forEach((s4) => {
      s4.classList.remove(e4.horizontalClass, e4.verticalClass), s4.classList.add(t2.isHorizontal() ? e4.horizontalClass : e4.verticalClass);
    });
  }), i2("init", () => {
    false === t2.params.pagination.enabled ? v2() : (f2(), u2(), c2());
  }), i2("activeIndexChange", () => {
    undefined === t2.snapIndex && c2();
  }), i2("snapIndexChange", () => {
    c2();
  }), i2("snapGridLengthChange", () => {
    u2(), c2();
  }), i2("destroy", () => {
    m2();
  }), i2("enable disable", () => {
    let { el: e4 } = t2.pagination;
    e4 && (e4 = P(e4), e4.forEach((e5) => e5.classList[t2.enabled ? "remove" : "add"](t2.params.pagination.lockClass)));
  }), i2("lock unlock", () => {
    c2();
  }), i2("click", (e4, s3) => {
    const i3 = s3.target, r3 = P(t2.pagination.el);
    if (t2.params.pagination.el && t2.params.pagination.hideOnClick && r3 && r3.length > 0 && !i3.classList.contains(t2.params.pagination.bulletClass)) {
      if (t2.navigation && (t2.navigation.nextEl && i3 === t2.navigation.nextEl || t2.navigation.prevEl && i3 === t2.navigation.prevEl)) return;
      const e5 = r3[0].classList.contains(t2.params.pagination.hiddenClass);
      a2(true === e5 ? "paginationShow" : "paginationHide"), r3.forEach((e6) => e6.classList.toggle(t2.params.pagination.hiddenClass));
    }
  });
  const v2 = () => {
    t2.el.classList.add(t2.params.pagination.paginationDisabledClass);
    let { el: e4 } = t2.pagination;
    e4 && (e4 = P(e4), e4.forEach((e5) => e5.classList.add(t2.params.pagination.paginationDisabledClass))), m2();
  };
  Object.assign(t2.pagination, { enable: () => {
    t2.el.classList.remove(t2.params.pagination.paginationDisabledClass);
    let { el: e4 } = t2.pagination;
    e4 && (e4 = P(e4), e4.forEach((e5) => e5.classList.remove(t2.params.pagination.paginationDisabledClass))), f2(), u2(), c2();
  }, disable: v2, render: u2, update: c2, init: f2, destroy: m2 });
}
function L(e3) {
  let t2, s2, { swiper: i2, extendParams: a2, on: r2, emit: n2, params: l2 } = e3;
  i2.autoplay = { running: false, paused: false, timeLeft: 0 }, a2({ autoplay: { enabled: false, delay: 3e3, waitForTransition: true, disableOnInteraction: false, stopOnLastSlide: false, reverseDirection: false, pauseOnMouseEnter: false } });
  let o2, p2, c2, u2, f2, m2, v2, h2, g2 = l2 && l2.autoplay ? l2.autoplay.delay : 3e3, y2 = l2 && l2.autoplay ? l2.autoplay.delay : 3e3, w2 = (/* @__PURE__ */ new Date()).getTime();
  function b2(e4) {
    i2 && !i2.destroyed && i2.wrapperEl && e4.target === i2.wrapperEl && (i2.wrapperEl.removeEventListener("transitionend", b2), h2 || e4.detail && e4.detail.bySwiperTouchMove || M2());
  }
  const S2 = () => {
    if (i2.destroyed || !i2.autoplay.running) return;
    i2.autoplay.paused ? p2 = true : p2 && (y2 = o2, p2 = false);
    const e4 = i2.autoplay.paused ? o2 : w2 + y2 - (/* @__PURE__ */ new Date()).getTime();
    i2.autoplay.timeLeft = e4, n2("autoplayTimeLeft", e4, e4 / g2), s2 = requestAnimationFrame(() => {
      S2();
    });
  }, T2 = (e4) => {
    if (i2.destroyed || !i2.autoplay.running) return;
    cancelAnimationFrame(s2), S2();
    let a3 = undefined === e4 ? i2.params.autoplay.delay : e4;
    g2 = i2.params.autoplay.delay, y2 = i2.params.autoplay.delay;
    const r3 = (() => {
      let e5;
      if (e5 = i2.virtual && i2.params.virtual.enabled ? i2.slides.find((e6) => e6.classList.contains("swiper-slide-active")) : i2.slides[i2.activeIndex], !e5) return;
      return parseInt(e5.getAttribute("data-swiper-autoplay"), 10);
    })();
    !Number.isNaN(r3) && r3 > 0 && undefined === e4 && (a3 = r3, g2 = r3, y2 = r3), o2 = a3;
    const l3 = i2.params.speed, d2 = () => {
      i2 && !i2.destroyed && (i2.params.autoplay.reverseDirection ? !i2.isBeginning || i2.params.loop || i2.params.rewind ? (i2.slidePrev(l3, true, true), n2("autoplay")) : i2.params.autoplay.stopOnLastSlide || (i2.slideTo(i2.slides.length - 1, l3, true, true), n2("autoplay")) : !i2.isEnd || i2.params.loop || i2.params.rewind ? (i2.slideNext(l3, true, true), n2("autoplay")) : i2.params.autoplay.stopOnLastSlide || (i2.slideTo(0, l3, true, true), n2("autoplay")), i2.params.cssMode && (w2 = (/* @__PURE__ */ new Date()).getTime(), requestAnimationFrame(() => {
        T2();
      })));
    };
    return a3 > 0 ? (clearTimeout(t2), t2 = setTimeout(() => {
      d2();
    }, a3)) : requestAnimationFrame(() => {
      d2();
    }), a3;
  }, x2 = () => {
    w2 = (/* @__PURE__ */ new Date()).getTime(), i2.autoplay.running = true, T2(), n2("autoplayStart");
  }, E2 = () => {
    i2.autoplay.running = false, clearTimeout(t2), cancelAnimationFrame(s2), n2("autoplayStop");
  }, C2 = (e4, s3) => {
    if (i2.destroyed || !i2.autoplay.running) return;
    clearTimeout(t2), e4 || (v2 = true);
    const a3 = () => {
      n2("autoplayPause"), i2.params.autoplay.waitForTransition ? i2.wrapperEl.addEventListener("transitionend", b2) : M2();
    };
    if (i2.autoplay.paused = true, s3) return m2 && (o2 = i2.params.autoplay.delay), m2 = false, void a3();
    const r3 = o2 || i2.params.autoplay.delay;
    o2 = r3 - ((/* @__PURE__ */ new Date()).getTime() - w2), i2.isEnd && o2 < 0 && !i2.params.loop || (o2 < 0 && (o2 = 0), a3());
  }, M2 = () => {
    i2.isEnd && o2 < 0 && !i2.params.loop || i2.destroyed || !i2.autoplay.running || (w2 = (/* @__PURE__ */ new Date()).getTime(), v2 ? (v2 = false, T2(o2)) : T2(), i2.autoplay.paused = false, n2("autoplayResume"));
  }, P2 = () => {
    if (i2.destroyed || !i2.autoplay.running) return;
    const e4 = d();
    "hidden" === e4.visibilityState && (v2 = true, C2(true)), "visible" === e4.visibilityState && M2();
  }, O2 = (e4) => {
    "mouse" === e4.pointerType && (v2 = true, h2 = true, i2.animating || i2.autoplay.paused || C2(true));
  }, I2 = (e4) => {
    "mouse" === e4.pointerType && (h2 = false, i2.autoplay.paused && M2());
  };
  r2("init", () => {
    i2.params.autoplay.enabled && (i2.params.autoplay.pauseOnMouseEnter && (i2.el.addEventListener("pointerenter", O2), i2.el.addEventListener("pointerleave", I2)), d().addEventListener("visibilitychange", P2), x2());
  }), r2("destroy", () => {
    i2.el && "string" != typeof i2.el && (i2.el.removeEventListener("pointerenter", O2), i2.el.removeEventListener("pointerleave", I2)), d().removeEventListener("visibilitychange", P2), i2.autoplay.running && E2();
  }), r2("_freeModeStaticRelease", () => {
    (u2 || v2) && M2();
  }), r2("_freeModeNoMomentumRelease", () => {
    i2.params.autoplay.disableOnInteraction ? E2() : C2(true, true);
  }), r2("beforeTransitionStart", (e4, t3, s3) => {
    !i2.destroyed && i2.autoplay.running && (s3 || !i2.params.autoplay.disableOnInteraction ? C2(true, true) : E2());
  }), r2("sliderFirstMove", () => {
    !i2.destroyed && i2.autoplay.running && (i2.params.autoplay.disableOnInteraction ? E2() : (c2 = true, u2 = false, v2 = false, f2 = setTimeout(() => {
      v2 = true, u2 = true, C2(true);
    }, 200)));
  }), r2("touchEnd", () => {
    if (!i2.destroyed && i2.autoplay.running && c2) {
      if (clearTimeout(f2), clearTimeout(t2), i2.params.autoplay.disableOnInteraction) return u2 = false, void (c2 = false);
      u2 && i2.params.cssMode && M2(), u2 = false, c2 = false;
    }
  }), r2("slideChange", () => {
    !i2.destroyed && i2.autoplay.running && (m2 = true);
  }), Object.assign(i2.autoplay, { start: x2, stop: E2, pause: C2, resume: M2 });
}
function k(e3) {
  let { swiper: t2, extendParams: s2, on: i2 } = e3;
  s2({ thumbs: { swiper: null, multipleActiveThumbs: true, autoScrollOffset: 0, slideThumbActiveClass: "swiper-slide-thumb-active", thumbsContainerClass: "swiper-thumbs" } });
  let a2 = false, r2 = false;
  function n2() {
    const e4 = t2.thumbs.swiper;
    if (!e4 || e4.destroyed) return;
    const s3 = e4.clickedIndex, i3 = e4.clickedSlide;
    if (i3 && i3.classList.contains(t2.params.thumbs.slideThumbActiveClass)) return;
    if (null == s3) return;
    let a3;
    a3 = e4.params.loop ? parseInt(e4.clickedSlide.getAttribute("data-swiper-slide-index"), 10) : s3, t2.params.loop ? t2.slideToLoop(a3) : t2.slideTo(a3);
  }
  function l2() {
    const { thumbs: e4 } = t2.params;
    if (a2) return false;
    a2 = true;
    const s3 = t2.constructor;
    if (e4.swiper instanceof s3) t2.thumbs.swiper = e4.swiper, Object.assign(t2.thumbs.swiper.originalParams, { watchSlidesProgress: true, slideToClickedSlide: false }), Object.assign(t2.thumbs.swiper.params, { watchSlidesProgress: true, slideToClickedSlide: false }), t2.thumbs.swiper.update();
    else if (v(e4.swiper)) {
      const i3 = Object.assign({}, e4.swiper);
      Object.assign(i3, { watchSlidesProgress: true, slideToClickedSlide: false }), t2.thumbs.swiper = new s3(i3), r2 = true;
    }
    return t2.thumbs.swiper.el.classList.add(t2.params.thumbs.thumbsContainerClass), t2.thumbs.swiper.on("tap", n2), true;
  }
  function o2(e4) {
    const s3 = t2.thumbs.swiper;
    if (!s3 || s3.destroyed) return;
    const i3 = "auto" === s3.params.slidesPerView ? s3.slidesPerViewDynamic() : s3.params.slidesPerView;
    let a3 = 1;
    const r3 = t2.params.thumbs.slideThumbActiveClass;
    if (t2.params.slidesPerView > 1 && !t2.params.centeredSlides && (a3 = t2.params.slidesPerView), t2.params.thumbs.multipleActiveThumbs || (a3 = 1), a3 = Math.floor(a3), s3.slides.forEach((e5) => e5.classList.remove(r3)), s3.params.loop || s3.params.virtual && s3.params.virtual.enabled) for (let o3 = 0; o3 < a3; o3 += 1) w(s3.slidesEl, `[data-swiper-slide-index="${t2.realIndex + o3}"]`).forEach((e5) => {
      e5.classList.add(r3);
    });
    else for (let o3 = 0; o3 < a3; o3 += 1) s3.slides[t2.realIndex + o3] && s3.slides[t2.realIndex + o3].classList.add(r3);
    const n3 = t2.params.thumbs.autoScrollOffset, l3 = n3 && !s3.params.loop;
    if (t2.realIndex !== s3.realIndex || l3) {
      const a4 = s3.activeIndex;
      let r4, o3;
      if (s3.params.loop) {
        const e5 = s3.slides.find((e6) => e6.getAttribute("data-swiper-slide-index") === `${t2.realIndex}`);
        r4 = s3.slides.indexOf(e5), o3 = t2.activeIndex > t2.previousIndex ? "next" : "prev";
      } else r4 = t2.realIndex, o3 = r4 > t2.previousIndex ? "next" : "prev";
      l3 && (r4 += "next" === o3 ? n3 : -1 * n3), s3.visibleSlidesIndexes && s3.visibleSlidesIndexes.indexOf(r4) < 0 && (s3.params.centeredSlides ? r4 = r4 > a4 ? r4 - Math.floor(i3 / 2) + 1 : r4 + Math.floor(i3 / 2) - 1 : r4 > a4 && s3.params.slidesPerGroup, s3.slideTo(r4, e4 ? 0 : undefined));
    }
  }
  t2.thumbs = { swiper: null }, i2("beforeInit", () => {
    const { thumbs: e4 } = t2.params;
    if (e4 && e4.swiper) if ("string" == typeof e4.swiper || e4.swiper instanceof HTMLElement) {
      const s3 = d(), i3 = () => {
        const i4 = "string" == typeof e4.swiper ? s3.querySelector(e4.swiper) : e4.swiper;
        if (i4 && i4.swiper) e4.swiper = i4.swiper, l2(), o2(true);
        else if (i4) {
          const s4 = `${t2.params.eventsPrefix}init`, a4 = (r3) => {
            e4.swiper = r3.detail[0], i4.removeEventListener(s4, a4), l2(), o2(true), e4.swiper.update(), t2.update();
          };
          i4.addEventListener(s4, a4);
        }
        return i4;
      }, a3 = () => {
        if (t2.destroyed) return;
        i3() || requestAnimationFrame(a3);
      };
      requestAnimationFrame(a3);
    } else l2(), o2(true);
  }), i2("slideChange update resize observerUpdate", () => {
    o2();
  }), i2("setTransition", (e4, s3) => {
    const i3 = t2.thumbs.swiper;
    i3 && !i3.destroyed && i3.setTransition(s3);
  }), i2("beforeDestroy", () => {
    const e4 = t2.thumbs.swiper;
    e4 && !e4.destroyed && r2 && e4.destroy();
  }), Object.assign(t2.thumbs, { init: l2, update: o2 });
}
function A(e3) {
  let { swiper: t2, extendParams: s2, emit: i2, once: a2 } = e3;
  s2({ freeMode: { enabled: false, momentum: true, momentumRatio: 1, momentumBounce: true, momentumBounceRatio: 1, momentumVelocityRatio: 1, sticky: false, minimumVelocity: 0.02 } }), Object.assign(t2, { freeMode: { onTouchStart: function() {
    if (t2.params.cssMode) return;
    const e4 = t2.getTranslate();
    t2.setTranslate(e4), t2.setTransition(0), t2.touchEventsData.velocities.length = 0, t2.freeMode.onTouchEnd({ currentPos: t2.rtl ? t2.translate : -t2.translate });
  }, onTouchMove: function() {
    if (t2.params.cssMode) return;
    const { touchEventsData: e4, touches: s3 } = t2;
    0 === e4.velocities.length && e4.velocities.push({ position: s3[t2.isHorizontal() ? "startX" : "startY"], time: e4.touchStartTime }), e4.velocities.push({ position: s3[t2.isHorizontal() ? "currentX" : "currentY"], time: f() });
  }, onTouchEnd: function(e4) {
    let { currentPos: s3 } = e4;
    if (t2.params.cssMode) return;
    const { params: r2, wrapperEl: n2, rtlTranslate: l2, snapGrid: o2, touchEventsData: d2 } = t2, p2 = f() - d2.touchStartTime;
    if (s3 < -t2.minTranslate()) t2.slideTo(t2.activeIndex);
    else if (s3 > -t2.maxTranslate()) t2.slides.length < o2.length ? t2.slideTo(o2.length - 1) : t2.slideTo(t2.slides.length - 1);
    else {
      if (r2.freeMode.momentum) {
        if (d2.velocities.length > 1) {
          const e6 = d2.velocities.pop(), s5 = d2.velocities.pop(), i3 = e6.position - s5.position, a3 = e6.time - s5.time;
          t2.velocity = i3 / a3, t2.velocity /= 2, Math.abs(t2.velocity) < r2.freeMode.minimumVelocity && (t2.velocity = 0), (a3 > 150 || f() - e6.time > 300) && (t2.velocity = 0);
        } else t2.velocity = 0;
        t2.velocity *= r2.freeMode.momentumVelocityRatio, d2.velocities.length = 0;
        let e5 = 1e3 * r2.freeMode.momentumRatio;
        const s4 = t2.velocity * e5;
        let p3 = t2.translate + s4;
        l2 && (p3 = -p3);
        let c2, u2 = false;
        const m2 = 20 * Math.abs(t2.velocity) * r2.freeMode.momentumBounceRatio;
        let v2;
        if (p3 < t2.maxTranslate()) r2.freeMode.momentumBounce ? (p3 + t2.maxTranslate() < -m2 && (p3 = t2.maxTranslate() - m2), c2 = t2.maxTranslate(), u2 = true, d2.allowMomentumBounce = true) : p3 = t2.maxTranslate(), r2.loop && r2.centeredSlides && (v2 = true);
        else if (p3 > t2.minTranslate()) r2.freeMode.momentumBounce ? (p3 - t2.minTranslate() > m2 && (p3 = t2.minTranslate() + m2), c2 = t2.minTranslate(), u2 = true, d2.allowMomentumBounce = true) : p3 = t2.minTranslate(), r2.loop && r2.centeredSlides && (v2 = true);
        else if (r2.freeMode.sticky) {
          let e6;
          for (let t3 = 0; t3 < o2.length; t3 += 1) if (o2[t3] > -p3) {
            e6 = t3;
            break;
          }
          p3 = Math.abs(o2[e6] - p3) < Math.abs(o2[e6 - 1] - p3) || "next" === t2.swipeDirection ? o2[e6] : o2[e6 - 1], p3 = -p3;
        }
        if (v2 && a2("transitionEnd", () => {
          t2.loopFix();
        }), 0 !== t2.velocity) {
          if (e5 = l2 ? Math.abs((-p3 - t2.translate) / t2.velocity) : Math.abs((p3 - t2.translate) / t2.velocity), r2.freeMode.sticky) {
            const s5 = Math.abs((l2 ? -p3 : p3) - t2.translate), i3 = t2.slidesSizesGrid[t2.activeIndex];
            e5 = s5 < i3 ? r2.speed : s5 < 2 * i3 ? 1.5 * r2.speed : 2.5 * r2.speed;
          }
        } else if (r2.freeMode.sticky) return void t2.slideToClosest();
        r2.freeMode.momentumBounce && u2 ? (t2.updateProgress(c2), t2.setTransition(e5), t2.setTranslate(p3), t2.transitionStart(true, t2.swipeDirection), t2.animating = true, C(n2, () => {
          t2 && !t2.destroyed && d2.allowMomentumBounce && (i2("momentumBounce"), t2.setTransition(r2.speed), setTimeout(() => {
            t2.setTranslate(c2), C(n2, () => {
              t2 && !t2.destroyed && t2.transitionEnd();
            });
          }, 0));
        })) : t2.velocity ? (i2("_freeModeNoMomentumRelease"), t2.updateProgress(p3), t2.setTransition(e5), t2.setTranslate(p3), t2.transitionStart(true, t2.swipeDirection), t2.animating || (t2.animating = true, C(n2, () => {
          t2 && !t2.destroyed && t2.transitionEnd();
        }))) : t2.updateProgress(p3), t2.updateActiveIndex(), t2.updateSlidesClasses();
      } else {
        if (r2.freeMode.sticky) return void t2.slideToClosest();
        r2.freeMode && i2("_freeModeNoMomentumRelease");
      }
      (!r2.freeMode.momentum || p2 >= r2.longSwipesMs) && (i2("_freeModeStaticRelease"), t2.updateProgress(), t2.updateActiveIndex(), t2.updateSlidesClasses());
    }
  } } });
}
let B, z, _;
function D() {
  return B || (B = function() {
    const e3 = c(), t2 = d();
    return { smoothScroll: t2.documentElement && t2.documentElement.style && "scrollBehavior" in t2.documentElement.style, touch: !!("ontouchstart" in e3 || e3.DocumentTouch && t2 instanceof e3.DocumentTouch) };
  }()), B;
}
function G(e3) {
  return undefined === e3 && (e3 = {}), z || (z = function(e4) {
    let { userAgent: t2 } = undefined === e4 ? {} : e4;
    const s2 = D(), i2 = c(), a2 = i2.navigator.platform, r2 = t2 || i2.navigator.userAgent, n2 = { ios: false, android: false }, l2 = i2.screen.width, o2 = i2.screen.height, d2 = r2.match(/(Android);?[\s\/]+([\d.]+)?/);
    let p2 = r2.match(/(iPad).*OS\s([\d_]+)/);
    const u2 = r2.match(/(iPod)(.*OS\s([\d_]+))?/), f2 = !p2 && r2.match(/(iPhone\sOS|iOS)\s([\d_]+)/), m2 = "Win32" === a2;
    let v2 = "MacIntel" === a2;
    return !p2 && v2 && s2.touch && ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"].indexOf(`${l2}x${o2}`) >= 0 && (p2 = r2.match(/(Version)\/([\d.]+)/), p2 || (p2 = [0, 1, "13_0_0"]), v2 = false), d2 && !m2 && (n2.os = "android", n2.android = true), (p2 || f2 || u2) && (n2.os = "ios", n2.ios = true), n2;
  }(e3)), z;
}
function N() {
  return _ || (_ = function() {
    const e3 = c(), t2 = G();
    let s2 = false;
    function i2() {
      const t3 = e3.navigator.userAgent.toLowerCase();
      return t3.indexOf("safari") >= 0 && t3.indexOf("chrome") < 0 && t3.indexOf("android") < 0;
    }
    if (i2()) {
      const t3 = String(e3.navigator.userAgent);
      if (t3.includes("Version/")) {
        const [e4, i3] = t3.split("Version/")[1].split(" ")[0].split(".").map((e5) => Number(e5));
        s2 = e4 < 16 || 16 === e4 && i3 < 2;
      }
    }
    const a2 = /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e3.navigator.userAgent), r2 = i2();
    return { isSafari: s2 || r2, needPerspectiveFix: s2, need3dFix: r2 || a2 && t2.ios, isWebView: a2 };
  }()), _;
}
const $ = (e3, t2, s2) => {
  t2 && !e3.classList.contains(s2) ? e3.classList.add(s2) : !t2 && e3.classList.contains(s2) && e3.classList.remove(s2);
};
const F = (e3, t2, s2) => {
  t2 && !e3.classList.contains(s2) ? e3.classList.add(s2) : !t2 && e3.classList.contains(s2) && e3.classList.remove(s2);
};
const V = (e3, t2) => {
  if (!e3 || e3.destroyed || !e3.params) return;
  const s2 = t2.closest(e3.isElement ? "swiper-slide" : `.${e3.params.slideClass}`);
  if (s2) {
    let t3 = s2.querySelector(`.${e3.params.lazyPreloaderClass}`);
    !t3 && e3.isElement && (s2.shadowRoot ? t3 = s2.shadowRoot.querySelector(`.${e3.params.lazyPreloaderClass}`) : requestAnimationFrame(() => {
      s2.shadowRoot && (t3 = s2.shadowRoot.querySelector(`.${e3.params.lazyPreloaderClass}`), t3 && t3.remove());
    })), t3 && t3.remove();
  }
}, j = (e3, t2) => {
  if (!e3.slides[t2]) return;
  const s2 = e3.slides[t2].querySelector('[loading="lazy"]');
  s2 && s2.removeAttribute("loading");
}, R = (e3) => {
  if (!e3 || e3.destroyed || !e3.params) return;
  let t2 = e3.params.lazyPreloadPrevNext;
  const s2 = e3.slides.length;
  if (!s2 || !t2 || t2 < 0) return;
  t2 = Math.min(t2, s2);
  const i2 = "auto" === e3.params.slidesPerView ? e3.slidesPerViewDynamic() : Math.ceil(e3.params.slidesPerView), a2 = e3.activeIndex;
  if (e3.params.grid && e3.params.grid.rows > 1) {
    const s3 = a2, r3 = [s3 - t2];
    return r3.push(...Array.from({ length: t2 }).map((e4, t3) => s3 + i2 + t3)), void e3.slides.forEach((t3, s4) => {
      r3.includes(t3.column) && j(e3, s4);
    });
  }
  const r2 = a2 + i2 - 1;
  if (e3.params.rewind || e3.params.loop) for (let n2 = a2 - t2; n2 <= r2 + t2; n2 += 1) {
    const t3 = (n2 % s2 + s2) % s2;
    (t3 < a2 || t3 > r2) && j(e3, t3);
  }
  else for (let n2 = Math.max(a2 - t2, 0); n2 <= Math.min(r2 + t2, s2 - 1); n2 += 1) n2 !== a2 && (n2 > r2 || n2 < a2) && j(e3, n2);
};
function H(e3) {
  let { swiper: t2, runCallbacks: s2, direction: i2, step: a2 } = e3;
  const { activeIndex: r2, previousIndex: n2 } = t2;
  let l2 = i2;
  if (l2 || (l2 = r2 > n2 ? "next" : r2 < n2 ? "prev" : "reset"), t2.emit(`transition${a2}`), s2 && r2 !== n2) {
    if ("reset" === l2) return void t2.emit(`slideResetTransition${a2}`);
    t2.emit(`slideChangeTransition${a2}`), "next" === l2 ? t2.emit(`slideNextTransition${a2}`) : t2.emit(`slidePrevTransition${a2}`);
  }
}
function q(e3, t2, s2) {
  const i2 = c(), { params: a2 } = e3, r2 = a2.edgeSwipeDetection, n2 = a2.edgeSwipeThreshold;
  return !r2 || !(s2 <= n2 || s2 >= i2.innerWidth - n2) || "prevent" === r2 && (t2.preventDefault(), true);
}
function W(e3) {
  const t2 = this, s2 = d();
  let i2 = e3;
  i2.originalEvent && (i2 = i2.originalEvent);
  const a2 = t2.touchEventsData;
  if ("pointerdown" === i2.type) {
    if (null !== a2.pointerId && a2.pointerId !== i2.pointerId) return;
    a2.pointerId = i2.pointerId;
  } else "touchstart" === i2.type && 1 === i2.targetTouches.length && (a2.touchId = i2.targetTouches[0].identifier);
  if ("touchstart" === i2.type) return void q(t2, i2, i2.targetTouches[0].pageX);
  const { params: r2, touches: n2, enabled: l2 } = t2;
  if (!l2) return;
  if (!r2.simulateTouch && "mouse" === i2.pointerType) return;
  if (t2.animating && r2.preventInteractionOnTransition) return;
  !t2.animating && r2.cssMode && r2.loop && t2.loopFix();
  let o2 = i2.target;
  if ("wrapper" === r2.touchEventsTarget && !function(e4, t3) {
    let s3 = t3.contains(e4);
    !s3 && t3 instanceof HTMLSlotElement && (s3 = [...t3.assignedElements()].includes(e4), s3 || (s3 = function(e5, t4) {
      var s4, i3;
      const a3 = [t4];
      for (; a3.length > 0; ) {
        const t5 = a3.shift();
        if (e5 === t5) return true;
        a3.push(...t5.children, ...(null == (s4 = t5.shadowRoot) ? undefined : s4.children) || [], ...(null == (i3 = t5.assignedElements) ? undefined : i3.call(t5)) || []);
      }
    }(e4, t3)));
    return s3;
  }(o2, t2.wrapperEl)) return;
  if ("which" in i2 && 3 === i2.which) return;
  if ("button" in i2 && i2.button > 0) return;
  if (a2.isTouched && a2.isMoved) return;
  const p2 = !!r2.noSwipingClass && "" !== r2.noSwipingClass, u2 = i2.composedPath ? i2.composedPath() : i2.path;
  p2 && i2.target && i2.target.shadowRoot && u2 && (o2 = u2[0]);
  const m2 = r2.noSwipingSelector ? r2.noSwipingSelector : `.${r2.noSwipingClass}`, v2 = !(!i2.target || !i2.target.shadowRoot);
  if (r2.noSwiping && (v2 ? function(e4, t3) {
    return undefined === t3 && (t3 = this), function t4(s3) {
      if (!s3 || s3 === d() || s3 === c()) return null;
      s3.assignedSlot && (s3 = s3.assignedSlot);
      const i3 = s3.closest(e4);
      return i3 || s3.getRootNode ? i3 || t4(s3.getRootNode().host) : null;
    }(t3);
  }(m2, o2) : o2.closest(m2))) return void (t2.allowClick = true);
  if (r2.swipeHandler && !o2.closest(r2.swipeHandler)) return;
  n2.currentX = i2.pageX, n2.currentY = i2.pageY;
  const h2 = n2.currentX, g2 = n2.currentY;
  if (!q(t2, i2, h2)) return;
  Object.assign(a2, { isTouched: true, isMoved: false, allowTouchCallbacks: true, isScrolling: undefined, startMoving: undefined }), n2.startX = h2, n2.startY = g2, a2.touchStartTime = f(), t2.allowClick = true, t2.updateSize(), t2.swipeDirection = undefined, r2.threshold > 0 && (a2.allowThresholdMove = false);
  let y2 = true;
  o2.matches(a2.focusableElements) && (y2 = false, "SELECT" === o2.nodeName && (a2.isTouched = false)), s2.activeElement && s2.activeElement.matches(a2.focusableElements) && s2.activeElement !== o2 && ("mouse" === i2.pointerType || "mouse" !== i2.pointerType && !o2.matches(a2.focusableElements)) && s2.activeElement.blur();
  const w2 = y2 && t2.allowTouchMove && r2.touchStartPreventDefault;
  !r2.touchStartForcePreventDefault && !w2 || o2.isContentEditable || i2.preventDefault(), r2.freeMode && r2.freeMode.enabled && t2.freeMode && t2.animating && !r2.cssMode && t2.freeMode.onTouchStart(), t2.emit("touchStart", i2);
}
function X(e3) {
  const t2 = d(), s2 = this, i2 = s2.touchEventsData, { params: a2, touches: r2, rtlTranslate: n2, enabled: l2 } = s2;
  if (!l2) return;
  if (!a2.simulateTouch && "mouse" === e3.pointerType) return;
  let o2, p2 = e3;
  if (p2.originalEvent && (p2 = p2.originalEvent), "pointermove" === p2.type) {
    if (null !== i2.touchId) return;
    if (p2.pointerId !== i2.pointerId) return;
  }
  if ("touchmove" === p2.type) {
    if (o2 = [...p2.changedTouches].find((e4) => e4.identifier === i2.touchId), !o2 || o2.identifier !== i2.touchId) return;
  } else o2 = p2;
  if (!i2.isTouched) return void (i2.startMoving && i2.isScrolling && s2.emit("touchMoveOpposite", p2));
  const c2 = o2.pageX, u2 = o2.pageY;
  if (p2.preventedByNestedSwiper) return r2.startX = c2, void (r2.startY = u2);
  if (!s2.allowTouchMove) return p2.target.matches(i2.focusableElements) || (s2.allowClick = false), void (i2.isTouched && (Object.assign(r2, { startX: c2, startY: u2, currentX: c2, currentY: u2 }), i2.touchStartTime = f()));
  if (a2.touchReleaseOnEdges && !a2.loop) {
    if (s2.isVertical()) {
      if (u2 < r2.startY && s2.translate <= s2.maxTranslate() || u2 > r2.startY && s2.translate >= s2.minTranslate()) return i2.isTouched = false, void (i2.isMoved = false);
    } else if (c2 < r2.startX && s2.translate <= s2.maxTranslate() || c2 > r2.startX && s2.translate >= s2.minTranslate()) return;
  }
  if (t2.activeElement && t2.activeElement.matches(i2.focusableElements) && t2.activeElement !== p2.target && "mouse" !== p2.pointerType && t2.activeElement.blur(), t2.activeElement && p2.target === t2.activeElement && p2.target.matches(i2.focusableElements)) return i2.isMoved = true, void (s2.allowClick = false);
  i2.allowTouchCallbacks && s2.emit("touchMove", p2), r2.previousX = r2.currentX, r2.previousY = r2.currentY, r2.currentX = c2, r2.currentY = u2;
  const m2 = r2.currentX - r2.startX, v2 = r2.currentY - r2.startY;
  if (s2.params.threshold && Math.sqrt(m2 ** 2 + v2 ** 2) < s2.params.threshold) return;
  if (undefined === i2.isScrolling) {
    let e4;
    s2.isHorizontal() && r2.currentY === r2.startY || s2.isVertical() && r2.currentX === r2.startX ? i2.isScrolling = false : m2 * m2 + v2 * v2 >= 25 && (e4 = 180 * Math.atan2(Math.abs(v2), Math.abs(m2)) / Math.PI, i2.isScrolling = s2.isHorizontal() ? e4 > a2.touchAngle : 90 - e4 > a2.touchAngle);
  }
  if (i2.isScrolling && s2.emit("touchMoveOpposite", p2), undefined === i2.startMoving && (r2.currentX === r2.startX && r2.currentY === r2.startY || (i2.startMoving = true)), i2.isScrolling || "touchmove" === p2.type && i2.preventTouchMoveFromPointerMove) return void (i2.isTouched = false);
  if (!i2.startMoving) return;
  s2.allowClick = false, !a2.cssMode && p2.cancelable && p2.preventDefault(), a2.touchMoveStopPropagation && !a2.nested && p2.stopPropagation();
  let h2 = s2.isHorizontal() ? m2 : v2, g2 = s2.isHorizontal() ? r2.currentX - r2.previousX : r2.currentY - r2.previousY;
  a2.oneWayMovement && (h2 = Math.abs(h2) * (n2 ? 1 : -1), g2 = Math.abs(g2) * (n2 ? 1 : -1)), r2.diff = h2, h2 *= a2.touchRatio, n2 && (h2 = -h2, g2 = -g2);
  const y2 = s2.touchesDirection;
  s2.swipeDirection = h2 > 0 ? "prev" : "next", s2.touchesDirection = g2 > 0 ? "prev" : "next";
  const w2 = s2.params.loop && !a2.cssMode, b2 = "next" === s2.touchesDirection && s2.allowSlideNext || "prev" === s2.touchesDirection && s2.allowSlidePrev;
  if (!i2.isMoved) {
    if (w2 && b2 && s2.loopFix({ direction: s2.swipeDirection }), i2.startTranslate = s2.getTranslate(), s2.setTransition(0), s2.animating) {
      const e4 = new (undefined).CustomEvent("transitionend", { bubbles: true, cancelable: true, detail: { bySwiperTouchMove: true } });
      s2.wrapperEl.dispatchEvent(e4);
    }
    i2.allowMomentumBounce = false, !a2.grabCursor || true !== s2.allowSlideNext && true !== s2.allowSlidePrev || s2.setGrabCursor(true), s2.emit("sliderFirstMove", p2);
  }
  if ((/* @__PURE__ */ new Date()).getTime(), i2.isMoved && i2.allowThresholdMove && y2 !== s2.touchesDirection && w2 && b2 && Math.abs(h2) >= 1) return Object.assign(r2, { startX: c2, startY: u2, currentX: c2, currentY: u2, startTranslate: i2.currentTranslate }), i2.loopSwapReset = true, void (i2.startTranslate = i2.currentTranslate);
  s2.emit("sliderMove", p2), i2.isMoved = true, i2.currentTranslate = h2 + i2.startTranslate;
  let S2 = true, T2 = a2.resistanceRatio;
  if (a2.touchReleaseOnEdges && (T2 = 0), h2 > 0 ? (w2 && b2 && i2.allowThresholdMove && i2.currentTranslate > (a2.centeredSlides ? s2.minTranslate() - s2.slidesSizesGrid[s2.activeIndex + 1] - ("auto" !== a2.slidesPerView && s2.slides.length - a2.slidesPerView >= 2 ? s2.slidesSizesGrid[s2.activeIndex + 1] + s2.params.spaceBetween : 0) - s2.params.spaceBetween : s2.minTranslate()) && s2.loopFix({ direction: "prev", setTranslate: true, activeSlideIndex: 0 }), i2.currentTranslate > s2.minTranslate() && (S2 = false, a2.resistance && (i2.currentTranslate = s2.minTranslate() - 1 + (-s2.minTranslate() + i2.startTranslate + h2) ** T2))) : h2 < 0 && (w2 && b2 && i2.allowThresholdMove && i2.currentTranslate < (a2.centeredSlides ? s2.maxTranslate() + s2.slidesSizesGrid[s2.slidesSizesGrid.length - 1] + s2.params.spaceBetween + ("auto" !== a2.slidesPerView && s2.slides.length - a2.slidesPerView >= 2 ? s2.slidesSizesGrid[s2.slidesSizesGrid.length - 1] + s2.params.spaceBetween : 0) : s2.maxTranslate()) && s2.loopFix({ direction: "next", setTranslate: true, activeSlideIndex: s2.slides.length - ("auto" === a2.slidesPerView ? s2.slidesPerViewDynamic() : Math.ceil(parseFloat(a2.slidesPerView, 10))) }), i2.currentTranslate < s2.maxTranslate() && (S2 = false, a2.resistance && (i2.currentTranslate = s2.maxTranslate() + 1 - (s2.maxTranslate() - i2.startTranslate - h2) ** T2))), S2 && (p2.preventedByNestedSwiper = true), !s2.allowSlideNext && "next" === s2.swipeDirection && i2.currentTranslate < i2.startTranslate && (i2.currentTranslate = i2.startTranslate), !s2.allowSlidePrev && "prev" === s2.swipeDirection && i2.currentTranslate > i2.startTranslate && (i2.currentTranslate = i2.startTranslate), s2.allowSlidePrev || s2.allowSlideNext || (i2.currentTranslate = i2.startTranslate), a2.threshold > 0) {
    if (!(Math.abs(h2) > a2.threshold || i2.allowThresholdMove)) return void (i2.currentTranslate = i2.startTranslate);
    if (!i2.allowThresholdMove) return i2.allowThresholdMove = true, r2.startX = r2.currentX, r2.startY = r2.currentY, i2.currentTranslate = i2.startTranslate, void (r2.diff = s2.isHorizontal() ? r2.currentX - r2.startX : r2.currentY - r2.startY);
  }
  a2.followFinger && !a2.cssMode && ((a2.freeMode && a2.freeMode.enabled && s2.freeMode || a2.watchSlidesProgress) && (s2.updateActiveIndex(), s2.updateSlidesClasses()), a2.freeMode && a2.freeMode.enabled && s2.freeMode && s2.freeMode.onTouchMove(), s2.updateProgress(i2.currentTranslate), s2.setTranslate(i2.currentTranslate));
}
function Y(e3) {
  const t2 = this, s2 = t2.touchEventsData;
  let i2, a2 = e3;
  a2.originalEvent && (a2 = a2.originalEvent);
  if ("touchend" === a2.type || "touchcancel" === a2.type) {
    if (i2 = [...a2.changedTouches].find((e4) => e4.identifier === s2.touchId), !i2 || i2.identifier !== s2.touchId) return;
  } else {
    if (null !== s2.touchId) return;
    if (a2.pointerId !== s2.pointerId) return;
    i2 = a2;
  }
  if (["pointercancel", "pointerout", "pointerleave", "contextmenu"].includes(a2.type)) {
    if (!(["pointercancel", "contextmenu"].includes(a2.type) && (t2.browser.isSafari || t2.browser.isWebView))) return;
  }
  s2.pointerId = null, s2.touchId = null;
  const { params: r2, touches: n2, rtlTranslate: l2, slidesGrid: o2, enabled: d2 } = t2;
  if (!d2) return;
  if (!r2.simulateTouch && "mouse" === a2.pointerType) return;
  if (s2.allowTouchCallbacks && t2.emit("touchEnd", a2), s2.allowTouchCallbacks = false, !s2.isTouched) return s2.isMoved && r2.grabCursor && t2.setGrabCursor(false), s2.isMoved = false, void (s2.startMoving = false);
  r2.grabCursor && s2.isMoved && s2.isTouched && (true === t2.allowSlideNext || true === t2.allowSlidePrev) && t2.setGrabCursor(false);
  const p2 = f(), c2 = p2 - s2.touchStartTime;
  if (t2.allowClick) {
    const e4 = a2.path || a2.composedPath && a2.composedPath();
    t2.updateClickedSlide(e4 && e4[0] || a2.target, e4), t2.emit("tap click", a2), c2 < 300 && p2 - s2.lastClickTime < 300 && t2.emit("doubleTap doubleClick", a2);
  }
  if (s2.lastClickTime = f(), u(() => {
    t2.destroyed || (t2.allowClick = true);
  }), !s2.isTouched || !s2.isMoved || !t2.swipeDirection || 0 === n2.diff && !s2.loopSwapReset || s2.currentTranslate === s2.startTranslate && !s2.loopSwapReset) return s2.isTouched = false, s2.isMoved = false, void (s2.startMoving = false);
  let m2;
  if (s2.isTouched = false, s2.isMoved = false, s2.startMoving = false, m2 = r2.followFinger ? l2 ? t2.translate : -t2.translate : -s2.currentTranslate, r2.cssMode) return;
  if (r2.freeMode && r2.freeMode.enabled) return void t2.freeMode.onTouchEnd({ currentPos: m2 });
  const v2 = m2 >= -t2.maxTranslate() && !t2.params.loop;
  let h2 = 0, g2 = t2.slidesSizesGrid[0];
  for (let u2 = 0; u2 < o2.length; u2 += u2 < r2.slidesPerGroupSkip ? 1 : r2.slidesPerGroup) {
    const e4 = u2 < r2.slidesPerGroupSkip - 1 ? 1 : r2.slidesPerGroup;
    undefined !== o2[u2 + e4] ? (v2 || m2 >= o2[u2] && m2 < o2[u2 + e4]) && (h2 = u2, g2 = o2[u2 + e4] - o2[u2]) : (v2 || m2 >= o2[u2]) && (h2 = u2, g2 = o2[o2.length - 1] - o2[o2.length - 2]);
  }
  let y2 = null, w2 = null;
  r2.rewind && (t2.isBeginning ? w2 = r2.virtual && r2.virtual.enabled && t2.virtual ? t2.virtual.slides.length - 1 : t2.slides.length - 1 : t2.isEnd && (y2 = 0));
  const b2 = (m2 - o2[h2]) / g2, S2 = h2 < r2.slidesPerGroupSkip - 1 ? 1 : r2.slidesPerGroup;
  if (c2 > r2.longSwipesMs) {
    if (!r2.longSwipes) return void t2.slideTo(t2.activeIndex);
    "next" === t2.swipeDirection && (b2 >= r2.longSwipesRatio ? t2.slideTo(r2.rewind && t2.isEnd ? y2 : h2 + S2) : t2.slideTo(h2)), "prev" === t2.swipeDirection && (b2 > 1 - r2.longSwipesRatio ? t2.slideTo(h2 + S2) : null !== w2 && b2 < 0 && Math.abs(b2) > r2.longSwipesRatio ? t2.slideTo(w2) : t2.slideTo(h2));
  } else {
    if (!r2.shortSwipes) return void t2.slideTo(t2.activeIndex);
    t2.navigation && (a2.target === t2.navigation.nextEl || a2.target === t2.navigation.prevEl) ? a2.target === t2.navigation.nextEl ? t2.slideTo(h2 + S2) : t2.slideTo(h2) : ("next" === t2.swipeDirection && t2.slideTo(null !== y2 ? y2 : h2 + S2), "prev" === t2.swipeDirection && t2.slideTo(null !== w2 ? w2 : h2));
  }
}
function U() {
  const e3 = this, { params: t2, el: s2 } = e3;
  if (s2 && 0 === s2.offsetWidth) return;
  t2.breakpoints && e3.setBreakpoint();
  const { allowSlideNext: i2, allowSlidePrev: a2, snapGrid: r2 } = e3, n2 = e3.virtual && e3.params.virtual.enabled;
  e3.allowSlideNext = true, e3.allowSlidePrev = true, e3.updateSize(), e3.updateSlides(), e3.updateSlidesClasses();
  const l2 = n2 && t2.loop;
  !("auto" === t2.slidesPerView || t2.slidesPerView > 1) || !e3.isEnd || e3.isBeginning || e3.params.centeredSlides || l2 ? e3.params.loop && !n2 ? e3.slideToLoop(e3.realIndex, 0, false, true) : e3.slideTo(e3.activeIndex, 0, false, true) : e3.slideTo(e3.slides.length - 1, 0, false, true), e3.autoplay && e3.autoplay.running && e3.autoplay.paused && (clearTimeout(e3.autoplay.resizeTimeout), e3.autoplay.resizeTimeout = setTimeout(() => {
    e3.autoplay && e3.autoplay.running && e3.autoplay.paused && e3.autoplay.resume();
  }, 500)), e3.allowSlidePrev = a2, e3.allowSlideNext = i2, e3.params.watchOverflow && r2 !== e3.snapGrid && e3.checkOverflow();
}
function K(e3) {
  const t2 = this;
  t2.enabled && (t2.allowClick || (t2.params.preventClicks && e3.preventDefault(), t2.params.preventClicksPropagation && t2.animating && (e3.stopPropagation(), e3.stopImmediatePropagation())));
}
function Z() {
  const e3 = this, { wrapperEl: t2, rtlTranslate: s2, enabled: i2 } = e3;
  if (!i2) return;
  let a2;
  e3.previousTranslate = e3.translate, e3.isHorizontal() ? e3.translate = -t2.scrollLeft : e3.translate = -t2.scrollTop, 0 === e3.translate && (e3.translate = 0), e3.updateActiveIndex(), e3.updateSlidesClasses();
  const r2 = e3.maxTranslate() - e3.minTranslate();
  a2 = 0 === r2 ? 0 : (e3.translate - e3.minTranslate()) / r2, a2 !== e3.progress && e3.updateProgress(s2 ? -e3.translate : e3.translate), e3.emit("setTranslate", e3.translate, false);
}
function J(e3) {
  const t2 = this;
  V(t2, e3.target), t2.params.cssMode || "auto" !== t2.params.slidesPerView && !t2.params.autoHeight || t2.update();
}
function Q() {
  const e3 = this;
  e3.documentTouchHandlerProceeded || (e3.documentTouchHandlerProceeded = true, e3.params.touchReleaseOnEdges && (e3.el.style.touchAction = "auto"));
}
const ee = (e3, t2) => {
  const s2 = d(), { params: i2, el: a2, wrapperEl: r2, device: n2 } = e3, l2 = !!i2.nested, o2 = "on" === t2 ? "addEventListener" : "removeEventListener", p2 = t2;
  a2 && "string" != typeof a2 && (s2[o2]("touchstart", e3.onDocumentTouchStart, { passive: false, capture: l2 }), a2[o2]("touchstart", e3.onTouchStart, { passive: false }), a2[o2]("pointerdown", e3.onTouchStart, { passive: false }), s2[o2]("touchmove", e3.onTouchMove, { passive: false, capture: l2 }), s2[o2]("pointermove", e3.onTouchMove, { passive: false, capture: l2 }), s2[o2]("touchend", e3.onTouchEnd, { passive: true }), s2[o2]("pointerup", e3.onTouchEnd, { passive: true }), s2[o2]("pointercancel", e3.onTouchEnd, { passive: true }), s2[o2]("touchcancel", e3.onTouchEnd, { passive: true }), s2[o2]("pointerout", e3.onTouchEnd, { passive: true }), s2[o2]("pointerleave", e3.onTouchEnd, { passive: true }), s2[o2]("contextmenu", e3.onTouchEnd, { passive: true }), (i2.preventClicks || i2.preventClicksPropagation) && a2[o2]("click", e3.onClick, true), i2.cssMode && r2[o2]("scroll", e3.onScroll), i2.updateOnWindowResize ? e3[p2](n2.ios || n2.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", U, true) : e3[p2]("observerUpdate", U, true), a2[o2]("load", e3.onLoad, { capture: true }));
};
const te = (e3, t2) => e3.grid && t2.grid && t2.grid.rows > 1;
var se = { init: true, direction: "horizontal", oneWayMovement: false, swiperElementNodeName: "SWIPER-CONTAINER", touchEventsTarget: "wrapper", initialSlide: 0, speed: 300, cssMode: false, updateOnWindowResize: true, resizeObserver: true, nested: false, createElements: false, eventsPrefix: "swiper", enabled: true, focusableElements: "input, select, option, textarea, button, video, label", width: null, height: null, preventInteractionOnTransition: false, userAgent: null, url: null, edgeSwipeDetection: false, edgeSwipeThreshold: 20, autoHeight: false, setWrapperSize: false, virtualTranslate: false, effect: "slide", breakpoints: undefined, breakpointsBase: "window", spaceBetween: 0, slidesPerView: 1, slidesPerGroup: 1, slidesPerGroupSkip: 0, slidesPerGroupAuto: false, centeredSlides: false, centeredSlidesBounds: false, slidesOffsetBefore: 0, slidesOffsetAfter: 0, normalizeSlideIndex: true, centerInsufficientSlides: false, watchOverflow: true, roundLengths: false, touchRatio: 1, touchAngle: 45, simulateTouch: true, shortSwipes: true, longSwipes: true, longSwipesRatio: 0.5, longSwipesMs: 300, followFinger: true, allowTouchMove: true, threshold: 5, touchMoveStopPropagation: false, touchStartPreventDefault: true, touchStartForcePreventDefault: false, touchReleaseOnEdges: false, uniqueNavElements: true, resistance: true, resistanceRatio: 0.85, watchSlidesProgress: false, grabCursor: false, preventClicks: true, preventClicksPropagation: true, slideToClickedSlide: false, loop: false, loopAddBlankSlides: true, loopAdditionalSlides: 0, loopPreventsSliding: true, rewind: false, allowSlidePrev: true, allowSlideNext: true, swipeHandler: null, noSwiping: true, noSwipingClass: "swiper-no-swiping", noSwipingSelector: null, passiveListeners: true, maxBackfaceHiddenSlides: 10, containerModifierClass: "swiper-", slideClass: "swiper-slide", slideBlankClass: "swiper-slide-blank", slideActiveClass: "swiper-slide-active", slideVisibleClass: "swiper-slide-visible", slideFullyVisibleClass: "swiper-slide-fully-visible", slideNextClass: "swiper-slide-next", slidePrevClass: "swiper-slide-prev", wrapperClass: "swiper-wrapper", lazyPreloaderClass: "swiper-lazy-preloader", lazyPreloadPrevNext: 0, runCallbacksOnInit: true, _emitClasses: false };
function ie(e3, t2) {
  return function(s2) {
    undefined === s2 && (s2 = {});
    const i2 = Object.keys(s2)[0], a2 = s2[i2];
    "object" == typeof a2 && null !== a2 ? (true === e3[i2] && (e3[i2] = { enabled: true }), "navigation" === i2 && e3[i2] && e3[i2].enabled && !e3[i2].prevEl && !e3[i2].nextEl && (e3[i2].auto = true), ["pagination", "scrollbar"].indexOf(i2) >= 0 && e3[i2] && e3[i2].enabled && !e3[i2].el && (e3[i2].auto = true), i2 in e3 && "enabled" in a2 ? ("object" != typeof e3[i2] || "enabled" in e3[i2] || (e3[i2].enabled = true), e3[i2] || (e3[i2] = { enabled: false }), h(t2, s2)) : h(t2, s2)) : h(t2, s2);
  };
}
const ae = { eventsEmitter: { on(e3, t2, s2) {
  const i2 = this;
  if (!i2.eventsListeners || i2.destroyed) return i2;
  if ("function" != typeof t2) return i2;
  const a2 = s2 ? "unshift" : "push";
  return e3.split(" ").forEach((e4) => {
    i2.eventsListeners[e4] || (i2.eventsListeners[e4] = []), i2.eventsListeners[e4][a2](t2);
  }), i2;
}, once(e3, t2, s2) {
  const i2 = this;
  if (!i2.eventsListeners || i2.destroyed) return i2;
  if ("function" != typeof t2) return i2;
  function a2() {
    i2.off(e3, a2), a2.__emitterProxy && delete a2.__emitterProxy;
    for (var s3 = arguments.length, r2 = new Array(s3), n2 = 0; n2 < s3; n2++) r2[n2] = arguments[n2];
    t2.apply(i2, r2);
  }
  return a2.__emitterProxy = t2, i2.on(e3, a2, s2);
}, onAny(e3, t2) {
  const s2 = this;
  if (!s2.eventsListeners || s2.destroyed) return s2;
  if ("function" != typeof e3) return s2;
  const i2 = t2 ? "unshift" : "push";
  return s2.eventsAnyListeners.indexOf(e3) < 0 && s2.eventsAnyListeners[i2](e3), s2;
}, offAny(e3) {
  const t2 = this;
  if (!t2.eventsListeners || t2.destroyed) return t2;
  if (!t2.eventsAnyListeners) return t2;
  const s2 = t2.eventsAnyListeners.indexOf(e3);
  return s2 >= 0 && t2.eventsAnyListeners.splice(s2, 1), t2;
}, off(e3, t2) {
  const s2 = this;
  return !s2.eventsListeners || s2.destroyed ? s2 : s2.eventsListeners ? (e3.split(" ").forEach((e4) => {
    undefined === t2 ? s2.eventsListeners[e4] = [] : s2.eventsListeners[e4] && s2.eventsListeners[e4].forEach((i2, a2) => {
      (i2 === t2 || i2.__emitterProxy && i2.__emitterProxy === t2) && s2.eventsListeners[e4].splice(a2, 1);
    });
  }), s2) : s2;
}, emit() {
  const e3 = this;
  if (!e3.eventsListeners || e3.destroyed) return e3;
  if (!e3.eventsListeners) return e3;
  let t2, s2, i2;
  for (var a2 = arguments.length, r2 = new Array(a2), n2 = 0; n2 < a2; n2++) r2[n2] = arguments[n2];
  "string" == typeof r2[0] || Array.isArray(r2[0]) ? (t2 = r2[0], s2 = r2.slice(1, r2.length), i2 = e3) : (t2 = r2[0].events, s2 = r2[0].data, i2 = r2[0].context || e3), s2.unshift(i2);
  return (Array.isArray(t2) ? t2 : t2.split(" ")).forEach((t3) => {
    e3.eventsAnyListeners && e3.eventsAnyListeners.length && e3.eventsAnyListeners.forEach((e4) => {
      e4.apply(i2, [t3, ...s2]);
    }), e3.eventsListeners && e3.eventsListeners[t3] && e3.eventsListeners[t3].forEach((e4) => {
      e4.apply(i2, s2);
    });
  }), e3;
} }, update: { updateSize: function() {
  const e3 = this;
  let t2, s2;
  const i2 = e3.el;
  t2 = undefined !== e3.params.width && null !== e3.params.width ? e3.params.width : i2.clientWidth, s2 = undefined !== e3.params.height && null !== e3.params.height ? e3.params.height : i2.clientHeight, 0 === t2 && e3.isHorizontal() || 0 === s2 && e3.isVertical() || (t2 = t2 - parseInt(T(i2, "padding-left") || 0, 10) - parseInt(T(i2, "padding-right") || 0, 10), s2 = s2 - parseInt(T(i2, "padding-top") || 0, 10) - parseInt(T(i2, "padding-bottom") || 0, 10), Number.isNaN(t2) && (t2 = 0), Number.isNaN(s2) && (s2 = 0), Object.assign(e3, { width: t2, height: s2, size: e3.isHorizontal() ? t2 : s2 }));
}, updateSlides: function() {
  const e3 = this;
  function t2(t3, s3) {
    return parseFloat(t3.getPropertyValue(e3.getDirectionLabel(s3)) || 0);
  }
  const s2 = e3.params, { wrapperEl: i2, slidesEl: a2, size: r2, rtlTranslate: n2, wrongRTL: l2 } = e3, o2 = e3.virtual && s2.virtual.enabled, d2 = o2 ? e3.virtual.slides.length : e3.slides.length, p2 = w(a2, `.${e3.params.slideClass}, swiper-slide`), c2 = o2 ? e3.virtual.slides.length : p2.length;
  let u2 = [];
  const f2 = [], m2 = [];
  let v2 = s2.slidesOffsetBefore;
  "function" == typeof v2 && (v2 = s2.slidesOffsetBefore.call(e3));
  let h2 = s2.slidesOffsetAfter;
  "function" == typeof h2 && (h2 = s2.slidesOffsetAfter.call(e3));
  const y2 = e3.snapGrid.length, b2 = e3.slidesGrid.length;
  let S2 = s2.spaceBetween, x2 = -v2, E2 = 0, C2 = 0;
  if (undefined === r2) return;
  "string" == typeof S2 && S2.indexOf("%") >= 0 ? S2 = parseFloat(S2.replace("%", "")) / 100 * r2 : "string" == typeof S2 && (S2 = parseFloat(S2)), e3.virtualSize = -S2, p2.forEach((e4) => {
    n2 ? e4.style.marginLeft = "" : e4.style.marginRight = "", e4.style.marginBottom = "", e4.style.marginTop = "";
  }), s2.centeredSlides && s2.cssMode && (g(i2, "--swiper-centered-offset-before", ""), g(i2, "--swiper-centered-offset-after", ""));
  const P2 = s2.grid && s2.grid.rows > 1 && e3.grid;
  let O2;
  P2 ? e3.grid.initSlides(p2) : e3.grid && e3.grid.unsetSlides();
  const I2 = "auto" === s2.slidesPerView && s2.breakpoints && Object.keys(s2.breakpoints).filter((e4) => undefined !== s2.breakpoints[e4].slidesPerView).length > 0;
  for (let g2 = 0; g2 < c2; g2 += 1) {
    let i3;
    if (O2 = 0, p2[g2] && (i3 = p2[g2]), P2 && e3.grid.updateSlide(g2, i3, p2), !p2[g2] || "none" !== T(i3, "display")) {
      if ("auto" === s2.slidesPerView) {
        I2 && (p2[g2].style[e3.getDirectionLabel("width")] = "");
        const a3 = getComputedStyle(i3), r3 = i3.style.transform, n3 = i3.style.webkitTransform;
        if (r3 && (i3.style.transform = "none"), n3 && (i3.style.webkitTransform = "none"), s2.roundLengths) O2 = e3.isHorizontal() ? M(i3, "width") : M(i3, "height");
        else {
          const e4 = t2(a3, "width"), s3 = t2(a3, "padding-left"), r4 = t2(a3, "padding-right"), n4 = t2(a3, "margin-left"), l3 = t2(a3, "margin-right"), o3 = a3.getPropertyValue("box-sizing");
          if (o3 && "border-box" === o3) O2 = e4 + n4 + l3;
          else {
            const { clientWidth: t3, offsetWidth: a4 } = i3;
            O2 = e4 + s3 + r4 + n4 + l3 + (a4 - t3);
          }
        }
        r3 && (i3.style.transform = r3), n3 && (i3.style.webkitTransform = n3), s2.roundLengths && (O2 = Math.floor(O2));
      } else O2 = (r2 - (s2.slidesPerView - 1) * S2) / s2.slidesPerView, s2.roundLengths && (O2 = Math.floor(O2)), p2[g2] && (p2[g2].style[e3.getDirectionLabel("width")] = `${O2}px`);
      p2[g2] && (p2[g2].swiperSlideSize = O2), m2.push(O2), s2.centeredSlides ? (x2 = x2 + O2 / 2 + E2 / 2 + S2, 0 === E2 && 0 !== g2 && (x2 = x2 - r2 / 2 - S2), 0 === g2 && (x2 = x2 - r2 / 2 - S2), Math.abs(x2) < 1e-3 && (x2 = 0), s2.roundLengths && (x2 = Math.floor(x2)), C2 % s2.slidesPerGroup == 0 && u2.push(x2), f2.push(x2)) : (s2.roundLengths && (x2 = Math.floor(x2)), (C2 - Math.min(e3.params.slidesPerGroupSkip, C2)) % e3.params.slidesPerGroup == 0 && u2.push(x2), f2.push(x2), x2 = x2 + O2 + S2), e3.virtualSize += O2 + S2, E2 = O2, C2 += 1;
    }
  }
  if (e3.virtualSize = Math.max(e3.virtualSize, r2) + h2, n2 && l2 && ("slide" === s2.effect || "coverflow" === s2.effect) && (i2.style.width = `${e3.virtualSize + S2}px`), s2.setWrapperSize && (i2.style[e3.getDirectionLabel("width")] = `${e3.virtualSize + S2}px`), P2 && e3.grid.updateWrapperSize(O2, u2), !s2.centeredSlides) {
    const t3 = [];
    for (let i3 = 0; i3 < u2.length; i3 += 1) {
      let a3 = u2[i3];
      s2.roundLengths && (a3 = Math.floor(a3)), u2[i3] <= e3.virtualSize - r2 && t3.push(a3);
    }
    u2 = t3, Math.floor(e3.virtualSize - r2) - Math.floor(u2[u2.length - 1]) > 1 && u2.push(e3.virtualSize - r2);
  }
  if (o2 && s2.loop) {
    const t3 = m2[0] + S2;
    if (s2.slidesPerGroup > 1) {
      const i3 = Math.ceil((e3.virtual.slidesBefore + e3.virtual.slidesAfter) / s2.slidesPerGroup), a3 = t3 * s2.slidesPerGroup;
      for (let e4 = 0; e4 < i3; e4 += 1) u2.push(u2[u2.length - 1] + a3);
    }
    for (let i3 = 0; i3 < e3.virtual.slidesBefore + e3.virtual.slidesAfter; i3 += 1) 1 === s2.slidesPerGroup && u2.push(u2[u2.length - 1] + t3), f2.push(f2[f2.length - 1] + t3), e3.virtualSize += t3;
  }
  if (0 === u2.length && (u2 = [0]), 0 !== S2) {
    const t3 = e3.isHorizontal() && n2 ? "marginLeft" : e3.getDirectionLabel("marginRight");
    p2.filter((e4, t4) => !(s2.cssMode && !s2.loop) || t4 !== p2.length - 1).forEach((e4) => {
      e4.style[t3] = `${S2}px`;
    });
  }
  if (s2.centeredSlides && s2.centeredSlidesBounds) {
    let e4 = 0;
    m2.forEach((t4) => {
      e4 += t4 + (S2 || 0);
    }), e4 -= S2;
    const t3 = e4 > r2 ? e4 - r2 : 0;
    u2 = u2.map((e5) => e5 <= 0 ? -v2 : e5 > t3 ? t3 + h2 : e5);
  }
  if (s2.centerInsufficientSlides) {
    let e4 = 0;
    m2.forEach((t4) => {
      e4 += t4 + (S2 || 0);
    }), e4 -= S2;
    const t3 = (s2.slidesOffsetBefore || 0) + (s2.slidesOffsetAfter || 0);
    if (e4 + t3 < r2) {
      const s3 = (r2 - e4 - t3) / 2;
      u2.forEach((e5, t4) => {
        u2[t4] = e5 - s3;
      }), f2.forEach((e5, t4) => {
        f2[t4] = e5 + s3;
      });
    }
  }
  if (Object.assign(e3, { slides: p2, snapGrid: u2, slidesGrid: f2, slidesSizesGrid: m2 }), s2.centeredSlides && s2.cssMode && !s2.centeredSlidesBounds) {
    g(i2, "--swiper-centered-offset-before", -u2[0] + "px"), g(i2, "--swiper-centered-offset-after", e3.size / 2 - m2[m2.length - 1] / 2 + "px");
    const t3 = -e3.snapGrid[0], s3 = -e3.slidesGrid[0];
    e3.snapGrid = e3.snapGrid.map((e4) => e4 + t3), e3.slidesGrid = e3.slidesGrid.map((e4) => e4 + s3);
  }
  if (c2 !== d2 && e3.emit("slidesLengthChange"), u2.length !== y2 && (e3.params.watchOverflow && e3.checkOverflow(), e3.emit("snapGridLengthChange")), f2.length !== b2 && e3.emit("slidesGridLengthChange"), s2.watchSlidesProgress && e3.updateSlidesOffset(), e3.emit("slidesUpdated"), !(o2 || s2.cssMode || "slide" !== s2.effect && "fade" !== s2.effect)) {
    const t3 = `${s2.containerModifierClass}backface-hidden`, i3 = e3.el.classList.contains(t3);
    c2 <= s2.maxBackfaceHiddenSlides ? i3 || e3.el.classList.add(t3) : i3 && e3.el.classList.remove(t3);
  }
}, updateAutoHeight: function(e3) {
  const t2 = this, s2 = [], i2 = t2.virtual && t2.params.virtual.enabled;
  let a2, r2 = 0;
  "number" == typeof e3 ? t2.setTransition(e3) : true === e3 && t2.setTransition(t2.params.speed);
  const n2 = (e4) => i2 ? t2.slides[t2.getSlideIndexByData(e4)] : t2.slides[e4];
  if ("auto" !== t2.params.slidesPerView && t2.params.slidesPerView > 1) if (t2.params.centeredSlides) (t2.visibleSlides || []).forEach((e4) => {
    s2.push(e4);
  });
  else for (a2 = 0; a2 < Math.ceil(t2.params.slidesPerView); a2 += 1) {
    const e4 = t2.activeIndex + a2;
    if (e4 > t2.slides.length && !i2) break;
    s2.push(n2(e4));
  }
  else s2.push(n2(t2.activeIndex));
  for (a2 = 0; a2 < s2.length; a2 += 1) if (undefined !== s2[a2]) {
    const e4 = s2[a2].offsetHeight;
    r2 = e4 > r2 ? e4 : r2;
  }
  (r2 || 0 === r2) && (t2.wrapperEl.style.height = `${r2}px`);
}, updateSlidesOffset: function() {
  const e3 = this, t2 = e3.slides, s2 = e3.isElement ? e3.isHorizontal() ? e3.wrapperEl.offsetLeft : e3.wrapperEl.offsetTop : 0;
  for (let i2 = 0; i2 < t2.length; i2 += 1) t2[i2].swiperSlideOffset = (e3.isHorizontal() ? t2[i2].offsetLeft : t2[i2].offsetTop) - s2 - e3.cssOverflowAdjustment();
}, updateSlidesProgress: function(e3) {
  undefined === e3 && (e3 = this && this.translate || 0);
  const t2 = this, s2 = t2.params, { slides: i2, rtlTranslate: a2, snapGrid: r2 } = t2;
  if (0 === i2.length) return;
  undefined === i2[0].swiperSlideOffset && t2.updateSlidesOffset();
  let n2 = -e3;
  a2 && (n2 = e3), t2.visibleSlidesIndexes = [], t2.visibleSlides = [];
  let l2 = s2.spaceBetween;
  "string" == typeof l2 && l2.indexOf("%") >= 0 ? l2 = parseFloat(l2.replace("%", "")) / 100 * t2.size : "string" == typeof l2 && (l2 = parseFloat(l2));
  for (let o2 = 0; o2 < i2.length; o2 += 1) {
    const e4 = i2[o2];
    let d2 = e4.swiperSlideOffset;
    s2.cssMode && s2.centeredSlides && (d2 -= i2[0].swiperSlideOffset);
    const p2 = (n2 + (s2.centeredSlides ? t2.minTranslate() : 0) - d2) / (e4.swiperSlideSize + l2), c2 = (n2 - r2[0] + (s2.centeredSlides ? t2.minTranslate() : 0) - d2) / (e4.swiperSlideSize + l2), u2 = -(n2 - d2), f2 = u2 + t2.slidesSizesGrid[o2], m2 = u2 >= 0 && u2 <= t2.size - t2.slidesSizesGrid[o2], v2 = u2 >= 0 && u2 < t2.size - 1 || f2 > 1 && f2 <= t2.size || u2 <= 0 && f2 >= t2.size;
    v2 && (t2.visibleSlides.push(e4), t2.visibleSlidesIndexes.push(o2)), $(e4, v2, s2.slideVisibleClass), $(e4, m2, s2.slideFullyVisibleClass), e4.progress = a2 ? -p2 : p2, e4.originalProgress = a2 ? -c2 : c2;
  }
}, updateProgress: function(e3) {
  const t2 = this;
  if (undefined === e3) {
    const s3 = t2.rtlTranslate ? -1 : 1;
    e3 = t2 && t2.translate && t2.translate * s3 || 0;
  }
  const s2 = t2.params, i2 = t2.maxTranslate() - t2.minTranslate();
  let { progress: a2, isBeginning: r2, isEnd: n2, progressLoop: l2 } = t2;
  const o2 = r2, d2 = n2;
  if (0 === i2) a2 = 0, r2 = true, n2 = true;
  else {
    a2 = (e3 - t2.minTranslate()) / i2;
    const s3 = Math.abs(e3 - t2.minTranslate()) < 1, l3 = Math.abs(e3 - t2.maxTranslate()) < 1;
    r2 = s3 || a2 <= 0, n2 = l3 || a2 >= 1, s3 && (a2 = 0), l3 && (a2 = 1);
  }
  if (s2.loop) {
    const s3 = t2.getSlideIndexByData(0), i3 = t2.getSlideIndexByData(t2.slides.length - 1), a3 = t2.slidesGrid[s3], r3 = t2.slidesGrid[i3], n3 = t2.slidesGrid[t2.slidesGrid.length - 1], o3 = Math.abs(e3);
    l2 = o3 >= a3 ? (o3 - a3) / n3 : (o3 + n3 - r3) / n3, l2 > 1 && (l2 -= 1);
  }
  Object.assign(t2, { progress: a2, progressLoop: l2, isBeginning: r2, isEnd: n2 }), (s2.watchSlidesProgress || s2.centeredSlides && s2.autoHeight) && t2.updateSlidesProgress(e3), r2 && !o2 && t2.emit("reachBeginning toEdge"), n2 && !d2 && t2.emit("reachEnd toEdge"), (o2 && !r2 || d2 && !n2) && t2.emit("fromEdge"), t2.emit("progress", a2);
}, updateSlidesClasses: function() {
  const e3 = this, { slides: t2, params: s2, slidesEl: i2, activeIndex: a2 } = e3, r2 = e3.virtual && s2.virtual.enabled, n2 = e3.grid && s2.grid && s2.grid.rows > 1, l2 = (e4) => w(i2, `.${s2.slideClass}${e4}, swiper-slide${e4}`)[0];
  let o2, d2, p2;
  if (r2) if (s2.loop) {
    let t3 = a2 - e3.virtual.slidesBefore;
    t3 < 0 && (t3 = e3.virtual.slides.length + t3), t3 >= e3.virtual.slides.length && (t3 -= e3.virtual.slides.length), o2 = l2(`[data-swiper-slide-index="${t3}"]`);
  } else o2 = l2(`[data-swiper-slide-index="${a2}"]`);
  else n2 ? (o2 = t2.find((e4) => e4.column === a2), p2 = t2.find((e4) => e4.column === a2 + 1), d2 = t2.find((e4) => e4.column === a2 - 1)) : o2 = t2[a2];
  o2 && (n2 || (p2 = function(e4, t3) {
    const s3 = [];
    for (; e4.nextElementSibling; ) {
      const i3 = e4.nextElementSibling;
      t3 ? i3.matches(t3) && s3.push(i3) : s3.push(i3), e4 = i3;
    }
    return s3;
  }(o2, `.${s2.slideClass}, swiper-slide`)[0], s2.loop && !p2 && (p2 = t2[0]), d2 = function(e4, t3) {
    const s3 = [];
    for (; e4.previousElementSibling; ) {
      const i3 = e4.previousElementSibling;
      t3 ? i3.matches(t3) && s3.push(i3) : s3.push(i3), e4 = i3;
    }
    return s3;
  }(o2, `.${s2.slideClass}, swiper-slide`)[0], s2.loop && 0 === !d2 && (d2 = t2[t2.length - 1]))), t2.forEach((e4) => {
    F(e4, e4 === o2, s2.slideActiveClass), F(e4, e4 === p2, s2.slideNextClass), F(e4, e4 === d2, s2.slidePrevClass);
  }), e3.emitSlidesClasses();
}, updateActiveIndex: function(e3) {
  const t2 = this, s2 = t2.rtlTranslate ? t2.translate : -t2.translate, { snapGrid: i2, params: a2, activeIndex: r2, realIndex: n2, snapIndex: l2 } = t2;
  let o2, d2 = e3;
  const p2 = (e4) => {
    let s3 = e4 - t2.virtual.slidesBefore;
    return s3 < 0 && (s3 = t2.virtual.slides.length + s3), s3 >= t2.virtual.slides.length && (s3 -= t2.virtual.slides.length), s3;
  };
  if (undefined === d2 && (d2 = function(e4) {
    const { slidesGrid: t3, params: s3 } = e4, i3 = e4.rtlTranslate ? e4.translate : -e4.translate;
    let a3;
    for (let r3 = 0; r3 < t3.length; r3 += 1) undefined !== t3[r3 + 1] ? i3 >= t3[r3] && i3 < t3[r3 + 1] - (t3[r3 + 1] - t3[r3]) / 2 ? a3 = r3 : i3 >= t3[r3] && i3 < t3[r3 + 1] && (a3 = r3 + 1) : i3 >= t3[r3] && (a3 = r3);
    return s3.normalizeSlideIndex && (a3 < 0 || undefined === a3) && (a3 = 0), a3;
  }(t2)), i2.indexOf(s2) >= 0) o2 = i2.indexOf(s2);
  else {
    const e4 = Math.min(a2.slidesPerGroupSkip, d2);
    o2 = e4 + Math.floor((d2 - e4) / a2.slidesPerGroup);
  }
  if (o2 >= i2.length && (o2 = i2.length - 1), d2 === r2 && !t2.params.loop) return void (o2 !== l2 && (t2.snapIndex = o2, t2.emit("snapIndexChange")));
  if (d2 === r2 && t2.params.loop && t2.virtual && t2.params.virtual.enabled) return void (t2.realIndex = p2(d2));
  const c2 = t2.grid && a2.grid && a2.grid.rows > 1;
  let u2;
  if (t2.virtual && a2.virtual.enabled && a2.loop) u2 = p2(d2);
  else if (c2) {
    const e4 = t2.slides.find((e5) => e5.column === d2);
    let s3 = parseInt(e4.getAttribute("data-swiper-slide-index"), 10);
    Number.isNaN(s3) && (s3 = Math.max(t2.slides.indexOf(e4), 0)), u2 = Math.floor(s3 / a2.grid.rows);
  } else if (t2.slides[d2]) {
    const e4 = t2.slides[d2].getAttribute("data-swiper-slide-index");
    u2 = e4 ? parseInt(e4, 10) : d2;
  } else u2 = d2;
  Object.assign(t2, { previousSnapIndex: l2, snapIndex: o2, previousRealIndex: n2, realIndex: u2, previousIndex: r2, activeIndex: d2 }), t2.initialized && R(t2), t2.emit("activeIndexChange"), t2.emit("snapIndexChange"), (t2.initialized || t2.params.runCallbacksOnInit) && (n2 !== u2 && t2.emit("realIndexChange"), t2.emit("slideChange"));
}, updateClickedSlide: function(e3, t2) {
  const s2 = this, i2 = s2.params;
  let a2 = e3.closest(`.${i2.slideClass}, swiper-slide`);
  !a2 && s2.isElement && t2 && t2.length > 1 && t2.includes(e3) && [...t2.slice(t2.indexOf(e3) + 1, t2.length)].forEach((e4) => {
    !a2 && e4.matches && e4.matches(`.${i2.slideClass}, swiper-slide`) && (a2 = e4);
  });
  let r2, n2 = false;
  if (a2) {
    for (let l2 = 0; l2 < s2.slides.length; l2 += 1) if (s2.slides[l2] === a2) {
      n2 = true, r2 = l2;
      break;
    }
  }
  if (!a2 || !n2) return s2.clickedSlide = undefined, void (s2.clickedIndex = undefined);
  s2.clickedSlide = a2, s2.virtual && s2.params.virtual.enabled ? s2.clickedIndex = parseInt(a2.getAttribute("data-swiper-slide-index"), 10) : s2.clickedIndex = r2, i2.slideToClickedSlide && undefined !== s2.clickedIndex && s2.clickedIndex !== s2.activeIndex && s2.slideToClickedSlide();
} }, translate: { getTranslate: function(e3) {
  undefined === e3 && (e3 = this.isHorizontal() ? "x" : "y");
  const { params: t2, rtlTranslate: s2, translate: i2, wrapperEl: a2 } = this;
  if (t2.virtualTranslate) return s2 ? -i2 : i2;
  if (t2.cssMode) return i2;
  let r2 = m(a2, e3);
  return r2 += this.cssOverflowAdjustment(), s2 && (r2 = -r2), r2 || 0;
}, setTranslate: function(e3, t2) {
  const s2 = this, { rtlTranslate: i2, params: a2, wrapperEl: r2, progress: n2 } = s2;
  let l2, o2 = 0, d2 = 0;
  s2.isHorizontal() ? o2 = i2 ? -e3 : e3 : d2 = e3, a2.roundLengths && (o2 = Math.floor(o2), d2 = Math.floor(d2)), s2.previousTranslate = s2.translate, s2.translate = s2.isHorizontal() ? o2 : d2, a2.cssMode ? r2[s2.isHorizontal() ? "scrollLeft" : "scrollTop"] = s2.isHorizontal() ? -o2 : -d2 : a2.virtualTranslate || (s2.isHorizontal() ? o2 -= s2.cssOverflowAdjustment() : d2 -= s2.cssOverflowAdjustment(), r2.style.transform = `translate3d(${o2}px, ${d2}px, 0px)`);
  const p2 = s2.maxTranslate() - s2.minTranslate();
  l2 = 0 === p2 ? 0 : (e3 - s2.minTranslate()) / p2, l2 !== n2 && s2.updateProgress(e3), s2.emit("setTranslate", s2.translate, t2);
}, minTranslate: function() {
  return -this.snapGrid[0];
}, maxTranslate: function() {
  return -this.snapGrid[this.snapGrid.length - 1];
}, translateTo: function(e3, t2, s2, i2, a2) {
  undefined === e3 && (e3 = 0), undefined === t2 && (t2 = this.params.speed), undefined === s2 && (s2 = true), undefined === i2 && (i2 = true);
  const r2 = this, { params: n2, wrapperEl: l2 } = r2;
  if (r2.animating && n2.preventInteractionOnTransition) return false;
  const o2 = r2.minTranslate(), d2 = r2.maxTranslate();
  let p2;
  if (p2 = i2 && e3 > o2 ? o2 : i2 && e3 < d2 ? d2 : e3, r2.updateProgress(p2), n2.cssMode) {
    const e4 = r2.isHorizontal();
    if (0 === t2) l2[e4 ? "scrollLeft" : "scrollTop"] = -p2;
    else {
      if (!r2.support.smoothScroll) return y({ swiper: r2, targetPosition: -p2, side: e4 ? "left" : "top" }), true;
      l2.scrollTo({ [e4 ? "left" : "top"]: -p2, behavior: "smooth" });
    }
    return true;
  }
  return 0 === t2 ? (r2.setTransition(0), r2.setTranslate(p2), s2 && (r2.emit("beforeTransitionStart", t2, a2), r2.emit("transitionEnd"))) : (r2.setTransition(t2), r2.setTranslate(p2), s2 && (r2.emit("beforeTransitionStart", t2, a2), r2.emit("transitionStart")), r2.animating || (r2.animating = true, r2.onTranslateToWrapperTransitionEnd || (r2.onTranslateToWrapperTransitionEnd = function(e4) {
    r2 && !r2.destroyed && e4.target === this && (r2.wrapperEl.removeEventListener("transitionend", r2.onTranslateToWrapperTransitionEnd), r2.onTranslateToWrapperTransitionEnd = null, delete r2.onTranslateToWrapperTransitionEnd, r2.animating = false, s2 && r2.emit("transitionEnd"));
  }), r2.wrapperEl.addEventListener("transitionend", r2.onTranslateToWrapperTransitionEnd))), true;
} }, transition: { setTransition: function(e3, t2) {
  const s2 = this;
  s2.params.cssMode || (s2.wrapperEl.style.transitionDuration = `${e3}ms`, s2.wrapperEl.style.transitionDelay = 0 === e3 ? "0ms" : ""), s2.emit("setTransition", e3, t2);
}, transitionStart: function(e3, t2) {
  undefined === e3 && (e3 = true);
  const s2 = this, { params: i2 } = s2;
  i2.cssMode || (i2.autoHeight && s2.updateAutoHeight(), H({ swiper: s2, runCallbacks: e3, direction: t2, step: "Start" }));
}, transitionEnd: function(e3, t2) {
  undefined === e3 && (e3 = true);
  const s2 = this, { params: i2 } = s2;
  s2.animating = false, i2.cssMode || (s2.setTransition(0), H({ swiper: s2, runCallbacks: e3, direction: t2, step: "End" }));
} }, slide: { slideTo: function(e3, t2, s2, i2, a2) {
  undefined === e3 && (e3 = 0), undefined === s2 && (s2 = true), "string" == typeof e3 && (e3 = parseInt(e3, 10));
  const r2 = this;
  let n2 = e3;
  n2 < 0 && (n2 = 0);
  const { params: l2, snapGrid: o2, slidesGrid: d2, previousIndex: p2, activeIndex: c2, rtlTranslate: u2, wrapperEl: f2, enabled: m2 } = r2;
  if (!m2 && !i2 && !a2 || r2.destroyed || r2.animating && l2.preventInteractionOnTransition) return false;
  undefined === t2 && (t2 = r2.params.speed);
  const v2 = Math.min(r2.params.slidesPerGroupSkip, n2);
  let h2 = v2 + Math.floor((n2 - v2) / r2.params.slidesPerGroup);
  h2 >= o2.length && (h2 = o2.length - 1);
  const g2 = -o2[h2];
  if (l2.normalizeSlideIndex) for (let y2 = 0; y2 < d2.length; y2 += 1) {
    const e4 = -Math.floor(100 * g2), t3 = Math.floor(100 * d2[y2]), s3 = Math.floor(100 * d2[y2 + 1]);
    undefined !== d2[y2 + 1] ? e4 >= t3 && e4 < s3 - (s3 - t3) / 2 ? n2 = y2 : e4 >= t3 && e4 < s3 && (n2 = y2 + 1) : e4 >= t3 && (n2 = y2);
  }
  if (r2.initialized && n2 !== c2) {
    if (!r2.allowSlideNext && (u2 ? g2 > r2.translate && g2 > r2.minTranslate() : g2 < r2.translate && g2 < r2.minTranslate())) return false;
    if (!r2.allowSlidePrev && g2 > r2.translate && g2 > r2.maxTranslate() && (c2 || 0) !== n2) return false;
  }
  let w2;
  n2 !== (p2 || 0) && s2 && r2.emit("beforeSlideChangeStart"), r2.updateProgress(g2), w2 = n2 > c2 ? "next" : n2 < c2 ? "prev" : "reset";
  const b2 = r2.virtual && r2.params.virtual.enabled;
  if (!(b2 && a2) && (u2 && -g2 === r2.translate || !u2 && g2 === r2.translate)) return r2.updateActiveIndex(n2), l2.autoHeight && r2.updateAutoHeight(), r2.updateSlidesClasses(), "slide" !== l2.effect && r2.setTranslate(g2), "reset" !== w2 && (r2.transitionStart(s2, w2), r2.transitionEnd(s2, w2)), false;
  if (l2.cssMode) {
    const e4 = r2.isHorizontal(), s3 = u2 ? g2 : -g2;
    if (0 === t2) b2 && (r2.wrapperEl.style.scrollSnapType = "none", r2._immediateVirtual = true), b2 && !r2._cssModeVirtualInitialSet && r2.params.initialSlide > 0 ? (r2._cssModeVirtualInitialSet = true, requestAnimationFrame(() => {
      f2[e4 ? "scrollLeft" : "scrollTop"] = s3;
    })) : f2[e4 ? "scrollLeft" : "scrollTop"] = s3, b2 && requestAnimationFrame(() => {
      r2.wrapperEl.style.scrollSnapType = "", r2._immediateVirtual = false;
    });
    else {
      if (!r2.support.smoothScroll) return y({ swiper: r2, targetPosition: s3, side: e4 ? "left" : "top" }), true;
      f2.scrollTo({ [e4 ? "left" : "top"]: s3, behavior: "smooth" });
    }
    return true;
  }
  return r2.setTransition(t2), r2.setTranslate(g2), r2.updateActiveIndex(n2), r2.updateSlidesClasses(), r2.emit("beforeTransitionStart", t2, i2), r2.transitionStart(s2, w2), 0 === t2 ? r2.transitionEnd(s2, w2) : r2.animating || (r2.animating = true, r2.onSlideToWrapperTransitionEnd || (r2.onSlideToWrapperTransitionEnd = function(e4) {
    r2 && !r2.destroyed && e4.target === this && (r2.wrapperEl.removeEventListener("transitionend", r2.onSlideToWrapperTransitionEnd), r2.onSlideToWrapperTransitionEnd = null, delete r2.onSlideToWrapperTransitionEnd, r2.transitionEnd(s2, w2));
  }), r2.wrapperEl.addEventListener("transitionend", r2.onSlideToWrapperTransitionEnd)), true;
}, slideToLoop: function(e3, t2, s2, i2) {
  if (undefined === e3 && (e3 = 0), undefined === s2 && (s2 = true), "string" == typeof e3) {
    e3 = parseInt(e3, 10);
  }
  const a2 = this;
  if (a2.destroyed) return;
  undefined === t2 && (t2 = a2.params.speed);
  const r2 = a2.grid && a2.params.grid && a2.params.grid.rows > 1;
  let n2 = e3;
  if (a2.params.loop) if (a2.virtual && a2.params.virtual.enabled) n2 += a2.virtual.slidesBefore;
  else {
    let e4;
    if (r2) {
      const t4 = n2 * a2.params.grid.rows;
      e4 = a2.slides.find((e5) => 1 * e5.getAttribute("data-swiper-slide-index") === t4).column;
    } else e4 = a2.getSlideIndexByData(n2);
    const t3 = r2 ? Math.ceil(a2.slides.length / a2.params.grid.rows) : a2.slides.length, { centeredSlides: s3 } = a2.params;
    let l2 = a2.params.slidesPerView;
    "auto" === l2 ? l2 = a2.slidesPerViewDynamic() : (l2 = Math.ceil(parseFloat(a2.params.slidesPerView, 10)), s3 && l2 % 2 == 0 && (l2 += 1));
    let o2 = t3 - e4 < l2;
    if (s3 && (o2 = o2 || e4 < Math.ceil(l2 / 2)), i2 && s3 && "auto" !== a2.params.slidesPerView && !r2 && (o2 = false), o2) {
      const i3 = s3 ? e4 < a2.activeIndex ? "prev" : "next" : e4 - a2.activeIndex - 1 < a2.params.slidesPerView ? "next" : "prev";
      a2.loopFix({ direction: i3, slideTo: true, activeSlideIndex: "next" === i3 ? e4 + 1 : e4 - t3 + 1, slideRealIndex: "next" === i3 ? a2.realIndex : undefined });
    }
    if (r2) {
      const e5 = n2 * a2.params.grid.rows;
      n2 = a2.slides.find((t4) => 1 * t4.getAttribute("data-swiper-slide-index") === e5).column;
    } else n2 = a2.getSlideIndexByData(n2);
  }
  return requestAnimationFrame(() => {
    a2.slideTo(n2, t2, s2, i2);
  }), a2;
}, slideNext: function(e3, t2, s2) {
  undefined === t2 && (t2 = true);
  const i2 = this, { enabled: a2, params: r2, animating: n2 } = i2;
  if (!a2 || i2.destroyed) return i2;
  undefined === e3 && (e3 = i2.params.speed);
  let l2 = r2.slidesPerGroup;
  "auto" === r2.slidesPerView && 1 === r2.slidesPerGroup && r2.slidesPerGroupAuto && (l2 = Math.max(i2.slidesPerViewDynamic("current", true), 1));
  const o2 = i2.activeIndex < r2.slidesPerGroupSkip ? 1 : l2, d2 = i2.virtual && r2.virtual.enabled;
  if (r2.loop) {
    if (n2 && !d2 && r2.loopPreventsSliding) return false;
    if (i2.loopFix({ direction: "next" }), i2._clientLeft = i2.wrapperEl.clientLeft, i2.activeIndex === i2.slides.length - 1 && r2.cssMode) return requestAnimationFrame(() => {
      i2.slideTo(i2.activeIndex + o2, e3, t2, s2);
    }), true;
  }
  return r2.rewind && i2.isEnd ? i2.slideTo(0, e3, t2, s2) : i2.slideTo(i2.activeIndex + o2, e3, t2, s2);
}, slidePrev: function(e3, t2, s2) {
  undefined === t2 && (t2 = true);
  const i2 = this, { params: a2, snapGrid: r2, slidesGrid: n2, rtlTranslate: l2, enabled: o2, animating: d2 } = i2;
  if (!o2 || i2.destroyed) return i2;
  undefined === e3 && (e3 = i2.params.speed);
  const p2 = i2.virtual && a2.virtual.enabled;
  if (a2.loop) {
    if (d2 && !p2 && a2.loopPreventsSliding) return false;
    i2.loopFix({ direction: "prev" }), i2._clientLeft = i2.wrapperEl.clientLeft;
  }
  function c2(e4) {
    return e4 < 0 ? -Math.floor(Math.abs(e4)) : Math.floor(e4);
  }
  const u2 = c2(l2 ? i2.translate : -i2.translate), f2 = r2.map((e4) => c2(e4));
  let m2 = r2[f2.indexOf(u2) - 1];
  if (undefined === m2 && a2.cssMode) {
    let e4;
    r2.forEach((t3, s3) => {
      u2 >= t3 && (e4 = s3);
    }), undefined !== e4 && (m2 = r2[e4 > 0 ? e4 - 1 : e4]);
  }
  let v2 = 0;
  if (undefined !== m2 && (v2 = n2.indexOf(m2), v2 < 0 && (v2 = i2.activeIndex - 1), "auto" === a2.slidesPerView && 1 === a2.slidesPerGroup && a2.slidesPerGroupAuto && (v2 = v2 - i2.slidesPerViewDynamic("previous", true) + 1, v2 = Math.max(v2, 0))), a2.rewind && i2.isBeginning) {
    const a3 = i2.params.virtual && i2.params.virtual.enabled && i2.virtual ? i2.virtual.slides.length - 1 : i2.slides.length - 1;
    return i2.slideTo(a3, e3, t2, s2);
  }
  return a2.loop && 0 === i2.activeIndex && a2.cssMode ? (requestAnimationFrame(() => {
    i2.slideTo(v2, e3, t2, s2);
  }), true) : i2.slideTo(v2, e3, t2, s2);
}, slideReset: function(e3, t2, s2) {
  undefined === t2 && (t2 = true);
  const i2 = this;
  if (!i2.destroyed) return undefined === e3 && (e3 = i2.params.speed), i2.slideTo(i2.activeIndex, e3, t2, s2);
}, slideToClosest: function(e3, t2, s2, i2) {
  undefined === t2 && (t2 = true), undefined === i2 && (i2 = 0.5);
  const a2 = this;
  if (a2.destroyed) return;
  undefined === e3 && (e3 = a2.params.speed);
  let r2 = a2.activeIndex;
  const n2 = Math.min(a2.params.slidesPerGroupSkip, r2), l2 = n2 + Math.floor((r2 - n2) / a2.params.slidesPerGroup), o2 = a2.rtlTranslate ? a2.translate : -a2.translate;
  if (o2 >= a2.snapGrid[l2]) {
    const e4 = a2.snapGrid[l2];
    o2 - e4 > (a2.snapGrid[l2 + 1] - e4) * i2 && (r2 += a2.params.slidesPerGroup);
  } else {
    const e4 = a2.snapGrid[l2 - 1];
    o2 - e4 <= (a2.snapGrid[l2] - e4) * i2 && (r2 -= a2.params.slidesPerGroup);
  }
  return r2 = Math.max(r2, 0), r2 = Math.min(r2, a2.slidesGrid.length - 1), a2.slideTo(r2, e3, t2, s2);
}, slideToClickedSlide: function() {
  const e3 = this;
  if (e3.destroyed) return;
  const { params: t2, slidesEl: s2 } = e3, i2 = "auto" === t2.slidesPerView ? e3.slidesPerViewDynamic() : t2.slidesPerView;
  let a2, r2 = e3.clickedIndex;
  const n2 = e3.isElement ? "swiper-slide" : `.${t2.slideClass}`;
  if (t2.loop) {
    if (e3.animating) return;
    a2 = parseInt(e3.clickedSlide.getAttribute("data-swiper-slide-index"), 10), t2.centeredSlides ? r2 < e3.loopedSlides - i2 / 2 || r2 > e3.slides.length - e3.loopedSlides + i2 / 2 ? (e3.loopFix(), r2 = e3.getSlideIndex(w(s2, `${n2}[data-swiper-slide-index="${a2}"]`)[0]), u(() => {
      e3.slideTo(r2);
    })) : e3.slideTo(r2) : r2 > e3.slides.length - i2 ? (e3.loopFix(), r2 = e3.getSlideIndex(w(s2, `${n2}[data-swiper-slide-index="${a2}"]`)[0]), u(() => {
      e3.slideTo(r2);
    })) : e3.slideTo(r2);
  } else e3.slideTo(r2);
} }, loop: { loopCreate: function(e3) {
  const t2 = this, { params: s2, slidesEl: i2 } = t2;
  if (!s2.loop || t2.virtual && t2.params.virtual.enabled) return;
  const a2 = () => {
    w(i2, `.${s2.slideClass}, swiper-slide`).forEach((e4, t3) => {
      e4.setAttribute("data-swiper-slide-index", t3);
    });
  }, r2 = t2.grid && s2.grid && s2.grid.rows > 1, n2 = s2.slidesPerGroup * (r2 ? s2.grid.rows : 1), l2 = t2.slides.length % n2 != 0, o2 = r2 && t2.slides.length % s2.grid.rows != 0, d2 = (e4) => {
    for (let i3 = 0; i3 < e4; i3 += 1) {
      const e5 = t2.isElement ? S("swiper-slide", [s2.slideBlankClass]) : S("div", [s2.slideClass, s2.slideBlankClass]);
      t2.slidesEl.append(e5);
    }
  };
  if (l2) {
    if (s2.loopAddBlankSlides) {
      d2(n2 - t2.slides.length % n2), t2.recalcSlides(), t2.updateSlides();
    } else b();
    a2();
  } else if (o2) {
    if (s2.loopAddBlankSlides) {
      d2(s2.grid.rows - t2.slides.length % s2.grid.rows), t2.recalcSlides(), t2.updateSlides();
    } else b();
    a2();
  } else a2();
  t2.loopFix({ slideRealIndex: e3, direction: s2.centeredSlides ? undefined : "next" });
}, loopFix: function(e3) {
  let { slideRealIndex: t2, slideTo: s2 = true, direction: i2, setTranslate: a2, activeSlideIndex: r2, byController: n2, byMousewheel: l2 } = undefined === e3 ? {} : e3;
  const o2 = this;
  if (!o2.params.loop) return;
  o2.emit("beforeLoopFix");
  const { slides: d2, allowSlidePrev: p2, allowSlideNext: c2, slidesEl: u2, params: f2 } = o2, { centeredSlides: m2 } = f2;
  if (o2.allowSlidePrev = true, o2.allowSlideNext = true, o2.virtual && f2.virtual.enabled) return s2 && (f2.centeredSlides || 0 !== o2.snapIndex ? f2.centeredSlides && o2.snapIndex < f2.slidesPerView ? o2.slideTo(o2.virtual.slides.length + o2.snapIndex, 0, false, true) : o2.snapIndex === o2.snapGrid.length - 1 && o2.slideTo(o2.virtual.slidesBefore, 0, false, true) : o2.slideTo(o2.virtual.slides.length, 0, false, true)), o2.allowSlidePrev = p2, o2.allowSlideNext = c2, void o2.emit("loopFix");
  let v2 = f2.slidesPerView;
  "auto" === v2 ? v2 = o2.slidesPerViewDynamic() : (v2 = Math.ceil(parseFloat(f2.slidesPerView, 10)), m2 && v2 % 2 == 0 && (v2 += 1));
  const h2 = f2.slidesPerGroupAuto ? v2 : f2.slidesPerGroup;
  let g2 = h2;
  g2 % h2 != 0 && (g2 += h2 - g2 % h2), g2 += f2.loopAdditionalSlides, o2.loopedSlides = g2;
  const y2 = o2.grid && f2.grid && f2.grid.rows > 1;
  (d2.length < v2 + g2 || y2 && "row" === f2.grid.fill) && b();
  const w2 = [], S2 = [];
  let T2 = o2.activeIndex;
  undefined === r2 ? r2 = o2.getSlideIndex(d2.find((e4) => e4.classList.contains(f2.slideActiveClass))) : T2 = r2;
  const x2 = "next" === i2 || !i2, E2 = "prev" === i2 || !i2;
  let C2 = 0, M2 = 0;
  const P2 = y2 ? Math.ceil(d2.length / f2.grid.rows) : d2.length, O2 = (y2 ? d2[r2].column : r2) + (m2 && undefined === a2 ? -v2 / 2 + 0.5 : 0);
  if (O2 < g2) {
    C2 = Math.max(g2 - O2, h2);
    for (let e4 = 0; e4 < g2 - O2; e4 += 1) {
      const t3 = e4 - Math.floor(e4 / P2) * P2;
      if (y2) {
        const e5 = P2 - t3 - 1;
        for (let t4 = d2.length - 1; t4 >= 0; t4 -= 1) d2[t4].column === e5 && w2.push(t4);
      } else w2.push(P2 - t3 - 1);
    }
  } else if (O2 + v2 > P2 - g2) {
    M2 = Math.max(O2 - (P2 - 2 * g2), h2);
    for (let e4 = 0; e4 < M2; e4 += 1) {
      const t3 = e4 - Math.floor(e4 / P2) * P2;
      y2 ? d2.forEach((e5, s3) => {
        e5.column === t3 && S2.push(s3);
      }) : S2.push(t3);
    }
  }
  if (o2.__preventObserver__ = true, requestAnimationFrame(() => {
    o2.__preventObserver__ = false;
  }), E2 && w2.forEach((e4) => {
    d2[e4].swiperLoopMoveDOM = true, u2.prepend(d2[e4]), d2[e4].swiperLoopMoveDOM = false;
  }), x2 && S2.forEach((e4) => {
    d2[e4].swiperLoopMoveDOM = true, u2.append(d2[e4]), d2[e4].swiperLoopMoveDOM = false;
  }), o2.recalcSlides(), "auto" === f2.slidesPerView ? o2.updateSlides() : y2 && (w2.length > 0 && E2 || S2.length > 0 && x2) && o2.slides.forEach((e4, t3) => {
    o2.grid.updateSlide(t3, e4, o2.slides);
  }), f2.watchSlidesProgress && o2.updateSlidesOffset(), s2) {
    if (w2.length > 0 && E2) {
      if (undefined === t2) {
        const e4 = o2.slidesGrid[T2], t3 = o2.slidesGrid[T2 + C2] - e4;
        l2 ? o2.setTranslate(o2.translate - t3) : (o2.slideTo(T2 + Math.ceil(C2), 0, false, true), a2 && (o2.touchEventsData.startTranslate = o2.touchEventsData.startTranslate - t3, o2.touchEventsData.currentTranslate = o2.touchEventsData.currentTranslate - t3));
      } else if (a2) {
        const e4 = y2 ? w2.length / f2.grid.rows : w2.length;
        o2.slideTo(o2.activeIndex + e4, 0, false, true), o2.touchEventsData.currentTranslate = o2.translate;
      }
    } else if (S2.length > 0 && x2) if (undefined === t2) {
      const e4 = o2.slidesGrid[T2], t3 = o2.slidesGrid[T2 - M2] - e4;
      l2 ? o2.setTranslate(o2.translate - t3) : (o2.slideTo(T2 - M2, 0, false, true), a2 && (o2.touchEventsData.startTranslate = o2.touchEventsData.startTranslate - t3, o2.touchEventsData.currentTranslate = o2.touchEventsData.currentTranslate - t3));
    } else {
      const e4 = y2 ? S2.length / f2.grid.rows : S2.length;
      o2.slideTo(o2.activeIndex - e4, 0, false, true);
    }
  }
  if (o2.allowSlidePrev = p2, o2.allowSlideNext = c2, o2.controller && o2.controller.control && !n2) {
    const e4 = { slideRealIndex: t2, direction: i2, setTranslate: a2, activeSlideIndex: r2, byController: true };
    Array.isArray(o2.controller.control) ? o2.controller.control.forEach((t3) => {
      !t3.destroyed && t3.params.loop && t3.loopFix({ ...e4, slideTo: t3.params.slidesPerView === f2.slidesPerView && s2 });
    }) : o2.controller.control instanceof o2.constructor && o2.controller.control.params.loop && o2.controller.control.loopFix({ ...e4, slideTo: o2.controller.control.params.slidesPerView === f2.slidesPerView && s2 });
  }
  o2.emit("loopFix");
}, loopDestroy: function() {
  const e3 = this, { params: t2, slidesEl: s2 } = e3;
  if (!t2.loop || e3.virtual && e3.params.virtual.enabled) return;
  e3.recalcSlides();
  const i2 = [];
  e3.slides.forEach((e4) => {
    const t3 = undefined === e4.swiperSlideIndex ? 1 * e4.getAttribute("data-swiper-slide-index") : e4.swiperSlideIndex;
    i2[t3] = e4;
  }), e3.slides.forEach((e4) => {
    e4.removeAttribute("data-swiper-slide-index");
  }), i2.forEach((e4) => {
    s2.append(e4);
  }), e3.recalcSlides(), e3.slideTo(e3.realIndex, 0);
} }, grabCursor: { setGrabCursor: function(e3) {
  const t2 = this;
  if (!t2.params.simulateTouch || t2.params.watchOverflow && t2.isLocked || t2.params.cssMode) return;
  const s2 = "container" === t2.params.touchEventsTarget ? t2.el : t2.wrapperEl;
  t2.isElement && (t2.__preventObserver__ = true), s2.style.cursor = "move", s2.style.cursor = e3 ? "grabbing" : "grab", t2.isElement && requestAnimationFrame(() => {
    t2.__preventObserver__ = false;
  });
}, unsetGrabCursor: function() {
  const e3 = this;
  e3.params.watchOverflow && e3.isLocked || e3.params.cssMode || (e3.isElement && (e3.__preventObserver__ = true), e3["container" === e3.params.touchEventsTarget ? "el" : "wrapperEl"].style.cursor = "", e3.isElement && requestAnimationFrame(() => {
    e3.__preventObserver__ = false;
  }));
} }, events: { attachEvents: function() {
  const e3 = this, { params: t2 } = e3;
  e3.onTouchStart = W.bind(e3), e3.onTouchMove = X.bind(e3), e3.onTouchEnd = Y.bind(e3), e3.onDocumentTouchStart = Q.bind(e3), t2.cssMode && (e3.onScroll = Z.bind(e3)), e3.onClick = K.bind(e3), e3.onLoad = J.bind(e3), ee(e3, "on");
}, detachEvents: function() {
  ee(this, "off");
} }, breakpoints: { setBreakpoint: function() {
  const e3 = this, { realIndex: t2, initialized: s2, params: i2, el: a2 } = e3, r2 = i2.breakpoints;
  if (!r2 || r2 && 0 === Object.keys(r2).length) return;
  const n2 = d(), l2 = "window" !== i2.breakpointsBase && i2.breakpointsBase ? "container" : i2.breakpointsBase, o2 = ["window", "container"].includes(i2.breakpointsBase) || !i2.breakpointsBase ? e3.el : n2.querySelector(i2.breakpointsBase), p2 = e3.getBreakpoint(r2, l2, o2);
  if (!p2 || e3.currentBreakpoint === p2) return;
  const c2 = (p2 in r2 ? r2[p2] : undefined) || e3.originalParams, u2 = te(e3, i2), f2 = te(e3, c2), m2 = e3.params.grabCursor, v2 = c2.grabCursor, g2 = i2.enabled;
  u2 && !f2 ? (a2.classList.remove(`${i2.containerModifierClass}grid`, `${i2.containerModifierClass}grid-column`), e3.emitContainerClasses()) : !u2 && f2 && (a2.classList.add(`${i2.containerModifierClass}grid`), (c2.grid.fill && "column" === c2.grid.fill || !c2.grid.fill && "column" === i2.grid.fill) && a2.classList.add(`${i2.containerModifierClass}grid-column`), e3.emitContainerClasses()), m2 && !v2 ? e3.unsetGrabCursor() : !m2 && v2 && e3.setGrabCursor(), ["navigation", "pagination", "scrollbar"].forEach((t3) => {
    if (undefined === c2[t3]) return;
    const s3 = i2[t3] && i2[t3].enabled, a3 = c2[t3] && c2[t3].enabled;
    s3 && !a3 && e3[t3].disable(), !s3 && a3 && e3[t3].enable();
  });
  const y2 = c2.direction && c2.direction !== i2.direction, w2 = i2.loop && (c2.slidesPerView !== i2.slidesPerView || y2), b2 = i2.loop;
  y2 && s2 && e3.changeDirection(), h(e3.params, c2);
  const S2 = e3.params.enabled, T2 = e3.params.loop;
  Object.assign(e3, { allowTouchMove: e3.params.allowTouchMove, allowSlideNext: e3.params.allowSlideNext, allowSlidePrev: e3.params.allowSlidePrev }), g2 && !S2 ? e3.disable() : !g2 && S2 && e3.enable(), e3.currentBreakpoint = p2, e3.emit("_beforeBreakpoint", c2), s2 && (w2 ? (e3.loopDestroy(), e3.loopCreate(t2), e3.updateSlides()) : !b2 && T2 ? (e3.loopCreate(t2), e3.updateSlides()) : b2 && !T2 && e3.loopDestroy()), e3.emit("breakpoint", c2);
}, getBreakpoint: function(e3, t2, s2) {
  if (undefined === t2 && (t2 = "window"), !e3 || "container" === t2 && !s2) return;
  let i2 = false;
  const a2 = c(), r2 = "window" === t2 ? a2.innerHeight : s2.clientHeight, n2 = Object.keys(e3).map((e4) => {
    if ("string" == typeof e4 && 0 === e4.indexOf("@")) {
      const t3 = parseFloat(e4.substr(1));
      return { value: r2 * t3, point: e4 };
    }
    return { value: e4, point: e4 };
  });
  n2.sort((e4, t3) => parseInt(e4.value, 10) - parseInt(t3.value, 10));
  for (let l2 = 0; l2 < n2.length; l2 += 1) {
    const { point: e4, value: r3 } = n2[l2];
    "window" === t2 ? a2.matchMedia(`(min-width: ${r3}px)`).matches && (i2 = e4) : r3 <= s2.clientWidth && (i2 = e4);
  }
  return i2 || "max";
} }, checkOverflow: { checkOverflow: function() {
  const e3 = this, { isLocked: t2, params: s2 } = e3, { slidesOffsetBefore: i2 } = s2;
  if (i2) {
    const t3 = e3.slides.length - 1, s3 = e3.slidesGrid[t3] + e3.slidesSizesGrid[t3] + 2 * i2;
    e3.isLocked = e3.size > s3;
  } else e3.isLocked = 1 === e3.snapGrid.length;
  true === s2.allowSlideNext && (e3.allowSlideNext = !e3.isLocked), true === s2.allowSlidePrev && (e3.allowSlidePrev = !e3.isLocked), t2 && t2 !== e3.isLocked && (e3.isEnd = false), t2 !== e3.isLocked && e3.emit(e3.isLocked ? "lock" : "unlock");
} }, classes: { addClasses: function() {
  const e3 = this, { classNames: t2, params: s2, rtl: i2, el: a2, device: r2 } = e3, n2 = function(e4, t3) {
    const s3 = [];
    return e4.forEach((e5) => {
      "object" == typeof e5 ? Object.keys(e5).forEach((i3) => {
        e5[i3] && s3.push(t3 + i3);
      }) : "string" == typeof e5 && s3.push(t3 + e5);
    }), s3;
  }(["initialized", s2.direction, { "free-mode": e3.params.freeMode && s2.freeMode.enabled }, { autoheight: s2.autoHeight }, { rtl: i2 }, { grid: s2.grid && s2.grid.rows > 1 }, { "grid-column": s2.grid && s2.grid.rows > 1 && "column" === s2.grid.fill }, { android: r2.android }, { ios: r2.ios }, { "css-mode": s2.cssMode }, { centered: s2.cssMode && s2.centeredSlides }, { "watch-progress": s2.watchSlidesProgress }], s2.containerModifierClass);
  t2.push(...n2), a2.classList.add(...t2), e3.emitContainerClasses();
}, removeClasses: function() {
  const { el: e3, classNames: t2 } = this;
  e3 && "string" != typeof e3 && (e3.classList.remove(...t2), this.emitContainerClasses());
} } }, re = {};
let ne = class e2 {
  constructor() {
    let t2, s2;
    for (var i2 = arguments.length, a2 = new Array(i2), r2 = 0; r2 < i2; r2++) a2[r2] = arguments[r2];
    1 === a2.length && a2[0].constructor && "Object" === Object.prototype.toString.call(a2[0]).slice(8, -1) ? s2 = a2[0] : [t2, s2] = a2, s2 || (s2 = {}), s2 = h({}, s2), t2 && !s2.el && (s2.el = t2);
    const n2 = d();
    if (s2.el && "string" == typeof s2.el && n2.querySelectorAll(s2.el).length > 1) {
      const t3 = [];
      return n2.querySelectorAll(s2.el).forEach((i3) => {
        const a3 = h({}, s2, { el: i3 });
        t3.push(new e2(a3));
      }), t3;
    }
    const l2 = this;
    l2.__swiper__ = true, l2.support = D(), l2.device = G({ userAgent: s2.userAgent }), l2.browser = N(), l2.eventsListeners = {}, l2.eventsAnyListeners = [], l2.modules = [...l2.__modules__], s2.modules && Array.isArray(s2.modules) && l2.modules.push(...s2.modules);
    const o2 = {};
    l2.modules.forEach((e3) => {
      e3({ params: s2, swiper: l2, extendParams: ie(s2, o2), on: l2.on.bind(l2), once: l2.once.bind(l2), off: l2.off.bind(l2), emit: l2.emit.bind(l2) });
    });
    const p2 = h({}, se, o2);
    return l2.params = h({}, p2, re, s2), l2.originalParams = h({}, l2.params), l2.passedParams = h({}, s2), l2.params && l2.params.on && Object.keys(l2.params.on).forEach((e3) => {
      l2.on(e3, l2.params.on[e3]);
    }), l2.params && l2.params.onAny && l2.onAny(l2.params.onAny), Object.assign(l2, { enabled: l2.params.enabled, el: t2, classNames: [], slides: [], slidesGrid: [], snapGrid: [], slidesSizesGrid: [], isHorizontal: () => "horizontal" === l2.params.direction, isVertical: () => "vertical" === l2.params.direction, activeIndex: 0, realIndex: 0, isBeginning: true, isEnd: false, translate: 0, previousTranslate: 0, progress: 0, velocity: 0, animating: false, cssOverflowAdjustment() {
      return Math.trunc(this.translate / 2 ** 23) * 2 ** 23;
    }, allowSlideNext: l2.params.allowSlideNext, allowSlidePrev: l2.params.allowSlidePrev, touchEventsData: { isTouched: undefined, isMoved: undefined, allowTouchCallbacks: undefined, touchStartTime: undefined, isScrolling: undefined, currentTranslate: undefined, startTranslate: undefined, allowThresholdMove: undefined, focusableElements: l2.params.focusableElements, lastClickTime: 0, clickTimeout: undefined, velocities: [], allowMomentumBounce: undefined, startMoving: undefined, pointerId: null, touchId: null }, allowClick: true, allowTouchMove: l2.params.allowTouchMove, touches: { startX: 0, startY: 0, currentX: 0, currentY: 0, diff: 0 }, imagesToLoad: [], imagesLoaded: 0 }), l2.emit("_swiper"), l2.params.init && l2.init(), l2;
  }
  getDirectionLabel(e3) {
    return this.isHorizontal() ? e3 : { 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" }[e3];
  }
  getSlideIndex(e3) {
    const { slidesEl: t2, params: s2 } = this, i2 = x(w(t2, `.${s2.slideClass}, swiper-slide`)[0]);
    return x(e3) - i2;
  }
  getSlideIndexByData(e3) {
    return this.getSlideIndex(this.slides.find((t2) => 1 * t2.getAttribute("data-swiper-slide-index") === e3));
  }
  recalcSlides() {
    const { slidesEl: e3, params: t2 } = this;
    this.slides = w(e3, `.${t2.slideClass}, swiper-slide`);
  }
  enable() {
    const e3 = this;
    e3.enabled || (e3.enabled = true, e3.params.grabCursor && e3.setGrabCursor(), e3.emit("enable"));
  }
  disable() {
    const e3 = this;
    e3.enabled && (e3.enabled = false, e3.params.grabCursor && e3.unsetGrabCursor(), e3.emit("disable"));
  }
  setProgress(e3, t2) {
    const s2 = this;
    e3 = Math.min(Math.max(e3, 0), 1);
    const i2 = s2.minTranslate(), a2 = (s2.maxTranslate() - i2) * e3 + i2;
    s2.translateTo(a2, undefined === t2 ? 0 : t2), s2.updateActiveIndex(), s2.updateSlidesClasses();
  }
  emitContainerClasses() {
    const e3 = this;
    if (!e3.params._emitClasses || !e3.el) return;
    const t2 = e3.el.className.split(" ").filter((t3) => 0 === t3.indexOf("swiper") || 0 === t3.indexOf(e3.params.containerModifierClass));
    e3.emit("_containerClasses", t2.join(" "));
  }
  getSlideClasses(e3) {
    const t2 = this;
    return t2.destroyed ? "" : e3.className.split(" ").filter((e4) => 0 === e4.indexOf("swiper-slide") || 0 === e4.indexOf(t2.params.slideClass)).join(" ");
  }
  emitSlidesClasses() {
    const e3 = this;
    if (!e3.params._emitClasses || !e3.el) return;
    const t2 = [];
    e3.slides.forEach((s2) => {
      const i2 = e3.getSlideClasses(s2);
      t2.push({ slideEl: s2, classNames: i2 }), e3.emit("_slideClass", s2, i2);
    }), e3.emit("_slideClasses", t2);
  }
  slidesPerViewDynamic(e3, t2) {
    undefined === e3 && (e3 = "current"), undefined === t2 && (t2 = false);
    const { params: s2, slides: i2, slidesGrid: a2, slidesSizesGrid: r2, size: n2, activeIndex: l2 } = this;
    let o2 = 1;
    if ("number" == typeof s2.slidesPerView) return s2.slidesPerView;
    if (s2.centeredSlides) {
      let e4, t3 = i2[l2] ? Math.ceil(i2[l2].swiperSlideSize) : 0;
      for (let s3 = l2 + 1; s3 < i2.length; s3 += 1) i2[s3] && !e4 && (t3 += Math.ceil(i2[s3].swiperSlideSize), o2 += 1, t3 > n2 && (e4 = true));
      for (let s3 = l2 - 1; s3 >= 0; s3 -= 1) i2[s3] && !e4 && (t3 += i2[s3].swiperSlideSize, o2 += 1, t3 > n2 && (e4 = true));
    } else if ("current" === e3) for (let d2 = l2 + 1; d2 < i2.length; d2 += 1) {
      (t2 ? a2[d2] + r2[d2] - a2[l2] < n2 : a2[d2] - a2[l2] < n2) && (o2 += 1);
    }
    else for (let d2 = l2 - 1; d2 >= 0; d2 -= 1) {
      a2[l2] - a2[d2] < n2 && (o2 += 1);
    }
    return o2;
  }
  update() {
    const e3 = this;
    if (!e3 || e3.destroyed) return;
    const { snapGrid: t2, params: s2 } = e3;
    function i2() {
      const t3 = e3.rtlTranslate ? -1 * e3.translate : e3.translate, s3 = Math.min(Math.max(t3, e3.maxTranslate()), e3.minTranslate());
      e3.setTranslate(s3), e3.updateActiveIndex(), e3.updateSlidesClasses();
    }
    let a2;
    if (s2.breakpoints && e3.setBreakpoint(), [...e3.el.querySelectorAll('[loading="lazy"]')].forEach((t3) => {
      t3.complete && V(e3, t3);
    }), e3.updateSize(), e3.updateSlides(), e3.updateProgress(), e3.updateSlidesClasses(), s2.freeMode && s2.freeMode.enabled && !s2.cssMode) i2(), s2.autoHeight && e3.updateAutoHeight();
    else {
      if (("auto" === s2.slidesPerView || s2.slidesPerView > 1) && e3.isEnd && !s2.centeredSlides) {
        const t3 = e3.virtual && s2.virtual.enabled ? e3.virtual.slides : e3.slides;
        a2 = e3.slideTo(t3.length - 1, 0, false, true);
      } else a2 = e3.slideTo(e3.activeIndex, 0, false, true);
      a2 || i2();
    }
    s2.watchOverflow && t2 !== e3.snapGrid && e3.checkOverflow(), e3.emit("update");
  }
  changeDirection(e3, t2) {
    undefined === t2 && (t2 = true);
    const s2 = this, i2 = s2.params.direction;
    return e3 || (e3 = "horizontal" === i2 ? "vertical" : "horizontal"), e3 === i2 || "horizontal" !== e3 && "vertical" !== e3 || (s2.el.classList.remove(`${s2.params.containerModifierClass}${i2}`), s2.el.classList.add(`${s2.params.containerModifierClass}${e3}`), s2.emitContainerClasses(), s2.params.direction = e3, s2.slides.forEach((t3) => {
      "vertical" === e3 ? t3.style.width = "" : t3.style.height = "";
    }), s2.emit("changeDirection"), t2 && s2.update()), s2;
  }
  changeLanguageDirection(e3) {
    const t2 = this;
    t2.rtl && "rtl" === e3 || !t2.rtl && "ltr" === e3 || (t2.rtl = "rtl" === e3, t2.rtlTranslate = "horizontal" === t2.params.direction && t2.rtl, t2.rtl ? (t2.el.classList.add(`${t2.params.containerModifierClass}rtl`), t2.el.dir = "rtl") : (t2.el.classList.remove(`${t2.params.containerModifierClass}rtl`), t2.el.dir = "ltr"), t2.update());
  }
  mount(e3) {
    const t2 = this;
    if (t2.mounted) return true;
    let s2 = e3 || t2.params.el;
    if ("string" == typeof s2 && (s2 = (undefined).querySelector(s2)), !s2) return false;
    s2.swiper = t2, s2.parentNode && s2.parentNode.host && s2.parentNode.host.nodeName === t2.params.swiperElementNodeName.toUpperCase() && (t2.isElement = true);
    const i2 = () => `.${(t2.params.wrapperClass || "").trim().split(" ").join(".")}`;
    let a2 = (() => {
      if (s2 && s2.shadowRoot && s2.shadowRoot.querySelector) {
        return s2.shadowRoot.querySelector(i2());
      }
      return w(s2, i2())[0];
    })();
    return !a2 && t2.params.createElements && (a2 = S("div", t2.params.wrapperClass), s2.append(a2), w(s2, `.${t2.params.slideClass}`).forEach((e4) => {
      a2.append(e4);
    })), Object.assign(t2, { el: s2, wrapperEl: a2, slidesEl: t2.isElement && !s2.parentNode.host.slideSlots ? s2.parentNode.host : a2, hostEl: t2.isElement ? s2.parentNode.host : s2, mounted: true, rtl: "rtl" === s2.dir.toLowerCase() || "rtl" === T(s2, "direction"), rtlTranslate: "horizontal" === t2.params.direction && ("rtl" === s2.dir.toLowerCase() || "rtl" === T(s2, "direction")), wrongRTL: "-webkit-box" === T(a2, "display") }), true;
  }
  init(e3) {
    const t2 = this;
    if (t2.initialized) return t2;
    if (false === t2.mount(e3)) return t2;
    t2.emit("beforeInit"), t2.params.breakpoints && t2.setBreakpoint(), t2.addClasses(), t2.updateSize(), t2.updateSlides(), t2.params.watchOverflow && t2.checkOverflow(), t2.params.grabCursor && t2.enabled && t2.setGrabCursor(), t2.params.loop && t2.virtual && t2.params.virtual.enabled ? t2.slideTo(t2.params.initialSlide + t2.virtual.slidesBefore, 0, t2.params.runCallbacksOnInit, false, true) : t2.slideTo(t2.params.initialSlide, 0, t2.params.runCallbacksOnInit, false, true), t2.params.loop && t2.loopCreate(), t2.attachEvents();
    const s2 = [...t2.el.querySelectorAll('[loading="lazy"]')];
    return t2.isElement && s2.push(...t2.hostEl.querySelectorAll('[loading="lazy"]')), s2.forEach((e4) => {
      e4.complete ? V(t2, e4) : e4.addEventListener("load", (e5) => {
        V(t2, e5.target);
      });
    }), R(t2), t2.initialized = true, R(t2), t2.emit("init"), t2.emit("afterInit"), t2;
  }
  destroy(e3, t2) {
    undefined === e3 && (e3 = true), undefined === t2 && (t2 = true);
    const s2 = this, { params: i2, el: a2, wrapperEl: r2, slides: n2 } = s2;
    return undefined === s2.params || s2.destroyed || (s2.emit("beforeDestroy"), s2.initialized = false, s2.detachEvents(), i2.loop && s2.loopDestroy(), t2 && (s2.removeClasses(), a2 && "string" != typeof a2 && a2.removeAttribute("style"), r2 && r2.removeAttribute("style"), n2 && n2.length && n2.forEach((e4) => {
      e4.classList.remove(i2.slideVisibleClass, i2.slideFullyVisibleClass, i2.slideActiveClass, i2.slideNextClass, i2.slidePrevClass), e4.removeAttribute("style"), e4.removeAttribute("data-swiper-slide-index");
    })), s2.emit("destroy"), Object.keys(s2.eventsListeners).forEach((e4) => {
      s2.off(e4);
    }), false !== e3 && (s2.el && "string" != typeof s2.el && (s2.el.swiper = null), function(e4) {
      const t3 = e4;
      Object.keys(t3).forEach((e5) => {
        try {
          t3[e5] = null;
        } catch (s3) {
        }
        try {
          delete t3[e5];
        } catch (s3) {
        }
      });
    }(s2)), s2.destroyed = true), null;
  }
  static extendDefaults(e3) {
    h(re, e3);
  }
  static get extendedDefaults() {
    return re;
  }
  static get defaults() {
    return se;
  }
  static installModule(t2) {
    e2.prototype.__modules__ || (e2.prototype.__modules__ = []);
    const s2 = e2.prototype.__modules__;
    "function" == typeof t2 && s2.indexOf(t2) < 0 && s2.push(t2);
  }
  static use(t2) {
    return Array.isArray(t2) ? (t2.forEach((t3) => e2.installModule(t3)), e2) : (e2.installModule(t2), e2);
  }
};
Object.keys(ae).forEach((e3) => {
  Object.keys(ae[e3]).forEach((t2) => {
    ne.prototype[t2] = ae[e3][t2];
  });
}), ne.use([function(e3) {
  let { swiper: t2, on: s2, emit: i2 } = e3;
  const a2 = c();
  let r2 = null, n2 = null;
  const l2 = () => {
    t2 && !t2.destroyed && t2.initialized && (i2("beforeResize"), i2("resize"));
  }, o2 = () => {
    t2 && !t2.destroyed && t2.initialized && i2("orientationchange");
  };
  s2("init", () => {
    t2.params.resizeObserver && undefined !== a2.ResizeObserver ? t2 && !t2.destroyed && t2.initialized && (r2 = new ResizeObserver((e4) => {
      n2 = a2.requestAnimationFrame(() => {
        const { width: s3, height: i3 } = t2;
        let a3 = s3, r3 = i3;
        e4.forEach((e5) => {
          let { contentBoxSize: s4, contentRect: i4, target: n3 } = e5;
          n3 && n3 !== t2.el || (a3 = i4 ? i4.width : (s4[0] || s4).inlineSize, r3 = i4 ? i4.height : (s4[0] || s4).blockSize);
        }), a3 === s3 && r3 === i3 || l2();
      });
    }), r2.observe(t2.el)) : (a2.addEventListener("resize", l2), a2.addEventListener("orientationchange", o2));
  }), s2("destroy", () => {
    n2 && a2.cancelAnimationFrame(n2), r2 && r2.unobserve && t2.el && (r2.unobserve(t2.el), r2 = null), a2.removeEventListener("resize", l2), a2.removeEventListener("orientationchange", o2);
  });
}, function(e3) {
  let { swiper: t2, extendParams: s2, on: i2, emit: a2 } = e3;
  const r2 = [], n2 = c(), l2 = function(e4, s3) {
    undefined === s3 && (s3 = {});
    const i3 = new (n2.MutationObserver || n2.WebkitMutationObserver)((e5) => {
      if (t2.__preventObserver__) return;
      if (1 === e5.length) return void a2("observerUpdate", e5[0]);
      const s4 = function() {
        a2("observerUpdate", e5[0]);
      };
      n2.requestAnimationFrame ? n2.requestAnimationFrame(s4) : n2.setTimeout(s4, 0);
    });
    i3.observe(e4, { attributes: undefined === s3.attributes || s3.attributes, childList: t2.isElement || (undefined === s3.childList || s3).childList, characterData: undefined === s3.characterData || s3.characterData }), r2.push(i3);
  };
  s2({ observer: false, observeParents: false, observeSlideChildren: false }), i2("init", () => {
    if (t2.params.observer) {
      if (t2.params.observeParents) {
        const e4 = E(t2.hostEl);
        for (let t3 = 0; t3 < e4.length; t3 += 1) l2(e4[t3]);
      }
      l2(t2.hostEl, { childList: t2.params.observeSlideChildren }), l2(t2.wrapperEl, { attributes: false });
    }
  }), i2("destroy", () => {
    r2.forEach((e4) => {
      e4.disconnect();
    }), r2.splice(0, r2.length);
  });
}]);
const le = ["eventsPrefix", "injectStyles", "injectStylesUrls", "modules", "init", "_direction", "oneWayMovement", "swiperElementNodeName", "touchEventsTarget", "initialSlide", "_speed", "cssMode", "updateOnWindowResize", "resizeObserver", "nested", "focusableElements", "_enabled", "_width", "_height", "preventInteractionOnTransition", "userAgent", "url", "_edgeSwipeDetection", "_edgeSwipeThreshold", "_freeMode", "_autoHeight", "setWrapperSize", "virtualTranslate", "_effect", "breakpoints", "breakpointsBase", "_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", "loopAdditionalSlides", "loopAddBlankSlides", "loopPreventsSliding", "_rewind", "_allowSlidePrev", "_allowSlideNext", "_swipeHandler", "_noSwiping", "noSwipingClass", "noSwipingSelector", "passiveListeners", "containerModifierClass", "slideClass", "slideActiveClass", "slideVisibleClass", "slideFullyVisibleClass", "slideNextClass", "slidePrevClass", "slideBlankClass", "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 oe(e3) {
  return "object" == typeof e3 && null !== e3 && e3.constructor && "Object" === Object.prototype.toString.call(e3).slice(8, -1) && !e3.__swiper__;
}
function de(e3, t2) {
  const s2 = ["__proto__", "constructor", "prototype"];
  Object.keys(t2).filter((e4) => s2.indexOf(e4) < 0).forEach((s3) => {
    undefined === e3[s3] ? e3[s3] = t2[s3] : oe(t2[s3]) && oe(e3[s3]) && Object.keys(t2[s3]).length > 0 ? t2[s3].__swiper__ ? e3[s3] = t2[s3] : de(e3[s3], t2[s3]) : e3[s3] = t2[s3];
  });
}
function pe(e3) {
  return undefined === e3 && (e3 = {}), e3.pagination && undefined === e3.pagination.el;
}
function ce(e3) {
  return undefined === e3 && (e3 = {}), e3.scrollbar && undefined === e3.scrollbar.el;
}
function ue(e3) {
  undefined === e3 && (e3 = "");
  const t2 = e3.split(" ").map((e4) => e4.trim()).filter((e4) => !!e4), s2 = [];
  return t2.forEach((e4) => {
    s2.indexOf(e4) < 0 && s2.push(e4);
  }), s2.join(" ");
}
function fe(e3, t2, s2) {
  undefined === e3 && (e3 = {});
  const i2 = [], a2 = { "container-start": [], "container-end": [], "wrapper-start": [], "wrapper-end": [] }, r2 = (e4, t3) => {
    Array.isArray(e4) && e4.forEach((e5) => {
      const s3 = "symbol" == typeof e5.type;
      "default" === t3 && (t3 = "container-end"), s3 && e5.children ? r2(e5.children, t3) : e5.type && ("SwiperSlide" === e5.type.name || "AsyncComponentWrapper" === e5.type.name) || e5.componentOptions && "SwiperSlide" === e5.componentOptions.tag ? i2.push(e5) : a2[t3] && a2[t3].push(e5);
    });
  };
  return Object.keys(e3).forEach((t3) => {
    if ("function" != typeof e3[t3]) return;
    const s3 = e3[t3]();
    r2(s3, t3);
  }), s2.value = t2.value, t2.value = i2, { slides: i2, slots: a2 };
}
const me = { name: "Swiper", props: { tag: { type: String, default: "div" }, wrapperTag: { type: String, default: "div" }, modules: { type: Array, default: undefined }, init: { type: Boolean, default: undefined }, direction: { type: String, default: undefined }, oneWayMovement: { type: Boolean, default: undefined }, swiperElementNodeName: { type: String, default: "SWIPER-CONTAINER" }, touchEventsTarget: { type: String, default: undefined }, initialSlide: { type: Number, default: undefined }, speed: { type: Number, default: undefined }, cssMode: { type: Boolean, default: undefined }, updateOnWindowResize: { type: Boolean, default: undefined }, resizeObserver: { type: Boolean, default: undefined }, nested: { type: Boolean, default: undefined }, focusableElements: { type: String, default: undefined }, width: { type: Number, default: undefined }, height: { type: Number, default: undefined }, preventInteractionOnTransition: { type: Boolean, default: undefined }, userAgent: { type: String, default: undefined }, url: { type: String, default: undefined }, edgeSwipeDetection: { type: [Boolean, String], default: undefined }, edgeSwipeThreshold: { type: Number, default: undefined }, autoHeight: { type: Boolean, default: undefined }, setWrapperSize: { type: Boolean, default: undefined }, virtualTranslate: { type: Boolean, default: undefined }, effect: { type: String, default: undefined }, breakpoints: { type: Object, default: undefined }, breakpointsBase: { type: String, default: undefined }, spaceBetween: { type: [Number, String], default: undefined }, slidesPerView: { type: [Number, String], default: undefined }, maxBackfaceHiddenSlides: { type: Number, default: undefined }, slidesPerGroup: { type: Number, default: undefined }, slidesPerGroupSkip: { type: Number, default: undefined }, slidesPerGroupAuto: { type: Boolean, default: undefined }, centeredSlides: { type: Boolean, default: undefined }, centeredSlidesBounds: { type: Boolean, default: undefined }, slidesOffsetBefore: { type: Number, default: undefined }, slidesOffsetAfter: { type: Number, default: undefined }, normalizeSlideIndex: { type: Boolean, default: undefined }, centerInsufficientSlides: { type: Boolean, default: undefined }, watchOverflow: { type: Boolean, default: undefined }, roundLengths: { type: Boolean, default: undefined }, touchRatio: { type: Number, default: undefined }, touchAngle: { type: Number, default: undefined }, simulateTouch: { type: Boolean, default: undefined }, shortSwipes: { type: Boolean, default: undefined }, longSwipes: { type: Boolean, default: undefined }, longSwipesRatio: { type: Number, default: undefined }, longSwipesMs: { type: Number, default: undefined }, followFinger: { type: Boolean, default: undefined }, allowTouchMove: { type: Boolean, default: undefined }, threshold: { type: Number, default: undefined }, touchMoveStopPropagation: { type: Boolean, default: undefined }, touchStartPreventDefault: { type: Boolean, default: undefined }, touchStartForcePreventDefault: { type: Boolean, default: undefined }, touchReleaseOnEdges: { type: Boolean, default: undefined }, uniqueNavElements: { type: Boolean, default: undefined }, resistance: { type: Boolean, default: undefined }, resistanceRatio: { type: Number, default: undefined }, watchSlidesProgress: { type: Boolean, default: undefined }, grabCursor: { type: Boolean, default: undefined }, preventClicks: { type: Boolean, default: undefined }, preventClicksPropagation: { type: Boolean, default: undefined }, slideToClickedSlide: { type: Boolean, default: undefined }, loop: { type: Boolean, default: undefined }, loopedSlides: { type: Number, default: undefined }, loopPreventsSliding: { type: Boolean, default: undefined }, rewind: { type: Boolean, default: undefined }, allowSlidePrev: { type: Boolean, default: undefined }, allowSlideNext: { type: Boolean, default: undefined }, swipeHandler: { type: Boolean, default: undefined }, noSwiping: { type: Boolean, default: undefined }, noSwipingClass: { type: String, default: undefined }, noSwipingSelector: { type: String, default: undefined }, passiveListeners: { type: Boolean, default: undefined }, containerModifierClass: { type: String, default: undefined }, slideClass: { type: String, default: undefined }, slideActiveClass: { type: String, default: undefined }, slideVisibleClass: { type: String, default: undefined }, slideFullyVisibleClass: { type: String, default: undefined }, slideBlankClass: { type: String, default: undefined }, slideNextClass: { type: String, default: undefined }, slidePrevClass: { type: String, default: undefined }, wrapperClass: { type: String, default: undefined }, lazyPreloaderClass: { type: String, default: undefined }, lazyPreloadPrevNext: { type: Number, default: undefined }, runCallbacksOnInit: { type: Boolean, default: undefined }, observer: { type: Boolean, default: undefined }, observeParents: { type: Boolean, default: undefined }, observeSlideChildren: { type: Boolean, default: undefined }, a11y: { type: [Boolean, Object], default: undefined }, autoplay: { type: [Boolean, Object], default: undefined }, controller: { type: Object, default: undefined }, coverflowEffect: { type: Object, default: undefined }, cubeEffect: { type: Object, default: undefined }, fadeEffect: { type: Object, default: undefined }, flipEffect: { type: Object, default: undefined }, creativeEffect: { type: Object, default: undefined }, cardsEffect: { type: Object, default: undefined }, hashNavigation: { type: [Boolean, Object], default: undefined }, history: { type: [Boolean, Object], default: undefined }, keyboard: { type: [Boolean, Object], default: undefined }, mousewheel: { type: [Boolean, Object], default: undefined }, navigation: { type: [Boolean, Object], default: undefined }, pagination: { type: [Boolean, Object], default: undefined }, parallax: { type: [Boolean, Object], default: undefined }, scrollbar: { type: [Boolean, Object], default: undefined }, thumbs: { type: Object, default: undefined }, virtual: { type: [Boolean, Object], default: undefined }, zoom: { type: [Boolean, Object], default: undefined }, grid: { type: [Object], default: undefined }, freeMode: { type: [Boolean, Object], default: undefined }, enabled: { type: Boolean, default: undefined } }, emits: ["_beforeBreakpoint", "_containerClasses", "_slideClass", "_slideClasses", "_swiper", "_freeModeNoMomentumRelease", "activeIndexChange", "afterInit", "autoplay", "autoplayStart", "autoplayStop", "autoplayPause", "autoplayResume", "autoplayTimeLeft", "beforeDestroy", "beforeInit", "beforeLoopFix", "beforeResize", "beforeSlideChangeStart", "beforeTransitionStart", "breakpoint", "changeDirection", "click", "disable", "doubleTap", "doubleClick", "destroy", "enable", "fromEdge", "hashChange", "hashSet", "init", "keyPress", "lock", "loopFix", "momentumBounce", "navigationHide", "navigationShow", "navigationPrev", "navigationNext", "observerUpdate", "orientationchange", "paginationHide", "paginationRender", "paginationShow", "paginationUpdate", "progress", "reachBeginning", "reachEnd", "realIndexChange", "resize", "scroll", "scrollbarDragEnd", "scrollbarDragMove", "scrollbarDragStart", "setTransition", "setTranslate", "slidesUpdated", "slideChange", "slideChangeTransitionEnd", "slideChangeTransitionStart", "slideNextTransitionEnd", "slideNextTransitionStart", "slidePrevTransitionEnd", "slidePrevTransitionStart", "slideResetTransitionStart", "slideResetTransitionEnd", "sliderMove", "sliderFirstMove", "slidesLengthChange", "slidesGridLengthChange", "snapGridLengthChange", "snapIndexChange", "swiper", "tap", "toEdge", "touchEnd", "touchMove", "touchMoveOpposite", "touchStart", "transitionEnd", "transitionStart", "unlock", "update", "virtualUpdate", "zoomChange"], setup(r2, n2) {
  let { slots: l2, emit: o2 } = n2;
  const { tag: d2, wrapperTag: p2 } = r2, c2 = ref("swiper"), u2 = ref(null), f2 = ref(false);
  ref(false);
  const m2 = ref(null), v2 = ref(null), h2 = ref(null), g2 = { value: [] }, y2 = { value: [] }, w2 = ref(null), b2 = ref(null), S2 = ref(null), T2 = ref(null), { params: x2, passedParams: E2 } = function(e3) {
    undefined === e3 && (e3 = {});
    const t2 = { on: {} }, s2 = {};
    de(t2, se), t2._emitClasses = true, t2.init = false;
    const i2 = {}, a2 = le.map((e4) => e4.replace(/_/, "")), r3 = Object.assign({}, e3);
    return Object.keys(r3).forEach((r4) => {
      undefined !== e3[r4] && (a2.indexOf(r4) >= 0 ? oe(e3[r4]) ? (t2[r4] = {}, s2[r4] = {}, de(t2[r4], e3[r4]), de(s2[r4], e3[r4])) : (t2[r4] = e3[r4], s2[r4] = e3[r4]) : 0 === r4.search(/on[A-Z]/) && "function" == typeof e3[r4] ? t2.on[`${r4[2].toLowerCase()}${r4.substr(3)}`] = e3[r4] : i2[r4] = e3[r4]);
    }), ["navigation", "pagination", "scrollbar"].forEach((e4) => {
      true === t2[e4] && (t2[e4] = {}), false === t2[e4] && delete t2[e4];
    }), { params: t2, passedParams: s2, rest: i2, events: {} };
  }(r2);
  fe(l2, g2, y2), h2.value = E2, y2.value = g2.value;
  x2.onAny = function(e3) {
    for (var t2 = arguments.length, s2 = new Array(t2 > 1 ? t2 - 1 : 0), i2 = 1; i2 < t2; i2++) s2[i2 - 1] = arguments[i2];
    o2(e3, ...s2);
  }, Object.assign(x2.on, { _beforeBreakpoint: () => {
    fe(l2, g2, y2), f2.value = true;
  }, _containerClasses(e3, t2) {
    c2.value = t2;
  } });
  const C2 = { ...x2 };
  if (delete C2.wrapperClass, v2.value = new ne(C2), v2.value.virtual && v2.value.params.virtual.enabled) {
    v2.value.virtual.slides = g2.value;
    const e3 = { cache: false, slides: g2.value, renderExternal: (e4) => {
      u2.value = e4;
    }, renderExternalUpdate: false };
    de(v2.value.params.virtual, e3), de(v2.value.originalParams.virtual, e3);
  }
  function M2(e3) {
    return x2.virtual ? function(e4, t2, s2) {
      if (!s2) return null;
      const i2 = (e5) => {
        let s3 = e5;
        return e5 < 0 ? s3 = t2.length + e5 : s3 >= t2.length && (s3 -= t2.length), s3;
      }, r3 = e4.value.isHorizontal() ? { [e4.value.rtlTranslate ? "right" : "left"]: `${s2.offset}px` } : { top: `${s2.offset}px` }, { from: n3, to: l3 } = s2, o3 = e4.value.params.loop ? -t2.length : 0, d3 = e4.value.params.loop ? 2 * t2.length : t2.length, p3 = [];
      for (let a2 = o3; a2 < d3; a2 += 1) a2 >= n3 && a2 <= l3 && p3.length < t2.length && p3.push(t2[i2(a2)]);
      return p3.map((t3) => (t3.props || (t3.props = {}), t3.props.style || (t3.props.style = {}), t3.props.swiperRef = e4, t3.props.style = r3, t3.type ? h$1(t3.type, { ...t3.props }, t3.children) : t3.componentOptions ? h$1(t3.componentOptions.Ctor, { ...t3.props }, t3.componentOptions.children) : undefined));
    }(v2, e3, u2.value) : (e3.forEach((e4, t2) => {
      e4.props || (e4.props = {}), e4.props.swiperRef = v2, e4.props.swiperSlideIndex = t2;
    }), e3);
  }
  return provide("swiper", v2), watch(u2, () => {
    nextTick(() => {
      var e3;
      !(e3 = v2.value) || e3.destroyed || !e3.params.virtual || e3.params.virtual && !e3.params.virtual.enabled || (e3.updateSlides(), e3.updateProgress(), e3.updateSlidesClasses(), e3.parallax && e3.params.parallax && e3.params.parallax.enabled && e3.parallax.setTranslate());
    });
  }), () => {
    const { slides: e3, slots: t2 } = fe(l2, g2, y2);
    return h$1(d2, { ref: m2, class: ue(c2.value) }, [t2["container-start"], h$1(p2, { class: (i2 = x2.wrapperClass, undefined === i2 && (i2 = ""), i2 ? i2.includes("swiper-wrapper") ? i2 : `swiper-wrapper ${i2}` : "swiper-wrapper") }, [t2["wrapper-start"], M2(e3), t2["wrapper-end"]]), (s2 = r2, undefined === s2 && (s2 = {}), s2.navigation && undefined === s2.navigation.nextEl && undefined === s2.navigation.prevEl && [h$1("div", { ref: b2, class: "swiper-button-prev" }), h$1("div", { ref: w2, class: "swiper-button-next" })]), ce(r2) && h$1("div", { ref: T2, class: "swiper-scrollbar" }), pe(r2) && h$1("div", { ref: S2, class: "swiper-pagination" }), t2["container-end"]]);
    var s2, i2;
  };
} }, ve = { name: "SwiperSlide", props: { tag: { type: String, default: "div" }, swiperRef: { type: Object, required: false }, swiperSlideIndex: { type: Number, default: undefined, required: false }, zoom: { type: Boolean, default: undefined, required: false }, lazy: { type: Boolean, default: false, required: false }, virtualIndex: { type: [String, Number], default: undefined } }, setup(s2, i2) {
  let { slots: n2 } = i2;
  const { swiperRef: l2 } = s2, o2 = ref(null), d2 = ref("swiper-slide"), p2 = ref(false), c2 = computed(() => ({ isActive: d2.value.indexOf("swiper-slide-active") >= 0, isVisible: d2.value.indexOf("swiper-slide-visible") >= 0, isPrev: d2.value.indexOf("swiper-slide-prev") >= 0, isNext: d2.value.indexOf("swiper-slide-next") >= 0 }));
  provide("swiperSlide", c2);
  const u2 = () => {
    p2.value = true;
  };
  return () => h$1(s2.tag, { class: ue(`${d2.value}`), ref: o2, "data-swiper-slide-index": undefined === s2.virtualIndex && l2 && l2.value && l2.value.params.loop ? s2.swiperSlideIndex : s2.virtualIndex, onLoadCapture: u2 }, s2.zoom ? h$1("div", { class: "swiper-zoom-container", "data-swiper-zoom": "number" == typeof s2.zoom ? s2.zoom : undefined }, [n2.default && n2.default(c2.value), s2.lazy && !p2.value && h$1("div", { class: "swiper-lazy-preloader" })]) : [n2.default && n2.default(c2.value), s2.lazy && !p2.value && h$1("div", { class: "swiper-lazy-preloader" })]);
} };

export { A, I, L, k, me as m, ve as v };
//# sourceMappingURL=swiper-vue-DYDolirs.mjs.map
