!function(n){"use strict";var t=function(n,t){var e=n.find(".sifency-counter");if(e.length){var o=function(n){var e=parseFloat(n.data("to-value")),o=parseInt(n.data("duration"),10)||2e3;n.stop(),t({count:0}).animate({count:e},{duration:o,easing:"swing",step:function(t){n.text(Math.floor(t).toLocaleString())},complete:function(){n.text(e.toLocaleString())}})},i=!1;if("undefined"!=typeof elementorFrontend&&elementorFrontend.isEditMode()&&(i=!0),i)e.each(function(){o(t(this))});else if("IntersectionObserver"in window){var a=new IntersectionObserver(function(n){n.forEach(function(n){if(n.isIntersecting){var e=t(n.target);o(e),a.unobserve(n.target)}})},{threshold:.5});e.each(function(){a.observe(this)})}else e.each(function(){o(t(this))})}};n(window).on("elementor/frontend/init",function(){elementorFrontend.hooks.addAction("frontend/element_ready/sifency-addons-funfact.default",t)})}(jQuery);