import{H as i,r as c,y as d,i as u,c as p,o as _,a as r,t as m}from"./app-q0jdcHwC.js";const x={class:"main-container py-6"},g={class:"text-xl md:text-2xl font-bold text-slate-800 pb-2 md:pb-3 border-b"},v=["innerHTML"],b={__name:"PolicyPages",setup(f){const t=i(),a=c(t.params.slug),e=c({});d(t,()=>{a.value=t.params.slug,s()}),u(()=>{s(),window.scrollTo(0,0)});const s=()=>{window.scrollTo(0,0),axios.get("/legal-pages/"+a.value).then(o=>{e.value=o.data.data.content})};return(o,h)=>{var n,l;return _(),p("div",x,[r("div",g,m((n=e.value)==null?void 0:n.title),1),r("div",{class:"mt-6 prose max-w-none w-full",innerHTML:(l=e.value)==null?void 0:l.description},null,8,v)])}}};export{b as default};
