PageSourceSearch

https://treesforall.nl/app/cache/min/1/app/themes/treesforall/static/js/gutenberg/impact.js?ver=1790242094

js treesforall.nl collected 2026-09-24 17:21:27 UTC 806 bytes, 2 lines download raw bytes

1jQuery(function($){function impactCounter(elm){const value=elm.attr('data-value');const decimals=elm.attr('data-decimals');const year=elm.hasClass('number--is-year');$({Counter:0}).animate({Counter:value},{duration:1000,easing:'swing',step:function(step){if(year){elm.text(Math.floor(step))}else{let parsedValue=parseFloat(step).toLocaleString('nl-NL',{minimumFractionDigits:0,maximumFractionDigits:decimals});elm.text(parsedValue)}}})}
2const handleIntersection=(entries,opts)=>{entries.forEach(entry=>{if(entry.isIntersecting){impactCounter($(entry.target));observer.unobserve(entry.target)}})};const observer=new IntersectionObserver(handleIntersection,{root:null,threshold:.85});const elements=document.querySelectorAll('.block-impact .impact span.number');elements.forEach(elm=>observer.observe(elm))})

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.