1import{B as e}from"./baseComponent-C2qLyXYd.js";import{a as t}from"../main-V7ONZqpg.js";import{S as s}from"./swiper-core-C-vScioD.js";import{t as i}from"./themesUtils-CHrOkWy6.js";import{A as r}from"./analytics-DgWeOFN8.js";import"./navigationMenu-BZWkZTou.js";import"./lodash-DBmoo9tr.js";import"./componentObserver-DnkG6Zch.js";import"./http-CledryLA.js";class n extends e{constructor(e){super(e),this.el.addEventListener(t.READY,this.init.bind(this))}init(){this.revealElement();let e=6;const t=parseInt(this.el.getAttribute("data-page-size")||"0",10);t>0&&(e=t);const r=this.el.querySelector(".swiper-container");new s(r,{slidesPerView:1.3,centeredSlides:!0,spaceBetween:24,breakpoints:{600:{centeredSlides:!1,slidesPerView:2},900:{centeredSlides:!1,slidesPerView:3},1280:{centeredSlides:!1,slidesPerView:e,spaceBetween:32}}}),i.isOffSeason()&&this.initOffSeasonTracking()}initOffSeasonTracking(){[...this.el.querySelectorAll(".swiper-slide a")].forEach(e=>{e.addEventListener("click",e=>{var t;const s=e.currentTarget,n=(null==(t=null==s?void 0:s.querySelector(".label"))?void 0:t.textContent)||"";if(i.isOffSeason()){let t={event:"off_season_curated_located_click",parameters:{off_season_location_name:n}};t=r.addDataLayerEventCallback(e,s,t),r.pushEvent(t)}})})}}export{n as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.