mycpen-blog 0.0.0-wkbvbkfufl → 0.0.0-wlucboffkr

Sign up to get free protection for your applications and to get access to all the features.
package/js/main.js CHANGED
@@ -1 +1 @@
1
- document.addEventListener("DOMContentLoaded",(function(){let e,t,n=!1;const o=n=>{const o=e=>Array.from(e).reduce(((e,t)=>e+t.offsetWidth),0);if(n){const n=o(document.querySelector("#blog-info > a").children),s=o(document.getElementById("menus").children);e=n+s,t=document.getElementById("nav")}const s=window.innerWidth<=768||e>t.offsetWidth-120;t.classList.toggle("hide-menu",s)},s=()=>{btf.sidebarPaddingR(),document.body.style.overflow="hidden",btf.animateIn(document.getElementById("menu-mask"),"to_show 0.5s"),document.getElementById("sidebar-menus").classList.add("open"),n=!0},i=()=>{const e=document.body;e.style.overflow="",e.style.paddingRight="",btf.animateOut(document.getElementById("menu-mask"),"to_hide 0.5s"),document.getElementById("sidebar-menus").classList.remove("open"),n=!1},c=()=>{const e=GLOBAL_CONFIG.highlight;if(!e)return;const{highlightCopy:t,highlightLang:n,highlightHeightLimit:o,plugin:s}=e,i=GLOBAL_CONFIG_SITE.isHighlightShrink,c=t||n||void 0!==i,a="highlight.js"===s?document.querySelectorAll("figure.highlight"):document.querySelectorAll('pre[class*="language-"]');if(!c&&!o||!a.length)return;const l="prismjs"===s,d=!0===i?"closed":"",r=void 0!==i?'<i class="fas fa-angle-down expand"></i>':"",u=t?'<div class="copy-notice"></div><i class="fas fa-paste copy-button"></i>':"",m=(e,t)=>{if(void 0!==GLOBAL_CONFIG.Snackbar)btf.snackbarShow(t);else{const n=e.previousElementSibling;n.textContent=t,n.style.opacity=1,setTimeout((()=>{n.style.opacity=0}),800)}},g=e=>{const t=e.parentNode;t.classList.add("copy-true");const n=window.getSelection(),o=document.createRange(),s=l?"pre code":"table .code pre";var i;o.selectNodeContents(t.querySelectorAll(`${s}`)[0]),n.removeAllRanges(),n.addRange(o),i=e.lastChild,document.queryCommandSupported&&document.queryCommandSupported("copy")?(document.execCommand("copy"),m(i,GLOBAL_CONFIG.copy.success)):m(i,GLOBAL_CONFIG.copy.noSupport),n.removeAllRanges(),t.classList.remove("copy-true")},h=function(e){const t=e.target.classList;t.contains("expand")?this.classList.toggle("closed"):t.contains("copy-button")&&g(this)},f=function(){this.classList.toggle("expand-done")},L=(e,t,n)=>{const s=document.createDocumentFragment();if(c){const t=document.createElement("div");t.className=`highlight-tools ${d}`,t.innerHTML=r+e+u,btf.addEventListenerPjax(t,"click",h),s.appendChild(t)}if(o&&t.offsetHeight>o+30){const e=document.createElement("div");e.className="code-expand-btn",e.innerHTML='<i class="fas fa-angle-double-down"></i>',btf.addEventListenerPjax(e,"click",f),s.appendChild(e)}"hl"===n?t.insertBefore(s,t.firstChild):t.parentNode.insertBefore(s,t)};l?a.forEach((e=>{if(n){const t=`<div class="code-lang">${e.getAttribute("data-language")||"Code"}</div>`;btf.wrap(e,"figure",{class:"highlight"}),L(t,e)}else btf.wrap(e,"figure",{class:"highlight"}),L("",e)})):a.forEach((e=>{if(n){let t=e.getAttribute("class").split(" ")[1];"plain"!==t&&void 0!==t||(t="Code");L(`<div class="code-lang">${t}</div>`,e,"hl")}else L("",e,"hl")}))},a=async e=>{const t=await fetch(e);return await t.json()},l=(e,t,n=!1,o)=>{const s=t.length,i=new InfiniteGrid.JustifiedInfiniteGrid(e,{gap:5,isConstantSize:!0,sizeRange:[150,600],useResizeObserver:!0,observeChildren:!0,useTransform:!0});o&&btf.addGlobalFn("igOfTabs",(()=>{i.destroy()}),!1,o);const c=e=>e.replace(/"/g,"&quot;"),a=GLOBAL_CONFIG.infinitegrid.buttonText,l=(e,n)=>{i.append(((e,n)=>{const o=[],i=(e-1)*n;for(let e=0;e<n;++e){const n=i+e;if(n>=s)break;const a=t[n],l=a.alt?`alt="${c(a.alt)}"`:"",d=a.title?`title="${c(a.title)}"`:"";o.push(`<div class="item ">\n <img src="${a.url}" data-grid-maintained-target="true" ${l+d} />\n </div>`)}return o})(e,n),e)},d=Math.ceil(s/10),r=t=>{const{updated:o,isResize:s,mounted:c}=t;if(o.length&&c.length&&!s){if(btf.loadLightbox(e.querySelectorAll("img:not(.medium-zoom-image)")),i.getGroups().length===d)return btf.setLoading.remove(e),void i.off("renderComplete",r);n&&(btf.setLoading.remove(e),(e=>{const t=document.createElement("button");t.textContent=a;const n=t=>{t.target.removeEventListener("click",n),t.target.remove(),btf.setLoading.add(e),l(i.getGroups().length+1,10)};t.addEventListener("click",n),e.insertAdjacentElement("afterend",t)})(e))}},u=btf.debounce((e=>{const t=(+e.groupKey||0)+1;l(t,10),t===d&&i.off("requestAppend",u)}),300);btf.setLoading.add(e),i.on("renderComplete",r),n?l(1,10):(i.on("requestAppend",u),i.renderItems()),btf.addGlobalFn("justifiedGallery",(()=>{i.destroy()}))},d=async(e,t=!1)=>{const n=async()=>{for(const n of e){if(btf.isHidden(n))continue;if(t&&n.classList.contains("loaded")){n.querySelector(".gallery-items").innerHTML="";const e=n.querySelector(":scope > button"),t=n.querySelector(":scope > .loading-container");e&&e.remove(),t&&t.remove()}const e="true"===n.getAttribute("data-button"),o=n.firstElementChild.textContent;n.classList.add("loaded");const s="url"===n.getAttribute("data-type")?await a(o):JSON.parse(o);l(n.lastElementChild,s,e,t)}};"function"==typeof InfiniteGrid||await getScript(`${GLOBAL_CONFIG.infinitegrid.js}`),n()},r=()=>{const e=document.getElementById("rightside"),t=window.innerHeight+56;let n=0;const o=document.getElementById("page-header"),s="undefined"!=typeof chatBtn,i=GLOBAL_CONFIG.percent.rightside;if(document.body.scrollHeight<=t)return void e.classList.add("rightside-show");let c="";const a=btf.throttle((()=>{const a=window.scrollY||document.documentElement.scrollTop,l=(e=>{const t=e>n;return n=e,t})(a);a>56?(o.classList.add("is-top-bar"),""===c&&(o.classList.add("nav-fixed"),e.classList.add("rightside-show")),l?"down"!==c&&(o.classList.remove("nav-visible"),s&&window.chatBtn.hide(),c="down"):"up"!==c&&(o.classList.add("nav-visible"),s&&window.chatBtn.show(),c="up")):(c="",0===a&&(o.classList.remove("is-top-bar"),o.classList.remove("nav-fixed","nav-visible")),e.classList.remove("rightside-show")),i&&(e=>{const t=btf.getScrollPercent(e,document.body),n=document.getElementById("go-up");t<95?(n.classList.add("show-percent"),n.querySelector(".scroll-percent").textContent=t):n.classList.remove("show-percent")})(a),document.body.scrollHeight<=t&&e.classList.add("rightside-show")}),50);btf.addEventListenerPjax(window,"scroll",a,{passive:!0})},u=()=>{const e=GLOBAL_CONFIG_SITE.isToc,t=GLOBAL_CONFIG.isAnchor,n=document.getElementById("article-container");if(!n||!e&&!t)return;let o,s,i,c,a;if(e){const e=document.getElementById("card-toc");s=e.querySelector(".toc-content"),o=s.querySelectorAll(".toc-link"),c=e.querySelector(".toc-percentage"),a=s.classList.contains("is-expand");const t=t=>{const n=t.target.closest(".toc-link");n&&(t.preventDefault(),btf.scrollToDest(btf.getEleTop(document.getElementById(decodeURI(n.getAttribute("href")).replace("#",""))),300),window.innerWidth<900&&e.classList.remove("open"))};btf.addEventListenerPjax(s,"click",t),i=e=>{const t=e.getBoundingClientRect().top,n=s.scrollTop;t>document.documentElement.clientHeight-100&&(s.scrollTop=n+150),t<100&&(s.scrollTop=n-150)}}const l=n.querySelectorAll("h1,h2,h3,h4,h5,h6");let d="";const r=btf.throttle((()=>{const r=window.scrollY||document.documentElement.scrollTop;e&&GLOBAL_CONFIG.percent.toc&&(c.textContent=btf.getScrollPercent(r,n)),(n=>{if(0===n)return!1;let c="",r="";if(l.forEach(((e,t)=>{if(n>btf.getEleTop(e)-80){const n=e.id;c=n?"#"+encodeURI(n):"",r=t}})),d!==r&&(t&&btf.updateAnchor(c),d=r,e)){if(s.querySelectorAll(".active").forEach((e=>{e.classList.remove("active")})),""===c)return;const e=o[r];if(e.classList.add("active"),setTimeout((()=>{i(e)}),0),a)return;let t=e.parentNode;for(;!t.matches(".toc");t=t.parentNode)t.matches("li")&&t.classList.add("active")}})(r)}),50);btf.addEventListenerPjax(window,"scroll",r,{passive:!0})},m=e=>{const t=(window.globalFn||{}).themeChange||{};t&&Object.keys(t).forEach((n=>{const o=t[n];["disqus","disqusjs"].includes(n)?setTimeout((()=>o(e)),300):o(e)}))},g={readmode:()=>{const e=document.body;e.classList.add("read-mode");const t=document.createElement("button");t.type="button",t.className="fas fa-sign-out-alt exit-readmode",e.appendChild(t);const n=()=>{e.classList.remove("read-mode"),t.remove(),t.removeEventListener("click",n)};t.addEventListener("click",n)},darkmode:()=>{const e="dark"===document.documentElement.getAttribute("data-theme")?"light":"dark";"dark"===e?(activateDarkMode(),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.day_to_night)):(activateLightMode(),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day)),saveToLocal.set("theme",e,2),m(e)},"rightside-config":e=>{const t=e.firstElementChild;t.classList.contains("show")&&(t.classList.add("status"),setTimeout((()=>{t.classList.remove("status")}),300)),t.classList.toggle("show")},"go-up":()=>{btf.scrollToDest(0,500)},"hide-aside-btn":()=>{const e=document.documentElement.classList,t=e.contains("hide-aside")?"show":"hide";saveToLocal.set("aside-status",t,2),e.toggle("hide-aside")},"mobile-toc-button":e=>{const t=document.getElementById("card-toc");t.style.transition="transform 0.3s ease-in-out",t.classList.toggle("open"),t.addEventListener("transitionend",(()=>{t.style.transition=""}),{once:!0})},"chat-btn":()=>{window.chatBtnFn()},translateLink:()=>{window.translateFn.translatePage()}};document.getElementById("rightside").addEventListener("click",(function(e){const t=e.target.closest("[id]");t&&g[t.id]&&g[t.id](this)}));const h=()=>{const e=document.querySelectorAll("#article-container .hide-button");if(!e.length)return;const t=function(e){this.classList.add("open");const t=this.nextElementSibling.querySelectorAll(".gallery-container");t.length&&d(t)};e.forEach((e=>{e.addEventListener("click",t,{once:!0})}))},f=()=>{const e=document.querySelectorAll("#article-container .tabs");if(!e.length)return;const t=(e,t)=>{Array.from(e).forEach((e=>{e.classList.remove("active"),e!==t&&e.id!==t||e.classList.add("active")}))},n=(e,n)=>{btf.addEventListenerPjax(e.firstElementChild,"click",(function(e){const o=e.target.closest("button");if(o.classList.contains("active"))return;t(this.children,o),this.classList.remove("no-default");const s=o.getAttribute("data-href"),i=this.nextElementSibling;if(t(i.children,s),n){btf.removeGlobalFnEvent("igOfTabs",this);const e=i.querySelectorAll(`:scope > #${s} .gallery-container`);e.length&&d(e,this)}}))};e.forEach((e=>{const t=!!e.querySelectorAll(".gallery-container");n(e,t),(e=>{btf.addEventListenerPjax(e.lastElementChild,"click",(t=>{t.target.closest("button")&&btf.scrollToDest(btf.getEleTop(e),300)}))})(e)}))},L=function(e){e.forEach((e=>{const t=e.getAttribute("datetime");e.textContent=btf.diffDate(t,!0),e.style.display="inline"}))};window.refreshFn=function(){o(!0),t.classList.add("show"),GLOBAL_CONFIG_SITE.isPost?(void 0!==GLOBAL_CONFIG.noticeOutdate&&(()=>{const{limitDay:e,messagePrev:t,messageNext:n,position:o}=GLOBAL_CONFIG.noticeOutdate,s=btf.diffDate(GLOBAL_CONFIG_SITE.postUpdate);if(s>=e){const e=document.createElement("div");e.className="post-outdate-notice",e.textContent=`${t} ${s} ${n}`;const i=document.getElementById("article-container");"top"===o?i.insertBefore(e,i.firstChild):i.appendChild(e)}})(),GLOBAL_CONFIG.relativeDate.post&&L(document.querySelectorAll("#post-meta time"))):(GLOBAL_CONFIG.relativeDate.homepage&&L(document.querySelectorAll("#recent-posts time")),GLOBAL_CONFIG.runtime&&(()=>{const e=document.getElementById("runtimeshow");if(e){const t=e.getAttribute("data-publishDate");e.textContent=`${btf.diffDate(t)} ${GLOBAL_CONFIG.runtime}`}})(),(()=>{const e=document.getElementById("last-push-date");if(e){const t=e.getAttribute("data-lastPushDate");e.textContent=btf.diffDate(t,!0)}})(),(()=>{const e=document.querySelector("#aside-cat-list.expandBtn");if(!e)return;btf.addEventListenerPjax(e,"click",(e=>{const t=e.target;"I"===t.nodeName&&(e.preventDefault(),t.parentNode.classList.toggle("expand"))}),!0)})()),u(),GLOBAL_CONFIG_SITE.isHome&&(()=>{const e=document.getElementById("scroll-down");e&&btf.addEventListenerPjax(e,"click",(()=>{btf.scrollToDest(document.getElementById("content-inner").offsetTop,300)}))})(),c(),GLOBAL_CONFIG.isPhotoFigcaption&&document.querySelectorAll("#article-container img").forEach((e=>{const t=e.title||e.alt;if(!t)return;const n=document.createElement("div");n.className="img-alt is-center",n.textContent=t,e.insertAdjacentElement("afterend",n)})),r(),btf.removeGlobalFnEvent("justifiedGallery");const e=document.querySelectorAll("#article-container .gallery-container");e.length&&d(e),btf.loadLightbox(document.querySelectorAll("#article-container img:not(.no-lightbox)")),(()=>{const e=document.querySelectorAll("#article-container table");e.length&&e.forEach((e=>{e.closest(".highlight")||btf.wrap(e,"div",{class:"table-wrap"})}))})(),h(),f(),(()=>{const e=document.getElementById("switch-btn");if(!e)return;let t=!1;const n=document.getElementById("post-comment");btf.addEventListenerPjax(e,"click",(()=>{n.classList.toggle("move"),t||"function"!=typeof loadOtherComment||(t=!0,loadOtherComment())}))})(),btf.addEventListenerPjax(document.getElementById("toggle-menu"),"click",(()=>{s()}))},refreshFn(),window.addEventListener("resize",(()=>{o(!1),n&&btf.isHidden(document.getElementById("toggle-menu"))&&i()})),document.getElementById("menu-mask").addEventListener("click",(e=>{i()})),document.querySelector("#sidebar-menus .menus_items").addEventListener("click",(e=>{const t=e.target.closest(".site-page.group");t&&t.classList.toggle("hide")})),GLOBAL_CONFIG.islazyload&&(window.lazyLoadInstance=new LazyLoad({elements_selector:"img",threshold:0,data_src:"lazy-src"})),void 0!==GLOBAL_CONFIG.copyright&&(()=>{const{limitCount:e,languages:t}=GLOBAL_CONFIG.copyright;document.body.addEventListener("copy",(n=>{n.preventDefault();const o=window.getSelection(0).toString();let s=o;return o.length>e&&(s=`${o}\n\n\n${t.author}\n${t.link}${window.location.href}\n${t.source}\n${t.info}`),n.clipboardData?n.clipboardData.setData("text",s):window.clipboardData.setData("text",s)}))})(),GLOBAL_CONFIG.autoDarkmode&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>{void 0===saveToLocal.get("theme")&&(e.matches?m("dark"):m("light"))}))}));
1
+ document.addEventListener("DOMContentLoaded",(function(){let e,t,n=!1;const o=n=>{const o=e=>Array.from(e).reduce(((e,t)=>e+t.offsetWidth),0);if(n){const n=o(document.querySelector("#blog-info > a").children),s=o(document.getElementById("menus").children);e=n+s,t=document.getElementById("nav")}const s=window.innerWidth<=768||e>t.offsetWidth-120;t.classList.toggle("hide-menu",s)},s=()=>{btf.sidebarPaddingR(),document.body.style.overflow="hidden",btf.animateIn(document.getElementById("menu-mask"),"to_show 0.5s"),document.getElementById("sidebar-menus").classList.add("open"),n=!0},i=()=>{const e=document.body;e.style.overflow="",e.style.paddingRight="",btf.animateOut(document.getElementById("menu-mask"),"to_hide 0.5s"),document.getElementById("sidebar-menus").classList.remove("open"),n=!1},c=()=>{const e=GLOBAL_CONFIG.highlight;if(!e)return;const{highlightCopy:t,highlightLang:n,highlightHeightLimit:o,plugin:s}=e,i=GLOBAL_CONFIG_SITE.isHighlightShrink,c=t||n||void 0!==i,a="highlight.js"===s?document.querySelectorAll("figure.highlight"):document.querySelectorAll('pre[class*="language-"]');if(!c&&!o||!a.length)return;const l="prismjs"===s,d=!0===i?"closed":"",r=void 0!==i?'<i class="fas fa-angle-down expand"></i>':"",u=t?'<div class="copy-notice"></div><i class="fas fa-paste copy-button"></i>':"",m=(e,t)=>{if(void 0!==GLOBAL_CONFIG.Snackbar)btf.snackbarShow(t);else{const n=e.previousElementSibling;n.textContent=t,n.style.opacity=1,setTimeout((()=>{n.style.opacity=0}),800)}},g=e=>{const t=e.parentNode;t.classList.add("copy-true");const n=window.getSelection(),o=document.createRange(),s=l?"pre code":"table .code pre";var i;o.selectNodeContents(t.querySelectorAll(`${s}`)[0]),n.removeAllRanges(),n.addRange(o),i=e.lastChild,document.queryCommandSupported&&document.queryCommandSupported("copy")?(document.execCommand("copy"),m(i,GLOBAL_CONFIG.copy.success)):m(i,GLOBAL_CONFIG.copy.noSupport),n.removeAllRanges(),t.classList.remove("copy-true")},h=function(e){const t=e.target.classList;t.contains("expand")?this.classList.toggle("closed"):t.contains("copy-button")&&g(this)},f=function(){this.classList.toggle("expand-done")},L=(e,t,n)=>{const s=document.createDocumentFragment();if(c){const t=document.createElement("div");t.className=`highlight-tools ${d}`,t.innerHTML=r+e+u,btf.addEventListenerPjax(t,"click",h),s.appendChild(t)}if(o&&t.offsetHeight>o+30){const e=document.createElement("div");e.className="code-expand-btn",e.innerHTML='<i class="fas fa-angle-double-down"></i>',btf.addEventListenerPjax(e,"click",f),s.appendChild(e)}"hl"===n?t.insertBefore(s,t.firstChild):t.parentNode.insertBefore(s,t)};l?a.forEach((e=>{if(n){const t=`<div class="code-lang">${e.getAttribute("data-language")||"Code"}</div>`;btf.wrap(e,"figure",{class:"highlight"}),L(t,e)}else btf.wrap(e,"figure",{class:"highlight"}),L("",e)})):a.forEach((e=>{if(n){let t=e.getAttribute("class").split(" ")[1];"plain"!==t&&void 0!==t||(t="Code");L(`<div class="code-lang">${t}</div>`,e,"hl")}else L("",e,"hl")}))},a=async e=>{const t=await fetch(e);return await t.json()},l=(e,t,n=!1,o)=>{const s=t.length,i=new InfiniteGrid.JustifiedInfiniteGrid(e,{gap:5,isConstantSize:!0,sizeRange:[150,600],useResizeObserver:!0,observeChildren:!0,useTransform:!0});o&&btf.addGlobalFn("igOfTabs",(()=>{i.destroy()}),!1,o);const c=e=>e.replace(/"/g,"&quot;"),a=GLOBAL_CONFIG.infinitegrid.buttonText,l=(e,n)=>{i.append(((e,n)=>{const o=[],i=(e-1)*n;for(let e=0;e<n;++e){const n=i+e;if(n>=s)break;const a=t[n],l=a.alt?`alt="${c(a.alt)}"`:"",d=a.title?`title="${c(a.title)}"`:"";o.push(`<div class="item ">\n <img src="${a.url}" data-grid-maintained-target="true" ${l+d} />\n </div>`)}return o})(e,n),e)},d=Math.ceil(s/10),r=t=>{const{updated:o,isResize:s,mounted:c}=t;if(o.length&&c.length&&!s){if(btf.loadLightbox(e.querySelectorAll("img:not(.medium-zoom-image)")),i.getGroups().length===d)return btf.setLoading.remove(e),void i.off("renderComplete",r);n&&(btf.setLoading.remove(e),(e=>{const t=document.createElement("button");t.textContent=a;const n=t=>{t.target.removeEventListener("click",n),t.target.remove(),btf.setLoading.add(e),l(i.getGroups().length+1,10)};t.addEventListener("click",n),e.insertAdjacentElement("afterend",t)})(e))}},u=btf.debounce((e=>{const t=(+e.groupKey||0)+1;l(t,10),t===d&&i.off("requestAppend",u)}),300);btf.setLoading.add(e),i.on("renderComplete",r),n?l(1,10):(i.on("requestAppend",u),i.renderItems()),btf.addGlobalFn("justifiedGallery",(()=>{i.destroy()}))},d=async(e,t=!1)=>{const n=async()=>{for(const n of e){if(btf.isHidden(n))continue;if(t&&n.classList.contains("loaded")){n.querySelector(".gallery-items").innerHTML="";const e=n.querySelector(":scope > button"),t=n.querySelector(":scope > .loading-container");e&&e.remove(),t&&t.remove()}const e="true"===n.getAttribute("data-button"),o=n.firstElementChild.textContent;n.classList.add("loaded");const s="url"===n.getAttribute("data-type")?await a(o):JSON.parse(o);l(n.lastElementChild,s,e,t)}};"function"==typeof InfiniteGrid||await getScript(`${GLOBAL_CONFIG.infinitegrid.js}`),n()},r=()=>{const e=document.getElementById("rightside"),t=window.innerHeight+56;let n=0;const o=document.getElementById("page-header"),s="undefined"!=typeof chatBtn,i=GLOBAL_CONFIG.percent.rightside;if(document.body.scrollHeight<=t)return void e.classList.add("rightside-show");let c="";const a=btf.throttle((()=>{const a=window.scrollY||document.documentElement.scrollTop,l=(e=>{const t=e>n;return n=e,t})(a);a>56?(o.classList.add("is-top-bar"),""===c&&(o.classList.add("nav-fixed"),e.classList.add("rightside-show")),l?"down"!==c&&(o.classList.remove("nav-visible"),s&&window.chatBtn.hide(),c="down"):"up"!==c&&(o.classList.add("nav-visible"),s&&window.chatBtn.show(),c="up")):(c="",0===a&&(o.classList.remove("is-top-bar"),o.classList.remove("nav-fixed","nav-visible")),e.classList.remove("rightside-show")),i&&(e=>{const t=btf.getScrollPercent(e,document.body),n=document.getElementById("go-up");t<95?(n.classList.add("show-percent"),n.querySelector(".scroll-percent").textContent=t):n.classList.remove("show-percent")})(a),document.body.scrollHeight<=t&&e.classList.add("rightside-show")}),50);btf.addEventListenerPjax(window,"scroll",a,{passive:!0})},u=()=>{const e=GLOBAL_CONFIG_SITE.isToc,t=GLOBAL_CONFIG.isAnchor,n=document.getElementById("article-container");if(!n||!e&&!t)return;let o,s,i,c,a;if(e){const e=document.getElementById("card-toc");s=e.querySelector(".toc-content"),o=s.querySelectorAll(".toc-link"),c=e.querySelector(".toc-percentage"),a=s.classList.contains("is-expand");const t=t=>{const n=t.target.closest(".toc-link");n&&(t.preventDefault(),btf.scrollToDest(btf.getEleTop(document.getElementById(decodeURI(n.getAttribute("href")).replace("#",""))),300),window.innerWidth<900&&e.classList.remove("open"))};btf.addEventListenerPjax(s,"click",t),i=e=>{const t=e.getBoundingClientRect().top,n=s.scrollTop;t>document.documentElement.clientHeight-100&&(s.scrollTop=n+150),t<100&&(s.scrollTop=n-150)}}const l=n.querySelectorAll("h1,h2,h3,h4,h5,h6");let d="";const r=btf.throttle((()=>{const r=window.scrollY||document.documentElement.scrollTop;e&&GLOBAL_CONFIG.percent.toc&&(c.textContent=btf.getScrollPercent(r,n)),(n=>{if(0===n)return!1;let c="",r="";if(l.forEach(((e,t)=>{if(n>btf.getEleTop(e)-80){const n=e.id;c=n?"#"+encodeURI(n):"",r=t}})),d!==r&&(t&&btf.updateAnchor(c),d=r,e)){if(s.querySelectorAll(".active").forEach((e=>{e.classList.remove("active")})),""===c)return;const e=o[r];if(e.classList.add("active"),setTimeout((()=>{i(e)}),0),a)return;let t=e.parentNode;for(;!t.matches(".toc");t=t.parentNode)t.matches("li")&&t.classList.add("active")}})(r)}),50);btf.addEventListenerPjax(window,"scroll",r,{passive:!0})},m=e=>{const t=(window.globalFn||{}).themeChange||{};t&&Object.keys(t).forEach((n=>{const o=t[n];["disqus","disqusjs"].includes(n)?setTimeout((()=>o(e)),300):o(e)}))},g={readmode:()=>{const e=document.body;e.classList.add("read-mode");const t=document.createElement("button");t.type="button",t.className="fas fa-sign-out-alt exit-readmode",e.appendChild(t);const n=()=>{e.classList.remove("read-mode"),t.remove(),t.removeEventListener("click",n)};t.addEventListener("click",n)},darkmode:()=>{const e="dark"===document.documentElement.getAttribute("data-theme")?"light":"dark";"dark"===e?(activateDarkMode(),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.day_to_night)):(activateLightMode(),void 0!==GLOBAL_CONFIG.Snackbar&&btf.snackbarShow(GLOBAL_CONFIG.Snackbar.night_to_day)),saveToLocal.set("theme",e,2),m(e)},"rightside-config":e=>{const t=e.firstElementChild;t.classList.contains("show")&&(t.classList.add("status"),setTimeout((()=>{t.classList.remove("status")}),300)),t.classList.toggle("show")},"go-up":()=>{btf.scrollToDest(0,500)},"hide-aside-btn":()=>{const e=document.documentElement.classList,t=e.contains("hide-aside")?"show":"hide";saveToLocal.set("aside-status",t,2),e.toggle("hide-aside")},"mobile-toc-button":e=>{const t=document.getElementById("card-toc");t.style.transition="transform 0.3s ease-in-out",t.classList.toggle("open"),t.addEventListener("transitionend",(()=>{t.style.transition=""}),{once:!0})},"chat-btn":()=>{window.chatBtnFn()},translateLink:()=>{window.translateFn.translatePage()}};document.getElementById("rightside").addEventListener("click",(function(e){const t=e.target.closest("[id]");t&&g[t.id]&&g[t.id](this)}));const h=()=>{const e=document.querySelectorAll("#article-container .hide-button");if(!e.length)return;const t=function(e){this.classList.add("open");const t=this.nextElementSibling.querySelectorAll(".gallery-container");t.length&&d(t)};e.forEach((e=>{e.addEventListener("click",t,{once:!0})}))},f=()=>{const e=document.querySelectorAll("#article-container .tabs");if(!e.length)return;const t=(e,t)=>{Array.from(e).forEach((e=>{e.classList.remove("active"),e!==t&&e.id!==t||e.classList.add("active")}))},n=(e,n)=>{btf.addEventListenerPjax(e.firstElementChild,"click",(function(e){const o=e.target.closest("button");if(o.classList.contains("active"))return;t(this.children,o),this.classList.remove("no-default");const s=o.getAttribute("data-href"),i=this.nextElementSibling;if(t(i.children,s),n){btf.removeGlobalFnEvent("igOfTabs",this);const e=i.querySelectorAll(`:scope > #${s} .gallery-container`);e.length&&d(e,this)}}))};e.forEach((e=>{const t=!!e.querySelectorAll(".gallery-container");n(e,t),(e=>{btf.addEventListenerPjax(e.lastElementChild,"click",(t=>{t.target.closest("button")&&btf.scrollToDest(btf.getEleTop(e),300)}))})(e)}))},L=function(e){e.forEach((e=>{const t=e.getAttribute("datetime");e.textContent=btf.diffDate(t,!0),e.style.display="inline"}))};window.refreshFn=function(){o(!0),t.classList.add("show"),GLOBAL_CONFIG_SITE.isPost?(void 0!==GLOBAL_CONFIG.noticeOutdate&&(()=>{const{limitDay:e,messagePrev:t,messageNext:n,position:o}=GLOBAL_CONFIG.noticeOutdate,s=btf.diffDate(GLOBAL_CONFIG_SITE.postUpdate);if(s>=e){const e=document.createElement("div");e.className="post-outdate-notice",e.textContent=`${t} ${s} ${n}`;const i=document.getElementById("article-container");"top"===o?i.insertBefore(e,i.firstChild):i.appendChild(e)}})(),GLOBAL_CONFIG.relativeDate.post&&L(document.querySelectorAll("#post-meta time"))):(GLOBAL_CONFIG.relativeDate.homepage&&L(document.querySelectorAll("#recent-posts time")),GLOBAL_CONFIG.runtime&&(()=>{const e=document.getElementById("runtimeshow");if(e){const t=e.getAttribute("data-publishDate");e.textContent=`${btf.diffDate(t)} ${GLOBAL_CONFIG.runtime}`}const t=document.getElementById("runtimeshow_sidebar");if(t){const e=t.getAttribute("data-publishDate");t.textContent=`${btf.diffDate(e)} ${GLOBAL_CONFIG.runtime}`}})(),(()=>{const e=document.getElementById("last-push-date");if(e){const t=e.getAttribute("data-lastPushDate");e.textContent=btf.diffDate(t,!0)}})(),(()=>{const e=document.querySelector("#aside-cat-list.expandBtn");if(!e)return;btf.addEventListenerPjax(e,"click",(e=>{const t=e.target;"I"===t.nodeName&&(e.preventDefault(),t.parentNode.classList.toggle("expand"))}),!0)})()),u(),GLOBAL_CONFIG_SITE.isHome&&(()=>{const e=document.getElementById("scroll-down");e&&btf.addEventListenerPjax(e,"click",(()=>{btf.scrollToDest(document.getElementById("content-inner").offsetTop,300)}))})(),c(),GLOBAL_CONFIG.isPhotoFigcaption&&document.querySelectorAll("#article-container img").forEach((e=>{const t=e.title||e.alt;if(!t)return;const n=document.createElement("div");n.className="img-alt is-center",n.textContent=t,e.insertAdjacentElement("afterend",n)})),r(),btf.removeGlobalFnEvent("justifiedGallery");const e=document.querySelectorAll("#article-container .gallery-container");e.length&&d(e),btf.loadLightbox(document.querySelectorAll("#article-container img:not(.no-lightbox)")),(()=>{const e=document.querySelectorAll("#article-container table");e.length&&e.forEach((e=>{e.closest(".highlight")||btf.wrap(e,"div",{class:"table-wrap"})}))})(),h(),f(),(()=>{const e=document.getElementById("switch-btn");if(!e)return;let t=!1;const n=document.getElementById("post-comment");btf.addEventListenerPjax(e,"click",(()=>{n.classList.toggle("move"),t||"function"!=typeof loadOtherComment||(t=!0,loadOtherComment())}))})(),btf.addEventListenerPjax(document.getElementById("toggle-menu"),"click",(()=>{s()}))},refreshFn(),window.addEventListener("resize",(()=>{o(!1),n&&btf.isHidden(document.getElementById("toggle-menu"))&&i()})),document.getElementById("menu-mask").addEventListener("click",(e=>{i()})),document.querySelector("#sidebar-menus .menus_items").addEventListener("click",(e=>{const t=e.target.closest(".site-page.group");t&&t.classList.toggle("hide")})),GLOBAL_CONFIG.islazyload&&(window.lazyLoadInstance=new LazyLoad({elements_selector:"img",threshold:0,data_src:"lazy-src"})),void 0!==GLOBAL_CONFIG.copyright&&(()=>{const{limitCount:e,languages:t}=GLOBAL_CONFIG.copyright;document.body.addEventListener("copy",(n=>{n.preventDefault();const o=window.getSelection(0).toString();let s=o;return o.length>e&&(s=`${o}\n\n\n${t.author}\n${t.link}${window.location.href}\n${t.source}\n${t.info}`),n.clipboardData?n.clipboardData.setData("text",s):window.clipboardData.setData("text",s)}))})(),GLOBAL_CONFIG.autoDarkmode&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(e=>{void 0===saveToLocal.get("theme")&&(e.matches?m("dark"):m("light"))}))}));
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.cbd.int/mycpen-blog@0.0.0-wkbvbkfufl/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.cbd.int/mycpen-blog@0.0.0-wlucboffkr/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/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/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/47697.html","posts/12907.html","posts/8d01af11.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/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 +1 @@
1
- "use strict";var _0x5a4337=_0x2473;function _0x2473(a,t){var o=_0x1e51();return(_0x2473=function(a,t){return o[a-=131]})(a,t)}!function(a,t){for(var o=_0x2473,n=_0x1e51();;)try{if(636115===parseInt(o(218))/1*(-parseInt(o(202))/2)+-parseInt(o(222))/3+parseInt(o(181))/4*(-parseInt(o(159))/5)+-parseInt(o(213))/6*(parseInt(o(232))/7)+parseInt(o(146))/8+-parseInt(o(177))/9+parseInt(o(207))/10)break;n.push(n.shift())}catch(a){n.push(n.shift())}}();var frdata={apiurl:_0x5a4337(201),defaultFish:100,hungryFish:100};if(_0x5a4337(143)!=typeof frdataUser)for(var key in frdataUser)frdataUser[key]&&(frdata[key]=frdataUser[key]);var randomPostTimes=0,randomPostWorking=!1,randomPostTips=["钓到了绝世好文!",_0x5a4337(151),_0x5a4337(193),_0x5a4337(228),_0x5a4337(131),"在路边闲逛的时候随手买了一个",_0x5a4337(200),"你的同桌无情的从你的语文书中撕下了那篇你最喜欢的","考古学家近日发现了",_0x5a4337(210),_0x5a4337(132),"徒弟修炼走火入魔,为师立刻掏出了","在大山中唱山歌,隔壁的阿妹跑来了,带着","隔壁家的孩子数学考了满分,都是因为看了",_0x5a4337(185),"小米研发了全新一代MIX手机,据说灵感",_0x5a4337(231),_0x5a4337(229),_0x5a4337(206),"师傅说练武要先炼心,然后让我好生研读","科考队在南极大陆发现了被冰封的",_0x5a4337(169),"历史上满写的仁义道德四个字,透过字缝里却全是",_0x5a4337(176),_0x5a4337(223),_0x5a4337(235),_0x5a4337(138),"唐僧揭开了佛祖压在五指山上的","科学家发现能够解决衰老的秘密,就是每日研读","英特尔发布了全新的至强处理器,其芯片的制造原理都是",_0x5a4337(220),"今年亩产突破了八千万斤,多亏了",_0x5a4337(219),_0x5a4337(167),"上卫生间没带纸,直接提裤跑路也不愿意玷污手中",_0x5a4337(217),"三十年河东,三十年河西,莫欺我没有看过",_0x5a4337(156),"今日双色球中了两千万,预测全靠",_0x5a4337(211),_0x5a4337(171),_0x5a4337(191),_0x5a4337(178),"今日被一篇文章顶上了微博热搜,它是",_0x5a4337(199),"UZI一个走A拿下五杀,在事后采访时说他当时回想起了",_0x5a4337(140),_0x5a4337(189),_0x5a4337(190),_0x5a4337(183),_0x5a4337(204),"玄天境重要的是锻体,为师赠你此书,好好修炼去吧,这是","上百祖境高手在天威湖大战三天三夜为了抢夺",_0x5a4337(152),"庆氏三千年根基差点竟被你小子毁于一旦,能够被我拯救全是因为我看了",_0x5a4337(187),_0x5a4337(215),_0x5a4337(170),_0x5a4337(173),_0x5a4337(238),_0x5a4337(237),_0x5a4337(203),_0x5a4337(153),"我真的栓Q了,我真的会谢如果你看",_0x5a4337(180),_0x5a4337(234),_0x5a4337(186),_0x5a4337(160),_0x5a4337(144),_0x5a4337(174),_0x5a4337(147),"哇!金色传说!你抽到了金色传说文章,它是",_0x5a4337(184),"芷莲姑娘大摆擂台,谁若是能读完此书,便可娶了她。然后从背后掏出了",_0x5a4337(163),_0x5a4337(197),"纳兰嫣然掏出了退婚书,可是发现出门带错了,结果拿出了一本",_0x5a4337(166),_0x5a4337(212),_0x5a4337(196)],randomPostClick=0;function fetchRandomPost(){var a,t,o,n,r=_0x5a4337;document.getElementById(r(194))&&(0==randomPostWorking&&document[r(179)](r(195))&&(randomPostWorking=!0,a=randomPostTips[Math[r(216)](Math[r(149)]()*randomPostTips.length)],"",t=1e4<randomPostTimes?r(157):1e3<randomPostTimes?"俯览天下":1e3<randomPostTimes?"超越神了":100<randomPostTimes?r(141):75<randomPostTimes?"钓鱼王者":50<randomPostTimes?"钓鱼宗师":20<randomPostTimes?r(158):5<randomPostTimes?"钓鱼高手":r(188),document.getElementById("random-post").innerHTML=5<=randomPostTimes?r(161)+randomPostTimes+r(134)+t+")":r(162),o=randomNum(1e3,3e3),0==randomPostTimes&&(o=0),document.querySelector(".random-post-start").style[r(230)]=r(154),randomPostClick*frdata[r(168)]+frdata[r(221)]<randomPostTimes&&0==Math[r(165)](Math[r(149)]())?document[r(179)](r(195))[r(155)]="因为只钓鱼不吃鱼,过分饥饿导致本次钓鱼失败...(点击任意一篇钓鱼获得的文章即可恢复)":(n=frdata[r(208)]+r(135),fetch(n)[r(224)]((function(a){return a[r(226)]()}))[r(224)]((function(t){var n=r,e=t[n(192)],s=t[n(172)],d=t.author;document.querySelector(n(198))&&window[n(136)]((function(){var t=n;document[t(179)]("random-post")[t(155)]=a+t(137)+d+t(150)+s+t(214)+e+"</a>",randomPostTimes+=1,localStorage[t(148)](t(233),randomPostTimes),document[t(133)](t(164))[t(236)][t(230)]="1"}),o)}))),randomPostWorking=!1))}function initRandomPost(){var a=_0x5a4337;document[a(133)](a(164))&&localStorage[a(233)]&&(randomPostTimes=parseInt(localStorage.randomPostTimes),randomPostClick=parseInt(localStorage[a(145)]),document[a(133)](".random-post-start")[a(236)][a(182)]=a(142),document.querySelector(a(164))[a(236)][a(227)]=a(139)+360*randomPostTimes+a(209)),fetchRandomPost()}function randomClickLink(){var a=_0x5a4337;randomPostClick+=1,localStorage.setItem(a(145),randomPostClick)}function randomNum(a,t){var o=_0x5a4337;switch(arguments[o(225)]){case 1:return parseInt(Math[o(149)]()*a+1,10);case 2:return parseInt(Math.random()*(t-a+1)+a,10);default:return 0}}function _0x1e51(){var a=["你的背景太假了,我的就逼真多了,学到这个技术全是因为看了","你真正是谁并不重要,重要的是你看没看过","addEventListener","阿里巴巴大喊芝麻开门,映入眼帘的就是","42818720hOflVB","apiurl","deg)","外星人降临地球学习地球文化,落地时被你塞了","因为卷子上没写名字,老师罚抄","走人生的路就像爬山一样,看起来走了许多冤枉的路,崎岖的路,但终究需要读完","5989434KDkCIM",'" rel="external nofollow">',"我就是神奇宝贝大师!我这只小火龙可是","floor","种下一篇文章就会产生很多很多文章,我种下了","498623rNjtAI","陆隐一统天上宗,在无数祖境高手的目光下宣读了","新的iPhone产能很足,新的进货渠道是","defaultFish","856122nzbnfd","新版语文书拟增加一篇熟读并背诵的","then","length","json","transform","你击败了巨龙,在巢穴中发现了","库克坐上了苹果CEO的宝座,因为他面试的时候看了","opacity","修炼渡劫成功,还好提前看了","7HfIxun","randomPostTimes","人生无常大肠包小肠,小肠包住了","经调查,99%的受访者都没有背诵过","style","奶奶的,玩阴的是吧,我就是双料特工代号穿山甲,","上古遗迹中写道,只要习得此书,便得成功。你定睛一看,原来是","挖掘秦始皇坟时找到了","从图书馆顶层的隐秘角落里发现了闪着金光的","querySelector"," 当前称号:","randompost","setTimeout","来自友链 <b>","今年的高考满分作文是","rotate(","科学家解刨了第一个感染丧尸病毒的人,发现丧尸抗体存在于","绝世渔夫","0.3s","undefined","你抽到了金色普通文章,它是","randomPostClick","1687576nECFpN","你抽到了传说文章!它是","setItem","random",'</b> 的文章:<a class="random-friends-post" onclick="randomClickLink()" target="_blank" href="',"在河边打了个喷嚏,吓跑了","这化仙池水乃上古真仙对后人的考校,要求熟读并背诵","我是云南的,云南怒江的,怒江芦水市,芦水市六库,六库傈僳族,傈僳族是","0.2","innerHTML","踏破铁血无觅处,得来全靠","愿者上钩","钓鱼专家","1195aRZJAf","你收到了稀有文章,它是","随机筛选... (Lv.","随机筛选...","请问你的梦想是什么?我的梦想是能读到",".random-post-start","round","你要尽全力保护你的梦想。那些嘲笑你的人,他们必定会失败,他们想把你变成和他们一样的人。如果你有梦想的话,就要努力去读","黑钻风跟白钻风说道,吃了唐僧肉能长生不老,他知道是因为看了","hungryFish","飞机窗户似乎被一张纸糊上了,仔细一看是","我就是神奇宝贝大师!我这只可达鸭可是","为了抗议世间的不公,割破手指写下了","link","我就是神奇宝贝大师!我这只杰尼龟可是","你抽到了金色稀有文章,它是","pjax:complete","十几年前的录音机似乎还能够使用,插上电发现正在播的是","5677551pTospJ","这区区迷阵岂能难得住我?其实能走出来多亏了","getElementById","你已经习得退退退神功,接下来的心法已经被记录在","15816dZmkrI","transitionDuration","有信心不一定会成功,没信心就去看","报告!侦察兵说在前往300米有一个男子在偷偷看一本书,上面赫然写着","隔壁家的孩子英语考了满分,都是因为看了","你抽到了普通文章,它是","我就是神奇宝贝大师!我这只皮卡丘可是","钓鱼新手","如果你有梦想的话,就要努力去看","决定我们成为什么样人的,不是我们的能力,而是是否看过","在艺术大街上被贴满了相同的纸,走近一看是","title","你和小伙伴抢夺着","mycpen1-fcircle-page-tag","random-post","游戏的规则就是这么的简单,你听懂了吗?管你听没听懂,快去看","读什么才能增智慧?当然是读","#random-post","你送给乞丐一个暴富秘籍,它是","从学校班主任那拿来了孩子上课偷偷看的","https://www.cpen.top:8002/","4yALeXR"];return(_0x1e51=function(){return a})()}function whenDOMReadyRandomFriendsPostJS(){var a=_0x5a4337;document[a(179)](a(194))&&initRandomPost()}whenDOMReadyRandomFriendsPostJS(),document[_0x5a4337(205)](_0x5a4337(175),whenDOMReadyRandomFriendsPostJS);
1
+ "use strict";function _0x1a20(){var a=["random","奶奶的,玩阴的是吧,我就是双料特工代号穿山甲,","新的iPhone产能很足,新的进货渠道是","undefined","库克坐上了苹果CEO的宝座,因为他面试的时候看了","修炼渡劫成功,还好提前看了","随机筛选... (Lv.","今年的高考满分作文是","你抽到了金色稀有文章,它是","报告!侦察兵说在前往300米有一个男子在偷偷看一本书,上面赫然写着","你要尽全力保护你的梦想。那些嘲笑你的人,他们必定会失败,他们想把你变成和他们一样的人。如果你有梦想的话,就要努力去读","78534ZYCQCR","绝世渔夫","三十年河东,三十年河西,莫欺我没有看过","今日被一篇文章顶上了微博热搜,它是","deg)","师傅说练武要先炼心,然后让我好生研读","querySelector","innerHTML","randompost","style","哇!金色传说!你抽到了金色传说文章,它是","从图书馆顶层的隐秘角落里发现了闪着金光的","addEventListener","游戏的规则就是这么的简单,你听懂了吗?管你听没听懂,快去看","json","你的背景太假了,我的就逼真多了,学到这个技术全是因为看了","2328963FBxOEy","上卫生间没带纸,直接提裤跑路也不愿意玷污手中","黑钻风跟白钻风说道,吃了唐僧肉能长生不老,他知道是因为看了","1491515ooWNPq","300pyJhMa","今年亩产突破了八千万斤,多亏了","隔壁家的孩子数学考了满分,都是因为看了","超越神了","读什么才能增智慧?当然是读","踏破铁血无觅处,得来全靠","你抽到了金色普通文章,它是",'</b> 的文章:<a class="random-friends-post" onclick="randomClickLink()" target="_blank" href="',".random-post-start","12eNSMxH","link","transitionDuration","科学家发现能够解决衰老的秘密,就是每日研读","英特尔发布了全新的至强处理器,其芯片的制造原理都是","这区区迷阵岂能难得住我?其实能走出来多亏了","你送给乞丐一个暴富秘籍,它是","今日双色球中了两千万,预测全靠","愿者上钩","length","mycpen1-fcircle-page-tag","我就是神奇宝贝大师!我这只皮卡丘可是","人生无常大肠包小肠,小肠包住了","有信心不一定会成功,没信心就去看","飞机窗户似乎被一张纸糊上了,仔细一看是","如果你有梦想的话,就要努力去看","transform","48dAxbvU","setItem","158025fGveVC","886835smgKpl","930986aLfdhi","defaultFish","玄天境重要的是锻体,为师赠你此书,好好修炼去吧,这是","新版语文书拟增加一篇熟读并背诵的","我就是神奇宝贝大师!我这只杰尼龟可是","你抽到了传说文章!它是","0.2","randomPostClick","在大山中唱山歌,隔壁的阿妹跑来了,带着","芷莲姑娘大摆擂台,谁若是能读完此书,便可娶了她。然后从背后掏出了","陆隐一统天上宗,在无数祖境高手的目光下宣读了","因为卷子上没写名字,老师罚抄","我就是神奇宝贝大师!我这只小火龙可是"," 当前称号:","钓鱼高手","挖掘秦始皇坟时找到了","徒弟修炼走火入魔,为师立刻掏出了","来自友链 <b>","random-post","then","上百祖境高手在天威湖大战三天三夜为了抢夺","getElementById","randomPostTimes","rotate(","上古遗迹中写道,只要习得此书,便得成功。你定睛一看,原来是","title","https://www.cpen.top:8002/","钓鱼宗师","随机筛选...","我是云南的,云南怒江的,怒江芦水市,芦水市六库,六库傈僳族,傈僳族是","opacity","种下一篇文章就会产生很多很多文章,我种下了","244182cPTWwT","走人生的路就像爬山一样,看起来走了许多冤枉的路,崎岖的路,但终究需要读完","在路边闲逛的时候随手买了一个","阿里巴巴大喊芝麻开门,映入眼帘的就是","庆氏三千年根基差点竟被你小子毁于一旦,能够被我拯救全是因为我看了","外星人降临地球学习地球文化,落地时被你塞了","</a>","#random-post","隔壁家的孩子英语考了满分,都是因为看了","俯览天下","0.3s","apiurl","在河边打了个喷嚏,吓跑了","你真正是谁并不重要,重要的是你看没看过","round","考古学家近日发现了","在艺术大街上被贴满了相同的纸,走近一看是","请问你的梦想是什么?我的梦想是能读到","为了抗议世间的不公,割破手指写下了","科考队在南极大陆发现了被冰封的","你击败了巨龙,在巢穴中发现了","纳兰嫣然掏出了退婚书,可是发现出门带错了,结果拿出了一本","我真的栓Q了,我真的会谢如果你看","setTimeout"];return(_0x1a20=function(){return a})()}var _0x1e7a22=_0x227a;!function(a,e){for(var t=_0x227a,o=_0x1a20();;)try{if(454297===parseInt(t(367))/1+-parseInt(t(368))/2+-parseInt(t(334))/3+-parseInt(t(347))/4*(-parseInt(t(337))/5)+parseInt(t(283))/6+parseInt(t(366))/7*(parseInt(t(364))/8)+-parseInt(t(318))/9*(parseInt(t(338))/10))break;o.push(o.shift())}catch(a){o.push(o.shift())}}();var frdata={apiurl:_0x1e7a22(277),defaultFish:100,hungryFish:100};if(_0x1e7a22(310)!=typeof frdataUser)for(var key in frdataUser)frdataUser[key]&&(frdata[key]=frdataUser[key]);var randomPostTimes=0,randomPostWorking=!1,randomPostTips=["钓到了绝世好文!",_0x1e7a22(295),"你和小伙伴抢夺着",_0x1e7a22(303),_0x1e7a22(383),_0x1e7a22(285),"从学校班主任那拿来了孩子上课偷偷看的","你的同桌无情的从你的语文书中撕下了那篇你最喜欢的",_0x1e7a22(298),_0x1e7a22(288),_0x1e7a22(329),_0x1e7a22(384),_0x1e7a22(376),_0x1e7a22(340),_0x1e7a22(291),"小米研发了全新一代MIX手机,据说灵感",_0x1e7a22(312),_0x1e7a22(311),_0x1e7a22(286),_0x1e7a22(323),_0x1e7a22(302),_0x1e7a22(361),"历史上满写的仁义道德四个字,透过字缝里却全是","十几年前的录音机似乎还能够使用,插上电发现正在播的是",_0x1e7a22(371),"经调查,99%的受访者都没有背诵过",_0x1e7a22(314),"唐僧揭开了佛祖压在五指山上的",_0x1e7a22(350),_0x1e7a22(351),_0x1e7a22(309),_0x1e7a22(339),_0x1e7a22(378),_0x1e7a22(336),_0x1e7a22(335),_0x1e7a22(282),_0x1e7a22(320),_0x1e7a22(343),_0x1e7a22(354),_0x1e7a22(379),_0x1e7a22(301),_0x1e7a22(299),_0x1e7a22(352),_0x1e7a22(321),_0x1e7a22(353),"UZI一个走A拿下五杀,在事后采访时说他当时回想起了","科学家解刨了第一个感染丧尸病毒的人,发现丧尸抗体存在于",_0x1e7a22(362),"决定我们成为什么样人的,不是我们的能力,而是是否看过",_0x1e7a22(360),_0x1e7a22(296),_0x1e7a22(370),_0x1e7a22(388),"这化仙池水乃上古真仙对后人的考校,要求熟读并背诵",_0x1e7a22(287),_0x1e7a22(358),_0x1e7a22(380),"我就是神奇宝贝大师!我这只可达鸭可是",_0x1e7a22(372),_0x1e7a22(392),_0x1e7a22(308),_0x1e7a22(333),_0x1e7a22(280),_0x1e7a22(305),"你已经习得退退退神功,接下来的心法已经被记录在",_0x1e7a22(359),"你抽到了普通文章,它是","你收到了稀有文章,它是",_0x1e7a22(344),_0x1e7a22(315),_0x1e7a22(373),_0x1e7a22(328),_0x1e7a22(316),_0x1e7a22(377),_0x1e7a22(300),_0x1e7a22(342),_0x1e7a22(304),_0x1e7a22(317),_0x1e7a22(284),_0x1e7a22(331)],randomPostClick=0;function fetchRandomPost(){var a,e,t,o,n=_0x1e7a22;document[n(389)](n(357))&&(0==randomPostWorking&&document[n(389)]("random-post")&&(randomPostWorking=!0,a=randomPostTips[Math.floor(Math[n(307)]()*randomPostTips[n(356)])],"",e=1e4<randomPostTimes?n(355):1e3<randomPostTimes?n(292):1e3<randomPostTimes?n(341):100<randomPostTimes?n(319):75<randomPostTimes?"钓鱼王者":50<randomPostTimes?n(278):20<randomPostTimes?"钓鱼专家":5<randomPostTimes?n(382):"钓鱼新手",document[n(389)](n(386)).innerHTML=5<=randomPostTimes?n(313)+randomPostTimes+n(381)+e+")":n(279),t=randomNum(1e3,3e3),0==randomPostTimes&&(t=0),document[n(324)](n(346))[n(327)][n(281)]=n(374),randomPostClick*frdata.hungryFish+frdata[n(369)]<randomPostTimes&&0==Math[n(297)](Math[n(307)]())?document[n(389)](n(386))[n(325)]="因为只钓鱼不吃鱼,过分饥饿导致本次钓鱼失败...(点击任意一篇钓鱼获得的文章即可恢复)":(o=frdata[n(294)]+n(326),fetch(o)[n(387)]((function(a){return a[n(332)]()}))[n(387)]((function(e){var o=n,r=e[o(276)],s=e[o(348)],d=e.author;document[o(324)](o(290))&&window[o(306)]((function(){var e=o;document.getElementById("random-post")[e(325)]=a+e(385)+d+e(345)+s+'" rel="external nofollow">'+r+e(289),randomPostTimes+=1,localStorage.setItem(e(390),randomPostTimes),document[e(324)](e(346))[e(327)][e(281)]="1"}),t)}))),randomPostWorking=!1))}function initRandomPost(){var a=_0x1e7a22;document.querySelector(".random-post-start")&&localStorage[a(390)]&&(randomPostTimes=parseInt(localStorage.randomPostTimes),randomPostClick=parseInt(localStorage[a(375)]),document[a(324)](a(346))[a(327)][a(349)]=a(293),document[a(324)](a(346))[a(327)][a(363)]=a(391)+360*randomPostTimes+a(322)),fetchRandomPost()}function randomClickLink(){randomPostClick+=1,localStorage[_0x1e7a22(365)]("randomPostClick",randomPostClick)}function randomNum(a,e){var t=_0x1e7a22;switch(arguments.length){case 1:return parseInt(Math[t(307)]()*a+1,10);case 2:return parseInt(Math[t(307)]()*(e-a+1)+a,10);default:return 0}}function whenDOMReadyRandomFriendsPostJS(){var a=_0x1e7a22;document[a(389)](a(357))&&initRandomPost()}function _0x227a(a,e){var t=_0x1a20();return(_0x227a=function(a,e){return t[a-=276]})(a,e)}whenDOMReadyRandomFriendsPostJS(),document[_0x1e7a22(330)]("pjax:complete",whenDOMReadyRandomFriendsPostJS);
package/js/tianli_gpt.js CHANGED
@@ -1 +1 @@
1
- function _0x55f2(){const t=["1022cCuqqs","createElement",".tianliGPT-explanation","#post #article-container","location","aiShowAnimation","tianliGPT-title-icon",'<span class="blinking-cursor"></span>',".html","tianliGPT-tag","blog.cpen.top","json","TianliGPT:我没有看懂你编写的自定义链接规则,所以我决定不执行摘要功能","summary",'<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>',"1145966kPhoAD","获取文章摘要超时。当你出现这个问题时,可能是key或者绑定的域名不正确。也可能是因为文章过长导致的 AI 运算量过大,你可以稍等一下然后刷新页面重试。","没有获取到key,代码可能没有安装正确。如果你需要在tianli_gpt文件引用前定义tianliGPT_key变量。详细请查看文档。","random","localhost","2019155trnDeQ","find","firstChild","className","textContent","isIntersecting","href","status","2540240XRkOco","replace","TianliGPT:余额不足,请充值后请求新的文章","&key=","获取文章摘要失败,请稍后再试。","innerHTML","undefined","18mDYqPt","appendChild","innerText","style","27vILytl","加载文件失败:","TianliGPT错误:可能由于一个或多个错误导致没有正常运行,原因出在获取文章容器中的内容失败,或者可能是在文章转换过程中失败。","none","join","host","addEventListener","tianliGPT-title-text","responseText","parentElement","getTitleAndContent","58624uhLdqE","*/posts/*","div","获取文章摘要失败,请访问 blog.cpen.top","now","&url=","hostname","slice","block","statusText","title","GET","name","abort","TianliGPT:找不到文章容器。请尝试将引入的代码放入到文章容器之后。如果本身没有打算使用摘要功能可以忽略此提示。","floor","3650779mogVFw","48aVcJFl","pjax:complete","6NnrHU4xKAPwwYxZr8WB","TianliGPT","querySelectorAll","map","insertBefore","observe","send","OVWfZmDbf1jqsE0OXW4C","tianliGPT-explanation","文章摘要","open","26781UAGpVF","length","url","h1, h2, h3, h4, h5","match","fetchTianliGPT","FbXpqokdh8qY61bdJEme","5Q5mpqRK5DkwT1X9Gi5e","display","removeChild","querySelector","WF6NSQdXy7nBmc6BaiFo","生成中...","AbortError","test","warn","116RBWTsX","请求超时","disconnect","225144zCEcHy",".post-TianliGPT","请求失败:","PKgVCDRcgwtP4X7bIBBB","警告:请勿在本地主机上测试 API 密钥。","summaries","includes","获取文章摘要超时。请勿在本地主机上测试 API 密钥。","error","&title="];return(_0x55f2=function(){return t})()}const _0x2d9494=_0x4b0c;function _0x4b0c(t,n){const e=_0x55f2();return(_0x4b0c=function(t,n){return e[t-=174]})(t,n)}function whenDOMReadyTianliGPT(){const t=_0x4b0c;function n(n){const e=t;!function(){const n=t,e=document[n(232)](n(242));e&&e[n(190)][n(231)](e)}();const i=document[e(232)](n);if(!i)return;const o=document[e(252)](e(194));o.className="post-TianliGPT";const s=document.createElement(e(194));s[e(274)]="tianliGPT-title",o[e(178)](s);const a=document.createElement("i");a[e(274)]=e(257),s[e(178)](a),a[e(175)]=e(265);const l=document[e(252)](e(194));l.className=e(188),l[e(275)]=e(220),s.appendChild(l);const r=document.createElement(e(194));r.className=e(260),r.id=e(260),r[e(275)]=e(212),s[e(178)](r);const c=document[e(252)](e(194));c[e(274)]=e(219),c[e(175)]=e(234)+e(258),o.appendChild(c),i[e(215)](o,i[e(273)])}tianliGPT_postSelector=t(254),tianliGPT_key_list=[t(211),t(228),t(244),t(218),t(233)],tianliGPT_randomIndex=Math[t(207)](Math[t(269)]()*tianliGPT_key_list[t(223)]),tianliGPT_key=tianliGPT_key_list[tianliGPT_randomIndex],tianliGPTIsRunning=!1,tianliGPT_postURL=t(193),tianliGPT_typingAnimate=!1;var e={getTitleAndContent:function(){const n=t;try{const t=document[n(202)],e=document.querySelector(tianliGPT_postSelector);if(!e)return console.warn(n(206)),"";const i=e.getElementsByTagName("p"),o=e[n(213)](n(225));let s="";for(let t of o)s+=t[n(179)]+" ";for(let t of i){s+=t[n(179)].replace(/https?:\/\/[^\s]+/g,"")}const a=t+" "+s;let l=1e3;typeof tianliGPT_wordLimit!==n(176)&&(l=tianliGPT_wordLimit);return a[n(199)](0,l)}catch(t){return console[n(249)](n(183),t),""}},fetchTianliGPT:async function(n){const e=t;if(window[e(255)][e(186)]!==e(261))return e(195);if(!tianliGPT_key)return e(268);if(tianliGPT_key===e(229))return"请购买 key 使用,如果你能看到此条内容,则说明代码安装正确。";var i=window[e(255)].href;const o=document[e(202)],s="https://summary.tianli0.top/?content="+encodeURIComponent(n)+e(282)+encodeURIComponent(tianliGPT_key)+e(197)+encodeURIComponent(i)+e(250)+encodeURIComponent(o);try{const t=new AbortController,n=(setTimeout((()=>t[e(205)]()),2e4),await fetch(s,{signal:t.signal}));if(n.ok){return(await n[e(262)]())[e(264)]}throw 402===n[e(278)]&&document[e(213)](e(242)).forEach((t=>{const n=e;t[n(180)][n(230)]=n(184)})),new Error(e(281))}catch(t){return t[e(204)]===e(235)?window.location[e(198)]===e(270)?(console[e(237)](e(245)),e(248)):(console[e(249)](e(239)),e(267)):(console[e(249)](e(243),t),e(174))}},aiShowAnimation:function(n){const e=t,i=document[e(232)](e(253));if(!i)return;if(tianliGPTIsRunning)return;if(typeof tianliGPT_typingAnimate!==e(176)&&!tianliGPT_typingAnimate)return void(i[e(175)]=n);tianliGPTIsRunning=!0;i.style[e(230)]=e(200),i[e(175)]="生成中..."+e(258);let o=!0,s=0,a=performance[e(196)]();const l=()=>{const t=e;if(s<n[t(223)]&&o){const e=performance[t(196)](),o=e-a,c=n[t(199)](s,s+1);o>=(/[,。!、?,.!?]/[t(236)](c)?150:25)&&(i[t(179)]=n.slice(0,s+1),a=e,s++,s<n[t(223)]?i.innerHTML=n[t(199)](0,s)+t(258):(i[t(175)]=n,i[t(180)][t(230)]=t(200),tianliGPTIsRunning=!1,r[t(240)]())),requestAnimationFrame(l)}},r=new IntersectionObserver((t=>{const n=e;let i=t[0][n(276)];o=i,o&&setTimeout((()=>{requestAnimationFrame(l)}),200)}),{threshold:0});let c=document[e(232)](e(242));r[e(216)](c)}};function i(){const i=t;n(tianliGPT_postSelector);const o=e[i(191)]();postUrlIsContained=null,tianligptJsonData&&(postHref=window[i(255)][i(277)],postRegex=/\/+posts\/+([\w-]+)(\.html)?/,postMatch=postHref[i(226)](postRegex),postFilteredValue=postMatch?postMatch[1]:null,postUrl="https://blog.cpen.top/posts/"+postFilteredValue+i(259),postUrlIsContained=postsUrls[i(247)](postUrl)),postUrlIsContained?(postMatchedSummary=tianligptJsonData[i(246)][i(272)]((t=>t[i(224)]===postUrl)),postSummary=postMatchedSummary[i(264)],e[i(256)](postSummary)):e[i(227)](o).then((t=>{e[i(256)](t)}))}!function(){const n=t;if(typeof tianliGPT_postURL!==n(176))try{const t=t=>{const i=n;return new RegExp("^"+t.split(/\*+/)[i(214)](e)[i(185)](".*")+"$")},e=t=>t[n(280)](/[|\\{}()[\]^$+*?.]/g,"\\$&"),o=t(tianliGPT_postURL),s=window[n(255)][n(277)];o.test(s)&&i()}catch(t){console[n(249)](n(263),t)}else i()}()}if(function(t,n){const e=_0x4b0c,i=_0x55f2();for(;;)try{if(730997===parseInt(e(241))/1+parseInt(e(266))/2+-parseInt(e(222))/3*(parseInt(e(238))/4)+-parseInt(e(271))/5*(-parseInt(e(177))/6)+-parseInt(e(251))/7*(-parseInt(e(192))/8)+-parseInt(e(181))/9*(parseInt(e(279))/10)+parseInt(e(208))/11*(-parseInt(e(209))/12))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(),xhr=new XMLHttpRequest,xhr[_0x2d9494(221)](_0x2d9494(203),"https://cdn.cbd.int/mycpen-blog@0.0.0-wkbvbkfufl/json/tianli_gpt.json",!1),xhr[_0x2d9494(217)](),200===xhr[_0x2d9494(278)])try{tianligptJsonData=JSON.parse(xhr[_0x2d9494(189)]),postsUrls=tianligptJsonData[_0x2d9494(246)][_0x2d9494(214)]((t=>t[_0x2d9494(224)]))}catch(t){console[_0x2d9494(249)]("解析JSON数据出错:",t),tianligptJsonData=null}else console[_0x2d9494(249)](_0x2d9494(182),xhr[_0x2d9494(201)]),tianligptJsonData=null;whenDOMReadyTianliGPT(),document[_0x2d9494(187)](_0x2d9494(210),whenDOMReadyTianliGPT);
1
+ const _0x237e25=_0x7388;function _0x7388(t,n){const e=_0x35e0();return(_0x7388=function(t,n){return e[t-=461]})(t,n)}function whenDOMReadyTianliGPT(){const t=_0x7388;function n(n){const e=t;!function(){const n=t,e=document[n(491)](n(495));e&&e[n(468)][n(486)](e)}();const i=document[e(491)](n);if(!i)return;const o=document[e(527)]("div");o[e(516)]=e(503);const s=document[e(527)]("div");s[e(516)]="tianliGPT-title",o[e(512)](s);const a=document.createElement("i");a[e(516)]=e(532),s[e(512)](a),a.innerHTML=e(542);const l=document[e(527)](e(485));l[e(516)]=e(539),l[e(470)]=e(502),s[e(512)](l);const r=document[e(527)](e(485));r.className="tianliGPT-tag",r.id=e(498),r[e(470)]="TianliGPT",s[e(512)](r);const c=document.createElement(e(485));c[e(516)]="tianliGPT-explanation",c.innerHTML="生成中..."+e(517),o.appendChild(c),i[e(524)](o,i[e(478)])}tianliGPT_postSelector=t(463),tianliGPT_key_list=["6NnrHU4xKAPwwYxZr8WB",t(506),"PKgVCDRcgwtP4X7bIBBB",t(549),t(544)],tianliGPT_randomIndex=Math[t(504)](Math.random()*tianliGPT_key_list.length),tianliGPT_key=tianliGPT_key_list[tianliGPT_randomIndex],tianliGPTIsRunning=!1,tianliGPT_postURL=t(509),tianliGPT_typingAnimate=!1;var e={getTitleAndContent:function(){const n=t;try{const t=document.title,e=document[n(491)](tianliGPT_postSelector);if(!e)return console[n(477)](n(487)),"";const i=e.getElementsByTagName("p"),o=e[n(518)](n(475));let s="";for(let t of o)s+=t.innerText+" ";for(let t of i){s+=t[n(484)][n(500)](/https?:\/\/[^\s]+/g,"")}const a=t+" "+s;let l=1e3;typeof tianliGPT_wordLimit!==n(540)&&(l=tianliGPT_wordLimit);return a[n(557)](0,l)}catch(t){return console[n(558)](n(472),t),""}},fetchTianliGPT:async function(n){const e=t;if(window[e(464)][e(473)]!==e(514))return e(520);if(!tianliGPT_key)return e(499);if(tianliGPT_key===e(465))return e(526);var i=window[e(464)][e(481)];const o=document.title,s=e(480)+encodeURIComponent(n)+e(462)+encodeURIComponent(tianliGPT_key)+e(548)+encodeURIComponent(i)+e(461)+encodeURIComponent(o);try{const t=new AbortController,n=(setTimeout((()=>t[e(550)]()),2e4),await fetch(s,{signal:t.signal}));if(n.ok){return(await n.json())[e(538)]}throw 402===n[e(543)]&&document.querySelectorAll(e(495))[e(479)]((t=>{const n=e;t.style[n(522)]=n(466)})),new Error("TianliGPT:余额不足,请充值后请求新的文章")}catch(t){return t[e(510)]===e(476)?window[e(464)][e(507)]===e(492)?(console[e(477)](e(501)),"获取文章摘要超时。请勿在本地主机上测试 API 密钥。"):(console[e(558)](e(535)),e(511)):(console[e(558)](e(469),t),"获取文章摘要失败,请稍后再试。")}},aiShowAnimation:function(n){const e=t,i=document[e(491)](e(483));if(!i)return;if(tianliGPTIsRunning)return;if("undefined"!=typeof tianliGPT_typingAnimate&&!tianliGPT_typingAnimate)return void(i[e(497)]=n);tianliGPTIsRunning=!0;i[e(496)][e(522)]=e(528),i[e(497)]=e(467)+e(517);let o=!0,s=0,a=performance[e(474)]();const l=()=>{const t=e;if(s<n[t(562)]&&o){const e=performance[t(474)](),o=e-a,c=n[t(557)](s,s+1);o>=(/[,。!、?,.!?]/.test(c)?150:25)&&(i[t(484)]=n[t(557)](0,s+1),a=e,s++,s<n[t(562)]?i[t(497)]=n[t(557)](0,s)+t(517):(i[t(497)]=n,i.style[t(522)]=t(528),tianliGPTIsRunning=!1,r[t(525)]())),requestAnimationFrame(l)}},r=new IntersectionObserver((t=>{const n=e;let i=t[0][n(521)];o=i,o&&setTimeout((()=>{requestAnimationFrame(l)}),200)}),{threshold:0});let c=document[e(491)](e(495));r[e(531)](c)}};function i(){const i=t;n(tianliGPT_postSelector);const o=e[i(493)]();postUrlIsContained=null,tianligptJsonData&&(postHref=window.location[i(481)],postRegex=/\/+posts\/+([\w-]+)(\.html)?/,postMatch=postHref[i(515)](postRegex),postFilteredValue=postMatch?postMatch[1]:null,postUrl=i(508)+i(519)+postFilteredValue+".html",postUrlIsContained=postsUrls[i(554)](postUrl)),postUrlIsContained?(postMatchedSummary=tianligptJsonData[i(545)][i(471)]((t=>t[i(534)]===postUrl)),postSummary=postMatchedSummary.summary,e[i(489)](postSummary)):e.fetchTianliGPT(o)[i(559)]((t=>{e[i(489)](t)}))}!function(){const n=t;if(typeof tianliGPT_postURL!==n(540))try{const t=t=>{const i=n;return new RegExp("^"+t.split(/\*+/).map(e)[i(523)](".*")+"$")},e=t=>{const e=n;return t.replace(/[|\\{}()[\]^$+*?.]/g,e(536))},o=t(tianliGPT_postURL),s=window[n(464)][n(481)];o[n(561)](s)&&i()}catch(t){console[n(558)]("TianliGPT:我没有看懂你编写的自定义链接规则,所以我决定不执行摘要功能",t)}else i()}()}function _0x35e0(){const t=["WF6NSQdXy7nBmc6BaiFo","summaries","https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/json/tianli_gpt.json","加载文件失败:","&url=","OVWfZmDbf1jqsE0OXW4C","abort","411087NVFUzL","8RSpcNc","844470aBgStb","includes","5384057vPmLNd","GET","slice","error","then","send","test","length","&title=","&key=","#post #article-container","location","5Q5mpqRK5DkwT1X9Gi5e","none","生成中...","parentElement","请求失败:","textContent","find","TianliGPT错误:可能由于一个或多个错误导致没有正常运行,原因出在获取文章容器中的内容失败,或者可能是在文章转换过程中失败。","host","now","h1, h2, h3, h4, h5","AbortError","warn","firstChild","forEach","https://summary.tianli0.top/?content=","href","parse",".tianliGPT-explanation","innerText","div","removeChild","TianliGPT:找不到文章容器。请尝试将引入的代码放入到文章容器之后。如果本身没有打算使用摘要功能可以忽略此提示。","8sMzhfd","aiShowAnimation","1095840pAPwnS","querySelector","localhost","getTitleAndContent","148525ZKdvNw",".post-TianliGPT","style","innerHTML","tianliGPT-tag","没有获取到key,代码可能没有安装正确。如果你需要在tianli_gpt文件引用前定义tianliGPT_key变量。详细请查看文档。","replace","警告:请勿在本地主机上测试 API 密钥。","文章摘要","post-TianliGPT","floor","4584325HXqzjV","FbXpqokdh8qY61bdJEme","hostname","https://blog.cpen.top/","*/posts/*","name","获取文章摘要超时。当你出现这个问题时,可能是key或者绑定的域名不正确。也可能是因为文章过长导致的 AI 运算量过大,你可以稍等一下然后刷新页面重试。","appendChild","statusText","blog.cpen.top","match","className",'<span class="blinking-cursor"></span>',"querySelectorAll","posts/","获取文章摘要失败,请访问 blog.cpen.top","isIntersecting","display","join","insertBefore","disconnect","请购买 key 使用,如果你能看到此条内容,则说明代码安装正确。","createElement","block","解析JSON数据出错:","10883583uMBkgC","observe","tianliGPT-title-icon","pjax:complete","url","请求超时","\\$&","open","summary","tianliGPT-title-text","undefined","map",'<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>',"status"];return(_0x35e0=function(){return t})()}if(function(t,n){const e=_0x7388,i=_0x35e0();for(;;)try{if(461615===-parseInt(e(494))/1+-parseInt(e(552))/2*(-parseInt(e(551))/3)+-parseInt(e(490))/4+parseInt(e(505))/5+-parseInt(e(553))/6+parseInt(e(555))/7+-parseInt(e(488))/8*(parseInt(e(530))/9))break;i.push(i.shift())}catch(t){i.push(i.shift())}}(),xhr=new XMLHttpRequest,xhr[_0x237e25(537)](_0x237e25(556),_0x237e25(546),!1),xhr[_0x237e25(560)](),200===xhr[_0x237e25(543)])try{tianligptJsonData=JSON[_0x237e25(482)](xhr.responseText),postsUrls=tianligptJsonData[_0x237e25(545)][_0x237e25(541)]((t=>t[_0x237e25(534)]))}catch(t){console[_0x237e25(558)](_0x237e25(529),t),tianligptJsonData=null}else console[_0x237e25(558)](_0x237e25(547),xhr[_0x237e25(513)]),tianligptJsonData=null;whenDOMReadyTianliGPT(),document.addEventListener(_0x237e25(533),whenDOMReadyTianliGPT);
package/manifest.json CHANGED
@@ -1 +1 @@
1
- {"name":"Mycpen","short_name":"Mycpen","theme_color":"#ffffff","background_color":"#ffffff","display":"standalone","scope":"/","start_url":"/","icons":[{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wkbvbkfufl/img/pwa/36.png","sizes":"36x36","type":"image/png"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wkbvbkfufl/img/pwa/48.png","sizes":"48x48","type":"image/png"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wkbvbkfufl/img/pwa/72.png","sizes":"72x72","type":"image/png"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wkbvbkfufl/img/pwa/96.png","sizes":"96x96","type":"image/png"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wkbvbkfufl/img/pwa/144.png","sizes":"144x144","type":"image/png"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wkbvbkfufl/img/pwa/192.png","sizes":"192x192","type":"image/png"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wkbvbkfufl/img/pwa/196.png","sizes":"196x196","type":"image/png","purpose":"any maskable"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wkbvbkfufl/img/pwa/512.png","sizes":"512x512","type":"image/png"}]}
1
+ {"name":"Mycpen","short_name":"Mycpen","theme_color":"#ffffff","background_color":"#ffffff","display":"standalone","scope":"/","start_url":"/","icons":[{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/img/pwa/36.png","sizes":"36x36","type":"image/png"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/img/pwa/48.png","sizes":"48x48","type":"image/png"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/img/pwa/72.png","sizes":"72x72","type":"image/png"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/img/pwa/96.png","sizes":"96x96","type":"image/png"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/img/pwa/144.png","sizes":"144x144","type":"image/png"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/img/pwa/192.png","sizes":"192x192","type":"image/png"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/img/pwa/196.png","sizes":"196x196","type":"image/png","purpose":"any maskable"},{"src":"https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/img/pwa/512.png","sizes":"512x512","type":"image/png"}]}
package/music1/main.css CHANGED
@@ -1 +1 @@
1
- @charset "UTF-8";:root{--heo-white:#fff;--heo-white-op:rgba(255, 255, 255, 0.2);--heo-black:#000;--heo-black-op:rgba(0, 0, 0, 0.2);--heo-none:#00000000;--heo-gray:#999999;--heo-gray-op:#9999992b;--heo-vip:#e5a80d;--heo-main:var(--heo-theme);--heo-main-op:var(--heo-theme-op);--heo-main-op-deep:var(--heo-theme-op-deep);--heo-main-none:var(--heo-theme-none);--heo-shadow-theme:0 8px 12px -3px var(--heo-theme-op);--heo-shadow-blackdeep:0 2px 16px -3px rgba(0, 0, 0, .15);--heo-shadow-main:0 8px 12px -3px var(--heo-main-op);--heo-shadow-blue:0 8px 12px -3px rgba(40, 109, 234, .20);--heo-shadow-white:0 8px 12px -3px rgba(255, 255, 255, .20);--heo-shadow-black:0 0 12px 4px rgba(0, 0, 0, .05);--heo-shadow-yellow:0px 38px 77px -26px rgba(255, 201, 62, .12);--heo-shadow-red:0 8px 12px -3px #ee7d7936;--heo-shadow-green:0 8px 12px -3px #87ee7936;--heo-logo-color:linear-gradient(215deg, #4584ff 0%, #cf0db9 100%);--heo-snackbar-time:5s}#page{border:0;box-shadow:none!important;padding:0!important;background:0 0!important}body{background:#0d0d0d;position:relative;overflow:hidden}#heoMusic-page meting-js .aplayer{display:flex;flex-direction:row-reverse;background:rgba(0,0,0,0);border:none;box-shadow:none;justify-content:space-between}#page{border:0;box-shadow:none!important;padding:0!important;background:0 0!important}#music_bg{display:none;position:fixed;z-index:-999;width:200%;height:200%;top:-50%;left:-50%;background-position:0 0;rotate:0;background-size:40%;transition:.6s;background-image:url(https://cdn.cbd.int/mycpen-blog@0.0.0-wkbvbkfufl/music1/img/cover.webp)}#music_bg::before{content:'';transform:translateZ(0);background:rgba(0,0,0,.4);backdrop-filter:blur(200px);-webkit-backdrop-filter:blur(200px);transform:translateZ(0);position:fixed;z-index:-998;top:-50%;left:-50%;width:200%;height:200%}body #music_bg{display:block}body{background:#0d0d0d}#heoMusic-page{max-width:calc(1200px - 160px);margin:auto;margin-top:60px}#heoMusic-page meting-js .aplayer{display:flex;flex-direction:row-reverse;background:rgba(0,0,0,0);border:none;box-shadow:none}body #web_bg{filter:blur(63px);opacity:.6;background-repeat:no-repeat;background-size:cover}body #footer,body #nav-music{display:none}#heoMusic-page .aplayer-body{width:70%;height:75vh}#heoMusic-page ol>li:hover{background:var(--heo-black-op);border-radius:6px}#heoMusic-page .aplayer-pic{float:none;width:60px;height:60px;border-radius:12px;margin:auto;bottom:30px;left:90px;position:fixed;z-index:999;display:none}#heoMusic-page .aplayer-info{margin:0 20px 0 20px;border-bottom:none}#heoMusic-page .aplayer-info .aplayer-music{text-align:center;height:auto;margin:15px;display:none}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author,#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{font-size:2rem;font-weight:700;color:#fff}#heoMusic-page .aplayer-info .aplayer-lrc{padding-top:80px;height:var(--vh);mask-image:linear-gradient(to bottom,#000,#000,#000,#000,#000,#000,#000,#000,#000,#000,#0000,#0000)}#heoMusic-page .aplayer-info .aplayer-lrc p{font-size:36px;line-height:44px;height:44px;margin-bottom:36px;color:#fff;font-weight:700;text-align:left;filter:blur(2px);opacity:.3;transition:all .9s cubic-bezier(.56,.17,.22,.76);user-select:none;text-shadow:0 2px 0 #ffffff00}#heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current{filter:blur(0);opacity:1;transition:all .3s cubic-bezier(.56,.17,.22,.76),text-shadow 8s 4s ease-in;height:fit-content;text-shadow:0 2px 16px #ffffff94}#heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current:first-child{text-shadow:0 2px 16px #ffffff00}@media screen and (min-width:768px){#heoMusic-page .aplayer-info .aplayer-lrc:hover p{filter:blur(0)}}#heoMusic-page .aplayer .aplayer-lrc:after,#heoMusic-page .aplayer .aplayer-lrc:before{display:none}.aplayer .aplayer-lrc .aplayer-lrc-contents{width:90%;margin-left:auto;transition:all .5s cubic-bezier(.49,.21,.22,.84);position:relative}@media screen and (max-width:768px){.aplayer .aplayer-lrc .aplayer-lrc-contents{width:100%}}#heoMusic-page .aplayer-info .aplayer-controller{position:fixed;max-width:calc(1200px - 160px);margin:auto;left:0;right:0;bottom:50px;align-items:center}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-bar-wrap{margin:0 160px 0 150px}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-played{background:var(--heo-white)!important}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-thumb{-webkit-transform:none;transform:none;background:#fff!important}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back,#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward,#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{display:inline;position:fixed}#heoMusic-page .aplayer-info .aplayer-time{position:absolute;width:100%;bottom:24px;height:0;display:flex;justify-content:flex-end}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner{margin-right:18px;margin-top:-8px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back{position:absolute;left:0}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{position:absolute;left:40px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward{position:absolute;left:80px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon{width:2rem;height:2rem;margin-left:15px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon::before{content:'';position:absolute;padding:8px;top:-6px;width:8px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-menu{display:none}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon path{fill:var(--heo-white);opacity:.8}#heoMusic-page .aplayer-list{width:40%;max-width:480px;max-height:none!important;height:100%;min-width:200px}#heoMusic-page ol{max-height:calc(var(--vh) - 170px)!important}#heoMusic-page ol::-webkit-scrollbar-thumb{background-color:var(--heo-white-op)}#heoMusic-page ol>li{font-size:14px;opacity:.6}#heoMusic-page ol>li.aplayer-list-light{background:var(--heo-black-op);border-radius:6px;height:60px;display:flex;flex-direction:column;opacity:1}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-index{display:none}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{font-size:20px;line-height:20px;margin-top:8px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#heoMusic-page ol>li span{color:var(--heo-white)}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-cur{display:none}#heoMusic-page ol>li span.aplayer-list-title{line-height:32px}#heoMusic-page ol>li .aplayer-list-index{line-height:32px}#heoMusic-page ol>li span.aplayer-list-author{opacity:.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:40%;line-height:32px}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{max-width:100%}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar{height:8px;border-radius:8px;background:var(--heo-white-op)}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded{background:var(--heo-white-op);height:8px;border-radius:8px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played{height:8px;border-radius:8px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb{height:16px;width:16px}.page #nav{backdrop-filter:none!important;background:0 0!important;border-bottom:none!important}.page #page-header #nav .back-home-button,.page #page-header.not-top-img #nav a{color:var(--heo-white)}body .s-sticker div{color:var(--heo-white)!important}body .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-loop{margin-right:7px}.aplayer .aplayer-info .aplayer-controller .aplayer-time{color:var(--heo-white)}[data-theme=dark] .page #page-header:before{background-color:transparent}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap{height:120px;border-radius:40px;width:30px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap{width:30px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar{width:100%;height:100%;left:0}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume{width:100%;background:var(--heo-white)!important}@media screen and (max-width:768px){body #rightside{display:none}body #content-inner,body #page{z-index:auto}#heoMusic-page .aplayer-list{position:fixed;z-index:1002;width:100%;bottom:0;left:0;background:var(--heo-white);border-radius:16px 16px 0 0;padding:15px 0;max-width:100%;height:calc(var(--vh) - 200px)}#heoMusic-page .aplayer-list.aplayer-list-hide{bottom:-100%!important}#heoMusic-page ol{max-height:100%!important;padding-right:3px;padding-left:8px}#heoMusic-page ol>li{display:flex}#heoMusic-page ol>li span{color:var(--font-color)}#heoMusic-page ol>li span.aplayer-list-title{width:30%}#heoMusic-page ol>li.aplayer-list-light{background:#33a673;padding:5px 20px;border-radius:10px;height:52px;justify-content:center}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{margin-top:4px}#heoMusic-page ol>li.aplayer-list-light span{color:#fff}#heoMusic-page ol>li span.aplayer-list-title{max-width:55%;width:auto;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;-webkit-box-orient:vertical}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{max-width:unset;display:unset}#heoMusic-page ol>li span.aplayer-list-author{right:10px;width:auto;max-width:35%;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;-webkit-box-orient:vertical;margin-left:auto;white-space:normal}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{margin-left:0}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{right:15px}#heoMusic-page .aplayer-body{width:100%;overflow:hidden;position:fixed;margin:auto;left:0;right:0;top:0;height:calc(var(--vh) - 200px)}#heoMusic-page .aplayer-info .aplayer-lrc{margin-top:0;height:auto;min-height:100%;mask-image:linear-gradient(to bottom,#000,#000,#000,#000,#0000,#0000)}#heoMusic-page .aplayer-info .aplayer-controller{width:100%;bottom:120px}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-bar-wrap{margin:0 32px}#heoMusic-page .aplayer-info .aplayer-time{bottom:-40px;align-items:center}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner{position:absolute;width:100%;margin-right:4px;margin-top:-60px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-dtime{position:absolute;right:30px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-ptime{position:absolute;left:44px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back{margin:auto;right:110px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{margin:auto;right:0;left:0;width:56px;height:56px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward{margin:auto;left:110px;right:0}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-order{position:absolute;left:22px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-loop{position:absolute;right:25px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-menu{display:inline;position:absolute;right:30px;top:-100px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-volume-bar-wrap{bottom:0;right:7px}#heoMusic-page .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap{left:-66px;display:none}#heoMusic-page .aplayer-info .aplayer-lrc{padding-top:100px}#heoMusic-page .aplayer-info .aplayer-lrc p{font-size:32px;margin-bottom:38px;line-height:42px;height:42px}#heoMusic-page .aplayer-info .aplayer-music{display:flex;position:fixed;top:calc(var(--vh) - 178px);left:0;margin:0;margin-left:32px;height:21px;max-width:calc(100vw - 110px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.6;align-items:center;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{font-size:16px;font-weight:400;margin:0;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author{margin-left:4px;font-size:16px;font-weight:400;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author,#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 176px)}.aplayer .aplayer-lrc{overflow:inherit}}
1
+ @charset "UTF-8";:root{--heo-white:#fff;--heo-white-op:rgba(255, 255, 255, 0.2);--heo-black:#000;--heo-black-op:rgba(0, 0, 0, 0.2);--heo-none:#00000000;--heo-gray:#999999;--heo-gray-op:#9999992b;--heo-vip:#e5a80d;--heo-main:var(--heo-theme);--heo-main-op:var(--heo-theme-op);--heo-main-op-deep:var(--heo-theme-op-deep);--heo-main-none:var(--heo-theme-none);--heo-shadow-theme:0 8px 12px -3px var(--heo-theme-op);--heo-shadow-blackdeep:0 2px 16px -3px rgba(0, 0, 0, .15);--heo-shadow-main:0 8px 12px -3px var(--heo-main-op);--heo-shadow-blue:0 8px 12px -3px rgba(40, 109, 234, .20);--heo-shadow-white:0 8px 12px -3px rgba(255, 255, 255, .20);--heo-shadow-black:0 0 12px 4px rgba(0, 0, 0, .05);--heo-shadow-yellow:0px 38px 77px -26px rgba(255, 201, 62, .12);--heo-shadow-red:0 8px 12px -3px #ee7d7936;--heo-shadow-green:0 8px 12px -3px #87ee7936;--heo-logo-color:linear-gradient(215deg, #4584ff 0%, #cf0db9 100%);--heo-snackbar-time:5s}#page{border:0;box-shadow:none!important;padding:0!important;background:0 0!important}body{background:#0d0d0d;position:relative;overflow:hidden}#heoMusic-page meting-js .aplayer{display:flex;flex-direction:row-reverse;background:rgba(0,0,0,0);border:none;box-shadow:none;justify-content:space-between}#page{border:0;box-shadow:none!important;padding:0!important;background:0 0!important}#music_bg{display:none;position:fixed;z-index:-999;width:200%;height:200%;top:-50%;left:-50%;background-position:0 0;rotate:0;background-size:40%;transition:.6s;background-image:url(https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/music1/img/cover.webp)}#music_bg::before{content:'';transform:translateZ(0);background:rgba(0,0,0,.4);backdrop-filter:blur(200px);-webkit-backdrop-filter:blur(200px);transform:translateZ(0);position:fixed;z-index:-998;top:-50%;left:-50%;width:200%;height:200%}body #music_bg{display:block}body{background:#0d0d0d}#heoMusic-page{max-width:calc(1200px - 160px);margin:auto;margin-top:60px}#heoMusic-page meting-js .aplayer{display:flex;flex-direction:row-reverse;background:rgba(0,0,0,0);border:none;box-shadow:none}body #web_bg{filter:blur(63px);opacity:.6;background-repeat:no-repeat;background-size:cover}body #footer,body #nav-music{display:none}#heoMusic-page .aplayer-body{width:70%;height:75vh}#heoMusic-page ol>li:hover{background:var(--heo-black-op);border-radius:6px}#heoMusic-page .aplayer-pic{float:none;width:60px;height:60px;border-radius:12px;margin:auto;bottom:30px;left:90px;position:fixed;z-index:999;display:none}#heoMusic-page .aplayer-info{margin:0 20px 0 20px;border-bottom:none}#heoMusic-page .aplayer-info .aplayer-music{text-align:center;height:auto;margin:15px;display:none}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author,#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{font-size:2rem;font-weight:700;color:#fff}#heoMusic-page .aplayer-info .aplayer-lrc{padding-top:80px;height:var(--vh);mask-image:linear-gradient(to bottom,#000,#000,#000,#000,#000,#000,#000,#000,#000,#000,#0000,#0000)}#heoMusic-page .aplayer-info .aplayer-lrc p{font-size:36px;line-height:44px;height:44px;margin-bottom:36px;color:#fff;font-weight:700;text-align:left;filter:blur(2px);opacity:.3;transition:all .9s cubic-bezier(.56,.17,.22,.76);user-select:none;text-shadow:0 2px 0 #ffffff00}#heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current{filter:blur(0);opacity:1;transition:all .3s cubic-bezier(.56,.17,.22,.76),text-shadow 8s 4s ease-in;height:fit-content;text-shadow:0 2px 16px #ffffff94}#heoMusic-page .aplayer-info .aplayer-lrc p.aplayer-lrc-current:first-child{text-shadow:0 2px 16px #ffffff00}@media screen and (min-width:768px){#heoMusic-page .aplayer-info .aplayer-lrc:hover p{filter:blur(0)}}#heoMusic-page .aplayer .aplayer-lrc:after,#heoMusic-page .aplayer .aplayer-lrc:before{display:none}.aplayer .aplayer-lrc .aplayer-lrc-contents{width:90%;margin-left:auto;transition:all .5s cubic-bezier(.49,.21,.22,.84);position:relative}@media screen and (max-width:768px){.aplayer .aplayer-lrc .aplayer-lrc-contents{width:100%}}#heoMusic-page .aplayer-info .aplayer-controller{position:fixed;max-width:calc(1200px - 160px);margin:auto;left:0;right:0;bottom:50px;align-items:center}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-bar-wrap{margin:0 160px 0 150px}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-played{background:var(--heo-white)!important}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-thumb{-webkit-transform:none;transform:none;background:#fff!important}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back,#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward,#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{display:inline;position:fixed}#heoMusic-page .aplayer-info .aplayer-time{position:absolute;width:100%;bottom:24px;height:0;display:flex;justify-content:flex-end}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner{margin-right:18px;margin-top:-8px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back{position:absolute;left:0}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{position:absolute;left:40px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward{position:absolute;left:80px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon{width:2rem;height:2rem;margin-left:15px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon::before{content:'';position:absolute;padding:8px;top:-6px;width:8px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-menu{display:none}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon path{fill:var(--heo-white);opacity:.8}#heoMusic-page .aplayer-list{width:40%;max-width:480px;max-height:none!important;height:100%;min-width:200px}#heoMusic-page ol{max-height:calc(var(--vh) - 170px)!important}#heoMusic-page ol::-webkit-scrollbar-thumb{background-color:var(--heo-white-op)}#heoMusic-page ol>li{font-size:14px;opacity:.6}#heoMusic-page ol>li.aplayer-list-light{background:var(--heo-black-op);border-radius:6px;height:60px;display:flex;flex-direction:column;opacity:1}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-index{display:none}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{font-size:20px;line-height:20px;margin-top:8px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#heoMusic-page ol>li span{color:var(--heo-white)}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-cur{display:none}#heoMusic-page ol>li span.aplayer-list-title{line-height:32px}#heoMusic-page ol>li .aplayer-list-index{line-height:32px}#heoMusic-page ol>li span.aplayer-list-author{opacity:.6;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:40%;line-height:32px}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{max-width:100%}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar{height:8px;border-radius:8px;background:var(--heo-white-op)}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-loaded{background:var(--heo-white-op);height:8px;border-radius:8px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played{height:8px;border-radius:8px}.aplayer .aplayer-info .aplayer-controller .aplayer-bar-wrap .aplayer-bar .aplayer-played .aplayer-thumb{height:16px;width:16px}.page #nav{backdrop-filter:none!important;background:0 0!important;border-bottom:none!important}.page #page-header #nav .back-home-button,.page #page-header.not-top-img #nav a{color:var(--heo-white)}body .s-sticker div{color:var(--heo-white)!important}body .aplayer .aplayer-info .aplayer-controller .aplayer-time .aplayer-icon.aplayer-icon-loop{margin-right:7px}.aplayer .aplayer-info .aplayer-controller .aplayer-time{color:var(--heo-white)}[data-theme=dark] .page #page-header:before{background-color:transparent}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap:hover .aplayer-volume-bar-wrap{height:120px;border-radius:40px;width:30px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap{width:30px}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar{width:100%;height:100%;left:0}.aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap .aplayer-volume-bar-wrap .aplayer-volume-bar .aplayer-volume{width:100%;background:var(--heo-white)!important}@media screen and (max-width:768px){body #rightside{display:none}body #content-inner,body #page{z-index:auto}#heoMusic-page .aplayer-list{position:fixed;z-index:1002;width:100%;bottom:0;left:0;background:var(--heo-white);border-radius:16px 16px 0 0;padding:15px 0;max-width:100%;height:calc(var(--vh) - 200px)}#heoMusic-page .aplayer-list.aplayer-list-hide{bottom:-100%!important}#heoMusic-page ol{max-height:100%!important;padding-right:3px;padding-left:8px}#heoMusic-page ol>li{display:flex}#heoMusic-page ol>li span{color:var(--font-color)}#heoMusic-page ol>li span.aplayer-list-title{width:30%}#heoMusic-page ol>li.aplayer-list-light{background:#33a673;padding:5px 20px;border-radius:10px;height:52px;justify-content:center}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{margin-top:4px}#heoMusic-page ol>li.aplayer-list-light span{color:#fff}#heoMusic-page ol>li span.aplayer-list-title{max-width:55%;width:auto;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;-webkit-box-orient:vertical}#heoMusic-page ol>li.aplayer-list-light .aplayer-list-title{max-width:unset;display:unset}#heoMusic-page ol>li span.aplayer-list-author{right:10px;width:auto;max-width:35%;display:-webkit-box;-webkit-line-clamp:1;overflow:hidden;-webkit-box-orient:vertical;margin-left:auto;white-space:normal}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{margin-left:0}#heoMusic-page ol>li.aplayer-list-light span.aplayer-list-author{right:15px}#heoMusic-page .aplayer-body{width:100%;overflow:hidden;position:fixed;margin:auto;left:0;right:0;top:0;height:calc(var(--vh) - 200px)}#heoMusic-page .aplayer-info .aplayer-lrc{margin-top:0;height:auto;min-height:100%;mask-image:linear-gradient(to bottom,#000,#000,#000,#000,#0000,#0000)}#heoMusic-page .aplayer-info .aplayer-controller{width:100%;bottom:120px}#heoMusic-page .aplayer-info .aplayer-controller .aplayer-bar-wrap{margin:0 32px}#heoMusic-page .aplayer-info .aplayer-time{bottom:-40px;align-items:center}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner{position:absolute;width:100%;margin-right:4px;margin-top:-60px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-dtime{position:absolute;right:30px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-time-inner .aplayer-ptime{position:absolute;left:44px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-back{margin:auto;right:110px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-play{margin:auto;right:0;left:0;width:56px;height:56px}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-forward{margin:auto;left:110px;right:0}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-order{position:absolute;left:22px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-loop{position:absolute;right:25px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-info .aplayer-time .aplayer-icon-menu{display:inline;position:absolute;right:30px;top:-100px;width:24px;height:24px;opacity:.4}#heoMusic-page .aplayer-volume-bar-wrap{bottom:0;right:7px}#heoMusic-page .aplayer .aplayer-info .aplayer-controller .aplayer-volume-wrap{left:-66px;display:none}#heoMusic-page .aplayer-info .aplayer-lrc{padding-top:100px}#heoMusic-page .aplayer-info .aplayer-lrc p{font-size:32px;margin-bottom:38px;line-height:42px;height:42px}#heoMusic-page .aplayer-info .aplayer-music{display:flex;position:fixed;top:calc(var(--vh) - 178px);left:0;margin:0;margin-left:32px;height:21px;max-width:calc(100vw - 110px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.6;align-items:center;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{font-size:16px;font-weight:400;margin:0;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author{margin-left:4px;font-size:16px;font-weight:400;line-height:1}#heoMusic-page .aplayer-info .aplayer-music .aplayer-author,#heoMusic-page .aplayer-info .aplayer-music .aplayer-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100vw - 176px)}.aplayer .aplayer-lrc{overflow:inherit}}
@@ -8,12 +8,12 @@
8
8
  "start_url": "/music1/",
9
9
  "icons": [
10
10
  {
11
- "src": "https://cdn.cbd.int/mycpen-blog@0.0.0-wkbvbkfufl/music1/img/192.png",
11
+ "src": "https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/music1/img/192.png",
12
12
  "sizes": "192x192",
13
13
  "type": "image/png"
14
14
  },
15
15
  {
16
- "src": "https://cdn.cbd.int/mycpen-blog@0.0.0-wkbvbkfufl/music1/img/512.png",
16
+ "src": "https://cdn.cbd.int/mycpen-blog@0.0.0-wlucboffkr/music1/img/512.png",
17
17
  "sizes": "512x512",
18
18
  "type": "image/png"
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mycpen-blog",
3
- "version": "0.0.0-wkbvbkfufl",
3
+ "version": "0.0.0-wlucboffkr",
4
4
  "description": "mycpen blog static file",
5
5
  "main": "index.js",
6
6
  "directories": {