import{i as X}from"./index-BbBXKozi.js";function ue(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function fe(e={},i={}){Object.keys(i).forEach(t=>{typeof e[t]>"u"?e[t]=i[t]:ue(i[t])&&ue(e[t])&&Object.keys(i[t]).length>0&&fe(e[t],i[t])})}const Te={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function z(){const e=typeof document<"u"?document:{};return fe(e,Te),e}const Ne={document:Te,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(e){return typeof setTimeout>"u"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){typeof setTimeout>"u"||clearTimeout(e)}};function I(){const e=typeof window<"u"?window:{};return fe(e,Ne),e}function Ge(e){const i=e.__proto__;Object.defineProperty(e,"__proto__",{get(){return i},set(t){i.__proto__=t}})}class H extends Array{constructor(i){typeof i=="number"?super(i):(super(...i||[]),Ge(this))}}function J(e=[]){const i=[];return e.forEach(t=>{Array.isArray(t)?i.push(...J(t)):i.push(t)}),i}function be(e,i){return Array.prototype.filter.call(e,i)}function Be(e){const i=[];for(let t=0;t<e.length;t+=1)i.indexOf(e[t])===-1&&i.push(e[t]);return i}function He(e,i){if(typeof e!="string")return[e];const t=[],n=i.querySelectorAll(e);for(let s=0;s<n.length;s+=1)t.push(n[s]);return t}function S(e,i){const t=I(),n=z();let s=[];if(!i&&e instanceof H)return e;if(!e)return new H(s);if(typeof e=="string"){const r=e.trim();if(r.indexOf("<")>=0&&r.indexOf(">")>=0){let l="div";r.indexOf("<li")===0&&(l="ul"),r.indexOf("<tr")===0&&(l="tbody"),(r.indexOf("<td")===0||r.indexOf("<th")===0)&&(l="tr"),r.indexOf("<tbody")===0&&(l="table"),r.indexOf("<option")===0&&(l="select");const d=n.createElement(l);d.innerHTML=r;for(let a=0;a<d.childNodes.length;a+=1)s.push(d.childNodes[a])}else s=He(e.trim(),i||n)}else if(e.nodeType||e===t||e===n)s.push(e);else if(Array.isArray(e)){if(e instanceof H)return e;s=e}return new H(Be(s))}S.fn=H.prototype;function Ve(...e){const i=J(e.map(t=>t.split(" ")));return this.forEach(t=>{t.classList.add(...i)}),this}function Re(...e){const i=J(e.map(t=>t.split(" ")));return this.forEach(t=>{t.classList.remove(...i)}),this}function je(...e){const i=J(e.map(t=>t.split(" ")));this.forEach(t=>{i.forEach(n=>{t.classList.toggle(n)})})}function Fe(...e){const i=J(e.map(t=>t.split(" ")));return be(this,t=>i.filter(n=>t.classList.contains(n)).length>0).length>0}function We(e,i){if(arguments.length===1&&typeof e=="string")return this[0]?this[0].getAttribute(e):void 0;for(let t=0;t<this.length;t+=1)if(arguments.length===2)this[t].setAttribute(e,i);else for(const n in e)this[t][n]=e[n],this[t].setAttribute(n,e[n]);return this}function Xe(e){for(let i=0;i<this.length;i+=1)this[i].removeAttribute(e);return this}function Ye(e){for(let i=0;i<this.length;i+=1)this[i].style.transform=e;return this}function qe(e){for(let i=0;i<this.length;i+=1)this[i].style.transitionDuration=typeof e!="string"?`${e}ms`:e;return this}function Ke(...e){let[i,t,n,s]=e;typeof e[1]=="function"&&([i,n,s]=e,t=void 0),s||(s=!1);function r(o){const c=o.target;if(!c)return;const u=o.target.dom7EventData||[];if(u.indexOf(o)<0&&u.unshift(o),S(c).is(t))n.apply(c,u);else{const f=S(c).parents();for(let p=0;p<f.length;p+=1)S(f[p]).is(t)&&n.apply(f[p],u)}}function l(o){const c=o&&o.target?o.target.dom7EventData||[]:[];c.indexOf(o)<0&&c.unshift(o),n.apply(this,c)}const d=i.split(" ");let a;for(let o=0;o<this.length;o+=1){const c=this[o];if(t)for(a=0;a<d.length;a+=1){const u=d[a];c.dom7LiveListeners||(c.dom7LiveListeners={}),c.dom7LiveListeners[u]||(c.dom7LiveListeners[u]=[]),c.dom7LiveListeners[u].push({listener:n,proxyListener:r}),c.addEventListener(u,r,s)}else for(a=0;a<d.length;a+=1){const u=d[a];c.dom7Listeners||(c.dom7Listeners={}),c.dom7Listeners[u]||(c.dom7Listeners[u]=[]),c.dom7Listeners[u].push({listener:n,proxyListener:l}),c.addEventListener(u,l,s)}}return this}function Ue(...e){let[i,t,n,s]=e;typeof e[1]=="function"&&([i,n,s]=e,t=void 0),s||(s=!1);const r=i.split(" ");for(let l=0;l<r.length;l+=1){const d=r[l];for(let a=0;a<this.length;a+=1){const o=this[a];let c;if(!t&&o.dom7Listeners?c=o.dom7Listeners[d]:t&&o.dom7LiveListeners&&(c=o.dom7LiveListeners[d]),c&&c.length)for(let u=c.length-1;u>=0;u-=1){const f=c[u];n&&f.listener===n||n&&f.listener&&f.listener.dom7proxy&&f.listener.dom7proxy===n?(o.removeEventListener(d,f.proxyListener,s),c.splice(u,1)):n||(o.removeEventListener(d,f.proxyListener,s),c.splice(u,1))}}}return this}function Ze(...e){const i=I(),t=e[0].split(" "),n=e[1];for(let s=0;s<t.length;s+=1){const r=t[s];for(let l=0;l<this.length;l+=1){const d=this[l];if(i.CustomEvent){const a=new i.CustomEvent(r,{detail:n,bubbles:!0,cancelable:!0});d.dom7EventData=e.filter((o,c)=>c>0),d.dispatchEvent(a),d.dom7EventData=[],delete d.dom7EventData}}}return this}function Je(e){const i=this;function t(n){n.target===this&&(e.call(this,n),i.off("transitionend",t))}return e&&i.on("transitionend",t),this}function Qe(e){if(this.length>0){if(e){const i=this.styles();return this[0].offsetWidth+parseFloat(i.getPropertyValue("margin-right"))+parseFloat(i.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function et(e){if(this.length>0){if(e){const i=this.styles();return this[0].offsetHeight+parseFloat(i.getPropertyValue("margin-top"))+parseFloat(i.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function tt(){if(this.length>0){const e=I(),i=z(),t=this[0],n=t.getBoundingClientRect(),s=i.body,r=t.clientTop||s.clientTop||0,l=t.clientLeft||s.clientLeft||0,d=t===e?e.scrollY:t.scrollTop,a=t===e?e.scrollX:t.scrollLeft;return{top:n.top+d-r,left:n.left+a-l}}return null}function it(){const e=I();return this[0]?e.getComputedStyle(this[0],null):{}}function nt(e,i){const t=I();let n;if(arguments.length===1)if(typeof e=="string"){if(this[0])return t.getComputedStyle(this[0],null).getPropertyValue(e)}else{for(n=0;n<this.length;n+=1)for(const s in e)this[n].style[s]=e[s];return this}if(arguments.length===2&&typeof e=="string"){for(n=0;n<this.length;n+=1)this[n].style[e]=i;return this}return this}function st(e){return e?(this.forEach((i,t)=>{e.apply(i,[i,t])}),this):this}function rt(e){const i=be(this,e);return S(i)}function at(e){if(typeof e>"u")return this[0]?this[0].innerHTML:null;for(let i=0;i<this.length;i+=1)this[i].innerHTML=e;return this}function lt(e){if(typeof e>"u")return this[0]?this[0].textContent.trim():null;for(let i=0;i<this.length;i+=1)this[i].textContent=e;return this}function ot(e){const i=I(),t=z(),n=this[0];let s,r;if(!n||typeof e>"u")return!1;if(typeof e=="string"){if(n.matches)return n.matches(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);for(s=S(e),r=0;r<s.length;r+=1)if(s[r]===n)return!0;return!1}if(e===t)return n===t;if(e===i)return n===i;if(e.nodeType||e instanceof H){for(s=e.nodeType?[e]:e,r=0;r<s.length;r+=1)if(s[r]===n)return!0;return!1}return!1}function dt(){let e=this[0],i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function ct(e){if(typeof e>"u")return this;const i=this.length;if(e>i-1)return S([]);if(e<0){const t=i+e;return t<0?S([]):S([this[t]])}return S([this[e]])}function ft(...e){let i;const t=z();for(let n=0;n<e.length;n+=1){i=e[n];for(let s=0;s<this.length;s+=1)if(typeof i=="string"){const r=t.createElement("div");for(r.innerHTML=i;r.firstChild;)this[s].appendChild(r.firstChild)}else if(i instanceof H)for(let r=0;r<i.length;r+=1)this[s].appendChild(i[r]);else this[s].appendChild(i)}return this}function ut(e){const i=z();let t,n;for(t=0;t<this.length;t+=1)if(typeof e=="string"){const s=i.createElement("div");for(s.innerHTML=e,n=s.childNodes.length-1;n>=0;n-=1)this[t].insertBefore(s.childNodes[n],this[t].childNodes[0])}else if(e instanceof H)for(n=0;n<e.length;n+=1)this[t].insertBefore(e[n],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function pt(e){return this.length>0?e?this[0].nextElementSibling&&S(this[0].nextElementSibling).is(e)?S([this[0].nextElementSibling]):S([]):this[0].nextElementSibling?S([this[0].nextElementSibling]):S([]):S([])}function ht(e){const i=[];let t=this[0];if(!t)return S([]);for(;t.nextElementSibling;){const n=t.nextElementSibling;e?S(n).is(e)&&i.push(n):i.push(n),t=n}return S(i)}function mt(e){if(this.length>0){const i=this[0];return e?i.previousElementSibling&&S(i.previousElementSibling).is(e)?S([i.previousElementSibling]):S([]):i.previousElementSibling?S([i.previousElementSibling]):S([])}return S([])}function gt(e){const i=[];let t=this[0];if(!t)return S([]);for(;t.previousElementSibling;){const n=t.previousElementSibling;e?S(n).is(e)&&i.push(n):i.push(n),t=n}return S(i)}function vt(e){const i=[];for(let t=0;t<this.length;t+=1)this[t].parentNode!==null&&(e?S(this[t].parentNode).is(e)&&i.push(this[t].parentNode):i.push(this[t].parentNode));return S(i)}function St(e){const i=[];for(let t=0;t<this.length;t+=1){let n=this[t].parentNode;for(;n;)e?S(n).is(e)&&i.push(n):i.push(n),n=n.parentNode}return S(i)}function Tt(e){let i=this;return typeof e>"u"?S([]):(i.is(e)||(i=i.parents(e).eq(0)),i)}function bt(e){const i=[];for(let t=0;t<this.length;t+=1){const n=this[t].querySelectorAll(e);for(let s=0;s<n.length;s+=1)i.push(n[s])}return S(i)}function wt(e){const i=[];for(let t=0;t<this.length;t+=1){const n=this[t].children;for(let s=0;s<n.length;s+=1)(!e||S(n[s]).is(e))&&i.push(n[s])}return S(i)}function Et(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}const pe={addClass:Ve,removeClass:Re,hasClass:Fe,toggleClass:je,attr:We,removeAttr:Xe,transform:Ye,transition:qe,on:Ke,off:Ue,trigger:Ze,transitionEnd:Je,outerWidth:Qe,outerHeight:et,styles:it,offset:tt,css:nt,each:st,html:at,text:lt,is:ot,index:dt,eq:ct,append:ft,prepend:ut,next:pt,nextAll:ht,prev:mt,prevAll:gt,parent:vt,parents:St,closest:Tt,find:bt,children:wt,filter:rt,remove:Et};Object.keys(pe).forEach(e=>{Object.defineProperty(S.fn,e,{value:pe[e],writable:!0})});function xt(e){const i=e;Object.keys(i).forEach(t=>{try{i[t]=null}catch{}try{delete i[t]}catch{}})}function Z(e,i=0){return setTimeout(e,i)}function k(){return Date.now()}function Ct(e){const i=I();let t;return i.getComputedStyle&&(t=i.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}function yt(e,i="x"){const t=I();let n,s,r;const l=Ct(e);return t.WebKitCSSMatrix?(s=l.transform||l.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(d=>d.replace(",",".")).join(", ")),r=new t.WebKitCSSMatrix(s==="none"?"":s)):(r=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=r.toString().split(",")),i==="x"&&(t.WebKitCSSMatrix?s=r.m41:n.length===16?s=parseFloat(n[12]):s=parseFloat(n[4])),i==="y"&&(t.WebKitCSSMatrix?s=r.m42:n.length===16?s=parseFloat(n[13]):s=parseFloat(n[5])),s||0}function Q(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function Mt(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function D(...e){const i=Object(e[0]),t=["__proto__","constructor","prototype"];for(let n=1;n<e.length;n+=1){const s=e[n];if(s!=null&&!Mt(s)){const r=Object.keys(Object(s)).filter(l=>t.indexOf(l)<0);for(let l=0,d=r.length;l<d;l+=1){const a=r[l],o=Object.getOwnPropertyDescriptor(s,a);o!==void 0&&o.enumerable&&(Q(i[a])&&Q(s[a])?s[a].__swiper__?i[a]=s[a]:D(i[a],s[a]):!Q(i[a])&&Q(s[a])?(i[a]={},s[a].__swiper__?i[a]=s[a]:D(i[a],s[a])):i[a]=s[a])}}}return i}function ee(e,i,t){e.style.setProperty(i,t)}function we({swiper:e,targetPosition:i,side:t}){const n=I(),s=-e.translate;let r=null,l;const d=e.params.speed;e.wrapperEl.style.scrollSnapType="none",n.cancelAnimationFrame(e.cssModeFrameID);const a=i>s?"next":"prev",o=(u,f)=>a==="next"&&u>=f||a==="prev"&&u<=f,c=()=>{l=new Date().getTime(),r===null&&(r=l);const u=Math.max(Math.min((l-r)/d,1),0),f=.5-Math.cos(u*Math.PI)/2;let p=s+f*(i-s);if(o(p,i)&&(p=i),e.wrapperEl.scrollTo({[t]:p}),o(p,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[t]:p})}),n.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=n.requestAnimationFrame(c)};c()}let ie;function Lt(){const e=I(),i=z();return{smoothScroll:i.documentElement&&"scrollBehavior"in i.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&i instanceof e.DocumentTouch),passiveListener:function(){let n=!1;try{const s=Object.defineProperty({},"passive",{get(){n=!0}});e.addEventListener("testPassiveListener",null,s)}catch{}return n}(),gestures:function(){return"ongesturestart"in e}()}}function Ee(){return ie||(ie=Lt()),ie}let ne;function Ot({userAgent:e}={}){const i=Ee(),t=I(),n=t.navigator.platform,s=e||t.navigator.userAgent,r={ios:!1,android:!1},l=t.screen.width,d=t.screen.height,a=s.match(/(Android);?[\s\/]+([\d.]+)?/);let o=s.match(/(iPad).*OS\s([\d_]+)/);const c=s.match(/(iPod)(.*OS\s([\d_]+))?/),u=!o&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=n==="Win32";let p=n==="MacIntel";const h=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!o&&p&&i.touch&&h.indexOf(`${l}x${d}`)>=0&&(o=s.match(/(Version)\/([\d.]+)/),o||(o=[0,1,"13_0_0"]),p=!1),a&&!f&&(r.os="android",r.android=!0),(o||u||c)&&(r.os="ios",r.ios=!0),r}function Pt(e={}){return ne||(ne=Ot(e)),ne}let se;function $t(){const e=I();function i(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}return{isSafari:i(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}function It(){return se||(se=$t()),se}function _t({swiper:e,on:i,emit:t}){const n=I();let s=null,r=null;const l=()=>{!e||e.destroyed||!e.initialized||(t("beforeResize"),t("resize"))},d=()=>{!e||e.destroyed||!e.initialized||(s=new ResizeObserver(c=>{r=n.requestAnimationFrame(()=>{const{width:u,height:f}=e;let p=u,h=f;c.forEach(({contentBoxSize:T,contentRect:v,target:m})=>{m&&m!==e.el||(p=v?v.width:(T[0]||T).inlineSize,h=v?v.height:(T[0]||T).blockSize)}),(p!==u||h!==f)&&l()})}),s.observe(e.el))},a=()=>{r&&n.cancelAnimationFrame(r),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null)},o=()=>{!e||e.destroyed||!e.initialized||t("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof n.ResizeObserver<"u"){d();return}n.addEventListener("resize",l),n.addEventListener("orientationchange",o)}),i("destroy",()=>{a(),n.removeEventListener("resize",l),n.removeEventListener("orientationchange",o)})}function zt({swiper:e,extendParams:i,on:t,emit:n}){const s=[],r=I(),l=(o,c={})=>{const u=r.MutationObserver||r.WebkitMutationObserver,f=new u(p=>{if(p.length===1){n("observerUpdate",p[0]);return}const h=function(){n("observerUpdate",p[0])};r.requestAnimationFrame?r.requestAnimationFrame(h):r.setTimeout(h,0)});f.observe(o,{attributes:typeof c.attributes>"u"?!0:c.attributes,childList:typeof c.childList>"u"?!0:c.childList,characterData:typeof c.characterData>"u"?!0:c.characterData}),s.push(f)},d=()=>{if(e.params.observer){if(e.params.observeParents){const o=e.$el.parents();for(let c=0;c<o.length;c+=1)l(o[c])}l(e.$el[0],{childList:e.params.observeSlideChildren}),l(e.$wrapperEl[0],{attributes:!1})}},a=()=>{s.forEach(o=>{o.disconnect()}),s.splice(0,s.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),t("init",d),t("destroy",a)}const Dt={on(e,i,t){const n=this;if(!n.eventsListeners||n.destroyed||typeof i!="function")return n;const s=t?"unshift":"push";return e.split(" ").forEach(r=>{n.eventsListeners[r]||(n.eventsListeners[r]=[]),n.eventsListeners[r][s](i)}),n},once(e,i,t){const n=this;if(!n.eventsListeners||n.destroyed||typeof i!="function")return n;function s(...r){n.off(e,s),s.__emitterProxy&&delete s.__emitterProxy,i.apply(n,r)}return s.__emitterProxy=i,n.on(e,s,t)},onAny(e,i){const t=this;if(!t.eventsListeners||t.destroyed||typeof e!="function")return t;const n=i?"unshift":"push";return t.eventsAnyListeners.indexOf(e)<0&&t.eventsAnyListeners[n](e),t},offAny(e){const i=this;if(!i.eventsListeners||i.destroyed||!i.eventsAnyListeners)return i;const t=i.eventsAnyListeners.indexOf(e);return t>=0&&i.eventsAnyListeners.splice(t,1),i},off(e,i){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||e.split(" ").forEach(n=>{typeof i>"u"?t.eventsListeners[n]=[]:t.eventsListeners[n]&&t.eventsListeners[n].forEach((s,r)=>{(s===i||s.__emitterProxy&&s.__emitterProxy===i)&&t.eventsListeners[n].splice(r,1)})}),t},emit(...e){const i=this;if(!i.eventsListeners||i.destroyed||!i.eventsListeners)return i;let t,n,s;return typeof e[0]=="string"||Array.isArray(e[0])?(t=e[0],n=e.slice(1,e.length),s=i):(t=e[0].events,n=e[0].data,s=e[0].context||i),n.unshift(s),(Array.isArray(t)?t:t.split(" ")).forEach(l=>{i.eventsAnyListeners&&i.eventsAnyListeners.length&&i.eventsAnyListeners.forEach(d=>{d.apply(s,[l,...n])}),i.eventsListeners&&i.eventsListeners[l]&&i.eventsListeners[l].forEach(d=>{d.apply(s,n)})}),i}};function At(){const e=this;let i,t;const n=e.$el;typeof e.params.width<"u"&&e.params.width!==null?i=e.params.width:i=n[0].clientWidth,typeof e.params.height<"u"&&e.params.height!==null?t=e.params.height:t=n[0].clientHeight,!(i===0&&e.isHorizontal()||t===0&&e.isVertical())&&(i=i-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),t=t-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(i)&&(i=0),Number.isNaN(t)&&(t=0),Object.assign(e,{width:i,height:t,size:e.isHorizontal()?i:t}))}function kt(){const e=this;function i(x){return e.isHorizontal()?x:{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"}[x]}function t(x,w){return parseFloat(x.getPropertyValue(i(w))||0)}const n=e.params,{$wrapperEl:s,size:r,rtlTranslate:l,wrongRTL:d}=e,a=e.virtual&&n.virtual.enabled,o=a?e.virtual.slides.length:e.slides.length,c=s.children(`.${e.params.slideClass}`),u=a?e.virtual.slides.length:c.length;let f=[];const p=[],h=[];let T=n.slidesOffsetBefore;typeof T=="function"&&(T=n.slidesOffsetBefore.call(e));let v=n.slidesOffsetAfter;typeof v=="function"&&(v=n.slidesOffsetAfter.call(e));const m=e.snapGrid.length,g=e.slidesGrid.length;let b=n.spaceBetween,M=-T,E=0,P=0;if(typeof r>"u")return;typeof b=="string"&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*r),e.virtualSize=-b,l?c.css({marginLeft:"",marginBottom:"",marginTop:""}):c.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&(ee(e.wrapperEl,"--swiper-centered-offset-before",""),ee(e.wrapperEl,"--swiper-centered-offset-after",""));const L=n.grid&&n.grid.rows>1&&e.grid;L&&e.grid.initSlides(u);let C;const O=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(x=>typeof n.breakpoints[x].slidesPerView<"u").length>0;for(let x=0;x<u;x+=1){C=0;const w=c.eq(x);if(L&&e.grid.updateSlide(x,w,u,i),w.css("display")!=="none"){if(n.slidesPerView==="auto"){O&&(c[x].style[i("width")]="");const y=getComputedStyle(w[0]),$=w[0].style.transform,B=w[0].style.webkitTransform;if($&&(w[0].style.transform="none"),B&&(w[0].style.webkitTransform="none"),n.roundLengths)C=e.isHorizontal()?w.outerWidth(!0):w.outerHeight(!0);else{const R=t(y,"width"),j=t(y,"padding-left"),Y=t(y,"padding-right"),F=t(y,"margin-left"),_=t(y,"margin-right"),q=y.getPropertyValue("box-sizing");if(q&&q==="border-box")C=R+F+_;else{const{clientWidth:Ae,offsetWidth:ke}=w[0];C=R+j+Y+F+_+(ke-Ae)}}$&&(w[0].style.transform=$),B&&(w[0].style.webkitTransform=B),n.roundLengths&&(C=Math.floor(C))}else C=(r-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(C=Math.floor(C)),c[x]&&(c[x].style[i("width")]=`${C}px`);c[x]&&(c[x].swiperSlideSize=C),h.push(C),n.centeredSlides?(M=M+C/2+E/2+b,E===0&&x!==0&&(M=M-r/2-b),x===0&&(M=M-r/2-b),Math.abs(M)<1/1e3&&(M=0),n.roundLengths&&(M=Math.floor(M)),P%n.slidesPerGroup===0&&f.push(M),p.push(M)):(n.roundLengths&&(M=Math.floor(M)),(P-Math.min(e.params.slidesPerGroupSkip,P))%e.params.slidesPerGroup===0&&f.push(M),p.push(M),M=M+C+b),e.virtualSize+=C+b,E=C,P+=1}}if(e.virtualSize=Math.max(e.virtualSize,r)+v,l&&d&&(n.effect==="slide"||n.effect==="coverflow")&&s.css({width:`${e.virtualSize+n.spaceBetween}px`}),n.setWrapperSize&&s.css({[i("width")]:`${e.virtualSize+n.spaceBetween}px`}),L&&e.grid.updateWrapperSize(C,f,i),!n.centeredSlides){const x=[];for(let w=0;w<f.length;w+=1){let y=f[w];n.roundLengths&&(y=Math.floor(y)),f[w]<=e.virtualSize-r&&x.push(y)}f=x,Math.floor(e.virtualSize-r)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-r)}if(f.length===0&&(f=[0]),n.spaceBetween!==0){const x=e.isHorizontal()&&l?"marginLeft":i("marginRight");c.filter((w,y)=>n.cssMode?y!==c.length-1:!0).css({[x]:`${b}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let x=0;h.forEach(y=>{x+=y+(n.spaceBetween?n.spaceBetween:0)}),x-=n.spaceBetween;const w=x-r;f=f.map(y=>y<0?-T:y>w?w+v:y)}if(n.centerInsufficientSlides){let x=0;if(h.forEach(w=>{x+=w+(n.spaceBetween?n.spaceBetween:0)}),x-=n.spaceBetween,x<r){const w=(r-x)/2;f.forEach((y,$)=>{f[$]=y-w}),p.forEach((y,$)=>{p[$]=y+w})}}if(Object.assign(e,{slides:c,snapGrid:f,slidesGrid:p,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){ee(e.wrapperEl,"--swiper-centered-offset-before",`${-f[0]}px`),ee(e.wrapperEl,"--swiper-centered-offset-after",`${e.size/2-h[h.length-1]/2}px`);const x=-e.snapGrid[0],w=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(y=>y+x),e.slidesGrid=e.slidesGrid.map(y=>y+w)}if(u!==o&&e.emit("slidesLengthChange"),f.length!==m&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),p.length!==g&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!a&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const x=`${n.containerModifierClass}backface-hidden`,w=e.$el.hasClass(x);u<=n.maxBackfaceHiddenSlides?w||e.$el.addClass(x):w&&e.$el.removeClass(x)}}function Nt(e){const i=this,t=[],n=i.virtual&&i.params.virtual.enabled;let s=0,r;typeof e=="number"?i.setTransition(e):e===!0&&i.setTransition(i.params.speed);const l=d=>n?i.slides.filter(a=>parseInt(a.getAttribute("data-swiper-slide-index"),10)===d)[0]:i.slides.eq(d)[0];if(i.params.slidesPerView!=="auto"&&i.params.slidesPerView>1)if(i.params.centeredSlides)(i.visibleSlides||S([])).each(d=>{t.push(d)});else for(r=0;r<Math.ceil(i.params.slidesPerView);r+=1){const d=i.activeIndex+r;if(d>i.slides.length&&!n)break;t.push(l(d))}else t.push(l(i.activeIndex));for(r=0;r<t.length;r+=1)if(typeof t[r]<"u"){const d=t[r].offsetHeight;s=d>s?d:s}(s||s===0)&&i.$wrapperEl.css("height",`${s}px`)}function Gt(){const e=this,i=e.slides;for(let t=0;t<i.length;t+=1)i[t].swiperSlideOffset=e.isHorizontal()?i[t].offsetLeft:i[t].offsetTop}function Bt(e=this&&this.translate||0){const i=this,t=i.params,{slides:n,rtlTranslate:s,snapGrid:r}=i;if(n.length===0)return;typeof n[0].swiperSlideOffset>"u"&&i.updateSlidesOffset();let l=-e;s&&(l=e),n.removeClass(t.slideVisibleClass),i.visibleSlidesIndexes=[],i.visibleSlides=[];for(let d=0;d<n.length;d+=1){const a=n[d];let o=a.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(o-=n[0].swiperSlideOffset);const c=(l+(t.centeredSlides?i.minTranslate():0)-o)/(a.swiperSlideSize+t.spaceBetween),u=(l-r[0]+(t.centeredSlides?i.minTranslate():0)-o)/(a.swiperSlideSize+t.spaceBetween),f=-(l-o),p=f+i.slidesSizesGrid[d];(f>=0&&f<i.size-1||p>1&&p<=i.size||f<=0&&p>=i.size)&&(i.visibleSlides.push(a),i.visibleSlidesIndexes.push(d),n.eq(d).addClass(t.slideVisibleClass)),a.progress=s?-c:c,a.originalProgress=s?-u:u}i.visibleSlides=S(i.visibleSlides)}function Ht(e){const i=this;if(typeof e>"u"){const o=i.rtlTranslate?-1:1;e=i&&i.translate&&i.translate*o||0}const t=i.params,n=i.maxTranslate()-i.minTranslate();let{progress:s,isBeginning:r,isEnd:l}=i;const d=r,a=l;n===0?(s=0,r=!0,l=!0):(s=(e-i.minTranslate())/n,r=s<=0,l=s>=1),Object.assign(i,{progress:s,isBeginning:r,isEnd:l}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&i.updateSlidesProgress(e),r&&!d&&i.emit("reachBeginning toEdge"),l&&!a&&i.emit("reachEnd toEdge"),(d&&!r||a&&!l)&&i.emit("fromEdge"),i.emit("progress",s)}function Vt(){const e=this,{slides:i,params:t,$wrapperEl:n,activeIndex:s,realIndex:r}=e,l=e.virtual&&t.virtual.enabled;i.removeClass(`${t.slideActiveClass} ${t.slideNextClass} ${t.slidePrevClass} ${t.slideDuplicateActiveClass} ${t.slideDuplicateNextClass} ${t.slideDuplicatePrevClass}`);let d;l?d=e.$wrapperEl.find(`.${t.slideClass}[data-swiper-slide-index="${s}"]`):d=i.eq(s),d.addClass(t.slideActiveClass),t.loop&&(d.hasClass(t.slideDuplicateClass)?n.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(t.slideDuplicateActiveClass):n.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(t.slideDuplicateActiveClass));let a=d.nextAll(`.${t.slideClass}`).eq(0).addClass(t.slideNextClass);t.loop&&a.length===0&&(a=i.eq(0),a.addClass(t.slideNextClass));let o=d.prevAll(`.${t.slideClass}`).eq(0).addClass(t.slidePrevClass);t.loop&&o.length===0&&(o=i.eq(-1),o.addClass(t.slidePrevClass)),t.loop&&(a.hasClass(t.slideDuplicateClass)?n.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${a.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicateNextClass):n.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${a.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicateNextClass),o.hasClass(t.slideDuplicateClass)?n.children(`.${t.slideClass}:not(.${t.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicatePrevClass):n.children(`.${t.slideClass}.${t.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(t.slideDuplicatePrevClass)),e.emitSlidesClasses()}function Rt(e){const i=this,t=i.rtlTranslate?i.translate:-i.translate,{slidesGrid:n,snapGrid:s,params:r,activeIndex:l,realIndex:d,snapIndex:a}=i;let o=e,c;if(typeof o>"u"){for(let f=0;f<n.length;f+=1)typeof n[f+1]<"u"?t>=n[f]&&t<n[f+1]-(n[f+1]-n[f])/2?o=f:t>=n[f]&&t<n[f+1]&&(o=f+1):t>=n[f]&&(o=f);r.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0)}if(s.indexOf(t)>=0)c=s.indexOf(t);else{const f=Math.min(r.slidesPerGroupSkip,o);c=f+Math.floor((o-f)/r.slidesPerGroup)}if(c>=s.length&&(c=s.length-1),o===l){c!==a&&(i.snapIndex=c,i.emit("snapIndexChange"));return}const u=parseInt(i.slides.eq(o).attr("data-swiper-slide-index")||o,10);Object.assign(i,{snapIndex:c,realIndex:u,previousIndex:l,activeIndex:o}),i.emit("activeIndexChange"),i.emit("snapIndexChange"),d!==u&&i.emit("realIndexChange"),(i.initialized||i.params.runCallbacksOnInit)&&i.emit("slideChange")}function jt(e){const i=this,t=i.params,n=S(e).closest(`.${t.slideClass}`)[0];let s=!1,r;if(n){for(let l=0;l<i.slides.length;l+=1)if(i.slides[l]===n){s=!0,r=l;break}}if(n&&s)i.clickedSlide=n,i.virtual&&i.params.virtual.enabled?i.clickedIndex=parseInt(S(n).attr("data-swiper-slide-index"),10):i.clickedIndex=r;else{i.clickedSlide=void 0,i.clickedIndex=void 0;return}t.slideToClickedSlide&&i.clickedIndex!==void 0&&i.clickedIndex!==i.activeIndex&&i.slideToClickedSlide()}const Ft={updateSize:At,updateSlides:kt,updateAutoHeight:Nt,updateSlidesOffset:Gt,updateSlidesProgress:Bt,updateProgress:Ht,updateSlidesClasses:Vt,updateActiveIndex:Rt,updateClickedSlide:jt};function Wt(e=this.isHorizontal()?"x":"y"){const i=this,{params:t,rtlTranslate:n,translate:s,$wrapperEl:r}=i;if(t.virtualTranslate)return n?-s:s;if(t.cssMode)return s;let l=yt(r[0],e);return n&&(l=-l),l||0}function Xt(e,i){const t=this,{rtlTranslate:n,params:s,$wrapperEl:r,wrapperEl:l,progress:d}=t;let a=0,o=0;const c=0;t.isHorizontal()?a=n?-e:e:o=e,s.roundLengths&&(a=Math.floor(a),o=Math.floor(o)),s.cssMode?l[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-a:-o:s.virtualTranslate||r.transform(`translate3d(${a}px, ${o}px, ${c}px)`),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?a:o;let u;const f=t.maxTranslate()-t.minTranslate();f===0?u=0:u=(e-t.minTranslate())/f,u!==d&&t.updateProgress(e),t.emit("setTranslate",t.translate,i)}function Yt(){return-this.snapGrid[0]}function qt(){return-this.snapGrid[this.snapGrid.length-1]}function Kt(e=0,i=this.params.speed,t=!0,n=!0,s){const r=this,{params:l,wrapperEl:d}=r;if(r.animating&&l.preventInteractionOnTransition)return!1;const a=r.minTranslate(),o=r.maxTranslate();let c;if(n&&e>a?c=a:n&&e<o?c=o:c=e,r.updateProgress(c),l.cssMode){const u=r.isHorizontal();if(i===0)d[u?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return we({swiper:r,targetPosition:-c,side:u?"left":"top"}),!0;d.scrollTo({[u?"left":"top"]:-c,behavior:"smooth"})}return!0}return i===0?(r.setTransition(0),r.setTranslate(c),t&&(r.emit("beforeTransitionStart",i,s),r.emit("transitionEnd"))):(r.setTransition(i),r.setTranslate(c),t&&(r.emit("beforeTransitionStart",i,s),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(f){!r||r.destroyed||f.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,t&&r.emit("transitionEnd"))}),r.$wrapperEl[0].addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onTranslateToWrapperTransitionEnd))),!0}const Ut={getTranslate:Wt,setTranslate:Xt,minTranslate:Yt,maxTranslate:qt,translateTo:Kt};function Zt(e,i){const t=this;t.params.cssMode||t.$wrapperEl.transition(e),t.emit("setTransition",e,i)}function xe({swiper:e,runCallbacks:i,direction:t,step:n}){const{activeIndex:s,previousIndex:r}=e;let l=t;if(l||(s>r?l="next":s<r?l="prev":l="reset"),e.emit(`transition${n}`),i&&s!==r){if(l==="reset"){e.emit(`slideResetTransition${n}`);return}e.emit(`slideChangeTransition${n}`),l==="next"?e.emit(`slideNextTransition${n}`):e.emit(`slidePrevTransition${n}`)}}function Jt(e=!0,i){const t=this,{params:n}=t;n.cssMode||(n.autoHeight&&t.updateAutoHeight(),xe({swiper:t,runCallbacks:e,direction:i,step:"Start"}))}function Qt(e=!0,i){const t=this,{params:n}=t;t.animating=!1,!n.cssMode&&(t.setTransition(0),xe({swiper:t,runCallbacks:e,direction:i,step:"End"}))}const ei={setTransition:Zt,transitionStart:Jt,transitionEnd:Qt};function ti(e=0,i=this.params.speed,t=!0,n,s){if(typeof e!="number"&&typeof e!="string")throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if(typeof e=="string"){const b=parseInt(e,10);if(!isFinite(b))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=b}const r=this;let l=e;l<0&&(l=0);const{params:d,snapGrid:a,slidesGrid:o,previousIndex:c,activeIndex:u,rtlTranslate:f,wrapperEl:p,enabled:h}=r;if(r.animating&&d.preventInteractionOnTransition||!h&&!n&&!s)return!1;const T=Math.min(r.params.slidesPerGroupSkip,l);let v=T+Math.floor((l-T)/r.params.slidesPerGroup);v>=a.length&&(v=a.length-1);const m=-a[v];if(d.normalizeSlideIndex)for(let b=0;b<o.length;b+=1){const M=-Math.floor(m*100),E=Math.floor(o[b]*100),P=Math.floor(o[b+1]*100);typeof o[b+1]<"u"?M>=E&&M<P-(P-E)/2?l=b:M>=E&&M<P&&(l=b+1):M>=E&&(l=b)}if(r.initialized&&l!==u&&(!r.allowSlideNext&&m<r.translate&&m<r.minTranslate()||!r.allowSlidePrev&&m>r.translate&&m>r.maxTranslate()&&(u||0)!==l))return!1;l!==(c||0)&&t&&r.emit("beforeSlideChangeStart"),r.updateProgress(m);let g;if(l>u?g="next":l<u?g="prev":g="reset",f&&-m===r.translate||!f&&m===r.translate)return r.updateActiveIndex(l),d.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),d.effect!=="slide"&&r.setTranslate(m),g!=="reset"&&(r.transitionStart(t,g),r.transitionEnd(t,g)),!1;if(d.cssMode){const b=r.isHorizontal(),M=f?m:-m;if(i===0){const E=r.virtual&&r.params.virtual.enabled;E&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),p[b?"scrollLeft":"scrollTop"]=M,E&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._swiperImmediateVirtual=!1})}else{if(!r.support.smoothScroll)return we({swiper:r,targetPosition:M,side:b?"left":"top"}),!0;p.scrollTo({[b?"left":"top"]:M,behavior:"smooth"})}return!0}return r.setTransition(i),r.setTranslate(m),r.updateActiveIndex(l),r.updateSlidesClasses(),r.emit("beforeTransitionStart",i,n),r.transitionStart(t,g),i===0?r.transitionEnd(t,g):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(M){!r||r.destroyed||M.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(t,g))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd)),!0}function ii(e=0,i=this.params.speed,t=!0,n){if(typeof e=="string"){const l=parseInt(e,10);if(!isFinite(l))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=l}const s=this;let r=e;return s.params.loop&&(r+=s.loopedSlides),s.slideTo(r,i,t,n)}function ni(e=this.params.speed,i=!0,t){const n=this,{animating:s,enabled:r,params:l}=n;if(!r)return n;let d=l.slidesPerGroup;l.slidesPerView==="auto"&&l.slidesPerGroup===1&&l.slidesPerGroupAuto&&(d=Math.max(n.slidesPerViewDynamic("current",!0),1));const a=n.activeIndex<l.slidesPerGroupSkip?1:d;if(l.loop){if(s&&l.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}return l.rewind&&n.isEnd?n.slideTo(0,e,i,t):n.slideTo(n.activeIndex+a,e,i,t)}function si(e=this.params.speed,i=!0,t){const n=this,{params:s,animating:r,snapGrid:l,slidesGrid:d,rtlTranslate:a,enabled:o}=n;if(!o)return n;if(s.loop){if(r&&s.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}const c=a?n.translate:-n.translate;function u(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const f=u(c),p=l.map(v=>u(v));let h=l[p.indexOf(f)-1];if(typeof h>"u"&&s.cssMode){let v;l.forEach((m,g)=>{f>=m&&(v=g)}),typeof v<"u"&&(h=l[v>0?v-1:v])}let T=0;if(typeof h<"u"&&(T=d.indexOf(h),T<0&&(T=n.activeIndex-1),s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(T=T-n.slidesPerViewDynamic("previous",!0)+1,T=Math.max(T,0))),s.rewind&&n.isBeginning){const v=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(v,e,i,t)}return n.slideTo(T,e,i,t)}function ri(e=this.params.speed,i=!0,t){const n=this;return n.slideTo(n.activeIndex,e,i,t)}function ai(e=this.params.speed,i=!0,t,n=.5){const s=this;let r=s.activeIndex;const l=Math.min(s.params.slidesPerGroupSkip,r),d=l+Math.floor((r-l)/s.params.slidesPerGroup),a=s.rtlTranslate?s.translate:-s.translate;if(a>=s.snapGrid[d]){const o=s.snapGrid[d],c=s.snapGrid[d+1];a-o>(c-o)*n&&(r+=s.params.slidesPerGroup)}else{const o=s.snapGrid[d-1],c=s.snapGrid[d];a-o<=(c-o)*n&&(r-=s.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,s.slidesGrid.length-1),s.slideTo(r,e,i,t)}function li(){const e=this,{params:i,$wrapperEl:t}=e,n=i.slidesPerView==="auto"?e.slidesPerViewDynamic():i.slidesPerView;let s=e.clickedIndex,r;if(i.loop){if(e.animating)return;r=parseInt(S(e.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?s<e.loopedSlides-n/2||s>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),s=t.children(`.${i.slideClass}[data-swiper-slide-index="${r}"]:not(.${i.slideDuplicateClass})`).eq(0).index(),Z(()=>{e.slideTo(s)})):e.slideTo(s):s>e.slides.length-n?(e.loopFix(),s=t.children(`.${i.slideClass}[data-swiper-slide-index="${r}"]:not(.${i.slideDuplicateClass})`).eq(0).index(),Z(()=>{e.slideTo(s)})):e.slideTo(s)}else e.slideTo(s)}const oi={slideTo:ti,slideToLoop:ii,slideNext:ni,slidePrev:si,slideReset:ri,slideToClosest:ai,slideToClickedSlide:li};function di(){const e=this,i=z(),{params:t,$wrapperEl:n}=e,s=n.children().length>0?S(n.children()[0].parentNode):n;s.children(`.${t.slideClass}.${t.slideDuplicateClass}`).remove();let r=s.children(`.${t.slideClass}`);if(t.loopFillGroupWithBlank){const a=t.slidesPerGroup-r.length%t.slidesPerGroup;if(a!==t.slidesPerGroup){for(let o=0;o<a;o+=1){const c=S(i.createElement("div")).addClass(`${t.slideClass} ${t.slideBlankClass}`);s.append(c)}r=s.children(`.${t.slideClass}`)}}t.slidesPerView==="auto"&&!t.loopedSlides&&(t.loopedSlides=r.length),e.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),e.loopedSlides+=t.loopAdditionalSlides,e.loopedSlides>r.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=r.length);const l=[],d=[];r.each((a,o)=>{S(a).attr("data-swiper-slide-index",o)});for(let a=0;a<e.loopedSlides;a+=1){const o=a-Math.floor(a/r.length)*r.length;d.push(r.eq(o)[0]),l.unshift(r.eq(r.length-o-1)[0])}for(let a=0;a<d.length;a+=1)s.append(S(d[a].cloneNode(!0)).addClass(t.slideDuplicateClass));for(let a=l.length-1;a>=0;a-=1)s.prepend(S(l[a].cloneNode(!0)).addClass(t.slideDuplicateClass))}function ci(){const e=this;e.emit("beforeLoopFix");const{activeIndex:i,slides:t,loopedSlides:n,allowSlidePrev:s,allowSlideNext:r,snapGrid:l,rtlTranslate:d}=e;let a;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-l[i]-e.getTranslate();i<n?(a=t.length-n*3+i,a+=n,e.slideTo(a,0,!1,!0)&&c!==0&&e.setTranslate((d?-e.translate:e.translate)-c)):i>=t.length-n&&(a=-t.length+i+n,a+=n,e.slideTo(a,0,!1,!0)&&c!==0&&e.setTranslate((d?-e.translate:e.translate)-c)),e.allowSlidePrev=s,e.allowSlideNext=r,e.emit("loopFix")}function fi(){const e=this,{$wrapperEl:i,params:t,slides:n}=e;i.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}const ui={loopCreate:di,loopFix:ci,loopDestroy:fi};function pi(e){const i=this;if(i.support.touch||!i.params.simulateTouch||i.params.watchOverflow&&i.isLocked||i.params.cssMode)return;const t=i.params.touchEventsTarget==="container"?i.el:i.wrapperEl;t.style.cursor="move",t.style.cursor=e?"grabbing":"grab"}function hi(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="")}const mi={setGrabCursor:pi,unsetGrabCursor:hi};function gi(e,i=this){function t(n){if(!n||n===z()||n===I())return null;n.assignedSlot&&(n=n.assignedSlot);const s=n.closest(e);return!s&&!n.getRootNode?null:s||t(n.getRootNode().host)}return t(i)}function vi(e){const i=this,t=z(),n=I(),s=i.touchEventsData,{params:r,touches:l,enabled:d}=i;if(!d||i.animating&&r.preventInteractionOnTransition)return;!i.animating&&r.cssMode&&r.loop&&i.loopFix();let a=e;a.originalEvent&&(a=a.originalEvent);let o=S(a.target);if(r.touchEventsTarget==="wrapper"&&!o.closest(i.wrapperEl).length||(s.isTouchEvent=a.type==="touchstart",!s.isTouchEvent&&"which"in a&&a.which===3)||!s.isTouchEvent&&"button"in a&&a.button>0||s.isTouched&&s.isMoved)return;const c=!!r.noSwipingClass&&r.noSwipingClass!=="",u=e.composedPath?e.composedPath():e.path;c&&a.target&&a.target.shadowRoot&&u&&(o=S(u[0]));const f=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!!(a.target&&a.target.shadowRoot);if(r.noSwiping&&(p?gi(f,o[0]):o.closest(f)[0])){i.allowClick=!0;return}if(r.swipeHandler&&!o.closest(r.swipeHandler)[0])return;l.currentX=a.type==="touchstart"?a.targetTouches[0].pageX:a.pageX,l.currentY=a.type==="touchstart"?a.targetTouches[0].pageY:a.pageY;const h=l.currentX,T=l.currentY,v=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,m=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(v&&(h<=m||h>=n.innerWidth-m))if(v==="prevent")e.preventDefault();else return;if(Object.assign(s,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=h,l.startY=T,s.touchStartTime=k(),i.allowClick=!0,i.updateSize(),i.swipeDirection=void 0,r.threshold>0&&(s.allowThresholdMove=!1),a.type!=="touchstart"){let g=!0;o.is(s.focusableElements)&&(g=!1,o[0].nodeName==="SELECT"&&(s.isTouched=!1)),t.activeElement&&S(t.activeElement).is(s.focusableElements)&&t.activeElement!==o[0]&&t.activeElement.blur();const b=g&&i.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||b)&&!o[0].isContentEditable&&a.preventDefault()}i.params.freeMode&&i.params.freeMode.enabled&&i.freeMode&&i.animating&&!r.cssMode&&i.freeMode.onTouchStart(),i.emit("touchStart",a)}function Si(e){const i=z(),t=this,n=t.touchEventsData,{params:s,touches:r,rtlTranslate:l,enabled:d}=t;if(!d)return;let a=e;if(a.originalEvent&&(a=a.originalEvent),!n.isTouched){n.startMoving&&n.isScrolling&&t.emit("touchMoveOpposite",a);return}if(n.isTouchEvent&&a.type!=="touchmove")return;const o=a.type==="touchmove"&&a.targetTouches&&(a.targetTouches[0]||a.changedTouches[0]),c=a.type==="touchmove"?o.pageX:a.pageX,u=a.type==="touchmove"?o.pageY:a.pageY;if(a.preventedByNestedSwiper){r.startX=c,r.startY=u;return}if(!t.allowTouchMove){S(a.target).is(n.focusableElements)||(t.allowClick=!1),n.isTouched&&(Object.assign(r,{startX:c,startY:u,currentX:c,currentY:u}),n.touchStartTime=k());return}if(n.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop){if(t.isVertical()){if(u<r.startY&&t.translate<=t.maxTranslate()||u>r.startY&&t.translate>=t.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(c<r.startX&&t.translate<=t.maxTranslate()||c>r.startX&&t.translate>=t.minTranslate())return}if(n.isTouchEvent&&i.activeElement&&a.target===i.activeElement&&S(a.target).is(n.focusableElements)){n.isMoved=!0,t.allowClick=!1;return}if(n.allowTouchCallbacks&&t.emit("touchMove",a),a.targetTouches&&a.targetTouches.length>1)return;r.currentX=c,r.currentY=u;const f=r.currentX-r.startX,p=r.currentY-r.startY;if(t.params.threshold&&Math.sqrt(f**2+p**2)<t.params.threshold)return;if(typeof n.isScrolling>"u"){let m;t.isHorizontal()&&r.currentY===r.startY||t.isVertical()&&r.currentX===r.startX?n.isScrolling=!1:f*f+p*p>=25&&(m=Math.atan2(Math.abs(p),Math.abs(f))*180/Math.PI,n.isScrolling=t.isHorizontal()?m>s.touchAngle:90-m>s.touchAngle)}if(n.isScrolling&&t.emit("touchMoveOpposite",a),typeof n.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(n.startMoving=!0),n.isScrolling){n.isTouched=!1;return}if(!n.startMoving)return;t.allowClick=!1,!s.cssMode&&a.cancelable&&a.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&a.stopPropagation(),n.isMoved||(s.loop&&!s.cssMode&&t.loopFix(),n.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,s.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",a)),t.emit("sliderMove",a),n.isMoved=!0;let h=t.isHorizontal()?f:p;r.diff=h,h*=s.touchRatio,l&&(h=-h),t.swipeDirection=h>0?"prev":"next",n.currentTranslate=h+n.startTranslate;let T=!0,v=s.resistanceRatio;if(s.touchReleaseOnEdges&&(v=0),h>0&&n.currentTranslate>t.minTranslate()?(T=!1,s.resistance&&(n.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+n.startTranslate+h)**v)):h<0&&n.currentTranslate<t.maxTranslate()&&(T=!1,s.resistance&&(n.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-n.startTranslate-h)**v)),T&&(a.preventedByNestedSwiper=!0),!t.allowSlideNext&&t.swipeDirection==="next"&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!t.allowSlidePrev&&t.swipeDirection==="prev"&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(n.currentTranslate=n.startTranslate),s.threshold>0)if(Math.abs(h)>s.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,n.currentTranslate=n.startTranslate,r.diff=t.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{n.currentTranslate=n.startTranslate;return}!s.followFinger||s.cssMode||((s.freeMode&&s.freeMode.enabled&&t.freeMode||s.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),t.params.freeMode&&s.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(n.currentTranslate),t.setTranslate(n.currentTranslate))}function Ti(e){const i=this,t=i.touchEventsData,{params:n,touches:s,rtlTranslate:r,slidesGrid:l,enabled:d}=i;if(!d)return;let a=e;if(a.originalEvent&&(a=a.originalEvent),t.allowTouchCallbacks&&i.emit("touchEnd",a),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&n.grabCursor&&i.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}n.grabCursor&&t.isMoved&&t.isTouched&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!1);const o=k(),c=o-t.touchStartTime;if(i.allowClick){const g=a.path||a.composedPath&&a.composedPath();i.updateClickedSlide(g&&g[0]||a.target),i.emit("tap click",a),c<300&&o-t.lastClickTime<300&&i.emit("doubleTap doubleClick",a)}if(t.lastClickTime=k(),Z(()=>{i.destroyed||(i.allowClick=!0)}),!t.isTouched||!t.isMoved||!i.swipeDirection||s.diff===0||t.currentTranslate===t.startTranslate){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let u;if(n.followFinger?u=r?i.translate:-i.translate:u=-t.currentTranslate,n.cssMode)return;if(i.params.freeMode&&n.freeMode.enabled){i.freeMode.onTouchEnd({currentPos:u});return}let f=0,p=i.slidesSizesGrid[0];for(let g=0;g<l.length;g+=g<n.slidesPerGroupSkip?1:n.slidesPerGroup){const b=g<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;typeof l[g+b]<"u"?u>=l[g]&&u<l[g+b]&&(f=g,p=l[g+b]-l[g]):u>=l[g]&&(f=g,p=l[l.length-1]-l[l.length-2])}let h=null,T=null;n.rewind&&(i.isBeginning?T=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1:i.isEnd&&(h=0));const v=(u-l[f])/p,m=f<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(c>n.longSwipesMs){if(!n.longSwipes){i.slideTo(i.activeIndex);return}i.swipeDirection==="next"&&(v>=n.longSwipesRatio?i.slideTo(n.rewind&&i.isEnd?h:f+m):i.slideTo(f)),i.swipeDirection==="prev"&&(v>1-n.longSwipesRatio?i.slideTo(f+m):T!==null&&v<0&&Math.abs(v)>n.longSwipesRatio?i.slideTo(T):i.slideTo(f))}else{if(!n.shortSwipes){i.slideTo(i.activeIndex);return}i.navigation&&(a.target===i.navigation.nextEl||a.target===i.navigation.prevEl)?a.target===i.navigation.nextEl?i.slideTo(f+m):i.slideTo(f):(i.swipeDirection==="next"&&i.slideTo(h!==null?h:f+m),i.swipeDirection==="prev"&&i.slideTo(T!==null?T:f))}}function he(){const e=this,{params:i,el:t}=e;if(t&&t.offsetWidth===0)return;i.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:s,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),(i.slidesPerView==="auto"||i.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=s,e.allowSlideNext=n,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function bi(e){const i=this;i.enabled&&(i.allowClick||(i.params.preventClicks&&e.preventDefault(),i.params.preventClicksPropagation&&i.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function wi(){const e=this,{wrapperEl:i,rtlTranslate:t,enabled:n}=e;if(!n)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-i.scrollLeft:e.translate=-i.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let s;const r=e.maxTranslate()-e.minTranslate();r===0?s=0:s=(e.translate-e.minTranslate())/r,s!==e.progress&&e.updateProgress(t?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let me=!1;function Ei(){}const Ce=(e,i)=>{const t=z(),{params:n,touchEvents:s,el:r,wrapperEl:l,device:d,support:a}=e,o=!!n.nested,c=i==="on"?"addEventListener":"removeEventListener",u=i;if(!a.touch)r[c](s.start,e.onTouchStart,!1),t[c](s.move,e.onTouchMove,o),t[c](s.end,e.onTouchEnd,!1);else{const f=s.start==="touchstart"&&a.passiveListener&&n.passiveListeners?{passive:!0,capture:!1}:!1;r[c](s.start,e.onTouchStart,f),r[c](s.move,e.onTouchMove,a.passiveListener?{passive:!1,capture:o}:o),r[c](s.end,e.onTouchEnd,f),s.cancel&&r[c](s.cancel,e.onTouchEnd,f)}(n.preventClicks||n.preventClicksPropagation)&&r[c]("click",e.onClick,!0),n.cssMode&&l[c]("scroll",e.onScroll),n.updateOnWindowResize?e[u](d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",he,!0):e[u]("observerUpdate",he,!0)};function xi(){const e=this,i=z(),{params:t,support:n}=e;e.onTouchStart=vi.bind(e),e.onTouchMove=Si.bind(e),e.onTouchEnd=Ti.bind(e),t.cssMode&&(e.onScroll=wi.bind(e)),e.onClick=bi.bind(e),n.touch&&!me&&(i.addEventListener("touchstart",Ei),me=!0),Ce(e,"on")}function Ci(){Ce(this,"off")}const yi={attachEvents:xi,detachEvents:Ci},ge=(e,i)=>e.grid&&i.grid&&i.grid.rows>1;function Mi(){const e=this,{activeIndex:i,initialized:t,loopedSlides:n=0,params:s,$el:r}=e,l=s.breakpoints;if(!l||l&&Object.keys(l).length===0)return;const d=e.getBreakpoint(l,e.params.breakpointsBase,e.el);if(!d||e.currentBreakpoint===d)return;const o=(d in l?l[d]:void 0)||e.originalParams,c=ge(e,s),u=ge(e,o),f=s.enabled;c&&!u?(r.removeClass(`${s.containerModifierClass}grid ${s.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(r.addClass(`${s.containerModifierClass}grid`),(o.grid.fill&&o.grid.fill==="column"||!o.grid.fill&&s.grid.fill==="column")&&r.addClass(`${s.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(v=>{const m=s[v]&&s[v].enabled,g=o[v]&&o[v].enabled;m&&!g&&e[v].disable(),!m&&g&&e[v].enable()});const p=o.direction&&o.direction!==s.direction,h=s.loop&&(o.slidesPerView!==s.slidesPerView||p);p&&t&&e.changeDirection(),D(e.params,o);const T=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),f&&!T?e.disable():!f&&T&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",o),h&&t&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(i-n+e.loopedSlides,0,!1)),e.emit("breakpoint",o)}function Li(e,i="window",t){if(!e||i==="container"&&!t)return;let n=!1;const s=I(),r=i==="window"?s.innerHeight:t.clientHeight,l=Object.keys(e).map(d=>{if(typeof d=="string"&&d.indexOf("@")===0){const a=parseFloat(d.substr(1));return{value:r*a,point:d}}return{value:d,point:d}});l.sort((d,a)=>parseInt(d.value,10)-parseInt(a.value,10));for(let d=0;d<l.length;d+=1){const{point:a,value:o}=l[d];i==="window"?s.matchMedia(`(min-width: ${o}px)`).matches&&(n=a):o<=t.clientWidth&&(n=a)}return n||"max"}const Oi={setBreakpoint:Mi,getBreakpoint:Li};function Pi(e,i){const t=[];return e.forEach(n=>{typeof n=="object"?Object.keys(n).forEach(s=>{n[s]&&t.push(i+s)}):typeof n=="string"&&t.push(i+n)}),t}function $i(){const e=this,{classNames:i,params:t,rtl:n,$el:s,device:r,support:l}=e,d=Pi(["initialized",t.direction,{"pointer-events":!l.touch},{"free-mode":e.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:n},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);i.push(...d),s.addClass([...i].join(" ")),e.emitContainerClasses()}function Ii(){const e=this,{$el:i,classNames:t}=e;i.removeClass(t.join(" ")),e.emitContainerClasses()}const _i={addClasses:$i,removeClasses:Ii};function zi(e,i,t,n,s,r){const l=I();let d;function a(){r&&r()}!S(e).parent("picture")[0]&&(!e.complete||!s)&&i?(d=new l.Image,d.onload=a,d.onerror=a,n&&(d.sizes=n),t&&(d.srcset=t),i&&(d.src=i)):a()}function Di(){const e=this;e.imagesToLoad=e.$el.find("img");function i(){typeof e>"u"||e===null||!e||e.destroyed||(e.imagesLoaded!==void 0&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}for(let t=0;t<e.imagesToLoad.length;t+=1){const n=e.imagesToLoad[t];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,i)}}const Ai={loadImage:zi,preloadImages:Di};function ki(){const e=this,{isLocked:i,params:t}=e,{slidesOffsetBefore:n}=t;if(n){const s=e.slides.length-1,r=e.slidesGrid[s]+e.slidesSizesGrid[s]+n*2;e.isLocked=e.size>r}else e.isLocked=e.snapGrid.length===1;t.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),t.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),i&&i!==e.isLocked&&(e.isEnd=!1),i!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}const Ni={checkOverflow:ki},ve={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Gi(e,i){return function(n={}){const s=Object.keys(n)[0],r=n[s];if(typeof r!="object"||r===null){D(i,n);return}if(["navigation","pagination","scrollbar"].indexOf(s)>=0&&e[s]===!0&&(e[s]={auto:!0}),!(s in e&&"enabled"in r)){D(i,n);return}e[s]===!0&&(e[s]={enabled:!0}),typeof e[s]=="object"&&!("enabled"in e[s])&&(e[s].enabled=!0),e[s]||(e[s]={enabled:!1}),D(i,n)}}const re={eventsEmitter:Dt,update:Ft,translate:Ut,transition:ei,slide:oi,loop:ui,grabCursor:mi,events:yi,breakpoints:Oi,checkOverflow:Ni,classes:_i,images:Ai},ae={};let K=class G{constructor(...i){let t,n;if(i.length===1&&i[0].constructor&&Object.prototype.toString.call(i[0]).slice(8,-1)==="Object"?n=i[0]:[t,n]=i,n||(n={}),n=D({},n),t&&!n.el&&(n.el=t),n.el&&S(n.el).length>1){const d=[];return S(n.el).each(a=>{const o=D({},n,{el:a});d.push(new G(o))}),d}const s=this;s.__swiper__=!0,s.support=Ee(),s.device=Pt({userAgent:n.userAgent}),s.browser=It(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],n.modules&&Array.isArray(n.modules)&&s.modules.push(...n.modules);const r={};s.modules.forEach(d=>{d({swiper:s,extendParams:Gi(n,r),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const l=D({},ve,r);return s.params=D({},l,ae,n),s.originalParams=D({},s.params),s.passedParams=D({},n),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),s.$=S,Object.assign(s,{enabled:s.params.enabled,el:t,classNames:[],slides:S(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,touchEvents:function(){const a=["touchstart","touchmove","touchend","touchcancel"],o=["pointerdown","pointermove","pointerup"];return s.touchEventsTouch={start:a[0],move:a[1],end:a[2],cancel:a[3]},s.touchEventsDesktop={start:o[0],move:o[1],end:o[2]},s.support.touch||!s.params.simulateTouch?s.touchEventsTouch:s.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:s.params.focusableElements,lastClickTime:k(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}enable(){const i=this;i.enabled||(i.enabled=!0,i.params.grabCursor&&i.setGrabCursor(),i.emit("enable"))}disable(){const i=this;i.enabled&&(i.enabled=!1,i.params.grabCursor&&i.unsetGrabCursor(),i.emit("disable"))}setProgress(i,t){const n=this;i=Math.min(Math.max(i,0),1);const s=n.minTranslate(),l=(n.maxTranslate()-s)*i+s;n.translateTo(l,typeof t>"u"?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const i=this;if(!i.params._emitClasses||!i.el)return;const t=i.el.className.split(" ").filter(n=>n.indexOf("swiper")===0||n.indexOf(i.params.containerModifierClass)===0);i.emit("_containerClasses",t.join(" "))}getSlideClasses(i){const t=this;return t.destroyed?"":i.className.split(" ").filter(n=>n.indexOf("swiper-slide")===0||n.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const i=this;if(!i.params._emitClasses||!i.el)return;const t=[];i.slides.each(n=>{const s=i.getSlideClasses(n);t.push({slideEl:n,classNames:s}),i.emit("_slideClass",n,s)}),i.emit("_slideClasses",t)}slidesPerViewDynamic(i="current",t=!1){const n=this,{params:s,slides:r,slidesGrid:l,slidesSizesGrid:d,size:a,activeIndex:o}=n;let c=1;if(s.centeredSlides){let u=r[o].swiperSlideSize,f;for(let p=o+1;p<r.length;p+=1)r[p]&&!f&&(u+=r[p].swiperSlideSize,c+=1,u>a&&(f=!0));for(let p=o-1;p>=0;p-=1)r[p]&&!f&&(u+=r[p].swiperSlideSize,c+=1,u>a&&(f=!0))}else if(i==="current")for(let u=o+1;u<r.length;u+=1)(t?l[u]+d[u]-l[o]<a:l[u]-l[o]<a)&&(c+=1);else for(let u=o-1;u>=0;u-=1)l[o]-l[u]<a&&(c+=1);return c}update(){const i=this;if(!i||i.destroyed)return;const{snapGrid:t,params:n}=i;n.breakpoints&&i.setBreakpoint(),i.updateSize(),i.updateSlides(),i.updateProgress(),i.updateSlidesClasses();function s(){const l=i.rtlTranslate?i.translate*-1:i.translate,d=Math.min(Math.max(l,i.maxTranslate()),i.minTranslate());i.setTranslate(d),i.updateActiveIndex(),i.updateSlidesClasses()}let r;i.params.freeMode&&i.params.freeMode.enabled?(s(),i.params.autoHeight&&i.updateAutoHeight()):((i.params.slidesPerView==="auto"||i.params.slidesPerView>1)&&i.isEnd&&!i.params.centeredSlides?r=i.slideTo(i.slides.length-1,0,!1,!0):r=i.slideTo(i.activeIndex,0,!1,!0),r||s()),n.watchOverflow&&t!==i.snapGrid&&i.checkOverflow(),i.emit("update")}changeDirection(i,t=!0){const n=this,s=n.params.direction;return i||(i=s==="horizontal"?"vertical":"horizontal"),i===s||i!=="horizontal"&&i!=="vertical"||(n.$el.removeClass(`${n.params.containerModifierClass}${s}`).addClass(`${n.params.containerModifierClass}${i}`),n.emitContainerClasses(),n.params.direction=i,n.slides.each(r=>{i==="vertical"?r.style.width="":r.style.height=""}),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(i){const t=this;t.rtl&&i==="rtl"||!t.rtl&&i==="ltr"||(t.rtl=i==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(i){const t=this;if(t.mounted)return!0;const n=S(i||t.params.el);if(i=n[0],!i)return!1;i.swiper=t;const s=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let l=(()=>{if(i&&i.shadowRoot&&i.shadowRoot.querySelector){const d=S(i.shadowRoot.querySelector(s()));return d.children=a=>n.children(a),d}return n.children?n.children(s()):S(n).children(s())})();if(l.length===0&&t.params.createElements){const a=z().createElement("div");l=S(a),a.className=t.params.wrapperClass,n.append(a),n.children(`.${t.params.slideClass}`).each(o=>{l.append(o)})}return Object.assign(t,{$el:n,el:i,$wrapperEl:l,wrapperEl:l[0],mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||n.css("direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||n.css("direction")==="rtl"),wrongRTL:l.css("display")==="-webkit-box"}),!0}init(i){const t=this;return t.initialized||t.mount(i)===!1||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(i=!0,t=!0){const n=this,{params:s,$el:r,$wrapperEl:l,slides:d}=n;return typeof n.params>"u"||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),s.loop&&n.loopDestroy(),t&&(n.removeClasses(),r.removeAttr("style"),l.removeAttr("style"),d&&d.length&&d.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(a=>{n.off(a)}),i!==!1&&(n.$el[0].swiper=null,xt(n)),n.destroyed=!0),null}static extendDefaults(i){D(ae,i)}static get extendedDefaults(){return ae}static get defaults(){return ve}static installModule(i){G.prototype.__modules__||(G.prototype.__modules__=[]);const t=G.prototype.__modules__;typeof i=="function"&&t.indexOf(i)<0&&t.push(i)}static use(i){return Array.isArray(i)?(i.forEach(t=>G.installModule(t)),G):(G.installModule(i),G)}};Object.keys(re).forEach(e=>{Object.keys(re[e]).forEach(i=>{K.prototype[i]=re[e][i]})});K.use([_t,zt]);function ln({swiper:e,extendParams:i,on:t,emit:n}){const s=I();i({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let r,l=k(),d;const a=[];function o(g){let P=0,L=0,C=0,O=0;return"detail"in g&&(L=g.detail),"wheelDelta"in g&&(L=-g.wheelDelta/120),"wheelDeltaY"in g&&(L=-g.wheelDeltaY/120),"wheelDeltaX"in g&&(P=-g.wheelDeltaX/120),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(P=L,L=0),C=P*10,O=L*10,"deltaY"in g&&(O=g.deltaY),"deltaX"in g&&(C=g.deltaX),g.shiftKey&&!C&&(C=O,O=0),(C||O)&&g.deltaMode&&(g.deltaMode===1?(C*=40,O*=40):(C*=800,O*=800)),C&&!P&&(P=C<1?-1:1),O&&!L&&(L=O<1?-1:1),{spinX:P,spinY:L,pixelX:C,pixelY:O}}function c(){e.enabled&&(e.mouseEntered=!0)}function u(){e.enabled&&(e.mouseEntered=!1)}function f(g){return e.params.mousewheel.thresholdDelta&&g.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&k()-l<e.params.mousewheel.thresholdTime?!1:g.delta>=6&&k()-l<60?!0:(g.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),n("scroll",g.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),n("scroll",g.raw)),l=new s.Date().getTime(),!1)}function p(g){const b=e.params.mousewheel;if(g.direction<0){if(e.isEnd&&!e.params.loop&&b.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&b.releaseOnEdges)return!0;return!1}function h(g){let b=g,M=!0;if(!e.enabled)return;const E=e.params.mousewheel;e.params.cssMode&&b.preventDefault();let P=e.$el;if(e.params.mousewheel.eventsTarget!=="container"&&(P=S(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!P[0].contains(b.target)&&!E.releaseOnEdges)return!0;b.originalEvent&&(b=b.originalEvent);let L=0;const C=e.rtlTranslate?-1:1,O=o(b);if(E.forceToAxis)if(e.isHorizontal())if(Math.abs(O.pixelX)>Math.abs(O.pixelY))L=-O.pixelX*C;else return!0;else if(Math.abs(O.pixelY)>Math.abs(O.pixelX))L=-O.pixelY;else return!0;else L=Math.abs(O.pixelX)>Math.abs(O.pixelY)?-O.pixelX*C:-O.pixelY;if(L===0)return!0;E.invert&&(L=-L);let x=e.getTranslate()+L*E.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),M=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),M&&e.params.nested&&b.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const w={time:k(),delta:Math.abs(L),direction:Math.sign(L),raw:g};a.length>=2&&a.shift();const y=a.length?a[a.length-1]:void 0;if(a.push(w),y?(w.direction!==y.direction||w.delta>y.delta||w.time>y.time+150)&&f(w):f(w),p(w))return!0}else{const w={time:k(),delta:Math.abs(L),direction:Math.sign(L)},y=d&&w.time<d.time+500&&w.delta<=d.delta&&w.direction===d.direction;if(!y){d=void 0,e.params.loop&&e.loopFix();let $=e.getTranslate()+L*E.sensitivity;const B=e.isBeginning,R=e.isEnd;if($>=e.minTranslate()&&($=e.minTranslate()),$<=e.maxTranslate()&&($=e.maxTranslate()),e.setTransition(0),e.setTranslate($),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!B&&e.isBeginning||!R&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(r),r=void 0,a.length>=15&&a.shift();const j=a.length?a[a.length-1]:void 0,Y=a[0];if(a.push(w),j&&(w.delta>j.delta||w.direction!==j.direction))a.splice(0);else if(a.length>=15&&w.time-Y.time<500&&Y.delta-w.delta>=1&&w.delta<=6){const F=L>0?.8:.2;d=w,a.splice(0),r=Z(()=>{e.slideToClosest(e.params.speed,!0,void 0,F)},0)}r||(r=Z(()=>{d=w,a.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(y||n("scroll",b),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),$===e.minTranslate()||$===e.maxTranslate())return!0}}return b.preventDefault?b.preventDefault():b.returnValue=!1,!1}function T(g){let b=e.$el;e.params.mousewheel.eventsTarget!=="container"&&(b=S(e.params.mousewheel.eventsTarget)),b[g]("mouseenter",c),b[g]("mouseleave",u),b[g]("wheel",h)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",h),!0):e.mousewheel.enabled?!1:(T("on"),e.mousewheel.enabled=!0,!0)}function m(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,h),!0):e.mousewheel.enabled?(T("off"),e.mousewheel.enabled=!1,!0):!1}t("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&m(),e.params.mousewheel.enabled&&v()}),t("destroy",()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&m()}),Object.assign(e.mousewheel,{enable:v,disable:m})}function Bi(e,i,t,n){const s=z();return e.params.createElements&&Object.keys(n).forEach(r=>{if(!t[r]&&t.auto===!0){let l=e.$el.children(`.${n[r]}`)[0];l||(l=s.createElement("div"),l.className=n[r],e.$el.append(l)),t[r]=l,i[r]=l}}),t}function on({swiper:e,extendParams:i,on:t,emit:n}){i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null};function s(p){let h;return p&&(h=S(p),e.params.uniqueNavElements&&typeof p=="string"&&h.length>1&&e.$el.find(p).length===1&&(h=e.$el.find(p))),h}function r(p,h){const T=e.params.navigation;p&&p.length>0&&(p[h?"addClass":"removeClass"](T.disabledClass),p[0]&&p[0].tagName==="BUTTON"&&(p[0].disabled=h),e.params.watchOverflow&&e.enabled&&p[e.isLocked?"addClass":"removeClass"](T.lockClass))}function l(){if(e.params.loop)return;const{$nextEl:p,$prevEl:h}=e.navigation;r(h,e.isBeginning&&!e.params.rewind),r(p,e.isEnd&&!e.params.rewind)}function d(p){p.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),n("navigationPrev"))}function a(p){p.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),n("navigationNext"))}function o(){const p=e.params.navigation;if(e.params.navigation=Bi(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(p.nextEl||p.prevEl))return;const h=s(p.nextEl),T=s(p.prevEl);h&&h.length>0&&h.on("click",a),T&&T.length>0&&T.on("click",d),Object.assign(e.navigation,{$nextEl:h,nextEl:h&&h[0],$prevEl:T,prevEl:T&&T[0]}),e.enabled||(h&&h.addClass(p.lockClass),T&&T.addClass(p.lockClass))}function c(){const{$nextEl:p,$prevEl:h}=e.navigation;p&&p.length&&(p.off("click",a),p.removeClass(e.params.navigation.disabledClass)),h&&h.length&&(h.off("click",d),h.removeClass(e.params.navigation.disabledClass))}t("init",()=>{e.params.navigation.enabled===!1?f():(o(),l())}),t("toEdge fromEdge lock unlock",()=>{l()}),t("destroy",()=>{c()}),t("enable disable",()=>{const{$nextEl:p,$prevEl:h}=e.navigation;p&&p[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),h&&h[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)}),t("click",(p,h)=>{const{$nextEl:T,$prevEl:v}=e.navigation,m=h.target;if(e.params.navigation.hideOnClick&&!S(m).is(v)&&!S(m).is(T)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===m||e.pagination.el.contains(m)))return;let g;T?g=T.hasClass(e.params.navigation.hiddenClass):v&&(g=v.hasClass(e.params.navigation.hiddenClass)),n(g===!0?"navigationShow":"navigationHide"),T&&T.toggleClass(e.params.navigation.hiddenClass),v&&v.toggleClass(e.params.navigation.hiddenClass)}});const u=()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),o(),l()},f=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),c()};Object.assign(e.navigation,{enable:u,disable:f,update:l,init:o,destroy:c})}function W(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function V(e,i){const t=["__proto__","constructor","prototype"];Object.keys(i).filter(n=>t.indexOf(n)<0).forEach(n=>{typeof e[n]>"u"?e[n]=i[n]:W(i[n])&&W(e[n])&&Object.keys(i[n]).length>0?i[n].__swiper__?e[n]=i[n]:V(e[n],i[n]):e[n]=i[n]})}function ye(e={}){return e.navigation&&typeof e.navigation.nextEl>"u"&&typeof e.navigation.prevEl>"u"}function Me(e={}){return e.pagination&&typeof e.pagination.el>"u"}function Le(e={}){return e.scrollbar&&typeof e.scrollbar.el>"u"}function Oe(e=""){const i=e.split(" ").map(n=>n.trim()).filter(n=>!!n),t=[];return i.forEach(n=>{t.indexOf(n)<0&&t.push(n)}),t.join(" ")}const Pe=["modules","init","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopedSlidesLimit","_loopFillGroupWithBlank","loopPreventsSlide","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom"];function Hi(e={},i=!0){const t={on:{}},n={},s={};V(t,K.defaults),V(t,K.extendedDefaults),t._emitClasses=!0,t.init=!1;const r={},l=Pe.map(a=>a.replace(/_/,"")),d=Object.assign({},e);return Object.keys(d).forEach(a=>{typeof e[a]>"u"||(l.indexOf(a)>=0?W(e[a])?(t[a]={},s[a]={},V(t[a],e[a]),V(s[a],e[a])):(t[a]=e[a],s[a]=e[a]):a.search(/on[A-Z]/)===0&&typeof e[a]=="function"?i?n[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:t.on[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:r[a]=e[a])}),["navigation","pagination","scrollbar"].forEach(a=>{t[a]===!0&&(t[a]={}),t[a]===!1&&delete t[a]}),{params:t,passedParams:s,rest:r,events:n}}function Vi({el:e,nextEl:i,prevEl:t,paginationEl:n,scrollbarEl:s,swiper:r},l){ye(l)&&i&&t&&(r.params.navigation.nextEl=i,r.originalParams.navigation.nextEl=i,r.params.navigation.prevEl=t,r.originalParams.navigation.prevEl=t),Me(l)&&n&&(r.params.pagination.el=n,r.originalParams.pagination.el=n),Le(l)&&s&&(r.params.scrollbar.el=s,r.originalParams.scrollbar.el=s),r.init(e)}const $e=(e,i)=>{let t=i.slidesPerView;if(i.breakpoints){const s=K.prototype.getBreakpoint(i.breakpoints),r=s in i.breakpoints?i.breakpoints[s]:void 0;r&&r.slidesPerView&&(t=r.slidesPerView)}let n=Math.ceil(parseFloat(i.loopedSlides||t,10));return n+=i.loopAdditionalSlides,n>e.length&&i.loopedSlidesLimit&&(n=e.length),n},le=await X("react");function Ri(e,i,t){const n=i.map((a,o)=>le.cloneElement(a,{swiper:e,"data-swiper-slide-index":o}));function s(a,o,c){return le.cloneElement(a,{key:`${a.key}-duplicate-${o}-${c}`,className:`${a.props.className||""} ${t.slideDuplicateClass}`})}if(t.loopFillGroupWithBlank){const a=t.slidesPerGroup-n.length%t.slidesPerGroup;if(a!==t.slidesPerGroup)for(let o=0;o<a;o+=1){const c=le.createElement("div",{className:`${t.slideClass} ${t.slideBlankClass}`});n.push(c)}}t.slidesPerView==="auto"&&!t.loopedSlides&&(t.loopedSlides=n.length);const r=$e(n,t),l=[],d=[];for(let a=0;a<r;a+=1){const o=a-Math.floor(a/n.length)*n.length;d.push(s(n[o],a,"append")),l.unshift(s(n[n.length-o-1],a,"prepend"))}return e&&(e.loopedSlides=r),[...l,...n,...d]}function ji(e,i,t,n,s){const r=[];if(!i)return r;const l=a=>{r.indexOf(a)<0&&r.push(a)};if(t&&n){const a=n.map(s),o=t.map(s);a.join("")!==o.join("")&&l("children"),n.length!==t.length&&l("children")}return Pe.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in e&&a in i)if(W(e[a])&&W(i[a])){const o=Object.keys(e[a]),c=Object.keys(i[a]);o.length!==c.length?l(a):(o.forEach(u=>{e[a][u]!==i[a][u]&&l(a)}),c.forEach(u=>{e[a][u]!==i[a][u]&&l(a)}))}else e[a]!==i[a]&&l(a)}),r}const Ie=await X("react");function _e(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function ze(e){const i=[];return Ie.Children.toArray(e).forEach(t=>{_e(t)?i.push(t):t.props&&t.props.children&&ze(t.props.children).forEach(n=>i.push(n))}),i}function Fi(e){const i=[],t={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return Ie.Children.toArray(e).forEach(n=>{if(_e(n))i.push(n);else if(n.props&&n.props.slot&&t[n.props.slot])t[n.props.slot].push(n);else if(n.props&&n.props.children){const s=ze(n.props.children);s.length>0?s.forEach(r=>i.push(r)):t["container-end"].push(n)}else t["container-end"].push(n)}),{slides:i,slots:t}}function Wi({swiper:e,slides:i,passedParams:t,changedParams:n,nextEl:s,prevEl:r,scrollbarEl:l,paginationEl:d}){const a=n.filter(E=>E!=="children"&&E!=="direction"),{params:o,pagination:c,navigation:u,scrollbar:f,virtual:p,thumbs:h}=e;let T,v,m,g,b;n.includes("thumbs")&&t.thumbs&&t.thumbs.swiper&&o.thumbs&&!o.thumbs.swiper&&(T=!0),n.includes("controller")&&t.controller&&t.controller.control&&o.controller&&!o.controller.control&&(v=!0),n.includes("pagination")&&t.pagination&&(t.pagination.el||d)&&(o.pagination||o.pagination===!1)&&c&&!c.el&&(m=!0),n.includes("scrollbar")&&t.scrollbar&&(t.scrollbar.el||l)&&(o.scrollbar||o.scrollbar===!1)&&f&&!f.el&&(g=!0),n.includes("navigation")&&t.navigation&&(t.navigation.prevEl||r)&&(t.navigation.nextEl||s)&&(o.navigation||o.navigation===!1)&&u&&!u.prevEl&&!u.nextEl&&(b=!0);const M=E=>{e[E]&&(e[E].destroy(),E==="navigation"?(o[E].prevEl=void 0,o[E].nextEl=void 0,e[E].prevEl=void 0,e[E].nextEl=void 0):(o[E].el=void 0,e[E].el=void 0))};a.forEach(E=>{if(W(o[E])&&W(t[E]))V(o[E],t[E]);else{const P=t[E];(P===!0||P===!1)&&(E==="navigation"||E==="pagination"||E==="scrollbar")?P===!1&&M(E):o[E]=t[E]}}),a.includes("controller")&&!v&&e.controller&&e.controller.control&&o.controller&&o.controller.control&&(e.controller.control=o.controller.control),n.includes("children")&&i&&p&&o.virtual.enabled?(p.slides=i,p.update(!0)):n.includes("children")&&e.lazy&&e.params.lazy.enabled&&e.lazy.load(),T&&h.init()&&h.update(!0),v&&(e.controller.control=o.controller.control),m&&(d&&(o.pagination.el=d),c.init(),c.render(),c.update()),g&&(l&&(o.scrollbar.el=l),f.init(),f.updateSize(),f.setTranslate()),b&&(s&&(o.navigation.nextEl=s),r&&(o.navigation.prevEl=r),u.init(),u.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=t.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=t.allowSlidePrev),n.includes("direction")&&e.changeDirection(t.direction,!1),e.update()}const Xi=await X("react");function Yi(e,i,t){if(!t)return null;const n=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${t.offset}px`}:{top:`${t.offset}px`};return i.filter((s,r)=>r>=t.from&&r<=t.to).map(s=>Xi.cloneElement(s,{swiper:e,style:n}))}const qi=e=>{!e||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())},{useEffect:Ki,useLayoutEffect:Ui}=await X("react");function U(e,i){return typeof window>"u"?Ki(e,i):Ui(e,i)}const{createContext:De,useContext:dn}=await X("react"),Zi=De(null),Ji=De(null);function de(){return de=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},de.apply(this,arguments)}const A=await X("react"),{useRef:N,useState:oe,useEffect:Se,forwardRef:Qi}=A,en=Qi(function(e,i){let{className:t,tag:n="div",wrapperTag:s="div",children:r,onSwiper:l,...d}=e===void 0?{}:e,a=!1;const[o,c]=oe("swiper"),[u,f]=oe(null),[p,h]=oe(!1),T=N(!1),v=N(null),m=N(null),g=N(null),b=N(null),M=N(null),E=N(null),P=N(null),L=N(null),{params:C,passedParams:O,rest:x,events:w}=Hi(d),{slides:y,slots:$}=Fi(r),B=()=>{h(!p)};Object.assign(C.on,{_containerClasses(_,q){c(q)}});const R=()=>{if(Object.assign(C.on,w),a=!0,m.current=new K(C),m.current.loopCreate=()=>{},m.current.loopDestroy=()=>{},C.loop&&(m.current.loopedSlides=$e(y,C)),m.current.virtual&&m.current.params.virtual.enabled){m.current.virtual.slides=y;const _={cache:!1,slides:y,renderExternal:f,renderExternalUpdate:!1};V(m.current.params.virtual,_),V(m.current.originalParams.virtual,_)}};v.current||R(),m.current&&m.current.on("_beforeBreakpoint",B);const j=()=>{a||!w||!m.current||Object.keys(w).forEach(_=>{m.current.on(_,w[_])})},Y=()=>{!w||!m.current||Object.keys(w).forEach(_=>{m.current.off(_,w[_])})};Se(()=>()=>{m.current&&m.current.off("_beforeBreakpoint",B)}),Se(()=>{!T.current&&m.current&&(m.current.emitSlidesClasses(),T.current=!0)}),U(()=>{if(i&&(i.current=v.current),!!v.current)return m.current.destroyed&&R(),Vi({el:v.current,nextEl:M.current,prevEl:E.current,paginationEl:P.current,scrollbarEl:L.current,swiper:m.current},C),l&&l(m.current),()=>{m.current&&!m.current.destroyed&&m.current.destroy(!0,!1)}},[]),U(()=>{j();const _=ji(O,g.current,y,b.current,q=>q.key);return g.current=O,b.current=y,_.length&&m.current&&!m.current.destroyed&&Wi({swiper:m.current,slides:y,passedParams:O,changedParams:_,nextEl:M.current,prevEl:E.current,scrollbarEl:L.current,paginationEl:P.current}),()=>{Y()}}),U(()=>{qi(m.current)},[u]);function F(){return C.virtual?Yi(m.current,y,u):!C.loop||m.current&&m.current.destroyed?y.map(_=>A.cloneElement(_,{swiper:m.current})):Ri(m.current,y,C)}return A.createElement(n,de({ref:v,className:Oe(`${o}${t?` ${t}`:""}`)},x),A.createElement(Ji.Provider,{value:m.current},$["container-start"],A.createElement(s,{className:"swiper-wrapper"},$["wrapper-start"],F(),$["wrapper-end"]),ye(C)&&A.createElement(A.Fragment,null,A.createElement("div",{ref:E,className:"swiper-button-prev"}),A.createElement("div",{ref:M,className:"swiper-button-next"})),Le(C)&&A.createElement("div",{ref:L,className:"swiper-scrollbar"}),Me(C)&&A.createElement("div",{ref:P,className:"swiper-pagination"}),$["container-end"]))});en.displayName="Swiper";function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},ce.apply(this,arguments)}const te=await X("react"),{useRef:tn,useState:nn,forwardRef:sn}=te,rn=sn(function(e,i){let{tag:t="div",children:n,className:s="",swiper:r,zoom:l,virtualIndex:d,...a}=e===void 0?{}:e;const o=tn(null),[c,u]=nn("swiper-slide");function f(T,v,m){v===o.current&&u(m)}U(()=>{if(i&&(i.current=o.current),!(!o.current||!r)){if(r.destroyed){c!=="swiper-slide"&&u("swiper-slide");return}return r.on("_slideClass",f),()=>{r&&r.off("_slideClass",f)}}}),U(()=>{r&&o.current&&!r.destroyed&&u(r.getSlideClasses(o.current))},[r]);const p={isActive:c.indexOf("swiper-slide-active")>=0||c.indexOf("swiper-slide-duplicate-active")>=0,isVisible:c.indexOf("swiper-slide-visible")>=0,isDuplicate:c.indexOf("swiper-slide-duplicate")>=0,isPrev:c.indexOf("swiper-slide-prev")>=0||c.indexOf("swiper-slide-duplicate-prev")>=0,isNext:c.indexOf("swiper-slide-next")>=0||c.indexOf("swiper-slide-duplicate-next")>=0},h=()=>typeof n=="function"?n(p):n;return te.createElement(t,ce({ref:o,className:Oe(`${c}${s?` ${s}`:""}`),"data-swiper-slide-index":d},a),te.createElement(Zi.Provider,{value:p},l?te.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof l=="number"?l:void 0},h()):h()))});rn.displayName="SwiperSlide";export{ln as M,on as N,en as S,rn as a};
//# sourceMappingURL=pagination.min-V9f1lLat.js.map