window.matchMedia("(prefers-color-scheme: dark)").matches&&document.body.classList.add("-theme-with-dark-background"),window.addEventListener("load",(()=>{const e=document.createElement("button");e.innerText="Toggle light/dark mode",e.style.position="fixed",e.style.bottom="10px",e.style.right="10px",e.style.width="200px",e.style.fontSize="16px",e.style.padding="5px",e.style.cursor="pointer",e.addEventListener("click",(e=>{e.preventDefault(),document.body.classList.toggle("-theme-with-dark-background")})),document.body.appendChild(e)}));
