You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
1.1 KiB
1 lines
1.1 KiB
(()=>{"use strict";var e,t={9612:(e,t,n)=>{function o(e,t=1e4){return new Promise((async(n,o)=>{e()&&n(!0);const r=Date.now();let s=!1;for(;!s&&Date.now()<r+t;)await new Promise((t=>{setTimeout((()=>{s=e(),t()}),1e3)}));n(s)}))}n.d(t,{$l:()=>o})}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var s=n[e]={exports:{}};return t[e](s,s.exports,o),s.exports}o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e=o(9612),document.addEventListener("asbplayer-get-synced-data",(async()=>{let t="";await(0,e.$l)((()=>{const e=document.querySelectorAll('div[class^="Header__TitleContainer"]'),n=[],o=[];for(let t=0;t<e.length;++t)o.push(e[t]);for(;o.length>0;){const e=o.shift();if(void 0===e)break;if(0!==e.childNodes.length)for(let t=0;t<e.childNodes.length;++t){const n=e.childNodes[t];o.push(n)}else{const t=e.textContent;null!==t&&n.push(t)}}return n.length>0&&(t=n.join(" "),!0)})),document.dispatchEvent(new CustomEvent("asbplayer-synced-data",{detail:{error:"",basename:t,subtitles:[]}}))}))})();
|