import{L as r}from"./Layout-CvLR9wQj.js";import{I as d}from"./moment-BywspGD9.js";import{Z as c,r as p,c as m,a as h,b as t,t as u,o as _}from"./app-CK3cEAAe.js";import{s as f}from"./index-BF59GRes.js";import{_ as v}from"./FlashMessages-ByEdcHWZ.js";import"./LoadingButton-DQHYFAIm.js";const g={layout:r,components:{Icon:d,Head:c},props:{data:Object},data(){return{page:JSON.parse(this.data.html)}},methods:{print(a){const e=document.getElementById(a).innerHTML;let s="";for(const i of[...document.querySelectorAll('link[rel="stylesheet"], style')])s+=i.outerHTML;const o=window.open("","","left=0,top=0,width=800,height=900,toolbar=0,scrollbars=0,status=0");o.document.write(`<!DOCTYPE html><html><head>${s}</head><body>${e}</body></html>`),o.document.close(),o.focus(),o.print()},sanitizeHtml:f}},x={class:"relative z-10 overflow-hidden bg-primary pt-[120px] pb-[100px] md:pt-[130px] lg:pt-[160px]"},w={class:"container"},b={class:"-mx-4 flex flex-wrap items-center"},y={class:"w-full px-4"},H={class:"text-center"},L=["innerHTML"],z={class:"mt-2 text-base leading-7 text-white"},M={class:"relative md:py-20 py-16"},P={class:"container"},T={class:"md:flex justify-center"},k={class:"md:w-full"},B=["innerHTML"],C={class:"mt-2 p-6 bg-white rounded-md leading-7"};function V(a,e,s,o,i,n){const l=p("Head");return _(),m("div",null,[h(l,{title:"Privacy and Policy"}),t("section",x,[t("div",w,[t("div",b,[t("div",y,[t("div",H,[t("h1",{class:"text-4xl font-semibold text-white",innerHTML:n.sanitizeHtml(s.data.title)},null,8,L),t("p",z,"Last updated on "+u(s.data.updated_at),1)])])])]),e[1]||(e[1]=t("div",null,[t("span",{class:"absolute top-0 left-0 z-[-1]"},[t("img",{src:"/landing/images/header/shape-1.svg",alt:""})]),t("span",{class:"absolute top-0 right-0 z-[-1]"},[t("img",{src:"/landing/images/header/shape-2.svg",alt:""})])],-1))]),e[2]||(e[2]=t("div",{class:"relative"},[t("div",{class:"shape absolute right-0 sm:-bottom-px -bottom-[2px] left-0 overflow-hidden z-1 text-white dark:text-slate-900"},[t("svg",{class:"w-full h-auto",viewBox:"0 0 2880 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[t("path",{d:"M0 48H1437.5H2880V0H2160C1442.5 52 720 0 720 0H0V48Z",fill:"currentColor"})])])],-1)),t("section",M,[t("div",P,[t("div",T,[t("div",k,[t("div",{id:"printArea",class:"p-6 bg-white rounded-md leading-7 html",innerHTML:n.sanitizeHtml(i.page.content)},null,8,B),t("div",C,[t("span",{onClick:e[0]||(e[0]=A=>n.print("printArea")),class:"bg-primary border-primary w-full rounded border p-3 text-white transition hover:bg-opacity-90 cursor-pointer"},"Print")])])])])])])}const D=v(g,[["render",V]]);export{D as default};
