document.addEventListener("atomic-wind:css-ready",(()=>{const t=document.getElementById("atomic-wind-tailwind");if(!t)return;const e=t.textContent;e&&window.atomicWindStyleBuilder&&fetch(`${window.atomicWindStyleBuilder.restUrl}/style`,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.atomicWindStyleBuilder.nonce},body:JSON.stringify({css:e,postId:parseInt(window.atomicWindStyleBuilder.postId,10)})}).catch((()=>{}))}));