PageSourceSearch

https://www.victoriaplains.wa.gov.au/profiles/vicplains/Includes/Scripts/plugins/jquery.countup.min.js

js victoriaplains.wa.gov.au collected 2026-10-04 04:13:19 UTC 1,852 bytes, 11 lines download raw bytes

1/*!
2 * jquery.counterup.js 2.1.0
3 *
4 * Copyright 2013, Benjamin Intal http://gambit.ph @bfintal
5 * Released under the GPL v2 License
6 *
7 * Amended by Jeremy Paris, Ciro Mattia Gonano and others
8 *
9 * Date: Feb 24, 2017
10 */
11(function(n){"use strict";n.fn.counterUp=function(t){var i=n.extend({time:400,delay:10,offset:100,beginAt:0,formatter:!1,context:"window",callback:function(){}},t),r;return this.each(function(){var t=n(this),u={time:n(this).data("counterup-time")||i.time,delay:n(this).data("counterup-delay")||i.delay,offset:n(this).data("counterup-offset")||i.offset,beginAt:n(this).data("counterup-beginat")||i.beginAt,context:n(this).data("counterup-context")||i.context},f=function(){var p=[],s=u.time/u.delay,e=n(this).attr("data-num")?n(this).attr("data-num"):t.text(),k=/[0-9]+,[0-9]+/.test(e),w,h,c,l,o,f,b;if(e=e.replace(/,/g,""),w=(e.split(".")[1]||[]).length,u.beginAt>e&&(u.beginAt=e),h=/[0-9]+:[0-9]+:[0-9]+/.test(e),h)for(c=e.split(":"),l=1,r=0;c.length>0;)r+=l*parseInt(c.pop(),10),l*=60;for(o=s;o>=u.beginAt/e*s;o--){if(f=parseFloat(e/s*o).toFixed(w),h){f=parseInt(r/s*o);var a=parseInt(f/3600)%24,v=parseInt(f/60)%60,y=parseInt(f%60,10);f=(a<10?"0"+a:a)+":"+(v<10?"0"+v:v)+":"+(y<10?"0"+y:y)}if(k)while(/(\d+)(\d{3})/.test(f.toString()))f=f.toString().replace(/(\d+)(\d{3})/,"$1,$2");i.formatter&&(f=i.formatter.call(this,f));p.unshift(f)}t.data("counterup-nums",p);t.text(u.beginAt);b=function(){if(!t.data("counterup-nums")){i.callback.call(this);return}t.html(t.data("counterup-nums").shift());t.data("counterup-nums").length?setTimeout(t.data("counterup-func"),u.delay):(t.data("counterup-nums",null),t.data("counterup-func",null),i.callback.call(this))};t.data("counterup-func",b);setTimeout(t.data("counterup-func"),u.delay)};t.waypoint(function(){f();this.destroy()},{offset:u.offset+"%",context:u.context})})}})(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.