1document.addEventListener("DOMContentLoaded", function () { 2 (function () { 3 const inputField = document.querySelector( 4 ".booking-input__promocode input" 5 ); 6 const label = document.querySelector( 7 ".booking-input__promocode .field__label" 8 ); 9 10 if (inputField && label) { 11 function toggleLabel() { 12 if (inputField.value === "") { 13 label.style.display = ""; 14 } else { 15 label.style.display = "none"; 16 } 17 } 18 19 inputField.addEventListener("input", toggleLabel); 20 toggleLabel(); 21 } 22 })(); 23}) 24
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.