PageSourceSearch

https://www.beck-aktuell.de/themes/custom/circle_dot/build/assets/…/patterns/citation/citation.js?tj8km2

js beck-aktuell.de collected 2026-09-24 21:11:02 UTC 1,127 bytes, 2 lines download raw bytes

1var n=class extends HTMLElement{#e;#t;constructor(){super()}connectedCallback(){this.#e=this.querySelector(".js-Citation-copyButton"),this.#t=this.querySelector(".js-Citation-toggle"),!(!this.#e||!this.#t)&&this.#n()}#n(){this.#t.addEventListener("click",this.#o.bind(this)),this.addEventListener("keydown",t=>{t.key==="Escape"&&this.#i()}),document.addEventListener("click",t=>{let e=t.target;e!==this&&!this.contains(e)&&this.#i()}),this.#e.addEventListener("click",this.#s.bind(this))}#i(){let t=this.querySelector(".js-Citation-card");if(!t)return;let e=!t.hidden;t.hidden=!0,e&&this.#t.focus()}#o(){let t=this.querySelector(".js-Citation-card");t&&(t.toggleAttribute("hidden"),requestAnimationFrame(()=>{t.focus()}))}async#s(t){let e=t.currentTarget,i=e.querySelector(".Button-label"),s=i.textContent,o=this.querySelector(".Card-content");if(o)try{await navigator.clipboard.writeText(o.textContent),i.textContent=e.dataset.copied,setTimeout(()=>{i.textContent=s},2e3)}catch(c){throw new Error("Failed to copy citation text",{cause:c})}}};customElements.define("beck-copy-citation",n);
2//# sourceMappingURL=citation.js.map

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.