(()=>{"use strict";var i=jQuery;i((function(){i(".notice-dismiss, .qtranxs-notice-dismiss").each((function(){var s=i(this),t=s.closest("div.is-dismissible");if(t.length){if(!s.hasClass("qtranxs-notice-dismiss")&&!t.find(".qtranxs-notice-dismiss").length)return;var n=t.attr("id");if(n){n=n.replace("qtranxs-","");var a=t.attr("action");s.on("click",(function(){t.css("display","none"),i.post(ajaxurl,{action:"qtranslate_admin_notice",notice_id:n,notice_action:a})}))}}}))}))})();