1const r="mwc-copy-button";function i(n=document){const o=n.querySelectorAll(".marketplace-markdown pre:has(> code)");for(const t of o){if(t.querySelector(`.${r}`))continue;const e=document.createElement("button");e.type="button",e.className=r,e.textContent="Copy",t.style.position="relative",t.appendChild(e)}}function u(n){const o=n.target;if(!(o instanceof HTMLElement))return;const t=o.closest(`.${r}`);if(!t)return;const c=t.closest("pre")?.querySelector("code")?.textContent??"";navigator.clipboard.writeText(c);const s=t.textContent;t.textContent="Copied!",window.setTimeout(()=>{t.textContent=s||"Copy"},1500)}function a(){if(typeof window>"u"||window.__inlangMarkdownInteractiveInitialized)return;window.__inlangMarkdownInteractiveInitialized=!0,i(),document.addEventListener("click",u),new MutationObserver(()=>i()).observe(document.body,{childList:!0,subtree:!0})}export{a as i};
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.