',a.setAttribute("aria-pressed","true"),e&&localStorage.setItem("darkMode","enabled")},d=(e=!0)=>{document.body.classList.remove("darkmode"),a.innerHTML='',a.setAttribute("aria-pressed","false"),e&&localStorage.setItem("darkMode","disabled")},r=()=>{e?"enabled"===e?t():d():window.matchMedia("(prefers-color-scheme: dark)").matches?t(!1):d(!1)};r(),a.addEventListener("click",(()=>{e=document.body.classList.contains("darkmode"),e?d():t()})),document.addEventListener("astro:after-swap",(()=>{e=localStorage.getItem("darkMode"),r()}))}()HomeLatest (2024)Contribute (2025)Archives20232024Puzzler Pride 2024: Infinite Pride Edition Get the PDF Learn More