1import{j as e}from"./vendor-react-zwv87yMD.js";import{a as n}from"./vendor-query-DYq8g7OI.js";import{l as m}from"./legal-documents-DjQ2iB_Z.js";import{u as l}from"./useOrgTimezone-C1UagyKl.js";import{L as s}from"./vendor-router-DimZLiZb.js";import"./vendor-charts-CtrTLS4K.js";import"./vendor-i18n-BdYkS11p.js";import"./vendor-ui-CfDMlrKu.js";import"./vendor-pdf-DQuePnfN.js";import"./vendor-state-ByI9XJey.js";import"./vendor-editor-C_dhmuey.js";import"./api-client-wl3SCNAO.js";import"./authStore-Bv6p2Ne2.js";import"./i18n-CwjSIy0a.js";import"./vendor-icons-bLSWzydc.js";import"./employeeAuthStore-lYSKMuhw.js";function P(){const t=l(),{data:r,isLoading:a,error:i}=n({queryKey:["legal-document","privacy"],queryFn:m.getPrivacy}),o="BizVanguard LLC";return a?e.jsx("div",{className:"min-h-screen bg-background py-12 px-4",children:e.jsx("div",{className:"max-w-3xl mx-auto",children:e.jsx("div",{className:"bg-card border rounded-lg shadow-sm p-8 text-center",children:e.jsx("p",{className:"text-muted-foreground",children:"Loading Privacy Policy..."})})})}):i||!r?e.jsx("div",{className:"min-h-screen bg-background py-12 px-4",children:e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsx("div",{className:"mb-8",children:e.jsx(s,{to:"/login",className:"text-primary hover:underline text-sm",children:"â Back to Login"})}),e.jsx("div",{className:"bg-card border rounded-lg shadow-sm p-8 text-center",children:e.jsx("p",{className:"text-muted-foreground",children:"Privacy Policy not available. Please check back later."})})]})}):e.jsx("div",{className:"min-h-screen bg-background py-12 px-4",children:e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsx("div",{className:"mb-8",children:e.jsx(s,{to:"/login",className:"text-primary hover:underline text-sm",children:"â Back to Login"})}),e.jsxs("div",{className:"bg-card border rounded-lg shadow-sm p-8",children:[e.jsx("h1",{className:"text-3xl font-bold mb-2",children:r.title}),e.jsxs("p",{className:"text-muted-foreground mb-8",children:["Version ",r.version,r.publishedAt&&e.jsxs(e.Fragment,{children:[" ","| Effective Date:"," ",new Date(r.publishedAt).toLocaleDateString("en-US",{timeZone:t})]})]}),e.jsx("div",{className:"prose prose-sm max-w-none text-foreground [&>h2]:text-xl [&>h2]:font-semibold [&>h2]:mb-3 [&>h2]:mt-6 [&>h3]:text-lg [&>h3]:font-medium [&>h3]:mt-4 [&>h3]:mb-2 [&>p]:text-muted-foreground [&>p]:leading-relaxed [&>ul]:text-muted-foreground [&>ul]:list-disc [&>ul]:list-inside [&>ul]:space-y-1",dangerouslySetInnerHTML:{__html:r.content}})]}),e.jsxs("div",{className:"mt-8 text-center text-sm text-muted-foreground",children:[e.jsxs("p",{children:["© ",new Date().getFullYear()," ",o,". All rights reserved."]}),e.jsx("div",{className:"mt-2 space-x-4",children:e.jsx(s,{to:"/terms",className:"text-primary hover:underline",children:"Terms of Service"})})]})]})})}export{P as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.