1! function(t) { 2 "use strict"; 3 t.fn.countUp = function(e) { 4 var a = t.extend({ 5 time: 2e3, 6 delay: 10 7 }, e); 8 return this.each(function() { 9 var e = t(this), 10 n = a, 11 u = function() { 12 e.data("counterupTo") || e.data("counterupTo", e.text()); 13 var t = parseInt(e.data("counter-time")) > 0 ? parseInt(e.data("counter-time")) : n.time, 14 a = parseInt(e.data("counter-delay")) > 0 ? parseInt(e.data("counter-delay")) : n.delay, 15 u = t / a, 16 r = e.data("counterupTo"), 17 o = [r], 18 c = /[0-9]+,[0-9]+/.test(r); 19 r = r.replace(/,/g, ""); 20 for (var d = (/^[0-9]+$/.test(r), /^[0-9]+\.[0-9]+$/.test(r)), s = d ? (r.split(".")[1] || []).length : 0, i = 21 u; i >= 1; i--) { 22 var p = parseInt(Math.round(r / u * i)); 23 if (d && (p = parseFloat(r / u * i).toFixed(s)), c) 24 for (; 25 /(\d+)(\d{3})/.test(p.toString());) p = p.toString().replace(/(\d+)(\d{3})/, "$1,$2"); 26 o.unshift(p) 27 } 28 e.data("counterup-nums", o), e.text("0"); 29 var f = function() { 30 if (e.data('counterup-nums')) { 31 e.text(e.data("counterup-nums").shift()), e.data("counterup-nums").length ? setTimeout(e.data("counterup-func"), a) : (e.data("counterup-nums"), e.data("counterup-nums", null), e.data("counterup-func", null)) 32 } 33 } 34 e.data("counterup-func", f), setTimeout(e.data("counterup-func"), a) 35 }; 36 e.waypoint(u, { 37 offset: "100%", 38 triggerOnce: !0 39 }) 40 }) 41 } 42}(jQuery);
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.