!function(o){"use strict";o.fn.$fusionBoxCounting=function(){var n=o(this).data("value"),e=o(this).data("direction"),i=o(this).data("delimiter"),t=0,u=n,r=fusionCountersBox.counter_box_speed,s=Math.round(fusionCountersBox.counter_box_speed/100);i||(i=""),"down"===e&&(t=n,u=0),o(this).countTo({from:t,to:u,refreshInterval:s,speed:r,formatter:function(o,n){return"-0"===(o=(o=o.toFixed(n.decimals)).replace(/\B(?=(\d{3})+(?!\d))/g,i))&&(o=0),o}})}}(jQuery),jQuery(window).on("load fusion-element-render-fusion-counters_box",function(o,n){(void 0!==n?jQuery('div[data-cid="'+n+'"]').find(".fusion-counter-box").not(".fusion-modal .fusion-counter-box"):jQuery(".fusion-counter-box").not(".fusion-modal .fusion-counter-box")).each(function(){var o=jQuery(this),n=getWaypointOffset(jQuery(this));o.waypoint(function(){o.find(".display-counter").each(function(o,n){jQuery(n).$fusionBoxCounting()}),this.destroy()},{offset:n})}),jQuery(".fusion-modal .fusion-counter-box").on("appear",function(){jQuery(this).find(".display-counter").each(function(){jQuery(this).$fusionBoxCounting()})})}),jQuery(window).on("fusion-element-render-fusion_counter_box",function(o,n){jQuery('div[data-cid="'+n+'"]').find(".display-counter").each(function(){jQuery(this).$fusionBoxCounting()})});