PageSourceSearch

https://landdesignhq.co.nz/wp-content/plugins/Ultimate_VC_Addons/assets/min-js/countUp.min.js?ver=3.21.6

js landdesignhq.co.nz collected 2026-10-10 01:49:47 UTC 2,598 bytes, 1 lines download raw bytes

1function countUp(t,a,e,n,i,r){this.options=r||{useEasing:!0,useGrouping:!0,separator:",",decimal:"."};let o=0;var l=["webkit","moz","ms"];for(let t=0;t<l.length&&!window.requestAnimationFrame;++t)window.requestAnimationFrame=window[l[t]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[l[t]+"CancelAnimationFrame"]||window[l[t]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(t,a){let e=(new Date).getTime(),n=Math.max(0,16-(e-o));var i=window.setTimeout(function(){t(e+n)},n);return o=e+n,i}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)});let s=this;this.d="string"==typeof t?document.getElementById(t):t,this.startVal=Number(a),this.endVal=Number(e),this.countDown=this.startVal>this.endVal,this.startTime=null,this.timestamp=null,this.remaining=null,this.frameVal=this.startVal,this.rAF=null,this.decimals=Math.max(0,n||0),this.dec=Math.pow(10,this.decimals),this.duration=1e3*i||2e3,this.easeOutExpo=function(t,a,e,n){return e*(1-Math.pow(2,-10*t/n))*1024/1023+a},this.count=function(t){null===s.startTime&&(s.startTime=t);var a,t=(s.timestamp=t)-s.startTime;s.remaining=s.duration-t,s.options.useEasing?s.countDown?(a=s.easeOutExpo(t,0,s.startVal-s.endVal,s.duration),s.frameVal=s.startVal-a):s.frameVal=s.easeOutExpo(t,s.startVal,s.endVal-s.startVal,s.duration):s.countDown?(a=(s.startVal-s.endVal)*(t/s.duration),s.frameVal=s.startVal-a):s.frameVal=s.startVal+(s.endVal-s.startVal)*(t/s.duration),s.frameVal=Math.round(s.frameVal*s.dec)/s.dec,s.countDown?s.frameVal=s.frameVal<s.endVal?s.endVal:s.frameVal:s.frameVal=s.frameVal>s.endVal?s.endVal:s.frameVal,s.d.innerHTML=s.formatNumber(s.frameVal.toFixed(s.decimals)),t<s.duration?s.rAF=requestAnimationFrame(s.count):null!=s.callback&&s.callback()},this.start=function(t){return s.callback=t,isNaN(s.endVal)||isNaN(s.startVal)?(console.log("countUp error: startVal or endVal is not a number"),s.d.innerHTML="--"):s.rAF=requestAnimationFrame(s.count),!1},this.stop=function(){cancelAnimationFrame(s.rAF)},this.reset=function(){s.startTime=null,cancelAnimationFrame(s.rAF),s.d.innerHTML=s.formatNumber(s.startVal.toFixed(s.decimals))},this.resume=function(){s.startTime=null,s.duration=s.remaining,s.startVal=s.frameVal,requestAnimationFrame(s.count)},this.formatNumber=function(t){let a,e,n,i;if(a=(t+="").split("."),e=a[0],n=1<a.length?s.options.decimal+a[1]:"",i=/(\d+)(\d{3})/,s.options.useGrouping)for(;i.test(e);)e=e.replace(i,"$1"+s.options.separator+"$2");return e+n},s.d.innerHTML=s.formatNumber(s.startVal.toFixed(s.decimals))}

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.