mycpen-blog 0.0.0-eybydpapar → 0.0.0-eydvwxanvs

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/css/index.css +1 -1
  2. package/gallery/fe32.top/download.sh +1144 -0
  3. package/img/loading.svg +1 -0
  4. package/js/custom.js +1 -1
  5. package/js/fcircle.js +1 -1
  6. package/js/fcircle_manage_panel.js +3 -4
  7. package/js/home_page_swiper.js +1 -1
  8. package/js/people.js +1 -1
  9. package/js/random_friends_post.js +1 -1
  10. package/js/tianli_gpt.js +1 -1
  11. package/json/friend.json +1 -0
  12. package/json/link.json +1 -0
  13. package/json/tianli_gpt.json +1 -0
  14. package/manifest.json +1 -1
  15. package/music1/main.css +1 -1
  16. package/music1/manifest.json +2 -2
  17. package/package.json +1 -1
  18. package/search.xml +48 -48
  19. package/sitemap.xml +88 -88
  20. package/wechatOA/main.css +1 -1
  21. package/friend.json +0 -1
  22. package/link.json +0 -1
  23. package/song/AZA/345/276/256/345/224/261/345/233/242//344/273/216/345/210/253/345/220/216/song.lrc +0 -43
  24. package/song/S.H.E//344/270/200/347/234/274/344/270/207/345/271/264/song.lrc +0 -51
  25. package/song/The Chainsmokers/Something Just Like This/song.lrc +0 -65
  26. package/song//345/221/250/346/235/260/344/274/246//344/270/203/351/207/214/351/246/231/song.lrc +0 -39
  27. package/song//345/221/250/346/235/260/344/274/246//345/217/215/346/226/271/345/220/221/347/232/204/351/222/237/song.lrc +0 -61
  28. package/song//345/221/250/346/235/260/344/274/246//346/230/216/346/230/216/345/260/261/song.lrc +0 -46
  29. package/song//345/221/250/346/235/260/344/274/246//346/234/200/351/225/277/347/232/204/347/224/265/345/275/261/song.lrc +0 -51
  30. package/song//345/221/250/346/235/260/344/274/246//347/250/273/351/246/231/song.lrc +0 -53
  31. package/song//345/221/250/346/235/260/344/274/246//347/272/242/351/242/234/345/246/202/351/234/234/song.lrc +0 -57
  32. package/song//345/221/250/346/235/260/344/274/246//350/257/264/345/245/275/347/232/204/345/271/270/347/246/217/345/221/242/song.lrc +0 -70
  33. package/song//345/221/250/346/235/260/344/274/246//351/235/222/350/212/261/347/223/267/song.lrc +0 -45
  34. package/song//346/242/201/351/223/255/347/220/233//351/241/273/350/207/276/song.lrc +0 -71
  35. package/song//350/214/203/347/216/256/347/220/252//346/234/200/345/210/235/347/232/204/346/242/246/346/203/263/song.lrc +0 -63
  36. package/song//350/221/243/347/234/237//346/200/235/345/246/202/351/233/252/song.lrc +0 -48
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" style="margin:auto;background:0 0" width="60" height="60" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid" display="block"><circle cx="50" cy="50" r="20" stroke-width="4" stroke="#a5a5a5" stroke-dasharray="31.416 31.416" fill="none" stroke-linecap="round" transform="rotate(67.21 50 50)"><animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" keyTimes="0;1" values="0 50 50;360 50 50"/></circle></svg>
package/js/custom.js CHANGED
@@ -1 +1 @@
1
- var mycpen1js={changeNavPageNameTitle(){"Mycpen - Personal Blog"==document.title?document.getElementById("page-name").innerText=document.title:document.getElementById("page-name").innerText=document.title.split(" | Mycpen")[0]},getNavRightPagePercent(){let e=document.documentElement.scrollTop||window.pageYOffset,t=Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.body.clientHeight,document.documentElement.clientHeight)-document.documentElement.clientHeight,n=Math.round(e/t*100),a=document.querySelector("#percent");n<=99||(n=99),a.innerHTML=n,r=window.scrollY+document.documentElement.clientHeight,p=document.getElementById("post-comment")||document.getElementById("footer"),p.offsetTop+p.offsetHeight/2<r||90<n?(document.querySelector("#nav-totop").classList.add("long"),a.innerHTML="返回顶部"):(document.querySelector("#nav-totop").classList.remove("long"),a.innerHTML=n)},share(){let e=window.location.origin+window.location.pathname;new ClipboardJS(".share",{text:function(){return"标题:"+document.title+"\n链接:"+e}}),btf.snackbarShow("复制成功")},getFooterRandomFlink(){var e={saveData:(e,t)=>{localStorage.setItem(e,JSON.stringify({time:Date.now(),data:t}))},loadData:(e,t)=>{let n=JSON.parse(localStorage.getItem(e));if(n){let e=Date.now()-n.time;if(e<60*t*1e3&&e>-1)return n.data}return 0},randomLink:()=>{let t=e.loadData("links",30);if(t){let e=document.querySelectorAll("#friend-links-in-footer .footer-item");if(!e.length)return;for(let n=0;n<3;n++){let a;do{a=parseInt(Math.random()*t.length)}while("失联"===t[a].tag);e[n].innerText=t[a].name,e[n].href=t[a].link,e[n].title=t[a].name,e[n].target="_blank",e[n].rel="noopener external nofollow noreferrer",t.splice(a,1)}}else fetch("https://registry.npmmirror.com/mycpen-blog/0.0.0-eybydpapar/files/link.json").then((e=>e.json())).then((t=>{e.saveData("links",t.link_list),e.randomLink()}))}};e.randomLink()},newYearCountdownCard(){(()=>{if(clearTimeout(null),!document.querySelector("#newYear"))return;let e=new Date(`${(new Date).getFullYear()+1}-01-01 00:00:00`).getTime()/1e3,t={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){let n=new Date,a=n.getMonth()+1,o=n.getDate();a=a>9?a:"0"+a,o=o>9?o:"0"+o,document.querySelector("#newYear .today").innerHTML=n.getFullYear()+"-"+a+"-"+o+" "+t[n.getDay()];let c=e-Math.round(n.getTime()/1e3);c<0?(document.querySelector("#newYear .title").innerHTML="Happy New Year!",document.querySelector("#newYear .newYear-time").innerHTML='<span class="happyNewYear">新年快乐</span>'):(document.querySelector("#newYear .title").innerHTML=`<i class="fa-solid fa-clock"></i> <span>距离</span> ${(new Date).getFullYear()+1} <span>年</span>`,document.querySelector("#newYear .newYear-time").innerHTML=`<span class="day">${Math.ceil(c/86400)}<span class="unit">天</span></span>`)}()})()},removeBodyPaceClass:function(){$("body").removeClass(),$("body").addClass("pace-done")},toPage:function(){var e=document.querySelectorAll(".page-number"),t=parseInt(e[e.length-1].innerHTML),n=document.getElementById("toPageText"),a=parseInt(n.value);if(!isNaN(a)&&a>0&&"0"!==(""+a)[0]&&a<=t){var o,c=window.location.href.replace(/\/page\/\d+\/$/,"/");o=1===a?c:c+(c.endsWith("/")?"":"/")+"page/"+a+"/",document.getElementById("toPageButton").href=o}},listenToPageInputPress(){var e=document.getElementById("toPageText"),t=document.getElementById("toPageButton");e&&(e.addEventListener("keydown",(e=>{13===e.keyCode&&(mycpen1js.toPage(),pjax.loadUrl(t.href))})),e.addEventListener("input",(function(){""===e.value||"0"===e.value?t.classList.remove("haveValue"):t.classList.add("haveValue");var n=document.querySelectorAll(".page-number"),a=+n[n.length-1].innerHTML;+document.getElementById("toPageText").value>a&&(e.value=a)})))},showConsole:function(){document.querySelector("#console").classList.add("show"),mycpen1js.initConsoleState()},hideConsole:function(){document.querySelector("#console").classList.remove("show")},hideAsideBtn:()=>{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"),e.contains("hide-aside")?document.querySelector("#consoleHideAside").classList.add("on"):document.querySelector("#consoleHideAside").classList.remove("on")},initConsoleState:function(){document.documentElement.classList.contains("hide-aside")?document.querySelector("#consoleHideAside").classList.add("on"):document.querySelector("#consoleHideAside").classList.remove("on")},tagPageActive:function(){var e=window.location.pathname;if(/\/tags\/.*?\//.test(e=decodeURIComponent(e))){var t=e.split("/")[2];if(document.querySelector(".page .layout #tag #tag-page-tags")){$("a").removeClass("select");var n=document.getElementById("mycpen1-tags-page-cloudTags-"+t);n&&n.classList.add("select")}}},categoryPageActive:function(){var e=window.location.pathname;if(/\/categories\/.*?\//.test(e=decodeURIComponent(e))){var t=e.split("/")[2];if(document.querySelector(".page .layout #category #category-page-categories")){$("a").removeClass("select");var n=document.getElementById("mycpen1-categories-page-cloudCategories-"+t);n&&n.classList.add("select")}}},addRandomCommentInfo:function(){const e=["美丽的","英俊的","聪明的","勇敢的","可爱的","慷慨的","善良的","可靠的","开朗的","成熟的","稳重的","真诚的","幽默的","豁达的","有趣的","活泼的","优雅的","敏捷的","温柔的","温暖的","敬业的","细心的","耐心的","深沉的","朴素的","含蓄的","率直的","开放的","务实的","坚强的","自信的","谦虚的","文静的","深刻的","纯真的","朝气蓬勃的","慎重的","大方的","顽强的","迷人的","机智的","善解人意的","富有想象力的","有魅力的","独立的","好奇的","干净的","宽容的","尊重他人的","体贴的","守信的","有耐性的","有责任心的","有担当的","有远见的","有智慧的","有眼光的","有冒险精神的","有爱心的","有同情心的","喜欢思考的","喜欢学习的","具有批判性思维的","善于表达的","善于沟通的","善于合作的","善于领导的","有激情的","有幽默感的","有思想的","有个性的","有正义感的","有责任感的","有创造力的","有想象力的","有艺术细胞的","有团队精神的","有协调能力的","有决策能力的","有组织能力的","有学习能力的","有执行能力的","有分析能力的","有逻辑思维的","有创新能力的","有专业素养的","有商业头脑的"],t=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜","西红柿","洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜","西兰花","蘑菇","金针菇","苹果","香蕉","橙子","柠檬","猕猴桃","草莓","葡萄","桃子","杏子","李子","石榴","西瓜","哈密瓜","蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子","火龙果"],n=`${e[Math.floor(Math.random()*e.length)]}${t[Math.floor(Math.random()*t.length)]}`;!function(){for(var e=["#author","input[name='comname']","#inpName","input[name='author']","#ds-dialog-name","#name","input[name='nick']","#comment_author"],t=["#mail","#email","input[name='commail']","#inpEmail","input[name='email']","#ds-dialog-email","input[name='mail']","#comment_email"],a=0;a<e.length;a++){var o=document.querySelector(e[a]);if(null!=o){o.value=n,o.dispatchEvent(new Event("input")),o.dispatchEvent(new Event("change"));break}}for(var c=0;c<t.length;c++){var s=document.querySelector(t[c]);if(null!=s){s.value="visitor@mycpen.cn",s.dispatchEvent(new Event("input")),s.dispatchEvent(new Event("change"));break}}}();var a=document.getElementsByClassName("el-textarea__inner")[0];a.focus(),a.setSelectionRange(-1,-1)},owoBigfunc(){document.getElementById("post-comment")&&function(){let e=1,t="",n=document.createElement("div"),a=document.querySelector("body");n.id="owo-big",a.appendChild(n),new MutationObserver((o=>{for(let c=0;c<o.length;c++){let s=o[c].addedNodes,r="";2==s.length&&"OwO-body"==s[1].className&&(r=s[1],document.body.clientWidth<=768&&r.addEventListener("contextmenu",(e=>e.preventDefault())),r.onmouseover=o=>{e&&"IMG"==o.target.tagName&&(e=0,t=setTimeout((()=>{let e=3*o.target.clientHeight,t=3*o.target.clientWidth,c=o.x-o.offsetX-(t-o.target.clientWidth)/2,s=o.y-o.offsetY;c+t>a.clientWidth&&(c-=c+t-a.clientWidth+10),c<0&&(c=10),n.style.cssText=`display:flex; height:${e}px; width:${t}px; left:${c}px; top:${s}px;`,n.innerHTML=`<img src="${o.target.src}">`}),300))},r.onmouseout=()=>{n.style.display="none",e=1,clearTimeout(t)})}})).observe(document.getElementById("post-comment"),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){function e(){const e=document.querySelector(".aplayer-fixed .aplayer-icon.aplayer-icon-lrc");e&&(t.disconnect(),setTimeout((()=>{e.click()}),1))}const t=new MutationObserver(((t,n)=>{for(let n of t)"childList"===n.type&&e()}));t.observe(document,{childList:!0,subtree:!0})},switchDarkMode(){"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)},essayUnknownPart(){},essayReplaceAll:(e,t,n)=>e.split(t).join(n),essayDiffDate:function(e,t=!1){const n=new Date,a=new Date(e),o=n.getTime()-a.getTime(),c=36e5,s=24*c;let r;if(t){const e=o/s,t=o/c,n=o/6e4;r=o/(30*s)>=1?a.toLocaleDateString().replace(/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG.date_suffix.day:t>=1?parseInt(t)+" "+GLOBAL_CONFIG.date_suffix.hour:n>=1?parseInt(n)+" "+GLOBAL_CONFIG.date_suffix.min:GLOBAL_CONFIG.date_suffix.just}else r=parseInt(o/s);return r},essayChangeTimeInEssay:function(){document.querySelector("#bber")&&document.querySelectorAll("#bber time").forEach((function(e){var t=e,n=t.getAttribute("datetime");t.innerText=mycpen1js.essayDiffDate(n,!0),t.style.display="inline"}))},essayReflashEssayWaterFall:function(){document.querySelector("#waterfall")&&setTimeout((function(){waterfall("#waterfall"),document.getElementById("waterfall").classList.add("show")}),500)},essayCommentText:function(e){var t=document.querySelector("#post-comment").offsetTop;window.scrollTo(0,t-80),"undefined"!=e&&"null"!=e||(e="好棒!"),function t(){setTimeout((()=>{var n=document.getElementsByClassName("el-textarea__inner")[0];n||t();let a=document.createEvent("HTMLEvents");a.initEvent("input",!0,!0);let o=mycpen1js.essayReplaceAll(e,"\n","\n> ");n.value="> "+o+"\n\n",n.dispatchEvent(a),n.focus(),n.setSelectionRange(-1,-1),document.getElementById("comment-tips")&&document.getElementById("comment-tips").classList.add("show")}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{let e=new Swiper(".essay_bar_swiper_container",{passiveListeners:!0,direction:"vertical",loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),t=document.getElementById("bbtalk");null!==t&&(t.onmouseenter=function(){e.autoplay.stop()},t.onmouseleave=function(){e.autoplay.start()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=document.getElementsByTagName("time"),t=0;t<e.length;t++){var n,a=e[t].getAttribute("datetime"),o=new Date(a),c=(new Date).getTime()-o.getTime(),s=Math.floor(c/864e5);0===s?n="最近":1===s?n="昨天":2===s?n="前天":s<=7?n=s+"天前":o.getFullYear()!==(new Date).getFullYear()?(Essaymonth=o.getMonth()+1,EssayDay=o.getDate(),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=o.getFullYear()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=o.getMonth()+1,EssayDay=o.getDate(),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),e[t].textContent=n}},switchPostChart:function(){let e="light"===document.documentElement.getAttribute("data-theme")?"#4C4948":"rgba(255,255,255,0.7)";if(document.getElementById("posts-chart")&&postsOption)try{let t=postsOption;t.title.textStyle.color=e,t.xAxis.nameTextStyle.color=e,t.yAxis.nameTextStyle.color=e,t.xAxis.axisLabel.color=e,t.yAxis.axisLabel.color=e,t.xAxis.axisLine.lineStyle.color=e,t.yAxis.axisLine.lineStyle.color=e,t.series[0].markLine.data[0].label.color=e,postsChart.setOption(t)}catch(e){console.log(e)}if(document.getElementById("tags-chart")&&tagsOption)try{let t=tagsOption;t.title.textStyle.color=e,t.xAxis.nameTextStyle.color=e,t.yAxis.nameTextStyle.color=e,t.xAxis.axisLabel.color=e,t.yAxis.axisLabel.color=e,t.xAxis.axisLine.lineStyle.color=e,t.yAxis.axisLine.lineStyle.color=e,t.series[0].markLine.data[0].label.color=e,tagsChart.setOption(t)}catch(e){console.log(e)}if(document.getElementById("categories-chart")&&categoriesOption)try{let t=categoriesOption;t.title.textStyle.color=e,t.legend.textStyle.color=e,categoryParentFlag||(t.series[0].label.color=e),categoriesChart.setOption(t)}catch(e){console.log(e)}},cpRemind(){document.addEventListener("copy",(function(e){window.getSelection().toString().trim().length>0&&btf.snackbarShow("复制成功")}))},closeAboutAplayer(){if(!document.getElementById("mycpen1-about-page-tag"))try{about_page_ap.pause(),about_page_ap=void 0,about_page_weekSong=void 0,about_page_now=void 0,about_page_weekSong_today=void 0}catch(e){}},grey(){var e=new Date,t=e.getMonth()+1,n=e.getDate();for(var a of["04.04","05.12","07.07","08.14","09.09","09.18","09.30","11.30","12.13"]){var o=a.split(".");if(t==o[0]&&n==o[1]){var c="grayscale(100%)";$("html").css({filter:"gray !important;",filter:"progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)",filter:c,"-webkit-filter":c,"-moz-filter":c,"-ms-filter":c,"-o-filter":c});break}}},console(){var e=new Date,t=console.log;queueMicrotask((function(){var n=new Date(`${atob("MDgvMjgvMjAyMiA=")}${atob("MDA6MDA6MDA=")}`),a=new Date(`${atob("MTAvMjIvMTk5OCAwMA==")}:${atob("MDA6MDA=")}`),o=new Date(`${atob("MTAvMjIvMjA=")}${atob("MjggMDA6MDA6MDA=")}`),c=new Date(`${atob("MTA=")}/${atob("MjIvMjA1OCAwMDowMA==")}${atob("OjAw")}`),s=new Date("05/23/2025 00:00:00");e.setTime(e.getTime()+250);n=[" MYCPEN BLOG ",` ${window.location.origin} `,"\n\n███╗ ███╗██╗ ██╗ ██████╗██████╗ ███████╗███╗ ██╗\n████╗ ████║╚██╗ ██╔╝██╔════╝██╔══██╗██╔════╝████╗ ██║\n██╔████╔██║ ╚████╔╝ ██║ ██████╔╝█████╗ ██╔██╗ ██║\n██║╚██╔╝██║ ╚██╔╝ ██║ ██╔═══╝ ██╔══╝ ██║╚██╗██║\n██║ ╚═╝ ██║ ██║ ╚██████╗██║ ███████╗██║ ╚████║\n╚═╝ ╚═╝ ╚═╝ ╚═════╝╚═╝ ╚══════╝╚═╝ ╚═══╝\n","距 2022-08-28 上线",Math.floor(Math.abs(e-n)/1e3/60/60/24+(e-n<0?1:0)).toString().padEnd(5," "),"天","距 1998-00-00 计时",Math.floor(Math.abs(e-a)/1e3/60/60/24+(e-a<0?1:0)).toString().padEnd(5," "),"天","距 2028-00-00 计时",Math.floor(Math.abs(e-o)/1e3/60/60/24+(e-o<0?1:0)).toString().padEnd(5," "),"天","距 2058-00-00 计时",Math.floor(Math.abs(e-c)/1e3/60/60/24+(e-c<0?1:0)).toString().padEnd(5," "),"天","距 2025-05-23 计时",Math.floor(Math.abs(e-s)/1e3/60/60/24+(e-s<0?1:0)).toString().padEnd(5," "),"天 (阿里云)"];setTimeout(function(){t.apply(console,arguments)}.bind(console,"\n%c".concat(n[0],"%c").concat(n[1],"%c").concat(n[2],"%c").concat(n[3],"%c ").concat(n[4],"%c ").concat(n[5],"\n").concat(n[6],"%c ").concat(n[7],"%c ").concat(n[8],"\n").concat(n[9],"%c ").concat(n[10],"%c ").concat(n[11],"\n").concat(n[12],"%c ").concat(n[13],"%c ").concat(n[14],"\n").concat(n[15],"%c ").concat(n[16],"%c ").concat(n[17],"\n").concat("\n"),"color: #fadfa3; background: #030307; padding:5px 0;","background: #fadfa3; padding:5px 0;","color:#fadfa3","","color:#030307","","color:#030307","","color:#030307","","color:#030307","","color:#030307",""))}))},cardRefreshTimes(){const e=(new Date).getFullYear(),t=function(e){return e%4==0&&e%100!=0||e%400==0}(e)?366:365;var n=new Date,a=new Date(`${(new Date).getFullYear()}-01-01 00:00:00`),o=document.getElementById("card-widget-schedule");o&&(asideDay=(n-a)/1e3/60/60/24,o.querySelector("#pBar_year").value=asideDay,o.querySelector("#pBar_year").max=t,yearPercentage=(asideDay/t*100).toFixed(2),displayYearPercentage="100.00"===yearPercentage?"100%":yearPercentage+"%",o.querySelector("#p_span_year").innerHTML=displayYearPercentage,o.querySelector(".schedule-r0 .schedule-d1 .aside-span2").innerHTML=(Math.floor(10*(t-asideDay))/10).toFixed(1)+" / "+t,currentDateMonth=new Date,currentDateMonth.setDate(1),currentDateMonth.setHours(0,0,0,0),currentMonthTimestamp=currentDateMonth.getTime(),asideMonthDay=(n-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal.getMonth(),currentDateMonthTotal.setMonth(currentMonth+1,1),currentDateMonthTotal.setDate(0),asideMonthDays=currentDateMonthTotal.getDate(),o.querySelector("#pBar_month").value=asideMonthDay,o.querySelector("#pBar_month").max=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100).toFixed(2),displayMonthPercentage="100.00"===monthPercentage?"100%":monthPercentage+"%",o.querySelector("#p_span_month").innerHTML=displayMonthPercentage,o.querySelector(".schedule-r1 .schedule-d1 .aside-span2").innerHTML=(Math.floor(10*(asideMonthDays-asideMonthDay))/10).toFixed(1)+" / "+asideMonthDays.toString().padStart(3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek.getDay(),currentWeekTimestamp=currentDateWeek.setHours(0,0,0,0),firstDayOfWeekTimestamp=currentWeekTimestamp-24*(0===currentDayOfWeek?6:currentDayOfWeek-1)*60*60*1e3,pastWeekTimestamp=n-firstDayOfWeekTimestamp,asideWeekDay=pastWeekTimestamp/1e3/60/60/24,o.querySelector("#pBar_week").value=asideWeekDay,weekPercentage=(asideWeekDay/7*100).toFixed(2),displayWeekPercentage="100.00"===weekPercentage?"100%":weekPercentage+"%",o.querySelector("#p_span_week").innerHTML=displayWeekPercentage,o.querySelector(".schedule-r2 .schedule-d1 .aside-span2").innerHTML=(Math.floor(10*(7-asideWeekDay))/10).toFixed(1)+" / 007",currentTimeStamp=(new Date).getTime(),startOfDay=new Date,startOfDay.setHours(0,0,0,0),startOfDayTimeStamp=startOfDay.getTime(),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,o.querySelector("#pBar_day").value=asideTodayHour,dayPercentage=(100*asideToday).toFixed(2),displayDayPercentage="100.00"===dayPercentage?"100%":dayPercentage+"%",o.querySelector("#p_span_day").innerHTML=displayDayPercentage,o.querySelector(".schedule-r3 .schedule-d1 .aside-span2").innerHTML=(Math.floor(10*(24-asideTodayHour))/10).toFixed(1)+" / 024",month=n.getMonth()+1,day=n.getDate(),month=month>9?month:"0"+month,day=day>9?day:"0"+day,week={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},document.querySelector("#aside-content .sticky_layout .card-widget#card-widget-schedule .item-content .schedule-today").innerHTML=n.getFullYear()+"-"+month+"-"+day+" "+week[n.getDay()])},PressEscapeKey(e){27===e.keyCode&&(document.getElementById("console")&&mycpen1js.hideConsole(),document.getElementById("cf-overlay")&&document.getElementById("cf-overshow")&&(document.querySelector(".cf-overshow-close")||document.querySelector(".cf-overshow"))&&(document.getElementById("mycpen1-fcircle-page-tag")&&closeShow(),document.getElementById("mycpen1-link-page-tag")&&mycpen1js.linkPageCloseShow()))},linkPageOpenMeShow(e){var t="ok",n=document.getElementById("mycpen1-link-page-tag");n&&(document.getElementById("cf-overlay")||n.insertAdjacentHTML("afterend",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ')),e.preventDefault();var a;a="https://www.cpen.top:8002/post?link="+e.currentTarget.dataset.link.replace(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,"$1:$2$3"),"ok"==t&&(t="no",mycpen1js.linkPageFetchShow(a))},linkPageOpenMeShowV2(e){var t="ok",n=document.getElementById("mycpen1-link-page-tag");n&&(document.getElementById("cf-overlay")||n.insertAdjacentHTML("afterend",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ')),e.preventDefault();var a;a="https://www.cpen.top:8002/postv2?name="+encodeURIComponent(e.currentTarget.dataset.name),"ok"==t&&(t="no",mycpen1js.linkPageFetchShow(a))},linkPageCloseShow(){document.getElementById("cf-overlay").className-="cf-show-now",document.getElementById("cf-overshow").className-="cf-show-now",setTimeout((function(){var e=document.querySelectorAll("#cf-overshow > :not(.cf-overshow-close)"),t=document.querySelectorAll("#cf-overshow > .cf-overshow-close");e.forEach((function(e){e.remove()}));for(var n=1;n<t.length;n++)t[n].remove()}),100)},linkPageFetchShow(url){var closeHtml='\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ';fetch(url).then((e=>e.json())).then((json=>{noClick="ok";var statisticalData=json.statistical_data,articleData=eval(json.article_data);0!==statisticalData.article_num?(mycpen1js.linkPageLoadFcircleShow(statisticalData,articleData),document.getElementById("cf-overlay").className="cf-show-now",document.getElementById("cf-overshow").insertAdjacentHTML("afterbegin",closeHtml)):btf.snackbarShow("未获取到订阅内容")})).catch((e=>{btf.snackbarShow("未获取到文章卡片")}))},linkPageLoadFcircleShow(e,t){for(var n=`\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="${e.avatar}" alt="avatar" onerror="this.src='/img/flink404.svg'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="${e.link}">${e.name}</a>\n </div>\n <div class="cf-overshow-content">\n `,a=0;a<e.article_num;a++){var o=t[a];let e="";Date.now()-new Date(o.created+" 00:00:00").getTime()<=1728e5&&(e='style="color: var(--mycpen1-main); opacity: 1;"'),n+=`\n <p><a class="cf-article-title" href="${o.link}" target="_blank" rel="noopener nofollow" data-title="${o.title}">${o.title}</a><span ${e}>${o.created}</span></p>\n `}n+="</div></div>",document.getElementById("cf-overshow").insertAdjacentHTML("beforeend",n),document.getElementById("cf-overshow").className="cf-show-now"},linkPageRssAliveCheck(){apiurl="https://www.cpen.top:8002/",rssAliveCheckUrl=apiurl+"friendstatus",fetch(rssAliveCheckUrl).then((e=>e.json())).then((e=>{var t=e.lost_friends,n=e.not_lost_friends,a=e.total_friend_num;let o=[];for(const e in t){let n=t[e];n=n.replace(/^https?:\/\//,""),n=n.replace(/\/$/,""),o.push(n)}let c=[];for(const e in n){let t=n[e];t=t.replace(/^https?:\/\//,""),t=t.replace(/\/$/,""),c.push(t)}document.querySelectorAll("#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon").forEach((e=>{if(e){let t=e.getAttribute("data-link").replace(/^https?:\/\//,"");t=t.replace(/\/$/,""),a>0?c.includes(t)?e.classList.add("flink-mycpen1-rss-not-lost-friends"):o.includes(t)?e.classList.add("flink-mycpen1-rss-lost-friends"):e.classList.add("flink-mycpen1-rss-unknown-friends"):0===a&&e.classList.add("flink-mycpen1-rss-lost-friends")}}))}))},NzcheckLink:async e=>{const t=document.querySelectorAll(e);if(t){let e=new RegExp(/^[#].*/);for(let n=0;n<t.length;n++){const a=t[n];let o=a.getAttribute("href"),c=a.getAttribute("data-download"),s=a.getAttribute("rel");e.test(o)||"prev"===s||"next"===s||"category"===s||"tag"===s||"javascript:void(0);"===o||(await mycpen1js.NzcheckLocalSite(o)||c?await mycpen1js.NzcheckLocalSite(o)||"goDown"!==c||a.setAttribute("href","/redirect.html?url="+btoa(o)+"&type=goDown"):a.setAttribute("href","/redirect.html?url="+btoa(o))),a.classList.add("already-redirect-link")}}},NzcheckLocalSite:async e=>{try{const t=["localhost:4000","cpen.top","mycpen.cn"];let n=!1;for(let a=0;a<t.length;a++){const o=t[a];if(e.includes(o)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){window.addEventListener("load",(()=>{window.cookieconsent.initialise({type:"info",theme:"edgeless",static:!1,position:"bottom-right",content:{message:"我们使用 cookie 来确保在我们的网站上为您提供最佳体验。",dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:"#edeff5",text:"#838391"},button:{background:"#4b81e8"}}})}))}};function whenDOMReadyMycpen1JS(){mycpen1js.changeNavPageNameTitle(),mycpen1js.getFooterRandomFlink(),mycpen1js.removeBodyPaceClass(),mycpen1js.tagPageActive(),mycpen1js.categoryPageActive(),mycpen1js.listenToPageInputPress(),mycpen1js.owoBigfunc(),document.getElementById("mycpen1-essay-page-tag")&&(mycpen1js.essayChangeTimeInEssayByMycpen(),mycpen1js.essayReflashEssayWaterFall(),window.onresize=()=>{document.getElementById("mycpen1-essay-page-tag")&&(mycpen1js.essayReflashEssayWaterFall(),setTimeout((()=>{mycpen1js.essayReflashEssayWaterFall()}),300))}),document.getElementById("darkmode").addEventListener("click",(function(){setTimeout(mycpen1js.switchPostChart,100)})),document.getElementById("darkmode_navswitch").addEventListener("click",(function(){setTimeout(mycpen1js.switchPostChart,100)})),document.getElementById("darkmode_consoleSwitch").addEventListener("click",(function(){setTimeout(mycpen1js.switchPostChart,100)})),document.getElementById("darkmode_sidebarSwitch").addEventListener("click",(function(){setTimeout(mycpen1js.switchPostChart,100)})),mycpen1js.cpRemind(),mycpen1js.closeAboutAplayer(),document.getElementById("card-widget-schedule")&&(mycpen1js.cardRefreshTimes(),setInterval((()=>{mycpen1js.cardRefreshTimes()}),1e3)),document.getElementById("mycpen1-link-page-tag-2")&&mycpen1js.linkPageRssAliveCheck(),document.getElementById("mycpen1-link-page-tag")&&(mycpen1js.NzcheckLink("#article-container .flink .flink-list > .flink-list-item.单向 > a"),mycpen1js.NzcheckLink("#article-container .flink .flink-list > .flink-list-item.失联 > a")),document.getElementById("mycpen1-about-page-tag")&&mycpen1js.NzcheckLink("#article-container #mycpen1-about-page-tag-sponsor-part a"),document.getElementById("post-comment")&&setInterval((()=>{if(document.querySelector(".tk-comments-container")){mycpen1js.NzcheckLink(".tk-comments-container a:not(.already-redirect-link)");document.querySelectorAll(".tk-avatar.tk-clickable:not(.already-clear-clickEvent)").forEach((e=>{e.classList.add("already-clear-clickEvent");const t=document.createElement("a");for(Array.from(e.attributes).forEach((e=>{t.setAttribute(e.name,e.value)}));e.firstChild;)t.appendChild(e.firstChild);e.parentNode.replaceChild(t,e);const n=t.nextElementSibling.firstElementChild.firstElementChild.firstElementChild.getAttribute("href");t.setAttribute("href",n),t.setAttribute("target","_blank"),t.setAttribute("rel","noopener external nofollow noreferrer")}))}}),1e3)}mycpen1js.console(),document.removeEventListener("keydown",mycpen1js.PressEscapeKey),document.addEventListener("keydown",mycpen1js.PressEscapeKey),window.onscroll=mycpen1js.getNavRightPagePercent,mycpen1js.removeaAlayerFixedLrc(),whenDOMReadyMycpen1JS(),document.addEventListener("pjax:complete",whenDOMReadyMycpen1JS);
1
+ var _0x425829=_0x1aee;!function(e,t){for(var a=_0x1aee,n=_0xcbd3();;)try{if(956662===-parseInt(a(198))/1+-parseInt(a(323))/2*(-parseInt(a(146))/3)+parseInt(a(359))/4*(-parseInt(a(185))/5)+-parseInt(a(135))/6*(-parseInt(a(251))/7)+parseInt(a(431))/8+parseInt(a(507))/9*(-parseInt(a(298))/10)+parseInt(a(338))/11)break;n.push(n.shift())}catch(e){n.push(n.shift())}}();var mycpen1js={changeNavPageNameTitle(){var e=_0x1aee;document[e(452)]==e(442)?document[e(367)](e(335))[e(488)]=document[e(452)]:document.getElementById("page-name")[e(488)]=document[e(452)][e(264)](e(454))[0]},getNavRightPagePercent(){var e=_0x1aee;let t=document.documentElement.scrollTop||window.pageYOffset,a=Math.max(document[e(317)][e(352)],document[e(250)].scrollHeight,document[e(317)][e(410)],document[e(250)][e(410)],document.body[e(283)],document[e(250)][e(283)])-document[e(250)].clientHeight,n=Math[e(539)](t/a*100),o=document.querySelector(e(430));n<=99||(n=99),o[e(228)]=n,r=window[e(429)]+document[e(250)][e(283)],p=document[e(367)](e(169))||document[e(367)](e(181)),p[e(205)]+p[e(410)]/2<r||90<n?(document[e(265)]("#nav-totop")[e(289)].add(e(396)),o[e(228)]="返回顶部"):(document[e(265)](e(211))[e(289)][e(258)](e(396)),o.innerHTML=n)},share(){var e=_0x1aee;let t=window[e(149)][e(409)]+window.location[e(496)];new ClipboardJS(e(461),{text:function(){var a=e;return a(492)+document[a(452)]+a(536)+t}}),btf.snackbarShow(e(510))},getFooterRandomFlink(){var e={saveData:(e,t)=>{var a=_0x1aee;localStorage[a(450)](e,JSON[a(371)]({time:Date[a(498)](),data:t}))},loadData:(e,t)=>{var a=_0x1aee;let n=JSON[a(530)](localStorage[a(436)](e));if(n){let e=Date[a(498)]()-n.time;if(e<60*t*1e3&&e>-1)return n[a(501)]}return 0},randomLink:()=>{var t=_0x1aee;let a=e.loadData("links",30);if(a){let e=document[t(327)](t(493));if(!e.length)return;for(let n=0;n<3;n++){let o;do{o=parseInt(Math[t(457)]()*a[t(252)])}while("失联"===a[o][t(143)]);e[n][t(488)]=a[o][t(505)],e[n][t(310)]=a[o].link,e[n].title=a[o].name,e[n][t(157)]=t(204),e[n][t(470)]=t(241),a[t(281)](o,1)}}else fetch(t(186))[t(467)]((e=>e[t(516)]()))[t(467)]((a=>{var n=t;e[n(393)](n(390),a[n(148)]),e[n(209)]()}))}};e[_0x1aee(209)]()},newYearCountdownCard(){(()=>{var e=_0x1aee;if(clearTimeout(null),!document[e(265)](e(386)))return;let t=new Date((new Date)[e(150)]()+1+e(485)).getTime()/1e3,a={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"};!function(){var n=e;let o=new Date,s=o[n(513)]()+1,r=o[n(400)]();s=s>9?s:"0"+s,r=r>9?r:"0"+r,document[n(265)](n(236)).innerHTML=o[n(150)]()+"-"+s+"-"+r+" "+a[o[n(446)]()];let c=t-Math[n(539)](o[n(239)]()/1e3);c<0?(document[n(265)](n(192))[n(228)]=n(514),document[n(265)](n(180))[n(228)]='<span class="happyNewYear">新年快乐</span>'):(document.querySelector("#newYear .title")[n(228)]=n(316)+((new Date)[n(150)]()+1)+" <span>年</span>",c>86400?document.querySelector(n(180))[n(228)]=n(440)+Math[n(411)](c/86400)+n(259):document.querySelector("#newYear .newYear-time")[n(228)]=n(440)+Math.ceil(c/86400)+'<span class="unit">天</span></span>')}()})()},removeBodyPaceClass:function(){var e=_0x1aee;$(e(317))[e(277)](),$(e(317))[e(305)]("pace-done")},toPage:function(){var e=_0x1aee,t=document[e(327)](".page-number"),a=parseInt(t[t[e(252)]-1][e(228)]),n=document[e(367)]("toPageText"),o=parseInt(n[e(152)]);if(!isNaN(o)&&o>0&&"0"!==(""+o)[0]&&o<=a){var s,r=window[e(149)][e(310)][e(380)](/\/page\/\d+\/$/,"/");s=1===o?r:r+(r[e(332)]("/")?"":"/")+e(328)+o+"/",document[e(367)](e(217))[e(310)]=s}},listenToPageInputPress(){var e=_0x1aee,t=document.getElementById("toPageText"),a=document.getElementById("toPageButton");t&&(t.addEventListener(e(427),(t=>{var n=e;13===t[n(297)]&&(mycpen1js.toPage(),pjax[n(164)](a[n(310)]))})),t[e(372)](e(341),(function(){var n=e;""===t[n(152)]||"0"===t[n(152)]?a[n(289)][n(258)](n(226)):a[n(289)][n(579)](n(226));var o=document[n(327)](n(309)),s=+o[o[n(252)]-1].innerHTML;+document[n(367)](n(299))[n(152)]>s&&(t.value=s)})))},showConsole:function(){var e=_0x1aee;document[e(265)](e(246)).classList.add(e(525)),mycpen1js.initConsoleState()},hideConsole:function(){var e=_0x1aee;document[e(265)]("#console")[e(289)].remove("show")},hideAsideBtn:()=>{var e=_0x1aee;const t=document[e(250)][e(289)];t[e(356)](e(495))?saveToLocal.set(e(285),e(525),2):saveToLocal[e(351)]("aside-status",e(499),2),t.toggle(e(495)),t[e(356)]("hide-aside")?document[e(265)](e(247))[e(289)][e(579)]("on"):document.querySelector(e(247))[e(289)][e(258)]("on")},initConsoleState:function(){var e=_0x1aee;document[e(250)][e(289)][e(356)](e(495))?document[e(265)](e(247))[e(289)][e(579)]("on"):document.querySelector(e(247)).classList[e(258)]("on")},tagPageActive:function(){var e=_0x1aee,t=window[e(149)][e(496)];if(/\/tags\/.*?\//[e(138)](t=decodeURIComponent(t))){var a=t[e(264)]("/")[2];if(document[e(265)](e(460))){$("a")[e(277)](e(336));var n=document.getElementById("mycpen1-tags-page-cloudTags-"+a);n&&n[e(289)][e(579)](e(336))}}},categoryPageActive:function(){var e=_0x1aee,t=window[e(149)][e(496)];if(/\/categories\/.*?\//[e(138)](t=decodeURIComponent(t))){var a=t[e(264)]("/")[2];if(document[e(265)](e(161))){$("a")[e(277)](e(336));var n=document.getElementById(e(546)+a);n&&n[e(289)][e(579)](e(336))}}},addRandomCommentInfo:function(){var e=_0x1aee;const t=[e(566),e(573),e(215),e(248),e(224),e(568),"善良的",e(271),"开朗的",e(478),e(364),e(331),e(563),e(504),e(177),"活泼的",e(419),e(570),"温柔的",e(408),e(401),e(140),e(136),e(287),e(266),e(528),e(172),e(201),"务实的","坚强的","自信的",e(354),e(244),e(230),e(368),e(527),e(441),"大方的",e(300),"迷人的","机智的",e(147),e(459),"有魅力的","独立的","好奇的",e(564),e(306),e(486),e(272),e(318),e(484),e(387),e(174),e(464),e(319),e(313),"有冒险精神的",e(444),e(339),e(474),e(304),e(203),e(357),"善于沟通的",e(562),e(538),e(257),e(321),e(476),"有个性的",e(385),e(379),e(456),"有想象力的",e(255),e(207),e(509),e(162),"有组织能力的",e(418),e(413),"有分析能力的",e(392),"有创新能力的",e(382),"有商业头脑的"],a=["萝卜","白菜","芹菜","生菜","青椒","辣椒","茄子","豆角","黄瓜",e(200),"洋葱","大蒜","土豆","南瓜","豆腐","韭菜","花菜",e(325),"蘑菇","金针菇","苹果","香蕉","橙子","柠檬",e(307),"草莓","葡萄","桃子","杏子","李子","石榴","西瓜",e(395),"蜜瓜","樱桃","蓝莓","柿子","橄榄","柚子","火龙果"],n=""+t[Math[e(508)](Math[e(457)]()*t.length)]+a[Math.floor(Math[e(457)]()*a.length)];!function(){for(var t=e,a=[t(535),t(381),t(475),t(569),t(572),t(479),"input[name='nick']",t(518)],o=["#mail","#email",t(558),t(533),t(199),t(522),"input[name='mail']",t(253)],s=0;s<a[t(252)];s++){var r=document[t(265)](a[s]);if(null!=r){r[t(152)]=n,r[t(238)](new Event("input")),r[t(238)](new Event(t(490)));break}}for(var c=0;c<o[t(252)];c++){var i=document[t(265)](o[c]);if(null!=i){i[t(152)]="donotreply@mycpen.cn",i[t(238)](new Event(t(341))),i[t(238)](new Event(t(490)));break}}}();var o=document.getElementsByClassName(e(506))[0];o[e(270)](),o[e(171)](-1,-1)},owoBigfunc(){var e=_0x1aee;document[e(367)](e(169))&&function(){var t=e;let a=1,n="",o=document[t(311)](t(545)),s=document.querySelector("body");o.id=t(416),s[t(142)](o),new MutationObserver((e=>{var r=t;for(let t=0;t<e[r(252)];t++){let c=e[t][r(369)],i="";2==c[r(252)]&&c[1][r(183)]==r(553)&&(i=c[1],document[r(317)][r(334)]<=768&&i[r(372)](r(511),(e=>e[r(445)]())),i.onmouseover=e=>{var t=r;a&&e[t(157)].tagName==t(221)&&(a=0,n=setTimeout((()=>{var a=t;let n=3*e[a(157)][a(283)],r=3*e[a(157)][a(334)],c=e.x-e[a(520)]-(r-e[a(157)][a(334)])/2,i=e.y-e[a(523)];c+r>s[a(334)]&&(c-=c+r-s[a(334)]+10),c<0&&(c=10),o[a(432)].cssText=a(303)+n+"px; width:"+r+a(377)+c+a(481)+i+a(526),o[a(228)]='<img src="'+e[a(157)].src+'">'}),300))},i.onmouseout=()=>{var e=r;o[e(432)][e(220)]=e(214),a=1,clearTimeout(n)})}}))[t(578)](document[t(367)]("post-comment"),{subtree:!0,childList:!0})}()},removeaAlayerFixedLrc(){var e=_0x1aee;function t(){var e=_0x1aee;const t=document[e(265)](e(560));t&&(a[e(254)](),setTimeout((()=>{t[e(344)]()}),1))}const a=new MutationObserver(((e,a)=>{var n=_0x1aee;for(let a of e)a[n(433)]===n(279)&&t()}));a[e(578)](document,{childList:!0,subtree:!0})},switchDarkMode(){var e=_0x1aee;(document[e(250)].getAttribute("data-theme")===e(188)?e(188):e(544))===e(544)?(activateDarkMode(),saveToLocal[e(351)](e(365),e(188),2),void 0!==GLOBAL_CONFIG[e(561)]&&btf.snackbarShow(GLOBAL_CONFIG[e(561)][e(557)])):(activateLightMode(),saveToLocal[e(351)](e(365),"light",2),void 0!==GLOBAL_CONFIG[e(561)]&&btf.snackbarShow(GLOBAL_CONFIG[e(561)].night_to_day)),"function"==typeof utterancesTheme&&utterancesTheme(),"object"==typeof FB&&window[e(234)](),window[e(453)]&&document[e(367)](e(448))[e(399)][e(252)]&&setTimeout((()=>window[e(231)]()),200)},essayUnknownPart(){},essayReplaceAll(e,t,a){var n=_0x1aee;return e[n(264)](t)[n(216)](a)},essayDiffDate:function(e,t=!1){var a=_0x1aee;const n=new Date,o=new Date(e),s=n[a(239)]()-o[a(239)](),r=36e5,c=864e5;let i;if(t){const e=s/c,t=s/r,n=s/6e4;i=s/2592e6>=1?o[a(455)]()[a(380)](/\//g,"-"):e>=1?parseInt(e)+" "+GLOBAL_CONFIG[a(500)][a(556)]:t>=1?parseInt(t)+" "+GLOBAL_CONFIG[a(500)][a(531)]:n>=1?parseInt(n)+" "+GLOBAL_CONFIG.date_suffix.min:GLOBAL_CONFIG[a(500)][a(290)]}else i=parseInt(s/c);return i},essayChangeTimeInEssay:function(){var e=_0x1aee;document[e(265)](e(190))&&document[e(327)]("#bber time").forEach((function(t){var a=e,n=t,o=n[a(159)](a(329));n[a(488)]=mycpen1js[a(237)](o,!0),n[a(432)][a(220)]=a(133)}))},essayReflashEssayWaterFall:function(){var e=_0x1aee;document[e(265)](e(333))&&setTimeout((function(){var t=e;waterfall(t(333)),document.getElementById("waterfall")[t(289)][t(579)](t(525))}),500)},essayCommentText:function(e){var t=_0x1aee;var a=document.querySelector("#post-comment")[t(205)];window[t(324)](0,a-80),e!=t(330)&&"null"!=e||(e=t(361)),function t(){setTimeout((()=>{var a=_0x1aee,n=document[a(423)](a(506))[0];n||t();let o=document[a(551)]("HTMLEvents");o[a(363)](a(341),!0,!0);let s=mycpen1js[a(240)](e,"\n",a(134));n[a(152)]="> "+s+"\n\n",n.dispatchEvent(o),n[a(270)](),n[a(171)](-1,-1),document.getElementById(a(449))&&document.getElementById(a(449))[a(289)][a(579)]("show")}),100)}()},essayInitIndexEssay:function(){setTimeout((()=>{var e=_0x1aee;let t=new Swiper(e(547),{passiveListeners:!0,direction:e(278),loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0}),a=document[e(367)](e(376));null!==a&&(a[e(494)]=function(){var a=e;t[a(575)][a(314)]()},a[e(577)]=function(){var a=e;t[a(575)][a(263)]()})}),100)},essayChangeTimeInEssayByMycpen:function(){for(var e=_0x1aee,t=document.getElementsByTagName("time"),a=0;a<t[e(252)];a++){var n,o=t[a][e(159)](e(329)),s=new Date(o),r=(new Date)[e(239)]()-s[e(239)](),c=Math[e(508)](r/864e5);0===c?n="最近":1===c?n="昨天":2===c?n="前天":c<=7?n=c+"天前":s[e(150)]()!==(new Date).getFullYear()?(Essaymonth=s[e(513)]()+1,EssayDay=s.getDate(),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=s.getFullYear()+"-"+Essaymonth+"-"+EssayDay):(Essaymonth=s[e(513)]()+1,EssayDay=s[e(400)](),Essaymonth=Essaymonth>9?Essaymonth:"0"+Essaymonth,EssayDay=EssayDay>9?EssayDay:"0"+EssayDay,n=Essaymonth+"-"+EssayDay),t[a].textContent=n}},switchPostChart:function(){var e=_0x1aee;let t="light"===document[e(250)][e(159)](e(571))?e(194):e(225);if(document[e(367)]("posts-chart")&&postsOption)try{let a=postsOption;a.title[e(540)][e(468)]=t,a.xAxis[e(208)].color=t,a[e(559)][e(208)].color=t,a[e(437)][e(326)][e(468)]=t,a[e(559)].axisLabel.color=t,a[e(437)][e(218)][e(167)][e(468)]=t,a[e(559)][e(218)][e(167)][e(468)]=t,a[e(235)][0].markLine[e(501)][0][e(156)][e(468)]=t,postsChart[e(340)](a)}catch(t){console[e(233)](t)}if(document[e(367)]("tags-chart")&&tagsOption)try{let a=tagsOption;a[e(452)][e(540)][e(468)]=t,a[e(437)].nameTextStyle[e(468)]=t,a[e(559)][e(208)][e(468)]=t,a[e(437)][e(326)][e(468)]=t,a[e(559)][e(326)].color=t,a[e(437)][e(218)].lineStyle[e(468)]=t,a[e(559)].axisLine[e(167)][e(468)]=t,a[e(235)][0][e(261)][e(501)][0].label[e(468)]=t,tagsChart[e(340)](a)}catch(e){console.log(e)}if(document[e(367)](e(315))&&categoriesOption)try{let a=categoriesOption;a[e(452)][e(540)][e(468)]=t,a[e(370)][e(540)][e(468)]=t,!categoryParentFlag&&(a[e(235)][0][e(156)].color=t),categoriesChart[e(340)](a)}catch(t){console[e(233)](t)}},cpRemind(){var e=_0x1aee;document[e(372)](e(284),(function(t){var a=e;window.getSelection()[a(384)]()[a(469)]()[a(252)]>0&&btf.snackbarShow("复制成功")}))},closeAboutAplayer(){var e=_0x1aee;if(!document[e(367)](e(242)))try{about_page_ap[e(288)](),about_page_ap=void 0,about_page_weekSong=void 0,about_page_now=void 0,about_page_weekSong_today=void 0}catch(e){}},grey(){var e=_0x1aee,t=new Date,a=t[e(513)]()+1,n=t[e(400)](),o=["04.04",e(541),e(348),e(293),e(374),e(232),e(350),e(262),e(473)];for(var s of o){var r=s[e(264)](".");if(a==r[0]&&n==r[1]){var c=e(489);$(e(529))[e(383)]({filter:e(320),filter:e(471),filter:c,"-webkit-filter":c,"-moz-filter":c,"-ms-filter":c,"-o-filter":c});break}}},console(){var e=_0x1aee,t=new Date,a=console[e(233)];queueMicrotask((function(){var n=e;var o=new Date(""+atob(n(301))+atob(n(222))),s=new Date(atob(n(312))+":"+atob(n(260))),r=new Date(""+atob(n(542))+atob("MjggMDA6MDA6MDA=")),c=new Date(atob(n(397))+"/"+atob(n(532))+atob("OjAw")),i=new Date("05/23/2025 00:00:00");t[n(249)](t.getTime()+250);o=[n(282)," "+window.location.origin+" ","\n\n",n(141),Math[n(508)](Math[n(243)](t-o)/1e3/60/60/24+(t-o<0?1:0))[n(384)]().padEnd(5," "),"天",n(487),Math[n(508)](Math.abs(t-s)/1e3/60/60/24+(t-s<0?1:0)).toString()[n(482)](5," "),"天",n(491),Math[n(508)](Math.abs(t-r)/1e3/60/60/24+(t-r<0?1:0))[n(384)]()[n(482)](5," "),"天",n(131),Math.floor(Math[n(243)](t-c)/1e3/60/60/24+(t-c<0?1:0))[n(384)]()[n(482)](5," "),"天",n(576),Math[n(508)](Math[n(243)](t-i)/1e3/60/60/24+(t-i<0?1:0))[n(384)]()[n(482)](5," "),"天 (阿里云)"];setTimeout(function(){a[_0x1aee(497)](console,arguments)}[n(193)](console,n(502).concat(o[0],"%c")[n(184)](o[1],"%c")[n(184)](o[2],"%c")[n(184)](o[3],n(574))[n(184)](o[4],n(574))[n(184)](o[5],"\n")[n(184)](o[6],n(574))[n(184)](o[7],n(574))[n(184)](o[8],"\n")[n(184)](o[9],n(574))[n(184)](o[10],n(574))[n(184)](o[11],"\n").concat(o[12],n(574))[n(184)](o[13],n(574))[n(184)](o[14],"\n")[n(184)](o[15],n(574)).concat(o[16],n(574))[n(184)](o[17],"\n")[n(184)]("\n"),n(405),n(388),n(403),"",n(175),"",n(175),"",n(175),"",n(175),"","color:#030307",""))}))},cardRefreshTimes(){var e=_0x1aee;const t=(new Date).getFullYear(),a=(n=t)%4==0&&n%100!=0||n%400==0?366:365;var n,o=new Date,s=new Date((new Date)[e(150)]()+e(485)),r=document.getElementById(e(521));r&&(asideDay=(o-s)/1e3/60/60/24,r[e(265)](e(503))[e(152)]=asideDay,r[e(265)]("#pBar_year")[e(178)]=a,yearPercentage=(asideDay/a*100)[e(155)](2),displayYearPercentage=yearPercentage===e(296)?"100%":yearPercentage+"%",r.querySelector("#p_span_year")[e(228)]=displayYearPercentage,r[e(265)](e(223))[e(228)]=(Math[e(508)](10*(a-asideDay))/10)[e(155)](1)+e(160)+a,currentDateMonth=new Date,currentDateMonth[e(434)](1),currentDateMonth[e(212)](0,0,0,0),currentMonthTimestamp=currentDateMonth[e(239)](),asideMonthDay=(o-currentMonthTimestamp)/1e3/60/60/24,currentDateMonthTotal=new Date,currentMonth=currentDateMonthTotal[e(513)](),currentDateMonthTotal[e(273)](currentMonth+1,1),currentDateMonthTotal[e(434)](0),asideMonthDays=currentDateMonthTotal[e(400)](),r.querySelector(e(555))[e(152)]=asideMonthDay,r[e(265)]("#pBar_month")[e(178)]=asideMonthDays,monthPercentage=(asideMonthDay/asideMonthDays*100)[e(155)](2),displayMonthPercentage="100.00"===monthPercentage?"100%":monthPercentage+"%",r.querySelector(e(515))[e(228)]=displayMonthPercentage,r[e(265)](e(378))[e(228)]=(Math[e(508)](10*(asideMonthDays-asideMonthDay))/10)[e(155)](1)+e(160)+asideMonthDays[e(384)]()[e(154)](3,"0"),currentDateWeek=new Date,currentDayOfWeek=currentDateWeek[e(446)](),currentWeekTimestamp=currentDateWeek.setHours(0,0,0,0),firstDayOfWeekTimestamp=currentWeekTimestamp-24*(0===currentDayOfWeek?6:currentDayOfWeek-1)*60*60*1e3,pastWeekTimestamp=o-firstDayOfWeekTimestamp,asideWeekDay=pastWeekTimestamp/1e3/60/60/24,r[e(265)](e(191))[e(152)]=asideWeekDay,weekPercentage=(asideWeekDay/7*100).toFixed(2),displayWeekPercentage=weekPercentage===e(296)?e(347):weekPercentage+"%",r[e(265)](e(219)).innerHTML=displayWeekPercentage,r[e(265)](".schedule-r2 .schedule-d1 .aside-span2")[e(228)]=(Math[e(508)](10*(7-asideWeekDay))/10)[e(155)](1)+e(275),currentTimeStamp=(new Date).getTime(),startOfDay=new Date,startOfDay.setHours(0,0,0,0),startOfDayTimeStamp=startOfDay[e(239)](),timeDifferenceToday=currentTimeStamp-startOfDayTimeStamp,asideToday=timeDifferenceToday/1e3/60/60/24,asideTodayHour=timeDifferenceToday/36e5,r[e(265)](e(343))[e(152)]=asideTodayHour,dayPercentage=(100*asideToday)[e(155)](2),displayDayPercentage=dayPercentage===e(296)?"100%":dayPercentage+"%",r[e(265)](e(394))[e(228)]=displayDayPercentage,r[e(265)](e(407))[e(228)]=(Math.floor(10*(24-asideTodayHour))/10)[e(155)](1)+e(428),month=o[e(513)]()+1,day=o[e(400)](),month=month>9?month:"0"+month,day=day>9?day:"0"+day,week={0:"周日",1:"周一",2:"周二",3:"周三",4:"周四",5:"周五",6:"周六"},document[e(265)](e(137))[e(228)]=o[e(150)]()+"-"+month+"-"+day+" "+week[o[e(446)]()])},PressEscapeKey(e){var t=_0x1aee;27===e[t(297)]&&(document[t(367)](t(466))&&mycpen1js[t(213)](),document.getElementById(t(210))&&document[t(367)](t(158))&&(document[t(265)](t(322))||document.querySelector(t(353)))&&(document[t(367)](t(463))&&closeShow(),document[t(367)]("mycpen1-link-page-tag")&&mycpen1js.linkPageCloseShow()))},linkPageOpenMeShow(e){var t=_0x1aee,a={apipublicurl:t(537)},n="ok",o=t(417),s=document.getElementById("mycpen1-link-page-tag");s&&(document[t(367)]("cf-overlay")||s[t(402)](t(360),o)),e[t(445)]();var r,c=e.currentTarget[t(414)][t(291)][t(380)](/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,t(375));r=a[t(197)]+t(179)+c,"ok"==n&&(n="no",mycpen1js[t(292)](r))},linkPageOpenMeShowV2(e){var t=_0x1aee,a={apipublicurl:t(537)},n="ok",o=t(417),s=document[t(367)](t(196));s&&(document[t(367)](t(210))||s[t(402)](t(360),o)),e[t(445)]();var r,c=encodeURIComponent(e[t(366)][t(414)][t(505)]);r=a[t(197)]+t(451)+c,"ok"==n&&(n="no",mycpen1js.linkPageFetchShow(r))},linkPageCloseShow(){var e=_0x1aee;document[e(367)](e(210))[e(183)]-=e(422),document[e(367)]("cf-overshow").className-=e(422),setTimeout((function(){var t=e,a=document[t(327)]("#cf-overshow > :not(.cf-overshow-close)"),n=document[t(327)]("#cf-overshow > .cf-overshow-close");a[t(294)]((function(e){e[t(258)]()}));for(var o=1;o<n[t(252)];o++)n[o][t(258)]()}),100)},linkPageFetchShow(_0x4727ff){var _0x428af8=_0x1aee,_0x228237=_0x428af8(337);fetch(_0x4727ff).then((e=>e.json()))[_0x428af8(467)]((_0x210063=>{var _0x386690=_0x428af8;noClick="ok";var _0xa60e83=_0x210063.statistical_data,_0x157b4a=eval(_0x210063.article_data);0!==_0xa60e83[_0x386690(447)]?(mycpen1js[_0x386690(346)](_0xa60e83,_0x157b4a),document[_0x386690(367)](_0x386690(210)).className=_0x386690(422),document[_0x386690(367)](_0x386690(158))[_0x386690(402)](_0x386690(227),_0x228237)):btf[_0x386690(565)](_0x386690(517))}))[_0x428af8(189)]((e=>{var t=_0x428af8;btf[t(565)](t(195))}))},linkPageLoadFcircleShow(e,t){for(var a=_0x1aee,n=a(462)+e[a(421)]+a(543)+e[a(291)]+'">'+e[a(505)]+a(229),o=0;o<e[a(447)];o++){var s=t[o];let e="";Date[a(498)]()-new Date(s.created+a(549))[a(239)]()<=1728e5&&(e=a(168)),n+=a(550)+s[a(291)]+'" target="_blank" rel="noopener nofollow" data-title="'+s[a(452)]+'">'+s[a(452)]+a(276)+e+">"+s[a(342)]+a(206)}n+=a(477),document[a(367)](a(158))[a(402)]("beforeend",n),document.getElementById(a(158))[a(183)]=a(422)},linkPageRssAliveCheck(){var e=_0x1aee;apiurl=e(537),rssAliveCheckUrl=apiurl+"friendstatus",fetch(rssAliveCheckUrl).then((t=>t[e(516)]()))[e(467)]((t=>{var a=e,n=t.lost_friends,o=t[a(406)],s=t[a(132)];let r=[];for(const e in n){let t=n[e];t=t[a(380)](/^https?:\/\//,""),t=t[a(380)](/\/$/,""),r[a(173)](t)}let c=[];for(const e in o){let t=o[e];t=t[a(380)](/^https?:\/\//,""),t=t.replace(/\/$/,""),c[a(173)](t)}document[a(327)](a(269))[a(294)]((e=>{var t=a;if(e){let a=e[t(159)]("data-link").replace(/^https?:\/\//,"");a=a[t(380)](/\/$/,""),s>0?c[t(349)](a)?e[t(289)][t(579)](t(274)):r[t(349)](a)?e.classList[t(579)](t(345)):e[t(289)][t(579)](t(362)):0===s&&e[t(289)][t(579)](t(345))}}))}))},NzcheckLink:async e=>{var t=_0x1aee;const a=document[t(327)](e);if(a){let e=new RegExp(/^[#].*/);for(let s=0;s<a[t(252)];s++){const r=a[s];var n=r[t(398)](t(268)),o=r[t(289)][t(356)](t(280));if(!n&&!o){let a=r[t(159)]("href"),n=r[t(159)](t(480)),o=r.getAttribute(t(470));e[t(138)](a)||o===t(415)||"next"===o||"category"===o||"tag"===o||"javascript:void(0);"===a||(await mycpen1js[t(483)](a)||n?!await mycpen1js[t(483)](a)&&"goDown"===n&&r[t(438)](t(310),"/redirect.html?url="+btoa(a)+t(465)):r[t(438)]("href",t(512)+btoa(a)))}r[t(289)][t(579)](t(280))}}},NzcheckLocalSite:async e=>{var t=_0x1aee;try{const a=["localhost:4000",t(567),"mycpen.cn"];let n=!1;for(let o=0;o<a.length;o++){const s=a[o];if(e[t(349)](s)){n=!0;break}}return n}catch(e){return!0}},cookieConsent(){var e=_0x1aee;window.addEventListener(e(412),(()=>{var t=e;window[t(435)][t(286)]({type:t(245),theme:t(472),static:!1,position:t(166),content:{message:"我们使用 cookie 来确保在我们的网站上为您提供最佳体验。",dismiss:"接受",allow:"接受",deny:"拒绝",link:!1},palette:{popup:{background:t(308),text:"#838391"},button:{background:"#4b81e8"}}})}))}};function _0x1aee(e,t){var a=_0xcbd3();return(_0x1aee=function(e,t){return a[e-=131]})(e,t)}function _0xcbd3(){var e=["MTA=","hasAttribute","children","getDate","敬业的","insertAdjacentHTML","color:#fadfa3","owoBigfunc","color: #fadfa3; background: #030307; padding:5px 0;","not_lost_friends",".schedule-r3 .schedule-d1 .aside-span2","温暖的","origin","offsetHeight","ceil","load","有执行能力的","dataset","prev","owo-big",'\n <div id="cf-overlay" class="cf-new-add" onclick="mycpen1js.linkPageCloseShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ',"有学习能力的","优雅的","nextElementSibling","avatar","cf-show-now","getElementsByClassName","closeAboutAplayer","already-clear-clickEvent","removeaAlayerFixedLrc","keydown"," / 024","scrollY","#percent","11628464vhtPDJ","style","type","setDate","cookieconsent","getItem","xAxis","setAttribute","replaceChild",'<span class="day">',"慎重的","Mycpen - Personal Blog","onscroll","有爱心的","preventDefault","getDay","article_num","disqus_thread","comment-tips","setItem","postv2?name=","title","DISQUS"," | Mycpen","toLocaleDateString","有创造力的","random","getFooterRandomFlink","富有想象力的",".page .layout #tag #tag-page-tags",".share",'\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="',"mycpen1-fcircle-page-tag","有远见的","&type=goDown","console","then","color","trim","rel","progid:DXImageTransform.Microsoft.BasicImage(grayscale=1)","edgeless","12.13","喜欢思考的","#inpName","有思想的","</div></div>","成熟的","#name","data-download","px; top:","padEnd","NzcheckLocalSite","有耐性的","-01-01 00:00:00","尊重他人的","距 1998-00-00 计时","innerText","grayscale(100%)","change","距 2028-00-00 计时","标题:","#friend-links-in-footer .footer-item","onmouseenter","hide-aside","pathname","apply","now","hide","date_suffix","data","\n%c","#pBar_year","豁达的","name","el-textarea__inner","289287XnGZMb","floor","有协调能力的","复制成功","contextmenu","/redirect.html?url=","getMonth","Happy New Year!","#p_span_month","json","未获取到订阅内容","#comment_author","switchPostChart","offsetX","card-widget-schedule","#ds-dialog-email","offsetY","darkmode_sidebarSwitch","show","px;","朝气蓬勃的","含蓄的","html","parse","hour","MjIvMjA1OCAwMDowMA==","#inpEmail","cardRefreshTimes","#author","\n链接:","https://www.cpen.top:8002/","善于领导的","round","textStyle","05.12","MTAvMjIvMjA=",'" alt="avatar" onerror="this.src=\'https://cdn.cbd.int/mycpen-blog@0.0.0-eydvwxanvs/img/flink404.svg\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="',"light","div","mycpen1-categories-page-cloudCategories-",".essay_bar_swiper_container","#article-container .flink .flink-list > .flink-list-item.单向 > a"," 00:00:00",'\n <p><a class="cf-article-title" href="',"createEvent","NzcheckLink","OwO-body","from","#pBar_month","day","day_to_night","input[name='commail']","yAxis",".aplayer-fixed .aplayer-icon.aplayer-icon-lrc","Snackbar","善于合作的","幽默的","干净的","snackbarShow","美丽的","cpen.top","慷慨的","input[name='author']","敏捷的","data-theme","#ds-dialog-name","英俊的","%c ","autoplay","距 2025-05-23 计时","onmouseleave","observe","add","距 2058-00-00 计时","total_friend_num","inline","\n> ","6dscNMg","耐心的","#aside-content .card-widget#card-widget-schedule .item-content .schedule-today","test",".tk-avatar.tk-clickable:not(.already-clear-clickEvent)","细心的","距 2022-08-28 上线","appendChild","tag","parentNode","changeNavPageNameTitle","3rAirBR","善解人意的","link_list","location","getFullYear","scrollTop","value","PressEscapeKey","padStart","toFixed","label","target","cf-overshow","getAttribute"," / ",".page .layout #category #category-page-categories","有决策能力的","tagPageActive","loadUrl","mycpen1-essay-page-tag","bottom-right","lineStyle",'style="color: var(--mycpen1-main); opacity: 1;"',"post-comment","essayChangeTimeInEssayByMycpen","setSelectionRange","率直的","push","有担当的","color:#030307","onresize","有趣的","max","post?link=","#newYear .newYear-time","footer",".tk-comments-container a:not(.already-redirect-link)","className","concat","759215pwbDKU","/json/link.json","pjax:complete","dark","catch","#bber","#pBar_week","#newYear .title","bind","#4C4948","未获取到文章卡片","mycpen1-link-page-tag","apipublicurl","1617653KeLyLX","input[name='email']","西红柿","开放的","linkPageRssAliveCheck","具有批判性思维的","_blank","offsetTop","</span></p>\n ","有团队精神的","nameTextStyle","randomLink","cf-overlay","#nav-totop","setHours","hideConsole","none","聪明的","join","toPageButton","axisLine","#p_span_week","display","IMG","MDA6MDA6MDA=",".schedule-r0 .schedule-d1 .aside-span2","可爱的","rgba(255,255,255,0.7)","haveValue","afterbegin","innerHTML",'</a>\n </div>\n <div class="cf-overshow-content">\n ',"深刻的","disqusReset","09.18","log","loadFBComment","series","#newYear .today","essayDiffDate","dispatchEvent","getTime","essayReplaceAll","noopener external nofollow noreferrer","mycpen1-about-page-tag","abs","文静的","info","#console","#consoleHideAside","勇敢的","setTime","documentElement","10917935byYoFI","length","#comment_email","disconnect","有艺术细胞的","getNavRightPagePercent","有激情的","remove",'<span class="unit">天</span></span>',"MDA6MDA=","markLine","11.30","start","split","querySelector","朴素的","essayReflashEssayWaterFall","data-fancybox","#article-container .flink#mycpen1-link-page-tag-2 .flink-list>.flink-list-item a .flink-item-icon","focus","可靠的","体贴的","setMonth","flink-mycpen1-rss-not-lost-friends"," / 007","</a><span ","removeClass","vertical","childList","already-redirect-link","splice"," MYCPEN BLOG ","clientHeight","copy","aside-status","initialise","深沉的","pause","classList","just","link","linkPageFetchShow","08.14","forEach","#article-container .flink .flink-list > .flink-list-item.失联 > a","100.00","keyCode","280eGhuEx","toPageText","顽强的","MDgvMjgvMjAyMiA=","firstChild","display:flex; height:","喜欢学习的","addClass","宽容的","猕猴桃","#edeff5",".page-number","href","createElement","MTAvMjIvMTk5OCAwMA==","有眼光的","stop","categories-chart",'<i class="fa-solid fa-clock"></i> <span>距离</span> ',"body","守信的","有智慧的","gray !important;","有幽默感的",".cf-overshow-close","1815278EiMJPU","scrollTo","西兰花","axisLabel","querySelectorAll","page/","datetime","undefined","真诚的","endsWith","#waterfall","clientWidth","page-name","select",'\n <div class="cf-overshow-close" onclick="mycpen1js.linkPageCloseShow()"></div>\n ',"98406gBksUb","有同情心的","setOption","input","created","#pBar_day","click","flink-mycpen1-rss-lost-friends","linkPageLoadFcircleShow","100%","07.07","includes","09.30","set","scrollHeight",".cf-overshow","谦虚的","pageYOffset","contains","善于表达的",".tk-comments-container","12ehaUZH","afterend","好棒!","flink-mycpen1-rss-unknown-friends","initEvent","稳重的","theme","currentTarget","getElementById","纯真的","addedNodes","legend","stringify","addEventListener","firstElementChild","09.09","$1:$2$3","bbtalk","px; left:",".schedule-r1 .schedule-d1 .aside-span2","有责任感的","replace","input[name='comname']","有专业素养的","css","toString","有正义感的","#newYear","有责任心的","background: #fadfa3; padding:5px 0;","removeEventListener","links","removeBodyPaceClass","有逻辑思维的","saveData","#p_span_day","哈密瓜","long"];return(_0xcbd3=function(){return e})()}function whenDOMReadyMycpen1JS(){var e=_0x425829;mycpen1js[e(145)](),mycpen1js[e(458)](),mycpen1js[e(391)](),mycpen1js[e(163)](),mycpen1js.categoryPageActive(),mycpen1js.listenToPageInputPress(),mycpen1js[e(404)](),document[e(367)]("mycpen1-essay-page-tag")&&(mycpen1js[e(170)](),mycpen1js.essayReflashEssayWaterFall(),window[e(176)]=()=>{var t=e;document[t(367)](t(165))&&(mycpen1js[t(267)](),setTimeout((()=>{mycpen1js[t(267)]()}),300))}),document[e(367)]("darkmode").addEventListener(e(344),(function(){setTimeout(mycpen1js.switchPostChart,100)})),document[e(367)]("darkmode_navswitch")[e(372)](e(344),(function(){setTimeout(mycpen1js.switchPostChart,100)})),document[e(367)]("darkmode_consoleSwitch")[e(372)](e(344),(function(){setTimeout(mycpen1js[e(519)],100)})),document[e(367)](e(524))[e(372)](e(344),(function(){setTimeout(mycpen1js[e(519)],100)})),mycpen1js.cpRemind(),mycpen1js[e(424)](),document[e(367)](e(521))&&(mycpen1js[e(534)](),setInterval((()=>{mycpen1js[e(534)]()}),1e3)),document[e(367)]("mycpen1-link-page-tag-2")&&mycpen1js[e(202)](),document[e(367)](e(196))&&(mycpen1js[e(552)](e(548)),mycpen1js.NzcheckLink(e(295))),document.getElementById("mycpen1-about-page-tag")&&mycpen1js[e(552)]("#article-container #mycpen1-about-page-tag-sponsor-part a"),document[e(367)](e(169))&&setInterval((()=>{var t=e;if(document[t(265)](t(358))){mycpen1js[t(552)](t(182));document[t(327)](t(139)).forEach((e=>{var a=t;e[a(289)].add(a(425));const n=document[a(311)]("a");for(Array[a(554)](e.attributes)[a(294)]((e=>{var t=a;n.setAttribute(e[t(505)],e[t(152)])}));e[a(302)];)n[a(142)](e.firstChild);e[a(144)][a(439)](n,e);const o=n[a(420)].firstElementChild[a(373)].firstElementChild.getAttribute(a(310));n[a(438)](a(310),o),n[a(438)](a(157),a(204)),n[a(438)](a(470),a(241))}))}}),1e3)}mycpen1js[_0x425829(466)](),document[_0x425829(389)]("keydown",mycpen1js[_0x425829(153)]),document[_0x425829(372)](_0x425829(427),mycpen1js[_0x425829(153)]),window[_0x425829(443)]=mycpen1js[_0x425829(256)],mycpen1js[_0x425829(426)](),whenDOMReadyMycpen1JS(),document[_0x425829(372)](_0x425829(187),whenDOMReadyMycpen1JS);
package/js/fcircle.js CHANGED
@@ -1 +1 @@
1
- var frdata={apiurl:"https://www.cpen.top:8002/",defaultFish:100,hungryFish:100},fdatalist=JSON.parse(localStorage.getItem("fdatalist")),fcdata={jsonurl:"",apiurl:"",apipublicurl:fdatalist.apiurl,initnumber:fdatalist.initnumber,stepnumber:fdatalist.stepnumber,article_sort:"created",error_img:"/img/flink404.svg"};if("undefined"!=typeof fdataUser)for(var key in fdataUser)fdataUser[key]&&(fdata[key]=fdataUser[key]);var article_num="",sortNow="",UrlNow="",friends_num="",container=document.getElementById("fcircleContainer")||document.getElementById("cf-container"),localSortNow=localStorage.getItem("sortNow"),localUrlNow=localStorage.getItem("urlNow");function loadStatistical(a){article_num=a.article_num,friends_num=a.friends_num;a.friends_num,a.active_num,a.article_num;var e=`\n <div id="cf-more" class="cf-new-add" onclick="loadNextArticle()"><i class="fas fa-angle-double-down"></i></div>\n <div id="cf-footer" class="cf-new-add">\n <span id="cf-version-up" onclick="checkVersion()"></span>\n <span class="cf-data-lastupdated">Powered by <a href="https://github.com/Rock-Candy-Tea/hexo-circle-of-friends" target="_blank" rel="noopener external nofollow noreferrer">FriendCircle</a></span>\n <span class="cf-data-lastupdated">订阅:${a.friends_num} 活跃:${a.active_num} 日志:${a.article_num}</span>\n <span class="cf-data-lastupdated">更新于:${a.last_updated_time}</span>\n 排序:<span id="cf-change-created" data-sort="created" onclick="changeSort(event)" class="${"created"==sortNow?"cf-change-now":""}">创建时间</span> | <span id="cf-change-updated" data-sort="updated" onclick="changeSort(event)" class="${"updated"==sortNow?"cf-change-now":""}" >更新时间</span>\n </div>\n <div id="cf-overlay" class="cf-new-add" onclick="closeShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n `;container&&(container.insertAdjacentHTML("afterend",e),setTimeout((function(){document.getElementById("hexo-circle-of-friends-root-notice").innerHTML=""}),0))}function loadArticleItem(a,e,t){var r="",o=t;if(t>article_num&&(o=article_num),e<article_num){for(var l=e;l<o;l++){var n=a[l];r+=`\n <div class="cf-article">\n <a class="cf-article-title" href="${n.link}" target="_blank" rel="noopener nofollow" data-title="${n.title}">${n.title}</a>\n <span class="cf-article-floor">${n.floor}</span>\n <div class="cf-article-avatar no-lightbox flink-item-icon">\n <a onclick="openMeShowV2(event)" data-link="${n.link}" data-name="${n.author}" class="" target="_blank" rel="noopener nofollow" href="javascript:;"><img class="cf-img-avatar avatar" src="${n.avatar}" alt="avatar" onerror="this.src='${fcdata.error_img}'; this.onerror = null;"><span class="cf-article-author">${n.author}</span></a>\n <span class="cf-article-time">\n <span class="cf-time-created" style="${"created"==sortNow?"":"display:none"}">${n.created}</span>\n <span class="cf-time-updated" style="${"updated"==sortNow?"":"display:none"}">${n.updated}</span>\n </span>\n </div>\n </div>\n `}container.insertAdjacentHTML("beforeend",r),fetchNextArticle()}else document.getElementById("cf-more").outerHTML='<div id="cf-more" class="cf-new-add" onclick="loadNoArticle()"><small>一切皆有尽头!</small></div>'}function loadFcircleShow(a,e){for(var t=`\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="${a.avatar}" alt="avatar" onerror="this.src='${fcdata.error_img}'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="${a.link}">${a.name}</a>\n </div>\n <div class="cf-overshow-content">\n `,r=0;r<a.article_num;r++){var o=e[r];let a="";Date.now()-new Date(o.created+" 00:00:00").getTime()<=1728e5&&(a='style="color: var(--mycpen1-main); opacity: 1;"'),t+=`\n <p><a class="cf-article-title" href="${o.link}" target="_blank" rel="noopener nofollow" data-title="${o.title}">${o.title}</a><span ${a}>${o.created}</span></p>\n `}t+="</div></div>",document.getElementById("cf-overshow").insertAdjacentHTML("beforeend",t),document.getElementById("cf-overshow").className="cf-show-now"}function fetchNextArticle(){var start=document.getElementsByClassName("cf-article").length,end=start+fcdata.stepnumber,articleNum=article_num;if(end>articleNum&&(end=articleNum),start<articleNum){UrlNow=localStorage.getItem("urlNow");var fetchUrl=UrlNow+"rule="+sortNow+"&start="+start+"&end="+end;fetch(fetchUrl).then((a=>a.json())).then((json=>{var nextArticle=eval(json.article_data);localStorage.setItem("nextArticle",JSON.stringify(nextArticle))}))}else(start=articleNum)&&(document.getElementById("cf-more").outerHTML='<div id="cf-more" class="cf-new-add" onclick="loadNoArticle()"><small>一切皆有尽头!</small></div>')}function loadNextArticle(){for(var a=JSON.parse(localStorage.getItem("nextArticle")),e="",t=0;t<a.length;t++){var r=a[t];e+=`\n <div class="cf-article">\n <a class="cf-article-title" href="${r.link}" target="_blank" rel="noopener nofollow" data-title="${r.title}">${r.title}</a>\n <span class="cf-article-floor">${r.floor}</span>\n <div class="cf-article-avatar no-lightbox flink-item-icon">\n <a onclick="openMeShowV2(event)" data-link="${r.link}" data-name="${r.author}" class="" target="_blank" rel="noopener nofollow" href="javascript:;"><img class="cf-img-avatar avatar" src="${r.avatar}" alt="avatar" onerror="this.src='${fcdata.error_img}'; this.onerror = null;"><span class="cf-article-author">${r.author}</span></a>\n <span class="cf-article-time">\n <span class="cf-time-created" style="${"created"==sortNow?"":"display:none"}">${r.created}</span>\n <span class="cf-time-updated" style="${"updated"==sortNow?"":"display:none"}">${r.updated}</span>\n </span>\n </div>\n </div>\n `}container.insertAdjacentHTML("beforeend",e),lazyLoadInstance.update(),fetchNextArticle()}function loadNoArticle(){var a=sortNow+"ArticleData";localStorage.removeItem(a),localStorage.removeItem("statisticalData"),document.getElementById("cf-more").remove(),window.scrollTo(0,document.getElementsByClassName("cf-state").offsetTop)}function clearLocal(){localStorage.removeItem("updatedArticleData"),localStorage.removeItem("createdArticleData"),localStorage.removeItem("nextArticle"),localStorage.removeItem("statisticalData"),localStorage.removeItem("sortNow"),localStorage.removeItem("urlNow"),location.reload()}function checkVersion(){var a=fcdata.apiurl+"version";fetch(a).then((a=>a.json())).then((a=>{var e=a.status,t=a.current_version,r=a.latest_version,o=document.getElementById("cf-version-up");o.innerHTML=0==e?"当前版本:v"+t:1==e?"发现新版本:v"+t+" ↦ "+r:"网络错误,检测失败!"}))}function changeEgg(){if(fcdata.jsonurl||fcdata.apiurl){document.querySelectorAll(".cf-new-add").forEach((a=>a.remove())),localStorage.removeItem("updatedArticleData"),localStorage.removeItem("createdArticleData"),localStorage.removeItem("nextArticle"),localStorage.removeItem("statisticalData"),container.innerHTML="",UrlNow=localStorage.getItem("urlNow");var a=fcdata.apipublicurl+"all?";UrlNow!==a?changeUrl=fcdata.apipublicurl+"all?":fcdata.jsonurl?changeUrl=fcdata.apipublicurl+"postjson?jsonlink="+fcdata.jsonurl+"&":fcdata.apiurl&&(changeUrl=fcdata.apiurl+"all?"),localStorage.setItem("urlNow",changeUrl),FetchFriendCircle(sortNow,changeUrl)}else clearLocal()}function FetchFriendCircle(sortNow,changeUrl){var end=fcdata.initnumber,fetchUrl=UrlNow+"rule="+sortNow+"&start=0&end="+end;changeUrl&&(fetchUrl=changeUrl+"rule="+sortNow+"&start=0&end="+end),fetch(fetchUrl).then((a=>a.json())).then((json=>{var statisticalData=json.statistical_data,articleData=eval(json.article_data),articleSortData=sortNow+"ArticleData";loadStatistical(statisticalData),loadArticleItem(articleData,0,end),localStorage.setItem("statisticalData",JSON.stringify(statisticalData)),localStorage.setItem(articleSortData,JSON.stringify(articleData))}))}function changeSort(a){sortNow=a.currentTarget.dataset.sort,localStorage.setItem("sortNow",sortNow),document.querySelectorAll(".cf-new-add").forEach((a=>a.remove())),container.innerHTML="",changeUrl=localStorage.getItem("urlNow"),container.style.opacity=0,document.getElementById("hexo-circle-of-friends-root-notice").innerHTML="与主机通讯中......",setTimeout((function(){container.innerHTML="",initFriendCircle(sortNow,changeUrl),container.style.opacity=1}),300),fcdata.apiurl&&checkVersion()}function openMeShow(a){a.preventDefault();var e=a.currentTarget.dataset.link.replace(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,"$1:$2$3"),t="";t=fcdata.apiurl?fcdata.apiurl+"post?link="+e:fcdata.apipublicurl+"post?link="+e,"ok"==noClick&&(noClick="no",fetchShow(t))}function openMeShowV2(a){a.preventDefault();var e=encodeURIComponent(a.currentTarget.dataset.name),t="";t=fcdata.apiurl?fcdata.apiurl+"postv2?name="+e:fcdata.apipublicurl+"postv2?name="+e,"ok"==noClick&&(noClick="no",fetchShow(t))}function closeShow(){document.getElementById("cf-overlay").className-="cf-show-now",document.getElementById("cf-overshow").className-="cf-show-now",setTimeout((function(){var a=document.querySelectorAll("#cf-overshow > :not(.cf-overshow-close)"),e=document.querySelectorAll("#cf-overshow > .cf-overshow-close");a.forEach((function(a){a.remove()}));for(var t=1;t<e.length;t++)e[t].remove()}),100)}localSortNow&&localUrlNow?(sortNow=localSortNow,UrlNow=localUrlNow):(sortNow=fcdata.article_sort,UrlNow=fcdata.jsonurl?fcdata.apipublicurl+"postjson?jsonlink="+fcdata.jsonurl+"&":fcdata.apiurl?fcdata.apiurl+"all?":fcdata.apipublicurl+"all?",localStorage.setItem("urlNow",UrlNow),localStorage.setItem("sortNow",sortNow));var noClick="ok";function openToShow(){var a="";a=fcdata.apiurl?fcdata.apiurl+"post":fcdata.apipublicurl+"post","ok"==noClick&&(noClick="no",fetchShow(a))}function fetchShow(url){var closeHtml='\n <div class="cf-overshow-close" onclick="closeShow()"></div>\n ';fetch(url).then((a=>a.json())).then((json=>{noClick="ok";var statisticalData=json.statistical_data,articleData=eval(json.article_data);loadFcircleShow(statisticalData,articleData),document.getElementById("cf-overlay").className="cf-show-now",document.getElementById("cf-overshow").insertAdjacentHTML("afterbegin",closeHtml)})).catch((a=>{btf.snackbarShow("未获取到文章卡片")}))}function initFriendCircle(a,e){var t=a+"ArticleData";JSON.parse(localStorage.getItem("statisticalData")),JSON.parse(localStorage.getItem(t));container.innerHTML="",FetchFriendCircle(a,e)}initFriendCircle(sortNow);
1
+ var _0x36fc8b=_0x23fd;function _0x5dee(){var a=["</span></p>\n ","cf-overshow","undefined","fcircleContainer","nextArticle","$1:$2$3","json","dataset","title","current_version","sort",'\n <div class="cf-overshow">\n <div class="cf-overshow-head">\n <img class="cf-img-avatar avatar" src="',"apiurl","statisticalData",".cf-new-add","created","forEach","stringify","</div></div>","removeItem","urlNow","remove",'" class="" target="_blank" rel="noopener nofollow" href="javascript:;"><img class="cf-img-avatar avatar" src="',"version","与主机通讯中......","</span>\n </span>\n </div>\n </div>\n ","opacity","beforeend",'\n <div class="cf-article">\n <a class="cf-article-title" href="',"ArticleData",'\n <div id="cf-more" class="cf-new-add" onclick="loadNextArticle()"><i class="fas fa-angle-double-down"></i></div>\n <div id="cf-footer" class="cf-new-add">\n <span id="cf-version-up" onclick="checkVersion()"></span>\n <span class="cf-data-lastupdated">Powered by <a href="https://github.com/Rock-Candy-Tea/hexo-circle-of-friends" target="_blank" rel="noopener external nofollow noreferrer">FriendCircle</a></span>\n <span class="cf-data-lastupdated">订阅:',"style","update",'\'; this.onerror = null;"><span class="cf-article-author">',"updatedArticleData","rule=",'">Created</span> | <span id="cf-change-updated" data-sort="updated" onclick="changeSort(event)" class="',"setItem","all?",'">创建时间</span> | <span id="cf-change-updated" data-sort="updated" onclick="changeSort(event)" class="',"scrollTo","1081992CKNxLv","display:none","cf-overlay",'" target="_blank" rel="noopener nofollow" data-title="',"currentTarget",'</span></a>\n <span class="cf-article-time">\n <span class="cf-time-created" style="','</span>\n <div class="cf-article-avatar no-lightbox flink-item-icon">\n <a onclick="openMeShowV2(event)" data-link="',"link","getElementsByClassName",'</a>\n <span class="cf-article-floor">',"updated","postv2?name=",'</a>\n </div>\n <div class="cf-overshow-content">\n ',"post?link=","now","afterbegin","#cf-overshow > .cf-overshow-close","stepnumber","catch","className","author",'<div id="cf-more" class="cf-new-add" onclick="loadNoArticle()"><small>一切皆有尽头!</small></div>',"article_sort","then","527266gxNhlx","preventDefault",'" data-name="',"avatar","cf-show-now","post","&end=","outerHTML",'\n <p><a class="cf-article-title" href="',"</a><span ","name","发现新版本:v","2149326oYlWYX","length","article_num","304YzBQuY","getElementById","&start=","https://cdn.cbd.int/mycpen-blog@0.0.0-eydvwxanvs/img/flink404.svg","13953yFRlTv","floor",'</span>\n </div>\n <div class="cf-data-active" onclick="changeEgg()">\n <span class="cf-label">活跃</span>\n <span class="cf-message">',"cf-version-up","网络错误,检测失败!","130648PUChkp","createdArticleData","apipublicurl","cf-container","3997688jDWDst","innerHTML","getTime","initnumber","friends_num",'</span>\n 排序:<span id="cf-change-created" data-sort="created" onclick="changeSort(event)" class="',"13997330VPBclk","insertAdjacentHTML","getItem","338TWwXNz","querySelectorAll",'</span>\n <span class="cf-data-lastupdated">更新于:','" alt="avatar" onerror="this.src=\'',"cf-change-now","latest_version","sortNow","error_img",'</span>\n <span class="cf-time-updated" style="','\n <div class="cf-overshow-close" onclick="closeShow()"></div>\n ',"postjson?jsonlink="," 活跃:","parse","5bsmbeO","cf-article","hexo-circle-of-friends-root-notice","cf-more","afterend","未获取到文章卡片",'style="color: var(--mycpen1-main); opacity: 1;"',"active_num","jsonurl","&start=0&end=","article_data"];return(_0x5dee=function(){return a})()}!function(a,e){for(var c=_0x23fd,t=_0x5dee();;)try{if(509192===-parseInt(c(295))/1+parseInt(c(332))/2*(parseInt(c(314))/3)+parseInt(c(323))/4+-parseInt(c(345))/5*(-parseInt(c(271))/6)+parseInt(c(319))/7*(parseInt(c(310))/8)+-parseInt(c(307))/9+-parseInt(c(329))/10)break;t.push(t.shift())}catch(a){t.push(t.shift())}}();var frdata={apiurl:"https://www.cpen.top:8002/",defaultFish:100,hungryFish:100},fdatalist=JSON[_0x36fc8b(344)](localStorage[_0x36fc8b(331)]("fdatalist")),fcdata={jsonurl:"",apiurl:"",apipublicurl:fdatalist.apiurl,initnumber:fdatalist.initnumber,stepnumber:fdatalist.stepnumber,article_sort:_0x36fc8b(245),error_img:_0x36fc8b(313)};if(typeof fdataUser!==_0x36fc8b(232))for(var key in fdataUser)fdataUser[key]&&(fdata[key]=fdataUser[key]);var article_num="",sortNow="",UrlNow="",friends_num="",container=document[_0x36fc8b(311)](_0x36fc8b(233))||document[_0x36fc8b(311)](_0x36fc8b(322)),localSortNow=localStorage[_0x36fc8b(331)](_0x36fc8b(338)),localUrlNow=localStorage[_0x36fc8b(331)]("urlNow");function loadStatistical(a){var e=_0x36fc8b;article_num=a[e(309)],friends_num=a[e(327)];a.friends_num,e(316),a[e(226)],a[e(309)],e(245),e(266),"updated"==sortNow&&e(336);var c=e(260)+a[e(327)]+e(343)+a[e(226)]+" 日志:"+a[e(309)]+e(334)+a.last_updated_time+e(328)+("created"==sortNow?e(336):"")+e(269)+(sortNow==e(281)?e(336):"")+'" >更新时间</span>\n </div>\n <div id="cf-overlay" class="cf-new-add" onclick="closeShow()"></div>\n <div id="cf-overshow" class="cf-new-add"></div>\n ';container&&(container[e(330)](e(223),c),setTimeout((function(){var a=e;document[a(311)](a(347))[a(324)]=""}),0))}function loadArticleItem(a,e,c){var t=_0x36fc8b,o="",r=c;if(c>article_num&&(r=article_num),e<article_num){for(var n=e;n<r;n++){var l=a[n];o+=t(258)+l[t(278)]+t(274)+l[t(238)]+'">'+l[t(238)]+t(280)+l[t(315)]+t(277)+l.link+t(297)+l[t(291)]+t(252)+l[t(298)]+t(335)+fcdata[t(339)]+t(263)+l[t(291)]+t(276)+(sortNow==t(245)?"":t(272))+'">'+l.created+t(340)+(sortNow==t(281)?"":t(272))+'">'+l.updated+t(255)}container.insertAdjacentHTML(t(257),o),fetchNextArticle()}else document[t(311)](t(348))[t(302)]=t(292)}function loadFcircleShow(a,e){for(var c=_0x36fc8b,t=c(241)+a[c(298)]+c(335)+fcdata.error_img+'\'; this.onerror = null;">\n <a class="" target="_blank" rel="noopener nofollow" href="'+a[c(278)]+'">'+a[c(305)]+c(283),o=0;o<a[c(309)];o++){var r=e[o];let a="";Date[c(285)]()-new Date(r[c(245)]+" 00:00:00")[c(325)]()<=1728e5&&(a=c(225)),t+=c(303)+r.link+c(274)+r.title+'">'+r[c(238)]+c(304)+a+">"+r[c(245)]+c(230)}t+=c(248),document[c(311)](c(231))[c(330)](c(257),t),document[c(311)](c(231))[c(290)]=c(299)}function fetchNextArticle(){var _0x555136=_0x36fc8b,_0x2a3fce=document[_0x555136(279)](_0x555136(346))[_0x555136(308)],_0x1ecb02=_0x2a3fce+fcdata[_0x555136(288)],_0x26f076=article_num;if(_0x1ecb02>_0x26f076&&(_0x1ecb02=_0x26f076),_0x2a3fce<_0x26f076){UrlNow=localStorage[_0x555136(331)](_0x555136(250));var _0x530a84=UrlNow+_0x555136(265)+sortNow+_0x555136(312)+_0x2a3fce+_0x555136(301)+_0x1ecb02;fetch(_0x530a84)[_0x555136(294)]((a=>a[_0x555136(236)]()))[_0x555136(294)]((_0x510c4b=>{var _0x4d96fe=_0x555136,_0x5b5278=eval(_0x510c4b[_0x4d96fe(229)]);localStorage.setItem(_0x4d96fe(234),JSON[_0x4d96fe(247)](_0x5b5278))}))}else(_0x2a3fce=_0x26f076)&&(document[_0x555136(311)](_0x555136(348))[_0x555136(302)]='<div id="cf-more" class="cf-new-add" onclick="loadNoArticle()"><small>一切皆有尽头!</small></div>')}function loadNextArticle(){for(var a=_0x36fc8b,e=JSON[a(344)](localStorage[a(331)](a(234))),c="",t=0;t<e[a(308)];t++){var o=e[t];c+=a(258)+o[a(278)]+a(274)+o[a(238)]+'">'+o[a(238)]+a(280)+o[a(315)]+a(277)+o[a(278)]+a(297)+o[a(291)]+'" class="" target="_blank" rel="noopener nofollow" href="javascript:;"><img class="cf-img-avatar avatar" src="'+o[a(298)]+a(335)+fcdata[a(339)]+a(263)+o[a(291)]+'</span></a>\n <span class="cf-article-time">\n <span class="cf-time-created" style="'+(sortNow==a(245)?"":a(272))+'">'+o[a(245)]+a(340)+(sortNow==a(281)?"":a(272))+'">'+o[a(281)]+a(255)}container[a(330)](a(257),c),lazyLoadInstance[a(262)](),fetchNextArticle()}function loadNoArticle(){var a=_0x36fc8b,e=sortNow+a(259);localStorage[a(249)](e),localStorage[a(249)](a(243)),document[a(311)](a(348))[a(251)](),window[a(270)](0,document.getElementsByClassName("cf-state").offsetTop)}function clearLocal(){var a=_0x36fc8b;localStorage[a(249)](a(264)),localStorage[a(249)](a(320)),localStorage.removeItem(a(234)),localStorage[a(249)]("statisticalData"),localStorage[a(249)]("sortNow"),localStorage[a(249)]("urlNow"),location.reload()}function checkVersion(){var a=_0x36fc8b,e=fcdata.apiurl+a(253);fetch(e)[a(294)]((e=>e[a(236)]()))[a(294)]((e=>{var c=a,t=e.status,o=e[c(239)],r=e[c(337)],n=document[c(311)](c(317));0==t?n[c(324)]="当前版本:v"+o:1==t?n.innerHTML=c(306)+o+" ↦ "+r:n[c(324)]=c(318)}))}function changeEgg(){var a=_0x36fc8b;if(fcdata[a(227)]||fcdata.apiurl){document[a(333)](".cf-new-add").forEach((a=>a.remove())),localStorage[a(249)](a(264)),localStorage.removeItem(a(320)),localStorage[a(249)](a(234)),localStorage[a(249)]("statisticalData"),container[a(324)]="",UrlNow=localStorage[a(331)](a(250));var e=fcdata[a(321)]+a(268);UrlNow!==e?changeUrl=fcdata[a(321)]+a(268):fcdata[a(227)]?changeUrl=fcdata[a(321)]+a(342)+fcdata[a(227)]+"&":fcdata[a(242)]&&(changeUrl=fcdata[a(242)]+a(268)),localStorage[a(267)](a(250),changeUrl),FetchFriendCircle(sortNow,changeUrl)}else clearLocal()}function FetchFriendCircle(_0xbf0cda,_0x578a70){var _0x41a9e3=_0x36fc8b,_0x4513c7=fcdata[_0x41a9e3(326)],_0x38870d=UrlNow+_0x41a9e3(265)+_0xbf0cda+_0x41a9e3(228)+_0x4513c7;_0x578a70&&(_0x38870d=_0x578a70+"rule="+_0xbf0cda+_0x41a9e3(228)+_0x4513c7),fetch(_0x38870d)[_0x41a9e3(294)]((a=>a[_0x41a9e3(236)]()))[_0x41a9e3(294)]((_0x43b93e=>{var _0x3d480b=_0x41a9e3,_0x59cafa=_0x43b93e.statistical_data,_0x159837=eval(_0x43b93e[_0x3d480b(229)]),_0x142bf3=_0xbf0cda+_0x3d480b(259);loadStatistical(_0x59cafa),loadArticleItem(_0x159837,0,_0x4513c7),localStorage.setItem(_0x3d480b(243),JSON[_0x3d480b(247)](_0x59cafa)),localStorage[_0x3d480b(267)](_0x142bf3,JSON[_0x3d480b(247)](_0x159837))}))}function _0x23fd(a,e){var c=_0x5dee();return(_0x23fd=function(a,e){return c[a-=223]})(a,e)}function changeSort(a){var e=_0x36fc8b;sortNow=a[e(275)][e(237)][e(240)],localStorage[e(267)](e(338),sortNow),document[e(333)](e(244))[e(246)]((a=>a[e(251)]())),container[e(324)]="",changeUrl=localStorage[e(331)](e(250)),container.style[e(256)]=0,document[e(311)](e(347))[e(324)]=e(254),setTimeout((function(){var a=e;container.innerHTML="",initFriendCircle(sortNow,changeUrl),container[a(261)][a(256)]=1}),300),fcdata[e(242)]&&checkVersion()}function openMeShow(a){var e=_0x36fc8b;a.preventDefault();var c=a[e(275)][e(237)][e(278)].replace(/^(?:([A-Za-z]+):)?(\/{0,3})([0-9.\-A-Za-z]+)(?::(\d+))?(?:\/([^?#]*))?(?:\?([^#]*))?(?:#(.*))?$/,e(235)),t="";t=fcdata[e(242)]?fcdata[e(242)]+e(284)+c:fcdata[e(321)]+"post?link="+c,"ok"==noClick&&(noClick="no",fetchShow(t))}function openMeShowV2(a){var e=_0x36fc8b;a[e(296)]();var c=encodeURIComponent(a.currentTarget[e(237)][e(305)]),t="";t=fcdata[e(242)]?fcdata.apiurl+e(282)+c:fcdata.apipublicurl+e(282)+c,"ok"==noClick&&(noClick="no",fetchShow(t))}function closeShow(){var a=_0x36fc8b;document[a(311)](a(273))[a(290)]-=a(299),document.getElementById(a(231))[a(290)]-=a(299),setTimeout((function(){var e=a,c=document[e(333)]("#cf-overshow > :not(.cf-overshow-close)"),t=document[e(333)](e(287));c[e(246)]((function(a){a[e(251)]()}));for(var o=1;o<t.length;o++)t[o][e(251)]()}),100)}localSortNow&&localUrlNow?(sortNow=localSortNow,UrlNow=localUrlNow):(sortNow=fcdata[_0x36fc8b(293)],UrlNow=fcdata.jsonurl?fcdata[_0x36fc8b(321)]+"postjson?jsonlink="+fcdata[_0x36fc8b(227)]+"&":fcdata[_0x36fc8b(242)]?fcdata[_0x36fc8b(242)]+_0x36fc8b(268):fcdata[_0x36fc8b(321)]+_0x36fc8b(268),localStorage[_0x36fc8b(267)]("urlNow",UrlNow),localStorage.setItem("sortNow",sortNow));var noClick="ok";function openToShow(){var a=_0x36fc8b,e="";e=fcdata[a(242)]?fcdata[a(242)]+a(300):fcdata[a(321)]+a(300),"ok"==noClick&&(noClick="no",fetchShow(e))}function fetchShow(_0x3f1413){var _0x3cbf5e=_0x36fc8b,_0x2c60f5=_0x3cbf5e(341);fetch(_0x3f1413)[_0x3cbf5e(294)]((a=>a[_0x3cbf5e(236)]()))[_0x3cbf5e(294)]((_0xf1dc62=>{var _0x4a0b7d=_0x3cbf5e;noClick="ok";var _0x52badd=_0xf1dc62.statistical_data,_0x14a5c2=eval(_0xf1dc62[_0x4a0b7d(229)]);loadFcircleShow(_0x52badd,_0x14a5c2),document[_0x4a0b7d(311)]("cf-overlay")[_0x4a0b7d(290)]=_0x4a0b7d(299),document[_0x4a0b7d(311)]("cf-overshow")[_0x4a0b7d(330)](_0x4a0b7d(286),_0x2c60f5)}))[_0x3cbf5e(289)]((a=>{var e=_0x3cbf5e;btf.snackbarShow(e(224))}))}function initFriendCircle(a,e){var c=_0x36fc8b,t=a+"ArticleData";JSON[c(344)](localStorage[c(331)](c(243))),JSON[c(344)](localStorage[c(331)](t));container.innerHTML="",FetchFriendCircle(a,e)}initFriendCircle(sortNow);