PageSourceSearch

https://www.brass-gruppe.de/assets/dist/index-BplofajJ.js

js brass-gruppe.de collected 2026-10-08 03:48:28 UTC 188,205 bytes, 14 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["forms-BHfhrrtD.js","forms-CksuuEqD.css","locationMap-D7vtP6Ki.js","locationMap-CIGW-MKW.css"])))=>i.map(i=>d[i]);
2const Dt="modulepreload",wt=function(e){return"/assets/dist/"+e},et={},St=function(s,t,i){let n=Promise.resolve();if(t&&t.length>0){let f=function(m){return Promise.all(m.map(u=>Promise.resolve(u).then(g=>({status:"fulfilled",value:g}),g=>({status:"rejected",reason:g}))))};var d=f;document.getElementsByTagName("link");const c=document.querySelector("meta[property=csp-nonce]"),l=c?.nonce||c?.getAttribute("nonce");n=f(t.map(m=>{if(m=wt(m),m in et)return;et[m]=!0;const u=m.endsWith(".css"),g=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${m}"]${g}`))return;const r=document.createElement("link");if(r.rel=u?"stylesheet":Dt,u||(r.as="script"),r.crossOrigin="",r.href=m,l&&r.setAttribute("nonce",l),document.head.appendChild(r),u)return new Promise((o,h)=>{r.addEventListener("load",o),r.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${m}`)))})}))}function a(c){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=c,window.dispatchEvent(l),!l.defaultPrevented)throw c}return n.then(c=>{for(const l of c||[])l.status==="rejected"&&a(l.reason);return s().catch(a)})};function tt(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function Ke(e={},s={}){const t=["__proto__","constructor","prototype"];Object.keys(s).filter(i=>t.indexOf(i)<0).forEach(i=>{typeof e[i]>"u"?e[i]=s[i]:tt(s[i])&&tt(e[i])&&Object.keys(s[i]).length>0&&Ke(e[i],s[i])})}const Et={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 F(){const e=typeof document<"u"?document:{};return Ke(e,Et),e}const zt={document:Et,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 R(){const e=typeof window<"u"?window:{};return Ke(e,zt),e}function le(e=""){return e.trim().split(" ").filter(s=>!!s.trim())}function kt(e){const s=e;Object.keys(s).forEach(t=>{try{s[t]=null}catch{}try{delete s[t]}catch{}})}function ge(e,s=0){return setTimeout(e,s)}function J(){return Date.now()}function Ot(e){const s=R();let t;return s.getComputedStyle&&(t=s.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}function Xe(e,s="x"){const t=R();let i,n,a;const d=Ot(e);return t.WebKitCSSMatrix?(n=d.transform||d.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(c=>c.replace(",",".")).join(", ")),a=new t.WebKitCSSMatrix(n==="none"?"":n)):(a=d.MozTransform||d.OTransform||d.MsTransform||d.msTransform||d.transform||d.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=a.toString().split(",")),s==="x"&&(t.WebKitCSSMatrix?n=a.m41:i.length===16?n=parseFloat(i[12]):n=parseFloat(i[4])),s==="y"&&(t.WebKitCSSMatrix?n=a.m42:i.length===16?n=parseFloat(i[13]):n=parseFloat(i[5])),n||0}function xe(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function $t(e){return typeof window<"u"&&typeof window.HTMLElement<"u"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function Z(...e){const s=Object(e[0]);for(let t=1;t<e.length;t+=1){const i=e[t];if(i!=null&&!$t(i)){const n=Object.keys(Object(i)).filter(a=>a!=="__proto__"&&a!=="constructor"&&a!=="prototype");for(let a=0,d=n.length;a<d;a+=1){const c=n[a],l=Object.getOwnPropertyDescriptor(i,c);l!==void 0&&l.enumerable&&(xe(s[c])&&xe(i[c])?i[c].__swiper__?s[c]=i[c]:Z(s[c],i[c]):!xe(s[c])&&xe(i[c])?(s[c]={},i[c].__swiper__?s[c]=i[c]:Z(s[c],i[c])):s[c]=i[c])}}}return s}function ce(e,s,t){e.style.setProperty(s,t)}function xt({swiper:e,targetPosition:s,side:t}){const i=R(),n=-e.translate;let a=null,d;const c=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const l=s>n?"next":"prev",f=(u,g)=>l==="next"&&u>=g||l==="prev"&&u<=g,m=()=>{d=new Date().getTime(),a===null&&(a=d);const u=Math.max(Math.min((d-a)/c,1),0),g=.5-Math.cos(u*Math.PI)/2;let r=n+g*(s-n);
vendor: 31,569 bytes, line 2
2if(f(r,s)&&(r=s),e.wrapperEl.scrollTo({[t]:r}),f(r,s)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[t]:r})}),i.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=i.requestAnimationFrame(m)};m()}function fe(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function Y(e,s=""){const t=R(),i=[...e.children];return t.HTMLSlotElement&&e instanceof HTMLSlotElement&&i.push(...e.assignedElements()),s?i.filter(n=>n.matches(s)):i}function _t(e,s){const t=[s];for(;t.length>0;){const i=t.shift();if(e===i)return!0;t.push(...i.children,...i.shadowRoot?i.shadowRoot.children:[],...i.assignedElements?i.assignedElements():[])}}function Bt(e,s){const t=R();let i=s.contains(e);return!i&&t.HTMLSlotElement&&s instanceof HTMLSlotElement&&(i=[...s.assignedElements()].includes(e),i||(i=_t(e,s))),i}function De(e){try{return}catch{}}function Q(e,s=[]){const t=document.createElement(e);return t.classList.add(...Array.isArray(s)?s:le(s)),t}function we(e){const s=R(),t=F(),i=e.getBoundingClientRect(),n=t.body,a=e.clientTop||n.clientTop||0,d=e.clientLeft||n.clientLeft||0,c=e===s?s.scrollY:e.scrollTop,l=e===s?s.scrollX:e.scrollLeft;return{top:i.top+c-a,left:i.left+l-d}}function qt(e,s){const t=[];for(;e.previousElementSibling;){const i=e.previousElementSibling;s?i.matches(s)&&t.push(i):t.push(i),e=i}return t}function Vt(e,s){const t=[];for(;e.nextElementSibling;){const i=e.nextElementSibling;s?i.matches(s)&&t.push(i):t.push(i),e=i}return t}function oe(e,s){return R().getComputedStyle(e,null).getPropertyValue(s)}function Me(e){let s=e,t;if(s){for(t=0;(s=s.previousSibling)!==null;)s.nodeType===1&&(t+=1);return t}}function ue(e,s){const t=[];let i=e.parentElement;for(;i;)s?i.matches(s)&&t.push(i):t.push(i),i=i.parentElement;return t}function Te(e,s){function t(i){i.target===e&&(s.call(e,i),e.removeEventListener("transitionend",t))}s&&e.addEventListener("transitionend",t)}function Ye(e,s,t){const i=R();return e[s==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue(s==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue(s==="width"?"margin-left":"margin-bottom"))}function G(e){return(Array.isArray(e)?e:[e]).filter(s=>!!s)}function ze(e){return s=>Math.abs(s)>0&&e.browser&&e.browser.need3dFix&&Math.abs(s)%90===0?s+.001:s}function te(e,s=""){typeof trustedTypes<"u"?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:t=>t}).createHTML(s):e.innerHTML=s}let Ve;function Ht(){const e=R(),s=F();return{smoothScroll:s.documentElement&&s.documentElement.style&&"scrollBehavior"in s.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&s instanceof e.DocumentTouch)}}function Tt(){return Ve||(Ve=Ht()),Ve}let He;function Nt({userAgent:e}={}){const s=Tt(),t=R(),i=t.navigator.platform,n=e||t.navigator.userAgent,a={ios:!1,android:!1},d=t.screen.width,c=t.screen.height,l=n.match(/(Android);?[\s\/]+([\d.]+)?/);let f=n.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const m=n.match(/(iPod)(.*OS\s([\d_]+))?/),u=!f&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),g=i==="Win32";let r=i==="MacIntel";const o=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!f&&r&&s.touch&&o.indexOf(`${d}x${c}`)>=0&&(f=n.match(/(Version)\/([\d.]+)/),f||(f=[0,1,"13_0_0"]),r=!1),l&&!g&&(a.os="android",a.android=!0),(f||u||m)&&(a.os="ios",a.ios=!0),a}function Mt(e={}){return He||(He=Nt(e)),He}let Ne;function Gt(){const e=R(),s=Mt();let t=!1;function i(){const c=e.navigator.userAgent.toLowerCase();return c.indexOf("safari")>=0&&c.indexOf("chrome")<0&&c.indexOf("android")<0}if(i()){const c=String(e.navigator.userAgent);if(c.includes("Version/")){const[l,f]=c.split("Version/")[1].split(" ")[0].split(".").map(m=>Number(m));t=l<16||l===16&&f<2}}const n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),a=i(),d=a||n&&s.ios;return{isSafari:t||a,needPerspectiveFix:t,need3dFix:d,isWebView:n}}function Ct(){return Ne||(Ne=Gt()),Ne}function Rt({swiper:e,on:s,emit:t}){const i=R();let n=null,a=null;const d=()=>{!e||e.destroyed||!e.initialized||(t("beforeResize"),t("resize"))},c=()=>{!e||e.destroyed||!e.initialized||(n=new ResizeObserver(m=>{a=i.requestAnimationFrame(()=>{const{width:u,height:g}=e;let r=u,o=g;m.forEach(({contentBoxSize:h,contentRect:b,target:p})=>{p&&p!==e.el||(r=b?b.width:(h[0]||h).inlineSize,o=b?b.height:(h[0]||h).blockSize)}),(r!==u||o!==g)&&d()})}),n.observe(e.el))},l=()=>{a&&i.cancelAnimationFrame(a),n&&n.unobserve&&e.el&&(n.unobserve(e.el),n=null)},f=()=>{!e||e.destroyed||!e.initialized||t("orientationchange")};s("init",()=>{if(e.params.resizeObserver&&typeof i.ResizeObserver<"u"){c();return}i.addEventListener("resize",d),i.addEventListener("orientationchange",f)}),s("destroy",()=>{l(),i.removeEventListener("resize",d),i.removeEventListener("orientationchange",f)})}function Wt({swiper:e,extendParams:s,on:t,emit:i}){const n=[],a=R(),d=(f,m={})=>{const u=a.MutationObserver||a.WebkitMutationObserver,g=new u(r=>{if(e.__preventObserver__)return;if(r.length===1){i("observerUpdate",r[0]);return}const o=function(){i("observerUpdate",r[0])};a.requestAnimationFrame?a.requestAnimationFrame(o):a.setTimeout(o,0)});g.observe(f,{attributes:typeof m.attributes>"u"?!0:m.attributes,childList:e.isElement||(typeof m.childList>"u"?!0:m).childList,characterData:typeof m.characterData>"u"?!0:m.characterData}),n.push(g)},c=()=>{if(e.params.observer){if(e.params.observeParents){const f=ue(e.hostEl);for(let m=0;m<f.length;m+=1)d(f[m])}d(e.hostEl,{childList:e.params.observeSlideChildren}),d(e.wrapperEl,{attributes:!1})}},l=()=>{n.forEach(f=>{f.disconnect()}),n.splice(0,n.length)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),t("init",c),t("destroy",l)}var Ft={on(e,s,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof s!="function")return i;const n=t?"unshift":"push";return e.split(" ").forEach(a=>{i.eventsListeners[a]||(i.eventsListeners[a]=[]),i.eventsListeners[a][n](s)}),i},once(e,s,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof s!="function")return i;function n(...a){i.off(e,n),n.__emitterProxy&&delete n.__emitterProxy,s.apply(i,a)}return n.__emitterProxy=s,i.on(e,n,t)},onAny(e,s){const t=this;if(!t.eventsListeners||t.destroyed||typeof e!="function")return t;const i=s?"unshift":"push";return t.eventsAnyListeners.indexOf(e)<0&&t.eventsAnyListeners[i](e),t},offAny(e){const s=this;if(!s.eventsListeners||s.destroyed||!s.eventsAnyListeners)return s;const t=s.eventsAnyListeners.indexOf(e);return t>=0&&s.eventsAnyListeners.splice(t,1),s},off(e,s){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||e.split(" ").forEach(i=>{typeof s>"u"?t.eventsListeners[i]=[]:t.eventsListeners[i]&&t.eventsListeners[i].forEach((n,a)=>{(n===s||n.__emitterProxy&&n.__emitterProxy===s)&&t.eventsListeners[i].splice(a,1)})}),t},emit(...e){const s=this;if(!s.eventsListeners||s.destroyed||!s.eventsListeners)return s;let t,i,n;return typeof e[0]=="string"||Array.isArray(e[0])?(t=e[0],i=e.slice(1,e.length),n=s):(t=e[0].events,i=e[0].data,n=e[0].context||s),i.unshift(n),(Array.isArray(t)?t:t.split(" ")).forEach(d=>{s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEach(c=>{c.apply(n,[d,...i])}),s.eventsListeners&&s.eventsListeners[d]&&s.eventsListeners[d].forEach(c=>{c.apply(n,i)})}),s}};function Xt(){const e=this;let s,t;const i=e.el;typeof e.params.width<"u"&&e.params.width!==null?s=e.params.width:s=i.clientWidth,typeof e.params.height<"u"&&e.params.height!==null?t=e.params.height:t=i.clientHeight,!(s===0&&e.isHorizontal()||t===0&&e.isVertical())&&(s=s-parseInt(oe(i,"padding-left")||0,10)-parseInt(oe(i,"padding-right")||0,10),t=t-parseInt(oe(i,"padding-top")||0,10)-parseInt(oe(i,"padding-bottom")||0,10),Number.isNaN(s)&&(s=0),Number.isNaN(t)&&(t=0),Object.assign(e,{width:s,height:t,size:e.isHorizontal()?s:t}))}function Yt(){const e=this;function s(A,x){return parseFloat(A.getPropertyValue(e.getDirectionLabel(x))||0)}const t=e.params,{wrapperEl:i,slidesEl:n,rtlTranslate:a,wrongRTL:d}=e,c=e.virtual&&t.virtual.enabled,l=c?e.virtual.slides.length:e.slides.length,f=Y(n,`.${e.params.slideClass}, swiper-slide`),m=c?e.virtual.slides.length:f.length;let u=[];const g=[],r=[];let o=t.slidesOffsetBefore;typeof o=="function"&&(o=t.slidesOffsetBefore.call(e));let h=t.slidesOffsetAfter;typeof h=="function"&&(h=t.slidesOffsetAfter.call(e));const b=e.snapGrid.length,p=e.slidesGrid.length,v=e.size-o-h;let y=t.spaceBetween,T=-o,C=0,P=0;if(typeof v>"u")return;typeof y=="string"&&y.indexOf("%")>=0?y=parseFloat(y.replace("%",""))/100*v:typeof y=="string"&&(y=parseFloat(y)),e.virtualSize=-y-o-h,f.forEach(A=>{a?A.style.marginLeft="":A.style.marginRight="",A.style.marginBottom="",A.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(ce(i,"--swiper-centered-offset-before",""),ce(i,"--swiper-centered-offset-after","")),t.cssMode&&(ce(i,"--swiper-slides-offset-before",`${o}px`),ce(i,"--swiper-slides-offset-after",`${h}px`));const D=t.grid&&t.grid.rows>1&&e.grid;D?e.grid.initSlides(f):e.grid&&e.grid.unsetSlides();let E;const O=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(A=>typeof t.breakpoints[A].slidesPerView<"u").length>0;for(let A=0;A<m;A+=1){E=0;const x=f[A];if(!(x&&(D&&e.grid.updateSlide(A,x,f),oe(x,"display")==="none"))){if(c&&t.slidesPerView==="auto")t.virtual.slidesPerViewAutoSlideSize&&(E=t.virtual.slidesPerViewAutoSlideSize),E&&x&&(t.roundLengths&&(E=Math.floor(E)),x.style[e.getDirectionLabel("width")]=`${E}px`);else if(t.slidesPerView==="auto"){O&&(x.style[e.getDirectionLabel("width")]="");const M=getComputedStyle(x),L=x.style.transform,I=x.style.webkitTransform;if(L&&(x.style.transform="none"),I&&(x.style.webkitTransform="none"),t.roundLengths)E=e.isHorizontal()?Ye(x,"width"):Ye(x,"height");else{const S=s(M,"width"),z=s(M,"padding-left"),k=s(M,"padding-right"),w=s(M,"margin-left"),V=s(M,"margin-right"),N=M.getPropertyValue("box-sizing");if(N&&N==="border-box")E=S+w+V;else{const{clientWidth:K,offsetWidth:X}=x;E=S+z+k+w+V+(X-K)}}L&&(x.style.transform=L),I&&(x.style.webkitTransform=I),t.roundLengths&&(E=Math.floor(E))}else E=(v-(t.slidesPerView-1)*y)/t.slidesPerView,t.roundLengths&&(E=Math.floor(E)),x&&(x.style[e.getDirectionLabel("width")]=`${E}px`);x&&(x.swiperSlideSize=E),r.push(E),t.centeredSlides?(T=T+E/2+C/2+y,C===0&&A!==0&&(T=T-v/2-y),A===0&&(T=T-v/2-y),Math.abs(T)<1/1e3&&(T=0),t.roundLengths&&(T=Math.floor(T)),P%t.slidesPerGroup===0&&u.push(T),g.push(T)):(t.roundLengths&&(T=Math.floor(T)),(P-Math.min(e.params.slidesPerGroupSkip,P))%e.params.slidesPerGroup===0&&u.push(T),g.push(T),T=T+E+y),e.virtualSize+=E+y,C=E,P+=1}}if(e.virtualSize=Math.max(e.virtualSize,v)+h,a&&d&&(t.effect==="slide"||t.effect==="coverflow")&&(i.style.width=`${e.virtualSize+y}px`),t.setWrapperSize&&(i.style[e.getDirectionLabel("width")]=`${e.virtualSize+y}px`),D&&e.grid.updateWrapperSize(E,u),!t.centeredSlides){const A=t.slidesPerView!=="auto"&&t.slidesPerView%1!==0,x=t.snapToSlideEdge&&!t.loop&&(t.slidesPerView==="auto"||A);let M=u.length;if(x){let I;if(t.slidesPerView==="auto"){I=1;let S=0;for(let z=r.length-1;z>=0&&(S+=r[z]+(z<r.length-1?y:0),S<=v);z-=1)I=r.length-z}else I=Math.floor(t.slidesPerView);M=Math.max(m-I,0)}const L=[];for(let I=0;I<u.length;I+=1){let S=u[I];t.roundLengths&&(S=Math.floor(S)),x?I<=M&&L.push(S):u[I]<=e.virtualSize-v&&L.push(S)}u=L,Math.floor(e.virtualSize-v)-Math.floor(u[u.length-1])>1&&(x||u.push(e.virtualSize-v))}if(c&&t.loop){const A=r[0]+y;if(t.slidesPerGroup>1){const x=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/t.slidesPerGroup),M=A*t.slidesPerGroup;for(let L=0;L<x;L+=1)u.push(u[u.length-1]+M)}for(let x=0;x<e.virtual.slidesBefore+e.virtual.slidesAfter;x+=1)t.slidesPerGroup===1&&u.push(u[u.length-1]+A),g.push(g[g.length-1]+A),e.virtualSize+=A}if(u.length===0&&(u=[0]),y!==0){const A=e.isHorizontal()&&a?"marginLeft":e.getDirectionLabel("marginRight");f.filter((x,M)=>!t.cssMode||t.loop?!0:M!==f.length-1).forEach(x=>{x.style[A]=`${y}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let A=0;r.forEach(M=>{A+=M+(y||0)}),A-=y;const x=A>v?A-v:0;u=u.map(M=>M<=0?-o:M>x?x+h:M)}if(t.centerInsufficientSlides){let A=0;if(r.forEach(x=>{A+=x+(y||0)}),A-=y,A<v){const x=(v-A)/2;u.forEach((M,L)=>{u[L]=M-x}),g.forEach((M,L)=>{g[L]=M+x})}}if(Object.assign(e,{slides:f,snapGrid:u,slidesGrid:g,slidesSizesGrid:r}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){ce(i,"--swiper-centered-offset-before",`${-u[0]}px`),ce(i,"--swiper-centered-offset-after",`${e.size/2-r[r.length-1]/2}px`);const A=-e.snapGrid[0],x=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(M=>M+A),e.slidesGrid=e.slidesGrid.map(M=>M+x)}if(m!==l&&e.emit("slidesLengthChange"),u.length!==b&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),g.length!==p&&e.emit("slidesGridLengthChange"),t.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!c&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const A=`${t.containerModifierClass}backface-hidden`,x=e.el.classList.contains(A);m<=t.maxBackfaceHiddenSlides?x||e.el.classList.add(A):x&&e.el.classList.remove(A)}}function jt(e){const s=this,t=[],i=s.virtual&&s.params.virtual.enabled;let n=0,a;typeof e=="number"?s.setTransition(e):e===!0&&s.setTransition(s.params.speed);const d=c=>i?s.slides[s.getSlideIndexByData(c)]:s.slides[c];if(s.params.slidesPerView!=="auto"&&s.params.slidesPerView>1)if(s.params.centeredSlides)(s.visibleSlides||[]).forEach(c=>{t.push(c)});else for(a=0;a<Math.ceil(s.params.slidesPerView);a+=1){const c=s.activeIndex+a;if(c>s.slides.length&&!i)break;t.push(d(c))}else t.push(d(s.activeIndex));for(a=0;a<t.length;a+=1)if(typeof t[a]<"u"){const c=t[a].offsetHeight;n=c>n?c:n}(n||n===0)&&(s.wrapperEl.style.height=`${n}px`)}function Ut(){const e=this,s=e.slides,t=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let i=0;i<s.length;i+=1)s[i].swiperSlideOffset=(e.isHorizontal()?s[i].offsetLeft:s[i].offsetTop)-t-e.cssOverflowAdjustment()}const st=(e,s,t)=>{s&&!e.classList.contains(t)?e.classList.add(t):!s&&e.classList.contains(t)&&e.classList.remove(t)};function Kt(e=this&&this.translate||0){const s=this,t=s.params,{slides:i,rtlTranslate:n,snapGrid:a}=s;if(i.length===0)return;typeof i[0].swiperSlideOffset>"u"&&s.updateSlidesOffset();let d=-e;n&&(d=e),s.visibleSlidesIndexes=[],s.visibleSlides=[];let c=t.spaceBetween;typeof c=="string"&&c.indexOf("%")>=0?c=parseFloat(c.replace("%",""))/100*s.size:typeof c=="string"&&(c=parseFloat(c));for(let l=0;l<i.length;l+=1){const f=i[l];let m=f.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(m-=i[0].swiperSlideOffset);const u=(d+(t.centeredSlides?s.minTranslate():0)-m)/(f.swiperSlideSize+c),g=(d-a[0]+(t.centeredSlides?s.minTranslate():0)-m)/(f.swiperSlideSize+c),r=-(d-m),o=r+s.slidesSizesGrid[l],h=r>=0&&r<=s.size-s.slidesSizesGrid[l],b=r>=0&&r<s.size-1||o>1&&o<=s.size||r<=0&&o>=s.size;b&&(s.visibleSlides.push(f),s.visibleSlidesIndexes.push(l)),st(f,b,t.slideVisibleClass),st(f,h,t.slideFullyVisibleClass),f.progress=n?-u:u,f.originalProgress=n?-g:g}}function Zt(e){const s=this;if(typeof e>"u"){const m=s.rtlTranslate?-1:1;e=s&&s.translate&&s.translate*m||0}const t=s.params,i=s.maxTranslate()-s.minTranslate();let{progress:n,isBeginning:a,isEnd:d,progressLoop:c}=s;const l=a,f=d;if(i===0)n=0,a=!0,d=!0;else{n=(e-s.minTranslate())/i;const m=Math.abs(e-s.minTranslate())<1,u=Math.abs(e-s.maxTranslate())<1;a=m||n<=0,d=u||n>=1,m&&(n=0),u&&(n=1)}if(t.loop){const m=s.getSlideIndexByData(0),u=s.getSlideIndexByData(s.slides.length-1),g=s.slidesGrid[m],r=s.slidesGrid[u],o=s.slidesGrid[s.slidesGrid.length-1],h=Math.abs(e);h>=g?c=(h-g)/o:c=(h+o-r)/o,c>1&&(c-=1)}Object.assign(s,{progress:n,progressLoop:c,isBeginning:a,isEnd:d}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&s.updateSlidesProgress(e),a&&!l&&s.emit("reachBeginning toEdge"),d&&!f&&s.emit("reachEnd toEdge"),(l&&!a||f&&!d)&&s.emit("fromEdge"),s.emit("progress",n)}const Ge=(e,s,t)=>{s&&!e.classList.contains(t)?e.classList.add(t):!s&&e.classList.contains(t)&&e.classList.remove(t)};function Qt(){const e=this,{slides:s,params:t,slidesEl:i,activeIndex:n}=e,a=e.virtual&&t.virtual.enabled,d=e.grid&&t.grid&&t.grid.rows>1,c=u=>Y(i,`.${t.slideClass}${u}, swiper-slide${u}`)[0];let l,f,m;if(a)if(t.loop){let u=n-e.virtual.slidesBefore;u<0&&(u=e.virtual.slides.length+u),u>=e.virtual.slides.length&&(u-=e.virtual.slides.length),l=c(`[data-swiper-slide-index="${u}"]`)}else l=c(`[data-swiper-slide-index="${n}"]`);else d?(l=s.find(u=>u.column===n),m=s.find(u=>u.column===n+1),f=s.find(u=>u.column===n-1)):l=s[n];l&&(d||(m=Vt(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!m&&(m=s[0]),f=qt(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!f===0&&(f=s[s.length-1]))),s.forEach(u=>{Ge(u,u===l,t.slideActiveClass),Ge(u,u===m,t.slideNextClass),Ge(u,u===f,t.slidePrevClass)}),e.emitSlidesClasses()}const Ie=(e,s)=>{if(!e||e.destroyed||!e.params)return;const t=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,i=s.closest(t());if(i){let n=i.querySelector(`.${e.params.lazyPreloaderClass}`);!n&&e.isElement&&(i.shadowRoot?n=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(n=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),n&&!n.lazyPreloaderManaged&&n.remove())})),n&&!n.lazyPreloaderManaged&&n.remove()}},Re=(e,s)=>{if(!e.slides[s])return;const t=e.slides[s].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},je=e=>{if(!e||e.destroyed||!e.params)return;let s=e.params.lazyPreloadPrevNext;const t=e.slides.length;if(!t||!s||s<0)return;s=Math.min(s,t);const i=e.params.slidesPerView==="auto"?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),n=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const d=n,c=[d-s];c.push(...Array.from({length:s}).map((l,f)=>d+i+f)),e.slides.forEach((l,f)=>{c.includes(l.column)&&Re(e,f)});return}const a=n+i-1;if(e.params.rewind||e.params.loop)for(let d=n-s;d<=a+s;d+=1){const c=(d%t+t)%t;(c<n||c>a)&&Re(e,c)}else for(let d=Math.max(n-s,0);d<=Math.min(a+s,t-1);d+=1)d!==n&&(d>a||d<n)&&Re(e,d)};function Jt(e){const{slidesGrid:s,params:t}=e,i=e.rtlTranslate?e.translate:-e.translate;let n;for(let a=0;a<s.length;a+=1)typeof s[a+1]<"u"?i>=s[a]&&i<s[a+1]-(s[a+1]-s[a])/2?n=a:i>=s[a]&&i<s[a+1]&&(n=a+1):i>=s[a]&&(n=a);return t.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function es(e){const s=this,t=s.rtlTranslate?s.translate:-s.translate,{snapGrid:i,params:n,activeIndex:a,realIndex:d,snapIndex:c}=s;let l=e,f;const m=r=>{let o=r-s.virtual.slidesBefore;return o<0&&(o=s.virtual.slides.length+o),o>=s.virtual.slides.length&&(o-=s.virtual.slides.length),o};if(typeof l>"u"&&(l=Jt(s)),i.indexOf(t)>=0)f=i.indexOf(t);else{const r=Math.min(n.slidesPerGroupSkip,l);f=r+Math.floor((l-r)/n.slidesPerGroup)}if(f>=i.length&&(f=i.length-1),l===a&&!s.params.loop){f!==c&&(s.snapIndex=f,s.emit("snapIndexChange"));return}if(l===a&&s.params.loop&&s.virtual&&s.params.virtual.enabled){s.realIndex=m(l);return}const u=s.grid&&n.grid&&n.grid.rows>1;let g;if(s.virtual&&n.virtual.enabled)n.loop?g=m(l):g=l;else if(u){const r=s.slides.find(h=>h.column===l);let o=parseInt(r.getAttribute("data-swiper-slide-index"),10);Number.isNaN(o)&&(o=Math.max(s.slides.indexOf(r),0)),g=Math.floor(o/n.grid.rows)}else if(s.slides[l]){const r=s.slides[l].getAttribute("data-swiper-slide-index");r?g=parseInt(r,10):g=l}else g=l;Object.assign(s,{previousSnapIndex:c,snapIndex:f,previousRealIndex:d,realIndex:g,previousIndex:a,activeIndex:l}),s.initialized&&je(s),s.emit("activeIndexChange"),s.emit("snapIndexChange"),(s.initialized||s.params.runCallbacksOnInit)&&(d!==g&&s.emit("realIndexChange"),s.emit("slideChange"))}function ts(e,s){const t=this,i=t.params;let n=e.closest(`.${i.slideClass}, swiper-slide`);!n&&t.isElement&&s&&s.length>1&&s.includes(e)&&[...s.slice(s.indexOf(e)+1,s.length)].forEach(c=>{!n&&c.matches&&c.matches(`.${i.slideClass}, swiper-slide`)&&(n=c)});let a=!1,d;if(n){for(let c=0;c<t.slides.length;c+=1)if(t.slides[c]===n){a=!0,d=c;break}}if(n&&a)t.clickedSlide=n,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(n.getAttribute("data-swiper-slide-index"),10):t.clickedIndex=d;else{t.clickedSlide=void 0,t.clickedIndex=void 0;return}i.slideToClickedSlide&&t.clickedIndex!==void 0&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}var ss={updateSize:Xt,updateSlides:Yt,updateAutoHeight:jt,updateSlidesOffset:Ut,updateSlidesProgress:Kt,updateProgress:Zt,updateSlidesClasses:Qt,updateActiveIndex:es,updateClickedSlide:ts};function is(e=this.isHorizontal()?"x":"y"){const s=this,{params:t,rtlTranslate:i,translate:n,wrapperEl:a}=s;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let d=Xe(a,e);return d+=s.cssOverflowAdjustment(),i&&(d=-d),d||0}function as(e,s){const t=this,{rtlTranslate:i,params:n,wrapperEl:a,progress:d}=t;let c=0,l=0;const f=0;t.isHorizontal()?c=i?-e:e:l=e,n.roundLengths&&(c=Math.floor(c),l=Math.floor(l)),t.previousTranslate=t.translate,t.translate=t.isHorizontal()?c:l,n.cssMode?a[t.isHorizontal()?"scrollLeft":"scrollTop"]=t.isHorizontal()?-c:-l:n.virtualTranslate||(t.isHorizontal()?c-=t.cssOverflowAdjustment():l-=t.cssOverflowAdjustment(),a.style.transform=`translate3d(${c}px, ${l}px, ${f}px)`);let m;const u=t.maxTranslate()-t.minTranslate();u===0?m=0:m=(e-t.minTranslate())/u,m!==d&&t.updateProgress(e),t.emit("setTranslate",t.translate,s)}function ns(){return-this.snapGrid[0]}function rs(){return-this.snapGrid[this.snapGrid.length-1]}function ls(e=0,s=this.params.speed,t=!0,i=!0,n){const a=this,{params:d,wrapperEl:c}=a;if(a.animating&&d.preventInteractionOnTransition)return!1;const l=a.minTranslate(),f=a.maxTranslate();let m;if(i&&e>l?m=l:i&&e<f?m=f:m=e,a.updateProgress(m),d.cssMode){const u=a.isHorizontal();if(s===0)c[u?"scrollLeft":"scrollTop"]=-m;else{if(!a.support.smoothScroll)return xt({swiper:a,targetPosition:-m,side:u?"left":"top"}),!0;c.scrollTo({[u?"left":"top"]:-m,behavior:"smooth"})}return!0}return s===0?(a.setTransition(0),a.setTranslate(m),t&&(a.emit("beforeTransitionStart",s,n),a.emit("transitionEnd"))):(a.setTransition(s),a.setTranslate(m),t&&(a.emit("beforeTransitionStart",s,n),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(g){!a||a.destroyed||g.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,t&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}var os={getTranslate:is,setTranslate:as,minTranslate:ns,maxTranslate:rs,translateTo:ls};function ds(e,s){const t=this;t.params.cssMode||(t.wrapperEl.style.transitionDuration=`${e}ms`,t.wrapperEl.style.transitionDelay=e===0?"0ms":""),t.emit("setTransition",e,s)}function Lt({swiper:e,runCallbacks:s,direction:t,step:i}){const{activeIndex:n,previousIndex:a}=e;let d=t;d||(n>a?d="next":n<a?d="prev":d="reset"),e.emit(`transition${i}`),s&&d==="reset"?e.emit(`slideResetTransition${i}`):s&&n!==a&&(e.emit(`slideChangeTransition${i}`),d==="next"?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`))}function cs(e=!0,s){const t=this,{params:i}=t;i.cssMode||(i.autoHeight&&t.updateAutoHeight(),Lt({swiper:t,runCallbacks:e,direction:s,step:"Start"}))}function us(e=!0,s){const t=this,{params:i}=t;t.animating=!1,!i.cssMode&&(t.setTransition(0),Lt({swiper:t,runCallbacks:e,direction:s,step:"End"}))}var fs={setTransition:ds,transitionStart:cs,transitionEnd:us};function ms(e=0,s,t=!0,i,n){typeof e=="string"&&(e=parseInt(e,10));const a=this;let d=e;d<0&&(d=0);const{params:c,snapGrid:l,slidesGrid:f,previousIndex:m,activeIndex:u,rtlTranslate:g,wrapperEl:r,enabled:o}=a;if(!o&&!i&&!n||a.destroyed||a.animating&&c.preventInteractionOnTransition)return!1;typeof s>"u"&&(s=a.params.speed);const h=Math.min(a.params.slidesPerGroupSkip,d);let b=h+Math.floor((d-h)/a.params.slidesPerGroup);b>=l.length&&(b=l.length-1);const p=-l[b];if(c.normalizeSlideIndex)for(let D=0;D<f.length;D+=1){const E=-Math.floor(p*100),O=Math.floor(f[D]*100),A=Math.floor(f[D+1]*100);typeof f[D+1]<"u"?E>=O&&E<A-(A-O)/2?d=D:E>=O&&E<A&&(d=D+1):E>=O&&(d=D)}if(a.initialized&&d!==u&&(!a.allowSlideNext&&(g?p>a.translate&&p>a.minTranslate():p<a.translate&&p<a.minTranslate())||!a.allowSlidePrev&&p>a.translate&&p>a.maxTranslate()&&(u||0)!==d))return!1;d!==(m||0)&&t&&a.emit("beforeSlideChangeStart"),a.updateProgress(p);let v;d>u?v="next":d<u?v="prev":v="reset";const y=a.virtual&&a.params.virtual.enabled;if(!(y&&n)&&(g&&-p===a.translate||!g&&p===a.translate))return a.updateActiveIndex(d),c.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),c.effect!=="slide"&&a.setTranslate(p),v!=="reset"&&(a.transitionStart(t,v),a.transitionEnd(t,v)),!1;if(c.cssMode){const D=a.isHorizontal(),E=g?p:-p;if(s===0)y&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),y&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{r[D?"scrollLeft":"scrollTop"]=E})):r[D?"scrollLeft":"scrollTop"]=E,y&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1});else{if(!a.support.smoothScroll)return xt({swiper:a,targetPosition:E,side:D?"left":"top"}),!0;r.scrollTo({[D?"left":"top"]:E,behavior:"smooth"})}return!0}const P=Ct().isSafari;return y&&!n&&P&&a.isElement&&a.virtual.update(!1,!1,d),a.setTransition(s),a.setTranslate(p),a.updateActiveIndex(d),a.updateSlidesClasses(),a.emit("beforeTransitionStart",s,i),a.transitionStart(t,v),s===0?a.transitionEnd(t,v):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(E){!a||a.destroyed||E.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(t,v))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0}function hs(e=0,s,t=!0,i){typeof e=="string"&&(e=parseInt(e,10));const n=this;if(n.destroyed)return;typeof s>"u"&&(s=n.params.speed);const a=n.grid&&n.params.grid&&n.params.grid.rows>1;let d=e;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)d=d+n.virtual.slidesBefore;else{let c;if(a){const h=d*n.params.grid.rows;c=n.slides.find(b=>b.getAttribute("data-swiper-slide-index")*1===h).column}else c=n.getSlideIndexByData(d);const l=a?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:f,slidesOffsetBefore:m,slidesOffsetAfter:u}=n.params,g=f||!!m||!!u;let r=n.params.slidesPerView;r==="auto"?r=n.slidesPerViewDynamic():(r=Math.ceil(parseFloat(n.params.slidesPerView,10)),g&&r%2===0&&(r=r+1));let o=l-c<r;if(g&&(o=o||c<Math.ceil(r/2)),i&&g&&n.params.slidesPerView!=="auto"&&!a&&(o=!1),o){const h=g?c<n.activeIndex?"prev":"next":c-n.activeIndex-1<n.params.slidesPerView?"next":"prev";n.loopFix({direction:h,slideTo:!0,activeSlideIndex:h==="next"?c+1:c-l+1,slideRealIndex:h==="next"?n.realIndex:void 0})}if(a){const h=d*n.params.grid.rows;d=n.slides.find(b=>b.getAttribute("data-swiper-slide-index")*1===h).column}else d=n.getSlideIndexByData(d)}return requestAnimationFrame(()=>{n.slideTo(d,s,t,i)}),n}function ps(e,s=!0,t){const i=this,{enabled:n,params:a,animating:d}=i;if(!n||i.destroyed)return i;typeof e>"u"&&(e=i.params.speed);let c=a.slidesPerGroup;a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(c=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<a.slidesPerGroupSkip?1:c,f=i.virtual&&a.virtual.enabled;if(a.loop){if(d&&!f&&a.loopPreventsSliding)return!1;if(i.loopFix({direction:"next"}),i._clientLeft=i.wrapperEl.clientLeft,i.activeIndex===i.slides.length-1&&a.cssMode)return requestAnimationFrame(()=>{i.slideTo(i.activeIndex+l,e,s,t)}),!0}return a.rewind&&i.isEnd?i.slideTo(0,e,s,t):i.slideTo(i.activeIndex+l,e,s,t)}function gs(e,s=!0,t){const i=this,{params:n,snapGrid:a,slidesGrid:d,rtlTranslate:c,enabled:l,animating:f}=i;if(!l||i.destroyed)return i;typeof e>"u"&&(e=i.params.speed);const m=i.virtual&&n.virtual.enabled;if(n.loop){if(f&&!m&&n.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}const u=c?i.translate:-i.translate;function g(v){return v<0?-Math.floor(Math.abs(v)):Math.floor(v)}const r=g(u),o=a.map(v=>g(v)),h=n.freeMode&&n.freeMode.enabled;let b=a[o.indexOf(r)-1];if(typeof b>"u"&&(n.cssMode||h)){let v;a.forEach((y,T)=>{r>=y&&(v=T)}),typeof v<"u"&&(b=h?a[v]:a[v>0?v-1:v])}let p=0;if(typeof b<"u"&&(p=d.indexOf(b),p<0&&(p=i.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(p=p-i.slidesPerViewDynamic("previous",!0)+1,p=Math.max(p,0))),n.rewind&&i.isBeginning){const v=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(v,e,s,t)}else if(n.loop&&i.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{i.slideTo(p,e,s,t)}),!0;return i.slideTo(p,e,s,t)}function vs(e,s=!0,t){const i=this;if(!i.destroyed)return typeof e>"u"&&(e=i.params.speed),i.slideTo(i.activeIndex,e,s,t)}function ys(e,s=!0,t,i=.5){const n=this;if(n.destroyed)return;typeof e>"u"&&(e=n.params.speed);let a=n.activeIndex;const d=Math.min(n.params.slidesPerGroupSkip,a),c=d+Math.floor((a-d)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[c]){const f=n.snapGrid[c],m=n.snapGrid[c+1];l-f>(m-f)*i&&(a+=n.params.slidesPerGroup)}else{const f=n.snapGrid[c-1],m=n.snapGrid[c];l-f<=(m-f)*i&&(a-=n.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,n.slidesGrid.length-1),n.slideTo(a,e,s,t)}function bs(){const e=this;if(e.destroyed)return;const{params:s,slidesEl:t}=e,i=s.slidesPerView==="auto"?e.slidesPerViewDynamic():s.slidesPerView;let n=e.getSlideIndexWhenGrid(e.clickedIndex),a;const d=e.isElement?"swiper-slide":`.${s.slideClass}`,c=e.grid&&e.params.grid&&e.params.grid.rows>1;if(s.loop){if(e.animating)return;a=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),s.centeredSlides?e.slideToLoop(a):n>(c?(e.slides.length-i)/2-(e.params.grid.rows-1):e.slides.length-i)?(e.loopFix(),n=e.getSlideIndex(Y(t,`${d}[data-swiper-slide-index="${a}"]`)[0]),ge(()=>{e.slideTo(n)})):e.slideTo(n)}else e.slideTo(n)}var Ss={slideTo:ms,slideToLoop:hs,slideNext:ps,slidePrev:gs,slideReset:vs,slideToClosest:ys,slideToClickedSlide:bs};function Es(e,s){const t=this,{params:i,slidesEl:n}=t;if(!i.loop||t.virtual&&t.params.virtual.enabled)return;const a=()=>{Y(n,`.${i.slideClass}, swiper-slide`).forEach((o,h)=>{o.setAttribute("data-swiper-slide-index",h)})},d=()=>{const r=Y(n,`.${i.slideBlankClass}`);r.forEach(o=>{o.remove()}),r.length>0&&(t.recalcSlides(),t.updateSlides())},c=t.grid&&i.grid&&i.grid.rows>1;i.loopAddBlankSlides&&(i.slidesPerGroup>1||c)&&d();const l=i.slidesPerGroup*(c?i.grid.rows:1),f=t.slides.length%l!==0,m=c&&t.slides.length%i.grid.rows!==0,u=r=>{for(let o=0;o<r;o+=1){const h=t.isElement?Q("swiper-slide",[i.slideBlankClass]):Q("div",[i.slideClass,i.slideBlankClass]);t.slidesEl.append(h)}};if(f){if(i.loopAddBlankSlides){const r=l-t.slides.length%l;u(r),t.recalcSlides(),t.updateSlides()}else De("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may 
2not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else if(m){if(i.loopAddBlankSlides){const r=i.grid.rows-t.slides.length%i.grid.rows;u(r),t.recalcSlides(),t.updateSlides()}else De("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else a();const g=i.centeredSlides||!!i.slidesOffsetBefore||!!i.slidesOffsetAfter;t.loopFix({slideRealIndex:e,direction:g?void 0:"next",initial:s})}function xs({slideRealIndex:e,slideTo:s=!0,direction:t,setTranslate:i,activeSlideIndex:n,initial:a,byController:d,byMousewheel:c}={}){const l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");const{slides:f,allowSlidePrev:m,allowSlideNext:u,slidesEl:g,params:r}=l,{centeredSlides:o,slidesOffsetBefore:h,slidesOffsetAfter:b,initialSlide:p}=r,v=o||!!h||!!b;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&r.virtual.enabled){s&&(!v&&l.snapIndex===0?l.slideTo(l.virtual.slides.length,0,!1,!0):v&&l.snapIndex<r.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0)),l.allowSlidePrev=m,l.allowSlideNext=u,l.emit("loopFix");return}let y=r.slidesPerView;y==="auto"?y=l.slidesPerViewDynamic():(y=Math.ceil(parseFloat(r.slidesPerView,10)),v&&y%2===0&&(y=y+1));const T=r.slidesPerGroupAuto?y:r.slidesPerGroup;let C=v?Math.max(T,Math.ceil(y/2)):T;C%T!==0&&(C+=T-C%T),C+=r.loopAdditionalSlides,l.loopedSlides=C;const P=l.grid&&r.grid&&r.grid.rows>1;f.length<y+C||l.params.effect==="cards"&&f.length<y+C*2?De("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):P&&r.grid.fill==="row"&&De("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const D=[],E=[],O=P?Math.ceil(f.length/r.grid.rows):f.length,A=a&&O-p<y&&!v;let x=A?p:l.activeIndex;typeof n>"u"?n=l.getSlideIndex(f.find(w=>w.classList.contains(r.slideActiveClass))):x=n;const M=t==="next"||!t,L=t==="prev"||!t;let I=0,S=0;const k=(P?f[n].column:n)+(v&&typeof i>"u"?-y/2+.5:0);if(k<C){I=Math.max(C-k,T);for(let w=0;w<C-k;w+=1){const V=w-Math.floor(w/O)*O;if(P){const N=O-V-1;for(let K=f.length-1;K>=0;K-=1)f[K].column===N&&D.push(K)}else D.push(O-V-1)}}else if(k+y>O-C){S=Math.max(k-(O-C*2),T),A&&(S=Math.max(S,y-O+p+1));for(let w=0;w<S;w+=1){const V=w-Math.floor(w/O)*O;P?f.forEach((N,K)=>{N.column===V&&E.push(K)}):E.push(V)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),l.params.effect==="cards"&&f.length<y+C*2&&(E.includes(n)&&E.splice(E.indexOf(n),1),D.includes(n)&&D.splice(D.indexOf(n),1)),L&&D.forEach(w=>{f[w].swiperLoopMoveDOM=!0,g.prepend(f[w]),f[w].swiperLoopMoveDOM=!1}),M&&E.forEach(w=>{f[w].swiperLoopMoveDOM=!0,g.append(f[w]),f[w].swiperLoopMoveDOM=!1}),l.recalcSlides(),r.slidesPerView==="auto"?l.updateSlides():P&&(D.length>0&&L||E.length>0&&M)&&l.slides.forEach((w,V)=>{l.grid.updateSlide(V,w,l.slides)}),r.watchSlidesProgress&&l.updateSlidesOffset(),s){if(D.length>0&&L){if(typeof e>"u"){const w=l.slidesGrid[x],N=l.slidesGrid[x+I]-w;c?l.setTranslate(l.translate-N):(l.slideTo(x+Math.ceil(I),0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-N,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-N))}else if(i){const w=P?D.length/r.grid.rows:D.length;l.slideTo(l.activeIndex+w,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(E.length>0&&M)if(typeof e>"u"){const w=l.slidesGrid[x],N=l.slidesGrid[x-S]-w;c?l.setTranslate(l.translate-N):(l.slideTo(x-S,0,!1,!0),i&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-N,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-N))}else{const w=P?E.length/r.grid.rows:E.length;l.slideTo(l.activeIndex-w,0,!1,!0)}}if(l.allowSlidePrev=m,l.allowSlideNext=u,l.controller&&l.controller.control&&!d){const w={slideRealIndex:e,direction:t,setTranslate:i,activeSlideIndex:n,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(V=>{!V.destroyed&&V.params.loop&&V.loopFix({...w,slideTo:V.params.slidesPerView===r.slidesPerView?s:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...w,slideTo:l.controller.control.params.slidesPerView===r.slidesPerView?s:!1})}l.emit("loopFix")}function Ts(){const e=this,{params:s,slidesEl:t}=e;if(!s.loop||!t||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const i=[];
vendor: 6,243 bytes, line 2
2e.slides.forEach(n=>{const a=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;i[a]=n}),e.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),i.forEach(n=>{t.append(n)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}var Ms={loopCreate:Es,loopFix:xs,loopDestroy:Ts};function Cs(e){const s=this;if(!s.params.simulateTouch||s.params.watchOverflow&&s.isLocked||s.params.cssMode)return;const t=s.params.touchEventsTarget==="container"?s.el:s.wrapperEl;s.isElement&&(s.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=e?"grabbing":"grab",s.isElement&&requestAnimationFrame(()=>{s.__preventObserver__=!1})}function Ls(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}var Ps={setGrabCursor:Cs,unsetGrabCursor:Ls};function As(e,s=this){function t(i){if(!i||i===F()||i===R())return null;i.assignedSlot&&(i=i.assignedSlot);const n=i.closest(e);return!n&&!i.getRootNode?null:n||t(i.getRootNode().host)}return t(s)}function it(e,s,t){const i=R(),{params:n}=e,a=n.edgeSwipeDetection,d=n.edgeSwipeThreshold;return a&&(t<=d||t>=i.innerWidth-d)?a==="prevent"?(s.preventDefault(),!0):!1:!0}function Is(e){const s=this,t=F();let i=e;i.originalEvent&&(i=i.originalEvent);const n=s.touchEventsData;if(i.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==i.pointerId)return;n.pointerId=i.pointerId}else i.type==="touchstart"&&i.targetTouches.length===1&&(n.touchId=i.targetTouches[0].identifier);if(i.type==="touchstart"){it(s,i,i.targetTouches[0].pageX);return}const{params:a,touches:d,enabled:c}=s;if(!c||!a.simulateTouch&&i.pointerType==="mouse"||s.animating&&a.preventInteractionOnTransition)return;!s.animating&&a.cssMode&&a.loop&&s.loopFix();let l=i.target;if(a.touchEventsTarget==="wrapper"&&!Bt(l,s.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||n.isTouched&&n.isMoved)return;const f=!!a.noSwipingClass&&a.noSwipingClass!=="",m=i.composedPath?i.composedPath():i.path;f&&i.target&&i.target.shadowRoot&&m&&(l=m[0]);const u=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,g=!!(i.target&&i.target.shadowRoot);if(a.noSwiping&&(g?As(u,l):l.closest(u))){s.allowClick=!0;return}if(a.swipeHandler&&!l.closest(a.swipeHandler))return;d.currentX=i.pageX,d.currentY=i.pageY;const r=d.currentX,o=d.currentY;if(!it(s,i,r))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=r,d.startY=o,n.touchStartTime=J(),s.allowClick=!0,s.updateSize(),s.swipeDirection=void 0,a.threshold>0&&(n.allowThresholdMove=!1);let h=!0;l.matches(n.focusableElements)&&(h=!1,l.nodeName==="SELECT"&&(n.isTouched=!1)),t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==l&&(i.pointerType==="mouse"||i.pointerType!=="mouse"&&!l.matches(n.focusableElements))&&t.activeElement.blur();const b=h&&s.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||b)&&!l.isContentEditable&&i.preventDefault(),a.freeMode&&a.freeMode.enabled&&s.freeMode&&s.animating&&!a.cssMode&&s.freeMode.onTouchStart(),s.emit("touchStart",i)}function Ds(e){const s=F(),t=this,i=t.touchEventsData,{params:n,touches:a,rtlTranslate:d,enabled:c}=t;if(!c||!n.simulateTouch&&e.pointerType==="mouse")return;let l=e;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(i.touchId!==null||l.pointerId!==i.pointerId))return;let f;if(l.type==="touchmove"){if(f=[...l.changedTouches].find(C=>C.identifier===i.touchId),!f||f.identifier!==i.touchId)return}else f=l;if(!i.isTouched){i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",l);return}const m=f.pageX,u=f.pageY;if(l.preventedByNestedSwiper){a.startX=m,a.startY=u;return}if(!t.allowTouchMove){l.target.matches(i.focusableElements)||(t.allowClick=!1),i.isTouched&&(Object.assign(a,{startX:m,startY:u,currentX:m,currentY:u}),i.touchStartTime=J());return}if(n.touchReleaseOnEdges&&!n.loop)if(t.isVertical()){if(u<a.startY&&t.translate<=t.maxTranslate()||u>a.startY&&t.translate>=t.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else{if(d&&(m>a.startX&&-t.translate<=t.maxTranslate()||m<a.startX&&-t.translate>=t.minTranslate()))return;if(!d&&(m<a.startX&&t.translate<=t.maxTranslate()||m>a.startX&&t.translate>=t.minTranslate()))return}if(s.activeElement&&s.activeElement.matches(i.focusableElements)&&s.activeElement!==l.target&&l.pointerType!=="mouse"&&s.activeElement.blur(),s.activeElement&&l.target===s.activeElement&&l.target.matches(i.focusableElements)){i.isMoved=!0,t.allowClick=!1;return}i.allowTouchCallbacks&&t.emit("touchMove",l),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=m,a.currentY=u;const g=a.currentX-a.startX,r=a.currentY-a.startY;if(t.params.threshold&&Math.sqrt(g**2+r**2)<t.params.threshold)return;if(typeof i.isScrolling>"u"){let C;t.isHorizontal()&&a.currentY===a.startY||t.isVertical()&&a.currentX===a.startX?i.isScrolling=!1:g*g+r*r>=25&&(C=Math.atan2(Math.abs(r),Math.abs(g))*180/Math.PI,i.isScrolling=t.isHorizontal()?C>n.touchAngle:90-C>n.touchAngle)}if(i.isScrolling&&t.emit("touchMoveOpposite",l),typeof i.startMoving>"u"&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(i.startMoving=!0),i.isScrolling||l.type==="touchmove"&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;t.allowClick=!1,!n.cssMode&&l.cancelable&&l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation();let o=t.isHorizontal()?g:r,h=t.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;n.oneWayMovement&&(o=Math.abs(o)*(d?1:-1),h=Math.abs(h)*(d?1:-1)),a.diff=o,o*=n.touchRatio,d&&(o=-o,h=-h);const b=t.touchesDirection;t.swipeDirection=o>0?"prev":"next",t.touchesDirection=h>0?"prev":"next";const p=t.params.loop&&!n.cssMode,v=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!i.isMoved){if(p&&v&&t.loopFix({direction:t.swipeDirection}),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const C=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});
vendor: 5,955 bytes, line 2
2t.wrapperEl.dispatchEvent(C)}i.allowMomentumBounce=!1,n.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",l)}if(new Date().getTime(),n._loopSwapReset!==!1&&i.isMoved&&i.allowThresholdMove&&b!==t.touchesDirection&&p&&v&&Math.abs(o)>=1){Object.assign(a,{startX:m,startY:u,currentX:m,currentY:u,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}t.emit("sliderMove",l),i.isMoved=!0,i.currentTranslate=o+i.startTranslate;let y=!0,T=n.resistanceRatio;if(n.touchReleaseOnEdges&&(T=0),o>0?(p&&v&&i.allowThresholdMove&&i.currentTranslate>(n.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(n.slidesPerView!=="auto"&&t.slides.length-n.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>t.minTranslate()&&(y=!1,n.resistance&&(i.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+i.startTranslate+o)**T))):o<0&&(p&&v&&i.allowThresholdMove&&i.currentTranslate<(n.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(n.slidesPerView!=="auto"&&t.slides.length-n.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(n.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),i.currentTranslate<t.maxTranslate()&&(y=!1,n.resistance&&(i.currentTranslate=t.maxTranslate()+1-(t.maxTranslate()-i.startTranslate-o)**T))),y&&(l.preventedByNestedSwiper=!0),!t.allowSlideNext&&t.swipeDirection==="next"&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&t.swipeDirection==="prev"&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(i.currentTranslate=i.startTranslate),n.threshold>0)if(Math.abs(o)>n.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,i.currentTranslate=i.startTranslate,a.diff=t.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{i.currentTranslate=i.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&t.freeMode||n.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}function ws(e){const s=this,t=s.touchEventsData;let i=e;i.originalEvent&&(i=i.originalEvent);let n;if(i.type==="touchend"||i.type==="touchcancel"){if(n=[...i.changedTouches].find(C=>C.identifier===t.touchId),!n||n.identifier!==t.touchId)return}else{if(t.touchId!==null||i.pointerId!==t.pointerId)return;n=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(s.browser.isSafari||s.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:d,touches:c,rtlTranslate:l,slidesGrid:f,enabled:m}=s;if(!m||!d.simulateTouch&&i.pointerType==="mouse")return;if(t.allowTouchCallbacks&&s.emit("touchEnd",i),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&d.grabCursor&&s.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}d.grabCursor&&t.isMoved&&t.isTouched&&(s.allowSlideNext===!0||s.allowSlidePrev===!0)&&s.setGrabCursor(!1);const u=J(),g=u-t.touchStartTime;if(s.allowClick){const C=i.path||i.composedPath&&i.composedPath();s.updateClickedSlide(C&&C[0]||i.target,C),s.emit("tap click",i),g<300&&u-t.lastClickTime<300&&s.emit("doubleTap doubleClick",i)}if(t.lastClickTime=J(),ge(()=>{s.destroyed||(s.allowClick=!0)}),!t.isTouched||!t.isMoved||!s.swipeDirection||c.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let r;if(d.followFinger?r=l?s.translate:-s.translate:r=-t.currentTranslate,d.cssMode)return;if(d.freeMode&&d.freeMode.enabled){s.freeMode.onTouchEnd({currentPos:r});return}const o=r>=-s.maxTranslate()&&!s.params.loop;let h=0,b=s.slidesSizesGrid[0];for(let C=0;C<f.length;C+=C<d.slidesPerGroupSkip?1:d.slidesPerGroup){const P=C<d.slidesPerGroupSkip-1?1:d.slidesPerGroup;typeof f[C+P]<"u"?(o||r>=f[C]&&r<f[C+P])&&(h=C,b=f[C+P]-f[C]):(o||r>=f[C])&&(h=C,b=f[f.length-1]-f[f.length-2])}let p=null,v=null;d.rewind&&(s.isBeginning?v=d.virtual&&d.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1:s.isEnd&&(p=0));const y=(r-f[h])/b,T=h<d.slidesPerGroupSkip-1?1:d.slidesPerGroup;if(g>d.longSwipesMs){if(!d.longSwipes){s.slideTo(s.activeIndex);return}s.swipeDirection==="next"&&(y>=d.longSwipesRatio?s.slideTo(d.rewind&&s.isEnd?p:h+T):s.slideTo(h)),s.swipeDirection==="prev"&&(y>1-d.longSwipesRatio?s.slideTo(h+T):v!==null&&y<0&&Math.abs(y)>d.longSwipesRatio?s.slideTo(v):s.slideTo(h))}else{if(!d.shortSwipes){s.slideTo(s.activeIndex);return}s.navigation&&(i.target===s.navigation.nextEl||i.target===s.navigation.prevEl)?i.target===s.navigation.nextEl?s.slideTo(h+T):s.slideTo(h):(s.swipeDirection==="next"&&s.slideTo(p!==null?p:h+T),s.swipeDirection==="prev"&&s.slideTo(v!==null?v:h))}}function at(){const e=this,{params:s,el:t}=e;if(t&&t.offsetWidth===0)return;s.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:n,snapGrid:a}=e,d=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const c=d&&s.loop;if((s.slidesPerView==="auto"||s.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides&&!c){const l=d?e.virtual.slides:e.slides;e.slideTo(l.length-1,0,!1,!0)}else e.params.loop&&!d?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);
vendor: 4,579 bytes, line 2
2e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=n,e.allowSlideNext=i,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function zs(e){const s=this;s.enabled&&(s.allowClick||(s.params.preventClicks&&e.preventDefault(),s.params.preventClicksPropagation&&s.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function ks(){const e=this,{wrapperEl:s,rtlTranslate:t,enabled:i}=e;if(!i)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-s.scrollLeft:e.translate=-s.scrollTop,e.translate===0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let n;const a=e.maxTranslate()-e.minTranslate();a===0?n=0:n=(e.translate-e.minTranslate())/a,n!==e.progress&&e.updateProgress(t?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function Os(e){const s=this;Ie(s,e.target),!(s.params.cssMode||s.params.slidesPerView!=="auto"&&!s.params.autoHeight)&&s.update()}function $s(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const Pt=(e,s)=>{const t=F(),{params:i,el:n,wrapperEl:a,device:d}=e,c=!!i.nested,l=s==="on"?"addEventListener":"removeEventListener",f=s;!n||typeof n=="string"||(t[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:c}),n[l]("touchstart",e.onTouchStart,{passive:!1}),n[l]("pointerdown",e.onTouchStart,{passive:!1}),t[l]("touchmove",e.onTouchMove,{passive:!1,capture:c}),t[l]("pointermove",e.onTouchMove,{passive:!1,capture:c}),t[l]("touchend",e.onTouchEnd,{passive:!0}),t[l]("pointerup",e.onTouchEnd,{passive:!0}),t[l]("pointercancel",e.onTouchEnd,{passive:!0}),t[l]("touchcancel",e.onTouchEnd,{passive:!0}),t[l]("pointerout",e.onTouchEnd,{passive:!0}),t[l]("pointerleave",e.onTouchEnd,{passive:!0}),t[l]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&n[l]("click",e.onClick,!0),i.cssMode&&a[l]("scroll",e.onScroll),i.updateOnWindowResize?e[f](d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",at,!0):e[f]("observerUpdate",at,!0),n[l]("load",e.onLoad,{capture:!0}))};function _s(){const e=this,{params:s}=e;e.onTouchStart=Is.bind(e),e.onTouchMove=Ds.bind(e),e.onTouchEnd=ws.bind(e),e.onDocumentTouchStart=$s.bind(e),s.cssMode&&(e.onScroll=ks.bind(e)),e.onClick=zs.bind(e),e.onLoad=Os.bind(e),Pt(e,"on")}function Bs(){Pt(this,"off")}var qs={attachEvents:_s,detachEvents:Bs};const nt=(e,s)=>e.grid&&s.grid&&s.grid.rows>1;function Vs(){const e=this,{realIndex:s,initialized:t,params:i,el:n}=e,a=i.breakpoints;if(!a||a&&Object.keys(a).length===0)return;const d=F(),c=i.breakpointsBase==="window"||!i.breakpointsBase?i.breakpointsBase:"container",l=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:d.querySelector(i.breakpointsBase),f=e.getBreakpoint(a,c,l);if(!f||e.currentBreakpoint===f)return;const u=(f in a?a[f]:void 0)||e.originalParams,g=nt(e,i),r=nt(e,u),o=e.params.grabCursor,h=u.grabCursor,b=i.enabled;g&&!r?(n.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!g&&r&&(n.classList.add(`${i.containerModifierClass}grid`),(u.grid.fill&&u.grid.fill==="column"||!u.grid.fill&&i.grid.fill==="column")&&n.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),o&&!h?e.unsetGrabCursor():!o&&h&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(P=>{if(typeof u[P]>"u")return;const D=i[P]&&i[P].enabled,E=u[P]&&u[P].enabled;D&&!E&&e[P].disable(),!D&&E&&e[P].enable()});const p=u.direction&&u.direction!==i.direction,v=i.loop&&(u.slidesPerView!==i.slidesPerView||p),y=i.loop;p&&t&&e.changeDirection(),Z(e.params,u);const T=e.params.enabled,C=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),b&&!T?e.disable():!b&&T&&e.enable(),e.currentBreakpoint=f,e.emit("_beforeBreakpoint",u),t&&(v?(e.loopDestroy(),e.loopCreate(s),e.updateSlides()):!y&&C?(e.loopCreate(s),e.updateSlides()):y&&!C&&e.loopDestroy()),e.emit("breakpoint",u)}function Hs(e,s="window",t){if(!e||s==="container"&&!t)return;let i=!1;const n=R(),a=s==="window"?n.innerHeight:t.clientHeight,d=Object.keys(e).map(c=>{if(typeof c=="string"&&c.indexOf("@")===0){const l=parseFloat(c.substr(1));return{value:a*l,point:c}}return{value:c,point:c}});d.sort((c,l)=>
vendor: 31,284 bytes, line 2
2parseInt(c.value,10)-parseInt(l.value,10));for(let c=0;c<d.length;c+=1){const{point:l,value:f}=d[c];s==="window"?n.matchMedia(`(min-width: ${f}px)`).matches&&(i=l):f<=t.clientWidth&&(i=l)}return i||"max"}var Ns={setBreakpoint:Vs,getBreakpoint:Hs};function Gs(e,s){const t=[];return e.forEach(i=>{typeof i=="object"?Object.keys(i).forEach(n=>{i[n]&&t.push(s+n)}):typeof i=="string"&&t.push(s+i)}),t}function Rs(){const e=this,{classNames:s,params:t,rtl:i,el:n,device:a}=e,d=Gs(["initialized",t.direction,{"free-mode":e.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:a.android},{ios:a.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);s.push(...d),n.classList.add(...s),e.emitContainerClasses()}function Ws(){const e=this,{el:s,classNames:t}=e;!s||typeof s=="string"||(s.classList.remove(...t),e.emitContainerClasses())}var Fs={addClasses:Rs,removeClasses:Ws};function Xs(){const e=this,{isLocked:s,params:t}=e,{slidesOffsetBefore:i}=t;if(i){const n=e.slides.length-1,a=e.slidesGrid[n]+e.slidesSizesGrid[n]+i*2;e.isLocked=e.size>a}else e.isLocked=e.snapGrid.length===1;t.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),t.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),s&&s!==e.isLocked&&(e.isEnd=!1),s!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}var Ys={checkOverflow:Xs},rt={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",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,snapToSlideEdge:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",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:!0,_emitClasses:!1};function js(e,s){return function(i={}){const n=Object.keys(i)[0],a=i[n];if(typeof a!="object"||a===null){Z(s,i);return}if(e[n]===!0&&(e[n]={enabled:!0}),n==="navigation"&&e[n]&&e[n].enabled&&!e[n].prevEl&&!e[n].nextEl&&(e[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&e[n]&&e[n].enabled&&!e[n].el&&(e[n].auto=!0),!(n in e&&"enabled"in a)){Z(s,i);return}typeof e[n]=="object"&&!("enabled"in e[n])&&(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),Z(s,i)}}const We={eventsEmitter:Ft,update:ss,translate:os,transition:fs,slide:Ss,loop:Ms,grabCursor:Ps,events:qs,breakpoints:Ns,checkOverflow:Ys,classes:Fs},Fe={};class W{constructor(...s){let t,i;s.length===1&&s[0].constructor&&Object.prototype.toString.call(s[0]).slice(8,-1)==="Object"?i=s[0]:[t,i]=s,i||(i={}),i=Z({},i),t&&!i.el&&(i.el=t);const n=F();if(i.el&&typeof i.el=="string"&&n.querySelectorAll(i.el).length>1){const l=[];return n.querySelectorAll(i.el).forEach(f=>{const m=Z({},i,{el:f});l.push(new W(m))}),l}const a=this;a.__swiper__=!0,a.support=Tt(),a.device=Mt({userAgent:i.userAgent}),a.browser=Ct(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],i.modules&&Array.isArray(i.modules)&&i.modules.forEach(l=>{typeof l=="function"&&a.modules.indexOf(l)<0&&a.modules.push(l)});const d={};a.modules.forEach(l=>{l({params:i,swiper:a,extendParams:js(i,d),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})});const c=Z({},rt,d);return a.params=Z({},c,Fe,i),a.originalParams=Z({},a.params),a.passedParams=Z({},i),a.params&&a.params.on&&Object.keys(a.params.on).forEach(l=>{a.on(l,a.params.on[l])}),a.params&&a.params.onAny&&a.onAny(a.params.onAny),Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return a.params.direction==="horizontal"},isVertical(){return a.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}getDirectionLabel(s){return this.isHorizontal()?s:{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"}[s]}getSlideIndex(s){const{slidesEl:t,params:i}=this,n=Y(t,`.${i.slideClass}, swiper-slide`),a=Me(n[0]);return Me(s)-a}getSlideIndexByData(s){return this.getSlideIndex(this.slides.find(t=>t.getAttribute("data-swiper-slide-index")*1===s))}getSlideIndexWhenGrid(s){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?s=Math.floor(s/this.params.grid.rows):this.params.grid.fill==="row"&&(s=s%Math.ceil(this.slides.length/this.params.grid.rows))),s}recalcSlides(){const s=this,{slidesEl:t,params:i}=s;s.slides=Y(t,`.${i.slideClass}, swiper-slide`)}enable(){const s=this;s.enabled||(s.enabled=!0,s.params.grabCursor&&s.setGrabCursor(),s.emit("enable"))}disable(){const s=this;s.enabled&&(s.enabled=!1,s.params.grabCursor&&s.unsetGrabCursor(),s.emit("disable"))}setProgress(s,t){const i=this;s=Math.min(Math.max(s,0),1);const n=i.minTranslate(),d=(i.maxTranslate()-n)*s+n;i.translateTo(d,typeof t>"u"?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const s=this;if(!s.params._emitClasses||!s.el)return;const t=s.el.className.split(" ").filter(i=>i.indexOf("swiper")===0||i.indexOf(s.params.containerModifierClass)===0);s.emit("_containerClasses",t.join(" "))}getSlideClasses(s){const t=this;return t.destroyed?"":s.className.split(" ").filter(i=>i.indexOf("swiper-slide")===0||i.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const s=this;if(!s.params._emitClasses||!s.el)return;const t=[];s.slides.forEach(i=>{const n=s.getSlideClasses(i);t.push({slideEl:i,classNames:n}),s.emit("_slideClass",i,n)}),s.emit("_slideClasses",t)}slidesPerViewDynamic(s="current",t=!1){const i=this,{params:n,slides:a,slidesGrid:d,slidesSizesGrid:c,size:l,activeIndex:f}=i;let m=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let u=a[f]?Math.ceil(a[f].swiperSlideSize):0,g;for(let r=f+1;r<a.length;r+=1)a[r]&&!g&&(u+=Math.ceil(a[r].swiperSlideSize),m+=1,u>l&&(g=!0));for(let r=f-1;r>=0;r-=1)a[r]&&!g&&(u+=a[r].swiperSlideSize,m+=1,u>l&&(g=!0))}else if(s==="current")for(let u=f+1;u<a.length;u+=1)(t?d[u]+c[u]-d[f]<l:d[u]-d[f]<l)&&(m+=1);else for(let u=f-1;u>=0;u-=1)d[f]-d[u]<l&&(m+=1);return m}update(){const s=this;if(!s||s.destroyed)return;const{snapGrid:t,params:i}=s;i.breakpoints&&s.setBreakpoint(),[...s.el.querySelectorAll('[loading="lazy"]')].forEach(d=>{d.complete&&Ie(s,d)}),s.updateSize(),s.updateSlides(),s.updateProgress(),s.updateSlidesClasses();function n(){const d=s.rtlTranslate?s.translate*-1:s.translate,c=Math.min(Math.max(d,s.maxTranslate()),s.minTranslate());s.setTranslate(c),s.updateActiveIndex(),s.updateSlidesClasses()}let a;if(i.freeMode&&i.freeMode.enabled&&!i.cssMode)n(),i.autoHeight&&s.updateAutoHeight();else{if((i.slidesPerView==="auto"||i.slidesPerView>1)&&s.isEnd&&!i.centeredSlides){const d=s.virtual&&i.virtual.enabled?s.virtual.slides:s.slides;a=s.slideTo(d.length-1,0,!1,!0)}else a=s.slideTo(s.activeIndex,0,!1,!0);a||n()}i.watchOverflow&&t!==s.snapGrid&&s.checkOverflow(),s.emit("update")}changeDirection(s,t=!0){const i=this,n=i.params.direction;return s||(s=n==="horizontal"?"vertical":"horizontal"),s===n||s!=="horizontal"&&s!=="vertical"||(i.el.classList.remove(`${i.params.containerModifierClass}${n}`),i.el.classList.add(`${i.params.containerModifierClass}${s}`),i.emitContainerClasses(),i.params.direction=s,i.slides.forEach(a=>{s==="vertical"?a.style.width="":a.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(s){const t=this;t.rtl&&s==="rtl"||!t.rtl&&s==="ltr"||(t.rtl=s==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(s){const t=this;if(t.mounted)return!0;let i=s||t.params.el;if(typeof i=="string"&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let d=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(n()):Y(i,n())[0];return!d&&t.params.createElements&&(d=Q("div",t.params.wrapperClass),i.append(d),Y(i,`.${t.params.slideClass}`).forEach(c=>{d.append(c)})),Object.assign(t,{el:i,wrapperEl:d,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:d,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||oe(i,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||oe(i,"direction")==="rtl"),wrongRTL:oe(d,"display")==="-webkit-box"}),!0}init(s){const t=this;if(t.initialized||t.mount(s)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(a=>{a.complete?Ie(t,a):a.addEventListener("load",d=>{Ie(t,d.target)})}),je(t),t.initialized=!0,je(t),t.emit("init"),t.emit("afterInit"),t}destroy(s=!0,t=!0){const i=this,{params:n,el:a,wrapperEl:d,slides:c}=i;return typeof i.params>"u"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),a&&typeof a!="string"&&a.removeAttribute("style"),d&&d.removeAttribute("style"),c&&c.length&&c.forEach(l=>{l.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(l=>{i.off(l)}),s!==!1&&(i.el&&typeof i.el!="string"&&(i.el.swiper=null),kt(i)),i.destroyed=!0),null}static extendDefaults(s){Z(Fe,s)}static get extendedDefaults(){return Fe}static get defaults(){return rt}static installModule(s){W.prototype.__modules__||(W.prototype.__modules__=[]);const t=W.prototype.__modules__;typeof s=="function"&&t.indexOf(s)<0&&t.push(s)}static use(s){return Array.isArray(s)?(s.forEach(t=>W.installModule(t)),W):(W.installModule(s),W)}}Object.keys(We).forEach(e=>{Object.keys(We[e]).forEach(s=>{W.prototype[s]=We[e][s]})});W.use([Rt,Wt]);function Us({swiper:e,extendParams:s,on:t,emit:i}){s({virtual:{enabled:!1,slides:[],cache:!0,slidesPerViewAutoSlideSize:320,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let n;const a=F();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const d=a.createElement("div");function c(r,o){const h=e.params.virtual;if(h.cache&&e.virtual.cache[o])return e.virtual.cache[o];let b;return h.renderSlide?(b=h.renderSlide.call(e,r,o),typeof b=="string"&&(te(d,b),b=d.children[0])):e.isElement?b=Q("swiper-slide"):b=Q("div",e.params.slideClass),b.setAttribute("data-swiper-slide-index",o),h.renderSlide||te(b,r),h.cache&&(e.virtual.cache[o]=b),b}function l(r,o,h){const{slidesPerGroup:b,centeredSlides:p,slidesPerView:v,loop:y,initialSlide:T}=e.params;if(o&&!y&&T>0)return;const{addSlidesBefore:C,addSlidesAfter:P,slidesPerViewAutoSlideSize:D}=e.params.virtual,{from:E,to:O,slides:A,slidesGrid:x,offset:M}=e.virtual;e.params.cssMode||e.updateActiveIndex();const L=typeof h>"u"?e.activeIndex||0:h;let I;e.rtlTranslate?I="right":I=e.isHorizontal()?"left":"top";let S;if(v==="auto")if(D){let _=e.size;_||(_=e.isHorizontal()?e.el.getBoundingClientRect().width:e.el.getBoundingClientRect().height),S=Math.max(1,Math.ceil(_/D))}else S=1;else S=v;let z,k;p?(z=Math.floor(S/2)+b+P,k=Math.floor(S/2)+b+C):(z=S+(b-1)+P,k=(y?S:b)+C);let w=L-k,V=L+z;y||(w=Math.max(w,0),V=Math.min(V,A.length-1));let N=(e.slidesGrid[w]||0)-(e.slidesGrid[0]||0);y&&L>=k?(w-=k,p||(N+=e.slidesGrid[0])):y&&L<k&&(w=-k,p&&(N+=e.slidesGrid[0])),Object.assign(e.virtual,{from:w,to:V,offset:N,slidesGrid:e.slidesGrid,slidesBefore:k,slidesAfter:z});function K(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i("virtualUpdate")}if(E===w&&O===V&&!r){e.slidesGrid!==x&&N!==M&&e.slides.forEach(_=>{_.style[I]=`${N-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),i("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:N,from:w,to:V,slides:(function(){const H=[];for(let j=w;j<=V;j+=1)H.push(A[j]);return H})()}),e.params.virtual.renderExternalUpdate?K():i("virtualUpdate");return}const X=[],ae=[],$=_=>{let H=_;return _<0?H=A.length+_:H>=A.length&&(H=H-A.length),H};if(r)e.slides.filter(_=>_.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(_=>{_.remove()});else for(let _=E;_<=O;_+=1)if(_<w||_>V){const H=$(_);e.slides.filter(j=>j.matches(`.${e.params.slideClass}[data-swiper-slide-index="${H}"], swiper-slide[data-swiper-slide-index="${H}"]`)).forEach(j=>{j.remove()})}const q=y?-A.length:0,B=y?A.length*2:A.length;for(let _=q;_<B;_+=1)if(_>=w&&_<=V){const H=$(_);typeof O>"u"||r?ae.push(H):(_>O&&ae.push(H),_<E&&X.push(H))}if(ae.forEach(_=>{e.slidesEl.append(c(A[_],_))}),y)for(let _=X.length-1;_>=0;_-=1){const H=X[_];e.slidesEl.prepend(c(A[H],H))}else X.sort((_,H)=>H-_),X.forEach(_=>{e.slidesEl.prepend(c(A[_],_))});Y(e.slidesEl,".swiper-slide, swiper-slide").forEach(_=>{_.style[I]=`${N-Math.abs(e.cssOverflowAdjustment())}px`}),K()}function f(r){if(typeof r=="object"&&"length"in r)for(let o=0;o<r.length;o+=1)r[o]&&e.virtual.slides.push(r[o]);else e.virtual.slides.push(r);l(!0)}function m(r){const o=e.activeIndex;let h=o+1,b=1;if(Array.isArray(r)){for(let p=0;p<r.length;p+=1)r[p]&&e.virtual.slides.unshift(r[p]);h=o+r.length,b=r.length}else e.virtual.slides.unshift(r);if(e.params.virtual.cache){const p=e.virtual.cache,v={};Object.keys(p).forEach(y=>{const T=p[y],C=T.getAttribute("data-swiper-slide-index");C&&T.setAttribute("data-swiper-slide-index",parseInt(C,10)+b),v[parseInt(y,10)+b]=T}),e.virtual.cache=v}l(!0),e.slideTo(h,0)}function u(r){if(typeof r>"u"||r===null)return;let o=e.activeIndex;if(Array.isArray(r))for(let h=r.length-1;h>=0;h-=1)e.params.virtual.cache&&(delete e.virtual.cache[r[h]],Object.keys(e.virtual.cache).forEach(b=>{b>r&&(e.virtual.cache[b-1]=e.virtual.cache[b],e.virtual.cache[b-1].setAttribute("data-swiper-slide-index",b-1),delete e.virtual.cache[b])})),e.virtual.slides.splice(r[h],1),r[h]<o&&(o-=1),o=Math.max(o,0);else e.params.virtual.cache&&(delete e.virtual.cache[r],Object.keys(e.virtual.cache).forEach(h=>{h>r&&(e.virtual.cache[h-1]=e.virtual.cache[h],e.virtual.cache[h-1].setAttribute("data-swiper-slide-index",h-1),delete e.virtual.cache[h])})),e.virtual.slides.splice(r,1),r<o&&(o-=1),o=Math.max(o,0);l(!0),e.slideTo(o,0)}function g(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),l(!0),e.slideTo(0,0)}t("beforeInit",()=>{if(!e.params.virtual.enabled)return;let r;if(typeof e.passedParams.virtual.slides>"u"){const o=[...e.slidesEl.children].filter(h=>h.matches(`.${e.params.slideClass}, swiper-slide`));o&&o.length&&(e.virtual.slides=[...o],r=!0,o.forEach((h,b)=>{h.setAttribute("data-swiper-slide-index",b),e.virtual.cache[b]=h,h.remove()}))}r||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,l(!1,!0)}),t("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(n),n=setTimeout(()=>{l()},100)):l())}),t("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&ce(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:f,prependSlide:m,removeSlide:u,removeAllSlides:g,update:l})}function Ks({swiper:e,extendParams:s,on:t,emit:i}){const n=F(),a=R();e.keyboard={enabled:!1},s({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0,speed:void 0}});function d(f){if(!e.enabled)return;const{rtlTranslate:m}=e;let u=f;u.originalEvent&&(u=u.originalEvent);const g=u.keyCode||u.charCode,r=e.params.keyboard.pageUpDown,o=r&&g===33,h=r&&g===34,b=g===37,p=g===39,v=g===38,y=g===40;if(!e.allowSlideNext&&(e.isHorizontal()&&p||e.isVertical()&&y||h)||!e.allowSlidePrev&&(e.isHorizontal()&&b||e.isVertical()&&v||o))return!1;if(u.shiftKey||u.altKey||u.ctrlKey||u.metaKey||n.activeElement&&(n.activeElement.isContentEditable||n.activeElement.nodeName&&(n.activeElement.nodeName.toLowerCase()==="input"||n.activeElement.nodeName.toLowerCase()==="textarea")))return;if(e.params.keyboard.onlyInViewport&&(o||h||b||p||v||y)){let C=!1;if(ue(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&ue(e.el,`.${e.params.slideActiveClass}`).length===0)return;const P=e.el,D=P.clientWidth,E=P.clientHeight,O=a.innerWidth,A=a.innerHeight,x=we(P);m&&(x.left-=P.scrollLeft);const M=[[x.left,x.top],[x.left+D,x.top],[x.left,x.top+E],[x.left+D,x.top+E]];for(let L=0;L<M.length;L+=1){const I=M[L];if(I[0]>=0&&I[0]<=O&&I[1]>=0&&I[1]<=A){if(I[0]===0&&I[1]===0)continue;C=!0}}if(!C)return}const T=e.params.keyboard.speed;e.isHorizontal()?((o||h||b||p)&&(u.preventDefault?u.preventDefault():u.returnValue=!1),((h||p)&&!m||(o||b)&&m)&&e.slideNext(T),((o||b)&&!m||(h||p)&&m)&&e.slidePrev(T)):((o||h||v||y)&&(u.preventDefault?u.preventDefault():u.returnValue=!1),(h||y)&&e.slideNext(T),(o||v)&&e.slidePrev(T)),i("keyPress",g)}function c(){e.keyboard.enabled||(n.addEventListener("keydown",d),e.keyboard.enabled=!0)}function l(){e.keyboard.enabled&&(n.removeEventListener("keydown",d),e.keyboard.enabled=!1)}t("init",()=>{e.params.keyboard.enabled&&c()}),t("destroy",()=>{e.keyboard.enabled&&l()}),Object.assign(e.keyboard,{enable:c,disable:l})}function Zs({swiper:e,extendParams:s,on:t,emit:i}){const n=R();s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,d=J(),c;const l=[];function f(v){let P=0,D=0,E=0,O=0;return"detail"in v&&(D=v.detail),"wheelDelta"in v&&(D=-v.wheelDelta/120),"wheelDeltaY"in v&&(D=-v.wheelDeltaY/120),"wheelDeltaX"in v&&(P=-v.wheelDeltaX/120),"axis"in v&&v.axis===v.HORIZONTAL_AXIS&&(P=D,D=0),E=P*10,O=D*10,"deltaY"in v&&(O=v.deltaY),"deltaX"in v&&(E=v.deltaX),v.shiftKey&&!E&&(E=O,O=0),(E||O)&&v.deltaMode&&(v.deltaMode===1?(E*=40,O*=40):(E*=800,O*=800)),E&&!P&&(P=E<1?-1:1),O&&!D&&(D=O<1?-1:1),{spinX:P,spinY:D,pixelX:E,pixelY:O}}function m(){e.enabled&&(e.mouseEntered=!0)}function u(){e.enabled&&(e.mouseEntered=!1)}function g(v){return e.params.mousewheel.thresholdDelta&&v.delta<e.params.mousewheel.thresholdDelta||e.params.mousewheel.thresholdTime&&J()-d<e.params.mousewheel.thresholdTime?!1:v.delta>=6&&J()-d<60?!0:(v.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),i("scroll",v.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),i("scroll",v.raw)),d=new n.Date().getTime(),!1)}function r(v){const y=e.params.mousewheel;if(v.direction<0){if(e.isEnd&&!e.params.loop&&y.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&y.releaseOnEdges)return!0;return!1}function o(v){let y=v,T=!0;if(!e.enabled||v.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const C=e.params.mousewheel;e.params.cssMode&&y.preventDefault();let P=e.el;e.params.mousewheel.eventsTarget!=="container"&&(P=document.querySelector(e.params.mousewheel.eventsTarget));const D=P&&P.contains(y.target);if(!e.mouseEntered&&!D&&!C.releaseOnEdges)return!0;y.originalEvent&&(y=y.originalEvent);let E=0;const O=e.rtlTranslate?-1:1,A=f(y);if(C.forceToAxis)if(e.isHorizontal())if(Math.abs(A.pixelX)>Math.abs(A.pixelY))E=-A.pixelX*O;else return!0;else if(Math.abs(A.pixelY)>Math.abs(A.pixelX))E=-A.pixelY;else return!0;else E=Math.abs(A.pixelX)>Math.abs(A.pixelY)?-A.pixelX*O:-A.pixelY;if(E===0)return!0;C.invert&&(E=-E);let x=e.getTranslate()+E*C.sensitivity;if(x>=e.minTranslate()&&(x=e.minTranslate()),x<=e.maxTranslate()&&(x=e.maxTranslate()),T=e.params.loop?!0:!(x===e.minTranslate()||x===e.maxTranslate()),T&&e.params.nested&&y.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const M={time:J(),delta:Math.abs(E),direction:Math.sign(E),raw:v};l.length>=2&&l.shift();const L=l.length?l[l.length-1]:void 0;if(l.push(M),L?(M.direction!==L.direction||M.delta>L.delta||M.time>L.time+150)&&g(M):g(M),r(M))return!0}else{const M={time:J(),delta:Math.abs(E),direction:Math.sign(E)},L=c&&M.time<c.time+500&&M.delta<=c.delta&&M.direction===c.direction;if(!L){c=void 0;let I=e.getTranslate()+E*C.sensitivity;const S=e.isBeginning,z=e.isEnd;if(I>=e.minTranslate()&&(I=e.minTranslate()),I<=e.maxTranslate()&&(I=e.maxTranslate()),e.setTransition(0),e.setTranslate(I),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!S&&e.isBeginning||!z&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:M.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,l.length>=15&&l.shift();const k=l.length?l[l.length-1]:void 0,w=l[0];if(l.push(M),k&&(M.delta>k.delta||M.direction!==k.direction))l.splice(0);else if(l.length>=15&&M.time-w.time<500&&w.delta-M.delta>=1&&M.delta<=6){const V=E>0?.8:.2;c=M,l.splice(0),a=ge(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,V)},0)}a||(a=ge(()=>{if(e.destroyed||!e.params)return;const V=.5;c=M,l.splice(0),e.slideToClosest(e.params.speed,!0,void 0,V)},500))}if(L||i("scroll",y),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),C.releaseOnEdges&&(I===e.minTranslate()||I===e.maxTranslate()))return!0}}return y.preventDefault?y.preventDefault():y.returnValue=!1,!1}function h(v){let y=e.el;e.params.mousewheel.eventsTarget!=="container"&&(y=document.querySelector(e.params.mousewheel.eventsTarget)),y[v]("mouseenter",m),y[v]("mouseleave",u),y[v]("wheel",o)}function b(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",o),!0):e.mousewheel.enabled?!1:(h("addEventListener"),e.mousewheel.enabled=!0,!0)}function p(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,o),!0):e.mousewheel.enabled?(h("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}t("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&p(),e.params.mousewheel.enabled&&b()}),t("destroy",()=>{e.params.cssMode&&b(),e.mousewheel.enabled&&p()}),Object.assign(e.mousewheel,{enable:b,disable:p})}function Ze(e,s,t,i){return e.params.createElements&&Object.keys(i).forEach(n=>{if(!t[n]&&t.auto===!0){let a=Y(e.el,`.${i[n]}`)[0];a||(a=Q("div",i[n]),a.className=i[n],e.el.append(a)),t[n]=a,s[n]=a}}),t}const lt='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';function Qs({swiper:e,extendParams:s,on:t,emit:i}){s({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:lt};function n(r){let o;return r&&typeof r=="string"&&e.isElement&&(o=e.el.querySelector(r)||e.hostEl.querySelector(r),o)?o:(r&&(typeof r=="string"&&(o=[...document.querySelectorAll(r)]),e.params.uniqueNavElements&&typeof r=="string"&&o&&o.length>1&&e.el.querySelectorAll(r).length===1?o=e.el.querySelector(r):o&&o.length===1&&(o=o[0])),r&&!o?r:o)}function a(r,o){const h=e.params.navigation;r=G(r),r.forEach(b=>{b&&(b.classList[o?"add":"remove"](...h.disabledClass.split(" ")),b.tagName==="BUTTON"&&(b.disabled=o),e.params.watchOverflow&&e.enabled&&b.classList[e.isLocked?"add":"remove"](h.lockClass))})}function d(){const{nextEl:r,prevEl:o}=e.navigation;if(e.params.loop){a(o,!1),a(r,!1);return}a(o,e.isBeginning&&!e.params.rewind),a(r,e.isEnd&&!e.params.rewind)}function c(r){r.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function l(r){r.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function f(){const r=e.params.navigation;if(e.params.navigation=Ze(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(r.nextEl||r.prevEl))return;let o=n(r.nextEl),h=n(r.prevEl);Object.assign(e.navigation,{nextEl:o,prevEl:h}),o=G(o),h=G(h);const b=(p,v)=>{if(p){if(r.addIcons&&p.matches(".swiper-button-next,.swiper-button-prev")&&!p.querySelector("svg")){const y=document.createElement("div");te(y,lt),p.appendChild(y.querySelector("svg")),y.remove()}p.addEventListener("click",v==="next"?l:c)}!e.enabled&&p&&p.classList.add(...r.lockClass.split(" "))};o.forEach(p=>b(p,"next")),h.forEach(p=>b(p,"prev"))}function m(){let{nextEl:r,prevEl:o}=e.navigation;r=G(r),o=G(o);const h=(b,p)=>{b.removeEventListener("click",p==="next"?l:c),b.classList.remove(...e.params.navigation.disabledClass.split(" "))};r.forEach(b=>h(b,"next")),o.forEach(b=>h(b,"prev"))}t("init",()=>{e.params.navigation.enabled===!1?g():(f(),d())}),t("toEdge fromEdge lock unlock",()=>{d()}),t("destroy",()=>{m()}),t("enable disable",()=>{let{nextEl:r,prevEl:o}=e.navigation;if(r=G(r),o=G(o),e.enabled){d();return}[...r,...o].filter(h=>!!h).forEach(h=>h.classList.add(e.params.navigation.lockClass))}),t("click",(r,o)=>{let{nextEl:h,prevEl:b}=e.navigation;h=G(h),b=G(b);const p=o.target;let v=b.includes(p)||h.includes(p);if(e.isElement&&!v){const y=o.path||o.composedPath&&o.composedPath();y&&(v=y.find(T=>h.includes(T)||b.includes(T)))}if(e.params.navigation.hideOnClick&&!v){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===p||e.pagination.el.contains(p)))return;let y;h.length?y=h[0].classList.contains(e.params.navigation.hiddenClass):b.length&&(y=b[0].classList.contains(e.params.navigation.hiddenClass)),i(y===!0?"navigationShow":"navigationHide"),[...h,...b].filter(T=>!!T).forEach(T=>T.classList.toggle(e.params.navigation.hiddenClass))}});const u=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),f(),d()},g=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),m()};Object.assign(e.navigation,{enable:u,disable:g,update:d,init:f,destroy:m})}function ie(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]#>~*^$|=,'"@{}\\])/g,"\\$1").replace(/ /g,".")}`}function Js({swiper:e,extendParams:s,on:t,emit:i}){const n="swiper-pagination";s({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:p=>p,formatFractionTotal:p=>p,bulletClass:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),e.pagination={el:null,bullets:[]};let a,d=0;function c(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function l(p,v){const{bulletActiveClass:y}=e.params.pagination;p&&(p=p[`${v==="prev"?"previous":"next"}ElementSibling`],p&&(p.classList.add(`${y}-${v}`),p=p[`${v==="prev"?"previous":"next"}ElementSibling`],p&&p.classList.add(`${y}-${v}-${v}`)))}function f(p,v,y){if(p=p%y,v=v%y,v===p+1)return"next";if(v===p-1)return"previous"}function m(p){const v=p.target.closest(ie(e.params.pagination.bulletClass));if(!v)return;p.preventDefault();const y=Me(v)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===y)return;const T=f(e.realIndex,y,e.slides.length);T==="next"?e.slideNext():T==="previous"?e.slidePrev():e.slideToLoop(y)}else e.slideTo(y)}function u(){const p=e.rtl,v=e.params.pagination;if(c())return;let y=e.pagination.el;y=G(y);let T,C;const P=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,D=e.params.loop?Math.
vendor: 5,151 bytes, line 2
2ceil(P/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(C=e.previousRealIndex||0,T=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(T=e.snapIndex,C=e.previousSnapIndex):(C=e.previousIndex||0,T=e.activeIndex||0),v.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const E=e.pagination.bullets;let O,A,x;if(v.dynamicBullets&&(a=Ye(E[0],e.isHorizontal()?"width":"height"),y.forEach(M=>{M.style[e.isHorizontal()?"width":"height"]=`${a*(v.dynamicMainBullets+4)}px`}),v.dynamicMainBullets>1&&C!==void 0&&(d+=T-(C||0),d>v.dynamicMainBullets-1?d=v.dynamicMainBullets-1:d<0&&(d=0)),O=Math.max(T-d,0),A=O+(Math.min(E.length,v.dynamicMainBullets)-1),x=(A+O)/2),E.forEach(M=>{const L=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(I=>`${v.bulletActiveClass}${I}`)].map(I=>typeof I=="string"&&I.includes(" ")?I.split(" "):I).flat();M.classList.remove(...L)}),y.length>1)E.forEach(M=>{const L=Me(M);L===T?M.classList.add(...v.bulletActiveClass.split(" ")):e.isElement&&M.setAttribute("part","bullet"),v.dynamicBullets&&(L>=O&&L<=A&&M.classList.add(...`${v.bulletActiveClass}-main`.split(" ")),L===O&&l(M,"prev"),L===A&&l(M,"next"))});else{const M=E[T];if(M&&M.classList.add(...v.bulletActiveClass.split(" ")),e.isElement&&E.forEach((L,I)=>{L.setAttribute("part",I===T?"bullet-active":"bullet")}),v.dynamicBullets){const L=E[O],I=E[A];for(let S=O;S<=A;S+=1)E[S]&&E[S].classList.add(...`${v.bulletActiveClass}-main`.split(" "));l(L,"prev"),l(I,"next")}}if(v.dynamicBullets){const M=Math.min(E.length,v.dynamicMainBullets+4),L=(a*M-a)/2-x*a,I=p?"right":"left";E.forEach(S=>{S.style[e.isHorizontal()?I:"top"]=`${L}px`})}}y.forEach((E,O)=>{if(v.type==="fraction"&&(E.querySelectorAll(ie(v.currentClass)).forEach(A=>{A.textContent=v.formatFractionCurrent(T+1)}),E.querySelectorAll(ie(v.totalClass)).forEach(A=>{A.textContent=v.formatFractionTotal(D)})),v.type==="progressbar"){let A;v.progressbarOpposite?A=e.isHorizontal()?"vertical":"horizontal":A=e.isHorizontal()?"horizontal":"vertical";const x=(T+1)/D;let M=1,L=1;A==="horizontal"?M=x:L=x,E.querySelectorAll(ie(v.progressbarFillClass)).forEach(I=>{I.style.transform=`translate3d(0,0,0) scaleX(${M}) scaleY(${L})`,I.style.transitionDuration=`${e.params.speed}ms`})}v.type==="custom"&&v.renderCustom?(te(E,v.renderCustom(e,T+1,D)),O===0&&i("paginationRender",E)):(O===0&&i("paginationRender",E),i("paginationUpdate",E)),e.params.watchOverflow&&e.enabled&&E.classList[e.isLocked?"add":"remove"](v.lockClass)})}function g(){const p=e.params.pagination;if(c())return;const v=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let y=e.pagination.el;y=G(y);let T="";if(p.type==="bullets"){let C=e.params.loop?Math.ceil(v/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&C>v&&(C=v);for(let P=0;P<C;P+=1)p.renderBullet?T+=p.renderBullet.call(e,P,p.bulletClass):T+=`<${p.bulletElement} ${e.isElement?'part="bullet"':""} class="${p.bulletClass}"></${p.bulletElement}>`}p.type==="fraction"&&(p.renderFraction?T=p.renderFraction.call(e,p.currentClass,p.totalClass):T=`<span class="${p.currentClass}"></span> / <span class="${p.totalClass}"></span>`),p.type==="progressbar"&&(p.renderProgressbar?T=p.renderProgressbar.call(e,p.progressbarFillClass):T=`<span class="${p.progressbarFillClass}"></span>`),e.pagination.bullets=[],y.forEach(C=>{p.type!=="custom"&&te(C,T||""),p.type==="bullets"&&e.pagination.bullets.push(...C.querySelectorAll(ie(p.bulletClass)))}),p.type!=="custom"&&i("paginationRender",y[0])}function r(){e.params.pagination=Ze(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const p=e.params.pagination;if(!p.el)return;let v;typeof p.el=="string"&&e.isElement&&(v=e.el.querySelector(p.el)),!v&&typeof p.el=="string"&&(v=[...document.querySelectorAll(p.el)]),v||(v=p.el),!(!v||v.length===0)&&(e.params.uniqueNavElements&&typeof p.el=="string"&&Array.isArray(v)&&v.length>1&&(v=[...e.el.querySelectorAll(p.el)],v.length>1&&(v=v.find(y=>ue(y,".swiper")[0]===e.el))),Array.isArray(v)&&v.length===1&&(v=v[0]),Object.assign(e.pagination,{el:v}),v=G(v),v.forEach(y=>{p.type==="bullets"&&p.clickable&&y.classList.add(...(p.clickableClass||"").split(" ")),y.classList.add(p.modifierClass+p.type),y.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.type==="bullets"&&p.dynamicBullets&&(y.classList.add(`${p.modifierClass}${p.type}-dynamic`),d=0,p.dynamicMainBullets<1&&(p.dynamicMainBullets=1)),p.type==="progressbar"&&p.progressbarOpposite&&y.classList.add(p.progressbarOppositeClass),p.clickable&&y.addEventListener("click",m),e.enabled||y.classList.add(p.lockClass)}))}function o(){const p=e.params.pagination;if(c())return;let v=e.pagination.el;v&&(v=G(v),v.forEach(y=>{y.classList.remove(p.hiddenClass),y.classList.remove(p.modifierClass+p.type),y.classList.remove(e.isHorizontal()?p.horizontalClass:p.verticalClass),p.clickable&&(y.classList.remove(...(p.clickableClass||"").split(" ")),y.removeEventListener("click",m))}
vendor: 7,868 bytes, line 2
2)),e.pagination.bullets&&e.pagination.bullets.forEach(y=>y.classList.remove(...p.bulletActiveClass.split(" ")))}t("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const p=e.params.pagination;let{el:v}=e.pagination;v=G(v),v.forEach(y=>{y.classList.remove(p.horizontalClass,p.verticalClass),y.classList.add(e.isHorizontal()?p.horizontalClass:p.verticalClass)})}),t("init",()=>{e.params.pagination.enabled===!1?b():(r(),g(),u())}),t("activeIndexChange",()=>{typeof e.snapIndex>"u"&&u()}),t("snapIndexChange",()=>{u()}),t("snapGridLengthChange",()=>{g(),u()}),t("destroy",()=>{o()}),t("enable disable",()=>{let{el:p}=e.pagination;p&&(p=G(p),p.forEach(v=>v.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),t("lock unlock",()=>{u()}),t("click",(p,v)=>{const y=v.target,T=G(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&T&&T.length>0&&!y.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&y===e.navigation.nextEl||e.navigation.prevEl&&y===e.navigation.prevEl))return;const C=T[0].classList.contains(e.params.pagination.hiddenClass);i(C===!0?"paginationShow":"paginationHide"),T.forEach(P=>P.classList.toggle(e.params.pagination.hiddenClass))}});const h=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=G(p),p.forEach(v=>v.classList.remove(e.params.pagination.paginationDisabledClass))),r(),g(),u()},b=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:p}=e.pagination;p&&(p=G(p),p.forEach(v=>v.classList.add(e.params.pagination.paginationDisabledClass))),o()};Object.assign(e.pagination,{enable:h,disable:b,render:g,update:u,init:r,destroy:o})}function ei({swiper:e,extendParams:s,on:t,emit:i}){const n=F();let a=!1,d=null,c=null,l,f,m,u;s({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x,rtlTranslate:M}=e,{dragEl:L,el:I}=x,S=e.params.scrollbar,z=e.params.loop?e.progressLoop:e.progress;let k=f,w=(m-f)*z;M?(w=-w,w>0?(k=f-w,w=0):-w+f>m&&(k=m+w)):w<0?(k=f+w,w=0):w+f>m&&(k=m-w),e.isHorizontal()?(L.style.transform=`translate3d(${w}px, 0, 0)`,L.style.width=`${k}px`):(L.style.transform=`translate3d(0px, ${w}px, 0)`,L.style.height=`${k}px`),S.hide&&(clearTimeout(d),I.style.opacity=1,d=setTimeout(()=>{I.style.opacity=0,I.style.transitionDuration="400ms"},1e3))}function r(x){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${x}ms`)}function o(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:x}=e,{dragEl:M,el:L}=x;M.style.width="",M.style.height="",m=e.isHorizontal()?L.offsetWidth:L.offsetHeight,u=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?f=m*u:f=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?M.style.width=`${f}px`:M.style.height=`${f}px`,u>=1?L.style.display="none":L.style.display="",e.params.scrollbar.hide&&(L.style.opacity=0),e.params.watchOverflow&&e.enabled&&x.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function h(x){return e.isHorizontal()?x.clientX:x.clientY}function b(x){const{scrollbar:M,rtlTranslate:L}=e,{el:I}=M;let S;S=(h(x)-we(I)[e.isHorizontal()?"left":"top"]-(l!==null?l:f/2))/(m-f),S=Math.max(Math.min(S,1),0),L&&(S=1-S);const z=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*S;e.updateProgress(z),e.setTranslate(z),e.updateActiveIndex(),e.updateSlidesClasses()}function p(x){const M=e.params.scrollbar,{scrollbar:L,wrapperEl:I}=e,{el:S,dragEl:z}=L;a=!0,l=x.target===z?h(x)-x.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,x.preventDefault(),x.stopPropagation(),I.style.transitionDuration="100ms",z.style.transitionDuration="100ms",b(x),clearTimeout(c),S.style.transitionDuration="0ms",M.hide&&(S.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",x)}function v(x){const{scrollbar:M,wrapperEl:L}=e,{el:I,dragEl:S}=M;a&&(x.preventDefault&&x.cancelable?x.preventDefault():x.returnValue=!1,b(x),L.style.transitionDuration="0ms",I.style.transitionDuration="0ms",S.style.transitionDuration="0ms",i("scrollbarDragMove",x))}function y(x){const M=e.params.scrollbar,{scrollbar:L,wrapperEl:I}=e,{el:S}=L;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",I.style.transitionDuration=""),M.hide&&(clearTimeout(c),c=ge(()=>{S.style.opacity=0,S.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",x),M.snapOnRelease&&e.slideToClosest())}function T(x){const{scrollbar:M,params:L}=e,I=M.el;if(!I)return;const S=I,z=L.passiveListeners?{passive:!1,capture:!1}:!1,k=L.passiveListeners?{passive:!0,capture:!1}:!1;if(!S)return;const w=x==="on"?"addEventListener":"removeEventListener";S[w]("pointerdown",p,z),n[w]("pointermove",v,z),n[w]("pointerup",y,k)}function C(){!e.params.scrollbar.el||!e.scrollbar.el||T("on")}function P(){!e.params.scrollbar.el||!e.scrollbar.el||T("off")}function D(){const{scrollbar:x,el:M}=e;e.params.scrollbar=Ze(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const L=e.params.scrollbar;if(!L.el)return;let I;if(typeof L.el=="string"&&e.isElement&&(I=e.el.querySelector(L.el)),!I&&typeof L.el=="string"){if(I=n.querySelectorAll(L.el),!I.length)return}else I||(I=L.el);e.params.uniqueNavElements&&typeof L.el=="string"&&I.length>1&&M.querySelectorAll(L.el).length===1&&(I=M.querySelector(L.el)),I.length>0&&(I=I[0]),I.classList.add(e.isHorizontal()?L.horizontalClass:L.verticalClass);let S;I&&(S=I.querySelector(ie(e.params.scrollbar.dragClass)),S||(S=Q("div",e.params.scrollbar.dragClass),I.append(S))),Object.assign(x,{el:I,dragEl:S}),L.draggable&&C(),I&&I.classList[e.enabled?"remove":"add"](...le(e.params.scrollbar.lockClass))}function E(){const x=e.params.scrollbar,M=e.scrollbar.el;M&&M.classList.remove(...le(e.isHorizontal()?x.horizontalClass:x.verticalClass)),P()}t("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const x=e.params.scrollbar;let{el:M}=e.scrollbar;M=G(M),M.forEach(L=>{L.classList.remove(x.horizontalClass,x.verticalClass),L.classList.add(e.isHorizontal()?x.horizontalClass:x.verticalClass)})}),t("init",()=>{e.params.scrollbar.enabled===!1?A():(D(),o(),g())}),t("update resize observerUpdate lock unlock changeDirection",()=>{o()}),t("setTranslate",()=>{g()}),t("setTransition",(x,M)=>{r(M)}),t("enable disable",()=>{const{el:x}=e.scrollbar;x&&x.classList[e.enabled?"remove":"add"](...le(e.params.scrollbar.lockClass))}),t("destroy",()=>{E()});const O=()=>{e.el.classList.remove(...le(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...le(e.params.scrollbar.scrollbarDisabledClass)),D(),o(),g()},A=()=>{e.el.classList.add(...le(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...le(e.params.scrollbar.scrollbarDisabledClass)),E()};Object.assign(e.scrollbar,{enable:O,disable:A,updateSize:o,setTranslate:g,init:D,destroy:E})}function ti({swiper:e,extendParams:s,on:t}){s({parallax:{enabled:!1}});const i="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",n=(c,l)=>{const{rtl:f}=e,m=f?-1:1,u=c.getAttribute("data-swiper-parallax")||"0";let g=c.getAttribute("data-swiper-parallax-x"),r=c.getAttribute("data-swiper-parallax-y");const o=c.getAttribute("data-swiper-parallax-scale"),h=c.getAttribute("data-swiper-parallax-opacity"),b=c.getAttribute("data-swiper-parallax-rotate");
2if(g||r?(g=g||"0",r=r||"0"):e.isHorizontal()?(g=u,r="0"):(r=u,g="0"),g.indexOf("%")>=0?g=`${parseInt(g,10)*l*m}%`:g=`${g*l*m}px`,r.indexOf("%")>=0?r=`${parseInt(r,10)*l}%`:r=`${r*l}px`,typeof h<"u"&&h!==null){const v=h-(h-1)*(1-Math.abs(l));c.style.opacity=v}let p=`translate3d(${g}, ${r}, 0px)`;if(typeof o<"u"&&o!==null){const v=o-(o-1)*(1-Math.abs(l));p+=` scale(${v})`}if(b&&typeof b<"u"&&b!==null){const v=b*l*-1;p+=` rotate(${v}deg)`}c.style.transform=p},a=()=>{const{el:c,slides:l,progress:f,snapGrid:m,isElement:u}=e,g=Y(c,i);e.isElement&&g.push(...Y(e.hostEl,i)),g.forEach(r=>{n(r,f)}),l.forEach((r,o)=>{let h=r.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(h+=Math.ceil(o/2)-f*(m.length-1)),h=Math.min(Math.max(h,-1),1),r.querySelectorAll(`${i}, [data-swiper-parallax-rotate]`).forEach(b=>{n(b,h)})})},d=(c=e.params.speed)=>{const{el:l,hostEl:f}=e,m=[...l.querySelectorAll(i)];e.isElement&&m.push(...f.querySelectorAll(i)),m.forEach(u=>{let g=parseInt(u.getAttribute("data-swiper-parallax-duration"),10)||c;c===0&&(g=0),u.style.transitionDuration=`${g}ms`})};t("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),t("init",()=>{e.params.parallax.enabled&&a()}),t("setTranslate",()=>{e.params.parallax.enabled&&a()}),t("setTransition",(c,l)=>{e.params.parallax.enabled&&d(l)})}function si({swiper:e,extendParams:s,on:t,emit:i}){const n=R();s({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let a=1,d=!1,c=!1,l={x:0,y:0};const f=-3;let m,u;const g=[],r={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},o={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},h={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let b=1;Object.defineProperty(e.zoom,"scale",{get(){return b},set($){if(b!==$){const q=r.imageEl,B=r.slideEl;i("zoomChange",$,q,B)}b=$}});function p(){if(g.length<2)return 1;const $=g[0].pageX,q=g[0].pageY,B=g[1].pageX,_=g[1].pageY;return Math.sqrt((B-$)**2+(_-q)**2)}function v(){const $=e.params.zoom,q=r.imageWrapEl.getAttribute("data-swiper-zoom")||$.maxRatio;if($.limitToOriginalSize&&r.imageEl&&r.imageEl.naturalWidth){const B=r.imageEl.naturalWidth/r.imageEl.offsetWidth;return Math.min(B,q)}return q}function y(){if(g.length<2)return{x:null,y:null};const $=r.imageEl.getBoundingClientRect();return[(g[0].pageX+(g[1].pageX-g[0].pageX)/2-$.x-n.scrollX)/a,(g[0].pageY+(g[1].pageY-g[0].pageY)/2-$.y-n.scrollY)/a]}function T(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function C($){const q=T();return!!($.target.matches(q)||e.slides.filter(B=>B.contains($.target)).length>0)}function P($){const q=`.${e.params.zoom.containerClass}`;return!!($.target.matches(q)||[...e.hostEl.querySelectorAll(q)].filter(B=>B.contains($.target)).length>0)}function D($){if($.pointerType==="mouse"&&g.splice(0,g.length),!C($))return;const q=e.params.zoom;if(m=!1,u=!1,g.push($),!(g.length<2)){if(m=!0,r.scaleStart=p(),!r.slideEl){r.slideEl=$.target.closest(`.${e.params.slideClass}, swiper-slide`),r.slideEl||(r.slideEl=e.slides[e.activeIndex]);let B=r.slideEl.querySelector(`.${q.containerClass}`);if(B&&(B=B.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),r.imageEl=B,B?r.imageWrapEl=ue(r.imageEl,`.${q.containerClass}`)[0]:r.imageWrapEl=void 0,!r.imageWrapEl){r.imageEl=void 0;return}r.maxRatio=v()}if(r.imageEl){const[B,_]=y();r.originX=B,r.originY=_,r.imageEl.style.transitionDuration="0ms"}d=!0}}function E($){if(!C($))return;const q=e.params.zoom,B=e.zoom,_=g.findIndex(H=>H.pointerId===$.pointerId);_>=0&&(g[_]=$),!(g.length<2)&&(u=!0,r.scaleMove=p(),r.imageEl&&(B.scale=r.scaleMove/r.scaleStart*a,B.scale>r.maxRatio&&(B.scale=r.maxRatio-1+(B.scale-r.maxRatio+1)**.5),B.scale<q.minRatio&&(B.scale=q.minRatio+1-(q.minRatio-B.scale+1)**.5),r.imageEl.style.transform=`translate3d(0,
20,0) scale(${B.scale})`))}function O($){if(!C($)||$.pointerType==="mouse"&&$.type==="pointerout")return;const q=e.params.zoom,B=e.zoom,_=g.findIndex(H=>H.pointerId===$.pointerId);_>=0&&g.splice(_,1),!(!m||!u)&&(m=!1,u=!1,r.imageEl&&(B.scale=Math.max(Math.min(B.scale,r.maxRatio),q.minRatio),r.imageEl.style.transitionDuration=`${e.params.speed}ms`,r.imageEl.style.transform=`translate3d(0,0,0) scale(${B.scale})`,a=B.scale,d=!1,B.scale>1&&r.slideEl?r.slideEl.classList.add(`${q.zoomedSlideClass}`):B.scale<=1&&r.slideEl&&r.slideEl.classList.remove(`${q.zoomedSlideClass}`),B.scale===1&&(r.originX=0,r.originY=0,r.slideEl=void 0)))}let A;function x(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function M(){clearTimeout(A),e.touchEventsData.preventTouchMoveFromPointerMove=!0,A=setTimeout(()=>{e.destroyed||x()})}function L($){const q=e.device;if(!r.imageEl||o.isTouched)return;q.android&&$.cancelable&&$.preventDefault(),o.isTouched=!0;const B=g.length>0?g[0]:$;o.touchesStart.x=B.pageX,o.touchesStart.y=B.pageY}function I($){const B=$.pointerType==="mouse"&&e.params.zoom.panOnMouseMove;if(!C($)||!P($))return;const _=e.zoom;if(!r.imageEl)return;if(!o.isTouched||!r.slideEl){B&&k($);return}if(B){k($);return}o.isMoved||(o.width=r.imageEl.offsetWidth||r.imageEl.clientWidth,o.height=r.imageEl.offsetHeight||r.imageEl.clientHeight,o.startX=Xe(r.imageWrapEl,"x")||0,o.startY=Xe(r.imageWrapEl,"y")||0,r.slideWidth=r.slideEl.offsetWidth,r.slideHeight=r.slideEl.offsetHeight,r.imageWrapEl.style.transitionDuration="0ms");const H=o.width*_.scale,j=o.height*_.scale;if(o.minX=Math.min(r.slideWidth/2-H/2,0),o.maxX=-o.minX,o.minY=Math.min(r.slideHeight/2-j/2,0),o.maxY=-o.minY,o.touchesCurrent.x=g.length>0?g[0].pageX:$.pageX,o.touchesCurrent.y=g.length>0?g[0].pageY:$.pageY,Math.max(Math.abs(o.touchesCurrent.x-o.touchesStart.x),Math.abs(o.touchesCurrent.y-o.touchesStart.y))>5&&(e.allowClick=!1),!o.isMoved&&!d){if(e.isHorizontal()&&(Math.floor(o.minX)===Math.floor(o.startX)&&o.touchesCurrent.x<o.touchesStart.x||Math.floor(o.maxX)===Math.floor(o.startX)&&o.touchesCurrent.x>o.touchesStart.x)){o.isTouched=!1,x();return}if(!e.isHorizontal()&&(Math.floor(o.minY)===Math.floor(o.startY)&&o.touchesCurrent.y<o.touchesStart.y||Math.floor(o.maxY)===Math.floor(o.startY)&&o.touchesCurrent.y>o.touchesStart.y)){o.isTouched=!1,x();return}}$.cancelable&&$.preventDefault(),$.stopPropagation(),M(),o.isMoved=!0;const se=(_.scale-a)/(r.maxRatio-e.params.zoom.minRatio),{originX:re,originY:U}=r;o.currentX=o.touchesCurrent.x-o.touchesStart.x+o.startX+se*(o.width-re*2),o.currentY=o.touchesCurrent.y-o.touchesStart.y+o.startY+se*(o.height-U*2),o.currentX<o.minX&&(o.currentX=o.minX+1-(o.minX-o.currentX+1)**.8),o.currentX>o.maxX&&(o.currentX=o.maxX-1+(o.currentX-o.maxX+1)**.8),o.currentY<o.minY&&(o.currentY=o.minY+1-(o.minY-o.currentY+1)**.8),o.currentY>o.maxY&&(o.currentY=o.maxY-1+(o.currentY-o.maxY+1)**.8),h.prevPositionX||(h.prevPositionX=o.touchesCurrent.x),h.prevPositionY||(h.prevPositionY=o.touchesCurrent.y),h.prevTime||(h.prevTime=Date.now()),h.x=(o.touchesCurrent.x-h.prevPositionX)/(Date.now()-h.prevTime)/2,h.y=(o.touchesCurrent.y-h.prevPositionY)/(Date.now()-h.prevTime)/2,Math.abs(o.touchesCurrent.x-h.prevPositionX)<2&&(h.x=0),Math.abs(o.touchesCurrent.y-h.prevPositionY)<2&&(h.y=0),h.prevPositionX=o.touchesCurrent.x,h.prevPositionY=o.touchesCurrent.y,h.prevTime=Date.now(),r.imageWrapEl.style.transform=`translate3d(${o.currentX}px, ${o.currentY}px,0)`}function S(){const $=e.zoom;if(g.length=0,!r.imageEl)return;if(!o.isTouched||!o.isMoved){o.isTouched=!1,o.isMoved=!1;return}o.isTouched=!1,o.isMoved=!1;let q=300,B=300;const _=h.x*q,H=o.currentX+_,j=h.y*B,ne=o.currentY+j;h.x!==0&&(q=Math.abs((H-o.currentX)/h.x)),h.y!==0&&(B=Math.abs((ne-o.currentY)/h.y));const se=Math.max(q,B);o.currentX=H,o.currentY=ne;const re=o.width*$.scale,U=o.height*$.scale;o.minX=Math.min(r.slideWidth/2-re/2,0),o.maxX=-o.minX,o.minY=Math.min(r.slideHeight/2-U/2,0),o.maxY=-o.minY,o.currentX=Math.max(Math.min(o.currentX,o.maxX),o.minX),o.currentY=Math.max(Math.min(o.currentY,o.maxY),o.minY),r.imageWrapEl.style.transitionDuration=`${se}ms`,r.imageWrapEl.style.transform=`translate3d(${o.currentX}px, ${o.currentY}px,0)`}function z(){const $=e.zoom;r.slideEl&&e.activeIndex!==e.slides.indexOf(r.slideEl)&&(r.imageEl&&(r.imageEl.style.transform="translate3d(0,
20,0) scale(1)"),r.imageWrapEl&&(r.imageWrapEl.style.transform="translate3d(0,0,0)"),r.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),$.scale=1,a=1,r.slideEl=void 0,r.imageEl=void 0,r.imageWrapEl=void 0,r.originX=0,r.originY=0)}function k($){if(a<=1||!r.imageWrapEl||!C($)||!P($))return;const q=n.getComputedStyle(r.imageWrapEl).transform,B=new n.DOMMatrix(q);if(!c){c=!0,l.x=$.clientX,l.y=$.clientY,o.startX=B.e,o.startY=B.f,o.width=r.imageEl.offsetWidth||r.imageEl.clientWidth,o.height=r.imageEl.offsetHeight||r.imageEl.clientHeight,r.slideWidth=r.slideEl.offsetWidth,r.slideHeight=r.slideEl.offsetHeight;return}const _=($.clientX-l.x)*f,H=($.clientY-l.y)*f,j=o.width*a,ne=o.height*a,se=r.slideWidth,re=r.slideHeight,U=Math.min(se/2-j/2,0),ee=-U,be=Math.min(re/2-ne/2,0),Le=-be,me=Math.max(Math.min(o.startX+_,ee),U),he=Math.max(Math.min(o.startY+H,Le),be);r.imageWrapEl.style.transitionDuration="0ms",r.imageWrapEl.style.transform=`translate3d(${me}px, ${he}px, 0)`,l.x=$.clientX,l.y=$.clientY,o.startX=me,o.startY=he,o.currentX=me,o.currentY=he}function w($){const q=e.zoom,B=e.params.zoom;if(!r.slideEl){$&&$.target&&(r.slideEl=$.target.closest(`.${e.params.slideClass}, swiper-slide`)),r.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?r.slideEl=Y(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:r.slideEl=e.slides[e.activeIndex]);let Se=r.slideEl.querySelector(`.${B.containerClass}`);Se&&(Se=Se.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),r.imageEl=Se,Se?r.imageWrapEl=ue(r.imageEl,`.${B.containerClass}`)[0]:r.imageWrapEl=void 0}if(!r.imageEl||!r.imageWrapEl)return;r.maxRatio=v(),e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),r.slideEl.classList.add(`${B.zoomedSlideClass}`);let _,H,j,ne,se,re,U,ee,be,Le,me,he,Pe,Ae,Oe,$e,_e,Be;typeof o.touchesStart.x>"u"&&$?(_=$.pageX,H=$.pageY):(_=o.touchesStart.x,H=o.touchesStart.y);const qe=a,pe=typeof $=="number"?$:null;a===1&&pe&&(_=void 0,H=void 0,o.touchesStart.x=void 0,o.touchesStart.y=void 0);const Je=v();q.scale=pe||Je,a=pe||Je,$&&!(a===1&&pe)?(_e=r.slideEl.offsetWidth,Be=r.slideEl.offsetHeight,j=we(r.slideEl).left+n.scrollX,ne=we(r.slideEl).top+n.scrollY,se=j+_e/2-_,re=ne+Be/2-H,be=r.imageEl.offsetWidth||r.imageEl.clientWidth,Le=r.imageEl.offsetHeight||r.imageEl.clientHeight,me=be*q.scale,he=Le*q.scale,Pe=Math.min(_e/2-me/2,0),Ae=Math.min(Be/2-he/2,0),Oe=-Pe,$e=-Ae,qe>0&&pe&&typeof o.currentX=="number"&&typeof o.currentY=="number"?(U=o.currentX*q.scale/qe,ee=o.currentY*q.scale/qe):(U=se*q.scale,ee=re*q.scale),U<Pe&&(U=Pe),U>Oe&&(U=Oe),ee<Ae&&(ee=Ae),ee>$e&&(ee=$e)):(U=0,ee=0),pe&&q.scale===1&&(r.originX=0,r.originY=0),o.currentX=U,o.currentY=ee,r.imageWrapEl.style.transitionDuration="300ms",r.imageWrapEl.style.transform=`translate3d(${U}px, ${ee}px,0)`,r.imageEl.style.transitionDuration="300ms",r.imageEl.style.transform=`translate3d(0,0,0) scale(${q.scale})`}function V(){const $=e.zoom,q=e.params.zoom;if(!r.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?r.slideEl=Y(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:r.slideEl=e.slides[e.activeIndex];let B=r.slideEl.querySelector(`.${q.containerClass}`);B&&(B=B.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),r.imageEl=B,B?r.imageWrapEl=ue(r.imageEl,`.${q.containerClass}`)[0]:r.imageWrapEl=void 0}!r.imageEl||!r.imageWrapEl||(r.maxRatio=v(),e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),$.scale=1,a=1,o.currentX=void 0,o.currentY=void 0,o.touchesStart.x=void 0,o.touchesStart.y=void 0,r.imageWrapEl.style.transitionDuration="300ms",r.imageWrapEl.style.transform="translate3d(0,0,0)",r.imageEl.style.transitionDuration="300ms",r.imageEl.style.transform="translate3d(0,0,0) scale(1)",r.slideEl.classList.remove(`${q.zoomedSlideClass}`),r.slideEl=void 0,r.originX=0,r.originY=0,e.params.zoom.panOnMouseMove&&(l={x:0,y:0},c&&(c=!1,o.startX=0,o.startY=0)))}function N($){const q=e.zoom;q.scale&&q.scale!==1?V():w($)}function K(){const $=e.params.passiveListeners?{passive:!0,capture:!1}:!1,q=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:$,activeListenerWithCapture:q}}function X(){const $=e.zoom;if($.enabled)return;$.enabled=!0;const{passiveListener:q,activeListenerWithCapture:B}=K();e.wrapperEl.addEventListener("pointerdown",D,q),e.wrapperEl.addEventListener("pointermove",E,B),["pointerup","pointercancel","pointerout"].forEach(_=>{e.wrapperEl.addEventListener(_,O,q)}),e.wrapperEl.addEventListener("pointermove",I,B)}function ae(){const $=e.zoom;if(!$.enabled)return;$.enabled=!1;const{passiveListener:q,activeListenerWithCapture:B}=K();e.wrapperEl.removeEventListener("pointerdown",D,q),e.wrapperEl.removeEventListener("pointermove",E,B),["pointerup","pointercancel","pointerout"].forEach(_=>{e.wrapperEl.removeEventListener(_,O,q)}),e.wrapperEl.removeEventListener("pointermove",I,B)}t("init",()=>{e.params.zoom.enabled&&X()}),t("destroy",()=>{ae()}),t("touchStart",($,q)=>{e.zoom.enabled&&L(q)}),t("touchEnd",($,q)=>{e.zoom.enabled&&S()}),t("doubleTap",($,q)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&N(q)}),t("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&z()}),t("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&z()}),Object.assign(e.zoom,{enable:X,disable:ae,in:w,out:V,toggle:N})}function ii({swiper:e,extendParams:s,on:t}){s({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function i(l,f){const m=(function(){let o,h,b;return(p,v)=>{for(h=-1,o=p.length;o-h>1;)b=o+h>>1,p[b]<=v?h=b:o=b;return o}})();this.x=l,this.y=f,this.lastIndex=l.length-1;let u,g;return this.interpolate=function(o){return o?(g=m(this.x,o),u=g-1,(o-this.x[u])*(this.y[g]-this.y[u])/(this.x[g]-this.x[u])+this.y[u]):0},this}function n(l){e.controller.spline=e.params.loop?new i(e.slidesGrid,l.slidesGrid):new i(e.snapGrid,l.snapGrid)}function a(l,f){const m=e.controller.control;let u,g;const r=e.constructor;function o(h){if(h.destroyed)return;const b=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(n(h),g=-e.controller.spline.interpolate(-b)),(!g||e.params.controller.by==="container")&&(u=(h.maxTranslate()-h.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(u)||!Number.isFinite(u))&&(u=1),g=(b-e.minTranslate())*u+h.minTranslate()),e.params.controller.inverse&&(g=h.maxTranslate()-g),h.updateProgress(g),h.setTranslate(g,e),h.updateActiveIndex(),h.updateSlidesClasses()}if(Array.isArray(m))for(let h=0;h<m.length;h+=1)m[h]!==f&&m[h]instanceof r&&o(m[h]);else m instanceof r&&f!==m&&o(m)}function d(l,f){const m=e.constructor,u=e.controller.control;let g;function r(o){o.destroyed||(o.setTransition(l,e),l!==0&&(o.transitionStart(),o.params.autoHeight&&ge(()=>{o.updateAutoHeight()}),Te(o.wrapperEl,()=>{u&&o.transitionEnd()})))}if(Array.isArray(u))for(g=0;g<u.length;g+=1)u[g]!==f&&u[g]instanceof m&&r(u[g]);else u instanceof m&&f!==u&&r(u)}function c(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t("beforeInit",()=>{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){(typeof e.params.controller.control=="string"?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEac
2h(f=>{if(e.controller.control||(e.controller.control=[]),f&&f.swiper)e.controller.control.push(f.swiper);else if(f){const m=`${e.params.eventsPrefix}init`,u=g=>{e.controller.control.push(g.detail[0]),e.update(),f.removeEventListener(m,u)};f.addEventListener(m,u)}});return}e.controller.control=e.params.controller.control}),t("update",()=>{c()}),t("resize",()=>{c()}),t("observerUpdate",()=>{c()}),t("setTranslate",(l,f,m)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(f,m)}),t("setTransition",(l,f,m)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(f,m)}),Object.assign(e.controller,{setTranslate:a,setTransition:d})}function ai({swiper:e,extendParams:s,on:t}){s({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),e.a11y={clicked:!1};let i=null,n,a,d=new Date().getTime();function c(S){const z=i;z.length!==0&&te(z,S)}function l(S=16){const z=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(S).replace(/x/g,z)}function f(S){S=G(S),S.forEach(z=>{z.setAttribute("tabIndex","0")})}function m(S){S=G(S),S.forEach(z=>{z.setAttribute("tabIndex","-1")})}function u(S,z){S=G(S),S.forEach(k=>{k.setAttribute("role",z)})}function g(S,z){S=G(S),S.forEach(k=>{k.setAttribute("aria-roledescription",z)})}function r(S,z){S=G(S),S.forEach(k=>{k.setAttribute("aria-label",z)})}function o(S,z){S=G(S),S.forEach(k=>{k.setAttribute("id",z)})}function h(S,z){S=G(S),S.forEach(k=>{k.setAttribute("aria-live",z)})}function b(S){S=G(S),S.forEach(z=>{z.setAttribute("aria-disabled",!0)})}function p(S){S=G(S),S.forEach(z=>{z.removeAttribute("aria-disabled")})}function v(S){if(S.keyCode!==13&&S.keyCode!==32)return;const z=e.params.a11y,k=S.target;if(!(e.pagination&&e.pagination.el&&(k===e.pagination.el||e.pagination.el.contains(S.target))&&!S.target.matches(ie(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const w=G(e.navigation.prevEl);G(e.navigation.nextEl).includes(k)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?c(z.lastSlideMessage):c(z.nextSlideMessage)),w.includes(k)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?c(z.firstSlideMessage):c(z.prevSlideMessage))}e.pagination&&k.matches(ie(e.params.pagination.bulletClass))&&k.click()}}function y(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:S,prevEl:z}=e.navigation;z&&(e.isBeginning?(b(z),m(z)):(p(z),f(z))),S&&(e.isEnd?(b(S),m(S)):(p(S),f(S)))}function T(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function C(){return T()&&e.params.pagination.clickable}function P(){const S=e.params.a11y;T()&&e.pagination.bullets.forEach(z=>{e.params.pagination.clickable&&(f(z),e.params.pagination.renderBullet||(u(z,"button"),r(z,S.paginationBulletMessage.replace(/\{\{index\}\}/,Me(z)+1)))),z.matches(ie(e.params.pagination.bulletActiveClass))?z.setAttribute("aria-current","true"):z.removeAttribute("aria-current")})}const D=(S,z,k)=>{f(S),S.tagName!=="BUTTON"&&(u(S,"button"),S.addEventListener("keydown",v)),r(S,k)},E=S=>{a&&a!==S.target&&!a.contains(S.target)&&(n=!0),e.a11y.clicked=!0},O=()=>{n=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},A=S=>{d=new Date().getTime()},x=S=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-d<100)return;const z=S.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!z||!e.slides.includes(z))return;a=z;const k=e.virtual&&e.params.virtual.enabled,w=(k?parseInt(z.getAttribute("data-swiper-slide-index"),10):e.slides.indexOf(z))===e.activeIndex,V=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(z);w||V||S.sourceCapabilities&&S.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>
2{n||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(z.getAttribute("data-swiper-slide-index"))),0):k?e.slideTo(e.getSlideIndexWhenGrid(parseInt(z.getAttribute("data-swiper-slide-index"),10)),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(z)),0),n=!1)}))},M=()=>{const S=e.params.a11y;S.itemRoleDescriptionMessage&&g(e.slides,S.itemRoleDescriptionMessage),S.slideRole&&u(e.slides,S.slideRole);const z=e.slides.length;S.slideLabelMessage&&e.slides.forEach((k,w)=>{const V=e.params.loop?parseInt(k.getAttribute("data-swiper-slide-index"),10):w,N=S.slideLabelMessage.replace(/\{\{index\}\}/,V+1).replace(/\{\{slidesLength\}\}/,z);r(k,N)})},L=()=>{const S=e.params.a11y;e.el.append(i);const z=e.el;S.containerRoleDescriptionMessage&&g(z,S.containerRoleDescriptionMessage),S.containerMessage&&r(z,S.containerMessage),S.containerRole&&u(z,S.containerRole);const k=e.wrapperEl,w=S.id||k.getAttribute("id")||`swiper-wrapper-${l(16)}`;if(o(k,w),S.wrapperLiveRegion){const X=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";h(k,X)}M();let{nextEl:V,prevEl:N}=e.navigation?e.navigation:{};V=G(V),N=G(N),V&&V.forEach(X=>D(X,w,S.nextSlideMessage)),N&&N.forEach(X=>D(X,w,S.prevSlideMessage)),C()&&G(e.pagination.el).forEach(ae=>{ae.addEventListener("keydown",v)}),F().addEventListener("visibilitychange",A),e.el.addEventListener("focus",x,!0),e.el.addEventListener("pointerdown",E,!0),e.el.addEventListener("pointerup",O,!0)};function I(){i&&i.remove();let{nextEl:S,prevEl:z}=e.navigation?e.navigation:{};S=G(S),z=G(z),S&&S.forEach(w=>w.removeEventListener("keydown",v)),z&&z.forEach(w=>w.removeEventListener("keydown",v)),C()&&G(e.pagination.el).forEach(V=>{V.removeEventListener("keydown",v)}),F().removeEventListener("visibilitychange",A),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",x,!0),e.el.removeEventListener("pointerdown",E,!0),e.el.removeEventListener("pointerup",O,!0))}t("beforeInit",()=>{i=Q("span",e.params.a11y.notificationClass),i.setAttribute("aria-live","assertive"),i.setAttribute("aria-atomic","true")}),t("afterInit",()=>{e.params.a11y.enabled&&L()}),t("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&M()}),t("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&y()}),t("paginationUpdate",()=>{e.params.a11y.enabled&&P()}),t("destroy",()=>{e.params.a11y.enabled&&I()})}function ni({swiper:e,extendParams:s,on:t}){s({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let i=!1,n={};const a=g=>g.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),d=g=>{const r=R();let o;g?o=new URL(g):o=r.location;const h=o.pathname.slice(1).split("/").filter(y=>y!==""),b=h.length,p=h[b-2],v=h[b-1];return{key:p,value:v}},c=(g,r)=>{const o=R();if(!i||!e.params.history.enabled)return;let h;e.params.url?h=new URL(e.params.url):h=o.location;const b=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${r}"]`):e.slides[r];let p=a(b.getAttribute("data-history"));if(e.params.history.root.length>0){let y=e.params.history.root;y[y.length-1]==="/"&&(y=y.slice(0,y.length-1)),p=`${y}/${g?`${g}/`:""}${p}`}else h.pathname.includes(g)||(p=`${g?`${g}/`:""}${p}`);e.params.history.keepQuery&&(p+=h.search);const v=o.history.state;v&&v.value===p||(e.params.history.replaceState?o.history.replaceState({value:p},null,p):o.history.pushState({value:p},null,p))},l=(g,r,o)=>{if(r)for(let h=0,b=e.slides.length;h<b;h+=1){const p=e.slides[h];if(a(p.getAttribute("data-history"))===r){const y=e.getSlideIndex(p);e.slideTo(y,g,o)}}else e.slideTo(0,g,o)},f=()=>{n=d(e.params.url),l(e.params.speed,n.value,!1)},m=()=>{const g=R();if(e.params.history){if(!g.history||!g.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(i=!0,n=d(e.params.url),!n.key&&!n.value){e.params.history.replaceState||g.addEventListener("popstate",f);return}l(0,n.value,e.params.runCallbacksOnInit),e.params.history.replaceState||g.addEventListener("popstate",f)}},u=()=>{const g=R();e.params.history.replaceState||g.removeEventListener("popstate",f)};t("init",()=>{e.params.history.enabled&&m()}),t("destroy",()=>{e.params.history.enabled&&u()}),t("transitionEnd _freeModeNoMomentumRelease",()=>{i&&c(e.params.history.key,e.activeIndex)}),t("slideChange",()=>{i&&e.params.cssMode&&c(e.params.history.key,e.activeIndex)})}function ri({swiper:e,extendParams:s,emit:t,on:i}){let n=!1;const a=F(),d=R();s({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(u,g){if(e.virtual&&e.params.virtual.enabled){const r=e.slides.find(h=>h.getAttribute("data-hash")===g);return r?parseInt(r.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(Y(e.slidesEl,`.${e.params.slideClass}[data-hash="${g}"], swiper-slide[data-hash="${g}"]`)[0])}}});const c=()=>{t("hashChange");const u=a.location.hash.replace("#",""),g=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],r=g?g.getAttribute("data-hash"):"";if(u!==r){const o=e.params.hashNavigation.getSlideIndex(e,u);if(typeof o>"u"||Number.isNaN(o))return;e.slideTo(o)}},l=()=>{if(!n||!e.params.hashNavigation.enabled)return;const u=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],g=u?u.getAttribute("data-hash")||u.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&d.history&&d.history.replaceState?(d.history.replaceState(null,null,`#${g}`||""),t("hashSet")):(a.location.hash=g||"",t("hashSet"))},f=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;n=!0;const u=a.location.hash.replace("#","");if(u){const r=e.params.hashNavigation.getSlideIndex(e,u);e.slideTo(r||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&d.addEventListener("hashchange",c)},m=()=>{e.params.hashNavigation.watchState&&d.removeEventListener("hashchange",c)};i("init",()=>{e.params.hashNavigation.enabled&&f()}),i("destroy",()=>{e.params.hashNavigation.enabled&&m()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{n&&l()}),i("slideChange",()=>{n&&e.params.cssMode&&l()})}function li({swiper:e,extendParams:s,on:t,emit:i,params:n}){e.autoplay={running:!1,paused:!1,timeLeft:0},s({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,d,c=n&&n.autoplay?n.autoplay.delay:3e3,l=n&&n.autoplay?n.autoplay.delay:3e3,f,m=new Date().getTime(),u,g,r,o,h,b;function p(k){!e||e.destroyed||!e.wrapperEl||k.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",p),!(b||k.detail&&k.detail.bySwiperTouchMove)&&O())}const v=()=>{if(e.destroyed||!e.autoplay.running)return;
2e.autoplay.paused?u=!0:u&&(l=f,u=!1);const k=e.autoplay.paused?f:m+l-new Date().getTime();e.autoplay.timeLeft=k,i("autoplayTimeLeft",k,k/c),d=requestAnimationFrame(()=>{v()})},y=()=>{let k;return e.virtual&&e.params.virtual.enabled?k=e.slides.find(V=>V.classList.contains("swiper-slide-active")):k=e.slides[e.activeIndex],k?parseInt(k.getAttribute("data-swiper-autoplay"),10):void 0},T=()=>{let k=e.params.autoplay.delay;const w=y();return!Number.isNaN(w)&&w>0&&(k=w),k},C=k=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(d),v();let w=k;typeof w>"u"&&(w=T(),c=w,l=w),f=w;const V=e.params.speed,N=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(V,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,V,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(V,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,V,!0,!0),i("autoplay")),e.params.cssMode&&(m=new Date().getTime(),requestAnimationFrame(()=>{C()})))};return w>0?(clearTimeout(a),a=setTimeout(()=>{N()},w)):requestAnimationFrame(()=>{N()}),w},P=()=>{m=new Date().getTime(),e.autoplay.running=!0,C(),i("autoplayStart")},D=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(d),i("autoplayStop")},E=(k,w)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),k||(h=!0);const V=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",p):O()};if(e.autoplay.paused=!0,w){V();return}f=(f||e.params.autoplay.delay)-(new Date().getTime()-m),!(e.isEnd&&f<0&&!e.params.loop)&&(f<0&&(f=0),V())},O=()=>{e.isEnd&&f<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(m=new Date().getTime(),h?(h=!1,C(f)):C(),e.autoplay.paused=!1,i("autoplayResume"))},A=()=>{if(e.destroyed||!e.autoplay.running)return;const k=F();k.visibilityState==="hidden"&&(h=!0,E(!0)),k.visibilityState==="visible"&&O()},x=k=>{k.pointerType==="mouse"&&(h=!0,b=!0,!(e.animating||e.autoplay.paused)&&E(!0))},M=k=>{k.pointerType==="mouse"&&(b=!1,e.autoplay.paused&&O())},L=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",x),e.el.addEventListener("pointerleave",M))},I=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",x),e.el.removeEventListener("pointerleave",M))},S=()=>{F().addEventListener("visibilitychange",A)},z=()=>{F().removeEventListener("visibilitychange",A)};t("init",()=>{e.params.autoplay.enabled&&(L(),S(),P())}),t("destroy",()=>{I(),z(),e.autoplay.running&&D()}),t("_freeModeStaticRelease",()=>{(r||h)&&O()}),t("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?D():E(!0,!0)}),t("beforeTransitionStart",(k,w,V)=>{e.destroyed||!e.autoplay.running||(V||!e.params.autoplay.disableOnInteraction?E(!0,!0):D())}),t("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){D();return}g=!0,r=!1,h=!1,o=setTimeout(()=>{h=!0,r=!0,E(!0)},200)}}),t("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!g)){if(clearTimeout(o),clearTimeout(a),e.params.autoplay.disableOnInteraction){r=!1,g=!1;return}r&&e.params.cssMode&&O(),r=!1,g=!1}}),t("slideChange",()=>{e.destroyed||!e.autoplay.running||e.autoplay.paused&&(f=T(),c=T())}),Object.assign(e.autoplay,{start:P,stop:D,pause:E,resume:O})}function oi({swiper:e,extendParams:s,on:t}){s({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,n=!1;e.thumbs={swiper:null};function a(){const m=e.thumbs.swiper;return!m||m.destroyed?!1:m.params.virtual&&m.params.virtual.enabled}function d(){const m=e.thumbs.swiper;if(!m||m.destroyed)return;const u=m.clickedIndex,g=m.clickedSlide;if(g&&g.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof u>"u"||u===null)return;let r;m.params.loop?r=parseInt(m.clickedSlide.getAttribute("data-swiper-slide-index"),10):r=u,e.params.loop?e.slideToLoop(r):e.slideTo(r)}function c(){const{thumbs:m}=e.params;if(i)return!1;i=!0;const u=e.constructor;if(m.swiper instanceof u){if(m.swiper.destroyed)return i=!1,!1;e.thumbs.swiper=m.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}
2),e.thumbs.swiper.update()}else if(xe(m.swiper)){const g=Object.assign({},m.swiper);Object.assign(g,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new u(g),n=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",d),a()&&e.thumbs.swiper.on("virtualUpdate",()=>{l(!1,{autoScroll:!1})}),!0}function l(m,u){const g=e.thumbs.swiper;if(!g||g.destroyed)return;let r=1;const o=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(r=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(r=1),r=Math.floor(r),g.slides.forEach(h=>h.classList.remove(o)),g.params.loop||a())for(let h=0;h<r;h+=1)Y(g.slidesEl,`[data-swiper-slide-index="${e.realIndex+h}"]`).forEach(b=>{b.classList.add(o)});else for(let h=0;h<r;h+=1)g.slides[e.realIndex+h]&&g.slides[e.realIndex+h].classList.add(o);(u?.autoScroll??!0)&&f(m?0:void 0)}function f(m){const u=e.thumbs.swiper;if(!u||u.destroyed)return;const g=u.params.slidesPerView==="auto"?u.slidesPerViewDynamic():u.params.slidesPerView,r=e.params.thumbs.autoScrollOffset,o=r&&!u.params.loop;if(e.realIndex!==u.realIndex||o){const h=u.activeIndex;let b,p;if(u.params.loop){const v=u.slides.find(y=>y.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);b=u.slides.indexOf(v),p=e.activeIndex>e.previousIndex?"next":"prev"}else b=e.realIndex,p=b>e.previousIndex?"next":"prev";o&&(b+=p==="next"?r:-1*r),u.visibleSlidesIndexes&&u.visibleSlidesIndexes.indexOf(b)<0&&(u.params.centeredSlides?b>h?b=b-Math.floor(g/2)+1:b=b+Math.floor(g/2)-1:b>h&&u.params.slidesPerGroup,u.slideTo(b,m))}}t("beforeInit",()=>{const{thumbs:m}=e.params;if(!(!m||!m.swiper))if(typeof m.swiper=="string"||m.swiper instanceof HTMLElement){const u=F(),g=()=>{const o=typeof m.swiper=="string"?u.querySelector(m.swiper):m.swiper;if(o&&o.swiper)m.swiper=o.swiper,c(),l(!0);else if(o){const h=`${e.params.eventsPrefix}init`,b=p=>{m.swiper=p.detail[0],o.removeEventListener(h,b),c(),l(!0),m.swiper.update(),e.update()};o.addEventListener(h,b)}return o},r=()=>{if(e.destroyed)return;g()||requestAnimationFrame(r)};requestAnimationFrame(r)}else c(),l(!0)}),t("slideChange update resize observerUpdate",()=>{l()}),t("setTransition",(m,u)=>{const g=e.thumbs.swiper;!g||g.destroyed||g.setTransition(u)}),t("beforeDestroy",()=>{const m=e.thumbs.swiper;!m||m.destroyed||n&&m.destroy()}),Object.assign(e.thumbs,{init:c,update:l})}function di({swiper:e,extendParams:s,emit:t,once:i}){s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function n(){if(e.params.cssMode)return;const c=e.getTranslate();e.setTranslate(c),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function a(){if(e.params.cssMode)return;const{touchEventsData:c,touches:l}=e;c.velocities.length===0&&c.velocities.push({position:l[e.isHorizontal()?"startX":"startY"],time:c.touchStartTime}),c.velocities.push({position:l[e.isHorizontal()?"currentX":"currentY"],time:J()})}function d({currentPos:c}){if(e.params.cssMode)return;const{params:l,wrapperEl:f,rtlTranslate:m,snapGrid:u,touchEventsData:g}=e,o=J()-g.touchStartTime;if(c<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(c>-e.maxTranslate()){e.slides.length<u.length?e.slideTo(u.length-1):e.slideTo(e.slides.length-1);return}if(l.freeMode.momentum){if(g.velocities.length>1){const P=g.velocities.pop(),D=g.velocities.pop(),E=P.position-D.position,O=P.time-D.time;e.velocity=E/O,e.velocity/=2,Math.abs(e.velocity)<l.freeMode.minimumVelocity&&(e.velocity=0),(O>150||J()-P.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=l.freeMode.momentumVelocityRatio,g.velocities.length=0;let h=1e3*l.freeMode.momentumRatio;const b=e.velocity*h;let p=e.translate+b;m&&(p=-p);let v=!1,y;const T=Math.abs(e.velocity)*20*l.freeMode.momentumBounceRatio;let C;if(p<e.maxTranslate())l.freeMode.momentumBounce?(p+e.maxTranslate()<-T&&(p=e.maxTranslate()-T),y=e.maxTranslate(),v=!0,g.allowMomentumBounce=!0):p=e.maxTranslate(),l.loop&&l.centeredSlides&&(C=!0);else if(p>e.minTranslate())l.freeMode.momentumBounce?(p-e.minTranslate()>T&&(p=e.minTranslate()+T),y=e.minTranslate(),v=!0,g.allowMomentumBounce
vendor: 5,004 bytes, line 2
2=!0):p=e.minTranslate(),l.loop&&l.centeredSlides&&(C=!0);else if(l.freeMode.sticky){let P;for(let D=0;D<u.length;D+=1)if(u[D]>-p){P=D;break}Math.abs(u[P]-p)<Math.abs(u[P-1]-p)||e.swipeDirection==="next"?p=u[P]:p=u[P-1],p=-p}if(C&&i("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?h=Math.abs((-p-e.translate)/e.velocity):h=Math.abs((p-e.translate)/e.velocity),l.freeMode.sticky){const P=Math.abs((m?-p:p)-e.translate),D=e.slidesSizesGrid[e.activeIndex];P<D?h=l.speed:P<2*D?h=l.speed*1.5:h=l.speed*2.5}}else if(l.freeMode.sticky){e.slideToClosest();return}l.freeMode.momentumBounce&&v?(e.updateProgress(y),e.setTransition(h),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating=!0,Te(f,()=>{!e||e.destroyed||!g.allowMomentumBounce||(t("momentumBounce"),e.setTransition(l.speed),setTimeout(()=>{e.setTranslate(y),Te(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(t("_freeModeNoMomentumRelease"),e.updateProgress(p),e.setTransition(h),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Te(f,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(p),e.updateActiveIndex(),e.updateSlidesClasses()}else if(l.freeMode.sticky){e.slideToClosest();return}else l.freeMode&&t("_freeModeNoMomentumRelease");(!l.freeMode.momentum||o>=l.longSwipesMs)&&(t("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:n,onTouchMove:a,onTouchEnd:d}})}function ci({swiper:e,extendParams:s,on:t}){s({grid:{rows:1,fill:"column"}});let i,n,a,d;const c=()=>{let o=e.params.spaceBetween;return typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o)),o},l=o=>{const{slidesPerView:h}=e.params,{rows:b,fill:p}=e.params.grid,v=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:o.length;a=Math.floor(v/b),Math.floor(v/b)===v/b?i=v:i=Math.ceil(v/b)*b,h!=="auto"&&p==="row"&&(i=Math.max(i,Math.floor(h)*b)),n=i/b},f=()=>{e.slides&&e.slides.forEach(o=>{o.swiperSlideGridSet&&(o.style.height="",o.style[e.getDirectionLabel("margin-top")]="")})},m=(o,h,b)=>{const{slidesPerGroup:p}=e.params,v=c(),{rows:y,fill:T}=e.params.grid,C=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:b.length;let P,D,E;if(T==="row"&&p>1){const O=Math.floor(o/(p*y)),A=o-y*p*O,x=O===0?p:Math.min(Math.ceil((C-O*y*p)/y),p);E=Math.floor(A/x),D=A-E*x+O*p,P=D+E*i/y,h.style.order=P}else T==="column"?(D=Math.floor(o/y),E=o-D*y,(D>a||D===a&&E===y-1)&&(E+=1,E>=y&&(E=0,D+=1))):(E=Math.floor(o/n),D=o-E*n);h.row=E,h.column=D,h.style.height=`calc((100% - ${(y-1)*v}px) / ${y})`,h.style[e.getDirectionLabel("margin-top")]=E!==0?v&&`${v}px`:"",h.swiperSlideGridSet=!0},u=(o,h)=>{const{centeredSlides:b,roundLengths:p}=e.params,v=c(),{rows:y}=e.params.grid;if(e.virtualSize=(o+v)*i,e.virtualSize=Math.ceil(e.virtualSize/y)-v,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+v}px`),b){const T=[];for(let C=0;C<h.length;C+=1){let P=h[C];p&&(P=Math.floor(P)),h[C]<e.virtualSize+h[0]&&T.push(P)}h.splice(0,h.length),h.push(...T)}},g=()=>{d=e.params.grid&&e.params.grid.rows>1},r=()=>{const{params:o,el:h}=e,b=o.grid&&o.grid.rows>1;d&&!b?(h.classList.remove(`${o.containerModifierClass}grid`,`${o.containerModifierClass}grid-column`),a=1,e.emitContainerClasses()):!d&&b&&(h.classList.add(`${o.containerModifierClass}grid`),o.grid.fill==="column"&&h.classList.add(`${o.containerModifierClass}grid-column`),e.emitContainerClasses()),d=b};t("init",g),t("update",r),e.grid={initSlides:l,unsetSlides:f,updateSlide:m,updateWrapperSize:u}}function ui(e){const s=this,{params:t,slidesEl:i}=s;t.loop&&s.loopDestroy();const n=a=>{if(typeof a=="string"){const d=document.createElement("div");te(d,a),i.append(d.children[0]),te(d,"")}else i.append(a)};if(typeof e=="object"&&"length"in e)for(let a=0;a<e.length;a+=1)e[a]&&n(e[a]);else n(e);s.recalcSlides(),t.loop&&s.loopCreate(),(!t.observer||s.isElement)&&s.update()}function fi(e){const s=this,{params:t,activeIndex:i,slidesEl:n}=s;t.loop&&s.loopDestroy();let a=i+1;const d=c=>{if(typeof c=="string"){const l=document.createElement("div");te(l,c),n.prepend(l.children[0]),te(l,"")}else n.prepend(c)};if(typeof e=="object"&&"length"in e){for(let c=0;c<e.length;c+=1)e[c]&&d(e[c]);a=i+e.length}else d(e);s.recalcSlides(),t.loop&&s.loopCreate(),(!t.observer||s.isElement)&&s.update(),s.slideTo(a,0,!1)}function mi(e,s){const t=this,{params:i,activeIndex:n,slidesEl:a}=t;let d=n;i.loop&&(d-=t.loopedSlides,t.loopDestroy(),t.recalcSlides());const c=t.slides.length;if(e<=0){t.prependSlide(s);return}if(e>=c){t.appendSlide(s);return}let l=d>e?d+1:d;const f=[];for(let m=c-1;m>=e;m-=1){const u=t.slides[m];u.remove(),f.unshift(u)}if(typeof s=="object"&&"length"in s){for(let m=0;m<s.length;m+=1)s[m]&&a.append(s[m]);l=d>e?d+s.length:d}else a.append(s);for(let m=0;m<f.length;m+=1)a.append(f[m]);t.recalcSlides(),i.loop&&t.loopCreate(),(!i.observer||t.isElement)&&t.update(
2),i.loop?t.slideTo(l+t.loopedSlides,0,!1):t.slideTo(l,0,!1)}function hi(e){const s=this,{params:t,activeIndex:i}=s;let n=i;t.loop&&(n-=s.loopedSlides,s.loopDestroy());let a=n,d;if(typeof e=="object"&&"length"in e){for(let c=0;c<e.length;c+=1)d=e[c],s.slides[d]&&s.slides[d].remove(),d<a&&(a-=1);a=Math.max(a,0)}else d=e,s.slides[d]&&s.slides[d].remove(),d<a&&(a-=1),a=Math.max(a,0);s.recalcSlides(),t.loop&&s.loopCreate(),(!t.observer||s.isElement)&&s.update(),t.loop?s.slideTo(a+s.loopedSlides,0,!1):s.slideTo(a,0,!1)}function pi(){const e=this,s=[];for(let t=0;t<e.slides.length;t+=1)s.push(t);e.removeSlide(s)}function gi({swiper:e}){Object.assign(e,{appendSlide:ui.bind(e),prependSlide:fi.bind(e),addSlide:mi.bind(e),removeSlide:hi.bind(e),removeAllSlides:pi.bind(e)})}function ye(e){const{effect:s,swiper:t,on:i,setTranslate:n,setTransition:a,overwriteParams:d,perspective:c,recreateShadows:l,getEffectParams:f}=e;i("beforeInit",()=>{if(t.params.effect!==s)return;t.classNames.push(`${t.params.containerModifierClass}${s}`),c&&c()&&t.classNames.push(`${t.params.containerModifierClass}3d`);const u=d?d():{};Object.assign(t.params,u),Object.assign(t.originalParams,u)}),i("setTranslate _virtualUpdated",()=>{t.params.effect===s&&n()}),i("setTransition",(u,g)=>{t.params.effect===s&&a(g)}),i("transitionEnd",()=>{if(t.params.effect===s&&l){if(!f||!f().slideShadows)return;t.slides.forEach(u=>{u.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(g=>g.remove())}),l()}});let m;i("virtualUpdate",()=>{t.params.effect===s&&(t.slides.length||(m=!0),requestAnimationFrame(()=>{m&&t.slides&&t.slides.length&&(n(),m=!1)}))})}function Ce(e,s){const t=fe(s);return t!==s&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function ke({swiper:e,duration:s,transformElements:t,allSlides:i}){const{activeIndex:n}=e,a=d=>d.parentElement?d.parentElement:e.slides.find(l=>l.shadowRoot&&l.shadowRoot===d.parentNode);if(e.params.virtualTranslate&&s!==0){let d=!1,c;i?c=t:c=t.filter(l=>{const f=l.classList.contains("swiper-slide-transform")?a(l):l;return e.getSlideIndex(f)===n}),c.forEach(l=>{Te(l,()=>{if(d||!e||e.destroyed)return;d=!0,e.animating=!1;const f=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(f)})})}}function vi({swiper:e,extendParams:s,on:t}){s({fadeEffect:{crossFade:!1}}
2),ye({effect:"fade",swiper:e,on:t,setTranslate:()=>{const{slides:a}=e,d=e.params.fadeEffect;for(let c=0;c<a.length;c+=1){const l=e.slides[c];let m=-l.swiperSlideOffset;e.params.virtualTranslate||(m-=e.translate);let u=0;e.isHorizontal()||(u=m,m=0);const g=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(l.progress),0):1+Math.min(Math.max(l.progress,-1),0),r=Ce(d,l);r.style.opacity=g,r.style.transform=`translate3d(${m}px, ${u}px, 0px)`}},setTransition:a=>{const d=e.slides.map(c=>fe(c));d.forEach(c=>{c.style.transitionDuration=`${a}ms`}),ke({swiper:e,duration:a,transformElements:d,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function yi({swiper:e,extendParams:s,on:t}){s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(c,l,f)=>{let m=f?c.querySelector(".swiper-slide-shadow-left"):c.querySelector(".swiper-slide-shadow-top"),u=f?c.querySelector(".swiper-slide-shadow-right"):c.querySelector(".swiper-slide-shadow-bottom");m||(m=Q("div",`swiper-slide-shadow-cube swiper-slide-shadow-${f?"left":"top"}`.split(" ")),c.append(m)),u||(u=Q("div",`swiper-slide-shadow-cube swiper-slide-shadow-${f?"right":"bottom"}`.split(" ")),c.append(u)),m&&(m.style.opacity=Math.max(-l,0)),u&&(u.style.opacity=Math.max(l,0))};
2ye({effect:"cube",swiper:e,on:t,setTranslate:()=>{const{el:c,wrapperEl:l,slides:f,width:m,height:u,rtlTranslate:g,size:r,browser:o}=e,h=ze(e),b=e.params.cubeEffect,p=e.isHorizontal(),v=e.virtual&&e.params.virtual.enabled;let y=0,T;b.shadow&&(p?(T=e.wrapperEl.querySelector(".swiper-cube-shadow"),T||(T=Q("div","swiper-cube-shadow"),e.wrapperEl.append(T)),T.style.height=`${m}px`):(T=c.querySelector(".swiper-cube-shadow"),T||(T=Q("div","swiper-cube-shadow"),c.append(T))));for(let P=0;P<f.length;P+=1){const D=f[P];let E=P;v&&(E=parseInt(D.getAttribute("data-swiper-slide-index"),10));let O=E*90,A=Math.floor(O/360);g&&(O=-O,A=Math.floor(-O/360));const x=Math.max(Math.min(D.progress,1),-1);let M=0,L=0,I=0;E%4===0?(M=-A*4*r,I=0):(E-1)%4===0?(M=0,I=-A*4*r):(E-2)%4===0?(M=r+A*4*r,I=r):(E-3)%4===0&&(M=-r,I=3*r+r*4*A),g&&(M=-M),p||(L=M,M=0);const S=`rotateX(${h(p?0:-O)}deg) rotateY(${h(p?O:0)}deg) translate3d(${M}px, ${L}px, ${I}px)`;x<=1&&x>-1&&(y=E*90+x*90,g&&(y=-E*90-x*90)),D.style.transform=S,b.slideShadows&&i(D,x,p)}if(l.style.transformOrigin=`50% 50% -${r/2}px`,l.style["-webkit-transform-origin"]=`50% 50% -${r/2}px`,b.shadow)if(p)T.style.transform=`translate3d(0px, ${m/2+b.shadowOffset}px, ${-m/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${b.shadowScale})`;else{const P=Math.abs(y)-Math.floor(Math.abs(y)/90)*90,D=1.5-(Math.sin(P*2*Math.PI/360)/2+Math.cos(P*2*Math.PI/360)/2),E=b.shadowScale,O=b.shadowScale/D,A=b.shadowOffset;T.style.transform=`scale3d(${E}, 1, ${O}) translate3d(0px, ${u/2+A}px, ${-u/2/O}px) rotateX(-89.99deg)`}const C=(o.isSafari||o.isWebView)&&o.needPerspectiveFix?-r/2:0;l.style.transform=`translate3d(0px,0,${C}px) rotateX(${h(e.isHorizontal()?0:y)}deg) rotateY(${h(e.isHorizontal()?-y:0)}deg)`,l.style.setProperty("--swiper-cube-translate-z",`${C}px`)},setTransition:c=>{const{el:l,slides:f}=e;if(f.forEach(m=>{m.style.transitionDuration=`${c}ms`,m.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${c}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const m=l.querySelector(".swiper-cube-shadow");m&&(m.style.transitionDuration=`${c}ms`)}},recreateShadows:()=>{const c=e.isHorizontal();e.slides.forEach(l=>{const f=Math.max(Math.min(l.progress,1),-1);i(l,f,c)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function ve(e,s,t){const i=`swiper-slide-shadow${t?`-${t}`:""}${e?` swiper-slide-shadow-${e}`:""}`,n=fe(s);let a=n.querySelector(`.${i.split(" ").join(".")}`);return a||(a=Q("div",i.split(" ")),n.append(a)),a}function bi({swiper:e,extendParams:s,on:t}){s({flipEffect:{slideShadows:!0,limitRotation:!0}});const i=(c,l)=>{let f=e.isHorizontal()?c.querySelector(".swiper-slide-shadow-left"):c.querySelector(".swiper-slide-shadow-top"),m=e.isHorizontal()?c.querySelector(".swiper-slide-shadow-right"):c.querySelector(".swiper-slide-shadow-bottom");f||(f=ve("flip",c,e.isHorizontal()?"left":"top")),m||(m=ve("flip",c,e.isHorizontal()?"right":"bottom")),f&&(f.style.opacity=Math.max(-l,0)),m&&(m.style.opacity=Math.max(l,0))};
2ye({effect:"flip",swiper:e,on:t,setTranslate:()=>{const{slides:c,rtlTranslate:l}=e,f=e.params.flipEffect,m=ze(e);for(let u=0;u<c.length;u+=1){const g=c[u];let r=g.progress;e.params.flipEffect.limitRotation&&(r=Math.max(Math.min(g.progress,1),-1));const o=g.swiperSlideOffset;let b=-180*r,p=0,v=e.params.cssMode?-o-e.translate:-o,y=0;e.isHorizontal()?l&&(b=-b):(y=v,v=0,p=-b,b=0),g.style.zIndex=-Math.abs(Math.round(r))+c.length,f.slideShadows&&i(g,r);const T=`translate3d(${v}px, ${y}px, 0px) rotateX(${m(p)}deg) rotateY(${m(b)}deg)`,C=Ce(f,g);C.style.transform=T}},setTransition:c=>{const l=e.slides.map(f=>fe(f));l.forEach(f=>{f.style.transitionDuration=`${c}ms`,f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(m=>{m.style.transitionDuration=`${c}ms`})}),ke({swiper:e,duration:c,transformElements:l})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(c=>{let l=c.progress;e.params.flipEffect.limitRotation&&(l=Math.max(Math.min(c.progress,1),-1)),i(c,l)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function Si({swiper:e,extendParams:s,on:t}){s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}
2),ye({effect:"coverflow",swiper:e,on:t,setTranslate:()=>{const{width:a,height:d,slides:c,slidesSizesGrid:l}=e,f=e.params.coverflowEffect,m=e.isHorizontal(),u=e.translate,g=m?-u+a/2:-u+d/2,r=m?f.rotate:-f.rotate,o=f.depth,h=ze(e);for(let b=0,p=c.length;b<p;b+=1){const v=c[b],y=l[b],T=v.swiperSlideOffset,C=(g-T-y/2)/y,P=typeof f.modifier=="function"?f.modifier(C):C*f.modifier;let D=m?r*P:0,E=m?0:r*P,O=-o*Math.abs(P),A=f.stretch;typeof A=="string"&&A.indexOf("%")!==-1&&(A=parseFloat(f.stretch)/100*y);let x=m?0:A*P,M=m?A*P:0,L=1-(1-f.scale)*Math.abs(P);Math.abs(M)<.001&&(M=0),Math.abs(x)<.001&&(x=0),Math.abs(O)<.001&&(O=0),Math.abs(D)<.001&&(D=0),Math.abs(E)<.001&&(E=0),Math.abs(L)<.001&&(L=0);const I=`translate3d(${M}px,${x}px,${O}px)  rotateX(${h(E)}deg) rotateY(${h(D)}deg) scale(${L})`,S=Ce(f,v);if(S.style.transform=I,v.style.zIndex=-Math.abs(Math.round(P))+1,f.slideShadows){let z=m?v.querySelector(".swiper-slide-shadow-left"):v.querySelector(".swiper-slide-shadow-top"),k=m?v.querySelector(".swiper-slide-shadow-right"):v.querySelector(".swiper-slide-shadow-bottom");z||(z=ve("coverflow",v,m?"left":"top")),k||(k=ve("coverflow",v,m?"right":"bottom")),z&&(z.style.opacity=P>0?P:0),k&&(k.style.opacity=-P>0?-P:0)}}},setTransition:a=>{e.slides.map(c=>fe(c)).forEach(c=>{c.style.transitionDuration=`${a}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(l=>{l.style.transitionDuration=`${a}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function Ei({swiper:e,extendParams:s,on:t}){s({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const i=d=>typeof d=="string"?d:`${d}px`;
2ye({effect:"creative",swiper:e,on:t,setTranslate:()=>{const{slides:d,wrapperEl:c,slidesSizesGrid:l}=e,f=e.params.creativeEffect,{progressMultiplier:m}=f,u=e.params.centeredSlides,g=ze(e);if(u){const r=l[0]/2-e.params.slidesOffsetBefore||0;c.style.transform=`translateX(calc(50% - ${r}px))`}for(let r=0;r<d.length;r+=1){const o=d[r],h=o.progress,b=Math.min(Math.max(o.progress,-f.limitProgress),f.limitProgress);let p=b;u||(p=Math.min(Math.max(o.originalProgress,-f.limitProgress),f.limitProgress));const v=o.swiperSlideOffset,y=[e.params.cssMode?-v-e.translate:-v,0,0],T=[0,0,0];let C=!1;e.isHorizontal()||(y[1]=y[0],y[0]=0);let P={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};b<0?(P=f.next,C=!0):b>0&&(P=f.prev,C=!0),y.forEach((L,I)=>{y[I]=`calc(${L}px + (${i(P.translate[I])} * ${Math.abs(b*m)}))`}),T.forEach((L,I)=>{let S=P.rotate[I]*Math.abs(b*m);T[I]=S}),o.style.zIndex=-Math.abs(Math.round(h))+d.length;const D=y.join(", "),E=`rotateX(${g(T[0])}deg) rotateY(${g(T[1])}deg) rotateZ(${g(T[2])}deg)`,O=p<0?`scale(${1+(1-P.scale)*p*m})`:`scale(${1-(1-P.scale)*p*m})`,A=p<0?1+(1-P.opacity)*p*m:1-(1-P.opacity)*p*m,x=`translate3d(${D}) ${E} ${O}`;if(C&&P.shadow||!C){let L=o.querySelector(".swiper-slide-shadow");if(!L&&P.shadow&&(L=ve("creative",o)),L){const I=f.shadowPerProgress?b*(1/f.limitProgress):b;L.style.opacity=Math.min(Math.max(Math.abs(I),0),1)}}const M=Ce(f,o);M.style.transform=x,M.style.opacity=A,P.origin&&(M.style.transformOrigin=P.origin)}},setTransition:d=>{const c=e.slides.map(l=>fe(l));c.forEach(l=>{l.style.transitionDuration=`${d}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(f=>{f.style.transitionDuration=`${d}ms`})}),ke({swiper:e,duration:d,transformElements:c,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function xi({swiper:e,extendParams:s,on:t}){s({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}
2),ye({effect:"cards",swiper:e,on:t,setTranslate:()=>{const{slides:a,activeIndex:d,rtlTranslate:c}=e,l=e.params.cardsEffect,{startTranslate:f,isTouched:m}=e.touchEventsData,u=c?-e.translate:e.translate;for(let g=0;g<a.length;g+=1){const r=a[g],o=r.progress,h=Math.min(Math.max(o,-4),4);let b=r.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(b-=a[0].swiperSlideOffset);let p=e.params.cssMode?-b-e.translate:-b,v=0;const y=-100*Math.abs(h);let T=1,C=-l.perSlideRotate*h,P=l.perSlideOffset-Math.abs(h)*.75;const D=e.virtual&&e.params.virtual.enabled?e.virtual.from+g:g,E=(D===d||D===d-1)&&h>0&&h<1&&(m||e.params.cssMode)&&u<f,O=(D===d||D===d+1)&&h<0&&h>-1&&(m||e.params.cssMode)&&u>f;if(E||O){const L=(1-Math.abs((Math.abs(h)-.5)/.5))**.5;C+=-28*h*L,T+=-.5*L,P+=96*L,v=`${(l.rotate||e.isHorizontal()?-25:0)*L*Math.abs(h)}%`}if(h<0?p=`calc(${p}px ${c?"-":"+"} (${P*Math.abs(h)}%))`:h>0?p=`calc(${p}px ${c?"-":"+"} (-${P*Math.abs(h)}%))`:p=`${p}px`,!e.isHorizontal()){const L=v;v=p,p=L}const A=h<0?`${1+(1-T)*h}`:`${1-(1-T)*h}`,x=`
3        translate3d(${p}, ${v}, ${y}px)
4        rotateZ(${l.rotate?c?-C:C:0}deg)
5        scale(${A})
6      `;if(l.slideShadows){let L=r.querySelector(".swiper-slide-shadow");L||(L=ve("cards",r)),L&&(L.style.opacity=Math.min(Math.max((Math.abs(h)-.5)/.5,0),1))}r.style.zIndex=-Math.abs(Math.round(o))+a.length;const M=Ce(l,r);M.style.transform=x}},setTransition:a=>{const d=e.slides.map(c=>fe(c));d.forEach(c=>{c.style.transitionDuration=`${a}ms`,c.querySelectorAll(".swiper-slide-shadow").forEach(l=>{l.style.transitionDuration=`${a}ms`})}),ke({swiper:e,duration:a,transformElements:d})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:e.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!e.params.cssMode})})}const Ti=[Us,Ks,Zs,Qs,Js,ei,ti,si,ii,ai,ni,ri,li,oi,di,ci,gi,vi,yi,bi,Si,Ei,xi];W.use(Ti);function Qe(e,s){const t=document.getElementById(e);t&&t.addEventListener("click",i=>{if(i.target.matches("a")){const n={event:s,nav_item:i.target.textContent.trim(),page_location:window.location.origin+window.location.pathname};window.dataLayer?.push(n)}})}function At(e){const s=document.querySelectorAll(e);s.length&&s.forEach(t=>{const i=t.closest(".text-medium")?.querySelector(".text-medium__headline")?.textContent.trim(),a=t.nextElementSibling?.textContent.trim()||i||"Video",d=new Set,c=[25,50,75];let l=!1;const f=(m,u={})=>{const g={event:m,video_title:a,video_duration:t.duration,page_location:window.location.origin+window.location.pathname,...u};window.dataLayer?.push(g)};t.addEventListener("play",()=>{t.classList.add("playing"),l||(f("video_start"),l=!0)}),t.addEventListener("pause",()=>{t.classList.remove("playing"),t.ended||f("video_pause")}),t.addEventListener("ended",()=>{f("video_complete")}),t.addEventListener("timeupdate",()=>{const m=t.currentTime/t.duration*100;c.forEach(u=>{m>=u&&!d.has(u)&&(f("video_progress",{video_percent:u}),d.add(u))})})})}const de=e=>{const s=document.querySelector(e);return s?s.value:""},Ee=e=>document.querySelector(`[data-matomo-name="${e}"]`)?.value||void 0;function Mi(e){const s=document.querySelector(".f03-form");s&&(s.addEventListener("f03formSubmitSuccess",()=>{const t={event:e,form_first_name:de('input[name$="-firstname"]'),form_last_name:de('input[name$="-lastname"]'),form_email_address:de('input[name$="-email"]'),form_office:de('select[name$="-standortliste"]')||void 0};window.dataLayer?.push(t)}),s.addEventListener("f03formSubmitError",t=>{}))}function Ci(e){const s=document.querySelector(".f03-form");if(!s)return;let t=0;s.addEventListener("f03formStepperMoved",i=>{const{activeIndex:n}=i.detail,a=n>t?"forward":"backward";let d={};t=n,n===0&&a==="backward"&&(d={event:"vehicle_purchase_back_to_step1",form_id:`Fahrzeuganfrage ${e==="premium"?"Premium":"Standard"}`}),n===1&&a==="backward"&&(d={event:"vehicle_purchase_back_to_step2",form_id:`Fahrzeuganfrage ${e==="premium"?"Premium":"Standard"}`}),n===1&&a==="forward"&&(d={event:"vehicle_purchase_step1",vehicle_mileage:document.querySelector('[data-matomo-name="Aktueller Kilometerstand"]')?.value||void 0,form_id:`Fahrzeuganfrage ${e==="premium"?"Premium":"Standard"}`}),n===2&&a==="forward"&&(d={event:"vehicle_purchase_step2",form_office:de('select[name$="-standortliste"]')||void 0,form_first_name:de('input[name$="-firstname"]'),form_last_name:de('input[name$="-lastname"]'),form_email_address:de('input[name$="-email"]')}),window.dataLayer?.push(d)}),s.addEventListener("f03formSubmitSuccess",()=>{const i=Ee("Sommerreifen"),n=Ee("Winterreifen"),a=Ee("Wartungshistorie"),d=Ee("Zustand Innenraum"),c=Ee("Äußerer Zustand"),l={event:"vehicle_purchase_step3",vehicle_condition_tyres_summer:i,vehicle_condition_tyres_winter:n,vehicle_condition_service:a,vehicle_condition_interior:d,vehicle_condition_exterior:c},f={event:"contact_form_sent"};window.dataLayer?.push(l),window.dataLayer?.push(f)}),s.addEventListener("f03formSubmitError",i=>{})}const Ue="entry-point",Li='input[name="f03-form-tracking"]';function Pi(e){try{const s=e.dataset.parameters;return s?JSON.parse(s):[]}catch{return[]}}function It(e){return btoa(encodeURIComponent(e))}function Ai(e){return decodeURIComponent(atob(e))}function Ii(){const e=document.querySelector(Li);if(!e)return;const s=window.sessionStorage?.getItem(Ue);if(s)try{const t=Ai(s),i=new URL(t),n=Pi(e);
6[...i.searchParams.keys()].forEach(a=>{n.includes(a)||i.searchParams.delete(a)}),e.value=It(i.toString())}catch{}}function Di(){try{window.sessionStorage?.getItem(Ue)||window.sessionStorage.setItem(Ue,It(window.location.href))}catch{}}function wi(){Di(),Ii()}const zi=()=>{const e=window.location.pathname;return["/automobile/gebrauchte-automobile/fahrzeugankauf","/automobile/gebrauchte-automobile/fahrzeugankauf-premium"].includes(e)};if(zi()){const e=window.location.pathname.includes("premium");Ci(e?"premium":"standard")}else Mi("contact_form_sent");Qe("page-header-menu","main_navigation");Qe("page-navigation-list","main_navigation");Qe("footer-location-list","footer_navigation");At(".text-medium__video");At(".video__element");wi();const ot=document.getElementById("cookie-settings");ot&&ot.addEventListener("click",e=>{e.preventDefault(),typeof window.UC_UI<"u"&&window.UC_UI.showSecondLayer()});class ki{constructor(s){this.element=s,this.contacts=this.element.querySelectorAll(".contact"),this.filterLocation=this.element.querySelector("#locations"),this.count=this.element.querySelector(".contact__filter-count .count"),this.initFilterLocation()}
6initFilterLocation(){this.updateCount(),this.contacts.forEach(s=>{s.dataset.locations&&s.dataset.locations.indexOf(this.filterLocation.value)>-1&&s.classList.remove("hidden")}),this.filterLocation.addEventListener("change",s=>{this.contacts.forEach(t=>{s.target.value===""||t.dataset.locations&&t.dataset.locations.indexOf(s.target.value)>-1?t.classList.remove("hidden"):t.classList.add("hidden")}),this.checkForEmptyCategories(),this.updateCount()})}updateCount(){this.count.innerText=Array.from(this.contacts).filter(s=>!s.classList.contains("hidden")).length}checkForEmptyCategories(){this.element.querySelectorAll(".contacts__list").forEach(t=>{const i=t.dataset.category,n=t.querySelectorAll(".contact");let a=!0;n.forEach(c=>{c.classList.contains("hidden")||(a=!1)});const d=this.element.querySelector(`.contacts__text[data-category="${i}"]`);d&&(a?d.classList.add("hidden"):d.classList.remove("hidden"))})}}class Oi{constructor(s){this.element=s,this.swiperDomElement=this.element.querySelector(".swiper"),this.swiperPagination=this.element.querySelector(".gallery__pagination"),this.swiperNavigationPrev=this.element.querySelector(".gallery__navigation-button--prev"),this.swiperNavigationNext=this.element.querySelector(".gallery__navigation-button--next"),this.swiper=new W(this.swiperDomElement,{autoplay:this.element.dataset.autoplay?{delay:parseInt(this.element.dataset.autoplay,10)}:!1,navigation:{nextEl:this.swiperNavigationNext,prevEl:this.swiperNavigationPrev},pagination:{el:this.swiperPagination,clickable:!0}})}}class $i{constructor(s){this.element=s,this.swiperDomElement=this.element.querySelector(".swiper"),this.swiperPagination=this.element.querySelector(".offers-slider__pagination"),this.swiperNavigationPrev=this.element.querySelector(".offers-slider__navigation-button--prev"),this.swiperNavigationNext=this.element.querySelector(".offers-slider__navigation-button--next"),this.swiperDomElement&&(this.swiper=new W(this.swiperDomElement,{breakpoints:{320:{slidesPerView:"auto",spaceBetween:32},600:{slidesPerView:"auto",spaceBetween:32},1400:{slidesPerView:3,spaceBetween:32}},navigation:{nextEl:this.swiperNavigationNext,prevEl:this.swiperNavigationPrev},pagination:{el:this.swiperPagination,clickable:!0}}))}}class _i{constructor(s){this.element=s,this.swiperDomElement=this.element.querySelector(".swiper"),this.swiperPagination=this.element.querySelector(".application-process__pagination"),this.swiperNavigationPrev=this.element.querySelector(".application-process__navigation-button--prev"),this.swiperNavigationNext=this.element.querySelector(".application-process__navigation-button--next"),this.swiperDomElement&&(this.swiper=new W(this.swiperDomElement,{breakpoints:{320:{slidesPerView:1,spaceBetween:32},600:{slidesPerView:1,spaceBetween:32},1400:{slidesPerView:1,spaceBetween:32}},navigation:{nextEl:this.swiperNavigationNext,prevEl:this.swiperNavigationPrev},pagination:{el:this.swiperPagination,clickable:!0}}))}}class Bi{constructor(s,t,i){this.citySelect=document.getElementById(s),this.brandSelect=document.getElementById(t),this.list=document.getElementById(i),this.itemsData=Array.from(this.list.querySelectorAll(".card")).map(n=>{const a=n.getAttribute("data-sale")?.split(",")||[],d=n.getAttribute("data-service")?.split(",")||[];return{element:n,city:n.getAttribute("data-city")||"",allBrands:[...new Set([...a,...d])]}})}init(){!this.citySelect||!this.brandSelect||!this.list||([this.citySelect,this.brandSelect].forEach(s=>{s.addEventListener("change",()=>this.filterWithTransition())}),this.filterAndupdateUI())}filterWithTransition(){document.startViewTransition?document.startViewTransition(()=>this.filterAndupdateUI()):this.filterAndupdateUI()}filterAndupdateUI(){const s=this.citySelect.value,t=this.brandSelect.value;this.itemsData.forEach(i=>{const n=s===""||i.city===s,a=t===""||i.allBrands.includes(t),d=n&&a;i.element.hidden=!d}),this.updateDropdownOptions(s,t)}updateDropdownOptions(s,t){const i=t===""?this.itemsData:this.itemsData.filter(a=>a.allBrands.includes(t)),n=s===""?this.itemsData:this.itemsData.filter(a=>a.city===s);this.updateOptions(this.citySelect,"city",i),this.updateOptions(this.brandSelect,"allBrands",
6n,!0)}updateOptions(s,t,i,n=!1){const a=new Set;i.forEach(d=>{const c=d[t];n?c.forEach(l=>a.add(l)):c&&a.add(c)}),Array.from(s.options).forEach(d=>{if(d.value===""){d.disabled=!1;return}d.disabled=!a.has(d.value)})}}const qi=(e,s=4)=>Math.floor(e/s)+2;function Vi(){const e=document.getElementById("benefits-list");if(e){const s=e.querySelectorAll("li:not(.benefits-detail)"),t=document.getElementById("benefits-detail"),i=t.querySelectorAll("div"),n=document.getElementById("benefits-more");e.addEventListener("click",a=>{const{target:d}=a,c=d.parentElement,l=d.dataset.content;if(d.matches("button")){const m=Array.from(s).indexOf(d.closest("li"));if(c.classList.contains("active")){c.classList.remove("active"),t.setAttribute("hidden","");return}s.forEach(u=>{u.classList.remove("active")}),c.classList.add("active"),t.removeAttribute("hidden"),i.forEach(u=>{u.setAttribute("hidden",""),u.dataset.content===l&&u.removeAttribute("hidden")}),window.matchMedia("screen and (min-width: 900px)").matches?(e.appendChild(t),t.style.gridRow=qi(m)):(n.parentElement.before(t),t.removeAttribute("style"))}}),n&&n.addEventListener("click",a=>{a.preventDefault(),n.setAttribute("hidden",""),s.forEach(d=>{d.removeAttribute("hidden")})})}}class Hi{constructor(s){this.element=s,this.swiperDomElement=this.element.querySelector(".swiper"),this.swiperPagination=this.element.querySelector(".cards__slider-pagination"),this.swiperNavigationPrev=this.element.querySelector(".cards__slider-navigation-button--prev"),this.swiperNavigationNext=this.element.querySelector(".cards__slider-navigation-button--next"),this.swiperDomElement&&(this.swiper=new W(this.swiperDomElement,{breakpoints:{320:{slidesPerView:"auto",spaceBetween:32},600:{slidesPerView:"auto",spaceBetween:32},1400:{slidesPerView:3,spaceBetween:32}},navigation:{nextEl:this.swiperNavigationNext,prevEl:this.swiperNavigationPrev},pagination:{el:this.swiperPagination,clickable:!0}}))}}function Ni(){const e=document.querySelector(".skip-link");e.addEventListener("keydown",s=>{(s.key===" "||s.key==="Spacebar")&&(s.preventDefault(),e.click())})}function Gi(){const e=document.documentElement,s=document.querySelector(".main-menu-wrapper");if(!s)return;const t=document.querySelectorAll(".page-header__toggle"),i=document.querySelector(".main-menu__close");t.forEach(n=>{n.addEventListener("click",a=>{if(a.preventDefault(),n.dataset.search!==void 0){const d=document.querySelector(".main-menu__search");d&&d.click()}else s.classList.add("active"),e.classList.add("menu-open")})}),i.addEventListener("click",n=>{n.preventDefault(),s.classList.remove("active"),e.classList.remove("menu-open")})}function Ri(){const e=document.getElementById("footer-location-list");if(!e)return;const s=e.childElementCount;e.style.setProperty("--two-column-count",Math.ceil(s/2)),e.style.setProperty("--three-column-count",Math.ceil(s/3)),e.style.setProperty("--four-column-count",Math.ceil(s/4)),e.addEventListener("click",t=>{const i=t.target;if(i.matches(".group-toggle")){const n=i.nextElementSibling,a=i.getAttribute("aria-expanded")==="true";e.querySelectorAll(".group-toggle").forEach(c=>{if(c!==i){c.setAttribute("aria-expanded","false");const l=c.nextElementSibling;l&&!l.classList.contains("hidden")&&l.classList.add("hidden")}}),i.setAttribute("aria-expanded",!a),n.classList.toggle("hidden")}if(i.matches(".group-label")){const n=i.closest(".sub-location-list");n&&(n.classList.add("hidden"),n.previousElementSibling.setAttribute("aria-expanded","false"))}})}function Wi(e){document.querySelectorAll(`[${e}]`).forEach(t=>{t.addEventListener("click",i=>{i.preventDefault(),t.closest(".list-col-two").querySelectorAll("li[hidden]").forEach(n=>{n.removeAttribute("hidden"),t.parentElement.style.display="none"})})})}class Fi{constructor(s){this.element=s,this.swiperDomElement=this.element.querySelector(".swiper"),this.swiperPagination=this.element.querySelector(".quotes__pagination"),this.swiperNavigationPrev=this.element.querySelector(".quotes__navigation-button--prev"),this.swiperNavigationNext=this.element.querySelector(".quotes__navigation-button--next"),this.swiperDomElement&&(this.swiper=new W(this.swiperDomElement,{slidesPerView:"auto",spaceBetween:0,autoHeight:!0,navigation:{nextEl:this.swiperNavigationNext,prevEl:this.swiperNavigationPrev},pagination:{el:this.swiperPagination,clickable:!0}}))}}class Xi{constructor(s){if(this.element=s.element,this.abbreviateHighlights=s.abbreviateHighlights||!1,this.swiperDomElement=this.element.querySelector("[data-vehicle-gallery-swiper] .swiper"),this.swiperPagination=this.element.querySelector("[data-vehicle-gallery-swiper-pagination]"),this.swiperNavigationPrev=this.element.querySelector("[data-vehicle-gallery-swiper-nav-prev]"),this.swiperNavigationNext=this.element.querySelector("[data-vehicle-gallery-swiper-nav-next]"),this.highlightsWrapper=this.element.querySelector("[data-vehicle-highlights]"),this.buttonCtas=this.element.querySelectorAll("[data-vehicle-cta-button]"),this.firstPageForm=document.querySelector(".f03-form")||document.querySelector("[data-f03-form]"),this.firstPageForm)try{[...this.buttonCtas].forEac
6h(t=>{t.addEventListener("click",i=>{i.preventDefault(),this.handleCtaEvent(t),this.firstPageForm.scrollIntoView({behavior:"smooth"})})})}catch{}if(this.abbreviateHighlights&&this.highlightsWrapper&&this.limitHighlightListLength(),s.swiper&&this.swiperDomElement){const t=s.swiper;try{this.swiper=new t(this.swiperDomElement,{slidesPerView:1,spaceBetween:20,navigation:{nextEl:this.swiperNavigationNext,prevEl:this.swiperNavigationPrev},pagination:{el:this.swiperPagination,clickable:!0},...s.swiperConfig})}catch{}}}handleCtaEvent(s){const t=s.dataset.type;let i={};if(!t||t==="single")i.type="single",i.purchaseOptionId=void 0;else if(t==="multi"){const a=s.closest("[data-vehicle-purchaseoption]").dataset.vehiclePurchaseoptionId;i.type="multi",i.purchaseOptionId=a!==""?a:void 0}const n=new CustomEvent("f03CarfinderVehicleCtaClicked",{detail:i});s.dispatchEvent(n)}limitHighlightListLength(){const s=this.highlightsWrapper.querySelectorAll("ul");s&&s.forEach(t=>{t.children.length>6&&this.initLongList(t)})}initLongList(s){s.classList.add("list-shorten"),this.addListButton(s)}addListButton(s){const t=document.createElement("button");t.classList.add("show-hidden-items","button--tertiary"),t.innerText="Mehr anzeigen",t.addEventListener("click",i=>{i.preventDefault(),t.innerText==="Mehr anzeigen"?(t.innerText="Weniger anzeigen",s.classList.remove("list-shorten")):(t.innerText="Mehr anzeigen",s.classList.add("list-shorten"),s.parentNode.scrollIntoView())}),s.parentNode.append(t)}}class Yi{constructor(s){this.element=s;try{this.matrix=this.element.querySelector("[data-vehicle-purchaseoption-leasing-matrix]"),this.matrixData=window.matrix[this.matrix.dataset.matrixId],this.leasingOptions=[],this.rates=this.element.querySelectorAll("[data-vehicle-purchaseoption-leasing-matrix-rate]"),this.selectDuration=this.element.querySelector("[data-vehicle-purchaseoption-leasing-matrix-durations] select"),this.selectMileage=this.element.querySelector("[data-vehicle-purchaseoption-leasing-matrix-mileages] select"),this.services=this.element.querySelectorAll("[data-vehicle-purchaseoption-leasing-matrix-service]"),this.monthInfo=this.element.querySelectorAll("[data-vehicle-purchaseoption-leasing-matrix-rate-first-show] .label span, [data-vehicle-purchaseoption-leasing-matrix-rate-w-service] .label span"),this.rateWithoutServices=this.element.querySelector("[data-vehicle-purchaseoption-leasing-matrix-rate-first-show] .value"),this.rateWithServices=this.element.querySelector("[data-vehicle-purchaseoption-leasing-matrix-rate-w-service] .value"),this.creditAmounts=this.element.querySelectorAll("[data-vehicle-purchaseoption-leasing-matrix-sum]"),this.downPaymentDefault=this.element.querySelector('[data-vehicle-purchaseoption-leasing-down-payment][data-type="default"]')}catch{}const t=new Event("leasingError");try{this.matrixData.forEach((i,n)=>{const a=new ji(i.term,i.entities);this.leasingOptions.push(a)})}catch{}this.leasingOptions.length>0?(this.generateOptions(),this.updateLeasingStyling(),this.updateMileageStyling(),this.selectDuration.addEventListener("change",i=>{const n=i.target.value;this.updateMileageOptions(),this.updateMonthInfo(n),this.updateCreditAmounts(this.selectMileage.value),this.updateRateWithoutServices(this.selectMileage.value),this.updateRateWithServices(this.selectMileage.value),this.updateServiceItems(),this.updateRates(this.selectMileage.value),this.updateMileageStyling(),this.updateDownPayment()}),this.selectMileage.addEventListener("change",i=>{const n=i.target.value;this.updateRates(n),this.updateMonthInfo(n.split("-")[0]),this.updateCreditAmounts(n),this.updateRateWithoutServices(n),this.updateRateWithServices(n),this.updateServiceItems(),this.updateLeasingStyling(),this.updateDownPayment()})):this.element.dispatchEvent(t),this.updateDownPayment()}updateLeasingStyling(){this.selectDuration.children.length===1?(this.selectDuration.setAttribute("data-leasing-duration-single",""),this.selectDuration.setAttribute("tabindex",-1)):(this.selectDuration.removeAttribute("data-leasing-duration-single"),this.selectDuration.removeAttribute("tabindex"))}updateMileageStyling(){this.selectMileage.children.length===1?(this.selectMileage.setAttribute("data-leasing-mileage-single",""),this.selectMileage.setAttribute("tabindex",-1)):(this.selectMileage.removeAttribute("data-leasing-mileage-single"),this.selectMileage.removeAttribute("tabindex"))}generateOptions(){this.generateDurationOptions(),this.updateMileageOptions()}generateDurationOptions(){try{this.leasingOptions.forEach((s,t)=>{const i=document.createElement("option");i.value=s.term,i.innerHTML=s.niceTerm,this.selectDuration.append(i)})}catch{}}updateMileageOptions(){try{this.selectMileage.innerHTML="";const s=this.selectDuration.value,t=this.leasingOptions.filter(i=>i.term===`${s}`);for(const[i,n]of Object.entries(t[0].options)){const a=document.createElement("option");a.value=`${s}-${n.mileage}`,a.setAttribute("data-duration",s.toString()),a.innerHTML=`${new Intl.NumberFormat("de-DE").format(n.mileage)} km`,n.sortingIndex===0&&(a.selected=!0),this.selectMileage.append(a)}}catch{}}
6resetCreditAmounts(){this.creditAmounts.forEach(s=>{s.removeAttribute("active")})}updateCreditAmounts(s){const t=[...this.creditAmounts].filter(i=>i.dataset.for===s);this.resetCreditAmounts(),t.forEach((i,n)=>{i.setAttribute("active","")})}updateMonthInfo(s){this.monthInfo.forEach(t=>{t.innerText=s})}updateRateWithoutServices(s){const t=[...this.rates].filter(i=>i.dataset.for===s);this.rateWithoutServices.innerText=t[0].dataset.rateSum}updateRateWithServices(s){const t=[...this.rates].filter(i=>i.dataset.for===s);this.rateWithServices.parentNode.removeAttribute("active"),t[0].dataset.rateSumWithServices!==void 0&&(this.rateWithServices.innerText=t[0].dataset.rateSumWithServices,this.rateWithServices.parentNode.setAttribute("active",""))}updateServiceItems(){try{const s=this.selectDuration.value,t=this.selectMileage.value;[...this.services].forEach(n=>n.parentNode.removeAttribute("active"));const i=[...this.services].filter(n=>n.parentNode.dataset.for==t);i.length>0&&i[0].parentNode.setAttribute("active","")}catch{}}
6resetRates(){this.rates.forEach(s=>{s.removeAttribute("active")})}updateRates(s){const t=[...this.rates].filter(i=>i.dataset.for===s);this.resetRates(),t.forEach((i,n)=>{i.setAttribute("active","")})}updateDownPayment(){try{const s=this.selectDuration.value.toString(),t=this.selectMileage.value.toString().split("-")[1],i=this.element.querySelector(`[data-vehicle-purchaseoption-leasing-down-payment][data-type="override"][data-for="${s}-${t}"]`),n=this.element.querySelector(`[data-vehicle-purchaseoption-leasing-down-payment][data-type="override"][data-for="${s}"]`);return i?(this.setActiveDownPayment(i),!0):n?(this.setActiveDownPayment(n),!0):(this.unsetActiveDownPayment(),this.downPaymentDefault.setAttribute("active",""),this.downPaymentDefault.removeAttribute("aria-hidden"),!0)}catch{}}setActiveDownPayment(s){this.unsetActiveDownPayment(),s.removeAttribute("aria-hidden")}unsetActiveDownPayment(){const s=this.element.querySelector('[data-vehicle-purchaseoption-leasing-down-payment]:not([aria-hidden="true"])');s&&s.setAttribute("aria-hidden","true")}}class ji{constructor(s,t){this.niceTerm=s,this.term=s.split(" ")[0],this.options={},t.forEach((i,n)=>{const{mileage:a,monthlyRate:d,sum:c}=i;this.options[i.mileage]={mileage:a,monthlyRate:d,sum:c,sortingIndex:n}})}}class Ui{constructor(s){this.element=s,this.swiperDomElement=this.element.querySelector(".swiper"),this.swiperPagination=this.element.querySelector(".stage-slider__navigation"),this.swiperDomElement&&(this.swiper=new W(this.swiperDomElement,{autoHeight:!0,pagination:{el:this.swiperPagination,clickable:!0}}))}}class Ki{constructor(s=".card--offer",t=".cards__footer button"){this.cardsSelector=s,this.cards=Array.from(document.querySelectorAll(this.cardsSelector)),this.container=document.querySelector("#offerCards"),this.originalLayout=[...this.cards],this.showMoreBtn=document.querySelector(t),this.showAll=!1}init(){this.showMoreBtn.addEventListener("click",()=>{this.showAll=!0,this.layout(),this.showMoreBtn.style.display="none"}),this.layout()}refresh(){this.showAll=!0,this.cards=Array.from(document.querySelectorAll(this.cardsSelector)),this.layout(this.cards)}getWidth(s){return s.classList.contains("card--large")?3:s.classList.contains("card--medium")?2:1}greedyPackWithSwap(s){const t=[...s],i=[];for(;t.length>0;){const n=[];let a=0;for(let d=0;d<t.length;d++){const c=t[d],l=this.getWidth(c);if(a+l<=3&&(n.push(c),a+=l,t.splice(d,1),d--,a===3))break}if(a<3)for(let d=0;d<t.length;d++){const c=t[d],l=this.getWidth(c);for(let f=0;f<n.length;f++){const m=n[f];if(a-this.getWidth(m)+l===3){n.splice(f,1,c),t.splice(d,1,m),a=3;break}}if(a===3)break}n.length&&i.push(n)}return i}layout(s=this.originalLayout){if(window.matchMedia("(max-width: 899px)").matches){const a=this.showAll?s:s.slice(0,3);a.forEach(d=>this.container.appendChild(d)),s.forEach(d=>{d.style.display=a.includes(d)?"":"none"}),!this.showAll&&s.length>3?this.showMoreBtn.style.display="":this.showMoreBtn.style.display="none";return}const i=this.greedyPackWithSwap(s),n=this.showAll?i.flat():i.slice(0,3).flat();n.forEach(a=>this.container.appendChild(a)),s.forEach(a=>{a.style.display=n.includes(a)?"":"none"}),!this.showAll&&i.length>3?this.showMoreBtn.style.display="":this.showMoreBtn.style.display="none"}}function Zi(){const e=document.getElementById("offers-form");if(!e)return;const s=document.getElementById("offerCards"),t=new Ki;t.init();const i=async n=>{n.preventDefault();const a=new FormData(e);s.classList.add("loading");try{const d=await fetch(e.getAttribute("action")+".htmx",{headers:{"X-Requested-With":"XMLHttpRequest"},method:"POST",body:a});s.innerHTML=await d.text(),s.classList.remove("loading"),t.refresh()}catch{}};e.addEventListener("change",i)}class Qi{constructor(s){this.element=s,this.observer=null,this.element.classList.contains("widget-carfinder--vehicle-style-swiper")&&(this.swiperElement=s.querySelector(".swiper"),this.swiper=this.swiperElement.swiper,this.triggerLoadMore=`
7      <div class="swiper-slide cfd-load-more-slide">
8        <div class="cfd-vehicle">
9          <svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg">
10              <path d="M27 23H49V27H27V49H23V27H1V23H23V1H27V23Z" fill="currentColor"/>
11          </svg>
12          <span class="h4">Weitere Fahrzeuge <br>laden</span>
13        </div>
14      </div>`,this.renderedVehicles=[],this.isLoadMoreTriggered=!1,this.debounceTimer=null,this.observeContentLoading(),this.bindLoadMoreClick())}bindLoadMoreClick(){this.swiperElement.addEventListener("click",s=>{if(!s.target.closest(".cfd-load-more-slide"))return;const i=this.getLoadMoreButton();i&&(this.isLoadMoreTriggered=!0,i.click())})}getLoadMoreButton(){return this.element.querySelector('div[class^="showMoreContainer"] .cfd-filter__button')}hasLoadMoreSlide(){return Array.from(this.swiper.slides).some(s=>s.classList.contains("cfd-load-more-slide"))}removeLoadMoreSlide(){const t=Array.from(this.swiper.slides).findIndex(i=>i.classList.contains("cfd-load-more-slide"));t!==-1&&this.swiper.removeSlide(t)}syncLoadMoreSlide(){const s=this.getLoadMoreButton(),t=this.hasLoadMoreSlide();s&&!t?this.swiper.addSlide(this.swiper.slides.length,[this.triggerLoadMore]):!s&&t&&this.removeLoadMoreSlide()}wrapVehicle(s){return`<div class="swiper-slide">${s.outerHTML}</div>`}processVehicles(){const s=this.element.querySelector(".cfd-list");if(!s)return;const t=Array.from(s.querySelectorAll(".cfd-vehicle"));if(t.length>0){const i=this.isLoadMoreTriggered;if(this.isLoadMoreTriggered=!1,i){const n=this.swiper.activeIndex,a=t.slice(this.renderedVehicles.length);a.length>0&&(this.removeLoadMoreSlide(),this.swiper.appendSlide(a.map(d=>this.wrapVehicle(d))),this.swiper.slideTo(n,0))}else this.swiper.removeAllSlides(),this.swiper.appendSlide(t.map(n=>this.wrapVehicle(n)));this.renderedVehicles=t}this.syncLoadMoreSlide(),this.swiper.update()}observeContentLoading(){this.listContainer=this.element.querySelector('[data-cfd="list"]'),this.listContainer&&(this.observer=new MutationObserver(()=>{clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout(()=>{this.processVehicles()},100)}),this.observer.observe(this.listContainer,{childList:!0,subtree:!0}))}}class Ji{constructor(){this.searchWrapper=document.querySelector("#search-wrapper"),this.toggleSearchButton=document.querySelector(".toggle-search-open"),this.closeSearchButton=document.querySelector("#close-search")}init(){this.initializeEventListeners()}initializeEventListeners(){this.closeSearchButton&&this.closeSearchButton.addEventListener("click",()=>this.hideSearch()),this.toggleSearchButton&&this.toggleSearchButton.addEventListener("click",s=>this.toggleSearch(s))}toggleSearch(s){s.stopPropagation(),s.preventDefault(),this.showSearch()}isIOS(){const s=window.navigator.userAgent,t=/iP(ad|hone|od)/.test(s),i=s.includes("Mac")&&"ontouchend"in document;return t||i}showSearch(){this.searchWrapper.classList.add("show"),document.documentElement.classList.add("menu-open");const s=this.searchWrapper.querySelector('input.searchbar__input[name="s"][type="text"]');if(!s)return;const t=()=>{try{s.focus({preventScroll:!0})}catch{s.focus()}s.select?.()};this.isIOS()?t():window.requestAnimationFrame(t)}hideSearch(){this.searchWrapper.classList.remove("show"),document.documentElement.classList.remove("menu-open")}}function ea(){const s=window.location.origin==="https://www.brass-gruppe.de"?"production":"develop",t=document.createElement("script");t.src=`https://search.former03.de/${s}/bundle.js`,document.body.appendChild(t);const i=document.createElement("link");i.rel="stylesheet",i.href=`https://search.former03.de/${s}/f03-search-icons.css`,i.onerror=()=>{},document.head.appendChild(i),t.addEventListener("load",()=>{new Ji().init()})}function ta(e){try{const s=new URL(e,window.location.href),t={};return s.searchParams.forEach((i,n)=>{const a=n.split("[").map(c=>c.replace("]",""));let d=t;for(let c=0;c<a.length;c++)c===a.length-1?d[a[c]]!==void 0?(Array.isArray(d[a[c]])||(d[a[c]]=[d[a[c]]]),d[a[c]].push(i)):d[a[c]]=i:(d[a[c]]===void 0&&(d[a[c]]={}),d=d[a[c]])}),t}catch{return{}}}function sa(){let e=null;
14document.addEventListener("click",s=>{const t=s.target.closest(".button--service[data-url]");if(!t)return;s.preventDefault();const i=t.getAttribute("data-url");if(!i)return;if(!i.includes("https://api.mobilapp-services.de")){window.open(i,"_blank");return}const n=ta(i),a=()=>{window.Blitztermin&&typeof window.Blitztermin.open=="function"&&window.Blitztermin.open(n)};if(window.Blitztermin&&typeof window.Blitztermin.open=="function"){a();return}if(e){e.addEventListener("load",()=>a(),{once:!0});return}const d=document.querySelector('script[src*="mobilapp"], script[src*="blitztermin"]');if(d){d.addEventListener("load",()=>a(),{once:!0});return}const c=document.createElement("script");c.src=i,c.async=!0,c.onload=()=>{e=null,a()},c.onerror=()=>{e=null},e=c,document.body.appendChild(c)})}const dt=document.querySelectorAll(".contacts--filtered"),ct=document.querySelectorAll(".gallery"),ut=document.querySelectorAll(".offers-slider"),ft=document.querySelectorAll(".application-process"),mt=document.querySelector("#location-map"),ia=document.getElementById("locations-list"),ht=document.querySelectorAll(".cards__slider"),pt=document.querySelectorAll(".quotes__slider"),gt=document.querySelectorAll(".stage-slider"),vt=document.querySelectorAll(".widget-carfinder--vehicle-style-swiper"),aa=document.querySelector(".f03-form");aa&&St(async()=>{const{stepperFix:e,datePicker:s,fieldToggle:t}=await import("./forms-BHfhrrtD.js");return{stepperFix:e,datePicker:s,fieldToggle:t}},__vite__mapDeps([0,1])).then(({stepperFix:e,datePicker:s,fieldToggle:t})=>{e(),s(),t()});mt&&St(async()=>{const{default:e}=await import("./locationMap-D7vtP6Ki.js");return{default:e}},__vite__mapDeps([2,3])).then(({default:e})=>{new e(mt)}).catch(e=>{});if(dt){const e=[];dt.forEach(s=>{e.push(new ki(s))})}if(ct){const e=[];ct.forEach(s=>{e.push(new Oi(s))})}if(ut){const e=[];ut.forEach(s=>{e.push(new $i(s))})}const yt=document.querySelectorAll(".vehicle-presentation");if(yt){const e=[];yt.forEach(s=>{const t={element:s,abbreviateHighlights:!0,swiper:W};e.push(new Xi(t))})}if(ft){const e=[];ft.forEach(s=>{e.push(new _i(s))})}ia&&new Bi("filter-cities","filter-brands","locations-list").init();const bt=document.querySelectorAll("[data-vehicle-purchaseoption-leasing]");bt&&bt.forEach(e=>{e.addEventListener("leasingError",s=>{}),new Yi(e)});if(ht){const e=[];ht.forEach(s=>{e.push(new Hi(s))})}if(pt){const e=[];pt.forEach(s=>{e.push(new Fi(s))})}if(gt){const e=[];gt.forEach(s=>{e.push(new Ui(s))})}if(vt){const e=[];vt.forEach(s=>{e.push(new Qi(s))})}Vi();Ni();Gi();Ri();Wi("data-equipment-toggle");Zi();ea();sa();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.