1jQuery(document).ready(function($){ 2 3 /* rotating texts */ 4 5 var i = 0; 6 (function animate() { 7 setTimeout (function() { 8 $('.PFA .content .animated').fadeOut(300, function () { 9 i = (i + 1) % rotating_texts.length; 10 this.textContent = rotating_texts[i].text1; 11 }).fadeIn(1400, animate); 12 }, 3000) 13 })(); 14 15 16 17 /* counter */ 18 19 //count up from X then add 1 per sec 20 if($('.PFA .counter .value').length > 0){ 21 var currentNumber = parseInt($('.PFA .counter .value').html().replace(/,/g, '')); 22 23 function updateNumber() { 24 currentNumber+=1; 25 $('.PFA .counter .value').html(currentNumber.toLocaleString('en')); 26 } 27 setInterval(updateNumber, 1000); 28 } 29 30 31 //count up from 0 to X in 3 sec 32 // $('.PFA .counter .value').each(function() { 33 // var $this = $(this), 34 // countTo = parseInt($this.attr('data-count')); 35 36 // $({ countNum: $this.text()}).animate({ 37 // countNum: countTo 38 // }, { 39 // duration: 4000, 40 // easing:'linear', 41 // step: function() { 42 // $this.text(Math.floor(this.countNum)); 43 // }, 44 // complete: function() { 45 // $this.text(this.countNum); 46 // } 47 // }); 48 // }); 49 50 51 52 //autoplay video - ios fix 53 document.querySelectorAll('.PFA video').forEach(video => video.play()); 54 55 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.