!function(){"use strict";var n={n:function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},d:function(e,t){for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},o:function(n,e){return Object.prototype.hasOwnProperty.call(n,e)}},e=window.wp.apiFetch,t=n.n(e),o=window.wp.domReady,r=n.n(o);const{epAdmin:c,ajaxurl:i}=window;r()((()=>{const n=document.querySelectorAll(".notice[data-ep-notice]"),e=n=>{if(!n.target.classList.contains("notice-dismiss"))return;const e=new FormData;e.append("action","ep_notice_dismiss"),e.append("notice",n.currentTarget.dataset.epNotice),e.append("nonce",c.nonce),t()({method:"POST",url:i,body:e})};for(const t of n)t.addEventListener("click",e)}))}();