PageSourceSearch

https://infinum.com/wp-content/themes/redesign/public/152-0877ee7384e9f90bb2ac.js

js infinum.com collected 2026-10-02 04:07:04 UTC 7,272 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_eightshift_redesign=self.webpackChunk_eightshift_redesign||[]).push([[152],{76991(t,i,e){e.d(i,{T:()=>n});var s=function(){return(s=Object.assign||function(t){for(var i,e=1,s=arguments.length;e<s;e++)for(var n in i=arguments[e])Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n]);return t}).apply(this,arguments)},n=function(){function t(t,i,e){var n=this;this.endVal=i,this.options=e,this.version="2.10.1",this.defaults={startVal:0,decimalPlaces:0,duration:2,useEasing:!0,useGrouping:!0,useIndianSeparators:!1,smartEasingThreshold:999,smartEasingAmount:333,separator:",",decimal:".",prefix:"",suffix:"",autoAnimate:!1,autoAnimateDelay:200,autoAnimateOnce:!1},this.finalEndVal=null,this.useEasing=!0,this.countDown=!1,this.error="",this.startVal=0,this.paused=!0,this.once=!1,this.count=function(t){n.startTime||(n.startTime=t);var i=t-n.startTime;n.remaining=n.duration-i,n.useEasing?n.countDown?n.frameVal=n.startVal-n.easingFn(i,0,n.startVal-n.endVal,n.duration):n.frameVal=n.easingFn(i,n.startVal,n.endVal-n.startVal,n.duration):n.frameVal=n.startVal+(n.endVal-n.startVal)*(i/n.duration);var e=n.countDown?n.frameVal<n.endVal:n.frameVal>n.endVal;n.frameVal=e?n.endVal:n.frameVal,n.frameVal=Number(n.frameVal.toFixed(n.options.decimalPlaces)),n.printValue(n.frameVal),i<n.duration?n.rAF=requestAnimationFrame(n.count):null!==n.finalEndVal?n.update(n.finalEndVal):n.options.onCompleteCallback&&n.options.onCompleteCallback()},this.formatNumber=function(t){var i,e,s,a=(Math.abs(t).toFixed(n.options.decimalPlaces)+"").split(".");if(i=a[0],e=a.length>1?n.options.decimal+a[1]:"",n.options.useGrouping){s="";for(var o=3,r=0,l=0,h=i.length;l<h;++l)n.options.useIndianSeparators&&4===l&&(o=2,r=1),0!==l&&r%o==0&&(s=n.options.separator+s),r++,s=i[h-l-1]+s;i=s}return n.options.numerals&&n.options.numerals.length&&(i=i.replace(/[0-9]/g,function(t){return n.options.numerals[+t]}),e=e.replace(/[0-9]/g,function(t){return n.options.numerals[+t]})),(t<0?"-":"")+n.options.prefix+i+e+n.options.suffix},this.easeOutExpo=function(t,i,e,s){return e*(1-Math.pow(2,-10*t/s))*1024/1023+i},this.options=s(s({},this.defaults),e),this.options.enableScrollSpy&&(this.options.autoAnimate=!0),void 0!==this.options.scrollSpyDelay&&(this.options.autoAnimateDelay=this.options.scrollSpyDelay),this.options.scrollSpyOnce&&(this.options.autoAnimateOnce=!0),this.formattingFn=this.options.formattingFn?this.options.formattingFn:this.formatNumber,this.easingFn=this.options.easingFn?this.options.easingFn:this.easeOutExpo,this.el="string"==typeof t?document.getElementById(t):t,i=null==i?this.parse(this.el.innerHTML):i,this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.endVal=this.validateValue(i),this.options.decimalPlaces=Math.max(this.options.decimalPlaces),this.resetDuration(),this.options.separator=String(this.options.separator),this.useEasing=this.options.useEasing,""===this.options.separator&&(this.options.useGrouping=!1),this.el?this.printValue(this.startVal):this.error="[CountUp] target is null or undefined",this.options.autoAnimate&&(this.error||"u"<typeof IntersectionObserver?this.error:this.setupObserver())}return t.prototype.setupObserver=function(){var i=this,e=t.observedElements.get(this.el);e&&e.unobserve(),t.observedElements.set(this.el,this),this.observer=new IntersectionObserver(function(t){for(var e=0;e<t.length;e++){var s=t[e];s.isIntersecting&&i.paused&&!i.once?(i.paused=!1,i.autoAnimateTimeout=setTimeout(function(){return i.start()},i.options.autoAnimateDelay),i.options.autoAnimateOnce&&(i.once=!0,i.observer.disconnect())):s.isIntersecting||i.paused||(clearTimeout(i.autoAnimateTimeout),i.reset())}},{threshold:0}),this.observer.observe(this.el)},t.prototype.unobserve=function(){var i;clearTimeout(this.autoAnimateTimeout),null==(i=this.observer)||i.disconnect(),t.observedElements.delete(this.el)},t.prototype.onDestroy=function(){clearTimeout(this.autoAnimateTimeout),cancelAnimationFrame(this.rAF),this.paused=!0,this.unobserve(),this.options.onCompleteCallback=null,this.options.onStartCallback=null},t.prototype.determineDirectionAndSmartEasing=function(){var t=null!==this.finalEndVal?this.finalEndVal:this.endVal;if(this.countDown=this.startVal>t,Math.abs(t-this.startVal)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=t;var i=this.countDown?1:-1;
1this.endVal=t+i*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=t,this.finalEndVal=null;null!==this.finalEndVal?this.useEasing=!1:this.useEasing=this.options.useEasing},t.prototype.start=function(t){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),t&&(this.options.onCompleteCallback=t),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},t.prototype.pauseResume=function(){if(this.paused)this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count);else{cancelAnimationFrame(this.rAF);var t=null!==this.finalEndVal?this.duration+this.remaining:this.remaining;this.remaining=t}this.paused=!this.paused},t.prototype.reset=function(){clearTimeout(this.autoAnimateTimeout),cancelAnimationFrame(this.rAF),this.paused=!0,this.once=!1,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},t.prototype.update=function(t){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(t),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,null==this.finalEndVal&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},t.prototype.printValue=function(t){var i;if(this.el){var e=this.formattingFn(t);(null==(i=this.options.plugin)?void 0:i.render)?this.options.plugin.render(this.el,e):"INPUT"===this.el.tagName?this.el.value=e:"text"===this.el.tagName||"tspan"===this.el.tagName?this.el.textContent=e:this.el.innerHTML=e}},t.prototype.ensureNumber=function(t){return"number"==typeof t&&!isNaN(t)},t.prototype.validateValue=function(t){var i=Number(t);return this.ensureNumber(i)?i:(this.error="[CountUp] invalid start or end value: ".concat(t),null)},t.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},t.prototype.parse=function(t){var i=function(t){return t.replace(/([.,'  ])/g,"\\$1")},e=i(this.options.separator),s=i(this.options.decimal);return parseFloat(t.replace(RegExp(e,"g"),"").replace(RegExp(s,"g"),"."))},t.observedElements=new WeakMap,t}()},152(t,i,e){e.d(i,{AnimatedNumbers:()=>n});var s=e(76991);class n{constructor({element:t}){this.element=t,this.prefix="",this.suffix="",this.start="",this.end="",this.duration="",this.increment=""}init(){let{end:t,start:i,duration:e,increment:n,prefix:a,suffix:o,separator:r,decimal:l,decimalPlaces:h}=this.element.dataset;new s.T(this.element,t,{prefix:a||"",suffix:o||"",separator:r||"",decimal:l||"",duration:e||5,startVal:i||0,increment:n||1,decimalPlaces:h||0,enableScrollSpy:!0,scrollSpyDelay:200,scrollSpyOnce:!0}).start()}}}}]);

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.