1import{j as e}from"./vendor-ui-Cp0o_ERz.js";import{T as a}from"./TLDRSummary-NVX1GZtl.js";import{dQ as h,b3 as n,cY as i,ce as l,bT as d,aF as f,B as c}from"./index-U2qI6hth.js";import{u as g}from"./TrustCenter-BFKxXhHJ.js";import"./vendor-charts-BTyV52R2.js";import"./vendor-query-Bv5ntzP6.js";import"./vendor-react-DblKtrgV.js";import"./vendor-motion-P7V77m0j.js";import"./vendor-supabase-B0Jha54I.js";import"./brain-jN417gzM.js";import"./server-B1iYEhl4.js";import"./list-CIgYnwL5.js";const y=[{name:"sb-auth-token",purpose:"Authentication session",duration:"Session",type:"Essential"},{name:"sb-refresh-token",purpose:"Session refresh",duration:"7 days",type:"Essential"},{name:"vidacious_consent",purpose:"Cookie consent preferences",duration:"1 year",type:"Essential"},{name:"theme",purpose:"Dark/light mode preference",duration:"1 year",type:"Functional"},{name:"_ga / _ga_*",purpose:"Google Analytics visitor ID",duration:"2 years",type:"Analytics"},{name:"_clck",purpose:"Microsoft Clarity unique user ID",duration:"1 year",type:"Analytics"},{name:"_clsk",purpose:"Microsoft Clarity session data",duration:"1 day",type:"Analytics"},{name:"CLID",purpose:"Microsoft Clarity device ID",duration:"1 year",type:"Analytics"},{name:"ph_*",purpose:"PostHog analytics",duration:"1 year",type:"Analytics"}],b={Essential:"bg-success/10 text-success",Functional:"bg-primary/10 text-primary",Analytics:"bg-accent/10 text-accent",Marketing:"bg-warm/10 text-warm"};function D(){const t=h(),{navigateToSection:m}=g();return e.jsxs("div",{className:"space-y-10",children:[e.jsxs("section",{children:[e.jsx("h2",{id:"cookies-what",className:"text-xl font-semibold font-display mb-4 scroll-mt-24",children:"1. What Are Cookies?"}),e.jsx(a,{children:"Cookies are small text files saved on your device. They help us keep you logged in, remember your preferences, and understand how you use the platform."}),e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed",children:"Cookies are small text files stored on your device when you visit a website. They help websites remember your preferences, understand how you use the site, and improve your experience. Some cookies are essential for the website to function, while others help us analyze usage patterns. We also use similar technologies like local storage and session storage."})]}),e.jsxs("section",{children:[e.jsx("h2",{id:"cookies-types",className:"text-xl font-semibold font-display mb-4 scroll-mt-24",children:"2. Types of Cookies We Use"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"rounded-lg border border-border p-4",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsx(n,{className:"w-4 h-4 text-success"}),e.jsx("h3",{className:"text-sm font-medium text-foreground",children:"Essential Cookies"}),e.jsx("span",{className:"text-[10px] px-1.5 py-0.5 rounded bg-muted text-muted-foreground",children:"Always Active"})]}),e.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Required for authentication, security, CSRF protection, and core platform functionality. These cannot be disabled as the site won't function without them."})]}),e.jsxs("div",{className:"rounded-lg border border-border p-4",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsx(i,{className:"w-4 h-4 text-primary"}),e.jsx("h3",{className:"text-sm font-medium text-foreground",children:"Functional Cookies"})]}),e.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Remember your settings like theme (dark/light mode), language preferences, and UI personalization. Disabling these means we can't save your preferences between sessions."})]}),e.jsxs("div",{className:"rounded-lg border border-border p-4",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsx(l,{className:"w-4 h-4 text-accent"}),e.jsx("h3",{className:"text-sm font-medium text-foreground",children:"Analytics Cookies"})]}),e.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"Help us understand how you use the platform. Includes Google Analytics (page views, feature usage), Microsoft Clarity (anonymized session recordings, heatmaps), and PostHog (product analytics). Personal information is masked by default in session recordings."})]}),e.jsxs("div",{className:"rounded-lg border border-border p-4",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-2",children:[e.jsx(d,{className:"w-4 h-4 text-warm"}),e.jsx("h3",{className:"text-sm font-medium text-foreground",children:"Marketing Cookies"})]}),e.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed",children:"May be set by advertising partners to build a profile of your interests and show relevant ads. We use these sparingly and only with your explicit consent."})]})]})]}),e.jsxs("section",{children:[e.jsx("h2",{id:"cookies-details",className:"text-xl font-semibold font-display mb-4 scroll-mt-24",children:"3. Cookie Details"}),e.jsx("div",{className:"overflow-x-auto rounded-lg border border-border",children:e.jsxs("table",{className:"w-full text-xs",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"border-b border-border bg-muted/50",children:[e.jsx("th",{className:"text-left py-2.5 px-3 font-medium text-foreground",children:"Cookie"}),e.jsx("th",{className:"text-left py-2.5 px-3 font-medium text-foreground",children:"Purpose"}),e.jsx("th",{className:"text-left py-2.5 px-3 font-medium text-foreground",children:"Duration"}),e.jsx("th",{className:"text-left py-2.5 px-3 font-medium text-foreground",children:"Type"})]})}),e.jsx("tbody",{children:y.map(s=>e.jsxs("tr",{className:"border-b border-border/50",children:[e.jsx("td",{className:"py-2.5 px-3 font-mono text-foreground",children:s.name}),e.jsx("td",{className:"py-2.5 px-3 text-muted-foreground",children:s.purpose}),e.jsx("td",{className:"py-2.5 px-3 text-muted-foreground",children:s.duration}),e.jsx("td",{className:"py-2.5 px-3",children:e.jsx("span",{className:`text-[10px] px-1.5 py-0.5 rounded font-medium ${b[s.type]||""}`,children:s.type})})]},s.name))})]})})]}),e.jsxs("section",{children:[e.jsx("h2",{id:"cookies-manage",className:"text-xl font-semibold font-display mb-4 scroll-mt-24",children:"4. Managing Cookies via Browser"}),e.jsx("p",{className:"text-sm text-muted-foreground leading-relaxed mb-4",children:"You can also control cookies through your browser settings:"}),e.jsxs("ul",{className:"list-disc list-inside text-sm text-muted-foreground space-y-2",children:[e.jsxs("li",{children:[e.jsx("strong",{className:"text-foreground",children:"Chrome:"})," Settings â Privacy and security â Cookies"]}
1),e.jsxs("li",{children:[e.jsx("strong",{className:"text-foreground",children:"Firefox:"})," Settings â Privacy & Security â Cookies"]}),e.jsxs("li",{children:[e.jsx("strong",{className:"text-foreground",children:"Safari:"})," Preferences â Privacy â Manage Website Data"]}),e.jsxs("li",{children:[e.jsx("strong",{className:"text-foreground",children:"Edge:"})," Settings â Cookies and site permissions"]})]}),e.jsx("p",{className:"text-xs text-muted-foreground leading-relaxed mt-3 italic",children:"Note: Disabling essential cookies may prevent authentication and core features from working."})]}),e.jsxs("section",{children:[e.jsx("h2",{id:"cookies-preferences",className:"text-xl font-semibold font-display mb-4 scroll-mt-24",children:"5. Your Cookie Preferences"}),e.jsx(a,{children:"Use the controls below to toggle cookie categories on or off. Changes take effect immediately."}),t?e.jsxs("div",{className:"rounded-xl border border-border bg-card p-5 space-y-4",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(n,{className:"w-4 h-4 text-success"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-foreground",children:"Essential"}),e.jsx("p",{className:"text-xs text-muted-foreground",children:"Authentication & security"})]})]}),e.jsx("span",{className:"text-xs text-muted-foreground bg-muted px-2 py-0.5 rounded",children:"Always on"})]}),["functional","analytics","marketing"].map(s=>{const x={functional:i,analytics:l,marketing:d},r={functional:"Functional",analytics:"Analytics",marketing:"Marketing"},u={functional:"Preferences & personalization",analytics:"Usage data & session recordings",marketing:"Advertising & retargeting"},p=x[s],o=t.consent?.[s]??!1;return e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(p,{className:"w-4 h-4 text-muted-foreground"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-foreground",children:r[s]}),e.jsx("p",{className:"text-xs text-muted-foreground",children:u[s]})]})]}),e.jsx(f,{checked:o,onCheckedChange:()=>{t.updatePreferences({[s]:!o})},"aria-label":`Toggle ${r[s]} cookies`})]},s)}),e.jsxs("div",{className:"flex gap-2 pt-2 border-t border-border",children:[e.jsx(c,{variant:"outline",size:"sm",onClick:t.rejectAll,children:"Reject All"}),e.jsx(c,{variant:"outline",size:"sm",onClick:t.acceptAll,children:"Accept All"})]})]}):e.jsx("div",{className:"rounded-xl border border-border bg-muted/30 p-5 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:"Cookie preferences are available when the consent system is loaded."})})]}),e.jsxs("section",{children:[e.jsx("h2",{id:"cookies-third-party",className:"text-xl font-semibold font-display mb-4 scroll-mt-24",children:"6. Third-Party Cookies"}),e.jsxs("p",{className:"text-sm text-muted-foreground leading-relaxed",children:["Some cookies are placed by third-party services integrated into our platform: Stripe (payment processing), Google Analytics (usage analytics), Microsoft Clarity (session recordings), and PostHog (product analytics). These providers have their own privacy policies. See our ",e.jsx("button",{type:"button",onClick:()=>m("sub-processors"),className:"text-primary hover:underline inline cursor-pointer",children:"Sub-Processors"})," list for details."]})]}),e.jsxs("section",{className:"rounded-xl border border-border bg-muted/30 p-6",children:[e.jsx("h3",{className:"text-base font-medium text-foreground mb-2",children:"Contact"}),e.jsxs("p",{className:"text-sm text-muted-foreground",children:["For questions about our use of cookies, contact us at"," ",e.jsx("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]})]})]})}export{D as CookiesSection};
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.