PageSourceSearch

https://mixedmigration.org/wp-content/cache/min/1/wp-content/theme…/build/blocks/tabs/view.js?ver=1790878405

js mixedmigration.org collected 2026-10-02 02:52:18 UTC 726 bytes, 1 lines download raw bytes

1(()=>{class t{constructor(t){this.tabs=t,this.init()}init=()=>{this.buttons=this.tabs.querySelectorAll(".mmd-tabs__tab"),this.panels=this.tabs.querySelectorAll(".mmd-tabs__panel"),this.tabs.addEventListener("click",this.handleTabsNav)};handleTabsNav=t=>{const e=t.target.closest(".mmd-tabs__tab");if(e){t.preventDefault();const s=this.tabs.querySelector(`#${e.getAttribute("aria-controls")}`);this.panels.forEach(t=>{t!==s?t.setAttribute("hidden","hidden"):t.removeAttribute("hidden")}),this.buttons.forEach(t=>{t!==e?t.setAttribute("aria-selected","false"):t.setAttribute("aria-selected","true")})}}}document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".mmd-tabs").forEach(e=>new t(e))},{once:!0})})()

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.