document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("awt-review-modal"),t=document.getElementById("awt-modal-text"),d=document.getElementById("awt-modal-close"),n=document.getElementById("awt-modal-backdrop");if(e){document.body.addEventListener("click",d=>{if(d.target.closest(".awt-read-more-btn")){const n=d.target.closest(".awt-read-more-btn").getAttribute("data-content-id"),o=document.getElementById(n);o&&t&&(t.innerHTML=o.innerHTML,e.classList.remove("hidden"),requestAnimationFrame(()=>{e.classList.remove("opacity-0"),document.body.style.overflow="hidden"}))}});const o=()=>{e.classList.add("opacity-0"),setTimeout(()=>{e.classList.add("hidden"),document.body.style.overflow=""},300)};d&&d.addEventListener("click",o),n&&n.addEventListener("click",o)}});