HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/quadcode/frontend/dist/news.11176d2d89ccf8d7d71c.js
(()=>{var e={4276:()=>{window.addEventListener("load",(()=>{const e=document.querySelector(".header"),t=document.querySelectorAll(".dropdown");t&&t.forEach((s=>{const i=s.querySelectorAll(".dropdown__link");i&&(s.addEventListener("mousemove",(()=>{s.classList.add("dropdown_open"),t.forEach((e=>{e.classList.add("dropdown_active")})),e.classList.contains("header_white")?i.forEach((e=>{e.addEventListener("mousemove",(()=>{i.forEach((e=>{e.style.color="rgba(20, 20, 20, 0.5)"})),e.style.color="#141414"})),e.addEventListener("mouseout",(()=>{e.style.color="#141414",i.forEach((e=>{e.style.color="#141414"}))}))})):i.forEach((e=>{e.addEventListener("mousemove",(()=>{i.forEach((e=>{e.style.color="rgba(255, 255, 255, 0.5)"})),e.style.color="white"})),e.addEventListener("mouseout",(()=>{e.style.color="white",i.forEach((e=>{e.style.color="white"}))}))}))})),s.addEventListener("mouseout",(()=>{s.classList.remove("dropdown_open"),t.forEach((e=>{e.classList.remove("dropdown_active")}))})))}))}))},5197:()=>{window.addEventListener("load",(()=>{const e=document.querySelector(".lang");if(!e)return;const t=e.querySelector(".lang__btn"),s=e.querySelector(".lang__list");t.addEventListener("mouseover",(()=>{i()})),t.addEventListener("mouseout",(()=>{n()})),s.addEventListener("mouseover",(()=>{i()})),s.addEventListener("mouseout",(()=>{n()}));const i=()=>{e.classList.add("lang_active"),setTimeout((()=>{e.classList.add("lang_animation")}),600)},n=()=>{e.classList.remove("lang_active")}}))},8106:()=>{window.addEventListener("load",(()=>{const t=document.querySelector(".btn-burger"),s=document.querySelector(".menu-mobile__close"),i=document.querySelector(".menu-mobile");t.addEventListener("click",(()=>{i.classList.add("open")})),s.addEventListener("click",(()=>{i.classList.remove("open")}));const n=document.querySelectorAll(".menu-mobile__list");n.forEach((t=>{const s=t.querySelector(".menu-mobile__listHeader"),i=t.querySelector(".menu-mobile__listBody");s.addEventListener("click",(s=>{const a=setTimeout((()=>{t.classList.contains("open")?(t.classList.remove("open"),i.style.height="0px"):(e(n),t.classList.add("open"),i.style.height=`${s.target.nextElementSibling.scrollHeight}px`),clearTimeout(a)}),50)}))}))}));const e=e=>{e.forEach((e=>{const t=e.querySelector(".menu-mobile__listBody");e.classList.remove("open"),t.style.height="0px"}))}},7125:()=>{window.addEventListener("load",(()=>{const t=document.querySelector(".cookie");if(!t)return!1;const s=t.querySelector(".cookieButton");let i=localStorage.getItem("cookieConsent");e(i),i?t.classList.remove("active"):(t.classList.add("active"),s.addEventListener("click",(()=>{t.classList.remove("active"),localStorage.setItem("cookieConsent","true"),e(!0)})))}));const e=e=>{const t=document.body;t&&(e?t.classList.remove("cookieUse"):t.classList.add("cookieUse"))}},7788:()=>{document.body.style.overflowY="hidden";const e=document.querySelector(".loader-body");window.addEventListener("load",(()=>{e.classList.remove("loader-body--active"),setTimeout((()=>{e.remove(),document.body.style.overflowY="scroll"}),500)}))}},t={};function s(i){var n=t[i];if(void 0!==n)return n.exports;var a=t[i]={exports:{}};return e[i](a,a.exports,s),a.exports}(()=>{"use strict";s(5197),s(4276),s(8106),s(7125),window.addEventListener("load",(()=>{const e=document.querySelector(".header"),t=document.querySelector(".welcome"),s=document.querySelector(".slider-info"),i=document.querySelector(".main-screen"),n=document.querySelector(".partnership-welcome"),a=document.querySelector(".management-welcome"),r=document.querySelector(".main-screen--about"),o=document.querySelectorAll(".dropdown__link"),l=window.matchMedia("(min-width: 1200px)");let d=window.scrollY,c=0;const p=document.querySelector(".js-sustainability-animation"),u=document.querySelector(".js-partnership-animation"),h=document.querySelector(".js-ubo-animation"),f=document.querySelector(".js-about-animation"),m=document.querySelector(".js-manager-animation");(p||a||h)&&e.classList.add("header_ghost");const g=()=>{e.classList.add("header_white"),o.forEach((e=>{e.style.color="#141414"}))},v=()=>{let t;t=window.scrollY,(p||u||f)&&l.matches||(t>=c?g():(e.classList.remove("header_white"),o.forEach((e=>{e.style.color="white"}))))};t&&s&&(c=t.scrollHeight+s.scrollHeight-350),i&&(c=i.scrollHeight),(a||h)&&(c=50),n&&(c=n.scrollHeight),r&&(c=2*r.scrollHeight),v(),window.addEventListener("scroll",(function(){d=window.scrollY,v()})),m&&g()})),s(7788);const e={items:[{id:2,title:"Quadcode Partners with Pavlos Kontides to Support Young Sailing Athletes",description:"Quadcode has set sail on a new journey, partnering up with the Cyprus sailing rockstar Pavlos Kontides and granting two scholarships to promising...",date:"20 February, 2023",text:["Quadcode has set sail on a new journey, partnering up with the Cyprus sailing rockstar Pavlos Kontides and granting two scholarships to promising athletes.","Pavlos Kontides, a world-class sailor and the first-ever Olympic medalist from Cyprus, has made his mark on the world of sailing by winning the silver medal at the London 2012 Olympics and several other international competitions. His dedication, hard work, and passion for sports make him the perfect partner for Quadcode as they share the skill for navigating difficulties and speeding to the top — with tailwinds and headwinds alike.",'<div class="comment">\n          <p class="comment__title defaultBase">“We are so proud to continue our amazing partnership with Pavlos Kontides, the Olympic medalist, that we started last year in September with the camp we did together. We continue with this amazing event, giving scholarships to the amazing youngsters in this tough field.”</p>\n          <a href="/manager-gitsis" class="comment__author defaultBase" target="_blank">Michael Gitsis</a>\n          <p class="comment__post defaultSmall">Chief Financial & Administrative Officer and Executive Director of Quadcode</p>\n        </div>','As stated, this is not the first time Quadcode merges forces with Pavlos Kontides to support the development of sports in Cyprus. In 2022, they <a href="https://pavloskontides.com/%cf%84%ce%b7%ce%bd-%cf%80%ce%bf%ce%bb%cf%8d%cf%80%ce%bb%ce%b5%cf%85%cf%81%ce%b7-%cf%83%cf%85%ce%bd%ce%b5%cf%81%ce%b3%ce%b1%cf%83%ce%af%ce%b1-%cf%84%ce%bf%cf%85%cf%82-%ce%b1%ce%bd%ce%b1%ce%ba%ce%bf/" target="_blank">signed a partnership agreement</a> for a series of events aimed to popularize active lifestyle in general and sailing in particular among the local population.','The first event of the series was a <a href="https://pavloskontides.com/%cf%84%ce%b7%ce%bd-%cf%80%ce%bf%ce%bb%cf%8d%cf%80%ce%bb%ce%b5%cf%85%cf%81%ce%b7-%cf%83%cf%85%ce%bd%ce%b5%cf%81%ce%b3%ce%b1%cf%83%ce%af%ce%b1-%cf%84%ce%bf%cf%85%cf%82-%ce%b1%ce%bd%ce%b1%ce%ba%ce%bf/" target="_blank">two-day training camp</a>, which was attended by dozens of sailing enthusiasts. This year\'s initiative awarded scholarships to two outstanding sailing athletes from Cyprus. The winners have shown tremendous potential and dedication to their craft — now, the Quadcode scholarships will help them get the resources they need to further develop in their sport.',"The Quadcode and Pavlos Kontides initiatives are a great example of how the private sector can give back to the community while engaging more people into physical activities and a healthy lifestyle. More joint events are to be announced soon, with the goal of supporting young athletes in succeeding in the competitive world of sailing and beyond."],tags:["Holding News"],tagsFilter:["holding"],imagePreview:"../../assets/resource/news/newsBig-3.png",imageCard:"../../assets/resource/news/news-3.png",ogImage:`${location.host}/assets/resource/news/newsBig-3.png`,link:"news/quadcode-partners-with-pavlos-kontides-to-support-young-sailing-athletes"},{id:0,title:"Quadcode SaaS Receives UF AWARD for Best All-in-One Brokerage Solution",description:"",date:"20 January, 2023",text:["Quadcode SaaS has been recognized for its excellence in the fintech industry with the UF AWARD for the Best All-in-One Brokerage Solution.","The UF AWARDS honors top B2C and B2B brands in the online trading and fintech industry across the Middle East and Africa.","Receiving the UF AWARD is a special milestone for us, as it's our first trophy. It's a great honor to see our brainchild evolving and contributing to the brokerage industry, and we're hopeful that the UF award is just the beginning.","We are excited about the future and look forward to continuing to innovate brokerage software, making it more efficient and user-friendly for all parties involved."],tags:["SaaS","Holding News"],tagsFilter:["saas","holding"],imagePreview:"../../assets/resource/news/hero-1.jpg",imageCard:"../../assets/resource/news/hero-1.jpg",ogImage:`${location.host}/assets/resource/news/hero-1.jpg`,link:"news/quadcode-saas-receives-uf-award-for-best-all-in-on-broke"},{id:1,title:"Quadcode SaaS Debuts at iFX Expo",description:"Quadcode SaaS participated in the iFX Expo, which took place on January 16-18, 2023 in Dubai. This marks the first time the company has exhibited at the event.",date:"20 January, 2023",text:"",tags:["SaaS","Holding News"],tagsFilter:["saas","holding"],imagePreview:"../../assets/resource/news/news-1.jpg",imageCard:"../../assets/resource/news/news-1.jpg",ogImage:`${location.host}/assets/resource/news/news-1.jpg`,images:["../../assets/resource/news/1/1.jpg","../../assets/resource/news/1/2.jpg","../../assets/resource/news/1/3.jpg","../../assets/resource/news/1/4.jpg","../../assets/resource/news/1/5.jpeg","../../assets/resource/news/1/6.png"],link:"news/quadcode-saas-debuts-at-ifx-expo"}],count:2},t={id:0,title:"Quadcode SaaS Receives UF AWARD for Best All-in-One Brokerage Solution",description:"",date:"20 January, 2023",text:["Quadcode SaaS has been recognized for its excellence in the fintech industry with the UF AWARD for the Best All-in-One Brokerage Solution.","The UF AWARDS honors top B2C and B2B brands in the online trading and fintech industry across the Middle East and Africa.","Receiving the UF AWARD is a special milestone for us, as it's our first trophy. It's a great honor to see our brainchild evolving and contributing to the brokerage industry, and we're hopeful that the UF award is just the beginning.","We are excited about the future and look forward to continuing to innovate brokerage software, making it more efficient and user-friendly for all parties involved."],tags:["SaaS","Holding News"],tagsFilter:["saas","holding"],imagePreview:"../../assets/resource/news/hero-1.jpg",ogImage:`${location.host}/assets/resource/news/hero-1.jpg`,link:"news/quadcode-saas-receives-uf-award-for-best-all-in-on-broke"},i={id:1,title:"Quadcode SaaS Debuts at iFX Expo",description:"Quadcode SaaS participated in the iFX Expo, which took place on January 16-18, 2023 in Dubai. This marks the first time the company has exhibited at the event.",date:"20 January, 2023",text:["Quadcode SaaS participated in the iFX Expo, which took place on January 16-18, 2023 in Dubai. This marks the first time the company has exhibited at the event.","The iFX Expo is an annual conference that brings together major players in the financial technology industry. This year, it was attended by more than 120 industry-leading companies from all over the world, with keynote speeches and panel discussions from some of the biggest names in finance and tech.","We were thrilled to be among the exhibitors, showing off our flagship trading platform to industry professionals. Our reps reported an overwhelmingly positive response — the attendees appreciated the platform's intuitive UI and overall innovative approach to fintech.","The public interest in our platform at the exhibition confirmed the demand for ready-made fintech solutions. This supports our commitment to further experimentation with our product, and we are positive that it will make a significant impact on the fintech landscape in the years to come."],tags:["SaaS","Holding News"],tagsFilter:["saas","holding"],imagePreview:"../../assets/resource/news/news-1.jpg",ogImage:`${location.host}/assets/resource/news/news-1.jpg`,images:["../../assets/resource/news/1/1.jpg","../../assets/resource/news/1/2.jpg","../../assets/resource/news/1/3.jpg","../../assets/resource/news/1/4.jpg","../../assets/resource/news/1/5.jpeg","../../assets/resource/news/1/6.png"],link:"news/quadcode-saas-debuts-at-ifx-expo"},n={id:2,title:"Quadcode Partners with Pavlos Kontides to Support Young Sailing Athletes",description:"Quadcode has set sail on a new journey, partnering up with the Cyprus sailing rockstar Pavlos Kontides and granting two scholarships to promising...",date:"20 February, 2023",text:["Quadcode has set sail on a new journey, partnering up with the Cyprus sailing rockstar Pavlos Kontides and granting two scholarships to promising athletes.","Pavlos Kontides, a world-class sailor and the first-ever Olympic medalist from Cyprus, has made his mark on the world of sailing by winning the silver medal at the London 2012 Olympics and several other international competitions. His dedication, hard work, and passion for sports make him the perfect partner for Quadcode as they share the skill for navigating difficulties and speeding to the top — with tailwinds and headwinds alike.",'<div class="comment">\n      <p class="comment__title defaultBase">“We are so proud to continue our amazing partnership with Pavlos Kontides, the Olympic medalist, that we started last year in September with the camp we did together. We continue with this amazing event, giving scholarships to the amazing youngsters in this tough field.”</p>\n      <a href="/manager-gitsis" class="comment__author defaultBase">Michael Gitsis</a>\n      <p class="comment__post defaultSmall">Chief Financial & Administrative Officer and Executive Director of Quadcode</p>\n    </div>','As stated, this is not the first time Quadcode merges forces with Pavlos Kontides to support the development of sports in Cyprus. In 2022, they <a href="https://pavloskontides.com/%cf%84%ce%b7%ce%bd-%cf%80%ce%bf%ce%bb%cf%8d%cf%80%ce%bb%ce%b5%cf%85%cf%81%ce%b7-%cf%83%cf%85%ce%bd%ce%b5%cf%81%ce%b3%ce%b1%cf%83%ce%af%ce%b1-%cf%84%ce%bf%cf%85%cf%82-%ce%b1%ce%bd%ce%b1%ce%ba%ce%bf/" target="_blank">signed a partnership agreement</a> for a series of events aimed to popularize active lifestyle in general and sailing in particular among the local population.','The first event of the series was a <a href="https://pavloskontides.com/%cf%84%ce%b7%ce%bd-%cf%80%ce%bf%ce%bb%cf%8d%cf%80%ce%bb%ce%b5%cf%85%cf%81%ce%b7-%cf%83%cf%85%ce%bd%ce%b5%cf%81%ce%b3%ce%b1%cf%83%ce%af%ce%b1-%cf%84%ce%bf%cf%85%cf%82-%ce%b1%ce%bd%ce%b1%ce%ba%ce%bf/" target="_blank">two-day training camp</a>, which was attended by dozens of sailing enthusiasts. This year\'s initiative awarded scholarships to two outstanding sailing athletes from Cyprus. The winners have shown tremendous potential and dedication to their craft — now, the Quadcode scholarships will help them get the resources they need to further develop in their sport.',"The Quadcode and Pavlos Kontides initiatives are a great example of how the private sector can give back to the community while engaging more people into physical activities and a healthy lifestyle. More joint events are to be announced soon, with the goal of supporting young athletes in succeeding in the competitive world of sailing and beyond."],tags:["Holding News"],tagsFilter:["holding"],imagePreview:"../../assets/resource/news/newsBig-3.png",imageCard:"../../assets/resource/news/news-3.png",ogImage:`${location.host}/assets/resource/news/newsBig-3.png`,link:"news/quadcode-partners-with-pavlos-kontides-to-support-young-sailing-athletes"},a=(e,t,s)=>{e<=t&&s.classList.add("hide")},r=(e,t,s)=>{e.forEach(((e,i)=>{i+1<=s&&o(t,e)}))},o=(e,t)=>e.innerHTML+=`<div class="block-news__item">${(e=>`\n      <div class="card">\n          <a href="${e.link}" class="card__links"></a>\n          <div class="card__container">\n              <div class="card__image">\n                  ${e.imagePreview?`<img src="${e.imageCard}" alt="">`:""}\n              </div>\n              <div class="card__content">\n                  <div class="card__date defaultXSmall">\n                      <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n                          <path fill-rule="evenodd" clip-rule="evenodd" d="M8.97606 4.98999C9.25221 4.98999 9.47606 5.21385 9.47606 5.48999V8.28999C9.47606 8.56613 9.25221 8.78999 8.97606 8.78999C8.69992 8.78999 8.47606 8.56613 8.47606 8.28999V5.48999C8.47606 5.21385 8.69992 4.98999 8.97606 4.98999ZM14.632 4.98999C14.9082 4.98999 15.132 5.21385 15.132 5.48999V8.28999C15.132 8.56613 14.9082 8.78999 14.632 8.78999C14.3559 8.78999 14.132 8.56613 14.132 8.28999V5.48999C14.132 5.21385 14.3559 4.98999 14.632 4.98999ZM6.53994 6.79604H6.5193L6.49873 6.79775C6.06474 6.83364 5.66282 7.03983 5.38045 7.37115C5.10264 7.69711 4.96258 8.11834 4.98994 8.54549V17.0673C4.96689 17.4926 5.10796 17.9108 5.38455 18.2353C5.66496 18.5643 6.06253 18.7711 6.4928 18.8118L6.51632 18.814H6.53994H17.054H17.0746L17.0951 18.8123C17.529 18.7765 17.9315 18.5718 18.2161 18.2423C18.4969 17.9172 18.6408 17.4962 18.618 17.0676V8.54529C18.6312 8.33563 18.6043 8.12523 18.5385 7.92544C18.4705 7.7192 18.3625 7.52842 18.2206 7.36405C18.0785 7.1996 17.9053 7.06494 17.7113 6.96773C17.5171 6.87047 17.3057 6.81255 17.0891 6.79728L17.0716 6.79604H17.054H16.368C16.0918 6.79604 15.868 7.0199 15.868 7.29604C15.868 7.57219 16.0918 7.79604 16.368 7.79604H17.0339C17.1137 7.80355 17.1916 7.82583 17.2634 7.86182C17.3399 7.90012 17.408 7.95315 17.4637 8.01767C17.5195 8.08229 17.562 8.1573 17.5887 8.23841C17.6154 8.31943 17.6259 8.405 17.6194 8.49023L17.618 8.50911V8.52805V17.0821V17.098L17.619 17.1139C17.63 17.2869 17.5727 17.4574 17.4593 17.5887C17.3498 17.7155 17.1965 17.7958 17.0305 17.814H6.56687C6.40322 17.7935 6.25288 17.7125 6.14563 17.5866C6.03398 17.4556 5.97775 17.2863 5.9889 17.1144L5.98994 17.0983V17.0821V8.52805V8.50888L5.98848 8.48976C5.97538 8.31922 6.03038 8.15022 6.14153 8.0198C6.24879 7.89396 6.39974 7.81411 6.56352 7.79604H7.08613C7.36228 7.79604 7.58613 7.57219 7.58613 7.29604C7.58613 7.0199 7.36228 6.79604 7.08613 6.79604H6.53994ZM10.3101 7.29604C10.3101 7.0199 10.5339 6.79604 10.8101 6.79604H12.7001C12.9762 6.79604 13.2001 7.0199 13.2001 7.29604C13.2001 7.57219 12.9762 7.79604 12.7001 7.79604H10.8101C10.5339 7.79604 10.3101 7.57219 10.3101 7.29604ZM9.63464 12.2693C9.98513 12.2693 10.2693 11.9851 10.2693 11.6346C10.2693 11.2842 9.98513 11 9.63464 11C9.28415 11 9.00003 11.2842 9.00003 11.6346C9.00003 11.9851 9.28415 12.2693 9.63464 12.2693ZM9.63464 14.3846C9.98513 14.3846 10.2693 14.1005 10.2693 13.75C10.2693 13.3995 9.98513 13.1154 9.63464 13.1154C9.28415 13.1154 9.00003 13.3995 9.00003 13.75C9.00003 14.1005 9.28415 14.3846 9.63464 14.3846ZM12.3846 11.6346C12.3846 11.9851 12.1005 12.2693 11.75 12.2693C11.3995 12.2693 11.1154 11.9851 11.1154 11.6346C11.1154 11.2842 11.3995 11 11.75 11C12.1005 11 12.3846 11.2842 12.3846 11.6346ZM11.75 14.3846C12.1005 14.3846 12.3846 14.1005 12.3846 13.75C12.3846 13.3995 12.1005 13.1154 11.75 13.1154C11.3995 13.1154 11.1154 13.3995 11.1154 13.75C11.1154 14.1005 11.3995 14.3846 11.75 14.3846ZM14.5 11.6346C14.5 11.9851 14.2159 12.2693 13.8654 12.2693C13.5149 12.2693 13.2308 11.9851 13.2308 11.6346C13.2308 11.2842 13.5149 11 13.8654 11C14.2159 11 14.5 11.2842 14.5 11.6346ZM13.8654 14.3846C14.2159 14.3846 14.5 14.1005 14.5 13.75C14.5 13.3995 14.2159 13.1154 13.8654 13.1154C13.5149 13.1154 13.2308 13.3995 13.2308 13.75C13.2308 14.1005 13.5149 14.3846 13.8654 14.3846Z" fill="#141414"/>\n                      </svg>\n                      <span>${e.date}</span>\n                  </div>\n                  <a href="${e.link}" class="card__title titleBase">${e.title}</a>\n                  <div class="card__description defaultSmall">${e.description}</div>\n                  <div class="card__link">\n                      <a href="${e.link}" class="btn-link">\n                          <span class="btn-link__text CTABase">Read more</span>\n                          <span class="btn-link__svg">\n                              <svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg">\n                                  <path d="M1 3.5C0.723858 3.5 0.5 3.72386 0.5 4C0.5 4.27614 0.723858 4.5 1 4.5V3.5ZM11.3536 4.35355C11.5488 4.15829 11.5488 3.84171 11.3536 3.64645L8.17157 0.464466C7.97631 0.269204 7.65973 0.269204 7.46447 0.464466C7.2692 0.659728 7.2692 0.976311 7.46447 1.17157L10.2929 4L7.46447 6.82843C7.2692 7.02369 7.2692 7.34027 7.46447 7.53553C7.65973 7.7308 7.97631 7.7308 8.17157 7.53553L11.3536 4.35355ZM1 4.5H11V3.5H1V4.5Z" fill="white"/>\n                              </svg>\n                          </span>\n                      </a>\n                  </div>\n              </div>\n          </div>\n      </div>  \n  `)(t)}</div>`;function l(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function d(e={},t={}){Object.keys(t).forEach((s=>{void 0===e[s]?e[s]=t[s]:l(t[s])&&l(e[s])&&Object.keys(t[s]).length>0&&d(e[s],t[s])}))}const c={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function p(){const e="undefined"!=typeof document?document:{};return d(e,c),e}const u={document:c,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function h(){const e="undefined"!=typeof window?window:{};return d(e,u),e}class f extends Array{constructor(e){"number"==typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function m(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...m(e)):t.push(e)})),t}function g(e,t){return Array.prototype.filter.call(e,t)}function v(e,t){const s=h(),i=p();let n=[];if(!t&&e instanceof f)return e;if(!e)return new f(n);if("string"==typeof e){const s=e.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){let e="div";0===s.indexOf("<li")&&(e="ul"),0===s.indexOf("<tr")&&(e="tbody"),0!==s.indexOf("<td")&&0!==s.indexOf("<th")||(e="tr"),0===s.indexOf("<tbody")&&(e="table"),0===s.indexOf("<option")&&(e="select");const t=i.createElement(e);t.innerHTML=s;for(let e=0;e<t.childNodes.length;e+=1)n.push(t.childNodes[e])}else n=function(e,t){if("string"!=typeof e)return[e];const s=[],i=t.querySelectorAll(e);for(let e=0;e<i.length;e+=1)s.push(i[e]);return s}(e.trim(),t||i)}else if(e.nodeType||e===s||e===i)n.push(e);else if(Array.isArray(e)){if(e instanceof f)return e;n=e}return new f(function(e){const t=[];for(let s=0;s<e.length;s+=1)-1===t.indexOf(e[s])&&t.push(e[s]);return t}(n))}v.fn=f.prototype;const w="resize scroll".split(" ");function b(e){return function(...t){if(void 0===t[0]){for(let t=0;t<this.length;t+=1)w.indexOf(e)<0&&(e in this[t]?this[t][e]():v(this[t]).trigger(e));return this}return this.on(e,...t)}}b("click"),b("blur"),b("focus"),b("focusin"),b("focusout"),b("keyup"),b("keydown"),b("keypress"),b("submit"),b("change"),b("mousedown"),b("mousemove"),b("mouseup"),b("mouseenter"),b("mouseleave"),b("mouseout"),b("mouseover"),b("touchstart"),b("touchend"),b("touchmove"),b("resize"),b("scroll");const C={addClass:function(...e){const t=m(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=m(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=m(e.map((e=>e.split(" "))));return g(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=m(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let s=0;s<this.length;s+=1)if(2===arguments.length)this[s].setAttribute(e,t);else for(const t in e)this[s][t]=e[t],this[s].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!=typeof e?`${e}ms`:e;return this},on:function(...e){let[t,s,i,n]=e;function a(e){const t=e.target;if(!t)return;const n=e.target.dom7EventData||[];if(n.indexOf(e)<0&&n.unshift(e),v(t).is(s))i.apply(t,n);else{const e=v(t).parents();for(let t=0;t<e.length;t+=1)v(e[t]).is(s)&&i.apply(e[t],n)}}function r(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),i.apply(this,t)}"function"==typeof e[1]&&([t,i,n]=e,s=void 0),n||(n=!1);const o=t.split(" ");let l;for(let e=0;e<this.length;e+=1){const t=this[e];if(s)for(l=0;l<o.length;l+=1){const e=o[l];t.dom7LiveListeners||(t.dom7LiveListeners={}),t.dom7LiveListeners[e]||(t.dom7LiveListeners[e]=[]),t.dom7LiveListeners[e].push({listener:i,proxyListener:a}),t.addEventListener(e,a,n)}else for(l=0;l<o.length;l+=1){const e=o[l];t.dom7Listeners||(t.dom7Listeners={}),t.dom7Listeners[e]||(t.dom7Listeners[e]=[]),t.dom7Listeners[e].push({listener:i,proxyListener:r}),t.addEventListener(e,r,n)}}return this},off:function(...e){let[t,s,i,n]=e;"function"==typeof e[1]&&([t,i,n]=e,s=void 0),n||(n=!1);const a=t.split(" ");for(let e=0;e<a.length;e+=1){const t=a[e];for(let e=0;e<this.length;e+=1){const a=this[e];let r;if(!s&&a.dom7Listeners?r=a.dom7Listeners[t]:s&&a.dom7LiveListeners&&(r=a.dom7LiveListeners[t]),r&&r.length)for(let e=r.length-1;e>=0;e-=1){const s=r[e];i&&s.listener===i||i&&s.listener&&s.listener.dom7proxy&&s.listener.dom7proxy===i?(a.removeEventListener(t,s.proxyListener,n),r.splice(e,1)):i||(a.removeEventListener(t,s.proxyListener,n),r.splice(e,1))}}}return this},trigger:function(...e){const t=h(),s=e[0].split(" "),i=e[1];for(let n=0;n<s.length;n+=1){const a=s[n];for(let s=0;s<this.length;s+=1){const n=this[s];if(t.CustomEvent){const s=new t.CustomEvent(a,{detail:i,bubbles:!0,cancelable:!0});n.dom7EventData=e.filter(((e,t)=>t>0)),n.dispatchEvent(s),n.dom7EventData=[],delete n.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function s(i){i.target===this&&(e.call(this,i),t.off("transitionend",s))})),this},outerWidth:function(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},outerHeight:function(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},styles:function(){const e=h();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=h(),t=p(),s=this[0],i=s.getBoundingClientRect(),n=t.body,a=s.clientTop||n.clientTop||0,r=s.clientLeft||n.clientLeft||0,o=s===e?e.scrollY:s.scrollTop,l=s===e?e.scrollX:s.scrollLeft;return{top:i.top+o-a,left:i.left+l-r}}return null},css:function(e,t){const s=h();let i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(const t in e)this[i].style[t]=e[t];return this}if(this[0])return s.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,s)=>{e.apply(t,[t,s])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=h(),s=p(),i=this[0];let n,a;if(!i||void 0===e)return!1;if("string"==typeof e){if(i.matches)return i.matches(e);if(i.webkitMatchesSelector)return i.webkitMatchesSelector(e);if(i.msMatchesSelector)return i.msMatchesSelector(e);for(n=v(e),a=0;a<n.length;a+=1)if(n[a]===i)return!0;return!1}if(e===s)return i===s;if(e===t)return i===t;if(e.nodeType||e instanceof f){for(n=e.nodeType?[e]:e,a=0;a<n.length;a+=1)if(n[a]===i)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;const t=this.length;if(e>t-1)return v([]);if(e<0){const s=t+e;return v(s<0?[]:[this[s]])}return v([this[e]])},append:function(...e){let t;const s=p();for(let i=0;i<e.length;i+=1){t=e[i];for(let e=0;e<this.length;e+=1)if("string"==typeof t){const i=s.createElement("div");for(i.innerHTML=t;i.firstChild;)this[e].appendChild(i.firstChild)}else if(t instanceof f)for(let s=0;s<t.length;s+=1)this[e].appendChild(t[s]);else this[e].appendChild(t)}return this},prepend:function(e){const t=p();let s,i;for(s=0;s<this.length;s+=1)if("string"==typeof e){const n=t.createElement("div");for(n.innerHTML=e,i=n.childNodes.length-1;i>=0;i-=1)this[s].insertBefore(n.childNodes[i],this[s].childNodes[0])}else if(e instanceof f)for(i=0;i<e.length;i+=1)this[s].insertBefore(e[i],this[s].childNodes[0]);else this[s].insertBefore(e,this[s].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&v(this[0].nextElementSibling).is(e)?v([this[0].nextElementSibling]):v([]):this[0].nextElementSibling?v([this[0].nextElementSibling]):v([]):v([])},nextAll:function(e){const t=[];let s=this[0];if(!s)return v([]);for(;s.nextElementSibling;){const i=s.nextElementSibling;e?v(i).is(e)&&t.push(i):t.push(i),s=i}return v(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&v(t.previousElementSibling).is(e)?v([t.previousElementSibling]):v([]):t.previousElementSibling?v([t.previousElementSibling]):v([])}return v([])},prevAll:function(e){const t=[];let s=this[0];if(!s)return v([]);for(;s.previousElementSibling;){const i=s.previousElementSibling;e?v(i).is(e)&&t.push(i):t.push(i),s=i}return v(t)},parent:function(e){const t=[];for(let s=0;s<this.length;s+=1)null!==this[s].parentNode&&(e?v(this[s].parentNode).is(e)&&t.push(this[s].parentNode):t.push(this[s].parentNode));return v(t)},parents:function(e){const t=[];for(let s=0;s<this.length;s+=1){let i=this[s].parentNode;for(;i;)e?v(i).is(e)&&t.push(i):t.push(i),i=i.parentNode}return v(t)},closest:function(e){let t=this;return void 0===e?v([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let s=0;s<this.length;s+=1){const i=this[s].querySelectorAll(e);for(let e=0;e<i.length;e+=1)t.push(i[e])}return v(t)},children:function(e){const t=[];for(let s=0;s<this.length;s+=1){const i=this[s].children;for(let s=0;s<i.length;s+=1)e&&!v(i[s]).is(e)||t.push(i[s])}return v(t)},filter:function(e){return v(g(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(C).forEach((e=>{Object.defineProperty(v.fn,e,{value:C[e],writable:!0})}));const y=v;function S(e,t=0){return setTimeout(e,t)}function T(){return Date.now()}function E(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function x(...e){const t=Object(e[0]),s=["__proto__","constructor","prototype"];for(let n=1;n<e.length;n+=1){const a=e[n];if(null!=a&&(i=a,!("undefined"!=typeof window&&void 0!==window.HTMLElement?i instanceof HTMLElement:i&&(1===i.nodeType||11===i.nodeType)))){const e=Object.keys(Object(a)).filter((e=>s.indexOf(e)<0));for(let s=0,i=e.length;s<i;s+=1){const i=e[s],n=Object.getOwnPropertyDescriptor(a,i);void 0!==n&&n.enumerable&&(E(t[i])&&E(a[i])?a[i].__swiper__?t[i]=a[i]:x(t[i],a[i]):!E(t[i])&&E(a[i])?(t[i]={},a[i].__swiper__?t[i]=a[i]:x(t[i],a[i])):t[i]=a[i])}}}var i;return t}function k(e,t,s){e.style.setProperty(t,s)}function L({swiper:e,targetPosition:t,side:s}){const i=h(),n=-e.translate;let a,r=null;const o=e.params.speed;e.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(e.cssModeFrameID);const l=t>n?"next":"prev",d=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,c=()=>{a=(new Date).getTime(),null===r&&(r=a);const l=Math.max(Math.min((a-r)/o,1),0),p=.5-Math.cos(l*Math.PI)/2;let u=n+p*(t-n);if(d(u,t)&&(u=t),e.wrapperEl.scrollTo({[s]:u}),d(u,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:u})})),void i.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=i.requestAnimationFrame(c)};c()}let M,$,P;function _(){return M||(M=function(){const e=h(),t=p();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const s=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,s)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),M}const A={on(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;const n=s?"unshift":"push";return e.split(" ").forEach((e=>{i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e][n](t)})),i},once(e,t,s){const i=this;if(!i.eventsListeners||i.destroyed)return i;if("function"!=typeof t)return i;function n(...s){i.off(e,n),n.__emitterProxy&&delete n.__emitterProxy,t.apply(i,s)}return n.__emitterProxy=t,i.on(e,n,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const i=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[i](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((i,n)=>{(i===t||i.__emitterProxy&&i.__emitterProxy===t)&&s.eventsListeners[e].splice(n,1)}))})),s):s},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let s,i,n;return"string"==typeof e[0]||Array.isArray(e[0])?(s=e[0],i=e.slice(1,e.length),n=t):(s=e[0].events,i=e[0].data,n=e[0].context||t),i.unshift(n),(Array.isArray(s)?s:s.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(n,[e,...i])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(n,i)}))})),t}},O={updateSize:function(){const e=this;let t,s;const i=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:i[0].clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:i[0].clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(i.css("padding-left")||0,10)-parseInt(i.css("padding-right")||0,10),s=s-parseInt(i.css("padding-top")||0,10)-parseInt(i.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{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"}[t]}function s(e,s){return parseFloat(e.getPropertyValue(t(s))||0)}const i=e.params,{$wrapperEl:n,size:a,rtlTranslate:r,wrongRTL:o}=e,l=e.virtual&&i.virtual.enabled,d=l?e.virtual.slides.length:e.slides.length,c=n.children(`.${e.params.slideClass}`),p=l?e.virtual.slides.length:c.length;let u=[];const h=[],f=[];let m=i.slidesOffsetBefore;"function"==typeof m&&(m=i.slidesOffsetBefore.call(e));let g=i.slidesOffsetAfter;"function"==typeof g&&(g=i.slidesOffsetAfter.call(e));const v=e.snapGrid.length,w=e.slidesGrid.length;let b=i.spaceBetween,C=-m,y=0,S=0;if(void 0===a)return;"string"==typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*a),e.virtualSize=-b,r?c.css({marginLeft:"",marginBottom:"",marginTop:""}):c.css({marginRight:"",marginBottom:"",marginTop:""}),i.centeredSlides&&i.cssMode&&(k(e.wrapperEl,"--swiper-centered-offset-before",""),k(e.wrapperEl,"--swiper-centered-offset-after",""));const T=i.grid&&i.grid.rows>1&&e.grid;let E;T&&e.grid.initSlides(p);const x="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter((e=>void 0!==i.breakpoints[e].slidesPerView)).length>0;for(let n=0;n<p;n+=1){E=0;const r=c.eq(n);if(T&&e.grid.updateSlide(n,r,p,t),"none"!==r.css("display")){if("auto"===i.slidesPerView){x&&(c[n].style[t("width")]="");const a=getComputedStyle(r[0]),o=r[0].style.transform,l=r[0].style.webkitTransform;if(o&&(r[0].style.transform="none"),l&&(r[0].style.webkitTransform="none"),i.roundLengths)E=e.isHorizontal()?r.outerWidth(!0):r.outerHeight(!0);else{const e=s(a,"width"),t=s(a,"padding-left"),i=s(a,"padding-right"),n=s(a,"margin-left"),o=s(a,"margin-right"),l=a.getPropertyValue("box-sizing");if(l&&"border-box"===l)E=e+n+o;else{const{clientWidth:s,offsetWidth:a}=r[0];E=e+t+i+n+o+(a-s)}}o&&(r[0].style.transform=o),l&&(r[0].style.webkitTransform=l),i.roundLengths&&(E=Math.floor(E))}else E=(a-(i.slidesPerView-1)*b)/i.slidesPerView,i.roundLengths&&(E=Math.floor(E)),c[n]&&(c[n].style[t("width")]=`${E}px`);c[n]&&(c[n].swiperSlideSize=E),f.push(E),i.centeredSlides?(C=C+E/2+y/2+b,0===y&&0!==n&&(C=C-a/2-b),0===n&&(C=C-a/2-b),Math.abs(C)<.001&&(C=0),i.roundLengths&&(C=Math.floor(C)),S%i.slidesPerGroup==0&&u.push(C),h.push(C)):(i.roundLengths&&(C=Math.floor(C)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup==0&&u.push(C),h.push(C),C=C+E+b),e.virtualSize+=E+b,y=E,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+g,r&&o&&("slide"===i.effect||"coverflow"===i.effect)&&n.css({width:`${e.virtualSize+i.spaceBetween}px`}),i.setWrapperSize&&n.css({[t("width")]:`${e.virtualSize+i.spaceBetween}px`}),T&&e.grid.updateWrapperSize(E,u,t),!i.centeredSlides){const t=[];for(let s=0;s<u.length;s+=1){let n=u[s];i.roundLengths&&(n=Math.floor(n)),u[s]<=e.virtualSize-a&&t.push(n)}u=t,Math.floor(e.virtualSize-a)-Math.floor(u[u.length-1])>1&&u.push(e.virtualSize-a)}if(0===u.length&&(u=[0]),0!==i.spaceBetween){const s=e.isHorizontal()&&r?"marginLeft":t("marginRight");c.filter(((e,t)=>!i.cssMode||t!==c.length-1)).css({[s]:`${b}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;f.forEach((t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)})),e-=i.spaceBetween;const t=e-a;u=u.map((e=>e<0?-m:e>t?t+g:e))}if(i.centerInsufficientSlides){let e=0;if(f.forEach((t=>{e+=t+(i.spaceBetween?i.spaceBetween:0)})),e-=i.spaceBetween,e<a){const t=(a-e)/2;u.forEach(((e,s)=>{u[s]=e-t})),h.forEach(((e,s)=>{h[s]=e+t}))}}if(Object.assign(e,{slides:c,snapGrid:u,slidesGrid:h,slidesSizesGrid:f}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){k(e.wrapperEl,"--swiper-centered-offset-before",-u[0]+"px"),k(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-f[f.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(p!==d&&e.emit("slidesLengthChange"),u.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==w&&e.emit("slidesGridLengthChange"),i.watchSlidesProgress&&e.updateSlidesOffset(),!(l||i.cssMode||"slide"!==i.effect&&"fade"!==i.effect)){const t=`${i.containerModifierClass}backface-hidden`,s=e.$el.hasClass(t);p<=i.maxBackfaceHiddenSlides?s||e.$el.addClass(t):s&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,s=[],i=t.virtual&&t.params.virtual.enabled;let n,a=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const r=e=>i?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||y([])).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(r(e))}else s.push(r(t.activeIndex));for(n=0;n<s.length;n+=1)if(void 0!==s[n]){const e=s[n].offsetHeight;a=e>a?e:a}(a||0===a)&&t.$wrapperEl.css("height",`${a}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let s=0;s<t.length;s+=1)t[s].swiperSlideOffset=e.isHorizontal()?t[s].offsetLeft:t[s].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,s=t.params,{slides:i,rtlTranslate:n,snapGrid:a}=t;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&t.updateSlidesOffset();let r=-e;n&&(r=e),i.removeClass(s.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let e=0;e<i.length;e+=1){const o=i[e];let l=o.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(l-=i[0].swiperSlideOffset);const d=(r+(s.centeredSlides?t.minTranslate():0)-l)/(o.swiperSlideSize+s.spaceBetween),c=(r-a[0]+(s.centeredSlides?t.minTranslate():0)-l)/(o.swiperSlideSize+s.spaceBetween),p=-(r-l),u=p+t.slidesSizesGrid[e];(p>=0&&p<t.size-1||u>1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(e),i.eq(e).addClass(s.slideVisibleClass)),o.progress=n?-d:d,o.originalProgress=n?-c:c}t.visibleSlides=y(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,i=t.maxTranslate()-t.minTranslate();let{progress:n,isBeginning:a,isEnd:r}=t;const o=a,l=r;0===i?(n=0,a=!0,r=!0):(n=(e-t.minTranslate())/i,a=n<=0,r=n>=1),Object.assign(t,{progress:n,isBeginning:a,isEnd:r}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),a&&!o&&t.emit("reachBeginning toEdge"),r&&!l&&t.emit("reachEnd toEdge"),(o&&!a||l&&!r)&&t.emit("fromEdge"),t.emit("progress",n)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,$wrapperEl:i,activeIndex:n,realIndex:a}=e,r=e.virtual&&s.virtual.enabled;let o;t.removeClass(`${s.slideActiveClass} ${s.slideNextClass} ${s.slidePrevClass} ${s.slideDuplicateActiveClass} ${s.slideDuplicateNextClass} ${s.slideDuplicatePrevClass}`),o=r?e.$wrapperEl.find(`.${s.slideClass}[data-swiper-slide-index="${n}"]`):t.eq(n),o.addClass(s.slideActiveClass),s.loop&&(o.hasClass(s.slideDuplicateClass)?i.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${a}"]`).addClass(s.slideDuplicateActiveClass):i.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${a}"]`).addClass(s.slideDuplicateActiveClass));let l=o.nextAll(`.${s.slideClass}`).eq(0).addClass(s.slideNextClass);s.loop&&0===l.length&&(l=t.eq(0),l.addClass(s.slideNextClass));let d=o.prevAll(`.${s.slideClass}`).eq(0).addClass(s.slidePrevClass);s.loop&&0===d.length&&(d=t.eq(-1),d.addClass(s.slidePrevClass)),s.loop&&(l.hasClass(s.slideDuplicateClass)?i.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass):i.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass),d.hasClass(s.slideDuplicateClass)?i.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass):i.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:i,snapGrid:n,params:a,activeIndex:r,realIndex:o,snapIndex:l}=t;let d,c=e;if(void 0===c){for(let e=0;e<i.length;e+=1)void 0!==i[e+1]?s>=i[e]&&s<i[e+1]-(i[e+1]-i[e])/2?c=e:s>=i[e]&&s<i[e+1]&&(c=e+1):s>=i[e]&&(c=e);a.normalizeSlideIndex&&(c<0||void 0===c)&&(c=0)}if(n.indexOf(s)>=0)d=n.indexOf(s);else{const e=Math.min(a.slidesPerGroupSkip,c);d=e+Math.floor((c-e)/a.slidesPerGroup)}if(d>=n.length&&(d=n.length-1),c===r)return void(d!==l&&(t.snapIndex=d,t.emit("snapIndexChange")));const p=parseInt(t.slides.eq(c).attr("data-swiper-slide-index")||c,10);Object.assign(t,{snapIndex:d,realIndex:p,previousIndex:r,activeIndex:c}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,s=t.params,i=y(e).closest(`.${s.slideClass}`)[0];let n,a=!1;if(i)for(let e=0;e<t.slides.length;e+=1)if(t.slides[e]===i){a=!0,n=e;break}if(!i||!a)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=i,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(y(i).attr("data-swiper-slide-index"),10):t.clickedIndex=n,s.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};function z({swiper:e,runCallbacks:t,direction:s,step:i}){const{activeIndex:n,previousIndex:a}=e;let r=s;if(r||(r=n>a?"next":n<a?"prev":"reset"),e.emit(`transition${i}`),t&&n!==a){if("reset"===r)return void e.emit(`slideResetTransition${i}`);e.emit(`slideChangeTransition${i}`),"next"===r?e.emit(`slideNextTransition${i}`):e.emit(`slidePrevTransition${i}`)}}const I={slideTo:function(e=0,t=this.params.speed,s=!0,i,n){if("number"!=typeof e&&"string"!=typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const a=this;let r=e;r<0&&(r=0);const{params:o,snapGrid:l,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:u,wrapperEl:h,enabled:f}=a;if(a.animating&&o.preventInteractionOnTransition||!f&&!i&&!n)return!1;const m=Math.min(a.params.slidesPerGroupSkip,r);let g=m+Math.floor((r-m)/a.params.slidesPerGroup);g>=l.length&&(g=l.length-1);const v=-l[g];if(o.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*v),s=Math.floor(100*d[e]),i=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=s&&t<i-(i-s)/2?r=e:t>=s&&t<i&&(r=e+1):t>=s&&(r=e)}if(a.initialized&&r!==p){if(!a.allowSlideNext&&v<a.translate&&v<a.minTranslate())return!1;if(!a.allowSlidePrev&&v>a.translate&&v>a.maxTranslate()&&(p||0)!==r)return!1}let w;if(r!==(c||0)&&s&&a.emit("beforeSlideChangeStart"),a.updateProgress(v),w=r>p?"next":r<p?"prev":"reset",u&&-v===a.translate||!u&&v===a.translate)return a.updateActiveIndex(r),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(v),"reset"!==w&&(a.transitionStart(s,w),a.transitionEnd(s,w)),!1;if(o.cssMode){const e=a.isHorizontal(),s=u?v:-v;if(0===t){const t=a.virtual&&a.params.virtual.enabled;t&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),h[e?"scrollLeft":"scrollTop"]=s,t&&requestAnimationFrame((()=>{a.wrapperEl.style.scrollSnapType="",a._swiperImmediateVirtual=!1}))}else{if(!a.support.smoothScroll)return L({swiper:a,targetPosition:s,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(v),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,i),a.transitionStart(s,w),0===t?a.transitionEnd(s,w):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(s,w))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,s=!0,i){if("string"==typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const n=this;let a=e;return n.params.loop&&(a+=n.loopedSlides),n.slideTo(a,t,s,i)},slideNext:function(e=this.params.speed,t=!0,s){const i=this,{animating:n,enabled:a,params:r}=i;if(!a)return i;let o=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex<r.slidesPerGroupSkip?1:o;if(r.loop){if(n&&r.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}return r.rewind&&i.isEnd?i.slideTo(0,e,t,s):i.slideTo(i.activeIndex+l,e,t,s)},slidePrev:function(e=this.params.speed,t=!0,s){const i=this,{params:n,animating:a,snapGrid:r,slidesGrid:o,rtlTranslate:l,enabled:d}=i;if(!d)return i;if(n.loop){if(a&&n.loopPreventsSlide)return!1;i.loopFix(),i._clientLeft=i.$wrapperEl[0].clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=c(l?i.translate:-i.translate),u=r.map((e=>c(e)));let h=r[u.indexOf(p)-1];if(void 0===h&&n.cssMode){let e;r.forEach(((t,s)=>{p>=t&&(e=s)})),void 0!==e&&(h=r[e>0?e-1:e])}let f=0;if(void 0!==h&&(f=o.indexOf(h),f<0&&(f=i.activeIndex-1),"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(f=f-i.slidesPerViewDynamic("previous",!0)+1,f=Math.max(f,0))),n.rewind&&i.isBeginning){const n=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(n,e,t,s)}return i.slideTo(f,e,t,s)},slideReset:function(e=this.params.speed,t=!0,s){return this.slideTo(this.activeIndex,e,t,s)},slideToClosest:function(e=this.params.speed,t=!0,s,i=.5){const n=this;let a=n.activeIndex;const r=Math.min(n.params.slidesPerGroupSkip,a),o=r+Math.floor((a-r)/n.params.slidesPerGroup),l=n.rtlTranslate?n.translate:-n.translate;if(l>=n.snapGrid[o]){const e=n.snapGrid[o];l-e>(n.snapGrid[o+1]-e)*i&&(a+=n.params.slidesPerGroup)}else{const e=n.snapGrid[o-1];l-e<=(n.snapGrid[o]-e)*i&&(a-=n.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,n.slidesGrid.length-1),n.slideTo(a,e,t,s)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:s}=e,i="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let n,a=e.clickedIndex;if(t.loop){if(e.animating)return;n=parseInt(y(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?a<e.loopedSlides-i/2||a>e.slides.length-e.loopedSlides+i/2?(e.loopFix(),a=s.children(`.${t.slideClass}[data-swiper-slide-index="${n}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),S((()=>{e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-i?(e.loopFix(),a=s.children(`.${t.slideClass}[data-swiper-slide-index="${n}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),S((()=>{e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}};function B(e){const t=this,s=p(),i=h(),n=t.touchEventsData,{params:a,touches:r,enabled:o}=t;if(!o)return;if(t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let l=e;l.originalEvent&&(l=l.originalEvent);let d=y(l.target);if("wrapper"===a.touchEventsTarget&&!d.closest(t.wrapperEl).length)return;if(n.isTouchEvent="touchstart"===l.type,!n.isTouchEvent&&"which"in l&&3===l.which)return;if(!n.isTouchEvent&&"button"in l&&l.button>0)return;if(n.isTouched&&n.isMoved)return;const c=!!a.noSwipingClass&&""!==a.noSwipingClass,u=e.composedPath?e.composedPath():e.path;c&&l.target&&l.target.shadowRoot&&u&&(d=y(u[0]));const f=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,m=!(!l.target||!l.target.shadowRoot);if(a.noSwiping&&(m?function(e,t=this){return function t(s){if(!s||s===p()||s===h())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(f,d[0]):d.closest(f)[0]))return void(t.allowClick=!0);if(a.swipeHandler&&!d.closest(a.swipeHandler)[0])return;r.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,r.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;const g=r.currentX,v=r.currentY,w=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,b=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(w&&(g<=b||g>=i.innerWidth-b)){if("prevent"!==w)return;e.preventDefault()}if(Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=g,r.startY=v,n.touchStartTime=T(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==l.type){let e=!0;d.is(n.focusableElements)&&(e=!1,"SELECT"===d[0].nodeName&&(n.isTouched=!1)),s.activeElement&&y(s.activeElement).is(n.focusableElements)&&s.activeElement!==d[0]&&s.activeElement.blur();const i=e&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!i||d[0].isContentEditable||l.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",l)}function D(e){const t=p(),s=this,i=s.touchEventsData,{params:n,touches:a,rtlTranslate:r,enabled:o}=s;if(!o)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",l));if(i.isTouchEvent&&"touchmove"!==l.type)return;const d="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),c="touchmove"===l.type?d.pageX:l.pageX,u="touchmove"===l.type?d.pageY:l.pageY;if(l.preventedByNestedSwiper)return a.startX=c,void(a.startY=u);if(!s.allowTouchMove)return y(l.target).is(i.focusableElements)||(s.allowClick=!1),void(i.isTouched&&(Object.assign(a,{startX:c,startY:u,currentX:c,currentY:u}),i.touchStartTime=T()));if(i.isTouchEvent&&n.touchReleaseOnEdges&&!n.loop)if(s.isVertical()){if(u<a.startY&&s.translate<=s.maxTranslate()||u>a.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(c<a.startX&&s.translate<=s.maxTranslate()||c>a.startX&&s.translate>=s.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&y(l.target).is(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);if(i.allowTouchCallbacks&&s.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;a.currentX=c,a.currentY=u;const h=a.currentX-a.startX,f=a.currentY-a.startY;if(s.params.threshold&&Math.sqrt(h**2+f**2)<s.params.threshold)return;if(void 0===i.isScrolling){let e;s.isHorizontal()&&a.currentY===a.startY||s.isVertical()&&a.currentX===a.startX?i.isScrolling=!1:h*h+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,i.isScrolling=s.isHorizontal()?e>n.touchAngle:90-e>n.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",l),void 0===i.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!n.cssMode&&l.cancelable&&l.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&l.stopPropagation(),i.isMoved||(n.loop&&!n.cssMode&&s.loopFix(),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&s.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!n.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",l)),s.emit("sliderMove",l),i.isMoved=!0;let m=s.isHorizontal()?h:f;a.diff=m,m*=n.touchRatio,r&&(m=-m),s.swipeDirection=m>0?"prev":"next",i.currentTranslate=m+i.startTranslate;let g=!0,v=n.resistanceRatio;if(n.touchReleaseOnEdges&&(v=0),m>0&&i.currentTranslate>s.minTranslate()?(g=!1,n.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+m)**v)):m<0&&i.currentTranslate<s.maxTranslate()&&(g=!1,n.resistance&&(i.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-i.startTranslate-m)**v)),g&&(l.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),n.threshold>0){if(!(Math.abs(m)>n.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,i.currentTranslate=i.startTranslate,void(a.diff=s.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}n.followFinger&&!n.cssMode&&((n.freeMode&&n.freeMode.enabled&&s.freeMode||n.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&n.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function H(e){const t=this,s=t.touchEventsData,{params:i,touches:n,rtlTranslate:a,slidesGrid:r,enabled:o}=t;if(!o)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),s.allowTouchCallbacks&&t.emit("touchEnd",l),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&i.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);i.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=T(),c=d-s.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),c<300&&d-s.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(s.lastClickTime=T(),S((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===n.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let p;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,p=i.followFinger?a?t.translate:-t.translate:-s.currentTranslate,i.cssMode)return;if(t.params.freeMode&&i.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});let u=0,h=t.slidesSizesGrid[0];for(let e=0;e<r.length;e+=e<i.slidesPerGroupSkip?1:i.slidesPerGroup){const t=e<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;void 0!==r[e+t]?p>=r[e]&&p<r[e+t]&&(u=e,h=r[e+t]-r[e]):p>=r[e]&&(u=e,h=r[r.length-1]-r[r.length-2])}let f=null,m=null;i.rewind&&(t.isBeginning?m=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(f=0));const g=(p-r[u])/h,v=u<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(c>i.longSwipesMs){if(!i.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(g>=i.longSwipesRatio?t.slideTo(i.rewind&&t.isEnd?f:u+v):t.slideTo(u)),"prev"===t.swipeDirection&&(g>1-i.longSwipesRatio?t.slideTo(u+v):null!==m&&g<0&&Math.abs(g)>i.longSwipesRatio?t.slideTo(m):t.slideTo(u))}else{if(!i.shortSwipes)return void t.slideTo(t.activeIndex);!t.navigation||l.target!==t.navigation.nextEl&&l.target!==t.navigation.prevEl?("next"===t.swipeDirection&&t.slideTo(null!==f?f:u+v),"prev"===t.swipeDirection&&t.slideTo(null!==m?m:u)):l.target===t.navigation.nextEl?t.slideTo(u+v):t.slideTo(u)}}function q(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:n,snapGrid:a}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||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=n,e.allowSlideNext=i,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function G(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function j(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:i}=e;if(!i)return;let n;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const a=e.maxTranslate()-e.minTranslate();n=0===a?0:(e.translate-e.minTranslate())/a,n!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let N=!1;function F(){}const V=(e,t)=>{const s=p(),{params:i,touchEvents:n,el:a,wrapperEl:r,device:o,support:l}=e,d=!!i.nested,c="on"===t?"addEventListener":"removeEventListener",u=t;if(l.touch){const t=!("touchstart"!==n.start||!l.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};a[c](n.start,e.onTouchStart,t),a[c](n.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:d}:d),a[c](n.end,e.onTouchEnd,t),n.cancel&&a[c](n.cancel,e.onTouchEnd,t)}else a[c](n.start,e.onTouchStart,!1),s[c](n.move,e.onTouchMove,d),s[c](n.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&a[c]("click",e.onClick,!0),i.cssMode&&r[c]("scroll",e.onScroll),i.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",q,!0):e[u]("observerUpdate",q,!0)},W={attachEvents:function(){const e=this,t=p(),{params:s,support:i}=e;e.onTouchStart=B.bind(e),e.onTouchMove=D.bind(e),e.onTouchEnd=H.bind(e),s.cssMode&&(e.onScroll=j.bind(e)),e.onClick=G.bind(e),i.touch&&!N&&(t.addEventListener("touchstart",F),N=!0),V(e,"on")},detachEvents:function(){V(this,"off")}},R=(e,t)=>e.grid&&t.grid&&t.grid.rows>1,Y={setBreakpoint:function(){const e=this,{activeIndex:t,initialized:s,loopedSlides:i=0,params:n,$el:a}=e,r=n.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const o=e.getBreakpoint(r,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const l=(o in r?r[o]:void 0)||e.originalParams,d=R(e,n),c=R(e,l),p=n.enabled;d&&!c?(a.removeClass(`${n.containerModifierClass}grid ${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&c&&(a.addClass(`${n.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===n.grid.fill)&&a.addClass(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const s=n[t]&&n[t].enabled,i=l[t]&&l[t].enabled;s&&!i&&e[t].disable(),!s&&i&&e[t].enable()}));const u=l.direction&&l.direction!==n.direction,h=n.loop&&(l.slidesPerView!==n.slidesPerView||u);u&&s&&e.changeDirection(),x(e.params,l);const f=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!f?e.disable():!p&&f&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",l),h&&s&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t="window",s){if(!e||"container"===t&&!s)return;let i=!1;const n=h(),a="window"===t?n.innerHeight:s.clientHeight,r=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}}));r.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;e<r.length;e+=1){const{point:a,value:o}=r[e];"window"===t?n.matchMedia(`(min-width: ${o}px)`).matches&&(i=a):o<=s.clientWidth&&(i=a)}return i||"max"}},X={addClasses:function(){const e=this,{classNames:t,params:s,rtl:i,$el:n,device:a,support:r}=e,o=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((i=>{e[i]&&s.push(t+i)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"pointer-events":!r.touch},{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:i},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:a.android},{ios:a.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...o),n.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}},U={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Q(e,t){return function(s={}){const i=Object.keys(s)[0],n=s[i];"object"==typeof n&&null!==n?(["navigation","pagination","scrollbar"].indexOf(i)>=0&&!0===e[i]&&(e[i]={auto:!0}),i in e&&"enabled"in n?(!0===e[i]&&(e[i]={enabled:!0}),"object"!=typeof e[i]||"enabled"in e[i]||(e[i].enabled=!0),e[i]||(e[i]={enabled:!1}),x(t,s)):x(t,s)):x(t,s)}}const K={eventsEmitter:A,update:O,translate:{getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:s,translate:i,$wrapperEl:n}=this;if(t.virtualTranslate)return s?-i:i;if(t.cssMode)return i;let a=function(e,t="x"){const s=h();let i,n,a;const r=function(e){const t=h();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(n=r.transform||r.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map((e=>e.replace(",","."))).join(", ")),a=new s.WebKitCSSMatrix("none"===n?"":n)):(a=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=a.toString().split(",")),"x"===t&&(n=s.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(n=s.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),n||0}(n[0],e);return s&&(a=-a),a||0},setTranslate:function(e,t){const s=this,{rtlTranslate:i,params:n,$wrapperEl:a,wrapperEl:r,progress:o}=s;let l,d=0,c=0;s.isHorizontal()?d=i?-e:e:c=e,n.roundLengths&&(d=Math.floor(d),c=Math.floor(c)),n.cssMode?r[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-d:-c:n.virtualTranslate||a.transform(`translate3d(${d}px, ${c}px, 0px)`),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?d:c;const p=s.maxTranslate()-s.minTranslate();l=0===p?0:(e-s.minTranslate())/p,l!==o&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,s=!0,i=!0,n){const a=this,{params:r,wrapperEl:o}=a;if(a.animating&&r.preventInteractionOnTransition)return!1;const l=a.minTranslate(),d=a.maxTranslate();let c;if(c=i&&e>l?l:i&&e<d?d:e,a.updateProgress(c),r.cssMode){const e=a.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-c;else{if(!a.support.smoothScroll)return L({swiper:a,targetPosition:-c,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(a.setTransition(0),a.setTranslate(c),s&&(a.emit("beforeTransitionStart",t,n),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(c),s&&(a.emit("beforeTransitionStart",t,n),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,s&&a.emit("transitionEnd"))}),a.$wrapperEl[0].addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){const s=this;s.params.cssMode||s.$wrapperEl.transition(e),s.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const s=this,{params:i}=s;i.cssMode||(i.autoHeight&&s.updateAutoHeight(),z({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const s=this,{params:i}=s;s.animating=!1,i.cssMode||(s.setTransition(0),z({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:I,loop:{loopCreate:function(){const e=this,t=p(),{params:s,$wrapperEl:i}=e,n=i.children().length>0?y(i.children()[0].parentNode):i;n.children(`.${s.slideClass}.${s.slideDuplicateClass}`).remove();let a=n.children(`.${s.slideClass}`);if(s.loopFillGroupWithBlank){const e=s.slidesPerGroup-a.length%s.slidesPerGroup;if(e!==s.slidesPerGroup){for(let i=0;i<e;i+=1){const e=y(t.createElement("div")).addClass(`${s.slideClass} ${s.slideBlankClass}`);n.append(e)}a=n.children(`.${s.slideClass}`)}}"auto"!==s.slidesPerView||s.loopedSlides||(s.loopedSlides=a.length),e.loopedSlides=Math.ceil(parseFloat(s.loopedSlides||s.slidesPerView,10)),e.loopedSlides+=s.loopAdditionalSlides,e.loopedSlides>a.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=a.length);const r=[],o=[];a.each(((e,t)=>{y(e).attr("data-swiper-slide-index",t)}));for(let t=0;t<e.loopedSlides;t+=1){const e=t-Math.floor(t/a.length)*a.length;o.push(a.eq(e)[0]),r.unshift(a.eq(a.length-e-1)[0])}for(let e=0;e<o.length;e+=1)n.append(y(o[e].cloneNode(!0)).addClass(s.slideDuplicateClass));for(let e=r.length-1;e>=0;e-=1)n.prepend(y(r[e].cloneNode(!0)).addClass(s.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:s,loopedSlides:i,allowSlidePrev:n,allowSlideNext:a,snapGrid:r,rtlTranslate:o}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const d=-r[t]-e.getTranslate();t<i?(l=s.length-3*i+t,l+=i,e.slideTo(l,0,!1,!0)&&0!==d&&e.setTranslate((o?-e.translate:e.translate)-d)):t>=s.length-i&&(l=-s.length+t+i,l+=i,e.slideTo(l,0,!1,!0)&&0!==d&&e.setTranslate((o?-e.translate:e.translate)-d)),e.allowSlidePrev=n,e.allowSlideNext=a,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:s}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),s.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;s.style.cursor="move",s.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:W,breakpoints:Y,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:i}=s;if(i){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*i;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:X,images:{loadImage:function(e,t,s,i,n,a){const r=h();let o;function l(){a&&a()}y(e).parent("picture")[0]||e.complete&&n?l():t?(o=new r.Image,o.onload=l,o.onerror=l,i&&(o.sizes=i),s&&(o.srcset=s),t&&(o.src=t)):l()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let s=0;s<e.imagesToLoad.length;s+=1){const i=e.imagesToLoad[s];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,t)}}}},Z={};class J{constructor(...e){let t,s;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?s=e[0]:[t,s]=e,s||(s={}),s=x({},s),t&&!s.el&&(s.el=t),s.el&&y(s.el).length>1){const e=[];return y(s.el).each((t=>{const i=x({},s,{el:t});e.push(new J(i))})),e}const i=this;i.__swiper__=!0,i.support=_(),i.device=function(e={}){return $||($=function({userAgent:e}={}){const t=_(),s=h(),i=s.navigator.platform,n=e||s.navigator.userAgent,a={ios:!1,android:!1},r=s.screen.width,o=s.screen.height,l=n.match(/(Android);?[\s\/]+([\d.]+)?/);let d=n.match(/(iPad).*OS\s([\d_]+)/);const c=n.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),u="Win32"===i;let f="MacIntel"===i;return!d&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${r}x${o}`)>=0&&(d=n.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),f=!1),l&&!u&&(a.os="android",a.android=!0),(d||p||c)&&(a.os="ios",a.ios=!0),a}(e)),$}({userAgent:s.userAgent}),i.browser=(P||(P=function(){const e=h();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),P),i.eventsListeners={},i.eventsAnyListeners=[],i.modules=[...i.__modules__],s.modules&&Array.isArray(s.modules)&&i.modules.push(...s.modules);const n={};i.modules.forEach((e=>{e({swiper:i,extendParams:Q(s,n),on:i.on.bind(i),once:i.once.bind(i),off:i.off.bind(i),emit:i.emit.bind(i)})}));const a=x({},U,n);return i.params=x({},a,Z,s),i.originalParams=x({},i.params),i.passedParams=x({},s),i.params&&i.params.on&&Object.keys(i.params.on).forEach((e=>{i.on(e,i.params.on[e])})),i.params&&i.params.onAny&&i.onAny(i.params.onAny),i.$=y,Object.assign(i,{enabled:i.params.enabled,el:t,classNames:[],slides:y(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===i.params.direction,isVertical:()=>"vertical"===i.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:i.params.allowSlideNext,allowSlidePrev:i.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return i.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},i.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},i.support.touch||!i.params.simulateTouch?i.touchEventsTouch:i.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:i.params.focusableElements,lastClickTime:T(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:i.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),i.emit("_swiper"),i.params.init&&i.init(),i}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const i=s.minTranslate(),n=(s.maxTranslate()-i)*e+i;s.translateTo(n,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((s=>{const i=e.getSlideClasses(s);t.push({slideEl:s,classNames:i}),e.emit("_slideClass",s,i)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:s,slides:i,slidesGrid:n,slidesSizesGrid:a,size:r,activeIndex:o}=this;let l=1;if(s.centeredSlides){let e,t=i[o].swiperSlideSize;for(let s=o+1;s<i.length;s+=1)i[s]&&!e&&(t+=i[s].swiperSlideSize,l+=1,t>r&&(e=!0));for(let s=o-1;s>=0;s-=1)i[s]&&!e&&(t+=i[s].swiperSlideSize,l+=1,t>r&&(e=!0))}else if("current"===e)for(let e=o+1;e<i.length;e+=1)(t?n[e]+a[e]-n[o]<r:n[e]-n[o]<r)&&(l+=1);else for(let e=o-1;e>=0;e-=1)n[o]-n[e]<r&&(l+=1);return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function i(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let n;s.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(i(),e.params.autoHeight&&e.updateAutoHeight()):(n=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),n||i()),s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const s=this,i=s.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(s.$el.removeClass(`${s.params.containerModifierClass}${i}`).addClass(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const s=y(e||t.params.el);if(!(e=s[0]))return!1;e.swiper=t;const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let n=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=y(e.shadowRoot.querySelector(i()));return t.children=e=>s.children(e),t}return s.children?s.children(i()):y(s).children(i())})();if(0===n.length&&t.params.createElements){const e=p().createElement("div");n=y(e),e.className=t.params.wrapperClass,s.append(e),s.children(`.${t.params.slideClass}`).each((e=>{n.append(e)}))}return Object.assign(t,{$el:s,el:e,$wrapperEl:n,wrapperEl:n[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction")),wrongRTL:"-webkit-box"===n.css("display")}),!0}init(e){const t=this;return t.initialized||!1===t.mount(e)||(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=!0,t=!0){const s=this,{params:i,$el:n,$wrapperEl:a,slides:r}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),i.loop&&s.loopDestroy(),t&&(s.removeClasses(),n.removeAttr("style"),a.removeAttr("style"),r&&r.length&&r.removeClass([i.slideVisibleClass,i.slideActiveClass,i.slideNextClass,i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(s)),s.destroyed=!0),null}static extendDefaults(e){x(Z,e)}static get extendedDefaults(){return Z}static get defaults(){return U}static installModule(e){J.prototype.__modules__||(J.prototype.__modules__=[]);const t=J.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>J.installModule(e))),J):(J.installModule(e),J)}}Object.keys(K).forEach((e=>{Object.keys(K[e]).forEach((t=>{J.prototype[t]=K[e][t]}))})),J.use([function({swiper:e,on:t,emit:s}){const i=h();let n=null,a=null;const r=()=>{e&&!e.destroyed&&e.initialized&&(s("beforeResize"),s("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&s("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==i.ResizeObserver?e&&!e.destroyed&&e.initialized&&(n=new ResizeObserver((t=>{a=i.requestAnimationFrame((()=>{const{width:s,height:i}=e;let n=s,a=i;t.forEach((({contentBoxSize:t,contentRect:s,target:i})=>{i&&i!==e.el||(n=s?s.width:(t[0]||t).inlineSize,a=s?s.height:(t[0]||t).blockSize)})),n===s&&a===i||r()}))})),n.observe(e.el)):(i.addEventListener("resize",r),i.addEventListener("orientationchange",o))})),t("destroy",(()=>{a&&i.cancelAnimationFrame(a),n&&n.unobserve&&e.el&&(n.unobserve(e.el),n=null),i.removeEventListener("resize",r),i.removeEventListener("orientationchange",o)}))},function({swiper:e,extendParams:t,on:s,emit:i}){const n=[],a=h(),r=(e,t={})=>{const s=new(a.MutationObserver||a.WebkitMutationObserver)((e=>{if(1===e.length)return void i("observerUpdate",e[0]);const t=function(){i("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(t):a.setTimeout(t,0)}));s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),n.push(s)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e<t.length;e+=1)r(t[e])}r(e.$el[0],{childList:e.params.observeSlideChildren}),r(e.$wrapperEl[0],{attributes:!1})}})),s("destroy",(()=>{n.forEach((e=>{e.disconnect()})),n.splice(0,n.length)}))}]);const ee=J;function te({swiper:e,extendParams:t,on:s,emit:i}){let n;function a(t,s){const i=e.params.virtual;if(i.cache&&e.virtual.cache[s])return e.virtual.cache[s];const n=i.renderSlide?y(i.renderSlide.call(e,t,s)):y(`<div class="${e.params.slideClass}" data-swiper-slide-index="${s}">${t}</div>`);return n.attr("data-swiper-slide-index")||n.attr("data-swiper-slide-index",s),i.cache&&(e.virtual.cache[s]=n),n}function r(t){const{slidesPerView:s,slidesPerGroup:n,centeredSlides:r}=e.params,{addSlidesBefore:o,addSlidesAfter:l}=e.params.virtual,{from:d,to:c,slides:p,slidesGrid:u,offset:h}=e.virtual;e.params.cssMode||e.updateActiveIndex();const f=e.activeIndex||0;let m,g,v;m=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",r?(g=Math.floor(s/2)+n+l,v=Math.floor(s/2)+n+o):(g=s+(n-1)+l,v=n+o);const w=Math.max((f||0)-v,0),b=Math.min((f||0)+g,p.length-1),C=(e.slidesGrid[w]||0)-(e.slidesGrid[0]||0);function y(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),i("virtualUpdate")}if(Object.assign(e.virtual,{from:w,to:b,offset:C,slidesGrid:e.slidesGrid}),d===w&&c===b&&!t)return e.slidesGrid!==u&&C!==h&&e.slides.css(m,`${C}px`),e.updateProgress(),void i("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:C,from:w,to:b,slides:function(){const e=[];for(let t=w;t<=b;t+=1)e.push(p[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?y():i("virtualUpdate"));const S=[],T=[];if(t)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let t=d;t<=c;t+=1)(t<w||t>b)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e<p.length;e+=1)e>=w&&e<=b&&(void 0===c||t?T.push(e):(e>c&&T.push(e),e<d&&S.push(e)));T.forEach((t=>{e.$wrapperEl.append(a(p[t],t))})),S.sort(((e,t)=>t-e)).forEach((t=>{e.$wrapperEl.prepend(a(p[t],t))})),e.$wrapperEl.children(".swiper-slide").css(m,`${C}px`),y()}t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},s("beforeInit",(()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||r())})),s("setTranslate",(()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(n),n=setTimeout((()=>{r()}),100)):r())})),s("init update resize",(()=>{e.params.virtual.enabled&&e.params.cssMode&&k(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)})),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let s=0;s<t.length;s+=1)t[s]&&e.virtual.slides.push(t[s]);else e.virtual.slides.push(t);r(!0)},prependSlide:function(t){const s=e.activeIndex;let i=s+1,n=1;if(Array.isArray(t)){for(let s=0;s<t.length;s+=1)t[s]&&e.virtual.slides.unshift(t[s]);i=s+t.length,n=t.length}else e.virtual.slides.unshift(t);if(e.params.virtual.cache){const t=e.virtual.cache,s={};Object.keys(t).forEach((e=>{const i=t[e],a=i.attr("data-swiper-slide-index");a&&i.attr("data-swiper-slide-index",parseInt(a,10)+n),s[parseInt(e,10)+n]=i})),e.virtual.cache=s}r(!0),e.slideTo(i,0)},removeSlide:function(t){if(null==t)return;let s=e.activeIndex;if(Array.isArray(t))for(let i=t.length-1;i>=0;i-=1)e.virtual.slides.splice(t[i],1),e.params.virtual.cache&&delete e.virtual.cache[t[i]],t[i]<s&&(s-=1),s=Math.max(s,0);else e.virtual.slides.splice(t,1),e.params.virtual.cache&&delete e.virtual.cache[t],t<s&&(s-=1),s=Math.max(s,0);r(!0),e.slideTo(s,0)},removeAllSlides:function(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),r(!0),e.slideTo(0,0)},update:r})}function se(e,t,s,i){const n=p();return e.params.createElements&&Object.keys(i).forEach((a=>{if(!s[a]&&!0===s.auto){let r=e.$el.children(`.${i[a]}`)[0];r||(r=n.createElement("div"),r.className=i[a],e.$el.append(r)),s[a]=r,t[a]=r}})),s}function ie({swiper:e,extendParams:t,on:s,emit:i}){function n(t){let s;return t&&(s=y(t),e.params.uniqueNavElements&&"string"==typeof t&&s.length>1&&1===e.$el.find(t).length&&(s=e.$el.find(t))),s}function a(t,s){const i=e.params.navigation;t&&t.length>0&&(t[s?"addClass":"removeClass"](i.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=s),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](i.lockClass))}function r(){if(e.params.loop)return;const{$nextEl:t,$prevEl:s}=e.navigation;a(s,e.isBeginning&&!e.params.rewind),a(t,e.isEnd&&!e.params.rewind)}function o(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),i("navigationPrev"))}function l(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),i("navigationNext"))}function d(){const t=e.params.navigation;if(e.params.navigation=se(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const s=n(t.nextEl),i=n(t.prevEl);s&&s.length>0&&s.on("click",l),i&&i.length>0&&i.on("click",o),Object.assign(e.navigation,{$nextEl:s,nextEl:s&&s[0],$prevEl:i,prevEl:i&&i[0]}),e.enabled||(s&&s.addClass(t.lockClass),i&&i.addClass(t.lockClass))}function c(){const{$nextEl:t,$prevEl:s}=e.navigation;t&&t.length&&(t.off("click",l),t.removeClass(e.params.navigation.disabledClass)),s&&s.length&&(s.off("click",o),s.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},s("init",(()=>{!1===e.params.navigation.enabled?p():(d(),r())})),s("toEdge fromEdge lock unlock",(()=>{r()})),s("destroy",(()=>{c()})),s("enable disable",(()=>{const{$nextEl:t,$prevEl:s}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),s&&s[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),s("click",((t,s)=>{const{$nextEl:n,$prevEl:a}=e.navigation,r=s.target;if(e.params.navigation.hideOnClick&&!y(r).is(a)&&!y(r).is(n)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===r||e.pagination.el.contains(r)))return;let t;n?t=n.hasClass(e.params.navigation.hiddenClass):a&&(t=a.hasClass(e.params.navigation.hiddenClass)),i(!0===t?"navigationShow":"navigationHide"),n&&n.toggleClass(e.params.navigation.hiddenClass),a&&a.toggleClass(e.params.navigation.hiddenClass)}}));const p=()=>{e.$el.addClass(e.params.navigation.navigationDisabledClass),c()};Object.assign(e.navigation,{enable:()=>{e.$el.removeClass(e.params.navigation.navigationDisabledClass),d(),r()},disable:p,update:r,init:d,destroy:c})}function ne(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function ae({swiper:e,extendParams:t,on:s,emit:i}){const n="swiper-pagination";let a;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-disabled`}}),e.pagination={el:null,$el:null,bullets:[]};let r=0;function o(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function l(t,s){const{bulletActiveClass:i}=e.params.pagination;t[s]().addClass(`${i}-${s}`)[s]().addClass(`${i}-${s}-${s}`)}function d(){const t=e.rtl,s=e.params.pagination;if(o())return;const n=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,d=e.pagination.$el;let c;const p=e.params.loop?Math.ceil((n-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(c=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),c>n-1-2*e.loopedSlides&&(c-=n-2*e.loopedSlides),c>p-1&&(c-=p),c<0&&"bullets"!==e.params.paginationType&&(c=p+c)):c=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===s.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const i=e.pagination.bullets;let n,o,p;if(s.dynamicBullets&&(a=i.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),d.css(e.isHorizontal()?"width":"height",a*(s.dynamicMainBullets+4)+"px"),s.dynamicMainBullets>1&&void 0!==e.previousIndex&&(r+=c-(e.previousIndex-e.loopedSlides||0),r>s.dynamicMainBullets-1?r=s.dynamicMainBullets-1:r<0&&(r=0)),n=Math.max(c-r,0),o=n+(Math.min(i.length,s.dynamicMainBullets)-1),p=(o+n)/2),i.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`)).join(" ")),d.length>1)i.each((e=>{const t=y(e),i=t.index();i===c&&t.addClass(s.bulletActiveClass),s.dynamicBullets&&(i>=n&&i<=o&&t.addClass(`${s.bulletActiveClass}-main`),i===n&&l(t,"prev"),i===o&&l(t,"next"))}));else{const t=i.eq(c),a=t.index();if(t.addClass(s.bulletActiveClass),s.dynamicBullets){const t=i.eq(n),r=i.eq(o);for(let e=n;e<=o;e+=1)i.eq(e).addClass(`${s.bulletActiveClass}-main`);if(e.params.loop)if(a>=i.length){for(let e=s.dynamicMainBullets;e>=0;e-=1)i.eq(i.length-e).addClass(`${s.bulletActiveClass}-main`);i.eq(i.length-s.dynamicMainBullets-1).addClass(`${s.bulletActiveClass}-prev`)}else l(t,"prev"),l(r,"next");else l(t,"prev"),l(r,"next")}}if(s.dynamicBullets){const n=Math.min(i.length,s.dynamicMainBullets+4),r=(a*n-a)/2-p*a,o=t?"right":"left";i.css(e.isHorizontal()?o:"top",`${r}px`)}}if("fraction"===s.type&&(d.find(ne(s.currentClass)).text(s.formatFractionCurrent(c+1)),d.find(ne(s.totalClass)).text(s.formatFractionTotal(p))),"progressbar"===s.type){let t;t=s.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const i=(c+1)/p;let n=1,a=1;"horizontal"===t?n=i:a=i,d.find(ne(s.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${n}) scaleY(${a})`).transition(e.params.speed)}"custom"===s.type&&s.renderCustom?(d.html(s.renderCustom(e,c+1,p)),i("paginationRender",d[0])):i("paginationUpdate",d[0]),e.params.watchOverflow&&e.enabled&&d[e.isLocked?"addClass":"removeClass"](s.lockClass)}function c(){const t=e.params.pagination;if(o())return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,n=e.pagination.$el;let a="";if("bullets"===t.type){let i=e.params.loop?Math.ceil((s-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&i>s&&(i=s);for(let s=0;s<i;s+=1)t.renderBullet?a+=t.renderBullet.call(e,s,t.bulletClass):a+=`<${t.bulletElement} class="${t.bulletClass}"></${t.bulletElement}>`;n.html(a),e.pagination.bullets=n.find(ne(t.bulletClass))}"fraction"===t.type&&(a=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`,n.html(a)),"progressbar"===t.type&&(a=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`,n.html(a)),"custom"!==t.type&&i("paginationRender",e.pagination.$el[0])}function p(){e.params.pagination=se(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let s=y(t.el);0!==s.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&s.length>1&&(s=e.$el.find(t.el),s.length>1&&(s=s.filter((t=>y(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&s.addClass(t.clickableClass),s.addClass(t.modifierClass+t.type),s.addClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(s.addClass(`${t.modifierClass}${t.type}-dynamic`),r=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&s.addClass(t.progressbarOppositeClass),t.clickable&&s.on("click",ne(t.bulletClass),(function(t){t.preventDefault();let s=y(this).index()*e.params.slidesPerGroup;e.params.loop&&(s+=e.loopedSlides),e.slideTo(s)})),Object.assign(e.pagination,{$el:s,el:s[0]}),e.enabled||s.addClass(t.lockClass))}function u(){const t=e.params.pagination;if(o())return;const s=e.pagination.$el;s.removeClass(t.hiddenClass),s.removeClass(t.modifierClass+t.type),s.removeClass(e.isHorizontal()?t.horizontalClass:t.verticalClass),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&s.off("click",ne(t.bulletClass))}s("init",(()=>{!1===e.params.pagination.enabled?h():(p(),c(),d())})),s("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&d()})),s("snapIndexChange",(()=>{e.params.loop||d()})),s("slidesLengthChange",(()=>{e.params.loop&&(c(),d())})),s("snapGridLengthChange",(()=>{e.params.loop||(c(),d())})),s("destroy",(()=>{u()})),s("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),s("lock unlock",(()=>{d()})),s("click",((t,s)=>{const n=s.target,{$el:a}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&a&&a.length>0&&!y(n).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&n===e.navigation.nextEl||e.navigation.prevEl&&n===e.navigation.prevEl))return;const t=a.hasClass(e.params.pagination.hiddenClass);i(!0===t?"paginationShow":"paginationHide"),a.toggleClass(e.params.pagination.hiddenClass)}}));const h=()=>{e.$el.addClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass),u()};Object.assign(e.pagination,{enable:()=>{e.$el.removeClass(e.params.pagination.paginationDisabledClass),e.pagination.$el&&e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass),p(),c(),d()},disable:h,render:c,update:d,init:p,destroy:u})}const re=(e,t)=>{if(!e)return!1;if(!t)return!1;const s=t.querySelector(".block-content__date span"),i=t.querySelector(".block-content__tags"),n=t.querySelector(".block-content__text"),a=t.querySelector(".block-hero__title"),r=t.querySelector(".block-hero__image"),o=t.querySelector(".block-images__items"),l=t.querySelector(".block-images-slider__wrapper"),d=t.querySelector(".slider-gallery__wrapper"),c=t.querySelector(".block-images__mobile"),p=document.querySelector('meta[name="og:image"]'),u=document.querySelector('meta[name="description"]');s&&(s.innerHTML=e.date),p&&e.ogImage&&p.setAttribute("content",e.ogImage),r&&e.imagePreview&&(r.src=e.imagePreview),i&&e.tags.length&&e.tagsFilter.length&&(i.innerHTML="",e.tags.forEach(((t,s)=>{i.innerHTML+=`<a href="news/${e.tagsFilter[s]}" class="block-content__tag defaultSmall">${t}</a>`}))),u&&e.text.length&&u.setAttribute("content",e.text[0]),n&&e.text.length&&(n.innerHTML="",e.text.forEach((e=>n.innerHTML+=`<p>${e}</p>`))),a&&e.title&&(document.title=`${e.title}`,a.innerHTML=e.title),o&&e.images&&e.images.length&&(o.innerHTML="",e.images.forEach(((e,t)=>o.innerHTML+=`\n        <div class="block-images__item" data-role="news" data-slide="${t+1}">\n          <img src="${e}" alt="" loading="lazy">\n        </div>`))),l&&c&&e.images&&e.images.length?(l.innerHTML="",e.images.forEach((e=>l.innerHTML+=`\n        <div class="swiper-slide block-images-slider__slide">\n          <img src="${e}" alt="">\n        </div>`)),new ee(".block-images-slider__swiper",{modules:[ae,te],slidesPerView:1,spaceBetween:20,freeMode:!0,pagination:{el:".block-images-slider__pagination",clickable:!0},init:!1,mousewheel:!0,breakpoints:{320:{slidesPerView:1,spaceBetween:20},480:{slidesPerView:1,spaceBetween:20},768:{slidesPerView:1,spaceBetween:20}}}).init()):c.style.display="none",d&&e.images&&e.images.length&&(d.innerHTML="",e.images.forEach((e=>d.innerHTML+=`\n        <div class="swiper-slide slider-gallery__slide">\n          <img src="${e}" alt="gallery img">\n        </div>`)))};let oe=window.matchMedia("(min-width: 767px)");window.onresize=function(){const e=window.matchMedia("(min-width: 767px)"),t=document.querySelectorAll(".footer__block");e.matches?t.forEach((e=>{const t=e.querySelector(".footer__block-body");e.classList.remove("open"),t.style.height="initial"})):le(t)};const le=e=>{e.forEach((e=>{const t=e.querySelector(".footer__block-body");e.classList.remove("open"),t.style.height="0px"}))};window.addEventListener("load",(()=>{(()=>{const t=document.querySelector(".block-hero");if(!t)return!1;const s=e.items[0],i=t.querySelector(".block-hero__date span"),n=t.querySelector(".block-hero__title"),a=t.querySelector(".block-hero__image"),r=t.querySelector(".btn-link");s&&i&&n&&r&&(i.innerHTML=s.date,n.innerHTML=s.title,n.href=s.link,r.href=s.link,a.src=s.imagePreview)})(),(()=>{const t=e.items,s=document.querySelector(".block-news__items"),i=document.querySelector(".block-news__button"),n=document.querySelectorAll(".block-filter__item"),l=window.location.pathname.split("/");if(!s||!i||!n)return!1;let d=6;if(l.length>2&&l.slice(-1)[0]){const e=t.filter((e=>e.tagsFilter.includes(l.slice(-1)[0])));r(e,s,d),((e,t)=>{(e=>{e.forEach((e=>e.classList.remove("active")))})(e),e.forEach((e=>{e&&e.dataset.filter===t&&e.classList.add("active")}))})(n,l.slice(-1)[0]),(e=>{const t=new URL(document.location);t.searchParams.delete(e),window.history.pushState({},"",t.toString())})("filter")}else r(t,s,d);a(t.length,d,i),i.addEventListener("click",(()=>{let e=d;d+=d,i.classList.add("button--loading"),t.forEach(((t,n)=>{e<=d&&n+1>e&&n+1<=d&&o(s,t),i.classList.remove("button--loading")})),a(t.length,d,i)}))})(),(()=>{const e=document.querySelectorAll(".share");e.length&&e.forEach((e=>{const t=e.querySelectorAll(".share__link");t.length&&t.forEach((e=>{if(e.dataset.social)switch(e.dataset.social){case"telegram":e.href=`https://t.me/share/url?url=${window.location.href}`;break;case"twitter":e.href=`https://twitter.com/intent/tweet?url=${window.location.href}`;break;case"facebook":e.href=`https://www.facebook.com/sharer.php?u=${window.location.href}`;break;case"whatapp":e.href=`whatsapp://send/?text=''%20${window.location.href}`}}))}))})(),(()=>{const e=document.querySelectorAll(".footer__block");e.forEach((t=>{const s=t.querySelector(".footer__block-header"),i=t.querySelector(".footer__block-body");oe.matches||s.addEventListener("click",(s=>{const n=setTimeout((()=>{t.classList.contains("open")?(t.classList.remove("open"),i.style.height="0px"):(le(e),t.classList.add("open"),i.style.height=`${s.target.nextElementSibling.scrollHeight}px`),clearTimeout(n)}),50)}))}))})();const s=document.getElementById("news-0"),l=document.getElementById("news-1"),d=document.getElementById("news-2");s&&re(t,s),l&&re(i,l),d&&re(n,d),(e=>{const t=new ee(".slider-gallery",{modules:[ie],navigation:{nextEl:".slider-gallery__item-next",prevEl:".slider-gallery__item-prev"},loop:!0,speed:1e3,init:!1,slidesPerView:1,spaceBetween:0,observer:!0,observeParents:!0,virtualTranslate:!1,watchSlidesProgress:!0}),s=document.querySelector(`[data-widget="${e}"]`),i=document.querySelectorAll(`[data-role="${e}"]`);if(0===i.length&&!s)return!1;const n=s.querySelector(".modal-gallery__close");i.forEach((e=>{e.addEventListener("click",(()=>{s.classList.add("modal-gallery--active");const i=e.dataset.slide;t.init(),t.activeIndex=Number(i)}),!1)})),n.addEventListener("click",(()=>s.classList.remove("modal-gallery--active")),!1)})("news");document.querySelectorAll(".block-content__linkItem").forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault(),window.location.hash=e.dataset.href;const s=document.getElementById(e.dataset.href).getBoundingClientRect().top+window.pageYOffset+-110;window.scrollTo({top:s,behavior:"smooth"})}))}))}))})()})();