1function hwFooterMaskHours() { 2 let hours = document.getElementsByClassName("hw_mask_footer_hours__list")[0]; 3 if(hours) { 4 const hours_to = hours.getAttribute("data-language-to"); 5 let hours_elements = document.querySelectorAll(".hw_mask_footer_hours__day, .hw_mask_footer_hours__time_main, .hw_mask_footer_hours__time_additional"); 6 for (const element of hours_elements) { 7 let element_text = element.innerHTML; 8 element.innerHTML = element_text.replace(" - ", " - <span class='sr-only'> " + hours_to + " </span> "); 9 } 10 } 11} 12 13if (document.readyState === 'complete') { 14 hwFooterMaskHours(); 15} else { 16 document.addEventListener('readystatechange', () => { 17 if (document.readyState === 'complete') { 18 hwFooterMaskHours(); 19 } 20 }); 21}
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.