(()=>{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
${e.showBlockedAdsTip?"🚫已屏蔽广告":""}
\n`);t.style.visibility="hidden";i.querySelector("a.more-text").style.display="none";i.querySelector("img").style.display="none"}})})}SpinQuery.select(".gg-carousel.home-slide").then(e=>{if(!e){return}[...e.querySelectorAll(".gg-icon")].map(e=>e.parentElement.parentElement.parentElement).forEach(e=>e.style.display="none")})}})();