UNPKG

vue3-animate-number

Version:

## Project setup ``` npm install ```

2 lines 25.6 kB
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["vue3-animate-number"]=e(require("vue")):t["vue3-animate-number"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"00ee":function(t,e,n){var r=n("b622"),o=r("toStringTag"),c={};c[o]="z",t.exports="[object z]"===String(c)},"06cf":function(t,e,n){var r=n("83ab"),o=n("d1e7"),c=n("5c6c"),i=n("fc6a"),u=n("a04b"),a=n("5135"),f=n("0cfb"),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=i(t),e=u(e),f)try{return l(t,e)}catch(n){}if(a(t,e))return c(!o.f.call(t,e),t[e])}},"0a88":function(t,e,n){},"0cb2":function(t,e,n){var r=n("7b0b"),o=Math.floor,c="".replace,i=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,n,a,f,l){var s=n+t.length,p=a.length,d=u;return void 0!==f&&(f=r(f),d=i),c.call(l,d,(function(r,c){var i;switch(c.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,n);case"'":return e.slice(s);case"<":i=f[c.slice(1,-1)];break;default:var u=+c;if(0===u)return r;if(u>p){var l=o(u/10);return 0===l?r:l<=p?void 0===a[l-1]?c.charAt(1):a[l-1]+c.charAt(1):r}i=a[u-1]}return void 0===i?"":i}))}},"0cfb":function(t,e,n){var r=n("83ab"),o=n("d039"),c=n("cc12");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a}))},"107c":function(t,e,n){var r=n("d039");t.exports=r((function(){var t=RegExp("(?<a>b)","string".charAt(5));return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},1148:function(t,e,n){"use strict";var r=n("a691"),o=n("577e"),c=n("1d80");t.exports=function(t){var e=o(c(this)),n="",i=r(t);if(i<0||i==1/0)throw RangeError("Wrong number of repetitions");for(;i>0;(i>>>=1)&&(e+=e))1&i&&(n+=e);return n}},"14c3":function(t,e,n){var r=n("c6b6"),o=n("9263");t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var c=n.call(t,e);if("object"!==typeof c)throw TypeError("RegExp exec method returned something other than an Object or null");return c}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(t,e)}},"1be4":function(t,e,n){var r=n("d066");t.exports=r("document","documentElement")},"1d80":function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},"23cb":function(t,e,n){var r=n("a691"),o=Math.max,c=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):c(n,e)}},"23e7":function(t,e,n){var r=n("da84"),o=n("06cf").f,c=n("9112"),i=n("6eeb"),u=n("ce4e"),a=n("e893"),f=n("94ca");t.exports=function(t,e){var n,l,s,p,d,v,b=t.target,g=t.global,x=t.stat;if(l=g?r:x?r[b]||u(b,{}):(r[b]||{}).prototype,l)for(s in e){if(d=e[s],t.noTargetGet?(v=o(l,s),p=v&&v.value):p=l[s],n=f(g?s:b+(x?".":"#")+s,t.forced),!n&&void 0!==p){if(typeof d===typeof p)continue;a(d,p)}(t.sham||p&&p.sham)&&c(d,"sham",!0),i(l,s,d,t)}}},"241c":function(t,e,n){var r=n("ca84"),o=n("7839"),c=o.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,c)}},"25f0":function(t,e,n){"use strict";var r=n("6eeb"),o=n("825a"),c=n("577e"),i=n("d039"),u=n("ad6d"),a="toString",f=RegExp.prototype,l=f[a],s=i((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),p=l.name!=a;(s||p)&&r(RegExp.prototype,a,(function(){var t=o(this),e=c(t.source),n=t.flags,r=c(void 0===n&&t instanceof RegExp&&!("flags"in f)?u.call(t):n);return"/"+e+"/"+r}),{unsafe:!0})},"2d00":function(t,e,n){var r,o,c=n("da84"),i=n("342f"),u=c.process,a=c.Deno,f=u&&u.versions||a&&a.version,l=f&&f.v8;l?(r=l.split("."),o=r[0]<4?1:r[0]+r[1]):i&&(r=i.match(/Edge\/(\d+)/),(!r||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/),r&&(o=r[1]))),t.exports=o&&+o},"342f":function(t,e,n){var r=n("d066");t.exports=r("navigator","userAgent")||""},"37e8":function(t,e,n){var r=n("83ab"),o=n("9bf2"),c=n("825a"),i=n("df75");t.exports=r?Object.defineProperties:function(t,e){c(t);var n,r=i(e),u=r.length,a=0;while(u>a)o.f(t,n=r[a++],e[n]);return t}},"3bbe":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},"408a":function(t,e,n){var r=n("c6b6");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},"44ad":function(t,e,n){var r=n("d039"),o=n("c6b6"),c="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==o(t)?c.call(t,""):Object(t)}:Object},"485a":function(t,e,n){var r=n("861d");t.exports=function(t,e){var n,o;if("string"===e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if("string"!==e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},4930:function(t,e,n){var r=n("2d00"),o=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},"4d64":function(t,e,n){var r=n("fc6a"),o=n("50c4"),c=n("23cb"),i=function(t){return function(e,n,i){var u,a=r(e),f=o(a.length),l=c(i,f);if(t&&n!=n){while(f>l)if(u=a[l++],u!=u)return!0}else for(;f>l;l++)if((t||l in a)&&a[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}},"50c4":function(t,e,n){var r=n("a691"),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},5135:function(t,e,n){var r=n("7b0b"),o={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return o.call(r(t),e)}},5319:function(t,e,n){"use strict";var r=n("d784"),o=n("d039"),c=n("825a"),i=n("a691"),u=n("50c4"),a=n("577e"),f=n("1d80"),l=n("8aa5"),s=n("0cb2"),p=n("14c3"),d=n("b622"),v=d("replace"),b=Math.max,g=Math.min,x=function(t){return void 0===t?t:String(t)},h=function(){return"$0"==="a".replace(/./,"$0")}(),y=function(){return!!/./[v]&&""===/./[v]("a","$0")}(),m=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}));r("replace",(function(t,e,n){var r=y?"$":"$0";return[function(t,n){var r=f(this),o=void 0==t?void 0:t[v];return void 0!==o?o.call(t,r,n):e.call(a(r),t,n)},function(t,o){var f=c(this),d=a(t);if("string"===typeof o&&-1===o.indexOf(r)&&-1===o.indexOf("$<")){var v=n(e,f,d,o);if(v.done)return v.value}var h="function"===typeof o;h||(o=a(o));var y=f.global;if(y){var m=f.unicode;f.lastIndex=0}var w=[];while(1){var O=p(f,d);if(null===O)break;if(w.push(O),!y)break;var S=a(O[0]);""===S&&(f.lastIndex=l(d,u(f.lastIndex),m))}for(var E="",j=0,I=0;I<w.length;I++){O=w[I];for(var N=a(O[0]),T=b(g(i(O.index),d.length),0),A=[],_=1;_<O.length;_++)A.push(x(O[_]));var P=O.groups;if(h){var R=[N].concat(A,T,d);void 0!==P&&R.push(P);var M=a(o.apply(void 0,R))}else M=s(N,d,T,A,P,o);T>=j&&(E+=d.slice(j,T)+M,j=T+N.length)}return E+d.slice(j)}]}),!m||!h||y)},5692:function(t,e,n){var r=n("c430"),o=n("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.16.1",mode:r?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(t,e,n){var r=n("d066"),o=n("241c"),c=n("7418"),i=n("825a");t.exports=r("Reflect","ownKeys")||function(t){var e=o.f(i(t)),n=c.f;return n?e.concat(n(t)):e}},"573b":function(t,e,n){"use strict";n("0a88")},"577e":function(t,e,n){var r=n("d9b5");t.exports=function(t){if(r(t))throw TypeError("Cannot convert a Symbol value to a string");return String(t)}},5899:function(t,e){t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},"58a8":function(t,e,n){var r=n("1d80"),o=n("577e"),c=n("5899"),i="["+c+"]",u=RegExp("^"+i+i+"*"),a=RegExp(i+i+"*$"),f=function(t){return function(e){var n=o(r(e));return 1&t&&(n=n.replace(u,"")),2&t&&(n=n.replace(a,"")),n}};t.exports={start:f(1),end:f(2),trim:f(3)}},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6547:function(t,e,n){var r=n("a691"),o=n("577e"),c=n("1d80"),i=function(t){return function(e,n){var i,u,a=o(c(e)),f=r(n),l=a.length;return f<0||f>=l?t?"":void 0:(i=a.charCodeAt(f),i<55296||i>56319||f+1===l||(u=a.charCodeAt(f+1))<56320||u>57343?t?a.charAt(f):i:t?a.slice(f,f+2):u-56320+(i-55296<<10)+65536)}};t.exports={codeAt:i(!1),charAt:i(!0)}},"69f3":function(t,e,n){var r,o,c,i=n("7f9a"),u=n("da84"),a=n("861d"),f=n("9112"),l=n("5135"),s=n("c6cd"),p=n("f772"),d=n("d012"),v="Object already initialized",b=u.WeakMap,g=function(t){return c(t)?o(t):r(t,{})},x=function(t){return function(e){var n;if(!a(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(i||s.state){var h=s.state||(s.state=new b),y=h.get,m=h.has,w=h.set;r=function(t,e){if(m.call(h,t))throw new TypeError(v);return e.facade=t,w.call(h,t,e),e},o=function(t){return y.call(h,t)||{}},c=function(t){return m.call(h,t)}}else{var O=p("state");d[O]=!0,r=function(t,e){if(l(t,O))throw new TypeError(v);return e.facade=t,f(t,O,e),e},o=function(t){return l(t,O)?t[O]:{}},c=function(t){return l(t,O)}}t.exports={set:r,get:o,has:c,enforce:g,getterFor:x}},"6eeb":function(t,e,n){var r=n("da84"),o=n("9112"),c=n("5135"),i=n("ce4e"),u=n("8925"),a=n("69f3"),f=a.get,l=a.enforce,s=String(String).split("String");(t.exports=function(t,e,n,u){var a,f=!!u&&!!u.unsafe,p=!!u&&!!u.enumerable,d=!!u&&!!u.noTargetGet;"function"==typeof n&&("string"!=typeof e||c(n,"name")||o(n,"name",e),a=l(n),a.source||(a.source=s.join("string"==typeof e?e:""))),t!==r?(f?!d&&t[e]&&(p=!0):delete t[e],p?t[e]=n:o(t,e,n)):p?t[e]=n:i(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||u(this)}))},7156:function(t,e,n){var r=n("861d"),o=n("d2bb");t.exports=function(t,e,n){var c,i;return o&&"function"==typeof(c=e.constructor)&&c!==n&&r(i=c.prototype)&&i!==n.prototype&&o(t,i),t}},7418:function(t,e){e.f=Object.getOwnPropertySymbols},7839:function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(t,e,n){var r=n("1d80");t.exports=function(t){return Object(r(t))}},"7c73":function(t,e,n){var r,o=n("825a"),c=n("37e8"),i=n("7839"),u=n("d012"),a=n("1be4"),f=n("cc12"),l=n("f772"),s=">",p="<",d="prototype",v="script",b=l("IE_PROTO"),g=function(){},x=function(t){return p+v+s+t+p+"/"+v+s},h=function(t){t.write(x("")),t.close();var e=t.parentWindow.Object;return t=null,e},y=function(){var t,e=f("iframe"),n="java"+v+":";if(e.style)return e.style.display="none",a.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(x("document.F=Object")),t.close(),t.F},m=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}m=document.domain&&r?h(r):y()||h(r);var t=i.length;while(t--)delete m[d][i[t]];return m()};u[b]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(g[d]=o(t),n=new g,g[d]=null,n[b]=t):n=m(),void 0===e?n:c(n,e)}},"7f9a":function(t,e,n){var r=n("da84"),o=n("8925"),c=r.WeakMap;t.exports="function"===typeof c&&/native code/.test(o(c))},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,n){var r,o,c;(function(n,i){o=[],r=i,c="function"===typeof r?r.apply(e,o):r,void 0===c||(t.exports=c)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,o,c=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,i=/@([^@]*):(\d+):(\d+)\s*$/gi,u=c.exec(d.stack)||i.exec(d.stack),a=u&&u[1]||!1,f=u&&u[2]||!1,l=document.location.href.replace(document.location.hash,""),s=document.getElementsByTagName("script");a===l&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(f-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var p=0;p<s.length;p++){if("interactive"===s[p].readyState)return s[p];if(s[p].src===a)return s[p];if(a===l&&s[p].innerHTML&&s[p].innerHTML.trim()===o)return s[p]}return null}}return t}))},8925:function(t,e,n){var r=n("c6cd"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},"8aa5":function(t,e,n){"use strict";var r=n("6547").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"8bbf":function(e,n){e.exports=t},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),o=n("9bf2"),c=n("5c6c");t.exports=r?function(t,e,n){return o.f(t,e,c(1,n))}:function(t,e,n){return t[e]=n,t}},9263:function(t,e,n){"use strict";var r=n("577e"),o=n("ad6d"),c=n("9f7f"),i=n("5692"),u=n("7c73"),a=n("69f3").get,f=n("fce3"),l=n("107c"),s=RegExp.prototype.exec,p=i("native-string-replace",String.prototype.replace),d=s,v=function(){var t=/a/,e=/b*/g;return s.call(t,"a"),s.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),b=c.UNSUPPORTED_Y||c.BROKEN_CARET,g=void 0!==/()??/.exec("")[1],x=v||g||b||f||l;x&&(d=function(t){var e,n,c,i,f,l,x,h=this,y=a(h),m=r(t),w=y.raw;if(w)return w.lastIndex=h.lastIndex,e=d.call(w,m),h.lastIndex=w.lastIndex,e;var O=y.groups,S=b&&h.sticky,E=o.call(h),j=h.source,I=0,N=m;if(S&&(E=E.replace("y",""),-1===E.indexOf("g")&&(E+="g"),N=m.slice(h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==m.charAt(h.lastIndex-1))&&(j="(?: "+j+")",N=" "+N,I++),n=new RegExp("^(?:"+j+")",E)),g&&(n=new RegExp("^"+j+"$(?!\\s)",E)),v&&(c=h.lastIndex),i=s.call(S?n:h,N),S?i?(i.input=i.input.slice(I),i[0]=i[0].slice(I),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:v&&i&&(h.lastIndex=h.global?i.index+i[0].length:c),g&&i&&i.length>1&&p.call(i[0],n,(function(){for(f=1;f<arguments.length-2;f++)void 0===arguments[f]&&(i[f]=void 0)})),i&&O)for(i.groups=l=u(null),f=0;f<O.length;f++)x=O[f],l[x[0]]=i[x[1]];return i}),t.exports=d},"94ca":function(t,e,n){var r=n("d039"),o=/#|\.prototype\./,c=function(t,e){var n=u[i(t)];return n==f||n!=a&&("function"==typeof e?r(e):!!e)},i=c.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=c.data={},a=c.NATIVE="N",f=c.POLYFILL="P";t.exports=c},"9bf2":function(t,e,n){var r=n("83ab"),o=n("0cfb"),c=n("825a"),i=n("a04b"),u=Object.defineProperty;e.f=r?u:function(t,e,n){if(c(t),e=i(e),c(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},"9f7f":function(t,e,n){var r=n("d039"),o=function(t,e){return RegExp(t,e)};e.UNSUPPORTED_Y=r((function(){var t=o("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=o("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},a04b:function(t,e,n){var r=n("c04e"),o=n("d9b5");t.exports=function(t){var e=r(t,"string");return o(e)?e:String(e)}},a691:function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},a9e3:function(t,e,n){"use strict";var r=n("83ab"),o=n("da84"),c=n("94ca"),i=n("6eeb"),u=n("5135"),a=n("c6b6"),f=n("7156"),l=n("d9b5"),s=n("c04e"),p=n("d039"),d=n("7c73"),v=n("241c").f,b=n("06cf").f,g=n("9bf2").f,x=n("58a8").trim,h="Number",y=o[h],m=y.prototype,w=a(d(m))==h,O=function(t){if(l(t))throw TypeError("Cannot convert a Symbol value to a number");var e,n,r,o,c,i,u,a,f=s(t,"number");if("string"==typeof f&&f.length>2)if(f=x(f),e=f.charCodeAt(0),43===e||45===e){if(n=f.charCodeAt(2),88===n||120===n)return NaN}else if(48===e){switch(f.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+f}for(c=f.slice(2),i=c.length,u=0;u<i;u++)if(a=c.charCodeAt(u),a<48||a>o)return NaN;return parseInt(c,r)}return+f};if(c(h,!y(" 0o1")||!y("0b1")||y("+0x1"))){for(var S,E=function(t){var e=arguments.length<1?0:t,n=this;return n instanceof E&&(w?p((function(){m.valueOf.call(n)})):a(n)!=h)?f(new y(O(e)),n,E):O(e)},j=r?v(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),I=0;j.length>I;I++)u(y,S=j[I])&&!u(E,S)&&g(E,S,b(y,S));E.prototype=m,m.constructor=E,i(o,h,E)}},ac1f:function(t,e,n){"use strict";var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},b041:function(t,e,n){"use strict";var r=n("00ee"),o=n("f5df");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},b622:function(t,e,n){var r=n("da84"),o=n("5692"),c=n("5135"),i=n("90e3"),u=n("4930"),a=n("fdbf"),f=o("wks"),l=r.Symbol,s=a?l:l&&l.withoutSetter||i;t.exports=function(t){return c(f,t)&&(u||"string"==typeof f[t])||(u&&c(l,t)?f[t]=l[t]:f[t]=s("Symbol."+t)),f[t]}},b680:function(t,e,n){"use strict";var r=n("23e7"),o=n("a691"),c=n("408a"),i=n("1148"),u=n("d039"),a=1..toFixed,f=Math.floor,l=function(t,e,n){return 0===e?n:e%2===1?l(t,e-1,n*t):l(t*t,e/2,n)},s=function(t){var e=0,n=t;while(n>=4096)e+=12,n/=4096;while(n>=2)e+=1,n/=2;return e},p=function(t,e,n){var r=-1,o=n;while(++r<6)o+=e*t[r],t[r]=o%1e7,o=f(o/1e7)},d=function(t,e){var n=6,r=0;while(--n>=0)r+=t[n],t[n]=f(r/e),r=r%e*1e7},v=function(t){var e=6,n="";while(--e>=0)if(""!==n||0===e||0!==t[e]){var r=String(t[e]);n=""===n?r:n+i.call("0",7-r.length)+r}return n},b=a&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!u((function(){a.call({})}));r({target:"Number",proto:!0,forced:b},{toFixed:function(t){var e,n,r,u,a=c(this),f=o(t),b=[0,0,0,0,0,0],g="",x="0";if(f<0||f>20)throw RangeError("Incorrect fraction digits");if(a!=a)return"NaN";if(a<=-1e21||a>=1e21)return String(a);if(a<0&&(g="-",a=-a),a>1e-21)if(e=s(a*l(2,69,1))-69,n=e<0?a*l(2,-e,1):a/l(2,e,1),n*=4503599627370496,e=52-e,e>0){p(b,0,n),r=f;while(r>=7)p(b,1e7,0),r-=7;p(b,l(10,r,1),0),r=e-1;while(r>=23)d(b,1<<23),r-=23;d(b,1<<r),p(b,1,1),d(b,2),x=v(b)}else p(b,0,n),p(b,1<<-e,0),x=v(b)+i.call("0",f);return f>0?(u=x.length,x=g+(u<=f?"0."+i.call("0",f-u)+x:x.slice(0,u-f)+"."+x.slice(u-f))):x=g+x,x}})},c04e:function(t,e,n){var r=n("861d"),o=n("d9b5"),c=n("485a"),i=n("b622"),u=i("toPrimitive");t.exports=function(t,e){if(!r(t)||o(t))return t;var n,i=t[u];if(void 0!==i){if(void 0===e&&(e="default"),n=i.call(t,e),!r(n)||o(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===e&&(e="number"),c(t,e)}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var r=n("da84"),o=n("ce4e"),c="__core-js_shared__",i=r[c]||o(c,{});t.exports=i},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},ca84:function(t,e,n){var r=n("5135"),o=n("fc6a"),c=n("4d64").indexOf,i=n("d012");t.exports=function(t,e){var n,u=o(t),a=0,f=[];for(n in u)!r(i,n)&&r(u,n)&&f.push(n);while(e.length>a)r(u,n=e[a++])&&(~c(f,n)||f.push(n));return f}},cc12:function(t,e,n){var r=n("da84"),o=n("861d"),c=r.document,i=o(c)&&o(c.createElement);t.exports=function(t){return i?c.createElement(t):{}}},ce4e:function(t,e,n){var r=n("da84");t.exports=function(t,e){try{Object.defineProperty(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d066:function(t,e,n){var r=n("da84"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t]):r[t]&&r[t][e]}},d1e7:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,c=o&&!r.call({1:2},1);e.f=c?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},d2bb:function(t,e,n){var r=n("825a"),o=n("3bbe");t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,t.call(n,[]),e=n instanceof Array}catch(c){}return function(n,c){return r(n),o(c),e?t.call(n,c):n.__proto__=c,n}}():void 0)},d3b7:function(t,e,n){var r=n("00ee"),o=n("6eeb"),c=n("b041");r||o(Object.prototype,"toString",c,{unsafe:!0})},d784:function(t,e,n){"use strict";n("ac1f");var r=n("6eeb"),o=n("9263"),c=n("d039"),i=n("b622"),u=n("9112"),a=i("species"),f=RegExp.prototype;t.exports=function(t,e,n,l){var s=i(t),p=!c((function(){var e={};return e[s]=function(){return 7},7!=""[t](e)})),d=p&&!c((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[a]=function(){return n},n.flags="",n[s]=/./[s]),n.exec=function(){return e=!0,null},n[s](""),!e}));if(!p||!d||n){var v=/./[s],b=e(s,""[t],(function(t,e,n,r,c){var i=e.exec;return i===o||i===f.exec?p&&!c?{done:!0,value:v.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}));r(String.prototype,t,b[0]),r(f,s,b[1])}l&&u(f[s],"sham",!0)}},d9b5:function(t,e,n){var r=n("d066"),o=n("fdbf");t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return"function"==typeof e&&Object(t)instanceof e}},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},df75:function(t,e,n){var r=n("ca84"),o=n("7839");t.exports=Object.keys||function(t){return r(t,o)}},e893:function(t,e,n){var r=n("5135"),o=n("56ef"),c=n("06cf"),i=n("9bf2");t.exports=function(t,e){for(var n=o(e),u=i.f,a=c.f,f=0;f<n.length;f++){var l=n[f];r(t,l)||u(t,l,a(e,l))}}},f5df:function(t,e,n){var r=n("00ee"),o=n("c6b6"),c=n("b622"),i=c("toStringTag"),u="Arguments"==o(function(){return arguments}()),a=function(t,e){try{return t[e]}catch(n){}};t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=a(e=Object(t),i))?n:u?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),o=n("90e3"),c=r("keys");t.exports=function(t){return c[t]||(c[t]=o(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),"undefined"!==typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var c=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(n.p=c[1])}var i=n("8bbf");const u={class:"number-grow-warp"},a=["data-time","data-value"];function f(t,e,n,r,o,c){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",u,[Object(i["createElementVNode"])("span",{ref:"numberGrow","data-time":t.time,class:"number-grow","data-value":t.value},"0",8,a)])}n("a9e3"),n("ac1f"),n("5319"),n("d3b7"),n("25f0"),n("b680");var l=Object(i["defineComponent"])({name:"vueAnimateNumber",props:{time:{type:Number,default:2},value:{type:Number,default:0}},mounted:function(){console.log(456)},setup:function(t){Object(i["onMounted"])((function(){e(Object(i["getCurrentInstance"])().ctx.$refs.numberGrow)}));var e=function(e){var n=10*t.value/(1e3*t.time),r=0,o=0,c=setInterval((function(){o+=n,o>t.value&&(clearInterval(Number(c)),o=t.value,c=null),r!==o&&(r=o,e.innerHTML=r.toFixed(0).toString().replace(/(\d)(?=(?:\d{3}[+]?)+$)/g,"$1,"))}),.1)};return{numberGrow:e}}});n("573b");l.render=f;var s=l;s.install=function(t){t.component("vueAnimateNumber",s)};var p=s;const d=[p],v=function(t){v.installed||(d.map(e=>{t.component(e.name,e)}),"undefined"!==typeof window&&window.Vue&&v(window.Vue))};var b={install:v,vueAnimateNumber:p};e["default"]=b},fc6a:function(t,e,n){var r=n("44ad"),o=n("1d80");t.exports=function(t){return r(o(t))}},fce3:function(t,e,n){var r=n("d039");t.exports=r((function(){var t=RegExp(".","string".charAt(0));return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},fdbf:function(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})})); //# sourceMappingURL=vue3-animate-number.umd.min.js.map