iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: http://ecommercedb.com/_nuxt/CBvHL81n.js
import{_ as C}from"./DtiWZQBA.js";import{d as N,L as A,o as g,G as V,e as l,n as w,w as _,v as b,t as E,V as T,W as k,aa as D,f as S,R as F,_ as O,a9 as R}from"./llFuKhWI.js";var c=function(){return c=Object.assign||function(e){for(var s,i=1,n=arguments.length;it.endVal;t.frameVal=r?t.endVal:t.frameVal,t.frameVal=Number(t.frameVal.toFixed(t.options.decimalPlaces)),t.printValue(t.frameVal),o1?t.options.decimal+d[1]:"",t.options.useGrouping){h="";for(var v=3,m=0,p=0,y=r.length;pwindow.scrollY&&s.paused?(s.paused=!1,setTimeout(function(){return s.start()},s.options.scrollSpyDelay),s.options.scrollSpyOnce&&(s.once=!0)):(window.scrollY>a||t>i)&&!s.paused&&s.reset()}},e.prototype.determineDirectionAndSmartEasing=function(){var s=this.finalEndVal?this.finalEndVal:this.endVal;this.countDown=this.startVal>s;var i=s-this.startVal;if(Math.abs(i)>this.options.smartEasingThreshold&&this.options.useEasing){this.finalEndVal=s;var n=this.countDown?1:-1;this.endVal=s+n*this.options.smartEasingAmount,this.duration=this.duration/2}else this.endVal=s,this.finalEndVal=null;this.finalEndVal!==null?this.useEasing=!1:this.useEasing=this.options.useEasing},e.prototype.start=function(s){this.error||(this.options.onStartCallback&&this.options.onStartCallback(),s&&(this.options.onCompleteCallback=s),this.duration>0?(this.determineDirectionAndSmartEasing(),this.paused=!1,this.rAF=requestAnimationFrame(this.count)):this.printValue(this.endVal))},e.prototype.pauseResume=function(){this.paused?(this.startTime=null,this.duration=this.remaining,this.startVal=this.frameVal,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count)):cancelAnimationFrame(this.rAF),this.paused=!this.paused},e.prototype.reset=function(){cancelAnimationFrame(this.rAF),this.paused=!0,this.resetDuration(),this.startVal=this.validateValue(this.options.startVal),this.frameVal=this.startVal,this.printValue(this.startVal)},e.prototype.update=function(s){cancelAnimationFrame(this.rAF),this.startTime=null,this.endVal=this.validateValue(s),this.endVal!==this.frameVal&&(this.startVal=this.frameVal,this.finalEndVal==null&&this.resetDuration(),this.finalEndVal=null,this.determineDirectionAndSmartEasing(),this.rAF=requestAnimationFrame(this.count))},e.prototype.printValue=function(s){var i;if(this.el){var n=this.formattingFn(s);!((i=this.options.plugin)===null||i===void 0)&&i.render?this.options.plugin.render(this.el,n):this.el.tagName==="INPUT"?this.el.value=n:this.el.tagName==="text"||this.el.tagName==="tspan"?this.el.textContent=n:this.el.innerHTML=n}},e.prototype.ensureNumber=function(s){return typeof s=="number"&&!isNaN(s)},e.prototype.validateValue=function(s){var i=Number(s);return this.ensureNumber(i)?i:(this.error="[CountUp] invalid start or end value: ".concat(s),null)},e.prototype.resetDuration=function(){this.startTime=null,this.duration=1e3*Number(this.options.duration),this.remaining=this.duration},e}();const I={class:"has-background-blue-700 is-overflow-hidden",style:{"padding-top":"4.5rem","padding-bottom":"4.5rem","background-repeat":"no-repeat","background-position":"center center","background-size":"cover","background-image":"url('/img/pages/home/images/background-60.jpg')"}},P={class:"container is-max-widescreen px-3-mobile py-3-mobile px-3-tablet py-3-tablet has-text-white"},B={class:"columns has-text-white mt-2"},L=["id"],M={class:"is-size-4"},G={class:"columns mt-6"},Y={class:"column is-narrow"},$={class:"column is-narrow"},q=N({__name:"NumbersCountUp",props:{mainCategory:{},subCategories:{}},setup(e){const s=e;return A(()=>{const i={scrollSpyOnce:!0,enableScrollSpy:!0,suffix:"+"};s.subCategories.forEach((n,t)=>new U(`${s.mainCategory.toLowerCase()}-count-up_${t}`,n.count,i))}),(i,n)=>{const t=C,a=O;return g(),V("section",I,[l("div",P,[w(t,{"title-classes":"has-text-white has-text-weight-bold"},{title:_(()=>[b(E(s.mainCategory)+" - In a Nutshell ",1)]),_:1}),l("div",B,[(g(!0),V(T,null,k(s.subCategories,(o,r)=>(g(),V("div",{key:r,class:"column is-narrow mr-6-tablet has-text-white",style:D({minWidth:`${90+o.count.toString().length*10}px`})},[l("div",{id:`${s.mainCategory.toLowerCase()}-count-up_${r}`,class:"is-size-1 has-text-weight-bold",style:{"margin-bottom":"-0.8rem"}},E(o.count)+"+ ",9,L),l("span",M,E(o.name),1)],4))),128))]),l("div",G,[l("div",Y,[w(a,{to:("ROUTES"in i?i.ROUTES:S(F)).REQUEST.WEBINAR(),"data-gtm":"book_a_demo_hp",class:"custom-button custom-button-primary mr-6"},{default:_(()=>[b(" Book a Demo ")]),_:1},8,["to"])]),l("div",$,[w(a,{to:("ROUTES"in i?i.ROUTES:S(F)).PRICING(),"data-gtm":"view_plans_hp",class:"custom-button custom-button-secondary"},{default:_(()=>[b(" Pricing ")]),_:1},8,["to"])])])])])}}}),H=R(q,[["__scopeId","data-v-8a66f197"]]);export{H as default};