import{aA as A,aB as K,aC as D,aD as M,aE as Q,V as C,n as y,H as Z,F as b,ar as W,aF as $,p as I,aG as Y,L as J,E as X,u as ee}from"./client-BmVmnFEC.js";import{P as te}from"./PvLogger-Bfc8O67g.js";import{V as ne,g as ie,m as ae}from"./makeGtmScript-B8HLg2s0.js";import{S as se}from"./SceneIcon-l1YgWyi_.js";import{X as re}from"./XImg-BILABif1.js";import{i as oe,g as U,_ as le}from"./noimage-Bo_AIiWw.js";import{m as ce,c as ue,e as de,p as me}from"./date-BYBoZiPG.js";import{d as pe}from"./loginSession-CK-JZbKZ.js";import"./index-B0CiJK2p.js";function fe(n){let{swiper:e,extendParams:t,on:i,emit:o}=n;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,prevEl:null};function l(a){let r;return a&&typeof a=="string"&&e.isElement&&(r=e.el.querySelector(a)||e.hostEl.querySelector(a),r)?r:(a&&(typeof a=="string"&&(r=[...document.querySelectorAll(a)]),e.params.uniqueNavElements&&typeof a=="string"&&r&&r.length>1&&e.el.querySelectorAll(a).length===1?r=e.el.querySelector(a):r&&r.length===1&&(r=r[0])),a&&!r?a:r)}function m(a,r){const f=e.params.navigation;a=A(a),a.forEach(d=>{d&&(d.classList[r?"add":"remove"](...f.disabledClass.split(" ")),d.tagName==="BUTTON"&&(d.disabled=r),e.params.watchOverflow&&e.enabled&&d.classList[e.isLocked?"add":"remove"](f.lockClass))})}function s(){const{nextEl:a,prevEl:r}=e.navigation;if(e.params.loop){m(r,!1),m(a,!1);return}m(r,e.isBeginning&&!e.params.rewind),m(a,e.isEnd&&!e.params.rewind)}function c(a){a.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),o("navigationPrev"))}function v(a){a.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),o("navigationNext"))}function u(){const a=e.params.navigation;if(e.params.navigation=K(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(a.nextEl||a.prevEl))return;let r=l(a.nextEl),f=l(a.prevEl);Object.assign(e.navigation,{nextEl:r,prevEl:f}),r=A(r),f=A(f);const d=(g,p)=>{g&&g.addEventListener("click",p==="next"?v:c),!e.enabled&&g&&g.classList.add(...a.lockClass.split(" "))};r.forEach(g=>d(g,"next")),f.forEach(g=>d(g,"prev"))}function _(){let{nextEl:a,prevEl:r}=e.navigation;a=A(a),r=A(r);const f=(d,g)=>{d.removeEventListener("click",g==="next"?v:c),d.classList.remove(...e.params.navigation.disabledClass.split(" "))};a.forEach(d=>f(d,"next")),r.forEach(d=>f(d,"prev"))}i("init",()=>{e.params.navigation.enabled===!1?h():(u(),s())}),i("toEdge fromEdge lock unlock",()=>{s()}),i("destroy",()=>{_()}),i("enable disable",()=>{let{nextEl:a,prevEl:r}=e.navigation;if(a=A(a),r=A(r),e.enabled){s();return}[...a,...r].filter(f=>!!f).forEach(f=>f.classList.add(e.params.navigation.lockClass))}),i("click",(a,r)=>{let{nextEl:f,prevEl:d}=e.navigation;f=A(f),d=A(d);const g=r.target;let p=d.includes(g)||f.includes(g);if(e.isElement&&!p){const E=r.path||r.composedPath&&r.composedPath();E&&(p=E.find(S=>f.includes(S)||d.includes(S)))}if(e.params.navigation.hideOnClick&&!p){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===g||e.pagination.el.contains(g)))return;let E;f.length?E=f[0].classList.contains(e.params.navigation.hiddenClass):d.length&&(E=d[0].classList.contains(e.params.navigation.hiddenClass)),o(E===!0?"navigationShow":"navigationHide"),[...f,...d].filter(S=>!!S).forEach(S=>S.classList.toggle(e.params.navigation.hiddenClass))}});const N=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),u(),s()},h=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),_()};Object.assign(e.navigation,{enable:N,disable:h,update:s,init:u,destroy:_})}function ve(n){let{swiper:e,extendParams:t,emit:i,once:o}=n;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function l(){if(e.params.cssMode)return;const c=e.getTranslate();e.setTranslate(c),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function m(){if(e.params.cssMode)return;const{touchEventsData:c,touches:v}=e;c.velocities.length===0&&c.velocities.push({position:v[e.isHorizontal()?"startX":"startY"],time:c.touchStartTime}),c.velocities.push({position:v[e.isHorizontal()?"currentX":"currentY"],time:D()})}function s(c){let{currentPos:v}=c;if(e.params.cssMode)return;const{params:u,wrapperEl:_,rtlTranslate:N,snapGrid:h,touchEventsData:a}=e,f=D()-a.touchStartTime;if(v<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(v>-e.maxTranslate()){e.slides.length