"use strict";var WPFormsAdminNotices=window.WPFormsAdminNotices||function(i,s){var o={init:function(){s(o.ready)},ready:function(){o.events()},events:function(){s(i).on("click",".wpforms-notice .notice-dismiss, .wpforms-notice .wpforms-notice-dismiss",o.dismissNotice)},dismissNotice:function(i){var o=s(i.target);o.hasClass("wpforms-review-out")||i.preventDefault(),o.closest(".wpforms-notice").remove(),s.post(wpforms_admin_notices.ajax_url,{action:"wpforms_notice_dismiss",nonce:wpforms_admin_notices.nonce,id:(o.closest(".wpforms-notice").attr("id")||"").replace("wpforms-notice-","")})}};return o}(document,(window,jQuery));WPFormsAdminNotices.init();