import{c as e,n as t,r as n,t as r}from"./Seo-DIwHowcX.js";import{D as i,S as a,b as o,c as s}from"./index-D6E52PDW.js";import{t as c}from"./PageHero-dcTZ6qrF.js";var l=e(n(),1),u=t();function d({slug:e}){let t=i(a),[n,d]=(0,l.useState)(null);return(0,l.useEffect)(()=>{let t=!0;return o(e).then(e=>{t&&d(e)}),()=>{t=!1}},[e]),n?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(r,{title:`${n.title} — ${t?.company_name??`Touch Therapies Antigua`}`}),(0,u.jsx)(c,{kicker:`Legal`,title:n.title}),(0,u.jsx)(`section`,{className:`py-16`,children:(0,u.jsx)(`div`,{className:`wrap max-w-3xl`,children:(0,u.jsx)(s,{children:(0,u.jsx)(`div`,{className:`[&_h2]:sec-title [&_h2]:!text-[1.4rem] [&_h2]:mt-8 [&_p]:mb-4 [&_p]:text-muted`,dangerouslySetInnerHTML:{__html:n.body}})})})})]}):(0,u.jsx)(`div`,{className:`min-h-screen`})}export{d as default};