jQuery(document).ready((function(t){"use strict";t(".notice.bk-notice").on("click",".notice-dismiss, [data-dismiss], [data-snooze]",(function(o){o.preventDefault();var e=t(this),s=t(this).closest(".notice"),a=s.data();console.log(e.attr("data-snooze")),console.log(e.data("snooze")),void 0!==e.attr("data-snooze")&&(a.snooze="yes",a.snooze_time=e.attr("data-snooze")),a.action&&a.notice_id&&t.ajax({url:ajaxurl,type:"POST",data:a,xhrFields:{withCredentials:!0},success:function(t){t.success&&s.fadeOut()}})}))}));