sinzmise-cetastories 1.7.0-1717917092688 → 1.7.0-1717919676004
Sign up to get free protection for your applications and to get access to all the features.
- package/404/index.html +1 -1
- package/404.html +1 -1
- package/about/index.html +1 -1
- package/album/index.html +1 -1
- package/archives/2021/12/index.html +1 -1
- package/archives/2021/index.html +1 -1
- package/archives/2022/12/index.html +1 -1
- package/archives/2022/index.html +1 -1
- package/archives/2023/01/index.html +1 -1
- package/archives/2023/02/index.html +1 -1
- package/archives/2023/03/index.html +1 -1
- package/archives/2023/04/index.html +1 -1
- package/archives/2023/07/index.html +1 -1
- package/archives/2023/08/index.html +1 -1
- package/archives/2023/09/index.html +1 -1
- package/archives/2023/10/index.html +1 -1
- package/archives/2023/11/index.html +1 -1
- package/archives/2023/12/index.html +1 -1
- package/archives/2023/index.html +1 -1
- package/archives/2023/page/2/index.html +1 -1
- package/archives/2023/page/3/index.html +1 -1
- package/archives/2024/01/index.html +1 -1
- package/archives/2024/02/index.html +1 -1
- package/archives/2024/03/index.html +1 -1
- package/archives/2024/04/index.html +1 -1
- package/archives/2024/05/index.html +1 -1
- package/archives/2024/index.html +1 -1
- package/archives/2024/page/2/index.html +1 -1
- package/archives/index.html +1 -1
- package/archives/page/2/index.html +1 -1
- package/archives/page/3/index.html +1 -1
- package/archives/page/4/index.html +1 -1
- package/atom.xml +22 -22
- package/baidu_verify_codeva-NA6uDlCuZg.html +1 -1
- package/baidusitemap.xml +32 -32
- package/bangumis/index.html +1 -1
- package/bbs/index.html +1 -1
- package/cacheList.json +1 -1
- package/categories/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
- package/categories//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
- package/categories//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
- package/categories//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
- package/categories//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
- package/categories//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
- package/charts/index.html +1 -1
- package/comments/index.html +1 -1
- package/essay/index.html +1 -1
- package/fcircle/index.html +1 -1
- package/google8073542809160a67.html +1 -1
- package/index.html +1 -1
- package/js/console.js +1 -1
- package/link/index.html +1 -1
- package/music/index.html +1 -1
- package/package.json +1 -1
- package/page/2/index.html +1 -1
- package/page/3/index.html +1 -1
- package/page/4/index.html +1 -1
- package/posts/10021/index.html +1 -1
- package/posts/10045/index.html +1 -1
- package/posts/10996/index.html +1 -1
- package/posts/12779/index.html +1 -1
- package/posts/13624/index.html +1 -1
- package/posts/15748/index.html +1 -1
- package/posts/15842/index.html +1 -1
- package/posts/16107/index.html +1 -1
- package/posts/18063/index.html +1 -1
- package/posts/20412/index.html +1 -1
- package/posts/21375/index.html +1 -1
- package/posts/22945/index.html +1 -1
- package/posts/23021/index.html +1 -1
- package/posts/27531/index.html +1 -1
- package/posts/27762/index.html +1 -1
- package/posts/28536/index.html +1 -1
- package/posts/28733/index.html +1 -1
- package/posts/29196/index.html +1 -1
- package/posts/38917/index.html +1 -1
- package/posts/38964/index.html +1 -1
- package/posts/42487/index.html +1 -1
- package/posts/42580/index.html +1 -1
- package/posts/45875/index.html +1 -1
- package/posts/48762/index.html +1 -1
- package/posts/50710/index.html +1 -1
- package/posts/52677/index.html +1 -1
- package/posts/53662/index.html +1 -1
- package/posts/54386/index.html +1 -1
- package/posts/54481/index.html +1 -1
- package/posts/54787/index.html +1 -1
- package/posts/56467/index.html +1 -1
- package/posts/57692/index.html +1 -1
- package/posts/58203/index.html +1 -1
- package/posts/61417/index.html +1 -1
- package/posts/646/index.html +1 -1
- package/seas/index.html +1 -1
- package/sitemap.xml +49 -49
- package/tags/Flash/347/233/270/345/205/263/index.html +1 -1
- package/tags/Steam/346/270/270/346/210/217/index.html +1 -1
- package/tags/Windows/350/275/257/344/273/266/index.html +1 -1
- package/tags/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/index.html +1 -1
- package/tags//344/270/252/344/272/272/345/260/217/350/256/260/page/2/index.html +1 -1
- package/tags//345/205/266/345/256/203/346/270/270/346/210/217/index.html +1 -1
- package/tags//346/202/254/346/265/256/345/256/240/347/211/251-/347/234/213/346/235/277/345/250/230/index.html +1 -1
- package/tags//346/255/214/346/233/262/346/224/266/351/233/206/index.html +1 -1
- package/tags//346/270/270/346/210/217/347/233/270/345/205/263/index.html +1 -1
- package/tags//347/253/231/347/202/271/345/272/225/351/203/250/351/255/224/346/224/271/index.html +1 -1
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/index.html +1 -1
- package/tags//347/253/231/347/202/271/346/212/230/350/205/276/page/2/index.html +1 -1
- package/tags//350/207/252/345/273/272/351/203/250/347/275/262/index.html +1 -1
- package/tags//351/241/265/351/235/242/351/255/224/346/224/271/index.html +1 -1
- package/tags//351/241/271/347/233/256/346/212/230/350/205/276/index.html +1 -1
- package/update/index.html +1 -1
- package/update.json +1 -1
package/js/console.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function tosetting(){$("#settingWindow").hide(),"false"==localStorage.getItem("blur")?blur=0:blur=1,"true"==localStorage.getItem("yjjs")?yjjs=1:yjjs=0,null==localStorage.getItem("fpson")&&localStorage.setItem("fpson","1"),blur?document.getElementById("settingStyle").innerText="":document.getElementById("settingStyle").innerText="\n *,*:not(.card-info)::before,*::after{\n -webkit-backdrop-filter: none!important;\n backdrop-filter: none!important;\n -webkit-filter: none!important;\n filter: none!important;\n }",setBlur=function(){blur=!blur,localStorage.setItem("blur",blur),blur?document.getElementById("settingStyle").innerText="":document.getElementById("settingStyle").innerText="\n *{\n -webkit-backdrop-filter: none!important;\n backdrop-filter: none!important;\n -webkit-filter: none!important;\n filter: none!important;\n }"},yjjs1=function(){yjjs=!yjjs,localStorage.setItem("yjjs",yjjs)},"acrylic"==localStorage.getItem("blogTheme")&&(document.getElementById("css").href=""),switchTheme=function(){document.getElementById("css").href==window.location.protocol+"//"+window.location.host+"/css/stylessimple.css"?(document.getElementById("css").href="",localStorage.setItem("blogTheme","acrylic")):(document.getElementById("css").href="/css/stylessimple.css",localStorage.setItem("blogTheme","simple"))},setColor=function(e){document.getElementById("themeColor").innerText=`:root{--story-theme:var(--story-${e})!important;--story-theme-op:var(--story-${e}-op;)!important;--story-theme-deep:var(--story-${e}-deep;)!important;--story-theme-none:var(--story-${e}-none;)!important}`,localStorage.setItem("themeColor",e)},setFont=function(e){if(localStorage.setItem("font",e),"main"==e)for(var t=document.querySelectorAll("body,.aplayer"),o=0;o<t.length;o++)t[o].style.fontFamily="-apple-system, IBM Plex Mono ,monospace,'寰蒋闆呴粦', sans-serif";else if("HYPailou"==e)for(t=document.querySelectorAll("body,.aplayer"),o=0;o<t.length;o++)t[o].style.fontFamily="Fredoka,HYPailou,KyoukashoProL,-apple-system, IBM Plex Mono ,monospace,'寰蒋闆呴粦', sans-serif";else{for(t=document.querySelectorAll("body,.aplayer"),o=0;o<t.length;o++)t[o].style.fontFamily='var(--global-font),KyoukashoProL,-apple-system, IBM Plex Mono ,monosapce,"寰蒋闆呴粦", sans-serif';document.body.style.fontFamily="var(--global-font),KyoukashoProL,-apple-system, IBM Plex Mono ,monosapce,'寰蒋闆呴粦', sans-serif",document.documentElement.style.setProperty("--global-font",e)}},null==localStorage.getItem("themeColor")&&localStorage.setItem("themeColor","orange"),setColor(localStorage.getItem("themeColor")),null==localStorage.getItem("hideRightside")&&localStorage.setItem("hideRightside","0"),"1"==localStorage.getItem("hideRightside")&&$("#rightside").toggle(),toggleRightside=function(){$("#rightside").toggle(),localStorage.setItem("hideRightside",Math.abs(Number(localStorage.getItem("hideRightside"))-1))},null==localStorage.getItem("font")&&localStorage.setItem("font","HYTMR"),setFont(localStorage.getItem("font")),saveData=function(e,t){localStorage.setItem(e,JSON.stringify({time:Date.now(),data:t}))},loadData=function(e,t){let o=JSON.parse(localStorage.getItem(e));if(o){let e=Date.now()-o.time;if(e<60*t*1e3&&e>-1)return o.data}return 0},changeBg=function(e,t){let o=document.getElementById("web_bg");"#"==e.charAt(0)?(o.style.backgroundColor=e,o.style.backgroundImage="none"):o.style.backgroundImage=e,t||saveData("blogbg",e)};try{let e=loadData("blogbg",1440);e?changeBg(e,1):localStorage.removeItem("blogbg")}catch(e){localStorage.removeItem("blogbg")}if(fpssw=function(){"1"==localStorage.getItem("fpson")?localStorage.setItem("fpson","0"):localStorage.setItem("fpson","1")},$(".asetting").hide(),$("#backer").hide(),$("#stt-style").hide(),$("#stt-font").hide(),$("#stt-background").hide(),$("#stt-count").hide(),$("#stt-about").hide(),$("#"+localStorage.getItem("themeColor")).attr("checked",!0),"false"==localStorage.getItem("blur")&&(document.getElementById("blur").checked=!0),"true"==localStorage.getItem("yjjs")&&(document.getElementById("yjjs").checked=!0),"1"==localStorage.getItem("fpson")&&(document.getElementById("fpson").checked=!0),"false"==localStorage.getItem("sakurahide")?(document.getElementById("hideSakura").checked=!0,isSakura=1):null==localStorage.getItem("sakurahide")?(localStorage.setItem("sakurahide","false"),document.getElementById("hideSakura").checked=!0,isSakura=1):(setTimeout(stopp,1e3),isSakura=0),"true"==localStorage.getItem("aplayerhide")){document.getElementById("hideAplayer").checked=!1;var e=document.getElementById("guiguiplayer"),t=document.getElementById("guiguiTips"),o=document.getElementById("guiguiKsc"),l=document.getElementById("guiguiKsc");if(document.getElementById("xplayer")&&e&&t&&o&&l)e.style.visibility="hidden",t.style.visibility="hidden",o.style.visibility="hidden",l.style.visibility="hidden",hasgeci=!1,$("li",$albumList).eq(albumId).addClass(cur).find(".artist").html("暂停播放 > ").parent().siblings().removeClass(cur).find(".artist").html("").parent(),guiguiTips.show("暂停播放 - "+songSheetList[albumId].songNames[songId]),$cover.removeClass("coverplay"),audio.pause(),document.getElementsByClassName("pause")[0].style.display="none",document.getElementsByClassName("play")[0].style.display="block",$.cookie("auto_playre","no");else setTimeout((()=>Snackbar.show({text:"本站配合音乐播放器最佳(可在设置里关闭)",pos:"bottom-right",actionText:"开启播放器",onActionClick:function(e){toggleAplayer()}})),15e3)}else if(null==localStorage.getItem("aplayerhide"))localStorage.setItem("aplayerhide","true"),document.getElementById("hideAplayer").checked=!1;else{document.getElementById("hideAplayer").checked=!0;e=document.getElementById("guiguiplayer"),t=document.getElementById("guiguiTips"),o=document.getElementById("guiguiKsc"),l=document.getElementById("guiguiKsc");if(document.getElementById("xplayer")&&e&&t&&o&&l)e.style.visibility="visible",t.style.visibility="visible",o.style.visibility="visible",l.style.visibility="visible";else{var a=document.createElement("script");a.id="xplayer",a.src="https://y.cenguigui.cn/Static/player13/js/player.js",a.setAttribute("key",GLOBAL_CONFIG.player.key),a.setAttribute("m",GLOBAL_CONFIG.player.mobile),document.getElementsByTagName("body")[0].appendChild(a)}}if(document.getElementsByClassName("reSettings")[0].onclick=function(){localStorage.clear(),window.location.reload()},toggleWinbox=function(){$("#settingWindow").fadeToggle(),"none"!=document.getElementById("settingWindow").style.display&&(document.getElementById("settingWindow").style.display="flex")},fullScreen=function(){document.fullscreenElement?document.exitFullscreen():document.documentElement.requestFullscreen()},toggleAside=function(){const e=document.documentElement.classList;e.contains("hide-aside")?saveToLocal.set("aside-status","show",2):saveToLocal.set("aside-status","hide",2),e.toggle("hide-aside")},toggleAplayer=function(){if("true"==localStorage.getItem("aplayerhide")){localStorage.setItem("aplayerhide",!1);var e=document.getElementById("guiguiplayer"),t=document.getElementById("guiguiTips"),o=document.getElementById("guiguiKsc"),l=document.getElementById("guiguiKsc");if((i=document.getElementById("xplayer"))&&e&&t&&o&&l)e.style.visibility="visible",t.style.visibility="visible",o.style.visibility="visible",l.style.visibility="visible";else{var a=document.createElement("script");a.id="xplayer",a.src="https://y.cenguigui.cn/Static/player13/js/player.js",a.setAttribute("key",GLOBAL_CONFIG.player.key),a.setAttribute("m",GLOBAL_CONFIG.player.mobile),document.getElementsByTagName("body")[0].appendChild(a)}}else{localStorage.setItem("aplayerhide",!0);var i=document.getElementById("xplayer");e=document.getElementById("guiguiplayer"),t=document.getElementById("guiguiTips"),o=document.getElementById("guiguiKsc"),l=document.getElementById("guiguiKsc");if(i&&e&&t&&o&&l)e.style.visibility="hidden",t.style.visibility="hidden",o.style.visibility="hidden",l.style.visibility="hidden",hasgeci=!1,$("li",$albumList).eq(albumId).addClass(cur).find(".artist").html("暂停播放 > ").parent().siblings().removeClass(cur).find(".artist").html("").parent(),guiguiTips.show("暂停播放 - "+songSheetList[albumId].songNames[songId]),$cover.removeClass("coverplay"),audio.pause(),document.getElementsByClassName("pause")[0].style.display="none",document.getElementsByClassName("play")[0].style.display="block",$.cookie("auto_playre","no");else setTimeout((()=>Snackbar.show({text:"本站配合音乐播放器最佳(可在设置里关闭)",pos:"bottom-right",actionText:"开启播放器",onActionClick:function(e){toggleAplayer()}})),15e3)}},toggleSakuras=function(){isSakura=!isSakura,stopp(isSakura),"true"==localStorage.getItem("sakurahide")?localStorage.setItem("sakurahide",!1):localStorage.setItem("sakurahide",!0)},switchAside=function(){if(left)document.getElementById("aside-content").classList.add("right"),document.querySelector(".layout > div:first-child").classList.add("left"),localStorage.setItem("leftAside","false");else{document.getElementById("aside-content").className="aside-content",document.querySelector(".layout > div:first-child").className="";try{document.querySelector("#recent-posts").className="recent-posts"}catch(e){}localStorage.setItem("leftAside","true")}left=!left},left=1,"true"==localStorage.getItem("leftAside")||null==localStorage.getItem("leftAside")||switchAside(),"true"==localStorage.getItem("autoTheme")){localStorage.setItem("autoTheme","false"),document.getElementById("autoTheme").checked=!0;var i=new Date;i.getHours()<=7||i.getHours()>=19?(activateDarkMode(),saveToLocal.set("theme","dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.day_to_night)):(activateLightMode(),saveToLocal.set("theme","light",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day))}toggleAutoTheme=()=>{if("false"==localStorage.getItem("autoTheme"))localStorage.setItem("autoTheme","true"),$("#con-mode").show();else{localStorage.setItem("autoTheme","false");var e=new Date;e.getHours()<=7||e.getHours()>=19?(activateDarkMode(),saveToLocal.set("theme","dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.day_to_night)):(activateLightMode(),saveToLocal.set("theme","light",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day)),$("#con-mode").hide()}}}document.addEventListener("pjax:complete",tosetting),document.addEventListener("DOMContentLoaded",tosetting),switchDarkMode=function(){"light"===("dark"===document.documentElement.getAttribute("data-theme")?"dark":"light")?(activateDarkMode(),saveToLocal.set("theme","dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.day_to_night)):(activateLightMode(),saveToLocal.set("theme","light",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day)),"function"==typeof utterancesTheme&&utterancesTheme(),"object"==typeof FB&&window.loadFBComment(),window.DISQUS&&document.getElementById("disqus_thread").children.length&&setTimeout((()=>window.disqusReset()),200)};
|
1
|
+
function tosetting(){$("#settingWindow").hide(),"false"==localStorage.getItem("blur")?blur=0:blur=1,"true"==localStorage.getItem("yjjs")?yjjs=1:yjjs=0,null==localStorage.getItem("fpson")&&localStorage.setItem("fpson","1"),blur?document.getElementById("settingStyle").innerText="":document.getElementById("settingStyle").innerText="\n *,*:not(.card-info)::before,*::after{\n -webkit-backdrop-filter: none!important;\n backdrop-filter: none!important;\n -webkit-filter: none!important;\n filter: none!important;\n }",setBlur=function(){blur=!blur,localStorage.setItem("blur",blur),blur?document.getElementById("settingStyle").innerText="":document.getElementById("settingStyle").innerText="\n *{\n -webkit-backdrop-filter: none!important;\n backdrop-filter: none!important;\n -webkit-filter: none!important;\n filter: none!important;\n }"},yjjs1=function(){yjjs=!yjjs,localStorage.setItem("yjjs",yjjs)},"acrylic"==localStorage.getItem("blogTheme")&&(document.getElementById("css").href=""),switchTheme=function(){document.getElementById("css").href==window.location.protocol+"//"+window.location.host+"/css/stylessimple.css"?(document.getElementById("css").href="",localStorage.setItem("blogTheme","acrylic")):(document.getElementById("css").href="/css/stylessimple.css",localStorage.setItem("blogTheme","simple"))},setColor=function(e){document.getElementById("themeColor").innerText=`:root{--story-theme:var(--story-${e})!important;--story-theme-op:var(--story-${e}-op;)!important;--story-theme-deep:var(--story-${e}-deep;)!important;--story-theme-none:var(--story-${e}-none;)!important}`,localStorage.setItem("themeColor",e)},setFont=function(e){if(localStorage.setItem("font",e),"main"==e)for(var t=document.querySelectorAll("body,.aplayer"),o=0;o<t.length;o++)t[o].style.fontFamily="-apple-system, IBM Plex Mono ,monospace,'寰蒋闆呴粦', sans-serif";else if("HYPailou"==e)for(t=document.querySelectorAll("body,.aplayer"),o=0;o<t.length;o++)t[o].style.fontFamily="Fredoka,HYPailou,KyoukashoProL,-apple-system, IBM Plex Mono ,monospace,'寰蒋闆呴粦', sans-serif";else{for(t=document.querySelectorAll("body,.aplayer"),o=0;o<t.length;o++)t[o].style.fontFamily='var(--global-font),KyoukashoProL,-apple-system, IBM Plex Mono ,monosapce,"寰蒋闆呴粦", sans-serif';document.body.style.fontFamily="var(--global-font),KyoukashoProL,-apple-system, IBM Plex Mono ,monosapce,'寰蒋闆呴粦', sans-serif",document.documentElement.style.setProperty("--global-font",e)}},null==localStorage.getItem("themeColor")&&localStorage.setItem("themeColor","orange"),setColor(localStorage.getItem("themeColor")),null==localStorage.getItem("hideRightside")&&localStorage.setItem("hideRightside","0"),"1"==localStorage.getItem("hideRightside")&&$("#rightside").toggle(),toggleRightside=function(){$("#rightside").toggle(),localStorage.setItem("hideRightside",Math.abs(Number(localStorage.getItem("hideRightside"))-1))},null==localStorage.getItem("font")&&localStorage.setItem("font","HYTMR"),setFont(localStorage.getItem("font")),saveData=function(e,t){localStorage.setItem(e,JSON.stringify({time:Date.now(),data:t}))},loadData=function(e,t){let o=JSON.parse(localStorage.getItem(e));if(o){let e=Date.now()-o.time;if(e<60*t*1e3&&e>-1)return o.data}return 0},changeBg=function(e,t){let o=document.getElementById("web_bg");"#"==e.charAt(0)?(o.style.backgroundColor=e,o.style.backgroundImage="none"):o.style.backgroundImage=e,t||saveData("blogbg",e)};try{let e=loadData("blogbg",1440);e?changeBg(e,1):localStorage.removeItem("blogbg")}catch(e){localStorage.removeItem("blogbg")}if(fpssw=function(){"1"==localStorage.getItem("fpson")?localStorage.setItem("fpson","0"):localStorage.setItem("fpson","1")},$(".asetting").hide(),$("#backer").hide(),$("#stt-style").hide(),$("#stt-font").hide(),$("#stt-background").hide(),$("#stt-count").hide(),$("#stt-about").hide(),$("#"+localStorage.getItem("themeColor")).attr("checked",!0),"false"==localStorage.getItem("blur")&&(document.getElementById("blur").checked=!0),"true"==localStorage.getItem("yjjs")&&(document.getElementById("yjjs").checked=!0),"1"==localStorage.getItem("fpson")&&(document.getElementById("fpson").checked=!0),"false"==localStorage.getItem("sakurahide")?(document.getElementById("hideSakura").checked=!0,isSakura=1):null==localStorage.getItem("sakurahide")?(localStorage.setItem("sakurahide","true"),document.getElementById("hideSakura").checked=!1,setTimeout(stopp,1e3),isSakura=0):(document.getElementById("hideSakura").checked=!1,setTimeout(stopp,1e3),isSakura=0),"true"==localStorage.getItem("aplayerhide")){document.getElementById("hideAplayer").checked=!1;var e=document.getElementById("guiguiplayer"),t=document.getElementById("guiguiTips"),o=document.getElementById("guiguiKsc"),a=document.getElementById("guiguiKsc");if(document.getElementById("xplayer")&&e&&t&&o&&a)e.style.visibility="hidden",t.style.visibility="hidden",o.style.visibility="hidden",a.style.visibility="hidden",hasgeci=!1,$("li",$albumList).eq(albumId).addClass(cur).find(".artist").html("暂停播放 > ").parent().siblings().removeClass(cur).find(".artist").html("").parent(),guiguiTips.show("暂停播放 - "+songSheetList[albumId].songNames[songId]),$cover.removeClass("coverplay"),audio.pause(),document.getElementsByClassName("pause")[0].style.display="none",document.getElementsByClassName("play")[0].style.display="block",$.cookie("auto_playre","no");else setTimeout((()=>Snackbar.show({text:"本站配合音乐播放器最佳(可在设置里关闭)",pos:"bottom-right",actionText:"开启播放器",onActionClick:function(e){toggleAplayer()}})),15e3)}else if(null==localStorage.getItem("aplayerhide"))localStorage.setItem("aplayerhide","true"),document.getElementById("hideAplayer").checked=!1;else{document.getElementById("hideAplayer").checked=!0;e=document.getElementById("guiguiplayer"),t=document.getElementById("guiguiTips"),o=document.getElementById("guiguiKsc"),a=document.getElementById("guiguiKsc");if(document.getElementById("xplayer")&&e&&t&&o&&a)e.style.visibility="visible",t.style.visibility="visible",o.style.visibility="visible",a.style.visibility="visible";else{var l=document.createElement("script");l.id="xplayer",l.src="https://y.cenguigui.cn/Static/player13/js/player.js",l.setAttribute("key",GLOBAL_CONFIG.player.key),l.setAttribute("m",GLOBAL_CONFIG.player.mobile),document.getElementsByTagName("body")[0].appendChild(l)}}if(document.getElementsByClassName("reSettings")[0].onclick=function(){localStorage.clear(),window.location.reload()},toggleWinbox=function(){$("#settingWindow").fadeToggle(),"none"!=document.getElementById("settingWindow").style.display&&(document.getElementById("settingWindow").style.display="flex")},fullScreen=function(){document.fullscreenElement?document.exitFullscreen():document.documentElement.requestFullscreen()},toggleAside=function(){const e=document.documentElement.classList;e.contains("hide-aside")?saveToLocal.set("aside-status","show",2):saveToLocal.set("aside-status","hide",2),e.toggle("hide-aside")},toggleAplayer=function(){if("true"==localStorage.getItem("aplayerhide")){localStorage.setItem("aplayerhide",!1);var e=document.getElementById("guiguiplayer"),t=document.getElementById("guiguiTips"),o=document.getElementById("guiguiKsc"),a=document.getElementById("guiguiKsc");if((i=document.getElementById("xplayer"))&&e&&t&&o&&a)e.style.visibility="visible",t.style.visibility="visible",o.style.visibility="visible",a.style.visibility="visible";else{var l=document.createElement("script");l.id="xplayer",l.src="https://y.cenguigui.cn/Static/player13/js/player.js",l.setAttribute("key",GLOBAL_CONFIG.player.key),l.setAttribute("m",GLOBAL_CONFIG.player.mobile),document.getElementsByTagName("body")[0].appendChild(l)}}else{localStorage.setItem("aplayerhide",!0);var i=document.getElementById("xplayer");e=document.getElementById("guiguiplayer"),t=document.getElementById("guiguiTips"),o=document.getElementById("guiguiKsc"),a=document.getElementById("guiguiKsc");if(i&&e&&t&&o&&a)e.style.visibility="hidden",t.style.visibility="hidden",o.style.visibility="hidden",a.style.visibility="hidden",hasgeci=!1,$("li",$albumList).eq(albumId).addClass(cur).find(".artist").html("暂停播放 > ").parent().siblings().removeClass(cur).find(".artist").html("").parent(),guiguiTips.show("暂停播放 - "+songSheetList[albumId].songNames[songId]),$cover.removeClass("coverplay"),audio.pause(),document.getElementsByClassName("pause")[0].style.display="none",document.getElementsByClassName("play")[0].style.display="block",$.cookie("auto_playre","no");else setTimeout((()=>Snackbar.show({text:"本站配合音乐播放器最佳(可在设置里关闭)",pos:"bottom-right",actionText:"开启播放器",onActionClick:function(e){toggleAplayer()}})),15e3)}},toggleSakuras=function(){isSakura=!isSakura,stopp(isSakura),"true"==localStorage.getItem("sakurahide")?localStorage.setItem("sakurahide",!1):localStorage.setItem("sakurahide",!0)},switchAside=function(){if(left)document.getElementById("aside-content").classList.add("right"),document.querySelector(".layout > div:first-child").classList.add("left"),localStorage.setItem("leftAside","false");else{document.getElementById("aside-content").className="aside-content",document.querySelector(".layout > div:first-child").className="";try{document.querySelector("#recent-posts").className="recent-posts"}catch(e){}localStorage.setItem("leftAside","true")}left=!left},left=1,"true"==localStorage.getItem("leftAside")||null==localStorage.getItem("leftAside")||switchAside(),"true"==localStorage.getItem("autoTheme")){localStorage.setItem("autoTheme","false"),document.getElementById("autoTheme").checked=!0;var i=new Date;i.getHours()<=7||i.getHours()>=19?(activateDarkMode(),saveToLocal.set("theme","dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.day_to_night)):(activateLightMode(),saveToLocal.set("theme","light",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day))}toggleAutoTheme=()=>{if("false"==localStorage.getItem("autoTheme"))localStorage.setItem("autoTheme","true"),$("#con-mode").show();else{localStorage.setItem("autoTheme","false");var e=new Date;e.getHours()<=7||e.getHours()>=19?(activateDarkMode(),saveToLocal.set("theme","dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.day_to_night)):(activateLightMode(),saveToLocal.set("theme","light",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day)),$("#con-mode").hide()}}}document.addEventListener("pjax:complete",tosetting),document.addEventListener("DOMContentLoaded",tosetting),switchDarkMode=function(){"light"===("dark"===document.documentElement.getAttribute("data-theme")?"dark":"light")?(activateDarkMode(),saveToLocal.set("theme","dark",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.day_to_night)):(activateLightMode(),saveToLocal.set("theme","light",2),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day)),"function"==typeof utterancesTheme&&utterancesTheme(),"object"==typeof FB&&window.loadFBComment(),window.DISQUS&&document.getElementById("disqus_thread").children.length&&setTimeout((()=>window.disqusReset()),200)};
|