import{n as t}from"./_plugin-vue2_normalizer.61652a7c.js";const u={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 e=this.$numbers.animateNumbers(this.fromNumber,this.number,n=>this.animatedNumber=n);window.addEventListener("blur",()=>{e.cancel(),this.animatedNumber=this.number})}},mounted(){this.animateNumber()}};var a=function(){var n=this,r=n._self._c;return r("span",[n._v(n._s(n.formattedNumber))])},m=[],o=t(u,a,m,!1,null,null,null,null);const i=o.exports;export{i as U};
