jQuery(document).ready(function(){jQuery('<div class="fusion-slider-loading"></div>').insertAfter(".wpcf7 .ajax-loader"),jQuery(".wpcf7 .ajax-loader").remove(),jQuery(".wpcf7 > form").each(function(){jQuery(this).on("wpcf7submit",function(e){var s=this,a=jQuery(e.currentTarget).data("status"),t="";setTimeout(function(){jQuery(s).find(".wpcf7-response-output").each(function(){"invalid"!==a&&"unaccepted"!==a&&"spam"!==a&&"failed"!==a||jQuery(this).find(".alert-icon").length||(jQuery(this).addClass("fusion-alert error fusion-danger"),jQuery(this).hasClass("alert-dismissable")&&(t='<button class="close toggle-alert" aria-hidden="true" data-dismiss="alert" type="button" aria-label="Close">&times;</button>'),t+='<div class="fusion-alert-content-wrapper"><span class="alert-icon"><i class="fa-lg fa fa-exclamation-triangle" aria-hidden="true"></i></span><span class="fusion-alert-content">'+jQuery(this).html()+"</span>",jQuery(this).html(t)),"sent"!==a||jQuery(this).find(".alert-icon").length||(jQuery(this).addClass("fusion-alert success fusion-success"),jQuery(this).hasClass("alert-dismissable")&&(t='<button class="close toggle-alert" aria-hidden="true" data-dismiss="alert" type="button" ara-label="Close">&times;</button>'),t+='<div class="fusion-alert-content-wrapper"><span class="alert-icon"><i class="fa-lg fa fa-check-circle" aria-hidden="true"></i></span><span class="fusion-alert-content">'+jQuery(this).html()+"</span>",jQuery(this).html(t))}),jQuery(s).find(".wpcf7-response-output.fusion-alert .close").on("click",function(e){e.preventDefault(),jQuery(this).parent().slideUp()})},100)})})});