1var t,e=document.getElementById("web_container"),n=document.getElementById("web_box");document.getElementById("body-wrap"),document.querySelector("main");document.addEventListener("DOMContentLoaded",(function(){function o(e){var o,a;t=s(e),n.style.transition="all .3s",o=c,a=i,document.addEventListener("mousemove",o),document.addEventListener("mouseup",a),document.addEventListener("touchmove",o,{passive:!1}),document.addEventListener("touchend",a)}function c(e){const o=s(e)-t;if(o<0){const t=window.innerWidth,e=Math.min(-300,-1*o/t*300),c=Math.min(1,.86+o/t*.14);n.style.transform=`translate3d(-${e}px, 0px, 0px) scale3d(${c}, ${c}, 1)`}}function i(t){const e=window.innerWidth;s(t)<=e/1.5?(n.style.transition="all 0.3s ease-out",n.style.transform="none",h.close(),a(c,i)):(n.style.transition="",n.style.transform=""),a(c,i)}function s(t){return t.type.startsWith("touch")?t.changedTouches[0].clientX:t.clientX}function a(t,e){document.removeEventListener("mousemove",t),document.removeEventListener("mouseup",e),document.removeEventListener("touchmove",t),document.removeEventListener("touchend",e)}let d,u,m,l=!1;const r=document.getElementById("sidebar-menus"),f=document.getElementById("rightside");let b=document.getElementById("nav");const p=t=>{if(t){d=document.getElementById("site-name").offsetWidth;const t=document.querySelectorAll("#menus .menus_item");u=0,t.length&&t.forEach((t=>{u+=t.offsetWidth}));const e=document.querySelector("#search-button");m=e?e.offsetWidth:0,b=document.getElementById("nav")}let e="";e=window.innerWidth<=768||d+u+m>b.offsetWidth-120,e?b.classList.add("hide-menu"):b.classList.remove("hide-menu")},h={open:()=>{btf.sidebarPaddingR(),btf.changeThemeMetaColor("#607d8b"),btf.animateIn(document.getElementById("menu-mask"),"to_show 0.5s"),r.classList.add("open"),n.classList.add("open"),f.classList.add("hide"),b.style.borderTopLeftRadius="12px",l=!0,document.body.style.overflow="hidden",n.addEventListener("mousedown",o),n.addEventListener("touchstart",o,{passive:!1}),e.style.background=window.location.pathname.startsWith("/music/")?"rgb(255 255 255 / 20%)":"var(--global-bg)"},close:()=>{const t=document.body;btf.initThemeColor(),t.style.paddingRight="",btf.animateOut(document.getElementById("menu-mask"),"to_hide 0.5s"),r.classList.remove("open"),n.classList.remove("open"),f.classList.remove("hide"),b.style.borderTopLeftRadius="0px",l=!1,document.body.style.overflow="auto",btf.addNavBackgroundInit(),setTimeout((function(){e.style.background="none"}),300)}},g=function(){const t=GLOBAL_CONFIG.highlight;if(!t)return;const e=t.highlightCopy,n=t.highlightLang,o=GLOBAL_CONFIG_SITE.isHighlightShrink,c=t.highlightHeightLimit,i=e||n||void 0!==o,s="highlighjs"===t.plugin?document.querySelectorAll("figure.highlight"):document.querySelectorAll('pre[class*="language-"]');if(!i&&!c||!s.length)return;const a="prismjs"===t.plugin;let d="",u="";const m=!0===o?"closed":"";void 0!==o&&(d=`<i class="fas fa-angle-down expand ${m}"></i>`),e&&(u='<div class="copy-notice"></div><i class="fas fa-paste copy-button"></i>');const l=t=>{const e=t.parentNode;e.classList.add("copy-true");const n=window.getSelection(),o=document.createRange();o.selectNodeContents(a?e.querySelectorAll("pre code")[0]:e.querySelectorAll("table .code pre")[0]),n.removeAllRanges(),n.addRange(o);((t,e)=>{if(document.queryCommandSupported&&document.queryCommandSupported("copy"))if(document.execCommand("copy"),void 0!==GLOBAL_CONFIG.Snackbar)btf.snackbarShow(GLOBAL_CONFIG.copy.success);else{const t=e.previousElementSibling;t.innerText=GLOBAL_CONFIG.copy.success,t.style.opacity=1,setTimeout((()=>{t.style.opacity=0}),700)}else void 0!==GLOBAL_CONFIG.Snackbar?btf.snackbarShow(GLOBAL_CONFIG.copy.noSupport):e.previousElementSibling.innerText=GLOBAL_CONFIG.copy.noSupport})(0,t.lastChild),n.removeAllRanges(),e.classList.remove("copy-true")},r=function(t){const e=t.target.classList;e.contains("expand")?(t=>{const e=[...t.parentNode.children].slice(1);t.firstChild.classList.toggle("closed"),btf.isHidden(e[e.length-1])?e.forEach((t=>{t.style.display="block"})):e.forEach((t=>{t.style.display="none"}))})(this):e.contains("copy-button")&&l(this)},f=function(){this.classList.toggle("expand-done")};function b(t,e,n){const o=document.createDocumentFragment();if(i){const e=document.createElement("div");e.className="highlight-tools "+m,e.innerHTML=d+t+u,e.addEventListener("click",r),o.appendChild(e)}if(c&&e.offsetHeight>c+30){const t=document.createElement("div");
1t.className="code-expand-btn",t.innerHTML='<i class="fas fa-angle-double-down"></i>',t.addEventListener("click",f),o.appendChild(t)}"hl"===n?e.insertBefore(o,e.firstChild):e.parentNode.insertBefore(o,e)}s.forEach(n?a?function(t){const e=`<div class="code-lang">${t.getAttribute("data-language")?t.getAttribute("data-language"):"Code"}</div>`;btf.wrap(t,"figure",{class:"highlight"}),b(e,t)}:function(t){let e=t.getAttribute("class").split(" ")[1];"plain"!==e&&void 0!==e&&"plaintext"!==e||(e="Code");b(`<div class="code-lang">${e}</div>`,t,"hl")}:a?function(t){btf.wrap(t,"figure",{class:"highlight"}),b("",t)}:function(t){b("",t,"hl")})};const w=function(t){const e=t=>{let e="";const n=t=>t.replace(/"/g,""");return t.forEach((t=>{const o=t.alt?`alt="${n(t.alt)}"`:"",c=t.title?`title="${n(t.title)}"`:"",i=t.address?t.address:"";e+=`\n <div class="fj-gallery-item">\n ${i?`<div class="tag-address">${i}</div>`:""}\n <img src="${t.url}" ${o+c}>\n </div>\n `})),e},n=(t,n,o)=>{const c=+o,i=n.length;return i>c?t.insertAdjacentHTML("beforeend",e(n.splice(0,c))):(t.insertAdjacentHTML("beforeend",e(n)),t.classList.remove("lazyload")),window.lazyLoadInstance&&window.lazyLoadInstance.update(),i>c?c:i},o=(t,o)=>{const c=t.getAttribute("data-limit")??o.length;if(!t.classList.contains("lazyload")||o.length<c)t.innerHTML=e(o),t.nextElementSibling.style.display="none";else if(!t.classList.contains("btn_album_detail_lazyload")||t.classList.contains("page_img_lazyload")){n(t,o,c);const e=()=>{const e=n(t,o,c);fjGallery(t,"appendImages",t.querySelectorAll(`.fj-gallery-item:nth-last-child(-n+${e})`)),btf.loadLightbox(t.querySelectorAll("img")),e<+c&&i.unobserve(t.nextElementSibling)},i=new IntersectionObserver(((t,n)=>{t.forEach((t=>{t.isIntersecting&&setTimeout(e(),100)}))}));i.observe(t.nextElementSibling)}else{n(t,o,c);const e=()=>{const i=n(t,o,c);fjGallery(t,"appendImages",t.querySelectorAll(`.fj-gallery-item:nth-last-child(-n+${i})`)),btf.loadLightbox(t.querySelectorAll("img")),i<c&&t.nextElementSibling.removeEventListener("click",e)};t.nextElementSibling.addEventListener("click",e)}btf.initJustifiedGallery(t),btf.loadLightbox(t.querySelectorAll("img")),window.lazyLoadInstance&&window.lazyLoadInstance.update()},c=()=>{t.forEach((t=>{t.classList.contains("url")?(async t=>{const e=await fetch(t);return await e.json()})(t.textContent).then((e=>{o(t,e)})):o(t,JSON.parse(t.textContent))}))};window.fjGallery?c():(getCSS(""+GLOBAL_CONFIG.source.justifiedGallery.css),getScript(""+GLOBAL_CONFIG.source.justifiedGallery.js).then(c))},y=function(){const t=document.getElementById("rightside"),e=window.innerHeight+56;let n=0;document.body.scrollHeight<=e&&(t.style.cssText="opacity: 1; transform: translateX(-58px)");let o=0,c=!0;const i=document.getElementById("page-header"),s="function"==typeof chatBtnHide,a="function"==typeof chatBtnShow;let d=!1;const u=document.getElementById("nav-music"),m=document.getElementById("footer"),l=document.getElementById("waterfall"),r=document.getElementById("percent"),f=document.getElementById("nav-totop"),b=document.getElementById("body-wrap");let p=document.getElementById("post-comment")||document.getElementById("footer");const h=btf.throttle((()=>{const u=window.scrollY||document.documentElement.scrollTop,m=function(t){const e=t>o;return o=t,e}(u),h=Math.abs(n-u);u>60&&h<20&&0!=h||(n=u,u>26?(m?(i.classList.contains("nav-visible")&&i.classList.remove("nav-visible"),a&&!0===c&&(chatBtnHide(),c=!1)):(i.classList.contains("nav-visible")||i.classList.add("nav-visible"),s&&!1===c&&(chatBtnShow(),c=!0)),requestAnimationFrame((()=>{btf.initThemeColor(),i.classList.add("nav-fixed")})),"0"===window.getComputedStyle(t).getPropertyValue("opacity")&&(t.style.cssText="opacity: 0.8; transform: translateX(-58px)")):(u<=5&&requestAnimationFrame((()=>{i.classList.remove("nav-fixed"),i.classList.remove("nav-visible"),btf.initThemeColor()})),t.style.cssText="opacity: ''; transform: ''"),document.body.scrollHeight<=e&&(t.style.cssText="opacity: 0.8; transform: translateX(-58px)"),function(t){let e=b.clientHeight;const n=document.documentElement.clientHeight,o=e>n?e-n:document.documentElement.scrollHeight-n,c=Math.round(t/o*100),i=c>100?100:c<=0?1:c;if(r.textContent=i,function(t){if(!t)return;if("none"==window.getComputedStyle(t).getPropertyValue("display"))return;const e=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;return t.offsetTop-document.documentElement.scrollTop<=e}(p)||i>90?(f.classList.add("long"),r.textContent="è¿åé¡¶é¨"):(f.classList.remove("long"),r.textContent=i),l){const e=t%document.documentElement.clientHeight;!d&&e+100>=document.documentElement.clientHeight?setTimeout((()=>
1{waterfall("#waterfall")}),500):setTimeout((()=>{l&&waterfall("#waterfall")}),500)}}(u))}),96);m&&btf.intersectionObserver((()=>{m&&u&&768<document.body.clientWidth&&(u.style.bottom="-10px",u.style.opacity="0"),d=!0}),(()=>{m&&u&&768<document.body.clientWidth&&(u.style.bottom="20px",u.style.opacity="1")}))().observe(m),window.scrollCollect=h,window.addEventListener("scroll",scrollCollect)},L=function(){const t=GLOBAL_CONFIG_SITE.isToc,e=GLOBAL_CONFIG.isAnchor,n=document.getElementById("article-container");if(!n||!t&&!e)return;let o,c,i,s;if(t){const t=document.getElementById("card-toc");c=t.getElementsByClassName("toc-content")[0],o=c.querySelectorAll(".toc-link"),s=c.classList.contains("is-expand"),window.mobileToc={open:()=>{t.style.cssText="animation: toc-open .3s; opacity: 1; right: 55px"},close:()=>{t.style.animation="toc-close .2s",setTimeout((()=>{t.style.cssText="opacity:''; animation: ''; right: ''"}),100)}},c.addEventListener("click",(t=>{t.preventDefault();const e=t.target.classList;if(e.contains("toc-content"))return;const n=e.contains("toc-link")?t.target:t.target.parentElement;btf.scrollToDest(btf.getEleTop(document.getElementById(decodeURI(n.getAttribute("href")).replace("#","")))-60,300),window.innerWidth<900&&window.mobileToc.close()})),i=t=>{const e=t.getBoundingClientRect().top,n=c.scrollTop;e>document.documentElement.clientHeight-100&&(c.scrollTop=n+150),e<100&&(c.scrollTop=n-150)}}const a=n.querySelectorAll("h1,h2,h3,h4,h5,h6");let d="";window.tocScrollFn=btf.throttle((()=>{!function(n){if(0===n)return!1;let u="",m="";if(a.forEach((function(t,e){if(n>btf.getEleTop(t)-80){const n=t.id;u=n?"#"+encodeURI(n):"",m=e}})),d!==m&&(e&&btf.updateAnchor(u),d=m,t)){if(c.querySelectorAll(".active").forEach((t=>{t.classList.remove("active")})),""===u)return;const t=o[m];if(t.classList.add("active"),setTimeout((()=>{i(t)}),0),s)return;let e=t.parentNode;for(;!e.matches(".toc");e=e.parentNode)e.matches("li")&&e.classList.add("active")}}(window.scrollY||document.documentElement.scrollTop)}),96),window.addEventListener("scroll",tocScrollFn)},O=()=>{const t=document.body;t.classList.add("read-mode");const e=document.createElement("button");e.type="button",e.className="fas fa-sign-out-alt exit-readmode",t.appendChild(e),e.addEventListener("click",(function n(){t.classList.remove("read-mode"),e.remove(),e.removeEventListener("click",n)}))},G=t=>{const e=document.getElementById("rightside-config-hide").classList;e.toggle("show"),t.classList.contains("show")&&(e.add("status"),setTimeout((()=>{e.remove("status")}),300)),t.classList.toggle("show")},v=()=>{btf.scrollToDest(0,500)},_=()=>{const t=document.documentElement.classList;t.contains("hide-aside")?saveToLocal.set("aside-status","show",2):saveToLocal.set("aside-status","hide",2),t.toggle("hide-aside")},I=()=>{const t=document.getElementById("console");document.documentElement.classList.contains("hide-aside")?document.querySelector("#consoleHideAside").classList.add("on"):document.querySelector("#consoleHideAside").classList.remove("on"),t.classList.contains("show")?t.classList.remove("show"):t.classList.add("show");const e=document.querySelector("#consoleKeyboard");e&&("true"===localStorage.getItem("keyboardToggle")?(e.classList.add("on"),!0):(e.classList.remove("on"),!1))},C=()=>{"0"===window.getComputedStyle(document.getElementById("card-toc")).getPropertyValue("opacity")?window.mobileToc.open():window.mobileToc.close()};document.getElementById("rightside").addEventListener("click",(function(t){const e=t.target.id?t.target:t.target.parentNode;switch(e.id){case"go-up":v();break;case"rightside_config":G(e);break;case"mobile-toc-button":C();break;case"readmode":O();break;case"darkmode":btf.switchDarkMode();break;case"hide-aside-btn":_();break;case"center-console":I()}})),document.addEventListener("touchstart",(t=>{btf.removeRewardMask()}),{passive:!0});const A=()=>{document.querySelectorAll("#sidebar-menus .site-page.group").forEach((function(t){t.addEventListener("click",(function(){this.classList.toggle("hide")}))}))},B=function(){document.querySelectorAll("#article-container .tab > button").forEach((function(t){t.addEventListener("click",(function(t){const e=this,n=e.parentNode;if(!n.classList.contains("active")){const t=n.parentNode.nextElementSibling,o=btf.siblings(n,".active")[0];o&&o.classList.remove("active"),n.classList.add("active");const c=e.getAttribute("data-href").replace("#","");
1[...t.children].forEach((t=>{t.id===c?t.classList.add("active"):t.classList.remove("active")}));const i=t.querySelectorAll(`#${c} .fj-gallery`);i.length>0&&btf.initJustifiedGallery(i)}}))}))},F=()=>{document.querySelectorAll("#article-container .tabs .tab-to-top").forEach((function(t){t.addEventListener("click",(function(){btf.scrollToDest(btf.getEleTop(btf.getParents(this,".tabs"))-60,300)}))}))},k=function(t,e=!1){t.forEach((t=>{const n=t,o=n.getAttribute("datetime");n.innerText=e?btf.diffDate(o,!1,e):btf.diffDate(o,!0),n.style.display="inline"}))},N=t=>{if(/^(rgb|RGB)/.test(t)){return t.replace(/(?:\(|\)|rgb|RGB)*/g,"").split(",").reduce(((t,e)=>t+(+e).toString(16).padStart(2,"0")),"#")}return/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$/.test(t)&&4===t.length?Array.from(t.slice(1)).reduce(((t,e)=>t+e+e),"#"):t},x=(t,e)=>{const n=t.startsWith("#");n&&(t=t.slice(1));let o=parseInt(t,16);const c=(t,e)=>(t+=e)>255?255:t<0?0:t,i=c(o>>16,e),s=c(o>>8&255,e);return(n?"#":"")+("000000"+(c(255&o,e)|s<<8|i<<16).toString(16)).slice(-6)},S=t=>{const e=(t=>{t=t.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,((t,e,n,o)=>e+e+n+n+o+o));const e=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return e?`rgb(${parseInt(e[1],16)}, ${parseInt(e[2],16)}, ${parseInt(e[3],16)})`:null})(t).match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/),[n,o,c,i]=e;return(299*o+587*c+114*i)/255e3>=.5?"light":"dark"};window.onkeydown=function(t){123===t.keyCode&&btf.snackbarShow("å¼åè
模å¼å·²æå¼ï¼è¯·éµå¾ªGPLåè®®",!1)};window.refreshFn=function(){p(!0),b.classList.add("show"),GLOBAL_CONFIG_SITE.isPost?(void 0!==GLOBAL_CONFIG.noticeOutdate&&function(){const t=GLOBAL_CONFIG.noticeOutdate,e=btf.diffDate(GLOBAL_CONFIG_SITE.postUpdate);if(e>=t.limitDay){const n=document.createElement("div");n.className="post-outdate-notice",n.textContent=t.messagePrev+" "+e+" "+t.messageNext;const o=document.getElementById("article-container");"top"===t.position?o.insertBefore(n,o.firstChild):o.appendChild(n)}}(),GLOBAL_CONFIG.relativeDate.post&&k(document.querySelectorAll("#post-meta time"))):(GLOBAL_CONFIG.relativeDate.homepage?k(document.querySelectorAll("#recent-posts time")):GLOBAL_CONFIG.relativeDate.simplehomepage&&k(document.querySelectorAll("#recent-posts time"),!0),GLOBAL_CONFIG.runtime&&(()=>{const t=document.getElementById("runtimeshow");if(t){const e=t.getAttribute("data-publishDate");t.innerText=btf.diffDate(e)+" "+GLOBAL_CONFIG.runtime}})(),(()=>{const t=document.getElementById("last-push-date");if(t){const e=t.getAttribute("data-lastPushDate");t.innerText=btf.diffDate(e,!0)}})(),function(){const t=document.querySelectorAll("#aside-cat-list .card-category-list-item.parent i");t.length&&t.forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault(),this.classList.toggle("expand");const e=this.parentNode.nextElementSibling;e.style.display=btf.isHidden(e)?"block":"none"}))}))}()),L(),GLOBAL_CONFIG_SITE.isHome&&(()=>{const t=document.getElementById("bbTimeList"),e=document.getElementById("scroll-down");e&&e.addEventListener("click",(function(){t?btf.scrollToDest(t.offsetTop,300):btf.scrollToDest(document.getElementById("content-inner").offsetTop,300)}))})(),g(),GLOBAL_CONFIG.isPhotoFigcaption&&document.querySelectorAll("#article-container img").forEach((function(t){const e=t.parentNode,n=t.title||t.alt;if(n&&!e.parentNode.classList.contains("justified-gallery")){const o=document.createElement("div");o.className="img-alt is-center",o.textContent=n,e.insertBefore(o,t.nextSibling)}})),y(),window.scrollCollect&&window.scrollCollect();const t=document.querySelectorAll("#content-inner .fj-gallery");var e;t.length&&w(t),btf.loadLightbox(document.querySelectorAll("#article-container img:not(.no-lightbox)")),(()=>{const t=document.querySelectorAll("#article-container :not(.highlight) > table, #article-container > table");t.length&&t.forEach((t=>{btf.wrap(t,"div",{class:"table-wrap"})}))})(),function(){const t=document.querySelectorAll("#article-container .hide-button");t.length&&t.forEach((function(t){t.addEventListener("click",(function(t){this.classList.add("open");
1const e=this.nextElementSibling.querySelectorAll(".fj-gallery");e.length&&btf.initJustifiedGallery(e)}))}))}(),B(),F(),function(){let t=!1;const e=document.querySelector("#comment-switch > .switch-btn");e&&e.addEventListener("click",(function(){this.classList.toggle("move"),document.querySelectorAll("#post-comment > .comment-wrap > div").forEach((function(t){t.style.cssText=btf.isHidden(t)?"display: block;animation: tabshow .5s":"display: none;animation: ''"})),t||"function"!=typeof loadOtherComment||(t=!0,loadOtherComment())}))}(),document.getElementById("toggle-menu").addEventListener("click",(()=>{h.open()})),document.getElementById("post-comment")&&function(){let t=1,e="",n=document.createElement("div");n.id="owo-big";let o=document.querySelector("body");function c(c){"IMG"==c.target.tagName&&t&&(t=0,e=setTimeout((()=>{let t=3*c.target.clientWidth,e=c.x-c.offsetX-(t-c.target.clientWidth)/2;e+t>o.clientWidth&&(e-=e+t-o.clientWidth+10),e<0&&(e=10);let i=c.y-c.offsetY;n.style.height=3*c.target.clientHeight+"px",n.style.width=t+"px",n.style.left=e+"px",n.style.top=i+"px",n.style.display="flex",n.innerHTML=`<img src="${c.target.src}">`}),100))}function i(o){n.style.display="none",t=1,clearTimeout(e)}o.appendChild(n),new MutationObserver((t=>{t.forEach((t=>{const e=t.addedNodes;for(let t=0;t<e.length;t++){const n=e[t];if(n.nodeType===Node.ELEMENT_NODE&&n.classList.contains("OwO-body")&&!n.classList.contains("comment-barrage")){const t=n;t.addEventListener("contextmenu",(t=>t.preventDefault())),t.addEventListener("mouseover",c),t.addEventListener("mouseout",i)}}}))})).observe(document.getElementById("post-comment"),{childList:!0,subtree:!0})}(),function(){const t=document.querySelector(".topGroup");t&&t.addEventListener("mouseleave",(function(){document.getElementById("todayCard").classList.remove("hide"),document.getElementById("todayCard").style.zIndex=1}))}(),(async()=>{const t=document.querySelector(":root"),e=document.getElementById("post-top-bg")?.src;if(!e)return t.style.setProperty("--icemyst-bar-background","var(--icemyst-meta-theme-color)"),btf.initThemeColor(),document.documentElement.style.setProperty("--icemyst-main",getComputedStyle(document.documentElement).getPropertyValue("--icemyst-theme")),document.documentElement.style.setProperty("--icemyst-theme-op",getComputedStyle(document.documentElement).getPropertyValue("--icemyst-main")+"23"),void document.documentElement.style.setProperty("--icemyst-theme-op-deep",getComputedStyle(document.documentElement).getPropertyValue("--icemyst-main")+"dd");if(GLOBAL_CONFIG.mainTone)if(GLOBAL_CONFIG_SITE.postMainColor){let e=GLOBAL_CONFIG_SITE.postMainColor;"light"===S(e)&&(e=x(N(e),-40)),t.style.setProperty("--icemyst-bar-background",e),btf.initThemeColor(),GLOBAL_CONFIG.mainTone.cover_change&&(document.documentElement.style.setProperty("--icemyst-main",e),document.documentElement.style.setProperty("--icemyst-theme-op",getComputedStyle(document.documentElement).getPropertyValue("--icemyst-main")+"23"),document.documentElement.style.setProperty("--icemyst-theme-op-deep",getComputedStyle(document.documentElement).getPropertyValue("--icemyst-main")+"dd"))}else{const n="var(--icemyst-theme)";let o="";"cdn"==GLOBAL_CONFIG.mainTone.mode||"both"==GLOBAL_CONFIG.mainTone.mode?o=e+"?imageAve":"api"==GLOBAL_CONFIG.mainTone.mode&&(o=GLOBAL_CONFIG.mainTone.api+e);try{const c=await fetch(o);if(c.ok&&c.headers.get("content-type")?.includes("application/json")){const e=await c.json();let n="cdn"==GLOBAL_CONFIG.mainTone.mode||"both"==GLOBAL_CONFIG.mainTone.mode?"#"+e.RGB.slice(2):e.RGB;"light"===S(n)&&(n=x(N(n),-40)),t.style.setProperty("--icemyst-bar-background",n),btf.initThemeColor(),GLOBAL_CONFIG.mainTone.cover_change&&(document.documentElement.style.setProperty("--icemyst-main",n),document.documentElement.style.setProperty("--icemyst-theme-op",getComputedStyle(document.documentElement).getPropertyValue("--icemyst-main")+"23"),document.documentElement.style.setProperty("--icemyst-theme-op-deep",getComputedStyle(document.documentElement).getPropertyValue("--icemyst-main")+"dd"))}else if("both"==GLOBAL_CONFIG.mainTone.mode)try{const o=await fetch(GLOBAL_CONFIG.mainTone.api+e);if(o.ok&&o.headers.get("content-type")?.includes("application/json")){let e=(await o.json()).RGB;"light"===S(e)&&(e=x(N(e),-40)),t.style.setProperty("--icemyst-bar-background",e),btf.initThemeColor(),GLOBAL_CONFIG.mainTone.cover_change&&(document.documentElement.style.setProperty("--icemyst-main",e),document.documentElement.style.setProperty("--icemyst-theme-op",getComputedStyle(document.documentElement).getPropertyValue("--icemyst-main")+"23"),document.documentElement.style.setProperty("--icemyst-theme-op-deep",getComputedStyle(document.documentElement).getPropertyValue("--icemyst-main")+"dd"))}else t.style.setProperty("--icemyst-bar-background",n),btf.initThemeColor(),document.documentElement.style.setProperty("--icemyst-main",n)}catch{t.style.setProperty("--icemyst-bar-background",n),btf.initThemeColor(),document.documentElement.style.setProperty("--icemyst-main",n)}else t.style.setProperty("--icemyst-bar-background",n),btf.initThemeColor(),document.documentElement.style.setProperty("--icemyst-main",n)}catch(e){t.style.setProperty("--icemyst-bar-background",n),btf.initThemeColor(),document.documentElement.style.setProperty("--icemyst-main",n)}}})(),(e=document.getElementById("toPageText"))&&e.addEventListener("keydown",(t=>{if(13===t.keyCode){btf.toPage();var e=document.getElementById("toPageButton");pjax.loadUrl(e.href)}}))},refreshFn(),window.addEventListener("resize",(()=>{p(!1),btf.isHidden(document.getElementById("toggle-menu"))&&l&&h.close()})),btf.darkModeStatus(),document.getElementById("menu-mask").addEventListener("click",(t=>{h.close()})),GLOBAL_CONFIG.islazyload&&(window.lazyLoadInstance=new LazyLoad({elements_selector:"img",threshold:0,data_src:"lazy-src"})),void 0!==GLOBAL_CONFIG.copyright&&(()=>{const t=GLOBAL_CONFIG.copyright;document.body.oncopy=e=>{let n;e.preventDefault();const o=""+window.getSelection(0);return n=o.length>
1t.limitCount?o+"\n\n\n"+t.languages.author+"\n"+t.languages.link+window.location.href+"\n"+t.languages.source+"\n"+t.languages.info:o,e.clipboardData?e.clipboardData.setData("text",n):window.clipboardData.setData("text",n)}})(),GLOBAL_CONFIG.navMusic&&function(){const t=setInterval((()=>{if(navMusicEl&&navMusicEl.querySelector("#nav-music meting-js").aplayer){clearInterval(t);let e='<i class="fas fa-play"></i><span>ææ¾é³ä¹</span>',n='<i class="fas fa-pause"></i><span>æåé³ä¹</span>';navMusicEl.querySelector("#nav-music meting-js").aplayer.on("pause",(function(){navMusicEl.classList.remove("playing"),document.getElementById("menu-music-toggle").innerHTML=e,document.getElementById("nav-music-hoverTips").innerHTML="é³ä¹å·²æå",document.querySelector("#consoleMusic").classList.remove("on"),!1,navMusicEl.classList.remove("stretch")})),navMusicEl.querySelector("#nav-music meting-js").aplayer.on("play",(function(){navMusicEl.classList.add("playing"),document.getElementById("menu-music-toggle").innerHTML=n,document.querySelector("#consoleMusic").classList.add("on"),!0}))}}),16)}(),GLOBAL_CONFIG.shortcutKey&&document.getElementById("consoleKeyboard")&&(localStorage.setItem("keyboardToggle","true"),document.getElementById("consoleKeyboard").classList.add("on"),!0),A()}));
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.