const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/slider-visible-element-DhDF-loo.js","assets/carousel-handles-D_-vJbTY.js"])))=>i.map(i=>d[i]);
import{_ as n}from"./preload-helper-Cpz7Q_vc.js";import{e as l,c as o,b as c}from"./carousel-handles-D_-vJbTY.js";function u(){import.meta.url,import("_").catch(()=>1),async function*(){}().next()}const s="active",d=(e,t)=>{t.addEventListener(l.KEY,i=>r(e,i.index)),r(e,t.getCurrentIndex())},r=(e,t)=>{for(const i of o(e,'[data-carousel-show-on-slide="'.concat(t,'"]:not(.').concat(s,")")))i.classList.add(s);for(const i of o(e,".".concat(s,'[data-carousel-show-on-slide]:not([data-carousel-show-on-slide="').concat(t,'"])')))i.classList.remove(s)},_=(e,t)=>{e.matches(":scope.hero__carousel")&&(d(e,t),a==null||a.then(i=>i(e,t)))},a=CSS.supports("animation-timeline: view()")?void 0:n(()=>import("./slider-visible-element-DhDF-loo.js"),__vite__mapDeps([0,1])).then(e=>e.initializeSlideVisibilityTracking);c(_);export{u as __vite_legacy_guard};
//# sourceMappingURL=hero-carousel-init-DFJ46djL.js.map
