1(function(factory){'use strict';if(typeof define==='function'&&define.amd){define(['jquery'],factory)}else if(typeof exports!=='undefined'){module.exports=factory(require('jquery'))}else{factory(jq1124)}}(function($){'use strict';$.fn.incrementalCounter=function(options){var defauts={"digits":4},pad=function(n,width,z){z=z||'0';n=n+'';return n.length>=width?n:new Array(width-n.length+1).join(z)+n},start=function(element){var current_value=parseInt($(element).data('current_value')),end_value=parseInt($(element).data('end_value')),current_speed=20;if(end_value===0){return !1} 2if(end_value-current_value<5){current_speed=200;current_value+=1}else if(end_value-current_value<15){current_speed=50;current_value+=1}else if(end_value-current_value<50){current_speed=25;current_value+=3}else{current_speed=25;current_value+=parseInt((end_value-current_value)/24)} 3$(element).data({current_value:current_value});if(current_speed){setTimeout(function(){display($(element),current_value)},current_speed)}else{display($(element),current_value)}},display=function(element,value){var padedNumber=pad(value,element.data('digits')),exp=padedNumber.split(""),end_value=$(element).data('end_value'),nums=$(element).find('.num');$(exp).each(function(i,e){$(nums[i]).text(exp[i])});if(end_value!=value){start(element)}},options=$.extend(defauts,options);this.each(function(index,element){var default_digits=options.digits,digits=element.getAttribute('data-digits')?element.getAttribute('data-digits'):default_digits,end_value=parseInt(element.getAttribute('data-value'));digits=digits==='auto'||digits<String(end_value).length?String(end_value).length:digits;$(element).data({current_value:0,end_value:end_value,digits:digits,current_speed:0});for(var i=0;i<digits;i++){$(element).append('<div class="num">0</div>')} 4start($(element))});return this}}))
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.