1const HFOUR8IMAGES = Array.from(document.querySelectorAll('.home-four8 img')) 2const HFour8ImageSquere = (block) => { 3 let blockSizes = block.getBoundingClientRect(); 4 block.setAttribute("style", `height: ${blockSizes.width}px;`); 5 window.addEventListener('resize', () => { 6 let blockSizes = block.getBoundingClientRect(); 7 block.setAttribute("style", `height: ${blockSizes.width}px;`); 8 }) 9} 10let HFour8ImageBig = Array.from(document.querySelectorAll('.home-four8__big-pic img')); 11let HFour8ImagesSmall = Array.from(document.querySelectorAll('.home-four8__top-picture')); 12let HFour8ImagesWide = Array.from(document.querySelectorAll('.home-four8__bottom-block')); 13 14HFour8ImagesSmall.forEach(picture => { 15 HFour8ImageSquere(picture); 16}); 17HFour8ImageBig.forEach(picture => { 18 HFour8ImageSquere(picture); 19}); 20HFour8ImagesWide.forEach(picture => { 21 let picWidth = picture.getBoundingClientRect().width; 22 picture.setAttribute('style', `height:${picWidth / 2}px`) 23 window.addEventListener('resize', () => { 24 let picWidth = picture.getBoundingClientRect().width; 25 picture.setAttribute('style', `height:${picWidth / 2}px`) 26 }) 27}) 28
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.