(()=>{return(e,n)=>{const t=()=>{return Boolean(document.URL.match(/live\.bilibili\.com\/(blanc\/)?(\d)+/))};const c=()=>{const e=dq(`#record-live-danmaku`);let t;e.addEventListener("click",async()=>{if(!dq(".live-danmaku-recorder")){const e=await n.importAsync("record-live-danmaku.vue");t=(new(Vue.extend(e))).$mount();const c=t.$el;document.body.insertAdjacentElement("beforeend",c);t.opened=true}else{t.opened=!t.opened}dq(".gui-settings-mask").click()})};return{widget:{content:`\n\n`,condition:t,success:c}}}})();