import{_ as e,a as t,i as n,s as r}from"./i18n-DfIivedY.js";import{t as i}from"./marketing-shell-Buirr78R.js";var a=e(),o=t();function s(e){let t=(0,a.c)(10),{title:n,section:r}=e;if(!r)return null;let i;t[0]===n?i=t[1]:(i=(0,o.jsx)(`h2`,{className:`text-xl font-semibold tracking-tight text-slate-950`,children:n}),t[0]=n,t[1]=i);let s;t[2]===r.summary?s=t[3]:(s=r.summary&&(0,o.jsx)(`p`,{className:`mt-2 text-sm leading-6 text-slate-600`,children:r.summary}),t[2]=r.summary,t[3]=s);let l;t[4]===r.items?l=t[5]:(l=r.items&&r.items.length>0&&(0,o.jsx)(`ul`,{className:`mt-3 list-disc space-y-1 ps-6 text-sm leading-6 text-slate-600`,children:r.items.map(c)}),t[4]=r.items,t[5]=l);let u;return t[6]!==i||t[7]!==s||t[8]!==l?(u=(0,o.jsxs)(`section`,{className:`mt-10`,children:[i,s,l]}),t[6]=i,t[7]=s,t[8]=l,t[9]=u):u=t[9],u}function c(e){return(0,o.jsx)(`li`,{children:e},e)}function l(e){let t=(0,a.c)(57),{shell:c,brand:l,content:u}=e,{t:d}=n(),f;t[0]!==u.title||t[1]!==d?(f=u.title??d(`Privacy policy`),t[0]=u.title,t[1]=d,t[2]=f):f=t[2];let p=f,m=`${p} — ${l}`,h;t[3]===m?h=t[4]:(h=(0,o.jsx)(r,{title:m}),t[3]=m,t[4]=h);let g;t[5]===u.eyebrow?g=t[6]:(g=u.eyebrow&&(0,o.jsx)(`p`,{className:`text-sm font-medium tracking-wider text-emerald-700 uppercase`,children:u.eyebrow}),t[5]=u.eyebrow,t[6]=g);let _;t[7]===p?_=t[8]:(_=(0,o.jsx)(`h1`,{className:`mt-4 text-4xl font-bold tracking-tight text-slate-950 sm:text-5xl`,children:p}),t[7]=p,t[8]=_);let v;t[9]===u.summary?v=t[10]:(v=u.summary&&(0,o.jsx)(`p`,{className:`mt-5 text-base leading-7 text-slate-600 sm:text-lg`,children:u.summary}),t[9]=u.summary,t[10]=v);let y;t[11]!==u.effective_date||t[12]!==d?(y=u.effective_date&&(0,o.jsxs)(`p`,{className:`mt-2 text-sm text-slate-500`,children:[(0,o.jsx)(`strong`,{className:`text-slate-700`,children:d(`Effective date:`)}),` `,u.effective_date]}),t[11]=u.effective_date,t[12]=d,t[13]=y):y=t[13];let b;t[14]!==u.contact||t[15]!==d?(b=u.contact&&(0,o.jsxs)(`section`,{className:`mt-10`,children:[(0,o.jsx)(`h2`,{className:`text-xl font-semibold tracking-tight text-slate-950`,children:d(`Contact`)}),(0,o.jsxs)(`p`,{className:`mt-2 text-sm leading-6 text-slate-600`,children:[u.contact.team_name,u.contact.email&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(`br`,{}),(0,o.jsx)(`a`,{href:`mailto:${u.contact.email}`,className:`text-emerald-700 underline underline-offset-4`,children:u.contact.email})]}),u.contact.response_sla&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(`br`,{}),u.contact.response_sla]})]})]}),t[14]=u.contact,t[15]=d,t[16]=b):b=t[16];let x;t[17]===d?x=t[18]:(x=d(`What we collect`),t[17]=d,t[18]=x);let S;t[19]!==u.collection||t[20]!==x?(S=(0,o.jsx)(s,{title:x,section:u.collection}),t[19]=u.collection,t[20]=x,t[21]=S):S=t[21];let C;t[22]===d?C=t[23]:(C=d(`How we use data`),t[22]=d,t[23]=C);let w;t[24]!==u.usage||t[25]!==C?(w=(0,o.jsx)(s,{title:C,section:u.usage}),t[24]=u.usage,t[25]=C,t[26]=w):w=t[26];let T;t[27]===d?T=t[28]:(T=d(`Retention`),t[27]=d,t[28]=T);let E;t[29]!==u.retention||t[30]!==T?(E=(0,o.jsx)(s,{title:T,section:u.retention}),t[29]=u.retention,t[30]=T,t[31]=E):E=t[31];let D;t[32]===d?D=t[33]:(D=d(`Your rights`),t[32]=d,t[33]=D);let O;t[34]!==u.rights||t[35]!==D?(O=(0,o.jsx)(s,{title:D,section:u.rights}),t[34]=u.rights,t[35]=D,t[36]=O):O=t[36];let k;t[37]!==u.gdpr||t[38]!==d?(k=u.gdpr&&(0,o.jsxs)(`section`,{className:`mt-10`,children:[(0,o.jsx)(`h2`,{className:`text-xl font-semibold tracking-tight text-slate-950`,children:d(`Data export & deletion (GDPR)`)}),u.gdpr.summary&&(0,o.jsx)(`p`,{className:`mt-2 text-sm leading-6 text-slate-600`,children:u.gdpr.summary}),u.gdpr.request_email&&(0,o.jsxs)(`p`,{className:`mt-2 text-sm text-slate-600`,children:[(0,o.jsx)(`strong`,{className:`text-slate-700`,children:d(`Request contact:`)}),` `,(0,o.jsx)(`a`,{href:`mailto:${u.gdpr.request_email}`,className:`text-emerald-700 underline underline-offset-4`,children:u.gdpr.request_email})]}),u.gdpr.request_instructions&&(0,o.jsx)(`p`,{className:`mt-2 text-sm leading-6 text-slate-600`,children:u.gdpr.request_instructions})]}),t[37]=u.gdpr,t[38]=d,t[39]=k):k=t[39];let A;t[40]!==S||t[41]!==w||t[42]!==E||t[43]!==O||t[44]!==k||t[45]!==g||t[46]!==_||t[47]!==v||t[48]!==y||t[49]!==b?(A=(0,o.jsxs)(`article`,{className:`mx-auto max-w-3xl px-6 pt-16 pb-20`,children:[g,_,v,y,b,S,w,E,O,k]}),t[40]=S,t[41]=w,t[42]=E,t[43]=O,t[44]=k,t[45]=g,t[46]=_,t[47]=v,t[48]=y,t[49]=b,t[50]=A):A=t[50];let j;t[51]!==c||t[52]!==A?(j=(0,o.jsx)(i,{content:c,children:A}),t[51]=c,t[52]=A,t[53]=j):j=t[53];let M;return t[54]!==j||t[55]!==h?(M=(0,o.jsxs)(o.Fragment,{children:[h,j]}),t[54]=j,t[55]=h,t[56]=M):M=t[56],M}export{l as default};