PageSourceSearch

https://amnestyghana.org/wp-content/plugins/block-tabbed-content-1…/frontend-1aa8acec.js?ver=1720102467

js amnestyghana.org collected 2026-10-02 16:42:15 UTC 1,655 bytes, 2 lines download raw bytes

1(()=>{"use strict";const t=function(t){return!!t.target.closest(".tab")},e=function(t,e,r){e.forEach((function(t){t.setAttribute("aria-selected","false"),t.setAttribute("tabindex","-1"),t.classList.remove("is-selected-tab")})),t.setAttribute("aria-selected","true"),t.setAttribute("tabindex","0");var a=t.querySelector(".rich-text");a?a.focus():t.focus(),t.classList.add("is-selected-tab"),r.forEach((function(t){t.setAttribute("aria-expanded","false"),t.classList.remove("is-selected-tab")}));var n=t.getAttribute("aria-controls"),c=document.getElementById(n);c.setAttribute("aria-expanded","true"),c.classList.add("is-selected-tab")},r=function(t,e){return Array.from(e).indexOf(t)};window.addEventListener("DOMContentLoaded",(function(){var a=document.querySelectorAll(".wp-block-bigbite-tabs");a.forEach((function(a){var n=a.querySelector(".tabsContainer"),c=a.querySelectorAll(".tab"),i=a.querySelectorAll(".tabPanel");n.addEventListener("click",(function(r){if(t(r)){c=a.querySelectorAll(".tab"),i=a.querySelectorAll(".tabPanel");var n=r.target.closest(".tab");e(n,c,i)}})),n.addEventListener("keydown",(function(a){if(t(a)){var n=a.target.closest(".tab");switch(a.key){case"ArrowLeft":!function(t,a,n){var c=r(t,a);0===c?e(a[a.length-1],a,n):-1!==c&&e(a[c-1],a,n)}(n,c,i);break;case"ArrowRight":!function(t,a,n){var c=r(t,a);c===a.length-1?e(a[0],a,n):-1!==c&&e(a[c+1],a,n)}(n,c,i)}}}))}));var n=window.location.hash.replace("#","");a.forEach((function(t){var r=t.querySelectorAll(".tab"),a=t.querySelectorAll(".tabPanel");r.forEach((function(t){var c=t.getAttribute("id");n===c&&e(t,r,a)}))}))}))})();
2//# sourceMappingURL=frontend-1aa8acec.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.