!function(){document.querySelectorAll("[data-category-navigation]").forEach((e=>{e.querySelector("[data-category-navigation-showmore]")?.addEventListener("click",(t=>{t.preventDefault();const a=e.querySelector("[data-category-navigation-more]");a.classList.toggle("hidden"),t.target.textContent=a.classList.contains("hidden")?e.getAttribute("data-show-more"):e.getAttribute("data-show-less")}))}));const e=document.querySelector("[data-category-navigation-wrapper]"),t=document.querySelector("[data-category-navigation-mobile]");t?.addEventListener("click",(()=>{e?.classList.toggle("fixed"),e?.classList.toggle("hidden")})),e.querySelector("[data-category-navigation-close]")?.addEventListener("click",(()=>{e?.classList.remove("fixed"),e?.classList.add("hidden")}))}();