");g.innerHTML=k;let b=M.coordinates.join(",");y.innerHTML='';try{a=h().theme}catch(e){a=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"night":"day"}let _={day:"day",night:"night"},f=a===_.night;document.body.classList.add(_[a]),p();let v=()=>{f=!f,document.body.classList.toggle(_.day),document.body.classList.toggle(_.night),p()};function p(){document.documentElement.style.setProperty("color-scheme",f?"dark":"light");let a=getComputedStyle(document.body).getPropertyValue("--background");document.querySelector('meta[name="theme-color"]')?.setAttribute("content",a)}let S=0,A=1e3*parseFloat(getComputedStyle(document.body).getPropertyValue("--day-length"));document.body.addEventListener("click",a=>{console.log(a);let e=performance.now();S+A>e||(v(),S=e)})}();