`;c.applyStyleFromText(`.v-checkbox{font-size:10pt;cursor:pointer;display:flex;align-items:center}.v-checkbox .mdi{font-size:15pt;line-height:1}.v-checkbox .content{flex-grow:1;text-align:left;padding:0 8px}.v-checkbox .mdi-checkbox-marked-circle{color:var(--theme-color);position:absolute;top:0;left:0;transform:scale(0);transition-timing-function:cubic-bezier(.6,-.28,.74,.05)}.v-checkbox .mdi-checkbox-blank-circle-outline{color:#8884;position:relative}.v-checkbox.checked .mdi-checkbox-blank-circle-outline{color:var(--theme-color)}.v-checkbox.checked .mdi-checkbox-marked-circle{transform:scale(1);transition-timing-function:cubic-bezier(.18,.89,.32,1.28)}`,"v-checkbox-style");return{export:Object.assign({template:i},{props:["checked","title"],methods:{toggleCheck(){this.$emit("update:checked",!this.checked)}}})}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/tweets.min.css"] = `.nav-search-submit{display:block!important;color:var(--foreground-color-d)!important;transform:translateX(-125px);-webkit-tap-highlight-color:transparent}.nav-search-submit:hover{color:var(--foreground-color)!important}#nav_searchform{transition:.3s ease-out;box-shadow:none;width:0!important;padding:0!important}.preserve-rank>a{opacity:0!important;pointer-events:none}.showSearch .preserve-rank>a{opacity:.382!important;pointer-events:initial}.showSearch #nav_searchform{box-shadow:0 2px 10px 1px #0002;width:250px!important}.showSearch .nav-search-submit,.showSearch .nav-search-submit:hover{color:#888!important;transform:none}@media only screen and (max-width:1291px){.showSearch #nav_searchform{width:140px!important}}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/download-danmaku.min.js"] = (()=>{return(t,e)=>{const{getFriendlyTitle:n}=e.import("title");const{DanmakuInfo:i}=e.import("video-info");const{DanmakuConverter:a}=e.import("danmaku-converter");async function o(t){const e=n();let i={title:e};try{await loadDanmakuSettingsPanel();const t=t=>{const e=parseFloat(dq(t).style.transform.replace(/translateX\(([\d\.]+)/,"$1"));const n={0:0,44:1,94:2,144:3,188:4}[e];return n};i.font=dq(".bilibili-player-video-danmaku-setting-right-font .bui-select-result").innerText;i.alpha=parseFloat(dq(".bilibili-player-setting-opacity .bui-bar").style.transform.replace(/scaleX\(([\d\.]+)\)/,"$1"));i.duration=(()=>{const e=[18,14,10,8,6][t(".bilibili-player-setting-speedplus .bui-thumb")];return t=>{switch(t.type){case 4:case 5:return 4;default:return e}}})();i.blockTypes=(()=>{let t=[];const e={".bilibili-player-block-filter-type[ftype=scroll]":[1,2,3],".bilibili-player-block-filter-type[ftype=top]":[5],".bilibili-player-block-filter-type[ftype=bottom]":[4],".bilibili-player-block-filter-type[ftype=color]":["color"]};for(const[n,i]of Object.entries(e)){if(dq(n).classList.contains("disabled")){t=t.concat(i)}}return t.concat(7,8)})();const e=[1.4,1.2,1,.8,.6][t(".bilibili-player-setting-fontsize .bui-thumb")];i.resolution={x:1920*e,y:1080*e};i.bottomMarginPercent=[.75,.5,.25,0,0][t(".bilibili-player-setting-area .bui-thumb")];if(i.bottomMarginPercent===0&&dq(".bilibili-player-video-danmaku-setting-left-preventshade input").checked){i.bottomMarginPercent=.15}i.bold=dq(".bilibili-player-video-danmaku-setting-right-font-bold input").checked}catch(t){i={font:"微软雅黑",alpha:.6,duration:t=>{switch(t.type){case 4:case 5:return 4;default:return 6}},blockTypes:[7,8],resolution:{x:1920,y:1080},bottomMarginPercent:.15,bold:false}}const o=new a(i);const l=o.convertToAssDocument(t);return l.generateAss()}async function l(t,e){const a=n();const l=new i((unsafeWindow||window).cid);await l.fetchInfo();const r=await(async()=>{if(t===true){return new Blob([await o(l.rawXML)],{type:"text/plain"})}else{return new Blob([l.rawXML],{type:"text/plain"})}})();const s=URL.createObjectURL(r);const c=dq("#danmaku-link");const d=c.getAttribute("href");if(d){URL.revokeObjectURL(d)}clearTimeout(e);dq("#download-danmaku>span").innerHTML="下载弹幕";c.setAttribute("download",`${a}.${t?"ass":"xml"}`);c.setAttribute("href",s);c.click()}return{export:{downloadDanmaku:l,convertToAss:o},widget:{content:`\n`,condition:async()=>{let t=await SpinQuery.select(()=>(unsafeWindow||window).cid);return Boolean(t)},success:()=>{const t=document.querySelector("#danmaku-link");dq("#download-danmaku").addEventListener("click",e=>{if(e.target!==t){const t=setTimeout(()=>dq("#download-danmaku>span").innerHTML="请稍侯...",200);l(e.shiftKey,t)}})}}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/gui-settings.min.js"] = (()=>{return(e,t)=>{const{ThemeColors:n}=t.import("theme-colors");const{SettingsSearch:i}=t.import("settings-search");const{Validator:s}=t.import("text-validate");let o=[];let c=[];let a=[];function l(e){let t=e.nextElementSibling;const n=[];while(t!==null&&!t.classList.contains("category")){n.push(t);t=t.nextElementSibling}return n}function r(){a.forEach(t=>t.value=e[t.getAttribute("key")]);c.forEach(t=>t.checked=e[t.getAttribute("key")])}function d(){document.querySelector(".gui-settings-mask").addEventListener("click",()=>{document.querySelectorAll(".gui-settings-widgets-box,.gui-settings-box,.gui-settings-mask,.bilibili-evolved-about").forEach(e=>e.classList.remove("opened"))});a.forEach(t=>{t.setAttribute("placeholder",e[t.getAttribute("key")])});document.querySelectorAll(".gui-settings-content ul li.category").forEach(e=>{e.addEventListener("click",e=>{const t=document.querySelector(".gui-settings-search");if(t.value!==""){t.value="";raiseEvent(t,"input")}e.currentTarget.classList.toggle("folded");l(e.currentTarget).forEach(e=>e.classList.toggle("folded"))})});document.querySelectorAll(".gui-settings-dropdown>input").forEach(e=>{e.addEventListener("click",e=>{e.currentTarget.parentElement.classList.toggle("opened")})})}function u(){c.forEach(t=>{t.addEventListener("change",()=>{const n=t.getAttribute("key");const i=t.checked;e[n]=i})});a.forEach(t=>{t.addEventListener("change",()=>{const n=t.getAttribute("key");const i=s.getValidator(n).validate(t.value);e[n]=i;t.value=i})})}function g(){const e=o.map(e=>[e.getAttribute("dependencies").split(" ").map(e=>o.find(t=>t.getAttribute("key")===e)),e]);const t=e=>e.nodeName.toUpperCase()==="LI"?e:t(e.parentElement);e.forEach(([e,n])=>{if(e[0]===undefined){return}const i=()=>{if(e.every(e=>e.checked)){t(n).classList.remove("disabled")}else{t(n).classList.add("disabled")}};e.forEach(e=>e.addEventListener("change",i));i()})}function f(){if(typeof offlineData!=="undefined"){}}function m(){if(window.devicePixelRatio===1){o.find(e=>e.getAttribute("key")==="harunaScale").disabled=true;o.find(e=>e.getAttribute("key")==="imageResolution").disabled=true;e.harunaScale=false;e.imageResolution=false}}function p(){for(const[e,t]of Object.entries(Resource.displayNames)){const n=o.find(t=>t.getAttribute("key")===e);if(!n){continue}switch(n.type){case"checkbox":n.nextElementSibling.nextElementSibling.innerHTML=t;break;case"text":const e=n.parentElement;if(e.classList.contains("gui-settings-textbox-container")){n.previousElementSibling.innerHTML=t}else if(e.classList.contains("gui-settings-dropdown")){e.previousElementSibling.innerHTML=t}break;default:break}}}(async()=>{t.applyStyle("guiSettingsStyle");t.applyImportantStyle("iconsStyle");document.body.classList.add("round-corner");const s=document.body&&unsafeWindow.parent.window!==unsafeWindow;if(s){document.querySelector(".gui-settings-icon-panel").style.display="none"}if(e.guiSettingsDockSide==="右侧"){document.body.classList.add("gui-settings-dock-right")}const l=t.data.guiSettingsHtml.text;document.body.insertAdjacentHTML("beforeend",l);const{style:y}=await t.importAsync("mdi");if(!y){document.body.insertAdjacentHTML("afterbegin",``)}const b=document.querySelector(".widgets-container");const h=b.querySelector(".empty-tip");Observer.childList(b,()=>{if(b.childElementCount<=1){h.classList.add("show")}else{h.classList.remove("show")}});const E=document.querySelectorAll(".gui-settings-widgets-box,.gui-settings-box");const S=document.querySelector(".gui-settings-icon-panel");S.addEventListener("mouseover",async()=>{const{loadTooltip:e}=await t.importAsync("settings-tooltip.loader");await e();await t.applyDropdownOptions();t.applyWidgets();raiseEvent(S,"be:load");const s=dq(".bilibili-evolved-about");if(s){raiseEvent(s,"be:about-load")}(new n).setupDom();E.forEach(e=>e.classList.add("loaded"));o=[...document.querySelectorAll("input[key]")];c=o.filter(e=>e.type==="checkbox");a=o.filter(e=>e.type==="text"&&!e.parentElement.classList.contains("gui-settings-dropdown"));d();f();r();g();u();m();p();addSettingsListener("guiSettingsDockSide",e=>{document.body.classList.toggle("gui-settings-dock-right",e==="右侧")});new i},{once:true})})()}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/watchlater.min.js"] = (()=>{return(e,t)=>{const i=e=>{const t=e.match(/(av[\d]+)\/p([\d]+)/);if(t){return`https://www.bilibili.com/video/${t[1]}/?p=${t[2]}`}else{return"javascript:;"}};const r=e=>{const t=e.map(e=>{const t=e.getAttribute("href");if(!t){return"javascript:;"}if(t.match(/.*watchlater.*|javascript:;/g)){return i(t)}if(t.indexOf("video/av")!==-1){return t}});e.forEach((e,i)=>{e.setAttribute("href",t[i]);e.setAttribute("target","_blank")})};const a=(...e)=>{for(const t of e){SpinQuery.select(()=>document.querySelectorAll(t),e=>r([...e]))}};SpinQuery.select(".watch-later-list").then(()=>{Observer.childListSubtree("#viewlater-app",()=>{SpinQuery.condition(()=>document.URL.match(/(av[\d]+)\/p([\d]+)/),e=>e&&document.URL.indexOf("watchlater")!==-1,()=>{const e=i(document.URL);if(e!==null){window.location.replace(e)}});SpinQuery.select("#viewlater-app .s-btn[href='#/']",e=>e.remove());a(".av-pic",".av-about>a")})});SpinQuery.select("li.nav-item[report-id*=watchlater]").then(()=>{Observer.childListSubtree("li.nav-item[report-id*=watchlater]",()=>{a(".av-item>a",".av-about>a","div.watch-later-m>ul>div>li>a");SpinQuery.select(".read-more.mr",e=>e.remove());SpinQuery.select(".read-more-grp>.read-more",e=>{e.style.width="auto";e.style.float="none"})})});SpinQuery.select(".van-popper-favorite").then(async e=>{if(!e){return}const t=Observer.childListSubtree(e,()=>{const i=e.querySelector(".play-all");if(i){const e="//www.bilibili.com/watchlater/#/list";Observer.attributes(i,()=>{if(i.getAttribute("href")==="//www.bilibili.com/watchlater/"){i.setAttribute("href",e);i.firstChild.classList.remove("bili-icon_dingdao_bofang");i.firstChild.classList.add("bili-icon_xinxi_yuedushu");i.lastChild.nodeValue="查看全部"}else if(i.getAttribute("href")!==e){i.firstChild.classList.add("bili-icon_dingdao_bofang");i.firstChild.classList.remove("bili-icon_xinxi_yuedushu");i.lastChild.nodeValue="播放全部"}});t.forEach(e=>e.stop())}})})}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/no-live-autoplay.min.js"] = (()=>{return(e,t)=>{(async()=>{const e=document.URL.replace(window.location.search,"");if(e!=="https://live.bilibili.com/"&&e!=="https://live.bilibili.com/index.html"){return}SpinQuery.condition(()=>document.querySelector(".component-ctnr video,.bilibili-live-player-video video"),e=>e&&!e.paused,()=>{const e=document.querySelector(".bilibili-live-player-video-controller-start-btn>button");e.click()});const t="hide-home-live-style";addSettingsListener("hideHomeLive",e=>{if(e===true){const e=document.createElement("style");e.innerText=`.player-area-ctnr,#player-header { display: none !important }`;e.id=t;document.body.append(e)}else{const e=document.getElementById(t);e&&e.remove()}},true)})()}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/default-video-quality.min.js"] = (()=>{return(e,a)=>{const t=[{name:"1080P60",value:116},{name:"1080P+",value:112},{name:"1080P",value:80},{name:"720P60",value:74},{name:"720P",value:64},{name:"480P",value:32},{name:"360P",value:15},{name:"自动",value:0}];async function i(){const a=await SpinQuery.any(()=>$(".bilibili-player-video-quality-menu .bui-select-list>li.bui-select-item"));if(!a){return}const i=(e,a)=>a-e;const[n]=a.toArray().map(e=>parseInt(e.getAttribute("data-value"))).sort(i);const[l]=t.filter(a=>a.name===e.defaultVideoQuality).map(e=>e.value).sort(i);const[r]=t.map(e=>e.value).filter(e=>e<=Math.min(l,n)).sort(i);const u=await SpinQuery.select(()=>document.querySelector("video"));function s(){a.each((e,a)=>{if(parseInt(a.getAttribute("data-value"))===r){a.click()}});this.removeEventListener("play",s)}u.addEventListener("play",s)}if(Observer.videoChange){Observer.videoChange(i)}else{Observer.childList("#bofqi",()=>i())}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/selectable-column-text.min.js"] = (()=>{return(e,t)=>{const n=`.article-holder { user-select: text !important }`;const r="selectable-column-text-style";const l=()=>{t.applyStyleFromText(n,r);SpinQuery.unsafeJquery().then(async()=>{if(!unsafeWindow.$){return}await SpinQuery.select(".article-holder");unsafeWindow.$(".article-holder").unbind("copy")})};l();return{reload:l,unload:()=>{document.getElementById(r).remove()}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/style.min.css"] = `.bili-wrapper{display:flex!important;justify-content:center!important;align-items:center!important;height:50px!important}.bili-header-m>.nav-menu,.link-navbar,.link-navbar .main-ctnr .nav-items-ctnr,.link-navbar-ctnr .link-navbar,.link-navbar-ctnr .link-navbar .main-ctnr .nav-items-ctnr,.nav-header-wrapper{background:var(--theme-color)!important}.bili-header-m>.nav-menu,.link-navbar-ctnr,.nav-header-wrapper{box-shadow:var(--theme-color-70) 0 2px 10px 1px!important}div.stardust-player{background:#fff!important}.nav-header-wrapper>.nav-header,.nav-mask{background-color:transparent!important}.link-navbar,.nav-mask{box-shadow:none!important}.nav-con{flex-grow:10!important;flex-shrink:0!important}.nav-con.fl{margin-left:-2em!important}.nav-search-box{margin:9px 0 0!important}.bili-header-m .nav-menu .nav-con .nav-item .t,.link-navbar .main-ctnr .custom-link>a,.link-navbar .main-ctnr .nav-logo,.link-navbar .main-ctnr .nav-switcher,.link-navbar .nav-item,.link-navbar .nav-item .icon-font,.link-navbar .nav-item.selected .label,.link-navbar .nav-item:hover,.my-link-btn,.nav-header-wrapper .nav-header .nav-header-mainsite,.nav-header-wrapper .nav-header .order-center,.shortcuts-ctnr,.shortcuts-ctnr .shortcut-item,.stardust-video .nav-menu .nav-con .nav-item.home .drop,.stardust-video .nav-menu .nav-con .nav-item.home .header-icon-Navbar_logo{color:var(--foreground-color-d)!important}.stardust-video .nav-menu .nav-con .nav-item.home .header-icon-Navbar_logo{transform:scale(.75)!important;top:7px!important}.stardust-video .nav-menu .up-load .up-nav{top:42px!important}.link-navbar .nav-item:hover,.link-navbar-ctnr .link-navbar .nav-item:hover,.link-navbar-ctnr .shortcuts-ctnr .shortcut-item:hover,.my-link-btn:hover,.publish-btn:hover,.shortcuts-ctnr .shortcut-item:hover,li.nav-item:not(.profile-info):hover{background-color:hsla(0,0%,var(--brightness),.2)!important}.link-navbar .nav-item:hover .nav-link .label,.my-link-btn .label:hover,.publish-btn:hover::after,.shortcuts-ctnr .shortcut-item .label-wrapper .text:hover,li.nav-item.home:hover{background:0 0!important}.vip-m{background:#fff!important}a.t>i.bili-icon,a.t>i.bili-icon-logo{width:50px!important;left:-60px!important;top:0!important;height:50px!important;background-position-y:12px!important}.link-navbar .nav-item:first-child::before,.main-ctnr .nav-logo:before,.nav-header-wrapper .nav-header .nav-header-logo,.nav-header-wrapper .nav-header .nav-header-tv-icon,.nav-header-wrapper .nav-header .order-icon,a.t>i.bili-icon,a.t>i.bili-icon-logo{filter:brightness(0) var(--invert-filter)!important;opacity:.81!important}#entryOld,.b-icon-app,.blp-red-tip::after,.main-container .entry-old,.nav-search-submit,.title-icon,body>#Header{display:none!important}.bilibili-player-video-inputbar{display:flex!important}.i-face>.face,.user-panel-ctnr .msg-hinter{box-shadow:0 0 2px 1.5px #0002!important}div.up-load{margin-top:8px!important;margin-left:9px!important;height:32px!important;order:4!important;flex-grow:0;flex-shrink:0}.stardust-video .nav-menu .nav-wrapper{padding:0 5rem!important}.publish-btn{height:40px!important;line-height:40px!important;background:var(--theme-color)!important;border:1px solid!important;border-radius:5px!important;box-shadow:none!important;top:calc(50% - 20px)!important;transition:.2s!important}.publish-panel{margin-top:7px!important}.my-link-btn{border-radius:0!important}.main-ctnr .search-bar-ctnr .search-bar input,.slot-ctnr a{color:#222!important}.main-ctnr .search-bar-ctnr .search-bar .placeholder,.main-ctnr .search-bar-ctnr .search-bar .search-btn{color:#878787!important}.main-ctnr .search-bar-ctnr .search-bar{border:none!important;box-shadow:0 2px 10px 1px #0002!important}.u-link{background:0 0!important;color:var(--foreground-color-d)!important;border-radius:4px!important;line-height:30px!important;height:30px!important;transition:background-color .2s!important}.shortcuts-ctnr .shortcut-item .hinter,.shortcuts-ctnr .shortcut-item .num-hinter,.u-link{border:1px solid!important}.u-link:hover{opacity:1!important;background-color:hsla(0,0%,var(--brightness),.2)!important}#nav_searchform,.stardust-video .nav-con .nav-search{width:130px!important}.stardust-video .nav-con .nav-search .nav-search-keyword{color:#222!important;width:120px!important;padding-right:32px}.nav-header-wrapper .nav-header .nav-header-search-bar,.stardust-video .nav-con #nav_searchform{border-radius:4px!important;background:#fffb!important;border:none!important;transition:background-color .2s!important;box-shadow:0 2px 10px 1px #0002;padding-right:0!important}.search-bar-ctnr .search-bar{background-color:#fffd!important;transition:.2s!important}.nav-header-wrapper .nav-header .nav-header-search-bar:focus-within,.nav-header-wrapper .nav-header .nav-header-search-bar:hover,.search-bar-ctnr .search-bar:focus-within,.search-bar-ctnr .search-bar:hover,.stardust-video .nav-con #nav_searchform:focus-within,.stardust-video .nav-con #nav_searchform:hover{background-color:#fff!important}#bilibiliPlayer{box-shadow:0 4px 16px 0 var(--theme-color-40)!important}.blur-bg{opacity:var(--blur-background-opacity)!important;filter:blur(20px)!important}.suggest-item .cancel{width:28px!important}.stardust-video .nav-con ul.bilibili-suggest{margin-left:-35px!important;width:200px!important}li.suggest-item>a{max-width:155px!important}.nav-item div.num{box-shadow:0 .5px 4px 0 #0004!important}#primary_menu,#primary_menu>ul.nav-menu{display:flex!important;align-items:center!important}.bilibili-player-video-btn-quality{width:auto!important;margin:0 6px!important}#primary_menu,div.nav-gif{padding:0!important}.filter-item.search,body{margin:0!important}.input-box textarea{padding:8px!important}.link-navbar .main-ctnr .nav-switcher.open-btn{filter:brightness(0) invert(1)!important;opacity:.8!important}.guard-rank-cntr.open .tip.rank-desc{visibility:visible!important}.guard-rank-cntr .rank-cntr .tip{visibility:hidden!important}.tag-container .tag-item .tag-border .tag-border-inner{width:100%!important}.bilibili-player-video-control{background-color:transparent!important}.mouse-hover .bilibili-player-video-control-top,.video-control-show .bilibili-player-video-control-top{left:0!important;right:0!important;bottom:32px!important}.bilibili-player-video-control-top{left:-12px!important;right:-12px!important;bottom:0!important}.bilibili-player .bilibili-player-area .bilibili-player-video-control-wrap{bottom:0!important}.showSearch .nav-search-submit{top:6px!important}.nav-header-wrapper .nav-header .nav-header-search-bar::placeholder,.search-bar-ctnr .search-bar .search-btn,.search-bar-ctnr .search-bar input::placeholder{color:#888!important}.card-list .card{border:none!important;border-radius:4px!important}@media only screen and (min-width:1291px){.nav-con{margin:0 1em!important}#nav_searchform,.stardust-video .nav-con .bilibili-suggest.nav,.stardust-video .nav-con .nav-search{width:250px!important}.stardust-video .nav-con .nav-search .nav-search-keyword{width:240px!important}.stardust-video .nav-con ul.bilibili-suggest{margin-left:0!important;width:250px!important}.stardust-video .nav-con li.suggest-item>a{max-width:205px!important}}@media screen and (min-width:750px){.player .bilibili-player.mode-fullscreen .bilibili-player-video-control-wrap .bilibili-player-video-control-top,.player .bilibili-player.mode-webfullscreen .bilibili-player-video-control-wrap .bilibili-player-video-control-top{left:-12px!important;right:-12px!important;bottom:0!important}.mode-fullscreen .bilibili-player-area.mouse-hover:not(.disable-original-hover) .bilibili-player-video-control-top,.mode-fullscreen .bilibili-player-area.video-control-show:not(.disable-original-hover) .bilibili-player-video-control-top,.mode-webfullscreen .bilibili-player-area.mouse-hover:not(.disable-original-hover) .bilibili-player-video-control-top,.mode-webfullscreen .bilibili-player-area.video-control-show:not(.disable-original-hover) .bilibili-player-video-control-top{left:0!important;right:0!important;bottom:42px!important}}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/batch-download.min.js"] = (()=>{return(t,e)=>{const i=12;const s=[".mp4",".m4a"];class n{constructor(t){this.config=t;this.itemList=[]}async getRawItems(t){return JSON.parse(await this.collectData(t))}extension(t,e){const i=[".flv",".mp4"].find(e=>t.includes(e));if(i){return i}else if(t.includes(".m4s")){return s[e]}else{return".flv"}}async collectAria2(s,n){const r=await this.getRawItems(s);if(n){const s=t.aria2RpcOption;const{sendRpc:n}=await e.importAsync("aria2-rpc");for(const t of r){const e=t.fragments.map((e,n)=>{let r="";if(t.fragments.length>1&&!e.url.includes(".m4s")){r=" - "+(n+1)}const a=[];if(s.secretKey!==""){a.push(`token:${s.secretKey}`)}a.push([e.url]);a.push({referer:document.URL.replace(window.location.search,""),"user-agent":UserAgent,out:`${t.title}${r}${this.extension(e.url,n)}`,split:i,dir:s.baseDir+s.dir||undefined,"max-download-limit":s.maxDownloadLimit||undefined});const o=encodeURIComponent(`${t.title}${r}`);return{params:a,id:o}});await n(e,true)}}else{return`\n# Generated by Bilibili Evolved Video Export\n# https://github.com/the1812/Bilibili-Evolved/\n${r.map(t=>{return t.fragments.map((e,s)=>{let n="";if(t.fragments.length>1&&!e.url.includes(".m4s")){n=` - ${s+1}`}return`\n${e.url}\n referer=${t.referer}\n user-agent=${UserAgent}\n out=${t.title}${n}${this.extension(e.url,s)}\n split=${i}\n`.trim()}).join("\n")}).join("\n")}\n`.trim()}}}class r extends n{static async test(){if(!document.URL.includes("/www.bilibili.com/video/av")){return false}return await SpinQuery.select("#multi_page")!==null}async getItemList(){if(this.itemList.length>0){return this.itemList}const t=`https://api.bilibili.com/x/web-interface/view?aid=${unsafeWindow.aid}`;const e=await Ajax.getJson(t);if(e.code!==0){Toast.error(`获取视频选集列表失败, message=${e.message}`,"批量下载");return[]}const i=e.data.pages;if(i===undefined){Toast.error(`获取视频选集列表失败, 没有找到选集信息.`,"批量下载");return[]}this.itemList=i.map(t=>{return{title:`P${t.page} ${t.part}`,cid:t.cid,aid:unsafeWindow.aid}});return this.itemList}async collectData(t){const i=[];for(const s of(await this.getItemList()).filter(this.config.itemFilter)){const n=this.config.api?this.config.api(s.aid,s.cid,t):`https://api.bilibili.com/x/player/playurl?avid=${s.aid}&cid=${s.cid}&qn=${t}&otype=json`;const r=await Ajax.getJsonWithCredentials(n);const a=r.data||r.result||r;if(a.quality!==t){console.warn(`${s.title} 不支持所选画质, 已回退到较低画质. (quality=${a.quality})`)}let o;if(a.durl){o=a.durl.map(t=>{return{length:t.length,size:t.size,url:t.url}})}else{const{getDashInfo:i,dashToFragments:s}=await e.importAsync("video-dash");const r=await i(n,typeof t==="string"?parseInt(t):t);o=s(r)}i.push({fragments:o,title:s.title.replace(/[\/\\:\*\?"<>\|]/g," "),totalSize:o.map(t=>t.size).reduce((t,e)=>t+e),cid:s.cid,referer:document.URL.replace(window.location.search,"")})}return JSON.stringify(i)}}class a extends n{static async test(){return document.URL.includes("/www.bilibili.com/bangumi")}async getItemList(){if(this.itemList.length>0){return this.itemList}const t=document.querySelector("meta[property='og:url']");if(t===null){Toast.error("获取番剧数据失败: 无法找到 Season ID","批量下载");return[]}const e=t.getAttribute("content").match(/play\/ss(\d+)/)[1];if(e===undefined){Toast.error("获取番剧数据失败: 无法解析 Season ID","批量下载");return[]}const i=await Ajax.getJson(`https://api.bilibili.com/pgc/web/season/section?season_id=${e}`);if(i.code!==0){Toast.error(`获取番剧数据失败: 无法获取番剧集数列表, message=${i.message}`,"批量下载");return[]}this.itemList=i.result.main_section.episodes.map((t,e)=>{return{aid:t.aid,cid:t.cid,title:t.long_title?`${t.title} - ${t.long_title}`:`${e+1} - ${t.title}`}});return this.itemList}async collectData(t){const i=[];for(const s of(await this.getItemList()).filter(this.config.itemFilter)){const n=this.config.api?this.config.api(s.aid,s.cid,t):`https://api.bilibili.com/pgc/player/web/playurl?avid=${s.aid}&cid=${s.cid}&qn=${t}&otype=json`;const r=await Ajax.getJsonWithCredentials(n);const a=r.data||r.result||r;if(a.quality!==t){console.warn(`${s.title} 不支持所选画质, 已回退到较低画质. (quality=${a.quality})`)}let o;if(a.durl){o=a.durl.map(t=>{return{length:t.length,size:t.size,url:t.url}})}else{const{getDashInfo:i,dashToFragments:s}=await e.importAsync("video-dash");const r=await i(n,typeof t==="string"?parseInt(t):t);o=s(r)}i.push({fragments:o,title:s.title.replace(/[\/\\:\*\?"<>\|]/g," "),totalSize:o.map(t=>t.size).reduce((t,e)=>t+e),cid:s.cid,referer:document.URL.replace(window.location.search,"")})}return JSON.stringify(i)}}const o=[a,r];let c;class l{constructor(t){this.config=Object.assign({itemFilter:()=>true},t)}static async test(){for(const t of o){if(await t.test()===true){c=t;return true}}return false}getExtractor(){if(c===null){logError("[批量下载] 未找到合适的解析模块.");throw new Error(`[Batch Download] module not found.`)}const t=new c(this.config);return t}async getItemList(){const t=this.getExtractor();return await t.getItemList()}async getRawItems(t){const e=this.getExtractor();return await e.getRawItems(t.quality)}async collectData(t,e){const i=this.getExtractor();const s=await i.collectData(t.quality);e.dismiss();return s}async collectAria2(t,e,i=false){const s=this.getExtractor();const n=await s.collectAria2(t.quality,i);e.dismiss();return n}}return{export:{BatchExtractor:l}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/fill-with-comments.min.js"] = (()=>{return(t,e)=>{const n="fill-with-comments-style";const l=t=>{};return{export:{fillWithComments:l}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/i18n.de-DE.min.js"] = (()=>{return(e,n)=>{const r=new Map([[`*`,[]]]);const t=new Map([]);return{export:{map:r,regex:t}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.min.js"] = (()=>{return(e,a)=>{const n={useDefaultPlayerMode:`控制是否使用默认播放器模式, 可以为常规, 宽屏, 网页全屏或全屏.`,defaultPlayerMode:`设置默认的播放器模式.`,applyPlayerModeOnPlay:`是否在播放时应用模式, 若选择否就会在未开始播放时就应用.`,useDefaultPlayerLayout:`设置默认的播放器布局, 尽量在相应的页面里设置(比如在番剧播放页面设置番剧播放器布局), 否则可能没有效果.\n- 旧版: 传统布局\n- 新版: 视频区默认的新版布局\n注: 旧版布局中, 很多脚本功能将不适用.`,defaultPlayerLayout:`设置视频区的布局.`,defaultBangumiLayout:`设置番剧区的布局.`,useDefaultVideoQuality:`进入视频时自动选择指定的画质, 若视频最高画质低于所选画质, 则使用视频的最高画质.`,defaultVideoQuality:`设定自动选择的视频画质.`,autoLightOff:`首次播放时, 自动进入关灯模式, 并在播放结束后自动开灯.`,useDefaultDanmakuSettings:`设置默认是否开启弹幕, 以及是否记住防挡字幕和智能防挡弹幕.`,enableDanmaku:`控制弹幕是否默认开启.`,rememberDanmakuSettings:`控制是否记住弹幕设置, 包括防挡字幕和智能防挡弹幕. 在播放器中改动这些设置后, 每个视频都会默认使用这些设置.`,expandDanmakuList:`新版播放页面中, 弹幕列表默认收起以显示推荐的其他视频. 启用此功能可在每次加载视频时自动展开弹幕列表.`,expandDescription:`长的视频简介默认会被折叠, 启用此功能可以强制展开完整的视频简介.`,autoPlay:`进入视频页面时自动开始播放视频.`,autoContinue:`播放视频时如果检测到历史记录信息(上次看到...消息), 则自动跳转到相应的时间播放.`,skipChargeList:`自动跳过视频结尾的充电鸣谢.`,framePlayback:`在播放器的时间右边增加两个按钮, 用于较精细调整视频时间. 支持键盘快捷键Shift + 左/右方向键. (旧版播放器只能用键盘快捷键, 不会显示按钮)`,playerFocus:`进入视频/番剧页面时, 自动定位到播放器.`,playerFocusOffset:`定位时的竖直偏移量, 单位为像素(px).`,customStyleColor:`设定顶栏(样式调整启用时)和夜间模式使用的主题色, 可以点击颜色预览的圆圈打开色板, 其中含有预定义的16种主题色, 也可以在右侧的文本框直接输入任何有效的16进制颜色值(#rrggbb或#rgb).`,useNewStyle:`主要会改变顶栏的样式, 并有一些其他地方的界面微调:\n- 为播放器增加主题色投影\n- 可控制顶栏对横幅的透明度\n- 使播放器按钮垂直对齐\n- 使部分搜索栏的提示文字的颜色更清晰\n- 隐藏播放页面的"返回旧版"侧栏\n- 修复直播间一些文字初始状态不正确\n- 窄屏幕下强制保留弹幕发送栏`,blurBackgroundOpacity:`设置顶栏对横幅的透明度(0~1), 数值越高顶栏越淡, 当横幅关闭时此选项无效.`,useDarkStyle:`夜间模式更适合光线暗的环境, 并会大量应用主题颜色.`,darkSchedule:`设置一个使用夜间模式的时间段, 进入/离开此时间段时, 会自动开启/关闭夜间模式.\n结束时间小于起始时间时将视为次日, 如18:00至6:00表示晚上18:00到次日6:00.`,darkScheduleStart:`设置计划时段的起始时间.`,darkScheduleEnd:`设置计划时段的结束时间.`,compactLayout:`设置首页是否使用紧凑布局, 视频的间距会减小并削去圆角, 分区栏的图标会使用高清重制版. 目前仅支持首页, 其他分区的样式后续会添加.`,useCommentStyle:`- 删除热评头像下方的关注按钮\n- 删除用户的等级标识\n- 删除发送源信息(来自安卓客户端这种)\n- 发送时间移动到右上角\n- 位图图标全部换用矢量图标, 高分屏不会模糊\n注: 关注和等级可以通过鼠标停留在头像上, 在弹出的资料卡小窗中查看.`,simplifyLiveroom:`- 隐藏姥爷图标\n- 隐藏粉丝勋章\n- 隐藏活动头衔\n- 隐藏用户等级\n- 隐藏舰长图标\n- 隐藏全区广播\n- 隐藏欢迎信息 (xxx姥爷进入直播间)\n- 隐藏抽奖提示 (开通舰长, 小飞船抽奖等)\n- 禁用直播间皮肤\n每一项都可以在附加功能中单独选择是否隐藏.`,overrideNavBar:`开启后, 在主站中总是把搜索框置于顶栏, 如果页面里没有搜索栏则不会显示.`,showBanner:`控制是否显示主站顶部的横幅`,preserveRank:`控制是否在搜索框左侧显示排行榜图标.`,blurVideoControl:`模糊视频控制栏背景, 原版的阴影效果将无效.`,customControlBackground:`给视频控制栏附上半透明的黑色, 代替原来的阴影.`,customControlBackgroundOpacity:`设置控制栏着色的黑色不透明度(0~1), 数值越大黑色越浓.`,harunaScale:`根据屏幕DPI缩放直播看板娘的大小以提高像素的清晰度.`,removeLiveWatermark:`删除观看直播时角落的水印.`,removeVideoTopMask:`删除视频里鼠标经过时出现在右上角的覆盖层.`,removeAds:`删除站内的各种广告. 包括首页的推广模块, 手机app推荐, 视频页面右侧的广告等.`,watchLaterRedirect:`将稍后再看的链接重定向为普通播放网址, 以使用新版播放页面.`,favoritesRedirect:`将个人空间收藏夹里的视频重定向为直链, 而不是收藏夹播单链接.`,hideTopSearch:`将搜索框的推荐词替换为搜索.`,fullTweetsTitle:`在顶栏的动态预览框中, 总是展开完整的标题.`,fullPageTitle:`在视频选集列表中, 总是展开完整的标题.`,showDeadVideoTitle:`在个人空间中, 为已失效视频恢复标题和封面.`,useBiliplusRedirect:`将失效视频重定向到BiliPlus.`,biliplusRedirect:`在视频/番剧/空间中, 附加功能"转到BiliPlus", 点击可以转到BiliPlus上对应的页面.`,imageResolution:`根据屏幕DPI请求更高分辨率的图片, 例如DPI缩放200%则请求2倍的分辨率, 加载时间也会相应变长一些.`,oldTweets:`将新版动态的链接换为旧版动态, 同时可在附加功能中在新旧动态间切换.`,touchNavBar:`删除顶栏右侧的一级链接(从大会员到历史), 以方便触屏设备快速预览信息. 被删除的链接可从各预览中的查看更多进入.`,comboLike:`为素质三连(长按点赞)启用触摸支持.`,touchVideoPlayer:`增大控制栏的按钮间距, 使触摸操作更准确. 并为播放器启用触摸支持:\n- 左右滑动可调整进度\n- 上下滑动可调整音量\n- 进度调整可在左上角和右上角取消\n- 在不同位置滑动, 可以使用3档不同的灵敏度.`,touchVideoPlayerAnimation:`决定是否要对触摸调整的提示框使用出现/消失动画, 此动画可能导致掉帧.`,touchVideoPlayerDoubleTapControl:`将操作方式更改为: 单击显示/隐藏控制栏, 双击播放/暂停.`,toast:`允许在网页左下角显示来自本脚本的消息, 如更新提醒, 错误提示等.`,toastInternalError:`开启后, 错误消息将显示详细的技术性错误信息及堆栈跟踪, 这通常用于准确地确定问题发生的原因, 所以报告问题时这些信息会非常有用.`,useCache:`使用缓存以提高脚本的加载速度.`};function t(e){const a=e.querySelector("input");if(a){return a.getAttribute("key")}return null}(async()=>{a.applyStyle("settingsTooltipStyle");const e=await SpinQuery.select(()=>document.querySelector(".gui-settings-tooltip"));document.querySelectorAll(".gui-settings-content>ul>li").forEach(a=>{a.addEventListener("mouseover",()=>{const s=n[t(a)];if(s!==undefined){e.innerHTML=s;e.classList.add("show")}});a.addEventListener("mouseout",()=>{e.classList.remove("show")})})})();return{export:{toolTips:n}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/custom-navbar.min.css"] = `@font-face{font-family:custom-navbar-font;src:url(//s1.hdslb.com/bfs/seed/jinkela/header/asserts/iconfont.ttf) format("truetype")}@font-face{font-family:custom-navbar-font-extended;src:url(//s1.hdslb.com/bfs/static/jinkela/video/asserts/iconfont.4bab144.ttf) format("truetype")}@font-face{font-family:custom-navbar-font-new-home;src:url(//s1.hdslb.com/bfs/static/jinkela/international-home/asserts/iconfont.ttf) format("truetype")}.custom-navbar-iconfont,.custom-navbar-iconfont-extended,.custom-navbar-iconfont-new-home{color:inherit;font-family:custom-navbar-font!important;font-size:24px;font-style:normal}.custom-navbar-iconfont-extended{font-family:custom-navbar-font-extended!important}.custom-navbar-iconfont-new-home{font-family:custom-navbar-font-new-home!important}.custom-navbar-icon-logo::before{content:""}.custom-navbar-icon-lv0::before{content:"";color:#9a9a9a}.custom-navbar-icon-lv1::before{content:"";color:#646464}.custom-navbar.dark .custom-navbar-icon-lv0::before{color:#777}.custom-navbar.dark .custom-navbar-icon-lv1::before{color:#ddd}.custom-navbar-icon-lv2::before{content:"";color:#1bc861}.custom-navbar-icon-lv3::before{content:"";color:#22baea}.custom-navbar-icon-lv4::before{content:"";color:#eaa722}.custom-navbar-icon-lv5::before{content:"";color:#ff7631}.custom-navbar-icon-lv6::before{content:"";color:#ff3131}.custom-navbar-icon-profile::before{content:""}.custom-navbar-icon-posts::before{content:""}.custom-navbar-icon-wallet::before{content:""}.custom-navbar-icon-live-center::before{content:""}.custom-navbar-icon-order-center::before{content:""}.custom-navbar-icon-logout::before{content:""}.custom-navbar-icon-ok::before{content:""}.custom-navbar-icon-cancel::before{content:""}.custom-navbar-icon-bind-phone::before{content:""}.custom-navbar-icon-bind-email::before{content:""}.custom-navbar-icon-coin::before{content:""}.custom-navbar-icon-b-coin::before{content:""}.custom-navbar-icon-activity::before{content:""}.custom-navbar-icon-message::before{content:""}.custom-navbar-icon-favorite::before{content:""}.custom-navbar-icon-history::before{content:""}.custom-navbar-icon-vip::before{content:""}[class^=custom-navbar-icon-lv]::before{font-size:24px}body{--navbar-height:50px;--navbar-foreground:#555;--navbar-background:white;--navbar-bounds-padding:0 5%;--navbar-blur-opacity:0.7;--navbar-icon-size:24px}body.custom-navbar-loading::after{content:"";height:var(--navbar-height);width:100%;position:absolute;top:0;left:0;background-color:#fff;z-index:10001}body.dark.custom-navbar-loading::after{background-color:#333}.bili-banner .taper-line,.bili-header-m>#banner_link .search,.i_menu_login,.international-header .mini-header,.z-top-container>.header .search,body.no-banner #banner_link,body.no-banner .z-top-container.has-banner>.header,li.nav-item[report-id=playpage_dynamic] .i-frame,li.nav-item[report-id=playpage_dynamic] iframe{display:none!important}.van-popover{z-index:10002!important}:not(.international-home)>.international-header{height:var(--navbar-height)!important}.bili-header-m>.nav-menu,.z_top{visibility:hidden!important;height:var(--navbar-height)!important}.link-top-container#tab-container{top:var(--navbar-height)!important}.custom-navbar,.custom-navbar *,.custom-navbar-settings,.custom-navbar-settings *{transition:.2s ease-out;-webkit-tap-highlight-color:transparent;outline:0!important;margin-inline-start:0;margin-inline-end:0;padding-inline-start:0;padding-inline-end:0}.custom-navbar{position:absolute;top:0;left:0;height:var(--navbar-height);width:100%;background-color:var(--navbar-background);color:var(--navbar-foreground);z-index:10001;display:flex;justify-content:center}.custom-navbar:not(.fill) .custom-navbar-iconfont{color:var(--theme-color)}.custom-navbar path{fill:var(--navbar-foreground)}.custom-navbar.fill path{fill:var(--foreground-color-d)}.custom-navbar.shadow{box-shadow:#0002 0 1px 10px 1px}.custom-navbar.dark.shadow{box-shadow:#0004 0 2px 10px 1px}.custom-navbar.dark:not(.fill){--navbar-background:#222;--navbar-foreground:#eee}.custom-navbar .popup{color:#000;background:#fff;transition:.2s ease-out .2s}.custom-navbar.dark .popup{color:#eee;background:#222}.custom-navbar.dark .popup iframe{box-shadow:rgba(0,0,0,.2) 0 4px 8px 0}.custom-navbar.fill{--navbar-background:var(--theme-color);--navbar-foreground:var(--foreground-color-d)}.custom-navbar.fill.shadow{box-shadow:var(--theme-color-30) 0 2px 10px 1px}.custom-navbar>ul{display:flex;align-items:center;justify-content:space-between;margin:var(--navbar-bounds-padding);height:100%;flex-grow:1}.custom-navbar ul{list-style:none;color:inherit}.custom-navbar li{color:inherit;list-style:none}.custom-navbar>ul>li{position:relative;height:100%;display:flex;align-items:center;color:inherit}.custom-navbar li .active-bar{position:absolute;left:0;bottom:0;background-color:var(--theme-color);width:100%;height:3px;border-radius:1.5px;display:none}.custom-navbar.fill li .active-bar{background-color:rgba(0,0,0,.3)}.custom-navbar li.active .active-bar{display:flex}.custom-navbar>ul>li.view-border::before{content:"";width:94%;height:94%;border:2px dashed var(--navbar-foreground);position:absolute;top:3%;left:3%;box-sizing:border-box}.custom-navbar>ul>li:not(.disabled){cursor:pointer}.custom-navbar>ul>li.disabled a{cursor:default}.custom-navbar>ul>li:not(.disabled):hover{background:rgba(0,0,0,.1)}.custom-navbar .main-content{font-size:10pt;height:100%;display:flex;align-items:center;padding:0 16px;color:var(--navbar-foreground);user-select:none}.custom-navbar .active .main-content{font-weight:700;font-size:11pt}.custom-navbar .main-content:hover{color:var(--navbar-foreground)!important}.custom-navbar .popup{position:absolute;top:100%;left:50%;padding:8px;box-shadow:rgba(0,0,0,.2) 0 4px 8px 0;pointer-events:none;opacity:0;transform:translateX(-50%);cursor:default}.custom-navbar.dark .popup{box-shadow:rgba(0,0,0,.3) 0 4px 8px 0}.custom-navbar .popup.no-padding{padding:0}.custom-navbar .popup.transparent{background-color:transparent!important;box-shadow:none}.custom-navbar a,.custom-navbar a:hover{color:inherit!important;text-decoration:none}.custom-navbar form{height:100%;display:flex;align-items:center;position:relative;--submit-button-size:30px;opacity:.4;margin:0}.custom-navbar.fill form{opacity:.8}.custom-navbar form:focus-within,.custom-navbar form:hover,.custom-navbar.fill form:focus-within,.custom-navbar.fill form:hover{opacity:1}.custom-navbar form input{border:none;height:60%;background:0 0;border-bottom:1.5px solid!important;color:var(--navbar-foreground);box-sizing:border-box;width:250px;padding-right:var(--submit-button-size);padding-left:4px}.custom-navbar form input:focus{border-bottom-color:var(--navbar-foreground)!important;outline:0!important}.custom-navbar form button[type=submit]{background:0 0;border:none;padding:4px;cursor:pointer;height:var(--submit-button-size);width:var(--submit-button-size);position:absolute;right:0;top:50%;transform:translateY(-50%)}.custom-navbar form input[type=text]::placeholder{color:var(--navbar-foreground)!important;opacity:.9}.custom-navbar .user-face-container{position:relative;height:calc(var(--navbar-height) - 16px);width:calc(var(--navbar-height) - 16px)}.custom-navbar .user-face,.custom-navbar .user-pendant{position:absolute;width:100%;height:100%}.custom-navbar .user-face{background-color:transparent;background-size:contain;border-radius:50%}.custom-navbar .user-pendant{background-color:transparent;background-size:cover;width:170%;height:170%;top:-12px;left:-12px;opacity:0;pointer-events:none}.custom-navbar .user-info-panel{width:240px;font-size:12px}.custom-navbar .user-info-panel .circle{position:relative;width:var(--navbar-icon-size);height:var(--navbar-icon-size);opacity:.7}.custom-navbar .user-info-panel .circle .mdi{position:absolute;top:0;left:0}.custom-navbar .user-info-panel .mdi-circle~.mdi{filter:invert(1);font-size:calc(var(--navbar-icon-size) - 10px);line-height:calc(var(--navbar-icon-size) - 10px);transform:translate(5px,5px)}.custom-navbar .user-info-panel i{font-size:var(--navbar-icon-size);font-style:normal;line-height:var(--navbar-icon-size)}.custom-navbar .user-info-panel .logged-in{display:flex;flex-direction:column;align-items:center;justify-content:space-between}.custom-navbar .user-info-panel .items,.custom-navbar .user-info-panel .row{align-self:stretch;display:flex;justify-content:space-between;align-items:center}.custom-navbar .user-info-panel .row{margin:0 10px}.custom-navbar .user-info-panel .row.level-info{margin-bottom:-5px}.custom-navbar .user-info-panel .privileges{justify-content:center}.custom-navbar .user-info-panel .privileges>*{font-size:11px;background-color:#8882;padding:2px 4px;margin:0 2px;border-radius:4px;line-height:normal;cursor:pointer}.custom-navbar .user-info-panel .privileges>.received{cursor:default;opacity:.5}.custom-navbar .user-info-panel .privileges>:not(.received):hover{background-color:#8884}.custom-navbar .user-info-panel .operation{height:36px;display:flex;align-items:center;justify-content:center;position:relative;align-self:stretch}.custom-navbar .user-info-panel .operation:hover{background-color:rgba(0,0,0,.1)}.custom-navbar .user-info-panel .operation .icon{position:absolute;left:10px;top:50%;transform:translateY(-50%);background:0 0}.custom-navbar .user-info-panel .item>i{opacity:.7;font-size:16pt}.custom-navbar .user-info-panel .item{display:flex;flex-direction:column;justify-content:space-around;align-items:center;height:56px;width:60px}.custom-navbar .user-info-panel .item span{font-size:14px;font-weight:700;opacity:.7}.custom-navbar .user-info-panel .item>i:nth-child(2){font-size:18px;line-height:18px}.custom-navbar .user-info-panel .name,.custom-navbar .user-info-panel .welcome{font-size:16px;font-weight:700;margin:46px 0 16px;text-align:center;color:inherit}.custom-navbar .user-info-panel .name{margin:62px 0 0}.custom-navbar .user-info-panel .type{font-size:11px;opacity:.5;margin:6px 0}.custom-navbar .user-info-panel .separator{height:1px;align-self:stretch;margin:5px 10px;background:rgba(0,0,0,.1)}.custom-navbar .user-info-panel .logout{margin-top:5px}.custom-navbar .user-info-panel .logout:hover{color:inherit!important}.custom-navbar .user-info-panel .level-progress-thumb{width:100%;height:100%;background:var(--theme-color);transform-origin:left}.custom-navbar .user-info-panel .level-progress-label{font-size:11px}.custom-navbar.dark .user-info-panel .separator{background:rgba(255,255,255,.1)}.custom-navbar .grey-button,.custom-navbar .theme-button{align-self:stretch;height:36px;display:flex;align-items:center;justify-content:center}.custom-navbar .grey-button{background:#ededed;color:inherit!important}.custom-navbar .grey-button:hover{background:#ddd}.custom-navbar.dark .grey-button{background:#383838}.custom-navbar.dark .grey-button:hover{background:#333}.custom-navbar .theme-button{background:var(--theme-color);color:var(--foreground-color)!important}.custom-navbar .theme-button:hover{background:var(--theme-color-90);color:var(--foreground-color)!important}.custom-navbar li:hover .user-face,.custom-navbar li:hover .user-pendant{transform:scale(2) translateY(10px);z-index:100;opacity:1}.custom-navbar .video-list{width:280px;font-size:12px}.custom-navbar .video-list li:not(.history-item):not(.more):not(.loading)::after,.custom-navbar .video-list li:not(.history-item):not(.more):not(.loading)::before{content:"";transition:.3s cubic-bezier(.22,.61,.36,1) .1s;width:calc(100% - 16px);height:2px;border-radius:1px;background:linear-gradient(to right,var(--theme-color),var(--theme-color-50));opacity:1;position:absolute;bottom:0;left:8px;pointer-events:none}.custom-navbar .video-list li:not(.history-item):not(.more):not(.loading)::after{width:0;background:linear-gradient(to right,var(--theme-color),var(--theme-color-50))}.custom-navbar .video-list li:not(.history-item):not(.more):not(.loading):hover::after{width:calc(100% - 16px)}.custom-navbar.dark .video-list li:not(.history-item):not(.more):not(.loading)::after{background:linear-gradient(to right,var(--theme-color-60),var(--theme-color))}.custom-navbar .video-list li:not(.history-item):not(.more):not(.loading)::before{background:#8882}.custom-navbar .video-list li{position:relative}.custom-navbar .video-list li:not(.more) a{padding:12px 16px;margin:0;box-sizing:border-box;transition:.2s ease-out .1s;display:block;width:100%;height:100%;line-height:1.5}.custom-navbar.compact .video-list li:not(.more) a{padding:6px 8px}.custom-navbar .video-list li:not(.loading):hover .title{color:var(--theme-color)}.custom-navbar .video-list li.more a{width:100%;padding:8px 0;display:flex;justify-content:center;font-weight:700}.custom-navbar.compact .video-list li.more a{padding:6px 0}.custom-navbar .video-list li.more:hover{border-color:var(--theme-color);color:var(--theme-color)!important}.custom-navbar .video-list .loading{display:flex;justify-content:center;padding:8px;cursor:default}.custom-navbar .video-list.loaded .loading:not(.empty){display:none}.custom-navbar .video-list.history .history-item{border:none!important}.custom-navbar.compact .video-list li:not(.more) a,.custom-navbar.compact .video-list.history .history-item .title{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.custom-navbar .video-list li:not(.history-item):not(.more):hover a{color:var(--theme-color)!important}.custom-navbar .video-list.history li:not(.more) a{justify-content:space-between;position:relative;display:flex;padding:13px 16px!important}.custom-navbar.compact .video-list.history li:not(.more) a{padding:7px 8px!important}.custom-navbar .video-list.history a .description{opacity:.6;margin-left:4px;white-space:nowrap}.custom-navbar .video-list.history a .progress.foreground{height:2px;border-radius:1px;background:linear-gradient(to right,var(--theme-color),var(--theme-color-50));width:0;transition:.3s cubic-bezier(.22,.61,.36,1) .1s}.custom-navbar .video-list.history a:hover .progress.foreground{width:var(--progress)}.custom-navbar.dark .video-list.history a .progress.foreground{background:linear-gradient(to right,var(--theme-color-60),var(--theme-color))}.custom-navbar .video-list.history a .progress.background{position:absolute;bottom:0;left:8px;height:2px;width:calc(100% - 16px);transform-origin:left;border-radius:1px;background:#8882}.custom-navbar .notify-count{position:absolute;left:50%;top:0;background-color:var(--theme-color);padding:0 8px;display:flex;justify-content:center;font-size:11px;transform:translateX(-50%);opacity:0;line-height:14px;white-space:nowrap;color:var(--foreground-color);border-radius:0 0 8px 8px}.custom-navbar .notify-count:not(:empty):not(.hidden){opacity:1}.custom-navbar .notify-count.dot{color:transparent;border-radius:50%;width:8px;height:8px;padding:0;top:2px}.custom-navbar.fill .notify-count{background-color:rgba(0,0,0,.3)}.custom-navbar .blur-layer-container{overflow:hidden;display:none;width:100%;height:100%;position:absolute;top:0;left:0}.custom-navbar.blur .blur-layer-container{display:flex}.custom-navbar .blur-layer{width:100%;height:100%;background-position:center 0;background-repeat:no-repeat;filter:blur(36px);opacity:var(--navbar-blur-opacity)}.custom-navbar .blur-layer.left-pad{position:absolute;left:0;top:0;transform:translateX(-100%) scaleX(-1);width:100%;height:100%}.custom-navbar .blur-layer.right-pad{position:absolute;left:0;top:0;transform:translateX(100%) scaleX(-1);width:100%;height:100%}.custom-navbar.dark .blur-layer{filter:blur(54px)}.custom-navbar ol{color:#000}.custom-navbar.dark ol{color:#eee}.custom-navbar em.suggest-highlight{color:var(--theme-color);font-style:normal}.custom-navbar .search-list-item{padding:6px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;cursor:pointer}.custom-navbar .search-list-item:focus-within,.custom-navbar .search-list-item:hover{background-color:#8883}.custom-navbar .search-list-item.clear-history{text-align:center;font-weight:700;background-color:#8881;margin-top:8px;display:flex;align-items:center;justify-content:center}.custom-navbar .search-list-item.clear-history .mdi{line-height:1;margin-right:6px}.custom-navbar .search-list-item.clear-history:focus-within,.custom-navbar .search-list-item.clear-history:hover{color:var(--theme-color);background-color:#8883}.custom-navbar .search-list{width:250px}.custom-navbar .activity-popup{width:380px;font-size:9pt}.custom-navbar .activity-tabs{display:flex;padding:12px 12px 16px 18px;justify-content:space-between;align-items:center}.custom-navbar .activity-tabs .view-all,.custom-navbar .subscriptions-tabs .view-all{background-color:#8882;padding:4px 6px 4px 10px;height:28px;box-sizing:border-box;border-radius:14px;display:flex;align-items:center}.custom-navbar .activity-tabs .view-all i{font-size:14pt;margin-left:4px}.custom-navbar .subscriptions-tabs .view-all i{font-size:12pt;margin-left:4px}.custom-navbar .activity-tabs .view-all:hover,.custom-navbar .subscriptions-tabs .view-all:hover{background-color:#8884}.custom-navbar .activity-tab{position:relative;cursor:pointer}.custom-navbar .activity-tab.selected{opacity:1;transform:scale(1.2)}.custom-navbar .activity-tab .tab-name{line-height:normal;opacity:.5}.custom-navbar .activity-tab.selected .tab-name{opacity:1;font-weight:700}.custom-navbar .activity-tab[data-count]::before{content:attr(data-count);position:absolute;top:0;left:50%;transform:translateX(-50%) translateY(-100%);font-size:10px;font-weight:400;line-height:1;background-color:#8884;padding:2px 4px;border-radius:10px;white-space:nowrap}.custom-navbar .activity-tab::after,.custom-navbar .subscriptions .tab::after{content:"";width:calc(80%);height:2px;border-radius:1px;position:absolute;background-color:var(--theme-color);left:10%;bottom:-4px;transform:scaleX(0);transition:.2s ease-out}.custom-navbar .activity-tab.selected::after,.custom-navbar .subscriptions .tab.selected::after{transform:scaleX(1)}.custom-navbar .activity-popup-content{overflow:auto;overscroll-behavior:contain;height:500px;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:space-between;scrollbar-width:none!important}.custom-navbar .activity-popup-content::-webkit-scrollbar,.custom-navbar .subscriptions .content::-webkit-scrollbar{width:0!important}.custom-navbar .activity-popup-content .view-more{display:flex;align-items:center;flex-shrink:0;position:-webkit-sticky;position:sticky;bottom:0;left:0;justify-content:center;padding:6px 12px;background-color:#fffe;transform:translateY(-6px);box-shadow:rgba(0,0,0,.12) 0 4px 8px 0;cursor:pointer;height:28px;border-radius:14px;box-sizing:border-box;z-index:2}.custom-navbar .activity-popup-content .view-more:hover{background-color:#fff}.custom-navbar.dark .activity-popup-content .view-more:hover{background-color:#333}.custom-navbar .activity-popup-content .view-more .mdi{line-height:1;margin-left:8px;font-size:12pt}.custom-navbar .activity-popup-content .loading,.custom-navbar .bangumi-subscriptions .empty,.custom-navbar .bangumi-subscriptions .loading{height:100%;align-self:center;display:flex;align-items:center;justify-content:center}.custom-navbar .activity-popup-content .loading .mdi,.custom-navbar .bangumi-subscriptions .loading .mdi{line-height:1;margin-right:6px}.custom-navbar .video-activity{padding:0 12px;display:flex;justify-content:space-between;align-self:stretch}.custom-navbar .video-activity.center{height:100%;flex-direction:column;justify-content:center;align-items:center}.custom-navbar .video-activity-card{--card-width:172px;width:var(--card-width);display:flex;flex-direction:column;box-shadow:rgba(0,0,0,.12) 0 4px 8px 0;margin-bottom:12px;break-inside:avoid;flex-shrink:0}.custom-navbar.dark .activity-popup-content .view-more,.custom-navbar.dark .column-card,.custom-navbar.dark .video-activity-card{box-shadow:rgba(0,0,0,.3) 0 4px 8px 0;background-color:#2d2d2d}.custom-navbar .video-activity-card .cover{width:var(--card-width);background-color:#8884;height:calc(var(--card-width)/ 16 * 10);object-fit:cover;display:block;min-height:100px}.custom-navbar .video-activity-card .title{font-size:10pt;font-weight:700;margin:8px 8px 2px;color:inherit;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-height:1.5;max-height:3em;word-break:break-all}.custom-navbar .video-activity-card .title:hover,.custom-navbar .video-activity-card .up:hover .name{color:var(--theme-color)}.custom-navbar .video-activity-card .up{display:flex;justify-content:space-between;align-items:center;margin:6px 8px;border-radius:13px;padding:2px}.custom-navbar .video-activity-card .up:hover{background-color:#8882}.custom-navbar .video-activity-card .up .face{width:24px;border-radius:50%;background-color:#8884}.custom-navbar .video-activity-card .up .name{padding:0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.custom-navbar .video-activity-card .cover-container{position:relative}.custom-navbar .video-activity-card .time,.custom-navbar .video-activity-card .watchlater{position:absolute;bottom:4px;display:flex;align-items:center;background-color:#000a;color:#fff;padding:0 8px;height:20px;border-radius:10px;box-sizing:border-box;opacity:0}.custom-navbar .video-activity-card:hover .time,.custom-navbar .video-activity-card:hover .watchlater{opacity:1}.custom-navbar .video-activity-card .time{left:4px}.custom-navbar .video-activity-card .watchlater{padding:0 8px 0 3px;right:4px;font-size:11px}.custom-navbar .video-activity-card .watchlater .mdi{line-height:1;margin-right:4px;font-size:16px}.custom-navbar .bangumi-activity{display:flex;flex-direction:column;padding-top:4px;width:100%}.custom-navbar .bangumi-activity.center{height:100%;justify-content:center;align-items:center}.custom-navbar .bangumi-card{--cover-width:100px;margin:0 12px 12px;box-shadow:rgba(0,0,0,.12) 0 2px 8px 0;display:grid;grid-template-areas:"cover epTitle" "cover title";grid-template-columns:var(--cover-width) 1fr;grid-template-rows:6fr 5fr;position:relative;flex-shrink:0}.custom-navbar.dark .bangumi-card,.custom-navbar.dark .live-card{box-shadow:rgba(0,0,0,.3) 0 2px 8px 0;background-color:#2d2d2d}.custom-navbar .bangumi-card .up{grid-area:title;display:flex;align-items:center;padding:0 12px;align-self:start;overflow:hidden}.custom-navbar .bangumi-card .up .cover{height:18px;border-radius:50%}.custom-navbar .bangumi-card .up .title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin:0 6px;line-height:normal}.custom-navbar .bangumi-card .ep-title{grid-area:epTitle;font-size:11pt;font-weight:700;padding:0 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;align-self:center;color:inherit;line-height:normal}.custom-navbar .bangumi-card:hover .ep-title{color:var(--theme-color)}.custom-navbar .bangumi-card .ep-cover{width:var(--cover-width);background-color:#8884;grid-area:cover}.custom-navbar .column-activity{display:flex;flex-direction:column;align-items:stretch;padding:0 12px}.custom-navbar .column-activity.center{height:100%;align-items:center;justify-content:center}.custom-navbar .column-card{display:flex;flex-direction:column;margin-bottom:12px;box-shadow:rgba(0,0,0,.12) 0 4px 8px 0;position:relative;flex-shrink:0}.custom-navbar .column-card .up{position:absolute;left:8px;bottom:6px;padding:2px;display:flex;align-items:center;background-color:#000a;border-radius:14px;height:28px;box-sizing:border-box}.custom-navbar .column-card .face{border-radius:50%;height:24px}.custom-navbar .column-card .up .name{margin:0 6px;color:#fff}.custom-navbar .column-card .title{padding:10px 10px 0;font-size:11pt;font-weight:700;color:inherit;line-height:normal}.custom-navbar .column-card:hover .title{color:var(--theme-color)}.custom-navbar .column-card .description{margin:8px 10px;max-height:3em;overflow:hidden;text-overflow:ellipsis;word-break:break-all;line-height:1.5;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box}.custom-navbar .column-card .covers{position:relative;display:flex}.custom-navbar .column-card .cover{width:0;flex-grow:1;object-fit:cover}.custom-navbar .live-activity{display:flex;flex-direction:column;align-items:stretch;width:100%;padding-top:4px}.custom-navbar .live-activity.center{height:100%;align-items:center;justify-content:center}.custom-navbar .live-card{margin:0 12px 12px;box-shadow:rgba(0,0,0,.12) 0 2px 8px 0;display:grid;grid-template-areas:"face title" "face name";grid-template-columns:48px 1fr;grid-template-rows:6fr 5fr;height:52px;border-radius:26px;box-sizing:border-box;padding:2px;width:auto;flex-shrink:0}.custom-navbar .live-card .face{grid-area:face;border-radius:50%;height:48px}.custom-navbar .live-card .live-title{grid-area:title;font-size:11pt;font-weight:700;align-self:center;padding:0 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:inherit;line-height:normal}.custom-navbar .live-card:hover .live-title{color:var(--theme-color)}.custom-navbar .live-card .name{grid-area:name;align-self:start;padding:0 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:normal}.custom-navbar .activity-content-enter-active,.custom-navbar .activity-content-leave-active,.custom-navbar .subscriptions-content-enter-active,.custom-navbar .subscriptions-content-leave-active{transition:.2s ease-out}.custom-navbar .activity-content-enter,.custom-navbar .activity-content-leave-to,.custom-navbar .subscriptions-content-enter,.custom-navbar .subscriptions-content-leave-to{opacity:0;transform:translateY(12px)}.custom-navbar .bangumi-card.new::before,.custom-navbar .column-card.new::before,.custom-navbar .video-activity-card.new .cover-container::before{content:"NEW";position:absolute;top:4px;left:4px;background-color:var(--theme-color);color:var(--foreground-color);padding:0 6px;height:18px;border-radius:9px;font-weight:700;font-size:11px;line-height:18px;z-index:1}.custom-navbar .column-card.new::before{left:unset;right:8px;top:8px;height:20px;border-radius:10px;line-height:20px;font-size:12px;padding:0 8px}.custom-navbar .subscriptions{width:380px;font-size:9pt}.custom-navbar .subscriptions-tabs{margin:12px 12px 8px 18px;display:flex;align-items:center}.custom-navbar .subscriptions .tab-placeholder{flex-grow:1}.custom-navbar .subscriptions .tab{opacity:.5;margin-right:24px;position:relative;line-height:1.4;cursor:pointer}.custom-navbar .subscriptions .tab.selected{opacity:1;font-weight:700;transform:scale(1.2)}.custom-navbar .bangumi-subscriptions{display:flex;flex-direction:column}.custom-navbar .bangumi-subscriptions-card{position:relative;display:flex;margin-bottom:12px;flex-shrink:0}body.dark .custom-navbar .bangumi-subscriptions-card{background-color:#2d2d2d}.custom-navbar .bangumi-subscriptions-card .card-info{flex-grow:1;display:flex;flex-direction:column;align-items:flex-start;padding:0 12px;max-width:calc(100% - 24px - 64px);box-sizing:content-box}.custom-navbar .bangumi-subscriptions-card .info{padding:2px;background-color:#8882;font-size:12pt;border-radius:14px;line-height:1}.custom-navbar .bangumi-subscriptions-card .info:hover{background-color:#8884}.custom-navbar .bangumi-subscriptions-card .progress-row{flex-grow:1;display:flex;justify-content:space-between;align-self:stretch;align-items:center}.custom-navbar .bangumi-subscriptions-card .progress{white-space:nowrap;width:80%;overflow:hidden;text-overflow:ellipsis}.custom-navbar .bangumi-subscriptions-card .title{font-size:11pt;font-weight:700;padding-top:8px;color:inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;margin:0}.custom-navbar .bangumi-subscriptions-card:hover .title{color:var(--theme-color)}.custom-navbar .subscriptions .content{padding:8px 12px;height:500px;overflow:auto;overscroll-behavior:contain;scrollbar-width:none!important}.custom-navbar .bangumi-subscriptions.center{height:100%}.round-corner .custom-navbar .popup,.round-corner .custom-navbar .popup iframe{border-radius:0 0 var(--corner-radius) var(--corner-radius)}.round-corner #custom-navbar-home-popup .category-item,.round-corner #custom-navbar-home-popup .category-item .popup{border-radius:var(--corner-radius)}.round-corner .custom-navbar .video-list li.more,.round-corner .user-info-panel .login,.round-corner .user-info-panel .logout{border-radius:0 0 var(--corner-radius) var(--corner-radius)}.round-corner .custom-navbar-settings{border-radius:var(--large-corner-radius)}.round-corner .custom-navbar .search-list-item{border-radius:var(--corner-radius)}.round-corner .custom-navbar .bangumi-subscriptions-card{border-radius:var(--large-corner-radius);box-shadow:rgba(0,0,0,.12) 0 2px 8px 0}.round-corner .custom-navbar .bangumi-subscriptions-card .cover{border-radius:var(--large-corner-radius) 0 0 var(--large-corner-radius)}.round-corner .custom-navbar .column-card .cover:first-child{border-top-left-radius:var(--large-corner-radius)}.round-corner .custom-navbar .column-card .cover:nth-last-child(2){border-top-right-radius:var(--large-corner-radius)}.round-corner .custom-navbar .bangumi-card,.round-corner .custom-navbar .column-card,.round-corner .custom-navbar .video-activity-card{border-radius:var(--large-corner-radius)}.round-corner .custom-navbar .video-activity-card .cover{border-radius:var(--large-corner-radius) var(--large-corner-radius) 0 0}.round-corner .custom-navbar .bangumi-activity .ep-cover{border-radius:var(--large-corner-radius) 0 0 var(--large-corner-radius)}.custom-navbar-settings{display:flex;flex-direction:column;pointer-events:none;opacity:0;width:370px;position:fixed;top:50%;left:50%;transform:translate(-50%,-46%) scale(.95);z-index:10001;background:var(--navbar-background);padding-top:16px;box-shadow:#0002 0 1px 10px 1px;font-size:16px;line-height:1.5}.custom-navbar-settings.dark{--navbar-background:#222;--navbar-foreground:#eee;box-shadow:#0004 0 2px 10px 1px}.custom-navbar-settings h1{color:var(--navbar-foreground);font-size:16pt;font-weight:700}.custom-navbar-settings.show{pointer-events:initial;transform:translate(-50%,-46%) scale(1);opacity:1}.custom-navbar-settings .header,.custom-navbar-settings .orders{display:flex;justify-content:space-between;align-items:center}.custom-navbar-settings .header{padding:0 24px;font-size:9pt}.custom-navbar-settings .header .header-blank,.custom-navbar-settings .orders{flex-grow:1}.custom-navbar-settings .order-list{padding:0 24px;max-height:60vh;overflow:auto;overscroll-behavior:contain;list-style:none;width:100%;margin:16px 0}.custom-navbar-settings button{border:none;background-color:transparent;color:var(--navbar-foreground);padding:8px;cursor:pointer;font-size:14pt}.custom-navbar-settings button:hover{color:var(--theme-color)}.custom-navbar-settings .order-list li .mdi-menu{padding:8px}.custom-navbar-settings .order-list i{font-size:14pt}.custom-navbar-settings .order-list i.mdi-menu{cursor:move}.custom-navbar-settings .order-list li{color:var(--navbar-foreground);font-size:12pt;display:flex!important;justify-content:space-between;align-items:center;user-select:none;transition:opacity .2s ease-out}.custom-navbar-settings .order-list li.hidden{opacity:.5}.custom-navbar-settings .paddings{display:flex;align-items:center;justify-content:space-between;padding:16px 32px;color:var(--navbar-foreground)}.custom-navbar-settings .paddings span{min-width:40px}.custom-navbar-settings .paddings input{flex-grow:1;margin-right:16px;-webkit-appearance:none;background:0 0;width:100%}.custom-navbar-settings .paddings input::-webkit-slider-thumb{-webkit-appearance:none;height:18px;width:18px;background:var(--theme-color);border-radius:50%;box-shadow:0 2px 8px 0 var(--theme-color-50);cursor:pointer;border:none;transform:translateY(-7px)}.custom-navbar-settings .paddings input::-moz-range-thumb{-webkit-appearance:none;height:18px;width:18px;background:var(--theme-color);border-radius:50%;box-shadow:0 2px 8px 0 var(--theme-color-50);cursor:pointer;border:none}.custom-navbar-settings .paddings input::-webkit-slider-runnable-track{width:100%;background:#8884;height:4px}.custom-navbar-settings .paddings input::-moz-range-track{width:100%;background:#8884;height:4px}#custom-navbar-home-popup{max-height:80vh;display:flex;flex-direction:column;flex-wrap:wrap;width:350px}#custom-navbar-home-popup .category-item{font-size:12pt;padding:8px 16px;cursor:pointer;position:relative}#custom-navbar-home-popup .category-item:hover{background-color:#0001}#custom-navbar-home-popup .category-item a{display:flex;justify-content:space-between;align-items:center}#custom-navbar-home-popup .category-item svg{width:25px;height:25px;fill:currentColor;margin-right:10px}#custom-navbar-home-popup .category-item div{flex:1 0 auto}#custom-navbar-home-popup .category-item.main{min-width:150px}#custom-navbar-home-popup .category-item .popup{z-index:10002;width:max-content;transform:scaleX(0);transform-origin:left;padding:8px;left:100%;top:0;transition-delay:.3s;pointer-events:initial}#custom-navbar-home-popup .category-item:hover .popup{transform:scaleX(1)}#custom-navbar-home-popup .category-item span{opacity:.5}@media screen and (min-height:1000px){#custom-navbar-home-popup{flex-wrap:nowrap;width:250px}}#custom-navbar-home-popup .category-item:hover .popup,#custom-navbar-search:focus-within~.search-list:not(.empty),.custom-navbar .search-list:not(.empty):focus-within,.custom-navbar>ul>li:not(.disabled):hover>.popup{pointer-events:initial;opacity:1}.custom-navbar.compact #custom-navbar-home-popup .category-item{padding:6px}.custom-navbar.compact #custom-navbar-home-popup .category-item.main{min-width:110px}#custom-navbar-home-popup .category-item .popup a,#message-list a,#upload-actions a{padding:8px;display:flex;justify-content:start;border-bottom:2px solid transparent;font-size:11pt;line-height:16pt}.custom-navbar.compact #custom-navbar-home-popup .category-item .popup a{padding:6px}#custom-navbar-home-popup .category-item .popup a:hover,#message-list a:hover,#upload-actions a:hover{border-bottom:2px solid var(--theme-color)}.im-list-box{border-radius:0!important}#upload-button{padding-left:4px;font-size:12pt;font-weight:700}#message-list,#upload-actions{width:max-content}#message-list a{position:relative}#message-list a[data-count]::after{content:attr(data-count);position:absolute;left:100%;top:50%;transform:translateY(-50%);background-color:var(--theme-color);color:var(--foreground-color);padding:0 6px;display:flex;justify-content:center;font-size:9pt;border-radius:6px}@media screen and (max-width:1400px){.custom-navbar .main-content{padding:0 10px}}@media screen and (max-width:1300px){.custom-navbar .main-content{padding:0 8px}.custom-navbar form input{width:200px}}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/settings-tooltip.en-US.min.js"] = (()=>{return(e,o)=>{const a=new Map([["useDefaultPlayerMode",`Set the default player mode. Could be Normal, Widescreen, Web fullscreen or Fullscreen.`],["defaultPlayerMode",`Select the default player mode.`],["applyPlayerModeOnPlay",`Apply mode on video play instead of page load.`],["useDefaultPlayerLayout",`Set the default player layout.\n- Old: The legacy layout\n- New: The default new layout\nWarning: Some features won't work on old layout.`],["defaultPlayerLayout",`Video player layout`],["defaultBangumiLayout",`Bangumi player layout`],["useDefaultVideoQuality",`Auto select the specified video quality. If the highest quality of video in lower than your choice, the highest quality will be used.`],["defaultVideoQuality","Select the default video quality."],["autoLightOff",`Auto turn off the light when video starts playing, and turn on the light after complete.`],["useDefaultDanmakuSettings",`Set the default settings about danmakus.`],["enableDanmaku",`Disable this if you want to turn off danmakus by default.`],["rememberDanmakuSettings",`Remember the "Prevent blocking subtitles" and "Smart danmaku mask" settings. If you change these settings on player, every video will apply these settings by default.`],["expandDanmakuList",`Auto expand the danmaku list.`],["autoPlay",`Auto start playing video on page load.`],["autoContinue",`If playback history exists, auto continue from it.`],["skipChargeList",`Skip charge acknowledgements on the end of some videos.`],["framePlayback",`Append 2 buttons to the right of video time to seek video by frame. Support keyboard shortcut Shift+←/→. (Old layout can only use keyboard shortcut)`],["playerFocus",`Auto scroll to the player when you enter the page.`],["playerFocusOffset",`Set the scroll offset. (in px unit)`],["customStyleColor",`Set the theme color for custom navbar, dark mode and more. Click the color circle to choose from 16 predefined colors, or input any valid hex color in textbox. (#rrggbb or #rgb)`],["useDarkStyle",`Dark style looks much better at night, and will widely apply theme color.`],["darkSchedule",`Schedule the dark mode time.`],["compactLayout",`Use compact layout for homepage, reduce margin and remove rounded corner of video cards, use vector icons in categories.`],["useCommentStyle",`- Remove "Follow" button on hot comments\n- Remove the level badge of user\n- Remove the platform info (like From Android client)\n- Move post time to upper right.\n- Use vector icons\nTip: You can still access the removed "Follow" and level badge by hovering on their avatars.`],["simplifyLiveroom",`- Hide master icon\n- Hide fan badge\n- Hide event title\n- Hide user level\n- Hide captain icon\n- Hide global notice\n- Hide welcome message (xxx master entered room)\n- Hide lottery draw notifications\n- Disable room skin\nTip: Every item can be toggled individually in Add-ons.`],["blurVideoControl",`Use background blur effect for video controls.`],["customControlBackground",`Use a filled black rectangle as background of video controls instead of the original shadow effect.`],["customControlBackgroundOpacity",`Set the opacity of rectangle`],["harunaScale",`Make live room showgirl DPI-aware.`],["removeLiveWatermark",`Remove the watermark of live stream`],["removeVideoTopMask",`Remove the top mask of videos`],["removeAds",`Remove all ads. including slideshow ads, mobile app ads and video ads.`],["watchLaterRedirect",`Redirects all watchlater videos to the normal video page in order to use new layout.`],["favoritesRedirect",`Redirects all videos in favorites from favorites playlist to the individual video page.`],["hideTopSearch",`Use "Search" in place of search recommendations.`],["fullTweetsTitle",`Always expand full title in the feeds peek in navbar.`],["fullPageTitle",`Always expand full title of video episodes and (when there are many episodes) expand the entire list. (Not work for bangumi)`],["biliplusRedirect",`Append "Jump to BiliPlus" button to Add-ons.`],["imageResolution",`Request hi-resolution images by your screen DPI. But also cause longer loading time.`],["oldTweets",`Replace feeds link by the old version, and you can switch between new and old versions in Add-ons.`],["touchNavBar",`Allow to tap on a navbar item to view its popup info, instead of open the top-level link.`],["comboLike",`Allow long press the like button to perform a combo like.`],["touchVideoPlayer",`Increase margin of video control buttons for better touch experience. And enable touch gestures:\n- Left/Right slide to seek\n- Up/Down slide to adjust volume\n- Cancel a gesture on upper left/right corner\n- Slide on different position to use different sensibility.`],["touchVideoPlayerAnimation",`Use experimental animations for touch gestures, but may cause frame drops.`],["touchVideoPlayerDoubleTapControl",`Enable double-tap control: single tap to view/hide control bar, double tap to pause/resume.`],["toast",`Show toasts on the lower left corner of page, including update notifications and error display.`],["toastInternalError",`Show internal error messages, which may be helpful when reporting a bug.`],["useCache",`Use cache to increase load speed of this userscript.`],["outerWatchlater",`Move watchlater button from menu to outside.`],["i18n",`[Experimental] Provides UI translation for some common words.`],["i18nLanguage",`Set the target language.`],["customNavbar",`Enable custom navbar to replace the legacy one. New navbars in live/photos/shop are not affected.`],["customNavbarFill",`Use theme color to fill the navbar.`],["allNavbarFill",`Fill theme color to all navbars, including live/photos/shop.`],["customNavbarShadow",`Drop shadow for custom navbar.`],["customNavbarCompact",`Use compact layout for custom navbar, provides smaller margins and use ... for long titles.`],["customNavbarBlur",`If top banner exists, use background blur effect.`],["playerShadow",`Use theme color shadow for player.`],["narrowDanmaku",`Force preserve danmaku input in web fullscreen mode. May cause buttons on the right out of screen.`],["hideOldEntry",`Hide "Back to old" buttons in new layout.`],["hideBanner",`Hide top banner.`],["allowJumpContinue",`Allow jump to episodes different from current.`],["hideBangumiReviews",`Hide reviews on bangumi page.`],["videoScreenshot",`Append screenshot button to the right of video time. Support keyboard shortcut Ctrl+Alt+C. (Old layout can only use keyboard shortcut)`],["filenameFormat",`Customize the filename format used by Download danmaku, Download video, Video screenshot, View cover.\nThere are a few variables:\n- title: Video title / Live room title\n- ep: Episode title\n- aid: AV ID\n- cid: CID (The unique ID of video, as AV ID may contains multiple episodes)\n- lid: Live room ID\n- y/M/d: Year / Month / Day of month\n- h/m/s/ms: Hour / Minute / Second / Millisecond\n\nThe default format is [title][ - ep], representing video title and episode title. If episode title not exists, only video title is used.\n\nPut your variables inside square brackets, other contents inside brackets (like " - " in "[ - ep]") will only appear when the variable exists. For instance, if the format is [title] - [ep]. Even there's no episode title, that " - " will still appear in filename (which is meaningless). So in default format, when episode title not exists, " - " will also disappear.\n\nA more specific example: To use a "video title + AV ID + time" format, we can use [title][ AVaid] [y]-[M]-[d] [h]-[m]-[s]. And get filenames like "xxxx AV23333 2019-05-29 19-59-44".`],["noLiveAutoplay",`Disable autoplay on live homepage.`],["hideHomeLive",`Hide recommended live rooms on live homepage.`],["sideBarOffset",`Set vertical offset of side bar (in percent). Valid range: -40% ~ 40%.`],["hideCategory",`Hide category bar on main site, you can select category from Home in navbar.`],["foldComment",`Append a "Fold comments" button on the bottom of page when viewing comments in feeds. Then you can quickly fold comments without scrolling up.`],["showDeadVideoTitle",`Retrieve title and cover of dead videos in your space`],["useBiliplusRedirect",`Jump to BiliPlus for dead videos.`],["deadVideoTitleProvider",`Select dead video info provider: Watchlater is stable but takes some time, BiliPlus runs fast but it's not implemented yet.`],["useDefaultVideoSpeed",`Set the default video playback rate.`],["defaultVideoSpeed",`Select the default playback rate.`],["seedsToCoins",`Append a Seeds to coins button, click to convert 700 silver seeds to 1 coin, up to one time per day.`],["autoDraw",`Auto click draw button when there're drawing events in live room.`],["keymap",`Enable more keyboard shortcuts for video player:\n- w Web fullscreen\n- t Wide screen / Theater mode\n- r Toggle repeat\n- m Toggle mute\n- d Toggle danmakus\n- l Like\n- c Coin\n- s Favorite\n- Shift + ↑/↓ / Shift + ,/. Playback speed adjust\n- Shift + / Reset playback speed`],["doubleClickFullscreen",`Allow double click the player to toggle fullscreen, please note that this feature will not work if 播放器触摸支持 - 启用双击控制 is also enabled.`],["ajaxHook",`The Ajax Hook API may help other extensions or add-ons access ajax requests in bilibili.`],["scriptLoadingMode",`Feature loading mode:\n- Simultaneous: Load features as soon as possible\n- Delay: Load features after the original page has loaded\n- Simultaneous (Auto): Auto determine loading mode and prefer Simultaneous mode\n- Delay (Auto): Auto determine loading mode and prefer Delay mode`],[`fullActivityContent`,`Always expand for full content of feeds.`],[`activityImageSaver`,`When viewing a save-restricted image in feeds, you can right-click to get a toast with that image for saving.`],[`selectableColumnText`,`Make texts in column selectable.`],[`watchlaterExpireWarnings`,`Videos in watchlater will expire and be deleted in 60 days. Enable this feature will show a warning if a video will expire in less than 14 days.`],[`miniPlayerTouchMove`,`Allow touch drag to move mini player.`],[`feedsFilter`,`Filter out unwanted feeds by type or keywords, and remove side cards in your feeds homepage.`],[`hideBangumiSponsors`,`Hide bangumi sponsors sections and buttons.`],[`hideRecommendLive`,`Hide recommended live broadcasts in video pages.`],[`hideRelatedVideos`,`Hide related videos in video and bangumi pages.`],[`simplifyHome`,`Replace the original homepage by one of these style:\n- Simple: A clean design with additional feeds section.\n- Minimal: Only video feeds and trending videos, no other sections.`],[`autoMatchMedal`,`Auto wear medal when you have the medal of the current live room, or wear the last manually selected medal.`]]);return{export:{toolTips:a}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/watchlater-api.min.js"] = (()=>{return(t,i)=>{const e=async(t,i)=>{const e=i?"https://api.bilibili.com/x/v2/history/toview/add":"https://api.bilibili.com/x/v2/history/toview/del";const a=getCsrf();const s=await Ajax.postTextWithCredentials(e,`aid=${t}&csrf=${a}`);const r=JSON.parse(s);if(r.code!==0){throw new Error(`稍后再看操作失败: ${r.message}`)}};async function a(t=false){const i=`https://api.bilibili.com/x/v2/history/toview/web`;const e=await Ajax.getJsonWithCredentials(i);if(e.code!==0){throw new Error(`获取稍后再看列表失败: ${e.message}`)}if(!e.data.list){return[]}if(t){return e.data.list}return e.data.list.map(t=>t.aid)}return{export:{toggleWatchlater:e,getWatchlaterList:a}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/image-viewer.min.html"] = `
`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/i18n.en-US.min.js"] = (()=>{return(e,o)=>{const t=true;const i=new Map([[`主站`,`Home`],[`画友`,`Photos`],[`音频`,`Music`],[`游戏中心`,`Game`],[`会员购`,`Shop`],[`下载APP`,`App`],[`会员`,[`User`,{selector:`.ep-list-wrapper .ep-item .badge.pink`,text:`VIP`}]],[`大会员`,`VIP`],[`小会员`,`Reverse VIP`],[`未登录`,`Not logged in`],[`注册会员`,`Registered User`],[`正式会员`,`Formal User`],[`年度大会员`,`Annual VIP`],[`年度小会员`,`Annual Reverse VIP`],[`消息`,`Notifications`],[`动态`,`Feeds`],[`稍后再看`,`Watchlater`],[`收藏`,`Favorite`],[`更多`,`More`],[`排行`,`Ranking`],[`图片`,`Photo`],[`视频`,`Video`],[`音乐`,`Music`],[`时尚`,`Fashion`],[`电影`,`Movie`],[`影视`,`Film`],[`特摄`,`Tokusatsu`],[`学习`,`Study`],[`放映厅`,`Cinema`],[`广告`,`Ads`],[`广场`,`Plaza`],[`发布`,`Post`],[`举报`,`Report`],[`首页`,`Home`],[`热门`,`Trending`],[`周一`,`MON`],[`周二`,`TUE`],[`周三`,`WED`],[`周四`,`THU`],[`周五`,`FRI`],[`周六`,`SAT`],[`周日`,`SUN`],[`今天`,`Today`],[`昨天`,`Yesterday`],[`近1周`,`This week`],[`1周前`,`Past week`],[`发送`,`Send`],[`取消`,`Cancel`],[`关闭`,`Close`],[`表情`,`Sticker`],[`小视频`,`Mini video`],[`短视频`,`Mini video`],[`查看更多`,`More`],[`显示更多`,`More`],[`浏览更多`,`More`],[`查看全部`,`More`],[`所有关注`,`All followings`],[`进入专栏区`,`Columns`],[`暂时没有新动态了哦!`,`No new feeds yet.`],[`播放历史`,`History`],[`暂停记录历史`,`Pause recording history`],[`啊叻?你要暂停历史记录功能吗?`,`Do you really want to pause recording history?`],[`确定暂停`,`Yes`],[`清空历史`,`Clear history`],[`已看完`,`Completed`],[`一键清空`,`Clear all`],[`移除已观看视频`,`Clear watched`],[`即将删除所有已观看视频,此操作不可恢复。确定是否删除?`,`This will remove all watched videos and is unrecoverable, do you want to continue?`],[`清空确认`,`Clear Confirm`],[`确定要清空你的稍后再看列表吗?`,`Clear the entire watchlater list?`],[`已观看`,`Watched`],[`删除`,`Delete`],[`确认`,`Yes`],[`添加`,`Add`],[`取消关注`,`Unfollow`],[`全部`,`All`],[`投稿视频`,`Posted video`],[`公告栏`,`Notice`],[`正在直播`,`Live broadcasting`],[`虚拟主播`,`Vtuber`],[`房间标题`,`Title`],[`设置`,`Settings`],[`频道`,`Channel`],[`标签`,`Tag`],[`关注`,`Follow`],[`关注数`,`Following`],[`粉丝`,`Follower`],[`粉丝数`,`Followers`],[`阅读数`,`Read`],[`阅读量`,`Read`],[`相簿`,`Photos`],[`我的频道`,`My Channel`],[`我的视频`,`My Video`],[`我的音频`,`My Audio`],[`我的音乐`,`My Music`],[`我的专栏`,`My Column`],[`我的相簿`,`My Photos`],[`我的关注`,`My Followings`],[`我的粉丝`,`My Follwers`],[`我的消息`,`My Messages`],[`我的收藏`,`My Favorites`],[`我的订阅`,`My Subscribes`],[`系统通知`,`System`],[`网游`,`Online`],[`手游`,`Mobile`],[`单机`,`Console`],[`电台`,`Radio`],[`绘画`,`Drawing`],[`投稿`,`Upload`],[`热门话题`,`Trending #Tags#`],[`人气排行`,`Trending`],[`我关注的话题`,`Following #Tags#`],[`前往TA的直播间`,`Open live room`],[`今天你想了解什么呢?(☆▽☆)`,`Search ~~~ (☆▽☆)`],[`请输入弹幕 DA☆ZE~`,`Enter your danmaku DA☆ZE~`],[`有什么想和大家分享的?`,`What's happening?`],[`有新动态,点击查看`,`New feeds, click to view`],[`以上为热门评论,`,`Aboves are hot comments`],[`请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。`,`Post your comments ε=ε=(ノ≧∇≦)ノ`],[`点击查看`,`Click to view`],[`刚刚`,`Just now`],[`转发动态`,`Repost`],[`分享动态`,`Share`],[`转发`,`Repost`],[`赞`,`Like`],[`好评`,`Like`],[`支持一下`,`Like`],[`重播`,`Replay`],[`投币`,`Coin`],[`同时点赞内容`,`Like as well`],[`添加到收藏夹`,`Add to favorites`],[`投稿了`,`Posted`],[`动态首页`,`Feeds Home`],[`历史动态`,`Feeds History`],[`活动作品`,`Event`],[`未经作者授权,禁止转载`,`Please do not repost or reproduce without prior permission`],[`上一帧`,`Previous Frame`],[`下一帧`,`Next Frame`],[`人正在看`,`watching`],[`条实时弹幕`,`danmakus`],[`开启弹幕`,`Turn on danmakus`],[`显示弹幕`,`Show danmakus`],[`关闭弹幕`,`Turn off danmakus`],[`隐藏弹幕`,`Hide danmakus`],[`发个友善的弹幕见证当下`,`Enter your danmaku`],[`发个弹幕见证当下`,`Enter your danmaku`],[`弹幕礼仪`,`Guidelines`],[`追番`,[`Subscribe`,{selector:`.subscriptions-tabs .tab`,text:`Bangumi`},{selector:`.tab-bar .tab-text`,text:`Subscriptions`}]],[`已追番`,`Subscribed`],[`取消追番`,`Unsubscribe`],[`追剧`,[`Subscribe`,{selector:`.subscriptions-tabs .tab`,text:`Shows`}]],[`已追剧`,`Subscribed`],[`取消追剧`,`Unsubscribe`],[`取消订阅`,`Unsubscribe`],[`用手机观看`,`Mobile`],[`用手机看`,`Mobile`],[`弹幕列表`,`Danmaku List`],[`左舷弹幕太薄了,大家快来吐槽吧~`,`Danmaku list is empty. Be the first danmaku sender!`],[`屏蔽设定`,`Block Settings`],[`屏蔽列表`,`Block List`],[`高级弹幕`,`Special Danmaku`],[`时间`,`Time`],[`弹幕内容 (`,`Content ( `],[`发送时间`,`Time`],[`已屏蔽`,`Blocked`],[`查看历史弹幕`,`Danmaku history`],[`相关视频推荐`,`Related videos`],[`相关推荐`,`Related`],[`点评`,`Reviews`],[`评论`,`Comments`],[`新番时间表`,`Timetable`],[`小黑屋`,`Judge`],[`摄影`,`Photography`],[`插画`,`Illustration`],[`其他`,`Other`],[`下载`,`Download`],[`更新了`,`Updated`],[`排行榜`,`Ranking`],[`推荐`,`Recommended`],[`播放`,`Play`],[`播放数量`,`Plays`],[`暂停`,`Pause`],[`静音`,`Mute`],[`弹幕`,`Danmaku`],[`硬币`,`Coin`],[`宽屏模式`,`Widescreen`],[`退出宽屏`,`Exit widescreen`],[`退出网页全屏`,`Exit web fullscreen`],[`退出全屏`,`Exit fullscreen`],[`进入全屏`,`Fullscreen`],[`全屏模式`,`Fullscreen`],[`打开洗脑循环`,`Turn on loop`],[`观看人数`,`Viewers`],[`转载`,`Reproduction`],[`展开`,`Expand`],[`收起`,`Fold`],[`展开全部`,`Expand`],[`展开全文`,`Expand`],[`收起全文`,`Fold`],[`已结束`,`Ended`],[`电视剧`,`Drama`],[`上一页`,`Previous`],[`下一页`,`Next`],[`搜索`,`Search`],[`直播中`,`Live boradcasting`],[`等级`,`Level`],[`个人中心`,`Profile`],[`创作中心`,`Creations`],[`直播中心`,`Live center`],[`订单中心`,`Orders`],[`B币钱包`,`Bili Wallet`],[`B币`,`Bili Coin`],[`主页`,`Home`],[`排序`,`Sort`],[`移除`,`Remove`],[`复制`,`Copy`],[`换一换`,`Refresh`],[`特别推荐`,`Recommended`],[`热门榜单`,`Hits`],[`播放全部`,`Play all`],[`自动播放`,`Auto play`],[`观看历史`,`History`],[`个人收益`,`Personal income`],[`同时转发到我的动态`,`Repost to my feeds`],[`人气值`,`Popularity`],[`友爱社`,`Club`],[`话题`,`#Tags#`],[`活动`,`Event`],[`活动中心`,`Event center`],[`消息中心`,`Messages`],[`专栏投稿`,`Post column`],[`音频投稿`,`Post audio`],[`视频投稿`,`Post video`],[`相簿投稿`,`Post photo`],[`上传视频`,`Upload`],[`退出登录`,`Log out`],[`回复我的`,`Reply`],[`TA 的直播间`,`Live room`],[`TA 的小视频`,`Mini videos`],[`TA的视频`,`Videos`],[`TA的音频`,`Audios`],[`TA的专栏`,`Columns`],[`TA的频道`,`Channels`],[`TA的订阅`,`Subscriptions`],[`TA的收藏夹`,`Favorites`],[`邮箱验证`,`Email verification`],[`手机验证`,`Phone verification`],[`领取`,`Collect`],[`确定`,`OK`],[`公开`,`Public`],[`隐藏`,`Private`],[`搜索设置项`,`Search settings`],[`样式`,`Style`],[`工具`,`Tools`],[`触摸`,`Touch`],[`指定播放器布局`,`Player layout`],[`视频区布局`,`Video`],[`番剧区布局`,`Bangumi`],[`使用默认播放器模式`,`Default player mode`],[`默认播放器模式`,`Mode`],[`播放时应用模式`,`Apply on playing`],[`播放时自动关灯`,`Turn off light when playing`],[`使用默认视频画质`,`Default video quality`],[`画质设定`,`Quality`],[`使用默认弹幕设置`,`Default danmaku settings`],[`记住弹幕设置`,`Remember danmaku settings`],[`自动展开弹幕列表`,`Auto expand danmaku list`],[`自动展开视频简介`,`Auto expand video description`],[`自动从历史记录点播放`,`Auto continue by history`],[`允许跨集跳转`,`Allow jump across episodes`],[`自动播放视频`,`Auto play video`],[`跳过充电鸣谢`,`Skip charge acknowledgements`],[`启用逐帧调整`,`Enable seek by frame`],[`启用视频截图`,`Enable video screenshots`],[`自动定位到播放器`,`Auto locate player`],[`定位偏移量`,`Locate offset`],[`外置稍后再看`,`Outside watchlater`],[`主题颜色`,`Theme color`],[`使用自定义顶栏`,`Custom navbar`],[`主题色填充`,`Fill with theme color`],[`填充其他顶栏`,`Also fill other navbars`],[`紧凑布局`,`Compact layout`],[`背景模糊`,`Background blur`],[`夜间模式`,`Dark mode`],[`夜间模式计划时段`,`Dark mode schedule`],[`起始时间`,`From`],[`结束时间`,`To`],[`首页使用紧凑布局`,`Compact layout for homepage`],[`简化评论区`,`Simplify comments`],[`简化直播间`,`Simplify live room`],[`隐藏顶部横幅`,`Hide top banner`],[`播放器投影`,`Drop shadow for player`],[`强制保留弹幕栏`,`Force preserve danmaku input`],[`模糊视频控制栏背景`,`Background blur for video controls`],[`控制栏着色`,`Fill video controls`],[`不透明度`,`Opacity`],[`缩放直播看板娘`,`DPI-ware live room showgirl`],[`删除直播水印`,`Remove live watermark`],[`删除视频标题层`,`Remove video top mask`],[`隐藏返回旧版`,`Hide "Back to old"`],[`隐藏番剧点评`,`Hide bangumi reviews`],[`删除广告`,`Remove ads`],[`稍后再看重定向`,`Watchlater redirect`],[`收藏夹视频重定向`,`Favorites redirect`],[`隐藏搜索推荐`,`Hide search recommendation`],[`展开动态标题`,`Expand title in feeds`],[`展开选集列表`,`Expand episode list`],[`BiliPlus跳转支持`,`BiliPlus support`],[`高分辨率图片`,`DPI-aware images`],[`旧版动态跳转支持`,`Old feeds support`],[`界面翻译`,`UI translation`],[`语言`,`Language`],[`顶栏触摸优化`,`Touch support for navbar`],[`素质三连触摸支持`,`Touch support for combo like`],[`播放器触摸支持`,`Touch support for player`],[`启用实验性动画效果`,`Experimental animations`],[`启用双击控制`,`Enable double-tap control`],[`显示消息`,`Show toasts`],[`显示内部错误消息`,`Show internal errors`],[`新版本`,`New version`],[`已发布.`,`is available.`],[`安装`,`Install`],[`查看`,`Details`],[`检查更新`,`Check for updates`],[`安装更新`,`Install update`],[`查看更新`,`View update`],[`启用缓存`,`Enable cache`],[`附加功能`,`Add-ons`],[`清除缓存`,`Clear cache`],[`转到BiliPlus`,`Jump to BiliPlus`],[`顶栏布局`,`Navbar layout`],[`搜索框`,`Search box`],[`用户信息`,`User profile`],[`投稿入口`,`Post entrance`],[`转到新版`,`Jump to new version`],[`回到旧版`,`Jump to old verison`],[`查看封面`,`View cover`],[`复制原链接`,`Copy link`],[`在新标签页打开`,`Open in new tab`],[`下载弹幕`,`Download danmaku`],[`下载视频`,`Download video`],[`下载音频`,`Download audio`],[`更换勋章`,`Change your badge`],[`更换头衔`,`Change your title`],[`关于`,`About`],[`动画`,`Anime`],[`舞蹈`,`Dance`],[`国创`,`China`],[`科技`,`Tech`],[`生活`,`Life`],[`鬼畜`,`Kichiku`],[`专栏`,`Column`],[`游戏`,`Game`],[`直播`,`Live`],[`数码`,`Digital`],[`TV剧`,`TV`],[`番剧`,[`Bangumi`,{selector:`.elevator-module .nav-list .item`,text:`Bangu`}]],[`纪录片`,[`Documentary`,{selector:`.elevator-module .nav-list .item`,text:`Doc`}]],[`娱乐`,[`Entertainment`,{selector:`.primary-menu .nav-menu li .nav-name, .elevator-module .nav-list .item`,text:`Entmt`}]],[`自动`,`Auto`],[`常规`,`Normal`],[`宽屏`,`Widescreen`],[`网页全屏`,`Web fullscreen`],[`全屏`,`Fullscreen`],[`历史`,`History`],[`登录`,`Log in`],[`注册`,`Sign up`],[`我的直播间`,`My live room`],[`直播间`,`Live room`],[`订阅`,[`Subscribe`,{selector:`.main-content`,text:`Subscriptions`}]],[`主站空间`,`My space`],[`播放数`,`Plays`],[`综合`,`General`],[`用户`,`User`],[`投稿管理`,`Posts`],[`个人信息`,`Profiles`],[`开播设置`,`Live settings`],[`直播分类:`,`Live type`],[`修改分区`,`Edit category`],[`房间标题:`,`Live title`],[`开始直播`,`Start live`],[`关闭直播`,`Stop live`],[`主播公告`,`Host notice`],[`简介`,`Description`],[`直播封面`,`Live cover`],[`我的个人标签`,`My tags`],[`个人简介`,`Bio`],[`直播间信息`,`Live room info`],[`我的船员`,`My sailor`],[`直播数据`,`Live data`],[`数据总览`,`Overall stats`],[`直播时长`,`Total time`],[`最高人气值`,`Max popularity`],[`直播收益(金仓鼠)`,`Live income (Golden hamster)`],[`直播收益`,`Live income`],[`新增关注数`,`New subscribes`],[`人均观看时长`,`Avg watch time`],[`礼物流水`,`Gifts`],[`礼物统计`,`Gift stats`],[`消费排行`,`Consumption ranking`],[`更多>>`,`More>>`],[`主播`,`Host`],[`未开播`,`Idle`],[`金瓜子`,`Golden seeds`],[`银瓜子`,`Silver seeds`],[`残忍取关`,`Unfollow`],[`再考虑一下`,`Cancel`],[`已关注`,`Following`],[`七日榜`,`Rank`],[`舰队`,`Fleet`],[`房管`,`Manager`],[`粉丝榜`,`Follower`],[`分享`,`Share`],[`轮播`,`Slideshow`],[`闲置`,`Idle`],[`回复`,`Reply`],[`查看更多评论`,`View more comments`],[`英雄联盟`,`LOL`],[`APEX英雄`,`Apex Legends`],[`守望先锋`,`Overwatch`],[`绝地求生`,`PUBG`],[`王者荣耀`,`Arena Of Valor`],[`第五人格`,`Identity V`],[`绝地求生:刺激战场`,`PUBG Mobile`],[`崩坏3`,`Houkai 3rd`],[`主机游戏`,`Console games`],[`我的世界`,`MC`],[`怪物猎人:世界`,`Monster Hunter: World`],[`只狼:影逝二度`,`Sekiro: Shadows Die Twice`],[`鬼泣5`,`Devil May Cry 5`],[`视频唱见`,`Singer`],[`舞见`,`Dancer`],[`视频聊天`,`Chat`],[`才艺`,`Talent show`],[`唱见电台`,`Singer radio`],[`声优`,`CV`],[`聊天电台`,`Chat radio`],[`同人绘画`,`Doujin`],[`原创绘画`,`Original`],[`临摹绘画`,` Copy`],[`其他绘画`,`Other`],[`扭蛋机`,`Capsule machine`],[`我关注的直播`,`Following lives`],[`我关注的动态`,`Following feeds`],[`按热度排序`,`By likes`],[`按时间排序`,`By time`],[`全部评论`,`All comments`],[`发消息`,`Send message`],[`点赞`,`Like`],[`发表评论`,`Comment`],[`你的rtmp地址:`,`Yout RTMP address: `],[`你的直播码:`,`Streaming code: `],[`颜值领域专属封面`,`顔出し用サムネ`],[`私信存档`,`Archive`],[`历史私信`,`Message History`],[`用户中心`,`User center`],[`我的信息`,`My messages`],[`领取奖励`,`Collect`],[`关注直播间`,`Follow`],[`加入黑名单`,`Block`],[`悄悄关注`,`Private follow`],[`个人信息举报`,`Report`],[`观众分析`,`Audience`],[`游客分析`,`Visitor`],[`粉丝分析`,`Follower`],[`游客基本属性`,`Basic properties of visitor`],[`性别占比`,`Gender ratio`],[`观众年龄`,`Ages`],[`观看途径`,`Approach`],[`消息设置`,`Settings`],[`消息提醒样式`,`Style`],[`(不含应援团)`,`(Support groups are not included)`],[`数字`,`Number`],[`收到的赞消息提醒`,`Likes`],[`(是否接收点赞消息通知)`,`(Config notifications of likes)`],[`始终提醒`,`Always notify`],[`永不提醒`,`Never notify`],[`回复我的消息提醒`,`Replies`],[`(接受谁的评论消息提醒)`,`(Config notifications of replies)`],[`所有人`,`From all people`],[`关注的人`,`Only from people that you follow`],[`不接受任何消息提醒`,`Never notify`],[`@我的消息提醒`,`@Mentions`],[`(接受谁的@消息提醒)`,`(Config notifications of @mentions)`],[`红点`,`Dot`],[`不提醒`,`Don't show`],[`推荐位申请`,`Apply for recommendation`],[`直播看板娘`,`Live showgirl`],[`收到的赞`,`Likes`],[`漫画`,`Manga`],[`投影`,`Drop shadow`],[`加载中...`,`Loading...`],[`模糊层不透明度`,`Opacity`],[`签到`,`Check-in`],[`新版`,[`New version`,{selector:`.gui-settings-dropdown-container *`,text:`New`}]],[`旧版`,[`Old version`,{selector:`.gui-settings-dropdown-container *`,text:`Old`}]],[`文件命名格式`,`Filename format`],[`发布动态`,`Post`],[`了解更多`,`Learn more`],[`编辑`,`Edit`],[`新闻公告`,`Notice`],[`全部直播`,`All`],[`游戏直播`,`Games`],[`网游直播`,`Online`],[`网络游戏`,`Online`],[`手游直播`,`Mobile`],[`手机游戏`,`Mobile`],[`单机游戏`,`Console`],[`娱乐直播`,`Entertainment`],[`电台直播`,`Radio`],[`绘画直播`,`Drawing`],[`哔考`,`Study`],[`进入直播间`,`Enter`],[`直播持续时间`,`Duration`],[`Ta还没有应援的友爱社喔 (ಥ_ಥ)`,`No fans club yet (ಥ_ಥ)`],[`参与创作了`,`Participated`],[`未经作者授权 禁止转载`,`Please do not reproduce without prior permission`],[`稿件投诉`,`Report`],[`充电`,`Charge`],[`为TA`,``],[`为TA充电`,`Charge`],[`充电设置`,`Charge settings`],[`移动`,`Move`],[`保护`,`Reserve`],[`忽略`,`Ignore`],[`该视频弹幕为空`,`No danmakus yet`],[`屏蔽设置`,`Block settings`],[`屏蔽用户`,`Block user`],[`屏蔽该弹幕的发送者`,`Block sender of this danmaku`],[`设为置顶`,`Stick on top`],[`取消置顶`,`Cancel sticking`],[`没有更多信息`,`No more messages available`],[`取消静音`,`Cancel mute`],[`展开更多`,`More`],[`搜索视频`,`Search for videos`],[`搜索音频`,`Search for audios`],[`搜索稿件`,`Search for works`],[`立即播放`,`Play now`],[`我的友爱社`,`My fans club`],[`新闻`,`News`],[`视频截图`,`Video screenshots`],[`截图`,`Take screenshot`],[`老爷图标`,`Live VIP Icon`],[`粉丝勋章`,`Fans Badge`],[`活动头衔`,`Event Title`],[`用户等级`,`User Level`],[`舰长图标`,`Captain Icon`],[`全区广播`,`Global Messages`],[`欢迎信息`,`Welcome Messages`],[`抽奖提示`,`Lucky Draw Popups`],[`房间皮肤`,`Room Skin`],[`复制链接`,`Copy Link`],[`投稿时间排序`,`Sort by time`],[`点击数排序`,`Sort by views`],[`评论数排序`,`Sort by comments`],[`收藏数排序`,`Sort by favorites`],[`弹幕数排序`,`Sort by danmakus`],[`首页管理`,`Home`],[`内容管理`,`Posts`],[`视频管理`,`Videos`],[`专栏管理`,`Columns`],[`音频管理`,`Audios`],[`相簿管理`,`Photos`],[`你还没有投过一个稿件("▔□▔)`,`You didn't post anything ("▔□▔)`],[`数据`,`Stat`],[`编辑稿件`,`Edit`],[`(单次最多允许上传100p视频,推荐采用mp4、flv格式,可有效缩短审核转码耗时)`,`(Up to 100 episodes per video, using mp4 or flv format can reduce encoding time)`],[`上传完成`,`Upload complete`],[`添加视频`,`Add video`],[`视频封面设置`,`Video cover`],[`(格式jpeg、png,文件大小≤5MB,建议尺寸≥1146*717,最低尺寸≥960*600)`,`(Format: jpeg / png, Size: ≤ 5MB, Recommended Resolution: ≥ 1146px*717px, Minimum Resolution: ≥ 960px*600px)`],[`类型`,`Type`],[`分区`,`Category`],[`全部分区`,`All categories`],[`热门分区`,`Trending categories`],[`标题`,`Title`],[`更多选项`,`Advanced`],[`定时发布`,`Schedule`],[`立即投稿`,`Post immediately`],[`分享投稿`,`Share post`],[`编辑记录`,`Edit history`],[`删除稿件`,`Delete`],[`数据中心`,`Stats`],[`粉丝管理`,`Followers`],[`互动管理`,`Interactions`],[`评论管理`,`Comments`],[`弹幕管理`,`Danmakus`],[`字幕管理`,`Subtitles`],[`收益管理`,`Earnings`],[`创作激励`,`Creative Rewards`],[`充电计划`,`Charge`],[`悬赏计划`,`Bounties`],[`任务成就`,`Achievements`],[`创作学院`,`Learn`],[`个人设置`,`Settings`],[`申诉管理`,`Appeal`],[`你的手机号/邮箱`,`Phone Number / Email`],[`密码`,`Password`],[`禁止直播首页自动播放`,`Disable live autoplay`],[`隐藏首页推荐直播`,`Hide recommended live rooms`],[`侧栏垂直偏移量`,`Side bar vertical offset`],[`合作视频`,`Collaboration`],[`礼物弹幕`,`Gift danmaku`],[`上舰提示`,`New captains`],[`隐藏分区栏`,`Hide category bar`],[`显示失效视频信息`,`Retrieve dead video info`],[`失效视频重定向`,`Redirect dead video`],[`信息来源`,`Info provider`],[`快速收起动态评论区`,`Quick fold comments`],[`收起评论`,`Fold comments`],[`我的直播间地址`,`My live room address`],[`选择分类`,`Category`],[`必须选择分类才能开播`,`You can't start live broadcasting before select a category.`],[`使用默认播放速度`,`Default playback rate`],[`默认播放速度`,`Playback rate`],[`标记为 想看`,`Mark as "Want to watch"`],[`想看`,`Want to watch`],[`标记为 在看`,`Mark as "Watching"`],[`在看`,`Watching`],[`标记为 已看`,`Mark as "Watched"`],[`标记为 看过`,`Mark as "Watched"`],[`看过`,`Watched`],[`显示占位文本`,`Show placeholder text`],[`瓜子换硬币`,`Seeds to coins`],[`每天最多能兑换 1 个`,`You can only exchange up to 1 coin per day.`],[`单个视频`,`Single video`],[`获取大小中`,`Fetching size`],[`获取大小失败`,`Failed to fetch size`],[`预计大小:`,`Estimated size: `],[`警告: 过大的视频大小会在直接下载时占用大量内存, 并可能导致浏览器标签页崩溃. 请考虑降低清晰度或使用导出选项.`,`Warning: Videos in large size will cost a large number of RAM during Direct Download, even crash the browser tab. Please use lower quality or use Export.`],[`清晰度`,`Quality`],[`无`,`None`],[`直接下载`,`Direct Download`],[`开始`,`Start`],[`导出`,`Export`],[`导出aria2`,`Export to aria2`],[`复制vld数据`,`Copy vld data`],[`导出vld数据`,`Export vld data`],[`导出aria2 RPC`,`Export to aria2 RPC`],[`无法连接到RPC主机.`,`Could not connect to RPC host.`],[`aria2 RPC 配置`,`aria2 RPC config`],[`主机`,`Host`],[`端口`,`Port`],[`密钥`,`Secret Key`],[`路径`,`Path`],[`批量导出`,`Batch Export`],[`请至少选择1集或以上的数量!`,`Please select at least 1 episode!`],[`选集`,`Episodes`],[`全选`,`Select All`],[`全不选`,`Deselect All`],[`反选`,`Inverse Selection`],[`错误`,`Error`],[`请求遭到拒绝, 请检查您的密钥相关设置.`,`Connection refused, please check your Secret Key.`],[`明日方舟`,`Arknights`],[`直播歌曲内容不适宜请立即调整`,`Your songs in live have conflicted our policy, please use other songs.`],[`快捷键扩展`,`Extended Keymap`],[`限速`,`Speed Limit`],[`双击全屏`,`Quick fullscreen`],[`启用 Ajax Hook API`,`Enable Ajax Hook API`],[`加载模式`,`Loading Mode`],[`同时`,`Simultaneous`],[`延后`,`Delay`],[`同时(自动)`,`Simultaneous (Auto)`],[`延后(自动)`,`Delay (Auto)`],[`设置面板停靠位置`,`Settings panel dock side`],[`左侧`,`Left`],[`右侧`,`Right`],[`直播间自动领奖`,`Auto perform drawing in live room`],[`专栏文字选择`,`Selectable texts in column`],[`稍后再看期限提醒`,`Watchlater expire time warnings`],[`解除动态存图限制`,`Unlock image-saving in feeds`],[`展开动态内容`,`Expand feeds content`],[`使用季节Logo`,`Use seasonal logo`],[`格式`,`Format`],[`预设`,`Presets`],[`配置`,`Config`],[`未命名`,`Unnamed`],[`重命名`,`Rename`],[`新增预设`,`New preset`],[`删除预设`,`Delete preset`],[`默认路径`,`Default Path`],[`方法`,`Method`],[`开始下载`,`Start Download`],[`保存配置`,`Save Config`],[`已保存`,`Saved!`],[`全部动态`,`View all`],[`已添加`,`Added`],[`迷你播放器触摸拖动`,`Touch move for mini player`],[`显示链接`,`Show link`],[`复制全部`,`Copy All`],[`简化首页`,`Simplify home`],[`首页风格`,`Style`],[`清爽`,`Simple`],[`极简`,`Minimal`],[`隐藏番剧承包`,`Hide bangumi sponsors`],[`隐藏推荐直播`,`Hide recommended live`],[`隐藏视频推荐`,`Hide related videos`],[`动态过滤器`,`Feeds filter`],[`首选编码`,`Preferred Codec`],[`ffmpeg - 分段列表`,`ffmpeg - Segments List`],[`ffmpeg - 分P列表`,`ffmpeg - Episodes List`],[`视频动态`,`My Feeds`],[`热门视频`,`Trending`],[`返回顶部`,`Back to top`],[`今日`,`Today`],[`三日`,`3 days`],[`一周`,`Weekly`],[`栏目`,`Sites`],[`自动选择当前直播间勋章`,`Auto wear medal of current live room`],[`付费礼物`,`Paid gifts`],[`看板娘`,`Showgirl`],[`活动横幅`,`Event banner`],[`*`,[{selector:`.gui-settings-widgets-box .widgets-container .empty-tip`,text:`Nothing here = ̄ω ̄=`},{selector:`.custom-navbar-settings .paddings-desc`,text:`Edge padding: Set padding for left and right edge of navbar. It's measured as percent (total width is 100%) with 0% ~ 40% valid range.`},{selector:`.custom-navbar-settings .orders-desc`,text:`Orders & Display: Drag the hamburger icon to reorder them, or press on the name for some time to start a drag. Click the eye icon on the right to toggle their visibility.`}]]]);const a=new Map([[/^浏览:([0-9\.a-z]+)$/,`Views:$1`],[/^收藏:([0-9\.a-z]+)$/,`Favorites:$1`],[/^支持:([0-9\.a-z]+)$/,`Likes:$1`],[/^共([\d]+)页$/,`$1 pages in total`],[/^小视频 ([\d]+)$/,`Mini videos $1`],[/^相簿 ([\d]+)$/,`Photos $1`],[/^在线人数:([\d]+)$/,`Online: $1`],[/^([0-1])[ ]?分钟前$/,`$1 minute ago`],[/^([\d]+)[ ]?分钟前$/,`$1 minutes ago`],[/^([0-1])[ ]?小时前$/,`$1 hour ago`],[/^([\d]+)[ ]?小时前$/,`$1 hours ago`],[/^([0-1])播放/,`$1 View`],[/^([\d]+)播放/,`$1 Views`],[/^([\d]+)\.([\d])万播放/,`$1$2k Views`],[/^([0-1])弹幕$/,`$1 Danmaku`],[/^([\d]+)弹幕$/,`$1 Danmakus`],[/^([\d]+)\.([\d])万弹幕$/,`$1$2k Danmakus`],[/^([\+]?[ ]?)关注([:]?[:]?[ ]?)([\d]+)?$/,`$1Follow$2$3`],[/^上传时间:([\d])/,`Upload time: $1`],[/^粉丝([:]?[:]?[ ]?)$/,`Follower$1`],[/^@([ ]?)我的$/,`@Mentions`],[/^TA([ ]?)的相簿$/,`Photos`],[/^1硬币$/,`1 Coin`],[/^([\d]+)硬币$/,`$1 Coins`],[/^阅读([:]?[:]?[ ]?)$/,`$1 Reads`],[/^弹性空白([\d])/,`Flexible blank $1`],[/^金仓鼠([ ]?[:]?)$/,`Golden hamster$1`],[/^贝壳([ ]?[:]?)$/,`Shell$1`],[/^创作团队(([\d]+))$/,`Team($1)`],[/^([\d]+)\.(\d)万$/,`$1$2k`],[/^([\d]+)万$/,`$10k`],[/^在线人数: ([\d]+)$/,`$1 people online`],[/^关注([ ])([\d]+)\.([\d])万$/,`Follow$1$2$3k`],[/^点赞数([\d]+)$/,`$1 Likes`],[/^投硬币枚数([\d]+)$/,`$1 Coins`],[/^收藏人数([\d]+)$/,`$1 Favorites`],[/^热门直播([:]?)$/,`Trending live$1`],[/^热门活动([:]?)$/,`Trending events$1`],[/^全部稿件 \(([\d]+)\)$/,`All works ($1)`],[/^进行中 \(([\d]+)\)$/,`Processing ($1)`],[/^已通过 \(([\d]+)\)$/,`Accepted ($1)`],[/^未通过 \(([\d]+)\)$/,`Rejected ($1)`],[/^共([\d]+)P$/,`$1 Episodes`],[/^超清 ([\d]+)K$/,`Ultra $1K`],[/^高清 ([\d]+)P([60\+]?)$/,`HD $1P$2`],[/^清晰 ([\d]+)P$/,`$1P`],[/^流畅 ([\d]+)P$/,`$1P`],[/^兑换成功\n剩余银瓜子:([\d]+)$/,`Exchanged successfully.\nYou have $1 silver seeds left.`],[/^预计大小: (.+)$/,`Estimated size: $1`],[/^最终路径: (.+)$/,`Final path: $1`]]);return{export:{map:i,regex:a}}}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/mini-player-touch-move.min.css"] = `#bofqi.mini-player .drag-bar{touch-action:none!important;height:40px!important;line-height:40px!important;top:-40px!important}#bofqi.mini-player .drag-bar i:last-child{margin:10px!important}`;
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/watchlater-expire-warnings.min.js"] = (()=>{return(e,n)=>{(async()=>{if(!["//www.bilibili.com/watchlater/#/list"].some(e=>document.URL.includes(e))){return}const{getWatchlaterList:t}=await n.importAsync("watchlater-api");const i=await SpinQuery.select(".watch-later-list .list-box");if(i===null){return}n.applyStyleFromText(`\n .expire-warning {\n padding: 3px 25px;\n color: #F78C6C;\n display: inline-flex;\n align-items: center;\n }\n .expire-warning .mdi {\n line-height: 1;\n margin-right: 8px;\n font-size: 16px;\n }\n`,"watchlater-expire-warning-style");const r=e.watchlaterExpireWarningDays;const a=24*3600*1e3;const l=e=>{return(e-Number(new Date))/a};Observer.childListSubtree(i,async()=>{const e=[...i.querySelectorAll(".av-item .state")];const n=await t(true);e.forEach((e,t)=>{const i=n[t].add_at*1e3+60*a;const c=l(i);console.log(n[t].aid,c);if(c还剩${n}天过期`)}}else{e.querySelectorAll(".expire-warning").forEach(e=>e.remove())}})})})()}})();
onlineData["https://raw.githubusercontent.com/the1812/Bilibili-Evolved/master/min/remove-promotions.min.js"] = (()=>{return(e,t)=>{if(document.URL.replace(window.location.search,"")==="https://www.bilibili.com/"){SpinQuery.any(()=>dqa(".gg-pic"),t=>{t.forEach(t=>{const n=t.parentElement;n.style.display="none";const l=[...n.parentElement.childNodes].indexOf(n)+1;const i=n.parentElement.parentElement.querySelector(`.pic li:nth-child(${l})`);if(i){i.style.display="flex";const t=i.querySelector("a:not(.more-text)");t.insertAdjacentHTML("afterend",`\n
\n`,handleJson:async function(i){this.cards=i.data.list.map(i=>{return{faceUrl:i.face,title:i.title,name:i.uname,id:i.roomid,url:i.link}})}})},computed:{content(){return this.tabs.find(i=>i.name===this.selectedTab).component},viewMoreUrl(){return this.tabs.find(i=>i.name===this.selectedTab).moreUrl}},mounted(){x=(async()=>{for(const i of this.tabs){if(i.notifyApi){const t=await Ajax.getJsonWithCredentials(i.notifyApi);if(t.code!==0||!t.data.update_num||this.selectedTab===i.name){continue}i.notifyCount=t.data.update_num}}});x()},destroyed(){x=(()=>{})},watch:{selectedTab(i){this.tabs.find(t=>t.name===i).notifyCount=null}}})}get name(){return"activities"}}class C extends m{constructor({mainUrl:i,name:t,apiUrl:e,listName:a,listMap:s}){super();this.href=i;this.listName=a;this.html=t;this.noPadding=true;this.requestedPopup=false;this.popupHtml=`\n\n
`})}});this.active=document.URL.startsWith("https://www.bilibili.com/watchlater/")}}class I extends C{constructor(){super({name:"收藏",mainUrl:`https://space.bilibili.com/${c.mid}/favlist`,apiUrl:"https://api.bilibili.com/medialist/gateway/coll/resource/recent",listName:"favorites",listMap:i=>{if(!i.data||i.data.length===0){return[`
`})}});this.active=document.URL.replace(/\?.*$/,"")===`https://space.bilibili.com/${c.mid}/favlist`}}class S extends C{constructor(){super({name:"历史",mainUrl:"https://www.bilibili.com/account/history",apiUrl:"https://api.bilibili.com/x/v2/history?pn=1&ps=6",listName:"history",listMap:i=>{if(!i.data||i.data.length===0){return[`
\n\n`})}});this.active=document.URL.replace(/\?.*$/,"")==="https://www.bilibili.com/account/history"}}class A extends m{constructor(){super();this.noPadding=true;this.href=`https://space.bilibili.com/${c.mid}/bangumi`;this.html="订阅";this.active=[`https://space.bilibili.com/${c.mid}/bangumi`,`https://space.bilibili.com/${c.mid}/cinema`,`https://space.bilibili.com/${c.mid}/subs`].includes(document.URL.replace(/\?.*$/,""));this.popupHtml=`\n