!function(o){o(document).on("click",".fea-open-modal",(function(a){var e=o(this),n=o("#modal_"+e.data("modal"));"undefined"!=typeof acf&&acf.do_action("append",n),n.show().scrollTop(0)})),o(document).on("click",".fea-close-modal",(function(a){var e=o(this),n=o("#modal_"+e.data("modal"));n.hide(),"undefined"!=typeof clear&&n.remove()})),o(document).on("click",".fea-modal",(function(a){a.target==this&&o(this).hide()}))}(jQuery);