!function(n){var e=function(n,e){var t=n.find(".posts-filter li"),i=n.find(".wcf-post");t.on("click",(function(){var n=e(this).data("filter");e(this).addClass("active").siblings().removeClass("active"),function(n){var t=Flip.getState(i);i.each((function(){var t=e(this);console.log(i),"all"===n||t.hasClass(n)?t.css("display","inline-flex"):t.css("display","none")})),Flip.from(t,{duration:.5,ease:"power1.inOut",stagger:.1})}(n)}))};n(window).on("elementor/frontend/init",(function(){elementorFrontend.hooks.addAction("frontend/element_ready/wcf--posts-pro.default",e)}))}(jQuery);