1function l(t){const e=t.querySelector('[data-ref="copyTextFromButton"]'),r=t.querySelector('[data-ref="copyText"]'),o=y(e,r);return()=>{o()}}function y(t,e,{feedbackDuration:r=1200}={}){var a;if(!t||!e)return()=>{};const o=t.querySelector("span"),p=(o==null?void 0:o.textContent.trim())||"",u=((a=o==null?void 0:o.dataset.actionText)==null?void 0:a.trim())||"Copied";let c;const n=()=>{var s;const i=e.innerText.trim(),m=()=>navigator.clipboard.writeText(i).catch(()=>d(i));(s=navigator.clipboard)!=null&&s.writeText?m():d(i),t.classList.add("copied"),t.setAttribute("aria-busy","true"),o&&(o.textContent=u),clearTimeout(c),c=setTimeout(()=>{t.classList.remove("copied"),t.removeAttribute("aria-busy"),o&&(o.textContent=p)},r)};return t.addEventListener("click",n),()=>{clearTimeout(c),t.removeEventListener("click",n)}}function d(t){const e=document.createElement("textarea");e.value=t,e.setAttribute("readonly",""),e.style.position="fixed",e.style.inset="-9999px auto auto -9999px",document.body.appendChild(e),e.select(),document.execCommand("copy"),e.remove()}export{l as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.