PageSourceSearch

https://conversiontab.com/build/assets/hashStyleCopy-B7l2OPhl.js

js conversiontab.com collected 2026-09-24 10:08:40 UTC 2,632 bytes, 4 lines download raw bytes

1import{maybeShowFullscreenAd as u}from"./ctFullscreenAd-CL-AA_Ul.js";import"./app-gOHIPY12.js";const h=2e3,d={default:'<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="currentColor" focusable="false"><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 18H8V7h11v16z"/></svg>',done:'<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="currentColor" focusable="false"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>'};function y(t,o,s=!0,e=""){const a=s?" disabled":"";return`<button type="button" class="${["ct-hash-copy-btn",e].filter(Boolean).join(" ")}" id="${t}"${a} title="Copy to clipboard" aria-label="${o.replace(/"/g,"&quot;")}">
2        <span class="ct-hash-copy-ic ct-hash-copy-ic--default" aria-hidden="true">${d.default}</span>
3        <span class="ct-hash-copy-ic ct-hash-copy-ic--done d-none" aria-hidden="true">${d.done}</span>
4    </button>`}async function p(t){var s;const o=String(t??"");if(!o)return!1;u("copy");try{if((s=navigator.clipboard)!=null&&s.writeText)return await navigator.clipboard.writeText(o),!0}catch{}try{const e=document.createElement("textarea");e.value=o,e.setAttribute("readonly",""),e.style.position="fixed",e.style.left="-9999px",e.style.top="0",document.body.appendChild(e),e.focus(),e.select();const a=document.execCommand("copy");return document.body.removeChild(e),a}catch{return!1}}function C(t,o,s){if(!t)return()=>{};const e=t.getAttribute("aria-label")||"Copy to clipboard";let a=null;const c=()=>{var i,l;a&&(clearTimeout(a),a=null),t.classList.remove("ct-hash-copy-btn--success"),(i=t.querySelector(".ct-hash-copy-ic--default"))==null||i.classList.remove("d-none"),(l=t.querySelector(".ct-hash-copy-ic--done"))==null||l.classList.add("d-none"),t.setAttribute("title","Copy to clipboard"),t.setAttribute("aria-label",e),t.dataset.ctCopyLabel==="1"&&(t.textContent=t.dataset.ctCopyIdle||"Copy")};return t.addEventListener("click",async()=>{var r,n;const i=o();if(!i)return;if(!await p(i)){s("Copy failed.");return}c(),t.classList.add("ct-hash-copy-btn--success"),(r=t.querySelector(".ct-hash-copy-ic--default"))==null||r.classList.add("d-none"),(n=t.querySelector(".ct-hash-copy-ic--done"))==null||n.classList.remove("d-none"),t.setAttribute("title","Copied!"),t.setAttribute("aria-label","Copied to clipboard"),t.dataset.ctCopyLabel==="1"&&(t.textContent=t.dataset.ctCopyDone||"Copied"),a=setTimeout(()=>c(),h)}),c}export{h as COPY_VISUAL_MS,C as bindHashStyleCopy,p as copyText,y as hashCopyButtonHtml};

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.