mycpen-blog 0.0.0-eiumagcrho → 0.0.0-ejatevundp

Sign up to get free protection for your applications and to get access to all the features.
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://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/json/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="donotreply@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 .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='https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/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 o=0;o<t.length;o++){const c=t[o];var n=c.hasAttribute("data-fancybox"),a=c.classList.contains("already-redirect-link");if(!n&&!a){let t=c.getAttribute("href"),n=c.getAttribute("data-download"),a=c.getAttribute("rel");e.test(t)||"prev"===a||"next"===a||"category"===a||"tag"===a||"javascript:void(0);"===t||(await mycpen1js.NzcheckLocalSite(t)||n?await mycpen1js.NzcheckLocalSite(t)||"goDown"!==n||c.setAttribute("href","/redirect.html?url="+btoa(t)+"&type=goDown"):c.setAttribute("href","/redirect.html?url="+btoa(t)))}c.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 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://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-ejatevundp/json/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="donotreply@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 .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='https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-ejatevundp/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 o=0;o<t.length;o++){const c=t[o];var n=c.hasAttribute("data-fancybox"),a=c.classList.contains("already-redirect-link");if(!n&&!a){let t=c.getAttribute("href"),n=c.getAttribute("data-download"),a=c.getAttribute("rel");e.test(t)||"prev"===a||"next"===a||"category"===a||"tag"===a||"javascript:void(0);"===t||(await mycpen1js.NzcheckLocalSite(t)||n?await mycpen1js.NzcheckLocalSite(t)||"goDown"!==n||c.setAttribute("href","/redirect.html?url="+btoa(t)+"&type=goDown"):c.setAttribute("href","/redirect.html?url="+btoa(t)))}c.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);
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:"https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/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 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:"https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-ejatevundp/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 +1 @@
1
- function butterfly_swiper_injector_config(){document.getElementById("recent-posts").insertAdjacentHTML("afterbegin",'<div class="recent-post-item swiper_container_card" style="height: auto;width: 100%"><div class="blog-slider swiper-container-fade swiper-container-horizontal" id="swiper_container"><div class="blog-slider__wrp swiper-wrapper" style="transition-duration: 0ms;"><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/16589f92.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/blog/logo/zhuanzai160px.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-12-03</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/16589f92.html&quot;);" href="javascript:void(0);" alt="">01_转载-图床搭建 Backblaze B2 + Cloudflare CDN</a><div class="blog-slider__text">文章转载</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/16589f92.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/88a726.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/blog/logo/other-logo2.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-10-10</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/88a726.html&quot;);" href="javascript:void(0);" alt="">01_Other-Supervisor管理进程-Twikoo版本升级</a><div class="blog-slider__text">其他分类</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/88a726.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/5552.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/blog/logo/error-logo2.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-10-09</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/5552.html&quot;);" href="javascript:void(0);" alt="">01_Error-Nginx 反代后端接口报错</a><div class="blog-slider__text">Troubleshooting</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/5552.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/63259.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/blog/logo/php-logo2.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-10-08</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/63259.html&quot;);" href="javascript:void(0);" alt="">01_PHP-CentOS8.2 编译安装 PHP8.1.10</a><div class="blog-slider__text">一种开源的通用计算机脚本语言</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/63259.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/16756.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/blog/logo/python-logo3.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-09-28</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/16756.html&quot;);" href="javascript:void(0);" alt="">01_Python-CSDN_环境搭建</a><div class="blog-slider__text">一种广泛使用的解释型、高级和通用的编程语言</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/16756.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/14763.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/blog/logo/django-logo2.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-09-24</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/14763.html&quot;);" href="javascript:void(0);" alt="">01_Django-介绍-项目结构-URL和视图函数</a><div class="blog-slider__text">一个开放源代码的 Web 应用框架</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/14763.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/12907.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/blog/logo/java-logo3.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-09-21</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/12907.html&quot;);" href="javascript:void(0);" alt="">01_Java-特性-jdk-运行机制-转义字符-注释-代码规范</a><div class="blog-slider__text">一种广泛使用的计算机编程语言</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/12907.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/8236.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/blog/logo/hexo-logo2.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-09-20</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/8236.html&quot;);" href="javascript:void(0);" alt="">01_Hexo-Hexo + Pure搭建博客-自定义</a><div class="blog-slider__text">一个快速、简洁且高效的博客框架</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/8236.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/48860.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/blog/logo/linux-logo2.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-08-28</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/48860.html&quot;);" href="javascript:void(0);" alt="">01_Linux基础-部署-VMware-Xshell-Xftp-内核-安迪比尔定理</a><div class="blog-slider__text">一种自由和开放源码的类 UNIX 操作系统</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/48860.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div></div><div class="blog-slider__pagination swiper-pagination-clickable swiper-pagination-bullets"></div></div><div id="random"><div id="random-banner"><canvas id="peoplecanvas"></canvas></div><a id="random-hover" style="width:100%;height:auto;" href="javascript:toRandomPost()" rel="external nofollow noreferrer" one-link-mark="yes"><i class="fa fa-paper-plane" style="margin-left:13px"></i><div style="margin-left:13px;-webkit-line-clamp: 1;overflow: hidden;-webkit-box-orient: vertical;display: -webkit-box;word-break: break-all;">随便逛逛</div><i class="fa-solid fa-arrow-right" style="margin-left:107px"></i></a></div></div>')}function whenDOMReadyHomePageSwiper(){for(var l="undefined".split(","),t=location.pathname,o=0;o<l.length;o++)t.includes(l[o])&&0;document.getElementById("mycpen1-home-first-page-tag")&&butterfly_swiper_injector_config();var a=new Swiper(".blog-slider",{passiveListeners:!0,spaceBetween:30,effect:"fade",loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0,pagination:{el:".blog-slider__pagination",clickable:!0}}),s=document.getElementById("swiper_container");null!==s&&(s.onmouseenter=function(){a.autoplay.stop()},s.onmouseleave=function(){a.autoplay.start()})}whenDOMReadyHomePageSwiper(),document.addEventListener("pjax:complete",whenDOMReadyHomePageSwiper);
1
+ function butterfly_swiper_injector_config(){document.getElementById("recent-posts").insertAdjacentHTML("afterbegin",'<div class="recent-post-item swiper_container_card" style="height: auto;width: 100%"><div class="blog-slider swiper-container-fade swiper-container-horizontal" id="swiper_container"><div class="blog-slider__wrp swiper-wrapper" style="transition-duration: 0ms;"><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/16589f92.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/blog/logo/zhuanzai160px.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-12-03</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/16589f92.html&quot;);" href="javascript:void(0);" alt="">01_转载-图床搭建 Backblaze B2 + Cloudflare CDN</a><div class="blog-slider__text">文章转载</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/16589f92.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/88a726.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/blog/logo/other-logo2.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-10-10</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/88a726.html&quot;);" href="javascript:void(0);" alt="">01_Other-Supervisor管理进程-Twikoo版本升级</a><div class="blog-slider__text">其他分类</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/88a726.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/5552.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/blog/logo/error-logo2.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-10-09</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/5552.html&quot;);" href="javascript:void(0);" alt="">01_Error-Nginx 反代后端接口报错</a><div class="blog-slider__text">Troubleshooting</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/5552.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/63259.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/blog/logo/php-logo2.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-10-08</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/63259.html&quot;);" href="javascript:void(0);" alt="">01_PHP-CentOS8.2 编译安装 PHP8.1.10</a><div class="blog-slider__text">一种开源的通用计算机脚本语言</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/63259.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/16756.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/blog/logo/python-logo3.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-09-28</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/16756.html&quot;);" href="javascript:void(0);" alt="">01_Python-CSDN_环境搭建</a><div class="blog-slider__text">一种广泛使用的解释型、高级和通用的编程语言</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/16756.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/14763.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/blog/logo/django-logo2.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-09-24</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/14763.html&quot;);" href="javascript:void(0);" alt="">01_Django-介绍-项目结构-URL和视图函数</a><div class="blog-slider__text">一个开放源代码的 Web 应用框架</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/14763.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/12907.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/blog/logo/java-logo3.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-09-21</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/12907.html&quot;);" href="javascript:void(0);" alt="">01_Java-特性-jdk-运行机制-转义字符-注释-代码规范</a><div class="blog-slider__text">一种广泛使用的计算机编程语言</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/12907.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/8236.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/blog/logo/hexo-logo2.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-09-20</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/8236.html&quot;);" href="javascript:void(0);" alt="">01_Hexo-Hexo + Pure搭建博客-自定义</a><div class="blog-slider__text">一个快速、简洁且高效的博客框架</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/8236.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div><div class="blog-slider__item swiper-slide" style="width: 750px; opacity: 1; transform: translate3d(0px, 0px, 0px); transition-duration: 0ms;"><a class="blog-slider__img" onclick="pjax.loadUrl(&quot;posts/48860.html&quot;);" href="javascript:void(0);" alt=""><img class="nolazyload" width="48" height="48" src="https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/blog/logo/linux-logo2.png" alt="" onerror="this.onerror=null,this.src=&quot;/img/404.jpg&quot;"/></a><div class="blog-slider__content"><span class="blog-slider__code">2022-08-28</span><a class="blog-slider__title" onclick="pjax.loadUrl(&quot;posts/48860.html&quot;);" href="javascript:void(0);" alt="">01_Linux基础-部署-VMware-Xshell-Xftp-内核-安迪比尔定理</a><div class="blog-slider__text">一种自由和开放源码的类 UNIX 操作系统</div><a class="blog-slider__button" onclick="pjax.loadUrl(&quot;posts/48860.html&quot;);" href="javascript:void(0);" alt="">详情 </a></div></div></div><div class="blog-slider__pagination swiper-pagination-clickable swiper-pagination-bullets"></div></div><div id="random"><div id="random-banner"><canvas id="peoplecanvas"></canvas></div><a id="random-hover" style="width:100%;height:auto;" href="javascript:toRandomPost()" rel="external nofollow noreferrer" one-link-mark="yes"><i class="fa fa-paper-plane" style="margin-left:13px"></i><div style="margin-left:13px;-webkit-line-clamp: 1;overflow: hidden;-webkit-box-orient: vertical;display: -webkit-box;word-break: break-all;">随便逛逛</div><i class="fa-solid fa-arrow-right" style="margin-left:107px"></i></a></div></div>')}function whenDOMReadyHomePageSwiper(){for(var l="undefined".split(","),t=location.pathname,o=0;o<l.length;o++)t.includes(l[o])&&0;document.getElementById("mycpen1-home-first-page-tag")&&butterfly_swiper_injector_config();var a=new Swiper(".blog-slider",{passiveListeners:!0,spaceBetween:30,effect:"fade",loop:!0,autoplay:{disableOnInteraction:!0,delay:3e3},mousewheel:!0,pagination:{el:".blog-slider__pagination",clickable:!0}}),s=document.getElementById("swiper_container");null!==s&&(s.onmouseenter=function(){a.autoplay.stop()},s.onmouseleave=function(){a.autoplay.start()})}whenDOMReadyHomePageSwiper(),document.addEventListener("pjax:complete",whenDOMReadyHomePageSwiper);
package/js/people.js CHANGED
@@ -1 +1 @@
1
- "use strict";function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=new Array(r);t<r;t++)a[t]=e[t];return a}function _classCallCheck(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),e}var peoplejs_mycpen1_config={src:"https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/img/open-peeps-sheet.png",rows:15,cols:7},randomRange=function(e,r){return e+Math.random()*(r-e)},randomIndex=function(e){return 0|randomRange(0,e.length)},removeFromArray=function(e,r){return e.splice(r,1)[0]},removeItemFromArray=function(e,r){return removeFromArray(e,e.indexOf(r))},removeRandomFromArray=function(e){return removeFromArray(e,randomIndex(e))},getRandomFromArray=function(e){return e[0|randomIndex(e)]},resetPeep=function(e){var r,t,a=e.stage,n=e.peep,o=.5<Math.random()?1:-1,i=100-250*gsap.parseEase("power2.in")(Math.random()),s=a.height-n.height+i;return 1==o?(r=-n.width,t=a.width,n.scaleX=1):(r=a.width+n.width,t=0,n.scaleX=-1),n.x=r,n.y=s,{startX:r,startY:n.anchorY=s,endX:t}},normalWalk=function(e){var r=e.peep,t=e.props,a=(t.startX,t.startY),n=t.endX,o=gsap.timeline();return o.timeScale(randomRange(.5,1.5)),o.to(r,{duration:10,x:n,ease:"none"},0),o.to(r,{duration:.25,repeat:40,yoyo:!0,y:a-10},0),o},walks=[normalWalk],Peep=function(){function e(r){var t=r.image,a=r.rect;_classCallCheck(this,e),this.image=t,this.setRect(a),this.x=0,this.y=0,this.anchorY=0,this.scaleX=1,this.walk=null}return _createClass(e,[{key:"setRect",value:function(e){this.rect=e,this.width=e[2],this.height=e[3],this.drawArgs=[this.image].concat(_toConsumableArray(e),[0,0,this.width,this.height])}},{key:"render",value:function(e){e.save(),e.translate(this.x,this.y),e.scale(this.scaleX,1),e.drawImage.apply(e,_toConsumableArray(this.drawArgs)),e.restore()}}]),e}(),img=document.createElement("img");img.onload=init,img.src=peoplejs_mycpen1_config.src;let canvas=document.querySelector("#peoplecanvas"),ctx=canvas?canvas.getContext("2d"):void 0,stage={width:0,height:0},allPeeps=[],availablePeeps=[],crowd=[];function init(){canvas&&(createPeeps(),resize(),gsap.ticker.add(render),window.addEventListener("resize",resize))}function createPeeps(){for(var e=peoplejs_mycpen1_config.rows,r=peoplejs_mycpen1_config.cols,t=e*r,a=img.naturalWidth/e,n=img.naturalHeight/r,o=0;o<t;o++)allPeeps.push(new Peep({image:img,rect:[o%e*a,(o/e|0)*n,a,n]}))}function resize(){canvas&&0!=canvas.clientWidth&&(stage.width=canvas.clientWidth,stage.height=canvas.clientHeight,canvas.width=stage.width*devicePixelRatio,canvas.height=stage.height*devicePixelRatio,crowd.forEach((function(e){e.walk.kill()})),crowd.length=0,availablePeeps.length=0,availablePeeps.push.apply(availablePeeps,allPeeps),initCrowd())}function initCrowd(){for(;availablePeeps.length;)addPeepToCrowd().walk.progress(Math.random())}function addPeepToCrowd(){var e=removeRandomFromArray(availablePeeps),r=getRandomFromArray(walks)({peep:e,props:resetPeep({peep:e,stage:stage})}).eventCallback("onComplete",(function(){removePeepFromCrowd(e),addPeepToCrowd()}));return e.walk=r,crowd.push(e),crowd.sort((function(e,r){return e.anchorY-r.anchorY})),e}function removePeepFromCrowd(e){removeItemFromArray(crowd,e),availablePeeps.push(e)}function render(){canvas&&(canvas.width=canvas.width,ctx.save(),ctx.scale(devicePixelRatio,devicePixelRatio),crowd.forEach((function(e){e.render(ctx)})),ctx.restore())}document.addEventListener("pjax:success",(e=>{canvas=document.querySelector("#peoplecanvas"),ctx=canvas?canvas.getContext("2d"):void 0,window.removeEventListener("resize",resize),gsap.ticker.remove(render),setTimeout((()=>{init()}),300)}));
1
+ "use strict";function _toConsumableArray(e){return _arrayWithoutHoles(e)||_iterableToArray(e)||_unsupportedIterableToArray(e)||_nonIterableSpread()}function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _unsupportedIterableToArray(e,r){if(e){if("string"==typeof e)return _arrayLikeToArray(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?_arrayLikeToArray(e,r):void 0}}function _iterableToArray(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}function _arrayLikeToArray(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,a=new Array(r);t<r;t++)a[t]=e[t];return a}function _classCallCheck(e,r){if(!(e instanceof r))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,r){for(var t=0;t<r.length;t++){var a=r[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),e}var peoplejs_mycpen1_config={src:"https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-ejatevundp/img/open-peeps-sheet.png",rows:15,cols:7},randomRange=function(e,r){return e+Math.random()*(r-e)},randomIndex=function(e){return 0|randomRange(0,e.length)},removeFromArray=function(e,r){return e.splice(r,1)[0]},removeItemFromArray=function(e,r){return removeFromArray(e,e.indexOf(r))},removeRandomFromArray=function(e){return removeFromArray(e,randomIndex(e))},getRandomFromArray=function(e){return e[0|randomIndex(e)]},resetPeep=function(e){var r,t,a=e.stage,n=e.peep,o=.5<Math.random()?1:-1,i=100-250*gsap.parseEase("power2.in")(Math.random()),s=a.height-n.height+i;return 1==o?(r=-n.width,t=a.width,n.scaleX=1):(r=a.width+n.width,t=0,n.scaleX=-1),n.x=r,n.y=s,{startX:r,startY:n.anchorY=s,endX:t}},normalWalk=function(e){var r=e.peep,t=e.props,a=(t.startX,t.startY),n=t.endX,o=gsap.timeline();return o.timeScale(randomRange(.5,1.5)),o.to(r,{duration:10,x:n,ease:"none"},0),o.to(r,{duration:.25,repeat:40,yoyo:!0,y:a-10},0),o},walks=[normalWalk],Peep=function(){function e(r){var t=r.image,a=r.rect;_classCallCheck(this,e),this.image=t,this.setRect(a),this.x=0,this.y=0,this.anchorY=0,this.scaleX=1,this.walk=null}return _createClass(e,[{key:"setRect",value:function(e){this.rect=e,this.width=e[2],this.height=e[3],this.drawArgs=[this.image].concat(_toConsumableArray(e),[0,0,this.width,this.height])}},{key:"render",value:function(e){e.save(),e.translate(this.x,this.y),e.scale(this.scaleX,1),e.drawImage.apply(e,_toConsumableArray(this.drawArgs)),e.restore()}}]),e}(),img=document.createElement("img");img.onload=init,img.src=peoplejs_mycpen1_config.src;let canvas=document.querySelector("#peoplecanvas"),ctx=canvas?canvas.getContext("2d"):void 0,stage={width:0,height:0},allPeeps=[],availablePeeps=[],crowd=[];function init(){canvas&&(createPeeps(),resize(),gsap.ticker.add(render),window.addEventListener("resize",resize))}function createPeeps(){for(var e=peoplejs_mycpen1_config.rows,r=peoplejs_mycpen1_config.cols,t=e*r,a=img.naturalWidth/e,n=img.naturalHeight/r,o=0;o<t;o++)allPeeps.push(new Peep({image:img,rect:[o%e*a,(o/e|0)*n,a,n]}))}function resize(){canvas&&0!=canvas.clientWidth&&(stage.width=canvas.clientWidth,stage.height=canvas.clientHeight,canvas.width=stage.width*devicePixelRatio,canvas.height=stage.height*devicePixelRatio,crowd.forEach((function(e){e.walk.kill()})),crowd.length=0,availablePeeps.length=0,availablePeeps.push.apply(availablePeeps,allPeeps),initCrowd())}function initCrowd(){for(;availablePeeps.length;)addPeepToCrowd().walk.progress(Math.random())}function addPeepToCrowd(){var e=removeRandomFromArray(availablePeeps),r=getRandomFromArray(walks)({peep:e,props:resetPeep({peep:e,stage:stage})}).eventCallback("onComplete",(function(){removePeepFromCrowd(e),addPeepToCrowd()}));return e.walk=r,crowd.push(e),crowd.sort((function(e,r){return e.anchorY-r.anchorY})),e}function removePeepFromCrowd(e){removeItemFromArray(crowd,e),availablePeeps.push(e)}function render(){canvas&&(canvas.width=canvas.width,ctx.save(),ctx.scale(devicePixelRatio,devicePixelRatio),crowd.forEach((function(e){e.render(ctx)})),ctx.restore())}document.addEventListener("pjax:success",(e=>{canvas=document.querySelector("#peoplecanvas"),ctx=canvas?canvas.getContext("2d"):void 0,window.removeEventListener("resize",resize),gsap.ticker.remove(render),setTimeout((()=>{init()}),300)}));
package/js/random.js CHANGED
@@ -1 +1 @@
1
- var posts=["posts/14763.html","posts/57095.html","posts/42935.html","posts/65154.html","posts/5552.html","posts/cb0ae693.html","posts/fe8dbc73.html","posts/8236.html","posts/5162.html","posts/43907.html","posts/38874.html","posts/51a9ee30.html","posts/9b5a2768.html","posts/4c16ee73.html","posts/df249111.html","posts/27addd89.html","posts/6f7759e0.html","posts/8b765f7a.html","posts/8d01af11.html","posts/12907.html","posts/47697.html","posts/62652.html","posts/48860.html","posts/34556.html","posts/43225.html","posts/62964.html","posts/43579.html","posts/10149.html","posts/29955.html","posts/33007.html","posts/5276.html","posts/30664.html","posts/35184.html","posts/61496.html","posts/9132.html","posts/10588.html","posts/43746.html","posts/5637.html","posts/14777.html","posts/57976.html","posts/33033.html","posts/46092.html","posts/57744.html","posts/22091.html","posts/b0a8892b.html","posts/ecc378ee.html","posts/317b0311.html","posts/dd4b1092.html","posts/45562d6f.html","posts/29e2641c.html","posts/3ae7567f.html","posts/4cb758ea.html","posts/63259.html","posts/88a726.html","posts/6a2caa19.html","posts/583c5c34.html","posts/4f5c6419.html","posts/3ffec809.html","posts/b7f58a40.html","posts/cee83196.html","posts/acb8c062.html","posts/16756.html","posts/4979.html","posts/37069.html","posts/33188.html","posts/49827.html","posts/314.html","posts/46.html","posts/13683.html","posts/9186.html","posts/62975.html","posts/16589f92.html","posts/10d5063.html","posts/3e42a4ef.html","posts/beb8baf2.html","posts/285c50ae.html","posts/85a8374a.html"];function toRandomPost(){pjax.loadUrl("/"+posts[Math.floor(Math.random()*posts.length)])}
1
+ var posts=["posts/14763.html","posts/57095.html","posts/42935.html","posts/65154.html","posts/5552.html","posts/cb0ae693.html","posts/fe8dbc73.html","posts/8236.html","posts/5162.html","posts/43907.html","posts/38874.html","posts/51a9ee30.html","posts/9b5a2768.html","posts/4c16ee73.html","posts/df249111.html","posts/27addd89.html","posts/6f7759e0.html","posts/8b765f7a.html","posts/8d01af11.html","posts/12907.html","posts/47697.html","posts/62652.html","posts/48860.html","posts/34556.html","posts/43225.html","posts/62964.html","posts/43579.html","posts/10149.html","posts/29955.html","posts/33007.html","posts/5276.html","posts/30664.html","posts/35184.html","posts/61496.html","posts/9132.html","posts/10588.html","posts/43746.html","posts/5637.html","posts/14777.html","posts/57976.html","posts/33033.html","posts/46092.html","posts/57744.html","posts/22091.html","posts/b0a8892b.html","posts/ecc378ee.html","posts/317b0311.html","posts/dd4b1092.html","posts/45562d6f.html","posts/29e2641c.html","posts/3ae7567f.html","posts/4cb758ea.html","posts/88a726.html","posts/6a2caa19.html","posts/583c5c34.html","posts/4f5c6419.html","posts/3ffec809.html","posts/b7f58a40.html","posts/cee83196.html","posts/acb8c062.html","posts/63259.html","posts/4979.html","posts/16756.html","posts/37069.html","posts/33188.html","posts/49827.html","posts/314.html","posts/46.html","posts/13683.html","posts/9186.html","posts/62975.html","posts/16589f92.html","posts/10d5063.html","posts/3e42a4ef.html","posts/beb8baf2.html","posts/285c50ae.html","posts/85a8374a.html"];function toRandomPost(){pjax.loadUrl("/"+posts[Math.floor(Math.random()*posts.length)])}
package/js/tianli_gpt.js CHANGED
@@ -1 +1 @@
1
- function whenDOMReadyTianliGPT(){function t(t){!function(){const t=document.querySelector(".post-TianliGPT");t&&t.parentElement.removeChild(t)}();const n=document.querySelector(t);if(!n)return;const e=document.createElement("div");e.className="post-TianliGPT";const i=document.createElement("div");i.className="tianliGPT-title",e.appendChild(i);const o=document.createElement("i");o.className="tianliGPT-title-icon",i.appendChild(o),o.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48px" height="48px" viewBox="0 0 48 48">\n <title>机器人</title>\n <g id="&#x673A;&#x5668;&#x4EBA;" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <path d="M34.717885,5.03561087 C36.12744,5.27055371 37.079755,6.60373651 36.84481,8.0132786 L35.7944,14.3153359 L38.375,14.3153359 C43.138415,14.3153359 47,18.1768855 47,22.9402569 L47,34.4401516 C47,39.203523 43.138415,43.0650727 38.375,43.0650727 L9.625,43.0650727 C4.861585,43.0650727 1,39.203523 1,34.4401516 L1,22.9402569 C1,18.1768855 4.861585,14.3153359 9.625,14.3153359 L12.2056,14.3153359 L11.15519,8.0132786 C10.920245,6.60373651 11.87256,5.27055371 13.282115,5.03561087 C14.69167,4.80066802 16.024865,5.7529743 16.25981,7.16251639 L17.40981,14.0624532 C17.423955,14.1470924 17.43373,14.2315017 17.43948,14.3153359 L30.56052,14.3153359 C30.56627,14.2313867 30.576045,14.1470924 30.59019,14.0624532 L31.74019,7.16251639 C31.975135,5.7529743 33.30833,4.80066802 34.717885,5.03561087 Z M38.375,19.4902885 L9.625,19.4902885 C7.719565,19.4902885 6.175,21.0348394 6.175,22.9402569 L6.175,34.4401516 C6.175,36.3455692 7.719565,37.89012 9.625,37.89012 L38.375,37.89012 C40.280435,37.89012 41.825,36.3455692 41.825,34.4401516 L41.825,22.9402569 C41.825,21.0348394 40.280435,19.4902885 38.375,19.4902885 Z M14.8575,23.802749 C16.28649,23.802749 17.445,24.9612484 17.445,26.3902253 L17.445,28.6902043 C17.445,30.1191812 16.28649,31.2776806 14.8575,31.2776806 C13.42851,31.2776806 12.27,30.1191812 12.27,28.6902043 L12.27,26.3902253 C12.27,24.9612484 13.42851,23.802749 14.8575,23.802749 Z M33.1425,23.802749 C34.57149,23.802749 35.73,24.9612484 35.73,26.3902253 L35.73,28.6902043 C35.73,30.1191812 34.57149,31.2776806 33.1425,31.2776806 C31.71351,31.2776806 30.555,30.1191812 30.555,28.6902043 L30.555,26.3902253 C30.555,24.9612484 31.71351,23.802749 33.1425,23.802749 Z" id="&#x5F62;&#x72B6;&#x7ED3;&#x5408;" fill="#444444" fill-rule="nonzero"></path>\n </g>\n </svg>';const l=document.createElement("div");l.className="tianliGPT-title-text",l.textContent="文章摘要",i.appendChild(l);const a=document.createElement("div");a.className="tianliGPT-tag",a.id="tianliGPT-tag",a.textContent="TianliGPT",i.appendChild(a);const s=document.createElement("div");s.className="tianliGPT-explanation",s.innerHTML='生成中...<span class="blinking-cursor"></span>',e.appendChild(s),n.insertBefore(e,n.firstChild)}tianliGPT_postSelector="#post #article-container",tianliGPT_key_list=["6NnrHU4xKAPwwYxZr8WB","FbXpqokdh8qY61bdJEme","PKgVCDRcgwtP4X7bIBBB","OVWfZmDbf1jqsE0OXW4C","WF6NSQdXy7nBmc6BaiFo"],tianliGPT_randomIndex=Math.floor(Math.random()*tianliGPT_key_list.length),tianliGPT_key=tianliGPT_key_list[tianliGPT_randomIndex],tianliGPTIsRunning=!1,tianliGPT_postURL="*/posts/*",tianliGPT_typingAnimate=!1;var n={getTitleAndContent:function(){try{const t=document.title,n=document.querySelector(tianliGPT_postSelector);if(!n)return console.warn("TianliGPT:找不到文章容器。请尝试将引入的代码放入到文章容器之后。如果本身没有打算使用摘要功能可以忽略此提示。"),"";const e=n.getElementsByTagName("p"),i=n.querySelectorAll("h1, h2, h3, h4, h5");let o="";for(let t of i)o+=t.innerText+" ";for(let t of e){o+=t.innerText.replace(/https?:\/\/[^\s]+/g,"")}let l=1e3;"undefined"!=typeof tianliGPT_wordLimit&&(l=tianliGPT_wordLimit);return(t+" "+o).slice(0,l)}catch(t){return console.error("TianliGPT错误:可能由于一个或多个错误导致没有正常运行,原因出在获取文章容器中的内容失败,或者可能是在文章转换过程中失败。",t),""}},fetchTianliGPT:async function(t){if("blog.cpen.top"!==window.location.host)return"获取文章摘要失败,请访问 blog.cpen.top";if(!tianliGPT_key)return"没有获取到key,代码可能没有安装正确。如果你需要在tianli_gpt文件引用前定义tianliGPT_key变量。详细请查看文档。";if("5Q5mpqRK5DkwT1X9Gi5e"===tianliGPT_key)return"请购买 key 使用,如果你能看到此条内容,则说明代码安装正确。";var n=window.location.href;const e=document.title,i=`https://summary.tianli0.top/?content=${encodeURIComponent(t)}&key=${encodeURIComponent(tianliGPT_key)}&url=${encodeURIComponent(n)}&title=${encodeURIComponent(e)}`;try{const t=new AbortController,n=(setTimeout((()=>t.abort()),2e4),await fetch(i,{signal:t.signal}));if(n.ok){return(await n.json()).summary}throw 402===n.status&&document.querySelectorAll(".post-TianliGPT").forEach((t=>{t.style.display="none"})),new Error("TianliGPT:余额不足,请充值后请求新的文章")}catch(t){return"AbortError"===t.name?"localhost"===window.location.hostname?(console.warn("警告:请勿在本地主机上测试 API 密钥。"),"获取文章摘要超时。请勿在本地主机上测试 API 密钥。"):(console.error("请求超时"),"获取文章摘要超时。当你出现这个问题时,可能是key或者绑定的域名不正确。也可能是因为文章过长导致的 AI 运算量过大,你可以稍等一下然后刷新页面重试。"):(console.error("请求失败:",t),"获取文章摘要失败,请稍后再试。")}},aiShowAnimation:function(t){const n=document.querySelector(".tianliGPT-explanation");if(!n)return;if(tianliGPTIsRunning)return;if("undefined"!=typeof tianliGPT_typingAnimate&&!tianliGPT_typingAnimate)return void(n.innerHTML=t);tianliGPTIsRunning=!0;n.style.display="block",n.innerHTML='生成中...<span class="blinking-cursor"></span>';let e=!0,i=0,o=performance.now();const l=()=>{if(i<t.length&&e){const e=performance.now(),s=e-o,r=t.slice(i,i+1);s>=(/[,。!、?,.!?]/.test(r)?150:25)&&(n.innerText=t.slice(0,i+1),o=e,i++,i<t.length?n.innerHTML=t.slice(0,i)+'<span class="blinking-cursor"></span>':(n.innerHTML=t,n.style.display="block",tianliGPTIsRunning=!1,a.disconnect())),requestAnimationFrame(l)}},a=new IntersectionObserver((t=>{let n=t[0].isIntersecting;e=n,e&&setTimeout((()=>{requestAnimationFrame(l)}),200)}),{threshold:0});let s=document.querySelector(".post-TianliGPT");a.observe(s)}};function e(){t(tianliGPT_postSelector);const e=n.getTitleAndContent();postUrlIsContained=null,tianligptJsonData&&(postHref=window.location.href,postRegex=/\/+posts\/+([\w-]+)(\.html)?/,postMatch=postHref.match(postRegex),postFilteredValue=postMatch?postMatch[1]:null,postUrl="https://blog.cpen.top/posts/"+postFilteredValue+".html",postUrlIsContained=postsUrls.includes(postUrl)),postUrlIsContained?(postMatchedSummary=tianligptJsonData.summaries.find((t=>t.url===postUrl)),postSummary=postMatchedSummary.summary,n.aiShowAnimation(postSummary)):n.fetchTianliGPT(e).then((t=>{n.aiShowAnimation(t)}))}!function(){if("undefined"!=typeof tianliGPT_postURL)try{const t=t=>new RegExp("^"+t.split(/\*+/).map(n).join(".*")+"$"),n=t=>t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"),i=t(tianliGPT_postURL),o=window.location.href;i.test(o)&&e()}catch(t){console.error("TianliGPT:我没有看懂你编写的自定义链接规则,所以我决定不执行摘要功能",t)}else e()}()}if(xhr=new XMLHttpRequest,xhr.open("GET","https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-eiumagcrho/json/tianli_gpt.json",!1),xhr.send(),200===xhr.status)try{tianligptJsonData=JSON.parse(xhr.responseText),postsUrls=tianligptJsonData.summaries.map((t=>t.url))}catch(t){console.error("解析JSON数据出错:",t),tianligptJsonData=null}else console.error("加载文件失败:",xhr.statusText),tianligptJsonData=null;whenDOMReadyTianliGPT(),document.addEventListener("pjax:complete",whenDOMReadyTianliGPT);
1
+ function whenDOMReadyTianliGPT(){function t(t){!function(){const t=document.querySelector(".post-TianliGPT");t&&t.parentElement.removeChild(t)}();const n=document.querySelector(t);if(!n)return;const e=document.createElement("div");e.className="post-TianliGPT";const i=document.createElement("div");i.className="tianliGPT-title",e.appendChild(i);const o=document.createElement("i");o.className="tianliGPT-title-icon",i.appendChild(o),o.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="48px" height="48px" viewBox="0 0 48 48">\n <title>机器人</title>\n <g id="&#x673A;&#x5668;&#x4EBA;" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <path d="M34.717885,5.03561087 C36.12744,5.27055371 37.079755,6.60373651 36.84481,8.0132786 L35.7944,14.3153359 L38.375,14.3153359 C43.138415,14.3153359 47,18.1768855 47,22.9402569 L47,34.4401516 C47,39.203523 43.138415,43.0650727 38.375,43.0650727 L9.625,43.0650727 C4.861585,43.0650727 1,39.203523 1,34.4401516 L1,22.9402569 C1,18.1768855 4.861585,14.3153359 9.625,14.3153359 L12.2056,14.3153359 L11.15519,8.0132786 C10.920245,6.60373651 11.87256,5.27055371 13.282115,5.03561087 C14.69167,4.80066802 16.024865,5.7529743 16.25981,7.16251639 L17.40981,14.0624532 C17.423955,14.1470924 17.43373,14.2315017 17.43948,14.3153359 L30.56052,14.3153359 C30.56627,14.2313867 30.576045,14.1470924 30.59019,14.0624532 L31.74019,7.16251639 C31.975135,5.7529743 33.30833,4.80066802 34.717885,5.03561087 Z M38.375,19.4902885 L9.625,19.4902885 C7.719565,19.4902885 6.175,21.0348394 6.175,22.9402569 L6.175,34.4401516 C6.175,36.3455692 7.719565,37.89012 9.625,37.89012 L38.375,37.89012 C40.280435,37.89012 41.825,36.3455692 41.825,34.4401516 L41.825,22.9402569 C41.825,21.0348394 40.280435,19.4902885 38.375,19.4902885 Z M14.8575,23.802749 C16.28649,23.802749 17.445,24.9612484 17.445,26.3902253 L17.445,28.6902043 C17.445,30.1191812 16.28649,31.2776806 14.8575,31.2776806 C13.42851,31.2776806 12.27,30.1191812 12.27,28.6902043 L12.27,26.3902253 C12.27,24.9612484 13.42851,23.802749 14.8575,23.802749 Z M33.1425,23.802749 C34.57149,23.802749 35.73,24.9612484 35.73,26.3902253 L35.73,28.6902043 C35.73,30.1191812 34.57149,31.2776806 33.1425,31.2776806 C31.71351,31.2776806 30.555,30.1191812 30.555,28.6902043 L30.555,26.3902253 C30.555,24.9612484 31.71351,23.802749 33.1425,23.802749 Z" id="&#x5F62;&#x72B6;&#x7ED3;&#x5408;" fill="#444444" fill-rule="nonzero"></path>\n </g>\n </svg>';const l=document.createElement("div");l.className="tianliGPT-title-text",l.textContent="文章摘要",i.appendChild(l);const a=document.createElement("div");a.className="tianliGPT-tag",a.id="tianliGPT-tag",a.textContent="TianliGPT",i.appendChild(a);const s=document.createElement("div");s.className="tianliGPT-explanation",s.innerHTML='生成中...<span class="blinking-cursor"></span>',e.appendChild(s),n.insertBefore(e,n.firstChild)}tianliGPT_postSelector="#post #article-container",tianliGPT_key_list=["6NnrHU4xKAPwwYxZr8WB","FbXpqokdh8qY61bdJEme","PKgVCDRcgwtP4X7bIBBB","OVWfZmDbf1jqsE0OXW4C","WF6NSQdXy7nBmc6BaiFo"],tianliGPT_randomIndex=Math.floor(Math.random()*tianliGPT_key_list.length),tianliGPT_key=tianliGPT_key_list[tianliGPT_randomIndex],tianliGPTIsRunning=!1,tianliGPT_postURL="*/posts/*",tianliGPT_typingAnimate=!1;var n={getTitleAndContent:function(){try{const t=document.title,n=document.querySelector(tianliGPT_postSelector);if(!n)return console.warn("TianliGPT:找不到文章容器。请尝试将引入的代码放入到文章容器之后。如果本身没有打算使用摘要功能可以忽略此提示。"),"";const e=n.getElementsByTagName("p"),i=n.querySelectorAll("h1, h2, h3, h4, h5");let o="";for(let t of i)o+=t.innerText+" ";for(let t of e){o+=t.innerText.replace(/https?:\/\/[^\s]+/g,"")}let l=1e3;"undefined"!=typeof tianliGPT_wordLimit&&(l=tianliGPT_wordLimit);return(t+" "+o).slice(0,l)}catch(t){return console.error("TianliGPT错误:可能由于一个或多个错误导致没有正常运行,原因出在获取文章容器中的内容失败,或者可能是在文章转换过程中失败。",t),""}},fetchTianliGPT:async function(t){if("blog.cpen.top"!==window.location.host)return"获取文章摘要失败,请访问 blog.cpen.top";if(!tianliGPT_key)return"没有获取到key,代码可能没有安装正确。如果你需要在tianli_gpt文件引用前定义tianliGPT_key变量。详细请查看文档。";if("5Q5mpqRK5DkwT1X9Gi5e"===tianliGPT_key)return"请购买 key 使用,如果你能看到此条内容,则说明代码安装正确。";var n=window.location.href;const e=document.title,i=`https://summary.tianli0.top/?content=${encodeURIComponent(t)}&key=${encodeURIComponent(tianliGPT_key)}&url=${encodeURIComponent(n)}&title=${encodeURIComponent(e)}`;try{const t=new AbortController,n=(setTimeout((()=>t.abort()),2e4),await fetch(i,{signal:t.signal}));if(n.ok){return(await n.json()).summary}throw 402===n.status&&document.querySelectorAll(".post-TianliGPT").forEach((t=>{t.style.display="none"})),new Error("TianliGPT:余额不足,请充值后请求新的文章")}catch(t){return"AbortError"===t.name?"localhost"===window.location.hostname?(console.warn("警告:请勿在本地主机上测试 API 密钥。"),"获取文章摘要超时。请勿在本地主机上测试 API 密钥。"):(console.error("请求超时"),"获取文章摘要超时。当你出现这个问题时,可能是key或者绑定的域名不正确。也可能是因为文章过长导致的 AI 运算量过大,你可以稍等一下然后刷新页面重试。"):(console.error("请求失败:",t),"获取文章摘要失败,请稍后再试。")}},aiShowAnimation:function(t){const n=document.querySelector(".tianliGPT-explanation");if(!n)return;if(tianliGPTIsRunning)return;if("undefined"!=typeof tianliGPT_typingAnimate&&!tianliGPT_typingAnimate)return void(n.innerHTML=t);tianliGPTIsRunning=!0;n.style.display="block",n.innerHTML='生成中...<span class="blinking-cursor"></span>';let e=!0,i=0,o=performance.now();const l=()=>{if(i<t.length&&e){const e=performance.now(),s=e-o,r=t.slice(i,i+1);s>=(/[,。!、?,.!?]/.test(r)?150:25)&&(n.innerText=t.slice(0,i+1),o=e,i++,i<t.length?n.innerHTML=t.slice(0,i)+'<span class="blinking-cursor"></span>':(n.innerHTML=t,n.style.display="block",tianliGPTIsRunning=!1,a.disconnect())),requestAnimationFrame(l)}},a=new IntersectionObserver((t=>{let n=t[0].isIntersecting;e=n,e&&setTimeout((()=>{requestAnimationFrame(l)}),200)}),{threshold:0});let s=document.querySelector(".post-TianliGPT");a.observe(s)}};function e(){t(tianliGPT_postSelector);const e=n.getTitleAndContent();postUrlIsContained=null,tianligptJsonData&&(postHref=window.location.href,postRegex=/\/+posts\/+([\w-]+)(\.html)?/,postMatch=postHref.match(postRegex),postFilteredValue=postMatch?postMatch[1]:null,postUrl="https://blog.cpen.top/posts/"+postFilteredValue+".html",postUrlIsContained=postsUrls.includes(postUrl)),postUrlIsContained?(postMatchedSummary=tianligptJsonData.summaries.find((t=>t.url===postUrl)),postSummary=postMatchedSummary.summary,n.aiShowAnimation(postSummary)):n.fetchTianliGPT(e).then((t=>{n.aiShowAnimation(t)}))}!function(){if("undefined"!=typeof tianliGPT_postURL)try{const t=t=>new RegExp("^"+t.split(/\*+/).map(n).join(".*")+"$"),n=t=>t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"),i=t(tianliGPT_postURL),o=window.location.href;i.test(o)&&e()}catch(t){console.error("TianliGPT:我没有看懂你编写的自定义链接规则,所以我决定不执行摘要功能",t)}else e()}()}if(xhr=new XMLHttpRequest,xhr.open("GET","https://cdn.jsdmirror.com/npm/mycpen-blog@0.0.0-ejatevundp/json/tianli_gpt.json",!1),xhr.send(),200===xhr.status)try{tianligptJsonData=JSON.parse(xhr.responseText),postsUrls=tianligptJsonData.summaries.map((t=>t.url))}catch(t){console.error("解析JSON数据出错:",t),tianligptJsonData=null}else console.error("加载文件失败:",xhr.statusText),tianligptJsonData=null;whenDOMReadyTianliGPT(),document.addEventListener("pjax:complete",whenDOMReadyTianliGPT);
package/json/friend.json CHANGED
@@ -1 +1 @@
1
- {"friends":[["Hexo","https://hexo.io/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201009938.png"],["Butterfly","https://butterfly.js.org/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201010102.jpg"],["Pure","https://github.com/cofess/hexo-theme-pure","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201011928.png","https://rsshub.rongrongbq.moe/github/issue/cofess/hexo-theme-pure"],["WebStack","https://github.com/HCLonely/hexo-theme-webstack","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201012608.png","https://rsshub.rongrongbq.moe/github/issue/HCLonely/hexo-theme-webstack"],["Mycpen","https://blog.cpen.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/blog/link/cpen.top/avatar.jpg","https://dlvr.cpen.top/gh/mycpen/blog/atom.xml"],["CrazyWong","https://blog.crazywong.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202304251906870.jpg"],["Cofess","https://blog.cofess.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201013706.jpg"],["HCLonely","https://blog.hclonely.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201014463.jpg"],["落羽日记","https://www.junluoyu.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201014019.jpg"],["安知鱼`Blog","https://blog.anheyu.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306111555379.jpg"],["Ethan.Tzy","https://fe32.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305191736687.jpg"],["Akilarの糖果屋","https://akilar.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201015484.jpg"],["张洪Heo","https://blog.zhheo.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201016505.jpg"],["MJ's Blog","https://blog.justlovesmile.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201017936.jpg"],["Eurkon","https://blog.eurkon.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201018884.jpg"],["七鳄の学习格","https://blog.gmcj0816.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201019269.jpg"],["Guo Le's Blog","https://blog.guole.fun/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306021533632.jpg"],["小康博客","https://www.antmoe.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201020960.jpg"],["Harris’s Blog","https://blog.harriswong.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201020065.jpg"],["轻笑Chuckle","https://www.qcqx.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202304251908666.jpg"],["Ariasakaの小窝","https://yisous.xyz","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202304251910419.jpg"],["iMaeGoo’s Blog","https://www.imaegoo.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201021812.jpg"],["Leonus","https://blog.leonus.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307031140714.jpg"],["Xhofe's Blog","https://blog.nn.ci/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306070010662.png"],["枫叶","https://blog.aqcoder.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404011225506.jpg"],["SeerSu","https://seersu.me","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201022530.jpg"],["不知鱼","https://www.buzhiyu.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201023944.jpg"],["Jayhrn","https://blog.lvhrn.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202312180009155.jpg"],["Echo’s blog","https://www.liveout.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202304251911393.jpg"],["方糖","https://www.iftft.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202304211051756.png"],["Fomalhaut🥝","https://www.fomal.cc/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201023444.jpg"],["鹿啵包の小窝","https://pochacco.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201026443.jpg"],["CC康纳百川","https://blog.ccknbc.cc","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201027717.jpg"],["Black Flies","https://www.yyyzyyyz.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201028401.jpg"],["刺客导航","https://www.cike.cc","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201028344.png"],["百里飞洋の博客","https://blog.meta-code.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201029757.jpg"],["Sulv’s Blog","https://www.sulvblog.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201030406.jpg"],["兼一书虫","https://study.hycbook.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307021053900.jpg"],["Menter博客","https://www.lcoo.cc/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305132319555.jpg"],["西瓜撞地球","https://www.bio-w.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305041339673.png","https://www.bio-w.cn/feed/"],["米粒个人博客","https://luomengguo.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305230049162.jpg"],["张时贰","https://zhsher.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305251222031.jpg"],["努力搬砖的小易","http://xiaoyiblog.fun","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201033189.jpg"],["山岳库博","https://kmar.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305041357760.png"],["呆鱼","https://daiyu.fun/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307052019321.png"],["小华同学927のBlog","https://blog.xiaohua927.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201034087.jpg"],["HAOの小破站","https://haobk.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201035207.jpg"],["8:9社区","https://www.8b9.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201035743.jpg"],["夜法之书的Blog","https://blog.17lai.site","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201036485.png"],["醉里","https://202271.xyz","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201037612.png"],["P3ter’s Blog","https://p3ter.me/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201039492.jpg"],["小城故事","https://webxc.eu.org","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201039471.jpg"],["Luckys-Yangの小栈","https://mdcm.yang5201314.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201040921.jpg"],["小飞博客","https://www.xffjs.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202303201132682.png"],["博客录(boke.lu)","https://boke.lu","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202304201713295.png"],["阮一峰的网络日志","https://www.ruanyifeng.com/blog/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305050741914.jpg","https://www.ruanyifeng.com/blog/atom.xml"],["LoungeXi","https://loungexi.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305112217641.jpg"],["美团技术团队","https://tech.meituan.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305140124461.jpg"],["铭心石刻","https://blog.kouseki.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305290945339.png"],["DQY&WYの小窝","https://www.dqywy.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306111824984.png"],["REAI","https://blogcn.ml/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307021049622.png"],["别亦难","https://lazyingman.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307032128087.jpg"],["酷酷哒の窝","https://kukuda.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307081616075.png"],["哒哒啦","https://www.dadala.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307081549682.png"],["Cisyam","https://manamn.space/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307162027958.jpg"],["Mhare","http://www.mingzib.xyz/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307281356502.jpg"],["博友圈","https://www.boyouquan.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202309051712736.png"],["寒烟志","https://yanyuplus.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202309210002167.jpg"],["Liyanwen","https://www.liyanwen.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202311011807066.jpg"],["xiaoger","https://xiaoger.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202311032144498.jpg"],["Naokuo","https://www.naokuo.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202401141905341.png"],["Pzai","https://blog.pzai.cloud/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202402121641883.jpg"],["sam🌸小窝","https://xx.6669998.xyz/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202402190044705.jpg"],["Joker2Yue","https://blog.joker2yue.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404252221931.jpg"],["鹿斯白","https://space.bilibili.com/26439953","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202403291031897.jpg","https://rsshub.rongrongbq.moe/bilibili/user/dynamic/26439953/directLink=1"],["hexo-theme-butterfly","https://github.com/jerryc127/hexo-theme-butterfly","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202403291358054.png","https://rsshub.rongrongbq.moe/github/issue/jerryc127/hexo-theme-butterfly"],["保罗的小宇宙","https://paugram.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202403311116798.jpg","https://paugram.com/feed/"],["大大的小蜗牛","https://www.eallion.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202403311119198.jpg","https://www.eallion.com/index.xml"],["小嘉的部落格","https://blog.imzjw.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404230455480.jpg","https://blog.imzjw.cn/atom.xml"],["June's Blog","https://blog.june-pj.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404230512611.jpg"],["且听书吟","https://yufan.me/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404272323938.jpg"],["Efu","https://www.efu.me","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202405031326980.jpg"],["鴻塵","https://hwame.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201042517.jpg","https://hwame.top/atom.xml"],["小冰博客","https://zfe.space/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202310081008837.jpg"],["贰猹的小窝","https://noionion.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201044283.jpg"],["云游君","https://www.yunyoujun.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201044983.jpg"],["Nick Xu","https://nickxu.me/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202310021840691.jpg"],["One star","https://blog.onestarg.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202401141926444.jpg"],["Shine","https://blog.shineyu.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201045068.jpg"],["Andreo Y.","https://andreoy.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305040724836.jpg"],["Hsu Yeung 的博客","https://www.hsuyeung.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305050747874.jpg"],["宇阳","https://liuyuyang.net/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305050907621.png","https://liuyuyang.net/index.php/feed/"],["赵阿卷","https://blog.zwying.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305050917381.jpg"],["SkyWT","https://blog.skywt.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305051146703.png"],["ZigZagK的博客","https://zigzagk.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305051319774.png"],["熊孝兵","https://wispx.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305071317272.png"],["oldwu","https://blog.oldwu.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305071522346.jpg"],["廖雪峰的官方网站","https://www.liaoxuefeng.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305101231501.png"],["流年轻迹","https://www.olive-r.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202403291126553.jpg"],["丘卡饮品店","https://blog.zerolacqua.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305132225372.jpg"],["CWorld’s Blog","https://blog.cworld.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305132235743.jpg"],["喵喵小窝","https://blog.kifuan.me/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305151112704.jpg"],["Felix Chen","https://blog.snowflake.zone/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305151138396.jpg"],["超逸の博客","https://yangchaoyi.vip/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307071535672.jpg"],["ConstOwn","https://blog.juanertu.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305251233002.jpg"],["Spencer Woo","https://spencerwoo.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305302140600.png"],["This Cute World","https://thiscute.world/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306021050969.jpg"],["爱吃肉的猫","https://meuicat.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306021053529.jpg"],["新一","https://a-wing.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306021140088.png","https://a-wing.top/feed.xml"],["苏易困","https://www.yichkhun.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306021155398.png"],["彧曦博客","https://yuxiko.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307021537473.jpg"],["朱某的小窝","https://blog.zhuxu.xyz/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202310051816873.jpg"],["ThinkTV的博客","https://www.lizhiqiangblog.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307060834912.png"],["青灯暮雨","https://www.blatr.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307071338758.jpg"],["秋的第367天","https://blog.lyneee.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307071950589.jpg"],["Rootlex","https://blog.nalex.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307072314280.jpg"],["CyanFalse's Weblog","https://blog.eurekac.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202403080008646.jpg"],["Mare_Infinitus","https://lab.imgb.space","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307100115640.png"],["Ray's Blog","https://blog.mk1.io","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307102129743.jpg"],["青桔气球","https://blog.qjqq.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202310110203625.jpg"],["鹰瑶の Blog","https://www.ayao.ltd","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202312201439063.jpg"],["BeaCox","https://blog.beacox.space/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202312301458021.jpg"],["神奇的妙妙屋","https://blog.ttiee.tech/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202312301508754.jpg"],["Cascade","https://cascade.moe/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202312301515262.jpg"],["默烦","https://mofan212.github.io/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202312301520195.jpg"],["FloatSheep","https://blog.hesiy.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202401011800996.jpg","https://blog.hesiy.cn/index.xml"],["jsdelivr镜像站","https://cdn.jsdmirror.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202403101309349.jpg"],["空巷","https://www.kxyr.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202403131446126.jpg"],["無名小栈","https://blog.imsyy.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202403250710063.jpg"],["廿壴博客","https://blog.ganxb2.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202403260713347.jpg"],["清羽飞扬","https://blog.qyliu.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202403260844811.png"],["GTC","https://gtcblog.js.cool","hhttps://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201046808.jpg"],["Cartafi","https://www.startly.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305151650653.png"],["小稚","https://coimo.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202403310855009.jpg"],["小染笔记","https://xrss.cc","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305051403527.png"],["可可托海没有海","https://darmau.design/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202403250525927.jpg"],["三水的个人博客","https://sanshui.vip/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202310021818745.jpg"],["Tianli","https://tianli-blog.club","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-wyanuxvrxi/image/202404201046903.png"],["MAKE / MUSIC","https://www.makemusic.sg/blog/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306011407429.jpg"]]}
1
+ {"friends":[["Hexo","https://hexo.io/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201009938.png"],["Butterfly","https://butterfly.js.org/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201010102.jpg"],["Pure","https://github.com/cofess/hexo-theme-pure","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201011928.png","https://rsshub.rongrongbq.moe/github/issue/cofess/hexo-theme-pure"],["WebStack","https://github.com/HCLonely/hexo-theme-webstack","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201012608.png","https://rsshub.rongrongbq.moe/github/issue/HCLonely/hexo-theme-webstack"],["Mycpen","https://blog.cpen.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/blog/link/cpen.top/avatar.jpg","https://dlvr.cpen.top/gh/mycpen/blog/atom.xml"],["CrazyWong","https://blog.crazywong.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202304251906870.jpg"],["Cofess","https://blog.cofess.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201013706.jpg"],["HCLonely","https://blog.hclonely.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201014463.jpg"],["落羽日记","https://www.junluoyu.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201014019.jpg"],["安知鱼`Blog","https://blog.anheyu.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306111555379.jpg"],["Ethan.Tzy","https://fe32.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305191736687.jpg"],["Akilarの糖果屋","https://akilar.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201015484.jpg"],["张洪Heo","https://blog.zhheo.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201016505.jpg"],["MJ's Blog","https://blog.justlovesmile.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201017936.jpg"],["Eurkon","https://blog.eurkon.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201018884.jpg"],["七鳄の学习格","https://blog.gmcj0816.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201019269.jpg"],["Guo Le's Blog","https://blog.guole.fun/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306021533632.jpg"],["小康博客","https://www.antmoe.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201020960.jpg"],["Harris’s Blog","https://blog.harriswong.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201020065.jpg"],["轻笑Chuckle","https://www.qcqx.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202304251908666.jpg"],["Ariasakaの小窝","https://yisous.xyz","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202304251910419.jpg"],["iMaeGoo’s Blog","https://www.imaegoo.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201021812.jpg"],["Leonus","https://blog.leonus.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307031140714.jpg"],["Xhofe's Blog","https://blog.nn.ci/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306070010662.png"],["枫叶","https://blog.aqcoder.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404011225506.jpg"],["SeerSu","https://seersu.me","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201022530.jpg"],["不知鱼","https://www.buzhiyu.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201023944.jpg"],["Jayhrn","https://blog.lvhrn.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202312180009155.jpg"],["Echo’s blog","https://www.liveout.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202304251911393.jpg"],["方糖","https://www.iftft.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202304211051756.png"],["Fomalhaut🥝","https://www.fomal.cc/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201023444.jpg"],["鹿啵包の小窝","https://pochacco.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201026443.jpg"],["CC康纳百川","https://blog.ccknbc.cc","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201027717.jpg"],["Black Flies","https://www.yyyzyyyz.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201028401.jpg"],["刺客导航","https://www.cike.cc","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201028344.png"],["百里飞洋の博客","https://blog.meta-code.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201029757.jpg"],["Sulv’s Blog","https://www.sulvblog.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201030406.jpg"],["兼一书虫","https://study.hycbook.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307021053900.jpg"],["Menter博客","https://www.lcoo.cc/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305132319555.jpg"],["西瓜撞地球","https://www.bio-w.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305041339673.png","https://www.bio-w.cn/feed/"],["米粒个人博客","https://luomengguo.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305230049162.jpg"],["张时贰","https://zhsher.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305251222031.jpg"],["努力搬砖的小易","http://xiaoyiblog.fun","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201033189.jpg"],["山岳库博","https://kmar.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305041357760.png"],["呆鱼","https://daiyu.fun/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307052019321.png"],["小华同学927のBlog","https://blog.xiaohua927.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201034087.jpg"],["HAOの小破站","https://haobk.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201035207.jpg"],["8:9社区","https://www.8b9.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201035743.jpg"],["夜法之书的Blog","https://blog.17lai.site","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201036485.png"],["醉里","https://202271.xyz","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201037612.png"],["P3ter’s Blog","https://p3ter.me/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201039492.jpg"],["小城故事","https://webxc.eu.org","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201039471.jpg"],["Luckys-Yangの小栈","https://mdcm.yang5201314.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201040921.jpg"],["小飞博客","https://www.xffjs.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202303201132682.png"],["博客录(boke.lu)","https://boke.lu","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202304201713295.png"],["阮一峰的网络日志","https://www.ruanyifeng.com/blog/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305050741914.jpg","https://www.ruanyifeng.com/blog/atom.xml"],["LoungeXi","https://loungexi.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305112217641.jpg"],["美团技术团队","https://tech.meituan.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305140124461.jpg"],["铭心石刻","https://blog.kouseki.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305290945339.png"],["DQY&WYの小窝","https://www.dqywy.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306111824984.png"],["REAI","https://blogcn.ml/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307021049622.png"],["别亦难","https://lazyingman.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307032128087.jpg"],["酷酷哒の窝","https://kukuda.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307081616075.png"],["哒哒啦","https://www.dadala.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307081549682.png"],["Cisyam","https://manamn.space/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307162027958.jpg"],["Mhare","http://www.mingzib.xyz/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307281356502.jpg"],["博友圈","https://www.boyouquan.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202309051712736.png"],["寒烟志","https://yanyuplus.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202309210002167.jpg"],["Liyanwen","https://www.liyanwen.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202311011807066.jpg"],["xiaoger","https://xiaoger.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202311032144498.jpg"],["Naokuo","https://www.naokuo.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202401141905341.png"],["Pzai","https://blog.pzai.cloud/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202402121641883.jpg"],["sam🌸小窝","https://xx.6669998.xyz/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202402190044705.jpg"],["Joker2Yue","https://blog.joker2yue.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404252221931.jpg"],["鹿斯白","https://space.bilibili.com/26439953","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202403291031897.jpg","https://rsshub.rongrongbq.moe/bilibili/user/dynamic/26439953/directLink=1"],["hexo-theme-butterfly","https://github.com/jerryc127/hexo-theme-butterfly","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202403291358054.png","https://rsshub.rongrongbq.moe/github/issue/jerryc127/hexo-theme-butterfly"],["保罗的小宇宙","https://paugram.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202403311116798.jpg","https://paugram.com/feed/"],["大大的小蜗牛","https://www.eallion.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202403311119198.jpg","https://www.eallion.com/index.xml"],["小嘉的部落格","https://blog.imzjw.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404230455480.jpg","https://blog.imzjw.cn/atom.xml"],["June's Blog","https://blog.june-pj.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404230512611.jpg"],["且听书吟","https://yufan.me/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404272323938.jpg"],["Efu","https://www.efu.me","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202405031326980.jpg"],["鴻塵","https://hwame.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201042517.jpg","https://hwame.top/atom.xml"],["小冰博客","https://zfe.space/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202310081008837.jpg"],["贰猹的小窝","https://noionion.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201044283.jpg"],["云游君","https://www.yunyoujun.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201044983.jpg"],["Nick Xu","https://nickxu.me/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202310021840691.jpg"],["One star","https://blog.onestarg.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202401141926444.jpg"],["Shine","https://blog.shineyu.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201045068.jpg"],["Andreo Y.","https://andreoy.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305040724836.jpg"],["Hsu Yeung 的博客","https://www.hsuyeung.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305050747874.jpg"],["宇阳","https://liuyuyang.net/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305050907621.png","https://liuyuyang.net/index.php/feed/"],["赵阿卷","https://blog.zwying.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305050917381.jpg"],["SkyWT","https://blog.skywt.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305051146703.png"],["ZigZagK的博客","https://zigzagk.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305051319774.png"],["熊孝兵","https://wispx.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305071317272.png"],["oldwu","https://blog.oldwu.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305071522346.jpg"],["廖雪峰的官方网站","https://www.liaoxuefeng.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305101231501.png"],["流年轻迹","https://www.olive-r.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202403291126553.jpg"],["丘卡饮品店","https://blog.zerolacqua.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305132225372.jpg"],["CWorld’s Blog","https://blog.cworld.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305132235743.jpg"],["喵喵小窝","https://blog.kifuan.me/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305151112704.jpg"],["Felix Chen","https://blog.snowflake.zone/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305151138396.jpg"],["超逸の博客","https://yangchaoyi.vip/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307071535672.jpg"],["ConstOwn","https://blog.juanertu.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305251233002.jpg"],["Spencer Woo","https://spencerwoo.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305302140600.png"],["This Cute World","https://thiscute.world/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306021050969.jpg"],["爱吃肉的猫","https://meuicat.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306021053529.jpg"],["新一","https://a-wing.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306021140088.png","https://a-wing.top/feed.xml"],["苏易困","https://www.yichkhun.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306021155398.png"],["彧曦博客","https://yuxiko.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307021537473.jpg"],["朱某的小窝","https://blog.zhuxu.xyz/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202310051816873.jpg"],["ThinkTV的博客","https://www.lizhiqiangblog.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307060834912.png"],["青灯暮雨","https://www.blatr.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307071338758.jpg"],["秋的第367天","https://blog.lyneee.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307071950589.jpg"],["Rootlex","https://blog.nalex.top","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307072314280.jpg"],["CyanFalse's Weblog","https://blog.eurekac.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202403080008646.jpg"],["Mare_Infinitus","https://lab.imgb.space","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307100115640.png"],["Ray's Blog","https://blog.mk1.io","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202307102129743.jpg"],["青桔气球","https://blog.qjqq.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202310110203625.jpg"],["鹰瑶の Blog","https://www.ayao.ltd","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202312201439063.jpg"],["BeaCox","https://blog.beacox.space/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202312301458021.jpg"],["神奇的妙妙屋","https://blog.ttiee.tech/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202312301508754.jpg"],["Cascade","https://cascade.moe/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202312301515262.jpg"],["默烦","https://mofan212.github.io/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202312301520195.jpg"],["FloatSheep","https://blog.hesiy.cn","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202401011800996.jpg","https://blog.hesiy.cn/index.xml"],["jsdelivr镜像站","https://cdn.jsdmirror.com","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202403101309349.jpg"],["空巷","https://www.kxyr.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202403131446126.jpg"],["無名小栈","https://blog.imsyy.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202403250710063.jpg"],["廿壴博客","https://blog.ganxb2.com/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202403260713347.jpg"],["清羽飞扬","https://blog.qyliu.top/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202403260844811.png"],["GTC","https://gtcblog.js.cool","hhttps://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201046808.jpg"],["Cartafi","https://www.startly.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305151650653.png"],["小稚","https://coimo.cn/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202403310855009.jpg"],["小染笔记","https://xrss.cc","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202305051403527.png"],["可可托海没有海","https://darmau.design/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202403250525927.jpg"],["三水的个人博客","https://sanshui.vip/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202310021818745.jpg"],["Tianli","https://tianli-blog.club","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-fibtfvadgv/image/202404201046903.png"],["MAKE / MUSIC","https://www.makemusic.sg/blog/","https://cdn.jsdmirror.com/npm/mycpen-image-bed@0.0.0-2023/image/202306011407429.jpg"]]}