!function(p){woodmartThemeModule.fixMailchimpInPopup=function(){p(".mc4wp-form").each(function(o,e){e=p(e),$response=e.find(".mc4wp-response"),$popup=e.parents(".wd-popup"),0<$response.children().length&&0<$popup.length&&p.magnificPopup.open({items:{src:$popup},type:"inline",removalDelay:600,tClose:woodmart_settings.close,tLoading:woodmart_settings.loading,fixedContentPos:!0,callbacks:{beforeOpen:function(){this.wrap.addClass("wd-popup-slide-from-left")}}})})},p(document).ready(function(){woodmartThemeModule.fixMailchimpInPopup()})}(jQuery);