1(function () { 2 3 function initStatBlocks() { 4 var blocks = document.querySelectorAll('.stat-block'); 5 6 if (!blocks.length) return; 7 8 blocks.forEach(function (block) { 9 block.style.opacity = '0'; 10 block.style.transform = 'translateY(24px) scale(0.95)'; 11 }); 12 13 // Small delay lets the browser paint the hidden state before observing 14 setTimeout(function () { 15 if ('IntersectionObserver' in window) { 16 var observer = new IntersectionObserver(function (entries) { 17 entries.forEach(function (entry, i) { 18 if (entry.isIntersecting) { 19 // Stagger each card slightly for a cascade effect 20 setTimeout(function () { 21 entry.target.style.opacity = '1'; 22 entry.target.style.transform = 'translateY(0) scale(1)'; 23 setTimeout(function() { 24 entry.target.style.transform = ''; 25 }, 900); 26}, i * 100); 27 observer.unobserve(entry.target); 28 } 29 }); 30 }, { threshold: 0.15 }); 31 32 blocks.forEach(function (block) { 33 observer.observe(block); 34 }); 35 } else { 36 blocks.forEach(function (block) { 37 block.style.opacity = '1'; 38 block.style.transform = 'translateY(0)'; 39 }); 40 } 41 }, 100); 42 } 43 44 if (document.readyState === 'loading') { 45 document.addEventListener('DOMContentLoaded', initStatBlocks); 46 } else { 47 initStatBlocks(); 48 } 49 50}()); 51 52document.querySelectorAll('.wp-block-columns:has(.stat-block)').forEach(function(el) { 53 el.style.setProperty('outline', 'none', 'important'); 54 el.style.setProperty('border', 'none', 'important'); 55 el.style.setProperty('box-shadow', 'none', 'important'); 56});
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.