PageSourceSearch

https://cdn.netzpolitik.org/wp-content/plugins/np-custom-gutenberg…/script.js?ver=fdc06e3c6ddadbccf52e

js netzpolitik.org collected 2026-09-24 07:19:39 UTC 1,595 bytes, 1 lines download raw bytes

1(()=>{function t(){const t=document.querySelectorAll(".np-block-menu[data-open='true']").length>0;document.body.classList.toggle("np-menu-open",t)}function e(t){return"true"===String(t.dataset.open).toLowerCase()}function n(e,n){if(e.container.dataset.open=n?"true":"false",e.button.setAttribute("aria-expanded",n?"true":"false"),e.content.setAttribute("aria-hidden",n?"false":"true"),n){const t=function(t){const e=["a[href]","button:not([disabled])","input:not([disabled])","select:not([disabled])","textarea:not([disabled])","[tabindex]:not([tabindex='-1'])"].join(","),n=t.querySelector(e);return null!=n?n:null}(e.content);(null!=t?t:e.content).focus()}else e.button.focus();t()}document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".np-block-menu").forEach(o=>{!function(o){const a=o.querySelector(".np-block-menu__button"),r=o.querySelector(".np-block-menu__content");if(!a||!r)return;r.hasAttribute("tabindex")||r.setAttribute("tabindex","-1");const u={container:o,button:a,content:r},c=e(o);n(u,c),a.addEventListener("click",t=>{t.preventDefault(),n(u,!e(o))}),r.addEventListener("keydown",t=>{"Escape"!==t.key&&"Esc"!==t.key||n(u,!1)}),document.addEventListener("click",t=>{const a=t.target;a&&e(o)&&!o.contains(a)&&n(u,!1)}),document.addEventListener("keydown",t=>{"Escape"!==t.key&&"Esc"!==t.key||e(o)&&(n(u,!1),t.stopPropagation())}),new MutationObserver(()=>{const n=e(o);u.button.setAttribute("aria-expanded",n?"true":"false"),u.content.setAttribute("aria-hidden",n?"false":"true"),t()}).observe(o,{attributes:!0,attributeFilter:["data-open"]})}(o)})})})();

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.