const body=document.body,searchWrapper=document.querySelector(".search-wrapper"),searchModal=document.querySelector(".search-modal"),searchFooter=document.querySelector(".search-wrapper-footer"),searchResult=document.querySelectorAll("[data-search-result]"),searchResultItemTemplate=document.getElementById("search-result-item-template"),hasSearchWrapper=searchWrapper!=null,hasSearchModal=searchModal!=null,searchInput=document.querySelectorAll("[data-search-input]"),emptySearchResult=document.querySelectorAll(".search-result-empty"),openSearchModal=document.querySelectorAll('[data-target="search-modal"]'),closeSearchModal=document.querySelectorAll('[data-target="close-search-modal"]'),searchIcon=document.querySelector(".search-wrapper-header label svg[data-type='search']"),searchIconReset=document.querySelector(".search-wrapper-header label svg[data-type='reset']"),searchResultInfo=document.querySelector(".search-result-info");let searchModalVisible=!!(hasSearchModal&&searchModal.classList.contains("show")),jsonData=[];const loadJsonData=async()=>{try{const e=await fetch(indexURL);return jsonData=await e.json()}catch(e){console.error(e)}};function escapeHTML(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}if(hasSearchWrapper){searchInput.forEach(e=>{e.addEventListener("keypress",e=>{e.keyCode==13&&e.preventDefault()})});const c=e=>e.replace(/^[\s_]+|[\s_]+$/g,"").replace(/[_\s]+/g," ").replace(/^[a-z]/,function(e){return e.toUpperCase()}),o=e=>{let t=e.trim().replace(/[\s_]+/g,"-").toLowerCase();return encodeURIComponent(t)},l=searchWrapper.getAttribute("data-image"),t=searchWrapper.getAttribute("data-description"),n=searchWrapper.getAttribute("data-tags"),s=searchWrapper.getAttribute("data-categories");let e="";const i=new URLSearchParams(window.location.search),a=i.get("s")?encodeURIComponent(i.get("s")):null;a!==null&&(e=a.replace(/\+/g," "),searchInput.forEach(t=>{t.value=e}),searchIcon&&(searchIcon.style.display="none"),searchIconReset&&(searchIconReset.style.display="initial")),searchInput.forEach(t=>{t.addEventListener("input",t=>{e=t.target.value.toLowerCase(),window.history.replaceState({},"",`${window.location.origin}${window.location.pathname}?s=${e.replace(/ /g,"+")}`),r(e)})}),document.addEventListener("DOMContentLoaded",async()=>{await loadJsonData(),r(e)});const r=async e=>{e!==""?(searchIcon&&(searchIcon.style.display="none"),searchIconReset&&(searchIconReset.style.display="initial"),emptySearchResult.forEach(t=>{const n=`
  <div class="search-not-found">
    <svg width="42" height="42" viewBox="0 0 47 47" fill="none" xmlns="http://www.w3.org/2000/svg">
      <path fill-rule="evenodd" clip-rule="evenodd" d="M7.10368 33.9625C9.90104 36.2184 13.2988 37.6547 16.9158 38.0692C21.6958 38.617 26.5063 37.3401 30.3853 34.4939C30.4731 34.6109 30.5668 34.7221 30.6721 34.8304L41.9815 46.1397C42.5323 46.6909 43.2795 47.0007 44.0587 47.001C44.838 47.0013 45.5854 46.692 46.1366 46.1412C46.6878 45.5904 46.9976 44.8432 46.9979 44.064C46.9981 43.2847 46.6888 42.5373 46.138 41.9861L34.8287 30.6767C34.7236 30.5704 34.6107 30.4752 34.4909 30.3859C37.3352 26.5046 38.6092 21.6924 38.0579 16.912C37.6355 13.2498 36.1657 9.81322 33.8586 6.9977L31.7805 9.09214C34.0157 11.9274 35.2487 15.4472 35.2487 19.0942C35.2487 21.2158 34.8308 23.3167 34.0189 25.2769C33.207 27.2371 32.0169 29.0181 30.5167 30.5184C29.0164 32.0186 27.2354 33.2087 25.2752 34.0206C23.315 34.8325 21.2141 35.2504 19.0925 35.2504C16.9708 35.2504 14.8699 34.8325 12.9098 34.0206C11.5762 33.4682 10.3256 32.7409 9.18992 31.8599L7.10368 33.9625ZM28.9344 6.28152C26.1272 4.12516 22.671 2.93792 19.0925 2.93792C14.8076 2.93792 10.6982 4.64009 7.66829 7.66997C4.6384 10.6999 2.93623 14.8093 2.93623 19.0942C2.93623 21.2158 3.35413 23.3167 4.16605 25.2769C4.72475 26.6257 5.4625 27.8897 6.35716 29.0358L4.2702 31.1391C1.35261 27.548 -0.165546 23.0135 0.00974294 18.3781C0.19158 13.5695 2.18233 9.00695 5.58371 5.60313C8.98509 2.19932 13.5463 0.205307 18.3547 0.0200301C22.9447 -0.156832 27.4369 1.32691 31.0132 4.18636L28.9344 6.28152Z" fill="currentColor"/>
      <path d="M3.13672 39.1367L38.3537 3.64355" stroke="black" stroke-width="3" stroke-linecap="round"/>
    </svg>
    <p>${search_no_results} "<b>${escapeHTML(e)}</b>"</p>
  </div>
`;t.innerHTML=n})):(searchIcon&&(searchIcon.style.display="initial"),searchIconReset&&(searchIconReset.style.display="none"),emptySearchResult.forEach(e=>{e.innerHTML=search_initial_message}));let n=includeSectionsInSearch.map(e=>{const t=jsonData.filter(t=>o(t.section)===o(e)),n=e.replace(/[-_]/g," ");return{section:c(n),data:t}}),t=n.filter(t=>e!==""&&t.data.some(t=>{const n=new RegExp(e,"gi");return t.title.toLowerCase().match(n)||t.description?.toLowerCase().match(n)||t.searchKeyword.toLowerCase().match(n)||t.content.toLowerCase().match(n)||t.tags?.toLowerCase().match(n)||t.categories?.toLowerCase().match(n)}));if(d(t,e),searchModal&&e!=""){let n;n=searchResult[0].querySelectorAll(".search-result-item");let e=-1;const s=t=>{if(t>=0&&t<n.length){for(let e=0;e<n.length;e++)n[e].classList.toggle("search-item-selected",e===t);e=t,n[t].scrollIntoView({behavior:"auto",block:"nearest"})}},o=o=>{if(t.length!==0)if(o.key==="ArrowUp"||o.key==="ArrowDown")o.preventDefault(),o.key==="ArrowUp"?e=e>0?e-1:n.length-1:o.key==="ArrowDown"&&(e=e<n.length-1?e+1:0),s(e!==-1?e:-1);else if(o.key==="Enter"&&(o.preventDefault(),e!==-1)){let t=n[e].getElementsByClassName("search-result-item-title")[0].getAttribute("href");window.location.href=t}};searchInput.forEach(e=>{e.addEventListener("keydown",o)}),s(-1)}},d=(e,o)=>{const c=e=>{const i=e=>{const t=new RegExp(o,"i");return e.replace(t,e=>`<u>${e}</u>`)},a=e=>{const n=new RegExp(o,"i"),t=e.search(n);if(t>=0){const s=e.slice(t),o=e.slice(0,t).split(" ").pop();return s.replace(n,e=>o+`<mark>${e}</mark>`)}return e},r=e.data.filter(e=>e.title.toLowerCase().includes(o)||(t==="true"?e.description?.toLowerCase().includes(o):"")||e.searchKeyword.toLowerCase().includes(o)||(n==="true"?e.tags?.toLowerCase().includes(o):"")||(s==="true"?e.categories?.toLowerCase().includes(o):"")||e.content.toLowerCase().includes(o));let c=searchResultItemTemplate!=null?searchResultItemTemplate.innerHTML:`
          <div class="search-result-item">
          #{ isset image }<div class="search-result-item-image">#{image}</div>#{ end }
          <div class="search-result-item-body">
            <a href="#{slug}" class="search-result-item-title">#{title}</a>
            #{ isset description }<p class="search-result-item-description">#{description}</p>#{ end }
            <p class="search-result-item-content">#{content}</p>
            <div class="search-result-item-taxonomies">
              #{ isset categories }<div><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" viewBox="0 0 16 16" style="margin-top:-2px"><path d="M11 0H3a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2 2 2 0 0 0 2-2V4a2 2 0 0 0-2-2 2 2 0 0 0-2-2zm2 3a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1V3zM2 2a1 1 0 0 1 1-1h8a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V2z"/></svg>#{categories}</div>#{ end }
              
              #{ isset tags }<div><svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" fill="currentColor" viewBox="0 0 16 16"><path d="M3 2v4.586l7 7L14.586 9l-7-7H3zM2 2a1 1 0 0 1 1-1h4.586a1 1 0 0 1 .707.293l7 7a1 1 0 0 1 0 1.414l-4.586 4.586a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 2 6.586V2z"/><path d="M5.5 5a.5.5 0 1 1 0-1 .5.5 0 0 1 0 1zm0 1a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3zM1 7.086a1 1 0 0 0 .293.707L8.75 15.25l-.043.043a1 1 0 0 1-1.414 0l-7-7A1 1 0 0 1 0 7.586V3a1 1 0 0 1 1-1v5.086z"/></svg>#{tags}</div>#{ end }
            </div>
          </div>
        </div>`;const d=r.map(e=>{let o=renderResult(c,{slug:e.slug,date:e.date,description:t=="true"?i(e.description):"",title:i(e.title),image:l=="true"?e.image:"",tags:n=="true"?i(e.tags):"nomatch",categories:s=="true"?i(e.categories):"nomatch",content:a(e.content)});return o}).join("");return`
				<div class="search-result-group">
					<p class="search-result-group-title">${e.section}</p>
					${d}
				</div>`},a=e.reduce((e,i)=>{const a=i.data.filter(e=>e.title.toLowerCase().includes(o)||(t==="true"?e.description?.toLowerCase().includes(o):"")||e.searchKeyword.toLowerCase().includes(o)||(n==="true"?e.tags?.toLowerCase().includes(o):"")||(s==="true"?e.categories?.toLowerCase().includes(o):"")||e.content.toLowerCase().includes(o));return e+a.length},0),d=performance.now(),u=e.map(c).join("");searchResult.forEach(e=>{e.innerHTML=u});const h=performance.now();let m=`<em>${a}</em> results`,i=((h-d)/1e3).toFixed(3);i=`- in <em>${i}</em> seconds`,searchResultInfo&&(searchResultInfo.innerHTML=a>0?`${m} ${i}`:"");const f=document.querySelectorAll(".search-result-group-title");f.forEach(e=>{e.nextElementSibling===null&&(e.style.display="none"),e.nextElementSibling!=null?emptySearchResult.forEach(e=>{e.style.display=""}):emptySearchResult.forEach(e=>{e.style.display="block"})});const r=document.querySelectorAll(".search-info > div");r.length>0&&r.forEach(e=>{(e.innerText.includes("nomatch")||e.innerText=="")&&e.classList.add("hidden")})}}const renderResult=(e,t)=>{for(var n,o,i,a,r=/#\{\s*isset ([a-zA-Z]*) \s*\}(.*)#\{\s*end\s*}/g,s=e;(n=r.exec(e))!==null;)t[n[1]]?s=s.replace(n[0],n[2]):s=s.replace(n[0],"");e=s;for(o in t)i="\\#\\{\\s*"+o+"\\s*\\}",a=new RegExp(i,"g"),e=e.replace(a,t[o]);return e},resetSearch=()=>{searchIcon&&(searchIcon.style.display="initial"),searchIconReset&&(searchIconReset.style.display="none"),searchInput.forEach(e=>{e.value=""}),searchResult.forEach(e=>{e.innerHTML=""}),emptySearchResult.forEach(e=>{e.style.display="",e.innerHTML=search_initial_message}),searchResultInfo.innerHTML="",window.location.search.includes("?s=")&&window.history.pushState("",document.title,window.location.pathname+window.location.hash)},enableBodyScroll=()=>{setTimeout(()=>{body.style.overflowY="",body.style.paddingRight=""},200)},disableBodyScroll=()=>{const e=document.documentElement.clientWidth,t=Math.abs(window.innerWidth-e);body.style.overflowY="hidden",body.style.paddingRight=t+"px"},showModal=()=>{searchModal.classList.add("show"),window.setTimeout(()=>document.querySelector("[data-search-input]").focus(),100),hasSearchModal&&(disableBodyScroll(),searchModalVisible=!0)},closeModal=()=>{searchModal.classList.remove("show"),resetSearch(),hasSearchModal&&(enableBodyScroll(),searchModalVisible=!1)};if(hasSearchWrapper){searchModalVisible&&showModal(),searchIconReset&&searchIconReset.addEventListener("click",()=>{resetSearch()}),openSearchModal.forEach(e=>{e.addEventListener("click",function(){showModal()})}),closeSearchModal.forEach(e=>{e.addEventListener("click",function(){closeModal()})}),searchWrapper.addEventListener("click",function(e){e.target.classList.contains("search-wrapper")&&closeModal()});const e=e=>{e.key==="Escape"&&searchModalVisible&&(e.preventDefault(),closeModal())},t=e=>{(e.ctrlKey||e.metaKey)&&e.key==="k"&&(searchModalVisible?(e.preventDefault(),closeModal()):(e.preventDefault(),showModal()))};document.addEventListener("keydown",n=>{t(n),e(n)})}(function(e,t){typeof exports=="object"&&typeof module!="undefined"?module.exports=t():typeof define=="function"&&define.amd?define(t):(e=typeof globalThis!="undefined"?globalThis:e||self,e.Swiper=t())})(this,function(){"use strict";function D(e){return e!==null&&typeof e=="object"&&"constructor"in e&&e.constructor===Object}function w(e,t){e===0[0]&&(e={}),t===0[0]&&(t={}),Object.keys(t).forEach(n=>{typeof e[n]=="undefined"?e[n]=t[n]:D(t[n])&&D(e[n])&&Object.keys(t[n]).length>0&&w(e[n],t[n])})}const K={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 n(){const e=typeof document!="undefined"?document:{};return w(e,K),e}const cn={document:K,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=="undefined"?(e(),null):setTimeout(e,0)},cancelAnimationFrame(e){if(typeof setTimeout=="undefined")return;clearTimeout(e)}};function t(){const e=typeof window!="undefined"?window:{};return w(e,cn),e}function on(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get(){return t},set(e){t.__proto__=e}})}class c extends Array{constructor(e){typeof e=="number"?super(e):(super(...e||[]),on(this))}}function u(e){e===0[0]&&(e=[]);const t=[];return e.forEach(e=>{Array.isArray(e)?t.push(...u(e)):t.push(e)}),t}function U(e,t){return Array.prototype.filter.call(e,t)}function sn(e){const t=[];for(let n=0;n<e.length;n+=1)t.indexOf(e[n])===-1&&t.push(e[n]);return t}function nn(e,t){if(typeof e!="string")return[e];const n=[],s=t.querySelectorAll(e);for(let e=0;e<s.length;e+=1)n.push(s[e]);return n}function e(e,s){const a=t(),i=n();let o=[];if(!s&&e instanceof c)return e;if(!e)return new c(o);if(typeof e=="string"){const t=e.trim();if(t.indexOf("<")>=0&&t.indexOf(">")>=0){let e="div";t.indexOf("<li")===0&&(e="ul"),t.indexOf("<tr")===0&&(e="tbody"),(t.indexOf("<td")===0||t.indexOf("<th")===0)&&(e="tr"),t.indexOf("<tbody")===0&&(e="table"),t.indexOf("<option")===0&&(e="select");const n=i.createElement(e);n.innerHTML=t;for(let e=0;e<n.childNodes.length;e+=1)o.push(n.childNodes[e])}else o=nn(e.trim(),s||i)}else if(e.nodeType||e===a||e===i)o.push(e);else if(Array.isArray(e)){if(e instanceof c)return e;o=e}return new c(sn(o))}e.fn=c.prototype;function Lt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];const s=u(n.map(e=>e.split(" ")));return this.forEach(e=>{e.classList.add(...s)}),this}function Dt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];const s=u(n.map(e=>e.split(" ")));return this.forEach(e=>{e.classList.remove(...s)}),this}function Mt(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];const s=u(n.map(e=>e.split(" ")));this.forEach(e=>{s.forEach(t=>{e.classList.toggle(t)})})}function St(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];const s=u(n.map(e=>e.split(" ")));return U(this,e=>s.filter(t=>e.classList.contains(t)).length>0).length>0}function At(e,t){if(arguments.length===1&&typeof e=="string")return this[0]?this[0].getAttribute(e):0[0];for(let n=0;n<this.length;n+=1)if(arguments.length===2)this[n].setAttribute(e,t);else for(const t in e)this[n][t]=e[t],this[n].setAttribute(t,e[t]);return this}function Et(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this}function Ct(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this}function Ot(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration=typeof e!="string"?`${e}ms`:e;return this}function yt(){for(var c=arguments.length,o=new Array(c),i=0;i<c;i++)o[i]=arguments[i];let[l,a,n,s]=o;typeof o[1]=="function"&&([l,n,s]=o,a=0[0]),s||(s=!1);function d(t){const s=t.target;if(!s)return;const o=t.target.dom7EventData||[];if(o.indexOf(t)<0&&o.unshift(t),e(s).is(a))n.apply(s,o);else{const t=e(s).parents();for(let s=0;s<t.length;s+=1)e(t[s]).is(a)&&n.apply(t[s],o)}}function u(e){const t=e&&e.target?e.target.dom7EventData||[]:[];t.indexOf(e)<0&&t.unshift(e),n.apply(this,t)}const r=l.split(" ");let t;for(let o=0;o<this.length;o+=1){const e=this[o];if(a)for(t=0;t<r.length;t+=1){const o=r[t];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[o]||(e.dom7LiveListeners[o]=[]),e.dom7LiveListeners[o].push({listener:n,proxyListener:d}),e.addEventListener(o,d,s)}else for(t=0;t<r.length;t+=1){const o=r[t];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[o]||(e.dom7Listeners[o]=[]),e.dom7Listeners[o].push({listener:n,proxyListener:u}),e.addEventListener(o,u,s)}}return this}function gt(){for(var i=arguments.length,n=new Array(i),s=0;s<i;s++)n[s]=arguments[s];let[a,o,e,t]=n;typeof n[1]=="function"&&([a,e,t]=n,o=0[0]),t||(t=!1);const r=a.split(" ");for(let s=0;s<r.length;s+=1){const n=r[s];for(let a=0;a<this.length;a+=1){const i=this[a];let s;if(!o&&i.dom7Listeners?s=i.dom7Listeners[n]:o&&i.dom7LiveListeners&&(s=i.dom7LiveListeners[n]),s&&s.length)for(let a=s.length-1;a>=0;a-=1){const o=s[a];e&&o.listener===e?(i.removeEventListener(n,o.proxyListener,t),s.splice(a,1)):e&&o.listener&&o.listener.dom7proxy&&o.listener.dom7proxy===e?(i.removeEventListener(n,o.proxyListener,t),s.splice(a,1)):e||(i.removeEventListener(n,o.proxyListener,t),s.splice(a,1))}}}return this}function mt(){const s=t();for(var o=arguments.length,e=new Array(o),n=0;n<o;n++)e[n]=arguments[n];const i=e[0].split(" "),a=e[1];for(let t=0;t<i.length;t+=1){const n=i[t];for(let o=0;o<this.length;o+=1){const t=this[o];if(s.CustomEvent){const o=new s.CustomEvent(n,{detail:a,bubbles:!0,cancelable:!0});t.dom7EventData=e.filter((e,t)=>t>0),t.dispatchEvent(o),t.dom7EventData=[],delete t.dom7EventData}}}return this}function ht(e){const t=this;function n(s){if(s.target!==this)return;e.call(this,s),t.off("transitionend",n)}return e&&t.on("transitionend",n),this}function lt(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null}function rt(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null}function ot(){if(this.length>0){const s=t(),a=n(),e=this[0],o=e.getBoundingClientRect(),i=a.body,r=e.clientTop||i.clientTop||0,c=e.clientLeft||i.clientLeft||0,l=e===s?s.scrollY:e.scrollTop,d=e===s?s.scrollX:e.scrollLeft;return{top:o.top+l-r,left:o.left+d-c}}return null}function Je(){const e=t();return this[0]?e.getComputedStyle(this[0],null):{}}function Xe(e,n){const o=t();let s;if(arguments.length===1)if(typeof e=="string"){if(this[0])return o.getComputedStyle(this[0],null).getPropertyValue(e)}else{for(s=0;s<this.length;s+=1)for(const t in e)this[s].style[t]=e[t];return this}if(arguments.length===2&&typeof e=="string"){for(s=0;s<this.length;s+=1)this[s].style[e]=n;return this}return this}function Ke(e){return e?(this.forEach((t,n)=>{e.apply(t,[t,n])}),this):this}function Pe(t){const n=U(this,t);return e(n)}function Ne(e){if(typeof e=="undefined")return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this}function ze(e){if(typeof e=="undefined")return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this}function Fe(s){const r=t(),l=n(),o=this[0];let a,i;if(!o||typeof s=="undefined")return!1;if(typeof s=="string"){if(o.matches)return o.matches(s);if(o.webkitMatchesSelector)return o.webkitMatchesSelector(s);if(o.msMatchesSelector)return o.msMatchesSelector(s);a=e(s);for(i=0;i<a.length;i+=1)if(a[i]===o)return!0;return!1}if(s===l)return o===l;if(s===r)return o===r;if(s.nodeType||s instanceof c){a=s.nodeType?[s]:s;for(i=0;i<a.length;i+=1)if(a[i]===o)return!0;return!1}return!1}function ke(){let e=this[0],t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function he(t){if(typeof t=="undefined")return this;const n=this.length;if(t>n-1)return e([]);if(t<0){const s=n+t;return e(s<0?[]:[this[s]])}return e([this[t]])}function le(){let e;const t=n();for(let n=0;n<arguments.length;n+=1){e=n<0||arguments.length<=n?0[0]:arguments[n];for(let n=0;n<this.length;n+=1)if(typeof e=="string"){const s=t.createElement("div");for(s.innerHTML=e;s.firstChild;)this[n].appendChild(s.firstChild)}else if(e instanceof c)for(let t=0;t<e.length;t+=1)this[n].appendChild(e[t]);else this[n].appendChild(e)}return this}function ce(e){const o=n();let t,s;for(t=0;t<this.length;t+=1)if(typeof e=="string"){const n=o.createElement("div");n.innerHTML=e;for(s=n.childNodes.length-1;s>=0;s-=1)this[t].insertBefore(n.childNodes[s],this[t].childNodes[0])}else if(e instanceof c)for(s=0;s<e.length;s+=1)this[t].insertBefore(e[s],this[t].childNodes[0]);else this[t].insertBefore(e,this[t].childNodes[0]);return this}function ae(t){return this.length>0?t?e(this[0].nextElementSibling&&e(this[0].nextElementSibling).is(t)?[this[0].nextElementSibling]:[]):e(this[0].nextElementSibling?[this[0].nextElementSibling]:[]):e([])}function ie(t){const s=[];let n=this[0];if(!n)return e([]);for(;n.nextElementSibling;){const o=n.nextElementSibling;t?e(o).is(t)&&s.push(o):s.push(o),n=o}return e(s)}function oe(t){if(this.length>0){const n=this[0];return t?e(n.previousElementSibling&&e(n.previousElementSibling).is(t)?[n.previousElementSibling]:[]):e(n.previousElementSibling?[n.previousElementSibling]:[])}return e([])}function se(t){const s=[];let n=this[0];if(!n)return e([]);for(;n.previousElementSibling;){const o=n.previousElementSibling;t?e(o).is(t)&&s.push(o):s.push(o),n=o}return e(s)}function te(t){const n=[];for(let s=0;s<this.length;s+=1)this[s].parentNode!==null&&(t?e(this[s].parentNode).is(t)&&n.push(this[s].parentNode):n.push(this[s].parentNode));return e(n)}function ee(t){const n=[];for(let o=0;o<this.length;o+=1){let s=this[o].parentNode;for(;s;)t?e(s).is(t)&&n.push(s):n.push(s),s=s.parentNode}return e(n)}function Z(t){let n=this;return typeof t=="undefined"?e([]):(n.is(t)||(n=n.parents(t).eq(0)),n)}function Q(t){const n=[];for(let e=0;e<this.length;e+=1){const s=this[e].querySelectorAll(t);for(let e=0;e<s.length;e+=1)n.push(s[e])}return e(n)}function G(t){const n=[];for(let s=0;s<this.length;s+=1){const o=this[s].children;for(let s=0;s<o.length;s+=1)(!t||e(o[s]).is(t))&&n.push(o[s])}return e(n)}function nt(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}const B={addClass:Lt,removeClass:Dt,hasClass:St,toggleClass:Mt,attr:At,removeAttr:Et,transform:Ct,transition:Ot,on:yt,off:gt,trigger:mt,transitionEnd:ht,outerWidth:lt,outerHeight:rt,styles:Je,offset:ot,css:Xe,each:Ke,html:Ne,text:ze,is:Fe,index:ke,eq:he,append:le,prepend:ce,next:ae,nextAll:ie,prev:oe,prevAll:se,parent:te,parents:ee,closest:Z,find:Q,children:G,filter:Pe,remove:nt};Object.keys(B).forEach(t=>{Object.defineProperty(e.fn,t,{value:B[t],writable:!0})});function X(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch{}try{delete t[e]}catch{}})}function r(e,t){return t===0[0]&&(t=0),setTimeout(e,t)}function o(){return Date.now()}function J(e){const s=t();let n;return s.getComputedStyle&&(n=s.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}function j(e,n){n===0[0]&&(n="x");const r=t();let i,s,a;const o=J(e);return r.WebKitCSSMatrix?(s=o.transform||o.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map(e=>e.replace(",",".")).join(", ")),a=new r.WebKitCSSMatrix(s==="none"?"":s)):(a=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=a.toString().split(",")),n==="x"&&(r.WebKitCSSMatrix?s=a.m41:i.length===16?s=parseFloat(i[12]):s=parseFloat(i[4])),n==="y"&&(r.WebKitCSSMatrix?s=a.m42:i.length===16?s=parseFloat(i[13]):s=parseFloat(i[5])),s||0}function f(e){return typeof e=="object"&&e!==null&&e.constructor&&Object.prototype.toString.call(e).slice(8,-1)==="Object"}function ne(e){return typeof window!="undefined"&&typeof window.HTMLElement!="undefined"?e instanceof HTMLElement:e&&(e.nodeType===1||e.nodeType===11)}function s(){const e=Object(arguments.length<=0?0[0]:arguments[0]),t=["__proto__","constructor","prototype"];for(let o=1;o<arguments.length;o+=1){const n=o<0||arguments.length<=o?0[0]:arguments[o];if(n!=null&&!ne(n)){const o=Object.keys(Object(n)).filter(e=>t.indexOf(e)<0);for(let i=0,r=o.length;i<r;i+=1){const t=o[i],a=Object.getOwnPropertyDescriptor(n,t);a!==0[0]&&a.enumerable&&(f(e[t])&&f(n[t])?n[t].__swiper__?e[t]=n[t]:s(e[t],n[t]):!f(e[t])&&f(n[t])?(e[t]={},n[t].__swiper__?e[t]=n[t]:s(e[t],n[t])):e[t]=n[t])}}}return e}function m(e,t,n){e.style.setProperty(t,n)}function I(e){let{swiper:n,targetPosition:s,side:c}=e;const o=t(),i=-n.translate;let a=null,r;const h=n.params.speed;n.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(n.cssModeFrameID);const l=s>i?"next":"prev",d=(e,t)=>l==="next"&&e>=t||l==="prev"&&e<=t,u=()=>{r=(new Date).getTime(),a===null&&(a=r);const t=Math.max(Math.min((r-a)/h,1),0),l=.5-Math.cos(t*Math.PI)/2;let e=i+l*(s-i);if(d(e,s)&&(e=s),n.wrapperEl.scrollTo({[c]:e}),d(e,s)){n.wrapperEl.style.overflow="hidden",n.wrapperEl.style.scrollSnapType="",setTimeout(()=>{n.wrapperEl.style.overflow="",n.wrapperEl.scrollTo({[c]:e})}),o.cancelAnimationFrame(n.cssModeFrameID);return}n.cssModeFrameID=o.requestAnimationFrame(u)};u()}let O;function re(){const e=t(),s=n();return{smoothScroll:s.documentElement&&"scrollBehavior"in s.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&s instanceof e.DocumentTouch),passiveListener:function(){let n=!1;try{const t=Object.defineProperty({},"passive",{get(){n=!0}});e.addEventListener("testPassiveListener",null,t)}catch{}return n}(),gestures:function(){return"ongesturestart"in e}()}}function P(){return O||(O=re()),O}let x;function de(e){let{userAgent:c}=e===0[0]?{}:e;const h=P(),i=t(),a=i.navigator.platform,s=c||i.navigator.userAgent,o={ios:!1,android:!1},l=i.screen.width,d=i.screen.height,u=s.match(/(Android);?[\s/]+([\d.]+)?/);let n=s.match(/(iPad).*OS\s([\d_]+)/);const m=s.match(/(iPod)(.*OS\s([\d_]+))?/),f=!n&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=a==="Win32";let r=a==="MacIntel";const g=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!n&&r&&h.touch&&g.indexOf(`${l}x${d}`)>=0&&(n=s.match(/(Version)\/([\d.]+)/),n||(n=[0,1,"13_0_0"]),r=!1),u&&!p&&(o.os="android",o.android=!0),(n||f||m)&&(o.os="ios",o.ios=!0),o}function ue(e){return e===0[0]&&(e={}),x||(x=de(e)),x}let _;function me(){const e=t();function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}return{isSafari:n(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}function fe(){return _||(_=me()),_}function pe(e){let{swiper:n,on:c,emit:i}=e;const s=t();let o=null,a=null;const r=()=>{if(!n||n.destroyed||!n.initialized)return;i("beforeResize"),i("resize")},d=()=>{if(!n||n.destroyed||!n.initialized)return;o=new ResizeObserver(e=>{a=s.requestAnimationFrame(()=>{const{width:t,height:s}=n;let o=t,i=s;e.forEach(e=>{let{contentBoxSize:t,contentRect:s,target:a}=e;if(a&&a!==n.el)return;o=s?s.width:(t[0]||t).inlineSize,i=s?s.height:(t[0]||t).blockSize}),(o!==t||i!==s)&&r()})}),o.observe(n.el)},u=()=>{a&&s.cancelAnimationFrame(a),o&&o.unobserve&&n.el&&(o.unobserve(n.el),o=null)},l=()=>{if(!n||n.destroyed||!n.initialized)return;i("orientationchange")};c("init",()=>{if(n.params.resizeObserver&&typeof s.ResizeObserver!="undefined"){d();return}s.addEventListener("resize",r),s.addEventListener("orientationchange",l)}),c("destroy",()=>{u(),s.removeEventListener("resize",r),s.removeEventListener("orientationchange",l)})}function ge(e){let{swiper:n,extendParams:c,on:a,emit:r}=e;const o=[],s=t(),i=function(e,t){t===0[0]&&(t={});const i=s.MutationObserver||s.WebkitMutationObserver,n=new i(e=>{if(e.length===1){r("observerUpdate",e[0]);return}const t=function(){r("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(t):s.setTimeout(t,0)});n.observe(e,{attributes:typeof t.attributes=="undefined"||t.attributes,childList:typeof t.childList=="undefined"||t.childList,characterData:typeof t.characterData=="undefined"||t.characterData}),o.push(n)},l=()=>{if(!n.params.observer)return;if(n.params.observeParents){const e=n.$el.parents();for(let t=0;t<e.length;t+=1)i(e[t])}i(n.$el[0],{childList:n.params.observeSlideChildren}),i(n.$wrapperEl[0],{attributes:!1})},d=()=>{o.forEach(e=>{e.disconnect()}),o.splice(0,o.length)};c({observer:!1,observeParents:!1,observeSlideChildren:!1}),a("init",l),a("destroy",d)}var b,C,A,S,M,F,z,N,R,V,$,W,ve={on(e,t,n){const s=this;if(typeof t!="function")return s;const o=n?"unshift":"push";return e.split(" ").forEach(e=>{s.eventsListeners[e]||(s.eventsListeners[e]=[]),s.eventsListeners[e][o](t)}),s},once(e,t,n){const o=this;if(typeof t!="function")return o;function s(){o.off(e,s),s.__emitterProxy&&delete s.__emitterProxy;for(var i=arguments.length,a=new Array(i),n=0;n<i;n++)a[n]=arguments[n];t.apply(o,a)}return s.__emitterProxy=t,o.on(e,s,n)},onAny(e,t){const n=this;if(typeof e!="function")return n;const s=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[s](e),n},offAny(e){const t=this;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return n.eventsListeners?(e.split(" ").forEach(e=>{typeof t=="undefined"?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((s,o)=>{(s===t||s.__emitterProxy&&s.__emitterProxy===t)&&n.eventsListeners[e].splice(o,1)})}),n):n},emit(){const e=this;if(!e.eventsListeners)return e;let n,s,o;for(var a=arguments.length,t=new Array(a),i=0;i<a;i++)t[i]=arguments[i];typeof t[0]=="string"||Array.isArray(t[0])?(n=t[0],s=t.slice(1,t.length),o=e):(n=t[0].events,s=t[0].data,o=t[0].context||e),s.unshift(o);const r=Array.isArray(n)?n:n.split(" ");return r.forEach(t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach(e=>{e.apply(o,[t,...s])}),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach(e=>{e.apply(o,s)})}),e}};function be(){const e=this;let t,n;const s=e.$el;if(typeof e.params.width!="undefined"&&e.params.width!==null?t=e.params.width:t=s[0].clientWidth,typeof e.params.height!="undefined"&&e.params.height!==null?n=e.params.height:n=s[0].clientHeight,t===0&&e.isHorizontal()||n===0&&e.isVertical())return;t=t-parseInt(s.css("padding-left")||0,10)-parseInt(s.css("padding-right")||0,10),n=n-parseInt(s.css("padding-top")||0,10)-parseInt(s.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n})}function je(){const t=this;function c(e){return t.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}function u(e,t){return parseFloat(e.getPropertyValue(c(t))||0)}const e=t.params,{$wrapperEl:_,size:i,rtlTranslate:v,wrongRTL:C}=t,b=t.virtual&&e.virtual.enabled,x=b?t.virtual.slides.length:t.slides.length,r=_.children(`.${t.params.slideClass}`),h=b?t.virtual.slides.length:r.length;let n=[];const l=[],d=[];let g=e.slidesOffsetBefore;typeof g=="function"&&(g=e.slidesOffsetBefore.call(t));let p=e.slidesOffsetAfter;typeof p=="function"&&(p=e.slidesOffsetAfter.call(t));const w=t.snapGrid.length,O=t.slidesGrid.length;let a=e.spaceBetween,s=-g,j=0,f=0;if(typeof i=="undefined")return;typeof a=="string"&&a.indexOf("%")>=0&&(a=parseFloat(a.replace("%",""))/100*i),t.virtualSize=-a,v?r.css({marginLeft:"",marginBottom:"",marginTop:""}):r.css({marginRight:"",marginBottom:"",marginTop:""}),e.centeredSlides&&e.cssMode&&(m(t.wrapperEl,"--swiper-centered-offset-before",""),m(t.wrapperEl,"--swiper-centered-offset-after",""));const y=e.grid&&e.grid.rows>1&&t.grid;y&&t.grid.initSlides(h);let o;const E=e.slidesPerView==="auto"&&e.breakpoints&&Object.keys(e.breakpoints).filter(t=>typeof e.breakpoints[t].slidesPerView!="undefined").length>0;for(let p=0;p<h;p+=1){o=0;const m=r.eq(p);if(y&&t.grid.updateSlide(p,m,h,c),m.css("display")==="none")continue;if(e.slidesPerView==="auto"){E&&(r[p].style[c("width")]=``);const n=getComputedStyle(m[0]),s=m[0].style.transform,i=m[0].style.webkitTransform;if(s&&(m[0].style.transform="none"),i&&(m[0].style.webkitTransform="none"),e.roundLengths)o=t.isHorizontal()?m.outerWidth(!0):m.outerHeight(!0);else{const e=u(n,"width"),a=u(n,"padding-left"),r=u(n,"padding-right"),t=u(n,"margin-left"),s=u(n,"margin-right"),i=n.getPropertyValue("box-sizing");if(i&&i==="border-box")o=e+t+s;else{const{clientWidth:n,offsetWidth:i}=m[0];o=e+a+r+t+s+(i-n)}}s&&(m[0].style.transform=s),i&&(m[0].style.webkitTransform=i),e.roundLengths&&(o=Math.floor(o))}else o=(i-(e.slidesPerView-1)*a)/e.slidesPerView,e.roundLengths&&(o=Math.floor(o)),r[p]&&(r[p].style[c("width")]=`${o}px`);r[p]&&(r[p].swiperSlideSize=o),d.push(o),e.centeredSlides?(s=s+o/2+j/2+a,j===0&&p!==0&&(s=s-i/2-a),p===0&&(s=s-i/2-a),Math.abs(s)<1/1e3&&(s=0),e.roundLengths&&(s=Math.floor(s)),f%e.slidesPerGroup===0&&n.push(s),l.push(s)):(e.roundLengths&&(s=Math.floor(s)),(f-Math.min(t.params.slidesPerGroupSkip,f))%t.params.slidesPerGroup===0&&n.push(s),l.push(s),s=s+o+a),t.virtualSize+=o+a,j=o,f+=1}if(t.virtualSize=Math.max(t.virtualSize,i)+p,v&&C&&(e.effect==="slide"||e.effect==="coverflow")&&_.css({width:`${t.virtualSize+e.spaceBetween}px`}),e.setWrapperSize&&_.css({[c("width")]:`${t.virtualSize+e.spaceBetween}px`}),y&&t.grid.updateWrapperSize(o,n,c),!e.centeredSlides){const s=[];for(let o=0;o<n.length;o+=1){let a=n[o];e.roundLengths&&(a=Math.floor(a)),n[o]<=t.virtualSize-i&&s.push(a)}n=s,Math.floor(t.virtualSize-i)-Math.floor(n[n.length-1])>1&&n.push(t.virtualSize-i)}if(n.length===0&&(n=[0]),e.spaceBetween!==0){const n=t.isHorizontal()&&v?"marginLeft":c("marginRight");r.filter((t,n)=>!e.cssMode||n!==r.length-1).css({[n]:`${a}px`})}if(e.centeredSlides&&e.centeredSlidesBounds){let t=0;d.forEach(n=>{t+=n+(e.spaceBetween?e.spaceBetween:0)}),t-=e.spaceBetween;const s=t-i;n=n.map(e=>e<0?-g:e>s?s+p:e)}if(e.centerInsufficientSlides){let t=0;if(d.forEach(n=>{t+=n+(e.spaceBetween?e.spaceBetween:0)}),t-=e.spaceBetween,t<i){const e=(i-t)/2;n.forEach((t,s)=>{n[s]=t-e}),l.forEach((t,n)=>{l[n]=t+e})}}if(Object.assign(t,{slides:r,snapGrid:n,slidesGrid:l,slidesSizesGrid:d}),e.centeredSlides&&e.cssMode&&!e.centeredSlidesBounds){m(t.wrapperEl,"--swiper-centered-offset-before",`${-n[0]}px`),m(t.wrapperEl,"--swiper-centered-offset-after",`${t.size/2-d[d.length-1]/2}px`);const e=-t.snapGrid[0],s=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+s)}if(h!==x&&t.emit("slidesLengthChange"),n.length!==w&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),l.length!==O&&t.emit("slidesGridLengthChange"),e.watchSlidesProgress&&t.updateSlidesOffset(),!b&&!e.cssMode&&(e.effect==="slide"||e.effect==="fade")){const n=`${e.containerModifierClass}backface-hidden`,s=t.$el.hasClass(n);h<=e.maxBackfaceHiddenSlides?s||t.$el.addClass(n):s&&t.$el.removeClass(n)}}function ye(e){const t=this,s=[],i=t.virtual&&t.params.virtual.enabled;let o=0,n;typeof e=="number"?t.setTransition(e):e===!0&&t.setTransition(t.params.speed);const a=e=>i?t.slides.filter(t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e)[0]:t.slides.eq(e)[0];if(t.params.slidesPerView!=="auto"&&t.params.slidesPerView>1)if(t.params.centeredSlides)t.visibleSlides.each(e=>{s.push(e)});else for(n=0;n<Math.ceil(t.params.slidesPerView);n+=1){const e=t.activeIndex+n;if(e>t.slides.length&&!i)break;s.push(a(e))}else s.push(a(t.activeIndex));for(n=0;n<s.length;n+=1)if(typeof s[n]!="undefined"){const e=s[n].offsetHeight;o=e>o?e:o}(o||o===0)&&t.$wrapperEl.css("height",`${o}px`)}function _e(){const t=this,e=t.slides;for(let n=0;n<e.length;n+=1)e[n].swiperSlideOffset=t.isHorizontal()?e[n].offsetLeft:e[n].offsetTop}function we(t){t===0[0]&&(t=this&&this.translate||0);const n=this,s=n.params,{slides:o,rtlTranslate:a,snapGrid:r}=n;if(o.length===0)return;typeof o[0].swiperSlideOffset=="undefined"&&n.updateSlidesOffset();let i=-t;a&&(i=t),o.removeClass(s.slideVisibleClass),n.visibleSlidesIndexes=[],n.visibleSlides=[];for(let e=0;e<o.length;e+=1){const t=o[e];let c=t.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(c-=o[0].swiperSlideOffset);const u=(i+(s.centeredSlides?n.minTranslate():0)-c)/(t.swiperSlideSize+s.spaceBetween),h=(i-r[0]+(s.centeredSlides?n.minTranslate():0)-c)/(t.swiperSlideSize+s.spaceBetween),l=-(i-c),d=l+n.slidesSizesGrid[e],m=l>=0&&l<n.size-1||d>1&&d<=n.size||l<=0&&d>=n.size;m&&(n.visibleSlides.push(t),n.visibleSlidesIndexes.push(e),o.eq(e).addClass(s.slideVisibleClass)),t.progress=a?-u:u,t.originalProgress=a?-h:h}n.visibleSlides=e(n.visibleSlides)}function Oe(e){const t=this;if(typeof e=="undefined"){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const i=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:n,isBeginning:s,isEnd:o}=t;const r=s,c=o;a===0?(n=0,s=!0,o=!0):(n=(e-t.minTranslate())/a,s=n<=0,o=n>=1),Object.assign(t,{progress:n,isBeginning:s,isEnd:o}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&t.updateSlidesProgress(e),s&&!r&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(r&&!s||c&&!o)&&t.emit("fromEdge"),t.emit("progress",n)}function xe(){const i=this,{slides:a,params:e,$wrapperEl:t,activeIndex:r,realIndex:c}=i,l=i.virtual&&e.virtual.enabled;a.removeClass(`${e.slideActiveClass} ${e.slideNextClass} ${e.slidePrevClass} ${e.slideDuplicateActiveClass} ${e.slideDuplicateNextClass} ${e.slideDuplicatePrevClass}`);let n;l?n=i.$wrapperEl.find(`.${e.slideClass}[data-swiper-slide-index="${r}"]`):n=a.eq(r),n.addClass(e.slideActiveClass),e.loop&&(n.hasClass(e.slideDuplicateClass)?t.children(`.${e.slideClass}:not(.${e.slideDuplicateClass})[data-swiper-slide-index="${c}"]`).addClass(e.slideDuplicateActiveClass):t.children(`.${e.slideClass}.${e.slideDuplicateClass}[data-swiper-slide-index="${c}"]`).addClass(e.slideDuplicateActiveClass));let s=n.nextAll(`.${e.slideClass}`).eq(0).addClass(e.slideNextClass);e.loop&&s.length===0&&(s=a.eq(0),s.addClass(e.slideNextClass));let o=n.prevAll(`.${e.slideClass}`).eq(0).addClass(e.slidePrevClass);e.loop&&o.length===0&&(o=a.eq(-1),o.addClass(e.slidePrevClass)),e.loop&&(s.hasClass(e.slideDuplicateClass)?t.children(`.${e.slideClass}:not(.${e.slideDuplicateClass})[data-swiper-slide-index="${s.attr("data-swiper-slide-index")}"]`).addClass(e.slideDuplicateNextClass):t.children(`.${e.slideClass}.${e.slideDuplicateClass}[data-swiper-slide-index="${s.attr("data-swiper-slide-index")}"]`).addClass(e.slideDuplicateNextClass),o.hasClass(e.slideDuplicateClass)?t.children(`.${e.slideClass}:not(.${e.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(e.slideDuplicatePrevClass):t.children(`.${e.slideClass}.${e.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(e.slideDuplicatePrevClass)),i.emitSlidesClasses()}function Ce(e){const t=this,o=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:s,snapGrid:a,params:r,activeIndex:c,realIndex:d,snapIndex:u}=t;let n=e,i;if(typeof n=="undefined"){for(let e=0;e<s.length;e+=1)typeof s[e+1]!="undefined"?o>=s[e]&&o<s[e+1]-(s[e+1]-s[e])/2?n=e:o>=s[e]&&o<s[e+1]&&(n=e+1):o>=s[e]&&(n=e);r.normalizeSlideIndex&&(n<0||typeof n=="undefined")&&(n=0)}if(a.indexOf(o)>=0)i=a.indexOf(o);else{const e=Math.min(r.slidesPerGroupSkip,n);i=e+Math.floor((n-e)/r.slidesPerGroup)}if(i>=a.length&&(i=a.length-1),n===c){i!==u&&(t.snapIndex=i,t.emit("snapIndexChange"));return}const l=parseInt(t.slides.eq(n).attr("data-swiper-slide-index")||n,10);Object.assign(t,{snapIndex:i,realIndex:l,previousIndex:c,activeIndex:n}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),d!==l&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")}function Ee(t){const n=this,o=n.params,s=e(t).closest(`.${o.slideClass}`)[0];let i=!1,a;if(s)for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===s){i=!0,a=e;break}if(s&&i)n.clickedSlide=s,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(e(s).attr("data-swiper-slide-index"),10):n.clickedIndex=a;else{n.clickedSlide=0[0],n.clickedIndex=0[0];return}o.slideToClickedSlide&&n.clickedIndex!==0[0]&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}N={updateSize:be,updateSlides:je,updateAutoHeight:ye,updateSlidesOffset:_e,updateSlidesProgress:we,updateProgress:Oe,updateSlidesClasses:xe,updateActiveIndex:Ce,updateClickedSlide:Ee};function Ae(e){e===0[0]&&(e=this.isHorizontal()?"x":"y");const i=this,{params:s,rtlTranslate:o,translate:t,$wrapperEl:a}=i;if(s.virtualTranslate)return o?-t:t;if(s.cssMode)return t;let n=j(a[0],e);return o&&(n=-n),n||0}function Se(e,t){const n=this,{rtlTranslate:c,params:i,$wrapperEl:l,wrapperEl:d,progress:u}=n;let s=0,o=0;const h=0;n.isHorizontal()?s=c?-e:e:o=e,i.roundLengths&&(s=Math.floor(s),o=Math.floor(o)),i.cssMode?d[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-s:-o:i.virtualTranslate||l.transform(`translate3d(${s}px, ${o}px, ${h}px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?s:o;let a;const r=n.maxTranslate()-n.minTranslate();r===0?a=0:a=(e-n.minTranslate())/r,a!==u&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)}function Me(){return-this.snapGrid[0]}function q(){return-this.snapGrid[this.snapGrid.length-1]}function Te(e,t,n,s,o){e===0[0]&&(e=0),t===0[0]&&(t=this.params.speed),n===0[0]&&(n=!0),s===0[0]&&(s=!0);const i=this,{params:r,wrapperEl:c}=i;if(i.animating&&r.preventInteractionOnTransition)return!1;const l=i.minTranslate(),d=i.maxTranslate();let a;if(s&&e>l?a=l:s&&e<d?a=d:a=e,i.updateProgress(a),r.cssMode){const e=i.isHorizontal();if(t===0)c[e?"scrollLeft":"scrollTop"]=-a;else{if(!i.support.smoothScroll)return I({swiper:i,targetPosition:-a,side:e?"left":"top"}),!0;c.scrollTo({[e?"left":"top"]:-a,behavior:"smooth"})}return!0}return t===0?(i.setTransition(0),i.setTranslate(a),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionEnd"))):(i.setTransition(t),i.setTranslate(a),n&&(i.emit("beforeTransitionStart",t,o),i.emit("transitionStart")),i.animating||(i.animating=!0,i.onTranslateToWrapperTransitionEnd||(i.onTranslateToWrapperTransitionEnd=function(t){if(!i||i.destroyed)return;if(t.target!==this)return;i.$wrapperEl[0].removeEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onTranslateToWrapperTransitionEnd),i.onTranslateToWrapperTransitionEnd=null,delete i.onTranslateToWrapperTransitionEnd,n&&i.emit("transitionEnd")}),i.$wrapperEl[0].addEventListener("transitionend",i.onTranslateToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onTranslateToWrapperTransitionEnd))),!0}z={getTranslate:Ae,setTranslate:Se,minTranslate:Me,maxTranslate:q,translateTo:Te};function De(e,t){const n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)}function T(e){let{swiper:t,runCallbacks:a,direction:r,step:s}=e;const{activeIndex:o,previousIndex:i}=t;let n=r;if(n||(o>i?n="next":o<i?n="prev":n="reset"),t.emit(`transition${s}`),a&&o!==i){if(n==="reset"){t.emit(`slideResetTransition${s}`);return}t.emit(`slideChangeTransition${s}`),n==="next"?t.emit(`slideNextTransition${s}`):t.emit(`slidePrevTransition${s}`)}}function Le(e,t){e===0[0]&&(e=!0);const n=this,{params:s}=n;if(s.cssMode)return;s.autoHeight&&n.updateAutoHeight(),T({swiper:n,runCallbacks:e,direction:t,step:"Start"})}function Re(e,t){e===0[0]&&(e=!0);const n=this,{params:s}=n;if(n.animating=!1,s.cssMode)return;n.setTransition(0),T({swiper:n,runCallbacks:e,direction:t,step:"End"})}F={setTransition:De,transitionStart:Le,transitionEnd:Re};function He(e,t,n,s,o){if(e===0[0]&&(e=0),t===0[0]&&(t=this.params.speed),n===0[0]&&(n=!0),typeof e!="number"&&typeof e!="string")throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if(typeof e=="string"){const t=parseInt(e,10),n=isFinite(t);if(!n)throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let a=e;a<0&&(a=0);const{params:l,snapGrid:h,slidesGrid:u,previousIndex:b,activeIndex:d,rtlTranslate:f,wrapperEl:p,enabled:v}=i;if(i.animating&&l.preventInteractionOnTransition||!v&&!s&&!o)return!1;const g=Math.min(i.params.slidesPerGroupSkip,a);let m=g+Math.floor((a-g)/i.params.slidesPerGroup);m>=h.length&&(m=h.length-1),(d||l.initialSlide||0)===(b||0)&&n&&i.emit("beforeSlideChangeStart");const r=-h[m];if(i.updateProgress(r),l.normalizeSlideIndex)for(let e=0;e<u.length;e+=1){const t=-Math.floor(r*100),n=Math.floor(u[e]*100),s=Math.floor(u[e+1]*100);typeof u[e+1]!="undefined"?t>=n&&t<s-(s-n)/2?a=e:t>=n&&t<s&&(a=e+1):t>=n&&(a=e)}if(i.initialized&&a!==d){if(!i.allowSlideNext&&r<i.translate&&r<i.minTranslate())return!1;if(!i.allowSlidePrev&&r>i.translate&&r>i.maxTranslate()&&(d||0)!==a)return!1}let c;if(a>d?c="next":a<d?c="prev":c="reset",f&&-r===i.translate||!f&&r===i.translate)return i.updateActiveIndex(a),l.autoHeight&&i.updateAutoHeight(),i.updateSlidesClasses(),l.effect!=="slide"&&i.setTranslate(r),c!=="reset"&&(i.transitionStart(n,c),i.transitionEnd(n,c)),!1;if(l.cssMode){const e=i.isHorizontal(),n=f?r:-r;if(t===0){const t=i.virtual&&i.params.virtual.enabled;t&&(i.wrapperEl.style.scrollSnapType="none",i._immediateVirtual=!0),p[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame(()=>{i.wrapperEl.style.scrollSnapType="",i._swiperImmediateVirtual=!1})}else{if(!i.support.smoothScroll)return I({swiper:i,targetPosition:n,side:e?"left":"top"}),!0;p.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return i.setTransition(t),i.setTranslate(r),i.updateActiveIndex(a),i.updateSlidesClasses(),i.emit("beforeTransitionStart",t,s),i.transitionStart(n,c),t===0?i.transitionEnd(n,c):i.animating||(i.animating=!0,i.onSlideToWrapperTransitionEnd||(i.onSlideToWrapperTransitionEnd=function(t){if(!i||i.destroyed)return;if(t.target!==this)return;i.$wrapperEl[0].removeEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].removeEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd),i.onSlideToWrapperTransitionEnd=null,delete i.onSlideToWrapperTransitionEnd,i.transitionEnd(n,c)}),i.$wrapperEl[0].addEventListener("transitionend",i.onSlideToWrapperTransitionEnd),i.$wrapperEl[0].addEventListener("webkitTransitionEnd",i.onSlideToWrapperTransitionEnd)),!0}function Ie(e,t,n,s){e===0[0]&&(e=0),t===0[0]&&(t=this.params.speed),n===0[0]&&(n=!0);const o=this;let i=e;return o.params.loop&&(i+=o.loopedSlides),o.slideTo(i,t,n,s)}function Be(e,t,n){e===0[0]&&(e=this.params.speed),t===0[0]&&(t=!0);const s=this,{animating:a,enabled:r,params:o}=s;if(!r)return s;let i=o.slidesPerGroup;o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(i=Math.max(s.slidesPerViewDynamic("current",!0),1));const c=s.activeIndex<o.slidesPerGroupSkip?1:i;if(o.loop){if(a&&o.loopPreventsSlide)return!1;s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft}return o.rewind&&s.isEnd?s.slideTo(0,e,t,n):s.slideTo(s.activeIndex+c,e,t,n)}function Ve(e,t,n){e===0[0]&&(e=this.params.speed),t===0[0]&&(t=!0);const s=this,{params:i,animating:p,snapGrid:a,slidesGrid:f,rtlTranslate:h,enabled:d}=s;if(!d)return s;if(i.loop){if(p&&i.loopPreventsSlide)return!1;s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft}const u=h?s.translate:-s.translate;function l(e){return e<0?-Math.floor(e<0?-e:e):Math.floor(e)}const c=l(u),m=a.map(e=>l(e));let r=a[m.indexOf(c)-1];if(typeof r=="undefined"&&i.cssMode){let e;a.forEach((t,n)=>{c>=t&&(e=n)}),typeof e!="undefined"&&(r=a[e>0?e-1:e])}let o=0;if(typeof r!="undefined"&&(o=f.indexOf(r),o<0&&(o=s.activeIndex-1),i.slidesPerView==="auto"&&i.slidesPerGroup===1&&i.slidesPerGroupAuto&&(o=o-s.slidesPerViewDynamic("previous",!0)+1,o=Math.max(o,0))),i.rewind&&s.isBeginning){const o=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(o,e,t,n)}return s.slideTo(o,e,t,n)}function $e(e,t,n){e===0[0]&&(e=this.params.speed),t===0[0]&&(t=!0);const s=this;return s.slideTo(s.activeIndex,e,t,n)}function We(e,t,n,s){e===0[0]&&(e=this.params.speed),t===0[0]&&(t=!0),s===0[0]&&(s=.5);const o=this;let i=o.activeIndex;const c=Math.min(o.params.slidesPerGroupSkip,i),a=c+Math.floor((i-c)/o.params.slidesPerGroup),r=o.rtlTranslate?o.translate:-o.translate;if(r>=o.snapGrid[a]){const e=o.snapGrid[a],t=o.snapGrid[a+1];r-e>(t-e)*s&&(i+=o.params.slidesPerGroup)}else{const e=o.snapGrid[a-1],t=o.snapGrid[a];r-e<=(t-e)*s&&(i-=o.params.slidesPerGroup)}return i=Math.max(i,0),i=Math.min(i,o.slidesGrid.length-1),o.slideTo(i,e,t,n)}function Ue(){const t=this,{params:s,$wrapperEl:a}=t,o=s.slidesPerView==="auto"?t.slidesPerViewDynamic():s.slidesPerView;let n=t.clickedIndex,i;if(s.loop){if(t.animating)return;i=parseInt(e(t.clickedSlide).attr("data-swiper-slide-index"),10),s.centeredSlides?n<t.loopedSlides-o/2||n>t.slides.length-t.loopedSlides+o/2?(t.loopFix(),n=a.children(`.${s.slideClass}[data-swiper-slide-index="${i}"]:not(.${s.slideDuplicateClass})`).eq(0).index(),r(()=>{t.slideTo(n)})):t.slideTo(n):n>t.slides.length-o?(t.loopFix(),n=a.children(`.${s.slideClass}[data-swiper-slide-index="${i}"]:not(.${s.slideDuplicateClass})`).eq(0).index(),r(()=>{t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}M={slideTo:He,slideToLoop:Ie,slideNext:Be,slidePrev:Ve,slideReset:$e,slideToClosest:We,slideToClickedSlide:Ue};function qe(){const o=this,l=n(),{params:t,$wrapperEl:a}=o,i=a.children().length>0?e(a.children()[0].parentNode):a;i.children(`.${t.slideClass}.${t.slideDuplicateClass}`).remove();let s=i.children(`.${t.slideClass}`);if(t.loopFillGroupWithBlank){const n=t.slidesPerGroup-s.length%t.slidesPerGroup;if(n!==t.slidesPerGroup){for(let s=0;s<n;s+=1){const o=e(l.createElement("div")).addClass(`${t.slideClass} ${t.slideBlankClass}`);i.append(o)}s=i.children(`.${t.slideClass}`)}}t.slidesPerView==="auto"&&!t.loopedSlides&&(t.loopedSlides=s.length),o.loopedSlides=Math.ceil(parseFloat(t.loopedSlides||t.slidesPerView,10)),o.loopedSlides+=t.loopAdditionalSlides,o.loopedSlides>s.length&&(o.loopedSlides=s.length);const r=[],c=[];s.each((t,n)=>{const i=e(t);n<o.loopedSlides&&c.push(t),n<s.length&&n>=s.length-o.loopedSlides&&r.push(t),i.attr("data-swiper-slide-index",n)});for(let n=0;n<c.length;n+=1)i.append(e(c[n].cloneNode(!0)).addClass(t.slideDuplicateClass));for(let n=r.length-1;n>=0;n-=1)i.prepend(e(r[n].cloneNode(!0)).addClass(t.slideDuplicateClass))}function Ye(){const e=this;e.emit("beforeLoopFix");const{activeIndex:s,slides:i,loopedSlides:t,allowSlidePrev:r,allowSlideNext:c,snapGrid:l,rtlTranslate:a}=e;let n;e.allowSlidePrev=!0,e.allowSlideNext=!0;const d=-l[s],o=d-e.getTranslate();if(s<t){n=i.length-t*3+s,n+=t;const r=e.slideTo(n,0,!1,!0);r&&o!==0&&e.setTranslate((a?-e.translate:e.translate)-o)}else if(s>=i.length-t){n=-i.length+s+t,n+=t;const r=e.slideTo(n,0,!1,!0);r&&o!==0&&e.setTranslate((a?-e.translate:e.translate)-o)}e.allowSlidePrev=r,e.allowSlideNext=c,e.emit("loopFix")}function Ge(){const t=this,{$wrapperEl:n,params:e,slides:s}=t;n.children(`.${e.slideClass}.${e.slideDuplicateClass},.${e.slideClass}.${e.slideBlankClass}`).remove(),s.removeAttr("data-swiper-slide-index")}S={loopCreate:qe,loopFix:Ye,loopDestroy:Ge};function Qe(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n=t.params.touchEventsTarget==="container"?t.el:t.wrapperEl;n.style.cursor="move",n.style.cursor=e?"-webkit-grabbing":"-webkit-grab",n.style.cursor=e?"-moz-grabbin":"-moz-grab",n.style.cursor=e?"grabbing":"grab"}function Ze(){const e=this;if(e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;e[e.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor=""}A={setGrabCursor:Qe,unsetGrabCursor:Ze};function et(e,s){s===0[0]&&(s=this);function o(s){if(!s||s===n()||s===t())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||o(s.getRootNode().host)}return o(s)}function tt(s){const r=this,u=n(),v=t(),c=r.touchEventsData,{params:a,touches:d,enabled:g}=r;if(!g)return;if(r.animating&&a.preventInteractionOnTransition)return;!r.animating&&a.cssMode&&a.loop&&r.loopFix();let i=s;i.originalEvent&&(i=i.originalEvent);let l=e(i.target);if(a.touchEventsTarget==="wrapper"&&!l.closest(r.wrapperEl).length)return;if(c.isTouchEvent=i.type==="touchstart",!c.isTouchEvent&&"which"in i&&i.which===3)return;if(!c.isTouchEvent&&"button"in i&&i.button>0)return;if(c.isTouched&&c.isMoved)return;const b=!!a.noSwipingClass&&a.noSwipingClass!=="";b&&i.target&&i.target.shadowRoot&&s.path&&s.path[0]&&(l=e(s.path[0]));const m=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,j=!!(i.target&&i.target.shadowRoot);if(a.noSwiping&&(j?et(m,i.target):l.closest(m)[0])){r.allowClick=!0;return}if(a.swipeHandler&&!l.closest(a.swipeHandler)[0])return;d.currentX=i.type==="touchstart"?i.targetTouches[0].pageX:i.pageX,d.currentY=i.type==="touchstart"?i.targetTouches[0].pageY:i.pageY;const h=d.currentX,y=d.currentY,f=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,p=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(f&&(h<=p||h>=v.innerWidth-p))if(f==="prevent")s.preventDefault();else return;if(Object.assign(c,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:0[0],startMoving:0[0]}),d.startX=h,d.startY=y,c.touchStartTime=o(),r.allowClick=!0,r.updateSize(),r.swipeDirection=0[0],a.threshold>0&&(c.allowThresholdMove=!1),i.type!=="touchstart"){let t=!0;l.is(c.focusableElements)&&(t=!1,l[0].nodeName==="SELECT"&&(c.isTouched=!1)),u.activeElement&&e(u.activeElement).is(c.focusableElements)&&u.activeElement!==l[0]&&u.activeElement.blur();const n=t&&r.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||n)&&!l[0].isContentEditable&&i.preventDefault()}r.params.freeMode&&r.params.freeMode.enabled&&r.freeMode&&r.animating&&!a.cssMode&&r.freeMode.onTouchStart(),r.emit("touchStart",i)}function Y(t){const v=n(),s=this,i=s.touchEventsData,{params:c,touches:a,rtlTranslate:j,enabled:b}=s;if(!b)return;let r=t;if(r.originalEvent&&(r=r.originalEvent),!i.isTouched){i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",r);return}if(i.isTouchEvent&&r.type!=="touchmove")return;const g=r.type==="touchmove"&&r.targetTouches&&(r.targetTouches[0]||r.changedTouches[0]),d=r.type==="touchmove"?g.pageX:r.pageX,u=r.type==="touchmove"?g.pageY:r.pageY;if(r.preventedByNestedSwiper){a.startX=d,a.startY=u;return}if(!s.allowTouchMove){e(r.target).is(i.focusableElements)||(s.allowClick=!1),i.isTouched&&(Object.assign(a,{startX:d,startY:u,currentX:d,currentY:u}),i.touchStartTime=o());return}if(i.isTouchEvent&&c.touchReleaseOnEdges&&!c.loop)if(s.isVertical()){if(u<a.startY&&s.translate<=s.maxTranslate()||u>a.startY&&s.translate>=s.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(d<a.startX&&s.translate<=s.maxTranslate()||d>a.startX&&s.translate>=s.minTranslate())return;if(i.isTouchEvent&&v.activeElement&&r.target===v.activeElement&&e(r.target).is(i.focusableElements)){i.isMoved=!0,s.allowClick=!1;return}if(i.allowTouchCallbacks&&s.emit("touchMove",r),r.targetTouches&&r.targetTouches.length>1)return;a.currentX=d,a.currentY=u;const m=a.currentX-a.startX,h=a.currentY-a.startY;if(s.params.threshold&&Math.sqrt(m**2+h**2)<s.params.threshold)return;if(typeof i.isScrolling=="undefined"){let e;s.isHorizontal()&&a.currentY===a.startY||s.isVertical()&&a.currentX===a.startX?i.isScrolling=!1:m*m+h*h>=25&&(e=Math.atan2(Math.abs(h),Math.abs(m))*180/Math.PI,i.isScrolling=s.isHorizontal()?e>c.touchAngle:90-e>c.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",r),typeof i.startMoving=="undefined"&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(i.startMoving=!0),i.isScrolling){i.isTouched=!1;return}if(!i.startMoving)return;s.allowClick=!1,!c.cssMode&&r.cancelable&&r.preventDefault(),c.touchMoveStopPropagation&&!c.nested&&r.stopPropagation(),i.isMoved||(c.loop&&!c.cssMode&&s.loopFix(),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&s.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,c.grabCursor&&(s.allowSlideNext===!0||s.allowSlidePrev===!0)&&s.setGrabCursor(!0),s.emit("sliderFirstMove",r)),s.emit("sliderMove",r),i.isMoved=!0;let l=s.isHorizontal()?m:h;a.diff=l,l*=c.touchRatio,j&&(l=-l),s.swipeDirection=l>0?"prev":"next",i.currentTranslate=l+i.startTranslate;let f=!0,p=c.resistanceRatio;if(c.touchReleaseOnEdges&&(p=0),l>0&&i.currentTranslate>s.minTranslate()?(f=!1,c.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+l)**p)):l<0&&i.currentTranslate<s.maxTranslate()&&(f=!1,c.resistance&&(i.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-i.startTranslate-l)**p)),f&&(r.preventedByNestedSwiper=!0),!s.allowSlideNext&&s.swipeDirection==="next"&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&s.swipeDirection==="prev"&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&!s.allowSlideNext&&(i.currentTranslate=i.startTranslate),c.threshold>0)if(Math.abs(l)>c.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,i.currentTranslate=i.startTranslate,a.diff=s.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{i.currentTranslate=i.startTranslate;return}if(!c.followFinger||c.cssMode)return;(c.freeMode&&c.freeMode.enabled&&s.freeMode||c.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&c.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate)}function st(e){const t=this,n=t.touchEventsData,{params:s,touches:j,rtlTranslate:b,slidesGrid:a,enabled:v}=t;if(!v)return;let i=e;if(i.originalEvent&&(i=i.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",i),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&s.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}s.grabCursor&&n.isMoved&&n.isTouched&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!1);const p=o(),g=p-n.touchStartTime;if(t.allowClick){const e=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(e&&e[0]||i.target),t.emit("tap click",i),g<300&&p-n.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(n.lastClickTime=o(),r(()=>{t.destroyed||(t.allowClick=!0)}),!n.isTouched||!n.isMoved||!t.swipeDirection||j.diff===0||n.currentTranslate===n.startTranslate){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let l;if(s.followFinger?l=b?t.translate:-t.translate:l=-n.currentTranslate,s.cssMode)return;if(t.params.freeMode&&s.freeMode.enabled){t.freeMode.onTouchEnd({currentPos:l});return}let c=0,f=t.slidesSizesGrid[0];for(let e=0;e<a.length;e+=e<s.slidesPerGroupSkip?1:s.slidesPerGroup){const t=e<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;typeof a[e+t]!="undefined"?l>=a[e]&&l<a[e+t]&&(c=e,f=a[e+t]-a[e]):l>=a[e]&&(c=e,f=a[a.length-1]-a[a.length-2])}let m=null,d=null;s.rewind&&(t.isBeginning?d=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(m=0));const h=(l-a[c])/f,u=c<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(g>s.longSwipesMs){if(!s.longSwipes){t.slideTo(t.activeIndex);return}t.swipeDirection==="next"&&(h>=s.longSwipesRatio?t.slideTo(s.rewind&&t.isEnd?m:c+u):t.slideTo(c)),t.swipeDirection==="prev"&&(h>1-s.longSwipesRatio?t.slideTo(c+u):d!==null&&h<0&&Math.abs(h)>s.longSwipesRatio?t.slideTo(d):t.slideTo(c))}else{if(!s.shortSwipes){t.slideTo(t.activeIndex);return}const e=t.navigation&&(i.target===t.navigation.nextEl||i.target===t.navigation.prevEl);e?i.target===t.navigation.nextEl?t.slideTo(c+u):t.slideTo(c):(t.swipeDirection==="next"&&t.slideTo(m!==null?m:c+u),t.swipeDirection==="prev"&&t.slideTo(d!==null?d:c))}}function k(){const e=this,{params:t,el:n}=e;if(n&&n.offsetWidth===0)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:o,snapGrid:i}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),(t.slidesPerView==="auto"||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=o,e.allowSlideNext=s,e.params.watchOverflow&&i!==e.snapGrid&&e.checkOverflow()}function it(e){const t=this;if(!t.enabled)return;t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function at(){const e=this,{wrapperEl:n,rtlTranslate:o,enabled:i}=e;if(!i)return;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-n.scrollLeft:e.translate=-n.scrollTop,e.translate===-0&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();let t;const s=e.maxTranslate()-e.minTranslate();s===0?t=0:t=(e.translate-e.minTranslate())/s,t!==e.progress&&e.updateProgress(o?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let E=!1;function ct(){}const L=(e,t)=>{const l=n(),{params:i,touchEvents:s,el:a,wrapperEl:h,device:d,support:r}=e,c=!!i.nested,o=t==="on"?"addEventListener":"removeEventListener",u=t;if(r.touch){const t=!!(s.start==="touchstart"&&r.passiveListener&&i.passiveListeners)&&{passive:!0,capture:!1};a[o](s.start,e.onTouchStart,t),a[o](s.move,e.onTouchMove,r.passiveListener?{passive:!1,capture:c}:c),a[o](s.end,e.onTouchEnd,t),s.cancel&&a[o](s.cancel,e.onTouchEnd,t)}else a[o](s.start,e.onTouchStart,!1),l[o](s.move,e.onTouchMove,c),l[o](s.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&a[o]("click",e.onClick,!0),i.cssMode&&h[o]("scroll",e.onScroll),i.updateOnWindowResize?e[u](d.ios||d.android?"resize orientationchange observerUpdate":"resize observerUpdate",k,!0):e[u]("observerUpdate",k,!0)};function dt(){const e=this,t=n(),{params:s,support:o}=e;e.onTouchStart=tt.bind(e),e.onTouchMove=Y.bind(e),e.onTouchEnd=st.bind(e),s.cssMode&&(e.onScroll=at.bind(e)),e.onClick=it.bind(e),o.touch&&!E&&(t.addEventListener("touchstart",ct),E=!0),L(e,"on")}function ut(){const e=this;L(e,"off")}R={attachEvents:dt,detachEvents:ut};const H=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function ft(){const e=this,{activeIndex:p,initialized:c,loopedSlides:m=0,params:t,$el:a}=e,o=t.breakpoints;if(!o||o&&Object.keys(o).length===0)return;const i=e.getBreakpoint(o,e.params.breakpointsBase,e.el);if(!i||e.currentBreakpoint===i)return;const f=i in o?o[i]:0[0],n=f||e.originalParams,l=H(e,t),d=H(e,n),r=t.enabled;l&&!d?(a.removeClass(`${t.containerModifierClass}grid ${t.containerModifierClass}grid-column`),e.emitContainerClasses()):!l&&d&&(a.addClass(`${t.containerModifierClass}grid`),(n.grid.fill&&n.grid.fill==="column"||!n.grid.fill&&t.grid.fill==="column")&&a.addClass(`${t.containerModifierClass}grid-column`),e.emitContainerClasses());const u=n.direction&&n.direction!==t.direction,g=t.loop&&(n.slidesPerView!==t.slidesPerView||u);u&&c&&e.changeDirection(),s(e.params,n);const h=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),r&&!h?e.disable():!r&&h&&e.enable(),e.currentBreakpoint=i,e.emit("_beforeBreakpoint",n),g&&c&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(p-m+e.loopedSlides,0,!1)),e.emit("breakpoint",n)}function pt(e,n,s){if(n===0[0]&&(n="window"),!e||n==="container"&&!s)return 0[0];let o=!1;const a=t(),r=n==="window"?a.innerHeight:s.clientHeight,i=Object.keys(e).map(e=>{if(typeof e=="string"&&e.indexOf("@")===0){const t=parseFloat(e.substr(1)),n=r*t;return{value:n,point:e}}return{value:e,point:e}});i.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<i.length;e+=1){const{point:t,value:r}=i[e];n==="window"?a.matchMedia(`(min-width: ${r}px)`).matches&&(o=t):r<=s.clientWidth&&(o=t)}return o||"max"}C={setBreakpoint:ft,getBreakpoint:pt};function vt(e,t){const n=[];return e.forEach(e=>{typeof e=="object"?Object.keys(e).forEach(s=>{e[s]&&n.push(t+s)}):typeof e=="string"&&n.push(t+e)}),n}function bt(){const t=this,{classNames:n,params:e,rtl:o,$el:i,device:s,support:a}=t,r=vt(["initialized",e.direction,{"pointer-events":!a.touch},{"free-mode":t.params.freeMode&&e.freeMode.enabled},{autoheight:e.autoHeight},{rtl:o},{grid:e.grid&&e.grid.rows>1},{"grid-column":e.grid&&e.grid.rows>1&&e.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":e.cssMode},{centered:e.cssMode&&e.centeredSlides}],e.containerModifierClass);n.push(...r),i.addClass([...n].join(" ")),t.emitContainerClasses()}function jt(){const e=this,{$el:t,classNames:n}=e;t.removeClass(n.join(" ")),e.emitContainerClasses()}V={addClasses:bt,removeClasses:jt};function _t(n,s,o,i,a,r){const d=t();let c;function l(){r&&r()}const u=e(n).parent("picture")[0];!u&&(!n.complete||!a)?s?(c=new d.Image,c.onload=l,c.onerror=l,i&&(c.sizes=i),o&&(c.srcset=o),s&&(c.src=s)):l():l()}function wt(){const e=this;e.imagesToLoad=e.$el.find("img");function t(){if(typeof e=="undefined"||e===null||!e||e.destroyed)return;e.imagesLoaded!==0[0]&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady"))}for(let s=0;s<e.imagesToLoad.length;s+=1){const n=e.imagesToLoad[s];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}$={loadImage:_t,preloadImages:wt};function xt(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:s}=n;if(s){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+s*2;e.isLocked=e.size>n}else e.isLocked=e.snapGrid.length===1;n.allowSlideNext===!0&&(e.allowSlideNext=!e.isLocked),n.allowSlidePrev===!0&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}W={checkOverflow:xt},b={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:0[0],breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function kt(e,t){return function(o){o===0[0]&&(o={});const i=Object.keys(o)[0],a=o[i];if(typeof a!="object"||a===null){s(t,o);return}if(["navigation","pagination","scrollbar"].indexOf(i)>=0&&e[i]===!0&&(e[i]={auto:!0}),!(i in e&&"enabled"in a)){s(t,o);return}e[i]===!0&&(e[i]={enabled:!0}),typeof e[i]=="object"&&!("enabled"in e[i])&&(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),s(t,o)}}const v={eventsEmitter:ve,update:N,translate:z,transition:F,slide:M,loop:S,grabCursor:A,events:R,breakpoints:C,checkOverflow:W,classes:V,images:$},g={};class i{constructor(){let r,n;for(var l=arguments.length,a=new Array(l),c=0;c<l;c++)a[c]=arguments[c];if(a.length===1&&a[0].constructor&&Object.prototype.toString.call(a[0]).slice(8,-1)==="Object"?n=a[0]:[r,n]=a,n||(n={}),n=s({},n),r&&!n.el&&(n.el=r),n.el&&e(n.el).length>1){const t=[];return e(n.el).each(e=>{const o=s({},n,{el:e});t.push(new i(o))}),t}const t=this;t.__swiper__=!0,t.support=P(),t.device=ue({userAgent:n.userAgent}),t.browser=fe(),t.eventsListeners={},t.eventsAnyListeners=[],t.modules=[...t.__modules__],n.modules&&Array.isArray(n.modules)&&t.modules.push(...n.modules);const d={};t.modules.forEach(e=>{e({swiper:t,extendParams:kt(n,d),on:t.on.bind(t),once:t.once.bind(t),off:t.off.bind(t),emit:t.emit.bind(t)})});const u=s({},b,d);return t.params=s({},u,g,n),t.originalParams=s({},t.params),t.passedParams=s({},n),t.params&&t.params.on&&Object.keys(t.params.on).forEach(e=>{t.on(e,t.params.on[e])}),t.params&&t.params.onAny&&t.onAny(t.params.onAny),t.$=e,Object.assign(t,{enabled:t.params.enabled,el:r,classNames:[],slides:e(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return t.params.direction==="horizontal"},isVertical(){return t.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev,touchEvents:function(){const n=["touchstart","touchmove","touchend","touchcancel"],s=["pointerdown","pointermove","pointerup"];return t.touchEventsTouch={start:n[0],move:n[1],end:n[2],cancel:n[3]},t.touchEventsDesktop={start:s[0],move:s[1],end:s[2]},t.support.touch||!t.params.simulateTouch?t.touchEventsTouch:t.touchEventsDesktop}(),touchEventsData:{isTouched:0[0],isMoved:0[0],allowTouchCallbacks:0[0],touchStartTime:0[0],isScrolling:0[0],currentTranslate:0[0],startTranslate:0[0],allowThresholdMove:0[0],focusableElements:t.params.focusableElements,lastClickTime:o(),clickTimeout:0[0],velocities:[],allowMomentumBounce:0[0],isTouchEvent:0[0],startMoving:0[0]},allowClick:!0,allowTouchMove:t.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),t.emit("_swiper"),t.params.init&&t.init(),t}enable(){const e=this;if(e.enabled)return;e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable")}disable(){const e=this;if(!e.enabled)return;e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable")}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const s=n.minTranslate(),o=n.maxTranslate(),i=(o-s)*e+s;n.translateTo(i,typeof t=="undefined"?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>t.indexOf("swiper")===0||t.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return e.className.split(" ").filter(e=>e.indexOf("swiper-slide")===0||e.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each(n=>{const s=e.getSlideClasses(n);t.push({slideEl:n,classNames:s}),e.emit("_slideClass",n,s)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===0[0]&&(e="current"),t===0[0]&&(t=!1);const r=this,{params:c,slides:s,slidesGrid:o,slidesSizesGrid:l,size:i,activeIndex:n}=r;let a=1;if(c.centeredSlides){let e=s[n].swiperSlideSize,t;for(let o=n+1;o<s.length;o+=1)s[o]&&!t&&(e+=s[o].swiperSlideSize,a+=1,e>i&&(t=!0));for(let o=n-1;o>=0;o-=1)s[o]&&!t&&(e+=s[o].swiperSlideSize,a+=1,e>i&&(t=!0))}else if(e==="current")for(let e=n+1;e<s.length;e+=1){const r=t?o[e]+l[e]-o[n]<i:o[e]-o[n]<i;r&&(a+=1)}else for(let e=n-1;e>=0;e-=1){const t=o[n]-o[e]<i;t&&(a+=1)}return a}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:o,params:n}=e;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function s(){const t=e.rtlTranslate?e.translate*-1:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let t;e.params.freeMode&&e.params.freeMode.enabled?(s(),e.params.autoHeight&&e.updateAutoHeight()):((e.params.slidesPerView==="auto"||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?t=e.slideTo(e.slides.length-1,0,!1,!0):t=e.slideTo(e.activeIndex,0,!1,!0),t||s()),n.watchOverflow&&o!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===0[0]&&(t=!0);const n=this,s=n.params.direction;return e||(e=s==="horizontal"?"vertical":"horizontal"),e===s||e!=="horizontal"&&e!=="vertical"?n:(n.$el.removeClass(`${n.params.containerModifierClass}${s}`).addClass(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.each(t=>{e==="vertical"?t.style.width="":t.style.height=""}),n.emit("changeDirection"),t&&n.update(),n)}mount(t){const s=this;if(s.mounted)return!0;const o=e(t||s.params.el);if(t=o[0],!t)return!1;t.swiper=s;const a=()=>`.${(s.params.wrapperClass||"").trim().split(" ").join(".")}`,r=()=>{if(t&&t.shadowRoot&&t.shadowRoot.querySelector){const n=e(t.shadowRoot.querySelector(a()));return n.children=e=>o.children(e),n}return o.children(a())};let i=r();if(i.length===0&&s.params.createElements){const a=n(),t=a.createElement("div");i=e(t),t.className=s.params.wrapperClass,o.append(t),o.children(`.${s.params.slideClass}`).each(e=>{i.append(e)})}return Object.assign(s,{$el:o,el:t,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:t.dir.toLowerCase()==="rtl"||o.css("direction")==="rtl",rtlTranslate:s.params.direction==="horizontal"&&(t.dir.toLowerCase()==="rtl"||o.css("direction")==="rtl"),wrongRTL:i.css("display")==="-webkit-box"}),!0}init(e){const t=this;if(t.initialized)return t;const n=t.mount(e);return n===!1?t:(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit"),t)}destroy(e,t){e===0[0]&&(e=!0),t===0[0]&&(t=!0);const n=this,{params:s,$el:i,$wrapperEl:a,slides:o}=n;return typeof n.params=="undefined"||n.destroyed?null:(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),s.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),a.removeAttr("style"),o&&o.length&&o.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),e!==!1&&(n.$el[0].swiper=null,X(n)),n.destroyed=!0,null)}static extendDefaults(e){s(g,e)}static get extendedDefaults(){return g}static get defaults(){return b}static installModule(e){i.prototype.__modules__||(i.prototype.__modules__=[]);const t=i.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>i.installModule(e)),i):(i.installModule(e),i)}}Object.keys(v).forEach(e=>{Object.keys(v[e]).forEach(t=>{i.prototype[t]=v[e][t]})}),i.use([pe,ge]);function Ft(t){let{swiper:n,extendParams:c,on:o,emit:i}=t;c({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let a;n.virtual={cache:{},from:0[0],to:0[0],slides:[],offset:0,slidesGrid:[]};function r(t,s){const o=n.params.virtual;if(o.cache&&n.virtual.cache[s])return n.virtual.cache[s];const i=e(o.renderSlide?o.renderSlide.call(n,t,s):`<div class="${n.params.slideClass}" data-swiper-slide-index="${s}">${t}</div>`);return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",s),o.cache&&(n.virtual.cache[s]=i),i}function s(e){const{slidesPerView:h,slidesPerGroup:c,centeredSlides:O}=n.params,{addSlidesBefore:b,addSlidesAfter:v}=n.params.virtual,{from:u,to:d,slides:o,slidesGrid:_,offset:w}=n.virtual;n.params.cssMode||n.updateActiveIndex();const g=n.activeIndex||0;let l;n.rtlTranslate?l="right":l=n.isHorizontal()?"left":"top";let m,f;O?(m=Math.floor(h/2)+c+v,f=Math.floor(h/2)+c+b):(m=h+(c-1)+v,f=c+b);const t=Math.max((g||0)-f,0),s=Math.min((g||0)+m,o.length-1),a=(n.slidesGrid[t]||0)-(n.slidesGrid[0]||0);Object.assign(n.virtual,{from:t,to:s,offset:a,slidesGrid:n.slidesGrid});function j(){n.updateSlides(),n.updateProgress(),n.updateSlidesClasses(),n.lazy&&n.params.lazy.enabled&&n.lazy.load(),i("virtualUpdate")}if(u===t&&d===s&&!e){n.slidesGrid!==_&&a!==w&&n.slides.css(l,`${a}px`),n.updateProgress(),i("virtualUpdate");return}if(n.params.virtual.renderExternal){n.params.virtual.renderExternal.call(n,{offset:a,from:t,to:s,slides:function(){const n=[];for(let e=t;e<=s;e+=1)n.push(o[e]);return n}()}),n.params.virtual.renderExternalUpdate?j():i("virtualUpdate");return}const y=[],p=[];if(e)n.$wrapperEl.find(`.${n.params.slideClass}`).remove();else for(let e=u;e<=d;e+=1)(e<t||e>s)&&n.$wrapperEl.find(`.${n.params.slideClass}[data-swiper-slide-index="${e}"]`).remove();for(let n=0;n<o.length;n+=1)n>=t&&n<=s&&(typeof d=="undefined"||e?p.push(n):(n>d&&p.push(n),n<u&&y.push(n)));p.forEach(e=>{n.$wrapperEl.append(r(o[e],e))}),y.sort((e,t)=>t-e).forEach(e=>{n.$wrapperEl.prepend(r(o[e],e))}),n.$wrapperEl.children(".swiper-slide").css(l,`${a}px`),j()}function l(e){if(typeof e=="object"&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&n.virtual.slides.push(e[t]);else n.virtual.slides.push(e);s(!0)}function d(e){const o=n.activeIndex;let i=o+1,t=1;if(Array.isArray(e)){for(let t=0;t<e.length;t+=1)e[t]&&n.virtual.slides.unshift(e[t]);i=o+e.length,t=e.length}else n.virtual.slides.unshift(e);if(n.params.virtual.cache){const e=n.virtual.cache,s={};Object.keys(e).forEach(n=>{const o=e[n],i=o.attr("data-swiper-slide-index");i&&o.attr("data-swiper-slide-index",parseInt(i,10)+t),s[parseInt(n,10)+t]=o}),n.virtual.cache=s}s(!0),n.slideTo(i,0)}function u(e){if(typeof e=="undefined"||e===null)return;let t=n.activeIndex;if(Array.isArray(e))for(let s=e.length-1;s>=0;s-=1)n.virtual.slides.splice(e[s],1),n.params.virtual.cache&&delete n.virtual.cache[e[s]],e[s]<t&&(t-=1),t=Math.max(t,0);else n.virtual.slides.splice(e,1),n.params.virtual.cache&&delete n.virtual.cache[e],e<t&&(t-=1),t=Math.max(t,0);s(!0),n.slideTo(t,0)}function h(){n.virtual.slides=[],n.params.virtual.cache&&(n.virtual.cache={}),s(!0),n.slideTo(0,0)}o("beforeInit",()=>{if(!n.params.virtual.enabled)return;n.virtual.slides=n.params.virtual.slides,n.classNames.push(`${n.params.containerModifierClass}virtual`),n.params.watchSlidesProgress=!0,n.originalParams.watchSlidesProgress=!0,n.params.initialSlide||s()}),o("setTranslate",()=>{if(!n.params.virtual.enabled)return;n.params.cssMode&&!n._immediateVirtual?(clearTimeout(a),a=setTimeout(()=>{s()},100)):s()}),o("init update resize",()=>{if(!n.params.virtual.enabled)return;n.params.cssMode&&m(n.wrapperEl,"--swiper-virtual-size",`${n.virtualSize}px`)}),Object.assign(n.virtual,{appendSlide:l,prependSlide:d,removeSlide:u,removeAllSlides:h,update:s})}function Tt(s){let{swiper:o,extendParams:u,on:a,emit:h}=s;const i=n(),r=t();o.keyboard={enabled:!1},u({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function c(e){if(!o.enabled)return;const{rtlTranslate:c}=o;let t=e;t.originalEvent&&(t=t.originalEvent);const n=t.keyCode||t.charCode,f=o.params.keyboard.pageUpDown,s=f&&n===33,a=f&&n===34,l=n===37,d=n===39,u=n===38,m=n===40;if(!o.allowSlideNext&&(o.isHorizontal()&&d||o.isVertical()&&m||a))return!1;if(!o.allowSlidePrev&&(o.isHorizontal()&&l||o.isVertical()&&u||s))return!1;if(t.shiftKey||t.altKey||t.ctrlKey||t.metaKey)return 0[0];if(i.activeElement&&i.activeElement.nodeName&&(i.activeElement.nodeName.toLowerCase()==="input"||i.activeElement.nodeName.toLowerCase()==="textarea"))return 0[0];if(o.params.keyboard.onlyInViewport&&(s||a||l||d||u||m)){let t=!1;if(o.$el.parents(`.${o.params.slideClass}`).length>0&&o.$el.parents(`.${o.params.slideActiveClass}`).length===0)return 0[0];const n=o.$el,s=n[0].clientWidth,i=n[0].clientHeight,l=r.innerWidth,d=r.innerHeight,e=o.$el.offset();c&&(e.left-=o.$el[0].scrollLeft);const a=[[e.left,e.top],[e.left+s,e.top],[e.left,e.top+i],[e.left+s,e.top+i]];for(let n=0;n<a.length;n+=1){const e=a[n];if(e[0]>=0&&e[0]<=l&&e[1]>=0&&e[1]<=d){if(e[0]===0&&e[1]===0)continue;t=!0}}if(!t)return 0[0]}return o.isHorizontal()?((s||a||l||d)&&(t.preventDefault?t.preventDefault():t.returnValue=!1),((a||d)&&!c||(s||l)&&c)&&o.slideNext(),((s||l)&&!c||(a||d)&&c)&&o.slidePrev()):((s||a||u||m)&&(t.preventDefault?t.preventDefault():t.returnValue=!1),(a||m)&&o.slideNext(),(s||u)&&o.slidePrev()),h("keyPress",n)}function l(){if(o.keyboard.enabled)return;e(i).on("keydown",c),o.keyboard.enabled=!0}function d(){if(!o.keyboard.enabled)return;e(i).off("keydown",c),o.keyboard.enabled=!1}a("init",()=>{o.params.keyboard.enabled&&l()}),a("destroy",()=>{o.keyboard.enabled&&d()}),Object.assign(o.keyboard,{enable:l,disable:d})}function zt(n){let{swiper:s,extendParams:w,on:g,emit:u}=n;const _=t();w({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),s.mousewheel={enabled:!1};let c,m=o(),a;const i=[];function j(e){const i=10,a=40,r=800;let o=0,s=0,t=0,n=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(o=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(o=s,s=0),t=o*i,n=s*i,"deltaY"in e&&(n=e.deltaY),"deltaX"in e&&(t=e.deltaX),e.shiftKey&&!t&&(t=n,n=0),(t||n)&&e.deltaMode&&(e.deltaMode===1?(t*=a,n*=a):(t*=r,n*=r)),t&&!o&&(o=t<1?-1:1),n&&!s&&(s=n<1?-1:1),{spinX:o,spinY:s,pixelX:t,pixelY:n}}function v(){if(!s.enabled)return;s.mouseEntered=!0}function b(){if(!s.enabled)return;s.mouseEntered=!1}function f(e){return!(s.params.mousewheel.thresholdDelta&&e.delta<s.params.mousewheel.thresholdDelta)&&!(s.params.mousewheel.thresholdTime&&o()-m<s.params.mousewheel.thresholdTime)&&(e.delta>=6&&o()-m<60||(e.direction<0?(!s.isEnd||s.params.loop)&&!s.animating&&(s.slideNext(),u("scroll",e.raw)):(!s.isBeginning||s.params.loop)&&!s.animating&&(s.slidePrev(),u("scroll",e.raw)),m=(new _.Date).getTime(),!1))}function y(e){const t=s.params.mousewheel;if(e.direction<0){if(s.isEnd&&!s.params.loop&&t.releaseOnEdges)return!0}else if(s.isBeginning&&!s.params.loop&&t.releaseOnEdges)return!0;return!1}function h(t){let l=t,p=!0;if(!s.enabled)return;const m=s.params.mousewheel;s.params.cssMode&&l.preventDefault();let g=s.$el;if(s.params.mousewheel.eventsTarget!=="container"&&(g=e(s.params.mousewheel.eventsTarget)),!s.mouseEntered&&!g[0].contains(l.target)&&!m.releaseOnEdges)return!0;l.originalEvent&&(l=l.originalEvent);let n=0;const v=s.rtlTranslate?-1:1,d=j(l);if(m.forceToAxis)if(s.isHorizontal())if(Math.abs(d.pixelX)>Math.abs(d.pixelY))n=-d.pixelX*v;else return!0;else if(Math.abs(d.pixelY)>Math.abs(d.pixelX))n=-d.pixelY;else return!0;else n=Math.abs(d.pixelX)>Math.abs(d.pixelY)?-d.pixelX*v:-d.pixelY;if(n===0)return!0;m.invert&&(n=-n);let h=s.getTranslate()+n*m.sensitivity;if(h>=s.minTranslate()&&(h=s.minTranslate()),h<=s.maxTranslate()&&(h=s.maxTranslate()),p=!!s.params.loop||h!==s.minTranslate()&&h!==s.maxTranslate(),p&&s.params.nested&&l.stopPropagation(),!s.params.freeMode||!s.params.freeMode.enabled){{const e={time:o(),delta:Math.abs(n),direction:Math.sign(n),raw:t};i.length>=2&&i.shift();const s=i.length?i[i.length-1]:0[0];if(i.push(e),s?(e.direction!==s.direction||e.delta>s.delta||e.time>s.time+150)&&f(e):f(e),y(e))return!0}}else{const e={time:o(),delta:Math.abs(n),direction:Math.sign(n)},t=a&&e.time<a.time+500&&e.delta<=a.delta&&e.direction===a.direction;if(!t){a=0[0],s.params.loop&&s.loopFix();let o=s.getTranslate()+n*m.sensitivity;const d=s.isBeginning,h=s.isEnd;if(o>=s.minTranslate()&&(o=s.minTranslate()),o<=s.maxTranslate()&&(o=s.maxTranslate()),s.setTransition(0),s.setTranslate(o),s.updateProgress(),s.updateActiveIndex(),s.updateSlidesClasses(),(!d&&s.isBeginning||!h&&s.isEnd)&&s.updateSlidesClasses(),s.params.freeMode.sticky){clearTimeout(c),c=0[0],i.length>=15&&i.shift();const t=i.length?i[i.length-1]:0[0],o=i[0];if(i.push(e),t&&(e.delta>t.delta||e.direction!==t.direction))i.splice(0);else if(i.length>=15&&e.time-o.time<500&&o.delta-e.delta>=1&&e.delta<=6){const t=n>0?.8:.2;a=e,i.splice(0),c=r(()=>{s.slideToClosest(s.params.speed,!0,0[0],t)},0)}c||(c=r(()=>{const t=.5;a=e,i.splice(0),s.slideToClosest(s.params.speed,!0,0[0],t)},500))}if(t||u("scroll",l),s.params.autoplay&&s.params.autoplayDisableOnInteraction&&s.autoplay.stop(),o===s.minTranslate()||o===s.maxTranslate())return!0}}return l.preventDefault?l.preventDefault():l.returnValue=!1,!1}function p(t){let n=s.$el;s.params.mousewheel.eventsTarget!=="container"&&(n=e(s.params.mousewheel.eventsTarget)),n[t]("mouseenter",v),n[t]("mouseleave",b),n[t]("wheel",h)}function d(){return s.params.cssMode?(s.wrapperEl.removeEventListener("wheel",h),!0):!s.mousewheel.enabled&&(p("on"),s.mousewheel.enabled=!0,!0)}function l(){return s.params.cssMode?(s.wrapperEl.addEventListener(event,h),!0):!!s.mousewheel.enabled&&(p("off"),s.mousewheel.enabled=!1,!0)}g("init",()=>{!s.params.mousewheel.enabled&&s.params.cssMode&&l(),s.params.mousewheel.enabled&&d()}),g("destroy",()=>{s.params.cssMode&&d(),s.mousewheel.enabled&&l()}),Object.assign(s.mousewheel,{enable:d,disable:l})}function y(e,t,s,o){const i=n();return e.params.createElements&&Object.keys(o).forEach(n=>{if(!s[n]&&s.auto===!0){let a=e.$el.children(`.${o[n]}`)[0];a||(a=i.createElement("div"),a.className=o[n],e.$el.append(a)),s[n]=a,t[n]=a}}),s}function Nt(t){let{swiper:n,extendParams:h,on:s,emit:i}=t;h({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}}),n.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null};function a(t){let s;return t&&(s=e(t),n.params.uniqueNavElements&&typeof t=="string"&&s.length>1&&n.$el.find(t).length===1&&(s=n.$el.find(t))),s}function r(e,t){const s=n.params.navigation;e&&e.length>0&&(e[t?"addClass":"removeClass"](s.disabledClass),e[0]&&e[0].tagName==="BUTTON"&&(e[0].disabled=t),n.params.watchOverflow&&n.enabled&&e[n.isLocked?"addClass":"removeClass"](s.lockClass))}function o(){if(n.params.loop)return;const{$nextEl:e,$prevEl:t}=n.navigation;r(t,n.isBeginning&&!n.params.rewind),r(e,n.isEnd&&!n.params.rewind)}function c(e){if(e.preventDefault(),n.isBeginning&&!n.params.loop&&!n.params.rewind)return;n.slidePrev()}function l(e){if(e.preventDefault(),n.isEnd&&!n.params.loop&&!n.params.rewind)return;n.slideNext()}function d(){const s=n.params.navigation;if(n.params.navigation=y(n,n.originalParams.navigation,n.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!s.nextEl&&!s.prevEl)return;const e=a(s.nextEl),t=a(s.prevEl);e&&e.length>0&&e.on("click",l),t&&t.length>0&&t.on("click",c),Object.assign(n.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}),n.enabled||(e&&e.addClass(s.lockClass),t&&t.addClass(s.lockClass))}function u(){const{$nextEl:e,$prevEl:t}=n.navigation;e&&e.length&&(e.off("click",l),e.removeClass(n.params.navigation.disabledClass)),t&&t.length&&(t.off("click",c),t.removeClass(n.params.navigation.disabledClass))}s("init",()=>{d(),o()}),s("toEdge fromEdge lock unlock",()=>{o()}),s("destroy",()=>{u()}),s("enable disable",()=>{const{$nextEl:e,$prevEl:t}=n.navigation;e&&e[n.enabled?"removeClass":"addClass"](n.params.navigation.lockClass),t&&t[n.enabled?"removeClass":"addClass"](n.params.navigation.lockClass)}),s("click",(t,s)=>{const{$nextEl:o,$prevEl:a}=n.navigation,r=s.target;if(n.params.navigation.hideOnClick&&!e(r).is(a)&&!e(r).is(o)){if(n.pagination&&n.params.pagination&&n.params.pagination.clickable&&(n.pagination.el===r||n.pagination.el.contains(r)))return;let e;o?e=o.hasClass(n.params.navigation.hiddenClass):a&&(e=a.hasClass(n.params.navigation.hiddenClass)),i(e===!0?"navigationShow":"navigationHide"),o&&o.toggleClass(n.params.navigation.hiddenClass),a&&a.toggleClass(n.params.navigation.hiddenClass)}}),Object.assign(n.navigation,{update:o,init:d,destroy:u})}function a(e){return e===0[0]&&(e=""),`.${e.trim().replace(/([.:!/])/g,"\\$1").replace(/ /g,".")}`}function Rt(t){let{swiper:n,extendParams:p,on:o,emit:d}=t;const s="swiper-pagination";p({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`}}),n.pagination={el:null,$el:null,bullets:[]};let l,r=0;function h(){return!n.params.pagination.el||!n.pagination.el||!n.pagination.$el||n.pagination.$el.length===0}function c(e,t){const{bulletActiveClass:s}=n.params.pagination;e[t]().addClass(`${s}-${t}`)[t]().addClass(`${s}-${t}-${t}`)}function i(){const m=n.rtl,t=n.params.pagination;if(h())return;const u=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.slides.length,o=n.pagination.$el;let s;const i=n.params.loop?Math.ceil((u-n.loopedSlides*2)/n.params.slidesPerGroup):n.snapGrid.length;if(n.params.loop?(s=Math.ceil((n.activeIndex-n.loopedSlides)/n.params.slidesPerGroup),s>u-1-n.loopedSlides*2&&(s-=u-n.loopedSlides*2),s>i-1&&(s-=i),s<0&&n.params.paginationType!=="bullets"&&(s=i+s)):typeof n.snapIndex!="undefined"?s=n.snapIndex:s=n.activeIndex||0,t.type==="bullets"&&n.pagination.bullets&&n.pagination.bullets.length>0){const i=n.pagination.bullets;let a,d,u;if(t.dynamicBullets&&(l=i.eq(0)[n.isHorizontal()?"outerWidth":"outerHeight"](!0),o.css(n.isHorizontal()?"width":"height",`${l*(t.dynamicMainBullets+4)}px`),t.dynamicMainBullets>1&&n.previousIndex!==0[0]&&(r+=s-(n.previousIndex-n.loopedSlides||0),r>t.dynamicMainBullets-1?r=t.dynamicMainBullets-1:r<0&&(r=0)),a=Math.max(s-r,0),d=a+(Math.min(i.length,t.dynamicMainBullets)-1),u=(d+a)/2),i.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${t.bulletActiveClass}${e}`).join(" ")),o.length>1)i.each(n=>{const o=e(n),i=o.index();i===s&&o.addClass(t.bulletActiveClass),t.dynamicBullets&&(i>=a&&i<=d&&o.addClass(`${t.bulletActiveClass}-main`),i===a&&c(o,"prev"),i===d&&c(o,"next"))});else{const e=i.eq(s),o=e.index();if(e.addClass(t.bulletActiveClass),t.dynamicBullets){const e=i.eq(a),s=i.eq(d);for(let e=a;e<=d;e+=1)i.eq(e).addClass(`${t.bulletActiveClass}-main`);if(n.params.loop)if(o>=i.length){for(let e=t.dynamicMainBullets;e>=0;e-=1)i.eq(i.length-e).addClass(`${t.bulletActiveClass}-main`);i.eq(i.length-t.dynamicMainBullets-1).addClass(`${t.bulletActiveClass}-prev`)}else c(e,"prev"),c(s,"next");else c(e,"prev"),c(s,"next")}}if(t.dynamicBullets){const e=Math.min(i.length,t.dynamicMainBullets+4),s=(l*e-l)/2-u*l,o=m?"right":"left";i.css(n.isHorizontal()?o:"top",`${s}px`)}}if(t.type==="fraction"&&(o.find(a(t.currentClass)).text(t.formatFractionCurrent(s+1)),o.find(a(t.totalClass)).text(t.formatFractionTotal(i))),t.type==="progressbar"){let e;t.progressbarOpposite?e=n.isHorizontal()?"vertical":"horizontal":e=n.isHorizontal()?"horizontal":"vertical";const r=(s+1)/i;let c=1,l=1;e==="horizontal"?c=r:l=r,o.find(a(t.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${c}) scaleY(${l})`).transition(n.params.speed)}t.type==="custom"&&t.renderCustom?(o.html(t.renderCustom(n,s+1,i)),d("paginationRender",o[0])):d("paginationUpdate",o[0]),n.params.watchOverflow&&n.enabled&&o[n.isLocked?"addClass":"removeClass"](t.lockClass)}function u(){const e=n.params.pagination;if(h())return;const o=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.slides.length,s=n.pagination.$el;let t="";if(e.type==="bullets"){let i=n.params.loop?Math.ceil((o-n.loopedSlides*2)/n.params.slidesPerGroup):n.snapGrid.length;n.params.freeMode&&n.params.freeMode.enabled&&!n.params.loop&&i>o&&(i=o);for(let s=0;s<i;s+=1)e.renderBullet?t+=e.renderBullet.call(n,s,e.bulletClass):t+=`<${e.bulletElement} class="${e.bulletClass}"></${e.bulletElement}>`;s.html(t),n.pagination.bullets=s.find(a(e.bulletClass))}e.type==="fraction"&&(e.renderFraction?t=e.renderFraction.call(n,e.currentClass,e.totalClass):t=`<span class="${e.currentClass}"></span>`+" / "+`<span class="${e.totalClass}"></span>`,s.html(t)),e.type==="progressbar"&&(e.renderProgressbar?t=e.renderProgressbar.call(n,e.progressbarFillClass):t=`<span class="${e.progressbarFillClass}"></span>`,s.html(t)),e.type!=="custom"&&d("paginationRender",n.pagination.$el[0])}function m(){n.params.pagination=y(n,n.originalParams.pagination,n.params.pagination,{el:"swiper-pagination"});const t=n.params.pagination;if(!t.el)return;let s=e(t.el);if(s.length===0)return;n.params.uniqueNavElements&&typeof t.el=="string"&&s.length>1&&(s=n.$el.find(t.el),s.length>1&&(s=s.filter(t=>e(t).parents(".swiper")[0]===n.el))),t.type==="bullets"&&t.clickable&&s.addClass(t.clickableClass),s.addClass(t.modifierClass+t.type),s.addClass(n.isHorizontal()?t.horizontalClass:t.verticalClass),t.type==="bullets"&&t.dynamicBullets&&(s.addClass(`${t.modifierClass}${t.type}-dynamic`),r=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),t.type==="progressbar"&&t.progressbarOpposite&&s.addClass(t.progressbarOppositeClass),t.clickable&&s.on("click",a(t.bulletClass),function(s){s.preventDefault();let o=e(this).index()*n.params.slidesPerGroup;n.params.loop&&(o+=n.loopedSlides),n.slideTo(o)}),Object.assign(n.pagination,{$el:s,el:s[0]}),n.enabled||s.addClass(t.lockClass)}function f(){const e=n.params.pagination;if(h())return;const t=n.pagination.$el;t.removeClass(e.hiddenClass),t.removeClass(e.modifierClass+e.type),t.removeClass(n.isHorizontal()?e.horizontalClass:e.verticalClass),n.pagination.bullets&&n.pagination.bullets.removeClass&&n.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&t.off("click",a(e.bulletClass))}o("init",()=>{m(),u(),i()}),o("activeIndexChange",()=>{n.params.loop?i():typeof n.snapIndex=="undefined"&&i()}),o("snapIndexChange",()=>{n.params.loop||i()}),o("slidesLengthChange",()=>{n.params.loop&&(u(),i())}),o("snapGridLengthChange",()=>{n.params.loop||(u(),i())}),o("destroy",()=>{f()}),o("enable disable",()=>{const{$el:e}=n.pagination;e&&e[n.enabled?"removeClass":"addClass"](n.params.pagination.lockClass)}),o("lock unlock",()=>{i()}),o("click",(t,s)=>{const o=s.target,{$el:i}=n.pagination;if(n.params.pagination.el&&n.params.pagination.hideOnClick&&i.length>0&&!e(o).hasClass(n.params.pagination.bulletClass)){if(n.navigation&&(n.navigation.nextEl&&o===n.navigation.nextEl||n.navigation.prevEl&&o===n.navigation.prevEl))return;const e=i.hasClass(n.params.pagination.hiddenClass);d(e===!0?"paginationShow":"paginationHide"),i.toggleClass(n.params.pagination.hiddenClass)}}),Object.assign(n.pagination,{render:u,update:i,init:m,destroy:f})}function Pt(t){let{swiper:s,extendParams:A,on:a,emit:u}=t;const O=n();let c=!1,p=null,m=null,f,o,i,l;A({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}}),s.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null};function h(){if(!s.params.scrollbar.el||!s.scrollbar.el)return;const{scrollbar:r,rtlTranslate:c,progress:l}=s,{$dragEl:n,$el:a}=r,d=s.params.scrollbar;let t=o,e=(i-o)*l;c?(e=-e,e>0?(t=o-e,e=0):-e+o>i&&(t=i+e)):e<0?(t=o+e,e=0):e+o>i&&(t=i-e),s.isHorizontal()?(n.transform(`translate3d(${e}px, 0, 0)`),n[0].style.width=`${t}px`):(n.transform(`translate3d(0px, ${e}px, 0)`),n[0].style.height=`${t}px`),d.hide&&(clearTimeout(p),a[0].style.opacity=1,p=setTimeout(()=>{a[0].style.opacity=0,a.transition(400)},1e3))}function S(e){if(!s.params.scrollbar.el||!s.scrollbar.el)return;s.scrollbar.$dragEl.transition(e)}function d(){if(!s.params.scrollbar.el||!s.scrollbar.el)return;const{scrollbar:n}=s,{$dragEl:t,$el:e}=n;t[0].style.width="",t[0].style.height="",i=s.isHorizontal()?e[0].offsetWidth:e[0].offsetHeight,l=s.size/(s.virtualSize+s.params.slidesOffsetBefore-(s.params.centeredSlides?s.snapGrid[0]:0)),s.params.scrollbar.dragSize==="auto"?o=i*l:o=parseInt(s.params.scrollbar.dragSize,10),s.isHorizontal()?t[0].style.width=`${o}px`:t[0].style.height=`${o}px`,l>=1?e[0].style.display="none":e[0].style.display="",s.params.scrollbar.hide&&(e[0].style.opacity=0),s.params.watchOverflow&&s.enabled&&n.$el[s.isLocked?"addClass":"removeClass"](s.params.scrollbar.lockClass)}function j(e){return s.isHorizontal()?e.type==="touchstart"||e.type==="touchmove"?e.targetTouches[0].clientX:e.clientX:e.type==="touchstart"||e.type==="touchmove"?e.targetTouches[0].clientY:e.clientY}function _(e){const{scrollbar:a,rtlTranslate:r}=s,{$el:c}=a;let t;t=(j(e)-c.offset()[s.isHorizontal()?"left":"top"]-(f!==null?f:o/2))/(i-o),t=Math.max(Math.min(t,1),0),r&&(t=1-t);const n=s.minTranslate()+(s.maxTranslate()-s.minTranslate())*t;s.updateProgress(n),s.setTranslate(n),s.updateActiveIndex(),s.updateSlidesClasses()}function w(e){const o=s.params.scrollbar,{scrollbar:i,$wrapperEl:a}=s,{$el:n,$dragEl:t}=i;c=!0,f=e.target===t[0]||e.target===t?j(e)-e.target.getBoundingClientRect()[s.isHorizontal()?"left":"top"]:null,e.preventDefault(),e.stopPropagation(),a.transition(100),t.transition(100),_(e),clearTimeout(m),n.transition(0),o.hide&&n.css("opacity",1),s.params.cssMode&&s.$wrapperEl.css("scroll-snap-type","none"),u("scrollbarDragStart",e)}function g(e){const{scrollbar:t,$wrapperEl:n}=s,{$el:o,$dragEl:i}=t;if(!c)return;e.preventDefault?e.preventDefault():e.returnValue=!1,_(e),n.transition(0),o.transition(0),i.transition(0),u("scrollbarDragMove",e)}function x(e){const t=s.params.scrollbar,{scrollbar:o,$wrapperEl:i}=s,{$el:n}=o;if(!c)return;c=!1,s.params.cssMode&&(s.$wrapperEl.css("scroll-snap-type",""),i.transition("")),t.hide&&(clearTimeout(m),m=r(()=>{n.css("opacity",0),n.transition(400)},1e3)),u("scrollbarDragEnd",e),t.snapOnRelease&&s.slideToClosest()}function C(e){const{scrollbar:d,touchEventsTouch:i,touchEventsDesktop:a,params:c,support:r}=s,u=d.$el,n=u[0],o=!!(r.passiveListener&&c.passiveListeners)&&{passive:!1,capture:!1},l=!!(r.passiveListener&&c.passiveListeners)&&{passive:!0,capture:!1};if(!n)return;const t=e==="on"?"addEventListener":"removeEventListener";r.touch?(n[t](i.start,w,o),n[t](i.move,g,o),n[t](i.end,x,l)):(n[t](a.start,w,o),O[t](a.move,g,o),O[t](a.end,x,l))}function E(){if(!s.params.scrollbar.el)return;C("on")}function k(){if(!s.params.scrollbar.el)return;C("off")}function b(){const{scrollbar:a,$el:i}=s;s.params.scrollbar=y(s,s.originalParams.scrollbar,s.params.scrollbar,{el:"swiper-scrollbar"});const n=s.params.scrollbar;if(!n.el)return;let t=e(n.el);s.params.uniqueNavElements&&typeof n.el=="string"&&t.length>1&&i.find(n.el).length===1&&(t=i.find(n.el));let o=t.find(`.${s.params.scrollbar.dragClass}`);o.length===0&&(o=e(`<div class="${s.params.scrollbar.dragClass}"></div>`),t.append(o)),Object.assign(a,{$el:t,el:t[0],$dragEl:o,dragEl:o[0]}),n.draggable&&E(),t&&t[s.enabled?"removeClass":"addClass"](s.params.scrollbar.lockClass)}function v(){k()}a("init",()=>{b(),d(),h()}),a("update resize observerUpdate lock unlock",()=>{d()}),a("setTranslate",()=>{h()}),a("setTransition",(e,t)=>{S(t)}),a("enable disable",()=>{const{$el:e}=s.scrollbar;e&&e[s.enabled?"removeClass":"addClass"](s.params.scrollbar.lockClass)}),a("destroy",()=>{v()}),Object.assign(s.scrollbar,{updateSize:d,setTranslate:h,init:b,destroy:v})}function Ht(t){let{swiper:n,extendParams:a,on:s}=t;a({parallax:{enabled:!1}});const o=(t,s)=>{const{rtl:u}=n,a=e(t),l=u?-1:1,d=a.attr("data-swiper-parallax")||"0";let o=a.attr("data-swiper-parallax-x"),i=a.attr("data-swiper-parallax-y");const r=a.attr("data-swiper-parallax-scale"),c=a.attr("data-swiper-parallax-opacity");if(o||i?(o=o||"0",i=i||"0"):n.isHorizontal()?(o=d,i="0"):(i=d,o="0"),o.indexOf("%")>=0?o=`${parseInt(o,10)*s*l}%`:o=`${o*s*l}px`,i.indexOf("%")>=0?i=`${parseInt(i,10)*s}%`:i=`${i*s}px`,typeof c!="undefined"&&c!==null){const e=c-(c-1)*(1-Math.abs(s));a[0].style.opacity=e}if(typeof r=="undefined"||r===null)a.transform(`translate3d(${o}, ${i}, 0px)`);else{const e=r-(r-1)*(1-Math.abs(s));a.transform(`translate3d(${o}, ${i}, 0px) scale(${e})`)}},i=()=>{const{$el:s,slides:i,progress:t,snapGrid:a}=n;s.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(e=>{o(e,t)}),i.each((s,i)=>{let r=s.progress;n.params.slidesPerGroup>1&&n.params.slidesPerView!=="auto"&&(r+=Math.ceil(i/2)-t*(a.length-1)),r=Math.min(Math.max(r,-1),1),e(s).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(e=>{o(e,r)})})},r=function(t){t===0[0]&&(t=n.params.speed);const{$el:s}=n;s.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each(n=>{const s=e(n);let o=parseInt(s.attr("data-swiper-parallax-duration"),10)||t;t===0&&(o=0),s.transition(o)})};s("beforeInit",()=>{if(!n.params.parallax.enabled)return;n.params.watchSlidesProgress=!0,n.originalParams.watchSlidesProgress=!0}),s("init",()=>{if(!n.params.parallax.enabled)return;i()}),s("setTranslate",()=>{if(!n.params.parallax.enabled)return;i()}),s("setTransition",(e,t)=>{if(!n.params.parallax.enabled)return;r(t)})}function It(n){let{swiper:o,extendParams:T,on:r,emit:z}=n;const _=t();T({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),o.zoom={enabled:!1};let c=1,v=!1,u,h,m;const i={$slideEl:0[0],slideWidth:0[0],slideHeight:0[0],$imageEl:0[0],$imageWrapEl:0[0],maxRatio:3},s={isTouched:0[0],isMoved:0[0],currentX:0[0],currentY:0[0],minX:0[0],minY:0[0],maxX:0[0],maxY:0[0],width:0[0],height:0[0],startX:0[0],startY:0[0],touchesStart:{},touchesCurrent:{}},a={x:0[0],y:0[0],prevPositionX:0[0],prevPositionY:0[0],prevTime:0[0]};let g=1;Object.defineProperty(o.zoom,"scale",{get(){return g},set(e){if(g!==e){const t=i.$imageEl?i.$imageEl[0]:0[0],n=i.$slideEl?i.$slideEl[0]:0[0];z("zoomChange",e,t,n)}g=e}});function F(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,n=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,o=e.targetTouches[1].pageY,i=Math.sqrt((s-t)**2+(o-n)**2);return i}function d(t){const s=o.support,n=o.params.zoom;if(h=!1,m=!1,!s.gestures){if(t.type!=="touchstart"||t.type==="touchstart"&&t.targetTouches.length<2)return;h=!0,i.scaleStart=F(t)}if((!i.$slideEl||!i.$slideEl.length)&&(i.$slideEl=e(t.target).closest(`.${o.params.slideClass}`),i.$slideEl.length===0&&(i.$slideEl=o.slides.eq(o.activeIndex)),i.$imageEl=i.$slideEl.find(`.${n.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),i.$imageWrapEl=i.$imageEl.parent(`.${n.containerClass}`),i.maxRatio=i.$imageWrapEl.attr("data-swiper-zoom")||n.maxRatio,i.$imageWrapEl.length===0)){i.$imageEl=0[0];return}i.$imageEl&&i.$imageEl.transition(0),v=!0}function f(e){const s=o.support,n=o.params.zoom,t=o.zoom;if(!s.gestures){if(e.type!=="touchmove"||e.type==="touchmove"&&e.targetTouches.length<2)return;m=!0,i.scaleMove=F(e)}if(!i.$imageEl||i.$imageEl.length===0){e.type==="gesturechange"&&d(e);return}s.gestures?t.scale=e.scale*c:t.scale=i.scaleMove/i.scaleStart*c,t.scale>i.maxRatio&&(t.scale=i.maxRatio-1+(t.scale-i.maxRatio+1)**.5),t.scale<n.minRatio&&(t.scale=n.minRatio+1-(n.minRatio-t.scale+1)**.5),i.$imageEl.transform(`translate3d(0,0,0) scale(${t.scale})`)}function l(e){const n=o.device,s=o.support,a=o.params.zoom,t=o.zoom;if(!s.gestures){if(!h||!m)return;if(e.type!=="touchend"||e.type==="touchend"&&e.changedTouches.length<2&&!n.android)return;h=!1,m=!1}if(!i.$imageEl||i.$imageEl.length===0)return;t.scale=Math.max(Math.min(t.scale,i.maxRatio),a.minRatio),i.$imageEl.transition(o.params.speed).transform(`translate3d(0,0,0) scale(${t.scale})`),c=t.scale,v=!1,t.scale===1&&(i.$slideEl=0[0])}function N(e){const t=o.device;if(!i.$imageEl||i.$imageEl.length===0)return;if(s.isTouched)return;t.android&&e.cancelable&&e.preventDefault(),s.isTouched=!0,s.touchesStart.x=e.type==="touchstart"?e.targetTouches[0].pageX:e.pageX,s.touchesStart.y=e.type==="touchstart"?e.targetTouches[0].pageY:e.pageY}function O(e){const t=o.zoom;if(!i.$imageEl||i.$imageEl.length===0)return;if(o.allowClick=!1,!s.isTouched||!i.$slideEl)return;s.isMoved||(s.width=i.$imageEl[0].offsetWidth,s.height=i.$imageEl[0].offsetHeight,s.startX=j(i.$imageWrapEl[0],"x")||0,s.startY=j(i.$imageWrapEl[0],"y")||0,i.slideWidth=i.$slideEl[0].offsetWidth,i.slideHeight=i.$slideEl[0].offsetHeight,i.$imageWrapEl.transition(0));const n=s.width*t.scale,r=s.height*t.scale;if(n<i.slideWidth&&r<i.slideHeight)return;if(s.minX=Math.min(i.slideWidth/2-n/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-r/2,0),s.maxY=-s.minY,s.touchesCurrent.x=e.type==="touchmove"?e.targetTouches[0].pageX:e.pageX,s.touchesCurrent.y=e.type==="touchmove"?e.targetTouches[0].pageY:e.pageY,!s.isMoved&&!v){if(o.isHorizontal()&&(Math.floor(s.minX)===Math.floor(s.startX)&&s.touchesCurrent.x<s.touchesStart.x||Math.floor(s.maxX)===Math.floor(s.startX)&&s.touchesCurrent.x>s.touchesStart.x)){s.isTouched=!1;return}if(!o.isHorizontal()&&(Math.floor(s.minY)===Math.floor(s.startY)&&s.touchesCurrent.y<s.touchesStart.y||Math.floor(s.maxY)===Math.floor(s.startY)&&s.touchesCurrent.y>s.touchesStart.y)){s.isTouched=!1;return}}e.cancelable&&e.preventDefault(),e.stopPropagation(),s.isMoved=!0,s.currentX=s.touchesCurrent.x-s.touchesStart.x+s.startX,s.currentY=s.touchesCurrent.y-s.touchesStart.y+s.startY,s.currentX<s.minX&&(s.currentX=s.minX+1-(s.minX-s.currentX+1)**.8),s.currentX>s.maxX&&(s.currentX=s.maxX-1+(s.currentX-s.maxX+1)**.8),s.currentY<s.minY&&(s.currentY=s.minY+1-(s.minY-s.currentY+1)**.8),s.currentY>s.maxY&&(s.currentY=s.maxY-1+(s.currentY-s.maxY+1)**.8),a.prevPositionX||(a.prevPositionX=s.touchesCurrent.x),a.prevPositionY||(a.prevPositionY=s.touchesCurrent.y),a.prevTime||(a.prevTime=Date.now()),a.x=(s.touchesCurrent.x-a.prevPositionX)/(Date.now()-a.prevTime)/2,a.y=(s.touchesCurrent.y-a.prevPositionY)/(Date.now()-a.prevTime)/2,Math.abs(s.touchesCurrent.x-a.prevPositionX)<2&&(a.x=0),Math.abs(s.touchesCurrent.y-a.prevPositionY)<2&&(a.y=0),a.prevPositionX=s.touchesCurrent.x,a.prevPositionY=s.touchesCurrent.y,a.prevTime=Date.now(),i.$imageWrapEl.transform(`translate3d(${s.currentX}px, ${s.currentY}px,0)`)}function D(){const n=o.zoom;if(!i.$imageEl||i.$imageEl.length===0)return;if(!s.isTouched||!s.isMoved){s.isTouched=!1,s.isMoved=!1;return}s.isTouched=!1,s.isMoved=!1;let e=300,t=300;const l=a.x*e,r=s.currentX+l,d=a.y*t,c=s.currentY+d;a.x!==0&&(e=Math.abs((r-s.currentX)/a.x)),a.y!==0&&(t=Math.abs((c-s.currentY)/a.y));const u=Math.max(e,t);s.currentX=r,s.currentY=c;const h=s.width*n.scale,m=s.height*n.scale;s.minX=Math.min(i.slideWidth/2-h/2,0),s.maxX=-s.minX,s.minY=Math.min(i.slideHeight/2-m/2,0),s.maxY=-s.minY,s.currentX=Math.max(Math.min(s.currentX,s.maxX),s.minX),s.currentY=Math.max(Math.min(s.currentY,s.maxY),s.minY),i.$imageWrapEl.transition(u).transform(`translate3d(${s.currentX}px, ${s.currentY}px,0)`)}function C(){const e=o.zoom;i.$slideEl&&o.previousIndex!==o.activeIndex&&(i.$imageEl&&i.$imageEl.transform("translate3d(0,0,0) scale(1)"),i.$imageWrapEl&&i.$imageWrapEl.transform("translate3d(0,0,0)"),e.scale=1,c=1,i.$slideEl=0[0],i.$imageEl=0[0],i.$imageWrapEl=0[0])}function E(t){const r=o.zoom,l=o.params.zoom;if(i.$slideEl||(t&&t.target&&(i.$slideEl=e(t.target).closest(`.${o.params.slideClass}`)),i.$slideEl||(o.params.virtual&&o.params.virtual.enabled&&o.virtual?i.$slideEl=o.$wrapperEl.children(`.${o.params.slideActiveClass}`):i.$slideEl=o.slides.eq(o.activeIndex)),i.$imageEl=i.$slideEl.find(`.${l.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),i.$imageWrapEl=i.$imageEl.parent(`.${l.containerClass}`)),!i.$imageEl||i.$imageEl.length===0||!i.$imageWrapEl||i.$imageWrapEl.length===0)return;o.params.cssMode&&(o.wrapperEl.style.overflow="hidden",o.wrapperEl.style.touchAction="none"),i.$slideEl.addClass(`${l.zoomedSlideClass}`);let h,m,E,b,C,x,n,a,O,w,y,j,d,u,v,g,p,f;typeof s.touchesStart.x=="undefined"&&t?(h=t.type==="touchend"?t.changedTouches[0].pageX:t.pageX,m=t.type==="touchend"?t.changedTouches[0].pageY:t.pageY):(h=s.touchesStart.x,m=s.touchesStart.y),r.scale=i.$imageWrapEl.attr("data-swiper-zoom")||l.maxRatio,c=i.$imageWrapEl.attr("data-swiper-zoom")||l.maxRatio,t?(p=i.$slideEl[0].offsetWidth,f=i.$slideEl[0].offsetHeight,E=i.$slideEl.offset().left+_.scrollX,b=i.$slideEl.offset().top+_.scrollY,C=E+p/2-h,x=b+f/2-m,O=i.$imageEl[0].offsetWidth,w=i.$imageEl[0].offsetHeight,y=O*r.scale,j=w*r.scale,d=Math.min(p/2-y/2,0),u=Math.min(f/2-j/2,0),v=-d,g=-u,n=C*r.scale,a=x*r.scale,n<d&&(n=d),n>v&&(n=v),a<u&&(a=u),a>g&&(a=g)):(n=0,a=0),i.$imageWrapEl.transition(300).transform(`translate3d(${n}px, ${a}px,0)`),i.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${r.scale})`)}function k(){const t=o.zoom,e=o.params.zoom;if(i.$slideEl||(o.params.virtual&&o.params.virtual.enabled&&o.virtual?i.$slideEl=o.$wrapperEl.children(`.${o.params.slideActiveClass}`):i.$slideEl=o.slides.eq(o.activeIndex),i.$imageEl=i.$slideEl.find(`.${e.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),i.$imageWrapEl=i.$imageEl.parent(`.${e.containerClass}`)),!i.$imageEl||i.$imageEl.length===0||!i.$imageWrapEl||i.$imageWrapEl.length===0)return;o.params.cssMode&&(o.wrapperEl.style.overflow="",o.wrapperEl.style.touchAction=""),t.scale=1,c=1,i.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),i.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),i.$slideEl.removeClass(`${e.zoomedSlideClass}`),i.$slideEl=0[0]}function A(e){const t=o.zoom;t.scale&&t.scale!==1?k():E(e)}function p(){const e=o.support,t=!!(o.touchEvents.start==="touchstart"&&e.passiveListener&&o.params.passiveListeners)&&{passive:!0,capture:!1},n=!e.passiveListener||{passive:!1,capture:!0};return{passiveListener:t,activeListenerWithCapture:n}}function b(){return`.${o.params.slideClass}`}function y(e){const{passiveListener:t}=p(),n=b();o.$wrapperEl[e]("gesturestart",n,d,t),o.$wrapperEl[e]("gesturechange",n,f,t),o.$wrapperEl[e]("gestureend",n,l,t)}function M(){if(u)return;u=!0,y("on")}function S(){if(!u)return;u=!1,y("off")}function x(){const n=o.zoom;if(n.enabled)return;n.enabled=!0;const i=o.support,{passiveListener:e,activeListenerWithCapture:s}=p(),t=b();i.gestures?(o.$wrapperEl.on(o.touchEvents.start,M,e),o.$wrapperEl.on(o.touchEvents.end,S,e)):o.touchEvents.start==="touchstart"&&(o.$wrapperEl.on(o.touchEvents.start,t,d,e),o.$wrapperEl.on(o.touchEvents.move,t,f,s),o.$wrapperEl.on(o.touchEvents.end,t,l,e),o.touchEvents.cancel&&o.$wrapperEl.on(o.touchEvents.cancel,t,l,e)),o.$wrapperEl.on(o.touchEvents.move,`.${o.params.zoom.containerClass}`,O,s)}function w(){const n=o.zoom;if(!n.enabled)return;const i=o.support;n.enabled=!1;const{passiveListener:e,activeListenerWithCapture:s}=p(),t=b();i.gestures?(o.$wrapperEl.off(o.touchEvents.start,M,e),o.$wrapperEl.off(o.touchEvents.end,S,e)):o.touchEvents.start==="touchstart"&&(o.$wrapperEl.off(o.touchEvents.start,t,d,e),o.$wrapperEl.off(o.touchEvents.move,t,f,s),o.$wrapperEl.off(o.touchEvents.end,t,l,e),o.touchEvents.cancel&&o.$wrapperEl.off(o.touchEvents.cancel,t,l,e)),o.$wrapperEl.off(o.touchEvents.move,`.${o.params.zoom.containerClass}`,O,s)}r("init",()=>{o.params.zoom.enabled&&x()}),r("destroy",()=>{w()}),r("touchStart",(e,t)=>{if(!o.zoom.enabled)return;N(t)}),r("touchEnd",()=>{if(!o.zoom.enabled)return;D()}),r("doubleTap",(e,t)=>{!o.animating&&o.params.zoom.enabled&&o.zoom.enabled&&o.params.zoom.toggle&&A(t)}),r("transitionEnd",()=>{o.zoom.enabled&&o.params.zoom.enabled&&C()}),r("slideChange",()=>{o.zoom.enabled&&o.params.zoom.enabled&&o.params.cssMode&&C()}),Object.assign(o.zoom,{enable:x,disable:w,in:E,out:k,toggle:A})}function Bt(n){let{swiper:s,extendParams:u,on:a,emit:l}=n;u({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),s.lazy={};let d=!1,c=!1;function o(t,n){n===0[0]&&(n=!0);const i=s.params.lazy;if(typeof t=="undefined")return;if(s.slides.length===0)return;const c=s.virtual&&s.params.virtual.enabled,a=c?s.$wrapperEl.children(`.${s.params.slideClass}[data-swiper-slide-index="${t}"]`):s.slides.eq(t),r=a.find(`.${i.elementClass}:not(.${i.loadedClass}):not(.${i.loadingClass})`);if(a.hasClass(i.elementClass)&&!a.hasClass(i.loadedClass)&&!a.hasClass(i.loadingClass)&&r.push(a[0]),r.length===0)return;r.each(t=>{const r=e(t);r.addClass(i.loadingClass);const c=r.attr("data-background"),d=r.attr("data-src"),u=r.attr("data-srcset"),h=r.attr("data-sizes"),m=r.parent("picture");s.loadImage(r[0],d||c,u,h,!1,()=>{if(typeof s=="undefined"||s===null||!s||s&&!s.params||s.destroyed)return;if(c?(r.css("background-image",`url("${c}")`),r.removeAttr("data-background")):(u&&(r.attr("srcset",u),r.removeAttr("data-srcset")),h&&(r.attr("sizes",h),r.removeAttr("data-sizes")),m.length&&m.children("source").each(t=>{const n=e(t);n.attr("data-srcset")&&(n.attr("srcset",n.attr("data-srcset")),n.removeAttr("data-srcset"))}),d&&(r.attr("src",d),r.removeAttr("data-src"))),r.addClass(i.loadedClass).removeClass(i.loadingClass),a.find(`.${i.preloaderClass}`).remove(),s.params.loop&&n){const e=a.attr("data-swiper-slide-index");if(a.hasClass(s.params.slideDuplicateClass)){const t=s.$wrapperEl.children(`[data-swiper-slide-index="${e}"]:not(.${s.params.slideDuplicateClass})`);o(t.index(),!1)}else{const t=s.$wrapperEl.children(`.${s.params.slideDuplicateClass}[data-swiper-slide-index="${e}"]`);o(t.index(),!1)}}l("lazyImageReady",a[0],r[0]),s.params.autoHeight&&s.updateAutoHeight()}),l("lazyImageLoad",a[0],r[0])})}function i(){const{$wrapperEl:a,params:t,slides:u,activeIndex:n}=s,l=s.virtual&&t.virtual.enabled,r=t.lazy;let i=t.slidesPerView;i==="auto"&&(i=0);function d(e){if(l){if(a.children(`.${t.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(u[e])return!0;return!1}function h(t){return l?e(t).attr("data-swiper-slide-index"):e(t).index()}if(c||(c=!0),s.params.watchSlidesProgress)a.children(`.${t.slideVisibleClass}`).each(t=>{const n=l?e(t).attr("data-swiper-slide-index"):e(t).index();o(n)});else if(i>1)for(let e=n;e<n+i;e+=1)d(e)&&o(e);else o(n);if(r.loadPrevNext)if(i>1||r.loadPrevNextAmount&&r.loadPrevNextAmount>1){const t=r.loadPrevNextAmount,e=i,s=Math.min(n+e+Math.max(t,e),u.length),a=Math.max(n-Math.max(e,t),0);for(let e=n+i;e<s;e+=1)d(e)&&o(e);for(let e=a;e<n;e+=1)d(e)&&o(e)}else{const e=a.children(`.${t.slideNextClass}`);e.length>0&&o(h(e));const n=a.children(`.${t.slidePrevClass}`);n.length>0&&o(h(n))}}function r(){const a=t();if(!s||s.destroyed)return;const o=e(s.params.lazy.scrollingElement?s.params.lazy.scrollingElement:a),c=o[0]===a,m=c?a.innerWidth:o[0].offsetWidth,f=c?a.innerHeight:o[0].offsetHeight,n=s.$el.offset(),{rtlTranslate:p}=s;let l=!1;p&&(n.left-=s.$el[0].scrollLeft);const u=[[n.left,n.top],[n.left+s.width,n.top],[n.left,n.top+s.height],[n.left+s.width,n.top+s.height]];for(let t=0;t<u.length;t+=1){const e=u[t];if(e[0]>=0&&e[0]<=m&&e[1]>=0&&e[1]<=f){if(e[0]===0&&e[1]===0)continue;l=!0}}const h=!!(s.touchEvents.start==="touchstart"&&s.support.passiveListener&&s.params.passiveListeners)&&{passive:!0,capture:!1};l?(i(),o.off("scroll",r,h)):d||(d=!0,o.on("scroll",r,h))}a("beforeInit",()=>{s.params.lazy.enabled&&s.params.preloadImages&&(s.params.preloadImages=!1)}),a("init",()=>{s.params.lazy.enabled&&(s.params.lazy.checkInView?r():i())}),a("scroll",()=>{s.params.freeMode&&s.params.freeMode.enabled&&!s.params.freeMode.sticky&&i()}),a("scrollbarDragMove resize _freeModeNoMomentumRelease",()=>{s.params.lazy.enabled&&(s.params.lazy.checkInView?r():i())}),a("transitionStart",()=>{s.params.lazy.enabled&&(s.params.lazy.loadOnTransitionStart||!s.params.lazy.loadOnTransitionStart&&!c)&&(s.params.lazy.checkInView?r():i())}),a("transitionEnd",()=>{s.params.lazy.enabled&&!s.params.lazy.loadOnTransitionStart&&(s.params.lazy.checkInView?r():i())}),a("slideChange",()=>{const{lazy:e,cssMode:t,watchSlidesProgress:n,touchReleaseOnEdges:o,resistanceRatio:a}=s.params;e.enabled&&(t||n&&(o||a===0))&&i()}),Object.assign(s.lazy,{load:i,loadInSlide:o})}function Vt(e){let{swiper:t,extendParams:i,on:n}=e;i({controller:{control:0[0],inverse:!1,by:"slide"}}),t.controller={control:0[0]};function o(e,t){const o=function(){let t,n,s;return(e,o)=>{for(n=-1,t=e.length;t-n>1;)s=t+n>>1,e[s]<=o?n=s:t=s;return t}}();this.x=e,this.y=t,this.lastIndex=e.length-1;let n,s;return this.interpolate=function(t){return t?(s=o(this.x,t),n=s-1,(t-this.x[n])*(this.y[s]-this.y[n])/(this.x[s]-this.x[n])+this.y[n]):0},this}function a(e){t.controller.spline||(t.controller.spline=t.params.loop?new o(t.slidesGrid,e.slidesGrid):new o(t.snapGrid,e.snapGrid))}function c(e,n){const s=t.controller.control;let i,o;const r=t.constructor;function c(e){const n=t.rtlTranslate?-t.translate:t.translate;t.params.controller.by==="slide"&&(a(e),o=-t.controller.spline.interpolate(-n)),(!o||t.params.controller.by==="container")&&(i=(e.maxTranslate()-e.minTranslate())/(t.maxTranslate()-t.minTranslate()),o=(n-t.minTranslate())*i+e.minTranslate()),t.params.controller.inverse&&(o=e.maxTranslate()-o),e.updateProgress(o),e.setTranslate(o,t),e.updateActiveIndex(),e.updateSlidesClasses()}if(Array.isArray(s))for(let e=0;e<s.length;e+=1)s[e]!==n&&s[e]instanceof r&&c(s[e]);else s instanceof r&&n!==s&&c(s)}function l(e,n){const i=t.constructor,s=t.controller.control;let o;function a(n){n.setTransition(e,t),e!==0&&(n.transitionStart(),n.params.autoHeight&&r(()=>{n.updateAutoHeight()}),n.$wrapperEl.transitionEnd(()=>{if(!s)return;n.params.loop&&t.params.controller.by==="slide"&&n.loopFix(),n.transitionEnd()}))}if(Array.isArray(s))for(o=0;o<s.length;o+=1)s[o]!==n&&s[o]instanceof i&&a(s[o]);else s instanceof i&&n!==s&&a(s)}function s(){if(!t.controller.control)return;t.controller.spline&&(t.controller.spline=0[0],delete t.controller.spline)}n("beforeInit",()=>{t.controller.control=t.params.controller.control}),n("update",()=>{s()}),n("resize",()=>{s()}),n("observerUpdate",()=>{s()}),n("setTranslate",(e,n,s)=>{if(!t.controller.control)return;t.controller.setTranslate(n,s)}),n("setTransition",(e,n,s)=>{if(!t.controller.control)return;t.controller.setTransition(n,s)}),Object.assign(t.controller,{setTranslate:c,setTransition:l})}function $t(t){let{swiper:n,extendParams:_,on:o}=t;_({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,itemRoleDescriptionMessage:null,slideRole:"group"}});let s=null;function r(e){const t=s;if(t.length===0)return;t.html(""),t.html(e)}function w(e){e===0[0]&&(e=16);const t=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(e).replace(/x/g,t)}function c(e){e.attr("tabIndex","0")}function f(e){e.attr("tabIndex","-1")}function d(e,t){e.attr("role",t)}function g(e,t){e.attr("aria-roledescription",t)}function C(e,t){e.attr("aria-controls",t)}function l(e,t){e.attr("aria-label",t)}function x(e,t){e.attr("id",t)}function j(e,t){e.attr("aria-live",t)}function v(e){e.attr("aria-disabled",!0)}function b(e){e.attr("aria-disabled",!1)}function i(t){if(t.keyCode!==13&&t.keyCode!==32)return;const s=n.params.a11y,o=e(t.target);n.navigation&&n.navigation.$nextEl&&o.is(n.navigation.$nextEl)&&(n.isEnd&&!n.params.loop||n.slideNext(),r(n.isEnd?s.lastSlideMessage:s.nextSlideMessage)),n.navigation&&n.navigation.$prevEl&&o.is(n.navigation.$prevEl)&&(n.isBeginning&&!n.params.loop||n.slidePrev(),r(n.isBeginning?s.firstSlideMessage:s.prevSlideMessage)),n.pagination&&o.is(a(n.params.pagination.bulletClass))&&o[0].click()}function y(){if(n.params.loop||n.params.rewind||!n.navigation)return;const{$nextEl:e,$prevEl:t}=n.navigation;t&&t.length>0&&(n.isBeginning?(v(t),f(t)):(b(t),c(t))),e&&e.length>0&&(n.isEnd?(v(e),f(e)):(b(e),c(e)))}function u(){return n.pagination&&n.pagination.bullets&&n.pagination.bullets.length}function h(){return u()&&n.params.pagination.clickable}function O(){const t=n.params.a11y;if(!u())return;n.pagination.bullets.each(s=>{const o=e(s);n.params.pagination.clickable&&(c(o),n.params.pagination.renderBullet||(d(o,"button"),l(o,t.paginationBulletMessage.replace(/\{\{index\}\}/,o.index()+1)))),o.is(`.${n.params.pagination.bulletActiveClass}`)?o.attr("aria-current","true"):o.removeAttr("aria-current")})}const p=(e,t,n)=>{c(e),e[0].tagName!=="BUTTON"&&(d(e,"button"),e.on("keydown",i)),l(e,n),C(e,t)},m=e=>{const t=e.target.closest(`.${n.params.slideClass}`);if(!t||!n.slides.includes(t))return;const s=n.slides.indexOf(t)===n.activeIndex,o=n.params.watchSlidesProgress&&n.visibleSlides&&n.visibleSlides.includes(t);if(s||o)return;n.slideTo(n.slides.indexOf(t),0)};function E(){const t=n.params.a11y;n.$el.append(s);const f=n.$el;t.containerRoleDescriptionMessage&&g(f,t.containerRoleDescriptionMessage),t.containerMessage&&l(f,t.containerMessage);const c=n.$wrapperEl,u=c.attr("id")||`swiper-wrapper-${w(16)}`,v=n.params.autoplay&&n.params.autoplay.enabled?"off":"polite";x(c,u),j(c,v),t.itemRoleDescriptionMessage&&g(e(n.slides),t.itemRoleDescriptionMessage),d(e(n.slides),t.slideRole);const b=n.params.loop?n.slides.filter(e=>!e.classList.contains(n.params.slideDuplicateClass)).length:n.slides.length;n.slides.each((s,o)=>{const i=e(s),a=n.params.loop?parseInt(i.attr("data-swiper-slide-index"),10):o,r=t.slideLabelMessage.replace(/\{\{index\}\}/,a+1).replace(/\{\{slidesLength\}\}/,b);l(i,r)});let o,r;n.navigation&&n.navigation.$nextEl&&(o=n.navigation.$nextEl),n.navigation&&n.navigation.$prevEl&&(r=n.navigation.$prevEl),o&&o.length&&p(o,u,t.nextSlideMessage),r&&r.length&&p(r,u,t.prevSlideMessage),h()&&n.pagination.$el.on("keydown",a(n.params.pagination.bulletClass),i),n.$el.on("focus",m,!0)}function k(){s&&s.length>0&&s.remove();let e,t;n.navigation&&n.navigation.$nextEl&&(e=n.navigation.$nextEl),n.navigation&&n.navigation.$prevEl&&(t=n.navigation.$prevEl),e&&e.off("keydown",i),t&&t.off("keydown",i),h()&&n.pagination.$el.off("keydown",a(n.params.pagination.bulletClass),i),n.$el.off("focus",m,!0)}o("beforeInit",()=>{s=e(`<span class="${n.params.a11y.notificationClass}" aria-live="assertive" aria-atomic="true"></span>`)}),o("afterInit",()=>{if(!n.params.a11y.enabled)return;E()}),o("fromEdge toEdge afterInit lock unlock",()=>{if(!n.params.a11y.enabled)return;y()}),o("paginationUpdate",()=>{if(!n.params.a11y.enabled)return;O()}),o("destroy",()=>{if(!n.params.a11y.enabled)return;k()})}function Wt(e){let{swiper:n,extendParams:u,on:o}=e;u({history:{enabled:!1,root:"",replaceState:!1,key:"slides"}});let i=!1,s={};const a=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),r=e=>{const i=t();let n;e?n=new URL(e):n=i.location;const s=n.pathname.slice(1).split("/").filter(e=>e!==""),o=s.length,a=s[o-2],r=s[o-1];return{key:a,value:r}},c=(e,s)=>{const r=t();if(!i||!n.params.history.enabled)return;let c;n.params.url?c=new URL(n.params.url):c=r.location;const d=n.slides.eq(s);let o=a(d.attr("data-history"));if(n.params.history.root.length>0){let t=n.params.history.root;t[t.length-1]==="/"&&(t=t.slice(0,t.length-1)),o=`${t}/${e}/${o}`}else c.pathname.includes(e)||(o=`${e}/${o}`);const l=r.history.state;if(l&&l.value===o)return;n.params.history.replaceState?r.history.replaceState({value:o},null,o):r.history.pushState({value:o},null,o)},l=(e,t,s)=>{if(t){for(let o=0,r=n.slides.length;o<r;o+=1){const i=n.slides.eq(o),c=a(i.attr("data-history"));if(c===t&&!i.hasClass(n.params.slideDuplicateClass)){const t=i.index();n.slideTo(t,e,s)}}}else n.slideTo(0,e,s)},d=()=>{s=r(n.params.url),l(n.params.speed,n.paths.value,!1)},h=()=>{const e=t();if(!n.params.history)return;if(!e.history||!e.history.pushState){n.params.history.enabled=!1,n.params.hashNavigation.enabled=!0;return}if(i=!0,s=r(n.params.url),!s.key&&!s.value)return;l(0,s.value,n.params.runCallbacksOnInit),n.params.history.replaceState||e.addEventListener("popstate",d)},m=()=>{const e=t();n.params.history.replaceState||e.removeEventListener("popstate",d)};o("init",()=>{n.params.history.enabled&&h()}),o("destroy",()=>{n.params.history.enabled&&m()}),o("transitionEnd _freeModeNoMomentumRelease",()=>{i&&c(n.params.history.key,n.activeIndex)}),o("slideChange",()=>{i&&n.params.cssMode&&c(n.params.history.key,n.activeIndex)})}function Ut(s){let{swiper:o,extendParams:h,emit:c,on:a}=s,r=!1;const l=n(),i=t();h({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const d=()=>{c("hashChange");const e=l.location.hash.replace("#",""),t=o.slides.eq(o.activeIndex).attr("data-hash");if(e!==t){const t=o.$wrapperEl.children(`.${o.params.slideClass}[data-hash="${e}"]`).index();if(typeof t=="undefined")return;o.slideTo(t)}},u=()=>{if(!r||!o.params.hashNavigation.enabled)return;if(o.params.hashNavigation.replaceState&&i.history&&i.history.replaceState)i.history.replaceState(null,null,`#${o.slides.eq(o.activeIndex).attr("data-hash")}`||""),c("hashSet");else{const e=o.slides.eq(o.activeIndex),t=e.attr("data-hash")||e.attr("data-history");l.location.hash=t||"",c("hashSet")}},m=()=>{if(!o.params.hashNavigation.enabled||o.params.history&&o.params.history.enabled)return;r=!0;const t=l.location.hash.replace("#","");if(t){const e=0;for(let s=0,i=o.slides.length;s<i;s+=1){const n=o.slides.eq(s),a=n.attr("data-hash")||n.attr("data-history");if(a===t&&!n.hasClass(o.params.slideDuplicateClass)){const t=n.index();o.slideTo(t,e,o.params.runCallbacksOnInit,!0)}}}o.params.hashNavigation.watchState&&e(i).on("hashchange",d)},f=()=>{o.params.hashNavigation.watchState&&e(i).off("hashchange",d)};a("init",()=>{o.params.hashNavigation.enabled&&m()}),a("destroy",()=>{o.params.hashNavigation.enabled&&f()}),a("transitionEnd _freeModeNoMomentumRelease",()=>{r&&u()}),a("slideChange",()=>{r&&o.params.cssMode&&u()})}function Kt(e){let{swiper:t,extendParams:p,on:c,emit:s}=e,o;t.autoplay={running:!1,paused:!1},p({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});function i(){const e=t.slides.eq(t.activeIndex);let n=t.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(n=e.attr("data-swiper-autoplay")||t.params.autoplay.delay),clearTimeout(o),o=r(()=>{let e;t.params.autoplay.reverseDirection?t.params.loop?(t.loopFix(),e=t.slidePrev(t.params.speed,!0,!0),s("autoplay")):t.isBeginning?t.params.autoplay.stopOnLastSlide?a():(e=t.slideTo(t.slides.length-1,t.params.speed,!0,!0),s("autoplay")):(e=t.slidePrev(t.params.speed,!0,!0),s("autoplay")):t.params.loop?(t.loopFix(),e=t.slideNext(t.params.speed,!0,!0),s("autoplay")):t.isEnd?t.params.autoplay.stopOnLastSlide?a():(e=t.slideTo(0,t.params.speed,!0,!0),s("autoplay")):(e=t.slideNext(t.params.speed,!0,!0),s("autoplay")),t.params.cssMode&&t.autoplay.running?i():e===!1&&i()},n)}function u(){return typeof o=="undefined"&&!t.autoplay.running&&(t.autoplay.running=!0,s("autoplayStart"),i(),!0)}function a(){return!!t.autoplay.running&&typeof o!="undefined"&&(o&&(clearTimeout(o),o=0[0]),t.autoplay.running=!1,s("autoplayStop"),!0)}function l(e){if(!t.autoplay.running)return;if(t.autoplay.paused)return;o&&clearTimeout(o),t.autoplay.paused=!0,e===0||!t.params.autoplay.waitForTransition?(t.autoplay.paused=!1,i()):["transitionend","webkitTransitionEnd"].forEach(e=>{t.$wrapperEl[0].addEventListener(e,d)})}function h(){const e=n();e.visibilityState==="hidden"&&t.autoplay.running&&l(),e.visibilityState==="visible"&&t.autoplay.paused&&(i(),t.autoplay.paused=!1)}function d(e){if(!t||t.destroyed||!t.$wrapperEl)return;if(e.target!==t.$wrapperEl[0])return;["transitionend","webkitTransitionEnd"].forEach(e=>{t.$wrapperEl[0].removeEventListener(e,d)}),t.autoplay.paused=!1,t.autoplay.running?i():a()}function m(){t.params.autoplay.disableOnInteraction?a():(s("autoplayPause"),l()),["transitionend","webkitTransitionEnd"].forEach(e=>{t.$wrapperEl[0].removeEventListener(e,d)})}function f(){if(t.params.autoplay.disableOnInteraction)return;t.autoplay.paused=!1,s("autoplayResume"),i()}function g(){t.params.autoplay.pauseOnMouseEnter&&(t.$el.on("mouseenter",m),t.$el.on("mouseleave",f))}function v(){t.$el.off("mouseenter",m),t.$el.off("mouseleave",f)}c("init",()=>{if(t.params.autoplay.enabled){u();const e=n();e.addEventListener("visibilitychange",h),g()}}),c("beforeTransitionStart",(e,n,s)=>{t.autoplay.running&&(s||!t.params.autoplay.disableOnInteraction?t.autoplay.pause(n):a())}),c("sliderFirstMove",()=>{t.autoplay.running&&(t.params.autoplay.disableOnInteraction?a():l())}),c("touchEnd",()=>{t.params.cssMode&&t.autoplay.paused&&!t.params.autoplay.disableOnInteraction&&i()}),c("destroy",()=>{v(),t.autoplay.running&&a();const e=n();e.removeEventListener("visibilitychange",h)}),Object.assign(t.autoplay,{pause:l,run:i,start:u,stop:a})}function qt(t){let{swiper:n,extendParams:c,on:s}=t;c({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,a=!1;n.thumbs={swiper:null};function l(){const s=n.thumbs.swiper;if(!s)return;const o=s.clickedIndex,i=s.clickedSlide;if(i&&e(i).hasClass(n.params.thumbs.slideThumbActiveClass))return;if(typeof o=="undefined"||o===null)return;let t;if(s.params.loop?t=parseInt(e(s.clickedSlide).attr("data-swiper-slide-index"),10):t=o,n.params.loop){let e=n.activeIndex;n.slides.eq(e).hasClass(n.params.slideDuplicateClass)&&(n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft,e=n.activeIndex);const s=n.slides.eq(e).prevAll(`[data-swiper-slide-index="${t}"]`).eq(0).index(),o=n.slides.eq(e).nextAll(`[data-swiper-slide-index="${t}"]`).eq(0).index();typeof s=="undefined"?t=o:typeof o=="undefined"?t=s:o-e<e-s?t=o:t=s}n.slideTo(t)}function r(){const{thumbs:e}=n.params;if(i)return!1;i=!0;const t=n.constructor;if(e.swiper instanceof t)n.thumbs.swiper=e.swiper,Object.assign(n.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(n.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1});else if(f(e.swiper)){const s=Object.assign({},e.swiper);Object.assign(s,{watchSlidesProgress:!0,slideToClickedSlide:!1}),n.thumbs.swiper=new t(s),a=!0}return n.thumbs.swiper.$el.addClass(n.params.thumbs.thumbsContainerClass),n.thumbs.swiper.on("tap",l),!0}function o(e){const t=n.thumbs.swiper;if(!t)return;const a=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():t.params.slidesPerView,o=n.params.thumbs.autoScrollOffset,r=o&&!t.params.loop;if(n.realIndex!==t.realIndex||r){let i=t.activeIndex,s,c;if(t.params.loop){t.slides.eq(i).hasClass(t.params.slideDuplicateClass)&&(t.loopFix(),t._clientLeft=t.$wrapperEl[0].clientLeft,i=t.activeIndex);const o=t.slides.eq(i).prevAll(`[data-swiper-slide-index="${n.realIndex}"]`).eq(0).index(),e=t.slides.eq(i).nextAll(`[data-swiper-slide-index="${n.realIndex}"]`).eq(0).index();typeof o=="undefined"?s=e:typeof e=="undefined"?s=o:e-i===i-o?s=t.params.slidesPerGroup>1?e:i:e-i<i-o?s=e:s=o,c=n.activeIndex>n.previousIndex?"next":"prev"}else s=n.realIndex,c=s>n.previousIndex?"next":"prev";r&&(s+=c==="next"?o:-1*o),t.visibleSlidesIndexes&&t.visibleSlidesIndexes.indexOf(s)<0&&(t.params.centeredSlides&&(s>i?s=s-Math.floor(a/2)+1:s=s+Math.floor(a/2)-1),t.slideTo(s,e?0:0[0]))}let s=1;const i=n.params.thumbs.slideThumbActiveClass;if(n.params.slidesPerView>1&&!n.params.centeredSlides&&(s=n.params.slidesPerView),n.params.thumbs.multipleActiveThumbs||(s=1),s=Math.floor(s),t.slides.removeClass(i),t.params.loop||t.params.virtual&&t.params.virtual.enabled)for(let e=0;e<s;e+=1)t.$wrapperEl.children(`[data-swiper-slide-index="${n.realIndex+e}"]`).addClass(i);else for(let e=0;e<s;e+=1)t.slides.eq(n.realIndex+e).addClass(i)}s("beforeInit",()=>{const{thumbs:e}=n.params;if(!e||!e.swiper)return;r(),o(!0)}),s("slideChange update resize observerUpdate",()=>{if(!n.thumbs.swiper)return;o()}),s("setTransition",(e,t)=>{const s=n.thumbs.swiper;if(!s)return;s.setTransition(t)}),s("beforeDestroy",()=>{const e=n.thumbs.swiper;if(!e)return;a&&e&&e.destroy()}),Object.assign(n.thumbs,{init:r,update:o})}function Yt(e){let{swiper:t,extendParams:s,emit:n,once:i}=e;s({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function a(){const e=t.getTranslate();t.setTranslate(e),t.setTransition(0),t.touchEventsData.velocities.length=0,t.freeMode.onTouchEnd({currentPos:t.rtl?t.translate:-t.translate})}function r(){const{touchEventsData:e,touches:n}=t;e.velocities.length===0&&e.velocities.push({position:n[t.isHorizontal()?"startX":"startY"],time:e.touchStartTime}),e.velocities.push({position:n[t.isHorizontal()?"currentX":"currentY"],time:o()})}function c(e){let{currentPos:d}=e;const{params:s,$wrapperEl:c,rtlTranslate:l,snapGrid:a,touchEventsData:r}=t,u=o(),h=u-r.touchStartTime;if(d<-t.minTranslate()){t.slideTo(t.activeIndex);return}if(d>-t.maxTranslate()){t.slides.length<a.length?t.slideTo(a.length-1):t.slideTo(t.slides.length-1);return}if(s.freeMode.momentum){if(r.velocities.length>1){const e=r.velocities.pop(),n=r.velocities.pop(),a=e.position-n.position,i=e.time-n.time;t.velocity=a/i,t.velocity/=2,Math.abs(t.velocity)<s.freeMode.minimumVelocity&&(t.velocity=0),(i>150||o()-e.time>300)&&(t.velocity=0)}else t.velocity=0;t.velocity*=s.freeMode.momentumVelocityRatio,r.velocities.length=0;let d=1e3*s.freeMode.momentumRatio;const p=t.velocity*d;let e=t.translate+p;l&&(e=-e);let m=!1,u;const h=Math.abs(t.velocity)*20*s.freeMode.momentumBounceRatio;let f;if(e<t.maxTranslate())s.freeMode.momentumBounce?(e+t.maxTranslate()<-h&&(e=t.maxTranslate()-h),u=t.maxTranslate(),m=!0,r.allowMomentumBounce=!0):e=t.maxTranslate(),s.loop&&s.centeredSlides&&(f=!0);else if(e>t.minTranslate())s.freeMode.momentumBounce?(e-t.minTranslate()>h&&(e=t.minTranslate()+h),u=t.minTranslate(),m=!0,r.allowMomentumBounce=!0):e=t.minTranslate(),s.loop&&s.centeredSlides&&(f=!0);else if(s.freeMode.sticky){let n;for(let t=0;t<a.length;t+=1)if(a[t]>-e){n=t;break}Math.abs(a[n]-e)<Math.abs(a[n-1]-e)||t.swipeDirection==="next"?e=a[n]:e=a[n-1],e=-e}if(f&&i("transitionEnd",()=>{t.loopFix()}),t.velocity!==0){if(l?d=Math.abs((-e-t.translate)/t.velocity):d=Math.abs((e-t.translate)/t.velocity),s.freeMode.sticky){const n=Math.abs((l?-e:e)-t.translate),o=t.slidesSizesGrid[t.activeIndex];n<o?d=s.speed:n<2*o?d=s.speed*1.5:d=s.speed*2.5}}else if(s.freeMode.sticky){t.slideToClosest();return}s.freeMode.momentumBounce&&m?(t.updateProgress(u),t.setTransition(d),t.setTranslate(e),t.transitionStart(!0,t.swipeDirection),t.animating=!0,c.transitionEnd(()=>{if(!t||t.destroyed||!r.allowMomentumBounce)return;n("momentumBounce"),t.setTransition(s.speed),setTimeout(()=>{t.setTranslate(u),c.transitionEnd(()=>{if(!t||t.destroyed)return;t.transitionEnd()})},0)})):t.velocity?(n("_freeModeNoMomentumRelease"),t.updateProgress(e),t.setTransition(d),t.setTranslate(e),t.transitionStart(!0,t.swipeDirection),t.animating||(t.animating=!0,c.transitionEnd(()=>{if(!t||t.destroyed)return;t.transitionEnd()}))):t.updateProgress(e),t.updateActiveIndex(),t.updateSlidesClasses()}else if(s.freeMode.sticky){t.slideToClosest();return}else s.freeMode&&n("_freeModeNoMomentumRelease");(!s.freeMode.momentum||h>=s.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}Object.assign(t,{freeMode:{onTouchStart:a,onTouchMove:r,onTouchEnd:c}})}function Gt(e){let{swiper:t,extendParams:i}=e;i({grid:{rows:1,fill:"column"}});let n,s,o;const a=e=>{const{slidesPerView:a}=t.params,{rows:i,fill:r}=t.params.grid;s=n/i,o=Math.floor(e/i),Math.floor(e/i)===e/i?n=e:n=Math.ceil(e/i)*i,a!=="auto"&&r==="row"&&(n=Math.max(n,a*i))},r=(e,i,a,r)=>{const{slidesPerGroup:u,spaceBetween:m}=t.params,{rows:l,fill:f}=t.params.grid;let h,d,c;if(f==="row"&&u>1){const t=Math.floor(e/(u*l)),s=e-l*u*t,o=t===0?u:Math.min(Math.ceil((a-t*l*u)/l),u);c=Math.floor(s/o),d=s-c*o+t*u,h=d+c*n/l,i.css({"-webkit-order":h,order:h})}else f==="column"?(d=Math.floor(e/l),c=e-d*l,(d>o||d===o&&c===l-1)&&(c+=1,c>=l&&(c=0,d+=1))):(c=Math.floor(e/s),d=e-c*s);i.css(r("margin-top"),c!==0?m&&`${m}px`:"")},c=(e,s,o)=>{const{spaceBetween:i,centeredSlides:a,roundLengths:r}=t.params,{rows:c}=t.params.grid;if(t.virtualSize=(e+i)*n,t.virtualSize=Math.ceil(t.virtualSize/c)-i,t.$wrapperEl.css({[o("width")]:`${t.virtualSize+i}px`}),a){s.splice(0,s.length);const e=[];for(let n=0;n<s.length;n+=1){let o=s[n];r&&(o=Math.floor(o)),s[n]<t.virtualSize+s[0]&&e.push(o)}s.push(...e)}};t.grid={initSlides:a,updateSlide:r,updateWrapperSize:c}}function Xt(e){const t=this,{$wrapperEl:s,params:n}=t;if(n.loop&&t.loopDestroy(),typeof e=="object"&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&s.append(e[t]);else s.append(e);n.loop&&t.loopCreate(),n.observer||t.update()}function Qt(e){const t=this,{params:n,$wrapperEl:s,activeIndex:o}=t;n.loop&&t.loopDestroy();let i=o+1;if(typeof e=="object"&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&s.prepend(e[t]);i=o+e.length}else s.prepend(e);n.loop&&t.loopCreate(),n.observer||t.update(),t.slideTo(i,0,!1)}function Zt(e,t){const n=this,{$wrapperEl:i,params:o,activeIndex:l}=n;let s=l;o.loop&&(s-=n.loopedSlides,n.loopDestroy(),n.slides=i.children(`.${o.slideClass}`));const c=n.slides.length;if(e<=0){n.prependSlide(t);return}if(e>=c){n.appendSlide(t);return}let a=s>e?s+1:s;const r=[];for(let t=c-1;t>=e;t-=1){const s=n.slides.eq(t);s.remove(),r.unshift(s)}if(typeof t=="object"&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&i.append(t[e]);a=s>e?s+t.length:s}else i.append(t);for(let e=0;e<r.length;e+=1)i.append(r[e]);o.loop&&n.loopCreate(),o.observer||n.update(),o.loop?n.slideTo(a+n.loopedSlides,0,!1):n.slideTo(a,0,!1)}function Jt(e){const t=this,{params:o,$wrapperEl:a,activeIndex:r}=t;let i=r;o.loop&&(i-=t.loopedSlides,t.loopDestroy(),t.slides=a.children(`.${o.slideClass}`));let n=i,s;if(typeof e=="object"&&"length"in e){for(let o=0;o<e.length;o+=1)s=e[o],t.slides[s]&&t.slides.eq(s).remove(),s<n&&(n-=1);n=Math.max(n,0)}else s=e,t.slides[s]&&t.slides.eq(s).remove(),s<n&&(n-=1),n=Math.max(n,0);o.loop&&t.loopCreate(),o.observer||t.update(),o.loop?t.slideTo(n+t.loopedSlides,0,!1):t.slideTo(n,0,!1)}function en(){const e=this,t=[];for(let n=0;n<e.slides.length;n+=1)t.push(n);e.removeSlide(t)}function tn(e){let{swiper:t}=e;Object.assign(t,{appendSlide:Xt.bind(t),prependSlide:Qt.bind(t),addSlide:Zt.bind(t),removeSlide:Jt.bind(t),removeAllSlides:en.bind(t)})}function d(e){const{effect:n,swiper:t,on:s,setTranslate:i,setTransition:c,overwriteParams:a,perspective:r}=e;s("beforeInit",()=>{if(t.params.effect!==n)return;t.classNames.push(`${t.params.containerModifierClass}${n}`),r&&r()&&t.classNames.push(`${t.params.containerModifierClass}3d`);const e=a?a():{};Object.assign(t.params,e),Object.assign(t.originalParams,e)}),s("setTranslate",()=>{if(t.params.effect!==n)return;i()}),s("setTransition",(e,s)=>{if(t.params.effect!==n)return;c(s)});let o;s("virtualUpdate",()=>{t.slides.length||(o=!0),requestAnimationFrame(()=>{o&&t.slides.length&&(i(),o=!1)})})}function h(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function p(e){let{swiper:t,duration:i,transformEl:n,allSlides:a}=e;const{slides:s,activeIndex:o,$wrapperEl:r}=t;if(t.params.virtualTranslate&&i!==0){let i=!1,e;a?e=n?s.find(n):s:e=n?s.eq(o).find(n):s.eq(o),e.transitionEnd(()=>{if(i)return;if(!t||t.destroyed)return;i=!0,t.animating=!1;const e=["webkitTransitionEnd","transitionend"];for(let t=0;t<e.length;t+=1)r.trigger(e[t])})}}function an(e){let{swiper:t,extendParams:n,on:s}=e;n({fadeEffect:{crossFade:!1,transformEl:null}});const o=()=>{const{slides:e}=t,n=t.params.fadeEffect;for(let i=0;i<e.length;i+=1){const s=t.slides.eq(i),r=s[0].swiperSlideOffset;let o=-r;t.params.virtualTranslate||(o-=t.translate);let a=0;t.isHorizontal()||(a=o,o=0);const c=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(s[0].progress),0):1+Math.min(Math.max(s[0].progress,-1),0),l=h(n,s);l.css({opacity:c}).transform(`translate3d(${o}px, ${a}px, 0px)`)}},i=e=>{const{transformEl:n}=t.params.fadeEffect,s=n?t.slides.find(n):t.slides;s.transition(e),p({swiper:t,duration:e,transformEl:n,allSlides:!0})};d({effect:"fade",swiper:t,on:s,setTranslate:o,setTransition:i,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function rn(t){let{swiper:n,extendParams:s,on:o}=t;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=()=>{const{$el:m,$wrapperEl:r,slides:u,width:c,height:d,rtlTranslate:l,size:t,browser:h}=n,i=n.params.cubeEffect,o=n.isHorizontal(),f=n.virtual&&n.params.virtual.enabled;let a=0,s;i.shadow&&(o?(s=r.find(".swiper-cube-shadow"),s.length===0&&(s=e('<div class="swiper-cube-shadow"></div>'),r.append(s)),s.css({height:`${c}px`})):(s=m.find(".swiper-cube-shadow"),s.length===0&&(s=e('<div class="swiper-cube-shadow"></div>'),m.append(s))));for(let p=0;p<u.length;p+=1){const n=u.eq(p);let r=p;f&&(r=parseInt(n.attr("data-swiper-slide-index"),10));let c=r*90,h=Math.floor(c/360);l&&(c=-c,h=Math.floor(-c/360));const d=Math.max(Math.min(n[0].progress,1),-1);let s=0,g=0,m=0;r%4===0?(s=-h*4*t,m=0):(r-1)%4===0?(s=0,m=-h*4*t):(r-2)%4===0?(s=t+h*4*t,m=t):(r-3)%4===0&&(s=-t,m=3*t+t*4*h),l&&(s=-s),o||(g=s,s=0);const v=`rotateX(${o?0:-c}deg) rotateY(${o?c:0}deg) translate3d(${s}px, ${g}px, ${m}px)`;if(d<=1&&d>-1&&(a=r*90+d*90,l&&(a=-r*90-d*90)),n.transform(v),i.slideShadows){let t=o?n.find(".swiper-slide-shadow-left"):n.find(".swiper-slide-shadow-top"),s=o?n.find(".swiper-slide-shadow-right"):n.find(".swiper-slide-shadow-bottom");t.length===0&&(t=e(`<div class="swiper-slide-shadow-${o?"left":"top"}"></div>`),n.append(t)),s.length===0&&(s=e(`<div class="swiper-slide-shadow-${o?"right":"bottom"}"></div>`),n.append(s)),t.length&&(t[0].style.opacity=Math.max(-d,0)),s.length&&(s[0].style.opacity=Math.max(d,0))}}if(r.css({"-webkit-transform-origin":`50% 50% -${t/2}px`,"transform-origin":`50% 50% -${t/2}px`}),i.shadow)if(o)s.transform(`translate3d(0px, ${c/2+i.shadowOffset}px, ${-c/2}px) rotateX(90deg) rotateZ(0deg) scale(${i.shadowScale})`);else{const e=Math.abs(a)-Math.floor(Math.abs(a)/90)*90,n=1.5-(Math.sin(e*2*Math.PI/360)/2+Math.cos(e*2*Math.PI/360)/2),o=i.shadowScale,t=i.shadowScale/n,r=i.shadowOffset;s.transform(`scale3d(${o}, 1, ${t}) translate3d(0px, ${d/2+r}px, ${-d/2/t}px) rotateX(-90deg)`)}const p=h.isSafari||h.isWebView?-t/2:0;r.transform(`translate3d(0px,0,${p}px) rotateX(${n.isHorizontal()?0:a}deg) rotateY(${n.isHorizontal()?-a:0}deg)`)},a=e=>{const{$el:t,slides:s}=n;s.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),n.params.cubeEffect.shadow&&!n.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)};d({effect:"cube",swiper:n,on:o,setTranslate:i,setTransition:a,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function l(t,n,s){const a=`swiper-slide-shadow${s?`-${s}`:""}`,i=t.transformEl?n.find(t.transformEl):n;let o=i.children(`.${a}`);return o.length||(o=e(`<div class="swiper-slide-shadow${s?`-${s}`:""}"></div>`),i.append(o)),o}function ln(e){let{swiper:t,extendParams:n,on:s}=e;n({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}});const o=()=>{const{slides:n,rtlTranslate:s}=t,e=t.params.flipEffect;for(let r=0;r<n.length;r+=1){const o=n.eq(r);let i=o[0].progress;t.params.flipEffect.limitRotation&&(i=Math.max(Math.min(o[0].progress,1),-1));const d=o[0].swiperSlideOffset,f=-180*i;let a=f,u=0,c=t.params.cssMode?-d-t.translate:-d,m=0;if(t.isHorizontal()?s&&(a=-a):(m=c,c=0,u=-a,a=0),o[0].style.zIndex=-Math.abs(Math.round(i))+n.length,e.slideShadows){let n=t.isHorizontal()?o.find(".swiper-slide-shadow-left"):o.find(".swiper-slide-shadow-top"),s=t.isHorizontal()?o.find(".swiper-slide-shadow-right"):o.find(".swiper-slide-shadow-bottom");n.length===0&&(n=l(e,o,t.isHorizontal()?"left":"top")),s.length===0&&(s=l(e,o,t.isHorizontal()?"right":"bottom")),n.length&&(n[0].style.opacity=Math.max(-i,0)),s.length&&(s[0].style.opacity=Math.max(i,0))}const p=`translate3d(${c}px, ${m}px, 0px) rotateX(${u}deg) rotateY(${a}deg)`,g=h(e,o);g.transform(p)}},i=e=>{const{transformEl:n}=t.params.flipEffect,s=n?t.slides.find(n):t.slides;s.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),p({swiper:t,duration:e,transformEl:n})};d({effect:"flip",swiper:t,on:s,setTranslate:o,setTransition:i,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}function dn(e){let{swiper:t,extendParams:n,on:s}=e;n({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}});const o=()=>{const{width:a,height:r,slides:s,slidesSizesGrid:c}=t,e=t.params.coverflowEffect,n=t.isHorizontal(),o=t.translate,d=n?-o+a/2:-o+r/2,i=n?e.rotate:-e.rotate,u=e.depth;for(let r=0,w=s.length;r<w;r+=1){const o=s.eq(r),v=c[r],_=o[0].swiperSlideOffset,y=(d-_-v/2)/v,t=typeof e.modifier=="function"?e.modifier(y):y*e.modifier;let f=n?i*t:0,p=n?0:i*t,g=-u*(t<0?-t:t),a=e.stretch;typeof a=="string"&&a.indexOf("%")!==-1&&(a=parseFloat(e.stretch)/100*v);let b=n?0:a*t,m=n?a*t:0,j=1-(1-e.scale)*(t<0?-t:t);(m<0?-m:m)<.001&&(m=0),(b<0?-b:b)<.001&&(b=0),(g<0?-g:g)<.001&&(g=0),(f<0?-f:f)<.001&&(f=0),(p<0?-p:p)<.001&&(p=0),(j<0?-j:j)<.001&&(j=0);const O=`translate3d(${m}px,${b}px,${g}px)  rotateX(${p}deg) rotateY(${f}deg) scale(${j})`,x=h(e,o);if(x.transform(O),o[0].style.zIndex=-Math.abs(Math.round(t))+1,e.slideShadows){let s=n?o.find(".swiper-slide-shadow-left"):o.find(".swiper-slide-shadow-top"),i=n?o.find(".swiper-slide-shadow-right"):o.find(".swiper-slide-shadow-bottom");s.length===0&&(s=l(e,o,n?"left":"top")),i.length===0&&(i=l(e,o,n?"right":"bottom")),s.length&&(s[0].style.opacity=t>0?t:0),i.length&&(i[0].style.opacity=-t>0?-t:0)}}},i=e=>{const{transformEl:n}=t.params.coverflowEffect,s=n?t.slides.find(n):t.slides;s.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)};d({effect:"coverflow",swiper:t,on:s,setTranslate:o,setTransition:i,perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function un(e){let{swiper:t,extendParams:n,on:s}=e;n({creativeEffect:{transformEl:null,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 o=e=>typeof e=="string"?e:`${e}px`,i=()=>{const{slides:s,$wrapperEl:a,slidesSizesGrid:r}=t,e=t.params.creativeEffect,{progressMultiplier:n}=e,i=t.params.centeredSlides;if(i){const e=r[0]/2-t.params.slidesOffsetBefore||0;a.transform(`translateX(calc(50% - ${e}px))`)}for(let p=0;p<s.length;p+=1){const r=s.eq(p),b=r[0].progress,c=Math.min(Math.max(r[0].progress,-e.limitProgress),e.limitProgress);let d=c;i||(d=Math.min(Math.max(r[0].originalProgress,-e.limitProgress),e.limitProgress));const g=r[0].swiperSlideOffset,u=[t.params.cssMode?-g-t.translate:-g,0,0],m=[0,0,0];let f=!1;t.isHorizontal()||(u[1]=u[0],u[0]=0);let a={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(a=e.next,f=!0):c>0&&(a=e.prev,f=!0),u.forEach((e,t)=>{u[t]=`calc(${e}px + (${o(a.translate[t])} * ${Math.abs(c*n)}))`}),m.forEach((e,t)=>{m[t]=a.rotate[t]*Math.abs(c*n)}),r[0].style.zIndex=-Math.abs(Math.round(b))+s.length;const j=u.join(", "),y=`rotateX(${m[0]}deg) rotateY(${m[1]}deg) rotateZ(${m[2]}deg)`,_=d<0?`scale(${1+(1-a.scale)*d*n})`:`scale(${1-(1-a.scale)*d*n})`,w=d<0?1+(1-a.opacity)*d*n:1-(1-a.opacity)*d*n,O=`translate3d(${j}) ${y} ${_}`;if(f&&a.shadow||!f){let t=r.children(".swiper-slide-shadow");if(t.length===0&&a.shadow&&(t=l(e,r)),t.length){const n=e.shadowPerProgress?c*(1/e.limitProgress):c;t[0].style.opacity=Math.min(Math.max(n<0?-n:n,0),1)}}const v=h(e,r);v.transform(O).css({opacity:w}),a.origin&&v.css("transform-origin",a.origin)}},a=e=>{const{transformEl:n}=t.params.creativeEffect,s=n?t.slides.find(n):t.slides;s.transition(e).find(".swiper-slide-shadow").transition(e),p({swiper:t,duration:e,transformEl:n,allSlides:!0})};d({effect:"creative",swiper:t,on:s,setTranslate:i,setTransition:a,perspective:()=>t.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}function hn(e){let{swiper:t,extendParams:n,on:s}=e;n({cardsEffect:{slideShadows:!0,transformEl:null}});const o=()=>{const{slides:e,activeIndex:n}=t,s=t.params.cardsEffect,{startTranslate:o,isTouched:i}=t.touchEventsData,a=t.translate;for(let u=0;u<e.length;u+=1){const d=e.eq(u),j=d[0].progress,r=Math.min(Math.max(j,-4),4);let g=d[0].swiperSlideOffset;t.params.centeredSlides&&!t.params.cssMode&&t.$wrapperEl.transform(`translateX(${t.minTranslate()}px)`),t.params.centeredSlides&&t.params.cssMode&&(g-=e[0].swiperSlideOffset);let c=t.params.cssMode?-g-t.translate:-g,m=0;const y=-100*(r<0?-r:r);let p=1,b=-2*r,v=8-(r<0?-r:r)*.75;const f=t.virtual&&t.params.virtual.enabled?t.virtual.from+u:u,_=(f===n||f===n-1)&&r>0&&r<1&&(i||t.params.cssMode)&&a<o,w=(f===n||f===n+1)&&r<0&&r>-1&&(i||t.params.cssMode)&&a>o;if(_||w){const e=(1-Math.abs((Math.abs(r)-.5)/.5))**.5;b+=-28*r*e,p+=-.5*e,v+=96*e,m=`${-25*e*Math.abs(r)}%`}if(r<0?c=`calc(${c}px + (${v*Math.abs(r)}%))`:r>0?c=`calc(${c}px + (-${v*Math.abs(r)}%))`:c=`${c}px`,!t.isHorizontal()){const e=m;m=c,c=e}const O=r<0?`${1+(1-p)*r}`:`${1-(1-p)*r}`,x=`
      translate3d(${c}, ${m}, ${y}px)
      rotateZ(${b}deg)
      scale(${O})
    `;if(s.slideShadows){let e=d.find(".swiper-slide-shadow");e.length===0&&(e=l(s,d)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(r)-.5)/.5,0),1))}d[0].style.zIndex=-Math.abs(Math.round(j))+e.length;const C=h(s,d);C.transform(x)}},i=e=>{const{transformEl:n}=t.params.cardsEffect,s=n?t.slides.find(n):t.slides;s.transition(e).find(".swiper-slide-shadow").transition(e),p({swiper:t,duration:e,transformEl:n})};d({effect:"cards",swiper:t,on:s,setTranslate:o,setTransition:i,perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!t.params.cssMode})})}const mn=[Ft,Tt,zt,Nt,Rt,Pt,Ht,It,Bt,Vt,$t,Wt,Ut,Kt,qt,Yt,Gt,tn,an,rn,ln,dn,un,hn];return i.use(mn),i}),!function(e){if("function"==typeof define&&define.amd&&(define(e),t=!0),"object"==typeof exports&&(module.exports=e(),t=!0),!t){var t,s=window.Cookies,n=window.Cookies=e();n.noConflict=function(){return window.Cookies=s,n}}}(function(){function e(){for(var t,s,e=0,n={};e<arguments.length;e++){t=arguments[e];for(s in t)n[s]=t[s]}return n}function t(e){return e.replace(/(%[0-9A-Z]{2})+/g,decodeURIComponent)}return function n(s){function o(){}function i(t,n,i){if("undefined"!=typeof document){"number"==typeof(i=e({path:"/"},o.defaults,i)).expires&&(i.expires=new Date(1*new Date+864e5*i.expires)),i.expires=i.expires?i.expires.toUTCString():"";try{var a,r,c=JSON.stringify(n);/^[{[]/.test(c)&&(n=c)}catch{}n=s.write?s.write(n,t):encodeURIComponent(String(n)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape),a="";for(r in i)i[r]&&(a+="; "+r,!0!==i[r]&&(a+="="+i[r].split(";")[0]));return document.cookie=t+"="+n+a}}function a(e,n){if("undefined"!=typeof document){for(var o,i,c,a={},l=document.cookie?document.cookie.split("; "):[],r=0;r<l.length;r++){c=l[r].split("="),o=c.slice(1).join("="),n||'"'!==o.charAt(0)||(o=o.slice(1,-1));try{if(i=t(c[0]),(o=(s.read||s)(o,i)||t(o),n))try{o=JSON.parse(o)}catch{}if(a[i]=o,e===i)break}catch{}}return e?a[e]:a}}return o.set=i,o.get=function(e){return a(e,!1)},o.getJSON=function(e){return a(e,!0)},o.remove=function(t,n){i(t,"",e(n,{expires:-1}))},o.defaults={},o.withConverter=n,o}(function(){})}),function(){"use strict";const e=document.querySelectorAll(".nav-dropdown > .nav-link");e.forEach(e=>{e?.addEventListener("click",e=>{e.target.closest(".nav-item").classList.toggle("active")})}),new Swiper(".testimonial-slider",{spaceBetween:24,loop:!0,pagination:{el:".testimonial-slider-pagination",type:"bullets",clickable:!0},breakpoints:{768:{slidesPerView:2},992:{slidesPerView:3}}})}()