1const swiperConfig = {}; 2 3document.addEventListener("DOMContentLoaded", function () { 4 5 let swipers = document.querySelectorAll('.swiper:not(.swiper-initialized):not(.single)'); 6 7 if (swipers.length > 0) { 8 for (var i = 0, len = swipers.length; i < len; i++) { 9 if (swipers[i].getAttribute('data-options')) 10 options = JSON.parse(swipers[i].getAttribute('data-options')) 11 else 12 options = [] 13 14 swipers[i].style.display = 'block' 15 16 let merged = {...swiperConfig, ...options} 17 18 let swiper = new Swiper(swipers[i], merged); 19 } 20 } 21 22})
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.