!function(a){"use strict";a.fn.$fusionBoxCounting=function(){var b=a(this).data("value"),c=a(this).data("direction"),d=a(this).data("delimiter"),e=0,f=b,g=fusionCountersBox.counter_box_speed,h=Math.round(fusionCountersBox.counter_box_speed/100);d||(d=""),"down"===c&&(e=b,f=0),a(this).countTo({from:e,to:f,refreshInterval:h,speed:g,formatter:function(a,b){return a=a.toFixed(b.decimals),a=a.replace(/\B(?=(\d{3})+(?!\d))/g,d),"-0"===a&&(a=0),a}})}}(jQuery),jQuery(window).load(function(){jQuery(".fusion-counter-box").not(".fusion-modal .fusion-counter-box").each(function(){var a=getWaypointOffset(jQuery(this));jQuery(this).waypoint(function(){jQuery(this).find(".display-counter").each(function(){jQuery(this).$fusionBoxCounting()})},{triggerOnce:!0,offset:a})}),jQuery(".fusion-modal .fusion-counter-box").on("appear",function(){jQuery(this).find(".display-counter").each(function(){jQuery(this).$fusionBoxCounting()})})});