cument.cookie.replace(/(?:(?:^|.*;\s*)night\s*=\s*([^;]*).*$)|^.*$/,"$1")==="")(new Date).getHours()>22||(new Date).getHours()<6?(document.body.classList.remove("io-black-mode"),document.body.classList.add("io-grey-mode"),document.cookie="night=1;path=/",console.log("夜间模式开启")):(document.body.classList.remove("night"),document.cookie="night=0;path=/",console.log("夜间模式关闭"));else{var e=document.cookie.replace(/(?:(?:^|.*;\s*)night\s*=\s*([^;]*).*$)|^.*$/,"$1")||"0";e=="0"?document.body.