import"./main-v4-cG-pE7B4.js";var e=document.querySelectorAll(".settings-nav-link");e.forEach(t=>{t.addEventListener("click",r=>{r.preventDefault();const o=document.querySelector(t.getAttribute("href"));o&&(e.forEach(e=>e.classList.remove("active")),t.classList.add("active"),o.scrollIntoView({behavior:"smooth",block:"start"}))})});var t=document.querySelectorAll(".settings-section"),r=new IntersectionObserver(t=>{t.forEach(t=>{if(t.isIntersecting){const r=t.target.id;e.forEach(e=>e.classList.toggle("active",e.getAttribute("href")==="#"+r))}})},{rootMargin:"-30% 0px -60% 0px",threshold:0});t.forEach(e=>r.observe(e));