(()=>{"use strict";var e={1455(e){e.exports=window.wp.apiFetch}},t={};function n(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,n),r.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var o=n(1455);n.n(o)()({path:"my-jetpack/v1/red-bubble-notifications",method:"POST"}).then(e=>{const t=Object.values(e||{}).filter(e=>!e.is_silent).length,n=document.querySelector("#toplevel_page_jetpack .wp-menu-name");if(!n)return;const o=n.querySelector(".awaiting-mod");if(t>0)if(o)o.className="awaiting-mod",o.textContent=String(t);else{const e=document.createElement("span");e.className="awaiting-mod",e.textContent=String(t),n.appendChild(document.createTextNode(" ")),n.appendChild(e)}else o&&o.remove()}).catch(e=>{console.log("[Jetpack] Red bubble notification fetch failed:",e)})})();