System.register(["./index-legacy-26fae7cb-1706882452509.js"],(function(e,t){"use strict";var n,r,o,a,i,u,l,c,s;return{setters:[e=>{n=e.df,r=e.dg,o=e.dh,a=e.d,i=e.cY,u=e.r,l=e.U,c=e.p,s=e.bX}],execute:function(){var t=1/0,m=17976931348623157e292;function d(e){var r=function(e){return e?(e=n(e))===t||e===-t?(e<0?-1:1)*m:e==e?e:0:0===e?e:0}(e),o=r%1;return r==r?o?r-o:r:0}var f,p=r.isFinite,v=Math.min;const h=(f=Math.round,function(e,t){if(e=n(e),(t=null==t?0:v(d(t),292))&&p(e)){var r=(o(e)+"e").split("e"),a=f(r[0]+"e"+(+r[1]+t));return+((r=(o(a)+"e").split("e"))[0]+"e"+(+r[1]-t))}return f(e)});function b(e){const{from:t,to:n,duration:r,onUpdate:o,onFinish:a}=e,i=()=>{const e=performance.now(),l=Math.min(e-u,r),c=t+(n-t)*(s=l/r,1-Math.pow(1-s,5));var s;l!==r?(o(c),requestAnimationFrame(i)):a()},u=performance.now();i()}const y={to:{type:Number,default:0},precision:{type:Number,default:0},showSeparator:Boolean,locale:String,from:{type:Number,default:0},active:{type:Boolean,default:!0},duration:{type:Number,default:2e3},onFinish:Function};e("N",a({name:"NumberAnimation",props:y,setup(e){const{localeRef:t}=i("name"),{duration:n}=e,r=u(e.from),o=l((()=>{const{locale:n}=e;return void 0!==n?n:t.value}));let a=!1;const m=e=>{r.value=e},d=()=>{var t;r.value=e.to,a=!1,null===(t=e.onFinish)||void 0===t||t.call(e)},f=(t=e.from,o=e.to)=>{a=!0,r.value=e.from,t!==o&&b({from:t,to:o,duration:n,onUpdate:m,onFinish:d})},p=l((()=>{var t;const n=h(r.value,e.precision).toFixed(e.precision).split("."),a=new Intl.NumberFormat(o.value),i=null===(t=a.formatToParts(.5).find((e=>"decimal"===e.type)))||void 0===t?void 0:t.value;return{integer:e.showSeparator?a.format(Number(n[0])):n[0],decimal:n[1],decimalSeparator:i}}));c((()=>{s((()=>{e.active&&f()}))}));const v={play:function(){a||f()}};return Object.assign({formattedValue:p},v)},render(){const{formattedValue:{integer:e,decimal:t,decimalSeparator:n}}=this;return[e,t?n:null,t]}}))}}}));
