1const expanders = document.querySelectorAll('.expander'); 2const closeButtons = document.querySelectorAll('.close-btn'); 3 4expanders.forEach((expander) => { 5 expander.addEventListener('click', function() { 6 if(expander.classList.contains("hidden")) { 7 this.classList.remove('hidden'); 8 this.querySelector('.copy-contain').classList.remove('hidden'); 9 this.querySelector('.expand-btn').classList.add('hidden'); 10 } else { 11 this.classList.add('hidden'); 12 this.querySelector('.copy-contain').classList.add('hidden'); 13 this.querySelector('.expand-btn').classList.remove('hidden'); 14 window.scrollTo({ 15 top: this.offsetTop - 100 16 }) 17 } 18 }) 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.