1document.addEventListener('DOMContentLoaded', function () { 2 document.querySelectorAll('.burger-catalog-section').forEach(section => { 3 section.addEventListener('click', function () { 4 section.lastElementChild.classList.add('active') 5 }) 6 }) 7 document.querySelectorAll('.burger-catalog-section-list-btn').forEach(btn => { 8 btn.addEventListener('click', function (e) { 9 e.stopPropagation() 10 btn.parentElement.classList.remove('active') 11 }) 12 }) 13 document.querySelectorAll('.burger-catalog-section-list .section-parent').forEach(btn => { 14 btn.addEventListener('click', function () { 15 this.classList.toggle('active') 16 if (this.classList.contains('active')) { 17 this.lastElementChild.style.opacity = '1' 18 this.lastElementChild.style.height = this.lastElementChild.scrollHeight + 'px' 19 } else { 20 this.lastElementChild.style.opacity = '0' 21 this.lastElementChild.style.height = '0' 22 } 23 }) 24 }) 25})
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.