document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".skip-link:not(#wp-skip-link)").forEach((function(e){e.remove()}));const e=document.getElementById("wp-skip-link")||document.querySelector(".skip-link"),t=document.getElementById("main-content");e&&t&&e.addEventListener("click",(function(e){e.preventDefault(),t.hasAttribute("tabindex")||t.setAttribute("tabindex","-1"),t.focus({preventScroll:!1}),t.addEventListener("blur",(function(){t.removeAttribute("tabindex")}),{once:!0})}))}));