1class o{constructor(t){this.element=t,this.init()}init(){this.setupAccessibility(),this.handleImageLoading()}setupAccessibility(){const t=this.element.querySelector("img"),e=this.element.querySelector(".wp-block-button__link");t&&!t.getAttribute("alt")&&(t.setAttribute("alt",""),t.setAttribute("role","presentation")),e&&(e.addEventListener("focus",this.handleButtonFocus.bind(this)),e.addEventListener("blur",this.handleButtonBlur.bind(this)))}handleImageLoading(){const t=this.element.querySelector("img");t&&(t.addEventListener("load",()=>{t.classList.add("loaded")}),t.addEventListener("error",()=>{console.warn("Section Hero: Background image failed to load")}))}handleButtonFocus(t){t.target.classList.add("focused")}handleButtonBlur(t){t.target.classList.remove("focused")}}function i(){document.querySelectorAll(".section-hero").forEach(t=>{t.hasAttribute("data-initialized")||(new o(t),t.setAttribute("data-initialized","true"))})}document.addEventListener("DOMContentLoaded",i);window.addEventListener("load",i);
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.