drill.ext("fixUrlObj",(e,t,l)=>{let r=t(...e);if("dcode"==r.fileType){let e=r.link.replace(/\.dcode(\??.*)/,".html$1");e&&(r.link=e)}return r}),drill.ext(e=>{let{loaders:t}=e;t.set("dcode",async e=>{let t;try{t=await fetch(e.link)}catch(t){return void(e.stat=2)}let l=(await t.text()).match(/<body>([\d\D]*)<\/body>/);l&&(l=l[1]);let r=document.createElement("div");r.innerHTML=l;let d=r.querySelectorAll("[domcode]"),c={};d&&Array.from(d).forEach(e=>{let t=e.getAttribute("domcode");e.removeAttribute("domcode"),"none"==e.style.display&&(e.style.display=""),t&&(c[t]=e.outerHTML)});let i=Object.assign({},c);Object.keys(i).forEach(e=>{let t=i[e],l=document.createElement("div");l.innerHTML=t,i[e]=l.children[0].innerHTML}),e.getPack=(async e=>e.param.includes("-inner")?i:c),e.stat=3})});