import{n as u}from"./vueComponentNormalizer.67c9b86e.js";var a=function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("span",[t._v(t._s(t.formattedNumber))])},o=[];const s={props:{number:Number,fromNumber:{type:Number,default(){return 0}},formatNumber:{type:Boolean,default(){return!0}}},data(){return{animatedNumber:0}},watch:{number(){this.animateNumber()}},computed:{formattedNumber(){return this.formatNumber?this.$numbers.numberFormat(this.animatedNumber):this.animatedNumber}},methods:{animateNumber(){const t=this.$numbers.animateNumbers(this.fromNumber,this.number,n=>this.animatedNumber=n);window.addEventListener("blur",()=>{t.cancel(),this.animatedNumber=this.number})}},mounted(){this.animateNumber()}},e={};var m=u(s,a,o,!1,i,null,null,null);function i(t){for(let n in e)this[n]=e[n]}const l=function(){return m.exports}();export{l as U};
