1 2 3const readMoreBoxes = document.querySelectorAll('.read-more__box'); 4 5readMoreBoxes.forEach(item => { 6 7 const elBtn = item.querySelector('.js-read-more-expand'), 8 elContent = item.querySelector('.js-read-more') 9 10 if( null !== elBtn && null !== elContent ) { 11 12 elBtn.addEventListener( 'click', () => { 13 const state = elContent.classList.contains('is-expanded') 14 if( state ) { 15 elBtn.innerText = 'Read More' 16 elContent.classList.remove('is-expanded') 17 elBtn.classList.remove('is-expanded') 18 } else { 19 elBtn.innerText = 'Read Less' 20 elContent.classList.add('is-expanded') 21 elBtn.classList.add('is-expanded') 22 } 23 }) 24 } 25}) 26
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.