1(()=>{"use strict";const e=()=>{try{document.querySelectorAll(".footer__menu").forEach((e=>function(e){if(!e)return;const t=e.querySelector("ul.menu");if(!t)return;e.classList.add("is-enhanced");const n=[];t.querySelectorAll(":scope > li.menu-item-has-children").forEach(((e,t)=>{const r=e.querySelector(":scope > a"),o=e.querySelector(":scope > ul.sub-menu");if(!r||!o)return;const i=o.id||`footer-submenu-${t+1}`;o.id=i;let u=e.querySelector(":scope > button.footer-menu__toggle");if(!u){u=document.createElement("button"),u.type="button",u.className="footer-menu__toggle",u.setAttribute("aria-expanded","false"),u.setAttribute("aria-controls",i);const t=r.textContent?.trim()||"Section";u.setAttribute("aria-label",`Toggle ${t}`),e.appendChild(u)}r.addEventListener("click",(e=>{window.innerWidth<1023&&"#"===r.getAttribute("href")&&(e.preventDefault(),u.click())})),n.push({li:e,submenu:o,toggle:u})}));const r=()=>{const e=window.innerWidth<1023;n.forEach((({submenu:t,toggle:n})=>{e?"true"!==n.getAttribute("data-user-opened")&&(n.setAttribute("aria-expanded","false"),t.hidden=!0):(n.setAttribute("aria-expanded","true"),t.hidden=!1,n.removeAttribute("data-user-opened"))}))},o=e=>{const t=e.currentTarget,n="true"===t.getAttribute("aria-expanded"),r=t.getAttribute("aria-controls"),o=r?document.getElementById(r):null;if(!o)return;const i=!n;t.setAttribute("aria-expanded",String(i)),t.setAttribute("data-user-opened","true"),o.hidden=!i};n.forEach((({toggle:e})=>{e.removeEventListener("click",o),e.addEventListener("click",o)})),r();let i=0;window.addEventListener("resize",(()=>{window.clearTimeout(i),i=window.setTimeout(r,120)})),window.addEventListener("orientationchange",r)}(e)))}catch(e){console.error("[footer-menu] initialization error:",e)}};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()})();
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.