1 |
- (function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["zx-count"]=e():t["zx-count"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));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="9896")}({"0a60":function(t,e){e.f=Object.getOwnPropertySymbols},"0c3c":function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},"0d7a":function(t,e,n){"use strict";var r=n("b2a2"),i=n("8a1c"),o=n("857c"),a=n("2732"),c=n("ef4c"),u=n("38eb"),f=n("d88d"),s=n("59da"),l=n("5139"),p=n("efe2"),d=[].push,h=Math.min,v=4294967295,g=!p((function(){return!RegExp(v,"y")}));r("split",2,(function(t,e,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,n){var r=String(a(this)),o=void 0===n?v:n>>>0;if(0===o)return[];if(void 0===t)return[r];if(!i(t))return e.call(r,t,o);var c,u,f,s=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),h=0,g=new RegExp(t.source,p+"g");while(c=l.call(g,r)){if(u=g.lastIndex,u>h&&(s.push(r.slice(h,c.index)),c.length>1&&c.index<r.length&&d.apply(s,c.slice(1)),f=c[0].length,h=u,s.length>=o))break;g.lastIndex===c.index&&g.lastIndex++}return h===r.length?!f&&g.test("")||s.push(""):s.push(r.slice(h)),s.length>o?s.slice(0,o):s}:"0".split(void 0,0).length?function(t,n){return void 0===t&&0===n?[]:e.call(this,t,n)}:e,[function(e,n){var i=a(this),o=void 0==e?void 0:e[t];return void 0!==o?o.call(e,i,n):r.call(String(i),e,n)},function(t,i){var a=n(r,t,this,i,r!==e);if(a.done)return a.value;var l=o(t),p=String(this),d=c(l,RegExp),b=l.unicode,y=(l.ignoreCase?"i":"")+(l.multiline?"m":"")+(l.unicode?"u":"")+(g?"y":"g"),m=new d(g?l:"^(?:"+l.source+")",y),x=void 0===i?v:i>>>0;if(0===x)return[];if(0===p.length)return null===s(m,p)?[p]:[];var w=0,S=0,E=[];while(S<p.length){m.lastIndex=g?S:0;var _,O=s(m,g?p:p.slice(S));if(null===O||(_=h(f(m.lastIndex+(g?0:S)),p.length))===w)S=u(p,S,b);else{if(E.push(p.slice(w,S)),E.length===x)return E;for(var V=1;V<=O.length-1;V++)if(E.push(O[V]),E.length===x)return E;S=w=_}}return E.push(p.slice(w)),E}]}),!g)},"0fc1":function(t,e,n){var r=n("1e2c"),i=n("d910"),o=n("38b9");t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},1025:function(t,e,n){var r=n("3a08"),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},"18f6":function(t,e){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},1944:function(t,e,n){var r=n("d890"),i=n("0fc1"),o=n("faa8"),a=n("e4db"),c=n("1025"),u=n("b702"),f=u.get,s=u.enforce,l=String(String).split("String");(t.exports=function(t,e,n,c){var u=!!c&&!!c.unsafe,f=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),s(n).source=l.join("string"==typeof e?e:"")),t!==r?(u?!p&&t[e]&&(f=!0):delete t[e],f?t[e]=n:i(t,e,n)):f?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&f(this).source||c(this)}))},"1b99":function(t,e,n){var r=n("d890");t.exports=r},"1c8b":function(t,e,n){var r=n("d890"),i=n("aa6b").f,o=n("0fc1"),a=n("1944"),c=n("e4db"),u=n("c69d"),f=n("e8d6");t.exports=function(t,e){var n,s,l,p,d,h,v=t.target,g=t.global,b=t.stat;if(s=g?r:b?r[v]||c(v,{}):(r[v]||{}).prototype,s)for(l in e){if(d=e[l],t.noTargetGet?(h=i(s,l),p=h&&h.value):p=s[l],n=f(g?l:v+(b?".":"#")+l,t.forced),!n&&void 0!==p){if(typeof d===typeof p)continue;u(d,p)}(t.sham||p&&p.sham)&&o(d,"sham",!0),a(s,l,d,t)}}},"1e2c":function(t,e,n){var r=n("efe2");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},2039:function(t,e,n){var r=n("1e2c"),i=n("efe2"),o=n("ae25");t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},"20a5":function(t,e,n){"use strict";var r=n("1c8b"),i=n("3da3"),o=n("e1d9"),a=n("c7e6"),c=n("efe2"),u=1..toFixed,f=Math.floor,s=function(t,e,n){return 0===e?n:e%2===1?s(t,e-1,n*t):s(t*t,e/2,n)},l=function(t){var e=0,n=t;while(n>=4096)e+=12,n/=4096;while(n>=2)e+=1,n/=2;return e},p=u&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!c((function(){u.call({})}));r({target:"Number",proto:!0,forced:p},{toFixed:function(t){var e,n,r,c,u=o(this),p=i(t),d=[0,0,0,0,0,0],h="",v="0",g=function(t,e){var n=-1,r=e;while(++n<6)r+=t*d[n],d[n]=r%1e7,r=f(r/1e7)},b=function(t){var e=6,n=0;while(--e>=0)n+=d[e],d[e]=f(n/t),n=n%t*1e7},y=function(){var t=6,e="";while(--t>=0)if(""!==e||0===t||0!==d[t]){var n=String(d[t]);e=""===e?n:e+a.call("0",7-n.length)+n}return e};if(p<0||p>20)throw RangeError("Incorrect fraction digits");if(u!=u)return"NaN";if(u<=-1e21||u>=1e21)return String(u);if(u<0&&(h="-",u=-u),u>1e-21)if(e=l(u*s(2,69,1))-69,n=e<0?u*s(2,-e,1):u/s(2,e,1),n*=4503599627370496,e=52-e,e>0){g(0,n),r=p;while(r>=7)g(1e7,0),r-=7;g(s(10,r,1),0),r=e-1;while(r>=23)b(1<<23),r-=23;b(1<<r),g(1,1),b(2),v=y()}else g(0,n),g(1<<-e,0),v=y()+a.call("0",p);return p>0?(c=v.length,v=h+(c<=p?"0."+a.call("0",p-c)+v:v.slice(0,c-p)+"."+v.slice(c-p))):v=h+v,v}})},2118:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},"22ef":function(t,e,n){"use strict";var r=n("efe2");function i(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},2732:function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},3553:function(t,e,n){var r=n("2732");t.exports=function(t){return Object(r(t))}},"38b9":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"38eb":function(t,e,n){"use strict";var r=n("f62c").charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},"3a08":function(t,e,n){var r=n("d890"),i=n("e4db"),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},"3da3":function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:n)(t)}},"45af":function(t,e,n){var r=n("da10"),i=n("d88d"),o=n("e1d6"),a=function(t){return function(e,n,a){var c,u=r(e),f=i(u.length),s=o(a,f);if(t&&n!=n){while(f>s)if(c=u[s++],c!=c)return!0}else for(;f>s;s++)if((t||s in u)&&u[s]===n)return t||s||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},"50fb":function(t,e,n){var r=n("857c"),i=n("d1fd");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(o){}return function(n,o){return r(n),i(o),e?t.call(n,o):n.__proto__=o,n}}():void 0)},5139:function(t,e,n){"use strict";var r=n("99ad"),i=n("22ef"),o=RegExp.prototype.exec,a=String.prototype.replace,c=o,u=function(){var t=/a/,e=/b*/g;return o.call(t,"a"),o.call(e,"a"),0!==t.lastIndex||0!==e.lastIndex}(),f=i.UNSUPPORTED_Y||i.BROKEN_CARET,s=void 0!==/()??/.exec("")[1],l=u||s||f;l&&(c=function(t){var e,n,i,c,l=this,p=f&&l.sticky,d=r.call(l),h=l.source,v=0,g=t;return p&&(d=d.replace("y",""),-1===d.indexOf("g")&&(d+="g"),g=String(t).slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==t[l.lastIndex-1])&&(h="(?: "+h+")",g=" "+g,v++),n=new RegExp("^(?:"+h+")",d)),s&&(n=new RegExp("^"+h+"$(?!\\s)",d)),u&&(e=l.lastIndex),i=o.call(p?n:l,g),p?i?(i.input=i.input.slice(v),i[0]=i[0].slice(v),i.index=l.lastIndex,l.lastIndex+=i[0].length):l.lastIndex=0:u&&i&&(l.lastIndex=l.global?i.index+i[0].length:e),s&&i&&i.length>1&&a.call(i[0],n,(function(){for(c=1;c<arguments.length-2;c++)void 0===arguments[c]&&(i[c]=void 0)})),i}),t.exports=c},"513c":function(t,e,n){"use strict";var r=n("1e2c"),i=n("d890"),o=n("e8d6"),a=n("1944"),c=n("faa8"),u=n("2118"),f=n("7063"),s=n("9f67"),l=n("efe2"),p=n("6d60"),d=n("b338").f,h=n("aa6b").f,v=n("d910").f,g=n("c10f").trim,b="Number",y=i[b],m=y.prototype,x=u(p(m))==b,w=function(t){var e,n,r,i,o,a,c,u,f=s(t,!1);if("string"==typeof f&&f.length>2)if(f=g(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,i=49;break;case 79:case 111:r=8,i=55;break;default:return+f}for(o=f.slice(2),a=o.length,c=0;c<a;c++)if(u=o.charCodeAt(c),u<48||u>i)return NaN;return parseInt(o,r)}return+f};if(o(b,!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&&(x?l((function(){m.valueOf.call(n)})):u(n)!=b)?f(new y(w(e)),n,E):w(e)},_=r?d(y):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),O=0;_.length>O;O++)c(y,S=_[O])&&!c(E,S)&&v(E,S,h(y,S));E.prototype=m,m.constructor=E,a(i,b,E)}},"59da":function(t,e,n){var r=n("2118"),i=n("5139");t.exports=function(t,e){var n=t.exec;if("function"===typeof n){var o=n.call(t,e);if("object"!==typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},"5e9f":function(t,e,n){"use strict";var r=n("b2a2"),i=n("857c"),o=n("3553"),a=n("d88d"),c=n("3da3"),u=n("2732"),f=n("38eb"),s=n("59da"),l=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g,g=function(t){return void 0===t?t:String(t)};r("replace",2,(function(t,e,n,r){var b=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=r.REPLACE_KEEPS_$0,m=b?"$":"$0";return[function(n,r){var i=u(this),o=void 0==n?void 0:n[t];return void 0!==o?o.call(n,i,r):e.call(String(i),n,r)},function(t,r){if(!b&&y||"string"===typeof r&&-1===r.indexOf(m)){var o=n(e,t,this,r);if(o.done)return o.value}var u=i(t),d=String(this),h="function"===typeof r;h||(r=String(r));var v=u.global;if(v){var w=u.unicode;u.lastIndex=0}var S=[];while(1){var E=s(u,d);if(null===E)break;if(S.push(E),!v)break;var _=String(E[0]);""===_&&(u.lastIndex=f(d,a(u.lastIndex),w))}for(var O="",V=0,T=0;T<S.length;T++){E=S[T];for(var I=String(E[0]),N=l(p(c(E.index),d.length),0),j=[],R=1;R<E.length;R++)j.push(g(E[R]));var A=E.groups;if(h){var P=[I].concat(j,N,d);void 0!==A&&P.push(A);var F=String(r.apply(void 0,P))}else F=x(I,d,N,j,A,r);N>=V&&(O+=d.slice(V,N)+F,V=N+I.length)}return O+d.slice(V)}];function x(t,n,r,i,a,c){var u=r+t.length,f=i.length,s=v;return void 0!==a&&(a=o(a),s=h),e.call(c,s,(function(e,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[o.slice(1,-1)];break;default:var s=+o;if(0===s)return e;if(s>f){var l=d(s/10);return 0===l?e:l<=f?void 0===i[l-1]?o.charAt(1):i[l-1]+o.charAt(1):e}c=i[s-1]}return void 0===c?"":c}))}}))},"604f":function(t,e,n){var r=n("d890"),i=n("1025"),o=r.WeakMap;t.exports="function"===typeof o&&/native code/.test(i(o))},"692f":function(t,e,n){var r=n("efe2"),i=n("2118"),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},"6d28":function(t,e,n){var r=n("9b9d"),i=n("3a08");(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"6d60":function(t,e,n){var r,i=n("857c"),o=n("dbe8"),a=n("18f6"),c=n("d5a8"),u=n("6fdf"),f=n("ae25"),s=n("7db2"),l=">",p="<",d="prototype",h="script",v=s("IE_PROTO"),g=function(){},b=function(t){return p+h+l+t+p+"/"+h+l},y=function(t){t.write(b("")),t.close();var e=t.parentWindow.Object;return t=null,e},m=function(){var t,e=f("iframe"),n="java"+h+":";return e.style.display="none",u.appendChild(e),e.src=String(n),t=e.contentWindow.document,t.open(),t.write(b("document.F=Object")),t.close(),t.F},x=function(){try{r=document.domain&&new ActiveXObject("htmlfile")}catch(e){}x=r?y(r):m();var t=a.length;while(t--)delete x[d][a[t]];return x()};c[v]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(g[d]=i(t),n=new g,g[d]=null,n[v]=t):n=x(),void 0===e?n:o(n,e)}},"6d7a":function(t,e,n){var r=n("1b99"),i=n("d890"),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},"6fdf":function(t,e,n){var r=n("6d7a");t.exports=r("document","documentElement")},7063:function(t,e,n){var r=n("a719"),i=n("50fb");t.exports=function(t,e,n){var o,a;return i&&"function"==typeof(o=e.constructor)&&o!==n&&r(a=o.prototype)&&a!==n.prototype&&i(t,a),t}},"74cb":function(t,e,n){var r=n("c54b");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},"79e4":function(t,e,n){var r,i,o;(function(n,a){i=[],r=a,o="function"===typeof r?r.apply(e,i):r,void 0===o||(t.exports=o)})("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,i,o=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,a=/@([^@]*):(\d+):(\d+)\s*$/gi,c=o.exec(d.stack)||a.exec(d.stack),u=c&&c[1]||!1,f=c&&c[2]||!1,s=document.location.href.replace(document.location.hash,""),l=document.getElementsByTagName("script");u===s&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(f-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=n.replace(r,"$1").trim());for(var p=0;p<l.length;p++){if("interactive"===l[p].readyState)return l[p];if(l[p].src===u)return l[p];if(u===s&&l[p].innerHTML&&l[p].innerHTML.trim()===i)return l[p]}return null}}return t}))},"7db2":function(t,e,n){var r=n("6d28"),i=n("7e8b"),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},"7e8b":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},"857c":function(t,e,n){var r=n("a719");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"8a1c":function(t,e,n){var r=n("a719"),i=n("2118"),o=n("90fb"),a=o("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[a])?!!e:"RegExp"==i(t))}},"8d44":function(t,e,n){var r=n("6d7a"),i=n("b338"),o=n("0a60"),a=n("857c");t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},"90fb":function(t,e,n){var r=n("d890"),i=n("6d28"),o=n("faa8"),a=n("7e8b"),c=n("c54b"),u=n("74cb"),f=i("wks"),s=r.Symbol,l=u?s:s&&s.withoutSetter||a;t.exports=function(t){return o(f,t)||(c&&o(s,t)?f[t]=s[t]:f[t]=l("Symbol."+t)),f[t]}},9896:function(t,e,n){"use strict";if(n.r(e),n.d(e,"VabCount",(function(){return m})),"undefined"!==typeof window){var r=window.document.currentScript,i=n("79e4");r=i(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:i});var o=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);o&&(n.p=o[1])}var a,c,u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",[t._v(t._s(t.displayValue))])},f=[],s=(n("513c"),n("20a5"),n("e35a"),n("5e9f"),n("0d7a"),0),l="webkit moz ms o".split(" "),p="undefined"===typeof window;if(p)a=function(){},c=function(){};else{var d;a=window.requestAnimationFrame,c=window.cancelAnimationFrame;for(var h=0;h<l.length;h++){if(a&&c)break;d=l[h],a=a||window[d+"RequestAnimationFrame"],c=c||window[d+"CancelAnimationFrame"]||window[d+"CancelRequestAnimationFrame"]}a&&c||(a=function(t){var e=(new Date).getTime(),n=Math.max(0,16-(e-s)),r=window.setTimeout((function(){t(e+n)}),n);return s=e+n,r},c=function(t){window.clearTimeout(t)})}var v={props:{startVal:{type:Number,required:!1,default:0},endVal:{type:Number,required:!1,default:0},duration:{type:Number,required:!1,default:3e3},autoplay:{type:Boolean,required:!1,default:!0},decimals:{type:Number,required:!1,default:0,validator:function(t){return t>=0}},decimal:{type:String,required:!1,default:"."},separator:{type:String,required:!1,default:","},prefix:{type:String,required:!1,default:""},suffix:{type:String,required:!1,default:""},useEasing:{type:Boolean,required:!1,default:!0},easingFn:{type:Function,default:function(t,e,n,r){return n*(1-Math.pow(2,-10*t/r))*1024/1023+e}}},data:function(){return{localStartVal:this.startVal,displayValue:this.formatNumber(this.startVal),printVal:null,paused:!1,localDuration:this.duration,startTime:null,timestamp:null,remaining:null,rAF:null}},computed:{countDown:function(){return this.startVal>this.endVal}},watch:{startVal:function(){this.autoplay&&this.start()},endVal:function(){this.autoplay&&this.start()}},mounted:function(){this.autoplay&&this.start(),this.$emit("mountedCallback")},methods:{start:function(){this.localStartVal=this.startVal,this.startTime=null,this.localDuration=this.duration,this.paused=!1,this.rAF=a(this.count)},pauseResume:function(){this.paused?(this.resume(),this.paused=!1):(this.pause(),this.paused=!0)},pause:function(){c(this.rAF)},resume:function(){this.startTime=null,this.localDuration=+this.remaining,this.localStartVal=+this.printVal,a(this.count)},reset:function(){this.startTime=null,c(this.rAF),this.displayValue=this.formatNumber(this.startVal)},count:function(t){this.startTime||(this.startTime=t),this.timestamp=t;var e=t-this.startTime;this.remaining=this.localDuration-e,this.useEasing?this.countDown?this.printVal=this.localStartVal-this.easingFn(e,0,this.localStartVal-this.endVal,this.localDuration):this.printVal=this.easingFn(e,this.localStartVal,this.endVal-this.localStartVal,this.localDuration):this.countDown?this.printVal=this.localStartVal-(this.localStartVal-this.endVal)*(e/this.localDuration):this.printVal=this.localStartVal+(this.endVal-this.localStartVal)*(e/this.localDuration),this.countDown?this.printVal=this.printVal<this.endVal?this.endVal:this.printVal:this.printVal=this.printVal>this.endVal?this.endVal:this.printVal,this.displayValue=this.formatNumber(this.printVal),e<this.localDuration?this.rAF=a(this.count):this.$emit("callback")},isNumber:function(t){return!isNaN(parseFloat(t))},formatNumber:function(t){t=t.toFixed(this.decimals),t+="";var e=t.split("."),n=e[0],r=e.length>1?this.decimal+e[1]:"",i=/(\d+)(\d{3})/;if(this.separator&&!this.isNumber(this.separator))while(i.test(n))n=n.replace(i,"$1"+this.separator+"$2");return this.prefix+n+r+this.suffix}},destroyed:function(){c(this.rAF)}},g=v;function b(t,e,n,r,i,o,a,c){var u,f="function"===typeof t?t.options:t;if(e&&(f.render=e,f.staticRenderFns=n,f._compiled=!0),r&&(f.functional=!0),o&&(f._scopeId="data-v-"+o),a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},f._ssrRegister=u):i&&(u=c?function(){i.call(this,(f.functional?this.parent:this).$root.$options.shadowRoot)}:i),u)if(f.functional){f._injectStyles=u;var s=f.render;f.render=function(t,e){return u.call(e),s(t,e)}}else{var l=f.beforeCreate;f.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:f}}var y=b(g,u,f,!1,null,null,null),m=y.exports,x={install:function(t){t.component("vab-count",m)}};"undefined"!==typeof window&&window.Vue&&window.Vue.component("vab-count",m);e["default"]=x},"99ad":function(t,e,n){"use strict";var r=n("857c");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}},"9b9d":function(t,e){t.exports=!1},"9edd":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},"9f67":function(t,e,n){var r=n("a719");t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},a719:function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},aa6b:function(t,e,n){var r=n("1e2c"),i=n("ef71"),o=n("38b9"),a=n("da10"),c=n("9f67"),u=n("faa8"),f=n("2039"),s=Object.getOwnPropertyDescriptor;e.f=r?s:function(t,e){if(t=a(t),e=c(e,!0),f)try{return s(t,e)}catch(n){}if(u(t,e))return o(!i.f.call(t,e),t[e])}},ae25:function(t,e,n){var r=n("d890"),i=n("a719"),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},b2a2:function(t,e,n){"use strict";n("e35a");var r=n("1944"),i=n("efe2"),o=n("90fb"),a=n("5139"),c=n("0fc1"),u=o("species"),f=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),s=function(){return"$0"==="a".replace(/./,"$0")}(),l=o("replace"),p=function(){return!!/./[l]&&""===/./[l]("a","$0")}(),d=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,l){var h=o(t),v=!i((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),g=v&&!i((function(){var e=!1,n=/a/;return"split"===t&&(n={},n.constructor={},n.constructor[u]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!v||!g||"replace"===t&&(!f||!s||p)||"split"===t&&!d){var b=/./[h],y=n(h,""[t],(function(t,e,n,r,i){return e.exec===a?v&&!i?{done:!0,value:b.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),m=y[0],x=y[1];r(String.prototype,t,m),r(RegExp.prototype,h,2==e?function(t,e){return x.call(t,this,e)}:function(t){return x.call(t,this)})}l&&c(RegExp.prototype[h],"sham",!0)}},b338:function(t,e,n){var r=n("ead4"),i=n("18f6"),o=i.concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},b702:function(t,e,n){var r,i,o,a=n("604f"),c=n("d890"),u=n("a719"),f=n("0fc1"),s=n("faa8"),l=n("7db2"),p=n("d5a8"),d=c.WeakMap,h=function(t){return o(t)?i(t):r(t,{})},v=function(t){return function(e){var n;if(!u(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(a){var g=new d,b=g.get,y=g.has,m=g.set;r=function(t,e){return m.call(g,t,e),e},i=function(t){return b.call(g,t)||{}},o=function(t){return y.call(g,t)}}else{var x=l("state");p[x]=!0,r=function(t,e){return f(t,x,e),e},i=function(t){return s(t,x)?t[x]:{}},o=function(t){return s(t,x)}}t.exports={set:r,get:i,has:o,enforce:h,getterFor:v}},c10f:function(t,e,n){var r=n("2732"),i=n("fc8c"),o="["+i+"]",a=RegExp("^"+o+o+"*"),c=RegExp(o+o+"*$"),u=function(t){return function(e){var n=String(r(e));return 1&t&&(n=n.replace(a,"")),2&t&&(n=n.replace(c,"")),n}};t.exports={start:u(1),end:u(2),trim:u(3)}},c54b:function(t,e,n){var r=n("efe2");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},c69d:function(t,e,n){var r=n("faa8"),i=n("8d44"),o=n("aa6b"),a=n("d910");t.exports=function(t,e){for(var n=i(e),c=a.f,u=o.f,f=0;f<n.length;f++){var s=n[f];r(t,s)||c(t,s,u(e,s))}}},c7e6:function(t,e,n){"use strict";var r=n("3da3"),i=n("2732");t.exports="".repeat||function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},cbab:function(t,e,n){var r=n("ead4"),i=n("18f6");t.exports=Object.keys||function(t){return r(t,i)}},d1fd:function(t,e,n){var r=n("a719");t.exports=function(t){if(!r(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},d5a8:function(t,e){t.exports={}},d88d:function(t,e,n){var r=n("3da3"),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},d890: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")()}).call(this,n("9edd"))},d910:function(t,e,n){var r=n("1e2c"),i=n("2039"),o=n("857c"),a=n("9f67"),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return c(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}},da10:function(t,e,n){var r=n("692f"),i=n("2732");t.exports=function(t){return r(i(t))}},dbe8:function(t,e,n){var r=n("1e2c"),i=n("d910"),o=n("857c"),a=n("cbab");t.exports=r?Object.defineProperties:function(t,e){o(t);var n,r=a(e),c=r.length,u=0;while(c>u)i.f(t,n=r[u++],e[n]);return t}},e1d6:function(t,e,n){var r=n("3da3"),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},e1d9:function(t,e,n){var r=n("2118");t.exports=function(t){if("number"!=typeof t&&"Number"!=r(t))throw TypeError("Incorrect invocation");return+t}},e35a:function(t,e,n){"use strict";var r=n("1c8b"),i=n("5139");r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},e4db:function(t,e,n){var r=n("d890"),i=n("0fc1");t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},e8d6:function(t,e,n){var r=n("efe2"),i=/#|\.prototype\./,o=function(t,e){var n=c[a(t)];return n==f||n!=u&&("function"==typeof e?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",f=o.POLYFILL="P";t.exports=o},ead4:function(t,e,n){var r=n("faa8"),i=n("da10"),o=n("45af").indexOf,a=n("d5a8");t.exports=function(t,e){var n,c=i(t),u=0,f=[];for(n in c)!r(a,n)&&r(c,n)&&f.push(n);while(e.length>u)r(c,n=e[u++])&&(~o(f,n)||f.push(n));return f}},ef4c:function(t,e,n){var r=n("857c"),i=n("0c3c"),o=n("90fb"),a=o("species");t.exports=function(t,e){var n,o=r(t).constructor;return void 0===o||void 0==(n=r(o)[a])?e:i(n)}},ef71:function(t,e,n){"use strict";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,o=i&&!r.call({1:2},1);e.f=o?function(t){var e=i(this,t);return!!e&&e.enumerable}:r},efe2:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},f62c:function(t,e,n){var r=n("3da3"),i=n("2732"),o=function(t){return function(e,n){var o,a,c=String(i(e)),u=r(n),f=c.length;return u<0||u>=f?t?"":void 0:(o=c.charCodeAt(u),o<55296||o>56319||u+1===f||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):o:t?c.slice(u,u+2):a-56320+(o-55296<<10)+65536)}};t.exports={codeAt:o(!1),charAt:o(!0)}},faa8:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},fc8c:function(t,e){t.exports="\t\n\v\f\r \u2028\u2029\ufeff"}})}));
|