1import{M as i}from"./modal-dialog-BZUPPsn5.js";function f(){const t=document.querySelector("#modal-flavour-modal");t&&new i(t,{modalId:"flavour-modal",triggerEl:document.querySelectorAll(".stitch-trigger")});const l=document.querySelectorAll("#modal-flavour-modal [data-url]"),a=document.querySelector("#modal-flavour-modal .prp-label"),o=document.querySelector("#modal-flavour-modal .btn--primary"),r=document.querySelector("#modal-flavour-modal .swatch-selected__title"),c=document.querySelector("#modal-flavour-modal .swatch-selected__close"),d=document.querySelector("#modal-flavour-modal .swatch-selected__header");l.forEach(e=>{e.addEventListener("click",()=>{l.forEach(u=>{u.classList.remove("active")}),e.classList.add("active");const s=e.getAttribute("alt"),n=e.getAttribute("data-url");a.textContent=s,o.classList.add("active"),d.classList.add("selected"),o.href=n,r.style.display="none",c.style.display="none"})})}export{f as i};
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.