function domReady(t){(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?t():document.addEventListener("DOMContentLoaded",t)}domReady(function(){var t=function(t){var e,n,o,i,r,u,a,c,d,s,l,m,T,p,g;if(g=t,clearTimeout(g.countUpTimeout),g._countUpOrigInnerHTML&&(g.innerHTML=g._countUpOrigInnerHTML,g._countUpOrigInnerHTML=void 0),g.style.visibility="",/[0-9]/.test(t.innerHTML)){for(t._countUpOrigInnerHTML=t.innerHTML,e=document.querySelector("html").getAttribute("lang")||void 0,o=t.getAttribute("data-duration")/(n=t.getAttribute("data-delay")),i=t.innerHTML.split(/(<[^>]+>|[0-9.][,.0-9]*[0-9]*)/),r=[],u=0;u<o;u++)r.push("");for(a=0;a<i.length;a++)if(/([0-9.][,.0-9]*[0-9]*)/.test(i[a])&&!/<[^>]+>/.test(i[a]))for(c=i[a],d=/[0-9]+,[0-9]+/.test(c),c=c.replace(/,/g,""),l=(s=/^[0-9]+\.[0-9]+$/.test(c))?(c.split(".")[1]||[]).length:0,u=r.length-1,m=o;1<=m;m--)T=parseInt(c/o*m,10),s&&(T=parseFloat(c/o*m).toFixed(l),T=parseFloat(T).toLocaleString(e)),d&&(T=T.toLocaleString(e)),r[u--]+=T;else for(u=0;u<o;u++)r[u]+=i[a];r[r.length-1]=t.innerHTML,t.innerHTML=r[0],t.style.visibility="visible",p=function(){t.innerHTML=r.shift(),r.length?(clearTimeout(t.countUpTimeout),t.countUpTimeout=setTimeout(p,n)):t._countUpOrigInnerHTML=void 0},t.countUpTimeout=setTimeout(p,n)}};jQuery(".number-count-up-vc .number-counter:not(.number-counted)").waypoint(function(){jQuery(this).hasClass("number-counted")||t(jQuery(this).addClass("number-counted")[0])},{offset:"85%"})});