1$(function(){ 2 $(window).scroll(function(){ 3 if ($(window).scrollTop() > ($('#ini-quemsou').offset().top - ($(window).height()-1100))) 4 counterAnimate(); 5 }); 6 7 $('.smartlink a').click(function(e){ 8 e.preventDefault(); 9 10 var h = this.hash; 11 12 if (h) { 13 if ($(h).length) { 14 scrollAnimateTo($(h)); 15 } else { 16 window.location = '/' + h; 17 } 18 } 19 }); 20 var t = setTimeout(function(){ 21 scrollAnimateStart(); 22 }, 1000); 23}); 24 25function counterAnimate(){ 26 const counters = document.querySelectorAll('.ini-numeros-item-num'); 27 const speed = 1000; 28 29 counters.forEach( counter => { 30 const animate = () => { 31 const value = +counter.getAttribute('akhi'); 32 const data = +counter.innerText; 33 34 const time = value / speed; 35 if(data < value) { 36 counter.innerText = Math.ceil(data + time); 37 setTimeout(animate, 20); 38 } else { 39 counter.innerText = value; 40 } 41 42 } 43 44 animate(); 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.