document.addEventListener("DOMContentLoaded",function(){const t=document.querySelector("#press-toolbar");if(!t)return;const e=t.querySelectorAll("button"),r=document.querySelector(".ressources-grid-content-wrapper");e.forEach(t=>{t.addEventListener("click",function(){var a;a=t,e.forEach(t=>{t.setAttribute("aria-selected","false")}),a.setAttribute("aria-selected","true"),r.setAttribute("data-active-tab",a.getAttribute("data-tab"))})})});