(()=>{"use strict";var e={n:t=>{var n=t&&t.__esModule?()=>t.default:()=>t;return e.d(n,{a:n}),n},d:(t,n)=>{for(var o in n)e.o(n,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:n[o]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t)};const t=window.wp.apiFetch;var n=e.n(t);const o=()=>{const e=document.getElementById("careers__admin_notice"),t=e?.querySelector("button.notice-dismiss");if(!e||!t)return;const o=e.dataset.nonce,r=()=>{n()({path:"/careers/v1/admin-notice",method:"POST",data:{nonce:o}}),t.removeEventListener("click",r)};t.addEventListener("click",r)};window.requestIdleCallback instanceof Function?window.requestIdleCallback(o):setTimeout(o,0)})();