1if (typeof ewww_webp_supported === 'undefined') { 2 var ewww_webp_supported = false; 3} 4if (typeof swis_lazy_css_images === 'undefined') { 5 var swis_lazy_css_images = {}; 6} 7window.lazySizesConfig = window.lazySizesConfig || {}; 8window.lazySizesConfig.expand = document.documentElement.clientHeight > 500 && document.documentElement.clientWidth > 500 ? 1000 : 740; 9window.lazySizesConfig.iframeLoadMode = 1; 10if (typeof eio_lazy_vars === 'undefined'){ 11 console.log('setting failsafe lazy vars'); 12 eio_lazy_vars = { 13 bg_min_dpr: 1.1, 14 exactdn_domain: '.exactdn.com', 15 safe_domains: [], 16 skip_autoscale: 0, 17 threshold: 0, 18 use_dpr: 0, 19 }; 20} 21if (eio_lazy_vars.threshold > 50) { 22 window.lazySizesConfig.expand = eio_lazy_vars.threshold; 23} 24window.lazySizesConfig.safeDomains = []; 25if (typeof eio_lazy_vars.safe_domains === 'object' && Array.isArray(eio_lazy_vars.safe_domains)) { 26 window.lazySizesConfig.safeDomains = eio_lazy_vars.safe_domains; 27} 28console.log( 'root margin: ' + window.lazySizesConfig.expand ); 29for ( const [css_index, css_image] of Object.entries(swis_lazy_css_images)){ 30 console.log('processing css image ' + css_index + ': ' + css_image[0].url); 31 try { 32 document.querySelectorAll(css_image[0].selector).forEach((el) => { 33 if (!el.classList.contains('lazyload')) { 34 console.log('adding lazyload to css image ' + css_index + ': ' + css_image[0].url); 35 el.classList.add('lazyload'); 36 el.dataset.swisLazyId = css_index; 37 if (css_image[0].rwidth > 5 && css_image[0].rheight > 5) { 38 el.dataset.eioRwidth = css_image[0].rwidth; 39 el.dataset.eioRheight = css_image[0].rheight; 40 } 41 } 42 }); 43 } catch (e) { 44 console.log('error processing css image(s) for "' + css_index[0].selector + '": ' + e); 45 } 46}
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.